From ea72eb21a6387c742226f667eb46b30ba1291120 Mon Sep 17 00:00:00 2001 From: sunnylqm Date: Fri, 8 Dec 2023 16:25:19 +0000 Subject: [PATCH] deploy: c4214da16bc0707bb74df5b13d422737a9fc90de --- 404.html | 2 +- ...ae47866fe0c.js => 751-e6b1b04852480656.js} | 2 +- _next/static/chunks/nextra-data-en-US.json | 2 +- .../chunks/pages/_app-04e4fe8622bd66be.js | 38 ++++ .../chunks/pages/_app-dcf6031a656ac5f0.js | 38 ---- .../chunks/pages/docs/faq-3feb5012af493fc9.js | 1 + .../chunks/pages/docs/faq-f516963e5e818f87.js | 1 - .../docs/getting-started-3106b0541d43cfac.js | 1 + .../docs/getting-started-88adee056e09300b.js | 1 - ...9738d4504.js => index-eee58a1770b22ca6.js} | 2 +- .../_buildManifest.js | 2 +- .../_ssgManifest.js | 0 docs/api.html | 4 +- docs/bestpractice.html | 4 +- docs/changelog.html | 4 +- docs/cli.html | 4 +- docs/faq.html | 45 +---- docs/getting-started.html | 185 +++--------------- docs/integration.html | 4 +- docs/publish.html | 4 +- index.html | 2 +- pricing.html | 2 +- 22 files changed, 93 insertions(+), 255 deletions(-) rename _next/static/chunks/{751-fa991ae47866fe0c.js => 751-e6b1b04852480656.js} (99%) create mode 100644 _next/static/chunks/pages/_app-04e4fe8622bd66be.js delete mode 100644 _next/static/chunks/pages/_app-dcf6031a656ac5f0.js create mode 100644 _next/static/chunks/pages/docs/faq-3feb5012af493fc9.js delete mode 100644 _next/static/chunks/pages/docs/faq-f516963e5e818f87.js create mode 100644 _next/static/chunks/pages/docs/getting-started-3106b0541d43cfac.js delete mode 100644 _next/static/chunks/pages/docs/getting-started-88adee056e09300b.js rename _next/static/chunks/pages/{index-2809fa79738d4504.js => index-eee58a1770b22ca6.js} (99%) rename _next/static/{HOdQZuiIy8gYkJgmAp1mK => hsXzkAmgB1Qs633w5sCpN}/_buildManifest.js (80%) rename _next/static/{HOdQZuiIy8gYkJgmAp1mK => hsXzkAmgB1Qs633w5sCpN}/_ssgManifest.js (100%) diff --git a/404.html b/404.html index 2e3c3b8..a4ac4d0 100644 --- a/404.html +++ b/404.html @@ -1 +1 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file +404: This page could not be found

404

This page could not be found.

\ No newline at end of file diff --git a/_next/static/chunks/751-fa991ae47866fe0c.js b/_next/static/chunks/751-e6b1b04852480656.js similarity index 99% rename from _next/static/chunks/751-fa991ae47866fe0c.js rename to _next/static/chunks/751-e6b1b04852480656.js index 3d76e10..c3baceb 100644 --- a/_next/static/chunks/751-fa991ae47866fe0c.js +++ b/_next/static/chunks/751-e6b1b04852480656.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[751],{82972:function(t,e,n){t.exports={default:n(15680),__esModule:!0}},92452:function(t,e,n){t.exports={default:n(41969),__esModule:!0}},17866:function(t,e,n){t.exports={default:n(57446),__esModule:!0}},1437:function(t,e,n){t.exports={default:n(74752),__esModule:!0}},3432:function(t,e,n){t.exports={default:n(52005),__esModule:!0}},30631:function(t,e,n){t.exports={default:n(12544),__esModule:!0}},82864:function(t,e){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}},97559:function(t,e,n){"use strict";e.__esModule=!0;var r,a=(r=n(17866))&&r.__esModule?r:{default:r};e.default=function(){function t(t,e){for(var n=0;n=0)&&Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}},73006:function(t,e,n){"use strict";e.__esModule=!0;var r,a=(r=n(27239))&&r.__esModule?r:{default:r};e.default=function(t,e){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&((void 0===e?"undefined":(0,a.default)(e))==="object"||"function"==typeof e)?e:t}},27239:function(t,e,n){"use strict";e.__esModule=!0;var r=i(n(30631)),a=i(n(3432)),o="function"==typeof a.default&&"symbol"==typeof r.default?function(t){return typeof t}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};function i(t){return t&&t.__esModule?t:{default:t}}e.default="function"==typeof a.default&&"symbol"===o(r.default)?function(t){return void 0===t?"undefined":o(t)}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":void 0===t?"undefined":o(t)}},15680:function(t,e,n){n(38476),t.exports=n(37213).Object.assign},41969:function(t,e,n){n(23012);var r=n(37213).Object;t.exports=function(t,e){return r.create(t,e)}},57446:function(t,e,n){n(94730);var r=n(37213).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},74752:function(t,e,n){n(49760),t.exports=n(37213).Object.setPrototypeOf},52005:function(t,e,n){n(22503),n(71810),n(51015),n(60107),t.exports=n(37213).Symbol},12544:function(t,e,n){n(97109),n(16917),t.exports=n(62911).f("iterator")},10527:function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},74631:function(t){t.exports=function(){}},96202:function(t,e,n){var r=n(69480);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},57936:function(t,e,n){var r=n(34202),a=n(61826),o=n(48856);t.exports=function(t){return function(e,n,i){var s,l=r(e),u=a(l.length),c=o(i,u);if(t&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c||0;return!t&&-1}}},60866:function(t){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},37213:function(t){var e=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=e)},38893:function(t,e,n){var r=n(10527);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,a){return t.call(e,n,r,a)}}return function(){return t.apply(e,arguments)}}},8296:function(t){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},70377:function(t,e,n){t.exports=!n(73069)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},32873:function(t,e,n){var r=n(69480),a=n(34506).document,o=r(a)&&r(a.createElement);t.exports=function(t){return o?a.createElement(t):{}}},52848:function(t){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},4352:function(t,e,n){var r=n(95692),a=n(6050),o=n(46824);t.exports=function(t){var e=r(t),n=a.f;if(n)for(var i,s=n(t),l=o.f,u=0;s.length>u;)l.call(t,i=s[u++])&&e.push(i);return e}},75076:function(t,e,n){var r=n(34506),a=n(37213),o=n(38893),i=n(2366),s=n(40255),l="prototype",u=function(t,e,n){var c,f,p,d=t&u.F,h=t&u.G,m=t&u.S,v=t&u.P,y=t&u.B,g=t&u.W,b=h?a:a[e]||(a[e]={}),w=b[l],T=h?r:m?r[e]:(r[e]||{})[l];for(c in h&&(n=e),n)!((f=!d&&T&&void 0!==T[c])&&s(b,c))&&(p=f?T[c]:n[c],b[c]=h&&"function"!=typeof T[c]?n[c]:y&&f?o(p,r):g&&T[c]==p?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[l]=t[l],e}(p):v&&"function"==typeof p?o(Function.call,p):p,v&&((b.virtual||(b.virtual={}))[c]=p,t&u.R&&w&&!w[c]&&i(w,c,p)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},73069:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},34506:function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},40255:function(t){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},2366:function(t,e,n){var r=n(46093),a=n(4452);t.exports=n(70377)?function(t,e,n){return r.f(t,e,a(1,n))}:function(t,e,n){return t[e]=n,t}},65609:function(t,e,n){var r=n(34506).document;t.exports=r&&r.documentElement},83278:function(t,e,n){t.exports=!n(70377)&&!n(73069)(function(){return 7!=Object.defineProperty(n(32873)("div"),"a",{get:function(){return 7}}).a})},28365:function(t,e,n){var r=n(60866);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},68926:function(t,e,n){var r=n(60866);t.exports=Array.isArray||function(t){return"Array"==r(t)}},69480:function(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},51592:function(t,e,n){"use strict";var r=n(77310),a=n(4452),o=n(5723),i={};n(2366)(i,n(81395)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(i,{next:a(1,n)}),o(t,e+" Iterator")}},58903:function(t,e,n){"use strict";var r=n(44574),a=n(75076),o=n(53682),i=n(2366),s=n(45086),l=n(51592),u=n(5723),c=n(42915),f=n(81395)("iterator"),p=!([].keys&&"next"in[].keys()),d="values",h=function(){return this};t.exports=function(t,e,n,m,v,y,g){l(n,e,m);var b,w,T,S=function(t){return!p&&t in x?x[t]:function(){return new n(this,t)}},k=e+" Iterator",E=v==d,O=!1,x=t.prototype,A=x[f]||x["@@iterator"]||v&&x[v],_=A||S(v),M=v?E?S("entries"):_:void 0,C="Array"==e&&x.entries||A;if(C&&(T=c(C.call(new t)))!==Object.prototype&&T.next&&(u(T,k,!0),r||"function"==typeof T[f]||i(T,f,h)),E&&A&&A.name!==d&&(O=!0,_=function(){return A.call(this)}),(!r||g)&&(p||O||!x[f])&&i(x,f,_),s[e]=_,s[k]=h,v){if(b={values:E?_:S(d),keys:y?_:S("keys"),entries:M},g)for(w in b)w in x||o(x,w,b[w]);else a(a.P+a.F*(p||O),e,b)}return b}},65336:function(t){t.exports=function(t,e){return{value:e,done:!!t}}},45086:function(t){t.exports={}},44574:function(t){t.exports=!0},42727:function(t,e,n){var r=n(67441)("meta"),a=n(69480),o=n(40255),i=n(46093).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(73069)(function(){return l(Object.preventExtensions({}))}),c=function(t){i(t,r,{value:{i:"O"+ ++s,w:{}}})},f=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!a(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!l(t))return"F";if(!e)return"E";c(t)}return t[r].i},getWeak:function(t,e){if(!o(t,r)){if(!l(t))return!0;if(!e)return!1;c(t)}return t[r].w},onFreeze:function(t){return u&&f.NEED&&l(t)&&!o(t,r)&&c(t),t}}},79769:function(t,e,n){"use strict";var r=n(70377),a=n(95692),o=n(6050),i=n(46824),s=n(28689),l=n(28365),u=Object.assign;t.exports=!u||n(73069)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=s(t),u=arguments.length,c=1,f=o.f,p=i.f;u>c;)for(var d,h=l(arguments[c++]),m=f?a(h).concat(f(h)):a(h),v=m.length,y=0;v>y;)d=m[y++],(!r||p.call(h,d))&&(n[d]=h[d]);return n}:u},77310:function(t,e,n){var r=n(96202),a=n(46582),o=n(52848),i=n(7186)("IE_PROTO"),s=function(){},l="prototype",u=function(){var t,e=n(32873)("iframe"),r=o.length;for(e.style.display="none",n(65609).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write(""),t.close(),u=t.F;r--;)delete u[l][o[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[l]=r(t),n=new s,s[l]=null,n[i]=t):n=u(),void 0===e?n:a(n,e)}},46093:function(t,e,n){var r=n(96202),a=n(83278),o=n(43908),i=Object.defineProperty;e.f=n(70377)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),a)try{return i(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},46582:function(t,e,n){var r=n(46093),a=n(96202),o=n(95692);t.exports=n(70377)?Object.defineProperties:function(t,e){a(t);for(var n,i=o(e),s=i.length,l=0;s>l;)r.f(t,n=i[l++],e[n]);return t}},11801:function(t,e,n){var r=n(46824),a=n(4452),o=n(34202),i=n(43908),s=n(40255),l=n(83278),u=Object.getOwnPropertyDescriptor;e.f=n(70377)?u:function(t,e){if(t=o(t),e=i(e,!0),l)try{return u(t,e)}catch(t){}if(s(t,e))return a(!r.f.call(t,e),t[e])}},45866:function(t,e,n){var r=n(34202),a=n(69752).f,o={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return a(t)}catch(t){return i.slice()}};t.exports.f=function(t){return i&&"[object Window]"==o.call(t)?s(t):a(r(t))}},69752:function(t,e,n){var r=n(2651),a=n(52848).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,a)}},6050:function(t,e){e.f=Object.getOwnPropertySymbols},42915:function(t,e,n){var r=n(40255),a=n(28689),o=n(7186)("IE_PROTO"),i=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return r(t=a(t),o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?i:null}},2651:function(t,e,n){var r=n(40255),a=n(34202),o=n(57936)(!1),i=n(7186)("IE_PROTO");t.exports=function(t,e){var n,s=a(t),l=0,u=[];for(n in s)n!=i&&r(s,n)&&u.push(n);for(;e.length>l;)r(s,n=e[l++])&&(~o(u,n)||u.push(n));return u}},95692:function(t,e,n){var r=n(2651),a=n(52848);t.exports=Object.keys||function(t){return r(t,a)}},46824:function(t,e){e.f=({}).propertyIsEnumerable},4452:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},53682:function(t,e,n){t.exports=n(2366)},80130:function(t,e,n){var r=n(69480),a=n(96202),o=function(t,e){if(a(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n(38893)(Function.call,n(11801).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},5723:function(t,e,n){var r=n(46093).f,a=n(40255),o=n(81395)("toStringTag");t.exports=function(t,e,n){t&&!a(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},7186:function(t,e,n){var r=n(92479)("keys"),a=n(67441);t.exports=function(t){return r[t]||(r[t]=a(t))}},92479:function(t,e,n){var r=n(37213),a=n(34506),o="__core-js_shared__",i=a[o]||(a[o]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(44574)?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},94004:function(t,e,n){var r=n(25999),a=n(8296);t.exports=function(t){return function(e,n){var o,i,s=String(a(e)),l=r(n),u=s.length;return l<0||l>=u?t?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===u||(i=s.charCodeAt(l+1))<56320||i>57343?t?s.charAt(l):o:t?s.slice(l,l+2):(o-55296<<10)+(i-56320)+65536}}},48856:function(t,e,n){var r=n(25999),a=Math.max,o=Math.min;t.exports=function(t,e){return(t=r(t))<0?a(t+e,0):o(t,e)}},25999:function(t){var e=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:e)(t)}},34202:function(t,e,n){var r=n(28365),a=n(8296);t.exports=function(t){return r(a(t))}},61826:function(t,e,n){var r=n(25999),a=Math.min;t.exports=function(t){return t>0?a(r(t),9007199254740991):0}},28689:function(t,e,n){var r=n(8296);t.exports=function(t){return Object(r(t))}},43908:function(t,e,n){var r=n(69480);t.exports=function(t,e){var n,a;if(!r(t))return t;if(e&&"function"==typeof(n=t.toString)&&!r(a=n.call(t))||"function"==typeof(n=t.valueOf)&&!r(a=n.call(t))||!e&&"function"==typeof(n=t.toString)&&!r(a=n.call(t)))return a;throw TypeError("Can't convert object to primitive value")}},67441:function(t){var e=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+n).toString(36))}},19642:function(t,e,n){var r=n(34506),a=n(37213),o=n(44574),i=n(62911),s=n(46093).f;t.exports=function(t){var e=a.Symbol||(a.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:i.f(t)})}},62911:function(t,e,n){e.f=n(81395)},81395:function(t,e,n){var r=n(92479)("wks"),a=n(67441),Symbol=n(34506).Symbol,o="function"==typeof Symbol;(t.exports=function(t){return r[t]||(r[t]=o&&Symbol[t]||(o?Symbol:a)("Symbol."+t))}).store=r},67771:function(t,e,n){"use strict";var r=n(74631),a=n(65336),o=n(45086),i=n(34202);t.exports=n(58903)(Array,"Array",function(t,e){this._t=i(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,a(1)):"keys"==e?a(0,n):"values"==e?a(0,t[n]):a(0,[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},38476:function(t,e,n){var r=n(75076);r(r.S+r.F,"Object",{assign:n(79769)})},23012:function(t,e,n){var r=n(75076);r(r.S,"Object",{create:n(77310)})},94730:function(t,e,n){var r=n(75076);r(r.S+!n(70377)*r.F,"Object",{defineProperty:n(46093).f})},49760:function(t,e,n){var r=n(75076);r(r.S,"Object",{setPrototypeOf:n(80130).set})},71810:function(){},97109:function(t,e,n){"use strict";var r=n(94004)(!0);n(58903)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},22503:function(t,e,n){"use strict";var r=n(34506),a=n(40255),o=n(70377),i=n(75076),s=n(53682),l=n(42727).KEY,u=n(73069),c=n(92479),f=n(5723),p=n(67441),d=n(81395),h=n(62911),m=n(19642),v=n(4352),y=n(68926),g=n(96202),b=n(69480),w=n(28689),T=n(34202),S=n(43908),k=n(4452),E=n(77310),O=n(45866),x=n(11801),A=n(6050),_=n(46093),M=n(95692),C=x.f,D=_.f,F=O.f,j=r.Symbol,P=r.JSON,Z=P&&P.stringify,N="prototype",L=d("_hidden"),R=d("toPrimitive"),I={}.propertyIsEnumerable,U=c("symbol-registry"),X=c("symbols"),V=c("op-symbols"),B=Object[N],H="function"==typeof j&&!!A.f,Y=r.QObject,z=!Y||!Y[N]||!Y[N].findChild,W=o&&u(function(){return 7!=E(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=C(B,e);r&&delete B[e],D(t,e,n),r&&t!==B&&D(B,e,r)}:D,q=function(t){var e=X[t]=E(j[N]);return e._k=t,e},G=H&&"symbol"==typeof j.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof j},Q=function(t,e,n){return(t===B&&Q(V,e,n),g(t),e=S(e,!0),g(n),a(X,e))?(n.enumerable?(a(t,L)&&t[L][e]&&(t[L][e]=!1),n=E(n,{enumerable:k(0,!1)})):(a(t,L)||D(t,L,k(1,{})),t[L][e]=!0),W(t,e,n)):D(t,e,n)},$=function(t,e){g(t);for(var n,r=v(e=T(e)),a=0,o=r.length;o>a;)Q(t,n=r[a++],e[n]);return t},K=function(t){var e=I.call(this,t=S(t,!0));return(!(this===B&&a(X,t))||!!a(V,t))&&(!(e||!a(this,t)||!a(X,t)||a(this,L)&&this[L][t])||e)},J=function(t,e){if(t=T(t),e=S(e,!0),!(t===B&&a(X,e))||a(V,e)){var n=C(t,e);return n&&a(X,e)&&!(a(t,L)&&t[L][e])&&(n.enumerable=!0),n}},tt=function(t){for(var e,n=F(T(t)),r=[],o=0;n.length>o;)a(X,e=n[o++])||e==L||e==l||r.push(e);return r},te=function(t){for(var e,n=t===B,r=F(n?V:T(t)),o=[],i=0;r.length>i;)a(X,e=r[i++])&&(!n||a(B,e))&&o.push(X[e]);return o};H||(s((j=function(){if(this instanceof j)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===B&&e.call(V,n),a(this,L)&&a(this[L],t)&&(this[L][t]=!1),W(this,t,k(1,n))};return o&&z&&W(B,t,{configurable:!0,set:e}),q(t)})[N],"toString",function(){return this._k}),x.f=J,_.f=Q,n(69752).f=O.f=tt,n(46824).f=K,A.f=te,o&&!n(44574)&&s(B,"propertyIsEnumerable",K,!0),h.f=function(t){return q(d(t))}),i(i.G+i.W+!H*i.F,{Symbol:j});for(var tn="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tr=0;tn.length>tr;)d(tn[tr++]);for(var ta=M(d.store),to=0;ta.length>to;)m(ta[to++]);i(i.S+!H*i.F,"Symbol",{for:function(t){return a(U,t+="")?U[t]:U[t]=j(t)},keyFor:function(t){if(!G(t))throw TypeError(t+" is not a symbol!");for(var e in U)if(U[e]===t)return e},useSetter:function(){z=!0},useSimple:function(){z=!1}}),i(i.S+!H*i.F,"Object",{create:function(t,e){return void 0===e?E(t):$(E(t),e)},defineProperty:Q,defineProperties:$,getOwnPropertyDescriptor:J,getOwnPropertyNames:tt,getOwnPropertySymbols:te});var ti=u(function(){A.f(1)});i(i.S+i.F*ti,"Object",{getOwnPropertySymbols:function(t){return A.f(w(t))}}),P&&i(i.S+i.F*(!H||u(function(){var t=j();return"[null]"!=Z([t])||"{}"!=Z({a:t})||"{}"!=Z(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],a=1;arguments.length>a;)r.push(arguments[a++]);if(n=e=r[1],!(!b(e)&&void 0===t||G(t)))return y(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!G(e))return e}),r[1]=e,Z.apply(P,r)}}),j[N][R]||n(2366)(j[N],R,j[N].valueOf),f(j,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},51015:function(t,e,n){n(19642)("asyncIterator")},60107:function(t,e,n){n(19642)("observable")},16917:function(t,e,n){n(67771);for(var r=n(34506),a=n(2366),o=n(45086),i=n(81395)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l-1;)(f=u[p]).n===s&&f.c===e?u.splice(p,1):0===c&&(c=p+1);var d=n||this._eventTarget;u.splice(c,0,{c:e,n:s,t:i}),!this._listFun[l]&&(this._listFun[l]=this._listFun[l]||this.dispatchEvent.bind(this,{type:i,target:n}),d.addEventListener?d.addEventListener(i,this._listFun[l],r):d.attachEvent&&d.attachEvent("on"+i,this._listFun[l]))},removeEventListener:function(t,e,n,r){var o=t.split("."),i=o[0],s=o[1],l=""+i+(n?"_"+n.getAttribute(a):""),u=this._listeners[l],c=void 0,f=r;if(s||(f=!0),u){c=u.length;for(var p=n||this._eventTarget;--c>-1;)if(u[c].c===e&&(f||u[c].n===s)){if(u.splice(c,1),!u.length){var d=this._listFun[l];delete this._listeners[l],delete this._listFun[l],p.removeEventListener?p.removeEventListener(i,d):p.detachEvent&&p.detachEvent("on"+i,d)}if(!f)return}}},dispatchEvent:function(t,e){var n=t.type,r=t.target,o=""+n+(r?"_"+r.getAttribute(a):""),i=this._listeners[o],s=void 0,l=void 0,u=void 0;if(i){for(s=i.length,l=this._eventTarget;--s>-1;)if(u=i[s]){var c=e||{type:n,target:l};u.c.call(l,c)}}},removeAllType:function(t,e){var n=this,o=t.split("."),i=o[0],s=o[1],l=""+i+(e?"_"+e.getAttribute(a):""),u=this._listeners[l];this.recoverLists=this.recoverLists.concat((0,r.Zk)(u).filter(function(t){return t.n&&t.n.match(s)})),this.recoverLists.forEach(function(t){n.removeEventListener(t.t+"."+t.n,t.c,e)})},reAllType:function(t,e){var n=this,r=t.split("."),a=r[0],o=r[1];this.recoverLists=this.recoverLists.map(function(t){return t.t===a&&t.n.match(o)?(n.addEventListener(t.t+"."+t.n,t.c,e),null):t}).filter(function(t){return t})}},e.Z=new o("undefined"!=typeof document&&window)},58496:function(t,e,n){"use strict";n.d(e,{Z:function(){return y}});var r=n(61707),a=n(61200),o=n(82864),i=n(73006),s=n(97559),l=n(71212),u=n(50959),c=n(40507),f=n.n(c),p=n(53046),d=n(10422),h=n(55171),m=function(t){function e(t){(0,o.default)(this,e);var n=(0,i.default)(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.getParam=function(t){n.clientHeight=n.target?n.target.clientHeight:(0,h.uK)();var e=n.target?n.target.scrollTop:(0,h.Xh)(),r=n.dom.getBoundingClientRect(),a=n.target?n.target.getBoundingClientRect().top:0,o=r.top+e-a;n.elementShowHeight=e-o+n.clientHeight;var i=(0,h.o1)(n.props.playScale),s=/([\+\-]?[0-9#\.]+)(px|vh|%)?/.exec(String(i[0]));s[2]?"px"===s[2]?n.playHeight=parseFloat(s[1]):n.playHeight=n.clientHeight*parseFloat(s[1])/100:n.playHeight=n.clientHeight*parseFloat(i[0]);var l=r.height,u=/([\+\-]?[0-9#\.]+)(px|vh|%)?/.exec(String(i[1]));u[2]?"px"===u[2]?n.leavePlayHeight=parseFloat(u[1]):n.leavePlayHeight=l*parseFloat(u[1])/100:n.leavePlayHeight=l*parseFloat(i[1]);var c=n.props.replay?n.elementShowHeight>=n.playHeight&&n.elementShowHeight<=n.clientHeight+n.leavePlayHeight:n.elementShowHeight>=n.playHeight,f=c?"enter":"leave",p=n.enter!==c||"boolean"!=typeof n.enter?f:null;p&&n.props.onChange({mode:p,id:n.props.id}),n.props.onScroll({domEvent:t,scrollTop:e,showHeight:n.elementShowHeight,offsetTop:o,id:n.props.id}),n.enter=c},n.addScrollEvent=function(){p.Z.addEventListener(n.eventType,n.scrollEventListener,n.target),(0,h.Xh)()||n.scrollEventListener()},n.scrollEventListener=function(t){n.getParam(t)},n.state={$self:n},n}return(0,l.default)(e,t),(0,s.default)(e,null,[{key:"getDerivedStateFromProps",value:function(t,e){var n=e.prevProps,r=e.$self;return n&&t!==n&&r.scrollEventListener(),{prevProps:t}}}]),(0,s.default)(e,[{key:"componentDidMount",value:function(){if(!h.Q6){this.dom=d.findDOMNode(this);var t=Date.now();this.target=this.props.targetId&&document.getElementById(this.props.targetId);var e=p.Z._listeners.scroll?p.Z._listeners.scroll.length:0;this.eventType="scroll.scrollEvent"+t+e,this.addScrollEvent()}}},{key:"componentWillUnmount",value:function(){p.Z.removeEventListener(this.eventType,this.scrollEventListener,this.target)}},{key:"render",value:function(){var t=this.props,e=t.component,n=(t.playScale,t.location,t.targetId,t.onScroll,t.onChange,t.replay,t.componentProps),o=(0,a.default)(t,["component","playScale","location","targetId","onScroll","onChange","replay","componentProps"]);return u.createElement(e,(0,r.default)({},o,n))}}]),e}(u.Component);m.propTypes={component:f().any,playScale:f().any,id:f().string,onChange:f().func,onScroll:f().func,location:f().string,targetId:f().string,replay:f().bool,componentProps:f().object},m.defaultProps={component:"div",onChange:h.ZT,onScroll:h.ZT,playScale:.5,replay:!1,componentProps:{}},m.isScrollElement=!0;var v=function(t){function e(t){(0,o.default)(this,e);var n=(0,i.default)(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.scrollEventListener=function(t){n.getParam(t);var e=n.state.show,r=n.props,a=r.always,o=r.replay,i=n.elementShowHeight>n.clientHeight+n.leavePlayHeight;if(n.enter||!o&&i)e||n.setState({show:!0}),!a&&n.eventType&&p.Z.removeEventListener(n.eventType,n.scrollEventListener,n.target);else if(a){var s=n.elementShowHeightObject.keys(e).length?t:e,a=Object.keys(t).length>Object.keys(e).length?e:t;Object.keys(r).forEach(function(t){n&&(t in a||(n=!1),"object"==typeof r[t]&&"object"==typeof a[t]?n=E(r[t],a[t]):"function"==typeof r[t]&&"function"==typeof a[t]?r[t].toString().replace(/\s+/g,"")!==a[t].toString().replace(/\s+/g,"")&&(n=!1):r[t]!==a[t]&&(n=!1))})};if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;t.forEach(function(t,n){r(t,e[n])})}else r(t,e);return n}function O(t,e){var n=null;return t&&t.forEach(function(t){!n&&t&&t.key===e&&(n=t)}),n}function x(t,e,n){return"function"==typeof t?t({key:e,index:n}):t}function A(t){return t&&t.children}function _(t,e,n,r,a,o,i,s){if(b)return r;var l=/(?:Left|Right|Width|X)/i.test(n)||s;l="padding"===n||"marign"===n||l;var u=-1!==n.indexOf("border")||-1!==n.indexOf("translate")||"transformOrigin"===n?t:t.parentNode||document.body;u=i?document.body:u;var c=void 0,f=void 0;switch(a){case"%":c=parseFloat(r)/100*(l?u.clientWidth:u.clientHeight);break;case"vw":c=parseFloat(r)*document.body.clientWidth/100;break;case"vh":c=parseFloat(r)*document.body.clientHeight/100;break;case"em":c=parseFloat(r)*parseFloat(e.fontSize);break;case"rem":f=window.getComputedStyle(document.getElementsByTagName("html")[0]),c=parseFloat(r)*parseFloat(f.fontSize);break;default:c=parseFloat(r)}switch(o){case"%":c=c?100*c/(l?u.clientWidth:u.clientHeight):0;break;case"vw":c=parseFloat(r)/document.body.clientWidth*100;break;case"vh":c=parseFloat(r)/document.body.clientHeight*100;break;case"em":c=parseFloat(r)/parseFloat(e.fontSize);break;case"rem":f=f||window.getComputedStyle(document.getElementsByTagName("html")[0]),c=parseFloat(r)/parseFloat(f.fontSize)}return c}function M(t){if("string"==typeof t)return t;var e=t.perspective,n=t.rotate,r=t.rotateX,a=t.rotateY,o=t.scaleX,i=t.scaleY,s=t.scaleZ,l=t.skewX,u=t.skewY,c="string"==typeof t.translateX?t.translateX:t.translateX+"px",f="string"==typeof t.translateY?t.translateY:t.translateY+"px",p="string"==typeof t.translateZ?t.translateZ:t.translateZ+"px",d=l||u?"skew("+l+"deg,"+u+"deg)":"",h=n?"rotate("+n+"deg)":"",m=1!==o||1!==i||1!==s?"scale3d("+o+","+i+","+s+")":"",v=r?"rotateX("+r+"deg)":"",y=a?"rotateY("+a+"deg)":"";return((e?"perspective("+e+"px)":"")+" "+(t.translateZ?"translate3d("+c+","+f+","+p+")":(t.translateX||t.translateY)&&"translate("+c+","+f+")"||(m||h||v||y||d?"":"translate(0px, 0px)"))+" "+m+" "+h+" "+v+" "+y+" "+d).trim()}var C=n(89971);h().path=function(t,e){var n=e||{};if(b)return"linear";for(var r=function(t){if("string"==typeof t){if(t.charAt(0).match(/m/i)){var e=document.createElementNS("http://www.w3.org/2000/svg","path");return e.setAttributeNS(null,"d",t),e}return document.querySelector(t)}if(t.style)return t;throw Error("Error while parsing the path")}(t),a=r.getTotalLength(),o=n.rect||100,i=n.lengthPixel||200,s=[],l=0;l=u})[0]||r.getPointAtLength(l*a)).y/o}};var D=h(),F=function(){};F.prototype.push=function(t){this[t.prototype.name]=t};var j=new F,P=function(t,e,n){this.target=t,this.vars=e,this.type=n,this.propsData={},this.setDefaultData()};P.prototype={name:"style"};var Z=P.prototype;function N(){}function L(t,e){var n=t.duration||0===t.duration?t.duration:450;return{duration:"set"===t.type?0:n,delay:t.delay||0,ease:"function"==typeof t.ease?t.ease:D[t.ease||"easeInOutQuad"],onUpdate:t.onUpdate||N,onComplete:t.onComplete||N,onStart:t.onStart||N,onRepeat:t.onRepeat||N,repeat:t.repeat||0,repeatDelay:t.repeatDelay||0,yoyo:t.yoyo||!1,type:"from"===t.type?"from":"to",initTime:e,appearTo:"number"==typeof t.appearTo?t.appearTo:null,perTime:0,currentRepeat:0}}Z.getTweenData=function(t,e){var n={data:{},dataType:{},dataUnit:{},dataCount:{},dataSplitStr:{}},r=e;if(T[t]&&((r=(r=r.toString().split(" ")).map(function(t){return"number"==typeof e?t+"px":t}))[1]=r[1]||r[0],r[2]=r[2]||r[0],r[3]=r[3]||r[1]||r[0],r=r.join(" ")),t.match(/colo|fill|storker/i)?(n.data[t]=(0,C.lu)(r),n.dataType[t]="color"):"strokeDasharray"===t?(n.data[t]=r.split(","),n.dataType[t]="strokeDasharray"):t.match(/shadow/i)?(n.data[t]=(0,C.hy)(r),n.dataType[t]="shadow"):"string"==typeof r&&r.split(/[\s|,]/).length>1?(n.data[t]=r.split(/[\s|,]/),n.dataSplitStr[t]=r.replace(/[^\s|,]/g,"").replace(/\s+/g," "),n.dataType[t]="string"):(n.data[t]=r,n.dataType[t]="other"),Array.isArray(n.data[t]))n.dataUnit[t]=n.data[t].map(function(t){return t.toString().replace(/[^a-z|%]/g,"")}),n.dataCount[t]=n.data[t].map(function(t){return t.toString().replace(/[^+|=|-]/g,"")}),n.data[t]=n.data[t].map(function(t){return parseFloat(t)||0===parseFloat(t)?parseFloat(t):t});else{n.dataUnit[t]=n.data[t].toString().replace(/[^a-z|%]/g,""),n.dataCount[t]=n.data[t].toString().replace(/[^+|=|-]/g,"");var a=parseFloat(n.data[t].toString().replace(/[a-z|%|=]/g,""));n.data[t]=a||0===a?a:n.data[t]}return n},Z.setDefaultData=function(){var t=this;this.propsData.data={},this.propsData.dataType={},this.propsData.dataUnit={},this.propsData.dataCount={},this.propsData.dataSplitStr={},Object.keys(this.vars).forEach(function(e){if(e in j){t.propsData.data[e]=new j[e](t.target,t.vars[e]);return}var n=(0,C.Lo)(e),r=t.getTweenData(n,t.vars[e]);t.propsData.data[n]=r.data[n],t.propsData.dataType[n]=r.dataType[n],t.propsData.dataUnit[n]=r.dataUnit[n],t.propsData.dataCount[n]=r.dataCount[n],r.dataSplitStr[n]&&(t.propsData.dataSplitStr[n]=r.dataSplitStr[n])})},Z.convertToMarksArray=function(t,e,n,r,a){var o=r.toString().replace(/[^a-z|%]/g,""),i=e[a];return o===i?parseFloat(r):parseFloat(r)||0===parseFloat(r)?_(this.target,t,n,r,o,i,null,"transformOrigin"===n&&!a):r},Z.getAnimStart=function(t,e,n){var r=this,o={},i=e.style||{},s=void 0;return Object.keys(this.propsData.data).forEach(function(e){var l=(0,C.dt)(e),u=i[l]||t[l],c="fixed"===t.position;u&&"none"!==u&&"auto"!==u||(u="");var f=void 0,p=void 0;if(e in j)"bezier"===e&&(r.transform=(0,C.Yf)("transform"),u=t[n?"transformSVG":r.transform],s=s||(i.transform?(0,a.default)({},i.transform):o.transform||(0,C.Ck)(u)),o.transform=s),r.propsData.data[e].getAnimStart(t,n);else if("transform"===l){r.transform=(0,C.Yf)("transform"),u=t[n?"transformSVG":r.transform],f=r.propsData.dataUnit[e],s=s||(i.transform?(0,a.default)({},i.transform):o.transform||(0,C.Ck)(u));var d=/%|vw|vh|em|rem/i;f&&f.match(d)&&(s[e]=s[e]&&s[e].toString().match(d)?parseFloat(s[e]):_(r.target,t,e,s[e],null,f)),o.transform=s}else"filter"===l?(i[l]?u=i[l]:(r.filterName=(0,C.Yf)("filter")||"filter",u=t[r.filterName],r.filterObject=(0,a.default)({},r.filterObject,(0,C.GX)(u)),u=r.filterObject[e]||0),p=u.toString().replace(/[^a-z|%]/g,""),(f=r.propsData.dataUnit[e])!==p&&(u=_(r.target,t,l,parseFloat(u),p,f,c)),o[e]=parseFloat(u)):e.match(/color|fill/i)||"stroke"===e?(u=u||"stroke"!==e?u:"rgba(255, 255, 255, 0)",o[l]=(0,C.lu)(u)):e.match(/shadow/i)?(u=(0,C.hy)(u),f=r.propsData.dataUnit[e],u=u.map(r.convertToMarksArray.bind(r,t,f,e)),o[l]=u):Array.isArray(r.propsData.data[e])?(u=u.split(/[\s|,]/).filter(function(t){return t||0===t}),f=r.propsData.dataUnit[e],u=u.map(r.convertToMarksArray.bind(r,t,f,e)),o[l]=u):((f=r.propsData.dataUnit[l])!==(p=u.toString().replace(/[^a-z|%]/g,""))&&(u=_(r.target,t,l,parseFloat(u),p,f,c)),o[l]=parseFloat(u||0))}),this.start=o,o},Z.setArrayRatio=function(t,e,n,r,a){"color"===a&&4===e.length&&3===n.length&&(n[3]=1);var o=e.indexOf("inset")>=0,i=n.indexOf("inset")>=0;if(o&&!i||i&&!o)throw console.error('Error: "box-shadow" inset have to exist');var s=i?9:8;e.length===s&&n.length===s-1?(n.splice(3,0,0),r.splice(3,0,"")):n.length===s&&e.length===s-1&&e.splice(3,0,0);var l=n.map(function(n,o){var i="color"!==a||3!==o||e[o]?0:1,s="number"==typeof e[o]?e[o]:i;return"string"==typeof n?n:(n-s)*t+s+(r[o]||0)});if("color"===a)return(0,C.Lq)(l);if("shadow"===a){var u=l.length===s?4:3,c=l.slice(0,u).map(function(t){return"number"==typeof t?t+"px":t}),f=l.slice(u,i?l.length-1:l.length),p=(0,C.Lq)(f);return(c.join(" ")+" "+p+" "+(i?"inset":"")).trim()}return l},Z.setRatio=function(t,e,n){var r=this;e.style=e.style||{},this.start.transform&&(e.style.transform=e.style.transform||(0,a.default)({},this.start.transform));var o=this.target.style;Object.keys(this.propsData.data).forEach(function(a){var i="transform"===(0,C.Tk)(a),s=i?r.start.transform[a]:r.start[a],l=r.propsData.data[a],u=r.propsData.dataUnit[a],c=r.propsData.dataCount[a];if(a in j){r.propsData.data[a].setRatio(t,e,n),"bezier"===a?o[r.transform]=M(e.style.transform):Object.keys(e.style).forEach(function(t){o[t]=e.style[t]});return}if(i){if(u&&u.match(/%|vw|vh|em|rem/i))s=parseFloat(r.start.transform[a]),"="===c.charAt(1)?e.style.transform[a]=s+l*t+u:e.style.transform[a]=(l-s)*t+s+u;else if("scale"===a){var f=r.start.transform.scaleX,p=r.start.transform.scaleY;"="===c.charAt(1)?(e.style.transform.scaleX=f+l*t,e.style.transform.scaleY=p+l*t):(e.style.transform.scaleX=(l-f)*t+f,e.style.transform.scaleY=(l-p)*t+p)}else"="===c.charAt(1)?e.style.transform[a]=s+l*t:e.style.transform[a]=(l-s)*t+s;o[r.transform]=M(e.style.transform),n&&(n.transformSVG=(0,C.wz)(o[r.transform]).toString());return}if(Array.isArray(l)){var d=r.propsData.dataType[a];e.style[a]=r.setArrayRatio(t,s,l,u,d),"string"===d&&(e.style[a]=e.style[a].join(r.propsData.dataSplitStr[a]))}else{var h=(0,C.YJ)(a,0);if(h="number"==typeof h?"":h.replace(/[^a-z|%]/g,""),u=u||(C._T.filter.indexOf(a)>=0?"":h),"string"==typeof l)e.style[a]=l;else if("="===c.charAt(1))e.style[a]=s+l*t+u;else{var m=(l-s)*t+s;e.style[a]=u?""+m+u:m}}if(C._T.filter.indexOf(a)>=0){if(!r.filterObject)return;r.filterObject[a]=e.style[a];var v="";Object.keys(r.filterObject).forEach(function(t){v+=" "+t+"("+r.filterObject[t]+")"}),o[r.filterName]=v.trim();return}o[a]=e.style[a]})},j.push(P);var R=function(t,e,n){var r=k(e);this.target=t,this.attr=n||"style",this.accuracy=1e-5,this.totalTime=0,this.progressTime=0,this.defaultData=[],this.start={},this.startDefaultData={},this.tween={},this.data=r,this.perFrame=Math.round(1e3/60),this.register=!1,this.isSvg=this.target.ownerSVGElement;var a=this.setAttrIsStyle();this.setDefaultData(a)},I=R.prototype;I.setAttrIsStyle=function(){var t=this,e=[],n=L({},0);return this.data.forEach(function(r,o){var i=(0,a.default)({},r);"style"===t.attr?(e[o]={},Object.keys(i).forEach(function(t){t in n&&(e[o][t]=i[t],delete i[t])}),e[o].style=i,t.startDefaultData.style=t.target.getAttribute("style")||""):"attr"===t.attr&&(Object.keys(i).forEach(function(e){if("style"===e&&Array.isArray(r[e]))throw Error("Style should be the object.");if("bezier"===e)i.style=(0,a.default)({},i.style,{bezier:i[e]}),delete i[e],t.startDefaultData.style=t.target.getAttribute("style")||"";else{if(e in n)return;t.startDefaultData[e]=t.getValue(e)}}),e[o]=i)}),e},I.setDefaultData=function(t){var e=this,n=0,r=!1,a=t.map(function(t){var a="number"==typeof t.appearTo;a||(n+=t.delay||0);var o=(t.appearTo||0)+(t.delay||0),i=L(t,a?o:n);i.vars={},Object.keys(t).forEach(function(n){if(!(n in i)){var r=t[n];if(n in j)i.vars[n]=new j[n](e.target,r,i.type);else if(("d"===n||"points"===n)&&"SVGMorph"in j)i.vars[n]=new j.SVGMorph(e.target,r,n);else if(n.match(/color/i)||"stroke"===n||"fill"===n)i.vars[n]={type:"color",vars:(0,C.lu)(r)};else if("number"==typeof r||r.split(/[,|\s]/g).length<=1){var a=parseFloat(r),o=r.toString().replace(/[^a-z|%]/g,""),s=r.toString().replace(/[^+|=|-]/g,"");i.vars[n]={unit:o,vars:a,count:s}}}}),i.yoyo&&!i.repeat&&console.warn("Warning: yoyo must be used together with repeat;"),-1===i.repeat&&(r=!0);var s=-1===i.repeat?0:i.repeat;if(a){var l=t.appearTo+(t.delay||0)+i.duration*(s+1)+i.repeatDelay*s;n=l>=n?l:n}else i.delay<-i.duration?n-=i.delay:n+=i.duration*(s+1)+i.repeatDelay*s;return i.mode="",i});this.totalTime=r?Number.MAX_VALUE:n,this.defaultData=a},I.getComputedStyle=function(){var t=document.defaultView?document.defaultView.getComputedStyle(this.target):{};if(this.isSvg){var e=t[(0,C.Yf)("transform")]||"none";if("none"===e){var n=this.target.getAttribute("style");n&&n.indexOf("transform:")>=0?e=n.split(";").filter(function(t){return t.indexOf("transform:")>=0}).map(function(t){return(0,C.wz)(t.split(":")[1].trim()).toString()})[0]:this.target.getAttribute("transform")&&console.warn("Do not add transform on the label, otherwise it will be invalid.")}t.transformSVG=e}return t},I.getAnimStartData=function(t){var e=this,n={};return Object.keys(t).forEach(function(r){if(r in j||"attr"===e.attr&&("d"===r||"points"===r)){e.computedStyle=e.computedStyle||(e.target.getAttribute?e.getComputedStyle():(0,a.default)({},e.target)),n[r]=t[r].getAnimStart(e.computedStyle,e.tween,e.isSvg);return}if("attr"===e.attr){var o=e.getValue(r),i=r.match(/opacity/ig)?1:0,s="null"!==o&&o?o:i;if(r.match(/color/i)||"stroke"===r||"fill"===r)s=s||"stroke"!==r?s:"rgba(255, 255, 255, 0)",s=(0,C.lu)(s),n[r]=s;else if(parseFloat(s)||0===parseFloat(s)||0===s){var l=s.toString().replace(/[^a-z|%]/g,"");n[r]=l!==t[r].unit?_(e.target,r,parseFloat(s),l,t[r].unit):parseFloat(s)}return}n[r]=e.target[r]||0}),n},I.setAnimData=function(t){var e=this;Object.keys(t).forEach(function(n){n in j||"attr"===e.attr&&("d"===n||"points"===n)||(e.target[n]=t[n])})},I.setRatio=function(t,e,n){var r=this;Object.keys(e.vars).forEach(function(a){if(a in j||"attr"===r.attr&&("d"===a||"points"===a)){e.vars[a].setRatio(t,r.tween,r.isSvg&&r.computedStyle);return}var o=e.vars[a],i=r.start[n][a],s=void 0;"attr"===r.attr&&(o.type?"color"===o.type&&(3===o.vars.length&&4===i.length&&(o.vars[3]=1),s=o.vars.map(function(e,n){var r=i[n]||0;return(e-r)*t+r}),r.setValue(a,(0,C.Lq)(s))):(s="="===o.unit.charAt(1)?i+o.vars*t+o.unit:(o.vars-i)*t+i+o.unit,r.setValue(a,o.unit?s:parseFloat(s))))}),this.setAnimData(this.tween)},I.getValue=function(t){return this.target.getAttribute?this.target.getAttribute(t):this.target[t]},I.setValue=function(t,e){this.target.setAttribute?this.target.setAttribute(t,e):this.target[t]=e},I.render=function(){var t=this,e=this.reverse;this.defaultData.forEach(function(n,r){var o=n.initTime,i=(0,C.FH)(n.duration),s=Math.ceil((t.progressTime-o)/(i+n.repeatDelay))-1||0;if(s=s<0?0:s,n.repeat){if(n.repeat=0)||t.start[r]||(t.start[r]=t.getAnimStartData(n.vars),ci&&(f=n.ease(1,l,u,1),t.setRatio(f,n,r)),t.register&&(!r||o)||(t.register=!0,0!==c||!n.duration||!n.delay))){var p={index:r,target:t.target},d=(0,a.default)({moment:t.progressTime},p),h=t.perFrame-t.accuracy,m=n.delay&&e?-h:0;if((c>=m&&!(c>i&&"onComplete"===n.mode)||c=t.perFrame?0:c)>=i-t.accuracy&&!e||e&&c<=0)&&s>=n.repeat){if("onComplete"===n.mode)return;if(f=n.ease(e?0:1,l,u,1),t.setRatio(f,n,r,n.currentRepeat!==s),(!n.reset||n.reset&&c>=i)&&!v)i=i+h)return;n.mode="onComplete"}else if(i>h){var y=c<0?0:c;y=y>i?i:y,f=n.ease(y,l,u,i),t.setRatio(f,n,r),v||(n.repeat&&s>0&&n.currentRepeat!==s?(n.mode="onRepeat",n.currentRepeat=s,n.onRepeat((0,a.default)({},p,{repeatNum:s}))):(n.perTime<=0||e&&n.perTime>=t.reverseStartTime-o)&&"onStart"!==n.mode?(n.mode="onStart",n.onStart(p)):(n.mode="onUpdate",n.onUpdate((0,a.default)({ratio:f},p))))}v||(d.mode=n.mode,t.onChange(d)),n.perTime=c,n.reset&&delete n.reset}}})},I.frame=function(t){var e=this;this.progressTime=t,this.defaultData.forEach(function(t){var n=e.progressTime-t.duration-t.initTime;n0&&(e.progressTime=t.duration+t.initTime)}),this.render()},I.init=I.frame,I.resetAnimData=function(){this.tween={},this.start={}};var U=function(t,e,n){var r=L({},0),a=function(t){return t.split(";").filter(function(t){return t}).map(function(t){return t.split(":").map(function(t){return t.trim()})})},o=a(e),i=a(t);return n.forEach(function(t){Object.keys(t).forEach(function(t){if(!(t in r)){var e=(0,C.Dm)((0,C.Tk)((0,C.Lo)("bezier"===t?"transform":t)));i=i.filter(function(t){return(!w[t[0]]||!w[e])&&t[0]!==e})}})}),o.forEach(function(t){i=i.filter(function(e){return e[0]!==t[0]})}),o.concat(i).map(function(t){return t.join(":")}).join(";")};I.resetDefaultStyle=function(){var t=this;this.tween={},this.defaultData=this.defaultData.map(function(t){return t.reset=!0,delete t.mode,t});var e=L({},0);Object.keys(this.startDefaultData).forEach(function(n){if(!(n in e)){if("style"===n){var r=U(t.target.style.cssText,t.startDefaultData.style,t.data);t.setValue(n,r)}else t.setValue(n,t.startDefaultData[n]);t.computedStyle=null}})},I.reStart=function(t,e,n){var r=this;this.start={},this.tween={},Object.keys(t||{}).forEach(function(a){(n||!e||t[a]!==e[a])&&(r.target.style[a]=(0,C.YJ)(a,t[a]))}),this.setAttrIsStyle(),this.computedStyle=null},I.onChange=N;var X=n(19616),V=n.n(X),B=Date.now||function(){return new Date().getTime()},H={interval:1,timeout:1,TweenOneTicker:2},Y=function(t){return Object.keys(t).map(function(e){return{key:e,func:t[e]}}).sort(function(t,e){var n=t.key.split("_")[0];return H[e.key.split("_")[0]]-H[n]})},z=function(){};z.prototype={tickFnArray:[],tickKeyObject:{},id:-1,tweenId:0,frame:0,perFrame:Math.round(1e3/60),elapsed:0,lastUpdate:B(),startTime:B(),nextTime:0,time:0};var W=z.prototype;W.add=function(t){var e="TweenOneTicker_"+this.tweenId;return this.tweenId++,this.wake(e,t),e},W.wake=function(t,e){this.tickKeyObject[t]=e,this.tickFnArray=Y(this.tickKeyObject),-1===this.id&&(this.id=V()(this.tick))},W.clear=function(t){delete this.tickKeyObject[t],this.tickFnArray=Y(this.tickKeyObject)},W.sleep=function(){V().cancel(this.id),this.id=-1,this.frame=0};var q=new z;W.tick=function(t){q.elapsed=B()-q.lastUpdate,q.elapsed>300&&(q.startTime+=q.elapsed-q.perFrame),q.lastUpdate+=q.elapsed,q.time=q.lastUpdate-q.startTime;var e=q.time-q.nextTime;if((e>0||!q.frame)&&(q.frame++,q.nextTime+=e),q.tickFnArray.forEach(function(e){return e.func(t)}),!q.tickFnArray.length){q.sleep();return}q.id=V()(q.tick)};var G=0;W.timeout=function(t,e){var n=this;if("function"!=typeof t)return console.warn("not function");var r="timeout_"+Date.now()+"-"+G,a=this.time;return this.wake(r,function(){n.time-a>=(e||0)&&(n.clear(r),t())}),G++,r};var Q=0;W.interval=function(t,e){var n=this;if("function"!=typeof t)return console.warn("not function"),null;var r="interval_"+Date.now()+"-"+Q,a=this.time;return this.wake(r,function(){n.time-a>=(e||0)&&(a=n.time,t())}),Q++,r};var $=Math.round(1e3/60),K=p().oneOfType([p().object,p().array]),J=function(t){function e(t){(0,o.default)(this,e);var n=(0,i.default)(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return tt.call(n),n.rafID=-1,n.paused=t.paused,n.reverse=t.reverse,n.updateAnim=!1,n.repeatNum=0,n.currentRef=null,n.forced={},n.setForcedJudg(t),n.state={$self:n},n}return(0,l.default)(e,t),(0,s.default)(e,null,[{key:"getDerivedStateFromProps",value:function(t,e){var n=e.prevProps,r=e.$self,a={prevProps:t};if(n&&t!==n){if(!r.tween&&!r.dom)return r.updateAnim=!0,a;var o=t.animation;E(n.animation,o)||(t.resetStyle&&r.tween&&r.tween.resetDefaultStyle(),r.updateAnim=!0);var i=t.moment;"number"==typeof i&&i!==n.moment&&(r.tween&&!r.updateAnim?(r.startMoment=i,r.startTime=q.time,t.paused&&r.raf(),r.tween.progressTime>=r.tween.totalTime&&r.play()):r.updateAnim=!0),r.paused===t.paused&&r.reverse===t.reverse||(r.paused=t.paused,r.reverse=t.reverse,r.paused?r.cancelRequestAnimationFrame():r.reverse&&t.reverseDelay?(r.cancelRequestAnimationFrame(),q.timeout(r.restart,t.reverseDelay)):(r.tween&&(r.tween.resetAnimData(),r.tween.resetDefaultStyle()),r.updateAnim||r.restart())),!E(n.style,t.style)&&r.tween&&(r.tween.reStart(t.style,n.style,r.tween.progressTime=0?n:Number.MAX_VALUE;var o=q.time-t.startTime+t.startMoment;t.reverse&&(o=(t.startMoment||0)-(q.time-t.startTime));var i=Math.floor((o=(o=o>r?r:o)<=0?0:o)/t.tween.totalTime)||0;i=i>n?n:i;var s=o-t.tween.totalTime*i;s=s<$&&!t.reverse&&r>=$?0:s,n&&o&&o-t.tween.totalTime*i<$&&t.tween.frame(t.tween.totalTime*i),(o=r&&!t.reverse||!o&&t.reverse?n.timelineMode="onTimelineComplete":i!==t.timelineRepeatNum?n.timelineMode="onTimelineRepeat":n.timelineMode="onTimelineUpdate":n.timelineMode="onTimelineStart",t.timelineRepeatNum=i,t.props.onChange(n)},t.moment=o,t.repeatNum=i,t.tween.frame(s)},this.raf=function(){var e=t.tween;if(t.frame(),e!==t.tween)return null;var n=t.props.repeat,r=-1===n?Number.MAX_VALUE:t.tween.totalTime*(n+1);return t.moment>=r&&!t.reverse||t.paused||t.reverse&&0===t.moment?t.cancelRequestAnimationFrame():null},this.cancelRequestAnimationFrame=function(){q.clear(t.rafID),t.rafID=-1}};J.isTweenOne=!0;var te=g(J),tn=function(t){function e(t){(0,o.default)(this,e);var n=(0,i.default)(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));tr.call(n),n.keysToEnter=[],n.keysToLeave=[],n.saveTweenTag={},n.onEnterBool=!1,n.animQueue=[],n.isTween={};var r=S(A(n.props));return n.currentChildren=S(A(n.props)),n.state={children:r,$self:n},n}return(0,l.default)(e,t),(0,s.default)(e,null,[{key:"getDerivedStateFromProps",value:function(t,e){var n=e.prevProps,r=e.$self,a={prevProps:t};if(n&&t!==n){var o=S(t.children);if(Object.keys(r.isTween).length&&!t.exclusive)return r.animQueue.push(o),a;var i=S(r.currentChildren);a.children=r.changeChildren(o,i)}return a}}]),(0,s.default)(e,[{key:"componentDidMount",value:function(){this.onEnterBool=!0}},{key:"changeChildren",value:function(t,e){var n,r,a,o,i=this,s=(n=[],r={},a=[],o=void 0,e.forEach(function(e){e&&(O(t,e.key)?(a.length&&(r[e.key]=a,a=[]),o=e.key):e.key&&a.push(e))}),o||(n=n.concat(a)),t.forEach(function(t){t&&(r.hasOwnProperty(t.key)&&(n=n.concat(r[t.key])),n.push(t),t.key===o&&(n=n.concat(a)))}),n);return this.keysToEnter=[],this.keysToLeave=[],t.forEach(function(t){if(t){var n=t.key,r=O(e,n);i.saveTweenTag[n]&&(i.saveTweenTag[n]=u.cloneElement(i.saveTweenTag[n],{},t)),!r&&n&&i.keysToEnter.push(n)}}),e.forEach(function(e){if(e){var n=e.key;!O(t,n)&&n&&(i.keysToLeave.push(n),delete i.saveTweenTag[n])}}),s}},{key:"render",value:function(){var t=this.state.children;this.currentChildren=t;var e=this.getChildrenToRender(t),n=this.props,o=n.component,i=n.componentProps,s=(n.appear,n.enter,n.leave,n.animatingClassName,n.onEnd,n.exclusive,n.resetStyle,(0,r.default)(n,["component","componentProps","appear","enter","leave","animatingClassName","onEnd","exclusive","resetStyle"]));return o?(0,u.createElement)(o,(0,a.default)({},s,i),e):e[0]||null}}]),e}(u.Component),tr=function(){var t=this;this.onChange=function(e,n,r,a){var o=k(e).length,i=a.target,s="object"==typeof i.className&&"baseVal"in i.className,l="enter"===r||"appear"===r;if("onStart"===a.mode)s?i.className.baseVal=t.setClassName(i.className.baseVal,l):i.className=t.setClassName(i.className,l);else if(a.index===o-1&&"onComplete"===a.mode){if(delete t.isTween[n],s?i.className.baseVal=i.className.baseVal.replace(t.props.animatingClassName[l?0:1],"").trim():i.className=i.className.replace(t.props.animatingClassName[l?0:1],"").trim(),"enter"===r)t.keysToEnter.splice(t.keysToEnter.indexOf(n),1),t.keysToEnter.length||t.reAnimQueue();else if("leave"===r&&(t.keysToLeave.splice(t.keysToLeave.indexOf(n),1),t.currentChildren=t.currentChildren.filter(function(t){return n!==t.key}),!t.keysToLeave.length)){var u=t.currentChildren.map(function(t){return t.key});Object.keys(t.saveTweenTag).forEach(function(e){-1===u.indexOf(e)&&delete t.saveTweenTag[e]}),t.setState({children:t.currentChildren},t.reAnimQueue)}t.props.onEnd({key:n,type:r})}},this.setClassName=function(e,n){var r=e.replace(t.props.animatingClassName[n?1:0],"").trim();return -1===r.indexOf(t.props.animatingClassName[n?0:1])&&(r=(r+" "+t.props.animatingClassName[n?0:1]).trim()),r},this.getTweenChild=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.key;return t.saveTweenTag[r]=u.createElement(te,(0,a.default)({},n,{key:r,component:null}),e),t.saveTweenTag[r]},this.getCoverAnimation=function(e,n,r){var a=void 0;a="leave"===r?t.props.leave:t.props.enter,"appear"===r&&(a=x(t.props.appear,e.key,n)&&t.props.enter||null);var o=x(a,e.key,n),i=t.onChange.bind(t,o,e.key,r),s={key:e.key,animation:o,onChange:i,resetStyle:t.props.resetStyle};return(t.keysToEnter.concat(t.keysToLeave).indexOf(e.key)>=0||!t.onEnterBool&&a)&&!t.saveTweenTag[e.key]&&(t.isTween[e.key]=r),t.getTweenChild(e,s)},this.getChildrenToRender=function(e){return e.map(function(e,n){if(!e||!e.key)return e;var r=e.key;return t.keysToLeave.indexOf(r)>=0?t.getCoverAnimation(e,n,"leave"):(t.keysToEnter.indexOf(r)>=0||t.isTween[r]&&-1===t.keysToLeave.indexOf(r))&&!("enter"===t.isTween[r]&&t.saveTweenTag[r])?t.getCoverAnimation(e,n,"enter"):t.onEnterBool?t.saveTweenTag[r]:t.getCoverAnimation(e,n,"appear")})},this.reAnimQueue=function(){if(!Object.keys(t.isTween).length&&t.animQueue.length){var e=t.changeChildren(t.animQueue[t.animQueue.length-1],t.state.children);t.setState({children:e}),t.animQueue=[]}}};tn.propTypes={component:p().any,componentProps:p().object,children:p().any,style:p().object,appear:p().bool,enter:p().any,leave:p().any,animatingClassName:p().array,onEnd:p().func,resetStyle:p().bool,exclusive:p().bool},tn.defaultProps={component:"div",componentProps:{},appear:!0,animatingClassName:["tween-one-entering","tween-one-leaving"],enter:{x:50,opacity:0,type:"from"},leave:{x:-50,opacity:0},onEnd:function(){},resetStyle:!0,exclusive:!1},tn.isTweenOneGroup=!0;var ta=g(tn);te.TweenOneGroup=ta,te.easing=D,te.plugins=j,te.ticker=q,te.Tween=R;var to=n(53046),ti=n(55171),ts=0,tl=function(t){function e(t){(0,o.default)(this,e);var n=(0,i.default)(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.setDefaultData=function(t){(0,ti.Zk)(t).forEach(function(t,e){var r,o=(Array.isArray(r=t.playScale)?2===r.length?r:[r[0]||0,r[1]||1]:r?[r,1]:[0,1]).map(function(t){return t*n.clientHeight}),i=(0,a.default)({},t);delete i.playScale;var s=(0,a.default)({},t);delete s.playScale,s.delay=o[0],i.delay=o[0],s.duration=o[1]-o[0],i.duration=o[1]-o[0],s.onStart=null,s.onUpdate=null,s.onComplete=null,s.onRepeat=null,i.onStart=i.onStart||ti.ZT,i.onComplete=i.onComplete||ti.ZT,i.onUpdate=i.onUpdate||ti.ZT,i.onStartBack=i.onStartBack||ti.ZT,i.onCompleteBack=i.onCompleteBack||ti.ZT,n.defaultTweenData[e]=s,n.defaultData[e]=i})},n.resizeEventListener=function(){n.defaultData[n.defaultData.length-1]&&n.defaultData[n.defaultData.length-1].onCompleteBool&&!n.props.always||(n.scrollTop=(0,ti.Xh)(),n.target=n.props.targetId&&document.getElementById(n.props.targetId),n.clientHeight=n.target?n.target.clientHeight:(0,ti.uK)(),n.setDefaultData(n.props.animation||{}),n.timeline&&n.timeline.resetDefaultStyle(),n.timeline=new R(n.dom,n.defaultTweenData),n.timeline.init(),n.scrollEventListener())},n.scrollEventListener=function(){var t=n.target?n.target.scrollTop:(0,ti.Xh)();n.clientHeight=n.target?n.target.clientHeight:(0,ti.uK)();var e=n.props.location?document.getElementById(n.props.location):n.dom;if(!e)throw Error('"location" is null');var r=n.target?n.target.getBoundingClientRect().top:0,a=e.getBoundingClientRect().top+t-r,o=t-a+n.clientHeight,i=n.scrollTop-a+n.clientHeight;n.defaultData.forEach(function(t,e){var r=n.defaultData.map(function(t,n){return n=t.delay+r?t.onStartBool||(t.onStartBool=!0,a=!0,t.onStart()):t.onStartBool=!1,o<=t.delay+t.duration+r?!t.onStartBackBool&&t.onCompleteBool&&(t.onStartBackBool=!0,a=!0,t.onStartBack()):t.onStartBackBool=!1,o>=t.delay+t.duration+r?t.onCompleteBool||(t.onCompleteBool=!0,a=!0,t.onComplete()):t.onCompleteBool=!1,o>=t.delay+r&&o<=t.delay+t.duration+r&&!a&&t.onUpdate(o/(t.delay+t.duration+r))}),q.clear(n.tickerId),n.tickerId="scrollParallax"+Date.now()+"-"+ts,++ts>=Number.MAX_VALUE&&(ts=0);var s=q.frame;q.wake(n.tickerId,function(){var t=(q.frame-s)*q.perFrame,e=h().easeOutQuad(t,.08,1,300);n.timeline.frame(i+e*(o-i)),t>=300&&q.clear(n.tickerId)}),n.scrollTop=t,n.defaultData[n.defaultData.length-1].onCompleteBool&&n.eventType&&!n.props.always&&to.Z.removeEventListener(n.eventType,n.scrollEventListener,n.target)},n.scrollTop=0,n.defaultTweenData=[],n.defaultData=[],n.state={$self:n},n}return(0,l.default)(e,t),(0,s.default)(e,null,[{key:"getDerivedStateFromProps",value:function(t,e){var n=e.prevProps,r=e.$self;return n&&t!==n&&!(0,ti.Xv)(n.animation,t.animation)&&(r.setDefaultData(t.animation||{}),r.timeline.resetAnimData(),r.timeline.setDefaultData(r.defaultTweenData)),{prevProps:t}}}]),(0,s.default)(e,[{key:"componentDidMount",value:function(){this.dom=c.findDOMNode(this);var t=Date.now(),e=to.Z._listeners.scroll?to.Z._listeners.scroll.length:0;this.eventType="scroll.scrollEvent"+t+e,this.eventResize="resize.resizeEvent"+t+e,this.resizeEventListener(),to.Z.addEventListener(this.eventResize,this.resizeEventListener,this.target),this.timeline.frame(0),this.scrollEventListener(),to.Z.addEventListener(this.eventType,this.scrollEventListener,this.target)}},{key:"componentWillUnmount",value:function(){to.Z.removeEventListener(this.eventType,this.scrollEventListener,this.target),to.Z.removeEventListener(this.eventResize,this.resizeEventListener,this.target)}},{key:"render",value:function(){var t=this.props,e=(t.animation,t.always,t.component,t.location,t.targetId,t.componentProps),n=(0,r.default)(t,["animation","always","component","location","targetId","componentProps"]),o=(0,a.default)({},n.style);return Object.keys(o).forEach(function(t){if(t.indexOf("filter")>=0||t.indexOf("Filter")>=0)for(var e=["Webkit","Moz","Ms","ms"],n=0;n-1;)(f=u[p]).n===s&&f.c===e?u.splice(p,1):0===c&&(c=p+1);var d=n||this._eventTarget;u.splice(c,0,{c:e,n:s,t:i}),!this._listFun[l]&&(this._listFun[l]=this._listFun[l]||this.dispatchEvent.bind(this,{type:i,target:n}),d.addEventListener?d.addEventListener(i,this._listFun[l],r):d.attachEvent&&d.attachEvent("on"+i,this._listFun[l]))},removeEventListener:function(t,e,n,r){var o=t.split("."),i=o[0],s=o[1],l=""+i+(n?"_"+n.getAttribute(a):""),u=this._listeners[l],c=void 0,f=r;if(s||(f=!0),u){c=u.length;for(var p=n||this._eventTarget;--c>-1;)if(u[c].c===e&&(f||u[c].n===s)){if(u.splice(c,1),!u.length){var d=this._listFun[l];delete this._listeners[l],delete this._listFun[l],p.removeEventListener?p.removeEventListener(i,d):p.detachEvent&&p.detachEvent("on"+i,d)}if(!f)return}}},dispatchEvent:function(t,e){var n=t.type,r=t.target,o=""+n+(r?"_"+r.getAttribute(a):""),i=this._listeners[o],s=void 0,l=void 0,u=void 0;if(i){for(s=i.length,l=this._eventTarget;--s>-1;)if(u=i[s]){var c=e||{type:n,target:l};u.c.call(l,c)}}},removeAllType:function(t,e){var n=this,o=t.split("."),i=o[0],s=o[1],l=""+i+(e?"_"+e.getAttribute(a):""),u=this._listeners[l];this.recoverLists=this.recoverLists.concat((0,r.dataToArray)(u).filter(function(t){return t.n&&t.n.match(s)})),this.recoverLists.forEach(function(t){n.removeEventListener(t.t+"."+t.n,t.c,e)})},reAllType:function(t,e){var n=this,r=t.split("."),a=r[0],o=r[1];this.recoverLists=this.recoverLists.map(function(t){return t.t===a&&t.n.match(o)?(n.addEventListener(t.t+"."+t.n,t.c,e),null):t}).filter(function(t){return t})}},e.default=new o("undefined"!=typeof document&&window),t.exports=e.default},4139:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=h(n(61707)),a=h(n(61200)),o=h(n(82864)),i=h(n(73006)),s=h(n(97559)),l=h(n(71212)),u=h(n(50959)),c=h(n(10422)),f=h(n(40507)),p=h(n(17074)),d=n(84510);function h(t){return t&&t.__esModule?t:{default:t}}var m=function(t){function e(t){(0,o.default)(this,e);var n=(0,i.default)(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.getParam=function(t){n.clientHeight=n.target?n.target.clientHeight:(0,d.windowHeight)();var e=n.target?n.target.scrollTop:(0,d.currentScrollTop)(),r=n.dom.getBoundingClientRect(),a=n.target?n.target.getBoundingClientRect().top:0,o=r.top+e-a;n.elementShowHeight=e-o+n.clientHeight;var i=(0,d.transformArguments)(n.props.playScale),s=/([\+\-]?[0-9#\.]+)(px|vh|%)?/.exec(String(i[0]));s[2]?"px"===s[2]?n.playHeight=parseFloat(s[1]):n.playHeight=n.clientHeight*parseFloat(s[1])/100:n.playHeight=n.clientHeight*parseFloat(i[0]);var l=r.height,u=/([\+\-]?[0-9#\.]+)(px|vh|%)?/.exec(String(i[1]));u[2]?"px"===u[2]?n.leavePlayHeight=parseFloat(u[1]):n.leavePlayHeight=l*parseFloat(u[1])/100:n.leavePlayHeight=l*parseFloat(i[1]);var c=n.props.replay?n.elementShowHeight>=n.playHeight&&n.elementShowHeight<=n.clientHeight+n.leavePlayHeight:n.elementShowHeight>=n.playHeight,f=c?"enter":"leave",p=n.enter!==c||"boolean"!=typeof n.enter?f:null;p&&n.props.onChange({mode:p,id:n.props.id}),n.props.onScroll({domEvent:t,scrollTop:e,showHeight:n.elementShowHeight,offsetTop:o,id:n.props.id}),n.enter=c},n.addScrollEvent=function(){p.default.addEventListener(n.eventType,n.scrollEventListener,n.target),(0,d.currentScrollTop)()||n.scrollEventListener()},n.scrollEventListener=function(t){n.getParam(t)},n.state={$self:n},n}return(0,l.default)(e,t),(0,s.default)(e,null,[{key:"getDerivedStateFromProps",value:function(t,e){var n=e.prevProps,r=e.$self;return n&&t!==n&&r.scrollEventListener(),{prevProps:t}}}]),(0,s.default)(e,[{key:"componentDidMount",value:function(){if(!d.windowIsUndefined){this.dom=c.default.findDOMNode(this);var t=Date.now();this.target=this.props.targetId&&document.getElementById(this.props.targetId);var e=p.default._listeners.scroll?p.default._listeners.scroll.length:0;this.eventType="scroll.scrollEvent"+t+e,this.addScrollEvent()}}},{key:"componentWillUnmount",value:function(){p.default.removeEventListener(this.eventType,this.scrollEventListener,this.target)}},{key:"render",value:function(){var t=this.props,e=t.component,n=(t.playScale,t.location,t.targetId,t.onScroll,t.onChange,t.replay,t.componentProps),o=(0,a.default)(t,["component","playScale","location","targetId","onScroll","onChange","replay","componentProps"]);return u.default.createElement(e,(0,r.default)({},o,n))}}]),e}(u.default.Component);m.propTypes={component:f.default.any,playScale:f.default.any,id:f.default.string,onChange:f.default.func,onScroll:f.default.func,location:f.default.string,targetId:f.default.string,replay:f.default.bool,componentProps:f.default.object},m.defaultProps={component:"div",onChange:d.noop,onScroll:d.noop,playScale:.5,replay:!1,componentProps:{}},m.isScrollElement=!0,e.default=m,t.exports=e.default},86030:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=m(n(61707)),a=m(n(61200)),o=m(n(82864)),i=m(n(73006)),s=m(n(97559)),l=m(n(71212)),u=n(50959),c=m(u),f=m(n(40507)),p=m(n(17074)),d=m(n(4139)),h=n(84510);function m(t){return t&&t.__esModule?t:{default:t}}var v=function(t){function e(t){(0,o.default)(this,e);var n=(0,i.default)(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.scrollEventListener=function(t){n.getParam(t);var e=n.state.show,r=n.props,a=r.always,o=r.replay,i=n.elementShowHeight>n.clientHeight+n.leavePlayHeight;if(n.enter||!o&&i)e||n.setState({show:!0}),!a&&n.eventType&&p.default.removeEventListener(n.eventType,n.scrollEventListener,n.target);else if(a){var s=n.elementShowHeightObject.keys(n).length?e:n,o=Object.keys(e).length>Object.keys(n).length?n:e;Object.keys(a).forEach(function(e){r&&(e in o||(r=!1),"object"===(0,c.Z)(a[e])&&"object"===(0,c.Z)(o[e])?r=t(a[e],o[e]):"function"==typeof a[e]&&"function"==typeof o[e]?a[e].toString().replace(/\s+/g,"")!==o[e].toString().replace(/\s+/g,"")&&(r=!1):a[e]!==o[e]&&(r=!1))})};return Array.isArray(e)&&Array.isArray(n)?e.forEach(function(t,e){a(t,n[e])}):a(e,n),r}(m,Z.current)){var t,e=((t=P.current)||0===t?Array.isArray(t)?t:[t]:[]).map(function(t){return t instanceof Element||!(t instanceof i.Component)?t:(0,s.findDOMNode)(t)}).filter(function(t,e){return t instanceof Element?t:(console.warn("Warning: TweenOne tag[".concat(e,"] is not dom.")),!1)});if(N.current&&A&&N.current.kill(),O&&N.current){var n=d?j:(0,a.Z)((0,a.Z)({},j),C.props.style),r=Object.keys(n).map(function(t){return"".concat((0,u.Rs)(t),":").concat((0,u.YJ)(t,n[t]))}).join(";");e.forEach(function(t){t.setAttribute("style",r),delete t._tweenOneVars})}N.current=m&&(0,l.ZP)(e,{animation:m,attr:v,yoyo:T,moment:S,repeat:b,reverse:g,paused:y,repeatDelay:w,onChange:k,onChangeTimeline:E}),Z.current=m}},[m]),(0,i.useEffect)(function(){return function(){N.current&&N.current.kill&&N.current.kill()}},[]);var R=function(t){P.current=t,e&&"current"in e?e.current=t:"function"==typeof e&&e(t)};if(!d&&C&&"string"!=typeof C&&"boolean"!=typeof C&&"number"!=typeof C){var I=C.props||{},U=I.style,X=I.className,V=void 0===X?"":X,B=(0,a.Z)((0,a.Z)({},U),j),H=D?"".concat(D," ").concat(V).trim():V;return i.cloneElement(C,{style:B,ref:R,className:(0,r.Z)(new Set(H.split(/\s+/))).join(" ").trim()||void 0})}return d?(0,i.createElement)(d,(0,a.Z)((0,a.Z)({ref:R},_),h)):(console.warn("Warning: component is null, children must be ReactElement."),C)});d.isTweenOne=!0,d.displayName="TweenOne";var h=d},85096:function(t,e,n){"use strict";n.d(e,{Z:function(){return m}});var r=n(26407),a=n(12309),o=n(76729),i=n(10582),s=n(50959);function l(t){var e=[];return s.Children.forEach(t,function(t){e.push(t)}),e}function u(t,e){var n=null;return t&&t.forEach(function(t){!n&&t&&t.key===e&&(n=t)}),n}function c(t,e,n){return"function"==typeof t?t({key:e,index:n}):t}var f=n(98933),p=n(62561),d=["component","componentProps","leave","enter","appear","resetStyle","animatingClassName","onEnd","exclusive"],h=s.forwardRef(function(t,e){var n=t.component,h=void 0===n?"div":n,m=t.componentProps,v=void 0===m?{}:m,y=t.leave,g=void 0===y?{x:-50,opacity:0}:y,b=t.enter,w=void 0===b?{x:50,opacity:0,type:"from"}:b,T=t.appear,S=void 0===T||T,k=t.resetStyle,E=void 0===k||k,O=t.animatingClassName,x=void 0===O?["tween-one-entering","tween-one-leaving"]:O,A=t.onEnd,_=void 0===A?function(){}:A,M=t.exclusive,C=void 0!==M&&M,D=(0,i.Z)(t,d),F=(0,s.useRef)([]),j=(0,s.useRef)([]),P=(0,s.useRef)({}),Z=(0,s.useRef)(!1),N=(0,s.useRef)([]),L=(0,s.useRef)({}),R=l(t&&t.children),I=(0,s.useRef)(R),U=(0,s.useState)(R),X=(0,o.Z)(U,2),V=X[0],B=X[1],H=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.key;return P.current[n]=s.createElement(p.Z,(0,a.Z)((0,a.Z)({},e),{},{key:n,component:null}),t),P.current[n]},Y=function(t,e){var n=t.replace(x[e?1:0],"").trim();return -1===n.indexOf(x[e?0:1])&&(n="".concat(n," ").concat(x[e?0:1]).trim()),n},z=function(t,e){var n,r,a,o,i=(n=[],r={},a=[],o=null,e.forEach(function(e){e&&(e.key&&u(t,e.key)?(a.length&&(r[e.key]=a,a=[]),o=e.key):e.key&&a.push(e))}),o||(n=n.concat(a)),t.forEach(function(t){t&&(t.key&&r.hasOwnProperty(t.key)&&(n=n.concat(r[t.key])),n.push(t),t.key===o&&(n=n.concat(a)))}),n);return F.current=[],j.current=[],t.forEach(function(t){if(t){var n=t.key,r=u(e,n);n&&P.current[n]&&(P.current[n]=s.cloneElement(P.current[n],{},t)),!r&&n&&F.current.push(n)}}),e.forEach(function(e){if(e){var n=e.key;!u(t,n)&&n&&(j.current.push(n),delete P.current[n])}}),i},W=function(){!Object.keys(L.current).length&&N.current.length&&(B(z(N.current[N.current.length-1],I.current)),N.current=[])},q=function(t,e,n){var a=n.targets,o="object"===(0,r.Z)(a.className)&&"baseVal"in a.className,i="enter"===e||"appear"===e;if(t&&"onTimelineComplete"===n.mode){if(delete L.current[t],o?a.className.baseVal=a.className.baseVal.replace(x[i?0:1],"").trim():a.className=a.className.replace(x[i?0:1],"").trim(),i)F.current.splice(F.current.indexOf(t),1),F.current.length||W();else if("leave"===e&&(j.current.splice(j.current.indexOf(t),1),I.current=I.current.filter(function(e){return t!==e.key}),!j.current.length)){var s=I.current.map(function(t){return t.key});Object.keys(P.current).forEach(function(t){-1===s.indexOf(t)&&delete P.current[t]}),B(I.current)}_({key:t,type:e,target:n.targets})}},G=function(t,e,n){var r="leave"===n?g:w;"appear"===n&&(r=c(S,t.key,e)&&w||null);var a=c(r,t.key,e),o="appear"!==n||S?Y(t.props.className||"","enter"===n||"appear"===n)||void 0:t.props.className,i={key:t.key,animation:a,onChangeTimeline:function(e){q(t.key,n,e)},resetStyle:E,className:o};return(t.key&&F.current.concat(j.current).indexOf(t.key)>=0||!Z.current&&r)&&t.key&&!P.current[t.key]&&(L.current[t.key]=n),H(t,i)};(0,f.L)(function(){if(Z.current){var e=l(t.children).filter(function(t){return t}),n=l(I.current);Object.keys(L.current).length&&!C?N.current.push(e):B(z(e,n))}},[t.children]),(0,f.L)(function(){W()}),(0,s.useEffect)(function(){Z.current=!0},[]),I.current=V;var Q=V.map(function(t,e){if(!t||!t.key)return t;var n=t.key;return j.current.indexOf(n)>=0?G(t,j.current.indexOf(n),"leave"):(F.current.indexOf(n)>=0||L.current[n]&&-1===j.current.indexOf(n))&&!("enter"===L.current[n]&&P.current[n])?G(t,F.current.indexOf(n),"enter"):Z.current?P.current[n]:G(t,e,"appear")});return f.Q?h?(0,s.createElement)(h,(0,a.Z)((0,a.Z)((0,a.Z)({},D),v),{},{ref:e}),t.children):s.createElement(s.Fragment,null,t.children):h?(0,s.createElement)(h,(0,a.Z)((0,a.Z)((0,a.Z)({},D),v),{},{ref:e}),Q):Q[0]?(0,s.cloneElement)(Q[0],{ref:e}):null});h.displayName="TweenOneGroup",h.isTweenOneGroup=!0;var m=h},2146:function(t,e,n){"use strict";var r=n(47405),a=n(57942),o=n(91968),i=n(62561);i.Z.plugins=r.Z,i.Z.ticker=a.Z,i.Z.easing=o.Z,e.ZP=i.Z},98933:function(t,e,n){"use strict";n.d(e,{L:function(){return o},Q:function(){return a}});var r=n(50959),a=!window.document||!window.document.createElement,o=a?r.useEffect:r.useLayoutEffect},91968:function(t,e,n){"use strict";var r=n(96839),a=n.n(r),o=n(1986);a().path=function(t,e){var n=e||{};if(o.Q6)return"linear";for(var r=(0,o.cP)(t),i=r.getTotalLength(),s=n.rect||100,l=n.lengthPixel||200,u=[],c=0;c=c})[0]||r.getPointAtLength(l*i)).y/s}},e.Z=a()},57942:function(t,e,n){"use strict";var r=n(9130),a=n(82349),o=n(19616),i=n.n(o),s=n(1986),l=new(function(){function t(){var e=this;(0,r.Z)(this,t),this.lagThreshold=150,this.adjustedLag=33,this.emptyTime=0,this.elapsed=0,this.frameFPS=1e3/240,this.startTime=0,this.prevTime=0,this.useTimeout=!1,this.lastUpdate=this.startTime,this.nextTime=this.frameFPS,this.req=void 0,this.id=-1,this.tweenId=0,this.tickFn=[],this.state="sleep",this.time=0,this.frame=0,this.removeReq=function(t){return e.useTimeout?clearTimeout(t):(0,o.cancel)(t)},this.tick=function(){var t=e.tickFn;e.startTime||(e.startTime=(0,s.hK)()-e.frameFPS,e.lastUpdate=e.startTime),e.elapsed=(0,s.hK)()-e.lastUpdate,e.elapsed>e.lagThreshold&&(e.startTime+=e.elapsed-e.adjustedLag),e.lastUpdate+=e.elapsed,e.time=e.lastUpdate-e.startTime;var n=e.time-e.nextTime;if(n>0){e.frame++,e.nextTime+=n+(n>=e.frameFPS?4:e.frameFPS-n);for(var r=e.time-e.prevTime,a=0;a=e.emptyTime)){e.emptyTime=0,e.sleep();return}e.req&&(e.id=e.req(e.tick))},this.wake=function(){e.id&&e.sleep(),e.req=e.useTimeout?function(t){return setTimeout(t,e.frameFPS)}:i(),e.tick(),e.state="wake"},this.sleep=function(){e.removeReq(e.id),e.id=-1,e.req=void 0,e.state="sleep"},this.add=function(t){var n="TweenOneTicker_".concat(e.tweenId);return e.tweenId+=1,-1===e.tickFn.findIndex(function(t){return t.key===n})&&e.tickFn.push({key:n,fn:t}),e.emptyTime=0,e.req||e.wake(),n},this.clear=function(t){e.tickFn=e.tickFn.filter(function(e){return e.key!==t&&e.fn!==t})},this.timeout=function(t,n){if("function"!=typeof t)return console.warn("not function");var r=e.time,a=e.add(function(){e.time-r>=(n||0)&&(e.clear(a),t())});return a},this.interval=function(t,n){if("function"!=typeof t)return console.warn("not function"),null;var r=e.time;return e.add(function(){e.time-r>=(n||0)&&(r=e.time,t())})}}return(0,a.Z)(t,[{key:"fps",value:function(t,e){this.frameFPS=1e3/(t||240),this.nextTime=this.time+this.frameFPS,this.useTimeout=void 0===e?this.useTimeout:e,this.useTimeout&&(this.req=function(e){return setTimeout(e,t)})}}]),t}());e.Z=l},9331:function(t,e,n){"use strict";n.d(e,{ZP:function(){return j}});var r=n(26407),a=n(4860),o=n.n(a),i=n(1017),s=n(9130),l=n(82349),u=n(47405),c=n(12309),f=n(9159),p=n(1986),d=(0,l.Z)(function t(e){var n=this;(0,s.Z)(this,t),this.props=void 0,this.computedStyle=void 0,this.root=void 0,this.index=void 0,this.targetIndex=void 0,this.tweenVars={},this.transformName=void 0,this.filterName=void 0,this.target=void 0,this.start={},this.startAt={},this.propsData={data:{},type:{},unit:{},count:{},splitStr:{},isTransform:{}},this.setDefaultData=function(){var t=n.props;for(var e in t){var r=t[e],a=r.split&&r.split(/\s+|,/).length>1||e.match(/color|fill|stroke/i)||e.match(/shadow/i);if(("background"===e||"backgroundImage"===e)&&r.match(/[a-z|-]+\(([\s\S]*?)\)/gi)){n.propsData.data[e]={value:r,plugin:u.Z.GradientsPlugin};continue}if(a){n.propsData.data[e]={value:r,plugin:u.Z.ArrayPlugin};continue}var o=(0,f.Lo)(e),i=n.getTweenData(o,t[e]);n.propsData.data[o]=i.data[o],n.propsData.type[o]=i.type[o],n.propsData.unit[o]=i.unit[o],n.propsData.count[o]=i.count[o],n.propsData.isTransform[o]="transform"===(0,f.dt)(o),i.splitStr[o]&&(n.propsData.splitStr[o]=i.splitStr[o])}},this.getTweenData=function(t,e){var n={data:{},isTransform:{},type:{},unit:{},count:{},splitStr:{}};n.data[t]=e;var r="string"==typeof n.data[t];n.unit[t]=r?n.data[t].replace(/[^a-z|%]/g,""):"",n.count[t]=r?n.data[t].replace(/[^+|=|-]/g,""):"";var a=r?parseFloat(n.data[t].replace(/[a-z|%|=]/g,"")):n.data[t];return n.data[t]=a||0===a?a:n.data[t],n},this.setStartAtValue=function(t,e){return"object"===(0,r.Z)(e)?(0,p.kp)(t,e):t},this.getAnimStart=function(){var t=n.target,e=n.root,a=n.targetIndex,o=n.propsData,i=n.startAt,s=n.start,l=n.tweenVars,u={};for(var d in i)u[(0,f.Lo)(d)]=i[d];for(var h in n.computedStyle=n.computedStyle||(0,p.Dx)(t),l.style=l.style||{},o.data){var m=o.data[h];if(m.plugin){var v=new m.plugin(m.value,h);v.target=t,v.root=e,v.parent=parent,v.index=n.index,v.targetIndex=a,v.tweenVars=l,v.startAt=n.startAt,v.computedStyle=n.computedStyle,m.plugin=v,s[h]=v.getAnimStart();continue}var y=(0,f.dt)(h),g="transform"===y?n.transformName:y;g="filter"===y?n.filterName:g;var b=l.style[g],w=null!=b?b:n.computedStyle[y],T=null!==(x=u[h])&&void 0!==x?x:w,S=o.unit[h],k="";if("transform"===y){var E,O,x,A,_,M=(E=E||(T===b?(0,c.Z)({},b):(0,f.Ck)(n.computedStyle[n.transformName])))[h];u&&h in u&&(M=n.setStartAtValue(null!==(A=null!==(_=u[h].vars)&&void 0!==_?_:null==b?void 0:b[h])&&void 0!==A?A:M,u[h]),k=u[h].unit,"scale"===h?(E.scaleX=M,E.scaleY=M):E[h]=M),k!==S&&(M=(0,p.o7)({target:t,computedStyle:n.computedStyle,style:y,value:M,startUnit:k,endUnit:S}),"scale"===h?(E.scaleX=M,E.scaleY=M):E[h]=M),s[n.transformName]=E}else if("filter"===y){var C,D,F=f._T.filterConvert[h]||h;(O=O||(T===b?(0,c.Z)({},b):(0,f.GX)(w)||{}))[F]=O[F]||p.eL[F];var j=O[F];u&&h in u&&(j=n.setStartAtValue(null!==(C=u[h].vars)&&void 0!==C?C:j,u[h]),k=u[h].unit,O[F]=j),S!==k&&(O[F]=(0,p.o7)({target:t,computedStyle:n.computedStyle,style:y,value:j,startUnit:k,endUnit:S,fixed:(null===(D=n.computedStyle)||void 0===D?void 0:D.position)==="fixed"})),s[n.filterName]=O}else{(T=null!==(P=u[h])&&void 0!==P?P:w)&&"none"!==T&&"auto"!==T||(T=""),S=o.unit[y],k="object"===(0,r.Z)(T)?T.unit:"".concat(T).replace(/[^a-z|%]/g,""),T=n.setStartAtValue(w,u[h]),S!==k&&(T=(0,p.o7)({target:t,computedStyle:n.computedStyle,style:y,value:parseFloat(T),startUnit:k,endUnit:S,fixed:(null===(Z=n.computedStyle)||void 0===Z?void 0:Z.position)==="fixed"}));var P,Z,N=parseFloat(T);s[y]=isNaN(N)?(0,p.AG)(y):N}}return s},this.render=function(t){var e=n.propsData,r=n.start,a=n.tweenVars.style||{};r[n.transformName]&&!a[n.transformName]&&(a[n.transformName]=(0,c.Z)({},r[n.transformName])),r[n.filterName]&&!a[n.filterName]&&(a[n.filterName]=(0,c.Z)({},r[n.filterName]));var o=a[n.transformName],i=a[n.filterName],s=e.data,l=e.unit,u=e.count,d=e.isTransform;for(var h in s){var m=s[h];if(m.plugin){a[h]=m.plugin.render(t);continue}var v=d[h],y=v?r[n.transformName][h]:r[h],g=l[h],b=u[h];if(v){if("scale"===h){var w=r[n.transformName].scaleX,T=r[n.transformName].scaleY;"="===b.charAt(1)?(o.scaleX=w+m*t,o.scaleY=T+m*t):(o.scaleX=(m-w)*t+w,o.scaleY=(m-T)*t+T)}else o[h]=(0,p.NA)(parseFloat(y),m,t,b,g);o.text=(0,p.q$)(a[n.transformName])}else if(f._T.filter.indexOf(h)>=0){var S=f._T.filterConvert[h]||h;for(var k in y=parseFloat(r[n.filterName][S])||0,i[S]=(0,p.NA)(y,m,t,b,g),i.text="",i)"text"!==k&&(i.text="".concat(i.text," ").concat(k,"(").concat(i[k],")").trim())}else{var E=(0,f.YJ)(h,0);E="number"==typeof E?0:E.replace(/[^a-z|%]/g,""),g=g||E,"string"==typeof m?a[h]=m:a[h]=(0,p.NA)(y,m,t,b,g)}}return a},this.props=e,this.transformName=(0,f.Yf)("transform"),this.filterName=(0,f.Yf)("filter")||"filter",this.setDefaultData()});d.key="style",d.className="style";var h=n(1874),m=n(23248),v=n(53264),y=n(53475),g=(0,l.Z)(function t(e,n){(0,s.Z)(this,t),this.value=void 0,this.key=void 0,this.root=void 0,this.index=void 0,this.style={},this.start={},this.startAt={},this.target=void 0,this.value=e,this.key=n});g.className=void 0,g.key=void 0;var b=function(t){(0,v.Z)(n,t);var e=(0,y.Z)(n);function n(t,r){(0,s.Z)(this,n),(a=e.call(this,t,r)).value=void 0,a.key=void 0,a.start=[],a.tweenVars={},a.vars={},a.computedStyle=void 0,a.propsData={data:[],unit:[],count:[]},a.setDefaultData=function(t,e){var n,r=(0,m.Z)(a),o=r.propsData,i=r.value,s=(0,h.Z)(i);"color"===t&&(s[3]=null!==(n=s[3])&&void 0!==n?n:1),o.type=t,o.data=s.map(function(t){return parseFloat(t)||0===parseFloat(t)?parseFloat(t):t}),o.unit=s.map(function(t){return t.toString().replace(/[^a-z|%]/g,"")}),o.count=s.map(function(t){return t.toString().replace(/[^+|=|-]/g,"")}),e&&(o.splitStr=e)},a.convertToMarksArray=function(t,e,n,r){var o=(n||"").toString().replace(/[^a-z|%]/g,""),i="number"==typeof r?t[r]:void 0;return o===i?parseFloat(n):parseFloat(n)||0===parseFloat(n)?(0,p.o7)({target:a.target,computedStyle:a.computedStyle,style:e,value:n,startUnit:o,endUnit:i,isOriginWidth:"transformOrigin"===e&&!r}):n},a.getAnimStart=function(){var t,e,n,r,o,i,s,l,u,c=(0,m.Z)(a),d=c.startAt,h=c.target,v=c.key,y=c.propsData,g=c.computedStyle,b=c.tweenVars,w=null!==(t=null!==(e=null!==(n=null==d?void 0:d[v])&&void 0!==n?n:g?null===(r=b.style)||void 0===r?void 0:r[v]:b[v])&&void 0!==e?e:(g||h)[v])&&void 0!==t?t:"",T=y.data.indexOf("inset");-1===T||w.match("inset")||"shadow"!==y.type||(o=w,w=""),w&&"none"!==w&&"auto"!==w||(w=""),w="shadow"===y.type?(0,f.hy)(w,v):w,w="color"===y.type?(0,f.lu)(w):w,w="string"===y.type?w.split(/[\s|,]/):w,p.Fi[v]&&(w[1]=null!==(i=w[1])&&void 0!==i?i:w[0],w[2]=null!==(s=w[2])&&void 0!==s?s:w[0],w[3]=null!==(l=null!==(u=w[3])&&void 0!==u?u:w[1])&&void 0!==l?l:w[0]);var S=y.unit,k=w.map(function(t,e){return"NaN"===parseFloat(t).toString()?t:a.convertToMarksArray(S,v,t,e)});return a.start=k.concat(T>=0?"inset":[]),a.start.oldShadow=o,a.start},a.render=function(t){var e=(0,m.Z)(a),n=e.start,r=e.propsData,o=r.type,i=r.splitStr,s=r.data,l=r.count,u=r.unit,c=s.map(function(e,r){return"string"==typeof e?e:(0,p.NA)(n[r],e,t,l[r],u[r])});switch(o){case"string":c=c.join(i);break;case"color":c=(0,f.Lq)(c);break;case"shadow":var d=c.indexOf("inset")>=0,h=d?c.filter(function(t){return"inset"!==t}):c,v=h.slice(0,h.length-4).map(function(t){return"number"==typeof t?"".concat(t,"px"):t}),y=(0,f.Lq)(h.slice(h.length-4,h.length));c="".concat(n.oldShadow?"".concat(n.oldShadow,","):"").concat(v.join(" ")," ").concat(y," ").concat(d?"inset":"").trim()}return c},a.value=t,a.key=r;var a,o="",i="";return"string"==typeof t&&(r.match(p.gU)?(a.value=(0,f.hy)(t,r),o="shadow"):r.match(/color|fill|stroke/i)||t.match(p.rV)?(a.value=(0,f.lu)(t),o="color"):(i=t.replace(/[^\s|,]/g,"").replace(/\s+/g," "),a.value=t.split(/[\s|,]/),o="string")),a.setDefaultData(o,i),a}return(0,l.Z)(n)}(g);b.className="ArrayPlugin";var w={linear:{"to top":"0deg","to top right":"45deg","to right top":"45deg","to right":"90deg","to right bottom":"135deg","to bottom right":"135deg","to bottom":"180deg","to bottom left":"225deg","to left bottom":"225deg","to left":"270deg","to left top":"315deg","to top left":"315deg"},radial:{center:"50% 50%",top:"50% 0%","top right":"100% 0%","right top":"100% 0%",right:"100% 50%","right bottom":"100% 100%","bottom right":"100% 100%",bottom:"50% 100%","bottom left":"0% 100%","left bottom":"0% 100%",left:"0% 50%","left top":"0% 0%","top left":"0% 0%"}},T=["closest-side","closest-corner","farthest-side","farthest-corner"],S=function(t,e,n){console.warn("Warning: The gradient ".concat(t,"(").concat(e," => ").concat(n,") is different, which has been automatically converted to animation gradient ").concat(t,"(").concat(n,")."))},k=function(t){return"url"===t||t.indexOf("image")>=0||"paint"===t||"cross-fade"===t||"element"===t},E=function(t){(0,v.Z)(n,t);var e=(0,y.Z)(n);function n(t){var r;return(0,s.Z)(this,n),(r=e.call(this,t,"backgroundImage")).value=void 0,r.tweenVars={},r.vars=[],r.computedStyle=void 0,r.defaultStartVars=[],r.getPosition=function(t){return t.map(function(t){return{data:parseFloat(t),unit:t.replace(/[^a-z|%]/g,"")}})},r.getAngle=function(t,e){var n,a,o,i;switch(t.replace(/-|gradient|repeating]/g,"")){case"linear":o=r.getPosition((w.linear[e]||e||w.linear["to bottom"]).split(" "));break;case"radial":var s=e.split(" ");n=s.find(function(t){return T.indexOf(t)>=0})||T[3],a=s.find(function(t){return"circle"===t||"ellipse"===t})||"ellipse";var l=RegExp("".concat(n,"|").concat(a,"|at"),"g"),u=e.replace(l,"").trim();i=r.getPosition((w.radial[u]||u||w.radial.center).split(" "));break;case"conic":var c=e.split("at").map(function(t){return t.trim()}),f=(c[0]||"").split(" ");a=f[0]||"from",o=r.getPosition([f[1]||"0deg"]),i=r.getPosition((w.radial[c[1]]||c[1]||w.radial.center).split(" "))}return{extent:n,shape:a,angle:o,position:i}},r.valueToIValue=function(t){return t?t.replace(/\),\s+?(url|radial|conic|linear|repeating|image|element|cross|paint)/,")#,#$1").split("#,#").map(function(t){var e=t.replace(/([a-z|-]+)\((.*)\)/,"$1").trim();if("url"===e)return{type:e,values:t};var n=t.replace(/([a-z|-]+)\((.*)\)/,"$2").replace(/#([0-9a-f]{6}|[0-9a-f]{3})|(rgb[a]?|hsl)+\(\d+\,[\s+]?\d+[\%]?\,[\s+]?\d+[\%]?(\,\d+)?\)/gi,function(t){return t.replace(/\s+/g,"")}).replace(/\,([a-z|#|\s+])/g,"#,#$1").split("#,#").map(function(t){return t.trim()}),a=n[0].match(p.rV)?"":n[0];a&&n.splice(0,1);var o=r.getAngle(e,a);return{type:e,angle:o,values:n.map(function(t){var e,n=t.trim().split(/\s+/),r=(n[0].match(p.rV),n[0]);return r&&(n.splice(0,1),e=(0,f.lu)(r)),{color:e,positions:n.map(function(t){return{data:parseFloat(t),unit:t.toString().replace(/[^a-z|%]/g,"")}})}})}}):[]},r.getAnimStart=function(){var t,e=(0,m.Z)(r),n=e.startAt,a=e.key,o=e.computedStyle,i=e.target,s=e.vars,l=e.tweenVars,u=(0,c.Z)({},n),f=null!==(t=l[a])&&void 0!==t?t:(o||i)[a];f&&"none"!==f&&"auto"!==f||(f=""),u[a]=u[a]||f,u[a]=u[a]?r.valueToIValue(u[a]):r.defaultStartVars;var p=(Math.max(s.length,u[a].length)===u[a].length?u[a]:s).map(function(t,e){var n,o,i,l,f=u[a][e]||r.defaultStartVars[e],p=s[e]||f;if(f&&f.type===p.type||(f.type!==p.type&&S("type",f.type,p.type),f=r.defaultStartVars[e]),k(p.type)||"string"==typeof p.values||"string"==typeof f.values)return(0,c.Z)({},p);(null===(n=p.angle)||void 0===n?void 0:n.extent)!==(null===(o=f.angle)||void 0===o?void 0:o.extent)&&S("extent keyword",null===(i=f.angle)||void 0===i?void 0:i.extent,null===(l=p.angle)||void 0===l?void 0:l.extent);var d=Math.max(f.values.length,p.values.length)===f.values.length?f.values:p.values;return f.values=d.map(function(t,e){var n=f.values[e],r=p.values[e]||n;return(0,c.Z)((0,c.Z)({},n),{},{positions:(r||n).positions.map(function(t,a){var o=n?n.positions[a]||n.positions[n.positions.length-1]:r.positions[r.positions.length-1],i=t||o;return!o&&n&&f.values.length&&(o={data:100/(f.values.length-1)*e,unit:"%"}),i.unit!==o.unit&&S("units",o.unit,i.unit),{data:o.data,unit:i.unit}})})}),f});return r.start=p,r.start},r.render=function(t){var e="";return(Math.max(r.vars.length,r.start.length)===r.vars.length?r.vars:r.start).forEach(function(n,a){var o=r.start[a],i=r.vars[a]||o;if(k(i.type)||"string"==typeof i.values||!i.angle){e+="".concat(e?",":""," ").concat(i.values).trim();return}var s=(Math.max(o.values.length,i.values.length)===o.values.length?o.values:i.values).map(function(e,n){var r=o.values[n],a=i.values[n];a||(a=r);var s=r.color,l=r.positions;!s&&a.color&&(s=(0,h.Z)(a.color)),l||(l=a.positions.map(function(t){return(0,c.Z)({},t)}));var u=a.color?a.color.map(function(e,n){return(0,p.NA)(s[n],e,t)}):a.color,d=a.positions.map(function(e,n){return"".concat((0,p.NA)(l[n].data,e.data,t)).concat(e.unit)}).join(" ");return"".concat(u?(0,f.Lq)(u):u||""," ").concat(d).trim()}),l=i.angle,u=l.angle&&l.angle.map(function(e,n){return"".concat((0,p.NA)(o.angle.angle[n].data,e.data,t)).concat(e.unit)}).join(" "),d=l.position&&l.position.map(function(e,n){return"".concat((0,p.NA)(o.angle.position[n].data,e.data,t)).concat(e.unit)}).join(" "),m="".concat(l.extent||""," ").concat(l.shape||""," ").concat(u||""," ").concat(d?"at ".concat(d):"").trim();e+="".concat(e?",":""," ").concat(i.type,"(").concat(m?"".concat(m,","):"").concat(s.join(","),")").trim()}),e},r.value=t,r.vars=r.valueToIValue(t),r.defaultStartVars=r.vars.map(function(t){return k(t.type)||"string"==typeof t.values?(0,c.Z)({},t):(0,c.Z)((0,c.Z)({},t),{},{values:t.values.map(function(t){var e;return t.color&&"string"!=typeof t.color?(e=(0,h.Z)(t.color))[3]=0:e=t.color,{color:e,positions:(0,h.Z)(t.positions)}})})}),r}return(0,l.Z)(n)}(g);E.className="GradientsPlugin";var O=n(57942),x=function(){function t(){var e=this;(0,s.Z)(this,t),this.children=[],this.autoSleep=200,this.tickerKey=void 0,this.startTime=void 0,this.addChild=function(t){-1===e.children.indexOf(t)?(e.children.push(t),e.updateTickerState()):e.start()},this.removeChild=function(t){e.children=e.children.filter(function(e){return e!==t}),e.updateTickerState()},this.kill=function(t){e.children=e.children.filter(function(e){var n=e.root.targets.map(function(e,n){if(-1===t.indexOf(e))return e;delete e._tweenOneVars});e.root.targets=n;var r=!!n.filter(function(t){return t}).length;return r||e.kill(),r}),e.updateTickerState()},this.killAll=function(t){t&&(e.children.forEach(function(t){null==t||t.root.targets.forEach(function(t){t&&delete t._tweenOneVars})}),e.children=[]),O.Z.clear(e.tickerKey),e.tickerKey=void 0},this.getTotalTime=function(){for(var t=0,n=0;n0)})?e.start():e.killAll(!e.children.length)},this.start=function(){e.tickerKey||(e.tickerKey=O.Z.add(e.render))},this.render=function(t){for(var n=t.time,r=t.elapsed,a=void 0===r?0:r,o=e.children,i=o.length,s=0;su&&n1)&&!(t in u.Z);return t in u.Z||r?n?e:{value:e,plugins:[],array:r}:{vars:parseFloat(e.toString().replace(/=/g,"")),unit:e.toString().replace(/[^a-z|%]/g,""),count:"="===e.toString().charAt(1)?e.toString().replace(/[^\+\=|\-\=]/gi,""):""}},this.setEase=function(t){if("function"==typeof t){e.easing=t;return}if(t.match(/,/g)){e.easing=A.Z.path(t);return}e.easing=A.Z[t]},this.getTotalTime=function(){var t=e.props,n=t.duration,r=t.delay,a=t.repeat,o=void 0===a?0:a,i=t.repeatDelay;return -1===o?Number.MAX_VALUE:(void 0===r?0:r)+(void 0===n?450:n)*(o+1)+(void 0===i?0:i)*o},this.getEaseToRatio=function(t,n){var r=e.props.ease,a=void 0===r?"":r;return 0!==t&&1!==t||"function"==typeof a||a.match(/,/g)?e.easing(n?1-t:t,n?1:0,n?0:1,1):t},this.setRatioToVars=function(t){for(var n=e.vars,r=e.root,a=0;ar?r:n},this.render=function(t){var n=t.moment,r=t.fps,a=void 0===r?0:r,o=t.silence,i=t.render,s=e.parent,l=e.root,u=e.props,c=(0,p.Bn)(l.targets),f=s.onChange,d=u.repeat,h=void 0===d?0:d,m=u.type,v=u.duration,y=void 0===v?450:v,g=u.delay,b=void 0===g?0:g,w=u.repeatDelay,T=void 0===w?0:w,S=u.yoyo,k=n-b,E=Math.floor(k/(y+T))||0;k-=(y+T)*(E=(E=E>(h=-1===h?Number.MAX_VALUE:h)?h:E)<0?0:E);var O=!!(S&&E%2),x="from"===(void 0===m?"to":m),A=(!O||!x)&&(O||x);k=A?y-k:k;var _=x?0:b,M=A?1:0;if(!e.register&&n>=_&&(e.onRegisterAnimate(),(A&&k<=0||!A&&k>=y&&y)&&(e.prevMoment=n,M=A?0:1),e.setRatioToVars(M),f({index:e.index,vars:l.vars})),e.register&&n>b-a&&n=e.totalTime&&"onComplete"!==e.mode&&void 0!==e.prevMoment||void 0===e.prevMoment&&n>=e.totalTime&&y?(M=A?0:1,e.mode="onComplete",e.props.onComplete&&e.props.onComplete({mode:e.mode,index:e.index,moment:k,ratio:M,targets:c,vars:(0,p.Bn)(l.vars)})):void 0===e.prevMoment||n<=0&&n>-a&&"onStart"!==e.mode&&e.prevMoment>n?(e.mode="onStart",e.props.onStart&&e.props.onStart({mode:e.mode,index:e.index,moment:k,ratio:M,targets:c,vars:(0,p.Bn)(l.vars)})):(M=k&&y?k/y:0,e.mode="onUpdate",e.props.onUpdate&&e.props.onUpdate({mode:e.mode,index:e.index,moment:k,ratio:M,targets:c,vars:(0,p.Bn)(l.vars)})),h&&E!==e.repeatNum&&n&&"onUpdate"===e.mode&&(e.mode="onRepeat",e.props.onRepeat&&e.props.onRepeat({mode:e.mode,index:e.index,moment:k,ratio:M,targets:c,vars:(0,p.Bn)(e.root.vars)})),e.setRatioToVars(e.getEaseToRatio(M,x)),h&&(e.repeatNum=E);var C={mode:e.mode,moment:k,repeat:E,ratio:M,targets:l.targets,vars:l.vars,index:e.index};o&&(C.silence=o),i&&(C.render=i),f(C),e.prevMoment=n}},this.item=t,this.startAt=(0,c.Z)({},t.startAt),Object.keys(this.startAt).forEach(function(t){e.startAt[t]=e.changeValueToVars(t,e.startAt[t],!0)});var n={};for(var a in t){var o=t[a];a in p.$e?n[a]=o:this.vars[a]=this.changeValueToVars(a,o)}this.props=(0,c.Z)((0,c.Z)({},p.$e),n),this.setEase(this.props.ease)}return(0,l.Z)(Element,[{key:"totalTime",get:function(){return this.getTotalTime()}}]),Element}(),_=(0,l.Z)(function t(e){var n=this;(0,s.Z)(this,t),this.props=void 0,this.id=void 0,this.children=[],this.totalTime=0,this.totalTimeRegion=0,this.childTotalTime=0,this.childRegionTotalTime=0,this.prevMoment=void 0,this.progressTime=0,this.progressMoment=-1,this.startMoment=0,this.startTime=0,this.repeatNum=0,this.mode="onTimelineStart",this.pausedState=void 0,this.reverseState=void 0,this.root=void 0,this.parent=void 0,this.regionStartTime=0,this.regionEndTime=void 0,this.onChangeChild=void 0,this.onChangeTimeline=void 0,this.init=function(){for(var t=n.props,e=t.reverse,r=t.animation,a=t.moment,o=(0,p.Zk)(r),i=0;in.childTotalTime&&(n.childTotalTime=r,n.childRegionTotalTime=r)}else n.childTotalTime+=e.totalTime,n.childRegionTotalTime+=e.totalTime}n.regionStartTime&&(n.childRegionTotalTime-=n.regionStartTime),n.regionEndTime&&(n.childRegionTotalTime=n.regionEndTime-n.regionStartTime);var a=n.props,o=a.repeat,i=void 0===o?0:o,s=a.repeatDelay,l=void 0===s?0:s,u=a.delay;n.totalTime=-1===i?Number.MAX_VALUE:u+n.childTotalTime*(i+1)+l*i,n.totalTimeRegion=-1===i?Number.MAX_VALUE:u+n.childRegionTotalTime*(i+1)+l*i},this.setStartTimeOrMoment=function(t){n.startTime=O.Z.time,n.startMoment=t||n.progressMoment},this.reRenderCall=function(){n.render({time:n.startTime,elapsed:O.Z.elapsed||O.Z.frameFPS})},this.play=function(t){var e,r;t?null===(r=n.parent)||void 0===r||r.updateTickerState():null===(e=n.parent)||void 0===e||e.addChild(n)},this.paused=function(){var t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];n.pausedState=t,n.setStartTimeOrMoment(),n.play(t)},this.reverse=function(t){n.reverseState=t,n.setStartTimeOrMoment(),n.play(n.pausedState)},this.goto=function(t,e){var r=t-n.regionStartTime;n.startTime=O.Z.time,n.startMoment=r>n.totalTime?n.totalTime:r,n.progressMoment=n.startMoment,n.progressTime=r,n.play(n.pausedState),n.reRenderCall(),!!e!==n.pausedState&&n.paused(e)},this.kill=function(t){if("number"==typeof t)n.paused(),delete n.children[t],n.setTotalTime(),n.paused(!1);else{var e;n.children=[],null===(e=n.parent)||void 0===e||e.removeChild(n)}},this.onChange=function(t){t.timelineMoment=n.progressMoment,n.onChangeChild(t)},this.render=function(t){var e=t.time,r=t.elapsed||O.Z.frameFPS||0,a=n.totalTime,o=n.totalTimeRegion,i=n.childTotalTime,s=n.childRegionTotalTime,l=n.children,u=n.props,c=n.startTime,f=n.reverseState,p=n.pausedState,d=n.startMoment,h=n.onChangeTimeline,m=n.parent,v=n.root,y=n.prevMoment,g=n.regionStartTime,b=u.repeatDelay,w=void 0===b?0:b,T=u.yoyo,S=u.delay,k=u.repeat,E=void 0===k?0:k;E=-1===E?Number.MAX_VALUE:E;var x=e-c-S,A=f?d-x:x+d;if(!(A<-r)){var _=A<0?0:A;_=_>a?a:_,_=do?d:_;var M=E?Math.floor(_/(s+w)):0,C=_-(s+w)*(M=E&&M>E?E:M),D=!!(T&&M%2);C=g+(C=D?s-C:C);var F=f?!D:D;if(n.mode="onTimelineUpdate","number"!=typeof y&&(n.mode="onTimelineStart"),_>=o-S&&"number"==typeof y&&(n.mode="onTimelineComplete"),M!==n.repeatNum&&(n.mode="onTimelineRepeat",_>i*M&&_=0;F?j++:j--){var P=l[j];F||(P.prevMoment=void 0),P.render({moment:F?P.totalTime:0,fps:r})}h({moment:_,totalTime:a,repeat:M,mode:n.mode,targets:v.targets}),n.mode="onTimelineUpdate"}E&&(n.repeatNum=M),n.progressMoment=_,n.prevMoment=_,n.progressTime=x;for(var Z=0;Z=N.appearTo-r&&CL+r&&!D&&N.totalTime||void 0===N.mode&&!N.totalTime)&&(N.render({moment:N.totalTime,fps:r}),N.prevMoment=void 0),CL&&"onComplete"===N.mode&&!D)return;I=C>L?L:C,N.render({moment:I-N.appearTo,fps:r}),L||(N.render({moment:N.totalTime,fps:r,render:!0}),N.prevMoment=void 0)}}h({moment:_,totalTime:a,repeat:M,mode:n.mode,targets:v.targets}),(p||o&&A+S>=o&&!f||f&&A+S<=0||!l.length)&&(null==m||m.removeChild(n))}},this.props=e;var r=this.props,a=r.paused,o=r.reverse;this.reverseState=o,this.pausedState=a,this.regionStartTime=e.regionStartTime||0,this.regionEndTime=e.regionEndTime});u.Z.push(b),u.Z.push(E),u.Z.push(d);var M=0,C=new x,D=function(){function t(e,n){var a,l=this;(0,s.Z)(this,t),this.targets=void 0,this.props=void 0,this.timeline=void 0,this.animate=void 0,this.$reverse=!1,this.vars=[],this.initTime=void 0,this.attr=void 0,this.init=(a=(0,i.Z)(o().mark(function t(e){var n;return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n=(0,p.Sx)(e),l.targets[0].tagName&&!l.attr&&(n.animation=(0,p.Zk)(n.animation).map(function(t){var e={style:{}};for(var n in t)n in u.Z||n in p.$e?e[n]=t[n]:e.style[n]=t[n];return Object.keys(e.style).length||delete e.style,t.duration&&(t.duration=Math.round(t.duration)),t.delay&&(t.delay=Math.round(t.delay)),t.appearTo&&(t.appearTo=Math.round(t.appearTo)),t.repeatDelay&&(t.repeatDelay=Math.round(t.repeatDelay)),e})),l.animate=new _(n),l.animate.id="TweenOne_".concat(M),M++,l.animate.startTime=l.initTime,l.animate.onChangeChild=l.onChange,l.animate.onChangeTimeline=l.onChangeTimeline,l.animate.root=l,l.animate.parent=l.timeline,l.animate.init();case 11:case"end":return t.stop()}},t)})),function(t){return a.apply(this,arguments)}),this.renderToDom=function(){for(var t=0;t3&&void 0!==arguments[3]?arguments[3]:"",a=arguments.length>4?arguments[4]:void 0;return"+="===r||"-="===r?t+e*n+(a||0):(e-t)*n+t+(a||0)},g=function(t){return t&&document.defaultView?document.defaultView.getComputedStyle(t):{}},b={margin:1,padding:1,borderWidth:1,borderRadius:1};function w(t){var e,n,r,a=t.target,o=t.computedStyle,s=t.style,l=t.value,u=t.startUnit,c=t.endUnit,f=t.fixed,p=t.isOriginWidth,d=t.useCurrentTarget;if(i)return l;var h=/(?:Left|Right|Width|X)/i.test(s)||p;h="padding"===s||"marign"===s||h;var m=-1!==s.indexOf("border")||-1!==s.indexOf("translate")||"transformOrigin"===s||d?a:a.parentNode||document.body;switch(m=f?document.body:m,u){case"%":e=parseFloat(l)/100*(h?m.clientWidth:m.clientHeight);break;case"vw":e=parseFloat(l)*document.body.clientWidth/100;break;case"vh":e=parseFloat(l)*document.body.clientHeight/100;break;case"em":o?e=parseFloat(l)*parseFloat(o.fontSize):(r="em",e=parseFloat(l));break;case"rem":o?(n=window.getComputedStyle(document.getElementsByTagName("html")[0]),e=parseFloat(l)*parseFloat(n.fontSize)):(r="rem",e=parseFloat(l));break;default:e=parseFloat(l)}switch(c){case"%":e=e?100*e/(h?m.clientWidth:m.clientHeight):0;break;case"vw":e=parseFloat(l)/document.body.clientWidth*100;break;case"vh":e=parseFloat(l)/document.body.clientHeight*100;break;case"em":o?e=parseFloat(l)/parseFloat(o.fontSize):(r="em",e=parseFloat(l));break;case"rem":o?(n=n||window.getComputedStyle(document.getElementsByTagName("html")[0]),e=parseFloat(l)/parseFloat(n.fontSize)):(r="rem",e=parseFloat(l))}return r&&console.warn("Warning: Element is not 'DOM, can not use '".concat(r,"', automatically convert to animation units.")),e}function T(t){if("string"==typeof t)return t;var e=t.perspective,n=t.rotate,r=t.rotateX,a=t.rotateY,o=t.scaleX,i=t.scaleY,s=t.scaleZ,l=t.skewX,u=t.skewY,c="string"==typeof t.translateX?t.translateX:"".concat(t.translateX,"px"),f="string"==typeof t.translateY?t.translateY:"".concat(t.translateY,"px"),p="string"==typeof t.translateZ?t.translateZ:"".concat(t.translateZ,"px"),d=l||u?"skew(".concat(l,"deg,").concat(u,"deg)"):"",h=n?"rotate(".concat(n,"deg)"):"",m=1!==o||1!==i||1!==s?"scale3d(".concat(o,",").concat(i,",").concat(s,")"):"",v=r?"rotateX(".concat(r,"deg)"):"",y=a?"rotateY(".concat(a,"deg)"):"",g=t.translateZ?"translate3d(".concat(c,",").concat(f,",").concat(p,")"):(t.translateX||t.translateY)&&"translate(".concat(c,",").concat(f,")")||(m||h||v||y||d?"":"translate(0px, 0px)");return"".concat(e?"perspective(".concat(e,"px)"):""," ").concat(g," ").concat(m," ").concat(h," ").concat(v," ").concat(y," ").concat(d).trim()}var S={brightness:1,saturate:1,contrast:1,grayScale:0,hueRotate:"0deg",sepia:0,invert:0}},11375:function(t,e,n){var r=n(9435);(function(){var e,n,a,o;"undefined"!=typeof performance&&null!==performance&&performance.now?t.exports=function(){return performance.now()}:null!=r&&r.hrtime?(t.exports=function(){return(e()-o)/1e6},n=r.hrtime,o=(e=function(){var t;return 1e9*(t=n())[0]+t[1]})()-1e9*r.uptime()):Date.now?(t.exports=function(){return Date.now()-a},a=Date.now()):(t.exports=function(){return new Date().getTime()-a},a=new Date().getTime())}).call(this)},19616:function(t,e,n){for(var r=n(11375),a="undefined"==typeof window?n.g:window,o=["moz","webkit"],i="AnimationFrame",s=a["request"+i],l=a["cancel"+i]||a["cancelRequest"+i],u=0;!s&&u2||Array.isArray(F[0]))&&(i=i.map(function(t){return 100*t}),i="M0,100C".concat(i[0],",").concat(100-i[1],",").concat(i[2],",").concat(100-i[3],",100,0")),{startAnim:o,animate:a,ease:i,duration:s}},td=function(t,e){var n=e.targets;n.className=n.className.replace(R[1],""),-1===n.className.indexOf(R[0])&&(n.className="".concat(n.className," ").concat(R[0]).trim()),Y.current.indexOf(t)>=0&&Y.current.splice(Y.current.indexOf(t),1),H.current[t]=!0},th=function(t,e){if(!(W.current.indexOf(t)>=0)){var n=e.targets;n.className=n.className.replace(R[0],"").trim(),delete K.current[t],U({key:t,type:"enter",target:n})}},tm=function(t,e){var n=e.targets;n.className=n.className.replace(R[0],""),-1===n.className.indexOf(R[1])&&(n.className="".concat(n.className," ").concat(R[1]).trim())},tv=function(e,n){if(p(t.children).findIndex(function(t){return t&&t.key===e}),!(p(t.children).findIndex(function(t){return t&&t.key===e})>=0)){delete H.current[e],delete K.current[e],tt.current=tt.current.filter(function(t){return t.key!==e}),W.current.indexOf(e)>=0&&W.current.splice(W.current.indexOf(e),1),W.current.some(function(t){return ts[t]})||(ta(p(t.children)),tl((0,a.Z)({},H.current)),q.current.forEach(function(t){delete $.current[t]}));var r=n.targets;r.className=r.className.replace(R[1],"").trim(),U({key:e,type:"leave",target:r})}},ty=function(t){ts[t]=!0,u.Z.clear(G.current[t]),delete G.current[t],tl((0,a.Z)({},ts))},tg=function(t,e){var n=h(S,t,e)[0],r=h(x,t,e)[0];G.current[t]=u.Z.timeout(function(){ty(t)},n*e+r)},tb=function(t){u.Z.clear(G.current[t]),delete G.current[t]},tw=function(t,e,n,r){var o=tp(t,e,r),i=function(e){("enter"===r?td:tm)(t,e)},s=function(e){("enter"===r?th:tv)(t,e)};if(Array.isArray(o.animate)){var l=o.animate.length-1;return o.animate.map(function(t,e){return(0,a.Z)((0,a.Z)({},t),{},{startAt:o.startAnim?o.startAnim[e]:void 0,duration:o.duration/l,delay:e||"leave"!==r?0:n,onStart:e?void 0:i,onComplete:e===l?s:void 0})})}return(0,a.Z)((0,a.Z)({},o.animate),{},{startAt:o.startAnim||void 0,ease:o.ease,duration:o.duration,onStart:i,onComplete:s,delay:n})};return(0,s.useEffect)(function(){return function(){Object.keys(K.current).forEach(function(t){var e=K.current[t];e&&e.kill()})}},[]),(0,s.useEffect)(function(){var e,n,r,o,i=p(t.children).filter(function(t){return t}),s=tt.current.filter(function(t){return t}),l=(n=[],r={},o=[],s.forEach(function(t){t&&(d(i,t.key)?(o.length&&(r[t.key]=o,o=[]),e=t.key):t.key&&o.push(t))}),e||(n=n.concat(o)),i.forEach(function(t){t&&(r.hasOwnProperty(t.key)&&(n=n.concat(r[t.key])),n.push(t),t.key===e&&(n=n.concat(o)))}),n),c=[],f=[];if(V||J.current)s.forEach(function(t){if(t){var e=t.key;!d(i,e)&&e&&(f.push(e),u.Z.clear(G.current[e]),delete G.current[e])}}),i.forEach(function(t){if(t){var e=t.key;(!d(s,e)&&e||(!$.current[e]||"leave"===$.current[e]||Y.current.indexOf(e)>=0)&&-1===f.indexOf(e))&&c.push(e)}});else{var h={};l.forEach(function(t){t&&t.key&&(h[t.key]=!0)}),tt.current=l,H.current=(0,a.Z)({},h),tl(h)}Y.current=c,z.current=[].concat(c),W.current=f,q.current=[].concat(f),ta(l)},[t.children]),(0,s.useLayoutEffect)(function(){if(tt.current=tr||[],V||J.current){var t=(0,r.Z)(Y.current),e=(0,r.Z)(W.current);t.forEach(tg),e.forEach(tb)}tr&&(J.current=!0)},[tr]),(0,s.useLayoutEffect)(function(){tr&&tr.forEach(function(t){var e,n=t.key,r=Q.current[n];if(r){var o=W.current.indexOf(n),i=h(S,n,o),s=h(x,n,o);if(o>=0){if("leave"===$.current[n])return;var l=P?W.current.length-o-1:o;e=tw(n,o,i[1]*l+s[1],"leave"),$.current[n]="leave"}else{if("enter"===$.current[n]||-1===Y.current.indexOf(n))return;o=z.current.indexOf(n);var u=i[0]*o+s[0];e=tw(n,o,"leave"===$.current[n]?u:0,"enter"),$.current[n]="enter"}if(K.current[n]&&K.current[n].kill(),N){var f=(0,a.Z)((0,a.Z)({},Array.isArray(e)?e[0].startAt:e.startAt),{},{type:"set"});(0,c.ZP)(r,{animation:f})}K.current[n]=(0,c.ZP)(r,{animation:e})}})},[ts,tr]),(0,s.useMemo)(function(){if(f)return(0,s.createElement)(g,(0,a.Z)((0,a.Z)((0,a.Z)({},B),w),{},{ref:e}));var t=p(tr).map(function(t){return t&&t.key?ts[t.key]&&(0,s.cloneElement)(t,{ref:function(e){Q.current[t.key]=e instanceof Element?e:(0,l.findDOMNode)(e),e||delete Q.current[t.key]},key:t.key}):t}),n=(0,a.Z)((0,a.Z)((0,a.Z)({},B),w),{},{ref:e});return(0,s.createElement)(g,n,t)},[ts,tr])})},32609:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if("undefined"!=typeof XDomainRequest)return e(null),null;var n=new XMLHttpRequest;return n.onreadystatechange=function(){n.readyState===XMLHttpRequest.DONE&&200===n.status&&e(JSON.parse(n.responseText))},n.open("GET",t,!0),n.send(),n},t.exports=e.default},1160:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e=0)&&Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(e,["className","type","size"]);delete l.namespace,delete l.repo;var u=this.state.count,f=s.classNames((n in(t={"github-btn":!0,"github-btn-large":"large"===i})?Object.defineProperty(t,n,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[n]=n,t));return a.default.createElement("span",r({},l,{className:f}),a.default.createElement("a",{className:"gh-btn",href:this.getRepoUrl(),target:"_blank"},a.default.createElement("span",{className:"gh-ico","aria-hidden":"true"}),a.default.createElement("span",{className:"gh-text"},c[o])),a.default.createElement("a",{className:"gh-count",target:"_blank",href:this.getCountUrl(),style:this.getCountStyle()},u))},e}(a.default.Component);p.displayName="GitHubButton",p.propTypes={className:o.default.string,type:o.default.oneOf(["stargazers","watchers","forks"]).isRequired,namespace:o.default.string.isRequired,repo:o.default.string.isRequired,size:o.default.oneOf(["large"])},e.default=p,t.exports=e.default},40639:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.classNames=function(t){return Object.keys(t).filter(function(e){return t[e]}).join(" ")}},89971:function(t,e){"use strict";e.Dm=function(t){return t.replace(/[A-Z]/,function(t){return"-"+t.toLocaleLowerCase()})},e.FH=f,e.wz=function(t){if("undefined"==typeof document)return null;var e=["WebKitCSS","MozCSS","DOM","MsCSS","MSCSS","OCSS","CSS"].filter(function(t){return t+"Matrix" in window});return e.length?new window[e[0]+"Matrix"](t):(console.warn("Browsers do not support matrix."),"")},e.Yf=function(t){if("undefined"==typeof document)return null;if("filter"!==t&&t in document.body.style)return t;var e=t.charAt(0).toUpperCase()+t.substr(1),n=["O","Moz","ms","Ms","Webkit"].filter(function(t){return""+t+e in document.body.style});return n[0]?""+n[0]+e:null},e.Lo=function(t){var e=t;return"z"===(e="y"===(e="x"===e?"translateX":e)?"translateY":e)?"translateZ":e},e.lu=p,e.hy=function(t){if(!t)return[0,0,0,0,0,0,0];var e=t.replace(/,\s+/gi,",").split(/\s+/).filter(function(t){return t}),n=e.indexOf("inset");n>=0&&e.splice(n,1);var r=e.find(function(t){return i[t]||t.match(/#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})|(rgb|hsl)+(?:a)?\((.*)\)/i)})||"black",a=e.indexOf(r);e.splice(a,1);var o=p(r);return o[3]="number"==typeof o[3]?o[3]:1,e.concat(o,n>=0?["inset"]:[])},e.Lq=function(t){return(4===t.length?"rgba":"rgb")+"("+t.map(function(t,e){return e<3?Math.round(t):t}).join(",")+")"},e.Tk=d,e.dt=function(t){var e=d(t);return c.filter.indexOf(e)>=0?"filter":e},e.GX=function(t){if("none"===t||!t||""===t)return null;var e=t.replace(" ","").split(")").filter(function(t){return t}),n={};return e.forEach(function(t){var e=t.split("(");n[e[0]]=e[1]}),n},e.Ck=function(t){var e,n,r,a=t&&"none"!==t&&""!==t?t:"matrix(1, 0, 0, 1, 0, 0)";if(!a.match("matrix"))return(r={}).translateX=0,r.translateY=0,r.translateZ=0,r.rotate=0,r.rotateX=0,r.rotateY=0,r.scaleX=1,r.scaleY=1,r.scaleZ=1,r.skewX=0,r.skewY=0,r.perspective=0,(t.trim().match(/(\w+)\([^\)]+\)/ig)||[]).forEach(function(t){var e=t.split("("),n=e[0].trim(),a=e[1].replace(")","").trim();a.match(/%|em|rem/ig)&&console.warn("value("+a+") must be absolute, not relative, has been converted to absolute."),a=a.replace(/px|deg|\)/ig,""),c.transformGroup[n]&&"rotate"!==n?(a=a.split(",").map(function(t){return parseFloat(t)}),"scale3d"===n||"translate3d"===n?["X","Y","Z"].forEach(function(t,e){var o=n.substring(0,n.length-2);r[""+o+t]=a[e]||r[""+o+t]}):"rotate3d"===n?(r.rotateX=a[0]&&a[3]||r.rotateX,r.rotateY=a[1]&&a[3]||r.rotateY,r.rotate=a[2]&&a[3]||r.rotate):["X","Y"].forEach(function(t,e){r[""+n+t]=a[e]||r[""+n+t]})):"rotateZ"===n?r.rotate=parseFloat(a)||r.rotate:r[n]=parseFloat(a)||r[n]}),r;var o=(e=a.match(/(?:\-|\b)[\d\-\.e]+\b/gi),n={},6===e.length?(n.m11=parseFloat(e[0]),n.m12=parseFloat(e[1]),n.m13=0,n.m14=0,n.m21=parseFloat(e[2]),n.m22=parseFloat(e[3]),n.m23=0,n.m24=0,n.m31=0,n.m32=0,n.m33=1,n.m34=0,n.m41=parseFloat(e[4]),n.m42=parseFloat(e[5]),n.m43=0,n.m44=0):e.forEach(function(t,e){n["m"+(Math.floor(e/4)+1)+(e%4+1)]=parseFloat(t)}),n),i=o.m11,s=o.m12,u=o.m13,p=o.m14,d=o.m21,h=o.m22,m=o.m23,v=o.m24,y=o.m31,g=o.m32,b=o.m33,w=o.m34,T=o.m43,S=void 0,k=void 0,E=void 0,O={},x=Math.atan2(m,b),A=Math.tan(d),_=Math.tan(s),M=void 0,C=void 0;return O.rotateX=f(x*l)||0,x&&(S=d*(M=Math.cos(-x))+y*(C=Math.sin(-x)),k=h*M+g*C,E=m*M+b*C,y=-(d*C)+y*M,g=-(h*C)+g*M,b=-(m*C)+b*M,w=-(v*C)+w*M,d=S,h=k,m=E),x=Math.atan2(-u,b),O.rotateY=f(x*l)||0,x&&(S=i*(M=Math.cos(-x))-y*(C=Math.sin(-x)),k=s*M-g*C,E=u*M-b*C,g=s*C+g*M,b=u*C+b*M,w=p*C+w*M,i=S,s=k,u=E),x=Math.atan2(s,i),O.rotate=f(x*l)||0,x&&(S=i*(M=Math.cos(x))+s*(C=Math.sin(x)),k=d*M+h*C,E=y*M+g*C,s=s*M-i*C,h=h*M-d*C,g=g*M-y*C,i=S,d=k,y=E),O.rotateX&&Math.abs(O.rotateX)+Math.abs(O.rotate)>359.9&&(O.rotateX=O.rotate=0,O.rotateY=180-O.rotateY||0),O.scaleX=f(Math.sqrt(i*i+s*s+u*u)),O.scaleY=f(Math.sqrt(h*h+m*m)),O.scaleZ=f(Math.sqrt(y*y+g*g+b*b)),O.skewX=A===-_?0:A,O.skewY=_===-A?0:_,O.perspective=w?1/(w<0?-w:w):0,O.translateX=o.m41,O.translateY=o.m42,O.translateZ=T,O},e.YJ=function(t,e){var r=void 0;return n[t]||"number"!=typeof e?"content"!==t||a.test(e)||(r="'"+e.replace(/'/g,"\\'")+"'"):r=" "+e+"px",r||e};var n={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},r=["Webkit","ms","Moz","O"];Object.keys(n).forEach(function(t){r.forEach(function(e){n[e+t.charAt(0).toUpperCase()+t.substring(1)]=n[t]})});var a=/^(normal|none|(\b(url\([^)]*\)|chapter_counter|attr\([^)]*\)|(no-)?(open|close)-quote|inherit)((\b\s*)|$|\s+))+)$/,o="undefined"!=typeof document&&!!(navigator&&(navigator.userAgent.indexOf("MSIE 8.0")>0||navigator.userAgent.indexOf("MSIE 9.0")>0)),i={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},s=function(t,e,n){var r=t>1?t-1:t,a=3*(r=t<0?t+1:r)<2?e+(n-e)*(2/3-r)*6:e,o=r<.5?n:a;return 255*(6*r<1?e+(n-e)*r*6:o)+.5|0},l=180/Math.PI,u={_lists:{transformsBase:["translate","translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ","rotate"],transforms3D:["translate3d","translateZ","scaleZ","rotateX","rotateY","perspective"]},transformGroup:{translate:1,translate3d:1,scale:1,scale3d:1,rotate:1,rotate3d:1,skew:1},filter:["grayScale","sepia","hueRotate","invert","brightness","contrast","blur"],filterConvert:{grayScale:"grayscale",hueRotate:"hue-rotate"}};u._lists.transformsBase=o?u._lists.transformsBase:u._lists.transformsBase.concat(u._lists.transforms3D);var c=e._T=u;function f(t,e){var n=e?Math.pow(10,e):1e5,r=0|t,a=t-r,o=t;if(a){var i=(a*n+(t<0?-.5:.5)|0)/n,s=0|i;o=(t<0&&!(r+s)?"-":"")+(r+s)+"."+(i.toString().split(".")[1]||"")}return parseFloat(o)}function p(t){var e=void 0,n=void 0,r=void 0,a=void 0,o=void 0,l=void 0,u=void 0,c=t,f=/(?:\d|\-\d|\.\d|\-\.\d)+/g;return c?"number"==typeof c?e=[c>>16,c>>8&255,255&c]:(","===c.charAt(c.length-1)&&(c=c.substr(0,c.length-1)),i[c]?e=i[c]:"#"===c.charAt(0)?(4===c.length&&(c="#"+(n=c.charAt(1))+n+(r=c.charAt(2))+r+(a=c.charAt(3))+a),e=[(c=parseInt(c.substr(1),16))>>16,c>>8&255,255&c]):"hsl"===c.substr(0,3)?(o=Number((e=c.match(f))[0])%360/360,l=Number(e[1])/100,r=(u=Number(e[2])/100)<=.5?u*(l+1):u+l-u*l,n=2*u-r,e.length>3&&(e[3]=Number(e[3])),e[0]=s(o+1/3,n,r),e[1]=s(o,n,r),e[2]=s(o-1/3,n,r)):e=c.match(f)||i.transparent,e[0]=Number(e[0]),e[1]=Number(e[1]),e[2]=Number(e[2]),e.length>3&&(e[3]=Number(e[3]))):e=i.black,e}function d(t){return c._lists.transformsBase.indexOf(t)>=0?"transform":t}},9159:function(t,e){"use strict";e.Rs=p,e.Yf=function(t){if("undefined"==typeof document)return null;if("filter"!==t&&t in document.body.style)return t;var e=t.charAt(0).toUpperCase()+t.substr(1),n=["O","Moz","ms","Ms","Webkit"].filter(function(t){return""+t+e in document.body.style});return n[0]?""+n[0]+e:null},e.Lo=function(t){var e=t;return"z"===(e="y"===(e="x"===e?"translateX":e)?"translateY":e)?"translateZ":e},e.lu=m,e.hy=function(t,e){var n=e&&p(e);if(!t)return"boxShadow"===n?[0,0,0,0,0,0,0,0]:[0,0,0,0,0,0,0];var r=t.replace(/,\s+/gi,",").split(/\s+/).filter(function(t){return t}),a=r.indexOf("inset");a>=0&&r.splice(a,1);var o=r.find(function(t){return i[t]||t.match(/#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})|(rgb|hsl)+(?:a)?\((.*)\)/i)})||"black",s=r.indexOf(o);r.splice(s,1);var l=m(o);return l[3]="number"==typeof l[3]?l[3]:1,"boxShadow"===n&&r.length<4&&r.push(0),r.concat(l,a>=0?["inset"]:[])},e.Lq=function(t){return(4===t.length?"rgba":"rgb")+"("+t.map(function(t,e){return e<3?Math.round(t):t}).join(",")+")"},e.dt=function(t){var e,n=(e=t,f._lists.transformsBase.indexOf(e)>=0?"transform":e);return f.filter.indexOf(n)>=0?"filter":n},e.GX=function(t){if("none"===t||!t||""===t)return null;var e=t.replace(/\s+/g,"").split(")").filter(function(t){return t}),n={};return e.forEach(function(t){var e=t.split("(");n[e[0]]=e[1]}),n},e.Ck=function(t){var e,n,r,a=t&&"none"!==t&&""!==t?t:"matrix(1, 0, 0, 1, 0, 0)";if(!a.match("matrix"))return(r={}).translateX=0,r.translateY=0,r.translateZ=0,r.rotate=0,r.rotateX=0,r.rotateY=0,r.scaleX=1,r.scaleY=1,r.scaleZ=1,r.skewX=0,r.skewY=0,r.perspective=0,(t.trim().match(/(\w+)\([^\)]+\)/ig)||[]).forEach(function(t){var e=t.split("("),n=e[0].trim(),a=e[1].replace(")","").trim();a.match(/%|em|rem/ig)&&console.warn("value("+a+") must be absolute, not relative, has been converted to absolute."),a=a.replace(/px|deg|\)/ig,""),f.transformGroup[n]&&"rotate"!==n?(a=a.split(",").map(function(t){return parseFloat(t)}),"scale3d"===n||"translate3d"===n?["X","Y","Z"].forEach(function(t,e){var o=n.substring(0,n.length-2);r[""+o+t]=a[e]||r[""+o+t]}):"rotate3d"===n?(r.rotateX=a[0]&&a[3]||r.rotateX,r.rotateY=a[1]&&a[3]||r.rotateY,r.rotate=a[2]&&a[3]||r.rotate):["X","Y"].forEach(function(t,e){r[""+n+t]=a[e]||r[""+n+t]})):"rotateZ"===n?r.rotate=parseFloat(a)||r.rotate:r[n]=parseFloat(a)||r[n]}),r;var o=(e=a.match(/(?:\-|\b)[\d\-\.e]+\b/gi),n={},6===e.length?(n.m11=parseFloat(e[0]),n.m12=parseFloat(e[1]),n.m13=0,n.m14=0,n.m21=parseFloat(e[2]),n.m22=parseFloat(e[3]),n.m23=0,n.m24=0,n.m31=0,n.m32=0,n.m33=1,n.m34=0,n.m41=parseFloat(e[4]),n.m42=parseFloat(e[5]),n.m43=0,n.m44=0):e.forEach(function(t,e){n["m"+(Math.floor(e/4)+1)+(e%4+1)]=parseFloat(t)}),n),i=o.m11,l=o.m12,u=o.m13,c=o.m14,p=o.m21,h=o.m22,m=o.m23,v=o.m24,y=o.m31,g=o.m32,b=o.m33,w=o.m34,T=o.m43,S=void 0,k=void 0,E=void 0,O={},x=Math.atan2(m,b),A=Math.tan(p),_=Math.tan(l),M=void 0,C=void 0;return O.rotateX=d(x*s)||0,x&&(S=p*(M=Math.cos(-x))+y*(C=Math.sin(-x)),k=h*M+g*C,E=m*M+b*C,y=-(p*C)+y*M,g=-(h*C)+g*M,b=-(m*C)+b*M,w=-(v*C)+w*M,p=S,h=k,m=E),x=Math.atan2(-u,b),O.rotateY=d(x*s)||0,x&&(S=i*(M=Math.cos(-x))-y*(C=Math.sin(-x)),k=l*M-g*C,E=u*M-b*C,g=l*C+g*M,b=u*C+b*M,w=c*C+w*M,i=S,l=k,u=E),x=Math.atan2(l,i),O.rotate=d(x*s)||0,x&&(S=i*(M=Math.cos(x))+l*(C=Math.sin(x)),k=p*M+h*C,E=y*M+g*C,l=l*M-i*C,h=h*M-p*C,g=g*M-y*C,i=S,p=k,y=E),O.rotateX&&Math.abs(O.rotateX)+Math.abs(O.rotate)>359.9&&(O.rotateX=O.rotate=0,O.rotateY=180-O.rotateY||0),O.scaleX=d(Math.sqrt(i*i+l*l+u*u)),O.scaleY=d(Math.sqrt(h*h+m*m)),O.scaleZ=d(Math.sqrt(y*y+g*g+b*b)),O.skewX=A===-_?0:A,O.skewY=_===-A?0:_,O.perspective=w?1/(w<0?-w:w):0,O.translateX=o.m41,O.translateY=o.m42,O.translateZ=T,O},e.YJ=function(t,e){var r=void 0;return n[t]||"number"!=typeof e?"content"!==t||a.test(e)||(r="'"+e.replace(/'/g,"\\'")+"'"):r=" "+e+"px",r||e};var n={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},r=["Webkit","ms","Moz","O"];Object.keys(n).forEach(function(t){r.forEach(function(e){n[e+t.charAt(0).toUpperCase()+t.substring(1)]=n[t]})});var a=/^(normal|none|(\b(url\([^)]*\)|chapter_counter|attr\([^)]*\)|(no-)?(open|close)-quote|inherit)((\b\s*)|$|\s+))+)$/,o="undefined"!=typeof document&&!!(navigator&&(navigator.userAgent.indexOf("MSIE 8.0")>0||navigator.userAgent.indexOf("MSIE 9.0")>0)),i={aqua:[0,255,255,1],lime:[0,255,0,1],silver:[192,192,192,1],black:[0,0,0,1],maroon:[128,0,0,1],teal:[0,128,128,1],blue:[0,0,255,1],navy:[0,0,128,1],white:[255,255,255,1],fuchsia:[255,0,255,1],olive:[128,128,0,1],yellow:[255,255,0,1],orange:[255,165,0,1],gray:[128,128,128,1],purple:[128,0,128,1],green:[0,128,0,1],red:[255,0,0,1],pink:[255,192,203,1],cyan:[0,255,255,1],transparent:[255,255,255,0]},s=180/Math.PI,l={_lists:{transformsBase:["translate","translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ","rotate"],transforms3D:["translate3d","translateZ","scaleZ","rotateX","rotateY","perspective"]},transformGroup:{translate:1,translate3d:1,scale:1,scale3d:1,rotate:1,rotate3d:1,skew:1},filter:["grayScale","sepia","hueRotate","invert","brightness","contrast","blur"],filterConvert:{grayScale:"grayscale",hueRotate:"hue-rotate"}};l._lists.transformsBase=o?l._lists.transformsBase:l._lists.transformsBase.concat(l._lists.transforms3D);var u=/#([0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{3})/;e.rV=/#([0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{3})|((rgb|hsl)[a]?)+\((?:\d|\.\d)+(?:(deg|\%)?),[\s+]?(?:\d|\.\d)+(?:(deg|\%)?),[\s+]?(?:\d|\.\d)+(?:(deg|%)?)(,[\s+]?(?:\d|\.\d)+(?:(deg|\%)?))?\)/;var c=/(?:\d|\.\d)+(%?)/g,f=e._T=l;function p(t){return t.replace(/-(.?)/g,function(t){return t.replace("-","").toLocaleUpperCase()})}function d(t,e){var n=e?Math.pow(10,e):1e5,r=0|t,a=t-r,o=t;if(a){var i=(a*n+(t<0?-.5:.5)|0)/n,s=0|i;o=(t<0&&!(r+s)?"-":"")+(r+s)+"."+(i.toString().split(".")[1]||"")}return parseFloat(o)}var h=function(t,e,n){return(n<0&&(n+=6),n>=6&&(n-=6),n<1)?(e-t)*n+t:n<3?e:n<4?(e-t)*(4-n)+t:t};function m(t){var e=i.transparent,n=t,r=void 0,a=void 0,o=void 0;if(n){if(i[n])e=i[n];else if("number"==typeof n)e=[n>>16,n>>8&255,255&n];else if(","===n.charAt(n.length-1)&&(n=n.substr(0,n.length-1)),n.match(u))3===(n=n.substr(1)).length&&(n=""+(r=n.charAt(0))+r+(a=n.charAt(1))+a+(o=n.charAt(2))+o+"ff"),6===n.length&&(n+="ff"),e=[(n=parseInt(n,16))>>24&255,n>>16&255,n>>8&255,parseFloat(((255&n)/255).toFixed(2))];else if(n.match(/^hsl/)){var s=(e=n.match(c))[3];s="string"==typeof s&&s.match("%")?parseFloat(s)/100:parseFloat(""+(s||"1"));var l=parseFloat(e[0])/60,f=parseFloat(e[1])/100,p=parseFloat(e[2])/100,d=p<=.5?p*(f+1):p+f-p*f,m=2*p-d;e=[r=Math.round(255*h(m,d,l+2)),a=Math.round(255*h(m,d,l)),o=Math.round(255*h(m,d,l-2)),s]}else 3===(e=(e=n.match(c)||i.transparent).map(function(t){return parseFloat(t)})).length&&e.push(1)}else e=i.transparent;return e}},96839:function(t){"use strict";var e={linear:function(t,e,n,r){return(n-e)*t/r+e},easeInQuad:function(t,e,n,r){return(n-e)*(t/=r)*t+e},easeOutQuad:function(t,e,n,r){return-(n-e)*(t/=r)*(t-2)+e},easeInOutQuad:function(t,e,n,r){var a=n-e;return(t/=r/2)<1?a/2*t*t+e:-a/2*(--t*(t-2)-1)+e},easeInCubic:function(t,e,n,r){return(n-e)*(t/=r)*t*t+e},easeOutCubic:function(t,e,n,r){return(n-e)*((t=t/r-1)*t*t+1)+e},easeInOutCubic:function(t,e,n,r){var a=n-e;return(t/=r/2)<1?a/2*t*t*t+e:a/2*((t-=2)*t*t+2)+e},easeInQuart:function(t,e,n,r){return(n-e)*(t/=r)*t*t*t+e},easeOutQuart:function(t,e,n,r){return-(n-e)*((t=t/r-1)*t*t*t-1)+e},easeInOutQuart:function(t,e,n,r){var a=n-e;return(t/=r/2)<1?a/2*t*t*t*t+e:-a/2*((t-=2)*t*t*t-2)+e},easeInQuint:function(t,e,n,r){return(n-e)*(t/=r)*t*t*t*t+e},easeOutQuint:function(t,e,n,r){return(n-e)*((t=t/r-1)*t*t*t*t+1)+e},easeInOutQuint:function(t,e,n,r){var a=n-e;return(t/=r/2)<1?a/2*t*t*t*t*t+e:a/2*((t-=2)*t*t*t*t+2)+e},easeInSine:function(t,e,n,r){var a=n-e;return-a*Math.cos(t/r*(Math.PI/2))+a+e},easeOutSine:function(t,e,n,r){return(n-e)*Math.sin(t/r*(Math.PI/2))+e},easeInOutSine:function(t,e,n,r){return-(n-e)/2*(Math.cos(Math.PI*t/r)-1)+e},easeInExpo:function(t,e,n,r){return 0==t?e:(n-e)*Math.pow(2,10*(t/r-1))+e},easeOutExpo:function(t,e,n,r){var a=n-e;return t==r?e+a:a*(-Math.pow(2,-10*t/r)+1)+e},easeInOutExpo:function(t,e,n,r){var a=n-e;return 0===t?e:t===r?e+a:(t/=r/2)<1?a/2*Math.pow(2,10*(t-1))+e:a/2*(-Math.pow(2,-10*--t)+2)+e},easeInCirc:function(t,e,n,r){return-(n-e)*(Math.sqrt(1-(t/=r)*t)-1)+e},easeOutCirc:function(t,e,n,r){return(n-e)*Math.sqrt(1-(t=t/r-1)*t)+e},easeInOutCirc:function(t,e,n,r){var a=n-e;return(t/=r/2)<1?-a/2*(Math.sqrt(1-t*t)-1)+e:a/2*(Math.sqrt(1-(t-=2)*t)+1)+e},easeInElastic:function(t,e,n,r){var a,o,i,s=n-e;return(i=1.70158,o=0,a=s,0===t)?e:1==(t/=r)?e+s:(o||(o=.3*r),a=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),u=i.call(o,"finallyLoc");if(l&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),M(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var a=r.arg;M(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:D(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},n}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports},27566:function(t){function e(n){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},4860:function(t,e,n){var r=n(13448)();t.exports=r;try{regeneratorRuntime=r}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}}}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[751],{82972:function(t,e,n){t.exports={default:n(15680),__esModule:!0}},92452:function(t,e,n){t.exports={default:n(41969),__esModule:!0}},17866:function(t,e,n){t.exports={default:n(57446),__esModule:!0}},1437:function(t,e,n){t.exports={default:n(74752),__esModule:!0}},3432:function(t,e,n){t.exports={default:n(52005),__esModule:!0}},30631:function(t,e,n){t.exports={default:n(12544),__esModule:!0}},82864:function(t,e){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}},97559:function(t,e,n){"use strict";e.__esModule=!0;var r,a=(r=n(17866))&&r.__esModule?r:{default:r};e.default=function(){function t(t,e){for(var n=0;n=0)&&Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}},73006:function(t,e,n){"use strict";e.__esModule=!0;var r,a=(r=n(27239))&&r.__esModule?r:{default:r};e.default=function(t,e){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&((void 0===e?"undefined":(0,a.default)(e))==="object"||"function"==typeof e)?e:t}},27239:function(t,e,n){"use strict";e.__esModule=!0;var r=i(n(30631)),a=i(n(3432)),o="function"==typeof a.default&&"symbol"==typeof r.default?function(t){return typeof t}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};function i(t){return t&&t.__esModule?t:{default:t}}e.default="function"==typeof a.default&&"symbol"===o(r.default)?function(t){return void 0===t?"undefined":o(t)}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":void 0===t?"undefined":o(t)}},15680:function(t,e,n){n(38476),t.exports=n(37213).Object.assign},41969:function(t,e,n){n(23012);var r=n(37213).Object;t.exports=function(t,e){return r.create(t,e)}},57446:function(t,e,n){n(94730);var r=n(37213).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},74752:function(t,e,n){n(49760),t.exports=n(37213).Object.setPrototypeOf},52005:function(t,e,n){n(22503),n(71810),n(51015),n(60107),t.exports=n(37213).Symbol},12544:function(t,e,n){n(97109),n(16917),t.exports=n(62911).f("iterator")},10527:function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},74631:function(t){t.exports=function(){}},96202:function(t,e,n){var r=n(69480);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},57936:function(t,e,n){var r=n(34202),a=n(61826),o=n(48856);t.exports=function(t){return function(e,n,i){var s,l=r(e),u=a(l.length),c=o(i,u);if(t&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c||0;return!t&&-1}}},60866:function(t){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},37213:function(t){var e=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=e)},38893:function(t,e,n){var r=n(10527);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,a){return t.call(e,n,r,a)}}return function(){return t.apply(e,arguments)}}},8296:function(t){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},70377:function(t,e,n){t.exports=!n(73069)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},32873:function(t,e,n){var r=n(69480),a=n(34506).document,o=r(a)&&r(a.createElement);t.exports=function(t){return o?a.createElement(t):{}}},52848:function(t){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},4352:function(t,e,n){var r=n(95692),a=n(6050),o=n(46824);t.exports=function(t){var e=r(t),n=a.f;if(n)for(var i,s=n(t),l=o.f,u=0;s.length>u;)l.call(t,i=s[u++])&&e.push(i);return e}},75076:function(t,e,n){var r=n(34506),a=n(37213),o=n(38893),i=n(2366),s=n(40255),l="prototype",u=function(t,e,n){var c,f,p,d=t&u.F,h=t&u.G,m=t&u.S,v=t&u.P,y=t&u.B,g=t&u.W,b=h?a:a[e]||(a[e]={}),w=b[l],T=h?r:m?r[e]:(r[e]||{})[l];for(c in h&&(n=e),n)!((f=!d&&T&&void 0!==T[c])&&s(b,c))&&(p=f?T[c]:n[c],b[c]=h&&"function"!=typeof T[c]?n[c]:y&&f?o(p,r):g&&T[c]==p?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[l]=t[l],e}(p):v&&"function"==typeof p?o(Function.call,p):p,v&&((b.virtual||(b.virtual={}))[c]=p,t&u.R&&w&&!w[c]&&i(w,c,p)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},73069:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},34506:function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},40255:function(t){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},2366:function(t,e,n){var r=n(46093),a=n(4452);t.exports=n(70377)?function(t,e,n){return r.f(t,e,a(1,n))}:function(t,e,n){return t[e]=n,t}},65609:function(t,e,n){var r=n(34506).document;t.exports=r&&r.documentElement},83278:function(t,e,n){t.exports=!n(70377)&&!n(73069)(function(){return 7!=Object.defineProperty(n(32873)("div"),"a",{get:function(){return 7}}).a})},28365:function(t,e,n){var r=n(60866);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},68926:function(t,e,n){var r=n(60866);t.exports=Array.isArray||function(t){return"Array"==r(t)}},69480:function(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},51592:function(t,e,n){"use strict";var r=n(77310),a=n(4452),o=n(5723),i={};n(2366)(i,n(81395)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(i,{next:a(1,n)}),o(t,e+" Iterator")}},58903:function(t,e,n){"use strict";var r=n(44574),a=n(75076),o=n(53682),i=n(2366),s=n(45086),l=n(51592),u=n(5723),c=n(42915),f=n(81395)("iterator"),p=!([].keys&&"next"in[].keys()),d="values",h=function(){return this};t.exports=function(t,e,n,m,v,y,g){l(n,e,m);var b,w,T,S=function(t){return!p&&t in x?x[t]:function(){return new n(this,t)}},k=e+" Iterator",E=v==d,O=!1,x=t.prototype,A=x[f]||x["@@iterator"]||v&&x[v],_=A||S(v),M=v?E?S("entries"):_:void 0,C="Array"==e&&x.entries||A;if(C&&(T=c(C.call(new t)))!==Object.prototype&&T.next&&(u(T,k,!0),r||"function"==typeof T[f]||i(T,f,h)),E&&A&&A.name!==d&&(O=!0,_=function(){return A.call(this)}),(!r||g)&&(p||O||!x[f])&&i(x,f,_),s[e]=_,s[k]=h,v){if(b={values:E?_:S(d),keys:y?_:S("keys"),entries:M},g)for(w in b)w in x||o(x,w,b[w]);else a(a.P+a.F*(p||O),e,b)}return b}},65336:function(t){t.exports=function(t,e){return{value:e,done:!!t}}},45086:function(t){t.exports={}},44574:function(t){t.exports=!0},42727:function(t,e,n){var r=n(67441)("meta"),a=n(69480),o=n(40255),i=n(46093).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(73069)(function(){return l(Object.preventExtensions({}))}),c=function(t){i(t,r,{value:{i:"O"+ ++s,w:{}}})},f=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!a(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!l(t))return"F";if(!e)return"E";c(t)}return t[r].i},getWeak:function(t,e){if(!o(t,r)){if(!l(t))return!0;if(!e)return!1;c(t)}return t[r].w},onFreeze:function(t){return u&&f.NEED&&l(t)&&!o(t,r)&&c(t),t}}},79769:function(t,e,n){"use strict";var r=n(70377),a=n(95692),o=n(6050),i=n(46824),s=n(28689),l=n(28365),u=Object.assign;t.exports=!u||n(73069)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=s(t),u=arguments.length,c=1,f=o.f,p=i.f;u>c;)for(var d,h=l(arguments[c++]),m=f?a(h).concat(f(h)):a(h),v=m.length,y=0;v>y;)d=m[y++],(!r||p.call(h,d))&&(n[d]=h[d]);return n}:u},77310:function(t,e,n){var r=n(96202),a=n(46582),o=n(52848),i=n(7186)("IE_PROTO"),s=function(){},l="prototype",u=function(){var t,e=n(32873)("iframe"),r=o.length;for(e.style.display="none",n(65609).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write(""),t.close(),u=t.F;r--;)delete u[l][o[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[l]=r(t),n=new s,s[l]=null,n[i]=t):n=u(),void 0===e?n:a(n,e)}},46093:function(t,e,n){var r=n(96202),a=n(83278),o=n(43908),i=Object.defineProperty;e.f=n(70377)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),a)try{return i(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},46582:function(t,e,n){var r=n(46093),a=n(96202),o=n(95692);t.exports=n(70377)?Object.defineProperties:function(t,e){a(t);for(var n,i=o(e),s=i.length,l=0;s>l;)r.f(t,n=i[l++],e[n]);return t}},11801:function(t,e,n){var r=n(46824),a=n(4452),o=n(34202),i=n(43908),s=n(40255),l=n(83278),u=Object.getOwnPropertyDescriptor;e.f=n(70377)?u:function(t,e){if(t=o(t),e=i(e,!0),l)try{return u(t,e)}catch(t){}if(s(t,e))return a(!r.f.call(t,e),t[e])}},45866:function(t,e,n){var r=n(34202),a=n(69752).f,o={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return a(t)}catch(t){return i.slice()}};t.exports.f=function(t){return i&&"[object Window]"==o.call(t)?s(t):a(r(t))}},69752:function(t,e,n){var r=n(2651),a=n(52848).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,a)}},6050:function(t,e){e.f=Object.getOwnPropertySymbols},42915:function(t,e,n){var r=n(40255),a=n(28689),o=n(7186)("IE_PROTO"),i=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return r(t=a(t),o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?i:null}},2651:function(t,e,n){var r=n(40255),a=n(34202),o=n(57936)(!1),i=n(7186)("IE_PROTO");t.exports=function(t,e){var n,s=a(t),l=0,u=[];for(n in s)n!=i&&r(s,n)&&u.push(n);for(;e.length>l;)r(s,n=e[l++])&&(~o(u,n)||u.push(n));return u}},95692:function(t,e,n){var r=n(2651),a=n(52848);t.exports=Object.keys||function(t){return r(t,a)}},46824:function(t,e){e.f=({}).propertyIsEnumerable},4452:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},53682:function(t,e,n){t.exports=n(2366)},80130:function(t,e,n){var r=n(69480),a=n(96202),o=function(t,e){if(a(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n(38893)(Function.call,n(11801).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},5723:function(t,e,n){var r=n(46093).f,a=n(40255),o=n(81395)("toStringTag");t.exports=function(t,e,n){t&&!a(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},7186:function(t,e,n){var r=n(92479)("keys"),a=n(67441);t.exports=function(t){return r[t]||(r[t]=a(t))}},92479:function(t,e,n){var r=n(37213),a=n(34506),o="__core-js_shared__",i=a[o]||(a[o]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(44574)?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},94004:function(t,e,n){var r=n(25999),a=n(8296);t.exports=function(t){return function(e,n){var o,i,s=String(a(e)),l=r(n),u=s.length;return l<0||l>=u?t?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===u||(i=s.charCodeAt(l+1))<56320||i>57343?t?s.charAt(l):o:t?s.slice(l,l+2):(o-55296<<10)+(i-56320)+65536}}},48856:function(t,e,n){var r=n(25999),a=Math.max,o=Math.min;t.exports=function(t,e){return(t=r(t))<0?a(t+e,0):o(t,e)}},25999:function(t){var e=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:e)(t)}},34202:function(t,e,n){var r=n(28365),a=n(8296);t.exports=function(t){return r(a(t))}},61826:function(t,e,n){var r=n(25999),a=Math.min;t.exports=function(t){return t>0?a(r(t),9007199254740991):0}},28689:function(t,e,n){var r=n(8296);t.exports=function(t){return Object(r(t))}},43908:function(t,e,n){var r=n(69480);t.exports=function(t,e){var n,a;if(!r(t))return t;if(e&&"function"==typeof(n=t.toString)&&!r(a=n.call(t))||"function"==typeof(n=t.valueOf)&&!r(a=n.call(t))||!e&&"function"==typeof(n=t.toString)&&!r(a=n.call(t)))return a;throw TypeError("Can't convert object to primitive value")}},67441:function(t){var e=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+n).toString(36))}},19642:function(t,e,n){var r=n(34506),a=n(37213),o=n(44574),i=n(62911),s=n(46093).f;t.exports=function(t){var e=a.Symbol||(a.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:i.f(t)})}},62911:function(t,e,n){e.f=n(81395)},81395:function(t,e,n){var r=n(92479)("wks"),a=n(67441),Symbol=n(34506).Symbol,o="function"==typeof Symbol;(t.exports=function(t){return r[t]||(r[t]=o&&Symbol[t]||(o?Symbol:a)("Symbol."+t))}).store=r},67771:function(t,e,n){"use strict";var r=n(74631),a=n(65336),o=n(45086),i=n(34202);t.exports=n(58903)(Array,"Array",function(t,e){this._t=i(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,a(1)):"keys"==e?a(0,n):"values"==e?a(0,t[n]):a(0,[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},38476:function(t,e,n){var r=n(75076);r(r.S+r.F,"Object",{assign:n(79769)})},23012:function(t,e,n){var r=n(75076);r(r.S,"Object",{create:n(77310)})},94730:function(t,e,n){var r=n(75076);r(r.S+!n(70377)*r.F,"Object",{defineProperty:n(46093).f})},49760:function(t,e,n){var r=n(75076);r(r.S,"Object",{setPrototypeOf:n(80130).set})},71810:function(){},97109:function(t,e,n){"use strict";var r=n(94004)(!0);n(58903)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},22503:function(t,e,n){"use strict";var r=n(34506),a=n(40255),o=n(70377),i=n(75076),s=n(53682),l=n(42727).KEY,u=n(73069),c=n(92479),f=n(5723),p=n(67441),d=n(81395),h=n(62911),m=n(19642),v=n(4352),y=n(68926),g=n(96202),b=n(69480),w=n(28689),T=n(34202),S=n(43908),k=n(4452),E=n(77310),O=n(45866),x=n(11801),A=n(6050),_=n(46093),M=n(95692),C=x.f,D=_.f,F=O.f,j=r.Symbol,P=r.JSON,Z=P&&P.stringify,N="prototype",L=d("_hidden"),R=d("toPrimitive"),I={}.propertyIsEnumerable,U=c("symbol-registry"),X=c("symbols"),V=c("op-symbols"),B=Object[N],H="function"==typeof j&&!!A.f,Y=r.QObject,z=!Y||!Y[N]||!Y[N].findChild,W=o&&u(function(){return 7!=E(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=C(B,e);r&&delete B[e],D(t,e,n),r&&t!==B&&D(B,e,r)}:D,q=function(t){var e=X[t]=E(j[N]);return e._k=t,e},G=H&&"symbol"==typeof j.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof j},Q=function(t,e,n){return(t===B&&Q(V,e,n),g(t),e=S(e,!0),g(n),a(X,e))?(n.enumerable?(a(t,L)&&t[L][e]&&(t[L][e]=!1),n=E(n,{enumerable:k(0,!1)})):(a(t,L)||D(t,L,k(1,{})),t[L][e]=!0),W(t,e,n)):D(t,e,n)},$=function(t,e){g(t);for(var n,r=v(e=T(e)),a=0,o=r.length;o>a;)Q(t,n=r[a++],e[n]);return t},K=function(t){var e=I.call(this,t=S(t,!0));return(!(this===B&&a(X,t))||!!a(V,t))&&(!(e||!a(this,t)||!a(X,t)||a(this,L)&&this[L][t])||e)},J=function(t,e){if(t=T(t),e=S(e,!0),!(t===B&&a(X,e))||a(V,e)){var n=C(t,e);return n&&a(X,e)&&!(a(t,L)&&t[L][e])&&(n.enumerable=!0),n}},tt=function(t){for(var e,n=F(T(t)),r=[],o=0;n.length>o;)a(X,e=n[o++])||e==L||e==l||r.push(e);return r},te=function(t){for(var e,n=t===B,r=F(n?V:T(t)),o=[],i=0;r.length>i;)a(X,e=r[i++])&&(!n||a(B,e))&&o.push(X[e]);return o};H||(s((j=function(){if(this instanceof j)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===B&&e.call(V,n),a(this,L)&&a(this[L],t)&&(this[L][t]=!1),W(this,t,k(1,n))};return o&&z&&W(B,t,{configurable:!0,set:e}),q(t)})[N],"toString",function(){return this._k}),x.f=J,_.f=Q,n(69752).f=O.f=tt,n(46824).f=K,A.f=te,o&&!n(44574)&&s(B,"propertyIsEnumerable",K,!0),h.f=function(t){return q(d(t))}),i(i.G+i.W+!H*i.F,{Symbol:j});for(var tn="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tr=0;tn.length>tr;)d(tn[tr++]);for(var ta=M(d.store),to=0;ta.length>to;)m(ta[to++]);i(i.S+!H*i.F,"Symbol",{for:function(t){return a(U,t+="")?U[t]:U[t]=j(t)},keyFor:function(t){if(!G(t))throw TypeError(t+" is not a symbol!");for(var e in U)if(U[e]===t)return e},useSetter:function(){z=!0},useSimple:function(){z=!1}}),i(i.S+!H*i.F,"Object",{create:function(t,e){return void 0===e?E(t):$(E(t),e)},defineProperty:Q,defineProperties:$,getOwnPropertyDescriptor:J,getOwnPropertyNames:tt,getOwnPropertySymbols:te});var ti=u(function(){A.f(1)});i(i.S+i.F*ti,"Object",{getOwnPropertySymbols:function(t){return A.f(w(t))}}),P&&i(i.S+i.F*(!H||u(function(){var t=j();return"[null]"!=Z([t])||"{}"!=Z({a:t})||"{}"!=Z(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],a=1;arguments.length>a;)r.push(arguments[a++]);if(n=e=r[1],!(!b(e)&&void 0===t||G(t)))return y(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!G(e))return e}),r[1]=e,Z.apply(P,r)}}),j[N][R]||n(2366)(j[N],R,j[N].valueOf),f(j,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},51015:function(t,e,n){n(19642)("asyncIterator")},60107:function(t,e,n){n(19642)("observable")},16917:function(t,e,n){n(67771);for(var r=n(34506),a=n(2366),o=n(45086),i=n(81395)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l-1;)(f=u[p]).n===s&&f.c===e?u.splice(p,1):0===c&&(c=p+1);var d=n||this._eventTarget;u.splice(c,0,{c:e,n:s,t:i}),!this._listFun[l]&&(this._listFun[l]=this._listFun[l]||this.dispatchEvent.bind(this,{type:i,target:n}),d.addEventListener?d.addEventListener(i,this._listFun[l],r):d.attachEvent&&d.attachEvent("on"+i,this._listFun[l]))},removeEventListener:function(t,e,n,r){var o=t.split("."),i=o[0],s=o[1],l=""+i+(n?"_"+n.getAttribute(a):""),u=this._listeners[l],c=void 0,f=r;if(s||(f=!0),u){c=u.length;for(var p=n||this._eventTarget;--c>-1;)if(u[c].c===e&&(f||u[c].n===s)){if(u.splice(c,1),!u.length){var d=this._listFun[l];delete this._listeners[l],delete this._listFun[l],p.removeEventListener?p.removeEventListener(i,d):p.detachEvent&&p.detachEvent("on"+i,d)}if(!f)return}}},dispatchEvent:function(t,e){var n=t.type,r=t.target,o=""+n+(r?"_"+r.getAttribute(a):""),i=this._listeners[o],s=void 0,l=void 0,u=void 0;if(i){for(s=i.length,l=this._eventTarget;--s>-1;)if(u=i[s]){var c=e||{type:n,target:l};u.c.call(l,c)}}},removeAllType:function(t,e){var n=this,o=t.split("."),i=o[0],s=o[1],l=""+i+(e?"_"+e.getAttribute(a):""),u=this._listeners[l];this.recoverLists=this.recoverLists.concat((0,r.Zk)(u).filter(function(t){return t.n&&t.n.match(s)})),this.recoverLists.forEach(function(t){n.removeEventListener(t.t+"."+t.n,t.c,e)})},reAllType:function(t,e){var n=this,r=t.split("."),a=r[0],o=r[1];this.recoverLists=this.recoverLists.map(function(t){return t.t===a&&t.n.match(o)?(n.addEventListener(t.t+"."+t.n,t.c,e),null):t}).filter(function(t){return t})}},e.Z=new o("undefined"!=typeof document&&window)},58496:function(t,e,n){"use strict";n.d(e,{Z:function(){return y}});var r=n(61707),a=n(61200),o=n(82864),i=n(73006),s=n(97559),l=n(71212),u=n(50959),c=n(40507),f=n.n(c),p=n(53046),d=n(10422),h=n(55171),m=function(t){function e(t){(0,o.default)(this,e);var n=(0,i.default)(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.getParam=function(t){n.clientHeight=n.target?n.target.clientHeight:(0,h.uK)();var e=n.target?n.target.scrollTop:(0,h.Xh)(),r=n.dom.getBoundingClientRect(),a=n.target?n.target.getBoundingClientRect().top:0,o=r.top+e-a;n.elementShowHeight=e-o+n.clientHeight;var i=(0,h.o1)(n.props.playScale),s=/([\+\-]?[0-9#\.]+)(px|vh|%)?/.exec(String(i[0]));s[2]?"px"===s[2]?n.playHeight=parseFloat(s[1]):n.playHeight=n.clientHeight*parseFloat(s[1])/100:n.playHeight=n.clientHeight*parseFloat(i[0]);var l=r.height,u=/([\+\-]?[0-9#\.]+)(px|vh|%)?/.exec(String(i[1]));u[2]?"px"===u[2]?n.leavePlayHeight=parseFloat(u[1]):n.leavePlayHeight=l*parseFloat(u[1])/100:n.leavePlayHeight=l*parseFloat(i[1]);var c=n.props.replay?n.elementShowHeight>=n.playHeight&&n.elementShowHeight<=n.clientHeight+n.leavePlayHeight:n.elementShowHeight>=n.playHeight,f=c?"enter":"leave",p=n.enter!==c||"boolean"!=typeof n.enter?f:null;p&&n.props.onChange({mode:p,id:n.props.id}),n.props.onScroll({domEvent:t,scrollTop:e,showHeight:n.elementShowHeight,offsetTop:o,id:n.props.id}),n.enter=c},n.addScrollEvent=function(){p.Z.addEventListener(n.eventType,n.scrollEventListener,n.target),(0,h.Xh)()||n.scrollEventListener()},n.scrollEventListener=function(t){n.getParam(t)},n.state={$self:n},n}return(0,l.default)(e,t),(0,s.default)(e,null,[{key:"getDerivedStateFromProps",value:function(t,e){var n=e.prevProps,r=e.$self;return n&&t!==n&&r.scrollEventListener(),{prevProps:t}}}]),(0,s.default)(e,[{key:"componentDidMount",value:function(){if(!h.Q6){this.dom=d.findDOMNode(this);var t=Date.now();this.target=this.props.targetId&&document.getElementById(this.props.targetId);var e=p.Z._listeners.scroll?p.Z._listeners.scroll.length:0;this.eventType="scroll.scrollEvent"+t+e,this.addScrollEvent()}}},{key:"componentWillUnmount",value:function(){p.Z.removeEventListener(this.eventType,this.scrollEventListener,this.target)}},{key:"render",value:function(){var t=this.props,e=t.component,n=(t.playScale,t.location,t.targetId,t.onScroll,t.onChange,t.replay,t.componentProps),o=(0,a.default)(t,["component","playScale","location","targetId","onScroll","onChange","replay","componentProps"]);return u.createElement(e,(0,r.default)({},o,n))}}]),e}(u.Component);m.propTypes={component:f().any,playScale:f().any,id:f().string,onChange:f().func,onScroll:f().func,location:f().string,targetId:f().string,replay:f().bool,componentProps:f().object},m.defaultProps={component:"div",onChange:h.ZT,onScroll:h.ZT,playScale:.5,replay:!1,componentProps:{}},m.isScrollElement=!0;var v=function(t){function e(t){(0,o.default)(this,e);var n=(0,i.default)(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.scrollEventListener=function(t){n.getParam(t);var e=n.state.show,r=n.props,a=r.always,o=r.replay,i=n.elementShowHeight>n.clientHeight+n.leavePlayHeight;if(n.enter||!o&&i)e||n.setState({show:!0}),!a&&n.eventType&&p.Z.removeEventListener(n.eventType,n.scrollEventListener,n.target);else if(a){var s=n.elementShowHeightObject.keys(e).length?t:e,a=Object.keys(t).length>Object.keys(e).length?e:t;Object.keys(r).forEach(function(t){n&&(t in a||(n=!1),"object"==typeof r[t]&&"object"==typeof a[t]?n=E(r[t],a[t]):"function"==typeof r[t]&&"function"==typeof a[t]?r[t].toString().replace(/\s+/g,"")!==a[t].toString().replace(/\s+/g,"")&&(n=!1):r[t]!==a[t]&&(n=!1))})};if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;t.forEach(function(t,n){r(t,e[n])})}else r(t,e);return n}function O(t,e){var n=null;return t&&t.forEach(function(t){!n&&t&&t.key===e&&(n=t)}),n}function x(t,e,n){return"function"==typeof t?t({key:e,index:n}):t}function A(t){return t&&t.children}function _(t,e,n,r,a,o,i,s){if(b)return r;var l=/(?:Left|Right|Width|X)/i.test(n)||s;l="padding"===n||"marign"===n||l;var u=-1!==n.indexOf("border")||-1!==n.indexOf("translate")||"transformOrigin"===n?t:t.parentNode||document.body;u=i?document.body:u;var c=void 0,f=void 0;switch(a){case"%":c=parseFloat(r)/100*(l?u.clientWidth:u.clientHeight);break;case"vw":c=parseFloat(r)*document.body.clientWidth/100;break;case"vh":c=parseFloat(r)*document.body.clientHeight/100;break;case"em":c=parseFloat(r)*parseFloat(e.fontSize);break;case"rem":f=window.getComputedStyle(document.getElementsByTagName("html")[0]),c=parseFloat(r)*parseFloat(f.fontSize);break;default:c=parseFloat(r)}switch(o){case"%":c=c?100*c/(l?u.clientWidth:u.clientHeight):0;break;case"vw":c=parseFloat(r)/document.body.clientWidth*100;break;case"vh":c=parseFloat(r)/document.body.clientHeight*100;break;case"em":c=parseFloat(r)/parseFloat(e.fontSize);break;case"rem":f=f||window.getComputedStyle(document.getElementsByTagName("html")[0]),c=parseFloat(r)/parseFloat(f.fontSize)}return c}function M(t){if("string"==typeof t)return t;var e=t.perspective,n=t.rotate,r=t.rotateX,a=t.rotateY,o=t.scaleX,i=t.scaleY,s=t.scaleZ,l=t.skewX,u=t.skewY,c="string"==typeof t.translateX?t.translateX:t.translateX+"px",f="string"==typeof t.translateY?t.translateY:t.translateY+"px",p="string"==typeof t.translateZ?t.translateZ:t.translateZ+"px",d=l||u?"skew("+l+"deg,"+u+"deg)":"",h=n?"rotate("+n+"deg)":"",m=1!==o||1!==i||1!==s?"scale3d("+o+","+i+","+s+")":"",v=r?"rotateX("+r+"deg)":"",y=a?"rotateY("+a+"deg)":"";return((e?"perspective("+e+"px)":"")+" "+(t.translateZ?"translate3d("+c+","+f+","+p+")":(t.translateX||t.translateY)&&"translate("+c+","+f+")"||(m||h||v||y||d?"":"translate(0px, 0px)"))+" "+m+" "+h+" "+v+" "+y+" "+d).trim()}var C=n(89971);h().path=function(t,e){var n=e||{};if(b)return"linear";for(var r=function(t){if("string"==typeof t){if(t.charAt(0).match(/m/i)){var e=document.createElementNS("http://www.w3.org/2000/svg","path");return e.setAttributeNS(null,"d",t),e}return document.querySelector(t)}if(t.style)return t;throw Error("Error while parsing the path")}(t),a=r.getTotalLength(),o=n.rect||100,i=n.lengthPixel||200,s=[],l=0;l=u})[0]||r.getPointAtLength(l*a)).y/o}};var D=h(),F=function(){};F.prototype.push=function(t){this[t.prototype.name]=t};var j=new F,P=function(t,e,n){this.target=t,this.vars=e,this.type=n,this.propsData={},this.setDefaultData()};P.prototype={name:"style"};var Z=P.prototype;function N(){}function L(t,e){var n=t.duration||0===t.duration?t.duration:450;return{duration:"set"===t.type?0:n,delay:t.delay||0,ease:"function"==typeof t.ease?t.ease:D[t.ease||"easeInOutQuad"],onUpdate:t.onUpdate||N,onComplete:t.onComplete||N,onStart:t.onStart||N,onRepeat:t.onRepeat||N,repeat:t.repeat||0,repeatDelay:t.repeatDelay||0,yoyo:t.yoyo||!1,type:"from"===t.type?"from":"to",initTime:e,appearTo:"number"==typeof t.appearTo?t.appearTo:null,perTime:0,currentRepeat:0}}Z.getTweenData=function(t,e){var n={data:{},dataType:{},dataUnit:{},dataCount:{},dataSplitStr:{}},r=e;if(T[t]&&((r=(r=r.toString().split(" ")).map(function(t){return"number"==typeof e?t+"px":t}))[1]=r[1]||r[0],r[2]=r[2]||r[0],r[3]=r[3]||r[1]||r[0],r=r.join(" ")),t.match(/colo|fill|storker/i)?(n.data[t]=(0,C.lu)(r),n.dataType[t]="color"):"strokeDasharray"===t?(n.data[t]=r.split(","),n.dataType[t]="strokeDasharray"):t.match(/shadow/i)?(n.data[t]=(0,C.hy)(r),n.dataType[t]="shadow"):"string"==typeof r&&r.split(/[\s|,]/).length>1?(n.data[t]=r.split(/[\s|,]/),n.dataSplitStr[t]=r.replace(/[^\s|,]/g,"").replace(/\s+/g," "),n.dataType[t]="string"):(n.data[t]=r,n.dataType[t]="other"),Array.isArray(n.data[t]))n.dataUnit[t]=n.data[t].map(function(t){return t.toString().replace(/[^a-z|%]/g,"")}),n.dataCount[t]=n.data[t].map(function(t){return t.toString().replace(/[^+|=|-]/g,"")}),n.data[t]=n.data[t].map(function(t){return parseFloat(t)||0===parseFloat(t)?parseFloat(t):t});else{n.dataUnit[t]=n.data[t].toString().replace(/[^a-z|%]/g,""),n.dataCount[t]=n.data[t].toString().replace(/[^+|=|-]/g,"");var a=parseFloat(n.data[t].toString().replace(/[a-z|%|=]/g,""));n.data[t]=a||0===a?a:n.data[t]}return n},Z.setDefaultData=function(){var t=this;this.propsData.data={},this.propsData.dataType={},this.propsData.dataUnit={},this.propsData.dataCount={},this.propsData.dataSplitStr={},Object.keys(this.vars).forEach(function(e){if(e in j){t.propsData.data[e]=new j[e](t.target,t.vars[e]);return}var n=(0,C.Lo)(e),r=t.getTweenData(n,t.vars[e]);t.propsData.data[n]=r.data[n],t.propsData.dataType[n]=r.dataType[n],t.propsData.dataUnit[n]=r.dataUnit[n],t.propsData.dataCount[n]=r.dataCount[n],r.dataSplitStr[n]&&(t.propsData.dataSplitStr[n]=r.dataSplitStr[n])})},Z.convertToMarksArray=function(t,e,n,r,a){var o=r.toString().replace(/[^a-z|%]/g,""),i=e[a];return o===i?parseFloat(r):parseFloat(r)||0===parseFloat(r)?_(this.target,t,n,r,o,i,null,"transformOrigin"===n&&!a):r},Z.getAnimStart=function(t,e,n){var r=this,o={},i=e.style||{},s=void 0;return Object.keys(this.propsData.data).forEach(function(e){var l=(0,C.dt)(e),u=i[l]||t[l],c="fixed"===t.position;u&&"none"!==u&&"auto"!==u||(u="");var f=void 0,p=void 0;if(e in j)"bezier"===e&&(r.transform=(0,C.Yf)("transform"),u=t[n?"transformSVG":r.transform],s=s||(i.transform?(0,a.default)({},i.transform):o.transform||(0,C.Ck)(u)),o.transform=s),r.propsData.data[e].getAnimStart(t,n);else if("transform"===l){r.transform=(0,C.Yf)("transform"),u=t[n?"transformSVG":r.transform],f=r.propsData.dataUnit[e],s=s||(i.transform?(0,a.default)({},i.transform):o.transform||(0,C.Ck)(u));var d=/%|vw|vh|em|rem/i;f&&f.match(d)&&(s[e]=s[e]&&s[e].toString().match(d)?parseFloat(s[e]):_(r.target,t,e,s[e],null,f)),o.transform=s}else"filter"===l?(i[l]?u=i[l]:(r.filterName=(0,C.Yf)("filter")||"filter",u=t[r.filterName],r.filterObject=(0,a.default)({},r.filterObject,(0,C.GX)(u)),u=r.filterObject[e]||0),p=u.toString().replace(/[^a-z|%]/g,""),(f=r.propsData.dataUnit[e])!==p&&(u=_(r.target,t,l,parseFloat(u),p,f,c)),o[e]=parseFloat(u)):e.match(/color|fill/i)||"stroke"===e?(u=u||"stroke"!==e?u:"rgba(255, 255, 255, 0)",o[l]=(0,C.lu)(u)):e.match(/shadow/i)?(u=(0,C.hy)(u),f=r.propsData.dataUnit[e],u=u.map(r.convertToMarksArray.bind(r,t,f,e)),o[l]=u):Array.isArray(r.propsData.data[e])?(u=u.split(/[\s|,]/).filter(function(t){return t||0===t}),f=r.propsData.dataUnit[e],u=u.map(r.convertToMarksArray.bind(r,t,f,e)),o[l]=u):((f=r.propsData.dataUnit[l])!==(p=u.toString().replace(/[^a-z|%]/g,""))&&(u=_(r.target,t,l,parseFloat(u),p,f,c)),o[l]=parseFloat(u||0))}),this.start=o,o},Z.setArrayRatio=function(t,e,n,r,a){"color"===a&&4===e.length&&3===n.length&&(n[3]=1);var o=e.indexOf("inset")>=0,i=n.indexOf("inset")>=0;if(o&&!i||i&&!o)throw console.error('Error: "box-shadow" inset have to exist');var s=i?9:8;e.length===s&&n.length===s-1?(n.splice(3,0,0),r.splice(3,0,"")):n.length===s&&e.length===s-1&&e.splice(3,0,0);var l=n.map(function(n,o){var i="color"!==a||3!==o||e[o]?0:1,s="number"==typeof e[o]?e[o]:i;return"string"==typeof n?n:(n-s)*t+s+(r[o]||0)});if("color"===a)return(0,C.Lq)(l);if("shadow"===a){var u=l.length===s?4:3,c=l.slice(0,u).map(function(t){return"number"==typeof t?t+"px":t}),f=l.slice(u,i?l.length-1:l.length),p=(0,C.Lq)(f);return(c.join(" ")+" "+p+" "+(i?"inset":"")).trim()}return l},Z.setRatio=function(t,e,n){var r=this;e.style=e.style||{},this.start.transform&&(e.style.transform=e.style.transform||(0,a.default)({},this.start.transform));var o=this.target.style;Object.keys(this.propsData.data).forEach(function(a){var i="transform"===(0,C.Tk)(a),s=i?r.start.transform[a]:r.start[a],l=r.propsData.data[a],u=r.propsData.dataUnit[a],c=r.propsData.dataCount[a];if(a in j){r.propsData.data[a].setRatio(t,e,n),"bezier"===a?o[r.transform]=M(e.style.transform):Object.keys(e.style).forEach(function(t){o[t]=e.style[t]});return}if(i){if(u&&u.match(/%|vw|vh|em|rem/i))s=parseFloat(r.start.transform[a]),"="===c.charAt(1)?e.style.transform[a]=s+l*t+u:e.style.transform[a]=(l-s)*t+s+u;else if("scale"===a){var f=r.start.transform.scaleX,p=r.start.transform.scaleY;"="===c.charAt(1)?(e.style.transform.scaleX=f+l*t,e.style.transform.scaleY=p+l*t):(e.style.transform.scaleX=(l-f)*t+f,e.style.transform.scaleY=(l-p)*t+p)}else"="===c.charAt(1)?e.style.transform[a]=s+l*t:e.style.transform[a]=(l-s)*t+s;o[r.transform]=M(e.style.transform),n&&(n.transformSVG=(0,C.wz)(o[r.transform]).toString());return}if(Array.isArray(l)){var d=r.propsData.dataType[a];e.style[a]=r.setArrayRatio(t,s,l,u,d),"string"===d&&(e.style[a]=e.style[a].join(r.propsData.dataSplitStr[a]))}else{var h=(0,C.YJ)(a,0);if(h="number"==typeof h?"":h.replace(/[^a-z|%]/g,""),u=u||(C._T.filter.indexOf(a)>=0?"":h),"string"==typeof l)e.style[a]=l;else if("="===c.charAt(1))e.style[a]=s+l*t+u;else{var m=(l-s)*t+s;e.style[a]=u?""+m+u:m}}if(C._T.filter.indexOf(a)>=0){if(!r.filterObject)return;r.filterObject[a]=e.style[a];var v="";Object.keys(r.filterObject).forEach(function(t){v+=" "+t+"("+r.filterObject[t]+")"}),o[r.filterName]=v.trim();return}o[a]=e.style[a]})},j.push(P);var R=function(t,e,n){var r=k(e);this.target=t,this.attr=n||"style",this.accuracy=1e-5,this.totalTime=0,this.progressTime=0,this.defaultData=[],this.start={},this.startDefaultData={},this.tween={},this.data=r,this.perFrame=Math.round(1e3/60),this.register=!1,this.isSvg=this.target.ownerSVGElement;var a=this.setAttrIsStyle();this.setDefaultData(a)},I=R.prototype;I.setAttrIsStyle=function(){var t=this,e=[],n=L({},0);return this.data.forEach(function(r,o){var i=(0,a.default)({},r);"style"===t.attr?(e[o]={},Object.keys(i).forEach(function(t){t in n&&(e[o][t]=i[t],delete i[t])}),e[o].style=i,t.startDefaultData.style=t.target.getAttribute("style")||""):"attr"===t.attr&&(Object.keys(i).forEach(function(e){if("style"===e&&Array.isArray(r[e]))throw Error("Style should be the object.");if("bezier"===e)i.style=(0,a.default)({},i.style,{bezier:i[e]}),delete i[e],t.startDefaultData.style=t.target.getAttribute("style")||"";else{if(e in n)return;t.startDefaultData[e]=t.getValue(e)}}),e[o]=i)}),e},I.setDefaultData=function(t){var e=this,n=0,r=!1,a=t.map(function(t){var a="number"==typeof t.appearTo;a||(n+=t.delay||0);var o=(t.appearTo||0)+(t.delay||0),i=L(t,a?o:n);i.vars={},Object.keys(t).forEach(function(n){if(!(n in i)){var r=t[n];if(n in j)i.vars[n]=new j[n](e.target,r,i.type);else if(("d"===n||"points"===n)&&"SVGMorph"in j)i.vars[n]=new j.SVGMorph(e.target,r,n);else if(n.match(/color/i)||"stroke"===n||"fill"===n)i.vars[n]={type:"color",vars:(0,C.lu)(r)};else if("number"==typeof r||r.split(/[,|\s]/g).length<=1){var a=parseFloat(r),o=r.toString().replace(/[^a-z|%]/g,""),s=r.toString().replace(/[^+|=|-]/g,"");i.vars[n]={unit:o,vars:a,count:s}}}}),i.yoyo&&!i.repeat&&console.warn("Warning: yoyo must be used together with repeat;"),-1===i.repeat&&(r=!0);var s=-1===i.repeat?0:i.repeat;if(a){var l=t.appearTo+(t.delay||0)+i.duration*(s+1)+i.repeatDelay*s;n=l>=n?l:n}else i.delay<-i.duration?n-=i.delay:n+=i.duration*(s+1)+i.repeatDelay*s;return i.mode="",i});this.totalTime=r?Number.MAX_VALUE:n,this.defaultData=a},I.getComputedStyle=function(){var t=document.defaultView?document.defaultView.getComputedStyle(this.target):{};if(this.isSvg){var e=t[(0,C.Yf)("transform")]||"none";if("none"===e){var n=this.target.getAttribute("style");n&&n.indexOf("transform:")>=0?e=n.split(";").filter(function(t){return t.indexOf("transform:")>=0}).map(function(t){return(0,C.wz)(t.split(":")[1].trim()).toString()})[0]:this.target.getAttribute("transform")&&console.warn("Do not add transform on the label, otherwise it will be invalid.")}t.transformSVG=e}return t},I.getAnimStartData=function(t){var e=this,n={};return Object.keys(t).forEach(function(r){if(r in j||"attr"===e.attr&&("d"===r||"points"===r)){e.computedStyle=e.computedStyle||(e.target.getAttribute?e.getComputedStyle():(0,a.default)({},e.target)),n[r]=t[r].getAnimStart(e.computedStyle,e.tween,e.isSvg);return}if("attr"===e.attr){var o=e.getValue(r),i=r.match(/opacity/ig)?1:0,s="null"!==o&&o?o:i;if(r.match(/color/i)||"stroke"===r||"fill"===r)s=s||"stroke"!==r?s:"rgba(255, 255, 255, 0)",s=(0,C.lu)(s),n[r]=s;else if(parseFloat(s)||0===parseFloat(s)||0===s){var l=s.toString().replace(/[^a-z|%]/g,"");n[r]=l!==t[r].unit?_(e.target,r,parseFloat(s),l,t[r].unit):parseFloat(s)}return}n[r]=e.target[r]||0}),n},I.setAnimData=function(t){var e=this;Object.keys(t).forEach(function(n){n in j||"attr"===e.attr&&("d"===n||"points"===n)||(e.target[n]=t[n])})},I.setRatio=function(t,e,n){var r=this;Object.keys(e.vars).forEach(function(a){if(a in j||"attr"===r.attr&&("d"===a||"points"===a)){e.vars[a].setRatio(t,r.tween,r.isSvg&&r.computedStyle);return}var o=e.vars[a],i=r.start[n][a],s=void 0;"attr"===r.attr&&(o.type?"color"===o.type&&(3===o.vars.length&&4===i.length&&(o.vars[3]=1),s=o.vars.map(function(e,n){var r=i[n]||0;return(e-r)*t+r}),r.setValue(a,(0,C.Lq)(s))):(s="="===o.unit.charAt(1)?i+o.vars*t+o.unit:(o.vars-i)*t+i+o.unit,r.setValue(a,o.unit?s:parseFloat(s))))}),this.setAnimData(this.tween)},I.getValue=function(t){return this.target.getAttribute?this.target.getAttribute(t):this.target[t]},I.setValue=function(t,e){this.target.setAttribute?this.target.setAttribute(t,e):this.target[t]=e},I.render=function(){var t=this,e=this.reverse;this.defaultData.forEach(function(n,r){var o=n.initTime,i=(0,C.FH)(n.duration),s=Math.ceil((t.progressTime-o)/(i+n.repeatDelay))-1||0;if(s=s<0?0:s,n.repeat){if(n.repeat=0)||t.start[r]||(t.start[r]=t.getAnimStartData(n.vars),ci&&(f=n.ease(1,l,u,1),t.setRatio(f,n,r)),t.register&&(!r||o)||(t.register=!0,0!==c||!n.duration||!n.delay))){var p={index:r,target:t.target},d=(0,a.default)({moment:t.progressTime},p),h=t.perFrame-t.accuracy,m=n.delay&&e?-h:0;if((c>=m&&!(c>i&&"onComplete"===n.mode)||c=t.perFrame?0:c)>=i-t.accuracy&&!e||e&&c<=0)&&s>=n.repeat){if("onComplete"===n.mode)return;if(f=n.ease(e?0:1,l,u,1),t.setRatio(f,n,r,n.currentRepeat!==s),(!n.reset||n.reset&&c>=i)&&!v)i=i+h)return;n.mode="onComplete"}else if(i>h){var y=c<0?0:c;y=y>i?i:y,f=n.ease(y,l,u,i),t.setRatio(f,n,r),v||(n.repeat&&s>0&&n.currentRepeat!==s?(n.mode="onRepeat",n.currentRepeat=s,n.onRepeat((0,a.default)({},p,{repeatNum:s}))):(n.perTime<=0||e&&n.perTime>=t.reverseStartTime-o)&&"onStart"!==n.mode?(n.mode="onStart",n.onStart(p)):(n.mode="onUpdate",n.onUpdate((0,a.default)({ratio:f},p))))}v||(d.mode=n.mode,t.onChange(d)),n.perTime=c,n.reset&&delete n.reset}}})},I.frame=function(t){var e=this;this.progressTime=t,this.defaultData.forEach(function(t){var n=e.progressTime-t.duration-t.initTime;n0&&(e.progressTime=t.duration+t.initTime)}),this.render()},I.init=I.frame,I.resetAnimData=function(){this.tween={},this.start={}};var U=function(t,e,n){var r=L({},0),a=function(t){return t.split(";").filter(function(t){return t}).map(function(t){return t.split(":").map(function(t){return t.trim()})})},o=a(e),i=a(t);return n.forEach(function(t){Object.keys(t).forEach(function(t){if(!(t in r)){var e=(0,C.Dm)((0,C.Tk)((0,C.Lo)("bezier"===t?"transform":t)));i=i.filter(function(t){return(!w[t[0]]||!w[e])&&t[0]!==e})}})}),o.forEach(function(t){i=i.filter(function(e){return e[0]!==t[0]})}),o.concat(i).map(function(t){return t.join(":")}).join(";")};I.resetDefaultStyle=function(){var t=this;this.tween={},this.defaultData=this.defaultData.map(function(t){return t.reset=!0,delete t.mode,t});var e=L({},0);Object.keys(this.startDefaultData).forEach(function(n){if(!(n in e)){if("style"===n){var r=U(t.target.style.cssText,t.startDefaultData.style,t.data);t.setValue(n,r)}else t.setValue(n,t.startDefaultData[n]);t.computedStyle=null}})},I.reStart=function(t,e,n){var r=this;this.start={},this.tween={},Object.keys(t||{}).forEach(function(a){(n||!e||t[a]!==e[a])&&(r.target.style[a]=(0,C.YJ)(a,t[a]))}),this.setAttrIsStyle(),this.computedStyle=null},I.onChange=N;var X=n(19616),V=n.n(X),B=Date.now||function(){return new Date().getTime()},H={interval:1,timeout:1,TweenOneTicker:2},Y=function(t){return Object.keys(t).map(function(e){return{key:e,func:t[e]}}).sort(function(t,e){var n=t.key.split("_")[0];return H[e.key.split("_")[0]]-H[n]})},z=function(){};z.prototype={tickFnArray:[],tickKeyObject:{},id:-1,tweenId:0,frame:0,perFrame:Math.round(1e3/60),elapsed:0,lastUpdate:B(),startTime:B(),nextTime:0,time:0};var W=z.prototype;W.add=function(t){var e="TweenOneTicker_"+this.tweenId;return this.tweenId++,this.wake(e,t),e},W.wake=function(t,e){this.tickKeyObject[t]=e,this.tickFnArray=Y(this.tickKeyObject),-1===this.id&&(this.id=V()(this.tick))},W.clear=function(t){delete this.tickKeyObject[t],this.tickFnArray=Y(this.tickKeyObject)},W.sleep=function(){V().cancel(this.id),this.id=-1,this.frame=0};var q=new z;W.tick=function(t){q.elapsed=B()-q.lastUpdate,q.elapsed>300&&(q.startTime+=q.elapsed-q.perFrame),q.lastUpdate+=q.elapsed,q.time=q.lastUpdate-q.startTime;var e=q.time-q.nextTime;if((e>0||!q.frame)&&(q.frame++,q.nextTime+=e),q.tickFnArray.forEach(function(e){return e.func(t)}),!q.tickFnArray.length){q.sleep();return}q.id=V()(q.tick)};var G=0;W.timeout=function(t,e){var n=this;if("function"!=typeof t)return console.warn("not function");var r="timeout_"+Date.now()+"-"+G,a=this.time;return this.wake(r,function(){n.time-a>=(e||0)&&(n.clear(r),t())}),G++,r};var Q=0;W.interval=function(t,e){var n=this;if("function"!=typeof t)return console.warn("not function"),null;var r="interval_"+Date.now()+"-"+Q,a=this.time;return this.wake(r,function(){n.time-a>=(e||0)&&(a=n.time,t())}),Q++,r};var $=Math.round(1e3/60),K=p().oneOfType([p().object,p().array]),J=function(t){function e(t){(0,o.default)(this,e);var n=(0,i.default)(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return tt.call(n),n.rafID=-1,n.paused=t.paused,n.reverse=t.reverse,n.updateAnim=!1,n.repeatNum=0,n.currentRef=null,n.forced={},n.setForcedJudg(t),n.state={$self:n},n}return(0,l.default)(e,t),(0,s.default)(e,null,[{key:"getDerivedStateFromProps",value:function(t,e){var n=e.prevProps,r=e.$self,a={prevProps:t};if(n&&t!==n){if(!r.tween&&!r.dom)return r.updateAnim=!0,a;var o=t.animation;E(n.animation,o)||(t.resetStyle&&r.tween&&r.tween.resetDefaultStyle(),r.updateAnim=!0);var i=t.moment;"number"==typeof i&&i!==n.moment&&(r.tween&&!r.updateAnim?(r.startMoment=i,r.startTime=q.time,t.paused&&r.raf(),r.tween.progressTime>=r.tween.totalTime&&r.play()):r.updateAnim=!0),r.paused===t.paused&&r.reverse===t.reverse||(r.paused=t.paused,r.reverse=t.reverse,r.paused?r.cancelRequestAnimationFrame():r.reverse&&t.reverseDelay?(r.cancelRequestAnimationFrame(),q.timeout(r.restart,t.reverseDelay)):(r.tween&&(r.tween.resetAnimData(),r.tween.resetDefaultStyle()),r.updateAnim||r.restart())),!E(n.style,t.style)&&r.tween&&(r.tween.reStart(t.style,n.style,r.tween.progressTime=0?n:Number.MAX_VALUE;var o=q.time-t.startTime+t.startMoment;t.reverse&&(o=(t.startMoment||0)-(q.time-t.startTime));var i=Math.floor((o=(o=o>r?r:o)<=0?0:o)/t.tween.totalTime)||0;i=i>n?n:i;var s=o-t.tween.totalTime*i;s=s<$&&!t.reverse&&r>=$?0:s,n&&o&&o-t.tween.totalTime*i<$&&t.tween.frame(t.tween.totalTime*i),(o=r&&!t.reverse||!o&&t.reverse?n.timelineMode="onTimelineComplete":i!==t.timelineRepeatNum?n.timelineMode="onTimelineRepeat":n.timelineMode="onTimelineUpdate":n.timelineMode="onTimelineStart",t.timelineRepeatNum=i,t.props.onChange(n)},t.moment=o,t.repeatNum=i,t.tween.frame(s)},this.raf=function(){var e=t.tween;if(t.frame(),e!==t.tween)return null;var n=t.props.repeat,r=-1===n?Number.MAX_VALUE:t.tween.totalTime*(n+1);return t.moment>=r&&!t.reverse||t.paused||t.reverse&&0===t.moment?t.cancelRequestAnimationFrame():null},this.cancelRequestAnimationFrame=function(){q.clear(t.rafID),t.rafID=-1}};J.isTweenOne=!0;var te=g(J),tn=function(t){function e(t){(0,o.default)(this,e);var n=(0,i.default)(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));tr.call(n),n.keysToEnter=[],n.keysToLeave=[],n.saveTweenTag={},n.onEnterBool=!1,n.animQueue=[],n.isTween={};var r=S(A(n.props));return n.currentChildren=S(A(n.props)),n.state={children:r,$self:n},n}return(0,l.default)(e,t),(0,s.default)(e,null,[{key:"getDerivedStateFromProps",value:function(t,e){var n=e.prevProps,r=e.$self,a={prevProps:t};if(n&&t!==n){var o=S(t.children);if(Object.keys(r.isTween).length&&!t.exclusive)return r.animQueue.push(o),a;var i=S(r.currentChildren);a.children=r.changeChildren(o,i)}return a}}]),(0,s.default)(e,[{key:"componentDidMount",value:function(){this.onEnterBool=!0}},{key:"changeChildren",value:function(t,e){var n,r,a,o,i=this,s=(n=[],r={},a=[],o=void 0,e.forEach(function(e){e&&(O(t,e.key)?(a.length&&(r[e.key]=a,a=[]),o=e.key):e.key&&a.push(e))}),o||(n=n.concat(a)),t.forEach(function(t){t&&(r.hasOwnProperty(t.key)&&(n=n.concat(r[t.key])),n.push(t),t.key===o&&(n=n.concat(a)))}),n);return this.keysToEnter=[],this.keysToLeave=[],t.forEach(function(t){if(t){var n=t.key,r=O(e,n);i.saveTweenTag[n]&&(i.saveTweenTag[n]=u.cloneElement(i.saveTweenTag[n],{},t)),!r&&n&&i.keysToEnter.push(n)}}),e.forEach(function(e){if(e){var n=e.key;!O(t,n)&&n&&(i.keysToLeave.push(n),delete i.saveTweenTag[n])}}),s}},{key:"render",value:function(){var t=this.state.children;this.currentChildren=t;var e=this.getChildrenToRender(t),n=this.props,o=n.component,i=n.componentProps,s=(n.appear,n.enter,n.leave,n.animatingClassName,n.onEnd,n.exclusive,n.resetStyle,(0,r.default)(n,["component","componentProps","appear","enter","leave","animatingClassName","onEnd","exclusive","resetStyle"]));return o?(0,u.createElement)(o,(0,a.default)({},s,i),e):e[0]||null}}]),e}(u.Component),tr=function(){var t=this;this.onChange=function(e,n,r,a){var o=k(e).length,i=a.target,s="object"==typeof i.className&&"baseVal"in i.className,l="enter"===r||"appear"===r;if("onStart"===a.mode)s?i.className.baseVal=t.setClassName(i.className.baseVal,l):i.className=t.setClassName(i.className,l);else if(a.index===o-1&&"onComplete"===a.mode){if(delete t.isTween[n],s?i.className.baseVal=i.className.baseVal.replace(t.props.animatingClassName[l?0:1],"").trim():i.className=i.className.replace(t.props.animatingClassName[l?0:1],"").trim(),"enter"===r)t.keysToEnter.splice(t.keysToEnter.indexOf(n),1),t.keysToEnter.length||t.reAnimQueue();else if("leave"===r&&(t.keysToLeave.splice(t.keysToLeave.indexOf(n),1),t.currentChildren=t.currentChildren.filter(function(t){return n!==t.key}),!t.keysToLeave.length)){var u=t.currentChildren.map(function(t){return t.key});Object.keys(t.saveTweenTag).forEach(function(e){-1===u.indexOf(e)&&delete t.saveTweenTag[e]}),t.setState({children:t.currentChildren},t.reAnimQueue)}t.props.onEnd({key:n,type:r})}},this.setClassName=function(e,n){var r=e.replace(t.props.animatingClassName[n?1:0],"").trim();return -1===r.indexOf(t.props.animatingClassName[n?0:1])&&(r=(r+" "+t.props.animatingClassName[n?0:1]).trim()),r},this.getTweenChild=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.key;return t.saveTweenTag[r]=u.createElement(te,(0,a.default)({},n,{key:r,component:null}),e),t.saveTweenTag[r]},this.getCoverAnimation=function(e,n,r){var a=void 0;a="leave"===r?t.props.leave:t.props.enter,"appear"===r&&(a=x(t.props.appear,e.key,n)&&t.props.enter||null);var o=x(a,e.key,n),i=t.onChange.bind(t,o,e.key,r),s={key:e.key,animation:o,onChange:i,resetStyle:t.props.resetStyle};return(t.keysToEnter.concat(t.keysToLeave).indexOf(e.key)>=0||!t.onEnterBool&&a)&&!t.saveTweenTag[e.key]&&(t.isTween[e.key]=r),t.getTweenChild(e,s)},this.getChildrenToRender=function(e){return e.map(function(e,n){if(!e||!e.key)return e;var r=e.key;return t.keysToLeave.indexOf(r)>=0?t.getCoverAnimation(e,n,"leave"):(t.keysToEnter.indexOf(r)>=0||t.isTween[r]&&-1===t.keysToLeave.indexOf(r))&&!("enter"===t.isTween[r]&&t.saveTweenTag[r])?t.getCoverAnimation(e,n,"enter"):t.onEnterBool?t.saveTweenTag[r]:t.getCoverAnimation(e,n,"appear")})},this.reAnimQueue=function(){if(!Object.keys(t.isTween).length&&t.animQueue.length){var e=t.changeChildren(t.animQueue[t.animQueue.length-1],t.state.children);t.setState({children:e}),t.animQueue=[]}}};tn.propTypes={component:p().any,componentProps:p().object,children:p().any,style:p().object,appear:p().bool,enter:p().any,leave:p().any,animatingClassName:p().array,onEnd:p().func,resetStyle:p().bool,exclusive:p().bool},tn.defaultProps={component:"div",componentProps:{},appear:!0,animatingClassName:["tween-one-entering","tween-one-leaving"],enter:{x:50,opacity:0,type:"from"},leave:{x:-50,opacity:0},onEnd:function(){},resetStyle:!0,exclusive:!1},tn.isTweenOneGroup=!0;var ta=g(tn);te.TweenOneGroup=ta,te.easing=D,te.plugins=j,te.ticker=q,te.Tween=R;var to=n(53046),ti=n(55171),ts=0,tl=function(t){function e(t){(0,o.default)(this,e);var n=(0,i.default)(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.setDefaultData=function(t){(0,ti.Zk)(t).forEach(function(t,e){var r,o=(Array.isArray(r=t.playScale)?2===r.length?r:[r[0]||0,r[1]||1]:r?[r,1]:[0,1]).map(function(t){return t*n.clientHeight}),i=(0,a.default)({},t);delete i.playScale;var s=(0,a.default)({},t);delete s.playScale,s.delay=o[0],i.delay=o[0],s.duration=o[1]-o[0],i.duration=o[1]-o[0],s.onStart=null,s.onUpdate=null,s.onComplete=null,s.onRepeat=null,i.onStart=i.onStart||ti.ZT,i.onComplete=i.onComplete||ti.ZT,i.onUpdate=i.onUpdate||ti.ZT,i.onStartBack=i.onStartBack||ti.ZT,i.onCompleteBack=i.onCompleteBack||ti.ZT,n.defaultTweenData[e]=s,n.defaultData[e]=i})},n.resizeEventListener=function(){n.defaultData[n.defaultData.length-1]&&n.defaultData[n.defaultData.length-1].onCompleteBool&&!n.props.always||(n.scrollTop=(0,ti.Xh)(),n.target=n.props.targetId&&document.getElementById(n.props.targetId),n.clientHeight=n.target?n.target.clientHeight:(0,ti.uK)(),n.setDefaultData(n.props.animation||{}),n.timeline&&n.timeline.resetDefaultStyle(),n.timeline=new R(n.dom,n.defaultTweenData),n.timeline.init(),n.scrollEventListener())},n.scrollEventListener=function(){var t=n.target?n.target.scrollTop:(0,ti.Xh)();n.clientHeight=n.target?n.target.clientHeight:(0,ti.uK)();var e=n.props.location?document.getElementById(n.props.location):n.dom;if(!e)throw Error('"location" is null');var r=n.target?n.target.getBoundingClientRect().top:0,a=e.getBoundingClientRect().top+t-r,o=t-a+n.clientHeight,i=n.scrollTop-a+n.clientHeight;n.defaultData.forEach(function(t,e){var r=n.defaultData.map(function(t,n){return n=t.delay+r?t.onStartBool||(t.onStartBool=!0,a=!0,t.onStart()):t.onStartBool=!1,o<=t.delay+t.duration+r?!t.onStartBackBool&&t.onCompleteBool&&(t.onStartBackBool=!0,a=!0,t.onStartBack()):t.onStartBackBool=!1,o>=t.delay+t.duration+r?t.onCompleteBool||(t.onCompleteBool=!0,a=!0,t.onComplete()):t.onCompleteBool=!1,o>=t.delay+r&&o<=t.delay+t.duration+r&&!a&&t.onUpdate(o/(t.delay+t.duration+r))}),q.clear(n.tickerId),n.tickerId="scrollParallax"+Date.now()+"-"+ts,++ts>=Number.MAX_VALUE&&(ts=0);var s=q.frame;q.wake(n.tickerId,function(){var t=(q.frame-s)*q.perFrame,e=h().easeOutQuad(t,.08,1,300);n.timeline.frame(i+e*(o-i)),t>=300&&q.clear(n.tickerId)}),n.scrollTop=t,n.defaultData[n.defaultData.length-1].onCompleteBool&&n.eventType&&!n.props.always&&to.Z.removeEventListener(n.eventType,n.scrollEventListener,n.target)},n.scrollTop=0,n.defaultTweenData=[],n.defaultData=[],n.state={$self:n},n}return(0,l.default)(e,t),(0,s.default)(e,null,[{key:"getDerivedStateFromProps",value:function(t,e){var n=e.prevProps,r=e.$self;return n&&t!==n&&!(0,ti.Xv)(n.animation,t.animation)&&(r.setDefaultData(t.animation||{}),r.timeline.resetAnimData(),r.timeline.setDefaultData(r.defaultTweenData)),{prevProps:t}}}]),(0,s.default)(e,[{key:"componentDidMount",value:function(){this.dom=c.findDOMNode(this);var t=Date.now(),e=to.Z._listeners.scroll?to.Z._listeners.scroll.length:0;this.eventType="scroll.scrollEvent"+t+e,this.eventResize="resize.resizeEvent"+t+e,this.resizeEventListener(),to.Z.addEventListener(this.eventResize,this.resizeEventListener,this.target),this.timeline.frame(0),this.scrollEventListener(),to.Z.addEventListener(this.eventType,this.scrollEventListener,this.target)}},{key:"componentWillUnmount",value:function(){to.Z.removeEventListener(this.eventType,this.scrollEventListener,this.target),to.Z.removeEventListener(this.eventResize,this.resizeEventListener,this.target)}},{key:"render",value:function(){var t=this.props,e=(t.animation,t.always,t.component,t.location,t.targetId,t.componentProps),n=(0,r.default)(t,["animation","always","component","location","targetId","componentProps"]),o=(0,a.default)({},n.style);return Object.keys(o).forEach(function(t){if(t.indexOf("filter")>=0||t.indexOf("Filter")>=0)for(var e=["Webkit","Moz","Ms","ms"],n=0;n-1;)(f=u[p]).n===s&&f.c===e?u.splice(p,1):0===c&&(c=p+1);var d=n||this._eventTarget;u.splice(c,0,{c:e,n:s,t:i}),!this._listFun[l]&&(this._listFun[l]=this._listFun[l]||this.dispatchEvent.bind(this,{type:i,target:n}),d.addEventListener?d.addEventListener(i,this._listFun[l],r):d.attachEvent&&d.attachEvent("on"+i,this._listFun[l]))},removeEventListener:function(t,e,n,r){var o=t.split("."),i=o[0],s=o[1],l=""+i+(n?"_"+n.getAttribute(a):""),u=this._listeners[l],c=void 0,f=r;if(s||(f=!0),u){c=u.length;for(var p=n||this._eventTarget;--c>-1;)if(u[c].c===e&&(f||u[c].n===s)){if(u.splice(c,1),!u.length){var d=this._listFun[l];delete this._listeners[l],delete this._listFun[l],p.removeEventListener?p.removeEventListener(i,d):p.detachEvent&&p.detachEvent("on"+i,d)}if(!f)return}}},dispatchEvent:function(t,e){var n=t.type,r=t.target,o=""+n+(r?"_"+r.getAttribute(a):""),i=this._listeners[o],s=void 0,l=void 0,u=void 0;if(i){for(s=i.length,l=this._eventTarget;--s>-1;)if(u=i[s]){var c=e||{type:n,target:l};u.c.call(l,c)}}},removeAllType:function(t,e){var n=this,o=t.split("."),i=o[0],s=o[1],l=""+i+(e?"_"+e.getAttribute(a):""),u=this._listeners[l];this.recoverLists=this.recoverLists.concat((0,r.dataToArray)(u).filter(function(t){return t.n&&t.n.match(s)})),this.recoverLists.forEach(function(t){n.removeEventListener(t.t+"."+t.n,t.c,e)})},reAllType:function(t,e){var n=this,r=t.split("."),a=r[0],o=r[1];this.recoverLists=this.recoverLists.map(function(t){return t.t===a&&t.n.match(o)?(n.addEventListener(t.t+"."+t.n,t.c,e),null):t}).filter(function(t){return t})}},e.default=new o("undefined"!=typeof document&&window),t.exports=e.default},4139:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=h(n(61707)),a=h(n(61200)),o=h(n(82864)),i=h(n(73006)),s=h(n(97559)),l=h(n(71212)),u=h(n(50959)),c=h(n(10422)),f=h(n(40507)),p=h(n(17074)),d=n(84510);function h(t){return t&&t.__esModule?t:{default:t}}var m=function(t){function e(t){(0,o.default)(this,e);var n=(0,i.default)(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.getParam=function(t){n.clientHeight=n.target?n.target.clientHeight:(0,d.windowHeight)();var e=n.target?n.target.scrollTop:(0,d.currentScrollTop)(),r=n.dom.getBoundingClientRect(),a=n.target?n.target.getBoundingClientRect().top:0,o=r.top+e-a;n.elementShowHeight=e-o+n.clientHeight;var i=(0,d.transformArguments)(n.props.playScale),s=/([\+\-]?[0-9#\.]+)(px|vh|%)?/.exec(String(i[0]));s[2]?"px"===s[2]?n.playHeight=parseFloat(s[1]):n.playHeight=n.clientHeight*parseFloat(s[1])/100:n.playHeight=n.clientHeight*parseFloat(i[0]);var l=r.height,u=/([\+\-]?[0-9#\.]+)(px|vh|%)?/.exec(String(i[1]));u[2]?"px"===u[2]?n.leavePlayHeight=parseFloat(u[1]):n.leavePlayHeight=l*parseFloat(u[1])/100:n.leavePlayHeight=l*parseFloat(i[1]);var c=n.props.replay?n.elementShowHeight>=n.playHeight&&n.elementShowHeight<=n.clientHeight+n.leavePlayHeight:n.elementShowHeight>=n.playHeight,f=c?"enter":"leave",p=n.enter!==c||"boolean"!=typeof n.enter?f:null;p&&n.props.onChange({mode:p,id:n.props.id}),n.props.onScroll({domEvent:t,scrollTop:e,showHeight:n.elementShowHeight,offsetTop:o,id:n.props.id}),n.enter=c},n.addScrollEvent=function(){p.default.addEventListener(n.eventType,n.scrollEventListener,n.target),(0,d.currentScrollTop)()||n.scrollEventListener()},n.scrollEventListener=function(t){n.getParam(t)},n.state={$self:n},n}return(0,l.default)(e,t),(0,s.default)(e,null,[{key:"getDerivedStateFromProps",value:function(t,e){var n=e.prevProps,r=e.$self;return n&&t!==n&&r.scrollEventListener(),{prevProps:t}}}]),(0,s.default)(e,[{key:"componentDidMount",value:function(){if(!d.windowIsUndefined){this.dom=c.default.findDOMNode(this);var t=Date.now();this.target=this.props.targetId&&document.getElementById(this.props.targetId);var e=p.default._listeners.scroll?p.default._listeners.scroll.length:0;this.eventType="scroll.scrollEvent"+t+e,this.addScrollEvent()}}},{key:"componentWillUnmount",value:function(){p.default.removeEventListener(this.eventType,this.scrollEventListener,this.target)}},{key:"render",value:function(){var t=this.props,e=t.component,n=(t.playScale,t.location,t.targetId,t.onScroll,t.onChange,t.replay,t.componentProps),o=(0,a.default)(t,["component","playScale","location","targetId","onScroll","onChange","replay","componentProps"]);return u.default.createElement(e,(0,r.default)({},o,n))}}]),e}(u.default.Component);m.propTypes={component:f.default.any,playScale:f.default.any,id:f.default.string,onChange:f.default.func,onScroll:f.default.func,location:f.default.string,targetId:f.default.string,replay:f.default.bool,componentProps:f.default.object},m.defaultProps={component:"div",onChange:d.noop,onScroll:d.noop,playScale:.5,replay:!1,componentProps:{}},m.isScrollElement=!0,e.default=m,t.exports=e.default},12380:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=m(n(61707)),a=m(n(61200)),o=m(n(82864)),i=m(n(73006)),s=m(n(97559)),l=m(n(71212)),u=n(50959),c=m(u),f=m(n(40507)),p=m(n(17074)),d=m(n(4139)),h=n(84510);function m(t){return t&&t.__esModule?t:{default:t}}var v=function(t){function e(t){(0,o.default)(this,e);var n=(0,i.default)(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.scrollEventListener=function(t){n.getParam(t);var e=n.state.show,r=n.props,a=r.always,o=r.replay,i=n.elementShowHeight>n.clientHeight+n.leavePlayHeight;if(n.enter||!o&&i)e||n.setState({show:!0}),!a&&n.eventType&&p.default.removeEventListener(n.eventType,n.scrollEventListener,n.target);else if(a){var s=n.elementShowHeightObject.keys(n).length?e:n,o=Object.keys(e).length>Object.keys(n).length?n:e;Object.keys(a).forEach(function(e){r&&(e in o||(r=!1),"object"===(0,c.Z)(a[e])&&"object"===(0,c.Z)(o[e])?r=t(a[e],o[e]):"function"==typeof a[e]&&"function"==typeof o[e]?a[e].toString().replace(/\s+/g,"")!==o[e].toString().replace(/\s+/g,"")&&(r=!1):a[e]!==o[e]&&(r=!1))})};return Array.isArray(e)&&Array.isArray(n)?e.forEach(function(t,e){a(t,n[e])}):a(e,n),r}(m,Z.current)){var t,e=((t=P.current)||0===t?Array.isArray(t)?t:[t]:[]).map(function(t){return t instanceof Element||!(t instanceof i.Component)?t:(0,s.findDOMNode)(t)}).filter(function(t,e){return t instanceof Element?t:(console.warn("Warning: TweenOne tag[".concat(e,"] is not dom.")),!1)});if(N.current&&A&&N.current.kill(),O&&N.current){var n=d?j:(0,a.Z)((0,a.Z)({},j),C.props.style),r=Object.keys(n).map(function(t){return"".concat((0,u.Rs)(t),":").concat((0,u.YJ)(t,n[t]))}).join(";");e.forEach(function(t){t.setAttribute("style",r),delete t._tweenOneVars})}N.current=m&&(0,l.ZP)(e,{animation:m,attr:v,yoyo:T,moment:S,repeat:b,reverse:g,paused:y,repeatDelay:w,onChange:k,onChangeTimeline:E}),Z.current=m}},[m]),(0,i.useEffect)(function(){return function(){N.current&&N.current.kill&&N.current.kill()}},[]);var R=function(t){P.current=t,e&&"current"in e?e.current=t:"function"==typeof e&&e(t)};if(!d&&C&&"string"!=typeof C&&"boolean"!=typeof C&&"number"!=typeof C){var I=C.props||{},U=I.style,X=I.className,V=void 0===X?"":X,B=(0,a.Z)((0,a.Z)({},U),j),H=D?"".concat(D," ").concat(V).trim():V;return i.cloneElement(C,{style:B,ref:R,className:(0,r.Z)(new Set(H.split(/\s+/))).join(" ").trim()||void 0})}return d?(0,i.createElement)(d,(0,a.Z)((0,a.Z)({ref:R},_),h)):(console.warn("Warning: component is null, children must be ReactElement."),C)});d.isTweenOne=!0,d.displayName="TweenOne";var h=d},85096:function(t,e,n){"use strict";n.d(e,{Z:function(){return m}});var r=n(26407),a=n(12309),o=n(76729),i=n(10582),s=n(50959);function l(t){var e=[];return s.Children.forEach(t,function(t){e.push(t)}),e}function u(t,e){var n=null;return t&&t.forEach(function(t){!n&&t&&t.key===e&&(n=t)}),n}function c(t,e,n){return"function"==typeof t?t({key:e,index:n}):t}var f=n(98933),p=n(62561),d=["component","componentProps","leave","enter","appear","resetStyle","animatingClassName","onEnd","exclusive"],h=s.forwardRef(function(t,e){var n=t.component,h=void 0===n?"div":n,m=t.componentProps,v=void 0===m?{}:m,y=t.leave,g=void 0===y?{x:-50,opacity:0}:y,b=t.enter,w=void 0===b?{x:50,opacity:0,type:"from"}:b,T=t.appear,S=void 0===T||T,k=t.resetStyle,E=void 0===k||k,O=t.animatingClassName,x=void 0===O?["tween-one-entering","tween-one-leaving"]:O,A=t.onEnd,_=void 0===A?function(){}:A,M=t.exclusive,C=void 0!==M&&M,D=(0,i.Z)(t,d),F=(0,s.useRef)([]),j=(0,s.useRef)([]),P=(0,s.useRef)({}),Z=(0,s.useRef)(!1),N=(0,s.useRef)([]),L=(0,s.useRef)({}),R=l(t&&t.children),I=(0,s.useRef)(R),U=(0,s.useState)(R),X=(0,o.Z)(U,2),V=X[0],B=X[1],H=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.key;return P.current[n]=s.createElement(p.Z,(0,a.Z)((0,a.Z)({},e),{},{key:n,component:null}),t),P.current[n]},Y=function(t,e){var n=t.replace(x[e?1:0],"").trim();return -1===n.indexOf(x[e?0:1])&&(n="".concat(n," ").concat(x[e?0:1]).trim()),n},z=function(t,e){var n,r,a,o,i=(n=[],r={},a=[],o=null,e.forEach(function(e){e&&(e.key&&u(t,e.key)?(a.length&&(r[e.key]=a,a=[]),o=e.key):e.key&&a.push(e))}),o||(n=n.concat(a)),t.forEach(function(t){t&&(t.key&&r.hasOwnProperty(t.key)&&(n=n.concat(r[t.key])),n.push(t),t.key===o&&(n=n.concat(a)))}),n);return F.current=[],j.current=[],t.forEach(function(t){if(t){var n=t.key,r=u(e,n);n&&P.current[n]&&(P.current[n]=s.cloneElement(P.current[n],{},t)),!r&&n&&F.current.push(n)}}),e.forEach(function(e){if(e){var n=e.key;!u(t,n)&&n&&(j.current.push(n),delete P.current[n])}}),i},W=function(){!Object.keys(L.current).length&&N.current.length&&(B(z(N.current[N.current.length-1],I.current)),N.current=[])},q=function(t,e,n){var a=n.targets,o="object"===(0,r.Z)(a.className)&&"baseVal"in a.className,i="enter"===e||"appear"===e;if(t&&"onTimelineComplete"===n.mode){if(delete L.current[t],o?a.className.baseVal=a.className.baseVal.replace(x[i?0:1],"").trim():a.className=a.className.replace(x[i?0:1],"").trim(),i)F.current.splice(F.current.indexOf(t),1),F.current.length||W();else if("leave"===e&&(j.current.splice(j.current.indexOf(t),1),I.current=I.current.filter(function(e){return t!==e.key}),!j.current.length)){var s=I.current.map(function(t){return t.key});Object.keys(P.current).forEach(function(t){-1===s.indexOf(t)&&delete P.current[t]}),B(I.current)}_({key:t,type:e,target:n.targets})}},G=function(t,e,n){var r="leave"===n?g:w;"appear"===n&&(r=c(S,t.key,e)&&w||null);var a=c(r,t.key,e),o="appear"!==n||S?Y(t.props.className||"","enter"===n||"appear"===n)||void 0:t.props.className,i={key:t.key,animation:a,onChangeTimeline:function(e){q(t.key,n,e)},resetStyle:E,className:o};return(t.key&&F.current.concat(j.current).indexOf(t.key)>=0||!Z.current&&r)&&t.key&&!P.current[t.key]&&(L.current[t.key]=n),H(t,i)};(0,f.L)(function(){if(Z.current){var e=l(t.children).filter(function(t){return t}),n=l(I.current);Object.keys(L.current).length&&!C?N.current.push(e):B(z(e,n))}},[t.children]),(0,f.L)(function(){W()}),(0,s.useEffect)(function(){Z.current=!0},[]),I.current=V;var Q=V.map(function(t,e){if(!t||!t.key)return t;var n=t.key;return j.current.indexOf(n)>=0?G(t,j.current.indexOf(n),"leave"):(F.current.indexOf(n)>=0||L.current[n]&&-1===j.current.indexOf(n))&&!("enter"===L.current[n]&&P.current[n])?G(t,F.current.indexOf(n),"enter"):Z.current?P.current[n]:G(t,e,"appear")});return f.Q?h?(0,s.createElement)(h,(0,a.Z)((0,a.Z)((0,a.Z)({},D),v),{},{ref:e}),t.children):s.createElement(s.Fragment,null,t.children):h?(0,s.createElement)(h,(0,a.Z)((0,a.Z)((0,a.Z)({},D),v),{},{ref:e}),Q):Q[0]?(0,s.cloneElement)(Q[0],{ref:e}):null});h.displayName="TweenOneGroup",h.isTweenOneGroup=!0;var m=h},2146:function(t,e,n){"use strict";var r=n(47405),a=n(57942),o=n(91968),i=n(62561);i.Z.plugins=r.Z,i.Z.ticker=a.Z,i.Z.easing=o.Z,e.ZP=i.Z},98933:function(t,e,n){"use strict";n.d(e,{L:function(){return o},Q:function(){return a}});var r=n(50959),a=!window.document||!window.document.createElement,o=a?r.useEffect:r.useLayoutEffect},91968:function(t,e,n){"use strict";var r=n(96839),a=n.n(r),o=n(1986);a().path=function(t,e){var n=e||{};if(o.Q6)return"linear";for(var r=(0,o.cP)(t),i=r.getTotalLength(),s=n.rect||100,l=n.lengthPixel||200,u=[],c=0;c=c})[0]||r.getPointAtLength(l*i)).y/s}},e.Z=a()},57942:function(t,e,n){"use strict";var r=n(9130),a=n(82349),o=n(19616),i=n.n(o),s=n(1986),l=new(function(){function t(){var e=this;(0,r.Z)(this,t),this.lagThreshold=150,this.adjustedLag=33,this.emptyTime=0,this.elapsed=0,this.frameFPS=1e3/240,this.startTime=0,this.prevTime=0,this.useTimeout=!1,this.lastUpdate=this.startTime,this.nextTime=this.frameFPS,this.req=void 0,this.id=-1,this.tweenId=0,this.tickFn=[],this.state="sleep",this.time=0,this.frame=0,this.removeReq=function(t){return e.useTimeout?clearTimeout(t):(0,o.cancel)(t)},this.tick=function(){var t=e.tickFn;e.startTime||(e.startTime=(0,s.hK)()-e.frameFPS,e.lastUpdate=e.startTime),e.elapsed=(0,s.hK)()-e.lastUpdate,e.elapsed>e.lagThreshold&&(e.startTime+=e.elapsed-e.adjustedLag),e.lastUpdate+=e.elapsed,e.time=e.lastUpdate-e.startTime;var n=e.time-e.nextTime;if(n>0){e.frame++,e.nextTime+=n+(n>=e.frameFPS?4:e.frameFPS-n);for(var r=e.time-e.prevTime,a=0;a=e.emptyTime)){e.emptyTime=0,e.sleep();return}e.req&&(e.id=e.req(e.tick))},this.wake=function(){e.id&&e.sleep(),e.req=e.useTimeout?function(t){return setTimeout(t,e.frameFPS)}:i(),e.tick(),e.state="wake"},this.sleep=function(){e.removeReq(e.id),e.id=-1,e.req=void 0,e.state="sleep"},this.add=function(t){var n="TweenOneTicker_".concat(e.tweenId);return e.tweenId+=1,-1===e.tickFn.findIndex(function(t){return t.key===n})&&e.tickFn.push({key:n,fn:t}),e.emptyTime=0,e.req||e.wake(),n},this.clear=function(t){e.tickFn=e.tickFn.filter(function(e){return e.key!==t&&e.fn!==t})},this.timeout=function(t,n){if("function"!=typeof t)return console.warn("not function");var r=e.time,a=e.add(function(){e.time-r>=(n||0)&&(e.clear(a),t())});return a},this.interval=function(t,n){if("function"!=typeof t)return console.warn("not function"),null;var r=e.time;return e.add(function(){e.time-r>=(n||0)&&(r=e.time,t())})}}return(0,a.Z)(t,[{key:"fps",value:function(t,e){this.frameFPS=1e3/(t||240),this.nextTime=this.time+this.frameFPS,this.useTimeout=void 0===e?this.useTimeout:e,this.useTimeout&&(this.req=function(e){return setTimeout(e,t)})}}]),t}());e.Z=l},9331:function(t,e,n){"use strict";n.d(e,{ZP:function(){return j}});var r=n(26407),a=n(4860),o=n.n(a),i=n(1017),s=n(9130),l=n(82349),u=n(47405),c=n(12309),f=n(9159),p=n(1986),d=(0,l.Z)(function t(e){var n=this;(0,s.Z)(this,t),this.props=void 0,this.computedStyle=void 0,this.root=void 0,this.index=void 0,this.targetIndex=void 0,this.tweenVars={},this.transformName=void 0,this.filterName=void 0,this.target=void 0,this.start={},this.startAt={},this.propsData={data:{},type:{},unit:{},count:{},splitStr:{},isTransform:{}},this.setDefaultData=function(){var t=n.props;for(var e in t){var r=t[e],a=r.split&&r.split(/\s+|,/).length>1||e.match(/color|fill|stroke/i)||e.match(/shadow/i);if(("background"===e||"backgroundImage"===e)&&r.match(/[a-z|-]+\(([\s\S]*?)\)/gi)){n.propsData.data[e]={value:r,plugin:u.Z.GradientsPlugin};continue}if(a){n.propsData.data[e]={value:r,plugin:u.Z.ArrayPlugin};continue}var o=(0,f.Lo)(e),i=n.getTweenData(o,t[e]);n.propsData.data[o]=i.data[o],n.propsData.type[o]=i.type[o],n.propsData.unit[o]=i.unit[o],n.propsData.count[o]=i.count[o],n.propsData.isTransform[o]="transform"===(0,f.dt)(o),i.splitStr[o]&&(n.propsData.splitStr[o]=i.splitStr[o])}},this.getTweenData=function(t,e){var n={data:{},isTransform:{},type:{},unit:{},count:{},splitStr:{}};n.data[t]=e;var r="string"==typeof n.data[t];n.unit[t]=r?n.data[t].replace(/[^a-z|%]/g,""):"",n.count[t]=r?n.data[t].replace(/[^+|=|-]/g,""):"";var a=r?parseFloat(n.data[t].replace(/[a-z|%|=]/g,"")):n.data[t];return n.data[t]=a||0===a?a:n.data[t],n},this.setStartAtValue=function(t,e){return"object"===(0,r.Z)(e)?(0,p.kp)(t,e):t},this.getAnimStart=function(){var t=n.target,e=n.root,a=n.targetIndex,o=n.propsData,i=n.startAt,s=n.start,l=n.tweenVars,u={};for(var d in i)u[(0,f.Lo)(d)]=i[d];for(var h in n.computedStyle=n.computedStyle||(0,p.Dx)(t),l.style=l.style||{},o.data){var m=o.data[h];if(m.plugin){var v=new m.plugin(m.value,h);v.target=t,v.root=e,v.parent=parent,v.index=n.index,v.targetIndex=a,v.tweenVars=l,v.startAt=n.startAt,v.computedStyle=n.computedStyle,m.plugin=v,s[h]=v.getAnimStart();continue}var y=(0,f.dt)(h),g="transform"===y?n.transformName:y;g="filter"===y?n.filterName:g;var b=l.style[g],w=null!=b?b:n.computedStyle[y],T=null!==(x=u[h])&&void 0!==x?x:w,S=o.unit[h],k="";if("transform"===y){var E,O,x,A,_,M=(E=E||(T===b?(0,c.Z)({},b):(0,f.Ck)(n.computedStyle[n.transformName])))[h];u&&h in u&&(M=n.setStartAtValue(null!==(A=null!==(_=u[h].vars)&&void 0!==_?_:null==b?void 0:b[h])&&void 0!==A?A:M,u[h]),k=u[h].unit,"scale"===h?(E.scaleX=M,E.scaleY=M):E[h]=M),k!==S&&(M=(0,p.o7)({target:t,computedStyle:n.computedStyle,style:y,value:M,startUnit:k,endUnit:S}),"scale"===h?(E.scaleX=M,E.scaleY=M):E[h]=M),s[n.transformName]=E}else if("filter"===y){var C,D,F=f._T.filterConvert[h]||h;(O=O||(T===b?(0,c.Z)({},b):(0,f.GX)(w)||{}))[F]=O[F]||p.eL[F];var j=O[F];u&&h in u&&(j=n.setStartAtValue(null!==(C=u[h].vars)&&void 0!==C?C:j,u[h]),k=u[h].unit,O[F]=j),S!==k&&(O[F]=(0,p.o7)({target:t,computedStyle:n.computedStyle,style:y,value:j,startUnit:k,endUnit:S,fixed:(null===(D=n.computedStyle)||void 0===D?void 0:D.position)==="fixed"})),s[n.filterName]=O}else{(T=null!==(P=u[h])&&void 0!==P?P:w)&&"none"!==T&&"auto"!==T||(T=""),S=o.unit[y],k="object"===(0,r.Z)(T)?T.unit:"".concat(T).replace(/[^a-z|%]/g,""),T=n.setStartAtValue(w,u[h]),S!==k&&(T=(0,p.o7)({target:t,computedStyle:n.computedStyle,style:y,value:parseFloat(T),startUnit:k,endUnit:S,fixed:(null===(Z=n.computedStyle)||void 0===Z?void 0:Z.position)==="fixed"}));var P,Z,N=parseFloat(T);s[y]=isNaN(N)?(0,p.AG)(y):N}}return s},this.render=function(t){var e=n.propsData,r=n.start,a=n.tweenVars.style||{};r[n.transformName]&&!a[n.transformName]&&(a[n.transformName]=(0,c.Z)({},r[n.transformName])),r[n.filterName]&&!a[n.filterName]&&(a[n.filterName]=(0,c.Z)({},r[n.filterName]));var o=a[n.transformName],i=a[n.filterName],s=e.data,l=e.unit,u=e.count,d=e.isTransform;for(var h in s){var m=s[h];if(m.plugin){a[h]=m.plugin.render(t);continue}var v=d[h],y=v?r[n.transformName][h]:r[h],g=l[h],b=u[h];if(v){if("scale"===h){var w=r[n.transformName].scaleX,T=r[n.transformName].scaleY;"="===b.charAt(1)?(o.scaleX=w+m*t,o.scaleY=T+m*t):(o.scaleX=(m-w)*t+w,o.scaleY=(m-T)*t+T)}else o[h]=(0,p.NA)(parseFloat(y),m,t,b,g);o.text=(0,p.q$)(a[n.transformName])}else if(f._T.filter.indexOf(h)>=0){var S=f._T.filterConvert[h]||h;for(var k in y=parseFloat(r[n.filterName][S])||0,i[S]=(0,p.NA)(y,m,t,b,g),i.text="",i)"text"!==k&&(i.text="".concat(i.text," ").concat(k,"(").concat(i[k],")").trim())}else{var E=(0,f.YJ)(h,0);E="number"==typeof E?0:E.replace(/[^a-z|%]/g,""),g=g||E,"string"==typeof m?a[h]=m:a[h]=(0,p.NA)(y,m,t,b,g)}}return a},this.props=e,this.transformName=(0,f.Yf)("transform"),this.filterName=(0,f.Yf)("filter")||"filter",this.setDefaultData()});d.key="style",d.className="style";var h=n(1874),m=n(23248),v=n(53264),y=n(53475),g=(0,l.Z)(function t(e,n){(0,s.Z)(this,t),this.value=void 0,this.key=void 0,this.root=void 0,this.index=void 0,this.style={},this.start={},this.startAt={},this.target=void 0,this.value=e,this.key=n});g.className=void 0,g.key=void 0;var b=function(t){(0,v.Z)(n,t);var e=(0,y.Z)(n);function n(t,r){(0,s.Z)(this,n),(a=e.call(this,t,r)).value=void 0,a.key=void 0,a.start=[],a.tweenVars={},a.vars={},a.computedStyle=void 0,a.propsData={data:[],unit:[],count:[]},a.setDefaultData=function(t,e){var n,r=(0,m.Z)(a),o=r.propsData,i=r.value,s=(0,h.Z)(i);"color"===t&&(s[3]=null!==(n=s[3])&&void 0!==n?n:1),o.type=t,o.data=s.map(function(t){return parseFloat(t)||0===parseFloat(t)?parseFloat(t):t}),o.unit=s.map(function(t){return t.toString().replace(/[^a-z|%]/g,"")}),o.count=s.map(function(t){return t.toString().replace(/[^+|=|-]/g,"")}),e&&(o.splitStr=e)},a.convertToMarksArray=function(t,e,n,r){var o=(n||"").toString().replace(/[^a-z|%]/g,""),i="number"==typeof r?t[r]:void 0;return o===i?parseFloat(n):parseFloat(n)||0===parseFloat(n)?(0,p.o7)({target:a.target,computedStyle:a.computedStyle,style:e,value:n,startUnit:o,endUnit:i,isOriginWidth:"transformOrigin"===e&&!r}):n},a.getAnimStart=function(){var t,e,n,r,o,i,s,l,u,c=(0,m.Z)(a),d=c.startAt,h=c.target,v=c.key,y=c.propsData,g=c.computedStyle,b=c.tweenVars,w=null!==(t=null!==(e=null!==(n=null==d?void 0:d[v])&&void 0!==n?n:g?null===(r=b.style)||void 0===r?void 0:r[v]:b[v])&&void 0!==e?e:(g||h)[v])&&void 0!==t?t:"",T=y.data.indexOf("inset");-1===T||w.match("inset")||"shadow"!==y.type||(o=w,w=""),w&&"none"!==w&&"auto"!==w||(w=""),w="shadow"===y.type?(0,f.hy)(w,v):w,w="color"===y.type?(0,f.lu)(w):w,w="string"===y.type?w.split(/[\s|,]/):w,p.Fi[v]&&(w[1]=null!==(i=w[1])&&void 0!==i?i:w[0],w[2]=null!==(s=w[2])&&void 0!==s?s:w[0],w[3]=null!==(l=null!==(u=w[3])&&void 0!==u?u:w[1])&&void 0!==l?l:w[0]);var S=y.unit,k=w.map(function(t,e){return"NaN"===parseFloat(t).toString()?t:a.convertToMarksArray(S,v,t,e)});return a.start=k.concat(T>=0?"inset":[]),a.start.oldShadow=o,a.start},a.render=function(t){var e=(0,m.Z)(a),n=e.start,r=e.propsData,o=r.type,i=r.splitStr,s=r.data,l=r.count,u=r.unit,c=s.map(function(e,r){return"string"==typeof e?e:(0,p.NA)(n[r],e,t,l[r],u[r])});switch(o){case"string":c=c.join(i);break;case"color":c=(0,f.Lq)(c);break;case"shadow":var d=c.indexOf("inset")>=0,h=d?c.filter(function(t){return"inset"!==t}):c,v=h.slice(0,h.length-4).map(function(t){return"number"==typeof t?"".concat(t,"px"):t}),y=(0,f.Lq)(h.slice(h.length-4,h.length));c="".concat(n.oldShadow?"".concat(n.oldShadow,","):"").concat(v.join(" ")," ").concat(y," ").concat(d?"inset":"").trim()}return c},a.value=t,a.key=r;var a,o="",i="";return"string"==typeof t&&(r.match(p.gU)?(a.value=(0,f.hy)(t,r),o="shadow"):r.match(/color|fill|stroke/i)||t.match(p.rV)?(a.value=(0,f.lu)(t),o="color"):(i=t.replace(/[^\s|,]/g,"").replace(/\s+/g," "),a.value=t.split(/[\s|,]/),o="string")),a.setDefaultData(o,i),a}return(0,l.Z)(n)}(g);b.className="ArrayPlugin";var w={linear:{"to top":"0deg","to top right":"45deg","to right top":"45deg","to right":"90deg","to right bottom":"135deg","to bottom right":"135deg","to bottom":"180deg","to bottom left":"225deg","to left bottom":"225deg","to left":"270deg","to left top":"315deg","to top left":"315deg"},radial:{center:"50% 50%",top:"50% 0%","top right":"100% 0%","right top":"100% 0%",right:"100% 50%","right bottom":"100% 100%","bottom right":"100% 100%",bottom:"50% 100%","bottom left":"0% 100%","left bottom":"0% 100%",left:"0% 50%","left top":"0% 0%","top left":"0% 0%"}},T=["closest-side","closest-corner","farthest-side","farthest-corner"],S=function(t,e,n){console.warn("Warning: The gradient ".concat(t,"(").concat(e," => ").concat(n,") is different, which has been automatically converted to animation gradient ").concat(t,"(").concat(n,")."))},k=function(t){return"url"===t||t.indexOf("image")>=0||"paint"===t||"cross-fade"===t||"element"===t},E=function(t){(0,v.Z)(n,t);var e=(0,y.Z)(n);function n(t){var r;return(0,s.Z)(this,n),(r=e.call(this,t,"backgroundImage")).value=void 0,r.tweenVars={},r.vars=[],r.computedStyle=void 0,r.defaultStartVars=[],r.getPosition=function(t){return t.map(function(t){return{data:parseFloat(t),unit:t.replace(/[^a-z|%]/g,"")}})},r.getAngle=function(t,e){var n,a,o,i;switch(t.replace(/-|gradient|repeating]/g,"")){case"linear":o=r.getPosition((w.linear[e]||e||w.linear["to bottom"]).split(" "));break;case"radial":var s=e.split(" ");n=s.find(function(t){return T.indexOf(t)>=0})||T[3],a=s.find(function(t){return"circle"===t||"ellipse"===t})||"ellipse";var l=RegExp("".concat(n,"|").concat(a,"|at"),"g"),u=e.replace(l,"").trim();i=r.getPosition((w.radial[u]||u||w.radial.center).split(" "));break;case"conic":var c=e.split("at").map(function(t){return t.trim()}),f=(c[0]||"").split(" ");a=f[0]||"from",o=r.getPosition([f[1]||"0deg"]),i=r.getPosition((w.radial[c[1]]||c[1]||w.radial.center).split(" "))}return{extent:n,shape:a,angle:o,position:i}},r.valueToIValue=function(t){return t?t.replace(/\),\s+?(url|radial|conic|linear|repeating|image|element|cross|paint)/,")#,#$1").split("#,#").map(function(t){var e=t.replace(/([a-z|-]+)\((.*)\)/,"$1").trim();if("url"===e)return{type:e,values:t};var n=t.replace(/([a-z|-]+)\((.*)\)/,"$2").replace(/#([0-9a-f]{6}|[0-9a-f]{3})|(rgb[a]?|hsl)+\(\d+\,[\s+]?\d+[\%]?\,[\s+]?\d+[\%]?(\,\d+)?\)/gi,function(t){return t.replace(/\s+/g,"")}).replace(/\,([a-z|#|\s+])/g,"#,#$1").split("#,#").map(function(t){return t.trim()}),a=n[0].match(p.rV)?"":n[0];a&&n.splice(0,1);var o=r.getAngle(e,a);return{type:e,angle:o,values:n.map(function(t){var e,n=t.trim().split(/\s+/),r=(n[0].match(p.rV),n[0]);return r&&(n.splice(0,1),e=(0,f.lu)(r)),{color:e,positions:n.map(function(t){return{data:parseFloat(t),unit:t.toString().replace(/[^a-z|%]/g,"")}})}})}}):[]},r.getAnimStart=function(){var t,e=(0,m.Z)(r),n=e.startAt,a=e.key,o=e.computedStyle,i=e.target,s=e.vars,l=e.tweenVars,u=(0,c.Z)({},n),f=null!==(t=l[a])&&void 0!==t?t:(o||i)[a];f&&"none"!==f&&"auto"!==f||(f=""),u[a]=u[a]||f,u[a]=u[a]?r.valueToIValue(u[a]):r.defaultStartVars;var p=(Math.max(s.length,u[a].length)===u[a].length?u[a]:s).map(function(t,e){var n,o,i,l,f=u[a][e]||r.defaultStartVars[e],p=s[e]||f;if(f&&f.type===p.type||(f.type!==p.type&&S("type",f.type,p.type),f=r.defaultStartVars[e]),k(p.type)||"string"==typeof p.values||"string"==typeof f.values)return(0,c.Z)({},p);(null===(n=p.angle)||void 0===n?void 0:n.extent)!==(null===(o=f.angle)||void 0===o?void 0:o.extent)&&S("extent keyword",null===(i=f.angle)||void 0===i?void 0:i.extent,null===(l=p.angle)||void 0===l?void 0:l.extent);var d=Math.max(f.values.length,p.values.length)===f.values.length?f.values:p.values;return f.values=d.map(function(t,e){var n=f.values[e],r=p.values[e]||n;return(0,c.Z)((0,c.Z)({},n),{},{positions:(r||n).positions.map(function(t,a){var o=n?n.positions[a]||n.positions[n.positions.length-1]:r.positions[r.positions.length-1],i=t||o;return!o&&n&&f.values.length&&(o={data:100/(f.values.length-1)*e,unit:"%"}),i.unit!==o.unit&&S("units",o.unit,i.unit),{data:o.data,unit:i.unit}})})}),f});return r.start=p,r.start},r.render=function(t){var e="";return(Math.max(r.vars.length,r.start.length)===r.vars.length?r.vars:r.start).forEach(function(n,a){var o=r.start[a],i=r.vars[a]||o;if(k(i.type)||"string"==typeof i.values||!i.angle){e+="".concat(e?",":""," ").concat(i.values).trim();return}var s=(Math.max(o.values.length,i.values.length)===o.values.length?o.values:i.values).map(function(e,n){var r=o.values[n],a=i.values[n];a||(a=r);var s=r.color,l=r.positions;!s&&a.color&&(s=(0,h.Z)(a.color)),l||(l=a.positions.map(function(t){return(0,c.Z)({},t)}));var u=a.color?a.color.map(function(e,n){return(0,p.NA)(s[n],e,t)}):a.color,d=a.positions.map(function(e,n){return"".concat((0,p.NA)(l[n].data,e.data,t)).concat(e.unit)}).join(" ");return"".concat(u?(0,f.Lq)(u):u||""," ").concat(d).trim()}),l=i.angle,u=l.angle&&l.angle.map(function(e,n){return"".concat((0,p.NA)(o.angle.angle[n].data,e.data,t)).concat(e.unit)}).join(" "),d=l.position&&l.position.map(function(e,n){return"".concat((0,p.NA)(o.angle.position[n].data,e.data,t)).concat(e.unit)}).join(" "),m="".concat(l.extent||""," ").concat(l.shape||""," ").concat(u||""," ").concat(d?"at ".concat(d):"").trim();e+="".concat(e?",":""," ").concat(i.type,"(").concat(m?"".concat(m,","):"").concat(s.join(","),")").trim()}),e},r.value=t,r.vars=r.valueToIValue(t),r.defaultStartVars=r.vars.map(function(t){return k(t.type)||"string"==typeof t.values?(0,c.Z)({},t):(0,c.Z)((0,c.Z)({},t),{},{values:t.values.map(function(t){var e;return t.color&&"string"!=typeof t.color?(e=(0,h.Z)(t.color))[3]=0:e=t.color,{color:e,positions:(0,h.Z)(t.positions)}})})}),r}return(0,l.Z)(n)}(g);E.className="GradientsPlugin";var O=n(57942),x=function(){function t(){var e=this;(0,s.Z)(this,t),this.children=[],this.autoSleep=200,this.tickerKey=void 0,this.startTime=void 0,this.addChild=function(t){-1===e.children.indexOf(t)?(e.children.push(t),e.updateTickerState()):e.start()},this.removeChild=function(t){e.children=e.children.filter(function(e){return e!==t}),e.updateTickerState()},this.kill=function(t){e.children=e.children.filter(function(e){var n=e.root.targets.map(function(e,n){if(-1===t.indexOf(e))return e;delete e._tweenOneVars});e.root.targets=n;var r=!!n.filter(function(t){return t}).length;return r||e.kill(),r}),e.updateTickerState()},this.killAll=function(t){t&&(e.children.forEach(function(t){null==t||t.root.targets.forEach(function(t){t&&delete t._tweenOneVars})}),e.children=[]),O.Z.clear(e.tickerKey),e.tickerKey=void 0},this.getTotalTime=function(){for(var t=0,n=0;n0)})?e.start():e.killAll(!e.children.length)},this.start=function(){e.tickerKey||(e.tickerKey=O.Z.add(e.render))},this.render=function(t){for(var n=t.time,r=t.elapsed,a=void 0===r?0:r,o=e.children,i=o.length,s=0;su&&n1)&&!(t in u.Z);return t in u.Z||r?n?e:{value:e,plugins:[],array:r}:{vars:parseFloat(e.toString().replace(/=/g,"")),unit:e.toString().replace(/[^a-z|%]/g,""),count:"="===e.toString().charAt(1)?e.toString().replace(/[^\+\=|\-\=]/gi,""):""}},this.setEase=function(t){if("function"==typeof t){e.easing=t;return}if(t.match(/,/g)){e.easing=A.Z.path(t);return}e.easing=A.Z[t]},this.getTotalTime=function(){var t=e.props,n=t.duration,r=t.delay,a=t.repeat,o=void 0===a?0:a,i=t.repeatDelay;return -1===o?Number.MAX_VALUE:(void 0===r?0:r)+(void 0===n?450:n)*(o+1)+(void 0===i?0:i)*o},this.getEaseToRatio=function(t,n){var r=e.props.ease,a=void 0===r?"":r;return 0!==t&&1!==t||"function"==typeof a||a.match(/,/g)?e.easing(n?1-t:t,n?1:0,n?0:1,1):t},this.setRatioToVars=function(t){for(var n=e.vars,r=e.root,a=0;ar?r:n},this.render=function(t){var n=t.moment,r=t.fps,a=void 0===r?0:r,o=t.silence,i=t.render,s=e.parent,l=e.root,u=e.props,c=(0,p.Bn)(l.targets),f=s.onChange,d=u.repeat,h=void 0===d?0:d,m=u.type,v=u.duration,y=void 0===v?450:v,g=u.delay,b=void 0===g?0:g,w=u.repeatDelay,T=void 0===w?0:w,S=u.yoyo,k=n-b,E=Math.floor(k/(y+T))||0;k-=(y+T)*(E=(E=E>(h=-1===h?Number.MAX_VALUE:h)?h:E)<0?0:E);var O=!!(S&&E%2),x="from"===(void 0===m?"to":m),A=(!O||!x)&&(O||x);k=A?y-k:k;var _=x?0:b,M=A?1:0;if(!e.register&&n>=_&&(e.onRegisterAnimate(),(A&&k<=0||!A&&k>=y&&y)&&(e.prevMoment=n,M=A?0:1),e.setRatioToVars(M),f({index:e.index,vars:l.vars})),e.register&&n>b-a&&n=e.totalTime&&"onComplete"!==e.mode&&void 0!==e.prevMoment||void 0===e.prevMoment&&n>=e.totalTime&&y?(M=A?0:1,e.mode="onComplete",e.props.onComplete&&e.props.onComplete({mode:e.mode,index:e.index,moment:k,ratio:M,targets:c,vars:(0,p.Bn)(l.vars)})):void 0===e.prevMoment||n<=0&&n>-a&&"onStart"!==e.mode&&e.prevMoment>n?(e.mode="onStart",e.props.onStart&&e.props.onStart({mode:e.mode,index:e.index,moment:k,ratio:M,targets:c,vars:(0,p.Bn)(l.vars)})):(M=k&&y?k/y:0,e.mode="onUpdate",e.props.onUpdate&&e.props.onUpdate({mode:e.mode,index:e.index,moment:k,ratio:M,targets:c,vars:(0,p.Bn)(l.vars)})),h&&E!==e.repeatNum&&n&&"onUpdate"===e.mode&&(e.mode="onRepeat",e.props.onRepeat&&e.props.onRepeat({mode:e.mode,index:e.index,moment:k,ratio:M,targets:c,vars:(0,p.Bn)(e.root.vars)})),e.setRatioToVars(e.getEaseToRatio(M,x)),h&&(e.repeatNum=E);var C={mode:e.mode,moment:k,repeat:E,ratio:M,targets:l.targets,vars:l.vars,index:e.index};o&&(C.silence=o),i&&(C.render=i),f(C),e.prevMoment=n}},this.item=t,this.startAt=(0,c.Z)({},t.startAt),Object.keys(this.startAt).forEach(function(t){e.startAt[t]=e.changeValueToVars(t,e.startAt[t],!0)});var n={};for(var a in t){var o=t[a];a in p.$e?n[a]=o:this.vars[a]=this.changeValueToVars(a,o)}this.props=(0,c.Z)((0,c.Z)({},p.$e),n),this.setEase(this.props.ease)}return(0,l.Z)(Element,[{key:"totalTime",get:function(){return this.getTotalTime()}}]),Element}(),_=(0,l.Z)(function t(e){var n=this;(0,s.Z)(this,t),this.props=void 0,this.id=void 0,this.children=[],this.totalTime=0,this.totalTimeRegion=0,this.childTotalTime=0,this.childRegionTotalTime=0,this.prevMoment=void 0,this.progressTime=0,this.progressMoment=-1,this.startMoment=0,this.startTime=0,this.repeatNum=0,this.mode="onTimelineStart",this.pausedState=void 0,this.reverseState=void 0,this.root=void 0,this.parent=void 0,this.regionStartTime=0,this.regionEndTime=void 0,this.onChangeChild=void 0,this.onChangeTimeline=void 0,this.init=function(){for(var t=n.props,e=t.reverse,r=t.animation,a=t.moment,o=(0,p.Zk)(r),i=0;in.childTotalTime&&(n.childTotalTime=r,n.childRegionTotalTime=r)}else n.childTotalTime+=e.totalTime,n.childRegionTotalTime+=e.totalTime}n.regionStartTime&&(n.childRegionTotalTime-=n.regionStartTime),n.regionEndTime&&(n.childRegionTotalTime=n.regionEndTime-n.regionStartTime);var a=n.props,o=a.repeat,i=void 0===o?0:o,s=a.repeatDelay,l=void 0===s?0:s,u=a.delay;n.totalTime=-1===i?Number.MAX_VALUE:u+n.childTotalTime*(i+1)+l*i,n.totalTimeRegion=-1===i?Number.MAX_VALUE:u+n.childRegionTotalTime*(i+1)+l*i},this.setStartTimeOrMoment=function(t){n.startTime=O.Z.time,n.startMoment=t||n.progressMoment},this.reRenderCall=function(){n.render({time:n.startTime,elapsed:O.Z.elapsed||O.Z.frameFPS})},this.play=function(t){var e,r;t?null===(r=n.parent)||void 0===r||r.updateTickerState():null===(e=n.parent)||void 0===e||e.addChild(n)},this.paused=function(){var t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];n.pausedState=t,n.setStartTimeOrMoment(),n.play(t)},this.reverse=function(t){n.reverseState=t,n.setStartTimeOrMoment(),n.play(n.pausedState)},this.goto=function(t,e){var r=t-n.regionStartTime;n.startTime=O.Z.time,n.startMoment=r>n.totalTime?n.totalTime:r,n.progressMoment=n.startMoment,n.progressTime=r,n.play(n.pausedState),n.reRenderCall(),!!e!==n.pausedState&&n.paused(e)},this.kill=function(t){if("number"==typeof t)n.paused(),delete n.children[t],n.setTotalTime(),n.paused(!1);else{var e;n.children=[],null===(e=n.parent)||void 0===e||e.removeChild(n)}},this.onChange=function(t){t.timelineMoment=n.progressMoment,n.onChangeChild(t)},this.render=function(t){var e=t.time,r=t.elapsed||O.Z.frameFPS||0,a=n.totalTime,o=n.totalTimeRegion,i=n.childTotalTime,s=n.childRegionTotalTime,l=n.children,u=n.props,c=n.startTime,f=n.reverseState,p=n.pausedState,d=n.startMoment,h=n.onChangeTimeline,m=n.parent,v=n.root,y=n.prevMoment,g=n.regionStartTime,b=u.repeatDelay,w=void 0===b?0:b,T=u.yoyo,S=u.delay,k=u.repeat,E=void 0===k?0:k;E=-1===E?Number.MAX_VALUE:E;var x=e-c-S,A=f?d-x:x+d;if(!(A<-r)){var _=A<0?0:A;_=_>a?a:_,_=do?d:_;var M=E?Math.floor(_/(s+w)):0,C=_-(s+w)*(M=E&&M>E?E:M),D=!!(T&&M%2);C=g+(C=D?s-C:C);var F=f?!D:D;if(n.mode="onTimelineUpdate","number"!=typeof y&&(n.mode="onTimelineStart"),_>=o-S&&"number"==typeof y&&(n.mode="onTimelineComplete"),M!==n.repeatNum&&(n.mode="onTimelineRepeat",_>i*M&&_=0;F?j++:j--){var P=l[j];F||(P.prevMoment=void 0),P.render({moment:F?P.totalTime:0,fps:r})}h({moment:_,totalTime:a,repeat:M,mode:n.mode,targets:v.targets}),n.mode="onTimelineUpdate"}E&&(n.repeatNum=M),n.progressMoment=_,n.prevMoment=_,n.progressTime=x;for(var Z=0;Z=N.appearTo-r&&CL+r&&!D&&N.totalTime||void 0===N.mode&&!N.totalTime)&&(N.render({moment:N.totalTime,fps:r}),N.prevMoment=void 0),CL&&"onComplete"===N.mode&&!D)return;I=C>L?L:C,N.render({moment:I-N.appearTo,fps:r}),L||(N.render({moment:N.totalTime,fps:r,render:!0}),N.prevMoment=void 0)}}h({moment:_,totalTime:a,repeat:M,mode:n.mode,targets:v.targets}),(p||o&&A+S>=o&&!f||f&&A+S<=0||!l.length)&&(null==m||m.removeChild(n))}},this.props=e;var r=this.props,a=r.paused,o=r.reverse;this.reverseState=o,this.pausedState=a,this.regionStartTime=e.regionStartTime||0,this.regionEndTime=e.regionEndTime});u.Z.push(b),u.Z.push(E),u.Z.push(d);var M=0,C=new x,D=function(){function t(e,n){var a,l=this;(0,s.Z)(this,t),this.targets=void 0,this.props=void 0,this.timeline=void 0,this.animate=void 0,this.$reverse=!1,this.vars=[],this.initTime=void 0,this.attr=void 0,this.init=(a=(0,i.Z)(o().mark(function t(e){var n;return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n=(0,p.Sx)(e),l.targets[0].tagName&&!l.attr&&(n.animation=(0,p.Zk)(n.animation).map(function(t){var e={style:{}};for(var n in t)n in u.Z||n in p.$e?e[n]=t[n]:e.style[n]=t[n];return Object.keys(e.style).length||delete e.style,t.duration&&(t.duration=Math.round(t.duration)),t.delay&&(t.delay=Math.round(t.delay)),t.appearTo&&(t.appearTo=Math.round(t.appearTo)),t.repeatDelay&&(t.repeatDelay=Math.round(t.repeatDelay)),e})),l.animate=new _(n),l.animate.id="TweenOne_".concat(M),M++,l.animate.startTime=l.initTime,l.animate.onChangeChild=l.onChange,l.animate.onChangeTimeline=l.onChangeTimeline,l.animate.root=l,l.animate.parent=l.timeline,l.animate.init();case 11:case"end":return t.stop()}},t)})),function(t){return a.apply(this,arguments)}),this.renderToDom=function(){for(var t=0;t3&&void 0!==arguments[3]?arguments[3]:"",a=arguments.length>4?arguments[4]:void 0;return"+="===r||"-="===r?t+e*n+(a||0):(e-t)*n+t+(a||0)},g=function(t){return t&&document.defaultView?document.defaultView.getComputedStyle(t):{}},b={margin:1,padding:1,borderWidth:1,borderRadius:1};function w(t){var e,n,r,a=t.target,o=t.computedStyle,s=t.style,l=t.value,u=t.startUnit,c=t.endUnit,f=t.fixed,p=t.isOriginWidth,d=t.useCurrentTarget;if(i)return l;var h=/(?:Left|Right|Width|X)/i.test(s)||p;h="padding"===s||"marign"===s||h;var m=-1!==s.indexOf("border")||-1!==s.indexOf("translate")||"transformOrigin"===s||d?a:a.parentNode||document.body;switch(m=f?document.body:m,u){case"%":e=parseFloat(l)/100*(h?m.clientWidth:m.clientHeight);break;case"vw":e=parseFloat(l)*document.body.clientWidth/100;break;case"vh":e=parseFloat(l)*document.body.clientHeight/100;break;case"em":o?e=parseFloat(l)*parseFloat(o.fontSize):(r="em",e=parseFloat(l));break;case"rem":o?(n=window.getComputedStyle(document.getElementsByTagName("html")[0]),e=parseFloat(l)*parseFloat(n.fontSize)):(r="rem",e=parseFloat(l));break;default:e=parseFloat(l)}switch(c){case"%":e=e?100*e/(h?m.clientWidth:m.clientHeight):0;break;case"vw":e=parseFloat(l)/document.body.clientWidth*100;break;case"vh":e=parseFloat(l)/document.body.clientHeight*100;break;case"em":o?e=parseFloat(l)/parseFloat(o.fontSize):(r="em",e=parseFloat(l));break;case"rem":o?(n=n||window.getComputedStyle(document.getElementsByTagName("html")[0]),e=parseFloat(l)/parseFloat(n.fontSize)):(r="rem",e=parseFloat(l))}return r&&console.warn("Warning: Element is not 'DOM, can not use '".concat(r,"', automatically convert to animation units.")),e}function T(t){if("string"==typeof t)return t;var e=t.perspective,n=t.rotate,r=t.rotateX,a=t.rotateY,o=t.scaleX,i=t.scaleY,s=t.scaleZ,l=t.skewX,u=t.skewY,c="string"==typeof t.translateX?t.translateX:"".concat(t.translateX,"px"),f="string"==typeof t.translateY?t.translateY:"".concat(t.translateY,"px"),p="string"==typeof t.translateZ?t.translateZ:"".concat(t.translateZ,"px"),d=l||u?"skew(".concat(l,"deg,").concat(u,"deg)"):"",h=n?"rotate(".concat(n,"deg)"):"",m=1!==o||1!==i||1!==s?"scale3d(".concat(o,",").concat(i,",").concat(s,")"):"",v=r?"rotateX(".concat(r,"deg)"):"",y=a?"rotateY(".concat(a,"deg)"):"",g=t.translateZ?"translate3d(".concat(c,",").concat(f,",").concat(p,")"):(t.translateX||t.translateY)&&"translate(".concat(c,",").concat(f,")")||(m||h||v||y||d?"":"translate(0px, 0px)");return"".concat(e?"perspective(".concat(e,"px)"):""," ").concat(g," ").concat(m," ").concat(h," ").concat(v," ").concat(y," ").concat(d).trim()}var S={brightness:1,saturate:1,contrast:1,grayScale:0,hueRotate:"0deg",sepia:0,invert:0}},11375:function(t,e,n){var r=n(9435);(function(){var e,n,a,o;"undefined"!=typeof performance&&null!==performance&&performance.now?t.exports=function(){return performance.now()}:null!=r&&r.hrtime?(t.exports=function(){return(e()-o)/1e6},n=r.hrtime,o=(e=function(){var t;return 1e9*(t=n())[0]+t[1]})()-1e9*r.uptime()):Date.now?(t.exports=function(){return Date.now()-a},a=Date.now()):(t.exports=function(){return new Date().getTime()-a},a=new Date().getTime())}).call(this)},19616:function(t,e,n){for(var r=n(11375),a="undefined"==typeof window?n.g:window,o=["moz","webkit"],i="AnimationFrame",s=a["request"+i],l=a["cancel"+i]||a["cancelRequest"+i],u=0;!s&&u2||Array.isArray(F[0]))&&(i=i.map(function(t){return 100*t}),i="M0,100C".concat(i[0],",").concat(100-i[1],",").concat(i[2],",").concat(100-i[3],",100,0")),{startAnim:o,animate:a,ease:i,duration:s}},td=function(t,e){var n=e.targets;n.className=n.className.replace(R[1],""),-1===n.className.indexOf(R[0])&&(n.className="".concat(n.className," ").concat(R[0]).trim()),Y.current.indexOf(t)>=0&&Y.current.splice(Y.current.indexOf(t),1),H.current[t]=!0},th=function(t,e){if(!(W.current.indexOf(t)>=0)){var n=e.targets;n.className=n.className.replace(R[0],"").trim(),delete K.current[t],U({key:t,type:"enter",target:n})}},tm=function(t,e){var n=e.targets;n.className=n.className.replace(R[0],""),-1===n.className.indexOf(R[1])&&(n.className="".concat(n.className," ").concat(R[1]).trim())},tv=function(e,n){if(p(t.children).findIndex(function(t){return t&&t.key===e}),!(p(t.children).findIndex(function(t){return t&&t.key===e})>=0)){delete H.current[e],delete K.current[e],tt.current=tt.current.filter(function(t){return t.key!==e}),W.current.indexOf(e)>=0&&W.current.splice(W.current.indexOf(e),1),W.current.some(function(t){return ts[t]})||(ta(p(t.children)),tl((0,a.Z)({},H.current)),q.current.forEach(function(t){delete $.current[t]}));var r=n.targets;r.className=r.className.replace(R[1],"").trim(),U({key:e,type:"leave",target:r})}},ty=function(t){ts[t]=!0,u.Z.clear(G.current[t]),delete G.current[t],tl((0,a.Z)({},ts))},tg=function(t,e){var n=h(S,t,e)[0],r=h(x,t,e)[0];G.current[t]=u.Z.timeout(function(){ty(t)},n*e+r)},tb=function(t){u.Z.clear(G.current[t]),delete G.current[t]},tw=function(t,e,n,r){var o=tp(t,e,r),i=function(e){("enter"===r?td:tm)(t,e)},s=function(e){("enter"===r?th:tv)(t,e)};if(Array.isArray(o.animate)){var l=o.animate.length-1;return o.animate.map(function(t,e){return(0,a.Z)((0,a.Z)({},t),{},{startAt:o.startAnim?o.startAnim[e]:void 0,duration:o.duration/l,delay:e||"leave"!==r?0:n,onStart:e?void 0:i,onComplete:e===l?s:void 0})})}return(0,a.Z)((0,a.Z)({},o.animate),{},{startAt:o.startAnim||void 0,ease:o.ease,duration:o.duration,onStart:i,onComplete:s,delay:n})};return(0,s.useEffect)(function(){return function(){Object.keys(K.current).forEach(function(t){var e=K.current[t];e&&e.kill()})}},[]),(0,s.useEffect)(function(){var e,n,r,o,i=p(t.children).filter(function(t){return t}),s=tt.current.filter(function(t){return t}),l=(n=[],r={},o=[],s.forEach(function(t){t&&(d(i,t.key)?(o.length&&(r[t.key]=o,o=[]),e=t.key):t.key&&o.push(t))}),e||(n=n.concat(o)),i.forEach(function(t){t&&(r.hasOwnProperty(t.key)&&(n=n.concat(r[t.key])),n.push(t),t.key===e&&(n=n.concat(o)))}),n),c=[],f=[];if(V||J.current)s.forEach(function(t){if(t){var e=t.key;!d(i,e)&&e&&(f.push(e),u.Z.clear(G.current[e]),delete G.current[e])}}),i.forEach(function(t){if(t){var e=t.key;(!d(s,e)&&e||(!$.current[e]||"leave"===$.current[e]||Y.current.indexOf(e)>=0)&&-1===f.indexOf(e))&&c.push(e)}});else{var h={};l.forEach(function(t){t&&t.key&&(h[t.key]=!0)}),tt.current=l,H.current=(0,a.Z)({},h),tl(h)}Y.current=c,z.current=[].concat(c),W.current=f,q.current=[].concat(f),ta(l)},[t.children]),(0,s.useLayoutEffect)(function(){if(tt.current=tr||[],V||J.current){var t=(0,r.Z)(Y.current),e=(0,r.Z)(W.current);t.forEach(tg),e.forEach(tb)}tr&&(J.current=!0)},[tr]),(0,s.useLayoutEffect)(function(){tr&&tr.forEach(function(t){var e,n=t.key,r=Q.current[n];if(r){var o=W.current.indexOf(n),i=h(S,n,o),s=h(x,n,o);if(o>=0){if("leave"===$.current[n])return;var l=P?W.current.length-o-1:o;e=tw(n,o,i[1]*l+s[1],"leave"),$.current[n]="leave"}else{if("enter"===$.current[n]||-1===Y.current.indexOf(n))return;o=z.current.indexOf(n);var u=i[0]*o+s[0];e=tw(n,o,"leave"===$.current[n]?u:0,"enter"),$.current[n]="enter"}if(K.current[n]&&K.current[n].kill(),N){var f=(0,a.Z)((0,a.Z)({},Array.isArray(e)?e[0].startAt:e.startAt),{},{type:"set"});(0,c.ZP)(r,{animation:f})}K.current[n]=(0,c.ZP)(r,{animation:e})}})},[ts,tr]),(0,s.useMemo)(function(){if(f)return(0,s.createElement)(g,(0,a.Z)((0,a.Z)((0,a.Z)({},B),w),{},{ref:e}));var t=p(tr).map(function(t){return t&&t.key?ts[t.key]&&(0,s.cloneElement)(t,{ref:function(e){Q.current[t.key]=e instanceof Element?e:(0,l.findDOMNode)(e),e||delete Q.current[t.key]},key:t.key}):t}),n=(0,a.Z)((0,a.Z)((0,a.Z)({},B),w),{},{ref:e});return(0,s.createElement)(g,n,t)},[ts,tr])})},32609:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if("undefined"!=typeof XDomainRequest)return e(null),null;var n=new XMLHttpRequest;return n.onreadystatechange=function(){n.readyState===XMLHttpRequest.DONE&&200===n.status&&e(JSON.parse(n.responseText))},n.open("GET",t,!0),n.send(),n},t.exports=e.default},1160:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e=0)&&Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(e,["className","type","size"]);delete l.namespace,delete l.repo;var u=this.state.count,f=s.classNames((n in(t={"github-btn":!0,"github-btn-large":"large"===i})?Object.defineProperty(t,n,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[n]=n,t));return a.default.createElement("span",r({},l,{className:f}),a.default.createElement("a",{className:"gh-btn",href:this.getRepoUrl(),target:"_blank"},a.default.createElement("span",{className:"gh-ico","aria-hidden":"true"}),a.default.createElement("span",{className:"gh-text"},c[o])),a.default.createElement("a",{className:"gh-count",target:"_blank",href:this.getCountUrl(),style:this.getCountStyle()},u))},e}(a.default.Component);p.displayName="GitHubButton",p.propTypes={className:o.default.string,type:o.default.oneOf(["stargazers","watchers","forks"]).isRequired,namespace:o.default.string.isRequired,repo:o.default.string.isRequired,size:o.default.oneOf(["large"])},e.default=p,t.exports=e.default},40639:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.classNames=function(t){return Object.keys(t).filter(function(e){return t[e]}).join(" ")}},89971:function(t,e){"use strict";e.Dm=function(t){return t.replace(/[A-Z]/,function(t){return"-"+t.toLocaleLowerCase()})},e.FH=f,e.wz=function(t){if("undefined"==typeof document)return null;var e=["WebKitCSS","MozCSS","DOM","MsCSS","MSCSS","OCSS","CSS"].filter(function(t){return t+"Matrix" in window});return e.length?new window[e[0]+"Matrix"](t):(console.warn("Browsers do not support matrix."),"")},e.Yf=function(t){if("undefined"==typeof document)return null;if("filter"!==t&&t in document.body.style)return t;var e=t.charAt(0).toUpperCase()+t.substr(1),n=["O","Moz","ms","Ms","Webkit"].filter(function(t){return""+t+e in document.body.style});return n[0]?""+n[0]+e:null},e.Lo=function(t){var e=t;return"z"===(e="y"===(e="x"===e?"translateX":e)?"translateY":e)?"translateZ":e},e.lu=p,e.hy=function(t){if(!t)return[0,0,0,0,0,0,0];var e=t.replace(/,\s+/gi,",").split(/\s+/).filter(function(t){return t}),n=e.indexOf("inset");n>=0&&e.splice(n,1);var r=e.find(function(t){return i[t]||t.match(/#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})|(rgb|hsl)+(?:a)?\((.*)\)/i)})||"black",a=e.indexOf(r);e.splice(a,1);var o=p(r);return o[3]="number"==typeof o[3]?o[3]:1,e.concat(o,n>=0?["inset"]:[])},e.Lq=function(t){return(4===t.length?"rgba":"rgb")+"("+t.map(function(t,e){return e<3?Math.round(t):t}).join(",")+")"},e.Tk=d,e.dt=function(t){var e=d(t);return c.filter.indexOf(e)>=0?"filter":e},e.GX=function(t){if("none"===t||!t||""===t)return null;var e=t.replace(" ","").split(")").filter(function(t){return t}),n={};return e.forEach(function(t){var e=t.split("(");n[e[0]]=e[1]}),n},e.Ck=function(t){var e,n,r,a=t&&"none"!==t&&""!==t?t:"matrix(1, 0, 0, 1, 0, 0)";if(!a.match("matrix"))return(r={}).translateX=0,r.translateY=0,r.translateZ=0,r.rotate=0,r.rotateX=0,r.rotateY=0,r.scaleX=1,r.scaleY=1,r.scaleZ=1,r.skewX=0,r.skewY=0,r.perspective=0,(t.trim().match(/(\w+)\([^\)]+\)/ig)||[]).forEach(function(t){var e=t.split("("),n=e[0].trim(),a=e[1].replace(")","").trim();a.match(/%|em|rem/ig)&&console.warn("value("+a+") must be absolute, not relative, has been converted to absolute."),a=a.replace(/px|deg|\)/ig,""),c.transformGroup[n]&&"rotate"!==n?(a=a.split(",").map(function(t){return parseFloat(t)}),"scale3d"===n||"translate3d"===n?["X","Y","Z"].forEach(function(t,e){var o=n.substring(0,n.length-2);r[""+o+t]=a[e]||r[""+o+t]}):"rotate3d"===n?(r.rotateX=a[0]&&a[3]||r.rotateX,r.rotateY=a[1]&&a[3]||r.rotateY,r.rotate=a[2]&&a[3]||r.rotate):["X","Y"].forEach(function(t,e){r[""+n+t]=a[e]||r[""+n+t]})):"rotateZ"===n?r.rotate=parseFloat(a)||r.rotate:r[n]=parseFloat(a)||r[n]}),r;var o=(e=a.match(/(?:\-|\b)[\d\-\.e]+\b/gi),n={},6===e.length?(n.m11=parseFloat(e[0]),n.m12=parseFloat(e[1]),n.m13=0,n.m14=0,n.m21=parseFloat(e[2]),n.m22=parseFloat(e[3]),n.m23=0,n.m24=0,n.m31=0,n.m32=0,n.m33=1,n.m34=0,n.m41=parseFloat(e[4]),n.m42=parseFloat(e[5]),n.m43=0,n.m44=0):e.forEach(function(t,e){n["m"+(Math.floor(e/4)+1)+(e%4+1)]=parseFloat(t)}),n),i=o.m11,s=o.m12,u=o.m13,p=o.m14,d=o.m21,h=o.m22,m=o.m23,v=o.m24,y=o.m31,g=o.m32,b=o.m33,w=o.m34,T=o.m43,S=void 0,k=void 0,E=void 0,O={},x=Math.atan2(m,b),A=Math.tan(d),_=Math.tan(s),M=void 0,C=void 0;return O.rotateX=f(x*l)||0,x&&(S=d*(M=Math.cos(-x))+y*(C=Math.sin(-x)),k=h*M+g*C,E=m*M+b*C,y=-(d*C)+y*M,g=-(h*C)+g*M,b=-(m*C)+b*M,w=-(v*C)+w*M,d=S,h=k,m=E),x=Math.atan2(-u,b),O.rotateY=f(x*l)||0,x&&(S=i*(M=Math.cos(-x))-y*(C=Math.sin(-x)),k=s*M-g*C,E=u*M-b*C,g=s*C+g*M,b=u*C+b*M,w=p*C+w*M,i=S,s=k,u=E),x=Math.atan2(s,i),O.rotate=f(x*l)||0,x&&(S=i*(M=Math.cos(x))+s*(C=Math.sin(x)),k=d*M+h*C,E=y*M+g*C,s=s*M-i*C,h=h*M-d*C,g=g*M-y*C,i=S,d=k,y=E),O.rotateX&&Math.abs(O.rotateX)+Math.abs(O.rotate)>359.9&&(O.rotateX=O.rotate=0,O.rotateY=180-O.rotateY||0),O.scaleX=f(Math.sqrt(i*i+s*s+u*u)),O.scaleY=f(Math.sqrt(h*h+m*m)),O.scaleZ=f(Math.sqrt(y*y+g*g+b*b)),O.skewX=A===-_?0:A,O.skewY=_===-A?0:_,O.perspective=w?1/(w<0?-w:w):0,O.translateX=o.m41,O.translateY=o.m42,O.translateZ=T,O},e.YJ=function(t,e){var r=void 0;return n[t]||"number"!=typeof e?"content"!==t||a.test(e)||(r="'"+e.replace(/'/g,"\\'")+"'"):r=" "+e+"px",r||e};var n={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},r=["Webkit","ms","Moz","O"];Object.keys(n).forEach(function(t){r.forEach(function(e){n[e+t.charAt(0).toUpperCase()+t.substring(1)]=n[t]})});var a=/^(normal|none|(\b(url\([^)]*\)|chapter_counter|attr\([^)]*\)|(no-)?(open|close)-quote|inherit)((\b\s*)|$|\s+))+)$/,o="undefined"!=typeof document&&!!(navigator&&(navigator.userAgent.indexOf("MSIE 8.0")>0||navigator.userAgent.indexOf("MSIE 9.0")>0)),i={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},s=function(t,e,n){var r=t>1?t-1:t,a=3*(r=t<0?t+1:r)<2?e+(n-e)*(2/3-r)*6:e,o=r<.5?n:a;return 255*(6*r<1?e+(n-e)*r*6:o)+.5|0},l=180/Math.PI,u={_lists:{transformsBase:["translate","translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ","rotate"],transforms3D:["translate3d","translateZ","scaleZ","rotateX","rotateY","perspective"]},transformGroup:{translate:1,translate3d:1,scale:1,scale3d:1,rotate:1,rotate3d:1,skew:1},filter:["grayScale","sepia","hueRotate","invert","brightness","contrast","blur"],filterConvert:{grayScale:"grayscale",hueRotate:"hue-rotate"}};u._lists.transformsBase=o?u._lists.transformsBase:u._lists.transformsBase.concat(u._lists.transforms3D);var c=e._T=u;function f(t,e){var n=e?Math.pow(10,e):1e5,r=0|t,a=t-r,o=t;if(a){var i=(a*n+(t<0?-.5:.5)|0)/n,s=0|i;o=(t<0&&!(r+s)?"-":"")+(r+s)+"."+(i.toString().split(".")[1]||"")}return parseFloat(o)}function p(t){var e=void 0,n=void 0,r=void 0,a=void 0,o=void 0,l=void 0,u=void 0,c=t,f=/(?:\d|\-\d|\.\d|\-\.\d)+/g;return c?"number"==typeof c?e=[c>>16,c>>8&255,255&c]:(","===c.charAt(c.length-1)&&(c=c.substr(0,c.length-1)),i[c]?e=i[c]:"#"===c.charAt(0)?(4===c.length&&(c="#"+(n=c.charAt(1))+n+(r=c.charAt(2))+r+(a=c.charAt(3))+a),e=[(c=parseInt(c.substr(1),16))>>16,c>>8&255,255&c]):"hsl"===c.substr(0,3)?(o=Number((e=c.match(f))[0])%360/360,l=Number(e[1])/100,r=(u=Number(e[2])/100)<=.5?u*(l+1):u+l-u*l,n=2*u-r,e.length>3&&(e[3]=Number(e[3])),e[0]=s(o+1/3,n,r),e[1]=s(o,n,r),e[2]=s(o-1/3,n,r)):e=c.match(f)||i.transparent,e[0]=Number(e[0]),e[1]=Number(e[1]),e[2]=Number(e[2]),e.length>3&&(e[3]=Number(e[3]))):e=i.black,e}function d(t){return c._lists.transformsBase.indexOf(t)>=0?"transform":t}},9159:function(t,e){"use strict";e.Rs=p,e.Yf=function(t){if("undefined"==typeof document)return null;if("filter"!==t&&t in document.body.style)return t;var e=t.charAt(0).toUpperCase()+t.substr(1),n=["O","Moz","ms","Ms","Webkit"].filter(function(t){return""+t+e in document.body.style});return n[0]?""+n[0]+e:null},e.Lo=function(t){var e=t;return"z"===(e="y"===(e="x"===e?"translateX":e)?"translateY":e)?"translateZ":e},e.lu=m,e.hy=function(t,e){var n=e&&p(e);if(!t)return"boxShadow"===n?[0,0,0,0,0,0,0,0]:[0,0,0,0,0,0,0];var r=t.replace(/,\s+/gi,",").split(/\s+/).filter(function(t){return t}),a=r.indexOf("inset");a>=0&&r.splice(a,1);var o=r.find(function(t){return i[t]||t.match(/#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})|(rgb|hsl)+(?:a)?\((.*)\)/i)})||"black",s=r.indexOf(o);r.splice(s,1);var l=m(o);return l[3]="number"==typeof l[3]?l[3]:1,"boxShadow"===n&&r.length<4&&r.push(0),r.concat(l,a>=0?["inset"]:[])},e.Lq=function(t){return(4===t.length?"rgba":"rgb")+"("+t.map(function(t,e){return e<3?Math.round(t):t}).join(",")+")"},e.dt=function(t){var e,n=(e=t,f._lists.transformsBase.indexOf(e)>=0?"transform":e);return f.filter.indexOf(n)>=0?"filter":n},e.GX=function(t){if("none"===t||!t||""===t)return null;var e=t.replace(/\s+/g,"").split(")").filter(function(t){return t}),n={};return e.forEach(function(t){var e=t.split("(");n[e[0]]=e[1]}),n},e.Ck=function(t){var e,n,r,a=t&&"none"!==t&&""!==t?t:"matrix(1, 0, 0, 1, 0, 0)";if(!a.match("matrix"))return(r={}).translateX=0,r.translateY=0,r.translateZ=0,r.rotate=0,r.rotateX=0,r.rotateY=0,r.scaleX=1,r.scaleY=1,r.scaleZ=1,r.skewX=0,r.skewY=0,r.perspective=0,(t.trim().match(/(\w+)\([^\)]+\)/ig)||[]).forEach(function(t){var e=t.split("("),n=e[0].trim(),a=e[1].replace(")","").trim();a.match(/%|em|rem/ig)&&console.warn("value("+a+") must be absolute, not relative, has been converted to absolute."),a=a.replace(/px|deg|\)/ig,""),f.transformGroup[n]&&"rotate"!==n?(a=a.split(",").map(function(t){return parseFloat(t)}),"scale3d"===n||"translate3d"===n?["X","Y","Z"].forEach(function(t,e){var o=n.substring(0,n.length-2);r[""+o+t]=a[e]||r[""+o+t]}):"rotate3d"===n?(r.rotateX=a[0]&&a[3]||r.rotateX,r.rotateY=a[1]&&a[3]||r.rotateY,r.rotate=a[2]&&a[3]||r.rotate):["X","Y"].forEach(function(t,e){r[""+n+t]=a[e]||r[""+n+t]})):"rotateZ"===n?r.rotate=parseFloat(a)||r.rotate:r[n]=parseFloat(a)||r[n]}),r;var o=(e=a.match(/(?:\-|\b)[\d\-\.e]+\b/gi),n={},6===e.length?(n.m11=parseFloat(e[0]),n.m12=parseFloat(e[1]),n.m13=0,n.m14=0,n.m21=parseFloat(e[2]),n.m22=parseFloat(e[3]),n.m23=0,n.m24=0,n.m31=0,n.m32=0,n.m33=1,n.m34=0,n.m41=parseFloat(e[4]),n.m42=parseFloat(e[5]),n.m43=0,n.m44=0):e.forEach(function(t,e){n["m"+(Math.floor(e/4)+1)+(e%4+1)]=parseFloat(t)}),n),i=o.m11,l=o.m12,u=o.m13,c=o.m14,p=o.m21,h=o.m22,m=o.m23,v=o.m24,y=o.m31,g=o.m32,b=o.m33,w=o.m34,T=o.m43,S=void 0,k=void 0,E=void 0,O={},x=Math.atan2(m,b),A=Math.tan(p),_=Math.tan(l),M=void 0,C=void 0;return O.rotateX=d(x*s)||0,x&&(S=p*(M=Math.cos(-x))+y*(C=Math.sin(-x)),k=h*M+g*C,E=m*M+b*C,y=-(p*C)+y*M,g=-(h*C)+g*M,b=-(m*C)+b*M,w=-(v*C)+w*M,p=S,h=k,m=E),x=Math.atan2(-u,b),O.rotateY=d(x*s)||0,x&&(S=i*(M=Math.cos(-x))-y*(C=Math.sin(-x)),k=l*M-g*C,E=u*M-b*C,g=l*C+g*M,b=u*C+b*M,w=c*C+w*M,i=S,l=k,u=E),x=Math.atan2(l,i),O.rotate=d(x*s)||0,x&&(S=i*(M=Math.cos(x))+l*(C=Math.sin(x)),k=p*M+h*C,E=y*M+g*C,l=l*M-i*C,h=h*M-p*C,g=g*M-y*C,i=S,p=k,y=E),O.rotateX&&Math.abs(O.rotateX)+Math.abs(O.rotate)>359.9&&(O.rotateX=O.rotate=0,O.rotateY=180-O.rotateY||0),O.scaleX=d(Math.sqrt(i*i+l*l+u*u)),O.scaleY=d(Math.sqrt(h*h+m*m)),O.scaleZ=d(Math.sqrt(y*y+g*g+b*b)),O.skewX=A===-_?0:A,O.skewY=_===-A?0:_,O.perspective=w?1/(w<0?-w:w):0,O.translateX=o.m41,O.translateY=o.m42,O.translateZ=T,O},e.YJ=function(t,e){var r=void 0;return n[t]||"number"!=typeof e?"content"!==t||a.test(e)||(r="'"+e.replace(/'/g,"\\'")+"'"):r=" "+e+"px",r||e};var n={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},r=["Webkit","ms","Moz","O"];Object.keys(n).forEach(function(t){r.forEach(function(e){n[e+t.charAt(0).toUpperCase()+t.substring(1)]=n[t]})});var a=/^(normal|none|(\b(url\([^)]*\)|chapter_counter|attr\([^)]*\)|(no-)?(open|close)-quote|inherit)((\b\s*)|$|\s+))+)$/,o="undefined"!=typeof document&&!!(navigator&&(navigator.userAgent.indexOf("MSIE 8.0")>0||navigator.userAgent.indexOf("MSIE 9.0")>0)),i={aqua:[0,255,255,1],lime:[0,255,0,1],silver:[192,192,192,1],black:[0,0,0,1],maroon:[128,0,0,1],teal:[0,128,128,1],blue:[0,0,255,1],navy:[0,0,128,1],white:[255,255,255,1],fuchsia:[255,0,255,1],olive:[128,128,0,1],yellow:[255,255,0,1],orange:[255,165,0,1],gray:[128,128,128,1],purple:[128,0,128,1],green:[0,128,0,1],red:[255,0,0,1],pink:[255,192,203,1],cyan:[0,255,255,1],transparent:[255,255,255,0]},s=180/Math.PI,l={_lists:{transformsBase:["translate","translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ","rotate"],transforms3D:["translate3d","translateZ","scaleZ","rotateX","rotateY","perspective"]},transformGroup:{translate:1,translate3d:1,scale:1,scale3d:1,rotate:1,rotate3d:1,skew:1},filter:["grayScale","sepia","hueRotate","invert","brightness","contrast","blur"],filterConvert:{grayScale:"grayscale",hueRotate:"hue-rotate"}};l._lists.transformsBase=o?l._lists.transformsBase:l._lists.transformsBase.concat(l._lists.transforms3D);var u=/#([0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{3})/;e.rV=/#([0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{3})|((rgb|hsl)[a]?)+\((?:\d|\.\d)+(?:(deg|\%)?),[\s+]?(?:\d|\.\d)+(?:(deg|\%)?),[\s+]?(?:\d|\.\d)+(?:(deg|%)?)(,[\s+]?(?:\d|\.\d)+(?:(deg|\%)?))?\)/;var c=/(?:\d|\.\d)+(%?)/g,f=e._T=l;function p(t){return t.replace(/-(.?)/g,function(t){return t.replace("-","").toLocaleUpperCase()})}function d(t,e){var n=e?Math.pow(10,e):1e5,r=0|t,a=t-r,o=t;if(a){var i=(a*n+(t<0?-.5:.5)|0)/n,s=0|i;o=(t<0&&!(r+s)?"-":"")+(r+s)+"."+(i.toString().split(".")[1]||"")}return parseFloat(o)}var h=function(t,e,n){return(n<0&&(n+=6),n>=6&&(n-=6),n<1)?(e-t)*n+t:n<3?e:n<4?(e-t)*(4-n)+t:t};function m(t){var e=i.transparent,n=t,r=void 0,a=void 0,o=void 0;if(n){if(i[n])e=i[n];else if("number"==typeof n)e=[n>>16,n>>8&255,255&n];else if(","===n.charAt(n.length-1)&&(n=n.substr(0,n.length-1)),n.match(u))3===(n=n.substr(1)).length&&(n=""+(r=n.charAt(0))+r+(a=n.charAt(1))+a+(o=n.charAt(2))+o+"ff"),6===n.length&&(n+="ff"),e=[(n=parseInt(n,16))>>24&255,n>>16&255,n>>8&255,parseFloat(((255&n)/255).toFixed(2))];else if(n.match(/^hsl/)){var s=(e=n.match(c))[3];s="string"==typeof s&&s.match("%")?parseFloat(s)/100:parseFloat(""+(s||"1"));var l=parseFloat(e[0])/60,f=parseFloat(e[1])/100,p=parseFloat(e[2])/100,d=p<=.5?p*(f+1):p+f-p*f,m=2*p-d;e=[r=Math.round(255*h(m,d,l+2)),a=Math.round(255*h(m,d,l)),o=Math.round(255*h(m,d,l-2)),s]}else 3===(e=(e=n.match(c)||i.transparent).map(function(t){return parseFloat(t)})).length&&e.push(1)}else e=i.transparent;return e}},96839:function(t){"use strict";var e={linear:function(t,e,n,r){return(n-e)*t/r+e},easeInQuad:function(t,e,n,r){return(n-e)*(t/=r)*t+e},easeOutQuad:function(t,e,n,r){return-(n-e)*(t/=r)*(t-2)+e},easeInOutQuad:function(t,e,n,r){var a=n-e;return(t/=r/2)<1?a/2*t*t+e:-a/2*(--t*(t-2)-1)+e},easeInCubic:function(t,e,n,r){return(n-e)*(t/=r)*t*t+e},easeOutCubic:function(t,e,n,r){return(n-e)*((t=t/r-1)*t*t+1)+e},easeInOutCubic:function(t,e,n,r){var a=n-e;return(t/=r/2)<1?a/2*t*t*t+e:a/2*((t-=2)*t*t+2)+e},easeInQuart:function(t,e,n,r){return(n-e)*(t/=r)*t*t*t+e},easeOutQuart:function(t,e,n,r){return-(n-e)*((t=t/r-1)*t*t*t-1)+e},easeInOutQuart:function(t,e,n,r){var a=n-e;return(t/=r/2)<1?a/2*t*t*t*t+e:-a/2*((t-=2)*t*t*t-2)+e},easeInQuint:function(t,e,n,r){return(n-e)*(t/=r)*t*t*t*t+e},easeOutQuint:function(t,e,n,r){return(n-e)*((t=t/r-1)*t*t*t*t+1)+e},easeInOutQuint:function(t,e,n,r){var a=n-e;return(t/=r/2)<1?a/2*t*t*t*t*t+e:a/2*((t-=2)*t*t*t*t+2)+e},easeInSine:function(t,e,n,r){var a=n-e;return-a*Math.cos(t/r*(Math.PI/2))+a+e},easeOutSine:function(t,e,n,r){return(n-e)*Math.sin(t/r*(Math.PI/2))+e},easeInOutSine:function(t,e,n,r){return-(n-e)/2*(Math.cos(Math.PI*t/r)-1)+e},easeInExpo:function(t,e,n,r){return 0==t?e:(n-e)*Math.pow(2,10*(t/r-1))+e},easeOutExpo:function(t,e,n,r){var a=n-e;return t==r?e+a:a*(-Math.pow(2,-10*t/r)+1)+e},easeInOutExpo:function(t,e,n,r){var a=n-e;return 0===t?e:t===r?e+a:(t/=r/2)<1?a/2*Math.pow(2,10*(t-1))+e:a/2*(-Math.pow(2,-10*--t)+2)+e},easeInCirc:function(t,e,n,r){return-(n-e)*(Math.sqrt(1-(t/=r)*t)-1)+e},easeOutCirc:function(t,e,n,r){return(n-e)*Math.sqrt(1-(t=t/r-1)*t)+e},easeInOutCirc:function(t,e,n,r){var a=n-e;return(t/=r/2)<1?-a/2*(Math.sqrt(1-t*t)-1)+e:a/2*(Math.sqrt(1-(t-=2)*t)+1)+e},easeInElastic:function(t,e,n,r){var a,o,i,s=n-e;return(i=1.70158,o=0,a=s,0===t)?e:1==(t/=r)?e+s:(o||(o=.3*r),a=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),u=i.call(o,"finallyLoc");if(l&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),M(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var a=r.arg;M(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:D(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},n}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports},27566:function(t){function e(n){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},4860:function(t,e,n){var r=n(13448)();t.exports=r;try{regeneratorRuntime=r}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}}}]); \ No newline at end of file diff --git a/_next/static/chunks/nextra-data-en-US.json b/_next/static/chunks/nextra-data-en-US.json index 5d14527..0cd58fd 100644 --- a/_next/static/chunks/nextra-data-en-US.json +++ b/_next/static/chunks/nextra-data-en-US.json @@ -1 +1 @@ -{"/docs/api":{"title":"API参考","data":{"javascript-常量#JavaScript 常量":"","downloadrootdir#downloadRootDir":"下载的根目录。你可以使用react-native-fs等第三方组件读取其中的内容。","packageversion#packageVersion":"当前应用原生包的版本。其中 android 取自versionName字段(位于android/app/build.gradle中)。ios 取自CFBundleShortVersionString字段(位于ios/项目名/Info.plist中)。","currentversion#currentVersion":"当前热更新版本(jsbundle 文件)的 Hash 号。","isfirsttime#isFirstTime":"是否更新后的首次启动。当此项为真时,你需要在合适的时候调用markSuccess()以确保更新成功。否则应用下一次启动时将会回滚。","isrolledback#isRolledBack":"是否刚刚经历了一次回滚。","javascript-方法#JavaScript 方法":"","async-function-checkupdateappkey#async function checkUpdate(appKey)":"检查更新,返回值有三种情形:\n{expired: true}:该应用原生包版本被设置为过期(或已从 pushy 服务器中删除,或从未上传),需要前往应用市场下载新的版本(在设置中填写 downloadUrl)。\n{\n expired: true,\n downloadUrl: 'http://appstore/downloadUrl',\n}\n{upToDate: true}:当前已经更新到最新,无需进行更新。\n{update: true}:当前有新版本可以更新。info 的name、description字段可以用于提示用户,而metaInfo字段则可以根据你的需求自定义一些标记(如是否静默更新、是否强制更新等等,自己根据标记的属性做一些条件流程控制),具体用法可参考场景实践。另外还有几个字段,包含了热更新文件的下载地址,\n{\n update: true,\n name: '1.0.3-rc',\n hash: 'hash',\n description: '添加聊天功能\\n修复商城页面BUG',\n metaInfo: '{\"silent\":true}',\n pdiffUrl: 'http://update-packages.reactnative.cn/hash',\n diffUrl: 'http://update-packages.reactnative.cn/hash',\n}","async-function-downloadupdateinfo-callbacks#async function downloadUpdate(info, callbacks)":"下载更新版本。info为checkUpdate函数的返回值,并且仅当update:true时实际进行下载。从v5.8.3版本开始新增接受第二个可选参数,为下载进度的回调函数(onDownloadProgress)。可根据回调参数自行设计进度的展示。示例:\nconst hash = await downloadUpdate(\n info,\n // 下载回调为可选参数,自v5.8.3版本起可用\n {\n onDownloadProgress: ({ received, total }) => {\n // 已下载的字节数, 总字节数\n console.log(received, total);\n },\n }\n);","async-function-downloadandinstallapk-url-ondownloadprogress-#async function downloadAndInstallApk({ url, onDownloadProgress })":"下载更新的 apk 包并直接安装。url必须为可直接下载到 apk 文件的地址,onDownloadProgress为可选的下载进度回调函数,可根据回调参数自行设计进度的展示。自v5.9.0版本起可用。注意要使用这个功能还需要在AndroidManifest.xml中手动添加安装权限,如果需要考虑 Android 7.0 以下的客户,则还需要添加外部存储权限。\n\n\n\n注意某些应用市场可能会因为上述权限拒绝应用上架。去掉上述两个权限并不影响热更新功能。","function-marksuccess#function markSuccess()":"在isFirstTime为true时,必须调用此函数作为更新成功的标记(否则下次启动会默认失败自动回滚)。","async-function-getcurrentversioninfo#async function getCurrentVersionInfo()":"获取当前已热更版本的信息(如尚未热更过则返回空对象)。返回值示例:\n{\n name: '1.0.3-rc',\n description: '添加聊天功能\\n修复商城页面BUG',\n metaInfo: '{\"silent\":true}',\n}","function-switchversionhash#function switchVersion(hash)":"立即重启应用,并加载已经下载完毕的版本。","function-switchversionlaterhash#function switchVersionLater(hash)":"在下一次启动应用的时候加载已经下载完毕的版本。","function-simpleupdateapp-componenttype--appkey-string-onpushyevents--type-eventtype-data-eventdata---void-#function simpleUpdate(App: ComponentType, { appKey: string; onPushyEvents?: ({ type: EventType; data: EventData }) => void })":"极简热更新集成,示例请见集成文档,其中onPushyEvents参数请看下面的方法说明。","function-onpushyevents-type-eventtype-data-eventdata---void#function onPushyEvents(({ type: EventType; data: EventData }) => void)":"发生某个事件时的回调,可用于上报统计数据。自v8.4.0版本后可用。其中回调参数构型具体如下:\n// 回调事件类型\nexport type EventType =\n | \"rollback\" // 回滚\n | \"errorChecking\" // 查询热更时出错\n | \"checking\" // 正在查询热更\n | \"downloading\" // 正在下载热更\n | \"errorUpdate\" // 热更时出错\n | \"markSuccess\" // 热更后成功标记\n | \"downloadingApk\" // 正在下载apk\n | \"rejectStoragePermission\" // 下载apk前申请存储权限被用户拒绝\n | \"errorStoragePermission\" // 下载apk前申请存储权限出错\n | \"errowDownloadAndInstallApk\"; // 下载或安装apk时出错\n// 回调事件数据\nexport interface EventData {\n currentVersion: string; // 当前版本hash\n cInfo: {\n pushy: string; // 当前pushy版本\n rn: string; // 当前rn版本\n os: string; // 当前操作系统及版本\n uuid: string; // 用户标识符\n };\n packageVersion: string; // 原生包版本\n buildTime: number; // 原生包编译时间戳\n message?: string; // 相关说明信息\n rolledBackVersion?: string; // 热更失败,回滚后的版本hash\n newVersion?: string; // 已下载但热更失败的hash\n}","android-方法#Android 方法":"","updatecontextsetcustominstancemanagerreactinstancemanager-instancemanager#UpdateContext.setCustomInstanceManager(ReactInstanceManager instanceManager)":"如果是集成/混编 Android 方案,则可以使用此方法传入你自行创建的 ReactInstanceManager。自v5.5.8版本起可用。示例:\nimport cn.reactnative.modules.update.UpdateContext\nmReactInstanceManager = ReactInstanceManager.builder()\n // ...各种setter,但注意不要调用setBundleAssetName\n .setJSBundleFile(UpdateContext.getBundleUrl(mContext, \"assets://index.android.bundle\"))\n .build();\nUpdateContext.setCustomInstanceManager(mReactInstanceManager);"}},"/docs/bestpractice":{"title":"场景实践","data":{"优化原生和热更包体积#优化原生和热更包体积":"","ios-原生包优化ipa#iOS 原生包优化(ipa)":"对于同一份 archive(其版本号、编译时间和内置 bundle 已固定,不会受导出方式所影响),可以用不同选项多次导出 ipa,选择其中最小的上传到 pushy 服务器作为热更基准包。","android-原生包优化apk#Android 原生包优化(apk)":"apk 的优化主要考虑两个方向:\n启用 proguard 压缩混淆源码。但这一步可能导致一些使用反射的代码运行时报错,启用后需要充分测试每个页面和功能,以及需要阅读一些第三方关于 proguard 的特别设置说明。\n分开编译不同的 cpu 架构。找到android/app/build.gradle中的 cpu 架构部分,如下所示启用enable选项:\nsplits {\n abi {\n reset()\n- enable enableSeparateBuildPerCPUArchitecture\n+ enable true // 启用单独的 cpu 架构编译\n universalApk false // If true, also generate a universal APK\n }\n}\n如此一来会在编译目录中输出多个 apk 文件,分发和上传到热更新服务时只需要使用app-arm64-v8a-release.apk文件,可以大幅减小 apk 的大小。","热更新包优化ppk#热更新包优化(ppk)":"热更新包的主要内容是 js 包和其所引用的静态资源(主要是图片)。\njs 包成分分析。可以借助一些第三方工具(如react-native-bundle-visualizer)来分析 js 文件中哪些占比较大,是否可以用其他库替换等(如 dayjs 替换 moment,lodash-es 替换 lodash)。\n图片优化。\n在保证体验的情况下,使用一些工具对图片进行裁剪压缩。\n如不需要图片的透明像素,可以考虑将 png 格式转为 jpg 格式。\n还可以进一步考虑压缩比更高的图片格式,例如 webp 格式(需要第三方原生插件例如react-native-webp-format),heif 格式(iOS 11 和 Android 10 以上原生支持)等。这里有个图片格式对比可供参考 https://compare.rokka.io/_compare/#heif=40&jpeg=80&webp=80&av1=40&width=800。","有很多渠道包需要热更如何操作比较方便#有很多渠道包需要热更,如何操作比较方便?":"如果渠道包的js代码和初始资源有差别(无论多么细微的差别都会生成不同的 jsbundle),那么只能单独生成 apk,分别上传和绑定。可以考虑写一些脚本自动调用 cli 来执行批量操作。\n如果渠道包的js代码和初始资源完全一致,可以考虑使用Flavor 构建,或其他一些动态生成渠道包的方案(比如腾讯的 VasDolly,美团的 walle等),这样所有的渠道包基于同一个基础 apk 生成(因而会有相同的编译时间戳和 jsbundle)。这样可以只用上传一个基础 apk,对此 apk 的热更操作可以对所有渠道包生效。\n如果您是高级版或专业版客户,也可以考虑在管理后台的应用设置中启用忽略编译时间戳。此选项仅对比版本号,不校验时间戳,可提供更宽容的热更策略,但可能消耗更多流量。","如何支持-aab-格式的原生包#如何支持 aab 格式的原生包?":"如果您需要使用 aab 格式的 android 原生包,那么可以在上传到 Google play 之后,在其控制台中下载转换后的 apk 格式(见下图),然后将这个 apk 包上传到热更新的后台,即可正常支持热更新。","ci-的集成#CI 的集成":"在开发环境中,每次 bundle 都会生成一个不同名字的 ppk 文件,这不利于持续集成(CI)系统的引入。要解决这个问题,你可以使用--output参数来指定输出 ppk 文件的名字和路径,便于进行自动发布。","测试发布与回滚#测试、发布与回滚":"我们强烈建议您先发布一个测试包,再发布一个除了版本号以外均完全相同的正式包。例如,假设我们有一个正式包,版本为1.6.0,那么可以修改版本号重新打包一个1001.6.0,以一个明显不太正常的版本号来标识它是一个测试版本,同时后几位相同,可以表明它和某个正式版本存在关联(内容/依赖一致)。在每次往发布包发起热更新之前,先对测试包1001.6.0进行更新操作,基本测试通过之后,再在网页后台上将热更包重新绑定到正式包1.6.0上。如果在测试包中发现了重大问题,你就可以先进行修复,更新测试确认通过后再部署到正式线上环境。这样,可以最大程度的避免发生线上事故。万一确实发生线上事故需要回滚的话,首先利用版本控制系统回滚代码到正常的状态,然后重新生成热更包并推送即可。","元信息meta-info的使用#元信息(Meta Info)的使用":"在发布热更新版本时,或者在网页端,你可以编辑版本的元信息。这是一段在检查更新时可以获得的字符串,你可以在其中按你所想的格式(一般建议用JSON 格式)保存一些信息。比如我们可以在元信息中约定字段标志silent,表示需要静默更新。当我们上传热更包填写 metainfo 时,以JSON 格式输入:\n{ \"silent\": true }\n请注意,我们并不对输入做任何格式校验和约束,请自行校验输入是否正确。\n此时在客户端检查更新时,能获取到我们刚刚输入的元信息,但它并不具备任何功能,只是一个字符串而已。所以我们其实需要预先在更新流程中加入对应的处理逻辑:\n// 调用 checkUpdate 获取 info\nif (info.expired) {\n // ... 原生包版本过期,下载或跳转下载页面\n} else if (info.upToDate) {\n // ... 没有更新,弹提示或忽略\n} else {\n // 有更新,一般来说我们在这里给用户弹窗提示,让用户选择是否更新\n // 那么静默更新的本质其实就是不弹窗,直接执行,所以可以在这里加入额外的判断流程\n Alert.alert(\n \"提示\",\n \"检查到新的版本\" + info.name + \",是否下载?\\n\" + info.description,\n [\n {\n text: \"是\",\n onPress: () => {\n this.doUpdate(info);\n },\n },\n { text: \"否\" },\n ]\n );\n}\n我们在原有的更新流程中加入元信息的读取和判断:\nlet metaInfo = {};\ntry {\n // 注意 JSON 输入有可能有错误,需要用 try 语句来避免应用被带崩\n metaInfo = JSON.parse(info.metaInfo);\n} catch (e) {\n // 异常处理,忽略或上报?\n}\nif (metaInfo.silent) {\n // 如果热更包携带有 silent 字段,不询问用户,直接执行更新\n this.doUpdate(info);\n} else {\n // 否则还是走之前的询问流程\n // Alert.alert('提示', '检查到新的版本.......\n}\n又比如,可能某个版本包含一些重要的公告内容,所以还可以在上面插入一个公告字段等等。如何使用元信息,完全取决于您的想象力!"}},"/docs/changelog":{"title":"更新日志","data":{"9002023-09-02#9.0.0(2023-09-02)":"初步支持新架构\n添加事件回调以方便统计","8012022-07-05#8.0.1(2022-07-05)":"没有update.json文件的情况下不会再报错","7412022-05-04#7.4.1(2022-05-04)":"修复极少数热更失败的情况","7342021-11-04#7.3.4(2021-11-04)":"新增快速集成方法。\n默认使用AndroidX支持库(使用npx jetify -r命令转换可以支持老的support库)","6402021-10-06#6.4.0(2021-10-06)":"新增查看本地版本信息的方法(getCurrentVersionInfo())","6302021-10-04#6.3.0(2021-10-04)":"库文件体积优化","6202021-08-13#6.2.0(2021-08-13)":"修复android 7及以下版本可能解压失败的问题","6102021-07-29#6.1.0(2021-07-29)":"修复频繁调用下载更新导致的图片丢失问题","6022021-05-18#6.0.2(2021-05-18)":"修复android 7及以下版本安装apk报错的问题","6002021-05-04#6.0.0(2021-05-04)":"换用 hdiff 算法,更新所需流量更少,速度更快\n修复一些少见的崩溃问题","51002020-12-18#5.10.0(2020-12-18)":"提升 iOS 更新的稳定性","5902020-09-27#5.9.0(2020-09-27)":"可在应用内直接下载安装新版本 apk","5832020-09-24#5.8.3(2020-09-24)":"加入下载进度回调","5702020-08-13#5.7.0(2020-08-13)":"初始化时检查 Android 的 bundle url 是否正确配置","5602020-05-26#5.6.0(2020-05-26)":"修复 iOS 更新偶尔报找不到 app.json 的问题","559-2020-04-14#5.5.9 (2020-04-14)":"修复编译时找不到 generateiOSBuildTime.sh 的问题","558-2020-04-02#5.5.8 (2020-04-02)":"提供 setCustomInstanceManager 方法,方便自己集成 RN 的用户调用","556-2020-02-11#5.5.6 (2020-02-11)":"bundle 时清除缓存\n修复更新包过大时可能出现的崩溃\npublish 时检查文件格式","555-2020-01-18#5.5.5 (2020-01-18)":"提升服务健壮性","554-2020-01-13#5.5.4 (2020-01-13)":"防止某些情况下安卓找不到 bundle 文件引起的崩溃","553-2019-12-18#5.5.3 (2019-12-18)":"忽略 hermes 的输出避免 buffer 溢出","552-2019-12-06#5.5.2 (2019-12-06)":"修复使用 use_frameworks 时无法读取时间戳的问题","550-2019-11-24#5.5.0 (2019-11-24)":"打包时加入时间戳","540-2019-11-16#5.4.0 (2019-11-16)":"修改类名方法名","532-2019-10-25#5.3.2 (2019-10-25)":"可以禁用 ios 端以避免审核被拒","530-2019-09-19#5.3.0 (2019-09-19)":"替换 apk reader 以避免某些环境读取 apk 版本号报错的问题","529-2019-09-18#5.2.9 (2019-09-18)":"添加 proguard 混淆规则以解决开启混淆后闪退的问题","528#5.2.8":"解决某些情形下 Android 调用 switchVersion 不能重启的问题","527#5.2.7":"改进 windows 端打更新包的兼容性(部分 windows 机器上会产生空 ppk 文件)","524#5.2.4":"支持 RN 0.61 的 hermes(路径变化)\niOS 端使用第三方的 SSZipArchive 以减少重名冲突","522#5.2.2":"修复一处导致 iOS 回滚的问题","521#5.2.1":"检测如果开启了 hermes,则自动编译为 hermes 字节码格式","520#5.2.0":"添加 typescript 声明\n支持 cocoapods","519#5.1.9":"重写 bundle 命令以提升版本兼容性\n改进命令行的输出样式","518#5.1.8":"服务器迁移到 https\nandroid 支持 64 位","516#5.1.6":"解决 Android 热更新后部分图片丢失问题:\n同一个项目中放置了多个完全相同的文件,在 5.1.0 至 5.1.5 之间的版本中,更新后有时会出现其中的部分无法显示。此问题在 5.1.6 版本修复。修复此问题涉及原生部分,需要重新打包。"}},"/docs/cli":{"title":"命令行工具","data":{"安装#安装":"$ npm install -g react-native-update-cli","命令#命令":"","pushy-bundle#pushy bundle":"生成资源包\nplatform: ios|android 对应的平台\nentryFile: 入口脚本文件\nintermediaDir: 临时文件输出目录\noutput: 最终 ppk 文件输出路径\ndev: 是否打包开发版本\nsourcemap: 是否生成 sourcemap(需 cli 版本 1.11.0+)","pushy-parseipa-ipafile#pushy parseIpa [ipaFile]":"解析 ipa 文件并输出一些相关信息,如版本号,编译时间戳等。","pushy-parseapk-apkfile#pushy parseApk [apkFile]":"解析 apk 文件并输出一些相关信息,如版本号,编译时间戳等。","pushy-diff-originnext#pushy diff [origin][next]":"提供两个 ppk 文件,生成从 origin 到 next 版本的差异更新包。\noutput: diff 文件输出路径","pushy-difffromapk-apkfilenext#pushy diffFromApk [apkFile][next]":"提供一个 apk 文件和一个 ppk 文件,生成从 apk 文件到 next 版本的差异更新包。如果使用热更新开放平台,你不需要自己执行此命令。\noutput: diff 文件输出路径","pushy-difffromipa-ipafilenext#pushy diffFromIpa [ipaFile][next]":"提供一个 ipa 文件和一个 ppk 文件,生成从 ipa 文件到 next 版本的差异更新包。如果使用热更新开放平台,你不需要自己执行此命令。\noutput: diff 文件输出路径","pushy-login-emailpwd#pushy login [email][pwd]":"登录热更新开放平台。你需要先登录才能使用下面的命令。","pushy-logout#pushy logout":"登出并清除本地的登录信息","pushy-me#pushy me":"查看自己是否已经登录,以及昵称等信息。","pushy-createapp#pushy createApp":"创建应用并立刻绑定到当前工程。这项操作也可以在网页管理端进行。\nplatform: ios|android 对应的平台\nname: 应用名称\ndownloadUrl: 应用安装包的下载地址","pushy-deleteapp-appid#pushy deleteApp [appId]":"删除已有应用。所有已创建的应用包、热更新版本都会被同时删除。这项操作也可以在网页管理端进行。\nplatform: ios|android 对应的平台","pushy-apps#pushy apps":"查看当前已创建的全部应用。这项操作也可以在网页管理端进行。\nplatform: ios|android 对应的平台","pushy-selectapp-appid#pushy selectApp [appId]":"绑定应用到当前工程。\nplatform: ios|android 对应的平台","pushy-uploadipa-ipafile#pushy uploadIpa [ipaFile]":"上传 ipa 文件到开放平台。","pushy-uploadapk-apkfile#pushy uploadApk [apkFile]":"上传 apk 文件到开放平台。","pushy-packages#pushy packages":"查看已经上传的原生包。这项操作也可以在网页管理端进行。\nplatform: ios|android 对应的平台","pushy-publish-ppkfile#pushy publish [ppkFile]":"发布新的热更新版本(ppk 文件)。\nplatform: ios|android 对应的平台\nname: 当前热更新版本的名字(版本号)\ndescription: 当前热更新版本的描述信息,可以对用户进行展示\nmetaInfo: 当前热更新版本的元信息,可以用来保存一些额外信息,具体用法可参考场景实践。","pushy-versions#pushy versions":"分页列举可用的版本。这项操作也可以在网页管理端进行。\nplatform: ios|android 对应的平台","pushy-update#pushy update":"为一个原生包版本绑定一个热更新版本。这项操作也可以在网页管理端进行。\nplatform: ios|android 对应的平台\nversionId: 要绑定的热更新版本 ID\npackageId: 要绑定的原生包 ID (与版本名二选一)\npackageVersion: 要绑定的原生包版本名(与 ID 二选一,需 cli 版本 1.7.2 或以上)"}},"/docs/faq":{"title":"常见问题","data":{"":"如果本页面没能回答您的疑问,您可以去issues 区或 QQ 群 729013783 提问,或给我们发邮件。","业务问题#业务问题":"","热更新究竟能否上架#热更新究竟能否上架?":"您可能听说过各种说法,但大量实践表明,热更新目前能够顺利上架 AppStore 和其他各种应用市场。唯一需要注意的是,在审核期间请不要发布热更新,不要让审核人员看到各种更新相关的提示和弹窗,即可顺利通过。","是否可以在海外使用#是否可以在海外使用?":"可以的,国内外都有高速 CDN 节点。","哪些修改可以热更新哪些不能#哪些修改可以热更新?哪些不能?":"我们把对应用的修改分为两类:\n不可热更新 —— 原生修改,即所有需要编译后才能生效的修改:\n任何在 iOS 或者 Android 目录中的修改、增删。\n任何含有原生代码的第三方组件的更新、修改。\n可以热更新 —— 非原生修改,即所有无需编译,刷新即可生效的修改:\njs 代码修改,包括第三方纯 js 组件的更新、修改。\n可以在 js 代码中 require/import 的资源文件,例如图片。\n需要注意的是,即便资源文件可以热更新,但这些热更新后的资源文件会以file://协议的形式提供访问,某些读取资源文件的第三方可能并不支持file://协议。","我是否可以搭建自己的热更新服务#我是否可以搭建自己的热更新服务?":"你可以单独使用本组件的原生部分(不包括 js 模块)和命令行工具中的bundle、diff、diffFromIpa、diffFromApk四个功能。这些功能都不会使用我们的热更新服务,也无需注册或登录账号。但你可能要编写自己的 js 模块来与不同的热更新服务器通讯。如果您有兴趣搭建私有云服务,可以邮件联系我们。","xcode-编译时报错-_bz2_bzread-referenced-from-等#XCode 编译时报错 \"_BZ2_bzRead\", referenced from 等":"在工程 target 的 Build Phases->Link Binary with Libraries 中加入 libz.tbd、libbz2.1.0.tbd","热更新成功完成但是重启后又回滚了是怎么回事#热更新成功完成,但是重启后又回滚了是怎么回事?":"可以正常更新,但是重启后回滚,一般有两种可能的情况:\n没有正确配置 bundleUrl\n没有正确调用 markSuccess\n如果你确定上述两个步骤都正确无误,请在issues 区给我们留言反馈。","热更新报错热更新已暂停原因编译时间戳与服务器记录不一致#热更新报错:“热更新已暂停,原因:编译时间戳与服务器记录不一致。”":"当您每次编译产生一个原生包时,其中都会记录一个编译时间戳buildTime(可以使用pushy parseIpa a.ipa或是pushy parseApk a.apk命令来查看)。如果您需要把这个包发给客户并希望使用热更新功能,那么就需要使用 upload 命令来上传到我们的服务器,而服务器端会记录这个包的版本号和编译时间戳以便后续比对记录。举例来说,假如我已经上传了一个 1.0 版本原生包(1A包),但后来由于种种原因我又重新打包了(1B包)但没有上传,这两个包有相同的版本号,但会有不同的编译时间戳。此时有几种可能的情况:\n我忘记上传过1A包,1B包没有实质更改且还没有客户安装。此时应当放弃1B包,只让客户下载安装1A包。\n我忘记上传过1A包,又生成了1B包且已有客户安装。此时1A包客户可以获取热更新,1B包客户无法获取热更新。要使两批客户都能获取热更新,要么想办法通知1B包客户装回1A包,要么重新发布一个高于1.0版本的原生包且上传到 pushy 服务器,并删除1.0版本的记录,此时1A包和1B包的客户都会收到版本过期需要下载新版本的通知。\n我知道上传过1A包,但我有原生方面的修改需要打了一个新的1B包。此时若将1B包上传到 pushy 服务器会提示版本验证错误,因为已经存在有相同的1.0版本。所以需要首先更改原生版本号再次打包,并首先将此新版本上传到服务器,然后分发给客户。这样1.0版本和新版本可以并存且都可以获得热更新。\n请谨记,任何时候生成原生包,请 1)先修改原生版本号,2)并上传到 pushy 服务器,才可以正常获得热更新。\n如果您是高级版或专业版客户,也可以考虑在管理后台的应用设置中启用忽略编译时间戳。此选项仅对比版本号,不校验时间戳,可提供更宽容的热更策略,但可能消耗更多流量,适合需要管理多个分发渠道的客户。","付费问题#付费问题":"","我应该选择哪个业务版本呢#我应该选择哪个业务版本呢?":"其实完全无需考虑,先从最高配额的专业版开始体验(新用户注册验证通过后,将自动获得 7 天专业版试用),各个版本的使用流程完全一致!当试用时间到期后,若当前版本的配额不能满足需求,可随时补差价升级到更高配额的版本。升级自动按天数计算差价,绝无额外费用。目前仅有一项额外的付费专用功能,即忽略编译时间戳设置(在管理后台的应用设置中),此选项仅对比版本号,不校验时间戳,可提供更宽容的热更策略,但可能消耗更多流量,适合需要管理多个分发渠道的客户。此功能目前仅支持高级版和专业版。","我可以试用付费版本先评估一下效果吗#我可以试用付费版本先评估一下效果吗?":"新用户注册验证通过后,将自动获得 7 天专业版试用。如您需要更长的评估时间,可将注册用户名、邮箱、公司(或个人)名称发送至hi@charmlot.com,标题注明“pushy 评估试用延长”,我们会为您酌情延长评估时间。","配额具体如何计算#配额具体如何计算?":"配额主要分为 3 种:\n可创建的应用数量,注意 iOS 和 Android 版本记做不同的应用。\n原生包数量及大小。原生包指通过pushy uploadIpa/uploadApk命令上传到 Pushy 服务器上作为热更新起始版本的完整 apk/ipa 安装包。\n热更包数量及大小。热更包指通过pushy bundle所命令生成的 ppk 文件。注意这不是用户实际下载的更新文件,用户下载的是通过比对生成的增量 diff 文件(比 ppk 文件要小得多)。\n这里有一些对包大小的优化建议可供参考。\n以上 2、3 条为针对每个应用单独计算。具体配额和费用由于运营成本可能会有调整,请以价格表页面为准。已购买的用户在续费前不受调整影响。","达到配额后还可以正常使用吗#达到配额后还可以正常使用吗?":"当应用、原生包、热更包数量达到配额限制后,您将无法执行相应的新增操作。但用户端仍可正常检查更新,下载已发布的更新。您可选择升级到更高配额,或是通过删除已不再使用的应用、原生包、热更包来使数量降低到配额以内,以便继续执行新增操作。\n若原生包、热更包大小超过限额,则会导致上传失败。您可以选择升级到更高配额,或是想办法进行精简优化。","我可以单独升级某项配额吗#我可以单独升级某项配额吗?":"我们暂时无法为某个单项配额提供升级选项,请选择更高版本的配额。如果专业版本配额仍然不能满足需求,请通过邮件hi@charmlot.com与我们联系,我们将根据您的个性化需求为您定制方案。","付费业务到期后不续费现有应用还能否正常使用#付费业务到期后不续费,现有应用还能否正常使用?":"到期后按免费版额度执行。如您现有应用已超出配额,则必须通过删除操作降低到配额以内,方可执行新的操作(如创建应用,上传热更等),但不影响用户获取之前已发布的热更。","如何获取付费的专人技术支持#如何获取付费的专人技术支持?":"请将您的用户名和订单截图发送至hi@charmlot.com,同时提供您希望的技术联系方式(QQ、微信等),核实后会有技术专员添加您为好友。","如何开具发票#如何开具发票?":"请将具体开票需求发送至hi@charmlot.com,并附上注册邮箱和订单截图。我们默认会回复普通电子发票到注册邮箱,类目为软件服务。如需指定接受邮箱或手机,请在邮件正文中注明。如需要邮寄纸质发票请注明邮寄地址,邮费为到付。","可以使用银行转账付款吗#可以使用银行转账付款吗?":"可以的。请对照价格表,将对应版本的款项转账至:\n公司名称\t武汉青罗网络科技有限公司\t开户行名称\t浙江网商银行\t账号\t8888888048825564\t\n转账完成后请截图发送至hi@charmlot.com,并写明注册邮箱,我们将在一个工作日内开通对应服务。"}},"/docs/getting-started":{"title":"安装配置","data":{"":"import { Tabs } from 'nextra/components'首先你应该有一个基于 React Native 开发的应用,我们把具有 package.json 的目录叫做你的\"应用根目录\"。如果你还没有初始化应用,请参阅开始使用 React Native。所以我们也假设你已经拥有了开发 React Native 应用的一切环境,包括Node.js、XCode、Android SDK等等。","安装#安装":"在你的项目根目录下运行以下命令:\n# 先全局安装命令行工具,每台电脑只用装一次\nnpm i -g react-native-update-cli\n# 然后在项目目录中安装热更新模块\n# 0.71 及以上版本使用最新版本如下\nnpm i react-native-update\n# 0.71 以下版本请使用8.x版本\n# npm i react-native-update@8.x\n如果下载极慢或者显示网络失败,请设置使用淘宝镜像npx nrm use taobao\n注意请不要混用npm/yarn/pnpm等包管理器及对应的lock文件,团队成员请坚持使用同一包管理器,且仅保留统一格式的lock文件\n如果你的 RN 版本 >= 0.60,请在 ios 目录下执行:\npod install\n如果你的 RN 版本 < 0.60,那么需要先在package.json文件的scripts中加入:\n\"postinstall\": \"npx jetify -r\"\n然后按照手动 link的说明操作。\n注意:如果是混编 RN 项目,由于目前官方集成文档并不完善,参照官方文档可能无法实现自动 link 功能。此时即便 RN 版本 >= 0.60,你可能也需要执行手动 link 操作。\n如果你的 RN 版本比较老,请按下面表格尝试老一些的版本(但这些版本我们已不再维护,不能保证可以使用):\nReact Native 版本\treact-native-update 版本\t0.26 及以下\t1.0.x\t0.27 - 0.28\t2.x\t0.29 - 0.33\t3.x\t0.34 - 0.45\t4.x\t0.46 - 0.70\t8.x\t\n安装命令示例:\nnpm i react-native-update@4.x\n如果 RN 的版本是 0.45 及以下,你还必须安装Android NDK,版本最好选用 r10e,并设置环境变量ANDROID_NDK_HOME,指向你的 NDK 根目录(例如/Users/tdzl2003/Downloads/android-ndk-r10e)。\n请记得,任意在 ios 和 android 目录下的修改,一定要重新编译(npx react-native run-ios 或 run-android 命令编译,或在 Xcode/Android Studio 中重新编译)才能生效。","手动-link#手动 link":"如果 RN 版本 >= 0.60 则不需要此手动 link 步骤。\n注意:如果是混编 RN 项目,由于目前官方集成文档并不完善,参照官方文档可能无法实现自动 link 功能。此时即便 RN 版本 >= 0.60,你可能也需要执行手动 link 操作。","ios#iOS":"在 ios/Podfile 中添加\npod 'react-native-update', path: '../node_modules/react-native-update'\n在项目的 ios 目录下运行pod install\n重新编译\n在 XCode 中的 Project Navigator 里,右键点击Libraries ➜ Add Files to [你的工程名]\n进入node_modules ➜ react-native-update ➜ ios 并选中RCTPushy.xcodeproj`\n在 XCode 中的 project navigator 里,选中你的工程,在 Build Phases ➜ Link Binary With Libraries 中添加 libRCTPushy.a、libz.tbd、libbz2.1.0.tbd\n继续在Build Settings里搜索Header Search Path,添加$(SRCROOT)/../node_modules/react-native-update/ios,勾选recursive。\n在Build Phases添加一个New Run Script Phase运行脚本,内容如下\n#!/bin/bash\nset -x\nDEST=\"../node_modules/react-native-update/ios/\"\ndate +%s > \"$DEST/pushy_build_time.txt\"\n尝试编译一下,顺利的话就会在../node_modules/react-native-update/ios/文件夹下面生成一个pushy_build_time.txt文件。然后在Copy Bundle Resources里把生成的pushy_build_time.txt文件添加进去。","android#Android":"在android/settings.gradle中添加如下代码:\ninclude ':react-native-update'\nproject(':react-native-update').projectDir = new File(rootProject.projectDir, \t'../node_modules/react-native-update/android')\n在android/app/build.gradle的 dependencies 部分增加如下代码:\nimplementation project(':react-native-update')\n打开android/app/src/main/java/[...]/MainApplication.java,\n在文件开头增加 import cn.reactnative.modules.update.UpdatePackage;\n在getPackages() 方法中增加 new UpdatePackage()(注意上一行可能要增加一个逗号)","配置-bundle-url#配置 Bundle URL":"注意此步骤无论任何版本,目前都需要手动配置。","ios-1#iOS":"在你的 AppDelegate.mm 或 AppDelegate.m 文件(不同 RN 版本可能后缀名不同)中增加如下代码:\n// ... 其它代码\n#import \"AppDelegate.h\"\n#import \"RCTPushy.h\" // <-- import头文件,注意要放到if条件外面\n// 可能项目里有一些条件编译语句,例如像较新版本RN自带的flipper\n// #if DEBUG\n// 注意**不要**在这里面引入\"RCTPushy.h\"\n// #import \n// ...\n// #endif\n// 如果RN版本 >= 0.59,修改sourceURLForBridge\n- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge\n{\n#if DEBUG\n // 原先这里的写法继续保留(所以debug模式下不可热更新)\n return .....\n#else\n  // 把这里非DEBUG的情况替换为热更新bundle的写法\n return [RCTPushy bundleURL];\n#endif\n}\n// 如果RN版本 < 0.59,修改didFinishLaunchingWithOptions\n- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions\n{\n#if DEBUG\n  // 原来的jsCodeLocation保留在这里(所以debug模式下不可热更新)\n  jsCodeLocation = ..........\n#else\n  // 把这里非DEBUG的情况替换为热更新bundle的写法\n  jsCodeLocation = [RCTPushy bundleURL];\n#endif\n // ... 其它代码\n}","android-1#Android":"在 MainApplication 中增加如下代码(如果是混编原生的项目或其他原因没有使用 ReactApplication,请使用此 api 集成):\n\n// ... 其它代码\n// ↓↓↓请注意不要少了这句import\nimport cn.reactnative.modules.update.UpdateContext;\n// ↑↑↑\nclass MainApplication : Application(), ReactApplication {\n override val reactNativeHost: ReactNativeHost =\n object : DefaultReactNativeHost(this) {\n // ↓↓↓将下面这一段添加到 DefaultReactNativeHost 内部!\n override fun getJSBundleFile(): String? {\n return UpdateContext.getBundleUrl(this@MainApplication)\n }\n // ↑↑↑\n \n // ...其他代码\n }\n}\n\n\n// ... 其它代码\n// ↓↓↓请注意不要少了这句import\nimport cn.reactnative.modules.update.UpdateContext;\n// ↑↑↑\npublic class MainApplication extends Application implements ReactApplication {\n private final ReactNativeHost mReactNativeHost =\n // 老版本 RN 这里可能是 new ReactNativeHost(this)\n new DefaultReactNativeHost(this) {\n // ↓↓↓将下面这一段添加到 DefaultReactNativeHost 内部!\n @Override\n protected String getJSBundleFile() {\n return UpdateContext.getBundleUrl(MainApplication.this);\n }\n // ↑↑↑\n // ...其他代码\n }\n}\n\n请记得,任意在 ios 和 android 目录下的修改,一定要重新编译(npx react-native run-ios 或 run-android 命令编译,或在 Xcode/Android Studio 中重新编译)才能生效。","禁用-android-的-crunch-优化#禁用 android 的 crunch 优化":"android 会在生成 apk 时自动对 png 图片进行压缩,此操作既耗时又影响增量补丁的生成。为了保证补丁能正常生成,您需要在android/app/build.gradle中关闭此操作:\n...\nandroid {\n ...\n signingConfigs { ... }\n buildTypes {\n release {\n ...\n // 添加下面这行以禁用crunch\n crunchPngs false\n }\n }\n}\n...","登录与创建应用#登录与创建应用":"首先请在https://update.reactnative.cn注册帐号,然后在你的项目根目录下运行以下命令:\n$ pushy login\nemail: <输入你的注册邮箱>\npassword: <输入你的密码>\n这会在项目文件夹下创建一个.update文件,注意不要把这个文件上传到 Git 等 CVS 系统上。你可以在.gitignore末尾增加一行.update来忽略这个文件。登录之后可以创建应用。注意 iOS 平台和安卓平台需要分别创建:\n$ pushy createApp --platform ios\nApp Name: <输入应用名字>\n$ pushy createApp --platform android\nApp Name: <输入应用名字>\n两次输入的名字可以相同,这没有关系。\n如果你已经在网页端或者其它地方创建过应用,也可以直接选择应用:\n$ pushy selectApp --platform ios\n1) 鱼多多(ios)\n2) 招财旺(ios)\nTotal 2 ios apps\nEnter appId: <输入应用前面的编号>\n选择或者创建过应用后,你将可以在文件夹下看到update.json文件,其内容类似如下形式:\n{\n \"ios\": {\n \"appId\": 1,\n \"appKey\": \"<一串随机字符串>\"\n },\n \"android\": {\n \"appId\": 2,\n \"appKey\": \"<一串随机字符串>\"\n }\n}\n你可以安全的把update.json上传到 Git 等 CVS 系统上,与你的团队共享这个文件,它不包含任何敏感信息。当然,他们在使用任何功能之前,都必须首先输入pushy login进行登录。至此应用的创建/选择就已经成功了。下一步,你需要给代码添加相应的功能,请参阅代码集成。"}},"/docs/integration":{"title":"代码集成","data":{"":"安装配置完成后,确定应用编译顺利通过,下面我们来进行代码集成。","极简快速集成#极简快速集成":"我们从 v8.x 版本开始提供极简的三行式集成(老版本只能使用自定义集成方式):\nimport { Platform } from \"react-native\";\nimport { simpleUpdate } from \"react-native-update\";\nimport _updateConfig from \"./update.json\";\nconst { appKey } = _updateConfig[Platform.OS];\n// 整个应用的根组件,class 或函数组件都可以\nclass App extends Component {\n // 这是个空的示例,请替换为你自己的根组件\n}\n// 对根组件使用simpleUpdate方法封装后导出\nexport default simpleUpdate(App, {\n appKey,\n onPushyEvents: ({ type, data }) => {\n // 热更成功或报错的事件回调\n // 可上报自有或第三方数据统计服务\n },\n});\n此方式默认在 App 启动,以及从后台切换到前台时触发更新检查,弹出提示的内容也固定。如需自定义触发时机,以及修改界面提示等,请参考下面的自定义集成方式。","自定义集成#自定义集成":"","获取-appkey#获取 appKey":"检查更新时必须提供你的appKey,这个值保存在update.json中,并且根据平台不同而不同。你可以用如下的代码获取:\nimport { Platform } from \"react-native\";\nimport _updateConfig from \"./update.json\";\nconst { appKey } = _updateConfig[Platform.OS];\n如果你不使用 pushy 命令行,也可以从网页端查看到两个应用 appKey,并根据平台的不同来选择。","检查更新下载更新#检查更新、下载更新":"异步函数checkUpdate可以检查当前版本是否需要更新:\nconst info = await checkUpdate(appKey);\n返回的info有三种情况:\n{expired: true}:该应用原生包已过期(已从 pushy 服务器中删除),开发者应该在 pushy 控制台添加一个更新下载链接,并自行提示用户下载。\n{upToDate: true}:当前已经更新到最新,无需进行更新。\n{update: true}:当前有新版本可以更新。info 的name、description字段可以用于提示用户,而metaInfo字段则可以根据你的需求自定义其它属性(如是否静默更新、是否强制更新等等),具体用法可参考场景实践。另外还有几个字段,包含了补丁包的下载地址等。 pushy 会首先尝试耗费流量更少的更新方式。将info对象传递给downloadUpdate方法作为参数即可。\nconst hash = await downloadUpdate(\n info,\n // 下载回调为可选参数,从v5.8.3版本开始加入\n {\n onDownloadProgress: ({ received, total }) => {\n // 已下载的字节数, 总字节数\n console.log(received, total);\n },\n }\n);\ndownloadUpdate方法从v5.8.3版本开始新增接受第二个可选参数,为下载进度的回调函数(onDownloadProgress)。可根据回调参数自行设计进度的展示。","切换版本#切换版本":"downloadUpdate的返回值是一个 hash 字符串,它是当前热更新版本的唯一标识。你可以使用switchVersion(hash)函数立即切换版本(此时应用会立即重新加载),或者选择调用 switchVersionLater(hash),让应用在下一次启动的时候再加载新的版本。","首次启动回滚#首次启动、回滚":"在每次更新完毕后的首次启动时,isFirstTime常量会为true。你必须在应用退出前合适的任何时机,调用markSuccess,否则应用下一次启动的时候将会进行回滚操作。这一机制称作“反触发”,这样当你应用启动初期即遭遇问题的时候,也能在下一次启动时恢复运作。你可以通过isFirstTime来获知这是当前版本的首次启动,也可以通过isRolledBack来获知应用刚刚经历了一次回滚操作。你可以在此时给予用户合理的提示。以上提及的所有 api 的说明文档可在这里查看。","完整的示例#完整的示例":"import React, { Component } from \"react\";\nimport {\n StyleSheet,\n Platform,\n Text,\n View,\n Alert,\n TouchableOpacity,\n Linking,\n} from \"react-native\";\nimport {\n isFirstTime,\n isRolledBack,\n packageVersion,\n currentVersion,\n checkUpdate,\n downloadUpdate,\n switchVersion,\n switchVersionLater,\n markSuccess,\n downloadAndInstallApk,\n onPushyEvents,\n} from \"react-native-update\";\nimport _updateConfig from \"./update.json\";\nconst { appKey } = _updateConfig[Platform.OS];\nonPushyEvents(({ type, data }) => {\n // 热更成功或报错的事件回调\n // 可上报自有或第三方数据统计服务\n});\nexport default class MyProject extends Component {\n state = {\n received: 0,\n total: 0,\n };\n componentDidMount() {\n if (isFirstTime) {\n // 必须调用此更新成功标记方法\n // 否则默认更新失败,下一次启动会自动回滚\n markSuccess();\n console.log(\"更新完成\");\n } else if (isRolledBack) {\n console.log(\"刚刚更新失败了,版本被回滚.\");\n }\n }\n doUpdate = async (info) => {\n try {\n const hash = await downloadUpdate(info, {\n onDownloadProgress: ({ received, total }) => {\n this.setState({\n received,\n total,\n });\n },\n });\n if (!hash) {\n return;\n }\n Alert.alert(\"提示\", \"下载完毕,是否重启应用?\", [\n {\n text: \"是\",\n onPress: () => {\n switchVersion(hash);\n },\n },\n { text: \"否\" },\n {\n text: \"下次启动时\",\n onPress: () => {\n switchVersionLater(hash);\n },\n },\n ]);\n } catch (err) {\n Alert.alert(\"更新失败\", err.message);\n }\n };\n checkUpdate = async () => {\n if (__DEV__) {\n // 开发模式不支持热更新,跳过检查\n return;\n }\n let info;\n try {\n info = await checkUpdate(appKey);\n } catch (err) {\n Alert.alert(\"更新检查失败\", err.message);\n return;\n }\n if (info.expired) {\n Alert.alert(\"提示\", \"您的应用版本已更新,点击确定下载安装新版本\", [\n {\n text: \"确定\",\n onPress: () => {\n // downloadUrl 需要在后台设置中自行配置\n if (info.downloadUrl) {\n // apk可直接下载安装\n if (\n Platform.OS === \"android\" &&\n info.downloadUrl.endsWith(\".apk\")\n ) {\n // 此方法还需要额外的配置,请参考\n // https://pushy.reactnative.cn/docs/api#async-function-downloadandinstallapk-url-ondownloadprogress-\n downloadAndInstallApk({\n url: info.downloadUrl,\n onDownloadProgress: ({ received, total }) => {\n this.setState({\n received,\n total,\n });\n },\n });\n } else {\n Linking.openURL(info.downloadUrl);\n }\n }\n },\n },\n ]);\n } else if (info.upToDate) {\n Alert.alert(\"提示\", \"您的应用版本已是最新.\");\n } else {\n Alert.alert(\n \"提示\",\n \"检查到新的版本\" + info.name + \",是否下载?\\n\" + info.description,\n [\n {\n text: \"是\",\n onPress: () => {\n this.doUpdate(info);\n },\n },\n { text: \"否\" },\n ]\n );\n }\n };\n render() {\n const { received, total } = this.state;\n return (\n \n 欢迎使用热更新服务\n \n 这是版本一 {\"\\n\"}\n 当前原生包版本号: {packageVersion}\n {\"\\n\"}\n 当前热更新版本Hash: {currentVersion || \"(空)\"}\n {\"\\n\"}\n \n \n 下载进度:{received} / {total}\n \n \n 点击这里检查更新\n \n \n );\n }\n}\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n justifyContent: \"center\",\n alignItems: \"center\",\n backgroundColor: \"#F5FCFF\",\n },\n welcome: {\n fontSize: 20,\n textAlign: \"center\",\n margin: 10,\n },\n instructions: {\n textAlign: \"center\",\n color: \"#333333\",\n marginBottom: 5,\n },\n});\n现在,你的应用已经可以通过 pushy 服务检查版本并进行更新了。下一步,你可以开始尝试发布应用包和版本,请参阅发布热更新。"}},"/docs/publish":{"title":"发布热更新","data":{"":"现在你的应用已经具备了检测更新的功能,下面我们来尝试发布并更新它。流程可参考下图:\n流程总结如下:\n我们需要先打包一个原生 release 版本,在打包前请确保已集成了react-native-update并在调试过程中运行正常,安卓端关闭了crunchPngs设置,打包说明可参考iOS 打包和android 打包。打包完成后请使用pushy uploadIpa或者pushy uploadApk命令来把这个安装包上传到 pushy 服务器端,以作为之后热更差量对比的基准。同时请保留好这个安装包,上架和分发给用户所使用的安装包需要和服务器端完全一致。建议使用 git tag 功能来标记原生版本号(例如v1.0.0)。\n然后在基准版本之上迭代业务逻辑(增删 js 代码,增删图片等静态资源),使用pushy bundle命令来生成和发布热更新版本,而不需要重新打包。建议使用 git tag 功能来标记热更版本号(例如v1.0.1)。\n如果迭代过程中有原生方面的修改,则需要发布并上传新的原生基准版本(重复步骤 1,但需要设置不同的原生版本号)。可以只保留一个原生基准版本,也可以多版本同时维护。","发布原生基准版本#发布原生基准版本":"","ios#iOS":"首先参考文档-在设备上运行,确定你正在使用离线包。然后点击菜单。按照正常的发布流程打包.ipa文件:\nXcode 中运行设备选真机或 Generic iOS Device\n菜单中选择 Product - Archive\nArchive 完成后选择Export生成.ipa 文件\n然后运行如下命令上传到 pushy 服务器以供后续版本比对之用\n$ pushy uploadIpa \n此 ipa 的CFBundleShortVersionString字段(位于ios/项目名/Info.plist中)会被记录为原生版本号packageVersion。随后你可以选择往 AppStore 上传这个版本(可以重新 export 并调整相关选项,但请不要重新 archive),也可以先通过Test flight或蒲公英等渠道进行真机安装测试。请注意:暂不支持通过 Xcode 直接进行热更新测试。如果后续需要再次 archive 打包(例如修改原生代码或配置。如果只是修改 js 代码则不需要重新打包。),请先更改版本号,并在打包完成后再次uploadIpa到服务器端记录,否则后续生成的相同版本的原生包会由于编译时间戳不一致而无法获取热更新。\n注意:如果你在上传之前就运行了新的原生版本,由于服务器端没有记录,会暂停其更新数小时。可删除原先安装的 app 再重新安装以清空暂停设置。在上传之后安装的客户端不会受此影响。","android#Android":"首先参考文档-打包 APK设置签名,然后在 android 文件夹下运行./gradlew assembleRelease或./gradlew aR,你就可以在android/app/build/outputs/apk/release/app-release.apk中找到你的应用包。\n如果你需要使用 aab 格式(android app bundle,google 市场专用)的包,请参考这里的做法将其转换为 apk 格式后再操作。\n然后运行如下命令\n$ pushy uploadApk android/app/build/outputs/apk/release/app-release.apk\n即可上传 apk 以供后续版本比对之用。此 apk 的versionName字段(位于android/app/build.gralde中)会被记录为原生版本号packageVersion。随后你可以选择往应用市场发布这个版本,也可以先往设备上直接安装这个 apk 文件以进行测试。如果后续需要再次打包(例如修改原生代码或配置。如果只是修改 js 代码则不需要重新打包。),请先更改版本号,并再次uploadApk到服务器端记录,否则后续生成的相同版本的原生包会由于编译时间戳不一致而无法获取热更新。\n注意:如果你在上传之前就运行了新的原生版本,由于服务器端没有记录,会暂停其更新数小时。可删除原先安装的 app 再重新安装以清空暂停设置。在上传之后安装的客户端不会受此影响。","发布热更新版本#发布热更新版本":"你可以尝试修改一行代码(譬如将版本一修改为版本二),然后使用pushy bundle --platform 命令来生成新的热更新版本。\n$ pushy bundle --platform android\nBundling with React Native version: 0.22.2\n<各种进度输出>\nBundled saved to: build/output/android.1459850548545.ppk\nWould you like to publish it?(Y/N)\n如果想要立即上传,此时输入 Y。当然,你也可以在将来使用pushy publish --platform android build/output/android.1459850548545.ppk来上传刚才打包好的热更新包。\n Uploading [========================================================] 100% 0.0s\nEnter version name: <输入热更新版本名字,如1.0.0-rc>\nEnter description: <输入热更新版本描述>\nEnter meta info: {\"ok\":1}\nOk.\nWould you like to bind packages to this version?(Y/N)\n此时版本已经提交到 pushy 服务,但用户暂时看不到此更新,你需要先将特定的原生包版本绑定到此热更新版本上。此时输入 Y 立即绑定,你也可以在将来使用pushy update --platform 来对已上传的热更包和原生包进行绑定。除此以外,你还可以在网页端操作,简单的将对应的原生包版本拖到需要的热更新版本下即可。\n┌────────────┬──────────────────────────────────────┐\n│ Package Id │ Version │\n├────────────┼──────────────────────────────────────┤\n│ 46272 │ 2.0(normal) │\n├────────────┼──────────────────────────────────────┤\n│ 45577 │ 1.0(normal) │\n└────────────┴──────────────────────────────────────┘\n共 2 个包\n输入原生包 id: 46272\n版本绑定完毕后,服务器会在几秒内生成差量补丁,客户端就可以获取到更新了。后续要继续发布新的热更新,只需反复执行pushy bundle命令即可,不需要重新打包。恭喜你,至此为止,你已经完成了植入代码热更新的全部工作。","测试发布与回滚#测试、发布与回滚":"我们强烈建议您先发布一个测试包,再发布一个除了版本号以外均完全相同的正式包。例如,假设我们有一个正式包,版本为1.6.0,那么可以修改版本号重新打包一个1001.6.0,以一个明显不太正常的版本号来标识它是一个测试版本,同时后几位相同,可以表明它和某个正式版本存在关联(内容/依赖一致)。在每次往发布包发起热更新之前,先对测试包1001.6.0进行更新操作,基本测试通过之后,再在网页后台上将热更包重新绑定到正式包1.6.0上。如果在测试包中发现了重大问题,你就可以先进行修复,更新测试确认通过后再部署到正式线上环境。这样,可以最大程度的避免发生线上事故。万一确实发生线上事故需要回滚的话,首先利用版本控制系统回滚代码到正常的状态,然后重新生成热更包并推送即可。"}},"/":{"title":"Index","data":{}},"/pricing":{"title":"价格","data":{}}} \ No newline at end of file +{"/docs/api":{"title":"API参考","data":{"javascript-常量#JavaScript 常量":"","downloadrootdir#downloadRootDir":"下载的根目录。你可以使用react-native-fs等第三方组件读取其中的内容。","packageversion#packageVersion":"当前应用原生包的版本。其中 android 取自versionName字段(位于android/app/build.gradle中)。ios 取自CFBundleShortVersionString字段(位于ios/项目名/Info.plist中)。","currentversion#currentVersion":"当前热更新版本(jsbundle 文件)的 Hash 号。","isfirsttime#isFirstTime":"是否更新后的首次启动。当此项为真时,你需要在合适的时候调用markSuccess()以确保更新成功。否则应用下一次启动时将会回滚。","isrolledback#isRolledBack":"是否刚刚经历了一次回滚。","javascript-方法#JavaScript 方法":"","async-function-checkupdateappkey#async function checkUpdate(appKey)":"检查更新,返回值有三种情形:\n{expired: true}:该应用原生包版本被设置为过期(或已从 pushy 服务器中删除,或从未上传),需要前往应用市场下载新的版本(在设置中填写 downloadUrl)。\n{\n expired: true,\n downloadUrl: 'http://appstore/downloadUrl',\n}\n{upToDate: true}:当前已经更新到最新,无需进行更新。\n{update: true}:当前有新版本可以更新。info 的name、description字段可以用于提示用户,而metaInfo字段则可以根据你的需求自定义一些标记(如是否静默更新、是否强制更新等等,自己根据标记的属性做一些条件流程控制),具体用法可参考场景实践。另外还有几个字段,包含了热更新文件的下载地址,\n{\n update: true,\n name: '1.0.3-rc',\n hash: 'hash',\n description: '添加聊天功能\\n修复商城页面BUG',\n metaInfo: '{\"silent\":true}',\n pdiffUrl: 'http://update-packages.reactnative.cn/hash',\n diffUrl: 'http://update-packages.reactnative.cn/hash',\n}","async-function-downloadupdateinfo-callbacks#async function downloadUpdate(info, callbacks)":"下载更新版本。info为checkUpdate函数的返回值,并且仅当update:true时实际进行下载。从v5.8.3版本开始新增接受第二个可选参数,为下载进度的回调函数(onDownloadProgress)。可根据回调参数自行设计进度的展示。示例:\nconst hash = await downloadUpdate(\n info,\n // 下载回调为可选参数,自v5.8.3版本起可用\n {\n onDownloadProgress: ({ received, total }) => {\n // 已下载的字节数, 总字节数\n console.log(received, total);\n },\n }\n);","async-function-downloadandinstallapk-url-ondownloadprogress-#async function downloadAndInstallApk({ url, onDownloadProgress })":"下载更新的 apk 包并直接安装。url必须为可直接下载到 apk 文件的地址,onDownloadProgress为可选的下载进度回调函数,可根据回调参数自行设计进度的展示。自v5.9.0版本起可用。注意要使用这个功能还需要在AndroidManifest.xml中手动添加安装权限,如果需要考虑 Android 7.0 以下的客户,则还需要添加外部存储权限。\n\n\n\n注意某些应用市场可能会因为上述权限拒绝应用上架。去掉上述两个权限并不影响热更新功能。","function-marksuccess#function markSuccess()":"在isFirstTime为true时,必须调用此函数作为更新成功的标记(否则下次启动会默认失败自动回滚)。","async-function-getcurrentversioninfo#async function getCurrentVersionInfo()":"获取当前已热更版本的信息(如尚未热更过则返回空对象)。返回值示例:\n{\n name: '1.0.3-rc',\n description: '添加聊天功能\\n修复商城页面BUG',\n metaInfo: '{\"silent\":true}',\n}","function-switchversionhash#function switchVersion(hash)":"立即重启应用,并加载已经下载完毕的版本。","function-switchversionlaterhash#function switchVersionLater(hash)":"在下一次启动应用的时候加载已经下载完毕的版本。","function-simpleupdateapp-componenttype--appkey-string-onpushyevents--type-eventtype-data-eventdata---void-#function simpleUpdate(App: ComponentType, { appKey: string; onPushyEvents?: ({ type: EventType; data: EventData }) => void })":"极简热更新集成,示例请见集成文档,其中onPushyEvents参数请看下面的方法说明。","function-onpushyevents-type-eventtype-data-eventdata---void#function onPushyEvents(({ type: EventType; data: EventData }) => void)":"发生某个事件时的回调,可用于上报统计数据。自v8.4.0版本后可用。其中回调参数构型具体如下:\n// 回调事件类型\nexport type EventType =\n | \"rollback\" // 回滚\n | \"errorChecking\" // 查询热更时出错\n | \"checking\" // 正在查询热更\n | \"downloading\" // 正在下载热更\n | \"errorUpdate\" // 热更时出错\n | \"markSuccess\" // 热更后成功标记\n | \"downloadingApk\" // 正在下载apk\n | \"rejectStoragePermission\" // 下载apk前申请存储权限被用户拒绝\n | \"errorStoragePermission\" // 下载apk前申请存储权限出错\n | \"errowDownloadAndInstallApk\"; // 下载或安装apk时出错\n// 回调事件数据\nexport interface EventData {\n currentVersion: string; // 当前版本hash\n cInfo: {\n pushy: string; // 当前pushy版本\n rn: string; // 当前rn版本\n os: string; // 当前操作系统及版本\n uuid: string; // 用户标识符\n };\n packageVersion: string; // 原生包版本\n buildTime: number; // 原生包编译时间戳\n message?: string; // 相关说明信息\n rolledBackVersion?: string; // 热更失败,回滚后的版本hash\n newVersion?: string; // 已下载但热更失败的hash\n}","android-方法#Android 方法":"","updatecontextsetcustominstancemanagerreactinstancemanager-instancemanager#UpdateContext.setCustomInstanceManager(ReactInstanceManager instanceManager)":"如果是集成/混编 Android 方案,则可以使用此方法传入你自行创建的 ReactInstanceManager。自v5.5.8版本起可用。示例:\nimport cn.reactnative.modules.update.UpdateContext\nmReactInstanceManager = ReactInstanceManager.builder()\n // ...各种setter,但注意不要调用setBundleAssetName\n .setJSBundleFile(UpdateContext.getBundleUrl(mContext, \"assets://index.android.bundle\"))\n .build();\nUpdateContext.setCustomInstanceManager(mReactInstanceManager);"}},"/docs/bestpractice":{"title":"场景实践","data":{"优化原生和热更包体积#优化原生和热更包体积":"","ios-原生包优化ipa#iOS 原生包优化(ipa)":"对于同一份 archive(其版本号、编译时间和内置 bundle 已固定,不会受导出方式所影响),可以用不同选项多次导出 ipa,选择其中最小的上传到 pushy 服务器作为热更基准包。","android-原生包优化apk#Android 原生包优化(apk)":"apk 的优化主要考虑两个方向:\n启用 proguard 压缩混淆源码。但这一步可能导致一些使用反射的代码运行时报错,启用后需要充分测试每个页面和功能,以及需要阅读一些第三方关于 proguard 的特别设置说明。\n分开编译不同的 cpu 架构。找到android/app/build.gradle中的 cpu 架构部分,如下所示启用enable选项:\nsplits {\n abi {\n reset()\n- enable enableSeparateBuildPerCPUArchitecture\n+ enable true // 启用单独的 cpu 架构编译\n universalApk false // If true, also generate a universal APK\n }\n}\n如此一来会在编译目录中输出多个 apk 文件,分发和上传到热更新服务时只需要使用app-arm64-v8a-release.apk文件,可以大幅减小 apk 的大小。","热更新包优化ppk#热更新包优化(ppk)":"热更新包的主要内容是 js 包和其所引用的静态资源(主要是图片)。\njs 包成分分析。可以借助一些第三方工具(如react-native-bundle-visualizer)来分析 js 文件中哪些占比较大,是否可以用其他库替换等(如 dayjs 替换 moment,lodash-es 替换 lodash)。\n图片优化。\n在保证体验的情况下,使用一些工具对图片进行裁剪压缩。\n如不需要图片的透明像素,可以考虑将 png 格式转为 jpg 格式。\n还可以进一步考虑压缩比更高的图片格式,例如 webp 格式(需要第三方原生插件例如react-native-webp-format),heif 格式(iOS 11 和 Android 10 以上原生支持)等。这里有个图片格式对比可供参考 https://compare.rokka.io/_compare/#heif=40&jpeg=80&webp=80&av1=40&width=800。","有很多渠道包需要热更如何操作比较方便#有很多渠道包需要热更,如何操作比较方便?":"如果渠道包的js代码和初始资源有差别(无论多么细微的差别都会生成不同的 jsbundle),那么只能单独生成 apk,分别上传和绑定。可以考虑写一些脚本自动调用 cli 来执行批量操作。\n如果渠道包的js代码和初始资源完全一致,可以考虑使用Flavor 构建,或其他一些动态生成渠道包的方案(比如腾讯的 VasDolly,美团的 walle等),这样所有的渠道包基于同一个基础 apk 生成(因而会有相同的编译时间戳和 jsbundle)。这样可以只用上传一个基础 apk,对此 apk 的热更操作可以对所有渠道包生效。\n如果您是高级版或专业版客户,也可以考虑在管理后台的应用设置中启用忽略编译时间戳。此选项仅对比版本号,不校验时间戳,可提供更宽容的热更策略,但可能消耗更多流量。","如何支持-aab-格式的原生包#如何支持 aab 格式的原生包?":"如果您需要使用 aab 格式的 android 原生包,那么可以在上传到 Google play 之后,在其控制台中下载转换后的 apk 格式(见下图),然后将这个 apk 包上传到热更新的后台,即可正常支持热更新。","ci-的集成#CI 的集成":"在开发环境中,每次 bundle 都会生成一个不同名字的 ppk 文件,这不利于持续集成(CI)系统的引入。要解决这个问题,你可以使用--output参数来指定输出 ppk 文件的名字和路径,便于进行自动发布。","测试发布与回滚#测试、发布与回滚":"我们强烈建议您先发布一个测试包,再发布一个除了版本号以外均完全相同的正式包。例如,假设我们有一个正式包,版本为1.6.0,那么可以修改版本号重新打包一个1001.6.0,以一个明显不太正常的版本号来标识它是一个测试版本,同时后几位相同,可以表明它和某个正式版本存在关联(内容/依赖一致)。在每次往发布包发起热更新之前,先对测试包1001.6.0进行更新操作,基本测试通过之后,再在网页后台上将热更包重新绑定到正式包1.6.0上。如果在测试包中发现了重大问题,你就可以先进行修复,更新测试确认通过后再部署到正式线上环境。这样,可以最大程度的避免发生线上事故。万一确实发生线上事故需要回滚的话,首先利用版本控制系统回滚代码到正常的状态,然后重新生成热更包并推送即可。","元信息meta-info的使用#元信息(Meta Info)的使用":"在发布热更新版本时,或者在网页端,你可以编辑版本的元信息。这是一段在检查更新时可以获得的字符串,你可以在其中按你所想的格式(一般建议用JSON 格式)保存一些信息。比如我们可以在元信息中约定字段标志silent,表示需要静默更新。当我们上传热更包填写 metainfo 时,以JSON 格式输入:\n{ \"silent\": true }\n请注意,我们并不对输入做任何格式校验和约束,请自行校验输入是否正确。\n此时在客户端检查更新时,能获取到我们刚刚输入的元信息,但它并不具备任何功能,只是一个字符串而已。所以我们其实需要预先在更新流程中加入对应的处理逻辑:\n// 调用 checkUpdate 获取 info\nif (info.expired) {\n // ... 原生包版本过期,下载或跳转下载页面\n} else if (info.upToDate) {\n // ... 没有更新,弹提示或忽略\n} else {\n // 有更新,一般来说我们在这里给用户弹窗提示,让用户选择是否更新\n // 那么静默更新的本质其实就是不弹窗,直接执行,所以可以在这里加入额外的判断流程\n Alert.alert(\n \"提示\",\n \"检查到新的版本\" + info.name + \",是否下载?\\n\" + info.description,\n [\n {\n text: \"是\",\n onPress: () => {\n this.doUpdate(info);\n },\n },\n { text: \"否\" },\n ]\n );\n}\n我们在原有的更新流程中加入元信息的读取和判断:\nlet metaInfo = {};\ntry {\n // 注意 JSON 输入有可能有错误,需要用 try 语句来避免应用被带崩\n metaInfo = JSON.parse(info.metaInfo);\n} catch (e) {\n // 异常处理,忽略或上报?\n}\nif (metaInfo.silent) {\n // 如果热更包携带有 silent 字段,不询问用户,直接执行更新\n this.doUpdate(info);\n} else {\n // 否则还是走之前的询问流程\n // Alert.alert('提示', '检查到新的版本.......\n}\n又比如,可能某个版本包含一些重要的公告内容,所以还可以在上面插入一个公告字段等等。如何使用元信息,完全取决于您的想象力!"}},"/docs/changelog":{"title":"更新日志","data":{"9002023-09-02#9.0.0(2023-09-02)":"初步支持新架构\n添加事件回调以方便统计","8012022-07-05#8.0.1(2022-07-05)":"没有update.json文件的情况下不会再报错","7412022-05-04#7.4.1(2022-05-04)":"修复极少数热更失败的情况","7342021-11-04#7.3.4(2021-11-04)":"新增快速集成方法。\n默认使用AndroidX支持库(使用npx jetify -r命令转换可以支持老的support库)","6402021-10-06#6.4.0(2021-10-06)":"新增查看本地版本信息的方法(getCurrentVersionInfo())","6302021-10-04#6.3.0(2021-10-04)":"库文件体积优化","6202021-08-13#6.2.0(2021-08-13)":"修复android 7及以下版本可能解压失败的问题","6102021-07-29#6.1.0(2021-07-29)":"修复频繁调用下载更新导致的图片丢失问题","6022021-05-18#6.0.2(2021-05-18)":"修复android 7及以下版本安装apk报错的问题","6002021-05-04#6.0.0(2021-05-04)":"换用 hdiff 算法,更新所需流量更少,速度更快\n修复一些少见的崩溃问题","51002020-12-18#5.10.0(2020-12-18)":"提升 iOS 更新的稳定性","5902020-09-27#5.9.0(2020-09-27)":"可在应用内直接下载安装新版本 apk","5832020-09-24#5.8.3(2020-09-24)":"加入下载进度回调","5702020-08-13#5.7.0(2020-08-13)":"初始化时检查 Android 的 bundle url 是否正确配置","5602020-05-26#5.6.0(2020-05-26)":"修复 iOS 更新偶尔报找不到 app.json 的问题","559-2020-04-14#5.5.9 (2020-04-14)":"修复编译时找不到 generateiOSBuildTime.sh 的问题","558-2020-04-02#5.5.8 (2020-04-02)":"提供 setCustomInstanceManager 方法,方便自己集成 RN 的用户调用","556-2020-02-11#5.5.6 (2020-02-11)":"bundle 时清除缓存\n修复更新包过大时可能出现的崩溃\npublish 时检查文件格式","555-2020-01-18#5.5.5 (2020-01-18)":"提升服务健壮性","554-2020-01-13#5.5.4 (2020-01-13)":"防止某些情况下安卓找不到 bundle 文件引起的崩溃","553-2019-12-18#5.5.3 (2019-12-18)":"忽略 hermes 的输出避免 buffer 溢出","552-2019-12-06#5.5.2 (2019-12-06)":"修复使用 use_frameworks 时无法读取时间戳的问题","550-2019-11-24#5.5.0 (2019-11-24)":"打包时加入时间戳","540-2019-11-16#5.4.0 (2019-11-16)":"修改类名方法名","532-2019-10-25#5.3.2 (2019-10-25)":"可以禁用 ios 端以避免审核被拒","530-2019-09-19#5.3.0 (2019-09-19)":"替换 apk reader 以避免某些环境读取 apk 版本号报错的问题","529-2019-09-18#5.2.9 (2019-09-18)":"添加 proguard 混淆规则以解决开启混淆后闪退的问题","528#5.2.8":"解决某些情形下 Android 调用 switchVersion 不能重启的问题","527#5.2.7":"改进 windows 端打更新包的兼容性(部分 windows 机器上会产生空 ppk 文件)","524#5.2.4":"支持 RN 0.61 的 hermes(路径变化)\niOS 端使用第三方的 SSZipArchive 以减少重名冲突","522#5.2.2":"修复一处导致 iOS 回滚的问题","521#5.2.1":"检测如果开启了 hermes,则自动编译为 hermes 字节码格式","520#5.2.0":"添加 typescript 声明\n支持 cocoapods","519#5.1.9":"重写 bundle 命令以提升版本兼容性\n改进命令行的输出样式","518#5.1.8":"服务器迁移到 https\nandroid 支持 64 位","516#5.1.6":"解决 Android 热更新后部分图片丢失问题:\n同一个项目中放置了多个完全相同的文件,在 5.1.0 至 5.1.5 之间的版本中,更新后有时会出现其中的部分无法显示。此问题在 5.1.6 版本修复。修复此问题涉及原生部分,需要重新打包。"}},"/docs/cli":{"title":"命令行工具","data":{"安装#安装":"$ npm install -g react-native-update-cli","命令#命令":"","pushy-bundle#pushy bundle":"生成资源包\nplatform: ios|android 对应的平台\nentryFile: 入口脚本文件\nintermediaDir: 临时文件输出目录\noutput: 最终 ppk 文件输出路径\ndev: 是否打包开发版本\nsourcemap: 是否生成 sourcemap(需 cli 版本 1.11.0+)","pushy-parseipa-ipafile#pushy parseIpa [ipaFile]":"解析 ipa 文件并输出一些相关信息,如版本号,编译时间戳等。","pushy-parseapk-apkfile#pushy parseApk [apkFile]":"解析 apk 文件并输出一些相关信息,如版本号,编译时间戳等。","pushy-diff-originnext#pushy diff [origin][next]":"提供两个 ppk 文件,生成从 origin 到 next 版本的差异更新包。\noutput: diff 文件输出路径","pushy-difffromapk-apkfilenext#pushy diffFromApk [apkFile][next]":"提供一个 apk 文件和一个 ppk 文件,生成从 apk 文件到 next 版本的差异更新包。如果使用热更新开放平台,你不需要自己执行此命令。\noutput: diff 文件输出路径","pushy-difffromipa-ipafilenext#pushy diffFromIpa [ipaFile][next]":"提供一个 ipa 文件和一个 ppk 文件,生成从 ipa 文件到 next 版本的差异更新包。如果使用热更新开放平台,你不需要自己执行此命令。\noutput: diff 文件输出路径","pushy-login-emailpwd#pushy login [email][pwd]":"登录热更新开放平台。你需要先登录才能使用下面的命令。","pushy-logout#pushy logout":"登出并清除本地的登录信息","pushy-me#pushy me":"查看自己是否已经登录,以及昵称等信息。","pushy-createapp#pushy createApp":"创建应用并立刻绑定到当前工程。这项操作也可以在网页管理端进行。\nplatform: ios|android 对应的平台\nname: 应用名称\ndownloadUrl: 应用安装包的下载地址","pushy-deleteapp-appid#pushy deleteApp [appId]":"删除已有应用。所有已创建的应用包、热更新版本都会被同时删除。这项操作也可以在网页管理端进行。\nplatform: ios|android 对应的平台","pushy-apps#pushy apps":"查看当前已创建的全部应用。这项操作也可以在网页管理端进行。\nplatform: ios|android 对应的平台","pushy-selectapp-appid#pushy selectApp [appId]":"绑定应用到当前工程。\nplatform: ios|android 对应的平台","pushy-uploadipa-ipafile#pushy uploadIpa [ipaFile]":"上传 ipa 文件到开放平台。","pushy-uploadapk-apkfile#pushy uploadApk [apkFile]":"上传 apk 文件到开放平台。","pushy-packages#pushy packages":"查看已经上传的原生包。这项操作也可以在网页管理端进行。\nplatform: ios|android 对应的平台","pushy-publish-ppkfile#pushy publish [ppkFile]":"发布新的热更新版本(ppk 文件)。\nplatform: ios|android 对应的平台\nname: 当前热更新版本的名字(版本号)\ndescription: 当前热更新版本的描述信息,可以对用户进行展示\nmetaInfo: 当前热更新版本的元信息,可以用来保存一些额外信息,具体用法可参考场景实践。","pushy-versions#pushy versions":"分页列举可用的版本。这项操作也可以在网页管理端进行。\nplatform: ios|android 对应的平台","pushy-update#pushy update":"为一个原生包版本绑定一个热更新版本。这项操作也可以在网页管理端进行。\nplatform: ios|android 对应的平台\nversionId: 要绑定的热更新版本 ID\npackageId: 要绑定的原生包 ID (与版本名二选一)\npackageVersion: 要绑定的原生包版本名(与 ID 二选一,需 cli 版本 1.7.2 或以上)"}},"/docs/faq":{"title":"常见问题","data":{"":"如果本页面没能回答您的疑问,您可以去issues 区或 QQ 群 729013783 提问,或给我们发邮件。","业务问题#业务问题":"","热更新究竟能否上架#热更新究竟能否上架?":"您可能听说过各种说法,但大量实践表明,热更新目前能够顺利上架 AppStore 和其他各种应用市场。唯一需要注意的是,在审核期间请不要发布热更新,不要让审核人员看到各种更新相关的提示和弹窗,即可顺利通过。","是否可以在海外使用#是否可以在海外使用?":"可以的,国内外都有高速 CDN 节点。","哪些修改可以热更新哪些不能#哪些修改可以热更新?哪些不能?":"我们把对应用的修改分为两类:\n不可热更新 —— 原生修改,即所有需要编译后才能生效的修改:\n任何在 iOS 或者 Android 目录中的修改、增删。\n任何含有原生代码的第三方组件的更新、修改。\n可以热更新 —— 非原生修改,即所有无需编译,刷新即可生效的修改:\njs 代码修改,包括第三方纯 js 组件的更新、修改。\n可以在 js 代码中 require/import 的资源文件,例如图片。\n需要注意的是,即便资源文件可以热更新,但这些热更新后的资源文件会以file://协议的形式提供访问,某些读取资源文件的第三方可能并不支持file://协议。","我是否可以搭建自己的热更新服务#我是否可以搭建自己的热更新服务?":"你可以单独使用本组件的原生部分(不包括 js 模块)和命令行工具中的bundle、diff、diffFromIpa、diffFromApk四个功能。这些功能都不会使用我们的热更新服务,也无需注册或登录账号。但你可能要编写自己的 js 模块来与不同的热更新服务器通讯。如果您有兴趣搭建私有云服务,可以邮件联系我们。","热更新成功完成但是重启后又回滚了是怎么回事#热更新成功完成,但是重启后又回滚了是怎么回事?":"可以正常更新,但是重启后回滚,一般有两种可能的情况:\n没有正确配置 bundleUrl\n没有正确调用 markSuccess\n如果你确定上述两个步骤都正确无误,请在issues 区给我们留言反馈。","热更新报错热更新已暂停原因编译时间戳与服务器记录不一致#热更新报错:“热更新已暂停,原因:编译时间戳与服务器记录不一致。”":"当您每次编译产生一个原生包时,其中都会记录一个编译时间戳buildTime(可以使用pushy parseIpa a.ipa或是pushy parseApk a.apk命令来查看)。如果您需要把这个包发给客户并希望使用热更新功能,那么就需要使用 upload 命令来上传到我们的服务器,而服务器端会记录这个包的版本号和编译时间戳以便后续比对记录。举例来说,假如我已经上传了一个 1.0 版本原生包(1A包),但后来由于种种原因我又重新打包了(1B包)但没有上传,这两个包有相同的版本号,但会有不同的编译时间戳。此时有几种可能的情况:\n我忘记上传过1A包,1B包没有实质更改且还没有客户安装。此时应当放弃1B包,只让客户下载安装1A包。\n我忘记上传过1A包,又生成了1B包且已有客户安装。此时1A包客户可以获取热更新,1B包客户无法获取热更新。要使两批客户都能获取热更新,要么想办法通知1B包客户装回1A包,要么重新发布一个高于1.0版本的原生包且上传到 pushy 服务器,并删除1.0版本的记录,此时1A包和1B包的客户都会收到版本过期需要下载新版本的通知。\n我知道上传过1A包,但我有原生方面的修改需要打了一个新的1B包。此时若将1B包上传到 pushy 服务器会提示版本验证错误,因为已经存在有相同的1.0版本。所以需要首先更改原生版本号再次打包,并首先将此新版本上传到服务器,然后分发给客户。这样1.0版本和新版本可以并存且都可以获得热更新。\n请谨记,任何时候生成原生包,请 1)先修改原生版本号,2)并上传到 pushy 服务器,才可以正常获得热更新。\n如果您是高级版或专业版客户,也可以考虑在管理后台的应用设置中启用忽略编译时间戳。此选项仅对比版本号,不校验时间戳,可提供更宽容的热更策略,但可能消耗更多流量,适合需要管理多个分发渠道的客户。","付费问题#付费问题":"","我应该选择哪个业务版本呢#我应该选择哪个业务版本呢?":"其实完全无需考虑,先从最高配额的专业版开始体验(新用户注册验证通过后,将自动获得 7 天专业版试用),各个版本的使用流程完全一致!当试用时间到期后,若当前版本的配额不能满足需求,可随时补差价升级到更高配额的版本。升级自动按天数计算差价,绝无额外费用。目前仅有一项额外的付费专用功能,即忽略编译时间戳设置(在管理后台的应用设置中),此选项仅对比版本号,不校验时间戳,可提供更宽容的热更策略,但可能消耗更多流量,适合需要管理多个分发渠道的客户。此功能目前仅支持高级版和专业版。","我可以试用付费版本先评估一下效果吗#我可以试用付费版本先评估一下效果吗?":"新用户注册验证通过后,将自动获得 7 天专业版试用。如您需要更长的评估时间,可将注册用户名、邮箱、公司(或个人)名称发送至 hi@charmlot.com ,标题注明“pushy 评估试用延长”,我们会为您酌情延长评估时间。","配额具体如何计算#配额具体如何计算?":"配额主要分为 3 种:\n可创建的应用数量,注意 iOS 和 Android 版本记做不同的应用。\n原生包数量及大小。原生包指通过pushy uploadIpa/uploadApk命令上传到 Pushy 服务器上作为热更新起始版本的完整 apk/ipa 安装包。\n热更包数量及大小。热更包指通过pushy bundle所命令生成的 ppk 文件。注意这不是用户实际下载的更新文件,用户下载的是通过比对生成的增量 diff 文件(比 ppk 文件要小得多)。\n这里有一些对包大小的优化建议可供参考。\n以上 2、3 条为针对每个应用单独计算。具体配额和费用由于运营成本可能会有调整,请以价格表页面为准。已购买的用户在续费前不受调整影响。","达到配额后还可以正常使用吗#达到配额后还可以正常使用吗?":"当应用、原生包、热更包数量达到配额限制后,您将无法执行相应的新增操作。但用户端仍可正常检查更新,下载已发布的更新。您可选择升级到更高配额,或是通过删除已不再使用的应用、原生包、热更包来使数量降低到配额以内,以便继续执行新增操作。\n若原生包、热更包大小超过限额,则会导致上传失败。您可以选择升级到更高配额,或是想办法进行精简优化。","我可以单独升级某项配额吗#我可以单独升级某项配额吗?":"我们暂时无法为某个单项配额提供升级选项,请选择更高版本的配额。如果专业版本配额仍然不能满足需求,请通过邮件 hi@charmlot.com 与我们联系,我们将根据您的个性化需求为您定制方案。","付费业务到期后不续费现有应用还能否正常使用#付费业务到期后不续费,现有应用还能否正常使用?":"到期后按免费版额度执行。如您现有应用已超出配额,则必须通过删除操作降低到配额以内,方可执行新的操作(如创建应用,上传热更等),但不影响用户获取之前已发布的热更。","如何获取付费的专人技术支持#如何获取付费的专人技术支持?":"请将您的用户名和订单截图发送至 hi@charmlot.com ,同时提供您希望的技术联系方式(QQ、微信等),核实后会有技术专员添加您为好友。","如何开具发票#如何开具发票?":"请将具体开票需求发送至 hi@charmlot.com ,并附上注册邮箱和订单截图。我们默认会回复普通电子发票到注册邮箱,类目为软件服务。如需指定接受邮箱或手机,请在邮件正文中注明。如需要邮寄纸质发票请注明邮寄地址,邮费为到付。","可以使用银行转账付款吗#可以使用银行转账付款吗?":"可以的。请对照价格表,将对应版本的款项转账至:\n公司名称\t武汉青罗网络科技有限公司\t开户行名称\t浙江网商银行\t账号\t8888888048825564\t\n转账完成后请截图发送至 hi@charmlot.com ,并写明注册邮箱,我们将在一个工作日内开通对应服务。"}},"/docs/getting-started":{"title":"安装配置","data":{"":"首先你应该有一个基于 React Native 开发的应用,我们把具有 package.json 的目录叫做你的应用根目录。\n如果你还没有初始化应用,请参阅开始使用 React Native。我们假设你已经拥有了开发 React Native 应用的一切环境,包括Node.js、XCode、Android SDK等等。","安装#安装":"在你的项目根目录下运行以下命令:\n# 先全局安装命令行工具,每台电脑只用装一次\nnpm i -g react-native-update-cli\n# 然后在项目目录中安装热更新模块\n# 0.71 及以上版本使用最新版本如下\nnpm i react-native-update\n# 0.71 以下版本请使用8.x版本\n# npm i react-native-update@8.x\n如果下载极慢或者显示网络失败,请设置使用淘宝镜像 npx nrm use taobao\n注意请不要混用npm/yarn/pnpm等包管理器及对应的lock文件,团队成员请坚持使用同一包管理器,且仅保留统一格式的lock文件\n如果你的 RN 版本 >= 0.60,请在 ios 目录下执行:\npod install\n如果你的 RN 版本 < 0.60,那么需要先在package.json文件的scripts中加入:\n\"postinstall\": \"npx jetify -r\"\n然后按照手动 link的说明操作。\n如果你的RN版本比较老(< 0.46),请点击这里的注意事项\n如果你的 RN 版本比较老,请按下面表格尝试老一些的版本(但这些版本我们已不再维护,不能保证可以使用):\nReact Native 版本\treact-native-update 版本\t0.26 及以下\t1.0.x\t0.27 - 0.28\t2.x\t0.29 - 0.33\t3.x\t0.34 - 0.45\t4.x\t0.46 - 0.70\t8.x\t\n安装命令示例:\nnpm i react-native-update@4.x\n如果 RN 的版本是 0.45 及以下,你还必须安装[Android NDK](http://androiddevtools.cn),版本最好选用 r10e,并设置环境变量ANDROID_NDK_HOME,指向你的 NDK 根目录(例如/Users/tdzl2003/Downloads/android-ndk-r10e)。\n请记得,任意在 ios 和 android 目录下的修改,一定要重新编译(使用 npx\nreact-native run-ios 或 run-android 命令编译,或在 Xcode/Android Studio\n中重新编译)才能生效。","手动-link#手动 link":"如果 RN 版本 >= 0.60 则不需要此手动 link 步骤。\n注意:如果是混编 RN 项目,由于自定义的配置可能不完整,自动 link\n的功能可能不能正常工作。此时即便 RN 版本 >= 0.60,你可能也需要执行手动 link 操作。","ios#iOS":"RN < 0.60且使用CocoaPods(推荐)\n在 ios/Podfile 中添加\npod 'react-native-update', path: '../node_modules/react-native-update'\n在项目的 ios 目录下运行pod install\n重新编译\nRN < 0.60且不使用CocoaPods\n在 XCode 中的 Project Navigator 里,右键点击Libraries ➜ Add Files to [你的工程名]\n进入node_modules ➜ react-native-update ➜ ios 并选中RCTPushy.xcodeproj`\n在 XCode 中的 project navigator 里,选中你的工程,在 Build Phases ➜ Link Binary With Libraries 中添加 libRCTPushy.a、libz.tbd、libbz2.1.0.tbd\n继续在Build Settings里搜索Header Search Path,添加$(SRCROOT)/../node_modules/react-native-update/ios,勾选recursive。\n在Build Phases添加一个New Run Script Phase运行脚本,内容如下\n#!/bin/bash\nset -x\nDEST=\"../node_modules/react-native-update/ios/\"\ndate +%s > \"$DEST/pushy_build_time.txt\"\n尝试编译一下,顺利的话就会在../node_modules/react-native-update/ios/文件夹下面生成一个pushy_build_time.txt文件。然后在Copy Bundle Resources里把生成的pushy_build_time.txt文件添加进去。","android#Android":"RN < 0.60\n在android/settings.gradle中添加如下代码:\ninclude ':react-native-update'\nproject(':react-native-update').projectDir = new File(rootProject.projectDir, \t'../node_modules/react-native-update/android')\n在android/app/build.gradle的 dependencies 部分增加如下代码:\nimplementation project(':react-native-update')\n打开android/app/src/main/java/[...]/MainApplication.java,\n在文件开头增加 import cn.reactnative.modules.update.UpdatePackage;\n在getPackages() 方法中增加 new UpdatePackage()(注意上一行可能要增加一个逗号)","配置-bundle-url#配置 Bundle URL":"注意此步骤无论任何版本,目前都需要手动配置。","ios-1#iOS":"在你的 AppDelegate.mm 或 AppDelegate.m 文件(不同 RN 版本可能后缀名不同)中增加如下代码:\n// ... 其它代码\n#import \"AppDelegate.h\"\n#import \"RCTPushy.h\" // <-- import头文件,注意要放到if条件外面\n// 可能项目里有一些条件编译语句,例如像较新版本RN自带的flipper\n// #if DEBUG\n// 注意**不要**在这里面引入\"RCTPushy.h\"\n// #import \n// ...\n// #endif\n// 如果RN版本 >= 0.59,修改sourceURLForBridge\n- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge\n{\n#if DEBUG\n // 原先这里的写法继续保留(所以debug模式下不可热更新)\n return .....\n#else\n  // 把这里非DEBUG的情况替换为热更新bundle的写法\n return [RCTPushy bundleURL];\n#endif\n}\n// 如果RN版本 < 0.59,修改didFinishLaunchingWithOptions\n- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions\n{\n#if DEBUG\n  // 原来的jsCodeLocation保留在这里(所以debug模式下不可热更新)\n  jsCodeLocation = ..........\n#else\n  // 把这里非DEBUG的情况替换为热更新bundle的写法\n  jsCodeLocation = [RCTPushy bundleURL];\n#endif\n // ... 其它代码\n}","android-1#Android":"在 MainApplication 中增加如下代码(如果是混编原生的项目或其他原因没有使用 ReactApplication,请使用此 api 集成):\n// ... 其它代码\n// ↓↓↓请注意不要少了这句import\nimport cn.reactnative.modules.update.UpdateContext;\n// ↑↑↑\nclass MainApplication : Application(), ReactApplication {\n override val reactNativeHost: ReactNativeHost =\n object : DefaultReactNativeHost(this) {\n // ↓↓↓将下面这一段添加到 DefaultReactNativeHost 内部!\n override fun getJSBundleFile(): String? {\n return UpdateContext.getBundleUrl(this@MainApplication)\n }\n // ↑↑↑\n // ...其他代码\n }\n}\n// ... 其它代码\n// ↓↓↓请注意不要少了这句import\nimport cn.reactnative.modules.update.UpdateContext;\n// ↑↑↑\npublic class MainApplication extends Application implements ReactApplication {\n private final ReactNativeHost mReactNativeHost =\n // 老版本 RN 这里可能是 new ReactNativeHost(this)\n new DefaultReactNativeHost(this) {\n // ↓↓↓将下面这一段添加到 DefaultReactNativeHost 内部!\n @Override\n protected String getJSBundleFile() {\n return UpdateContext.getBundleUrl(MainApplication.this);\n }\n // ↑↑↑\n // ...其他代码\n }\n}\n请记得,任意在 ios 和 android 目录下的修改,一定要重新编译(npx react-native\nrun-ios 或 run-android 命令编译,或在 Xcode/Android Studio\n中重新编译)才能生效。","禁用-android-的-crunch-优化#禁用 android 的 crunch 优化":"android 会在生成 apk 时自动对 png 图片进行压缩,此操作既耗时又影响增量补丁的生成。为了保证补丁能正常生成,您需要在android/app/build.gradle中关闭此操作:\n...\nandroid {\n ...\n signingConfigs { ... }\n buildTypes {\n release {\n ...\n // 添加下面这行以禁用crunch\n crunchPngs false\n }\n }\n}\n...","登录与创建应用#登录与创建应用":"首先请在 https://update.reactnative.cn 注册帐号,然后在你的项目根目录下运行以下命令:\n$ pushy login\nemail: <输入你的注册邮箱>\npassword: <输入你的密码>\n这会在项目文件夹下创建一个.update文件,注意不要把这个文件上传到 Git 等 CVS 系统上。你可以在.gitignore末尾增加一行.update来忽略这个文件。登录之后可以创建应用。注意 iOS 平台和安卓平台需要分别创建:\n$ pushy createApp --platform ios\nApp Name: <输入应用名字>\n$ pushy createApp --platform android\nApp Name: <输入应用名字>\n两次输入的名字可以相同,这没有关系。\n如果你已经在网页端或者其它地方创建过应用,也可以直接选择应用:\n$ pushy selectApp --platform ios\n1) 鱼多多(ios)\n2) 招财旺(ios)\nTotal 2 ios apps\nEnter appId: <输入应用前面的编号>\n选择或者创建过应用后,你将可以在文件夹下看到update.json文件,其内容类似如下形式:\n{\n \"ios\": {\n \"appId\": 1,\n \"appKey\": \"<一串随机字符串>\"\n },\n \"android\": {\n \"appId\": 2,\n \"appKey\": \"<一串随机字符串>\"\n }\n}\n你可以安全的把update.json上传到 Git 等 CVS 系统上,与你的团队共享这个文件,它不包含任何敏感信息。当然,他们在使用任何功能之前,都必须首先输入pushy login进行登录。至此应用的创建/选择就已经成功了。下一步,你需要给代码添加相应的功能,请参阅代码集成。"}},"/docs/integration":{"title":"代码集成","data":{"":"安装配置完成后,确定应用编译顺利通过,下面我们来进行代码集成。","极简快速集成#极简快速集成":"我们从 v8.x 版本开始提供极简的三行式集成(老版本只能使用自定义集成方式):\nimport { Platform } from \"react-native\";\nimport { simpleUpdate } from \"react-native-update\";\nimport _updateConfig from \"./update.json\";\nconst { appKey } = _updateConfig[Platform.OS];\n// 整个应用的根组件,class 或函数组件都可以\nclass App extends Component {\n // 这是个空的示例,请替换为你自己的根组件\n}\n// 对根组件使用simpleUpdate方法封装后导出\nexport default simpleUpdate(App, {\n appKey,\n onPushyEvents: ({ type, data }) => {\n // 热更成功或报错的事件回调\n // 可上报自有或第三方数据统计服务\n },\n});\n此方式默认在 App 启动,以及从后台切换到前台时触发更新检查,弹出提示的内容也固定。如需自定义触发时机,以及修改界面提示等,请参考下面的自定义集成方式。","自定义集成#自定义集成":"","获取-appkey#获取 appKey":"检查更新时必须提供你的appKey,这个值保存在update.json中,并且根据平台不同而不同。你可以用如下的代码获取:\nimport { Platform } from \"react-native\";\nimport _updateConfig from \"./update.json\";\nconst { appKey } = _updateConfig[Platform.OS];\n如果你不使用 pushy 命令行,也可以从网页端查看到两个应用 appKey,并根据平台的不同来选择。","检查更新下载更新#检查更新、下载更新":"异步函数checkUpdate可以检查当前版本是否需要更新:\nconst info = await checkUpdate(appKey);\n返回的info有三种情况:\n{expired: true}:该应用原生包已过期(已从 pushy 服务器中删除),开发者应该在 pushy 控制台添加一个更新下载链接,并自行提示用户下载。\n{upToDate: true}:当前已经更新到最新,无需进行更新。\n{update: true}:当前有新版本可以更新。info 的name、description字段可以用于提示用户,而metaInfo字段则可以根据你的需求自定义其它属性(如是否静默更新、是否强制更新等等),具体用法可参考场景实践。另外还有几个字段,包含了补丁包的下载地址等。 pushy 会首先尝试耗费流量更少的更新方式。将info对象传递给downloadUpdate方法作为参数即可。\nconst hash = await downloadUpdate(\n info,\n // 下载回调为可选参数,从v5.8.3版本开始加入\n {\n onDownloadProgress: ({ received, total }) => {\n // 已下载的字节数, 总字节数\n console.log(received, total);\n },\n }\n);\ndownloadUpdate方法从v5.8.3版本开始新增接受第二个可选参数,为下载进度的回调函数(onDownloadProgress)。可根据回调参数自行设计进度的展示。","切换版本#切换版本":"downloadUpdate的返回值是一个 hash 字符串,它是当前热更新版本的唯一标识。你可以使用switchVersion(hash)函数立即切换版本(此时应用会立即重新加载),或者选择调用 switchVersionLater(hash),让应用在下一次启动的时候再加载新的版本。","首次启动回滚#首次启动、回滚":"在每次更新完毕后的首次启动时,isFirstTime常量会为true。你必须在应用退出前合适的任何时机,调用markSuccess,否则应用下一次启动的时候将会进行回滚操作。这一机制称作“反触发”,这样当你应用启动初期即遭遇问题的时候,也能在下一次启动时恢复运作。你可以通过isFirstTime来获知这是当前版本的首次启动,也可以通过isRolledBack来获知应用刚刚经历了一次回滚操作。你可以在此时给予用户合理的提示。以上提及的所有 api 的说明文档可在这里查看。","完整的示例#完整的示例":"import React, { Component } from \"react\";\nimport {\n StyleSheet,\n Platform,\n Text,\n View,\n Alert,\n TouchableOpacity,\n Linking,\n} from \"react-native\";\nimport {\n isFirstTime,\n isRolledBack,\n packageVersion,\n currentVersion,\n checkUpdate,\n downloadUpdate,\n switchVersion,\n switchVersionLater,\n markSuccess,\n downloadAndInstallApk,\n onPushyEvents,\n} from \"react-native-update\";\nimport _updateConfig from \"./update.json\";\nconst { appKey } = _updateConfig[Platform.OS];\nonPushyEvents(({ type, data }) => {\n // 热更成功或报错的事件回调\n // 可上报自有或第三方数据统计服务\n});\nexport default class MyProject extends Component {\n state = {\n received: 0,\n total: 0,\n };\n componentDidMount() {\n if (isFirstTime) {\n // 必须调用此更新成功标记方法\n // 否则默认更新失败,下一次启动会自动回滚\n markSuccess();\n console.log(\"更新完成\");\n } else if (isRolledBack) {\n console.log(\"刚刚更新失败了,版本被回滚.\");\n }\n }\n doUpdate = async (info) => {\n try {\n const hash = await downloadUpdate(info, {\n onDownloadProgress: ({ received, total }) => {\n this.setState({\n received,\n total,\n });\n },\n });\n if (!hash) {\n return;\n }\n Alert.alert(\"提示\", \"下载完毕,是否重启应用?\", [\n {\n text: \"是\",\n onPress: () => {\n switchVersion(hash);\n },\n },\n { text: \"否\" },\n {\n text: \"下次启动时\",\n onPress: () => {\n switchVersionLater(hash);\n },\n },\n ]);\n } catch (err) {\n Alert.alert(\"更新失败\", err.message);\n }\n };\n checkUpdate = async () => {\n if (__DEV__) {\n // 开发模式不支持热更新,跳过检查\n return;\n }\n let info;\n try {\n info = await checkUpdate(appKey);\n } catch (err) {\n Alert.alert(\"更新检查失败\", err.message);\n return;\n }\n if (info.expired) {\n Alert.alert(\"提示\", \"您的应用版本已更新,点击确定下载安装新版本\", [\n {\n text: \"确定\",\n onPress: () => {\n // downloadUrl 需要在后台设置中自行配置\n if (info.downloadUrl) {\n // apk可直接下载安装\n if (\n Platform.OS === \"android\" &&\n info.downloadUrl.endsWith(\".apk\")\n ) {\n // 此方法还需要额外的配置,请参考\n // https://pushy.reactnative.cn/docs/api#async-function-downloadandinstallapk-url-ondownloadprogress-\n downloadAndInstallApk({\n url: info.downloadUrl,\n onDownloadProgress: ({ received, total }) => {\n this.setState({\n received,\n total,\n });\n },\n });\n } else {\n Linking.openURL(info.downloadUrl);\n }\n }\n },\n },\n ]);\n } else if (info.upToDate) {\n Alert.alert(\"提示\", \"您的应用版本已是最新.\");\n } else {\n Alert.alert(\n \"提示\",\n \"检查到新的版本\" + info.name + \",是否下载?\\n\" + info.description,\n [\n {\n text: \"是\",\n onPress: () => {\n this.doUpdate(info);\n },\n },\n { text: \"否\" },\n ]\n );\n }\n };\n render() {\n const { received, total } = this.state;\n return (\n \n 欢迎使用热更新服务\n \n 这是版本一 {\"\\n\"}\n 当前原生包版本号: {packageVersion}\n {\"\\n\"}\n 当前热更新版本Hash: {currentVersion || \"(空)\"}\n {\"\\n\"}\n \n \n 下载进度:{received} / {total}\n \n \n 点击这里检查更新\n \n \n );\n }\n}\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n justifyContent: \"center\",\n alignItems: \"center\",\n backgroundColor: \"#F5FCFF\",\n },\n welcome: {\n fontSize: 20,\n textAlign: \"center\",\n margin: 10,\n },\n instructions: {\n textAlign: \"center\",\n color: \"#333333\",\n marginBottom: 5,\n },\n});\n现在,你的应用已经可以通过 pushy 服务检查版本并进行更新了。下一步,你可以开始尝试发布应用包和版本,请参阅发布热更新。"}},"/docs/publish":{"title":"发布热更新","data":{"":"现在你的应用已经具备了检测更新的功能,下面我们来尝试发布并更新它。流程可参考下图:\n流程总结如下:\n我们需要先打包一个原生 release 版本,在打包前请确保已集成了react-native-update并在调试过程中运行正常,安卓端关闭了crunchPngs设置,打包说明可参考iOS 打包和android 打包。打包完成后请使用pushy uploadIpa或者pushy uploadApk命令来把这个安装包上传到 pushy 服务器端,以作为之后热更差量对比的基准。同时请保留好这个安装包,上架和分发给用户所使用的安装包需要和服务器端完全一致。建议使用 git tag 功能来标记原生版本号(例如v1.0.0)。\n然后在基准版本之上迭代业务逻辑(增删 js 代码,增删图片等静态资源),使用pushy bundle命令来生成和发布热更新版本,而不需要重新打包。建议使用 git tag 功能来标记热更版本号(例如v1.0.1)。\n如果迭代过程中有原生方面的修改,则需要发布并上传新的原生基准版本(重复步骤 1,但需要设置不同的原生版本号)。可以只保留一个原生基准版本,也可以多版本同时维护。","发布原生基准版本#发布原生基准版本":"","ios#iOS":"首先参考文档-在设备上运行,确定你正在使用离线包。然后点击菜单。按照正常的发布流程打包.ipa文件:\nXcode 中运行设备选真机或 Generic iOS Device\n菜单中选择 Product - Archive\nArchive 完成后选择Export生成.ipa 文件\n然后运行如下命令上传到 pushy 服务器以供后续版本比对之用\n$ pushy uploadIpa \n此 ipa 的CFBundleShortVersionString字段(位于ios/项目名/Info.plist中)会被记录为原生版本号packageVersion。随后你可以选择往 AppStore 上传这个版本(可以重新 export 并调整相关选项,但请不要重新 archive),也可以先通过Test flight或蒲公英等渠道进行真机安装测试。请注意:暂不支持通过 Xcode 直接进行热更新测试。如果后续需要再次 archive 打包(例如修改原生代码或配置。如果只是修改 js 代码则不需要重新打包。),请先更改版本号,并在打包完成后再次uploadIpa到服务器端记录,否则后续生成的相同版本的原生包会由于编译时间戳不一致而无法获取热更新。\n注意:如果你在上传之前就运行了新的原生版本,由于服务器端没有记录,会暂停其更新数小时。可删除原先安装的 app 再重新安装以清空暂停设置。在上传之后安装的客户端不会受此影响。","android#Android":"首先参考文档-打包 APK设置签名,然后在 android 文件夹下运行./gradlew assembleRelease或./gradlew aR,你就可以在android/app/build/outputs/apk/release/app-release.apk中找到你的应用包。\n如果你需要使用 aab 格式(android app bundle,google 市场专用)的包,请参考这里的做法将其转换为 apk 格式后再操作。\n然后运行如下命令\n$ pushy uploadApk android/app/build/outputs/apk/release/app-release.apk\n即可上传 apk 以供后续版本比对之用。此 apk 的versionName字段(位于android/app/build.gralde中)会被记录为原生版本号packageVersion。随后你可以选择往应用市场发布这个版本,也可以先往设备上直接安装这个 apk 文件以进行测试。如果后续需要再次打包(例如修改原生代码或配置。如果只是修改 js 代码则不需要重新打包。),请先更改版本号,并再次uploadApk到服务器端记录,否则后续生成的相同版本的原生包会由于编译时间戳不一致而无法获取热更新。\n注意:如果你在上传之前就运行了新的原生版本,由于服务器端没有记录,会暂停其更新数小时。可删除原先安装的 app 再重新安装以清空暂停设置。在上传之后安装的客户端不会受此影响。","发布热更新版本#发布热更新版本":"你可以尝试修改一行代码(譬如将版本一修改为版本二),然后使用pushy bundle --platform 命令来生成新的热更新版本。\n$ pushy bundle --platform android\nBundling with React Native version: 0.22.2\n<各种进度输出>\nBundled saved to: build/output/android.1459850548545.ppk\nWould you like to publish it?(Y/N)\n如果想要立即上传,此时输入 Y。当然,你也可以在将来使用pushy publish --platform android build/output/android.1459850548545.ppk来上传刚才打包好的热更新包。\n Uploading [========================================================] 100% 0.0s\nEnter version name: <输入热更新版本名字,如1.0.0-rc>\nEnter description: <输入热更新版本描述>\nEnter meta info: {\"ok\":1}\nOk.\nWould you like to bind packages to this version?(Y/N)\n此时版本已经提交到 pushy 服务,但用户暂时看不到此更新,你需要先将特定的原生包版本绑定到此热更新版本上。此时输入 Y 立即绑定,你也可以在将来使用pushy update --platform 来对已上传的热更包和原生包进行绑定。除此以外,你还可以在网页端操作,简单的将对应的原生包版本拖到需要的热更新版本下即可。\n┌────────────┬──────────────────────────────────────┐\n│ Package Id │ Version │\n├────────────┼──────────────────────────────────────┤\n│ 46272 │ 2.0(normal) │\n├────────────┼──────────────────────────────────────┤\n│ 45577 │ 1.0(normal) │\n└────────────┴──────────────────────────────────────┘\n共 2 个包\n输入原生包 id: 46272\n版本绑定完毕后,服务器会在几秒内生成差量补丁,客户端就可以获取到更新了。后续要继续发布新的热更新,只需反复执行pushy bundle命令即可,不需要重新打包。恭喜你,至此为止,你已经完成了植入代码热更新的全部工作。","测试发布与回滚#测试、发布与回滚":"我们强烈建议您先发布一个测试包,再发布一个除了版本号以外均完全相同的正式包。例如,假设我们有一个正式包,版本为1.6.0,那么可以修改版本号重新打包一个1001.6.0,以一个明显不太正常的版本号来标识它是一个测试版本,同时后几位相同,可以表明它和某个正式版本存在关联(内容/依赖一致)。在每次往发布包发起热更新之前,先对测试包1001.6.0进行更新操作,基本测试通过之后,再在网页后台上将热更包重新绑定到正式包1.6.0上。如果在测试包中发现了重大问题,你就可以先进行修复,更新测试确认通过后再部署到正式线上环境。这样,可以最大程度的避免发生线上事故。万一确实发生线上事故需要回滚的话,首先利用版本控制系统回滚代码到正常的状态,然后重新生成热更包并推送即可。"}},"/":{"title":"Index","data":{}},"/pricing":{"title":"价格","data":{}}} \ No newline at end of file diff --git a/_next/static/chunks/pages/_app-04e4fe8622bd66be.js b/_next/static/chunks/pages/_app-04e4fe8622bd66be.js new file mode 100644 index 0000000..4484a19 --- /dev/null +++ b/_next/static/chunks/pages/_app-04e4fe8622bd66be.js @@ -0,0 +1,38 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{81548:function(ee,en,er){"use strict";er.r(en),er.d(en,{blue:function(){return eL},cyan:function(){return eM},geekblue:function(){return eZ},generate:function(){return e_},gold:function(){return eT},gray:function(){return eF},green:function(){return eI},grey:function(){return ez},lime:function(){return eN},magenta:function(){return eD},orange:function(){return eA},presetDarkPalettes:function(){return eO},presetPalettes:function(){return ej},presetPrimaryColors:function(){return eE},purple:function(){return eP},red:function(){return eC},volcano:function(){return eS},yellow:function(){return eR}});var eo=er(96299),ei=er(28556),ec=2,eu=.16,ed=.05,ef=.05,eh=.15,ep=5,em=4,eg=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function ex(ee){var en=ee.r,er=ee.g,ei=ee.b,ec=(0,eo.py)(en,er,ei);return{h:360*ec.h,s:ec.s,v:ec.v}}function ev(ee){var en=ee.r,er=ee.g,ei=ee.b;return"#".concat((0,eo.vq)(en,er,ei,!1))}function ey(ee,en,er){var eo=er/100;return{r:(en.r-ee.r)*eo+ee.r,g:(en.g-ee.g)*eo+ee.g,b:(en.b-ee.b)*eo+ee.b}}function eb(ee,en,er){var eo;return(eo=Math.round(ee.h)>=60&&240>=Math.round(ee.h)?er?Math.round(ee.h)-ec*en:Math.round(ee.h)+ec*en:er?Math.round(ee.h)+ec*en:Math.round(ee.h)-ec*en)<0?eo+=360:eo>=360&&(eo-=360),eo}function ew(ee,en,er){var eo;return 0===ee.h&&0===ee.s?ee.s:((eo=er?ee.s-eu*en:en===em?ee.s+eu:ee.s+ed*en)>1&&(eo=1),er&&en===ep&&eo>.1&&(eo=.1),eo<.06&&(eo=.06),Number(eo.toFixed(2)))}function ek(ee,en,er){var eo;return(eo=er?ee.v+ef*en:ee.v-eh*en)>1&&(eo=1),Number(eo.toFixed(2))}function e_(ee){for(var en=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},er=[],eo=(0,ei.uA)(ee),ec=ep;ec>0;ec-=1){var eu=ex(eo),ed=ev((0,ei.uA)({h:eb(eu,ec,!0),s:ew(eu,ec,!0),v:ek(eu,ec,!0)}));er.push(ed)}er.push(ev(eo));for(var ef=1;ef<=em;ef+=1){var eh=ex(eo),e_=ev((0,ei.uA)({h:eb(eh,ef),s:ew(eh,ef),v:ek(eh,ef)}));er.push(e_)}return"dark"===en.theme?eg.map(function(ee){var eo=ee.index,ec=ee.opacity;return ev(ey((0,ei.uA)(en.backgroundColor||"#141414"),(0,ei.uA)(er[eo]),100*ec))}):er}var eE={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},ej={},eO={};Object.keys(eE).forEach(function(ee){ej[ee]=e_(eE[ee]),ej[ee].primary=ej[ee][5],eO[ee]=e_(eE[ee],{theme:"dark",backgroundColor:"#141414"}),eO[ee].primary=eO[ee][5]});var eC=ej.red,eS=ej.volcano,eT=ej.gold,eA=ej.orange,eR=ej.yellow,eN=ej.lime,eI=ej.green,eM=ej.cyan,eL=ej.blue,eZ=ej.geekblue,eP=ej.purple,eD=ej.magenta,ez=ej.grey,eF=ej.grey},42374:function(ee,en,er){"use strict";er.d(en,{E4:function(){return tk},jG:function(){return eN},fp:function(){return e7},xy:function(){return tw}});var eo,ei=er(1874),ec=er(12309),eu=function(ee){for(var en,er=0,eo=0,ei=ee.length;ei>=4;++eo,ei-=4)en=(65535&(en=255&ee.charCodeAt(eo)|(255&ee.charCodeAt(++eo))<<8|(255&ee.charCodeAt(++eo))<<16|(255&ee.charCodeAt(++eo))<<24))*1540483477+((en>>>16)*59797<<16),en^=en>>>24,er=(65535&en)*1540483477+((en>>>16)*59797<<16)^(65535&er)*1540483477+((er>>>16)*59797<<16);switch(ei){case 3:er^=(255&ee.charCodeAt(eo+2))<<16;case 2:er^=(255&ee.charCodeAt(eo+1))<<8;case 1:er^=255&ee.charCodeAt(eo),er=(65535&er)*1540483477+((er>>>16)*59797<<16)}return er^=er>>>13,(((er=(65535&er)*1540483477+((er>>>16)*59797<<16))^er>>>15)>>>0).toString(36)},ed=er(50959),ef=er.t(ed,2);er(12554);var eh=er(12868),ep=er(9130),em=er(82349),eg=er(25201),ex="%",Cache=function(){function ee(en){(0,ep.Z)(this,ee),(0,eg.Z)(this,"instanceId",void 0),(0,eg.Z)(this,"cache",new Map),this.instanceId=en}return(0,em.Z)(ee,[{key:"get",value:function(ee){return this.cache.get(ee.join(ex))||null}},{key:"update",value:function(ee,en){var er=ee.join(ex),eo=en(this.cache.get(er));null===eo?this.cache.delete(er):this.cache.set(er,eo)}}]),ee}(),ev="data-token-hash",ey="data-css-hash",eb="__cssinjs_instance__";function ew(){var ee=Math.random().toString(12).slice(2);if("undefined"!=typeof document&&document.head&&document.body){var en=document.body.querySelectorAll("style[".concat(ey,"]"))||[],er=document.head.firstChild;Array.from(en).forEach(function(en){en[eb]=en[eb]||ee,en[eb]===ee&&document.head.insertBefore(en,er)});var eo={};Array.from(document.querySelectorAll("style[".concat(ey,"]"))).forEach(function(en){var er,ei=en.getAttribute(ey);eo[ei]?en[eb]===ee&&(null===(er=en.parentNode)||void 0===er||er.removeChild(en)):eo[ei]=!0})}return new Cache(ee)}var ek=ed.createContext({hashPriority:"low",cache:ew(),defaultCache:!0}),e_=er(26407),eE=er(63490),ej=er(35966),eO=er(76729);function eC(ee,en){if(ee.length!==en.length)return!1;for(var er=0;er1&&void 0!==arguments[1]&&arguments[1],ei={map:this.cache};return ee.forEach(function(ee){if(ei){var en;ei=null===(en=ei)||void 0===en||null===(en=en.map)||void 0===en?void 0:en.get(ee)}else ei=void 0}),null!==(en=ei)&&void 0!==en&&en.value&&eo&&(ei.value[1]=this.cacheCallTimes++),null===(er=ei)||void 0===er?void 0:er.value}},{key:"get",value:function(ee){var en;return null===(en=this.internalGet(ee,!0))||void 0===en?void 0:en[0]}},{key:"has",value:function(ee){return!!this.internalGet(ee)}},{key:"set",value:function(en,er){var eo=this;if(!this.has(en)){if(this.size()+1>ee.MAX_CACHE_SIZE+ee.MAX_CACHE_OFFSET){var ei=this.keys.reduce(function(ee,en){var er=(0,eO.Z)(ee,2)[1];return eo.internalGet(en)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),eT+=1}return(0,em.Z)(ee,[{key:"getDerivativeToken",value:function(ee){return this.derivatives.reduce(function(en,er){return er(ee,en)},void 0)}}]),ee}(),eR=new eS;function eN(ee){var en=Array.isArray(ee)?ee:[ee];return eR.has(en)||eR.set(en,new eA(en)),eR.get(en)}var eI=new WeakMap,eM={};function eL(ee,en){for(var er=eI,eo=0;eo=(e2.get(ee)||0)});er.length-eo.length>e6&&eo.forEach(function(ee){e4(ee,en),e2.delete(ee)})}var e9=function(ee,en,er,eo){var ei=er.getDerivativeToken(ee),eu=(0,ec.Z)((0,ec.Z)({},ei),en);return eo&&(eu=eo(eu)),eu};function e7(ee,en){var er=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},eo=(0,ed.useContext)(ek).cache.instanceId,ec=er.salt,ef=void 0===ec?"":ec,eh=er.override,ep=void 0===eh?e0:eh,em=er.formatToken,eg=er.getComputedToken,ex=eL(function(){return Object.assign.apply(Object,[{}].concat((0,ei.Z)(en)))},en),ev=eP(ex),ey=eP(ep);return eJ("token",[ef,ee.id,ev,ey],function(){var en=eg?eg(ex,ep,ee):e9(ex,ep,ee,em),er=eD(en,ef);en._tokenKey=er,e5(er);var eo="".concat(e1,"-").concat(eu(er));return en._hashId=eo,[en,eo]},function(ee){e3(ee[0]._tokenKey,eo)})}var e8=er(97605),tn={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},tr=er(48871),to=er(75542),ti="data-ant-cssinjs-cache-path",ts="_FILE_STYLE__",tl=!0;function tc(){if(!eo&&(eo={},(0,eE.Z)())){var ee,en=document.createElement("div");en.className=ti,en.style.position="fixed",en.style.visibility="hidden",en.style.top="-9999px",document.body.appendChild(en);var er=getComputedStyle(en).content||"";(er=er.replace(/^"/,"").replace(/"$/,"")).split(";").forEach(function(ee){var en=ee.split(":"),er=(0,eO.Z)(en,2),ei=er[0],ec=er[1];eo[ei]=ec});var ei=document.querySelector("style[".concat(ti,"]"));ei&&(tl=!1,null===(ee=ei.parentNode)||void 0===ee||ee.removeChild(ei)),document.body.removeChild(en)}}function tu(ee){return tc(),!!eo[ee]}function td(ee){var en=eo[ee],er=null;if(en&&(0,eE.Z)()){if(tl)er=ts;else{var ei=document.querySelector("style[".concat(ey,'="').concat(eo[ee],'"]'));ei?er=ei.innerHTML:delete eo[ee]}}return[er,en]}var tf=(0,eE.Z)(),th="_skip_check_",tp="_multi_value_";function tm(ee){return(0,tr.q)((0,to.MY)(ee),tr.P).replace(/\{%%%\:[^;];}/g,";")}function tg(ee){return"object"===(0,e_.Z)(ee)&&ee&&(th in ee||tp in ee)}function tx(ee,en,er){if(!en)return ee;var eo=".".concat(en),ec="low"===er?":where(".concat(eo,")"):eo;return ee.split(",").map(function(ee){var en,er=ee.trim().split(/\s+/),eo=er[0]||"",eu=(null===(en=eo.match(/^\w+/))||void 0===en?void 0:en[0])||"";return[eo="".concat(eu).concat(ec).concat(eo.slice(eu.length))].concat((0,ei.Z)(er.slice(1))).join(" ")}).join(",")}var tv=function ee(en){var er=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},eo=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},eu=eo.root,ed=eo.injectHash,ef=eo.parentSelectors,eh=er.hashId,ep=er.layer,em=(er.path,er.hashPriority),eg=er.transformers,ex=void 0===eg?[]:eg;er.linters;var ev="",ey={};function eb(en){var eo=en.getName(eh);if(!ey[eo]){var ei=ee(en.style,er,{root:!1,parentSelectors:ef}),ec=(0,eO.Z)(ei,1)[0];ey[eo]="@keyframes ".concat(en.getName(eh)).concat(ec)}}function ew(ee){var en=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return ee.forEach(function(ee){Array.isArray(ee)?ew(ee,en):ee&&en.push(ee)}),en}if(ew(Array.isArray(en)?en:[en]).forEach(function(en){var eo="string"!=typeof en||eu?en:{};if("string"==typeof eo)ev+="".concat(eo,"\n");else if(eo._keyframe)eb(eo);else{var ep=ex.reduce(function(ee,en){var er;return(null==en||null===(er=en.visit)||void 0===er?void 0:er.call(en,ee))||ee},eo);Object.keys(ep).forEach(function(en){var eo=ep[en];if("object"!==(0,e_.Z)(eo)||!eo||"animationName"===en&&eo._keyframe||tg(eo)){function eg(ee,en){var er=ee.replace(/[A-Z]/g,function(ee){return"-".concat(ee.toLowerCase())}),eo=en;tn[ee]||"number"!=typeof eo||0===eo||(eo="".concat(eo,"px")),"animationName"===ee&&null!=en&&en._keyframe&&(eb(en),eo=en.getName(eh)),ev+="".concat(er,":").concat(eo,";")}var ex,ew=null!==(ex=null==eo?void 0:eo.value)&&void 0!==ex?ex:eo;"object"===(0,e_.Z)(eo)&&null!=eo&&eo[tp]&&Array.isArray(ew)?ew.forEach(function(ee){eg(en,ee)}):eg(en,ew)}else{var ek=!1,eE=en.trim(),ej=!1;(eu||ed)&&eh?eE.startsWith("@")?ek=!0:eE=tx(en,eh,em):eu&&!eh&&("&"===eE||""===eE)&&(eE="",ej=!0);var eC=ee(eo,er,{root:ej,injectHash:ek,parentSelectors:[].concat((0,ei.Z)(ef),[eE])}),eS=(0,eO.Z)(eC,2),eT=eS[0],eA=eS[1];ey=(0,ec.Z)((0,ec.Z)({},ey),eA),ev+="".concat(eE).concat(eT)}})}}),eu){if(ep&&eW()){var ek=ep.split(","),eE=ek[ek.length-1].trim();ev="@layer ".concat(eE," {").concat(ev,"}"),ek.length>1&&(ev="@layer ".concat(ep,"{%%%:%}").concat(ev))}}else ev="{".concat(ev,"}");return[ev,ey]};function ty(ee,en){return eu("".concat(ee.join("%")).concat(en))}function tb(){return null}function tw(ee,en){var er=ee.token,eo=ee.path,ec=ee.hashId,eu=ee.layer,ef=ee.nonce,eh=ee.clientOnly,ep=ee.order,em=void 0===ep?0:ep,ex=ed.useContext(ek),ew=ex.autoClear,e_=(ex.mock,ex.defaultCache),eE=ex.hashPriority,eC=ex.container,eS=ex.ssrInline,eT=ex.transformers,eA=ex.linters,eR=ex.cache,eN=er._tokenKey,eI=[eN].concat((0,ei.Z)(eo)),eM=tf,eL=eJ("style",eI,function(){var ee=eI.join("|");if(tu(ee)){var er=td(ee),ei=(0,eO.Z)(er,2),ed=ei[0],ef=ei[1];if(ed)return[ed,eN,ef,{},eh,em]}var ep=tv(en(),{hashId:ec,hashPriority:eE,layer:eu,path:eo.join("-"),transformers:eT,linters:eA}),eg=(0,eO.Z)(ep,2),ex=eg[0],ev=eg[1],ey=tm(ex),eb=ty(eI,ey);return[ey,eN,eb,ev,eh,em]},function(ee,en){var er=(0,eO.Z)(ee,3)[2];(en||ew)&&tf&&(0,ej.jL)(er,{mark:ey})},function(ee){var en=(0,eO.Z)(ee,4),er=en[0],eo=(en[1],en[2]),ei=en[3];if(eM&&er!==ts){var ec={mark:ey,prepend:"queue",attachTo:eC,priority:em},eu="function"==typeof ef?ef():ef;eu&&(ec.csp={nonce:eu});var ed=(0,ej.hq)(er,eo,ec);ed[eb]=eR.instanceId,ed.setAttribute(ev,eN),Object.keys(ei).forEach(function(ee){(0,ej.hq)(tm(ei[ee]),"_effect-".concat(ee),ec)})}}),eZ=(0,eO.Z)(eL,3),eP=eZ[0],eD=eZ[1],ez=eZ[2];return function(ee){var en,er;return en=eS&&!eM&&e_?ed.createElement("style",(0,e8.Z)({},(er={},(0,eg.Z)(er,ev,eD),(0,eg.Z)(er,ey,ez),er),{dangerouslySetInnerHTML:{__html:eP}})):ed.createElement(tb,null),ed.createElement(ed.Fragment,null,en,ee)}}var tk=function(){function ee(en,er){(0,ep.Z)(this,ee),(0,eg.Z)(this,"name",void 0),(0,eg.Z)(this,"style",void 0),(0,eg.Z)(this,"_keyframe",!0),this.name=en,this.style=er}return(0,em.Z)(ee,[{key:"getName",value:function(){var ee=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return ee?"".concat(ee,"-").concat(this.name):this.name}}]),ee}();function t_(ee){return ee.notSplit=!0,ee}t_(["borderTop","borderBottom"]),t_(["borderTop"]),t_(["borderBottom"]),t_(["borderLeft","borderRight"]),t_(["borderLeft"]),t_(["borderRight"])},96299:function(ee,en,er){"use strict";er.d(en,{T6:function(){return ex},VD:function(){return ev},WE:function(){return eh},Yt:function(){return ey},lC:function(){return ec},py:function(){return ef},rW:function(){return ei},s:function(){return em},ve:function(){return ed},vq:function(){return ep}});var eo=er(23881);function ei(ee,en,er){return{r:255*(0,eo.sh)(ee,255),g:255*(0,eo.sh)(en,255),b:255*(0,eo.sh)(er,255)}}function ec(ee,en,er){var ei=Math.max(ee=(0,eo.sh)(ee,255),en=(0,eo.sh)(en,255),er=(0,eo.sh)(er,255)),ec=Math.min(ee,en,er),eu=0,ed=0,ef=(ei+ec)/2;if(ei===ec)ed=0,eu=0;else{var eh=ei-ec;switch(ed=ef>.5?eh/(2-ei-ec):eh/(ei+ec),ei){case ee:eu=(en-er)/eh+(en1&&(er-=1),er<1/6)?ee+(en-ee)*(6*er):er<.5?en:er<2/3?ee+(en-ee)*(2/3-er)*6:ee}function ed(ee,en,er){if(ee=(0,eo.sh)(ee,360),en=(0,eo.sh)(en,100),er=(0,eo.sh)(er,100),0===en)ec=er,ed=er,ei=er;else{var ei,ec,ed,ef=er<.5?er*(1+en):er+en-er*en,eh=2*er-ef;ei=eu(eh,ef,ee+1/3),ec=eu(eh,ef,ee),ed=eu(eh,ef,ee-1/3)}return{r:255*ei,g:255*ec,b:255*ed}}function ef(ee,en,er){var ei=Math.max(ee=(0,eo.sh)(ee,255),en=(0,eo.sh)(en,255),er=(0,eo.sh)(er,255)),ec=Math.min(ee,en,er),eu=0,ed=ei,ef=ei-ec,eh=0===ei?0:ef/ei;if(ei===ec)eu=0;else{switch(ei){case ee:eu=(en-er)/ef+(en>16,g:(65280&ee)>>8,b:255&ee}}},76367:function(ee,en,er){"use strict";er.d(en,{R:function(){return eo}});var eo={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},28556:function(ee,en,er){"use strict";er.d(en,{uA:function(){return eu}});var eo=er(96299),ei=er(76367),ec=er(23881);function eu(ee){var en={r:0,g:0,b:0},er=1,ei=null,eu=null,ed=null,ef=!1,eh=!1;return"string"==typeof ee&&(ee=ex(ee)),"object"==typeof ee&&(ev(ee.r)&&ev(ee.g)&&ev(ee.b)?(en=(0,eo.rW)(ee.r,ee.g,ee.b),ef=!0,eh="%"===String(ee.r).substr(-1)?"prgb":"rgb"):ev(ee.h)&&ev(ee.s)&&ev(ee.v)?(ei=(0,ec.JX)(ee.s),eu=(0,ec.JX)(ee.v),en=(0,eo.WE)(ee.h,ei,eu),ef=!0,eh="hsv"):ev(ee.h)&&ev(ee.s)&&ev(ee.l)&&(ei=(0,ec.JX)(ee.s),ed=(0,ec.JX)(ee.l),en=(0,eo.ve)(ee.h,ei,ed),ef=!0,eh="hsl"),Object.prototype.hasOwnProperty.call(ee,"a")&&(er=ee.a)),er=(0,ec.Yq)(er),{ok:ef,format:ee.format||eh,r:Math.min(255,Math.max(en.r,0)),g:Math.min(255,Math.max(en.g,0)),b:Math.min(255,Math.max(en.b,0)),a:er}}var ed="[-\\+]?\\d+%?",ef="[-\\+]?\\d*\\.\\d+%?",eh="(?:".concat(ef,")|(?:").concat(ed,")"),ep="[\\s|\\(]+(".concat(eh,")[,|\\s]+(").concat(eh,")[,|\\s]+(").concat(eh,")\\s*\\)?"),em="[\\s|\\(]+(".concat(eh,")[,|\\s]+(").concat(eh,")[,|\\s]+(").concat(eh,")[,|\\s]+(").concat(eh,")\\s*\\)?"),eg={CSS_UNIT:new RegExp(eh),rgb:RegExp("rgb"+ep),rgba:RegExp("rgba"+em),hsl:RegExp("hsl"+ep),hsla:RegExp("hsla"+em),hsv:RegExp("hsv"+ep),hsva:RegExp("hsva"+em),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function ex(ee){if(0===(ee=ee.trim().toLowerCase()).length)return!1;var en=!1;if(ei.R[ee])ee=ei.R[ee],en=!0;else if("transparent"===ee)return{r:0,g:0,b:0,a:0,format:"name"};var er=eg.rgb.exec(ee);return er?{r:er[1],g:er[2],b:er[3]}:(er=eg.rgba.exec(ee))?{r:er[1],g:er[2],b:er[3],a:er[4]}:(er=eg.hsl.exec(ee))?{h:er[1],s:er[2],l:er[3]}:(er=eg.hsla.exec(ee))?{h:er[1],s:er[2],l:er[3],a:er[4]}:(er=eg.hsv.exec(ee))?{h:er[1],s:er[2],v:er[3]}:(er=eg.hsva.exec(ee))?{h:er[1],s:er[2],v:er[3],a:er[4]}:(er=eg.hex8.exec(ee))?{r:(0,eo.VD)(er[1]),g:(0,eo.VD)(er[2]),b:(0,eo.VD)(er[3]),a:(0,eo.T6)(er[4]),format:en?"name":"hex8"}:(er=eg.hex6.exec(ee))?{r:(0,eo.VD)(er[1]),g:(0,eo.VD)(er[2]),b:(0,eo.VD)(er[3]),format:en?"name":"hex"}:(er=eg.hex4.exec(ee))?{r:(0,eo.VD)(er[1]+er[1]),g:(0,eo.VD)(er[2]+er[2]),b:(0,eo.VD)(er[3]+er[3]),a:(0,eo.T6)(er[4]+er[4]),format:en?"name":"hex8"}:!!(er=eg.hex3.exec(ee))&&{r:(0,eo.VD)(er[1]+er[1]),g:(0,eo.VD)(er[2]+er[2]),b:(0,eo.VD)(er[3]+er[3]),format:en?"name":"hex"}}function ev(ee){return!!eg.CSS_UNIT.exec(String(ee))}},23881:function(ee,en,er){"use strict";function eo(ee,en){ec(ee)&&(ee="100%");var er=eu(ee);return(ee=360===en?ee:Math.min(en,Math.max(0,parseFloat(ee))),er&&(ee=parseInt(String(ee*en),10)/100),1e-6>Math.abs(ee-en))?1:ee=360===en?(ee<0?ee%en+en:ee%en)/parseFloat(String(en)):ee%en/parseFloat(String(en))}function ei(ee){return Math.min(1,Math.max(0,ee))}function ec(ee){return"string"==typeof ee&&-1!==ee.indexOf(".")&&1===parseFloat(ee)}function eu(ee){return"string"==typeof ee&&-1!==ee.indexOf("%")}function ed(ee){return(isNaN(ee=parseFloat(ee))||ee<0||ee>1)&&(ee=1),ee}function ef(ee){return ee<=1?"".concat(100*Number(ee),"%"):ee}function eh(ee){return 1===ee.length?"0"+ee:String(ee)}er.d(en,{FZ:function(){return eh},JX:function(){return ef},V2:function(){return ei},Yq:function(){return ed},sh:function(){return eo}})},84875:function(ee,en){var er;/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/!function(){"use strict";var eo={}.hasOwnProperty;function ei(){for(var ee=[],en=0;en=eo))));en++);if(er)return ec?ta(ef,eo,0):void(en[en.length]=ef)}return!er&&ef}function ta(ee,en,er){return ee=1===ee.length?ee[0]:[].concat.apply([],ee),er||ee.length>en?ee.slice(er,er+en):ee}function ua(ee,en,er,eo){return ee=er?(ee=ee[(eo=eo&&en>er)?en:er])&&ee[eo?er:en]:ee[en]}function N(ee,en,er,eo,ei){let ec=0;if(ee.constructor===Array){if(ei)-1!==(en=ee.indexOf(en))?1=this.B&&(em||!ep[ev])){var ec=L(eg,eo,ex),eu="";switch(this.G){case"full":if(2ec;ed--)if(ed-ec>=this.B){var ef=L(eg,eo,ex,ei,ec);M(this,ep,eu=ev.substring(ec,ed),ef,ee,er)}break}case"reverse":if(1=this.B&&M(this,ep,eu,L(eg,eo,ex,ei,ed),ee,er);eu=""}case"forward":if(1=this.B&&M(this,ep,eu,ec,ee,er);break}default:if(this.C&&(ec=Math.min(ec/this.C(en,ev,ex)|0,eg-1)),M(this,ep,ev,ec,ee,er),em&&1=this.B&&!ei[ev]){ei[ev]=1;let en=this.l&&ev>ec;M(this,eh,en?ec:ev,L(eu+(eo/2>eu?0:1),eo,ex,ed-1,ef-1),ee,er,en?ev:ec)}}}}}this.m||(this.register[ee]=1)}}return this},t.search=function(ee,en,er){let eo,ei,ec;er||(!en&&C(ee)?ee=(er=ee).query:C(en)&&(er=en));let eu=[],ed,ef,eh=0;if(er){ee=er.query||ee,en=er.limit,eh=er.offset||0;var ep=er.context;ef=er.suggest}if(ee&&1<(ed=(ee=this.encode(""+ee)).length)){er=v();var em=[];for(let en=0,eo=0,ei;en=this.B&&!er[ei]){if(!this.s&&!ef&&!this.map[ei])return eu;em[eo++]=ei,er[ei]=1}ed=(ee=em).length}if(!ed)return eu;for(en||(en=100),ep=this.depth&&1en||er)&&(ei=ei.slice(er,er+en)),eo&&(ei=za.call(this,ei)),{tag:ee,result:ei}}function za(ee){let en=Array(ee.length);for(let er=0,eo;er2?er.slice(1-er.length).join("."):en.source=en.resource,en.git_suffix=/\.git$/.test(en.pathname),en.name=decodeURIComponent((en.pathname||en.href).replace(/(^\/)|(\/$)/g,"").replace(/\.git$/,"")),en.owner=decodeURIComponent(en.user),en.source){case"git.cloudforge.com":en.owner=en.user,en.organization=er[0],en.source="cloudforge.com";break;case"visualstudio.com":if("vs-ssh.visualstudio.com"===en.resource){4===(ec=en.name.split("/")).length&&(en.organization=ec[1],en.owner=ec[2],en.name=ec[3],en.full_name=ec[2]+"/"+ec[3]);break}2===(ec=en.name.split("/")).length?(en.owner=ec[1],en.name=ec[1],en.full_name="_git/"+en.name):3===ec.length?(en.name=ec[2],"DefaultCollection"===ec[0]?(en.owner=ec[2],en.organization=ec[0],en.full_name=en.organization+"/_git/"+en.name):(en.owner=ec[0],en.full_name=en.owner+"/_git/"+en.name)):4===ec.length&&(en.organization=ec[0],en.owner=ec[1],en.name=ec[3],en.full_name=en.organization+"/"+en.owner+"/_git/"+en.name);break;case"dev.azure.com":case"azure.com":if("ssh.dev.azure.com"===en.resource){4===(ec=en.name.split("/")).length&&(en.organization=ec[1],en.owner=ec[2],en.name=ec[3]);break}5===(ec=en.name.split("/")).length?(en.organization=ec[0],en.owner=ec[1],en.name=ec[4],en.full_name="_git/"+en.name):3===ec.length?(en.name=ec[2],"DefaultCollection"===ec[0]?(en.owner=ec[2],en.organization=ec[0],en.full_name=en.organization+"/_git/"+en.name):(en.owner=ec[0],en.full_name=en.owner+"/_git/"+en.name)):4===ec.length&&(en.organization=ec[0],en.owner=ec[1],en.name=ec[3],en.full_name=en.organization+"/"+en.owner+"/_git/"+en.name),en.query&&en.query.path&&(en.filepath=en.query.path.replace(/^\/+/g,"")),en.query&&en.query.version&&(en.ref=en.query.version.replace(/^GB/,""));break;default:var eu=(ec=en.name.split("/")).length-1;if(ec.length>=2){var ed=ec.indexOf("-",2),ef=ec.indexOf("blob",2),eh=ec.indexOf("tree",2),ep=ec.indexOf("commit",2),em=ec.indexOf("src",2),eg=ec.indexOf("raw",2),ex=ec.indexOf("edit",2);eu=ed>0?ed-1:ef>0?ef-1:eh>0?eh-1:ep>0?ep-1:em>0?em-1:eg>0?eg-1:ex>0?ex-1:eu,en.owner=ec.slice(0,eu).join("/"),en.name=ec[eu],ep&&(en.commit=ec[eu+2])}en.ref="",en.filepathtype="",en.filepath="";var ev=ec.length>eu&&"-"===ec[eu+1]?eu+1:eu;ec.length>ev+2&&["raw","src","blob","tree","edit"].indexOf(ec[ev+1])>=0&&(en.filepathtype=ec[ev+1],en.ref=ec[ev+2],ec.length>ev+3&&(en.filepath=ec.slice(ev+3).join("/"))),en.organization=en.owner}!en.full_name&&(en.full_name=en.owner,en.name&&(en.full_name&&(en.full_name+="/"),en.full_name+=en.name)),en.owner.startsWith("scm/")&&(en.source="bitbucket-server",en.owner=en.owner.replace("scm/",""),en.organization=en.owner,en.full_name=en.owner+"/"+en.name);var ey=/(projects|users)\/(.*?)\/repos\/(.*?)((\/.*$)|$)/.exec(en.pathname);return null!=ey&&(en.source="bitbucket-server","users"===ey[1]?en.owner="~"+ey[2]:en.owner=ey[2],en.organization=en.owner,en.name=ey[3],(ec=ey[4].split("/")).length>1&&(["raw","browse"].indexOf(ec[1])>=0?(en.filepathtype=ec[1],ec.length>2&&(en.filepath=ec.slice(2).join("/"))):"commits"===ec[1]&&ec.length>2&&(en.commit=ec[2])),en.full_name=en.owner+"/"+en.name,en.query.at?en.ref=en.query.at:en.ref=""),en}/*! + * buildToken + * Builds OAuth token prefix (helper function) + * + * @name buildToken + * @function + * @param {GitUrl} obj The parsed Git url object. + * @return {String} token prefix + */function ec(ee){return"bitbucket.org"===ee.source?"x-token-auth:"+ee.token+"@":ee.token+"@"}function eu(ee){return"bitbucket-server"===ee.source?"scm/"+ee.full_name:""+ee.full_name}ei.stringify=function(ee,en){en=en||(ee.protocols&&ee.protocols.length?ee.protocols.join("+"):ee.protocol);var er=ee.port?":"+ee.port:"",eo=ee.user||"git",ei=ee.git_suffix?".git":"";switch(en){case"ssh":if(er)return"ssh://"+eo+"@"+ee.resource+er+"/"+ee.full_name+ei;return eo+"@"+ee.resource+":"+ee.full_name+ei;case"git+ssh":case"ssh+git":case"ftp":case"ftps":return en+"://"+eo+"@"+ee.resource+er+"/"+ee.full_name+ei;case"http":case"https":return en+"://"+(ee.token?ec(ee):ee.user&&(ee.protocols.includes("http")||ee.protocols.includes("https"))?ee.user+"@":"")+ee.resource+er+"/"+eu(ee)+ei;default:return ee.href}},ee.exports=ei},15983:function(){!function(){"use strict";if("object"==typeof window){if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}var ee=function(ee){for(var en=ee,er=ei(en);er;)er=ei(en=er.ownerDocument);return en}(window.document),en=[],er=null,eo=null;IntersectionObserver.prototype.THROTTLE_TIMEOUT=100,IntersectionObserver.prototype.POLL_INTERVAL=null,IntersectionObserver.prototype.USE_MUTATION_OBSERVER=!0,IntersectionObserver._setupCrossOriginUpdater=function(){return er||(er=function(ee,er){eo=ee&&er?ex(ee,er):em(),en.forEach(function(ee){ee._checkForIntersections()})}),er},IntersectionObserver._resetCrossOriginUpdater=function(){er=null,eo=null},IntersectionObserver.prototype.observe=function(ee){if(!this._observationTargets.some(function(en){return en.element==ee})){if(!(ee&&1==ee.nodeType))throw Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:ee,entry:null}),this._monitorIntersections(ee.ownerDocument),this._checkForIntersections()}},IntersectionObserver.prototype.unobserve=function(ee){this._observationTargets=this._observationTargets.filter(function(en){return en.element!=ee}),this._unmonitorIntersections(ee.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},IntersectionObserver.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},IntersectionObserver.prototype.takeRecords=function(){var ee=this._queuedEntries.slice();return this._queuedEntries=[],ee},IntersectionObserver.prototype._initThresholds=function(ee){var en=ee||[0];return Array.isArray(en)||(en=[en]),en.sort().filter(function(ee,en,er){if("number"!=typeof ee||isNaN(ee)||ee<0||ee>1)throw Error("threshold must be a number between 0 and 1 inclusively");return ee!==er[en-1]})},IntersectionObserver.prototype._parseRootMargin=function(ee){var en=(ee||"0px").split(/\s+/).map(function(ee){var en=/^(-?\d*\.?\d+)(px|%)$/.exec(ee);if(!en)throw Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(en[1]),unit:en[2]}});return en[1]=en[1]||en[0],en[2]=en[2]||en[0],en[3]=en[3]||en[1],en},IntersectionObserver.prototype._monitorIntersections=function(en){var er=en.defaultView;if(er&&-1==this._monitoringDocuments.indexOf(en)){var eo=this._checkForIntersections,ec=null,eu=null;if(this.POLL_INTERVAL?ec=er.setInterval(eo,this.POLL_INTERVAL):(ed(er,"resize",eo,!0),ed(en,"scroll",eo,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in er&&(eu=new er.MutationObserver(eo)).observe(en,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(en),this._monitoringUnsubscribes.push(function(){var ee=en.defaultView;ee&&(ec&&ee.clearInterval(ec),ef(ee,"resize",eo,!0)),ef(en,"scroll",eo,!0),eu&&eu.disconnect()}),en!=(this.root&&(this.root.ownerDocument||this.root)||ee)){var eh=ei(en);eh&&this._monitorIntersections(eh.ownerDocument)}}},IntersectionObserver.prototype._unmonitorIntersections=function(en){var er=this._monitoringDocuments.indexOf(en);if(-1!=er){var eo=this.root&&(this.root.ownerDocument||this.root)||ee;if(!this._observationTargets.some(function(ee){var er=ee.element.ownerDocument;if(er==en)return!0;for(;er&&er!=eo;){var ec=ei(er);if((er=ec&&ec.ownerDocument)==en)return!0}return!1})){var ec=this._monitoringUnsubscribes[er];if(this._monitoringDocuments.splice(er,1),this._monitoringUnsubscribes.splice(er,1),ec(),en!=eo){var eu=ei(en);eu&&this._unmonitorIntersections(eu.ownerDocument)}}}},IntersectionObserver.prototype._unmonitorAllIntersections=function(){var ee=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var en=0;enen.indexOf(this)&&en.push(this)},IntersectionObserver.prototype._unregisterInstance=function(){var ee=en.indexOf(this);-1!=ee&&en.splice(ee,1)},window.IntersectionObserver=IntersectionObserver,window.IntersectionObserverEntry=IntersectionObserverEntry}function ei(ee){try{return ee.defaultView&&ee.defaultView.frameElement||null}catch(ee){return null}}function IntersectionObserverEntry(ee){this.time=ee.time,this.target=ee.target,this.rootBounds=eg(ee.rootBounds),this.boundingClientRect=eg(ee.boundingClientRect),this.intersectionRect=eg(ee.intersectionRect||em()),this.isIntersecting=!!ee.intersectionRect;var en=this.boundingClientRect,er=en.width*en.height,eo=this.intersectionRect,ei=eo.width*eo.height;er?this.intersectionRatio=Number((ei/er).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function IntersectionObserver(ee,en){var er=en||{};if("function"!=typeof ee)throw Error("callback must be a function");if(er.root&&1!=er.root.nodeType&&9!=er.root.nodeType)throw Error("root must be a Document or Element");this._checkForIntersections=eu(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=ee,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(er.rootMargin),this.thresholds=this._initThresholds(er.threshold),this.root=er.root||null,this.rootMargin=this._rootMarginValues.map(function(ee){return ee.value+ee.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function ec(){return window.performance&&performance.now&&performance.now()}function eu(ee,en){var er=null;return function(){er||(er=setTimeout(function(){ee(),er=null},en))}}function ed(ee,en,er,eo){"function"==typeof ee.addEventListener?ee.addEventListener(en,er,eo||!1):"function"==typeof ee.attachEvent&&ee.attachEvent("on"+en,er)}function ef(ee,en,er,eo){"function"==typeof ee.removeEventListener?ee.removeEventListener(en,er,eo||!1):"function"==typeof ee.detachEvent&&ee.detachEvent("on"+en,er)}function eh(ee,en){var er=Math.max(ee.top,en.top),eo=Math.min(ee.bottom,en.bottom),ei=Math.max(ee.left,en.left),ec=Math.min(ee.right,en.right),eu=ec-ei,ed=eo-er;return eu>=0&&ed>=0&&{top:er,bottom:eo,left:ei,right:ec,width:eu,height:ed}||null}function ep(ee){var en;try{en=ee.getBoundingClientRect()}catch(ee){}return en?(en.width&&en.height||(en={top:en.top,right:en.right,bottom:en.bottom,left:en.left,width:en.right-en.left,height:en.bottom-en.top}),en):em()}function em(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function eg(ee){return!ee||"x"in ee?ee:{top:ee.top,y:ee.top,bottom:ee.bottom,left:ee.left,x:ee.left,right:ee.right,width:ee.width,height:ee.height}}function ex(ee,en){var er=en.top-ee.top,eo=en.left-ee.left;return{top:er,left:eo,height:en.height,width:en.width,bottom:er+en.height,right:eo+en.width}}function ev(ee,en){for(var er=en;er;){if(er==ee)return!0;er=ey(er)}return!1}function ey(en){var er=en.parentNode;return 9==en.nodeType&&en!=ee?ei(en):(er&&er.assignedSlot&&(er=er.assignedSlot.parentNode),er&&11==er.nodeType&&er.host)?er.host:er}function eb(ee){return ee&&9===ee.nodeType}}()},53670:function(ee){"use strict";var en=function(ee,en,er,eo,ei,ec,eu,ed){if(!ee){var ef;if(void 0===en)ef=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var eh=[er,eo,ei,ec,eu,ed],ep=0;(ef=Error(en.replace(/%s/g,function(){return eh[ep++]}))).name="Invariant Violation"}throw ef.framesToPop=1,ef}};ee.exports=en},92895:function(ee,en,er){"use strict";var eo=er(6097);function ei(ee){if(Array.isArray(ee))return -1!==ee.indexOf("ssh")||-1!==ee.indexOf("rsync");if("string"!=typeof ee)return!1;var en=eo(ee);if(ee=ee.substring(ee.indexOf("://")+3),ei(en))return!0;var er=RegExp(".([a-zA-Z\\d]+):(\\d+)/");return!ee.match(er)&&ee.indexOf("@"){en(!0)},[]),ee}var eA=er(31705),eR="https://nextra.vercel.app",eN=()=>{let{locale:ee=eA.ZW,asPath:en,route:er}=(0,eO.useRouter)();return(0,eC.useMemo)(()=>{let eo=eA.hV.has(er)?er:en,{pathname:ei}=new URL(eo,eR),ec=ee?ei.replace(RegExp(`\\.${ee}(\\/|$)`),"$1"):ei;return ec.replace(/\.html$/,"").replace(/\/index(\/|$)/,"$1").replace(/\/$/,"")||"/"},[en,ee,er])},eI=er(43196),eM=er(22634);!function(ee){function en(ee){}function er(ee){throw Error()}function eo(ee,en=" | "){return ee.map(ee=>"string"==typeof ee?`'${ee}'`:ee).join(en)}ee.assertEqual=ee=>ee,ee.assertIs=en,ee.assertNever=er,ee.arrayToEnum=ee=>{let en={};for(let er of ee)en[er]=er;return en},ee.getValidEnumValues=en=>{let er=ee.objectKeys(en).filter(ee=>"number"!=typeof en[en[ee]]),eo={};for(let ee of er)eo[ee]=en[ee];return ee.objectValues(eo)},ee.objectValues=en=>ee.objectKeys(en).map(function(ee){return en[ee]}),ee.objectKeys="function"==typeof Object.keys?ee=>Object.keys(ee):ee=>{let en=[];for(let er in ee)Object.prototype.hasOwnProperty.call(ee,er)&&en.push(er);return en},ee.find=(ee,en)=>{for(let er of ee)if(en(er))return er},ee.isInteger="function"==typeof Number.isInteger?ee=>Number.isInteger(ee):ee=>"number"==typeof ee&&isFinite(ee)&&Math.floor(ee)===ee,ee.joinValues=eo,ee.jsonStringifyReplacer=(ee,en)=>"bigint"==typeof en?en.toString():en}(ev||(ev={})),function(ee){ee.mergeShapes=(ee,en)=>({...ee,...en})}(ey||(ey={}));let eL=ev.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),eZ=ee=>{let en=typeof ee;switch(en){case"undefined":return eL.undefined;case"string":return eL.string;case"number":return isNaN(ee)?eL.nan:eL.number;case"boolean":return eL.boolean;case"function":return eL.function;case"bigint":return eL.bigint;case"symbol":return eL.symbol;case"object":if(Array.isArray(ee))return eL.array;if(null===ee)return eL.null;if(ee.then&&"function"==typeof ee.then&&ee.catch&&"function"==typeof ee.catch)return eL.promise;if("undefined"!=typeof Map&&ee instanceof Map)return eL.map;if("undefined"!=typeof Set&&ee instanceof Set)return eL.set;if("undefined"!=typeof Date&&ee instanceof Date)return eL.date;return eL.object;default:return eL.unknown}},eP=ev.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),eD=ee=>{let en=JSON.stringify(ee,null,2);return en.replace(/"([^"]+)":/g,"$1:")};class ez extends Error{constructor(ee){super(),this.issues=[],this.addIssue=ee=>{this.issues=[...this.issues,ee]},this.addIssues=(ee=[])=>{this.issues=[...this.issues,...ee]};let en=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,en):this.__proto__=en,this.name="ZodError",this.issues=ee}get errors(){return this.issues}format(ee){let en=ee||function(ee){return ee.message},er={_errors:[]},eo=ee=>{for(let ei of ee.issues)if("invalid_union"===ei.code)ei.unionErrors.map(eo);else if("invalid_return_type"===ei.code)eo(ei.returnTypeError);else if("invalid_arguments"===ei.code)eo(ei.argumentsError);else if(0===ei.path.length)er._errors.push(en(ei));else{let ee=er,eo=0;for(;eoee.message){let en={},er=[];for(let eo of this.issues)eo.path.length>0?(en[eo.path[0]]=en[eo.path[0]]||[],en[eo.path[0]].push(ee(eo))):er.push(ee(eo));return{formErrors:er,fieldErrors:en}}get formErrors(){return this.flatten()}}ez.create=ee=>{let en=new ez(ee);return en};let eF=(ee,en)=>{let er;switch(ee.code){case eP.invalid_type:er=ee.received===eL.undefined?"Required":`Expected ${ee.expected}, received ${ee.received}`;break;case eP.invalid_literal:er=`Invalid literal value, expected ${JSON.stringify(ee.expected,ev.jsonStringifyReplacer)}`;break;case eP.unrecognized_keys:er=`Unrecognized key(s) in object: ${ev.joinValues(ee.keys,", ")}`;break;case eP.invalid_union:er="Invalid input";break;case eP.invalid_union_discriminator:er=`Invalid discriminator value. Expected ${ev.joinValues(ee.options)}`;break;case eP.invalid_enum_value:er=`Invalid enum value. Expected ${ev.joinValues(ee.options)}, received '${ee.received}'`;break;case eP.invalid_arguments:er="Invalid function arguments";break;case eP.invalid_return_type:er="Invalid function return type";break;case eP.invalid_date:er="Invalid date";break;case eP.invalid_string:"object"==typeof ee.validation?"includes"in ee.validation?(er=`Invalid input: must include "${ee.validation.includes}"`,"number"==typeof ee.validation.position&&(er=`${er} at one or more positions greater than or equal to ${ee.validation.position}`)):"startsWith"in ee.validation?er=`Invalid input: must start with "${ee.validation.startsWith}"`:"endsWith"in ee.validation?er=`Invalid input: must end with "${ee.validation.endsWith}"`:ev.assertNever(ee.validation):er="regex"!==ee.validation?`Invalid ${ee.validation}`:"Invalid";break;case eP.too_small:er="array"===ee.type?`Array must contain ${ee.exact?"exactly":ee.inclusive?"at least":"more than"} ${ee.minimum} element(s)`:"string"===ee.type?`String must contain ${ee.exact?"exactly":ee.inclusive?"at least":"over"} ${ee.minimum} character(s)`:"number"===ee.type?`Number must be ${ee.exact?"exactly equal to ":ee.inclusive?"greater than or equal to ":"greater than "}${ee.minimum}`:"date"===ee.type?`Date must be ${ee.exact?"exactly equal to ":ee.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(ee.minimum))}`:"Invalid input";break;case eP.too_big:er="array"===ee.type?`Array must contain ${ee.exact?"exactly":ee.inclusive?"at most":"less than"} ${ee.maximum} element(s)`:"string"===ee.type?`String must contain ${ee.exact?"exactly":ee.inclusive?"at most":"under"} ${ee.maximum} character(s)`:"number"===ee.type?`Number must be ${ee.exact?"exactly":ee.inclusive?"less than or equal to":"less than"} ${ee.maximum}`:"bigint"===ee.type?`BigInt must be ${ee.exact?"exactly":ee.inclusive?"less than or equal to":"less than"} ${ee.maximum}`:"date"===ee.type?`Date must be ${ee.exact?"exactly":ee.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(ee.maximum))}`:"Invalid input";break;case eP.custom:er="Invalid input";break;case eP.invalid_intersection_types:er="Intersection results could not be merged";break;case eP.not_multiple_of:er=`Number must be a multiple of ${ee.multipleOf}`;break;case eP.not_finite:er="Number must be finite";break;default:er=en.defaultError,ev.assertNever(ee)}return{message:er}},eH=eF;function eB(ee){eH=ee}function eW(){return eH}let eG=ee=>{let{data:en,path:er,errorMaps:eo,issueData:ei}=ee,ec=[...er,...ei.path||[]],eu={...ei,path:ec},ed="",ef=eo.filter(ee=>!!ee).slice().reverse();for(let ee of ef)ed=ee(eu,{data:en,defaultError:ed}).message;return{...ei,path:ec,message:ei.message||ed}},e$=[];function eU(ee,en){let er=eG({issueData:en,data:ee.data,path:ee.path,errorMaps:[ee.common.contextualErrorMap,ee.schemaErrorMap,eW(),eF].filter(ee=>!!ee)});ee.common.issues.push(er)}class eV{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(ee,en){let er=[];for(let eo of en){if("aborted"===eo.status)return eq;"dirty"===eo.status&&ee.dirty(),er.push(eo.value)}return{status:ee.value,value:er}}static async mergeObjectAsync(ee,en){let er=[];for(let ee of en)er.push({key:await ee.key,value:await ee.value});return eV.mergeObjectSync(ee,er)}static mergeObjectSync(ee,en){let er={};for(let eo of en){let{key:en,value:ei}=eo;if("aborted"===en.status||"aborted"===ei.status)return eq;"dirty"===en.status&&ee.dirty(),"dirty"===ei.status&&ee.dirty(),"__proto__"!==en.value&&(void 0!==ei.value||eo.alwaysSet)&&(er[en.value]=ei.value)}return{status:ee.value,value:er}}}let eq=Object.freeze({status:"aborted"}),eX=ee=>({status:"dirty",value:ee}),eK=ee=>({status:"valid",value:ee}),eY=ee=>"aborted"===ee.status,eQ=ee=>"dirty"===ee.status,eJ=ee=>"valid"===ee.status,e0=ee=>"undefined"!=typeof Promise&&ee instanceof Promise;!function(ee){ee.errToObj=ee=>"string"==typeof ee?{message:ee}:ee||{},ee.toString=ee=>"string"==typeof ee?ee:null==ee?void 0:ee.message}(eb||(eb={}));class e1{constructor(ee,en,er,eo){this._cachedPath=[],this.parent=ee,this.data=en,this._path=er,this._key=eo}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}let e2=(ee,en)=>{if(eJ(en))return{success:!0,data:en.value};if(!ee.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let en=new ez(ee.common.issues);return this._error=en,this._error}}};function e5(ee){if(!ee)return{};let{errorMap:en,invalid_type_error:er,required_error:eo,description:ei}=ee;if(en&&(er||eo))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');if(en)return{errorMap:en,description:ei};let ec=(ee,en)=>"invalid_type"!==ee.code?{message:en.defaultError}:void 0===en.data?{message:null!=eo?eo:en.defaultError}:{message:null!=er?er:en.defaultError};return{errorMap:ec,description:ei}}class e4{constructor(ee){this.spa=this.safeParseAsync,this._def=ee,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(ee){return eZ(ee.data)}_getOrReturnCtx(ee,en){return en||{common:ee.parent.common,data:ee.data,parsedType:eZ(ee.data),schemaErrorMap:this._def.errorMap,path:ee.path,parent:ee.parent}}_processInputParams(ee){return{status:new eV,ctx:{common:ee.parent.common,data:ee.data,parsedType:eZ(ee.data),schemaErrorMap:this._def.errorMap,path:ee.path,parent:ee.parent}}}_parseSync(ee){let en=this._parse(ee);if(e0(en))throw Error("Synchronous parse encountered promise.");return en}_parseAsync(ee){let en=this._parse(ee);return Promise.resolve(en)}parse(ee,en){let er=this.safeParse(ee,en);if(er.success)return er.data;throw er.error}safeParse(ee,en){var er;let eo={common:{issues:[],async:null!==(er=null==en?void 0:en.async)&&void 0!==er&&er,contextualErrorMap:null==en?void 0:en.errorMap},path:(null==en?void 0:en.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:ee,parsedType:eZ(ee)},ei=this._parseSync({data:ee,path:eo.path,parent:eo});return e2(eo,ei)}async parseAsync(ee,en){let er=await this.safeParseAsync(ee,en);if(er.success)return er.data;throw er.error}async safeParseAsync(ee,en){let er={common:{issues:[],contextualErrorMap:null==en?void 0:en.errorMap,async:!0},path:(null==en?void 0:en.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:ee,parsedType:eZ(ee)},eo=this._parse({data:ee,path:er.path,parent:er}),ei=await (e0(eo)?eo:Promise.resolve(eo));return e2(er,ei)}refine(ee,en){let er=ee=>"string"==typeof en||void 0===en?{message:en}:"function"==typeof en?en(ee):en;return this._refinement((en,eo)=>{let ei=ee(en),ec=()=>eo.addIssue({code:eP.custom,...er(en)});return"undefined"!=typeof Promise&&ei instanceof Promise?ei.then(ee=>!!ee||(ec(),!1)):!!ei||(ec(),!1)})}refinement(ee,en){return this._refinement((er,eo)=>!!ee(er)||(eo.addIssue("function"==typeof en?en(er,eo):en),!1))}_refinement(ee){return new tF({schema:this,typeName:ew.ZodEffects,effect:{type:"refinement",refinement:ee}})}superRefine(ee){return this._refinement(ee)}optional(){return tH.create(this,this._def)}nullable(){return tB.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return tw.create(this,this._def)}promise(){return tz.create(this,this._def)}or(ee){return tE.create([this,ee],this._def)}and(ee){return tS.create(this,ee,this._def)}transform(ee){return new tF({...e5(this._def),schema:this,typeName:ew.ZodEffects,effect:{type:"transform",transform:ee}})}default(ee){let en="function"==typeof ee?ee:()=>ee;return new tW({...e5(this._def),innerType:this,defaultValue:en,typeName:ew.ZodDefault})}brand(){return new tV({typeName:ew.ZodBranded,type:this,...e5(this._def)})}catch(ee){let en="function"==typeof ee?ee:()=>ee;return new tG({...e5(this._def),innerType:this,catchValue:en,typeName:ew.ZodCatch})}describe(ee){let en=this.constructor;return new en({...this._def,description:ee})}pipe(ee){return tq.create(this,ee)}readonly(){return tX.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let e6=/^c[^\s-]{8,}$/i,e3=/^[a-z][a-z0-9]*$/,e9=/^[0-9A-HJKMNP-TV-Z]{26}$/,e7=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,e8=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,tn="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",tr=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,to=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ti=ee=>ee.precision?ee.offset?RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${ee.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${ee.precision}}Z$`):0===ee.precision?ee.offset?RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):ee.offset?RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");function ts(ee,en){return!!(("v4"===en||!en)&&tr.test(ee)||("v6"===en||!en)&&to.test(ee))}class tl extends e4{_parse(ee){let en;this._def.coerce&&(ee.data=String(ee.data));let er=this._getType(ee);if(er!==eL.string){let en=this._getOrReturnCtx(ee);return eU(en,{code:eP.invalid_type,expected:eL.string,received:en.parsedType}),eq}let ei=new eV;for(let er of this._def.checks)if("min"===er.kind)ee.data.lengther.value&&(eU(en=this._getOrReturnCtx(ee,en),{code:eP.too_big,maximum:er.value,type:"string",inclusive:!0,exact:!1,message:er.message}),ei.dirty());else if("length"===er.kind){let eo=ee.data.length>er.value,ec=ee.data.lengthee.test(en),{validation:en,code:eP.invalid_string,...eb.errToObj(er)})}_addCheck(ee){return new tl({...this._def,checks:[...this._def.checks,ee]})}email(ee){return this._addCheck({kind:"email",...eb.errToObj(ee)})}url(ee){return this._addCheck({kind:"url",...eb.errToObj(ee)})}emoji(ee){return this._addCheck({kind:"emoji",...eb.errToObj(ee)})}uuid(ee){return this._addCheck({kind:"uuid",...eb.errToObj(ee)})}cuid(ee){return this._addCheck({kind:"cuid",...eb.errToObj(ee)})}cuid2(ee){return this._addCheck({kind:"cuid2",...eb.errToObj(ee)})}ulid(ee){return this._addCheck({kind:"ulid",...eb.errToObj(ee)})}ip(ee){return this._addCheck({kind:"ip",...eb.errToObj(ee)})}datetime(ee){var en;return"string"==typeof ee?this._addCheck({kind:"datetime",precision:null,offset:!1,message:ee}):this._addCheck({kind:"datetime",precision:void 0===(null==ee?void 0:ee.precision)?null:null==ee?void 0:ee.precision,offset:null!==(en=null==ee?void 0:ee.offset)&&void 0!==en&&en,...eb.errToObj(null==ee?void 0:ee.message)})}regex(ee,en){return this._addCheck({kind:"regex",regex:ee,...eb.errToObj(en)})}includes(ee,en){return this._addCheck({kind:"includes",value:ee,position:null==en?void 0:en.position,...eb.errToObj(null==en?void 0:en.message)})}startsWith(ee,en){return this._addCheck({kind:"startsWith",value:ee,...eb.errToObj(en)})}endsWith(ee,en){return this._addCheck({kind:"endsWith",value:ee,...eb.errToObj(en)})}min(ee,en){return this._addCheck({kind:"min",value:ee,...eb.errToObj(en)})}max(ee,en){return this._addCheck({kind:"max",value:ee,...eb.errToObj(en)})}length(ee,en){return this._addCheck({kind:"length",value:ee,...eb.errToObj(en)})}nonempty(ee){return this.min(1,eb.errToObj(ee))}trim(){return new tl({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new tl({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new tl({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(ee=>"datetime"===ee.kind)}get isEmail(){return!!this._def.checks.find(ee=>"email"===ee.kind)}get isURL(){return!!this._def.checks.find(ee=>"url"===ee.kind)}get isEmoji(){return!!this._def.checks.find(ee=>"emoji"===ee.kind)}get isUUID(){return!!this._def.checks.find(ee=>"uuid"===ee.kind)}get isCUID(){return!!this._def.checks.find(ee=>"cuid"===ee.kind)}get isCUID2(){return!!this._def.checks.find(ee=>"cuid2"===ee.kind)}get isULID(){return!!this._def.checks.find(ee=>"ulid"===ee.kind)}get isIP(){return!!this._def.checks.find(ee=>"ip"===ee.kind)}get minLength(){let ee=null;for(let en of this._def.checks)"min"===en.kind&&(null===ee||en.value>ee)&&(ee=en.value);return ee}get maxLength(){let ee=null;for(let en of this._def.checks)"max"===en.kind&&(null===ee||en.valueeo?er:eo,ec=parseInt(ee.toFixed(ei).replace(".","")),eu=parseInt(en.toFixed(ei).replace(".",""));return ec%eu/Math.pow(10,ei)}tl.create=ee=>{var en;return new tl({checks:[],typeName:ew.ZodString,coerce:null!==(en=null==ee?void 0:ee.coerce)&&void 0!==en&&en,...e5(ee)})};class tu extends e4{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(ee){let en;this._def.coerce&&(ee.data=Number(ee.data));let er=this._getType(ee);if(er!==eL.number){let en=this._getOrReturnCtx(ee);return eU(en,{code:eP.invalid_type,expected:eL.number,received:en.parsedType}),eq}let eo=new eV;for(let er of this._def.checks)if("int"===er.kind)ev.isInteger(ee.data)||(eU(en=this._getOrReturnCtx(ee,en),{code:eP.invalid_type,expected:"integer",received:"float",message:er.message}),eo.dirty());else if("min"===er.kind){let ei=er.inclusive?ee.dataer.value:ee.data>=er.value;ei&&(eU(en=this._getOrReturnCtx(ee,en),{code:eP.too_big,maximum:er.value,type:"number",inclusive:er.inclusive,exact:!1,message:er.message}),eo.dirty())}else"multipleOf"===er.kind?0!==tc(ee.data,er.value)&&(eU(en=this._getOrReturnCtx(ee,en),{code:eP.not_multiple_of,multipleOf:er.value,message:er.message}),eo.dirty()):"finite"===er.kind?Number.isFinite(ee.data)||(eU(en=this._getOrReturnCtx(ee,en),{code:eP.not_finite,message:er.message}),eo.dirty()):ev.assertNever(er);return{status:eo.value,value:ee.data}}gte(ee,en){return this.setLimit("min",ee,!0,eb.toString(en))}gt(ee,en){return this.setLimit("min",ee,!1,eb.toString(en))}lte(ee,en){return this.setLimit("max",ee,!0,eb.toString(en))}lt(ee,en){return this.setLimit("max",ee,!1,eb.toString(en))}setLimit(ee,en,er,eo){return new tu({...this._def,checks:[...this._def.checks,{kind:ee,value:en,inclusive:er,message:eb.toString(eo)}]})}_addCheck(ee){return new tu({...this._def,checks:[...this._def.checks,ee]})}int(ee){return this._addCheck({kind:"int",message:eb.toString(ee)})}positive(ee){return this._addCheck({kind:"min",value:0,inclusive:!1,message:eb.toString(ee)})}negative(ee){return this._addCheck({kind:"max",value:0,inclusive:!1,message:eb.toString(ee)})}nonpositive(ee){return this._addCheck({kind:"max",value:0,inclusive:!0,message:eb.toString(ee)})}nonnegative(ee){return this._addCheck({kind:"min",value:0,inclusive:!0,message:eb.toString(ee)})}multipleOf(ee,en){return this._addCheck({kind:"multipleOf",value:ee,message:eb.toString(en)})}finite(ee){return this._addCheck({kind:"finite",message:eb.toString(ee)})}safe(ee){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:eb.toString(ee)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:eb.toString(ee)})}get minValue(){let ee=null;for(let en of this._def.checks)"min"===en.kind&&(null===ee||en.value>ee)&&(ee=en.value);return ee}get maxValue(){let ee=null;for(let en of this._def.checks)"max"===en.kind&&(null===ee||en.value"int"===ee.kind||"multipleOf"===ee.kind&&ev.isInteger(ee.value))}get isFinite(){let ee=null,en=null;for(let er of this._def.checks){if("finite"===er.kind||"int"===er.kind||"multipleOf"===er.kind)return!0;"min"===er.kind?(null===en||er.value>en)&&(en=er.value):"max"===er.kind&&(null===ee||er.valuenew tu({checks:[],typeName:ew.ZodNumber,coerce:(null==ee?void 0:ee.coerce)||!1,...e5(ee)});class td extends e4{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(ee){let en;this._def.coerce&&(ee.data=BigInt(ee.data));let er=this._getType(ee);if(er!==eL.bigint){let en=this._getOrReturnCtx(ee);return eU(en,{code:eP.invalid_type,expected:eL.bigint,received:en.parsedType}),eq}let eo=new eV;for(let er of this._def.checks)if("min"===er.kind){let ei=er.inclusive?ee.dataer.value:ee.data>=er.value;ei&&(eU(en=this._getOrReturnCtx(ee,en),{code:eP.too_big,type:"bigint",maximum:er.value,inclusive:er.inclusive,message:er.message}),eo.dirty())}else"multipleOf"===er.kind?ee.data%er.value!==BigInt(0)&&(eU(en=this._getOrReturnCtx(ee,en),{code:eP.not_multiple_of,multipleOf:er.value,message:er.message}),eo.dirty()):ev.assertNever(er);return{status:eo.value,value:ee.data}}gte(ee,en){return this.setLimit("min",ee,!0,eb.toString(en))}gt(ee,en){return this.setLimit("min",ee,!1,eb.toString(en))}lte(ee,en){return this.setLimit("max",ee,!0,eb.toString(en))}lt(ee,en){return this.setLimit("max",ee,!1,eb.toString(en))}setLimit(ee,en,er,eo){return new td({...this._def,checks:[...this._def.checks,{kind:ee,value:en,inclusive:er,message:eb.toString(eo)}]})}_addCheck(ee){return new td({...this._def,checks:[...this._def.checks,ee]})}positive(ee){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:eb.toString(ee)})}negative(ee){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:eb.toString(ee)})}nonpositive(ee){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:eb.toString(ee)})}nonnegative(ee){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:eb.toString(ee)})}multipleOf(ee,en){return this._addCheck({kind:"multipleOf",value:ee,message:eb.toString(en)})}get minValue(){let ee=null;for(let en of this._def.checks)"min"===en.kind&&(null===ee||en.value>ee)&&(ee=en.value);return ee}get maxValue(){let ee=null;for(let en of this._def.checks)"max"===en.kind&&(null===ee||en.value{var en;return new td({checks:[],typeName:ew.ZodBigInt,coerce:null!==(en=null==ee?void 0:ee.coerce)&&void 0!==en&&en,...e5(ee)})};class tf extends e4{_parse(ee){this._def.coerce&&(ee.data=!!ee.data);let en=this._getType(ee);if(en!==eL.boolean){let en=this._getOrReturnCtx(ee);return eU(en,{code:eP.invalid_type,expected:eL.boolean,received:en.parsedType}),eq}return eK(ee.data)}}tf.create=ee=>new tf({typeName:ew.ZodBoolean,coerce:(null==ee?void 0:ee.coerce)||!1,...e5(ee)});class th extends e4{_parse(ee){let en;this._def.coerce&&(ee.data=new Date(ee.data));let er=this._getType(ee);if(er!==eL.date){let en=this._getOrReturnCtx(ee);return eU(en,{code:eP.invalid_type,expected:eL.date,received:en.parsedType}),eq}if(isNaN(ee.data.getTime())){let en=this._getOrReturnCtx(ee);return eU(en,{code:eP.invalid_date}),eq}let eo=new eV;for(let er of this._def.checks)"min"===er.kind?ee.data.getTime()er.value&&(eU(en=this._getOrReturnCtx(ee,en),{code:eP.too_big,message:er.message,inclusive:!0,exact:!1,maximum:er.value,type:"date"}),eo.dirty()):ev.assertNever(er);return{status:eo.value,value:new Date(ee.data.getTime())}}_addCheck(ee){return new th({...this._def,checks:[...this._def.checks,ee]})}min(ee,en){return this._addCheck({kind:"min",value:ee.getTime(),message:eb.toString(en)})}max(ee,en){return this._addCheck({kind:"max",value:ee.getTime(),message:eb.toString(en)})}get minDate(){let ee=null;for(let en of this._def.checks)"min"===en.kind&&(null===ee||en.value>ee)&&(ee=en.value);return null!=ee?new Date(ee):null}get maxDate(){let ee=null;for(let en of this._def.checks)"max"===en.kind&&(null===ee||en.valuenew th({checks:[],coerce:(null==ee?void 0:ee.coerce)||!1,typeName:ew.ZodDate,...e5(ee)});class tp extends e4{_parse(ee){let en=this._getType(ee);if(en!==eL.symbol){let en=this._getOrReturnCtx(ee);return eU(en,{code:eP.invalid_type,expected:eL.symbol,received:en.parsedType}),eq}return eK(ee.data)}}tp.create=ee=>new tp({typeName:ew.ZodSymbol,...e5(ee)});class tm extends e4{_parse(ee){let en=this._getType(ee);if(en!==eL.undefined){let en=this._getOrReturnCtx(ee);return eU(en,{code:eP.invalid_type,expected:eL.undefined,received:en.parsedType}),eq}return eK(ee.data)}}tm.create=ee=>new tm({typeName:ew.ZodUndefined,...e5(ee)});class tg extends e4{_parse(ee){let en=this._getType(ee);if(en!==eL.null){let en=this._getOrReturnCtx(ee);return eU(en,{code:eP.invalid_type,expected:eL.null,received:en.parsedType}),eq}return eK(ee.data)}}tg.create=ee=>new tg({typeName:ew.ZodNull,...e5(ee)});class tx extends e4{constructor(){super(...arguments),this._any=!0}_parse(ee){return eK(ee.data)}}tx.create=ee=>new tx({typeName:ew.ZodAny,...e5(ee)});class tv extends e4{constructor(){super(...arguments),this._unknown=!0}_parse(ee){return eK(ee.data)}}tv.create=ee=>new tv({typeName:ew.ZodUnknown,...e5(ee)});class ty extends e4{_parse(ee){let en=this._getOrReturnCtx(ee);return eU(en,{code:eP.invalid_type,expected:eL.never,received:en.parsedType}),eq}}ty.create=ee=>new ty({typeName:ew.ZodNever,...e5(ee)});class tb extends e4{_parse(ee){let en=this._getType(ee);if(en!==eL.undefined){let en=this._getOrReturnCtx(ee);return eU(en,{code:eP.invalid_type,expected:eL.void,received:en.parsedType}),eq}return eK(ee.data)}}tb.create=ee=>new tb({typeName:ew.ZodVoid,...e5(ee)});class tw extends e4{_parse(ee){let{ctx:en,status:er}=this._processInputParams(ee),eo=this._def;if(en.parsedType!==eL.array)return eU(en,{code:eP.invalid_type,expected:eL.array,received:en.parsedType}),eq;if(null!==eo.exactLength){let ee=en.data.length>eo.exactLength.value,ei=en.data.lengtheo.maxLength.value&&(eU(en,{code:eP.too_big,maximum:eo.maxLength.value,type:"array",inclusive:!0,exact:!1,message:eo.maxLength.message}),er.dirty()),en.common.async)return Promise.all([...en.data].map((ee,er)=>eo.type._parseAsync(new e1(en,ee,en.path,er)))).then(ee=>eV.mergeArray(er,ee));let ei=[...en.data].map((ee,er)=>eo.type._parseSync(new e1(en,ee,en.path,er)));return eV.mergeArray(er,ei)}get element(){return this._def.type}min(ee,en){return new tw({...this._def,minLength:{value:ee,message:eb.toString(en)}})}max(ee,en){return new tw({...this._def,maxLength:{value:ee,message:eb.toString(en)}})}length(ee,en){return new tw({...this._def,exactLength:{value:ee,message:eb.toString(en)}})}nonempty(ee){return this.min(1,ee)}}function tk(ee){if(ee instanceof t_){let en={};for(let er in ee.shape){let eo=ee.shape[er];en[er]=tH.create(tk(eo))}return new t_({...ee._def,shape:()=>en})}return ee instanceof tw?new tw({...ee._def,type:tk(ee.element)}):ee instanceof tH?tH.create(tk(ee.unwrap())):ee instanceof tB?tB.create(tk(ee.unwrap())):ee instanceof tT?tT.create(ee.items.map(ee=>tk(ee))):ee}tw.create=(ee,en)=>new tw({type:ee,minLength:null,maxLength:null,exactLength:null,typeName:ew.ZodArray,...e5(en)});class t_ extends e4{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let ee=this._def.shape(),en=ev.objectKeys(ee);return this._cached={shape:ee,keys:en}}_parse(ee){let en=this._getType(ee);if(en!==eL.object){let en=this._getOrReturnCtx(ee);return eU(en,{code:eP.invalid_type,expected:eL.object,received:en.parsedType}),eq}let{status:er,ctx:eo}=this._processInputParams(ee),{shape:ei,keys:ec}=this._getCached(),eu=[];if(!(this._def.catchall instanceof ty&&"strip"===this._def.unknownKeys))for(let ee in eo.data)ec.includes(ee)||eu.push(ee);let ed=[];for(let ee of ec){let en=ei[ee],er=eo.data[ee];ed.push({key:{status:"valid",value:ee},value:en._parse(new e1(eo,er,eo.path,ee)),alwaysSet:ee in eo.data})}if(this._def.catchall instanceof ty){let ee=this._def.unknownKeys;if("passthrough"===ee)for(let ee of eu)ed.push({key:{status:"valid",value:ee},value:{status:"valid",value:eo.data[ee]}});else if("strict"===ee)eu.length>0&&(eU(eo,{code:eP.unrecognized_keys,keys:eu}),er.dirty());else if("strip"===ee);else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let ee=this._def.catchall;for(let en of eu){let er=eo.data[en];ed.push({key:{status:"valid",value:en},value:ee._parse(new e1(eo,er,eo.path,en)),alwaysSet:en in eo.data})}}return eo.common.async?Promise.resolve().then(async()=>{let ee=[];for(let en of ed){let er=await en.key;ee.push({key:er,value:await en.value,alwaysSet:en.alwaysSet})}return ee}).then(ee=>eV.mergeObjectSync(er,ee)):eV.mergeObjectSync(er,ed)}get shape(){return this._def.shape()}strict(ee){return eb.errToObj,new t_({...this._def,unknownKeys:"strict",...void 0!==ee?{errorMap:(en,er)=>{var eo,ei,ec,eu;let ed=null!==(ec=null===(ei=(eo=this._def).errorMap)||void 0===ei?void 0:ei.call(eo,en,er).message)&&void 0!==ec?ec:er.defaultError;return"unrecognized_keys"===en.code?{message:null!==(eu=eb.errToObj(ee).message)&&void 0!==eu?eu:ed}:{message:ed}}}:{}})}strip(){return new t_({...this._def,unknownKeys:"strip"})}passthrough(){return new t_({...this._def,unknownKeys:"passthrough"})}extend(ee){return new t_({...this._def,shape:()=>({...this._def.shape(),...ee})})}merge(ee){let en=new t_({unknownKeys:ee._def.unknownKeys,catchall:ee._def.catchall,shape:()=>({...this._def.shape(),...ee._def.shape()}),typeName:ew.ZodObject});return en}setKey(ee,en){return this.augment({[ee]:en})}catchall(ee){return new t_({...this._def,catchall:ee})}pick(ee){let en={};return ev.objectKeys(ee).forEach(er=>{ee[er]&&this.shape[er]&&(en[er]=this.shape[er])}),new t_({...this._def,shape:()=>en})}omit(ee){let en={};return ev.objectKeys(this.shape).forEach(er=>{ee[er]||(en[er]=this.shape[er])}),new t_({...this._def,shape:()=>en})}deepPartial(){return tk(this)}partial(ee){let en={};return ev.objectKeys(this.shape).forEach(er=>{let eo=this.shape[er];ee&&!ee[er]?en[er]=eo:en[er]=eo.optional()}),new t_({...this._def,shape:()=>en})}required(ee){let en={};return ev.objectKeys(this.shape).forEach(er=>{if(ee&&!ee[er])en[er]=this.shape[er];else{let ee=this.shape[er],eo=ee;for(;eo instanceof tH;)eo=eo._def.innerType;en[er]=eo}}),new t_({...this._def,shape:()=>en})}keyof(){return tZ(ev.objectKeys(this.shape))}}t_.create=(ee,en)=>new t_({shape:()=>ee,unknownKeys:"strip",catchall:ty.create(),typeName:ew.ZodObject,...e5(en)}),t_.strictCreate=(ee,en)=>new t_({shape:()=>ee,unknownKeys:"strict",catchall:ty.create(),typeName:ew.ZodObject,...e5(en)}),t_.lazycreate=(ee,en)=>new t_({shape:ee,unknownKeys:"strip",catchall:ty.create(),typeName:ew.ZodObject,...e5(en)});class tE extends e4{_parse(ee){let{ctx:en}=this._processInputParams(ee),er=this._def.options;function eo(ee){for(let en of ee)if("valid"===en.result.status)return en.result;for(let er of ee)if("dirty"===er.result.status)return en.common.issues.push(...er.ctx.common.issues),er.result;let er=ee.map(ee=>new ez(ee.ctx.common.issues));return eU(en,{code:eP.invalid_union,unionErrors:er}),eq}if(en.common.async)return Promise.all(er.map(async ee=>{let er={...en,common:{...en.common,issues:[]},parent:null};return{result:await ee._parseAsync({data:en.data,path:en.path,parent:er}),ctx:er}})).then(eo);{let ee;let eo=[];for(let ei of er){let er={...en,common:{...en.common,issues:[]},parent:null},ec=ei._parseSync({data:en.data,path:en.path,parent:er});if("valid"===ec.status)return ec;"dirty"!==ec.status||ee||(ee={result:ec,ctx:er}),er.common.issues.length&&eo.push(er.common.issues)}if(ee)return en.common.issues.push(...ee.ctx.common.issues),ee.result;let ei=eo.map(ee=>new ez(ee));return eU(en,{code:eP.invalid_union,unionErrors:ei}),eq}}get options(){return this._def.options}}tE.create=(ee,en)=>new tE({options:ee,typeName:ew.ZodUnion,...e5(en)});let tj=ee=>{if(ee instanceof tM)return tj(ee.schema);if(ee instanceof tF)return tj(ee.innerType());if(ee instanceof tL)return[ee.value];if(ee instanceof tP)return ee.options;if(ee instanceof tD)return Object.keys(ee.enum);if(ee instanceof tW)return tj(ee._def.innerType);if(ee instanceof tm)return[void 0];else if(ee instanceof tg)return[null];else return null};class tO extends e4{_parse(ee){let{ctx:en}=this._processInputParams(ee);if(en.parsedType!==eL.object)return eU(en,{code:eP.invalid_type,expected:eL.object,received:en.parsedType}),eq;let er=this.discriminator,eo=en.data[er],ei=this.optionsMap.get(eo);return ei?en.common.async?ei._parseAsync({data:en.data,path:en.path,parent:en}):ei._parseSync({data:en.data,path:en.path,parent:en}):(eU(en,{code:eP.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[er]}),eq)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(ee,en,er){let eo=new Map;for(let er of en){let en=tj(er.shape[ee]);if(!en)throw Error(`A discriminator value for key \`${ee}\` could not be extracted from all schema options`);for(let ei of en){if(eo.has(ei))throw Error(`Discriminator property ${String(ee)} has duplicate value ${String(ei)}`);eo.set(ei,er)}}return new tO({typeName:ew.ZodDiscriminatedUnion,discriminator:ee,options:en,optionsMap:eo,...e5(er)})}}function tC(ee,en){let er=eZ(ee),eo=eZ(en);if(ee===en)return{valid:!0,data:ee};if(er===eL.object&&eo===eL.object){let er=ev.objectKeys(en),eo=ev.objectKeys(ee).filter(ee=>-1!==er.indexOf(ee)),ei={...ee,...en};for(let er of eo){let eo=tC(ee[er],en[er]);if(!eo.valid)return{valid:!1};ei[er]=eo.data}return{valid:!0,data:ei}}if(er===eL.array&&eo===eL.array){if(ee.length!==en.length)return{valid:!1};let er=[];for(let eo=0;eo{if(eY(ee)||eY(eo))return eq;let ei=tC(ee.value,eo.value);return ei.valid?((eQ(ee)||eQ(eo))&&en.dirty(),{status:en.value,value:ei.data}):(eU(er,{code:eP.invalid_intersection_types}),eq)};return er.common.async?Promise.all([this._def.left._parseAsync({data:er.data,path:er.path,parent:er}),this._def.right._parseAsync({data:er.data,path:er.path,parent:er})]).then(([ee,en])=>eo(ee,en)):eo(this._def.left._parseSync({data:er.data,path:er.path,parent:er}),this._def.right._parseSync({data:er.data,path:er.path,parent:er}))}}tS.create=(ee,en,er)=>new tS({left:ee,right:en,typeName:ew.ZodIntersection,...e5(er)});class tT extends e4{_parse(ee){let{status:en,ctx:er}=this._processInputParams(ee);if(er.parsedType!==eL.array)return eU(er,{code:eP.invalid_type,expected:eL.array,received:er.parsedType}),eq;if(er.data.lengththis._def.items.length&&(eU(er,{code:eP.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),en.dirty());let ei=[...er.data].map((ee,en)=>{let eo=this._def.items[en]||this._def.rest;return eo?eo._parse(new e1(er,ee,er.path,en)):null}).filter(ee=>!!ee);return er.common.async?Promise.all(ei).then(ee=>eV.mergeArray(en,ee)):eV.mergeArray(en,ei)}get items(){return this._def.items}rest(ee){return new tT({...this._def,rest:ee})}}tT.create=(ee,en)=>{if(!Array.isArray(ee))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new tT({items:ee,typeName:ew.ZodTuple,rest:null,...e5(en)})};class tA extends e4{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(ee){let{status:en,ctx:er}=this._processInputParams(ee);if(er.parsedType!==eL.object)return eU(er,{code:eP.invalid_type,expected:eL.object,received:er.parsedType}),eq;let eo=[],ei=this._def.keyType,ec=this._def.valueType;for(let ee in er.data)eo.push({key:ei._parse(new e1(er,ee,er.path,ee)),value:ec._parse(new e1(er,er.data[ee],er.path,ee))});return er.common.async?eV.mergeObjectAsync(en,eo):eV.mergeObjectSync(en,eo)}get element(){return this._def.valueType}static create(ee,en,er){return new tA(en instanceof e4?{keyType:ee,valueType:en,typeName:ew.ZodRecord,...e5(er)}:{keyType:tl.create(),valueType:ee,typeName:ew.ZodRecord,...e5(en)})}}class tR extends e4{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(ee){let{status:en,ctx:er}=this._processInputParams(ee);if(er.parsedType!==eL.map)return eU(er,{code:eP.invalid_type,expected:eL.map,received:er.parsedType}),eq;let eo=this._def.keyType,ei=this._def.valueType,ec=[...er.data.entries()].map(([ee,en],ec)=>({key:eo._parse(new e1(er,ee,er.path,[ec,"key"])),value:ei._parse(new e1(er,en,er.path,[ec,"value"]))}));if(er.common.async){let ee=new Map;return Promise.resolve().then(async()=>{for(let er of ec){let eo=await er.key,ei=await er.value;if("aborted"===eo.status||"aborted"===ei.status)return eq;("dirty"===eo.status||"dirty"===ei.status)&&en.dirty(),ee.set(eo.value,ei.value)}return{status:en.value,value:ee}})}{let ee=new Map;for(let er of ec){let eo=er.key,ei=er.value;if("aborted"===eo.status||"aborted"===ei.status)return eq;("dirty"===eo.status||"dirty"===ei.status)&&en.dirty(),ee.set(eo.value,ei.value)}return{status:en.value,value:ee}}}}tR.create=(ee,en,er)=>new tR({valueType:en,keyType:ee,typeName:ew.ZodMap,...e5(er)});class tN extends e4{_parse(ee){let{status:en,ctx:er}=this._processInputParams(ee);if(er.parsedType!==eL.set)return eU(er,{code:eP.invalid_type,expected:eL.set,received:er.parsedType}),eq;let eo=this._def;null!==eo.minSize&&er.data.sizeeo.maxSize.value&&(eU(er,{code:eP.too_big,maximum:eo.maxSize.value,type:"set",inclusive:!0,exact:!1,message:eo.maxSize.message}),en.dirty());let ei=this._def.valueType;function ec(ee){let er=new Set;for(let eo of ee){if("aborted"===eo.status)return eq;"dirty"===eo.status&&en.dirty(),er.add(eo.value)}return{status:en.value,value:er}}let eu=[...er.data.values()].map((ee,en)=>ei._parse(new e1(er,ee,er.path,en)));return er.common.async?Promise.all(eu).then(ee=>ec(ee)):ec(eu)}min(ee,en){return new tN({...this._def,minSize:{value:ee,message:eb.toString(en)}})}max(ee,en){return new tN({...this._def,maxSize:{value:ee,message:eb.toString(en)}})}size(ee,en){return this.min(ee,en).max(ee,en)}nonempty(ee){return this.min(1,ee)}}tN.create=(ee,en)=>new tN({valueType:ee,minSize:null,maxSize:null,typeName:ew.ZodSet,...e5(en)});class tI extends e4{constructor(){super(...arguments),this.validate=this.implement}_parse(ee){let{ctx:en}=this._processInputParams(ee);if(en.parsedType!==eL.function)return eU(en,{code:eP.invalid_type,expected:eL.function,received:en.parsedType}),eq;function er(ee,er){return eG({data:ee,path:en.path,errorMaps:[en.common.contextualErrorMap,en.schemaErrorMap,eW(),eF].filter(ee=>!!ee),issueData:{code:eP.invalid_arguments,argumentsError:er}})}function eo(ee,er){return eG({data:ee,path:en.path,errorMaps:[en.common.contextualErrorMap,en.schemaErrorMap,eW(),eF].filter(ee=>!!ee),issueData:{code:eP.invalid_return_type,returnTypeError:er}})}let ei={errorMap:en.common.contextualErrorMap},ec=en.data;if(this._def.returns instanceof tz){let ee=this;return eK(async function(...en){let eu=new ez([]),ed=await ee._def.args.parseAsync(en,ei).catch(ee=>{throw eu.addIssue(er(en,ee)),eu}),ef=await Reflect.apply(ec,this,ed),eh=await ee._def.returns._def.type.parseAsync(ef,ei).catch(ee=>{throw eu.addIssue(eo(ef,ee)),eu});return eh})}{let ee=this;return eK(function(...en){let eu=ee._def.args.safeParse(en,ei);if(!eu.success)throw new ez([er(en,eu.error)]);let ed=Reflect.apply(ec,this,eu.data),ef=ee._def.returns.safeParse(ed,ei);if(!ef.success)throw new ez([eo(ed,ef.error)]);return ef.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...ee){return new tI({...this._def,args:tT.create(ee).rest(tv.create())})}returns(ee){return new tI({...this._def,returns:ee})}implement(ee){let en=this.parse(ee);return en}strictImplement(ee){let en=this.parse(ee);return en}static create(ee,en,er){return new tI({args:ee||tT.create([]).rest(tv.create()),returns:en||tv.create(),typeName:ew.ZodFunction,...e5(er)})}}class tM extends e4{get schema(){return this._def.getter()}_parse(ee){let{ctx:en}=this._processInputParams(ee),er=this._def.getter();return er._parse({data:en.data,path:en.path,parent:en})}}tM.create=(ee,en)=>new tM({getter:ee,typeName:ew.ZodLazy,...e5(en)});class tL extends e4{_parse(ee){if(ee.data!==this._def.value){let en=this._getOrReturnCtx(ee);return eU(en,{received:en.data,code:eP.invalid_literal,expected:this._def.value}),eq}return{status:"valid",value:ee.data}}get value(){return this._def.value}}function tZ(ee,en){return new tP({values:ee,typeName:ew.ZodEnum,...e5(en)})}tL.create=(ee,en)=>new tL({value:ee,typeName:ew.ZodLiteral,...e5(en)});class tP extends e4{_parse(ee){if("string"!=typeof ee.data){let en=this._getOrReturnCtx(ee),er=this._def.values;return eU(en,{expected:ev.joinValues(er),received:en.parsedType,code:eP.invalid_type}),eq}if(-1===this._def.values.indexOf(ee.data)){let en=this._getOrReturnCtx(ee),er=this._def.values;return eU(en,{received:en.data,code:eP.invalid_enum_value,options:er}),eq}return eK(ee.data)}get options(){return this._def.values}get enum(){let ee={};for(let en of this._def.values)ee[en]=en;return ee}get Values(){let ee={};for(let en of this._def.values)ee[en]=en;return ee}get Enum(){let ee={};for(let en of this._def.values)ee[en]=en;return ee}extract(ee){return tP.create(ee)}exclude(ee){return tP.create(this.options.filter(en=>!ee.includes(en)))}}tP.create=tZ;class tD extends e4{_parse(ee){let en=ev.getValidEnumValues(this._def.values),er=this._getOrReturnCtx(ee);if(er.parsedType!==eL.string&&er.parsedType!==eL.number){let ee=ev.objectValues(en);return eU(er,{expected:ev.joinValues(ee),received:er.parsedType,code:eP.invalid_type}),eq}if(-1===en.indexOf(ee.data)){let ee=ev.objectValues(en);return eU(er,{received:er.data,code:eP.invalid_enum_value,options:ee}),eq}return eK(ee.data)}get enum(){return this._def.values}}tD.create=(ee,en)=>new tD({values:ee,typeName:ew.ZodNativeEnum,...e5(en)});class tz extends e4{unwrap(){return this._def.type}_parse(ee){let{ctx:en}=this._processInputParams(ee);if(en.parsedType!==eL.promise&&!1===en.common.async)return eU(en,{code:eP.invalid_type,expected:eL.promise,received:en.parsedType}),eq;let er=en.parsedType===eL.promise?en.data:Promise.resolve(en.data);return eK(er.then(ee=>this._def.type.parseAsync(ee,{path:en.path,errorMap:en.common.contextualErrorMap})))}}tz.create=(ee,en)=>new tz({type:ee,typeName:ew.ZodPromise,...e5(en)});class tF extends e4{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ew.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(ee){let{status:en,ctx:er}=this._processInputParams(ee),eo=this._def.effect||null,ei={addIssue:ee=>{eU(er,ee),ee.fatal?en.abort():en.dirty()},get path(){return er.path}};if(ei.addIssue=ei.addIssue.bind(ei),"preprocess"===eo.type){let ee=eo.transform(er.data,ei);return er.common.issues.length?{status:"dirty",value:er.data}:er.common.async?Promise.resolve(ee).then(ee=>this._def.schema._parseAsync({data:ee,path:er.path,parent:er})):this._def.schema._parseSync({data:ee,path:er.path,parent:er})}if("refinement"===eo.type){let ee=ee=>{let en=eo.refinement(ee,ei);if(er.common.async)return Promise.resolve(en);if(en instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return ee};if(!1!==er.common.async)return this._def.schema._parseAsync({data:er.data,path:er.path,parent:er}).then(er=>"aborted"===er.status?eq:("dirty"===er.status&&en.dirty(),ee(er.value).then(()=>({status:en.value,value:er.value}))));{let eo=this._def.schema._parseSync({data:er.data,path:er.path,parent:er});return"aborted"===eo.status?eq:("dirty"===eo.status&&en.dirty(),ee(eo.value),{status:en.value,value:eo.value})}}if("transform"===eo.type){if(!1!==er.common.async)return this._def.schema._parseAsync({data:er.data,path:er.path,parent:er}).then(ee=>eJ(ee)?Promise.resolve(eo.transform(ee.value,ei)).then(ee=>({status:en.value,value:ee})):ee);{let ee=this._def.schema._parseSync({data:er.data,path:er.path,parent:er});if(!eJ(ee))return ee;let ec=eo.transform(ee.value,ei);if(ec instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:en.value,value:ec}}}ev.assertNever(eo)}}tF.create=(ee,en,er)=>new tF({schema:ee,typeName:ew.ZodEffects,effect:en,...e5(er)}),tF.createWithPreprocess=(ee,en,er)=>new tF({schema:en,effect:{type:"preprocess",transform:ee},typeName:ew.ZodEffects,...e5(er)});class tH extends e4{_parse(ee){let en=this._getType(ee);return en===eL.undefined?eK(void 0):this._def.innerType._parse(ee)}unwrap(){return this._def.innerType}}tH.create=(ee,en)=>new tH({innerType:ee,typeName:ew.ZodOptional,...e5(en)});class tB extends e4{_parse(ee){let en=this._getType(ee);return en===eL.null?eK(null):this._def.innerType._parse(ee)}unwrap(){return this._def.innerType}}tB.create=(ee,en)=>new tB({innerType:ee,typeName:ew.ZodNullable,...e5(en)});class tW extends e4{_parse(ee){let{ctx:en}=this._processInputParams(ee),er=en.data;return en.parsedType===eL.undefined&&(er=this._def.defaultValue()),this._def.innerType._parse({data:er,path:en.path,parent:en})}removeDefault(){return this._def.innerType}}tW.create=(ee,en)=>new tW({innerType:ee,typeName:ew.ZodDefault,defaultValue:"function"==typeof en.default?en.default:()=>en.default,...e5(en)});class tG extends e4{_parse(ee){let{ctx:en}=this._processInputParams(ee),er={...en,common:{...en.common,issues:[]}},eo=this._def.innerType._parse({data:er.data,path:er.path,parent:{...er}});return e0(eo)?eo.then(ee=>({status:"valid",value:"valid"===ee.status?ee.value:this._def.catchValue({get error(){return new ez(er.common.issues)},input:er.data})})):{status:"valid",value:"valid"===eo.status?eo.value:this._def.catchValue({get error(){return new ez(er.common.issues)},input:er.data})}}removeCatch(){return this._def.innerType}}tG.create=(ee,en)=>new tG({innerType:ee,typeName:ew.ZodCatch,catchValue:"function"==typeof en.catch?en.catch:()=>en.catch,...e5(en)});class t$ extends e4{_parse(ee){let en=this._getType(ee);if(en!==eL.nan){let en=this._getOrReturnCtx(ee);return eU(en,{code:eP.invalid_type,expected:eL.nan,received:en.parsedType}),eq}return{status:"valid",value:ee.data}}}t$.create=ee=>new t$({typeName:ew.ZodNaN,...e5(ee)});let tU=Symbol("zod_brand");class tV extends e4{_parse(ee){let{ctx:en}=this._processInputParams(ee),er=en.data;return this._def.type._parse({data:er,path:en.path,parent:en})}unwrap(){return this._def.type}}class tq extends e4{_parse(ee){let{status:en,ctx:er}=this._processInputParams(ee);if(er.common.async){let ee=async()=>{let ee=await this._def.in._parseAsync({data:er.data,path:er.path,parent:er});return"aborted"===ee.status?eq:"dirty"===ee.status?(en.dirty(),eX(ee.value)):this._def.out._parseAsync({data:ee.value,path:er.path,parent:er})};return ee()}{let ee=this._def.in._parseSync({data:er.data,path:er.path,parent:er});return"aborted"===ee.status?eq:"dirty"===ee.status?(en.dirty(),{status:"dirty",value:ee.value}):this._def.out._parseSync({data:ee.value,path:er.path,parent:er})}}static create(ee,en){return new tq({in:ee,out:en,typeName:ew.ZodPipeline})}}class tX extends e4{_parse(ee){let en=this._def.innerType._parse(ee);return eJ(en)&&(en.value=Object.freeze(en.value)),en}}tX.create=(ee,en)=>new tX({innerType:ee,typeName:ew.ZodReadonly,...e5(en)});let tK=(ee,en={},er)=>ee?tx.create().superRefine((eo,ei)=>{var ec,eu;if(!ee(eo)){let ee="function"==typeof en?en(eo):"string"==typeof en?{message:en}:en,ed=null===(eu=null!==(ec=ee.fatal)&&void 0!==ec?ec:er)||void 0===eu||eu,ef="string"==typeof ee?{message:ee}:ee;ei.addIssue({code:"custom",...ef,fatal:ed})}}):tx.create(),tY={object:t_.lazycreate};!function(ee){ee.ZodString="ZodString",ee.ZodNumber="ZodNumber",ee.ZodNaN="ZodNaN",ee.ZodBigInt="ZodBigInt",ee.ZodBoolean="ZodBoolean",ee.ZodDate="ZodDate",ee.ZodSymbol="ZodSymbol",ee.ZodUndefined="ZodUndefined",ee.ZodNull="ZodNull",ee.ZodAny="ZodAny",ee.ZodUnknown="ZodUnknown",ee.ZodNever="ZodNever",ee.ZodVoid="ZodVoid",ee.ZodArray="ZodArray",ee.ZodObject="ZodObject",ee.ZodUnion="ZodUnion",ee.ZodDiscriminatedUnion="ZodDiscriminatedUnion",ee.ZodIntersection="ZodIntersection",ee.ZodTuple="ZodTuple",ee.ZodRecord="ZodRecord",ee.ZodMap="ZodMap",ee.ZodSet="ZodSet",ee.ZodFunction="ZodFunction",ee.ZodLazy="ZodLazy",ee.ZodLiteral="ZodLiteral",ee.ZodEnum="ZodEnum",ee.ZodEffects="ZodEffects",ee.ZodNativeEnum="ZodNativeEnum",ee.ZodOptional="ZodOptional",ee.ZodNullable="ZodNullable",ee.ZodDefault="ZodDefault",ee.ZodCatch="ZodCatch",ee.ZodPromise="ZodPromise",ee.ZodBranded="ZodBranded",ee.ZodPipeline="ZodPipeline",ee.ZodReadonly="ZodReadonly"}(ew||(ew={}));let tQ=(ee,en={message:`Input not instance of ${ee.name}`})=>tK(en=>en instanceof ee,en),tJ=tl.create,t0=tu.create,t1=t$.create,t2=td.create,t5=tf.create,t4=th.create,t6=tp.create,t3=tm.create,t9=tg.create,t7=tx.create,t8=tv.create,ne=ty.create,nt=tb.create,nn=tw.create,nr=t_.create,no=t_.strictCreate,ni=tE.create,ns=tO.create,nl=tS.create,nc=tT.create,nu=tA.create,nd=tR.create,nf=tN.create,nh=tI.create,np=tM.create,nm=tL.create,ng=tP.create,nx=tD.create,nv=tz.create,ny=tF.create,nb=tH.create,nw=tB.create,nk=tF.createWithPreprocess,n_=tq.create,nE=()=>tJ().optional(),nj=()=>t0().optional(),nO=()=>t5().optional(),nC={string:ee=>tl.create({...ee,coerce:!0}),number:ee=>tu.create({...ee,coerce:!0}),boolean:ee=>tf.create({...ee,coerce:!0}),bigint:ee=>td.create({...ee,coerce:!0}),date:ee=>th.create({...ee,coerce:!0})},nS=eq;var nT=Object.freeze({__proto__:null,defaultErrorMap:eF,setErrorMap:eB,getErrorMap:eW,makeIssue:eG,EMPTY_PATH:e$,addIssueToContext:eU,ParseStatus:eV,INVALID:eq,DIRTY:eX,OK:eK,isAborted:eY,isDirty:eQ,isValid:eJ,isAsync:e0,get util(){return ev},get objectUtil(){return ey},ZodParsedType:eL,getParsedType:eZ,ZodType:e4,ZodString:tl,ZodNumber:tu,ZodBigInt:td,ZodBoolean:tf,ZodDate:th,ZodSymbol:tp,ZodUndefined:tm,ZodNull:tg,ZodAny:tx,ZodUnknown:tv,ZodNever:ty,ZodVoid:tb,ZodArray:tw,ZodObject:t_,ZodUnion:tE,ZodDiscriminatedUnion:tO,ZodIntersection:tS,ZodTuple:tT,ZodRecord:tA,ZodMap:tR,ZodSet:tN,ZodFunction:tI,ZodLazy:tM,ZodLiteral:tL,ZodEnum:tP,ZodNativeEnum:tD,ZodPromise:tz,ZodEffects:tF,ZodTransformer:tF,ZodOptional:tH,ZodNullable:tB,ZodDefault:tW,ZodCatch:tG,ZodNaN:t$,BRAND:tU,ZodBranded:tV,ZodPipeline:tq,ZodReadonly:tX,custom:tK,Schema:e4,ZodSchema:e4,late:tY,get ZodFirstPartyTypeKind(){return ew},coerce:nC,any:t7,array:nn,bigint:t2,boolean:t5,date:t4,discriminatedUnion:ns,effect:ny,enum:ng,function:nh,instanceof:tQ,intersection:nl,lazy:np,literal:nm,map:nd,nan:t1,nativeEnum:nx,never:ne,null:t9,nullable:nw,number:t0,object:nr,oboolean:nO,onumber:nj,optional:nb,ostring:nE,pipeline:n_,preprocess:nk,promise:nv,record:nu,set:nf,strictObject:no,string:tJ,symbol:t6,transformer:ny,tuple:nc,undefined:t3,union:ni,unknown:t8,void:nt,NEVER:nS,ZodIssueCode:eP,quotelessJson:eD,ZodError:ez}),nA=er(26813),nR=er.n(nA),nN={i8:"14.0.3"};er(15983);let nI=["light","dark"],nM="(prefers-color-scheme: dark)",nL="undefined"==typeof window,nZ=(0,eC.createContext)(void 0),nP={setTheme:ee=>{},themes:[]},nD=()=>{var ee;return null!==(ee=(0,eC.useContext)(nZ))&&void 0!==ee?ee:nP},nz=ee=>(0,eC.useContext)(nZ)?eC.createElement(eC.Fragment,null,ee.children):eC.createElement(nH,ee),nF=["light","dark"],nH=({forcedTheme:ee,disableTransitionOnChange:en=!1,enableSystem:er=!0,enableColorScheme:eo=!0,storageKey:ei="theme",themes:ec=nF,defaultTheme:eu=er?"system":"light",attribute:ed="data-theme",value:ef,children:eh,nonce:ep})=>{let[em,eg]=(0,eC.useState)(()=>nW(ei,eu)),[ex,ev]=(0,eC.useState)(()=>nW(ei)),ey=ef?Object.values(ef):ec,eb=(0,eC.useCallback)(ee=>{let ei=ee;if(!ei)return;"system"===ee&&er&&(ei=n$());let ec=ef?ef[ei]:ei,eh=en?nG():null,ep=document.documentElement;if("class"===ed?(ep.classList.remove(...ey),ec&&ep.classList.add(ec)):ec?ep.setAttribute(ed,ec):ep.removeAttribute(ed),eo){let ee=nI.includes(eu)?eu:null,en=nI.includes(ei)?ei:ee;ep.style.colorScheme=en}null==eh||eh()},[]),ew=(0,eC.useCallback)(ee=>{eg(ee);try{localStorage.setItem(ei,ee)}catch(ee){}},[ee]),ek=(0,eC.useCallback)(en=>{let eo=n$(en);ev(eo),"system"===em&&er&&!ee&&eb("system")},[em,ee]);(0,eC.useEffect)(()=>{let ee=window.matchMedia(nM);return ee.addListener(ek),ek(ee),()=>ee.removeListener(ek)},[ek]),(0,eC.useEffect)(()=>{let ee=ee=>{ee.key===ei&&ew(ee.newValue||eu)};return window.addEventListener("storage",ee),()=>window.removeEventListener("storage",ee)},[ew]),(0,eC.useEffect)(()=>{eb(null!=ee?ee:em)},[ee,em]);let e_=(0,eC.useMemo)(()=>({theme:em,setTheme:ew,forcedTheme:ee,resolvedTheme:"system"===em?ex:em,themes:er?[...ec,"system"]:ec,systemTheme:er?ex:void 0}),[em,ew,ee,ex,er,ec]);return eC.createElement(nZ.Provider,{value:e_},eC.createElement(nB,{forcedTheme:ee,disableTransitionOnChange:en,enableSystem:er,enableColorScheme:eo,storageKey:ei,themes:ec,defaultTheme:eu,attribute:ed,value:ef,children:eh,attrs:ey,nonce:ep}),eh)},nB=(0,eC.memo)(({forcedTheme:ee,storageKey:en,attribute:er,enableSystem:eo,enableColorScheme:ei,defaultTheme:ec,value:eu,attrs:ed,nonce:ef})=>{let eh="system"===ec,ep="class"===er?`var d=document.documentElement,c=d.classList;c.remove(${ed.map(ee=>`'${ee}'`).join(",")});`:`var d=document.documentElement,n='${er}',s='setAttribute';`,em=ei?nI.includes(ec)&&ec?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${ec}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",eg=(ee,en=!1,eo=!0)=>{let ec=eu?eu[ee]:ee,ed=en?ee+"|| ''":`'${ec}'`,ef="";return ei&&eo&&!en&&nI.includes(ee)&&(ef+=`d.style.colorScheme = '${ee}';`),"class"===er?ef+=en||ec?`c.add(${ed})`:"null":ec&&(ef+=`d[s](n,${ed})`),ef},ex=ee?`!function(){${ep}${eg(ee)}}()`:eo?`!function(){try{${ep}var e=localStorage.getItem('${en}');if('system'===e||(!e&&${eh})){var t='${nM}',m=window.matchMedia(t);if(m.media!==t||m.matches){${eg("dark")}}else{${eg("light")}}}else if(e){${eu?`var x=${JSON.stringify(eu)};`:""}${eg(eu?"x[e]":"e",!0)}}${eh?"":"else{"+eg(ec,!1,!1)+"}"}${em}}catch(e){}}()`:`!function(){try{${ep}var e=localStorage.getItem('${en}');if(e){${eu?`var x=${JSON.stringify(eu)};`:""}${eg(eu?"x[e]":"e",!0)}}else{${eg(ec,!1,!1)};}${em}}catch(t){}}();`;return eC.createElement("script",{nonce:ef,dangerouslySetInnerHTML:{__html:ex}})},()=>!0),nW=(ee,en)=>{let er;if(!nL){try{er=localStorage.getItem(ee)||void 0}catch(ee){}return er||en}},nG=()=>{let ee=document.createElement("style");return ee.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(ee),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(ee)},1)}},n$=ee=>(ee||(ee=window.matchMedia(nM)),ee.matches?"dark":"light");var nU={breadcrumb:!0,collapsed:!1,footer:!0,layout:"default",navbar:!0,pagination:!0,sidebar:!0,timestamp:!0,toc:!0,typesetting:"default"},nV=nT.strictObject({breadcrumb:nT.boolean(),collapsed:nT.boolean(),footer:nT.boolean(),layout:nT.enum(["default","full","raw"]),navbar:nT.boolean(),pagination:nT.boolean(),sidebar:nT.boolean(),timestamp:nT.boolean(),toc:nT.boolean(),typesetting:nT.enum(["default","article"])}),nq=nT.enum(["normal","hidden","children"]),nX=nT.string(),nK=nT.strictObject({href:nT.string(),newWindow:nT.boolean(),title:nX}),nY=nT.strictObject({display:nq.optional(),items:nT.record(nK.partial({href:!0,newWindow:!0})),title:nX,type:nT.literal("menu")}),nQ=nT.strictObject({title:nX,type:nT.literal("separator")}),nJ=nK.extend({display:nq,theme:nV,title:nX,type:nT.enum(["page","doc"])}).deepPartial();function n0(ee={},en){"string"==typeof ee&&(ee={title:ee});let er=Object.assign({},en.theme,ee.theme);return Object.assign({},en,ee,{theme:er})}function n1(ee){for(let en of ee){if(en.route)return en.route;if(en.children){let ee=n1(en.children);if(ee)return ee}}}function n2({list:ee,locale:en,defaultLocale:er,route:eo,docsRoot:ei="",underCurrentDocsRoot:ec=!1,pageThemeContext:eu=nU}){let ed,ef;for(let er of ee)if("Meta"===er.kind){if(er.locale===en){ed=er.data;break}ed||(ed=er.data)}let eh=ed||{},ep=Object.keys(eh);for(let ee of ep)"string"==typeof eh[ee]&&(eh[ee]={title:eh[ee]});let em=[],eg=[],ex=[],ev=[],ey=[],eb=0,ew=eu,ek=[],e_=-1,eE=eh["*"]||{};delete eE.title,delete eE.href;let ej=ee.filter(ee=>"Meta"!==ee.kind&&!ee.name.startsWith("_")&&(!("locale"in ee)||!ee.locale||[en,er].includes(ee.locale))).sort((ee,en)=>{let er=ep.indexOf(ee.name),eo=ep.indexOf(en.name);return -1===er&&-1===eo?ee.name{let en;let er=[],eo=ep.indexOf(ee.name);if(-1!==eo){for(let ee=e_+1;ee({...ed,type:eO,...eR&&{title:eR},...e_&&{display:e_},...eT&&{children:[]}}),eI=eN(),eM=eN(),eL=eN();if(eM.isUnderCurrentDocsTree=eS,"separator"===eO&&(eI.isUnderCurrentDocsTree=eS),ed.route===eo)switch(ek=[eI],ef=eO,ew={...ew,...eC},eO){case"page":case"menu":eb=ey.length;break;case"doc":eb=ev.length}if(!("hidden"===e_&&"Folder"!==eI.kind||eA.hV.has(ed.route))){if(eT){if(void 0!==eT.activeIndex&&void 0!==eT.activeType){switch(ew=eT.activeThemeContext,ef=eT.activeType,ek=[eI,...eT.activePath],ef){case"page":case"menu":eb=ey.length+eT.activeIndex;break;case"doc":eb=ev.length+eT.activeIndex}ed.withIndexPage&&"doc"===eO&&eb++}switch(eO){case"page":case"menu":eL.children.push(...eT.directories),ex.push(...eT.docsDirectories),eT.flatDirectories.length?(eL.firstChildRoute=n1(eT.flatDirectories),ey.push(eL)):eL.withIndexPage&&ey.push(eL);break;case"doc":Array.isArray(eM.children)&&eM.children.push(...eT.docsDirectories),eI.withIndexPage&&"children"!==e_&&ev.push(eM)}eg.push(...eT.flatDirectories),ev.push(...eT.flatDocsDirectories),Array.isArray(eI.children)&&eI.children.push(...eT.directories)}else switch(eg.push(eI),eO){case"page":case"menu":ey.push(eL);break;case"doc":ev.push(eM)}switch("doc"===eO&&"children"===e_?eM.children&&(em.push(...eM.children),ex.push(...eM.children)):em.push(eI),eO){case"page":case"menu":ex.push(eL);break;case"doc":"children"!==e_&&ex.push(eM);break;case"separator":ex.push(eI)}}}return{activeType:ef,activeIndex:eb,activeThemeContext:ew,activePath:ek,directories:em,flatDirectories:eg,docsDirectories:ex,flatDocsDirectories:ev,topLevelNavbarItems:ey}}nT.string().or(nY).or(nQ).or(nJ);var n5=er(10227),n4=er.n(n5);function n6(ee){if(null==ee)return window;if("[object Window]"!==ee.toString()){var en=ee.ownerDocument;return en&&en.defaultView||window}return ee}function n3(ee){var en=n6(ee).Element;return ee instanceof en||ee instanceof Element}function n9(ee){var en=n6(ee).HTMLElement;return ee instanceof en||ee instanceof HTMLElement}function n7(ee){if("undefined"==typeof ShadowRoot)return!1;var en=n6(ee).ShadowRoot;return ee instanceof en||ee instanceof ShadowRoot}var n8=Math.max,rn=Math.min,rr=Math.round;function ro(){var ee=navigator.userAgentData;return null!=ee&&ee.brands&&Array.isArray(ee.brands)?ee.brands.map(function(ee){return ee.brand+"/"+ee.version}).join(" "):navigator.userAgent}function ri(){return!/^((?!chrome|android).)*safari/i.test(ro())}function rs(ee,en,er){void 0===en&&(en=!1),void 0===er&&(er=!1);var eo=ee.getBoundingClientRect(),ei=1,ec=1;en&&n9(ee)&&(ei=ee.offsetWidth>0&&rr(eo.width)/ee.offsetWidth||1,ec=ee.offsetHeight>0&&rr(eo.height)/ee.offsetHeight||1);var eu=(n3(ee)?n6(ee):window).visualViewport,ed=!ri()&&er,ef=(eo.left+(ed&&eu?eu.offsetLeft:0))/ei,eh=(eo.top+(ed&&eu?eu.offsetTop:0))/ec,ep=eo.width/ei,em=eo.height/ec;return{width:ep,height:em,top:eh,right:ef+ep,bottom:eh+em,left:ef,x:ef,y:eh}}function rl(ee){var en=n6(ee);return{scrollLeft:en.pageXOffset,scrollTop:en.pageYOffset}}function rc(ee){return{scrollLeft:ee.scrollLeft,scrollTop:ee.scrollTop}}function ru(ee){return ee!==n6(ee)&&n9(ee)?rc(ee):rl(ee)}function rd(ee){return ee?(ee.nodeName||"").toLowerCase():null}function rf(ee){return((n3(ee)?ee.ownerDocument:ee.document)||window.document).documentElement}function rh(ee){return rs(rf(ee)).left+rl(ee).scrollLeft}function rp(ee){return n6(ee).getComputedStyle(ee)}function rm(ee){var en=rp(ee),er=en.overflow,eo=en.overflowX,ei=en.overflowY;return/auto|scroll|overlay|hidden/.test(er+ei+eo)}function rg(ee){var en=ee.getBoundingClientRect(),er=rr(en.width)/ee.offsetWidth||1,eo=rr(en.height)/ee.offsetHeight||1;return 1!==er||1!==eo}function rx(ee,en,er){void 0===er&&(er=!1);var eo=n9(en),ei=n9(en)&&rg(en),ec=rf(en),eu=rs(ee,ei,er),ed={scrollLeft:0,scrollTop:0},ef={x:0,y:0};return(eo||!eo&&!er)&&(("body"!==rd(en)||rm(ec))&&(ed=ru(en)),n9(en)?(ef=rs(en,!0),ef.x+=en.clientLeft,ef.y+=en.clientTop):ec&&(ef.x=rh(ec))),{x:eu.left+ed.scrollLeft-ef.x,y:eu.top+ed.scrollTop-ef.y,width:eu.width,height:eu.height}}function rv(ee){var en=rs(ee),er=ee.offsetWidth,eo=ee.offsetHeight;return 1>=Math.abs(en.width-er)&&(er=en.width),1>=Math.abs(en.height-eo)&&(eo=en.height),{x:ee.offsetLeft,y:ee.offsetTop,width:er,height:eo}}function ry(ee){return"html"===rd(ee)?ee:ee.assignedSlot||ee.parentNode||(n7(ee)?ee.host:null)||rf(ee)}function rb(ee){return["html","body","#document"].indexOf(rd(ee))>=0?ee.ownerDocument.body:n9(ee)&&rm(ee)?ee:rb(ry(ee))}function rw(ee,en){void 0===en&&(en=[]);var er,eo=rb(ee),ei=eo===(null==(er=ee.ownerDocument)?void 0:er.body),ec=n6(eo),eu=ei?[ec].concat(ec.visualViewport||[],rm(eo)?eo:[]):eo,ed=en.concat(eu);return ei?ed:ed.concat(rw(ry(eu)))}function rk(ee){return["table","td","th"].indexOf(rd(ee))>=0}function r_(ee){return n9(ee)&&"fixed"!==rp(ee).position?ee.offsetParent:null}function rE(ee){var en=/firefox/i.test(ro());if(/Trident/i.test(ro())&&n9(ee)&&"fixed"===rp(ee).position)return null;var er=ry(ee);for(n7(er)&&(er=er.host);n9(er)&&0>["html","body"].indexOf(rd(er));){var eo=rp(er);if("none"!==eo.transform||"none"!==eo.perspective||"paint"===eo.contain||-1!==["transform","perspective"].indexOf(eo.willChange)||en&&"filter"===eo.willChange||en&&eo.filter&&"none"!==eo.filter)return er;er=er.parentNode}return null}function rj(ee){for(var en=n6(ee),er=r_(ee);er&&rk(er)&&"static"===rp(er).position;)er=r_(er);return er&&("html"===rd(er)||"body"===rd(er)&&"static"===rp(er).position)?en:er||rE(ee)||en}var rO="top",rC="bottom",rS="right",rT="left",rA="auto",rR=[rO,rC,rS,rT],rN="start",rI="end",rM="clippingParents",rL="viewport",rZ="popper",rP="reference",rD=rR.reduce(function(ee,en){return ee.concat([en+"-"+rN,en+"-"+rI])},[]),rz=[].concat(rR,[rA]).reduce(function(ee,en){return ee.concat([en,en+"-"+rN,en+"-"+rI])},[]),rF=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function rH(ee){var en=new Map,er=new Set,eo=[];function ei(ee){er.add(ee.name),[].concat(ee.requires||[],ee.requiresIfExists||[]).forEach(function(ee){if(!er.has(ee)){var eo=en.get(ee);eo&&ei(eo)}}),eo.push(ee)}return ee.forEach(function(ee){en.set(ee.name,ee)}),ee.forEach(function(ee){er.has(ee.name)||ei(ee)}),eo}function rB(ee){var en=rH(ee);return rF.reduce(function(ee,er){return ee.concat(en.filter(function(ee){return ee.phase===er}))},[])}function rW(ee){var en;return function(){return en||(en=new Promise(function(er){Promise.resolve().then(function(){en=void 0,er(ee())})})),en}}function rG(ee){var en=ee.reduce(function(ee,en){var er=ee[en.name];return ee[en.name]=er?Object.assign({},er,en,{options:Object.assign({},er.options,en.options),data:Object.assign({},er.data,en.data)}):en,ee},{});return Object.keys(en).map(function(ee){return en[ee]})}var r$={placement:"bottom",modifiers:[],strategy:"absolute"};function rU(){for(var ee=arguments.length,en=Array(ee),er=0;er=0?"x":"y"}function rY(ee){var en,er=ee.reference,eo=ee.element,ei=ee.placement,ec=ei?rq(ei):null,eu=ei?rX(ei):null,ed=er.x+er.width/2-eo.width/2,ef=er.y+er.height/2-eo.height/2;switch(ec){case rO:en={x:ed,y:er.y-eo.height};break;case rC:en={x:ed,y:er.y+er.height};break;case rS:en={x:er.x+er.width,y:ef};break;case rT:en={x:er.x-eo.width,y:ef};break;default:en={x:er.x,y:er.y}}var eh=ec?rK(ec):null;if(null!=eh){var ep="y"===eh?"height":"width";switch(eu){case rN:en[eh]=en[eh]-(er[ep]/2-eo[ep]/2);break;case rI:en[eh]=en[eh]+(er[ep]/2-eo[ep]/2)}}return en}var rQ={top:"auto",right:"auto",bottom:"auto",left:"auto"};function rJ(ee,en){var er=ee.x,eo=ee.y,ei=en.devicePixelRatio||1;return{x:rr(er*ei)/ei||0,y:rr(eo*ei)/ei||0}}function r0(ee){var en,er,eo=ee.popper,ei=ee.popperRect,ec=ee.placement,eu=ee.variation,ed=ee.offsets,ef=ee.position,eh=ee.gpuAcceleration,ep=ee.adaptive,em=ee.roundOffsets,eg=ee.isFixed,ex=ed.x,ev=void 0===ex?0:ex,ey=ed.y,eb=void 0===ey?0:ey,ew="function"==typeof em?em({x:ev,y:eb}):{x:ev,y:eb};ev=ew.x,eb=ew.y;var ek=ed.hasOwnProperty("x"),e_=ed.hasOwnProperty("y"),eE=rT,ej=rO,eO=window;if(ep){var eC=rj(eo),eS="clientHeight",eT="clientWidth";eC===n6(eo)&&"static"!==rp(eC=rf(eo)).position&&"absolute"===ef&&(eS="scrollHeight",eT="scrollWidth"),(ec===rO||(ec===rT||ec===rS)&&eu===rI)&&(ej=rC,eb-=(eg&&eC===eO&&eO.visualViewport?eO.visualViewport.height:eC[eS])-ei.height,eb*=eh?1:-1),(ec===rT||(ec===rO||ec===rC)&&eu===rI)&&(eE=rS,ev-=(eg&&eC===eO&&eO.visualViewport?eO.visualViewport.width:eC[eT])-ei.width,ev*=eh?1:-1)}var eA=Object.assign({position:ef},ep&&rQ),eR=!0===em?rJ({x:ev,y:eb},n6(eo)):{x:ev,y:eb};return(ev=eR.x,eb=eR.y,eh)?Object.assign({},eA,((er={})[ej]=e_?"0":"",er[eE]=ek?"0":"",er.transform=1>=(eO.devicePixelRatio||1)?"translate("+ev+"px, "+eb+"px)":"translate3d("+ev+"px, "+eb+"px, 0)",er)):Object.assign({},eA,((en={})[ej]=e_?eb+"px":"",en[eE]=ek?ev+"px":"",en.transform="",en))}function r1(ee,en,er){var eo=rq(ee),ei=[rT,rO].indexOf(eo)>=0?-1:1,ec="function"==typeof er?er(Object.assign({},en,{placement:ee})):er,eu=ec[0],ed=ec[1];return eu=eu||0,ed=(ed||0)*ei,[rT,rS].indexOf(eo)>=0?{x:ed,y:eu}:{x:eu,y:ed}}var r2={left:"right",right:"left",bottom:"top",top:"bottom"};function r5(ee){return ee.replace(/left|right|bottom|top/g,function(ee){return r2[ee]})}var r4={start:"end",end:"start"};function r6(ee){return ee.replace(/start|end/g,function(ee){return r4[ee]})}function r3(ee,en){var er=n6(ee),eo=rf(ee),ei=er.visualViewport,ec=eo.clientWidth,eu=eo.clientHeight,ed=0,ef=0;if(ei){ec=ei.width,eu=ei.height;var eh=ri();(eh||!eh&&"fixed"===en)&&(ed=ei.offsetLeft,ef=ei.offsetTop)}return{width:ec,height:eu,x:ed+rh(ee),y:ef}}function r9(ee){var en,er=rf(ee),eo=rl(ee),ei=null==(en=ee.ownerDocument)?void 0:en.body,ec=n8(er.scrollWidth,er.clientWidth,ei?ei.scrollWidth:0,ei?ei.clientWidth:0),eu=n8(er.scrollHeight,er.clientHeight,ei?ei.scrollHeight:0,ei?ei.clientHeight:0),ed=-eo.scrollLeft+rh(ee),ef=-eo.scrollTop;return"rtl"===rp(ei||er).direction&&(ed+=n8(er.clientWidth,ei?ei.clientWidth:0)-ec),{width:ec,height:eu,x:ed,y:ef}}function r7(ee,en){var er=en.getRootNode&&en.getRootNode();if(ee.contains(en))return!0;if(er&&n7(er)){var eo=en;do{if(eo&&ee.isSameNode(eo))return!0;eo=eo.parentNode||eo.host}while(eo)}return!1}function r8(ee){return Object.assign({},ee,{left:ee.x,top:ee.y,right:ee.x+ee.width,bottom:ee.y+ee.height})}function ot(ee,en){var er=rs(ee,!1,"fixed"===en);return er.top=er.top+ee.clientTop,er.left=er.left+ee.clientLeft,er.bottom=er.top+ee.clientHeight,er.right=er.left+ee.clientWidth,er.width=ee.clientWidth,er.height=ee.clientHeight,er.x=er.left,er.y=er.top,er}function on(ee,en,er){return en===rL?r8(r3(ee,er)):n3(en)?ot(en,er):r8(r9(rf(ee)))}function or(ee){var en=rw(ry(ee)),er=["absolute","fixed"].indexOf(rp(ee).position)>=0&&n9(ee)?rj(ee):ee;return n3(er)?en.filter(function(ee){return n3(ee)&&r7(ee,er)&&"body"!==rd(ee)}):[]}function oo(ee,en,er,eo){var ei=[].concat("clippingParents"===en?or(ee):[].concat(en),[er]),ec=ei[0],eu=ei.reduce(function(en,er){var ei=on(ee,er,eo);return en.top=n8(ei.top,en.top),en.right=rn(ei.right,en.right),en.bottom=rn(ei.bottom,en.bottom),en.left=n8(ei.left,en.left),en},on(ee,ec,eo));return eu.width=eu.right-eu.left,eu.height=eu.bottom-eu.top,eu.x=eu.left,eu.y=eu.top,eu}function oi(){return{top:0,right:0,bottom:0,left:0}}function os(ee){return Object.assign({},oi(),ee)}function ol(ee,en){return en.reduce(function(en,er){return en[er]=ee,en},{})}function oc(ee,en){void 0===en&&(en={});var er=en,eo=er.placement,ei=void 0===eo?ee.placement:eo,ec=er.strategy,eu=void 0===ec?ee.strategy:ec,ed=er.boundary,ef=void 0===ed?rM:ed,eh=er.rootBoundary,ep=void 0===eh?rL:eh,em=er.elementContext,eg=void 0===em?rZ:em,ex=er.altBoundary,ev=void 0!==ex&&ex,ey=er.padding,eb=void 0===ey?0:ey,ew=os("number"!=typeof eb?eb:ol(eb,rR)),ek=eg===rZ?rP:rZ,e_=ee.rects.popper,eE=ee.elements[ev?ek:eg],ej=oo(n3(eE)?eE:eE.contextElement||rf(ee.elements.popper),ef,ep,eu),eO=rs(ee.elements.reference),eC=rY({reference:eO,element:e_,strategy:"absolute",placement:ei}),eS=r8(Object.assign({},e_,eC)),eT=eg===rZ?eS:eO,eA={top:ej.top-eT.top+ew.top,bottom:eT.bottom-ej.bottom+ew.bottom,left:ej.left-eT.left+ew.left,right:eT.right-ej.right+ew.right},eR=ee.modifiersData.offset;if(eg===rZ&&eR){var eN=eR[ei];Object.keys(eA).forEach(function(ee){var en=[rS,rC].indexOf(ee)>=0?1:-1,er=[rO,rC].indexOf(ee)>=0?"y":"x";eA[ee]+=eN[er]*en})}return eA}function ou(ee,en){void 0===en&&(en={});var er=en,eo=er.placement,ei=er.boundary,ec=er.rootBoundary,eu=er.padding,ed=er.flipVariations,ef=er.allowedAutoPlacements,eh=void 0===ef?rz:ef,ep=rX(eo),em=ep?ed?rD:rD.filter(function(ee){return rX(ee)===ep}):rR,eg=em.filter(function(ee){return eh.indexOf(ee)>=0});0===eg.length&&(eg=em);var ex=eg.reduce(function(en,er){return en[er]=oc(ee,{placement:er,boundary:ei,rootBoundary:ec,padding:eu})[rq(er)],en},{});return Object.keys(ex).sort(function(ee,en){return ex[ee]-ex[en]})}function od(ee){if(rq(ee)===rA)return[];var en=r5(ee);return[r6(ee),en,r6(en)]}function of(ee){return"x"===ee?"y":"x"}function oh(ee,en,er){return n8(ee,rn(en,er))}function op(ee,en,er){var eo=oh(ee,en,er);return eo>er?er:eo}var om=function(ee,en){return os("number"!=typeof(ee="function"==typeof ee?ee(Object.assign({},en.rects,{placement:en.placement})):ee)?ee:ol(ee,rR))};function og(ee,en,er){return void 0===er&&(er={x:0,y:0}),{top:ee.top-en.height-er.y,right:ee.right-en.width+er.x,bottom:ee.bottom-en.height+er.y,left:ee.left-en.width-er.x}}function ox(ee){return[rO,rS,rC,rT].some(function(en){return ee[en]>=0})}var ov=function(ee){void 0===ee&&(ee={});var en=ee,er=en.defaultModifiers,eo=void 0===er?[]:er,ei=en.defaultOptions,ec=void 0===ei?r$:ei;return function(ee,en,er){void 0===er&&(er=ec);var ei={placement:"bottom",orderedModifiers:[],options:Object.assign({},r$,ec),modifiersData:{},elements:{reference:ee,popper:en},attributes:{},styles:{}},eu=[],ed=!1,ef={state:ei,setOptions:function(er){var eu="function"==typeof er?er(ei.options):er;ep(),ei.options=Object.assign({},ec,ei.options,eu),ei.scrollParents={reference:n3(ee)?rw(ee):ee.contextElement?rw(ee.contextElement):[],popper:rw(en)};var ed=rB(rG([].concat(eo,ei.options.modifiers)));return ei.orderedModifiers=ed.filter(function(ee){return ee.enabled}),eh(),ef.update()},forceUpdate:function(){if(!ed){var ee=ei.elements,en=ee.reference,er=ee.popper;if(rU(en,er)){ei.rects={reference:rx(en,rj(er),"fixed"===ei.options.strategy),popper:rv(er)},ei.reset=!1,ei.placement=ei.options.placement,ei.orderedModifiers.forEach(function(ee){return ei.modifiersData[ee.name]=Object.assign({},ee.data)});for(var eo=0;eo=0,eM=eI?"width":"height",eL=oc(en,{placement:eA,boundary:ep,rootBoundary:em,altBoundary:eg,padding:eh}),eZ=eI?eN?rS:rT:eN?rC:rO;eE[eM]>ej[eM]&&(eZ=r5(eZ));var eP=r5(eZ),eD=[];if(ec&&eD.push(eL[eR]<=0),ed&&eD.push(eL[eZ]<=0,eL[eP]<=0),eD.every(function(ee){return ee})){eS=eA,eC=!1;break}eO.set(eA,eD)}if(eC)for(var ez=ev?3:1,eF=function(ee){var en=e_.find(function(en){var er=eO.get(en);if(er)return er.slice(0,ee).every(function(ee){return ee})});if(en)return eS=en,"break"},eH=ez;eH>0&&"break"!==eF(eH);eH--);en.placement!==eS&&(en.modifiersData[eo]._skip=!0,en.placement=eS,en.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(ee){var en=ee.state,er=ee.options,eo=ee.name,ei=er.mainAxis,ec=void 0===ei||ei,eu=er.altAxis,ed=void 0!==eu&&eu,ef=er.boundary,eh=er.rootBoundary,ep=er.altBoundary,em=er.padding,eg=er.tether,ex=void 0===eg||eg,ev=er.tetherOffset,ey=void 0===ev?0:ev,eb=oc(en,{boundary:ef,rootBoundary:eh,padding:em,altBoundary:ep}),ew=rq(en.placement),ek=rX(en.placement),e_=!ek,eE=rK(ew),ej=of(eE),eO=en.modifiersData.popperOffsets,eC=en.rects.reference,eS=en.rects.popper,eT="function"==typeof ey?ey(Object.assign({},en.rects,{placement:en.placement})):ey,eA="number"==typeof eT?{mainAxis:eT,altAxis:eT}:Object.assign({mainAxis:0,altAxis:0},eT),eR=en.modifiersData.offset?en.modifiersData.offset[en.placement]:null,eN={x:0,y:0};if(eO){if(ec){var eI,eM="y"===eE?rO:rT,eL="y"===eE?rC:rS,eZ="y"===eE?"height":"width",eP=eO[eE],eD=eP+eb[eM],ez=eP-eb[eL],eF=ex?-eS[eZ]/2:0,eH=ek===rN?eC[eZ]:eS[eZ],eB=ek===rN?-eS[eZ]:-eC[eZ],eW=en.elements.arrow,eG=ex&&eW?rv(eW):{width:0,height:0},e$=en.modifiersData["arrow#persistent"]?en.modifiersData["arrow#persistent"].padding:oi(),eU=e$[eM],eV=e$[eL],eq=oh(0,eC[eZ],eG[eZ]),eX=e_?eC[eZ]/2-eF-eq-eU-eA.mainAxis:eH-eq-eU-eA.mainAxis,eK=e_?-eC[eZ]/2+eF+eq+eV+eA.mainAxis:eB+eq+eV+eA.mainAxis,eY=en.elements.arrow&&rj(en.elements.arrow),eQ=eY?"y"===eE?eY.clientTop||0:eY.clientLeft||0:0,eJ=null!=(eI=null==eR?void 0:eR[eE])?eI:0,e0=eP+eX-eJ-eQ,e1=eP+eK-eJ,e2=oh(ex?rn(eD,e0):eD,eP,ex?n8(ez,e1):ez);eO[eE]=e2,eN[eE]=e2-eP}if(ed){var e5,e4="x"===eE?rO:rT,e6="x"===eE?rC:rS,e3=eO[ej],e9="y"===ej?"height":"width",e7=e3+eb[e4],e8=e3-eb[e6],tn=-1!==[rO,rT].indexOf(ew),tr=null!=(e5=null==eR?void 0:eR[ej])?e5:0,to=tn?e7:e3-eC[e9]-eS[e9]-tr+eA.altAxis,ti=tn?e3+eC[e9]+eS[e9]-tr-eA.altAxis:e8,ts=ex&&tn?op(to,e3,ti):oh(ex?to:e7,e3,ex?ti:e8);eO[ej]=ts,eN[ej]=ts-e3}en.modifiersData[eo]=eN}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(ee){var en,er=ee.state,eo=ee.name,ei=ee.options,ec=er.elements.arrow,eu=er.modifiersData.popperOffsets,ed=rq(er.placement),ef=rK(ed),eh=[rT,rS].indexOf(ed)>=0?"height":"width";if(ec&&eu){var ep=om(ei.padding,er),em=rv(ec),eg="y"===ef?rO:rT,ex="y"===ef?rC:rS,ev=er.rects.reference[eh]+er.rects.reference[ef]-eu[ef]-er.rects.popper[eh],ey=eu[ef]-er.rects.reference[ef],eb=rj(ec),ew=eb?"y"===ef?eb.clientHeight||0:eb.clientWidth||0:0,ek=ev/2-ey/2,e_=ep[eg],eE=ew-em[eh]-ep[ex],ej=ew/2-em[eh]/2+ek,eO=oh(e_,ej,eE),eC=ef;er.modifiersData[eo]=((en={})[eC]=eO,en.centerOffset=eO-ej,en)}},effect:function(ee){var en=ee.state,er=ee.options.element,eo=void 0===er?"[data-popper-arrow]":er;null!=eo&&("string"!=typeof eo||(eo=en.elements.popper.querySelector(eo)))&&r7(en.elements.popper,eo)&&(en.elements.arrow=eo)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(ee){var en=ee.state,er=ee.name,eo=en.rects.reference,ei=en.rects.popper,ec=en.modifiersData.preventOverflow,eu=oc(en,{elementContext:"reference"}),ed=oc(en,{altBoundary:!0}),ef=og(eu,eo),eh=og(ed,ei,ec),ep=ox(ef),em=ox(eh);en.modifiersData[er]={referenceClippingOffsets:ef,popperEscapeOffsets:eh,isReferenceHidden:ep,hasPopperEscaped:em},en.attributes.popper=Object.assign({},en.attributes.popper,{"data-popper-reference-hidden":ep,"data-popper-escaped":em})}}]}),oy=er(89752),ob=er.n(oy);function ow(ee){if("string"!=typeof ee)throw TypeError("Expected a string");return ee.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var o_=er(70222);let oE=(0,eC.createContext)(null);oE.displayName="OpenClosedContext";var oj=((ei=oj||{})[ei.Open=1]="Open",ei[ei.Closed=2]="Closed",ei[ei.Closing=4]="Closing",ei[ei.Opening=8]="Opening",ei);function oO(){return(0,eC.useContext)(oE)}function oC({value:ee,children:en}){return eC.createElement(oE.Provider,{value:ee},en)}var oS=er(23011),oT=er(85782),oA=er(66260),oR=er(19691),oN=er(70674),oI=er(29850);function oM(ee){let en={called:!1};return(...er)=>{if(!en.called)return en.called=!0,ee(...er)}}var oL=er(95012);function oZ(ee,...en){ee&&en.length>0&&ee.classList.add(...en)}function oP(ee,...en){ee&&en.length>0&&ee.classList.remove(...en)}function oD(ee,en){let er=(0,oL.k)();if(!ee)return er.dispose;let{transitionDuration:eo,transitionDelay:ei}=getComputedStyle(ee),[ec,eu]=[eo,ei].map(ee=>{let[en=0]=ee.split(",").filter(Boolean).map(ee=>ee.includes("ms")?parseFloat(ee):1e3*parseFloat(ee)).sort((ee,en)=>en-ee);return en}),ed=ec+eu;if(0!==ed){er.group(er=>{er.setTimeout(()=>{en(),er.dispose()},ed),er.addEventListener(ee,"transitionrun",ee=>{ee.target===ee.currentTarget&&er.dispose()})});let eo=er.addEventListener(ee,"transitionend",ee=>{ee.target===ee.currentTarget&&(en(),eo())})}else en();return er.add(()=>en()),er.dispose}function oz(ee,en,er,eo){let ei=er?"enter":"leave",ec=(0,oL.k)(),eu=void 0!==eo?oM(eo):()=>{};"enter"===ei&&(ee.removeAttribute("hidden"),ee.style.display="");let ed=(0,oS.E)(ei,{enter:()=>en.enter,leave:()=>en.leave}),ef=(0,oS.E)(ei,{enter:()=>en.enterTo,leave:()=>en.leaveTo}),eh=(0,oS.E)(ei,{enter:()=>en.enterFrom,leave:()=>en.leaveFrom});return oP(ee,...en.base,...en.enter,...en.enterTo,...en.enterFrom,...en.leave,...en.leaveFrom,...en.leaveTo,...en.entered),oZ(ee,...en.base,...ed,...eh),ec.nextFrame(()=>{oP(ee,...en.base,...ed,...eh),oZ(ee,...en.base,...ed,...ef),oD(ee,()=>(oP(ee,...en.base,...ed),oZ(ee,...en.base,...en.entered),eu()))}),ec.dispose}function oF(){let[ee]=(0,eC.useState)(oL.k);return(0,eC.useEffect)(()=>()=>ee.dispose(),[ee]),ee}function oH({immediate:ee,container:en,direction:er,classes:eo,onStart:ei,onStop:ec}){let eu=(0,oT.t)(),ed=oF(),ef=(0,oR.E)(er);(0,oA.e)(()=>{ee&&(ef.current="enter")},[ee]),(0,oA.e)(()=>{let ee=(0,oL.k)();ed.add(ee.dispose);let er=en.current;if(er&&"idle"!==ef.current&&eu.current)return ee.dispose(),ei.current(ef.current),ee.add(oz(er,eo.current,"enter"===ef.current,()=>{ee.dispose(),ec.current(ef.current)})),ee.dispose},[er])}var oB=er(26510),oW=er(43659);function oG(ee=0){let[en,er]=(0,eC.useState)(ee),eo=(0,oT.t)(),ei=(0,eC.useCallback)(ee=>{eo.current&&er(en=>en|ee)},[en,eo]),ec=(0,eC.useCallback)(ee=>!!(en&ee),[en]);return{flags:en,addFlag:ei,hasFlag:ec,removeFlag:(0,eC.useCallback)(ee=>{eo.current&&er(en=>en&~ee)},[er,eo]),toggleFlag:(0,eC.useCallback)(ee=>{eo.current&&er(en=>en^ee)},[er])}}function o$(ee=""){return ee.split(" ").filter(ee=>ee.trim().length>1)}let oU=(0,eC.createContext)(null);oU.displayName="TransitionContext";var oV=((ec=oV||{}).Visible="visible",ec.Hidden="hidden",ec);function oq(){let ee=(0,eC.useContext)(oU);if(null===ee)throw Error("A is used but it is missing a parent or .");return ee}function oX(){let ee=(0,eC.useContext)(oK);if(null===ee)throw Error("A is used but it is missing a parent or .");return ee}let oK=(0,eC.createContext)(null);function oY(ee){return"children"in ee?oY(ee.children):ee.current.filter(({el:ee})=>null!==ee.current).filter(({state:ee})=>"visible"===ee).length>0}function oQ(ee,en){let er=(0,oR.E)(ee),eo=(0,eC.useRef)([]),ei=(0,oT.t)(),ec=oF(),eu=(0,oB.z)((ee,en=o_.l4.Hidden)=>{let eu=eo.current.findIndex(({el:en})=>en===ee);-1!==eu&&((0,oS.E)(en,{[o_.l4.Unmount](){eo.current.splice(eu,1)},[o_.l4.Hidden](){eo.current[eu].state="hidden"}}),ec.microTask(()=>{var ee;!oY(eo)&&ei.current&&(null==(ee=er.current)||ee.call(er))}))}),ed=(0,oB.z)(ee=>{let en=eo.current.find(({el:en})=>en===ee);return en?"visible"!==en.state&&(en.state="visible"):eo.current.push({el:ee,state:"visible"}),()=>eu(ee,o_.l4.Unmount)}),ef=(0,eC.useRef)([]),eh=(0,eC.useRef)(Promise.resolve()),ep=(0,eC.useRef)({enter:[],leave:[],idle:[]}),em=(0,oB.z)((ee,er,eo)=>{ef.current.splice(0),en&&(en.chains.current[er]=en.chains.current[er].filter(([en])=>en!==ee)),null==en||en.chains.current[er].push([ee,new Promise(ee=>{ef.current.push(ee)})]),null==en||en.chains.current[er].push([ee,new Promise(ee=>{Promise.all(ep.current[er].map(([ee,en])=>en)).then(()=>ee())})]),"enter"===er?eh.current=eh.current.then(()=>null==en?void 0:en.wait.current).then(()=>eo(er)):eo(er)}),eg=(0,oB.z)((ee,en,er)=>{Promise.all(ep.current[en].splice(0).map(([ee,en])=>en)).then(()=>{var ee;null==(ee=ef.current.shift())||ee()}).then(()=>er(en))});return(0,eC.useMemo)(()=>({children:eo,register:ed,unregister:eu,onStart:em,onStop:eg,wait:eh,chains:ep}),[ed,eu,eo,em,eg,ep,eh])}function oJ(){}oK.displayName="NestingContext";let o0=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function o1(ee){var en;let er={};for(let eo of o0)er[eo]=null!=(en=ee[eo])?en:oJ;return er}function o2(ee){let en=(0,eC.useRef)(o1(ee));return(0,eC.useEffect)(()=>{en.current=o1(ee)},[ee]),en}let o5="div",o4=o_.AN.RenderStrategy;function o6(ee,en){var er,eo;let{beforeEnter:ei,afterEnter:ec,beforeLeave:eu,afterLeave:ed,enter:ef,enterFrom:eh,enterTo:ep,entered:em,leave:eg,leaveFrom:ex,leaveTo:ev,...ey}=ee,eb=(0,eC.useRef)(null),ew=(0,oI.T)(eb,en),ek=null==(er=ey.unmount)||er?o_.l4.Unmount:o_.l4.Hidden,{show:e_,appear:eE,initial:ej}=oq(),[eO,eS]=(0,eC.useState)(e_?"visible":"hidden"),eT=oX(),{register:eA,unregister:eR}=eT;(0,eC.useEffect)(()=>eA(eb),[eA,eb]),(0,eC.useEffect)(()=>{if(ek===o_.l4.Hidden&&eb.current){if(e_&&"visible"!==eO){eS("visible");return}return(0,oS.E)(eO,{hidden:()=>eR(eb),visible:()=>eA(eb)})}},[eO,eb,eA,eR,e_,ek]);let eN=(0,oR.E)({base:o$(ey.className),enter:o$(ef),enterFrom:o$(eh),enterTo:o$(ep),entered:o$(em),leave:o$(eg),leaveFrom:o$(ex),leaveTo:o$(ev)}),eI=o2({beforeEnter:ei,afterEnter:ec,beforeLeave:eu,afterLeave:ed}),eM=(0,oN.H)();(0,eC.useEffect)(()=>{if(eM&&"visible"===eO&&null===eb.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[eb,eO,eM]);let eL=ej&&!eE,eZ=eE&&e_&&ej,eP=!eM||eL?"idle":e_?"enter":"leave",eD=oG(0),ez=(0,oB.z)(ee=>(0,oS.E)(ee,{enter:()=>{eD.addFlag(oj.Opening),eI.current.beforeEnter()},leave:()=>{eD.addFlag(oj.Closing),eI.current.beforeLeave()},idle:()=>{}})),eF=(0,oB.z)(ee=>(0,oS.E)(ee,{enter:()=>{eD.removeFlag(oj.Opening),eI.current.afterEnter()},leave:()=>{eD.removeFlag(oj.Closing),eI.current.afterLeave()},idle:()=>{}})),eH=oQ(()=>{eS("hidden"),eR(eb)},eT);oH({immediate:eZ,container:eb,classes:eN,direction:eP,onStart:(0,oR.E)(ee=>{eH.onStart(eb,ee,ez)}),onStop:(0,oR.E)(ee=>{eH.onStop(eb,ee,eF),"leave"!==ee||oY(eH)||(eS("hidden"),eR(eb))})});let eB=ey,eW={ref:ew};return eZ?eB={...eB,className:(0,oW.A)(ey.className,...eN.current.enter,...eN.current.enterFrom)}:(eB.className=(0,oW.A)(ey.className,null==(eo=eb.current)?void 0:eo.className),""===eB.className&&delete eB.className),eC.createElement(oK.Provider,{value:eH},eC.createElement(oC,{value:(0,oS.E)(eO,{visible:oj.Open,hidden:oj.Closed})|eD.flags},(0,o_.sY)({ourProps:eW,theirProps:eB,defaultTag:o5,features:o4,visible:"visible"===eO,name:"Transition.Child"})))}function o3(ee,en){let{show:er,appear:eo=!1,unmount:ei=!0,...ec}=ee,eu=(0,eC.useRef)(null),ed=(0,oI.T)(eu,en);(0,oN.H)();let ef=oO();if(void 0===er&&null!==ef&&(er=(ef&oj.Open)===oj.Open),![!0,!1].includes(er))throw Error("A is used but it is missing a `show={true | false}` prop.");let[eh,ep]=(0,eC.useState)(er?"visible":"hidden"),em=oQ(()=>{ep("hidden")}),[eg,ex]=(0,eC.useState)(!0),ev=(0,eC.useRef)([er]);(0,oA.e)(()=>{!1!==eg&&ev.current[ev.current.length-1]!==er&&(ev.current.push(er),ex(!1))},[ev,er]);let ey=(0,eC.useMemo)(()=>({show:er,appear:eo,initial:eg}),[er,eo,eg]);(0,eC.useEffect)(()=>{if(er)ep("visible");else if(oY(em)){let ee=eu.current;if(!ee)return;let en=ee.getBoundingClientRect();0===en.x&&0===en.y&&0===en.width&&0===en.height&&ep("hidden")}else ep("hidden")},[er,em]);let eb={unmount:ei},ew=(0,oB.z)(()=>{var en;eg&&ex(!1),null==(en=ee.beforeEnter)||en.call(ee)}),ek=(0,oB.z)(()=>{var en;eg&&ex(!1),null==(en=ee.beforeLeave)||en.call(ee)});return eC.createElement(oK.Provider,{value:em},eC.createElement(oU.Provider,{value:ey},(0,o_.sY)({ourProps:{...eb,as:eC.Fragment,children:eC.createElement(o8,{ref:ed,...eb,...ec,beforeEnter:ew,beforeLeave:ek})},theirProps:{},defaultTag:eC.Fragment,features:o4,visible:"visible"===eh,name:"Transition"})))}function o9(ee,en){let er=null!==(0,eC.useContext)(oU),eo=null!==oO();return eC.createElement(eC.Fragment,null,!er&&eo?eC.createElement(o7,{ref:en,...ee}):eC.createElement(o8,{ref:en,...ee}))}let o7=(0,o_.yV)(o3),o8=(0,o_.yV)(o6),it=Object.assign(o7,{Child:(0,o_.yV)(o9),Root:o7});var ir=er(1751),io=er(49038);function ii(ee,en){let[er,eo]=(0,eC.useState)(ee),ei=(0,oR.E)(ee);return(0,oA.e)(()=>eo(ei.current),[ei,eo,...en]),er}var is=er(8246);function il(ee){throw Error("Unexpected object: "+ee)}var ic=((eu=ic||{})[eu.First=0]="First",eu[eu.Previous=1]="Previous",eu[eu.Next=2]="Next",eu[eu.Last=3]="Last",eu[eu.Specific=4]="Specific",eu[eu.Nothing=5]="Nothing",eu);function iu(ee,en){let er=en.resolveItems();if(er.length<=0)return null;let eo=en.resolveActiveIndex(),ei=null!=eo?eo:-1,ec=(()=>{switch(ee.focus){case 0:return er.findIndex(ee=>!en.resolveDisabled(ee));case 1:{let ee=er.slice().reverse().findIndex((ee,er,eo)=>(-1===ei||!(eo.length-er-1>=ei))&&!en.resolveDisabled(ee));return -1===ee?ee:er.length-1-ee}case 2:return er.findIndex((ee,er)=>!(er<=ei)&&!en.resolveDisabled(ee));case 3:{let ee=er.slice().reverse().findIndex(ee=>!en.resolveDisabled(ee));return -1===ee?ee:er.length-1-ee}case 4:return er.findIndex(er=>en.resolveId(er)===ee.id);case 5:return null;default:il(ee)}})();return -1===ec?eo:ec}function ih(ee){let en=ee.parentElement,er=null;for(;en&&!(en instanceof HTMLFieldSetElement);)en instanceof HTMLLegendElement&&(er=en),en=en.parentElement;let eo=(null==en?void 0:en.getAttribute("disabled"))==="";return!(eo&&im(er))&&eo}function im(ee){if(!ee)return!1;let en=ee.previousElementSibling;for(;null!==en;){if(en instanceof HTMLLegendElement)return!1;en=en.previousElementSibling}return!0}var ig=er(47496),ix=er(58002);function iv(ee,en,er){let eo=(0,oR.E)(en);(0,eC.useEffect)(()=>{function en(ee){eo.current(ee)}return document.addEventListener(ee,en,er),()=>document.removeEventListener(ee,en,er)},[ee,er])}function iy(ee,en,er){let eo=(0,oR.E)(en);(0,eC.useEffect)(()=>{function en(ee){eo.current(ee)}return window.addEventListener(ee,en,er),()=>window.removeEventListener(ee,en,er)},[ee,er])}function ib(ee,en,er=!0){let eo=(0,eC.useRef)(!1);function ei(er,ei){if(!eo.current||er.defaultPrevented)return;let ec=ei(er);if(null!==ec&&ec.getRootNode().contains(ec)&&ec.isConnected){for(let en of function ee(en){return"function"==typeof en?ee(en()):Array.isArray(en)||en instanceof Set?en:[en]}(ee)){if(null===en)continue;let ee=en instanceof HTMLElement?en:en.current;if(null!=ee&&ee.contains(ec)||er.composed&&er.composedPath().includes(ee))return}return(0,ig.sP)(ec,ig.tJ.Loose)||-1===ec.tabIndex||er.preventDefault(),en(er,ec)}}(0,eC.useEffect)(()=>{requestAnimationFrame(()=>{eo.current=er})},[er]);let ec=(0,eC.useRef)(null);iv("pointerdown",ee=>{var en,er;eo.current&&(ec.current=(null==(er=null==(en=ee.composedPath)?void 0:en.call(ee))?void 0:er[0])||ee.target)},!0),iv("mousedown",ee=>{var en,er;eo.current&&(ec.current=(null==(er=null==(en=ee.composedPath)?void 0:en.call(ee))?void 0:er[0])||ee.target)},!0),iv("click",ee=>{ec.current&&(ei(ee,()=>ec.current),ec.current=null)},!0),iv("touchend",ee=>ei(ee,()=>ee.target instanceof HTMLElement?ee.target:null),!0),iy("blur",ee=>ei(ee,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}var iw=er(91941);function ik(ee={},en=null,er=[]){for(let[eo,ei]of Object.entries(ee))iE(er,i_(en,eo),ei);return er}function i_(ee,en){return ee?ee+"["+en+"]":en}function iE(ee,en,er){if(Array.isArray(er))for(let[eo,ei]of er.entries())iE(ee,i_(en,eo.toString()),ei);else er instanceof Date?ee.push([en,er.toISOString()]):"boolean"==typeof er?ee.push([en,er?"1":"0"]):"string"==typeof er?ee.push([en,er]):"number"==typeof er?ee.push([en,`${er}`]):null==er?ee.push([en,""]):ik(er,en,ee)}var ij=er(19195);function iO(ee,en,er){let[eo,ei]=(0,eC.useState)(er),ec=void 0!==ee,eu=(0,eC.useRef)(ec),ed=(0,eC.useRef)(!1),ef=(0,eC.useRef)(!1);return!ec||eu.current||ed.current?ec||!eu.current||ef.current||(ef.current=!0,eu.current=ec,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(ed.current=!0,eu.current=ec,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[ec?ee:eo,(0,oB.z)(ee=>(ec||ei(ee),null==en?void 0:en(ee)))]}function iC(ee){return[ee.screenX,ee.screenY]}function iS(){let ee=(0,eC.useRef)([-1,-1]);return{wasMoved(en){let er=iC(en);return(ee.current[0]!==er[0]||ee.current[1]!==er[1])&&(ee.current=er,!0)},update(en){ee.current=iC(en)}}}let iT=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function iA(ee){var en,er;let eo=null!=(en=ee.innerText)?en:"",ei=ee.cloneNode(!0);if(!(ei instanceof HTMLElement))return eo;let ec=!1;for(let ee of ei.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))ee.remove(),ec=!0;let eu=ec?null!=(er=ei.innerText)?er:"":eo;return iT.test(eu)&&(eu=eu.replace(iT,"")),eu}function iR(ee){let en=ee.getAttribute("aria-label");if("string"==typeof en)return en.trim();let er=ee.getAttribute("aria-labelledby");if(er){let ee=er.split(" ").map(ee=>{let en=document.getElementById(ee);if(en){let ee=en.getAttribute("aria-label");return"string"==typeof ee?ee.trim():iA(en).trim()}return null}).filter(Boolean);if(ee.length>0)return ee.join(", ")}return iA(ee).trim()}function iN(ee){let en=(0,eC.useRef)(""),er=(0,eC.useRef)("");return(0,oB.z)(()=>{let eo=ee.current;if(!eo)return"";let ei=eo.innerText;if(en.current===ei)return er.current;let ec=iR(eo).trim().toLowerCase();return en.current=ei,er.current=ec,ec})}var iI=((ed=iI||{})[ed.Open=0]="Open",ed[ed.Closed=1]="Closed",ed),iM=((ef=iM||{})[ef.Single=0]="Single",ef[ef.Multi=1]="Multi",ef),iL=((eh=iL||{})[eh.Pointer=0]="Pointer",eh[eh.Other=1]="Other",eh),iZ=((ep=iZ||{})[ep.OpenListbox=0]="OpenListbox",ep[ep.CloseListbox=1]="CloseListbox",ep[ep.GoToOption=2]="GoToOption",ep[ep.Search=3]="Search",ep[ep.ClearSearch=4]="ClearSearch",ep[ep.RegisterOption=5]="RegisterOption",ep[ep.UnregisterOption=6]="UnregisterOption",ep[ep.RegisterLabel=7]="RegisterLabel",ep);function iP(ee,en=ee=>ee){let er=null!==ee.activeOptionIndex?ee.options[ee.activeOptionIndex]:null,eo=(0,ig.z2)(en(ee.options.slice()),ee=>ee.dataRef.current.domRef.current),ei=er?eo.indexOf(er):null;return -1===ei&&(ei=null),{options:eo,activeOptionIndex:ei}}let iD={1:ee=>ee.dataRef.current.disabled||1===ee.listboxState?ee:{...ee,activeOptionIndex:null,listboxState:1},0(ee){if(ee.dataRef.current.disabled||0===ee.listboxState)return ee;let en=ee.activeOptionIndex,{isSelected:er}=ee.dataRef.current,eo=ee.options.findIndex(ee=>er(ee.dataRef.current.value));return -1!==eo&&(en=eo),{...ee,listboxState:0,activeOptionIndex:en}},2(ee,en){var er;if(ee.dataRef.current.disabled||1===ee.listboxState)return ee;let eo=iP(ee),ei=iu(en,{resolveItems:()=>eo.options,resolveActiveIndex:()=>eo.activeOptionIndex,resolveId:ee=>ee.id,resolveDisabled:ee=>ee.dataRef.current.disabled});return{...ee,...eo,searchQuery:"",activeOptionIndex:ei,activationTrigger:null!=(er=en.trigger)?er:1}},3:(ee,en)=>{if(ee.dataRef.current.disabled||1===ee.listboxState)return ee;let er=""!==ee.searchQuery?0:1,eo=ee.searchQuery+en.value.toLowerCase(),ei=(null!==ee.activeOptionIndex?ee.options.slice(ee.activeOptionIndex+er).concat(ee.options.slice(0,ee.activeOptionIndex+er)):ee.options).find(ee=>{var en;return!ee.dataRef.current.disabled&&(null==(en=ee.dataRef.current.textValue)?void 0:en.startsWith(eo))}),ec=ei?ee.options.indexOf(ei):-1;return -1===ec||ec===ee.activeOptionIndex?{...ee,searchQuery:eo}:{...ee,searchQuery:eo,activeOptionIndex:ec,activationTrigger:1}},4:ee=>ee.dataRef.current.disabled||1===ee.listboxState||""===ee.searchQuery?ee:{...ee,searchQuery:""},5:(ee,en)=>{let er={id:en.id,dataRef:en.dataRef},eo=iP(ee,ee=>[...ee,er]);return null===ee.activeOptionIndex&&ee.dataRef.current.isSelected(en.dataRef.current.value)&&(eo.activeOptionIndex=eo.options.indexOf(er)),{...ee,...eo}},6:(ee,en)=>{let er=iP(ee,ee=>{let er=ee.findIndex(ee=>ee.id===en.id);return -1!==er&&ee.splice(er,1),ee});return{...ee,...er,activationTrigger:1}},7:(ee,en)=>({...ee,labelId:en.id})},iz=(0,eC.createContext)(null);function iF(ee){let en=(0,eC.useContext)(iz);if(null===en){let en=Error(`<${ee} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(en,iF),en}return en}iz.displayName="ListboxActionsContext";let iH=(0,eC.createContext)(null);function iB(ee){let en=(0,eC.useContext)(iH);if(null===en){let en=Error(`<${ee} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(en,iB),en}return en}function iW(ee,en){return(0,oS.E)(en.type,iD,ee,en)}iH.displayName="ListboxDataContext";let iG=eC.Fragment;function i$(ee,en){let{value:er,defaultValue:eo,form:ei,name:ec,onChange:eu,by:ed=(ee,en)=>ee===en,disabled:ef=!1,horizontal:eh=!1,multiple:ep=!1,...em}=ee,eg=eh?"horizontal":"vertical",ex=(0,oI.T)(en),[ev=ep?[]:void 0,ey]=iO(er,eu,eo),[eb,ew]=(0,eC.useReducer)(iW,{dataRef:(0,eC.createRef)(),listboxState:1,options:[],searchQuery:"",labelId:null,activeOptionIndex:null,activationTrigger:1}),ek=(0,eC.useRef)({static:!1,hold:!1}),e_=(0,eC.useRef)(null),eE=(0,eC.useRef)(null),ej=(0,eC.useRef)(null),eO=(0,oB.z)("string"==typeof ed?(ee,en)=>{let er=ed;return(null==ee?void 0:ee[er])===(null==en?void 0:en[er])}:ed),eS=(0,eC.useCallback)(ee=>(0,oS.E)(eT.mode,{1:()=>ev.some(en=>eO(en,ee)),0:()=>eO(ev,ee)}),[ev]),eT=(0,eC.useMemo)(()=>({...eb,value:ev,disabled:ef,mode:ep?1:0,orientation:eg,compare:eO,isSelected:eS,optionsPropsRef:ek,labelRef:e_,buttonRef:eE,optionsRef:ej}),[ev,ef,ep,eb]);(0,oA.e)(()=>{eb.dataRef.current=eT},[eT]),ib([eT.buttonRef,eT.optionsRef],(ee,en)=>{var er;ew({type:1}),(0,ig.sP)(en,ig.tJ.Loose)||(ee.preventDefault(),null==(er=eT.buttonRef.current)||er.focus())},0===eT.listboxState);let eA=(0,eC.useMemo)(()=>({open:0===eT.listboxState,disabled:ef,value:ev}),[eT,ef,ev]),eR=(0,oB.z)(ee=>{let en=eT.options.find(en=>en.id===ee);en&&eD(en.dataRef.current.value)}),eN=(0,oB.z)(()=>{if(null!==eT.activeOptionIndex){let{dataRef:ee,id:en}=eT.options[eT.activeOptionIndex];eD(ee.current.value),ew({type:2,focus:ic.Specific,id:en})}}),eI=(0,oB.z)(()=>ew({type:0})),eM=(0,oB.z)(()=>ew({type:1})),eL=(0,oB.z)((ee,en,er)=>ee===ic.Specific?ew({type:2,focus:ic.Specific,id:en,trigger:er}):ew({type:2,focus:ee,trigger:er})),eZ=(0,oB.z)((ee,en)=>(ew({type:5,id:ee,dataRef:en}),()=>ew({type:6,id:ee}))),eP=(0,oB.z)(ee=>(ew({type:7,id:ee}),()=>ew({type:7,id:null}))),eD=(0,oB.z)(ee=>(0,oS.E)(eT.mode,{0:()=>null==ey?void 0:ey(ee),1(){let en=eT.value.slice(),er=en.findIndex(en=>eO(en,ee));return -1===er?en.push(ee):en.splice(er,1),null==ey?void 0:ey(en)}})),ez=(0,oB.z)(ee=>ew({type:3,value:ee})),eF=(0,oB.z)(()=>ew({type:4})),eH=(0,eC.useMemo)(()=>({onChange:eD,registerOption:eZ,registerLabel:eP,goToOption:eL,closeListbox:eM,openListbox:eI,selectActiveOption:eN,selectOption:eR,search:ez,clearSearch:eF}),[]),eB={ref:ex},eW=(0,eC.useRef)(null),eG=oF();return(0,eC.useEffect)(()=>{eW.current&&void 0!==eo&&eG.addEventListener(eW.current,"reset",()=>{null==ey||ey(eo)})},[eW,ey]),eC.createElement(iz.Provider,{value:eH},eC.createElement(iH.Provider,{value:eT},eC.createElement(oC,{value:(0,oS.E)(eT.listboxState,{0:oj.Open,1:oj.Closed})},null!=ec&&null!=ev&&ik({[ec]:ev}).map(([ee,en],er)=>eC.createElement(iw._,{features:iw.A.Hidden,ref:0===er?ee=>{var en;eW.current=null!=(en=null==ee?void 0:ee.closest("form"))?en:null}:void 0,...(0,o_.oA)({key:ee,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:ei,name:ee,value:en})})),(0,o_.sY)({ourProps:eB,theirProps:em,slot:eA,defaultTag:iG,name:"Listbox"}))))}let iU="button";function iV(ee,en){var er;let eo=(0,io.M)(),{id:ei=`headlessui-listbox-button-${eo}`,...ec}=ee,eu=iB("Listbox.Button"),ed=iF("Listbox.Button"),ef=(0,oI.T)(eu.buttonRef,en),eh=oF(),ep=(0,oB.z)(ee=>{switch(ee.key){case is.R.Space:case is.R.Enter:case is.R.ArrowDown:ee.preventDefault(),ed.openListbox(),eh.nextFrame(()=>{eu.value||ed.goToOption(ic.First)});break;case is.R.ArrowUp:ee.preventDefault(),ed.openListbox(),eh.nextFrame(()=>{eu.value||ed.goToOption(ic.Last)})}}),em=(0,oB.z)(ee=>{ee.key===is.R.Space&&ee.preventDefault()}),eg=(0,oB.z)(ee=>{if(ih(ee.currentTarget))return ee.preventDefault();0===eu.listboxState?(ed.closeListbox(),eh.nextFrame(()=>{var ee;return null==(ee=eu.buttonRef.current)?void 0:ee.focus({preventScroll:!0})})):(ee.preventDefault(),ed.openListbox())}),ex=ii(()=>{if(eu.labelId)return[eu.labelId,ei].join(" ")},[eu.labelId,ei]),ev=(0,eC.useMemo)(()=>({open:0===eu.listboxState,disabled:eu.disabled,value:eu.value}),[eu]),ey={ref:ef,id:ei,type:(0,ix.f)(ee,eu.buttonRef),"aria-haspopup":"listbox","aria-controls":null==(er=eu.optionsRef.current)?void 0:er.id,"aria-expanded":0===eu.listboxState,"aria-labelledby":ex,disabled:eu.disabled,onKeyDown:ep,onKeyUp:em,onClick:eg};return(0,o_.sY)({ourProps:ey,theirProps:ec,slot:ev,defaultTag:iU,name:"Listbox.Button"})}let iq="label";function iX(ee,en){let er=(0,io.M)(),{id:eo=`headlessui-listbox-label-${er}`,...ei}=ee,ec=iB("Listbox.Label"),eu=iF("Listbox.Label"),ed=(0,oI.T)(ec.labelRef,en);(0,oA.e)(()=>eu.registerLabel(eo),[eo]);let ef=(0,oB.z)(()=>{var ee;return null==(ee=ec.buttonRef.current)?void 0:ee.focus({preventScroll:!0})}),eh=(0,eC.useMemo)(()=>({open:0===ec.listboxState,disabled:ec.disabled}),[ec]);return(0,o_.sY)({ourProps:{ref:ed,id:eo,onClick:ef},theirProps:ei,slot:eh,defaultTag:iq,name:"Listbox.Label"})}let iK="ul",iY=o_.AN.RenderStrategy|o_.AN.Static;function iQ(ee,en){var er;let eo=(0,io.M)(),{id:ei=`headlessui-listbox-options-${eo}`,...ec}=ee,eu=iB("Listbox.Options"),ed=iF("Listbox.Options"),ef=(0,oI.T)(eu.optionsRef,en),eh=oF(),ep=oF(),em=oO(),eg=null!==em?(em&oj.Open)===oj.Open:0===eu.listboxState;(0,eC.useEffect)(()=>{var ee;let en=eu.optionsRef.current;en&&0===eu.listboxState&&en!==(null==(ee=(0,ij.r)(en))?void 0:ee.activeElement)&&en.focus({preventScroll:!0})},[eu.listboxState,eu.optionsRef]);let ex=(0,oB.z)(ee=>{switch(ep.dispose(),ee.key){case is.R.Space:if(""!==eu.searchQuery)return ee.preventDefault(),ee.stopPropagation(),ed.search(ee.key);case is.R.Enter:if(ee.preventDefault(),ee.stopPropagation(),null!==eu.activeOptionIndex){let{dataRef:ee}=eu.options[eu.activeOptionIndex];ed.onChange(ee.current.value)}0===eu.mode&&(ed.closeListbox(),(0,oL.k)().nextFrame(()=>{var ee;return null==(ee=eu.buttonRef.current)?void 0:ee.focus({preventScroll:!0})}));break;case(0,oS.E)(eu.orientation,{vertical:is.R.ArrowDown,horizontal:is.R.ArrowRight}):return ee.preventDefault(),ee.stopPropagation(),ed.goToOption(ic.Next);case(0,oS.E)(eu.orientation,{vertical:is.R.ArrowUp,horizontal:is.R.ArrowLeft}):return ee.preventDefault(),ee.stopPropagation(),ed.goToOption(ic.Previous);case is.R.Home:case is.R.PageUp:return ee.preventDefault(),ee.stopPropagation(),ed.goToOption(ic.First);case is.R.End:case is.R.PageDown:return ee.preventDefault(),ee.stopPropagation(),ed.goToOption(ic.Last);case is.R.Escape:return ee.preventDefault(),ee.stopPropagation(),ed.closeListbox(),eh.nextFrame(()=>{var ee;return null==(ee=eu.buttonRef.current)?void 0:ee.focus({preventScroll:!0})});case is.R.Tab:ee.preventDefault(),ee.stopPropagation();break;default:1===ee.key.length&&(ed.search(ee.key),ep.setTimeout(()=>ed.clearSearch(),350))}}),ev=ii(()=>{var ee,en,er;return null!=(er=null==(ee=eu.labelRef.current)?void 0:ee.id)?er:null==(en=eu.buttonRef.current)?void 0:en.id},[eu.labelRef.current,eu.buttonRef.current]),ey=(0,eC.useMemo)(()=>({open:0===eu.listboxState}),[eu]),eb={"aria-activedescendant":null===eu.activeOptionIndex||null==(er=eu.options[eu.activeOptionIndex])?void 0:er.id,"aria-multiselectable":1===eu.mode||void 0,"aria-labelledby":ev,"aria-orientation":eu.orientation,id:ei,onKeyDown:ex,role:"listbox",tabIndex:0,ref:ef};return(0,o_.sY)({ourProps:eb,theirProps:ec,slot:ey,defaultTag:iK,features:iY,visible:eg,name:"Listbox.Options"})}let iJ="li";function i0(ee,en){let er=(0,io.M)(),{id:eo=`headlessui-listbox-option-${er}`,disabled:ei=!1,value:ec,...eu}=ee,ed=iB("Listbox.Option"),ef=iF("Listbox.Option"),eh=null!==ed.activeOptionIndex&&ed.options[ed.activeOptionIndex].id===eo,ep=ed.isSelected(ec),em=(0,eC.useRef)(null),eg=iN(em),ex=(0,oR.E)({disabled:ei,value:ec,domRef:em,get textValue(){return eg()}}),ev=(0,oI.T)(en,em);(0,oA.e)(()=>{if(0!==ed.listboxState||!eh||0===ed.activationTrigger)return;let ee=(0,oL.k)();return ee.requestAnimationFrame(()=>{var ee,en;null==(en=null==(ee=em.current)?void 0:ee.scrollIntoView)||en.call(ee,{block:"nearest"})}),ee.dispose},[em,eh,ed.listboxState,ed.activationTrigger,ed.activeOptionIndex]),(0,oA.e)(()=>ef.registerOption(eo,ex),[ex,eo]);let ey=(0,oB.z)(ee=>{if(ei)return ee.preventDefault();ef.onChange(ec),0===ed.mode&&(ef.closeListbox(),(0,oL.k)().nextFrame(()=>{var ee;return null==(ee=ed.buttonRef.current)?void 0:ee.focus({preventScroll:!0})}))}),eb=(0,oB.z)(()=>{if(ei)return ef.goToOption(ic.Nothing);ef.goToOption(ic.Specific,eo)}),ew=iS(),ek=(0,oB.z)(ee=>ew.update(ee)),e_=(0,oB.z)(ee=>{ew.wasMoved(ee)&&(ei||eh||ef.goToOption(ic.Specific,eo,0))}),eE=(0,oB.z)(ee=>{ew.wasMoved(ee)&&(ei||eh&&ef.goToOption(ic.Nothing))}),ej=(0,eC.useMemo)(()=>({active:eh,selected:ep,disabled:ei}),[eh,ep,ei]);return(0,o_.sY)({ourProps:{id:eo,ref:ev,role:"option",tabIndex:!0===ei?void 0:-1,"aria-disabled":!0===ei||void 0,"aria-selected":ep,disabled:void 0,onClick:ey,onFocus:eb,onPointerEnter:ek,onMouseEnter:ek,onPointerMove:e_,onMouseMove:e_,onPointerLeave:eE,onMouseLeave:eE},theirProps:eu,slot:ej,defaultTag:iJ,name:"Listbox.Option"})}let i1=Object.assign((0,o_.yV)(i$),{Button:(0,o_.yV)(iV),Label:(0,o_.yV)(iX),Options:(0,o_.yV)(iQ),Option:(0,o_.yV)(i0)});var i2=er(10422),i5=er(90878),i4=er.n(i5);function i6(){return(i6=Object.assign?Object.assign.bind():function(ee){for(var en=1;en=0||(ei[er]=ee[er]);return ei}var i9=["keyOverride"],i7=["crossOrigin"],i8={templateTitle:"",noindex:!1,nofollow:!1,norobots:!1,defaultOpenGraphImageWidth:0,defaultOpenGraphImageHeight:0,defaultOpenGraphVideoWidth:0,defaultOpenGraphVideoHeight:0},at=function(ee,en,er){void 0===en&&(en=[]);var eo=void 0===er?{}:er,ei=eo.defaultWidth,ec=eo.defaultHeight;return en.reduce(function(en,er,eo){return en.push(eC.createElement("meta",{key:"og:"+ee+":0"+eo,property:"og:"+ee,content:er.url})),er.alt&&en.push(eC.createElement("meta",{key:"og:"+ee+":alt0"+eo,property:"og:"+ee+":alt",content:er.alt})),er.secureUrl&&en.push(eC.createElement("meta",{key:"og:"+ee+":secure_url0"+eo,property:"og:"+ee+":secure_url",content:er.secureUrl.toString()})),er.type&&en.push(eC.createElement("meta",{key:"og:"+ee+":type0"+eo,property:"og:"+ee+":type",content:er.type.toString()})),er.width?en.push(eC.createElement("meta",{key:"og:"+ee+":width0"+eo,property:"og:"+ee+":width",content:er.width.toString()})):ei&&en.push(eC.createElement("meta",{key:"og:"+ee+":width0"+eo,property:"og:"+ee+":width",content:ei.toString()})),er.height?en.push(eC.createElement("meta",{key:"og:"+ee+":height"+eo,property:"og:"+ee+":height",content:er.height.toString()})):ec&&en.push(eC.createElement("meta",{key:"og:"+ee+":height"+eo,property:"og:"+ee+":height",content:ec.toString()})),en},[])},an=function(ee){var en,er,eo,ei,ec,eu=[];ee.titleTemplate&&(i8.templateTitle=ee.titleTemplate);var ed="";ee.title?(ed=ee.title,i8.templateTitle&&(ed=i8.templateTitle.replace(/%s/g,function(){return ed}))):ee.defaultTitle&&(ed=ee.defaultTitle),ed&&eu.push(eC.createElement("title",{key:"title"},ed));var ef=void 0===ee.noindex?i8.noindex||ee.dangerouslySetAllPagesToNoIndex:ee.noindex,eh=void 0===ee.nofollow?i8.nofollow||ee.dangerouslySetAllPagesToNoFollow:ee.nofollow,ep=ee.norobots||i8.norobots,em="";if(ee.robotsProps){var eg=ee.robotsProps,ex=eg.nosnippet,ev=eg.maxSnippet,ey=eg.maxImagePreview,eb=eg.maxVideoPreview,ew=eg.noarchive,ek=eg.noimageindex,e_=eg.notranslate,eE=eg.unavailableAfter;em=(ex?",nosnippet":"")+(ev?",max-snippet:"+ev:"")+(ey?",max-image-preview:"+ey:"")+(ew?",noarchive":"")+(eE?",unavailable_after:"+eE:"")+(ek?",noimageindex":"")+(eb?",max-video-preview:"+eb:"")+(e_?",notranslate":"")}if(ee.norobots&&(i8.norobots=!0),ef||eh?(ee.dangerouslySetAllPagesToNoIndex&&(i8.noindex=!0),ee.dangerouslySetAllPagesToNoFollow&&(i8.nofollow=!0),eu.push(eC.createElement("meta",{key:"robots",name:"robots",content:(ef?"noindex":"index")+","+(eh?"nofollow":"follow")+em}))):(!ep||em)&&eu.push(eC.createElement("meta",{key:"robots",name:"robots",content:"index,follow"+em})),ee.description&&eu.push(eC.createElement("meta",{key:"description",name:"description",content:ee.description})),ee.themeColor&&eu.push(eC.createElement("meta",{key:"theme-color",name:"theme-color",content:ee.themeColor})),ee.mobileAlternate&&eu.push(eC.createElement("link",{rel:"alternate",key:"mobileAlternate",media:ee.mobileAlternate.media,href:ee.mobileAlternate.href})),ee.languageAlternates&&ee.languageAlternates.length>0&&ee.languageAlternates.forEach(function(ee){eu.push(eC.createElement("link",{rel:"alternate",key:"languageAlternate-"+ee.hrefLang,hrefLang:ee.hrefLang,href:ee.href}))}),ee.twitter&&(ee.twitter.cardType&&eu.push(eC.createElement("meta",{key:"twitter:card",name:"twitter:card",content:ee.twitter.cardType})),ee.twitter.site&&eu.push(eC.createElement("meta",{key:"twitter:site",name:"twitter:site",content:ee.twitter.site})),ee.twitter.handle&&eu.push(eC.createElement("meta",{key:"twitter:creator",name:"twitter:creator",content:ee.twitter.handle}))),ee.facebook&&ee.facebook.appId&&eu.push(eC.createElement("meta",{key:"fb:app_id",property:"fb:app_id",content:ee.facebook.appId})),(null!=(en=ee.openGraph)&&en.title||ed)&&eu.push(eC.createElement("meta",{key:"og:title",property:"og:title",content:(null==(ei=ee.openGraph)?void 0:ei.title)||ed})),(null!=(er=ee.openGraph)&&er.description||ee.description)&&eu.push(eC.createElement("meta",{key:"og:description",property:"og:description",content:(null==(ec=ee.openGraph)?void 0:ec.description)||ee.description})),ee.openGraph){if((ee.openGraph.url||ee.canonical)&&eu.push(eC.createElement("meta",{key:"og:url",property:"og:url",content:ee.openGraph.url||ee.canonical})),ee.openGraph.type){var ej=ee.openGraph.type.toLowerCase();eu.push(eC.createElement("meta",{key:"og:type",property:"og:type",content:ej})),"profile"===ej&&ee.openGraph.profile?(ee.openGraph.profile.firstName&&eu.push(eC.createElement("meta",{key:"profile:first_name",property:"profile:first_name",content:ee.openGraph.profile.firstName})),ee.openGraph.profile.lastName&&eu.push(eC.createElement("meta",{key:"profile:last_name",property:"profile:last_name",content:ee.openGraph.profile.lastName})),ee.openGraph.profile.username&&eu.push(eC.createElement("meta",{key:"profile:username",property:"profile:username",content:ee.openGraph.profile.username})),ee.openGraph.profile.gender&&eu.push(eC.createElement("meta",{key:"profile:gender",property:"profile:gender",content:ee.openGraph.profile.gender}))):"book"===ej&&ee.openGraph.book?(ee.openGraph.book.authors&&ee.openGraph.book.authors.length&&ee.openGraph.book.authors.forEach(function(ee,en){eu.push(eC.createElement("meta",{key:"book:author:0"+en,property:"book:author",content:ee}))}),ee.openGraph.book.isbn&&eu.push(eC.createElement("meta",{key:"book:isbn",property:"book:isbn",content:ee.openGraph.book.isbn})),ee.openGraph.book.releaseDate&&eu.push(eC.createElement("meta",{key:"book:release_date",property:"book:release_date",content:ee.openGraph.book.releaseDate})),ee.openGraph.book.tags&&ee.openGraph.book.tags.length&&ee.openGraph.book.tags.forEach(function(ee,en){eu.push(eC.createElement("meta",{key:"book:tag:0"+en,property:"book:tag",content:ee}))})):"article"===ej&&ee.openGraph.article?(ee.openGraph.article.publishedTime&&eu.push(eC.createElement("meta",{key:"article:published_time",property:"article:published_time",content:ee.openGraph.article.publishedTime})),ee.openGraph.article.modifiedTime&&eu.push(eC.createElement("meta",{key:"article:modified_time",property:"article:modified_time",content:ee.openGraph.article.modifiedTime})),ee.openGraph.article.expirationTime&&eu.push(eC.createElement("meta",{key:"article:expiration_time",property:"article:expiration_time",content:ee.openGraph.article.expirationTime})),ee.openGraph.article.authors&&ee.openGraph.article.authors.length&&ee.openGraph.article.authors.forEach(function(ee,en){eu.push(eC.createElement("meta",{key:"article:author:0"+en,property:"article:author",content:ee}))}),ee.openGraph.article.section&&eu.push(eC.createElement("meta",{key:"article:section",property:"article:section",content:ee.openGraph.article.section})),ee.openGraph.article.tags&&ee.openGraph.article.tags.length&&ee.openGraph.article.tags.forEach(function(ee,en){eu.push(eC.createElement("meta",{key:"article:tag:0"+en,property:"article:tag",content:ee}))})):("video.movie"===ej||"video.episode"===ej||"video.tv_show"===ej||"video.other"===ej)&&ee.openGraph.video&&(ee.openGraph.video.actors&&ee.openGraph.video.actors.length&&ee.openGraph.video.actors.forEach(function(ee,en){ee.profile&&eu.push(eC.createElement("meta",{key:"video:actor:0"+en,property:"video:actor",content:ee.profile})),ee.role&&eu.push(eC.createElement("meta",{key:"video:actor:role:0"+en,property:"video:actor:role",content:ee.role}))}),ee.openGraph.video.directors&&ee.openGraph.video.directors.length&&ee.openGraph.video.directors.forEach(function(ee,en){eu.push(eC.createElement("meta",{key:"video:director:0"+en,property:"video:director",content:ee}))}),ee.openGraph.video.writers&&ee.openGraph.video.writers.length&&ee.openGraph.video.writers.forEach(function(ee,en){eu.push(eC.createElement("meta",{key:"video:writer:0"+en,property:"video:writer",content:ee}))}),ee.openGraph.video.duration&&eu.push(eC.createElement("meta",{key:"video:duration",property:"video:duration",content:ee.openGraph.video.duration.toString()})),ee.openGraph.video.releaseDate&&eu.push(eC.createElement("meta",{key:"video:release_date",property:"video:release_date",content:ee.openGraph.video.releaseDate})),ee.openGraph.video.tags&&ee.openGraph.video.tags.length&&ee.openGraph.video.tags.forEach(function(ee,en){eu.push(eC.createElement("meta",{key:"video:tag:0"+en,property:"video:tag",content:ee}))}),ee.openGraph.video.series&&eu.push(eC.createElement("meta",{key:"video:series",property:"video:series",content:ee.openGraph.video.series})))}ee.defaultOpenGraphImageWidth&&(i8.defaultOpenGraphImageWidth=ee.defaultOpenGraphImageWidth),ee.defaultOpenGraphImageHeight&&(i8.defaultOpenGraphImageHeight=ee.defaultOpenGraphImageHeight),ee.openGraph.images&&ee.openGraph.images.length&&eu.push.apply(eu,at("image",ee.openGraph.images,{defaultWidth:i8.defaultOpenGraphImageWidth,defaultHeight:i8.defaultOpenGraphImageHeight})),ee.defaultOpenGraphVideoWidth&&(i8.defaultOpenGraphVideoWidth=ee.defaultOpenGraphVideoWidth),ee.defaultOpenGraphVideoHeight&&(i8.defaultOpenGraphVideoHeight=ee.defaultOpenGraphVideoHeight),ee.openGraph.videos&&ee.openGraph.videos.length&&eu.push.apply(eu,at("video",ee.openGraph.videos,{defaultWidth:i8.defaultOpenGraphVideoWidth,defaultHeight:i8.defaultOpenGraphVideoHeight})),ee.openGraph.audio&&eu.push.apply(eu,at("audio",ee.openGraph.audio)),ee.openGraph.locale&&eu.push(eC.createElement("meta",{key:"og:locale",property:"og:locale",content:ee.openGraph.locale})),(ee.openGraph.siteName||ee.openGraph.site_name)&&eu.push(eC.createElement("meta",{key:"og:site_name",property:"og:site_name",content:ee.openGraph.siteName||ee.openGraph.site_name}))}return ee.canonical&&eu.push(eC.createElement("link",{rel:"canonical",href:ee.canonical,key:"canonical"})),ee.additionalMetaTags&&ee.additionalMetaTags.length>0&&ee.additionalMetaTags.forEach(function(ee){var en,er,eo=ee.keyOverride,ei=i3(ee,i9);eu.push(eC.createElement("meta",i6({key:"meta:"+(null!=(en=null!=(er=null!=eo?eo:ei.name)?er:ei.property)?en:ei.httpEquiv)},ei)))}),null!=(eo=ee.additionalLinkTags)&&eo.length&&ee.additionalLinkTags.forEach(function(ee){var en,er=ee.crossOrigin,eo=i3(ee,i7),ei="anonymous"===er||"use-credentials"===er||""===er?er:void 0;eu.push(eC.createElement("link",i6({key:"link"+(null!=(en=eo.keyOverride)?en:eo.href)+eo.rel},eo,{crossOrigin:ei})))}),eu},ar=function(ee){return eC.createElement(i4(),null,an(ee))},ao=function(ee){var en=ee.title,er=ee.themeColor,eo=ee.noindex,ei=ee.nofollow,ec=ee.robotsProps,eu=ee.description,ed=ee.canonical,ef=ee.openGraph,eh=ee.facebook,ep=ee.twitter,em=ee.additionalMetaTags,eg=ee.titleTemplate,ex=ee.defaultTitle,ev=ee.mobileAlternate,ey=ee.languageAlternates,eb=ee.additionalLinkTags;return eC.createElement(eC.Fragment,null,eC.createElement(ar,{title:en,themeColor:er,noindex:eo,nofollow:ei,robotsProps:ec,description:eu,canonical:ed,facebook:eh,openGraph:ef,additionalMetaTags:em,twitter:ep,titleTemplate:eg,defaultTitle:ex,mobileAlternate:ev,languageAlternates:ey,additionalLinkTags:eb}))};function ai({container:ee,accept:en,walk:er,enabled:eo=!0}){let ei=(0,eC.useRef)(en),ec=(0,eC.useRef)(er);(0,eC.useEffect)(()=>{ei.current=en,ec.current=er},[en,er]),(0,oA.e)(()=>{if(!ee||!eo)return;let en=(0,ij.r)(ee);if(!en)return;let er=ei.current,eu=ec.current,ed=Object.assign(ee=>er(ee),{acceptNode:er}),ef=en.createTreeWalker(ee,NodeFilter.SHOW_ELEMENT,ed,!1);for(;ef.nextNode();)eu(ef.currentNode)},[ee,eo,ei,ec])}function al(...ee){return(0,eC.useMemo)(()=>(0,ij.r)(...ee),[...ee])}RegExp("["+Object.keys(Object.freeze({"&":"&","<":"<",">":">",'"':""","'":"'"})).join("")+"]","g");var ac=((em=ac||{})[em.Open=0]="Open",em[em.Closed=1]="Closed",em),au=((eg=au||{})[eg.Pointer=0]="Pointer",eg[eg.Other=1]="Other",eg),ad=((ex=ad||{})[ex.OpenMenu=0]="OpenMenu",ex[ex.CloseMenu=1]="CloseMenu",ex[ex.GoToItem=2]="GoToItem",ex[ex.Search=3]="Search",ex[ex.ClearSearch=4]="ClearSearch",ex[ex.RegisterItem=5]="RegisterItem",ex[ex.UnregisterItem=6]="UnregisterItem",ex);function af(ee,en=ee=>ee){let er=null!==ee.activeItemIndex?ee.items[ee.activeItemIndex]:null,eo=(0,ig.z2)(en(ee.items.slice()),ee=>ee.dataRef.current.domRef.current),ei=er?eo.indexOf(er):null;return -1===ei&&(ei=null),{items:eo,activeItemIndex:ei}}let ah={1:ee=>1===ee.menuState?ee:{...ee,activeItemIndex:null,menuState:1},0:ee=>0===ee.menuState?ee:{...ee,__demoMode:!1,menuState:0},2:(ee,en)=>{var er;let eo=af(ee),ei=iu(en,{resolveItems:()=>eo.items,resolveActiveIndex:()=>eo.activeItemIndex,resolveId:ee=>ee.id,resolveDisabled:ee=>ee.dataRef.current.disabled});return{...ee,...eo,searchQuery:"",activeItemIndex:ei,activationTrigger:null!=(er=en.trigger)?er:1}},3:(ee,en)=>{let er=""!==ee.searchQuery?0:1,eo=ee.searchQuery+en.value.toLowerCase(),ei=(null!==ee.activeItemIndex?ee.items.slice(ee.activeItemIndex+er).concat(ee.items.slice(0,ee.activeItemIndex+er)):ee.items).find(ee=>{var en;return(null==(en=ee.dataRef.current.textValue)?void 0:en.startsWith(eo))&&!ee.dataRef.current.disabled}),ec=ei?ee.items.indexOf(ei):-1;return -1===ec||ec===ee.activeItemIndex?{...ee,searchQuery:eo}:{...ee,searchQuery:eo,activeItemIndex:ec,activationTrigger:1}},4:ee=>""===ee.searchQuery?ee:{...ee,searchQuery:"",searchActiveItemIndex:null},5:(ee,en)=>{let er=af(ee,ee=>[...ee,{id:en.id,dataRef:en.dataRef}]);return{...ee,...er}},6:(ee,en)=>{let er=af(ee,ee=>{let er=ee.findIndex(ee=>ee.id===en.id);return -1!==er&&ee.splice(er,1),ee});return{...ee,...er,activationTrigger:1}}},ap=(0,eC.createContext)(null);function am(ee){let en=(0,eC.useContext)(ap);if(null===en){let en=Error(`<${ee} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(en,am),en}return en}function ag(ee,en){return(0,oS.E)(en.type,ah,ee,en)}ap.displayName="MenuContext";let ax=eC.Fragment;function av(ee,en){let{__demoMode:er=!1,...eo}=ee,ei=(0,eC.useReducer)(ag,{__demoMode:er,menuState:er?0:1,buttonRef:(0,eC.createRef)(),itemsRef:(0,eC.createRef)(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:ec,itemsRef:eu,buttonRef:ed},ef]=ei,eh=(0,oI.T)(en);ib([ed,eu],(ee,en)=>{var er;ef({type:1}),(0,ig.sP)(en,ig.tJ.Loose)||(ee.preventDefault(),null==(er=ed.current)||er.focus())},0===ec);let ep=(0,oB.z)(()=>{ef({type:1})}),em=(0,eC.useMemo)(()=>({open:0===ec,close:ep}),[ec,ep]),eg={ref:eh};return eC.createElement(ap.Provider,{value:ei},eC.createElement(oC,{value:(0,oS.E)(ec,{0:oj.Open,1:oj.Closed})},(0,o_.sY)({ourProps:eg,theirProps:eo,slot:em,defaultTag:ax,name:"Menu"})))}let ay="button";function ab(ee,en){var er;let eo=(0,io.M)(),{id:ei=`headlessui-menu-button-${eo}`,...ec}=ee,[eu,ed]=am("Menu.Button"),ef=(0,oI.T)(eu.buttonRef,en),eh=oF(),ep=(0,oB.z)(ee=>{switch(ee.key){case is.R.Space:case is.R.Enter:case is.R.ArrowDown:ee.preventDefault(),ee.stopPropagation(),ed({type:0}),eh.nextFrame(()=>ed({type:2,focus:ic.First}));break;case is.R.ArrowUp:ee.preventDefault(),ee.stopPropagation(),ed({type:0}),eh.nextFrame(()=>ed({type:2,focus:ic.Last}))}}),em=(0,oB.z)(ee=>{ee.key===is.R.Space&&ee.preventDefault()}),eg=(0,oB.z)(en=>{if(ih(en.currentTarget))return en.preventDefault();ee.disabled||(0===eu.menuState?(ed({type:1}),eh.nextFrame(()=>{var ee;return null==(ee=eu.buttonRef.current)?void 0:ee.focus({preventScroll:!0})})):(en.preventDefault(),ed({type:0})))}),ex=(0,eC.useMemo)(()=>({open:0===eu.menuState}),[eu]),ev={ref:ef,id:ei,type:(0,ix.f)(ee,eu.buttonRef),"aria-haspopup":"menu","aria-controls":null==(er=eu.itemsRef.current)?void 0:er.id,"aria-expanded":0===eu.menuState,onKeyDown:ep,onKeyUp:em,onClick:eg};return(0,o_.sY)({ourProps:ev,theirProps:ec,slot:ex,defaultTag:ay,name:"Menu.Button"})}let aw="div",ak=o_.AN.RenderStrategy|o_.AN.Static;function a_(ee,en){var er,eo;let ei=(0,io.M)(),{id:ec=`headlessui-menu-items-${ei}`,...eu}=ee,[ed,ef]=am("Menu.Items"),eh=(0,oI.T)(ed.itemsRef,en),ep=al(ed.itemsRef),em=oF(),eg=oO(),ex=null!==eg?(eg&oj.Open)===oj.Open:0===ed.menuState;(0,eC.useEffect)(()=>{let ee=ed.itemsRef.current;ee&&0===ed.menuState&&ee!==(null==ep?void 0:ep.activeElement)&&ee.focus({preventScroll:!0})},[ed.menuState,ed.itemsRef,ep]),ai({container:ed.itemsRef.current,enabled:0===ed.menuState,accept:ee=>"menuitem"===ee.getAttribute("role")?NodeFilter.FILTER_REJECT:ee.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(ee){ee.setAttribute("role","none")}});let ev=(0,oB.z)(ee=>{var en,er;switch(em.dispose(),ee.key){case is.R.Space:if(""!==ed.searchQuery)return ee.preventDefault(),ee.stopPropagation(),ef({type:3,value:ee.key});case is.R.Enter:if(ee.preventDefault(),ee.stopPropagation(),ef({type:1}),null!==ed.activeItemIndex){let{dataRef:ee}=ed.items[ed.activeItemIndex];null==(er=null==(en=ee.current)?void 0:en.domRef.current)||er.click()}(0,ig.wI)(ed.buttonRef.current);break;case is.R.ArrowDown:return ee.preventDefault(),ee.stopPropagation(),ef({type:2,focus:ic.Next});case is.R.ArrowUp:return ee.preventDefault(),ee.stopPropagation(),ef({type:2,focus:ic.Previous});case is.R.Home:case is.R.PageUp:return ee.preventDefault(),ee.stopPropagation(),ef({type:2,focus:ic.First});case is.R.End:case is.R.PageDown:return ee.preventDefault(),ee.stopPropagation(),ef({type:2,focus:ic.Last});case is.R.Escape:ee.preventDefault(),ee.stopPropagation(),ef({type:1}),(0,oL.k)().nextFrame(()=>{var ee;return null==(ee=ed.buttonRef.current)?void 0:ee.focus({preventScroll:!0})});break;case is.R.Tab:ee.preventDefault(),ee.stopPropagation(),ef({type:1}),(0,oL.k)().nextFrame(()=>{(0,ig.EO)(ed.buttonRef.current,ee.shiftKey?ig.TO.Previous:ig.TO.Next)});break;default:1===ee.key.length&&(ef({type:3,value:ee.key}),em.setTimeout(()=>ef({type:4}),350))}}),ey=(0,oB.z)(ee=>{ee.key===is.R.Space&&ee.preventDefault()}),eb=(0,eC.useMemo)(()=>({open:0===ed.menuState}),[ed]),ew={"aria-activedescendant":null===ed.activeItemIndex||null==(er=ed.items[ed.activeItemIndex])?void 0:er.id,"aria-labelledby":null==(eo=ed.buttonRef.current)?void 0:eo.id,id:ec,onKeyDown:ev,onKeyUp:ey,role:"menu",tabIndex:0,ref:eh};return(0,o_.sY)({ourProps:ew,theirProps:eu,slot:eb,defaultTag:aw,features:ak,visible:ex,name:"Menu.Items"})}let aE=eC.Fragment;function aj(ee,en){let er=(0,io.M)(),{id:eo=`headlessui-menu-item-${er}`,disabled:ei=!1,...ec}=ee,[eu,ed]=am("Menu.Item"),ef=null!==eu.activeItemIndex&&eu.items[eu.activeItemIndex].id===eo,eh=(0,eC.useRef)(null),ep=(0,oI.T)(en,eh);(0,oA.e)(()=>{if(eu.__demoMode||0!==eu.menuState||!ef||0===eu.activationTrigger)return;let ee=(0,oL.k)();return ee.requestAnimationFrame(()=>{var ee,en;null==(en=null==(ee=eh.current)?void 0:ee.scrollIntoView)||en.call(ee,{block:"nearest"})}),ee.dispose},[eu.__demoMode,eh,ef,eu.menuState,eu.activationTrigger,eu.activeItemIndex]);let em=iN(eh),eg=(0,eC.useRef)({disabled:ei,domRef:eh,get textValue(){return em()}});(0,oA.e)(()=>{eg.current.disabled=ei},[eg,ei]),(0,oA.e)(()=>(ed({type:5,id:eo,dataRef:eg}),()=>ed({type:6,id:eo})),[eg,eo]);let ex=(0,oB.z)(()=>{ed({type:1})}),ev=(0,oB.z)(ee=>{if(ei)return ee.preventDefault();ed({type:1}),(0,ig.wI)(eu.buttonRef.current)}),ey=(0,oB.z)(()=>{if(ei)return ed({type:2,focus:ic.Nothing});ed({type:2,focus:ic.Specific,id:eo})}),eb=iS(),ew=(0,oB.z)(ee=>eb.update(ee)),ek=(0,oB.z)(ee=>{eb.wasMoved(ee)&&(ei||ef||ed({type:2,focus:ic.Specific,id:eo,trigger:0}))}),e_=(0,oB.z)(ee=>{eb.wasMoved(ee)&&(ei||ef&&ed({type:2,focus:ic.Nothing}))}),eE=(0,eC.useMemo)(()=>({active:ef,disabled:ei,close:ex}),[ef,ei,ex]);return(0,o_.sY)({ourProps:{id:eo,ref:ep,role:"menuitem",tabIndex:!0===ei?void 0:-1,"aria-disabled":!0===ei||void 0,disabled:void 0,onClick:ev,onFocus:ey,onPointerEnter:ew,onMouseEnter:ew,onPointerMove:ek,onMouseMove:ek,onPointerLeave:e_,onMouseLeave:e_},theirProps:ec,slot:eE,defaultTag:aE,name:"Menu.Item"})}let aO=Object.assign((0,o_.yV)(av),{Button:(0,o_.yV)(ab),Items:(0,o_.yV)(a_),Item:(0,o_.yV)(aj)}),aC=ee=>"object"==typeof ee&&null!=ee&&1===ee.nodeType,aS=(ee,en)=>(!en||"hidden"!==ee)&&"visible"!==ee&&"clip"!==ee,aT=(ee,en)=>{if(ee.clientHeight{let en=(ee=>{if(!ee.ownerDocument||!ee.ownerDocument.defaultView)return null;try{return ee.ownerDocument.defaultView.frameElement}catch(ee){return null}})(ee);return!!en&&(en.clientHeightecen||ec>ee&&eu=en&&ed>=er?ec-ee-eo:eu>en&&eder?eu-en+ei:0,aR=ee=>{let en=ee.parentElement;return null==en?ee.getRootNode().host||null:en},aN=(ee,en)=>{var er,eo,ei,ec;if("undefined"==typeof document)return[];let{scrollMode:eu,block:ed,inline:ef,boundary:eh,skipOverflowHiddenElements:ep}=en,em="function"==typeof eh?eh:ee=>ee!==eh;if(!aC(ee))throw TypeError("Invalid target");let eg=document.scrollingElement||document.documentElement,ex=[],ev=ee;for(;aC(ev)&&em(ev);){if((ev=aR(ev))===eg){ex.push(ev);break}null!=ev&&ev===document.body&&aT(ev)&&!aT(document.documentElement)||null!=ev&&aT(ev,ep)&&ex.push(ev)}let ey=null!=(eo=null==(er=window.visualViewport)?void 0:er.width)?eo:innerWidth,eb=null!=(ec=null==(ei=window.visualViewport)?void 0:ei.height)?ec:innerHeight,{scrollX:ew,scrollY:ek}=window,{height:e_,width:eE,top:ej,right:eO,bottom:eC,left:eS}=ee.getBoundingClientRect(),{top:eT,right:eA,bottom:eR,left:eN}=(ee=>{let en=window.getComputedStyle(ee);return{top:parseFloat(en.scrollMarginTop)||0,right:parseFloat(en.scrollMarginRight)||0,bottom:parseFloat(en.scrollMarginBottom)||0,left:parseFloat(en.scrollMarginLeft)||0}})(ee),eI="start"===ed||"nearest"===ed?ej-eT:"end"===ed?eC+eR:ej+e_/2-eT+eR,eM="center"===ef?eS+eE/2-eN+eA:"end"===ef?eO+eA:eS-eN,eL=[];for(let ee=0;ee=0&&eS>=0&&eC<=eb&&eO<=ey&&ej>=ei&&eC<=eh&&eS>=ep&&eO<=ec)break;let em=getComputedStyle(en),ev=parseInt(em.borderLeftWidth,10),eT=parseInt(em.borderTopWidth,10),eA=parseInt(em.borderRightWidth,10),eR=parseInt(em.borderBottomWidth,10),eN=0,eZ=0,eP="offsetWidth"in en?en.offsetWidth-en.clientWidth-ev-eA:0,eD="offsetHeight"in en?en.offsetHeight-en.clientHeight-eT-eR:0,ez="offsetWidth"in en?0===en.offsetWidth?0:eo/en.offsetWidth:0,eF="offsetHeight"in en?0===en.offsetHeight?0:er/en.offsetHeight:0;if(eg===en)eN="start"===ed?eI:"end"===ed?eI-eb:"nearest"===ed?aA(ek,ek+eb,eb,eT,eR,ek+eI,ek+eI+e_,e_):eI-eb/2,eZ="start"===ef?eM:"center"===ef?eM-ey/2:"end"===ef?eM-ey:aA(ew,ew+ey,ey,ev,eA,ew+eM,ew+eM+eE,eE),eN=Math.max(0,eN+ek),eZ=Math.max(0,eZ+ew);else{eN="start"===ed?eI-ei-eT:"end"===ed?eI-eh+eR+eD:"nearest"===ed?aA(ei,eh,er,eT,eR+eD,eI,eI+e_,e_):eI-(ei+er/2)+eD/2,eZ="start"===ef?eM-ep-ev:"center"===ef?eM-(ep+eo/2)+eP/2:"end"===ef?eM-ec+eA+eP:aA(ep,ec,eo,ev,eA+eP,eM,eM+eE,eE);let{scrollLeft:ee,scrollTop:eu}=en;eN=0===eF?0:Math.max(0,Math.min(eu+eN/eF,en.scrollHeight-er/eF+eD)),eZ=0===ez?0:Math.max(0,Math.min(ee+eZ/ez,en.scrollWidth-eo/ez+eP)),eI+=eu-eN,eM+=ee-eZ}eL.push({el:en,top:eN,left:eZ})}return eL},aI=ee=>{var en;return!1===ee?{block:"end",inline:"nearest"}:(en=ee,en===Object(en)&&0!==Object.keys(en).length)?ee:{block:"start",inline:"nearest"}};function aM(ee,en){var er;if(!ee.isConnected||!(ee=>{let en=ee;for(;en&&en.parentNode;){if(en.parentNode===document)return!0;en=en.parentNode instanceof ShadowRoot?en.parentNode.host:en.parentNode}return!1})(ee))return;let eo=(ee=>{let en=window.getComputedStyle(ee);return{top:parseFloat(en.scrollMarginTop)||0,right:parseFloat(en.scrollMarginRight)||0,bottom:parseFloat(en.scrollMarginBottom)||0,left:parseFloat(en.scrollMarginLeft)||0}})(ee);if("object"==typeof(er=en)&&"function"==typeof er.behavior)return en.behavior(aN(ee,en));let ei="boolean"==typeof en||null==en?void 0:en.behavior;for(let{el:er,top:ec,left:eu}of aN(ee,aI(en))){let ee=ec-eo.top+eo.bottom,en=eu-eo.left+eo.right;er.scroll({top:ee,left:en,behavior:ei})}}var aL=er(97605),aZ=er(96593),aP=er.n(aZ),aD={CASE_SENSITIVE_EQUAL:7,EQUAL:6,STARTS_WITH:5,WORD_STARTS_WITH:4,CONTAINS:3,ACRONYM:2,MATCHES:1,NO_MATCH:0};aF.rankings=aD;var az=function(ee,en){return String(ee.rankedValue).localeCompare(String(en.rankedValue))};function aF(ee,en,er){void 0===er&&(er={});var eo=er,ei=eo.keys,ec=eo.threshold,eu=void 0===ec?aD.MATCHES:ec,ed=eo.baseSort,ef=void 0===ed?az:ed,eh=eo.sorter;return(void 0===eh?function(ee){return ee.sort(function(ee,en){return a$(ee,en,ef)})}:eh)(ee.reduce(ep,[])).map(function(ee){return ee.item});function ep(ee,eo,ec){var ed=aH(eo,ei,en,er),ef=ed.rank,eh=ed.keyThreshold;return ef>=(void 0===eh?eu:eh)&&ee.push((0,aL.Z)({},ed,{item:eo,index:ec})),ee}}function aH(ee,en,er,eo){if(!en){var ei=ee;return{rankedValue:ei,rank:aB(ei,er,eo),keyIndex:-1,keyThreshold:eo.threshold}}return aX(ee,en).reduce(function(ee,en,ei){var ec=ee.rank,eu=ee.rankedValue,ed=ee.keyIndex,ef=ee.keyThreshold,eh=en.itemValue,ep=en.attributes,em=aB(eh,er,eo),eg=eu,ex=ep.minRanking,ev=ep.maxRanking,ey=ep.threshold;return em=aD.MATCHES?em=ex:em>ev&&(em=ev),em>ec&&(ec=em,ed=ei,ef=ey,eg=eh),{rankedValue:eg,rank:ec,keyIndex:ed,keyThreshold:ef}},{rankedValue:ee,rank:aD.NO_MATCH,keyIndex:-1,keyThreshold:eo.threshold})}function aB(ee,en,er){return(ee=aU(ee,er),(en=aU(en,er)).length>ee.length)?aD.NO_MATCH:ee===en?aD.CASE_SENSITIVE_EQUAL:(ee=ee.toLowerCase())===(en=en.toLowerCase())?aD.EQUAL:ee.startsWith(en)?aD.STARTS_WITH:ee.includes(" "+en)?aD.WORD_STARTS_WITH:ee.includes(en)?aD.CONTAINS:1===en.length?aD.NO_MATCH:aW(ee).includes(en)?aD.ACRONYM:aG(ee,en)}function aW(ee){var en="";return ee.split(" ").forEach(function(ee){ee.split("-").forEach(function(ee){en+=ee.substr(0,1)})}),en}function aG(ee,en){var er=0,eo=0;function ei(ee,en,eo){for(var ei=eo,ec=en.length;ei-1))return aD.NO_MATCH;return ec(eo-eu)}function a$(ee,en,er){var eo=-1,ei=1,ec=ee.rank,eu=ee.keyIndex,ed=en.rank,ef=en.keyIndex;return ec!==ed?ec>ed?eo:ei:eu===ef?er(ee,en):euen in ee?aJ(ee,en,{enumerable:!0,configurable:!0,writable:!0,value:er}):ee[en]=er,a3=(ee,en)=>{for(var er in en||(en={}))a5.call(en,er)&&a6(ee,er,en[er]);if(a2)for(var er of a2(en))a4.call(en,er)&&a6(ee,er,en[er]);return ee},a9=(ee,en)=>a0(ee,a1(en)),a7=(ee,en)=>{var er={};for(var eo in ee)a5.call(ee,eo)&&0>en.indexOf(eo)&&(er[eo]=ee[eo]);if(null!=ee&&a2)for(var eo of a2(ee))0>en.indexOf(eo)&&a4.call(ee,eo)&&(er[eo]=ee[eo]);return er},a8=(ee,en,er)=>new Promise((eo,ei)=>{var ec=ee=>{try{ed(er.next(ee))}catch(ee){ei(ee)}},eu=ee=>{try{ed(er.throw(ee))}catch(ee){ei(ee)}},ed=ee=>ee.done?eo(ee.value):Promise.resolve(ee.value).then(ec,eu);ed((er=er.apply(ee,en)).next())}),st=(0,eC.createContext)({}),sn=(0,eC.createContext)(ee=>ee),sr=(0,eC.createContext)(null),so=new WeakMap,si=(0,eC.createContext)(so),ss=()=>(0,eC.useContext)(st),sl=()=>(0,eC.useContext)(sn),sc=()=>(0,eC.useContext)(sr),su=()=>(0,eC.useContext)(si),sd=({children:ee})=>{let[en,er]=(0,eC.useState)({}),eo=(0,eC.useRef)(null);return lc&&!eo.current&&(eo.current=new IntersectionObserver(ee=>{er(en=>{let er=a3({},en);for(let en of ee)if((null==en?void 0:en.rootBounds)&&so.has(en.target)){let[ee,eo]=so.get(en.target),ei=en.boundingClientRect.y+en.boundingClientRect.height<=en.rootBounds.y+en.rootBounds.height,ec=en.intersectionRatio>0;er[ee]={index:eo,aboveHalfViewport:ei,insideHalfViewport:ec}}let eo="",ei=1/0,ec=-1;for(let ee in er)er[ee].isActive=!1,er[ee].insideHalfViewport&&er[ee].indexec&&(ec=er[ee].index,eo=ee);return er[eo]&&(er[eo].isActive=!0),er})},{rootMargin:"0px 0px -50%",threshold:[0,1]})),(0,ej.jsx)(st.Provider,{value:en,children:(0,ej.jsx)(sn.Provider,{value:er,children:(0,ej.jsx)(si.Provider,{value:so,children:(0,ej.jsx)(sr.Provider,{value:eo.current,children:ee})})})})},sf=(0,eC.createContext)({menu:!1,setMenu:()=>!1}),sh=()=>(0,eC.useContext)(sf),sp=sf.Provider,sm=(0,eC.createContext)(a3({title:"",frontMatter:{}},lx));function sg(){return(0,eC.useContext)(sm)}var sx=({children:ee,value:{themeConfig:en,pageOpts:er}})=>{let[eo,ei]=(0,eC.useState)(!1);ek||(ek=a3(a3({},lx),Object.fromEntries(Object.entries(en).map(([ee,en])=>[ee,en&&"object"==typeof en&&lv.includes(ee)?a3(a3({},lx[ee]),en):en]))));let ec=a9(a3(a9(a3({},ek),{flexsearch:er.flexsearch}),"boolean"==typeof er.newNextLinkBehavior&&{newNextLinkBehavior:er.newNextLinkBehavior}),{title:er.title,frontMatter:er.frontMatter}),{nextThemes:eu}=ec;return(0,ej.jsx)(nz,{attribute:"class",disableTransitionOnChange:!0,defaultTheme:eu.defaultTheme,storageKey:eu.storageKey,forcedTheme:eu.forcedTheme,children:(0,ej.jsx)(sm.Provider,{value:ec,children:(0,ej.jsx)(sp,{value:{menu:eo,setMenu:ei},children:ee})})})},sv=(0,eC.createContext)(ee=>ee),sy=()=>(0,eC.useContext)(sv),sb=sv.Provider,sw=Number(nN.i8.split(".")[0]),sk=(0,eC.forwardRef)(function(ee,en){var er=ee,{href:eo="",children:ei,newWindow:ec}=er,eu=a7(er,["href","children","newWindow"]);let ed=sg();return ec?(0,ej.jsxs)("a",a9(a3({ref:en,href:eo,target:"_blank",rel:"noreferrer"},eu),{children:[ei,(0,ej.jsx)("span",{className:"nx-sr-only nx-select-none",children:" (opens in a new tab)"})]})):eo?sw>12||ed.newNextLinkBehavior?(0,ej.jsx)(nR(),a9(a3({ref:en,href:eo},eu),{children:ei})):(0,ej.jsx)(nR(),{href:eo,passHref:!0,children:(0,ej.jsx)("a",a9(a3({ref:en},eu),{children:ei}))}):(0,ej.jsx)("a",a9(a3({ref:en},eu),{children:ei}))});sk.displayName="Anchor";var s_=({repository:ee="",title:en,labels:er})=>{let eo=n4()(ee);if(!eo)throw Error("Invalid `docsRepositoryBase` URL!");return eo.resource.includes("gitlab")?`${eo.protocol}://${eo.resource}/${eo.owner}/${eo.name}/-/issues/new?issue[title]=${encodeURIComponent(en)}${er?`&issue[description]=/label${encodeURIComponent(` ~${er} +`)}`:""}`:eo.resource.includes("github")?`${eo.protocol}://${eo.resource}/${eo.owner}/${eo.name}/issues/new?title=${encodeURIComponent(en)}&labels=${er||""}`:"#"};function sE(ee,en){return ee?"function"!=typeof ee?ee:(0,ej.jsx)(ee,a3({},en)):null}function sj(ee,en={}){let er="function"==typeof ee?ee(en):ee;return er||""}function sO(ee){let en=(0,eC.useRef)(null),er=(0,eC.useRef)(null),eo=(0,eC.useRef)(),ei=(0,eC.useCallback)(()=>{var ei;en.current&&er.current&&(null==(ei=eo.current)||ei.call(eo),eo.current=ov(en.current,er.current,ee).destroy)},[en,er,eo,ee]);return(0,eC.useMemo)(()=>[ee=>{en.current=ee,ei()},ee=>{er.current=ee,ei()}],[en,er,ei])}function sC(ee=""){let en=sg(),er=n4()(en.docsRepositoryBase||"");if(!er)throw Error("Invalid `docsRepositoryBase` URL!");return`${er.href}/${ee}`}function sS(){let{banner:ee}=sg();if(!ee.text)return null;let en=`try{if(localStorage.getItem(${JSON.stringify(ee.key)})==='0'){document.body.classList.add('nextra-banner-hidden')}}catch(e){}`;return(0,ej.jsxs)(ej.Fragment,{children:[(0,ej.jsx)("script",{dangerouslySetInnerHTML:{__html:en}}),(0,ej.jsxs)("div",{className:(0,eS.Z)("nextra-banner-container nx-sticky nx-top-0 nx-z-20 nx-flex nx-items-center md:nx-relative","nx-h-[var(--nextra-banner-height)] [body.nextra-banner-hidden_&]:nx-hidden","nx-text-slate-50 dark:nx-text-white nx-bg-neutral-900 dark:nx-bg-[linear-gradient(1deg,#383838,#212121)]","nx-px-2 ltr:nx-pl-10 rtl:nx-pr-10 print:nx-hidden"),children:[(0,ej.jsx)("div",{className:"nx-w-full nx-truncate nx-px-4 nx-text-center nx-font-medium nx-text-sm",children:sE(ee.text)}),ee.dismissible&&(0,ej.jsx)("button",{type:"button","aria-label":"Dismiss banner",className:"nx-w-8 nx-h-8 nx-opacity-80 hover:nx-opacity-100",onClick:()=>{try{localStorage.setItem(ee.key,"0")}catch(ee){}document.body.classList.add("nextra-banner-hidden")},children:(0,ej.jsx)(eM.b0,{className:"nx-mx-auto nx-h-4 nx-w-4"})})]})]})}function sT({activePath:ee}){return(0,ej.jsx)("div",{className:"nextra-breadcrumb nx-mt-1.5 nx-flex nx-items-center nx-gap-1 nx-overflow-hidden nx-text-sm nx-text-gray-500 dark:nx-text-gray-400 contrast-more:nx-text-current",children:ee.map((en,er)=>{let eo=!en.children||en.withIndexPage,ei=er===ee.length-1;return(0,ej.jsxs)(eC.Fragment,{children:[er>0&&(0,ej.jsx)(eM.LZ,{className:"nx-w-3.5 nx-shrink-0"}),(0,ej.jsx)("div",{className:(0,eS.Z)("nx-whitespace-nowrap nx-transition-colors",ei?"nx-font-medium nx-text-gray-700 contrast-more:nx-font-bold contrast-more:nx-text-current dark:nx-text-gray-100 contrast-more:dark:nx-text-current":["nx-min-w-[24px] nx-overflow-hidden nx-text-ellipsis",eo&&"hover:nx-text-gray-900 dark:hover:nx-text-gray-100"]),title:en.title,children:eo&&!ei?(0,ej.jsx)(sk,{href:en.route,children:en.title}):en.title})]},en.route+en.name)})})}function sA({children:ee,className:en,isOpen:er,horizontal:eo=!1}){let ei=(0,eC.useRef)(null),ec=(0,eC.useRef)(null),eu=(0,eC.useRef)(0),ed=(0,eC.useRef)(er),ef=(0,eC.useRef)(!0);return(0,eC.useEffect)(()=>{let ee=ei.current,en=ec.current,ed=eu.current;ed&&clearTimeout(ed),!ef.current&&ee&&en&&(ee.classList.toggle("nx-duration-500",!er),ee.classList.toggle("nx-duration-300",er),eo?(en.style.width=`${en.clientWidth}px`,ee.style.width=`${en.clientWidth}px`):ee.style.height=`${en.clientHeight}px`,er?eu.current=window.setTimeout(()=>{ee.style.removeProperty("height")},300):setTimeout(()=>{eo?ee.style.width="0px":ee.style.height="0px"},0))},[eo,er]),(0,eC.useEffect)(()=>{ef.current=!1},[]),(0,ej.jsx)("div",{ref:ei,className:"nx-transform-gpu nx-overflow-hidden nx-transition-all nx-ease-in-out motion-reduce:nx-transition-none",style:ed.current||eo?void 0:{height:0},children:(0,ej.jsx)("div",{ref:ec,className:(0,eS.Z)("nx-transition-opacity nx-duration-500 nx-ease-in-out motion-reduce:nx-transition-none",er?"nx-opacity-100":"nx-opacity-0",en),children:ee})})}var sR=(0,eC.memo)(function({value:ee,match:en}){let er;if(!ee)return null;let eo=ee.split(""),ei=ow(en.trim()),ec=RegExp(ei.replaceAll(" ","|"),"ig"),eu=0,ed=[];for(;(er=ec.exec(ee))&&0!==ec.lastIndex;){let ee=eo.splice(0,er.index-eu).join(""),en=eo.splice(0,ec.lastIndex-er.index).join("");ed.push(ee,(0,ej.jsx)("span",{className:"nx-text-primary-600",children:en},er.index)),eu=ec.lastIndex}return(0,ej.jsxs)(ej.Fragment,{children:[ed,eo.join("")]})}),sN=(0,eC.forwardRef)((ee,en)=>{var er=ee,{className:eo,suffix:ei}=er,ec=a7(er,["className","suffix"]);return(0,ej.jsxs)("div",{className:"nx-relative nx-flex nx-items-center nx-text-gray-900 contrast-more:nx-text-gray-800 dark:nx-text-gray-300 contrast-more:dark:nx-text-gray-300",children:[(0,ej.jsx)("input",a3({ref:en,spellCheck:!1,className:(0,eS.Z)(eo,"nx-block nx-w-full nx-appearance-none nx-rounded-lg nx-px-3 nx-py-2 nx-transition-colors","nx-text-base nx-leading-tight md:nx-text-sm","nx-bg-black/[.05] dark:nx-bg-gray-50/10","focus:nx-bg-white dark:focus:nx-bg-dark","placeholder:nx-text-gray-500 dark:placeholder:nx-text-gray-400","contrast-more:nx-border contrast-more:nx-border-current")},ec)),ei]})});sN.displayName="Input";var sI=["input","select","button","textarea"];function sM({className:ee,overlayClassName:en,value:er,onChange:eo,onActive:ei,loading:ec,error:eu,results:ed}){let[ef,eh]=(0,eC.useState)(!1),ep=sg(),[em,eg]=(0,eC.useState)(0),ex=(0,eO.useRouter)(),{setMenu:ev}=sh(),ey=(0,eC.useRef)(null),eb=(0,eC.useRef)(null),[ew,ek]=(0,eC.useState)(!1),[e_,eE]=(0,eC.useState)(!0);(0,eC.useEffect)(()=>{eg(0)},[er]),(0,eC.useEffect)(()=>{let ee=ee=>{let en=document.activeElement,er=null==en?void 0:en.tagName.toLowerCase();!ey.current||!er||sI.includes(er)||null!=en&&en.isContentEditable||("/"===ee.key||"k"===ee.key&&(ee.metaKey||ee.ctrlKey)?(ee.preventDefault(),ey.current.focus({preventScroll:!0})):"Escape"===ee.key&&(eh(!1),ey.current.blur()))};return window.addEventListener("keydown",ee),()=>{window.removeEventListener("keydown",ee)}},[]);let eA=(0,eC.useCallback)(()=>{var ee;null==(ee=ey.current)||ee.blur(),eo(""),eh(!1),ev(!1)},[eo,ev]),eR=(0,eC.useCallback)(ee=>{let{index:en}=ee.currentTarget.dataset;eg(Number(en))},[]),eN=(0,eC.useCallback)(function(ee){var en,er,eo;switch(ee.key){case"ArrowDown":if(em+1 a`);er&&(ee.preventDefault(),eR({currentTarget:er}),er.focus())}break;case"ArrowUp":if(em-1>=0){let en=null==(er=eb.current)?void 0:er.querySelector(`li:nth-of-type(${em}) > a`);en&&(ee.preventDefault(),eR({currentTarget:en}),en.focus())}break;case"Enter":{let ee=ed[em];ee&&e_&&(ex.push(ee.route),eA());break}case"Escape":eh(!1),null==(eo=ey.current)||eo.blur()}},[em,ed,ex,eA,eR,e_]),eI=eT(),eL=ef&&!!er,eZ=(0,ej.jsx)(it,{show:eI&&(!ef||!!er),as:eC.Fragment,enter:"nx-transition-opacity",enterFrom:"nx-opacity-0",enterTo:"nx-opacity-100",leave:"nx-transition-opacity",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,ej.jsx)("kbd",{className:(0,eS.Z)("nx-absolute nx-my-1.5 nx-select-none ltr:nx-right-1.5 rtl:nx-left-1.5","nx-h-5 nx-rounded nx-bg-white nx-px-1.5 nx-font-mono nx-text-[10px] nx-font-medium nx-text-gray-500","nx-border dark:nx-border-gray-100/20 dark:nx-bg-dark/50","contrast-more:nx-border-current contrast-more:nx-text-current contrast-more:dark:nx-border-current","nx-items-center nx-gap-1 nx-transition-opacity",er?"nx-z-20 nx-flex nx-cursor-pointer hover:nx-opacity-70":"nx-pointer-events-none nx-hidden sm:nx-flex"),title:er?"Clear":void 0,onClick:()=>{eo("")},children:er&&ew?"ESC":eI&&(navigator.userAgent.includes("Macintosh")?(0,ej.jsxs)(ej.Fragment,{children:[(0,ej.jsx)("span",{className:"nx-text-xs",children:"⌘"}),"K"]}):"CTRL K")})}),eP=(0,eC.useCallback)(ee=>{eE("compositionend"===ee.type)},[]);return(0,ej.jsxs)("div",{className:(0,eS.Z)("nextra-search nx-relative md:nx-w-64",ee),children:[eL&&(0,ej.jsx)("div",{className:"nx-fixed nx-inset-0 nx-z-10",onClick:()=>eh(!1)}),(0,ej.jsx)(sN,{ref:ey,value:er,onChange:ee=>{let{value:en}=ee.target;eo(en),eh(!!en)},onFocus:()=>{null==ei||ei(!0),ek(!0)},onBlur:()=>{ek(!1)},onCompositionStart:eP,onCompositionEnd:eP,type:"search",placeholder:sj(ep.search.placeholder),onKeyDown:eN,suffix:eZ}),(0,ej.jsx)(it,{show:eL,as:it.Child,leave:"nx-transition-opacity nx-duration-100",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,ej.jsx)("ul",{className:(0,eS.Z)("nextra-scrollbar","nx-border nx-border-gray-200 nx-bg-white nx-text-gray-100 dark:nx-border-neutral-800 dark:nx-bg-neutral-900","nx-absolute nx-top-full nx-z-20 nx-mt-2 nx-overflow-auto nx-overscroll-contain nx-rounded-xl nx-py-2.5 nx-shadow-xl","nx-max-h-[min(calc(50vh-11rem-env(safe-area-inset-bottom)),400px)]","md:nx-max-h-[min(calc(100vh-5rem-env(safe-area-inset-bottom)),400px)]","nx-inset-x-0 ltr:md:nx-left-auto rtl:md:nx-right-auto","contrast-more:nx-border contrast-more:nx-border-gray-900 contrast-more:dark:nx-border-gray-50",en),ref:eb,style:{transition:"max-height .2s ease"},children:eu?(0,ej.jsxs)("span",{className:"nx-flex nx-select-none nx-justify-center nx-gap-2 nx-p-8 nx-text-center nx-text-sm nx-text-red-500",children:[(0,ej.jsx)(eM.AV,{className:"nx-h-5 nx-w-5"}),sj(ep.search.error)]}):ec?(0,ej.jsxs)("span",{className:"nx-flex nx-select-none nx-justify-center nx-gap-2 nx-p-8 nx-text-center nx-text-sm nx-text-gray-400",children:[(0,ej.jsx)(eM.L4,{className:"nx-h-5 nx-w-5 nx-animate-spin"}),sE(ep.search.loading)]}):ed.length>0?ed.map(({route:ee,prefix:en,children:er,id:eo},ei)=>(0,ej.jsxs)(eC.Fragment,{children:[en,(0,ej.jsx)("li",{className:(0,eS.Z)("nx-mx-2.5 nx-break-words nx-rounded-md","contrast-more:nx-border",ei===em?"nx-bg-primary-500/10 nx-text-primary-600 contrast-more:nx-border-primary-500":"nx-text-gray-800 contrast-more:nx-border-transparent dark:nx-text-gray-300"),children:(0,ej.jsx)(sk,{className:"nx-block nx-scroll-m-12 nx-px-2.5 nx-py-2",href:ee,"data-index":ei,onFocus:eR,onMouseMove:eR,onClick:eA,onKeyDown:eN,children:er})})]},eo)):sE(ep.search.emptyResult)})})]})}var sL={},sZ=new Map,sP=(ee,en)=>{let er=ee+"@"+en;if(sZ.has(er))return sZ.get(er);let eo=sD(ee,en);return sZ.set(er,eo),eo},sD=(ee,en)=>a8(void 0,null,function*(){let er=yield fetch(`${ee}/_next/static/chunks/nextra-data-${en}.json`),eo=yield er.json(),ei=new(ob()).Document({cache:100,tokenize:"full",document:{id:"id",index:"content",store:["title"]},context:{resolution:9,depth:2,bidirectional:!0}}),ec=new(ob()).Document({cache:100,tokenize:"full",document:{id:"id",index:"content",tag:"pageId",store:["title","content","url","display"]},context:{resolution:9,depth:2,bidirectional:!0}}),eu=0;for(let[ee,en]of Object.entries(eo)){let er="";for(let[eo,ei]of(++eu,Object.entries(en.data))){let[ed,ef]=eo.split("#"),eh=ee+(ed?"#"+ed:""),ep=ef||en.title,em=ei.split("\n");ec.add(a3({id:eh,url:eh,title:ep,pageId:`page_${eu}`,content:ep},em[0]&&{display:em[0]}));for(let ee=0;ee{var er,eo;if(!ee)return;let[ei,ec]=sL[en],eu=(null==(er=ei.search(ee,5,{enrich:!0,suggest:!0})[0])?void 0:er.result)||[],ed=[],eh={};for(let en=0;enee._page_rk===en._page_rk?ee._section_rk-en._section_rk:eh[ee._page_rk]!==eh[en._page_rk]?eh[en._page_rk]-eh[ee._page_rk]:ee._page_rk-en._page_rk).map(ee=>({id:`${ee._page_rk}_${ee._section_rk}`,route:ee.route,prefix:ee.prefix,children:ee.children})))},eg=(0,eC.useCallback)(ee=>a8(this,null,function*(){if(ee&&!sL[en]){ei(!0);try{yield sP(er,en)}catch(ee){eu(!0)}ei(!1)}}),[en,er]),ex=ee=>a8(this,null,function*(){if(ep(ee),!eo){if(!sL[en]){ei(!0);try{yield sP(er,en)}catch(ee){eu(!0)}ei(!1)}em(ee)}});return(0,ej.jsx)(sM,{loading:eo,error:ec,value:eh,onChange:ex,onActive:eg,className:ee,overlayClassName:"nx-w-screen nx-min-h-[100px] nx-max-w-[min(calc(100vw-2rem),calc(100%+20rem))]",results:ed})}function sF({options:ee,selected:en,onChange:er,title:eo,className:ei}){let[ec,eu]=sO({strategy:"fixed",placement:"top-start",modifiers:[{name:"offset",options:{offset:[0,10]}},{name:"sameWidth",enabled:!0,fn({state:ee}){ee.styles.popper.minWidth=`${ee.rects.reference.width}px`},phase:"beforeWrite",requires:["computeStyles"]}]});return(0,ej.jsx)(i1,{value:en,onChange:er,children:({open:er})=>(0,ej.jsxs)(i1.Button,{ref:ec,title:eo,className:(0,eS.Z)("nx-h-7 nx-rounded-md nx-px-2 nx-text-left nx-text-xs nx-font-medium nx-text-gray-600 nx-transition-colors dark:nx-text-gray-400",er?"nx-bg-gray-200 nx-text-gray-900 dark:nx-bg-primary-100/10 dark:nx-text-gray-50":"hover:nx-bg-gray-100 hover:nx-text-gray-900 dark:hover:nx-bg-primary-100/5 dark:hover:nx-text-gray-50",ei),children:[en.name,(0,ej.jsx)(sH,{children:(0,ej.jsx)(it,{ref:eu,show:er,as:i1.Options,className:"nx-z-20 nx-max-h-64 nx-overflow-auto nx-rounded-md nx-ring-1 nx-ring-black/5 nx-bg-white nx-py-1 nx-text-sm nx-shadow-lg dark:nx-ring-white/20 dark:nx-bg-neutral-800",leave:"nx-transition-opacity",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:ee.map(ee=>(0,ej.jsxs)(i1.Option,{value:ee,className:({active:ee})=>(0,eS.Z)(ee?"nx-bg-primary-50 nx-text-primary-600 dark:nx-bg-primary-500/10":"nx-text-gray-800 dark:nx-text-gray-100","nx-relative nx-cursor-pointer nx-whitespace-nowrap nx-py-1.5","nx-transition-colors ltr:nx-pl-3 ltr:nx-pr-9 rtl:nx-pr-3 rtl:nx-pl-9"),children:[ee.name,ee.key===en.key&&(0,ej.jsx)("span",{className:"nx-absolute nx-inset-y-0 nx-flex nx-items-center ltr:nx-right-3 rtl:nx-left-3",children:(0,ej.jsx)(eM.nQ,{})})]},ee.key))})})]})})}function sH(ee){let en=eT();return en?(0,i2.createPortal)(ee.children,document.body):null}function sB({lite:ee,className:en}){let er=sg(),{locale:eo,asPath:ei}=(0,eO.useRouter)(),ec=er.i18n;if(!ec.length)return null;let eu=ec.find(ee=>eo===ee.locale);return(0,ej.jsx)(sF,{title:"Change language",className:en,onChange:ee=>{let en=new Date(Date.now()+31536e6);document.cookie=`NEXT_LOCALE=${ee.key}; expires=${en.toUTCString()}; path=/`,location.href=(0,ir.addBasePath)(ei)},selected:{key:(null==eu?void 0:eu.locale)||"",name:(0,ej.jsxs)("span",{className:"nx-flex nx-items-center nx-gap-2",children:[(0,ej.jsx)(eM.n9,{}),(0,ej.jsx)("span",{className:ee?"nx-hidden":"",children:null==eu?void 0:eu.text})]})},options:ec.map(ee=>({key:ee.locale,name:ee.text}))})}function sW({menu:ee}){let en=sg();return(0,ej.jsxs)("footer",{className:"nx-bg-gray-100 nx-pb-[env(safe-area-inset-bottom)] dark:nx-bg-neutral-900 print:nx-bg-transparent",children:[(0,ej.jsxs)("div",{className:(0,eS.Z)("nx-mx-auto nx-flex nx-max-w-[90rem] nx-gap-2 nx-py-2 nx-px-4",ee&&(en.i18n.length>0||en.darkMode)?"nx-flex":"nx-hidden"),children:[(0,ej.jsx)(sB,{}),en.darkMode&&sE(en.themeSwitch.component)]}),(0,ej.jsx)("hr",{className:"dark:nx-border-neutral-800"}),(0,ej.jsx)("div",{className:(0,eS.Z)("nx-mx-auto nx-flex nx-max-w-[90rem] nx-justify-center nx-py-12 nx-text-gray-600 dark:nx-text-gray-400 md:nx-justify-start","nx-pl-[max(env(safe-area-inset-left),1.5rem)] nx-pr-[max(env(safe-area-inset-right),1.5rem)]"),children:sE(en.footer.text)})]})}function sG(){var ee;let en=sg(),{resolvedTheme:er}=nD(),eo=eT(),ei="function"==typeof en.head?en.head({}):en.head,{primaryHue:ec,primarySaturation:eu}=en,{dark:ed,light:ef}="number"==typeof ec?{dark:ec,light:ec}:ec,{dark:eh,light:ep}="number"==typeof eu?{dark:eu,light:eu}:eu,em=en.frontMatter;return(0,ej.jsxs)(ej.Fragment,{children:[(0,ej.jsx)(ao,a3({title:en.title,description:em.description,canonical:em.canonical,openGraph:em.openGraph},null==(ee=en.useNextSeoProps)?void 0:ee.call(en))),(0,ej.jsxs)(i4(),{children:[en.faviconGlyph?(0,ej.jsx)("link",{rel:"icon",href:`data:image/svg+xml;utf8,${en.faviconGlyph}`}):null,eo?(0,ej.jsx)("meta",{name:"theme-color",content:"dark"===er?"#111":"#fff"}):(0,ej.jsxs)(ej.Fragment,{children:[(0,ej.jsx)("meta",{name:"theme-color",content:"#fff",media:"(prefers-color-scheme: light)"}),(0,ej.jsx)("meta",{name:"theme-color",content:"#111",media:"(prefers-color-scheme: dark)"})]}),(0,ej.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, viewport-fit=cover"}),(0,ej.jsx)("style",{children:` + :root { + --nextra-primary-hue: ${ef}deg; + --nextra-primary-saturation: ${ep}%; + --nextra-navbar-height: 4rem; + --nextra-menu-height: 3.75rem; + --nextra-banner-height: 2.5rem; + } + + .dark { + --nextra-primary-hue: ${ed}deg; + --nextra-primary-saturation: ${eh}%; + } + `}),ei]})]})}var s$={link:(0,eS.Z)("nx-flex nx-max-w-[50%] nx-items-center nx-gap-1 nx-py-4 nx-text-base nx-font-medium nx-text-gray-600 nx-transition-colors [word-break:break-word] hover:nx-text-primary-600 dark:nx-text-gray-300 md:nx-text-lg"),icon:(0,eS.Z)("nx-inline nx-h-5 nx-shrink-0")},sU=({flatDirectories:ee,currentIndex:en})=>{let er=sg(),eo=er.navigation,ei="boolean"==typeof eo?{prev:eo,next:eo}:eo,ec=ei.prev&&ee[en-1],eu=ei.next&&ee[en+1];return(ec&&!ec.isUnderCurrentDocsTree&&(ec=!1),eu&&!eu.isUnderCurrentDocsTree&&(eu=!1),ec||eu)?(0,ej.jsxs)("div",{className:(0,eS.Z)("nx-mb-8 nx-flex nx-items-center nx-border-t nx-pt-8 dark:nx-border-neutral-800","contrast-more:nx-border-neutral-400 dark:contrast-more:nx-border-neutral-400","print:nx-hidden"),children:[ec&&(0,ej.jsxs)(sk,{href:ec.route,title:ec.title,className:(0,eS.Z)(s$.link,"ltr:nx-pr-4 rtl:nx-pl-4"),children:[(0,ej.jsx)(eM.LZ,{className:(0,eS.Z)(s$.icon,"ltr:nx-rotate-180")}),ec.title]}),eu&&(0,ej.jsxs)(sk,{href:eu.route,title:eu.title,className:(0,eS.Z)(s$.link,"ltr:nx-ml-auto ltr:nx-pl-4 ltr:nx-text-right rtl:nx-mr-auto rtl:nx-pr-4 rtl:nx-text-left"),children:[eu.title,(0,ej.jsx)(eM.LZ,{className:(0,eS.Z)(s$.icon,"rtl:nx-rotate-180")})]})]}):null},sV={link:(0,eS.Z)("nx-text-sm contrast-more:nx-text-gray-700 contrast-more:dark:nx-text-gray-100"),active:(0,eS.Z)("nx-font-medium nx-subpixel-antialiased"),inactive:(0,eS.Z)("nx-text-gray-600 hover:nx-text-gray-800 dark:nx-text-gray-400 dark:hover:nx-text-gray-200")};function sq({className:ee,menu:en,children:er}){let{items:eo}=en,ei=Object.fromEntries((en.children||[]).map(ee=>[ee.name,ee]));return(0,ej.jsx)("div",{className:"nx-relative nx-inline-block",children:(0,ej.jsxs)(aO,{children:[(0,ej.jsx)(aO.Button,{className:(0,eS.Z)(ee,"-nx-ml-2 nx-hidden nx-items-center nx-whitespace-nowrap nx-rounded nx-p-2 md:nx-inline-flex",sV.inactive),children:er}),(0,ej.jsx)(it,{leave:"nx-transition-opacity",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,ej.jsx)(aO.Items,{className:"nx-absolute nx-right-0 nx-z-20 nx-mt-1 nx-max-h-64 nx-min-w-full nx-overflow-auto nx-rounded-md nx-ring-1 nx-ring-black/5 nx-bg-white nx-py-1 nx-text-sm nx-shadow-lg dark:nx-ring-white/20 dark:nx-bg-neutral-800",tabIndex:0,children:Object.entries(eo||{}).map(([ee,er])=>{var eo;return(0,ej.jsx)(aO.Item,{children:(0,ej.jsx)(sk,{href:er.href||(null==(eo=ei[ee])?void 0:eo.route)||en.route+"/"+ee,className:(0,eS.Z)("nx-relative nx-hidden nx-w-full nx-select-none nx-whitespace-nowrap nx-text-gray-600 hover:nx-text-gray-900 dark:nx-text-gray-400 dark:hover:nx-text-gray-100 md:nx-inline-block","nx-py-1.5 nx-transition-colors ltr:nx-pl-3 ltr:nx-pr-9 rtl:nx-pr-3 rtl:nx-pl-9"),newWindow:er.newWindow,children:er.title||ee})},ee)})})})]})})}function sX({flatDirectories:ee,items:en}){let er=sg(),eo=eN(),{menu:ei,setMenu:ec}=sh();return(0,ej.jsxs)("div",{className:"nextra-nav-container nx-sticky nx-top-0 nx-z-20 nx-w-full nx-bg-transparent print:nx-hidden",children:[(0,ej.jsx)("div",{className:(0,eS.Z)("nextra-nav-container-blur","nx-pointer-events-none nx-absolute nx-z-[-1] nx-h-full nx-w-full nx-bg-white dark:nx-bg-dark","nx-shadow-[0_2px_4px_rgba(0,0,0,.02),0_1px_0_rgba(0,0,0,.06)] dark:nx-shadow-[0_-1px_0_rgba(255,255,255,.1)_inset]","contrast-more:nx-shadow-[0_0_0_1px_#000] contrast-more:dark:nx-shadow-[0_0_0_1px_#fff]")}),(0,ej.jsxs)("nav",{className:"nx-mx-auto nx-flex nx-h-[var(--nextra-navbar-height)] nx-max-w-[90rem] nx-items-center nx-justify-end nx-gap-2 nx-pl-[max(env(safe-area-inset-left),1.5rem)] nx-pr-[max(env(safe-area-inset-right),1.5rem)]",children:[er.logoLink?(0,ej.jsx)(sk,{href:"string"==typeof er.logoLink?er.logoLink:"/",className:"nx-flex nx-items-center hover:nx-opacity-75 ltr:nx-mr-auto rtl:nx-ml-auto",children:sE(er.logo)}):(0,ej.jsx)("div",{className:"nx-flex nx-items-center ltr:nx-mr-auto rtl:nx-ml-auto",children:sE(er.logo)}),en.map(ee=>{if("hidden"===ee.display)return null;if("menu"===ee.type){let en=ee;return(0,ej.jsxs)(sq,{className:(0,eS.Z)(sV.link,"nx-flex nx-gap-1",sV.inactive),menu:en,children:[en.title,(0,ej.jsx)(eM.LZ,{className:"nx-h-[18px] nx-min-w-[18px] nx-rounded-sm nx-p-0.5",pathClassName:"nx-origin-center nx-transition-transform nx-rotate-90"})]},en.title)}let en=ee,er=en.href||en.route||"#";en.children&&(er=(en.withIndexPage?en.route:en.firstChildRoute)||er);let ei=en.route===eo||eo.startsWith(en.route+"/");return(0,ej.jsxs)(sk,{href:er,className:(0,eS.Z)(sV.link,"nx-relative -nx-ml-2 nx-hidden nx-whitespace-nowrap nx-p-2 md:nx-inline-block",!ei||en.newWindow?sV.inactive:sV.active),newWindow:en.newWindow,"aria-current":!en.newWindow&&ei,children:[(0,ej.jsx)("span",{className:"nx-absolute nx-inset-x-0 nx-text-center",children:en.title}),(0,ej.jsx)("span",{className:"nx-invisible nx-font-medium",children:en.title})]},er)}),sE(er.search.component,{directories:ee,className:"nx-hidden md:nx-inline-block mx-min-w-[200px]"}),er.project.link?(0,ej.jsx)(sk,{className:"nx-p-2 nx-text-current",href:er.project.link,newWindow:!0,children:sE(er.project.icon)}):null,er.chat.link?(0,ej.jsx)(sk,{className:"nx-p-2 nx-text-current",href:er.chat.link,newWindow:!0,children:sE(er.chat.icon)}):null,sE(er.navbar.extraContent),(0,ej.jsx)("button",{type:"button","aria-label":"Menu",className:"nextra-hamburger -nx-mr-2 nx-rounded nx-p-2 active:nx-bg-gray-400/20 md:nx-hidden",onClick:()=>ec(!ei),children:(0,ej.jsx)(eM.Oq,{className:(0,eS.Z)({open:ei})})})]})]})}var sK=Object.create(null),sY=(0,eC.createContext)(null),sQ=(0,eC.createContext)(null),sJ=(0,eC.createContext)(0),s0=(0,eC.memo)(function(ee){let en=(0,eC.useContext)(sJ);return(0,ej.jsx)(sJ.Provider,{value:en+1,children:(0,ej.jsx)(s2,a3({},ee))})}),s1={link:(0,eS.Z)("nx-flex nx-rounded nx-px-2 nx-py-1.5 nx-text-sm nx-transition-colors [word-break:break-word]","nx-cursor-pointer [-webkit-tap-highlight-color:transparent] [-webkit-touch-callout:none] contrast-more:nx-border"),inactive:(0,eS.Z)("nx-text-gray-500 hover:nx-bg-gray-100 hover:nx-text-gray-900","dark:nx-text-neutral-400 dark:hover:nx-bg-primary-100/5 dark:hover:nx-text-gray-50","contrast-more:nx-text-gray-900 contrast-more:dark:nx-text-gray-50","contrast-more:nx-border-transparent contrast-more:hover:nx-border-gray-900 contrast-more:dark:hover:nx-border-gray-50"),active:(0,eS.Z)("nx-bg-primary-100 nx-font-semibold nx-text-primary-800 dark:nx-bg-primary-400/10 dark:nx-text-primary-600","contrast-more:nx-border-primary-500 contrast-more:dark:nx-border-primary-500"),list:(0,eS.Z)("nx-flex nx-flex-col nx-gap-1"),border:(0,eS.Z)("nx-relative before:nx-absolute before:nx-inset-y-1",'before:nx-w-px before:nx-bg-gray-200 before:nx-content-[""] dark:before:nx-bg-neutral-800',"ltr:nx-pl-3 ltr:before:nx-left-0 rtl:nx-pr-3 rtl:before:nx-right-0")};function s2({item:ee,anchors:en}){let er=eN(),[eo]=er.split("#"),ei=[eo,eo+"/"].includes(ee.route+"/"),ec=ei||eo.startsWith(ee.route+"/"),eu=(0,eC.useContext)(sY),ed=!!(null==eu?void 0:eu.startsWith(ee.route+"/")),ef=(0,eC.useContext)(sJ),{setMenu:eh}=sh(),ep=sg(),{theme:em}=ee,eg=void 0===sK[ee.route]?ei||ec||ed||(em&&"collapsed"in em?!em.collapsed:ef{let en=()=>{(ec||ed)&&(sK[ee.route]=!0)},er=()=>{ec&&ed?sK[ee.route]=!0:delete sK[ee.route]};ep.sidebar.autoCollapse?er():en()},[ec,ed,ee.route,ep.sidebar.autoCollapse]),"menu"===ee.type){let en=ee,er=Object.fromEntries((en.children||[]).map(ee=>[ee.name,ee]));ee.children=Object.entries(en.items||{}).map(([ee,eo])=>{let ei=er[ee]||a9(a3({name:ee},"locale"in en&&{locale:en.locale}),{route:en.route+"/"+ee});return a3(a3({},ei),eo)})}let ev="withIndexPage"in ee&&ee.withIndexPage,ey=ev?sk:"button";return(0,ej.jsxs)("li",{className:(0,eS.Z)({open:eg,active:ei}),children:[(0,ej.jsxs)(ey,{href:ev?ee.route:void 0,className:(0,eS.Z)("nx-items-center nx-justify-between nx-gap-2",!ev&&"nx-text-left nx-w-full",s1.link,ei?s1.active:s1.inactive),onClick:en=>{let er=["svg","path"].includes(en.target.tagName.toLowerCase());if(er&&en.preventDefault(),ev){ei||er?sK[ee.route]=!eg:(sK[ee.route]=!0,eh(!1)),ex({});return}ei||(sK[ee.route]=!eg,ex({}))},children:[sE(ep.sidebar.titleComponent,{title:ee.title,type:ee.type,route:ee.route}),(0,ej.jsx)(eM.LZ,{className:"nx-h-[18px] nx-min-w-[18px] nx-rounded-sm nx-p-0.5 hover:nx-bg-gray-800/5 dark:hover:nx-bg-gray-100/5",pathClassName:(0,eS.Z)("nx-origin-center nx-transition-transform rtl:-nx-rotate-180",eg&&"ltr:nx-rotate-90 rtl:nx-rotate-[-270deg]")})]}),(0,ej.jsx)(sA,{className:"ltr:nx-pr-0 rtl:nx-pl-0 nx-pt-1",isOpen:eg,children:Array.isArray(ee.children)?(0,ej.jsx)(s4,{className:(0,eS.Z)(s1.border,"ltr:nx-ml-3 rtl:nx-mr-3"),directories:ee.children,base:ee.route,anchors:en}):null})]})}function s5({title:ee}){let en=sg();return(0,ej.jsx)("li",{className:(0,eS.Z)("[word-break:break-word]",ee?"nx-mt-5 nx-mb-2 nx-px-2 nx-py-1.5 nx-text-sm nx-font-semibold nx-text-gray-900 first:nx-mt-0 dark:nx-text-gray-100":"nx-my-4"),children:ee?sE(en.sidebar.titleComponent,{title:ee,type:"separator",route:""}):(0,ej.jsx)("hr",{className:"nx-mx-2 nx-border-t nx-border-gray-200 dark:nx-border-primary-100/10"})})}function File({item:ee,anchors:en}){let er=eN(),eo=(0,eC.useContext)(sQ),ei=ee.route&&[er,er+"/"].includes(ee.route+"/"),ec=ss(),{setMenu:eu}=sh(),ed=sg();return"separator"===ee.type?(0,ej.jsx)(s5,{title:ee.title}):(0,ej.jsxs)("li",{className:(0,eS.Z)(s1.list,{active:ei}),children:[(0,ej.jsx)(sk,{href:ee.href||ee.route,newWindow:ee.newWindow,className:(0,eS.Z)(s1.link,ei?s1.active:s1.inactive),onClick:()=>{eu(!1)},onFocus:()=>{null==eo||eo(ee.route)},onBlur:()=>{null==eo||eo(null)},children:sE(ed.sidebar.titleComponent,{title:ee.title,type:ee.type,route:ee.route})}),ei&&en.length>0&&(0,ej.jsx)("ul",{className:(0,eS.Z)(s1.list,s1.border,"ltr:nx-ml-3 rtl:nx-mr-3"),children:en.map(({id:ee,value:en})=>{var er;return(0,ej.jsx)("li",{children:(0,ej.jsx)("a",{href:`#${ee}`,className:(0,eS.Z)(s1.link,'nx-flex nx-gap-2 before:nx-opacity-25 before:nx-content-["#"]',(null==(er=ec[ee])?void 0:er.isActive)?s1.active:s1.inactive),onClick:()=>{eu(!1)},children:en})},ee)})})]})}function s4({directories:ee,anchors:en,className:er,onlyCurrentDocs:eo}){return(0,ej.jsx)("ul",{className:(0,eS.Z)(s1.list,er),children:ee.map(ee=>!eo||ee.isUnderCurrentDocsTree?"menu"===ee.type||ee.children&&(ee.children.length||!ee.withIndexPage)?(0,ej.jsx)(s0,{item:ee,anchors:en},ee.name):(0,ej.jsx)(File,{item:ee,anchors:en},ee.name):null)})}function s6({docsDirectories:ee,flatDirectories:en,fullDirectories:er,asPopover:eo=!1,headings:ei,includePlaceholder:ec}){let eu=sg(),{menu:ed,setMenu:ef}=sh(),eh=(0,eO.useRouter)(),[ep,em]=(0,eC.useState)(null),[eg,ex]=(0,eC.useState)(!0),[ev,ey]=(0,eC.useState)(!1),eb=(0,eC.useMemo)(()=>ei.filter(ee=>2===ee.depth),[ei]),ew=(0,eC.useRef)(null),ek=(0,eC.useRef)(null),e_=eT();(0,eC.useEffect)(()=>{ed?document.body.classList.add("nx-overflow-hidden","md:nx-overflow-auto"):document.body.classList.remove("nx-overflow-hidden","md:nx-overflow-auto")},[ed]),(0,eC.useEffect)(()=>{var ee;let en=null==(ee=ew.current)?void 0:ee.querySelector("li.active");if(en&&(window.innerWidth>767||ed)){let ee=()=>{aM(en,{block:"center",inline:"center",scrollMode:"always",boundary:ek.current})};ed?setTimeout(ee,300):ee()}},[ed]),(0,eC.useEffect)(()=>{ef(!1)},[eh.asPath,ef]);let eE=eu.i18n.length>0,eA=eu.darkMode||eE||eu.sidebar.toggleButton;return(0,ej.jsxs)(ej.Fragment,{children:[ec&&eo?(0,ej.jsx)("div",{className:"max-xl:nx-hidden nx-h-0 nx-w-64 nx-shrink-0"}):null,(0,ej.jsx)("div",{className:(0,eS.Z)("motion-reduce:nx-transition-none [transition:background-color_1.5s_ease]",ed?"nx-fixed nx-inset-0 nx-z-10 nx-bg-black/80 dark:nx-bg-black/60":"nx-bg-transparent"),onClick:()=>ef(!1)}),(0,ej.jsxs)("aside",{className:(0,eS.Z)("nextra-sidebar-container nx-flex nx-flex-col","md:nx-top-16 md:nx-shrink-0 motion-reduce:nx-transform-none","nx-transform-gpu nx-transition-all nx-ease-in-out","print:nx-hidden",eg?"md:nx-w-64":"md:nx-w-20",eo?"md:nx-hidden":"md:nx-sticky md:nx-self-start",ed?"max-md:[transform:translate3d(0,0,0)]":"max-md:[transform:translate3d(0,-100%,0)]"),ref:ek,children:[(0,ej.jsx)("div",{className:"nx-px-4 nx-pt-4 md:nx-hidden",children:sE(eu.search.component,{directories:en})}),(0,ej.jsx)(sY.Provider,{value:ep,children:(0,ej.jsx)(sQ.Provider,{value:ee=>{em(ee)},children:(0,ej.jsxs)("div",{className:(0,eS.Z)("nx-overflow-y-auto nx-overflow-x-hidden","nx-p-4 nx-grow md:nx-h-[calc(100vh-var(--nextra-navbar-height)-var(--nextra-menu-height))]",eg?"nextra-scrollbar":"no-scrollbar"),ref:ew,children:[(!eo||!eg)&&(0,ej.jsx)(sA,{isOpen:eg,horizontal:!0,children:(0,ej.jsx)(s4,{className:"nextra-menu-desktop max-md:nx-hidden",directories:ee,anchors:eu.toc.float?[]:eb,onlyCurrentDocs:!0})}),e_&&window.innerWidth<768&&(0,ej.jsx)(s4,{className:"nextra-menu-mobile md:nx-hidden",directories:er,anchors:eb})]})})}),eA&&(0,ej.jsxs)("div",{className:(0,eS.Z)("nx-sticky nx-bottom-0","nx-bg-white dark:nx-bg-dark","nx-mx-4 nx-py-4 nx-shadow-[0_-12px_16px_#fff]","nx-flex nx-items-center nx-gap-2","dark:nx-border-neutral-800 dark:nx-shadow-[0_-12px_16px_#111]","contrast-more:nx-border-neutral-400 contrast-more:nx-shadow-none contrast-more:dark:nx-shadow-none",eg?(0,eS.Z)(eE&&"nx-justify-end","nx-border-t"):"nx-py-4 nx-flex-wrap nx-justify-center"),"data-toggle-animation":ev?eg?"show":"hide":"off",children:[(0,ej.jsx)(sB,{lite:!eg,className:(0,eS.Z)(eg?"nx-grow":"max-md:nx-grow")}),eu.darkMode&&(0,ej.jsx)("div",{className:eg&&!eE?"nx-grow nx-flex nx-flex-col":"",children:sE(eu.themeSwitch.component,{lite:!eg||eE})}),eu.sidebar.toggleButton&&(0,ej.jsx)("button",{title:eg?"Hide sidebar":"Show sidebar",className:"max-md:nx-hidden nx-h-7 nx-rounded-md nx-transition-colors nx-text-gray-600 dark:nx-text-gray-400 nx-px-2 hover:nx-bg-gray-100 hover:nx-text-gray-900 dark:hover:nx-bg-primary-100/5 dark:hover:nx-text-gray-50",onClick:()=>{ex(!eg),ey(!0)},children:(0,ej.jsx)(eM.Qq,{isOpen:eg})})]})]})]})}var s3="reach-skip-nav",s9="Skip to content";(0,eC.forwardRef)(function(ee,en){var er=ee,{className:eo,id:ei,label:ec=s9,styled:eu}=er,ed=a7(er,["className","id","label","styled"]);let ef=void 0===eo?eu?(0,eS.Z)("nx-sr-only","focus:nx-not-sr-only focus:nx-fixed focus:nx-z-50 focus:nx-m-3 focus:nx-ml-4 focus:nx-h-[calc(var(--nextra-navbar-height)-1.5rem)] focus:nx-rounded-lg focus:nx-border focus:nx-px-3 focus:nx-py-2 focus:nx-align-middle focus:nx-text-sm focus:nx-font-bold","focus:nx-text-gray-900 focus:dark:nx-text-gray-100","focus:nx-bg-white focus:dark:nx-bg-neutral-900","focus:nx-border-neutral-400 focus:dark:nx-border-neutral-800"):"":eo;return(0,ej.jsx)("a",a9(a3({},ed),{ref:en,href:`#${ei||s3}`,className:ef,"data-reach-skip-link":"",children:ec}))}).displayName="SkipNavLink";var s7=(0,eC.forwardRef)(function(ee,en){var er=ee,{id:eo}=er,ei=a7(er,["id"]);return(0,ej.jsx)("div",a9(a3({},ei),{ref:en,id:eo||s3}))});s7.displayName="SkipNavContent";var s8=nT.strictObject({light:nT.string(),dark:nT.string(),system:nT.string()});function lt({lite:ee,className:en}){let{setTheme:er,resolvedTheme:eo,theme:ei=""}=nD(),ec=eT(),eu=sg().themeSwitch,ed=ec&&"dark"===eo?eM.kL:eM.NW,ef="function"==typeof eu.useOptions?eu.useOptions():eu.useOptions;return(0,ej.jsx)(sF,{className:en,title:"Change theme",options:[{key:"light",name:ef.light},{key:"dark",name:ef.dark},{key:"system",name:ef.system}],onChange:ee=>{er(ee.key)},selected:{key:ei,name:(0,ej.jsxs)("div",{className:"nx-flex nx-items-center nx-gap-2 nx-capitalize",children:[(0,ej.jsx)(ed,{}),(0,ej.jsx)("span",{className:ee?"md:nx-hidden":"",children:ec?ef[ei]:ef.light})]})}})}function ln(){window.scrollTo({top:0,behavior:"smooth"})}function lr({className:ee}){let en=(0,eC.useRef)(null);return(0,eC.useEffect)(()=>{function ee(){var ee;let{scrollTop:er}=document.documentElement;null==(ee=en.current)||ee.classList.toggle("nx-opacity-0",er<300)}return window.addEventListener("scroll",ee),()=>{window.removeEventListener("scroll",ee)}},[]),(0,ej.jsxs)("button",{ref:en,"aria-hidden":"true",onClick:ln,className:(0,eS.Z)("nx-flex nx-items-center nx-gap-1.5 nx-transition nx-opacity-0",ee),children:["Scroll to top",(0,ej.jsx)(eM.LZ,{className:"-nx-rotate-90 nx-w-3.5 nx-h-3.5 nx-border nx-rounded-full nx-border-current"})]})}var lo=(0,eS.Z)("nx-text-xs nx-font-medium nx-text-gray-500 hover:nx-text-gray-900 dark:nx-text-gray-400 dark:hover:nx-text-gray-100","contrast-more:nx-text-gray-800 contrast-more:dark:nx-text-gray-50");function li({headings:ee,filePath:en}){var er;let eo=ss(),ei=sg(),ec=(0,eC.useRef)(null),eu=(0,eC.useMemo)(()=>ee.filter(ee=>ee.depth>1),[ee]),ed=eu.length>0,ef=!!(ei.feedback.content||ei.editLink.component||ei.toc.extraContent),eh=null==(er=Object.entries(eo).find(([,{isActive:ee}])=>ee))?void 0:er[0];return(0,eC.useEffect)(()=>{var ee;if(!eh)return;let en=null==(ee=ec.current)?void 0:ee.querySelector(`li > a[href="#${eh}"]`);en&&aM(en,{behavior:"smooth",block:"center",inline:"center",scrollMode:"always",boundary:ec.current})},[eh]),(0,ej.jsxs)("div",{ref:ec,className:(0,eS.Z)("nextra-scrollbar nx-sticky nx-top-16 nx-overflow-y-auto nx-pr-4 nx-pt-6 nx-text-sm [hyphens:auto]","nx-max-h-[calc(100vh-var(--nextra-navbar-height)-env(safe-area-inset-bottom))] ltr:-nx-mr-4 rtl:-nx-ml-4"),children:[ed&&(0,ej.jsxs)(ej.Fragment,{children:[(0,ej.jsx)("p",{className:"nx-mb-4 nx-font-semibold nx-tracking-tight",children:sE(ei.toc.title)}),(0,ej.jsx)("ul",{children:eu.map(({id:ee,value:en,depth:er})=>{var ec,eu,ed,ef;return(0,ej.jsx)("li",{className:"nx-my-2 nx-scroll-my-6 nx-scroll-py-6",children:(0,ej.jsx)("a",{href:`#${ee}`,className:(0,eS.Z)({2:"nx-font-semibold",3:"ltr:nx-pl-4 rtl:nx-pr-4",4:"ltr:nx-pl-8 rtl:nx-pr-8",5:"ltr:nx-pl-12 rtl:nx-pr-12",6:"ltr:nx-pl-16 rtl:nx-pr-16"}[er],"nx-inline-block",(null==(ec=eo[ee])?void 0:ec.isActive)?"nx-text-primary-600 nx-subpixel-antialiased contrast-more:!nx-text-primary-600":"nx-text-gray-500 hover:nx-text-gray-900 dark:nx-text-gray-400 dark:hover:nx-text-gray-300","contrast-more:nx-text-gray-900 contrast-more:nx-underline contrast-more:dark:nx-text-gray-50 nx-w-full nx-break-words"),children:null!=(ef=null==(ed=(eu=ei.toc).headingComponent)?void 0:ed.call(eu,{id:ee,children:en}))?ef:en})},ee)})})]}),ef&&(0,ej.jsxs)("div",{className:(0,eS.Z)(ed&&"nx-mt-8 nx-border-t nx-bg-white nx-pt-8 nx-shadow-[0_-12px_16px_white] dark:nx-bg-dark dark:nx-shadow-[0_-12px_16px_#111]","nx-sticky nx-bottom-0 nx-flex nx-flex-col nx-items-start nx-gap-2 nx-pb-8 dark:nx-border-neutral-800","contrast-more:nx-border-t contrast-more:nx-border-neutral-400 contrast-more:nx-shadow-none contrast-more:dark:nx-border-neutral-400"),children:[ei.feedback.content?(0,ej.jsx)(sk,{className:lo,href:ei.feedback.useLink(),newWindow:!0,children:sE(ei.feedback.content)}):null,sE(ei.editLink.component,{filePath:en,className:lo,children:sE(ei.editLink.text)}),sE(ei.toc.extraContent),ei.toc.backToTop&&(0,ej.jsx)(lr,{className:lo})]})]})}function ls({className:ee,directories:en}){let[er,eo]=(0,eC.useState)(""),ei=(0,eC.useMemo)(()=>er?aF(en,er,{keys:["title"]}).map(({route:ee,title:en})=>({id:ee+en,route:ee,children:(0,ej.jsx)(sR,{value:en,match:er})})):[],[er,en]);return(0,ej.jsx)(sM,{value:er,onChange:eo,className:ee,overlayClassName:"nx-w-full",results:ei})}var ll="en-US",lc="undefined"!=typeof window;function lu(ee){return null==ee||"string"==typeof ee||ld(ee)||(0,eC.isValidElement)(ee)}function ld(ee){return"function"==typeof ee}var lf=nT.array(nT.strictObject({direction:nT.enum(["ltr","rtl"]).optional(),locale:nT.string(),text:nT.string()})),lh=[lu,{message:"Must be React.ReactNode or React.FC"}],lp=[ld,{message:"Must be React.FC"}];nT.strictObject({banner:nT.strictObject({dismissible:nT.boolean(),key:nT.string(),text:nT.custom(...lh).optional()}),chat:nT.strictObject({icon:nT.custom(...lh),link:nT.string().startsWith("https://").optional()}),components:nT.record(nT.custom(...lp)).optional(),darkMode:nT.boolean(),direction:nT.enum(["ltr","rtl"]),docsRepositoryBase:nT.string().startsWith("https://"),editLink:nT.strictObject({component:nT.custom(...lp),text:nT.custom(...lh)}),faviconGlyph:nT.string().optional(),feedback:nT.strictObject({content:nT.custom(...lh),labels:nT.string(),useLink:nT.function().returns(nT.string())}),footer:nT.strictObject({component:nT.custom(...lh),text:nT.custom(...lh)}),gitTimestamp:nT.custom(...lh),head:nT.custom(...lh),i18n:lf,logo:nT.custom(...lh),logoLink:nT.boolean().or(nT.string()),main:nT.custom(...lp).optional(),navbar:nT.strictObject({component:nT.custom(...lh),extraContent:nT.custom(...lh).optional()}),navigation:nT.boolean().or(nT.strictObject({next:nT.boolean(),prev:nT.boolean()})),nextThemes:nT.strictObject({defaultTheme:nT.string(),forcedTheme:nT.string().optional(),storageKey:nT.string()}),notFound:nT.strictObject({content:nT.custom(...lh),labels:nT.string()}),primaryHue:nT.number().or(nT.strictObject({dark:nT.number(),light:nT.number()})),primarySaturation:nT.number().or(nT.strictObject({dark:nT.number(),light:nT.number()})),project:nT.strictObject({icon:nT.custom(...lh),link:nT.string().startsWith("https://").optional()}),search:nT.strictObject({component:nT.custom(...lh),emptyResult:nT.custom(...lh),error:nT.string().or(nT.function().returns(nT.string())),loading:nT.custom(...lh),placeholder:nT.string().or(nT.function().returns(nT.string()))}),serverSideError:nT.strictObject({content:nT.custom(...lh),labels:nT.string()}),sidebar:nT.strictObject({autoCollapse:nT.boolean().optional(),defaultMenuCollapseLevel:nT.number().min(1).int(),titleComponent:nT.custom(...lh),toggleButton:nT.boolean()}),themeSwitch:nT.strictObject({component:nT.custom(...lh),useOptions:s8.or(nT.function().returns(s8))}),toc:nT.strictObject({backToTop:nT.boolean(),component:nT.custom(...lh),extraContent:nT.custom(...lh),float:nT.boolean(),headingComponent:nT.custom(...lp).optional(),title:nT.custom(...lh)}),useNextSeoProps:nT.custom(ld)}).deepPartial().extend({i18n:lf.optional()});var lm={"en-US":"Loading",fr:"Сhargement",ru:"Загрузка","zh-CN":"正在加载"},lg={"en-US":"Search documentation",fr:"Rechercher documents",ru:"Поиск документации","zh-CN":"搜索文档"},lx={banner:{dismissible:!0,key:"nextra-banner"},chat:{icon:(0,ej.jsxs)(ej.Fragment,{children:[(0,ej.jsx)(eM.D7,{}),(0,ej.jsx)("span",{className:"nx-sr-only",children:"Discord"})]})},darkMode:!0,direction:"ltr",docsRepositoryBase:"https://github.com/shuding/nextra",editLink:{component:function({className:ee,filePath:en,children:er}){let eo=sC(en);return eo?(0,ej.jsx)(sk,{className:ee,href:eo,children:er}):null},text:"Edit this page"},feedback:{content:"Question? Give us feedback →",labels:"feedback",useLink(){let ee=sg();return s_({labels:ee.feedback.labels,repository:ee.docsRepositoryBase,title:`Feedback for \u201C${ee.title}\u201D`})}},footer:{component:sW,text:`MIT ${new Date().getFullYear()} \xa9 Nextra.`},gitTimestamp:function({timestamp:ee}){let{locale:en=ll}=(0,eO.useRouter)();return(0,ej.jsxs)(ej.Fragment,{children:["Last updated on"," ",(0,ej.jsx)("time",{dateTime:ee.toISOString(),children:ee.toLocaleDateString(en,{day:"numeric",month:"long",year:"numeric"})})]})},head:(0,ej.jsxs)(ej.Fragment,{children:[(0,ej.jsx)("meta",{name:"msapplication-TileColor",content:"#fff"}),(0,ej.jsx)("meta",{httpEquiv:"Content-Language",content:"en"}),(0,ej.jsx)("meta",{name:"description",content:"Nextra: the next docs builder"}),(0,ej.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,ej.jsx)("meta",{name:"twitter:site",content:"@shuding_"}),(0,ej.jsx)("meta",{property:"og:title",content:"Nextra: the next docs builder"}),(0,ej.jsx)("meta",{property:"og:description",content:"Nextra: the next docs builder"}),(0,ej.jsx)("meta",{name:"apple-mobile-web-app-title",content:"Nextra"})]}),i18n:[],logo:(0,ej.jsxs)(ej.Fragment,{children:[(0,ej.jsx)("span",{className:"nx-font-extrabold",children:"Nextra"}),(0,ej.jsx)("span",{className:"nx-ml-2 nx-hidden nx-font-normal nx-text-gray-600 md:nx-inline",children:"The Next Docs Builder"})]}),logoLink:!0,navbar:{component:sX},navigation:!0,nextThemes:{defaultTheme:"system",storageKey:"theme"},notFound:{content:"Submit an issue about broken link →",labels:"bug"},primaryHue:{dark:204,light:212},primarySaturation:{dark:100,light:100},project:{icon:(0,ej.jsxs)(ej.Fragment,{children:[(0,ej.jsx)(eM.fy,{}),(0,ej.jsx)("span",{className:"nx-sr-only",children:"GitHub"})]})},search:{component:function({className:ee,directories:en}){let er=sg();return er.flexsearch?(0,ej.jsx)(sz,{className:ee}):(0,ej.jsx)(ls,{className:ee,directories:en})},emptyResult:(0,ej.jsx)("span",{className:"nx-block nx-select-none nx-p-8 nx-text-center nx-text-sm nx-text-gray-400",children:"No results found."}),error:"Failed to load search index.",loading:function(){let{locale:ee,defaultLocale:en=ll}=(0,eO.useRouter)(),er=ee&&lm[ee]||lm[en];return(0,ej.jsxs)(ej.Fragment,{children:[er,"…"]})},placeholder:function(){let{locale:ee,defaultLocale:en=ll}=(0,eO.useRouter)(),er=ee&&lg[ee]||lg[en];return`${er}\u2026`}},serverSideError:{content:"Submit an issue about error in url →",labels:"bug"},sidebar:{defaultMenuCollapseLevel:2,titleComponent:({title:ee})=>(0,ej.jsx)(ej.Fragment,{children:ee}),toggleButton:!1},themeSwitch:{component:lt,useOptions(){let{locale:ee}=(0,eO.useRouter)();return"zh-CN"===ee?{dark:"深色主题",light:"浅色主题",system:"系统默认"}:{dark:"Dark",light:"Light",system:"System"}}},toc:{backToTop:!1,component:li,float:!0,title:"On This Page"},useNextSeoProps:()=>({titleTemplate:"%s – Nextra"})},lv=Object.entries(lx).map(([ee,en])=>{let er=en&&"object"==typeof en&&!Array.isArray(en)&&!(0,eC.isValidElement)(en);if(er)return ee}).filter(Boolean);if(lc){let ee;let en=()=>{document.body.classList.add("resizing"),clearTimeout(ee),ee=setTimeout(()=>{document.body.classList.remove("resizing")},200)};window.addEventListener("resize",en)}function ly(ee){var en=ee,{tag:er,context:eo,children:ei,id:ec,className:eu}=en,ed=a7(en,["tag","context","children","id","className"]);let ef=sl(),eh=su(),ep=sc(),em=(0,eC.useRef)(null);return(0,eC.useEffect)(()=>{if(!ec)return;let ee=em.current;if(ee)return eh.set(ee,[ec,eo.index+=1]),null==ep||ep.observe(ee),()=>{null==ep||ep.disconnect(),eh.delete(ee),ef(ee=>{let en=a3({},ee);return delete en[ec],en})}},[ec,eo,eh,ep,ef]),(0,ej.jsxs)(er,a9(a3({className:"sr-only"===eu?"nx-sr-only":(0,eS.Z)("nx-font-semibold nx-tracking-tight nx-text-slate-900 dark:nx-text-slate-100",{h2:"nx-mt-10 nx-border-b nx-pb-1 nx-text-3xl nx-border-neutral-200/70 contrast-more:nx-border-neutral-400 dark:nx-border-primary-100/10 contrast-more:dark:nx-border-neutral-400",h3:"nx-mt-8 nx-text-2xl",h4:"nx-mt-8 nx-text-xl",h5:"nx-mt-8 nx-text-lg",h6:"nx-mt-8 nx-text-base"}[er])},ed),{children:[ei,ec&&(0,ej.jsx)("a",{href:`#${ec}`,id:ec,className:"subheading-anchor","aria-label":"Permalink for this section",ref:em})]}))}var lb=ee=>{let en=null,er=[];return eC.Children.forEach(ee,(ee,eo)=>{var ei;if(ee&&ee.type===lk){en||(en=ee);return}let ec=ee;if(!en&&ee&&"object"==typeof ee&&ee.type!==lw&&"props"in ee&&ee.props){let er=lb(ee.props.children);en=er[0],ec=(0,eC.cloneElement)(ee,a9(a3({},ee.props),{children:(null==(ei=er[1])?void 0:ei.length)?er[1]:void 0,key:eo}))}er.push(ec)}),[en,er]},lw=ee=>{var en=ee,{children:er,open:eo}=en,ei=a7(en,["children","open"]);let[ec,eu]=(0,eC.useState)(!!eo),[ed,ef]=lb(er),[eh,ep]=(0,eC.useState)(ec);return(0,eC.useEffect)(()=>{if(ec)ep(!0);else{let ee=setTimeout(()=>ep(ec),500);return()=>clearTimeout(ee)}},[ec]),(0,ej.jsxs)("details",a9(a3(a9(a3({className:"nx-my-4 nx-rounded nx-border nx-border-gray-200 nx-bg-white nx-p-2 nx-shadow-sm first:nx-mt-0 dark:nx-border-neutral-800 dark:nx-bg-neutral-900"},ei),{open:eh}),ec&&{"data-expanded":!0}),{children:[(0,ej.jsx)(sb,{value:eu,children:ed}),(0,ej.jsx)(sA,{isOpen:ec,children:ef})]}))},lk=ee=>{let en=sy();return(0,ej.jsx)("summary",a9(a3({className:(0,eS.Z)("nx-flex nx-items-center nx-cursor-pointer nx-list-none nx-p-1 nx-transition-colors hover:nx-bg-gray-100 dark:hover:nx-bg-neutral-800","before:nx-mr-1 before:nx-inline-block before:nx-transition-transform before:nx-content-[''] dark:before:nx-invert before:nx-shrink-0","rtl:before:nx-rotate-180 [[data-expanded]>&]:before:nx-rotate-90")},ee),{onClick:ee=>{ee.preventDefault(),en(ee=>!ee)}}))},l_=/https?:\/\//,lE=ee=>{var en=ee,{href:er="",className:eo}=en,ei=a7(en,["href","className"]);return(0,ej.jsx)(sk,a3({href:er,newWindow:l_.test(er),className:(0,eS.Z)("nx-text-primary-600 nx-underline nx-decoration-from-font [text-underline-position:from-font]",eo)},ei))},lj=ee=>{var en=ee,{href:er=""}=en,eo=a7(en,["href"]);return(0,ej.jsx)(sk,a3({href:er,newWindow:l_.test(er)},eo))},lO=({isRawLayout:ee,components:en})=>{if(ee)return{a:lj};let er={index:0};return a3({h1:ee=>(0,ej.jsx)("h1",a3({className:"nx-mt-2 nx-text-4xl nx-font-bold nx-tracking-tight nx-text-slate-900 dark:nx-text-slate-100"},ee)),h2:ee=>(0,ej.jsx)(ly,a3({tag:"h2",context:er},ee)),h3:ee=>(0,ej.jsx)(ly,a3({tag:"h3",context:er},ee)),h4:ee=>(0,ej.jsx)(ly,a3({tag:"h4",context:er},ee)),h5:ee=>(0,ej.jsx)(ly,a3({tag:"h5",context:er},ee)),h6:ee=>(0,ej.jsx)(ly,a3({tag:"h6",context:er},ee)),ul:ee=>(0,ej.jsx)("ul",a3({className:"nx-mt-6 nx-list-disc first:nx-mt-0 ltr:nx-ml-6 rtl:nx-mr-6"},ee)),ol:ee=>(0,ej.jsx)("ol",a3({className:"nx-mt-6 nx-list-decimal first:nx-mt-0 ltr:nx-ml-6 rtl:nx-mr-6"},ee)),li:ee=>(0,ej.jsx)("li",a3({className:"nx-my-2"},ee)),blockquote:ee=>(0,ej.jsx)("blockquote",a3({className:(0,eS.Z)("nx-mt-6 nx-border-gray-300 nx-italic nx-text-gray-700 dark:nx-border-gray-700 dark:nx-text-gray-400","first:nx-mt-0 ltr:nx-border-l-2 ltr:nx-pl-6 rtl:nx-border-r-2 rtl:nx-pr-6")},ee)),hr:ee=>(0,ej.jsx)("hr",a3({className:"nx-my-8 nx-border-neutral-200/70 contrast-more:nx-border-neutral-400 dark:nx-border-primary-100/10 contrast-more:dark:nx-border-neutral-400"},ee)),a:lE,table:ee=>(0,ej.jsx)(aQ.iA,a3({className:"nextra-scrollbar nx-mt-6 nx-p-0 first:nx-mt-0"},ee)),p:ee=>(0,ej.jsx)("p",a3({className:"nx-mt-6 nx-leading-7 first:nx-mt-0"},ee)),tr:aQ.Tr,th:aQ.Th,td:aQ.Td,details:lw,summary:lk,pre:aQ.SU,code:aQ.EK},en)},lC={toc:(0,eS.Z)("nextra-toc nx-order-last nx-hidden nx-w-64 nx-shrink-0 xl:nx-block print:nx-hidden"),main:(0,eS.Z)("nx-w-full nx-break-words")},lS=({themeContext:ee,breadcrumb:en,timestamp:er,navigation:eo,children:ei})=>{var ec;let eu=sg(),ed=eT();if("raw"===ee.layout)return(0,ej.jsx)("div",{className:lC.main,children:ei});let ef=ee.timestamp&&eu.gitTimestamp&&er?new Date(er):null,eh=ed&&ef?(0,ej.jsx)("div",{className:"nx-mt-12 nx-mb-8 nx-block nx-text-xs nx-text-gray-500 ltr:nx-text-right rtl:nx-text-left dark:nx-text-gray-400",children:sE(eu.gitTimestamp,{timestamp:ef})}):(0,ej.jsx)("div",{className:"nx-mt-16"}),ep=(0,ej.jsxs)(ej.Fragment,{children:[ei,eh,eo]}),em=(null==(ec=eu.main)?void 0:ec.call(eu,{children:ep}))||ep;return"full"===ee.layout?(0,ej.jsx)("article",{className:(0,eS.Z)(lC.main,"nextra-content nx-min-h-[calc(100vh-var(--nextra-navbar-height))] nx-pl-[max(env(safe-area-inset-left),1.5rem)] nx-pr-[max(env(safe-area-inset-right),1.5rem)]"),children:em}):(0,ej.jsx)("article",{className:(0,eS.Z)(lC.main,"nextra-content nx-flex nx-min-h-[calc(100vh-var(--nextra-navbar-height))] nx-min-w-0 nx-justify-center nx-pb-8 nx-pr-[calc(env(safe-area-inset-right)-1.5rem)]","article"===ee.typesetting&&"nextra-body-typesetting-article"),children:(0,ej.jsxs)("main",{className:"nx-w-full nx-min-w-0 nx-max-w-6xl nx-px-6 nx-pt-4 md:nx-px-12",children:[en,em]})})},lT=({filePath:ee,pageMap:en,frontMatter:er,headings:eo,timestamp:ei,children:ec})=>{let eu=sg(),{locale:ed=ll,defaultLocale:ef}=(0,eO.useRouter)(),eh=eN(),{activeType:ep,activeIndex:em,activeThemeContext:eg,activePath:ex,topLevelNavbarItems:ev,docsDirectories:ey,flatDirectories:eb,flatDocsDirectories:ew,directories:ek}=(0,eC.useMemo)(()=>n2({list:en,locale:ed,defaultLocale:ef,route:eh}),[en,ed,ef,eh]),e_=a3(a3({},eg),er),eE=!e_.sidebar||"raw"===e_.layout||"page"===ep,eT="page"!==ep&&e_.toc&&"default"===e_.layout?(0,ej.jsx)("nav",{className:(0,eS.Z)(lC.toc,"nx-px-4"),"aria-label":"table of contents",children:sE(eu.toc.component,{headings:eu.toc.float?eo:[],filePath:ee})}):"full"!==e_.layout&&"raw"!==e_.layout&&(0,ej.jsx)("nav",{className:lC.toc,"aria-label":"table of contents"}),eA=eu.i18n.find(ee=>ee.locale===ed),eR=eA?"rtl"===eA.direction:"rtl"===eu.direction,eM=eR?"rtl":"ltr";return(0,ej.jsxs)("div",{dir:eM,children:[(0,ej.jsx)("script",{dangerouslySetInnerHTML:{__html:`document.documentElement.setAttribute('dir','${eM}')`}}),(0,ej.jsx)(sG,{}),(0,ej.jsx)(sS,{}),e_.navbar&&sE(eu.navbar.component,{flatDirectories:eb,items:ev}),(0,ej.jsx)("div",{className:(0,eS.Z)("nx-mx-auto nx-flex","raw"!==e_.layout&&"nx-max-w-[90rem]"),children:(0,ej.jsxs)(sd,{children:[(0,ej.jsx)(s6,{docsDirectories:ey,flatDirectories:eb,fullDirectories:ek,headings:eo,asPopover:eE,includePlaceholder:"default"===e_.layout}),eT,(0,ej.jsx)(s7,{}),(0,ej.jsx)(lS,{themeContext:e_,breadcrumb:"page"!==ep&&e_.breadcrumb?(0,ej.jsx)(sT,{activePath:ex}):null,timestamp:ei,navigation:"page"!==ep&&e_.pagination?(0,ej.jsx)(sU,{flatDirectories:ew,currentIndex:em}):null,children:(0,ej.jsx)(eI.Z,{components:lO({isRawLayout:"raw"===e_.layout,components:eu.components}),children:ec})})]})}),e_.footer&&sE(eu.footer.component,{menu:eE})]})};function lA(ee){var en=ee,{children:er}=en,eo=a7(en,["children"]);return(0,ej.jsx)(sx,{value:eo,children:(0,ej.jsx)(lT,a9(a3({},eo.pageOpts),{children:er}))})}var lR=er(49045),lN=er.n(lR),lI=er(33516),lM=er(84875),lL=er.n(lM),lZ=er(11023);let lP=["xxl","xl","lg","md","sm","xs"],lD=ee=>({xs:"(max-width: ".concat(ee.screenXSMax,"px)"),sm:"(min-width: ".concat(ee.screenSM,"px)"),md:"(min-width: ".concat(ee.screenMD,"px)"),lg:"(min-width: ".concat(ee.screenLG,"px)"),xl:"(min-width: ".concat(ee.screenXL,"px)"),xxl:"(min-width: ".concat(ee.screenXXL,"px)")}),lz=ee=>{let en=ee,er=[].concat(lP).reverse();return er.forEach((ee,eo)=>{let ei=ee.toUpperCase(),ec="screen".concat(ei,"Min"),eu="screen".concat(ei);if(!(en[ec]<=en[eu]))throw Error("".concat(ec,"<=").concat(eu," fails : !(").concat(en[ec],"<=").concat(en[eu],")"));if(eo{let ee=new Map,er=-1,eo={};return{matchHandlers:{},dispatch:en=>(eo=en,ee.forEach(ee=>ee(eo)),ee.size>=1),subscribe(en){return ee.size||this.register(),er+=1,ee.set(er,en),en(eo),er},unsubscribe(en){ee.delete(en),ee.size||this.unregister()},unregister(){Object.keys(en).forEach(ee=>{let er=en[ee],eo=this.matchHandlers[er];null==eo||eo.mql.removeListener(null==eo?void 0:eo.listener)}),ee.clear()},register(){Object.keys(en).forEach(ee=>{let er=en[ee],ei=en=>{let{matches:er}=en;this.dispatch(Object.assign(Object.assign({},eo),{[ee]:er}))},ec=window.matchMedia(er);ec.addListener(ei),this.matchHandlers[er]={mql:ec,listener:ei},ei(ec)})},responsiveMap:en}},[ee])}var lH=er(79264);let lB=(0,eC.createContext)({});var lW=lB,lG=er(12071),l$=er(87393);let lU=ee=>{let{componentCls:en}=ee;return{[en]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},lV=ee=>{let{componentCls:en}=ee;return{[en]:{position:"relative",maxWidth:"100%",minHeight:1}}},lq=(ee,en)=>{let{componentCls:er,gridColumns:eo}=ee,ei={};for(let ee=eo;ee>=0;ee--)0===ee?(ei["".concat(er).concat(en,"-").concat(ee)]={display:"none"},ei["".concat(er,"-push-").concat(ee)]={insetInlineStart:"auto"},ei["".concat(er,"-pull-").concat(ee)]={insetInlineEnd:"auto"},ei["".concat(er).concat(en,"-push-").concat(ee)]={insetInlineStart:"auto"},ei["".concat(er).concat(en,"-pull-").concat(ee)]={insetInlineEnd:"auto"},ei["".concat(er).concat(en,"-offset-").concat(ee)]={marginInlineStart:0},ei["".concat(er).concat(en,"-order-").concat(ee)]={order:0}):(ei["".concat(er).concat(en,"-").concat(ee)]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:"0 0 ".concat(ee/eo*100,"%"),maxWidth:"".concat(ee/eo*100,"%")}],ei["".concat(er).concat(en,"-push-").concat(ee)]={insetInlineStart:"".concat(ee/eo*100,"%")},ei["".concat(er).concat(en,"-pull-").concat(ee)]={insetInlineEnd:"".concat(ee/eo*100,"%")},ei["".concat(er).concat(en,"-offset-").concat(ee)]={marginInlineStart:"".concat(ee/eo*100,"%")},ei["".concat(er).concat(en,"-order-").concat(ee)]={order:ee});return ei},lX=(ee,en)=>lq(ee,en),lK=(ee,en,er)=>({["@media (min-width: ".concat(en,"px)")]:Object.assign({},lX(ee,er))}),lY=(0,lG.Z)("Grid",ee=>[lU(ee)]),lQ=(0,lG.Z)("Grid",ee=>{let en=(0,l$.TS)(ee,{gridColumns:24}),er={"-sm":en.screenSMMin,"-md":en.screenMDMin,"-lg":en.screenLGMin,"-xl":en.screenXLMin,"-xxl":en.screenXXLMin};return[lV(en),lX(en,""),lX(en,"-xs"),Object.keys(er).map(ee=>lK(en,er[ee],ee)).reduce((ee,en)=>Object.assign(Object.assign({},ee),en),{})]});var lJ=function(ee,en){var er={};for(var eo in ee)Object.prototype.hasOwnProperty.call(ee,eo)&&0>en.indexOf(eo)&&(er[eo]=ee[eo]);if(null!=ee&&"function"==typeof Object.getOwnPropertySymbols)for(var ei=0,eo=Object.getOwnPropertySymbols(ee);eien.indexOf(eo[ei])&&Object.prototype.propertyIsEnumerable.call(ee,eo[ei])&&(er[eo[ei]]=ee[eo[ei]]);return er};function l0(ee,en){let[er,eo]=eC.useState("string"==typeof ee?ee:""),ei=()=>{if("string"==typeof ee&&eo(ee),"object"==typeof ee)for(let er=0;er{ei()},[JSON.stringify(ee),en]),er}let l1=eC.forwardRef((ee,en)=>{let{prefixCls:er,justify:eo,align:ei,className:ec,style:eu,children:ed,gutter:ef=0,wrap:eh}=ee,ep=lJ(ee,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:em,direction:eg}=eC.useContext(lH.E_),[ex,ev]=eC.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[ey,eb]=eC.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),ew=l0(ei,ey),ek=l0(eo,ey),e_=eC.useRef(ef),eE=lF();eC.useEffect(()=>{let ee=eE.subscribe(ee=>{eb(ee);let en=e_.current||0;(!Array.isArray(en)&&"object"==typeof en||Array.isArray(en)&&("object"==typeof en[0]||"object"==typeof en[1]))&&ev(ee)});return()=>eE.unsubscribe(ee)},[]);let ej=()=>{let ee=[void 0,void 0],en=Array.isArray(ef)?ef:[ef,void 0];return en.forEach((en,er)=>{if("object"==typeof en)for(let eo=0;eo0?-(eA[0]/2):void 0;eI&&(eN.marginLeft=eI,eN.marginRight=eI),[,eN.rowGap]=eA;let[eM,eL]=eA,eZ=eC.useMemo(()=>({gutter:[eM,eL],wrap:eh}),[eM,eL,eh]);return eS(eC.createElement(lW.Provider,{value:eZ},eC.createElement("div",Object.assign({},ep,{className:eR,style:Object.assign(Object.assign({},eN),eu),ref:en}),ed)))});var l2=l1,l5=function(ee,en){var er={};for(var eo in ee)Object.prototype.hasOwnProperty.call(ee,eo)&&0>en.indexOf(eo)&&(er[eo]=ee[eo]);if(null!=ee&&"function"==typeof Object.getOwnPropertySymbols)for(var ei=0,eo=Object.getOwnPropertySymbols(ee);eien.indexOf(eo[ei])&&Object.prototype.propertyIsEnumerable.call(ee,eo[ei])&&(er[eo[ei]]=ee[eo[ei]]);return er};function l4(ee){return"number"==typeof ee?"".concat(ee," ").concat(ee," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(ee)?"0 0 ".concat(ee):ee}let l6=["xs","sm","md","lg","xl","xxl"],l3=eC.forwardRef((ee,en)=>{let{getPrefixCls:er,direction:eo}=eC.useContext(lH.E_),{gutter:ei,wrap:ec}=eC.useContext(lW),{prefixCls:eu,span:ed,order:ef,offset:eh,push:ep,pull:em,className:eg,children:ex,flex:ev,style:ey}=ee,eb=l5(ee,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),ew=er("col",eu),[ek,e_]=lQ(ew),eE={};l6.forEach(en=>{let er={},ei=ee[en];"number"==typeof ei?er.span=ei:"object"==typeof ei&&(er=ei||{}),delete eb[en],eE=Object.assign(Object.assign({},eE),{["".concat(ew,"-").concat(en,"-").concat(er.span)]:void 0!==er.span,["".concat(ew,"-").concat(en,"-order-").concat(er.order)]:er.order||0===er.order,["".concat(ew,"-").concat(en,"-offset-").concat(er.offset)]:er.offset||0===er.offset,["".concat(ew,"-").concat(en,"-push-").concat(er.push)]:er.push||0===er.push,["".concat(ew,"-").concat(en,"-pull-").concat(er.pull)]:er.pull||0===er.pull,["".concat(ew,"-").concat(en,"-flex-").concat(er.flex)]:er.flex||"auto"===er.flex,["".concat(ew,"-rtl")]:"rtl"===eo})});let ej=lL()(ew,{["".concat(ew,"-").concat(ed)]:void 0!==ed,["".concat(ew,"-order-").concat(ef)]:ef,["".concat(ew,"-offset-").concat(eh)]:eh,["".concat(ew,"-push-").concat(ep)]:ep,["".concat(ew,"-pull-").concat(em)]:em},eg,eE,e_),eO={};if(ei&&ei[0]>0){let ee=ei[0]/2;eO.paddingLeft=ee,eO.paddingRight=ee}return ev&&(eO.flex=l4(ev),!1!==ec||eO.minWidth||(eO.minWidth=0)),ek(eC.createElement("div",Object.assign({},eb,{style:Object.assign(Object.assign({},eO),ey),className:ej,ref:en}),ex))});var l9=l3,l7=function(){return(0,ej.jsxs)("footer",{id:"footer",children:[(0,ej.jsx)("div",{className:"footer-wrap",children:(0,ej.jsxs)(l2,{children:[(0,ej.jsx)(l9,{md:6,sm:24,xs:24,children:(0,ej.jsxs)("div",{className:"footer-center",children:[(0,ej.jsx)("h2",{children:"联系我们"}),(0,ej.jsx)("div",{children:(0,ej.jsx)("a",{href:"mailto:hi@charmlot.com",children:"邮箱 hi@charmlot.com"})}),(0,ej.jsx)("div",{children:(0,ej.jsx)("span",{style:{color:"rgba(255,255,255,.9)"},children:"QQ群 729013783"})})]})}),(0,ej.jsx)(l9,{md:6,sm:24,xs:24,children:(0,ej.jsxs)("div",{className:"footer-center",children:[(0,ej.jsx)("h2",{children:"用户协议"}),(0,ej.jsx)("div",{children:(0,ej.jsx)("a",{target:"_blank",href:"/agreement/",children:"用户协议"})}),(0,ej.jsx)("div",{children:(0,ej.jsx)("a",{target:"_blank",href:"/agreement/#privacy",children:"隐私政策"})})]})}),(0,ej.jsx)(l9,{md:6,sm:24,xs:24,children:(0,ej.jsxs)("div",{className:"footer-center",children:[(0,ej.jsx)("h2",{children:"帮助"}),(0,ej.jsx)("div",{children:(0,ej.jsx)("a",{href:"/docs/faq",children:"常见问题"})}),(0,ej.jsx)("div",{children:(0,ej.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/reactnativecn/react-native-pushy/issues",children:"issue讨论区"})})]})}),(0,ej.jsx)(l9,{md:6,sm:24,xs:24,children:(0,ej.jsxs)("div",{className:"footer-center",children:[(0,ej.jsx)("h2",{children:"链接"}),(0,ej.jsx)("div",{children:(0,ej.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://reactnative.cn/",children:"React Native中文网"})}),(0,ej.jsx)("div",{children:(0,ej.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://zh-hans.reactjs.org/",children:"ReactJS"})})]})})]})}),(0,ej.jsxs)("section",{className:"bottom-bar",children:[(0,ej.jsxs)("p",{children:["React Native中文网 \xa9 ",new Date().getFullYear()," ","武汉青罗网络科技有限公司"]}),(0,ej.jsxs)("p",{children:[(0,ej.jsx)("a",{href:"http://beian.miit.gov.cn/",children:"鄂ICP备20002031号-3"}),(0,ej.jsx)("img",{style:{display:"inline"},src:"https://img.alicdn.com/tfs/TB1..50QpXXXXX7XpXXXXXXXXXX-40-40.png",alt:"鄂公网安备 42011202001821号"}),(0,ej.jsx)("a",{href:"http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=42011202001821",children:"鄂公网安备 42011202001821号"})]})]})]})},l8=er(93169),ct={useNextSeoProps(){let{asPath:ee}=(0,eO.useRouter)();return"/"!==ee?{titleTemplate:"%s – Pushy 极速热更新"}:{titleTemplate:"Pushy 极速热更新"}},head:()=>{let{title:ee}=sg(),en="https://pushy.reactnative.cn";return(0,ej.jsxs)(ej.Fragment,{children:[(0,ej.jsx)("meta",{property:"og:url",content:en}),(0,ej.jsx)("meta",{property:"og:title",content:ee||"Pushy 极速热更新"}),(0,ej.jsx)("meta",{property:"og:description",content:"Pushy 极速热更新"}),(0,ej.jsx)("meta",{property:"og:keywords",content:"热更新,hotupdate,免审核,快速上架"})]})},logo:(0,ej.jsx)(lN(),{height:48,src:lI.Z,alt:"Pushy 极速热更新"}),docsRepositoryBase:"https://github.com/reactnativecn/react-native-pushy",project:{link:"https://github.com/reactnativecn/react-native-pushy"},footer:{component:l7},darkMode:!1,nextThemes:{defaultTheme:"light"},navbar:{extraContent:(0,ej.jsx)("div",{className:"header-meta",children:(0,ej.jsxs)("div",{className:"right-header",children:[(0,ej.jsx)(l8.ZP,{shape:"round",href:"https://pushy-admin.reactnative.cn/#/user",target:"_blank",children:"登录"}),(0,ej.jsx)(l8.ZP,{shape:"round",href:"https://pushy-admin.reactnative.cn/#/register",target:"_blank",type:"primary",children:"注册"})]})})},toc:{title:"目录"},feedback:{content:null},editLink:{component:null},search:{placeholder:"搜索文档...",emptyResult:"暂无匹配的结果"},gitTimestamp:null};er(9350),er(70703),er(59589);var cn=er(16635);function cr(ee,en){ee.prototype=Object.create(en.prototype),ee.prototype.constructor=ee,(0,cn.Z)(ee,en)}var co=er(23248),ci=er(25201),cs=er(40507),cl=er.n(cs),cc=er(53670),cu=er.n(cc),cd=er(55518),cf=er.n(cd),cp=function(){function ee(ee,en,er){var eo=this;this.nativeMediaQueryList=ee.matchMedia(en),this.active=!0,this.cancellableListener=function(){eo.matches=eo.nativeMediaQueryList.matches,eo.active&&er.apply(void 0,arguments)},this.nativeMediaQueryList.addListener(this.cancellableListener),this.matches=this.nativeMediaQueryList.matches}return ee.prototype.cancel=function(){this.active=!1,this.nativeMediaQueryList.removeListener(this.cancellableListener)},ee}(),cm=cl().oneOfType([cl().string,cl().object,cl().arrayOf(cl().object.isRequired)]),cg=function(ee){function en(en){var er,eo;return(er=ee.call(this,en)||this,(0,ci.Z)((0,co.Z)((0,co.Z)(er)),"queries",[]),(0,ci.Z)((0,co.Z)((0,co.Z)(er)),"getMatches",function(){return cv(er.queries.reduce(function(ee,en){var er,eo=en.name,ei=en.mqListener;return(0,aL.Z)({},ee,((er={})[eo]=ei.matches,er))},{}))}),(0,ci.Z)((0,co.Z)((0,co.Z)(er)),"updateMatches",function(){var ee=er.getMatches();er.setState(function(){return{matches:ee}},er.onChange)}),!(!en.query&&!en.queries)||en.query&&en.queries||cu()(!1),void 0!==en.defaultMatches&&en.query&&"boolean"!=typeof en.defaultMatches&&cu()(!1),void 0!==en.defaultMatches&&en.queries&&"object"!=typeof en.defaultMatches&&cu()(!1),"object"!=typeof window)?(eo=void 0!==en.defaultMatches?en.defaultMatches:!!en.query||Object.keys(er.props.queries).reduce(function(ee,en){var er;return(0,aL.Z)({},ee,((er={})[en]=!0,er))},{}),er.state={matches:eo},(0,co.Z)(er)):(er.initialize(),er.state={matches:void 0!==er.props.defaultMatches?er.props.defaultMatches:er.getMatches()},er.onChange(),er)}cr(en,ee);var er=en.prototype;return er.initialize=function(){var ee=this,en=this.props.targetWindow||window;"function"!=typeof en.matchMedia&&cu()(!1);var er=this.props.queries||cx(this.props.query);this.queries=Object.keys(er).map(function(eo){var ei=er[eo];return{name:eo,mqListener:new cp(en,"string"!=typeof ei?cf()(ei):ei,ee.updateMatches)}})},er.componentDidMount=function(){this.initialize(),void 0!==this.props.defaultMatches&&this.updateMatches()},er.onChange=function(){var ee=this.props.onChange;ee&&ee(this.state.matches)},er.componentWillUnmount=function(){this.queries.forEach(function(ee){return ee.mqListener.cancel()})},er.render=function(){var ee=this.props,en=ee.children,er=ee.render,eo=this.state.matches,ei="object"==typeof eo?Object.keys(eo).some(function(ee){return eo[ee]}):eo;return er?ei?er(eo):null:en?"function"==typeof en?en(eo):(!Array.isArray(en)||en.length)&&ei?eC.Children.only(en)&&"string"==typeof eC.Children.only(en).type?eC.Children.only(en):eC.cloneElement(eC.Children.only(en),{matches:eo}):null:null},en}(eC.Component);function cx(ee){return{__DEFAULT__:ee}}function cv(ee){var en=Object.keys(ee);return 1===en.length&&"__DEFAULT__"===en[0]?ee.__DEFAULT__:ee}(0,ci.Z)(cg,"propTypes",{defaultMatches:cl().oneOfType([cl().bool,cl().objectOf(cl().bool)]),query:cm,queries:cl().objectOf(cm),render:cl().func,children:cl().oneOfType([cl().node,cl().func]),targetWindow:cl().object,onChange:cl().func});var cy=cg;function cb(ee){let{children:en,...er}=ee;return(0,ej.jsx)("div",{className:"page-wrapper",children:eC.cloneElement(en,{...en.props,isMobile:er.isMobile})})}let cw=ee=>(0,ej.jsx)(cy,{query:"(max-width: 996px)",children:en=>{let er=!1;return(0,ej.jsx)(cb,{...ee,isMobile:en&&!er})}});var ck=cw;let c_=function(ee){let{Component:en,pageProps:er}=ee;return(0,ej.jsx)(ck,{children:(0,ej.jsx)(en,{...er})})},cE=[];function cj(ee){return(0,ej.jsx)(ej.Fragment,{})}var cO=function(){let ee=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,ej.jsx)(c_,{...ee,children:(0,ej.jsx)(cj,{...ee})})};let cC=(e_=globalThis)[eE=Symbol.for("__nextra_internal__")]||(e_[eE]=Object.create(null));cC.Layout=lA,cC.pageMap=[{kind:"Meta",data:{index:{title:"首页",theme:{layout:"raw",breadcrumb:!1,sidebar:!1},type:"page"},docs:{title:"文档",type:"page"},pricing:{title:"价格",theme:{layout:"raw",breadcrumb:!1,sidebar:!1},type:"page"},常见问题:{type:"page",href:"/docs/faq",route:"#"}}},{kind:"Folder",name:"docs",route:"/docs",children:[{kind:"Meta",data:{"getting-started":"安装配置",integration:"代码集成",publish:"发布流程","---1":{type:"separator",title:""},api:"API参考",cli:"命令行工具",bestpractice:"场景实践","---2":{type:"separator",title:""},faq:"常见问题",changelog:"更新日志"}},{kind:"MdxPage",name:"api",route:"/docs/api",frontMatter:{order:11,title:"API参考",type:"开发指南"}},{kind:"MdxPage",name:"bestpractice",route:"/docs/bestpractice",frontMatter:{order:13,title:"场景实践",type:"开发指南"}},{kind:"MdxPage",name:"changelog",route:"/docs/changelog",frontMatter:{order:22,title:"更新日志",type:"其他"}},{kind:"MdxPage",name:"cli",route:"/docs/cli",frontMatter:{order:12,title:"命令行工具",type:"开发指南"}},{kind:"MdxPage",name:"faq",route:"/docs/faq",frontMatter:{order:23,title:"常见问题",type:"其他"}},{kind:"MdxPage",name:"getting-started",route:"/docs/getting-started",frontMatter:{order:0,title:"安装配置",type:"快速入门"}},{kind:"MdxPage",name:"integration",route:"/docs/integration",frontMatter:{order:1,title:"代码集成",type:"快速入门"}},{kind:"MdxPage",name:"publish",route:"/docs/publish",frontMatter:{order:2,title:"发布热更新",type:"快速入门"}}]},{kind:"MdxPage",name:"index",route:"/"},{kind:"MdxPage",name:"pricing",route:"/pricing",frontMatter:{title:"价格"}}],cC.flexsearch={codeblocks:!0},cC.themeConfig=ct},25858:function(ee,en,er){"use strict";er.d(en,{M2:function(){return eu},Tm:function(){return ef},l$:function(){return ec}});var eo,ei=er(50959);let{isValidElement:ec}=eo||(eo=er.t(ei,2));function eu(ee){return ee&&ec(ee)&&ee.type===ei.Fragment}function ed(ee,en,er){return ec(ee)?ei.cloneElement(ee,"function"==typeof er?er(ee.props||{}):er):en}function ef(ee,en){return ed(ee,ee,en)}},93169:function(ee,en,er){"use strict";er.d(en,{ZP:function(){return nj}});var eo,ei=er(50959),ec=er(84875),eu=er.n(ec),ed=er(12309);function ef(ee,en){var er=(0,ed.Z)({},ee);return Array.isArray(en)&&en.forEach(function(ee){delete er[ee]}),er}var eh=er(12602),ep=er(95992),em=er(79264),eg=er(25858),ex=er(12071);let ev=ee=>{let{componentCls:en,colorPrimary:er}=ee;return{[en]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:"var(--wave-color, ".concat(er,")"),boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:["box-shadow 0.4s ".concat(ee.motionEaseOutCirc),"opacity 2s ".concat(ee.motionEaseOutCirc)].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:["box-shadow 0.3s ".concat(ee.motionEaseInOut),"opacity 0.35s ".concat(ee.motionEaseInOut)].join(",")}}}}};var ey=(0,ex.Z)("Wave",ee=>[ev(ee)]),eb=er(64213),ew=er(28449),ek=er(10091),e_=er(26407);function eE(){eE=function(){return en};var ee,en={},er=Object.prototype,eo=er.hasOwnProperty,ei=Object.defineProperty||function(ee,en,er){ee[en]=er.value},ec="function"==typeof Symbol?Symbol:{},eu=ec.iterator||"@@iterator",ed=ec.asyncIterator||"@@asyncIterator",ef=ec.toStringTag||"@@toStringTag";function eh(ee,en,er){return Object.defineProperty(ee,en,{value:er,enumerable:!0,configurable:!0,writable:!0}),ee[en]}try{eh({},"")}catch(ee){eh=function(ee,en,er){return ee[en]=er}}function ep(ee,en,er,eo){var ec=Object.create((en&&en.prototype instanceof ew?en:ew).prototype);return ei(ec,"_invoke",{value:eN(ee,er,new eZ(eo||[]))}),ec}function em(ee,en,er){try{return{type:"normal",arg:ee.call(en,er)}}catch(ee){return{type:"throw",arg:ee}}}en.wrap=ep;var eg="suspendedStart",ex="suspendedYield",ev="executing",ey="completed",eb={};function ew(){}function ek(){}function ej(){}var eO={};eh(eO,eu,function(){return this});var eC=Object.getPrototypeOf,eS=eC&&eC(eC(eP([])));eS&&eS!==er&&eo.call(eS,eu)&&(eO=eS);var eT=ej.prototype=ew.prototype=Object.create(eO);function eA(ee){["next","throw","return"].forEach(function(en){eh(ee,en,function(ee){return this._invoke(en,ee)})})}function eR(ee,en){var er;function ec(er,ei,eu,ed){var ef=em(ee[er],ee,ei);if("throw"!==ef.type){var eh=ef.arg,ep=eh.value;return ep&&"object"==(0,e_.Z)(ep)&&eo.call(ep,"__await")?en.resolve(ep.__await).then(function(ee){ec("next",ee,eu,ed)},function(ee){ec("throw",ee,eu,ed)}):en.resolve(ep).then(function(ee){eh.value=ee,eu(eh)},function(ee){return ec("throw",ee,eu,ed)})}ed(ef.arg)}ei(this,"_invoke",{value:function(ee,eo){function ei(){return new en(function(en,er){ec(ee,eo,en,er)})}return er=er?er.then(ei,ei):ei()}})}function eN(en,er,eo){var ei=eg;return function(ec,eu){if(ei===ev)throw Error("Generator is already running");if(ei===ey){if("throw"===ec)throw eu;return{value:ee,done:!0}}for(eo.method=ec,eo.arg=eu;;){var ed=eo.delegate;if(ed){var ef=eI(ed,eo);if(ef){if(ef===eb)continue;return ef}}if("next"===eo.method)eo.sent=eo._sent=eo.arg;else if("throw"===eo.method){if(ei===eg)throw ei=ey,eo.arg;eo.dispatchException(eo.arg)}else"return"===eo.method&&eo.abrupt("return",eo.arg);ei=ev;var eh=em(en,er,eo);if("normal"===eh.type){if(ei=eo.done?ey:ex,eh.arg===eb)continue;return{value:eh.arg,done:eo.done}}"throw"===eh.type&&(ei=ey,eo.method="throw",eo.arg=eh.arg)}}}function eI(en,er){var eo=er.method,ei=en.iterator[eo];if(ei===ee)return er.delegate=null,"throw"===eo&&en.iterator.return&&(er.method="return",er.arg=ee,eI(en,er),"throw"===er.method)||"return"!==eo&&(er.method="throw",er.arg=TypeError("The iterator does not provide a '"+eo+"' method")),eb;var ec=em(ei,en.iterator,er.arg);if("throw"===ec.type)return er.method="throw",er.arg=ec.arg,er.delegate=null,eb;var eu=ec.arg;return eu?eu.done?(er[en.resultName]=eu.value,er.next=en.nextLoc,"return"!==er.method&&(er.method="next",er.arg=ee),er.delegate=null,eb):eu:(er.method="throw",er.arg=TypeError("iterator result is not an object"),er.delegate=null,eb)}function eM(ee){var en={tryLoc:ee[0]};1 in ee&&(en.catchLoc=ee[1]),2 in ee&&(en.finallyLoc=ee[2],en.afterLoc=ee[3]),this.tryEntries.push(en)}function eL(ee){var en=ee.completion||{};en.type="normal",delete en.arg,ee.completion=en}function eZ(ee){this.tryEntries=[{tryLoc:"root"}],ee.forEach(eM,this),this.reset(!0)}function eP(en){if(en||""===en){var er=en[eu];if(er)return er.call(en);if("function"==typeof en.next)return en;if(!isNaN(en.length)){var ei=-1,ec=function er(){for(;++ei=0;--ec){var eu=this.tryEntries[ec],ed=eu.completion;if("root"===eu.tryLoc)return ei("end");if(eu.tryLoc<=this.prev){var ef=eo.call(eu,"catchLoc"),eh=eo.call(eu,"finallyLoc");if(ef&&eh){if(this.prev=0;--er){var ei=this.tryEntries[er];if(ei.tryLoc<=this.prev&&eo.call(ei,"finallyLoc")&&this.prev=0;--en){var er=this.tryEntries[en];if(er.finallyLoc===ee)return this.complete(er.completion,er.afterLoc),eL(er),eb}},catch:function(ee){for(var en=this.tryEntries.length-1;en>=0;--en){var er=this.tryEntries[en];if(er.tryLoc===ee){var eo=er.completion;if("throw"===eo.type){var ei=eo.arg;eL(er)}return ei}}throw Error("illegal catch attempt")},delegateYield:function(en,er,eo){return this.delegate={iterator:eP(en),resultName:er,nextLoc:eo},"next"===this.method&&(this.arg=ee),eb}},en}var ej=er(1017),eO=er(10422),eC=er.t(eO,2),eS=(0,ed.Z)({},eC),eT=eS.version,eA=eS.render,eR=eS.unmountComponentAtNode;try{Number((eT||"").split(".")[0])>=18&&(eo=eS.createRoot)}catch(ee){}function eN(ee){var en=eS.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;en&&"object"===(0,e_.Z)(en)&&(en.usingClientEntryPoint=ee)}var eI="__rc_react_root__";function eM(ee,en){eN(!0);var er=en[eI]||eo(en);eN(!1),er.render(ee),en[eI]=er}function eL(ee,en){eA(ee,en)}function eZ(ee,en){if(eo){eM(ee,en);return}eL(ee,en)}function eP(ee){return eD.apply(this,arguments)}function eD(){return(eD=(0,ej.Z)(eE().mark(function ee(en){return eE().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return ee.abrupt("return",Promise.resolve().then(function(){var ee;null===(ee=en[eI])||void 0===ee||ee.unmount(),delete en[eI]}));case 1:case"end":return ee.stop()}},ee)}))).apply(this,arguments)}function ez(ee){eR(ee)}function eF(ee){return eH.apply(this,arguments)}function eH(){return(eH=(0,ej.Z)(eE().mark(function ee(en){return eE().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:if(!(void 0!==eo)){ee.next=2;break}return ee.abrupt("return",eP(en));case 2:ez(en);case 3:case"end":return ee.stop()}},ee)}))).apply(this,arguments)}function eB(ee){let en=(ee||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return!en||!en[1]||!en[2]||!en[3]||!(en[1]===en[2]&&en[2]===en[3])}function eW(ee){return ee&&"#fff"!==ee&&"#ffffff"!==ee&&"rgb(255, 255, 255)"!==ee&&"rgba(255, 255, 255, 1)"!==ee&&eB(ee)&&!/rgba\((?:\d*, ){3}0\)/.test(ee)&&"transparent"!==ee}function eG(ee){let{borderTopColor:en,borderColor:er,backgroundColor:eo}=getComputedStyle(ee);return eW(en)?en:eW(er)?er:eW(eo)?eo:null}let e$="ant-wave-target";function eU(ee){return Number.isNaN(ee)?0:ee}let eV=ee=>{let{className:en,target:er,component:eo}=ee,ec=ei.useRef(null),[ed,ef]=ei.useState(null),[eh,ep]=ei.useState([]),[em,eg]=ei.useState(0),[ex,ev]=ei.useState(0),[ey,eb]=ei.useState(0),[e_,eE]=ei.useState(0),[ej,eO]=ei.useState(!1),eC={left:em,top:ex,width:ey,height:e_,borderRadius:eh.map(ee=>"".concat(ee,"px")).join(" ")};function eS(){let ee=getComputedStyle(er);ef(eG(er));let en="static"===ee.position,{borderLeftWidth:eo,borderTopWidth:ei}=ee;eg(en?er.offsetLeft:eU(-parseFloat(eo))),ev(en?er.offsetTop:eU(-parseFloat(ei))),eb(er.offsetWidth),eE(er.offsetHeight);let{borderTopLeftRadius:ec,borderTopRightRadius:eu,borderBottomLeftRadius:ed,borderBottomRightRadius:eh}=ee;ep([ec,eu,eh,ed].map(ee=>eU(parseFloat(ee))))}if(ed&&(eC["--wave-color"]=ed),ei.useEffect(()=>{if(er){let ee;let en=(0,ew.Z)(()=>{eS(),eO(!0)});return"undefined"!=typeof ResizeObserver&&(ee=new ResizeObserver(eS)).observe(er),()=>{ew.Z.cancel(en),null==ee||ee.disconnect()}}},[]),!ej)return null;let eT=("Checkbox"===eo||"Radio"===eo)&&(null==er?void 0:er.classList.contains(e$));return ei.createElement(ek.ZP,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(ee,en)=>{var er;if(en.deadline||"opacity"===en.propertyName){let ee=null===(er=ec.current)||void 0===er?void 0:er.parentElement;eF(ee).then(()=>{null==ee||ee.remove()})}return!1}},ee=>{let{className:er}=ee;return ei.createElement("div",{ref:ec,className:eu()(en,{"wave-quick":eT},er),style:eC})})},eq=(ee,en)=>{var er;let{component:eo}=en;if("Checkbox"===eo&&!(null===(er=ee.querySelector("input"))||void 0===er?void 0:er.checked))return;let ec=document.createElement("div");ec.style.position="absolute",ec.style.left="0px",ec.style.top="0px",null==ee||ee.insertBefore(ec,null==ee?void 0:ee.firstChild),eZ(ei.createElement(eV,Object.assign({},en,{target:ee})),ec)};var eX=eq,eK=er(11023);function eY(ee,en,er){let{wave:eo}=ei.useContext(em.E_),[,ec,eu]=(0,eK.Z)(),ed=(0,eb.zX)(ei=>{let ed=ee.current;if((null==eo?void 0:eo.disabled)||!ed)return;let ef=ed.querySelector(".".concat(e$))||ed,{showEffect:eh}=eo||{};(eh||eX)(ef,{className:en,token:ec,component:er,event:ei,hashId:eu})}),ef=ei.useRef(),eh=ee=>{ew.Z.cancel(ef.current),ef.current=(0,ew.Z)(()=>{ed(ee)})};return eh}let eQ=ee=>{let{children:en,disabled:er,component:eo}=ee,{getPrefixCls:ec}=(0,ei.useContext)(em.E_),ed=(0,ei.useRef)(null),ef=ec("wave"),[,ex]=ey(ef),ev=eY(ed,eu()(ef,ex),eo);if(ei.useEffect(()=>{let ee=ed.current;if(!ee||1!==ee.nodeType||er)return;let en=en=>{!(0,ep.Z)(en.target)||!ee.getAttribute||ee.getAttribute("disabled")||ee.disabled||ee.className.includes("disabled")||ee.className.includes("-leave")||ev(en)};return ee.addEventListener("click",en,!0),()=>{ee.removeEventListener("click",en,!0)}},[er]),!ei.isValidElement(en))return null!=en?en:null;let eb=(0,eh.Yr)(en)?(0,eh.sQ)(en.ref,ed):ed;return(0,eg.Tm)(en,{ref:eb})};var eJ=eQ;let e0=ei.createContext(!1);var e1=e0;let e2=ei.createContext(void 0);var e5=e2;let e4=ee=>{let en=ei.useContext(e5),er=ei.useMemo(()=>ee?"string"==typeof ee?null!=ee?ee:en:ee instanceof Function?ee(en):en:en,[ee,en]);return er};var e6=e4,e3=er(77887),e9=function(ee,en){var er={};for(var eo in ee)Object.prototype.hasOwnProperty.call(ee,eo)&&0>en.indexOf(eo)&&(er[eo]=ee[eo]);if(null!=ee&&"function"==typeof Object.getOwnPropertySymbols)for(var ei=0,eo=Object.getOwnPropertySymbols(ee);eien.indexOf(eo[ei])&&Object.prototype.propertyIsEnumerable.call(ee,eo[ei])&&(er[eo[ei]]=ee[eo[ei]]);return er};let e7=ei.createContext(void 0),e8=ee=>{let{getPrefixCls:en,direction:er}=ei.useContext(em.E_),{prefixCls:eo,size:ec,className:ed}=ee,ef=e9(ee,["prefixCls","size","className"]),eh=en("btn-group",eo),[,,ep]=(0,eK.Z)(),eg="";switch(ec){case"large":eg="lg";break;case"small":eg="sm"}let ex=eu()(eh,{["".concat(eh,"-").concat(eg)]:eg,["".concat(eh,"-rtl")]:"rtl"===er},ed,ep);return ei.createElement(e7.Provider,{value:ec},ei.createElement("div",Object.assign({},ef,{className:ex})))};var tn=e8;let tr=/^[\u4e00-\u9fa5]{2}$/,to=tr.test.bind(tr);function ti(ee){return"string"==typeof ee}function ts(ee){return"text"===ee||"link"===ee}function tl(ee,en){if(null==ee)return;let er=en?" ":"";return"string"!=typeof ee&&"number"!=typeof ee&&ti(ee.type)&&to(ee.props.children)?(0,eg.Tm)(ee,{children:ee.props.children.split("").join(er)}):ti(ee)?to(ee)?ei.createElement("span",null,ee.split("").join(er)):ei.createElement("span",null,ee):(0,eg.M2)(ee)?ei.createElement("span",null,ee):ee}function tc(ee,en){let er=!1,eo=[];return ei.Children.forEach(ee,ee=>{let en=typeof ee,ei="string"===en||"number"===en;if(er&&ei){let en=eo.length-1,er=eo[en];eo[en]="".concat(er).concat(ee)}else eo.push(ee);er=ei}),ei.Children.map(eo,ee=>tl(ee,en))}let tu=(0,ei.forwardRef)((ee,en)=>{let{className:er,style:eo,children:ec,prefixCls:ed}=ee,ef=eu()("".concat(ed,"-icon"),er);return ei.createElement("span",{ref:en,className:ef,style:eo},ec)});var td=tu,tf=er(97605),th={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},tp=er(76729),tm=er(25201),tg=er(10582),tx=er(81548),tv=(0,ei.createContext)({}),ty=er(35966),tb=er(79697),tw=er(12868);function tk(ee){return ee.replace(/-(.)/g,function(ee,en){return en.toUpperCase()})}function t_(ee,en){(0,tw.ZP)(ee,"[@ant-design/icons] ".concat(en))}function tE(ee){return"object"===(0,e_.Z)(ee)&&"string"==typeof ee.name&&"string"==typeof ee.theme&&("object"===(0,e_.Z)(ee.icon)||"function"==typeof ee.icon)}function tj(){var ee=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(ee).reduce(function(en,er){var eo=ee[er];return"class"===er?(en.className=eo,delete en.class):(delete en[er],en[tk(er)]=eo),en},{})}function tO(ee,en,er){return er?ei.createElement(ee.tag,(0,ed.Z)((0,ed.Z)({key:en},tj(ee.attrs)),er),(ee.children||[]).map(function(er,eo){return tO(er,"".concat(en,"-").concat(ee.tag,"-").concat(eo))})):ei.createElement(ee.tag,(0,ed.Z)({key:en},tj(ee.attrs)),(ee.children||[]).map(function(er,eo){return tO(er,"".concat(en,"-").concat(ee.tag,"-").concat(eo))}))}function tC(ee){return(0,tx.generate)(ee)[0]}function tS(ee){return ee?Array.isArray(ee)?ee:[ee]:[]}var tT="\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",tA=function(ee){var en=(0,ei.useContext)(tv),er=en.csp,eo=en.prefixCls,ec=tT;eo&&(ec=ec.replace(/anticon/g,eo)),(0,ei.useEffect)(function(){var en=ee.current,eo=(0,tb.A)(en);(0,ty.hq)(ec,"@ant-design-icons",{prepend:!0,csp:er,attachTo:eo})},[])},tR=["icon","className","onClick","style","primaryColor","secondaryColor"],tN={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function tI(ee){var en=ee.primaryColor,er=ee.secondaryColor;tN.primaryColor=en,tN.secondaryColor=er||tC(en),tN.calculated=!!er}function tM(){return(0,ed.Z)({},tN)}var tL=function(ee){var en=ee.icon,er=ee.className,eo=ee.onClick,ec=ee.style,eu=ee.primaryColor,ef=ee.secondaryColor,eh=(0,tg.Z)(ee,tR),ep=ei.useRef(),em=tN;if(eu&&(em={primaryColor:eu,secondaryColor:ef||tC(eu)}),tA(ep),t_(tE(en),"icon should be icon definiton, but got ".concat(en)),!tE(en))return null;var eg=en;return eg&&"function"==typeof eg.icon&&(eg=(0,ed.Z)((0,ed.Z)({},eg),{},{icon:eg.icon(em.primaryColor,em.secondaryColor)})),tO(eg.icon,"svg-".concat(eg.name),(0,ed.Z)((0,ed.Z)({className:er,onClick:eo,style:ec,"data-icon":eg.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},eh),{},{ref:ep}))};tL.displayName="IconReact",tL.getTwoToneColors=tM,tL.setTwoToneColors=tI;var tZ=tL;function tP(ee){var en=tS(ee),er=(0,tp.Z)(en,2),eo=er[0],ei=er[1];return tZ.setTwoToneColors({primaryColor:eo,secondaryColor:ei})}function tD(){var ee=tZ.getTwoToneColors();return ee.calculated?[ee.primaryColor,ee.secondaryColor]:ee.primaryColor}var tz=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];tP(tx.blue.primary);var tF=ei.forwardRef(function(ee,en){var er,eo=ee.className,ec=ee.icon,ed=ee.spin,ef=ee.rotate,eh=ee.tabIndex,ep=ee.onClick,em=ee.twoToneColor,eg=(0,tg.Z)(ee,tz),ex=ei.useContext(tv),ev=ex.prefixCls,ey=void 0===ev?"anticon":ev,eb=ex.rootClassName,ew=eu()(eb,ey,(er={},(0,tm.Z)(er,"".concat(ey,"-").concat(ec.name),!!ec.name),(0,tm.Z)(er,"".concat(ey,"-spin"),!!ed||"loading"===ec.name),er),eo),ek=eh;void 0===ek&&ep&&(ek=-1);var e_=ef?{msTransform:"rotate(".concat(ef,"deg)"),transform:"rotate(".concat(ef,"deg)")}:void 0,eE=tS(em),ej=(0,tp.Z)(eE,2),eO=ej[0],eC=ej[1];return ei.createElement("span",(0,tf.Z)({role:"img","aria-label":ec.name},eg,{ref:en,tabIndex:ek,onClick:ep,className:ew}),ei.createElement(tZ,{icon:ec,primaryColor:eO,secondaryColor:eC,style:e_}))});tF.displayName="AntdIcon",tF.getTwoToneColor=tD,tF.setTwoToneColor=tP;var tH=tF,tB=function(ee,en){return ei.createElement(tH,(0,tf.Z)({},ee,{ref:en,icon:th}))},tW=ei.forwardRef(tB);let tG=(0,ei.forwardRef)((ee,en)=>{let{prefixCls:er,className:eo,style:ec,iconClassName:ed}=ee,ef=eu()("".concat(er,"-loading-icon"),eo);return ei.createElement(td,{prefixCls:er,className:ef,style:ec,ref:en},ei.createElement(tW,{className:ed}))}),t$=()=>({width:0,opacity:0,transform:"scale(0)"}),tU=ee=>({width:ee.scrollWidth,opacity:1,transform:"scale(1)"}),tV=ee=>{let{prefixCls:en,loading:er,existIcon:eo,className:ec,style:eu}=ee,ed=!!er;return eo?ei.createElement(tG,{prefixCls:en,className:ec,style:eu}):ei.createElement(ek.ZP,{visible:ed,motionName:"".concat(en,"-loading-icon-motion"),motionLeave:ed,removeOnLeave:!0,onAppearStart:t$,onAppearActive:tU,onEnterStart:t$,onEnterActive:tU,onLeaveStart:tU,onLeaveActive:t$},(ee,er)=>{let{className:eo,style:ed}=ee;return ei.createElement(tG,{prefixCls:en,className:ec,style:Object.assign(Object.assign({},eu),ed),ref:er,iconClassName:eo})})};var tq=tV,tX=er(81998),tK=er(87393);let tY=(ee,en)=>({["> span, > ".concat(ee)]:{"&:not(:last-child)":{["&, & > ".concat(ee)]:{"&:not(:disabled)":{borderInlineEndColor:en}}},"&:not(:first-child)":{["&, & > ".concat(ee)]:{"&:not(:disabled)":{borderInlineStartColor:en}}}}}),tQ=ee=>{let{componentCls:en,fontSize:er,lineWidth:eo,groupBorderColor:ei,colorErrorHover:ec}=ee;return{["".concat(en,"-group")]:[{position:"relative",display:"inline-flex",["> span, > ".concat(en)]:{"&:not(:last-child)":{["&, & > ".concat(en)]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-eo,["&, & > ".concat(en)]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[en]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},["".concat(en,"-icon-only")]:{fontSize:er}},tY("".concat(en,"-primary"),ei),tY("".concat(en,"-danger"),ec)]}};var tJ=tQ;let t0=ee=>{let{componentCls:en,iconCls:er,fontWeight:eo}=ee;return{[en]:{outline:"none",position:"relative",display:"inline-block",fontWeight:eo,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:"".concat(ee.lineWidth,"px ").concat(ee.lineType," transparent"),cursor:"pointer",transition:"all ".concat(ee.motionDurationMid," ").concat(ee.motionEaseInOut),userSelect:"none",touchAction:"manipulation",lineHeight:ee.lineHeight,color:ee.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},["".concat(en,"-icon")]:{lineHeight:0},["> ".concat(er," + span, > span + ").concat(er)]:{marginInlineStart:ee.marginXS},["&:not(".concat(en,"-icon-only) > ").concat(en,"-icon")]:{["&".concat(en,"-loading-icon, &:not(:last-child)")]:{marginInlineEnd:ee.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},(0,tX.Qy)(ee)),["&".concat(en,"-two-chinese-chars::first-letter")]:{letterSpacing:"0.34em"},["&".concat(en,"-two-chinese-chars > *:not(").concat(er,")")]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},["&-icon-only".concat(en,"-compact-item")]:{flex:"none"},["&-compact-item".concat(en,"-primary")]:{["&:not([disabled]) + ".concat(en,"-compact-item").concat(en,"-primary:not([disabled])")]:{position:"relative","&:before":{position:"absolute",top:-ee.lineWidth,insetInlineStart:-ee.lineWidth,display:"inline-block",width:ee.lineWidth,height:"calc(100% + ".concat(2*ee.lineWidth,"px)"),backgroundColor:ee.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{["&".concat(en,"-primary")]:{["&:not([disabled]) + ".concat(en,"-compact-vertical-item").concat(en,"-primary:not([disabled])")]:{position:"relative","&:before":{position:"absolute",top:-ee.lineWidth,insetInlineStart:-ee.lineWidth,display:"inline-block",width:"calc(100% + ".concat(2*ee.lineWidth,"px)"),height:ee.lineWidth,backgroundColor:ee.colorPrimaryHover,content:'""'}}}}}}},t1=(ee,en,er)=>({["&:not(:disabled):not(".concat(ee,"-disabled)")]:{"&:hover":en,"&:active":er}}),t2=ee=>({minWidth:ee.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),t5=ee=>({borderRadius:ee.controlHeight,paddingInlineStart:ee.controlHeight/2,paddingInlineEnd:ee.controlHeight/2}),t4=ee=>({cursor:"not-allowed",borderColor:ee.borderColorDisabled,color:ee.colorTextDisabled,backgroundColor:ee.colorBgContainerDisabled,boxShadow:"none"}),t6=(ee,en,er,eo,ei,ec,eu,ed)=>({["&".concat(ee,"-background-ghost")]:Object.assign(Object.assign({color:er||void 0,backgroundColor:en,borderColor:eo||void 0,boxShadow:"none"},t1(ee,Object.assign({backgroundColor:en},eu),Object.assign({backgroundColor:en},ed))),{"&:disabled":{cursor:"not-allowed",color:ei||void 0,borderColor:ec||void 0}})}),t3=ee=>({["&:disabled, &".concat(ee.componentCls,"-disabled")]:Object.assign({},t4(ee))}),t9=ee=>Object.assign({},t3(ee)),t7=ee=>({["&:disabled, &".concat(ee.componentCls,"-disabled")]:{cursor:"not-allowed",color:ee.colorTextDisabled}}),t8=ee=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},t9(ee)),{backgroundColor:ee.defaultBg,borderColor:ee.defaultBorderColor,color:ee.defaultColor,boxShadow:ee.defaultShadow}),t1(ee.componentCls,{color:ee.colorPrimaryHover,borderColor:ee.colorPrimaryHover},{color:ee.colorPrimaryActive,borderColor:ee.colorPrimaryActive})),t6(ee.componentCls,ee.ghostBg,ee.defaultGhostColor,ee.defaultGhostBorderColor,ee.colorTextDisabled,ee.colorBorder)),{["&".concat(ee.componentCls,"-dangerous")]:Object.assign(Object.assign(Object.assign({color:ee.colorError,borderColor:ee.colorError},t1(ee.componentCls,{color:ee.colorErrorHover,borderColor:ee.colorErrorBorderHover},{color:ee.colorErrorActive,borderColor:ee.colorErrorActive})),t6(ee.componentCls,ee.ghostBg,ee.colorError,ee.colorError,ee.colorTextDisabled,ee.colorBorder)),t3(ee))}),ne=ee=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},t9(ee)),{color:ee.primaryColor,backgroundColor:ee.colorPrimary,boxShadow:ee.primaryShadow}),t1(ee.componentCls,{color:ee.colorTextLightSolid,backgroundColor:ee.colorPrimaryHover},{color:ee.colorTextLightSolid,backgroundColor:ee.colorPrimaryActive})),t6(ee.componentCls,ee.ghostBg,ee.colorPrimary,ee.colorPrimary,ee.colorTextDisabled,ee.colorBorder,{color:ee.colorPrimaryHover,borderColor:ee.colorPrimaryHover},{color:ee.colorPrimaryActive,borderColor:ee.colorPrimaryActive})),{["&".concat(ee.componentCls,"-dangerous")]:Object.assign(Object.assign(Object.assign({backgroundColor:ee.colorError,boxShadow:ee.dangerShadow,color:ee.dangerColor},t1(ee.componentCls,{backgroundColor:ee.colorErrorHover},{backgroundColor:ee.colorErrorActive})),t6(ee.componentCls,ee.ghostBg,ee.colorError,ee.colorError,ee.colorTextDisabled,ee.colorBorder,{color:ee.colorErrorHover,borderColor:ee.colorErrorHover},{color:ee.colorErrorActive,borderColor:ee.colorErrorActive})),t3(ee))}),nt=ee=>Object.assign(Object.assign({},t8(ee)),{borderStyle:"dashed"}),nn=ee=>Object.assign(Object.assign(Object.assign({color:ee.colorLink},t1(ee.componentCls,{color:ee.colorLinkHover,backgroundColor:ee.linkHoverBg},{color:ee.colorLinkActive})),t7(ee)),{["&".concat(ee.componentCls,"-dangerous")]:Object.assign(Object.assign({color:ee.colorError},t1(ee.componentCls,{color:ee.colorErrorHover},{color:ee.colorErrorActive})),t7(ee))}),nr=ee=>Object.assign(Object.assign(Object.assign({},t1(ee.componentCls,{color:ee.colorText,backgroundColor:ee.textHoverBg},{color:ee.colorText,backgroundColor:ee.colorBgTextActive})),t7(ee)),{["&".concat(ee.componentCls,"-dangerous")]:Object.assign(Object.assign({color:ee.colorError},t7(ee)),t1(ee.componentCls,{color:ee.colorErrorHover,backgroundColor:ee.colorErrorBg},{color:ee.colorErrorHover,backgroundColor:ee.colorErrorBg}))}),no=ee=>{let{componentCls:en}=ee;return{["".concat(en,"-default")]:t8(ee),["".concat(en,"-primary")]:ne(ee),["".concat(en,"-dashed")]:nt(ee),["".concat(en,"-link")]:nn(ee),["".concat(en,"-text")]:nr(ee),["".concat(en,"-ghost")]:t6(ee.componentCls,ee.ghostBg,ee.colorBgContainer,ee.colorBgContainer,ee.colorTextDisabled,ee.colorBorder)}},ni=function(ee){let en=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",{componentCls:er,controlHeight:eo,fontSize:ei,lineHeight:ec,lineWidth:eu,borderRadius:ed,buttonPaddingHorizontal:ef,iconCls:eh}=ee,ep=Math.max(0,(eo-ei*ec)/2-eu),em="".concat(er,"-icon-only");return[{["".concat(er).concat(en)]:{fontSize:ei,height:eo,padding:"".concat(ep,"px ").concat(ef,"px"),borderRadius:ed,["&".concat(em)]:{width:eo,paddingInlineStart:0,paddingInlineEnd:0,["&".concat(er,"-round")]:{width:"auto"},[eh]:{fontSize:ee.buttonIconOnlyFontSize}},["&".concat(er,"-loading")]:{opacity:ee.opacityLoading,cursor:"default"},["".concat(er,"-loading-icon")]:{transition:"width ".concat(ee.motionDurationSlow," ").concat(ee.motionEaseInOut,", opacity ").concat(ee.motionDurationSlow," ").concat(ee.motionEaseInOut)}}},{["".concat(er).concat(er,"-circle").concat(en)]:t2(ee)},{["".concat(er).concat(er,"-round").concat(en)]:t5(ee)}]},ns=ee=>ni((0,tK.TS)(ee,{fontSize:ee.contentFontSize})),nl=ee=>{let en=(0,tK.TS)(ee,{controlHeight:ee.controlHeightSM,fontSize:ee.contentFontSizeSM,padding:ee.paddingXS,buttonPaddingHorizontal:ee.paddingInlineSM,borderRadius:ee.borderRadiusSM,buttonIconOnlyFontSize:ee.onlyIconSizeSM});return ni(en,"".concat(ee.componentCls,"-sm"))},nc=ee=>{let en=(0,tK.TS)(ee,{controlHeight:ee.controlHeightLG,fontSize:ee.contentFontSizeLG,buttonPaddingHorizontal:ee.paddingInlineLG,borderRadius:ee.borderRadiusLG,buttonIconOnlyFontSize:ee.onlyIconSizeLG});return ni(en,"".concat(ee.componentCls,"-lg"))},nu=ee=>{let{componentCls:en}=ee;return{[en]:{["&".concat(en,"-block")]:{width:"100%"}}}},nd=ee=>{let{paddingInline:en,onlyIconSize:er}=ee,eo=(0,tK.TS)(ee,{buttonPaddingHorizontal:en,buttonIconOnlyFontSize:er});return eo},nf=ee=>({fontWeight:400,defaultShadow:"0 ".concat(ee.controlOutlineWidth,"px 0 ").concat(ee.controlTmpOutline),primaryShadow:"0 ".concat(ee.controlOutlineWidth,"px 0 ").concat(ee.controlOutline),dangerShadow:"0 ".concat(ee.controlOutlineWidth,"px 0 ").concat(ee.colorErrorOutline),primaryColor:ee.colorTextLightSolid,dangerColor:ee.colorTextLightSolid,borderColorDisabled:ee.colorBorder,defaultGhostColor:ee.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:ee.colorBgContainer,paddingInline:ee.paddingContentHorizontal-ee.lineWidth,paddingInlineLG:ee.paddingContentHorizontal-ee.lineWidth,paddingInlineSM:8-ee.lineWidth,onlyIconSize:ee.fontSizeLG,onlyIconSizeSM:ee.fontSizeLG-2,onlyIconSizeLG:ee.fontSizeLG+2,groupBorderColor:ee.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:ee.colorBgTextHover,defaultColor:ee.colorText,defaultBg:ee.colorBgContainer,defaultBorderColor:ee.colorBorder,defaultBorderColorDisabled:ee.colorBorder,contentFontSize:ee.fontSize,contentFontSizeSM:ee.fontSize,contentFontSizeLG:ee.fontSizeLG});var nh=(0,ex.Z)("Button",ee=>{let en=nd(ee);return[t0(en),nl(en),ns(en),nc(en),nu(en),no(en),tJ(en)]},nf);function np(ee,en,er){let{focusElCls:eo,focus:ei,borderElCls:ec}=er,eu=ec?"> *":"",ed=["hover",ei?"focus":null,"active"].filter(Boolean).map(ee=>"&:".concat(ee," ").concat(eu)).join(",");return{["&-item:not(".concat(en,"-last-item)")]:{marginInlineEnd:-ee.lineWidth},"&-item":Object.assign(Object.assign({[ed]:{zIndex:2}},eo?{["&".concat(eo)]:{zIndex:2}}:{}),{["&[disabled] ".concat(eu)]:{zIndex:0}})}}function nm(ee,en,er){let{borderElCls:eo}=er,ei=eo?"> ".concat(eo):"";return{["&-item:not(".concat(en,"-first-item):not(").concat(en,"-last-item) ").concat(ei)]:{borderRadius:0},["&-item:not(".concat(en,"-last-item)").concat(en,"-first-item")]:{["& ".concat(ei,", &").concat(ee,"-sm ").concat(ei,", &").concat(ee,"-lg ").concat(ei)]:{borderStartEndRadius:0,borderEndEndRadius:0}},["&-item:not(".concat(en,"-first-item)").concat(en,"-last-item")]:{["& ".concat(ei,", &").concat(ee,"-sm ").concat(ei,", &").concat(ee,"-lg ").concat(ei)]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function ng(ee){let en=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{focus:!0},{componentCls:er}=ee,eo="".concat(er,"-compact");return{[eo]:Object.assign(Object.assign({},np(ee,eo,en)),nm(er,eo,en))}}function nx(ee,en){return{["&-item:not(".concat(en,"-last-item)")]:{marginBottom:-ee.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function nv(ee,en){return{["&-item:not(".concat(en,"-first-item):not(").concat(en,"-last-item)")]:{borderRadius:0},["&-item".concat(en,"-first-item:not(").concat(en,"-last-item)")]:{["&, &".concat(ee,"-sm, &").concat(ee,"-lg")]:{borderEndEndRadius:0,borderEndStartRadius:0}},["&-item".concat(en,"-last-item:not(").concat(en,"-first-item)")]:{["&, &".concat(ee,"-sm, &").concat(ee,"-lg")]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function ny(ee){let en="".concat(ee.componentCls,"-compact-vertical");return{[en]:Object.assign(Object.assign({},nx(ee,en)),nv(ee.componentCls,en))}}var nb=(0,ex.b)(["Button","compact"],ee=>{let en=nd(ee);return[ng(en),ny(en)]},nf),nw=function(ee,en){var er={};for(var eo in ee)Object.prototype.hasOwnProperty.call(ee,eo)&&0>en.indexOf(eo)&&(er[eo]=ee[eo]);if(null!=ee&&"function"==typeof Object.getOwnPropertySymbols)for(var ei=0,eo=Object.getOwnPropertySymbols(ee);eien.indexOf(eo[ei])&&Object.prototype.propertyIsEnumerable.call(ee,eo[ei])&&(er[eo[ei]]=ee[eo[ei]]);return er};function nk(ee){if("object"==typeof ee&&ee){let en=null==ee?void 0:ee.delay;return{loading:(en=Number.isNaN(en)||"number"!=typeof en?0:en)<=0,delay:en}}return{loading:!!ee,delay:0}}let n_=(ee,en)=>{var er,eo;let{loading:ec=!1,prefixCls:ed,type:ep="default",danger:eg,shape:ex="default",size:ev,styles:ey,disabled:eb,className:ew,rootClassName:ek,children:e_,icon:eE,ghost:ej=!1,block:eO=!1,htmlType:eC="button",classNames:eS,style:eT={}}=ee,eA=nw(ee,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),{getPrefixCls:eR,autoInsertSpaceInButton:eN,direction:eI,button:eM}=(0,ei.useContext)(em.E_),eL=eR("btn",ed),[eZ,eP]=nh(eL),eD=(0,ei.useContext)(e1),ez=null!=eb?eb:eD,eF=(0,ei.useContext)(e7),eH=(0,ei.useMemo)(()=>nk(ec),[ec]),[eB,eW]=(0,ei.useState)(eH.loading),[eG,e$]=(0,ei.useState)(!1),eU=(0,ei.createRef)(),eV=(0,eh.sQ)(en,eU),eq=1===ei.Children.count(e_)&&!eE&&!ts(ep);(0,ei.useEffect)(()=>{let ee=null;return eH.delay>0?ee=setTimeout(()=>{ee=null,eW(!0)},eH.delay):eW(eH.loading),function(){ee&&(clearTimeout(ee),ee=null)}},[eH]),(0,ei.useEffect)(()=>{if(!eV||!eV.current||!1===eN)return;let ee=eV.current.textContent;eq&&to(ee)?eG||e$(!0):eG&&e$(!1)},[eV]);let eX=en=>{let{onClick:er}=ee;if(eB||ez){en.preventDefault();return}null==er||er(en)},eK=!1!==eN,{compactSize:eY,compactItemClassnames:eQ}=(0,e3.ri)(eL,eI),e0={large:"lg",small:"sm",middle:void 0},e2=e6(ee=>{var en,er;return null!==(er=null!==(en=null!=ev?ev:eY)&&void 0!==en?en:eF)&&void 0!==er?er:ee}),e5=e2&&e0[e2]||"",e4=eB?"loading":eE,e9=ef(eA,["navigate"]),e8=eu()(eL,eP,{["".concat(eL,"-").concat(ex)]:"default"!==ex&&ex,["".concat(eL,"-").concat(ep)]:ep,["".concat(eL,"-").concat(e5)]:e5,["".concat(eL,"-icon-only")]:!e_&&0!==e_&&!!e4,["".concat(eL,"-background-ghost")]:ej&&!ts(ep),["".concat(eL,"-loading")]:eB,["".concat(eL,"-two-chinese-chars")]:eG&&eK&&!eB,["".concat(eL,"-block")]:eO,["".concat(eL,"-dangerous")]:!!eg,["".concat(eL,"-rtl")]:"rtl"===eI},eQ,ew,ek,null==eM?void 0:eM.className),tn=Object.assign(Object.assign({},null==eM?void 0:eM.style),eT),tr=eu()(null==eS?void 0:eS.icon,null===(er=null==eM?void 0:eM.classNames)||void 0===er?void 0:er.icon),ti=Object.assign(Object.assign({},(null==ey?void 0:ey.icon)||{}),(null===(eo=null==eM?void 0:eM.styles)||void 0===eo?void 0:eo.icon)||{}),tl=eE&&!eB?ei.createElement(td,{prefixCls:eL,className:tr,style:ti},eE):ei.createElement(tq,{existIcon:!!eE,prefixCls:eL,loading:!!eB}),tu=e_||0===e_?tc(e_,eq&&eK):null;if(void 0!==e9.href)return eZ(ei.createElement("a",Object.assign({},e9,{className:eu()(e8,{["".concat(eL,"-disabled")]:ez}),href:ez?void 0:e9.href,style:tn,onClick:eX,ref:eV,tabIndex:ez?-1:0}),tl,tu));let tf=ei.createElement("button",Object.assign({},eA,{type:eC,className:e8,style:tn,onClick:eX,disabled:ez,ref:eV}),tl,tu,eQ&&ei.createElement(nb,{key:"compact",prefixCls:eL}));return ts(ep)||(tf=ei.createElement(eJ,{component:"Button",disabled:!!eB},tf)),eZ(tf)},nE=(0,ei.forwardRef)(n_);nE.Group=tn,nE.__ANT_BUTTON=!0;var nj=nE},79264:function(ee,en,er){"use strict";er.d(en,{E_:function(){return eu}});var eo=er(50959);let ei="anticon",ec=(ee,en)=>en||(ee?"ant-".concat(ee):"ant"),eu=eo.createContext({getPrefixCls:ec,iconPrefixCls:ei}),{Consumer:ed}=eu},77887:function(ee,en,er){"use strict";er.d(en,{BR:function(){return ef},ri:function(){return ed}});var eo=er(84875),ei=er.n(eo);er(13763);var ec=er(50959);let eu=ec.createContext(null),ed=(ee,en)=>{let er=ec.useContext(eu),eo=ec.useMemo(()=>{if(!er)return"";let{compactDirection:eo,isFirstItem:ec,isLastItem:eu}=er,ed="vertical"===eo?"-vertical-":"-";return ei()("".concat(ee,"-compact").concat(ed,"item"),{["".concat(ee,"-compact").concat(ed,"first-item")]:ec,["".concat(ee,"-compact").concat(ed,"last-item")]:eu,["".concat(ee,"-compact").concat(ed,"item-rtl")]:"rtl"===en})},[ee,en,er]);return{compactSize:null==er?void 0:er.compactSize,compactDirection:null==er?void 0:er.compactDirection,compactItemClassnames:eo}},ef=ee=>{let{children:en}=ee;return ec.createElement(eu.Provider,{value:null},en)}},81998:function(ee,en,er){"use strict";er.d(en,{Lx:function(){return ec},Qy:function(){return ef},Ro:function(){return ei},Wf:function(){return eo},du:function(){return eu}});let eo=function(ee){let en=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{boxSizing:"border-box",margin:0,padding:0,color:ee.colorText,fontSize:ee.fontSize,lineHeight:ee.lineHeight,listStyle:"none",fontFamily:en?"inherit":ee.fontFamily}},ei=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),ec=ee=>({a:{color:ee.colorLink,textDecoration:ee.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:"color ".concat(ee.motionDurationSlow),"-webkit-text-decoration-skip":"objects","&:hover":{color:ee.colorLinkHover},"&:active":{color:ee.colorLinkActive},"&:active,\n &:hover":{textDecoration:ee.linkHoverDecoration,outline:0},"&:focus":{textDecoration:ee.linkFocusDecoration,outline:0},"&[disabled]":{color:ee.colorTextDisabled,cursor:"not-allowed"}}}),eu=(ee,en)=>{let{fontFamily:er,fontSize:eo}=ee,ei='[class^="'.concat(en,'"], [class*=" ').concat(en,'"]');return{[ei]:{fontFamily:er,fontSize:eo,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[ei]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},ed=ee=>({outline:"".concat(ee.lineWidthFocus,"px solid ").concat(ee.colorPrimaryBorder),outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),ef=ee=>({"&:focus-visible":Object.assign({},ed(ee))})},11023:function(ee,en,er){"use strict";er.d(en,{Z:function(){return eW}});var eo=er(50959),ei=er(42374),ec="5.11.4",eu=er(81548);let ed=ee=>{let{controlHeight:en}=ee;return{controlHeightSM:.75*en,controlHeightXS:.5*en,controlHeightLG:1.25*en}};var ef=ed;function eh(ee){let{sizeUnit:en,sizeStep:er}=ee;return{sizeXXL:en*(er+8),sizeXL:en*(er+4),sizeLG:en*(er+2),sizeMD:en*(er+1),sizeMS:en*er,size:en*er,sizeSM:en*(er-1),sizeXS:en*(er-2),sizeXXS:en*(er-3)}}let ep={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},em=Object.assign(Object.assign({},ep),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n'Noto Color Emoji'",fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});var eg=em,ex=er(96299),ev=er(76367),ey=er(28556),eb=er(23881),ew=function(){function ee(en,er){if(void 0===en&&(en=""),void 0===er&&(er={}),en instanceof ee)return en;"number"==typeof en&&(en=(0,ex.Yt)(en)),this.originalInput=en;var eo,ei=(0,ey.uA)(en);this.originalInput=en,this.r=ei.r,this.g=ei.g,this.b=ei.b,this.a=ei.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(eo=er.format)&&void 0!==eo?eo:ei.format,this.gradientType=er.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=ei.ok}return ee.prototype.isDark=function(){return 128>this.getBrightness()},ee.prototype.isLight=function(){return!this.isDark()},ee.prototype.getBrightness=function(){var ee=this.toRgb();return(299*ee.r+587*ee.g+114*ee.b)/1e3},ee.prototype.getLuminance=function(){var ee,en,er,eo=this.toRgb(),ei=eo.r/255,ec=eo.g/255,eu=eo.b/255;return .2126*(ee=ei<=.03928?ei/12.92:Math.pow((ei+.055)/1.055,2.4))+.7152*(en=ec<=.03928?ec/12.92:Math.pow((ec+.055)/1.055,2.4))+.0722*(er=eu<=.03928?eu/12.92:Math.pow((eu+.055)/1.055,2.4))},ee.prototype.getAlpha=function(){return this.a},ee.prototype.setAlpha=function(ee){return this.a=(0,eb.Yq)(ee),this.roundA=Math.round(100*this.a)/100,this},ee.prototype.isMonochrome=function(){return 0===this.toHsl().s},ee.prototype.toHsv=function(){var ee=(0,ex.py)(this.r,this.g,this.b);return{h:360*ee.h,s:ee.s,v:ee.v,a:this.a}},ee.prototype.toHsvString=function(){var ee=(0,ex.py)(this.r,this.g,this.b),en=Math.round(360*ee.h),er=Math.round(100*ee.s),eo=Math.round(100*ee.v);return 1===this.a?"hsv(".concat(en,", ").concat(er,"%, ").concat(eo,"%)"):"hsva(".concat(en,", ").concat(er,"%, ").concat(eo,"%, ").concat(this.roundA,")")},ee.prototype.toHsl=function(){var ee=(0,ex.lC)(this.r,this.g,this.b);return{h:360*ee.h,s:ee.s,l:ee.l,a:this.a}},ee.prototype.toHslString=function(){var ee=(0,ex.lC)(this.r,this.g,this.b),en=Math.round(360*ee.h),er=Math.round(100*ee.s),eo=Math.round(100*ee.l);return 1===this.a?"hsl(".concat(en,", ").concat(er,"%, ").concat(eo,"%)"):"hsla(".concat(en,", ").concat(er,"%, ").concat(eo,"%, ").concat(this.roundA,")")},ee.prototype.toHex=function(ee){return void 0===ee&&(ee=!1),(0,ex.vq)(this.r,this.g,this.b,ee)},ee.prototype.toHexString=function(ee){return void 0===ee&&(ee=!1),"#"+this.toHex(ee)},ee.prototype.toHex8=function(ee){return void 0===ee&&(ee=!1),(0,ex.s)(this.r,this.g,this.b,this.a,ee)},ee.prototype.toHex8String=function(ee){return void 0===ee&&(ee=!1),"#"+this.toHex8(ee)},ee.prototype.toHexShortString=function(ee){return void 0===ee&&(ee=!1),1===this.a?this.toHexString(ee):this.toHex8String(ee)},ee.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},ee.prototype.toRgbString=function(){var ee=Math.round(this.r),en=Math.round(this.g),er=Math.round(this.b);return 1===this.a?"rgb(".concat(ee,", ").concat(en,", ").concat(er,")"):"rgba(".concat(ee,", ").concat(en,", ").concat(er,", ").concat(this.roundA,")")},ee.prototype.toPercentageRgb=function(){var ee=function(ee){return"".concat(Math.round(100*(0,eb.sh)(ee,255)),"%")};return{r:ee(this.r),g:ee(this.g),b:ee(this.b),a:this.a}},ee.prototype.toPercentageRgbString=function(){var ee=function(ee){return Math.round(100*(0,eb.sh)(ee,255))};return 1===this.a?"rgb(".concat(ee(this.r),"%, ").concat(ee(this.g),"%, ").concat(ee(this.b),"%)"):"rgba(".concat(ee(this.r),"%, ").concat(ee(this.g),"%, ").concat(ee(this.b),"%, ").concat(this.roundA,")")},ee.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var ee="#"+(0,ex.vq)(this.r,this.g,this.b,!1),en=0,er=Object.entries(ev.R);en=0;return!en&&eo&&(ee.startsWith("hex")||"name"===ee)?"name"===ee&&0===this.a?this.toName():this.toRgbString():("rgb"===ee&&(er=this.toRgbString()),"prgb"===ee&&(er=this.toPercentageRgbString()),("hex"===ee||"hex6"===ee)&&(er=this.toHexString()),"hex3"===ee&&(er=this.toHexString(!0)),"hex4"===ee&&(er=this.toHex8String(!0)),"hex8"===ee&&(er=this.toHex8String()),"name"===ee&&(er=this.toName()),"hsl"===ee&&(er=this.toHslString()),"hsv"===ee&&(er=this.toHsvString()),er||this.toHexString())},ee.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},ee.prototype.clone=function(){return new ee(this.toString())},ee.prototype.lighten=function(en){void 0===en&&(en=10);var er=this.toHsl();return er.l+=en/100,er.l=(0,eb.V2)(er.l),new ee(er)},ee.prototype.brighten=function(en){void 0===en&&(en=10);var er=this.toRgb();return er.r=Math.max(0,Math.min(255,er.r-Math.round(-(255*(en/100))))),er.g=Math.max(0,Math.min(255,er.g-Math.round(-(255*(en/100))))),er.b=Math.max(0,Math.min(255,er.b-Math.round(-(255*(en/100))))),new ee(er)},ee.prototype.darken=function(en){void 0===en&&(en=10);var er=this.toHsl();return er.l-=en/100,er.l=(0,eb.V2)(er.l),new ee(er)},ee.prototype.tint=function(ee){return void 0===ee&&(ee=10),this.mix("white",ee)},ee.prototype.shade=function(ee){return void 0===ee&&(ee=10),this.mix("black",ee)},ee.prototype.desaturate=function(en){void 0===en&&(en=10);var er=this.toHsl();return er.s-=en/100,er.s=(0,eb.V2)(er.s),new ee(er)},ee.prototype.saturate=function(en){void 0===en&&(en=10);var er=this.toHsl();return er.s+=en/100,er.s=(0,eb.V2)(er.s),new ee(er)},ee.prototype.greyscale=function(){return this.desaturate(100)},ee.prototype.spin=function(en){var er=this.toHsl(),eo=(er.h+en)%360;return er.h=eo<0?360+eo:eo,new ee(er)},ee.prototype.mix=function(en,er){void 0===er&&(er=50);var eo=this.toRgb(),ei=new ee(en).toRgb(),ec=er/100;return new ee({r:(ei.r-eo.r)*ec+eo.r,g:(ei.g-eo.g)*ec+eo.g,b:(ei.b-eo.b)*ec+eo.b,a:(ei.a-eo.a)*ec+eo.a})},ee.prototype.analogous=function(en,er){void 0===en&&(en=6),void 0===er&&(er=30);var eo=this.toHsl(),ei=360/er,ec=[this];for(eo.h=(eo.h-(ei*en>>1)+720)%360;--en;)eo.h=(eo.h+ei)%360,ec.push(new ee(eo));return ec},ee.prototype.complement=function(){var en=this.toHsl();return en.h=(en.h+180)%360,new ee(en)},ee.prototype.monochromatic=function(en){void 0===en&&(en=6);for(var er=this.toHsv(),eo=er.h,ei=er.s,ec=er.v,eu=[],ed=1/en;en--;)eu.push(new ee({h:eo,s:ei,v:ec})),ec=(ec+ed)%1;return eu},ee.prototype.splitcomplement=function(){var en=this.toHsl(),er=en.h;return[this,new ee({h:(er+72)%360,s:en.s,l:en.l}),new ee({h:(er+216)%360,s:en.s,l:en.l})]},ee.prototype.onBackground=function(en){var er=this.toRgb(),eo=new ee(en).toRgb(),ei=er.a+eo.a*(1-er.a);return new ee({r:(er.r*er.a+eo.r*eo.a*(1-er.a))/ei,g:(er.g*er.a+eo.g*eo.a*(1-er.a))/ei,b:(er.b*er.a+eo.b*eo.a*(1-er.a))/ei,a:ei})},ee.prototype.triad=function(){return this.polyad(3)},ee.prototype.tetrad=function(){return this.polyad(4)},ee.prototype.polyad=function(en){for(var er=this.toHsl(),eo=er.h,ei=[this],ec=360/en,eu=1;eu{let en=ee,er=ee,eo=ee,ei=ee;return ee<6&&ee>=5?en=ee+1:ee<16&&ee>=6?en=ee+2:ee>=16&&(en=16),ee<7&&ee>=5?er=4:ee<8&&ee>=7?er=5:ee<14&&ee>=8?er=6:ee<16&&ee>=14?er=7:ee>=16&&(er=8),ee<6&&ee>=2?eo=1:ee>=6&&(eo=2),ee>4&&ee<8?ei=4:ee>=8&&(ei=6),{borderRadius:ee,borderRadiusXS:eo,borderRadiusSM:er,borderRadiusLG:en,borderRadiusOuter:ei}};var eE=e_;function ej(ee){let{motionUnit:en,motionBase:er,borderRadius:eo,lineWidth:ei}=ee;return Object.assign({motionDurationFast:"".concat((er+en).toFixed(1),"s"),motionDurationMid:"".concat((er+2*en).toFixed(1),"s"),motionDurationSlow:"".concat((er+3*en).toFixed(1),"s"),lineWidthBold:ei+1},eE(eo))}let eO=(ee,en)=>new ew(ee).setAlpha(en).toRgbString(),eC=(ee,en)=>{let er=new ew(ee);return er.darken(en).toHexString()},eS=ee=>{let en=(0,eu.generate)(ee);return{1:en[0],2:en[1],3:en[2],4:en[3],5:en[4],6:en[5],7:en[6],8:en[4],9:en[5],10:en[6]}},eT=(ee,en)=>{let er=ee||"#fff",eo=en||"#000";return{colorBgBase:er,colorTextBase:eo,colorText:eO(eo,.88),colorTextSecondary:eO(eo,.65),colorTextTertiary:eO(eo,.45),colorTextQuaternary:eO(eo,.25),colorFill:eO(eo,.15),colorFillSecondary:eO(eo,.06),colorFillTertiary:eO(eo,.04),colorFillQuaternary:eO(eo,.02),colorBgLayout:eC(er,4),colorBgContainer:eC(er,0),colorBgElevated:eC(er,0),colorBgSpotlight:eO(eo,.85),colorBgBlur:"transparent",colorBorder:eC(er,15),colorBorderSecondary:eC(er,6)}};function eA(ee){let en=Array(10).fill(null).map((en,er)=>{let eo=er-1,ei=ee*Math.pow(2.71828,eo/5),ec=er>1?Math.floor(ei):Math.ceil(ei);return 2*Math.floor(ec/2)});return en[1]=ee,en.map(ee=>{let en=ee+8;return{size:ee,lineHeight:en/ee}})}let eR=ee=>{let en=eA(ee),er=en.map(ee=>ee.size),eo=en.map(ee=>ee.lineHeight);return{fontSizeSM:er[0],fontSize:er[1],fontSizeLG:er[2],fontSizeXL:er[3],fontSizeHeading1:er[6],fontSizeHeading2:er[5],fontSizeHeading3:er[4],fontSizeHeading4:er[3],fontSizeHeading5:er[2],lineHeight:eo[1],lineHeightLG:eo[2],lineHeightSM:eo[0],lineHeightHeading1:eo[6],lineHeightHeading2:eo[5],lineHeightHeading3:eo[4],lineHeightHeading4:eo[3],lineHeightHeading5:eo[2]}};var eN=eR;function eI(ee){let en=Object.keys(ep).map(en=>{let er=(0,eu.generate)(ee[en]);return Array(10).fill(1).reduce((ee,eo,ei)=>(ee["".concat(en,"-").concat(ei+1)]=er[ei],ee["".concat(en).concat(ei+1)]=er[ei],ee),{})}).reduce((ee,en)=>ee=Object.assign(Object.assign({},ee),en),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},ee),en),ek(ee,{generateColorPalettes:eS,generateNeutralColorPalettes:eT})),eN(ee.fontSize)),eh(ee)),ef(ee)),ej(ee))}let eM=(0,ei.jG)(eI),eL={token:eg,override:{override:eg},hashed:!0},eZ=eo.createContext(eL);function eP(ee){return ee>=0&&ee<=255}var eD=function(ee,en){let{r:er,g:eo,b:ei,a:ec}=new ew(ee).toRgb();if(ec<1)return ee;let{r:eu,g:ed,b:ef}=new ew(en).toRgb();for(let ee=.01;ee<=1;ee+=.01){let en=Math.round((er-eu*(1-ee))/ee),ec=Math.round((eo-ed*(1-ee))/ee),eh=Math.round((ei-ef*(1-ee))/ee);if(eP(en)&&eP(ec)&&eP(eh))return new ew({r:en,g:ec,b:eh,a:Math.round(100*ee)/100}).toRgbString()}return new ew({r:er,g:eo,b:ei,a:1}).toRgbString()},ez=function(ee,en){var er={};for(var eo in ee)Object.prototype.hasOwnProperty.call(ee,eo)&&0>en.indexOf(eo)&&(er[eo]=ee[eo]);if(null!=ee&&"function"==typeof Object.getOwnPropertySymbols)for(var ei=0,eo=Object.getOwnPropertySymbols(ee);eien.indexOf(eo[ei])&&Object.prototype.propertyIsEnumerable.call(ee,eo[ei])&&(er[eo[ei]]=ee[eo[ei]]);return er};function eF(ee){let{override:en}=ee,er=ez(ee,["override"]),eo=Object.assign({},en);Object.keys(eg).forEach(ee=>{delete eo[ee]});let ei=Object.assign(Object.assign({},er),eo),ec=480,eu=576,ed=768,ef=992,eh=1200,ep=1600;if(!1===ei.motion){let ee="0s";ei.motionDurationFast=ee,ei.motionDurationMid=ee,ei.motionDurationSlow=ee}let em=Object.assign(Object.assign(Object.assign({},ei),{colorFillContent:ei.colorFillSecondary,colorFillContentHover:ei.colorFill,colorFillAlter:ei.colorFillQuaternary,colorBgContainerDisabled:ei.colorFillTertiary,colorBorderBg:ei.colorBgContainer,colorSplit:eD(ei.colorBorderSecondary,ei.colorBgContainer),colorTextPlaceholder:ei.colorTextQuaternary,colorTextDisabled:ei.colorTextQuaternary,colorTextHeading:ei.colorText,colorTextLabel:ei.colorTextSecondary,colorTextDescription:ei.colorTextTertiary,colorTextLightSolid:ei.colorWhite,colorHighlight:ei.colorError,colorBgTextHover:ei.colorFillSecondary,colorBgTextActive:ei.colorFill,colorIcon:ei.colorTextTertiary,colorIconHover:ei.colorText,colorErrorOutline:eD(ei.colorErrorBg,ei.colorBgContainer),colorWarningOutline:eD(ei.colorWarningBg,ei.colorBgContainer),fontSizeIcon:ei.fontSizeSM,lineWidthFocus:4*ei.lineWidth,lineWidth:ei.lineWidth,controlOutlineWidth:2*ei.lineWidth,controlInteractiveSize:ei.controlHeight/2,controlItemBgHover:ei.colorFillTertiary,controlItemBgActive:ei.colorPrimaryBg,controlItemBgActiveHover:ei.colorPrimaryBgHover,controlItemBgActiveDisabled:ei.colorFill,controlTmpOutline:ei.colorFillQuaternary,controlOutline:eD(ei.colorPrimaryBg,ei.colorBgContainer),lineType:ei.lineType,borderRadius:ei.borderRadius,borderRadiusXS:ei.borderRadiusXS,borderRadiusSM:ei.borderRadiusSM,borderRadiusLG:ei.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:ei.sizeXXS,paddingXS:ei.sizeXS,paddingSM:ei.sizeSM,padding:ei.size,paddingMD:ei.sizeMD,paddingLG:ei.sizeLG,paddingXL:ei.sizeXL,paddingContentHorizontalLG:ei.sizeLG,paddingContentVerticalLG:ei.sizeMS,paddingContentHorizontal:ei.sizeMS,paddingContentVertical:ei.sizeSM,paddingContentHorizontalSM:ei.size,paddingContentVerticalSM:ei.sizeXS,marginXXS:ei.sizeXXS,marginXS:ei.sizeXS,marginSM:ei.sizeSM,margin:ei.size,marginMD:ei.sizeMD,marginLG:ei.sizeLG,marginXL:ei.sizeXL,marginXXL:ei.sizeXXL,boxShadow:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowSecondary:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTertiary:"\n 0 1px 2px 0 rgba(0, 0, 0, 0.03),\n 0 1px 6px -1px rgba(0, 0, 0, 0.02),\n 0 2px 4px 0 rgba(0, 0, 0, 0.02)\n ",screenXS:ec,screenXSMin:ec,screenXSMax:eu-1,screenSM:eu,screenSMMin:eu,screenSMMax:ed-1,screenMD:ed,screenMDMin:ed,screenMDMax:ef-1,screenLG:ef,screenLGMin:ef,screenLGMax:eh-1,screenXL:eh,screenXLMin:eh,screenXLMax:ep-1,screenXXL:ep,screenXXLMin:ep,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:"\n 0 1px 2px -2px ".concat(new ew("rgba(0, 0, 0, 0.16)").toRgbString(),",\n 0 3px 6px 0 ").concat(new ew("rgba(0, 0, 0, 0.12)").toRgbString(),",\n 0 5px 12px 4px ").concat(new ew("rgba(0, 0, 0, 0.09)").toRgbString(),"\n "),boxShadowDrawerRight:"\n -6px 0 16px 0 rgba(0, 0, 0, 0.08),\n -3px 0 6px -4px rgba(0, 0, 0, 0.12),\n -9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerLeft:"\n 6px 0 16px 0 rgba(0, 0, 0, 0.08),\n 3px 0 6px -4px rgba(0, 0, 0, 0.12),\n 9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerUp:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerDown:"\n 0 -6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 -3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 -9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),eo);return em}var eH=function(ee,en){var er={};for(var eo in ee)Object.prototype.hasOwnProperty.call(ee,eo)&&0>en.indexOf(eo)&&(er[eo]=ee[eo]);if(null!=ee&&"function"==typeof Object.getOwnPropertySymbols)for(var ei=0,eo=Object.getOwnPropertySymbols(ee);eien.indexOf(eo[ei])&&Object.prototype.propertyIsEnumerable.call(ee,eo[ei])&&(er[eo[ei]]=ee[eo[ei]]);return er};let eB=(ee,en,er)=>{let eo=er.getDerivativeToken(ee),{override:ei}=en,ec=eH(en,["override"]),eu=Object.assign(Object.assign({},eo),{override:ei});return eu=eF(eu),ec&&Object.entries(ec).forEach(ee=>{let[en,er]=ee,{theme:eo}=er,ei=eH(er,["theme"]),ec=ei;eo&&(ec=eB(Object.assign(Object.assign({},eu),ei),{override:ei},eo)),eu[en]=ec}),eu};function eW(){let{token:ee,hashed:en,theme:er,override:eu}=eo.useContext(eZ),ed="".concat(ec,"-").concat(en||""),ef=er||eM,[eh,ep]=(0,ei.fp)(ef,[eg,ee],{salt:ed,override:eu,getComputedToken:eB,formatToken:eF});return[ef,eh,en?ep:""]}},12071:function(ee,en,er){"use strict";er.d(en,{Z:function(){return em},b:function(){return eg}});var eo=er(50959),ei=er(42374);er(64213);var ec=er(79264),eu=er(81998),ed=er(11023),ef=er(87393);let eh=(ee,en)=>{let[er,eo]=(0,ed.Z)();return(0,ei.xy)({theme:er,token:eo,hashId:"",path:["ant-design-icons",ee],nonce:()=>null==en?void 0:en.nonce},()=>[{[".".concat(ee)]:Object.assign(Object.assign({},(0,eu.Ro)()),{[".".concat(ee," .").concat(ee,"-icon")]:{display:"block"}})}])};var ep=eh;function em(ee,en,er){let eh=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},em=Array.isArray(ee)?ee:[ee,ee],[eg]=em,ex=em.join("-");return ee=>{let[em,ev,ey]=(0,ed.Z)(),{getPrefixCls:eb,iconPrefixCls:ew,csp:ek}=(0,eo.useContext)(ec.E_),e_=eb(),eE={theme:em,token:ev,hashId:ey,nonce:()=>null==ek?void 0:ek.nonce,clientOnly:eh.clientOnly,order:eh.order||-999};return(0,ei.xy)(Object.assign(Object.assign({},eE),{clientOnly:!1,path:["Shared",e_]}),()=>[{"&":(0,eu.Lx)(ev)}]),ep(ew,ek),[(0,ei.xy)(Object.assign(Object.assign({},eE),{path:[ex,ee,ew]}),()=>{let{token:eo,flush:ei}=(0,ef.ZP)(ev),ec=Object.assign({},ev[eg]);if(eh.deprecatedTokens){let{deprecatedTokens:ee}=eh;ee.forEach(ee=>{var en;let[er,eo]=ee;((null==ec?void 0:ec[er])||(null==ec?void 0:ec[eo]))&&(null!==(en=ec[eo])&&void 0!==en||(ec[eo]=null==ec?void 0:ec[er]))})}let ed="function"==typeof er?er((0,ef.TS)(eo,null!=ec?ec:{})):er,ep=Object.assign(Object.assign({},ed),ec),em=".".concat(ee),ex=(0,ef.TS)(eo,{componentCls:em,prefixCls:ee,iconCls:".".concat(ew),antCls:".".concat(e_)},ep),eb=en(ex,{hashId:ey,prefixCls:ee,rootPrefixCls:e_,iconPrefixCls:ew,overrideComponentToken:ec});return ei(eg,ep),[!1===eh.resetStyle?null:(0,eu.du)(ex,ee),eb]}),ey]}}let eg=(ee,en,er,eo)=>{let ei=em(ee,en,er,Object.assign({resetStyle:!1,order:-998},eo)),ec=ee=>{let{prefixCls:en}=ee;return ei(en),null};return ec}},87393:function(ee,en,er){"use strict";er.d(en,{TS:function(){return ec},ZP:function(){return ef}});let eo="undefined"!=typeof CSSINJS_STATISTIC,ei=!0;function ec(){for(var ee=arguments.length,en=Array(ee),er=0;er{let en=Object.keys(ee);en.forEach(en=>{Object.defineProperty(ec,en,{configurable:!0,enumerable:!0,get:()=>ee[en]})})}),ei=!0,ec}let eu={};function ed(){}function ef(ee){let en;let er=ee,ec=ed;return eo&&"undefined"!=typeof Proxy&&(en=new Set,er=new Proxy(ee,{get:(ee,er)=>(ei&&en.add(er),ee[er])}),ec=(ee,er)=>{var eo;eu[ee]={global:Array.from(en),component:Object.assign(Object.assign({},null===(eo=eu[ee])||void 0===eo?void 0:eo.component),er)}}),{token:er,keys:en,flush:ec}}},40851:function(ee,en){"use strict";var er;Object.defineProperty(en,"__esModule",{value:!0}),function(ee,en){for(var er in en)Object.defineProperty(ee,er,{enumerable:!0,get:en[er]})}(en,{PrefetchKind:function(){return er},ACTION_REFRESH:function(){return eo},ACTION_NAVIGATE:function(){return ei},ACTION_RESTORE:function(){return ec},ACTION_SERVER_PATCH:function(){return eu},ACTION_PREFETCH:function(){return ed},ACTION_FAST_REFRESH:function(){return ef},ACTION_SERVER_ACTION:function(){return eh},isThenable:function(){return ep}});let eo="refresh",ei="navigate",ec="restore",eu="server-patch",ed="prefetch",ef="fast-refresh",eh="server-action";function ep(ee){return ee&&("object"==typeof ee||"function"==typeof ee)&&"function"==typeof ee.then}!function(ee){ee.AUTO="auto",ee.FULL="full",ee.TEMPORARY="temporary"}(er||(er={})),("function"==typeof en.default||"object"==typeof en.default&&null!==en.default)&&void 0===en.default.__esModule&&(Object.defineProperty(en.default,"__esModule",{value:!0}),Object.assign(en.default,en),ee.exports=en.default)},55718:function(ee,en,er){"use strict";function eo(ee,en,er,eo){return!1}Object.defineProperty(en,"__esModule",{value:!0}),Object.defineProperty(en,"getDomainLocale",{enumerable:!0,get:function(){return eo}}),er(16070),("function"==typeof en.default||"object"==typeof en.default&&null!==en.default)&&void 0===en.default.__esModule&&(Object.defineProperty(en.default,"__esModule",{value:!0}),Object.assign(en.default,en),ee.exports=en.default)},92120:function(ee,en,er){"use strict";Object.defineProperty(en,"__esModule",{value:!0}),Object.defineProperty(en,"Image",{enumerable:!0,get:function(){return Image}});let eo=er(81351),ei=er(35815),ec=ei._(er(50959)),eu=eo._(er(10422)),ed=eo._(er(92424)),ef=er(54379),eh=er(20294),ep=er(75968);er(13003);let em=er(17873),eg=eo._(er(32400)),ex={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!0,unoptimized:!0};function ev(ee,en,er,eo,ei,ec){let eu=null==ee?void 0:ee.src;if(!ee||ee["data-loaded-src"]===eu)return;ee["data-loaded-src"]=eu;let ed="decode"in ee?ee.decode():Promise.resolve();ed.catch(()=>{}).then(()=>{if(ee.parentElement&&ee.isConnected){if("empty"!==en&&ei(!0),null==er?void 0:er.current){let en=new Event("load");Object.defineProperty(en,"target",{writable:!1,value:ee});let eo=!1,ei=!1;er.current({...en,nativeEvent:en,currentTarget:ee,target:ee,isDefaultPrevented:()=>eo,isPropagationStopped:()=>ei,persist:()=>{},preventDefault:()=>{eo=!0,en.preventDefault()},stopPropagation:()=>{ei=!0,en.stopPropagation()}})}(null==eo?void 0:eo.current)&&eo.current(ee)}})}function ey(ee){let[en,er]=ec.version.split(".",2),eo=parseInt(en,10),ei=parseInt(er,10);return eo>18||18===eo&&ei>=3?{fetchPriority:ee}:{fetchpriority:ee}}let eb=(0,ec.forwardRef)((ee,en)=>{let{src:er,srcSet:eo,sizes:ei,height:eu,width:ed,decoding:ef,className:eh,style:ep,fetchPriority:em,placeholder:eg,loading:ex,unoptimized:eb,fill:ew,onLoadRef:ek,onLoadingCompleteRef:e_,setBlurComplete:eE,setShowAltText:ej,onLoad:eO,onError:eC,...eS}=ee;return ec.default.createElement("img",{...eS,...ey(em),loading:ex,width:ed,height:eu,decoding:ef,"data-nimg":ew?"fill":"1",className:eh,style:ep,sizes:ei,srcSet:eo,src:er,ref:(0,ec.useCallback)(ee=>{en&&("function"==typeof en?en(ee):"object"==typeof en&&(en.current=ee)),ee&&(eC&&(ee.src=ee.src),ee.complete&&ev(ee,eg,ek,e_,eE,eb))},[er,eg,ek,e_,eE,eC,eb,en]),onLoad:ee=>{let en=ee.currentTarget;ev(en,eg,ek,e_,eE,eb)},onError:ee=>{ej(!0),"empty"!==eg&&eE(!0),eC&&eC(ee)}})});function ew(ee){let{isAppRouter:en,imgAttributes:er}=ee,eo={as:"image",imageSrcSet:er.srcSet,imageSizes:er.sizes,crossOrigin:er.crossOrigin,referrerPolicy:er.referrerPolicy,...ey(er.fetchPriority)};return en&&eu.default.preload?(eu.default.preload(er.src,eo),null):ec.default.createElement(ed.default,null,ec.default.createElement("link",{key:"__nimg-"+er.src+er.srcSet+er.sizes,rel:"preload",href:er.srcSet?void 0:er.src,...eo}))}let Image=(0,ec.forwardRef)((ee,en)=>{let er=(0,ec.useContext)(em.RouterContext),eo=!er,ei=(0,ec.useContext)(ep.ImageConfigContext),eu=(0,ec.useMemo)(()=>{let ee=ex||ei||eh.imageConfigDefault,en=[...ee.deviceSizes,...ee.imageSizes].sort((ee,en)=>ee-en),er=ee.deviceSizes.sort((ee,en)=>ee-en);return{...ee,allSizes:en,deviceSizes:er}},[ei]),{onLoad:ed,onLoadingComplete:ev}=ee,ey=(0,ec.useRef)(ed);(0,ec.useEffect)(()=>{ey.current=ed},[ed]);let ek=(0,ec.useRef)(ev);(0,ec.useEffect)(()=>{ek.current=ev},[ev]);let[e_,eE]=(0,ec.useState)(!1),[ej,eO]=(0,ec.useState)(!1),{props:eC,meta:eS}=(0,ef.getImgProps)(ee,{defaultLoader:eg.default,imgConf:eu,blurComplete:e_,showAltText:ej});return ec.default.createElement(ec.default.Fragment,null,ec.default.createElement(eb,{...eC,unoptimized:eS.unoptimized,placeholder:eS.placeholder,fill:eS.fill,onLoadRef:ey,onLoadingCompleteRef:ek,setBlurComplete:eE,setShowAltText:eO,ref:en}),eS.priority?ec.default.createElement(ew,{isAppRouter:eo,imgAttributes:eC}):null)});("function"==typeof en.default||"object"==typeof en.default&&null!==en.default)&&void 0===en.default.__esModule&&(Object.defineProperty(en.default,"__esModule",{value:!0}),Object.assign(en.default,en),ee.exports=en.default)},90795:function(ee,en,er){"use strict";Object.defineProperty(en,"__esModule",{value:!0}),Object.defineProperty(en,"default",{enumerable:!0,get:function(){return eO}});let eo=er(81351),ei=eo._(er(50959)),ec=er(76870),eu=er(18246),ed=er(57509),ef=er(24298),eh=er(88212),ep=er(17873),em=er(19603),eg=er(36659),ex=er(55718),ev=er(1751),ey=er(40851),eb=new Set;function ew(ee,en,er,eo,ei,ec){if(!ec&&!(0,eu.isLocalURL)(en))return;if(!eo.bypassPrefetchedCheck){let ei=void 0!==eo.locale?eo.locale:"locale"in ee?ee.locale:void 0,ec=en+"%"+er+"%"+ei;if(eb.has(ec))return;eb.add(ec)}let ed=ec?ee.prefetch(en,ei):ee.prefetch(en,er,eo);Promise.resolve(ed).catch(ee=>{})}function ek(ee){let en=ee.currentTarget,er=en.getAttribute("target");return er&&"_self"!==er||ee.metaKey||ee.ctrlKey||ee.shiftKey||ee.altKey||ee.nativeEvent&&2===ee.nativeEvent.which}function e_(ee,en,er,eo,ec,ed,ef,eh,ep){let{nodeName:em}=ee.currentTarget,eg="A"===em.toUpperCase();if(eg&&(ek(ee)||!ep&&!(0,eu.isLocalURL)(er)))return;ee.preventDefault();let ex=()=>{let ee=null==ef||ef;"beforePopState"in en?en[ec?"replace":"push"](er,eo,{shallow:ed,locale:eh,scroll:ee}):en[ec?"replace":"push"](eo||er,{scroll:ee})};ep?ei.default.startTransition(ex):ex()}function eE(ee){return"string"==typeof ee?ee:(0,ed.formatUrl)(ee)}let ej=ei.default.forwardRef(function(ee,en){let er,eo;let{href:eu,as:ed,children:eb,prefetch:ek=null,passHref:ej,replace:eO,shallow:eC,scroll:eS,locale:eT,onClick:eA,onMouseEnter:eR,onTouchStart:eN,legacyBehavior:eI=!1,...eM}=ee;er=eb,eI&&("string"==typeof er||"number"==typeof er)&&(er=ei.default.createElement("a",null,er));let eL=ei.default.useContext(ep.RouterContext),eZ=ei.default.useContext(em.AppRouterContext),eP=null!=eL?eL:eZ,eD=!eL,ez=!1!==ek,eF=null===ek?ey.PrefetchKind.AUTO:ey.PrefetchKind.FULL,{href:eH,as:eB}=ei.default.useMemo(()=>{if(!eL){let ee=eE(eu);return{href:ee,as:ed?eE(ed):ee}}let[ee,en]=(0,ec.resolveHref)(eL,eu,!0);return{href:ee,as:ed?(0,ec.resolveHref)(eL,ed):en||ee}},[eL,eu,ed]),eW=ei.default.useRef(eH),eG=ei.default.useRef(eB);eI&&(eo=ei.default.Children.only(er));let e$=eI?eo&&"object"==typeof eo&&eo.ref:en,[eU,eV,eq]=(0,eg.useIntersection)({rootMargin:"200px"}),eX=ei.default.useCallback(ee=>{(eG.current!==eB||eW.current!==eH)&&(eq(),eG.current=eB,eW.current=eH),eU(ee),e$&&("function"==typeof e$?e$(ee):"object"==typeof e$&&(e$.current=ee))},[eB,e$,eH,eq,eU]);ei.default.useEffect(()=>{eP&&eV&&ez&&ew(eP,eH,eB,{locale:eT},{kind:eF},eD)},[eB,eH,eV,eT,ez,null==eL?void 0:eL.locale,eP,eD,eF]);let eK={ref:eX,onClick(ee){eI||"function"!=typeof eA||eA(ee),eI&&eo.props&&"function"==typeof eo.props.onClick&&eo.props.onClick(ee),eP&&!ee.defaultPrevented&&e_(ee,eP,eH,eB,eO,eC,eS,eT,eD)},onMouseEnter(ee){eI||"function"!=typeof eR||eR(ee),eI&&eo.props&&"function"==typeof eo.props.onMouseEnter&&eo.props.onMouseEnter(ee),eP&&(ez||!eD)&&ew(eP,eH,eB,{locale:eT,priority:!0,bypassPrefetchedCheck:!0},{kind:eF},eD)},onTouchStart(ee){eI||"function"!=typeof eN||eN(ee),eI&&eo.props&&"function"==typeof eo.props.onTouchStart&&eo.props.onTouchStart(ee),eP&&(ez||!eD)&&ew(eP,eH,eB,{locale:eT,priority:!0,bypassPrefetchedCheck:!0},{kind:eF},eD)}};if((0,ef.isAbsoluteUrl)(eB))eK.href=eB;else if(!eI||ej||"a"===eo.type&&!("href"in eo.props)){let ee=void 0!==eT?eT:null==eL?void 0:eL.locale,en=(null==eL?void 0:eL.isLocaleDomain)&&(0,ex.getDomainLocale)(eB,ee,null==eL?void 0:eL.locales,null==eL?void 0:eL.domainLocales);eK.href=en||(0,ev.addBasePath)((0,eh.addLocale)(eB,ee,null==eL?void 0:eL.defaultLocale))}return eI?ei.default.cloneElement(eo,eK):ei.default.createElement("a",{...eM,...eK},er)}),eO=ej;("function"==typeof en.default||"object"==typeof en.default&&null!==en.default)&&void 0===en.default.__esModule&&(Object.defineProperty(en.default,"__esModule",{value:!0}),Object.assign(en.default,en),ee.exports=en.default)},36659:function(ee,en,er){"use strict";Object.defineProperty(en,"__esModule",{value:!0}),Object.defineProperty(en,"useIntersection",{enumerable:!0,get:function(){return ep}});let eo=er(50959),ei=er(48816),ec="function"==typeof IntersectionObserver,eu=new Map,ed=[];function ef(ee){let en;let er={root:ee.root||null,margin:ee.rootMargin||""},eo=ed.find(ee=>ee.root===er.root&&ee.margin===er.margin);if(eo&&(en=eu.get(eo)))return en;let ei=new Map,ec=new IntersectionObserver(ee=>{ee.forEach(ee=>{let en=ei.get(ee.target),er=ee.isIntersecting||ee.intersectionRatio>0;en&&er&&en(er)})},ee);return en={id:er,observer:ec,elements:ei},ed.push(er),eu.set(er,en),en}function eh(ee,en,er){let{id:eo,observer:ei,elements:ec}=ef(er);return ec.set(ee,en),ei.observe(ee),function(){if(ec.delete(ee),ei.unobserve(ee),0===ec.size){ei.disconnect(),eu.delete(eo);let ee=ed.findIndex(ee=>ee.root===eo.root&&ee.margin===eo.margin);ee>-1&&ed.splice(ee,1)}}}function ep(ee){let{rootRef:en,rootMargin:er,disabled:eu}=ee,ed=eu||!ec,[ef,ep]=(0,eo.useState)(!1),em=(0,eo.useRef)(null),eg=(0,eo.useCallback)(ee=>{em.current=ee},[]);(0,eo.useEffect)(()=>{if(ec){if(ed||ef)return;let ee=em.current;if(ee&&ee.tagName){let eo=eh(ee,ee=>ee&&ep(ee),{root:null==en?void 0:en.current,rootMargin:er});return eo}}else if(!ef){let ee=(0,ei.requestIdleCallback)(()=>ep(!0));return()=>(0,ei.cancelIdleCallback)(ee)}},[ed,er,en,ef,em.current]);let ex=(0,eo.useCallback)(()=>{ep(!1)},[]);return[eg,ef,ex]}("function"==typeof en.default||"object"==typeof en.default&&null!==en.default)&&void 0===en.default.__esModule&&(Object.defineProperty(en.default,"__esModule",{value:!0}),Object.assign(en.default,en),ee.exports=en.default)},54379:function(ee,en,er){"use strict";Object.defineProperty(en,"__esModule",{value:!0}),Object.defineProperty(en,"getImgProps",{enumerable:!0,get:function(){return em}}),er(13003);let eo=er(67451),ei=er(20294);function ec(ee){return void 0!==ee.default}function eu(ee){return void 0!==ee.src}function ed(ee){return"object"==typeof ee&&(ec(ee)||eu(ee))}function ef(ee){return void 0===ee?ee:"number"==typeof ee?Number.isFinite(ee)?ee:NaN:"string"==typeof ee&&/^[0-9]+$/.test(ee)?parseInt(ee,10):NaN}function eh(ee,en,er){let{deviceSizes:eo,allSizes:ei}=ee;if(er){let ee=/(^|\s)(1?\d?\d)vw/g,en=[];for(let eo;eo=ee.exec(er);eo)en.push(parseInt(eo[2]));if(en.length){let ee=.01*Math.min(...en);return{widths:ei.filter(en=>en>=eo[0]*ee),kind:"w"}}return{widths:ei,kind:"w"}}if("number"!=typeof en)return{widths:eo,kind:"w"};let ec=[...new Set([en,2*en].map(ee=>ei.find(en=>en>=ee)||ei[ei.length-1]))];return{widths:ec,kind:"x"}}function ep(ee){let{config:en,src:er,unoptimized:eo,width:ei,quality:ec,sizes:eu,loader:ed}=ee;if(eo)return{src:er,srcSet:void 0,sizes:void 0};let{widths:ef,kind:ep}=eh(en,ei,eu),em=ef.length-1;return{sizes:eu||"w"!==ep?eu:"100vw",srcSet:ef.map((ee,eo)=>ed({config:en,src:er,quality:ec,width:ee})+" "+("w"===ep?ee:eo+1)+ep).join(", "),src:ed({config:en,src:er,quality:ec,width:ef[em]})}}function em(ee,en){let er,eu,eh,{src:em,sizes:eg,unoptimized:ex=!1,priority:ev=!1,loading:ey,className:eb,quality:ew,width:ek,height:e_,fill:eE=!1,style:ej,onLoad:eO,onLoadingComplete:eC,placeholder:eS="empty",blurDataURL:eT,fetchPriority:eA,layout:eR,objectFit:eN,objectPosition:eI,lazyBoundary:eM,lazyRoot:eL,...eZ}=ee,{imgConf:eP,showAltText:eD,blurComplete:ez,defaultLoader:eF}=en,eH=eP||ei.imageConfigDefault;if("allSizes"in eH)er=eH;else{let ee=[...eH.deviceSizes,...eH.imageSizes].sort((ee,en)=>ee-en),en=eH.deviceSizes.sort((ee,en)=>ee-en);er={...eH,allSizes:ee,deviceSizes:en}}let eB=eZ.loader||eF;delete eZ.loader,delete eZ.srcSet;let eW="__next_img_default"in eB;if(eW){if("custom"===er.loader)throw Error('Image with src "'+em+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let ee=eB;eB=en=>{let{config:er,...eo}=en;return ee(eo)}}if(eR){"fill"===eR&&(eE=!0);let ee={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}},en={responsive:"100vw",fill:"100vw"},er=ee[eR];er&&(ej={...ej,...er});let eo=en[eR];eo&&!eg&&(eg=eo)}let eG="",e$=ef(ek),eU=ef(e_);if(ed(em)){let ee=ec(em)?em.default:em;if(!ee.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(ee));if(!ee.height||!ee.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(ee));if(eu=ee.blurWidth,eh=ee.blurHeight,eT=eT||ee.blurDataURL,eG=ee.src,!eE){if(e$||eU){if(e$&&!eU){let en=e$/ee.width;eU=Math.round(ee.height*en)}else if(!e$&&eU){let en=eU/ee.height;e$=Math.round(ee.width*en)}}else e$=ee.width,eU=ee.height}}let eV=!ev&&("lazy"===ey||void 0===ey);(!(em="string"==typeof em?em:eG)||em.startsWith("data:")||em.startsWith("blob:"))&&(ex=!0,eV=!1),er.unoptimized&&(ex=!0),eW&&em.endsWith(".svg")&&!er.dangerouslyAllowSVG&&(ex=!0),ev&&(eA="high");let eq=ef(ew),eX=Object.assign(eE?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:eN,objectPosition:eI}:{},eD?{}:{color:"transparent"},ej),eK=ez||"empty"===eS?null:"blur"===eS?'url("data:image/svg+xml;charset=utf-8,'+(0,eo.getImageBlurSvg)({widthInt:e$,heightInt:eU,blurWidth:eu,blurHeight:eh,blurDataURL:eT||"",objectFit:eX.objectFit})+'")':'url("'+eS+'")',eY=eK?{backgroundSize:eX.objectFit||"cover",backgroundPosition:eX.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:eK}:{},eQ=ep({config:er,src:em,unoptimized:ex,width:e$,quality:eq,sizes:eg,loader:eB}),eJ={...eZ,loading:eV?"lazy":ey,fetchPriority:eA,width:e$,height:eU,decoding:"async",className:eb,style:{...eX,...eY},sizes:eQ.sizes,srcSet:eQ.srcSet,src:eQ.src},e0={unoptimized:ex,priority:ev,placeholder:eS,fill:eE};return{props:eJ,meta:e0}}},67451:function(ee,en){"use strict";function er(ee){let{widthInt:en,heightInt:er,blurWidth:eo,blurHeight:ei,blurDataURL:ec,objectFit:eu}=ee,ed=20,ef=eo?40*eo:en,eh=ei?40*ei:er,ep=ef&&eh?"viewBox='0 0 "+ef+" "+eh+"'":"",em=ep?"none":"contain"===eu?"xMidYMid":"cover"===eu?"xMidYMid slice":"none";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+ep+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='"+ed+"'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='"+ed+"'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+em+"' style='filter: url(%23b);' href='"+ec+"'/%3E%3C/svg%3E"}Object.defineProperty(en,"__esModule",{value:!0}),Object.defineProperty(en,"getImageBlurSvg",{enumerable:!0,get:function(){return er}})},94199:function(ee,en,er){"use strict";Object.defineProperty(en,"__esModule",{value:!0}),function(ee,en){for(var er in en)Object.defineProperty(ee,er,{enumerable:!0,get:en[er]})}(en,{unstable_getImgProps:function(){return ef},default:function(){return eh}});let eo=er(81351),ei=er(54379),ec=er(13003),eu=er(92120),ed=eo._(er(32400)),ef=ee=>{(0,ec.warnOnce)("Warning: unstable_getImgProps() is experimental and may change or be removed at any time. Use at your own risk.");let{props:en}=(0,ei.getImgProps)(ee,{defaultLoader:ed.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!0,unoptimized:!0}});for(let[ee,er]of Object.entries(en))void 0===er&&delete en[ee];return{props:en}},eh=eu.Image},32400:function(ee,en){"use strict";function er(ee){let{config:en,src:er,width:eo,quality:ei}=ee;return en.path+"?url="+encodeURIComponent(er)+"&w="+eo+"&q="+(ei||75)}Object.defineProperty(en,"__esModule",{value:!0}),Object.defineProperty(en,"default",{enumerable:!0,get:function(){return eo}}),er.__next_img_default=!0;let eo=er},9350:function(){},59589:function(){},70703:function(){},81873:function(ee){var en="/";!function(){"use strict";var er={114:function(ee){function en(ee){if("string"!=typeof ee)throw TypeError("Path must be a string. Received "+JSON.stringify(ee))}function er(ee,en){for(var er,eo="",ei=0,ec=-1,eu=0,ed=0;ed<=ee.length;++ed){if(ed2){var ef=eo.lastIndexOf("/");if(ef!==eo.length-1){-1===ef?(eo="",ei=0):ei=(eo=eo.slice(0,ef)).length-1-eo.lastIndexOf("/"),ec=ed,eu=0;continue}}else if(2===eo.length||1===eo.length){eo="",ei=0,ec=ed,eu=0;continue}}en&&(eo.length>0?eo+="/..":eo="..",ei=2)}else eo.length>0?eo+="/"+ee.slice(ec+1,ed):eo=ee.slice(ec+1,ed),ei=ed-ec-1;ec=ed,eu=0}else 46===er&&-1!==eu?++eu:eu=-1}return eo}function eo(ee,en){var er=en.dir||en.root,eo=en.base||(en.name||"")+(en.ext||"");return er?er===en.root?er+eo:er+ee+eo:eo}var ei={resolve:function(){for(var ee,eo,ei="",ec=!1,eu=arguments.length-1;eu>=-1&&!ec;eu--)eu>=0?eo=arguments[eu]:(void 0===ee&&(ee=""),eo=ee),en(eo),0!==eo.length&&(ei=eo+"/"+ei,ec=47===eo.charCodeAt(0));return(ei=er(ei,!ec),ec)?ei.length>0?"/"+ei:"/":ei.length>0?ei:"."},normalize:function(ee){if(en(ee),0===ee.length)return".";var eo=47===ee.charCodeAt(0),ei=47===ee.charCodeAt(ee.length-1);return(0!==(ee=er(ee,!eo)).length||eo||(ee="."),ee.length>0&&ei&&(ee+="/"),eo)?"/"+ee:ee},isAbsolute:function(ee){return en(ee),ee.length>0&&47===ee.charCodeAt(0)},join:function(){if(0==arguments.length)return".";for(var ee,er=0;er0&&(void 0===ee?ee=eo:ee+="/"+eo)}return void 0===ee?".":ei.normalize(ee)},relative:function(ee,er){if(en(ee),en(er),ee===er||(ee=ei.resolve(ee))===(er=ei.resolve(er)))return"";for(var eo=1;eoeh){if(47===er.charCodeAt(ed+em))return er.slice(ed+em+1);if(0===em)return er.slice(ed+em)}else eu>eh&&(47===ee.charCodeAt(eo+em)?ep=em:0===em&&(ep=0));break}var eg=ee.charCodeAt(eo+em);if(eg!==er.charCodeAt(ed+em))break;47===eg&&(ep=em)}var ex="";for(em=eo+ep+1;em<=ec;++em)(em===ec||47===ee.charCodeAt(em))&&(0===ex.length?ex+="..":ex+="/..");return ex.length>0?ex+er.slice(ed+ep):(ed+=ep,47===er.charCodeAt(ed)&&++ed,er.slice(ed))},_makeLong:function(ee){return ee},dirname:function(ee){if(en(ee),0===ee.length)return".";for(var er=ee.charCodeAt(0),eo=47===er,ei=-1,ec=!0,eu=ee.length-1;eu>=1;--eu)if(47===(er=ee.charCodeAt(eu))){if(!ec){ei=eu;break}}else ec=!1;return -1===ei?eo?"/":".":eo&&1===ei?"//":ee.slice(0,ei)},basename:function(ee,er){if(void 0!==er&&"string"!=typeof er)throw TypeError('"ext" argument must be a string');en(ee);var eo,ei=0,ec=-1,eu=!0;if(void 0!==er&&er.length>0&&er.length<=ee.length){if(er.length===ee.length&&er===ee)return"";var ed=er.length-1,ef=-1;for(eo=ee.length-1;eo>=0;--eo){var eh=ee.charCodeAt(eo);if(47===eh){if(!eu){ei=eo+1;break}}else -1===ef&&(eu=!1,ef=eo+1),ed>=0&&(eh===er.charCodeAt(ed)?-1==--ed&&(ec=eo):(ed=-1,ec=ef))}return ei===ec?ec=ef:-1===ec&&(ec=ee.length),ee.slice(ei,ec)}for(eo=ee.length-1;eo>=0;--eo)if(47===ee.charCodeAt(eo)){if(!eu){ei=eo+1;break}}else -1===ec&&(eu=!1,ec=eo+1);return -1===ec?"":ee.slice(ei,ec)},extname:function(ee){en(ee);for(var er=-1,eo=0,ei=-1,ec=!0,eu=0,ed=ee.length-1;ed>=0;--ed){var ef=ee.charCodeAt(ed);if(47===ef){if(!ec){eo=ed+1;break}continue}-1===ei&&(ec=!1,ei=ed+1),46===ef?-1===er?er=ed:1!==eu&&(eu=1):-1!==er&&(eu=-1)}return -1===er||-1===ei||0===eu||1===eu&&er===ei-1&&er===eo+1?"":ee.slice(er,ei)},format:function(ee){if(null===ee||"object"!=typeof ee)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof ee);return eo("/",ee)},parse:function(ee){en(ee);var er,eo={root:"",dir:"",base:"",ext:"",name:""};if(0===ee.length)return eo;var ei=ee.charCodeAt(0),ec=47===ei;ec?(eo.root="/",er=1):er=0;for(var eu=-1,ed=0,ef=-1,eh=!0,ep=ee.length-1,em=0;ep>=er;--ep){if(47===(ei=ee.charCodeAt(ep))){if(!eh){ed=ep+1;break}continue}-1===ef&&(eh=!1,ef=ep+1),46===ei?-1===eu?eu=ep:1!==em&&(em=1):-1!==eu&&(em=-1)}return -1===eu||-1===ef||0===em||1===em&&eu===ef-1&&eu===ed+1?-1!==ef&&(0===ed&&ec?eo.base=eo.name=ee.slice(1,ef):eo.base=eo.name=ee.slice(ed,ef)):(0===ed&&ec?(eo.name=ee.slice(1,eu),eo.base=ee.slice(1,ef)):(eo.name=ee.slice(ed,eu),eo.base=ee.slice(ed,ef)),eo.ext=ee.slice(eu,ef)),ed>0?eo.dir=ee.slice(0,ed-1):ec&&(eo.dir="/"),eo},sep:"/",delimiter:":",win32:null,posix:null};ei.posix=ei,ee.exports=ei}},eo={};function ei(ee){var en=eo[ee];if(void 0!==en)return en.exports;var ec=eo[ee]={exports:{}},eu=!0;try{er[ee](ec,ec.exports,ei),eu=!1}finally{eu&&delete eo[ee]}return ec.exports}ei.ab=en+"/";var ec=ei(114);ee.exports=ec}()},81621:function(ee){var en="/";!function(){var er={229:function(ee){var en,er,eo,ei=ee.exports={};function ec(){throw Error("setTimeout has not been defined")}function eu(){throw Error("clearTimeout has not been defined")}function ed(ee){if(en===setTimeout)return setTimeout(ee,0);if((en===ec||!en)&&setTimeout)return en=setTimeout,setTimeout(ee,0);try{return en(ee,0)}catch(er){try{return en.call(null,ee,0)}catch(er){return en.call(this,ee,0)}}}function ef(ee){if(er===clearTimeout)return clearTimeout(ee);if((er===eu||!er)&&clearTimeout)return er=clearTimeout,clearTimeout(ee);try{return er(ee)}catch(en){try{return er.call(null,ee)}catch(en){return er.call(this,ee)}}}!function(){try{en="function"==typeof setTimeout?setTimeout:ec}catch(ee){en=ec}try{er="function"==typeof clearTimeout?clearTimeout:eu}catch(ee){er=eu}}();var eh=[],ep=!1,em=-1;function eg(){ep&&eo&&(ep=!1,eo.length?eh=eo.concat(eh):em=-1,eh.length&&ex())}function ex(){if(!ep){var ee=ed(eg);ep=!0;for(var en=eh.length;en;){for(eo=eh,eh=[];++em1)for(var er=1;er(0,ed.jsx)("button",{className:(0,eu.Z)("nextra-button nx-transition-all active:nx-opacity-50","nx-bg-primary-700/5 nx-border nx-border-black/5 nx-text-gray-600 hover:nx-text-gray-900 nx-rounded-md nx-p-1.5","dark:nx-bg-primary-300/10 dark:nx-border-white/10 dark:nx-text-gray-400 dark:hover:nx-text-gray-50",en),...er,children:ee}),eh=er(22634),ep={default:"\uD83D\uDCA1",error:"\uD83D\uDEAB",info:(0,ed.jsx)(eh.AV,{className:"nx-mt-1"}),warning:"⚠️"},em={default:(0,eu.Z)("nx-border-orange-100 nx-bg-orange-50 nx-text-orange-800 dark:nx-border-orange-400/30 dark:nx-bg-orange-400/20 dark:nx-text-orange-300"),error:(0,eu.Z)("nx-border-red-200 nx-bg-red-100 nx-text-red-900 dark:nx-border-red-200/30 dark:nx-bg-red-900/30 dark:nx-text-red-200"),info:(0,eu.Z)("nx-border-blue-200 nx-bg-blue-100 nx-text-blue-900 dark:nx-border-blue-200/30 dark:nx-bg-blue-900/30 dark:nx-text-blue-200"),warning:(0,eu.Z)("nx-border-yellow-100 nx-bg-yellow-50 nx-text-yellow-900 dark:nx-border-yellow-200/30 dark:nx-bg-yellow-700/30 dark:nx-text-yellow-200")};function eg({children:ee,type:en="default",emoji:er=ep[en]}){return(0,ed.jsxs)("div",{className:(0,eu.Z)("nextra-callout nx-overflow-x-auto nx-mt-6 nx-flex nx-rounded-lg nx-border nx-py-2 ltr:nx-pr-4 rtl:nx-pl-4","contrast-more:nx-border-current contrast-more:dark:nx-border-current",em[en]),children:[(0,ed.jsx)("div",{className:"nx-select-none nx-text-xl ltr:nx-pl-3 ltr:nx-pr-2 rtl:nx-pr-3 rtl:nx-pl-2",style:{fontFamily:'"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'},children:er}),(0,ed.jsx)("div",{className:"nx-w-full nx-min-w-0 nx-leading-7",children:ee})]})}var ex=er(50959),ev=({getValue:ee,...en})=>{let[er,eo]=(0,ex.useState)(!1);(0,ex.useEffect)(()=>{if(!er)return;let ee=setTimeout(()=>{eo(!1)},2e3);return()=>{clearTimeout(ee)}},[er]);let ei=(0,ex.useCallback)(async()=>{eo(!0),navigator?.clipboard||console.error("Access to clipboard rejected!");try{await navigator.clipboard.writeText(ee())}catch{console.error("Failed to copy!")}},[ee]),ec=er?eh.nQ:eh.TI;return(0,ed.jsx)(ef,{onClick:ei,title:"Copy code",tabIndex:0,...en,children:(0,ed.jsx)(ec,{className:"nextra-copy-icon nx-pointer-events-none nx-h-4 nx-w-4"})})},ey=({children:ee,className:en,...er})=>{let eo="data-line-numbers"in er;return(0,ed.jsx)("code",{className:(0,eu.Z)("nx-border-black nx-border-opacity-[0.04] nx-bg-opacity-[0.03] nx-bg-black nx-break-words nx-rounded-md nx-border nx-py-0.5 nx-px-[.25em] nx-text-[.9em]","dark:nx-border-white/10 dark:nx-bg-white/10",eo&&"[counter-reset:line]",en),dir:"ltr",...er,children:ee})},eb=({children:ee,className:en,hasCopyCode:er,filename:eo,...ei})=>{let ec=(0,ex.useRef)(null),ep=(0,ex.useCallback)(()=>{let ee=document.documentElement.dataset,en="nextraWordWrap"in ee;en?delete ee.nextraWordWrap:ee.nextraWordWrap=""},[]);return(0,ed.jsxs)("div",{className:"nextra-code-block nx-relative nx-mt-6 first:nx-mt-0",children:[eo&&(0,ed.jsx)("div",{className:"nx-absolute nx-top-0 nx-z-[1] nx-w-full nx-truncate nx-rounded-t-xl nx-bg-primary-700/5 nx-py-2 nx-px-4 nx-text-xs nx-text-gray-700 dark:nx-bg-primary-300/10 dark:nx-text-gray-200",children:eo}),(0,ed.jsx)("pre",{className:(0,eu.Z)("nx-bg-primary-700/5 nx-mb-4 nx-overflow-x-auto nx-rounded-xl nx-subpixel-antialiased dark:nx-bg-primary-300/10 nx-text-[.9em]","contrast-more:nx-border contrast-more:nx-border-primary-900/20 contrast-more:nx-contrast-150 contrast-more:dark:nx-border-primary-100/40",eo?"nx-pt-12 nx-pb-4":"nx-py-4",en),ref:ec,...ei,children:ee}),(0,ed.jsxs)("div",{className:(0,eu.Z)("nx-opacity-0 nx-transition [div:hover>&]:nx-opacity-100 focus-within:nx-opacity-100","nx-flex nx-gap-1 nx-absolute nx-m-[11px] nx-right-0",eo?"nx-top-8":"nx-top-0"),children:[(0,ed.jsx)(ef,{onClick:ep,className:"md:nx-hidden",title:"Toggle word wrap",children:(0,ed.jsx)(eh.NK,{className:"nx-pointer-events-none nx-h-4 nx-w-4"})}),er&&(0,ed.jsx)(ev,{getValue:()=>ec.current?.querySelector("code")?.textContent||""})]})]})};function ew({children:ee,className:en,...er}){return(0,ed.jsx)("div",{className:(0,eu.Z)("nextra-steps nx-ml-4 nx-mb-12 nx-border-l nx-border-gray-200 nx-pl-6","dark:nx-border-neutral-800 [counter-reset:step]",en),...er,children:ee})}var ek=er(70222),e_=er(49038),eE=er(23011),ej=er(8246),eO=er(47496),eC=er(66260),eS=er(29850),eT=er(58002),eA=er(19691),eR=er(85782),eN=er(91941);function eI({onFocus:ee}){let[en,er]=(0,ex.useState)(!0),eo=(0,eR.t)();return en?ex.createElement(eN._,{as:"button",type:"button",features:eN.A.Focusable,onFocus:en=>{en.preventDefault();let ei,ec=50;function eu(){if(ec--<=0){ei&&cancelAnimationFrame(ei);return}if(ee()){if(cancelAnimationFrame(ei),!eo.current)return;er(!1);return}ei=requestAnimationFrame(eu)}ei=requestAnimationFrame(eu)}}):null}var eM=er(26510),eL=er(41287),eZ=er(19195);let eP=ex.createContext(null);function eD(){return{groups:new Map,get(ee,en){var er;let eo=this.groups.get(ee);eo||(eo=new Map,this.groups.set(ee,eo));let ei=null!=(er=eo.get(en))?er:0;function ec(){let ee=eo.get(en);ee>1?eo.set(en,ee-1):eo.delete(en)}return eo.set(en,ei+1),[Array.from(eo.keys()).indexOf(en),ec]}}}function ez({children:ee}){let en=ex.useRef(eD());return ex.createElement(eP.Provider,{value:en},ee)}function eF(ee){let en=ex.useContext(eP);if(!en)throw Error("You must wrap your component in a ");let er=eH(),[eo,ei]=en.current.get(ee,er);return ex.useEffect(()=>ei,[]),eo}function eH(){var ee,en,er;let eo=null!=(er=null==(en=null==(ee=ex.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)?void 0:ee.ReactCurrentOwner)?void 0:en.current)?er:null;if(!eo)return Symbol();let ei=[],ec=eo;for(;ec;)ei.push(ec.index),ec=ec.return;return"$."+ei.join(".")}var eB=((eo=eB||{})[eo.Forwards=0]="Forwards",eo[eo.Backwards=1]="Backwards",eo),eW=((ei=eW||{})[ei.Less=-1]="Less",ei[ei.Equal=0]="Equal",ei[ei.Greater=1]="Greater",ei),eG=((ec=eG||{})[ec.SetSelectedIndex=0]="SetSelectedIndex",ec[ec.RegisterTab=1]="RegisterTab",ec[ec.UnregisterTab=2]="UnregisterTab",ec[ec.RegisterPanel=3]="RegisterPanel",ec[ec.UnregisterPanel=4]="UnregisterPanel",ec);let e$={0(ee,en){var er;let eo=(0,eO.z2)(ee.tabs,ee=>ee.current),ei=(0,eO.z2)(ee.panels,ee=>ee.current),ec=eo.filter(ee=>{var en;return!(null!=(en=ee.current)&&en.hasAttribute("disabled"))}),eu={...ee,tabs:eo,panels:ei};if(en.index<0||en.index>eo.length-1){let er=(0,eE.E)(Math.sign(en.index-ee.selectedIndex),{[-1]:()=>1,0:()=>(0,eE.E)(Math.sign(en.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});if(0===ec.length)return eu;let ei=(0,eE.E)(er,{0:()=>eo.indexOf(ec[0]),1:()=>eo.indexOf(ec[ec.length-1])});return{...eu,selectedIndex:-1===ei?ee.selectedIndex:ei}}let ed=eo.slice(0,en.index),ef=[...eo.slice(en.index),...ed].find(ee=>ec.includes(ee));if(!ef)return eu;let eh=null!=(er=eo.indexOf(ef))?er:ee.selectedIndex;return -1===eh&&(eh=ee.selectedIndex),{...eu,selectedIndex:eh}},1(ee,en){var er;if(ee.tabs.includes(en.tab))return ee;let eo=ee.tabs[ee.selectedIndex],ei=(0,eO.z2)([...ee.tabs,en.tab],ee=>ee.current),ec=null!=(er=ei.indexOf(eo))?er:ee.selectedIndex;return -1===ec&&(ec=ee.selectedIndex),{...ee,tabs:ei,selectedIndex:ec}},2:(ee,en)=>({...ee,tabs:ee.tabs.filter(ee=>ee!==en.tab)}),3:(ee,en)=>ee.panels.includes(en.panel)?ee:{...ee,panels:(0,eO.z2)([...ee.panels,en.panel],ee=>ee.current)},4:(ee,en)=>({...ee,panels:ee.panels.filter(ee=>ee!==en.panel)})},eU=(0,ex.createContext)(null);function eV(ee){let en=(0,ex.useContext)(eU);if(null===en){let en=Error(`<${ee} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(en,eV),en}return en}eU.displayName="TabsDataContext";let eq=(0,ex.createContext)(null);function eX(ee){let en=(0,ex.useContext)(eq);if(null===en){let en=Error(`<${ee} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(en,eX),en}return en}function eK(ee,en){return(0,eE.E)(en.type,e$,ee,en)}eq.displayName="TabsActionsContext";let eY=ex.Fragment;function eQ(ee,en){let{defaultIndex:er=0,vertical:eo=!1,manual:ei=!1,onChange:ec,selectedIndex:eu=null,...ed}=ee,ef=eo?"vertical":"horizontal",eh=ei?"manual":"auto",ep=null!==eu,em=(0,eS.T)(en),[eg,ev]=(0,ex.useReducer)(eK,{selectedIndex:null!=eu?eu:er,tabs:[],panels:[]}),ey=(0,ex.useMemo)(()=>({selectedIndex:eg.selectedIndex}),[eg.selectedIndex]),eb=(0,eA.E)(ec||(()=>{})),ew=(0,eA.E)(eg.tabs),e_=(0,ex.useMemo)(()=>({orientation:ef,activation:eh,...eg}),[ef,eh,eg]),eE=(0,eM.z)(ee=>(ev({type:1,tab:ee}),()=>ev({type:2,tab:ee}))),ej=(0,eM.z)(ee=>(ev({type:3,panel:ee}),()=>ev({type:4,panel:ee}))),eT=(0,eM.z)(ee=>{eR.current!==ee&&eb.current(ee),ep||ev({type:0,index:ee})}),eR=(0,eA.E)(ep?ee.selectedIndex:eg.selectedIndex),eN=(0,ex.useMemo)(()=>({registerTab:eE,registerPanel:ej,change:eT}),[]);(0,eC.e)(()=>{ev({type:0,index:null!=eu?eu:er})},[eu]),(0,eC.e)(()=>{if(void 0===eR.current||eg.tabs.length<=0)return;let ee=(0,eO.z2)(eg.tabs,ee=>ee.current);ee.some((ee,en)=>eg.tabs[en]!==ee)&&eT(ee.indexOf(eg.tabs[eR.current]))});let eL={ref:em};return ex.createElement(ez,null,ex.createElement(eq.Provider,{value:eN},ex.createElement(eU.Provider,{value:e_},e_.tabs.length<=0&&ex.createElement(eI,{onFocus:()=>{var ee,en;for(let er of ew.current)if((null==(ee=er.current)?void 0:ee.tabIndex)===0)return null==(en=er.current)||en.focus(),!0;return!1}}),(0,ek.sY)({ourProps:eL,theirProps:ed,slot:ey,defaultTag:eY,name:"Tabs"}))))}let eJ="div";function e0(ee,en){let{orientation:er,selectedIndex:eo}=eV("Tab.List"),ei=(0,eS.T)(en);return(0,ek.sY)({ourProps:{ref:ei,role:"tablist","aria-orientation":er},theirProps:ee,slot:{selectedIndex:eo},defaultTag:eJ,name:"Tabs.List"})}let e1="button";function e2(ee,en){var er,eo;let ei=(0,e_.M)(),{id:ec=`headlessui-tabs-tab-${ei}`,...eu}=ee,{orientation:ed,activation:ef,selectedIndex:eh,tabs:ep,panels:em}=eV("Tab"),eg=eX("Tab"),ev=eV("Tab"),ey=(0,ex.useRef)(null),eb=(0,eS.T)(ey,en);(0,eC.e)(()=>eg.registerTab(ey),[eg,ey]);let ew=eF("tabs"),eA=ep.indexOf(ey);-1===eA&&(eA=ew);let eR=eA===eh,eN=(0,eM.z)(ee=>{var en;let er=ee();if(er===eO.fE.Success&&"auto"===ef){let ee=null==(en=(0,eZ.r)(ey))?void 0:en.activeElement,er=ev.tabs.findIndex(en=>en.current===ee);-1!==er&&eg.change(er)}return er}),eI=(0,eM.z)(ee=>{let en=ep.map(ee=>ee.current).filter(Boolean);if(ee.key===ej.R.Space||ee.key===ej.R.Enter){ee.preventDefault(),ee.stopPropagation(),eg.change(eA);return}switch(ee.key){case ej.R.Home:case ej.R.PageUp:return ee.preventDefault(),ee.stopPropagation(),eN(()=>(0,eO.jA)(en,eO.TO.First));case ej.R.End:case ej.R.PageDown:return ee.preventDefault(),ee.stopPropagation(),eN(()=>(0,eO.jA)(en,eO.TO.Last))}if(eN(()=>(0,eE.E)(ed,{vertical:()=>ee.key===ej.R.ArrowUp?(0,eO.jA)(en,eO.TO.Previous|eO.TO.WrapAround):ee.key===ej.R.ArrowDown?(0,eO.jA)(en,eO.TO.Next|eO.TO.WrapAround):eO.fE.Error,horizontal:()=>ee.key===ej.R.ArrowLeft?(0,eO.jA)(en,eO.TO.Previous|eO.TO.WrapAround):ee.key===ej.R.ArrowRight?(0,eO.jA)(en,eO.TO.Next|eO.TO.WrapAround):eO.fE.Error}))===eO.fE.Success)return ee.preventDefault()}),eP=(0,ex.useRef)(!1),eD=(0,eM.z)(()=>{var ee;eP.current||(eP.current=!0,null==(ee=ey.current)||ee.focus({preventScroll:!0}),eg.change(eA),(0,eL.Y)(()=>{eP.current=!1}))}),ez=(0,eM.z)(ee=>{ee.preventDefault()}),eH=(0,ex.useMemo)(()=>({selected:eR}),[eR]),eB={ref:eb,onKeyDown:eI,onMouseDown:ez,onClick:eD,id:ec,role:"tab",type:(0,eT.f)(ee,ey),"aria-controls":null==(eo=null==(er=em[eA])?void 0:er.current)?void 0:eo.id,"aria-selected":eR,tabIndex:eR?0:-1};return(0,ek.sY)({ourProps:eB,theirProps:eu,slot:eH,defaultTag:e1,name:"Tabs.Tab"})}let e5="div";function e4(ee,en){let{selectedIndex:er}=eV("Tab.Panels"),eo=(0,eS.T)(en),ei=(0,ex.useMemo)(()=>({selectedIndex:er}),[er]);return(0,ek.sY)({ourProps:{ref:eo},theirProps:ee,slot:ei,defaultTag:e5,name:"Tabs.Panels"})}let e6="div",e3=ek.AN.RenderStrategy|ek.AN.Static;function e9(ee,en){var er,eo,ei,ec;let eu=(0,e_.M)(),{id:ed=`headlessui-tabs-panel-${eu}`,tabIndex:ef=0,...eh}=ee,{selectedIndex:ep,tabs:em,panels:eg}=eV("Tab.Panel"),ev=eX("Tab.Panel"),ey=(0,ex.useRef)(null),eb=(0,eS.T)(ey,en);(0,eC.e)(()=>ev.registerPanel(ey),[ev,ey]);let ew=eF("panels"),eE=eg.indexOf(ey);-1===eE&&(eE=ew);let ej=eE===ep,eO=(0,ex.useMemo)(()=>({selected:ej}),[ej]),eT={ref:eb,id:ed,role:"tabpanel","aria-labelledby":null==(eo=null==(er=em[eE])?void 0:er.current)?void 0:eo.id,tabIndex:ej?ef:-1};return ej||null!=(ei=eh.unmount)&&!ei||null!=(ec=eh.static)&&ec?(0,ek.sY)({ourProps:eT,theirProps:eh,slot:eO,defaultTag:e6,features:e3,visible:ej,name:"Tabs.Panel"}):ex.createElement(eN._,{as:"span",...eT})}let e7=Object.assign((0,ek.yV)(e2),{Group:(0,ek.yV)(eQ),List:(0,ek.yV)(e0),Panels:(0,ek.yV)(e4),Panel:(0,ek.yV)(e9)});function e8(ee){return!!ee&&"object"==typeof ee&&"label"in ee}var tn=Object.assign(function({items:ee,selectedIndex:en,defaultIndex:er=0,onChange:eo,children:ei,storageKey:ec}){let[ef,eh]=(0,ex.useState)(er);(0,ex.useEffect)(()=>{void 0!==en&&eh(en)},[en]),(0,ex.useEffect)(()=>{if(!ec)return;function ee(ee){ee.key===ec&&eh(Number(ee.newValue))}let en=Number(localStorage.getItem(ec));return eh(Number.isNaN(en)?0:en),window.addEventListener("storage",ee),()=>{window.removeEventListener("storage",ee)}},[]);let ep=(0,ex.useCallback)(ee=>{if(ec){let en=String(ee);localStorage.setItem(ec,en),window.dispatchEvent(new StorageEvent("storage",{key:ec,newValue:en}));return}eh(ee),eo?.(ee)},[]);return(0,ed.jsxs)(e7.Group,{selectedIndex:ef,defaultIndex:er,onChange:ep,children:[(0,ed.jsx)("div",{className:"nextra-scrollbar nx-overflow-x-auto nx-overflow-y-hidden nx-overscroll-x-contain",children:(0,ed.jsx)(e7.List,{className:"nx-mt-4 nx-flex nx-w-max nx-min-w-full nx-border-b nx-border-gray-200 nx-pb-px dark:nx-border-neutral-800",children:ee.map((ee,en)=>{let er=e8(ee)&&ee.disabled;return(0,ed.jsx)(e7,{disabled:er,className:({selected:ee})=>(0,eu.Z)("nx-mr-2 nx-rounded-t nx-p-2 nx-font-medium nx-leading-5 nx-transition-colors","-nx-mb-0.5 nx-select-none nx-border-b-2",ee?"nx-border-primary-500 nx-text-primary-600":"nx-border-transparent nx-text-gray-600 hover:nx-border-gray-200 hover:nx-text-black dark:nx-text-gray-200 dark:hover:nx-border-neutral-800 dark:hover:nx-text-white",er&&"nx-pointer-events-none nx-text-gray-400 dark:nx-text-neutral-600"),children:e8(ee)?ee.label:ee},en)})})}),(0,ed.jsx)(e7.Panels,{children:ei})]})},{displayName:"Tabs",Tab:function({children:ee,...en}){return(0,ed.jsx)(e7.Panel,{...en,className:"nx-rounded nx-pt-6",children:ee})}}),tr=({className:ee="",...en})=>(0,ed.jsx)("td",{className:(0,eu.Z)("nx-m-0 nx-border nx-border-gray-300 nx-px-4 nx-py-2 dark:nx-border-gray-600",ee),...en}),to=({className:ee="",...en})=>(0,ed.jsx)("table",{className:(0,eu.Z)("nx-block nx-overflow-x-scroll",ee),...en}),ti=({className:ee="",...en})=>(0,ed.jsx)("th",{className:(0,eu.Z)("nx-m-0 nx-border nx-border-gray-300 nx-px-4 nx-py-2 nx-font-semibold dark:nx-border-gray-600",ee),...en}),ts=({className:ee="",...en})=>(0,ed.jsx)("tr",{className:(0,eu.Z)("nx-m-0 nx-border-t nx-border-gray-300 nx-p-0 dark:nx-border-gray-600","even:nx-bg-gray-100 even:dark:nx-bg-gray-600/20",ee),...en}),tl=er(26813),tc=er.n(tl),tu={cards:(0,eu.Z)("nextra-cards nx-mt-4 nx-gap-4 nx-grid","nx-not-prose"),card:(0,eu.Z)("nextra-card nx-group nx-flex nx-flex-col nx-justify-start nx-overflow-hidden nx-rounded-lg nx-border nx-border-gray-200","nx-text-current nx-no-underline dark:nx-shadow-none","hover:nx-shadow-gray-100 dark:hover:nx-shadow-none nx-shadow-gray-100","active:nx-shadow-sm active:nx-shadow-gray-200","nx-transition-all nx-duration-200 hover:nx-border-gray-300"),title:(0,eu.Z)("nx-flex nx-font-semibold nx-items-start nx-gap-2 nx-p-4 nx-text-gray-700 hover:nx-text-gray-900")},td=(0,ed.jsx)("span",{className:"nx-transition-transform nx-duration-75 group-hover:nx-translate-x-[2px]",children:"→"});Object.assign(function({children:ee,num:en=3,className:er,style:eo,...ei}){return(0,ed.jsx)("div",{className:(0,eu.Z)(tu.cards,er),...ei,style:{...eo,"--rows":en},children:ee})},{displayName:"Cards",Card:function({children:ee,title:en,icon:er,image:eo,arrow:ei,href:ec,...ef}){let eh=ei?td:null;return eo?(0,ed.jsxs)(tc(),{href:ec,className:(0,eu.Z)(tu.card,"nx-bg-gray-100 nx-shadow dark:nx-border-neutral-700 dark:nx-bg-neutral-800 dark:nx-text-gray-50 hover:nx-shadow-lg dark:hover:nx-border-neutral-500 dark:hover:nx-bg-neutral-700"),...ef,children:[ee,(0,ed.jsxs)("span",{className:(0,eu.Z)(tu.title,"dark:nx-text-gray-300 dark:hover:nx-text-gray-100"),children:[er,(0,ed.jsxs)("span",{className:"nx-flex nx-gap-1",children:[en,eh]})]})]}):(0,ed.jsx)(tc(),{href:ec,className:(0,eu.Z)(tu.card,"nx-bg-transparent nx-shadow-sm dark:nx-border-neutral-800 hover:nx-bg-slate-50 hover:nx-shadow-md dark:hover:nx-border-neutral-700 dark:hover:nx-bg-neutral-900"),...ef,children:(0,ed.jsxs)("span",{className:(0,eu.Z)(tu.title,"dark:nx-text-neutral-200 dark:hover:nx-text-neutral-50 nx-flex nx-items-center"),children:[er,en,eh]})})}});var tf=(0,ex.createContext)(0);function th(){return(0,ex.useContext)(tf)}function tp({children:ee}){return(0,ed.jsx)("div",{className:(0,eu.Z)("nextra-filetree nx-mt-6 nx-select-none nx-text-sm nx-text-gray-800 dark:nx-text-gray-300","nx-not-prose"),children:(0,ed.jsx)("div",{className:"nx-inline-block nx-rounded-lg nx-border nx-px-4 nx-py-2 dark:nx-border-neutral-800",children:ee})})}function tm(){let ee=th();return(0,ed.jsx)(ed.Fragment,{children:Array.from({length:ee},(ee,en)=>(0,ed.jsx)("span",{className:"nx-w-5"},en))})}var tg=(0,ex.memo)(({label:ee,name:en,open:er,children:eo,defaultOpen:ei=!1,onToggle:ec})=>{let eu=th(),[ef,eh]=(0,ex.useState)(ei),ep=(0,ex.useCallback)(()=>{ec?.(!ef),eh(!ef)},[ef,ec]),em=void 0===er?ef:er;return(0,ed.jsxs)("li",{className:"nx-flex nx-list-none nx-flex-col",children:[(0,ed.jsxs)("button",{onClick:ep,title:en,className:"nx-inline-flex nx-cursor-pointer nx-items-center nx-py-1 hover:nx-opacity-60",children:[(0,ed.jsx)(tm,{}),(0,ed.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",children:(0,ed.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:em?"M5 19a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h4l2 2h4a2 2 0 0 1 2 2v1M5 19h14a2 2 0 0 0 2-2v-5a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2Z":"M3 7v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-6l-2-2H5a2 2 0 0 0-2 2Z"})}),(0,ed.jsx)("span",{className:"nx-ml-1",children:ee??en})]}),em&&(0,ed.jsx)("ul",{children:(0,ed.jsx)(tf.Provider,{value:eu+1,children:eo})})]})});tg.displayName="Folder";var File=(0,ex.memo)(({label:ee,name:en,active:er})=>(0,ed.jsx)("li",{className:(0,eu.Z)("nx-flex nx-list-none",er&&"nx-text-primary-600 contrast-more:nx-underline"),children:(0,ed.jsxs)("span",{className:"nx-inline-flex nx-cursor-default nx-items-center nx-py-1",children:[(0,ed.jsx)(tm,{}),(0,ed.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",children:(0,ed.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9 12h6m-6 4h6m2 5H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5.586a1 1 0 0 1 .707.293l5.414 5.414a1 1 0 0 1 .293.707V19a2 2 0 0 1-2 2Z"})}),(0,ed.jsx)("span",{className:"nx-ml-1",children:ee??en})]})}));File.displayName="File",Object.assign(tp,{Folder:tg,File})},22634:function(ee,en,er){"use strict";er.d(en,{LZ:function(){return ei},nQ:function(){return ec},TI:function(){return eu},D7:function(){return ed},Qq:function(){return ef},fy:function(){return eh},n9:function(){return ep},AV:function(){return em},Oq:function(){return eg},kL:function(){return ex},L4:function(){return ev},NW:function(){return ey},NK:function(){return eb},b0:function(){return ew}});var eo=er(11527);function ei({pathClassName:ee,...en}){return(0,eo.jsx)("svg",{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",...en,children:(0,eo.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9 5l7 7-7 7",className:ee})})}function ec(ee){return(0,eo.jsx)("svg",{viewBox:"0 0 20 20",width:"1em",height:"1em",fill:"currentColor",...ee,children:(0,eo.jsx)("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})})}function eu(ee){return(0,eo.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",...ee,children:[(0,eo.jsx)("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,eo.jsx)("path",{d:"M5 15H4C2.89543 15 2 14.1046 2 13V4C2 2.89543 2.89543 2 4 2H13C14.1046 2 15 2.89543 15 4V5",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function ed(ee){return(0,eo.jsxs)("svg",{width:"24",height:"24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 5 30.67 23.25",...ee,children:[(0,eo.jsx)("title",{children:"Discord"}),(0,eo.jsx)("path",{d:"M26.0015 6.9529C24.0021 6.03845 21.8787 5.37198 19.6623 5C19.3833 5.48048 19.0733 6.13144 18.8563 6.64292C16.4989 6.30193 14.1585 6.30193 11.8336 6.64292C11.6166 6.13144 11.2911 5.48048 11.0276 5C8.79575 5.37198 6.67235 6.03845 4.6869 6.9529C0.672601 12.8736 -0.41235 18.6548 0.130124 24.3585C2.79599 26.2959 5.36889 27.4739 7.89682 28.2489C8.51679 27.4119 9.07477 26.5129 9.55525 25.5675C8.64079 25.2265 7.77283 24.808 6.93587 24.312C7.15286 24.1571 7.36986 23.9866 7.57135 23.8161C12.6241 26.1255 18.0969 26.1255 23.0876 23.8161C23.3046 23.9866 23.5061 24.1571 23.7231 24.312C22.8861 24.808 22.0182 25.2265 21.1037 25.5675C21.5842 26.5129 22.1422 27.4119 22.7621 28.2489C25.2885 27.4739 27.8769 26.2959 30.5288 24.3585C31.1952 17.7559 29.4733 12.0212 26.0015 6.9529ZM10.2527 20.8402C8.73376 20.8402 7.49382 19.4608 7.49382 17.7714C7.49382 16.082 8.70276 14.7025 10.2527 14.7025C11.7871 14.7025 13.0425 16.082 13.0115 17.7714C13.0115 19.4608 11.7871 20.8402 10.2527 20.8402ZM20.4373 20.8402C18.9183 20.8402 17.6768 19.4608 17.6768 17.7714C17.6768 16.082 18.8873 14.7025 20.4373 14.7025C21.9717 14.7025 23.2271 16.082 23.1961 17.7714C23.1961 19.4608 21.9872 20.8402 20.4373 20.8402Z"})]})}function ef({isOpen:ee,...en}){return(0,eo.jsxs)("svg",{height:"12",width:"12",viewBox:"0 0 16 16",fill:"currentColor",...en,children:[(0,eo.jsx)("path",{fillRule:"evenodd",d:"M4.177 7.823l2.396-2.396A.25.25 0 017 5.604v4.792a.25.25 0 01-.427.177L4.177 8.177a.25.25 0 010-.354z",className:ee?"":"nx-origin-[35%] nx-rotate-180"}),(0,eo.jsx)("path",{fillRule:"evenodd",d:"M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0114.25 16H1.75A1.75 1.75 0 010 14.25V1.75zm1.75-.25a.25.25 0 00-.25.25v12.5c0 .138.112.25.25.25H9.5v-13H1.75zm12.5 13H11v-13h3.25a.25.25 0 01.25.25v12.5a.25.25 0 01-.25.25z"})]})}function eh(ee){return(0,eo.jsxs)("svg",{width:"24",height:"24",fill:"currentColor",viewBox:"3 3 18 18",...ee,children:[(0,eo.jsx)("title",{children:"GitHub"}),(0,eo.jsx)("path",{d:"M12 3C7.0275 3 3 7.12937 3 12.2276C3 16.3109 5.57625 19.7597 9.15374 20.9824C9.60374 21.0631 9.77249 20.7863 9.77249 20.5441C9.77249 20.3249 9.76125 19.5982 9.76125 18.8254C7.5 19.2522 6.915 18.2602 6.735 17.7412C6.63375 17.4759 6.19499 16.6569 5.8125 16.4378C5.4975 16.2647 5.0475 15.838 5.80124 15.8264C6.51 15.8149 7.01625 16.4954 7.18499 16.7723C7.99499 18.1679 9.28875 17.7758 9.80625 17.5335C9.885 16.9337 10.1212 16.53 10.38 16.2993C8.3775 16.0687 6.285 15.2728 6.285 11.7432C6.285 10.7397 6.63375 9.9092 7.20749 9.26326C7.1175 9.03257 6.8025 8.08674 7.2975 6.81794C7.2975 6.81794 8.05125 6.57571 9.77249 7.76377C10.4925 7.55615 11.2575 7.45234 12.0225 7.45234C12.7875 7.45234 13.5525 7.55615 14.2725 7.76377C15.9937 6.56418 16.7475 6.81794 16.7475 6.81794C17.2424 8.08674 16.9275 9.03257 16.8375 9.26326C17.4113 9.9092 17.76 10.7281 17.76 11.7432C17.76 15.2843 15.6563 16.0687 13.6537 16.2993C13.98 16.5877 14.2613 17.1414 14.2613 18.0065C14.2613 19.2407 14.25 20.2326 14.25 20.5441C14.25 20.7863 14.4188 21.0746 14.8688 20.9824C16.6554 20.364 18.2079 19.1866 19.3078 17.6162C20.4077 16.0457 20.9995 14.1611 21 12.2276C21 7.12937 16.9725 3 12 3Z"})]})}function ep(ee){return(0,eo.jsx)("svg",{viewBox:"2 2 16 16",width:"12",height:"12",fill:"currentColor",...ee,children:(0,eo.jsx)("path",{fillRule:"evenodd",d:"M4.083 9h1.946c.089-1.546.383-2.97.837-4.118A6.004 6.004 0 004.083 9zM10 2a8 8 0 100 16 8 8 0 000-16zm0 2c-.076 0-.232.032-.465.262-.238.234-.497.623-.737 1.182-.389.907-.673 2.142-.766 3.556h3.936c-.093-1.414-.377-2.649-.766-3.556-.24-.56-.5-.948-.737-1.182C10.232 4.032 10.076 4 10 4zm3.971 5c-.089-1.546-.383-2.97-.837-4.118A6.004 6.004 0 0115.917 9h-1.946zm-2.003 2H8.032c.093 1.414.377 2.649.766 3.556.24.56.5.948.737 1.182.233.23.389.262.465.262.076 0 .232-.032.465-.262.238-.234.498-.623.737-1.182.389-.907.673-2.142.766-3.556zm1.166 4.118c.454-1.147.748-2.572.837-4.118h1.946a6.004 6.004 0 01-2.783 4.118zm-6.268 0C6.412 13.97 6.118 12.546 6.03 11H4.083a6.004 6.004 0 002.783 4.118z",clipRule:"evenodd"})})}function em(ee){return(0,eo.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:"20",height:"20",...ee,children:(0,eo.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z"})})}function eg(ee){return(0,eo.jsxs)("svg",{fill:"none",width:"24",height:"24",viewBox:"0 0 24 24",stroke:"currentColor",...ee,children:[(0,eo.jsx)("g",{children:(0,eo.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16"})}),(0,eo.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 12h16"}),(0,eo.jsx)("g",{children:(0,eo.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 18h16"})})]})}function ex(ee){return(0,eo.jsx)("svg",{fill:"none",viewBox:"2 2 20 20",width:"12",height:"12",stroke:"currentColor",...ee,children:(0,eo.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",fill:"currentColor",d:"M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"})})}function ev(ee){return(0,eo.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"24",height:"24",...ee,children:[(0,eo.jsx)("circle",{className:"nx-opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,eo.jsx)("path",{className:"nx-opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})}function ey(ee){return(0,eo.jsx)("svg",{fill:"none",viewBox:"3 3 18 18",width:"12",height:"12",stroke:"currentColor",...ee,children:(0,eo.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",fill:"currentColor",d:"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"})})}function eb(ee){return(0,eo.jsx)("svg",{viewBox:"0 0 24 24",width:"24",height:"24",...ee,children:(0,eo.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}function ew(ee){return(0,eo.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",...ee,children:(0,eo.jsx)("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})})}},43196:function(ee,en,er){"use strict";er.d(en,{Z:function(){return ed},a:function(){return em}});var eo=er(50959);let ei=eo.createContext({});function ec(ee){let en=eo.useContext(ei);return eo.useMemo(()=>"function"==typeof ee?ee(en):{...en,...ee},[en,ee])}let eu={};function ed({components:ee,children:en,disableParentContext:er}){let ed;return ed=er?"function"==typeof ee?ee({}):ee||eu:ec(ee),eo.createElement(ei.Provider,{value:ed},en)}var ef=er(49045),eh=er.n(ef),ep={img:ee=>(0,eo.createElement)("object"==typeof ee.src?eh():"img",ee)},em=ee=>ec({...ep,...ee})},85182:function(ee,en,er){"use strict";var eo=er(6097);function ei(ee){var en={protocols:[],protocol:null,port:null,resource:"",host:"",user:"",password:"",pathname:"",hash:"",search:"",href:ee,query:{},parse_failed:!1};try{var er=new URL(ee);en.protocols=eo(er),en.protocol=en.protocols[0],en.port=er.port,en.resource=er.hostname,en.host=er.host,en.user=er.username||"",en.password=er.password||"",en.pathname=er.pathname,en.hash=er.hash.slice(1),en.search=er.search.slice(1),en.href=er.href,en.query=Object.fromEntries(er.searchParams)}catch(er){en.protocols=["file"],en.protocol=en.protocols[0],en.port="",en.resource="",en.user="",en.pathname="",en.hash="",en.search="",en.href=ee,en.query={},en.parse_failed=!0}return en}ee.exports=ei},78593:function(ee,en,er){"use strict";var eo=function(ee){return ee&&"object"==typeof ee&&"default"in ee?ee:{default:ee}}(er(85182));let ei="text/plain",ec="us-ascii",eu=(ee,en)=>en.some(en=>en instanceof RegExp?en.test(ee):en===ee),ed=(ee,{stripHash:en})=>{let er=/^data:(?[^,]*?),(?[^#]*?)(?:#(?.*))?$/.exec(ee);if(!er)throw Error(`Invalid URL: ${ee}`);let{type:eo,data:eu,hash:ed}=er.groups,ef=eo.split(";");ed=en?"":ed;let eh=!1;"base64"===ef[ef.length-1]&&(ef.pop(),eh=!0);let ep=(ef.shift()||"").toLowerCase(),em=ef.map(ee=>{let[en,er=""]=ee.split("=").map(ee=>ee.trim());return"charset"===en&&(er=er.toLowerCase())===ec?"":`${en}${er?`=${er}`:""}`}).filter(Boolean),eg=[...em];return eh&&eg.push("base64"),(eg.length>0||ep&&ep!==ei)&&eg.unshift(ep),`data:${eg.join(";")},${eh?eu.trim():eu}${ed?`#${ed}`:""}`};function ef(ee,en){if(en={defaultProtocol:"http:",normalizeProtocol:!0,forceHttp:!1,forceHttps:!1,stripAuthentication:!0,stripHash:!1,stripTextFragment:!0,stripWWW:!0,removeQueryParameters:[/^utm_\w+/i],removeTrailingSlash:!0,removeSingleSlash:!0,removeDirectoryIndex:!1,sortQueryParameters:!0,...en},ee=ee.trim(),/^data:/i.test(ee))return ed(ee,en);if(/^view-source:/i.test(ee))throw Error("`view-source:` is not supported as it is a non-standard protocol");let er=ee.startsWith("//"),eo=!er&&/^\.*\//.test(ee);eo||(ee=ee.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,en.defaultProtocol));let ei=new URL(ee);if(en.forceHttp&&en.forceHttps)throw Error("The `forceHttp` and `forceHttps` options cannot be used together");if(en.forceHttp&&"https:"===ei.protocol&&(ei.protocol="http:"),en.forceHttps&&"http:"===ei.protocol&&(ei.protocol="https:"),en.stripAuthentication&&(ei.username="",ei.password=""),en.stripHash?ei.hash="":en.stripTextFragment&&(ei.hash=ei.hash.replace(/#?:~:text.*?$/i,"")),ei.pathname){let ee=/\b[a-z][a-z\d+\-.]{1,50}:\/\//g,en=0,er="";for(;;){let eo=ee.exec(ei.pathname);if(!eo)break;let ec=eo[0],eu=eo.index,ed=ei.pathname.slice(en,eu);er+=ed.replace(/\/{2,}/g,"/")+ec,en=eu+ec.length}let eo=ei.pathname.slice(en,ei.pathname.length);er+=eo.replace(/\/{2,}/g,"/"),ei.pathname=er}if(ei.pathname)try{ei.pathname=decodeURI(ei.pathname)}catch{}if(!0===en.removeDirectoryIndex&&(en.removeDirectoryIndex=[/^index\.[a-z]+$/]),Array.isArray(en.removeDirectoryIndex)&&en.removeDirectoryIndex.length>0){let ee=ei.pathname.split("/"),er=ee[ee.length-1];eu(er,en.removeDirectoryIndex)&&(ee=ee.slice(0,-1),ei.pathname=ee.slice(1).join("/")+"/")}if(ei.hostname&&(ei.hostname=ei.hostname.replace(/\.$/,""),en.stripWWW&&/^www\.(?!www\.)[a-z\-\d]{1,63}\.[a-z.\-\d]{2,63}$/.test(ei.hostname)&&(ei.hostname=ei.hostname.replace(/^www\./,""))),Array.isArray(en.removeQueryParameters))for(let ee of[...ei.searchParams.keys()])eu(ee,en.removeQueryParameters)&&ei.searchParams.delete(ee);if(!0===en.removeQueryParameters&&(ei.search=""),en.sortQueryParameters){ei.searchParams.sort();try{ei.search=decodeURIComponent(ei.search)}catch{}}en.removeTrailingSlash&&(ei.pathname=ei.pathname.replace(/\/$/,""));let ec=ee;return ee=ei.toString(),en.removeSingleSlash||"/"!==ei.pathname||ec.endsWith("/")||""!==ei.hash||(ee=ee.replace(/\/$/,"")),(en.removeTrailingSlash||"/"===ei.pathname)&&""===ei.hash&&en.removeSingleSlash&&(ee=ee.replace(/\/$/,"")),er&&!en.normalizeProtocol&&(ee=ee.replace(/^http:\/\//,"//")),en.stripProtocol&&(ee=ee.replace(/^(?:https?:)?\/\//,"")),ee}let eh=(ee,en=!1)=>{let er=/^(?:([a-z_][a-z0-9_-]{0,31})@|https?:\/\/)([\w\.\-@]+)[\/:]([\~,\.\w,\-,\_,\/]+?(?:\.git|\/)?)$/,ei=en=>{let er=Error(en);throw er.subject_url=ee,er};"string"==typeof ee&&ee.trim()||ei("Invalid url."),ee.length>eh.MAX_INPUT_LENGTH&&ei("Input exceeds maximum length. If needed, change the value of parseUrl.MAX_INPUT_LENGTH."),en&&("object"!=typeof en&&(en={stripHash:!1}),ee=ef(ee,en));let ec=eo.default(ee);if(ec.parse_failed){let ee=ec.href.match(er);ee?(ec.protocols=["ssh"],ec.protocol="ssh",ec.resource=ee[2],ec.host=ee[2],ec.user=ee[1],ec.pathname=`/${ee[3]}`,ec.parse_failed=!1):ei("URL parsing failed.")}return ec};eh.MAX_INPUT_LENGTH=2048,ee.exports=eh},74049:function(ee,en,er){"use strict";var eo=er(36257);function ei(){}function ec(){}ec.resetWarningCache=ei,ee.exports=function(){function ee(ee,en,er,ei,ec,eu){if(eu!==eo){var ed=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw ed.name="Invariant Violation",ed}}function en(){return ee}ee.isRequired=ee;var er={array:ee,bigint:ee,bool:ee,func:ee,number:ee,object:ee,string:ee,symbol:ee,any:ee,arrayOf:en,element:ee,elementType:ee,instanceOf:en,node:ee,objectOf:en,oneOf:en,oneOfType:en,shape:en,exact:en,checkPropTypes:ec,resetWarningCache:ei};return er.PropTypes=er,er}},40507:function(ee,en,er){ee.exports=er(74049)()},36257:function(ee){"use strict";var en="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";ee.exports=en},6097:function(ee){"use strict";ee.exports=function(ee,en){!0===en&&(en=0);var er="";if("string"==typeof ee)try{er=new URL(ee).protocol}catch(ee){}else ee&&ee.constructor===URL&&(er=ee.protocol);var eo=er.split(/\:|\+/).filter(Boolean);return"number"==typeof en?eo[en]:eo}},10091:function(ee,en,er){"use strict";er.d(en,{ZP:function(){return tc}});var eo=er(25201),ei=er(12309),ec=er(76729),eu=er(26407),ed=er(84875),ef=er.n(ed),eh=er(6574),ep=er(12602),em=er(50959),eg=em.createContext({}),ex=er(9130),ev=er(82349),ey=er(53264),eb=er(53475),ew=function(ee){(0,ey.Z)(er,ee);var en=(0,eb.Z)(er);function er(){return(0,ex.Z)(this,er),en.apply(this,arguments)}return(0,ev.Z)(er,[{key:"render",value:function(){return this.props.children}}]),er}(em.Component),ek=er(42291),e_="none",eE="appear",ej="enter",eO="leave",eC="none",eS="prepare",eT="start",eA="active",eR="end",eN="prepared",eI=er(63490);function eM(ee,en){var er={};return er[ee.toLowerCase()]=en.toLowerCase(),er["Webkit".concat(ee)]="webkit".concat(en),er["Moz".concat(ee)]="moz".concat(en),er["ms".concat(ee)]="MS".concat(en),er["O".concat(ee)]="o".concat(en.toLowerCase()),er}var eL=function(ee,en){var er={animationend:eM("Animation","AnimationEnd"),transitionend:eM("Transition","TransitionEnd")};return!ee||("AnimationEvent"in en||delete er.animationend.animation,"TransitionEvent"in en||delete er.transitionend.transition),er}((0,eI.Z)(),"undefined"!=typeof window?window:{}),eZ={};(0,eI.Z)()&&(eZ=document.createElement("div").style);var eP={};function eD(ee){if(eP[ee])return eP[ee];var en=eL[ee];if(en)for(var er=Object.keys(en),eo=er.length,ei=0;ei1&&void 0!==arguments[1]?arguments[1]:2;en();var ec=(0,eV.Z)(function(){ei<=1?eo({isCanceled:function(){return ec!==ee.current}}):er(eo,ei-1)});ee.current=ec}return em.useEffect(function(){return function(){en()}},[]),[er,en]},eX=[eS,eT,eA,eR],eK=[eS,eN],eY=!1,eQ=!0;function eJ(ee){return ee===eA||ee===eR}var e0=function(ee,en,er){var eo=(0,ek.Z)(eC),ei=(0,ec.Z)(eo,2),eu=ei[0],ed=ei[1],ef=eq(),eh=(0,ec.Z)(ef,2),ep=eh[0],eg=eh[1];function ex(){ed(eS,!0)}var ev=en?eK:eX;return eU(function(){if(eu!==eC&&eu!==eR){var ee=ev.indexOf(eu),en=ev[ee+1],eo=er(eu);eo===eY?ed(en,!0):en&&ep(function(ee){function er(){ee.isCanceled()||ed(en,!0)}!0===eo?er():Promise.resolve(eo).then(er)})}},[ee,eu]),em.useEffect(function(){return function(){eg()}},[]),[ex,eu]};function e1(ee,en,er,eu){var ed=eu.motionEnter,ef=void 0===ed||ed,eh=eu.motionAppear,ep=void 0===eh||eh,eg=eu.motionLeave,ex=void 0===eg||eg,ev=eu.motionDeadline,ey=eu.motionLeaveImmediately,eb=eu.onAppearPrepare,ew=eu.onEnterPrepare,eC=eu.onLeavePrepare,eR=eu.onAppearStart,eI=eu.onEnterStart,eM=eu.onLeaveStart,eL=eu.onAppearActive,eZ=eu.onEnterActive,eP=eu.onLeaveActive,eD=eu.onAppearEnd,ez=eu.onEnterEnd,eF=eu.onLeaveEnd,eH=eu.onVisibleChanged,eB=(0,ek.Z)(),eW=(0,ec.Z)(eB,2),eG=eW[0],eV=eW[1],eq=(0,ek.Z)(e_),eX=(0,ec.Z)(eq,2),eK=eX[0],e1=eX[1],e2=(0,ek.Z)(null),e5=(0,ec.Z)(e2,2),e4=e5[0],e6=e5[1],e3=(0,em.useRef)(!1),e9=(0,em.useRef)(null);function e7(){return er()}var e8=(0,em.useRef)(!1);function tn(){e1(e_,!0),e6(null,!0)}function tr(ee){var en,er=e7();if(!ee||ee.deadline||ee.target===er){var eo=e8.current;eK===eE&&eo?en=null==eD?void 0:eD(er,ee):eK===ej&&eo?en=null==ez?void 0:ez(er,ee):eK===eO&&eo&&(en=null==eF?void 0:eF(er,ee)),eK!==e_&&eo&&!1!==en&&tn()}}var to=e$(tr),ti=(0,ec.Z)(to,1)[0],ts=function(ee){var en,er,ei;switch(ee){case eE:return en={},(0,eo.Z)(en,eS,eb),(0,eo.Z)(en,eT,eR),(0,eo.Z)(en,eA,eL),en;case ej:return er={},(0,eo.Z)(er,eS,ew),(0,eo.Z)(er,eT,eI),(0,eo.Z)(er,eA,eZ),er;case eO:return ei={},(0,eo.Z)(ei,eS,eC),(0,eo.Z)(ei,eT,eM),(0,eo.Z)(ei,eA,eP),ei;default:return{}}},tl=em.useMemo(function(){return ts(eK)},[eK]),tc=e0(eK,!ee,function(ee){if(ee===eS){var en,er=tl[eS];return er?er(e7()):eY}return tf in tl&&e6((null===(en=tl[tf])||void 0===en?void 0:en.call(tl,e7(),null))||null),tf===eA&&(ti(e7()),ev>0&&(clearTimeout(e9.current),e9.current=setTimeout(function(){tr({deadline:!0})},ev))),tf===eN&&tn(),eQ}),tu=(0,ec.Z)(tc,2),td=tu[0],tf=tu[1],th=eJ(tf);e8.current=th,eU(function(){eV(en);var er,eo=e3.current;e3.current=!0,!eo&&en&&ep&&(er=eE),eo&&en&&ef&&(er=ej),(eo&&!en&&ex||!eo&&ey&&!en&&ex)&&(er=eO);var ei=ts(er);er&&(ee||ei[eS])?(e1(er),td()):e1(e_)},[en]),(0,em.useEffect)(function(){(eK!==eE||ep)&&(eK!==ej||ef)&&(eK!==eO||ex)||e1(e_)},[ep,ef,ex]),(0,em.useEffect)(function(){return function(){e3.current=!1,clearTimeout(e9.current)}},[]);var tp=em.useRef(!1);(0,em.useEffect)(function(){eG&&(tp.current=!0),void 0!==eG&&eK===e_&&((tp.current||eG)&&(null==eH||eH(eG)),tp.current=!0)},[eG,eK]);var tm=e4;return tl[eS]&&tf===eT&&(tm=(0,ei.Z)({transition:"none"},tm)),[eK,tf,tm,null!=eG?eG:en]}var e2=function(ee){var en=ee;function er(ee,er){return!!(ee.motionName&&en&&!1!==er)}"object"===(0,eu.Z)(ee)&&(en=ee.transitionSupport);var ed=em.forwardRef(function(ee,en){var eu=ee.visible,ed=void 0===eu||eu,ex=ee.removeOnLeave,ev=void 0===ex||ex,ey=ee.forceRender,eb=ee.children,ek=ee.motionName,eE=ee.leavedClassName,ej=ee.eventProps,eO=er(ee,em.useContext(eg).motion),eC=(0,em.useRef)(),eA=(0,em.useRef)(),eR=e1(eO,ed,function(){try{return eC.current instanceof HTMLElement?eC.current:(0,eh.Z)(eA.current)}catch(ee){return null}},ee),eN=(0,ec.Z)(eR,4),eI=eN[0],eM=eN[1],eL=eN[2],eZ=eN[3],eP=em.useRef(eZ);eZ&&(eP.current=!0);var eD=em.useCallback(function(ee){eC.current=ee,(0,ep.mH)(en,ee)},[en]),ez=(0,ei.Z)((0,ei.Z)({},ej),{},{visible:ed});if(eb){if(eI===e_)eF=eZ?eb((0,ei.Z)({},ez),eD):!ev&&eP.current&&eE?eb((0,ei.Z)((0,ei.Z)({},ez),{},{className:eE}),eD):!ey&&(ev||eE)?null:eb((0,ei.Z)((0,ei.Z)({},ez),{},{style:{display:"none"}}),eD);else{eM===eS?eB="prepare":eJ(eM)?eB="active":eM===eT&&(eB="start");var eF,eH,eB,eW=eG(ek,"".concat(eI,"-").concat(eB));eF=eb((0,ei.Z)((0,ei.Z)({},ez),{},{className:ef()(eG(ek,eI),(eH={},(0,eo.Z)(eH,eW,eW&&eB),(0,eo.Z)(eH,ek,"string"==typeof ek),eH)),style:eL}),eD)}}else eF=null;return em.isValidElement(eF)&&(0,ep.Yr)(eF)&&!eF.ref&&(eF=em.cloneElement(eF,{ref:eD})),em.createElement(ew,{ref:eA},eF)});return ed.displayName="CSSMotion",ed}(eH),e5=er(97605),e4=er(10582),e6=er(23248),e3="add",e9="keep",e7="remove",e8="removed";function tn(ee){var en;return en=ee&&"object"===(0,eu.Z)(ee)&&"key"in ee?ee:{key:ee},(0,ei.Z)((0,ei.Z)({},en),{},{key:String(en.key)})}function tr(){var ee=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return ee.map(tn)}function to(){var ee=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],en=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],er=[],eo=0,ec=en.length,eu=tr(ee),ed=tr(en);eu.forEach(function(ee){for(var en=!1,eu=eo;eu1}).forEach(function(ee){(er=er.filter(function(en){var er=en.key,eo=en.status;return er!==ee||eo!==e7})).forEach(function(en){en.key===ee&&(en.status=e9)})}),er}var ti=["component","children","onVisibleChanged","onAllRemoved"],ts=["status"],tl=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];!function(ee){var en=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e2,er=function(ee){(0,ey.Z)(ec,ee);var er=(0,eb.Z)(ec);function ec(){var ee;(0,ex.Z)(this,ec);for(var en=arguments.length,eu=Array(en),ed=0;ed1&&void 0!==arguments[1]?arguments[1]:{},er=[];return eo.Children.forEach(ee,function(ee){(null!=ee||en.keepEmpty)&&(Array.isArray(ee)?er=er.concat(ec(ee)):(0,ei.isFragment)(ee)&&ee.props?er=er.concat(ec(ee.props.children,en)):er.push(ee))}),er}},63490:function(ee,en,er){"use strict";function eo(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)}er.d(en,{Z:function(){return eo}})},35966:function(ee,en,er){"use strict";er.d(en,{jL:function(){return ey},hq:function(){return ew}});var eo=er(63490);function ei(ee,en){if(!ee)return!1;if(ee.contains)return ee.contains(en);for(var er=en;er;){if(er===ee)return!0;er=er.parentNode}return!1}var ec="data-rc-order",eu="data-rc-priority",ed="rc-util-key",ef=new Map;function eh(){var ee=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},en=ee.mark;return en?en.startsWith("data-")?en:"data-".concat(en):ed}function ep(ee){return ee.attachTo?ee.attachTo:document.querySelector("head")||document.body}function em(ee){return"queue"===ee?"prependQueue":ee?"prepend":"append"}function eg(ee){return Array.from((ef.get(ee)||ee).children).filter(function(ee){return"STYLE"===ee.tagName})}function ex(ee){var en=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,eo.Z)())return null;var er=en.csp,ei=en.prepend,ed=en.priority,ef=void 0===ed?0:ed,eh=em(ei),ex="prependQueue"===eh,ev=document.createElement("style");ev.setAttribute(ec,eh),ex&&ef&&ev.setAttribute(eu,"".concat(ef)),null!=er&&er.nonce&&(ev.nonce=null==er?void 0:er.nonce),ev.innerHTML=ee;var ey=ep(en),eb=ey.firstChild;if(ei){if(ex){var ew=eg(ey).filter(function(ee){return!!["prepend","prependQueue"].includes(ee.getAttribute(ec))&&ef>=Number(ee.getAttribute(eu)||0)});if(ew.length)return ey.insertBefore(ev,ew[ew.length-1].nextSibling),ev}ey.insertBefore(ev,eb)}else ey.appendChild(ev);return ev}function ev(ee){var en=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return eg(ep(en)).find(function(er){return er.getAttribute(eh(en))===ee})}function ey(ee){var en=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},er=ev(ee,en);er&&ep(en).removeChild(er)}function eb(ee,en){var er=ef.get(ee);if(!er||!ei(document,er)){var eo=ex("",en),ec=eo.parentNode;ef.set(ee,ec),ee.removeChild(eo)}}function ew(ee,en){var er,eo,ei,ec=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};eb(ep(ec),ec);var eu=ev(en,ec);if(eu)return null!==(er=ec.csp)&&void 0!==er&&er.nonce&&eu.nonce!==(null===(eo=ec.csp)||void 0===eo?void 0:eo.nonce)&&(eu.nonce=null===(ei=ec.csp)||void 0===ei?void 0:ei.nonce),eu.innerHTML!==ee&&(eu.innerHTML=ee),eu;var ed=ex(ee,ec);return ed.setAttribute(eh(ec),en),ed}},6574:function(ee,en,er){"use strict";er.d(en,{S:function(){return ec},Z:function(){return eu}});var eo=er(50959),ei=er(10422);function ec(ee){return ee instanceof HTMLElement||ee instanceof SVGElement}function eu(ee){return ec(ee)?ee:ee instanceof eo.Component?ei.findDOMNode(ee):null}},95992:function(ee,en){"use strict";en.Z=function(ee){if(!ee)return!1;if(ee instanceof Element){if(ee.offsetParent)return!0;if(ee.getBBox){var en=ee.getBBox(),er=en.width,eo=en.height;if(er||eo)return!0}if(ee.getBoundingClientRect){var ei=ee.getBoundingClientRect(),ec=ei.width,eu=ei.height;if(ec||eu)return!0}}return!1}},79697:function(ee,en,er){"use strict";function eo(ee){var en;return null==ee||null===(en=ee.getRootNode)||void 0===en?void 0:en.call(ee)}function ei(ee){return eo(ee) instanceof ShadowRoot}function ec(ee){return ei(ee)?eo(ee):null}er.d(en,{A:function(){return ec}})},7748:function(ee,en,er){"use strict";er.d(en,{Z:function(){return ei}});var eo=er(50959);function ei(ee){var en=eo.useRef();return en.current=ee,eo.useCallback(function(){for(var ee,er=arguments.length,eo=Array(er),ei=0;ei1&&void 0!==arguments[1]?arguments[1]:1,eo=ei+=1;function ed(en){if(0===en)eu(eo),ee();else{var ei=er(function(){ed(en-1)});ec.set(eo,ei)}}return ed(en),eo};ed.cancel=function(ee){var en=ec.get(ee);return eu(ee),eo(en)},en.Z=ed},12602:function(ee,en,er){"use strict";er.d(en,{Yr:function(){return eh},mH:function(){return eu},sQ:function(){return ed},x1:function(){return ef}});var eo=er(26407);er(50959);var ei=er(61357),ec=er(12554);function eu(ee,en){"function"==typeof ee?ee(en):"object"===(0,eo.Z)(ee)&&ee&&"current"in ee&&(ee.current=en)}function ed(){for(var ee=arguments.length,en=Array(ee),er=0;eree.length)&&(en=ee.length);for(var er=0,eo=Array(en);er=0||(ei[er]=ee[er]);return ei}function ei(ee,en){if(null==ee)return{};var er,ei,ec=eo(ee,en);if(Object.getOwnPropertySymbols){var eu=Object.getOwnPropertySymbols(ee);for(ei=0;ei=0)&&Object.prototype.propertyIsEnumerable.call(ee,er)&&(ec[er]=ee[er])}return ec}er.d(en,{Z:function(){return ei}})},16635:function(ee,en,er){"use strict";function eo(ee,en){return(eo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ee,en){return ee.__proto__=en,ee})(ee,en)}er.d(en,{Z:function(){return eo}})},76729:function(ee,en,er){"use strict";function eo(ee){if(Array.isArray(ee))return ee}function ei(ee,en){var er=null==ee?null:"undefined"!=typeof Symbol&&ee[Symbol.iterator]||ee["@@iterator"];if(null!=er){var eo,ei,ec,eu,ed=[],ef=!0,eh=!1;try{if(ec=(er=er.call(ee)).next,0===en){if(Object(er)!==er)return;ef=!1}else for(;!(ef=(eo=ec.call(er)).done)&&(ed.push(eo.value),ed.length!==en);ef=!0);}catch(ee){eh=!0,ei=ee}finally{try{if(!ef&&null!=er.return&&(eu=er.return(),Object(eu)!==eu))return}finally{if(eh)throw ei}}return ed}}er.d(en,{Z:function(){return ed}});var ec=er(79250);function eu(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ed(ee,en){return eo(ee)||ei(ee,en)||(0,ec.Z)(ee,en)||eu()}},1874:function(ee,en,er){"use strict";er.d(en,{Z:function(){return ef}});var eo=er(4989);function ei(ee){if(Array.isArray(ee))return(0,eo.Z)(ee)}function ec(ee){if("undefined"!=typeof Symbol&&null!=ee[Symbol.iterator]||null!=ee["@@iterator"])return Array.from(ee)}var eu=er(79250);function ed(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ef(ee){return ei(ee)||ec(ee)||(0,eu.Z)(ee)||ed()}},76755:function(ee,en,er){"use strict";er.d(en,{Z:function(){return ec}});var eo=er(26407);function ei(ee,en){if("object"!==(0,eo.Z)(ee)||null===ee)return ee;var er=ee[Symbol.toPrimitive];if(void 0!==er){var ei=er.call(ee,en||"default");if("object"!==(0,eo.Z)(ei))return ei;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===en?String:Number)(ee)}function ec(ee){var en=ei(ee,"string");return"symbol"===(0,eo.Z)(en)?en:String(en)}},26407:function(ee,en,er){"use strict";function eo(ee){return(eo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(ee){return typeof ee}:function(ee){return ee&&"function"==typeof Symbol&&ee.constructor===Symbol&&ee!==Symbol.prototype?"symbol":typeof ee})(ee)}er.d(en,{Z:function(){return eo}})},79250:function(ee,en,er){"use strict";er.d(en,{Z:function(){return ei}});var eo=er(4989);function ei(ee,en){if(ee){if("string"==typeof ee)return(0,eo.Z)(ee,en);var er=Object.prototype.toString.call(ee).slice(8,-1);if("Object"===er&&ee.constructor&&(er=ee.constructor.name),"Map"===er||"Set"===er)return Array.from(ee);if("Arguments"===er||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(er))return(0,eo.Z)(ee,en)}}},8246:function(ee,en,er){"use strict";er.d(en,{R:function(){return ei}});var eo,ei=((eo=ei||{}).Space=" ",eo.Enter="Enter",eo.Escape="Escape",eo.Backspace="Backspace",eo.Delete="Delete",eo.ArrowLeft="ArrowLeft",eo.ArrowUp="ArrowUp",eo.ArrowRight="ArrowRight",eo.ArrowDown="ArrowDown",eo.Home="Home",eo.End="End",eo.PageUp="PageUp",eo.PageDown="PageDown",eo.Tab="Tab",eo)},26510:function(ee,en,er){"use strict";er.d(en,{z:function(){return ec}});var eo=er(50959),ei=er(19691);let ec=function(ee){let en=(0,ei.E)(ee);return eo.useCallback((...ee)=>en.current(...ee),[en])}},49038:function(ee,en,er){"use strict";er.d(en,{M:function(){return ef}});var eo,ei=er(50959),ec=er(66260),eu=er(70674),ed=er(86030);let ef=null!=(eo=ei.useId)?eo:function(){let ee=(0,eu.H)(),[en,er]=ei.useState(ee?()=>ed.O.nextId():null);return(0,ec.e)(()=>{null===en&&er(ed.O.nextId())},[en]),null!=en?""+en:void 0}},85782:function(ee,en,er){"use strict";er.d(en,{t:function(){return ec}});var eo=er(50959),ei=er(66260);function ec(){let ee=(0,eo.useRef)(!1);return(0,ei.e)(()=>(ee.current=!0,()=>{ee.current=!1}),[]),ee}},66260:function(ee,en,er){"use strict";er.d(en,{e:function(){return ec}});var eo=er(50959),ei=er(86030);let ec=(ee,en)=>{ei.O.isServer?(0,eo.useEffect)(ee,en):(0,eo.useLayoutEffect)(ee,en)}},19691:function(ee,en,er){"use strict";er.d(en,{E:function(){return ec}});var eo=er(50959),ei=er(66260);function ec(ee){let en=(0,eo.useRef)(ee);return(0,ei.e)(()=>{en.current=ee},[ee]),en}},58002:function(ee,en,er){"use strict";er.d(en,{f:function(){return eu}});var eo=er(50959),ei=er(66260);function ec(ee){var en;if(ee.type)return ee.type;let er=null!=(en=ee.as)?en:"button";if("string"==typeof er&&"button"===er.toLowerCase())return"button"}function eu(ee,en){let[er,eu]=(0,eo.useState)(()=>ec(ee));return(0,ei.e)(()=>{eu(ec(ee))},[ee.type,ee.as]),(0,ei.e)(()=>{er||en.current&&en.current instanceof HTMLButtonElement&&!en.current.hasAttribute("type")&&eu("button")},[er,en]),er}},70674:function(ee,en,er){"use strict";er.d(en,{H:function(){return ed}});var eo,ei=er(50959),ec=er(86030);function eu(){let ee="undefined"==typeof document;return(0,(eo||(eo=er.t(ei,2))).useSyncExternalStore)(()=>()=>{},()=>!1,()=>!ee)}function ed(){let ee=eu(),[en,er]=ei.useState(ec.O.isHandoffComplete);return en&&!1===ec.O.isHandoffComplete&&er(!1),ei.useEffect(()=>{!0!==en&&er(!0)},[en]),ei.useEffect(()=>ec.O.handoff(),[]),!ee&&en}},29850:function(ee,en,er){"use strict";er.d(en,{T:function(){return eu}});var eo=er(50959),ei=er(26510);let ec=Symbol();function eu(...ee){let en=(0,eo.useRef)(ee);(0,eo.useEffect)(()=>{en.current=ee},[ee]);let er=(0,ei.z)(ee=>{for(let er of en.current)null!=er&&("function"==typeof er?er(ee):er.current=ee)});return ee.every(ee=>null==ee||(null==ee?void 0:ee[ec]))?void 0:er}},91941:function(ee,en,er){"use strict";er.d(en,{A:function(){return eu},_:function(){return ef}});var eo,ei=er(70222);let ec="div";var eu=((eo=eu||{})[eo.None=1]="None",eo[eo.Focusable=2]="Focusable",eo[eo.Hidden=4]="Hidden",eo);function ed(ee,en){let{features:er=1,...eo}=ee,eu={ref:en,"aria-hidden":(2&er)==2||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(4&er)==4&&(2&er)!=2&&{display:"none"}}};return(0,ei.sY)({ourProps:eu,theirProps:eo,slot:{},defaultTag:ec,name:"Hidden"})}let ef=(0,ei.yV)(ed)},43659:function(ee,en,er){"use strict";function eo(...ee){return Array.from(new Set(ee.flatMap(ee=>"string"==typeof ee?ee.split(" "):[]))).filter(Boolean).join(" ")}er.d(en,{A:function(){return eo}})},95012:function(ee,en,er){"use strict";er.d(en,{k:function(){return ei}});var eo=er(41287);function ei(){let ee=[],en={addEventListener:(ee,er,eo,ei)=>(ee.addEventListener(er,eo,ei),en.add(()=>ee.removeEventListener(er,eo,ei))),requestAnimationFrame(...ee){let er=requestAnimationFrame(...ee);return en.add(()=>cancelAnimationFrame(er))},nextFrame:(...ee)=>en.requestAnimationFrame(()=>en.requestAnimationFrame(...ee)),setTimeout(...ee){let er=setTimeout(...ee);return en.add(()=>clearTimeout(er))},microTask(...ee){let er={current:!0};return(0,eo.Y)(()=>{er.current&&ee[0]()}),en.add(()=>{er.current=!1})},style(ee,en,er){let eo=ee.style.getPropertyValue(en);return Object.assign(ee.style,{[en]:er}),this.add(()=>{Object.assign(ee.style,{[en]:eo})})},group(ee){let en=ei();return ee(en),this.add(()=>en.dispose())},add:en=>(ee.push(en),()=>{let er=ee.indexOf(en);if(er>=0)for(let en of ee.splice(er,1))en()}),dispose(){for(let en of ee.splice(0))en()}};return en}},86030:function(ee,en,er){"use strict";er.d(en,{O:function(){return ed}});var eo=Object.defineProperty,ei=(ee,en,er)=>en in ee?eo(ee,en,{enumerable:!0,configurable:!0,writable:!0,value:er}):ee[en]=er,ec=(ee,en,er)=>(ei(ee,"symbol"!=typeof en?en+"":en,er),er);class eu{constructor(){ec(this,"current",this.detect()),ec(this,"handoffState","pending"),ec(this,"currentId",0)}set(ee){this.current!==ee&&(this.handoffState="pending",this.currentId=0,this.current=ee)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}}let ed=new eu},47496:function(ee,en,er){"use strict";er.d(en,{EO:function(){return eS},TO:function(){return eg},fE:function(){return ex},jA:function(){return eT},sP:function(){return ew},tJ:function(){return eb},wI:function(){return ek},z2:function(){return eC}});var eo,ei,ec,eu,ed,ef=er(95012),eh=er(23011),ep=er(19195);let em=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(ee=>`${ee}:not([tabindex='-1'])`).join(",");var eg=((eo=eg||{})[eo.First=1]="First",eo[eo.Previous=2]="Previous",eo[eo.Next=4]="Next",eo[eo.Last=8]="Last",eo[eo.WrapAround=16]="WrapAround",eo[eo.NoScroll=32]="NoScroll",eo),ex=((ei=ex||{})[ei.Error=0]="Error",ei[ei.Overflow=1]="Overflow",ei[ei.Success=2]="Success",ei[ei.Underflow=3]="Underflow",ei),ev=((ec=ev||{})[ec.Previous=-1]="Previous",ec[ec.Next=1]="Next",ec);function ey(ee=document.body){return null==ee?[]:Array.from(ee.querySelectorAll(em)).sort((ee,en)=>Math.sign((ee.tabIndex||Number.MAX_SAFE_INTEGER)-(en.tabIndex||Number.MAX_SAFE_INTEGER)))}var eb=((eu=eb||{})[eu.Strict=0]="Strict",eu[eu.Loose=1]="Loose",eu);function ew(ee,en=0){var er;return ee!==(null==(er=(0,ep.r)(ee))?void 0:er.body)&&(0,eh.E)(en,{0:()=>ee.matches(em),1(){let en=ee;for(;null!==en;){if(en.matches(em))return!0;en=en.parentElement}return!1}})}function ek(ee){let en=(0,ep.r)(ee);(0,ef.k)().nextFrame(()=>{en&&!ew(en.activeElement,0)&&eE(ee)})}var e_=((ed=e_||{})[ed.Keyboard=0]="Keyboard",ed[ed.Mouse=1]="Mouse",ed);function eE(ee){null==ee||ee.focus({preventScroll:!0})}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",ee=>{ee.metaKey||ee.altKey||ee.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",ee=>{1===ee.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===ee.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));let ej="textarea,input";function eO(ee){var en,er;return null!=(er=null==(en=null==ee?void 0:ee.matches)?void 0:en.call(ee,ej))&&er}function eC(ee,en=ee=>ee){return ee.slice().sort((ee,er)=>{let eo=en(ee),ei=en(er);if(null===eo||null===ei)return 0;let ec=eo.compareDocumentPosition(ei);return ec&Node.DOCUMENT_POSITION_FOLLOWING?-1:ec&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function eS(ee,en){return eT(ey(),en,{relativeTo:ee})}function eT(ee,en,{sorted:er=!0,relativeTo:eo=null,skipElements:ei=[]}={}){let ec=Array.isArray(ee)?ee.length>0?ee[0].ownerDocument:document:ee.ownerDocument,eu=Array.isArray(ee)?er?eC(ee):ee:ey(ee);ei.length>0&&eu.length>1&&(eu=eu.filter(ee=>!ei.includes(ee))),eo=null!=eo?eo:ec.activeElement;let ed=(()=>{if(5&en)return 1;if(10&en)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),ef=(()=>{if(1&en)return 0;if(2&en)return Math.max(0,eu.indexOf(eo))-1;if(4&en)return Math.max(0,eu.indexOf(eo))+1;if(8&en)return eu.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),eh=32&en?{preventScroll:!0}:{},ep=0,em=eu.length,eg;do{if(ep>=em||ep+em<=0)return 0;let ee=ef+ep;if(16&en)ee=(ee+em)%em;else{if(ee<0)return 3;if(ee>=em)return 1}null==(eg=eu[ee])||eg.focus(eh),ep+=ed}while(eg!==ec.activeElement);return 6&en&&eO(eg)&&eg.select(),2}},23011:function(ee,en,er){"use strict";function eo(ee,en,...er){if(ee in en){let eo=en[ee];return"function"==typeof eo?eo(...er):eo}let ei=Error(`Tried to handle "${ee}" but there is no handler defined. Only defined handlers are: ${Object.keys(en).map(ee=>`"${ee}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(ei,eo),ei}er.d(en,{E:function(){return eo}})},41287:function(ee,en,er){"use strict";function eo(ee){"function"==typeof queueMicrotask?queueMicrotask(ee):Promise.resolve().then(ee).catch(ee=>setTimeout(()=>{throw ee}))}er.d(en,{Y:function(){return eo}})},19195:function(ee,en,er){"use strict";er.d(en,{r:function(){return ei}});var eo=er(86030);function ei(ee){return eo.O.isServer?null:ee instanceof Node?ee.ownerDocument:null!=ee&&ee.hasOwnProperty("current")&&ee.current instanceof Node?ee.current.ownerDocument:document}},70222:function(ee,en,er){"use strict";er.d(en,{AN:function(){return ef},l4:function(){return eh},oA:function(){return ey},sY:function(){return ep},yV:function(){return ev}});var eo,ei,ec=er(50959),eu=er(43659),ed=er(23011),ef=((eo=ef||{})[eo.None=0]="None",eo[eo.RenderStrategy=1]="RenderStrategy",eo[eo.Static=2]="Static",eo),eh=((ei=eh||{})[ei.Unmount=0]="Unmount",ei[ei.Hidden=1]="Hidden",ei);function ep({ourProps:ee,theirProps:en,slot:er,defaultTag:eo,features:ei,visible:ec=!0,name:eu}){let ef=ex(en,ee);if(ec)return em(ef,er,eo,eu);let eh=null!=ei?ei:0;if(2&eh){let{static:ee=!1,...en}=ef;if(ee)return em(en,er,eo,eu)}if(1&eh){let{unmount:ee=!0,...en}=ef;return(0,ed.E)(ee?0:1,{0:()=>null,1:()=>em({...en,hidden:!0,style:{display:"none"}},er,eo,eu)})}return em(ef,er,eo,eu)}function em(ee,en={},er,eo){let{as:ei=er,children:ed,refName:ef="ref",...eh}=eb(ee,["unmount","static"]),ep=void 0!==ee.ref?{[ef]:ee.ref}:{},em="function"==typeof ed?ed(en):ed;"className"in eh&&eh.className&&"function"==typeof eh.className&&(eh.className=eh.className(en));let ev={};if(en){let ee=!1,er=[];for(let[eo,ei]of Object.entries(en))"boolean"==typeof ei&&(ee=!0),!0===ei&&er.push(eo);ee&&(ev["data-headlessui-state"]=er.join(" "))}if(ei===ec.Fragment&&Object.keys(ey(eh)).length>0){if(!(0,ec.isValidElement)(em)||Array.isArray(em)&&em.length>1)throw Error(['Passing props on "Fragment"!',"",`The current component <${eo} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(eh).map(ee=>` - ${ee}`).join(` +`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(ee=>` - ${ee}`).join(` +`)].join(` +`));let ee=em.props,en="function"==typeof(null==ee?void 0:ee.className)?(...en)=>(0,eu.A)(null==ee?void 0:ee.className(...en),eh.className):(0,eu.A)(null==ee?void 0:ee.className,eh.className),er=en?{className:en}:{};return(0,ec.cloneElement)(em,Object.assign({},ex(em.props,ey(eb(eh,["ref"]))),ev,ep,eg(em.ref,ep.ref),er))}return(0,ec.createElement)(ei,Object.assign({},eb(eh,["ref"]),ei!==ec.Fragment&&ep,ei!==ec.Fragment&&ev),em)}function eg(...ee){return{ref:ee.every(ee=>null==ee)?void 0:en=>{for(let er of ee)null!=er&&("function"==typeof er?er(en):er.current=en)}}}function ex(...ee){var en;if(0===ee.length)return{};if(1===ee.length)return ee[0];let er={},eo={};for(let ei of ee)for(let ee in ei)ee.startsWith("on")&&"function"==typeof ei[ee]?(null!=(en=eo[ee])||(eo[ee]=[]),eo[ee].push(ei[ee])):er[ee]=ei[ee];if(er.disabled||er["aria-disabled"])return Object.assign(er,Object.fromEntries(Object.keys(eo).map(ee=>[ee,void 0])));for(let ee in eo)Object.assign(er,{[ee](en,...er){for(let ei of eo[ee]){if((en instanceof Event||(null==en?void 0:en.nativeEvent)instanceof Event)&&en.defaultPrevented)return;ei(en,...er)}}});return er}function ev(ee){var en;return Object.assign((0,ec.forwardRef)(ee),{displayName:null!=(en=ee.displayName)?en:ee.name})}function ey(ee){let en=Object.assign({},ee);for(let ee in en)void 0===en[ee]&&delete en[ee];return en}function eb(ee,en=[]){let er=Object.assign({},ee);for(let ee of en)ee in er&&delete er[ee];return er}},5341:function(ee,en,er){"use strict";function eo(ee){var en,er,ei="";if("string"==typeof ee||"number"==typeof ee)ei+=ee;else if("object"==typeof ee){if(Array.isArray(ee))for(en=0;en0?(0,ei.uO)(ep,--ef):0,eu--,10===eh&&(eu=1,ec--),eh}function ev(){return eh=ef2||ek(eh)>3?"":" "}function eC(ee,en){for(;--en&&ev()&&!(eh<48)&&!(eh>102)&&(!(eh>57)||!(eh<65))&&(!(eh>70)||!(eh<97)););return ew(ee,eb()+(en<6&&32==ey()&&32==ev()))}function eS(ee){for(;ev();)switch(eh){case ee:return ef;case 34:case 39:34!==ee&&39!==ee&&eS(eh);break;case 40:41===ee&&eS(ee);break;case 92:ev()}return ef}function eT(ee,en){for(;ev();)if(ee+eh===57)break;else if(ee+eh===84&&47===ey())break;return"/*"+ew(en,ef-1)+"*"+(0,ei.Dp)(47===ee?ee:ev())}function eA(ee){for(;!ek(ey());)ev();return ew(ee,ef)}function eR(ee){return eE(eN("",null,null,null,[""],ee=e_(ee),0,[0],ee))}function eN(ee,en,er,eo,ec,eu,ed,ef,eh){for(var ep=0,em=0,eg=ed,ew=0,ek=0,e_=0,eE=1,eS=1,eR=1,eZ=0,eP="",eD=ec,ez=eu,eF=eo,eH=eP;eS;)switch(e_=eZ,eZ=ev()){case 40:if(108!=e_&&58==(0,ei.uO)(eH,eg-1)){-1!=(0,ei.Cw)(eH+=(0,ei.gx)(ej(eZ),"&","&\f"),"&\f")&&(eR=-1);break}case 34:case 39:case 91:eH+=ej(eZ);break;case 9:case 10:case 13:case 32:eH+=eO(e_);break;case 92:eH+=eC(eb()-1,7);continue;case 47:switch(ey()){case 42:case 47:(0,ei.R3)(eM(eT(ev(),eb()),en,er,eh),eh);break;default:eH+="/"}break;case 123*eE:ef[ep++]=(0,ei.to)(eH)*eR;case 125*eE:case 59:case 0:switch(eZ){case 0:case 125:eS=0;case 59+em:-1==eR&&(eH=(0,ei.gx)(eH,/\f/g,"")),ek>0&&(0,ei.to)(eH)-eg&&(0,ei.R3)(ek>32?eL(eH+";",eo,er,eg-1,eh):eL((0,ei.gx)(eH," ","")+";",eo,er,eg-2,eh),eh);break;case 59:eH+=";";default:if((0,ei.R3)(eF=eI(eH,en,er,ep,em,ec,ef,eP,eD=[],ez=[],eg,eu),eu),123===eZ){if(0===em)eN(eH,en,eF,eF,eD,eu,eg,ef,ez);else switch(99===ew&&110===(0,ei.uO)(eH,3)?100:ew){case 100:case 108:case 109:case 115:eN(ee,eF,eF,eo&&(0,ei.R3)(eI(ee,eF,eF,0,0,ec,ef,eP,ec,eD=[],eg,ez),ez),ec,ez,eg,ef,eo?eD:ez);break;default:eN(eH,eF,eF,eF,[""],ez,0,ef,ez)}}}ep=em=ek=0,eE=eR=1,eP=eH="",eg=ed;break;case 58:eg=1+(0,ei.to)(eH),ek=e_;default:if(eE<1){if(123==eZ)--eE;else if(125==eZ&&0==eE++&&125==ex())continue}switch(eH+=(0,ei.Dp)(eZ),eZ*eE){case 38:eR=em>0?1:(eH+="\f",-1);break;case 44:ef[ep++]=((0,ei.to)(eH)-1)*eR,eR=1;break;case 64:45===ey()&&(eH+=ej(ev())),ew=ey(),em=eg=(0,ei.to)(eP=eH+=eA(eb())),eZ++;break;case 45:45===e_&&2==(0,ei.to)(eH)&&(eE=0)}}return eu}function eI(ee,en,er,ec,eu,ed,ef,eh,ep,eg,ex,ev){for(var ey=eu-1,eb=0===eu?ed:[""],ew=(0,ei.Ei)(eb),ek=0,e_=0,eE=0;ek0?eb[ej]+" "+eO:(0,ei.gx)(eO,/&\f/g,eb[ej])))&&(ep[eE++]=eC);return em(ee,en,er,0===eu?eo.Fr:eh,ep,eg,ex,ev)}function eM(ee,en,er,ec){return em(ee,en,er,eo.Ab,(0,ei.Dp)(eg()),(0,ei.tb)(ee,2,-2),0,ec)}function eL(ee,en,er,ec,eu){return em(ee,en,er,eo.h5,(0,ei.tb)(ee,0,ec),(0,ei.tb)(ee,ec+1,-1),ec,eu)}},48871:function(ee,en,er){"use strict";er.d(en,{P:function(){return eu},q:function(){return ec}});var eo=er(32402),ei=er(41960);function ec(ee,en){for(var er="",eo=0;eo=60&&240>=Math.round(ee.h)?er?Math.round(ee.h)-ec*en:Math.round(ee.h)+ec*en:er?Math.round(ee.h)+ec*en:Math.round(ee.h)-ec*en)<0?eo+=360:eo>=360&&(eo-=360),eo}function ew(ee,en,er){var eo;return 0===ee.h&&0===ee.s?ee.s:((eo=er?ee.s-eu*en:en===em?ee.s+eu:ee.s+ed*en)>1&&(eo=1),er&&en===ep&&eo>.1&&(eo=.1),eo<.06&&(eo=.06),Number(eo.toFixed(2)))}function ek(ee,en,er){var eo;return(eo=er?ee.v+ef*en:ee.v-eh*en)>1&&(eo=1),Number(eo.toFixed(2))}function e_(ee){for(var en=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},er=[],eo=(0,ei.uA)(ee),ec=ep;ec>0;ec-=1){var eu=ex(eo),ed=ev((0,ei.uA)({h:eb(eu,ec,!0),s:ew(eu,ec,!0),v:ek(eu,ec,!0)}));er.push(ed)}er.push(ev(eo));for(var ef=1;ef<=em;ef+=1){var eh=ex(eo),e_=ev((0,ei.uA)({h:eb(eh,ef),s:ew(eh,ef),v:ek(eh,ef)}));er.push(e_)}return"dark"===en.theme?eg.map(function(ee){var eo=ee.index,ec=ee.opacity;return ev(ey((0,ei.uA)(en.backgroundColor||"#141414"),(0,ei.uA)(er[eo]),100*ec))}):er}var ej={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},eE={},eO={};Object.keys(ej).forEach(function(ee){eE[ee]=e_(ej[ee]),eE[ee].primary=eE[ee][5],eO[ee]=e_(ej[ee],{theme:"dark",backgroundColor:"#141414"}),eO[ee].primary=eO[ee][5]});var eC=eE.red,eS=eE.volcano,eT=eE.gold,eN=eE.orange,eA=eE.yellow,eI=eE.lime,eR=eE.green,eM=eE.cyan,eL=eE.blue,eP=eE.geekblue,eZ=eE.purple,eD=eE.magenta,eF=eE.grey,eH=eE.grey},42374:function(ee,en,er){"use strict";er.d(en,{E4:function(){return tk},jG:function(){return eI},fp:function(){return e7},xy:function(){return tw}});var eo,ei=er(1874),ec=er(12309),eu=function(ee){for(var en,er=0,eo=0,ei=ee.length;ei>=4;++eo,ei-=4)en=(65535&(en=255&ee.charCodeAt(eo)|(255&ee.charCodeAt(++eo))<<8|(255&ee.charCodeAt(++eo))<<16|(255&ee.charCodeAt(++eo))<<24))*1540483477+((en>>>16)*59797<<16),en^=en>>>24,er=(65535&en)*1540483477+((en>>>16)*59797<<16)^(65535&er)*1540483477+((er>>>16)*59797<<16);switch(ei){case 3:er^=(255&ee.charCodeAt(eo+2))<<16;case 2:er^=(255&ee.charCodeAt(eo+1))<<8;case 1:er^=255&ee.charCodeAt(eo),er=(65535&er)*1540483477+((er>>>16)*59797<<16)}return er^=er>>>13,(((er=(65535&er)*1540483477+((er>>>16)*59797<<16))^er>>>15)>>>0).toString(36)},ed=er(50959),ef=er.t(ed,2);er(12554);var eh=er(12868),ep=er(9130),em=er(82349),eg=er(25201),ex="%",Cache=function(){function ee(en){(0,ep.Z)(this,ee),(0,eg.Z)(this,"instanceId",void 0),(0,eg.Z)(this,"cache",new Map),this.instanceId=en}return(0,em.Z)(ee,[{key:"get",value:function(ee){return this.cache.get(ee.join(ex))||null}},{key:"update",value:function(ee,en){var er=ee.join(ex),eo=en(this.cache.get(er));null===eo?this.cache.delete(er):this.cache.set(er,eo)}}]),ee}(),ev="data-token-hash",ey="data-css-hash",eb="__cssinjs_instance__";function ew(){var ee=Math.random().toString(12).slice(2);if("undefined"!=typeof document&&document.head&&document.body){var en=document.body.querySelectorAll("style[".concat(ey,"]"))||[],er=document.head.firstChild;Array.from(en).forEach(function(en){en[eb]=en[eb]||ee,en[eb]===ee&&document.head.insertBefore(en,er)});var eo={};Array.from(document.querySelectorAll("style[".concat(ey,"]"))).forEach(function(en){var er,ei=en.getAttribute(ey);eo[ei]?en[eb]===ee&&(null===(er=en.parentNode)||void 0===er||er.removeChild(en)):eo[ei]=!0})}return new Cache(ee)}var ek=ed.createContext({hashPriority:"low",cache:ew(),defaultCache:!0}),e_=er(26407),ej=er(63490),eE=er(35966),eO=er(76729);function eC(ee,en){if(ee.length!==en.length)return!1;for(var er=0;er1&&void 0!==arguments[1]&&arguments[1],ei={map:this.cache};return ee.forEach(function(ee){if(ei){var en;ei=null===(en=ei)||void 0===en||null===(en=en.map)||void 0===en?void 0:en.get(ee)}else ei=void 0}),null!==(en=ei)&&void 0!==en&&en.value&&eo&&(ei.value[1]=this.cacheCallTimes++),null===(er=ei)||void 0===er?void 0:er.value}},{key:"get",value:function(ee){var en;return null===(en=this.internalGet(ee,!0))||void 0===en?void 0:en[0]}},{key:"has",value:function(ee){return!!this.internalGet(ee)}},{key:"set",value:function(en,er){var eo=this;if(!this.has(en)){if(this.size()+1>ee.MAX_CACHE_SIZE+ee.MAX_CACHE_OFFSET){var ei=this.keys.reduce(function(ee,en){var er=(0,eO.Z)(ee,2)[1];return eo.internalGet(en)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),eT+=1}return(0,em.Z)(ee,[{key:"getDerivativeToken",value:function(ee){return this.derivatives.reduce(function(en,er){return er(ee,en)},void 0)}}]),ee}(),eA=new eS;function eI(ee){var en=Array.isArray(ee)?ee:[ee];return eA.has(en)||eA.set(en,new eN(en)),eA.get(en)}var eR=new WeakMap,eM={};function eL(ee,en){for(var er=eR,eo=0;eo=(e2.get(ee)||0)});er.length-eo.length>e3&&eo.forEach(function(ee){e4(ee,en),e2.delete(ee)})}var e9=function(ee,en,er,eo){var ei=er.getDerivativeToken(ee),eu=(0,ec.Z)((0,ec.Z)({},ei),en);return eo&&(eu=eo(eu)),eu};function e7(ee,en){var er=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},eo=(0,ed.useContext)(ek).cache.instanceId,ec=er.salt,ef=void 0===ec?"":ec,eh=er.override,ep=void 0===eh?e0:eh,em=er.formatToken,eg=er.getComputedToken,ex=eL(function(){return Object.assign.apply(Object,[{}].concat((0,ei.Z)(en)))},en),ev=eZ(ex),ey=eZ(ep);return eJ("token",[ef,ee.id,ev,ey],function(){var en=eg?eg(ex,ep,ee):e9(ex,ep,ee,em),er=eD(en,ef);en._tokenKey=er,e5(er);var eo="".concat(e1,"-").concat(eu(er));return en._hashId=eo,[en,eo]},function(ee){e6(ee[0]._tokenKey,eo)})}var e8=er(97605),tn={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},tr=er(48871),to=er(75542),ti="data-ant-cssinjs-cache-path",ts="_FILE_STYLE__",tl=!0;function tc(){if(!eo&&(eo={},(0,ej.Z)())){var ee,en=document.createElement("div");en.className=ti,en.style.position="fixed",en.style.visibility="hidden",en.style.top="-9999px",document.body.appendChild(en);var er=getComputedStyle(en).content||"";(er=er.replace(/^"/,"").replace(/"$/,"")).split(";").forEach(function(ee){var en=ee.split(":"),er=(0,eO.Z)(en,2),ei=er[0],ec=er[1];eo[ei]=ec});var ei=document.querySelector("style[".concat(ti,"]"));ei&&(tl=!1,null===(ee=ei.parentNode)||void 0===ee||ee.removeChild(ei)),document.body.removeChild(en)}}function tu(ee){return tc(),!!eo[ee]}function td(ee){var en=eo[ee],er=null;if(en&&(0,ej.Z)()){if(tl)er=ts;else{var ei=document.querySelector("style[".concat(ey,'="').concat(eo[ee],'"]'));ei?er=ei.innerHTML:delete eo[ee]}}return[er,en]}var tf=(0,ej.Z)(),th="_skip_check_",tp="_multi_value_";function tm(ee){return(0,tr.q)((0,to.MY)(ee),tr.P).replace(/\{%%%\:[^;];}/g,";")}function tg(ee){return"object"===(0,e_.Z)(ee)&&ee&&(th in ee||tp in ee)}function tx(ee,en,er){if(!en)return ee;var eo=".".concat(en),ec="low"===er?":where(".concat(eo,")"):eo;return ee.split(",").map(function(ee){var en,er=ee.trim().split(/\s+/),eo=er[0]||"",eu=(null===(en=eo.match(/^\w+/))||void 0===en?void 0:en[0])||"";return[eo="".concat(eu).concat(ec).concat(eo.slice(eu.length))].concat((0,ei.Z)(er.slice(1))).join(" ")}).join(",")}var tv=function ee(en){var er=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},eo=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},eu=eo.root,ed=eo.injectHash,ef=eo.parentSelectors,eh=er.hashId,ep=er.layer,em=(er.path,er.hashPriority),eg=er.transformers,ex=void 0===eg?[]:eg;er.linters;var ev="",ey={};function eb(en){var eo=en.getName(eh);if(!ey[eo]){var ei=ee(en.style,er,{root:!1,parentSelectors:ef}),ec=(0,eO.Z)(ei,1)[0];ey[eo]="@keyframes ".concat(en.getName(eh)).concat(ec)}}function ew(ee){var en=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return ee.forEach(function(ee){Array.isArray(ee)?ew(ee,en):ee&&en.push(ee)}),en}if(ew(Array.isArray(en)?en:[en]).forEach(function(en){var eo="string"!=typeof en||eu?en:{};if("string"==typeof eo)ev+="".concat(eo,"\n");else if(eo._keyframe)eb(eo);else{var ep=ex.reduce(function(ee,en){var er;return(null==en||null===(er=en.visit)||void 0===er?void 0:er.call(en,ee))||ee},eo);Object.keys(ep).forEach(function(en){var eo=ep[en];if("object"!==(0,e_.Z)(eo)||!eo||"animationName"===en&&eo._keyframe||tg(eo)){function eg(ee,en){var er=ee.replace(/[A-Z]/g,function(ee){return"-".concat(ee.toLowerCase())}),eo=en;tn[ee]||"number"!=typeof eo||0===eo||(eo="".concat(eo,"px")),"animationName"===ee&&null!=en&&en._keyframe&&(eb(en),eo=en.getName(eh)),ev+="".concat(er,":").concat(eo,";")}var ex,ew=null!==(ex=null==eo?void 0:eo.value)&&void 0!==ex?ex:eo;"object"===(0,e_.Z)(eo)&&null!=eo&&eo[tp]&&Array.isArray(ew)?ew.forEach(function(ee){eg(en,ee)}):eg(en,ew)}else{var ek=!1,ej=en.trim(),eE=!1;(eu||ed)&&eh?ej.startsWith("@")?ek=!0:ej=tx(en,eh,em):eu&&!eh&&("&"===ej||""===ej)&&(ej="",eE=!0);var eC=ee(eo,er,{root:eE,injectHash:ek,parentSelectors:[].concat((0,ei.Z)(ef),[ej])}),eS=(0,eO.Z)(eC,2),eT=eS[0],eN=eS[1];ey=(0,ec.Z)((0,ec.Z)({},ey),eN),ev+="".concat(ej).concat(eT)}})}}),eu){if(ep&&eW()){var ek=ep.split(","),ej=ek[ek.length-1].trim();ev="@layer ".concat(ej," {").concat(ev,"}"),ek.length>1&&(ev="@layer ".concat(ep,"{%%%:%}").concat(ev))}}else ev="{".concat(ev,"}");return[ev,ey]};function ty(ee,en){return eu("".concat(ee.join("%")).concat(en))}function tb(){return null}function tw(ee,en){var er=ee.token,eo=ee.path,ec=ee.hashId,eu=ee.layer,ef=ee.nonce,eh=ee.clientOnly,ep=ee.order,em=void 0===ep?0:ep,ex=ed.useContext(ek),ew=ex.autoClear,e_=(ex.mock,ex.defaultCache),ej=ex.hashPriority,eC=ex.container,eS=ex.ssrInline,eT=ex.transformers,eN=ex.linters,eA=ex.cache,eI=er._tokenKey,eR=[eI].concat((0,ei.Z)(eo)),eM=tf,eL=eJ("style",eR,function(){var ee=eR.join("|");if(tu(ee)){var er=td(ee),ei=(0,eO.Z)(er,2),ed=ei[0],ef=ei[1];if(ed)return[ed,eI,ef,{},eh,em]}var ep=tv(en(),{hashId:ec,hashPriority:ej,layer:eu,path:eo.join("-"),transformers:eT,linters:eN}),eg=(0,eO.Z)(ep,2),ex=eg[0],ev=eg[1],ey=tm(ex),eb=ty(eR,ey);return[ey,eI,eb,ev,eh,em]},function(ee,en){var er=(0,eO.Z)(ee,3)[2];(en||ew)&&tf&&(0,eE.jL)(er,{mark:ey})},function(ee){var en=(0,eO.Z)(ee,4),er=en[0],eo=(en[1],en[2]),ei=en[3];if(eM&&er!==ts){var ec={mark:ey,prepend:"queue",attachTo:eC,priority:em},eu="function"==typeof ef?ef():ef;eu&&(ec.csp={nonce:eu});var ed=(0,eE.hq)(er,eo,ec);ed[eb]=eA.instanceId,ed.setAttribute(ev,eI),Object.keys(ei).forEach(function(ee){(0,eE.hq)(tm(ei[ee]),"_effect-".concat(ee),ec)})}}),eP=(0,eO.Z)(eL,3),eZ=eP[0],eD=eP[1],eF=eP[2];return function(ee){var en,er;return en=eS&&!eM&&e_?ed.createElement("style",(0,e8.Z)({},(er={},(0,eg.Z)(er,ev,eD),(0,eg.Z)(er,ey,eF),er),{dangerouslySetInnerHTML:{__html:eZ}})):ed.createElement(tb,null),ed.createElement(ed.Fragment,null,en,ee)}}var tk=function(){function ee(en,er){(0,ep.Z)(this,ee),(0,eg.Z)(this,"name",void 0),(0,eg.Z)(this,"style",void 0),(0,eg.Z)(this,"_keyframe",!0),this.name=en,this.style=er}return(0,em.Z)(ee,[{key:"getName",value:function(){var ee=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return ee?"".concat(ee,"-").concat(this.name):this.name}}]),ee}();function t_(ee){return ee.notSplit=!0,ee}t_(["borderTop","borderBottom"]),t_(["borderTop"]),t_(["borderBottom"]),t_(["borderLeft","borderRight"]),t_(["borderLeft"]),t_(["borderRight"])},96299:function(ee,en,er){"use strict";er.d(en,{T6:function(){return ex},VD:function(){return ev},WE:function(){return eh},Yt:function(){return ey},lC:function(){return ec},py:function(){return ef},rW:function(){return ei},s:function(){return em},ve:function(){return ed},vq:function(){return ep}});var eo=er(23881);function ei(ee,en,er){return{r:255*(0,eo.sh)(ee,255),g:255*(0,eo.sh)(en,255),b:255*(0,eo.sh)(er,255)}}function ec(ee,en,er){var ei=Math.max(ee=(0,eo.sh)(ee,255),en=(0,eo.sh)(en,255),er=(0,eo.sh)(er,255)),ec=Math.min(ee,en,er),eu=0,ed=0,ef=(ei+ec)/2;if(ei===ec)ed=0,eu=0;else{var eh=ei-ec;switch(ed=ef>.5?eh/(2-ei-ec):eh/(ei+ec),ei){case ee:eu=(en-er)/eh+(en1&&(er-=1),er<1/6)?ee+(en-ee)*(6*er):er<.5?en:er<2/3?ee+(en-ee)*(2/3-er)*6:ee}function ed(ee,en,er){if(ee=(0,eo.sh)(ee,360),en=(0,eo.sh)(en,100),er=(0,eo.sh)(er,100),0===en)ec=er,ed=er,ei=er;else{var ei,ec,ed,ef=er<.5?er*(1+en):er+en-er*en,eh=2*er-ef;ei=eu(eh,ef,ee+1/3),ec=eu(eh,ef,ee),ed=eu(eh,ef,ee-1/3)}return{r:255*ei,g:255*ec,b:255*ed}}function ef(ee,en,er){var ei=Math.max(ee=(0,eo.sh)(ee,255),en=(0,eo.sh)(en,255),er=(0,eo.sh)(er,255)),ec=Math.min(ee,en,er),eu=0,ed=ei,ef=ei-ec,eh=0===ei?0:ef/ei;if(ei===ec)eu=0;else{switch(ei){case ee:eu=(en-er)/ef+(en>16,g:(65280&ee)>>8,b:255&ee}}},76367:function(ee,en,er){"use strict";er.d(en,{R:function(){return eo}});var eo={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},28556:function(ee,en,er){"use strict";er.d(en,{uA:function(){return eu}});var eo=er(96299),ei=er(76367),ec=er(23881);function eu(ee){var en={r:0,g:0,b:0},er=1,ei=null,eu=null,ed=null,ef=!1,eh=!1;return"string"==typeof ee&&(ee=ex(ee)),"object"==typeof ee&&(ev(ee.r)&&ev(ee.g)&&ev(ee.b)?(en=(0,eo.rW)(ee.r,ee.g,ee.b),ef=!0,eh="%"===String(ee.r).substr(-1)?"prgb":"rgb"):ev(ee.h)&&ev(ee.s)&&ev(ee.v)?(ei=(0,ec.JX)(ee.s),eu=(0,ec.JX)(ee.v),en=(0,eo.WE)(ee.h,ei,eu),ef=!0,eh="hsv"):ev(ee.h)&&ev(ee.s)&&ev(ee.l)&&(ei=(0,ec.JX)(ee.s),ed=(0,ec.JX)(ee.l),en=(0,eo.ve)(ee.h,ei,ed),ef=!0,eh="hsl"),Object.prototype.hasOwnProperty.call(ee,"a")&&(er=ee.a)),er=(0,ec.Yq)(er),{ok:ef,format:ee.format||eh,r:Math.min(255,Math.max(en.r,0)),g:Math.min(255,Math.max(en.g,0)),b:Math.min(255,Math.max(en.b,0)),a:er}}var ed="[-\\+]?\\d+%?",ef="[-\\+]?\\d*\\.\\d+%?",eh="(?:".concat(ef,")|(?:").concat(ed,")"),ep="[\\s|\\(]+(".concat(eh,")[,|\\s]+(").concat(eh,")[,|\\s]+(").concat(eh,")\\s*\\)?"),em="[\\s|\\(]+(".concat(eh,")[,|\\s]+(").concat(eh,")[,|\\s]+(").concat(eh,")[,|\\s]+(").concat(eh,")\\s*\\)?"),eg={CSS_UNIT:new RegExp(eh),rgb:RegExp("rgb"+ep),rgba:RegExp("rgba"+em),hsl:RegExp("hsl"+ep),hsla:RegExp("hsla"+em),hsv:RegExp("hsv"+ep),hsva:RegExp("hsva"+em),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function ex(ee){if(0===(ee=ee.trim().toLowerCase()).length)return!1;var en=!1;if(ei.R[ee])ee=ei.R[ee],en=!0;else if("transparent"===ee)return{r:0,g:0,b:0,a:0,format:"name"};var er=eg.rgb.exec(ee);return er?{r:er[1],g:er[2],b:er[3]}:(er=eg.rgba.exec(ee))?{r:er[1],g:er[2],b:er[3],a:er[4]}:(er=eg.hsl.exec(ee))?{h:er[1],s:er[2],l:er[3]}:(er=eg.hsla.exec(ee))?{h:er[1],s:er[2],l:er[3],a:er[4]}:(er=eg.hsv.exec(ee))?{h:er[1],s:er[2],v:er[3]}:(er=eg.hsva.exec(ee))?{h:er[1],s:er[2],v:er[3],a:er[4]}:(er=eg.hex8.exec(ee))?{r:(0,eo.VD)(er[1]),g:(0,eo.VD)(er[2]),b:(0,eo.VD)(er[3]),a:(0,eo.T6)(er[4]),format:en?"name":"hex8"}:(er=eg.hex6.exec(ee))?{r:(0,eo.VD)(er[1]),g:(0,eo.VD)(er[2]),b:(0,eo.VD)(er[3]),format:en?"name":"hex"}:(er=eg.hex4.exec(ee))?{r:(0,eo.VD)(er[1]+er[1]),g:(0,eo.VD)(er[2]+er[2]),b:(0,eo.VD)(er[3]+er[3]),a:(0,eo.T6)(er[4]+er[4]),format:en?"name":"hex8"}:!!(er=eg.hex3.exec(ee))&&{r:(0,eo.VD)(er[1]+er[1]),g:(0,eo.VD)(er[2]+er[2]),b:(0,eo.VD)(er[3]+er[3]),format:en?"name":"hex"}}function ev(ee){return!!eg.CSS_UNIT.exec(String(ee))}},23881:function(ee,en,er){"use strict";function eo(ee,en){ec(ee)&&(ee="100%");var er=eu(ee);return(ee=360===en?ee:Math.min(en,Math.max(0,parseFloat(ee))),er&&(ee=parseInt(String(ee*en),10)/100),1e-6>Math.abs(ee-en))?1:ee=360===en?(ee<0?ee%en+en:ee%en)/parseFloat(String(en)):ee%en/parseFloat(String(en))}function ei(ee){return Math.min(1,Math.max(0,ee))}function ec(ee){return"string"==typeof ee&&-1!==ee.indexOf(".")&&1===parseFloat(ee)}function eu(ee){return"string"==typeof ee&&-1!==ee.indexOf("%")}function ed(ee){return(isNaN(ee=parseFloat(ee))||ee<0||ee>1)&&(ee=1),ee}function ef(ee){return ee<=1?"".concat(100*Number(ee),"%"):ee}function eh(ee){return 1===ee.length?"0"+ee:String(ee)}er.d(en,{FZ:function(){return eh},JX:function(){return ef},V2:function(){return ei},Yq:function(){return ed},sh:function(){return eo}})},84875:function(ee,en){var er;/*! - Copyright (c) 2018 Jed Watson. - Licensed under the MIT License (MIT), see - http://jedwatson.github.io/classnames -*/!function(){"use strict";var eo={}.hasOwnProperty;function ei(){for(var ee=[],en=0;en=eo))));en++);if(er)return ec?ta(ef,eo,0):void(en[en.length]=ef)}return!er&&ef}function ta(ee,en,er){return ee=1===ee.length?ee[0]:[].concat.apply([],ee),er||ee.length>en?ee.slice(er,er+en):ee}function ua(ee,en,er,eo){return ee=er?(ee=ee[(eo=eo&&en>er)?en:er])&&ee[eo?er:en]:ee[en]}function N(ee,en,er,eo,ei){let ec=0;if(ee.constructor===Array){if(ei)-1!==(en=ee.indexOf(en))?1=this.B&&(em||!ep[ev])){var ec=L(eg,eo,ex),eu="";switch(this.G){case"full":if(2ec;ed--)if(ed-ec>=this.B){var ef=L(eg,eo,ex,ei,ec);M(this,ep,eu=ev.substring(ec,ed),ef,ee,er)}break}case"reverse":if(1=this.B&&M(this,ep,eu,L(eg,eo,ex,ei,ed),ee,er);eu=""}case"forward":if(1=this.B&&M(this,ep,eu,ec,ee,er);break}default:if(this.C&&(ec=Math.min(ec/this.C(en,ev,ex)|0,eg-1)),M(this,ep,ev,ec,ee,er),em&&1=this.B&&!ei[ev]){ei[ev]=1;let en=this.l&&ev>ec;M(this,eh,en?ec:ev,L(eu+(eo/2>eu?0:1),eo,ex,ed-1,ef-1),ee,er,en?ev:ec)}}}}}this.m||(this.register[ee]=1)}}return this},t.search=function(ee,en,er){let eo,ei,ec;er||(!en&&C(ee)?ee=(er=ee).query:C(en)&&(er=en));let eu=[],ed,ef,eh=0;if(er){ee=er.query||ee,en=er.limit,eh=er.offset||0;var ep=er.context;ef=er.suggest}if(ee&&1<(ed=(ee=this.encode(""+ee)).length)){er=v();var em=[];for(let en=0,eo=0,ei;en=this.B&&!er[ei]){if(!this.s&&!ef&&!this.map[ei])return eu;em[eo++]=ei,er[ei]=1}ed=(ee=em).length}if(!ed)return eu;for(en||(en=100),ep=this.depth&&1en||er)&&(ei=ei.slice(er,er+en)),eo&&(ei=za.call(this,ei)),{tag:ee,result:ei}}function za(ee){let en=Array(ee.length);for(let er=0,eo;er2?er.slice(1-er.length).join("."):en.source=en.resource,en.git_suffix=/\.git$/.test(en.pathname),en.name=decodeURIComponent((en.pathname||en.href).replace(/(^\/)|(\/$)/g,"").replace(/\.git$/,"")),en.owner=decodeURIComponent(en.user),en.source){case"git.cloudforge.com":en.owner=en.user,en.organization=er[0],en.source="cloudforge.com";break;case"visualstudio.com":if("vs-ssh.visualstudio.com"===en.resource){4===(ec=en.name.split("/")).length&&(en.organization=ec[1],en.owner=ec[2],en.name=ec[3],en.full_name=ec[2]+"/"+ec[3]);break}2===(ec=en.name.split("/")).length?(en.owner=ec[1],en.name=ec[1],en.full_name="_git/"+en.name):3===ec.length?(en.name=ec[2],"DefaultCollection"===ec[0]?(en.owner=ec[2],en.organization=ec[0],en.full_name=en.organization+"/_git/"+en.name):(en.owner=ec[0],en.full_name=en.owner+"/_git/"+en.name)):4===ec.length&&(en.organization=ec[0],en.owner=ec[1],en.name=ec[3],en.full_name=en.organization+"/"+en.owner+"/_git/"+en.name);break;case"dev.azure.com":case"azure.com":if("ssh.dev.azure.com"===en.resource){4===(ec=en.name.split("/")).length&&(en.organization=ec[1],en.owner=ec[2],en.name=ec[3]);break}5===(ec=en.name.split("/")).length?(en.organization=ec[0],en.owner=ec[1],en.name=ec[4],en.full_name="_git/"+en.name):3===ec.length?(en.name=ec[2],"DefaultCollection"===ec[0]?(en.owner=ec[2],en.organization=ec[0],en.full_name=en.organization+"/_git/"+en.name):(en.owner=ec[0],en.full_name=en.owner+"/_git/"+en.name)):4===ec.length&&(en.organization=ec[0],en.owner=ec[1],en.name=ec[3],en.full_name=en.organization+"/"+en.owner+"/_git/"+en.name),en.query&&en.query.path&&(en.filepath=en.query.path.replace(/^\/+/g,"")),en.query&&en.query.version&&(en.ref=en.query.version.replace(/^GB/,""));break;default:var eu=(ec=en.name.split("/")).length-1;if(ec.length>=2){var ed=ec.indexOf("-",2),ef=ec.indexOf("blob",2),eh=ec.indexOf("tree",2),ep=ec.indexOf("commit",2),em=ec.indexOf("src",2),eg=ec.indexOf("raw",2),ex=ec.indexOf("edit",2);eu=ed>0?ed-1:ef>0?ef-1:eh>0?eh-1:ep>0?ep-1:em>0?em-1:eg>0?eg-1:ex>0?ex-1:eu,en.owner=ec.slice(0,eu).join("/"),en.name=ec[eu],ep&&(en.commit=ec[eu+2])}en.ref="",en.filepathtype="",en.filepath="";var ev=ec.length>eu&&"-"===ec[eu+1]?eu+1:eu;ec.length>ev+2&&["raw","src","blob","tree","edit"].indexOf(ec[ev+1])>=0&&(en.filepathtype=ec[ev+1],en.ref=ec[ev+2],ec.length>ev+3&&(en.filepath=ec.slice(ev+3).join("/"))),en.organization=en.owner}!en.full_name&&(en.full_name=en.owner,en.name&&(en.full_name&&(en.full_name+="/"),en.full_name+=en.name)),en.owner.startsWith("scm/")&&(en.source="bitbucket-server",en.owner=en.owner.replace("scm/",""),en.organization=en.owner,en.full_name=en.owner+"/"+en.name);var ey=/(projects|users)\/(.*?)\/repos\/(.*?)((\/.*$)|$)/.exec(en.pathname);return null!=ey&&(en.source="bitbucket-server","users"===ey[1]?en.owner="~"+ey[2]:en.owner=ey[2],en.organization=en.owner,en.name=ey[3],(ec=ey[4].split("/")).length>1&&(["raw","browse"].indexOf(ec[1])>=0?(en.filepathtype=ec[1],ec.length>2&&(en.filepath=ec.slice(2).join("/"))):"commits"===ec[1]&&ec.length>2&&(en.commit=ec[2])),en.full_name=en.owner+"/"+en.name,en.query.at?en.ref=en.query.at:en.ref=""),en}/*! - * buildToken - * Builds OAuth token prefix (helper function) - * - * @name buildToken - * @function - * @param {GitUrl} obj The parsed Git url object. - * @return {String} token prefix - */function ec(ee){return"bitbucket.org"===ee.source?"x-token-auth:"+ee.token+"@":ee.token+"@"}function eu(ee){return"bitbucket-server"===ee.source?"scm/"+ee.full_name:""+ee.full_name}ei.stringify=function(ee,en){en=en||(ee.protocols&&ee.protocols.length?ee.protocols.join("+"):ee.protocol);var er=ee.port?":"+ee.port:"",eo=ee.user||"git",ei=ee.git_suffix?".git":"";switch(en){case"ssh":if(er)return"ssh://"+eo+"@"+ee.resource+er+"/"+ee.full_name+ei;return eo+"@"+ee.resource+":"+ee.full_name+ei;case"git+ssh":case"ssh+git":case"ftp":case"ftps":return en+"://"+eo+"@"+ee.resource+er+"/"+ee.full_name+ei;case"http":case"https":return en+"://"+(ee.token?ec(ee):ee.user&&(ee.protocols.includes("http")||ee.protocols.includes("https"))?ee.user+"@":"")+ee.resource+er+"/"+eu(ee)+ei;default:return ee.href}},ee.exports=ei},15983:function(){!function(){"use strict";if("object"==typeof window){if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}var ee=function(ee){for(var en=ee,er=ei(en);er;)er=ei(en=er.ownerDocument);return en}(window.document),en=[],er=null,eo=null;IntersectionObserver.prototype.THROTTLE_TIMEOUT=100,IntersectionObserver.prototype.POLL_INTERVAL=null,IntersectionObserver.prototype.USE_MUTATION_OBSERVER=!0,IntersectionObserver._setupCrossOriginUpdater=function(){return er||(er=function(ee,er){eo=ee&&er?ex(ee,er):em(),en.forEach(function(ee){ee._checkForIntersections()})}),er},IntersectionObserver._resetCrossOriginUpdater=function(){er=null,eo=null},IntersectionObserver.prototype.observe=function(ee){if(!this._observationTargets.some(function(en){return en.element==ee})){if(!(ee&&1==ee.nodeType))throw Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:ee,entry:null}),this._monitorIntersections(ee.ownerDocument),this._checkForIntersections()}},IntersectionObserver.prototype.unobserve=function(ee){this._observationTargets=this._observationTargets.filter(function(en){return en.element!=ee}),this._unmonitorIntersections(ee.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},IntersectionObserver.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},IntersectionObserver.prototype.takeRecords=function(){var ee=this._queuedEntries.slice();return this._queuedEntries=[],ee},IntersectionObserver.prototype._initThresholds=function(ee){var en=ee||[0];return Array.isArray(en)||(en=[en]),en.sort().filter(function(ee,en,er){if("number"!=typeof ee||isNaN(ee)||ee<0||ee>1)throw Error("threshold must be a number between 0 and 1 inclusively");return ee!==er[en-1]})},IntersectionObserver.prototype._parseRootMargin=function(ee){var en=(ee||"0px").split(/\s+/).map(function(ee){var en=/^(-?\d*\.?\d+)(px|%)$/.exec(ee);if(!en)throw Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(en[1]),unit:en[2]}});return en[1]=en[1]||en[0],en[2]=en[2]||en[0],en[3]=en[3]||en[1],en},IntersectionObserver.prototype._monitorIntersections=function(en){var er=en.defaultView;if(er&&-1==this._monitoringDocuments.indexOf(en)){var eo=this._checkForIntersections,ec=null,eu=null;if(this.POLL_INTERVAL?ec=er.setInterval(eo,this.POLL_INTERVAL):(ed(er,"resize",eo,!0),ed(en,"scroll",eo,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in er&&(eu=new er.MutationObserver(eo)).observe(en,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(en),this._monitoringUnsubscribes.push(function(){var ee=en.defaultView;ee&&(ec&&ee.clearInterval(ec),ef(ee,"resize",eo,!0)),ef(en,"scroll",eo,!0),eu&&eu.disconnect()}),en!=(this.root&&(this.root.ownerDocument||this.root)||ee)){var eh=ei(en);eh&&this._monitorIntersections(eh.ownerDocument)}}},IntersectionObserver.prototype._unmonitorIntersections=function(en){var er=this._monitoringDocuments.indexOf(en);if(-1!=er){var eo=this.root&&(this.root.ownerDocument||this.root)||ee;if(!this._observationTargets.some(function(ee){var er=ee.element.ownerDocument;if(er==en)return!0;for(;er&&er!=eo;){var ec=ei(er);if((er=ec&&ec.ownerDocument)==en)return!0}return!1})){var ec=this._monitoringUnsubscribes[er];if(this._monitoringDocuments.splice(er,1),this._monitoringUnsubscribes.splice(er,1),ec(),en!=eo){var eu=ei(en);eu&&this._unmonitorIntersections(eu.ownerDocument)}}}},IntersectionObserver.prototype._unmonitorAllIntersections=function(){var ee=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var en=0;enen.indexOf(this)&&en.push(this)},IntersectionObserver.prototype._unregisterInstance=function(){var ee=en.indexOf(this);-1!=ee&&en.splice(ee,1)},window.IntersectionObserver=IntersectionObserver,window.IntersectionObserverEntry=IntersectionObserverEntry}function ei(ee){try{return ee.defaultView&&ee.defaultView.frameElement||null}catch(ee){return null}}function IntersectionObserverEntry(ee){this.time=ee.time,this.target=ee.target,this.rootBounds=eg(ee.rootBounds),this.boundingClientRect=eg(ee.boundingClientRect),this.intersectionRect=eg(ee.intersectionRect||em()),this.isIntersecting=!!ee.intersectionRect;var en=this.boundingClientRect,er=en.width*en.height,eo=this.intersectionRect,ei=eo.width*eo.height;er?this.intersectionRatio=Number((ei/er).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function IntersectionObserver(ee,en){var er=en||{};if("function"!=typeof ee)throw Error("callback must be a function");if(er.root&&1!=er.root.nodeType&&9!=er.root.nodeType)throw Error("root must be a Document or Element");this._checkForIntersections=eu(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=ee,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(er.rootMargin),this.thresholds=this._initThresholds(er.threshold),this.root=er.root||null,this.rootMargin=this._rootMarginValues.map(function(ee){return ee.value+ee.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function ec(){return window.performance&&performance.now&&performance.now()}function eu(ee,en){var er=null;return function(){er||(er=setTimeout(function(){ee(),er=null},en))}}function ed(ee,en,er,eo){"function"==typeof ee.addEventListener?ee.addEventListener(en,er,eo||!1):"function"==typeof ee.attachEvent&&ee.attachEvent("on"+en,er)}function ef(ee,en,er,eo){"function"==typeof ee.removeEventListener?ee.removeEventListener(en,er,eo||!1):"function"==typeof ee.detachEvent&&ee.detachEvent("on"+en,er)}function eh(ee,en){var er=Math.max(ee.top,en.top),eo=Math.min(ee.bottom,en.bottom),ei=Math.max(ee.left,en.left),ec=Math.min(ee.right,en.right),eu=ec-ei,ed=eo-er;return eu>=0&&ed>=0&&{top:er,bottom:eo,left:ei,right:ec,width:eu,height:ed}||null}function ep(ee){var en;try{en=ee.getBoundingClientRect()}catch(ee){}return en?(en.width&&en.height||(en={top:en.top,right:en.right,bottom:en.bottom,left:en.left,width:en.right-en.left,height:en.bottom-en.top}),en):em()}function em(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function eg(ee){return!ee||"x"in ee?ee:{top:ee.top,y:ee.top,bottom:ee.bottom,left:ee.left,x:ee.left,right:ee.right,width:ee.width,height:ee.height}}function ex(ee,en){var er=en.top-ee.top,eo=en.left-ee.left;return{top:er,left:eo,height:en.height,width:en.width,bottom:er+en.height,right:eo+en.width}}function ev(ee,en){for(var er=en;er;){if(er==ee)return!0;er=ey(er)}return!1}function ey(en){var er=en.parentNode;return 9==en.nodeType&&en!=ee?ei(en):(er&&er.assignedSlot&&(er=er.assignedSlot.parentNode),er&&11==er.nodeType&&er.host)?er.host:er}function eb(ee){return ee&&9===ee.nodeType}}()},53670:function(ee){"use strict";var en=function(ee,en,er,eo,ei,ec,eu,ed){if(!ee){var ef;if(void 0===en)ef=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var eh=[er,eo,ei,ec,eu,ed],ep=0;(ef=Error(en.replace(/%s/g,function(){return eh[ep++]}))).name="Invariant Violation"}throw ef.framesToPop=1,ef}};ee.exports=en},92895:function(ee,en,er){"use strict";var eo=er(6097);function ei(ee){if(Array.isArray(ee))return -1!==ee.indexOf("ssh")||-1!==ee.indexOf("rsync");if("string"!=typeof ee)return!1;var en=eo(ee);if(ee=ee.substring(ee.indexOf("://")+3),ei(en))return!0;var er=RegExp(".([a-zA-Z\\d]+):(\\d+)/");return!ee.match(er)&&ee.indexOf("@"){en(!0)},[]),ee}var e$=er(31705),eU="https://nextra.vercel.app",eV=()=>{let{locale:ee=e$.ZW,asPath:en,route:er}=(0,eF.useRouter)();return(0,eH.useMemo)(()=>{let eo=e$.hV.has(er)?er:en,{pathname:ei}=new URL(eo,eU),ec=ee?ei.replace(RegExp(`\\.${ee}(\\/|$)`),"$1"):ei;return ec.replace(/\.html$/,"").replace(/\/index(\/|$)/,"$1").replace(/\/$/,"")||"/"},[en,ee,er])},eq=er(43196);function eX({pathClassName:ee,...en}){return(0,eD.jsx)("svg",{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",...en,children:(0,eD.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9 5l7 7-7 7",className:ee})})}function eK(ee){return(0,eD.jsx)("svg",{viewBox:"0 0 20 20",width:"1em",height:"1em",fill:"currentColor",...ee,children:(0,eD.jsx)("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})})}function eQ(ee){return(0,eD.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",...ee,children:[(0,eD.jsx)("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,eD.jsx)("path",{d:"M5 15H4C2.89543 15 2 14.1046 2 13V4C2 2.89543 2.89543 2 4 2H13C14.1046 2 15 2.89543 15 4V5",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function eY(ee){return(0,eD.jsxs)("svg",{width:"24",height:"24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 5 30.67 23.25",...ee,children:[(0,eD.jsx)("title",{children:"Discord"}),(0,eD.jsx)("path",{d:"M26.0015 6.9529C24.0021 6.03845 21.8787 5.37198 19.6623 5C19.3833 5.48048 19.0733 6.13144 18.8563 6.64292C16.4989 6.30193 14.1585 6.30193 11.8336 6.64292C11.6166 6.13144 11.2911 5.48048 11.0276 5C8.79575 5.37198 6.67235 6.03845 4.6869 6.9529C0.672601 12.8736 -0.41235 18.6548 0.130124 24.3585C2.79599 26.2959 5.36889 27.4739 7.89682 28.2489C8.51679 27.4119 9.07477 26.5129 9.55525 25.5675C8.64079 25.2265 7.77283 24.808 6.93587 24.312C7.15286 24.1571 7.36986 23.9866 7.57135 23.8161C12.6241 26.1255 18.0969 26.1255 23.0876 23.8161C23.3046 23.9866 23.5061 24.1571 23.7231 24.312C22.8861 24.808 22.0182 25.2265 21.1037 25.5675C21.5842 26.5129 22.1422 27.4119 22.7621 28.2489C25.2885 27.4739 27.8769 26.2959 30.5288 24.3585C31.1952 17.7559 29.4733 12.0212 26.0015 6.9529ZM10.2527 20.8402C8.73376 20.8402 7.49382 19.4608 7.49382 17.7714C7.49382 16.082 8.70276 14.7025 10.2527 14.7025C11.7871 14.7025 13.0425 16.082 13.0115 17.7714C13.0115 19.4608 11.7871 20.8402 10.2527 20.8402ZM20.4373 20.8402C18.9183 20.8402 17.6768 19.4608 17.6768 17.7714C17.6768 16.082 18.8873 14.7025 20.4373 14.7025C21.9717 14.7025 23.2271 16.082 23.1961 17.7714C23.1961 19.4608 21.9872 20.8402 20.4373 20.8402Z"})]})}function eJ({isOpen:ee,...en}){return(0,eD.jsxs)("svg",{height:"12",width:"12",viewBox:"0 0 16 16",fill:"currentColor",...en,children:[(0,eD.jsx)("path",{fillRule:"evenodd",d:"M4.177 7.823l2.396-2.396A.25.25 0 017 5.604v4.792a.25.25 0 01-.427.177L4.177 8.177a.25.25 0 010-.354z",className:ee?"":"nx-origin-[35%] nx-rotate-180"}),(0,eD.jsx)("path",{fillRule:"evenodd",d:"M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0114.25 16H1.75A1.75 1.75 0 010 14.25V1.75zm1.75-.25a.25.25 0 00-.25.25v12.5c0 .138.112.25.25.25H9.5v-13H1.75zm12.5 13H11v-13h3.25a.25.25 0 01.25.25v12.5a.25.25 0 01-.25.25z"})]})}function e0(ee){return(0,eD.jsxs)("svg",{width:"24",height:"24",fill:"currentColor",viewBox:"3 3 18 18",...ee,children:[(0,eD.jsx)("title",{children:"GitHub"}),(0,eD.jsx)("path",{d:"M12 3C7.0275 3 3 7.12937 3 12.2276C3 16.3109 5.57625 19.7597 9.15374 20.9824C9.60374 21.0631 9.77249 20.7863 9.77249 20.5441C9.77249 20.3249 9.76125 19.5982 9.76125 18.8254C7.5 19.2522 6.915 18.2602 6.735 17.7412C6.63375 17.4759 6.19499 16.6569 5.8125 16.4378C5.4975 16.2647 5.0475 15.838 5.80124 15.8264C6.51 15.8149 7.01625 16.4954 7.18499 16.7723C7.99499 18.1679 9.28875 17.7758 9.80625 17.5335C9.885 16.9337 10.1212 16.53 10.38 16.2993C8.3775 16.0687 6.285 15.2728 6.285 11.7432C6.285 10.7397 6.63375 9.9092 7.20749 9.26326C7.1175 9.03257 6.8025 8.08674 7.2975 6.81794C7.2975 6.81794 8.05125 6.57571 9.77249 7.76377C10.4925 7.55615 11.2575 7.45234 12.0225 7.45234C12.7875 7.45234 13.5525 7.55615 14.2725 7.76377C15.9937 6.56418 16.7475 6.81794 16.7475 6.81794C17.2424 8.08674 16.9275 9.03257 16.8375 9.26326C17.4113 9.9092 17.76 10.7281 17.76 11.7432C17.76 15.2843 15.6563 16.0687 13.6537 16.2993C13.98 16.5877 14.2613 17.1414 14.2613 18.0065C14.2613 19.2407 14.25 20.2326 14.25 20.5441C14.25 20.7863 14.4188 21.0746 14.8688 20.9824C16.6554 20.364 18.2079 19.1866 19.3078 17.6162C20.4077 16.0457 20.9995 14.1611 21 12.2276C21 7.12937 16.9725 3 12 3Z"})]})}function e1(ee){return(0,eD.jsx)("svg",{viewBox:"2 2 16 16",width:"12",height:"12",fill:"currentColor",...ee,children:(0,eD.jsx)("path",{fillRule:"evenodd",d:"M4.083 9h1.946c.089-1.546.383-2.97.837-4.118A6.004 6.004 0 004.083 9zM10 2a8 8 0 100 16 8 8 0 000-16zm0 2c-.076 0-.232.032-.465.262-.238.234-.497.623-.737 1.182-.389.907-.673 2.142-.766 3.556h3.936c-.093-1.414-.377-2.649-.766-3.556-.24-.56-.5-.948-.737-1.182C10.232 4.032 10.076 4 10 4zm3.971 5c-.089-1.546-.383-2.97-.837-4.118A6.004 6.004 0 0115.917 9h-1.946zm-2.003 2H8.032c.093 1.414.377 2.649.766 3.556.24.56.5.948.737 1.182.233.23.389.262.465.262.076 0 .232-.032.465-.262.238-.234.498-.623.737-1.182.389-.907.673-2.142.766-3.556zm1.166 4.118c.454-1.147.748-2.572.837-4.118h1.946a6.004 6.004 0 01-2.783 4.118zm-6.268 0C6.412 13.97 6.118 12.546 6.03 11H4.083a6.004 6.004 0 002.783 4.118z",clipRule:"evenodd"})})}function e2(ee){return(0,eD.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:"20",height:"20",...ee,children:(0,eD.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z"})})}function e5(ee){return(0,eD.jsxs)("svg",{fill:"none",width:"24",height:"24",viewBox:"0 0 24 24",stroke:"currentColor",...ee,children:[(0,eD.jsx)("g",{children:(0,eD.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16"})}),(0,eD.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 12h16"}),(0,eD.jsx)("g",{children:(0,eD.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 18h16"})})]})}function e4(ee){return(0,eD.jsx)("svg",{fill:"none",viewBox:"2 2 20 20",width:"12",height:"12",stroke:"currentColor",...ee,children:(0,eD.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",fill:"currentColor",d:"M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"})})}function e3(ee){return(0,eD.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"24",height:"24",...ee,children:[(0,eD.jsx)("circle",{className:"nx-opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,eD.jsx)("path",{className:"nx-opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})}function e6(ee){return(0,eD.jsx)("svg",{fill:"none",viewBox:"3 3 18 18",width:"12",height:"12",stroke:"currentColor",...ee,children:(0,eD.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",fill:"currentColor",d:"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"})})}function e9(ee){return(0,eD.jsx)("svg",{viewBox:"0 0 24 24",width:"24",height:"24",...ee,children:(0,eD.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}function e7(ee){return(0,eD.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",...ee,children:(0,eD.jsx)("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})})}!function(ee){function en(ee){}function er(ee){throw Error()}function eo(ee,en=" | "){return ee.map(ee=>"string"==typeof ee?`'${ee}'`:ee).join(en)}ee.assertEqual=ee=>ee,ee.assertIs=en,ee.assertNever=er,ee.arrayToEnum=ee=>{let en={};for(let er of ee)en[er]=er;return en},ee.getValidEnumValues=en=>{let er=ee.objectKeys(en).filter(ee=>"number"!=typeof en[en[ee]]),eo={};for(let ee of er)eo[ee]=en[ee];return ee.objectValues(eo)},ee.objectValues=en=>ee.objectKeys(en).map(function(ee){return en[ee]}),ee.objectKeys="function"==typeof Object.keys?ee=>Object.keys(ee):ee=>{let en=[];for(let er in ee)Object.prototype.hasOwnProperty.call(ee,er)&&en.push(er);return en},ee.find=(ee,en)=>{for(let er of ee)if(en(er))return er},ee.isInteger="function"==typeof Number.isInteger?ee=>Number.isInteger(ee):ee=>"number"==typeof ee&&isFinite(ee)&&Math.floor(ee)===ee,ee.joinValues=eo,ee.jsonStringifyReplacer=(ee,en)=>"bigint"==typeof en?en.toString():en}(eN||(eN={})),function(ee){ee.mergeShapes=(ee,en)=>({...ee,...en})}(eA||(eA={}));let e8=eN.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),tn=ee=>{let en=typeof ee;switch(en){case"undefined":return e8.undefined;case"string":return e8.string;case"number":return isNaN(ee)?e8.nan:e8.number;case"boolean":return e8.boolean;case"function":return e8.function;case"bigint":return e8.bigint;case"symbol":return e8.symbol;case"object":if(Array.isArray(ee))return e8.array;if(null===ee)return e8.null;if(ee.then&&"function"==typeof ee.then&&ee.catch&&"function"==typeof ee.catch)return e8.promise;if("undefined"!=typeof Map&&ee instanceof Map)return e8.map;if("undefined"!=typeof Set&&ee instanceof Set)return e8.set;if("undefined"!=typeof Date&&ee instanceof Date)return e8.date;return e8.object;default:return e8.unknown}},tr=eN.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),to=ee=>{let en=JSON.stringify(ee,null,2);return en.replace(/"([^"]+)":/g,"$1:")};class ti extends Error{constructor(ee){super(),this.issues=[],this.addIssue=ee=>{this.issues=[...this.issues,ee]},this.addIssues=(ee=[])=>{this.issues=[...this.issues,...ee]};let en=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,en):this.__proto__=en,this.name="ZodError",this.issues=ee}get errors(){return this.issues}format(ee){let en=ee||function(ee){return ee.message},er={_errors:[]},eo=ee=>{for(let ei of ee.issues)if("invalid_union"===ei.code)ei.unionErrors.map(eo);else if("invalid_return_type"===ei.code)eo(ei.returnTypeError);else if("invalid_arguments"===ei.code)eo(ei.argumentsError);else if(0===ei.path.length)er._errors.push(en(ei));else{let ee=er,eo=0;for(;eoee.message){let en={},er=[];for(let eo of this.issues)eo.path.length>0?(en[eo.path[0]]=en[eo.path[0]]||[],en[eo.path[0]].push(ee(eo))):er.push(ee(eo));return{formErrors:er,fieldErrors:en}}get formErrors(){return this.flatten()}}ti.create=ee=>{let en=new ti(ee);return en};let ts=(ee,en)=>{let er;switch(ee.code){case tr.invalid_type:er=ee.received===e8.undefined?"Required":`Expected ${ee.expected}, received ${ee.received}`;break;case tr.invalid_literal:er=`Invalid literal value, expected ${JSON.stringify(ee.expected,eN.jsonStringifyReplacer)}`;break;case tr.unrecognized_keys:er=`Unrecognized key(s) in object: ${eN.joinValues(ee.keys,", ")}`;break;case tr.invalid_union:er="Invalid input";break;case tr.invalid_union_discriminator:er=`Invalid discriminator value. Expected ${eN.joinValues(ee.options)}`;break;case tr.invalid_enum_value:er=`Invalid enum value. Expected ${eN.joinValues(ee.options)}, received '${ee.received}'`;break;case tr.invalid_arguments:er="Invalid function arguments";break;case tr.invalid_return_type:er="Invalid function return type";break;case tr.invalid_date:er="Invalid date";break;case tr.invalid_string:"object"==typeof ee.validation?"includes"in ee.validation?(er=`Invalid input: must include "${ee.validation.includes}"`,"number"==typeof ee.validation.position&&(er=`${er} at one or more positions greater than or equal to ${ee.validation.position}`)):"startsWith"in ee.validation?er=`Invalid input: must start with "${ee.validation.startsWith}"`:"endsWith"in ee.validation?er=`Invalid input: must end with "${ee.validation.endsWith}"`:eN.assertNever(ee.validation):er="regex"!==ee.validation?`Invalid ${ee.validation}`:"Invalid";break;case tr.too_small:er="array"===ee.type?`Array must contain ${ee.exact?"exactly":ee.inclusive?"at least":"more than"} ${ee.minimum} element(s)`:"string"===ee.type?`String must contain ${ee.exact?"exactly":ee.inclusive?"at least":"over"} ${ee.minimum} character(s)`:"number"===ee.type?`Number must be ${ee.exact?"exactly equal to ":ee.inclusive?"greater than or equal to ":"greater than "}${ee.minimum}`:"date"===ee.type?`Date must be ${ee.exact?"exactly equal to ":ee.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(ee.minimum))}`:"Invalid input";break;case tr.too_big:er="array"===ee.type?`Array must contain ${ee.exact?"exactly":ee.inclusive?"at most":"less than"} ${ee.maximum} element(s)`:"string"===ee.type?`String must contain ${ee.exact?"exactly":ee.inclusive?"at most":"under"} ${ee.maximum} character(s)`:"number"===ee.type?`Number must be ${ee.exact?"exactly":ee.inclusive?"less than or equal to":"less than"} ${ee.maximum}`:"bigint"===ee.type?`BigInt must be ${ee.exact?"exactly":ee.inclusive?"less than or equal to":"less than"} ${ee.maximum}`:"date"===ee.type?`Date must be ${ee.exact?"exactly":ee.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(ee.maximum))}`:"Invalid input";break;case tr.custom:er="Invalid input";break;case tr.invalid_intersection_types:er="Intersection results could not be merged";break;case tr.not_multiple_of:er=`Number must be a multiple of ${ee.multipleOf}`;break;case tr.not_finite:er="Number must be finite";break;default:er=en.defaultError,eN.assertNever(ee)}return{message:er}},tl=ts;function tc(ee){tl=ee}function tu(){return tl}let td=ee=>{let{data:en,path:er,errorMaps:eo,issueData:ei}=ee,ec=[...er,...ei.path||[]],eu={...ei,path:ec},ed="",ef=eo.filter(ee=>!!ee).slice().reverse();for(let ee of ef)ed=ee(eu,{data:en,defaultError:ed}).message;return{...ei,path:ec,message:ei.message||ed}},tf=[];function th(ee,en){let er=td({issueData:en,data:ee.data,path:ee.path,errorMaps:[ee.common.contextualErrorMap,ee.schemaErrorMap,tu(),ts].filter(ee=>!!ee)});ee.common.issues.push(er)}class tp{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(ee,en){let er=[];for(let eo of en){if("aborted"===eo.status)return tm;"dirty"===eo.status&&ee.dirty(),er.push(eo.value)}return{status:ee.value,value:er}}static async mergeObjectAsync(ee,en){let er=[];for(let ee of en)er.push({key:await ee.key,value:await ee.value});return tp.mergeObjectSync(ee,er)}static mergeObjectSync(ee,en){let er={};for(let eo of en){let{key:en,value:ei}=eo;if("aborted"===en.status||"aborted"===ei.status)return tm;"dirty"===en.status&&ee.dirty(),"dirty"===ei.status&&ee.dirty(),"__proto__"!==en.value&&(void 0!==ei.value||eo.alwaysSet)&&(er[en.value]=ei.value)}return{status:ee.value,value:er}}}let tm=Object.freeze({status:"aborted"}),tg=ee=>({status:"dirty",value:ee}),tx=ee=>({status:"valid",value:ee}),tv=ee=>"aborted"===ee.status,ty=ee=>"dirty"===ee.status,tb=ee=>"valid"===ee.status,tw=ee=>"undefined"!=typeof Promise&&ee instanceof Promise;!function(ee){ee.errToObj=ee=>"string"==typeof ee?{message:ee}:ee||{},ee.toString=ee=>"string"==typeof ee?ee:null==ee?void 0:ee.message}(eI||(eI={}));class tk{constructor(ee,en,er,eo){this._cachedPath=[],this.parent=ee,this.data=en,this._path=er,this._key=eo}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}let t_=(ee,en)=>{if(tb(en))return{success:!0,data:en.value};if(!ee.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let en=new ti(ee.common.issues);return this._error=en,this._error}}};function tj(ee){if(!ee)return{};let{errorMap:en,invalid_type_error:er,required_error:eo,description:ei}=ee;if(en&&(er||eo))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');if(en)return{errorMap:en,description:ei};let ec=(ee,en)=>"invalid_type"!==ee.code?{message:en.defaultError}:void 0===en.data?{message:null!=eo?eo:en.defaultError}:{message:null!=er?er:en.defaultError};return{errorMap:ec,description:ei}}class tE{constructor(ee){this.spa=this.safeParseAsync,this._def=ee,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(ee){return tn(ee.data)}_getOrReturnCtx(ee,en){return en||{common:ee.parent.common,data:ee.data,parsedType:tn(ee.data),schemaErrorMap:this._def.errorMap,path:ee.path,parent:ee.parent}}_processInputParams(ee){return{status:new tp,ctx:{common:ee.parent.common,data:ee.data,parsedType:tn(ee.data),schemaErrorMap:this._def.errorMap,path:ee.path,parent:ee.parent}}}_parseSync(ee){let en=this._parse(ee);if(tw(en))throw Error("Synchronous parse encountered promise.");return en}_parseAsync(ee){let en=this._parse(ee);return Promise.resolve(en)}parse(ee,en){let er=this.safeParse(ee,en);if(er.success)return er.data;throw er.error}safeParse(ee,en){var er;let eo={common:{issues:[],async:null!==(er=null==en?void 0:en.async)&&void 0!==er&&er,contextualErrorMap:null==en?void 0:en.errorMap},path:(null==en?void 0:en.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:ee,parsedType:tn(ee)},ei=this._parseSync({data:ee,path:eo.path,parent:eo});return t_(eo,ei)}async parseAsync(ee,en){let er=await this.safeParseAsync(ee,en);if(er.success)return er.data;throw er.error}async safeParseAsync(ee,en){let er={common:{issues:[],contextualErrorMap:null==en?void 0:en.errorMap,async:!0},path:(null==en?void 0:en.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:ee,parsedType:tn(ee)},eo=this._parse({data:ee,path:er.path,parent:er}),ei=await (tw(eo)?eo:Promise.resolve(eo));return t_(er,ei)}refine(ee,en){let er=ee=>"string"==typeof en||void 0===en?{message:en}:"function"==typeof en?en(ee):en;return this._refinement((en,eo)=>{let ei=ee(en),ec=()=>eo.addIssue({code:tr.custom,...er(en)});return"undefined"!=typeof Promise&&ei instanceof Promise?ei.then(ee=>!!ee||(ec(),!1)):!!ei||(ec(),!1)})}refinement(ee,en){return this._refinement((er,eo)=>!!ee(er)||(eo.addIssue("function"==typeof en?en(er,eo):en),!1))}_refinement(ee){return new no({schema:this,typeName:eR.ZodEffects,effect:{type:"refinement",refinement:ee}})}superRefine(ee){return this._refinement(ee)}optional(){return ni.create(this,this._def)}nullable(){return ns.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return tX.create(this,this._def)}promise(){return nr.create(this,this._def)}or(ee){return tY.create([this,ee],this._def)}and(ee){return t2.create(this,ee,this._def)}transform(ee){return new no({...tj(this._def),schema:this,typeName:eR.ZodEffects,effect:{type:"transform",transform:ee}})}default(ee){let en="function"==typeof ee?ee:()=>ee;return new nl({...tj(this._def),innerType:this,defaultValue:en,typeName:eR.ZodDefault})}brand(){return new nf({typeName:eR.ZodBranded,type:this,...tj(this._def)})}catch(ee){let en="function"==typeof ee?ee:()=>ee;return new nc({...tj(this._def),innerType:this,catchValue:en,typeName:eR.ZodCatch})}describe(ee){let en=this.constructor;return new en({...this._def,description:ee})}pipe(ee){return nh.create(this,ee)}readonly(){return np.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let tO=/^c[^\s-]{8,}$/i,tC=/^[a-z][a-z0-9]*$/,tS=/^[0-9A-HJKMNP-TV-Z]{26}$/,tT=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,tN=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,tA="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",tI=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,tR=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,tM=ee=>ee.precision?ee.offset?RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${ee.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${ee.precision}}Z$`):0===ee.precision?ee.offset?RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):ee.offset?RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");function tL(ee,en){return!!(("v4"===en||!en)&&tI.test(ee)||("v6"===en||!en)&&tR.test(ee))}class tP extends tE{_parse(ee){let en;this._def.coerce&&(ee.data=String(ee.data));let er=this._getType(ee);if(er!==e8.string){let en=this._getOrReturnCtx(ee);return th(en,{code:tr.invalid_type,expected:e8.string,received:en.parsedType}),tm}let ei=new tp;for(let er of this._def.checks)if("min"===er.kind)ee.data.lengther.value&&(th(en=this._getOrReturnCtx(ee,en),{code:tr.too_big,maximum:er.value,type:"string",inclusive:!0,exact:!1,message:er.message}),ei.dirty());else if("length"===er.kind){let eo=ee.data.length>er.value,ec=ee.data.lengthee.test(en),{validation:en,code:tr.invalid_string,...eI.errToObj(er)})}_addCheck(ee){return new tP({...this._def,checks:[...this._def.checks,ee]})}email(ee){return this._addCheck({kind:"email",...eI.errToObj(ee)})}url(ee){return this._addCheck({kind:"url",...eI.errToObj(ee)})}emoji(ee){return this._addCheck({kind:"emoji",...eI.errToObj(ee)})}uuid(ee){return this._addCheck({kind:"uuid",...eI.errToObj(ee)})}cuid(ee){return this._addCheck({kind:"cuid",...eI.errToObj(ee)})}cuid2(ee){return this._addCheck({kind:"cuid2",...eI.errToObj(ee)})}ulid(ee){return this._addCheck({kind:"ulid",...eI.errToObj(ee)})}ip(ee){return this._addCheck({kind:"ip",...eI.errToObj(ee)})}datetime(ee){var en;return"string"==typeof ee?this._addCheck({kind:"datetime",precision:null,offset:!1,message:ee}):this._addCheck({kind:"datetime",precision:void 0===(null==ee?void 0:ee.precision)?null:null==ee?void 0:ee.precision,offset:null!==(en=null==ee?void 0:ee.offset)&&void 0!==en&&en,...eI.errToObj(null==ee?void 0:ee.message)})}regex(ee,en){return this._addCheck({kind:"regex",regex:ee,...eI.errToObj(en)})}includes(ee,en){return this._addCheck({kind:"includes",value:ee,position:null==en?void 0:en.position,...eI.errToObj(null==en?void 0:en.message)})}startsWith(ee,en){return this._addCheck({kind:"startsWith",value:ee,...eI.errToObj(en)})}endsWith(ee,en){return this._addCheck({kind:"endsWith",value:ee,...eI.errToObj(en)})}min(ee,en){return this._addCheck({kind:"min",value:ee,...eI.errToObj(en)})}max(ee,en){return this._addCheck({kind:"max",value:ee,...eI.errToObj(en)})}length(ee,en){return this._addCheck({kind:"length",value:ee,...eI.errToObj(en)})}nonempty(ee){return this.min(1,eI.errToObj(ee))}trim(){return new tP({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new tP({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new tP({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(ee=>"datetime"===ee.kind)}get isEmail(){return!!this._def.checks.find(ee=>"email"===ee.kind)}get isURL(){return!!this._def.checks.find(ee=>"url"===ee.kind)}get isEmoji(){return!!this._def.checks.find(ee=>"emoji"===ee.kind)}get isUUID(){return!!this._def.checks.find(ee=>"uuid"===ee.kind)}get isCUID(){return!!this._def.checks.find(ee=>"cuid"===ee.kind)}get isCUID2(){return!!this._def.checks.find(ee=>"cuid2"===ee.kind)}get isULID(){return!!this._def.checks.find(ee=>"ulid"===ee.kind)}get isIP(){return!!this._def.checks.find(ee=>"ip"===ee.kind)}get minLength(){let ee=null;for(let en of this._def.checks)"min"===en.kind&&(null===ee||en.value>ee)&&(ee=en.value);return ee}get maxLength(){let ee=null;for(let en of this._def.checks)"max"===en.kind&&(null===ee||en.valueeo?er:eo,ec=parseInt(ee.toFixed(ei).replace(".","")),eu=parseInt(en.toFixed(ei).replace(".",""));return ec%eu/Math.pow(10,ei)}tP.create=ee=>{var en;return new tP({checks:[],typeName:eR.ZodString,coerce:null!==(en=null==ee?void 0:ee.coerce)&&void 0!==en&&en,...tj(ee)})};class tD extends tE{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(ee){let en;this._def.coerce&&(ee.data=Number(ee.data));let er=this._getType(ee);if(er!==e8.number){let en=this._getOrReturnCtx(ee);return th(en,{code:tr.invalid_type,expected:e8.number,received:en.parsedType}),tm}let eo=new tp;for(let er of this._def.checks)if("int"===er.kind)eN.isInteger(ee.data)||(th(en=this._getOrReturnCtx(ee,en),{code:tr.invalid_type,expected:"integer",received:"float",message:er.message}),eo.dirty());else if("min"===er.kind){let ei=er.inclusive?ee.dataer.value:ee.data>=er.value;ei&&(th(en=this._getOrReturnCtx(ee,en),{code:tr.too_big,maximum:er.value,type:"number",inclusive:er.inclusive,exact:!1,message:er.message}),eo.dirty())}else"multipleOf"===er.kind?0!==tZ(ee.data,er.value)&&(th(en=this._getOrReturnCtx(ee,en),{code:tr.not_multiple_of,multipleOf:er.value,message:er.message}),eo.dirty()):"finite"===er.kind?Number.isFinite(ee.data)||(th(en=this._getOrReturnCtx(ee,en),{code:tr.not_finite,message:er.message}),eo.dirty()):eN.assertNever(er);return{status:eo.value,value:ee.data}}gte(ee,en){return this.setLimit("min",ee,!0,eI.toString(en))}gt(ee,en){return this.setLimit("min",ee,!1,eI.toString(en))}lte(ee,en){return this.setLimit("max",ee,!0,eI.toString(en))}lt(ee,en){return this.setLimit("max",ee,!1,eI.toString(en))}setLimit(ee,en,er,eo){return new tD({...this._def,checks:[...this._def.checks,{kind:ee,value:en,inclusive:er,message:eI.toString(eo)}]})}_addCheck(ee){return new tD({...this._def,checks:[...this._def.checks,ee]})}int(ee){return this._addCheck({kind:"int",message:eI.toString(ee)})}positive(ee){return this._addCheck({kind:"min",value:0,inclusive:!1,message:eI.toString(ee)})}negative(ee){return this._addCheck({kind:"max",value:0,inclusive:!1,message:eI.toString(ee)})}nonpositive(ee){return this._addCheck({kind:"max",value:0,inclusive:!0,message:eI.toString(ee)})}nonnegative(ee){return this._addCheck({kind:"min",value:0,inclusive:!0,message:eI.toString(ee)})}multipleOf(ee,en){return this._addCheck({kind:"multipleOf",value:ee,message:eI.toString(en)})}finite(ee){return this._addCheck({kind:"finite",message:eI.toString(ee)})}safe(ee){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:eI.toString(ee)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:eI.toString(ee)})}get minValue(){let ee=null;for(let en of this._def.checks)"min"===en.kind&&(null===ee||en.value>ee)&&(ee=en.value);return ee}get maxValue(){let ee=null;for(let en of this._def.checks)"max"===en.kind&&(null===ee||en.value"int"===ee.kind||"multipleOf"===ee.kind&&eN.isInteger(ee.value))}get isFinite(){let ee=null,en=null;for(let er of this._def.checks){if("finite"===er.kind||"int"===er.kind||"multipleOf"===er.kind)return!0;"min"===er.kind?(null===en||er.value>en)&&(en=er.value):"max"===er.kind&&(null===ee||er.valuenew tD({checks:[],typeName:eR.ZodNumber,coerce:(null==ee?void 0:ee.coerce)||!1,...tj(ee)});class tF extends tE{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(ee){let en;this._def.coerce&&(ee.data=BigInt(ee.data));let er=this._getType(ee);if(er!==e8.bigint){let en=this._getOrReturnCtx(ee);return th(en,{code:tr.invalid_type,expected:e8.bigint,received:en.parsedType}),tm}let eo=new tp;for(let er of this._def.checks)if("min"===er.kind){let ei=er.inclusive?ee.dataer.value:ee.data>=er.value;ei&&(th(en=this._getOrReturnCtx(ee,en),{code:tr.too_big,type:"bigint",maximum:er.value,inclusive:er.inclusive,message:er.message}),eo.dirty())}else"multipleOf"===er.kind?ee.data%er.value!==BigInt(0)&&(th(en=this._getOrReturnCtx(ee,en),{code:tr.not_multiple_of,multipleOf:er.value,message:er.message}),eo.dirty()):eN.assertNever(er);return{status:eo.value,value:ee.data}}gte(ee,en){return this.setLimit("min",ee,!0,eI.toString(en))}gt(ee,en){return this.setLimit("min",ee,!1,eI.toString(en))}lte(ee,en){return this.setLimit("max",ee,!0,eI.toString(en))}lt(ee,en){return this.setLimit("max",ee,!1,eI.toString(en))}setLimit(ee,en,er,eo){return new tF({...this._def,checks:[...this._def.checks,{kind:ee,value:en,inclusive:er,message:eI.toString(eo)}]})}_addCheck(ee){return new tF({...this._def,checks:[...this._def.checks,ee]})}positive(ee){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:eI.toString(ee)})}negative(ee){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:eI.toString(ee)})}nonpositive(ee){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:eI.toString(ee)})}nonnegative(ee){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:eI.toString(ee)})}multipleOf(ee,en){return this._addCheck({kind:"multipleOf",value:ee,message:eI.toString(en)})}get minValue(){let ee=null;for(let en of this._def.checks)"min"===en.kind&&(null===ee||en.value>ee)&&(ee=en.value);return ee}get maxValue(){let ee=null;for(let en of this._def.checks)"max"===en.kind&&(null===ee||en.value{var en;return new tF({checks:[],typeName:eR.ZodBigInt,coerce:null!==(en=null==ee?void 0:ee.coerce)&&void 0!==en&&en,...tj(ee)})};class tH extends tE{_parse(ee){this._def.coerce&&(ee.data=!!ee.data);let en=this._getType(ee);if(en!==e8.boolean){let en=this._getOrReturnCtx(ee);return th(en,{code:tr.invalid_type,expected:e8.boolean,received:en.parsedType}),tm}return tx(ee.data)}}tH.create=ee=>new tH({typeName:eR.ZodBoolean,coerce:(null==ee?void 0:ee.coerce)||!1,...tj(ee)});class tz extends tE{_parse(ee){let en;this._def.coerce&&(ee.data=new Date(ee.data));let er=this._getType(ee);if(er!==e8.date){let en=this._getOrReturnCtx(ee);return th(en,{code:tr.invalid_type,expected:e8.date,received:en.parsedType}),tm}if(isNaN(ee.data.getTime())){let en=this._getOrReturnCtx(ee);return th(en,{code:tr.invalid_date}),tm}let eo=new tp;for(let er of this._def.checks)"min"===er.kind?ee.data.getTime()er.value&&(th(en=this._getOrReturnCtx(ee,en),{code:tr.too_big,message:er.message,inclusive:!0,exact:!1,maximum:er.value,type:"date"}),eo.dirty()):eN.assertNever(er);return{status:eo.value,value:new Date(ee.data.getTime())}}_addCheck(ee){return new tz({...this._def,checks:[...this._def.checks,ee]})}min(ee,en){return this._addCheck({kind:"min",value:ee.getTime(),message:eI.toString(en)})}max(ee,en){return this._addCheck({kind:"max",value:ee.getTime(),message:eI.toString(en)})}get minDate(){let ee=null;for(let en of this._def.checks)"min"===en.kind&&(null===ee||en.value>ee)&&(ee=en.value);return null!=ee?new Date(ee):null}get maxDate(){let ee=null;for(let en of this._def.checks)"max"===en.kind&&(null===ee||en.valuenew tz({checks:[],coerce:(null==ee?void 0:ee.coerce)||!1,typeName:eR.ZodDate,...tj(ee)});class tB extends tE{_parse(ee){let en=this._getType(ee);if(en!==e8.symbol){let en=this._getOrReturnCtx(ee);return th(en,{code:tr.invalid_type,expected:e8.symbol,received:en.parsedType}),tm}return tx(ee.data)}}tB.create=ee=>new tB({typeName:eR.ZodSymbol,...tj(ee)});class tW extends tE{_parse(ee){let en=this._getType(ee);if(en!==e8.undefined){let en=this._getOrReturnCtx(ee);return th(en,{code:tr.invalid_type,expected:e8.undefined,received:en.parsedType}),tm}return tx(ee.data)}}tW.create=ee=>new tW({typeName:eR.ZodUndefined,...tj(ee)});class tG extends tE{_parse(ee){let en=this._getType(ee);if(en!==e8.null){let en=this._getOrReturnCtx(ee);return th(en,{code:tr.invalid_type,expected:e8.null,received:en.parsedType}),tm}return tx(ee.data)}}tG.create=ee=>new tG({typeName:eR.ZodNull,...tj(ee)});class t$ extends tE{constructor(){super(...arguments),this._any=!0}_parse(ee){return tx(ee.data)}}t$.create=ee=>new t$({typeName:eR.ZodAny,...tj(ee)});class tU extends tE{constructor(){super(...arguments),this._unknown=!0}_parse(ee){return tx(ee.data)}}tU.create=ee=>new tU({typeName:eR.ZodUnknown,...tj(ee)});class tV extends tE{_parse(ee){let en=this._getOrReturnCtx(ee);return th(en,{code:tr.invalid_type,expected:e8.never,received:en.parsedType}),tm}}tV.create=ee=>new tV({typeName:eR.ZodNever,...tj(ee)});class tq extends tE{_parse(ee){let en=this._getType(ee);if(en!==e8.undefined){let en=this._getOrReturnCtx(ee);return th(en,{code:tr.invalid_type,expected:e8.void,received:en.parsedType}),tm}return tx(ee.data)}}tq.create=ee=>new tq({typeName:eR.ZodVoid,...tj(ee)});class tX extends tE{_parse(ee){let{ctx:en,status:er}=this._processInputParams(ee),eo=this._def;if(en.parsedType!==e8.array)return th(en,{code:tr.invalid_type,expected:e8.array,received:en.parsedType}),tm;if(null!==eo.exactLength){let ee=en.data.length>eo.exactLength.value,ei=en.data.lengtheo.maxLength.value&&(th(en,{code:tr.too_big,maximum:eo.maxLength.value,type:"array",inclusive:!0,exact:!1,message:eo.maxLength.message}),er.dirty()),en.common.async)return Promise.all([...en.data].map((ee,er)=>eo.type._parseAsync(new tk(en,ee,en.path,er)))).then(ee=>tp.mergeArray(er,ee));let ei=[...en.data].map((ee,er)=>eo.type._parseSync(new tk(en,ee,en.path,er)));return tp.mergeArray(er,ei)}get element(){return this._def.type}min(ee,en){return new tX({...this._def,minLength:{value:ee,message:eI.toString(en)}})}max(ee,en){return new tX({...this._def,maxLength:{value:ee,message:eI.toString(en)}})}length(ee,en){return new tX({...this._def,exactLength:{value:ee,message:eI.toString(en)}})}nonempty(ee){return this.min(1,ee)}}function tK(ee){if(ee instanceof tQ){let en={};for(let er in ee.shape){let eo=ee.shape[er];en[er]=ni.create(tK(eo))}return new tQ({...ee._def,shape:()=>en})}return ee instanceof tX?new tX({...ee._def,type:tK(ee.element)}):ee instanceof ni?ni.create(tK(ee.unwrap())):ee instanceof ns?ns.create(tK(ee.unwrap())):ee instanceof t5?t5.create(ee.items.map(ee=>tK(ee))):ee}tX.create=(ee,en)=>new tX({type:ee,minLength:null,maxLength:null,exactLength:null,typeName:eR.ZodArray,...tj(en)});class tQ extends tE{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let ee=this._def.shape(),en=eN.objectKeys(ee);return this._cached={shape:ee,keys:en}}_parse(ee){let en=this._getType(ee);if(en!==e8.object){let en=this._getOrReturnCtx(ee);return th(en,{code:tr.invalid_type,expected:e8.object,received:en.parsedType}),tm}let{status:er,ctx:eo}=this._processInputParams(ee),{shape:ei,keys:ec}=this._getCached(),eu=[];if(!(this._def.catchall instanceof tV&&"strip"===this._def.unknownKeys))for(let ee in eo.data)ec.includes(ee)||eu.push(ee);let ed=[];for(let ee of ec){let en=ei[ee],er=eo.data[ee];ed.push({key:{status:"valid",value:ee},value:en._parse(new tk(eo,er,eo.path,ee)),alwaysSet:ee in eo.data})}if(this._def.catchall instanceof tV){let ee=this._def.unknownKeys;if("passthrough"===ee)for(let ee of eu)ed.push({key:{status:"valid",value:ee},value:{status:"valid",value:eo.data[ee]}});else if("strict"===ee)eu.length>0&&(th(eo,{code:tr.unrecognized_keys,keys:eu}),er.dirty());else if("strip"===ee);else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let ee=this._def.catchall;for(let en of eu){let er=eo.data[en];ed.push({key:{status:"valid",value:en},value:ee._parse(new tk(eo,er,eo.path,en)),alwaysSet:en in eo.data})}}return eo.common.async?Promise.resolve().then(async()=>{let ee=[];for(let en of ed){let er=await en.key;ee.push({key:er,value:await en.value,alwaysSet:en.alwaysSet})}return ee}).then(ee=>tp.mergeObjectSync(er,ee)):tp.mergeObjectSync(er,ed)}get shape(){return this._def.shape()}strict(ee){return eI.errToObj,new tQ({...this._def,unknownKeys:"strict",...void 0!==ee?{errorMap:(en,er)=>{var eo,ei,ec,eu;let ed=null!==(ec=null===(ei=(eo=this._def).errorMap)||void 0===ei?void 0:ei.call(eo,en,er).message)&&void 0!==ec?ec:er.defaultError;return"unrecognized_keys"===en.code?{message:null!==(eu=eI.errToObj(ee).message)&&void 0!==eu?eu:ed}:{message:ed}}}:{}})}strip(){return new tQ({...this._def,unknownKeys:"strip"})}passthrough(){return new tQ({...this._def,unknownKeys:"passthrough"})}extend(ee){return new tQ({...this._def,shape:()=>({...this._def.shape(),...ee})})}merge(ee){let en=new tQ({unknownKeys:ee._def.unknownKeys,catchall:ee._def.catchall,shape:()=>({...this._def.shape(),...ee._def.shape()}),typeName:eR.ZodObject});return en}setKey(ee,en){return this.augment({[ee]:en})}catchall(ee){return new tQ({...this._def,catchall:ee})}pick(ee){let en={};return eN.objectKeys(ee).forEach(er=>{ee[er]&&this.shape[er]&&(en[er]=this.shape[er])}),new tQ({...this._def,shape:()=>en})}omit(ee){let en={};return eN.objectKeys(this.shape).forEach(er=>{ee[er]||(en[er]=this.shape[er])}),new tQ({...this._def,shape:()=>en})}deepPartial(){return tK(this)}partial(ee){let en={};return eN.objectKeys(this.shape).forEach(er=>{let eo=this.shape[er];ee&&!ee[er]?en[er]=eo:en[er]=eo.optional()}),new tQ({...this._def,shape:()=>en})}required(ee){let en={};return eN.objectKeys(this.shape).forEach(er=>{if(ee&&!ee[er])en[er]=this.shape[er];else{let ee=this.shape[er],eo=ee;for(;eo instanceof ni;)eo=eo._def.innerType;en[er]=eo}}),new tQ({...this._def,shape:()=>en})}keyof(){return ne(eN.objectKeys(this.shape))}}tQ.create=(ee,en)=>new tQ({shape:()=>ee,unknownKeys:"strip",catchall:tV.create(),typeName:eR.ZodObject,...tj(en)}),tQ.strictCreate=(ee,en)=>new tQ({shape:()=>ee,unknownKeys:"strict",catchall:tV.create(),typeName:eR.ZodObject,...tj(en)}),tQ.lazycreate=(ee,en)=>new tQ({shape:ee,unknownKeys:"strip",catchall:tV.create(),typeName:eR.ZodObject,...tj(en)});class tY extends tE{_parse(ee){let{ctx:en}=this._processInputParams(ee),er=this._def.options;function eo(ee){for(let en of ee)if("valid"===en.result.status)return en.result;for(let er of ee)if("dirty"===er.result.status)return en.common.issues.push(...er.ctx.common.issues),er.result;let er=ee.map(ee=>new ti(ee.ctx.common.issues));return th(en,{code:tr.invalid_union,unionErrors:er}),tm}if(en.common.async)return Promise.all(er.map(async ee=>{let er={...en,common:{...en.common,issues:[]},parent:null};return{result:await ee._parseAsync({data:en.data,path:en.path,parent:er}),ctx:er}})).then(eo);{let ee;let eo=[];for(let ei of er){let er={...en,common:{...en.common,issues:[]},parent:null},ec=ei._parseSync({data:en.data,path:en.path,parent:er});if("valid"===ec.status)return ec;"dirty"!==ec.status||ee||(ee={result:ec,ctx:er}),er.common.issues.length&&eo.push(er.common.issues)}if(ee)return en.common.issues.push(...ee.ctx.common.issues),ee.result;let ei=eo.map(ee=>new ti(ee));return th(en,{code:tr.invalid_union,unionErrors:ei}),tm}}get options(){return this._def.options}}tY.create=(ee,en)=>new tY({options:ee,typeName:eR.ZodUnion,...tj(en)});let tJ=ee=>{if(ee instanceof t7)return tJ(ee.schema);if(ee instanceof no)return tJ(ee.innerType());if(ee instanceof t8)return[ee.value];if(ee instanceof nt)return ee.options;if(ee instanceof nn)return Object.keys(ee.enum);if(ee instanceof nl)return tJ(ee._def.innerType);if(ee instanceof tW)return[void 0];else if(ee instanceof tG)return[null];else return null};class t0 extends tE{_parse(ee){let{ctx:en}=this._processInputParams(ee);if(en.parsedType!==e8.object)return th(en,{code:tr.invalid_type,expected:e8.object,received:en.parsedType}),tm;let er=this.discriminator,eo=en.data[er],ei=this.optionsMap.get(eo);return ei?en.common.async?ei._parseAsync({data:en.data,path:en.path,parent:en}):ei._parseSync({data:en.data,path:en.path,parent:en}):(th(en,{code:tr.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[er]}),tm)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(ee,en,er){let eo=new Map;for(let er of en){let en=tJ(er.shape[ee]);if(!en)throw Error(`A discriminator value for key \`${ee}\` could not be extracted from all schema options`);for(let ei of en){if(eo.has(ei))throw Error(`Discriminator property ${String(ee)} has duplicate value ${String(ei)}`);eo.set(ei,er)}}return new t0({typeName:eR.ZodDiscriminatedUnion,discriminator:ee,options:en,optionsMap:eo,...tj(er)})}}function t1(ee,en){let er=tn(ee),eo=tn(en);if(ee===en)return{valid:!0,data:ee};if(er===e8.object&&eo===e8.object){let er=eN.objectKeys(en),eo=eN.objectKeys(ee).filter(ee=>-1!==er.indexOf(ee)),ei={...ee,...en};for(let er of eo){let eo=t1(ee[er],en[er]);if(!eo.valid)return{valid:!1};ei[er]=eo.data}return{valid:!0,data:ei}}if(er===e8.array&&eo===e8.array){if(ee.length!==en.length)return{valid:!1};let er=[];for(let eo=0;eo{if(tv(ee)||tv(eo))return tm;let ei=t1(ee.value,eo.value);return ei.valid?((ty(ee)||ty(eo))&&en.dirty(),{status:en.value,value:ei.data}):(th(er,{code:tr.invalid_intersection_types}),tm)};return er.common.async?Promise.all([this._def.left._parseAsync({data:er.data,path:er.path,parent:er}),this._def.right._parseAsync({data:er.data,path:er.path,parent:er})]).then(([ee,en])=>eo(ee,en)):eo(this._def.left._parseSync({data:er.data,path:er.path,parent:er}),this._def.right._parseSync({data:er.data,path:er.path,parent:er}))}}t2.create=(ee,en,er)=>new t2({left:ee,right:en,typeName:eR.ZodIntersection,...tj(er)});class t5 extends tE{_parse(ee){let{status:en,ctx:er}=this._processInputParams(ee);if(er.parsedType!==e8.array)return th(er,{code:tr.invalid_type,expected:e8.array,received:er.parsedType}),tm;if(er.data.lengththis._def.items.length&&(th(er,{code:tr.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),en.dirty());let ei=[...er.data].map((ee,en)=>{let eo=this._def.items[en]||this._def.rest;return eo?eo._parse(new tk(er,ee,er.path,en)):null}).filter(ee=>!!ee);return er.common.async?Promise.all(ei).then(ee=>tp.mergeArray(en,ee)):tp.mergeArray(en,ei)}get items(){return this._def.items}rest(ee){return new t5({...this._def,rest:ee})}}t5.create=(ee,en)=>{if(!Array.isArray(ee))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new t5({items:ee,typeName:eR.ZodTuple,rest:null,...tj(en)})};class t4 extends tE{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(ee){let{status:en,ctx:er}=this._processInputParams(ee);if(er.parsedType!==e8.object)return th(er,{code:tr.invalid_type,expected:e8.object,received:er.parsedType}),tm;let eo=[],ei=this._def.keyType,ec=this._def.valueType;for(let ee in er.data)eo.push({key:ei._parse(new tk(er,ee,er.path,ee)),value:ec._parse(new tk(er,er.data[ee],er.path,ee))});return er.common.async?tp.mergeObjectAsync(en,eo):tp.mergeObjectSync(en,eo)}get element(){return this._def.valueType}static create(ee,en,er){return new t4(en instanceof tE?{keyType:ee,valueType:en,typeName:eR.ZodRecord,...tj(er)}:{keyType:tP.create(),valueType:ee,typeName:eR.ZodRecord,...tj(en)})}}class t3 extends tE{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(ee){let{status:en,ctx:er}=this._processInputParams(ee);if(er.parsedType!==e8.map)return th(er,{code:tr.invalid_type,expected:e8.map,received:er.parsedType}),tm;let eo=this._def.keyType,ei=this._def.valueType,ec=[...er.data.entries()].map(([ee,en],ec)=>({key:eo._parse(new tk(er,ee,er.path,[ec,"key"])),value:ei._parse(new tk(er,en,er.path,[ec,"value"]))}));if(er.common.async){let ee=new Map;return Promise.resolve().then(async()=>{for(let er of ec){let eo=await er.key,ei=await er.value;if("aborted"===eo.status||"aborted"===ei.status)return tm;("dirty"===eo.status||"dirty"===ei.status)&&en.dirty(),ee.set(eo.value,ei.value)}return{status:en.value,value:ee}})}{let ee=new Map;for(let er of ec){let eo=er.key,ei=er.value;if("aborted"===eo.status||"aborted"===ei.status)return tm;("dirty"===eo.status||"dirty"===ei.status)&&en.dirty(),ee.set(eo.value,ei.value)}return{status:en.value,value:ee}}}}t3.create=(ee,en,er)=>new t3({valueType:en,keyType:ee,typeName:eR.ZodMap,...tj(er)});class t6 extends tE{_parse(ee){let{status:en,ctx:er}=this._processInputParams(ee);if(er.parsedType!==e8.set)return th(er,{code:tr.invalid_type,expected:e8.set,received:er.parsedType}),tm;let eo=this._def;null!==eo.minSize&&er.data.sizeeo.maxSize.value&&(th(er,{code:tr.too_big,maximum:eo.maxSize.value,type:"set",inclusive:!0,exact:!1,message:eo.maxSize.message}),en.dirty());let ei=this._def.valueType;function ec(ee){let er=new Set;for(let eo of ee){if("aborted"===eo.status)return tm;"dirty"===eo.status&&en.dirty(),er.add(eo.value)}return{status:en.value,value:er}}let eu=[...er.data.values()].map((ee,en)=>ei._parse(new tk(er,ee,er.path,en)));return er.common.async?Promise.all(eu).then(ee=>ec(ee)):ec(eu)}min(ee,en){return new t6({...this._def,minSize:{value:ee,message:eI.toString(en)}})}max(ee,en){return new t6({...this._def,maxSize:{value:ee,message:eI.toString(en)}})}size(ee,en){return this.min(ee,en).max(ee,en)}nonempty(ee){return this.min(1,ee)}}t6.create=(ee,en)=>new t6({valueType:ee,minSize:null,maxSize:null,typeName:eR.ZodSet,...tj(en)});class t9 extends tE{constructor(){super(...arguments),this.validate=this.implement}_parse(ee){let{ctx:en}=this._processInputParams(ee);if(en.parsedType!==e8.function)return th(en,{code:tr.invalid_type,expected:e8.function,received:en.parsedType}),tm;function er(ee,er){return td({data:ee,path:en.path,errorMaps:[en.common.contextualErrorMap,en.schemaErrorMap,tu(),ts].filter(ee=>!!ee),issueData:{code:tr.invalid_arguments,argumentsError:er}})}function eo(ee,er){return td({data:ee,path:en.path,errorMaps:[en.common.contextualErrorMap,en.schemaErrorMap,tu(),ts].filter(ee=>!!ee),issueData:{code:tr.invalid_return_type,returnTypeError:er}})}let ei={errorMap:en.common.contextualErrorMap},ec=en.data;if(this._def.returns instanceof nr){let ee=this;return tx(async function(...en){let eu=new ti([]),ed=await ee._def.args.parseAsync(en,ei).catch(ee=>{throw eu.addIssue(er(en,ee)),eu}),ef=await Reflect.apply(ec,this,ed),eh=await ee._def.returns._def.type.parseAsync(ef,ei).catch(ee=>{throw eu.addIssue(eo(ef,ee)),eu});return eh})}{let ee=this;return tx(function(...en){let eu=ee._def.args.safeParse(en,ei);if(!eu.success)throw new ti([er(en,eu.error)]);let ed=Reflect.apply(ec,this,eu.data),ef=ee._def.returns.safeParse(ed,ei);if(!ef.success)throw new ti([eo(ed,ef.error)]);return ef.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...ee){return new t9({...this._def,args:t5.create(ee).rest(tU.create())})}returns(ee){return new t9({...this._def,returns:ee})}implement(ee){let en=this.parse(ee);return en}strictImplement(ee){let en=this.parse(ee);return en}static create(ee,en,er){return new t9({args:ee||t5.create([]).rest(tU.create()),returns:en||tU.create(),typeName:eR.ZodFunction,...tj(er)})}}class t7 extends tE{get schema(){return this._def.getter()}_parse(ee){let{ctx:en}=this._processInputParams(ee),er=this._def.getter();return er._parse({data:en.data,path:en.path,parent:en})}}t7.create=(ee,en)=>new t7({getter:ee,typeName:eR.ZodLazy,...tj(en)});class t8 extends tE{_parse(ee){if(ee.data!==this._def.value){let en=this._getOrReturnCtx(ee);return th(en,{received:en.data,code:tr.invalid_literal,expected:this._def.value}),tm}return{status:"valid",value:ee.data}}get value(){return this._def.value}}function ne(ee,en){return new nt({values:ee,typeName:eR.ZodEnum,...tj(en)})}t8.create=(ee,en)=>new t8({value:ee,typeName:eR.ZodLiteral,...tj(en)});class nt extends tE{_parse(ee){if("string"!=typeof ee.data){let en=this._getOrReturnCtx(ee),er=this._def.values;return th(en,{expected:eN.joinValues(er),received:en.parsedType,code:tr.invalid_type}),tm}if(-1===this._def.values.indexOf(ee.data)){let en=this._getOrReturnCtx(ee),er=this._def.values;return th(en,{received:en.data,code:tr.invalid_enum_value,options:er}),tm}return tx(ee.data)}get options(){return this._def.values}get enum(){let ee={};for(let en of this._def.values)ee[en]=en;return ee}get Values(){let ee={};for(let en of this._def.values)ee[en]=en;return ee}get Enum(){let ee={};for(let en of this._def.values)ee[en]=en;return ee}extract(ee){return nt.create(ee)}exclude(ee){return nt.create(this.options.filter(en=>!ee.includes(en)))}}nt.create=ne;class nn extends tE{_parse(ee){let en=eN.getValidEnumValues(this._def.values),er=this._getOrReturnCtx(ee);if(er.parsedType!==e8.string&&er.parsedType!==e8.number){let ee=eN.objectValues(en);return th(er,{expected:eN.joinValues(ee),received:er.parsedType,code:tr.invalid_type}),tm}if(-1===en.indexOf(ee.data)){let ee=eN.objectValues(en);return th(er,{received:er.data,code:tr.invalid_enum_value,options:ee}),tm}return tx(ee.data)}get enum(){return this._def.values}}nn.create=(ee,en)=>new nn({values:ee,typeName:eR.ZodNativeEnum,...tj(en)});class nr extends tE{unwrap(){return this._def.type}_parse(ee){let{ctx:en}=this._processInputParams(ee);if(en.parsedType!==e8.promise&&!1===en.common.async)return th(en,{code:tr.invalid_type,expected:e8.promise,received:en.parsedType}),tm;let er=en.parsedType===e8.promise?en.data:Promise.resolve(en.data);return tx(er.then(ee=>this._def.type.parseAsync(ee,{path:en.path,errorMap:en.common.contextualErrorMap})))}}nr.create=(ee,en)=>new nr({type:ee,typeName:eR.ZodPromise,...tj(en)});class no extends tE{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===eR.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(ee){let{status:en,ctx:er}=this._processInputParams(ee),eo=this._def.effect||null,ei={addIssue:ee=>{th(er,ee),ee.fatal?en.abort():en.dirty()},get path(){return er.path}};if(ei.addIssue=ei.addIssue.bind(ei),"preprocess"===eo.type){let ee=eo.transform(er.data,ei);return er.common.issues.length?{status:"dirty",value:er.data}:er.common.async?Promise.resolve(ee).then(ee=>this._def.schema._parseAsync({data:ee,path:er.path,parent:er})):this._def.schema._parseSync({data:ee,path:er.path,parent:er})}if("refinement"===eo.type){let ee=ee=>{let en=eo.refinement(ee,ei);if(er.common.async)return Promise.resolve(en);if(en instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return ee};if(!1!==er.common.async)return this._def.schema._parseAsync({data:er.data,path:er.path,parent:er}).then(er=>"aborted"===er.status?tm:("dirty"===er.status&&en.dirty(),ee(er.value).then(()=>({status:en.value,value:er.value}))));{let eo=this._def.schema._parseSync({data:er.data,path:er.path,parent:er});return"aborted"===eo.status?tm:("dirty"===eo.status&&en.dirty(),ee(eo.value),{status:en.value,value:eo.value})}}if("transform"===eo.type){if(!1!==er.common.async)return this._def.schema._parseAsync({data:er.data,path:er.path,parent:er}).then(ee=>tb(ee)?Promise.resolve(eo.transform(ee.value,ei)).then(ee=>({status:en.value,value:ee})):ee);{let ee=this._def.schema._parseSync({data:er.data,path:er.path,parent:er});if(!tb(ee))return ee;let ec=eo.transform(ee.value,ei);if(ec instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:en.value,value:ec}}}eN.assertNever(eo)}}no.create=(ee,en,er)=>new no({schema:ee,typeName:eR.ZodEffects,effect:en,...tj(er)}),no.createWithPreprocess=(ee,en,er)=>new no({schema:en,effect:{type:"preprocess",transform:ee},typeName:eR.ZodEffects,...tj(er)});class ni extends tE{_parse(ee){let en=this._getType(ee);return en===e8.undefined?tx(void 0):this._def.innerType._parse(ee)}unwrap(){return this._def.innerType}}ni.create=(ee,en)=>new ni({innerType:ee,typeName:eR.ZodOptional,...tj(en)});class ns extends tE{_parse(ee){let en=this._getType(ee);return en===e8.null?tx(null):this._def.innerType._parse(ee)}unwrap(){return this._def.innerType}}ns.create=(ee,en)=>new ns({innerType:ee,typeName:eR.ZodNullable,...tj(en)});class nl extends tE{_parse(ee){let{ctx:en}=this._processInputParams(ee),er=en.data;return en.parsedType===e8.undefined&&(er=this._def.defaultValue()),this._def.innerType._parse({data:er,path:en.path,parent:en})}removeDefault(){return this._def.innerType}}nl.create=(ee,en)=>new nl({innerType:ee,typeName:eR.ZodDefault,defaultValue:"function"==typeof en.default?en.default:()=>en.default,...tj(en)});class nc extends tE{_parse(ee){let{ctx:en}=this._processInputParams(ee),er={...en,common:{...en.common,issues:[]}},eo=this._def.innerType._parse({data:er.data,path:er.path,parent:{...er}});return tw(eo)?eo.then(ee=>({status:"valid",value:"valid"===ee.status?ee.value:this._def.catchValue({get error(){return new ti(er.common.issues)},input:er.data})})):{status:"valid",value:"valid"===eo.status?eo.value:this._def.catchValue({get error(){return new ti(er.common.issues)},input:er.data})}}removeCatch(){return this._def.innerType}}nc.create=(ee,en)=>new nc({innerType:ee,typeName:eR.ZodCatch,catchValue:"function"==typeof en.catch?en.catch:()=>en.catch,...tj(en)});class nu extends tE{_parse(ee){let en=this._getType(ee);if(en!==e8.nan){let en=this._getOrReturnCtx(ee);return th(en,{code:tr.invalid_type,expected:e8.nan,received:en.parsedType}),tm}return{status:"valid",value:ee.data}}}nu.create=ee=>new nu({typeName:eR.ZodNaN,...tj(ee)});let nd=Symbol("zod_brand");class nf extends tE{_parse(ee){let{ctx:en}=this._processInputParams(ee),er=en.data;return this._def.type._parse({data:er,path:en.path,parent:en})}unwrap(){return this._def.type}}class nh extends tE{_parse(ee){let{status:en,ctx:er}=this._processInputParams(ee);if(er.common.async){let ee=async()=>{let ee=await this._def.in._parseAsync({data:er.data,path:er.path,parent:er});return"aborted"===ee.status?tm:"dirty"===ee.status?(en.dirty(),tg(ee.value)):this._def.out._parseAsync({data:ee.value,path:er.path,parent:er})};return ee()}{let ee=this._def.in._parseSync({data:er.data,path:er.path,parent:er});return"aborted"===ee.status?tm:"dirty"===ee.status?(en.dirty(),{status:"dirty",value:ee.value}):this._def.out._parseSync({data:ee.value,path:er.path,parent:er})}}static create(ee,en){return new nh({in:ee,out:en,typeName:eR.ZodPipeline})}}class np extends tE{_parse(ee){let en=this._def.innerType._parse(ee);return tb(en)&&(en.value=Object.freeze(en.value)),en}}np.create=(ee,en)=>new np({innerType:ee,typeName:eR.ZodReadonly,...tj(en)});let nm=(ee,en={},er)=>ee?t$.create().superRefine((eo,ei)=>{var ec,eu;if(!ee(eo)){let ee="function"==typeof en?en(eo):"string"==typeof en?{message:en}:en,ed=null===(eu=null!==(ec=ee.fatal)&&void 0!==ec?ec:er)||void 0===eu||eu,ef="string"==typeof ee?{message:ee}:ee;ei.addIssue({code:"custom",...ef,fatal:ed})}}):t$.create(),ng={object:tQ.lazycreate};!function(ee){ee.ZodString="ZodString",ee.ZodNumber="ZodNumber",ee.ZodNaN="ZodNaN",ee.ZodBigInt="ZodBigInt",ee.ZodBoolean="ZodBoolean",ee.ZodDate="ZodDate",ee.ZodSymbol="ZodSymbol",ee.ZodUndefined="ZodUndefined",ee.ZodNull="ZodNull",ee.ZodAny="ZodAny",ee.ZodUnknown="ZodUnknown",ee.ZodNever="ZodNever",ee.ZodVoid="ZodVoid",ee.ZodArray="ZodArray",ee.ZodObject="ZodObject",ee.ZodUnion="ZodUnion",ee.ZodDiscriminatedUnion="ZodDiscriminatedUnion",ee.ZodIntersection="ZodIntersection",ee.ZodTuple="ZodTuple",ee.ZodRecord="ZodRecord",ee.ZodMap="ZodMap",ee.ZodSet="ZodSet",ee.ZodFunction="ZodFunction",ee.ZodLazy="ZodLazy",ee.ZodLiteral="ZodLiteral",ee.ZodEnum="ZodEnum",ee.ZodEffects="ZodEffects",ee.ZodNativeEnum="ZodNativeEnum",ee.ZodOptional="ZodOptional",ee.ZodNullable="ZodNullable",ee.ZodDefault="ZodDefault",ee.ZodCatch="ZodCatch",ee.ZodPromise="ZodPromise",ee.ZodBranded="ZodBranded",ee.ZodPipeline="ZodPipeline",ee.ZodReadonly="ZodReadonly"}(eR||(eR={}));let nx=(ee,en={message:`Input not instance of ${ee.name}`})=>nm(en=>en instanceof ee,en),nv=tP.create,ny=tD.create,nb=nu.create,nw=tF.create,nk=tH.create,n_=tz.create,nj=tB.create,nE=tW.create,nO=tG.create,nC=t$.create,nS=tU.create,nT=tV.create,nN=tq.create,nA=tX.create,nI=tQ.create,nR=tQ.strictCreate,nM=tY.create,nL=t0.create,nP=t2.create,nZ=t5.create,nD=t4.create,nF=t3.create,nH=t6.create,nz=t9.create,nB=t7.create,nW=t8.create,nG=nt.create,n$=nn.create,nU=nr.create,nV=no.create,nq=ni.create,nX=ns.create,nK=no.createWithPreprocess,nQ=nh.create,nY=()=>nv().optional(),nJ=()=>ny().optional(),n0=()=>nk().optional(),n1={string:ee=>tP.create({...ee,coerce:!0}),number:ee=>tD.create({...ee,coerce:!0}),boolean:ee=>tH.create({...ee,coerce:!0}),bigint:ee=>tF.create({...ee,coerce:!0}),date:ee=>tz.create({...ee,coerce:!0})},n2=tm;var n5=Object.freeze({__proto__:null,defaultErrorMap:ts,setErrorMap:tc,getErrorMap:tu,makeIssue:td,EMPTY_PATH:tf,addIssueToContext:th,ParseStatus:tp,INVALID:tm,DIRTY:tg,OK:tx,isAborted:tv,isDirty:ty,isValid:tb,isAsync:tw,get util(){return eN},get objectUtil(){return eA},ZodParsedType:e8,getParsedType:tn,ZodType:tE,ZodString:tP,ZodNumber:tD,ZodBigInt:tF,ZodBoolean:tH,ZodDate:tz,ZodSymbol:tB,ZodUndefined:tW,ZodNull:tG,ZodAny:t$,ZodUnknown:tU,ZodNever:tV,ZodVoid:tq,ZodArray:tX,ZodObject:tQ,ZodUnion:tY,ZodDiscriminatedUnion:t0,ZodIntersection:t2,ZodTuple:t5,ZodRecord:t4,ZodMap:t3,ZodSet:t6,ZodFunction:t9,ZodLazy:t7,ZodLiteral:t8,ZodEnum:nt,ZodNativeEnum:nn,ZodPromise:nr,ZodEffects:no,ZodTransformer:no,ZodOptional:ni,ZodNullable:ns,ZodDefault:nl,ZodCatch:nc,ZodNaN:nu,BRAND:nd,ZodBranded:nf,ZodPipeline:nh,ZodReadonly:np,custom:nm,Schema:tE,ZodSchema:tE,late:ng,get ZodFirstPartyTypeKind(){return eR},coerce:n1,any:nC,array:nA,bigint:nw,boolean:nk,date:n_,discriminatedUnion:nL,effect:nV,enum:nG,function:nz,instanceof:nx,intersection:nP,lazy:nB,literal:nW,map:nF,nan:nb,nativeEnum:n$,never:nT,null:nO,nullable:nX,number:ny,object:nI,oboolean:n0,onumber:nJ,optional:nq,ostring:nY,pipeline:nQ,preprocess:nK,promise:nU,record:nD,set:nH,strictObject:nR,string:nv,symbol:nj,transformer:nV,tuple:nZ,undefined:nE,union:nM,unknown:nS,void:nN,NEVER:n2,ZodIssueCode:tr,quotelessJson:to,ZodError:ti}),n4=er(26813),n3=er.n(n4),n6={i8:"14.0.3"};er(15983);let n9=["light","dark"],n7="(prefers-color-scheme: dark)",n8="undefined"==typeof window,rt=(0,eH.createContext)(void 0),rn={setTheme:ee=>{},themes:[]},rr=()=>{var ee;return null!==(ee=(0,eH.useContext)(rt))&&void 0!==ee?ee:rn},ro=ee=>(0,eH.useContext)(rt)?eH.createElement(eH.Fragment,null,ee.children):eH.createElement(rs,ee),ri=["light","dark"],rs=({forcedTheme:ee,disableTransitionOnChange:en=!1,enableSystem:er=!0,enableColorScheme:eo=!0,storageKey:ei="theme",themes:ec=ri,defaultTheme:eu=er?"system":"light",attribute:ed="data-theme",value:ef,children:eh,nonce:ep})=>{let[em,eg]=(0,eH.useState)(()=>rc(ei,eu)),[ex,ev]=(0,eH.useState)(()=>rc(ei)),ey=ef?Object.values(ef):ec,eb=(0,eH.useCallback)(ee=>{let ei=ee;if(!ei)return;"system"===ee&&er&&(ei=rd());let ec=ef?ef[ei]:ei,eh=en?ru():null,ep=document.documentElement;if("class"===ed?(ep.classList.remove(...ey),ec&&ep.classList.add(ec)):ec?ep.setAttribute(ed,ec):ep.removeAttribute(ed),eo){let ee=n9.includes(eu)?eu:null,en=n9.includes(ei)?ei:ee;ep.style.colorScheme=en}null==eh||eh()},[]),ew=(0,eH.useCallback)(ee=>{eg(ee);try{localStorage.setItem(ei,ee)}catch(ee){}},[ee]),ek=(0,eH.useCallback)(en=>{let eo=rd(en);ev(eo),"system"===em&&er&&!ee&&eb("system")},[em,ee]);(0,eH.useEffect)(()=>{let ee=window.matchMedia(n7);return ee.addListener(ek),ek(ee),()=>ee.removeListener(ek)},[ek]),(0,eH.useEffect)(()=>{let ee=ee=>{ee.key===ei&&ew(ee.newValue||eu)};return window.addEventListener("storage",ee),()=>window.removeEventListener("storage",ee)},[ew]),(0,eH.useEffect)(()=>{eb(null!=ee?ee:em)},[ee,em]);let e_=(0,eH.useMemo)(()=>({theme:em,setTheme:ew,forcedTheme:ee,resolvedTheme:"system"===em?ex:em,themes:er?[...ec,"system"]:ec,systemTheme:er?ex:void 0}),[em,ew,ee,ex,er,ec]);return eH.createElement(rt.Provider,{value:e_},eH.createElement(rl,{forcedTheme:ee,disableTransitionOnChange:en,enableSystem:er,enableColorScheme:eo,storageKey:ei,themes:ec,defaultTheme:eu,attribute:ed,value:ef,children:eh,attrs:ey,nonce:ep}),eh)},rl=(0,eH.memo)(({forcedTheme:ee,storageKey:en,attribute:er,enableSystem:eo,enableColorScheme:ei,defaultTheme:ec,value:eu,attrs:ed,nonce:ef})=>{let eh="system"===ec,ep="class"===er?`var d=document.documentElement,c=d.classList;c.remove(${ed.map(ee=>`'${ee}'`).join(",")});`:`var d=document.documentElement,n='${er}',s='setAttribute';`,em=ei?n9.includes(ec)&&ec?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${ec}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",eg=(ee,en=!1,eo=!0)=>{let ec=eu?eu[ee]:ee,ed=en?ee+"|| ''":`'${ec}'`,ef="";return ei&&eo&&!en&&n9.includes(ee)&&(ef+=`d.style.colorScheme = '${ee}';`),"class"===er?ef+=en||ec?`c.add(${ed})`:"null":ec&&(ef+=`d[s](n,${ed})`),ef},ex=ee?`!function(){${ep}${eg(ee)}}()`:eo?`!function(){try{${ep}var e=localStorage.getItem('${en}');if('system'===e||(!e&&${eh})){var t='${n7}',m=window.matchMedia(t);if(m.media!==t||m.matches){${eg("dark")}}else{${eg("light")}}}else if(e){${eu?`var x=${JSON.stringify(eu)};`:""}${eg(eu?"x[e]":"e",!0)}}${eh?"":"else{"+eg(ec,!1,!1)+"}"}${em}}catch(e){}}()`:`!function(){try{${ep}var e=localStorage.getItem('${en}');if(e){${eu?`var x=${JSON.stringify(eu)};`:""}${eg(eu?"x[e]":"e",!0)}}else{${eg(ec,!1,!1)};}${em}}catch(t){}}();`;return eH.createElement("script",{nonce:ef,dangerouslySetInnerHTML:{__html:ex}})},()=>!0),rc=(ee,en)=>{let er;if(!n8){try{er=localStorage.getItem(ee)||void 0}catch(ee){}return er||en}},ru=()=>{let ee=document.createElement("style");return ee.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(ee),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(ee)},1)}},rd=ee=>(ee||(ee=window.matchMedia(n7)),ee.matches?"dark":"light");var rf={breadcrumb:!0,collapsed:!1,footer:!0,layout:"default",navbar:!0,pagination:!0,sidebar:!0,timestamp:!0,toc:!0,typesetting:"default"},rh=n5.strictObject({breadcrumb:n5.boolean(),collapsed:n5.boolean(),footer:n5.boolean(),layout:n5.enum(["default","full","raw"]),navbar:n5.boolean(),pagination:n5.boolean(),sidebar:n5.boolean(),timestamp:n5.boolean(),toc:n5.boolean(),typesetting:n5.enum(["default","article"])}),rp=n5.enum(["normal","hidden","children"]),rm=n5.string(),rg=n5.strictObject({href:n5.string(),newWindow:n5.boolean(),title:rm}),rx=n5.strictObject({display:rp.optional(),items:n5.record(rg.partial({href:!0,newWindow:!0})),title:rm,type:n5.literal("menu")}),rv=n5.strictObject({title:rm,type:n5.literal("separator")}),ry=rg.extend({display:rp,theme:rh,title:rm,type:n5.enum(["page","doc"])}).deepPartial();function rb(ee={},en){"string"==typeof ee&&(ee={title:ee});let er=Object.assign({},en.theme,ee.theme);return Object.assign({},en,ee,{theme:er})}function rw(ee){for(let en of ee){if(en.route)return en.route;if(en.children){let ee=rw(en.children);if(ee)return ee}}}function rk({list:ee,locale:en,defaultLocale:er,route:eo,docsRoot:ei="",underCurrentDocsRoot:ec=!1,pageThemeContext:eu=rf}){let ed,ef;for(let er of ee)if("Meta"===er.kind){if(er.locale===en){ed=er.data;break}ed||(ed=er.data)}let eh=ed||{},ep=Object.keys(eh);for(let ee of ep)"string"==typeof eh[ee]&&(eh[ee]={title:eh[ee]});let em=[],eg=[],ex=[],ev=[],ey=[],eb=0,ew=eu,ek=[],e_=-1,ej=eh["*"]||{};delete ej.title,delete ej.href;let eE=ee.filter(ee=>"Meta"!==ee.kind&&!ee.name.startsWith("_")&&(!("locale"in ee)||!ee.locale||[en,er].includes(ee.locale))).sort((ee,en)=>{let er=ep.indexOf(ee.name),eo=ep.indexOf(en.name);return -1===er&&-1===eo?ee.name{let en;let er=[],eo=ep.indexOf(ee.name);if(-1!==eo){for(let ee=e_+1;ee({...ed,type:eO,...eN&&{title:eN},...e_&&{display:e_},...eT&&{children:[]}}),eI=eA(),eR=eA(),eM=eA();if(eR.isUnderCurrentDocsTree=eS,"separator"===eO&&(eI.isUnderCurrentDocsTree=eS),ed.route===eo)switch(ek=[eI],ef=eO,ew={...ew,...eC},eO){case"page":case"menu":eb=ey.length;break;case"doc":eb=ev.length}if(!("hidden"===e_&&"Folder"!==eI.kind||e$.hV.has(ed.route))){if(eT){if(void 0!==eT.activeIndex&&void 0!==eT.activeType){switch(ew=eT.activeThemeContext,ef=eT.activeType,ek=[eI,...eT.activePath],ef){case"page":case"menu":eb=ey.length+eT.activeIndex;break;case"doc":eb=ev.length+eT.activeIndex}ed.withIndexPage&&"doc"===eO&&eb++}switch(eO){case"page":case"menu":eM.children.push(...eT.directories),ex.push(...eT.docsDirectories),eT.flatDirectories.length?(eM.firstChildRoute=rw(eT.flatDirectories),ey.push(eM)):eM.withIndexPage&&ey.push(eM);break;case"doc":Array.isArray(eR.children)&&eR.children.push(...eT.docsDirectories),eI.withIndexPage&&"children"!==e_&&ev.push(eR)}eg.push(...eT.flatDirectories),ev.push(...eT.flatDocsDirectories),Array.isArray(eI.children)&&eI.children.push(...eT.directories)}else switch(eg.push(eI),eO){case"page":case"menu":ey.push(eM);break;case"doc":ev.push(eR)}switch("doc"===eO&&"children"===e_?eR.children&&(em.push(...eR.children),ex.push(...eR.children)):em.push(eI),eO){case"page":case"menu":ex.push(eM);break;case"doc":"children"!==e_&&ex.push(eR);break;case"separator":ex.push(eI)}}}return{activeType:ef,activeIndex:eb,activeThemeContext:ew,activePath:ek,directories:em,flatDirectories:eg,docsDirectories:ex,flatDocsDirectories:ev,topLevelNavbarItems:ey}}n5.string().or(rx).or(rv).or(ry);var r_=er(10227),rj=er.n(r_);function rE(ee){if(null==ee)return window;if("[object Window]"!==ee.toString()){var en=ee.ownerDocument;return en&&en.defaultView||window}return ee}function rO(ee){var en=rE(ee).Element;return ee instanceof en||ee instanceof Element}function rC(ee){var en=rE(ee).HTMLElement;return ee instanceof en||ee instanceof HTMLElement}function rS(ee){if("undefined"==typeof ShadowRoot)return!1;var en=rE(ee).ShadowRoot;return ee instanceof en||ee instanceof ShadowRoot}var rT=Math.max,rN=Math.min,rA=Math.round;function rI(){var ee=navigator.userAgentData;return null!=ee&&ee.brands&&Array.isArray(ee.brands)?ee.brands.map(function(ee){return ee.brand+"/"+ee.version}).join(" "):navigator.userAgent}function rR(){return!/^((?!chrome|android).)*safari/i.test(rI())}function rM(ee,en,er){void 0===en&&(en=!1),void 0===er&&(er=!1);var eo=ee.getBoundingClientRect(),ei=1,ec=1;en&&rC(ee)&&(ei=ee.offsetWidth>0&&rA(eo.width)/ee.offsetWidth||1,ec=ee.offsetHeight>0&&rA(eo.height)/ee.offsetHeight||1);var eu=(rO(ee)?rE(ee):window).visualViewport,ed=!rR()&&er,ef=(eo.left+(ed&&eu?eu.offsetLeft:0))/ei,eh=(eo.top+(ed&&eu?eu.offsetTop:0))/ec,ep=eo.width/ei,em=eo.height/ec;return{width:ep,height:em,top:eh,right:ef+ep,bottom:eh+em,left:ef,x:ef,y:eh}}function rL(ee){var en=rE(ee);return{scrollLeft:en.pageXOffset,scrollTop:en.pageYOffset}}function rP(ee){return{scrollLeft:ee.scrollLeft,scrollTop:ee.scrollTop}}function rZ(ee){return ee!==rE(ee)&&rC(ee)?rP(ee):rL(ee)}function rD(ee){return ee?(ee.nodeName||"").toLowerCase():null}function rF(ee){return((rO(ee)?ee.ownerDocument:ee.document)||window.document).documentElement}function rH(ee){return rM(rF(ee)).left+rL(ee).scrollLeft}function rz(ee){return rE(ee).getComputedStyle(ee)}function rB(ee){var en=rz(ee),er=en.overflow,eo=en.overflowX,ei=en.overflowY;return/auto|scroll|overlay|hidden/.test(er+ei+eo)}function rW(ee){var en=ee.getBoundingClientRect(),er=rA(en.width)/ee.offsetWidth||1,eo=rA(en.height)/ee.offsetHeight||1;return 1!==er||1!==eo}function rG(ee,en,er){void 0===er&&(er=!1);var eo=rC(en),ei=rC(en)&&rW(en),ec=rF(en),eu=rM(ee,ei,er),ed={scrollLeft:0,scrollTop:0},ef={x:0,y:0};return(eo||!eo&&!er)&&(("body"!==rD(en)||rB(ec))&&(ed=rZ(en)),rC(en)?(ef=rM(en,!0),ef.x+=en.clientLeft,ef.y+=en.clientTop):ec&&(ef.x=rH(ec))),{x:eu.left+ed.scrollLeft-ef.x,y:eu.top+ed.scrollTop-ef.y,width:eu.width,height:eu.height}}function r$(ee){var en=rM(ee),er=ee.offsetWidth,eo=ee.offsetHeight;return 1>=Math.abs(en.width-er)&&(er=en.width),1>=Math.abs(en.height-eo)&&(eo=en.height),{x:ee.offsetLeft,y:ee.offsetTop,width:er,height:eo}}function rU(ee){return"html"===rD(ee)?ee:ee.assignedSlot||ee.parentNode||(rS(ee)?ee.host:null)||rF(ee)}function rV(ee){return["html","body","#document"].indexOf(rD(ee))>=0?ee.ownerDocument.body:rC(ee)&&rB(ee)?ee:rV(rU(ee))}function rq(ee,en){void 0===en&&(en=[]);var er,eo=rV(ee),ei=eo===(null==(er=ee.ownerDocument)?void 0:er.body),ec=rE(eo),eu=ei?[ec].concat(ec.visualViewport||[],rB(eo)?eo:[]):eo,ed=en.concat(eu);return ei?ed:ed.concat(rq(rU(eu)))}function rX(ee){return["table","td","th"].indexOf(rD(ee))>=0}function rK(ee){return rC(ee)&&"fixed"!==rz(ee).position?ee.offsetParent:null}function rQ(ee){var en=/firefox/i.test(rI());if(/Trident/i.test(rI())&&rC(ee)&&"fixed"===rz(ee).position)return null;var er=rU(ee);for(rS(er)&&(er=er.host);rC(er)&&0>["html","body"].indexOf(rD(er));){var eo=rz(er);if("none"!==eo.transform||"none"!==eo.perspective||"paint"===eo.contain||-1!==["transform","perspective"].indexOf(eo.willChange)||en&&"filter"===eo.willChange||en&&eo.filter&&"none"!==eo.filter)return er;er=er.parentNode}return null}function rY(ee){for(var en=rE(ee),er=rK(ee);er&&rX(er)&&"static"===rz(er).position;)er=rK(er);return er&&("html"===rD(er)||"body"===rD(er)&&"static"===rz(er).position)?en:er||rQ(ee)||en}var rJ="top",r0="bottom",r1="right",r2="left",r5="auto",r4=[rJ,r0,r1,r2],r3="start",r6="end",r9="clippingParents",r7="viewport",r8="popper",ot="reference",on=r4.reduce(function(ee,en){return ee.concat([en+"-"+r3,en+"-"+r6])},[]),or=[].concat(r4,[r5]).reduce(function(ee,en){return ee.concat([en,en+"-"+r3,en+"-"+r6])},[]),oo=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function oi(ee){var en=new Map,er=new Set,eo=[];function ei(ee){er.add(ee.name),[].concat(ee.requires||[],ee.requiresIfExists||[]).forEach(function(ee){if(!er.has(ee)){var eo=en.get(ee);eo&&ei(eo)}}),eo.push(ee)}return ee.forEach(function(ee){en.set(ee.name,ee)}),ee.forEach(function(ee){er.has(ee.name)||ei(ee)}),eo}function os(ee){var en=oi(ee);return oo.reduce(function(ee,er){return ee.concat(en.filter(function(ee){return ee.phase===er}))},[])}function ol(ee){var en;return function(){return en||(en=new Promise(function(er){Promise.resolve().then(function(){en=void 0,er(ee())})})),en}}function oc(ee){var en=ee.reduce(function(ee,en){var er=ee[en.name];return ee[en.name]=er?Object.assign({},er,en,{options:Object.assign({},er.options,en.options),data:Object.assign({},er.data,en.data)}):en,ee},{});return Object.keys(en).map(function(ee){return en[ee]})}var ou={placement:"bottom",modifiers:[],strategy:"absolute"};function od(){for(var ee=arguments.length,en=Array(ee),er=0;er=0?"x":"y"}function og(ee){var en,er=ee.reference,eo=ee.element,ei=ee.placement,ec=ei?oh(ei):null,eu=ei?op(ei):null,ed=er.x+er.width/2-eo.width/2,ef=er.y+er.height/2-eo.height/2;switch(ec){case rJ:en={x:ed,y:er.y-eo.height};break;case r0:en={x:ed,y:er.y+er.height};break;case r1:en={x:er.x+er.width,y:ef};break;case r2:en={x:er.x-eo.width,y:ef};break;default:en={x:er.x,y:er.y}}var eh=ec?om(ec):null;if(null!=eh){var ep="y"===eh?"height":"width";switch(eu){case r3:en[eh]=en[eh]-(er[ep]/2-eo[ep]/2);break;case r6:en[eh]=en[eh]+(er[ep]/2-eo[ep]/2)}}return en}var ox={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ov(ee,en){var er=ee.x,eo=ee.y,ei=en.devicePixelRatio||1;return{x:rA(er*ei)/ei||0,y:rA(eo*ei)/ei||0}}function oy(ee){var en,er,eo=ee.popper,ei=ee.popperRect,ec=ee.placement,eu=ee.variation,ed=ee.offsets,ef=ee.position,eh=ee.gpuAcceleration,ep=ee.adaptive,em=ee.roundOffsets,eg=ee.isFixed,ex=ed.x,ev=void 0===ex?0:ex,ey=ed.y,eb=void 0===ey?0:ey,ew="function"==typeof em?em({x:ev,y:eb}):{x:ev,y:eb};ev=ew.x,eb=ew.y;var ek=ed.hasOwnProperty("x"),e_=ed.hasOwnProperty("y"),ej=r2,eE=rJ,eO=window;if(ep){var eC=rY(eo),eS="clientHeight",eT="clientWidth";eC===rE(eo)&&"static"!==rz(eC=rF(eo)).position&&"absolute"===ef&&(eS="scrollHeight",eT="scrollWidth"),(ec===rJ||(ec===r2||ec===r1)&&eu===r6)&&(eE=r0,eb-=(eg&&eC===eO&&eO.visualViewport?eO.visualViewport.height:eC[eS])-ei.height,eb*=eh?1:-1),(ec===r2||(ec===rJ||ec===r0)&&eu===r6)&&(ej=r1,ev-=(eg&&eC===eO&&eO.visualViewport?eO.visualViewport.width:eC[eT])-ei.width,ev*=eh?1:-1)}var eN=Object.assign({position:ef},ep&&ox),eA=!0===em?ov({x:ev,y:eb},rE(eo)):{x:ev,y:eb};return(ev=eA.x,eb=eA.y,eh)?Object.assign({},eN,((er={})[eE]=e_?"0":"",er[ej]=ek?"0":"",er.transform=1>=(eO.devicePixelRatio||1)?"translate("+ev+"px, "+eb+"px)":"translate3d("+ev+"px, "+eb+"px, 0)",er)):Object.assign({},eN,((en={})[eE]=e_?eb+"px":"",en[ej]=ek?ev+"px":"",en.transform="",en))}function ob(ee,en,er){var eo=oh(ee),ei=[r2,rJ].indexOf(eo)>=0?-1:1,ec="function"==typeof er?er(Object.assign({},en,{placement:ee})):er,eu=ec[0],ed=ec[1];return eu=eu||0,ed=(ed||0)*ei,[r2,r1].indexOf(eo)>=0?{x:ed,y:eu}:{x:eu,y:ed}}var ow={left:"right",right:"left",bottom:"top",top:"bottom"};function o_(ee){return ee.replace(/left|right|bottom|top/g,function(ee){return ow[ee]})}var oj={start:"end",end:"start"};function oE(ee){return ee.replace(/start|end/g,function(ee){return oj[ee]})}function oO(ee,en){var er=rE(ee),eo=rF(ee),ei=er.visualViewport,ec=eo.clientWidth,eu=eo.clientHeight,ed=0,ef=0;if(ei){ec=ei.width,eu=ei.height;var eh=rR();(eh||!eh&&"fixed"===en)&&(ed=ei.offsetLeft,ef=ei.offsetTop)}return{width:ec,height:eu,x:ed+rH(ee),y:ef}}function oC(ee){var en,er=rF(ee),eo=rL(ee),ei=null==(en=ee.ownerDocument)?void 0:en.body,ec=rT(er.scrollWidth,er.clientWidth,ei?ei.scrollWidth:0,ei?ei.clientWidth:0),eu=rT(er.scrollHeight,er.clientHeight,ei?ei.scrollHeight:0,ei?ei.clientHeight:0),ed=-eo.scrollLeft+rH(ee),ef=-eo.scrollTop;return"rtl"===rz(ei||er).direction&&(ed+=rT(er.clientWidth,ei?ei.clientWidth:0)-ec),{width:ec,height:eu,x:ed,y:ef}}function oS(ee,en){var er=en.getRootNode&&en.getRootNode();if(ee.contains(en))return!0;if(er&&rS(er)){var eo=en;do{if(eo&&ee.isSameNode(eo))return!0;eo=eo.parentNode||eo.host}while(eo)}return!1}function oT(ee){return Object.assign({},ee,{left:ee.x,top:ee.y,right:ee.x+ee.width,bottom:ee.y+ee.height})}function oN(ee,en){var er=rM(ee,!1,"fixed"===en);return er.top=er.top+ee.clientTop,er.left=er.left+ee.clientLeft,er.bottom=er.top+ee.clientHeight,er.right=er.left+ee.clientWidth,er.width=ee.clientWidth,er.height=ee.clientHeight,er.x=er.left,er.y=er.top,er}function oA(ee,en,er){return en===r7?oT(oO(ee,er)):rO(en)?oN(en,er):oT(oC(rF(ee)))}function oI(ee){var en=rq(rU(ee)),er=["absolute","fixed"].indexOf(rz(ee).position)>=0&&rC(ee)?rY(ee):ee;return rO(er)?en.filter(function(ee){return rO(ee)&&oS(ee,er)&&"body"!==rD(ee)}):[]}function oR(ee,en,er,eo){var ei=[].concat("clippingParents"===en?oI(ee):[].concat(en),[er]),ec=ei[0],eu=ei.reduce(function(en,er){var ei=oA(ee,er,eo);return en.top=rT(ei.top,en.top),en.right=rN(ei.right,en.right),en.bottom=rN(ei.bottom,en.bottom),en.left=rT(ei.left,en.left),en},oA(ee,ec,eo));return eu.width=eu.right-eu.left,eu.height=eu.bottom-eu.top,eu.x=eu.left,eu.y=eu.top,eu}function oM(){return{top:0,right:0,bottom:0,left:0}}function oL(ee){return Object.assign({},oM(),ee)}function oP(ee,en){return en.reduce(function(en,er){return en[er]=ee,en},{})}function oZ(ee,en){void 0===en&&(en={});var er=en,eo=er.placement,ei=void 0===eo?ee.placement:eo,ec=er.strategy,eu=void 0===ec?ee.strategy:ec,ed=er.boundary,ef=void 0===ed?r9:ed,eh=er.rootBoundary,ep=void 0===eh?r7:eh,em=er.elementContext,eg=void 0===em?r8:em,ex=er.altBoundary,ev=void 0!==ex&&ex,ey=er.padding,eb=void 0===ey?0:ey,ew=oL("number"!=typeof eb?eb:oP(eb,r4)),ek=eg===r8?ot:r8,e_=ee.rects.popper,ej=ee.elements[ev?ek:eg],eE=oR(rO(ej)?ej:ej.contextElement||rF(ee.elements.popper),ef,ep,eu),eO=rM(ee.elements.reference),eC=og({reference:eO,element:e_,strategy:"absolute",placement:ei}),eS=oT(Object.assign({},e_,eC)),eT=eg===r8?eS:eO,eN={top:eE.top-eT.top+ew.top,bottom:eT.bottom-eE.bottom+ew.bottom,left:eE.left-eT.left+ew.left,right:eT.right-eE.right+ew.right},eA=ee.modifiersData.offset;if(eg===r8&&eA){var eI=eA[ei];Object.keys(eN).forEach(function(ee){var en=[r1,r0].indexOf(ee)>=0?1:-1,er=[rJ,r0].indexOf(ee)>=0?"y":"x";eN[ee]+=eI[er]*en})}return eN}function oD(ee,en){void 0===en&&(en={});var er=en,eo=er.placement,ei=er.boundary,ec=er.rootBoundary,eu=er.padding,ed=er.flipVariations,ef=er.allowedAutoPlacements,eh=void 0===ef?or:ef,ep=op(eo),em=ep?ed?on:on.filter(function(ee){return op(ee)===ep}):r4,eg=em.filter(function(ee){return eh.indexOf(ee)>=0});0===eg.length&&(eg=em);var ex=eg.reduce(function(en,er){return en[er]=oZ(ee,{placement:er,boundary:ei,rootBoundary:ec,padding:eu})[oh(er)],en},{});return Object.keys(ex).sort(function(ee,en){return ex[ee]-ex[en]})}function oF(ee){if(oh(ee)===r5)return[];var en=o_(ee);return[oE(ee),en,oE(en)]}function oH(ee){return"x"===ee?"y":"x"}function oz(ee,en,er){return rT(ee,rN(en,er))}function oB(ee,en,er){var eo=oz(ee,en,er);return eo>er?er:eo}var oW=function(ee,en){return oL("number"!=typeof(ee="function"==typeof ee?ee(Object.assign({},en.rects,{placement:en.placement})):ee)?ee:oP(ee,r4))};function oG(ee,en,er){return void 0===er&&(er={x:0,y:0}),{top:ee.top-en.height-er.y,right:ee.right-en.width+er.x,bottom:ee.bottom-en.height+er.y,left:ee.left-en.width-er.x}}function o$(ee){return[rJ,r1,r0,r2].some(function(en){return ee[en]>=0})}var oU=function(ee){void 0===ee&&(ee={});var en=ee,er=en.defaultModifiers,eo=void 0===er?[]:er,ei=en.defaultOptions,ec=void 0===ei?ou:ei;return function(ee,en,er){void 0===er&&(er=ec);var ei={placement:"bottom",orderedModifiers:[],options:Object.assign({},ou,ec),modifiersData:{},elements:{reference:ee,popper:en},attributes:{},styles:{}},eu=[],ed=!1,ef={state:ei,setOptions:function(er){var eu="function"==typeof er?er(ei.options):er;ep(),ei.options=Object.assign({},ec,ei.options,eu),ei.scrollParents={reference:rO(ee)?rq(ee):ee.contextElement?rq(ee.contextElement):[],popper:rq(en)};var ed=os(oc([].concat(eo,ei.options.modifiers)));return ei.orderedModifiers=ed.filter(function(ee){return ee.enabled}),eh(),ef.update()},forceUpdate:function(){if(!ed){var ee=ei.elements,en=ee.reference,er=ee.popper;if(od(en,er)){ei.rects={reference:rG(en,rY(er),"fixed"===ei.options.strategy),popper:r$(er)},ei.reset=!1,ei.placement=ei.options.placement,ei.orderedModifiers.forEach(function(ee){return ei.modifiersData[ee.name]=Object.assign({},ee.data)});for(var eo=0;eo=0,eM=eR?"width":"height",eL=oZ(en,{placement:eN,boundary:ep,rootBoundary:em,altBoundary:eg,padding:eh}),eP=eR?eI?r1:r2:eI?r0:rJ;ej[eM]>eE[eM]&&(eP=o_(eP));var eZ=o_(eP),eD=[];if(ec&&eD.push(eL[eA]<=0),ed&&eD.push(eL[eP]<=0,eL[eZ]<=0),eD.every(function(ee){return ee})){eS=eN,eC=!1;break}eO.set(eN,eD)}if(eC)for(var eF=ev?3:1,eH=function(ee){var en=e_.find(function(en){var er=eO.get(en);if(er)return er.slice(0,ee).every(function(ee){return ee})});if(en)return eS=en,"break"},ez=eF;ez>0&&"break"!==eH(ez);ez--);en.placement!==eS&&(en.modifiersData[eo]._skip=!0,en.placement=eS,en.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(ee){var en=ee.state,er=ee.options,eo=ee.name,ei=er.mainAxis,ec=void 0===ei||ei,eu=er.altAxis,ed=void 0!==eu&&eu,ef=er.boundary,eh=er.rootBoundary,ep=er.altBoundary,em=er.padding,eg=er.tether,ex=void 0===eg||eg,ev=er.tetherOffset,ey=void 0===ev?0:ev,eb=oZ(en,{boundary:ef,rootBoundary:eh,padding:em,altBoundary:ep}),ew=oh(en.placement),ek=op(en.placement),e_=!ek,ej=om(ew),eE=oH(ej),eO=en.modifiersData.popperOffsets,eC=en.rects.reference,eS=en.rects.popper,eT="function"==typeof ey?ey(Object.assign({},en.rects,{placement:en.placement})):ey,eN="number"==typeof eT?{mainAxis:eT,altAxis:eT}:Object.assign({mainAxis:0,altAxis:0},eT),eA=en.modifiersData.offset?en.modifiersData.offset[en.placement]:null,eI={x:0,y:0};if(eO){if(ec){var eR,eM="y"===ej?rJ:r2,eL="y"===ej?r0:r1,eP="y"===ej?"height":"width",eZ=eO[ej],eD=eZ+eb[eM],eF=eZ-eb[eL],eH=ex?-eS[eP]/2:0,ez=ek===r3?eC[eP]:eS[eP],eB=ek===r3?-eS[eP]:-eC[eP],eW=en.elements.arrow,eG=ex&&eW?r$(eW):{width:0,height:0},e$=en.modifiersData["arrow#persistent"]?en.modifiersData["arrow#persistent"].padding:oM(),eU=e$[eM],eV=e$[eL],eq=oz(0,eC[eP],eG[eP]),eX=e_?eC[eP]/2-eH-eq-eU-eN.mainAxis:ez-eq-eU-eN.mainAxis,eK=e_?-eC[eP]/2+eH+eq+eV+eN.mainAxis:eB+eq+eV+eN.mainAxis,eQ=en.elements.arrow&&rY(en.elements.arrow),eY=eQ?"y"===ej?eQ.clientTop||0:eQ.clientLeft||0:0,eJ=null!=(eR=null==eA?void 0:eA[ej])?eR:0,e0=eZ+eX-eJ-eY,e1=eZ+eK-eJ,e2=oz(ex?rN(eD,e0):eD,eZ,ex?rT(eF,e1):eF);eO[ej]=e2,eI[ej]=e2-eZ}if(ed){var e5,e4="x"===ej?rJ:r2,e3="x"===ej?r0:r1,e6=eO[eE],e9="y"===eE?"height":"width",e7=e6+eb[e4],e8=e6-eb[e3],tn=-1!==[rJ,r2].indexOf(ew),tr=null!=(e5=null==eA?void 0:eA[eE])?e5:0,to=tn?e7:e6-eC[e9]-eS[e9]-tr+eN.altAxis,ti=tn?e6+eC[e9]+eS[e9]-tr-eN.altAxis:e8,ts=ex&&tn?oB(to,e6,ti):oz(ex?to:e7,e6,ex?ti:e8);eO[eE]=ts,eI[eE]=ts-e6}en.modifiersData[eo]=eI}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(ee){var en,er=ee.state,eo=ee.name,ei=ee.options,ec=er.elements.arrow,eu=er.modifiersData.popperOffsets,ed=oh(er.placement),ef=om(ed),eh=[r2,r1].indexOf(ed)>=0?"height":"width";if(ec&&eu){var ep=oW(ei.padding,er),em=r$(ec),eg="y"===ef?rJ:r2,ex="y"===ef?r0:r1,ev=er.rects.reference[eh]+er.rects.reference[ef]-eu[ef]-er.rects.popper[eh],ey=eu[ef]-er.rects.reference[ef],eb=rY(ec),ew=eb?"y"===ef?eb.clientHeight||0:eb.clientWidth||0:0,ek=ev/2-ey/2,e_=ep[eg],ej=ew-em[eh]-ep[ex],eE=ew/2-em[eh]/2+ek,eO=oz(e_,eE,ej),eC=ef;er.modifiersData[eo]=((en={})[eC]=eO,en.centerOffset=eO-eE,en)}},effect:function(ee){var en=ee.state,er=ee.options.element,eo=void 0===er?"[data-popper-arrow]":er;null!=eo&&("string"!=typeof eo||(eo=en.elements.popper.querySelector(eo)))&&oS(en.elements.popper,eo)&&(en.elements.arrow=eo)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(ee){var en=ee.state,er=ee.name,eo=en.rects.reference,ei=en.rects.popper,ec=en.modifiersData.preventOverflow,eu=oZ(en,{elementContext:"reference"}),ed=oZ(en,{altBoundary:!0}),ef=oG(eu,eo),eh=oG(ed,ei,ec),ep=o$(ef),em=o$(eh);en.modifiersData[er]={referenceClippingOffsets:ef,popperEscapeOffsets:eh,isReferenceHidden:ep,hasPopperEscaped:em},en.attributes.popper=Object.assign({},en.attributes.popper,{"data-popper-reference-hidden":ep,"data-popper-escaped":em})}}]}),oV=er(89752),oq=er.n(oV);function oX(ee){if("string"!=typeof ee)throw TypeError("Expected a string");return ee.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function oK(...ee){return Array.from(new Set(ee.flatMap(ee=>"string"==typeof ee?ee.split(" "):[]))).filter(Boolean).join(" ")}function oQ(ee,en,...er){if(ee in en){let eo=en[ee];return"function"==typeof eo?eo(...er):eo}let eo=Error(`Tried to handle "${ee}" but there is no handler defined. Only defined handlers are: ${Object.keys(en).map(ee=>`"${ee}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(eo,oQ),eo}var oY=((ei=oY||{})[ei.None=0]="None",ei[ei.RenderStrategy=1]="RenderStrategy",ei[ei.Static=2]="Static",ei),oJ=((ec=oJ||{})[ec.Unmount=0]="Unmount",ec[ec.Hidden=1]="Hidden",ec);function o0({ourProps:ee,theirProps:en,slot:er,defaultTag:eo,features:ei,visible:ec=!0,name:eu}){let ed=o5(en,ee);if(ec)return o1(ed,er,eo,eu);let ef=null!=ei?ei:0;if(2&ef){let{static:ee=!1,...en}=ed;if(ee)return o1(en,er,eo,eu)}if(1&ef){let{unmount:ee=!0,...en}=ed;return oQ(ee?0:1,{0:()=>null,1:()=>o1({...en,hidden:!0,style:{display:"none"}},er,eo,eu)})}return o1(ed,er,eo,eu)}function o1(ee,en={},er,eo){let{as:ei=er,children:ec,refName:eu="ref",...ed}=o6(ee,["unmount","static"]),ef=void 0!==ee.ref?{[eu]:ee.ref}:{},eh="function"==typeof ec?ec(en):ec;"className"in ed&&ed.className&&"function"==typeof ed.className&&(ed.className=ed.className(en));let ep={};if(en){let ee=!1,er=[];for(let[eo,ei]of Object.entries(en))"boolean"==typeof ei&&(ee=!0),!0===ei&&er.push(eo);ee&&(ep["data-headlessui-state"]=er.join(" "))}if(ei===eH.Fragment&&Object.keys(o3(ed)).length>0){if(!(0,eH.isValidElement)(eh)||Array.isArray(eh)&&eh.length>1)throw Error(['Passing props on "Fragment"!',"",`The current component <${eo} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(ed).map(ee=>` - ${ee}`).join(` -`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(ee=>` - ${ee}`).join(` -`)].join(` -`));let ee=eh.props,en="function"==typeof(null==ee?void 0:ee.className)?(...en)=>oK(null==ee?void 0:ee.className(...en),ed.className):oK(null==ee?void 0:ee.className,ed.className),er=en?{className:en}:{};return(0,eH.cloneElement)(eh,Object.assign({},o5(eh.props,o3(o6(ed,["ref"]))),ep,ef,o2(eh.ref,ef.ref),er))}return(0,eH.createElement)(ei,Object.assign({},o6(ed,["ref"]),ei!==eH.Fragment&&ef,ei!==eH.Fragment&&ep),eh)}function o2(...ee){return{ref:ee.every(ee=>null==ee)?void 0:en=>{for(let er of ee)null!=er&&("function"==typeof er?er(en):er.current=en)}}}function o5(...ee){var en;if(0===ee.length)return{};if(1===ee.length)return ee[0];let er={},eo={};for(let ei of ee)for(let ee in ei)ee.startsWith("on")&&"function"==typeof ei[ee]?(null!=(en=eo[ee])||(eo[ee]=[]),eo[ee].push(ei[ee])):er[ee]=ei[ee];if(er.disabled||er["aria-disabled"])return Object.assign(er,Object.fromEntries(Object.keys(eo).map(ee=>[ee,void 0])));for(let ee in eo)Object.assign(er,{[ee](en,...er){for(let ei of eo[ee]){if((en instanceof Event||(null==en?void 0:en.nativeEvent)instanceof Event)&&en.defaultPrevented)return;ei(en,...er)}}});return er}function o4(ee){var en;return Object.assign((0,eH.forwardRef)(ee),{displayName:null!=(en=ee.displayName)?en:ee.name})}function o3(ee){let en=Object.assign({},ee);for(let ee in en)void 0===en[ee]&&delete en[ee];return en}function o6(ee,en=[]){let er=Object.assign({},ee);for(let ee of en)ee in er&&delete er[ee];return er}let o9=(0,eH.createContext)(null);o9.displayName="OpenClosedContext";var o7=((eu=o7||{})[eu.Open=1]="Open",eu[eu.Closed=2]="Closed",eu[eu.Closing=4]="Closing",eu[eu.Opening=8]="Opening",eu);function o8(){return(0,eH.useContext)(o9)}function it({value:ee,children:en}){return eH.createElement(o9.Provider,{value:ee},en)}var ir=Object.defineProperty,io=(ee,en,er)=>en in ee?ir(ee,en,{enumerable:!0,configurable:!0,writable:!0,value:er}):ee[en]=er,ii=(ee,en,er)=>(io(ee,"symbol"!=typeof en?en+"":en,er),er);class is{constructor(){ii(this,"current",this.detect()),ii(this,"handoffState","pending"),ii(this,"currentId",0)}set(ee){this.current!==ee&&(this.handoffState="pending",this.currentId=0,this.current=ee)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}}let il=new is,ic=(ee,en)=>{il.isServer?(0,eH.useEffect)(ee,en):(0,eH.useLayoutEffect)(ee,en)};function iu(){let ee=(0,eH.useRef)(!1);return ic(()=>(ee.current=!0,()=>{ee.current=!1}),[]),ee}function ih(ee){let en=(0,eH.useRef)(ee);return ic(()=>{en.current=ee},[ee]),en}function im(){let ee="undefined"==typeof document;return(0,ez.useSyncExternalStore)(()=>()=>{},()=>!1,()=>!ee)}function ig(){let ee=im(),[en,er]=eH.useState(il.isHandoffComplete);return en&&!1===il.isHandoffComplete&&er(!1),eH.useEffect(()=>{!0!==en&&er(!0)},[en]),eH.useEffect(()=>il.handoff(),[]),!ee&&en}let ix=function(ee){let en=ih(ee);return eH.useCallback((...ee)=>en.current(...ee),[en])},iv=Symbol();function iy(...ee){let en=(0,eH.useRef)(ee);(0,eH.useEffect)(()=>{en.current=ee},[ee]);let er=ix(ee=>{for(let er of en.current)null!=er&&("function"==typeof er?er(ee):er.current=ee)});return ee.every(ee=>null==ee||(null==ee?void 0:ee[iv]))?void 0:er}function ib(ee){let en={called:!1};return(...er)=>{if(!en.called)return en.called=!0,ee(...er)}}function iw(ee){"function"==typeof queueMicrotask?queueMicrotask(ee):Promise.resolve().then(ee).catch(ee=>setTimeout(()=>{throw ee}))}function ik(){let ee=[],en={addEventListener:(ee,er,eo,ei)=>(ee.addEventListener(er,eo,ei),en.add(()=>ee.removeEventListener(er,eo,ei))),requestAnimationFrame(...ee){let er=requestAnimationFrame(...ee);return en.add(()=>cancelAnimationFrame(er))},nextFrame:(...ee)=>en.requestAnimationFrame(()=>en.requestAnimationFrame(...ee)),setTimeout(...ee){let er=setTimeout(...ee);return en.add(()=>clearTimeout(er))},microTask(...ee){let er={current:!0};return iw(()=>{er.current&&ee[0]()}),en.add(()=>{er.current=!1})},style(ee,en,er){let eo=ee.style.getPropertyValue(en);return Object.assign(ee.style,{[en]:er}),this.add(()=>{Object.assign(ee.style,{[en]:eo})})},group(ee){let en=ik();return ee(en),this.add(()=>en.dispose())},add:en=>(ee.push(en),()=>{let er=ee.indexOf(en);if(er>=0)for(let en of ee.splice(er,1))en()}),dispose(){for(let en of ee.splice(0))en()}};return en}function i_(ee,...en){ee&&en.length>0&&ee.classList.add(...en)}function ij(ee,...en){ee&&en.length>0&&ee.classList.remove(...en)}function iE(ee,en){let er=ik();if(!ee)return er.dispose;let{transitionDuration:eo,transitionDelay:ei}=getComputedStyle(ee),[ec,eu]=[eo,ei].map(ee=>{let[en=0]=ee.split(",").filter(Boolean).map(ee=>ee.includes("ms")?parseFloat(ee):1e3*parseFloat(ee)).sort((ee,en)=>en-ee);return en}),ed=ec+eu;if(0!==ed){er.group(er=>{er.setTimeout(()=>{en(),er.dispose()},ed),er.addEventListener(ee,"transitionrun",ee=>{ee.target===ee.currentTarget&&er.dispose()})});let eo=er.addEventListener(ee,"transitionend",ee=>{ee.target===ee.currentTarget&&(en(),eo())})}else en();return er.add(()=>en()),er.dispose}function iO(ee,en,er,eo){let ei=er?"enter":"leave",ec=ik(),eu=void 0!==eo?ib(eo):()=>{};"enter"===ei&&(ee.removeAttribute("hidden"),ee.style.display="");let ed=oQ(ei,{enter:()=>en.enter,leave:()=>en.leave}),ef=oQ(ei,{enter:()=>en.enterTo,leave:()=>en.leaveTo}),eh=oQ(ei,{enter:()=>en.enterFrom,leave:()=>en.leaveFrom});return ij(ee,...en.base,...en.enter,...en.enterTo,...en.enterFrom,...en.leave,...en.leaveFrom,...en.leaveTo,...en.entered),i_(ee,...en.base,...ed,...eh),ec.nextFrame(()=>{ij(ee,...en.base,...ed,...eh),i_(ee,...en.base,...ed,...ef),iE(ee,()=>(ij(ee,...en.base,...ed),i_(ee,...en.base,...en.entered),eu()))}),ec.dispose}function iC(){let[ee]=(0,eH.useState)(ik);return(0,eH.useEffect)(()=>()=>ee.dispose(),[ee]),ee}function iS({immediate:ee,container:en,direction:er,classes:eo,onStart:ei,onStop:ec}){let eu=iu(),ed=iC(),ef=ih(er);ic(()=>{ee&&(ef.current="enter")},[ee]),ic(()=>{let ee=ik();ed.add(ee.dispose);let er=en.current;if(er&&"idle"!==ef.current&&eu.current)return ee.dispose(),ei.current(ef.current),ee.add(iO(er,eo.current,"enter"===ef.current,()=>{ee.dispose(),ec.current(ef.current)})),ee.dispose},[er])}function iT(ee=0){let[en,er]=(0,eH.useState)(ee),eo=iu(),ei=(0,eH.useCallback)(ee=>{eo.current&&er(en=>en|ee)},[en,eo]),ec=(0,eH.useCallback)(ee=>!!(en&ee),[en]);return{flags:en,addFlag:ei,hasFlag:ec,removeFlag:(0,eH.useCallback)(ee=>{eo.current&&er(en=>en&~ee)},[er,eo]),toggleFlag:(0,eH.useCallback)(ee=>{eo.current&&er(en=>en^ee)},[er])}}function iN(ee=""){return ee.split(" ").filter(ee=>ee.trim().length>1)}let iA=(0,eH.createContext)(null);iA.displayName="TransitionContext";var iI=((ed=iI||{}).Visible="visible",ed.Hidden="hidden",ed);function iR(){let ee=(0,eH.useContext)(iA);if(null===ee)throw Error("A is used but it is missing a parent or .");return ee}function iM(){let ee=(0,eH.useContext)(iL);if(null===ee)throw Error("A is used but it is missing a parent or .");return ee}let iL=(0,eH.createContext)(null);function iP(ee){return"children"in ee?iP(ee.children):ee.current.filter(({el:ee})=>null!==ee.current).filter(({state:ee})=>"visible"===ee).length>0}function iZ(ee,en){let er=ih(ee),eo=(0,eH.useRef)([]),ei=iu(),ec=iC(),eu=ix((ee,en=oJ.Hidden)=>{let eu=eo.current.findIndex(({el:en})=>en===ee);-1!==eu&&(oQ(en,{[oJ.Unmount](){eo.current.splice(eu,1)},[oJ.Hidden](){eo.current[eu].state="hidden"}}),ec.microTask(()=>{var ee;!iP(eo)&&ei.current&&(null==(ee=er.current)||ee.call(er))}))}),ed=ix(ee=>{let en=eo.current.find(({el:en})=>en===ee);return en?"visible"!==en.state&&(en.state="visible"):eo.current.push({el:ee,state:"visible"}),()=>eu(ee,oJ.Unmount)}),ef=(0,eH.useRef)([]),eh=(0,eH.useRef)(Promise.resolve()),ep=(0,eH.useRef)({enter:[],leave:[],idle:[]}),em=ix((ee,er,eo)=>{ef.current.splice(0),en&&(en.chains.current[er]=en.chains.current[er].filter(([en])=>en!==ee)),null==en||en.chains.current[er].push([ee,new Promise(ee=>{ef.current.push(ee)})]),null==en||en.chains.current[er].push([ee,new Promise(ee=>{Promise.all(ep.current[er].map(([ee,en])=>en)).then(()=>ee())})]),"enter"===er?eh.current=eh.current.then(()=>null==en?void 0:en.wait.current).then(()=>eo(er)):eo(er)}),eg=ix((ee,en,er)=>{Promise.all(ep.current[en].splice(0).map(([ee,en])=>en)).then(()=>{var ee;null==(ee=ef.current.shift())||ee()}).then(()=>er(en))});return(0,eH.useMemo)(()=>({children:eo,register:ed,unregister:eu,onStart:em,onStop:eg,wait:eh,chains:ep}),[ed,eu,eo,em,eg,ep,eh])}function iD(){}iL.displayName="NestingContext";let iF=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function iH(ee){var en;let er={};for(let eo of iF)er[eo]=null!=(en=ee[eo])?en:iD;return er}function iz(ee){let en=(0,eH.useRef)(iH(ee));return(0,eH.useEffect)(()=>{en.current=iH(ee)},[ee]),en}let iB="div",iW=oY.RenderStrategy;function iG(ee,en){var er,eo;let{beforeEnter:ei,afterEnter:ec,beforeLeave:eu,afterLeave:ed,enter:ef,enterFrom:eh,enterTo:ep,entered:em,leave:eg,leaveFrom:ex,leaveTo:ev,...ey}=ee,eb=(0,eH.useRef)(null),ew=iy(eb,en),ek=null==(er=ey.unmount)||er?oJ.Unmount:oJ.Hidden,{show:e_,appear:ej,initial:eE}=iR(),[eO,eC]=(0,eH.useState)(e_?"visible":"hidden"),eS=iM(),{register:eT,unregister:eN}=eS;(0,eH.useEffect)(()=>eT(eb),[eT,eb]),(0,eH.useEffect)(()=>{if(ek===oJ.Hidden&&eb.current){if(e_&&"visible"!==eO){eC("visible");return}return oQ(eO,{hidden:()=>eN(eb),visible:()=>eT(eb)})}},[eO,eb,eT,eN,e_,ek]);let eA=ih({base:iN(ey.className),enter:iN(ef),enterFrom:iN(eh),enterTo:iN(ep),entered:iN(em),leave:iN(eg),leaveFrom:iN(ex),leaveTo:iN(ev)}),eI=iz({beforeEnter:ei,afterEnter:ec,beforeLeave:eu,afterLeave:ed}),eR=ig();(0,eH.useEffect)(()=>{if(eR&&"visible"===eO&&null===eb.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[eb,eO,eR]);let eM=eE&&!ej,eL=ej&&e_&&eE,eP=!eR||eM?"idle":e_?"enter":"leave",eZ=iT(0),eD=ix(ee=>oQ(ee,{enter:()=>{eZ.addFlag(o7.Opening),eI.current.beforeEnter()},leave:()=>{eZ.addFlag(o7.Closing),eI.current.beforeLeave()},idle:()=>{}})),eF=ix(ee=>oQ(ee,{enter:()=>{eZ.removeFlag(o7.Opening),eI.current.afterEnter()},leave:()=>{eZ.removeFlag(o7.Closing),eI.current.afterLeave()},idle:()=>{}})),ez=iZ(()=>{eC("hidden"),eN(eb)},eS);iS({immediate:eL,container:eb,classes:eA,direction:eP,onStart:ih(ee=>{ez.onStart(eb,ee,eD)}),onStop:ih(ee=>{ez.onStop(eb,ee,eF),"leave"!==ee||iP(ez)||(eC("hidden"),eN(eb))})});let eB=ey,eW={ref:ew};return eL?eB={...eB,className:oK(ey.className,...eA.current.enter,...eA.current.enterFrom)}:(eB.className=oK(ey.className,null==(eo=eb.current)?void 0:eo.className),""===eB.className&&delete eB.className),eH.createElement(iL.Provider,{value:ez},eH.createElement(it,{value:oQ(eO,{visible:o7.Open,hidden:o7.Closed})|eZ.flags},o0({ourProps:eW,theirProps:eB,defaultTag:iB,features:iW,visible:"visible"===eO,name:"Transition.Child"})))}function i$(ee,en){let er=null!==(0,eH.useContext)(iA),eo=null!==o8();return eH.createElement(eH.Fragment,null,!er&&eo?eH.createElement(iU,{ref:en,...ee}):eH.createElement(iV,{ref:en,...ee}))}let iU=o4(function(ee,en){let{show:er,appear:eo=!1,unmount:ei=!0,...ec}=ee,eu=(0,eH.useRef)(null),ed=iy(eu,en);ig();let ef=o8();if(void 0===er&&null!==ef&&(er=(ef&o7.Open)===o7.Open),![!0,!1].includes(er))throw Error("A is used but it is missing a `show={true | false}` prop.");let[eh,ep]=(0,eH.useState)(er?"visible":"hidden"),em=iZ(()=>{ep("hidden")}),[eg,ex]=(0,eH.useState)(!0),ev=(0,eH.useRef)([er]);ic(()=>{!1!==eg&&ev.current[ev.current.length-1]!==er&&(ev.current.push(er),ex(!1))},[ev,er]);let ey=(0,eH.useMemo)(()=>({show:er,appear:eo,initial:eg}),[er,eo,eg]);(0,eH.useEffect)(()=>{if(er)ep("visible");else if(iP(em)){let ee=eu.current;if(!ee)return;let en=ee.getBoundingClientRect();0===en.x&&0===en.y&&0===en.width&&0===en.height&&ep("hidden")}else ep("hidden")},[er,em]);let eb={unmount:ei},ew=ix(()=>{var en;eg&&ex(!1),null==(en=ee.beforeEnter)||en.call(ee)}),ek=ix(()=>{var en;eg&&ex(!1),null==(en=ee.beforeLeave)||en.call(ee)});return eH.createElement(iL.Provider,{value:em},eH.createElement(iA.Provider,{value:ey},o0({ourProps:{...eb,as:eH.Fragment,children:eH.createElement(iV,{ref:ed,...eb,...ec,beforeEnter:ew,beforeLeave:ek})},theirProps:{},defaultTag:eH.Fragment,features:iW,visible:"visible"===eh,name:"Transition"})))}),iV=o4(iG),iq=Object.assign(iU,{Child:o4(i$),Root:iU});var iX=er(1751);let iK=null!=(eM=eH.useId)?eM:function(){let ee=ig(),[en,er]=eH.useState(ee?()=>il.nextId():null);return ic(()=>{null===en&&er(il.nextId())},[en]),null!=en?""+en:void 0};function iQ(ee,en){let[er,eo]=(0,eH.useState)(ee),ei=ih(ee);return ic(()=>eo(ei.current),[ei,eo,...en]),er}var iY=((ef=iY||{}).Space=" ",ef.Enter="Enter",ef.Escape="Escape",ef.Backspace="Backspace",ef.Delete="Delete",ef.ArrowLeft="ArrowLeft",ef.ArrowUp="ArrowUp",ef.ArrowRight="ArrowRight",ef.ArrowDown="ArrowDown",ef.Home="Home",ef.End="End",ef.PageUp="PageUp",ef.PageDown="PageDown",ef.Tab="Tab",ef);function iJ(ee){throw Error("Unexpected object: "+ee)}var i0=((eh=i0||{})[eh.First=0]="First",eh[eh.Previous=1]="Previous",eh[eh.Next=2]="Next",eh[eh.Last=3]="Last",eh[eh.Specific=4]="Specific",eh[eh.Nothing=5]="Nothing",eh);function i1(ee,en){let er=en.resolveItems();if(er.length<=0)return null;let eo=en.resolveActiveIndex(),ei=null!=eo?eo:-1,ec=(()=>{switch(ee.focus){case 0:return er.findIndex(ee=>!en.resolveDisabled(ee));case 1:{let ee=er.slice().reverse().findIndex((ee,er,eo)=>(-1===ei||!(eo.length-er-1>=ei))&&!en.resolveDisabled(ee));return -1===ee?ee:er.length-1-ee}case 2:return er.findIndex((ee,er)=>!(er<=ei)&&!en.resolveDisabled(ee));case 3:{let ee=er.slice().reverse().findIndex(ee=>!en.resolveDisabled(ee));return -1===ee?ee:er.length-1-ee}case 4:return er.findIndex(er=>en.resolveId(er)===ee.id);case 5:return null;default:iJ(ee)}})();return -1===ec?eo:ec}function i2(ee){let en=ee.parentElement,er=null;for(;en&&!(en instanceof HTMLFieldSetElement);)en instanceof HTMLLegendElement&&(er=en),en=en.parentElement;let eo=(null==en?void 0:en.getAttribute("disabled"))==="";return!(eo&&i5(er))&&eo}function i5(ee){if(!ee)return!1;let en=ee.previousElementSibling;for(;null!==en;){if(en instanceof HTMLLegendElement)return!1;en=en.previousElementSibling}return!0}function i4(ee){return il.isServer?null:ee instanceof Node?ee.ownerDocument:null!=ee&&ee.hasOwnProperty("current")&&ee.current instanceof Node?ee.current.ownerDocument:document}let i3=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(ee=>`${ee}:not([tabindex='-1'])`).join(",");var i6=((ep=i6||{})[ep.First=1]="First",ep[ep.Previous=2]="Previous",ep[ep.Next=4]="Next",ep[ep.Last=8]="Last",ep[ep.WrapAround=16]="WrapAround",ep[ep.NoScroll=32]="NoScroll",ep),i9=((em=i9||{})[em.Error=0]="Error",em[em.Overflow=1]="Overflow",em[em.Success=2]="Success",em[em.Underflow=3]="Underflow",em),i7=((eg=i7||{})[eg.Previous=-1]="Previous",eg[eg.Next=1]="Next",eg);function i8(ee=document.body){return null==ee?[]:Array.from(ee.querySelectorAll(i3)).sort((ee,en)=>Math.sign((ee.tabIndex||Number.MAX_SAFE_INTEGER)-(en.tabIndex||Number.MAX_SAFE_INTEGER)))}var at=((ex=at||{})[ex.Strict=0]="Strict",ex[ex.Loose=1]="Loose",ex);function an(ee,en=0){var er;return ee!==(null==(er=i4(ee))?void 0:er.body)&&oQ(en,{0:()=>ee.matches(i3),1(){let en=ee;for(;null!==en;){if(en.matches(i3))return!0;en=en.parentElement}return!1}})}function ar(ee){let en=i4(ee);ik().nextFrame(()=>{en&&!an(en.activeElement,0)&&ai(ee)})}var ao=((ev=ao||{})[ev.Keyboard=0]="Keyboard",ev[ev.Mouse=1]="Mouse",ev);function ai(ee){null==ee||ee.focus({preventScroll:!0})}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",ee=>{ee.metaKey||ee.altKey||ee.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",ee=>{1===ee.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===ee.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));let al="textarea,input";function ac(ee){var en,er;return null!=(er=null==(en=null==ee?void 0:ee.matches)?void 0:en.call(ee,al))&&er}function au(ee,en=ee=>ee){return ee.slice().sort((ee,er)=>{let eo=en(ee),ei=en(er);if(null===eo||null===ei)return 0;let ec=eo.compareDocumentPosition(ei);return ec&Node.DOCUMENT_POSITION_FOLLOWING?-1:ec&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function ad(ee,en){return af(i8(),en,{relativeTo:ee})}function af(ee,en,{sorted:er=!0,relativeTo:eo=null,skipElements:ei=[]}={}){let ec=Array.isArray(ee)?ee.length>0?ee[0].ownerDocument:document:ee.ownerDocument,eu=Array.isArray(ee)?er?au(ee):ee:i8(ee);ei.length>0&&eu.length>1&&(eu=eu.filter(ee=>!ei.includes(ee))),eo=null!=eo?eo:ec.activeElement;let ed=(()=>{if(5&en)return 1;if(10&en)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),ef=(()=>{if(1&en)return 0;if(2&en)return Math.max(0,eu.indexOf(eo))-1;if(4&en)return Math.max(0,eu.indexOf(eo))+1;if(8&en)return eu.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),eh=32&en?{preventScroll:!0}:{},ep=0,em=eu.length,eg;do{if(ep>=em||ep+em<=0)return 0;let ee=ef+ep;if(16&en)ee=(ee+em)%em;else{if(ee<0)return 3;if(ee>=em)return 1}null==(eg=eu[ee])||eg.focus(eh),ep+=ed}while(eg!==ec.activeElement);return 6&en&&ac(eg)&&eg.select(),2}function ah(ee){var en;if(ee.type)return ee.type;let er=null!=(en=ee.as)?en:"button";if("string"==typeof er&&"button"===er.toLowerCase())return"button"}function ap(ee,en){let[er,eo]=(0,eH.useState)(()=>ah(ee));return ic(()=>{eo(ah(ee))},[ee.type,ee.as]),ic(()=>{er||en.current&&en.current instanceof HTMLButtonElement&&!en.current.hasAttribute("type")&&eo("button")},[er,en]),er}function am(ee,en,er){let eo=ih(en);(0,eH.useEffect)(()=>{function en(ee){eo.current(ee)}return document.addEventListener(ee,en,er),()=>document.removeEventListener(ee,en,er)},[ee,er])}function ag(ee,en,er){let eo=ih(en);(0,eH.useEffect)(()=>{function en(ee){eo.current(ee)}return window.addEventListener(ee,en,er),()=>window.removeEventListener(ee,en,er)},[ee,er])}function ax(ee,en,er=!0){let eo=(0,eH.useRef)(!1);function ei(er,ei){if(!eo.current||er.defaultPrevented)return;let ec=ei(er);if(null!==ec&&ec.getRootNode().contains(ec)&&ec.isConnected){for(let en of function ee(en){return"function"==typeof en?ee(en()):Array.isArray(en)||en instanceof Set?en:[en]}(ee)){if(null===en)continue;let ee=en instanceof HTMLElement?en:en.current;if(null!=ee&&ee.contains(ec)||er.composed&&er.composedPath().includes(ee))return}return an(ec,at.Loose)||-1===ec.tabIndex||er.preventDefault(),en(er,ec)}}(0,eH.useEffect)(()=>{requestAnimationFrame(()=>{eo.current=er})},[er]);let ec=(0,eH.useRef)(null);am("pointerdown",ee=>{var en,er;eo.current&&(ec.current=(null==(er=null==(en=ee.composedPath)?void 0:en.call(ee))?void 0:er[0])||ee.target)},!0),am("mousedown",ee=>{var en,er;eo.current&&(ec.current=(null==(er=null==(en=ee.composedPath)?void 0:en.call(ee))?void 0:er[0])||ee.target)},!0),am("click",ee=>{ec.current&&(ei(ee,()=>ec.current),ec.current=null)},!0),am("touchend",ee=>ei(ee,()=>ee.target instanceof HTMLElement?ee.target:null),!0),ag("blur",ee=>ei(ee,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}let av="div";var ay=((ey=ay||{})[ey.None=1]="None",ey[ey.Focusable=2]="Focusable",ey[ey.Hidden=4]="Hidden",ey);let ab=o4(function(ee,en){let{features:er=1,...eo}=ee;return o0({ourProps:{ref:en,"aria-hidden":(2&er)==2||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(4&er)==4&&(2&er)!=2&&{display:"none"}}},theirProps:eo,slot:{},defaultTag:av,name:"Hidden"})});function aw(ee={},en=null,er=[]){for(let[eo,ei]of Object.entries(ee))a_(er,ak(en,eo),ei);return er}function ak(ee,en){return ee?ee+"["+en+"]":en}function a_(ee,en,er){if(Array.isArray(er))for(let[eo,ei]of er.entries())a_(ee,ak(en,eo.toString()),ei);else er instanceof Date?ee.push([en,er.toISOString()]):"boolean"==typeof er?ee.push([en,er?"1":"0"]):"string"==typeof er?ee.push([en,er]):"number"==typeof er?ee.push([en,`${er}`]):null==er?ee.push([en,""]):aw(er,en,ee)}function aj(ee,en,er){let[eo,ei]=(0,eH.useState)(er),ec=void 0!==ee,eu=(0,eH.useRef)(ec),ed=(0,eH.useRef)(!1),ef=(0,eH.useRef)(!1);return!ec||eu.current||ed.current?ec||!eu.current||ef.current||(ef.current=!0,eu.current=ec,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(ed.current=!0,eu.current=ec,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[ec?ee:eo,ix(ee=>(ec||ei(ee),null==en?void 0:en(ee)))]}function aE(ee){return[ee.screenX,ee.screenY]}function aO(){let ee=(0,eH.useRef)([-1,-1]);return{wasMoved(en){let er=aE(en);return(ee.current[0]!==er[0]||ee.current[1]!==er[1])&&(ee.current=er,!0)},update(en){ee.current=aE(en)}}}let aC=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function aS(ee){var en,er;let eo=null!=(en=ee.innerText)?en:"",ei=ee.cloneNode(!0);if(!(ei instanceof HTMLElement))return eo;let ec=!1;for(let ee of ei.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))ee.remove(),ec=!0;let eu=ec?null!=(er=ei.innerText)?er:"":eo;return aC.test(eu)&&(eu=eu.replace(aC,"")),eu}function aT(ee){let en=ee.getAttribute("aria-label");if("string"==typeof en)return en.trim();let er=ee.getAttribute("aria-labelledby");if(er){let ee=er.split(" ").map(ee=>{let en=document.getElementById(ee);if(en){let ee=en.getAttribute("aria-label");return"string"==typeof ee?ee.trim():aS(en).trim()}return null}).filter(Boolean);if(ee.length>0)return ee.join(", ")}return aS(ee).trim()}function aN(ee){let en=(0,eH.useRef)(""),er=(0,eH.useRef)("");return ix(()=>{let eo=ee.current;if(!eo)return"";let ei=eo.innerText;if(en.current===ei)return er.current;let ec=aT(eo).trim().toLowerCase();return en.current=ei,er.current=ec,ec})}var aA=((eb=aA||{})[eb.Open=0]="Open",eb[eb.Closed=1]="Closed",eb),aI=((ew=aI||{})[ew.Single=0]="Single",ew[ew.Multi=1]="Multi",ew),aR=((ek=aR||{})[ek.Pointer=0]="Pointer",ek[ek.Other=1]="Other",ek),aM=((e_=aM||{})[e_.OpenListbox=0]="OpenListbox",e_[e_.CloseListbox=1]="CloseListbox",e_[e_.GoToOption=2]="GoToOption",e_[e_.Search=3]="Search",e_[e_.ClearSearch=4]="ClearSearch",e_[e_.RegisterOption=5]="RegisterOption",e_[e_.UnregisterOption=6]="UnregisterOption",e_[e_.RegisterLabel=7]="RegisterLabel",e_);function aL(ee,en=ee=>ee){let er=null!==ee.activeOptionIndex?ee.options[ee.activeOptionIndex]:null,eo=au(en(ee.options.slice()),ee=>ee.dataRef.current.domRef.current),ei=er?eo.indexOf(er):null;return -1===ei&&(ei=null),{options:eo,activeOptionIndex:ei}}let aP={1:ee=>ee.dataRef.current.disabled||1===ee.listboxState?ee:{...ee,activeOptionIndex:null,listboxState:1},0(ee){if(ee.dataRef.current.disabled||0===ee.listboxState)return ee;let en=ee.activeOptionIndex,{isSelected:er}=ee.dataRef.current,eo=ee.options.findIndex(ee=>er(ee.dataRef.current.value));return -1!==eo&&(en=eo),{...ee,listboxState:0,activeOptionIndex:en}},2(ee,en){var er;if(ee.dataRef.current.disabled||1===ee.listboxState)return ee;let eo=aL(ee),ei=i1(en,{resolveItems:()=>eo.options,resolveActiveIndex:()=>eo.activeOptionIndex,resolveId:ee=>ee.id,resolveDisabled:ee=>ee.dataRef.current.disabled});return{...ee,...eo,searchQuery:"",activeOptionIndex:ei,activationTrigger:null!=(er=en.trigger)?er:1}},3:(ee,en)=>{if(ee.dataRef.current.disabled||1===ee.listboxState)return ee;let er=""!==ee.searchQuery?0:1,eo=ee.searchQuery+en.value.toLowerCase(),ei=(null!==ee.activeOptionIndex?ee.options.slice(ee.activeOptionIndex+er).concat(ee.options.slice(0,ee.activeOptionIndex+er)):ee.options).find(ee=>{var en;return!ee.dataRef.current.disabled&&(null==(en=ee.dataRef.current.textValue)?void 0:en.startsWith(eo))}),ec=ei?ee.options.indexOf(ei):-1;return -1===ec||ec===ee.activeOptionIndex?{...ee,searchQuery:eo}:{...ee,searchQuery:eo,activeOptionIndex:ec,activationTrigger:1}},4:ee=>ee.dataRef.current.disabled||1===ee.listboxState||""===ee.searchQuery?ee:{...ee,searchQuery:""},5:(ee,en)=>{let er={id:en.id,dataRef:en.dataRef},eo=aL(ee,ee=>[...ee,er]);return null===ee.activeOptionIndex&&ee.dataRef.current.isSelected(en.dataRef.current.value)&&(eo.activeOptionIndex=eo.options.indexOf(er)),{...ee,...eo}},6:(ee,en)=>{let er=aL(ee,ee=>{let er=ee.findIndex(ee=>ee.id===en.id);return -1!==er&&ee.splice(er,1),ee});return{...ee,...er,activationTrigger:1}},7:(ee,en)=>({...ee,labelId:en.id})},aZ=(0,eH.createContext)(null);function aD(ee){let en=(0,eH.useContext)(aZ);if(null===en){let en=Error(`<${ee} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(en,aD),en}return en}aZ.displayName="ListboxActionsContext";let aF=(0,eH.createContext)(null);function aH(ee){let en=(0,eH.useContext)(aF);if(null===en){let en=Error(`<${ee} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(en,aH),en}return en}function az(ee,en){return oQ(en.type,aP,ee,en)}aF.displayName="ListboxDataContext";let aB=eH.Fragment;function aW(ee,en){let{value:er,defaultValue:eo,form:ei,name:ec,onChange:eu,by:ed=(ee,en)=>ee===en,disabled:ef=!1,horizontal:eh=!1,multiple:ep=!1,...em}=ee,eg=eh?"horizontal":"vertical",ex=iy(en),[ev=ep?[]:void 0,ey]=aj(er,eu,eo),[eb,ew]=(0,eH.useReducer)(az,{dataRef:(0,eH.createRef)(),listboxState:1,options:[],searchQuery:"",labelId:null,activeOptionIndex:null,activationTrigger:1}),ek=(0,eH.useRef)({static:!1,hold:!1}),e_=(0,eH.useRef)(null),ej=(0,eH.useRef)(null),eE=(0,eH.useRef)(null),eO=ix("string"==typeof ed?(ee,en)=>{let er=ed;return(null==ee?void 0:ee[er])===(null==en?void 0:en[er])}:ed),eC=(0,eH.useCallback)(ee=>oQ(eS.mode,{1:()=>ev.some(en=>eO(en,ee)),0:()=>eO(ev,ee)}),[ev]),eS=(0,eH.useMemo)(()=>({...eb,value:ev,disabled:ef,mode:ep?1:0,orientation:eg,compare:eO,isSelected:eC,optionsPropsRef:ek,labelRef:e_,buttonRef:ej,optionsRef:eE}),[ev,ef,ep,eb]);ic(()=>{eb.dataRef.current=eS},[eS]),ax([eS.buttonRef,eS.optionsRef],(ee,en)=>{var er;ew({type:1}),an(en,at.Loose)||(ee.preventDefault(),null==(er=eS.buttonRef.current)||er.focus())},0===eS.listboxState);let eT=(0,eH.useMemo)(()=>({open:0===eS.listboxState,disabled:ef,value:ev}),[eS,ef,ev]),eN=ix(ee=>{let en=eS.options.find(en=>en.id===ee);en&&eZ(en.dataRef.current.value)}),eA=ix(()=>{if(null!==eS.activeOptionIndex){let{dataRef:ee,id:en}=eS.options[eS.activeOptionIndex];eZ(ee.current.value),ew({type:2,focus:i0.Specific,id:en})}}),eI=ix(()=>ew({type:0})),eR=ix(()=>ew({type:1})),eM=ix((ee,en,er)=>ee===i0.Specific?ew({type:2,focus:i0.Specific,id:en,trigger:er}):ew({type:2,focus:ee,trigger:er})),eL=ix((ee,en)=>(ew({type:5,id:ee,dataRef:en}),()=>ew({type:6,id:ee}))),eP=ix(ee=>(ew({type:7,id:ee}),()=>ew({type:7,id:null}))),eZ=ix(ee=>oQ(eS.mode,{0:()=>null==ey?void 0:ey(ee),1(){let en=eS.value.slice(),er=en.findIndex(en=>eO(en,ee));return -1===er?en.push(ee):en.splice(er,1),null==ey?void 0:ey(en)}})),eD=ix(ee=>ew({type:3,value:ee})),eF=ix(()=>ew({type:4})),ez=(0,eH.useMemo)(()=>({onChange:eZ,registerOption:eL,registerLabel:eP,goToOption:eM,closeListbox:eR,openListbox:eI,selectActiveOption:eA,selectOption:eN,search:eD,clearSearch:eF}),[]),eB={ref:ex},eW=(0,eH.useRef)(null),eG=iC();return(0,eH.useEffect)(()=>{eW.current&&void 0!==eo&&eG.addEventListener(eW.current,"reset",()=>{null==ey||ey(eo)})},[eW,ey]),eH.createElement(aZ.Provider,{value:ez},eH.createElement(aF.Provider,{value:eS},eH.createElement(it,{value:oQ(eS.listboxState,{0:o7.Open,1:o7.Closed})},null!=ec&&null!=ev&&aw({[ec]:ev}).map(([ee,en],er)=>eH.createElement(ab,{features:ay.Hidden,ref:0===er?ee=>{var en;eW.current=null!=(en=null==ee?void 0:ee.closest("form"))?en:null}:void 0,...o3({key:ee,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:ei,name:ee,value:en})})),o0({ourProps:eB,theirProps:em,slot:eT,defaultTag:aB,name:"Listbox"}))))}let aG="button";function a$(ee,en){var er;let eo=iK(),{id:ei=`headlessui-listbox-button-${eo}`,...ec}=ee,eu=aH("Listbox.Button"),ed=aD("Listbox.Button"),ef=iy(eu.buttonRef,en),eh=iC(),ep=ix(ee=>{switch(ee.key){case iY.Space:case iY.Enter:case iY.ArrowDown:ee.preventDefault(),ed.openListbox(),eh.nextFrame(()=>{eu.value||ed.goToOption(i0.First)});break;case iY.ArrowUp:ee.preventDefault(),ed.openListbox(),eh.nextFrame(()=>{eu.value||ed.goToOption(i0.Last)})}}),em=ix(ee=>{ee.key===iY.Space&&ee.preventDefault()}),eg=ix(ee=>{if(i2(ee.currentTarget))return ee.preventDefault();0===eu.listboxState?(ed.closeListbox(),eh.nextFrame(()=>{var ee;return null==(ee=eu.buttonRef.current)?void 0:ee.focus({preventScroll:!0})})):(ee.preventDefault(),ed.openListbox())}),ex=iQ(()=>{if(eu.labelId)return[eu.labelId,ei].join(" ")},[eu.labelId,ei]),ev=(0,eH.useMemo)(()=>({open:0===eu.listboxState,disabled:eu.disabled,value:eu.value}),[eu]);return o0({ourProps:{ref:ef,id:ei,type:ap(ee,eu.buttonRef),"aria-haspopup":"listbox","aria-controls":null==(er=eu.optionsRef.current)?void 0:er.id,"aria-expanded":0===eu.listboxState,"aria-labelledby":ex,disabled:eu.disabled,onKeyDown:ep,onKeyUp:em,onClick:eg},theirProps:ec,slot:ev,defaultTag:aG,name:"Listbox.Button"})}let aU="label";function aV(ee,en){let er=iK(),{id:eo=`headlessui-listbox-label-${er}`,...ei}=ee,ec=aH("Listbox.Label"),eu=aD("Listbox.Label"),ed=iy(ec.labelRef,en);return ic(()=>eu.registerLabel(eo),[eo]),o0({ourProps:{ref:ed,id:eo,onClick:ix(()=>{var ee;return null==(ee=ec.buttonRef.current)?void 0:ee.focus({preventScroll:!0})})},theirProps:ei,slot:(0,eH.useMemo)(()=>({open:0===ec.listboxState,disabled:ec.disabled}),[ec]),defaultTag:aU,name:"Listbox.Label"})}let aq="ul",aX=oY.RenderStrategy|oY.Static;function aK(ee,en){var er;let eo=iK(),{id:ei=`headlessui-listbox-options-${eo}`,...ec}=ee,eu=aH("Listbox.Options"),ed=aD("Listbox.Options"),ef=iy(eu.optionsRef,en),eh=iC(),ep=iC(),em=o8(),eg=null!==em?(em&o7.Open)===o7.Open:0===eu.listboxState;(0,eH.useEffect)(()=>{var ee;let en=eu.optionsRef.current;en&&0===eu.listboxState&&en!==(null==(ee=i4(en))?void 0:ee.activeElement)&&en.focus({preventScroll:!0})},[eu.listboxState,eu.optionsRef]);let ex=ix(ee=>{switch(ep.dispose(),ee.key){case iY.Space:if(""!==eu.searchQuery)return ee.preventDefault(),ee.stopPropagation(),ed.search(ee.key);case iY.Enter:if(ee.preventDefault(),ee.stopPropagation(),null!==eu.activeOptionIndex){let{dataRef:ee}=eu.options[eu.activeOptionIndex];ed.onChange(ee.current.value)}0===eu.mode&&(ed.closeListbox(),ik().nextFrame(()=>{var ee;return null==(ee=eu.buttonRef.current)?void 0:ee.focus({preventScroll:!0})}));break;case oQ(eu.orientation,{vertical:iY.ArrowDown,horizontal:iY.ArrowRight}):return ee.preventDefault(),ee.stopPropagation(),ed.goToOption(i0.Next);case oQ(eu.orientation,{vertical:iY.ArrowUp,horizontal:iY.ArrowLeft}):return ee.preventDefault(),ee.stopPropagation(),ed.goToOption(i0.Previous);case iY.Home:case iY.PageUp:return ee.preventDefault(),ee.stopPropagation(),ed.goToOption(i0.First);case iY.End:case iY.PageDown:return ee.preventDefault(),ee.stopPropagation(),ed.goToOption(i0.Last);case iY.Escape:return ee.preventDefault(),ee.stopPropagation(),ed.closeListbox(),eh.nextFrame(()=>{var ee;return null==(ee=eu.buttonRef.current)?void 0:ee.focus({preventScroll:!0})});case iY.Tab:ee.preventDefault(),ee.stopPropagation();break;default:1===ee.key.length&&(ed.search(ee.key),ep.setTimeout(()=>ed.clearSearch(),350))}}),ev=iQ(()=>{var ee,en,er;return null!=(er=null==(ee=eu.labelRef.current)?void 0:ee.id)?er:null==(en=eu.buttonRef.current)?void 0:en.id},[eu.labelRef.current,eu.buttonRef.current]),ey=(0,eH.useMemo)(()=>({open:0===eu.listboxState}),[eu]);return o0({ourProps:{"aria-activedescendant":null===eu.activeOptionIndex||null==(er=eu.options[eu.activeOptionIndex])?void 0:er.id,"aria-multiselectable":1===eu.mode||void 0,"aria-labelledby":ev,"aria-orientation":eu.orientation,id:ei,onKeyDown:ex,role:"listbox",tabIndex:0,ref:ef},theirProps:ec,slot:ey,defaultTag:aq,features:aX,visible:eg,name:"Listbox.Options"})}let aQ="li";function aY(ee,en){let er=iK(),{id:eo=`headlessui-listbox-option-${er}`,disabled:ei=!1,value:ec,...eu}=ee,ed=aH("Listbox.Option"),ef=aD("Listbox.Option"),eh=null!==ed.activeOptionIndex&&ed.options[ed.activeOptionIndex].id===eo,ep=ed.isSelected(ec),em=(0,eH.useRef)(null),eg=aN(em),ex=ih({disabled:ei,value:ec,domRef:em,get textValue(){return eg()}}),ev=iy(en,em);ic(()=>{if(0!==ed.listboxState||!eh||0===ed.activationTrigger)return;let ee=ik();return ee.requestAnimationFrame(()=>{var ee,en;null==(en=null==(ee=em.current)?void 0:ee.scrollIntoView)||en.call(ee,{block:"nearest"})}),ee.dispose},[em,eh,ed.listboxState,ed.activationTrigger,ed.activeOptionIndex]),ic(()=>ef.registerOption(eo,ex),[ex,eo]);let ey=ix(ee=>{if(ei)return ee.preventDefault();ef.onChange(ec),0===ed.mode&&(ef.closeListbox(),ik().nextFrame(()=>{var ee;return null==(ee=ed.buttonRef.current)?void 0:ee.focus({preventScroll:!0})}))}),eb=ix(()=>{if(ei)return ef.goToOption(i0.Nothing);ef.goToOption(i0.Specific,eo)}),ew=aO(),ek=ix(ee=>ew.update(ee)),e_=ix(ee=>{ew.wasMoved(ee)&&(ei||eh||ef.goToOption(i0.Specific,eo,0))}),ej=ix(ee=>{ew.wasMoved(ee)&&(ei||eh&&ef.goToOption(i0.Nothing))}),eE=(0,eH.useMemo)(()=>({active:eh,selected:ep,disabled:ei}),[eh,ep,ei]);return o0({ourProps:{id:eo,ref:ev,role:"option",tabIndex:!0===ei?void 0:-1,"aria-disabled":!0===ei||void 0,"aria-selected":ep,disabled:void 0,onClick:ey,onFocus:eb,onPointerEnter:ek,onMouseEnter:ek,onPointerMove:e_,onMouseMove:e_,onPointerLeave:ej,onMouseLeave:ej},theirProps:eu,slot:eE,defaultTag:aQ,name:"Listbox.Option"})}let aJ=Object.assign(o4(aW),{Button:o4(a$),Label:o4(aV),Options:o4(aK),Option:o4(aY)});var a0=er(10422),a1=er(90878),a2=er.n(a1);function a5(){return(a5=Object.assign?Object.assign.bind():function(ee){for(var en=1;en=0||(ei[er]=ee[er]);return ei}var a3=["keyOverride"],a6=["crossOrigin"],a9={templateTitle:"",noindex:!1,nofollow:!1,norobots:!1,defaultOpenGraphImageWidth:0,defaultOpenGraphImageHeight:0,defaultOpenGraphVideoWidth:0,defaultOpenGraphVideoHeight:0},a7=function(ee,en,er){void 0===en&&(en=[]);var eo=void 0===er?{}:er,ei=eo.defaultWidth,ec=eo.defaultHeight;return en.reduce(function(en,er,eo){return en.push(eH.createElement("meta",{key:"og:"+ee+":0"+eo,property:"og:"+ee,content:er.url})),er.alt&&en.push(eH.createElement("meta",{key:"og:"+ee+":alt0"+eo,property:"og:"+ee+":alt",content:er.alt})),er.secureUrl&&en.push(eH.createElement("meta",{key:"og:"+ee+":secure_url0"+eo,property:"og:"+ee+":secure_url",content:er.secureUrl.toString()})),er.type&&en.push(eH.createElement("meta",{key:"og:"+ee+":type0"+eo,property:"og:"+ee+":type",content:er.type.toString()})),er.width?en.push(eH.createElement("meta",{key:"og:"+ee+":width0"+eo,property:"og:"+ee+":width",content:er.width.toString()})):ei&&en.push(eH.createElement("meta",{key:"og:"+ee+":width0"+eo,property:"og:"+ee+":width",content:ei.toString()})),er.height?en.push(eH.createElement("meta",{key:"og:"+ee+":height"+eo,property:"og:"+ee+":height",content:er.height.toString()})):ec&&en.push(eH.createElement("meta",{key:"og:"+ee+":height"+eo,property:"og:"+ee+":height",content:ec.toString()})),en},[])},a8=function(ee){var en,er,eo,ei,ec,eu=[];ee.titleTemplate&&(a9.templateTitle=ee.titleTemplate);var ed="";ee.title?(ed=ee.title,a9.templateTitle&&(ed=a9.templateTitle.replace(/%s/g,function(){return ed}))):ee.defaultTitle&&(ed=ee.defaultTitle),ed&&eu.push(eH.createElement("title",{key:"title"},ed));var ef=void 0===ee.noindex?a9.noindex||ee.dangerouslySetAllPagesToNoIndex:ee.noindex,eh=void 0===ee.nofollow?a9.nofollow||ee.dangerouslySetAllPagesToNoFollow:ee.nofollow,ep=ee.norobots||a9.norobots,em="";if(ee.robotsProps){var eg=ee.robotsProps,ex=eg.nosnippet,ev=eg.maxSnippet,ey=eg.maxImagePreview,eb=eg.maxVideoPreview,ew=eg.noarchive,ek=eg.noimageindex,e_=eg.notranslate,ej=eg.unavailableAfter;em=(ex?",nosnippet":"")+(ev?",max-snippet:"+ev:"")+(ey?",max-image-preview:"+ey:"")+(ew?",noarchive":"")+(ej?",unavailable_after:"+ej:"")+(ek?",noimageindex":"")+(eb?",max-video-preview:"+eb:"")+(e_?",notranslate":"")}if(ee.norobots&&(a9.norobots=!0),ef||eh?(ee.dangerouslySetAllPagesToNoIndex&&(a9.noindex=!0),ee.dangerouslySetAllPagesToNoFollow&&(a9.nofollow=!0),eu.push(eH.createElement("meta",{key:"robots",name:"robots",content:(ef?"noindex":"index")+","+(eh?"nofollow":"follow")+em}))):(!ep||em)&&eu.push(eH.createElement("meta",{key:"robots",name:"robots",content:"index,follow"+em})),ee.description&&eu.push(eH.createElement("meta",{key:"description",name:"description",content:ee.description})),ee.themeColor&&eu.push(eH.createElement("meta",{key:"theme-color",name:"theme-color",content:ee.themeColor})),ee.mobileAlternate&&eu.push(eH.createElement("link",{rel:"alternate",key:"mobileAlternate",media:ee.mobileAlternate.media,href:ee.mobileAlternate.href})),ee.languageAlternates&&ee.languageAlternates.length>0&&ee.languageAlternates.forEach(function(ee){eu.push(eH.createElement("link",{rel:"alternate",key:"languageAlternate-"+ee.hrefLang,hrefLang:ee.hrefLang,href:ee.href}))}),ee.twitter&&(ee.twitter.cardType&&eu.push(eH.createElement("meta",{key:"twitter:card",name:"twitter:card",content:ee.twitter.cardType})),ee.twitter.site&&eu.push(eH.createElement("meta",{key:"twitter:site",name:"twitter:site",content:ee.twitter.site})),ee.twitter.handle&&eu.push(eH.createElement("meta",{key:"twitter:creator",name:"twitter:creator",content:ee.twitter.handle}))),ee.facebook&&ee.facebook.appId&&eu.push(eH.createElement("meta",{key:"fb:app_id",property:"fb:app_id",content:ee.facebook.appId})),(null!=(en=ee.openGraph)&&en.title||ed)&&eu.push(eH.createElement("meta",{key:"og:title",property:"og:title",content:(null==(ei=ee.openGraph)?void 0:ei.title)||ed})),(null!=(er=ee.openGraph)&&er.description||ee.description)&&eu.push(eH.createElement("meta",{key:"og:description",property:"og:description",content:(null==(ec=ee.openGraph)?void 0:ec.description)||ee.description})),ee.openGraph){if((ee.openGraph.url||ee.canonical)&&eu.push(eH.createElement("meta",{key:"og:url",property:"og:url",content:ee.openGraph.url||ee.canonical})),ee.openGraph.type){var eE=ee.openGraph.type.toLowerCase();eu.push(eH.createElement("meta",{key:"og:type",property:"og:type",content:eE})),"profile"===eE&&ee.openGraph.profile?(ee.openGraph.profile.firstName&&eu.push(eH.createElement("meta",{key:"profile:first_name",property:"profile:first_name",content:ee.openGraph.profile.firstName})),ee.openGraph.profile.lastName&&eu.push(eH.createElement("meta",{key:"profile:last_name",property:"profile:last_name",content:ee.openGraph.profile.lastName})),ee.openGraph.profile.username&&eu.push(eH.createElement("meta",{key:"profile:username",property:"profile:username",content:ee.openGraph.profile.username})),ee.openGraph.profile.gender&&eu.push(eH.createElement("meta",{key:"profile:gender",property:"profile:gender",content:ee.openGraph.profile.gender}))):"book"===eE&&ee.openGraph.book?(ee.openGraph.book.authors&&ee.openGraph.book.authors.length&&ee.openGraph.book.authors.forEach(function(ee,en){eu.push(eH.createElement("meta",{key:"book:author:0"+en,property:"book:author",content:ee}))}),ee.openGraph.book.isbn&&eu.push(eH.createElement("meta",{key:"book:isbn",property:"book:isbn",content:ee.openGraph.book.isbn})),ee.openGraph.book.releaseDate&&eu.push(eH.createElement("meta",{key:"book:release_date",property:"book:release_date",content:ee.openGraph.book.releaseDate})),ee.openGraph.book.tags&&ee.openGraph.book.tags.length&&ee.openGraph.book.tags.forEach(function(ee,en){eu.push(eH.createElement("meta",{key:"book:tag:0"+en,property:"book:tag",content:ee}))})):"article"===eE&&ee.openGraph.article?(ee.openGraph.article.publishedTime&&eu.push(eH.createElement("meta",{key:"article:published_time",property:"article:published_time",content:ee.openGraph.article.publishedTime})),ee.openGraph.article.modifiedTime&&eu.push(eH.createElement("meta",{key:"article:modified_time",property:"article:modified_time",content:ee.openGraph.article.modifiedTime})),ee.openGraph.article.expirationTime&&eu.push(eH.createElement("meta",{key:"article:expiration_time",property:"article:expiration_time",content:ee.openGraph.article.expirationTime})),ee.openGraph.article.authors&&ee.openGraph.article.authors.length&&ee.openGraph.article.authors.forEach(function(ee,en){eu.push(eH.createElement("meta",{key:"article:author:0"+en,property:"article:author",content:ee}))}),ee.openGraph.article.section&&eu.push(eH.createElement("meta",{key:"article:section",property:"article:section",content:ee.openGraph.article.section})),ee.openGraph.article.tags&&ee.openGraph.article.tags.length&&ee.openGraph.article.tags.forEach(function(ee,en){eu.push(eH.createElement("meta",{key:"article:tag:0"+en,property:"article:tag",content:ee}))})):("video.movie"===eE||"video.episode"===eE||"video.tv_show"===eE||"video.other"===eE)&&ee.openGraph.video&&(ee.openGraph.video.actors&&ee.openGraph.video.actors.length&&ee.openGraph.video.actors.forEach(function(ee,en){ee.profile&&eu.push(eH.createElement("meta",{key:"video:actor:0"+en,property:"video:actor",content:ee.profile})),ee.role&&eu.push(eH.createElement("meta",{key:"video:actor:role:0"+en,property:"video:actor:role",content:ee.role}))}),ee.openGraph.video.directors&&ee.openGraph.video.directors.length&&ee.openGraph.video.directors.forEach(function(ee,en){eu.push(eH.createElement("meta",{key:"video:director:0"+en,property:"video:director",content:ee}))}),ee.openGraph.video.writers&&ee.openGraph.video.writers.length&&ee.openGraph.video.writers.forEach(function(ee,en){eu.push(eH.createElement("meta",{key:"video:writer:0"+en,property:"video:writer",content:ee}))}),ee.openGraph.video.duration&&eu.push(eH.createElement("meta",{key:"video:duration",property:"video:duration",content:ee.openGraph.video.duration.toString()})),ee.openGraph.video.releaseDate&&eu.push(eH.createElement("meta",{key:"video:release_date",property:"video:release_date",content:ee.openGraph.video.releaseDate})),ee.openGraph.video.tags&&ee.openGraph.video.tags.length&&ee.openGraph.video.tags.forEach(function(ee,en){eu.push(eH.createElement("meta",{key:"video:tag:0"+en,property:"video:tag",content:ee}))}),ee.openGraph.video.series&&eu.push(eH.createElement("meta",{key:"video:series",property:"video:series",content:ee.openGraph.video.series})))}ee.defaultOpenGraphImageWidth&&(a9.defaultOpenGraphImageWidth=ee.defaultOpenGraphImageWidth),ee.defaultOpenGraphImageHeight&&(a9.defaultOpenGraphImageHeight=ee.defaultOpenGraphImageHeight),ee.openGraph.images&&ee.openGraph.images.length&&eu.push.apply(eu,a7("image",ee.openGraph.images,{defaultWidth:a9.defaultOpenGraphImageWidth,defaultHeight:a9.defaultOpenGraphImageHeight})),ee.defaultOpenGraphVideoWidth&&(a9.defaultOpenGraphVideoWidth=ee.defaultOpenGraphVideoWidth),ee.defaultOpenGraphVideoHeight&&(a9.defaultOpenGraphVideoHeight=ee.defaultOpenGraphVideoHeight),ee.openGraph.videos&&ee.openGraph.videos.length&&eu.push.apply(eu,a7("video",ee.openGraph.videos,{defaultWidth:a9.defaultOpenGraphVideoWidth,defaultHeight:a9.defaultOpenGraphVideoHeight})),ee.openGraph.audio&&eu.push.apply(eu,a7("audio",ee.openGraph.audio)),ee.openGraph.locale&&eu.push(eH.createElement("meta",{key:"og:locale",property:"og:locale",content:ee.openGraph.locale})),(ee.openGraph.siteName||ee.openGraph.site_name)&&eu.push(eH.createElement("meta",{key:"og:site_name",property:"og:site_name",content:ee.openGraph.siteName||ee.openGraph.site_name}))}return ee.canonical&&eu.push(eH.createElement("link",{rel:"canonical",href:ee.canonical,key:"canonical"})),ee.additionalMetaTags&&ee.additionalMetaTags.length>0&&ee.additionalMetaTags.forEach(function(ee){var en,er,eo=ee.keyOverride,ei=a4(ee,a3);eu.push(eH.createElement("meta",a5({key:"meta:"+(null!=(en=null!=(er=null!=eo?eo:ei.name)?er:ei.property)?en:ei.httpEquiv)},ei)))}),null!=(eo=ee.additionalLinkTags)&&eo.length&&ee.additionalLinkTags.forEach(function(ee){var en,er=ee.crossOrigin,eo=a4(ee,a6),ei="anonymous"===er||"use-credentials"===er||""===er?er:void 0;eu.push(eH.createElement("link",a5({key:"link"+(null!=(en=eo.keyOverride)?en:eo.href)+eo.rel},eo,{crossOrigin:ei})))}),eu},st=function(ee){return eH.createElement(a2(),null,a8(ee))},sn=function(ee){var en=ee.title,er=ee.themeColor,eo=ee.noindex,ei=ee.nofollow,ec=ee.robotsProps,eu=ee.description,ed=ee.canonical,ef=ee.openGraph,eh=ee.facebook,ep=ee.twitter,em=ee.additionalMetaTags,eg=ee.titleTemplate,ex=ee.defaultTitle,ev=ee.mobileAlternate,ey=ee.languageAlternates,eb=ee.additionalLinkTags;return eH.createElement(eH.Fragment,null,eH.createElement(st,{title:en,themeColor:er,noindex:eo,nofollow:ei,robotsProps:ec,description:eu,canonical:ed,facebook:eh,openGraph:ef,additionalMetaTags:em,twitter:ep,titleTemplate:eg,defaultTitle:ex,mobileAlternate:ev,languageAlternates:ey,additionalLinkTags:eb}))};function sr({container:ee,accept:en,walk:er,enabled:eo=!0}){let ei=(0,eH.useRef)(en),ec=(0,eH.useRef)(er);(0,eH.useEffect)(()=>{ei.current=en,ec.current=er},[en,er]),ic(()=>{if(!ee||!eo)return;let en=i4(ee);if(!en)return;let er=ei.current,eu=ec.current,ed=Object.assign(ee=>er(ee),{acceptNode:er}),ef=en.createTreeWalker(ee,NodeFilter.SHOW_ELEMENT,ed,!1);for(;ef.nextNode();)eu(ef.currentNode)},[ee,eo,ei,ec])}function so(...ee){return(0,eH.useMemo)(()=>i4(...ee),[...ee])}RegExp("["+Object.keys(Object.freeze({"&":"&","<":"<",">":">",'"':""","'":"'"})).join("")+"]","g");var si=((ej=si||{})[ej.Open=0]="Open",ej[ej.Closed=1]="Closed",ej),ss=((eE=ss||{})[eE.Pointer=0]="Pointer",eE[eE.Other=1]="Other",eE),sl=((eO=sl||{})[eO.OpenMenu=0]="OpenMenu",eO[eO.CloseMenu=1]="CloseMenu",eO[eO.GoToItem=2]="GoToItem",eO[eO.Search=3]="Search",eO[eO.ClearSearch=4]="ClearSearch",eO[eO.RegisterItem=5]="RegisterItem",eO[eO.UnregisterItem=6]="UnregisterItem",eO);function sc(ee,en=ee=>ee){let er=null!==ee.activeItemIndex?ee.items[ee.activeItemIndex]:null,eo=au(en(ee.items.slice()),ee=>ee.dataRef.current.domRef.current),ei=er?eo.indexOf(er):null;return -1===ei&&(ei=null),{items:eo,activeItemIndex:ei}}let su={1:ee=>1===ee.menuState?ee:{...ee,activeItemIndex:null,menuState:1},0:ee=>0===ee.menuState?ee:{...ee,__demoMode:!1,menuState:0},2:(ee,en)=>{var er;let eo=sc(ee),ei=i1(en,{resolveItems:()=>eo.items,resolveActiveIndex:()=>eo.activeItemIndex,resolveId:ee=>ee.id,resolveDisabled:ee=>ee.dataRef.current.disabled});return{...ee,...eo,searchQuery:"",activeItemIndex:ei,activationTrigger:null!=(er=en.trigger)?er:1}},3:(ee,en)=>{let er=""!==ee.searchQuery?0:1,eo=ee.searchQuery+en.value.toLowerCase(),ei=(null!==ee.activeItemIndex?ee.items.slice(ee.activeItemIndex+er).concat(ee.items.slice(0,ee.activeItemIndex+er)):ee.items).find(ee=>{var en;return(null==(en=ee.dataRef.current.textValue)?void 0:en.startsWith(eo))&&!ee.dataRef.current.disabled}),ec=ei?ee.items.indexOf(ei):-1;return -1===ec||ec===ee.activeItemIndex?{...ee,searchQuery:eo}:{...ee,searchQuery:eo,activeItemIndex:ec,activationTrigger:1}},4:ee=>""===ee.searchQuery?ee:{...ee,searchQuery:"",searchActiveItemIndex:null},5:(ee,en)=>{let er=sc(ee,ee=>[...ee,{id:en.id,dataRef:en.dataRef}]);return{...ee,...er}},6:(ee,en)=>{let er=sc(ee,ee=>{let er=ee.findIndex(ee=>ee.id===en.id);return -1!==er&&ee.splice(er,1),ee});return{...ee,...er,activationTrigger:1}}},sd=(0,eH.createContext)(null);function sf(ee){let en=(0,eH.useContext)(sd);if(null===en){let en=Error(`<${ee} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(en,sf),en}return en}function sh(ee,en){return oQ(en.type,su,ee,en)}sd.displayName="MenuContext";let sp=eH.Fragment;function sm(ee,en){let{__demoMode:er=!1,...eo}=ee,ei=(0,eH.useReducer)(sh,{__demoMode:er,menuState:er?0:1,buttonRef:(0,eH.createRef)(),itemsRef:(0,eH.createRef)(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:ec,itemsRef:eu,buttonRef:ed},ef]=ei,eh=iy(en);ax([ed,eu],(ee,en)=>{var er;ef({type:1}),an(en,at.Loose)||(ee.preventDefault(),null==(er=ed.current)||er.focus())},0===ec);let ep=ix(()=>{ef({type:1})}),em=(0,eH.useMemo)(()=>({open:0===ec,close:ep}),[ec,ep]),eg={ref:eh};return eH.createElement(sd.Provider,{value:ei},eH.createElement(it,{value:oQ(ec,{0:o7.Open,1:o7.Closed})},o0({ourProps:eg,theirProps:eo,slot:em,defaultTag:sp,name:"Menu"})))}let sg="button";function sx(ee,en){var er;let eo=iK(),{id:ei=`headlessui-menu-button-${eo}`,...ec}=ee,[eu,ed]=sf("Menu.Button"),ef=iy(eu.buttonRef,en),eh=iC(),ep=ix(ee=>{switch(ee.key){case iY.Space:case iY.Enter:case iY.ArrowDown:ee.preventDefault(),ee.stopPropagation(),ed({type:0}),eh.nextFrame(()=>ed({type:2,focus:i0.First}));break;case iY.ArrowUp:ee.preventDefault(),ee.stopPropagation(),ed({type:0}),eh.nextFrame(()=>ed({type:2,focus:i0.Last}))}}),em=ix(ee=>{ee.key===iY.Space&&ee.preventDefault()}),eg=ix(en=>{if(i2(en.currentTarget))return en.preventDefault();ee.disabled||(0===eu.menuState?(ed({type:1}),eh.nextFrame(()=>{var ee;return null==(ee=eu.buttonRef.current)?void 0:ee.focus({preventScroll:!0})})):(en.preventDefault(),ed({type:0})))}),ex=(0,eH.useMemo)(()=>({open:0===eu.menuState}),[eu]);return o0({ourProps:{ref:ef,id:ei,type:ap(ee,eu.buttonRef),"aria-haspopup":"menu","aria-controls":null==(er=eu.itemsRef.current)?void 0:er.id,"aria-expanded":0===eu.menuState,onKeyDown:ep,onKeyUp:em,onClick:eg},theirProps:ec,slot:ex,defaultTag:sg,name:"Menu.Button"})}let sv="div",sy=oY.RenderStrategy|oY.Static;function sb(ee,en){var er,eo;let ei=iK(),{id:ec=`headlessui-menu-items-${ei}`,...eu}=ee,[ed,ef]=sf("Menu.Items"),eh=iy(ed.itemsRef,en),ep=so(ed.itemsRef),em=iC(),eg=o8(),ex=null!==eg?(eg&o7.Open)===o7.Open:0===ed.menuState;(0,eH.useEffect)(()=>{let ee=ed.itemsRef.current;ee&&0===ed.menuState&&ee!==(null==ep?void 0:ep.activeElement)&&ee.focus({preventScroll:!0})},[ed.menuState,ed.itemsRef,ep]),sr({container:ed.itemsRef.current,enabled:0===ed.menuState,accept:ee=>"menuitem"===ee.getAttribute("role")?NodeFilter.FILTER_REJECT:ee.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(ee){ee.setAttribute("role","none")}});let ev=ix(ee=>{var en,er;switch(em.dispose(),ee.key){case iY.Space:if(""!==ed.searchQuery)return ee.preventDefault(),ee.stopPropagation(),ef({type:3,value:ee.key});case iY.Enter:if(ee.preventDefault(),ee.stopPropagation(),ef({type:1}),null!==ed.activeItemIndex){let{dataRef:ee}=ed.items[ed.activeItemIndex];null==(er=null==(en=ee.current)?void 0:en.domRef.current)||er.click()}ar(ed.buttonRef.current);break;case iY.ArrowDown:return ee.preventDefault(),ee.stopPropagation(),ef({type:2,focus:i0.Next});case iY.ArrowUp:return ee.preventDefault(),ee.stopPropagation(),ef({type:2,focus:i0.Previous});case iY.Home:case iY.PageUp:return ee.preventDefault(),ee.stopPropagation(),ef({type:2,focus:i0.First});case iY.End:case iY.PageDown:return ee.preventDefault(),ee.stopPropagation(),ef({type:2,focus:i0.Last});case iY.Escape:ee.preventDefault(),ee.stopPropagation(),ef({type:1}),ik().nextFrame(()=>{var ee;return null==(ee=ed.buttonRef.current)?void 0:ee.focus({preventScroll:!0})});break;case iY.Tab:ee.preventDefault(),ee.stopPropagation(),ef({type:1}),ik().nextFrame(()=>{ad(ed.buttonRef.current,ee.shiftKey?i6.Previous:i6.Next)});break;default:1===ee.key.length&&(ef({type:3,value:ee.key}),em.setTimeout(()=>ef({type:4}),350))}}),ey=ix(ee=>{ee.key===iY.Space&&ee.preventDefault()}),eb=(0,eH.useMemo)(()=>({open:0===ed.menuState}),[ed]);return o0({ourProps:{"aria-activedescendant":null===ed.activeItemIndex||null==(er=ed.items[ed.activeItemIndex])?void 0:er.id,"aria-labelledby":null==(eo=ed.buttonRef.current)?void 0:eo.id,id:ec,onKeyDown:ev,onKeyUp:ey,role:"menu",tabIndex:0,ref:eh},theirProps:eu,slot:eb,defaultTag:sv,features:sy,visible:ex,name:"Menu.Items"})}let sw=eH.Fragment;function sk(ee,en){let er=iK(),{id:eo=`headlessui-menu-item-${er}`,disabled:ei=!1,...ec}=ee,[eu,ed]=sf("Menu.Item"),ef=null!==eu.activeItemIndex&&eu.items[eu.activeItemIndex].id===eo,eh=(0,eH.useRef)(null),ep=iy(en,eh);ic(()=>{if(eu.__demoMode||0!==eu.menuState||!ef||0===eu.activationTrigger)return;let ee=ik();return ee.requestAnimationFrame(()=>{var ee,en;null==(en=null==(ee=eh.current)?void 0:ee.scrollIntoView)||en.call(ee,{block:"nearest"})}),ee.dispose},[eu.__demoMode,eh,ef,eu.menuState,eu.activationTrigger,eu.activeItemIndex]);let em=aN(eh),eg=(0,eH.useRef)({disabled:ei,domRef:eh,get textValue(){return em()}});ic(()=>{eg.current.disabled=ei},[eg,ei]),ic(()=>(ed({type:5,id:eo,dataRef:eg}),()=>ed({type:6,id:eo})),[eg,eo]);let ex=ix(()=>{ed({type:1})}),ev=ix(ee=>{if(ei)return ee.preventDefault();ed({type:1}),ar(eu.buttonRef.current)}),ey=ix(()=>{if(ei)return ed({type:2,focus:i0.Nothing});ed({type:2,focus:i0.Specific,id:eo})}),eb=aO(),ew=ix(ee=>eb.update(ee)),ek=ix(ee=>{eb.wasMoved(ee)&&(ei||ef||ed({type:2,focus:i0.Specific,id:eo,trigger:0}))}),e_=ix(ee=>{eb.wasMoved(ee)&&(ei||ef&&ed({type:2,focus:i0.Nothing}))}),ej=(0,eH.useMemo)(()=>({active:ef,disabled:ei,close:ex}),[ef,ei,ex]);return o0({ourProps:{id:eo,ref:ep,role:"menuitem",tabIndex:!0===ei?void 0:-1,"aria-disabled":!0===ei||void 0,disabled:void 0,onClick:ev,onFocus:ey,onPointerEnter:ew,onMouseEnter:ew,onPointerMove:ek,onMouseMove:ek,onPointerLeave:e_,onMouseLeave:e_},theirProps:ec,slot:ej,defaultTag:sw,name:"Menu.Item"})}let s_=Object.assign(o4(sm),{Button:o4(sx),Items:o4(sb),Item:o4(sk)}),sj=ee=>"object"==typeof ee&&null!=ee&&1===ee.nodeType,sE=(ee,en)=>(!en||"hidden"!==ee)&&"visible"!==ee&&"clip"!==ee,sO=(ee,en)=>{if(ee.clientHeight{let en=(ee=>{if(!ee.ownerDocument||!ee.ownerDocument.defaultView)return null;try{return ee.ownerDocument.defaultView.frameElement}catch(ee){return null}})(ee);return!!en&&(en.clientHeightecen||ec>ee&&eu=en&&ed>=er?ec-ee-eo:eu>en&&eder?eu-en+ei:0,sS=ee=>{let en=ee.parentElement;return null==en?ee.getRootNode().host||null:en},sT=(ee,en)=>{var er,eo,ei,ec;if("undefined"==typeof document)return[];let{scrollMode:eu,block:ed,inline:ef,boundary:eh,skipOverflowHiddenElements:ep}=en,em="function"==typeof eh?eh:ee=>ee!==eh;if(!sj(ee))throw TypeError("Invalid target");let eg=document.scrollingElement||document.documentElement,ex=[],ev=ee;for(;sj(ev)&&em(ev);){if((ev=sS(ev))===eg){ex.push(ev);break}null!=ev&&ev===document.body&&sO(ev)&&!sO(document.documentElement)||null!=ev&&sO(ev,ep)&&ex.push(ev)}let ey=null!=(eo=null==(er=window.visualViewport)?void 0:er.width)?eo:innerWidth,eb=null!=(ec=null==(ei=window.visualViewport)?void 0:ei.height)?ec:innerHeight,{scrollX:ew,scrollY:ek}=window,{height:e_,width:ej,top:eE,right:eO,bottom:eC,left:eS}=ee.getBoundingClientRect(),{top:eT,right:eN,bottom:eA,left:eI}=(ee=>{let en=window.getComputedStyle(ee);return{top:parseFloat(en.scrollMarginTop)||0,right:parseFloat(en.scrollMarginRight)||0,bottom:parseFloat(en.scrollMarginBottom)||0,left:parseFloat(en.scrollMarginLeft)||0}})(ee),eR="start"===ed||"nearest"===ed?eE-eT:"end"===ed?eC+eA:eE+e_/2-eT+eA,eM="center"===ef?eS+ej/2-eI+eN:"end"===ef?eO+eN:eS-eI,eL=[];for(let ee=0;ee=0&&eS>=0&&eC<=eb&&eO<=ey&&eE>=ei&&eC<=eh&&eS>=ep&&eO<=ec)break;let em=getComputedStyle(en),ev=parseInt(em.borderLeftWidth,10),eT=parseInt(em.borderTopWidth,10),eN=parseInt(em.borderRightWidth,10),eA=parseInt(em.borderBottomWidth,10),eI=0,eP=0,eZ="offsetWidth"in en?en.offsetWidth-en.clientWidth-ev-eN:0,eD="offsetHeight"in en?en.offsetHeight-en.clientHeight-eT-eA:0,eF="offsetWidth"in en?0===en.offsetWidth?0:eo/en.offsetWidth:0,eH="offsetHeight"in en?0===en.offsetHeight?0:er/en.offsetHeight:0;if(eg===en)eI="start"===ed?eR:"end"===ed?eR-eb:"nearest"===ed?sC(ek,ek+eb,eb,eT,eA,ek+eR,ek+eR+e_,e_):eR-eb/2,eP="start"===ef?eM:"center"===ef?eM-ey/2:"end"===ef?eM-ey:sC(ew,ew+ey,ey,ev,eN,ew+eM,ew+eM+ej,ej),eI=Math.max(0,eI+ek),eP=Math.max(0,eP+ew);else{eI="start"===ed?eR-ei-eT:"end"===ed?eR-eh+eA+eD:"nearest"===ed?sC(ei,eh,er,eT,eA+eD,eR,eR+e_,e_):eR-(ei+er/2)+eD/2,eP="start"===ef?eM-ep-ev:"center"===ef?eM-(ep+eo/2)+eZ/2:"end"===ef?eM-ec+eN+eZ:sC(ep,ec,eo,ev,eN+eZ,eM,eM+ej,ej);let{scrollLeft:ee,scrollTop:eu}=en;eI=0===eH?0:Math.max(0,Math.min(eu+eI/eH,en.scrollHeight-er/eH+eD)),eP=0===eF?0:Math.max(0,Math.min(ee+eP/eF,en.scrollWidth-eo/eF+eZ)),eR+=eu-eI,eM+=ee-eP}eL.push({el:en,top:eI,left:eP})}return eL},sN=ee=>{var en;return!1===ee?{block:"end",inline:"nearest"}:(en=ee,en===Object(en)&&0!==Object.keys(en).length)?ee:{block:"start",inline:"nearest"}};function sA(ee,en){var er;if(!ee.isConnected||!(ee=>{let en=ee;for(;en&&en.parentNode;){if(en.parentNode===document)return!0;en=en.parentNode instanceof ShadowRoot?en.parentNode.host:en.parentNode}return!1})(ee))return;let eo=(ee=>{let en=window.getComputedStyle(ee);return{top:parseFloat(en.scrollMarginTop)||0,right:parseFloat(en.scrollMarginRight)||0,bottom:parseFloat(en.scrollMarginBottom)||0,left:parseFloat(en.scrollMarginLeft)||0}})(ee);if("object"==typeof(er=en)&&"function"==typeof er.behavior)return en.behavior(sT(ee,en));let ei="boolean"==typeof en||null==en?void 0:en.behavior;for(let{el:er,top:ec,left:eu}of sT(ee,sN(en))){let ee=ec-eo.top+eo.bottom,en=eu-eo.left+eo.right;er.scroll({top:ee,left:en,behavior:ei})}}var sI=er(97605),sR=er(96593),sM=er.n(sR),sL={CASE_SENSITIVE_EQUAL:7,EQUAL:6,STARTS_WITH:5,WORD_STARTS_WITH:4,CONTAINS:3,ACRONYM:2,MATCHES:1,NO_MATCH:0};sZ.rankings=sL;var sP=function(ee,en){return String(ee.rankedValue).localeCompare(String(en.rankedValue))};function sZ(ee,en,er){void 0===er&&(er={});var eo=er,ei=eo.keys,ec=eo.threshold,eu=void 0===ec?sL.MATCHES:ec,ed=eo.baseSort,ef=void 0===ed?sP:ed,eh=eo.sorter;return(void 0===eh?function(ee){return ee.sort(function(ee,en){return sB(ee,en,ef)})}:eh)(ee.reduce(ep,[])).map(function(ee){return ee.item});function ep(ee,eo,ec){var ed=sD(eo,ei,en,er),ef=ed.rank,eh=ed.keyThreshold;return ef>=(void 0===eh?eu:eh)&&ee.push((0,sI.Z)({},ed,{item:eo,index:ec})),ee}}function sD(ee,en,er,eo){if(!en){var ei=ee;return{rankedValue:ei,rank:sF(ei,er,eo),keyIndex:-1,keyThreshold:eo.threshold}}return sU(ee,en).reduce(function(ee,en,ei){var ec=ee.rank,eu=ee.rankedValue,ed=ee.keyIndex,ef=ee.keyThreshold,eh=en.itemValue,ep=en.attributes,em=sF(eh,er,eo),eg=eu,ex=ep.minRanking,ev=ep.maxRanking,ey=ep.threshold;return em=sL.MATCHES?em=ex:em>ev&&(em=ev),em>ec&&(ec=em,ed=ei,ef=ey,eg=eh),{rankedValue:eg,rank:ec,keyIndex:ed,keyThreshold:ef}},{rankedValue:ee,rank:sL.NO_MATCH,keyIndex:-1,keyThreshold:eo.threshold})}function sF(ee,en,er){return(ee=sW(ee,er),(en=sW(en,er)).length>ee.length)?sL.NO_MATCH:ee===en?sL.CASE_SENSITIVE_EQUAL:(ee=ee.toLowerCase())===(en=en.toLowerCase())?sL.EQUAL:ee.startsWith(en)?sL.STARTS_WITH:ee.includes(" "+en)?sL.WORD_STARTS_WITH:ee.includes(en)?sL.CONTAINS:1===en.length?sL.NO_MATCH:sH(ee).includes(en)?sL.ACRONYM:sz(ee,en)}function sH(ee){var en="";return ee.split(" ").forEach(function(ee){ee.split("-").forEach(function(ee){en+=ee.substr(0,1)})}),en}function sz(ee,en){var er=0,eo=0;function ei(ee,en,eo){for(var ei=eo,ec=en.length;ei-1))return sL.NO_MATCH;return ec(eo-eu)}function sB(ee,en,er){var eo=-1,ei=1,ec=ee.rank,eu=ee.keyIndex,ed=en.rank,ef=en.keyIndex;return ec!==ed?ec>ed?eo:ei:eu===ef?er(ee,en):eu(0,eD.jsx)("button",{className:eW("nextra-button nx-transition-all active:nx-opacity-50","nx-bg-primary-700/5 nx-border nx-border-black/5 nx-text-gray-600 hover:nx-text-gray-900 nx-rounded-md nx-p-1.5","dark:nx-bg-primary-300/10 dark:nx-border-white/10 dark:nx-text-gray-400 dark:hover:nx-text-gray-50",en),...er,children:ee});eW("nx-border-orange-100 nx-bg-orange-50 nx-text-orange-800 dark:nx-border-orange-400/30 dark:nx-bg-orange-400/20 dark:nx-text-orange-300"),eW("nx-border-red-200 nx-bg-red-100 nx-text-red-900 dark:nx-border-red-200/30 dark:nx-bg-red-900/30 dark:nx-text-red-200"),eW("nx-border-blue-200 nx-bg-blue-100 nx-text-blue-900 dark:nx-border-blue-200/30 dark:nx-bg-blue-900/30 dark:nx-text-blue-200"),eW("nx-border-yellow-100 nx-bg-yellow-50 nx-text-yellow-900 dark:nx-border-yellow-200/30 dark:nx-bg-yellow-700/30 dark:nx-text-yellow-200");var sK=({getValue:ee,...en})=>{let[er,eo]=(0,eH.useState)(!1);(0,eH.useEffect)(()=>{if(!er)return;let ee=setTimeout(()=>{eo(!1)},2e3);return()=>{clearTimeout(ee)}},[er]);let ei=(0,eH.useCallback)(async()=>{eo(!0),navigator?.clipboard||console.error("Access to clipboard rejected!");try{await navigator.clipboard.writeText(ee())}catch{console.error("Failed to copy!")}},[ee]),ec=er?eK:eQ;return(0,eD.jsx)(sX,{onClick:ei,title:"Copy code",tabIndex:0,...en,children:(0,eD.jsx)(ec,{className:"nextra-copy-icon nx-pointer-events-none nx-h-4 nx-w-4"})})},sQ=({children:ee,className:en,...er})=>{let eo="data-line-numbers"in er;return(0,eD.jsx)("code",{className:eW("nx-border-black nx-border-opacity-[0.04] nx-bg-opacity-[0.03] nx-bg-black nx-break-words nx-rounded-md nx-border nx-py-0.5 nx-px-[.25em] nx-text-[.9em]","dark:nx-border-white/10 dark:nx-bg-white/10",eo&&"[counter-reset:line]",en),dir:"ltr",...er,children:ee})},sY=({children:ee,className:en,hasCopyCode:er,filename:eo,...ei})=>{let ec=(0,eH.useRef)(null),eu=(0,eH.useCallback)(()=>{let ee=document.documentElement.dataset,en="nextraWordWrap"in ee;en?delete ee.nextraWordWrap:ee.nextraWordWrap=""},[]);return(0,eD.jsxs)("div",{className:"nextra-code-block nx-relative nx-mt-6 first:nx-mt-0",children:[eo&&(0,eD.jsx)("div",{className:"nx-absolute nx-top-0 nx-z-[1] nx-w-full nx-truncate nx-rounded-t-xl nx-bg-primary-700/5 nx-py-2 nx-px-4 nx-text-xs nx-text-gray-700 dark:nx-bg-primary-300/10 dark:nx-text-gray-200",children:eo}),(0,eD.jsx)("pre",{className:eW("nx-bg-primary-700/5 nx-mb-4 nx-overflow-x-auto nx-rounded-xl nx-subpixel-antialiased dark:nx-bg-primary-300/10 nx-text-[.9em]","contrast-more:nx-border contrast-more:nx-border-primary-900/20 contrast-more:nx-contrast-150 contrast-more:dark:nx-border-primary-100/40",eo?"nx-pt-12 nx-pb-4":"nx-py-4",en),ref:ec,...ei,children:ee}),(0,eD.jsxs)("div",{className:eW("nx-opacity-0 nx-transition [div:hover>&]:nx-opacity-100 focus-within:nx-opacity-100","nx-flex nx-gap-1 nx-absolute nx-m-[11px] nx-right-0",eo?"nx-top-8":"nx-top-0"),children:[(0,eD.jsx)(sX,{onClick:eu,className:"md:nx-hidden",title:"Toggle word wrap",children:(0,eD.jsx)(e9,{className:"nx-pointer-events-none nx-h-4 nx-w-4"})}),er&&(0,eD.jsx)(sK,{getValue:()=>ec.current?.querySelector("code")?.textContent||""})]})]})};function sJ({onFocus:ee}){let[en,er]=(0,eH.useState)(!0),eo=iu();return en?eH.createElement(ab,{as:"button",type:"button",features:ay.Focusable,onFocus:en=>{en.preventDefault();let ei,ec=50;function eu(){if(ec--<=0){ei&&cancelAnimationFrame(ei);return}if(ee()){if(cancelAnimationFrame(ei),!eo.current)return;er(!1);return}ei=requestAnimationFrame(eu)}ei=requestAnimationFrame(eu)}}):null}let s0=eH.createContext(null);function s1(){return{groups:new Map,get(ee,en){var er;let eo=this.groups.get(ee);eo||(eo=new Map,this.groups.set(ee,eo));let ei=null!=(er=eo.get(en))?er:0;function ec(){let ee=eo.get(en);ee>1?eo.set(en,ee-1):eo.delete(en)}return eo.set(en,ei+1),[Array.from(eo.keys()).indexOf(en),ec]}}}function s2({children:ee}){let en=eH.useRef(s1());return eH.createElement(s0.Provider,{value:en},ee)}function s5(ee){let en=eH.useContext(s0);if(!en)throw Error("You must wrap your component in a ");let er=s4(),[eo,ei]=en.current.get(ee,er);return eH.useEffect(()=>ei,[]),eo}function s4(){var ee,en,er;let eo=null!=(er=null==(en=null==(ee=eH.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)?void 0:ee.ReactCurrentOwner)?void 0:en.current)?er:null;if(!eo)return Symbol();let ei=[],ec=eo;for(;ec;)ei.push(ec.index),ec=ec.return;return"$."+ei.join(".")}var s3=((eC=s3||{})[eC.Forwards=0]="Forwards",eC[eC.Backwards=1]="Backwards",eC),s6=((eS=s6||{})[eS.Less=-1]="Less",eS[eS.Equal=0]="Equal",eS[eS.Greater=1]="Greater",eS),s9=((eT=s9||{})[eT.SetSelectedIndex=0]="SetSelectedIndex",eT[eT.RegisterTab=1]="RegisterTab",eT[eT.UnregisterTab=2]="UnregisterTab",eT[eT.RegisterPanel=3]="RegisterPanel",eT[eT.UnregisterPanel=4]="UnregisterPanel",eT);let s7={0(ee,en){var er;let eo=au(ee.tabs,ee=>ee.current),ei=au(ee.panels,ee=>ee.current),ec=eo.filter(ee=>{var en;return!(null!=(en=ee.current)&&en.hasAttribute("disabled"))}),eu={...ee,tabs:eo,panels:ei};if(en.index<0||en.index>eo.length-1){let er=oQ(Math.sign(en.index-ee.selectedIndex),{[-1]:()=>1,0:()=>oQ(Math.sign(en.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});if(0===ec.length)return eu;let ei=oQ(er,{0:()=>eo.indexOf(ec[0]),1:()=>eo.indexOf(ec[ec.length-1])});return{...eu,selectedIndex:-1===ei?ee.selectedIndex:ei}}let ed=eo.slice(0,en.index),ef=[...eo.slice(en.index),...ed].find(ee=>ec.includes(ee));if(!ef)return eu;let eh=null!=(er=eo.indexOf(ef))?er:ee.selectedIndex;return -1===eh&&(eh=ee.selectedIndex),{...eu,selectedIndex:eh}},1(ee,en){var er;if(ee.tabs.includes(en.tab))return ee;let eo=ee.tabs[ee.selectedIndex],ei=au([...ee.tabs,en.tab],ee=>ee.current),ec=null!=(er=ei.indexOf(eo))?er:ee.selectedIndex;return -1===ec&&(ec=ee.selectedIndex),{...ee,tabs:ei,selectedIndex:ec}},2:(ee,en)=>({...ee,tabs:ee.tabs.filter(ee=>ee!==en.tab)}),3:(ee,en)=>ee.panels.includes(en.panel)?ee:{...ee,panels:au([...ee.panels,en.panel],ee=>ee.current)},4:(ee,en)=>({...ee,panels:ee.panels.filter(ee=>ee!==en.panel)})},s8=(0,eH.createContext)(null);function lt(ee){let en=(0,eH.useContext)(s8);if(null===en){let en=Error(`<${ee} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(en,lt),en}return en}s8.displayName="TabsDataContext";let ln=(0,eH.createContext)(null);function lr(ee){let en=(0,eH.useContext)(ln);if(null===en){let en=Error(`<${ee} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(en,lr),en}return en}function lo(ee,en){return oQ(en.type,s7,ee,en)}ln.displayName="TabsActionsContext";let li=eH.Fragment;function ls(ee,en){let{defaultIndex:er=0,vertical:eo=!1,manual:ei=!1,onChange:ec,selectedIndex:eu=null,...ed}=ee,ef=eo?"vertical":"horizontal",eh=ei?"manual":"auto",ep=null!==eu,em=iy(en),[eg,ex]=(0,eH.useReducer)(lo,{selectedIndex:null!=eu?eu:er,tabs:[],panels:[]}),ev=(0,eH.useMemo)(()=>({selectedIndex:eg.selectedIndex}),[eg.selectedIndex]),ey=ih(ec||(()=>{})),eb=ih(eg.tabs),ew=(0,eH.useMemo)(()=>({orientation:ef,activation:eh,...eg}),[ef,eh,eg]),ek=ix(ee=>(ex({type:1,tab:ee}),()=>ex({type:2,tab:ee}))),e_=ix(ee=>(ex({type:3,panel:ee}),()=>ex({type:4,panel:ee}))),ej=ix(ee=>{eE.current!==ee&&ey.current(ee),ep||ex({type:0,index:ee})}),eE=ih(ep?ee.selectedIndex:eg.selectedIndex),eO=(0,eH.useMemo)(()=>({registerTab:ek,registerPanel:e_,change:ej}),[]);ic(()=>{ex({type:0,index:null!=eu?eu:er})},[eu]),ic(()=>{if(void 0===eE.current||eg.tabs.length<=0)return;let ee=au(eg.tabs,ee=>ee.current);ee.some((ee,en)=>eg.tabs[en]!==ee)&&ej(ee.indexOf(eg.tabs[eE.current]))});let eC={ref:em};return eH.createElement(s2,null,eH.createElement(ln.Provider,{value:eO},eH.createElement(s8.Provider,{value:ew},ew.tabs.length<=0&&eH.createElement(sJ,{onFocus:()=>{var ee,en;for(let er of eb.current)if((null==(ee=er.current)?void 0:ee.tabIndex)===0)return null==(en=er.current)||en.focus(),!0;return!1}}),o0({ourProps:eC,theirProps:ed,slot:ev,defaultTag:li,name:"Tabs"}))))}let ll="div";function lc(ee,en){let{orientation:er,selectedIndex:eo}=lt("Tab.List");return o0({ourProps:{ref:iy(en),role:"tablist","aria-orientation":er},theirProps:ee,slot:{selectedIndex:eo},defaultTag:ll,name:"Tabs.List"})}let lu="button";function ld(ee,en){var er,eo;let ei=iK(),{id:ec=`headlessui-tabs-tab-${ei}`,...eu}=ee,{orientation:ed,activation:ef,selectedIndex:eh,tabs:ep,panels:em}=lt("Tab"),eg=lr("Tab"),ex=lt("Tab"),ev=(0,eH.useRef)(null),ey=iy(ev,en);ic(()=>eg.registerTab(ev),[eg,ev]);let eb=s5("tabs"),ew=ep.indexOf(ev);-1===ew&&(ew=eb);let ek=ew===eh,e_=ix(ee=>{var en;let er=ee();if(er===i9.Success&&"auto"===ef){let ee=null==(en=i4(ev))?void 0:en.activeElement,er=ex.tabs.findIndex(en=>en.current===ee);-1!==er&&eg.change(er)}return er}),ej=ix(ee=>{let en=ep.map(ee=>ee.current).filter(Boolean);if(ee.key===iY.Space||ee.key===iY.Enter){ee.preventDefault(),ee.stopPropagation(),eg.change(ew);return}switch(ee.key){case iY.Home:case iY.PageUp:return ee.preventDefault(),ee.stopPropagation(),e_(()=>af(en,i6.First));case iY.End:case iY.PageDown:return ee.preventDefault(),ee.stopPropagation(),e_(()=>af(en,i6.Last))}if(e_(()=>oQ(ed,{vertical:()=>ee.key===iY.ArrowUp?af(en,i6.Previous|i6.WrapAround):ee.key===iY.ArrowDown?af(en,i6.Next|i6.WrapAround):i9.Error,horizontal:()=>ee.key===iY.ArrowLeft?af(en,i6.Previous|i6.WrapAround):ee.key===iY.ArrowRight?af(en,i6.Next|i6.WrapAround):i9.Error}))===i9.Success)return ee.preventDefault()}),eE=(0,eH.useRef)(!1),eO=ix(()=>{var ee;eE.current||(eE.current=!0,null==(ee=ev.current)||ee.focus({preventScroll:!0}),eg.change(ew),iw(()=>{eE.current=!1}))}),eC=ix(ee=>{ee.preventDefault()}),eS=(0,eH.useMemo)(()=>({selected:ek}),[ek]);return o0({ourProps:{ref:ey,onKeyDown:ej,onMouseDown:eC,onClick:eO,id:ec,role:"tab",type:ap(ee,ev),"aria-controls":null==(eo=null==(er=em[ew])?void 0:er.current)?void 0:eo.id,"aria-selected":ek,tabIndex:ek?0:-1},theirProps:eu,slot:eS,defaultTag:lu,name:"Tabs.Tab"})}let lf="div";function lh(ee,en){let{selectedIndex:er}=lt("Tab.Panels");return o0({ourProps:{ref:iy(en)},theirProps:ee,slot:(0,eH.useMemo)(()=>({selectedIndex:er}),[er]),defaultTag:lf,name:"Tabs.Panels"})}let lp="div",lm=oY.RenderStrategy|oY.Static;function lg(ee,en){var er,eo,ei,ec;let eu=iK(),{id:ed=`headlessui-tabs-panel-${eu}`,tabIndex:ef=0,...eh}=ee,{selectedIndex:ep,tabs:em,panels:eg}=lt("Tab.Panel"),ex=lr("Tab.Panel"),ev=(0,eH.useRef)(null),ey=iy(ev,en);ic(()=>ex.registerPanel(ev),[ex,ev]);let eb=s5("panels"),ew=eg.indexOf(ev);-1===ew&&(ew=eb);let ek=ew===ep,e_=(0,eH.useMemo)(()=>({selected:ek}),[ek]),ej={ref:ey,id:ed,role:"tabpanel","aria-labelledby":null==(eo=null==(er=em[ew])?void 0:er.current)?void 0:eo.id,tabIndex:ek?ef:-1};return ek||null!=(ei=eh.unmount)&&!ei||null!=(ec=eh.static)&&ec?o0({ourProps:ej,theirProps:eh,slot:e_,defaultTag:lp,features:lm,visible:ek,name:"Tabs.Panel"}):eH.createElement(ab,{as:"span",...ej})}let lx=Object.assign(o4(ld),{Group:o4(ls),List:o4(lc),Panels:o4(lh),Panel:o4(lg)});function lv(ee){return!!ee&&"object"==typeof ee&&"label"in ee}Object.assign(function({items:ee,selectedIndex:en,defaultIndex:er=0,onChange:eo,children:ei,storageKey:ec}){let[eu,ed]=(0,eH.useState)(er);(0,eH.useEffect)(()=>{void 0!==en&&ed(en)},[en]),(0,eH.useEffect)(()=>{if(!ec)return;function ee(ee){ee.key===ec&&ed(Number(ee.newValue))}let en=Number(localStorage.getItem(ec));return ed(Number.isNaN(en)?0:en),window.addEventListener("storage",ee),()=>{window.removeEventListener("storage",ee)}},[]);let ef=(0,eH.useCallback)(ee=>{if(ec){let en=String(ee);localStorage.setItem(ec,en),window.dispatchEvent(new StorageEvent("storage",{key:ec,newValue:en}));return}ed(ee),eo?.(ee)},[]);return(0,eD.jsxs)(lx.Group,{selectedIndex:eu,defaultIndex:er,onChange:ef,children:[(0,eD.jsx)("div",{className:"nextra-scrollbar nx-overflow-x-auto nx-overflow-y-hidden nx-overscroll-x-contain",children:(0,eD.jsx)(lx.List,{className:"nx-mt-4 nx-flex nx-w-max nx-min-w-full nx-border-b nx-border-gray-200 nx-pb-px dark:nx-border-neutral-800",children:ee.map((ee,en)=>{let er=lv(ee)&&ee.disabled;return(0,eD.jsx)(lx,{disabled:er,className:({selected:ee})=>eW("nx-mr-2 nx-rounded-t nx-p-2 nx-font-medium nx-leading-5 nx-transition-colors","-nx-mb-0.5 nx-select-none nx-border-b-2",ee?"nx-border-primary-500 nx-text-primary-600":"nx-border-transparent nx-text-gray-600 hover:nx-border-gray-200 hover:nx-text-black dark:nx-text-gray-200 dark:hover:nx-border-neutral-800 dark:hover:nx-text-white",er&&"nx-pointer-events-none nx-text-gray-400 dark:nx-text-neutral-600"),children:lv(ee)?ee.label:ee},en)})})}),(0,eD.jsx)(lx.Panels,{children:ei})]})},{displayName:"Tabs",Tab:function({children:ee,...en}){return(0,eD.jsx)(lx.Panel,{...en,className:"nx-rounded nx-pt-6",children:ee})}});var ly=({className:ee="",...en})=>(0,eD.jsx)("td",{className:eW("nx-m-0 nx-border nx-border-gray-300 nx-px-4 nx-py-2 dark:nx-border-gray-600",ee),...en}),lb=({className:ee="",...en})=>(0,eD.jsx)("table",{className:eW("nx-block nx-overflow-x-scroll",ee),...en}),lw=({className:ee="",...en})=>(0,eD.jsx)("th",{className:eW("nx-m-0 nx-border nx-border-gray-300 nx-px-4 nx-py-2 nx-font-semibold dark:nx-border-gray-600",ee),...en}),lk=({className:ee="",...en})=>(0,eD.jsx)("tr",{className:eW("nx-m-0 nx-border-t nx-border-gray-300 nx-p-0 dark:nx-border-gray-600","even:nx-bg-gray-100 even:dark:nx-bg-gray-600/20",ee),...en}),l_={cards:eW("nextra-cards nx-mt-4 nx-gap-4 nx-grid","nx-not-prose"),card:eW("nextra-card nx-group nx-flex nx-flex-col nx-justify-start nx-overflow-hidden nx-rounded-lg nx-border nx-border-gray-200","nx-text-current nx-no-underline dark:nx-shadow-none","hover:nx-shadow-gray-100 dark:hover:nx-shadow-none nx-shadow-gray-100","active:nx-shadow-sm active:nx-shadow-gray-200","nx-transition-all nx-duration-200 hover:nx-border-gray-300"),title:eW("nx-flex nx-font-semibold nx-items-start nx-gap-2 nx-p-4 nx-text-gray-700 hover:nx-text-gray-900")},lj=(0,eD.jsx)("span",{className:"nx-transition-transform nx-duration-75 group-hover:nx-translate-x-[2px]",children:"→"});Object.assign(function({children:ee,num:en=3,className:er,style:eo,...ei}){return(0,eD.jsx)("div",{className:eW(l_.cards,er),...ei,style:{...eo,"--rows":en},children:ee})},{displayName:"Cards",Card:function({children:ee,title:en,icon:er,image:eo,arrow:ei,href:ec,...eu}){let ed=ei?lj:null;return eo?(0,eD.jsxs)(n3(),{href:ec,className:eW(l_.card,"nx-bg-gray-100 nx-shadow dark:nx-border-neutral-700 dark:nx-bg-neutral-800 dark:nx-text-gray-50 hover:nx-shadow-lg dark:hover:nx-border-neutral-500 dark:hover:nx-bg-neutral-700"),...eu,children:[ee,(0,eD.jsxs)("span",{className:eW(l_.title,"dark:nx-text-gray-300 dark:hover:nx-text-gray-100"),children:[er,(0,eD.jsxs)("span",{className:"nx-flex nx-gap-1",children:[en,ed]})]})]}):(0,eD.jsx)(n3(),{href:ec,className:eW(l_.card,"nx-bg-transparent nx-shadow-sm dark:nx-border-neutral-800 hover:nx-bg-slate-50 hover:nx-shadow-md dark:hover:nx-border-neutral-700 dark:hover:nx-bg-neutral-900"),...eu,children:(0,eD.jsxs)("span",{className:eW(l_.title,"dark:nx-text-neutral-200 dark:hover:nx-text-neutral-50 nx-flex nx-items-center"),children:[er,en,ed]})})}});var lE=(0,eH.createContext)(0);function lO(){return(0,eH.useContext)(lE)}function lC({children:ee}){return(0,eD.jsx)("div",{className:eW("nextra-filetree nx-mt-6 nx-select-none nx-text-sm nx-text-gray-800 dark:nx-text-gray-300","nx-not-prose"),children:(0,eD.jsx)("div",{className:"nx-inline-block nx-rounded-lg nx-border nx-px-4 nx-py-2 dark:nx-border-neutral-800",children:ee})})}function lS(){let ee=lO();return(0,eD.jsx)(eD.Fragment,{children:Array.from({length:ee},(ee,en)=>(0,eD.jsx)("span",{className:"nx-w-5"},en))})}var lT=(0,eH.memo)(({label:ee,name:en,open:er,children:eo,defaultOpen:ei=!1,onToggle:ec})=>{let eu=lO(),[ed,ef]=(0,eH.useState)(ei),eh=(0,eH.useCallback)(()=>{ec?.(!ed),ef(!ed)},[ed,ec]),ep=void 0===er?ed:er;return(0,eD.jsxs)("li",{className:"nx-flex nx-list-none nx-flex-col",children:[(0,eD.jsxs)("button",{onClick:eh,title:en,className:"nx-inline-flex nx-cursor-pointer nx-items-center nx-py-1 hover:nx-opacity-60",children:[(0,eD.jsx)(lS,{}),(0,eD.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",children:(0,eD.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:ep?"M5 19a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h4l2 2h4a2 2 0 0 1 2 2v1M5 19h14a2 2 0 0 0 2-2v-5a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2Z":"M3 7v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-6l-2-2H5a2 2 0 0 0-2 2Z"})}),(0,eD.jsx)("span",{className:"nx-ml-1",children:ee??en})]}),ep&&(0,eD.jsx)("ul",{children:(0,eD.jsx)(lE.Provider,{value:eu+1,children:eo})})]})});lT.displayName="Folder";var File=(0,eH.memo)(({label:ee,name:en,active:er})=>(0,eD.jsx)("li",{className:eW("nx-flex nx-list-none",er&&"nx-text-primary-600 contrast-more:nx-underline"),children:(0,eD.jsxs)("span",{className:"nx-inline-flex nx-cursor-default nx-items-center nx-py-1",children:[(0,eD.jsx)(lS,{}),(0,eD.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",children:(0,eD.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9 12h6m-6 4h6m2 5H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5.586a1 1 0 0 1 .707.293l5.414 5.414a1 1 0 0 1 .293.707V19a2 2 0 0 1-2 2Z"})}),(0,eD.jsx)("span",{className:"nx-ml-1",children:ee??en})]})}));File.displayName="File",Object.assign(lC,{Folder:lT,File});var lN=Object.defineProperty,lA=Object.defineProperties,lI=Object.getOwnPropertyDescriptors,lR=Object.getOwnPropertySymbols,lM=Object.prototype.hasOwnProperty,lL=Object.prototype.propertyIsEnumerable,lP=(ee,en,er)=>en in ee?lN(ee,en,{enumerable:!0,configurable:!0,writable:!0,value:er}):ee[en]=er,lZ=(ee,en)=>{for(var er in en||(en={}))lM.call(en,er)&&lP(ee,er,en[er]);if(lR)for(var er of lR(en))lL.call(en,er)&&lP(ee,er,en[er]);return ee},lD=(ee,en)=>lA(ee,lI(en)),lF=(ee,en)=>{var er={};for(var eo in ee)lM.call(ee,eo)&&0>en.indexOf(eo)&&(er[eo]=ee[eo]);if(null!=ee&&lR)for(var eo of lR(ee))0>en.indexOf(eo)&&lL.call(ee,eo)&&(er[eo]=ee[eo]);return er},lH=(ee,en,er)=>new Promise((eo,ei)=>{var ec=ee=>{try{ed(er.next(ee))}catch(ee){ei(ee)}},eu=ee=>{try{ed(er.throw(ee))}catch(ee){ei(ee)}},ed=ee=>ee.done?eo(ee.value):Promise.resolve(ee.value).then(ec,eu);ed((er=er.apply(ee,en)).next())}),lz=(0,eH.createContext)({}),lB=(0,eH.createContext)(ee=>ee),lW=(0,eH.createContext)(null),lG=new WeakMap,l$=(0,eH.createContext)(lG),lU=()=>(0,eH.useContext)(lz),lV=()=>(0,eH.useContext)(lB),lq=()=>(0,eH.useContext)(lW),lX=()=>(0,eH.useContext)(l$),lK=({children:ee})=>{let[en,er]=(0,eH.useState)({}),eo=(0,eH.useRef)(null);return cK&&!eo.current&&(eo.current=new IntersectionObserver(ee=>{er(en=>{let er=lZ({},en);for(let en of ee)if((null==en?void 0:en.rootBounds)&&lG.has(en.target)){let[ee,eo]=lG.get(en.target),ei=en.boundingClientRect.y+en.boundingClientRect.height<=en.rootBounds.y+en.rootBounds.height,ec=en.intersectionRatio>0;er[ee]={index:eo,aboveHalfViewport:ei,insideHalfViewport:ec}}let eo="",ei=1/0,ec=-1;for(let ee in er)er[ee].isActive=!1,er[ee].insideHalfViewport&&er[ee].indexec&&(ec=er[ee].index,eo=ee);return er[eo]&&(er[eo].isActive=!0),er})},{rootMargin:"0px 0px -50%",threshold:[0,1]})),(0,eD.jsx)(lz.Provider,{value:en,children:(0,eD.jsx)(lB.Provider,{value:er,children:(0,eD.jsx)(l$.Provider,{value:lG,children:(0,eD.jsx)(lW.Provider,{value:eo.current,children:ee})})})})},lQ=(0,eH.createContext)({menu:!1,setMenu:()=>!1}),lY=()=>(0,eH.useContext)(lQ),lJ=lQ.Provider,l0=(0,eH.createContext)(lZ({title:"",frontMatter:{}},c4));function l1(){return(0,eH.useContext)(l0)}var l2=({children:ee,value:{themeConfig:en,pageOpts:er}})=>{let[eo,ei]=(0,eH.useState)(!1);eL||(eL=lZ(lZ({},c4),Object.fromEntries(Object.entries(en).map(([ee,en])=>[ee,en&&"object"==typeof en&&c3.includes(ee)?lZ(lZ({},c4[ee]),en):en]))));let ec=lD(lZ(lD(lZ({},eL),{flexsearch:er.flexsearch}),"boolean"==typeof er.newNextLinkBehavior&&{newNextLinkBehavior:er.newNextLinkBehavior}),{title:er.title,frontMatter:er.frontMatter}),{nextThemes:eu}=ec;return(0,eD.jsx)(ro,{attribute:"class",disableTransitionOnChange:!0,defaultTheme:eu.defaultTheme,storageKey:eu.storageKey,forcedTheme:eu.forcedTheme,children:(0,eD.jsx)(l0.Provider,{value:ec,children:(0,eD.jsx)(lJ,{value:{menu:eo,setMenu:ei},children:ee})})})},l5=(0,eH.createContext)(ee=>ee),l4=()=>(0,eH.useContext)(l5),l3=l5.Provider,l6=Number(n6.i8.split(".")[0]),l9=(0,eH.forwardRef)(function(ee,en){var er=ee,{href:eo="",children:ei,newWindow:ec}=er,eu=lF(er,["href","children","newWindow"]);let ed=l1();return ec?(0,eD.jsxs)("a",lD(lZ({ref:en,href:eo,target:"_blank",rel:"noreferrer"},eu),{children:[ei,(0,eD.jsx)("span",{className:"nx-sr-only nx-select-none",children:" (opens in a new tab)"})]})):eo?l6>12||ed.newNextLinkBehavior?(0,eD.jsx)(n3(),lD(lZ({ref:en,href:eo},eu),{children:ei})):(0,eD.jsx)(n3(),{href:eo,passHref:!0,children:(0,eD.jsx)("a",lD(lZ({ref:en},eu),{children:ei}))}):(0,eD.jsx)("a",lD(lZ({ref:en},eu),{children:ei}))});l9.displayName="Anchor";var l7=({repository:ee="",title:en,labels:er})=>{let eo=rj()(ee);if(!eo)throw Error("Invalid `docsRepositoryBase` URL!");return eo.resource.includes("gitlab")?`${eo.protocol}://${eo.resource}/${eo.owner}/${eo.name}/-/issues/new?issue[title]=${encodeURIComponent(en)}${er?`&issue[description]=/label${encodeURIComponent(` ~${er} -`)}`:""}`:eo.resource.includes("github")?`${eo.protocol}://${eo.resource}/${eo.owner}/${eo.name}/issues/new?title=${encodeURIComponent(en)}&labels=${er||""}`:"#"};function l8(ee,en){return ee?"function"!=typeof ee?ee:(0,eD.jsx)(ee,lZ({},en)):null}function ct(ee,en={}){let er="function"==typeof ee?ee(en):ee;return er||""}function cn(ee){let en=(0,eH.useRef)(null),er=(0,eH.useRef)(null),eo=(0,eH.useRef)(),ei=(0,eH.useCallback)(()=>{var ei;en.current&&er.current&&(null==(ei=eo.current)||ei.call(eo),eo.current=oU(en.current,er.current,ee).destroy)},[en,er,eo,ee]);return(0,eH.useMemo)(()=>[ee=>{en.current=ee,ei()},ee=>{er.current=ee,ei()}],[en,er,ei])}function cr(ee=""){let en=l1(),er=rj()(en.docsRepositoryBase||"");if(!er)throw Error("Invalid `docsRepositoryBase` URL!");return`${er.href}/${ee}`}function co(){let{banner:ee}=l1();if(!ee.text)return null;let en=`try{if(localStorage.getItem(${JSON.stringify(ee.key)})==='0'){document.body.classList.add('nextra-banner-hidden')}}catch(e){}`;return(0,eD.jsxs)(eD.Fragment,{children:[(0,eD.jsx)("script",{dangerouslySetInnerHTML:{__html:en}}),(0,eD.jsxs)("div",{className:eW("nextra-banner-container nx-sticky nx-top-0 nx-z-20 nx-flex nx-items-center md:nx-relative","nx-h-[var(--nextra-banner-height)] [body.nextra-banner-hidden_&]:nx-hidden","nx-text-slate-50 dark:nx-text-white nx-bg-neutral-900 dark:nx-bg-[linear-gradient(1deg,#383838,#212121)]","nx-px-2 ltr:nx-pl-10 rtl:nx-pr-10 print:nx-hidden"),children:[(0,eD.jsx)("div",{className:"nx-w-full nx-truncate nx-px-4 nx-text-center nx-font-medium nx-text-sm",children:l8(ee.text)}),ee.dismissible&&(0,eD.jsx)("button",{type:"button","aria-label":"Dismiss banner",className:"nx-w-8 nx-h-8 nx-opacity-80 hover:nx-opacity-100",onClick:()=>{try{localStorage.setItem(ee.key,"0")}catch(ee){}document.body.classList.add("nextra-banner-hidden")},children:(0,eD.jsx)(e7,{className:"nx-mx-auto nx-h-4 nx-w-4"})})]})]})}function ci({activePath:ee}){return(0,eD.jsx)("div",{className:"nextra-breadcrumb nx-mt-1.5 nx-flex nx-items-center nx-gap-1 nx-overflow-hidden nx-text-sm nx-text-gray-500 dark:nx-text-gray-400 contrast-more:nx-text-current",children:ee.map((en,er)=>{let eo=!en.children||en.withIndexPage,ei=er===ee.length-1;return(0,eD.jsxs)(eH.Fragment,{children:[er>0&&(0,eD.jsx)(eX,{className:"nx-w-3.5 nx-shrink-0"}),(0,eD.jsx)("div",{className:eW("nx-whitespace-nowrap nx-transition-colors",ei?"nx-font-medium nx-text-gray-700 contrast-more:nx-font-bold contrast-more:nx-text-current dark:nx-text-gray-100 contrast-more:dark:nx-text-current":["nx-min-w-[24px] nx-overflow-hidden nx-text-ellipsis",eo&&"hover:nx-text-gray-900 dark:hover:nx-text-gray-100"]),title:en.title,children:eo&&!ei?(0,eD.jsx)(l9,{href:en.route,children:en.title}):en.title})]},en.route+en.name)})})}function cs({children:ee,className:en,isOpen:er,horizontal:eo=!1}){let ei=(0,eH.useRef)(null),ec=(0,eH.useRef)(null),eu=(0,eH.useRef)(0),ed=(0,eH.useRef)(er),ef=(0,eH.useRef)(!0);return(0,eH.useEffect)(()=>{let ee=ei.current,en=ec.current,ed=eu.current;ed&&clearTimeout(ed),!ef.current&&ee&&en&&(ee.classList.toggle("nx-duration-500",!er),ee.classList.toggle("nx-duration-300",er),eo?(en.style.width=`${en.clientWidth}px`,ee.style.width=`${en.clientWidth}px`):ee.style.height=`${en.clientHeight}px`,er?eu.current=window.setTimeout(()=>{ee.style.removeProperty("height")},300):setTimeout(()=>{eo?ee.style.width="0px":ee.style.height="0px"},0))},[eo,er]),(0,eH.useEffect)(()=>{ef.current=!1},[]),(0,eD.jsx)("div",{ref:ei,className:"nx-transform-gpu nx-overflow-hidden nx-transition-all nx-ease-in-out motion-reduce:nx-transition-none",style:ed.current||eo?void 0:{height:0},children:(0,eD.jsx)("div",{ref:ec,className:eW("nx-transition-opacity nx-duration-500 nx-ease-in-out motion-reduce:nx-transition-none",er?"nx-opacity-100":"nx-opacity-0",en),children:ee})})}var cl=(0,eH.memo)(function({value:ee,match:en}){let er;if(!ee)return null;let eo=ee.split(""),ei=oX(en.trim()),ec=RegExp(ei.replaceAll(" ","|"),"ig"),eu=0,ed=[];for(;(er=ec.exec(ee))&&0!==ec.lastIndex;){let ee=eo.splice(0,er.index-eu).join(""),en=eo.splice(0,ec.lastIndex-er.index).join("");ed.push(ee,(0,eD.jsx)("span",{className:"nx-text-primary-600",children:en},er.index)),eu=ec.lastIndex}return(0,eD.jsxs)(eD.Fragment,{children:[ed,eo.join("")]})}),cc=(0,eH.forwardRef)((ee,en)=>{var er=ee,{className:eo,suffix:ei}=er,ec=lF(er,["className","suffix"]);return(0,eD.jsxs)("div",{className:"nx-relative nx-flex nx-items-center nx-text-gray-900 contrast-more:nx-text-gray-800 dark:nx-text-gray-300 contrast-more:dark:nx-text-gray-300",children:[(0,eD.jsx)("input",lZ({ref:en,spellCheck:!1,className:eW(eo,"nx-block nx-w-full nx-appearance-none nx-rounded-lg nx-px-3 nx-py-2 nx-transition-colors","nx-text-base nx-leading-tight md:nx-text-sm","nx-bg-black/[.05] dark:nx-bg-gray-50/10","focus:nx-bg-white dark:focus:nx-bg-dark","placeholder:nx-text-gray-500 dark:placeholder:nx-text-gray-400","contrast-more:nx-border contrast-more:nx-border-current")},ec)),ei]})});cc.displayName="Input";var cu=["input","select","button","textarea"];function cd({className:ee,overlayClassName:en,value:er,onChange:eo,onActive:ei,loading:ec,error:eu,results:ed}){let[ef,eh]=(0,eH.useState)(!1),ep=l1(),[em,eg]=(0,eH.useState)(0),ex=(0,eF.useRouter)(),{setMenu:ev}=lY(),ey=(0,eH.useRef)(null),eb=(0,eH.useRef)(null),[ew,ek]=(0,eH.useState)(!1),[e_,ej]=(0,eH.useState)(!0);(0,eH.useEffect)(()=>{eg(0)},[er]),(0,eH.useEffect)(()=>{let ee=ee=>{let en=document.activeElement,er=null==en?void 0:en.tagName.toLowerCase();!ey.current||!er||cu.includes(er)||null!=en&&en.isContentEditable||("/"===ee.key||"k"===ee.key&&(ee.metaKey||ee.ctrlKey)?(ee.preventDefault(),ey.current.focus({preventScroll:!0})):"Escape"===ee.key&&(eh(!1),ey.current.blur()))};return window.addEventListener("keydown",ee),()=>{window.removeEventListener("keydown",ee)}},[]);let eE=(0,eH.useCallback)(()=>{var ee;null==(ee=ey.current)||ee.blur(),eo(""),eh(!1),ev(!1)},[eo,ev]),eO=(0,eH.useCallback)(ee=>{let{index:en}=ee.currentTarget.dataset;eg(Number(en))},[]),eC=(0,eH.useCallback)(function(ee){var en,er,eo;switch(ee.key){case"ArrowDown":if(em+1 a`);er&&(ee.preventDefault(),eO({currentTarget:er}),er.focus())}break;case"ArrowUp":if(em-1>=0){let en=null==(er=eb.current)?void 0:er.querySelector(`li:nth-of-type(${em}) > a`);en&&(ee.preventDefault(),eO({currentTarget:en}),en.focus())}break;case"Enter":{let ee=ed[em];ee&&e_&&(ex.push(ee.route),eE());break}case"Escape":eh(!1),null==(eo=ey.current)||eo.blur()}},[em,ed,ex,eE,eO,e_]),eS=eG(),eT=ef&&!!er,eN=(0,eD.jsx)(iq,{show:eS&&(!ef||!!er),as:eH.Fragment,enter:"nx-transition-opacity",enterFrom:"nx-opacity-0",enterTo:"nx-opacity-100",leave:"nx-transition-opacity",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,eD.jsx)("kbd",{className:eW("nx-absolute nx-my-1.5 nx-select-none ltr:nx-right-1.5 rtl:nx-left-1.5","nx-h-5 nx-rounded nx-bg-white nx-px-1.5 nx-font-mono nx-text-[10px] nx-font-medium nx-text-gray-500","nx-border dark:nx-border-gray-100/20 dark:nx-bg-dark/50","contrast-more:nx-border-current contrast-more:nx-text-current contrast-more:dark:nx-border-current","nx-items-center nx-gap-1 nx-transition-opacity",er?"nx-z-20 nx-flex nx-cursor-pointer hover:nx-opacity-70":"nx-pointer-events-none nx-hidden sm:nx-flex"),title:er?"Clear":void 0,onClick:()=>{eo("")},children:er&&ew?"ESC":eS&&(navigator.userAgent.includes("Macintosh")?(0,eD.jsxs)(eD.Fragment,{children:[(0,eD.jsx)("span",{className:"nx-text-xs",children:"⌘"}),"K"]}):"CTRL K")})}),eA=(0,eH.useCallback)(ee=>{ej("compositionend"===ee.type)},[]);return(0,eD.jsxs)("div",{className:eW("nextra-search nx-relative md:nx-w-64",ee),children:[eT&&(0,eD.jsx)("div",{className:"nx-fixed nx-inset-0 nx-z-10",onClick:()=>eh(!1)}),(0,eD.jsx)(cc,{ref:ey,value:er,onChange:ee=>{let{value:en}=ee.target;eo(en),eh(!!en)},onFocus:()=>{null==ei||ei(!0),ek(!0)},onBlur:()=>{ek(!1)},onCompositionStart:eA,onCompositionEnd:eA,type:"search",placeholder:ct(ep.search.placeholder),onKeyDown:eC,suffix:eN}),(0,eD.jsx)(iq,{show:eT,as:iq.Child,leave:"nx-transition-opacity nx-duration-100",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,eD.jsx)("ul",{className:eW("nextra-scrollbar","nx-border nx-border-gray-200 nx-bg-white nx-text-gray-100 dark:nx-border-neutral-800 dark:nx-bg-neutral-900","nx-absolute nx-top-full nx-z-20 nx-mt-2 nx-overflow-auto nx-overscroll-contain nx-rounded-xl nx-py-2.5 nx-shadow-xl","nx-max-h-[min(calc(50vh-11rem-env(safe-area-inset-bottom)),400px)]","md:nx-max-h-[min(calc(100vh-5rem-env(safe-area-inset-bottom)),400px)]","nx-inset-x-0 ltr:md:nx-left-auto rtl:md:nx-right-auto","contrast-more:nx-border contrast-more:nx-border-gray-900 contrast-more:dark:nx-border-gray-50",en),ref:eb,style:{transition:"max-height .2s ease"},children:eu?(0,eD.jsxs)("span",{className:"nx-flex nx-select-none nx-justify-center nx-gap-2 nx-p-8 nx-text-center nx-text-sm nx-text-red-500",children:[(0,eD.jsx)(e2,{className:"nx-h-5 nx-w-5"}),ct(ep.search.error)]}):ec?(0,eD.jsxs)("span",{className:"nx-flex nx-select-none nx-justify-center nx-gap-2 nx-p-8 nx-text-center nx-text-sm nx-text-gray-400",children:[(0,eD.jsx)(e3,{className:"nx-h-5 nx-w-5 nx-animate-spin"}),l8(ep.search.loading)]}):ed.length>0?ed.map(({route:ee,prefix:en,children:er,id:eo},ei)=>(0,eD.jsxs)(eH.Fragment,{children:[en,(0,eD.jsx)("li",{className:eW("nx-mx-2.5 nx-break-words nx-rounded-md","contrast-more:nx-border",ei===em?"nx-bg-primary-500/10 nx-text-primary-600 contrast-more:nx-border-primary-500":"nx-text-gray-800 contrast-more:nx-border-transparent dark:nx-text-gray-300"),children:(0,eD.jsx)(l9,{className:"nx-block nx-scroll-m-12 nx-px-2.5 nx-py-2",href:ee,"data-index":ei,onFocus:eO,onMouseMove:eO,onClick:eE,onKeyDown:eC,children:er})})]},eo)):l8(ep.search.emptyResult)})})]})}var cf={},cp=new Map,cm=(ee,en)=>{let er=ee+"@"+en;if(cp.has(er))return cp.get(er);let eo=cg(ee,en);return cp.set(er,eo),eo},cg=(ee,en)=>lH(void 0,null,function*(){let er=yield fetch(`${ee}/_next/static/chunks/nextra-data-${en}.json`),eo=yield er.json(),ei=new(oq()).Document({cache:100,tokenize:"full",document:{id:"id",index:"content",store:["title"]},context:{resolution:9,depth:2,bidirectional:!0}}),ec=new(oq()).Document({cache:100,tokenize:"full",document:{id:"id",index:"content",tag:"pageId",store:["title","content","url","display"]},context:{resolution:9,depth:2,bidirectional:!0}}),eu=0;for(let[ee,en]of Object.entries(eo)){let er="";for(let[eo,ei]of(++eu,Object.entries(en.data))){let[ed,ef]=eo.split("#"),eh=ee+(ed?"#"+ed:""),ep=ef||en.title,em=ei.split("\n");ec.add(lZ({id:eh,url:eh,title:ep,pageId:`page_${eu}`,content:ep},em[0]&&{display:em[0]}));for(let ee=0;ee{var er,eo;if(!ee)return;let[ei,ec]=cf[en],eu=(null==(er=ei.search(ee,5,{enrich:!0,suggest:!0})[0])?void 0:er.result)||[],ed=[],eh={};for(let en=0;enee._page_rk===en._page_rk?ee._section_rk-en._section_rk:eh[ee._page_rk]!==eh[en._page_rk]?eh[en._page_rk]-eh[ee._page_rk]:ee._page_rk-en._page_rk).map(ee=>({id:`${ee._page_rk}_${ee._section_rk}`,route:ee.route,prefix:ee.prefix,children:ee.children})))},eg=(0,eH.useCallback)(ee=>lH(this,null,function*(){if(ee&&!cf[en]){ei(!0);try{yield cm(er,en)}catch(ee){eu(!0)}ei(!1)}}),[en,er]),ex=ee=>lH(this,null,function*(){if(ep(ee),!eo){if(!cf[en]){ei(!0);try{yield cm(er,en)}catch(ee){eu(!0)}ei(!1)}em(ee)}});return(0,eD.jsx)(cd,{loading:eo,error:ec,value:eh,onChange:ex,onActive:eg,className:ee,overlayClassName:"nx-w-screen nx-min-h-[100px] nx-max-w-[min(calc(100vw-2rem),calc(100%+20rem))]",results:ed})}function cv({options:ee,selected:en,onChange:er,title:eo,className:ei}){let[ec,eu]=cn({strategy:"fixed",placement:"top-start",modifiers:[{name:"offset",options:{offset:[0,10]}},{name:"sameWidth",enabled:!0,fn({state:ee}){ee.styles.popper.minWidth=`${ee.rects.reference.width}px`},phase:"beforeWrite",requires:["computeStyles"]}]});return(0,eD.jsx)(aJ,{value:en,onChange:er,children:({open:er})=>(0,eD.jsxs)(aJ.Button,{ref:ec,title:eo,className:eW("nx-h-7 nx-rounded-md nx-px-2 nx-text-left nx-text-xs nx-font-medium nx-text-gray-600 nx-transition-colors dark:nx-text-gray-400",er?"nx-bg-gray-200 nx-text-gray-900 dark:nx-bg-primary-100/10 dark:nx-text-gray-50":"hover:nx-bg-gray-100 hover:nx-text-gray-900 dark:hover:nx-bg-primary-100/5 dark:hover:nx-text-gray-50",ei),children:[en.name,(0,eD.jsx)(cy,{children:(0,eD.jsx)(iq,{ref:eu,show:er,as:aJ.Options,className:"nx-z-20 nx-max-h-64 nx-overflow-auto nx-rounded-md nx-ring-1 nx-ring-black/5 nx-bg-white nx-py-1 nx-text-sm nx-shadow-lg dark:nx-ring-white/20 dark:nx-bg-neutral-800",leave:"nx-transition-opacity",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:ee.map(ee=>(0,eD.jsxs)(aJ.Option,{value:ee,className:({active:ee})=>eW(ee?"nx-bg-primary-50 nx-text-primary-600 dark:nx-bg-primary-500/10":"nx-text-gray-800 dark:nx-text-gray-100","nx-relative nx-cursor-pointer nx-whitespace-nowrap nx-py-1.5","nx-transition-colors ltr:nx-pl-3 ltr:nx-pr-9 rtl:nx-pr-3 rtl:nx-pl-9"),children:[ee.name,ee.key===en.key&&(0,eD.jsx)("span",{className:"nx-absolute nx-inset-y-0 nx-flex nx-items-center ltr:nx-right-3 rtl:nx-left-3",children:(0,eD.jsx)(eK,{})})]},ee.key))})})]})})}function cy(ee){let en=eG();return en?(0,a0.createPortal)(ee.children,document.body):null}function cb({lite:ee,className:en}){let er=l1(),{locale:eo,asPath:ei}=(0,eF.useRouter)(),ec=er.i18n;if(!ec.length)return null;let eu=ec.find(ee=>eo===ee.locale);return(0,eD.jsx)(cv,{title:"Change language",className:en,onChange:ee=>{let en=new Date(Date.now()+31536e6);document.cookie=`NEXT_LOCALE=${ee.key}; expires=${en.toUTCString()}; path=/`,location.href=(0,iX.addBasePath)(ei)},selected:{key:(null==eu?void 0:eu.locale)||"",name:(0,eD.jsxs)("span",{className:"nx-flex nx-items-center nx-gap-2",children:[(0,eD.jsx)(e1,{}),(0,eD.jsx)("span",{className:ee?"nx-hidden":"",children:null==eu?void 0:eu.text})]})},options:ec.map(ee=>({key:ee.locale,name:ee.text}))})}function cw({menu:ee}){let en=l1();return(0,eD.jsxs)("footer",{className:"nx-bg-gray-100 nx-pb-[env(safe-area-inset-bottom)] dark:nx-bg-neutral-900 print:nx-bg-transparent",children:[(0,eD.jsxs)("div",{className:eW("nx-mx-auto nx-flex nx-max-w-[90rem] nx-gap-2 nx-py-2 nx-px-4",ee&&(en.i18n.length>0||en.darkMode)?"nx-flex":"nx-hidden"),children:[(0,eD.jsx)(cb,{}),en.darkMode&&l8(en.themeSwitch.component)]}),(0,eD.jsx)("hr",{className:"dark:nx-border-neutral-800"}),(0,eD.jsx)("div",{className:eW("nx-mx-auto nx-flex nx-max-w-[90rem] nx-justify-center nx-py-12 nx-text-gray-600 dark:nx-text-gray-400 md:nx-justify-start","nx-pl-[max(env(safe-area-inset-left),1.5rem)] nx-pr-[max(env(safe-area-inset-right),1.5rem)]"),children:l8(en.footer.text)})]})}function ck(){var ee;let en=l1(),{resolvedTheme:er}=rr(),eo=eG(),ei="function"==typeof en.head?en.head({}):en.head,{primaryHue:ec,primarySaturation:eu}=en,{dark:ed,light:ef}="number"==typeof ec?{dark:ec,light:ec}:ec,{dark:eh,light:ep}="number"==typeof eu?{dark:eu,light:eu}:eu,em=en.frontMatter;return(0,eD.jsxs)(eD.Fragment,{children:[(0,eD.jsx)(sn,lZ({title:en.title,description:em.description,canonical:em.canonical,openGraph:em.openGraph},null==(ee=en.useNextSeoProps)?void 0:ee.call(en))),(0,eD.jsxs)(a2(),{children:[en.faviconGlyph?(0,eD.jsx)("link",{rel:"icon",href:`data:image/svg+xml;utf8,${en.faviconGlyph}`}):null,eo?(0,eD.jsx)("meta",{name:"theme-color",content:"dark"===er?"#111":"#fff"}):(0,eD.jsxs)(eD.Fragment,{children:[(0,eD.jsx)("meta",{name:"theme-color",content:"#fff",media:"(prefers-color-scheme: light)"}),(0,eD.jsx)("meta",{name:"theme-color",content:"#111",media:"(prefers-color-scheme: dark)"})]}),(0,eD.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, viewport-fit=cover"}),(0,eD.jsx)("style",{children:` - :root { - --nextra-primary-hue: ${ef}deg; - --nextra-primary-saturation: ${ep}%; - --nextra-navbar-height: 4rem; - --nextra-menu-height: 3.75rem; - --nextra-banner-height: 2.5rem; - } - - .dark { - --nextra-primary-hue: ${ed}deg; - --nextra-primary-saturation: ${eh}%; - } - `}),ei]})]})}var c_={link:eW("nx-flex nx-max-w-[50%] nx-items-center nx-gap-1 nx-py-4 nx-text-base nx-font-medium nx-text-gray-600 nx-transition-colors [word-break:break-word] hover:nx-text-primary-600 dark:nx-text-gray-300 md:nx-text-lg"),icon:eW("nx-inline nx-h-5 nx-shrink-0")},cj=({flatDirectories:ee,currentIndex:en})=>{let er=l1(),eo=er.navigation,ei="boolean"==typeof eo?{prev:eo,next:eo}:eo,ec=ei.prev&&ee[en-1],eu=ei.next&&ee[en+1];return(ec&&!ec.isUnderCurrentDocsTree&&(ec=!1),eu&&!eu.isUnderCurrentDocsTree&&(eu=!1),ec||eu)?(0,eD.jsxs)("div",{className:eW("nx-mb-8 nx-flex nx-items-center nx-border-t nx-pt-8 dark:nx-border-neutral-800","contrast-more:nx-border-neutral-400 dark:contrast-more:nx-border-neutral-400","print:nx-hidden"),children:[ec&&(0,eD.jsxs)(l9,{href:ec.route,title:ec.title,className:eW(c_.link,"ltr:nx-pr-4 rtl:nx-pl-4"),children:[(0,eD.jsx)(eX,{className:eW(c_.icon,"ltr:nx-rotate-180")}),ec.title]}),eu&&(0,eD.jsxs)(l9,{href:eu.route,title:eu.title,className:eW(c_.link,"ltr:nx-ml-auto ltr:nx-pl-4 ltr:nx-text-right rtl:nx-mr-auto rtl:nx-pr-4 rtl:nx-text-left"),children:[eu.title,(0,eD.jsx)(eX,{className:eW(c_.icon,"rtl:nx-rotate-180")})]})]}):null},cE={link:eW("nx-text-sm contrast-more:nx-text-gray-700 contrast-more:dark:nx-text-gray-100"),active:eW("nx-font-medium nx-subpixel-antialiased"),inactive:eW("nx-text-gray-600 hover:nx-text-gray-800 dark:nx-text-gray-400 dark:hover:nx-text-gray-200")};function cO({className:ee,menu:en,children:er}){let{items:eo}=en,ei=Object.fromEntries((en.children||[]).map(ee=>[ee.name,ee]));return(0,eD.jsx)("div",{className:"nx-relative nx-inline-block",children:(0,eD.jsxs)(s_,{children:[(0,eD.jsx)(s_.Button,{className:eW(ee,"-nx-ml-2 nx-hidden nx-items-center nx-whitespace-nowrap nx-rounded nx-p-2 md:nx-inline-flex",cE.inactive),children:er}),(0,eD.jsx)(iq,{leave:"nx-transition-opacity",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,eD.jsx)(s_.Items,{className:"nx-absolute nx-right-0 nx-z-20 nx-mt-1 nx-max-h-64 nx-min-w-full nx-overflow-auto nx-rounded-md nx-ring-1 nx-ring-black/5 nx-bg-white nx-py-1 nx-text-sm nx-shadow-lg dark:nx-ring-white/20 dark:nx-bg-neutral-800",tabIndex:0,children:Object.entries(eo||{}).map(([ee,er])=>{var eo;return(0,eD.jsx)(s_.Item,{children:(0,eD.jsx)(l9,{href:er.href||(null==(eo=ei[ee])?void 0:eo.route)||en.route+"/"+ee,className:eW("nx-relative nx-hidden nx-w-full nx-select-none nx-whitespace-nowrap nx-text-gray-600 hover:nx-text-gray-900 dark:nx-text-gray-400 dark:hover:nx-text-gray-100 md:nx-inline-block","nx-py-1.5 nx-transition-colors ltr:nx-pl-3 ltr:nx-pr-9 rtl:nx-pr-3 rtl:nx-pl-9"),newWindow:er.newWindow,children:er.title||ee})},ee)})})})]})})}function cC({flatDirectories:ee,items:en}){let er=l1(),eo=eV(),{menu:ei,setMenu:ec}=lY();return(0,eD.jsxs)("div",{className:"nextra-nav-container nx-sticky nx-top-0 nx-z-20 nx-w-full nx-bg-transparent print:nx-hidden",children:[(0,eD.jsx)("div",{className:eW("nextra-nav-container-blur","nx-pointer-events-none nx-absolute nx-z-[-1] nx-h-full nx-w-full nx-bg-white dark:nx-bg-dark","nx-shadow-[0_2px_4px_rgba(0,0,0,.02),0_1px_0_rgba(0,0,0,.06)] dark:nx-shadow-[0_-1px_0_rgba(255,255,255,.1)_inset]","contrast-more:nx-shadow-[0_0_0_1px_#000] contrast-more:dark:nx-shadow-[0_0_0_1px_#fff]")}),(0,eD.jsxs)("nav",{className:"nx-mx-auto nx-flex nx-h-[var(--nextra-navbar-height)] nx-max-w-[90rem] nx-items-center nx-justify-end nx-gap-2 nx-pl-[max(env(safe-area-inset-left),1.5rem)] nx-pr-[max(env(safe-area-inset-right),1.5rem)]",children:[er.logoLink?(0,eD.jsx)(l9,{href:"string"==typeof er.logoLink?er.logoLink:"/",className:"nx-flex nx-items-center hover:nx-opacity-75 ltr:nx-mr-auto rtl:nx-ml-auto",children:l8(er.logo)}):(0,eD.jsx)("div",{className:"nx-flex nx-items-center ltr:nx-mr-auto rtl:nx-ml-auto",children:l8(er.logo)}),en.map(ee=>{if("hidden"===ee.display)return null;if("menu"===ee.type){let en=ee;return(0,eD.jsxs)(cO,{className:eW(cE.link,"nx-flex nx-gap-1",cE.inactive),menu:en,children:[en.title,(0,eD.jsx)(eX,{className:"nx-h-[18px] nx-min-w-[18px] nx-rounded-sm nx-p-0.5",pathClassName:"nx-origin-center nx-transition-transform nx-rotate-90"})]},en.title)}let en=ee,er=en.href||en.route||"#";en.children&&(er=(en.withIndexPage?en.route:en.firstChildRoute)||er);let ei=en.route===eo||eo.startsWith(en.route+"/");return(0,eD.jsxs)(l9,{href:er,className:eW(cE.link,"nx-relative -nx-ml-2 nx-hidden nx-whitespace-nowrap nx-p-2 md:nx-inline-block",!ei||en.newWindow?cE.inactive:cE.active),newWindow:en.newWindow,"aria-current":!en.newWindow&&ei,children:[(0,eD.jsx)("span",{className:"nx-absolute nx-inset-x-0 nx-text-center",children:en.title}),(0,eD.jsx)("span",{className:"nx-invisible nx-font-medium",children:en.title})]},er)}),l8(er.search.component,{directories:ee,className:"nx-hidden md:nx-inline-block mx-min-w-[200px]"}),er.project.link?(0,eD.jsx)(l9,{className:"nx-p-2 nx-text-current",href:er.project.link,newWindow:!0,children:l8(er.project.icon)}):null,er.chat.link?(0,eD.jsx)(l9,{className:"nx-p-2 nx-text-current",href:er.chat.link,newWindow:!0,children:l8(er.chat.icon)}):null,l8(er.navbar.extraContent),(0,eD.jsx)("button",{type:"button","aria-label":"Menu",className:"nextra-hamburger -nx-mr-2 nx-rounded nx-p-2 active:nx-bg-gray-400/20 md:nx-hidden",onClick:()=>ec(!ei),children:(0,eD.jsx)(e5,{className:eW({open:ei})})})]})]})}var cS=Object.create(null),cT=(0,eH.createContext)(null),cN=(0,eH.createContext)(null),cA=(0,eH.createContext)(0),cI=(0,eH.memo)(function(ee){let en=(0,eH.useContext)(cA);return(0,eD.jsx)(cA.Provider,{value:en+1,children:(0,eD.jsx)(cM,lZ({},ee))})}),cR={link:eW("nx-flex nx-rounded nx-px-2 nx-py-1.5 nx-text-sm nx-transition-colors [word-break:break-word]","nx-cursor-pointer [-webkit-tap-highlight-color:transparent] [-webkit-touch-callout:none] contrast-more:nx-border"),inactive:eW("nx-text-gray-500 hover:nx-bg-gray-100 hover:nx-text-gray-900","dark:nx-text-neutral-400 dark:hover:nx-bg-primary-100/5 dark:hover:nx-text-gray-50","contrast-more:nx-text-gray-900 contrast-more:dark:nx-text-gray-50","contrast-more:nx-border-transparent contrast-more:hover:nx-border-gray-900 contrast-more:dark:hover:nx-border-gray-50"),active:eW("nx-bg-primary-100 nx-font-semibold nx-text-primary-800 dark:nx-bg-primary-400/10 dark:nx-text-primary-600","contrast-more:nx-border-primary-500 contrast-more:dark:nx-border-primary-500"),list:eW("nx-flex nx-flex-col nx-gap-1"),border:eW("nx-relative before:nx-absolute before:nx-inset-y-1",'before:nx-w-px before:nx-bg-gray-200 before:nx-content-[""] dark:before:nx-bg-neutral-800',"ltr:nx-pl-3 ltr:before:nx-left-0 rtl:nx-pr-3 rtl:before:nx-right-0")};function cM({item:ee,anchors:en}){let er=eV(),[eo]=er.split("#"),ei=[eo,eo+"/"].includes(ee.route+"/"),ec=ei||eo.startsWith(ee.route+"/"),eu=(0,eH.useContext)(cT),ed=!!(null==eu?void 0:eu.startsWith(ee.route+"/")),ef=(0,eH.useContext)(cA),{setMenu:eh}=lY(),ep=l1(),{theme:em}=ee,eg=void 0===cS[ee.route]?ei||ec||ed||(em&&"collapsed"in em?!em.collapsed:ef{let en=()=>{(ec||ed)&&(cS[ee.route]=!0)},er=()=>{ec&&ed?cS[ee.route]=!0:delete cS[ee.route]};ep.sidebar.autoCollapse?er():en()},[ec,ed,ee.route,ep.sidebar.autoCollapse]),"menu"===ee.type){let en=ee,er=Object.fromEntries((en.children||[]).map(ee=>[ee.name,ee]));ee.children=Object.entries(en.items||{}).map(([ee,eo])=>{let ei=er[ee]||lD(lZ({name:ee},"locale"in en&&{locale:en.locale}),{route:en.route+"/"+ee});return lZ(lZ({},ei),eo)})}let ev="withIndexPage"in ee&&ee.withIndexPage,ey=ev?l9:"button";return(0,eD.jsxs)("li",{className:eW({open:eg,active:ei}),children:[(0,eD.jsxs)(ey,{href:ev?ee.route:void 0,className:eW("nx-items-center nx-justify-between nx-gap-2",!ev&&"nx-text-left nx-w-full",cR.link,ei?cR.active:cR.inactive),onClick:en=>{let er=["svg","path"].includes(en.target.tagName.toLowerCase());if(er&&en.preventDefault(),ev){ei||er?cS[ee.route]=!eg:(cS[ee.route]=!0,eh(!1)),ex({});return}ei||(cS[ee.route]=!eg,ex({}))},children:[l8(ep.sidebar.titleComponent,{title:ee.title,type:ee.type,route:ee.route}),(0,eD.jsx)(eX,{className:"nx-h-[18px] nx-min-w-[18px] nx-rounded-sm nx-p-0.5 hover:nx-bg-gray-800/5 dark:hover:nx-bg-gray-100/5",pathClassName:eW("nx-origin-center nx-transition-transform rtl:-nx-rotate-180",eg&&"ltr:nx-rotate-90 rtl:nx-rotate-[-270deg]")})]}),(0,eD.jsx)(cs,{className:"ltr:nx-pr-0 rtl:nx-pl-0 nx-pt-1",isOpen:eg,children:Array.isArray(ee.children)?(0,eD.jsx)(cZ,{className:eW(cR.border,"ltr:nx-ml-3 rtl:nx-mr-3"),directories:ee.children,base:ee.route,anchors:en}):null})]})}function cL({title:ee}){let en=l1();return(0,eD.jsx)("li",{className:eW("[word-break:break-word]",ee?"nx-mt-5 nx-mb-2 nx-px-2 nx-py-1.5 nx-text-sm nx-font-semibold nx-text-gray-900 first:nx-mt-0 dark:nx-text-gray-100":"nx-my-4"),children:ee?l8(en.sidebar.titleComponent,{title:ee,type:"separator",route:""}):(0,eD.jsx)("hr",{className:"nx-mx-2 nx-border-t nx-border-gray-200 dark:nx-border-primary-100/10"})})}function cP({item:ee,anchors:en}){let er=eV(),eo=(0,eH.useContext)(cN),ei=ee.route&&[er,er+"/"].includes(ee.route+"/"),ec=lU(),{setMenu:eu}=lY(),ed=l1();return"separator"===ee.type?(0,eD.jsx)(cL,{title:ee.title}):(0,eD.jsxs)("li",{className:eW(cR.list,{active:ei}),children:[(0,eD.jsx)(l9,{href:ee.href||ee.route,newWindow:ee.newWindow,className:eW(cR.link,ei?cR.active:cR.inactive),onClick:()=>{eu(!1)},onFocus:()=>{null==eo||eo(ee.route)},onBlur:()=>{null==eo||eo(null)},children:l8(ed.sidebar.titleComponent,{title:ee.title,type:ee.type,route:ee.route})}),ei&&en.length>0&&(0,eD.jsx)("ul",{className:eW(cR.list,cR.border,"ltr:nx-ml-3 rtl:nx-mr-3"),children:en.map(({id:ee,value:en})=>{var er;return(0,eD.jsx)("li",{children:(0,eD.jsx)("a",{href:`#${ee}`,className:eW(cR.link,'nx-flex nx-gap-2 before:nx-opacity-25 before:nx-content-["#"]',(null==(er=ec[ee])?void 0:er.isActive)?cR.active:cR.inactive),onClick:()=>{eu(!1)},children:en})},ee)})})]})}function cZ({directories:ee,anchors:en,className:er,onlyCurrentDocs:eo}){return(0,eD.jsx)("ul",{className:eW(cR.list,er),children:ee.map(ee=>!eo||ee.isUnderCurrentDocsTree?"menu"===ee.type||ee.children&&(ee.children.length||!ee.withIndexPage)?(0,eD.jsx)(cI,{item:ee,anchors:en},ee.name):(0,eD.jsx)(cP,{item:ee,anchors:en},ee.name):null)})}function cD({docsDirectories:ee,flatDirectories:en,fullDirectories:er,asPopover:eo=!1,headings:ei,includePlaceholder:ec}){let eu=l1(),{menu:ed,setMenu:ef}=lY(),eh=(0,eF.useRouter)(),[ep,em]=(0,eH.useState)(null),[eg,ex]=(0,eH.useState)(!0),[ev,ey]=(0,eH.useState)(!1),eb=(0,eH.useMemo)(()=>ei.filter(ee=>2===ee.depth),[ei]),ew=(0,eH.useRef)(null),ek=(0,eH.useRef)(null),e_=eG();(0,eH.useEffect)(()=>{ed?document.body.classList.add("nx-overflow-hidden","md:nx-overflow-auto"):document.body.classList.remove("nx-overflow-hidden","md:nx-overflow-auto")},[ed]),(0,eH.useEffect)(()=>{var ee;let en=null==(ee=ew.current)?void 0:ee.querySelector("li.active");if(en&&(window.innerWidth>767||ed)){let ee=()=>{sA(en,{block:"center",inline:"center",scrollMode:"always",boundary:ek.current})};ed?setTimeout(ee,300):ee()}},[ed]),(0,eH.useEffect)(()=>{ef(!1)},[eh.asPath,ef]);let ej=eu.i18n.length>0,eE=eu.darkMode||ej||eu.sidebar.toggleButton;return(0,eD.jsxs)(eD.Fragment,{children:[ec&&eo?(0,eD.jsx)("div",{className:"max-xl:nx-hidden nx-h-0 nx-w-64 nx-shrink-0"}):null,(0,eD.jsx)("div",{className:eW("motion-reduce:nx-transition-none [transition:background-color_1.5s_ease]",ed?"nx-fixed nx-inset-0 nx-z-10 nx-bg-black/80 dark:nx-bg-black/60":"nx-bg-transparent"),onClick:()=>ef(!1)}),(0,eD.jsxs)("aside",{className:eW("nextra-sidebar-container nx-flex nx-flex-col","md:nx-top-16 md:nx-shrink-0 motion-reduce:nx-transform-none","nx-transform-gpu nx-transition-all nx-ease-in-out","print:nx-hidden",eg?"md:nx-w-64":"md:nx-w-20",eo?"md:nx-hidden":"md:nx-sticky md:nx-self-start",ed?"max-md:[transform:translate3d(0,0,0)]":"max-md:[transform:translate3d(0,-100%,0)]"),ref:ek,children:[(0,eD.jsx)("div",{className:"nx-px-4 nx-pt-4 md:nx-hidden",children:l8(eu.search.component,{directories:en})}),(0,eD.jsx)(cT.Provider,{value:ep,children:(0,eD.jsx)(cN.Provider,{value:ee=>{em(ee)},children:(0,eD.jsxs)("div",{className:eW("nx-overflow-y-auto nx-overflow-x-hidden","nx-p-4 nx-grow md:nx-h-[calc(100vh-var(--nextra-navbar-height)-var(--nextra-menu-height))]",eg?"nextra-scrollbar":"no-scrollbar"),ref:ew,children:[(!eo||!eg)&&(0,eD.jsx)(cs,{isOpen:eg,horizontal:!0,children:(0,eD.jsx)(cZ,{className:"nextra-menu-desktop max-md:nx-hidden",directories:ee,anchors:eu.toc.float?[]:eb,onlyCurrentDocs:!0})}),e_&&window.innerWidth<768&&(0,eD.jsx)(cZ,{className:"nextra-menu-mobile md:nx-hidden",directories:er,anchors:eb})]})})}),eE&&(0,eD.jsxs)("div",{className:eW("nx-sticky nx-bottom-0","nx-bg-white dark:nx-bg-dark","nx-mx-4 nx-py-4 nx-shadow-[0_-12px_16px_#fff]","nx-flex nx-items-center nx-gap-2","dark:nx-border-neutral-800 dark:nx-shadow-[0_-12px_16px_#111]","contrast-more:nx-border-neutral-400 contrast-more:nx-shadow-none contrast-more:dark:nx-shadow-none",eg?eW(ej&&"nx-justify-end","nx-border-t"):"nx-py-4 nx-flex-wrap nx-justify-center"),"data-toggle-animation":ev?eg?"show":"hide":"off",children:[(0,eD.jsx)(cb,{lite:!eg,className:eW(eg?"nx-grow":"max-md:nx-grow")}),eu.darkMode&&(0,eD.jsx)("div",{className:eg&&!ej?"nx-grow nx-flex nx-flex-col":"",children:l8(eu.themeSwitch.component,{lite:!eg||ej})}),eu.sidebar.toggleButton&&(0,eD.jsx)("button",{title:eg?"Hide sidebar":"Show sidebar",className:"max-md:nx-hidden nx-h-7 nx-rounded-md nx-transition-colors nx-text-gray-600 dark:nx-text-gray-400 nx-px-2 hover:nx-bg-gray-100 hover:nx-text-gray-900 dark:hover:nx-bg-primary-100/5 dark:hover:nx-text-gray-50",onClick:()=>{ex(!eg),ey(!0)},children:(0,eD.jsx)(eJ,{isOpen:eg})})]})]})]})}var cF="reach-skip-nav",cH="Skip to content";(0,eH.forwardRef)(function(ee,en){var er=ee,{className:eo,id:ei,label:ec=cH,styled:eu}=er,ed=lF(er,["className","id","label","styled"]);let ef=void 0===eo?eu?eW("nx-sr-only","focus:nx-not-sr-only focus:nx-fixed focus:nx-z-50 focus:nx-m-3 focus:nx-ml-4 focus:nx-h-[calc(var(--nextra-navbar-height)-1.5rem)] focus:nx-rounded-lg focus:nx-border focus:nx-px-3 focus:nx-py-2 focus:nx-align-middle focus:nx-text-sm focus:nx-font-bold","focus:nx-text-gray-900 focus:dark:nx-text-gray-100","focus:nx-bg-white focus:dark:nx-bg-neutral-900","focus:nx-border-neutral-400 focus:dark:nx-border-neutral-800"):"":eo;return(0,eD.jsx)("a",lD(lZ({},ed),{ref:en,href:`#${ei||cF}`,className:ef,"data-reach-skip-link":"",children:ec}))}).displayName="SkipNavLink";var cz=(0,eH.forwardRef)(function(ee,en){var er=ee,{id:eo}=er,ei=lF(er,["id"]);return(0,eD.jsx)("div",lD(lZ({},ei),{ref:en,id:eo||cF}))});cz.displayName="SkipNavContent";var cB=n5.strictObject({light:n5.string(),dark:n5.string(),system:n5.string()});function cW({lite:ee,className:en}){let{setTheme:er,resolvedTheme:eo,theme:ei=""}=rr(),ec=eG(),eu=l1().themeSwitch,ed=ec&&"dark"===eo?e4:e6,ef="function"==typeof eu.useOptions?eu.useOptions():eu.useOptions;return(0,eD.jsx)(cv,{className:en,title:"Change theme",options:[{key:"light",name:ef.light},{key:"dark",name:ef.dark},{key:"system",name:ef.system}],onChange:ee=>{er(ee.key)},selected:{key:ei,name:(0,eD.jsxs)("div",{className:"nx-flex nx-items-center nx-gap-2 nx-capitalize",children:[(0,eD.jsx)(ed,{}),(0,eD.jsx)("span",{className:ee?"md:nx-hidden":"",children:ec?ef[ei]:ef.light})]})}})}function cG(){window.scrollTo({top:0,behavior:"smooth"})}function c$({className:ee}){let en=(0,eH.useRef)(null);return(0,eH.useEffect)(()=>{function ee(){var ee;let{scrollTop:er}=document.documentElement;null==(ee=en.current)||ee.classList.toggle("nx-opacity-0",er<300)}return window.addEventListener("scroll",ee),()=>{window.removeEventListener("scroll",ee)}},[]),(0,eD.jsxs)("button",{ref:en,"aria-hidden":"true",onClick:cG,className:eW("nx-flex nx-items-center nx-gap-1.5 nx-transition nx-opacity-0",ee),children:["Scroll to top",(0,eD.jsx)(eX,{className:"-nx-rotate-90 nx-w-3.5 nx-h-3.5 nx-border nx-rounded-full nx-border-current"})]})}var cU=eW("nx-text-xs nx-font-medium nx-text-gray-500 hover:nx-text-gray-900 dark:nx-text-gray-400 dark:hover:nx-text-gray-100","contrast-more:nx-text-gray-800 contrast-more:dark:nx-text-gray-50");function cV({headings:ee,filePath:en}){var er;let eo=lU(),ei=l1(),ec=(0,eH.useRef)(null),eu=(0,eH.useMemo)(()=>ee.filter(ee=>ee.depth>1),[ee]),ed=eu.length>0,ef=!!(ei.feedback.content||ei.editLink.component||ei.toc.extraContent),eh=null==(er=Object.entries(eo).find(([,{isActive:ee}])=>ee))?void 0:er[0];return(0,eH.useEffect)(()=>{var ee;if(!eh)return;let en=null==(ee=ec.current)?void 0:ee.querySelector(`li > a[href="#${eh}"]`);en&&sA(en,{behavior:"smooth",block:"center",inline:"center",scrollMode:"always",boundary:ec.current})},[eh]),(0,eD.jsxs)("div",{ref:ec,className:eW("nextra-scrollbar nx-sticky nx-top-16 nx-overflow-y-auto nx-pr-4 nx-pt-6 nx-text-sm [hyphens:auto]","nx-max-h-[calc(100vh-var(--nextra-navbar-height)-env(safe-area-inset-bottom))] ltr:-nx-mr-4 rtl:-nx-ml-4"),children:[ed&&(0,eD.jsxs)(eD.Fragment,{children:[(0,eD.jsx)("p",{className:"nx-mb-4 nx-font-semibold nx-tracking-tight",children:l8(ei.toc.title)}),(0,eD.jsx)("ul",{children:eu.map(({id:ee,value:en,depth:er})=>{var ec,eu,ed,ef;return(0,eD.jsx)("li",{className:"nx-my-2 nx-scroll-my-6 nx-scroll-py-6",children:(0,eD.jsx)("a",{href:`#${ee}`,className:eW({2:"nx-font-semibold",3:"ltr:nx-pl-4 rtl:nx-pr-4",4:"ltr:nx-pl-8 rtl:nx-pr-8",5:"ltr:nx-pl-12 rtl:nx-pr-12",6:"ltr:nx-pl-16 rtl:nx-pr-16"}[er],"nx-inline-block",(null==(ec=eo[ee])?void 0:ec.isActive)?"nx-text-primary-600 nx-subpixel-antialiased contrast-more:!nx-text-primary-600":"nx-text-gray-500 hover:nx-text-gray-900 dark:nx-text-gray-400 dark:hover:nx-text-gray-300","contrast-more:nx-text-gray-900 contrast-more:nx-underline contrast-more:dark:nx-text-gray-50 nx-w-full nx-break-words"),children:null!=(ef=null==(ed=(eu=ei.toc).headingComponent)?void 0:ed.call(eu,{id:ee,children:en}))?ef:en})},ee)})})]}),ef&&(0,eD.jsxs)("div",{className:eW(ed&&"nx-mt-8 nx-border-t nx-bg-white nx-pt-8 nx-shadow-[0_-12px_16px_white] dark:nx-bg-dark dark:nx-shadow-[0_-12px_16px_#111]","nx-sticky nx-bottom-0 nx-flex nx-flex-col nx-items-start nx-gap-2 nx-pb-8 dark:nx-border-neutral-800","contrast-more:nx-border-t contrast-more:nx-border-neutral-400 contrast-more:nx-shadow-none contrast-more:dark:nx-border-neutral-400"),children:[ei.feedback.content?(0,eD.jsx)(l9,{className:cU,href:ei.feedback.useLink(),newWindow:!0,children:l8(ei.feedback.content)}):null,l8(ei.editLink.component,{filePath:en,className:cU,children:l8(ei.editLink.text)}),l8(ei.toc.extraContent),ei.toc.backToTop&&(0,eD.jsx)(c$,{className:cU})]})]})}function cq({className:ee,directories:en}){let[er,eo]=(0,eH.useState)(""),ei=(0,eH.useMemo)(()=>er?sZ(en,er,{keys:["title"]}).map(({route:ee,title:en})=>({id:ee+en,route:ee,children:(0,eD.jsx)(cl,{value:en,match:er})})):[],[er,en]);return(0,eD.jsx)(cd,{value:er,onChange:eo,className:ee,overlayClassName:"nx-w-full",results:ei})}var cX="en-US",cK="undefined"!=typeof window;function cQ(ee){return null==ee||"string"==typeof ee||cY(ee)||(0,eH.isValidElement)(ee)}function cY(ee){return"function"==typeof ee}var cJ=n5.array(n5.strictObject({direction:n5.enum(["ltr","rtl"]).optional(),locale:n5.string(),text:n5.string()})),c0=[cQ,{message:"Must be React.ReactNode or React.FC"}],c1=[cY,{message:"Must be React.FC"}];n5.strictObject({banner:n5.strictObject({dismissible:n5.boolean(),key:n5.string(),text:n5.custom(...c0).optional()}),chat:n5.strictObject({icon:n5.custom(...c0),link:n5.string().startsWith("https://").optional()}),components:n5.record(n5.custom(...c1)).optional(),darkMode:n5.boolean(),direction:n5.enum(["ltr","rtl"]),docsRepositoryBase:n5.string().startsWith("https://"),editLink:n5.strictObject({component:n5.custom(...c1),text:n5.custom(...c0)}),faviconGlyph:n5.string().optional(),feedback:n5.strictObject({content:n5.custom(...c0),labels:n5.string(),useLink:n5.function().returns(n5.string())}),footer:n5.strictObject({component:n5.custom(...c0),text:n5.custom(...c0)}),gitTimestamp:n5.custom(...c0),head:n5.custom(...c0),i18n:cJ,logo:n5.custom(...c0),logoLink:n5.boolean().or(n5.string()),main:n5.custom(...c1).optional(),navbar:n5.strictObject({component:n5.custom(...c0),extraContent:n5.custom(...c0).optional()}),navigation:n5.boolean().or(n5.strictObject({next:n5.boolean(),prev:n5.boolean()})),nextThemes:n5.strictObject({defaultTheme:n5.string(),forcedTheme:n5.string().optional(),storageKey:n5.string()}),notFound:n5.strictObject({content:n5.custom(...c0),labels:n5.string()}),primaryHue:n5.number().or(n5.strictObject({dark:n5.number(),light:n5.number()})),primarySaturation:n5.number().or(n5.strictObject({dark:n5.number(),light:n5.number()})),project:n5.strictObject({icon:n5.custom(...c0),link:n5.string().startsWith("https://").optional()}),search:n5.strictObject({component:n5.custom(...c0),emptyResult:n5.custom(...c0),error:n5.string().or(n5.function().returns(n5.string())),loading:n5.custom(...c0),placeholder:n5.string().or(n5.function().returns(n5.string()))}),serverSideError:n5.strictObject({content:n5.custom(...c0),labels:n5.string()}),sidebar:n5.strictObject({autoCollapse:n5.boolean().optional(),defaultMenuCollapseLevel:n5.number().min(1).int(),titleComponent:n5.custom(...c0),toggleButton:n5.boolean()}),themeSwitch:n5.strictObject({component:n5.custom(...c0),useOptions:cB.or(n5.function().returns(cB))}),toc:n5.strictObject({backToTop:n5.boolean(),component:n5.custom(...c0),extraContent:n5.custom(...c0),float:n5.boolean(),headingComponent:n5.custom(...c1).optional(),title:n5.custom(...c0)}),useNextSeoProps:n5.custom(cY)}).deepPartial().extend({i18n:cJ.optional()});var c2={"en-US":"Loading",fr:"Сhargement",ru:"Загрузка","zh-CN":"正在加载"},c5={"en-US":"Search documentation",fr:"Rechercher documents",ru:"Поиск документации","zh-CN":"搜索文档"},c4={banner:{dismissible:!0,key:"nextra-banner"},chat:{icon:(0,eD.jsxs)(eD.Fragment,{children:[(0,eD.jsx)(eY,{}),(0,eD.jsx)("span",{className:"nx-sr-only",children:"Discord"})]})},darkMode:!0,direction:"ltr",docsRepositoryBase:"https://github.com/shuding/nextra",editLink:{component:function({className:ee,filePath:en,children:er}){let eo=cr(en);return eo?(0,eD.jsx)(l9,{className:ee,href:eo,children:er}):null},text:"Edit this page"},feedback:{content:"Question? Give us feedback →",labels:"feedback",useLink(){let ee=l1();return l7({labels:ee.feedback.labels,repository:ee.docsRepositoryBase,title:`Feedback for \u201C${ee.title}\u201D`})}},footer:{component:cw,text:`MIT ${new Date().getFullYear()} \xa9 Nextra.`},gitTimestamp:function({timestamp:ee}){let{locale:en=cX}=(0,eF.useRouter)();return(0,eD.jsxs)(eD.Fragment,{children:["Last updated on"," ",(0,eD.jsx)("time",{dateTime:ee.toISOString(),children:ee.toLocaleDateString(en,{day:"numeric",month:"long",year:"numeric"})})]})},head:(0,eD.jsxs)(eD.Fragment,{children:[(0,eD.jsx)("meta",{name:"msapplication-TileColor",content:"#fff"}),(0,eD.jsx)("meta",{httpEquiv:"Content-Language",content:"en"}),(0,eD.jsx)("meta",{name:"description",content:"Nextra: the next docs builder"}),(0,eD.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,eD.jsx)("meta",{name:"twitter:site",content:"@shuding_"}),(0,eD.jsx)("meta",{property:"og:title",content:"Nextra: the next docs builder"}),(0,eD.jsx)("meta",{property:"og:description",content:"Nextra: the next docs builder"}),(0,eD.jsx)("meta",{name:"apple-mobile-web-app-title",content:"Nextra"})]}),i18n:[],logo:(0,eD.jsxs)(eD.Fragment,{children:[(0,eD.jsx)("span",{className:"nx-font-extrabold",children:"Nextra"}),(0,eD.jsx)("span",{className:"nx-ml-2 nx-hidden nx-font-normal nx-text-gray-600 md:nx-inline",children:"The Next Docs Builder"})]}),logoLink:!0,navbar:{component:cC},navigation:!0,nextThemes:{defaultTheme:"system",storageKey:"theme"},notFound:{content:"Submit an issue about broken link →",labels:"bug"},primaryHue:{dark:204,light:212},primarySaturation:{dark:100,light:100},project:{icon:(0,eD.jsxs)(eD.Fragment,{children:[(0,eD.jsx)(e0,{}),(0,eD.jsx)("span",{className:"nx-sr-only",children:"GitHub"})]})},search:{component:function({className:ee,directories:en}){let er=l1();return er.flexsearch?(0,eD.jsx)(cx,{className:ee}):(0,eD.jsx)(cq,{className:ee,directories:en})},emptyResult:(0,eD.jsx)("span",{className:"nx-block nx-select-none nx-p-8 nx-text-center nx-text-sm nx-text-gray-400",children:"No results found."}),error:"Failed to load search index.",loading:function(){let{locale:ee,defaultLocale:en=cX}=(0,eF.useRouter)(),er=ee&&c2[ee]||c2[en];return(0,eD.jsxs)(eD.Fragment,{children:[er,"…"]})},placeholder:function(){let{locale:ee,defaultLocale:en=cX}=(0,eF.useRouter)(),er=ee&&c5[ee]||c5[en];return`${er}\u2026`}},serverSideError:{content:"Submit an issue about error in url →",labels:"bug"},sidebar:{defaultMenuCollapseLevel:2,titleComponent:({title:ee})=>(0,eD.jsx)(eD.Fragment,{children:ee}),toggleButton:!1},themeSwitch:{component:cW,useOptions(){let{locale:ee}=(0,eF.useRouter)();return"zh-CN"===ee?{dark:"深色主题",light:"浅色主题",system:"系统默认"}:{dark:"Dark",light:"Light",system:"System"}}},toc:{backToTop:!1,component:cV,float:!0,title:"On This Page"},useNextSeoProps:()=>({titleTemplate:"%s – Nextra"})},c3=Object.entries(c4).map(([ee,en])=>{let er=en&&"object"==typeof en&&!Array.isArray(en)&&!(0,eH.isValidElement)(en);if(er)return ee}).filter(Boolean);if(cK){let ee;let en=()=>{document.body.classList.add("resizing"),clearTimeout(ee),ee=setTimeout(()=>{document.body.classList.remove("resizing")},200)};window.addEventListener("resize",en)}function c6(ee){var en=ee,{tag:er,context:eo,children:ei,id:ec,className:eu}=en,ed=lF(en,["tag","context","children","id","className"]);let ef=lV(),eh=lX(),ep=lq(),em=(0,eH.useRef)(null);return(0,eH.useEffect)(()=>{if(!ec)return;let ee=em.current;if(ee)return eh.set(ee,[ec,eo.index+=1]),null==ep||ep.observe(ee),()=>{null==ep||ep.disconnect(),eh.delete(ee),ef(ee=>{let en=lZ({},ee);return delete en[ec],en})}},[ec,eo,eh,ep,ef]),(0,eD.jsxs)(er,lD(lZ({className:"sr-only"===eu?"nx-sr-only":eW("nx-font-semibold nx-tracking-tight nx-text-slate-900 dark:nx-text-slate-100",{h2:"nx-mt-10 nx-border-b nx-pb-1 nx-text-3xl nx-border-neutral-200/70 contrast-more:nx-border-neutral-400 dark:nx-border-primary-100/10 contrast-more:dark:nx-border-neutral-400",h3:"nx-mt-8 nx-text-2xl",h4:"nx-mt-8 nx-text-xl",h5:"nx-mt-8 nx-text-lg",h6:"nx-mt-8 nx-text-base"}[er])},ed),{children:[ei,ec&&(0,eD.jsx)("a",{href:`#${ec}`,id:ec,className:"subheading-anchor","aria-label":"Permalink for this section",ref:em})]}))}var c9=ee=>{let en=null,er=[];return eH.Children.forEach(ee,(ee,eo)=>{var ei;if(ee&&ee.type===c8){en||(en=ee);return}let ec=ee;if(!en&&ee&&"object"==typeof ee&&ee.type!==c7&&"props"in ee&&ee.props){let er=c9(ee.props.children);en=er[0],ec=(0,eH.cloneElement)(ee,lD(lZ({},ee.props),{children:(null==(ei=er[1])?void 0:ei.length)?er[1]:void 0,key:eo}))}er.push(ec)}),[en,er]},c7=ee=>{var en=ee,{children:er,open:eo}=en,ei=lF(en,["children","open"]);let[ec,eu]=(0,eH.useState)(!!eo),[ed,ef]=c9(er),[eh,ep]=(0,eH.useState)(ec);return(0,eH.useEffect)(()=>{if(ec)ep(!0);else{let ee=setTimeout(()=>ep(ec),500);return()=>clearTimeout(ee)}},[ec]),(0,eD.jsxs)("details",lD(lZ(lD(lZ({className:"nx-my-4 nx-rounded nx-border nx-border-gray-200 nx-bg-white nx-p-2 nx-shadow-sm first:nx-mt-0 dark:nx-border-neutral-800 dark:nx-bg-neutral-900"},ei),{open:eh}),ec&&{"data-expanded":!0}),{children:[(0,eD.jsx)(l3,{value:eu,children:ed}),(0,eD.jsx)(cs,{isOpen:ec,children:ef})]}))},c8=ee=>{let en=l4();return(0,eD.jsx)("summary",lD(lZ({className:eW("nx-flex nx-items-center nx-cursor-pointer nx-list-none nx-p-1 nx-transition-colors hover:nx-bg-gray-100 dark:hover:nx-bg-neutral-800","before:nx-mr-1 before:nx-inline-block before:nx-transition-transform before:nx-content-[''] dark:before:nx-invert before:nx-shrink-0","rtl:before:nx-rotate-180 [[data-expanded]>&]:before:nx-rotate-90")},ee),{onClick:ee=>{ee.preventDefault(),en(ee=>!ee)}}))},ut=/https?:\/\//,un=ee=>{var en=ee,{href:er="",className:eo}=en,ei=lF(en,["href","className"]);return(0,eD.jsx)(l9,lZ({href:er,newWindow:ut.test(er),className:eW("nx-text-primary-600 nx-underline nx-decoration-from-font [text-underline-position:from-font]",eo)},ei))},ur=ee=>{var en=ee,{href:er=""}=en,eo=lF(en,["href"]);return(0,eD.jsx)(l9,lZ({href:er,newWindow:ut.test(er)},eo))},uo=({isRawLayout:ee,components:en})=>{if(ee)return{a:ur};let er={index:0};return lZ({h1:ee=>(0,eD.jsx)("h1",lZ({className:"nx-mt-2 nx-text-4xl nx-font-bold nx-tracking-tight nx-text-slate-900 dark:nx-text-slate-100"},ee)),h2:ee=>(0,eD.jsx)(c6,lZ({tag:"h2",context:er},ee)),h3:ee=>(0,eD.jsx)(c6,lZ({tag:"h3",context:er},ee)),h4:ee=>(0,eD.jsx)(c6,lZ({tag:"h4",context:er},ee)),h5:ee=>(0,eD.jsx)(c6,lZ({tag:"h5",context:er},ee)),h6:ee=>(0,eD.jsx)(c6,lZ({tag:"h6",context:er},ee)),ul:ee=>(0,eD.jsx)("ul",lZ({className:"nx-mt-6 nx-list-disc first:nx-mt-0 ltr:nx-ml-6 rtl:nx-mr-6"},ee)),ol:ee=>(0,eD.jsx)("ol",lZ({className:"nx-mt-6 nx-list-decimal first:nx-mt-0 ltr:nx-ml-6 rtl:nx-mr-6"},ee)),li:ee=>(0,eD.jsx)("li",lZ({className:"nx-my-2"},ee)),blockquote:ee=>(0,eD.jsx)("blockquote",lZ({className:eW("nx-mt-6 nx-border-gray-300 nx-italic nx-text-gray-700 dark:nx-border-gray-700 dark:nx-text-gray-400","first:nx-mt-0 ltr:nx-border-l-2 ltr:nx-pl-6 rtl:nx-border-r-2 rtl:nx-pr-6")},ee)),hr:ee=>(0,eD.jsx)("hr",lZ({className:"nx-my-8 nx-border-neutral-200/70 contrast-more:nx-border-neutral-400 dark:nx-border-primary-100/10 contrast-more:dark:nx-border-neutral-400"},ee)),a:un,table:ee=>(0,eD.jsx)(lb,lZ({className:"nextra-scrollbar nx-mt-6 nx-p-0 first:nx-mt-0"},ee)),p:ee=>(0,eD.jsx)("p",lZ({className:"nx-mt-6 nx-leading-7 first:nx-mt-0"},ee)),tr:lk,th:lw,td:ly,details:c7,summary:c8,pre:sY,code:sQ},en)},ui={toc:eW("nextra-toc nx-order-last nx-hidden nx-w-64 nx-shrink-0 xl:nx-block print:nx-hidden"),main:eW("nx-w-full nx-break-words")},us=({themeContext:ee,breadcrumb:en,timestamp:er,navigation:eo,children:ei})=>{var ec;let eu=l1(),ed=eG();if("raw"===ee.layout)return(0,eD.jsx)("div",{className:ui.main,children:ei});let ef=ee.timestamp&&eu.gitTimestamp&&er?new Date(er):null,eh=ed&&ef?(0,eD.jsx)("div",{className:"nx-mt-12 nx-mb-8 nx-block nx-text-xs nx-text-gray-500 ltr:nx-text-right rtl:nx-text-left dark:nx-text-gray-400",children:l8(eu.gitTimestamp,{timestamp:ef})}):(0,eD.jsx)("div",{className:"nx-mt-16"}),ep=(0,eD.jsxs)(eD.Fragment,{children:[ei,eh,eo]}),em=(null==(ec=eu.main)?void 0:ec.call(eu,{children:ep}))||ep;return"full"===ee.layout?(0,eD.jsx)("article",{className:eW(ui.main,"nextra-content nx-min-h-[calc(100vh-var(--nextra-navbar-height))] nx-pl-[max(env(safe-area-inset-left),1.5rem)] nx-pr-[max(env(safe-area-inset-right),1.5rem)]"),children:em}):(0,eD.jsx)("article",{className:eW(ui.main,"nextra-content nx-flex nx-min-h-[calc(100vh-var(--nextra-navbar-height))] nx-min-w-0 nx-justify-center nx-pb-8 nx-pr-[calc(env(safe-area-inset-right)-1.5rem)]","article"===ee.typesetting&&"nextra-body-typesetting-article"),children:(0,eD.jsxs)("main",{className:"nx-w-full nx-min-w-0 nx-max-w-6xl nx-px-6 nx-pt-4 md:nx-px-12",children:[en,em]})})},ul=({filePath:ee,pageMap:en,frontMatter:er,headings:eo,timestamp:ei,children:ec})=>{let eu=l1(),{locale:ed=cX,defaultLocale:ef}=(0,eF.useRouter)(),eh=eV(),{activeType:ep,activeIndex:em,activeThemeContext:eg,activePath:ex,topLevelNavbarItems:ev,docsDirectories:ey,flatDirectories:eb,flatDocsDirectories:ew,directories:ek}=(0,eH.useMemo)(()=>rk({list:en,locale:ed,defaultLocale:ef,route:eh}),[en,ed,ef,eh]),e_=lZ(lZ({},eg),er),ej=!e_.sidebar||"raw"===e_.layout||"page"===ep,eE="page"!==ep&&e_.toc&&"default"===e_.layout?(0,eD.jsx)("nav",{className:eW(ui.toc,"nx-px-4"),"aria-label":"table of contents",children:l8(eu.toc.component,{headings:eu.toc.float?eo:[],filePath:ee})}):"full"!==e_.layout&&"raw"!==e_.layout&&(0,eD.jsx)("nav",{className:ui.toc,"aria-label":"table of contents"}),eO=eu.i18n.find(ee=>ee.locale===ed),eC=eO?"rtl"===eO.direction:"rtl"===eu.direction,eS=eC?"rtl":"ltr";return(0,eD.jsxs)("div",{dir:eS,children:[(0,eD.jsx)("script",{dangerouslySetInnerHTML:{__html:`document.documentElement.setAttribute('dir','${eS}')`}}),(0,eD.jsx)(ck,{}),(0,eD.jsx)(co,{}),e_.navbar&&l8(eu.navbar.component,{flatDirectories:eb,items:ev}),(0,eD.jsx)("div",{className:eW("nx-mx-auto nx-flex","raw"!==e_.layout&&"nx-max-w-[90rem]"),children:(0,eD.jsxs)(lK,{children:[(0,eD.jsx)(cD,{docsDirectories:ey,flatDirectories:eb,fullDirectories:ek,headings:eo,asPopover:ej,includePlaceholder:"default"===e_.layout}),eE,(0,eD.jsx)(cz,{}),(0,eD.jsx)(us,{themeContext:e_,breadcrumb:"page"!==ep&&e_.breadcrumb?(0,eD.jsx)(ci,{activePath:ex}):null,timestamp:ei,navigation:"page"!==ep&&e_.pagination?(0,eD.jsx)(cj,{flatDirectories:ew,currentIndex:em}):null,children:(0,eD.jsx)(eq.Z,{components:uo({isRawLayout:"raw"===e_.layout,components:eu.components}),children:ec})})]})}),e_.footer&&l8(eu.footer.component,{menu:ej})]})};function uc(ee){var en=ee,{children:er}=en,eo=lF(en,["children"]);return(0,eD.jsx)(l2,{value:eo,children:(0,eD.jsx)(ul,lD(lZ({},eo.pageOpts),{children:er}))})}var uu=er(49045),ud=er.n(uu),uf=er(33516),uh=er(84875),up=er.n(uh),um=er(11023);let ug=["xxl","xl","lg","md","sm","xs"],ux=ee=>({xs:"(max-width: ".concat(ee.screenXSMax,"px)"),sm:"(min-width: ".concat(ee.screenSM,"px)"),md:"(min-width: ".concat(ee.screenMD,"px)"),lg:"(min-width: ".concat(ee.screenLG,"px)"),xl:"(min-width: ".concat(ee.screenXL,"px)"),xxl:"(min-width: ".concat(ee.screenXXL,"px)")}),uv=ee=>{let en=ee,er=[].concat(ug).reverse();return er.forEach((ee,eo)=>{let ei=ee.toUpperCase(),ec="screen".concat(ei,"Min"),eu="screen".concat(ei);if(!(en[ec]<=en[eu]))throw Error("".concat(ec,"<=").concat(eu," fails : !(").concat(en[ec],"<=").concat(en[eu],")"));if(eo{let ee=new Map,er=-1,eo={};return{matchHandlers:{},dispatch:en=>(eo=en,ee.forEach(ee=>ee(eo)),ee.size>=1),subscribe(en){return ee.size||this.register(),er+=1,ee.set(er,en),en(eo),er},unsubscribe(en){ee.delete(en),ee.size||this.unregister()},unregister(){Object.keys(en).forEach(ee=>{let er=en[ee],eo=this.matchHandlers[er];null==eo||eo.mql.removeListener(null==eo?void 0:eo.listener)}),ee.clear()},register(){Object.keys(en).forEach(ee=>{let er=en[ee],ei=en=>{let{matches:er}=en;this.dispatch(Object.assign(Object.assign({},eo),{[ee]:er}))},ec=window.matchMedia(er);ec.addListener(ei),this.matchHandlers[er]={mql:ec,listener:ei},ei(ec)})},responsiveMap:en}},[ee])}var ub=er(79264);let uw=(0,eH.createContext)({});var uk=uw,u_=er(12071),uj=er(87393);let uE=ee=>{let{componentCls:en}=ee;return{[en]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},uO=ee=>{let{componentCls:en}=ee;return{[en]:{position:"relative",maxWidth:"100%",minHeight:1}}},uC=(ee,en)=>{let{componentCls:er,gridColumns:eo}=ee,ei={};for(let ee=eo;ee>=0;ee--)0===ee?(ei["".concat(er).concat(en,"-").concat(ee)]={display:"none"},ei["".concat(er,"-push-").concat(ee)]={insetInlineStart:"auto"},ei["".concat(er,"-pull-").concat(ee)]={insetInlineEnd:"auto"},ei["".concat(er).concat(en,"-push-").concat(ee)]={insetInlineStart:"auto"},ei["".concat(er).concat(en,"-pull-").concat(ee)]={insetInlineEnd:"auto"},ei["".concat(er).concat(en,"-offset-").concat(ee)]={marginInlineStart:0},ei["".concat(er).concat(en,"-order-").concat(ee)]={order:0}):(ei["".concat(er).concat(en,"-").concat(ee)]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:"0 0 ".concat(ee/eo*100,"%"),maxWidth:"".concat(ee/eo*100,"%")}],ei["".concat(er).concat(en,"-push-").concat(ee)]={insetInlineStart:"".concat(ee/eo*100,"%")},ei["".concat(er).concat(en,"-pull-").concat(ee)]={insetInlineEnd:"".concat(ee/eo*100,"%")},ei["".concat(er).concat(en,"-offset-").concat(ee)]={marginInlineStart:"".concat(ee/eo*100,"%")},ei["".concat(er).concat(en,"-order-").concat(ee)]={order:ee});return ei},uS=(ee,en)=>uC(ee,en),uT=(ee,en,er)=>({["@media (min-width: ".concat(en,"px)")]:Object.assign({},uS(ee,er))}),uN=(0,u_.Z)("Grid",ee=>[uE(ee)]),uA=(0,u_.Z)("Grid",ee=>{let en=(0,uj.TS)(ee,{gridColumns:24}),er={"-sm":en.screenSMMin,"-md":en.screenMDMin,"-lg":en.screenLGMin,"-xl":en.screenXLMin,"-xxl":en.screenXXLMin};return[uO(en),uS(en,""),uS(en,"-xs"),Object.keys(er).map(ee=>uT(en,er[ee],ee)).reduce((ee,en)=>Object.assign(Object.assign({},ee),en),{})]});var uI=function(ee,en){var er={};for(var eo in ee)Object.prototype.hasOwnProperty.call(ee,eo)&&0>en.indexOf(eo)&&(er[eo]=ee[eo]);if(null!=ee&&"function"==typeof Object.getOwnPropertySymbols)for(var ei=0,eo=Object.getOwnPropertySymbols(ee);eien.indexOf(eo[ei])&&Object.prototype.propertyIsEnumerable.call(ee,eo[ei])&&(er[eo[ei]]=ee[eo[ei]]);return er};function uR(ee,en){let[er,eo]=eH.useState("string"==typeof ee?ee:""),ei=()=>{if("string"==typeof ee&&eo(ee),"object"==typeof ee)for(let er=0;er{ei()},[JSON.stringify(ee),en]),er}let uM=eH.forwardRef((ee,en)=>{let{prefixCls:er,justify:eo,align:ei,className:ec,style:eu,children:ed,gutter:ef=0,wrap:eh}=ee,ep=uI(ee,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:em,direction:eg}=eH.useContext(ub.E_),[ex,ev]=eH.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[ey,eb]=eH.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),ew=uR(ei,ey),ek=uR(eo,ey),e_=eH.useRef(ef),ej=uy();eH.useEffect(()=>{let ee=ej.subscribe(ee=>{eb(ee);let en=e_.current||0;(!Array.isArray(en)&&"object"==typeof en||Array.isArray(en)&&("object"==typeof en[0]||"object"==typeof en[1]))&&ev(ee)});return()=>ej.unsubscribe(ee)},[]);let eE=()=>{let ee=[void 0,void 0],en=Array.isArray(ef)?ef:[ef,void 0];return en.forEach((en,er)=>{if("object"==typeof en)for(let eo=0;eo0?-(eT[0]/2):void 0;eI&&(eA.marginLeft=eI,eA.marginRight=eI),[,eA.rowGap]=eT;let[eR,eM]=eT,eL=eH.useMemo(()=>({gutter:[eR,eM],wrap:eh}),[eR,eM,eh]);return eC(eH.createElement(uk.Provider,{value:eL},eH.createElement("div",Object.assign({},ep,{className:eN,style:Object.assign(Object.assign({},eA),eu),ref:en}),ed)))});var uL=uM,uP=function(ee,en){var er={};for(var eo in ee)Object.prototype.hasOwnProperty.call(ee,eo)&&0>en.indexOf(eo)&&(er[eo]=ee[eo]);if(null!=ee&&"function"==typeof Object.getOwnPropertySymbols)for(var ei=0,eo=Object.getOwnPropertySymbols(ee);eien.indexOf(eo[ei])&&Object.prototype.propertyIsEnumerable.call(ee,eo[ei])&&(er[eo[ei]]=ee[eo[ei]]);return er};function uZ(ee){return"number"==typeof ee?"".concat(ee," ").concat(ee," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(ee)?"0 0 ".concat(ee):ee}let uD=["xs","sm","md","lg","xl","xxl"],uF=eH.forwardRef((ee,en)=>{let{getPrefixCls:er,direction:eo}=eH.useContext(ub.E_),{gutter:ei,wrap:ec}=eH.useContext(uk),{prefixCls:eu,span:ed,order:ef,offset:eh,push:ep,pull:em,className:eg,children:ex,flex:ev,style:ey}=ee,eb=uP(ee,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),ew=er("col",eu),[ek,e_]=uA(ew),ej={};uD.forEach(en=>{let er={},ei=ee[en];"number"==typeof ei?er.span=ei:"object"==typeof ei&&(er=ei||{}),delete eb[en],ej=Object.assign(Object.assign({},ej),{["".concat(ew,"-").concat(en,"-").concat(er.span)]:void 0!==er.span,["".concat(ew,"-").concat(en,"-order-").concat(er.order)]:er.order||0===er.order,["".concat(ew,"-").concat(en,"-offset-").concat(er.offset)]:er.offset||0===er.offset,["".concat(ew,"-").concat(en,"-push-").concat(er.push)]:er.push||0===er.push,["".concat(ew,"-").concat(en,"-pull-").concat(er.pull)]:er.pull||0===er.pull,["".concat(ew,"-").concat(en,"-flex-").concat(er.flex)]:er.flex||"auto"===er.flex,["".concat(ew,"-rtl")]:"rtl"===eo})});let eE=up()(ew,{["".concat(ew,"-").concat(ed)]:void 0!==ed,["".concat(ew,"-order-").concat(ef)]:ef,["".concat(ew,"-offset-").concat(eh)]:eh,["".concat(ew,"-push-").concat(ep)]:ep,["".concat(ew,"-pull-").concat(em)]:em},eg,ej,e_),eO={};if(ei&&ei[0]>0){let ee=ei[0]/2;eO.paddingLeft=ee,eO.paddingRight=ee}return ev&&(eO.flex=uZ(ev),!1!==ec||eO.minWidth||(eO.minWidth=0)),ek(eH.createElement("div",Object.assign({},eb,{style:Object.assign(Object.assign({},eO),ey),className:eE,ref:en}),ex))});var uH=uF,uz=function(){return(0,eD.jsxs)("footer",{id:"footer",children:[(0,eD.jsx)("div",{className:"footer-wrap",children:(0,eD.jsxs)(uL,{children:[(0,eD.jsx)(uH,{md:6,sm:24,xs:24,children:(0,eD.jsxs)("div",{className:"footer-center",children:[(0,eD.jsx)("h2",{children:"联系我们"}),(0,eD.jsx)("div",{children:(0,eD.jsx)("a",{href:"mailto:hi@charmlot.com",children:"邮箱 hi@charmlot.com"})}),(0,eD.jsx)("div",{children:(0,eD.jsx)("span",{style:{color:"rgba(255,255,255,.9)"},children:"QQ群 729013783"})})]})}),(0,eD.jsx)(uH,{md:6,sm:24,xs:24,children:(0,eD.jsxs)("div",{className:"footer-center",children:[(0,eD.jsx)("h2",{children:"用户协议"}),(0,eD.jsx)("div",{children:(0,eD.jsx)("a",{target:"_blank",href:"/agreement/",children:"用户协议"})}),(0,eD.jsx)("div",{children:(0,eD.jsx)("a",{target:"_blank",href:"/agreement/#privacy",children:"隐私政策"})})]})}),(0,eD.jsx)(uH,{md:6,sm:24,xs:24,children:(0,eD.jsxs)("div",{className:"footer-center",children:[(0,eD.jsx)("h2",{children:"帮助"}),(0,eD.jsx)("div",{children:(0,eD.jsx)("a",{href:"/docs/faq",children:"常见问题"})}),(0,eD.jsx)("div",{children:(0,eD.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/reactnativecn/react-native-pushy/issues",children:"issue讨论区"})})]})}),(0,eD.jsx)(uH,{md:6,sm:24,xs:24,children:(0,eD.jsxs)("div",{className:"footer-center",children:[(0,eD.jsx)("h2",{children:"链接"}),(0,eD.jsx)("div",{children:(0,eD.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://reactnative.cn/",children:"React Native中文网"})}),(0,eD.jsx)("div",{children:(0,eD.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://zh-hans.reactjs.org/",children:"ReactJS"})})]})})]})}),(0,eD.jsxs)("section",{className:"bottom-bar",children:[(0,eD.jsxs)("p",{children:["React Native中文网 \xa9 ",new Date().getFullYear()," ","武汉青罗网络科技有限公司"]}),(0,eD.jsxs)("p",{children:[(0,eD.jsx)("a",{href:"http://beian.miit.gov.cn/",children:"鄂ICP备20002031号-3"}),(0,eD.jsx)("img",{style:{display:"inline"},src:"https://img.alicdn.com/tfs/TB1..50QpXXXXX7XpXXXXXXXXXX-40-40.png",alt:"鄂公网安备 42011202001821号"}),(0,eD.jsx)("a",{href:"http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=42011202001821",children:"鄂公网安备 42011202001821号"})]})]})]})},uB=er(93169),uW={useNextSeoProps(){let{asPath:ee}=(0,eF.useRouter)();return"/"!==ee?{titleTemplate:"%s – Pushy 极速热更新"}:{titleTemplate:"Pushy 极速热更新"}},head:()=>{let{title:ee}=l1(),en="https://pushy.reactnative.cn";return(0,eD.jsxs)(eD.Fragment,{children:[(0,eD.jsx)("meta",{property:"og:url",content:en}),(0,eD.jsx)("meta",{property:"og:title",content:ee||"Pushy 极速热更新"}),(0,eD.jsx)("meta",{property:"og:description",content:"Pushy 极速热更新"}),(0,eD.jsx)("meta",{property:"og:keywords",content:"热更新,hotupdate,免审核,快速上架"})]})},logo:(0,eD.jsx)(ud(),{height:48,src:uf.Z,alt:"Pushy 极速热更新"}),docsRepositoryBase:"https://github.com/reactnativecn/react-native-pushy",project:{link:"https://github.com/reactnativecn/react-native-pushy"},footer:{component:uz},darkMode:!1,nextThemes:{defaultTheme:"light"},navbar:{extraContent:(0,eD.jsx)("div",{className:"header-meta",children:(0,eD.jsxs)("div",{className:"right-header",children:[(0,eD.jsx)(uB.ZP,{shape:"round",href:"https://pushy-admin.reactnative.cn/#/user",target:"_blank",children:"登录"}),(0,eD.jsx)(uB.ZP,{shape:"round",href:"https://pushy-admin.reactnative.cn/#/register",target:"_blank",type:"primary",children:"注册"})]})})},toc:{title:"目录"},feedback:{content:null},editLink:{component:null},search:{placeholder:"搜索文档...",emptyResult:"暂无匹配的结果"},gitTimestamp:null};er(9350),er(70703),er(59589);var uG=er(16635);function u$(ee,en){ee.prototype=Object.create(en.prototype),ee.prototype.constructor=ee,(0,uG.Z)(ee,en)}var uU=er(23248),uV=er(25201),uq=er(40507),uX=er.n(uq),uK=er(53670),uQ=er.n(uK),uY=er(55518),uJ=er.n(uY),u0=function(){function ee(ee,en,er){var eo=this;this.nativeMediaQueryList=ee.matchMedia(en),this.active=!0,this.cancellableListener=function(){eo.matches=eo.nativeMediaQueryList.matches,eo.active&&er.apply(void 0,arguments)},this.nativeMediaQueryList.addListener(this.cancellableListener),this.matches=this.nativeMediaQueryList.matches}return ee.prototype.cancel=function(){this.active=!1,this.nativeMediaQueryList.removeListener(this.cancellableListener)},ee}(),u1=uX().oneOfType([uX().string,uX().object,uX().arrayOf(uX().object.isRequired)]),u2=function(ee){function en(en){var er,eo;return(er=ee.call(this,en)||this,(0,uV.Z)((0,uU.Z)((0,uU.Z)(er)),"queries",[]),(0,uV.Z)((0,uU.Z)((0,uU.Z)(er)),"getMatches",function(){return u4(er.queries.reduce(function(ee,en){var er,eo=en.name,ei=en.mqListener;return(0,sI.Z)({},ee,((er={})[eo]=ei.matches,er))},{}))}),(0,uV.Z)((0,uU.Z)((0,uU.Z)(er)),"updateMatches",function(){var ee=er.getMatches();er.setState(function(){return{matches:ee}},er.onChange)}),!(!en.query&&!en.queries)||en.query&&en.queries||uQ()(!1),void 0!==en.defaultMatches&&en.query&&"boolean"!=typeof en.defaultMatches&&uQ()(!1),void 0!==en.defaultMatches&&en.queries&&"object"!=typeof en.defaultMatches&&uQ()(!1),"object"!=typeof window)?(eo=void 0!==en.defaultMatches?en.defaultMatches:!!en.query||Object.keys(er.props.queries).reduce(function(ee,en){var er;return(0,sI.Z)({},ee,((er={})[en]=!0,er))},{}),er.state={matches:eo},(0,uU.Z)(er)):(er.initialize(),er.state={matches:void 0!==er.props.defaultMatches?er.props.defaultMatches:er.getMatches()},er.onChange(),er)}u$(en,ee);var er=en.prototype;return er.initialize=function(){var ee=this,en=this.props.targetWindow||window;"function"!=typeof en.matchMedia&&uQ()(!1);var er=this.props.queries||u5(this.props.query);this.queries=Object.keys(er).map(function(eo){var ei=er[eo];return{name:eo,mqListener:new u0(en,"string"!=typeof ei?uJ()(ei):ei,ee.updateMatches)}})},er.componentDidMount=function(){this.initialize(),void 0!==this.props.defaultMatches&&this.updateMatches()},er.onChange=function(){var ee=this.props.onChange;ee&&ee(this.state.matches)},er.componentWillUnmount=function(){this.queries.forEach(function(ee){return ee.mqListener.cancel()})},er.render=function(){var ee=this.props,en=ee.children,er=ee.render,eo=this.state.matches,ei="object"==typeof eo?Object.keys(eo).some(function(ee){return eo[ee]}):eo;return er?ei?er(eo):null:en?"function"==typeof en?en(eo):(!Array.isArray(en)||en.length)&&ei?eH.Children.only(en)&&"string"==typeof eH.Children.only(en).type?eH.Children.only(en):eH.cloneElement(eH.Children.only(en),{matches:eo}):null:null},en}(eH.Component);function u5(ee){return{__DEFAULT__:ee}}function u4(ee){var en=Object.keys(ee);return 1===en.length&&"__DEFAULT__"===en[0]?ee.__DEFAULT__:ee}(0,uV.Z)(u2,"propTypes",{defaultMatches:uX().oneOfType([uX().bool,uX().objectOf(uX().bool)]),query:u1,queries:uX().objectOf(u1),render:uX().func,children:uX().oneOfType([uX().node,uX().func]),targetWindow:uX().object,onChange:uX().func});var u3=u2;function u6(ee){let{children:en,...er}=ee;return(0,eD.jsx)("div",{className:"page-wrapper",children:eH.cloneElement(en,{...en.props,isMobile:er.isMobile})})}let u9=ee=>(0,eD.jsx)(u3,{query:"(max-width: 996px)",children:en=>{let er=!1;return(0,eD.jsx)(u6,{...ee,isMobile:en&&!er})}});var u7=u9;let u8=function(ee){let{Component:en,pageProps:er}=ee;return(0,eD.jsx)(u7,{children:(0,eD.jsx)(en,{...er})})},dt=[];function dn(ee){return(0,eD.jsx)(eD.Fragment,{})}var dr=function(){let ee=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,eD.jsx)(u8,{...ee,children:(0,eD.jsx)(dn,{...ee})})};let di=(eP=globalThis)[eZ=Symbol.for("__nextra_internal__")]||(eP[eZ]=Object.create(null));di.Layout=uc,di.pageMap=[{kind:"Meta",data:{index:{title:"首页",theme:{layout:"raw",breadcrumb:!1,sidebar:!1},type:"page"},docs:{title:"文档",type:"page"},pricing:{title:"价格",theme:{layout:"raw",breadcrumb:!1,sidebar:!1},type:"page"},常见问题:{type:"page",href:"/docs/faq",route:"#"}}},{kind:"Folder",name:"docs",route:"/docs",children:[{kind:"Meta",data:{"getting-started":"安装配置",integration:"代码集成",publish:"发布流程","---1":{type:"separator",title:""},api:"API参考",cli:"命令行工具",bestpractice:"场景实践","---2":{type:"separator",title:""},faq:"常见问题",changelog:"更新日志"}},{kind:"MdxPage",name:"api",route:"/docs/api",frontMatter:{order:11,title:"API参考",type:"开发指南"}},{kind:"MdxPage",name:"bestpractice",route:"/docs/bestpractice",frontMatter:{order:13,title:"场景实践",type:"开发指南"}},{kind:"MdxPage",name:"changelog",route:"/docs/changelog",frontMatter:{order:22,title:"更新日志",type:"其他"}},{kind:"MdxPage",name:"cli",route:"/docs/cli",frontMatter:{order:12,title:"命令行工具",type:"开发指南"}},{kind:"MdxPage",name:"faq",route:"/docs/faq",frontMatter:{order:23,title:"常见问题",type:"其他"}},{kind:"MdxPage",name:"getting-started",route:"/docs/getting-started",frontMatter:{order:0,title:"安装配置",type:"快速入门"}},{kind:"MdxPage",name:"integration",route:"/docs/integration",frontMatter:{order:1,title:"代码集成",type:"快速入门"}},{kind:"MdxPage",name:"publish",route:"/docs/publish",frontMatter:{order:2,title:"发布热更新",type:"快速入门"}}]},{kind:"MdxPage",name:"index",route:"/"},{kind:"MdxPage",name:"pricing",route:"/pricing",frontMatter:{title:"价格"}}],di.flexsearch={codeblocks:!0},di.themeConfig=uW},25858:function(ee,en,er){"use strict";er.d(en,{M2:function(){return eu},Tm:function(){return ef},l$:function(){return ec}});var eo,ei=er(50959);let{isValidElement:ec}=eo||(eo=er.t(ei,2));function eu(ee){return ee&&ec(ee)&&ee.type===ei.Fragment}function ed(ee,en,er){return ec(ee)?ei.cloneElement(ee,"function"==typeof er?er(ee.props||{}):er):en}function ef(ee,en){return ed(ee,ee,en)}},93169:function(ee,en,er){"use strict";er.d(en,{ZP:function(){return nE}});var eo,ei=er(50959),ec=er(84875),eu=er.n(ec),ed=er(12309);function ef(ee,en){var er=(0,ed.Z)({},ee);return Array.isArray(en)&&en.forEach(function(ee){delete er[ee]}),er}var eh=er(12602),ep=er(95992),em=er(79264),eg=er(25858),ex=er(12071);let ev=ee=>{let{componentCls:en,colorPrimary:er}=ee;return{[en]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:"var(--wave-color, ".concat(er,")"),boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:["box-shadow 0.4s ".concat(ee.motionEaseOutCirc),"opacity 2s ".concat(ee.motionEaseOutCirc)].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:["box-shadow 0.3s ".concat(ee.motionEaseInOut),"opacity 0.35s ".concat(ee.motionEaseInOut)].join(",")}}}}};var ey=(0,ex.Z)("Wave",ee=>[ev(ee)]),eb=er(64213),ew=er(28449),ek=er(10091),e_=er(26407);function ej(){ej=function(){return en};var ee,en={},er=Object.prototype,eo=er.hasOwnProperty,ei=Object.defineProperty||function(ee,en,er){ee[en]=er.value},ec="function"==typeof Symbol?Symbol:{},eu=ec.iterator||"@@iterator",ed=ec.asyncIterator||"@@asyncIterator",ef=ec.toStringTag||"@@toStringTag";function eh(ee,en,er){return Object.defineProperty(ee,en,{value:er,enumerable:!0,configurable:!0,writable:!0}),ee[en]}try{eh({},"")}catch(ee){eh=function(ee,en,er){return ee[en]=er}}function ep(ee,en,er,eo){var ec=Object.create((en&&en.prototype instanceof ew?en:ew).prototype);return ei(ec,"_invoke",{value:eI(ee,er,new eP(eo||[]))}),ec}function em(ee,en,er){try{return{type:"normal",arg:ee.call(en,er)}}catch(ee){return{type:"throw",arg:ee}}}en.wrap=ep;var eg="suspendedStart",ex="suspendedYield",ev="executing",ey="completed",eb={};function ew(){}function ek(){}function eE(){}var eO={};eh(eO,eu,function(){return this});var eC=Object.getPrototypeOf,eS=eC&&eC(eC(eZ([])));eS&&eS!==er&&eo.call(eS,eu)&&(eO=eS);var eT=eE.prototype=ew.prototype=Object.create(eO);function eN(ee){["next","throw","return"].forEach(function(en){eh(ee,en,function(ee){return this._invoke(en,ee)})})}function eA(ee,en){var er;function ec(er,ei,eu,ed){var ef=em(ee[er],ee,ei);if("throw"!==ef.type){var eh=ef.arg,ep=eh.value;return ep&&"object"==(0,e_.Z)(ep)&&eo.call(ep,"__await")?en.resolve(ep.__await).then(function(ee){ec("next",ee,eu,ed)},function(ee){ec("throw",ee,eu,ed)}):en.resolve(ep).then(function(ee){eh.value=ee,eu(eh)},function(ee){return ec("throw",ee,eu,ed)})}ed(ef.arg)}ei(this,"_invoke",{value:function(ee,eo){function ei(){return new en(function(en,er){ec(ee,eo,en,er)})}return er=er?er.then(ei,ei):ei()}})}function eI(en,er,eo){var ei=eg;return function(ec,eu){if(ei===ev)throw Error("Generator is already running");if(ei===ey){if("throw"===ec)throw eu;return{value:ee,done:!0}}for(eo.method=ec,eo.arg=eu;;){var ed=eo.delegate;if(ed){var ef=eR(ed,eo);if(ef){if(ef===eb)continue;return ef}}if("next"===eo.method)eo.sent=eo._sent=eo.arg;else if("throw"===eo.method){if(ei===eg)throw ei=ey,eo.arg;eo.dispatchException(eo.arg)}else"return"===eo.method&&eo.abrupt("return",eo.arg);ei=ev;var eh=em(en,er,eo);if("normal"===eh.type){if(ei=eo.done?ey:ex,eh.arg===eb)continue;return{value:eh.arg,done:eo.done}}"throw"===eh.type&&(ei=ey,eo.method="throw",eo.arg=eh.arg)}}}function eR(en,er){var eo=er.method,ei=en.iterator[eo];if(ei===ee)return er.delegate=null,"throw"===eo&&en.iterator.return&&(er.method="return",er.arg=ee,eR(en,er),"throw"===er.method)||"return"!==eo&&(er.method="throw",er.arg=TypeError("The iterator does not provide a '"+eo+"' method")),eb;var ec=em(ei,en.iterator,er.arg);if("throw"===ec.type)return er.method="throw",er.arg=ec.arg,er.delegate=null,eb;var eu=ec.arg;return eu?eu.done?(er[en.resultName]=eu.value,er.next=en.nextLoc,"return"!==er.method&&(er.method="next",er.arg=ee),er.delegate=null,eb):eu:(er.method="throw",er.arg=TypeError("iterator result is not an object"),er.delegate=null,eb)}function eM(ee){var en={tryLoc:ee[0]};1 in ee&&(en.catchLoc=ee[1]),2 in ee&&(en.finallyLoc=ee[2],en.afterLoc=ee[3]),this.tryEntries.push(en)}function eL(ee){var en=ee.completion||{};en.type="normal",delete en.arg,ee.completion=en}function eP(ee){this.tryEntries=[{tryLoc:"root"}],ee.forEach(eM,this),this.reset(!0)}function eZ(en){if(en||""===en){var er=en[eu];if(er)return er.call(en);if("function"==typeof en.next)return en;if(!isNaN(en.length)){var ei=-1,ec=function er(){for(;++ei=0;--ec){var eu=this.tryEntries[ec],ed=eu.completion;if("root"===eu.tryLoc)return ei("end");if(eu.tryLoc<=this.prev){var ef=eo.call(eu,"catchLoc"),eh=eo.call(eu,"finallyLoc");if(ef&&eh){if(this.prev=0;--er){var ei=this.tryEntries[er];if(ei.tryLoc<=this.prev&&eo.call(ei,"finallyLoc")&&this.prev=0;--en){var er=this.tryEntries[en];if(er.finallyLoc===ee)return this.complete(er.completion,er.afterLoc),eL(er),eb}},catch:function(ee){for(var en=this.tryEntries.length-1;en>=0;--en){var er=this.tryEntries[en];if(er.tryLoc===ee){var eo=er.completion;if("throw"===eo.type){var ei=eo.arg;eL(er)}return ei}}throw Error("illegal catch attempt")},delegateYield:function(en,er,eo){return this.delegate={iterator:eZ(en),resultName:er,nextLoc:eo},"next"===this.method&&(this.arg=ee),eb}},en}var eE=er(1017),eO=er(10422),eC=er.t(eO,2),eS=(0,ed.Z)({},eC),eT=eS.version,eN=eS.render,eA=eS.unmountComponentAtNode;try{Number((eT||"").split(".")[0])>=18&&(eo=eS.createRoot)}catch(ee){}function eI(ee){var en=eS.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;en&&"object"===(0,e_.Z)(en)&&(en.usingClientEntryPoint=ee)}var eR="__rc_react_root__";function eM(ee,en){eI(!0);var er=en[eR]||eo(en);eI(!1),er.render(ee),en[eR]=er}function eL(ee,en){eN(ee,en)}function eP(ee,en){if(eo){eM(ee,en);return}eL(ee,en)}function eZ(ee){return eD.apply(this,arguments)}function eD(){return(eD=(0,eE.Z)(ej().mark(function ee(en){return ej().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return ee.abrupt("return",Promise.resolve().then(function(){var ee;null===(ee=en[eR])||void 0===ee||ee.unmount(),delete en[eR]}));case 1:case"end":return ee.stop()}},ee)}))).apply(this,arguments)}function eF(ee){eA(ee)}function eH(ee){return ez.apply(this,arguments)}function ez(){return(ez=(0,eE.Z)(ej().mark(function ee(en){return ej().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:if(!(void 0!==eo)){ee.next=2;break}return ee.abrupt("return",eZ(en));case 2:eF(en);case 3:case"end":return ee.stop()}},ee)}))).apply(this,arguments)}function eB(ee){let en=(ee||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return!en||!en[1]||!en[2]||!en[3]||!(en[1]===en[2]&&en[2]===en[3])}function eW(ee){return ee&&"#fff"!==ee&&"#ffffff"!==ee&&"rgb(255, 255, 255)"!==ee&&"rgba(255, 255, 255, 1)"!==ee&&eB(ee)&&!/rgba\((?:\d*, ){3}0\)/.test(ee)&&"transparent"!==ee}function eG(ee){let{borderTopColor:en,borderColor:er,backgroundColor:eo}=getComputedStyle(ee);return eW(en)?en:eW(er)?er:eW(eo)?eo:null}let e$="ant-wave-target";function eU(ee){return Number.isNaN(ee)?0:ee}let eV=ee=>{let{className:en,target:er,component:eo}=ee,ec=ei.useRef(null),[ed,ef]=ei.useState(null),[eh,ep]=ei.useState([]),[em,eg]=ei.useState(0),[ex,ev]=ei.useState(0),[ey,eb]=ei.useState(0),[e_,ej]=ei.useState(0),[eE,eO]=ei.useState(!1),eC={left:em,top:ex,width:ey,height:e_,borderRadius:eh.map(ee=>"".concat(ee,"px")).join(" ")};function eS(){let ee=getComputedStyle(er);ef(eG(er));let en="static"===ee.position,{borderLeftWidth:eo,borderTopWidth:ei}=ee;eg(en?er.offsetLeft:eU(-parseFloat(eo))),ev(en?er.offsetTop:eU(-parseFloat(ei))),eb(er.offsetWidth),ej(er.offsetHeight);let{borderTopLeftRadius:ec,borderTopRightRadius:eu,borderBottomLeftRadius:ed,borderBottomRightRadius:eh}=ee;ep([ec,eu,eh,ed].map(ee=>eU(parseFloat(ee))))}if(ed&&(eC["--wave-color"]=ed),ei.useEffect(()=>{if(er){let ee;let en=(0,ew.Z)(()=>{eS(),eO(!0)});return"undefined"!=typeof ResizeObserver&&(ee=new ResizeObserver(eS)).observe(er),()=>{ew.Z.cancel(en),null==ee||ee.disconnect()}}},[]),!eE)return null;let eT=("Checkbox"===eo||"Radio"===eo)&&(null==er?void 0:er.classList.contains(e$));return ei.createElement(ek.ZP,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(ee,en)=>{var er;if(en.deadline||"opacity"===en.propertyName){let ee=null===(er=ec.current)||void 0===er?void 0:er.parentElement;eH(ee).then(()=>{null==ee||ee.remove()})}return!1}},ee=>{let{className:er}=ee;return ei.createElement("div",{ref:ec,className:eu()(en,{"wave-quick":eT},er),style:eC})})},eq=(ee,en)=>{var er;let{component:eo}=en;if("Checkbox"===eo&&!(null===(er=ee.querySelector("input"))||void 0===er?void 0:er.checked))return;let ec=document.createElement("div");ec.style.position="absolute",ec.style.left="0px",ec.style.top="0px",null==ee||ee.insertBefore(ec,null==ee?void 0:ee.firstChild),eP(ei.createElement(eV,Object.assign({},en,{target:ee})),ec)};var eX=eq,eK=er(11023);function eQ(ee,en,er){let{wave:eo}=ei.useContext(em.E_),[,ec,eu]=(0,eK.Z)(),ed=(0,eb.zX)(ei=>{let ed=ee.current;if((null==eo?void 0:eo.disabled)||!ed)return;let ef=ed.querySelector(".".concat(e$))||ed,{showEffect:eh}=eo||{};(eh||eX)(ef,{className:en,token:ec,component:er,event:ei,hashId:eu})}),ef=ei.useRef(),eh=ee=>{ew.Z.cancel(ef.current),ef.current=(0,ew.Z)(()=>{ed(ee)})};return eh}let eY=ee=>{let{children:en,disabled:er,component:eo}=ee,{getPrefixCls:ec}=(0,ei.useContext)(em.E_),ed=(0,ei.useRef)(null),ef=ec("wave"),[,ex]=ey(ef),ev=eQ(ed,eu()(ef,ex),eo);if(ei.useEffect(()=>{let ee=ed.current;if(!ee||1!==ee.nodeType||er)return;let en=en=>{!(0,ep.Z)(en.target)||!ee.getAttribute||ee.getAttribute("disabled")||ee.disabled||ee.className.includes("disabled")||ee.className.includes("-leave")||ev(en)};return ee.addEventListener("click",en,!0),()=>{ee.removeEventListener("click",en,!0)}},[er]),!ei.isValidElement(en))return null!=en?en:null;let eb=(0,eh.Yr)(en)?(0,eh.sQ)(en.ref,ed):ed;return(0,eg.Tm)(en,{ref:eb})};var eJ=eY;let e0=ei.createContext(!1);var e1=e0;let e2=ei.createContext(void 0);var e5=e2;let e4=ee=>{let en=ei.useContext(e5),er=ei.useMemo(()=>ee?"string"==typeof ee?null!=ee?ee:en:ee instanceof Function?ee(en):en:en,[ee,en]);return er};var e3=e4,e6=er(77887),e9=function(ee,en){var er={};for(var eo in ee)Object.prototype.hasOwnProperty.call(ee,eo)&&0>en.indexOf(eo)&&(er[eo]=ee[eo]);if(null!=ee&&"function"==typeof Object.getOwnPropertySymbols)for(var ei=0,eo=Object.getOwnPropertySymbols(ee);eien.indexOf(eo[ei])&&Object.prototype.propertyIsEnumerable.call(ee,eo[ei])&&(er[eo[ei]]=ee[eo[ei]]);return er};let e7=ei.createContext(void 0),e8=ee=>{let{getPrefixCls:en,direction:er}=ei.useContext(em.E_),{prefixCls:eo,size:ec,className:ed}=ee,ef=e9(ee,["prefixCls","size","className"]),eh=en("btn-group",eo),[,,ep]=(0,eK.Z)(),eg="";switch(ec){case"large":eg="lg";break;case"small":eg="sm"}let ex=eu()(eh,{["".concat(eh,"-").concat(eg)]:eg,["".concat(eh,"-rtl")]:"rtl"===er},ed,ep);return ei.createElement(e7.Provider,{value:ec},ei.createElement("div",Object.assign({},ef,{className:ex})))};var tn=e8;let tr=/^[\u4e00-\u9fa5]{2}$/,to=tr.test.bind(tr);function ti(ee){return"string"==typeof ee}function ts(ee){return"text"===ee||"link"===ee}function tl(ee,en){if(null==ee)return;let er=en?" ":"";return"string"!=typeof ee&&"number"!=typeof ee&&ti(ee.type)&&to(ee.props.children)?(0,eg.Tm)(ee,{children:ee.props.children.split("").join(er)}):ti(ee)?to(ee)?ei.createElement("span",null,ee.split("").join(er)):ei.createElement("span",null,ee):(0,eg.M2)(ee)?ei.createElement("span",null,ee):ee}function tc(ee,en){let er=!1,eo=[];return ei.Children.forEach(ee,ee=>{let en=typeof ee,ei="string"===en||"number"===en;if(er&&ei){let en=eo.length-1,er=eo[en];eo[en]="".concat(er).concat(ee)}else eo.push(ee);er=ei}),ei.Children.map(eo,ee=>tl(ee,en))}let tu=(0,ei.forwardRef)((ee,en)=>{let{className:er,style:eo,children:ec,prefixCls:ed}=ee,ef=eu()("".concat(ed,"-icon"),er);return ei.createElement("span",{ref:en,className:ef,style:eo},ec)});var td=tu,tf=er(97605),th={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},tp=er(76729),tm=er(25201),tg=er(10582),tx=er(81548),tv=(0,ei.createContext)({}),ty=er(35966),tb=er(79697),tw=er(12868);function tk(ee){return ee.replace(/-(.)/g,function(ee,en){return en.toUpperCase()})}function t_(ee,en){(0,tw.ZP)(ee,"[@ant-design/icons] ".concat(en))}function tj(ee){return"object"===(0,e_.Z)(ee)&&"string"==typeof ee.name&&"string"==typeof ee.theme&&("object"===(0,e_.Z)(ee.icon)||"function"==typeof ee.icon)}function tE(){var ee=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(ee).reduce(function(en,er){var eo=ee[er];return"class"===er?(en.className=eo,delete en.class):(delete en[er],en[tk(er)]=eo),en},{})}function tO(ee,en,er){return er?ei.createElement(ee.tag,(0,ed.Z)((0,ed.Z)({key:en},tE(ee.attrs)),er),(ee.children||[]).map(function(er,eo){return tO(er,"".concat(en,"-").concat(ee.tag,"-").concat(eo))})):ei.createElement(ee.tag,(0,ed.Z)({key:en},tE(ee.attrs)),(ee.children||[]).map(function(er,eo){return tO(er,"".concat(en,"-").concat(ee.tag,"-").concat(eo))}))}function tC(ee){return(0,tx.generate)(ee)[0]}function tS(ee){return ee?Array.isArray(ee)?ee:[ee]:[]}var tT="\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",tN=function(ee){var en=(0,ei.useContext)(tv),er=en.csp,eo=en.prefixCls,ec=tT;eo&&(ec=ec.replace(/anticon/g,eo)),(0,ei.useEffect)(function(){var en=ee.current,eo=(0,tb.A)(en);(0,ty.hq)(ec,"@ant-design-icons",{prepend:!0,csp:er,attachTo:eo})},[])},tA=["icon","className","onClick","style","primaryColor","secondaryColor"],tI={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function tR(ee){var en=ee.primaryColor,er=ee.secondaryColor;tI.primaryColor=en,tI.secondaryColor=er||tC(en),tI.calculated=!!er}function tM(){return(0,ed.Z)({},tI)}var tL=function(ee){var en=ee.icon,er=ee.className,eo=ee.onClick,ec=ee.style,eu=ee.primaryColor,ef=ee.secondaryColor,eh=(0,tg.Z)(ee,tA),ep=ei.useRef(),em=tI;if(eu&&(em={primaryColor:eu,secondaryColor:ef||tC(eu)}),tN(ep),t_(tj(en),"icon should be icon definiton, but got ".concat(en)),!tj(en))return null;var eg=en;return eg&&"function"==typeof eg.icon&&(eg=(0,ed.Z)((0,ed.Z)({},eg),{},{icon:eg.icon(em.primaryColor,em.secondaryColor)})),tO(eg.icon,"svg-".concat(eg.name),(0,ed.Z)((0,ed.Z)({className:er,onClick:eo,style:ec,"data-icon":eg.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},eh),{},{ref:ep}))};tL.displayName="IconReact",tL.getTwoToneColors=tM,tL.setTwoToneColors=tR;var tP=tL;function tZ(ee){var en=tS(ee),er=(0,tp.Z)(en,2),eo=er[0],ei=er[1];return tP.setTwoToneColors({primaryColor:eo,secondaryColor:ei})}function tD(){var ee=tP.getTwoToneColors();return ee.calculated?[ee.primaryColor,ee.secondaryColor]:ee.primaryColor}var tF=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];tZ(tx.blue.primary);var tH=ei.forwardRef(function(ee,en){var er,eo=ee.className,ec=ee.icon,ed=ee.spin,ef=ee.rotate,eh=ee.tabIndex,ep=ee.onClick,em=ee.twoToneColor,eg=(0,tg.Z)(ee,tF),ex=ei.useContext(tv),ev=ex.prefixCls,ey=void 0===ev?"anticon":ev,eb=ex.rootClassName,ew=eu()(eb,ey,(er={},(0,tm.Z)(er,"".concat(ey,"-").concat(ec.name),!!ec.name),(0,tm.Z)(er,"".concat(ey,"-spin"),!!ed||"loading"===ec.name),er),eo),ek=eh;void 0===ek&&ep&&(ek=-1);var e_=ef?{msTransform:"rotate(".concat(ef,"deg)"),transform:"rotate(".concat(ef,"deg)")}:void 0,ej=tS(em),eE=(0,tp.Z)(ej,2),eO=eE[0],eC=eE[1];return ei.createElement("span",(0,tf.Z)({role:"img","aria-label":ec.name},eg,{ref:en,tabIndex:ek,onClick:ep,className:ew}),ei.createElement(tP,{icon:ec,primaryColor:eO,secondaryColor:eC,style:e_}))});tH.displayName="AntdIcon",tH.getTwoToneColor=tD,tH.setTwoToneColor=tZ;var tz=tH,tB=function(ee,en){return ei.createElement(tz,(0,tf.Z)({},ee,{ref:en,icon:th}))},tW=ei.forwardRef(tB);let tG=(0,ei.forwardRef)((ee,en)=>{let{prefixCls:er,className:eo,style:ec,iconClassName:ed}=ee,ef=eu()("".concat(er,"-loading-icon"),eo);return ei.createElement(td,{prefixCls:er,className:ef,style:ec,ref:en},ei.createElement(tW,{className:ed}))}),t$=()=>({width:0,opacity:0,transform:"scale(0)"}),tU=ee=>({width:ee.scrollWidth,opacity:1,transform:"scale(1)"}),tV=ee=>{let{prefixCls:en,loading:er,existIcon:eo,className:ec,style:eu}=ee,ed=!!er;return eo?ei.createElement(tG,{prefixCls:en,className:ec,style:eu}):ei.createElement(ek.ZP,{visible:ed,motionName:"".concat(en,"-loading-icon-motion"),motionLeave:ed,removeOnLeave:!0,onAppearStart:t$,onAppearActive:tU,onEnterStart:t$,onEnterActive:tU,onLeaveStart:tU,onLeaveActive:t$},(ee,er)=>{let{className:eo,style:ed}=ee;return ei.createElement(tG,{prefixCls:en,className:ec,style:Object.assign(Object.assign({},eu),ed),ref:er,iconClassName:eo})})};var tq=tV,tX=er(81998),tK=er(87393);let tQ=(ee,en)=>({["> span, > ".concat(ee)]:{"&:not(:last-child)":{["&, & > ".concat(ee)]:{"&:not(:disabled)":{borderInlineEndColor:en}}},"&:not(:first-child)":{["&, & > ".concat(ee)]:{"&:not(:disabled)":{borderInlineStartColor:en}}}}}),tY=ee=>{let{componentCls:en,fontSize:er,lineWidth:eo,groupBorderColor:ei,colorErrorHover:ec}=ee;return{["".concat(en,"-group")]:[{position:"relative",display:"inline-flex",["> span, > ".concat(en)]:{"&:not(:last-child)":{["&, & > ".concat(en)]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-eo,["&, & > ".concat(en)]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[en]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},["".concat(en,"-icon-only")]:{fontSize:er}},tQ("".concat(en,"-primary"),ei),tQ("".concat(en,"-danger"),ec)]}};var tJ=tY;let t0=ee=>{let{componentCls:en,iconCls:er,fontWeight:eo}=ee;return{[en]:{outline:"none",position:"relative",display:"inline-block",fontWeight:eo,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:"".concat(ee.lineWidth,"px ").concat(ee.lineType," transparent"),cursor:"pointer",transition:"all ".concat(ee.motionDurationMid," ").concat(ee.motionEaseInOut),userSelect:"none",touchAction:"manipulation",lineHeight:ee.lineHeight,color:ee.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},["".concat(en,"-icon")]:{lineHeight:0},["> ".concat(er," + span, > span + ").concat(er)]:{marginInlineStart:ee.marginXS},["&:not(".concat(en,"-icon-only) > ").concat(en,"-icon")]:{["&".concat(en,"-loading-icon, &:not(:last-child)")]:{marginInlineEnd:ee.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},(0,tX.Qy)(ee)),["&".concat(en,"-two-chinese-chars::first-letter")]:{letterSpacing:"0.34em"},["&".concat(en,"-two-chinese-chars > *:not(").concat(er,")")]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},["&-icon-only".concat(en,"-compact-item")]:{flex:"none"},["&-compact-item".concat(en,"-primary")]:{["&:not([disabled]) + ".concat(en,"-compact-item").concat(en,"-primary:not([disabled])")]:{position:"relative","&:before":{position:"absolute",top:-ee.lineWidth,insetInlineStart:-ee.lineWidth,display:"inline-block",width:ee.lineWidth,height:"calc(100% + ".concat(2*ee.lineWidth,"px)"),backgroundColor:ee.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{["&".concat(en,"-primary")]:{["&:not([disabled]) + ".concat(en,"-compact-vertical-item").concat(en,"-primary:not([disabled])")]:{position:"relative","&:before":{position:"absolute",top:-ee.lineWidth,insetInlineStart:-ee.lineWidth,display:"inline-block",width:"calc(100% + ".concat(2*ee.lineWidth,"px)"),height:ee.lineWidth,backgroundColor:ee.colorPrimaryHover,content:'""'}}}}}}},t1=(ee,en,er)=>({["&:not(:disabled):not(".concat(ee,"-disabled)")]:{"&:hover":en,"&:active":er}}),t2=ee=>({minWidth:ee.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),t5=ee=>({borderRadius:ee.controlHeight,paddingInlineStart:ee.controlHeight/2,paddingInlineEnd:ee.controlHeight/2}),t4=ee=>({cursor:"not-allowed",borderColor:ee.borderColorDisabled,color:ee.colorTextDisabled,backgroundColor:ee.colorBgContainerDisabled,boxShadow:"none"}),t3=(ee,en,er,eo,ei,ec,eu,ed)=>({["&".concat(ee,"-background-ghost")]:Object.assign(Object.assign({color:er||void 0,backgroundColor:en,borderColor:eo||void 0,boxShadow:"none"},t1(ee,Object.assign({backgroundColor:en},eu),Object.assign({backgroundColor:en},ed))),{"&:disabled":{cursor:"not-allowed",color:ei||void 0,borderColor:ec||void 0}})}),t6=ee=>({["&:disabled, &".concat(ee.componentCls,"-disabled")]:Object.assign({},t4(ee))}),t9=ee=>Object.assign({},t6(ee)),t7=ee=>({["&:disabled, &".concat(ee.componentCls,"-disabled")]:{cursor:"not-allowed",color:ee.colorTextDisabled}}),t8=ee=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},t9(ee)),{backgroundColor:ee.defaultBg,borderColor:ee.defaultBorderColor,color:ee.defaultColor,boxShadow:ee.defaultShadow}),t1(ee.componentCls,{color:ee.colorPrimaryHover,borderColor:ee.colorPrimaryHover},{color:ee.colorPrimaryActive,borderColor:ee.colorPrimaryActive})),t3(ee.componentCls,ee.ghostBg,ee.defaultGhostColor,ee.defaultGhostBorderColor,ee.colorTextDisabled,ee.colorBorder)),{["&".concat(ee.componentCls,"-dangerous")]:Object.assign(Object.assign(Object.assign({color:ee.colorError,borderColor:ee.colorError},t1(ee.componentCls,{color:ee.colorErrorHover,borderColor:ee.colorErrorBorderHover},{color:ee.colorErrorActive,borderColor:ee.colorErrorActive})),t3(ee.componentCls,ee.ghostBg,ee.colorError,ee.colorError,ee.colorTextDisabled,ee.colorBorder)),t6(ee))}),ne=ee=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},t9(ee)),{color:ee.primaryColor,backgroundColor:ee.colorPrimary,boxShadow:ee.primaryShadow}),t1(ee.componentCls,{color:ee.colorTextLightSolid,backgroundColor:ee.colorPrimaryHover},{color:ee.colorTextLightSolid,backgroundColor:ee.colorPrimaryActive})),t3(ee.componentCls,ee.ghostBg,ee.colorPrimary,ee.colorPrimary,ee.colorTextDisabled,ee.colorBorder,{color:ee.colorPrimaryHover,borderColor:ee.colorPrimaryHover},{color:ee.colorPrimaryActive,borderColor:ee.colorPrimaryActive})),{["&".concat(ee.componentCls,"-dangerous")]:Object.assign(Object.assign(Object.assign({backgroundColor:ee.colorError,boxShadow:ee.dangerShadow,color:ee.dangerColor},t1(ee.componentCls,{backgroundColor:ee.colorErrorHover},{backgroundColor:ee.colorErrorActive})),t3(ee.componentCls,ee.ghostBg,ee.colorError,ee.colorError,ee.colorTextDisabled,ee.colorBorder,{color:ee.colorErrorHover,borderColor:ee.colorErrorHover},{color:ee.colorErrorActive,borderColor:ee.colorErrorActive})),t6(ee))}),nt=ee=>Object.assign(Object.assign({},t8(ee)),{borderStyle:"dashed"}),nn=ee=>Object.assign(Object.assign(Object.assign({color:ee.colorLink},t1(ee.componentCls,{color:ee.colorLinkHover,backgroundColor:ee.linkHoverBg},{color:ee.colorLinkActive})),t7(ee)),{["&".concat(ee.componentCls,"-dangerous")]:Object.assign(Object.assign({color:ee.colorError},t1(ee.componentCls,{color:ee.colorErrorHover},{color:ee.colorErrorActive})),t7(ee))}),nr=ee=>Object.assign(Object.assign(Object.assign({},t1(ee.componentCls,{color:ee.colorText,backgroundColor:ee.textHoverBg},{color:ee.colorText,backgroundColor:ee.colorBgTextActive})),t7(ee)),{["&".concat(ee.componentCls,"-dangerous")]:Object.assign(Object.assign({color:ee.colorError},t7(ee)),t1(ee.componentCls,{color:ee.colorErrorHover,backgroundColor:ee.colorErrorBg},{color:ee.colorErrorHover,backgroundColor:ee.colorErrorBg}))}),no=ee=>{let{componentCls:en}=ee;return{["".concat(en,"-default")]:t8(ee),["".concat(en,"-primary")]:ne(ee),["".concat(en,"-dashed")]:nt(ee),["".concat(en,"-link")]:nn(ee),["".concat(en,"-text")]:nr(ee),["".concat(en,"-ghost")]:t3(ee.componentCls,ee.ghostBg,ee.colorBgContainer,ee.colorBgContainer,ee.colorTextDisabled,ee.colorBorder)}},ni=function(ee){let en=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",{componentCls:er,controlHeight:eo,fontSize:ei,lineHeight:ec,lineWidth:eu,borderRadius:ed,buttonPaddingHorizontal:ef,iconCls:eh}=ee,ep=Math.max(0,(eo-ei*ec)/2-eu),em="".concat(er,"-icon-only");return[{["".concat(er).concat(en)]:{fontSize:ei,height:eo,padding:"".concat(ep,"px ").concat(ef,"px"),borderRadius:ed,["&".concat(em)]:{width:eo,paddingInlineStart:0,paddingInlineEnd:0,["&".concat(er,"-round")]:{width:"auto"},[eh]:{fontSize:ee.buttonIconOnlyFontSize}},["&".concat(er,"-loading")]:{opacity:ee.opacityLoading,cursor:"default"},["".concat(er,"-loading-icon")]:{transition:"width ".concat(ee.motionDurationSlow," ").concat(ee.motionEaseInOut,", opacity ").concat(ee.motionDurationSlow," ").concat(ee.motionEaseInOut)}}},{["".concat(er).concat(er,"-circle").concat(en)]:t2(ee)},{["".concat(er).concat(er,"-round").concat(en)]:t5(ee)}]},ns=ee=>ni((0,tK.TS)(ee,{fontSize:ee.contentFontSize})),nl=ee=>{let en=(0,tK.TS)(ee,{controlHeight:ee.controlHeightSM,fontSize:ee.contentFontSizeSM,padding:ee.paddingXS,buttonPaddingHorizontal:ee.paddingInlineSM,borderRadius:ee.borderRadiusSM,buttonIconOnlyFontSize:ee.onlyIconSizeSM});return ni(en,"".concat(ee.componentCls,"-sm"))},nc=ee=>{let en=(0,tK.TS)(ee,{controlHeight:ee.controlHeightLG,fontSize:ee.contentFontSizeLG,buttonPaddingHorizontal:ee.paddingInlineLG,borderRadius:ee.borderRadiusLG,buttonIconOnlyFontSize:ee.onlyIconSizeLG});return ni(en,"".concat(ee.componentCls,"-lg"))},nu=ee=>{let{componentCls:en}=ee;return{[en]:{["&".concat(en,"-block")]:{width:"100%"}}}},nd=ee=>{let{paddingInline:en,onlyIconSize:er}=ee,eo=(0,tK.TS)(ee,{buttonPaddingHorizontal:en,buttonIconOnlyFontSize:er});return eo},nf=ee=>({fontWeight:400,defaultShadow:"0 ".concat(ee.controlOutlineWidth,"px 0 ").concat(ee.controlTmpOutline),primaryShadow:"0 ".concat(ee.controlOutlineWidth,"px 0 ").concat(ee.controlOutline),dangerShadow:"0 ".concat(ee.controlOutlineWidth,"px 0 ").concat(ee.colorErrorOutline),primaryColor:ee.colorTextLightSolid,dangerColor:ee.colorTextLightSolid,borderColorDisabled:ee.colorBorder,defaultGhostColor:ee.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:ee.colorBgContainer,paddingInline:ee.paddingContentHorizontal-ee.lineWidth,paddingInlineLG:ee.paddingContentHorizontal-ee.lineWidth,paddingInlineSM:8-ee.lineWidth,onlyIconSize:ee.fontSizeLG,onlyIconSizeSM:ee.fontSizeLG-2,onlyIconSizeLG:ee.fontSizeLG+2,groupBorderColor:ee.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:ee.colorBgTextHover,defaultColor:ee.colorText,defaultBg:ee.colorBgContainer,defaultBorderColor:ee.colorBorder,defaultBorderColorDisabled:ee.colorBorder,contentFontSize:ee.fontSize,contentFontSizeSM:ee.fontSize,contentFontSizeLG:ee.fontSizeLG});var nh=(0,ex.Z)("Button",ee=>{let en=nd(ee);return[t0(en),nl(en),ns(en),nc(en),nu(en),no(en),tJ(en)]},nf);function np(ee,en,er){let{focusElCls:eo,focus:ei,borderElCls:ec}=er,eu=ec?"> *":"",ed=["hover",ei?"focus":null,"active"].filter(Boolean).map(ee=>"&:".concat(ee," ").concat(eu)).join(",");return{["&-item:not(".concat(en,"-last-item)")]:{marginInlineEnd:-ee.lineWidth},"&-item":Object.assign(Object.assign({[ed]:{zIndex:2}},eo?{["&".concat(eo)]:{zIndex:2}}:{}),{["&[disabled] ".concat(eu)]:{zIndex:0}})}}function nm(ee,en,er){let{borderElCls:eo}=er,ei=eo?"> ".concat(eo):"";return{["&-item:not(".concat(en,"-first-item):not(").concat(en,"-last-item) ").concat(ei)]:{borderRadius:0},["&-item:not(".concat(en,"-last-item)").concat(en,"-first-item")]:{["& ".concat(ei,", &").concat(ee,"-sm ").concat(ei,", &").concat(ee,"-lg ").concat(ei)]:{borderStartEndRadius:0,borderEndEndRadius:0}},["&-item:not(".concat(en,"-first-item)").concat(en,"-last-item")]:{["& ".concat(ei,", &").concat(ee,"-sm ").concat(ei,", &").concat(ee,"-lg ").concat(ei)]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function ng(ee){let en=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{focus:!0},{componentCls:er}=ee,eo="".concat(er,"-compact");return{[eo]:Object.assign(Object.assign({},np(ee,eo,en)),nm(er,eo,en))}}function nx(ee,en){return{["&-item:not(".concat(en,"-last-item)")]:{marginBottom:-ee.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function nv(ee,en){return{["&-item:not(".concat(en,"-first-item):not(").concat(en,"-last-item)")]:{borderRadius:0},["&-item".concat(en,"-first-item:not(").concat(en,"-last-item)")]:{["&, &".concat(ee,"-sm, &").concat(ee,"-lg")]:{borderEndEndRadius:0,borderEndStartRadius:0}},["&-item".concat(en,"-last-item:not(").concat(en,"-first-item)")]:{["&, &".concat(ee,"-sm, &").concat(ee,"-lg")]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function ny(ee){let en="".concat(ee.componentCls,"-compact-vertical");return{[en]:Object.assign(Object.assign({},nx(ee,en)),nv(ee.componentCls,en))}}var nb=(0,ex.b)(["Button","compact"],ee=>{let en=nd(ee);return[ng(en),ny(en)]},nf),nw=function(ee,en){var er={};for(var eo in ee)Object.prototype.hasOwnProperty.call(ee,eo)&&0>en.indexOf(eo)&&(er[eo]=ee[eo]);if(null!=ee&&"function"==typeof Object.getOwnPropertySymbols)for(var ei=0,eo=Object.getOwnPropertySymbols(ee);eien.indexOf(eo[ei])&&Object.prototype.propertyIsEnumerable.call(ee,eo[ei])&&(er[eo[ei]]=ee[eo[ei]]);return er};function nk(ee){if("object"==typeof ee&&ee){let en=null==ee?void 0:ee.delay;return{loading:(en=Number.isNaN(en)||"number"!=typeof en?0:en)<=0,delay:en}}return{loading:!!ee,delay:0}}let n_=(ee,en)=>{var er,eo;let{loading:ec=!1,prefixCls:ed,type:ep="default",danger:eg,shape:ex="default",size:ev,styles:ey,disabled:eb,className:ew,rootClassName:ek,children:e_,icon:ej,ghost:eE=!1,block:eO=!1,htmlType:eC="button",classNames:eS,style:eT={}}=ee,eN=nw(ee,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),{getPrefixCls:eA,autoInsertSpaceInButton:eI,direction:eR,button:eM}=(0,ei.useContext)(em.E_),eL=eA("btn",ed),[eP,eZ]=nh(eL),eD=(0,ei.useContext)(e1),eF=null!=eb?eb:eD,eH=(0,ei.useContext)(e7),ez=(0,ei.useMemo)(()=>nk(ec),[ec]),[eB,eW]=(0,ei.useState)(ez.loading),[eG,e$]=(0,ei.useState)(!1),eU=(0,ei.createRef)(),eV=(0,eh.sQ)(en,eU),eq=1===ei.Children.count(e_)&&!ej&&!ts(ep);(0,ei.useEffect)(()=>{let ee=null;return ez.delay>0?ee=setTimeout(()=>{ee=null,eW(!0)},ez.delay):eW(ez.loading),function(){ee&&(clearTimeout(ee),ee=null)}},[ez]),(0,ei.useEffect)(()=>{if(!eV||!eV.current||!1===eI)return;let ee=eV.current.textContent;eq&&to(ee)?eG||e$(!0):eG&&e$(!1)},[eV]);let eX=en=>{let{onClick:er}=ee;if(eB||eF){en.preventDefault();return}null==er||er(en)},eK=!1!==eI,{compactSize:eQ,compactItemClassnames:eY}=(0,e6.ri)(eL,eR),e0={large:"lg",small:"sm",middle:void 0},e2=e3(ee=>{var en,er;return null!==(er=null!==(en=null!=ev?ev:eQ)&&void 0!==en?en:eH)&&void 0!==er?er:ee}),e5=e2&&e0[e2]||"",e4=eB?"loading":ej,e9=ef(eN,["navigate"]),e8=eu()(eL,eZ,{["".concat(eL,"-").concat(ex)]:"default"!==ex&&ex,["".concat(eL,"-").concat(ep)]:ep,["".concat(eL,"-").concat(e5)]:e5,["".concat(eL,"-icon-only")]:!e_&&0!==e_&&!!e4,["".concat(eL,"-background-ghost")]:eE&&!ts(ep),["".concat(eL,"-loading")]:eB,["".concat(eL,"-two-chinese-chars")]:eG&&eK&&!eB,["".concat(eL,"-block")]:eO,["".concat(eL,"-dangerous")]:!!eg,["".concat(eL,"-rtl")]:"rtl"===eR},eY,ew,ek,null==eM?void 0:eM.className),tn=Object.assign(Object.assign({},null==eM?void 0:eM.style),eT),tr=eu()(null==eS?void 0:eS.icon,null===(er=null==eM?void 0:eM.classNames)||void 0===er?void 0:er.icon),ti=Object.assign(Object.assign({},(null==ey?void 0:ey.icon)||{}),(null===(eo=null==eM?void 0:eM.styles)||void 0===eo?void 0:eo.icon)||{}),tl=ej&&!eB?ei.createElement(td,{prefixCls:eL,className:tr,style:ti},ej):ei.createElement(tq,{existIcon:!!ej,prefixCls:eL,loading:!!eB}),tu=e_||0===e_?tc(e_,eq&&eK):null;if(void 0!==e9.href)return eP(ei.createElement("a",Object.assign({},e9,{className:eu()(e8,{["".concat(eL,"-disabled")]:eF}),href:eF?void 0:e9.href,style:tn,onClick:eX,ref:eV,tabIndex:eF?-1:0}),tl,tu));let tf=ei.createElement("button",Object.assign({},eN,{type:eC,className:e8,style:tn,onClick:eX,disabled:eF,ref:eV}),tl,tu,eY&&ei.createElement(nb,{key:"compact",prefixCls:eL}));return ts(ep)||(tf=ei.createElement(eJ,{component:"Button",disabled:!!eB},tf)),eP(tf)},nj=(0,ei.forwardRef)(n_);nj.Group=tn,nj.__ANT_BUTTON=!0;var nE=nj},79264:function(ee,en,er){"use strict";er.d(en,{E_:function(){return eu}});var eo=er(50959);let ei="anticon",ec=(ee,en)=>en||(ee?"ant-".concat(ee):"ant"),eu=eo.createContext({getPrefixCls:ec,iconPrefixCls:ei}),{Consumer:ed}=eu},77887:function(ee,en,er){"use strict";er.d(en,{BR:function(){return ef},ri:function(){return ed}});var eo=er(84875),ei=er.n(eo);er(13763);var ec=er(50959);let eu=ec.createContext(null),ed=(ee,en)=>{let er=ec.useContext(eu),eo=ec.useMemo(()=>{if(!er)return"";let{compactDirection:eo,isFirstItem:ec,isLastItem:eu}=er,ed="vertical"===eo?"-vertical-":"-";return ei()("".concat(ee,"-compact").concat(ed,"item"),{["".concat(ee,"-compact").concat(ed,"first-item")]:ec,["".concat(ee,"-compact").concat(ed,"last-item")]:eu,["".concat(ee,"-compact").concat(ed,"item-rtl")]:"rtl"===en})},[ee,en,er]);return{compactSize:null==er?void 0:er.compactSize,compactDirection:null==er?void 0:er.compactDirection,compactItemClassnames:eo}},ef=ee=>{let{children:en}=ee;return ec.createElement(eu.Provider,{value:null},en)}},81998:function(ee,en,er){"use strict";er.d(en,{Lx:function(){return ec},Qy:function(){return ef},Ro:function(){return ei},Wf:function(){return eo},du:function(){return eu}});let eo=function(ee){let en=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{boxSizing:"border-box",margin:0,padding:0,color:ee.colorText,fontSize:ee.fontSize,lineHeight:ee.lineHeight,listStyle:"none",fontFamily:en?"inherit":ee.fontFamily}},ei=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),ec=ee=>({a:{color:ee.colorLink,textDecoration:ee.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:"color ".concat(ee.motionDurationSlow),"-webkit-text-decoration-skip":"objects","&:hover":{color:ee.colorLinkHover},"&:active":{color:ee.colorLinkActive},"&:active,\n &:hover":{textDecoration:ee.linkHoverDecoration,outline:0},"&:focus":{textDecoration:ee.linkFocusDecoration,outline:0},"&[disabled]":{color:ee.colorTextDisabled,cursor:"not-allowed"}}}),eu=(ee,en)=>{let{fontFamily:er,fontSize:eo}=ee,ei='[class^="'.concat(en,'"], [class*=" ').concat(en,'"]');return{[ei]:{fontFamily:er,fontSize:eo,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[ei]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},ed=ee=>({outline:"".concat(ee.lineWidthFocus,"px solid ").concat(ee.colorPrimaryBorder),outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),ef=ee=>({"&:focus-visible":Object.assign({},ed(ee))})},11023:function(ee,en,er){"use strict";er.d(en,{Z:function(){return eW}});var eo=er(50959),ei=er(42374),ec="5.11.4",eu=er(81548);let ed=ee=>{let{controlHeight:en}=ee;return{controlHeightSM:.75*en,controlHeightXS:.5*en,controlHeightLG:1.25*en}};var ef=ed;function eh(ee){let{sizeUnit:en,sizeStep:er}=ee;return{sizeXXL:en*(er+8),sizeXL:en*(er+4),sizeLG:en*(er+2),sizeMD:en*(er+1),sizeMS:en*er,size:en*er,sizeSM:en*(er-1),sizeXS:en*(er-2),sizeXXS:en*(er-3)}}let ep={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},em=Object.assign(Object.assign({},ep),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n'Noto Color Emoji'",fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});var eg=em,ex=er(96299),ev=er(76367),ey=er(28556),eb=er(23881),ew=function(){function ee(en,er){if(void 0===en&&(en=""),void 0===er&&(er={}),en instanceof ee)return en;"number"==typeof en&&(en=(0,ex.Yt)(en)),this.originalInput=en;var eo,ei=(0,ey.uA)(en);this.originalInput=en,this.r=ei.r,this.g=ei.g,this.b=ei.b,this.a=ei.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(eo=er.format)&&void 0!==eo?eo:ei.format,this.gradientType=er.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=ei.ok}return ee.prototype.isDark=function(){return 128>this.getBrightness()},ee.prototype.isLight=function(){return!this.isDark()},ee.prototype.getBrightness=function(){var ee=this.toRgb();return(299*ee.r+587*ee.g+114*ee.b)/1e3},ee.prototype.getLuminance=function(){var ee,en,er,eo=this.toRgb(),ei=eo.r/255,ec=eo.g/255,eu=eo.b/255;return .2126*(ee=ei<=.03928?ei/12.92:Math.pow((ei+.055)/1.055,2.4))+.7152*(en=ec<=.03928?ec/12.92:Math.pow((ec+.055)/1.055,2.4))+.0722*(er=eu<=.03928?eu/12.92:Math.pow((eu+.055)/1.055,2.4))},ee.prototype.getAlpha=function(){return this.a},ee.prototype.setAlpha=function(ee){return this.a=(0,eb.Yq)(ee),this.roundA=Math.round(100*this.a)/100,this},ee.prototype.isMonochrome=function(){return 0===this.toHsl().s},ee.prototype.toHsv=function(){var ee=(0,ex.py)(this.r,this.g,this.b);return{h:360*ee.h,s:ee.s,v:ee.v,a:this.a}},ee.prototype.toHsvString=function(){var ee=(0,ex.py)(this.r,this.g,this.b),en=Math.round(360*ee.h),er=Math.round(100*ee.s),eo=Math.round(100*ee.v);return 1===this.a?"hsv(".concat(en,", ").concat(er,"%, ").concat(eo,"%)"):"hsva(".concat(en,", ").concat(er,"%, ").concat(eo,"%, ").concat(this.roundA,")")},ee.prototype.toHsl=function(){var ee=(0,ex.lC)(this.r,this.g,this.b);return{h:360*ee.h,s:ee.s,l:ee.l,a:this.a}},ee.prototype.toHslString=function(){var ee=(0,ex.lC)(this.r,this.g,this.b),en=Math.round(360*ee.h),er=Math.round(100*ee.s),eo=Math.round(100*ee.l);return 1===this.a?"hsl(".concat(en,", ").concat(er,"%, ").concat(eo,"%)"):"hsla(".concat(en,", ").concat(er,"%, ").concat(eo,"%, ").concat(this.roundA,")")},ee.prototype.toHex=function(ee){return void 0===ee&&(ee=!1),(0,ex.vq)(this.r,this.g,this.b,ee)},ee.prototype.toHexString=function(ee){return void 0===ee&&(ee=!1),"#"+this.toHex(ee)},ee.prototype.toHex8=function(ee){return void 0===ee&&(ee=!1),(0,ex.s)(this.r,this.g,this.b,this.a,ee)},ee.prototype.toHex8String=function(ee){return void 0===ee&&(ee=!1),"#"+this.toHex8(ee)},ee.prototype.toHexShortString=function(ee){return void 0===ee&&(ee=!1),1===this.a?this.toHexString(ee):this.toHex8String(ee)},ee.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},ee.prototype.toRgbString=function(){var ee=Math.round(this.r),en=Math.round(this.g),er=Math.round(this.b);return 1===this.a?"rgb(".concat(ee,", ").concat(en,", ").concat(er,")"):"rgba(".concat(ee,", ").concat(en,", ").concat(er,", ").concat(this.roundA,")")},ee.prototype.toPercentageRgb=function(){var ee=function(ee){return"".concat(Math.round(100*(0,eb.sh)(ee,255)),"%")};return{r:ee(this.r),g:ee(this.g),b:ee(this.b),a:this.a}},ee.prototype.toPercentageRgbString=function(){var ee=function(ee){return Math.round(100*(0,eb.sh)(ee,255))};return 1===this.a?"rgb(".concat(ee(this.r),"%, ").concat(ee(this.g),"%, ").concat(ee(this.b),"%)"):"rgba(".concat(ee(this.r),"%, ").concat(ee(this.g),"%, ").concat(ee(this.b),"%, ").concat(this.roundA,")")},ee.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var ee="#"+(0,ex.vq)(this.r,this.g,this.b,!1),en=0,er=Object.entries(ev.R);en=0;return!en&&eo&&(ee.startsWith("hex")||"name"===ee)?"name"===ee&&0===this.a?this.toName():this.toRgbString():("rgb"===ee&&(er=this.toRgbString()),"prgb"===ee&&(er=this.toPercentageRgbString()),("hex"===ee||"hex6"===ee)&&(er=this.toHexString()),"hex3"===ee&&(er=this.toHexString(!0)),"hex4"===ee&&(er=this.toHex8String(!0)),"hex8"===ee&&(er=this.toHex8String()),"name"===ee&&(er=this.toName()),"hsl"===ee&&(er=this.toHslString()),"hsv"===ee&&(er=this.toHsvString()),er||this.toHexString())},ee.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},ee.prototype.clone=function(){return new ee(this.toString())},ee.prototype.lighten=function(en){void 0===en&&(en=10);var er=this.toHsl();return er.l+=en/100,er.l=(0,eb.V2)(er.l),new ee(er)},ee.prototype.brighten=function(en){void 0===en&&(en=10);var er=this.toRgb();return er.r=Math.max(0,Math.min(255,er.r-Math.round(-(255*(en/100))))),er.g=Math.max(0,Math.min(255,er.g-Math.round(-(255*(en/100))))),er.b=Math.max(0,Math.min(255,er.b-Math.round(-(255*(en/100))))),new ee(er)},ee.prototype.darken=function(en){void 0===en&&(en=10);var er=this.toHsl();return er.l-=en/100,er.l=(0,eb.V2)(er.l),new ee(er)},ee.prototype.tint=function(ee){return void 0===ee&&(ee=10),this.mix("white",ee)},ee.prototype.shade=function(ee){return void 0===ee&&(ee=10),this.mix("black",ee)},ee.prototype.desaturate=function(en){void 0===en&&(en=10);var er=this.toHsl();return er.s-=en/100,er.s=(0,eb.V2)(er.s),new ee(er)},ee.prototype.saturate=function(en){void 0===en&&(en=10);var er=this.toHsl();return er.s+=en/100,er.s=(0,eb.V2)(er.s),new ee(er)},ee.prototype.greyscale=function(){return this.desaturate(100)},ee.prototype.spin=function(en){var er=this.toHsl(),eo=(er.h+en)%360;return er.h=eo<0?360+eo:eo,new ee(er)},ee.prototype.mix=function(en,er){void 0===er&&(er=50);var eo=this.toRgb(),ei=new ee(en).toRgb(),ec=er/100;return new ee({r:(ei.r-eo.r)*ec+eo.r,g:(ei.g-eo.g)*ec+eo.g,b:(ei.b-eo.b)*ec+eo.b,a:(ei.a-eo.a)*ec+eo.a})},ee.prototype.analogous=function(en,er){void 0===en&&(en=6),void 0===er&&(er=30);var eo=this.toHsl(),ei=360/er,ec=[this];for(eo.h=(eo.h-(ei*en>>1)+720)%360;--en;)eo.h=(eo.h+ei)%360,ec.push(new ee(eo));return ec},ee.prototype.complement=function(){var en=this.toHsl();return en.h=(en.h+180)%360,new ee(en)},ee.prototype.monochromatic=function(en){void 0===en&&(en=6);for(var er=this.toHsv(),eo=er.h,ei=er.s,ec=er.v,eu=[],ed=1/en;en--;)eu.push(new ee({h:eo,s:ei,v:ec})),ec=(ec+ed)%1;return eu},ee.prototype.splitcomplement=function(){var en=this.toHsl(),er=en.h;return[this,new ee({h:(er+72)%360,s:en.s,l:en.l}),new ee({h:(er+216)%360,s:en.s,l:en.l})]},ee.prototype.onBackground=function(en){var er=this.toRgb(),eo=new ee(en).toRgb(),ei=er.a+eo.a*(1-er.a);return new ee({r:(er.r*er.a+eo.r*eo.a*(1-er.a))/ei,g:(er.g*er.a+eo.g*eo.a*(1-er.a))/ei,b:(er.b*er.a+eo.b*eo.a*(1-er.a))/ei,a:ei})},ee.prototype.triad=function(){return this.polyad(3)},ee.prototype.tetrad=function(){return this.polyad(4)},ee.prototype.polyad=function(en){for(var er=this.toHsl(),eo=er.h,ei=[this],ec=360/en,eu=1;eu{let en=ee,er=ee,eo=ee,ei=ee;return ee<6&&ee>=5?en=ee+1:ee<16&&ee>=6?en=ee+2:ee>=16&&(en=16),ee<7&&ee>=5?er=4:ee<8&&ee>=7?er=5:ee<14&&ee>=8?er=6:ee<16&&ee>=14?er=7:ee>=16&&(er=8),ee<6&&ee>=2?eo=1:ee>=6&&(eo=2),ee>4&&ee<8?ei=4:ee>=8&&(ei=6),{borderRadius:ee,borderRadiusXS:eo,borderRadiusSM:er,borderRadiusLG:en,borderRadiusOuter:ei}};var ej=e_;function eE(ee){let{motionUnit:en,motionBase:er,borderRadius:eo,lineWidth:ei}=ee;return Object.assign({motionDurationFast:"".concat((er+en).toFixed(1),"s"),motionDurationMid:"".concat((er+2*en).toFixed(1),"s"),motionDurationSlow:"".concat((er+3*en).toFixed(1),"s"),lineWidthBold:ei+1},ej(eo))}let eO=(ee,en)=>new ew(ee).setAlpha(en).toRgbString(),eC=(ee,en)=>{let er=new ew(ee);return er.darken(en).toHexString()},eS=ee=>{let en=(0,eu.generate)(ee);return{1:en[0],2:en[1],3:en[2],4:en[3],5:en[4],6:en[5],7:en[6],8:en[4],9:en[5],10:en[6]}},eT=(ee,en)=>{let er=ee||"#fff",eo=en||"#000";return{colorBgBase:er,colorTextBase:eo,colorText:eO(eo,.88),colorTextSecondary:eO(eo,.65),colorTextTertiary:eO(eo,.45),colorTextQuaternary:eO(eo,.25),colorFill:eO(eo,.15),colorFillSecondary:eO(eo,.06),colorFillTertiary:eO(eo,.04),colorFillQuaternary:eO(eo,.02),colorBgLayout:eC(er,4),colorBgContainer:eC(er,0),colorBgElevated:eC(er,0),colorBgSpotlight:eO(eo,.85),colorBgBlur:"transparent",colorBorder:eC(er,15),colorBorderSecondary:eC(er,6)}};function eN(ee){let en=Array(10).fill(null).map((en,er)=>{let eo=er-1,ei=ee*Math.pow(2.71828,eo/5),ec=er>1?Math.floor(ei):Math.ceil(ei);return 2*Math.floor(ec/2)});return en[1]=ee,en.map(ee=>{let en=ee+8;return{size:ee,lineHeight:en/ee}})}let eA=ee=>{let en=eN(ee),er=en.map(ee=>ee.size),eo=en.map(ee=>ee.lineHeight);return{fontSizeSM:er[0],fontSize:er[1],fontSizeLG:er[2],fontSizeXL:er[3],fontSizeHeading1:er[6],fontSizeHeading2:er[5],fontSizeHeading3:er[4],fontSizeHeading4:er[3],fontSizeHeading5:er[2],lineHeight:eo[1],lineHeightLG:eo[2],lineHeightSM:eo[0],lineHeightHeading1:eo[6],lineHeightHeading2:eo[5],lineHeightHeading3:eo[4],lineHeightHeading4:eo[3],lineHeightHeading5:eo[2]}};var eI=eA;function eR(ee){let en=Object.keys(ep).map(en=>{let er=(0,eu.generate)(ee[en]);return Array(10).fill(1).reduce((ee,eo,ei)=>(ee["".concat(en,"-").concat(ei+1)]=er[ei],ee["".concat(en).concat(ei+1)]=er[ei],ee),{})}).reduce((ee,en)=>ee=Object.assign(Object.assign({},ee),en),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},ee),en),ek(ee,{generateColorPalettes:eS,generateNeutralColorPalettes:eT})),eI(ee.fontSize)),eh(ee)),ef(ee)),eE(ee))}let eM=(0,ei.jG)(eR),eL={token:eg,override:{override:eg},hashed:!0},eP=eo.createContext(eL);function eZ(ee){return ee>=0&&ee<=255}var eD=function(ee,en){let{r:er,g:eo,b:ei,a:ec}=new ew(ee).toRgb();if(ec<1)return ee;let{r:eu,g:ed,b:ef}=new ew(en).toRgb();for(let ee=.01;ee<=1;ee+=.01){let en=Math.round((er-eu*(1-ee))/ee),ec=Math.round((eo-ed*(1-ee))/ee),eh=Math.round((ei-ef*(1-ee))/ee);if(eZ(en)&&eZ(ec)&&eZ(eh))return new ew({r:en,g:ec,b:eh,a:Math.round(100*ee)/100}).toRgbString()}return new ew({r:er,g:eo,b:ei,a:1}).toRgbString()},eF=function(ee,en){var er={};for(var eo in ee)Object.prototype.hasOwnProperty.call(ee,eo)&&0>en.indexOf(eo)&&(er[eo]=ee[eo]);if(null!=ee&&"function"==typeof Object.getOwnPropertySymbols)for(var ei=0,eo=Object.getOwnPropertySymbols(ee);eien.indexOf(eo[ei])&&Object.prototype.propertyIsEnumerable.call(ee,eo[ei])&&(er[eo[ei]]=ee[eo[ei]]);return er};function eH(ee){let{override:en}=ee,er=eF(ee,["override"]),eo=Object.assign({},en);Object.keys(eg).forEach(ee=>{delete eo[ee]});let ei=Object.assign(Object.assign({},er),eo),ec=480,eu=576,ed=768,ef=992,eh=1200,ep=1600;if(!1===ei.motion){let ee="0s";ei.motionDurationFast=ee,ei.motionDurationMid=ee,ei.motionDurationSlow=ee}let em=Object.assign(Object.assign(Object.assign({},ei),{colorFillContent:ei.colorFillSecondary,colorFillContentHover:ei.colorFill,colorFillAlter:ei.colorFillQuaternary,colorBgContainerDisabled:ei.colorFillTertiary,colorBorderBg:ei.colorBgContainer,colorSplit:eD(ei.colorBorderSecondary,ei.colorBgContainer),colorTextPlaceholder:ei.colorTextQuaternary,colorTextDisabled:ei.colorTextQuaternary,colorTextHeading:ei.colorText,colorTextLabel:ei.colorTextSecondary,colorTextDescription:ei.colorTextTertiary,colorTextLightSolid:ei.colorWhite,colorHighlight:ei.colorError,colorBgTextHover:ei.colorFillSecondary,colorBgTextActive:ei.colorFill,colorIcon:ei.colorTextTertiary,colorIconHover:ei.colorText,colorErrorOutline:eD(ei.colorErrorBg,ei.colorBgContainer),colorWarningOutline:eD(ei.colorWarningBg,ei.colorBgContainer),fontSizeIcon:ei.fontSizeSM,lineWidthFocus:4*ei.lineWidth,lineWidth:ei.lineWidth,controlOutlineWidth:2*ei.lineWidth,controlInteractiveSize:ei.controlHeight/2,controlItemBgHover:ei.colorFillTertiary,controlItemBgActive:ei.colorPrimaryBg,controlItemBgActiveHover:ei.colorPrimaryBgHover,controlItemBgActiveDisabled:ei.colorFill,controlTmpOutline:ei.colorFillQuaternary,controlOutline:eD(ei.colorPrimaryBg,ei.colorBgContainer),lineType:ei.lineType,borderRadius:ei.borderRadius,borderRadiusXS:ei.borderRadiusXS,borderRadiusSM:ei.borderRadiusSM,borderRadiusLG:ei.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:ei.sizeXXS,paddingXS:ei.sizeXS,paddingSM:ei.sizeSM,padding:ei.size,paddingMD:ei.sizeMD,paddingLG:ei.sizeLG,paddingXL:ei.sizeXL,paddingContentHorizontalLG:ei.sizeLG,paddingContentVerticalLG:ei.sizeMS,paddingContentHorizontal:ei.sizeMS,paddingContentVertical:ei.sizeSM,paddingContentHorizontalSM:ei.size,paddingContentVerticalSM:ei.sizeXS,marginXXS:ei.sizeXXS,marginXS:ei.sizeXS,marginSM:ei.sizeSM,margin:ei.size,marginMD:ei.sizeMD,marginLG:ei.sizeLG,marginXL:ei.sizeXL,marginXXL:ei.sizeXXL,boxShadow:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowSecondary:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTertiary:"\n 0 1px 2px 0 rgba(0, 0, 0, 0.03),\n 0 1px 6px -1px rgba(0, 0, 0, 0.02),\n 0 2px 4px 0 rgba(0, 0, 0, 0.02)\n ",screenXS:ec,screenXSMin:ec,screenXSMax:eu-1,screenSM:eu,screenSMMin:eu,screenSMMax:ed-1,screenMD:ed,screenMDMin:ed,screenMDMax:ef-1,screenLG:ef,screenLGMin:ef,screenLGMax:eh-1,screenXL:eh,screenXLMin:eh,screenXLMax:ep-1,screenXXL:ep,screenXXLMin:ep,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:"\n 0 1px 2px -2px ".concat(new ew("rgba(0, 0, 0, 0.16)").toRgbString(),",\n 0 3px 6px 0 ").concat(new ew("rgba(0, 0, 0, 0.12)").toRgbString(),",\n 0 5px 12px 4px ").concat(new ew("rgba(0, 0, 0, 0.09)").toRgbString(),"\n "),boxShadowDrawerRight:"\n -6px 0 16px 0 rgba(0, 0, 0, 0.08),\n -3px 0 6px -4px rgba(0, 0, 0, 0.12),\n -9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerLeft:"\n 6px 0 16px 0 rgba(0, 0, 0, 0.08),\n 3px 0 6px -4px rgba(0, 0, 0, 0.12),\n 9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerUp:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerDown:"\n 0 -6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 -3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 -9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),eo);return em}var ez=function(ee,en){var er={};for(var eo in ee)Object.prototype.hasOwnProperty.call(ee,eo)&&0>en.indexOf(eo)&&(er[eo]=ee[eo]);if(null!=ee&&"function"==typeof Object.getOwnPropertySymbols)for(var ei=0,eo=Object.getOwnPropertySymbols(ee);eien.indexOf(eo[ei])&&Object.prototype.propertyIsEnumerable.call(ee,eo[ei])&&(er[eo[ei]]=ee[eo[ei]]);return er};let eB=(ee,en,er)=>{let eo=er.getDerivativeToken(ee),{override:ei}=en,ec=ez(en,["override"]),eu=Object.assign(Object.assign({},eo),{override:ei});return eu=eH(eu),ec&&Object.entries(ec).forEach(ee=>{let[en,er]=ee,{theme:eo}=er,ei=ez(er,["theme"]),ec=ei;eo&&(ec=eB(Object.assign(Object.assign({},eu),ei),{override:ei},eo)),eu[en]=ec}),eu};function eW(){let{token:ee,hashed:en,theme:er,override:eu}=eo.useContext(eP),ed="".concat(ec,"-").concat(en||""),ef=er||eM,[eh,ep]=(0,ei.fp)(ef,[eg,ee],{salt:ed,override:eu,getComputedToken:eB,formatToken:eH});return[ef,eh,en?ep:""]}},12071:function(ee,en,er){"use strict";er.d(en,{Z:function(){return em},b:function(){return eg}});var eo=er(50959),ei=er(42374);er(64213);var ec=er(79264),eu=er(81998),ed=er(11023),ef=er(87393);let eh=(ee,en)=>{let[er,eo]=(0,ed.Z)();return(0,ei.xy)({theme:er,token:eo,hashId:"",path:["ant-design-icons",ee],nonce:()=>null==en?void 0:en.nonce},()=>[{[".".concat(ee)]:Object.assign(Object.assign({},(0,eu.Ro)()),{[".".concat(ee," .").concat(ee,"-icon")]:{display:"block"}})}])};var ep=eh;function em(ee,en,er){let eh=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},em=Array.isArray(ee)?ee:[ee,ee],[eg]=em,ex=em.join("-");return ee=>{let[em,ev,ey]=(0,ed.Z)(),{getPrefixCls:eb,iconPrefixCls:ew,csp:ek}=(0,eo.useContext)(ec.E_),e_=eb(),ej={theme:em,token:ev,hashId:ey,nonce:()=>null==ek?void 0:ek.nonce,clientOnly:eh.clientOnly,order:eh.order||-999};return(0,ei.xy)(Object.assign(Object.assign({},ej),{clientOnly:!1,path:["Shared",e_]}),()=>[{"&":(0,eu.Lx)(ev)}]),ep(ew,ek),[(0,ei.xy)(Object.assign(Object.assign({},ej),{path:[ex,ee,ew]}),()=>{let{token:eo,flush:ei}=(0,ef.ZP)(ev),ec=Object.assign({},ev[eg]);if(eh.deprecatedTokens){let{deprecatedTokens:ee}=eh;ee.forEach(ee=>{var en;let[er,eo]=ee;((null==ec?void 0:ec[er])||(null==ec?void 0:ec[eo]))&&(null!==(en=ec[eo])&&void 0!==en||(ec[eo]=null==ec?void 0:ec[er]))})}let ed="function"==typeof er?er((0,ef.TS)(eo,null!=ec?ec:{})):er,ep=Object.assign(Object.assign({},ed),ec),em=".".concat(ee),ex=(0,ef.TS)(eo,{componentCls:em,prefixCls:ee,iconCls:".".concat(ew),antCls:".".concat(e_)},ep),eb=en(ex,{hashId:ey,prefixCls:ee,rootPrefixCls:e_,iconPrefixCls:ew,overrideComponentToken:ec});return ei(eg,ep),[!1===eh.resetStyle?null:(0,eu.du)(ex,ee),eb]}),ey]}}let eg=(ee,en,er,eo)=>{let ei=em(ee,en,er,Object.assign({resetStyle:!1,order:-998},eo)),ec=ee=>{let{prefixCls:en}=ee;return ei(en),null};return ec}},87393:function(ee,en,er){"use strict";er.d(en,{TS:function(){return ec},ZP:function(){return ef}});let eo="undefined"!=typeof CSSINJS_STATISTIC,ei=!0;function ec(){for(var ee=arguments.length,en=Array(ee),er=0;er{let en=Object.keys(ee);en.forEach(en=>{Object.defineProperty(ec,en,{configurable:!0,enumerable:!0,get:()=>ee[en]})})}),ei=!0,ec}let eu={};function ed(){}function ef(ee){let en;let er=ee,ec=ed;return eo&&"undefined"!=typeof Proxy&&(en=new Set,er=new Proxy(ee,{get:(ee,er)=>(ei&&en.add(er),ee[er])}),ec=(ee,er)=>{var eo;eu[ee]={global:Array.from(en),component:Object.assign(Object.assign({},null===(eo=eu[ee])||void 0===eo?void 0:eo.component),er)}}),{token:er,keys:en,flush:ec}}},40851:function(ee,en){"use strict";var er;Object.defineProperty(en,"__esModule",{value:!0}),function(ee,en){for(var er in en)Object.defineProperty(ee,er,{enumerable:!0,get:en[er]})}(en,{PrefetchKind:function(){return er},ACTION_REFRESH:function(){return eo},ACTION_NAVIGATE:function(){return ei},ACTION_RESTORE:function(){return ec},ACTION_SERVER_PATCH:function(){return eu},ACTION_PREFETCH:function(){return ed},ACTION_FAST_REFRESH:function(){return ef},ACTION_SERVER_ACTION:function(){return eh},isThenable:function(){return ep}});let eo="refresh",ei="navigate",ec="restore",eu="server-patch",ed="prefetch",ef="fast-refresh",eh="server-action";function ep(ee){return ee&&("object"==typeof ee||"function"==typeof ee)&&"function"==typeof ee.then}!function(ee){ee.AUTO="auto",ee.FULL="full",ee.TEMPORARY="temporary"}(er||(er={})),("function"==typeof en.default||"object"==typeof en.default&&null!==en.default)&&void 0===en.default.__esModule&&(Object.defineProperty(en.default,"__esModule",{value:!0}),Object.assign(en.default,en),ee.exports=en.default)},55718:function(ee,en,er){"use strict";function eo(ee,en,er,eo){return!1}Object.defineProperty(en,"__esModule",{value:!0}),Object.defineProperty(en,"getDomainLocale",{enumerable:!0,get:function(){return eo}}),er(16070),("function"==typeof en.default||"object"==typeof en.default&&null!==en.default)&&void 0===en.default.__esModule&&(Object.defineProperty(en.default,"__esModule",{value:!0}),Object.assign(en.default,en),ee.exports=en.default)},92120:function(ee,en,er){"use strict";Object.defineProperty(en,"__esModule",{value:!0}),Object.defineProperty(en,"Image",{enumerable:!0,get:function(){return Image}});let eo=er(81351),ei=er(35815),ec=ei._(er(50959)),eu=eo._(er(10422)),ed=eo._(er(92424)),ef=er(54379),eh=er(20294),ep=er(75968);er(13003);let em=er(17873),eg=eo._(er(32400)),ex={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!0,unoptimized:!0};function ev(ee,en,er,eo,ei,ec){let eu=null==ee?void 0:ee.src;if(!ee||ee["data-loaded-src"]===eu)return;ee["data-loaded-src"]=eu;let ed="decode"in ee?ee.decode():Promise.resolve();ed.catch(()=>{}).then(()=>{if(ee.parentElement&&ee.isConnected){if("empty"!==en&&ei(!0),null==er?void 0:er.current){let en=new Event("load");Object.defineProperty(en,"target",{writable:!1,value:ee});let eo=!1,ei=!1;er.current({...en,nativeEvent:en,currentTarget:ee,target:ee,isDefaultPrevented:()=>eo,isPropagationStopped:()=>ei,persist:()=>{},preventDefault:()=>{eo=!0,en.preventDefault()},stopPropagation:()=>{ei=!0,en.stopPropagation()}})}(null==eo?void 0:eo.current)&&eo.current(ee)}})}function ey(ee){let[en,er]=ec.version.split(".",2),eo=parseInt(en,10),ei=parseInt(er,10);return eo>18||18===eo&&ei>=3?{fetchPriority:ee}:{fetchpriority:ee}}let eb=(0,ec.forwardRef)((ee,en)=>{let{src:er,srcSet:eo,sizes:ei,height:eu,width:ed,decoding:ef,className:eh,style:ep,fetchPriority:em,placeholder:eg,loading:ex,unoptimized:eb,fill:ew,onLoadRef:ek,onLoadingCompleteRef:e_,setBlurComplete:ej,setShowAltText:eE,onLoad:eO,onError:eC,...eS}=ee;return ec.default.createElement("img",{...eS,...ey(em),loading:ex,width:ed,height:eu,decoding:ef,"data-nimg":ew?"fill":"1",className:eh,style:ep,sizes:ei,srcSet:eo,src:er,ref:(0,ec.useCallback)(ee=>{en&&("function"==typeof en?en(ee):"object"==typeof en&&(en.current=ee)),ee&&(eC&&(ee.src=ee.src),ee.complete&&ev(ee,eg,ek,e_,ej,eb))},[er,eg,ek,e_,ej,eC,eb,en]),onLoad:ee=>{let en=ee.currentTarget;ev(en,eg,ek,e_,ej,eb)},onError:ee=>{eE(!0),"empty"!==eg&&ej(!0),eC&&eC(ee)}})});function ew(ee){let{isAppRouter:en,imgAttributes:er}=ee,eo={as:"image",imageSrcSet:er.srcSet,imageSizes:er.sizes,crossOrigin:er.crossOrigin,referrerPolicy:er.referrerPolicy,...ey(er.fetchPriority)};return en&&eu.default.preload?(eu.default.preload(er.src,eo),null):ec.default.createElement(ed.default,null,ec.default.createElement("link",{key:"__nimg-"+er.src+er.srcSet+er.sizes,rel:"preload",href:er.srcSet?void 0:er.src,...eo}))}let Image=(0,ec.forwardRef)((ee,en)=>{let er=(0,ec.useContext)(em.RouterContext),eo=!er,ei=(0,ec.useContext)(ep.ImageConfigContext),eu=(0,ec.useMemo)(()=>{let ee=ex||ei||eh.imageConfigDefault,en=[...ee.deviceSizes,...ee.imageSizes].sort((ee,en)=>ee-en),er=ee.deviceSizes.sort((ee,en)=>ee-en);return{...ee,allSizes:en,deviceSizes:er}},[ei]),{onLoad:ed,onLoadingComplete:ev}=ee,ey=(0,ec.useRef)(ed);(0,ec.useEffect)(()=>{ey.current=ed},[ed]);let ek=(0,ec.useRef)(ev);(0,ec.useEffect)(()=>{ek.current=ev},[ev]);let[e_,ej]=(0,ec.useState)(!1),[eE,eO]=(0,ec.useState)(!1),{props:eC,meta:eS}=(0,ef.getImgProps)(ee,{defaultLoader:eg.default,imgConf:eu,blurComplete:e_,showAltText:eE});return ec.default.createElement(ec.default.Fragment,null,ec.default.createElement(eb,{...eC,unoptimized:eS.unoptimized,placeholder:eS.placeholder,fill:eS.fill,onLoadRef:ey,onLoadingCompleteRef:ek,setBlurComplete:ej,setShowAltText:eO,ref:en}),eS.priority?ec.default.createElement(ew,{isAppRouter:eo,imgAttributes:eC}):null)});("function"==typeof en.default||"object"==typeof en.default&&null!==en.default)&&void 0===en.default.__esModule&&(Object.defineProperty(en.default,"__esModule",{value:!0}),Object.assign(en.default,en),ee.exports=en.default)},90795:function(ee,en,er){"use strict";Object.defineProperty(en,"__esModule",{value:!0}),Object.defineProperty(en,"default",{enumerable:!0,get:function(){return eO}});let eo=er(81351),ei=eo._(er(50959)),ec=er(76870),eu=er(18246),ed=er(57509),ef=er(24298),eh=er(88212),ep=er(17873),em=er(19603),eg=er(36659),ex=er(55718),ev=er(1751),ey=er(40851),eb=new Set;function ew(ee,en,er,eo,ei,ec){if(!ec&&!(0,eu.isLocalURL)(en))return;if(!eo.bypassPrefetchedCheck){let ei=void 0!==eo.locale?eo.locale:"locale"in ee?ee.locale:void 0,ec=en+"%"+er+"%"+ei;if(eb.has(ec))return;eb.add(ec)}let ed=ec?ee.prefetch(en,ei):ee.prefetch(en,er,eo);Promise.resolve(ed).catch(ee=>{})}function ek(ee){let en=ee.currentTarget,er=en.getAttribute("target");return er&&"_self"!==er||ee.metaKey||ee.ctrlKey||ee.shiftKey||ee.altKey||ee.nativeEvent&&2===ee.nativeEvent.which}function e_(ee,en,er,eo,ec,ed,ef,eh,ep){let{nodeName:em}=ee.currentTarget,eg="A"===em.toUpperCase();if(eg&&(ek(ee)||!ep&&!(0,eu.isLocalURL)(er)))return;ee.preventDefault();let ex=()=>{let ee=null==ef||ef;"beforePopState"in en?en[ec?"replace":"push"](er,eo,{shallow:ed,locale:eh,scroll:ee}):en[ec?"replace":"push"](eo||er,{scroll:ee})};ep?ei.default.startTransition(ex):ex()}function ej(ee){return"string"==typeof ee?ee:(0,ed.formatUrl)(ee)}let eE=ei.default.forwardRef(function(ee,en){let er,eo;let{href:eu,as:ed,children:eb,prefetch:ek=null,passHref:eE,replace:eO,shallow:eC,scroll:eS,locale:eT,onClick:eN,onMouseEnter:eA,onTouchStart:eI,legacyBehavior:eR=!1,...eM}=ee;er=eb,eR&&("string"==typeof er||"number"==typeof er)&&(er=ei.default.createElement("a",null,er));let eL=ei.default.useContext(ep.RouterContext),eP=ei.default.useContext(em.AppRouterContext),eZ=null!=eL?eL:eP,eD=!eL,eF=!1!==ek,eH=null===ek?ey.PrefetchKind.AUTO:ey.PrefetchKind.FULL,{href:ez,as:eB}=ei.default.useMemo(()=>{if(!eL){let ee=ej(eu);return{href:ee,as:ed?ej(ed):ee}}let[ee,en]=(0,ec.resolveHref)(eL,eu,!0);return{href:ee,as:ed?(0,ec.resolveHref)(eL,ed):en||ee}},[eL,eu,ed]),eW=ei.default.useRef(ez),eG=ei.default.useRef(eB);eR&&(eo=ei.default.Children.only(er));let e$=eR?eo&&"object"==typeof eo&&eo.ref:en,[eU,eV,eq]=(0,eg.useIntersection)({rootMargin:"200px"}),eX=ei.default.useCallback(ee=>{(eG.current!==eB||eW.current!==ez)&&(eq(),eG.current=eB,eW.current=ez),eU(ee),e$&&("function"==typeof e$?e$(ee):"object"==typeof e$&&(e$.current=ee))},[eB,e$,ez,eq,eU]);ei.default.useEffect(()=>{eZ&&eV&&eF&&ew(eZ,ez,eB,{locale:eT},{kind:eH},eD)},[eB,ez,eV,eT,eF,null==eL?void 0:eL.locale,eZ,eD,eH]);let eK={ref:eX,onClick(ee){eR||"function"!=typeof eN||eN(ee),eR&&eo.props&&"function"==typeof eo.props.onClick&&eo.props.onClick(ee),eZ&&!ee.defaultPrevented&&e_(ee,eZ,ez,eB,eO,eC,eS,eT,eD)},onMouseEnter(ee){eR||"function"!=typeof eA||eA(ee),eR&&eo.props&&"function"==typeof eo.props.onMouseEnter&&eo.props.onMouseEnter(ee),eZ&&(eF||!eD)&&ew(eZ,ez,eB,{locale:eT,priority:!0,bypassPrefetchedCheck:!0},{kind:eH},eD)},onTouchStart(ee){eR||"function"!=typeof eI||eI(ee),eR&&eo.props&&"function"==typeof eo.props.onTouchStart&&eo.props.onTouchStart(ee),eZ&&(eF||!eD)&&ew(eZ,ez,eB,{locale:eT,priority:!0,bypassPrefetchedCheck:!0},{kind:eH},eD)}};if((0,ef.isAbsoluteUrl)(eB))eK.href=eB;else if(!eR||eE||"a"===eo.type&&!("href"in eo.props)){let ee=void 0!==eT?eT:null==eL?void 0:eL.locale,en=(null==eL?void 0:eL.isLocaleDomain)&&(0,ex.getDomainLocale)(eB,ee,null==eL?void 0:eL.locales,null==eL?void 0:eL.domainLocales);eK.href=en||(0,ev.addBasePath)((0,eh.addLocale)(eB,ee,null==eL?void 0:eL.defaultLocale))}return eR?ei.default.cloneElement(eo,eK):ei.default.createElement("a",{...eM,...eK},er)}),eO=eE;("function"==typeof en.default||"object"==typeof en.default&&null!==en.default)&&void 0===en.default.__esModule&&(Object.defineProperty(en.default,"__esModule",{value:!0}),Object.assign(en.default,en),ee.exports=en.default)},36659:function(ee,en,er){"use strict";Object.defineProperty(en,"__esModule",{value:!0}),Object.defineProperty(en,"useIntersection",{enumerable:!0,get:function(){return ep}});let eo=er(50959),ei=er(48816),ec="function"==typeof IntersectionObserver,eu=new Map,ed=[];function ef(ee){let en;let er={root:ee.root||null,margin:ee.rootMargin||""},eo=ed.find(ee=>ee.root===er.root&&ee.margin===er.margin);if(eo&&(en=eu.get(eo)))return en;let ei=new Map,ec=new IntersectionObserver(ee=>{ee.forEach(ee=>{let en=ei.get(ee.target),er=ee.isIntersecting||ee.intersectionRatio>0;en&&er&&en(er)})},ee);return en={id:er,observer:ec,elements:ei},ed.push(er),eu.set(er,en),en}function eh(ee,en,er){let{id:eo,observer:ei,elements:ec}=ef(er);return ec.set(ee,en),ei.observe(ee),function(){if(ec.delete(ee),ei.unobserve(ee),0===ec.size){ei.disconnect(),eu.delete(eo);let ee=ed.findIndex(ee=>ee.root===eo.root&&ee.margin===eo.margin);ee>-1&&ed.splice(ee,1)}}}function ep(ee){let{rootRef:en,rootMargin:er,disabled:eu}=ee,ed=eu||!ec,[ef,ep]=(0,eo.useState)(!1),em=(0,eo.useRef)(null),eg=(0,eo.useCallback)(ee=>{em.current=ee},[]);(0,eo.useEffect)(()=>{if(ec){if(ed||ef)return;let ee=em.current;if(ee&&ee.tagName){let eo=eh(ee,ee=>ee&&ep(ee),{root:null==en?void 0:en.current,rootMargin:er});return eo}}else if(!ef){let ee=(0,ei.requestIdleCallback)(()=>ep(!0));return()=>(0,ei.cancelIdleCallback)(ee)}},[ed,er,en,ef,em.current]);let ex=(0,eo.useCallback)(()=>{ep(!1)},[]);return[eg,ef,ex]}("function"==typeof en.default||"object"==typeof en.default&&null!==en.default)&&void 0===en.default.__esModule&&(Object.defineProperty(en.default,"__esModule",{value:!0}),Object.assign(en.default,en),ee.exports=en.default)},54379:function(ee,en,er){"use strict";Object.defineProperty(en,"__esModule",{value:!0}),Object.defineProperty(en,"getImgProps",{enumerable:!0,get:function(){return em}}),er(13003);let eo=er(67451),ei=er(20294);function ec(ee){return void 0!==ee.default}function eu(ee){return void 0!==ee.src}function ed(ee){return"object"==typeof ee&&(ec(ee)||eu(ee))}function ef(ee){return void 0===ee?ee:"number"==typeof ee?Number.isFinite(ee)?ee:NaN:"string"==typeof ee&&/^[0-9]+$/.test(ee)?parseInt(ee,10):NaN}function eh(ee,en,er){let{deviceSizes:eo,allSizes:ei}=ee;if(er){let ee=/(^|\s)(1?\d?\d)vw/g,en=[];for(let eo;eo=ee.exec(er);eo)en.push(parseInt(eo[2]));if(en.length){let ee=.01*Math.min(...en);return{widths:ei.filter(en=>en>=eo[0]*ee),kind:"w"}}return{widths:ei,kind:"w"}}if("number"!=typeof en)return{widths:eo,kind:"w"};let ec=[...new Set([en,2*en].map(ee=>ei.find(en=>en>=ee)||ei[ei.length-1]))];return{widths:ec,kind:"x"}}function ep(ee){let{config:en,src:er,unoptimized:eo,width:ei,quality:ec,sizes:eu,loader:ed}=ee;if(eo)return{src:er,srcSet:void 0,sizes:void 0};let{widths:ef,kind:ep}=eh(en,ei,eu),em=ef.length-1;return{sizes:eu||"w"!==ep?eu:"100vw",srcSet:ef.map((ee,eo)=>ed({config:en,src:er,quality:ec,width:ee})+" "+("w"===ep?ee:eo+1)+ep).join(", "),src:ed({config:en,src:er,quality:ec,width:ef[em]})}}function em(ee,en){let er,eu,eh,{src:em,sizes:eg,unoptimized:ex=!1,priority:ev=!1,loading:ey,className:eb,quality:ew,width:ek,height:e_,fill:ej=!1,style:eE,onLoad:eO,onLoadingComplete:eC,placeholder:eS="empty",blurDataURL:eT,fetchPriority:eN,layout:eA,objectFit:eI,objectPosition:eR,lazyBoundary:eM,lazyRoot:eL,...eP}=ee,{imgConf:eZ,showAltText:eD,blurComplete:eF,defaultLoader:eH}=en,ez=eZ||ei.imageConfigDefault;if("allSizes"in ez)er=ez;else{let ee=[...ez.deviceSizes,...ez.imageSizes].sort((ee,en)=>ee-en),en=ez.deviceSizes.sort((ee,en)=>ee-en);er={...ez,allSizes:ee,deviceSizes:en}}let eB=eP.loader||eH;delete eP.loader,delete eP.srcSet;let eW="__next_img_default"in eB;if(eW){if("custom"===er.loader)throw Error('Image with src "'+em+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let ee=eB;eB=en=>{let{config:er,...eo}=en;return ee(eo)}}if(eA){"fill"===eA&&(ej=!0);let ee={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}},en={responsive:"100vw",fill:"100vw"},er=ee[eA];er&&(eE={...eE,...er});let eo=en[eA];eo&&!eg&&(eg=eo)}let eG="",e$=ef(ek),eU=ef(e_);if(ed(em)){let ee=ec(em)?em.default:em;if(!ee.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(ee));if(!ee.height||!ee.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(ee));if(eu=ee.blurWidth,eh=ee.blurHeight,eT=eT||ee.blurDataURL,eG=ee.src,!ej){if(e$||eU){if(e$&&!eU){let en=e$/ee.width;eU=Math.round(ee.height*en)}else if(!e$&&eU){let en=eU/ee.height;e$=Math.round(ee.width*en)}}else e$=ee.width,eU=ee.height}}let eV=!ev&&("lazy"===ey||void 0===ey);(!(em="string"==typeof em?em:eG)||em.startsWith("data:")||em.startsWith("blob:"))&&(ex=!0,eV=!1),er.unoptimized&&(ex=!0),eW&&em.endsWith(".svg")&&!er.dangerouslyAllowSVG&&(ex=!0),ev&&(eN="high");let eq=ef(ew),eX=Object.assign(ej?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:eI,objectPosition:eR}:{},eD?{}:{color:"transparent"},eE),eK=eF||"empty"===eS?null:"blur"===eS?'url("data:image/svg+xml;charset=utf-8,'+(0,eo.getImageBlurSvg)({widthInt:e$,heightInt:eU,blurWidth:eu,blurHeight:eh,blurDataURL:eT||"",objectFit:eX.objectFit})+'")':'url("'+eS+'")',eQ=eK?{backgroundSize:eX.objectFit||"cover",backgroundPosition:eX.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:eK}:{},eY=ep({config:er,src:em,unoptimized:ex,width:e$,quality:eq,sizes:eg,loader:eB}),eJ={...eP,loading:eV?"lazy":ey,fetchPriority:eN,width:e$,height:eU,decoding:"async",className:eb,style:{...eX,...eQ},sizes:eY.sizes,srcSet:eY.srcSet,src:eY.src},e0={unoptimized:ex,priority:ev,placeholder:eS,fill:ej};return{props:eJ,meta:e0}}},67451:function(ee,en){"use strict";function er(ee){let{widthInt:en,heightInt:er,blurWidth:eo,blurHeight:ei,blurDataURL:ec,objectFit:eu}=ee,ed=20,ef=eo?40*eo:en,eh=ei?40*ei:er,ep=ef&&eh?"viewBox='0 0 "+ef+" "+eh+"'":"",em=ep?"none":"contain"===eu?"xMidYMid":"cover"===eu?"xMidYMid slice":"none";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+ep+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='"+ed+"'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='"+ed+"'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+em+"' style='filter: url(%23b);' href='"+ec+"'/%3E%3C/svg%3E"}Object.defineProperty(en,"__esModule",{value:!0}),Object.defineProperty(en,"getImageBlurSvg",{enumerable:!0,get:function(){return er}})},94199:function(ee,en,er){"use strict";Object.defineProperty(en,"__esModule",{value:!0}),function(ee,en){for(var er in en)Object.defineProperty(ee,er,{enumerable:!0,get:en[er]})}(en,{unstable_getImgProps:function(){return ef},default:function(){return eh}});let eo=er(81351),ei=er(54379),ec=er(13003),eu=er(92120),ed=eo._(er(32400)),ef=ee=>{(0,ec.warnOnce)("Warning: unstable_getImgProps() is experimental and may change or be removed at any time. Use at your own risk.");let{props:en}=(0,ei.getImgProps)(ee,{defaultLoader:ed.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!0,unoptimized:!0}});for(let[ee,er]of Object.entries(en))void 0===er&&delete en[ee];return{props:en}},eh=eu.Image},32400:function(ee,en){"use strict";function er(ee){let{config:en,src:er,width:eo,quality:ei}=ee;return en.path+"?url="+encodeURIComponent(er)+"&w="+eo+"&q="+(ei||75)}Object.defineProperty(en,"__esModule",{value:!0}),Object.defineProperty(en,"default",{enumerable:!0,get:function(){return eo}}),er.__next_img_default=!0;let eo=er},9350:function(){},59589:function(){},70703:function(){},81873:function(ee){var en="/";!function(){"use strict";var er={114:function(ee){function en(ee){if("string"!=typeof ee)throw TypeError("Path must be a string. Received "+JSON.stringify(ee))}function er(ee,en){for(var er,eo="",ei=0,ec=-1,eu=0,ed=0;ed<=ee.length;++ed){if(ed2){var ef=eo.lastIndexOf("/");if(ef!==eo.length-1){-1===ef?(eo="",ei=0):ei=(eo=eo.slice(0,ef)).length-1-eo.lastIndexOf("/"),ec=ed,eu=0;continue}}else if(2===eo.length||1===eo.length){eo="",ei=0,ec=ed,eu=0;continue}}en&&(eo.length>0?eo+="/..":eo="..",ei=2)}else eo.length>0?eo+="/"+ee.slice(ec+1,ed):eo=ee.slice(ec+1,ed),ei=ed-ec-1;ec=ed,eu=0}else 46===er&&-1!==eu?++eu:eu=-1}return eo}function eo(ee,en){var er=en.dir||en.root,eo=en.base||(en.name||"")+(en.ext||"");return er?er===en.root?er+eo:er+ee+eo:eo}var ei={resolve:function(){for(var ee,eo,ei="",ec=!1,eu=arguments.length-1;eu>=-1&&!ec;eu--)eu>=0?eo=arguments[eu]:(void 0===ee&&(ee=""),eo=ee),en(eo),0!==eo.length&&(ei=eo+"/"+ei,ec=47===eo.charCodeAt(0));return(ei=er(ei,!ec),ec)?ei.length>0?"/"+ei:"/":ei.length>0?ei:"."},normalize:function(ee){if(en(ee),0===ee.length)return".";var eo=47===ee.charCodeAt(0),ei=47===ee.charCodeAt(ee.length-1);return(0!==(ee=er(ee,!eo)).length||eo||(ee="."),ee.length>0&&ei&&(ee+="/"),eo)?"/"+ee:ee},isAbsolute:function(ee){return en(ee),ee.length>0&&47===ee.charCodeAt(0)},join:function(){if(0==arguments.length)return".";for(var ee,er=0;er0&&(void 0===ee?ee=eo:ee+="/"+eo)}return void 0===ee?".":ei.normalize(ee)},relative:function(ee,er){if(en(ee),en(er),ee===er||(ee=ei.resolve(ee))===(er=ei.resolve(er)))return"";for(var eo=1;eoeh){if(47===er.charCodeAt(ed+em))return er.slice(ed+em+1);if(0===em)return er.slice(ed+em)}else eu>eh&&(47===ee.charCodeAt(eo+em)?ep=em:0===em&&(ep=0));break}var eg=ee.charCodeAt(eo+em);if(eg!==er.charCodeAt(ed+em))break;47===eg&&(ep=em)}var ex="";for(em=eo+ep+1;em<=ec;++em)(em===ec||47===ee.charCodeAt(em))&&(0===ex.length?ex+="..":ex+="/..");return ex.length>0?ex+er.slice(ed+ep):(ed+=ep,47===er.charCodeAt(ed)&&++ed,er.slice(ed))},_makeLong:function(ee){return ee},dirname:function(ee){if(en(ee),0===ee.length)return".";for(var er=ee.charCodeAt(0),eo=47===er,ei=-1,ec=!0,eu=ee.length-1;eu>=1;--eu)if(47===(er=ee.charCodeAt(eu))){if(!ec){ei=eu;break}}else ec=!1;return -1===ei?eo?"/":".":eo&&1===ei?"//":ee.slice(0,ei)},basename:function(ee,er){if(void 0!==er&&"string"!=typeof er)throw TypeError('"ext" argument must be a string');en(ee);var eo,ei=0,ec=-1,eu=!0;if(void 0!==er&&er.length>0&&er.length<=ee.length){if(er.length===ee.length&&er===ee)return"";var ed=er.length-1,ef=-1;for(eo=ee.length-1;eo>=0;--eo){var eh=ee.charCodeAt(eo);if(47===eh){if(!eu){ei=eo+1;break}}else -1===ef&&(eu=!1,ef=eo+1),ed>=0&&(eh===er.charCodeAt(ed)?-1==--ed&&(ec=eo):(ed=-1,ec=ef))}return ei===ec?ec=ef:-1===ec&&(ec=ee.length),ee.slice(ei,ec)}for(eo=ee.length-1;eo>=0;--eo)if(47===ee.charCodeAt(eo)){if(!eu){ei=eo+1;break}}else -1===ec&&(eu=!1,ec=eo+1);return -1===ec?"":ee.slice(ei,ec)},extname:function(ee){en(ee);for(var er=-1,eo=0,ei=-1,ec=!0,eu=0,ed=ee.length-1;ed>=0;--ed){var ef=ee.charCodeAt(ed);if(47===ef){if(!ec){eo=ed+1;break}continue}-1===ei&&(ec=!1,ei=ed+1),46===ef?-1===er?er=ed:1!==eu&&(eu=1):-1!==er&&(eu=-1)}return -1===er||-1===ei||0===eu||1===eu&&er===ei-1&&er===eo+1?"":ee.slice(er,ei)},format:function(ee){if(null===ee||"object"!=typeof ee)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof ee);return eo("/",ee)},parse:function(ee){en(ee);var er,eo={root:"",dir:"",base:"",ext:"",name:""};if(0===ee.length)return eo;var ei=ee.charCodeAt(0),ec=47===ei;ec?(eo.root="/",er=1):er=0;for(var eu=-1,ed=0,ef=-1,eh=!0,ep=ee.length-1,em=0;ep>=er;--ep){if(47===(ei=ee.charCodeAt(ep))){if(!eh){ed=ep+1;break}continue}-1===ef&&(eh=!1,ef=ep+1),46===ei?-1===eu?eu=ep:1!==em&&(em=1):-1!==eu&&(em=-1)}return -1===eu||-1===ef||0===em||1===em&&eu===ef-1&&eu===ed+1?-1!==ef&&(0===ed&&ec?eo.base=eo.name=ee.slice(1,ef):eo.base=eo.name=ee.slice(ed,ef)):(0===ed&&ec?(eo.name=ee.slice(1,eu),eo.base=ee.slice(1,ef)):(eo.name=ee.slice(ed,eu),eo.base=ee.slice(ed,ef)),eo.ext=ee.slice(eu,ef)),ed>0?eo.dir=ee.slice(0,ed-1):ec&&(eo.dir="/"),eo},sep:"/",delimiter:":",win32:null,posix:null};ei.posix=ei,ee.exports=ei}},eo={};function ei(ee){var en=eo[ee];if(void 0!==en)return en.exports;var ec=eo[ee]={exports:{}},eu=!0;try{er[ee](ec,ec.exports,ei),eu=!1}finally{eu&&delete eo[ee]}return ec.exports}ei.ab=en+"/";var ec=ei(114);ee.exports=ec}()},81621:function(ee){var en="/";!function(){var er={229:function(ee){var en,er,eo,ei=ee.exports={};function ec(){throw Error("setTimeout has not been defined")}function eu(){throw Error("clearTimeout has not been defined")}function ed(ee){if(en===setTimeout)return setTimeout(ee,0);if((en===ec||!en)&&setTimeout)return en=setTimeout,setTimeout(ee,0);try{return en(ee,0)}catch(er){try{return en.call(null,ee,0)}catch(er){return en.call(this,ee,0)}}}function ef(ee){if(er===clearTimeout)return clearTimeout(ee);if((er===eu||!er)&&clearTimeout)return er=clearTimeout,clearTimeout(ee);try{return er(ee)}catch(en){try{return er.call(null,ee)}catch(en){return er.call(this,ee)}}}!function(){try{en="function"==typeof setTimeout?setTimeout:ec}catch(ee){en=ec}try{er="function"==typeof clearTimeout?clearTimeout:eu}catch(ee){er=eu}}();var eh=[],ep=!1,em=-1;function eg(){ep&&eo&&(ep=!1,eo.length?eh=eo.concat(eh):em=-1,eh.length&&ex())}function ex(){if(!ep){var ee=ed(eg);ep=!0;for(var en=eh.length;en;){for(eo=eh,eh=[];++em1)for(var er=1;er"function"==typeof ee?ee(en):{...en,...ee},[en,ee])}let eu={};function ed({components:ee,children:en,disableParentContext:er}){let ed;return ed=er?"function"==typeof ee?ee({}):ee||eu:ec(ee),eo.createElement(ei.Provider,{value:ed},en)}var ef=er(49045),eh=er.n(ef),ep={img:ee=>(0,eo.createElement)("object"==typeof ee.src?eh():"img",ee)},em=ee=>ec({...ep,...ee})},85182:function(ee,en,er){"use strict";var eo=er(6097);function ei(ee){var en={protocols:[],protocol:null,port:null,resource:"",host:"",user:"",password:"",pathname:"",hash:"",search:"",href:ee,query:{},parse_failed:!1};try{var er=new URL(ee);en.protocols=eo(er),en.protocol=en.protocols[0],en.port=er.port,en.resource=er.hostname,en.host=er.host,en.user=er.username||"",en.password=er.password||"",en.pathname=er.pathname,en.hash=er.hash.slice(1),en.search=er.search.slice(1),en.href=er.href,en.query=Object.fromEntries(er.searchParams)}catch(er){en.protocols=["file"],en.protocol=en.protocols[0],en.port="",en.resource="",en.user="",en.pathname="",en.hash="",en.search="",en.href=ee,en.query={},en.parse_failed=!0}return en}ee.exports=ei},78593:function(ee,en,er){"use strict";var eo=function(ee){return ee&&"object"==typeof ee&&"default"in ee?ee:{default:ee}}(er(85182));let ei="text/plain",ec="us-ascii",eu=(ee,en)=>en.some(en=>en instanceof RegExp?en.test(ee):en===ee),ed=(ee,{stripHash:en})=>{let er=/^data:(?[^,]*?),(?[^#]*?)(?:#(?.*))?$/.exec(ee);if(!er)throw Error(`Invalid URL: ${ee}`);let{type:eo,data:eu,hash:ed}=er.groups,ef=eo.split(";");ed=en?"":ed;let eh=!1;"base64"===ef[ef.length-1]&&(ef.pop(),eh=!0);let ep=(ef.shift()||"").toLowerCase(),em=ef.map(ee=>{let[en,er=""]=ee.split("=").map(ee=>ee.trim());return"charset"===en&&(er=er.toLowerCase())===ec?"":`${en}${er?`=${er}`:""}`}).filter(Boolean),eg=[...em];return eh&&eg.push("base64"),(eg.length>0||ep&&ep!==ei)&&eg.unshift(ep),`data:${eg.join(";")},${eh?eu.trim():eu}${ed?`#${ed}`:""}`};function ef(ee,en){if(en={defaultProtocol:"http:",normalizeProtocol:!0,forceHttp:!1,forceHttps:!1,stripAuthentication:!0,stripHash:!1,stripTextFragment:!0,stripWWW:!0,removeQueryParameters:[/^utm_\w+/i],removeTrailingSlash:!0,removeSingleSlash:!0,removeDirectoryIndex:!1,sortQueryParameters:!0,...en},ee=ee.trim(),/^data:/i.test(ee))return ed(ee,en);if(/^view-source:/i.test(ee))throw Error("`view-source:` is not supported as it is a non-standard protocol");let er=ee.startsWith("//"),eo=!er&&/^\.*\//.test(ee);eo||(ee=ee.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,en.defaultProtocol));let ei=new URL(ee);if(en.forceHttp&&en.forceHttps)throw Error("The `forceHttp` and `forceHttps` options cannot be used together");if(en.forceHttp&&"https:"===ei.protocol&&(ei.protocol="http:"),en.forceHttps&&"http:"===ei.protocol&&(ei.protocol="https:"),en.stripAuthentication&&(ei.username="",ei.password=""),en.stripHash?ei.hash="":en.stripTextFragment&&(ei.hash=ei.hash.replace(/#?:~:text.*?$/i,"")),ei.pathname){let ee=/\b[a-z][a-z\d+\-.]{1,50}:\/\//g,en=0,er="";for(;;){let eo=ee.exec(ei.pathname);if(!eo)break;let ec=eo[0],eu=eo.index,ed=ei.pathname.slice(en,eu);er+=ed.replace(/\/{2,}/g,"/")+ec,en=eu+ec.length}let eo=ei.pathname.slice(en,ei.pathname.length);er+=eo.replace(/\/{2,}/g,"/"),ei.pathname=er}if(ei.pathname)try{ei.pathname=decodeURI(ei.pathname)}catch{}if(!0===en.removeDirectoryIndex&&(en.removeDirectoryIndex=[/^index\.[a-z]+$/]),Array.isArray(en.removeDirectoryIndex)&&en.removeDirectoryIndex.length>0){let ee=ei.pathname.split("/"),er=ee[ee.length-1];eu(er,en.removeDirectoryIndex)&&(ee=ee.slice(0,-1),ei.pathname=ee.slice(1).join("/")+"/")}if(ei.hostname&&(ei.hostname=ei.hostname.replace(/\.$/,""),en.stripWWW&&/^www\.(?!www\.)[a-z\-\d]{1,63}\.[a-z.\-\d]{2,63}$/.test(ei.hostname)&&(ei.hostname=ei.hostname.replace(/^www\./,""))),Array.isArray(en.removeQueryParameters))for(let ee of[...ei.searchParams.keys()])eu(ee,en.removeQueryParameters)&&ei.searchParams.delete(ee);if(!0===en.removeQueryParameters&&(ei.search=""),en.sortQueryParameters){ei.searchParams.sort();try{ei.search=decodeURIComponent(ei.search)}catch{}}en.removeTrailingSlash&&(ei.pathname=ei.pathname.replace(/\/$/,""));let ec=ee;return ee=ei.toString(),en.removeSingleSlash||"/"!==ei.pathname||ec.endsWith("/")||""!==ei.hash||(ee=ee.replace(/\/$/,"")),(en.removeTrailingSlash||"/"===ei.pathname)&&""===ei.hash&&en.removeSingleSlash&&(ee=ee.replace(/\/$/,"")),er&&!en.normalizeProtocol&&(ee=ee.replace(/^http:\/\//,"//")),en.stripProtocol&&(ee=ee.replace(/^(?:https?:)?\/\//,"")),ee}let eh=(ee,en=!1)=>{let er=/^(?:([a-z_][a-z0-9_-]{0,31})@|https?:\/\/)([\w\.\-@]+)[\/:]([\~,\.\w,\-,\_,\/]+?(?:\.git|\/)?)$/,ei=en=>{let er=Error(en);throw er.subject_url=ee,er};"string"==typeof ee&&ee.trim()||ei("Invalid url."),ee.length>eh.MAX_INPUT_LENGTH&&ei("Input exceeds maximum length. If needed, change the value of parseUrl.MAX_INPUT_LENGTH."),en&&("object"!=typeof en&&(en={stripHash:!1}),ee=ef(ee,en));let ec=eo.default(ee);if(ec.parse_failed){let ee=ec.href.match(er);ee?(ec.protocols=["ssh"],ec.protocol="ssh",ec.resource=ee[2],ec.host=ee[2],ec.user=ee[1],ec.pathname=`/${ee[3]}`,ec.parse_failed=!1):ei("URL parsing failed.")}return ec};eh.MAX_INPUT_LENGTH=2048,ee.exports=eh},74049:function(ee,en,er){"use strict";var eo=er(36257);function ei(){}function ec(){}ec.resetWarningCache=ei,ee.exports=function(){function ee(ee,en,er,ei,ec,eu){if(eu!==eo){var ed=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw ed.name="Invariant Violation",ed}}function en(){return ee}ee.isRequired=ee;var er={array:ee,bigint:ee,bool:ee,func:ee,number:ee,object:ee,string:ee,symbol:ee,any:ee,arrayOf:en,element:ee,elementType:ee,instanceOf:en,node:ee,objectOf:en,oneOf:en,oneOfType:en,shape:en,exact:en,checkPropTypes:ec,resetWarningCache:ei};return er.PropTypes=er,er}},40507:function(ee,en,er){ee.exports=er(74049)()},36257:function(ee){"use strict";var en="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";ee.exports=en},6097:function(ee){"use strict";ee.exports=function(ee,en){!0===en&&(en=0);var er="";if("string"==typeof ee)try{er=new URL(ee).protocol}catch(ee){}else ee&&ee.constructor===URL&&(er=ee.protocol);var eo=er.split(/\:|\+/).filter(Boolean);return"number"==typeof en?eo[en]:eo}},10091:function(ee,en,er){"use strict";er.d(en,{ZP:function(){return tc}});var eo=er(25201),ei=er(12309),ec=er(76729),eu=er(26407),ed=er(84875),ef=er.n(ed),eh=er(6574),ep=er(12602),em=er(50959),eg=em.createContext({}),ex=er(9130),ev=er(82349),ey=er(53264),eb=er(53475),ew=function(ee){(0,ey.Z)(er,ee);var en=(0,eb.Z)(er);function er(){return(0,ex.Z)(this,er),en.apply(this,arguments)}return(0,ev.Z)(er,[{key:"render",value:function(){return this.props.children}}]),er}(em.Component),ek=er(42291),e_="none",ej="appear",eE="enter",eO="leave",eC="none",eS="prepare",eT="start",eN="active",eA="end",eI="prepared",eR=er(63490);function eM(ee,en){var er={};return er[ee.toLowerCase()]=en.toLowerCase(),er["Webkit".concat(ee)]="webkit".concat(en),er["Moz".concat(ee)]="moz".concat(en),er["ms".concat(ee)]="MS".concat(en),er["O".concat(ee)]="o".concat(en.toLowerCase()),er}var eL=function(ee,en){var er={animationend:eM("Animation","AnimationEnd"),transitionend:eM("Transition","TransitionEnd")};return!ee||("AnimationEvent"in en||delete er.animationend.animation,"TransitionEvent"in en||delete er.transitionend.transition),er}((0,eR.Z)(),"undefined"!=typeof window?window:{}),eP={};(0,eR.Z)()&&(eP=document.createElement("div").style);var eZ={};function eD(ee){if(eZ[ee])return eZ[ee];var en=eL[ee];if(en)for(var er=Object.keys(en),eo=er.length,ei=0;ei1&&void 0!==arguments[1]?arguments[1]:2;en();var ec=(0,eV.Z)(function(){ei<=1?eo({isCanceled:function(){return ec!==ee.current}}):er(eo,ei-1)});ee.current=ec}return em.useEffect(function(){return function(){en()}},[]),[er,en]},eX=[eS,eT,eN,eA],eK=[eS,eI],eQ=!1,eY=!0;function eJ(ee){return ee===eN||ee===eA}var e0=function(ee,en,er){var eo=(0,ek.Z)(eC),ei=(0,ec.Z)(eo,2),eu=ei[0],ed=ei[1],ef=eq(),eh=(0,ec.Z)(ef,2),ep=eh[0],eg=eh[1];function ex(){ed(eS,!0)}var ev=en?eK:eX;return eU(function(){if(eu!==eC&&eu!==eA){var ee=ev.indexOf(eu),en=ev[ee+1],eo=er(eu);eo===eQ?ed(en,!0):en&&ep(function(ee){function er(){ee.isCanceled()||ed(en,!0)}!0===eo?er():Promise.resolve(eo).then(er)})}},[ee,eu]),em.useEffect(function(){return function(){eg()}},[]),[ex,eu]};function e1(ee,en,er,eu){var ed=eu.motionEnter,ef=void 0===ed||ed,eh=eu.motionAppear,ep=void 0===eh||eh,eg=eu.motionLeave,ex=void 0===eg||eg,ev=eu.motionDeadline,ey=eu.motionLeaveImmediately,eb=eu.onAppearPrepare,ew=eu.onEnterPrepare,eC=eu.onLeavePrepare,eA=eu.onAppearStart,eR=eu.onEnterStart,eM=eu.onLeaveStart,eL=eu.onAppearActive,eP=eu.onEnterActive,eZ=eu.onLeaveActive,eD=eu.onAppearEnd,eF=eu.onEnterEnd,eH=eu.onLeaveEnd,ez=eu.onVisibleChanged,eB=(0,ek.Z)(),eW=(0,ec.Z)(eB,2),eG=eW[0],eV=eW[1],eq=(0,ek.Z)(e_),eX=(0,ec.Z)(eq,2),eK=eX[0],e1=eX[1],e2=(0,ek.Z)(null),e5=(0,ec.Z)(e2,2),e4=e5[0],e3=e5[1],e6=(0,em.useRef)(!1),e9=(0,em.useRef)(null);function e7(){return er()}var e8=(0,em.useRef)(!1);function tn(){e1(e_,!0),e3(null,!0)}function tr(ee){var en,er=e7();if(!ee||ee.deadline||ee.target===er){var eo=e8.current;eK===ej&&eo?en=null==eD?void 0:eD(er,ee):eK===eE&&eo?en=null==eF?void 0:eF(er,ee):eK===eO&&eo&&(en=null==eH?void 0:eH(er,ee)),eK!==e_&&eo&&!1!==en&&tn()}}var to=e$(tr),ti=(0,ec.Z)(to,1)[0],ts=function(ee){var en,er,ei;switch(ee){case ej:return en={},(0,eo.Z)(en,eS,eb),(0,eo.Z)(en,eT,eA),(0,eo.Z)(en,eN,eL),en;case eE:return er={},(0,eo.Z)(er,eS,ew),(0,eo.Z)(er,eT,eR),(0,eo.Z)(er,eN,eP),er;case eO:return ei={},(0,eo.Z)(ei,eS,eC),(0,eo.Z)(ei,eT,eM),(0,eo.Z)(ei,eN,eZ),ei;default:return{}}},tl=em.useMemo(function(){return ts(eK)},[eK]),tc=e0(eK,!ee,function(ee){if(ee===eS){var en,er=tl[eS];return er?er(e7()):eQ}return tf in tl&&e3((null===(en=tl[tf])||void 0===en?void 0:en.call(tl,e7(),null))||null),tf===eN&&(ti(e7()),ev>0&&(clearTimeout(e9.current),e9.current=setTimeout(function(){tr({deadline:!0})},ev))),tf===eI&&tn(),eY}),tu=(0,ec.Z)(tc,2),td=tu[0],tf=tu[1],th=eJ(tf);e8.current=th,eU(function(){eV(en);var er,eo=e6.current;e6.current=!0,!eo&&en&&ep&&(er=ej),eo&&en&&ef&&(er=eE),(eo&&!en&&ex||!eo&&ey&&!en&&ex)&&(er=eO);var ei=ts(er);er&&(ee||ei[eS])?(e1(er),td()):e1(e_)},[en]),(0,em.useEffect)(function(){(eK!==ej||ep)&&(eK!==eE||ef)&&(eK!==eO||ex)||e1(e_)},[ep,ef,ex]),(0,em.useEffect)(function(){return function(){e6.current=!1,clearTimeout(e9.current)}},[]);var tp=em.useRef(!1);(0,em.useEffect)(function(){eG&&(tp.current=!0),void 0!==eG&&eK===e_&&((tp.current||eG)&&(null==ez||ez(eG)),tp.current=!0)},[eG,eK]);var tm=e4;return tl[eS]&&tf===eT&&(tm=(0,ei.Z)({transition:"none"},tm)),[eK,tf,tm,null!=eG?eG:en]}var e2=function(ee){var en=ee;function er(ee,er){return!!(ee.motionName&&en&&!1!==er)}"object"===(0,eu.Z)(ee)&&(en=ee.transitionSupport);var ed=em.forwardRef(function(ee,en){var eu=ee.visible,ed=void 0===eu||eu,ex=ee.removeOnLeave,ev=void 0===ex||ex,ey=ee.forceRender,eb=ee.children,ek=ee.motionName,ej=ee.leavedClassName,eE=ee.eventProps,eO=er(ee,em.useContext(eg).motion),eC=(0,em.useRef)(),eN=(0,em.useRef)(),eA=e1(eO,ed,function(){try{return eC.current instanceof HTMLElement?eC.current:(0,eh.Z)(eN.current)}catch(ee){return null}},ee),eI=(0,ec.Z)(eA,4),eR=eI[0],eM=eI[1],eL=eI[2],eP=eI[3],eZ=em.useRef(eP);eP&&(eZ.current=!0);var eD=em.useCallback(function(ee){eC.current=ee,(0,ep.mH)(en,ee)},[en]),eF=(0,ei.Z)((0,ei.Z)({},eE),{},{visible:ed});if(eb){if(eR===e_)eH=eP?eb((0,ei.Z)({},eF),eD):!ev&&eZ.current&&ej?eb((0,ei.Z)((0,ei.Z)({},eF),{},{className:ej}),eD):!ey&&(ev||ej)?null:eb((0,ei.Z)((0,ei.Z)({},eF),{},{style:{display:"none"}}),eD);else{eM===eS?eB="prepare":eJ(eM)?eB="active":eM===eT&&(eB="start");var eH,ez,eB,eW=eG(ek,"".concat(eR,"-").concat(eB));eH=eb((0,ei.Z)((0,ei.Z)({},eF),{},{className:ef()(eG(ek,eR),(ez={},(0,eo.Z)(ez,eW,eW&&eB),(0,eo.Z)(ez,ek,"string"==typeof ek),ez)),style:eL}),eD)}}else eH=null;return em.isValidElement(eH)&&(0,ep.Yr)(eH)&&!eH.ref&&(eH=em.cloneElement(eH,{ref:eD})),em.createElement(ew,{ref:eN},eH)});return ed.displayName="CSSMotion",ed}(ez),e5=er(97605),e4=er(10582),e3=er(23248),e6="add",e9="keep",e7="remove",e8="removed";function tn(ee){var en;return en=ee&&"object"===(0,eu.Z)(ee)&&"key"in ee?ee:{key:ee},(0,ei.Z)((0,ei.Z)({},en),{},{key:String(en.key)})}function tr(){var ee=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return ee.map(tn)}function to(){var ee=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],en=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],er=[],eo=0,ec=en.length,eu=tr(ee),ed=tr(en);eu.forEach(function(ee){for(var en=!1,eu=eo;eu1}).forEach(function(ee){(er=er.filter(function(en){var er=en.key,eo=en.status;return er!==ee||eo!==e7})).forEach(function(en){en.key===ee&&(en.status=e9)})}),er}var ti=["component","children","onVisibleChanged","onAllRemoved"],ts=["status"],tl=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];!function(ee){var en=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e2,er=function(ee){(0,ey.Z)(ec,ee);var er=(0,eb.Z)(ec);function ec(){var ee;(0,ex.Z)(this,ec);for(var en=arguments.length,eu=Array(en),ed=0;ed1&&void 0!==arguments[1]?arguments[1]:{},er=[];return eo.Children.forEach(ee,function(ee){(null!=ee||en.keepEmpty)&&(Array.isArray(ee)?er=er.concat(ec(ee)):(0,ei.isFragment)(ee)&&ee.props?er=er.concat(ec(ee.props.children,en)):er.push(ee))}),er}},63490:function(ee,en,er){"use strict";function eo(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)}er.d(en,{Z:function(){return eo}})},35966:function(ee,en,er){"use strict";er.d(en,{jL:function(){return ey},hq:function(){return ew}});var eo=er(63490);function ei(ee,en){if(!ee)return!1;if(ee.contains)return ee.contains(en);for(var er=en;er;){if(er===ee)return!0;er=er.parentNode}return!1}var ec="data-rc-order",eu="data-rc-priority",ed="rc-util-key",ef=new Map;function eh(){var ee=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},en=ee.mark;return en?en.startsWith("data-")?en:"data-".concat(en):ed}function ep(ee){return ee.attachTo?ee.attachTo:document.querySelector("head")||document.body}function em(ee){return"queue"===ee?"prependQueue":ee?"prepend":"append"}function eg(ee){return Array.from((ef.get(ee)||ee).children).filter(function(ee){return"STYLE"===ee.tagName})}function ex(ee){var en=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,eo.Z)())return null;var er=en.csp,ei=en.prepend,ed=en.priority,ef=void 0===ed?0:ed,eh=em(ei),ex="prependQueue"===eh,ev=document.createElement("style");ev.setAttribute(ec,eh),ex&&ef&&ev.setAttribute(eu,"".concat(ef)),null!=er&&er.nonce&&(ev.nonce=null==er?void 0:er.nonce),ev.innerHTML=ee;var ey=ep(en),eb=ey.firstChild;if(ei){if(ex){var ew=eg(ey).filter(function(ee){return!!["prepend","prependQueue"].includes(ee.getAttribute(ec))&&ef>=Number(ee.getAttribute(eu)||0)});if(ew.length)return ey.insertBefore(ev,ew[ew.length-1].nextSibling),ev}ey.insertBefore(ev,eb)}else ey.appendChild(ev);return ev}function ev(ee){var en=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return eg(ep(en)).find(function(er){return er.getAttribute(eh(en))===ee})}function ey(ee){var en=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},er=ev(ee,en);er&&ep(en).removeChild(er)}function eb(ee,en){var er=ef.get(ee);if(!er||!ei(document,er)){var eo=ex("",en),ec=eo.parentNode;ef.set(ee,ec),ee.removeChild(eo)}}function ew(ee,en){var er,eo,ei,ec=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};eb(ep(ec),ec);var eu=ev(en,ec);if(eu)return null!==(er=ec.csp)&&void 0!==er&&er.nonce&&eu.nonce!==(null===(eo=ec.csp)||void 0===eo?void 0:eo.nonce)&&(eu.nonce=null===(ei=ec.csp)||void 0===ei?void 0:ei.nonce),eu.innerHTML!==ee&&(eu.innerHTML=ee),eu;var ed=ex(ee,ec);return ed.setAttribute(eh(ec),en),ed}},6574:function(ee,en,er){"use strict";er.d(en,{S:function(){return ec},Z:function(){return eu}});var eo=er(50959),ei=er(10422);function ec(ee){return ee instanceof HTMLElement||ee instanceof SVGElement}function eu(ee){return ec(ee)?ee:ee instanceof eo.Component?ei.findDOMNode(ee):null}},95992:function(ee,en){"use strict";en.Z=function(ee){if(!ee)return!1;if(ee instanceof Element){if(ee.offsetParent)return!0;if(ee.getBBox){var en=ee.getBBox(),er=en.width,eo=en.height;if(er||eo)return!0}if(ee.getBoundingClientRect){var ei=ee.getBoundingClientRect(),ec=ei.width,eu=ei.height;if(ec||eu)return!0}}return!1}},79697:function(ee,en,er){"use strict";function eo(ee){var en;return null==ee||null===(en=ee.getRootNode)||void 0===en?void 0:en.call(ee)}function ei(ee){return eo(ee) instanceof ShadowRoot}function ec(ee){return ei(ee)?eo(ee):null}er.d(en,{A:function(){return ec}})},7748:function(ee,en,er){"use strict";er.d(en,{Z:function(){return ei}});var eo=er(50959);function ei(ee){var en=eo.useRef();return en.current=ee,eo.useCallback(function(){for(var ee,er=arguments.length,eo=Array(er),ei=0;ei1&&void 0!==arguments[1]?arguments[1]:1,eo=ei+=1;function ed(en){if(0===en)eu(eo),ee();else{var ei=er(function(){ed(en-1)});ec.set(eo,ei)}}return ed(en),eo};ed.cancel=function(ee){var en=ec.get(ee);return eu(ee),eo(en)},en.Z=ed},12602:function(ee,en,er){"use strict";er.d(en,{Yr:function(){return eh},mH:function(){return eu},sQ:function(){return ed},x1:function(){return ef}});var eo=er(26407);er(50959);var ei=er(61357),ec=er(12554);function eu(ee,en){"function"==typeof ee?ee(en):"object"===(0,eo.Z)(ee)&&ee&&"current"in ee&&(ee.current=en)}function ed(){for(var ee=arguments.length,en=Array(ee),er=0;eree.length)&&(en=ee.length);for(var er=0,eo=Array(en);er=0||(ei[er]=ee[er]);return ei}function ei(ee,en){if(null==ee)return{};var er,ei,ec=eo(ee,en);if(Object.getOwnPropertySymbols){var eu=Object.getOwnPropertySymbols(ee);for(ei=0;ei=0)&&Object.prototype.propertyIsEnumerable.call(ee,er)&&(ec[er]=ee[er])}return ec}er.d(en,{Z:function(){return ei}})},16635:function(ee,en,er){"use strict";function eo(ee,en){return(eo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ee,en){return ee.__proto__=en,ee})(ee,en)}er.d(en,{Z:function(){return eo}})},76729:function(ee,en,er){"use strict";function eo(ee){if(Array.isArray(ee))return ee}function ei(ee,en){var er=null==ee?null:"undefined"!=typeof Symbol&&ee[Symbol.iterator]||ee["@@iterator"];if(null!=er){var eo,ei,ec,eu,ed=[],ef=!0,eh=!1;try{if(ec=(er=er.call(ee)).next,0===en){if(Object(er)!==er)return;ef=!1}else for(;!(ef=(eo=ec.call(er)).done)&&(ed.push(eo.value),ed.length!==en);ef=!0);}catch(ee){eh=!0,ei=ee}finally{try{if(!ef&&null!=er.return&&(eu=er.return(),Object(eu)!==eu))return}finally{if(eh)throw ei}}return ed}}er.d(en,{Z:function(){return ed}});var ec=er(79250);function eu(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ed(ee,en){return eo(ee)||ei(ee,en)||(0,ec.Z)(ee,en)||eu()}},1874:function(ee,en,er){"use strict";er.d(en,{Z:function(){return ef}});var eo=er(4989);function ei(ee){if(Array.isArray(ee))return(0,eo.Z)(ee)}function ec(ee){if("undefined"!=typeof Symbol&&null!=ee[Symbol.iterator]||null!=ee["@@iterator"])return Array.from(ee)}var eu=er(79250);function ed(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ef(ee){return ei(ee)||ec(ee)||(0,eu.Z)(ee)||ed()}},76755:function(ee,en,er){"use strict";er.d(en,{Z:function(){return ec}});var eo=er(26407);function ei(ee,en){if("object"!==(0,eo.Z)(ee)||null===ee)return ee;var er=ee[Symbol.toPrimitive];if(void 0!==er){var ei=er.call(ee,en||"default");if("object"!==(0,eo.Z)(ei))return ei;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===en?String:Number)(ee)}function ec(ee){var en=ei(ee,"string");return"symbol"===(0,eo.Z)(en)?en:String(en)}},26407:function(ee,en,er){"use strict";function eo(ee){return(eo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(ee){return typeof ee}:function(ee){return ee&&"function"==typeof Symbol&&ee.constructor===Symbol&&ee!==Symbol.prototype?"symbol":typeof ee})(ee)}er.d(en,{Z:function(){return eo}})},79250:function(ee,en,er){"use strict";er.d(en,{Z:function(){return ei}});var eo=er(4989);function ei(ee,en){if(ee){if("string"==typeof ee)return(0,eo.Z)(ee,en);var er=Object.prototype.toString.call(ee).slice(8,-1);if("Object"===er&&ee.constructor&&(er=ee.constructor.name),"Map"===er||"Set"===er)return Array.from(ee);if("Arguments"===er||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(er))return(0,eo.Z)(ee,en)}}},31705:function(ee,en,er){"use strict";er.d(en,{ZW:function(){return ec},eZ:function(){return ed},hV:function(){return ef}});var eo=er(81873),ei=er(9435),ec="en-US",eu=ei.cwd();eo.join(eu,"public");var ed=Symbol.for("__nextra_internal__"),ef=new Set(["/404","/500"])},32402:function(ee,en,er){"use strict";er.d(en,{Ab:function(){return eo},Fr:function(){return ei},JM:function(){return ef},K$:function(){return eu},h5:function(){return ec},lK:function(){return ed}});var eo="comm",ei="rule",ec="decl",eu="@import",ed="@keyframes",ef="@layer"},75542:function(ee,en,er){"use strict";er.d(en,{MY:function(){return eA}});var eo=er(32402),ei=er(41960),ec=1,eu=1,ed=0,ef=0,eh=0,ep="";function em(ee,en,er,eo,ei,ed,ef,eh){return{value:ee,root:en,parent:er,type:eo,props:ei,children:ed,line:ec,column:eu,length:ef,return:"",siblings:eh}}function eg(){return eh}function ex(){return eh=ef>0?(0,ei.uO)(ep,--ef):0,eu--,10===eh&&(eu=1,ec--),eh}function ev(){return eh=ef2||ek(eh)>3?"":" "}function eC(ee,en){for(;--en&&ev()&&!(eh<48)&&!(eh>102)&&(!(eh>57)||!(eh<65))&&(!(eh>70)||!(eh<97)););return ew(ee,eb()+(en<6&&32==ey()&&32==ev()))}function eS(ee){for(;ev();)switch(eh){case ee:return ef;case 34:case 39:34!==ee&&39!==ee&&eS(eh);break;case 40:41===ee&&eS(ee);break;case 92:ev()}return ef}function eT(ee,en){for(;ev();)if(ee+eh===57)break;else if(ee+eh===84&&47===ey())break;return"/*"+ew(en,ef-1)+"*"+(0,ei.Dp)(47===ee?ee:ev())}function eN(ee){for(;!ek(ey());)ev();return ew(ee,ef)}function eA(ee){return ej(eI("",null,null,null,[""],ee=e_(ee),0,[0],ee))}function eI(ee,en,er,eo,ec,eu,ed,ef,eh){for(var ep=0,em=0,eg=ed,ew=0,ek=0,e_=0,ej=1,eS=1,eA=1,eP=0,eZ="",eD=ec,eF=eu,eH=eo,ez=eZ;eS;)switch(e_=eP,eP=ev()){case 40:if(108!=e_&&58==(0,ei.uO)(ez,eg-1)){-1!=(0,ei.Cw)(ez+=(0,ei.gx)(eE(eP),"&","&\f"),"&\f")&&(eA=-1);break}case 34:case 39:case 91:ez+=eE(eP);break;case 9:case 10:case 13:case 32:ez+=eO(e_);break;case 92:ez+=eC(eb()-1,7);continue;case 47:switch(ey()){case 42:case 47:(0,ei.R3)(eM(eT(ev(),eb()),en,er,eh),eh);break;default:ez+="/"}break;case 123*ej:ef[ep++]=(0,ei.to)(ez)*eA;case 125*ej:case 59:case 0:switch(eP){case 0:case 125:eS=0;case 59+em:-1==eA&&(ez=(0,ei.gx)(ez,/\f/g,"")),ek>0&&(0,ei.to)(ez)-eg&&(0,ei.R3)(ek>32?eL(ez+";",eo,er,eg-1,eh):eL((0,ei.gx)(ez," ","")+";",eo,er,eg-2,eh),eh);break;case 59:ez+=";";default:if((0,ei.R3)(eH=eR(ez,en,er,ep,em,ec,ef,eZ,eD=[],eF=[],eg,eu),eu),123===eP){if(0===em)eI(ez,en,eH,eH,eD,eu,eg,ef,eF);else switch(99===ew&&110===(0,ei.uO)(ez,3)?100:ew){case 100:case 108:case 109:case 115:eI(ee,eH,eH,eo&&(0,ei.R3)(eR(ee,eH,eH,0,0,ec,ef,eZ,ec,eD=[],eg,eF),eF),ec,eF,eg,ef,eo?eD:eF);break;default:eI(ez,eH,eH,eH,[""],eF,0,ef,eF)}}}ep=em=ek=0,ej=eA=1,eZ=ez="",eg=ed;break;case 58:eg=1+(0,ei.to)(ez),ek=e_;default:if(ej<1){if(123==eP)--ej;else if(125==eP&&0==ej++&&125==ex())continue}switch(ez+=(0,ei.Dp)(eP),eP*ej){case 38:eA=em>0?1:(ez+="\f",-1);break;case 44:ef[ep++]=((0,ei.to)(ez)-1)*eA,eA=1;break;case 64:45===ey()&&(ez+=eE(ev())),ew=ey(),em=eg=(0,ei.to)(eZ=ez+=eN(eb())),eP++;break;case 45:45===e_&&2==(0,ei.to)(ez)&&(ej=0)}}return eu}function eR(ee,en,er,ec,eu,ed,ef,eh,ep,eg,ex,ev){for(var ey=eu-1,eb=0===eu?ed:[""],ew=(0,ei.Ei)(eb),ek=0,e_=0,ej=0;ek0?eb[eE]+" "+eO:(0,ei.gx)(eO,/&\f/g,eb[eE])))&&(ep[ej++]=eC);return em(ee,en,er,0===eu?eo.Fr:eh,ep,eg,ex,ev)}function eM(ee,en,er,ec){return em(ee,en,er,eo.Ab,(0,ei.Dp)(eg()),(0,ei.tb)(ee,2,-2),0,ec)}function eL(ee,en,er,ec,eu){return em(ee,en,er,eo.h5,(0,ei.tb)(ee,0,ec),(0,ei.tb)(ee,ec+1,-1),ec,eu)}},48871:function(ee,en,er){"use strict";er.d(en,{P:function(){return eu},q:function(){return ec}});var eo=er(32402),ei=er(41960);function ec(ee,en){for(var er="",eo=0;eo0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:n}=Object.assign({},(0,s.a)(),e.components);return n?(0,h.jsx)(n,{...e,children:(0,h.jsx)(l,{...e})}):l(e)},pageOpts:{filePath:"pages/docs/faq.mdx",route:"/docs/faq",frontMatter:{order:23,title:"常见问题",type:"其他"},title:"常见问题",headings:r},pageNextRoute:"/docs/faq"})}},function(e){e.O(0,[13,774,888,179],function(){return e(e.s=13553)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/docs/faq-f516963e5e818f87.js b/_next/static/chunks/pages/docs/faq-f516963e5e818f87.js deleted file mode 100644 index c5e86f9..0000000 --- a/_next/static/chunks/pages/docs/faq-f516963e5e818f87.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[755],{76500:function(e,n,d){(window.__NEXT_P=window.__NEXT_P||[]).push(["/docs/faq",function(){return d(24471)}])},24471:function(e,n,d){"use strict";d.r(n),d.d(n,{__toc:function(){return c}});var i=d(11527),h=d(5013),s=d(43196);let c=[{depth:3,value:"业务问题",id:"业务问题"},{depth:4,value:"热更新究竟能否上架?",id:"热更新究竟能否上架"},{depth:4,value:"是否可以在海外使用?",id:"是否可以在海外使用"},{depth:4,value:"哪些修改可以热更新?哪些不能?",id:"哪些修改可以热更新哪些不能"},{depth:4,value:"我是否可以搭建自己的热更新服务?",id:"我是否可以搭建自己的热更新服务"},{depth:4,value:'XCode 编译时报错 "_BZ2_bzRead", referenced from 等',id:"xcode-编译时报错-_bz2_bzread-referenced-from-等"},{depth:4,value:"热更新成功完成,但是重启后又回滚了是怎么回事?",id:"热更新成功完成但是重启后又回滚了是怎么回事"},{depth:4,value:"热更新报错:“热更新已暂停,原因:编译时间戳与服务器记录不一致。”",id:"热更新报错热更新已暂停原因编译时间戳与服务器记录不一致"},{depth:3,value:"付费问题",id:"付费问题"},{depth:4,value:"我应该选择哪个业务版本呢?",id:"我应该选择哪个业务版本呢"},{depth:4,value:"我可以试用付费版本先评估一下效果吗?",id:"我可以试用付费版本先评估一下效果吗"},{depth:4,value:"配额具体如何计算?",id:"配额具体如何计算"},{depth:4,value:"达到配额后还可以正常使用吗?",id:"达到配额后还可以正常使用吗"},{depth:4,value:"我可以单独升级某项配额吗?",id:"我可以单独升级某项配额吗"},{depth:4,value:"付费业务到期后不续费,现有应用还能否正常使用?",id:"付费业务到期后不续费现有应用还能否正常使用"},{depth:4,value:"如何获取付费的专人技术支持?",id:"如何获取付费的专人技术支持"},{depth:4,value:"如何开具发票?",id:"如何开具发票"},{depth:4,value:"可以使用银行转账付款吗?",id:"可以使用银行转账付款吗"}];function r(e){let n=Object.assign({p:"p",a:"a",h3:"h3",h4:"h4",hr:"hr",ul:"ul",li:"li",code:"code",ol:"ol",blockquote:"blockquote",br:"br",style:"style",table:"table",thead:"thead",tr:"tr",th:"th",tbody:"tbody",td:"td"},(0,s.a)(),e.components);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(n.p,{children:["如果本页面没能回答您的疑问,您可以去",(0,i.jsx)(n.a,{href:"https://github.com/reactnativecn/react-native-pushy/issues",children:"issues 区"}),"或 QQ 群 729013783 提问,或给我们发",(0,i.jsx)(n.a,{href:"mailto:hi@charmlot.com",children:"邮件"}),"。"]}),"\n",(0,i.jsx)(n.h3,{id:"业务问题",children:"业务问题"}),"\n",(0,i.jsx)(n.h4,{id:"热更新究竟能否上架",children:"热更新究竟能否上架?"}),"\n",(0,i.jsx)(n.p,{children:"您可能听说过各种说法,但大量实践表明,热更新目前能够顺利上架 AppStore 和其他各种应用市场。唯一需要注意的是,在审核期间请不要发布热更新,不要让审核人员看到各种更新相关的提示和弹窗,即可顺利通过。"}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h4,{id:"是否可以在海外使用",children:"是否可以在海外使用?"}),"\n",(0,i.jsx)(n.p,{children:"可以的,国内外都有高速 CDN 节点。"}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h4,{id:"哪些修改可以热更新哪些不能",children:"哪些修改可以热更新?哪些不能?"}),"\n",(0,i.jsx)(n.p,{children:"我们把对应用的修改分为两类:"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["\n",(0,i.jsxs)(n.p,{children:["不可热更新 —— 原生修改,即所有需要",(0,i.jsx)(n.code,{children:"编译"}),"后才能生效的修改:"]}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:"任何在 iOS 或者 Android 目录中的修改、增删。"}),"\n",(0,i.jsx)(n.li,{children:"任何含有原生代码的第三方组件的更新、修改。"}),"\n"]}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["\n",(0,i.jsxs)(n.p,{children:["可以热更新 —— 非原生修改,即所有",(0,i.jsx)(n.code,{children:"无需编译"}),",刷新即可生效的修改:"]}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:"js 代码修改,包括第三方纯 js 组件的更新、修改。"}),"\n",(0,i.jsx)(n.li,{children:"可以在 js 代码中 require/import 的资源文件,例如图片。"}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,i.jsxs)(n.p,{children:["需要注意的是,即便资源文件可以热更新,但这些热更新后的资源文件会以",(0,i.jsx)(n.code,{children:"file://"}),"协议的形式提供访问,某些读取资源文件的第三方可能并不支持",(0,i.jsx)(n.code,{children:"file://"}),"协议。"]}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h4,{id:"我是否可以搭建自己的热更新服务",children:"我是否可以搭建自己的热更新服务?"}),"\n",(0,i.jsxs)(n.p,{children:["你可以单独使用本组件的原生部分(不包括 js 模块)和命令行工具中的",(0,i.jsx)(n.code,{children:"bundle"}),"、",(0,i.jsx)(n.code,{children:"diff"}),"、",(0,i.jsx)(n.code,{children:"diffFromIpa"}),"、",(0,i.jsx)(n.code,{children:"diffFromApk"}),"四个功能。"]}),"\n",(0,i.jsx)(n.p,{children:"这些功能都不会使用我们的热更新服务,也无需注册或登录账号。但你可能要编写自己的 js 模块来与不同的热更新服务器通讯。"}),"\n",(0,i.jsxs)(n.p,{children:["如果您有兴趣搭建私有云服务,可以",(0,i.jsx)(n.a,{href:"mailto:hi@charmlot.com",children:"邮件联系我们"}),"。"]}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h4,{id:"xcode-编译时报错-_bz2_bzread-referenced-from-等",children:'XCode 编译时报错 "_BZ2_bzRead", referenced from 等'}),"\n",(0,i.jsx)(n.p,{children:"在工程 target 的 Build Phases->Link Binary with Libraries 中加入 libz.tbd、libbz2.1.0.tbd"}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h4,{id:"热更新成功完成但是重启后又回滚了是怎么回事",children:"热更新成功完成,但是重启后又回滚了是怎么回事?"}),"\n",(0,i.jsx)(n.p,{children:"可以正常更新,但是重启后回滚,一般有两种可能的情况:"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["没有正确",(0,i.jsx)(n.a,{href:"/docs/getting-started#%E9%85%8D%E7%BD%AE-bundle-url",children:"配置 bundleUrl"})]}),"\n",(0,i.jsxs)(n.li,{children:["没有正确",(0,i.jsx)(n.a,{href:"/docs/integration#%E9%A6%96%E6%AC%A1%E5%90%AF%E5%8A%A8%E3%80%81%E5%9B%9E%E6%BB%9A",children:"调用 markSuccess"})]}),"\n"]}),"\n",(0,i.jsxs)(n.p,{children:["如果你确定上述两个步骤都正确无误,请在",(0,i.jsx)(n.a,{href:"https://github.com/reactnativecn/react-native-pushy/issues",children:"issues 区"}),"给我们留言反馈。"]}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h4,{id:"热更新报错热更新已暂停原因编译时间戳与服务器记录不一致",children:"热更新报错:“热更新已暂停,原因:编译时间戳与服务器记录不一致。”"}),"\n",(0,i.jsxs)(n.p,{children:["当您每次编译产生一个原生包时,其中都会记录一个编译时间戳",(0,i.jsx)(n.code,{children:"buildTime"}),"(可以使用",(0,i.jsx)(n.code,{children:"pushy parseIpa a.ipa"}),"或是",(0,i.jsx)(n.code,{children:"pushy parseApk a.apk"}),"命令来查看)。如果您需要把这个包发给客户并希望使用热更新功能,那么就需要使用 upload 命令来上传到我们的服务器,而服务器端会记录这个包的版本号和编译时间戳以便后续比对记录。"]}),"\n",(0,i.jsxs)(n.p,{children:["举例来说,假如我已经上传了一个 1.0 版本原生包(",(0,i.jsx)(n.code,{children:"1A包"}),"),但后来由于种种原因我又重新打包了(",(0,i.jsx)(n.code,{children:"1B包"}),")但没有上传,这两个包有相同的版本号,但会有不同的编译时间戳。此时有几种可能的情况:"]}),"\n",(0,i.jsxs)(n.ol,{children:["\n",(0,i.jsxs)(n.li,{children:["我忘记上传过",(0,i.jsx)(n.code,{children:"1A包"}),",",(0,i.jsx)(n.code,{children:"1B包"}),"没有实质更改且还没有客户安装。此时应当放弃",(0,i.jsx)(n.code,{children:"1B包"}),",只让客户下载安装",(0,i.jsx)(n.code,{children:"1A包"}),"。"]}),"\n",(0,i.jsxs)(n.li,{children:["我忘记上传过",(0,i.jsx)(n.code,{children:"1A包"}),",又生成了",(0,i.jsx)(n.code,{children:"1B包"}),"且已有客户安装。此时",(0,i.jsx)(n.code,{children:"1A包"}),"客户可以获取热更新,",(0,i.jsx)(n.code,{children:"1B包"}),"客户无法获取热更新。要使两批客户都能获取热更新,要么想办法通知",(0,i.jsx)(n.code,{children:"1B包"}),"客户装回",(0,i.jsx)(n.code,{children:"1A包"}),",要么重新发布一个",(0,i.jsx)(n.code,{children:"高于1.0"}),"版本的原生包且上传到 pushy 服务器,并删除",(0,i.jsx)(n.code,{children:"1.0"}),"版本的记录,此时",(0,i.jsx)(n.code,{children:"1A包"}),"和",(0,i.jsx)(n.code,{children:"1B包"}),"的客户都会收到版本过期需要下载新版本的通知。"]}),"\n",(0,i.jsxs)(n.li,{children:["我知道上传过",(0,i.jsx)(n.code,{children:"1A包"}),",但我有原生方面的修改需要打了一个新的",(0,i.jsx)(n.code,{children:"1B包"}),"。此时若将",(0,i.jsx)(n.code,{children:"1B包"}),"上传到 pushy 服务器会提示版本验证错误,因为已经存在有相同的",(0,i.jsx)(n.code,{children:"1.0"}),"版本。所以需要首先更改原生版本号再次打包,并",(0,i.jsx)(n.code,{children:"首先"}),"将此新版本上传到服务器,",(0,i.jsx)(n.code,{children:"然后"}),"分发给客户。这样",(0,i.jsx)(n.code,{children:"1.0版本"}),"和",(0,i.jsx)(n.code,{children:"新版本"}),"可以并存且都可以获得热更新。"]}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"请谨记,任何时候生成原生包,请 1)先修改原生版本号,2)并上传到 pushy 服务器,才可以正常获得热更新。"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:["如果您是",(0,i.jsx)(n.code,{children:"高级版"}),"或",(0,i.jsx)(n.code,{children:"专业版"}),"客户,也可以考虑在管理后台的应用设置中启用",(0,i.jsx)(n.code,{children:"忽略编译时间戳"}),"。此选项仅对比版本号,不校验时间戳,可提供更宽容的热更策略,但可能消耗更多流量,适合需要管理多个分发渠道的客户。"]}),"\n"]}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"付费问题",children:"付费问题"}),"\n",(0,i.jsx)(n.h4,{id:"我应该选择哪个业务版本呢",children:"我应该选择哪个业务版本呢?"}),"\n",(0,i.jsxs)(n.p,{children:["其实完全无需考虑,先从最高配额的专业版开始体验(新用户注册验证通过后,将自动获得 7 天",(0,i.jsx)(n.code,{children:"专业版"}),"试用),各个版本的使用流程完全一致!当试用时间到期后,若当前版本的配额不能满足需求,可随时补差价升级到更高配额的版本。升级自动按天数计算差价,绝无额外费用。"]}),"\n",(0,i.jsxs)(n.p,{children:["目前仅有一项额外的付费专用功能,即",(0,i.jsx)(n.code,{children:"忽略编译时间戳"}),"设置(在管理后台的应用设置中),此选项仅对比版本号,不校验时间戳,可提供更宽容的热更策略,但可能消耗更多流量,适合需要管理多个分发渠道的客户。此功能目前仅支持",(0,i.jsx)(n.code,{children:"高级版"}),"和",(0,i.jsx)(n.code,{children:"专业版"}),"。"]}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h4,{id:"我可以试用付费版本先评估一下效果吗",children:"我可以试用付费版本先评估一下效果吗?"}),"\n",(0,i.jsxs)(n.p,{children:["新用户注册验证通过后,将自动获得 7 天",(0,i.jsx)(n.code,{children:"专业版"}),"试用。如您需要更长的评估时间,可将注册用户名、邮箱、公司(或个人)名称发送至",(0,i.jsx)(n.a,{href:"mailto:hi@charmlot.com",children:"hi@charmlot.com"}),",标题注明“pushy 评估试用延长”,我们会为您酌情延长评估时间。"]}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h4,{id:"配额具体如何计算",children:"配额具体如何计算?"}),"\n",(0,i.jsx)(n.p,{children:"配额主要分为 3 种:"}),"\n",(0,i.jsxs)(n.ol,{children:["\n",(0,i.jsx)(n.li,{children:"可创建的应用数量,注意 iOS 和 Android 版本记做不同的应用。"}),"\n",(0,i.jsxs)(n.li,{children:["原生包数量及大小。原生包指通过",(0,i.jsx)(n.code,{children:"pushy uploadIpa/uploadApk"}),"命令上传到 Pushy 服务器上作为热更新起始版本的完整 apk/ipa 安装包。"]}),"\n",(0,i.jsxs)(n.li,{children:["热更包数量及大小。热更包指通过",(0,i.jsx)(n.code,{children:"pushy bundle"}),"所命令生成的 ppk 文件。注意这不是用户实际下载的更新文件,用户下载的是通过比对生成的增量 diff 文件(比 ppk 文件要小得多)。"]}),"\n"]}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:["这里有一些对",(0,i.jsx)(n.a,{href:"bestpractice#%E4%BC%98%E5%8C%96%E5%8E%9F%E7%94%9F%E5%92%8C%E7%83%AD%E6%9B%B4%E5%8C%85%E4%BD%93%E7%A7%AF",children:"包大小的优化建议"}),"可供参考。"]}),"\n"]}),"\n",(0,i.jsxs)(n.p,{children:["以上 2、3 条为针对每个应用单独计算。具体配额和费用由于运营成本可能会有调整,请以",(0,i.jsx)(n.a,{href:"/pricing",children:"价格表"}),"页面为准。已购买的用户在续费前不受调整影响。"]}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h4,{id:"达到配额后还可以正常使用吗",children:"达到配额后还可以正常使用吗?"}),"\n",(0,i.jsxs)(n.p,{children:["当应用、原生包、热更包数量达到配额限制后,您将无法执行相应的新增操作。但用户端仍可正常检查更新,下载已发布的更新。您可选择升级到更高配额,或是通过删除已不再使用的应用、原生包、热更包来使数量降低到配额以内,以便继续执行新增操作。",(0,i.jsx)(n.br,{}),"\n若原生包、热更包大小超过限额,则会导致上传失败。您可以选择升级到更高配额,或是想办法进行",(0,i.jsx)(n.a,{href:"bestpractice#%E4%BC%98%E5%8C%96%E5%8E%9F%E7%94%9F%E5%92%8C%E7%83%AD%E6%9B%B4%E5%8C%85%E4%BD%93%E7%A7%AF",children:"精简优化"}),"。"]}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h4,{id:"我可以单独升级某项配额吗",children:"我可以单独升级某项配额吗?"}),"\n",(0,i.jsxs)(n.p,{children:["我们暂时无法为某个单项配额提供升级选项,请选择更高版本的配额。如果专业版本配额仍然不能满足需求,请通过邮件",(0,i.jsx)(n.a,{href:"mailto:hi@charmlot.com",children:"hi@charmlot.com"}),"与我们联系,我们将根据您的个性化需求为您定制方案。"]}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h4,{id:"付费业务到期后不续费现有应用还能否正常使用",children:"付费业务到期后不续费,现有应用还能否正常使用?"}),"\n",(0,i.jsx)(n.p,{children:"到期后按免费版额度执行。如您现有应用已超出配额,则必须通过删除操作降低到配额以内,方可执行新的操作(如创建应用,上传热更等),但不影响用户获取之前已发布的热更。"}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h4,{id:"如何获取付费的专人技术支持",children:"如何获取付费的专人技术支持?"}),"\n",(0,i.jsxs)(n.p,{children:["请将您的用户名和订单截图发送至",(0,i.jsx)(n.a,{href:"mailto:hi@charmlot.com",children:"hi@charmlot.com"}),",同时提供您希望的技术联系方式(QQ、微信等),核实后会有技术专员添加您为好友。"]}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h4,{id:"如何开具发票",children:"如何开具发票?"}),"\n",(0,i.jsxs)(n.p,{children:["请将具体开票需求发送至",(0,i.jsx)(n.a,{href:"mailto:hi@charmlot.com",children:"hi@charmlot.com"}),",并附上注册邮箱和订单截图。我们默认会回复普通电子发票到",(0,i.jsx)(n.code,{children:"注册邮箱"}),",类目为软件服务。如需指定接受邮箱或手机,请在",(0,i.jsx)(n.code,{children:"邮件正文"}),"中注明。如需要邮寄纸质发票请注明邮寄地址,邮费为到付。"]}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h4,{id:"可以使用银行转账付款吗",children:"可以使用银行转账付款吗?"}),"\n",(0,i.jsxs)(n.p,{children:["可以的。请对照",(0,i.jsx)(n.a,{href:"/pricing",children:"价格表"}),",将对应版本的款项转账至:"]}),"\n",(0,i.jsx)(n.style,{children:"\n.markdown > table {\n width: 80%;\n}\n"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"公司名称"}),(0,i.jsx)(n.th,{children:"武汉青罗网络科技有限公司"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"开户行名称"}),(0,i.jsx)(n.td,{children:"浙江网商银行"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"账号"}),(0,i.jsx)(n.td,{children:"8888888048825564"})]})]})]}),"\n",(0,i.jsxs)(n.p,{children:["转账完成后请截图发送至",(0,i.jsx)(n.a,{href:"mailto:hi@charmlot.com",children:"hi@charmlot.com"}),",并写明注册邮箱,我们将在一个工作日内开通对应服务。"]}),"\n",(0,i.jsx)(n.hr,{})]})}n.default=(0,h.j)({MDXContent:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:n}=Object.assign({},(0,s.a)(),e.components);return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(r,{...e})}):r(e)},pageOpts:{filePath:"pages/docs/faq.md",route:"/docs/faq",frontMatter:{order:23,title:"常见问题",type:"其他"},title:"常见问题",headings:c},pageNextRoute:"/docs/faq"})}},function(e){e.O(0,[13,774,888,179],function(){return e(e.s=76500)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/docs/getting-started-3106b0541d43cfac.js b/_next/static/chunks/pages/docs/getting-started-3106b0541d43cfac.js new file mode 100644 index 0000000..539a988 --- /dev/null +++ b/_next/static/chunks/pages/docs/getting-started-3106b0541d43cfac.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[153],{17744:function(s,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/docs/getting-started",function(){return n(59078)}])},59078:function(s,e,n){"use strict";n.r(e),n.d(e,{__toc:function(){return o}});var l=n(11527),i=n(5013),r=n(43196),a=n(63615);let o=[{depth:3,value:"安装",id:"安装"},{depth:3,value:"手动 link",id:"手动-link"},{depth:4,value:"iOS",id:"ios"},{depth:4,value:"Android",id:"android"},{depth:3,value:"配置 Bundle URL",id:"配置-bundle-url"},{depth:4,value:"iOS",id:"ios-1"},{depth:4,value:"Android",id:"android-1"},{depth:3,value:"禁用 android 的 crunch 优化",id:"禁用-android-的-crunch-优化"},{depth:3,value:"登录与创建应用",id:"登录与创建应用"}];function c(s){let e=Object.assign({p:"p",code:"code",a:"a",h3:"h3",pre:"pre",span:"span",details:"details",summary:"summary",table:"table",thead:"thead",tr:"tr",th:"th",tbody:"tbody",td:"td",h4:"h4",ol:"ol",li:"li",ul:"ul"},(0,r.a)(),s.components);return a.mQ||t("Tabs",!1),a.mQ.Tab||t("Tabs.Tab",!0),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(e.p,{children:["首先你应该有一个基于 React Native 开发的应用,我们把具有 package.json 的目录叫做你的",(0,l.jsx)(e.code,{children:"应用根目录"}),"。\n如果你还没有初始化应用,请参阅",(0,l.jsx)(e.a,{href:"https://reactnative.cn/docs/getting-started",children:"开始使用 React Native"}),"。"]}),"\n",(0,l.jsxs)(e.p,{children:["我们假设你已经拥有了开发 React Native 应用的一切环境,包括",(0,l.jsx)(e.code,{children:"Node.js"}),"、",(0,l.jsx)(e.code,{children:"XCode"}),"、",(0,l.jsx)(e.code,{children:"Android SDK"}),"等等。"]}),"\n",(0,l.jsxs)(a.Rg,{children:[(0,l.jsx)(e.h3,{id:"安装",children:"安装"}),(0,l.jsx)(e.p,{children:"在你的项目根目录下运行以下命令:"}),(0,l.jsx)(e.pre,{"data-language":"bash","data-theme":"default",children:(0,l.jsxs)(e.code,{"data-language":"bash","data-theme":"default",children:[(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"# 先全局安装命令行工具,每台电脑只用装一次"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"npm"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"i"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"-g"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"react-native-update-cli"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"# 然后在项目目录中安装热更新模块"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"# 0.71 及以上版本使用最新版本如下"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"npm"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"i"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"react-native-update"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"# 0.71 以下版本请使用8.x版本"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"# npm i react-native-update@8.x"})})]})}),(0,l.jsx)(a.UW,{type:"info",children:(0,l.jsxs)(e.p,{children:["如果下载极慢或者显示网络失败,请设置使用淘宝镜像 ",(0,l.jsx)(e.code,{children:"npx nrm use taobao"})]})}),(0,l.jsx)(a.UW,{type:"warning",children:(0,l.jsxs)(e.p,{children:["注意请不要混用",(0,l.jsx)(e.code,{children:"npm/yarn/pnpm"}),"等包管理器及对应的",(0,l.jsx)(e.code,{children:"lock"}),"文件,团队成员请坚持使用同一包管理器,且仅保留统一格式的",(0,l.jsx)(e.code,{children:"lock"}),"文件"]})}),(0,l.jsx)(e.p,{children:"如果你的 RN 版本 >= 0.60,请在 ios 目录下执行:"}),(0,l.jsx)(e.pre,{"data-language":"bash","data-theme":"default",children:(0,l.jsx)(e.code,{"data-language":"bash","data-theme":"default",children:(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"pod"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"install"})]})})}),(0,l.jsxs)(e.p,{children:["如果你的 RN 版本 < 0.60,那么需要先在",(0,l.jsx)(e.code,{children:"package.json"}),"文件的",(0,l.jsx)(e.code,{children:"scripts"}),"中加入:"]}),(0,l.jsx)(e.pre,{"data-language":"json","data-theme":"default",children:(0,l.jsx)(e.code,{"data-language":"json","data-theme":"default",children:(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"postinstall"'}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:": "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"npx jetify -r"'})]})})}),(0,l.jsxs)(e.p,{children:["然后按照",(0,l.jsx)(e.a,{href:"#%E6%89%8B%E5%8A%A8-link",children:"手动 link"}),"的说明操作。"]}),(0,l.jsxs)(e.details,{children:[(0,l.jsx)(e.summary,{children:(0,l.jsx)(e.p,{children:"如果你的RN版本比较老(< 0.46),请点击这里的注意事项"})}),(0,l.jsx)(e.p,{children:"如果你的 RN 版本比较老,请按下面表格尝试老一些的版本(但这些版本我们已不再维护,不能保证可以使用):"}),(0,l.jsxs)(e.table,{children:[(0,l.jsx)(e.thead,{children:(0,l.jsxs)(e.tr,{children:[(0,l.jsx)(e.th,{children:"React Native 版本"}),(0,l.jsx)(e.th,{children:"react-native-update 版本"})]})}),(0,l.jsxs)(e.tbody,{children:[(0,l.jsxs)(e.tr,{children:[(0,l.jsx)(e.td,{children:"0.26 及以下"}),(0,l.jsx)(e.td,{children:"1.0.x"})]}),(0,l.jsxs)(e.tr,{children:[(0,l.jsx)(e.td,{children:"0.27 - 0.28"}),(0,l.jsx)(e.td,{children:"2.x"})]}),(0,l.jsxs)(e.tr,{children:[(0,l.jsx)(e.td,{children:"0.29 - 0.33"}),(0,l.jsx)(e.td,{children:"3.x"})]}),(0,l.jsxs)(e.tr,{children:[(0,l.jsx)(e.td,{children:"0.34 - 0.45"}),(0,l.jsx)(e.td,{children:"4.x"})]}),(0,l.jsxs)(e.tr,{children:[(0,l.jsx)(e.td,{children:"0.46 - 0.70"}),(0,l.jsx)(e.td,{children:"8.x"})]})]})]}),(0,l.jsx)(e.p,{children:"安装命令示例:"}),(0,l.jsx)(e.pre,{"data-language":"bash","data-theme":"default",children:(0,l.jsx)(e.code,{"data-language":"bash","data-theme":"default",children:(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"npm"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"i"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"react-native-update@4.x"})]})})}),(0,l.jsxs)(e.p,{children:["如果 RN 的版本是 0.45 及以下,你还必须安装",(0,l.jsx)(e.code,{children:"[Android NDK](http://androiddevtools.cn)"}),",版本最好选用 r10e,并设置环境变量",(0,l.jsx)(e.code,{children:"ANDROID_NDK_HOME"}),",指向你的 NDK 根目录(例如",(0,l.jsx)(e.code,{children:"/Users/tdzl2003/Downloads/android-ndk-r10e"}),")。"]})]}),(0,l.jsx)(a.UW,{type:"info",children:(0,l.jsx)(e.p,{children:"请记得,任意在 ios 和 android 目录下的修改,一定要重新编译(使用 npx\nreact-native run-ios 或 run-android 命令编译,或在 Xcode/Android Studio\n中重新编译)才能生效。"})}),(0,l.jsx)(e.h3,{id:"手动-link",children:"手动 link"}),(0,l.jsx)(e.p,{children:"如果 RN 版本 >= 0.60 则不需要此手动 link 步骤。"}),(0,l.jsx)(a.UW,{type:"info",children:(0,l.jsx)(e.p,{children:"注意:如果是混编 RN 项目,由于自定义的配置可能不完整,自动 link\n的功能可能不能正常工作。此时即便 RN 版本 >= 0.60,你可能也需要执行手动 link 操作。"})}),(0,l.jsx)(e.h4,{id:"ios",children:"iOS"}),(0,l.jsxs)(e.details,{children:[(0,l.jsx)(e.summary,{children:"RN < 0.60且使用CocoaPods(推荐)"}),(0,l.jsxs)(e.ol,{children:["\n",(0,l.jsx)(e.li,{children:"在 ios/Podfile 中添加"}),"\n"]}),(0,l.jsx)(e.pre,{"data-language":"text","data-theme":"default",children:(0,l.jsx)(e.code,{"data-language":"text","data-theme":"default",children:(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"pod 'react-native-update', path: '../node_modules/react-native-update'"})})})}),(0,l.jsxs)(e.ol,{start:"2",children:["\n",(0,l.jsxs)(e.li,{children:["在项目的 ios 目录下运行",(0,l.jsx)(e.code,{children:"pod install"})]}),"\n",(0,l.jsx)(e.li,{children:"重新编译"}),"\n"]})]}),(0,l.jsxs)(e.details,{children:[(0,l.jsx)(e.summary,{children:"RN < 0.60且不使用CocoaPods"}),(0,l.jsxs)(e.ol,{children:["\n",(0,l.jsxs)(e.li,{children:["在 XCode 中的 Project Navigator 里,右键点击",(0,l.jsx)(e.code,{children:"Libraries"})," ➜ ",(0,l.jsx)(e.code,{children:"Add Files to [你的工程名]"})]}),"\n",(0,l.jsxs)(e.li,{children:["进入",(0,l.jsx)(e.code,{children:"node_modules"})," ➜ ",(0,l.jsx)(e.code,{children:"react-native-update"})," ➜ ",(0,l.jsx)(e.code,{children:"ios 并选中"}),"RCTPushy.xcodeproj`"]}),"\n",(0,l.jsxs)(e.li,{children:["在 XCode 中的 project navigator 里,选中你的工程,在 ",(0,l.jsx)(e.code,{children:"Build Phases"})," ➜ ",(0,l.jsx)(e.code,{children:"Link Binary With Libraries"})," 中添加 ",(0,l.jsx)(e.code,{children:"libRCTPushy.a"}),"、",(0,l.jsx)(e.code,{children:"libz.tbd"}),"、",(0,l.jsx)(e.code,{children:"libbz2.1.0.tbd"})]}),"\n",(0,l.jsxs)(e.li,{children:["继续在",(0,l.jsx)(e.code,{children:"Build Settings"}),"里搜索",(0,l.jsx)(e.code,{children:"Header Search Path"}),",添加",(0,l.jsx)(e.code,{children:"$(SRCROOT)/../node_modules/react-native-update/ios"}),",勾选",(0,l.jsx)(e.code,{children:"recursive"}),"。"]}),"\n",(0,l.jsxs)(e.li,{children:["在",(0,l.jsx)(e.code,{children:"Build Phases"}),"添加一个",(0,l.jsx)(e.code,{children:"New Run Script Phase"}),"运行脚本,内容如下"]}),"\n"]}),(0,l.jsx)(e.pre,{"data-language":"text","data-theme":"default",children:(0,l.jsxs)(e.code,{"data-language":"text","data-theme":"default",children:[(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"#!/bin/bash"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"set -x"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:'DEST="../node_modules/react-native-update/ios/"'})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:'date +%s > "$DEST/pushy_build_time.txt"'})})]})}),(0,l.jsxs)(e.ol,{start:"7",children:["\n",(0,l.jsxs)(e.li,{children:["尝试编译一下,顺利的话就会在",(0,l.jsx)(e.code,{children:"../node_modules/react-native-update/ios/"}),"文件夹下面生成一个",(0,l.jsx)(e.code,{children:"pushy_build_time.txt"}),"文件。然后在",(0,l.jsx)(e.code,{children:"Copy Bundle Resources"}),"里把生成的",(0,l.jsx)(e.code,{children:"pushy_build_time.txt"}),"文件添加进去。"]}),"\n"]})]}),(0,l.jsx)(e.h4,{id:"android",children:"Android"}),(0,l.jsxs)(e.details,{children:[(0,l.jsx)(e.summary,{children:"RN < 0.60"}),(0,l.jsxs)(e.ol,{children:["\n",(0,l.jsxs)(e.li,{children:["\n",(0,l.jsxs)(e.p,{children:["在",(0,l.jsx)(e.code,{children:"android/settings.gradle"}),"中添加如下代码:"]}),"\n",(0,l.jsx)(e.pre,{"data-language":"text","data-theme":"default",children:(0,l.jsxs)(e.code,{"data-language":"text","data-theme":"default",children:[(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"include ':react-native-update'"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"project(':react-native-update').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-update/android')"})})]})}),"\n"]}),"\n",(0,l.jsxs)(e.li,{children:["\n",(0,l.jsxs)(e.p,{children:["在",(0,l.jsx)(e.code,{children:"android/app/build.gradle"}),"的 dependencies 部分增加如下代码:"]}),"\n",(0,l.jsx)(e.pre,{"data-language":"text","data-theme":"default",children:(0,l.jsx)(e.code,{"data-language":"text","data-theme":"default",children:(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"implementation project(':react-native-update')"})})})}),"\n"]}),"\n",(0,l.jsxs)(e.li,{children:["\n",(0,l.jsxs)(e.p,{children:["打开",(0,l.jsx)(e.code,{children:"android/app/src/main/java/[...]/MainApplication.java"}),","]}),"\n"]}),"\n"]}),(0,l.jsxs)(e.ul,{children:["\n",(0,l.jsxs)(e.li,{children:["在文件开头增加 ",(0,l.jsx)(e.code,{children:"import cn.reactnative.modules.update.UpdatePackage;"})]}),"\n",(0,l.jsxs)(e.li,{children:["在",(0,l.jsx)(e.code,{children:"getPackages()"})," 方法中增加 ",(0,l.jsx)(e.code,{children:"new UpdatePackage()"}),"(注意上一行可能要增加一个逗号)"]}),"\n"]})]}),(0,l.jsx)(e.h3,{id:"配置-bundle-url",children:"配置 Bundle URL"}),(0,l.jsx)(e.p,{children:"注意此步骤无论任何版本,目前都需要手动配置。"}),(0,l.jsx)(e.h4,{id:"ios-1",children:"iOS"}),(0,l.jsx)(e.p,{children:"在你的 AppDelegate.mm 或 AppDelegate.m 文件(不同 RN 版本可能后缀名不同)中增加如下代码:"}),(0,l.jsx)(e.pre,{"data-language":"c","data-theme":"default",children:(0,l.jsxs)(e.code,{"data-language":"c","data-theme":"default",children:[(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// ... 其它代码"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"#import"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"AppDelegate.h"'})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"#import"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"RCTPushy.h"'}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// <-- import头文件,注意要放到if条件外面"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// 可能项目里有一些条件编译语句,例如像较新版本RN自带的flipper"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// #if DEBUG"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:'// 注意**不要**在这里面引入"RCTPushy.h"'})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// #import "})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// ..."})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// #endif"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// 如果RN版本 >= 0.59,修改sourceURLForBridge"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"-"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" (NSURL "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"*"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:")sourceURLForBridge:(RCTBridge "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"*"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:")bridge"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"{"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"#if"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"DEBUG"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// 原先这里的写法继续保留(所以debug模式下不可热更新)"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"return"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" ....."})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"#else"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" \xa0// 把这里非DEBUG的情况替换为热更新bundle的写法"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"return"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" [RCTPushy bundleURL];"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"#endif"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"}"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// 如果RN版本 < 0.59,修改didFinishLaunchingWithOptions"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"-"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" (BOOL)application:(UIApplication "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"*"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:")application didFinishLaunchingWithOptions:(NSDictionary "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"*"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:")launchOptions"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"{"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"#if"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"DEBUG"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" \xa0// 原来的jsCodeLocation保留在这里(所以debug模式下不可热更新)"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" \xa0jsCodeLocation "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" .........."})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"#else"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" \xa0// 把这里非DEBUG的情况替换为热更新bundle的写法"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" \xa0jsCodeLocation "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" [RCTPushy bundleURL];"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"#endif"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// ... 其它代码"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"}"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "})]})}),(0,l.jsx)(e.h4,{id:"android-1",children:"Android"}),(0,l.jsxs)(e.p,{children:["在 MainApplication 中增加如下代码(如果是混编原生的项目或其他原因没有使用 ReactApplication,请",(0,l.jsx)(e.a,{href:"api#updatecontextsetcustominstancemanagerreactinstancemanager-instancemanager",children:"使用此 api 集成"}),"):"]}),(0,l.jsxs)(a.mQ,{items:["Kotlin","Java"],children:[(0,l.jsx)(a.mQ.Tab,{children:(0,l.jsx)(e.pre,{"data-language":"kotlin","data-theme":"default",children:(0,l.jsxs)(e.code,{"data-language":"kotlin","data-theme":"default",children:[(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// ... 其它代码"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// ↓↓↓请注意不要少了这句import"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" cn.reactnative.modules.update.UpdateContext;"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// ↑↑↑"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"class"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"MainApplication"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" : "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"Application"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"(), "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"ReactApplication"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" {"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"override"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"val"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" reactNativeHost: "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"ReactNativeHost"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"="})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" object : "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"DefaultReactNativeHost"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"this"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:") {"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// ↓↓↓将下面这一段添加到 DefaultReactNativeHost 内部!"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"override"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"fun"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"getJSBundleFile"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"(): "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"String"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"? {"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"return"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" UpdateContext."}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"getBundleUrl"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"this@MainApplication"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:")"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" }"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// ↑↑↑"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// ...其他代码"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" }"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"}"})})]})})}),(0,l.jsx)(a.mQ.Tab,{children:(0,l.jsx)(e.pre,{"data-language":"java","data-theme":"default",children:(0,l.jsxs)(e.code,{"data-language":"java","data-theme":"default",children:[(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// ... 其它代码"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// ↓↓↓请注意不要少了这句import"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"cn"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:"."}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"reactnative"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:"."}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"modules"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:"."}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"update"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:"."}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"UpdateContext"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:";"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// ↑↑↑"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"public"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"class"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"MainApplication"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"extends"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"Application"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"implements"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"ReactApplication"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" {"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"private"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"final"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"ReactNativeHost"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" mReactNativeHost "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"="})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// 老版本 RN 这里可能是 new ReactNativeHost(this)"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"new"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"DefaultReactNativeHost("}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"this"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:")"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" {"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// ↓↓↓将下面这一段添加到 DefaultReactNativeHost 内部!"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" @"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"Override"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"protected"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"String"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"getJSBundleFile"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"() {"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"return"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"UpdateContext"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:"."}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"getBundleUrl"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"MainApplication"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:"."}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"this"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:");"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" }"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// ↑↑↑"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// ...其他代码"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" }"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"}"})})]})})})]}),(0,l.jsx)(a.UW,{type:"info",children:(0,l.jsx)(e.p,{children:"请记得,任意在 ios 和 android 目录下的修改,一定要重新编译(npx react-native\nrun-ios 或 run-android 命令编译,或在 Xcode/Android Studio\n中重新编译)才能生效。"})}),(0,l.jsx)(e.h3,{id:"禁用-android-的-crunch-优化",children:"禁用 android 的 crunch 优化"}),(0,l.jsxs)(e.p,{children:["android 会在生成 apk 时自动对 png 图片进行压缩,此操作既耗时又影响增量补丁的生成。为了保证补丁能正常生成,您需要在",(0,l.jsx)(e.code,{children:"android/app/build.gradle"}),"中关闭此操作:"]}),(0,l.jsx)(e.pre,{"data-language":"gradle","data-theme":"default",children:(0,l.jsxs)(e.code,{"data-language":"gradle","data-theme":"default",children:[(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"..."})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"android {"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" ..."})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" signingConfigs { ... }"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" buildTypes {"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" release {"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" ..."})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" // 添加下面这行以禁用crunch"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" crunchPngs false"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" }"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" }"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"}"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"..."})})]})}),(0,l.jsx)(e.h3,{id:"登录与创建应用",children:"登录与创建应用"}),(0,l.jsxs)(e.p,{children:["首先请在 ",(0,l.jsx)(e.a,{href:"https://update.reactnative.cn",children:"https://update.reactnative.cn"})," 注册帐号,然后在你的项目根目录下运行以下命令:"]}),(0,l.jsx)(e.pre,{"data-language":"bash","data-theme":"default",children:(0,l.jsxs)(e.code,{"data-language":"bash","data-theme":"default",children:[(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"$"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"pushy"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"login"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"email:"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"<"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"输入你的注册邮"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"箱"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:">"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"password:"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"<"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"输入你的密"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"码"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:">"})]})]})}),(0,l.jsxs)(e.p,{children:["这会在项目文件夹下创建一个",(0,l.jsx)(e.code,{children:".update"}),"文件,注意不要把这个文件上传到 Git 等 CVS 系统上。你可以在",(0,l.jsx)(e.code,{children:".gitignore"}),"末尾增加一行",(0,l.jsx)(e.code,{children:".update"}),"来忽略这个文件。"]}),(0,l.jsx)(e.p,{children:"登录之后可以创建应用。注意 iOS 平台和安卓平台需要分别创建:"}),(0,l.jsx)(e.pre,{"data-language":"bash","data-theme":"default",children:(0,l.jsxs)(e.code,{"data-language":"bash","data-theme":"default",children:[(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"$"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"pushy"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"createApp"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"--platform"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"ios"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"App"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"Name:"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"<"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"输入应用名"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"字"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:">"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"$"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"pushy"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"createApp"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"--platform"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"android"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"App"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"Name:"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"<"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"输入应用名"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"字"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:">"})]})]})}),(0,l.jsx)(a.UW,{type:"info",children:"两次输入的名字可以相同,这没有关系。"}),(0,l.jsx)(e.p,{children:"如果你已经在网页端或者其它地方创建过应用,也可以直接选择应用:"}),(0,l.jsx)(e.pre,{"data-language":"bash","data-theme":"default",children:(0,l.jsxs)(e.code,{"data-language":"bash","data-theme":"default",children:[(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"$"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"pushy"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"selectApp"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"--platform"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"ios"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"1"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:") 鱼多多("}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"ios"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:")"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"2"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:") 招财旺("}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"ios"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:")"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"Total"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"2"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"ios"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"apps"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"Enter"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"appId:"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"<"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"输入应用前面的编"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"号"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:">"})]})]})}),(0,l.jsxs)(e.p,{children:["选择或者创建过应用后,你将可以在文件夹下看到",(0,l.jsx)(e.code,{children:"update.json"}),"文件,其内容类似如下形式:"]}),(0,l.jsx)(e.pre,{"data-language":"bash","data-theme":"default",children:(0,l.jsxs)(e.code,{"data-language":"bash","data-theme":"default",children:[(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"{"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:'"ios"'}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:":"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"{"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:'"appId"'}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:":"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"1"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:","})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:'"appKey"'}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:":"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"<一串随机字符串>"'})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" },"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:'"android"'}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:":"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"{"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:'"appId"'}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:":"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"2"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:","})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:'"appKey"'}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:":"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"<一串随机字符串>"'})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" }"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"}"})})]})}),(0,l.jsxs)(e.p,{children:["你可以安全的把",(0,l.jsx)(e.code,{children:"update.json"}),"上传到 Git 等 CVS 系统上,与你的团队共享这个文件,它不包含任何敏感信息。当然,他们在使用任何功能之前,都必须首先输入",(0,l.jsx)(e.code,{children:"pushy login"}),"进行登录。"]}),(0,l.jsxs)(e.p,{children:["至此应用的创建/选择就已经成功了。下一步,你需要给代码添加相应的功能,请参阅",(0,l.jsx)(e.a,{href:"integration",children:"代码集成"}),"。"]})]})]})}function t(s,e){throw Error("Expected "+(e?"component":"object")+" `"+s+"` to be defined: you likely forgot to import, pass, or provide it.")}e.default=(0,i.j)({MDXContent:function(){let s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:e}=Object.assign({},(0,r.a)(),s.components);return e?(0,l.jsx)(e,{...s,children:(0,l.jsx)(c,{...s})}):c(s)},pageOpts:{filePath:"pages/docs/getting-started.mdx",route:"/docs/getting-started",frontMatter:{order:0,title:"安装配置",type:"快速入门"},title:"安装配置",headings:o},pageNextRoute:"/docs/getting-started"})}},function(s){s.O(0,[13,774,888,179],function(){return s(s.s=17744)}),_N_E=s.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/docs/getting-started-88adee056e09300b.js b/_next/static/chunks/pages/docs/getting-started-88adee056e09300b.js deleted file mode 100644 index 580906e..0000000 --- a/_next/static/chunks/pages/docs/getting-started-88adee056e09300b.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[153],{81952:function(s,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/docs/getting-started",function(){return n(23830)}])},23830:function(s,e,n){"use strict";n.r(e),n.d(e,{__toc:function(){return a}});var l=n(11527),i=n(5013),r=n(43196);let a=[{depth:2,value:"安装",id:"安装"},{depth:2,value:"手动 link",id:"手动-link"},{depth:3,value:"iOS",id:"ios"},{depth:3,value:"Android",id:"android"},{depth:2,value:"配置 Bundle URL",id:"配置-bundle-url"},{depth:3,value:"iOS",id:"ios-1"},{depth:3,value:"Android",id:"android-1"},{depth:2,value:"禁用 android 的 crunch 优化",id:"禁用-android-的-crunch-优化"},{depth:2,value:"登录与创建应用",id:"登录与创建应用"}];function o(s){let e=Object.assign({p:"p",a:"a",code:"code",h2:"h2",pre:"pre",span:"span",blockquote:"blockquote",details:"details",summary:"summary",table:"table",thead:"thead",tr:"tr",th:"th",tbody:"tbody",td:"td",h3:"h3",ol:"ol",li:"li",ul:"ul"},(0,r.a)(),s.components);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(e.p,{children:"import { Tabs } from 'nextra/components'"}),"\n",(0,l.jsx)(e.p,{children:'首先你应该有一个基于 React Native 开发的应用,我们把具有 package.json 的目录叫做你的"应用根目录"。'}),"\n",(0,l.jsxs)(e.p,{children:["如果你还没有初始化应用,请参阅",(0,l.jsx)(e.a,{href:"https://reactnative.cn/docs/getting-started",children:"开始使用 React Native"}),"。"]}),"\n",(0,l.jsxs)(e.p,{children:["所以我们也假设你已经拥有了开发 React Native 应用的一切环境,包括",(0,l.jsx)(e.code,{children:"Node.js"}),"、",(0,l.jsx)(e.code,{children:"XCode"}),"、",(0,l.jsx)(e.code,{children:"Android SDK"}),"等等。"]}),"\n",(0,l.jsx)(e.h2,{id:"安装",children:"安装"}),"\n",(0,l.jsx)(e.p,{children:"在你的项目根目录下运行以下命令:"}),"\n",(0,l.jsx)(e.pre,{"data-language":"bash","data-theme":"default",children:(0,l.jsxs)(e.code,{"data-language":"bash","data-theme":"default",children:[(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"# 先全局安装命令行工具,每台电脑只用装一次"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"npm"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"i"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"-g"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"react-native-update-cli"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"# 然后在项目目录中安装热更新模块"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"# 0.71 及以上版本使用最新版本如下"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"npm"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"i"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"react-native-update"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"# 0.71 以下版本请使用8.x版本"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"# npm i react-native-update@8.x"})})]})}),"\n",(0,l.jsxs)(e.blockquote,{children:["\n",(0,l.jsxs)(e.p,{children:["如果下载极慢或者显示网络失败,请设置使用淘宝镜像",(0,l.jsx)(e.code,{children:"npx nrm use taobao"})]}),"\n"]}),"\n",(0,l.jsxs)(e.blockquote,{children:["\n",(0,l.jsxs)(e.p,{children:["注意请不要混用",(0,l.jsx)(e.code,{children:"npm/yarn/pnpm"}),"等包管理器及对应的",(0,l.jsx)(e.code,{children:"lock"}),"文件,团队成员请坚持使用同一包管理器,且仅保留统一格式的",(0,l.jsx)(e.code,{children:"lock"}),"文件"]}),"\n"]}),"\n",(0,l.jsx)(e.p,{children:"如果你的 RN 版本 >= 0.60,请在 ios 目录下执行:"}),"\n",(0,l.jsx)(e.pre,{"data-language":"bash","data-theme":"default",children:(0,l.jsx)(e.code,{"data-language":"bash","data-theme":"default",children:(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"pod"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"install"})]})})}),"\n",(0,l.jsxs)(e.p,{children:["如果你的 RN 版本 < 0.60,那么需要先在",(0,l.jsx)(e.code,{children:"package.json"}),"文件的",(0,l.jsx)(e.code,{children:"scripts"}),"中加入:"]}),"\n",(0,l.jsx)(e.pre,{"data-language":"json","data-theme":"default",children:(0,l.jsx)(e.code,{"data-language":"json","data-theme":"default",children:(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"postinstall"'}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:": "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"npx jetify -r"'})]})})}),"\n",(0,l.jsxs)(e.p,{children:["然后按照",(0,l.jsx)(e.a,{href:"#%E6%89%8B%E5%8A%A8-link",children:"手动 link"}),"的说明操作。"]}),"\n",(0,l.jsxs)(e.blockquote,{children:["\n",(0,l.jsx)(e.p,{children:"注意:如果是混编 RN 项目,由于目前官方集成文档并不完善,参照官方文档可能无法实现自动 link 功能。此时即便 RN 版本 >= 0.60,你可能也需要执行手动 link 操作。"}),"\n"]}),"\n",(0,l.jsxs)(e.details,{children:["\n",(0,l.jsx)(e.summary,{children:"\n如果你的RN版本比较老(< 0.46),请点击这里的注意事项\n"}),"\n",(0,l.jsx)(e.p,{children:"如果你的 RN 版本比较老,请按下面表格尝试老一些的版本(但这些版本我们已不再维护,不能保证可以使用):"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,l.jsxs)(e.table,{children:[(0,l.jsx)(e.thead,{children:(0,l.jsxs)(e.tr,{children:[(0,l.jsx)(e.th,{children:"React Native 版本"}),(0,l.jsx)(e.th,{children:"react-native-update 版本"})]})}),(0,l.jsxs)(e.tbody,{children:[(0,l.jsxs)(e.tr,{children:[(0,l.jsx)(e.td,{children:"0.26 及以下"}),(0,l.jsx)(e.td,{children:"1.0.x"})]}),(0,l.jsxs)(e.tr,{children:[(0,l.jsx)(e.td,{children:"0.27 - 0.28"}),(0,l.jsx)(e.td,{children:"2.x"})]}),(0,l.jsxs)(e.tr,{children:[(0,l.jsx)(e.td,{children:"0.29 - 0.33"}),(0,l.jsx)(e.td,{children:"3.x"})]}),(0,l.jsxs)(e.tr,{children:[(0,l.jsx)(e.td,{children:"0.34 - 0.45"}),(0,l.jsx)(e.td,{children:"4.x"})]}),(0,l.jsxs)(e.tr,{children:[(0,l.jsx)(e.td,{children:"0.46 - 0.70"}),(0,l.jsx)(e.td,{children:"8.x"})]})]})]}),"\n",(0,l.jsx)(e.p,{children:"安装命令示例:"}),"\n",(0,l.jsx)(e.pre,{"data-language":"bash","data-theme":"default",children:(0,l.jsx)(e.code,{"data-language":"bash","data-theme":"default",children:(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"npm"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"i"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"react-native-update@4.x"})]})})}),"\n",(0,l.jsxs)(e.p,{children:["如果 RN 的版本是 0.45 及以下,你还必须安装",(0,l.jsx)(e.a,{href:"http://androiddevtools.cn",children:"Android NDK"}),",版本最好选用 r10e,并设置环境变量",(0,l.jsx)(e.code,{children:"ANDROID_NDK_HOME"}),",指向你的 NDK 根目录(例如",(0,l.jsx)(e.code,{children:"/Users/tdzl2003/Downloads/android-ndk-r10e"}),")。"]}),"\n"]}),"\n",(0,l.jsxs)(e.blockquote,{children:["\n",(0,l.jsx)(e.p,{children:"请记得,任意在 ios 和 android 目录下的修改,一定要重新编译(npx react-native run-ios 或 run-android 命令编译,或在 Xcode/Android Studio 中重新编译)才能生效。"}),"\n"]}),"\n",(0,l.jsx)(e.h2,{id:"手动-link",children:"手动 link"}),"\n",(0,l.jsx)(e.p,{children:"如果 RN 版本 >= 0.60 则不需要此手动 link 步骤。"}),"\n",(0,l.jsxs)(e.blockquote,{children:["\n",(0,l.jsx)(e.p,{children:"注意:如果是混编 RN 项目,由于目前官方集成文档并不完善,参照官方文档可能无法实现自动 link 功能。此时即便 RN 版本 >= 0.60,你可能也需要执行手动 link 操作。"}),"\n"]}),"\n",(0,l.jsx)(e.h3,{id:"ios",children:"iOS"}),"\n",(0,l.jsxs)(e.details,{children:["\n",(0,l.jsx)(e.summary,{children:"RN < 0.60且使用CocoaPods(推荐)"}),"\n",(0,l.jsxs)(e.ol,{children:["\n",(0,l.jsx)(e.li,{children:"在 ios/Podfile 中添加"}),"\n"]}),"\n",(0,l.jsx)(e.pre,{"data-language":"text","data-theme":"default",children:(0,l.jsx)(e.code,{"data-language":"text","data-theme":"default",children:(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"pod 'react-native-update', path: '../node_modules/react-native-update'"})})})}),"\n",(0,l.jsxs)(e.ol,{start:"2",children:["\n",(0,l.jsxs)(e.li,{children:["在项目的 ios 目录下运行",(0,l.jsx)(e.code,{children:"pod install"})]}),"\n",(0,l.jsx)(e.li,{children:"重新编译"}),"\n"]}),"\n"]}),"\n",(0,l.jsxs)(e.details,{children:["\n",(0,l.jsx)(e.summary,{children:"RN < 0.60且不使用CocoaPods"}),"\n",(0,l.jsxs)(e.ol,{children:["\n",(0,l.jsxs)(e.li,{children:["在 XCode 中的 Project Navigator 里,右键点击",(0,l.jsx)(e.code,{children:"Libraries"})," ➜ ",(0,l.jsx)(e.code,{children:"Add Files to [你的工程名]"})]}),"\n",(0,l.jsxs)(e.li,{children:["进入",(0,l.jsx)(e.code,{children:"node_modules"})," ➜ ",(0,l.jsx)(e.code,{children:"react-native-update"})," ➜ ",(0,l.jsx)(e.code,{children:"ios 并选中"}),"RCTPushy.xcodeproj`"]}),"\n",(0,l.jsxs)(e.li,{children:["在 XCode 中的 project navigator 里,选中你的工程,在 ",(0,l.jsx)(e.code,{children:"Build Phases"})," ➜ ",(0,l.jsx)(e.code,{children:"Link Binary With Libraries"})," 中添加 ",(0,l.jsx)(e.code,{children:"libRCTPushy.a"}),"、",(0,l.jsx)(e.code,{children:"libz.tbd"}),"、",(0,l.jsx)(e.code,{children:"libbz2.1.0.tbd"})]}),"\n",(0,l.jsxs)(e.li,{children:["继续在",(0,l.jsx)(e.code,{children:"Build Settings"}),"里搜索",(0,l.jsx)(e.code,{children:"Header Search Path"}),",添加",(0,l.jsx)(e.code,{children:"$(SRCROOT)/../node_modules/react-native-update/ios"}),",勾选",(0,l.jsx)(e.code,{children:"recursive"}),"。"]}),"\n",(0,l.jsxs)(e.li,{children:["在",(0,l.jsx)(e.code,{children:"Build Phases"}),"添加一个",(0,l.jsx)(e.code,{children:"New Run Script Phase"}),"运行脚本,内容如下"]}),"\n"]}),"\n",(0,l.jsx)(e.pre,{"data-language":"text","data-theme":"default",children:(0,l.jsxs)(e.code,{"data-language":"text","data-theme":"default",children:[(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"#!/bin/bash"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"set -x"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:'DEST="../node_modules/react-native-update/ios/"'})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:'date +%s > "$DEST/pushy_build_time.txt"'})})]})}),"\n",(0,l.jsxs)(e.ol,{start:"7",children:["\n",(0,l.jsxs)(e.li,{children:["尝试编译一下,顺利的话就会在",(0,l.jsx)(e.code,{children:"../node_modules/react-native-update/ios/"}),"文件夹下面生成一个",(0,l.jsx)(e.code,{children:"pushy_build_time.txt"}),"文件。然后在",(0,l.jsx)(e.code,{children:"Copy Bundle Resources"}),"里把生成的",(0,l.jsx)(e.code,{children:"pushy_build_time.txt"}),"文件添加进去。"]}),"\n"]}),"\n"]}),"\n",(0,l.jsx)(e.h3,{id:"android",children:"Android"}),"\n",(0,l.jsxs)(e.details,{children:["\n",(0,l.jsx)(e.summary,{children:"RN < 0.60"}),"\n",(0,l.jsxs)(e.ol,{children:["\n",(0,l.jsxs)(e.li,{children:["\n",(0,l.jsxs)(e.p,{children:["在",(0,l.jsx)(e.code,{children:"android/settings.gradle"}),"中添加如下代码:"]}),"\n",(0,l.jsx)(e.pre,{"data-language":"text","data-theme":"default",children:(0,l.jsxs)(e.code,{"data-language":"text","data-theme":"default",children:[(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"include ':react-native-update'"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"project(':react-native-update').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-update/android')"})})]})}),"\n"]}),"\n",(0,l.jsxs)(e.li,{children:["\n",(0,l.jsxs)(e.p,{children:["在",(0,l.jsx)(e.code,{children:"android/app/build.gradle"}),"的 dependencies 部分增加如下代码:"]}),"\n",(0,l.jsx)(e.pre,{"data-language":"text","data-theme":"default",children:(0,l.jsx)(e.code,{"data-language":"text","data-theme":"default",children:(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"implementation project(':react-native-update')"})})})}),"\n"]}),"\n",(0,l.jsxs)(e.li,{children:["\n",(0,l.jsxs)(e.p,{children:["打开",(0,l.jsx)(e.code,{children:"android/app/src/main/java/[...]/MainApplication.java"}),","]}),"\n"]}),"\n"]}),"\n",(0,l.jsxs)(e.ul,{children:["\n",(0,l.jsxs)(e.li,{children:["在文件开头增加 ",(0,l.jsx)(e.code,{children:"import cn.reactnative.modules.update.UpdatePackage;"})]}),"\n",(0,l.jsxs)(e.li,{children:["在",(0,l.jsx)(e.code,{children:"getPackages()"})," 方法中增加 ",(0,l.jsx)(e.code,{children:"new UpdatePackage()"}),"(注意上一行可能要增加一个逗号)"]}),"\n"]}),"\n"]}),"\n",(0,l.jsx)(e.h2,{id:"配置-bundle-url",children:"配置 Bundle URL"}),"\n",(0,l.jsx)(e.p,{children:"注意此步骤无论任何版本,目前都需要手动配置。"}),"\n",(0,l.jsx)(e.h3,{id:"ios-1",children:"iOS"}),"\n",(0,l.jsx)(e.p,{children:"在你的 AppDelegate.mm 或 AppDelegate.m 文件(不同 RN 版本可能后缀名不同)中增加如下代码:"}),"\n",(0,l.jsx)(e.pre,{"data-language":"c","data-theme":"default",children:(0,l.jsxs)(e.code,{"data-language":"c","data-theme":"default",children:[(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// ... 其它代码"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"#import"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"AppDelegate.h"'})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"#import"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"RCTPushy.h"'}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// <-- import头文件,注意要放到if条件外面"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// 可能项目里有一些条件编译语句,例如像较新版本RN自带的flipper"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// #if DEBUG"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:'// 注意**不要**在这里面引入"RCTPushy.h"'})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// #import "})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// ..."})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// #endif"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// 如果RN版本 >= 0.59,修改sourceURLForBridge"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"-"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" (NSURL "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"*"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:")sourceURLForBridge:(RCTBridge "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"*"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:")bridge"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"{"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"#if"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"DEBUG"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// 原先这里的写法继续保留(所以debug模式下不可热更新)"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"return"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" ....."})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"#else"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" \xa0// 把这里非DEBUG的情况替换为热更新bundle的写法"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"return"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" [RCTPushy bundleURL];"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"#endif"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"}"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// 如果RN版本 < 0.59,修改didFinishLaunchingWithOptions"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"-"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" (BOOL)application:(UIApplication "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"*"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:")application didFinishLaunchingWithOptions:(NSDictionary "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"*"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:")launchOptions"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"{"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"#if"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"DEBUG"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" \xa0// 原来的jsCodeLocation保留在这里(所以debug模式下不可热更新)"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" \xa0jsCodeLocation "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" .........."})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"#else"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" \xa0// 把这里非DEBUG的情况替换为热更新bundle的写法"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" \xa0jsCodeLocation "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" [RCTPushy bundleURL];"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"#endif"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// ... 其它代码"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"}"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "})]})}),"\n",(0,l.jsx)(e.h3,{id:"android-1",children:"Android"}),"\n",(0,l.jsxs)(e.p,{children:["在 MainApplication 中增加如下代码(如果是混编原生的项目或其他原因没有使用 ReactApplication,请",(0,l.jsx)(e.a,{href:"api#updatecontextsetcustominstancemanagerreactinstancemanager-instancemanager",children:"使用此 api 集成"}),"):"]}),"\n",(0,l.jsx)(e.p,{children:"\n"}),"\n",(0,l.jsx)(e.pre,{"data-language":"kotlin","data-theme":"default",children:(0,l.jsxs)(e.code,{"data-language":"kotlin","data-theme":"default",children:[(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// ... 其它代码"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// ↓↓↓请注意不要少了这句import"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" cn.reactnative.modules.update.UpdateContext;"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// ↑↑↑"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"class"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"MainApplication"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" : "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"Application"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"(), "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"ReactApplication"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" {"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"override"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"val"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" reactNativeHost: "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"ReactNativeHost"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"="})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" object : "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"DefaultReactNativeHost"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"this"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:") {"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// ↓↓↓将下面这一段添加到 DefaultReactNativeHost 内部!"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"override"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"fun"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"getJSBundleFile"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"(): "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"String"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"? {"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"return"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" UpdateContext."}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"getBundleUrl"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"this@MainApplication"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:")"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" }"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// ↑↑↑"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// ...其他代码"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" }"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"}"})})]})}),"\n",(0,l.jsx)(e.p,{children:"\n"}),"\n",(0,l.jsx)(e.pre,{"data-language":"java","data-theme":"default",children:(0,l.jsxs)(e.code,{"data-language":"java","data-theme":"default",children:[(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// ... 其它代码"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// ↓↓↓请注意不要少了这句import"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"cn"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:"."}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"reactnative"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:"."}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"modules"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:"."}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"update"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:"."}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"UpdateContext"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:";"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// ↑↑↑"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"public"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"class"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"MainApplication"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"extends"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"Application"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"implements"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"ReactApplication"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" {"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"private"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"final"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"ReactNativeHost"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" mReactNativeHost "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"="})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// 老版本 RN 这里可能是 new ReactNativeHost(this)"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"new"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"DefaultReactNativeHost("}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"this"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:")"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" {"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// ↓↓↓将下面这一段添加到 DefaultReactNativeHost 内部!"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" @"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"Override"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"protected"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"String"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"getJSBundleFile"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"() {"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"return"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"UpdateContext"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:"."}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"getBundleUrl"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"MainApplication"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:"."}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"this"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:");"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" }"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// ↑↑↑"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// ...其他代码"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" }"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"}"})})]})}),"\n",(0,l.jsx)(e.p,{children:"\n"}),"\n",(0,l.jsxs)(e.blockquote,{children:["\n",(0,l.jsx)(e.p,{children:"请记得,任意在 ios 和 android 目录下的修改,一定要重新编译(npx react-native run-ios 或 run-android 命令编译,或在 Xcode/Android Studio 中重新编译)才能生效。"}),"\n"]}),"\n",(0,l.jsx)(e.h2,{id:"禁用-android-的-crunch-优化",children:"禁用 android 的 crunch 优化"}),"\n",(0,l.jsxs)(e.p,{children:["android 会在生成 apk 时自动对 png 图片进行压缩,此操作既耗时又影响增量补丁的生成。为了保证补丁能正常生成,您需要在",(0,l.jsx)(e.code,{children:"android/app/build.gradle"}),"中关闭此操作:"]}),"\n",(0,l.jsx)(e.pre,{"data-language":"gradle","data-theme":"default",children:(0,l.jsxs)(e.code,{"data-language":"gradle","data-theme":"default",children:[(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"..."})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"android {"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" ..."})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" signingConfigs { ... }"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" buildTypes {"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" release {"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" ..."})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" // 添加下面这行以禁用crunch"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" crunchPngs false"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" }"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" }"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"}"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"..."})})]})}),"\n",(0,l.jsx)(e.h2,{id:"登录与创建应用",children:"登录与创建应用"}),"\n",(0,l.jsxs)(e.p,{children:["首先请在",(0,l.jsx)(e.a,{href:"https://update.reactnative.cn",children:"https://update.reactnative.cn"}),"注册帐号,然后在你的项目根目录下运行以下命令:"]}),"\n",(0,l.jsx)(e.pre,{"data-language":"bash","data-theme":"default",children:(0,l.jsxs)(e.code,{"data-language":"bash","data-theme":"default",children:[(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"$"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"pushy"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"login"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"email:"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"<"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"输入你的注册邮"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"箱"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:">"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"password:"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"<"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"输入你的密"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"码"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:">"})]})]})}),"\n",(0,l.jsxs)(e.p,{children:["这会在项目文件夹下创建一个",(0,l.jsx)(e.code,{children:".update"}),"文件,注意不要把这个文件上传到 Git 等 CVS 系统上。你可以在",(0,l.jsx)(e.code,{children:".gitignore"}),"末尾增加一行",(0,l.jsx)(e.code,{children:".update"}),"来忽略这个文件。"]}),"\n",(0,l.jsx)(e.p,{children:"登录之后可以创建应用。注意 iOS 平台和安卓平台需要分别创建:"}),"\n",(0,l.jsx)(e.pre,{"data-language":"bash","data-theme":"default",children:(0,l.jsxs)(e.code,{"data-language":"bash","data-theme":"default",children:[(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"$"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"pushy"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"createApp"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"--platform"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"ios"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"App"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"Name:"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"<"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"输入应用名"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"字"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:">"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"$"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"pushy"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"createApp"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"--platform"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"android"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"App"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"Name:"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"<"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"输入应用名"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"字"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:">"})]})]})}),"\n",(0,l.jsxs)(e.blockquote,{children:["\n",(0,l.jsx)(e.p,{children:"两次输入的名字可以相同,这没有关系。"}),"\n"]}),"\n",(0,l.jsx)(e.p,{children:"如果你已经在网页端或者其它地方创建过应用,也可以直接选择应用:"}),"\n",(0,l.jsx)(e.pre,{"data-language":"bash","data-theme":"default",children:(0,l.jsxs)(e.code,{"data-language":"bash","data-theme":"default",children:[(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"$"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"pushy"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"selectApp"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"--platform"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"ios"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"1"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:") 鱼多多("}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"ios"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:")"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"2"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:") 招财旺("}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"ios"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:")"})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:" "}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"Total"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"2"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"ios"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"apps"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"Enter"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"appId:"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"<"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"输入应用前面的编"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"号"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:">"})]})]})}),"\n",(0,l.jsxs)(e.p,{children:["选择或者创建过应用后,你将可以在文件夹下看到",(0,l.jsx)(e.code,{children:"update.json"}),"文件,其内容类似如下形式:"]}),"\n",(0,l.jsx)(e.pre,{"data-language":"bash","data-theme":"default",children:(0,l.jsxs)(e.code,{"data-language":"bash","data-theme":"default",children:[(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"{"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:'"ios"'}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:":"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"{"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:'"appId"'}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:":"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"1"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:","})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:'"appKey"'}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:":"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"<一串随机字符串>"'})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" },"})}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:'"android"'}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:":"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:"{"})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:'"appId"'}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:":"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"2"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string)"},children:","})]}),"\n",(0,l.jsxs)(e.span,{className:"line",children:[(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:'"appKey"'}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:":"}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,l.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"<一串随机字符串>"'})]}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:" }"})}),"\n",(0,l.jsx)(e.span,{className:"line",children:(0,l.jsx)(e.span,{style:{color:"var(--shiki-color-text)"},children:"}"})})]})}),"\n",(0,l.jsxs)(e.p,{children:["你可以安全的把",(0,l.jsx)(e.code,{children:"update.json"}),"上传到 Git 等 CVS 系统上,与你的团队共享这个文件,它不包含任何敏感信息。当然,他们在使用任何功能之前,都必须首先输入",(0,l.jsx)(e.code,{children:"pushy login"}),"进行登录。"]}),"\n",(0,l.jsxs)(e.p,{children:["至此应用的创建/选择就已经成功了。下一步,你需要给代码添加相应的功能,请参阅",(0,l.jsx)(e.a,{href:"integration",children:"代码集成"}),"。"]})]})}e.default=(0,i.j)({MDXContent:function(){let s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:e}=Object.assign({},(0,r.a)(),s.components);return e?(0,l.jsx)(e,{...s,children:(0,l.jsx)(o,{...s})}):o(s)},pageOpts:{filePath:"pages/docs/getting-started.md",route:"/docs/getting-started",frontMatter:{order:0,title:"安装配置",type:"快速入门"},title:"安装配置",headings:a},pageNextRoute:"/docs/getting-started"})}},function(s){s.O(0,[13,774,888,179],function(){return s(s.s=81952)}),_N_E=s.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/index-2809fa79738d4504.js b/_next/static/chunks/pages/index-eee58a1770b22ca6.js similarity index 99% rename from _next/static/chunks/pages/index-2809fa79738d4504.js rename to _next/static/chunks/pages/index-eee58a1770b22ca6.js index bad5000..30f5b5f 100644 --- a/_next/static/chunks/pages/index-2809fa79738d4504.js +++ b/_next/static/chunks/pages/index-eee58a1770b22ca6.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{71513:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return i(85915)}])},85915:function(e,t,i){"use strict";i.r(t),i.d(t,{__toc:function(){return T},default:function(){return F}});var s=i(11527),r=i(5013),a=i(1160),n=i.n(a),c=i(93169),h=i(26813),l=i.n(h),d=i(33516),o={src:"/_next/static/media/home_hero.d1138b55.svg",height:1200,width:1600,blurWidth:0,blurHeight:0},x=i(49045),p=i.n(x),u=function(e){let{isMobile:t}=e;return(0,s.jsxs)("div",{className:"banner-wrapper",children:[(0,s.jsxs)("div",{className:"banner-title-wrapper",children:[(0,s.jsx)(p(),{src:d.Z,style:{margin:"0 0 25px 20px"},alt:"Pushy"}),(0,s.jsx)("p",{children:"极速热更新框架 for React Native"}),(0,s.jsx)("hr",{}),(0,s.jsxs)("p",{style:{marginTop:30,fontSize:16},children:["高速节点勤分发 \xa0\xa0\xa0山河浩广若比邻",(0,s.jsx)("br",{}),"增量算法尽优化 \xa0\xa0\xa0字节四两拨千斤"]}),(0,s.jsxs)("div",{className:"button-wrapper",children:[(0,s.jsx)(l(),{href:"/docs/getting-started",children:(0,s.jsx)(c.ZP,{size:"large",className:"mr-4",type:"primary",ghost:!0,children:"立即免费体验"})}),(0,s.jsx)(n(),{type:"stargazers",namespace:"reactnativecn",repo:"react-native-pushy"},"github-button")]})]}),!t&&(0,s.jsx)("div",{className:"banner-image-wrapper",children:(0,s.jsx)(p(),{height:420,src:o,alt:""})})]})},g=i(50959),m=i(58496),j=i(66031),v=i(26744),f=i(2146),b=i(85096);let y=[{title:"增量更新",content:["基于 bsdiff/hdiff 算法创建","kb 级别超小更新包"],src:{src:"/_next/static/media/smartphone-3.764ef8a6.svg",height:512,width:512,blurWidth:0,blurHeight:0}},{title:"快捷发布",content:["命令行工具 & 网页双端管理","支持CI部署"],src:{src:"/_next/static/media/internet-1.b43e369d.svg",height:512,width:512,blurWidth:0,blurHeight:0}},{title:"极速下载",content:["基于阿里云高速CDN分发","全国范围秒速更新"],src:{src:"/_next/static/media/wifi.5fb5072f.svg",height:512,width:512,blurWidth:0,blurHeight:0}},{title:"稳定可靠",content:["自带崩溃回滚机制","安全可靠"],src:{src:"/_next/static/media/circuit.49da033b.svg",height:512,width:512,blurWidth:0,blurHeight:0}},{title:"灵活扩展",content:["开放定制元信息","提供灵活自由的更新策略"],src:{src:"/_next/static/media/strategy.bf162499.svg",height:512,width:512,blurWidth:0,blurHeight:0}},{title:"技术支持",content:["遇到技术问题?","工作时间段内小时级别响应"],src:{src:"/_next/static/media/chat.7d446ceb.svg",height:512,width:512,blurWidth:0,blurHeight:0}}],w=[{x:-30,y:-10},{x:20,y:-20},{x:-65,y:15},{x:-45,y:80},{x:35,y:5},{x:50,y:50,opacity:.2}];class N extends g.Component{render(){let{hoverNum:e}=this.state,{isMobile:t}=this.props,i=[[],[],[]];return y.forEach((r,a)=>{let n=e===a,c=["point-0 left","point-0 right","point-ring","point-1","point-2","point-3"].map(e=>(0,s.jsx)(f.ZP,{component:"i",className:e,style:{background:r.color,borderColor:r.color}},e)),h=(0,s.jsx)("li",{children:(0,s.jsxs)("div",{className:"page1-box",onMouseEnter:()=>{this.onMouseOver(a)},onMouseLeave:this.onMouseOut,children:[(0,s.jsx)(b.Z,{className:"page1-point-wrapper",enter:this.getEnter,leave:{x:0,y:30,opacity:0,duration:300,ease:"easeInBack"},resetStyle:!1,exclusive:!0,children:(t||n)&&c}),(0,s.jsx)("div",{className:"page1-image",style:{boxShadow:"".concat(n?"0 12px 24px":"0 6px 12px"," ").concat(r.shadowColor)},children:(0,s.jsx)(p(),{src:r.src,alt:"img",style:4===a?{marginLeft:-15}:{}})}),(0,s.jsx)("h3",{children:r.title}),r.content.map((e,t)=>(0,s.jsx)("p",{children:e},t))]})},a.toString());i[Math.floor(a/3)].push(h)}),i=i.map((e,t)=>(0,s.jsx)(v.Z,{className:"page1-box-wrapper",type:"bottom",leaveReverse:!0,delay:[100*t,(i.length-1-t)*100],component:"ul",children:e},t.toString())),(0,s.jsx)("div",{className:"home-page page1",children:(0,s.jsxs)("div",{className:"home-page-wrapper",id:"page1-wrapper",children:[!t&&(0,s.jsx)(j.Z,{className:"page1-bg",animation:{translateY:200,ease:"linear",playScale:[0,1.65]},location:"page1-wrapper",children:"Feature"}),(0,s.jsxs)("h2",{children:["为什么选择 ",(0,s.jsx)("span",{children:"Pushy"})]}),(0,s.jsx)("div",{className:"title-line-wrapper page1-line",children:(0,s.jsx)("div",{className:"title-line"})}),(0,s.jsx)(m.Z,{children:i}),(0,s.jsxs)("div",{style:{float:"right",opacity:.4,marginRight:"6%"},children:["Icons made by"," ",(0,s.jsx)("a",{href:"https://www.flaticon.com/authors/swifticons",title:"Swifticons",children:"Swifticons"})," ","from"," ",(0,s.jsx)("a",{href:"https://www.flaticon.com/",title:"Flaticon",children:"www.flaticon.com"})]})]})})}constructor(...e){super(...e),this.state={hoverNum:null},this.onMouseOver=e=>{this.setState({hoverNum:e})},this.onMouseOut=()=>{this.setState({hoverNum:null})},this.getEnter=e=>{let t=e.index,i=10*Math.random()+5;return[{delay:Math.round(Math.random()*(50*t)),opacity:.4,...w[e.index],ease:"easeOutBack",duration:300},{y:2*Math.random()-1>0?"+=".concat(i):"-=".concat(i),duration:1e3*Math.random()+2e3,yoyo:!0,repeat:-1}]}}}var _=i(86030),H=i.n(_),W=function(){return(0,s.jsx)("div",{className:"home-page page2",children:(0,s.jsxs)("div",{className:"home-page-wrapper",children:[(0,s.jsx)("div",{className:"title-line-wrapper page2-line",children:(0,s.jsx)("div",{className:"title-line"})}),(0,s.jsxs)("h2",{children:["Let’s ",(0,s.jsx)("span",{children:"Pushy"})]}),(0,s.jsx)(H(),{children:(0,s.jsxs)(v.Z,{type:"bottom",leaveReverse:!0,className:"page2-content",children:[(0,s.jsxs)("div",{className:"home-code",children:[(0,s.jsx)("div",{children:"# 安装"}),(0,s.jsx)("div",{children:"$ npm i -g react-native-update-cli"}),(0,s.jsx)("div",{children:"$ npm i react-native-update && cd ios && pod install"}),(0,s.jsx)("br",{}),(0,s.jsx)("div",{children:"# 上传原生基础包"}),(0,s.jsx)("div",{children:"$ pushy uploadIpa yourApp.ipa"}),(0,s.jsx)("div",{children:"$ pushy uploadApk yourApp.apk"}),(0,s.jsx)("br",{}),(0,s.jsx)("div",{children:"# 生成并上传热更包"}),(0,s.jsx)("div",{children:"$ pushy bundle --platform android"}),(0,s.jsx)("div",{children:"$ pushy bundle --platform ios"})]},"code1"),(0,s.jsx)(c.ZP,{style:{marginTop:40,padding:"4px 56px"},type:"primary",href:"/docs/getting-started",children:"查看文档"})]},"queue")})]})})},M={src:"/_next/static/media/wyyx.888677b3.svg",height:29,width:98,blurWidth:0,blurHeight:0},k={src:"/_next/static/media/lyl.f8b29a84.svg",height:28,width:76,blurWidth:0,blurHeight:0},P={src:"/_next/static/media/hzsfdx.5234e6fb.svg",height:39,width:133,blurWidth:0,blurHeight:0},S={src:"/_next/static/media/jljr.6e1e625b.svg",height:35,width:90,blurWidth:0,blurHeight:0},E={src:"/_next/static/media/pabdc.94ba2393.svg",height:28,width:112,blurWidth:0,blurHeight:0},Z={src:"/_next/static/media/yckj.4f5dce8d.svg",height:25,width:75,blurWidth:0,blurHeight:0},C={src:"/_next/static/media/najj.57af17e1.svg",height:45,width:97,blurWidth:0,blurHeight:0},O={src:"/_next/static/media/rjwl.e0d2f33e.svg",height:17,width:101,blurWidth:0,blurHeight:0},$={src:"/_next/static/media/htxx.c1058a24.svg",height:25,width:126,blurWidth:0,blurHeight:0},I={src:"/_next/static/media/tjgj.f0e74f29.svg",height:25,width:84,blurWidth:0,blurHeight:0},R=function(e){let{isMobile:t}=e;return(0,s.jsxs)("div",{className:"max-w-[1250px] mx-auto home-page !mb-32",children:[(0,s.jsxs)("h2",{children:["他们选择了 ",(0,s.jsx)("span",{children:"Pushy"})]}),(0,s.jsx)("div",{className:"title-line-wrapper page1-line !mb-10",children:(0,s.jsx)("div",{className:"title-line"})}),(0,s.jsxs)("div",{className:"grid grid-cols-2 xl:grid-cols-5 gap-y-5",children:[(0,s.jsx)("div",{className:"h-20 flex justify-center items-center",children:(0,s.jsx)(p(),{src:M,alt:"网易游戏",height:60})}),(0,s.jsx)("div",{className:"h-20 flex justify-center items-center",children:(0,s.jsx)(p(),{src:k,alt:"蓝月亮",height:50})}),(0,s.jsx)("div",{className:"h-20 flex justify-center items-center",children:(0,s.jsx)(p(),{src:P,alt:"华中师范大学",height:75})}),(0,s.jsx)("div",{className:"h-20 flex justify-center items-center",children:(0,s.jsx)(p(),{src:S,alt:"娇兰佳人",height:70})}),(0,s.jsx)("div",{className:"h-20 flex justify-center items-center",children:(0,s.jsx)(p(),{src:E,alt:"平安不动产",height:60})}),(0,s.jsx)("div",{className:"h-20 flex justify-center items-center",children:(0,s.jsx)(p(),{src:Z,alt:"友车科技",height:55})}),(0,s.jsx)("div",{className:"h-20 flex justify-center items-center",children:(0,s.jsx)(p(),{src:C,alt:"诺安基金",height:70})}),(0,s.jsx)("div",{className:"h-20 flex justify-center items-center",children:(0,s.jsx)(p(),{src:O,alt:"锐捷网络",height:35})}),(0,s.jsx)("div",{className:"h-20 flex justify-center items-center",children:(0,s.jsx)(p(),{src:$,alt:"航天信息",height:42})}),(0,s.jsx)("div",{className:"h-20 flex justify-center items-center",children:(0,s.jsx)(p(),{src:I,alt:"天津公交",height:48})})]})]})};let z=function(e){return(0,s.jsxs)("div",{className:"home-wrapper",children:[(0,s.jsx)(u,{...e}),(0,s.jsx)(R,{...e}),(0,s.jsx)(N,{...e}),(0,s.jsx)(W,{...e})]})},T=[];function A(e){return(0,s.jsx)(s.Fragment,{})}var F=(0,r.j)({MDXContent:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,s.jsx)(z,{...e,children:(0,s.jsx)(A,{...e})})},pageOpts:{filePath:"pages/index.mdx",route:"/",title:"Index",headings:T},pageNextRoute:"/"})}},function(e){e.O(0,[13,751,774,888,179],function(){return e(e.s=71513)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{71513:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return i(85915)}])},85915:function(e,t,i){"use strict";i.r(t),i.d(t,{__toc:function(){return T},default:function(){return F}});var s=i(11527),r=i(5013),a=i(1160),n=i.n(a),c=i(93169),h=i(26813),l=i.n(h),d=i(33516),o={src:"/_next/static/media/home_hero.d1138b55.svg",height:1200,width:1600,blurWidth:0,blurHeight:0},x=i(49045),p=i.n(x),u=function(e){let{isMobile:t}=e;return(0,s.jsxs)("div",{className:"banner-wrapper",children:[(0,s.jsxs)("div",{className:"banner-title-wrapper",children:[(0,s.jsx)(p(),{src:d.Z,style:{margin:"0 0 25px 20px"},alt:"Pushy"}),(0,s.jsx)("p",{children:"极速热更新框架 for React Native"}),(0,s.jsx)("hr",{}),(0,s.jsxs)("p",{style:{marginTop:30,fontSize:16},children:["高速节点勤分发 \xa0\xa0\xa0山河浩广若比邻",(0,s.jsx)("br",{}),"增量算法尽优化 \xa0\xa0\xa0字节四两拨千斤"]}),(0,s.jsxs)("div",{className:"button-wrapper",children:[(0,s.jsx)(l(),{href:"/docs/getting-started",children:(0,s.jsx)(c.ZP,{size:"large",className:"mr-4",type:"primary",ghost:!0,children:"立即免费体验"})}),(0,s.jsx)(n(),{type:"stargazers",namespace:"reactnativecn",repo:"react-native-pushy"},"github-button")]})]}),!t&&(0,s.jsx)("div",{className:"banner-image-wrapper",children:(0,s.jsx)(p(),{height:420,src:o,alt:""})})]})},g=i(50959),m=i(58496),j=i(66031),v=i(26744),f=i(2146),b=i(85096);let y=[{title:"增量更新",content:["基于 bsdiff/hdiff 算法创建","kb 级别超小更新包"],src:{src:"/_next/static/media/smartphone-3.764ef8a6.svg",height:512,width:512,blurWidth:0,blurHeight:0}},{title:"快捷发布",content:["命令行工具 & 网页双端管理","支持CI部署"],src:{src:"/_next/static/media/internet-1.b43e369d.svg",height:512,width:512,blurWidth:0,blurHeight:0}},{title:"极速下载",content:["基于阿里云高速CDN分发","全国范围秒速更新"],src:{src:"/_next/static/media/wifi.5fb5072f.svg",height:512,width:512,blurWidth:0,blurHeight:0}},{title:"稳定可靠",content:["自带崩溃回滚机制","安全可靠"],src:{src:"/_next/static/media/circuit.49da033b.svg",height:512,width:512,blurWidth:0,blurHeight:0}},{title:"灵活扩展",content:["开放定制元信息","提供灵活自由的更新策略"],src:{src:"/_next/static/media/strategy.bf162499.svg",height:512,width:512,blurWidth:0,blurHeight:0}},{title:"技术支持",content:["遇到技术问题?","工作时间段内小时级别响应"],src:{src:"/_next/static/media/chat.7d446ceb.svg",height:512,width:512,blurWidth:0,blurHeight:0}}],w=[{x:-30,y:-10},{x:20,y:-20},{x:-65,y:15},{x:-45,y:80},{x:35,y:5},{x:50,y:50,opacity:.2}];class N extends g.Component{render(){let{hoverNum:e}=this.state,{isMobile:t}=this.props,i=[[],[],[]];return y.forEach((r,a)=>{let n=e===a,c=["point-0 left","point-0 right","point-ring","point-1","point-2","point-3"].map(e=>(0,s.jsx)(f.ZP,{component:"i",className:e,style:{background:r.color,borderColor:r.color}},e)),h=(0,s.jsx)("li",{children:(0,s.jsxs)("div",{className:"page1-box",onMouseEnter:()=>{this.onMouseOver(a)},onMouseLeave:this.onMouseOut,children:[(0,s.jsx)(b.Z,{className:"page1-point-wrapper",enter:this.getEnter,leave:{x:0,y:30,opacity:0,duration:300,ease:"easeInBack"},resetStyle:!1,exclusive:!0,children:(t||n)&&c}),(0,s.jsx)("div",{className:"page1-image",style:{boxShadow:"".concat(n?"0 12px 24px":"0 6px 12px"," ").concat(r.shadowColor)},children:(0,s.jsx)(p(),{src:r.src,alt:"img",style:4===a?{marginLeft:-15}:{}})}),(0,s.jsx)("h3",{children:r.title}),r.content.map((e,t)=>(0,s.jsx)("p",{children:e},t))]})},a.toString());i[Math.floor(a/3)].push(h)}),i=i.map((e,t)=>(0,s.jsx)(v.Z,{className:"page1-box-wrapper",type:"bottom",leaveReverse:!0,delay:[100*t,(i.length-1-t)*100],component:"ul",children:e},t.toString())),(0,s.jsx)("div",{className:"home-page page1",children:(0,s.jsxs)("div",{className:"home-page-wrapper",id:"page1-wrapper",children:[!t&&(0,s.jsx)(j.Z,{className:"page1-bg",animation:{translateY:200,ease:"linear",playScale:[0,1.65]},location:"page1-wrapper",children:"Feature"}),(0,s.jsxs)("h2",{children:["为什么选择 ",(0,s.jsx)("span",{children:"Pushy"})]}),(0,s.jsx)("div",{className:"title-line-wrapper page1-line",children:(0,s.jsx)("div",{className:"title-line"})}),(0,s.jsx)(m.Z,{children:i}),(0,s.jsxs)("div",{style:{float:"right",opacity:.4,marginRight:"6%"},children:["Icons made by"," ",(0,s.jsx)("a",{href:"https://www.flaticon.com/authors/swifticons",title:"Swifticons",children:"Swifticons"})," ","from"," ",(0,s.jsx)("a",{href:"https://www.flaticon.com/",title:"Flaticon",children:"www.flaticon.com"})]})]})})}constructor(...e){super(...e),this.state={hoverNum:null},this.onMouseOver=e=>{this.setState({hoverNum:e})},this.onMouseOut=()=>{this.setState({hoverNum:null})},this.getEnter=e=>{let t=e.index,i=10*Math.random()+5;return[{delay:Math.round(Math.random()*(50*t)),opacity:.4,...w[e.index],ease:"easeOutBack",duration:300},{y:2*Math.random()-1>0?"+=".concat(i):"-=".concat(i),duration:1e3*Math.random()+2e3,yoyo:!0,repeat:-1}]}}}var _=i(12380),H=i.n(_),W=function(){return(0,s.jsx)("div",{className:"home-page page2",children:(0,s.jsxs)("div",{className:"home-page-wrapper",children:[(0,s.jsx)("div",{className:"title-line-wrapper page2-line",children:(0,s.jsx)("div",{className:"title-line"})}),(0,s.jsxs)("h2",{children:["Let’s ",(0,s.jsx)("span",{children:"Pushy"})]}),(0,s.jsx)(H(),{children:(0,s.jsxs)(v.Z,{type:"bottom",leaveReverse:!0,className:"page2-content",children:[(0,s.jsxs)("div",{className:"home-code",children:[(0,s.jsx)("div",{children:"# 安装"}),(0,s.jsx)("div",{children:"$ npm i -g react-native-update-cli"}),(0,s.jsx)("div",{children:"$ npm i react-native-update && cd ios && pod install"}),(0,s.jsx)("br",{}),(0,s.jsx)("div",{children:"# 上传原生基础包"}),(0,s.jsx)("div",{children:"$ pushy uploadIpa yourApp.ipa"}),(0,s.jsx)("div",{children:"$ pushy uploadApk yourApp.apk"}),(0,s.jsx)("br",{}),(0,s.jsx)("div",{children:"# 生成并上传热更包"}),(0,s.jsx)("div",{children:"$ pushy bundle --platform android"}),(0,s.jsx)("div",{children:"$ pushy bundle --platform ios"})]},"code1"),(0,s.jsx)(c.ZP,{style:{marginTop:40,padding:"4px 56px"},type:"primary",href:"/docs/getting-started",children:"查看文档"})]},"queue")})]})})},M={src:"/_next/static/media/wyyx.888677b3.svg",height:29,width:98,blurWidth:0,blurHeight:0},k={src:"/_next/static/media/lyl.f8b29a84.svg",height:28,width:76,blurWidth:0,blurHeight:0},P={src:"/_next/static/media/hzsfdx.5234e6fb.svg",height:39,width:133,blurWidth:0,blurHeight:0},S={src:"/_next/static/media/jljr.6e1e625b.svg",height:35,width:90,blurWidth:0,blurHeight:0},E={src:"/_next/static/media/pabdc.94ba2393.svg",height:28,width:112,blurWidth:0,blurHeight:0},Z={src:"/_next/static/media/yckj.4f5dce8d.svg",height:25,width:75,blurWidth:0,blurHeight:0},C={src:"/_next/static/media/najj.57af17e1.svg",height:45,width:97,blurWidth:0,blurHeight:0},O={src:"/_next/static/media/rjwl.e0d2f33e.svg",height:17,width:101,blurWidth:0,blurHeight:0},$={src:"/_next/static/media/htxx.c1058a24.svg",height:25,width:126,blurWidth:0,blurHeight:0},I={src:"/_next/static/media/tjgj.f0e74f29.svg",height:25,width:84,blurWidth:0,blurHeight:0},R=function(e){let{isMobile:t}=e;return(0,s.jsxs)("div",{className:"max-w-[1250px] mx-auto home-page !mb-32",children:[(0,s.jsxs)("h2",{children:["他们选择了 ",(0,s.jsx)("span",{children:"Pushy"})]}),(0,s.jsx)("div",{className:"title-line-wrapper page1-line !mb-10",children:(0,s.jsx)("div",{className:"title-line"})}),(0,s.jsxs)("div",{className:"grid grid-cols-2 xl:grid-cols-5 gap-y-5",children:[(0,s.jsx)("div",{className:"h-20 flex justify-center items-center",children:(0,s.jsx)(p(),{src:M,alt:"网易游戏",height:60})}),(0,s.jsx)("div",{className:"h-20 flex justify-center items-center",children:(0,s.jsx)(p(),{src:k,alt:"蓝月亮",height:50})}),(0,s.jsx)("div",{className:"h-20 flex justify-center items-center",children:(0,s.jsx)(p(),{src:P,alt:"华中师范大学",height:75})}),(0,s.jsx)("div",{className:"h-20 flex justify-center items-center",children:(0,s.jsx)(p(),{src:S,alt:"娇兰佳人",height:70})}),(0,s.jsx)("div",{className:"h-20 flex justify-center items-center",children:(0,s.jsx)(p(),{src:E,alt:"平安不动产",height:60})}),(0,s.jsx)("div",{className:"h-20 flex justify-center items-center",children:(0,s.jsx)(p(),{src:Z,alt:"友车科技",height:55})}),(0,s.jsx)("div",{className:"h-20 flex justify-center items-center",children:(0,s.jsx)(p(),{src:C,alt:"诺安基金",height:70})}),(0,s.jsx)("div",{className:"h-20 flex justify-center items-center",children:(0,s.jsx)(p(),{src:O,alt:"锐捷网络",height:35})}),(0,s.jsx)("div",{className:"h-20 flex justify-center items-center",children:(0,s.jsx)(p(),{src:$,alt:"航天信息",height:42})}),(0,s.jsx)("div",{className:"h-20 flex justify-center items-center",children:(0,s.jsx)(p(),{src:I,alt:"天津公交",height:48})})]})]})};let z=function(e){return(0,s.jsxs)("div",{className:"home-wrapper",children:[(0,s.jsx)(u,{...e}),(0,s.jsx)(R,{...e}),(0,s.jsx)(N,{...e}),(0,s.jsx)(W,{...e})]})},T=[];function A(e){return(0,s.jsx)(s.Fragment,{})}var F=(0,r.j)({MDXContent:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,s.jsx)(z,{...e,children:(0,s.jsx)(A,{...e})})},pageOpts:{filePath:"pages/index.mdx",route:"/",title:"Index",headings:T},pageNextRoute:"/"})}},function(e){e.O(0,[13,751,774,888,179],function(){return e(e.s=71513)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/HOdQZuiIy8gYkJgmAp1mK/_buildManifest.js b/_next/static/hsXzkAmgB1Qs633w5sCpN/_buildManifest.js similarity index 80% rename from _next/static/HOdQZuiIy8gYkJgmAp1mK/_buildManifest.js rename to _next/static/hsXzkAmgB1Qs633w5sCpN/_buildManifest.js index 91f1f30..03708dd 100644 --- a/_next/static/HOdQZuiIy8gYkJgmAp1mK/_buildManifest.js +++ b/_next/static/hsXzkAmgB1Qs633w5sCpN/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST=function(s){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[s,"static/chunks/751-fa991ae47866fe0c.js","static/chunks/pages/index-2809fa79738d4504.js"],"/_error":["static/chunks/pages/_error-c2b109bd2149f9d1.js"],"/docs/api":[s,"static/chunks/pages/docs/api-18c5e4e846612ed3.js"],"/docs/bestpractice":[s,"static/chunks/pages/docs/bestpractice-f667562c9120da54.js"],"/docs/changelog":[s,"static/chunks/pages/docs/changelog-a44050c445cef539.js"],"/docs/cli":[s,"static/chunks/pages/docs/cli-50d0eb6dbcc3892e.js"],"/docs/faq":[s,"static/chunks/pages/docs/faq-f516963e5e818f87.js"],"/docs/getting-started":[s,"static/chunks/pages/docs/getting-started-88adee056e09300b.js"],"/docs/integration":[s,"static/chunks/pages/docs/integration-b28e22069f4a27e6.js"],"/docs/publish":["static/chunks/42a66924-d3638db00b3ad4e8.js",s,"static/chunks/807-16fc744826449e1e.js","static/chunks/pages/docs/publish-18497e8e8ec946cc.js"],"/pricing":[s,"static/chunks/467-604214b68d2fd0ac.js","static/chunks/pages/pricing-32cdce4af104312c.js"],sortedPages:["/","/_app","/_error","/docs/api","/docs/bestpractice","/docs/changelog","/docs/cli","/docs/faq","/docs/getting-started","/docs/integration","/docs/publish","/pricing"]}}("static/chunks/13-b2ead5f8cb5483ca.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file +self.__BUILD_MANIFEST=function(s){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[s,"static/chunks/751-e6b1b04852480656.js","static/chunks/pages/index-eee58a1770b22ca6.js"],"/_error":["static/chunks/pages/_error-c2b109bd2149f9d1.js"],"/docs/api":[s,"static/chunks/pages/docs/api-18c5e4e846612ed3.js"],"/docs/bestpractice":[s,"static/chunks/pages/docs/bestpractice-f667562c9120da54.js"],"/docs/changelog":[s,"static/chunks/pages/docs/changelog-a44050c445cef539.js"],"/docs/cli":[s,"static/chunks/pages/docs/cli-50d0eb6dbcc3892e.js"],"/docs/faq":[s,"static/chunks/pages/docs/faq-3feb5012af493fc9.js"],"/docs/getting-started":[s,"static/chunks/pages/docs/getting-started-3106b0541d43cfac.js"],"/docs/integration":[s,"static/chunks/pages/docs/integration-b28e22069f4a27e6.js"],"/docs/publish":["static/chunks/42a66924-d3638db00b3ad4e8.js",s,"static/chunks/807-16fc744826449e1e.js","static/chunks/pages/docs/publish-18497e8e8ec946cc.js"],"/pricing":[s,"static/chunks/467-604214b68d2fd0ac.js","static/chunks/pages/pricing-32cdce4af104312c.js"],sortedPages:["/","/_app","/_error","/docs/api","/docs/bestpractice","/docs/changelog","/docs/cli","/docs/faq","/docs/getting-started","/docs/integration","/docs/publish","/pricing"]}}("static/chunks/13-b2ead5f8cb5483ca.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/HOdQZuiIy8gYkJgmAp1mK/_ssgManifest.js b/_next/static/hsXzkAmgB1Qs633w5sCpN/_ssgManifest.js similarity index 100% rename from _next/static/HOdQZuiIy8gYkJgmAp1mK/_ssgManifest.js rename to _next/static/hsXzkAmgB1Qs633w5sCpN/_ssgManifest.js diff --git a/docs/api.html b/docs/api.html index dcd5ab1..e0d5d93 100644 --- a/docs/api.html +++ b/docs/api.html @@ -11,7 +11,7 @@ --nextra-primary-hue: 204deg; --nextra-primary-saturation: 100%; } -
文档
API参考

JavaScript 常量

+
\ No newline at end of file +UpdateContext.setCustomInstanceManager(mReactInstanceManager);
\ No newline at end of file diff --git a/docs/bestpractice.html b/docs/bestpractice.html index 1ac6927..aa80ab4 100644 --- a/docs/bestpractice.html +++ b/docs/bestpractice.html @@ -11,7 +11,7 @@ --nextra-primary-hue: 204deg; --nextra-primary-saturation: 100%; } -
文档
场景实践

优化原生和热更包体积

+
文档
场景实践

优化原生和热更包体积

iOS 原生包优化(ipa)

对于同一份 archive(其版本号、编译时间和内置 bundle 已固定,不会受导出方式所影响),可以用不同选项多次导出 ipa,选择其中最小的上传到 pushy 服务器作为热更基准包。

bitcode

@@ -105,4 +105,4 @@

// 否则还是走之前的询问流程 // Alert.alert('提示', '检查到新的版本....... }

-

又比如,可能某个版本包含一些重要的公告内容,所以还可以在上面插入一个公告字段等等。如何使用元信息,完全取决于您的想象力!

\ No newline at end of file +

又比如,可能某个版本包含一些重要的公告内容,所以还可以在上面插入一个公告字段等等。如何使用元信息,完全取决于您的想象力!

\ No newline at end of file diff --git a/docs/changelog.html b/docs/changelog.html index dc9920e..f05c931 100644 --- a/docs/changelog.html +++ b/docs/changelog.html @@ -11,7 +11,7 @@ --nextra-primary-hue: 204deg; --nextra-primary-saturation: 100%; } -
文档
更新日志

9.0.0(2023-09-02)

+
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/cli.html b/docs/cli.html index d4c8598..f6d9e3f 100644 --- a/docs/cli.html +++ b/docs/cli.html @@ -11,7 +11,7 @@ --nextra-primary-hue: 204deg; --nextra-primary-saturation: 100%; } -
文档
命令行工具

安装

+
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/faq.html b/docs/faq.html index 884f63a..afc6782 100644 --- a/docs/faq.html +++ b/docs/faq.html @@ -11,7 +11,7 @@ --nextra-primary-hue: 204deg; --nextra-primary-saturation: 100%; } -
文档
常见问题

如果本页面没能回答您的疑问,您可以去issues 区 (opens in a new tab)或 QQ 群 729013783 提问,或给我们发邮件

+
文档
常见问题

如果本页面没能回答您的疑问,您可以去issues 区 (opens in a new tab)或 QQ 群 729013783 提问,或给我们发邮件

业务问题

热更新究竟能否上架?

您可能听说过各种说法,但大量实践表明,热更新目前能够顺利上架 AppStore 和其他各种应用市场。唯一需要注意的是,在审核期间请不要发布热更新,不要让审核人员看到各种更新相关的提示和弹窗,即可顺利通过。

@@ -44,9 +44,6 @@

这些功能都不会使用我们的热更新服务,也无需注册或登录账号。但你可能要编写自己的 js 模块来与不同的热更新服务器通讯。

如果您有兴趣搭建私有云服务,可以邮件联系我们


-

XCode 编译时报错 "_BZ2_bzRead", referenced from 等

-

在工程 target 的 Build Phases->Link Binary with Libraries 中加入 libz.tbd、libbz2.1.0.tbd

-

热更新成功完成,但是重启后又回滚了是怎么回事?

可以正常更新,但是重启后回滚,一般有两种可能的情况:

    @@ -64,9 +61,7 @@

    我知道上传过1A包,但我有原生方面的修改需要打了一个新的1B包。此时若将1B包上传到 pushy 服务器会提示版本验证错误,因为已经存在有相同的1.0版本。所以需要首先更改原生版本号再次打包,并首先将此新版本上传到服务器,然后分发给客户。这样1.0版本新版本可以并存且都可以获得热更新。

    请谨记,任何时候生成原生包,请 1)先修改原生版本号,2)并上传到 pushy 服务器,才可以正常获得热更新。

    -
    -

    如果您是高级版专业版客户,也可以考虑在管理后台的应用设置中启用忽略编译时间戳。此选项仅对比版本号,不校验时间戳,可提供更宽容的热更策略,但可能消耗更多流量,适合需要管理多个分发渠道的客户。

    -
    +

    如果您是高级版专业版客户,也可以考虑在管理后台的应用设置中启用忽略编译时间戳。此选项仅对比版本号,不校验时间戳,可提供更宽容的热更策略,但可能消耗更多流量,适合需要管理多个分发渠道的客户。


    付费问题

    我应该选择哪个业务版本呢?

    @@ -74,7 +69,7 @@

    目前仅有一项额外的付费专用功能,即忽略编译时间戳设置(在管理后台的应用设置中),此选项仅对比版本号,不校验时间戳,可提供更宽容的热更策略,但可能消耗更多流量,适合需要管理多个分发渠道的客户。此功能目前仅支持高级版专业版


    我可以试用付费版本先评估一下效果吗?

    -

    新用户注册验证通过后,将自动获得 7 天专业版试用。如您需要更长的评估时间,可将注册用户名、邮箱、公司(或个人)名称发送至hi@charmlot.com,标题注明“pushy 评估试用延长”,我们会为您酌情延长评估时间。

    +

    新用户注册验证通过后,将自动获得 7 天专业版试用。如您需要更长的评估时间,可将注册用户名、邮箱、公司(或个人)名称发送至 hi@charmlot.com ,标题注明“pushy 评估试用延长”,我们会为您酌情延长评估时间。


    配额具体如何计算?

    配额主要分为 3 种:

    @@ -90,44 +85,22 @@

    达到配额后还可以正常使用吗?

    当应用、原生包、热更包数量达到配额限制后,您将无法执行相应的新增操作。但用户端仍可正常检查更新,下载已发布的更新。您可选择升级到更高配额,或是通过删除已不再使用的应用、原生包、热更包来使数量降低到配额以内,以便继续执行新增操作。
    -若原生包、热更包大小超过限额,则会导致上传失败。您可以选择升级到更高配额,或是想办法进行精简优化

    +若原生包、热更包大小超过限额,则会导致上传失败。您可以选择升级到更高配额,或是想办法进行精简优化


    我可以单独升级某项配额吗?

    -

    我们暂时无法为某个单项配额提供升级选项,请选择更高版本的配额。如果专业版本配额仍然不能满足需求,请通过邮件hi@charmlot.com与我们联系,我们将根据您的个性化需求为您定制方案。

    +

    我们暂时无法为某个单项配额提供升级选项,请选择更高版本的配额。如果专业版本配额仍然不能满足需求,请通过邮件 hi@charmlot.com 与我们联系,我们将根据您的个性化需求为您定制方案。


    付费业务到期后不续费,现有应用还能否正常使用?

    到期后按免费版额度执行。如您现有应用已超出配额,则必须通过删除操作降低到配额以内,方可执行新的操作(如创建应用,上传热更等),但不影响用户获取之前已发布的热更。


    如何获取付费的专人技术支持?

    -

    请将您的用户名和订单截图发送至hi@charmlot.com,同时提供您希望的技术联系方式(QQ、微信等),核实后会有技术专员添加您为好友。

    +

    请将您的用户名和订单截图发送至 hi@charmlot.com ,同时提供您希望的技术联系方式(QQ、微信等),核实后会有技术专员添加您为好友。


    如何开具发票?

    -

    请将具体开票需求发送至hi@charmlot.com,并附上注册邮箱和订单截图。我们默认会回复普通电子发票到注册邮箱,类目为软件服务。如需指定接受邮箱或手机,请在邮件正文中注明。如需要邮寄纸质发票请注明邮寄地址,邮费为到付。

    +

    请将具体开票需求发送至 hi@charmlot.com ,并附上注册邮箱和订单截图。我们默认会回复普通电子发票到注册邮箱,类目为软件服务。如需指定接受邮箱或手机,请在邮件正文中注明。如需要邮寄纸质发票请注明邮寄地址,邮费为到付。


    可以使用银行转账付款吗?

    可以的。请对照价格表,将对应版本的款项转账至:

    - - - - - - - - - - - - - - - - - -
    公司名称武汉青罗网络科技有限公司
    开户行名称浙江网商银行
    账号8888888048825564
    -

    转账完成后请截图发送至hi@charmlot.com,并写明注册邮箱,我们将在一个工作日内开通对应服务。

    -
\ No newline at end of file +

转账完成后请截图发送至 hi@charmlot.com ,并写明注册邮箱,我们将在一个工作日内开通对应服务。

+
\ No newline at end of file diff --git a/docs/getting-started.html b/docs/getting-started.html index f252258..45cee2b 100644 --- a/docs/getting-started.html +++ b/docs/getting-started.html @@ -11,13 +11,10 @@ --nextra-primary-hue: 204deg; --nextra-primary-saturation: 100%; } -
文档
安装配置

import { Tabs } from 'nextra/components'

-

首先你应该有一个基于 React Native 开发的应用,我们把具有 package.json 的目录叫做你的"应用根目录"。

-

如果你还没有初始化应用,请参阅开始使用 React Native (opens in a new tab)

-

所以我们也假设你已经拥有了开发 React Native 应用的一切环境,包括Node.jsXCodeAndroid SDK等等。

-

安装

-

在你的项目根目录下运行以下命令:

-
# 先全局安装命令行工具,每台电脑只用装一次
+      
文档
安装配置

首先你应该有一个基于 React Native 开发的应用,我们把具有 package.json 的目录叫做你的应用根目录。 +如果你还没有初始化应用,请参阅开始使用 React Native (opens in a new tab)

+

我们假设你已经拥有了开发 React Native 应用的一切环境,包括Node.jsXCodeAndroid SDK等等。

+

安装

在你的项目根目录下运行以下命令:

# 先全局安装命令行工具,每台电脑只用装一次
 npm i -g react-native-update-cli
  
 # 然后在项目目录中安装热更新模块
@@ -25,101 +22,26 @@ 

npm i react-native-update # 0.71 以下版本请使用8.x版本 -# npm i react-native-update@8.x

-
-

如果下载极慢或者显示网络失败,请设置使用淘宝镜像npx nrm use taobao

-
-
-

注意请不要混用npm/yarn/pnpm等包管理器及对应的lock文件,团队成员请坚持使用同一包管理器,且仅保留统一格式的lock文件

-
-

如果你的 RN 版本 >= 0.60,请在 ios 目录下执行:

-
pod install
-

如果你的 RN 版本 < 0.60,那么需要先在package.json文件的scripts中加入:

-
"postinstall": "npx jetify -r"
-

然后按照手动 link的说明操作。

-
-

注意:如果是混编 RN 项目,由于目前官方集成文档并不完善,参照官方文档可能无法实现自动 link 功能。此时即便 RN 版本 >= 0.60,你可能也需要执行手动 link 操作。

-
-
-如果你的RN版本比较老(< 0.46),请点击这里的注意事项 -
- -

如果你的 RN 版本比较老,请按下面表格尝试老一些的版本(但这些版本我们已不再维护,不能保证可以使用):

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
React Native 版本react-native-update 版本
0.26 及以下1.0.x
0.27 - 0.282.x
0.29 - 0.333.x
0.34 - 0.454.x
0.46 - 0.708.x
-

安装命令示例:

-
npm i react-native-update@4.x
-

如果 RN 的版本是 0.45 及以下,你还必须安装Android NDK (opens in a new tab),版本最好选用 r10e,并设置环境变量ANDROID_NDK_HOME,指向你的 NDK 根目录(例如/Users/tdzl2003/Downloads/android-ndk-r10e)。

-
-
-

请记得,任意在 ios 和 android 目录下的修改,一定要重新编译(npx react-native run-ios 或 run-android 命令编译,或在 Xcode/Android Studio 中重新编译)才能生效。

-
-

手动 link

-

如果 RN 版本 >= 0.60 则不需要此手动 link 步骤。

-
-

注意:如果是混编 RN 项目,由于目前官方集成文档并不完善,参照官方文档可能无法实现自动 link 功能。此时即便 RN 版本 >= 0.60,你可能也需要执行手动 link 操作。

-
-

iOS

-
RN < 0.60且使用CocoaPods(推荐)
- -
    +# npm i react-native-update@8.x

如果下载极慢或者显示网络失败,请设置使用淘宝镜像 npx nrm use taobao

⚠️

注意请不要混用npm/yarn/pnpm等包管理器及对应的lock文件,团队成员请坚持使用同一包管理器,且仅保留统一格式的lock文件

如果你的 RN 版本 >= 0.60,请在 ios 目录下执行:

pod install

如果你的 RN 版本 < 0.60,那么需要先在package.json文件的scripts中加入:

"postinstall": "npx jetify -r"

然后按照手动 link的说明操作。

如果你的RN版本比较老(< 0.46),请点击这里的注意事项

如果你的 RN 版本比较老,请按下面表格尝试老一些的版本(但这些版本我们已不再维护,不能保证可以使用):

React Native 版本react-native-update 版本
0.26 及以下1.0.x
0.27 - 0.282.x
0.29 - 0.333.x
0.34 - 0.454.x
0.46 - 0.708.x

安装命令示例:

npm i react-native-update@4.x

如果 RN 的版本是 0.45 及以下,你还必须安装[Android NDK](http://androiddevtools.cn),版本最好选用 r10e,并设置环境变量ANDROID_NDK_HOME,指向你的 NDK 根目录(例如/Users/tdzl2003/Downloads/android-ndk-r10e)。

请记得,任意在 ios 和 android 目录下的修改,一定要重新编译(使用 npx +react-native run-ios 或 run-android 命令编译,或在 Xcode/Android Studio +中重新编译)才能生效。

手动 link

如果 RN 版本 >= 0.60 则不需要此手动 link 步骤。

注意:如果是混编 RN 项目,由于自定义的配置可能不完整,自动 link +的功能可能不能正常工作。此时即便 RN 版本 >= 0.60,你可能也需要执行手动 link 操作。

iOS

RN < 0.60且使用CocoaPods(推荐)
  1. 在 ios/Podfile 中添加
  2. -
-
pod 'react-native-update', path: '../node_modules/react-native-update'
-
    +
pod 'react-native-update', path: '../node_modules/react-native-update'
  1. 在项目的 ios 目录下运行pod install
  2. 重新编译
  3. -
-
-
RN < 0.60且不使用CocoaPods
- -
    +
RN < 0.60且不使用CocoaPods
  1. 在 XCode 中的 Project Navigator 里,右键点击LibrariesAdd Files to [你的工程名]
  2. 进入node_modulesreact-native-updateios 并选中RCTPushy.xcodeproj`
  3. 在 XCode 中的 project navigator 里,选中你的工程,在 Build PhasesLink Binary With Libraries 中添加 libRCTPushy.alibz.tbdlibbz2.1.0.tbd
  4. 继续在Build Settings里搜索Header Search Path,添加$(SRCROOT)/../node_modules/react-native-update/ios,勾选recursive
  5. Build Phases添加一个New Run Script Phase运行脚本,内容如下
  6. -
-
#!/bin/bash
+
#!/bin/bash
 set -x
 DEST="../node_modules/react-native-update/ios/"
-date +%s > "$DEST/pushy_build_time.txt"
-
    +date +%s > "$DEST/pushy_build_time.txt"
  1. 尝试编译一下,顺利的话就会在../node_modules/react-native-update/ios/文件夹下面生成一个pushy_build_time.txt文件。然后在Copy Bundle Resources里把生成的pushy_build_time.txt文件添加进去。
  2. -
-
-

Android

-
RN < 0.60
- -
    +

Android

RN < 0.60
  1. android/settings.gradle中添加如下代码:

    include ':react-native-update'
    @@ -132,17 +54,10 @@ 

    打开android/app/src/main/java/[...]/MainApplication.java,

  2. -
-
    +
    • 在文件开头增加 import cn.reactnative.modules.update.UpdatePackage;
    • getPackages() 方法中增加 new UpdatePackage()(注意上一行可能要增加一个逗号)
    • -
    -
-

配置 Bundle URL

-

注意此步骤无论任何版本,目前都需要手动配置。

-

iOS

-

在你的 AppDelegate.mm 或 AppDelegate.m 文件(不同 RN 版本可能后缀名不同)中增加如下代码:

-
// ... 其它代码
+

配置 Bundle URL

注意此步骤无论任何版本,目前都需要手动配置。

iOS

在你的 AppDelegate.mm 或 AppDelegate.m 文件(不同 RN 版本可能后缀名不同)中增加如下代码:

// ... 其它代码
 #import "AppDelegate.h"
  
 #import "RCTPushy.h"  // <-- import头文件,注意要放到if条件外面
@@ -179,12 +94,7 @@ 

#endif // ... 其它代码 } -

-

Android

-

在 MainApplication 中增加如下代码(如果是混编原生的项目或其他原因没有使用 ReactApplication,请使用此 api 集成):

-

<Tabs items={['Kotlin', 'Java']}> -<Tabs.Tab>

-
// ... 其它代码
+ 

Android

在 MainApplication 中增加如下代码(如果是混编原生的项目或其他原因没有使用 ReactApplication,请使用此 api 集成):

// ... 其它代码
  
 // ↓↓↓请注意不要少了这句import
 import cn.reactnative.modules.update.UpdateContext;
@@ -200,42 +110,12 @@ 

return UpdateContext.getBundleUrl(this@MainApplication) } // ↑↑↑ - + // ...其他代码 } -}

-

</Tabs.Tab> -<Tabs.Tab>

-
// ... 其它代码
- 
-// ↓↓↓请注意不要少了这句import
-import cn.reactnative.modules.update.UpdateContext;
-// ↑↑↑
- 
-public class MainApplication extends Application implements ReactApplication {
- 
-  private final ReactNativeHost mReactNativeHost =
-    // 老版本 RN 这里可能是 new ReactNativeHost(this)
-    new DefaultReactNativeHost(this) {
- 
-    // ↓↓↓将下面这一段添加到 DefaultReactNativeHost 内部!
-    @Override
-    protected String getJSBundleFile() {
-        return UpdateContext.getBundleUrl(MainApplication.this);
-    }
-    // ↑↑↑
- 
-    // ...其他代码
-  }
-}
-

</Tabs.Tab> -

-
-

请记得,任意在 ios 和 android 目录下的修改,一定要重新编译(npx react-native run-ios 或 run-android 命令编译,或在 Xcode/Android Studio 中重新编译)才能生效。

-
-

禁用 android 的 crunch 优化

-

android 会在生成 apk 时自动对 png 图片进行压缩,此操作既耗时又影响增量补丁的生成。为了保证补丁能正常生成,您需要在android/app/build.gradle中关闭此操作:

-
...
+}

请记得,任意在 ios 和 android 目录下的修改,一定要重新编译(npx react-native +run-ios 或 run-android 命令编译,或在 Xcode/Android Studio +中重新编译)才能生效。

禁用 android 的 crunch 优化

android 会在生成 apk 时自动对 png 图片进行压缩,此操作既耗时又影响增量补丁的生成。为了保证补丁能正常生成,您需要在android/app/build.gradle中关闭此操作:

...
 android {
     ...
     signingConfigs { ... }
@@ -247,30 +127,17 @@ 

} } } -...

-

登录与创建应用

-

首先请在https://update.reactnative.cn (opens in a new tab)注册帐号,然后在你的项目根目录下运行以下命令:

-
$ pushy login
+...

登录与创建应用

首先请在 https://update.reactnative.cn (opens in a new tab) 注册帐号,然后在你的项目根目录下运行以下命令:

$ pushy login
 email: <输入你的注册邮>
-password: <输入你的密>
-

这会在项目文件夹下创建一个.update文件,注意不要把这个文件上传到 Git 等 CVS 系统上。你可以在.gitignore末尾增加一行.update来忽略这个文件。

-

登录之后可以创建应用。注意 iOS 平台和安卓平台需要分别创建:

-
$ pushy createApp --platform ios
+password: <输入你的密>

这会在项目文件夹下创建一个.update文件,注意不要把这个文件上传到 Git 等 CVS 系统上。你可以在.gitignore末尾增加一行.update来忽略这个文件。

登录之后可以创建应用。注意 iOS 平台和安卓平台需要分别创建:

$ pushy createApp --platform ios
 App Name: <输入应用名>
 $ pushy createApp --platform android
-App Name: <输入应用名>
-
-

两次输入的名字可以相同,这没有关系。

-
-

如果你已经在网页端或者其它地方创建过应用,也可以直接选择应用:

-
$ pushy selectApp --platform ios
+App Name: <输入应用名>
两次输入的名字可以相同,这没有关系。

如果你已经在网页端或者其它地方创建过应用,也可以直接选择应用:

$ pushy selectApp --platform ios
 1) 鱼多多(ios)
 2) 招财旺(ios)
  
 Total 2 ios apps
-Enter appId: <输入应用前面的编>
-

选择或者创建过应用后,你将可以在文件夹下看到update.json文件,其内容类似如下形式:

-
{
+Enter appId: <输入应用前面的编>

选择或者创建过应用后,你将可以在文件夹下看到update.json文件,其内容类似如下形式:

{
     "ios": {
         "appId": 1,
         "appKey": "<一串随机字符串>"
@@ -279,6 +146,4 @@ 

"appId": 2, "appKey": "<一串随机字符串>" } -}

-

你可以安全的把update.json上传到 Git 等 CVS 系统上,与你的团队共享这个文件,它不包含任何敏感信息。当然,他们在使用任何功能之前,都必须首先输入pushy login进行登录。

-

至此应用的创建/选择就已经成功了。下一步,你需要给代码添加相应的功能,请参阅代码集成

\ No newline at end of file +}

你可以安全的把update.json上传到 Git 等 CVS 系统上,与你的团队共享这个文件,它不包含任何敏感信息。当然,他们在使用任何功能之前,都必须首先输入pushy login进行登录。

至此应用的创建/选择就已经成功了。下一步,你需要给代码添加相应的功能,请参阅代码集成

\ No newline at end of file diff --git a/docs/integration.html b/docs/integration.html index 6523b1e..a8615c1 100644 --- a/docs/integration.html +++ b/docs/integration.html @@ -11,7 +11,7 @@ --nextra-primary-hue: 204deg; --nextra-primary-saturation: 100%; } -
文档
代码集成

安装配置完成后,确定应用编译顺利通过,下面我们来进行代码集成。

+
文档
代码集成

安装配置完成后,确定应用编译顺利通过,下面我们来进行代码集成。

极简快速集成

我们从 v8.x 版本开始提供极简的三行式集成(老版本只能使用自定义集成方式):

import { Platform } from "react-native";
@@ -256,4 +256,4 @@ 

marginBottom: 5, }, });

-

现在,你的应用已经可以通过 pushy 服务检查版本并进行更新了。下一步,你可以开始尝试发布应用包和版本,请参阅发布热更新

\ No newline at end of file +

现在,你的应用已经可以通过 pushy 服务检查版本并进行更新了。下一步,你可以开始尝试发布应用包和版本,请参阅发布热更新

\ No newline at end of file diff --git a/docs/publish.html b/docs/publish.html index f604f57..6568192 100644 --- a/docs/publish.html +++ b/docs/publish.html @@ -11,7 +11,7 @@ --nextra-primary-hue: 204deg; --nextra-primary-saturation: 100%; } -
文档
发布流程

现在你的应用已经具备了检测更新的功能,下面我们来尝试发布并更新它。流程可参考下图:

+
文档
发布流程

现在你的应用已经具备了检测更新的功能,下面我们来尝试发布并更新它。流程可参考下图:

流程总结如下:

    @@ -81,4 +81,4 @@

    我们强烈建议您先发布一个测试包,再发布一个除了版本号以外均完全相同的正式包

    例如,假设我们有一个正式包,版本为1.6.0,那么可以修改版本号重新打包一个1001.6.0,以一个明显不太正常的版本号来标识它是一个测试版本,同时后几位相同,可以表明它和某个正式版本存在关联(内容/依赖一致)。

    在每次往发布包发起热更新之前,先对测试包1001.6.0进行更新操作,基本测试通过之后,再在网页后台上将热更包重新绑定到正式包1.6.0上。如果在测试包中发现了重大问题,你就可以先进行修复,更新测试确认通过后再部署到正式线上环境。这样,可以最大程度的避免发生线上事故。

    -

    万一确实发生线上事故需要回滚的话,首先利用版本控制系统回滚代码到正常的状态,然后重新生成热更包并推送即可。

\ No newline at end of file +

万一确实发生线上事故需要回滚的话,首先利用版本控制系统回滚代码到正常的状态,然后重新生成热更包并推送即可。

\ No newline at end of file diff --git a/index.html b/index.html index 62cb447..bd6a74d 100644 --- a/index.html +++ b/index.html @@ -11,4 +11,4 @@ --nextra-primary-hue: 204deg; --nextra-primary-saturation: 100%; } -

他们选择了 Pushy

网易游戏
蓝月亮
华中师范大学
娇兰佳人
平安不动产
友车科技
诺安基金
锐捷网络
航天信息
天津公交
Feature

为什么选择 Pushy

  • img

    增量更新

    基于 bsdiff/hdiff 算法创建

    kb 级别超小更新包

  • img

    快捷发布

    命令行工具 & 网页双端管理

    支持CI部署

  • img

    极速下载

    基于阿里云高速CDN分发

    全国范围秒速更新

  • img

    稳定可靠

    自带崩溃回滚机制

    安全可靠

  • img

    灵活扩展

    开放定制元信息

    提供灵活自由的更新策略

  • img

    技术支持

    遇到技术问题?

    工作时间段内小时级别响应

    Icons made by Swifticons from www.flaticon.com

    Let’s Pushy

    # 安装
    $ npm i -g react-native-update-cli
    $ npm i react-native-update && cd ios && pod install

    # 上传原生基础包
    $ pushy uploadIpa yourApp.ipa
    $ pushy uploadApk yourApp.apk

    # 生成并上传热更包
    $ pushy bundle --platform android
    $ pushy bundle --platform ios
    查看文档
    \ No newline at end of file +

    他们选择了 Pushy

    网易游戏
    蓝月亮
    华中师范大学
    娇兰佳人
    平安不动产
    友车科技
    诺安基金
    锐捷网络
    航天信息
    天津公交
    Feature

    为什么选择 Pushy

    • img

      增量更新

      基于 bsdiff/hdiff 算法创建

      kb 级别超小更新包

    • img

      快捷发布

      命令行工具 & 网页双端管理

      支持CI部署

    • img

      极速下载

      基于阿里云高速CDN分发

      全国范围秒速更新

    • img

      稳定可靠

      自带崩溃回滚机制

      安全可靠

    • img

      灵活扩展

      开放定制元信息

      提供灵活自由的更新策略

    • img

      技术支持

      遇到技术问题?

      工作时间段内小时级别响应

      Icons made by Swifticons from www.flaticon.com

      Let’s Pushy

      # 安装
      $ npm i -g react-native-update-cli
      $ npm i react-native-update && cd ios && pod install

      # 上传原生基础包
      $ pushy uploadIpa yourApp.ipa
      $ pushy uploadApk yourApp.apk

      # 生成并上传热更包
      $ pushy bundle --platform android
      $ pushy bundle --platform ios
      查看文档
      \ No newline at end of file diff --git a/pricing.html b/pricing.html index 8269310..3362002 100644 --- a/pricing.html +++ b/pricing.html @@ -11,4 +11,4 @@ --nextra-primary-hue: 204deg; --nextra-primary-saturation: 100%; } -

      新注册用户将自动获得7 天专业版免费试用评估。到期后转为免费版。

      免费版

      适用于小型应用,轻度更新需求

      0 / 年
      开始使用

      标准版

      适用于一般应用,中度更新需求

      800/ 年
      • 可创建5个应用 ,每个限*:
      • 50个原生包,每个最大150M
      • 50个热更包,每个最大15M
      • 提供专人技术支持
      立即升级

      高级版

      适用于一般应用,中度更新需求

      2400/ 年
      • 可创建10个应用,每个限*:
      • 60个原生包,每个最大500M
      • 60个热更包,每个最大50M
      • 提供专人技术支持
      立即升级

      专业版

      适用于商业应用,高速迭代需求

      7200/ 年
      • 可创建20个应用,每个限*:
      • 100个原生包,每个最大2000M
      • 100个热更包,每个最大200M
      • 提供专人技术支持
      立即升级

      如您需要更高配额,我们也提供定制版本或是私有服务器部署,您可将具体需求发送至 hi@charmlot.com 我们将第一时间回复。

      *注:iOS 和 Android 版本记做不同的应用。
      原生包指完整的apk/ipa安装包。热更包指pushy bundle命令生成的ppk文件(不是用户实际下载的增量更新文件)。
      您可删除已不再使用的应用、原生包、热更包来有效利用配额。

      对于付费业务还有其他疑问?请参考常见问题

      \ No newline at end of file +

      新注册用户将自动获得7 天专业版免费试用评估。到期后转为免费版。

      免费版

      适用于小型应用,轻度更新需求

      0 / 年
      开始使用

      标准版

      适用于一般应用,中度更新需求

      800/ 年
      • 可创建5个应用 ,每个限*:
      • 50个原生包,每个最大150M
      • 50个热更包,每个最大15M
      • 提供专人技术支持
      立即升级

      高级版

      适用于一般应用,中度更新需求

      2400/ 年
      • 可创建10个应用,每个限*:
      • 60个原生包,每个最大500M
      • 60个热更包,每个最大50M
      • 提供专人技术支持
      立即升级

      专业版

      适用于商业应用,高速迭代需求

      7200/ 年
      • 可创建20个应用,每个限*:
      • 100个原生包,每个最大2000M
      • 100个热更包,每个最大200M
      • 提供专人技术支持
      立即升级

      如您需要更高配额,我们也提供定制版本或是私有服务器部署,您可将具体需求发送至 hi@charmlot.com 我们将第一时间回复。

      *注:iOS 和 Android 版本记做不同的应用。
      原生包指完整的apk/ipa安装包。热更包指pushy bundle命令生成的ppk文件(不是用户实际下载的增量更新文件)。
      您可删除已不再使用的应用、原生包、热更包来有效利用配额。

      对于付费业务还有其他疑问?请参考常见问题

      \ No newline at end of file