@flarehr/apollo-benefits 2.83.43343 → 2.85.47721
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{@splitsoftware-8e7de5f2.js → @splitsoftware-dc67820b.js} +1 -1
- package/dist/assets/{datadog-aa582113.js → datadog-17d20852.js} +1 -1
- package/dist/assets/{date-fns-1b58387e.js → date-fns-20ad091e.js} +1 -1
- package/dist/assets/{framer-motion-727fde32.js → framer-motion-04a96014.js} +1 -1
- package/dist/assets/index-13815ab5.css +1 -0
- package/dist/assets/index-9aa466a2.js +32 -0
- package/dist/assets/{index-0d831f14.js → index-e5031c9b.js} +1 -1
- package/dist/assets/{vendor-47fa603f.js → vendor-1c5ad091.js} +22 -22
- package/dist/index.html +7 -7
- package/package.json +2 -1
- package/dist/assets/index-55112a6d.js +0 -15
- package/dist/assets/index-f3506109.css +0 -1
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import{g as yr,c as J,a as zd,i as Kl,b as Ai}from"./lodash-5d893f8c.js";const zi={type:null,entityIds:null,skip:!1,payload:null};let ws=!1;function
|
|
1
|
+
import{g as yr,c as J,a as zd,i as Kl,b as Ai}from"./lodash-5d893f8c.js";const zi={type:null,entityIds:null,skip:!1,payload:null};let ws=!1;function Cy(){ws=!1}function Qn(e,t,n){We(e,t,n),ws=!0}function We(e,t,n){ws===!1&&(zi.type=e,zi.entityIds=t,zi.payload=n)}function Iy(e,t){return function(n,r,i){const a=i.value;return i.value=function(...o){return Qn(e,t),a.apply(this,o)},i}}function Vr(e,t){return e.hasOwnProperty(t)}function Pt(e){return Array.isArray(e)}function qd(e){return e.hasOwnProperty("active")}function Gd(e){return Pt(e)}function Vd({active:e,ids:t,entities:n}){return Gd(e)?Ly(e,t):Vr(n,e)===!1?null:e}function Ly(e,t){const n=e.filter(r=>t.indexOf(r)>-1);return n.length===e.length?e:n}function Ry({state:e,entities:t,idKey:n,options:r={},preAddEntity:i}){let a={},o=[],u=!1;for(const s of t)if(Vr(e.entities,s[n])===!1){const c=i(s),f=c[n];a[f]=c,r.prepend?o.unshift(f):o.push(f),u=!0}return u?{newState:{...e,entities:{...e.entities,...a},ids:r.prepend?[...o,...e.ids]:[...e.ids,...o]},newIds:o}:null}function gt(e){return e==null}function Ze(e){return gt(e)?[]:Array.isArray(e)?e:[e]}var hu=function(e,t){return hu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},hu(e,t)};function It(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");hu(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var Wl=function(){return Wl=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},Wl.apply(this,arguments)};function Es(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function Dt(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function ky(e,t,n,r){function i(a){return a instanceof n?a:new n(function(o){o(a)})}return new(n||(n=Promise))(function(a,o){function u(f){try{c(r.next(f))}catch(l){o(l)}}function s(f){try{c(r.throw(f))}catch(l){o(l)}}function c(f){f.done?a(f.value):i(f.value).then(u,s)}c((r=r.apply(e,t||[])).next())})}function Yd(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(c){return function(f){return s([c,f])}}function s(c){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,c[0]&&(n=0)),n;)try{if(r=1,i&&(a=c[0]&2?i.return:c[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,c[1])).done)return a;switch(i=0,a&&(c=[c[0]&2,a.value]),c[0]){case 0:case 1:a=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,i=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){n.label=c[1];break}if(c[0]===6&&n.label<a[1]){n.label=a[1],a=c;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(c);break}a[2]&&n.ops.pop(),n.trys.pop();continue}c=t.call(e,n)}catch(f){c=[6,f],i=0}finally{r=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function nr(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function sn(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,a=[],o;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(u){o={error:u}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a}function In(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}function Jn(e){return this instanceof Jn?(this.v=e,this):new Jn(e)}function Ny(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),i,a=[];return i={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(d){r[d]&&(i[d]=function(h){return new Promise(function(v,p){a.push([d,h,v,p])>1||u(d,h)})})}function u(d,h){try{s(r[d](h))}catch(v){l(a[0][3],v)}}function s(d){d.value instanceof Jn?Promise.resolve(d.value.v).then(c,f):l(a[0][2],d)}function c(d){u("next",d)}function f(d){u("throw",d)}function l(d,h){d(h),a.shift(),a.length&&u(a[0][0],a[0][1])}}function My(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof nr=="function"?nr(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(a){n[a]=e[a]&&function(o){return new Promise(function(u,s){o=e[a](o),i(u,s,o.done,o.value)})}}function i(a,o,u,s){Promise.resolve(s).then(function(c){a({value:c,done:u})},o)}}function fe(e){return typeof e=="function"}function Xd(e){var t=function(r){Error.call(r),r.stack=new Error().stack},n=e(t);return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var ho=Xd(function(e){return function(n){e(this),this.message=n?n.length+` errors occurred during unsubscription:
|
|
2
2
|
`+n.map(function(r,i){return i+1+") "+r.toString()}).join(`
|
|
3
|
-
`):"",this.name="UnsubscriptionError",this.errors=n}});function oa(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var li=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,n,r,i,a;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var u=nr(o),s=u.next();!s.done;s=u.next()){var c=s.value;c.remove(this)}}catch(p){t={error:p}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}else o.remove(this);var f=this.initialTeardown;if(fe(f))try{f()}catch(p){a=p instanceof ho?p.errors:[p]}var l=this._finalizers;if(l){this._finalizers=null;try{for(var d=nr(l),h=d.next();!h.done;h=d.next()){var v=h.value;try{zl(v)}catch(p){a=a??[],p instanceof ho?a=In(In([],sn(a)),sn(p.errors)):a.push(p)}}}catch(p){r={error:p}}finally{try{h&&!h.done&&(i=d.return)&&i.call(d)}finally{if(r)throw r.error}}}if(a)throw new ho(a)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)zl(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}},e.prototype._hasParent=function(t){var n=this._parentage;return n===t||Array.isArray(n)&&n.includes(t)},e.prototype._addParent=function(t){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t},e.prototype._removeParent=function(t){var n=this._parentage;n===t?this._parentage=null:Array.isArray(n)&&oa(n,t)},e.prototype.remove=function(t){var n=this._finalizers;n&&oa(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Qd=li.EMPTY;function Jd(e){return e instanceof li||e&&"closed"in e&&fe(e.remove)&&fe(e.add)&&fe(e.unsubscribe)}function zl(e){fe(e)?e():e.unsubscribe()}var Zd={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},vu={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=vu.delegate;return i!=null&&i.setTimeout?i.setTimeout.apply(i,In([e,t],sn(n))):setTimeout.apply(void 0,In([e,t],sn(n)))},clearTimeout:function(e){var t=vu.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function ep(e){vu.setTimeout(function(){throw e})}function mu(){}function qi(e){e()}var Ss=function(e){It(t,e);function t(n){var r=e.call(this)||this;return r.isStopped=!1,n?(r.destination=n,Jd(n)&&n.add(r)):r.destination=jy,r}return t.create=function(n,r,i){return new yu(n,r,i)},t.prototype.next=function(n){this.isStopped||this._next(n)},t.prototype.error=function(n){this.isStopped||(this.isStopped=!0,this._error(n))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(n){this.destination.next(n)},t.prototype._error=function(n){try{this.destination.error(n)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(li),My=Function.prototype.bind;function vo(e,t){return My.call(e,t)}var Dy=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var n=this.partialObserver;if(n.next)try{n.next(t)}catch(r){Ti(r)}},e.prototype.error=function(t){var n=this.partialObserver;if(n.error)try{n.error(t)}catch(r){Ti(r)}else Ti(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(n){Ti(n)}},e}(),yu=function(e){It(t,e);function t(n,r,i){var a=e.call(this)||this,o;if(fe(n)||!n)o={next:n??void 0,error:r??void 0,complete:i??void 0};else{var u;a&&Zd.useDeprecatedNextContext?(u=Object.create(n),u.unsubscribe=function(){return a.unsubscribe()},o={next:n.next&&vo(n.next,u),error:n.error&&vo(n.error,u),complete:n.complete&&vo(n.complete,u)}):o=n}return a.destination=new Dy(o),a}return t}(Ss);function Ti(e){ep(e)}function $y(e){throw e}var jy={closed:!0,next:mu,error:$y,complete:mu},Os=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function gr(e){return e}function By(e){return e.length===0?gr:e.length===1?e[0]:function(n){return e.reduce(function(r,i){return i(r)},n)}}var qe=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(t,n,r){var i=this,a=Uy(t)?t:new yu(t,n,r);return qi(function(){var o=i,u=o.operator,s=o.source;a.add(u?u.call(a,s):s?i._subscribe(a):i._trySubscribe(a))}),a},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(n){t.error(n)}},e.prototype.forEach=function(t,n){var r=this;return n=ql(n),new n(function(i,a){var o=new yu({next:function(u){try{t(u)}catch(s){a(s),o.unsubscribe()}},error:a,complete:i});r.subscribe(o)})},e.prototype._subscribe=function(t){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(t)},e.prototype[Os]=function(){return this},e.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return By(t)(this)},e.prototype.toPromise=function(t){var n=this;return t=ql(t),new t(function(r,i){var a;n.subscribe(function(o){return a=o},function(o){return i(o)},function(){return r(a)})})},e.create=function(t){return new e(t)},e}();function ql(e){var t;return(t=e??Zd.Promise)!==null&&t!==void 0?t:Promise}function Fy(e){return e&&fe(e.next)&&fe(e.error)&&fe(e.complete)}function Uy(e){return e&&e instanceof Ss||Fy(e)&&Jd(e)}function xy(e){return fe(e==null?void 0:e.lift)}function lt(e){return function(t){if(xy(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ve(e,t,n,r,i){return new Hy(e,t,n,r,i)}var Hy=function(e){It(t,e);function t(n,r,i,a,o,u){var s=e.call(this,n)||this;return s.onFinalize=o,s.shouldUnsubscribe=u,s._next=r?function(c){try{r(c)}catch(f){n.error(f)}}:e.prototype._next,s._error=a?function(c){try{a(c)}catch(f){n.error(f)}finally{this.unsubscribe()}}:e.prototype._error,s._complete=i?function(){try{i()}catch(c){n.error(c)}finally{this.unsubscribe()}}:e.prototype._complete,s}return t.prototype.unsubscribe=function(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;e.prototype.unsubscribe.call(this),!r&&((n=this.onFinalize)===null||n===void 0||n.call(this))}},t}(Ss),Ky=Xd(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Ut=function(e){It(t,e);function t(){var n=e.call(this)||this;return n.closed=!1,n.currentObservers=null,n.observers=[],n.isStopped=!1,n.hasError=!1,n.thrownError=null,n}return t.prototype.lift=function(n){var r=new Gl(this,this);return r.operator=n,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new Ky},t.prototype.next=function(n){var r=this;qi(function(){var i,a;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var o=nr(r.currentObservers),u=o.next();!u.done;u=o.next()){var s=u.value;s.next(n)}}catch(c){i={error:c}}finally{try{u&&!u.done&&(a=o.return)&&a.call(o)}finally{if(i)throw i.error}}}})},t.prototype.error=function(n){var r=this;qi(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=n;for(var i=r.observers;i.length;)i.shift().error(n)}})},t.prototype.complete=function(){var n=this;qi(function(){if(n._throwIfClosed(),!n.isStopped){n.isStopped=!0;for(var r=n.observers;r.length;)r.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(n){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,n)},t.prototype._subscribe=function(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)},t.prototype._innerSubscribe=function(n){var r=this,i=this,a=i.hasError,o=i.isStopped,u=i.observers;return a||o?Qd:(this.currentObservers=null,u.push(n),new li(function(){r.currentObservers=null,oa(u,n)}))},t.prototype._checkFinalizedStatuses=function(n){var r=this,i=r.hasError,a=r.thrownError,o=r.isStopped;i?n.error(a):o&&n.complete()},t.prototype.asObservable=function(){var n=new qe;return n.source=this,n},t.create=function(n,r){return new Gl(n,r)},t}(qe),Gl=function(e){It(t,e);function t(n,r){var i=e.call(this)||this;return i.destination=n,i.source=r,i}return t.prototype.next=function(n){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.next)===null||i===void 0||i.call(r,n)},t.prototype.error=function(n){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.error)===null||i===void 0||i.call(r,n)},t.prototype.complete=function(){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||r===void 0||r.call(n)},t.prototype._subscribe=function(n){var r,i;return(i=(r=this.source)===null||r===void 0?void 0:r.subscribe(n))!==null&&i!==void 0?i:Qd},t}(Ut),ua=function(e){It(t,e);function t(n){var r=e.call(this)||this;return r._value=n,r}return Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(n){var r=e.prototype._subscribe.call(this,n);return!r.closed&&n.next(this._value),r},t.prototype.getValue=function(){var n=this,r=n.hasError,i=n.thrownError,a=n._value;if(r)throw i;return this._throwIfClosed(),a},t.prototype.next=function(n){e.prototype.next.call(this,this._value=n)},t}(Ut),Ps={now:function(){return(Ps.delegate||Date).now()},delegate:void 0},tp=function(e){It(t,e);function t(n,r,i){n===void 0&&(n=1/0),r===void 0&&(r=1/0),i===void 0&&(i=Ps);var a=e.call(this)||this;return a._bufferSize=n,a._windowTime=r,a._timestampProvider=i,a._buffer=[],a._infiniteTimeWindow=!0,a._infiniteTimeWindow=r===1/0,a._bufferSize=Math.max(1,n),a._windowTime=Math.max(1,r),a}return t.prototype.next=function(n){var r=this,i=r.isStopped,a=r._buffer,o=r._infiniteTimeWindow,u=r._timestampProvider,s=r._windowTime;i||(a.push(n),!o&&a.push(u.now()+s)),this._trimBuffer(),e.prototype.next.call(this,n)},t.prototype._subscribe=function(n){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(n),i=this,a=i._infiniteTimeWindow,o=i._buffer,u=o.slice(),s=0;s<u.length&&!n.closed;s+=a?1:2)n.next(u[s]);return this._checkFinalizedStatuses(n),r},t.prototype._trimBuffer=function(){var n=this,r=n._bufferSize,i=n._timestampProvider,a=n._buffer,o=n._infiniteTimeWindow,u=(o?1:2)*r;if(r<1/0&&u<a.length&&a.splice(0,a.length-u),!o){for(var s=i.now(),c=0,f=1;f<a.length&&a[f]<=s;f+=2)c=f;c&&a.splice(0,c+1)}},t}(Ut),Wy=function(e){It(t,e);function t(n,r){return e.call(this)||this}return t.prototype.schedule=function(n,r){return this},t}(li),sa={setInterval:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=sa.delegate;return i!=null&&i.setInterval?i.setInterval.apply(i,In([e,t],sn(n))):setInterval.apply(void 0,In([e,t],sn(n)))},clearInterval:function(e){var t=sa.delegate;return((t==null?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0},zy=function(e){It(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.scheduler=n,i.work=r,i.pending=!1,i}return t.prototype.schedule=function(n,r){var i;if(r===void 0&&(r=0),this.closed)return this;this.state=n;var a=this.id,o=this.scheduler;return a!=null&&(this.id=this.recycleAsyncId(o,a,r)),this.pending=!0,this.delay=r,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(o,this.id,r),this},t.prototype.requestAsyncId=function(n,r,i){return i===void 0&&(i=0),sa.setInterval(n.flush.bind(n,this),i)},t.prototype.recycleAsyncId=function(n,r,i){if(i===void 0&&(i=0),i!=null&&this.delay===i&&this.pending===!1)return r;r!=null&&sa.clearInterval(r)},t.prototype.execute=function(n,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var i=this._execute(n,r);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(n,r){var i=!1,a;try{this.work(n)}catch(o){i=!0,a=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),a},t.prototype.unsubscribe=function(){if(!this.closed){var n=this,r=n.id,i=n.scheduler,a=i.actions;this.work=this.state=this.scheduler=null,this.pending=!1,oa(a,this),r!=null&&(this.id=this.recycleAsyncId(i,r,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(Wy),Vl=function(){function e(t,n){n===void 0&&(n=e.now),this.schedulerActionCtor=t,this.now=n}return e.prototype.schedule=function(t,n,r){return n===void 0&&(n=0),new this.schedulerActionCtor(this,t).schedule(r,n)},e.now=Ps.now,e}(),qy=function(e){It(t,e);function t(n,r){r===void 0&&(r=Vl.now);var i=e.call(this,n,r)||this;return i.actions=[],i._active=!1,i}return t.prototype.flush=function(n){var r=this.actions;if(this._active){r.push(n);return}var i;this._active=!0;do if(i=n.execute(n.state,n.delay))break;while(n=r.shift());if(this._active=!1,i){for(;n=r.shift();)n.unsubscribe();throw i}},t}(Vl),Da=new qy(zy),Gy=Da,Vy=new qe(function(e){return e.complete()});function np(e){return e&&fe(e.schedule)}function rp(e){return e[e.length-1]}function Yy(e){return fe(rp(e))?e.pop():void 0}function As(e){return np(rp(e))?e.pop():void 0}var Ts=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function ip(e){return fe(e==null?void 0:e.then)}function ap(e){return fe(e[Os])}function op(e){return Symbol.asyncIterator&&fe(e==null?void 0:e[Symbol.asyncIterator])}function up(e){return new TypeError("You provided "+(e!==null&&typeof e=="object"?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function Xy(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var sp=Xy();function lp(e){return fe(e==null?void 0:e[sp])}function cp(e){return ky(this,arguments,function(){var n,r,i,a;return Yd(this,function(o){switch(o.label){case 0:n=e.getReader(),o.label=1;case 1:o.trys.push([1,,9,10]),o.label=2;case 2:return[4,Jn(n.read())];case 3:return r=o.sent(),i=r.value,a=r.done,a?[4,Jn(void 0)]:[3,5];case 4:return[2,o.sent()];case 5:return[4,Jn(i)];case 6:return[4,o.sent()];case 7:return o.sent(),[3,2];case 8:return[3,10];case 9:return n.releaseLock(),[7];case 10:return[2]}})})}function fp(e){return fe(e==null?void 0:e.getReader)}function zt(e){if(e instanceof qe)return e;if(e!=null){if(ap(e))return Qy(e);if(Ts(e))return Jy(e);if(ip(e))return Zy(e);if(op(e))return dp(e);if(lp(e))return eg(e);if(fp(e))return tg(e)}throw up(e)}function Qy(e){return new qe(function(t){var n=e[Os]();if(fe(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Jy(e){return new qe(function(t){for(var n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Zy(e){return new qe(function(t){e.then(function(n){t.closed||(t.next(n),t.complete())},function(n){return t.error(n)}).then(null,ep)})}function eg(e){return new qe(function(t){var n,r;try{for(var i=nr(e),a=i.next();!a.done;a=i.next()){var o=a.value;if(t.next(o),t.closed)return}}catch(u){n={error:u}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}t.complete()})}function dp(e){return new qe(function(t){ng(e,t).catch(function(n){return t.error(n)})})}function tg(e){return dp(cp(e))}function ng(e,t){var n,r,i,a;return Ry(this,void 0,void 0,function(){var o,u;return Yd(this,function(s){switch(s.label){case 0:s.trys.push([0,5,6,11]),n=Ny(e),s.label=1;case 1:return[4,n.next()];case 2:if(r=s.sent(),!!r.done)return[3,4];if(o=r.value,t.next(o),t.closed)return[2];s.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return u=s.sent(),i={error:u},[3,11];case 6:return s.trys.push([6,,9,10]),r&&!r.done&&(a=n.return)?[4,a.call(n)]:[3,8];case 7:s.sent(),s.label=8;case 8:return[3,10];case 9:if(i)throw i.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})}function $t(e,t,n,r,i){r===void 0&&(r=0),i===void 0&&(i=!1);var a=t.schedule(function(){n(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(a),!i)return a}function pp(e,t){return t===void 0&&(t=0),lt(function(n,r){n.subscribe(Ve(r,function(i){return $t(r,e,function(){return r.next(i)},t)},function(){return $t(r,e,function(){return r.complete()},t)},function(i){return $t(r,e,function(){return r.error(i)},t)}))})}function hp(e,t){return t===void 0&&(t=0),lt(function(n,r){r.add(e.schedule(function(){return n.subscribe(r)},t))})}function rg(e,t){return zt(e).pipe(hp(t),pp(t))}function ig(e,t){return zt(e).pipe(hp(t),pp(t))}function ag(e,t){return new qe(function(n){var r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function og(e,t){return new qe(function(n){var r;return $t(n,t,function(){r=e[sp](),$t(n,t,function(){var i,a,o;try{i=r.next(),a=i.value,o=i.done}catch(u){n.error(u);return}o?n.complete():n.next(a)},0,!0)}),function(){return fe(r==null?void 0:r.return)&&r.return()}})}function vp(e,t){if(!e)throw new Error("Iterable cannot be null");return new qe(function(n){$t(n,t,function(){var r=e[Symbol.asyncIterator]();$t(n,t,function(){r.next().then(function(i){i.done?n.complete():n.next(i.value)})},0,!0)})})}function ug(e,t){return vp(cp(e),t)}function sg(e,t){if(e!=null){if(ap(e))return rg(e,t);if(Ts(e))return ag(e,t);if(ip(e))return ig(e,t);if(op(e))return vp(e,t);if(lp(e))return og(e,t);if(fp(e))return ug(e,t)}throw up(e)}function br(e,t){return t?sg(e,t):zt(e)}function Cs(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=As(e);return br(e,n)}function mp(e){return!!e&&(e instanceof qe||fe(e.lift)&&fe(e.subscribe))}function lg(e){return e instanceof Date&&!isNaN(e)}function Ye(e,t){return lt(function(n,r){var i=0;n.subscribe(Ve(r,function(a){r.next(e.call(t,a,i++))}))})}var cg=Array.isArray;function fg(e,t){return cg(t)?e.apply(void 0,In([],sn(t))):e(t)}function yp(e){return Ye(function(t){return fg(e,t)})}var dg=Array.isArray,pg=Object.getPrototypeOf,hg=Object.prototype,vg=Object.keys;function mg(e){if(e.length===1){var t=e[0];if(dg(t))return{args:t,keys:null};if(yg(t)){var n=vg(t);return{args:n.map(function(r){return t[r]}),keys:n}}}return{args:e,keys:null}}function yg(e){return e&&typeof e=="object"&&pg(e)===hg}function gg(e,t){return e.reduce(function(n,r,i){return n[r]=t[i],n},{})}function bg(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=As(e),r=Yy(e),i=mg(e),a=i.args,o=i.keys;if(a.length===0)return br([],n);var u=new qe(_g(a,n,o?function(s){return gg(o,s)}:gr));return r?u.pipe(yp(r)):u}function _g(e,t,n){return n===void 0&&(n=gr),function(r){Yl(t,function(){for(var i=e.length,a=new Array(i),o=i,u=i,s=function(f){Yl(t,function(){var l=br(e[f],t),d=!1;l.subscribe(Ve(r,function(h){a[f]=h,d||(d=!0,u--),u||r.next(n(a.slice()))},function(){--o||r.complete()}))},r)},c=0;c<i;c++)s(c)},r)}}function Yl(e,t,n){e?$t(n,e,t):t()}function wg(e,t,n,r,i,a,o,u){var s=[],c=0,f=0,l=!1,d=function(){l&&!s.length&&!c&&t.complete()},h=function(p){return c<r?v(p):s.push(p)},v=function(p){a&&t.next(p),c++;var _=!1;zt(n(p,f++)).subscribe(Ve(t,function(g){i==null||i(g),a?h(g):t.next(g)},function(){_=!0},void 0,function(){if(_)try{c--;for(var g=function(){var y=s.shift();o?$t(t,o,function(){return v(y)}):v(y)};s.length&&c<r;)g();d()}catch(y){t.error(y)}}))};return e.subscribe(Ve(t,h,function(){l=!0,d()})),function(){u==null||u()}}function $a(e,t,n){return n===void 0&&(n=1/0),fe(t)?$a(function(r,i){return Ye(function(a,o){return t(r,a,i,o)})(zt(e(r,i)))},n):(typeof t=="number"&&(n=t),lt(function(r,i){return wg(r,i,e,n)}))}function Eg(e){return e===void 0&&(e=1/0),$a(gr,e)}function Sg(){return Eg(1)}function Og(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Sg()(br(e,As(e)))}var Pg=["addListener","removeListener"],Ag=["addEventListener","removeEventListener"],Tg=["on","off"];function Xl(e,t,n,r){if(fe(n)&&(r=n,n=void 0),r)return Xl(e,t,n).pipe(yp(r));var i=sn(Lg(e)?Ag.map(function(u){return function(s){return e[u](t,s,n)}}):Cg(e)?Pg.map(Ql(e,t)):Ig(e)?Tg.map(Ql(e,t)):[],2),a=i[0],o=i[1];if(!a&&Ts(e))return $a(function(u){return Xl(u,t,n)})(zt(e));if(!a)throw new TypeError("Invalid event target");return new qe(function(u){var s=function(){for(var c=[],f=0;f<arguments.length;f++)c[f]=arguments[f];return u.next(1<c.length?c:c[0])};return a(s),function(){return o(s)}})}function Ql(e,t){return function(n){return function(r){return e[n](t,r)}}}function Cg(e){return fe(e.addListener)&&fe(e.removeListener)}function Ig(e){return fe(e.on)&&fe(e.off)}function Lg(e){return fe(e.addEventListener)&&fe(e.removeEventListener)}function gp(e,t,n){e===void 0&&(e=0),n===void 0&&(n=Gy);var r=-1;return t!=null&&(np(t)?n=t:r=t),new qe(function(i){var a=lg(e)?+e-n.now():e;a<0&&(a=0);var o=0;return n.schedule(function(){i.closed||(i.next(o++),0<=r?this.schedule(void 0,r):i.complete())},a)})}function ja(e,t){return lt(function(n,r){var i=0;n.subscribe(Ve(r,function(a){return e.call(t,a,i++)&&r.next(a)}))})}function Rg(e){return lt(function(t,n){var r=!1,i=null,a=null,o=!1,u=function(){if(a==null||a.unsubscribe(),a=null,r){r=!1;var c=i;i=null,n.next(c)}o&&n.complete()},s=function(){a=null,o&&n.complete()};t.subscribe(Ve(n,function(c){r=!0,i=c,a||zt(e(c)).subscribe(a=Ve(n,u,s))},function(){o=!0,(!r||!a||a.closed)&&n.complete()}))})}function kg(e,t){return t===void 0&&(t=Da),Rg(function(){return gp(e,t)})}function mL(e,t){return t===void 0&&(t=Da),lt(function(n,r){var i=null,a=null,o=null,u=function(){if(i){i.unsubscribe(),i=null;var c=a;a=null,r.next(c)}};function s(){var c=o+e,f=t.now();if(f<c){i=this.schedule(void 0,c-f),r.add(i);return}u()}n.subscribe(Ve(r,function(c){a=c,o=t.now(),i||(i=t.schedule(s,e),r.add(i))},function(){u(),r.complete()},void 0,function(){a=i=null}))})}function gu(e){return e<=0?function(){return Vy}:lt(function(t,n){var r=0;t.subscribe(Ve(n,function(i){++r<=e&&(n.next(i),e<=r&&n.complete())}))})}function Ng(){return lt(function(e,t){e.subscribe(Ve(t,mu))})}function Mg(e){return Ye(function(){return e})}function bp(e,t){return t?function(n){return Og(t.pipe(gu(1),Ng()),n.pipe(bp(e)))}:$a(function(n,r){return zt(e(n,r)).pipe(gu(1),Mg(n))})}function Dg(e,t){t===void 0&&(t=Da);var n=gp(e,t);return bp(function(){return n})}function Yr(e,t){return t===void 0&&(t=gr),e=e??$g,lt(function(n,r){var i,a=!0;n.subscribe(Ve(r,function(o){var u=t(o);(a||!e(i,u))&&(a=!1,i=u,r.next(o))}))})}function $g(e,t){return e===t}function yL(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.length;if(n===0)throw new Error("list of properties cannot be empty.");return Ye(function(r){for(var i=r,a=0;a<n;a++){var o=i==null?void 0:i[e[a]];if(typeof o<"u")i=o;else return}return i})}function jg(e){return ja(function(t,n){return e<=n})}function Gi(e,t){return lt(function(n,r){var i=null,a=0,o=!1,u=function(){return o&&!i&&r.complete()};n.subscribe(Ve(r,function(s){i==null||i.unsubscribe();var c=0,f=a++;zt(e(s,f)).subscribe(i=Ve(r,function(l){return r.next(t?t(s,l,f,c++):l)},function(){i=null,u()}))},function(){o=!0,u()}))})}function gL(e,t,n){var r=fe(e)||t||n?{next:e,error:t,complete:n}:e;return r?lt(function(i,a){var o;(o=r.subscribe)===null||o===void 0||o.call(r);var u=!0;i.subscribe(Ve(a,function(s){var c;(c=r.next)===null||c===void 0||c.call(r,s),a.next(s)},function(){var s;u=!1,(s=r.complete)===null||s===void 0||s.call(r),a.complete()},function(s){var c;u=!1,(c=r.error)===null||c===void 0||c.call(r,s),a.error(s)},function(){var s,c;u&&((s=r.unsubscribe)===null||s===void 0||s.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):gr}const Bg="id";function Lt(e){return Pt(e)?e.length===0:!1}function Le(e){return typeof e=="function"}function Fg(){return Yr((e,t)=>e===t?!0:!Pt(e)||!Pt(t)?!1:Lt(e)&&Lt(t)?!0:e.length!==t.length?!1:t.some((r,i)=>e[i]!==r)===!1)}function Is(e){const t=typeof e;return e!=null&&(t=="object"||t=="function")}function bL(e){return bg(e).pipe(kg(0))}let _p={resettable:!1,ttl:null,producerFn:void 0};function Jl(){return _p}function Ug(){return _p.producerFn}function la(e){return gt(e)===!1}const wp=new Ut,Ep=new tp(50,5e3),xg=new Ut;function Hg(e){wp.next(e)}function Kg(e){Ep.next(e)}function Wg(e,t){xg.next({storeName:e,action:t})}const Ba=typeof window<"u",zg=!Ba,Zl=()=>{try{return typeof localStorage<"u"}catch{return!1}},qg=()=>{try{return typeof sessionStorage<"u"}catch{return!1}},At={},Sp={};Ba&&(window.$$stores=At,window.$$queries=Sp);var ca;(function(e){e.ASC="asc",e.DESC="desc"})(ca||(ca={}));function Gg(e,t=ca.ASC){return function(n,r){if(!n.hasOwnProperty(e)||!r.hasOwnProperty(e))return 0;const i=typeof n[e]=="string"?n[e].toUpperCase():n[e],a=typeof r[e]=="string"?r[e].toUpperCase():r[e];let o=0;return i>a?o=1:i<a&&(o=-1),t==ca.DESC?o*-1:o}}function Vg(e,t){let n=[];const{ids:r,entities:i}=e,{filterBy:a,limitTo:o,sortBy:u,sortByOrder:s}=t;for(let f=0;f<r.length;f++){const l=i[r[f]];if(!a){n.push(l);continue}Ze(a).every(v=>v(l,f))&&n.push(l)}if(u){let f=Le(u)?u:Gg(u,s);n=n.sort((l,d)=>f(l,d,e))}const c=Math.min(o||n.length,n.length);return c===n.length?n:n.slice(0,c)}function Yg(e,t){const n={},{filterBy:r,limitTo:i}=t,{ids:a,entities:o}=e;if(!r&&!i)return o;const u=gt(i)===!1;if(r&&u){let s=0;for(let c=0,f=a.length;c<f&&s!==i;c++){const l=a[c],d=o[l];Ze(r).every(v=>v(d,c))&&(n[l]=d,s++)}}else{const s=Math.min(i||a.length,a.length);for(let c=0;c<s;c++){const f=a[c],l=o[f];if(!r){n[f]=l;continue}Ze(r).every(h=>h(l,c))&&(n[f]=l)}}return n}var Yt;(function(e){e.Set="Set",e.Add="Add",e.Update="Update",e.Remove="Remove"})(Yt||(Yt={}));let Ls=!0;function _L(){Ls=!1,Ba&&(delete window.$$stores,delete window.$$queries)}function Ce(){return Ls}function Xg(e,t,n){let r;if(Pt(e))r=e;else if(Is(e)){if(gt(n))return;e=Object.assign({wrap:!0},e);const i=t.indexOf(n);if(e.prev){const a=i===0;if(a&&!e.wrap)return;r=a?t[t.length-1]:t[i-1]}else if(e.next){const a=t.length===i+1;if(a&&!e.wrap)return;r=a?t[0]:t[i+1]}}else{if(e===n)return;r=e}return r}const Qg=()=>({entities:{},ids:[],loading:!0,error:null});function Wn(e){return e===void 0}function Jg({state:e,ids:t}){if(gt(t))return Zg(e);const n=e.entities;let r={};for(const a of e.ids)t.includes(a)===!1&&(r[a]=n[a]);const i={...e,entities:r,ids:e.ids.filter(a=>t.includes(a)===!1)};return qd(e)&&(i.active=Vd(i)),i}function Zg(e){return{...e,entities:{},ids:[],active:Gd(e.active)?[]:null}}function e0(e,t,n){const r={entities:{},ids:[]};for(const i of e){const a=n(i);r.entities[a[t]]=a,r.ids.push(a[t])}return r}function t0(e){return e.entities&&e.ids}function ec(e,t){let n={};for(const r of Object.keys(e))n[r]=t(e[r]);return n}function n0({state:e,entities:t,idKey:n,preAddEntity:r,isNativePreAdd:i}){let a,o;if(Pt(t)){const s=e0(t,n,r);a=s.entities,o=s.ids}else t0(t)?(a=i?t.entities:ec(t.entities,r),o=t.ids):(a=i?t:ec(t,r),o=Object.keys(a).map(s=>isNaN(s)?s:Number(s)));const u={...e,entities:a,ids:o,loading:!1};return qd(e)&&(u.active=Vd(u)),u}function Op(e){Object.freeze(e);const t=typeof e=="function",n=Object.prototype.hasOwnProperty;return Object.getOwnPropertyNames(e).forEach(function(r){n.call(e,r)&&(!t||r!=="caller"&&r!=="callee"&&r!=="arguments")&&e[r]!==null&&(typeof e[r]=="object"||typeof e[r]=="function")&&!Object.isFrozen(e[r])&&Op(e[r])}),e}function r0(e,t){e||console.error(`@StoreConfig({ name }) is missing in ${t}`)}function Rs(e){return e!=null&&`${e}`!="false"}function bu(e){return Rs(e)&&e.constructor.name==="Object"}const Vi="akitaConfig";function wL(e){return function(t){t[Vi]={idKey:"id"};for(let n=0,r=Object.keys(e);n<r.length;n++){const i=r[n];i==="name"?t[Vi].storeName=e[i]:t[Vi][i]=e[i]}}}const i0=new Ut,Pp=new ua(!1),rn={activeTransactions:0,batchTransaction:null};function a0(){Ap()||(rn.batchTransaction=new Ut),rn.activeTransactions++,Pp.next(!0)}function o0(){--rn.activeTransactions===0&&(rn.batchTransaction.next(!0),rn.batchTransaction.complete(),Pp.next(!1),i0.next(!0))}function Ap(){return rn.activeTransactions>0}function u0(){return rn.batchTransaction?rn.batchTransaction.asObservable():Cs(!0)}function ks(e,t=void 0){a0();try{return e.apply(t)}finally{Qn("@Transaction"),o0()}}function Tp(){return function(e,t,n){const r=n.value;return n.value=function(...i){return ks(()=>r.apply(this,i),this)},n}}class s0{constructor(t,n={}){this.options=n,this.inTransaction=!1,this.cache={active:new ua(!1),ttl:null},this.onInit(t)}setLoading(t=!1){t!==this._value().loading&&(Ce()&&We("Set Loading"),this._setState(n=>({...n,loading:t})))}setHasCache(t,n={restartTTL:!1}){if(t!==this.cache.active.value&&this.cache.active.next(t),n.restartTTL){const r=this.getCacheTTL();r&&(this.cache.ttl!==null&&clearTimeout(this.cache.ttl),this.cache.ttl=setTimeout(()=>this.setHasCache(!1),r))}}getValue(){return this.storeValue}setError(t){t!==this._value().error&&(Ce()&&We("Set Error"),this._setState(n=>({...n,error:t})))}_select(t){return this.store.asObservable().pipe(Ye(n=>t(n.state)),Yr())}_value(){return this.storeValue}_cache(){return this.cache.active}get config(){return this.constructor[Vi]||{}}get storeName(){return this.config.storeName||this.options.storeName||this.options.name}get deepFreeze(){return this.config.deepFreezeFn||this.options.deepFreezeFn||Op}get cacheConfig(){return this.config.cache||this.options.cache}get _producerFn(){return this.config.producerFn||this.options.producerFn||Ug()}get resettable(){return la(this.config.resettable)?this.config.resettable:this.options.resettable}_setState(t,n=!0){if(Le(t)){const r=t(this._value());this.storeValue=Ls?this.deepFreeze(r):r}else this.storeValue=t;if(!this.store){this.store=new ua({state:this.storeValue}),Ce()&&this.store.subscribe(({action:r})=>{r&&Wg(this.storeName,r)});return}if(Ap()){this.handleTransaction();return}this.dispatch(this.storeValue,n)}reset(){this.isResettable()&&(Ce()&&We("Reset"),this._setState(()=>Object.assign({},this._initialState)),this.setHasCache(!1))}update(t){Ce()&&We("Update");let n;const r=this._value();Le(t)?n=Le(this._producerFn)?this._producerFn(r,t):t(r):n=t;const i=this.akitaPreUpdate(r,{...r,...n}),a=bu(r)?i:new r.constructor(i);this._setState(a)}updateStoreConfig(t){this.options={...this.options,...t}}akitaPreUpdate(t,n){return n}destroy(){!(Ba?window.hmrEnabled:!1)&&this===At[this.storeName]&&(delete At[this.storeName],Hg(this.storeName),this.setHasCache(!1),this.cache.active.complete(),this.store.complete())}onInit(t){At[this.storeName]=this,this._setState(()=>t),Kg(this.storeName),this.isResettable()&&(this._initialState=t),Ce()&&r0(this.storeName,this.constructor.name)}dispatch(t,n=!0){let r;n&&(r=zi,Ty()),this.store.next({state:t,action:r})}watchTransaction(){u0().subscribe(()=>{this.inTransaction=!1,this.dispatch(this._value())})}isResettable(){return this.resettable===!1?!1:this.resettable||Jl().resettable}handleTransaction(){this.inTransaction||(this.watchTransaction(),this.inTransaction=!0)}getCacheTTL(){return this.cacheConfig&&this.cacheConfig.ttl||Jl().ttl}}function l0({state:e,ids:t,idKey:n,newStateOrFn:r,preUpdateEntity:i,producerFn:a,onEntityIdChanges:o}){const u={};let s=!1,c;for(const d of t){if(Vr(e.entities,d)===!1)continue;const h=e.entities[d];let v;Le(r)?v=Le(a)?a(h,r):r(h):v=r;const p=v.hasOwnProperty(n)&&v[n]!==h[n];let _;c=d,p&&(s=!0,c=v[n]);const g={...h,...v};bu(h)?_=g:bu(v)?_=new h.constructor(g):_=new v.constructor(g),u[c]=i(h,_)}let f=e.ids,l=e.entities;if(s){const[d]=t,{[d]:h,...v}=e.entities;l=v,f=e.ids.map(p=>p===d?c:p),o(d,c)}return{...e,entities:{...l,...u},ids:f}}var tc;class rr extends s0{constructor(t={},n={}){super({...Qg(),...t},n),this.options=n,this.entityActions=new Ut,this.entityIdChanges=new Ut}get selectEntityAction$(){return this.entityActions.asObservable()}get selectEntityIdChanges$(){return this.entityIdChanges.asObservable()}get idKey(){return this.config.idKey||this.options.idKey||Bg}set(t,n={}){if(gt(t))return;Ce()&&We("Set Entity");const r=this.akitaPreAddEntity===rr.prototype.akitaPreAddEntity;this.setHasCache(!0,{restartTTL:!0}),this._setState(i=>{const a=n0({state:i,entities:t,idKey:this.idKey,preAddEntity:this.akitaPreAddEntity.bind(this),isNativePreAdd:r});return Wn(n.activeId)===!1&&(a.active=n.activeId),a}),this.hasInitialUIState()&&this.handleUICreation(),this.entityActions.next({type:Yt.Set,ids:this.ids})}add(t,n={loading:!1}){const r=Ze(t);if(Lt(r))return;const i=Ly({state:this._value(),preAddEntity:this.akitaPreAddEntity.bind(this),entities:r,idKey:this.idKey,options:n});i&&(Ce()&&We("Add Entity"),i.newState.loading=n.loading,this._setState(()=>i.newState),this.hasInitialUIState()&&this.handleUICreation(!0),this.entityActions.next({type:Yt.Add,ids:i.newIds}))}update(t,n){if(Wn(n)){super.update(t);return}let r=[];if(Le(t)?r=this.ids.filter(a=>t(this.entities[a])):r=gt(t)?this.ids:Ze(t),Lt(r))return;Ce()&&We("Update Entity",r);let i;this._setState(a=>l0({idKey:this.idKey,ids:r,preUpdateEntity:this.akitaPreUpdateEntity.bind(this),state:a,newStateOrFn:n,producerFn:this._producerFn,onEntityIdChanges:(o,u)=>{i={oldId:o,newId:u},this.entityIdChanges.next({...i,pending:!0})}})),i&&this.entityIdChanges.next({...i,pending:!1}),this.entityActions.next({type:Yt.Update,ids:r})}upsert(t,n,r,i={}){const a=Ze(t),o=l=>d=>Vr(this.entities,d)===l,u=Le(r)?i.baseClass:r?r.baseClass:void 0,s=Le(u),c=a.filter(o(!0)),f=a.filter(o(!1)).map(l=>{const d=typeof n=="function"?n({}):n,v={...Le(r)?r(l,d):d,[this.idKey]:l};return s?new u(v):v});this.update(c,n),this.add(f),Ce()&&Qn("Upsert Entity")}upsertMany(t,n={}){const r=[],i=[],a={};for(const o of t){const u=this.akitaPreCheckEntity(o),s=u[this.idKey];if(Vr(this.entities,s)){const c=this._value().entities[s],f={...this._value().entities[s],...u},l=n.baseClass?new n.baseClass(f):f,d=this.akitaPreUpdateEntity(c,l),h=d[this.idKey];a[h]=d,i.push(h)}else{const c=n.baseClass?new n.baseClass(u):u,f=this.akitaPreAddEntity(c),l=f[this.idKey];r.push(l),a[l]=f}}Ce()&&Qn("Upsert Many"),this._setState(o=>({...o,ids:r.length?[...o.ids,...r]:o.ids,entities:{...o.entities,...a},loading:!!n.loading})),i.length&&this.entityActions.next({type:Yt.Update,ids:i}),r.length&&this.entityActions.next({type:Yt.Add,ids:r}),r.length&&this.hasUIStore()&&this.handleUICreation(!0)}replace(t,n){const r=Ze(t);if(Lt(r))return;const i={};for(const a of r)i[a]={...n,[this.idKey]:a};Ce()&&We("Replace Entity",t),this._setState(a=>({...a,entities:{...a.entities,...i}}))}move(t,n){const r=this.ids.slice();r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),Ce()&&We("Move Entity"),this._setState(i=>({...i,entities:{...i.entities},ids:r}))}remove(t){if(Lt(this.ids))return;const n=la(t);let r=[];Le(t)?r=this.ids.filter(i=>t(this.entities[i])):r=n?Ze(t):this.ids,!Lt(r)&&(Ce()&&We("Remove Entity",r),this._setState(i=>Jg({state:i,ids:r})),n||this.setHasCache(!1),this.handleUIRemove(r),this.entityActions.next({type:Yt.Remove,ids:r}))}updateActive(t){const n=Ze(this.active);Ce()&&We("Update Active",n),this.update(n,t)}setActive(t){const n=Xg(t,this.ids,this.active);n!==void 0&&(Ce()&&We("Set Active",n),this._setActive(n))}addActive(t){const n=Ze(t);Lt(n)||n.every(i=>this.active.indexOf(i)>-1)||(Ce()&&We("Add Active",t),this._setState(i=>{const a=Array.from(new Set([...i.active,...n]));return{...i,active:a}}))}removeActive(t){const n=Ze(t);Lt(n)||!n.some(i=>this.active.indexOf(i)>-1)||(Ce()&&We("Remove Active",t),this._setState(i=>({...i,active:Array.isArray(i.active)?i.active.filter(a=>n.indexOf(a)===-1):null})))}toggleActive(t){const n=Ze(t),r=o=>u=>this.active.includes(u)===o,i=n.filter(r(!0)),a=n.filter(r(!1));this.removeActive(i),this.addActive(a),Ce()&&Qn("Toggle Active")}createUIStore(t={},n={}){const r={name:`UI/${this.storeName}`,idKey:this.idKey};return this.ui=new nc(t,{...r,...n}),this.ui}destroy(){super.destroy(),this.ui instanceof rr&&this.ui.destroy(),this.entityActions.complete()}akitaPreUpdateEntity(t,n){return n}akitaPreAddEntity(t){return t}akitaPreCheckEntity(t){return t}get ids(){return this._value().ids}get entities(){return this._value().entities}get active(){return this._value().active}_setActive(t){this._setState(n=>({...n,active:t}))}handleUICreation(t=!1){const n=this.ids,r=Le(this.ui._akitaCreateEntityFn);let i;const a=o=>{const u=this.entities[o],s=r?this.ui._akitaCreateEntityFn(u):this.ui._akitaCreateEntityFn;return{[this.idKey]:u[this.idKey],...s}};t?i=this.ids.filter(o=>Wn(this.ui.entities[o])).map(a):i=n.map(a),t?this.ui.add(i):this.ui.set(i)}hasInitialUIState(){return this.hasUIStore()&&Wn(this.ui._akitaCreateEntityFn)===!1}handleUIRemove(t){this.hasUIStore()&&this.ui.remove(t)}hasUIStore(){return this.ui instanceof nc}}Es([Tp(),Dt("design:type",Function),Dt("design:paramtypes",[Object,Object,Object,Object]),Dt("design:returntype",void 0)],rr.prototype,"upsert",null);Es([Tp(),Dt("design:type",Function),Dt("design:paramtypes",[typeof(tc=typeof T<"u"&&T)=="function"?tc:Object]),Dt("design:returntype",void 0)],rr.prototype,"toggleActive",null);class nc extends rr{constructor(t={},n={}){super(t,n)}setInitialEntityState(t){this._akitaCreateEntityFn=t}}function c0(){return ja(e=>e!=null)}function f0(e){return function(t,n){const r=Le(e[0]);return e.some(i=>r?i(t)!==i(n):t[i]!==n[i])===!1}}function Cp(e){return typeof e=="string"}const d0="akitaQueryConfig";class p0{constructor(t){this.store=t,this.__store__=t,Ce()&&(Sp[t.storeName]=this)}select(t){let n;if(Le(t))n=t;else if(Cp(t))n=r=>r[t];else{if(Array.isArray(t))return this.store._select(r=>r).pipe(Yr(f0(t)),Ye(r=>Le(t[0])?t.map(i=>i(r)):t.reduce((i,a)=>(i[a]=r[a],i),{})));n=r=>r}return this.store._select(n)}selectLoading(){return this.select(t=>t.loading)}selectError(){return this.select(t=>t.error)}getValue(){return this.store._value()}selectHasCache(){return this.store._cache().asObservable()}getHasCache(){return this.store._cache().value}get config(){return this.constructor[d0]}}function h0(e,t){for(const n of Object.keys(t))if(e(t[n])===!0)return n}function rc(e,t){return function(n){const r=n[e];if(!Wn(r))return t?Cp(t)?r[t]:t(r):r}}function v0(e,t){return e.reduce((n,r,i,a)=>{const o=t(r,i,a);return o!==void 0&&n.push(o),n},[])}function m0(e,t){e.sortBy=e.sortBy||t&&t.sortBy,e.sortByOrder=e.sortByOrder||t&&t.sortByOrder}class y0 extends p0{constructor(t,n={}){super(t),this.options=n,this.__store__=t}selectAll(t={asObject:!1}){return this.select(n=>n.entities).pipe(Ye(()=>this.getAll(t)))}getAll(t={asObject:!1,filterBy:void 0,limitTo:void 0}){return t.asObject?Yg(this.getValue(),t):(m0(t,this.config||this.options),Vg(this.getValue(),t))}selectMany(t,n){return!t||!t.length?Cs([]):this.select(r=>r.entities).pipe(Ye(r=>v0(t,i=>rc(i,n)(r))),Fg())}selectEntity(t,n){let r=t;return Le(t)&&(r=h0(t,this.getValue().entities)),this.select(i=>i.entities).pipe(Ye(rc(r,n)),Yr())}getEntity(t){return this.getValue().entities[t]}selectActiveId(){return this.select(t=>t.active)}getActiveId(){return this.getValue().active}selectActive(t){return Pt(this.getActive())?this.selectActiveId().pipe(Gi(n=>this.selectMany(n,t))):this.selectActiveId().pipe(Gi(n=>this.selectEntity(n,t)))}getActive(){const t=this.getActiveId();return Pt(t)?t.map(n=>this.getValue().entities[n]):Rs(t)?this.getEntity(t):void 0}selectCount(t){return this.select(n=>n.entities).pipe(Ye(()=>this.getCount(t)))}getCount(t){return Le(t)?this.getAll().filter(t).length:this.getValue().ids.length}selectLast(t){return this.selectAt(n=>n[n.length-1],t)}selectFirst(t){return this.selectAt(n=>n[0],t)}selectEntityAction(t){if(gt(t))return this.store.selectEntityAction$;const n=Pt(t)?i=>i:({ids:i})=>i,r=Ze(t);return this.store.selectEntityAction$.pipe(ja(({type:i})=>r.includes(i)),Ye(i=>n(i)))}hasEntity(t){return gt(t)?this.getValue().ids.length>0:Le(t)?this.getAll().some(t):Pt(t)?t.every(n=>n in this.getValue().entities):t in this.getValue().entities}hasActive(t){const n=this.getValue().active,r=la(t);return Array.isArray(n)?r?n.includes(t):n.length>0:r?n===t:la(n)}createUIQuery(){this.ui=new g0(this.__store__.ui)}selectAt(t,n){return this.select(r=>r.ids).pipe(Ye(t),Yr(),Gi(r=>this.selectEntity(r,n)))}}class g0 extends y0{constructor(t){super(t)}}function _u(e,t){return t.split(".").length===1?e:t.split(".").slice(1).join(".").split(".").reduce((r,i)=>r&&r[i],e)}function Ip(e,t,n,r=!1){const i=t.split(".");if(i.length===1)return{...e,...n};e={...e};const a=i.length-2;return t.split(".").slice(1).reduce((u,s,c)=>c!==a?(u[s]={...u[s]},u&&u[s]):(u[s]=r||Array.isArray(u[s])||!Is(u[s])?n:{...u[s],...n},u&&u[s]),e),e}let b0=!1;const _0=new tp(1);function w0(){return b0}function E0(e){return e&&Le(e.then)}function Rr(e){return E0(e)||mp(e)?br(e):Cs(e)}function EL(e){const t={key:"AkitaStores",enableInNonBrowser:!1,storage:Zl()?localStorage:e.storage,deserialize:JSON.parse,serialize:JSON.stringify,include:[],select:[],persistOnDestroy:!1,preStorageUpdate:function(w,P){return P},preStoreUpdate:function(w,P){return P},skipStorageUpdate:w0,preStorageUpdateOperator:()=>w=>w},{storage:n,enableInNonBrowser:r,deserialize:i,serialize:a,include:o,select:u,key:s,preStorageUpdate:c,persistOnDestroy:f,preStorageUpdateOperator:l,preStoreUpdate:d,skipStorageUpdate:h}=Object.assign({},t,e);if(zg&&!r||!n)return;const v=o.length>0,p=u.length>0;let _,g;v&&(_=o.reduce((w,P)=>{if(Le(P))w.fns.push(P);else{const A=P.split(".")[0];w[A]=P}return w},{fns:[]})),p&&(g=u.reduce((w,P)=>(w[P.storeName]=P,w),{}));let y={};const m={},b=[],E=[];function O(w){Rr(w).subscribe(()=>{const P=E.shift();P&&O(P)})}const S=Zl()&&n===localStorage||qg()&&n===sessionStorage;return Rr(n.getItem(s)).subscribe(w=>{let P=Is(w)?w:i(w||"{}");function A(j){P.$cache={...P.$cache||{},...j},P=Object.assign({},P,m),E.push(n.setItem(s,S?a(P):P)),O(E.shift())}function L(j,I){y[j]=At[j]._select(C=>_u(C,I)).pipe(jg(1),Ye(C=>p&&g[j]?g[j](C):C),ja(()=>h()===!1),l()).subscribe(C=>{m[j]=c(j,C),Promise.resolve().then(()=>A({[j]:At[j]._cache().getValue()}))})}function D(j,I,C){if(j in P){We("@PersistState"),I._setState($=>Ip($,C,d(j,P[j],$)));const R=P.$cache?P.$cache[j]:!1;At[j].setHasCache(R,{restartTTL:!0})}}b.push(wp.subscribe(j=>{y[j]&&(f===!1&&A({[j]:!1}),y[j].unsubscribe(),delete y[j])})),b.push(Ep.subscribe(j=>{if(j==="router")return;const I=At[j];if(v){let C=_[j];if(!C)if(_.fns.some($=>$(j)))C=j;else return;D(j,I,C),L(j,C)}else D(j,I,j),L(j,j)})),_0.next(!0)}),{destroy(){b.forEach(w=>w.unsubscribe());for(let w=0,P=Object.keys(y);w<P.length;w++){const A=P[w];y[A].unsubscribe()}y={}},clear(){n.clear()},clearStore(w){if(gt(w)){Rr(n.setItem(s,"{}")).subscribe();return}const P=n.getItem(s);Rr(P).subscribe(A=>{const L=i(A||"{}");L[w]&&(delete L[w],Rr(n.setItem(s,a(L))).subscribe())})}}}class S0{constructor(t,n){this.query=t,n&&n.resetFn}getQuery(){return this.query}getStore(){return this.getQuery().__store__}isEntityBased(t){return Rs(t)}selectSource(t,n){return this.isEntityBased(t)?this.getQuery().selectEntity(t).pipe(c0()):n?this.getQuery().select(r=>_u(r,this.withStoreName(n))):this.getQuery().select()}getSource(t,n){if(this.isEntityBased(t))return this.getQuery().getEntity(t);const r=this.getQuery().getValue();return n?_u(r,this.withStoreName(n)):r}withStoreName(t){return`${this.storeName}.${t}`}get storeName(){return this.getStore().storeName}updateStore(t,n,r,i=!1){if(this.isEntityBased(n)){const a=this.getStore();i?a.replace(n,t):a.update(n,t)}else{if(r){this.getStore()._setState(o=>Ip(o,this.withStoreName(r),t,!0));return}const a=i?t:o=>({...o,...t});this.getStore()._setState(a)}}onReset(t){const n=this.getStore().reset;this.getStore().reset=(...r)=>{setTimeout(()=>{n.apply(this.getStore(),r),t()})}}}const O0={pagesControls:!1,range:!1,startWith:1,cacheTimeout:void 0,clearStoreWithCache:!0};class P0 extends S0{constructor(t,n={}){super(t,{resetFn:()=>{this.initial=!1,this.destroy({clearCache:!0,currentPage:1})}}),this.query=t,this.config=n,this.metadata=new Map,this.pages=new Map,this.pagination={currentPage:1,perPage:0,total:0,lastPage:0,data:[]},this.initial=!0,this.isLoading$=this.query.selectLoading().pipe(Dg(0)),this.config={...O0,...n};const{startWith:r,cacheTimeout:i}=this.config;this.page=new ua(r),mp(i)&&(this.clearCacheSubscription=i.subscribe(()=>this.clearCache()))}get pageChanges(){return this.page.asObservable()}get currentPage(){return this.pagination.currentPage}get isFirst(){return this.currentPage===1}get isLast(){return this.currentPage===this.pagination.lastPage}withControls(){return this.config.pagesControls=!0,this}withRange(){return this.config.range=!0,this}setLoading(t=!0){this.getStore().setLoading(t)}update(t){this.pagination=t,this.addPage(t.data)}addPage(t){this.pages.set(this.currentPage,{ids:t.map(n=>n[this.getStore().idKey])}),this.getStore().upsertMany(t)}clearCache(t={}){this.initial||(Qn("@Pagination - Clear Cache"),t.clearStore!==!1&&(this.config.clearStoreWithCache||t.clearStore)&&this.getStore().remove(),this.pages=new Map,this.metadata=new Map),this.initial=!1}clearPage(t){this.pages.delete(t)}destroy({clearCache:t,currentPage:n}={}){this.clearCacheSubscription&&this.clearCacheSubscription.unsubscribe(),t&&this.clearCache(),Wn(n)||this.setPage(n),this.initial=!0}isPageActive(t){return this.currentPage===t}setPage(t){(t!==this.currentPage||!this.hasPage(t))&&this.page.next(this.pagination.currentPage=t)}nextPage(){this.currentPage!==this.pagination.lastPage&&this.setPage(this.pagination.currentPage+1)}prevPage(){this.pagination.currentPage>1&&this.setPage(this.pagination.currentPage-1)}setLastPage(){this.setPage(this.pagination.lastPage)}setFirstPage(){this.setPage(1)}hasPage(t){return this.pages.has(t)}getPage(t){let n=this.pagination.currentPage;return this.hasPage(n)?this.selectPage(n):(this.setLoading(!0),br(t()).pipe(Gi(r=>(n=r.currentPage,ks(()=>{this.setLoading(!1),this.update(r)}),this.selectPage(n)))))}getQuery(){return this.query}refreshCurrentPage(){gt(this.currentPage)===!1&&(this.clearPage(this.currentPage),this.setPage(this.currentPage))}getFrom(){return this.isFirst?1:(this.currentPage-1)*this.pagination.perPage+1}getTo(){return this.isLast?this.pagination.total:this.currentPage*this.pagination.perPage}selectPage(t){return this.query.selectAll({asObject:!0}).pipe(gu(1),Ye(n=>{const r={...this.pagination,data:this.pages.get(t).ids.map(o=>n[o])},{range:i,pagesControls:a}=this.config;return isNaN(this.pagination.total)&&(r.lastPage===1?r.total=r.data?r.data.length:0:r.total=r.perPage*r.lastPage,this.pagination.total=r.total),i&&(r.from=this.getFrom(),r.to=this.getTo()),a&&(r.pageControls=A0(this.pagination.total,this.pagination.perPage)),r}))}}Es([Cy("@Pagination - New Page"),Dt("design:type",Function),Dt("design:paramtypes",[Object]),Dt("design:returntype",void 0)],P0.prototype,"update",null);function A0(e,t){const n=Math.ceil(e/t),r=[];for(let i=0;i<n;i++)r.push(i+1);return r}function SL(e){e=Object.assign({},{exclude:[]},e);const n=Object.keys(At);ks(()=>{for(const r of n){const i=At[r];e.exclude?e.exclude.indexOf(i.storeName)===-1&&i.reset():i.reset()}})}var wu;(function(e){e.Update="UPDATE"})(wu||(wu={}));wu.Update+"";var Rt;(function(e){e.Update="UPDATE",e.AddEntities="ADD_ENTITIES",e.SetEntities="SET_ENTITIES",e.UpdateEntities="UPDATE_ENTITIES",e.RemoveEntities="REMOVE_ENTITIES",e.UpsertEntities="UPSERT_ENTITIES",e.UpsertManyEntities="UPSERT_MANY_ENTITIES"})(Rt||(Rt={}));Rt.Update+"",Rt.AddEntities+"",Rt.SetEntities+"",Rt.UpdateEntities+"",Rt.RemoveEntities+"",Rt.UpsertEntities+"",Rt.UpsertManyEntities+"";const T0="modulepreload",C0=function(e){return"/benefits/app/"+e},ic={},OL=function(t,n,r){if(!n||n.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(n.map(a=>{if(a=C0(a),a in ic)return;ic[a]=!0;const o=a.endsWith(".css"),u=o?'[rel="stylesheet"]':"";if(!!r)for(let f=i.length-1;f>=0;f--){const l=i[f];if(l.href===a&&(!o||l.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${u}`))return;const c=document.createElement("link");if(c.rel=o?"stylesheet":T0,o||(c.as="script",c.crossOrigin=""),c.href=a,document.head.appendChild(c),o)return new Promise((f,l)=>{c.addEventListener("load",f),c.addEventListener("error",()=>l(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>t()).catch(a=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=a,window.dispatchEvent(o),!o.defaultPrevented)throw a})};var ci,G,Lp,bn,ac,Rp,Eu,kp,Zn={},Np=[],I0=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Fa=Array.isArray;function Mt(e,t){for(var n in t)e[n]=t[n];return e}function Mp(e){var t=e.parentNode;t&&t.removeChild(e)}function F(e,t,n){var r,i,a,o={};for(a in t)a=="key"?r=t[a]:a=="ref"?i=t[a]:o[a]=t[a];if(arguments.length>2&&(o.children=arguments.length>3?ci.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(a in e.defaultProps)o[a]===void 0&&(o[a]=e.defaultProps[a]);return Ur(e,o,r,i,null)}function Ur(e,t,n,r,i){var a={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:i??++Lp};return i==null&&G.vnode!=null&&G.vnode(a),a}function Xr(){return{current:null}}function we(e){return e.children}function nt(e,t){this.props=e,this.context=t}function Qr(e,t){if(t==null)return e.__?Qr(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__d||n.__e;return typeof e.type=="function"?Qr(e):null}function Dp(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return Dp(e)}}function Su(e){(!e.__d&&(e.__d=!0)&&bn.push(e)&&!fa.__r++||ac!==G.debounceRendering)&&((ac=G.debounceRendering)||Rp)(fa)}function fa(){var e,t,n,r,i,a,o,u,s;for(bn.sort(Eu);e=bn.shift();)e.__d&&(t=bn.length,r=void 0,i=void 0,a=void 0,u=(o=(n=e).__v).__e,(s=n.__P)&&(r=[],i=[],(a=Mt({},o)).__v=o.__v+1,Ns(s,o,a,n.__n,s.ownerSVGElement!==void 0,o.__h!=null?[u]:null,r,u??Qr(o),o.__h,i),Fp(r,o,i),o.__e!=u&&Dp(o)),bn.length>t&&bn.sort(Eu));fa.__r=0}function $p(e,t,n,r,i,a,o,u,s,c,f){var l,d,h,v,p,_,g,y,m,b=0,E=r&&r.__k||Np,O=E.length,S=O,w=t.length;for(n.__k=[],l=0;l<w;l++)(v=n.__k[l]=(v=t[l])==null||typeof v=="boolean"||typeof v=="function"?null:typeof v=="string"||typeof v=="number"||typeof v=="bigint"?Ur(null,v,null,null,v):Fa(v)?Ur(we,{children:v},null,null,null):v.__b>0?Ur(v.type,v.props,v.key,v.ref?v.ref:null,v.__v):v)!=null?(v.__=n,v.__b=n.__b+1,(y=L0(v,E,g=l+b,S))===-1?h=Zn:(h=E[y]||Zn,E[y]=void 0,S--),Ns(e,v,h,i,a,o,u,s,c,f),p=v.__e,(d=v.ref)&&h.ref!=d&&(h.ref&&Ms(h.ref,null,v),f.push(d,v.__c||p,v)),p!=null&&(_==null&&(_=p),(m=h===Zn||h.__v===null)?y==-1&&b--:y!==g&&(y===g+1?b++:y>g?S>w-g?b+=y-g:b--:b=y<g&&y==g-1?y-g:0),g=l+b,typeof v.type!="function"||y===g&&h.__k!==v.__k?typeof v.type=="function"||y===g&&!m?v.__d!==void 0?(s=v.__d,v.__d=void 0):s=p.nextSibling:s=Bp(e,p,s):s=jp(v,s,e),typeof n.type=="function"&&(n.__d=s))):(h=E[l])&&h.key==null&&h.__e&&(h.__e==s&&(h.__=r,s=Qr(h)),Ou(h,h,!1),E[l]=null);for(n.__e=_,l=O;l--;)E[l]!=null&&(typeof n.type=="function"&&E[l].__e!=null&&E[l].__e==n.__d&&(n.__d=E[l].__e.nextSibling),Ou(E[l],E[l]))}function jp(e,t,n){for(var r,i=e.__k,a=0;i&&a<i.length;a++)(r=i[a])&&(r.__=e,t=typeof r.type=="function"?jp(r,t,n):Bp(n,r.__e,t));return t}function mt(e,t){return t=t||[],e==null||typeof e=="boolean"||(Fa(e)?e.some(function(n){mt(n,t)}):t.push(e)),t}function Bp(e,t,n){return n==null||n.parentNode!==e?e.insertBefore(t,null):t==n&&t.parentNode!=null||e.insertBefore(t,n),t.nextSibling}function L0(e,t,n,r){var i=e.key,a=e.type,o=n-1,u=n+1,s=t[n];if(s===null||s&&i==s.key&&a===s.type)return n;if(r>(s!=null?1:0))for(;o>=0||u<t.length;){if(o>=0){if((s=t[o])&&i==s.key&&a===s.type)return o;o--}if(u<t.length){if((s=t[u])&&i==s.key&&a===s.type)return u;u++}}return-1}function R0(e,t,n,r,i){var a;for(a in n)a==="children"||a==="key"||a in t||da(e,a,null,n[a],r);for(a in t)i&&typeof t[a]!="function"||a==="children"||a==="key"||a==="value"||a==="checked"||n[a]===t[a]||da(e,a,t[a],n[a],r)}function oc(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||I0.test(t)?n:n+"px"}function da(e,t,n,r,i){var a;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||oc(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||oc(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")a=t!==(t=t.replace(/(PointerCapture)$|Capture$/,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+a]=n,n?r?n.u=r.u:(n.u=Date.now(),e.addEventListener(t,a?sc:uc,a)):e.removeEventListener(t,a?sc:uc,a);else if(t!=="dangerouslySetInnerHTML"){if(i)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!=="width"&&t!=="height"&&t!=="href"&&t!=="list"&&t!=="form"&&t!=="tabIndex"&&t!=="download"&&t!=="rowSpan"&&t!=="colSpan"&&t!=="role"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,n))}}function uc(e){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(G.event?G.event(e):e)}function sc(e){return this.l[e.type+!0](G.event?G.event(e):e)}function Ns(e,t,n,r,i,a,o,u,s,c){var f,l,d,h,v,p,_,g,y,m,b,E,O,S,w,P=t.type;if(t.constructor!==void 0)return null;n.__h!=null&&(s=n.__h,u=t.__e=n.__e,t.__h=null,a=[u]),(f=G.__b)&&f(t);e:if(typeof P=="function")try{if(g=t.props,y=(f=P.contextType)&&r[f.__c],m=f?y?y.props.value:f.__:r,n.__c?_=(l=t.__c=n.__c).__=l.__E:("prototype"in P&&P.prototype.render?t.__c=l=new P(g,m):(t.__c=l=new nt(g,m),l.constructor=P,l.render=N0),y&&y.sub(l),l.props=g,l.state||(l.state={}),l.context=m,l.__n=r,d=l.__d=!0,l.__h=[],l._sb=[]),l.__s==null&&(l.__s=l.state),P.getDerivedStateFromProps!=null&&(l.__s==l.state&&(l.__s=Mt({},l.__s)),Mt(l.__s,P.getDerivedStateFromProps(g,l.__s))),h=l.props,v=l.state,l.__v=t,d)P.getDerivedStateFromProps==null&&l.componentWillMount!=null&&l.componentWillMount(),l.componentDidMount!=null&&l.__h.push(l.componentDidMount);else{if(P.getDerivedStateFromProps==null&&g!==h&&l.componentWillReceiveProps!=null&&l.componentWillReceiveProps(g,m),!l.__e&&(l.shouldComponentUpdate!=null&&l.shouldComponentUpdate(g,l.__s,m)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(l.props=g,l.state=l.__s,l.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(A){A&&(A.__=t)}),b=0;b<l._sb.length;b++)l.__h.push(l._sb[b]);l._sb=[],l.__h.length&&o.push(l);break e}l.componentWillUpdate!=null&&l.componentWillUpdate(g,l.__s,m),l.componentDidUpdate!=null&&l.__h.push(function(){l.componentDidUpdate(h,v,p)})}if(l.context=m,l.props=g,l.__P=e,l.__e=!1,E=G.__r,O=0,"prototype"in P&&P.prototype.render){for(l.state=l.__s,l.__d=!1,E&&E(t),f=l.render(l.props,l.state,l.context),S=0;S<l._sb.length;S++)l.__h.push(l._sb[S]);l._sb=[]}else do l.__d=!1,E&&E(t),f=l.render(l.props,l.state,l.context),l.state=l.__s;while(l.__d&&++O<25);l.state=l.__s,l.getChildContext!=null&&(r=Mt(Mt({},r),l.getChildContext())),d||l.getSnapshotBeforeUpdate==null||(p=l.getSnapshotBeforeUpdate(h,v)),$p(e,Fa(w=f!=null&&f.type===we&&f.key==null?f.props.children:f)?w:[w],t,n,r,i,a,o,u,s,c),l.base=t.__e,t.__h=null,l.__h.length&&o.push(l),_&&(l.__E=l.__=null)}catch(A){t.__v=null,(s||a!=null)&&(t.__e=u,t.__h=!!s,a[a.indexOf(u)]=null),G.__e(A,t,n)}else a==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=k0(n.__e,t,n,r,i,a,o,s,c);(f=G.diffed)&&f(t)}function Fp(e,t,n){for(var r=0;r<n.length;r++)Ms(n[r],n[++r],n[++r]);G.__c&&G.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(a){a.call(i)})}catch(a){G.__e(a,i.__v)}})}function k0(e,t,n,r,i,a,o,u,s){var c,f,l,d=n.props,h=t.props,v=t.type,p=0;if(v==="svg"&&(i=!0),a!=null){for(;p<a.length;p++)if((c=a[p])&&"setAttribute"in c==!!v&&(v?c.localName===v:c.nodeType===3)){e=c,a[p]=null;break}}if(e==null){if(v===null)return document.createTextNode(h);e=i?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,h.is&&h),a=null,u=!1}if(v===null)d===h||u&&e.data===h||(e.data=h);else{if(a=a&&ci.call(e.childNodes),f=(d=n.props||Zn).dangerouslySetInnerHTML,l=h.dangerouslySetInnerHTML,!u){if(a!=null)for(d={},p=0;p<e.attributes.length;p++)d[e.attributes[p].name]=e.attributes[p].value;(l||f)&&(l&&(f&&l.__html==f.__html||l.__html===e.innerHTML)||(e.innerHTML=l&&l.__html||""))}if(R0(e,h,d,i,u),l)t.__k=[];else if($p(e,Fa(p=t.props.children)?p:[p],t,n,r,i&&v!=="foreignObject",a,o,a?a[0]:n.__k&&Qr(n,0),u,s),a!=null)for(p=a.length;p--;)a[p]!=null&&Mp(a[p]);u||("value"in h&&(p=h.value)!==void 0&&(p!==e.value||v==="progress"&&!p||v==="option"&&p!==d.value)&&da(e,"value",p,d.value,!1),"checked"in h&&(p=h.checked)!==void 0&&p!==e.checked&&da(e,"checked",p,d.checked,!1))}return e}function Ms(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){G.__e(r,n)}}function Ou(e,t,n){var r,i;if(G.unmount&&G.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||Ms(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(a){G.__e(a,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&Ou(r[i],t,n||typeof e.type!="function");n||e.__e==null||Mp(e.__e),e.__=e.__e=e.__d=void 0}function N0(e,t,n){return this.constructor(e,n)}function ir(e,t,n){var r,i,a,o;G.__&&G.__(e,t),i=(r=typeof n=="function")?null:n&&n.__k||t.__k,a=[],o=[],Ns(t,e=(!r&&n||t).__k=F(we,null,[e]),i||Zn,Zn,t.ownerSVGElement!==void 0,!r&&n?[n]:i?null:t.firstChild?ci.call(t.childNodes):null,a,!r&&n?n:i?i.__e:t.firstChild,r,o),Fp(a,e,o)}function Ds(e,t){ir(e,t,Ds)}function Up(e,t,n){var r,i,a,o,u=Mt({},e.props);for(a in e.type&&e.type.defaultProps&&(o=e.type.defaultProps),t)a=="key"?r=t[a]:a=="ref"?i=t[a]:u[a]=t[a]===void 0&&o!==void 0?o[a]:t[a];return arguments.length>2&&(u.children=arguments.length>3?ci.call(arguments,2):n),Ur(e.type,u,r||e.key,i||e.ref,null)}function je(e,t){var n={__c:t="__cC"+kp++,__:e,Consumer:function(r,i){return r.children(i)},Provider:function(r){var i,a;return this.getChildContext||(i=[],(a={})[t]=this,this.getChildContext=function(){return a},this.shouldComponentUpdate=function(o){this.props.value!==o.value&&i.some(function(u){u.__e=!0,Su(u)})},this.sub=function(o){i.push(o);var u=o.componentWillUnmount;o.componentWillUnmount=function(){i.splice(i.indexOf(o),1),u&&u.call(o)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}ci=Np.slice,G={__e:function(e,t,n,r){for(var i,a,o;t=t.__;)if((i=t.__c)&&!i.__)try{if((a=i.constructor)&&a.getDerivedStateFromError!=null&&(i.setState(a.getDerivedStateFromError(e)),o=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(e,r||{}),o=i.__d),o)return i.__E=i}catch(u){e=u}throw e}},Lp=0,nt.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Mt({},this.state),typeof e=="function"&&(e=e(Mt({},n),this.props)),e&&Mt(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Su(this))},nt.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Su(this))},nt.prototype.render=we,bn=[],Rp=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Eu=function(e,t){return e.__v.__b-t.__v.__b},fa.__r=0,kp=0;var xt,he,mo,lc,ar=0,xp=[],Yi=[],cc=G.__b,fc=G.__r,dc=G.diffed,pc=G.__c,hc=G.unmount;function Mn(e,t){G.__h&&G.__h(he,e,ar||t),ar=0;var n=he.__H||(he.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:Yi}),n.__[e]}function xe(e){return ar=1,Dn(zp,e)}function Dn(e,t,n){var r=Mn(xt++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):zp(void 0,t),function(u){var s=r.__N?r.__N[0]:r.__[0],c=r.t(s,u);s!==c&&(r.__N=[c,r.__[1]],r.__c.setState({}))}],r.__c=he,!he.u)){var i=function(u,s,c){if(!r.__c.__H)return!0;var f=r.__c.__H.__.filter(function(d){return d.__c});if(f.every(function(d){return!d.__N}))return!a||a.call(this,u,s,c);var l=!1;return f.forEach(function(d){if(d.__N){var h=d.__[0];d.__=d.__N,d.__N=void 0,h!==d.__[0]&&(l=!0)}}),!(!l&&r.__c.props===u)&&(!a||a.call(this,u,s,c))};he.u=!0;var a=he.shouldComponentUpdate,o=he.componentWillUpdate;he.componentWillUpdate=function(u,s,c){if(this.__e){var f=a;a=void 0,i(u,s,c),a=f}o&&o.call(this,u,s,c)},he.shouldComponentUpdate=i}return r.__N||r.__}function de(e,t){var n=Mn(xt++,3);!G.__s&&$s(n.__H,t)&&(n.__=e,n.i=t,he.__H.__h.push(n))}function $n(e,t){var n=Mn(xt++,4);!G.__s&&$s(n.__H,t)&&(n.__=e,n.i=t,he.__h.push(n))}function ae(e){return ar=5,ce(function(){return{current:e}},[])}function Hp(e,t,n){ar=6,$n(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function ce(e,t){var n=Mn(xt++,7);return $s(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function Zt(e,t){return ar=8,ce(function(){return e},t)}function ke(e){var t=he.context[e.__c],n=Mn(xt++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(he)),t.props.value):e.__}function Kp(e,t){G.useDebugValue&&G.useDebugValue(t?t(e):e)}function M0(e){var t=Mn(xt++,10),n=xe();return t.__=e,he.componentDidCatch||(he.componentDidCatch=function(r,i){t.__&&t.__(r,i),n[1](r)}),[n[0],function(){n[1](void 0)}]}function Wp(){var e=Mn(xt++,11);if(!e.__){for(var t=he.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function D0(){for(var e;e=xp.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Xi),e.__H.__h.forEach(Pu),e.__H.__h=[]}catch(t){e.__H.__h=[],G.__e(t,e.__v)}}G.__b=function(e){he=null,cc&&cc(e)},G.__r=function(e){fc&&fc(e),xt=0;var t=(he=e.__c).__H;t&&(mo===he?(t.__h=[],he.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=Yi,n.__N=n.i=void 0})):(t.__h.forEach(Xi),t.__h.forEach(Pu),t.__h=[],xt=0)),mo=he},G.diffed=function(e){dc&&dc(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(xp.push(t)!==1&&lc===G.requestAnimationFrame||((lc=G.requestAnimationFrame)||$0)(D0)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==Yi&&(n.__=n.__V),n.i=void 0,n.__V=Yi})),mo=he=null},G.__c=function(e,t){t.some(function(n){try{n.__h.forEach(Xi),n.__h=n.__h.filter(function(r){return!r.__||Pu(r)})}catch(r){t.some(function(i){i.__h&&(i.__h=[])}),t=[],G.__e(r,n.__v)}}),pc&&pc(e,t)},G.unmount=function(e){hc&&hc(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{Xi(r)}catch(i){t=i}}),n.__H=void 0,t&&G.__e(t,n.__v))};var vc=typeof requestAnimationFrame=="function";function $0(e){var t,n=function(){clearTimeout(r),vc&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);vc&&(t=requestAnimationFrame(n))}function Xi(e){var t=he,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),he=t}function Pu(e){var t=he;e.__c=e.__(),he=t}function $s(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function zp(e,t){return typeof t=="function"?t(e):t}let xn;const j0=(e,t)=>{if(xn=void 0,t&&t.type==="click"){if(t.ctrlKey||t.metaKey||t.altKey||t.shiftKey||t.button!==0)return e;const n=t.target.closest("a[href]");if(!n||n.origin!=location.origin||/^#/.test(n.getAttribute("href"))||!/^(_?self)?$/i.test(n.target))return e;xn=!0,t.preventDefault(),t=n.href.replace(location.origin,"")}else typeof t=="string"?xn=!0:t=location.pathname+location.search;return xn===!0?history.pushState(null,"",t):xn===!1&&history.replaceState(null,"",t),t};function qp(e){const[t,n]=Dn(j0,e.url||location.pathname+location.search),r=xn===!0,i=ce(()=>{const a=new URL(t,location.origin),o=a.pathname.replace(/(.)\/$/g,"$1");return{url:t,path:o,query:Object.fromEntries(a.searchParams),route:n,wasPush:r}},[t]);return $n(()=>(addEventListener("click",n),addEventListener("popstate",n),()=>{removeEventListener("click",n),removeEventListener("popstate",n)}),[]),F(qp.ctx.Provider,{value:i},e.children)}Promise.resolve();qp.ctx=je({});je({});const mc=G.__e;G.__e=(e,t,n)=>{if(e&&e.then){let r=t;for(;r=r.__;)if(r.__c&&r.__c.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),t.__k||(t.__k=[]),r.__c.__c(e,t)}mc&&mc(e,t,n)};let yc;function PL(e,t){if(typeof window>"u")return;let n=document.querySelector("script[type=isodata]");t=t||n&&n.parentNode||document.body,!yc&&n?Ds(e,t):ir(e,t),yc=!0}function Gp(e,t){for(var n in t)e[n]=t[n];return e}function Au(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function yo(e,t){return e===t&&(e!==0||1/e==1/t)||e!=e&&t!=t}function pa(e){this.props=e}function Vp(e,t){function n(i){var a=this.props.ref,o=a==i.ref;return!o&&a&&(a.call?a(null):a.current=null),t?!t(this.props,i)||!o:Au(this.props,i)}function r(i){return this.shouldComponentUpdate=n,F(e,i)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(pa.prototype=new nt).isPureReactComponent=!0,pa.prototype.shouldComponentUpdate=function(e,t){return Au(this.props,e)||Au(this.state,t)};var gc=G.__b;G.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),gc&&gc(e)};var B0=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function pe(e){function t(n){var r=Gp({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=B0,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var bc=function(e,t){return e==null?null:mt(mt(e).map(t))},Yp={map:bc,forEach:bc,count:function(e){return e?mt(e).length:0},only:function(e){var t=mt(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:mt},F0=G.__e;G.__e=function(e,t,n,r){if(e.then){for(var i,a=t;a=a.__;)if((i=a.__c)&&i.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t)}F0(e,t,n,r)};var _c=G.unmount;function Xp(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=Gp({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return Xp(r,t,n)})),e}function Qp(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Qp(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function xr(){this.__u=0,this.t=null,this.__b=null}function Jp(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Zp(e){var t,n,r;function i(a){if(t||(t=e()).then(function(o){n=o.default||o},function(o){r=o}),r)throw r;if(!n)throw t;return F(n,a)}return i.displayName="Lazy",i.__f=!0,i}function zn(){this.u=null,this.o=null}G.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),_c&&_c(e)},(xr.prototype=new nt).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var i=Jp(r.__v),a=!1,o=function(){a||(a=!0,n.__R=null,i?i(u):u())};n.__R=o;var u=function(){if(!--r.__u){if(r.state.__a){var c=r.state.__a;r.__v.__k[0]=Qp(c,c.__c.__P,c.__c.__O)}var f;for(r.setState({__a:r.__b=null});f=r.t.pop();)f.forceUpdate()}},s=t.__h===!0;r.__u++||s||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(o,o)},xr.prototype.componentWillUnmount=function(){this.t=[]},xr.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Xp(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&F(we,null,e.fallback);return i&&(i.__h=null),[F(we,null,t.__a?null:e.children),i]};var wc=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function U0(e){return this.getChildContext=function(){return e.context},e.children}function x0(e){var t=this,n=e.i;t.componentWillUnmount=function(){ir(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(r){this.childNodes.push(r),t.i.appendChild(r)},insertBefore:function(r,i){this.childNodes.push(r),t.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.i.removeChild(r)}}),ir(F(U0,{context:t.context},e.__v),t.l)}function js(e,t){var n=F(x0,{__v:e,i:t});return n.containerInfo=t,n}(zn.prototype=new nt).__a=function(e){var t=this,n=Jp(t.__v),r=t.o.get(e);return r[0]++,function(i){var a=function(){t.props.revealOrder?(r.push(i),wc(t,e,r)):i()};n?n(a):a()}},zn.prototype.render=function(e){this.u=null,this.o=new Map;var t=mt(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},zn.prototype.componentDidUpdate=zn.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){wc(e,n,t)})};var eh=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,H0=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,K0=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,W0=/[A-Z0-9]/g,z0=typeof document<"u",q0=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function th(e,t,n){return t.__k==null&&(t.textContent=""),ir(e,t),typeof n=="function"&&n(),e?e.__c:null}function nh(e,t,n){return Ds(e,t),typeof n=="function"&&n(),e?e.__c:null}nt.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(nt.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Ec=G.event;function G0(){}function V0(){return this.cancelBubble}function Y0(){return this.defaultPrevented}G.event=function(e){return Ec&&(e=Ec(e)),e.persist=G0,e.isPropagationStopped=V0,e.isDefaultPrevented=Y0,e.nativeEvent=e};var Bs,X0={enumerable:!1,configurable:!0,get:function(){return this.class}},Sc=G.vnode;G.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,i={};for(var a in n){var o=n[a];if(!(a==="value"&&"defaultValue"in n&&o==null||z0&&a==="children"&&r==="noscript"||a==="class"||a==="className")){var u=a.toLowerCase();a==="defaultValue"&&"value"in n&&n.value==null?a="value":a==="download"&&o===!0?o="":u==="ondoubleclick"?a="ondblclick":u!=="onchange"||r!=="input"&&r!=="textarea"||q0(n.type)?u==="onfocus"?a="onfocusin":u==="onblur"?a="onfocusout":K0.test(a)?a=u:r.indexOf("-")===-1&&H0.test(a)?a=a.replace(W0,"-$&").toLowerCase():o===null&&(o=void 0):u=a="oninput",u==="oninput"&&i[a=u]&&(a="oninputCapture"),i[a]=o}}r=="select"&&i.multiple&&Array.isArray(i.value)&&(i.value=mt(n.children).forEach(function(s){s.props.selected=i.value.indexOf(s.props.value)!=-1})),r=="select"&&i.defaultValue!=null&&(i.value=mt(n.children).forEach(function(s){s.props.selected=i.multiple?i.defaultValue.indexOf(s.props.value)!=-1:i.defaultValue==s.props.value})),n.class&&!n.className?(i.class=n.class,Object.defineProperty(i,"className",X0)):(n.className&&!n.class||n.class&&n.className)&&(i.class=i.className=n.className),t.props=i}(e),e.$$typeof=eh,Sc&&Sc(e)};var Oc=G.__r;G.__r=function(e){Oc&&Oc(e),Bs=e.__c};var Pc=G.diffed;G.diffed=function(e){Pc&&Pc(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),Bs=null};var rh={ReactCurrentDispatcher:{current:{readContext:function(e){return Bs.__n[e.__c].props.value}}}},Q0="17.0.2";function ih(e){return F.bind(null,e)}function _r(e){return!!e&&e.$$typeof===eh}function ah(e){return _r(e)&&e.type===we}function Fs(e){return _r(e)?Up.apply(null,arguments):e}function oh(e){return!!e.__k&&(ir(null,e),!0)}function uh(e){return e&&(e.base||e.nodeType===1&&e)||null}var sh=function(e,t){return e(t)},lh=function(e,t){return e(t)},ch=we;function Us(e){e()}function fh(e){return e}function dh(){return[!1,Us]}var ph=$n,hh=_r;function vh(e,t){var n=t(),r=xe({h:{__:n,v:t}}),i=r[0].h,a=r[1];return $n(function(){i.__=n,i.v=t,yo(i.__,t())||a({h:i})},[e,n,t]),de(function(){return yo(i.__,i.v())||a({h:i}),e(function(){yo(i.__,i.v())||a({h:i})})},[e]),n}var Z={useState:xe,useId:Wp,useReducer:Dn,useEffect:de,useLayoutEffect:$n,useInsertionEffect:ph,useTransition:dh,useDeferredValue:fh,useSyncExternalStore:vh,startTransition:Us,useRef:ae,useImperativeHandle:Hp,useMemo:ce,useCallback:Zt,useContext:ke,useDebugValue:Kp,version:"17.0.2",Children:Yp,render:th,hydrate:nh,unmountComponentAtNode:oh,createPortal:js,createElement:F,createContext:je,createFactory:ih,cloneElement:Fs,createRef:Xr,Fragment:we,isValidElement:_r,isElement:hh,isFragment:ah,findDOMNode:uh,Component:nt,PureComponent:pa,memo:Vp,forwardRef:pe,flushSync:lh,unstable_batchedUpdates:sh,StrictMode:ch,Suspense:xr,SuspenseList:zn,lazy:Zp,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:rh};const or=Object.freeze(Object.defineProperty({__proto__:null,Children:Yp,Component:nt,Fragment:we,PureComponent:pa,StrictMode:ch,Suspense:xr,SuspenseList:zn,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:rh,cloneElement:Fs,createContext:je,createElement:F,createFactory:ih,createPortal:js,createRef:Xr,default:Z,findDOMNode:uh,flushSync:lh,forwardRef:pe,hydrate:nh,isElement:hh,isFragment:ah,isValidElement:_r,lazy:Zp,memo:Vp,render:th,startTransition:Us,unmountComponentAtNode:oh,unstable_batchedUpdates:sh,useCallback:Zt,useContext:ke,useDebugValue:Kp,useDeferredValue:fh,useEffect:de,useErrorBoundary:M0,useId:Wp,useImperativeHandle:Hp,useInsertionEffect:ph,useLayoutEffect:$n,useMemo:ce,useReducer:Dn,useRef:ae,useState:xe,useSyncExternalStore:vh,useTransition:dh,version:Q0},Symbol.toStringTag,{value:"Module"}));var mh={exports:{}};(function(e,t){(function(){function n(){var r=window,i=document;if("scrollBehavior"in i.documentElement.style&&r.__forceSmoothScrollPolyfill__!==!0)return;var a=r.HTMLElement||r.Element,o=468,u={scroll:r.scroll||r.scrollTo,scrollBy:r.scrollBy,elementScroll:a.prototype.scroll||l,scrollIntoView:a.prototype.scrollIntoView},s=r.performance&&r.performance.now?r.performance.now.bind(r.performance):Date.now;function c(b){var E=["MSIE ","Trident/","Edge/"];return new RegExp(E.join("|")).test(b)}var f=c(r.navigator.userAgent)?1:0;function l(b,E){this.scrollLeft=b,this.scrollTop=E}function d(b){return .5*(1-Math.cos(Math.PI*b))}function h(b){if(b===null||typeof b!="object"||b.behavior===void 0||b.behavior==="auto"||b.behavior==="instant")return!0;if(typeof b=="object"&&b.behavior==="smooth")return!1;throw new TypeError("behavior member of ScrollOptions "+b.behavior+" is not a valid value for enumeration ScrollBehavior.")}function v(b,E){if(E==="Y")return b.clientHeight+f<b.scrollHeight;if(E==="X")return b.clientWidth+f<b.scrollWidth}function p(b,E){var O=r.getComputedStyle(b,null)["overflow"+E];return O==="auto"||O==="scroll"}function _(b){var E=v(b,"Y")&&p(b,"Y"),O=v(b,"X")&&p(b,"X");return E||O}function g(b){for(;b!==i.body&&_(b)===!1;)b=b.parentNode||b.host;return b}function y(b){var E=s(),O,S,w,P=(E-b.startTime)/o;P=P>1?1:P,O=d(P),S=b.startX+(b.x-b.startX)*O,w=b.startY+(b.y-b.startY)*O,b.method.call(b.scrollable,S,w),(S!==b.x||w!==b.y)&&r.requestAnimationFrame(y.bind(r,b))}function m(b,E,O){var S,w,P,A,L=s();b===i.body?(S=r,w=r.scrollX||r.pageXOffset,P=r.scrollY||r.pageYOffset,A=u.scroll):(S=b,w=b.scrollLeft,P=b.scrollTop,A=l),y({scrollable:S,method:A,startTime:L,startX:w,startY:P,x:E,y:O})}r.scroll=r.scrollTo=function(){if(arguments[0]!==void 0){if(h(arguments[0])===!0){u.scroll.call(r,arguments[0].left!==void 0?arguments[0].left:typeof arguments[0]!="object"?arguments[0]:r.scrollX||r.pageXOffset,arguments[0].top!==void 0?arguments[0].top:arguments[1]!==void 0?arguments[1]:r.scrollY||r.pageYOffset);return}m.call(r,i.body,arguments[0].left!==void 0?~~arguments[0].left:r.scrollX||r.pageXOffset,arguments[0].top!==void 0?~~arguments[0].top:r.scrollY||r.pageYOffset)}},r.scrollBy=function(){if(arguments[0]!==void 0){if(h(arguments[0])){u.scrollBy.call(r,arguments[0].left!==void 0?arguments[0].left:typeof arguments[0]!="object"?arguments[0]:0,arguments[0].top!==void 0?arguments[0].top:arguments[1]!==void 0?arguments[1]:0);return}m.call(r,i.body,~~arguments[0].left+(r.scrollX||r.pageXOffset),~~arguments[0].top+(r.scrollY||r.pageYOffset))}},a.prototype.scroll=a.prototype.scrollTo=function(){if(arguments[0]!==void 0){if(h(arguments[0])===!0){if(typeof arguments[0]=="number"&&arguments[1]===void 0)throw new SyntaxError("Value could not be converted");u.elementScroll.call(this,arguments[0].left!==void 0?~~arguments[0].left:typeof arguments[0]!="object"?~~arguments[0]:this.scrollLeft,arguments[0].top!==void 0?~~arguments[0].top:arguments[1]!==void 0?~~arguments[1]:this.scrollTop);return}var b=arguments[0].left,E=arguments[0].top;m.call(this,this,typeof b>"u"?this.scrollLeft:~~b,typeof E>"u"?this.scrollTop:~~E)}},a.prototype.scrollBy=function(){if(arguments[0]!==void 0){if(h(arguments[0])===!0){u.elementScroll.call(this,arguments[0].left!==void 0?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,arguments[0].top!==void 0?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop);return}this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior})}},a.prototype.scrollIntoView=function(){if(h(arguments[0])===!0){u.scrollIntoView.call(this,arguments[0]===void 0?!0:arguments[0]);return}var b=g(this),E=b.getBoundingClientRect(),O=this.getBoundingClientRect();b!==i.body?(m.call(this,b,b.scrollLeft+O.left-E.left,b.scrollTop+O.top-E.top),r.getComputedStyle(b).position!=="fixed"&&r.scrollBy({left:E.left,top:E.top,behavior:"smooth"})):r.scrollBy({left:O.left,top:O.top,behavior:"smooth"})}}e.exports={polyfill:n}})()})(mh);var J0=mh.exports;const AL=yr(J0);function TL(e,t){return t=t||{},new Promise(function(n,r){var i=new XMLHttpRequest,a=[],o=[],u={},s=function(){return{ok:(i.status/100|0)==2,statusText:i.statusText,status:i.status,url:i.responseURL,text:function(){return Promise.resolve(i.responseText)},json:function(){return Promise.resolve(i.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([i.response]))},clone:s,headers:{keys:function(){return a},entries:function(){return o},get:function(f){return u[f.toLowerCase()]},has:function(f){return f.toLowerCase()in u}}}};for(var c in i.open(t.method||"get",e,!0),i.onload=function(){i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(f,l,d){a.push(l=l.toLowerCase()),o.push([l,d]),u[l]=u[l]?u[l]+","+d:d}),n(s())},i.onerror=r,i.withCredentials=t.credentials=="include",t.headers)i.setRequestHeader(c,t.headers[c]);i.send(t.body||null)})}var Ac=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function Z0(e,t){return!!(e===t||Ac(e)&&Ac(t))}function eb(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Z0(e[n],t[n]))return!1;return!0}function CL(e,t){t===void 0&&(t=eb);var n,r=[],i,a=!1;function o(){for(var u=[],s=0;s<arguments.length;s++)u[s]=arguments[s];return a&&n===this&&t(u,r)||(i=e.apply(this,u),a=!0,n=this,r=u),i}return o}var tb=function(t,n,r,i){var a=r?r.call(i,t,n):void 0;if(a!==void 0)return!!a;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var o=Object.keys(t),u=Object.keys(n);if(o.length!==u.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(n),c=0;c<o.length;c++){var f=o[c];if(!s(f))return!1;var l=t[f],d=n[f];if(a=r?r.call(i,l,d,f):void 0,a===!1||a===void 0&&l!==d)return!1}return!0};const IL=yr(tb);globalThis&&globalThis.__spreadArray;function nb(e){return e}function rb(e){return function(){return e}}var ib=rb(void 0);function LL(e,t,n,r,i,a,o,u,s){switch(arguments.length){case 1:return e;case 2:return t(e);case 3:return n(t(e));case 4:return r(n(t(e)));case 5:return i(r(n(t(e))));case 6:return a(i(r(n(t(e)))));case 7:return o(a(i(r(n(t(e))))));case 8:return u(o(a(i(r(n(t(e)))))));case 9:return s(u(o(a(i(r(n(t(e))))))));default:{for(var c=arguments[0],f=1;f<arguments.length;f++)c=arguments[f](c);return c}}}globalThis&&globalThis.__spreadArray;var ab=function(e){return e._tag==="Some"},ob={_tag:"None"},ub=function(e){return{_tag:"Some",value:e}},xs=ob,yh=ub,RL=function(e){return function(t){return Ua(t)?xs:yh(e(t.value))}},kL=ab,Ua=function(e){return e._tag==="None"},sb=function(e,t){return function(n){return Ua(n)?e():t(n.value)}},gh=sb,NL=gh,lb=function(e){return function(t){return Ua(t)?e():t.value}},ML=lb,cb=function(e){return e==null?xs:yh(e)},DL=function(e){return function(t){return Ua(t)?xs:cb(e(t.value))}},$L=gh(ib,nb);function ur(){return ur=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ur.apply(null,arguments)}var qn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(qn||(qn={}));var Tc=function(e){return e},Cc="beforeunload",fb="hashchange",db="popstate";function jL(e){e===void 0&&(e={});var t=e,n=t.window,r=n===void 0?document.defaultView:n,i=r.history;function a(){var w=Rc(r.location.hash.substr(1)),P=w.pathname,A=P===void 0?"/":P,L=w.search,D=L===void 0?"":L,j=w.hash,I=j===void 0?"":j,C=i.state||{};return[C.idx,Tc({pathname:A,search:D,hash:I,state:C.usr||null,key:C.key||"default"})]}var o=null;function u(){if(o)h.call(o),o=null;else{var w=qn.Pop,P=a(),A=P[0],L=P[1];if(h.length){if(A!=null){var D=f-A;D&&(o={action:w,location:L,retry:function(){O(D*-1)}},O(D))}}else m(w)}}r.addEventListener(db,u),r.addEventListener(fb,function(){var w=a(),P=w[1];go(P)!==go(l)&&u()});var s=qn.Pop,c=a(),f=c[0],l=c[1],d=Lc(),h=Lc();f==null&&(f=0,i.replaceState(ur({},i.state,{idx:f}),""));function v(){var w=document.querySelector("base"),P="";if(w&&w.getAttribute("href")){var A=r.location.href,L=A.indexOf("#");P=L===-1?A:A.slice(0,L)}return P}function p(w){return v()+"#"+(typeof w=="string"?w:go(w))}function _(w,P){return P===void 0&&(P=null),Tc(ur({pathname:l.pathname,hash:"",search:""},typeof w=="string"?Rc(w):w,{state:P,key:pb()}))}function g(w,P){return[{usr:w.state,key:w.key,idx:P},p(w)]}function y(w,P,A){return!h.length||(h.call({action:w,location:P,retry:A}),!1)}function m(w){s=w;var P=a();f=P[0],l=P[1],d.call({action:s,location:l})}function b(w,P){var A=qn.Push,L=_(w,P);function D(){b(w,P)}if(y(A,L,D)){var j=g(L,f+1),I=j[0],C=j[1];try{i.pushState(I,"",C)}catch{r.location.assign(C)}m(A)}}function E(w,P){var A=qn.Replace,L=_(w,P);function D(){E(w,P)}if(y(A,L,D)){var j=g(L,f),I=j[0],C=j[1];i.replaceState(I,"",C),m(A)}}function O(w){i.go(w)}var S={get action(){return s},get location(){return l},createHref:p,push:b,replace:E,go:O,back:function(){O(-1)},forward:function(){O(1)},listen:function(P){return d.push(P)},block:function(P){var A=h.push(P);return h.length===1&&r.addEventListener(Cc,Ic),function(){A(),h.length||r.removeEventListener(Cc,Ic)}}};return S}function Ic(e){e.preventDefault(),e.returnValue=""}function Lc(){var e=[];return{get length(){return e.length},push:function(n){return e.push(n),function(){e=e.filter(function(r){return r!==n})}},call:function(n){e.forEach(function(r){return r&&r(n)})}}}function pb(){return Math.random().toString(36).substr(2,8)}function go(e){var t=e.pathname,n=t===void 0?"/":t,r=e.search,i=r===void 0?"":r,a=e.hash,o=a===void 0?"":a;return i&&i!=="?"&&(n+=i.charAt(0)==="?"?i:"?"+i),o&&o!=="#"&&(n+=o.charAt(0)==="#"?o:"#"+o),n}function Rc(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}var hb={};function bh(e,t){for(var n in t)e[n]=t[n];return e}function _h(e,t,n){var r=/(?:\?([^#]*))?(#.*)?$/,i=e.match(r),a={},o;if(i&&i[1])for(var u=i[1].split("&"),s=0;s<u.length;s++){var c=u[s].split("=");a[decodeURIComponent(c[0])]=decodeURIComponent(c.slice(1).join("="))}e=Tu(e.replace(r,"")),t=Tu(t||"");for(var f=Math.max(e.length,t.length),l=0;l<f;l++)if(t[l]&&t[l].charAt(0)===":"){var d=t[l].replace(/(^:|[+*?]+$)/g,""),h=(t[l].match(/[+*?]+$/)||hb)[0]||"",v=~h.indexOf("+"),p=~h.indexOf("*"),_=e[l]||"";if(!_&&!p&&(h.indexOf("?")<0||v)){o=!1;break}if(a[d]=decodeURIComponent(_),v||p){a[d]=e.slice(l).map(decodeURIComponent).join("/");break}}else if(t[l]!==e[l]){o=!1;break}return n.default!==!0&&o===!1?!1:a}function vb(e,t){return e.rank<t.rank?1:e.rank>t.rank?-1:e.index-t.index}function mb(e,t){return e.index=t,e.rank=bb(e),e.props}function Tu(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")}function yb(e){return e.charAt(0)==":"?1+"*+?".indexOf(e.charAt(e.length-1))||4:5}function gb(e){return Tu(e).map(yb).join("")}function bb(e){return e.props.default?0:gb(e.props.path)}var et=null,Pn=[],Cu=[],_b={};function wb(e,t){t===void 0&&(t="push"),et&&et[t]?et[t](e):typeof history<"u"&&history[t+"State"]&&history[t+"State"](null,null,e)}function Hs(){var e;return et&&et.location?e=et.location:et&&et.getCurrentLocation?e=et.getCurrentLocation():e=typeof location<"u"?location:_b,""+(e.pathname||"")+(e.search||"")}function wh(e,t){return t===void 0&&(t=!1),typeof e!="string"&&e.url&&(t=e.replace,e=e.url),Eb(e)&&wb(e,t?"replace":"push"),Eh(e)}function Eb(e){for(var t=Pn.length;t--;)if(Pn[t].canRoute(e))return!0;return!1}function Eh(e){for(var t=!1,n=0;n<Pn.length;n++)Pn[n].routeTo(e)===!0&&(t=!0);for(var r=Cu.length;r--;)Cu[r](e);return t}function Sh(e){if(!(!e||!e.getAttribute)){var t=e.getAttribute("href"),n=e.getAttribute("target");if(!(!t||!t.match(/^\//g)||n&&!n.match(/^_?self$/i)))return wh(t)}}function Sb(e){if(!(e.ctrlKey||e.metaKey||e.altKey||e.shiftKey||e.button!==0))return Sh(e.currentTarget||e.target||this),Oh(e)}function Oh(e){return e&&(e.stopImmediatePropagation&&e.stopImmediatePropagation(),e.stopPropagation&&e.stopPropagation(),e.preventDefault()),!1}function Ob(e){if(!(e.ctrlKey||e.metaKey||e.altKey||e.shiftKey||e.button!==0)){var t=e.target;do if(String(t.nodeName).toUpperCase()==="A"&&t.getAttribute("href")){if(t.hasAttribute("native"))return;if(Sh(t))return Oh(e)}while(t=t.parentNode)}}var kc=!1;function Pb(){kc||(typeof addEventListener=="function"&&(et||addEventListener("popstate",function(){Eh(Hs())}),addEventListener("click",Ob)),kc=!0)}var ln=function(e){function t(n){e.call(this,n),n.history&&(et=n.history),this.state={url:n.url||Hs()},Pb()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.shouldComponentUpdate=function(r){return r.static!==!0?!0:r.url!==this.props.url||r.onChange!==this.props.onChange},t.prototype.canRoute=function(r){var i=mt(this.props.children);return this.getMatchingChildren(i,r,!1).length>0},t.prototype.routeTo=function(r){this.setState({url:r});var i=this.canRoute(r);return this.updating||this.forceUpdate(),i},t.prototype.componentWillMount=function(){Pn.push(this),this.updating=!0},t.prototype.componentDidMount=function(){var r=this;et&&(this.unlisten=et.listen(function(i){r.routeTo(""+(i.pathname||"")+(i.search||""))})),this.updating=!1},t.prototype.componentWillUnmount=function(){typeof this.unlisten=="function"&&this.unlisten(),Pn.splice(Pn.indexOf(this),1)},t.prototype.componentWillUpdate=function(){this.updating=!0},t.prototype.componentDidUpdate=function(){this.updating=!1},t.prototype.getMatchingChildren=function(r,i,a){return r.filter(mb).sort(vb).map(function(o){var u=_h(i,o.props.path,o.props);if(u){if(a!==!1){var s={url:i,matches:u};return bh(s,u),delete s.ref,delete s.key,Up(o,s)}return o}}).filter(Boolean)},t.prototype.render=function(r,i){var a=r.children,o=r.onChange,u=i.url,s=this.getMatchingChildren(mt(a),u,!0),c=s[0]||null,f=this.previousUrl;return u!==f&&(this.previousUrl=u,typeof o=="function"&&o({router:this,url:u,previous:f,active:s,current:c})),c},t}(nt),Ab=function(e){return F("a",bh({onClick:Sb},e))},Tb=function(e){return F(e.component,e)};ln.subscribers=Cu;ln.getCurrentUrl=Hs;ln.route=wh;ln.Router=ln;ln.Route=Tb;ln.Link=Ab;ln.exec=_h;const Cb="application/json",Ph="Content-Type",Bn=Symbol(),Ah=Symbol();function Nc(e={}){var t;return(t=Object.entries(e).find(([n])=>n.toLowerCase()===Ph.toLowerCase()))===null||t===void 0?void 0:t[1]}function Mc(e){return/^application\/.*json.*/.test(e)}const An=function(e,t,n=!1){return Object.entries(t).reduce((r,[i,a])=>{const o=e[i];return Array.isArray(o)&&Array.isArray(a)?r[i]=n?[...o,...a]:a:typeof o=="object"&&typeof a=="object"?r[i]=An(o,a,n):r[i]=a,r},{...e})},sr={options:{},errorType:"text",polyfills:{},polyfill(e,t=!0,n=!1,...r){const i=this.polyfills[e]||(typeof self<"u"?self[e]:null)||(typeof global<"u"?global[e]:null);if(t&&!i)throw new Error(e+" is not defined");return n&&i?new i(...r):i}};function Ib(e,t=!1){sr.options=t?e:An(sr.options,e)}function Lb(e,t=!1){sr.polyfills=t?e:An(sr.polyfills,e)}function Rb(e){sr.errorType=e}const kb=e=>t=>e.reduceRight((n,r)=>r(n),t)||t;class Th extends Error{}const Nb=e=>{const t=Object.create(null);e=e._addons.reduce((m,b)=>b.beforeRequest&&b.beforeRequest(m,e._options,t)||m,e);const{_url:n,_options:r,_config:i,_catchers:a,_resolvers:o,_middlewares:u,_addons:s}=e,c=new Map(a),f=An(i.options,r);let l=n;const d=kb(u)((m,b)=>(l=m,i.polyfill("fetch")(m,b)))(n,f),h=new Error,v=d.catch(m=>{throw{[Bn]:m}}).then(m=>{if(!m.ok){const b=new Th;if(b.cause=h,b.stack=b.stack+`
|
|
4
|
-
CAUSE: `+h.stack,b.response=m,b.url=l,m.type==="opaque")throw b;return m.text().then(E=>{var O;if(b.message=E,i.errorType==="json"||((O=m.headers.get("Content-Type"))===null||O===void 0?void 0:O.split(";")[0])==="application/json")try{b.json=JSON.parse(E)}catch{}throw b.text=E,b.status=m.status,b})}return m}),p=m=>m.catch(b=>{const E=b.hasOwnProperty(Bn),O=E?b[Bn]:b,S=(O==null?void 0:O.status)&&c.get(O.status)||c.get(O==null?void 0:O.name)||E&&c.has(Bn)&&c.get(Bn);if(S)return S(O,e);const w=c.get(Ah);if(w)return w(O,e);throw O}),_=m=>b=>p(m?v.then(E=>E&&E[m]()).then(E=>b?b(E):E):v.then(E=>b?b(E):E)),g={_wretchReq:e,_fetchReq:d,_sharedState:t,res:_(null),json:_("json"),blob:_("blob"),formData:_("formData"),arrayBuffer:_("arrayBuffer"),text:_("text"),error(m,b){return c.set(m,b),this},badRequest(m){return this.error(400,m)},unauthorized(m){return this.error(401,m)},forbidden(m){return this.error(403,m)},notFound(m){return this.error(404,m)},timeout(m){return this.error(408,m)},internalError(m){return this.error(500,m)},fetchError(m){return this.error(Bn,m)}},y=s.reduce((m,b)=>({...m,...typeof b.resolver=="function"?b.resolver(m):b.resolver}),g);return o.reduce((m,b)=>b(m,e),y)},Mb={_url:"",_options:{},_config:sr,_catchers:new Map,_resolvers:[],_deferred:[],_middlewares:[],_addons:[],addon(e){return{...this,_addons:[...this._addons,e],...e.wretch}},errorType(e){return{...this,_config:{...this._config,errorType:e}}},polyfills(e,t=!1){return{...this,_config:{...this._config,polyfills:t?e:An(this._config.polyfills,e)}}},url(e,t=!1){if(t)return{...this,_url:e};const n=this._url.split("?");return{...this,_url:n.length>1?n[0]+e+"?"+n[1]:this._url+e}},options(e,t=!1){return{...this,_options:t?e:An(this._options,e)}},headers(e){const t=e?Array.isArray(e)?Object.fromEntries(e):"entries"in e?Object.fromEntries(e.entries()):e:{};return{...this,_options:An(this._options,{headers:t})}},accept(e){return this.headers({Accept:e})},content(e){return this.headers({[Ph]:e})},auth(e){return this.headers({Authorization:e})},catcher(e,t){const n=new Map(this._catchers);return n.set(e,t),{...this,_catchers:n}},catcherFallback(e){return this.catcher(Ah,e)},resolve(e,t=!1){return{...this,_resolvers:t?[e]:[...this._resolvers,e]}},defer(e,t=!1){return{...this,_deferred:t?[e]:[...this._deferred,e]}},middlewares(e,t=!1){return{...this,_middlewares:t?e:[...this._middlewares,...e]}},fetch(e=this._options.method,t="",n=null){let r=this.url(t).options({method:e});const i=Nc(r._options.headers),a=this._config.polyfill("FormData",!1),o=typeof n=="object"&&!(a&&n instanceof a)&&(!r._options.headers||!i||Mc(i));return r=n?o?r.json(n,i):r.body(n):r,Nb(r._deferred.reduce((u,s)=>s(u,u._url,u._options),r))},get(e=""){return this.fetch("GET",e)},delete(e=""){return this.fetch("DELETE",e)},put(e,t=""){return this.fetch("PUT",t,e)},post(e,t=""){return this.fetch("POST",t,e)},patch(e,t=""){return this.fetch("PATCH",t,e)},head(e=""){return this.fetch("HEAD",e)},opts(e=""){return this.fetch("OPTIONS",e)},body(e){return{...this,_options:{...this._options,body:e}}},json(e,t){const n=Nc(this._options.headers);return this.content(t||Mc(n)&&n||Cb).body(JSON.stringify(e))}};function lr(e="",t={}){return{...Mb,_url:e,_options:t}}lr.default=lr;lr.options=Ib;lr.errorType=Rb;lr.polyfills=Lb;lr.WretchError=Th;function Dc(e){return typeof e<"u"?e:""}const Db=(e,t,n,r,i)=>{let a;if(typeof t=="string")a=t;else{const u=i.polyfill("URLSearchParams",!0,!0);for(const s in t){const c=t[s];if(!(r&&c==null))if(t[s]instanceof Array)for(const f of c)u.append(s,Dc(f));else u.append(s,Dc(c))}a=u.toString()}const o=e.split("?");return a?n||o.length<2?o[0]+"?"+a:e+"&"+a:n?o[0]:e},$b={wretch:{query(e,t=!1,n=!1){return{...this,_url:Db(this._url,e,t,n,this._config)}}}},BL=$b;var jb=0;function FL(e,t,n,r,i,a){var o,u,s={};for(u in t)u=="ref"?o=t[u]:s[u]=t[u];var c={type:e,props:s,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--jb,__source:i,__self:a};if(typeof e=="function"&&(o=e.defaultProps))for(u in o)s[u]===void 0&&(s[u]=o[u]);return G.vnode&&G.vnode(c),c}var ct={};(function(e){var t=J&&J.__spreadArray||function(S,w,P){if(P||arguments.length===2)for(var A=0,L=w.length,D;A<L;A++)(D||!(A in w))&&(D||(D=Array.prototype.slice.call(w,0,A)),D[A]=w[A]);return S.concat(D||Array.prototype.slice.call(w))};Object.defineProperty(e,"__esModule",{value:!0}),e.dual=e.getEndomorphismMonoid=e.not=e.SK=e.hole=e.pipe=e.untupled=e.tupled=e.absurd=e.decrement=e.increment=e.tuple=e.flow=e.flip=e.constVoid=e.constUndefined=e.constNull=e.constFalse=e.constTrue=e.constant=e.unsafeCoerce=e.identity=e.apply=e.getRing=e.getSemiring=e.getMonoid=e.getSemigroup=e.getBooleanAlgebra=void 0;var n=function(S){return function(){return{meet:function(w,P){return function(A){return S.meet(w(A),P(A))}},join:function(w,P){return function(A){return S.join(w(A),P(A))}},zero:function(){return S.zero},one:function(){return S.one},implies:function(w,P){return function(A){return S.implies(w(A),P(A))}},not:function(w){return function(P){return S.not(w(P))}}}}};e.getBooleanAlgebra=n;var r=function(S){return function(){return{concat:function(w,P){return function(A){return S.concat(w(A),P(A))}}}}};e.getSemigroup=r;var i=function(S){var w=(0,e.getSemigroup)(S);return function(){return{concat:w().concat,empty:function(){return S.empty}}}};e.getMonoid=i;var a=function(S){return{add:function(w,P){return function(A){return S.add(w(A),P(A))}},zero:function(){return S.zero},mul:function(w,P){return function(A){return S.mul(w(A),P(A))}},one:function(){return S.one}}};e.getSemiring=a;var o=function(S){var w=(0,e.getSemiring)(S);return{add:w.add,mul:w.mul,one:w.one,zero:w.zero,sub:function(P,A){return function(L){return S.sub(P(L),A(L))}}}};e.getRing=o;var u=function(S){return function(w){return w(S)}};e.apply=u;function s(S){return S}e.identity=s,e.unsafeCoerce=s;function c(S){return function(){return S}}e.constant=c,e.constTrue=c(!0),e.constFalse=c(!1),e.constNull=c(null),e.constUndefined=c(void 0),e.constVoid=e.constUndefined;function f(S){return function(){for(var w=[],P=0;P<arguments.length;P++)w[P]=arguments[P];return w.length>1?S(w[1],w[0]):function(A){return S(A)(w[0])}}}e.flip=f;function l(S,w,P,A,L,D,j,I,C){switch(arguments.length){case 1:return S;case 2:return function(){return w(S.apply(this,arguments))};case 3:return function(){return P(w(S.apply(this,arguments)))};case 4:return function(){return A(P(w(S.apply(this,arguments))))};case 5:return function(){return L(A(P(w(S.apply(this,arguments)))))};case 6:return function(){return D(L(A(P(w(S.apply(this,arguments))))))};case 7:return function(){return j(D(L(A(P(w(S.apply(this,arguments)))))))};case 8:return function(){return I(j(D(L(A(P(w(S.apply(this,arguments))))))))};case 9:return function(){return C(I(j(D(L(A(P(w(S.apply(this,arguments)))))))))}}}e.flow=l;function d(){for(var S=[],w=0;w<arguments.length;w++)S[w]=arguments[w];return S}e.tuple=d;function h(S){return S+1}e.increment=h;function v(S){return S-1}e.decrement=v;function p(S){throw new Error("Called `absurd` function which should be uncallable")}e.absurd=p;function _(S){return function(w){return S.apply(void 0,w)}}e.tupled=_;function g(S){return function(){for(var w=[],P=0;P<arguments.length;P++)w[P]=arguments[P];return S(w)}}e.untupled=g;function y(S,w,P,A,L,D,j,I,C){switch(arguments.length){case 1:return S;case 2:return w(S);case 3:return P(w(S));case 4:return A(P(w(S)));case 5:return L(A(P(w(S))));case 6:return D(L(A(P(w(S)))));case 7:return j(D(L(A(P(w(S))))));case 8:return I(j(D(L(A(P(w(S)))))));case 9:return C(I(j(D(L(A(P(w(S))))))));default:{for(var R=arguments[0],$=1;$<arguments.length;$++)R=arguments[$](R);return R}}}e.pipe=y,e.hole=p;var m=function(S,w){return w};e.SK=m;function b(S){return function(w){return!S(w)}}e.not=b;var E=function(){return{concat:function(S,w){return l(S,w)},empty:s}};e.getEndomorphismMonoid=E;var O=function(S,w){var P=typeof S=="number"?function(A){return A.length>=S}:S;return function(){var A=Array.from(arguments);return P(arguments)?w.apply(this,A):function(L){return w.apply(void 0,t([L],A,!1))}}};e.dual=O})(ct);function pt(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map(function(i){return"'"+i+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function cr(e){return!!e&&!!e[rt]}function Ln(e){var t;return!!e&&(function(n){if(!n||typeof n!="object")return!1;var r=Object.getPrototypeOf(n);if(r===null)return!0;var i=Object.hasOwnProperty.call(r,"constructor")&&r.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===zb}(e)||Array.isArray(e)||!!e[Kc]||!!(!((t=e.constructor)===null||t===void 0)&&t[Kc])||Ks(e)||Ws(e))}function Jr(e,t,n){n===void 0&&(n=!1),wr(e)===0?(n?Object.keys:Ys)(e).forEach(function(r){n&&typeof r=="symbol"||t(r,e[r],e)}):e.forEach(function(r,i){return t(i,r,e)})}function wr(e){var t=e[rt];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Ks(e)?2:Ws(e)?3:0}function Iu(e,t){return wr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Bb(e,t){return wr(e)===2?e.get(t):e[t]}function Ch(e,t,n){var r=wr(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function Fb(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Ks(e){return Kb&&e instanceof Map}function Ws(e){return Wb&&e instanceof Set}function yn(e){return e.o||e.t}function zs(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=qb(e);delete t[rt];for(var n=Ys(t),r=0;r<n.length;r++){var i=n[r],a=t[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function qs(e,t){return t===void 0&&(t=!1),Gs(e)||cr(e)||!Ln(e)||(wr(e)>1&&(e.set=e.add=e.clear=e.delete=Ub),Object.freeze(e),t&&Jr(e,function(n,r){return qs(r,!0)},!0)),e}function Ub(){pt(2)}function Gs(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Ct(e){var t=Gb[e];return t||pt(18,e),t}function $c(){return Zr}function bo(e,t){t&&(Ct("Patches"),e.u=[],e.s=[],e.v=t)}function ha(e){Lu(e),e.p.forEach(xb),e.p=null}function Lu(e){e===Zr&&(Zr=e.l)}function jc(e){return Zr={p:[],l:Zr,h:e,m:!0,_:0}}function xb(e){var t=e[rt];t.i===0||t.i===1?t.j():t.g=!0}function _o(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.O||Ct("ES5").S(t,e,r),r?(n[rt].P&&(ha(t),pt(4)),Ln(e)&&(e=va(t,e),t.l||ma(t,e)),t.u&&Ct("Patches").M(n[rt].t,e,t.u,t.s)):e=va(t,n,[]),ha(t),t.u&&t.v(t.u,t.s),e!==Ih?e:void 0}function va(e,t,n){if(Gs(t))return t;var r=t[rt];if(!r)return Jr(t,function(u,s){return Bc(e,r,t,u,s,n)},!0),t;if(r.A!==e)return t;if(!r.P)return ma(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=r.i===4||r.i===5?r.o=zs(r.k):r.o,a=i,o=!1;r.i===3&&(a=new Set(i),i.clear(),o=!0),Jr(a,function(u,s){return Bc(e,r,i,u,s,n,o)}),ma(e,i,!1),n&&e.u&&Ct("Patches").N(r,n,e.u,e.s)}return r.o}function Bc(e,t,n,r,i,a,o){if(cr(i)){var u=va(e,i,a&&t&&t.i!==3&&!Iu(t.R,r)?a.concat(r):void 0);if(Ch(n,r,u),!cr(u))return;e.m=!1}else o&&n.add(i);if(Ln(i)&&!Gs(i)){if(!e.h.D&&e._<1)return;va(e,i),t&&t.A.l||ma(e,i)}}function ma(e,t,n){n===void 0&&(n=!1),!e.l&&e.h.D&&e.m&&qs(t,n)}function wo(e,t){var n=e[rt];return(n?yn(n):e)[t]}function Fc(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function Ru(e){e.P||(e.P=!0,e.l&&Ru(e.l))}function Eo(e){e.o||(e.o=zs(e.t))}function ku(e,t,n){var r=Ks(t)?Ct("MapSet").F(t,n):Ws(t)?Ct("MapSet").T(t,n):e.O?function(i,a){var o=Array.isArray(i),u={i:o?1:0,A:a?a.A:$c(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},s=u,c=Nu;o&&(s=[u],c=jr);var f=Proxy.revocable(s,c),l=f.revoke,d=f.proxy;return u.k=d,u.j=l,d}(t,n):Ct("ES5").J(t,n);return(n?n.A:$c()).p.push(r),r}function Hb(e){return cr(e)||pt(22,e),function t(n){if(!Ln(n))return n;var r,i=n[rt],a=wr(n);if(i){if(!i.P&&(i.i<4||!Ct("ES5").K(i)))return i.t;i.I=!0,r=Uc(n,a),i.I=!1}else r=Uc(n,a);return Jr(r,function(o,u){i&&Bb(i.t,o)===u||Ch(r,o,t(u))}),a===3?new Set(r):r}(e)}function Uc(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return zs(e)}var xc,Zr,Vs=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Kb=typeof Map<"u",Wb=typeof Set<"u",Hc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ih=Vs?Symbol.for("immer-nothing"):((xc={})["immer-nothing"]=!0,xc),Kc=Vs?Symbol.for("immer-draftable"):"__$immer_draftable",rt=Vs?Symbol.for("immer-state"):"__$immer_state",zb=""+Object.prototype.constructor,Ys=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,qb=Object.getOwnPropertyDescriptors||function(e){var t={};return Ys(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t},Gb={},Nu={get:function(e,t){if(t===rt)return e;var n=yn(e);if(!Iu(n,t))return function(i,a,o){var u,s=Fc(a,o);return s?"value"in s?s.value:(u=s.get)===null||u===void 0?void 0:u.call(i.k):void 0}(e,n,t);var r=n[t];return e.I||!Ln(r)?r:r===wo(e.t,t)?(Eo(e),e.o[t]=ku(e.A.h,r,e)):r},has:function(e,t){return t in yn(e)},ownKeys:function(e){return Reflect.ownKeys(yn(e))},set:function(e,t,n){var r=Fc(yn(e),t);if(r!=null&&r.set)return r.set.call(e.k,n),!0;if(!e.P){var i=wo(yn(e),t),a=i==null?void 0:i[rt];if(a&&a.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(Fb(n,i)&&(n!==void 0||Iu(e.t,t)))return!0;Eo(e),Ru(e)}return e.o[t]===n&&(n!==void 0||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return wo(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Eo(e),Ru(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=yn(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty:function(){pt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){pt(12)}},jr={};Jr(Nu,function(e,t){jr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),jr.deleteProperty=function(e,t){return jr.set.call(this,e,t,void 0)},jr.set=function(e,t,n){return Nu.set.call(this,e[0],t,n,e[0])};var Vb=function(){function e(n){var r=this;this.O=Hc,this.D=!0,this.produce=function(i,a,o){if(typeof i=="function"&&typeof a!="function"){var u=a;a=i;var s=r;return function(p){var _=this;p===void 0&&(p=u);for(var g=arguments.length,y=Array(g>1?g-1:0),m=1;m<g;m++)y[m-1]=arguments[m];return s.produce(p,function(b){var E;return(E=a).call.apply(E,[_,b].concat(y))})}}var c;if(typeof a!="function"&&pt(6),o!==void 0&&typeof o!="function"&&pt(7),Ln(i)){var f=jc(r),l=ku(r,i,void 0),d=!0;try{c=a(l),d=!1}finally{d?ha(f):Lu(f)}return typeof Promise<"u"&&c instanceof Promise?c.then(function(p){return bo(f,o),_o(p,f)},function(p){throw ha(f),p}):(bo(f,o),_o(c,f))}if(!i||typeof i!="object"){if((c=a(i))===void 0&&(c=i),c===Ih&&(c=void 0),r.D&&qs(c,!0),o){var h=[],v=[];Ct("Patches").M(i,c,h,v),o(h,v)}return c}pt(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(c){for(var f=arguments.length,l=Array(f>1?f-1:0),d=1;d<f;d++)l[d-1]=arguments[d];return r.produceWithPatches(c,function(h){return i.apply(void 0,[h].concat(l))})};var o,u,s=r.produce(i,a,function(c,f){o=c,u=f});return typeof Promise<"u"&&s instanceof Promise?s.then(function(c){return[c,o,u]}):[s,o,u]},typeof(n==null?void 0:n.useProxies)=="boolean"&&this.setUseProxies(n.useProxies),typeof(n==null?void 0:n.autoFreeze)=="boolean"&&this.setAutoFreeze(n.autoFreeze)}var t=e.prototype;return t.createDraft=function(n){Ln(n)||pt(8),cr(n)&&(n=Hb(n));var r=jc(this),i=ku(this,n,void 0);return i[rt].C=!0,Lu(r),i},t.finishDraft=function(n,r){var i=n&&n[rt],a=i.A;return bo(a,r),_o(void 0,a)},t.setAutoFreeze=function(n){this.D=n},t.setUseProxies=function(n){n&&!Hc&&pt(20),this.O=n},t.applyPatches=function(n,r){var i;for(i=r.length-1;i>=0;i--){var a=r[i];if(a.path.length===0&&a.op==="replace"){n=a.value;break}}i>-1&&(r=r.slice(i+1));var o=Ct("Patches").$;return cr(n)?o(n,r):this.produce(n,function(u){return o(u,r)})},e}(),it=new Vb,UL=it.produce;it.produceWithPatches.bind(it);it.setAutoFreeze.bind(it);it.setUseProxies.bind(it);it.applyPatches.bind(it);it.createDraft.bind(it);it.finishDraft.bind(it);var Yb={},fr={},He={},Er={};(function(e){var t=J&&J.__spreadArray||function(S,w,P){if(P||arguments.length===2)for(var A=0,L=w.length,D;A<L;A++)(D||!(A in w))&&(D||(D=Array.prototype.slice.call(w,0,A)),D[A]=w[A]);return S.concat(D||Array.prototype.slice.call(w))};Object.defineProperty(e,"__esModule",{value:!0}),e.flatMapReader=e.flatMapTask=e.flatMapIO=e.flatMapEither=e.flatMapOption=e.flatMapNullable=e.liftOption=e.liftNullable=e.fromReadonlyNonEmptyArray=e.has=e.emptyRecord=e.emptyReadonlyArray=e.tail=e.head=e.isNonEmpty=e.singleton=e.right=e.left=e.isRight=e.isLeft=e.some=e.none=e.isSome=e.isNone=void 0;var n=ct,r=function(S){return S._tag==="None"};e.isNone=r;var i=function(S){return S._tag==="Some"};e.isSome=i,e.none={_tag:"None"};var a=function(S){return{_tag:"Some",value:S}};e.some=a;var o=function(S){return S._tag==="Left"};e.isLeft=o;var u=function(S){return S._tag==="Right"};e.isRight=u;var s=function(S){return{_tag:"Left",left:S}};e.left=s;var c=function(S){return{_tag:"Right",right:S}};e.right=c;var f=function(S){return[S]};e.singleton=f;var l=function(S){return S.length>0};e.isNonEmpty=l;var d=function(S){return S[0]};e.head=d;var h=function(S){return S.slice(1)};e.tail=h,e.emptyReadonlyArray=[],e.emptyRecord={},e.has=Object.prototype.hasOwnProperty;var v=function(S){return t([S[0]],S.slice(1),!0)};e.fromReadonlyNonEmptyArray=v;var p=function(S){return function(w,P){return function(){for(var A=[],L=0;L<arguments.length;L++)A[L]=arguments[L];var D=w.apply(void 0,A);return S.fromEither(D==null?(0,e.left)(P.apply(void 0,A)):(0,e.right)(D))}}};e.liftNullable=p;var _=function(S){return function(w,P){return function(){for(var A=[],L=0;L<arguments.length;L++)A[L]=arguments[L];var D=w.apply(void 0,A);return S.fromEither((0,e.isNone)(D)?(0,e.left)(P.apply(void 0,A)):(0,e.right)(D.value))}}};e.liftOption=_;var g=function(S,w){return(0,n.dual)(3,function(P,A,L){return w.flatMap(P,(0,e.liftNullable)(S)(A,L))})};e.flatMapNullable=g;var y=function(S,w){return(0,n.dual)(3,function(P,A,L){return w.flatMap(P,(0,e.liftOption)(S)(A,L))})};e.flatMapOption=y;var m=function(S,w){return(0,n.dual)(2,function(P,A){return w.flatMap(P,function(L){return S.fromEither(A(L))})})};e.flatMapEither=m;var b=function(S,w){return(0,n.dual)(2,function(P,A){return w.flatMap(P,function(L){return S.fromIO(A(L))})})};e.flatMapIO=b;var E=function(S,w){return(0,n.dual)(2,function(P,A){return w.flatMap(P,function(L){return S.fromTask(A(L))})})};e.flatMapTask=E;var O=function(S,w){return(0,n.dual)(2,function(P,A){return w.flatMap(P,function(L){return S.fromReader(A(L))})})};e.flatMapReader=O})(Er);var Xb=J&&J.__createBinding||(Object.create?function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]}),Qb=J&&J.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Jb=J&&J.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&Xb(t,e,n);return Qb(t,e),t};Object.defineProperty(He,"__esModule",{value:!0});He.sequenceS=He.sequenceT=He.getApplySemigroup=He.apS=He.apSecond=He.apFirst=He.ap=void 0;var Zb=ct,e1=Jb(Er);function t1(e,t){return function(n){return function(r){return e.ap(e.map(r,function(i){return function(a){return t.ap(i,a)}}),n)}}}He.ap=t1;function n1(e){return function(t){return function(n){return e.ap(e.map(n,function(r){return function(){return r}}),t)}}}He.apFirst=n1;function r1(e){return function(t){return function(n){return e.ap(e.map(n,function(){return function(r){return r}}),t)}}}He.apSecond=r1;function i1(e){return function(t,n){return function(r){return e.ap(e.map(r,function(i){return function(a){var o;return Object.assign({},i,(o={},o[t]=a,o))}}),n)}}}He.apS=i1;function a1(e){return function(t){return{concat:function(n,r){return e.ap(e.map(n,function(i){return function(a){return t.concat(i,a)}}),r)}}}}He.getApplySemigroup=a1;function Xs(e,t,n){return function(r){for(var i=Array(n.length+1),a=0;a<n.length;a++)i[a]=n[a];return i[n.length]=r,t===0?e.apply(null,i):Xs(e,t-1,i)}}var So={1:function(e){return[e]},2:function(e){return function(t){return[e,t]}},3:function(e){return function(t){return function(n){return[e,t,n]}}},4:function(e){return function(t){return function(n){return function(r){return[e,t,n,r]}}}},5:function(e){return function(t){return function(n){return function(r){return function(i){return[e,t,n,r,i]}}}}}};function o1(e){return e1.has.call(So,e)||(So[e]=Xs(Zb.tuple,e-1,[])),So[e]}function u1(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=t.length,i=o1(r),a=e.map(t[0],i),o=1;o<r;o++)a=e.ap(a,t[o]);return a}}He.sequenceT=u1;function s1(e){var t=e.length;switch(t){case 1:return function(n){var r;return r={},r[e[0]]=n,r};case 2:return function(n){return function(r){var i;return i={},i[e[0]]=n,i[e[1]]=r,i}};case 3:return function(n){return function(r){return function(i){var a;return a={},a[e[0]]=n,a[e[1]]=r,a[e[2]]=i,a}}};case 4:return function(n){return function(r){return function(i){return function(a){var o;return o={},o[e[0]]=n,o[e[1]]=r,o[e[2]]=i,o[e[3]]=a,o}}}};case 5:return function(n){return function(r){return function(i){return function(a){return function(o){var u;return u={},u[e[0]]=n,u[e[1]]=r,u[e[2]]=i,u[e[3]]=a,u[e[4]]=o,u}}}}};default:return Xs(function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];for(var i={},a=0;a<t;a++)i[e[a]]=n[a];return i},t-1,[])}}function l1(e){return function(t){for(var n=Object.keys(t),r=n.length,i=s1(n),a=e.map(t[n[0]],i),o=1;o<r;o++)a=e.ap(a,t[n[o]]);return a}}He.sequenceS=l1;var Ue={};Object.defineProperty(Ue,"__esModule",{value:!0});Ue.asUnit=Ue.as=Ue.getFunctorComposition=Ue.let=Ue.bindTo=Ue.flap=Ue.map=void 0;var c1=ct;function Lh(e,t){return function(n){return function(r){return e.map(r,function(i){return t.map(i,n)})}}}Ue.map=Lh;function f1(e){return function(t){return function(n){return e.map(n,function(r){return r(t)})}}}Ue.flap=f1;function d1(e){return function(t){return function(n){return e.map(n,function(r){var i;return i={},i[t]=r,i})}}}Ue.bindTo=d1;function p1(e){return function(t,n){return function(r){return e.map(r,function(i){var a;return Object.assign({},i,(a={},a[t]=n(i),a))})}}}Ue.let=p1;function h1(e,t){var n=Lh(e,t);return{map:function(r,i){return(0,c1.pipe)(r,n(i))}}}Ue.getFunctorComposition=h1;function Rh(e){return function(t,n){return e.map(t,function(){return n})}}Ue.as=Rh;function v1(e){var t=Rh(e);return function(n){return t(n,void 0)}}Ue.asUnit=v1;Object.defineProperty(fr,"__esModule",{value:!0});fr.getApplicativeComposition=fr.getApplicativeMonoid=void 0;var kh=He,m1=ct,y1=Ue;function g1(e){var t=(0,kh.getApplySemigroup)(e);return function(n){return{concat:t(n).concat,empty:e.of(n.empty)}}}fr.getApplicativeMonoid=g1;function b1(e,t){var n=(0,y1.getFunctorComposition)(e,t).map,r=(0,kh.ap)(e,t);return{map:n,of:function(i){return e.of(t.of(i))},ap:function(i,a){return(0,m1.pipe)(i,r(a))}}}fr.getApplicativeComposition=b1;var jt={};Object.defineProperty(jt,"__esModule",{value:!0});jt.bind=jt.tap=jt.chainFirst=void 0;function _1(e){var t=Nh(e);return function(n){return function(r){return t(r,n)}}}jt.chainFirst=_1;function Nh(e){return function(t,n){return e.chain(t,function(r){return e.map(n(r),function(){return r})})}}jt.tap=Nh;function w1(e){return function(t,n){return function(r){return e.chain(r,function(i){return e.map(n(i),function(a){var o;return Object.assign({},i,(o={},o[t]=a,o))})})}}}jt.bind=w1;var Ie={},E1=J&&J.__createBinding||(Object.create?function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]}),S1=J&&J.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),O1=J&&J.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&E1(t,e,n);return S1(t,e),t};Object.defineProperty(Ie,"__esModule",{value:!0});Ie.tapEither=Ie.filterOrElse=Ie.chainFirstEitherK=Ie.chainEitherK=Ie.fromEitherK=Ie.chainOptionK=Ie.fromOptionK=Ie.fromPredicate=Ie.fromOption=void 0;var P1=jt,Mh=ct,Tn=O1(Er);function Dh(e){return function(t){return function(n){return e.fromEither(Tn.isNone(n)?Tn.left(t()):Tn.right(n.value))}}}Ie.fromOption=Dh;function A1(e){return function(t,n){return function(r){return e.fromEither(t(r)?Tn.right(r):Tn.left(n(r)))}}}Ie.fromPredicate=A1;function $h(e){var t=Dh(e);return function(n){var r=t(n);return function(i){return(0,Mh.flow)(i,r)}}}Ie.fromOptionK=$h;function T1(e,t){var n=$h(e);return function(r){var i=n(r);return function(a){return function(o){return t.chain(o,i(a))}}}}Ie.chainOptionK=T1;function Qs(e){return function(t){return(0,Mh.flow)(t,e.fromEither)}}Ie.fromEitherK=Qs;function C1(e,t){var n=Qs(e);return function(r){return function(i){return t.chain(i,n(r))}}}Ie.chainEitherK=C1;function I1(e,t){var n=jh(e,t);return function(r){return function(i){return n(i,r)}}}Ie.chainFirstEitherK=I1;function L1(e,t){return function(n,r){return function(i){return t.chain(i,function(a){return e.fromEither(n(a)?Tn.right(a):Tn.left(r(a)))})}}}Ie.filterOrElse=L1;function jh(e,t){var n=Qs(e),r=(0,P1.tap)(t);return function(i,a){return r(i,n(a))}}Ie.tapEither=jh;var Bh={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.and=e.or=e.not=e.Contravariant=e.getMonoidAll=e.getSemigroupAll=e.getMonoidAny=e.getSemigroupAny=e.URI=e.contramap=void 0;var t=ct,n=function(l,d){return(0,t.pipe)(l,(0,e.contramap)(d))},r=function(l){return function(d){return(0,t.flow)(l,d)}};e.contramap=r,e.URI="Predicate";var i=function(){return{concat:function(l,d){return(0,t.pipe)(l,(0,e.or)(d))}}};e.getSemigroupAny=i;var a=function(){return{concat:(0,e.getSemigroupAny)().concat,empty:t.constFalse}};e.getMonoidAny=a;var o=function(){return{concat:function(l,d){return(0,t.pipe)(l,(0,e.and)(d))}}};e.getSemigroupAll=o;var u=function(){return{concat:(0,e.getSemigroupAll)().concat,empty:t.constTrue}};e.getMonoidAll=u,e.Contravariant={URI:e.URI,contramap:n};var s=function(l){return function(d){return!l(d)}};e.not=s;var c=function(l){return function(d){return function(h){return d(h)||l(h)}}};e.or=c;var f=function(l){return function(d){return function(h){return d(h)&&l(h)}}};e.and=f})(Bh);var Fh={},st={};Object.defineProperty(st,"__esModule",{value:!0});st.concatAll=st.endo=st.filterSecond=st.filterFirst=st.reverse=void 0;var R1=function(e){return{concat:function(t,n){return e.concat(n,t)}}};st.reverse=R1;var k1=function(e){return function(t){return{concat:function(n,r){return e(n)?t.concat(n,r):r}}}};st.filterFirst=k1;var N1=function(e){return function(t){return{concat:function(n,r){return e(r)?t.concat(n,r):n}}}};st.filterSecond=N1;var M1=function(e){return function(t){return{concat:function(n,r){return t.concat(e(n),e(r))}}}};st.endo=M1;var D1=function(e){return function(t){return function(n){return n.reduce(function(r,i){return e.concat(r,i)},t)}}};st.concatAll=D1;var Uh={},xh={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.eqDate=e.eqNumber=e.eqString=e.eqBoolean=e.eq=e.strictEqual=e.getStructEq=e.getTupleEq=e.Contravariant=e.getMonoid=e.getSemigroup=e.eqStrict=e.URI=e.contramap=e.tuple=e.struct=e.fromEquals=void 0;var t=ct,n=function(f){return{equals:function(l,d){return l===d||f(l,d)}}};e.fromEquals=n;var r=function(f){return(0,e.fromEquals)(function(l,d){for(var h in f)if(!f[h].equals(l[h],d[h]))return!1;return!0})};e.struct=r;var i=function(){for(var f=[],l=0;l<arguments.length;l++)f[l]=arguments[l];return(0,e.fromEquals)(function(d,h){return f.every(function(v,p){return v.equals(d[p],h[p])})})};e.tuple=i;var a=function(f,l){return(0,t.pipe)(f,(0,e.contramap)(l))},o=function(f){return function(l){return(0,e.fromEquals)(function(d,h){return l.equals(f(d),f(h))})}};e.contramap=o,e.URI="Eq",e.eqStrict={equals:function(f,l){return f===l}};var u={equals:function(){return!0}},s=function(){return{concat:function(f,l){return(0,e.fromEquals)(function(d,h){return f.equals(d,h)&&l.equals(d,h)})}}};e.getSemigroup=s;var c=function(){return{concat:(0,e.getSemigroup)().concat,empty:u}};e.getMonoid=c,e.Contravariant={URI:e.URI,contramap:a},e.getTupleEq=e.tuple,e.getStructEq=e.struct,e.strictEqual=e.eqStrict.equals,e.eq=e.Contravariant,e.eqBoolean=e.eqStrict,e.eqString=e.eqStrict,e.eqNumber=e.eqStrict,e.eqDate={equals:function(f,l){return f.valueOf()===l.valueOf()}}})(xh);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ordDate=e.ordNumber=e.ordString=e.ordBoolean=e.ord=e.getDualOrd=e.getTupleOrd=e.between=e.clamp=e.max=e.min=e.geq=e.leq=e.gt=e.lt=e.equals=e.trivial=e.Contravariant=e.getMonoid=e.getSemigroup=e.URI=e.contramap=e.reverse=e.tuple=e.fromCompare=e.equalsDefault=void 0;var t=xh,n=ct,r=function(O){return function(S,w){return S===w||O(S,w)===0}};e.equalsDefault=r;var i=function(O){return{equals:(0,e.equalsDefault)(O),compare:function(S,w){return S===w?0:O(S,w)}}};e.fromCompare=i;var a=function(){for(var O=[],S=0;S<arguments.length;S++)O[S]=arguments[S];return(0,e.fromCompare)(function(w,P){for(var A=0;A<O.length-1;A++){var L=O[A].compare(w[A],P[A]);if(L!==0)return L}return O[A].compare(w[A],P[A])})};e.tuple=a;var o=function(O){return(0,e.fromCompare)(function(S,w){return O.compare(w,S)})};e.reverse=o;var u=function(O,S){return(0,n.pipe)(O,(0,e.contramap)(S))},s=function(O){return function(S){return(0,e.fromCompare)(function(w,P){return S.compare(O(w),O(P))})}};e.contramap=s,e.URI="Ord";var c=function(){return{concat:function(O,S){return(0,e.fromCompare)(function(w,P){var A=O.compare(w,P);return A!==0?A:S.compare(w,P)})}}};e.getSemigroup=c;var f=function(){return{concat:(0,e.getSemigroup)().concat,empty:(0,e.fromCompare)(function(){return 0})}};e.getMonoid=f,e.Contravariant={URI:e.URI,contramap:u},e.trivial={equals:n.constTrue,compare:(0,n.constant)(0)};var l=function(O){return function(S){return function(w){return w===S||O.compare(w,S)===0}}};e.equals=l;var d=function(O){return function(S,w){return O.compare(S,w)===-1}};e.lt=d;var h=function(O){return function(S,w){return O.compare(S,w)===1}};e.gt=h;var v=function(O){return function(S,w){return O.compare(S,w)!==1}};e.leq=v;var p=function(O){return function(S,w){return O.compare(S,w)!==-1}};e.geq=p;var _=function(O){return function(S,w){return S===w||O.compare(S,w)<1?S:w}};e.min=_;var g=function(O){return function(S,w){return S===w||O.compare(S,w)>-1?S:w}};e.max=g;var y=function(O){var S=(0,e.min)(O),w=(0,e.max)(O);return function(P,A){return function(L){return w(S(L,A),P)}}};e.clamp=y;var m=function(O){var S=(0,e.lt)(O),w=(0,e.gt)(O);return function(P,A){return function(L){return!(S(L,P)||w(L,A))}}};e.between=m,e.getTupleOrd=e.tuple,e.getDualOrd=e.reverse,e.ord=e.Contravariant;function b(O,S){return O<S?-1:O>S?1:0}var E={equals:t.eqStrict.equals,compare:b};e.ordBoolean=E,e.ordString=E,e.ordNumber=E,e.ordDate=(0,n.pipe)(e.ordNumber,(0,e.contramap)(function(O){return O.valueOf()}))})(Uh);(function(e){var t=J&&J.__createBinding||(Object.create?function(y,m,b,E){E===void 0&&(E=b);var O=Object.getOwnPropertyDescriptor(m,b);(!O||("get"in O?!m.__esModule:O.writable||O.configurable))&&(O={enumerable:!0,get:function(){return m[b]}}),Object.defineProperty(y,E,O)}:function(y,m,b,E){E===void 0&&(E=b),y[E]=m[b]}),n=J&&J.__setModuleDefault||(Object.create?function(y,m){Object.defineProperty(y,"default",{enumerable:!0,value:m})}:function(y,m){y.default=m}),r=J&&J.__importStar||function(y){if(y&&y.__esModule)return y;var m={};if(y!=null)for(var b in y)b!=="default"&&Object.prototype.hasOwnProperty.call(y,b)&&t(m,y,b);return n(m,y),m};Object.defineProperty(e,"__esModule",{value:!0}),e.semigroupProduct=e.semigroupSum=e.semigroupString=e.getFunctionSemigroup=e.semigroupAny=e.semigroupAll=e.fold=e.getIntercalateSemigroup=e.getMeetSemigroup=e.getJoinSemigroup=e.getDualSemigroup=e.getStructSemigroup=e.getTupleSemigroup=e.getFirstSemigroup=e.getLastSemigroup=e.getObjectSemigroup=e.semigroupVoid=e.concatAll=e.last=e.first=e.intercalate=e.tuple=e.struct=e.reverse=e.constant=e.max=e.min=void 0;var i=ct,a=r(Er),o=r(st),u=r(Uh),s=function(y){return{concat:u.min(y)}};e.min=s;var c=function(y){return{concat:u.max(y)}};e.max=c;var f=function(y){return{concat:function(){return y}}};e.constant=f,e.reverse=o.reverse;var l=function(y){return{concat:function(m,b){var E={};for(var O in y)a.has.call(y,O)&&(E[O]=y[O].concat(m[O],b[O]));return E}}};e.struct=l;var d=function(){for(var y=[],m=0;m<arguments.length;m++)y[m]=arguments[m];return{concat:function(b,E){return y.map(function(O,S){return O.concat(b[S],E[S])})}}};e.tuple=d;var h=function(y){return function(m){return{concat:function(b,E){return m.concat(b,m.concat(y,E))}}}};e.intercalate=h;var v=function(){return{concat:i.identity}};e.first=v;var p=function(){return{concat:function(y,m){return m}}};e.last=p,e.concatAll=o.concatAll,e.semigroupVoid=(0,e.constant)(void 0);var _=function(){return{concat:function(y,m){return Object.assign({},y,m)}}};e.getObjectSemigroup=_,e.getLastSemigroup=e.last,e.getFirstSemigroup=e.first,e.getTupleSemigroup=e.tuple,e.getStructSemigroup=e.struct,e.getDualSemigroup=e.reverse,e.getJoinSemigroup=e.max,e.getMeetSemigroup=e.min,e.getIntercalateSemigroup=e.intercalate;function g(y){var m=(0,e.concatAll)(y);return function(b,E){return E===void 0?m(b):m(b)(E)}}e.fold=g,e.semigroupAll={concat:function(y,m){return y&&m}},e.semigroupAny={concat:function(y,m){return y||m}},e.getFunctionSemigroup=i.getSemigroup,e.semigroupString={concat:function(y,m){return y+m}},e.semigroupSum={concat:function(y,m){return y+m}},e.semigroupProduct={concat:function(y,m){return y*m}}})(Fh);var Hh={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.right=e.left=e.flap=e.Functor=e.Bifunctor=e.URI=e.bimap=e.mapLeft=e.map=e.separated=void 0;var t=ct,n=Ue,r=function(d,h){return{left:d,right:h}};e.separated=r;var i=function(d,h){return(0,t.pipe)(d,(0,e.map)(h))},a=function(d,h){return(0,t.pipe)(d,(0,e.mapLeft)(h))},o=function(d,h,v){return(0,t.pipe)(d,(0,e.bimap)(h,v))},u=function(d){return function(h){return(0,e.separated)((0,e.left)(h),d((0,e.right)(h)))}};e.map=u;var s=function(d){return function(h){return(0,e.separated)(d((0,e.left)(h)),(0,e.right)(h))}};e.mapLeft=s;var c=function(d,h){return function(v){return(0,e.separated)(d((0,e.left)(v)),h((0,e.right)(v)))}};e.bimap=c,e.URI="Separated",e.Bifunctor={URI:e.URI,mapLeft:a,bimap:o},e.Functor={URI:e.URI,map:i},e.flap=(0,n.flap)(e.Functor);var f=function(d){return d.left};e.left=f;var l=function(d){return d.right};e.right=l})(Hh);var an={},$1=J&&J.__createBinding||(Object.create?function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]}),j1=J&&J.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),B1=J&&J.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&$1(t,e,n);return j1(t,e),t};Object.defineProperty(an,"__esModule",{value:!0});an.filterE=an.witherDefault=an.wiltDefault=void 0;var Wc=B1(Er);function F1(e,t){return function(n){var r=e.traverse(n);return function(i,a){return n.map(r(i,a),t.separate)}}}an.wiltDefault=F1;function U1(e,t){return function(n){var r=e.traverse(n);return function(i,a){return n.map(r(i,a),t.compact)}}}an.witherDefault=U1;function x1(e){return function(t){var n=e.wither(t);return function(r){return function(i){return n(i,function(a){return t.map(r(a),function(o){return o?Wc.some(a):Wc.none})})}}}}an.filterE=x1;var xa={};Object.defineProperty(xa,"__esModule",{value:!0});xa.guard=void 0;function H1(e,t){return function(n){return n?t.of(void 0):e.zero()}}xa.guard=H1;(function(e){var t=J&&J.__createBinding||(Object.create?function(N,M,K,Ae){Ae===void 0&&(Ae=K);var Je=Object.getOwnPropertyDescriptor(M,K);(!Je||("get"in Je?!M.__esModule:Je.writable||Je.configurable))&&(Je={enumerable:!0,get:function(){return M[K]}}),Object.defineProperty(N,Ae,Je)}:function(N,M,K,Ae){Ae===void 0&&(Ae=K),N[Ae]=M[K]}),n=J&&J.__setModuleDefault||(Object.create?function(N,M){Object.defineProperty(N,"default",{enumerable:!0,value:M})}:function(N,M){N.default=M}),r=J&&J.__importStar||function(N){if(N&&N.__esModule)return N;var M={};if(N!=null)for(var K in N)K!=="default"&&Object.prototype.hasOwnProperty.call(N,K)&&t(M,N,K);return n(M,N),M};Object.defineProperty(e,"__esModule",{value:!0}),e.Witherable=e.wilt=e.wither=e.Traversable=e.sequence=e.traverse=e.Filterable=e.partitionMap=e.partition=e.filterMap=e.filter=e.Compactable=e.separate=e.compact=e.Extend=e.extend=e.Alternative=e.guard=e.Zero=e.zero=e.Alt=e.alt=e.altW=e.orElse=e.Foldable=e.reduceRight=e.foldMap=e.reduce=e.Monad=e.Chain=e.flatMap=e.Applicative=e.Apply=e.ap=e.Pointed=e.of=e.asUnit=e.as=e.Functor=e.map=e.getMonoid=e.getOrd=e.getEq=e.getShow=e.URI=e.getRight=e.getLeft=e.fromPredicate=e.some=e.none=void 0,e.getFirstMonoid=e.getApplyMonoid=e.getApplySemigroup=e.option=e.mapNullable=e.getRefinement=e.chainFirst=e.chain=e.sequenceArray=e.traverseArray=e.traverseArrayWithIndex=e.traverseReadonlyArrayWithIndex=e.traverseReadonlyNonEmptyArrayWithIndex=e.ApT=e.apS=e.bind=e.let=e.bindTo=e.Do=e.exists=e.elem=e.toUndefined=e.toNullable=e.chainNullableK=e.fromNullableK=e.tryCatchK=e.tryCatch=e.fromNullable=e.chainFirstEitherK=e.chainEitherK=e.fromEitherK=e.duplicate=e.tapEither=e.tap=e.flatten=e.apSecond=e.apFirst=e.flap=e.getOrElse=e.getOrElseW=e.fold=e.match=e.foldW=e.matchW=e.isNone=e.isSome=e.FromEither=e.fromEither=e.MonadThrow=e.throwError=void 0,e.getLastMonoid=void 0;var i=fr,a=He,o=r(jt),u=Ie,s=ct,c=Ue,f=r(Er),l=Bh,d=Fh,h=Hh,v=an,p=xa;e.none=f.none,e.some=f.some;function _(N){return function(M){return N(M)?(0,e.some)(M):e.none}}e.fromPredicate=_;var g=function(N){return N._tag==="Right"?e.none:(0,e.some)(N.left)};e.getLeft=g;var y=function(N){return N._tag==="Left"?e.none:(0,e.some)(N.right)};e.getRight=y;var m=function(N,M){return(0,s.pipe)(N,(0,e.map)(M))},b=function(N,M){return(0,s.pipe)(N,(0,e.ap)(M))},E=function(N,M,K){return(0,s.pipe)(N,(0,e.reduce)(M,K))},O=function(N){var M=(0,e.foldMap)(N);return function(K,Ae){return(0,s.pipe)(K,M(Ae))}},S=function(N,M,K){return(0,s.pipe)(N,(0,e.reduceRight)(M,K))},w=function(N){var M=(0,e.traverse)(N);return function(K,Ae){return(0,s.pipe)(K,M(Ae))}},P=function(N,M){return(0,s.pipe)(N,(0,e.alt)(M))},A=function(N,M){return(0,s.pipe)(N,(0,e.filter)(M))},L=function(N,M){return(0,s.pipe)(N,(0,e.filterMap)(M))},D=function(N,M){return(0,s.pipe)(N,(0,e.extend)(M))},j=function(N,M){return(0,s.pipe)(N,(0,e.partition)(M))},I=function(N,M){return(0,s.pipe)(N,(0,e.partitionMap)(M))};e.URI="Option";var C=function(N){return{show:function(M){return(0,e.isNone)(M)?"none":"some(".concat(N.show(M.value),")")}}};e.getShow=C;var R=function(N){return{equals:function(M,K){return M===K||((0,e.isNone)(M)?(0,e.isNone)(K):(0,e.isNone)(K)?!1:N.equals(M.value,K.value))}}};e.getEq=R;var $=function(N){return{equals:(0,e.getEq)(N).equals,compare:function(M,K){return M===K?0:(0,e.isSome)(M)?(0,e.isSome)(K)?N.compare(M.value,K.value):1:-1}}};e.getOrd=$;var B=function(N){return{concat:function(M,K){return(0,e.isNone)(M)?K:(0,e.isNone)(K)?M:(0,e.some)(N.concat(M.value,K.value))},empty:e.none}};e.getMonoid=B;var Y=function(N){return function(M){return(0,e.isNone)(M)?e.none:(0,e.some)(N(M.value))}};e.map=Y,e.Functor={URI:e.URI,map:m},e.as=(0,s.dual)(2,(0,c.as)(e.Functor)),e.asUnit=(0,c.asUnit)(e.Functor),e.of=e.some,e.Pointed={URI:e.URI,of:e.of};var z=function(N){return function(M){return(0,e.isNone)(M)||(0,e.isNone)(N)?e.none:(0,e.some)(M.value(N.value))}};e.ap=z,e.Apply={URI:e.URI,map:m,ap:b},e.Applicative={URI:e.URI,map:m,ap:b,of:e.of},e.flatMap=(0,s.dual)(2,function(N,M){return(0,e.isNone)(N)?e.none:M(N.value)}),e.Chain={URI:e.URI,map:m,ap:b,chain:e.flatMap},e.Monad={URI:e.URI,map:m,ap:b,of:e.of,chain:e.flatMap};var X=function(N,M){return function(K){return(0,e.isNone)(K)?N:M(N,K.value)}};e.reduce=X;var x=function(N){return function(M){return function(K){return(0,e.isNone)(K)?N.empty:M(K.value)}}};e.foldMap=x;var U=function(N,M){return function(K){return(0,e.isNone)(K)?N:M(K.value,N)}};e.reduceRight=U,e.Foldable={URI:e.URI,reduce:E,foldMap:O,reduceRight:S},e.orElse=(0,s.dual)(2,function(N,M){return(0,e.isNone)(N)?M():N}),e.altW=e.orElse,e.alt=e.orElse,e.Alt={URI:e.URI,map:m,alt:P};var q=function(){return e.none};e.zero=q,e.Zero={URI:e.URI,zero:e.zero},e.guard=(0,p.guard)(e.Zero,e.Pointed),e.Alternative={URI:e.URI,map:m,ap:b,of:e.of,alt:P,zero:e.zero};var H=function(N){return function(M){return(0,e.isNone)(M)?e.none:(0,e.some)(N(M))}};e.extend=H,e.Extend={URI:e.URI,map:m,extend:D},e.compact=(0,e.flatMap)(s.identity);var ne=(0,h.separated)(e.none,e.none),le=function(N){return(0,e.isNone)(N)?ne:(0,h.separated)((0,e.getLeft)(N.value),(0,e.getRight)(N.value))};e.separate=le,e.Compactable={URI:e.URI,compact:e.compact,separate:e.separate};var te=function(N){return function(M){return(0,e.isNone)(M)?e.none:N(M.value)?M:e.none}};e.filter=te;var Q=function(N){return function(M){return(0,e.isNone)(M)?e.none:N(M.value)}};e.filterMap=Q;var oe=function(N){return function(M){return(0,h.separated)(A(M,(0,l.not)(N)),A(M,N))}};e.partition=oe;var ie=function(N){return(0,s.flow)((0,e.map)(N),e.separate)};e.partitionMap=ie,e.Filterable={URI:e.URI,map:m,compact:e.compact,separate:e.separate,filter:A,filterMap:L,partition:j,partitionMap:I};var ge=function(N){return function(M){return function(K){return(0,e.isNone)(K)?N.of(e.none):N.map(M(K.value),e.some)}}};e.traverse=ge;var ft=function(N){return function(M){return(0,e.isNone)(M)?N.of(e.none):N.map(M.value,e.some)}};e.sequence=ft,e.Traversable={URI:e.URI,map:m,reduce:E,foldMap:O,reduceRight:S,traverse:w,sequence:e.sequence};var be=(0,v.witherDefault)(e.Traversable,e.Compactable),vn=(0,v.wiltDefault)(e.Traversable,e.Compactable),jn=function(N){var M=be(N);return function(K){return function(Ae){return M(Ae,K)}}};e.wither=jn;var po=function(N){var M=vn(N);return function(K){return function(Ae){return M(Ae,K)}}};e.wilt=po,e.Witherable={URI:e.URI,map:m,reduce:E,foldMap:O,reduceRight:S,traverse:w,sequence:e.sequence,compact:e.compact,separate:e.separate,filter:A,filterMap:L,partition:j,partitionMap:I,wither:be,wilt:vn};var cy=function(){return e.none};e.throwError=cy,e.MonadThrow={URI:e.URI,map:m,ap:b,of:e.of,chain:e.flatMap,throwError:e.throwError},e.fromEither=e.getRight,e.FromEither={URI:e.URI,fromEither:e.fromEither},e.isSome=f.isSome;var fy=function(N){return N._tag==="None"};e.isNone=fy;var dy=function(N,M){return function(K){return(0,e.isNone)(K)?N():M(K.value)}};e.matchW=dy,e.foldW=e.matchW,e.match=e.matchW,e.fold=e.match;var py=function(N){return function(M){return(0,e.isNone)(M)?N():M.value}};e.getOrElseW=py,e.getOrElse=e.getOrElseW,e.flap=(0,c.flap)(e.Functor),e.apFirst=(0,a.apFirst)(e.Apply),e.apSecond=(0,a.apSecond)(e.Apply),e.flatten=e.compact,e.tap=(0,s.dual)(2,o.tap(e.Chain)),e.tapEither=(0,s.dual)(2,(0,u.tapEither)(e.FromEither,e.Chain)),e.duplicate=(0,e.extend)(s.identity),e.fromEitherK=(0,u.fromEitherK)(e.FromEither),e.chainEitherK=(0,u.chainEitherK)(e.FromEither,e.Chain),e.chainFirstEitherK=e.tapEither;var hy=function(N){return N==null?e.none:(0,e.some)(N)};e.fromNullable=hy;var vy=function(N){try{return(0,e.some)(N())}catch{return e.none}};e.tryCatch=vy;var my=function(N){return function(){for(var M=[],K=0;K<arguments.length;K++)M[K]=arguments[K];return(0,e.tryCatch)(function(){return N.apply(void 0,M)})}};e.tryCatchK=my;var yy=function(N){return(0,s.flow)(N,e.fromNullable)};e.fromNullableK=yy;var gy=function(N){return function(M){return(0,e.isNone)(M)?e.none:(0,e.fromNullable)(N(M.value))}};e.chainNullableK=gy,e.toNullable=(0,e.match)(s.constNull,s.identity),e.toUndefined=(0,e.match)(s.constUndefined,s.identity);function xl(N){return function(M,K){if(K===void 0){var Ae=xl(N);return function(Je){return Ae(M,Je)}}return(0,e.isNone)(K)?!1:N.equals(M,K.value)}}e.elem=xl;var by=function(N){return function(M){return(0,e.isNone)(M)?!1:N(M.value)}};e.exists=by,e.Do=(0,e.of)(f.emptyRecord),e.bindTo=(0,c.bindTo)(e.Functor);var _y=(0,c.let)(e.Functor);e.let=_y,e.bind=o.bind(e.Chain),e.apS=(0,a.apS)(e.Apply),e.ApT=(0,e.of)(f.emptyReadonlyArray);var wy=function(N){return function(M){var K=N(0,f.head(M));if((0,e.isNone)(K))return e.none;for(var Ae=[K.value],Je=1;Je<M.length;Je++){var Hl=N(Je,M[Je]);if((0,e.isNone)(Hl))return e.none;Ae.push(Hl.value)}return(0,e.some)(Ae)}};e.traverseReadonlyNonEmptyArrayWithIndex=wy;var Ey=function(N){var M=(0,e.traverseReadonlyNonEmptyArrayWithIndex)(N);return function(K){return f.isNonEmpty(K)?M(K):e.ApT}};e.traverseReadonlyArrayWithIndex=Ey,e.traverseArrayWithIndex=e.traverseReadonlyArrayWithIndex;var Sy=function(N){return(0,e.traverseReadonlyArrayWithIndex)(function(M,K){return N(K)})};e.traverseArray=Sy,e.sequenceArray=(0,e.traverseArray)(s.identity),e.chain=e.flatMap,e.chainFirst=e.tap;function Oy(N){return function(M){return(0,e.isSome)(N(M))}}e.getRefinement=Oy,e.mapNullable=e.chainNullableK,e.option={URI:e.URI,map:m,of:e.of,ap:b,chain:e.flatMap,reduce:E,foldMap:O,reduceRight:S,traverse:w,sequence:e.sequence,zero:e.zero,alt:P,extend:D,compact:e.compact,separate:e.separate,filter:A,filterMap:L,partition:j,partitionMap:I,wither:be,wilt:vn,throwError:e.throwError},e.getApplySemigroup=(0,a.getApplySemigroup)(e.Apply),e.getApplyMonoid=(0,i.getApplicativeMonoid)(e.Applicative);var Py=function(){return(0,e.getMonoid)((0,d.first)())};e.getFirstMonoid=Py;var Ay=function(){return(0,e.getMonoid)((0,d.last)())};e.getLastMonoid=Ay})(Yb);var K1=Object.defineProperty,W1=(e,t,n)=>t in e?K1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Oo=(e,t,n)=>(W1(e,typeof t!="symbol"?t+"":t,n),n);let z1=class{constructor(){Oo(this,"current",this.detect()),Oo(this,"handoffState","pending"),Oo(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},Bt=new z1,Me=(e,t)=>{Bt.isServer?de(e,t):$n(e,t)};function Ft(e){let t=ae(e);return Me(()=>{t.current=e},[e]),t}function Ha(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function bt(){let e=[],t={addEventListener(n,r,i,a){return n.addEventListener(r,i,a),t.add(()=>n.removeEventListener(r,i,a))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(...n){let r=setTimeout(...n);return t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return Ha(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,i){let a=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:i}),this.add(()=>{Object.assign(n.style,{[r]:a})})},group(n){let r=bt();return n(r),this.add(()=>r.dispose())},add(n){return e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let i of e.splice(r,1))i()}},dispose(){for(let n of e.splice(0))n()}};return t}function Sr(){let[e]=xe(bt);return de(()=>()=>e.dispose(),[e]),e}let ee=function(e){let t=Ft(e);return Z.useCallback((...n)=>t.current(...n),[t])};function q1(){let e=typeof document>"u";return"useSyncExternalStore"in or?(t=>t.useSyncExternalStore)(or)(()=>()=>{},()=>!1,()=>!e):!1}function Or(){let e=q1(),[t,n]=xe(Bt.isHandoffComplete);return t&&Bt.isHandoffComplete===!1&&n(!1),de(()=>{t!==!0&&n(!0)},[t]),de(()=>Bt.handoff(),[]),e?!1:t}var zc;let at=(zc=Z.useId)!=null?zc:function(){let e=Or(),[t,n]=Z.useState(e?()=>Bt.nextId():null);return Me(()=>{t===null&&n(Bt.nextId())},[t]),t!=null?""+t:void 0};function Pe(e,t,...n){if(e in t){let i=t[e];return typeof i=="function"?i(...n):i}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(i=>`"${i}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Pe),r}function fi(e){return Bt.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let Mu=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var Nt=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(Nt||{}),Kh=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Kh||{}),G1=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(G1||{});function Wh(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Mu)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var Js=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Js||{});function Zs(e,t=0){var n;return e===((n=fi(e))==null?void 0:n.body)?!1:Pe(t,{0(){return e.matches(Mu)},1(){let r=e;for(;r!==null;){if(r.matches(Mu))return!0;r=r.parentElement}return!1}})}function zh(e){let t=fi(e);bt().nextFrame(()=>{t&&!Zs(t.activeElement,0)&&on(e)})}var V1=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(V1||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function on(e){e==null||e.focus({preventScroll:!0})}let Y1=["textarea","input"].join(",");function X1(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,Y1))!=null?n:!1}function qh(e,t=n=>n){return e.slice().sort((n,r)=>{let i=t(n),a=t(r);if(i===null||a===null)return 0;let o=i.compareDocumentPosition(a);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Q1(e,t){return Hr(Wh(),t,{relativeTo:e})}function Hr(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}={}){let a=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,o=Array.isArray(e)?n?qh(e):e:Wh(e);i.length>0&&o.length>1&&(o=o.filter(h=>!i.includes(h))),r=r??a.activeElement;let u=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),s=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,o.indexOf(r))-1;if(t&4)return Math.max(0,o.indexOf(r))+1;if(t&8)return o.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=t&32?{preventScroll:!0}:{},f=0,l=o.length,d;do{if(f>=l||f+l<=0)return 0;let h=s+f;if(t&16)h=(h+l)%l;else{if(h<0)return 3;if(h>=l)return 1}d=o[h],d==null||d.focus(c),f+=u}while(d!==a.activeElement);return t&6&&X1(d)&&d.select(),2}function Ci(e,t,n){let r=Ft(t);de(()=>{function i(a){r.current(a)}return document.addEventListener(e,i,n),()=>document.removeEventListener(e,i,n)},[e,n])}function Gh(e,t,n){let r=Ft(t);de(()=>{function i(a){r.current(a)}return window.addEventListener(e,i,n),()=>window.removeEventListener(e,i,n)},[e,n])}function Vh(e,t,n=!0){let r=ae(!1);de(()=>{requestAnimationFrame(()=>{r.current=n})},[n]);function i(o,u){if(!r.current||o.defaultPrevented)return;let s=u(o);if(s===null||!s.getRootNode().contains(s)||!s.isConnected)return;let c=function f(l){return typeof l=="function"?f(l()):Array.isArray(l)||l instanceof Set?l:[l]}(e);for(let f of c){if(f===null)continue;let l=f instanceof HTMLElement?f:f.current;if(l!=null&&l.contains(s)||o.composed&&o.composedPath().includes(l))return}return!Zs(s,Js.Loose)&&s.tabIndex!==-1&&o.preventDefault(),t(o,s)}let a=ae(null);Ci("pointerdown",o=>{var u,s;r.current&&(a.current=((s=(u=o.composedPath)==null?void 0:u.call(o))==null?void 0:s[0])||o.target)},!0),Ci("mousedown",o=>{var u,s;r.current&&(a.current=((s=(u=o.composedPath)==null?void 0:u.call(o))==null?void 0:s[0])||o.target)},!0),Ci("click",o=>{a.current&&(i(o,()=>a.current),a.current=null)},!0),Ci("touchend",o=>i(o,()=>o.target instanceof HTMLElement?o.target:null),!0),Gh("blur",o=>i(o,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function qc(e){var t;if(e.type)return e.type;let n=(t=e.as)!=null?t:"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function el(e,t){let[n,r]=xe(()=>qc(e));return Me(()=>{r(qc(e))},[e.type,e.as]),Me(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&r("button")},[n,t]),n}let Yh=Symbol();function Xh(e,t=!0){return Object.assign(e,{[Yh]:t})}function Ne(...e){let t=ae(e);de(()=>{t.current=e},[e]);let n=ee(r=>{for(let i of t.current)i!=null&&(typeof i=="function"?i(r):i.current=r)});return e.every(r=>r==null||(r==null?void 0:r[Yh]))?void 0:n}function J1({container:e,accept:t,walk:n,enabled:r=!0}){let i=ae(t),a=ae(n);de(()=>{i.current=t,a.current=n},[t,n]),Me(()=>{if(!e||!r)return;let o=fi(e);if(!o)return;let u=i.current,s=a.current,c=Object.assign(l=>u(l),{acceptNode:u}),f=o.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,c,!1);for(;f.nextNode();)s(f.currentNode)},[e,r,i,a])}function Z1(e){throw new Error("Unexpected object: "+e)}var ht=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(ht||{});function e_(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),i=r??-1,a=(()=>{switch(e.focus){case 0:return n.findIndex(o=>!t.resolveDisabled(o));case 1:{let o=n.slice().reverse().findIndex((u,s,c)=>i!==-1&&c.length-s-1>=i?!1:!t.resolveDisabled(u));return o===-1?o:n.length-1-o}case 2:return n.findIndex((o,u)=>u<=i?!1:!t.resolveDisabled(o));case 3:{let o=n.slice().reverse().findIndex(u=>!t.resolveDisabled(u));return o===-1?o:n.length-1-o}case 4:return n.findIndex(o=>t.resolveId(o)===e.id);case 5:return null;default:Z1(e)}})();return a===-1?r:a}function ya(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}var cn=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(cn||{}),en=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(en||{});function Ee({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:a=!0,name:o}){let u=Qh(t,e);if(a)return Ii(u,n,r,o);let s=i??0;if(s&2){let{static:c=!1,...f}=u;if(c)return Ii(f,n,r,o)}if(s&1){let{unmount:c=!0,...f}=u;return Pe(c?0:1,{0(){return null},1(){return Ii({...f,hidden:!0,style:{display:"none"}},n,r,o)}})}return Ii(u,n,r,o)}function Ii(e,t={},n,r){let{as:i=n,children:a,refName:o="ref",...u}=Po(e,["unmount","static"]),s=e.ref!==void 0?{[o]:e.ref}:{},c=typeof a=="function"?a(t):a;"className"in u&&u.className&&typeof u.className=="function"&&(u.className=u.className(t));let f={};if(t){let l=!1,d=[];for(let[h,v]of Object.entries(t))typeof v=="boolean"&&(l=!0),v===!0&&d.push(h);l&&(f["data-headlessui-state"]=d.join(" "))}if(i===we&&Object.keys(Du(u)).length>0){if(!_r(c)||Array.isArray(c)&&c.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(u).map(v=>` - ${v}`).join(`
|
|
3
|
+
`):"",this.name="UnsubscriptionError",this.errors=n}});function oa(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var li=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,n,r,i,a;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var u=nr(o),s=u.next();!s.done;s=u.next()){var c=s.value;c.remove(this)}}catch(p){t={error:p}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}else o.remove(this);var f=this.initialTeardown;if(fe(f))try{f()}catch(p){a=p instanceof ho?p.errors:[p]}var l=this._finalizers;if(l){this._finalizers=null;try{for(var d=nr(l),h=d.next();!h.done;h=d.next()){var v=h.value;try{zl(v)}catch(p){a=a??[],p instanceof ho?a=In(In([],sn(a)),sn(p.errors)):a.push(p)}}}catch(p){r={error:p}}finally{try{h&&!h.done&&(i=d.return)&&i.call(d)}finally{if(r)throw r.error}}}if(a)throw new ho(a)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)zl(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}},e.prototype._hasParent=function(t){var n=this._parentage;return n===t||Array.isArray(n)&&n.includes(t)},e.prototype._addParent=function(t){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t},e.prototype._removeParent=function(t){var n=this._parentage;n===t?this._parentage=null:Array.isArray(n)&&oa(n,t)},e.prototype.remove=function(t){var n=this._finalizers;n&&oa(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Qd=li.EMPTY;function Jd(e){return e instanceof li||e&&"closed"in e&&fe(e.remove)&&fe(e.add)&&fe(e.unsubscribe)}function zl(e){fe(e)?e():e.unsubscribe()}var Zd={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},vu={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=vu.delegate;return i!=null&&i.setTimeout?i.setTimeout.apply(i,In([e,t],sn(n))):setTimeout.apply(void 0,In([e,t],sn(n)))},clearTimeout:function(e){var t=vu.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function ep(e){vu.setTimeout(function(){throw e})}function mu(){}function qi(e){e()}var Ss=function(e){It(t,e);function t(n){var r=e.call(this)||this;return r.isStopped=!1,n?(r.destination=n,Jd(n)&&n.add(r)):r.destination=By,r}return t.create=function(n,r,i){return new yu(n,r,i)},t.prototype.next=function(n){this.isStopped||this._next(n)},t.prototype.error=function(n){this.isStopped||(this.isStopped=!0,this._error(n))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(n){this.destination.next(n)},t.prototype._error=function(n){try{this.destination.error(n)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(li),Dy=Function.prototype.bind;function vo(e,t){return Dy.call(e,t)}var $y=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var n=this.partialObserver;if(n.next)try{n.next(t)}catch(r){Ti(r)}},e.prototype.error=function(t){var n=this.partialObserver;if(n.error)try{n.error(t)}catch(r){Ti(r)}else Ti(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(n){Ti(n)}},e}(),yu=function(e){It(t,e);function t(n,r,i){var a=e.call(this)||this,o;if(fe(n)||!n)o={next:n??void 0,error:r??void 0,complete:i??void 0};else{var u;a&&Zd.useDeprecatedNextContext?(u=Object.create(n),u.unsubscribe=function(){return a.unsubscribe()},o={next:n.next&&vo(n.next,u),error:n.error&&vo(n.error,u),complete:n.complete&&vo(n.complete,u)}):o=n}return a.destination=new $y(o),a}return t}(Ss);function Ti(e){ep(e)}function jy(e){throw e}var By={closed:!0,next:mu,error:jy,complete:mu},Os=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function gr(e){return e}function Fy(e){return e.length===0?gr:e.length===1?e[0]:function(n){return e.reduce(function(r,i){return i(r)},n)}}var qe=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(t,n,r){var i=this,a=xy(t)?t:new yu(t,n,r);return qi(function(){var o=i,u=o.operator,s=o.source;a.add(u?u.call(a,s):s?i._subscribe(a):i._trySubscribe(a))}),a},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(n){t.error(n)}},e.prototype.forEach=function(t,n){var r=this;return n=ql(n),new n(function(i,a){var o=new yu({next:function(u){try{t(u)}catch(s){a(s),o.unsubscribe()}},error:a,complete:i});r.subscribe(o)})},e.prototype._subscribe=function(t){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(t)},e.prototype[Os]=function(){return this},e.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return Fy(t)(this)},e.prototype.toPromise=function(t){var n=this;return t=ql(t),new t(function(r,i){var a;n.subscribe(function(o){return a=o},function(o){return i(o)},function(){return r(a)})})},e.create=function(t){return new e(t)},e}();function ql(e){var t;return(t=e??Zd.Promise)!==null&&t!==void 0?t:Promise}function Uy(e){return e&&fe(e.next)&&fe(e.error)&&fe(e.complete)}function xy(e){return e&&e instanceof Ss||Uy(e)&&Jd(e)}function Hy(e){return fe(e==null?void 0:e.lift)}function lt(e){return function(t){if(Hy(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ve(e,t,n,r,i){return new Ky(e,t,n,r,i)}var Ky=function(e){It(t,e);function t(n,r,i,a,o,u){var s=e.call(this,n)||this;return s.onFinalize=o,s.shouldUnsubscribe=u,s._next=r?function(c){try{r(c)}catch(f){n.error(f)}}:e.prototype._next,s._error=a?function(c){try{a(c)}catch(f){n.error(f)}finally{this.unsubscribe()}}:e.prototype._error,s._complete=i?function(){try{i()}catch(c){n.error(c)}finally{this.unsubscribe()}}:e.prototype._complete,s}return t.prototype.unsubscribe=function(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;e.prototype.unsubscribe.call(this),!r&&((n=this.onFinalize)===null||n===void 0||n.call(this))}},t}(Ss),Wy=Xd(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Ut=function(e){It(t,e);function t(){var n=e.call(this)||this;return n.closed=!1,n.currentObservers=null,n.observers=[],n.isStopped=!1,n.hasError=!1,n.thrownError=null,n}return t.prototype.lift=function(n){var r=new Gl(this,this);return r.operator=n,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new Wy},t.prototype.next=function(n){var r=this;qi(function(){var i,a;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var o=nr(r.currentObservers),u=o.next();!u.done;u=o.next()){var s=u.value;s.next(n)}}catch(c){i={error:c}}finally{try{u&&!u.done&&(a=o.return)&&a.call(o)}finally{if(i)throw i.error}}}})},t.prototype.error=function(n){var r=this;qi(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=n;for(var i=r.observers;i.length;)i.shift().error(n)}})},t.prototype.complete=function(){var n=this;qi(function(){if(n._throwIfClosed(),!n.isStopped){n.isStopped=!0;for(var r=n.observers;r.length;)r.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(n){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,n)},t.prototype._subscribe=function(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)},t.prototype._innerSubscribe=function(n){var r=this,i=this,a=i.hasError,o=i.isStopped,u=i.observers;return a||o?Qd:(this.currentObservers=null,u.push(n),new li(function(){r.currentObservers=null,oa(u,n)}))},t.prototype._checkFinalizedStatuses=function(n){var r=this,i=r.hasError,a=r.thrownError,o=r.isStopped;i?n.error(a):o&&n.complete()},t.prototype.asObservable=function(){var n=new qe;return n.source=this,n},t.create=function(n,r){return new Gl(n,r)},t}(qe),Gl=function(e){It(t,e);function t(n,r){var i=e.call(this)||this;return i.destination=n,i.source=r,i}return t.prototype.next=function(n){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.next)===null||i===void 0||i.call(r,n)},t.prototype.error=function(n){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.error)===null||i===void 0||i.call(r,n)},t.prototype.complete=function(){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||r===void 0||r.call(n)},t.prototype._subscribe=function(n){var r,i;return(i=(r=this.source)===null||r===void 0?void 0:r.subscribe(n))!==null&&i!==void 0?i:Qd},t}(Ut),ua=function(e){It(t,e);function t(n){var r=e.call(this)||this;return r._value=n,r}return Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(n){var r=e.prototype._subscribe.call(this,n);return!r.closed&&n.next(this._value),r},t.prototype.getValue=function(){var n=this,r=n.hasError,i=n.thrownError,a=n._value;if(r)throw i;return this._throwIfClosed(),a},t.prototype.next=function(n){e.prototype.next.call(this,this._value=n)},t}(Ut),Ps={now:function(){return(Ps.delegate||Date).now()},delegate:void 0},tp=function(e){It(t,e);function t(n,r,i){n===void 0&&(n=1/0),r===void 0&&(r=1/0),i===void 0&&(i=Ps);var a=e.call(this)||this;return a._bufferSize=n,a._windowTime=r,a._timestampProvider=i,a._buffer=[],a._infiniteTimeWindow=!0,a._infiniteTimeWindow=r===1/0,a._bufferSize=Math.max(1,n),a._windowTime=Math.max(1,r),a}return t.prototype.next=function(n){var r=this,i=r.isStopped,a=r._buffer,o=r._infiniteTimeWindow,u=r._timestampProvider,s=r._windowTime;i||(a.push(n),!o&&a.push(u.now()+s)),this._trimBuffer(),e.prototype.next.call(this,n)},t.prototype._subscribe=function(n){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(n),i=this,a=i._infiniteTimeWindow,o=i._buffer,u=o.slice(),s=0;s<u.length&&!n.closed;s+=a?1:2)n.next(u[s]);return this._checkFinalizedStatuses(n),r},t.prototype._trimBuffer=function(){var n=this,r=n._bufferSize,i=n._timestampProvider,a=n._buffer,o=n._infiniteTimeWindow,u=(o?1:2)*r;if(r<1/0&&u<a.length&&a.splice(0,a.length-u),!o){for(var s=i.now(),c=0,f=1;f<a.length&&a[f]<=s;f+=2)c=f;c&&a.splice(0,c+1)}},t}(Ut),zy=function(e){It(t,e);function t(n,r){return e.call(this)||this}return t.prototype.schedule=function(n,r){return this},t}(li),sa={setInterval:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=sa.delegate;return i!=null&&i.setInterval?i.setInterval.apply(i,In([e,t],sn(n))):setInterval.apply(void 0,In([e,t],sn(n)))},clearInterval:function(e){var t=sa.delegate;return((t==null?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0},qy=function(e){It(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.scheduler=n,i.work=r,i.pending=!1,i}return t.prototype.schedule=function(n,r){var i;if(r===void 0&&(r=0),this.closed)return this;this.state=n;var a=this.id,o=this.scheduler;return a!=null&&(this.id=this.recycleAsyncId(o,a,r)),this.pending=!0,this.delay=r,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(o,this.id,r),this},t.prototype.requestAsyncId=function(n,r,i){return i===void 0&&(i=0),sa.setInterval(n.flush.bind(n,this),i)},t.prototype.recycleAsyncId=function(n,r,i){if(i===void 0&&(i=0),i!=null&&this.delay===i&&this.pending===!1)return r;r!=null&&sa.clearInterval(r)},t.prototype.execute=function(n,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var i=this._execute(n,r);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(n,r){var i=!1,a;try{this.work(n)}catch(o){i=!0,a=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),a},t.prototype.unsubscribe=function(){if(!this.closed){var n=this,r=n.id,i=n.scheduler,a=i.actions;this.work=this.state=this.scheduler=null,this.pending=!1,oa(a,this),r!=null&&(this.id=this.recycleAsyncId(i,r,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(zy),Vl=function(){function e(t,n){n===void 0&&(n=e.now),this.schedulerActionCtor=t,this.now=n}return e.prototype.schedule=function(t,n,r){return n===void 0&&(n=0),new this.schedulerActionCtor(this,t).schedule(r,n)},e.now=Ps.now,e}(),Gy=function(e){It(t,e);function t(n,r){r===void 0&&(r=Vl.now);var i=e.call(this,n,r)||this;return i.actions=[],i._active=!1,i}return t.prototype.flush=function(n){var r=this.actions;if(this._active){r.push(n);return}var i;this._active=!0;do if(i=n.execute(n.state,n.delay))break;while(n=r.shift());if(this._active=!1,i){for(;n=r.shift();)n.unsubscribe();throw i}},t}(Vl),Da=new Gy(qy),Vy=Da,Yy=new qe(function(e){return e.complete()});function np(e){return e&&fe(e.schedule)}function rp(e){return e[e.length-1]}function Xy(e){return fe(rp(e))?e.pop():void 0}function As(e){return np(rp(e))?e.pop():void 0}var Ts=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function ip(e){return fe(e==null?void 0:e.then)}function ap(e){return fe(e[Os])}function op(e){return Symbol.asyncIterator&&fe(e==null?void 0:e[Symbol.asyncIterator])}function up(e){return new TypeError("You provided "+(e!==null&&typeof e=="object"?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function Qy(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var sp=Qy();function lp(e){return fe(e==null?void 0:e[sp])}function cp(e){return Ny(this,arguments,function(){var n,r,i,a;return Yd(this,function(o){switch(o.label){case 0:n=e.getReader(),o.label=1;case 1:o.trys.push([1,,9,10]),o.label=2;case 2:return[4,Jn(n.read())];case 3:return r=o.sent(),i=r.value,a=r.done,a?[4,Jn(void 0)]:[3,5];case 4:return[2,o.sent()];case 5:return[4,Jn(i)];case 6:return[4,o.sent()];case 7:return o.sent(),[3,2];case 8:return[3,10];case 9:return n.releaseLock(),[7];case 10:return[2]}})})}function fp(e){return fe(e==null?void 0:e.getReader)}function zt(e){if(e instanceof qe)return e;if(e!=null){if(ap(e))return Jy(e);if(Ts(e))return Zy(e);if(ip(e))return eg(e);if(op(e))return dp(e);if(lp(e))return tg(e);if(fp(e))return ng(e)}throw up(e)}function Jy(e){return new qe(function(t){var n=e[Os]();if(fe(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Zy(e){return new qe(function(t){for(var n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function eg(e){return new qe(function(t){e.then(function(n){t.closed||(t.next(n),t.complete())},function(n){return t.error(n)}).then(null,ep)})}function tg(e){return new qe(function(t){var n,r;try{for(var i=nr(e),a=i.next();!a.done;a=i.next()){var o=a.value;if(t.next(o),t.closed)return}}catch(u){n={error:u}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}t.complete()})}function dp(e){return new qe(function(t){rg(e,t).catch(function(n){return t.error(n)})})}function ng(e){return dp(cp(e))}function rg(e,t){var n,r,i,a;return ky(this,void 0,void 0,function(){var o,u;return Yd(this,function(s){switch(s.label){case 0:s.trys.push([0,5,6,11]),n=My(e),s.label=1;case 1:return[4,n.next()];case 2:if(r=s.sent(),!!r.done)return[3,4];if(o=r.value,t.next(o),t.closed)return[2];s.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return u=s.sent(),i={error:u},[3,11];case 6:return s.trys.push([6,,9,10]),r&&!r.done&&(a=n.return)?[4,a.call(n)]:[3,8];case 7:s.sent(),s.label=8;case 8:return[3,10];case 9:if(i)throw i.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})}function $t(e,t,n,r,i){r===void 0&&(r=0),i===void 0&&(i=!1);var a=t.schedule(function(){n(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(a),!i)return a}function pp(e,t){return t===void 0&&(t=0),lt(function(n,r){n.subscribe(Ve(r,function(i){return $t(r,e,function(){return r.next(i)},t)},function(){return $t(r,e,function(){return r.complete()},t)},function(i){return $t(r,e,function(){return r.error(i)},t)}))})}function hp(e,t){return t===void 0&&(t=0),lt(function(n,r){r.add(e.schedule(function(){return n.subscribe(r)},t))})}function ig(e,t){return zt(e).pipe(hp(t),pp(t))}function ag(e,t){return zt(e).pipe(hp(t),pp(t))}function og(e,t){return new qe(function(n){var r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function ug(e,t){return new qe(function(n){var r;return $t(n,t,function(){r=e[sp](),$t(n,t,function(){var i,a,o;try{i=r.next(),a=i.value,o=i.done}catch(u){n.error(u);return}o?n.complete():n.next(a)},0,!0)}),function(){return fe(r==null?void 0:r.return)&&r.return()}})}function vp(e,t){if(!e)throw new Error("Iterable cannot be null");return new qe(function(n){$t(n,t,function(){var r=e[Symbol.asyncIterator]();$t(n,t,function(){r.next().then(function(i){i.done?n.complete():n.next(i.value)})},0,!0)})})}function sg(e,t){return vp(cp(e),t)}function lg(e,t){if(e!=null){if(ap(e))return ig(e,t);if(Ts(e))return og(e,t);if(ip(e))return ag(e,t);if(op(e))return vp(e,t);if(lp(e))return ug(e,t);if(fp(e))return sg(e,t)}throw up(e)}function br(e,t){return t?lg(e,t):zt(e)}function Cs(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=As(e);return br(e,n)}function mp(e){return!!e&&(e instanceof qe||fe(e.lift)&&fe(e.subscribe))}function cg(e){return e instanceof Date&&!isNaN(e)}function Ye(e,t){return lt(function(n,r){var i=0;n.subscribe(Ve(r,function(a){r.next(e.call(t,a,i++))}))})}var fg=Array.isArray;function dg(e,t){return fg(t)?e.apply(void 0,In([],sn(t))):e(t)}function yp(e){return Ye(function(t){return dg(e,t)})}var pg=Array.isArray,hg=Object.getPrototypeOf,vg=Object.prototype,mg=Object.keys;function yg(e){if(e.length===1){var t=e[0];if(pg(t))return{args:t,keys:null};if(gg(t)){var n=mg(t);return{args:n.map(function(r){return t[r]}),keys:n}}}return{args:e,keys:null}}function gg(e){return e&&typeof e=="object"&&hg(e)===vg}function bg(e,t){return e.reduce(function(n,r,i){return n[r]=t[i],n},{})}function _g(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=As(e),r=Xy(e),i=yg(e),a=i.args,o=i.keys;if(a.length===0)return br([],n);var u=new qe(wg(a,n,o?function(s){return bg(o,s)}:gr));return r?u.pipe(yp(r)):u}function wg(e,t,n){return n===void 0&&(n=gr),function(r){Yl(t,function(){for(var i=e.length,a=new Array(i),o=i,u=i,s=function(f){Yl(t,function(){var l=br(e[f],t),d=!1;l.subscribe(Ve(r,function(h){a[f]=h,d||(d=!0,u--),u||r.next(n(a.slice()))},function(){--o||r.complete()}))},r)},c=0;c<i;c++)s(c)},r)}}function Yl(e,t,n){e?$t(n,e,t):t()}function Eg(e,t,n,r,i,a,o,u){var s=[],c=0,f=0,l=!1,d=function(){l&&!s.length&&!c&&t.complete()},h=function(p){return c<r?v(p):s.push(p)},v=function(p){a&&t.next(p),c++;var _=!1;zt(n(p,f++)).subscribe(Ve(t,function(g){i==null||i(g),a?h(g):t.next(g)},function(){_=!0},void 0,function(){if(_)try{c--;for(var g=function(){var y=s.shift();o?$t(t,o,function(){return v(y)}):v(y)};s.length&&c<r;)g();d()}catch(y){t.error(y)}}))};return e.subscribe(Ve(t,h,function(){l=!0,d()})),function(){u==null||u()}}function $a(e,t,n){return n===void 0&&(n=1/0),fe(t)?$a(function(r,i){return Ye(function(a,o){return t(r,a,i,o)})(zt(e(r,i)))},n):(typeof t=="number"&&(n=t),lt(function(r,i){return Eg(r,i,e,n)}))}function Sg(e){return e===void 0&&(e=1/0),$a(gr,e)}function Og(){return Sg(1)}function Pg(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Og()(br(e,As(e)))}var Ag=["addListener","removeListener"],Tg=["addEventListener","removeEventListener"],Cg=["on","off"];function Xl(e,t,n,r){if(fe(n)&&(r=n,n=void 0),r)return Xl(e,t,n).pipe(yp(r));var i=sn(Rg(e)?Tg.map(function(u){return function(s){return e[u](t,s,n)}}):Ig(e)?Ag.map(Ql(e,t)):Lg(e)?Cg.map(Ql(e,t)):[],2),a=i[0],o=i[1];if(!a&&Ts(e))return $a(function(u){return Xl(u,t,n)})(zt(e));if(!a)throw new TypeError("Invalid event target");return new qe(function(u){var s=function(){for(var c=[],f=0;f<arguments.length;f++)c[f]=arguments[f];return u.next(1<c.length?c:c[0])};return a(s),function(){return o(s)}})}function Ql(e,t){return function(n){return function(r){return e[n](t,r)}}}function Ig(e){return fe(e.addListener)&&fe(e.removeListener)}function Lg(e){return fe(e.on)&&fe(e.off)}function Rg(e){return fe(e.addEventListener)&&fe(e.removeEventListener)}function gp(e,t,n){e===void 0&&(e=0),n===void 0&&(n=Vy);var r=-1;return t!=null&&(np(t)?n=t:r=t),new qe(function(i){var a=cg(e)?+e-n.now():e;a<0&&(a=0);var o=0;return n.schedule(function(){i.closed||(i.next(o++),0<=r?this.schedule(void 0,r):i.complete())},a)})}function ja(e,t){return lt(function(n,r){var i=0;n.subscribe(Ve(r,function(a){return e.call(t,a,i++)&&r.next(a)}))})}function kg(e){return lt(function(t,n){var r=!1,i=null,a=null,o=!1,u=function(){if(a==null||a.unsubscribe(),a=null,r){r=!1;var c=i;i=null,n.next(c)}o&&n.complete()},s=function(){a=null,o&&n.complete()};t.subscribe(Ve(n,function(c){r=!0,i=c,a||zt(e(c)).subscribe(a=Ve(n,u,s))},function(){o=!0,(!r||!a||a.closed)&&n.complete()}))})}function Ng(e,t){return t===void 0&&(t=Da),kg(function(){return gp(e,t)})}function yL(e,t){return t===void 0&&(t=Da),lt(function(n,r){var i=null,a=null,o=null,u=function(){if(i){i.unsubscribe(),i=null;var c=a;a=null,r.next(c)}};function s(){var c=o+e,f=t.now();if(f<c){i=this.schedule(void 0,c-f),r.add(i);return}u()}n.subscribe(Ve(r,function(c){a=c,o=t.now(),i||(i=t.schedule(s,e),r.add(i))},function(){u(),r.complete()},void 0,function(){a=i=null}))})}function gu(e){return e<=0?function(){return Yy}:lt(function(t,n){var r=0;t.subscribe(Ve(n,function(i){++r<=e&&(n.next(i),e<=r&&n.complete())}))})}function Mg(){return lt(function(e,t){e.subscribe(Ve(t,mu))})}function Dg(e){return Ye(function(){return e})}function bp(e,t){return t?function(n){return Pg(t.pipe(gu(1),Mg()),n.pipe(bp(e)))}:$a(function(n,r){return zt(e(n,r)).pipe(gu(1),Dg(n))})}function $g(e,t){t===void 0&&(t=Da);var n=gp(e,t);return bp(function(){return n})}function Yr(e,t){return t===void 0&&(t=gr),e=e??jg,lt(function(n,r){var i,a=!0;n.subscribe(Ve(r,function(o){var u=t(o);(a||!e(i,u))&&(a=!1,i=u,r.next(o))}))})}function jg(e,t){return e===t}function gL(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.length;if(n===0)throw new Error("list of properties cannot be empty.");return Ye(function(r){for(var i=r,a=0;a<n;a++){var o=i==null?void 0:i[e[a]];if(typeof o<"u")i=o;else return}return i})}function Bg(e){return ja(function(t,n){return e<=n})}function Gi(e,t){return lt(function(n,r){var i=null,a=0,o=!1,u=function(){return o&&!i&&r.complete()};n.subscribe(Ve(r,function(s){i==null||i.unsubscribe();var c=0,f=a++;zt(e(s,f)).subscribe(i=Ve(r,function(l){return r.next(t?t(s,l,f,c++):l)},function(){i=null,u()}))},function(){o=!0,u()}))})}function bL(e,t,n){var r=fe(e)||t||n?{next:e,error:t,complete:n}:e;return r?lt(function(i,a){var o;(o=r.subscribe)===null||o===void 0||o.call(r);var u=!0;i.subscribe(Ve(a,function(s){var c;(c=r.next)===null||c===void 0||c.call(r,s),a.next(s)},function(){var s;u=!1,(s=r.complete)===null||s===void 0||s.call(r),a.complete()},function(s){var c;u=!1,(c=r.error)===null||c===void 0||c.call(r,s),a.error(s)},function(){var s,c;u&&((s=r.unsubscribe)===null||s===void 0||s.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):gr}const Fg="id";function Lt(e){return Pt(e)?e.length===0:!1}function Le(e){return typeof e=="function"}function Ug(){return Yr((e,t)=>e===t?!0:!Pt(e)||!Pt(t)?!1:Lt(e)&&Lt(t)?!0:e.length!==t.length?!1:t.some((r,i)=>e[i]!==r)===!1)}function Is(e){const t=typeof e;return e!=null&&(t=="object"||t=="function")}function _L(e){return _g(e).pipe(Ng(0))}let _p={resettable:!1,ttl:null,producerFn:void 0};function Jl(){return _p}function xg(){return _p.producerFn}function la(e){return gt(e)===!1}const wp=new Ut,Ep=new tp(50,5e3),Hg=new Ut;function Kg(e){wp.next(e)}function Wg(e){Ep.next(e)}function zg(e,t){Hg.next({storeName:e,action:t})}const Ba=typeof window<"u",qg=!Ba,Zl=()=>{try{return typeof localStorage<"u"}catch{return!1}},Gg=()=>{try{return typeof sessionStorage<"u"}catch{return!1}},At={},Sp={};Ba&&(window.$$stores=At,window.$$queries=Sp);var ca;(function(e){e.ASC="asc",e.DESC="desc"})(ca||(ca={}));function Vg(e,t=ca.ASC){return function(n,r){if(!n.hasOwnProperty(e)||!r.hasOwnProperty(e))return 0;const i=typeof n[e]=="string"?n[e].toUpperCase():n[e],a=typeof r[e]=="string"?r[e].toUpperCase():r[e];let o=0;return i>a?o=1:i<a&&(o=-1),t==ca.DESC?o*-1:o}}function Yg(e,t){let n=[];const{ids:r,entities:i}=e,{filterBy:a,limitTo:o,sortBy:u,sortByOrder:s}=t;for(let f=0;f<r.length;f++){const l=i[r[f]];if(!a){n.push(l);continue}Ze(a).every(v=>v(l,f))&&n.push(l)}if(u){let f=Le(u)?u:Vg(u,s);n=n.sort((l,d)=>f(l,d,e))}const c=Math.min(o||n.length,n.length);return c===n.length?n:n.slice(0,c)}function Xg(e,t){const n={},{filterBy:r,limitTo:i}=t,{ids:a,entities:o}=e;if(!r&&!i)return o;const u=gt(i)===!1;if(r&&u){let s=0;for(let c=0,f=a.length;c<f&&s!==i;c++){const l=a[c],d=o[l];Ze(r).every(v=>v(d,c))&&(n[l]=d,s++)}}else{const s=Math.min(i||a.length,a.length);for(let c=0;c<s;c++){const f=a[c],l=o[f];if(!r){n[f]=l;continue}Ze(r).every(h=>h(l,c))&&(n[f]=l)}}return n}var Yt;(function(e){e.Set="Set",e.Add="Add",e.Update="Update",e.Remove="Remove"})(Yt||(Yt={}));let Ls=!0;function wL(){Ls=!1,Ba&&(delete window.$$stores,delete window.$$queries)}function Ce(){return Ls}function Qg(e,t,n){let r;if(Pt(e))r=e;else if(Is(e)){if(gt(n))return;e=Object.assign({wrap:!0},e);const i=t.indexOf(n);if(e.prev){const a=i===0;if(a&&!e.wrap)return;r=a?t[t.length-1]:t[i-1]}else if(e.next){const a=t.length===i+1;if(a&&!e.wrap)return;r=a?t[0]:t[i+1]}}else{if(e===n)return;r=e}return r}const Jg=()=>({entities:{},ids:[],loading:!0,error:null});function Wn(e){return e===void 0}function Zg({state:e,ids:t}){if(gt(t))return e0(e);const n=e.entities;let r={};for(const a of e.ids)t.includes(a)===!1&&(r[a]=n[a]);const i={...e,entities:r,ids:e.ids.filter(a=>t.includes(a)===!1)};return qd(e)&&(i.active=Vd(i)),i}function e0(e){return{...e,entities:{},ids:[],active:Gd(e.active)?[]:null}}function t0(e,t,n){const r={entities:{},ids:[]};for(const i of e){const a=n(i);r.entities[a[t]]=a,r.ids.push(a[t])}return r}function n0(e){return e.entities&&e.ids}function ec(e,t){let n={};for(const r of Object.keys(e))n[r]=t(e[r]);return n}function r0({state:e,entities:t,idKey:n,preAddEntity:r,isNativePreAdd:i}){let a,o;if(Pt(t)){const s=t0(t,n,r);a=s.entities,o=s.ids}else n0(t)?(a=i?t.entities:ec(t.entities,r),o=t.ids):(a=i?t:ec(t,r),o=Object.keys(a).map(s=>isNaN(s)?s:Number(s)));const u={...e,entities:a,ids:o,loading:!1};return qd(e)&&(u.active=Vd(u)),u}function Op(e){Object.freeze(e);const t=typeof e=="function",n=Object.prototype.hasOwnProperty;return Object.getOwnPropertyNames(e).forEach(function(r){n.call(e,r)&&(!t||r!=="caller"&&r!=="callee"&&r!=="arguments")&&e[r]!==null&&(typeof e[r]=="object"||typeof e[r]=="function")&&!Object.isFrozen(e[r])&&Op(e[r])}),e}function i0(e,t){e||console.error(`@StoreConfig({ name }) is missing in ${t}`)}function Rs(e){return e!=null&&`${e}`!="false"}function bu(e){return Rs(e)&&e.constructor.name==="Object"}const Vi="akitaConfig";function EL(e){return function(t){t[Vi]={idKey:"id"};for(let n=0,r=Object.keys(e);n<r.length;n++){const i=r[n];i==="name"?t[Vi].storeName=e[i]:t[Vi][i]=e[i]}}}const a0=new Ut,Pp=new ua(!1),rn={activeTransactions:0,batchTransaction:null};function o0(){Ap()||(rn.batchTransaction=new Ut),rn.activeTransactions++,Pp.next(!0)}function u0(){--rn.activeTransactions===0&&(rn.batchTransaction.next(!0),rn.batchTransaction.complete(),Pp.next(!1),a0.next(!0))}function Ap(){return rn.activeTransactions>0}function s0(){return rn.batchTransaction?rn.batchTransaction.asObservable():Cs(!0)}function ks(e,t=void 0){o0();try{return e.apply(t)}finally{Qn("@Transaction"),u0()}}function Tp(){return function(e,t,n){const r=n.value;return n.value=function(...i){return ks(()=>r.apply(this,i),this)},n}}class l0{constructor(t,n={}){this.options=n,this.inTransaction=!1,this.cache={active:new ua(!1),ttl:null},this.onInit(t)}setLoading(t=!1){t!==this._value().loading&&(Ce()&&We("Set Loading"),this._setState(n=>({...n,loading:t})))}setHasCache(t,n={restartTTL:!1}){if(t!==this.cache.active.value&&this.cache.active.next(t),n.restartTTL){const r=this.getCacheTTL();r&&(this.cache.ttl!==null&&clearTimeout(this.cache.ttl),this.cache.ttl=setTimeout(()=>this.setHasCache(!1),r))}}getValue(){return this.storeValue}setError(t){t!==this._value().error&&(Ce()&&We("Set Error"),this._setState(n=>({...n,error:t})))}_select(t){return this.store.asObservable().pipe(Ye(n=>t(n.state)),Yr())}_value(){return this.storeValue}_cache(){return this.cache.active}get config(){return this.constructor[Vi]||{}}get storeName(){return this.config.storeName||this.options.storeName||this.options.name}get deepFreeze(){return this.config.deepFreezeFn||this.options.deepFreezeFn||Op}get cacheConfig(){return this.config.cache||this.options.cache}get _producerFn(){return this.config.producerFn||this.options.producerFn||xg()}get resettable(){return la(this.config.resettable)?this.config.resettable:this.options.resettable}_setState(t,n=!0){if(Le(t)){const r=t(this._value());this.storeValue=Ls?this.deepFreeze(r):r}else this.storeValue=t;if(!this.store){this.store=new ua({state:this.storeValue}),Ce()&&this.store.subscribe(({action:r})=>{r&&zg(this.storeName,r)});return}if(Ap()){this.handleTransaction();return}this.dispatch(this.storeValue,n)}reset(){this.isResettable()&&(Ce()&&We("Reset"),this._setState(()=>Object.assign({},this._initialState)),this.setHasCache(!1))}update(t){Ce()&&We("Update");let n;const r=this._value();Le(t)?n=Le(this._producerFn)?this._producerFn(r,t):t(r):n=t;const i=this.akitaPreUpdate(r,{...r,...n}),a=bu(r)?i:new r.constructor(i);this._setState(a)}updateStoreConfig(t){this.options={...this.options,...t}}akitaPreUpdate(t,n){return n}destroy(){!(Ba?window.hmrEnabled:!1)&&this===At[this.storeName]&&(delete At[this.storeName],Kg(this.storeName),this.setHasCache(!1),this.cache.active.complete(),this.store.complete())}onInit(t){At[this.storeName]=this,this._setState(()=>t),Wg(this.storeName),this.isResettable()&&(this._initialState=t),Ce()&&i0(this.storeName,this.constructor.name)}dispatch(t,n=!0){let r;n&&(r=zi,Cy()),this.store.next({state:t,action:r})}watchTransaction(){s0().subscribe(()=>{this.inTransaction=!1,this.dispatch(this._value())})}isResettable(){return this.resettable===!1?!1:this.resettable||Jl().resettable}handleTransaction(){this.inTransaction||(this.watchTransaction(),this.inTransaction=!0)}getCacheTTL(){return this.cacheConfig&&this.cacheConfig.ttl||Jl().ttl}}function c0({state:e,ids:t,idKey:n,newStateOrFn:r,preUpdateEntity:i,producerFn:a,onEntityIdChanges:o}){const u={};let s=!1,c;for(const d of t){if(Vr(e.entities,d)===!1)continue;const h=e.entities[d];let v;Le(r)?v=Le(a)?a(h,r):r(h):v=r;const p=v.hasOwnProperty(n)&&v[n]!==h[n];let _;c=d,p&&(s=!0,c=v[n]);const g={...h,...v};bu(h)?_=g:bu(v)?_=new h.constructor(g):_=new v.constructor(g),u[c]=i(h,_)}let f=e.ids,l=e.entities;if(s){const[d]=t,{[d]:h,...v}=e.entities;l=v,f=e.ids.map(p=>p===d?c:p),o(d,c)}return{...e,entities:{...l,...u},ids:f}}var tc;class rr extends l0{constructor(t={},n={}){super({...Jg(),...t},n),this.options=n,this.entityActions=new Ut,this.entityIdChanges=new Ut}get selectEntityAction$(){return this.entityActions.asObservable()}get selectEntityIdChanges$(){return this.entityIdChanges.asObservable()}get idKey(){return this.config.idKey||this.options.idKey||Fg}set(t,n={}){if(gt(t))return;Ce()&&We("Set Entity");const r=this.akitaPreAddEntity===rr.prototype.akitaPreAddEntity;this.setHasCache(!0,{restartTTL:!0}),this._setState(i=>{const a=r0({state:i,entities:t,idKey:this.idKey,preAddEntity:this.akitaPreAddEntity.bind(this),isNativePreAdd:r});return Wn(n.activeId)===!1&&(a.active=n.activeId),a}),this.hasInitialUIState()&&this.handleUICreation(),this.entityActions.next({type:Yt.Set,ids:this.ids})}add(t,n={loading:!1}){const r=Ze(t);if(Lt(r))return;const i=Ry({state:this._value(),preAddEntity:this.akitaPreAddEntity.bind(this),entities:r,idKey:this.idKey,options:n});i&&(Ce()&&We("Add Entity"),i.newState.loading=n.loading,this._setState(()=>i.newState),this.hasInitialUIState()&&this.handleUICreation(!0),this.entityActions.next({type:Yt.Add,ids:i.newIds}))}update(t,n){if(Wn(n)){super.update(t);return}let r=[];if(Le(t)?r=this.ids.filter(a=>t(this.entities[a])):r=gt(t)?this.ids:Ze(t),Lt(r))return;Ce()&&We("Update Entity",r);let i;this._setState(a=>c0({idKey:this.idKey,ids:r,preUpdateEntity:this.akitaPreUpdateEntity.bind(this),state:a,newStateOrFn:n,producerFn:this._producerFn,onEntityIdChanges:(o,u)=>{i={oldId:o,newId:u},this.entityIdChanges.next({...i,pending:!0})}})),i&&this.entityIdChanges.next({...i,pending:!1}),this.entityActions.next({type:Yt.Update,ids:r})}upsert(t,n,r,i={}){const a=Ze(t),o=l=>d=>Vr(this.entities,d)===l,u=Le(r)?i.baseClass:r?r.baseClass:void 0,s=Le(u),c=a.filter(o(!0)),f=a.filter(o(!1)).map(l=>{const d=typeof n=="function"?n({}):n,v={...Le(r)?r(l,d):d,[this.idKey]:l};return s?new u(v):v});this.update(c,n),this.add(f),Ce()&&Qn("Upsert Entity")}upsertMany(t,n={}){const r=[],i=[],a={};for(const o of t){const u=this.akitaPreCheckEntity(o),s=u[this.idKey];if(Vr(this.entities,s)){const c=this._value().entities[s],f={...this._value().entities[s],...u},l=n.baseClass?new n.baseClass(f):f,d=this.akitaPreUpdateEntity(c,l),h=d[this.idKey];a[h]=d,i.push(h)}else{const c=n.baseClass?new n.baseClass(u):u,f=this.akitaPreAddEntity(c),l=f[this.idKey];r.push(l),a[l]=f}}Ce()&&Qn("Upsert Many"),this._setState(o=>({...o,ids:r.length?[...o.ids,...r]:o.ids,entities:{...o.entities,...a},loading:!!n.loading})),i.length&&this.entityActions.next({type:Yt.Update,ids:i}),r.length&&this.entityActions.next({type:Yt.Add,ids:r}),r.length&&this.hasUIStore()&&this.handleUICreation(!0)}replace(t,n){const r=Ze(t);if(Lt(r))return;const i={};for(const a of r)i[a]={...n,[this.idKey]:a};Ce()&&We("Replace Entity",t),this._setState(a=>({...a,entities:{...a.entities,...i}}))}move(t,n){const r=this.ids.slice();r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),Ce()&&We("Move Entity"),this._setState(i=>({...i,entities:{...i.entities},ids:r}))}remove(t){if(Lt(this.ids))return;const n=la(t);let r=[];Le(t)?r=this.ids.filter(i=>t(this.entities[i])):r=n?Ze(t):this.ids,!Lt(r)&&(Ce()&&We("Remove Entity",r),this._setState(i=>Zg({state:i,ids:r})),n||this.setHasCache(!1),this.handleUIRemove(r),this.entityActions.next({type:Yt.Remove,ids:r}))}updateActive(t){const n=Ze(this.active);Ce()&&We("Update Active",n),this.update(n,t)}setActive(t){const n=Qg(t,this.ids,this.active);n!==void 0&&(Ce()&&We("Set Active",n),this._setActive(n))}addActive(t){const n=Ze(t);Lt(n)||n.every(i=>this.active.indexOf(i)>-1)||(Ce()&&We("Add Active",t),this._setState(i=>{const a=Array.from(new Set([...i.active,...n]));return{...i,active:a}}))}removeActive(t){const n=Ze(t);Lt(n)||!n.some(i=>this.active.indexOf(i)>-1)||(Ce()&&We("Remove Active",t),this._setState(i=>({...i,active:Array.isArray(i.active)?i.active.filter(a=>n.indexOf(a)===-1):null})))}toggleActive(t){const n=Ze(t),r=o=>u=>this.active.includes(u)===o,i=n.filter(r(!0)),a=n.filter(r(!1));this.removeActive(i),this.addActive(a),Ce()&&Qn("Toggle Active")}createUIStore(t={},n={}){const r={name:`UI/${this.storeName}`,idKey:this.idKey};return this.ui=new nc(t,{...r,...n}),this.ui}destroy(){super.destroy(),this.ui instanceof rr&&this.ui.destroy(),this.entityActions.complete()}akitaPreUpdateEntity(t,n){return n}akitaPreAddEntity(t){return t}akitaPreCheckEntity(t){return t}get ids(){return this._value().ids}get entities(){return this._value().entities}get active(){return this._value().active}_setActive(t){this._setState(n=>({...n,active:t}))}handleUICreation(t=!1){const n=this.ids,r=Le(this.ui._akitaCreateEntityFn);let i;const a=o=>{const u=this.entities[o],s=r?this.ui._akitaCreateEntityFn(u):this.ui._akitaCreateEntityFn;return{[this.idKey]:u[this.idKey],...s}};t?i=this.ids.filter(o=>Wn(this.ui.entities[o])).map(a):i=n.map(a),t?this.ui.add(i):this.ui.set(i)}hasInitialUIState(){return this.hasUIStore()&&Wn(this.ui._akitaCreateEntityFn)===!1}handleUIRemove(t){this.hasUIStore()&&this.ui.remove(t)}hasUIStore(){return this.ui instanceof nc}}Es([Tp(),Dt("design:type",Function),Dt("design:paramtypes",[Object,Object,Object,Object]),Dt("design:returntype",void 0)],rr.prototype,"upsert",null);Es([Tp(),Dt("design:type",Function),Dt("design:paramtypes",[typeof(tc=typeof T<"u"&&T)=="function"?tc:Object]),Dt("design:returntype",void 0)],rr.prototype,"toggleActive",null);class nc extends rr{constructor(t={},n={}){super(t,n)}setInitialEntityState(t){this._akitaCreateEntityFn=t}}function f0(){return ja(e=>e!=null)}function d0(e){return function(t,n){const r=Le(e[0]);return e.some(i=>r?i(t)!==i(n):t[i]!==n[i])===!1}}function Cp(e){return typeof e=="string"}const p0="akitaQueryConfig";class h0{constructor(t){this.store=t,this.__store__=t,Ce()&&(Sp[t.storeName]=this)}select(t){let n;if(Le(t))n=t;else if(Cp(t))n=r=>r[t];else{if(Array.isArray(t))return this.store._select(r=>r).pipe(Yr(d0(t)),Ye(r=>Le(t[0])?t.map(i=>i(r)):t.reduce((i,a)=>(i[a]=r[a],i),{})));n=r=>r}return this.store._select(n)}selectLoading(){return this.select(t=>t.loading)}selectError(){return this.select(t=>t.error)}getValue(){return this.store._value()}selectHasCache(){return this.store._cache().asObservable()}getHasCache(){return this.store._cache().value}get config(){return this.constructor[p0]}}function v0(e,t){for(const n of Object.keys(t))if(e(t[n])===!0)return n}function rc(e,t){return function(n){const r=n[e];if(!Wn(r))return t?Cp(t)?r[t]:t(r):r}}function m0(e,t){return e.reduce((n,r,i,a)=>{const o=t(r,i,a);return o!==void 0&&n.push(o),n},[])}function y0(e,t){e.sortBy=e.sortBy||t&&t.sortBy,e.sortByOrder=e.sortByOrder||t&&t.sortByOrder}class g0 extends h0{constructor(t,n={}){super(t),this.options=n,this.__store__=t}selectAll(t={asObject:!1}){return this.select(n=>n.entities).pipe(Ye(()=>this.getAll(t)))}getAll(t={asObject:!1,filterBy:void 0,limitTo:void 0}){return t.asObject?Xg(this.getValue(),t):(y0(t,this.config||this.options),Yg(this.getValue(),t))}selectMany(t,n){return!t||!t.length?Cs([]):this.select(r=>r.entities).pipe(Ye(r=>m0(t,i=>rc(i,n)(r))),Ug())}selectEntity(t,n){let r=t;return Le(t)&&(r=v0(t,this.getValue().entities)),this.select(i=>i.entities).pipe(Ye(rc(r,n)),Yr())}getEntity(t){return this.getValue().entities[t]}selectActiveId(){return this.select(t=>t.active)}getActiveId(){return this.getValue().active}selectActive(t){return Pt(this.getActive())?this.selectActiveId().pipe(Gi(n=>this.selectMany(n,t))):this.selectActiveId().pipe(Gi(n=>this.selectEntity(n,t)))}getActive(){const t=this.getActiveId();return Pt(t)?t.map(n=>this.getValue().entities[n]):Rs(t)?this.getEntity(t):void 0}selectCount(t){return this.select(n=>n.entities).pipe(Ye(()=>this.getCount(t)))}getCount(t){return Le(t)?this.getAll().filter(t).length:this.getValue().ids.length}selectLast(t){return this.selectAt(n=>n[n.length-1],t)}selectFirst(t){return this.selectAt(n=>n[0],t)}selectEntityAction(t){if(gt(t))return this.store.selectEntityAction$;const n=Pt(t)?i=>i:({ids:i})=>i,r=Ze(t);return this.store.selectEntityAction$.pipe(ja(({type:i})=>r.includes(i)),Ye(i=>n(i)))}hasEntity(t){return gt(t)?this.getValue().ids.length>0:Le(t)?this.getAll().some(t):Pt(t)?t.every(n=>n in this.getValue().entities):t in this.getValue().entities}hasActive(t){const n=this.getValue().active,r=la(t);return Array.isArray(n)?r?n.includes(t):n.length>0:r?n===t:la(n)}createUIQuery(){this.ui=new b0(this.__store__.ui)}selectAt(t,n){return this.select(r=>r.ids).pipe(Ye(t),Yr(),Gi(r=>this.selectEntity(r,n)))}}class b0 extends g0{constructor(t){super(t)}}function _u(e,t){return t.split(".").length===1?e:t.split(".").slice(1).join(".").split(".").reduce((r,i)=>r&&r[i],e)}function Ip(e,t,n,r=!1){const i=t.split(".");if(i.length===1)return{...e,...n};e={...e};const a=i.length-2;return t.split(".").slice(1).reduce((u,s,c)=>c!==a?(u[s]={...u[s]},u&&u[s]):(u[s]=r||Array.isArray(u[s])||!Is(u[s])?n:{...u[s],...n},u&&u[s]),e),e}let _0=!1;const w0=new tp(1);function E0(){return _0}function S0(e){return e&&Le(e.then)}function Rr(e){return S0(e)||mp(e)?br(e):Cs(e)}function SL(e){const t={key:"AkitaStores",enableInNonBrowser:!1,storage:Zl()?localStorage:e.storage,deserialize:JSON.parse,serialize:JSON.stringify,include:[],select:[],persistOnDestroy:!1,preStorageUpdate:function(w,P){return P},preStoreUpdate:function(w,P){return P},skipStorageUpdate:E0,preStorageUpdateOperator:()=>w=>w},{storage:n,enableInNonBrowser:r,deserialize:i,serialize:a,include:o,select:u,key:s,preStorageUpdate:c,persistOnDestroy:f,preStorageUpdateOperator:l,preStoreUpdate:d,skipStorageUpdate:h}=Object.assign({},t,e);if(qg&&!r||!n)return;const v=o.length>0,p=u.length>0;let _,g;v&&(_=o.reduce((w,P)=>{if(Le(P))w.fns.push(P);else{const A=P.split(".")[0];w[A]=P}return w},{fns:[]})),p&&(g=u.reduce((w,P)=>(w[P.storeName]=P,w),{}));let y={};const m={},b=[],E=[];function O(w){Rr(w).subscribe(()=>{const P=E.shift();P&&O(P)})}const S=Zl()&&n===localStorage||Gg()&&n===sessionStorage;return Rr(n.getItem(s)).subscribe(w=>{let P=Is(w)?w:i(w||"{}");function A(j){P.$cache={...P.$cache||{},...j},P=Object.assign({},P,m),E.push(n.setItem(s,S?a(P):P)),O(E.shift())}function L(j,I){y[j]=At[j]._select(C=>_u(C,I)).pipe(Bg(1),Ye(C=>p&&g[j]?g[j](C):C),ja(()=>h()===!1),l()).subscribe(C=>{m[j]=c(j,C),Promise.resolve().then(()=>A({[j]:At[j]._cache().getValue()}))})}function D(j,I,C){if(j in P){We("@PersistState"),I._setState($=>Ip($,C,d(j,P[j],$)));const R=P.$cache?P.$cache[j]:!1;At[j].setHasCache(R,{restartTTL:!0})}}b.push(wp.subscribe(j=>{y[j]&&(f===!1&&A({[j]:!1}),y[j].unsubscribe(),delete y[j])})),b.push(Ep.subscribe(j=>{if(j==="router")return;const I=At[j];if(v){let C=_[j];if(!C)if(_.fns.some($=>$(j)))C=j;else return;D(j,I,C),L(j,C)}else D(j,I,j),L(j,j)})),w0.next(!0)}),{destroy(){b.forEach(w=>w.unsubscribe());for(let w=0,P=Object.keys(y);w<P.length;w++){const A=P[w];y[A].unsubscribe()}y={}},clear(){n.clear()},clearStore(w){if(gt(w)){Rr(n.setItem(s,"{}")).subscribe();return}const P=n.getItem(s);Rr(P).subscribe(A=>{const L=i(A||"{}");L[w]&&(delete L[w],Rr(n.setItem(s,a(L))).subscribe())})}}}class O0{constructor(t,n){this.query=t,n&&n.resetFn}getQuery(){return this.query}getStore(){return this.getQuery().__store__}isEntityBased(t){return Rs(t)}selectSource(t,n){return this.isEntityBased(t)?this.getQuery().selectEntity(t).pipe(f0()):n?this.getQuery().select(r=>_u(r,this.withStoreName(n))):this.getQuery().select()}getSource(t,n){if(this.isEntityBased(t))return this.getQuery().getEntity(t);const r=this.getQuery().getValue();return n?_u(r,this.withStoreName(n)):r}withStoreName(t){return`${this.storeName}.${t}`}get storeName(){return this.getStore().storeName}updateStore(t,n,r,i=!1){if(this.isEntityBased(n)){const a=this.getStore();i?a.replace(n,t):a.update(n,t)}else{if(r){this.getStore()._setState(o=>Ip(o,this.withStoreName(r),t,!0));return}const a=i?t:o=>({...o,...t});this.getStore()._setState(a)}}onReset(t){const n=this.getStore().reset;this.getStore().reset=(...r)=>{setTimeout(()=>{n.apply(this.getStore(),r),t()})}}}const P0={pagesControls:!1,range:!1,startWith:1,cacheTimeout:void 0,clearStoreWithCache:!0};class A0 extends O0{constructor(t,n={}){super(t,{resetFn:()=>{this.initial=!1,this.destroy({clearCache:!0,currentPage:1})}}),this.query=t,this.config=n,this.metadata=new Map,this.pages=new Map,this.pagination={currentPage:1,perPage:0,total:0,lastPage:0,data:[]},this.initial=!0,this.isLoading$=this.query.selectLoading().pipe($g(0)),this.config={...P0,...n};const{startWith:r,cacheTimeout:i}=this.config;this.page=new ua(r),mp(i)&&(this.clearCacheSubscription=i.subscribe(()=>this.clearCache()))}get pageChanges(){return this.page.asObservable()}get currentPage(){return this.pagination.currentPage}get isFirst(){return this.currentPage===1}get isLast(){return this.currentPage===this.pagination.lastPage}withControls(){return this.config.pagesControls=!0,this}withRange(){return this.config.range=!0,this}setLoading(t=!0){this.getStore().setLoading(t)}update(t){this.pagination=t,this.addPage(t.data)}addPage(t){this.pages.set(this.currentPage,{ids:t.map(n=>n[this.getStore().idKey])}),this.getStore().upsertMany(t)}clearCache(t={}){this.initial||(Qn("@Pagination - Clear Cache"),t.clearStore!==!1&&(this.config.clearStoreWithCache||t.clearStore)&&this.getStore().remove(),this.pages=new Map,this.metadata=new Map),this.initial=!1}clearPage(t){this.pages.delete(t)}destroy({clearCache:t,currentPage:n}={}){this.clearCacheSubscription&&this.clearCacheSubscription.unsubscribe(),t&&this.clearCache(),Wn(n)||this.setPage(n),this.initial=!0}isPageActive(t){return this.currentPage===t}setPage(t){(t!==this.currentPage||!this.hasPage(t))&&this.page.next(this.pagination.currentPage=t)}nextPage(){this.currentPage!==this.pagination.lastPage&&this.setPage(this.pagination.currentPage+1)}prevPage(){this.pagination.currentPage>1&&this.setPage(this.pagination.currentPage-1)}setLastPage(){this.setPage(this.pagination.lastPage)}setFirstPage(){this.setPage(1)}hasPage(t){return this.pages.has(t)}getPage(t){let n=this.pagination.currentPage;return this.hasPage(n)?this.selectPage(n):(this.setLoading(!0),br(t()).pipe(Gi(r=>(n=r.currentPage,ks(()=>{this.setLoading(!1),this.update(r)}),this.selectPage(n)))))}getQuery(){return this.query}refreshCurrentPage(){gt(this.currentPage)===!1&&(this.clearPage(this.currentPage),this.setPage(this.currentPage))}getFrom(){return this.isFirst?1:(this.currentPage-1)*this.pagination.perPage+1}getTo(){return this.isLast?this.pagination.total:this.currentPage*this.pagination.perPage}selectPage(t){return this.query.selectAll({asObject:!0}).pipe(gu(1),Ye(n=>{const r={...this.pagination,data:this.pages.get(t).ids.map(o=>n[o])},{range:i,pagesControls:a}=this.config;return isNaN(this.pagination.total)&&(r.lastPage===1?r.total=r.data?r.data.length:0:r.total=r.perPage*r.lastPage,this.pagination.total=r.total),i&&(r.from=this.getFrom(),r.to=this.getTo()),a&&(r.pageControls=T0(this.pagination.total,this.pagination.perPage)),r}))}}Es([Iy("@Pagination - New Page"),Dt("design:type",Function),Dt("design:paramtypes",[Object]),Dt("design:returntype",void 0)],A0.prototype,"update",null);function T0(e,t){const n=Math.ceil(e/t),r=[];for(let i=0;i<n;i++)r.push(i+1);return r}function OL(e){e=Object.assign({},{exclude:[]},e);const n=Object.keys(At);ks(()=>{for(const r of n){const i=At[r];e.exclude?e.exclude.indexOf(i.storeName)===-1&&i.reset():i.reset()}})}var wu;(function(e){e.Update="UPDATE"})(wu||(wu={}));wu.Update+"";var Rt;(function(e){e.Update="UPDATE",e.AddEntities="ADD_ENTITIES",e.SetEntities="SET_ENTITIES",e.UpdateEntities="UPDATE_ENTITIES",e.RemoveEntities="REMOVE_ENTITIES",e.UpsertEntities="UPSERT_ENTITIES",e.UpsertManyEntities="UPSERT_MANY_ENTITIES"})(Rt||(Rt={}));Rt.Update+"",Rt.AddEntities+"",Rt.SetEntities+"",Rt.UpdateEntities+"",Rt.RemoveEntities+"",Rt.UpsertEntities+"",Rt.UpsertManyEntities+"";const C0="modulepreload",I0=function(e){return"/benefits/app/"+e},ic={},PL=function(t,n,r){if(!n||n.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(n.map(a=>{if(a=I0(a),a in ic)return;ic[a]=!0;const o=a.endsWith(".css"),u=o?'[rel="stylesheet"]':"";if(!!r)for(let f=i.length-1;f>=0;f--){const l=i[f];if(l.href===a&&(!o||l.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${u}`))return;const c=document.createElement("link");if(c.rel=o?"stylesheet":C0,o||(c.as="script",c.crossOrigin=""),c.href=a,document.head.appendChild(c),o)return new Promise((f,l)=>{c.addEventListener("load",f),c.addEventListener("error",()=>l(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>t()).catch(a=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=a,window.dispatchEvent(o),!o.defaultPrevented)throw a})};var ci,G,Lp,bn,ac,Rp,Eu,kp,Zn={},Np=[],L0=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Fa=Array.isArray;function Mt(e,t){for(var n in t)e[n]=t[n];return e}function Mp(e){var t=e.parentNode;t&&t.removeChild(e)}function F(e,t,n){var r,i,a,o={};for(a in t)a=="key"?r=t[a]:a=="ref"?i=t[a]:o[a]=t[a];if(arguments.length>2&&(o.children=arguments.length>3?ci.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(a in e.defaultProps)o[a]===void 0&&(o[a]=e.defaultProps[a]);return Ur(e,o,r,i,null)}function Ur(e,t,n,r,i){var a={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:i??++Lp};return i==null&&G.vnode!=null&&G.vnode(a),a}function Xr(){return{current:null}}function we(e){return e.children}function nt(e,t){this.props=e,this.context=t}function Qr(e,t){if(t==null)return e.__?Qr(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__d||n.__e;return typeof e.type=="function"?Qr(e):null}function Dp(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return Dp(e)}}function Su(e){(!e.__d&&(e.__d=!0)&&bn.push(e)&&!fa.__r++||ac!==G.debounceRendering)&&((ac=G.debounceRendering)||Rp)(fa)}function fa(){var e,t,n,r,i,a,o,u,s;for(bn.sort(Eu);e=bn.shift();)e.__d&&(t=bn.length,r=void 0,i=void 0,a=void 0,u=(o=(n=e).__v).__e,(s=n.__P)&&(r=[],i=[],(a=Mt({},o)).__v=o.__v+1,Ns(s,o,a,n.__n,s.ownerSVGElement!==void 0,o.__h!=null?[u]:null,r,u??Qr(o),o.__h,i),Fp(r,o,i),o.__e!=u&&Dp(o)),bn.length>t&&bn.sort(Eu));fa.__r=0}function $p(e,t,n,r,i,a,o,u,s,c,f){var l,d,h,v,p,_,g,y,m,b=0,E=r&&r.__k||Np,O=E.length,S=O,w=t.length;for(n.__k=[],l=0;l<w;l++)(v=n.__k[l]=(v=t[l])==null||typeof v=="boolean"||typeof v=="function"?null:typeof v=="string"||typeof v=="number"||typeof v=="bigint"?Ur(null,v,null,null,v):Fa(v)?Ur(we,{children:v},null,null,null):v.__b>0?Ur(v.type,v.props,v.key,v.ref?v.ref:null,v.__v):v)!=null?(v.__=n,v.__b=n.__b+1,(y=R0(v,E,g=l+b,S))===-1?h=Zn:(h=E[y]||Zn,E[y]=void 0,S--),Ns(e,v,h,i,a,o,u,s,c,f),p=v.__e,(d=v.ref)&&h.ref!=d&&(h.ref&&Ms(h.ref,null,v),f.push(d,v.__c||p,v)),p!=null&&(_==null&&(_=p),(m=h===Zn||h.__v===null)?y==-1&&b--:y!==g&&(y===g+1?b++:y>g?S>w-g?b+=y-g:b--:b=y<g&&y==g-1?y-g:0),g=l+b,typeof v.type!="function"||y===g&&h.__k!==v.__k?typeof v.type=="function"||y===g&&!m?v.__d!==void 0?(s=v.__d,v.__d=void 0):s=p.nextSibling:s=Bp(e,p,s):s=jp(v,s,e),typeof n.type=="function"&&(n.__d=s))):(h=E[l])&&h.key==null&&h.__e&&(h.__e==s&&(h.__=r,s=Qr(h)),Ou(h,h,!1),E[l]=null);for(n.__e=_,l=O;l--;)E[l]!=null&&(typeof n.type=="function"&&E[l].__e!=null&&E[l].__e==n.__d&&(n.__d=E[l].__e.nextSibling),Ou(E[l],E[l]))}function jp(e,t,n){for(var r,i=e.__k,a=0;i&&a<i.length;a++)(r=i[a])&&(r.__=e,t=typeof r.type=="function"?jp(r,t,n):Bp(n,r.__e,t));return t}function mt(e,t){return t=t||[],e==null||typeof e=="boolean"||(Fa(e)?e.some(function(n){mt(n,t)}):t.push(e)),t}function Bp(e,t,n){return n==null||n.parentNode!==e?e.insertBefore(t,null):t==n&&t.parentNode!=null||e.insertBefore(t,n),t.nextSibling}function R0(e,t,n,r){var i=e.key,a=e.type,o=n-1,u=n+1,s=t[n];if(s===null||s&&i==s.key&&a===s.type)return n;if(r>(s!=null?1:0))for(;o>=0||u<t.length;){if(o>=0){if((s=t[o])&&i==s.key&&a===s.type)return o;o--}if(u<t.length){if((s=t[u])&&i==s.key&&a===s.type)return u;u++}}return-1}function k0(e,t,n,r,i){var a;for(a in n)a==="children"||a==="key"||a in t||da(e,a,null,n[a],r);for(a in t)i&&typeof t[a]!="function"||a==="children"||a==="key"||a==="value"||a==="checked"||n[a]===t[a]||da(e,a,t[a],n[a],r)}function oc(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||L0.test(t)?n:n+"px"}function da(e,t,n,r,i){var a;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||oc(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||oc(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")a=t!==(t=t.replace(/(PointerCapture)$|Capture$/,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+a]=n,n?r?n.u=r.u:(n.u=Date.now(),e.addEventListener(t,a?sc:uc,a)):e.removeEventListener(t,a?sc:uc,a);else if(t!=="dangerouslySetInnerHTML"){if(i)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!=="width"&&t!=="height"&&t!=="href"&&t!=="list"&&t!=="form"&&t!=="tabIndex"&&t!=="download"&&t!=="rowSpan"&&t!=="colSpan"&&t!=="role"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,n))}}function uc(e){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(G.event?G.event(e):e)}function sc(e){return this.l[e.type+!0](G.event?G.event(e):e)}function Ns(e,t,n,r,i,a,o,u,s,c){var f,l,d,h,v,p,_,g,y,m,b,E,O,S,w,P=t.type;if(t.constructor!==void 0)return null;n.__h!=null&&(s=n.__h,u=t.__e=n.__e,t.__h=null,a=[u]),(f=G.__b)&&f(t);e:if(typeof P=="function")try{if(g=t.props,y=(f=P.contextType)&&r[f.__c],m=f?y?y.props.value:f.__:r,n.__c?_=(l=t.__c=n.__c).__=l.__E:("prototype"in P&&P.prototype.render?t.__c=l=new P(g,m):(t.__c=l=new nt(g,m),l.constructor=P,l.render=M0),y&&y.sub(l),l.props=g,l.state||(l.state={}),l.context=m,l.__n=r,d=l.__d=!0,l.__h=[],l._sb=[]),l.__s==null&&(l.__s=l.state),P.getDerivedStateFromProps!=null&&(l.__s==l.state&&(l.__s=Mt({},l.__s)),Mt(l.__s,P.getDerivedStateFromProps(g,l.__s))),h=l.props,v=l.state,l.__v=t,d)P.getDerivedStateFromProps==null&&l.componentWillMount!=null&&l.componentWillMount(),l.componentDidMount!=null&&l.__h.push(l.componentDidMount);else{if(P.getDerivedStateFromProps==null&&g!==h&&l.componentWillReceiveProps!=null&&l.componentWillReceiveProps(g,m),!l.__e&&(l.shouldComponentUpdate!=null&&l.shouldComponentUpdate(g,l.__s,m)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(l.props=g,l.state=l.__s,l.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(A){A&&(A.__=t)}),b=0;b<l._sb.length;b++)l.__h.push(l._sb[b]);l._sb=[],l.__h.length&&o.push(l);break e}l.componentWillUpdate!=null&&l.componentWillUpdate(g,l.__s,m),l.componentDidUpdate!=null&&l.__h.push(function(){l.componentDidUpdate(h,v,p)})}if(l.context=m,l.props=g,l.__P=e,l.__e=!1,E=G.__r,O=0,"prototype"in P&&P.prototype.render){for(l.state=l.__s,l.__d=!1,E&&E(t),f=l.render(l.props,l.state,l.context),S=0;S<l._sb.length;S++)l.__h.push(l._sb[S]);l._sb=[]}else do l.__d=!1,E&&E(t),f=l.render(l.props,l.state,l.context),l.state=l.__s;while(l.__d&&++O<25);l.state=l.__s,l.getChildContext!=null&&(r=Mt(Mt({},r),l.getChildContext())),d||l.getSnapshotBeforeUpdate==null||(p=l.getSnapshotBeforeUpdate(h,v)),$p(e,Fa(w=f!=null&&f.type===we&&f.key==null?f.props.children:f)?w:[w],t,n,r,i,a,o,u,s,c),l.base=t.__e,t.__h=null,l.__h.length&&o.push(l),_&&(l.__E=l.__=null)}catch(A){t.__v=null,(s||a!=null)&&(t.__e=u,t.__h=!!s,a[a.indexOf(u)]=null),G.__e(A,t,n)}else a==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=N0(n.__e,t,n,r,i,a,o,s,c);(f=G.diffed)&&f(t)}function Fp(e,t,n){for(var r=0;r<n.length;r++)Ms(n[r],n[++r],n[++r]);G.__c&&G.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(a){a.call(i)})}catch(a){G.__e(a,i.__v)}})}function N0(e,t,n,r,i,a,o,u,s){var c,f,l,d=n.props,h=t.props,v=t.type,p=0;if(v==="svg"&&(i=!0),a!=null){for(;p<a.length;p++)if((c=a[p])&&"setAttribute"in c==!!v&&(v?c.localName===v:c.nodeType===3)){e=c,a[p]=null;break}}if(e==null){if(v===null)return document.createTextNode(h);e=i?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,h.is&&h),a=null,u=!1}if(v===null)d===h||u&&e.data===h||(e.data=h);else{if(a=a&&ci.call(e.childNodes),f=(d=n.props||Zn).dangerouslySetInnerHTML,l=h.dangerouslySetInnerHTML,!u){if(a!=null)for(d={},p=0;p<e.attributes.length;p++)d[e.attributes[p].name]=e.attributes[p].value;(l||f)&&(l&&(f&&l.__html==f.__html||l.__html===e.innerHTML)||(e.innerHTML=l&&l.__html||""))}if(k0(e,h,d,i,u),l)t.__k=[];else if($p(e,Fa(p=t.props.children)?p:[p],t,n,r,i&&v!=="foreignObject",a,o,a?a[0]:n.__k&&Qr(n,0),u,s),a!=null)for(p=a.length;p--;)a[p]!=null&&Mp(a[p]);u||("value"in h&&(p=h.value)!==void 0&&(p!==e.value||v==="progress"&&!p||v==="option"&&p!==d.value)&&da(e,"value",p,d.value,!1),"checked"in h&&(p=h.checked)!==void 0&&p!==e.checked&&da(e,"checked",p,d.checked,!1))}return e}function Ms(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){G.__e(r,n)}}function Ou(e,t,n){var r,i;if(G.unmount&&G.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||Ms(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(a){G.__e(a,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&Ou(r[i],t,n||typeof e.type!="function");n||e.__e==null||Mp(e.__e),e.__=e.__e=e.__d=void 0}function M0(e,t,n){return this.constructor(e,n)}function ir(e,t,n){var r,i,a,o;G.__&&G.__(e,t),i=(r=typeof n=="function")?null:n&&n.__k||t.__k,a=[],o=[],Ns(t,e=(!r&&n||t).__k=F(we,null,[e]),i||Zn,Zn,t.ownerSVGElement!==void 0,!r&&n?[n]:i?null:t.firstChild?ci.call(t.childNodes):null,a,!r&&n?n:i?i.__e:t.firstChild,r,o),Fp(a,e,o)}function Ds(e,t){ir(e,t,Ds)}function Up(e,t,n){var r,i,a,o,u=Mt({},e.props);for(a in e.type&&e.type.defaultProps&&(o=e.type.defaultProps),t)a=="key"?r=t[a]:a=="ref"?i=t[a]:u[a]=t[a]===void 0&&o!==void 0?o[a]:t[a];return arguments.length>2&&(u.children=arguments.length>3?ci.call(arguments,2):n),Ur(e.type,u,r||e.key,i||e.ref,null)}function je(e,t){var n={__c:t="__cC"+kp++,__:e,Consumer:function(r,i){return r.children(i)},Provider:function(r){var i,a;return this.getChildContext||(i=[],(a={})[t]=this,this.getChildContext=function(){return a},this.shouldComponentUpdate=function(o){this.props.value!==o.value&&i.some(function(u){u.__e=!0,Su(u)})},this.sub=function(o){i.push(o);var u=o.componentWillUnmount;o.componentWillUnmount=function(){i.splice(i.indexOf(o),1),u&&u.call(o)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}ci=Np.slice,G={__e:function(e,t,n,r){for(var i,a,o;t=t.__;)if((i=t.__c)&&!i.__)try{if((a=i.constructor)&&a.getDerivedStateFromError!=null&&(i.setState(a.getDerivedStateFromError(e)),o=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(e,r||{}),o=i.__d),o)return i.__E=i}catch(u){e=u}throw e}},Lp=0,nt.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Mt({},this.state),typeof e=="function"&&(e=e(Mt({},n),this.props)),e&&Mt(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Su(this))},nt.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Su(this))},nt.prototype.render=we,bn=[],Rp=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Eu=function(e,t){return e.__v.__b-t.__v.__b},fa.__r=0,kp=0;var xt,he,mo,lc,ar=0,xp=[],Yi=[],cc=G.__b,fc=G.__r,dc=G.diffed,pc=G.__c,hc=G.unmount;function Mn(e,t){G.__h&&G.__h(he,e,ar||t),ar=0;var n=he.__H||(he.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:Yi}),n.__[e]}function xe(e){return ar=1,Dn(zp,e)}function Dn(e,t,n){var r=Mn(xt++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):zp(void 0,t),function(u){var s=r.__N?r.__N[0]:r.__[0],c=r.t(s,u);s!==c&&(r.__N=[c,r.__[1]],r.__c.setState({}))}],r.__c=he,!he.u)){var i=function(u,s,c){if(!r.__c.__H)return!0;var f=r.__c.__H.__.filter(function(d){return d.__c});if(f.every(function(d){return!d.__N}))return!a||a.call(this,u,s,c);var l=!1;return f.forEach(function(d){if(d.__N){var h=d.__[0];d.__=d.__N,d.__N=void 0,h!==d.__[0]&&(l=!0)}}),!(!l&&r.__c.props===u)&&(!a||a.call(this,u,s,c))};he.u=!0;var a=he.shouldComponentUpdate,o=he.componentWillUpdate;he.componentWillUpdate=function(u,s,c){if(this.__e){var f=a;a=void 0,i(u,s,c),a=f}o&&o.call(this,u,s,c)},he.shouldComponentUpdate=i}return r.__N||r.__}function de(e,t){var n=Mn(xt++,3);!G.__s&&$s(n.__H,t)&&(n.__=e,n.i=t,he.__H.__h.push(n))}function $n(e,t){var n=Mn(xt++,4);!G.__s&&$s(n.__H,t)&&(n.__=e,n.i=t,he.__h.push(n))}function ae(e){return ar=5,ce(function(){return{current:e}},[])}function Hp(e,t,n){ar=6,$n(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function ce(e,t){var n=Mn(xt++,7);return $s(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function Zt(e,t){return ar=8,ce(function(){return e},t)}function ke(e){var t=he.context[e.__c],n=Mn(xt++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(he)),t.props.value):e.__}function Kp(e,t){G.useDebugValue&&G.useDebugValue(t?t(e):e)}function D0(e){var t=Mn(xt++,10),n=xe();return t.__=e,he.componentDidCatch||(he.componentDidCatch=function(r,i){t.__&&t.__(r,i),n[1](r)}),[n[0],function(){n[1](void 0)}]}function Wp(){var e=Mn(xt++,11);if(!e.__){for(var t=he.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function $0(){for(var e;e=xp.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Xi),e.__H.__h.forEach(Pu),e.__H.__h=[]}catch(t){e.__H.__h=[],G.__e(t,e.__v)}}G.__b=function(e){he=null,cc&&cc(e)},G.__r=function(e){fc&&fc(e),xt=0;var t=(he=e.__c).__H;t&&(mo===he?(t.__h=[],he.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=Yi,n.__N=n.i=void 0})):(t.__h.forEach(Xi),t.__h.forEach(Pu),t.__h=[],xt=0)),mo=he},G.diffed=function(e){dc&&dc(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(xp.push(t)!==1&&lc===G.requestAnimationFrame||((lc=G.requestAnimationFrame)||j0)($0)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==Yi&&(n.__=n.__V),n.i=void 0,n.__V=Yi})),mo=he=null},G.__c=function(e,t){t.some(function(n){try{n.__h.forEach(Xi),n.__h=n.__h.filter(function(r){return!r.__||Pu(r)})}catch(r){t.some(function(i){i.__h&&(i.__h=[])}),t=[],G.__e(r,n.__v)}}),pc&&pc(e,t)},G.unmount=function(e){hc&&hc(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{Xi(r)}catch(i){t=i}}),n.__H=void 0,t&&G.__e(t,n.__v))};var vc=typeof requestAnimationFrame=="function";function j0(e){var t,n=function(){clearTimeout(r),vc&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);vc&&(t=requestAnimationFrame(n))}function Xi(e){var t=he,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),he=t}function Pu(e){var t=he;e.__c=e.__(),he=t}function $s(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function zp(e,t){return typeof t=="function"?t(e):t}let xn;const B0=(e,t)=>{if(xn=void 0,t&&t.type==="click"){if(t.ctrlKey||t.metaKey||t.altKey||t.shiftKey||t.button!==0)return e;const n=t.target.closest("a[href]");if(!n||n.origin!=location.origin||/^#/.test(n.getAttribute("href"))||!/^(_?self)?$/i.test(n.target))return e;xn=!0,t.preventDefault(),t=n.href.replace(location.origin,"")}else typeof t=="string"?xn=!0:t=location.pathname+location.search;return xn===!0?history.pushState(null,"",t):xn===!1&&history.replaceState(null,"",t),t};function qp(e){const[t,n]=Dn(B0,e.url||location.pathname+location.search),r=xn===!0,i=ce(()=>{const a=new URL(t,location.origin),o=a.pathname.replace(/(.)\/$/g,"$1");return{url:t,path:o,query:Object.fromEntries(a.searchParams),route:n,wasPush:r}},[t]);return $n(()=>(addEventListener("click",n),addEventListener("popstate",n),()=>{removeEventListener("click",n),removeEventListener("popstate",n)}),[]),F(qp.ctx.Provider,{value:i},e.children)}Promise.resolve();qp.ctx=je({});je({});const mc=G.__e;G.__e=(e,t,n)=>{if(e&&e.then){let r=t;for(;r=r.__;)if(r.__c&&r.__c.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),t.__k||(t.__k=[]),r.__c.__c(e,t)}mc&&mc(e,t,n)};let yc;function AL(e,t){if(typeof window>"u")return;let n=document.querySelector("script[type=isodata]");t=t||n&&n.parentNode||document.body,!yc&&n?Ds(e,t):ir(e,t),yc=!0}function Gp(e,t){for(var n in t)e[n]=t[n];return e}function Au(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function yo(e,t){return e===t&&(e!==0||1/e==1/t)||e!=e&&t!=t}function pa(e){this.props=e}function Vp(e,t){function n(i){var a=this.props.ref,o=a==i.ref;return!o&&a&&(a.call?a(null):a.current=null),t?!t(this.props,i)||!o:Au(this.props,i)}function r(i){return this.shouldComponentUpdate=n,F(e,i)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(pa.prototype=new nt).isPureReactComponent=!0,pa.prototype.shouldComponentUpdate=function(e,t){return Au(this.props,e)||Au(this.state,t)};var gc=G.__b;G.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),gc&&gc(e)};var F0=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function pe(e){function t(n){var r=Gp({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=F0,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var bc=function(e,t){return e==null?null:mt(mt(e).map(t))},Yp={map:bc,forEach:bc,count:function(e){return e?mt(e).length:0},only:function(e){var t=mt(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:mt},U0=G.__e;G.__e=function(e,t,n,r){if(e.then){for(var i,a=t;a=a.__;)if((i=a.__c)&&i.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t)}U0(e,t,n,r)};var _c=G.unmount;function Xp(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=Gp({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return Xp(r,t,n)})),e}function Qp(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Qp(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function xr(){this.__u=0,this.t=null,this.__b=null}function Jp(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Zp(e){var t,n,r;function i(a){if(t||(t=e()).then(function(o){n=o.default||o},function(o){r=o}),r)throw r;if(!n)throw t;return F(n,a)}return i.displayName="Lazy",i.__f=!0,i}function zn(){this.u=null,this.o=null}G.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),_c&&_c(e)},(xr.prototype=new nt).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var i=Jp(r.__v),a=!1,o=function(){a||(a=!0,n.__R=null,i?i(u):u())};n.__R=o;var u=function(){if(!--r.__u){if(r.state.__a){var c=r.state.__a;r.__v.__k[0]=Qp(c,c.__c.__P,c.__c.__O)}var f;for(r.setState({__a:r.__b=null});f=r.t.pop();)f.forceUpdate()}},s=t.__h===!0;r.__u++||s||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(o,o)},xr.prototype.componentWillUnmount=function(){this.t=[]},xr.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Xp(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&F(we,null,e.fallback);return i&&(i.__h=null),[F(we,null,t.__a?null:e.children),i]};var wc=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function x0(e){return this.getChildContext=function(){return e.context},e.children}function H0(e){var t=this,n=e.i;t.componentWillUnmount=function(){ir(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(r){this.childNodes.push(r),t.i.appendChild(r)},insertBefore:function(r,i){this.childNodes.push(r),t.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.i.removeChild(r)}}),ir(F(x0,{context:t.context},e.__v),t.l)}function js(e,t){var n=F(H0,{__v:e,i:t});return n.containerInfo=t,n}(zn.prototype=new nt).__a=function(e){var t=this,n=Jp(t.__v),r=t.o.get(e);return r[0]++,function(i){var a=function(){t.props.revealOrder?(r.push(i),wc(t,e,r)):i()};n?n(a):a()}},zn.prototype.render=function(e){this.u=null,this.o=new Map;var t=mt(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},zn.prototype.componentDidUpdate=zn.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){wc(e,n,t)})};var eh=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,K0=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,W0=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,z0=/[A-Z0-9]/g,q0=typeof document<"u",G0=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function th(e,t,n){return t.__k==null&&(t.textContent=""),ir(e,t),typeof n=="function"&&n(),e?e.__c:null}function nh(e,t,n){return Ds(e,t),typeof n=="function"&&n(),e?e.__c:null}nt.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(nt.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Ec=G.event;function V0(){}function Y0(){return this.cancelBubble}function X0(){return this.defaultPrevented}G.event=function(e){return Ec&&(e=Ec(e)),e.persist=V0,e.isPropagationStopped=Y0,e.isDefaultPrevented=X0,e.nativeEvent=e};var Bs,Q0={enumerable:!1,configurable:!0,get:function(){return this.class}},Sc=G.vnode;G.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,i={};for(var a in n){var o=n[a];if(!(a==="value"&&"defaultValue"in n&&o==null||q0&&a==="children"&&r==="noscript"||a==="class"||a==="className")){var u=a.toLowerCase();a==="defaultValue"&&"value"in n&&n.value==null?a="value":a==="download"&&o===!0?o="":u==="ondoubleclick"?a="ondblclick":u!=="onchange"||r!=="input"&&r!=="textarea"||G0(n.type)?u==="onfocus"?a="onfocusin":u==="onblur"?a="onfocusout":W0.test(a)?a=u:r.indexOf("-")===-1&&K0.test(a)?a=a.replace(z0,"-$&").toLowerCase():o===null&&(o=void 0):u=a="oninput",u==="oninput"&&i[a=u]&&(a="oninputCapture"),i[a]=o}}r=="select"&&i.multiple&&Array.isArray(i.value)&&(i.value=mt(n.children).forEach(function(s){s.props.selected=i.value.indexOf(s.props.value)!=-1})),r=="select"&&i.defaultValue!=null&&(i.value=mt(n.children).forEach(function(s){s.props.selected=i.multiple?i.defaultValue.indexOf(s.props.value)!=-1:i.defaultValue==s.props.value})),n.class&&!n.className?(i.class=n.class,Object.defineProperty(i,"className",Q0)):(n.className&&!n.class||n.class&&n.className)&&(i.class=i.className=n.className),t.props=i}(e),e.$$typeof=eh,Sc&&Sc(e)};var Oc=G.__r;G.__r=function(e){Oc&&Oc(e),Bs=e.__c};var Pc=G.diffed;G.diffed=function(e){Pc&&Pc(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),Bs=null};var rh={ReactCurrentDispatcher:{current:{readContext:function(e){return Bs.__n[e.__c].props.value}}}},J0="17.0.2";function ih(e){return F.bind(null,e)}function _r(e){return!!e&&e.$$typeof===eh}function ah(e){return _r(e)&&e.type===we}function Fs(e){return _r(e)?Up.apply(null,arguments):e}function oh(e){return!!e.__k&&(ir(null,e),!0)}function uh(e){return e&&(e.base||e.nodeType===1&&e)||null}var sh=function(e,t){return e(t)},lh=function(e,t){return e(t)},ch=we;function Us(e){e()}function fh(e){return e}function dh(){return[!1,Us]}var ph=$n,hh=_r;function vh(e,t){var n=t(),r=xe({h:{__:n,v:t}}),i=r[0].h,a=r[1];return $n(function(){i.__=n,i.v=t,yo(i.__,t())||a({h:i})},[e,n,t]),de(function(){return yo(i.__,i.v())||a({h:i}),e(function(){yo(i.__,i.v())||a({h:i})})},[e]),n}var Z={useState:xe,useId:Wp,useReducer:Dn,useEffect:de,useLayoutEffect:$n,useInsertionEffect:ph,useTransition:dh,useDeferredValue:fh,useSyncExternalStore:vh,startTransition:Us,useRef:ae,useImperativeHandle:Hp,useMemo:ce,useCallback:Zt,useContext:ke,useDebugValue:Kp,version:"17.0.2",Children:Yp,render:th,hydrate:nh,unmountComponentAtNode:oh,createPortal:js,createElement:F,createContext:je,createFactory:ih,cloneElement:Fs,createRef:Xr,Fragment:we,isValidElement:_r,isElement:hh,isFragment:ah,findDOMNode:uh,Component:nt,PureComponent:pa,memo:Vp,forwardRef:pe,flushSync:lh,unstable_batchedUpdates:sh,StrictMode:ch,Suspense:xr,SuspenseList:zn,lazy:Zp,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:rh};const or=Object.freeze(Object.defineProperty({__proto__:null,Children:Yp,Component:nt,Fragment:we,PureComponent:pa,StrictMode:ch,Suspense:xr,SuspenseList:zn,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:rh,cloneElement:Fs,createContext:je,createElement:F,createFactory:ih,createPortal:js,createRef:Xr,default:Z,findDOMNode:uh,flushSync:lh,forwardRef:pe,hydrate:nh,isElement:hh,isFragment:ah,isValidElement:_r,lazy:Zp,memo:Vp,render:th,startTransition:Us,unmountComponentAtNode:oh,unstable_batchedUpdates:sh,useCallback:Zt,useContext:ke,useDebugValue:Kp,useDeferredValue:fh,useEffect:de,useErrorBoundary:D0,useId:Wp,useImperativeHandle:Hp,useInsertionEffect:ph,useLayoutEffect:$n,useMemo:ce,useReducer:Dn,useRef:ae,useState:xe,useSyncExternalStore:vh,useTransition:dh,version:J0},Symbol.toStringTag,{value:"Module"}));var mh={exports:{}};(function(e,t){(function(){function n(){var r=window,i=document;if("scrollBehavior"in i.documentElement.style&&r.__forceSmoothScrollPolyfill__!==!0)return;var a=r.HTMLElement||r.Element,o=468,u={scroll:r.scroll||r.scrollTo,scrollBy:r.scrollBy,elementScroll:a.prototype.scroll||l,scrollIntoView:a.prototype.scrollIntoView},s=r.performance&&r.performance.now?r.performance.now.bind(r.performance):Date.now;function c(b){var E=["MSIE ","Trident/","Edge/"];return new RegExp(E.join("|")).test(b)}var f=c(r.navigator.userAgent)?1:0;function l(b,E){this.scrollLeft=b,this.scrollTop=E}function d(b){return .5*(1-Math.cos(Math.PI*b))}function h(b){if(b===null||typeof b!="object"||b.behavior===void 0||b.behavior==="auto"||b.behavior==="instant")return!0;if(typeof b=="object"&&b.behavior==="smooth")return!1;throw new TypeError("behavior member of ScrollOptions "+b.behavior+" is not a valid value for enumeration ScrollBehavior.")}function v(b,E){if(E==="Y")return b.clientHeight+f<b.scrollHeight;if(E==="X")return b.clientWidth+f<b.scrollWidth}function p(b,E){var O=r.getComputedStyle(b,null)["overflow"+E];return O==="auto"||O==="scroll"}function _(b){var E=v(b,"Y")&&p(b,"Y"),O=v(b,"X")&&p(b,"X");return E||O}function g(b){for(;b!==i.body&&_(b)===!1;)b=b.parentNode||b.host;return b}function y(b){var E=s(),O,S,w,P=(E-b.startTime)/o;P=P>1?1:P,O=d(P),S=b.startX+(b.x-b.startX)*O,w=b.startY+(b.y-b.startY)*O,b.method.call(b.scrollable,S,w),(S!==b.x||w!==b.y)&&r.requestAnimationFrame(y.bind(r,b))}function m(b,E,O){var S,w,P,A,L=s();b===i.body?(S=r,w=r.scrollX||r.pageXOffset,P=r.scrollY||r.pageYOffset,A=u.scroll):(S=b,w=b.scrollLeft,P=b.scrollTop,A=l),y({scrollable:S,method:A,startTime:L,startX:w,startY:P,x:E,y:O})}r.scroll=r.scrollTo=function(){if(arguments[0]!==void 0){if(h(arguments[0])===!0){u.scroll.call(r,arguments[0].left!==void 0?arguments[0].left:typeof arguments[0]!="object"?arguments[0]:r.scrollX||r.pageXOffset,arguments[0].top!==void 0?arguments[0].top:arguments[1]!==void 0?arguments[1]:r.scrollY||r.pageYOffset);return}m.call(r,i.body,arguments[0].left!==void 0?~~arguments[0].left:r.scrollX||r.pageXOffset,arguments[0].top!==void 0?~~arguments[0].top:r.scrollY||r.pageYOffset)}},r.scrollBy=function(){if(arguments[0]!==void 0){if(h(arguments[0])){u.scrollBy.call(r,arguments[0].left!==void 0?arguments[0].left:typeof arguments[0]!="object"?arguments[0]:0,arguments[0].top!==void 0?arguments[0].top:arguments[1]!==void 0?arguments[1]:0);return}m.call(r,i.body,~~arguments[0].left+(r.scrollX||r.pageXOffset),~~arguments[0].top+(r.scrollY||r.pageYOffset))}},a.prototype.scroll=a.prototype.scrollTo=function(){if(arguments[0]!==void 0){if(h(arguments[0])===!0){if(typeof arguments[0]=="number"&&arguments[1]===void 0)throw new SyntaxError("Value could not be converted");u.elementScroll.call(this,arguments[0].left!==void 0?~~arguments[0].left:typeof arguments[0]!="object"?~~arguments[0]:this.scrollLeft,arguments[0].top!==void 0?~~arguments[0].top:arguments[1]!==void 0?~~arguments[1]:this.scrollTop);return}var b=arguments[0].left,E=arguments[0].top;m.call(this,this,typeof b>"u"?this.scrollLeft:~~b,typeof E>"u"?this.scrollTop:~~E)}},a.prototype.scrollBy=function(){if(arguments[0]!==void 0){if(h(arguments[0])===!0){u.elementScroll.call(this,arguments[0].left!==void 0?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,arguments[0].top!==void 0?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop);return}this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior})}},a.prototype.scrollIntoView=function(){if(h(arguments[0])===!0){u.scrollIntoView.call(this,arguments[0]===void 0?!0:arguments[0]);return}var b=g(this),E=b.getBoundingClientRect(),O=this.getBoundingClientRect();b!==i.body?(m.call(this,b,b.scrollLeft+O.left-E.left,b.scrollTop+O.top-E.top),r.getComputedStyle(b).position!=="fixed"&&r.scrollBy({left:E.left,top:E.top,behavior:"smooth"})):r.scrollBy({left:O.left,top:O.top,behavior:"smooth"})}}e.exports={polyfill:n}})()})(mh);var Z0=mh.exports;const TL=yr(Z0);function CL(e,t){return t=t||{},new Promise(function(n,r){var i=new XMLHttpRequest,a=[],o=[],u={},s=function(){return{ok:(i.status/100|0)==2,statusText:i.statusText,status:i.status,url:i.responseURL,text:function(){return Promise.resolve(i.responseText)},json:function(){return Promise.resolve(i.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([i.response]))},clone:s,headers:{keys:function(){return a},entries:function(){return o},get:function(f){return u[f.toLowerCase()]},has:function(f){return f.toLowerCase()in u}}}};for(var c in i.open(t.method||"get",e,!0),i.onload=function(){i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(f,l,d){a.push(l=l.toLowerCase()),o.push([l,d]),u[l]=u[l]?u[l]+","+d:d}),n(s())},i.onerror=r,i.withCredentials=t.credentials=="include",t.headers)i.setRequestHeader(c,t.headers[c]);i.send(t.body||null)})}var Ac=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function eb(e,t){return!!(e===t||Ac(e)&&Ac(t))}function tb(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!eb(e[n],t[n]))return!1;return!0}function IL(e,t){t===void 0&&(t=tb);var n,r=[],i,a=!1;function o(){for(var u=[],s=0;s<arguments.length;s++)u[s]=arguments[s];return a&&n===this&&t(u,r)||(i=e.apply(this,u),a=!0,n=this,r=u),i}return o}var nb=function(t,n,r,i){var a=r?r.call(i,t,n):void 0;if(a!==void 0)return!!a;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var o=Object.keys(t),u=Object.keys(n);if(o.length!==u.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(n),c=0;c<o.length;c++){var f=o[c];if(!s(f))return!1;var l=t[f],d=n[f];if(a=r?r.call(i,l,d,f):void 0,a===!1||a===void 0&&l!==d)return!1}return!0};const LL=yr(nb);globalThis&&globalThis.__spreadArray;function rb(e){return e}function ib(e){return function(){return e}}var ab=ib(void 0);function RL(e,t,n,r,i,a,o,u,s){switch(arguments.length){case 1:return e;case 2:return t(e);case 3:return n(t(e));case 4:return r(n(t(e)));case 5:return i(r(n(t(e))));case 6:return a(i(r(n(t(e)))));case 7:return o(a(i(r(n(t(e))))));case 8:return u(o(a(i(r(n(t(e)))))));case 9:return s(u(o(a(i(r(n(t(e))))))));default:{for(var c=arguments[0],f=1;f<arguments.length;f++)c=arguments[f](c);return c}}}globalThis&&globalThis.__spreadArray;var ob=function(e){return e._tag==="Some"},ub={_tag:"None"},sb=function(e){return{_tag:"Some",value:e}},xs=ub,yh=sb,kL=function(e){return function(t){return Ua(t)?xs:yh(e(t.value))}},NL=ob,Ua=function(e){return e._tag==="None"},lb=function(e,t){return function(n){return Ua(n)?e():t(n.value)}},gh=lb,ML=gh,cb=function(e){return function(t){return Ua(t)?e():t.value}},DL=cb,fb=function(e){return e==null?xs:yh(e)},$L=function(e){return function(t){return Ua(t)?xs:fb(e(t.value))}},jL=gh(ab,rb);function ur(){return ur=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ur.apply(null,arguments)}var qn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(qn||(qn={}));var Tc=function(e){return e},Cc="beforeunload",db="hashchange",pb="popstate";function BL(e){e===void 0&&(e={});var t=e,n=t.window,r=n===void 0?document.defaultView:n,i=r.history;function a(){var w=Rc(r.location.hash.substr(1)),P=w.pathname,A=P===void 0?"/":P,L=w.search,D=L===void 0?"":L,j=w.hash,I=j===void 0?"":j,C=i.state||{};return[C.idx,Tc({pathname:A,search:D,hash:I,state:C.usr||null,key:C.key||"default"})]}var o=null;function u(){if(o)h.call(o),o=null;else{var w=qn.Pop,P=a(),A=P[0],L=P[1];if(h.length){if(A!=null){var D=f-A;D&&(o={action:w,location:L,retry:function(){O(D*-1)}},O(D))}}else m(w)}}r.addEventListener(pb,u),r.addEventListener(db,function(){var w=a(),P=w[1];go(P)!==go(l)&&u()});var s=qn.Pop,c=a(),f=c[0],l=c[1],d=Lc(),h=Lc();f==null&&(f=0,i.replaceState(ur({},i.state,{idx:f}),""));function v(){var w=document.querySelector("base"),P="";if(w&&w.getAttribute("href")){var A=r.location.href,L=A.indexOf("#");P=L===-1?A:A.slice(0,L)}return P}function p(w){return v()+"#"+(typeof w=="string"?w:go(w))}function _(w,P){return P===void 0&&(P=null),Tc(ur({pathname:l.pathname,hash:"",search:""},typeof w=="string"?Rc(w):w,{state:P,key:hb()}))}function g(w,P){return[{usr:w.state,key:w.key,idx:P},p(w)]}function y(w,P,A){return!h.length||(h.call({action:w,location:P,retry:A}),!1)}function m(w){s=w;var P=a();f=P[0],l=P[1],d.call({action:s,location:l})}function b(w,P){var A=qn.Push,L=_(w,P);function D(){b(w,P)}if(y(A,L,D)){var j=g(L,f+1),I=j[0],C=j[1];try{i.pushState(I,"",C)}catch{r.location.assign(C)}m(A)}}function E(w,P){var A=qn.Replace,L=_(w,P);function D(){E(w,P)}if(y(A,L,D)){var j=g(L,f),I=j[0],C=j[1];i.replaceState(I,"",C),m(A)}}function O(w){i.go(w)}var S={get action(){return s},get location(){return l},createHref:p,push:b,replace:E,go:O,back:function(){O(-1)},forward:function(){O(1)},listen:function(P){return d.push(P)},block:function(P){var A=h.push(P);return h.length===1&&r.addEventListener(Cc,Ic),function(){A(),h.length||r.removeEventListener(Cc,Ic)}}};return S}function Ic(e){e.preventDefault(),e.returnValue=""}function Lc(){var e=[];return{get length(){return e.length},push:function(n){return e.push(n),function(){e=e.filter(function(r){return r!==n})}},call:function(n){e.forEach(function(r){return r&&r(n)})}}}function hb(){return Math.random().toString(36).substr(2,8)}function go(e){var t=e.pathname,n=t===void 0?"/":t,r=e.search,i=r===void 0?"":r,a=e.hash,o=a===void 0?"":a;return i&&i!=="?"&&(n+=i.charAt(0)==="?"?i:"?"+i),o&&o!=="#"&&(n+=o.charAt(0)==="#"?o:"#"+o),n}function Rc(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}var vb={};function bh(e,t){for(var n in t)e[n]=t[n];return e}function _h(e,t,n){var r=/(?:\?([^#]*))?(#.*)?$/,i=e.match(r),a={},o;if(i&&i[1])for(var u=i[1].split("&"),s=0;s<u.length;s++){var c=u[s].split("=");a[decodeURIComponent(c[0])]=decodeURIComponent(c.slice(1).join("="))}e=Tu(e.replace(r,"")),t=Tu(t||"");for(var f=Math.max(e.length,t.length),l=0;l<f;l++)if(t[l]&&t[l].charAt(0)===":"){var d=t[l].replace(/(^:|[+*?]+$)/g,""),h=(t[l].match(/[+*?]+$/)||vb)[0]||"",v=~h.indexOf("+"),p=~h.indexOf("*"),_=e[l]||"";if(!_&&!p&&(h.indexOf("?")<0||v)){o=!1;break}if(a[d]=decodeURIComponent(_),v||p){a[d]=e.slice(l).map(decodeURIComponent).join("/");break}}else if(t[l]!==e[l]){o=!1;break}return n.default!==!0&&o===!1?!1:a}function mb(e,t){return e.rank<t.rank?1:e.rank>t.rank?-1:e.index-t.index}function yb(e,t){return e.index=t,e.rank=_b(e),e.props}function Tu(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")}function gb(e){return e.charAt(0)==":"?1+"*+?".indexOf(e.charAt(e.length-1))||4:5}function bb(e){return Tu(e).map(gb).join("")}function _b(e){return e.props.default?0:bb(e.props.path)}var et=null,Pn=[],Cu=[],wb={};function Eb(e,t){t===void 0&&(t="push"),et&&et[t]?et[t](e):typeof history<"u"&&history[t+"State"]&&history[t+"State"](null,null,e)}function Hs(){var e;return et&&et.location?e=et.location:et&&et.getCurrentLocation?e=et.getCurrentLocation():e=typeof location<"u"?location:wb,""+(e.pathname||"")+(e.search||"")}function wh(e,t){return t===void 0&&(t=!1),typeof e!="string"&&e.url&&(t=e.replace,e=e.url),Sb(e)&&Eb(e,t?"replace":"push"),Eh(e)}function Sb(e){for(var t=Pn.length;t--;)if(Pn[t].canRoute(e))return!0;return!1}function Eh(e){for(var t=!1,n=0;n<Pn.length;n++)Pn[n].routeTo(e)===!0&&(t=!0);for(var r=Cu.length;r--;)Cu[r](e);return t}function Sh(e){if(!(!e||!e.getAttribute)){var t=e.getAttribute("href"),n=e.getAttribute("target");if(!(!t||!t.match(/^\//g)||n&&!n.match(/^_?self$/i)))return wh(t)}}function Ob(e){if(!(e.ctrlKey||e.metaKey||e.altKey||e.shiftKey||e.button!==0))return Sh(e.currentTarget||e.target||this),Oh(e)}function Oh(e){return e&&(e.stopImmediatePropagation&&e.stopImmediatePropagation(),e.stopPropagation&&e.stopPropagation(),e.preventDefault()),!1}function Pb(e){if(!(e.ctrlKey||e.metaKey||e.altKey||e.shiftKey||e.button!==0)){var t=e.target;do if(String(t.nodeName).toUpperCase()==="A"&&t.getAttribute("href")){if(t.hasAttribute("native"))return;if(Sh(t))return Oh(e)}while(t=t.parentNode)}}var kc=!1;function Ab(){kc||(typeof addEventListener=="function"&&(et||addEventListener("popstate",function(){Eh(Hs())}),addEventListener("click",Pb)),kc=!0)}var ln=function(e){function t(n){e.call(this,n),n.history&&(et=n.history),this.state={url:n.url||Hs()},Ab()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.shouldComponentUpdate=function(r){return r.static!==!0?!0:r.url!==this.props.url||r.onChange!==this.props.onChange},t.prototype.canRoute=function(r){var i=mt(this.props.children);return this.getMatchingChildren(i,r,!1).length>0},t.prototype.routeTo=function(r){this.setState({url:r});var i=this.canRoute(r);return this.updating||this.forceUpdate(),i},t.prototype.componentWillMount=function(){Pn.push(this),this.updating=!0},t.prototype.componentDidMount=function(){var r=this;et&&(this.unlisten=et.listen(function(i){r.routeTo(""+(i.pathname||"")+(i.search||""))})),this.updating=!1},t.prototype.componentWillUnmount=function(){typeof this.unlisten=="function"&&this.unlisten(),Pn.splice(Pn.indexOf(this),1)},t.prototype.componentWillUpdate=function(){this.updating=!0},t.prototype.componentDidUpdate=function(){this.updating=!1},t.prototype.getMatchingChildren=function(r,i,a){return r.filter(yb).sort(mb).map(function(o){var u=_h(i,o.props.path,o.props);if(u){if(a!==!1){var s={url:i,matches:u};return bh(s,u),delete s.ref,delete s.key,Up(o,s)}return o}}).filter(Boolean)},t.prototype.render=function(r,i){var a=r.children,o=r.onChange,u=i.url,s=this.getMatchingChildren(mt(a),u,!0),c=s[0]||null,f=this.previousUrl;return u!==f&&(this.previousUrl=u,typeof o=="function"&&o({router:this,url:u,previous:f,active:s,current:c})),c},t}(nt),Tb=function(e){return F("a",bh({onClick:Ob},e))},Cb=function(e){return F(e.component,e)};ln.subscribers=Cu;ln.getCurrentUrl=Hs;ln.route=wh;ln.Router=ln;ln.Route=Cb;ln.Link=Tb;ln.exec=_h;const Ib="application/json",Ph="Content-Type",Bn=Symbol(),Ah=Symbol();function Nc(e={}){var t;return(t=Object.entries(e).find(([n])=>n.toLowerCase()===Ph.toLowerCase()))===null||t===void 0?void 0:t[1]}function Mc(e){return/^application\/.*json.*/.test(e)}const An=function(e,t,n=!1){return Object.entries(t).reduce((r,[i,a])=>{const o=e[i];return Array.isArray(o)&&Array.isArray(a)?r[i]=n?[...o,...a]:a:typeof o=="object"&&typeof a=="object"?r[i]=An(o,a,n):r[i]=a,r},{...e})},sr={options:{},errorType:"text",polyfills:{},polyfill(e,t=!0,n=!1,...r){const i=this.polyfills[e]||(typeof self<"u"?self[e]:null)||(typeof global<"u"?global[e]:null);if(t&&!i)throw new Error(e+" is not defined");return n&&i?new i(...r):i}};function Lb(e,t=!1){sr.options=t?e:An(sr.options,e)}function Rb(e,t=!1){sr.polyfills=t?e:An(sr.polyfills,e)}function kb(e){sr.errorType=e}const Nb=e=>t=>e.reduceRight((n,r)=>r(n),t)||t;class Th extends Error{}const Mb=e=>{const t=Object.create(null);e=e._addons.reduce((m,b)=>b.beforeRequest&&b.beforeRequest(m,e._options,t)||m,e);const{_url:n,_options:r,_config:i,_catchers:a,_resolvers:o,_middlewares:u,_addons:s}=e,c=new Map(a),f=An(i.options,r);let l=n;const d=Nb(u)((m,b)=>(l=m,i.polyfill("fetch")(m,b)))(n,f),h=new Error,v=d.catch(m=>{throw{[Bn]:m}}).then(m=>{if(!m.ok){const b=new Th;if(b.cause=h,b.stack=b.stack+`
|
|
4
|
+
CAUSE: `+h.stack,b.response=m,b.url=l,m.type==="opaque")throw b;return m.text().then(E=>{var O;if(b.message=E,i.errorType==="json"||((O=m.headers.get("Content-Type"))===null||O===void 0?void 0:O.split(";")[0])==="application/json")try{b.json=JSON.parse(E)}catch{}throw b.text=E,b.status=m.status,b})}return m}),p=m=>m.catch(b=>{const E=b.hasOwnProperty(Bn),O=E?b[Bn]:b,S=(O==null?void 0:O.status)&&c.get(O.status)||c.get(O==null?void 0:O.name)||E&&c.has(Bn)&&c.get(Bn);if(S)return S(O,e);const w=c.get(Ah);if(w)return w(O,e);throw O}),_=m=>b=>p(m?v.then(E=>E&&E[m]()).then(E=>b?b(E):E):v.then(E=>b?b(E):E)),g={_wretchReq:e,_fetchReq:d,_sharedState:t,res:_(null),json:_("json"),blob:_("blob"),formData:_("formData"),arrayBuffer:_("arrayBuffer"),text:_("text"),error(m,b){return c.set(m,b),this},badRequest(m){return this.error(400,m)},unauthorized(m){return this.error(401,m)},forbidden(m){return this.error(403,m)},notFound(m){return this.error(404,m)},timeout(m){return this.error(408,m)},internalError(m){return this.error(500,m)},fetchError(m){return this.error(Bn,m)}},y=s.reduce((m,b)=>({...m,...typeof b.resolver=="function"?b.resolver(m):b.resolver}),g);return o.reduce((m,b)=>b(m,e),y)},Db={_url:"",_options:{},_config:sr,_catchers:new Map,_resolvers:[],_deferred:[],_middlewares:[],_addons:[],addon(e){return{...this,_addons:[...this._addons,e],...e.wretch}},errorType(e){return{...this,_config:{...this._config,errorType:e}}},polyfills(e,t=!1){return{...this,_config:{...this._config,polyfills:t?e:An(this._config.polyfills,e)}}},url(e,t=!1){if(t)return{...this,_url:e};const n=this._url.split("?");return{...this,_url:n.length>1?n[0]+e+"?"+n[1]:this._url+e}},options(e,t=!1){return{...this,_options:t?e:An(this._options,e)}},headers(e){const t=e?Array.isArray(e)?Object.fromEntries(e):"entries"in e?Object.fromEntries(e.entries()):e:{};return{...this,_options:An(this._options,{headers:t})}},accept(e){return this.headers({Accept:e})},content(e){return this.headers({[Ph]:e})},auth(e){return this.headers({Authorization:e})},catcher(e,t){const n=new Map(this._catchers);return n.set(e,t),{...this,_catchers:n}},catcherFallback(e){return this.catcher(Ah,e)},resolve(e,t=!1){return{...this,_resolvers:t?[e]:[...this._resolvers,e]}},defer(e,t=!1){return{...this,_deferred:t?[e]:[...this._deferred,e]}},middlewares(e,t=!1){return{...this,_middlewares:t?e:[...this._middlewares,...e]}},fetch(e=this._options.method,t="",n=null){let r=this.url(t).options({method:e});const i=Nc(r._options.headers),a=this._config.polyfill("FormData",!1),o=typeof n=="object"&&!(a&&n instanceof a)&&(!r._options.headers||!i||Mc(i));return r=n?o?r.json(n,i):r.body(n):r,Mb(r._deferred.reduce((u,s)=>s(u,u._url,u._options),r))},get(e=""){return this.fetch("GET",e)},delete(e=""){return this.fetch("DELETE",e)},put(e,t=""){return this.fetch("PUT",t,e)},post(e,t=""){return this.fetch("POST",t,e)},patch(e,t=""){return this.fetch("PATCH",t,e)},head(e=""){return this.fetch("HEAD",e)},opts(e=""){return this.fetch("OPTIONS",e)},body(e){return{...this,_options:{...this._options,body:e}}},json(e,t){const n=Nc(this._options.headers);return this.content(t||Mc(n)&&n||Ib).body(JSON.stringify(e))}};function lr(e="",t={}){return{...Db,_url:e,_options:t}}lr.default=lr;lr.options=Lb;lr.errorType=kb;lr.polyfills=Rb;lr.WretchError=Th;function Dc(e){return typeof e<"u"?e:""}const $b=(e,t,n,r,i)=>{let a;if(typeof t=="string")a=t;else{const u=i.polyfill("URLSearchParams",!0,!0);for(const s in t){const c=t[s];if(!(r&&c==null))if(t[s]instanceof Array)for(const f of c)u.append(s,Dc(f));else u.append(s,Dc(c))}a=u.toString()}const o=e.split("?");return a?n||o.length<2?o[0]+"?"+a:e+"&"+a:n?o[0]:e},jb={wretch:{query(e,t=!1,n=!1){return{...this,_url:$b(this._url,e,t,n,this._config)}}}},FL=jb;var Bb=0;function UL(e,t,n,r,i,a){var o,u,s={};for(u in t)u=="ref"?o=t[u]:s[u]=t[u];var c={type:e,props:s,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--Bb,__source:i,__self:a};if(typeof e=="function"&&(o=e.defaultProps))for(u in o)s[u]===void 0&&(s[u]=o[u]);return G.vnode&&G.vnode(c),c}var ct={};(function(e){var t=J&&J.__spreadArray||function(S,w,P){if(P||arguments.length===2)for(var A=0,L=w.length,D;A<L;A++)(D||!(A in w))&&(D||(D=Array.prototype.slice.call(w,0,A)),D[A]=w[A]);return S.concat(D||Array.prototype.slice.call(w))};Object.defineProperty(e,"__esModule",{value:!0}),e.dual=e.getEndomorphismMonoid=e.not=e.SK=e.hole=e.pipe=e.untupled=e.tupled=e.absurd=e.decrement=e.increment=e.tuple=e.flow=e.flip=e.constVoid=e.constUndefined=e.constNull=e.constFalse=e.constTrue=e.constant=e.unsafeCoerce=e.identity=e.apply=e.getRing=e.getSemiring=e.getMonoid=e.getSemigroup=e.getBooleanAlgebra=void 0;var n=function(S){return function(){return{meet:function(w,P){return function(A){return S.meet(w(A),P(A))}},join:function(w,P){return function(A){return S.join(w(A),P(A))}},zero:function(){return S.zero},one:function(){return S.one},implies:function(w,P){return function(A){return S.implies(w(A),P(A))}},not:function(w){return function(P){return S.not(w(P))}}}}};e.getBooleanAlgebra=n;var r=function(S){return function(){return{concat:function(w,P){return function(A){return S.concat(w(A),P(A))}}}}};e.getSemigroup=r;var i=function(S){var w=(0,e.getSemigroup)(S);return function(){return{concat:w().concat,empty:function(){return S.empty}}}};e.getMonoid=i;var a=function(S){return{add:function(w,P){return function(A){return S.add(w(A),P(A))}},zero:function(){return S.zero},mul:function(w,P){return function(A){return S.mul(w(A),P(A))}},one:function(){return S.one}}};e.getSemiring=a;var o=function(S){var w=(0,e.getSemiring)(S);return{add:w.add,mul:w.mul,one:w.one,zero:w.zero,sub:function(P,A){return function(L){return S.sub(P(L),A(L))}}}};e.getRing=o;var u=function(S){return function(w){return w(S)}};e.apply=u;function s(S){return S}e.identity=s,e.unsafeCoerce=s;function c(S){return function(){return S}}e.constant=c,e.constTrue=c(!0),e.constFalse=c(!1),e.constNull=c(null),e.constUndefined=c(void 0),e.constVoid=e.constUndefined;function f(S){return function(){for(var w=[],P=0;P<arguments.length;P++)w[P]=arguments[P];return w.length>1?S(w[1],w[0]):function(A){return S(A)(w[0])}}}e.flip=f;function l(S,w,P,A,L,D,j,I,C){switch(arguments.length){case 1:return S;case 2:return function(){return w(S.apply(this,arguments))};case 3:return function(){return P(w(S.apply(this,arguments)))};case 4:return function(){return A(P(w(S.apply(this,arguments))))};case 5:return function(){return L(A(P(w(S.apply(this,arguments)))))};case 6:return function(){return D(L(A(P(w(S.apply(this,arguments))))))};case 7:return function(){return j(D(L(A(P(w(S.apply(this,arguments)))))))};case 8:return function(){return I(j(D(L(A(P(w(S.apply(this,arguments))))))))};case 9:return function(){return C(I(j(D(L(A(P(w(S.apply(this,arguments)))))))))}}}e.flow=l;function d(){for(var S=[],w=0;w<arguments.length;w++)S[w]=arguments[w];return S}e.tuple=d;function h(S){return S+1}e.increment=h;function v(S){return S-1}e.decrement=v;function p(S){throw new Error("Called `absurd` function which should be uncallable")}e.absurd=p;function _(S){return function(w){return S.apply(void 0,w)}}e.tupled=_;function g(S){return function(){for(var w=[],P=0;P<arguments.length;P++)w[P]=arguments[P];return S(w)}}e.untupled=g;function y(S,w,P,A,L,D,j,I,C){switch(arguments.length){case 1:return S;case 2:return w(S);case 3:return P(w(S));case 4:return A(P(w(S)));case 5:return L(A(P(w(S))));case 6:return D(L(A(P(w(S)))));case 7:return j(D(L(A(P(w(S))))));case 8:return I(j(D(L(A(P(w(S)))))));case 9:return C(I(j(D(L(A(P(w(S))))))));default:{for(var R=arguments[0],$=1;$<arguments.length;$++)R=arguments[$](R);return R}}}e.pipe=y,e.hole=p;var m=function(S,w){return w};e.SK=m;function b(S){return function(w){return!S(w)}}e.not=b;var E=function(){return{concat:function(S,w){return l(S,w)},empty:s}};e.getEndomorphismMonoid=E;var O=function(S,w){var P=typeof S=="number"?function(A){return A.length>=S}:S;return function(){var A=Array.from(arguments);return P(arguments)?w.apply(this,A):function(L){return w.apply(void 0,t([L],A,!1))}}};e.dual=O})(ct);function pt(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map(function(i){return"'"+i+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function cr(e){return!!e&&!!e[rt]}function Ln(e){var t;return!!e&&(function(n){if(!n||typeof n!="object")return!1;var r=Object.getPrototypeOf(n);if(r===null)return!0;var i=Object.hasOwnProperty.call(r,"constructor")&&r.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===qb}(e)||Array.isArray(e)||!!e[Kc]||!!(!((t=e.constructor)===null||t===void 0)&&t[Kc])||Ks(e)||Ws(e))}function Jr(e,t,n){n===void 0&&(n=!1),wr(e)===0?(n?Object.keys:Ys)(e).forEach(function(r){n&&typeof r=="symbol"||t(r,e[r],e)}):e.forEach(function(r,i){return t(i,r,e)})}function wr(e){var t=e[rt];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Ks(e)?2:Ws(e)?3:0}function Iu(e,t){return wr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Fb(e,t){return wr(e)===2?e.get(t):e[t]}function Ch(e,t,n){var r=wr(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function Ub(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Ks(e){return Wb&&e instanceof Map}function Ws(e){return zb&&e instanceof Set}function yn(e){return e.o||e.t}function zs(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Gb(e);delete t[rt];for(var n=Ys(t),r=0;r<n.length;r++){var i=n[r],a=t[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function qs(e,t){return t===void 0&&(t=!1),Gs(e)||cr(e)||!Ln(e)||(wr(e)>1&&(e.set=e.add=e.clear=e.delete=xb),Object.freeze(e),t&&Jr(e,function(n,r){return qs(r,!0)},!0)),e}function xb(){pt(2)}function Gs(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Ct(e){var t=Vb[e];return t||pt(18,e),t}function $c(){return Zr}function bo(e,t){t&&(Ct("Patches"),e.u=[],e.s=[],e.v=t)}function ha(e){Lu(e),e.p.forEach(Hb),e.p=null}function Lu(e){e===Zr&&(Zr=e.l)}function jc(e){return Zr={p:[],l:Zr,h:e,m:!0,_:0}}function Hb(e){var t=e[rt];t.i===0||t.i===1?t.j():t.g=!0}function _o(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.O||Ct("ES5").S(t,e,r),r?(n[rt].P&&(ha(t),pt(4)),Ln(e)&&(e=va(t,e),t.l||ma(t,e)),t.u&&Ct("Patches").M(n[rt].t,e,t.u,t.s)):e=va(t,n,[]),ha(t),t.u&&t.v(t.u,t.s),e!==Ih?e:void 0}function va(e,t,n){if(Gs(t))return t;var r=t[rt];if(!r)return Jr(t,function(u,s){return Bc(e,r,t,u,s,n)},!0),t;if(r.A!==e)return t;if(!r.P)return ma(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=r.i===4||r.i===5?r.o=zs(r.k):r.o,a=i,o=!1;r.i===3&&(a=new Set(i),i.clear(),o=!0),Jr(a,function(u,s){return Bc(e,r,i,u,s,n,o)}),ma(e,i,!1),n&&e.u&&Ct("Patches").N(r,n,e.u,e.s)}return r.o}function Bc(e,t,n,r,i,a,o){if(cr(i)){var u=va(e,i,a&&t&&t.i!==3&&!Iu(t.R,r)?a.concat(r):void 0);if(Ch(n,r,u),!cr(u))return;e.m=!1}else o&&n.add(i);if(Ln(i)&&!Gs(i)){if(!e.h.D&&e._<1)return;va(e,i),t&&t.A.l||ma(e,i)}}function ma(e,t,n){n===void 0&&(n=!1),!e.l&&e.h.D&&e.m&&qs(t,n)}function wo(e,t){var n=e[rt];return(n?yn(n):e)[t]}function Fc(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function Ru(e){e.P||(e.P=!0,e.l&&Ru(e.l))}function Eo(e){e.o||(e.o=zs(e.t))}function ku(e,t,n){var r=Ks(t)?Ct("MapSet").F(t,n):Ws(t)?Ct("MapSet").T(t,n):e.O?function(i,a){var o=Array.isArray(i),u={i:o?1:0,A:a?a.A:$c(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},s=u,c=Nu;o&&(s=[u],c=jr);var f=Proxy.revocable(s,c),l=f.revoke,d=f.proxy;return u.k=d,u.j=l,d}(t,n):Ct("ES5").J(t,n);return(n?n.A:$c()).p.push(r),r}function Kb(e){return cr(e)||pt(22,e),function t(n){if(!Ln(n))return n;var r,i=n[rt],a=wr(n);if(i){if(!i.P&&(i.i<4||!Ct("ES5").K(i)))return i.t;i.I=!0,r=Uc(n,a),i.I=!1}else r=Uc(n,a);return Jr(r,function(o,u){i&&Fb(i.t,o)===u||Ch(r,o,t(u))}),a===3?new Set(r):r}(e)}function Uc(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return zs(e)}var xc,Zr,Vs=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Wb=typeof Map<"u",zb=typeof Set<"u",Hc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ih=Vs?Symbol.for("immer-nothing"):((xc={})["immer-nothing"]=!0,xc),Kc=Vs?Symbol.for("immer-draftable"):"__$immer_draftable",rt=Vs?Symbol.for("immer-state"):"__$immer_state",qb=""+Object.prototype.constructor,Ys=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Gb=Object.getOwnPropertyDescriptors||function(e){var t={};return Ys(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t},Vb={},Nu={get:function(e,t){if(t===rt)return e;var n=yn(e);if(!Iu(n,t))return function(i,a,o){var u,s=Fc(a,o);return s?"value"in s?s.value:(u=s.get)===null||u===void 0?void 0:u.call(i.k):void 0}(e,n,t);var r=n[t];return e.I||!Ln(r)?r:r===wo(e.t,t)?(Eo(e),e.o[t]=ku(e.A.h,r,e)):r},has:function(e,t){return t in yn(e)},ownKeys:function(e){return Reflect.ownKeys(yn(e))},set:function(e,t,n){var r=Fc(yn(e),t);if(r!=null&&r.set)return r.set.call(e.k,n),!0;if(!e.P){var i=wo(yn(e),t),a=i==null?void 0:i[rt];if(a&&a.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(Ub(n,i)&&(n!==void 0||Iu(e.t,t)))return!0;Eo(e),Ru(e)}return e.o[t]===n&&(n!==void 0||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return wo(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Eo(e),Ru(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=yn(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty:function(){pt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){pt(12)}},jr={};Jr(Nu,function(e,t){jr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),jr.deleteProperty=function(e,t){return jr.set.call(this,e,t,void 0)},jr.set=function(e,t,n){return Nu.set.call(this,e[0],t,n,e[0])};var Yb=function(){function e(n){var r=this;this.O=Hc,this.D=!0,this.produce=function(i,a,o){if(typeof i=="function"&&typeof a!="function"){var u=a;a=i;var s=r;return function(p){var _=this;p===void 0&&(p=u);for(var g=arguments.length,y=Array(g>1?g-1:0),m=1;m<g;m++)y[m-1]=arguments[m];return s.produce(p,function(b){var E;return(E=a).call.apply(E,[_,b].concat(y))})}}var c;if(typeof a!="function"&&pt(6),o!==void 0&&typeof o!="function"&&pt(7),Ln(i)){var f=jc(r),l=ku(r,i,void 0),d=!0;try{c=a(l),d=!1}finally{d?ha(f):Lu(f)}return typeof Promise<"u"&&c instanceof Promise?c.then(function(p){return bo(f,o),_o(p,f)},function(p){throw ha(f),p}):(bo(f,o),_o(c,f))}if(!i||typeof i!="object"){if((c=a(i))===void 0&&(c=i),c===Ih&&(c=void 0),r.D&&qs(c,!0),o){var h=[],v=[];Ct("Patches").M(i,c,h,v),o(h,v)}return c}pt(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(c){for(var f=arguments.length,l=Array(f>1?f-1:0),d=1;d<f;d++)l[d-1]=arguments[d];return r.produceWithPatches(c,function(h){return i.apply(void 0,[h].concat(l))})};var o,u,s=r.produce(i,a,function(c,f){o=c,u=f});return typeof Promise<"u"&&s instanceof Promise?s.then(function(c){return[c,o,u]}):[s,o,u]},typeof(n==null?void 0:n.useProxies)=="boolean"&&this.setUseProxies(n.useProxies),typeof(n==null?void 0:n.autoFreeze)=="boolean"&&this.setAutoFreeze(n.autoFreeze)}var t=e.prototype;return t.createDraft=function(n){Ln(n)||pt(8),cr(n)&&(n=Kb(n));var r=jc(this),i=ku(this,n,void 0);return i[rt].C=!0,Lu(r),i},t.finishDraft=function(n,r){var i=n&&n[rt],a=i.A;return bo(a,r),_o(void 0,a)},t.setAutoFreeze=function(n){this.D=n},t.setUseProxies=function(n){n&&!Hc&&pt(20),this.O=n},t.applyPatches=function(n,r){var i;for(i=r.length-1;i>=0;i--){var a=r[i];if(a.path.length===0&&a.op==="replace"){n=a.value;break}}i>-1&&(r=r.slice(i+1));var o=Ct("Patches").$;return cr(n)?o(n,r):this.produce(n,function(u){return o(u,r)})},e}(),it=new Yb,xL=it.produce;it.produceWithPatches.bind(it);it.setAutoFreeze.bind(it);it.setUseProxies.bind(it);it.applyPatches.bind(it);it.createDraft.bind(it);it.finishDraft.bind(it);var Xb={},fr={},He={},Er={};(function(e){var t=J&&J.__spreadArray||function(S,w,P){if(P||arguments.length===2)for(var A=0,L=w.length,D;A<L;A++)(D||!(A in w))&&(D||(D=Array.prototype.slice.call(w,0,A)),D[A]=w[A]);return S.concat(D||Array.prototype.slice.call(w))};Object.defineProperty(e,"__esModule",{value:!0}),e.flatMapReader=e.flatMapTask=e.flatMapIO=e.flatMapEither=e.flatMapOption=e.flatMapNullable=e.liftOption=e.liftNullable=e.fromReadonlyNonEmptyArray=e.has=e.emptyRecord=e.emptyReadonlyArray=e.tail=e.head=e.isNonEmpty=e.singleton=e.right=e.left=e.isRight=e.isLeft=e.some=e.none=e.isSome=e.isNone=void 0;var n=ct,r=function(S){return S._tag==="None"};e.isNone=r;var i=function(S){return S._tag==="Some"};e.isSome=i,e.none={_tag:"None"};var a=function(S){return{_tag:"Some",value:S}};e.some=a;var o=function(S){return S._tag==="Left"};e.isLeft=o;var u=function(S){return S._tag==="Right"};e.isRight=u;var s=function(S){return{_tag:"Left",left:S}};e.left=s;var c=function(S){return{_tag:"Right",right:S}};e.right=c;var f=function(S){return[S]};e.singleton=f;var l=function(S){return S.length>0};e.isNonEmpty=l;var d=function(S){return S[0]};e.head=d;var h=function(S){return S.slice(1)};e.tail=h,e.emptyReadonlyArray=[],e.emptyRecord={},e.has=Object.prototype.hasOwnProperty;var v=function(S){return t([S[0]],S.slice(1),!0)};e.fromReadonlyNonEmptyArray=v;var p=function(S){return function(w,P){return function(){for(var A=[],L=0;L<arguments.length;L++)A[L]=arguments[L];var D=w.apply(void 0,A);return S.fromEither(D==null?(0,e.left)(P.apply(void 0,A)):(0,e.right)(D))}}};e.liftNullable=p;var _=function(S){return function(w,P){return function(){for(var A=[],L=0;L<arguments.length;L++)A[L]=arguments[L];var D=w.apply(void 0,A);return S.fromEither((0,e.isNone)(D)?(0,e.left)(P.apply(void 0,A)):(0,e.right)(D.value))}}};e.liftOption=_;var g=function(S,w){return(0,n.dual)(3,function(P,A,L){return w.flatMap(P,(0,e.liftNullable)(S)(A,L))})};e.flatMapNullable=g;var y=function(S,w){return(0,n.dual)(3,function(P,A,L){return w.flatMap(P,(0,e.liftOption)(S)(A,L))})};e.flatMapOption=y;var m=function(S,w){return(0,n.dual)(2,function(P,A){return w.flatMap(P,function(L){return S.fromEither(A(L))})})};e.flatMapEither=m;var b=function(S,w){return(0,n.dual)(2,function(P,A){return w.flatMap(P,function(L){return S.fromIO(A(L))})})};e.flatMapIO=b;var E=function(S,w){return(0,n.dual)(2,function(P,A){return w.flatMap(P,function(L){return S.fromTask(A(L))})})};e.flatMapTask=E;var O=function(S,w){return(0,n.dual)(2,function(P,A){return w.flatMap(P,function(L){return S.fromReader(A(L))})})};e.flatMapReader=O})(Er);var Qb=J&&J.__createBinding||(Object.create?function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]}),Jb=J&&J.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Zb=J&&J.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&Qb(t,e,n);return Jb(t,e),t};Object.defineProperty(He,"__esModule",{value:!0});He.sequenceS=He.sequenceT=He.getApplySemigroup=He.apS=He.apSecond=He.apFirst=He.ap=void 0;var e1=ct,t1=Zb(Er);function n1(e,t){return function(n){return function(r){return e.ap(e.map(r,function(i){return function(a){return t.ap(i,a)}}),n)}}}He.ap=n1;function r1(e){return function(t){return function(n){return e.ap(e.map(n,function(r){return function(){return r}}),t)}}}He.apFirst=r1;function i1(e){return function(t){return function(n){return e.ap(e.map(n,function(){return function(r){return r}}),t)}}}He.apSecond=i1;function a1(e){return function(t,n){return function(r){return e.ap(e.map(r,function(i){return function(a){var o;return Object.assign({},i,(o={},o[t]=a,o))}}),n)}}}He.apS=a1;function o1(e){return function(t){return{concat:function(n,r){return e.ap(e.map(n,function(i){return function(a){return t.concat(i,a)}}),r)}}}}He.getApplySemigroup=o1;function Xs(e,t,n){return function(r){for(var i=Array(n.length+1),a=0;a<n.length;a++)i[a]=n[a];return i[n.length]=r,t===0?e.apply(null,i):Xs(e,t-1,i)}}var So={1:function(e){return[e]},2:function(e){return function(t){return[e,t]}},3:function(e){return function(t){return function(n){return[e,t,n]}}},4:function(e){return function(t){return function(n){return function(r){return[e,t,n,r]}}}},5:function(e){return function(t){return function(n){return function(r){return function(i){return[e,t,n,r,i]}}}}}};function u1(e){return t1.has.call(So,e)||(So[e]=Xs(e1.tuple,e-1,[])),So[e]}function s1(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=t.length,i=u1(r),a=e.map(t[0],i),o=1;o<r;o++)a=e.ap(a,t[o]);return a}}He.sequenceT=s1;function l1(e){var t=e.length;switch(t){case 1:return function(n){var r;return r={},r[e[0]]=n,r};case 2:return function(n){return function(r){var i;return i={},i[e[0]]=n,i[e[1]]=r,i}};case 3:return function(n){return function(r){return function(i){var a;return a={},a[e[0]]=n,a[e[1]]=r,a[e[2]]=i,a}}};case 4:return function(n){return function(r){return function(i){return function(a){var o;return o={},o[e[0]]=n,o[e[1]]=r,o[e[2]]=i,o[e[3]]=a,o}}}};case 5:return function(n){return function(r){return function(i){return function(a){return function(o){var u;return u={},u[e[0]]=n,u[e[1]]=r,u[e[2]]=i,u[e[3]]=a,u[e[4]]=o,u}}}}};default:return Xs(function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];for(var i={},a=0;a<t;a++)i[e[a]]=n[a];return i},t-1,[])}}function c1(e){return function(t){for(var n=Object.keys(t),r=n.length,i=l1(n),a=e.map(t[n[0]],i),o=1;o<r;o++)a=e.ap(a,t[n[o]]);return a}}He.sequenceS=c1;var Ue={};Object.defineProperty(Ue,"__esModule",{value:!0});Ue.asUnit=Ue.as=Ue.getFunctorComposition=Ue.let=Ue.bindTo=Ue.flap=Ue.map=void 0;var f1=ct;function Lh(e,t){return function(n){return function(r){return e.map(r,function(i){return t.map(i,n)})}}}Ue.map=Lh;function d1(e){return function(t){return function(n){return e.map(n,function(r){return r(t)})}}}Ue.flap=d1;function p1(e){return function(t){return function(n){return e.map(n,function(r){var i;return i={},i[t]=r,i})}}}Ue.bindTo=p1;function h1(e){return function(t,n){return function(r){return e.map(r,function(i){var a;return Object.assign({},i,(a={},a[t]=n(i),a))})}}}Ue.let=h1;function v1(e,t){var n=Lh(e,t);return{map:function(r,i){return(0,f1.pipe)(r,n(i))}}}Ue.getFunctorComposition=v1;function Rh(e){return function(t,n){return e.map(t,function(){return n})}}Ue.as=Rh;function m1(e){var t=Rh(e);return function(n){return t(n,void 0)}}Ue.asUnit=m1;Object.defineProperty(fr,"__esModule",{value:!0});fr.getApplicativeComposition=fr.getApplicativeMonoid=void 0;var kh=He,y1=ct,g1=Ue;function b1(e){var t=(0,kh.getApplySemigroup)(e);return function(n){return{concat:t(n).concat,empty:e.of(n.empty)}}}fr.getApplicativeMonoid=b1;function _1(e,t){var n=(0,g1.getFunctorComposition)(e,t).map,r=(0,kh.ap)(e,t);return{map:n,of:function(i){return e.of(t.of(i))},ap:function(i,a){return(0,y1.pipe)(i,r(a))}}}fr.getApplicativeComposition=_1;var jt={};Object.defineProperty(jt,"__esModule",{value:!0});jt.bind=jt.tap=jt.chainFirst=void 0;function w1(e){var t=Nh(e);return function(n){return function(r){return t(r,n)}}}jt.chainFirst=w1;function Nh(e){return function(t,n){return e.chain(t,function(r){return e.map(n(r),function(){return r})})}}jt.tap=Nh;function E1(e){return function(t,n){return function(r){return e.chain(r,function(i){return e.map(n(i),function(a){var o;return Object.assign({},i,(o={},o[t]=a,o))})})}}}jt.bind=E1;var Ie={},S1=J&&J.__createBinding||(Object.create?function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]}),O1=J&&J.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),P1=J&&J.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&S1(t,e,n);return O1(t,e),t};Object.defineProperty(Ie,"__esModule",{value:!0});Ie.tapEither=Ie.filterOrElse=Ie.chainFirstEitherK=Ie.chainEitherK=Ie.fromEitherK=Ie.chainOptionK=Ie.fromOptionK=Ie.fromPredicate=Ie.fromOption=void 0;var A1=jt,Mh=ct,Tn=P1(Er);function Dh(e){return function(t){return function(n){return e.fromEither(Tn.isNone(n)?Tn.left(t()):Tn.right(n.value))}}}Ie.fromOption=Dh;function T1(e){return function(t,n){return function(r){return e.fromEither(t(r)?Tn.right(r):Tn.left(n(r)))}}}Ie.fromPredicate=T1;function $h(e){var t=Dh(e);return function(n){var r=t(n);return function(i){return(0,Mh.flow)(i,r)}}}Ie.fromOptionK=$h;function C1(e,t){var n=$h(e);return function(r){var i=n(r);return function(a){return function(o){return t.chain(o,i(a))}}}}Ie.chainOptionK=C1;function Qs(e){return function(t){return(0,Mh.flow)(t,e.fromEither)}}Ie.fromEitherK=Qs;function I1(e,t){var n=Qs(e);return function(r){return function(i){return t.chain(i,n(r))}}}Ie.chainEitherK=I1;function L1(e,t){var n=jh(e,t);return function(r){return function(i){return n(i,r)}}}Ie.chainFirstEitherK=L1;function R1(e,t){return function(n,r){return function(i){return t.chain(i,function(a){return e.fromEither(n(a)?Tn.right(a):Tn.left(r(a)))})}}}Ie.filterOrElse=R1;function jh(e,t){var n=Qs(e),r=(0,A1.tap)(t);return function(i,a){return r(i,n(a))}}Ie.tapEither=jh;var Bh={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.and=e.or=e.not=e.Contravariant=e.getMonoidAll=e.getSemigroupAll=e.getMonoidAny=e.getSemigroupAny=e.URI=e.contramap=void 0;var t=ct,n=function(l,d){return(0,t.pipe)(l,(0,e.contramap)(d))},r=function(l){return function(d){return(0,t.flow)(l,d)}};e.contramap=r,e.URI="Predicate";var i=function(){return{concat:function(l,d){return(0,t.pipe)(l,(0,e.or)(d))}}};e.getSemigroupAny=i;var a=function(){return{concat:(0,e.getSemigroupAny)().concat,empty:t.constFalse}};e.getMonoidAny=a;var o=function(){return{concat:function(l,d){return(0,t.pipe)(l,(0,e.and)(d))}}};e.getSemigroupAll=o;var u=function(){return{concat:(0,e.getSemigroupAll)().concat,empty:t.constTrue}};e.getMonoidAll=u,e.Contravariant={URI:e.URI,contramap:n};var s=function(l){return function(d){return!l(d)}};e.not=s;var c=function(l){return function(d){return function(h){return d(h)||l(h)}}};e.or=c;var f=function(l){return function(d){return function(h){return d(h)&&l(h)}}};e.and=f})(Bh);var Fh={},st={};Object.defineProperty(st,"__esModule",{value:!0});st.concatAll=st.endo=st.filterSecond=st.filterFirst=st.reverse=void 0;var k1=function(e){return{concat:function(t,n){return e.concat(n,t)}}};st.reverse=k1;var N1=function(e){return function(t){return{concat:function(n,r){return e(n)?t.concat(n,r):r}}}};st.filterFirst=N1;var M1=function(e){return function(t){return{concat:function(n,r){return e(r)?t.concat(n,r):n}}}};st.filterSecond=M1;var D1=function(e){return function(t){return{concat:function(n,r){return t.concat(e(n),e(r))}}}};st.endo=D1;var $1=function(e){return function(t){return function(n){return n.reduce(function(r,i){return e.concat(r,i)},t)}}};st.concatAll=$1;var Uh={},xh={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.eqDate=e.eqNumber=e.eqString=e.eqBoolean=e.eq=e.strictEqual=e.getStructEq=e.getTupleEq=e.Contravariant=e.getMonoid=e.getSemigroup=e.eqStrict=e.URI=e.contramap=e.tuple=e.struct=e.fromEquals=void 0;var t=ct,n=function(f){return{equals:function(l,d){return l===d||f(l,d)}}};e.fromEquals=n;var r=function(f){return(0,e.fromEquals)(function(l,d){for(var h in f)if(!f[h].equals(l[h],d[h]))return!1;return!0})};e.struct=r;var i=function(){for(var f=[],l=0;l<arguments.length;l++)f[l]=arguments[l];return(0,e.fromEquals)(function(d,h){return f.every(function(v,p){return v.equals(d[p],h[p])})})};e.tuple=i;var a=function(f,l){return(0,t.pipe)(f,(0,e.contramap)(l))},o=function(f){return function(l){return(0,e.fromEquals)(function(d,h){return l.equals(f(d),f(h))})}};e.contramap=o,e.URI="Eq",e.eqStrict={equals:function(f,l){return f===l}};var u={equals:function(){return!0}},s=function(){return{concat:function(f,l){return(0,e.fromEquals)(function(d,h){return f.equals(d,h)&&l.equals(d,h)})}}};e.getSemigroup=s;var c=function(){return{concat:(0,e.getSemigroup)().concat,empty:u}};e.getMonoid=c,e.Contravariant={URI:e.URI,contramap:a},e.getTupleEq=e.tuple,e.getStructEq=e.struct,e.strictEqual=e.eqStrict.equals,e.eq=e.Contravariant,e.eqBoolean=e.eqStrict,e.eqString=e.eqStrict,e.eqNumber=e.eqStrict,e.eqDate={equals:function(f,l){return f.valueOf()===l.valueOf()}}})(xh);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ordDate=e.ordNumber=e.ordString=e.ordBoolean=e.ord=e.getDualOrd=e.getTupleOrd=e.between=e.clamp=e.max=e.min=e.geq=e.leq=e.gt=e.lt=e.equals=e.trivial=e.Contravariant=e.getMonoid=e.getSemigroup=e.URI=e.contramap=e.reverse=e.tuple=e.fromCompare=e.equalsDefault=void 0;var t=xh,n=ct,r=function(O){return function(S,w){return S===w||O(S,w)===0}};e.equalsDefault=r;var i=function(O){return{equals:(0,e.equalsDefault)(O),compare:function(S,w){return S===w?0:O(S,w)}}};e.fromCompare=i;var a=function(){for(var O=[],S=0;S<arguments.length;S++)O[S]=arguments[S];return(0,e.fromCompare)(function(w,P){for(var A=0;A<O.length-1;A++){var L=O[A].compare(w[A],P[A]);if(L!==0)return L}return O[A].compare(w[A],P[A])})};e.tuple=a;var o=function(O){return(0,e.fromCompare)(function(S,w){return O.compare(w,S)})};e.reverse=o;var u=function(O,S){return(0,n.pipe)(O,(0,e.contramap)(S))},s=function(O){return function(S){return(0,e.fromCompare)(function(w,P){return S.compare(O(w),O(P))})}};e.contramap=s,e.URI="Ord";var c=function(){return{concat:function(O,S){return(0,e.fromCompare)(function(w,P){var A=O.compare(w,P);return A!==0?A:S.compare(w,P)})}}};e.getSemigroup=c;var f=function(){return{concat:(0,e.getSemigroup)().concat,empty:(0,e.fromCompare)(function(){return 0})}};e.getMonoid=f,e.Contravariant={URI:e.URI,contramap:u},e.trivial={equals:n.constTrue,compare:(0,n.constant)(0)};var l=function(O){return function(S){return function(w){return w===S||O.compare(w,S)===0}}};e.equals=l;var d=function(O){return function(S,w){return O.compare(S,w)===-1}};e.lt=d;var h=function(O){return function(S,w){return O.compare(S,w)===1}};e.gt=h;var v=function(O){return function(S,w){return O.compare(S,w)!==1}};e.leq=v;var p=function(O){return function(S,w){return O.compare(S,w)!==-1}};e.geq=p;var _=function(O){return function(S,w){return S===w||O.compare(S,w)<1?S:w}};e.min=_;var g=function(O){return function(S,w){return S===w||O.compare(S,w)>-1?S:w}};e.max=g;var y=function(O){var S=(0,e.min)(O),w=(0,e.max)(O);return function(P,A){return function(L){return w(S(L,A),P)}}};e.clamp=y;var m=function(O){var S=(0,e.lt)(O),w=(0,e.gt)(O);return function(P,A){return function(L){return!(S(L,P)||w(L,A))}}};e.between=m,e.getTupleOrd=e.tuple,e.getDualOrd=e.reverse,e.ord=e.Contravariant;function b(O,S){return O<S?-1:O>S?1:0}var E={equals:t.eqStrict.equals,compare:b};e.ordBoolean=E,e.ordString=E,e.ordNumber=E,e.ordDate=(0,n.pipe)(e.ordNumber,(0,e.contramap)(function(O){return O.valueOf()}))})(Uh);(function(e){var t=J&&J.__createBinding||(Object.create?function(y,m,b,E){E===void 0&&(E=b);var O=Object.getOwnPropertyDescriptor(m,b);(!O||("get"in O?!m.__esModule:O.writable||O.configurable))&&(O={enumerable:!0,get:function(){return m[b]}}),Object.defineProperty(y,E,O)}:function(y,m,b,E){E===void 0&&(E=b),y[E]=m[b]}),n=J&&J.__setModuleDefault||(Object.create?function(y,m){Object.defineProperty(y,"default",{enumerable:!0,value:m})}:function(y,m){y.default=m}),r=J&&J.__importStar||function(y){if(y&&y.__esModule)return y;var m={};if(y!=null)for(var b in y)b!=="default"&&Object.prototype.hasOwnProperty.call(y,b)&&t(m,y,b);return n(m,y),m};Object.defineProperty(e,"__esModule",{value:!0}),e.semigroupProduct=e.semigroupSum=e.semigroupString=e.getFunctionSemigroup=e.semigroupAny=e.semigroupAll=e.fold=e.getIntercalateSemigroup=e.getMeetSemigroup=e.getJoinSemigroup=e.getDualSemigroup=e.getStructSemigroup=e.getTupleSemigroup=e.getFirstSemigroup=e.getLastSemigroup=e.getObjectSemigroup=e.semigroupVoid=e.concatAll=e.last=e.first=e.intercalate=e.tuple=e.struct=e.reverse=e.constant=e.max=e.min=void 0;var i=ct,a=r(Er),o=r(st),u=r(Uh),s=function(y){return{concat:u.min(y)}};e.min=s;var c=function(y){return{concat:u.max(y)}};e.max=c;var f=function(y){return{concat:function(){return y}}};e.constant=f,e.reverse=o.reverse;var l=function(y){return{concat:function(m,b){var E={};for(var O in y)a.has.call(y,O)&&(E[O]=y[O].concat(m[O],b[O]));return E}}};e.struct=l;var d=function(){for(var y=[],m=0;m<arguments.length;m++)y[m]=arguments[m];return{concat:function(b,E){return y.map(function(O,S){return O.concat(b[S],E[S])})}}};e.tuple=d;var h=function(y){return function(m){return{concat:function(b,E){return m.concat(b,m.concat(y,E))}}}};e.intercalate=h;var v=function(){return{concat:i.identity}};e.first=v;var p=function(){return{concat:function(y,m){return m}}};e.last=p,e.concatAll=o.concatAll,e.semigroupVoid=(0,e.constant)(void 0);var _=function(){return{concat:function(y,m){return Object.assign({},y,m)}}};e.getObjectSemigroup=_,e.getLastSemigroup=e.last,e.getFirstSemigroup=e.first,e.getTupleSemigroup=e.tuple,e.getStructSemigroup=e.struct,e.getDualSemigroup=e.reverse,e.getJoinSemigroup=e.max,e.getMeetSemigroup=e.min,e.getIntercalateSemigroup=e.intercalate;function g(y){var m=(0,e.concatAll)(y);return function(b,E){return E===void 0?m(b):m(b)(E)}}e.fold=g,e.semigroupAll={concat:function(y,m){return y&&m}},e.semigroupAny={concat:function(y,m){return y||m}},e.getFunctionSemigroup=i.getSemigroup,e.semigroupString={concat:function(y,m){return y+m}},e.semigroupSum={concat:function(y,m){return y+m}},e.semigroupProduct={concat:function(y,m){return y*m}}})(Fh);var Hh={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.right=e.left=e.flap=e.Functor=e.Bifunctor=e.URI=e.bimap=e.mapLeft=e.map=e.separated=void 0;var t=ct,n=Ue,r=function(d,h){return{left:d,right:h}};e.separated=r;var i=function(d,h){return(0,t.pipe)(d,(0,e.map)(h))},a=function(d,h){return(0,t.pipe)(d,(0,e.mapLeft)(h))},o=function(d,h,v){return(0,t.pipe)(d,(0,e.bimap)(h,v))},u=function(d){return function(h){return(0,e.separated)((0,e.left)(h),d((0,e.right)(h)))}};e.map=u;var s=function(d){return function(h){return(0,e.separated)(d((0,e.left)(h)),(0,e.right)(h))}};e.mapLeft=s;var c=function(d,h){return function(v){return(0,e.separated)(d((0,e.left)(v)),h((0,e.right)(v)))}};e.bimap=c,e.URI="Separated",e.Bifunctor={URI:e.URI,mapLeft:a,bimap:o},e.Functor={URI:e.URI,map:i},e.flap=(0,n.flap)(e.Functor);var f=function(d){return d.left};e.left=f;var l=function(d){return d.right};e.right=l})(Hh);var an={},j1=J&&J.__createBinding||(Object.create?function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]}),B1=J&&J.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),F1=J&&J.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&j1(t,e,n);return B1(t,e),t};Object.defineProperty(an,"__esModule",{value:!0});an.filterE=an.witherDefault=an.wiltDefault=void 0;var Wc=F1(Er);function U1(e,t){return function(n){var r=e.traverse(n);return function(i,a){return n.map(r(i,a),t.separate)}}}an.wiltDefault=U1;function x1(e,t){return function(n){var r=e.traverse(n);return function(i,a){return n.map(r(i,a),t.compact)}}}an.witherDefault=x1;function H1(e){return function(t){var n=e.wither(t);return function(r){return function(i){return n(i,function(a){return t.map(r(a),function(o){return o?Wc.some(a):Wc.none})})}}}}an.filterE=H1;var xa={};Object.defineProperty(xa,"__esModule",{value:!0});xa.guard=void 0;function K1(e,t){return function(n){return n?t.of(void 0):e.zero()}}xa.guard=K1;(function(e){var t=J&&J.__createBinding||(Object.create?function(N,M,K,Ae){Ae===void 0&&(Ae=K);var Je=Object.getOwnPropertyDescriptor(M,K);(!Je||("get"in Je?!M.__esModule:Je.writable||Je.configurable))&&(Je={enumerable:!0,get:function(){return M[K]}}),Object.defineProperty(N,Ae,Je)}:function(N,M,K,Ae){Ae===void 0&&(Ae=K),N[Ae]=M[K]}),n=J&&J.__setModuleDefault||(Object.create?function(N,M){Object.defineProperty(N,"default",{enumerable:!0,value:M})}:function(N,M){N.default=M}),r=J&&J.__importStar||function(N){if(N&&N.__esModule)return N;var M={};if(N!=null)for(var K in N)K!=="default"&&Object.prototype.hasOwnProperty.call(N,K)&&t(M,N,K);return n(M,N),M};Object.defineProperty(e,"__esModule",{value:!0}),e.Witherable=e.wilt=e.wither=e.Traversable=e.sequence=e.traverse=e.Filterable=e.partitionMap=e.partition=e.filterMap=e.filter=e.Compactable=e.separate=e.compact=e.Extend=e.extend=e.Alternative=e.guard=e.Zero=e.zero=e.Alt=e.alt=e.altW=e.orElse=e.Foldable=e.reduceRight=e.foldMap=e.reduce=e.Monad=e.Chain=e.flatMap=e.Applicative=e.Apply=e.ap=e.Pointed=e.of=e.asUnit=e.as=e.Functor=e.map=e.getMonoid=e.getOrd=e.getEq=e.getShow=e.URI=e.getRight=e.getLeft=e.fromPredicate=e.some=e.none=void 0,e.getFirstMonoid=e.getApplyMonoid=e.getApplySemigroup=e.option=e.mapNullable=e.getRefinement=e.chainFirst=e.chain=e.sequenceArray=e.traverseArray=e.traverseArrayWithIndex=e.traverseReadonlyArrayWithIndex=e.traverseReadonlyNonEmptyArrayWithIndex=e.ApT=e.apS=e.bind=e.let=e.bindTo=e.Do=e.exists=e.elem=e.toUndefined=e.toNullable=e.chainNullableK=e.fromNullableK=e.tryCatchK=e.tryCatch=e.fromNullable=e.chainFirstEitherK=e.chainEitherK=e.fromEitherK=e.duplicate=e.tapEither=e.tap=e.flatten=e.apSecond=e.apFirst=e.flap=e.getOrElse=e.getOrElseW=e.fold=e.match=e.foldW=e.matchW=e.isNone=e.isSome=e.FromEither=e.fromEither=e.MonadThrow=e.throwError=void 0,e.getLastMonoid=void 0;var i=fr,a=He,o=r(jt),u=Ie,s=ct,c=Ue,f=r(Er),l=Bh,d=Fh,h=Hh,v=an,p=xa;e.none=f.none,e.some=f.some;function _(N){return function(M){return N(M)?(0,e.some)(M):e.none}}e.fromPredicate=_;var g=function(N){return N._tag==="Right"?e.none:(0,e.some)(N.left)};e.getLeft=g;var y=function(N){return N._tag==="Left"?e.none:(0,e.some)(N.right)};e.getRight=y;var m=function(N,M){return(0,s.pipe)(N,(0,e.map)(M))},b=function(N,M){return(0,s.pipe)(N,(0,e.ap)(M))},E=function(N,M,K){return(0,s.pipe)(N,(0,e.reduce)(M,K))},O=function(N){var M=(0,e.foldMap)(N);return function(K,Ae){return(0,s.pipe)(K,M(Ae))}},S=function(N,M,K){return(0,s.pipe)(N,(0,e.reduceRight)(M,K))},w=function(N){var M=(0,e.traverse)(N);return function(K,Ae){return(0,s.pipe)(K,M(Ae))}},P=function(N,M){return(0,s.pipe)(N,(0,e.alt)(M))},A=function(N,M){return(0,s.pipe)(N,(0,e.filter)(M))},L=function(N,M){return(0,s.pipe)(N,(0,e.filterMap)(M))},D=function(N,M){return(0,s.pipe)(N,(0,e.extend)(M))},j=function(N,M){return(0,s.pipe)(N,(0,e.partition)(M))},I=function(N,M){return(0,s.pipe)(N,(0,e.partitionMap)(M))};e.URI="Option";var C=function(N){return{show:function(M){return(0,e.isNone)(M)?"none":"some(".concat(N.show(M.value),")")}}};e.getShow=C;var R=function(N){return{equals:function(M,K){return M===K||((0,e.isNone)(M)?(0,e.isNone)(K):(0,e.isNone)(K)?!1:N.equals(M.value,K.value))}}};e.getEq=R;var $=function(N){return{equals:(0,e.getEq)(N).equals,compare:function(M,K){return M===K?0:(0,e.isSome)(M)?(0,e.isSome)(K)?N.compare(M.value,K.value):1:-1}}};e.getOrd=$;var B=function(N){return{concat:function(M,K){return(0,e.isNone)(M)?K:(0,e.isNone)(K)?M:(0,e.some)(N.concat(M.value,K.value))},empty:e.none}};e.getMonoid=B;var Y=function(N){return function(M){return(0,e.isNone)(M)?e.none:(0,e.some)(N(M.value))}};e.map=Y,e.Functor={URI:e.URI,map:m},e.as=(0,s.dual)(2,(0,c.as)(e.Functor)),e.asUnit=(0,c.asUnit)(e.Functor),e.of=e.some,e.Pointed={URI:e.URI,of:e.of};var z=function(N){return function(M){return(0,e.isNone)(M)||(0,e.isNone)(N)?e.none:(0,e.some)(M.value(N.value))}};e.ap=z,e.Apply={URI:e.URI,map:m,ap:b},e.Applicative={URI:e.URI,map:m,ap:b,of:e.of},e.flatMap=(0,s.dual)(2,function(N,M){return(0,e.isNone)(N)?e.none:M(N.value)}),e.Chain={URI:e.URI,map:m,ap:b,chain:e.flatMap},e.Monad={URI:e.URI,map:m,ap:b,of:e.of,chain:e.flatMap};var X=function(N,M){return function(K){return(0,e.isNone)(K)?N:M(N,K.value)}};e.reduce=X;var x=function(N){return function(M){return function(K){return(0,e.isNone)(K)?N.empty:M(K.value)}}};e.foldMap=x;var U=function(N,M){return function(K){return(0,e.isNone)(K)?N:M(K.value,N)}};e.reduceRight=U,e.Foldable={URI:e.URI,reduce:E,foldMap:O,reduceRight:S},e.orElse=(0,s.dual)(2,function(N,M){return(0,e.isNone)(N)?M():N}),e.altW=e.orElse,e.alt=e.orElse,e.Alt={URI:e.URI,map:m,alt:P};var q=function(){return e.none};e.zero=q,e.Zero={URI:e.URI,zero:e.zero},e.guard=(0,p.guard)(e.Zero,e.Pointed),e.Alternative={URI:e.URI,map:m,ap:b,of:e.of,alt:P,zero:e.zero};var H=function(N){return function(M){return(0,e.isNone)(M)?e.none:(0,e.some)(N(M))}};e.extend=H,e.Extend={URI:e.URI,map:m,extend:D},e.compact=(0,e.flatMap)(s.identity);var ne=(0,h.separated)(e.none,e.none),le=function(N){return(0,e.isNone)(N)?ne:(0,h.separated)((0,e.getLeft)(N.value),(0,e.getRight)(N.value))};e.separate=le,e.Compactable={URI:e.URI,compact:e.compact,separate:e.separate};var te=function(N){return function(M){return(0,e.isNone)(M)?e.none:N(M.value)?M:e.none}};e.filter=te;var Q=function(N){return function(M){return(0,e.isNone)(M)?e.none:N(M.value)}};e.filterMap=Q;var oe=function(N){return function(M){return(0,h.separated)(A(M,(0,l.not)(N)),A(M,N))}};e.partition=oe;var ie=function(N){return(0,s.flow)((0,e.map)(N),e.separate)};e.partitionMap=ie,e.Filterable={URI:e.URI,map:m,compact:e.compact,separate:e.separate,filter:A,filterMap:L,partition:j,partitionMap:I};var ge=function(N){return function(M){return function(K){return(0,e.isNone)(K)?N.of(e.none):N.map(M(K.value),e.some)}}};e.traverse=ge;var ft=function(N){return function(M){return(0,e.isNone)(M)?N.of(e.none):N.map(M.value,e.some)}};e.sequence=ft,e.Traversable={URI:e.URI,map:m,reduce:E,foldMap:O,reduceRight:S,traverse:w,sequence:e.sequence};var be=(0,v.witherDefault)(e.Traversable,e.Compactable),vn=(0,v.wiltDefault)(e.Traversable,e.Compactable),jn=function(N){var M=be(N);return function(K){return function(Ae){return M(Ae,K)}}};e.wither=jn;var po=function(N){var M=vn(N);return function(K){return function(Ae){return M(Ae,K)}}};e.wilt=po,e.Witherable={URI:e.URI,map:m,reduce:E,foldMap:O,reduceRight:S,traverse:w,sequence:e.sequence,compact:e.compact,separate:e.separate,filter:A,filterMap:L,partition:j,partitionMap:I,wither:be,wilt:vn};var fy=function(){return e.none};e.throwError=fy,e.MonadThrow={URI:e.URI,map:m,ap:b,of:e.of,chain:e.flatMap,throwError:e.throwError},e.fromEither=e.getRight,e.FromEither={URI:e.URI,fromEither:e.fromEither},e.isSome=f.isSome;var dy=function(N){return N._tag==="None"};e.isNone=dy;var py=function(N,M){return function(K){return(0,e.isNone)(K)?N():M(K.value)}};e.matchW=py,e.foldW=e.matchW,e.match=e.matchW,e.fold=e.match;var hy=function(N){return function(M){return(0,e.isNone)(M)?N():M.value}};e.getOrElseW=hy,e.getOrElse=e.getOrElseW,e.flap=(0,c.flap)(e.Functor),e.apFirst=(0,a.apFirst)(e.Apply),e.apSecond=(0,a.apSecond)(e.Apply),e.flatten=e.compact,e.tap=(0,s.dual)(2,o.tap(e.Chain)),e.tapEither=(0,s.dual)(2,(0,u.tapEither)(e.FromEither,e.Chain)),e.duplicate=(0,e.extend)(s.identity),e.fromEitherK=(0,u.fromEitherK)(e.FromEither),e.chainEitherK=(0,u.chainEitherK)(e.FromEither,e.Chain),e.chainFirstEitherK=e.tapEither;var vy=function(N){return N==null?e.none:(0,e.some)(N)};e.fromNullable=vy;var my=function(N){try{return(0,e.some)(N())}catch{return e.none}};e.tryCatch=my;var yy=function(N){return function(){for(var M=[],K=0;K<arguments.length;K++)M[K]=arguments[K];return(0,e.tryCatch)(function(){return N.apply(void 0,M)})}};e.tryCatchK=yy;var gy=function(N){return(0,s.flow)(N,e.fromNullable)};e.fromNullableK=gy;var by=function(N){return function(M){return(0,e.isNone)(M)?e.none:(0,e.fromNullable)(N(M.value))}};e.chainNullableK=by,e.toNullable=(0,e.match)(s.constNull,s.identity),e.toUndefined=(0,e.match)(s.constUndefined,s.identity);function xl(N){return function(M,K){if(K===void 0){var Ae=xl(N);return function(Je){return Ae(M,Je)}}return(0,e.isNone)(K)?!1:N.equals(M,K.value)}}e.elem=xl;var _y=function(N){return function(M){return(0,e.isNone)(M)?!1:N(M.value)}};e.exists=_y,e.Do=(0,e.of)(f.emptyRecord),e.bindTo=(0,c.bindTo)(e.Functor);var wy=(0,c.let)(e.Functor);e.let=wy,e.bind=o.bind(e.Chain),e.apS=(0,a.apS)(e.Apply),e.ApT=(0,e.of)(f.emptyReadonlyArray);var Ey=function(N){return function(M){var K=N(0,f.head(M));if((0,e.isNone)(K))return e.none;for(var Ae=[K.value],Je=1;Je<M.length;Je++){var Hl=N(Je,M[Je]);if((0,e.isNone)(Hl))return e.none;Ae.push(Hl.value)}return(0,e.some)(Ae)}};e.traverseReadonlyNonEmptyArrayWithIndex=Ey;var Sy=function(N){var M=(0,e.traverseReadonlyNonEmptyArrayWithIndex)(N);return function(K){return f.isNonEmpty(K)?M(K):e.ApT}};e.traverseReadonlyArrayWithIndex=Sy,e.traverseArrayWithIndex=e.traverseReadonlyArrayWithIndex;var Oy=function(N){return(0,e.traverseReadonlyArrayWithIndex)(function(M,K){return N(K)})};e.traverseArray=Oy,e.sequenceArray=(0,e.traverseArray)(s.identity),e.chain=e.flatMap,e.chainFirst=e.tap;function Py(N){return function(M){return(0,e.isSome)(N(M))}}e.getRefinement=Py,e.mapNullable=e.chainNullableK,e.option={URI:e.URI,map:m,of:e.of,ap:b,chain:e.flatMap,reduce:E,foldMap:O,reduceRight:S,traverse:w,sequence:e.sequence,zero:e.zero,alt:P,extend:D,compact:e.compact,separate:e.separate,filter:A,filterMap:L,partition:j,partitionMap:I,wither:be,wilt:vn,throwError:e.throwError},e.getApplySemigroup=(0,a.getApplySemigroup)(e.Apply),e.getApplyMonoid=(0,i.getApplicativeMonoid)(e.Applicative);var Ay=function(){return(0,e.getMonoid)((0,d.first)())};e.getFirstMonoid=Ay;var Ty=function(){return(0,e.getMonoid)((0,d.last)())};e.getLastMonoid=Ty})(Xb);var W1=Object.defineProperty,z1=(e,t,n)=>t in e?W1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Oo=(e,t,n)=>(z1(e,typeof t!="symbol"?t+"":t,n),n);let q1=class{constructor(){Oo(this,"current",this.detect()),Oo(this,"handoffState","pending"),Oo(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},Bt=new q1,Me=(e,t)=>{Bt.isServer?de(e,t):$n(e,t)};function Ft(e){let t=ae(e);return Me(()=>{t.current=e},[e]),t}function Ha(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function bt(){let e=[],t={addEventListener(n,r,i,a){return n.addEventListener(r,i,a),t.add(()=>n.removeEventListener(r,i,a))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(...n){let r=setTimeout(...n);return t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return Ha(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,i){let a=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:i}),this.add(()=>{Object.assign(n.style,{[r]:a})})},group(n){let r=bt();return n(r),this.add(()=>r.dispose())},add(n){return e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let i of e.splice(r,1))i()}},dispose(){for(let n of e.splice(0))n()}};return t}function Sr(){let[e]=xe(bt);return de(()=>()=>e.dispose(),[e]),e}let ee=function(e){let t=Ft(e);return Z.useCallback((...n)=>t.current(...n),[t])};function G1(){let e=typeof document>"u";return"useSyncExternalStore"in or?(t=>t.useSyncExternalStore)(or)(()=>()=>{},()=>!1,()=>!e):!1}function Or(){let e=G1(),[t,n]=xe(Bt.isHandoffComplete);return t&&Bt.isHandoffComplete===!1&&n(!1),de(()=>{t!==!0&&n(!0)},[t]),de(()=>Bt.handoff(),[]),e?!1:t}var zc;let at=(zc=Z.useId)!=null?zc:function(){let e=Or(),[t,n]=Z.useState(e?()=>Bt.nextId():null);return Me(()=>{t===null&&n(Bt.nextId())},[t]),t!=null?""+t:void 0};function Pe(e,t,...n){if(e in t){let i=t[e];return typeof i=="function"?i(...n):i}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(i=>`"${i}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Pe),r}function fi(e){return Bt.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let Mu=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var Nt=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(Nt||{}),Kh=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Kh||{}),V1=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(V1||{});function Wh(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Mu)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var Js=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Js||{});function Zs(e,t=0){var n;return e===((n=fi(e))==null?void 0:n.body)?!1:Pe(t,{0(){return e.matches(Mu)},1(){let r=e;for(;r!==null;){if(r.matches(Mu))return!0;r=r.parentElement}return!1}})}function zh(e){let t=fi(e);bt().nextFrame(()=>{t&&!Zs(t.activeElement,0)&&on(e)})}var Y1=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Y1||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function on(e){e==null||e.focus({preventScroll:!0})}let X1=["textarea","input"].join(",");function Q1(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,X1))!=null?n:!1}function qh(e,t=n=>n){return e.slice().sort((n,r)=>{let i=t(n),a=t(r);if(i===null||a===null)return 0;let o=i.compareDocumentPosition(a);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function J1(e,t){return Hr(Wh(),t,{relativeTo:e})}function Hr(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}={}){let a=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,o=Array.isArray(e)?n?qh(e):e:Wh(e);i.length>0&&o.length>1&&(o=o.filter(h=>!i.includes(h))),r=r??a.activeElement;let u=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),s=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,o.indexOf(r))-1;if(t&4)return Math.max(0,o.indexOf(r))+1;if(t&8)return o.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=t&32?{preventScroll:!0}:{},f=0,l=o.length,d;do{if(f>=l||f+l<=0)return 0;let h=s+f;if(t&16)h=(h+l)%l;else{if(h<0)return 3;if(h>=l)return 1}d=o[h],d==null||d.focus(c),f+=u}while(d!==a.activeElement);return t&6&&Q1(d)&&d.select(),2}function Ci(e,t,n){let r=Ft(t);de(()=>{function i(a){r.current(a)}return document.addEventListener(e,i,n),()=>document.removeEventListener(e,i,n)},[e,n])}function Gh(e,t,n){let r=Ft(t);de(()=>{function i(a){r.current(a)}return window.addEventListener(e,i,n),()=>window.removeEventListener(e,i,n)},[e,n])}function Vh(e,t,n=!0){let r=ae(!1);de(()=>{requestAnimationFrame(()=>{r.current=n})},[n]);function i(o,u){if(!r.current||o.defaultPrevented)return;let s=u(o);if(s===null||!s.getRootNode().contains(s)||!s.isConnected)return;let c=function f(l){return typeof l=="function"?f(l()):Array.isArray(l)||l instanceof Set?l:[l]}(e);for(let f of c){if(f===null)continue;let l=f instanceof HTMLElement?f:f.current;if(l!=null&&l.contains(s)||o.composed&&o.composedPath().includes(l))return}return!Zs(s,Js.Loose)&&s.tabIndex!==-1&&o.preventDefault(),t(o,s)}let a=ae(null);Ci("pointerdown",o=>{var u,s;r.current&&(a.current=((s=(u=o.composedPath)==null?void 0:u.call(o))==null?void 0:s[0])||o.target)},!0),Ci("mousedown",o=>{var u,s;r.current&&(a.current=((s=(u=o.composedPath)==null?void 0:u.call(o))==null?void 0:s[0])||o.target)},!0),Ci("click",o=>{a.current&&(i(o,()=>a.current),a.current=null)},!0),Ci("touchend",o=>i(o,()=>o.target instanceof HTMLElement?o.target:null),!0),Gh("blur",o=>i(o,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function qc(e){var t;if(e.type)return e.type;let n=(t=e.as)!=null?t:"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function el(e,t){let[n,r]=xe(()=>qc(e));return Me(()=>{r(qc(e))},[e.type,e.as]),Me(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&r("button")},[n,t]),n}let Yh=Symbol();function Xh(e,t=!0){return Object.assign(e,{[Yh]:t})}function Ne(...e){let t=ae(e);de(()=>{t.current=e},[e]);let n=ee(r=>{for(let i of t.current)i!=null&&(typeof i=="function"?i(r):i.current=r)});return e.every(r=>r==null||(r==null?void 0:r[Yh]))?void 0:n}function Z1({container:e,accept:t,walk:n,enabled:r=!0}){let i=ae(t),a=ae(n);de(()=>{i.current=t,a.current=n},[t,n]),Me(()=>{if(!e||!r)return;let o=fi(e);if(!o)return;let u=i.current,s=a.current,c=Object.assign(l=>u(l),{acceptNode:u}),f=o.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,c,!1);for(;f.nextNode();)s(f.currentNode)},[e,r,i,a])}function e_(e){throw new Error("Unexpected object: "+e)}var ht=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(ht||{});function t_(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),i=r??-1,a=(()=>{switch(e.focus){case 0:return n.findIndex(o=>!t.resolveDisabled(o));case 1:{let o=n.slice().reverse().findIndex((u,s,c)=>i!==-1&&c.length-s-1>=i?!1:!t.resolveDisabled(u));return o===-1?o:n.length-1-o}case 2:return n.findIndex((o,u)=>u<=i?!1:!t.resolveDisabled(o));case 3:{let o=n.slice().reverse().findIndex(u=>!t.resolveDisabled(u));return o===-1?o:n.length-1-o}case 4:return n.findIndex(o=>t.resolveId(o)===e.id);case 5:return null;default:e_(e)}})();return a===-1?r:a}function ya(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}var cn=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(cn||{}),en=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(en||{});function Ee({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:a=!0,name:o}){let u=Qh(t,e);if(a)return Ii(u,n,r,o);let s=i??0;if(s&2){let{static:c=!1,...f}=u;if(c)return Ii(f,n,r,o)}if(s&1){let{unmount:c=!0,...f}=u;return Pe(c?0:1,{0(){return null},1(){return Ii({...f,hidden:!0,style:{display:"none"}},n,r,o)}})}return Ii(u,n,r,o)}function Ii(e,t={},n,r){let{as:i=n,children:a,refName:o="ref",...u}=Po(e,["unmount","static"]),s=e.ref!==void 0?{[o]:e.ref}:{},c=typeof a=="function"?a(t):a;"className"in u&&u.className&&typeof u.className=="function"&&(u.className=u.className(t));let f={};if(t){let l=!1,d=[];for(let[h,v]of Object.entries(t))typeof v=="boolean"&&(l=!0),v===!0&&d.push(h);l&&(f["data-headlessui-state"]=d.join(" "))}if(i===we&&Object.keys(Du(u)).length>0){if(!_r(c)||Array.isArray(c)&&c.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(u).map(v=>` - ${v}`).join(`
|
|
5
5
|
`),"","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(v=>` - ${v}`).join(`
|
|
6
6
|
`)].join(`
|
|
7
|
-
`));let l=c.props,d=typeof(l==null?void 0:l.className)=="function"?(...v)=>ya(l==null?void 0:l.className(...v),u.className):ya(l==null?void 0:l.className,u.className),h=d?{className:d}:{};return Fs(c,Object.assign({},Qh(c.props,Du(Po(u,["ref"]))),f,s,t_(c.ref,s.ref),h))}return F(i,Object.assign({},Po(u,["ref"]),i!==we&&s,i!==we&&f),c)}function t_(...e){return{ref:e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}}function Qh(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let i in r)i.startsWith("on")&&typeof r[i]=="function"?(n[i]!=null||(n[i]=[]),n[i].push(r[i])):t[i]=r[i];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(r=>[r,void 0])));for(let r in n)Object.assign(t,{[r](i,...a){let o=n[r];for(let u of o){if((i instanceof Event||(i==null?void 0:i.nativeEvent)instanceof Event)&&i.defaultPrevented)return;u(i,...a)}}});return t}function Se(e){var t;return Object.assign(pe(e),{displayName:(t=e.displayName)!=null?t:e.name})}function Du(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function Po(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function Ka(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=(t==null?void 0:t.getAttribute("disabled"))==="";return r&&n_(n)?!1:r}function n_(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}function r_(e){var t,n;let r=(t=e==null?void 0:e.form)!=null?t:e.closest("form");if(r){for(let i of r.elements)if(i!==e&&(i.tagName==="INPUT"&&i.type==="submit"||i.tagName==="BUTTON"&&i.type==="submit"||i.nodeName==="INPUT"&&i.type==="image")){i.click();return}(n=r.requestSubmit)==null||n.call(r)}}let i_="div";var ei=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(ei||{});function a_(e,t){let{features:n=1,...r}=e,i={ref:t,"aria-hidden":(n&2)===2?!0: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",...(n&4)===4&&(n&2)!==2&&{display:"none"}}};return Ee({ourProps:i,theirProps:r,slot:{},defaultTag:i_,name:"Hidden"})}let ga=Se(a_),tl=je(null);tl.displayName="OpenClosedContext";var Oe=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(Oe||{});function di(){return ke(tl)}function nl({value:e,children:t}){return Z.createElement(tl.Provider,{value:e},t)}var ve=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(ve||{});function o_(e,t,n){let[r,i]=xe(n),a=e!==void 0,o=ae(a),u=ae(!1),s=ae(!1);return a&&!o.current&&!u.current?(u.current=!0,o.current=a,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.")):!a&&o.current&&!s.current&&(s.current=!0,o.current=a,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.")),[a?e:r,ee(c=>(a||i(c),t==null?void 0:t(c)))]}function rl(e,t){let n=ae([]),r=ee(e);de(()=>{let i=[...n.current];for(let[a,o]of t.entries())if(n.current[a]!==o){let u=r(t,i);return n.current=t,u}},[r,...t])}function Gc(e){return[e.screenX,e.screenY]}function u_(){let e=ae([-1,-1]);return{wasMoved(t){let n=Gc(t);return e.current[0]===n[0]&&e.current[1]===n[1]?!1:(e.current=n,!0)},update(t){e.current=Gc(t)}}}function s_(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Pr(...e){return ce(()=>fi(...e),[...e])}var Br=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Br||{});function l_(){let e=ae(0);return Gh("keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function pi(){let e=ae(!1);return Me(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function Jh(e,t,n,r){let i=Ft(n);de(()=>{e=e??window;function a(o){i.current(o)}return e.addEventListener(t,a,r),()=>e.removeEventListener(t,a,r)},[e,t,r])}function c_(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}function Zh(e){let t=ee(e),n=ae(!1);de(()=>(n.current=!1,()=>{n.current=!0,Ha(()=>{n.current&&t()})}),[t])}function ev(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let n of e.current)n.current instanceof HTMLElement&&t.add(n.current);return t}let f_="div";var tv=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(tv||{});function d_(e,t){let n=ae(null),r=Ne(n,t),{initialFocus:i,containers:a,features:o=30,...u}=e;Or()||(o=1);let s=Pr(n);v_({ownerDocument:s},!!(o&16));let c=m_({ownerDocument:s,container:n,initialFocus:i},!!(o&2));y_({ownerDocument:s,container:n,containers:a,previousActiveElement:c},!!(o&8));let f=l_(),l=ee(p=>{let _=n.current;_&&(g=>g())(()=>{Pe(f.current,{[Br.Forwards]:()=>{Hr(_,Nt.First,{skipElements:[p.relatedTarget]})},[Br.Backwards]:()=>{Hr(_,Nt.Last,{skipElements:[p.relatedTarget]})}})})}),d=Sr(),h=ae(!1),v={ref:r,onKeyDown(p){p.key=="Tab"&&(h.current=!0,d.requestAnimationFrame(()=>{h.current=!1}))},onBlur(p){let _=ev(a);n.current instanceof HTMLElement&&_.add(n.current);let g=p.relatedTarget;g instanceof HTMLElement&&g.dataset.headlessuiFocusGuard!=="true"&&(nv(_,g)||(h.current?Hr(n.current,Pe(f.current,{[Br.Forwards]:()=>Nt.Next,[Br.Backwards]:()=>Nt.Previous})|Nt.WrapAround,{relativeTo:p.target}):p.target instanceof HTMLElement&&on(p.target)))}};return Z.createElement(Z.Fragment,null,!!(o&4)&&Z.createElement(ga,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:l,features:ei.Focusable}),Ee({ourProps:v,theirProps:u,defaultTag:f_,name:"FocusTrap"}),!!(o&4)&&Z.createElement(ga,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:l,features:ei.Focusable}))}let p_=Se(d_),kr=Object.assign(p_,{features:tv}),Qt=[];c_(()=>{function e(t){t.target instanceof HTMLElement&&t.target!==document.body&&Qt[0]!==t.target&&(Qt.unshift(t.target),Qt=Qt.filter(n=>n!=null&&n.isConnected),Qt.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function h_(e=!0){let t=ae(Qt.slice());return rl(([n],[r])=>{r===!0&&n===!1&&Ha(()=>{t.current.splice(0)}),r===!1&&n===!0&&(t.current=Qt.slice())},[e,Qt,t]),ee(()=>{var n;return(n=t.current.find(r=>r!=null&&r.isConnected))!=null?n:null})}function v_({ownerDocument:e},t){let n=h_(t);rl(()=>{t||(e==null?void 0:e.activeElement)===(e==null?void 0:e.body)&&on(n())},[t]),Zh(()=>{t&&on(n())})}function m_({ownerDocument:e,container:t,initialFocus:n},r){let i=ae(null),a=pi();return rl(()=>{if(!r)return;let o=t.current;o&&Ha(()=>{if(!a.current)return;let u=e==null?void 0:e.activeElement;if(n!=null&&n.current){if((n==null?void 0:n.current)===u){i.current=u;return}}else if(o.contains(u)){i.current=u;return}n!=null&&n.current?on(n.current):Hr(o,Nt.First)===Kh.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),i.current=e==null?void 0:e.activeElement})},[r]),i}function y_({ownerDocument:e,container:t,containers:n,previousActiveElement:r},i){let a=pi();Jh(e==null?void 0:e.defaultView,"focus",o=>{if(!i||!a.current)return;let u=ev(n);t.current instanceof HTMLElement&&u.add(t.current);let s=r.current;if(!s)return;let c=o.target;c&&c instanceof HTMLElement?nv(u,c)?(r.current=c,on(c)):(o.preventDefault(),o.stopPropagation(),on(s)):on(r.current)},!0)}function nv(e,t){for(let n of e)if(n.contains(t))return!0;return!1}let rv=je(!1);function g_(){return ke(rv)}function $u(e){return Z.createElement(rv.Provider,{value:e.force},e.children)}function b_(e){let t=g_(),n=ke(iv),r=Pr(e),[i,a]=xe(()=>{if(!t&&n!==null||Bt.isServer)return null;let o=r==null?void 0:r.getElementById("headlessui-portal-root");if(o)return o;if(r===null)return null;let u=r.createElement("div");return u.setAttribute("id","headlessui-portal-root"),r.body.appendChild(u)});return de(()=>{i!==null&&(r!=null&&r.body.contains(i)||r==null||r.body.appendChild(i))},[i,r]),de(()=>{t||n!==null&&a(n.current)},[n,a,t]),i}let __=we;function w_(e,t){let n=e,r=ae(null),i=Ne(Xh(f=>{r.current=f}),t),a=Pr(r),o=b_(r),[u]=xe(()=>{var f;return Bt.isServer?null:(f=a==null?void 0:a.createElement("div"))!=null?f:null}),s=ke(ju),c=Or();return Me(()=>{!o||!u||o.contains(u)||(u.setAttribute("data-headlessui-portal",""),o.appendChild(u))},[o,u]),Me(()=>{if(u&&s)return s.register(u)},[s,u]),Zh(()=>{var f;!o||!u||(u instanceof Node&&o.contains(u)&&o.removeChild(u),o.childNodes.length<=0&&((f=o.parentElement)==null||f.removeChild(o)))}),c?!o||!u?null:js(Ee({ourProps:{ref:i},theirProps:n,defaultTag:__,name:"Portal"}),u):null}let E_=we,iv=je(null);function S_(e,t){let{target:n,...r}=e,i={ref:Ne(t)};return Z.createElement(iv.Provider,{value:n},Ee({ourProps:i,theirProps:r,defaultTag:E_,name:"Popover.Group"}))}let ju=je(null);function O_(){let e=ke(ju),t=ae([]),n=ee(a=>(t.current.push(a),e&&e.register(a),()=>r(a))),r=ee(a=>{let o=t.current.indexOf(a);o!==-1&&t.current.splice(o,1),e&&e.unregister(a)}),i=ce(()=>({register:n,unregister:r,portals:t}),[n,r,t]);return[t,ce(()=>function({children:a}){return Z.createElement(ju.Provider,{value:i},a)},[i])]}let P_=Se(w_),A_=Se(S_),Bu=Object.assign(P_,{Group:A_}),av=je(null);function ov(){let e=ke(av);if(e===null){let t=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,ov),t}return e}function uv(){let[e,t]=xe([]);return[e.length>0?e.join(" "):void 0,ce(()=>function(n){let r=ee(a=>(t(o=>[...o,a]),()=>t(o=>{let u=o.slice(),s=u.indexOf(a);return s!==-1&&u.splice(s,1),u}))),i=ce(()=>({register:r,slot:n.slot,name:n.name,props:n.props}),[r,n.slot,n.name,n.props]);return Z.createElement(av.Provider,{value:i},n.children)},[t])]}let T_="p";function C_(e,t){let n=at(),{id:r=`headlessui-description-${n}`,...i}=e,a=ov(),o=Ne(t);Me(()=>a.register(r),[r,a.register]);let u={ref:o,...a.props,id:r};return Ee({ourProps:u,theirProps:i,slot:a.slot||{},defaultTag:T_,name:a.name||"Description"})}let I_=Se(C_),sv=Object.assign(I_,{}),il=je(()=>{});il.displayName="StackContext";var Fu=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(Fu||{});function L_(){return ke(il)}function R_({children:e,onUpdate:t,type:n,element:r,enabled:i}){let a=L_(),o=ee((...u)=>{t==null||t(...u),a(...u)});return Me(()=>{let u=i===void 0||i===!0;return u&&o(0,n,r),()=>{u&&o(1,n,r)}},[o,n,r,i]),Z.createElement(il.Provider,{value:o},e)}function k_(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}const N_=typeof Object.is=="function"?Object.is:k_,{useState:M_,useEffect:D_,useLayoutEffect:$_,useDebugValue:j_}=or;function B_(e,t,n){const r=t(),[{inst:i},a]=M_({inst:{value:r,getSnapshot:t}});return $_(()=>{i.value=r,i.getSnapshot=t,Ao(i)&&a({inst:i})},[e,r,t]),D_(()=>(Ao(i)&&a({inst:i}),e(()=>{Ao(i)&&a({inst:i})})),[e]),j_(r),r}function Ao(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!N_(n,r)}catch{return!0}}function F_(e,t,n){return t()}const U_=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",x_=!U_,H_=x_?F_:B_,K_="useSyncExternalStore"in or?(e=>e.useSyncExternalStore)(or):H_;function W_(e){return K_(e.subscribe,e.getSnapshot,e.getSnapshot)}function z_(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(i){return r.add(i),()=>r.delete(i)},dispatch(i,...a){let o=t[i].call(n,...a);o&&(n=o,r.forEach(u=>u()))}}}function q_(){let e;return{before({doc:t}){var n;let r=t.documentElement;e=((n=t.defaultView)!=null?n:window).innerWidth-r.clientWidth},after({doc:t,d:n}){let r=t.documentElement,i=r.clientWidth-r.offsetWidth,a=e-i;n.style(r,"paddingRight",`${a}px`)}}}function G_(){if(!s_())return{};let e;return{before(){e=window.pageYOffset},after({doc:t,d:n,meta:r}){function i(a){return r.containers.flatMap(o=>o()).some(o=>o.contains(a))}n.microTask(()=>{if(window.getComputedStyle(t.documentElement).scrollBehavior!=="auto"){let o=bt();o.style(t.documentElement,"scroll-behavior","auto"),n.add(()=>n.microTask(()=>o.dispose()))}n.style(t.body,"marginTop",`-${e}px`),window.scrollTo(0,0);let a=null;n.addEventListener(t,"click",o=>{if(o.target instanceof HTMLElement)try{let u=o.target.closest("a");if(!u)return;let{hash:s}=new URL(u.href),c=t.querySelector(s);c&&!i(c)&&(a=c)}catch{}},!0),n.addEventListener(t,"touchmove",o=>{o.target instanceof HTMLElement&&!i(o.target)&&o.preventDefault()},{passive:!1}),n.add(()=>{window.scrollTo(0,window.pageYOffset+e),a&&a.isConnected&&(a.scrollIntoView({block:"nearest"}),a=null)})})}}}function V_(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function Y_(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let wn=z_(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:bt(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:Y_(n)},i=[G_(),q_(),V_()];i.forEach(({before:a})=>a==null?void 0:a(r)),i.forEach(({after:a})=>a==null?void 0:a(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});wn.subscribe(()=>{let e=wn.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let r=t.get(n.doc)==="hidden",i=n.count!==0;(i&&!r||!i&&r)&&wn.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&wn.dispatch("TEARDOWN",n)}});function X_(e,t,n){let r=W_(wn),i=e?r.get(e):void 0,a=i?i.count>0:!1;return Me(()=>{if(!(!e||!t))return wn.dispatch("PUSH",e,n),()=>wn.dispatch("POP",e,n)},[t,e]),a}let To=new Map,Nr=new Map;function Vc(e,t=!0){Me(()=>{var n;if(!t)return;let r=typeof e=="function"?e():e.current;if(!r)return;function i(){var o;if(!r)return;let u=(o=Nr.get(r))!=null?o:1;if(u===1?Nr.delete(r):Nr.set(r,u-1),u!==1)return;let s=To.get(r);s&&(s["aria-hidden"]===null?r.removeAttribute("aria-hidden"):r.setAttribute("aria-hidden",s["aria-hidden"]),r.inert=s.inert,To.delete(r))}let a=(n=Nr.get(r))!=null?n:0;return Nr.set(r,a+1),a!==0||(To.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),r.setAttribute("aria-hidden","true"),r.inert=!0),i},[e,t])}function Q_({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){var r;let i=ae((r=n==null?void 0:n.current)!=null?r:null),a=Pr(i),o=ee(()=>{var u;let s=[];for(let c of e)c!==null&&(c instanceof HTMLElement?s.push(c):"current"in c&&c.current instanceof HTMLElement&&s.push(c.current));if(t!=null&&t.current)for(let c of t.current)s.push(c);for(let c of(u=a==null?void 0:a.querySelectorAll("html > *, body > *"))!=null?u:[])c!==document.body&&c!==document.head&&c instanceof HTMLElement&&c.id!=="headlessui-portal-root"&&(c.contains(i.current)||s.some(f=>c.contains(f))||s.push(c));return s});return{resolveContainers:o,contains:ee(u=>o().some(s=>s.contains(u))),mainTreeNodeRef:i,MainTreeNode:ce(()=>function(){return n!=null?null:Z.createElement(ga,{features:ei.Hidden,ref:i})},[i,n])}}var J_=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(J_||{}),Z_=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(Z_||{});let ew={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},ba=je(null);ba.displayName="DialogContext";function hi(e){let t=ke(ba);if(t===null){let n=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,hi),n}return t}function tw(e,t,n=()=>[document.body]){X_(e,t,r=>{var i;return{containers:[...(i=r.containers)!=null?i:[],n]}})}function nw(e,t){return Pe(t.type,ew,e,t)}let rw="div",iw=cn.RenderStrategy|cn.Static;function aw(e,t){var n;let r=at(),{id:i=`headlessui-dialog-${r}`,open:a,onClose:o,initialFocus:u,__demoMode:s=!1,...c}=e,[f,l]=xe(0),d=di();a===void 0&&d!==null&&(a=(d&Oe.Open)===Oe.Open);let h=ae(null),v=Ne(h,t),p=Pr(h),_=e.hasOwnProperty("open")||d!==null,g=e.hasOwnProperty("onClose");if(!_&&!g)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!_)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!g)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(typeof a!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${a}`);if(typeof o!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${o}`);let y=a?0:1,[m,b]=Dn(nw,{titleId:null,descriptionId:null,panelRef:Xr()}),E=ee(()=>o(!1)),O=ee(Q=>b({type:0,id:Q})),S=Or()?s?!1:y===0:!1,w=f>1,P=ke(ba)!==null,[A,L]=O_(),{resolveContainers:D,mainTreeNodeRef:j,MainTreeNode:I}=Q_({portals:A,defaultContainers:[(n=m.panelRef.current)!=null?n:h.current]}),C=w?"parent":"leaf",R=d!==null?(d&Oe.Closing)===Oe.Closing:!1,$=(()=>P||R?!1:S)(),B=Zt(()=>{var Q,oe;return(oe=Array.from((Q=p==null?void 0:p.querySelectorAll("body > *"))!=null?Q:[]).find(ie=>ie.id==="headlessui-portal-root"?!1:ie.contains(j.current)&&ie instanceof HTMLElement))!=null?oe:null},[j]);Vc(B,$);let Y=(()=>w?!0:S)(),z=Zt(()=>{var Q,oe;return(oe=Array.from((Q=p==null?void 0:p.querySelectorAll("[data-headlessui-portal]"))!=null?Q:[]).find(ie=>ie.contains(j.current)&&ie instanceof HTMLElement))!=null?oe:null},[j]);Vc(z,Y);let X=(()=>!(!S||w))();Vh(D,E,X);let x=(()=>!(w||y!==0))();Jh(p==null?void 0:p.defaultView,"keydown",Q=>{x&&(Q.defaultPrevented||Q.key===ve.Escape&&(Q.preventDefault(),Q.stopPropagation(),E()))});let U=(()=>!(R||y!==0||P))();tw(p,U,D),de(()=>{if(y!==0||!h.current)return;let Q=new ResizeObserver(oe=>{for(let ie of oe){let ge=ie.target.getBoundingClientRect();ge.x===0&&ge.y===0&&ge.width===0&&ge.height===0&&E()}});return Q.observe(h.current),()=>Q.disconnect()},[y,h,E]);let[q,H]=uv(),ne=ce(()=>[{dialogState:y,close:E,setTitleId:O},m],[y,m,E,O]),le=ce(()=>({open:y===0}),[y]),te={ref:v,id:i,role:"dialog","aria-modal":y===0?!0:void 0,"aria-labelledby":m.titleId,"aria-describedby":q};return Z.createElement(R_,{type:"Dialog",enabled:y===0,element:h,onUpdate:ee((Q,oe)=>{oe==="Dialog"&&Pe(Q,{[Fu.Add]:()=>l(ie=>ie+1),[Fu.Remove]:()=>l(ie=>ie-1)})})},Z.createElement($u,{force:!0},Z.createElement(Bu,null,Z.createElement(ba.Provider,{value:ne},Z.createElement(Bu.Group,{target:h},Z.createElement($u,{force:!1},Z.createElement(H,{slot:le,name:"Dialog.Description"},Z.createElement(kr,{initialFocus:u,containers:D,features:S?Pe(C,{parent:kr.features.RestoreFocus,leaf:kr.features.All&~kr.features.FocusLock}):kr.features.None},Z.createElement(L,null,Ee({ourProps:te,theirProps:c,slot:le,defaultTag:rw,features:iw,visible:y===0,name:"Dialog"}))))))))),Z.createElement(I,null))}let ow="div";function uw(e,t){let n=at(),{id:r=`headlessui-dialog-overlay-${n}`,...i}=e,[{dialogState:a,close:o}]=hi("Dialog.Overlay"),u=Ne(t),s=ee(f=>{if(f.target===f.currentTarget){if(Ka(f.currentTarget))return f.preventDefault();f.preventDefault(),f.stopPropagation(),o()}}),c=ce(()=>({open:a===0}),[a]);return Ee({ourProps:{ref:u,id:r,"aria-hidden":!0,onClick:s},theirProps:i,slot:c,defaultTag:ow,name:"Dialog.Overlay"})}let sw="div";function lw(e,t){let n=at(),{id:r=`headlessui-dialog-backdrop-${n}`,...i}=e,[{dialogState:a},o]=hi("Dialog.Backdrop"),u=Ne(t);de(()=>{if(o.panelRef.current===null)throw new Error("A <Dialog.Backdrop /> component is being used, but a <Dialog.Panel /> component is missing.")},[o.panelRef]);let s=ce(()=>({open:a===0}),[a]);return Z.createElement($u,{force:!0},Z.createElement(Bu,null,Ee({ourProps:{ref:u,id:r,"aria-hidden":!0},theirProps:i,slot:s,defaultTag:sw,name:"Dialog.Backdrop"})))}let cw="div";function fw(e,t){let n=at(),{id:r=`headlessui-dialog-panel-${n}`,...i}=e,[{dialogState:a},o]=hi("Dialog.Panel"),u=Ne(t,o.panelRef),s=ce(()=>({open:a===0}),[a]),c=ee(f=>{f.stopPropagation()});return Ee({ourProps:{ref:u,id:r,onClick:c},theirProps:i,slot:s,defaultTag:cw,name:"Dialog.Panel"})}let dw="h2";function pw(e,t){let n=at(),{id:r=`headlessui-dialog-title-${n}`,...i}=e,[{dialogState:a,setTitleId:o}]=hi("Dialog.Title"),u=Ne(t);de(()=>(o(r),()=>o(null)),[r,o]);let s=ce(()=>({open:a===0}),[a]);return Ee({ourProps:{ref:u,id:r},theirProps:i,slot:s,defaultTag:dw,name:"Dialog.Title"})}let hw=Se(aw),vw=Se(lw),mw=Se(fw),yw=Se(uw),gw=Se(pw),HL=Object.assign(hw,{Backdrop:vw,Panel:mw,Overlay:yw,Title:gw,Description:sv});var Yc;let bw=(Yc=Z.startTransition)!=null?Yc:function(e){e()};var _w=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(_w||{}),ww=(e=>(e[e.ToggleDisclosure=0]="ToggleDisclosure",e[e.CloseDisclosure=1]="CloseDisclosure",e[e.SetButtonId=2]="SetButtonId",e[e.SetPanelId=3]="SetPanelId",e[e.LinkPanel=4]="LinkPanel",e[e.UnlinkPanel=5]="UnlinkPanel",e))(ww||{});let Ew={0:e=>({...e,disclosureState:Pe(e.disclosureState,{0:1,1:0})}),1:e=>e.disclosureState===1?e:{...e,disclosureState:1},4(e){return e.linkedPanel===!0?e:{...e,linkedPanel:!0}},5(e){return e.linkedPanel===!1?e:{...e,linkedPanel:!1}},2(e,t){return e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId}},3(e,t){return e.panelId===t.panelId?e:{...e,panelId:t.panelId}}},al=je(null);al.displayName="DisclosureContext";function ol(e){let t=ke(al);if(t===null){let n=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,ol),n}return t}let ul=je(null);ul.displayName="DisclosureAPIContext";function lv(e){let t=ke(ul);if(t===null){let n=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,lv),n}return t}let sl=je(null);sl.displayName="DisclosurePanelContext";function Sw(){return ke(sl)}function Ow(e,t){return Pe(t.type,Ew,e,t)}let Pw=we;function Aw(e,t){let{defaultOpen:n=!1,...r}=e,i=ae(null),a=Ne(t,Xh(_=>{i.current=_},e.as===void 0||e.as===we)),o=ae(null),u=ae(null),s=Dn(Ow,{disclosureState:n?0:1,linkedPanel:!1,buttonRef:u,panelRef:o,buttonId:null,panelId:null}),[{disclosureState:c,buttonId:f},l]=s,d=ee(_=>{l({type:1});let g=fi(i);if(!g||!f)return;let y=(()=>_?_ instanceof HTMLElement?_:_.current instanceof HTMLElement?_.current:g.getElementById(f):g.getElementById(f))();y==null||y.focus()}),h=ce(()=>({close:d}),[d]),v=ce(()=>({open:c===0,close:d}),[c,d]),p={ref:a};return Z.createElement(al.Provider,{value:s},Z.createElement(ul.Provider,{value:h},Z.createElement(nl,{value:Pe(c,{0:Oe.Open,1:Oe.Closed})},Ee({ourProps:p,theirProps:r,slot:v,defaultTag:Pw,name:"Disclosure"}))))}let Tw="button";function Cw(e,t){let n=at(),{id:r=`headlessui-disclosure-button-${n}`,...i}=e,[a,o]=ol("Disclosure.Button"),u=Sw(),s=u===null?!1:u===a.panelId,c=ae(null),f=Ne(c,t,s?null:a.buttonRef);de(()=>{if(!s)return o({type:2,buttonId:r}),()=>{o({type:2,buttonId:null})}},[r,o,s]);let l=ee(g=>{var y;if(s){if(a.disclosureState===1)return;switch(g.key){case ve.Space:case ve.Enter:g.preventDefault(),g.stopPropagation(),o({type:0}),(y=a.buttonRef.current)==null||y.focus();break}}else switch(g.key){case ve.Space:case ve.Enter:g.preventDefault(),g.stopPropagation(),o({type:0});break}}),d=ee(g=>{switch(g.key){case ve.Space:g.preventDefault();break}}),h=ee(g=>{var y;Ka(g.currentTarget)||e.disabled||(s?(o({type:0}),(y=a.buttonRef.current)==null||y.focus()):o({type:0}))}),v=ce(()=>({open:a.disclosureState===0}),[a]),p=el(e,c),_=s?{ref:f,type:p,onKeyDown:l,onClick:h}:{ref:f,id:r,type:p,"aria-expanded":a.disclosureState===0,"aria-controls":a.linkedPanel?a.panelId:void 0,onKeyDown:l,onKeyUp:d,onClick:h};return Ee({ourProps:_,theirProps:i,slot:v,defaultTag:Tw,name:"Disclosure.Button"})}let Iw="div",Lw=cn.RenderStrategy|cn.Static;function Rw(e,t){let n=at(),{id:r=`headlessui-disclosure-panel-${n}`,...i}=e,[a,o]=ol("Disclosure.Panel"),{close:u}=lv("Disclosure.Panel"),s=Ne(t,a.panelRef,h=>{bw(()=>o({type:h?4:5}))});de(()=>(o({type:3,panelId:r}),()=>{o({type:3,panelId:null})}),[r,o]);let c=di(),f=(()=>c!==null?(c&Oe.Open)===Oe.Open:a.disclosureState===0)(),l=ce(()=>({open:a.disclosureState===0,close:u}),[a,u]),d={ref:s,id:r};return Z.createElement(sl.Provider,{value:a.panelId},Ee({ourProps:d,theirProps:i,slot:l,defaultTag:Iw,features:Lw,visible:f,name:"Disclosure.Panel"}))}let kw=Se(Aw),Nw=Se(Cw),Mw=Se(Rw),KL=Object.assign(kw,{Button:Nw,Panel:Mw}),Xc=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function Qc(e){var t,n;let r=(t=e.innerText)!=null?t:"",i=e.cloneNode(!0);if(!(i instanceof HTMLElement))return r;let a=!1;for(let u of i.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))u.remove(),a=!0;let o=a?(n=i.innerText)!=null?n:"":r;return Xc.test(o)&&(o=o.replace(Xc,"")),o}function Dw(e){let t=e.getAttribute("aria-label");if(typeof t=="string")return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let r=n.split(" ").map(i=>{let a=document.getElementById(i);if(a){let o=a.getAttribute("aria-label");return typeof o=="string"?o.trim():Qc(a).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return Qc(e).trim()}function $w(e){let t=ae(""),n=ae("");return ee(()=>{let r=e.current;if(!r)return"";let i=r.innerText;if(t.current===i)return n.current;let a=Dw(r).trim().toLowerCase();return t.current=i,n.current=a,a})}var jw=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(jw||{}),Bw=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Bw||{}),Fw=(e=>(e[e.OpenMenu=0]="OpenMenu",e[e.CloseMenu=1]="CloseMenu",e[e.GoToItem=2]="GoToItem",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterItem=5]="RegisterItem",e[e.UnregisterItem=6]="UnregisterItem",e))(Fw||{});function Co(e,t=n=>n){let n=e.activeItemIndex!==null?e.items[e.activeItemIndex]:null,r=qh(t(e.items.slice()),a=>a.dataRef.current.domRef.current),i=n?r.indexOf(n):null;return i===-1&&(i=null),{items:r,activeItemIndex:i}}let Uw={1(e){return e.menuState===1?e:{...e,activeItemIndex:null,menuState:1}},0(e){return e.menuState===0?e:{...e,__demoMode:!1,menuState:0}},2:(e,t)=>{var n;let r=Co(e),i=e_(t,{resolveItems:()=>r.items,resolveActiveIndex:()=>r.activeItemIndex,resolveId:a=>a.id,resolveDisabled:a=>a.dataRef.current.disabled});return{...e,...r,searchQuery:"",activeItemIndex:i,activationTrigger:(n=t.trigger)!=null?n:1}},3:(e,t)=>{let n=e.searchQuery!==""?0:1,r=e.searchQuery+t.value.toLowerCase(),i=(e.activeItemIndex!==null?e.items.slice(e.activeItemIndex+n).concat(e.items.slice(0,e.activeItemIndex+n)):e.items).find(o=>{var u;return((u=o.dataRef.current.textValue)==null?void 0:u.startsWith(r))&&!o.dataRef.current.disabled}),a=i?e.items.indexOf(i):-1;return a===-1||a===e.activeItemIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeItemIndex:a,activationTrigger:1}},4(e){return e.searchQuery===""?e:{...e,searchQuery:"",searchActiveItemIndex:null}},5:(e,t)=>{let n=Co(e,r=>[...r,{id:t.id,dataRef:t.dataRef}]);return{...e,...n}},6:(e,t)=>{let n=Co(e,r=>{let i=r.findIndex(a=>a.id===t.id);return i!==-1&&r.splice(i,1),r});return{...e,...n,activationTrigger:1}}},ll=je(null);ll.displayName="MenuContext";function Wa(e){let t=ke(ll);if(t===null){let n=new Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Wa),n}return t}function xw(e,t){return Pe(t.type,Uw,e,t)}let Hw=we;function Kw(e,t){let{__demoMode:n=!1,...r}=e,i=Dn(xw,{__demoMode:n,menuState:n?0:1,buttonRef:Xr(),itemsRef:Xr(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:a,itemsRef:o,buttonRef:u},s]=i,c=Ne(t);Vh([u,o],(h,v)=>{var p;s({type:1}),Zs(v,Js.Loose)||(h.preventDefault(),(p=u.current)==null||p.focus())},a===0);let f=ee(()=>{s({type:1})}),l=ce(()=>({open:a===0,close:f}),[a,f]),d={ref:c};return Z.createElement(ll.Provider,{value:i},Z.createElement(nl,{value:Pe(a,{0:Oe.Open,1:Oe.Closed})},Ee({ourProps:d,theirProps:r,slot:l,defaultTag:Hw,name:"Menu"})))}let Ww="button";function zw(e,t){var n;let r=at(),{id:i=`headlessui-menu-button-${r}`,...a}=e,[o,u]=Wa("Menu.Button"),s=Ne(o.buttonRef,t),c=Sr(),f=ee(p=>{switch(p.key){case ve.Space:case ve.Enter:case ve.ArrowDown:p.preventDefault(),p.stopPropagation(),u({type:0}),c.nextFrame(()=>u({type:2,focus:ht.First}));break;case ve.ArrowUp:p.preventDefault(),p.stopPropagation(),u({type:0}),c.nextFrame(()=>u({type:2,focus:ht.Last}));break}}),l=ee(p=>{switch(p.key){case ve.Space:p.preventDefault();break}}),d=ee(p=>{if(Ka(p.currentTarget))return p.preventDefault();e.disabled||(o.menuState===0?(u({type:1}),c.nextFrame(()=>{var _;return(_=o.buttonRef.current)==null?void 0:_.focus({preventScroll:!0})})):(p.preventDefault(),u({type:0})))}),h=ce(()=>({open:o.menuState===0}),[o]),v={ref:s,id:i,type:el(e,o.buttonRef),"aria-haspopup":"menu","aria-controls":(n=o.itemsRef.current)==null?void 0:n.id,"aria-expanded":o.menuState===0,onKeyDown:f,onKeyUp:l,onClick:d};return Ee({ourProps:v,theirProps:a,slot:h,defaultTag:Ww,name:"Menu.Button"})}let qw="div",Gw=cn.RenderStrategy|cn.Static;function Vw(e,t){var n,r;let i=at(),{id:a=`headlessui-menu-items-${i}`,...o}=e,[u,s]=Wa("Menu.Items"),c=Ne(u.itemsRef,t),f=Pr(u.itemsRef),l=Sr(),d=di(),h=(()=>d!==null?(d&Oe.Open)===Oe.Open:u.menuState===0)();de(()=>{let y=u.itemsRef.current;y&&u.menuState===0&&y!==(f==null?void 0:f.activeElement)&&y.focus({preventScroll:!0})},[u.menuState,u.itemsRef,f]),J1({container:u.itemsRef.current,enabled:u.menuState===0,accept(y){return y.getAttribute("role")==="menuitem"?NodeFilter.FILTER_REJECT:y.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(y){y.setAttribute("role","none")}});let v=ee(y=>{var m,b;switch(l.dispose(),y.key){case ve.Space:if(u.searchQuery!=="")return y.preventDefault(),y.stopPropagation(),s({type:3,value:y.key});case ve.Enter:if(y.preventDefault(),y.stopPropagation(),s({type:1}),u.activeItemIndex!==null){let{dataRef:E}=u.items[u.activeItemIndex];(b=(m=E.current)==null?void 0:m.domRef.current)==null||b.click()}zh(u.buttonRef.current);break;case ve.ArrowDown:return y.preventDefault(),y.stopPropagation(),s({type:2,focus:ht.Next});case ve.ArrowUp:return y.preventDefault(),y.stopPropagation(),s({type:2,focus:ht.Previous});case ve.Home:case ve.PageUp:return y.preventDefault(),y.stopPropagation(),s({type:2,focus:ht.First});case ve.End:case ve.PageDown:return y.preventDefault(),y.stopPropagation(),s({type:2,focus:ht.Last});case ve.Escape:y.preventDefault(),y.stopPropagation(),s({type:1}),bt().nextFrame(()=>{var E;return(E=u.buttonRef.current)==null?void 0:E.focus({preventScroll:!0})});break;case ve.Tab:y.preventDefault(),y.stopPropagation(),s({type:1}),bt().nextFrame(()=>{Q1(u.buttonRef.current,y.shiftKey?Nt.Previous:Nt.Next)});break;default:y.key.length===1&&(s({type:3,value:y.key}),l.setTimeout(()=>s({type:4}),350));break}}),p=ee(y=>{switch(y.key){case ve.Space:y.preventDefault();break}}),_=ce(()=>({open:u.menuState===0}),[u]),g={"aria-activedescendant":u.activeItemIndex===null||(n=u.items[u.activeItemIndex])==null?void 0:n.id,"aria-labelledby":(r=u.buttonRef.current)==null?void 0:r.id,id:a,onKeyDown:v,onKeyUp:p,role:"menu",tabIndex:0,ref:c};return Ee({ourProps:g,theirProps:o,slot:_,defaultTag:qw,features:Gw,visible:h,name:"Menu.Items"})}let Yw=we;function Xw(e,t){let n=at(),{id:r=`headlessui-menu-item-${n}`,disabled:i=!1,...a}=e,[o,u]=Wa("Menu.Item"),s=o.activeItemIndex!==null?o.items[o.activeItemIndex].id===r:!1,c=ae(null),f=Ne(t,c);Me(()=>{if(o.__demoMode||o.menuState!==0||!s||o.activationTrigger===0)return;let E=bt();return E.requestAnimationFrame(()=>{var O,S;(S=(O=c.current)==null?void 0:O.scrollIntoView)==null||S.call(O,{block:"nearest"})}),E.dispose},[o.__demoMode,c,s,o.menuState,o.activationTrigger,o.activeItemIndex]);let l=$w(c),d=ae({disabled:i,domRef:c,get textValue(){return l()}});Me(()=>{d.current.disabled=i},[d,i]),Me(()=>(u({type:5,id:r,dataRef:d}),()=>u({type:6,id:r})),[d,r]);let h=ee(()=>{u({type:1})}),v=ee(E=>{if(i)return E.preventDefault();u({type:1}),zh(o.buttonRef.current)}),p=ee(()=>{if(i)return u({type:2,focus:ht.Nothing});u({type:2,focus:ht.Specific,id:r})}),_=u_(),g=ee(E=>_.update(E)),y=ee(E=>{_.wasMoved(E)&&(i||s||u({type:2,focus:ht.Specific,id:r,trigger:0}))}),m=ee(E=>{_.wasMoved(E)&&(i||s&&u({type:2,focus:ht.Nothing}))}),b=ce(()=>({active:s,disabled:i,close:h}),[s,i,h]);return Ee({ourProps:{id:r,ref:f,role:"menuitem",tabIndex:i===!0?void 0:-1,"aria-disabled":i===!0?!0:void 0,disabled:void 0,onClick:v,onFocus:p,onPointerEnter:g,onMouseEnter:g,onPointerMove:y,onMouseMove:y,onPointerLeave:m,onMouseLeave:m},theirProps:a,slot:b,defaultTag:Yw,name:"Menu.Item"})}let Qw=Se(Kw),Jw=Se(zw),Zw=Se(Vw),eE=Se(Xw),WL=Object.assign(Qw,{Button:Jw,Items:Zw,Item:eE});function tE(e=0){let[t,n]=xe(e),r=pi(),i=Zt(s=>{r.current&&n(c=>c|s)},[t,r]),a=Zt(s=>!!(t&s),[t]),o=Zt(s=>{r.current&&n(c=>c&~s)},[n,r]),u=Zt(s=>{r.current&&n(c=>c^s)},[n]);return{flags:t,addFlag:i,hasFlag:a,removeFlag:o,toggleFlag:u}}let cv=je(null);function fv(){let e=ke(cv);if(e===null){let t=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,fv),t}return e}function nE(){let[e,t]=xe([]);return[e.length>0?e.join(" "):void 0,ce(()=>function(n){let r=ee(a=>(t(o=>[...o,a]),()=>t(o=>{let u=o.slice(),s=u.indexOf(a);return s!==-1&&u.splice(s,1),u}))),i=ce(()=>({register:r,slot:n.slot,name:n.name,props:n.props}),[r,n.slot,n.name,n.props]);return Z.createElement(cv.Provider,{value:i},n.children)},[t])]}let rE="label";function iE(e,t){let n=at(),{id:r=`headlessui-label-${n}`,passive:i=!1,...a}=e,o=fv(),u=Ne(t);Me(()=>o.register(r),[r,o.register]);let s={ref:u,...o.props,id:r};return i&&("onClick"in s&&(delete s.htmlFor,delete s.onClick),"onClick"in a&&delete a.onClick),Ee({ourProps:s,theirProps:a,slot:o.slot||{},defaultTag:rE,name:o.name||"Label"})}let aE=Se(iE),oE=Object.assign(aE,{}),cl=je(null);cl.displayName="GroupContext";let uE=we;function sE(e){var t;let[n,r]=xe(null),[i,a]=nE(),[o,u]=uv(),s=ce(()=>({switch:n,setSwitch:r,labelledby:i,describedby:o}),[n,r,i,o]),c={},f=e;return Z.createElement(u,{name:"Switch.Description"},Z.createElement(a,{name:"Switch.Label",props:{htmlFor:(t=s.switch)==null?void 0:t.id,onClick(l){n&&(l.currentTarget.tagName==="LABEL"&&l.preventDefault(),n.click(),n.focus({preventScroll:!0}))}}},Z.createElement(cl.Provider,{value:s},Ee({ourProps:c,theirProps:f,defaultTag:uE,name:"Switch.Group"}))))}let lE="button";function cE(e,t){let n=at(),{id:r=`headlessui-switch-${n}`,checked:i,defaultChecked:a=!1,onChange:o,name:u,value:s,form:c,...f}=e,l=ke(cl),d=ae(null),h=Ne(d,t,l===null?null:l.setSwitch),[v,p]=o_(i,o,a),_=ee(()=>p==null?void 0:p(!v)),g=ee(S=>{if(Ka(S.currentTarget))return S.preventDefault();S.preventDefault(),_()}),y=ee(S=>{S.key===ve.Space?(S.preventDefault(),_()):S.key===ve.Enter&&r_(S.currentTarget)}),m=ee(S=>S.preventDefault()),b=ce(()=>({checked:v}),[v]),E={id:r,ref:h,role:"switch",type:el(e,d),tabIndex:0,"aria-checked":v,"aria-labelledby":l==null?void 0:l.labelledby,"aria-describedby":l==null?void 0:l.describedby,onClick:g,onKeyUp:y,onKeyPress:m},O=Sr();return de(()=>{var S;let w=(S=d.current)==null?void 0:S.closest("form");w&&a!==void 0&&O.addEventListener(w,"reset",()=>{p(a)})},[d,p]),Z.createElement(Z.Fragment,null,u!=null&&v&&Z.createElement(ga,{features:ei.Hidden,...Du({as:"input",type:"checkbox",hidden:!0,readOnly:!0,form:c,checked:v,name:u,value:s})}),Ee({ourProps:E,theirProps:f,slot:b,defaultTag:lE,name:"Switch"}))}let fE=Se(cE),dE=sE,zL=Object.assign(fE,{Group:dE,Label:oE,Description:sv});function pE(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}function Io(e,...t){e&&t.length>0&&e.classList.add(...t)}function Lo(e,...t){e&&t.length>0&&e.classList.remove(...t)}function hE(e,t){let n=bt();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:i}=getComputedStyle(e),[a,o]=[r,i].map(s=>{let[c=0]=s.split(",").filter(Boolean).map(f=>f.includes("ms")?parseFloat(f):parseFloat(f)*1e3).sort((f,l)=>l-f);return c}),u=a+o;if(u!==0){n.group(c=>{c.setTimeout(()=>{t(),c.dispose()},u),c.addEventListener(e,"transitionrun",f=>{f.target===f.currentTarget&&c.dispose()})});let s=n.addEventListener(e,"transitionend",c=>{c.target===c.currentTarget&&(t(),s())})}else t();return n.add(()=>t()),n.dispose}function vE(e,t,n,r){let i=n?"enter":"leave",a=bt(),o=r!==void 0?pE(r):()=>{};i==="enter"&&(e.removeAttribute("hidden"),e.style.display="");let u=Pe(i,{enter:()=>t.enter,leave:()=>t.leave}),s=Pe(i,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),c=Pe(i,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return Lo(e,...t.base,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),Io(e,...t.base,...u,...c),a.nextFrame(()=>{Lo(e,...t.base,...u,...c),Io(e,...t.base,...u,...s),hE(e,()=>(Lo(e,...t.base,...u),Io(e,...t.base,...t.entered),o()))}),a.dispose}function mE({immediate:e,container:t,direction:n,classes:r,onStart:i,onStop:a}){let o=pi(),u=Sr(),s=Ft(n);Me(()=>{e&&(s.current="enter")},[e]),Me(()=>{let c=bt();u.add(c.dispose);let f=t.current;if(f&&s.current!=="idle"&&o.current)return c.dispose(),i.current(s.current),c.add(vE(f,r.current,s.current==="enter",()=>{c.dispose(),a.current(s.current)})),c.dispose},[n])}function Gt(e=""){return e.split(" ").filter(t=>t.trim().length>1)}let za=je(null);za.displayName="TransitionContext";var yE=(e=>(e.Visible="visible",e.Hidden="hidden",e))(yE||{});function gE(){let e=ke(za);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function bE(){let e=ke(qa);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let qa=je(null);qa.displayName="NestingContext";function Ga(e){return"children"in e?Ga(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function dv(e,t){let n=Ft(e),r=ae([]),i=pi(),a=Sr(),o=ee((h,v=en.Hidden)=>{let p=r.current.findIndex(({el:_})=>_===h);p!==-1&&(Pe(v,{[en.Unmount](){r.current.splice(p,1)},[en.Hidden](){r.current[p].state="hidden"}}),a.microTask(()=>{var _;!Ga(r)&&i.current&&((_=n.current)==null||_.call(n))}))}),u=ee(h=>{let v=r.current.find(({el:p})=>p===h);return v?v.state!=="visible"&&(v.state="visible"):r.current.push({el:h,state:"visible"}),()=>o(h,en.Unmount)}),s=ae([]),c=ae(Promise.resolve()),f=ae({enter:[],leave:[],idle:[]}),l=ee((h,v,p)=>{s.current.splice(0),t&&(t.chains.current[v]=t.chains.current[v].filter(([_])=>_!==h)),t==null||t.chains.current[v].push([h,new Promise(_=>{s.current.push(_)})]),t==null||t.chains.current[v].push([h,new Promise(_=>{Promise.all(f.current[v].map(([g,y])=>y)).then(()=>_())})]),v==="enter"?c.current=c.current.then(()=>t==null?void 0:t.wait.current).then(()=>p(v)):p(v)}),d=ee((h,v,p)=>{Promise.all(f.current[v].splice(0).map(([_,g])=>g)).then(()=>{var _;(_=s.current.shift())==null||_()}).then(()=>p(v))});return ce(()=>({children:r,register:u,unregister:o,onStart:l,onStop:d,wait:c,chains:f}),[u,o,r,l,d,f,c])}function _E(){}let wE=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function Jc(e){var t;let n={};for(let r of wE)n[r]=(t=e[r])!=null?t:_E;return n}function EE(e){let t=ae(Jc(e));return de(()=>{t.current=Jc(e)},[e]),t}let SE="div",pv=cn.RenderStrategy;function OE(e,t){var n,r;let{beforeEnter:i,afterEnter:a,beforeLeave:o,afterLeave:u,enter:s,enterFrom:c,enterTo:f,entered:l,leave:d,leaveFrom:h,leaveTo:v,...p}=e,_=ae(null),g=Ne(_,t),y=(n=p.unmount)==null||n?en.Unmount:en.Hidden,{show:m,appear:b,initial:E}=gE(),[O,S]=xe(m?"visible":"hidden"),w=bE(),{register:P,unregister:A}=w;de(()=>P(_),[P,_]),de(()=>{if(y===en.Hidden&&_.current){if(m&&O!=="visible"){S("visible");return}return Pe(O,{hidden:()=>A(_),visible:()=>P(_)})}},[O,_,P,A,m,y]);let L=Ft({base:Gt(p.className),enter:Gt(s),enterFrom:Gt(c),enterTo:Gt(f),entered:Gt(l),leave:Gt(d),leaveFrom:Gt(h),leaveTo:Gt(v)}),D=EE({beforeEnter:i,afterEnter:a,beforeLeave:o,afterLeave:u}),j=Or();de(()=>{if(j&&O==="visible"&&_.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[_,O,j]);let I=E&&!b,C=b&&m&&E,R=(()=>!j||I?"idle":m?"enter":"leave")(),$=tE(0),B=ee(U=>Pe(U,{enter:()=>{$.addFlag(Oe.Opening),D.current.beforeEnter()},leave:()=>{$.addFlag(Oe.Closing),D.current.beforeLeave()},idle:()=>{}})),Y=ee(U=>Pe(U,{enter:()=>{$.removeFlag(Oe.Opening),D.current.afterEnter()},leave:()=>{$.removeFlag(Oe.Closing),D.current.afterLeave()},idle:()=>{}})),z=dv(()=>{S("hidden"),A(_)},w);mE({immediate:C,container:_,classes:L,direction:R,onStart:Ft(U=>{z.onStart(_,U,B)}),onStop:Ft(U=>{z.onStop(_,U,Y),U==="leave"&&!Ga(z)&&(S("hidden"),A(_))})});let X=p,x={ref:g};return C?X={...X,className:ya(p.className,...L.current.enter,...L.current.enterFrom)}:(X.className=ya(p.className,(r=_.current)==null?void 0:r.className),X.className===""&&delete X.className),Z.createElement(qa.Provider,{value:z},Z.createElement(nl,{value:Pe(O,{visible:Oe.Open,hidden:Oe.Closed})|$.flags},Ee({ourProps:x,theirProps:X,defaultTag:SE,features:pv,visible:O==="visible",name:"Transition.Child"})))}function PE(e,t){let{show:n,appear:r=!1,unmount:i=!0,...a}=e,o=ae(null),u=Ne(o,t);Or();let s=di();if(n===void 0&&s!==null&&(n=(s&Oe.Open)===Oe.Open),![!0,!1].includes(n))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[c,f]=xe(n?"visible":"hidden"),l=dv(()=>{f("hidden")}),[d,h]=xe(!0),v=ae([n]);Me(()=>{d!==!1&&v.current[v.current.length-1]!==n&&(v.current.push(n),h(!1))},[v,n]);let p=ce(()=>({show:n,appear:r,initial:d}),[n,r,d]);de(()=>{if(n)f("visible");else if(!Ga(l))f("hidden");else{let m=o.current;if(!m)return;let b=m.getBoundingClientRect();b.x===0&&b.y===0&&b.width===0&&b.height===0&&f("hidden")}},[n,l]);let _={unmount:i},g=ee(()=>{var m;d&&h(!1),(m=e.beforeEnter)==null||m.call(e)}),y=ee(()=>{var m;d&&h(!1),(m=e.beforeLeave)==null||m.call(e)});return Z.createElement(qa.Provider,{value:l},Z.createElement(za.Provider,{value:p},Ee({ourProps:{..._,as:we,children:Z.createElement(hv,{ref:u,..._,...a,beforeEnter:g,beforeLeave:y})},theirProps:{},defaultTag:we,features:pv,visible:c==="visible",name:"Transition"})))}function AE(e,t){let n=ke(za)!==null,r=di()!==null;return Z.createElement(Z.Fragment,null,!n&&r?Z.createElement(Uu,{ref:t,...e}):Z.createElement(hv,{ref:t,...e}))}let Uu=Se(PE),hv=Se(OE),TE=Se(AE),qL=Object.assign(Uu,{Child:TE,Root:Uu});function CE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 6H5.25A2.25 2.25 0 003 8.25v10.5A2.25 2.25 0 005.25 21h10.5A2.25 2.25 0 0018 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"}))}const IE=pe(CE),GL=IE;function LE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25H12"}))}const RE=pe(LE),VL=RE;function kE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 012.25-2.25h13.5A2.25 2.25 0 0121 7.5v11.25m-18 0A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75m-18 0v-7.5A2.25 2.25 0 015.25 9h13.5A2.25 2.25 0 0121 11.25v7.5"}))}const NE=pe(kE),YL=NE;function ME({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5L8.25 12l7.5-7.5"}))}const DE=pe(ME),XL=DE;function $E({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"}))}const jE=pe($E),QL=jE;function BE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9z"}))}const FE=pe(BE),JL=FE;function UE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m9-.75a9 9 0 11-18 0 9 9 0 0118 0zm-9 3.75h.008v.008H12v-.008z"}))}const xE=pe(UE),ZL=xE;function HE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z"}))}const KE=pe(HE),eR=KE;function WE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 010-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178z"}),F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}))}const zE=pe(WE),tR=zE;function qE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 11.25v8.25a1.5 1.5 0 01-1.5 1.5H5.25a1.5 1.5 0 01-1.5-1.5v-8.25M12 4.875A2.625 2.625 0 109.375 7.5H12m0-2.625V7.5m0-2.625A2.625 2.625 0 1114.625 7.5H12m0 0V21m-8.625-9.75h18c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125h-18c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125z"}))}const GE=pe(qE),nR=GE;function VE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 5.25a3 3 0 013 3m3 0a6 6 0 01-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1121.75 8.25z"}))}const YE=pe(VE),rR=YE;function XE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18.375 12.739l-7.693 7.693a4.5 4.5 0 01-6.364-6.364l10.94-10.94A3 3 0 1119.5 7.372L8.552 18.32m.009-.01l-.01.01m5.699-9.941l-7.81 7.81a1.5 1.5 0 002.112 2.13"}))}const QE=pe(XE),iR=QE;function JE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 6.878V6a2.25 2.25 0 012.25-2.25h7.5A2.25 2.25 0 0118 6v.878m-12 0c.235-.083.487-.128.75-.128h10.5c.263 0 .515.045.75.128m-12 0A2.25 2.25 0 004.5 9v.878m13.5-3A2.25 2.25 0 0119.5 9v.878m0 0a2.246 2.246 0 00-.75-.128H5.25c-.263 0-.515.045-.75.128m15 0A2.25 2.25 0 0121 12v6a2.25 2.25 0 01-2.25 2.25H5.25A2.25 2.25 0 013 18v-6c0-.98.626-1.813 1.5-2.122"}))}const ZE=pe(JE),aR=ZE;function eS({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"}))}const tS=pe(eS),oR=tS;function nS({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))}const rS=pe(nS),uR=rS;function xu(e){this.message=e}xu.prototype=new Error,xu.prototype.name="InvalidCharacterError";var Zc=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new xu("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,i=0,a=0,o="";r=t.charAt(a++);~r&&(n=i%4?64*n+r:r,i++%4)?o+=String.fromCharCode(255&n>>(-2*i&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return o};function iS(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(n){return decodeURIComponent(Zc(n).replace(/(.)/g,function(r,i){var a=i.charCodeAt(0).toString(16).toUpperCase();return a.length<2&&(a="0"+a),"%"+a}))}(t)}catch{return Zc(t)}}function _a(e){this.message=e}function sR(e,t){if(typeof e!="string")throw new _a("Invalid token specified");var n=(t=t||{}).header===!0?0:1;try{return JSON.parse(iS(e.split(".")[n]))}catch(r){throw new _a("Invalid token specified: "+r.message)}}_a.prototype=new Error,_a.prototype.name="InvalidTokenError";const aS=(e,t)=>t.skipDedupe||t.method!=="GET",oS=(e,t)=>t.method+"@"+e,uS=e=>e.clone(),lR=({skip:e=aS,key:t=oS,resolver:n=uS}={})=>{const r=new Map;return i=>(a,o)=>{if(e(a,o))return i(a,o);const u=t(a,o);if(!r.has(u))r.set(u,[]);else return new Promise((s,c)=>{r.get(u).push([s,c])});try{return i(a,o).then(s=>(r.get(u).forEach(([c])=>c(n(s))),r.delete(u),s)).catch(s=>{throw r.get(u).forEach(([c,f])=>f(s)),r.delete(u),s})}catch(s){return r.delete(u),Promise.reject(s)}}},sS=(e,t)=>t.skipCache||t.method!=="GET",lS=(e,t)=>t.method+"@"+e,cS=(e,t)=>!1,fS=(e,t)=>null,dS=e=>e.ok,cR=({throttle:e=1e3,skip:t=sS,key:n=lS,clear:r=cS,invalidate:i=fS,condition:a=dS,flagResponseOnCacheHit:o="__cached"}={})=>{const u=new Map,s=new Map,c=new Set,f=d=>{e&&!c.has(d)&&(c.add(d),setTimeout(()=>{c.delete(d)},e))},l=d=>(h,v)=>{const p=n(h,v);let _=i(h,v);if(_&&(_ instanceof Array||(_=[_]),_.forEach(g=>{typeof g=="string"?u.delete(g):g instanceof RegExp&&u.forEach((y,m)=>{g.test(m)&&u.delete(m)})})),r(h,v)&&u.clear(),t(h,v))return d(h,v);if(c.has(p)){if(u.has(p)){const g=u.get(p).clone();return o&&Object.defineProperty(g,o,{value:p,enumerable:!1}),Promise.resolve(g)}else if(s.has(p))return new Promise((g,y)=>{s.get(p).push([g,y])})}return s.has(p)||s.set(p,[]),f(p),d(h,v).then(g=>(a(g.clone())&&u.set(p,g.clone()),s.get(p).forEach(([y])=>y(g.clone())),s.delete(p),g)).catch(g=>{throw s.get(p).forEach(([y,m])=>m(g)),s.delete(p),g})};return l.cacheResponse=function(d,h){f(d),u.set(d,h)},l.cache=u,l.inflight=s,l.throttling=c,l};function vv(e,t){return function(){return e.apply(t,arguments)}}const{toString:pS}=Object.prototype,{getPrototypeOf:fl}=Object,{iterator:Va,toStringTag:mv}=Symbol,Ya=(e=>t=>{const n=pS.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),_t=e=>(e=e.toLowerCase(),t=>Ya(t)===e),Xa=e=>t=>typeof t===e,{isArray:Ar}=Array,ti=Xa("undefined");function vi(e){return e!==null&&!ti(e)&&e.constructor!==null&&!ti(e.constructor)&&Xe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const yv=_t("ArrayBuffer");function hS(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&yv(e.buffer),t}const vS=Xa("string"),Xe=Xa("function"),gv=Xa("number"),mi=e=>e!==null&&typeof e=="object",mS=e=>e===!0||e===!1,Qi=e=>{if(Ya(e)!=="object")return!1;const t=fl(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(mv in e)&&!(Va in e)},yS=e=>{if(!mi(e)||vi(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},gS=_t("Date"),bS=_t("File"),_S=_t("Blob"),wS=_t("FileList"),ES=e=>mi(e)&&Xe(e.pipe),SS=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Xe(e.append)&&((t=Ya(e))==="formdata"||t==="object"&&Xe(e.toString)&&e.toString()==="[object FormData]"))},OS=_t("URLSearchParams"),[PS,AS,TS,CS]=["ReadableStream","Request","Response","Headers"].map(_t),IS=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function yi(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),Ar(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{if(vi(e))return;const a=n?Object.getOwnPropertyNames(e):Object.keys(e),o=a.length;let u;for(r=0;r<o;r++)u=a[r],t.call(null,e[u],u,e)}}function bv(e,t){if(vi(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const En=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),_v=e=>!ti(e)&&e!==En;function Hu(){const{caseless:e}=_v(this)&&this||{},t={},n=(r,i)=>{const a=e&&bv(t,i)||i;Qi(t[a])&&Qi(r)?t[a]=Hu(t[a],r):Qi(r)?t[a]=Hu({},r):Ar(r)?t[a]=r.slice():t[a]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&yi(arguments[r],n);return t}const LS=(e,t,n,{allOwnKeys:r}={})=>(yi(t,(i,a)=>{n&&Xe(i)?e[a]=vv(i,n):e[a]=i},{allOwnKeys:r}),e),RS=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),kS=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},NS=(e,t,n,r)=>{let i,a,o;const u={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)o=i[a],(!r||r(o,e,t))&&!u[o]&&(t[o]=e[o],u[o]=!0);e=n!==!1&&fl(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},MS=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},DS=e=>{if(!e)return null;if(Ar(e))return e;let t=e.length;if(!gv(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},$S=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&fl(Uint8Array)),jS=(e,t)=>{const r=(e&&e[Va]).call(e);let i;for(;(i=r.next())&&!i.done;){const a=i.value;t.call(e,a[0],a[1])}},BS=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},FS=_t("HTMLFormElement"),US=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),ef=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),xS=_t("RegExp"),wv=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};yi(n,(i,a)=>{let o;(o=t(i,a,e))!==!1&&(r[a]=o||i)}),Object.defineProperties(e,r)},HS=e=>{wv(e,(t,n)=>{if(Xe(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Xe(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},KS=(e,t)=>{const n={},r=i=>{i.forEach(a=>{n[a]=!0})};return Ar(e)?r(e):r(String(e).split(t)),n},WS=()=>{},zS=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function qS(e){return!!(e&&Xe(e.append)&&e[mv]==="FormData"&&e[Va])}const GS=e=>{const t=new Array(10),n=(r,i)=>{if(mi(r)){if(t.indexOf(r)>=0)return;if(vi(r))return r;if(!("toJSON"in r)){t[i]=r;const a=Ar(r)?[]:{};return yi(r,(o,u)=>{const s=n(o,i+1);!ti(s)&&(a[u]=s)}),t[i]=void 0,a}}return r};return n(e,0)},VS=_t("AsyncFunction"),YS=e=>e&&(mi(e)||Xe(e))&&Xe(e.then)&&Xe(e.catch),Ev=((e,t)=>e?setImmediate:t?((n,r)=>(En.addEventListener("message",({source:i,data:a})=>{i===En&&a===n&&r.length&&r.shift()()},!1),i=>{r.push(i),En.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Xe(En.postMessage)),XS=typeof queueMicrotask<"u"?queueMicrotask.bind(En):typeof process<"u"&&process.nextTick||Ev,QS=e=>e!=null&&Xe(e[Va]),k={isArray:Ar,isArrayBuffer:yv,isBuffer:vi,isFormData:SS,isArrayBufferView:hS,isString:vS,isNumber:gv,isBoolean:mS,isObject:mi,isPlainObject:Qi,isEmptyObject:yS,isReadableStream:PS,isRequest:AS,isResponse:TS,isHeaders:CS,isUndefined:ti,isDate:gS,isFile:bS,isBlob:_S,isRegExp:xS,isFunction:Xe,isStream:ES,isURLSearchParams:OS,isTypedArray:$S,isFileList:wS,forEach:yi,merge:Hu,extend:LS,trim:IS,stripBOM:RS,inherits:kS,toFlatObject:NS,kindOf:Ya,kindOfTest:_t,endsWith:MS,toArray:DS,forEachEntry:jS,matchAll:BS,isHTMLForm:FS,hasOwnProperty:ef,hasOwnProp:ef,reduceDescriptors:wv,freezeMethods:HS,toObjectSet:KS,toCamelCase:US,noop:WS,toFiniteNumber:zS,findKey:bv,global:En,isContextDefined:_v,isSpecCompliantForm:qS,toJSONObject:GS,isAsyncFn:VS,isThenable:YS,setImmediate:Ev,asap:XS,isIterable:QS};function re(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}k.inherits(re,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:k.toJSONObject(this.config),code:this.code,status:this.status}}});const Sv=re.prototype,Ov={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Ov[e]={value:e}});Object.defineProperties(re,Ov);Object.defineProperty(Sv,"isAxiosError",{value:!0});re.from=(e,t,n,r,i,a)=>{const o=Object.create(Sv);return k.toFlatObject(e,o,function(s){return s!==Error.prototype},u=>u!=="isAxiosError"),re.call(o,e.message,t,n,r,i),o.cause=e,o.name=e.name,a&&Object.assign(o,a),o};const JS=null;function Ku(e){return k.isPlainObject(e)||k.isArray(e)}function Pv(e){return k.endsWith(e,"[]")?e.slice(0,-2):e}function tf(e,t,n){return e?e.concat(t).map(function(i,a){return i=Pv(i),!n&&a?"["+i+"]":i}).join(n?".":""):t}function ZS(e){return k.isArray(e)&&!e.some(Ku)}const eO=k.toFlatObject(k,{},null,function(t){return/^is[A-Z]/.test(t)});function Qa(e,t,n){if(!k.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=k.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,_){return!k.isUndefined(_[p])});const r=n.metaTokens,i=n.visitor||f,a=n.dots,o=n.indexes,s=(n.Blob||typeof Blob<"u"&&Blob)&&k.isSpecCompliantForm(t);if(!k.isFunction(i))throw new TypeError("visitor must be a function");function c(v){if(v===null)return"";if(k.isDate(v))return v.toISOString();if(k.isBoolean(v))return v.toString();if(!s&&k.isBlob(v))throw new re("Blob is not supported. Use a Buffer instead.");return k.isArrayBuffer(v)||k.isTypedArray(v)?s&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function f(v,p,_){let g=v;if(v&&!_&&typeof v=="object"){if(k.endsWith(p,"{}"))p=r?p:p.slice(0,-2),v=JSON.stringify(v);else if(k.isArray(v)&&ZS(v)||(k.isFileList(v)||k.endsWith(p,"[]"))&&(g=k.toArray(v)))return p=Pv(p),g.forEach(function(m,b){!(k.isUndefined(m)||m===null)&&t.append(o===!0?tf([p],b,a):o===null?p:p+"[]",c(m))}),!1}return Ku(v)?!0:(t.append(tf(_,p,a),c(v)),!1)}const l=[],d=Object.assign(eO,{defaultVisitor:f,convertValue:c,isVisitable:Ku});function h(v,p){if(!k.isUndefined(v)){if(l.indexOf(v)!==-1)throw Error("Circular reference detected in "+p.join("."));l.push(v),k.forEach(v,function(g,y){(!(k.isUndefined(g)||g===null)&&i.call(t,g,k.isString(y)?y.trim():y,p,d))===!0&&h(g,p?p.concat(y):[y])}),l.pop()}}if(!k.isObject(e))throw new TypeError("data must be an object");return h(e),t}function nf(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function dl(e,t){this._pairs=[],e&&Qa(e,this,t)}const Av=dl.prototype;Av.append=function(t,n){this._pairs.push([t,n])};Av.toString=function(t){const n=t?function(r){return t.call(this,r,nf)}:nf;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function tO(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Tv(e,t,n){if(!t)return e;const r=n&&n.encode||tO;k.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let a;if(i?a=i(t,n):a=k.isURLSearchParams(t)?t.toString():new dl(t,n).toString(r),a){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class nO{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){k.forEach(this.handlers,function(r){r!==null&&t(r)})}}const rf=nO,Cv={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},rO=typeof URLSearchParams<"u"?URLSearchParams:dl,iO=typeof FormData<"u"?FormData:null,aO=typeof Blob<"u"?Blob:null,oO={isBrowser:!0,classes:{URLSearchParams:rO,FormData:iO,Blob:aO},protocols:["http","https","file","blob","url","data"]},pl=typeof window<"u"&&typeof document<"u",Wu=typeof navigator=="object"&&navigator||void 0,uO=pl&&(!Wu||["ReactNative","NativeScript","NS"].indexOf(Wu.product)<0),sO=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),lO=pl&&window.location.href||"http://localhost",cO=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:pl,hasStandardBrowserEnv:uO,hasStandardBrowserWebWorkerEnv:sO,navigator:Wu,origin:lO},Symbol.toStringTag,{value:"Module"})),ze={...cO,...oO};function fO(e,t){return Qa(e,new ze.classes.URLSearchParams,{visitor:function(n,r,i,a){return ze.isNode&&k.isBuffer(n)?(this.append(r,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)},...t})}function dO(e){return k.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function pO(e){const t={},n=Object.keys(e);let r;const i=n.length;let a;for(r=0;r<i;r++)a=n[r],t[a]=e[a];return t}function Iv(e){function t(n,r,i,a){let o=n[a++];if(o==="__proto__")return!0;const u=Number.isFinite(+o),s=a>=n.length;return o=!o&&k.isArray(i)?i.length:o,s?(k.hasOwnProp(i,o)?i[o]=[i[o],r]:i[o]=r,!u):((!i[o]||!k.isObject(i[o]))&&(i[o]=[]),t(n,r,i[o],a)&&k.isArray(i[o])&&(i[o]=pO(i[o])),!u)}if(k.isFormData(e)&&k.isFunction(e.entries)){const n={};return k.forEachEntry(e,(r,i)=>{t(dO(r),i,n,0)}),n}return null}function hO(e,t,n){if(k.isString(e))try{return(t||JSON.parse)(e),k.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const hl={transitional:Cv,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,a=k.isObject(t);if(a&&k.isHTMLForm(t)&&(t=new FormData(t)),k.isFormData(t))return i?JSON.stringify(Iv(t)):t;if(k.isArrayBuffer(t)||k.isBuffer(t)||k.isStream(t)||k.isFile(t)||k.isBlob(t)||k.isReadableStream(t))return t;if(k.isArrayBufferView(t))return t.buffer;if(k.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let u;if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return fO(t,this.formSerializer).toString();if((u=k.isFileList(t))||r.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return Qa(u?{"files[]":t}:t,s&&new s,this.formSerializer)}}return a||i?(n.setContentType("application/json",!1),hO(t)):t}],transformResponse:[function(t){const n=this.transitional||hl.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(k.isResponse(t)||k.isReadableStream(t))return t;if(t&&k.isString(t)&&(r&&!this.responseType||i)){const o=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(u){if(o)throw u.name==="SyntaxError"?re.from(u,re.ERR_BAD_RESPONSE,this,null,this.response):u}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ze.classes.FormData,Blob:ze.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};k.forEach(["delete","get","head","post","put","patch"],e=>{hl.headers[e]={}});const vl=hl,vO=k.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),mO=e=>{const t={};let n,r,i;return e&&e.split(`
|
|
8
|
-
`).forEach(function(o){i=o.indexOf(":"),n=o.substring(0,i).trim().toLowerCase(),r=o.substring(i+1).trim(),!(!n||t[n]&&
|
|
9
|
-
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[af]=this[af]={accessors:{}}).accessors,i=this.prototype;function a(o){const u=Mr(o);r[u]||(_O(i,o),r[u]=!0)}return k.isArray(t)?t.forEach(a):a(t),this}}Ja.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);k.reduceDescriptors(Ja.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});k.freezeMethods(Ja);const yt=Ja;function ko(e,t){const n=this||vl,r=t||n,i=yt.from(r.headers);let a=r.data;return k.forEach(e,function(u){a=u.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function Lv(e){return!!(e&&e.__CANCEL__)}function Tr(e,t,n){re.call(this,e??"canceled",re.ERR_CANCELED,t,n),this.name="CanceledError"}k.inherits(Tr,re,{__CANCEL__:!0});function Rv(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new re("Request failed with status code "+n.status,[re.ERR_BAD_REQUEST,re.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function wO(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function EO(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,a=0,o;return t=t!==void 0?t:1e3,function(s){const c=Date.now(),f=r[a];o||(o=c),n[i]=s,r[i]=c;let l=a,d=0;for(;l!==i;)d+=n[l++],l=l%e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),c-o<t)return;const h=f&&c-f;return h?Math.round(d*1e3/h):void 0}}function SO(e,t){let n=0,r=1e3/t,i,a;const o=(c,f=Date.now())=>{n=f,i=null,a&&(clearTimeout(a),a=null),e(...c)};return[(...c)=>{const f=Date.now(),l=f-n;l>=r?o(c,f):(i=c,a||(a=setTimeout(()=>{a=null,o(i)},r-l)))},()=>i&&o(i)]}const wa=(e,t,n=3)=>{let r=0;const i=EO(50,250);return SO(a=>{const o=a.loaded,u=a.lengthComputable?a.total:void 0,s=o-r,c=i(s),f=o<=u;r=o;const l={loaded:o,total:u,progress:u?o/u:void 0,bytes:s,rate:c||void 0,estimated:c&&u&&f?(u-o)/c:void 0,event:a,lengthComputable:u!=null,[t?"download":"upload"]:!0};e(l)},n)},of=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},uf=e=>(...t)=>k.asap(()=>e(...t)),OO=ze.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,ze.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(ze.origin),ze.navigator&&/(msie|trident)/i.test(ze.navigator.userAgent)):()=>!0,PO=ze.hasStandardBrowserEnv?{write(e,t,n,r,i,a){const o=[e+"="+encodeURIComponent(t)];k.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),k.isString(r)&&o.push("path="+r),k.isString(i)&&o.push("domain="+i),a===!0&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function AO(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function TO(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function kv(e,t,n){let r=!AO(t);return e&&(r||n==!1)?TO(e,t):t}const sf=e=>e instanceof yt?{...e}:e;function Rn(e,t){t=t||{};const n={};function r(c,f,l,d){return k.isPlainObject(c)&&k.isPlainObject(f)?k.merge.call({caseless:d},c,f):k.isPlainObject(f)?k.merge({},f):k.isArray(f)?f.slice():f}function i(c,f,l,d){if(k.isUndefined(f)){if(!k.isUndefined(c))return r(void 0,c,l,d)}else return r(c,f,l,d)}function a(c,f){if(!k.isUndefined(f))return r(void 0,f)}function o(c,f){if(k.isUndefined(f)){if(!k.isUndefined(c))return r(void 0,c)}else return r(void 0,f)}function u(c,f,l){if(l in t)return r(c,f);if(l in e)return r(void 0,c)}const s={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:u,headers:(c,f,l)=>i(sf(c),sf(f),l,!0)};return k.forEach(Object.keys({...e,...t}),function(f){const l=s[f]||i,d=l(e[f],t[f],f);k.isUndefined(d)&&l!==u||(n[f]=d)}),n}const Nv=e=>{const t=Rn({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:a,headers:o,auth:u}=t;t.headers=o=yt.from(o),t.url=Tv(kv(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),u&&o.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):"")));let s;if(k.isFormData(n)){if(ze.hasStandardBrowserEnv||ze.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((s=o.getContentType())!==!1){const[c,...f]=s?s.split(";").map(l=>l.trim()).filter(Boolean):[];o.setContentType([c||"multipart/form-data",...f].join("; "))}}if(ze.hasStandardBrowserEnv&&(r&&k.isFunction(r)&&(r=r(t)),r||r!==!1&&OO(t.url))){const c=i&&a&&PO.read(a);c&&o.set(i,c)}return t},CO=typeof XMLHttpRequest<"u",IO=CO&&function(e){return new Promise(function(n,r){const i=Nv(e);let a=i.data;const o=yt.from(i.headers).normalize();let{responseType:u,onUploadProgress:s,onDownloadProgress:c}=i,f,l,d,h,v;function p(){h&&h(),v&&v(),i.cancelToken&&i.cancelToken.unsubscribe(f),i.signal&&i.signal.removeEventListener("abort",f)}let _=new XMLHttpRequest;_.open(i.method.toUpperCase(),i.url,!0),_.timeout=i.timeout;function g(){if(!_)return;const m=yt.from("getAllResponseHeaders"in _&&_.getAllResponseHeaders()),E={data:!u||u==="text"||u==="json"?_.responseText:_.response,status:_.status,statusText:_.statusText,headers:m,config:e,request:_};Rv(function(S){n(S),p()},function(S){r(S),p()},E),_=null}"onloadend"in _?_.onloadend=g:_.onreadystatechange=function(){!_||_.readyState!==4||_.status===0&&!(_.responseURL&&_.responseURL.indexOf("file:")===0)||setTimeout(g)},_.onabort=function(){_&&(r(new re("Request aborted",re.ECONNABORTED,e,_)),_=null)},_.onerror=function(){r(new re("Network Error",re.ERR_NETWORK,e,_)),_=null},_.ontimeout=function(){let b=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const E=i.transitional||Cv;i.timeoutErrorMessage&&(b=i.timeoutErrorMessage),r(new re(b,E.clarifyTimeoutError?re.ETIMEDOUT:re.ECONNABORTED,e,_)),_=null},a===void 0&&o.setContentType(null),"setRequestHeader"in _&&k.forEach(o.toJSON(),function(b,E){_.setRequestHeader(E,b)}),k.isUndefined(i.withCredentials)||(_.withCredentials=!!i.withCredentials),u&&u!=="json"&&(_.responseType=i.responseType),c&&([d,v]=wa(c,!0),_.addEventListener("progress",d)),s&&_.upload&&([l,h]=wa(s),_.upload.addEventListener("progress",l),_.upload.addEventListener("loadend",h)),(i.cancelToken||i.signal)&&(f=m=>{_&&(r(!m||m.type?new Tr(null,e,_):m),_.abort(),_=null)},i.cancelToken&&i.cancelToken.subscribe(f),i.signal&&(i.signal.aborted?f():i.signal.addEventListener("abort",f)));const y=wO(i.url);if(y&&ze.protocols.indexOf(y)===-1){r(new re("Unsupported protocol "+y+":",re.ERR_BAD_REQUEST,e));return}_.send(a||null)})},LO=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,i;const a=function(c){if(!i){i=!0,u();const f=c instanceof Error?c:this.reason;r.abort(f instanceof re?f:new Tr(f instanceof Error?f.message:f))}};let o=t&&setTimeout(()=>{o=null,a(new re(`timeout ${t} of ms exceeded`,re.ETIMEDOUT))},t);const u=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(a):c.removeEventListener("abort",a)}),e=null)};e.forEach(c=>c.addEventListener("abort",a));const{signal:s}=r;return s.unsubscribe=()=>k.asap(u),s}},RO=LO,kO=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},NO=async function*(e,t){for await(const n of MO(e))yield*kO(n,t)},MO=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},lf=(e,t,n,r)=>{const i=NO(e,t);let a=0,o,u=s=>{o||(o=!0,r&&r(s))};return new ReadableStream({async pull(s){try{const{done:c,value:f}=await i.next();if(c){u(),s.close();return}let l=f.byteLength;if(n){let d=a+=l;n(d)}s.enqueue(new Uint8Array(f))}catch(c){throw u(c),c}},cancel(s){return u(s),i.return()}},{highWaterMark:2})},Za=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Mv=Za&&typeof ReadableStream=="function",DO=Za&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Dv=(e,...t)=>{try{return!!e(...t)}catch{return!1}},$O=Mv&&Dv(()=>{let e=!1;const t=new Request(ze.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),cf=64*1024,zu=Mv&&Dv(()=>k.isReadableStream(new Response("").body)),Ea={stream:zu&&(e=>e.body)};Za&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Ea[t]&&(Ea[t]=k.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new re(`Response type '${t}' is not supported`,re.ERR_NOT_SUPPORT,r)})})})(new Response);const jO=async e=>{if(e==null)return 0;if(k.isBlob(e))return e.size;if(k.isSpecCompliantForm(e))return(await new Request(ze.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(k.isArrayBufferView(e)||k.isArrayBuffer(e))return e.byteLength;if(k.isURLSearchParams(e)&&(e=e+""),k.isString(e))return(await DO(e)).byteLength},BO=async(e,t)=>{const n=k.toFiniteNumber(e.getContentLength());return n??jO(t)},FO=Za&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:a,timeout:o,onDownloadProgress:u,onUploadProgress:s,responseType:c,headers:f,withCredentials:l="same-origin",fetchOptions:d}=Nv(e);c=c?(c+"").toLowerCase():"text";let h=RO([i,a&&a.toAbortSignal()],o),v;const p=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let _;try{if(s&&$O&&n!=="get"&&n!=="head"&&(_=await BO(f,r))!==0){let E=new Request(t,{method:"POST",body:r,duplex:"half"}),O;if(k.isFormData(r)&&(O=E.headers.get("content-type"))&&f.setContentType(O),E.body){const[S,w]=of(_,wa(uf(s)));r=lf(E.body,cf,S,w)}}k.isString(l)||(l=l?"include":"omit");const g="credentials"in Request.prototype;v=new Request(t,{...d,signal:h,method:n.toUpperCase(),headers:f.normalize().toJSON(),body:r,duplex:"half",credentials:g?l:void 0});let y=await fetch(v,d);const m=zu&&(c==="stream"||c==="response");if(zu&&(u||m&&p)){const E={};["status","statusText","headers"].forEach(P=>{E[P]=y[P]});const O=k.toFiniteNumber(y.headers.get("content-length")),[S,w]=u&&of(O,wa(uf(u),!0))||[];y=new Response(lf(y.body,cf,S,()=>{w&&w(),p&&p()}),E)}c=c||"text";let b=await Ea[k.findKey(Ea,c)||"text"](y,e);return!m&&p&&p(),await new Promise((E,O)=>{Rv(E,O,{data:b,headers:yt.from(y.headers),status:y.status,statusText:y.statusText,config:e,request:v})})}catch(g){throw p&&p(),g&&g.name==="TypeError"&&/Load failed|fetch/i.test(g.message)?Object.assign(new re("Network Error",re.ERR_NETWORK,e,v),{cause:g.cause||g}):re.from(g,g&&g.code,e,v)}}),qu={http:JS,xhr:IO,fetch:FO};k.forEach(qu,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const ff=e=>`- ${e}`,UO=e=>k.isFunction(e)||e===null||e===!1,$v={getAdapter:e=>{e=k.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let a=0;a<t;a++){n=e[a];let o;if(r=n,!UO(n)&&(r=qu[(o=String(n)).toLowerCase()],r===void 0))throw new re(`Unknown adapter '${o}'`);if(r)break;i[o||"#"+a]=r}if(!r){const a=Object.entries(i).map(([u,s])=>`adapter ${u} `+(s===!1?"is not supported by the environment":"is not available in the build"));let o=t?a.length>1?`since :
|
|
7
|
+
`));let l=c.props,d=typeof(l==null?void 0:l.className)=="function"?(...v)=>ya(l==null?void 0:l.className(...v),u.className):ya(l==null?void 0:l.className,u.className),h=d?{className:d}:{};return Fs(c,Object.assign({},Qh(c.props,Du(Po(u,["ref"]))),f,s,n_(c.ref,s.ref),h))}return F(i,Object.assign({},Po(u,["ref"]),i!==we&&s,i!==we&&f),c)}function n_(...e){return{ref:e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}}function Qh(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let i in r)i.startsWith("on")&&typeof r[i]=="function"?(n[i]!=null||(n[i]=[]),n[i].push(r[i])):t[i]=r[i];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(r=>[r,void 0])));for(let r in n)Object.assign(t,{[r](i,...a){let o=n[r];for(let u of o){if((i instanceof Event||(i==null?void 0:i.nativeEvent)instanceof Event)&&i.defaultPrevented)return;u(i,...a)}}});return t}function Se(e){var t;return Object.assign(pe(e),{displayName:(t=e.displayName)!=null?t:e.name})}function Du(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function Po(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function Ka(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=(t==null?void 0:t.getAttribute("disabled"))==="";return r&&r_(n)?!1:r}function r_(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}function i_(e){var t,n;let r=(t=e==null?void 0:e.form)!=null?t:e.closest("form");if(r){for(let i of r.elements)if(i!==e&&(i.tagName==="INPUT"&&i.type==="submit"||i.tagName==="BUTTON"&&i.type==="submit"||i.nodeName==="INPUT"&&i.type==="image")){i.click();return}(n=r.requestSubmit)==null||n.call(r)}}let a_="div";var ei=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(ei||{});function o_(e,t){let{features:n=1,...r}=e,i={ref:t,"aria-hidden":(n&2)===2?!0: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",...(n&4)===4&&(n&2)!==2&&{display:"none"}}};return Ee({ourProps:i,theirProps:r,slot:{},defaultTag:a_,name:"Hidden"})}let ga=Se(o_),tl=je(null);tl.displayName="OpenClosedContext";var Oe=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(Oe||{});function di(){return ke(tl)}function nl({value:e,children:t}){return Z.createElement(tl.Provider,{value:e},t)}var ve=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(ve||{});function u_(e,t,n){let[r,i]=xe(n),a=e!==void 0,o=ae(a),u=ae(!1),s=ae(!1);return a&&!o.current&&!u.current?(u.current=!0,o.current=a,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.")):!a&&o.current&&!s.current&&(s.current=!0,o.current=a,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.")),[a?e:r,ee(c=>(a||i(c),t==null?void 0:t(c)))]}function rl(e,t){let n=ae([]),r=ee(e);de(()=>{let i=[...n.current];for(let[a,o]of t.entries())if(n.current[a]!==o){let u=r(t,i);return n.current=t,u}},[r,...t])}function Gc(e){return[e.screenX,e.screenY]}function s_(){let e=ae([-1,-1]);return{wasMoved(t){let n=Gc(t);return e.current[0]===n[0]&&e.current[1]===n[1]?!1:(e.current=n,!0)},update(t){e.current=Gc(t)}}}function l_(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Pr(...e){return ce(()=>fi(...e),[...e])}var Br=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Br||{});function c_(){let e=ae(0);return Gh("keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function pi(){let e=ae(!1);return Me(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function Jh(e,t,n,r){let i=Ft(n);de(()=>{e=e??window;function a(o){i.current(o)}return e.addEventListener(t,a,r),()=>e.removeEventListener(t,a,r)},[e,t,r])}function f_(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}function Zh(e){let t=ee(e),n=ae(!1);de(()=>(n.current=!1,()=>{n.current=!0,Ha(()=>{n.current&&t()})}),[t])}function ev(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let n of e.current)n.current instanceof HTMLElement&&t.add(n.current);return t}let d_="div";var tv=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(tv||{});function p_(e,t){let n=ae(null),r=Ne(n,t),{initialFocus:i,containers:a,features:o=30,...u}=e;Or()||(o=1);let s=Pr(n);m_({ownerDocument:s},!!(o&16));let c=y_({ownerDocument:s,container:n,initialFocus:i},!!(o&2));g_({ownerDocument:s,container:n,containers:a,previousActiveElement:c},!!(o&8));let f=c_(),l=ee(p=>{let _=n.current;_&&(g=>g())(()=>{Pe(f.current,{[Br.Forwards]:()=>{Hr(_,Nt.First,{skipElements:[p.relatedTarget]})},[Br.Backwards]:()=>{Hr(_,Nt.Last,{skipElements:[p.relatedTarget]})}})})}),d=Sr(),h=ae(!1),v={ref:r,onKeyDown(p){p.key=="Tab"&&(h.current=!0,d.requestAnimationFrame(()=>{h.current=!1}))},onBlur(p){let _=ev(a);n.current instanceof HTMLElement&&_.add(n.current);let g=p.relatedTarget;g instanceof HTMLElement&&g.dataset.headlessuiFocusGuard!=="true"&&(nv(_,g)||(h.current?Hr(n.current,Pe(f.current,{[Br.Forwards]:()=>Nt.Next,[Br.Backwards]:()=>Nt.Previous})|Nt.WrapAround,{relativeTo:p.target}):p.target instanceof HTMLElement&&on(p.target)))}};return Z.createElement(Z.Fragment,null,!!(o&4)&&Z.createElement(ga,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:l,features:ei.Focusable}),Ee({ourProps:v,theirProps:u,defaultTag:d_,name:"FocusTrap"}),!!(o&4)&&Z.createElement(ga,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:l,features:ei.Focusable}))}let h_=Se(p_),kr=Object.assign(h_,{features:tv}),Qt=[];f_(()=>{function e(t){t.target instanceof HTMLElement&&t.target!==document.body&&Qt[0]!==t.target&&(Qt.unshift(t.target),Qt=Qt.filter(n=>n!=null&&n.isConnected),Qt.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function v_(e=!0){let t=ae(Qt.slice());return rl(([n],[r])=>{r===!0&&n===!1&&Ha(()=>{t.current.splice(0)}),r===!1&&n===!0&&(t.current=Qt.slice())},[e,Qt,t]),ee(()=>{var n;return(n=t.current.find(r=>r!=null&&r.isConnected))!=null?n:null})}function m_({ownerDocument:e},t){let n=v_(t);rl(()=>{t||(e==null?void 0:e.activeElement)===(e==null?void 0:e.body)&&on(n())},[t]),Zh(()=>{t&&on(n())})}function y_({ownerDocument:e,container:t,initialFocus:n},r){let i=ae(null),a=pi();return rl(()=>{if(!r)return;let o=t.current;o&&Ha(()=>{if(!a.current)return;let u=e==null?void 0:e.activeElement;if(n!=null&&n.current){if((n==null?void 0:n.current)===u){i.current=u;return}}else if(o.contains(u)){i.current=u;return}n!=null&&n.current?on(n.current):Hr(o,Nt.First)===Kh.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),i.current=e==null?void 0:e.activeElement})},[r]),i}function g_({ownerDocument:e,container:t,containers:n,previousActiveElement:r},i){let a=pi();Jh(e==null?void 0:e.defaultView,"focus",o=>{if(!i||!a.current)return;let u=ev(n);t.current instanceof HTMLElement&&u.add(t.current);let s=r.current;if(!s)return;let c=o.target;c&&c instanceof HTMLElement?nv(u,c)?(r.current=c,on(c)):(o.preventDefault(),o.stopPropagation(),on(s)):on(r.current)},!0)}function nv(e,t){for(let n of e)if(n.contains(t))return!0;return!1}let rv=je(!1);function b_(){return ke(rv)}function $u(e){return Z.createElement(rv.Provider,{value:e.force},e.children)}function __(e){let t=b_(),n=ke(iv),r=Pr(e),[i,a]=xe(()=>{if(!t&&n!==null||Bt.isServer)return null;let o=r==null?void 0:r.getElementById("headlessui-portal-root");if(o)return o;if(r===null)return null;let u=r.createElement("div");return u.setAttribute("id","headlessui-portal-root"),r.body.appendChild(u)});return de(()=>{i!==null&&(r!=null&&r.body.contains(i)||r==null||r.body.appendChild(i))},[i,r]),de(()=>{t||n!==null&&a(n.current)},[n,a,t]),i}let w_=we;function E_(e,t){let n=e,r=ae(null),i=Ne(Xh(f=>{r.current=f}),t),a=Pr(r),o=__(r),[u]=xe(()=>{var f;return Bt.isServer?null:(f=a==null?void 0:a.createElement("div"))!=null?f:null}),s=ke(ju),c=Or();return Me(()=>{!o||!u||o.contains(u)||(u.setAttribute("data-headlessui-portal",""),o.appendChild(u))},[o,u]),Me(()=>{if(u&&s)return s.register(u)},[s,u]),Zh(()=>{var f;!o||!u||(u instanceof Node&&o.contains(u)&&o.removeChild(u),o.childNodes.length<=0&&((f=o.parentElement)==null||f.removeChild(o)))}),c?!o||!u?null:js(Ee({ourProps:{ref:i},theirProps:n,defaultTag:w_,name:"Portal"}),u):null}let S_=we,iv=je(null);function O_(e,t){let{target:n,...r}=e,i={ref:Ne(t)};return Z.createElement(iv.Provider,{value:n},Ee({ourProps:i,theirProps:r,defaultTag:S_,name:"Popover.Group"}))}let ju=je(null);function P_(){let e=ke(ju),t=ae([]),n=ee(a=>(t.current.push(a),e&&e.register(a),()=>r(a))),r=ee(a=>{let o=t.current.indexOf(a);o!==-1&&t.current.splice(o,1),e&&e.unregister(a)}),i=ce(()=>({register:n,unregister:r,portals:t}),[n,r,t]);return[t,ce(()=>function({children:a}){return Z.createElement(ju.Provider,{value:i},a)},[i])]}let A_=Se(E_),T_=Se(O_),Bu=Object.assign(A_,{Group:T_}),av=je(null);function ov(){let e=ke(av);if(e===null){let t=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,ov),t}return e}function uv(){let[e,t]=xe([]);return[e.length>0?e.join(" "):void 0,ce(()=>function(n){let r=ee(a=>(t(o=>[...o,a]),()=>t(o=>{let u=o.slice(),s=u.indexOf(a);return s!==-1&&u.splice(s,1),u}))),i=ce(()=>({register:r,slot:n.slot,name:n.name,props:n.props}),[r,n.slot,n.name,n.props]);return Z.createElement(av.Provider,{value:i},n.children)},[t])]}let C_="p";function I_(e,t){let n=at(),{id:r=`headlessui-description-${n}`,...i}=e,a=ov(),o=Ne(t);Me(()=>a.register(r),[r,a.register]);let u={ref:o,...a.props,id:r};return Ee({ourProps:u,theirProps:i,slot:a.slot||{},defaultTag:C_,name:a.name||"Description"})}let L_=Se(I_),sv=Object.assign(L_,{}),il=je(()=>{});il.displayName="StackContext";var Fu=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(Fu||{});function R_(){return ke(il)}function k_({children:e,onUpdate:t,type:n,element:r,enabled:i}){let a=R_(),o=ee((...u)=>{t==null||t(...u),a(...u)});return Me(()=>{let u=i===void 0||i===!0;return u&&o(0,n,r),()=>{u&&o(1,n,r)}},[o,n,r,i]),Z.createElement(il.Provider,{value:o},e)}function N_(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}const M_=typeof Object.is=="function"?Object.is:N_,{useState:D_,useEffect:$_,useLayoutEffect:j_,useDebugValue:B_}=or;function F_(e,t,n){const r=t(),[{inst:i},a]=D_({inst:{value:r,getSnapshot:t}});return j_(()=>{i.value=r,i.getSnapshot=t,Ao(i)&&a({inst:i})},[e,r,t]),$_(()=>(Ao(i)&&a({inst:i}),e(()=>{Ao(i)&&a({inst:i})})),[e]),B_(r),r}function Ao(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!M_(n,r)}catch{return!0}}function U_(e,t,n){return t()}const x_=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",H_=!x_,K_=H_?U_:F_,W_="useSyncExternalStore"in or?(e=>e.useSyncExternalStore)(or):K_;function z_(e){return W_(e.subscribe,e.getSnapshot,e.getSnapshot)}function q_(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(i){return r.add(i),()=>r.delete(i)},dispatch(i,...a){let o=t[i].call(n,...a);o&&(n=o,r.forEach(u=>u()))}}}function G_(){let e;return{before({doc:t}){var n;let r=t.documentElement;e=((n=t.defaultView)!=null?n:window).innerWidth-r.clientWidth},after({doc:t,d:n}){let r=t.documentElement,i=r.clientWidth-r.offsetWidth,a=e-i;n.style(r,"paddingRight",`${a}px`)}}}function V_(){if(!l_())return{};let e;return{before(){e=window.pageYOffset},after({doc:t,d:n,meta:r}){function i(a){return r.containers.flatMap(o=>o()).some(o=>o.contains(a))}n.microTask(()=>{if(window.getComputedStyle(t.documentElement).scrollBehavior!=="auto"){let o=bt();o.style(t.documentElement,"scroll-behavior","auto"),n.add(()=>n.microTask(()=>o.dispose()))}n.style(t.body,"marginTop",`-${e}px`),window.scrollTo(0,0);let a=null;n.addEventListener(t,"click",o=>{if(o.target instanceof HTMLElement)try{let u=o.target.closest("a");if(!u)return;let{hash:s}=new URL(u.href),c=t.querySelector(s);c&&!i(c)&&(a=c)}catch{}},!0),n.addEventListener(t,"touchmove",o=>{o.target instanceof HTMLElement&&!i(o.target)&&o.preventDefault()},{passive:!1}),n.add(()=>{window.scrollTo(0,window.pageYOffset+e),a&&a.isConnected&&(a.scrollIntoView({block:"nearest"}),a=null)})})}}}function Y_(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function X_(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let wn=q_(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:bt(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:X_(n)},i=[V_(),G_(),Y_()];i.forEach(({before:a})=>a==null?void 0:a(r)),i.forEach(({after:a})=>a==null?void 0:a(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});wn.subscribe(()=>{let e=wn.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let r=t.get(n.doc)==="hidden",i=n.count!==0;(i&&!r||!i&&r)&&wn.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&wn.dispatch("TEARDOWN",n)}});function Q_(e,t,n){let r=z_(wn),i=e?r.get(e):void 0,a=i?i.count>0:!1;return Me(()=>{if(!(!e||!t))return wn.dispatch("PUSH",e,n),()=>wn.dispatch("POP",e,n)},[t,e]),a}let To=new Map,Nr=new Map;function Vc(e,t=!0){Me(()=>{var n;if(!t)return;let r=typeof e=="function"?e():e.current;if(!r)return;function i(){var o;if(!r)return;let u=(o=Nr.get(r))!=null?o:1;if(u===1?Nr.delete(r):Nr.set(r,u-1),u!==1)return;let s=To.get(r);s&&(s["aria-hidden"]===null?r.removeAttribute("aria-hidden"):r.setAttribute("aria-hidden",s["aria-hidden"]),r.inert=s.inert,To.delete(r))}let a=(n=Nr.get(r))!=null?n:0;return Nr.set(r,a+1),a!==0||(To.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),r.setAttribute("aria-hidden","true"),r.inert=!0),i},[e,t])}function J_({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){var r;let i=ae((r=n==null?void 0:n.current)!=null?r:null),a=Pr(i),o=ee(()=>{var u;let s=[];for(let c of e)c!==null&&(c instanceof HTMLElement?s.push(c):"current"in c&&c.current instanceof HTMLElement&&s.push(c.current));if(t!=null&&t.current)for(let c of t.current)s.push(c);for(let c of(u=a==null?void 0:a.querySelectorAll("html > *, body > *"))!=null?u:[])c!==document.body&&c!==document.head&&c instanceof HTMLElement&&c.id!=="headlessui-portal-root"&&(c.contains(i.current)||s.some(f=>c.contains(f))||s.push(c));return s});return{resolveContainers:o,contains:ee(u=>o().some(s=>s.contains(u))),mainTreeNodeRef:i,MainTreeNode:ce(()=>function(){return n!=null?null:Z.createElement(ga,{features:ei.Hidden,ref:i})},[i,n])}}var Z_=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Z_||{}),ew=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(ew||{});let tw={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},ba=je(null);ba.displayName="DialogContext";function hi(e){let t=ke(ba);if(t===null){let n=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,hi),n}return t}function nw(e,t,n=()=>[document.body]){Q_(e,t,r=>{var i;return{containers:[...(i=r.containers)!=null?i:[],n]}})}function rw(e,t){return Pe(t.type,tw,e,t)}let iw="div",aw=cn.RenderStrategy|cn.Static;function ow(e,t){var n;let r=at(),{id:i=`headlessui-dialog-${r}`,open:a,onClose:o,initialFocus:u,__demoMode:s=!1,...c}=e,[f,l]=xe(0),d=di();a===void 0&&d!==null&&(a=(d&Oe.Open)===Oe.Open);let h=ae(null),v=Ne(h,t),p=Pr(h),_=e.hasOwnProperty("open")||d!==null,g=e.hasOwnProperty("onClose");if(!_&&!g)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!_)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!g)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(typeof a!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${a}`);if(typeof o!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${o}`);let y=a?0:1,[m,b]=Dn(rw,{titleId:null,descriptionId:null,panelRef:Xr()}),E=ee(()=>o(!1)),O=ee(Q=>b({type:0,id:Q})),S=Or()?s?!1:y===0:!1,w=f>1,P=ke(ba)!==null,[A,L]=P_(),{resolveContainers:D,mainTreeNodeRef:j,MainTreeNode:I}=J_({portals:A,defaultContainers:[(n=m.panelRef.current)!=null?n:h.current]}),C=w?"parent":"leaf",R=d!==null?(d&Oe.Closing)===Oe.Closing:!1,$=(()=>P||R?!1:S)(),B=Zt(()=>{var Q,oe;return(oe=Array.from((Q=p==null?void 0:p.querySelectorAll("body > *"))!=null?Q:[]).find(ie=>ie.id==="headlessui-portal-root"?!1:ie.contains(j.current)&&ie instanceof HTMLElement))!=null?oe:null},[j]);Vc(B,$);let Y=(()=>w?!0:S)(),z=Zt(()=>{var Q,oe;return(oe=Array.from((Q=p==null?void 0:p.querySelectorAll("[data-headlessui-portal]"))!=null?Q:[]).find(ie=>ie.contains(j.current)&&ie instanceof HTMLElement))!=null?oe:null},[j]);Vc(z,Y);let X=(()=>!(!S||w))();Vh(D,E,X);let x=(()=>!(w||y!==0))();Jh(p==null?void 0:p.defaultView,"keydown",Q=>{x&&(Q.defaultPrevented||Q.key===ve.Escape&&(Q.preventDefault(),Q.stopPropagation(),E()))});let U=(()=>!(R||y!==0||P))();nw(p,U,D),de(()=>{if(y!==0||!h.current)return;let Q=new ResizeObserver(oe=>{for(let ie of oe){let ge=ie.target.getBoundingClientRect();ge.x===0&&ge.y===0&&ge.width===0&&ge.height===0&&E()}});return Q.observe(h.current),()=>Q.disconnect()},[y,h,E]);let[q,H]=uv(),ne=ce(()=>[{dialogState:y,close:E,setTitleId:O},m],[y,m,E,O]),le=ce(()=>({open:y===0}),[y]),te={ref:v,id:i,role:"dialog","aria-modal":y===0?!0:void 0,"aria-labelledby":m.titleId,"aria-describedby":q};return Z.createElement(k_,{type:"Dialog",enabled:y===0,element:h,onUpdate:ee((Q,oe)=>{oe==="Dialog"&&Pe(Q,{[Fu.Add]:()=>l(ie=>ie+1),[Fu.Remove]:()=>l(ie=>ie-1)})})},Z.createElement($u,{force:!0},Z.createElement(Bu,null,Z.createElement(ba.Provider,{value:ne},Z.createElement(Bu.Group,{target:h},Z.createElement($u,{force:!1},Z.createElement(H,{slot:le,name:"Dialog.Description"},Z.createElement(kr,{initialFocus:u,containers:D,features:S?Pe(C,{parent:kr.features.RestoreFocus,leaf:kr.features.All&~kr.features.FocusLock}):kr.features.None},Z.createElement(L,null,Ee({ourProps:te,theirProps:c,slot:le,defaultTag:iw,features:aw,visible:y===0,name:"Dialog"}))))))))),Z.createElement(I,null))}let uw="div";function sw(e,t){let n=at(),{id:r=`headlessui-dialog-overlay-${n}`,...i}=e,[{dialogState:a,close:o}]=hi("Dialog.Overlay"),u=Ne(t),s=ee(f=>{if(f.target===f.currentTarget){if(Ka(f.currentTarget))return f.preventDefault();f.preventDefault(),f.stopPropagation(),o()}}),c=ce(()=>({open:a===0}),[a]);return Ee({ourProps:{ref:u,id:r,"aria-hidden":!0,onClick:s},theirProps:i,slot:c,defaultTag:uw,name:"Dialog.Overlay"})}let lw="div";function cw(e,t){let n=at(),{id:r=`headlessui-dialog-backdrop-${n}`,...i}=e,[{dialogState:a},o]=hi("Dialog.Backdrop"),u=Ne(t);de(()=>{if(o.panelRef.current===null)throw new Error("A <Dialog.Backdrop /> component is being used, but a <Dialog.Panel /> component is missing.")},[o.panelRef]);let s=ce(()=>({open:a===0}),[a]);return Z.createElement($u,{force:!0},Z.createElement(Bu,null,Ee({ourProps:{ref:u,id:r,"aria-hidden":!0},theirProps:i,slot:s,defaultTag:lw,name:"Dialog.Backdrop"})))}let fw="div";function dw(e,t){let n=at(),{id:r=`headlessui-dialog-panel-${n}`,...i}=e,[{dialogState:a},o]=hi("Dialog.Panel"),u=Ne(t,o.panelRef),s=ce(()=>({open:a===0}),[a]),c=ee(f=>{f.stopPropagation()});return Ee({ourProps:{ref:u,id:r,onClick:c},theirProps:i,slot:s,defaultTag:fw,name:"Dialog.Panel"})}let pw="h2";function hw(e,t){let n=at(),{id:r=`headlessui-dialog-title-${n}`,...i}=e,[{dialogState:a,setTitleId:o}]=hi("Dialog.Title"),u=Ne(t);de(()=>(o(r),()=>o(null)),[r,o]);let s=ce(()=>({open:a===0}),[a]);return Ee({ourProps:{ref:u,id:r},theirProps:i,slot:s,defaultTag:pw,name:"Dialog.Title"})}let vw=Se(ow),mw=Se(cw),yw=Se(dw),gw=Se(sw),bw=Se(hw),KL=Object.assign(vw,{Backdrop:mw,Panel:yw,Overlay:gw,Title:bw,Description:sv});var Yc;let _w=(Yc=Z.startTransition)!=null?Yc:function(e){e()};var ww=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(ww||{}),Ew=(e=>(e[e.ToggleDisclosure=0]="ToggleDisclosure",e[e.CloseDisclosure=1]="CloseDisclosure",e[e.SetButtonId=2]="SetButtonId",e[e.SetPanelId=3]="SetPanelId",e[e.LinkPanel=4]="LinkPanel",e[e.UnlinkPanel=5]="UnlinkPanel",e))(Ew||{});let Sw={0:e=>({...e,disclosureState:Pe(e.disclosureState,{0:1,1:0})}),1:e=>e.disclosureState===1?e:{...e,disclosureState:1},4(e){return e.linkedPanel===!0?e:{...e,linkedPanel:!0}},5(e){return e.linkedPanel===!1?e:{...e,linkedPanel:!1}},2(e,t){return e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId}},3(e,t){return e.panelId===t.panelId?e:{...e,panelId:t.panelId}}},al=je(null);al.displayName="DisclosureContext";function ol(e){let t=ke(al);if(t===null){let n=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,ol),n}return t}let ul=je(null);ul.displayName="DisclosureAPIContext";function lv(e){let t=ke(ul);if(t===null){let n=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,lv),n}return t}let sl=je(null);sl.displayName="DisclosurePanelContext";function Ow(){return ke(sl)}function Pw(e,t){return Pe(t.type,Sw,e,t)}let Aw=we;function Tw(e,t){let{defaultOpen:n=!1,...r}=e,i=ae(null),a=Ne(t,Xh(_=>{i.current=_},e.as===void 0||e.as===we)),o=ae(null),u=ae(null),s=Dn(Pw,{disclosureState:n?0:1,linkedPanel:!1,buttonRef:u,panelRef:o,buttonId:null,panelId:null}),[{disclosureState:c,buttonId:f},l]=s,d=ee(_=>{l({type:1});let g=fi(i);if(!g||!f)return;let y=(()=>_?_ instanceof HTMLElement?_:_.current instanceof HTMLElement?_.current:g.getElementById(f):g.getElementById(f))();y==null||y.focus()}),h=ce(()=>({close:d}),[d]),v=ce(()=>({open:c===0,close:d}),[c,d]),p={ref:a};return Z.createElement(al.Provider,{value:s},Z.createElement(ul.Provider,{value:h},Z.createElement(nl,{value:Pe(c,{0:Oe.Open,1:Oe.Closed})},Ee({ourProps:p,theirProps:r,slot:v,defaultTag:Aw,name:"Disclosure"}))))}let Cw="button";function Iw(e,t){let n=at(),{id:r=`headlessui-disclosure-button-${n}`,...i}=e,[a,o]=ol("Disclosure.Button"),u=Ow(),s=u===null?!1:u===a.panelId,c=ae(null),f=Ne(c,t,s?null:a.buttonRef);de(()=>{if(!s)return o({type:2,buttonId:r}),()=>{o({type:2,buttonId:null})}},[r,o,s]);let l=ee(g=>{var y;if(s){if(a.disclosureState===1)return;switch(g.key){case ve.Space:case ve.Enter:g.preventDefault(),g.stopPropagation(),o({type:0}),(y=a.buttonRef.current)==null||y.focus();break}}else switch(g.key){case ve.Space:case ve.Enter:g.preventDefault(),g.stopPropagation(),o({type:0});break}}),d=ee(g=>{switch(g.key){case ve.Space:g.preventDefault();break}}),h=ee(g=>{var y;Ka(g.currentTarget)||e.disabled||(s?(o({type:0}),(y=a.buttonRef.current)==null||y.focus()):o({type:0}))}),v=ce(()=>({open:a.disclosureState===0}),[a]),p=el(e,c),_=s?{ref:f,type:p,onKeyDown:l,onClick:h}:{ref:f,id:r,type:p,"aria-expanded":a.disclosureState===0,"aria-controls":a.linkedPanel?a.panelId:void 0,onKeyDown:l,onKeyUp:d,onClick:h};return Ee({ourProps:_,theirProps:i,slot:v,defaultTag:Cw,name:"Disclosure.Button"})}let Lw="div",Rw=cn.RenderStrategy|cn.Static;function kw(e,t){let n=at(),{id:r=`headlessui-disclosure-panel-${n}`,...i}=e,[a,o]=ol("Disclosure.Panel"),{close:u}=lv("Disclosure.Panel"),s=Ne(t,a.panelRef,h=>{_w(()=>o({type:h?4:5}))});de(()=>(o({type:3,panelId:r}),()=>{o({type:3,panelId:null})}),[r,o]);let c=di(),f=(()=>c!==null?(c&Oe.Open)===Oe.Open:a.disclosureState===0)(),l=ce(()=>({open:a.disclosureState===0,close:u}),[a,u]),d={ref:s,id:r};return Z.createElement(sl.Provider,{value:a.panelId},Ee({ourProps:d,theirProps:i,slot:l,defaultTag:Lw,features:Rw,visible:f,name:"Disclosure.Panel"}))}let Nw=Se(Tw),Mw=Se(Iw),Dw=Se(kw),WL=Object.assign(Nw,{Button:Mw,Panel:Dw}),Xc=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function Qc(e){var t,n;let r=(t=e.innerText)!=null?t:"",i=e.cloneNode(!0);if(!(i instanceof HTMLElement))return r;let a=!1;for(let u of i.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))u.remove(),a=!0;let o=a?(n=i.innerText)!=null?n:"":r;return Xc.test(o)&&(o=o.replace(Xc,"")),o}function $w(e){let t=e.getAttribute("aria-label");if(typeof t=="string")return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let r=n.split(" ").map(i=>{let a=document.getElementById(i);if(a){let o=a.getAttribute("aria-label");return typeof o=="string"?o.trim():Qc(a).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return Qc(e).trim()}function jw(e){let t=ae(""),n=ae("");return ee(()=>{let r=e.current;if(!r)return"";let i=r.innerText;if(t.current===i)return n.current;let a=$w(r).trim().toLowerCase();return t.current=i,n.current=a,a})}var Bw=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Bw||{}),Fw=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Fw||{}),Uw=(e=>(e[e.OpenMenu=0]="OpenMenu",e[e.CloseMenu=1]="CloseMenu",e[e.GoToItem=2]="GoToItem",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterItem=5]="RegisterItem",e[e.UnregisterItem=6]="UnregisterItem",e))(Uw||{});function Co(e,t=n=>n){let n=e.activeItemIndex!==null?e.items[e.activeItemIndex]:null,r=qh(t(e.items.slice()),a=>a.dataRef.current.domRef.current),i=n?r.indexOf(n):null;return i===-1&&(i=null),{items:r,activeItemIndex:i}}let xw={1(e){return e.menuState===1?e:{...e,activeItemIndex:null,menuState:1}},0(e){return e.menuState===0?e:{...e,__demoMode:!1,menuState:0}},2:(e,t)=>{var n;let r=Co(e),i=t_(t,{resolveItems:()=>r.items,resolveActiveIndex:()=>r.activeItemIndex,resolveId:a=>a.id,resolveDisabled:a=>a.dataRef.current.disabled});return{...e,...r,searchQuery:"",activeItemIndex:i,activationTrigger:(n=t.trigger)!=null?n:1}},3:(e,t)=>{let n=e.searchQuery!==""?0:1,r=e.searchQuery+t.value.toLowerCase(),i=(e.activeItemIndex!==null?e.items.slice(e.activeItemIndex+n).concat(e.items.slice(0,e.activeItemIndex+n)):e.items).find(o=>{var u;return((u=o.dataRef.current.textValue)==null?void 0:u.startsWith(r))&&!o.dataRef.current.disabled}),a=i?e.items.indexOf(i):-1;return a===-1||a===e.activeItemIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeItemIndex:a,activationTrigger:1}},4(e){return e.searchQuery===""?e:{...e,searchQuery:"",searchActiveItemIndex:null}},5:(e,t)=>{let n=Co(e,r=>[...r,{id:t.id,dataRef:t.dataRef}]);return{...e,...n}},6:(e,t)=>{let n=Co(e,r=>{let i=r.findIndex(a=>a.id===t.id);return i!==-1&&r.splice(i,1),r});return{...e,...n,activationTrigger:1}}},ll=je(null);ll.displayName="MenuContext";function Wa(e){let t=ke(ll);if(t===null){let n=new Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Wa),n}return t}function Hw(e,t){return Pe(t.type,xw,e,t)}let Kw=we;function Ww(e,t){let{__demoMode:n=!1,...r}=e,i=Dn(Hw,{__demoMode:n,menuState:n?0:1,buttonRef:Xr(),itemsRef:Xr(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:a,itemsRef:o,buttonRef:u},s]=i,c=Ne(t);Vh([u,o],(h,v)=>{var p;s({type:1}),Zs(v,Js.Loose)||(h.preventDefault(),(p=u.current)==null||p.focus())},a===0);let f=ee(()=>{s({type:1})}),l=ce(()=>({open:a===0,close:f}),[a,f]),d={ref:c};return Z.createElement(ll.Provider,{value:i},Z.createElement(nl,{value:Pe(a,{0:Oe.Open,1:Oe.Closed})},Ee({ourProps:d,theirProps:r,slot:l,defaultTag:Kw,name:"Menu"})))}let zw="button";function qw(e,t){var n;let r=at(),{id:i=`headlessui-menu-button-${r}`,...a}=e,[o,u]=Wa("Menu.Button"),s=Ne(o.buttonRef,t),c=Sr(),f=ee(p=>{switch(p.key){case ve.Space:case ve.Enter:case ve.ArrowDown:p.preventDefault(),p.stopPropagation(),u({type:0}),c.nextFrame(()=>u({type:2,focus:ht.First}));break;case ve.ArrowUp:p.preventDefault(),p.stopPropagation(),u({type:0}),c.nextFrame(()=>u({type:2,focus:ht.Last}));break}}),l=ee(p=>{switch(p.key){case ve.Space:p.preventDefault();break}}),d=ee(p=>{if(Ka(p.currentTarget))return p.preventDefault();e.disabled||(o.menuState===0?(u({type:1}),c.nextFrame(()=>{var _;return(_=o.buttonRef.current)==null?void 0:_.focus({preventScroll:!0})})):(p.preventDefault(),u({type:0})))}),h=ce(()=>({open:o.menuState===0}),[o]),v={ref:s,id:i,type:el(e,o.buttonRef),"aria-haspopup":"menu","aria-controls":(n=o.itemsRef.current)==null?void 0:n.id,"aria-expanded":o.menuState===0,onKeyDown:f,onKeyUp:l,onClick:d};return Ee({ourProps:v,theirProps:a,slot:h,defaultTag:zw,name:"Menu.Button"})}let Gw="div",Vw=cn.RenderStrategy|cn.Static;function Yw(e,t){var n,r;let i=at(),{id:a=`headlessui-menu-items-${i}`,...o}=e,[u,s]=Wa("Menu.Items"),c=Ne(u.itemsRef,t),f=Pr(u.itemsRef),l=Sr(),d=di(),h=(()=>d!==null?(d&Oe.Open)===Oe.Open:u.menuState===0)();de(()=>{let y=u.itemsRef.current;y&&u.menuState===0&&y!==(f==null?void 0:f.activeElement)&&y.focus({preventScroll:!0})},[u.menuState,u.itemsRef,f]),Z1({container:u.itemsRef.current,enabled:u.menuState===0,accept(y){return y.getAttribute("role")==="menuitem"?NodeFilter.FILTER_REJECT:y.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(y){y.setAttribute("role","none")}});let v=ee(y=>{var m,b;switch(l.dispose(),y.key){case ve.Space:if(u.searchQuery!=="")return y.preventDefault(),y.stopPropagation(),s({type:3,value:y.key});case ve.Enter:if(y.preventDefault(),y.stopPropagation(),s({type:1}),u.activeItemIndex!==null){let{dataRef:E}=u.items[u.activeItemIndex];(b=(m=E.current)==null?void 0:m.domRef.current)==null||b.click()}zh(u.buttonRef.current);break;case ve.ArrowDown:return y.preventDefault(),y.stopPropagation(),s({type:2,focus:ht.Next});case ve.ArrowUp:return y.preventDefault(),y.stopPropagation(),s({type:2,focus:ht.Previous});case ve.Home:case ve.PageUp:return y.preventDefault(),y.stopPropagation(),s({type:2,focus:ht.First});case ve.End:case ve.PageDown:return y.preventDefault(),y.stopPropagation(),s({type:2,focus:ht.Last});case ve.Escape:y.preventDefault(),y.stopPropagation(),s({type:1}),bt().nextFrame(()=>{var E;return(E=u.buttonRef.current)==null?void 0:E.focus({preventScroll:!0})});break;case ve.Tab:y.preventDefault(),y.stopPropagation(),s({type:1}),bt().nextFrame(()=>{J1(u.buttonRef.current,y.shiftKey?Nt.Previous:Nt.Next)});break;default:y.key.length===1&&(s({type:3,value:y.key}),l.setTimeout(()=>s({type:4}),350));break}}),p=ee(y=>{switch(y.key){case ve.Space:y.preventDefault();break}}),_=ce(()=>({open:u.menuState===0}),[u]),g={"aria-activedescendant":u.activeItemIndex===null||(n=u.items[u.activeItemIndex])==null?void 0:n.id,"aria-labelledby":(r=u.buttonRef.current)==null?void 0:r.id,id:a,onKeyDown:v,onKeyUp:p,role:"menu",tabIndex:0,ref:c};return Ee({ourProps:g,theirProps:o,slot:_,defaultTag:Gw,features:Vw,visible:h,name:"Menu.Items"})}let Xw=we;function Qw(e,t){let n=at(),{id:r=`headlessui-menu-item-${n}`,disabled:i=!1,...a}=e,[o,u]=Wa("Menu.Item"),s=o.activeItemIndex!==null?o.items[o.activeItemIndex].id===r:!1,c=ae(null),f=Ne(t,c);Me(()=>{if(o.__demoMode||o.menuState!==0||!s||o.activationTrigger===0)return;let E=bt();return E.requestAnimationFrame(()=>{var O,S;(S=(O=c.current)==null?void 0:O.scrollIntoView)==null||S.call(O,{block:"nearest"})}),E.dispose},[o.__demoMode,c,s,o.menuState,o.activationTrigger,o.activeItemIndex]);let l=jw(c),d=ae({disabled:i,domRef:c,get textValue(){return l()}});Me(()=>{d.current.disabled=i},[d,i]),Me(()=>(u({type:5,id:r,dataRef:d}),()=>u({type:6,id:r})),[d,r]);let h=ee(()=>{u({type:1})}),v=ee(E=>{if(i)return E.preventDefault();u({type:1}),zh(o.buttonRef.current)}),p=ee(()=>{if(i)return u({type:2,focus:ht.Nothing});u({type:2,focus:ht.Specific,id:r})}),_=s_(),g=ee(E=>_.update(E)),y=ee(E=>{_.wasMoved(E)&&(i||s||u({type:2,focus:ht.Specific,id:r,trigger:0}))}),m=ee(E=>{_.wasMoved(E)&&(i||s&&u({type:2,focus:ht.Nothing}))}),b=ce(()=>({active:s,disabled:i,close:h}),[s,i,h]);return Ee({ourProps:{id:r,ref:f,role:"menuitem",tabIndex:i===!0?void 0:-1,"aria-disabled":i===!0?!0:void 0,disabled:void 0,onClick:v,onFocus:p,onPointerEnter:g,onMouseEnter:g,onPointerMove:y,onMouseMove:y,onPointerLeave:m,onMouseLeave:m},theirProps:a,slot:b,defaultTag:Xw,name:"Menu.Item"})}let Jw=Se(Ww),Zw=Se(qw),eE=Se(Yw),tE=Se(Qw),zL=Object.assign(Jw,{Button:Zw,Items:eE,Item:tE});function nE(e=0){let[t,n]=xe(e),r=pi(),i=Zt(s=>{r.current&&n(c=>c|s)},[t,r]),a=Zt(s=>!!(t&s),[t]),o=Zt(s=>{r.current&&n(c=>c&~s)},[n,r]),u=Zt(s=>{r.current&&n(c=>c^s)},[n]);return{flags:t,addFlag:i,hasFlag:a,removeFlag:o,toggleFlag:u}}let cv=je(null);function fv(){let e=ke(cv);if(e===null){let t=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,fv),t}return e}function rE(){let[e,t]=xe([]);return[e.length>0?e.join(" "):void 0,ce(()=>function(n){let r=ee(a=>(t(o=>[...o,a]),()=>t(o=>{let u=o.slice(),s=u.indexOf(a);return s!==-1&&u.splice(s,1),u}))),i=ce(()=>({register:r,slot:n.slot,name:n.name,props:n.props}),[r,n.slot,n.name,n.props]);return Z.createElement(cv.Provider,{value:i},n.children)},[t])]}let iE="label";function aE(e,t){let n=at(),{id:r=`headlessui-label-${n}`,passive:i=!1,...a}=e,o=fv(),u=Ne(t);Me(()=>o.register(r),[r,o.register]);let s={ref:u,...o.props,id:r};return i&&("onClick"in s&&(delete s.htmlFor,delete s.onClick),"onClick"in a&&delete a.onClick),Ee({ourProps:s,theirProps:a,slot:o.slot||{},defaultTag:iE,name:o.name||"Label"})}let oE=Se(aE),uE=Object.assign(oE,{}),cl=je(null);cl.displayName="GroupContext";let sE=we;function lE(e){var t;let[n,r]=xe(null),[i,a]=rE(),[o,u]=uv(),s=ce(()=>({switch:n,setSwitch:r,labelledby:i,describedby:o}),[n,r,i,o]),c={},f=e;return Z.createElement(u,{name:"Switch.Description"},Z.createElement(a,{name:"Switch.Label",props:{htmlFor:(t=s.switch)==null?void 0:t.id,onClick(l){n&&(l.currentTarget.tagName==="LABEL"&&l.preventDefault(),n.click(),n.focus({preventScroll:!0}))}}},Z.createElement(cl.Provider,{value:s},Ee({ourProps:c,theirProps:f,defaultTag:sE,name:"Switch.Group"}))))}let cE="button";function fE(e,t){let n=at(),{id:r=`headlessui-switch-${n}`,checked:i,defaultChecked:a=!1,onChange:o,name:u,value:s,form:c,...f}=e,l=ke(cl),d=ae(null),h=Ne(d,t,l===null?null:l.setSwitch),[v,p]=u_(i,o,a),_=ee(()=>p==null?void 0:p(!v)),g=ee(S=>{if(Ka(S.currentTarget))return S.preventDefault();S.preventDefault(),_()}),y=ee(S=>{S.key===ve.Space?(S.preventDefault(),_()):S.key===ve.Enter&&i_(S.currentTarget)}),m=ee(S=>S.preventDefault()),b=ce(()=>({checked:v}),[v]),E={id:r,ref:h,role:"switch",type:el(e,d),tabIndex:0,"aria-checked":v,"aria-labelledby":l==null?void 0:l.labelledby,"aria-describedby":l==null?void 0:l.describedby,onClick:g,onKeyUp:y,onKeyPress:m},O=Sr();return de(()=>{var S;let w=(S=d.current)==null?void 0:S.closest("form");w&&a!==void 0&&O.addEventListener(w,"reset",()=>{p(a)})},[d,p]),Z.createElement(Z.Fragment,null,u!=null&&v&&Z.createElement(ga,{features:ei.Hidden,...Du({as:"input",type:"checkbox",hidden:!0,readOnly:!0,form:c,checked:v,name:u,value:s})}),Ee({ourProps:E,theirProps:f,slot:b,defaultTag:cE,name:"Switch"}))}let dE=Se(fE),pE=lE,qL=Object.assign(dE,{Group:pE,Label:uE,Description:sv});function hE(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}function Io(e,...t){e&&t.length>0&&e.classList.add(...t)}function Lo(e,...t){e&&t.length>0&&e.classList.remove(...t)}function vE(e,t){let n=bt();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:i}=getComputedStyle(e),[a,o]=[r,i].map(s=>{let[c=0]=s.split(",").filter(Boolean).map(f=>f.includes("ms")?parseFloat(f):parseFloat(f)*1e3).sort((f,l)=>l-f);return c}),u=a+o;if(u!==0){n.group(c=>{c.setTimeout(()=>{t(),c.dispose()},u),c.addEventListener(e,"transitionrun",f=>{f.target===f.currentTarget&&c.dispose()})});let s=n.addEventListener(e,"transitionend",c=>{c.target===c.currentTarget&&(t(),s())})}else t();return n.add(()=>t()),n.dispose}function mE(e,t,n,r){let i=n?"enter":"leave",a=bt(),o=r!==void 0?hE(r):()=>{};i==="enter"&&(e.removeAttribute("hidden"),e.style.display="");let u=Pe(i,{enter:()=>t.enter,leave:()=>t.leave}),s=Pe(i,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),c=Pe(i,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return Lo(e,...t.base,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),Io(e,...t.base,...u,...c),a.nextFrame(()=>{Lo(e,...t.base,...u,...c),Io(e,...t.base,...u,...s),vE(e,()=>(Lo(e,...t.base,...u),Io(e,...t.base,...t.entered),o()))}),a.dispose}function yE({immediate:e,container:t,direction:n,classes:r,onStart:i,onStop:a}){let o=pi(),u=Sr(),s=Ft(n);Me(()=>{e&&(s.current="enter")},[e]),Me(()=>{let c=bt();u.add(c.dispose);let f=t.current;if(f&&s.current!=="idle"&&o.current)return c.dispose(),i.current(s.current),c.add(mE(f,r.current,s.current==="enter",()=>{c.dispose(),a.current(s.current)})),c.dispose},[n])}function Gt(e=""){return e.split(" ").filter(t=>t.trim().length>1)}let za=je(null);za.displayName="TransitionContext";var gE=(e=>(e.Visible="visible",e.Hidden="hidden",e))(gE||{});function bE(){let e=ke(za);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function _E(){let e=ke(qa);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let qa=je(null);qa.displayName="NestingContext";function Ga(e){return"children"in e?Ga(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function dv(e,t){let n=Ft(e),r=ae([]),i=pi(),a=Sr(),o=ee((h,v=en.Hidden)=>{let p=r.current.findIndex(({el:_})=>_===h);p!==-1&&(Pe(v,{[en.Unmount](){r.current.splice(p,1)},[en.Hidden](){r.current[p].state="hidden"}}),a.microTask(()=>{var _;!Ga(r)&&i.current&&((_=n.current)==null||_.call(n))}))}),u=ee(h=>{let v=r.current.find(({el:p})=>p===h);return v?v.state!=="visible"&&(v.state="visible"):r.current.push({el:h,state:"visible"}),()=>o(h,en.Unmount)}),s=ae([]),c=ae(Promise.resolve()),f=ae({enter:[],leave:[],idle:[]}),l=ee((h,v,p)=>{s.current.splice(0),t&&(t.chains.current[v]=t.chains.current[v].filter(([_])=>_!==h)),t==null||t.chains.current[v].push([h,new Promise(_=>{s.current.push(_)})]),t==null||t.chains.current[v].push([h,new Promise(_=>{Promise.all(f.current[v].map(([g,y])=>y)).then(()=>_())})]),v==="enter"?c.current=c.current.then(()=>t==null?void 0:t.wait.current).then(()=>p(v)):p(v)}),d=ee((h,v,p)=>{Promise.all(f.current[v].splice(0).map(([_,g])=>g)).then(()=>{var _;(_=s.current.shift())==null||_()}).then(()=>p(v))});return ce(()=>({children:r,register:u,unregister:o,onStart:l,onStop:d,wait:c,chains:f}),[u,o,r,l,d,f,c])}function wE(){}let EE=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function Jc(e){var t;let n={};for(let r of EE)n[r]=(t=e[r])!=null?t:wE;return n}function SE(e){let t=ae(Jc(e));return de(()=>{t.current=Jc(e)},[e]),t}let OE="div",pv=cn.RenderStrategy;function PE(e,t){var n,r;let{beforeEnter:i,afterEnter:a,beforeLeave:o,afterLeave:u,enter:s,enterFrom:c,enterTo:f,entered:l,leave:d,leaveFrom:h,leaveTo:v,...p}=e,_=ae(null),g=Ne(_,t),y=(n=p.unmount)==null||n?en.Unmount:en.Hidden,{show:m,appear:b,initial:E}=bE(),[O,S]=xe(m?"visible":"hidden"),w=_E(),{register:P,unregister:A}=w;de(()=>P(_),[P,_]),de(()=>{if(y===en.Hidden&&_.current){if(m&&O!=="visible"){S("visible");return}return Pe(O,{hidden:()=>A(_),visible:()=>P(_)})}},[O,_,P,A,m,y]);let L=Ft({base:Gt(p.className),enter:Gt(s),enterFrom:Gt(c),enterTo:Gt(f),entered:Gt(l),leave:Gt(d),leaveFrom:Gt(h),leaveTo:Gt(v)}),D=SE({beforeEnter:i,afterEnter:a,beforeLeave:o,afterLeave:u}),j=Or();de(()=>{if(j&&O==="visible"&&_.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[_,O,j]);let I=E&&!b,C=b&&m&&E,R=(()=>!j||I?"idle":m?"enter":"leave")(),$=nE(0),B=ee(U=>Pe(U,{enter:()=>{$.addFlag(Oe.Opening),D.current.beforeEnter()},leave:()=>{$.addFlag(Oe.Closing),D.current.beforeLeave()},idle:()=>{}})),Y=ee(U=>Pe(U,{enter:()=>{$.removeFlag(Oe.Opening),D.current.afterEnter()},leave:()=>{$.removeFlag(Oe.Closing),D.current.afterLeave()},idle:()=>{}})),z=dv(()=>{S("hidden"),A(_)},w);yE({immediate:C,container:_,classes:L,direction:R,onStart:Ft(U=>{z.onStart(_,U,B)}),onStop:Ft(U=>{z.onStop(_,U,Y),U==="leave"&&!Ga(z)&&(S("hidden"),A(_))})});let X=p,x={ref:g};return C?X={...X,className:ya(p.className,...L.current.enter,...L.current.enterFrom)}:(X.className=ya(p.className,(r=_.current)==null?void 0:r.className),X.className===""&&delete X.className),Z.createElement(qa.Provider,{value:z},Z.createElement(nl,{value:Pe(O,{visible:Oe.Open,hidden:Oe.Closed})|$.flags},Ee({ourProps:x,theirProps:X,defaultTag:OE,features:pv,visible:O==="visible",name:"Transition.Child"})))}function AE(e,t){let{show:n,appear:r=!1,unmount:i=!0,...a}=e,o=ae(null),u=Ne(o,t);Or();let s=di();if(n===void 0&&s!==null&&(n=(s&Oe.Open)===Oe.Open),![!0,!1].includes(n))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[c,f]=xe(n?"visible":"hidden"),l=dv(()=>{f("hidden")}),[d,h]=xe(!0),v=ae([n]);Me(()=>{d!==!1&&v.current[v.current.length-1]!==n&&(v.current.push(n),h(!1))},[v,n]);let p=ce(()=>({show:n,appear:r,initial:d}),[n,r,d]);de(()=>{if(n)f("visible");else if(!Ga(l))f("hidden");else{let m=o.current;if(!m)return;let b=m.getBoundingClientRect();b.x===0&&b.y===0&&b.width===0&&b.height===0&&f("hidden")}},[n,l]);let _={unmount:i},g=ee(()=>{var m;d&&h(!1),(m=e.beforeEnter)==null||m.call(e)}),y=ee(()=>{var m;d&&h(!1),(m=e.beforeLeave)==null||m.call(e)});return Z.createElement(qa.Provider,{value:l},Z.createElement(za.Provider,{value:p},Ee({ourProps:{..._,as:we,children:Z.createElement(hv,{ref:u,..._,...a,beforeEnter:g,beforeLeave:y})},theirProps:{},defaultTag:we,features:pv,visible:c==="visible",name:"Transition"})))}function TE(e,t){let n=ke(za)!==null,r=di()!==null;return Z.createElement(Z.Fragment,null,!n&&r?Z.createElement(Uu,{ref:t,...e}):Z.createElement(hv,{ref:t,...e}))}let Uu=Se(AE),hv=Se(PE),CE=Se(TE),GL=Object.assign(Uu,{Child:CE,Root:Uu});function IE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 6H5.25A2.25 2.25 0 003 8.25v10.5A2.25 2.25 0 005.25 21h10.5A2.25 2.25 0 0018 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"}))}const LE=pe(IE),VL=LE;function RE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25H12"}))}const kE=pe(RE),YL=kE;function NE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 012.25-2.25h13.5A2.25 2.25 0 0121 7.5v11.25m-18 0A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75m-18 0v-7.5A2.25 2.25 0 015.25 9h13.5A2.25 2.25 0 0121 11.25v7.5"}))}const ME=pe(NE),XL=ME;function DE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5L8.25 12l7.5-7.5"}))}const $E=pe(DE),QL=$E;function jE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"}))}const BE=pe(jE),JL=BE;function FE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9z"}))}const UE=pe(FE),ZL=UE;function xE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m9-.75a9 9 0 11-18 0 9 9 0 0118 0zm-9 3.75h.008v.008H12v-.008z"}))}const HE=pe(xE),eR=HE;function KE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z"}))}const WE=pe(KE),tR=WE;function zE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 010-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178z"}),F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}))}const qE=pe(zE),nR=qE;function GE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 11.25v8.25a1.5 1.5 0 01-1.5 1.5H5.25a1.5 1.5 0 01-1.5-1.5v-8.25M12 4.875A2.625 2.625 0 109.375 7.5H12m0-2.625V7.5m0-2.625A2.625 2.625 0 1114.625 7.5H12m0 0V21m-8.625-9.75h18c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125h-18c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125z"}))}const VE=pe(GE),rR=VE;function YE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 5.25a3 3 0 013 3m3 0a6 6 0 01-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1121.75 8.25z"}))}const XE=pe(YE),iR=XE;function QE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18.375 12.739l-7.693 7.693a4.5 4.5 0 01-6.364-6.364l10.94-10.94A3 3 0 1119.5 7.372L8.552 18.32m.009-.01l-.01.01m5.699-9.941l-7.81 7.81a1.5 1.5 0 002.112 2.13"}))}const JE=pe(QE),aR=JE;function ZE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 6.878V6a2.25 2.25 0 012.25-2.25h7.5A2.25 2.25 0 0118 6v.878m-12 0c.235-.083.487-.128.75-.128h10.5c.263 0 .515.045.75.128m-12 0A2.25 2.25 0 004.5 9v.878m13.5-3A2.25 2.25 0 0119.5 9v.878m0 0a2.246 2.246 0 00-.75-.128H5.25c-.263 0-.515.045-.75.128m15 0A2.25 2.25 0 0121 12v6a2.25 2.25 0 01-2.25 2.25H5.25A2.25 2.25 0 013 18v-6c0-.98.626-1.813 1.5-2.122"}))}const eS=pe(ZE),oR=eS;function tS({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"}))}const nS=pe(tS),uR=nS;function rS({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))}const iS=pe(rS),sR=iS;function xu(e){this.message=e}xu.prototype=new Error,xu.prototype.name="InvalidCharacterError";var Zc=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new xu("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,i=0,a=0,o="";r=t.charAt(a++);~r&&(n=i%4?64*n+r:r,i++%4)?o+=String.fromCharCode(255&n>>(-2*i&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return o};function aS(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(n){return decodeURIComponent(Zc(n).replace(/(.)/g,function(r,i){var a=i.charCodeAt(0).toString(16).toUpperCase();return a.length<2&&(a="0"+a),"%"+a}))}(t)}catch{return Zc(t)}}function _a(e){this.message=e}function lR(e,t){if(typeof e!="string")throw new _a("Invalid token specified");var n=(t=t||{}).header===!0?0:1;try{return JSON.parse(aS(e.split(".")[n]))}catch(r){throw new _a("Invalid token specified: "+r.message)}}_a.prototype=new Error,_a.prototype.name="InvalidTokenError";const oS=(e,t)=>t.skipDedupe||t.method!=="GET",uS=(e,t)=>t.method+"@"+e,sS=e=>e.clone(),cR=({skip:e=oS,key:t=uS,resolver:n=sS}={})=>{const r=new Map;return i=>(a,o)=>{if(e(a,o))return i(a,o);const u=t(a,o);if(!r.has(u))r.set(u,[]);else return new Promise((s,c)=>{r.get(u).push([s,c])});try{return i(a,o).then(s=>(r.get(u).forEach(([c])=>c(n(s))),r.delete(u),s)).catch(s=>{throw r.get(u).forEach(([c,f])=>f(s)),r.delete(u),s})}catch(s){return r.delete(u),Promise.reject(s)}}},lS=(e,t)=>t.skipCache||t.method!=="GET",cS=(e,t)=>t.method+"@"+e,fS=(e,t)=>!1,dS=(e,t)=>null,pS=e=>e.ok,fR=({throttle:e=1e3,skip:t=lS,key:n=cS,clear:r=fS,invalidate:i=dS,condition:a=pS,flagResponseOnCacheHit:o="__cached"}={})=>{const u=new Map,s=new Map,c=new Set,f=d=>{e&&!c.has(d)&&(c.add(d),setTimeout(()=>{c.delete(d)},e))},l=d=>(h,v)=>{const p=n(h,v);let _=i(h,v);if(_&&(_ instanceof Array||(_=[_]),_.forEach(g=>{typeof g=="string"?u.delete(g):g instanceof RegExp&&u.forEach((y,m)=>{g.test(m)&&u.delete(m)})})),r(h,v)&&u.clear(),t(h,v))return d(h,v);if(c.has(p)){if(u.has(p)){const g=u.get(p).clone();return o&&Object.defineProperty(g,o,{value:p,enumerable:!1}),Promise.resolve(g)}else if(s.has(p))return new Promise((g,y)=>{s.get(p).push([g,y])})}return s.has(p)||s.set(p,[]),f(p),d(h,v).then(g=>(a(g.clone())&&u.set(p,g.clone()),s.get(p).forEach(([y])=>y(g.clone())),s.delete(p),g)).catch(g=>{throw s.get(p).forEach(([y,m])=>m(g)),s.delete(p),g})};return l.cacheResponse=function(d,h){f(d),u.set(d,h)},l.cache=u,l.inflight=s,l.throttling=c,l};function vv(e,t){return function(){return e.apply(t,arguments)}}const{toString:hS}=Object.prototype,{getPrototypeOf:fl}=Object,{iterator:Va,toStringTag:mv}=Symbol,Ya=(e=>t=>{const n=hS.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),_t=e=>(e=e.toLowerCase(),t=>Ya(t)===e),Xa=e=>t=>typeof t===e,{isArray:Ar}=Array,ti=Xa("undefined");function vi(e){return e!==null&&!ti(e)&&e.constructor!==null&&!ti(e.constructor)&&Xe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const yv=_t("ArrayBuffer");function vS(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&yv(e.buffer),t}const mS=Xa("string"),Xe=Xa("function"),gv=Xa("number"),mi=e=>e!==null&&typeof e=="object",yS=e=>e===!0||e===!1,Qi=e=>{if(Ya(e)!=="object")return!1;const t=fl(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(mv in e)&&!(Va in e)},gS=e=>{if(!mi(e)||vi(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},bS=_t("Date"),_S=_t("File"),wS=_t("Blob"),ES=_t("FileList"),SS=e=>mi(e)&&Xe(e.pipe),OS=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Xe(e.append)&&((t=Ya(e))==="formdata"||t==="object"&&Xe(e.toString)&&e.toString()==="[object FormData]"))},PS=_t("URLSearchParams"),[AS,TS,CS,IS]=["ReadableStream","Request","Response","Headers"].map(_t),LS=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function yi(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),Ar(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{if(vi(e))return;const a=n?Object.getOwnPropertyNames(e):Object.keys(e),o=a.length;let u;for(r=0;r<o;r++)u=a[r],t.call(null,e[u],u,e)}}function bv(e,t){if(vi(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const En=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),_v=e=>!ti(e)&&e!==En;function Hu(){const{caseless:e}=_v(this)&&this||{},t={},n=(r,i)=>{const a=e&&bv(t,i)||i;Qi(t[a])&&Qi(r)?t[a]=Hu(t[a],r):Qi(r)?t[a]=Hu({},r):Ar(r)?t[a]=r.slice():t[a]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&yi(arguments[r],n);return t}const RS=(e,t,n,{allOwnKeys:r}={})=>(yi(t,(i,a)=>{n&&Xe(i)?e[a]=vv(i,n):e[a]=i},{allOwnKeys:r}),e),kS=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),NS=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},MS=(e,t,n,r)=>{let i,a,o;const u={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)o=i[a],(!r||r(o,e,t))&&!u[o]&&(t[o]=e[o],u[o]=!0);e=n!==!1&&fl(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},DS=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},$S=e=>{if(!e)return null;if(Ar(e))return e;let t=e.length;if(!gv(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},jS=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&fl(Uint8Array)),BS=(e,t)=>{const r=(e&&e[Va]).call(e);let i;for(;(i=r.next())&&!i.done;){const a=i.value;t.call(e,a[0],a[1])}},FS=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},US=_t("HTMLFormElement"),xS=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),ef=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),HS=_t("RegExp"),wv=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};yi(n,(i,a)=>{let o;(o=t(i,a,e))!==!1&&(r[a]=o||i)}),Object.defineProperties(e,r)},KS=e=>{wv(e,(t,n)=>{if(Xe(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Xe(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},WS=(e,t)=>{const n={},r=i=>{i.forEach(a=>{n[a]=!0})};return Ar(e)?r(e):r(String(e).split(t)),n},zS=()=>{},qS=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function GS(e){return!!(e&&Xe(e.append)&&e[mv]==="FormData"&&e[Va])}const VS=e=>{const t=new Array(10),n=(r,i)=>{if(mi(r)){if(t.indexOf(r)>=0)return;if(vi(r))return r;if(!("toJSON"in r)){t[i]=r;const a=Ar(r)?[]:{};return yi(r,(o,u)=>{const s=n(o,i+1);!ti(s)&&(a[u]=s)}),t[i]=void 0,a}}return r};return n(e,0)},YS=_t("AsyncFunction"),XS=e=>e&&(mi(e)||Xe(e))&&Xe(e.then)&&Xe(e.catch),Ev=((e,t)=>e?setImmediate:t?((n,r)=>(En.addEventListener("message",({source:i,data:a})=>{i===En&&a===n&&r.length&&r.shift()()},!1),i=>{r.push(i),En.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Xe(En.postMessage)),QS=typeof queueMicrotask<"u"?queueMicrotask.bind(En):typeof process<"u"&&process.nextTick||Ev,JS=e=>e!=null&&Xe(e[Va]),k={isArray:Ar,isArrayBuffer:yv,isBuffer:vi,isFormData:OS,isArrayBufferView:vS,isString:mS,isNumber:gv,isBoolean:yS,isObject:mi,isPlainObject:Qi,isEmptyObject:gS,isReadableStream:AS,isRequest:TS,isResponse:CS,isHeaders:IS,isUndefined:ti,isDate:bS,isFile:_S,isBlob:wS,isRegExp:HS,isFunction:Xe,isStream:SS,isURLSearchParams:PS,isTypedArray:jS,isFileList:ES,forEach:yi,merge:Hu,extend:RS,trim:LS,stripBOM:kS,inherits:NS,toFlatObject:MS,kindOf:Ya,kindOfTest:_t,endsWith:DS,toArray:$S,forEachEntry:BS,matchAll:FS,isHTMLForm:US,hasOwnProperty:ef,hasOwnProp:ef,reduceDescriptors:wv,freezeMethods:KS,toObjectSet:WS,toCamelCase:xS,noop:zS,toFiniteNumber:qS,findKey:bv,global:En,isContextDefined:_v,isSpecCompliantForm:GS,toJSONObject:VS,isAsyncFn:YS,isThenable:XS,setImmediate:Ev,asap:QS,isIterable:JS};function re(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}k.inherits(re,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:k.toJSONObject(this.config),code:this.code,status:this.status}}});const Sv=re.prototype,Ov={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Ov[e]={value:e}});Object.defineProperties(re,Ov);Object.defineProperty(Sv,"isAxiosError",{value:!0});re.from=(e,t,n,r,i,a)=>{const o=Object.create(Sv);return k.toFlatObject(e,o,function(s){return s!==Error.prototype},u=>u!=="isAxiosError"),re.call(o,e.message,t,n,r,i),o.cause=e,o.name=e.name,a&&Object.assign(o,a),o};const ZS=null;function Ku(e){return k.isPlainObject(e)||k.isArray(e)}function Pv(e){return k.endsWith(e,"[]")?e.slice(0,-2):e}function tf(e,t,n){return e?e.concat(t).map(function(i,a){return i=Pv(i),!n&&a?"["+i+"]":i}).join(n?".":""):t}function eO(e){return k.isArray(e)&&!e.some(Ku)}const tO=k.toFlatObject(k,{},null,function(t){return/^is[A-Z]/.test(t)});function Qa(e,t,n){if(!k.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=k.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,_){return!k.isUndefined(_[p])});const r=n.metaTokens,i=n.visitor||f,a=n.dots,o=n.indexes,s=(n.Blob||typeof Blob<"u"&&Blob)&&k.isSpecCompliantForm(t);if(!k.isFunction(i))throw new TypeError("visitor must be a function");function c(v){if(v===null)return"";if(k.isDate(v))return v.toISOString();if(k.isBoolean(v))return v.toString();if(!s&&k.isBlob(v))throw new re("Blob is not supported. Use a Buffer instead.");return k.isArrayBuffer(v)||k.isTypedArray(v)?s&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function f(v,p,_){let g=v;if(v&&!_&&typeof v=="object"){if(k.endsWith(p,"{}"))p=r?p:p.slice(0,-2),v=JSON.stringify(v);else if(k.isArray(v)&&eO(v)||(k.isFileList(v)||k.endsWith(p,"[]"))&&(g=k.toArray(v)))return p=Pv(p),g.forEach(function(m,b){!(k.isUndefined(m)||m===null)&&t.append(o===!0?tf([p],b,a):o===null?p:p+"[]",c(m))}),!1}return Ku(v)?!0:(t.append(tf(_,p,a),c(v)),!1)}const l=[],d=Object.assign(tO,{defaultVisitor:f,convertValue:c,isVisitable:Ku});function h(v,p){if(!k.isUndefined(v)){if(l.indexOf(v)!==-1)throw Error("Circular reference detected in "+p.join("."));l.push(v),k.forEach(v,function(g,y){(!(k.isUndefined(g)||g===null)&&i.call(t,g,k.isString(y)?y.trim():y,p,d))===!0&&h(g,p?p.concat(y):[y])}),l.pop()}}if(!k.isObject(e))throw new TypeError("data must be an object");return h(e),t}function nf(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function dl(e,t){this._pairs=[],e&&Qa(e,this,t)}const Av=dl.prototype;Av.append=function(t,n){this._pairs.push([t,n])};Av.toString=function(t){const n=t?function(r){return t.call(this,r,nf)}:nf;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function nO(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Tv(e,t,n){if(!t)return e;const r=n&&n.encode||nO;k.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let a;if(i?a=i(t,n):a=k.isURLSearchParams(t)?t.toString():new dl(t,n).toString(r),a){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class rO{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){k.forEach(this.handlers,function(r){r!==null&&t(r)})}}const rf=rO,Cv={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},iO=typeof URLSearchParams<"u"?URLSearchParams:dl,aO=typeof FormData<"u"?FormData:null,oO=typeof Blob<"u"?Blob:null,uO={isBrowser:!0,classes:{URLSearchParams:iO,FormData:aO,Blob:oO},protocols:["http","https","file","blob","url","data"]},pl=typeof window<"u"&&typeof document<"u",Wu=typeof navigator=="object"&&navigator||void 0,sO=pl&&(!Wu||["ReactNative","NativeScript","NS"].indexOf(Wu.product)<0),lO=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),cO=pl&&window.location.href||"http://localhost",fO=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:pl,hasStandardBrowserEnv:sO,hasStandardBrowserWebWorkerEnv:lO,navigator:Wu,origin:cO},Symbol.toStringTag,{value:"Module"})),ze={...fO,...uO};function dO(e,t){return Qa(e,new ze.classes.URLSearchParams,{visitor:function(n,r,i,a){return ze.isNode&&k.isBuffer(n)?(this.append(r,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)},...t})}function pO(e){return k.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function hO(e){const t={},n=Object.keys(e);let r;const i=n.length;let a;for(r=0;r<i;r++)a=n[r],t[a]=e[a];return t}function Iv(e){function t(n,r,i,a){let o=n[a++];if(o==="__proto__")return!0;const u=Number.isFinite(+o),s=a>=n.length;return o=!o&&k.isArray(i)?i.length:o,s?(k.hasOwnProp(i,o)?i[o]=[i[o],r]:i[o]=r,!u):((!i[o]||!k.isObject(i[o]))&&(i[o]=[]),t(n,r,i[o],a)&&k.isArray(i[o])&&(i[o]=hO(i[o])),!u)}if(k.isFormData(e)&&k.isFunction(e.entries)){const n={};return k.forEachEntry(e,(r,i)=>{t(pO(r),i,n,0)}),n}return null}function vO(e,t,n){if(k.isString(e))try{return(t||JSON.parse)(e),k.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const hl={transitional:Cv,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,a=k.isObject(t);if(a&&k.isHTMLForm(t)&&(t=new FormData(t)),k.isFormData(t))return i?JSON.stringify(Iv(t)):t;if(k.isArrayBuffer(t)||k.isBuffer(t)||k.isStream(t)||k.isFile(t)||k.isBlob(t)||k.isReadableStream(t))return t;if(k.isArrayBufferView(t))return t.buffer;if(k.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let u;if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return dO(t,this.formSerializer).toString();if((u=k.isFileList(t))||r.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return Qa(u?{"files[]":t}:t,s&&new s,this.formSerializer)}}return a||i?(n.setContentType("application/json",!1),vO(t)):t}],transformResponse:[function(t){const n=this.transitional||hl.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(k.isResponse(t)||k.isReadableStream(t))return t;if(t&&k.isString(t)&&(r&&!this.responseType||i)){const o=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(u){if(o)throw u.name==="SyntaxError"?re.from(u,re.ERR_BAD_RESPONSE,this,null,this.response):u}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ze.classes.FormData,Blob:ze.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};k.forEach(["delete","get","head","post","put","patch"],e=>{hl.headers[e]={}});const vl=hl,mO=k.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),yO=e=>{const t={};let n,r,i;return e&&e.split(`
|
|
8
|
+
`).forEach(function(o){i=o.indexOf(":"),n=o.substring(0,i).trim().toLowerCase(),r=o.substring(i+1).trim(),!(!n||t[n]&&mO[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},af=Symbol("internals");function Mr(e){return e&&String(e).trim().toLowerCase()}function Ji(e){return e===!1||e==null?e:k.isArray(e)?e.map(Ji):String(e)}function gO(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const bO=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ro(e,t,n,r,i){if(k.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!k.isString(t)){if(k.isString(r))return t.indexOf(r)!==-1;if(k.isRegExp(r))return r.test(t)}}function _O(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function wO(e,t){const n=k.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,a,o){return this[r].call(this,t,i,a,o)},configurable:!0})})}class Ja{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function a(u,s,c){const f=Mr(s);if(!f)throw new Error("header name must be a non-empty string");const l=k.findKey(i,f);(!l||i[l]===void 0||c===!0||c===void 0&&i[l]!==!1)&&(i[l||s]=Ji(u))}const o=(u,s)=>k.forEach(u,(c,f)=>a(c,f,s));if(k.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(k.isString(t)&&(t=t.trim())&&!bO(t))o(yO(t),n);else if(k.isObject(t)&&k.isIterable(t)){let u={},s,c;for(const f of t){if(!k.isArray(f))throw TypeError("Object iterator must return a key-value pair");u[c=f[0]]=(s=u[c])?k.isArray(s)?[...s,f[1]]:[s,f[1]]:f[1]}o(u,n)}else t!=null&&a(n,t,r);return this}get(t,n){if(t=Mr(t),t){const r=k.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return gO(i);if(k.isFunction(n))return n.call(this,i,r);if(k.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Mr(t),t){const r=k.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Ro(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function a(o){if(o=Mr(o),o){const u=k.findKey(r,o);u&&(!n||Ro(r,r[u],u,n))&&(delete r[u],i=!0)}}return k.isArray(t)?t.forEach(a):a(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const a=n[r];(!t||Ro(this,this[a],a,t,!0))&&(delete this[a],i=!0)}return i}normalize(t){const n=this,r={};return k.forEach(this,(i,a)=>{const o=k.findKey(r,a);if(o){n[o]=Ji(i),delete n[a];return}const u=t?_O(a):String(a).trim();u!==a&&delete n[a],n[u]=Ji(i),r[u]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return k.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&k.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
|
9
|
+
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[af]=this[af]={accessors:{}}).accessors,i=this.prototype;function a(o){const u=Mr(o);r[u]||(wO(i,o),r[u]=!0)}return k.isArray(t)?t.forEach(a):a(t),this}}Ja.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);k.reduceDescriptors(Ja.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});k.freezeMethods(Ja);const yt=Ja;function ko(e,t){const n=this||vl,r=t||n,i=yt.from(r.headers);let a=r.data;return k.forEach(e,function(u){a=u.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function Lv(e){return!!(e&&e.__CANCEL__)}function Tr(e,t,n){re.call(this,e??"canceled",re.ERR_CANCELED,t,n),this.name="CanceledError"}k.inherits(Tr,re,{__CANCEL__:!0});function Rv(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new re("Request failed with status code "+n.status,[re.ERR_BAD_REQUEST,re.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function EO(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function SO(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,a=0,o;return t=t!==void 0?t:1e3,function(s){const c=Date.now(),f=r[a];o||(o=c),n[i]=s,r[i]=c;let l=a,d=0;for(;l!==i;)d+=n[l++],l=l%e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),c-o<t)return;const h=f&&c-f;return h?Math.round(d*1e3/h):void 0}}function OO(e,t){let n=0,r=1e3/t,i,a;const o=(c,f=Date.now())=>{n=f,i=null,a&&(clearTimeout(a),a=null),e(...c)};return[(...c)=>{const f=Date.now(),l=f-n;l>=r?o(c,f):(i=c,a||(a=setTimeout(()=>{a=null,o(i)},r-l)))},()=>i&&o(i)]}const wa=(e,t,n=3)=>{let r=0;const i=SO(50,250);return OO(a=>{const o=a.loaded,u=a.lengthComputable?a.total:void 0,s=o-r,c=i(s),f=o<=u;r=o;const l={loaded:o,total:u,progress:u?o/u:void 0,bytes:s,rate:c||void 0,estimated:c&&u&&f?(u-o)/c:void 0,event:a,lengthComputable:u!=null,[t?"download":"upload"]:!0};e(l)},n)},of=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},uf=e=>(...t)=>k.asap(()=>e(...t)),PO=ze.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,ze.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(ze.origin),ze.navigator&&/(msie|trident)/i.test(ze.navigator.userAgent)):()=>!0,AO=ze.hasStandardBrowserEnv?{write(e,t,n,r,i,a){const o=[e+"="+encodeURIComponent(t)];k.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),k.isString(r)&&o.push("path="+r),k.isString(i)&&o.push("domain="+i),a===!0&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function TO(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function CO(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function kv(e,t,n){let r=!TO(t);return e&&(r||n==!1)?CO(e,t):t}const sf=e=>e instanceof yt?{...e}:e;function Rn(e,t){t=t||{};const n={};function r(c,f,l,d){return k.isPlainObject(c)&&k.isPlainObject(f)?k.merge.call({caseless:d},c,f):k.isPlainObject(f)?k.merge({},f):k.isArray(f)?f.slice():f}function i(c,f,l,d){if(k.isUndefined(f)){if(!k.isUndefined(c))return r(void 0,c,l,d)}else return r(c,f,l,d)}function a(c,f){if(!k.isUndefined(f))return r(void 0,f)}function o(c,f){if(k.isUndefined(f)){if(!k.isUndefined(c))return r(void 0,c)}else return r(void 0,f)}function u(c,f,l){if(l in t)return r(c,f);if(l in e)return r(void 0,c)}const s={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:u,headers:(c,f,l)=>i(sf(c),sf(f),l,!0)};return k.forEach(Object.keys({...e,...t}),function(f){const l=s[f]||i,d=l(e[f],t[f],f);k.isUndefined(d)&&l!==u||(n[f]=d)}),n}const Nv=e=>{const t=Rn({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:a,headers:o,auth:u}=t;t.headers=o=yt.from(o),t.url=Tv(kv(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),u&&o.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):"")));let s;if(k.isFormData(n)){if(ze.hasStandardBrowserEnv||ze.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((s=o.getContentType())!==!1){const[c,...f]=s?s.split(";").map(l=>l.trim()).filter(Boolean):[];o.setContentType([c||"multipart/form-data",...f].join("; "))}}if(ze.hasStandardBrowserEnv&&(r&&k.isFunction(r)&&(r=r(t)),r||r!==!1&&PO(t.url))){const c=i&&a&&AO.read(a);c&&o.set(i,c)}return t},IO=typeof XMLHttpRequest<"u",LO=IO&&function(e){return new Promise(function(n,r){const i=Nv(e);let a=i.data;const o=yt.from(i.headers).normalize();let{responseType:u,onUploadProgress:s,onDownloadProgress:c}=i,f,l,d,h,v;function p(){h&&h(),v&&v(),i.cancelToken&&i.cancelToken.unsubscribe(f),i.signal&&i.signal.removeEventListener("abort",f)}let _=new XMLHttpRequest;_.open(i.method.toUpperCase(),i.url,!0),_.timeout=i.timeout;function g(){if(!_)return;const m=yt.from("getAllResponseHeaders"in _&&_.getAllResponseHeaders()),E={data:!u||u==="text"||u==="json"?_.responseText:_.response,status:_.status,statusText:_.statusText,headers:m,config:e,request:_};Rv(function(S){n(S),p()},function(S){r(S),p()},E),_=null}"onloadend"in _?_.onloadend=g:_.onreadystatechange=function(){!_||_.readyState!==4||_.status===0&&!(_.responseURL&&_.responseURL.indexOf("file:")===0)||setTimeout(g)},_.onabort=function(){_&&(r(new re("Request aborted",re.ECONNABORTED,e,_)),_=null)},_.onerror=function(){r(new re("Network Error",re.ERR_NETWORK,e,_)),_=null},_.ontimeout=function(){let b=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const E=i.transitional||Cv;i.timeoutErrorMessage&&(b=i.timeoutErrorMessage),r(new re(b,E.clarifyTimeoutError?re.ETIMEDOUT:re.ECONNABORTED,e,_)),_=null},a===void 0&&o.setContentType(null),"setRequestHeader"in _&&k.forEach(o.toJSON(),function(b,E){_.setRequestHeader(E,b)}),k.isUndefined(i.withCredentials)||(_.withCredentials=!!i.withCredentials),u&&u!=="json"&&(_.responseType=i.responseType),c&&([d,v]=wa(c,!0),_.addEventListener("progress",d)),s&&_.upload&&([l,h]=wa(s),_.upload.addEventListener("progress",l),_.upload.addEventListener("loadend",h)),(i.cancelToken||i.signal)&&(f=m=>{_&&(r(!m||m.type?new Tr(null,e,_):m),_.abort(),_=null)},i.cancelToken&&i.cancelToken.subscribe(f),i.signal&&(i.signal.aborted?f():i.signal.addEventListener("abort",f)));const y=EO(i.url);if(y&&ze.protocols.indexOf(y)===-1){r(new re("Unsupported protocol "+y+":",re.ERR_BAD_REQUEST,e));return}_.send(a||null)})},RO=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,i;const a=function(c){if(!i){i=!0,u();const f=c instanceof Error?c:this.reason;r.abort(f instanceof re?f:new Tr(f instanceof Error?f.message:f))}};let o=t&&setTimeout(()=>{o=null,a(new re(`timeout ${t} of ms exceeded`,re.ETIMEDOUT))},t);const u=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(a):c.removeEventListener("abort",a)}),e=null)};e.forEach(c=>c.addEventListener("abort",a));const{signal:s}=r;return s.unsubscribe=()=>k.asap(u),s}},kO=RO,NO=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},MO=async function*(e,t){for await(const n of DO(e))yield*NO(n,t)},DO=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},lf=(e,t,n,r)=>{const i=MO(e,t);let a=0,o,u=s=>{o||(o=!0,r&&r(s))};return new ReadableStream({async pull(s){try{const{done:c,value:f}=await i.next();if(c){u(),s.close();return}let l=f.byteLength;if(n){let d=a+=l;n(d)}s.enqueue(new Uint8Array(f))}catch(c){throw u(c),c}},cancel(s){return u(s),i.return()}},{highWaterMark:2})},Za=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Mv=Za&&typeof ReadableStream=="function",$O=Za&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Dv=(e,...t)=>{try{return!!e(...t)}catch{return!1}},jO=Mv&&Dv(()=>{let e=!1;const t=new Request(ze.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),cf=64*1024,zu=Mv&&Dv(()=>k.isReadableStream(new Response("").body)),Ea={stream:zu&&(e=>e.body)};Za&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Ea[t]&&(Ea[t]=k.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new re(`Response type '${t}' is not supported`,re.ERR_NOT_SUPPORT,r)})})})(new Response);const BO=async e=>{if(e==null)return 0;if(k.isBlob(e))return e.size;if(k.isSpecCompliantForm(e))return(await new Request(ze.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(k.isArrayBufferView(e)||k.isArrayBuffer(e))return e.byteLength;if(k.isURLSearchParams(e)&&(e=e+""),k.isString(e))return(await $O(e)).byteLength},FO=async(e,t)=>{const n=k.toFiniteNumber(e.getContentLength());return n??BO(t)},UO=Za&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:a,timeout:o,onDownloadProgress:u,onUploadProgress:s,responseType:c,headers:f,withCredentials:l="same-origin",fetchOptions:d}=Nv(e);c=c?(c+"").toLowerCase():"text";let h=kO([i,a&&a.toAbortSignal()],o),v;const p=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let _;try{if(s&&jO&&n!=="get"&&n!=="head"&&(_=await FO(f,r))!==0){let E=new Request(t,{method:"POST",body:r,duplex:"half"}),O;if(k.isFormData(r)&&(O=E.headers.get("content-type"))&&f.setContentType(O),E.body){const[S,w]=of(_,wa(uf(s)));r=lf(E.body,cf,S,w)}}k.isString(l)||(l=l?"include":"omit");const g="credentials"in Request.prototype;v=new Request(t,{...d,signal:h,method:n.toUpperCase(),headers:f.normalize().toJSON(),body:r,duplex:"half",credentials:g?l:void 0});let y=await fetch(v,d);const m=zu&&(c==="stream"||c==="response");if(zu&&(u||m&&p)){const E={};["status","statusText","headers"].forEach(P=>{E[P]=y[P]});const O=k.toFiniteNumber(y.headers.get("content-length")),[S,w]=u&&of(O,wa(uf(u),!0))||[];y=new Response(lf(y.body,cf,S,()=>{w&&w(),p&&p()}),E)}c=c||"text";let b=await Ea[k.findKey(Ea,c)||"text"](y,e);return!m&&p&&p(),await new Promise((E,O)=>{Rv(E,O,{data:b,headers:yt.from(y.headers),status:y.status,statusText:y.statusText,config:e,request:v})})}catch(g){throw p&&p(),g&&g.name==="TypeError"&&/Load failed|fetch/i.test(g.message)?Object.assign(new re("Network Error",re.ERR_NETWORK,e,v),{cause:g.cause||g}):re.from(g,g&&g.code,e,v)}}),qu={http:ZS,xhr:LO,fetch:UO};k.forEach(qu,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const ff=e=>`- ${e}`,xO=e=>k.isFunction(e)||e===null||e===!1,$v={getAdapter:e=>{e=k.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let a=0;a<t;a++){n=e[a];let o;if(r=n,!xO(n)&&(r=qu[(o=String(n)).toLowerCase()],r===void 0))throw new re(`Unknown adapter '${o}'`);if(r)break;i[o||"#"+a]=r}if(!r){const a=Object.entries(i).map(([u,s])=>`adapter ${u} `+(s===!1?"is not supported by the environment":"is not available in the build"));let o=t?a.length>1?`since :
|
|
10
10
|
`+a.map(ff).join(`
|
|
11
|
-
`):" "+ff(a[0]):"as no adapter specified";throw new re("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:qu};function No(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Tr(null,e)}function df(e){return No(e),e.headers=yt.from(e.headers),e.data=ko.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),$v.getAdapter(e.adapter||vl.adapter)(e).then(function(r){return No(e),r.data=ko.call(e,e.transformResponse,r),r.headers=yt.from(r.headers),r},function(r){return Lv(r)||(No(e),r&&r.response&&(r.response.data=ko.call(e,e.transformResponse,r.response),r.response.headers=yt.from(r.response.headers))),Promise.reject(r)})}const jv="1.11.0",eo={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{eo[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const pf={};eo.transitional=function(t,n,r){function i(a,o){return"[Axios v"+jv+"] Transitional option '"+a+"'"+o+(r?". "+r:"")}return(a,o,u)=>{if(t===!1)throw new re(i(o," has been removed"+(n?" in "+n:"")),re.ERR_DEPRECATED);return n&&!pf[o]&&(pf[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,o,u):!0}};eo.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function
|
|
12
|
-
`+a):r.stack=a}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Rn(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:a}=n;r!==void 0&&Zi.assertOptions(r,{silentJSONParsing:wt.transitional(wt.boolean),forcedJSONParsing:wt.transitional(wt.boolean),clarifyTimeoutError:wt.transitional(wt.boolean)},!1),i!=null&&(k.isFunction(i)?n.paramsSerializer={serialize:i}:Zi.assertOptions(i,{encode:wt.function,serialize:wt.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Zi.assertOptions(n,{baseUrl:wt.spelling("baseURL"),withXsrfToken:wt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=a&&k.merge(a.common,a[n.method]);a&&k.forEach(["delete","get","head","post","put","patch","common"],v=>{delete a[v]}),n.headers=yt.concat(o,a);const u=[];let s=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(s=s&&p.synchronous,u.unshift(p.fulfilled,p.rejected))});const c=[];this.interceptors.response.forEach(function(p){c.push(p.fulfilled,p.rejected)});let f,l=0,d;if(!s){const v=[df.bind(this),void 0];for(v.unshift(...u),v.push(...c),d=v.length,f=Promise.resolve(n);l<d;)f=f.then(v[l++],v[l++]);return f}d=u.length;let h=n;for(l=0;l<d;){const v=u[l++],p=u[l++];try{h=v(h)}catch(_){p.call(this,_);break}}try{f=df.call(this,h)}catch(v){return Promise.reject(v)}for(l=0,d=c.length;l<d;)f=f.then(c[l++],c[l++]);return f}getUri(t){t=Rn(this.defaults,t);const n=kv(t.baseURL,t.url,t.allowAbsoluteUrls);return Tv(n,t.params,t.paramsSerializer)}}k.forEach(["delete","get","head","options"],function(t){Sa.prototype[t]=function(n,r){return this.request(Rn(r||{},{method:t,url:n,data:(r||{}).data}))}});k.forEach(["post","put","patch"],function(t){function n(r){return function(a,o,u){return this.request(Rn(u||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:o}))}}Sa.prototype[t]=n(),Sa.prototype[t+"Form"]=n(!0)});const ea=Sa;class ml{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const r=this;this.promise.then(i=>{if(!r._listeners)return;let a=r._listeners.length;for(;a-- >0;)r._listeners[a](i);r._listeners=null}),this.promise.then=i=>{let a;const o=new Promise(u=>{r.subscribe(u),a=u}).then(i);return o.cancel=function(){r.unsubscribe(a)},o},t(function(a,o,u){r.reason||(r.reason=new Tr(a,o,u),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new ml(function(i){t=i}),cancel:t}}}const HO=ml;function KO(e){return function(n){return e.apply(null,n)}}function WO(e){return k.isObject(e)&&e.isAxiosError===!0}const Gu={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Gu).forEach(([e,t])=>{Gu[t]=e});const zO=Gu;function Bv(e){const t=new ea(e),n=vv(ea.prototype.request,t);return k.extend(n,ea.prototype,t,{allOwnKeys:!0}),k.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return Bv(Rn(e,i))},n}const Re=Bv(vl);Re.Axios=ea;Re.CanceledError=Tr;Re.CancelToken=HO;Re.isCancel=Lv;Re.VERSION=jv;Re.toFormData=Qa;Re.AxiosError=re;Re.Cancel=Re.CanceledError;Re.all=function(t){return Promise.all(t)};Re.spread=KO;Re.isAxiosError=WO;Re.mergeConfig=Rn;Re.AxiosHeaders=yt;Re.formToJSON=e=>Iv(k.isHTMLForm(e)?new FormData(e):e);Re.getAdapter=$v.getAdapter;Re.HttpStatusCode=zO;Re.default=Re;const qO=Re;var GO=Function.prototype.toString,Mo=Object.create,VO=Object.defineProperty,YO=Object.getOwnPropertyDescriptor,hf=Object.getOwnPropertyNames,yl=Object.getOwnPropertySymbols,XO=Object.getPrototypeOf,Fv=Object.prototype,QO=Fv.hasOwnProperty,JO=Fv.propertyIsEnumerable,Uv=typeof yl=="function",ZO=typeof WeakMap=="function",e2=function(){if(ZO)return function(){return new WeakMap};var e=function(){function t(){this._keys=[],this._values=[]}return t.prototype.has=function(n){return!!~this._keys.indexOf(n)},t.prototype.get=function(n){return this._values[this._keys.indexOf(n)]},t.prototype.set=function(n,r){this._keys.push(n),this._values.push(r)},t}();return function(){return new e}}(),xv=function(e,t){var n=e.__proto__||XO(e);if(!n)return Mo(null);var r=n.constructor;if(r===t.Object)return n===t.Object.prototype?{}:Mo(n);if(~GO.call(r).indexOf("[native code]"))try{return new r}catch{}return Mo(n)},t2=function(e,t,n,r){var i=xv(e,t);r.set(e,i);for(var a in e)QO.call(e,a)&&(i[a]=n(e[a],r));if(Uv)for(var o=yl(e),u=0,s=o.length,c=void 0;u<s;++u)c=o[u],JO.call(e,c)&&(i[c]=n(e[c],r));return i},vf=function(e,t,n,r){var i=xv(e,t);r.set(e,i);for(var a=Uv?hf(e).concat(yl(e)):hf(e),o=0,u=a.length,s=void 0,c=void 0;o<u;++o)if(s=a[o],s!=="callee"&&s!=="caller")if(c=YO(e,s),c){!c.get&&!c.set&&(c.value=n(e[s],r));try{VO(i,s,c)}catch{i[s]=c.value}}else i[s]=n(e[s],r);return i},n2=function(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},r2=Array.isArray,i2=Object.getPrototypeOf,a2=function(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:(console&&console.error&&console.error('Unable to locate global object, returning "this".'),this)}();function De(e,t){var n=!!(t&&t.isStrict),r=t&&t.realm||a2,i=n?vf:t2,a=function(o,u){if(!o||typeof o!="object")return o;if(u.has(o))return u.get(o);var s=o.__proto__||i2(o),c=s&&s.constructor;if(!c||c===r.Object)return i(o,r,a,u);var f;if(r2(o)){if(n)return vf(o,r,a,u);f=new c,u.set(o,f);for(var l=0,d=o.length;l<d;++l)f[l]=a(o[l],u);return f}if(o instanceof r.Date)return new c(o.getTime());if(o instanceof r.RegExp)return f=new c(o.source,o.flags||n2(o)),f.lastIndex=o.lastIndex,f;if(r.Map&&o instanceof r.Map)return f=new c,u.set(o,f),o.forEach(function(h,v){f.set(v,a(h,u))}),f;if(r.Set&&o instanceof r.Set)return f=new c,u.set(o,f),o.forEach(function(h){f.add(a(h,u))}),f;if(r.Blob&&o instanceof r.Blob)return o.slice(0,o.size,o.type);if(r.Buffer&&r.Buffer.isBuffer(o))return f=r.Buffer.allocUnsafe?r.Buffer.allocUnsafe(o.length):new c(o.length),u.set(o,f),o.copy(f),f;if(r.ArrayBuffer){if(r.ArrayBuffer.isView(o))return f=new c(o.buffer.slice(0)),u.set(o,f),f;if(o instanceof r.ArrayBuffer)return f=o.slice(0),u.set(o,f),f}return typeof o.then=="function"||o instanceof Error||r.WeakMap&&o instanceof r.WeakMap||r.WeakSet&&o instanceof r.WeakSet?o:i(o,r,a,u)};return a(e,e2())}De.default=De;De.strict=function(t,n){return De(t,{isStrict:!0,realm:n?n.realm:void 0})};var Hv=Object,o2=Error,u2=EvalError,s2=RangeError,l2=ReferenceError,Kv=SyntaxError,gi=TypeError,c2=URIError,f2=Math.abs,d2=Math.floor,p2=Math.max,h2=Math.min,v2=Math.pow,m2=Math.round,y2=Number.isNaN||function(t){return t!==t},g2=y2,b2=function(t){return g2(t)||t===0?t:t<0?-1:1},_2=Object.getOwnPropertyDescriptor,ta=_2;if(ta)try{ta([],"length")}catch{ta=null}var to=ta,na=Object.defineProperty||!1;if(na)try{na({},"a",{value:1})}catch{na=!1}var no=na,Do,mf;function w2(){return mf||(mf=1,Do=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},n=Symbol("test"),r=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;var i=42;t[n]=i;for(var a in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==n||!Object.prototype.propertyIsEnumerable.call(t,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(t,n);if(u.value!==i||u.enumerable!==!0)return!1}return!0}),Do}var $o,yf;function E2(){if(yf)return $o;yf=1;var e=typeof Symbol<"u"&&Symbol,t=w2();return $o=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},$o}var jo,gf;function Wv(){return gf||(gf=1,jo=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),jo}var Bo,bf;function zv(){if(bf)return Bo;bf=1;var e=Hv;return Bo=e.getPrototypeOf||null,Bo}var Fo,_f;function S2(){if(_f)return Fo;_f=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,n=Math.max,r="[object Function]",i=function(s,c){for(var f=[],l=0;l<s.length;l+=1)f[l]=s[l];for(var d=0;d<c.length;d+=1)f[d+s.length]=c[d];return f},a=function(s,c){for(var f=[],l=c||0,d=0;l<s.length;l+=1,d+=1)f[d]=s[l];return f},o=function(u,s){for(var c="",f=0;f<u.length;f+=1)c+=u[f],f+1<u.length&&(c+=s);return c};return Fo=function(s){var c=this;if(typeof c!="function"||t.apply(c)!==r)throw new TypeError(e+c);for(var f=a(arguments,1),l,d=function(){if(this instanceof l){var g=c.apply(this,i(f,arguments));return Object(g)===g?g:this}return c.apply(s,i(f,arguments))},h=n(0,c.length-f.length),v=[],p=0;p<h;p++)v[p]="$"+p;if(l=Function("binder","return function ("+o(v,",")+"){ return binder.apply(this,arguments); }")(d),c.prototype){var _=function(){};_.prototype=c.prototype,l.prototype=new _,_.prototype=null}return l},Fo}var Uo,wf;function bi(){if(wf)return Uo;wf=1;var e=S2();return Uo=Function.prototype.bind||e,Uo}var xo,Ef;function gl(){return Ef||(Ef=1,xo=Function.prototype.call),xo}var Ho,Sf;function qv(){return Sf||(Sf=1,Ho=Function.prototype.apply),Ho}var Ko,Of;function O2(){return Of||(Of=1,Ko=typeof Reflect<"u"&&Reflect&&Reflect.apply),Ko}var Wo,Pf;function P2(){if(Pf)return Wo;Pf=1;var e=bi(),t=qv(),n=gl(),r=O2();return Wo=r||e.call(n,t),Wo}var zo,Af;function A2(){if(Af)return zo;Af=1;var e=bi(),t=gi,n=gl(),r=P2();return zo=function(a){if(a.length<1||typeof a[0]!="function")throw new t("a function is required");return r(e,n,a)},zo}var qo,Tf;function T2(){if(Tf)return qo;Tf=1;var e=A2(),t=to,n;try{n=[].__proto__===Array.prototype}catch(o){if(!o||typeof o!="object"||!("code"in o)||o.code!=="ERR_PROTO_ACCESS")throw o}var r=!!n&&t&&t(Object.prototype,"__proto__"),i=Object,a=i.getPrototypeOf;return qo=r&&typeof r.get=="function"?e([r.get]):typeof a=="function"?function(u){return a(u==null?u:i(u))}:!1,qo}var Go,Cf;function C2(){if(Cf)return Go;Cf=1;var e=Wv(),t=zv(),n=T2();return Go=e?function(i){return e(i)}:t?function(i){if(!i||typeof i!="object"&&typeof i!="function")throw new TypeError("getProto: not an object");return t(i)}:n?function(i){return n(i)}:null,Go}var Vo,If;function I2(){if(If)return Vo;If=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,n=bi();return Vo=n.call(e,t),Vo}var se,L2=Hv,R2=o2,k2=u2,N2=s2,M2=l2,dr=Kv,er=gi,D2=c2,$2=f2,j2=d2,B2=p2,F2=h2,U2=v2,x2=m2,H2=b2,Gv=Function,Yo=function(e){try{return Gv('"use strict"; return ('+e+").constructor;")()}catch{}},ni=to,K2=no,Xo=function(){throw new er},W2=ni?function(){try{return arguments.callee,Xo}catch{try{return ni(arguments,"callee").get}catch{return Xo}}}():Xo,Fn=E2()(),Fe=C2(),z2=zv(),q2=Wv(),Vv=qv(),_i=gl(),Hn={},G2=typeof Uint8Array>"u"||!Fe?se:Fe(Uint8Array),Cn={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?se:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?se:ArrayBuffer,"%ArrayIteratorPrototype%":Fn&&Fe?Fe([][Symbol.iterator]()):se,"%AsyncFromSyncIteratorPrototype%":se,"%AsyncFunction%":Hn,"%AsyncGenerator%":Hn,"%AsyncGeneratorFunction%":Hn,"%AsyncIteratorPrototype%":Hn,"%Atomics%":typeof Atomics>"u"?se:Atomics,"%BigInt%":typeof BigInt>"u"?se:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?se:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?se:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?se:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":R2,"%eval%":eval,"%EvalError%":k2,"%Float16Array%":typeof Float16Array>"u"?se:Float16Array,"%Float32Array%":typeof Float32Array>"u"?se:Float32Array,"%Float64Array%":typeof Float64Array>"u"?se:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?se:FinalizationRegistry,"%Function%":Gv,"%GeneratorFunction%":Hn,"%Int8Array%":typeof Int8Array>"u"?se:Int8Array,"%Int16Array%":typeof Int16Array>"u"?se:Int16Array,"%Int32Array%":typeof Int32Array>"u"?se:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Fn&&Fe?Fe(Fe([][Symbol.iterator]())):se,"%JSON%":typeof JSON=="object"?JSON:se,"%Map%":typeof Map>"u"?se:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Fn||!Fe?se:Fe(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":L2,"%Object.getOwnPropertyDescriptor%":ni,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?se:Promise,"%Proxy%":typeof Proxy>"u"?se:Proxy,"%RangeError%":N2,"%ReferenceError%":M2,"%Reflect%":typeof Reflect>"u"?se:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?se:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Fn||!Fe?se:Fe(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?se:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Fn&&Fe?Fe(""[Symbol.iterator]()):se,"%Symbol%":Fn?Symbol:se,"%SyntaxError%":dr,"%ThrowTypeError%":W2,"%TypedArray%":G2,"%TypeError%":er,"%Uint8Array%":typeof Uint8Array>"u"?se:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?se:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?se:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?se:Uint32Array,"%URIError%":D2,"%WeakMap%":typeof WeakMap>"u"?se:WeakMap,"%WeakRef%":typeof WeakRef>"u"?se:WeakRef,"%WeakSet%":typeof WeakSet>"u"?se:WeakSet,"%Function.prototype.call%":_i,"%Function.prototype.apply%":Vv,"%Object.defineProperty%":K2,"%Object.getPrototypeOf%":z2,"%Math.abs%":$2,"%Math.floor%":j2,"%Math.max%":B2,"%Math.min%":F2,"%Math.pow%":U2,"%Math.round%":x2,"%Math.sign%":H2,"%Reflect.getPrototypeOf%":q2};if(Fe)try{null.error}catch(e){var V2=Fe(Fe(e));Cn["%Error.prototype%"]=V2}var Y2=function e(t){var n;if(t==="%AsyncFunction%")n=Yo("async function () {}");else if(t==="%GeneratorFunction%")n=Yo("function* () {}");else if(t==="%AsyncGeneratorFunction%")n=Yo("async function* () {}");else if(t==="%AsyncGenerator%"){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&Fe&&(n=Fe(i.prototype))}return Cn[t]=n,n},Lf={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},wi=bi(),Oa=I2(),X2=wi.call(_i,Array.prototype.concat),Q2=wi.call(Vv,Array.prototype.splice),Rf=wi.call(_i,String.prototype.replace),Pa=wi.call(_i,String.prototype.slice),J2=wi.call(_i,RegExp.prototype.exec),Z2=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,eP=/\\(\\)?/g,tP=function(t){var n=Pa(t,0,1),r=Pa(t,-1);if(n==="%"&&r!=="%")throw new dr("invalid intrinsic syntax, expected closing `%`");if(r==="%"&&n!=="%")throw new dr("invalid intrinsic syntax, expected opening `%`");var i=[];return Rf(t,Z2,function(a,o,u,s){i[i.length]=u?Rf(s,eP,"$1"):o||a}),i},nP=function(t,n){var r=t,i;if(Oa(Lf,r)&&(i=Lf[r],r="%"+i[0]+"%"),Oa(Cn,r)){var a=Cn[r];if(a===Hn&&(a=Y2(r)),typeof a>"u"&&!n)throw new er("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:r,value:a}}throw new dr("intrinsic "+t+" does not exist!")},ro=function(t,n){if(typeof t!="string"||t.length===0)throw new er("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new er('"allowMissing" argument must be a boolean');if(J2(/^%?[^%]*%?$/,t)===null)throw new dr("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=tP(t),i=r.length>0?r[0]:"",a=nP("%"+i+"%",n),o=a.name,u=a.value,s=!1,c=a.alias;c&&(i=c[0],Q2(r,X2([0,1],c)));for(var f=1,l=!0;f<r.length;f+=1){var d=r[f],h=Pa(d,0,1),v=Pa(d,-1);if((h==='"'||h==="'"||h==="`"||v==='"'||v==="'"||v==="`")&&h!==v)throw new dr("property names with quotes must have matching quotes");if((d==="constructor"||!l)&&(s=!0),i+="."+d,o="%"+i+"%",Oa(Cn,o))u=Cn[o];else if(u!=null){if(!(d in u)){if(!n)throw new er("base intrinsic for "+t+" exists, but the property is not available.");return}if(ni&&f+1>=r.length){var p=ni(u,d);l=!!p,l&&"get"in p&&!("originalValue"in p.get)?u=p.get:u=u[d]}else l=Oa(u,d),u=u[d];l&&!s&&(Cn[o]=u)}}return u},Yv={exports:{}},kf=no,rP=Kv,Un=gi,Nf=to,iP=function(t,n,r){if(!t||typeof t!="object"&&typeof t!="function")throw new Un("`obj` must be an object or a function`");if(typeof n!="string"&&typeof n!="symbol")throw new Un("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Un("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Un("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Un("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Un("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,a=arguments.length>4?arguments[4]:null,o=arguments.length>5?arguments[5]:null,u=arguments.length>6?arguments[6]:!1,s=!!Nf&&Nf(t,n);if(kf)kf(t,n,{configurable:o===null&&s?s.configurable:!o,enumerable:i===null&&s?s.enumerable:!i,value:r,writable:a===null&&s?s.writable:!a});else if(u||!i&&!a&&!o)t[n]=r;else throw new rP("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},Vu=no,Xv=function(){return!!Vu};Xv.hasArrayLengthDefineBug=function(){if(!Vu)return null;try{return Vu([],"length",{value:1}).length!==1}catch{return!0}};var aP=Xv,oP=ro,Mf=iP,uP=aP(),Df=to,$f=gi,sP=oP("%Math.floor%"),lP=function(t,n){if(typeof t!="function")throw new $f("`fn` is not a function");if(typeof n!="number"||n<0||n>4294967295||sP(n)!==n)throw new $f("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],i=!0,a=!0;if("length"in t&&Df){var o=Df(t,"length");o&&!o.configurable&&(i=!1),o&&!o.writable&&(a=!1)}return(i||a||!r)&&(uP?Mf(t,"length",n,!0,!0):Mf(t,"length",n)),t};(function(e){var t=bi(),n=ro,r=lP,i=gi,a=n("%Function.prototype.apply%"),o=n("%Function.prototype.call%"),u=n("%Reflect.apply%",!0)||t.call(o,a),s=no,c=n("%Math.max%");e.exports=function(d){if(typeof d!="function")throw new i("a function is required");var h=u(t,o,arguments);return r(h,1+c(0,d.length-(arguments.length-1)),!0)};var f=function(){return u(t,a,arguments)};s?s(e.exports,"apply",{value:f}):e.exports.apply=f})(Yv);var cP=Yv.exports,Qv=ro,Jv=cP,fP=Jv(Qv("String.prototype.indexOf")),dP=function(t,n){var r=Qv(t,!!n);return typeof r=="function"&&fP(t,".prototype.")>-1?Jv(r):r};const pP={},hP=Object.freeze(Object.defineProperty({__proto__:null,default:pP},Symbol.toStringTag,{value:"Module"})),vP=zd(hP);var bl=typeof Map=="function"&&Map.prototype,Qo=Object.getOwnPropertyDescriptor&&bl?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Aa=bl&&Qo&&typeof Qo.get=="function"?Qo.get:null,jf=bl&&Map.prototype.forEach,_l=typeof Set=="function"&&Set.prototype,Jo=Object.getOwnPropertyDescriptor&&_l?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Ta=_l&&Jo&&typeof Jo.get=="function"?Jo.get:null,Bf=_l&&Set.prototype.forEach,mP=typeof WeakMap=="function"&&WeakMap.prototype,Kr=mP?WeakMap.prototype.has:null,yP=typeof WeakSet=="function"&&WeakSet.prototype,Wr=yP?WeakSet.prototype.has:null,gP=typeof WeakRef=="function"&&WeakRef.prototype,Ff=gP?WeakRef.prototype.deref:null,bP=Boolean.prototype.valueOf,_P=Object.prototype.toString,wP=Function.prototype.toString,EP=String.prototype.match,wl=String.prototype.slice,tn=String.prototype.replace,SP=String.prototype.toUpperCase,Uf=String.prototype.toLowerCase,Zv=RegExp.prototype.test,xf=Array.prototype.concat,Ot=Array.prototype.join,OP=Array.prototype.slice,Hf=Math.floor,Yu=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Zo=Object.getOwnPropertySymbols,Xu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,pr=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Ge=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===pr||"symbol")?Symbol.toStringTag:null,em=Object.prototype.propertyIsEnumerable,Kf=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function Wf(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||Zv.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var r=e<0?-Hf(-e):Hf(e);if(r!==e){var i=String(r),a=wl.call(t,i.length+1);return tn.call(i,n,"$&_")+"."+tn.call(tn.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return tn.call(t,n,"$&_")}var Qu=vP,zf=Qu.custom,qf=nm(zf)?zf:null,PP=function e(t,n,r,i){var a=n||{};if(Xt(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Xt(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var o=Xt(a,"customInspect")?a.customInspect:!0;if(typeof o!="boolean"&&o!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Xt(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Xt(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var u=a.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return im(t,a);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var s=String(t);return u?Wf(t,s):s}if(typeof t=="bigint"){var c=String(t)+"n";return u?Wf(t,c):c}var f=typeof a.depth>"u"?5:a.depth;if(typeof r>"u"&&(r=0),r>=f&&f>0&&typeof t=="object")return Ju(t)?"[Array]":"[Object]";var l=KP(a,r);if(typeof i>"u")i=[];else if(rm(i,t)>=0)return"[Circular]";function d(j,I,C){if(I&&(i=OP.call(i),i.push(I)),C){var R={depth:a.depth};return Xt(a,"quoteStyle")&&(R.quoteStyle=a.quoteStyle),e(j,R,r+1,i)}return e(j,a,r+1,i)}if(typeof t=="function"&&!Gf(t)){var h=MP(t),v=Li(t,d);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(v.length>0?" { "+Ot.call(v,", ")+" }":"")}if(nm(t)){var p=pr?tn.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Xu.call(t);return typeof t=="object"&&!pr?Dr(p):p}if(UP(t)){for(var _="<"+Uf.call(String(t.nodeName)),g=t.attributes||[],y=0;y<g.length;y++)_+=" "+g[y].name+"="+tm(AP(g[y].value),"double",a);return _+=">",t.childNodes&&t.childNodes.length&&(_+="..."),_+="</"+Uf.call(String(t.nodeName))+">",_}if(Ju(t)){if(t.length===0)return"[]";var m=Li(t,d);return l&&!HP(m)?"["+Zu(m,l)+"]":"[ "+Ot.call(m,", ")+" ]"}if(CP(t)){var b=Li(t,d);return!("cause"in Error.prototype)&&"cause"in t&&!em.call(t,"cause")?"{ ["+String(t)+"] "+Ot.call(xf.call("[cause]: "+d(t.cause),b),", ")+" }":b.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Ot.call(b,", ")+" }"}if(typeof t=="object"&&o){if(qf&&typeof t[qf]=="function"&&Qu)return Qu(t,{depth:f-r});if(o!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(DP(t)){var E=[];return jf&&jf.call(t,function(j,I){E.push(d(I,t,!0)+" => "+d(j,t))}),Vf("Map",Aa.call(t),E,l)}if(BP(t)){var O=[];return Bf&&Bf.call(t,function(j){O.push(d(j,t))}),Vf("Set",Ta.call(t),O,l)}if($P(t))return eu("WeakMap");if(FP(t))return eu("WeakSet");if(jP(t))return eu("WeakRef");if(LP(t))return Dr(d(Number(t)));if(kP(t))return Dr(d(Yu.call(t)));if(RP(t))return Dr(bP.call(t));if(IP(t))return Dr(d(String(t)));if(t===J)return typeof window<"u"?"{ [object Window] }":"{ [object global] }";if(!TP(t)&&!Gf(t)){var S=Li(t,d),w=Kf?Kf(t)===Object.prototype:t instanceof Object||t.constructor===Object,P=t instanceof Object?"":"null prototype",A=!w&&Ge&&Object(t)===t&&Ge in t?wl.call(hn(t),8,-1):P?"Object":"",L=w||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",D=L+(A||P?"["+Ot.call(xf.call([],A||[],P||[]),": ")+"] ":"");return S.length===0?D+"{}":l?D+"{"+Zu(S,l)+"}":D+"{ "+Ot.call(S,", ")+" }"}return String(t)};function tm(e,t,n){var r=(n.quoteStyle||t)==="double"?'"':"'";return r+e+r}function AP(e){return tn.call(String(e),/"/g,""")}function Ju(e){return hn(e)==="[object Array]"&&(!Ge||!(typeof e=="object"&&Ge in e))}function TP(e){return hn(e)==="[object Date]"&&(!Ge||!(typeof e=="object"&&Ge in e))}function Gf(e){return hn(e)==="[object RegExp]"&&(!Ge||!(typeof e=="object"&&Ge in e))}function CP(e){return hn(e)==="[object Error]"&&(!Ge||!(typeof e=="object"&&Ge in e))}function IP(e){return hn(e)==="[object String]"&&(!Ge||!(typeof e=="object"&&Ge in e))}function LP(e){return hn(e)==="[object Number]"&&(!Ge||!(typeof e=="object"&&Ge in e))}function RP(e){return hn(e)==="[object Boolean]"&&(!Ge||!(typeof e=="object"&&Ge in e))}function nm(e){if(pr)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!Xu)return!1;try{return Xu.call(e),!0}catch{}return!1}function kP(e){if(!e||typeof e!="object"||!Yu)return!1;try{return Yu.call(e),!0}catch{}return!1}var NP=Object.prototype.hasOwnProperty||function(e){return e in this};function Xt(e,t){return NP.call(e,t)}function hn(e){return _P.call(e)}function MP(e){if(e.name)return e.name;var t=EP.call(wP.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function rm(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function DP(e){if(!Aa||!e||typeof e!="object")return!1;try{Aa.call(e);try{Ta.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function $P(e){if(!Kr||!e||typeof e!="object")return!1;try{Kr.call(e,Kr);try{Wr.call(e,Wr)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function jP(e){if(!Ff||!e||typeof e!="object")return!1;try{return Ff.call(e),!0}catch{}return!1}function BP(e){if(!Ta||!e||typeof e!="object")return!1;try{Ta.call(e);try{Aa.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function FP(e){if(!Wr||!e||typeof e!="object")return!1;try{Wr.call(e,Wr);try{Kr.call(e,Kr)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function UP(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function im(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return im(wl.call(e,0,t.maxStringLength),t)+r}var i=tn.call(tn.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,xP);return tm(i,"single",t)}function xP(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+SP.call(t.toString(16))}function Dr(e){return"Object("+e+")"}function eu(e){return e+" { ? }"}function Vf(e,t,n,r){var i=r?Zu(n,r):Ot.call(n,", ");return e+" ("+t+") {"+i+"}"}function HP(e){for(var t=0;t<e.length;t++)if(rm(e[t],`
|
|
13
|
-
`)>=0)return!1;return!0}function
|
|
11
|
+
`):" "+ff(a[0]):"as no adapter specified";throw new re("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:qu};function No(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Tr(null,e)}function df(e){return No(e),e.headers=yt.from(e.headers),e.data=ko.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),$v.getAdapter(e.adapter||vl.adapter)(e).then(function(r){return No(e),r.data=ko.call(e,e.transformResponse,r),r.headers=yt.from(r.headers),r},function(r){return Lv(r)||(No(e),r&&r.response&&(r.response.data=ko.call(e,e.transformResponse,r.response),r.response.headers=yt.from(r.response.headers))),Promise.reject(r)})}const jv="1.11.0",eo={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{eo[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const pf={};eo.transitional=function(t,n,r){function i(a,o){return"[Axios v"+jv+"] Transitional option '"+a+"'"+o+(r?". "+r:"")}return(a,o,u)=>{if(t===!1)throw new re(i(o," has been removed"+(n?" in "+n:"")),re.ERR_DEPRECATED);return n&&!pf[o]&&(pf[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,o,u):!0}};eo.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function HO(e,t,n){if(typeof e!="object")throw new re("options must be an object",re.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const a=r[i],o=t[a];if(o){const u=e[a],s=u===void 0||o(u,a,e);if(s!==!0)throw new re("option "+a+" must be "+s,re.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new re("Unknown option "+a,re.ERR_BAD_OPTION)}}const Zi={assertOptions:HO,validators:eo},wt=Zi.validators;class Sa{constructor(t){this.defaults=t||{},this.interceptors={request:new rf,response:new rf}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const a=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?a&&!String(r.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
|
12
|
+
`+a):r.stack=a}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Rn(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:a}=n;r!==void 0&&Zi.assertOptions(r,{silentJSONParsing:wt.transitional(wt.boolean),forcedJSONParsing:wt.transitional(wt.boolean),clarifyTimeoutError:wt.transitional(wt.boolean)},!1),i!=null&&(k.isFunction(i)?n.paramsSerializer={serialize:i}:Zi.assertOptions(i,{encode:wt.function,serialize:wt.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Zi.assertOptions(n,{baseUrl:wt.spelling("baseURL"),withXsrfToken:wt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=a&&k.merge(a.common,a[n.method]);a&&k.forEach(["delete","get","head","post","put","patch","common"],v=>{delete a[v]}),n.headers=yt.concat(o,a);const u=[];let s=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(s=s&&p.synchronous,u.unshift(p.fulfilled,p.rejected))});const c=[];this.interceptors.response.forEach(function(p){c.push(p.fulfilled,p.rejected)});let f,l=0,d;if(!s){const v=[df.bind(this),void 0];for(v.unshift(...u),v.push(...c),d=v.length,f=Promise.resolve(n);l<d;)f=f.then(v[l++],v[l++]);return f}d=u.length;let h=n;for(l=0;l<d;){const v=u[l++],p=u[l++];try{h=v(h)}catch(_){p.call(this,_);break}}try{f=df.call(this,h)}catch(v){return Promise.reject(v)}for(l=0,d=c.length;l<d;)f=f.then(c[l++],c[l++]);return f}getUri(t){t=Rn(this.defaults,t);const n=kv(t.baseURL,t.url,t.allowAbsoluteUrls);return Tv(n,t.params,t.paramsSerializer)}}k.forEach(["delete","get","head","options"],function(t){Sa.prototype[t]=function(n,r){return this.request(Rn(r||{},{method:t,url:n,data:(r||{}).data}))}});k.forEach(["post","put","patch"],function(t){function n(r){return function(a,o,u){return this.request(Rn(u||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:o}))}}Sa.prototype[t]=n(),Sa.prototype[t+"Form"]=n(!0)});const ea=Sa;class ml{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const r=this;this.promise.then(i=>{if(!r._listeners)return;let a=r._listeners.length;for(;a-- >0;)r._listeners[a](i);r._listeners=null}),this.promise.then=i=>{let a;const o=new Promise(u=>{r.subscribe(u),a=u}).then(i);return o.cancel=function(){r.unsubscribe(a)},o},t(function(a,o,u){r.reason||(r.reason=new Tr(a,o,u),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new ml(function(i){t=i}),cancel:t}}}const KO=ml;function WO(e){return function(n){return e.apply(null,n)}}function zO(e){return k.isObject(e)&&e.isAxiosError===!0}const Gu={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Gu).forEach(([e,t])=>{Gu[t]=e});const qO=Gu;function Bv(e){const t=new ea(e),n=vv(ea.prototype.request,t);return k.extend(n,ea.prototype,t,{allOwnKeys:!0}),k.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return Bv(Rn(e,i))},n}const Re=Bv(vl);Re.Axios=ea;Re.CanceledError=Tr;Re.CancelToken=KO;Re.isCancel=Lv;Re.VERSION=jv;Re.toFormData=Qa;Re.AxiosError=re;Re.Cancel=Re.CanceledError;Re.all=function(t){return Promise.all(t)};Re.spread=WO;Re.isAxiosError=zO;Re.mergeConfig=Rn;Re.AxiosHeaders=yt;Re.formToJSON=e=>Iv(k.isHTMLForm(e)?new FormData(e):e);Re.getAdapter=$v.getAdapter;Re.HttpStatusCode=qO;Re.default=Re;const GO=Re;var VO=Function.prototype.toString,Mo=Object.create,YO=Object.defineProperty,XO=Object.getOwnPropertyDescriptor,hf=Object.getOwnPropertyNames,yl=Object.getOwnPropertySymbols,QO=Object.getPrototypeOf,Fv=Object.prototype,JO=Fv.hasOwnProperty,ZO=Fv.propertyIsEnumerable,Uv=typeof yl=="function",e2=typeof WeakMap=="function",t2=function(){if(e2)return function(){return new WeakMap};var e=function(){function t(){this._keys=[],this._values=[]}return t.prototype.has=function(n){return!!~this._keys.indexOf(n)},t.prototype.get=function(n){return this._values[this._keys.indexOf(n)]},t.prototype.set=function(n,r){this._keys.push(n),this._values.push(r)},t}();return function(){return new e}}(),xv=function(e,t){var n=e.__proto__||QO(e);if(!n)return Mo(null);var r=n.constructor;if(r===t.Object)return n===t.Object.prototype?{}:Mo(n);if(~VO.call(r).indexOf("[native code]"))try{return new r}catch{}return Mo(n)},n2=function(e,t,n,r){var i=xv(e,t);r.set(e,i);for(var a in e)JO.call(e,a)&&(i[a]=n(e[a],r));if(Uv)for(var o=yl(e),u=0,s=o.length,c=void 0;u<s;++u)c=o[u],ZO.call(e,c)&&(i[c]=n(e[c],r));return i},vf=function(e,t,n,r){var i=xv(e,t);r.set(e,i);for(var a=Uv?hf(e).concat(yl(e)):hf(e),o=0,u=a.length,s=void 0,c=void 0;o<u;++o)if(s=a[o],s!=="callee"&&s!=="caller")if(c=XO(e,s),c){!c.get&&!c.set&&(c.value=n(e[s],r));try{YO(i,s,c)}catch{i[s]=c.value}}else i[s]=n(e[s],r);return i},r2=function(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},i2=Array.isArray,a2=Object.getPrototypeOf,o2=function(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:(console&&console.error&&console.error('Unable to locate global object, returning "this".'),this)}();function De(e,t){var n=!!(t&&t.isStrict),r=t&&t.realm||o2,i=n?vf:n2,a=function(o,u){if(!o||typeof o!="object")return o;if(u.has(o))return u.get(o);var s=o.__proto__||a2(o),c=s&&s.constructor;if(!c||c===r.Object)return i(o,r,a,u);var f;if(i2(o)){if(n)return vf(o,r,a,u);f=new c,u.set(o,f);for(var l=0,d=o.length;l<d;++l)f[l]=a(o[l],u);return f}if(o instanceof r.Date)return new c(o.getTime());if(o instanceof r.RegExp)return f=new c(o.source,o.flags||r2(o)),f.lastIndex=o.lastIndex,f;if(r.Map&&o instanceof r.Map)return f=new c,u.set(o,f),o.forEach(function(h,v){f.set(v,a(h,u))}),f;if(r.Set&&o instanceof r.Set)return f=new c,u.set(o,f),o.forEach(function(h){f.add(a(h,u))}),f;if(r.Blob&&o instanceof r.Blob)return o.slice(0,o.size,o.type);if(r.Buffer&&r.Buffer.isBuffer(o))return f=r.Buffer.allocUnsafe?r.Buffer.allocUnsafe(o.length):new c(o.length),u.set(o,f),o.copy(f),f;if(r.ArrayBuffer){if(r.ArrayBuffer.isView(o))return f=new c(o.buffer.slice(0)),u.set(o,f),f;if(o instanceof r.ArrayBuffer)return f=o.slice(0),u.set(o,f),f}return typeof o.then=="function"||o instanceof Error||r.WeakMap&&o instanceof r.WeakMap||r.WeakSet&&o instanceof r.WeakSet?o:i(o,r,a,u)};return a(e,t2())}De.default=De;De.strict=function(t,n){return De(t,{isStrict:!0,realm:n?n.realm:void 0})};var Hv=Object,u2=Error,s2=EvalError,l2=RangeError,c2=ReferenceError,Kv=SyntaxError,gi=TypeError,f2=URIError,d2=Math.abs,p2=Math.floor,h2=Math.max,v2=Math.min,m2=Math.pow,y2=Math.round,g2=Number.isNaN||function(t){return t!==t},b2=g2,_2=function(t){return b2(t)||t===0?t:t<0?-1:1},w2=Object.getOwnPropertyDescriptor,ta=w2;if(ta)try{ta([],"length")}catch{ta=null}var to=ta,na=Object.defineProperty||!1;if(na)try{na({},"a",{value:1})}catch{na=!1}var no=na,Do,mf;function E2(){return mf||(mf=1,Do=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},n=Symbol("test"),r=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;var i=42;t[n]=i;for(var a in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==n||!Object.prototype.propertyIsEnumerable.call(t,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(t,n);if(u.value!==i||u.enumerable!==!0)return!1}return!0}),Do}var $o,yf;function S2(){if(yf)return $o;yf=1;var e=typeof Symbol<"u"&&Symbol,t=E2();return $o=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},$o}var jo,gf;function Wv(){return gf||(gf=1,jo=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),jo}var Bo,bf;function zv(){if(bf)return Bo;bf=1;var e=Hv;return Bo=e.getPrototypeOf||null,Bo}var Fo,_f;function O2(){if(_f)return Fo;_f=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,n=Math.max,r="[object Function]",i=function(s,c){for(var f=[],l=0;l<s.length;l+=1)f[l]=s[l];for(var d=0;d<c.length;d+=1)f[d+s.length]=c[d];return f},a=function(s,c){for(var f=[],l=c||0,d=0;l<s.length;l+=1,d+=1)f[d]=s[l];return f},o=function(u,s){for(var c="",f=0;f<u.length;f+=1)c+=u[f],f+1<u.length&&(c+=s);return c};return Fo=function(s){var c=this;if(typeof c!="function"||t.apply(c)!==r)throw new TypeError(e+c);for(var f=a(arguments,1),l,d=function(){if(this instanceof l){var g=c.apply(this,i(f,arguments));return Object(g)===g?g:this}return c.apply(s,i(f,arguments))},h=n(0,c.length-f.length),v=[],p=0;p<h;p++)v[p]="$"+p;if(l=Function("binder","return function ("+o(v,",")+"){ return binder.apply(this,arguments); }")(d),c.prototype){var _=function(){};_.prototype=c.prototype,l.prototype=new _,_.prototype=null}return l},Fo}var Uo,wf;function bi(){if(wf)return Uo;wf=1;var e=O2();return Uo=Function.prototype.bind||e,Uo}var xo,Ef;function gl(){return Ef||(Ef=1,xo=Function.prototype.call),xo}var Ho,Sf;function qv(){return Sf||(Sf=1,Ho=Function.prototype.apply),Ho}var Ko,Of;function P2(){return Of||(Of=1,Ko=typeof Reflect<"u"&&Reflect&&Reflect.apply),Ko}var Wo,Pf;function A2(){if(Pf)return Wo;Pf=1;var e=bi(),t=qv(),n=gl(),r=P2();return Wo=r||e.call(n,t),Wo}var zo,Af;function T2(){if(Af)return zo;Af=1;var e=bi(),t=gi,n=gl(),r=A2();return zo=function(a){if(a.length<1||typeof a[0]!="function")throw new t("a function is required");return r(e,n,a)},zo}var qo,Tf;function C2(){if(Tf)return qo;Tf=1;var e=T2(),t=to,n;try{n=[].__proto__===Array.prototype}catch(o){if(!o||typeof o!="object"||!("code"in o)||o.code!=="ERR_PROTO_ACCESS")throw o}var r=!!n&&t&&t(Object.prototype,"__proto__"),i=Object,a=i.getPrototypeOf;return qo=r&&typeof r.get=="function"?e([r.get]):typeof a=="function"?function(u){return a(u==null?u:i(u))}:!1,qo}var Go,Cf;function I2(){if(Cf)return Go;Cf=1;var e=Wv(),t=zv(),n=C2();return Go=e?function(i){return e(i)}:t?function(i){if(!i||typeof i!="object"&&typeof i!="function")throw new TypeError("getProto: not an object");return t(i)}:n?function(i){return n(i)}:null,Go}var Vo,If;function L2(){if(If)return Vo;If=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,n=bi();return Vo=n.call(e,t),Vo}var se,R2=Hv,k2=u2,N2=s2,M2=l2,D2=c2,dr=Kv,er=gi,$2=f2,j2=d2,B2=p2,F2=h2,U2=v2,x2=m2,H2=y2,K2=_2,Gv=Function,Yo=function(e){try{return Gv('"use strict"; return ('+e+").constructor;")()}catch{}},ni=to,W2=no,Xo=function(){throw new er},z2=ni?function(){try{return arguments.callee,Xo}catch{try{return ni(arguments,"callee").get}catch{return Xo}}}():Xo,Fn=S2()(),Fe=I2(),q2=zv(),G2=Wv(),Vv=qv(),_i=gl(),Hn={},V2=typeof Uint8Array>"u"||!Fe?se:Fe(Uint8Array),Cn={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?se:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?se:ArrayBuffer,"%ArrayIteratorPrototype%":Fn&&Fe?Fe([][Symbol.iterator]()):se,"%AsyncFromSyncIteratorPrototype%":se,"%AsyncFunction%":Hn,"%AsyncGenerator%":Hn,"%AsyncGeneratorFunction%":Hn,"%AsyncIteratorPrototype%":Hn,"%Atomics%":typeof Atomics>"u"?se:Atomics,"%BigInt%":typeof BigInt>"u"?se:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?se:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?se:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?se:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":k2,"%eval%":eval,"%EvalError%":N2,"%Float16Array%":typeof Float16Array>"u"?se:Float16Array,"%Float32Array%":typeof Float32Array>"u"?se:Float32Array,"%Float64Array%":typeof Float64Array>"u"?se:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?se:FinalizationRegistry,"%Function%":Gv,"%GeneratorFunction%":Hn,"%Int8Array%":typeof Int8Array>"u"?se:Int8Array,"%Int16Array%":typeof Int16Array>"u"?se:Int16Array,"%Int32Array%":typeof Int32Array>"u"?se:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Fn&&Fe?Fe(Fe([][Symbol.iterator]())):se,"%JSON%":typeof JSON=="object"?JSON:se,"%Map%":typeof Map>"u"?se:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Fn||!Fe?se:Fe(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":R2,"%Object.getOwnPropertyDescriptor%":ni,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?se:Promise,"%Proxy%":typeof Proxy>"u"?se:Proxy,"%RangeError%":M2,"%ReferenceError%":D2,"%Reflect%":typeof Reflect>"u"?se:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?se:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Fn||!Fe?se:Fe(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?se:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Fn&&Fe?Fe(""[Symbol.iterator]()):se,"%Symbol%":Fn?Symbol:se,"%SyntaxError%":dr,"%ThrowTypeError%":z2,"%TypedArray%":V2,"%TypeError%":er,"%Uint8Array%":typeof Uint8Array>"u"?se:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?se:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?se:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?se:Uint32Array,"%URIError%":$2,"%WeakMap%":typeof WeakMap>"u"?se:WeakMap,"%WeakRef%":typeof WeakRef>"u"?se:WeakRef,"%WeakSet%":typeof WeakSet>"u"?se:WeakSet,"%Function.prototype.call%":_i,"%Function.prototype.apply%":Vv,"%Object.defineProperty%":W2,"%Object.getPrototypeOf%":q2,"%Math.abs%":j2,"%Math.floor%":B2,"%Math.max%":F2,"%Math.min%":U2,"%Math.pow%":x2,"%Math.round%":H2,"%Math.sign%":K2,"%Reflect.getPrototypeOf%":G2};if(Fe)try{null.error}catch(e){var Y2=Fe(Fe(e));Cn["%Error.prototype%"]=Y2}var X2=function e(t){var n;if(t==="%AsyncFunction%")n=Yo("async function () {}");else if(t==="%GeneratorFunction%")n=Yo("function* () {}");else if(t==="%AsyncGeneratorFunction%")n=Yo("async function* () {}");else if(t==="%AsyncGenerator%"){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&Fe&&(n=Fe(i.prototype))}return Cn[t]=n,n},Lf={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},wi=bi(),Oa=L2(),Q2=wi.call(_i,Array.prototype.concat),J2=wi.call(Vv,Array.prototype.splice),Rf=wi.call(_i,String.prototype.replace),Pa=wi.call(_i,String.prototype.slice),Z2=wi.call(_i,RegExp.prototype.exec),eP=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,tP=/\\(\\)?/g,nP=function(t){var n=Pa(t,0,1),r=Pa(t,-1);if(n==="%"&&r!=="%")throw new dr("invalid intrinsic syntax, expected closing `%`");if(r==="%"&&n!=="%")throw new dr("invalid intrinsic syntax, expected opening `%`");var i=[];return Rf(t,eP,function(a,o,u,s){i[i.length]=u?Rf(s,tP,"$1"):o||a}),i},rP=function(t,n){var r=t,i;if(Oa(Lf,r)&&(i=Lf[r],r="%"+i[0]+"%"),Oa(Cn,r)){var a=Cn[r];if(a===Hn&&(a=X2(r)),typeof a>"u"&&!n)throw new er("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:r,value:a}}throw new dr("intrinsic "+t+" does not exist!")},ro=function(t,n){if(typeof t!="string"||t.length===0)throw new er("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new er('"allowMissing" argument must be a boolean');if(Z2(/^%?[^%]*%?$/,t)===null)throw new dr("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=nP(t),i=r.length>0?r[0]:"",a=rP("%"+i+"%",n),o=a.name,u=a.value,s=!1,c=a.alias;c&&(i=c[0],J2(r,Q2([0,1],c)));for(var f=1,l=!0;f<r.length;f+=1){var d=r[f],h=Pa(d,0,1),v=Pa(d,-1);if((h==='"'||h==="'"||h==="`"||v==='"'||v==="'"||v==="`")&&h!==v)throw new dr("property names with quotes must have matching quotes");if((d==="constructor"||!l)&&(s=!0),i+="."+d,o="%"+i+"%",Oa(Cn,o))u=Cn[o];else if(u!=null){if(!(d in u)){if(!n)throw new er("base intrinsic for "+t+" exists, but the property is not available.");return}if(ni&&f+1>=r.length){var p=ni(u,d);l=!!p,l&&"get"in p&&!("originalValue"in p.get)?u=p.get:u=u[d]}else l=Oa(u,d),u=u[d];l&&!s&&(Cn[o]=u)}}return u},Yv={exports:{}},kf=no,iP=Kv,Un=gi,Nf=to,aP=function(t,n,r){if(!t||typeof t!="object"&&typeof t!="function")throw new Un("`obj` must be an object or a function`");if(typeof n!="string"&&typeof n!="symbol")throw new Un("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Un("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Un("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Un("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Un("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,a=arguments.length>4?arguments[4]:null,o=arguments.length>5?arguments[5]:null,u=arguments.length>6?arguments[6]:!1,s=!!Nf&&Nf(t,n);if(kf)kf(t,n,{configurable:o===null&&s?s.configurable:!o,enumerable:i===null&&s?s.enumerable:!i,value:r,writable:a===null&&s?s.writable:!a});else if(u||!i&&!a&&!o)t[n]=r;else throw new iP("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},Vu=no,Xv=function(){return!!Vu};Xv.hasArrayLengthDefineBug=function(){if(!Vu)return null;try{return Vu([],"length",{value:1}).length!==1}catch{return!0}};var oP=Xv,uP=ro,Mf=aP,sP=oP(),Df=to,$f=gi,lP=uP("%Math.floor%"),cP=function(t,n){if(typeof t!="function")throw new $f("`fn` is not a function");if(typeof n!="number"||n<0||n>4294967295||lP(n)!==n)throw new $f("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],i=!0,a=!0;if("length"in t&&Df){var o=Df(t,"length");o&&!o.configurable&&(i=!1),o&&!o.writable&&(a=!1)}return(i||a||!r)&&(sP?Mf(t,"length",n,!0,!0):Mf(t,"length",n)),t};(function(e){var t=bi(),n=ro,r=cP,i=gi,a=n("%Function.prototype.apply%"),o=n("%Function.prototype.call%"),u=n("%Reflect.apply%",!0)||t.call(o,a),s=no,c=n("%Math.max%");e.exports=function(d){if(typeof d!="function")throw new i("a function is required");var h=u(t,o,arguments);return r(h,1+c(0,d.length-(arguments.length-1)),!0)};var f=function(){return u(t,a,arguments)};s?s(e.exports,"apply",{value:f}):e.exports.apply=f})(Yv);var fP=Yv.exports,Qv=ro,Jv=fP,dP=Jv(Qv("String.prototype.indexOf")),pP=function(t,n){var r=Qv(t,!!n);return typeof r=="function"&&dP(t,".prototype.")>-1?Jv(r):r};const hP={},vP=Object.freeze(Object.defineProperty({__proto__:null,default:hP},Symbol.toStringTag,{value:"Module"})),mP=zd(vP);var bl=typeof Map=="function"&&Map.prototype,Qo=Object.getOwnPropertyDescriptor&&bl?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Aa=bl&&Qo&&typeof Qo.get=="function"?Qo.get:null,jf=bl&&Map.prototype.forEach,_l=typeof Set=="function"&&Set.prototype,Jo=Object.getOwnPropertyDescriptor&&_l?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Ta=_l&&Jo&&typeof Jo.get=="function"?Jo.get:null,Bf=_l&&Set.prototype.forEach,yP=typeof WeakMap=="function"&&WeakMap.prototype,Kr=yP?WeakMap.prototype.has:null,gP=typeof WeakSet=="function"&&WeakSet.prototype,Wr=gP?WeakSet.prototype.has:null,bP=typeof WeakRef=="function"&&WeakRef.prototype,Ff=bP?WeakRef.prototype.deref:null,_P=Boolean.prototype.valueOf,wP=Object.prototype.toString,EP=Function.prototype.toString,SP=String.prototype.match,wl=String.prototype.slice,tn=String.prototype.replace,OP=String.prototype.toUpperCase,Uf=String.prototype.toLowerCase,Zv=RegExp.prototype.test,xf=Array.prototype.concat,Ot=Array.prototype.join,PP=Array.prototype.slice,Hf=Math.floor,Yu=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Zo=Object.getOwnPropertySymbols,Xu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,pr=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Ge=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===pr||"symbol")?Symbol.toStringTag:null,em=Object.prototype.propertyIsEnumerable,Kf=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function Wf(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||Zv.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var r=e<0?-Hf(-e):Hf(e);if(r!==e){var i=String(r),a=wl.call(t,i.length+1);return tn.call(i,n,"$&_")+"."+tn.call(tn.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return tn.call(t,n,"$&_")}var Qu=mP,zf=Qu.custom,qf=nm(zf)?zf:null,AP=function e(t,n,r,i){var a=n||{};if(Xt(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Xt(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var o=Xt(a,"customInspect")?a.customInspect:!0;if(typeof o!="boolean"&&o!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Xt(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Xt(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var u=a.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return im(t,a);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var s=String(t);return u?Wf(t,s):s}if(typeof t=="bigint"){var c=String(t)+"n";return u?Wf(t,c):c}var f=typeof a.depth>"u"?5:a.depth;if(typeof r>"u"&&(r=0),r>=f&&f>0&&typeof t=="object")return Ju(t)?"[Array]":"[Object]";var l=WP(a,r);if(typeof i>"u")i=[];else if(rm(i,t)>=0)return"[Circular]";function d(j,I,C){if(I&&(i=PP.call(i),i.push(I)),C){var R={depth:a.depth};return Xt(a,"quoteStyle")&&(R.quoteStyle=a.quoteStyle),e(j,R,r+1,i)}return e(j,a,r+1,i)}if(typeof t=="function"&&!Gf(t)){var h=DP(t),v=Li(t,d);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(v.length>0?" { "+Ot.call(v,", ")+" }":"")}if(nm(t)){var p=pr?tn.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Xu.call(t);return typeof t=="object"&&!pr?Dr(p):p}if(xP(t)){for(var _="<"+Uf.call(String(t.nodeName)),g=t.attributes||[],y=0;y<g.length;y++)_+=" "+g[y].name+"="+tm(TP(g[y].value),"double",a);return _+=">",t.childNodes&&t.childNodes.length&&(_+="..."),_+="</"+Uf.call(String(t.nodeName))+">",_}if(Ju(t)){if(t.length===0)return"[]";var m=Li(t,d);return l&&!KP(m)?"["+Zu(m,l)+"]":"[ "+Ot.call(m,", ")+" ]"}if(IP(t)){var b=Li(t,d);return!("cause"in Error.prototype)&&"cause"in t&&!em.call(t,"cause")?"{ ["+String(t)+"] "+Ot.call(xf.call("[cause]: "+d(t.cause),b),", ")+" }":b.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Ot.call(b,", ")+" }"}if(typeof t=="object"&&o){if(qf&&typeof t[qf]=="function"&&Qu)return Qu(t,{depth:f-r});if(o!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if($P(t)){var E=[];return jf&&jf.call(t,function(j,I){E.push(d(I,t,!0)+" => "+d(j,t))}),Vf("Map",Aa.call(t),E,l)}if(FP(t)){var O=[];return Bf&&Bf.call(t,function(j){O.push(d(j,t))}),Vf("Set",Ta.call(t),O,l)}if(jP(t))return eu("WeakMap");if(UP(t))return eu("WeakSet");if(BP(t))return eu("WeakRef");if(RP(t))return Dr(d(Number(t)));if(NP(t))return Dr(d(Yu.call(t)));if(kP(t))return Dr(_P.call(t));if(LP(t))return Dr(d(String(t)));if(t===J)return typeof window<"u"?"{ [object Window] }":"{ [object global] }";if(!CP(t)&&!Gf(t)){var S=Li(t,d),w=Kf?Kf(t)===Object.prototype:t instanceof Object||t.constructor===Object,P=t instanceof Object?"":"null prototype",A=!w&&Ge&&Object(t)===t&&Ge in t?wl.call(hn(t),8,-1):P?"Object":"",L=w||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",D=L+(A||P?"["+Ot.call(xf.call([],A||[],P||[]),": ")+"] ":"");return S.length===0?D+"{}":l?D+"{"+Zu(S,l)+"}":D+"{ "+Ot.call(S,", ")+" }"}return String(t)};function tm(e,t,n){var r=(n.quoteStyle||t)==="double"?'"':"'";return r+e+r}function TP(e){return tn.call(String(e),/"/g,""")}function Ju(e){return hn(e)==="[object Array]"&&(!Ge||!(typeof e=="object"&&Ge in e))}function CP(e){return hn(e)==="[object Date]"&&(!Ge||!(typeof e=="object"&&Ge in e))}function Gf(e){return hn(e)==="[object RegExp]"&&(!Ge||!(typeof e=="object"&&Ge in e))}function IP(e){return hn(e)==="[object Error]"&&(!Ge||!(typeof e=="object"&&Ge in e))}function LP(e){return hn(e)==="[object String]"&&(!Ge||!(typeof e=="object"&&Ge in e))}function RP(e){return hn(e)==="[object Number]"&&(!Ge||!(typeof e=="object"&&Ge in e))}function kP(e){return hn(e)==="[object Boolean]"&&(!Ge||!(typeof e=="object"&&Ge in e))}function nm(e){if(pr)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!Xu)return!1;try{return Xu.call(e),!0}catch{}return!1}function NP(e){if(!e||typeof e!="object"||!Yu)return!1;try{return Yu.call(e),!0}catch{}return!1}var MP=Object.prototype.hasOwnProperty||function(e){return e in this};function Xt(e,t){return MP.call(e,t)}function hn(e){return wP.call(e)}function DP(e){if(e.name)return e.name;var t=SP.call(EP.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function rm(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function $P(e){if(!Aa||!e||typeof e!="object")return!1;try{Aa.call(e);try{Ta.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function jP(e){if(!Kr||!e||typeof e!="object")return!1;try{Kr.call(e,Kr);try{Wr.call(e,Wr)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function BP(e){if(!Ff||!e||typeof e!="object")return!1;try{return Ff.call(e),!0}catch{}return!1}function FP(e){if(!Ta||!e||typeof e!="object")return!1;try{Ta.call(e);try{Aa.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function UP(e){if(!Wr||!e||typeof e!="object")return!1;try{Wr.call(e,Wr);try{Kr.call(e,Kr)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function xP(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function im(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return im(wl.call(e,0,t.maxStringLength),t)+r}var i=tn.call(tn.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,HP);return tm(i,"single",t)}function HP(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+OP.call(t.toString(16))}function Dr(e){return"Object("+e+")"}function eu(e){return e+" { ? }"}function Vf(e,t,n,r){var i=r?Zu(n,r):Ot.call(n,", ");return e+" ("+t+") {"+i+"}"}function KP(e){for(var t=0;t<e.length;t++)if(rm(e[t],`
|
|
13
|
+
`)>=0)return!1;return!0}function WP(e,t){var n;if(e.indent===" ")n=" ";else if(typeof e.indent=="number"&&e.indent>0)n=Ot.call(Array(e.indent+1)," ");else return null;return{base:n,prev:Ot.call(Array(t+1),n)}}function Zu(e,t){if(e.length===0)return"";var n=`
|
|
14
14
|
`+t.prev+t.base;return n+Ot.call(e,","+n)+`
|
|
15
|
-
`+t.prev}function Li(e,t){var n=Ju(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=Xt(e,i)?t(e[i],e):""}var a=typeof Zo=="function"?Zo(e):[],o;if(pr){o={};for(var u=0;u<a.length;u++)o["$"+a[u]]=a[u]}for(var s in e)Xt(e,s)&&(n&&String(Number(s))===s&&s<e.length||pr&&o["$"+s]instanceof Symbol||(Zv.call(/[^\w$]/,s)?r.push(t(s,e)+": "+t(e[s],e)):r.push(s+": "+t(e[s],e))));if(typeof Zo=="function")for(var c=0;c<a.length;c++)em.call(e,a[c])&&r.push("["+t(a[c])+"]: "+t(e[a[c]],e));return r}var El=ro,Cr=dP,WP=PP,zP=El("%TypeError%"),Ri=El("%WeakMap%",!0),ki=El("%Map%",!0),qP=Cr("WeakMap.prototype.get",!0),GP=Cr("WeakMap.prototype.set",!0),VP=Cr("WeakMap.prototype.has",!0),YP=Cr("Map.prototype.get",!0),XP=Cr("Map.prototype.set",!0),QP=Cr("Map.prototype.has",!0),Sl=function(e,t){for(var n=e,r;(r=n.next)!==null;n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r},JP=function(e,t){var n=Sl(e,t);return n&&n.value},ZP=function(e,t,n){var r=Sl(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}},eA=function(e,t){return!!Sl(e,t)},tA=function(){var t,n,r,i={assert:function(a){if(!i.has(a))throw new zP("Side channel does not contain "+WP(a))},get:function(a){if(Ri&&a&&(typeof a=="object"||typeof a=="function")){if(t)return qP(t,a)}else if(ki){if(n)return YP(n,a)}else if(r)return JP(r,a)},has:function(a){if(Ri&&a&&(typeof a=="object"||typeof a=="function")){if(t)return VP(t,a)}else if(ki){if(n)return QP(n,a)}else if(r)return eA(r,a);return!1},set:function(a,o){Ri&&a&&(typeof a=="object"||typeof a=="function")?(t||(t=new Ri),GP(t,a,o)):ki?(n||(n=new ki),XP(n,a,o)):(r||(r={key:{},next:null}),ZP(r,a,o))}};return i},nA=String.prototype.replace,rA=/%20/g,tu={RFC1738:"RFC1738",RFC3986:"RFC3986"},Ol={default:tu.RFC3986,formatters:{RFC1738:function(e){return nA.call(e,rA,"+")},RFC3986:function(e){return String(e)}},RFC1738:tu.RFC1738,RFC3986:tu.RFC3986},iA=Ol,nu=Object.prototype.hasOwnProperty,_n=Array.isArray,Et=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),aA=function(t){for(;t.length>1;){var n=t.pop(),r=n.obj[n.prop];if(_n(r)){for(var i=[],a=0;a<r.length;++a)typeof r[a]<"u"&&i.push(r[a]);n.obj[n.prop]=i}}},am=function(t,n){for(var r=n&&n.plainObjects?Object.create(null):{},i=0;i<t.length;++i)typeof t[i]<"u"&&(r[i]=t[i]);return r},oA=function e(t,n,r){if(!n)return t;if(typeof n!="object"){if(_n(t))t.push(n);else if(t&&typeof t=="object")(r&&(r.plainObjects||r.allowPrototypes)||!nu.call(Object.prototype,n))&&(t[n]=!0);else return[t,n];return t}if(!t||typeof t!="object")return[t].concat(n);var i=t;return _n(t)&&!_n(n)&&(i=am(t,r)),_n(t)&&_n(n)?(n.forEach(function(a,o){if(nu.call(t,o)){var u=t[o];u&&typeof u=="object"&&a&&typeof a=="object"?t[o]=e(u,a,r):t.push(a)}else t[o]=a}),t):Object.keys(n).reduce(function(a,o){var u=n[o];return nu.call(a,o)?a[o]=e(a[o],u,r):a[o]=u,a},i)},uA=function(t,n){return Object.keys(n).reduce(function(r,i){return r[i]=n[i],r},t)},sA=function(e,t,n){var r=e.replace(/\+/g," ");if(n==="iso-8859-1")return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch{return r}},lA=function(t,n,r,i,a){if(t.length===0)return t;var o=t;if(typeof t=="symbol"?o=Symbol.prototype.toString.call(t):typeof t!="string"&&(o=String(t)),r==="iso-8859-1")return escape(o).replace(/%u[0-9a-f]{4}/gi,function(f){return"%26%23"+parseInt(f.slice(2),16)+"%3B"});for(var u="",s=0;s<o.length;++s){var c=o.charCodeAt(s);if(c===45||c===46||c===95||c===126||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||a===iA.RFC1738&&(c===40||c===41)){u+=o.charAt(s);continue}if(c<128){u=u+Et[c];continue}if(c<2048){u=u+(Et[192|c>>6]+Et[128|c&63]);continue}if(c<55296||c>=57344){u=u+(Et[224|c>>12]+Et[128|c>>6&63]+Et[128|c&63]);continue}s+=1,c=65536+((c&1023)<<10|o.charCodeAt(s)&1023),u+=Et[240|c>>18]+Et[128|c>>12&63]+Et[128|c>>6&63]+Et[128|c&63]}return u},cA=function(t){for(var n=[{obj:{o:t},prop:"o"}],r=[],i=0;i<n.length;++i)for(var a=n[i],o=a.obj[a.prop],u=Object.keys(o),s=0;s<u.length;++s){var c=u[s],f=o[c];typeof f=="object"&&f!==null&&r.indexOf(f)===-1&&(n.push({obj:o,prop:c}),r.push(f))}return aA(n),t},fA=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},dA=function(t){return!t||typeof t!="object"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},pA=function(t,n){return[].concat(t,n)},hA=function(t,n){if(_n(t)){for(var r=[],i=0;i<t.length;i+=1)r.push(n(t[i]));return r}return n(t)},om={arrayToObject:am,assign:uA,combine:pA,compact:cA,decode:sA,encode:lA,isBuffer:dA,isRegExp:fA,maybeMap:hA,merge:oA},um=tA,ra=om,zr=Ol,vA=Object.prototype.hasOwnProperty,Yf={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,n){return t+"["+n+"]"},repeat:function(t){return t}},kt=Array.isArray,mA=Array.prototype.push,sm=function(e,t){mA.apply(e,kt(t)?t:[t])},yA=Date.prototype.toISOString,Xf=zr.default,Ke={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:ra.encode,encodeValuesOnly:!1,format:Xf,formatter:zr.formatters[Xf],indices:!1,serializeDate:function(t){return yA.call(t)},skipNulls:!1,strictNullHandling:!1},gA=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},ru={},bA=function e(t,n,r,i,a,o,u,s,c,f,l,d,h,v,p,_){for(var g=t,y=_,m=0,b=!1;(y=y.get(ru))!==void 0&&!b;){var E=y.get(t);if(m+=1,typeof E<"u"){if(E===m)throw new RangeError("Cyclic object value");b=!0}typeof y.get(ru)>"u"&&(m=0)}if(typeof s=="function"?g=s(n,g):g instanceof Date?g=l(g):r==="comma"&&kt(g)&&(g=ra.maybeMap(g,function(R){return R instanceof Date?l(R):R})),g===null){if(a)return u&&!v?u(n,Ke.encoder,p,"key",d):n;g=""}if(gA(g)||ra.isBuffer(g)){if(u){var O=v?n:u(n,Ke.encoder,p,"key",d);return[h(O)+"="+h(u(g,Ke.encoder,p,"value",d))]}return[h(n)+"="+h(String(g))]}var S=[];if(typeof g>"u")return S;var w;if(r==="comma"&&kt(g))v&&u&&(g=ra.maybeMap(g,u)),w=[{value:g.length>0?g.join(",")||null:void 0}];else if(kt(s))w=s;else{var P=Object.keys(g);w=c?P.sort(c):P}for(var A=i&&kt(g)&&g.length===1?n+"[]":n,L=0;L<w.length;++L){var D=w[L],j=typeof D=="object"&&typeof D.value<"u"?D.value:g[D];if(!(o&&j===null)){var I=kt(g)?typeof r=="function"?r(A,D):A:A+(f?"."+D:"["+D+"]");_.set(t,m);var C=um();C.set(ru,_),sm(S,e(j,I,r,i,a,o,r==="comma"&&v&&kt(g)?null:u,s,c,f,l,d,h,v,p,C))}}return S},_A=function(t){if(!t)return Ke;if(t.encoder!==null&&typeof t.encoder<"u"&&typeof t.encoder!="function")throw new TypeError("Encoder has to be a function.");var n=t.charset||Ke.charset;if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=zr.default;if(typeof t.format<"u"){if(!vA.call(zr.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var i=zr.formatters[r],a=Ke.filter;return(typeof t.filter=="function"||kt(t.filter))&&(a=t.filter),{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:Ke.addQueryPrefix,allowDots:typeof t.allowDots>"u"?Ke.allowDots:!!t.allowDots,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Ke.charsetSentinel,delimiter:typeof t.delimiter>"u"?Ke.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:Ke.encode,encoder:typeof t.encoder=="function"?t.encoder:Ke.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:Ke.encodeValuesOnly,filter:a,format:r,formatter:i,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:Ke.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:Ke.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Ke.strictNullHandling}},wA=function(e,t){var n=e,r=_A(t),i,a;typeof r.filter=="function"?(a=r.filter,n=a("",n)):kt(r.filter)&&(a=r.filter,i=a);var o=[];if(typeof n!="object"||n===null)return"";var u;t&&t.arrayFormat in Yf?u=t.arrayFormat:t&&"indices"in t?u=t.indices?"indices":"repeat":u="indices";var s=Yf[u];if(t&&"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var c=s==="comma"&&t&&t.commaRoundTrip;i||(i=Object.keys(n)),r.sort&&i.sort(r.sort);for(var f=um(),l=0;l<i.length;++l){var d=i[l];r.skipNulls&&n[d]===null||sm(o,bA(n[d],d,s,c,r.strictNullHandling,r.skipNulls,r.encode?r.encoder:null,r.filter,r.sort,r.allowDots,r.serializeDate,r.format,r.formatter,r.encodeValuesOnly,r.charset,f))}var h=o.join(r.delimiter),v=r.addQueryPrefix===!0?"?":"";return r.charsetSentinel&&(r.charset==="iso-8859-1"?v+="utf8=%26%2310003%3B&":v+="utf8=%E2%9C%93&"),h.length>0?v+h:""},hr=om,es=Object.prototype.hasOwnProperty,EA=Array.isArray,Be={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:hr.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},SA=function(e){return e.replace(/&#(\d+);/g,function(t,n){return String.fromCharCode(parseInt(n,10))})},lm=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},OA="utf8=%26%2310003%3B",PA="utf8=%E2%9C%93",AA=function(t,n){var r={__proto__:null},i=n.ignoreQueryPrefix?t.replace(/^\?/,""):t,a=n.parameterLimit===1/0?void 0:n.parameterLimit,o=i.split(n.delimiter,a),u=-1,s,c=n.charset;if(n.charsetSentinel)for(s=0;s<o.length;++s)o[s].indexOf("utf8=")===0&&(o[s]===PA?c="utf-8":o[s]===OA&&(c="iso-8859-1"),u=s,s=o.length);for(s=0;s<o.length;++s)if(s!==u){var f=o[s],l=f.indexOf("]="),d=l===-1?f.indexOf("="):l+1,h,v;d===-1?(h=n.decoder(f,Be.decoder,c,"key"),v=n.strictNullHandling?null:""):(h=n.decoder(f.slice(0,d),Be.decoder,c,"key"),v=hr.maybeMap(lm(f.slice(d+1),n),function(p){return n.decoder(p,Be.decoder,c,"value")})),v&&n.interpretNumericEntities&&c==="iso-8859-1"&&(v=SA(v)),f.indexOf("[]=")>-1&&(v=EA(v)?[v]:v),es.call(r,h)?r[h]=hr.combine(r[h],v):r[h]=v}return r},TA=function(e,t,n,r){for(var i=r?t:lm(t,n),a=e.length-1;a>=0;--a){var o,u=e[a];if(u==="[]"&&n.parseArrays)o=[].concat(i);else{o=n.plainObjects?Object.create(null):{};var s=u.charAt(0)==="["&&u.charAt(u.length-1)==="]"?u.slice(1,-1):u,c=parseInt(s,10);!n.parseArrays&&s===""?o={0:i}:!isNaN(c)&&u!==s&&String(c)===s&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(o=[],o[c]=i):s!=="__proto__"&&(o[s]=i)}i=o}return i},CA=function(t,n,r,i){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,o=/(\[[^[\]]*])/,u=/(\[[^[\]]*])/g,s=r.depth>0&&o.exec(a),c=s?a.slice(0,s.index):a,f=[];if(c){if(!r.plainObjects&&es.call(Object.prototype,c)&&!r.allowPrototypes)return;f.push(c)}for(var l=0;r.depth>0&&(s=u.exec(a))!==null&&l<r.depth;){if(l+=1,!r.plainObjects&&es.call(Object.prototype,s[1].slice(1,-1))&&!r.allowPrototypes)return;f.push(s[1])}return s&&f.push("["+a.slice(s.index)+"]"),TA(f,n,r,i)}},IA=function(t){if(!t)return Be;if(t.decoder!==null&&t.decoder!==void 0&&typeof t.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=typeof t.charset>"u"?Be.charset:t.charset;return{allowDots:typeof t.allowDots>"u"?Be.allowDots:!!t.allowDots,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:Be.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:Be.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:Be.arrayLimit,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Be.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:Be.comma,decoder:typeof t.decoder=="function"?t.decoder:Be.decoder,delimiter:typeof t.delimiter=="string"||hr.isRegExp(t.delimiter)?t.delimiter:Be.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:Be.depth,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:Be.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:Be.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:Be.plainObjects,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Be.strictNullHandling}},LA=function(e,t){var n=IA(t);if(e===""||e===null||typeof e>"u")return n.plainObjects?Object.create(null):{};for(var r=typeof e=="string"?AA(e,n):e,i=n.plainObjects?Object.create(null):{},a=Object.keys(r),o=0;o<a.length;++o){var u=a[o],s=CA(u,r[u],n,typeof e=="string");i=hr.merge(i,s,n)}return n.allowSparse===!0?i:hr.compact(i)},RA=wA,kA=LA,NA=Ol,MA={formats:NA,parse:kA,stringify:RA};const DA=yr(MA);var Pl={exports:{}};class cm extends Error{constructor(){super("Throttled function aborted"),this.name="AbortError"}}const $A=({limit:e,interval:t,strict:n})=>{if(!Number.isFinite(e))throw new TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(t))throw new TypeError("Expected `interval` to be a finite number");const r=new Map;let i=0,a=0;function o(){const f=Date.now();return f-i>t?(a=1,i=f,0):(a<e?a++:(i+=t,a=1),i-f)}const u=[];function s(){const f=Date.now();if(u.length<e)return u.push(f),0;const l=u.shift()+t;return f>=l?(u.push(f),0):(u.push(l),l-f)}const c=n?s:o;return f=>{const l=function(...d){if(!l.isEnabled)return(async()=>f.apply(this,d))();let h;return new Promise((v,p)=>{h=setTimeout(()=>{v(f.apply(this,d)),r.delete(h)},c()),r.set(h,p)})};return l.abort=()=>{for(const d of r.keys())clearTimeout(d),r.get(d)(new cm);r.clear(),u.splice(0,u.length)},l.isEnabled=!0,l}};Pl.exports=$A;Pl.exports.AbortError=cm;var jA=Pl.exports;const BA=yr(jA);function FA(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,a,o,u=[],s=!0,c=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(u.push(r.value),u.length!==t);s=!0);}catch(f){c=!0,i=f}finally{try{if(!s&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return u}}function Qf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Gn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Qf(Object(n),!0).forEach(function(r){UA(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ts(e){"@babel/helpers - typeof";return ts=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ts(e)}function ns(){ns=function(i,a){return new n(i,void 0,a)};var e=RegExp.prototype,t=new WeakMap;function n(i,a,o){var u=new RegExp(i,a);return t.set(u,o||t.get(i)),Ca(u,n.prototype)}function r(i,a){var o=t.get(a);return Object.keys(o).reduce(function(u,s){var c=o[s];if(typeof c=="number")u[s]=i[c];else{for(var f=0;i[c[f]]===void 0&&f+1<c.length;)f++;u[s]=i[c[f]]}return u},Object.create(null))}return xA(n,RegExp),n.prototype.exec=function(i){var a=e.exec.call(this,i);if(a){a.groups=r(a,this);var o=a.indices;o&&(o.groups=r(o,this))}return a},n.prototype[Symbol.replace]=function(i,a){if(typeof a=="string"){var o=t.get(this);return e[Symbol.replace].call(this,i,a.replace(/\$<([^>]+)>/g,function(s,c){var f=o[c];return"$"+(Array.isArray(f)?f.join("$"):f)}))}if(typeof a=="function"){var u=this;return e[Symbol.replace].call(this,i,function(){var s=arguments;return typeof s[s.length-1]!="object"&&(s=[].slice.call(s)).push(r(s,u)),a.apply(this,s)})}return e[Symbol.replace].call(this,i,a)},ns.apply(this,arguments)}function UA(e,t,n){return t=GA(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ca(e,t)}function Ca(e,t){return Ca=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Ca(e,t)}function HA(e,t){return KA(e)||FA(e,t)||fm(e,t)||WA()}function KA(e){if(Array.isArray(e))return e}function fm(e,t){if(e){if(typeof e=="string")return Jf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Jf(e,t)}}function Jf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function WA(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
16
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
17
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,u;return{s:function(){n=n.call(e)},n:function(){var s=n.next();return a=s.done,s},e:function(s){o=!0,u=s},f:function(){try{!a&&n.return!=null&&n.return()}finally{if(o)throw u}}}}function qA(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function GA(e){var t=qA(e,"string");return typeof t=="symbol"?t:String(t)}function VA(){return typeof process<"u"&&!process.browser}function YA(){return typeof window<"u"&&"navigator"in window&&"product"in window.navigator&&window.navigator.product==="ReactNative"}function XA(){return process.versions&&process.versions.node?"v".concat(process.versions.node):process.version}function QA(){return window}function rs(){}var is=ns(/(\d+)(%)/,{value:1});function iu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:7,n=t;if(is.test(e)){var r,i=(r=e.match(is))===null||r===void 0?void 0:r.groups;if(i&&i.value){var a=parseInt(i.value)/100;n=Math.round(t*a)}}return Math.min(30,Math.max(1,n))}function Zf(e,t){return t("info","Throttle request to ".concat(e,"/s")),BA({limit:e,interval:1e3,strict:!1})}var JA=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"auto",n=e.defaults.logHandler,r=n===void 0?rs:n,i=Kl(t)?iu(t):iu("auto",t),a=Zf(i,r),o=!1,u=e.interceptors.request.use(function(c){return a(function(){return c})()},function(c){return Promise.reject(c)}),s=e.interceptors.response.use(function(c){if(!o&&Kl(t)&&(t==="auto"||is.test(t))&&c.headers&&c.headers["x-contentful-ratelimit-second-limit"]){var f=parseInt(c.headers["x-contentful-ratelimit-second-limit"]),l=iu(t,f);l!==i&&(u&&e.interceptors.request.eject(u),i=l,a=Zf(l,r),u=e.interceptors.request.use(function(d){return a(function(){return d})()},function(d){return Promise.reject(d)})),o=!0}return c},function(c){return Promise.reject(c)});return function(){e.interceptors.request.eject(u),e.interceptors.response.eject(s)}},ZA=function(t){return new Promise(function(n){setTimeout(n,t)})},e5=function(t){return Math.pow(Math.SQRT2,t)};function t5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,n=e.defaults,r=n.responseLogger,i=r===void 0?rs:r,a=n.requestLogger,o=a===void 0?rs:a;e.interceptors.request.use(function(u){return o(u),u},function(u){return o(u),Promise.reject(u)}),e.interceptors.response.use(function(u){return i(u),u},function(u){var s=u.response,c=u.config;if(i(u),!c||!e.defaults.retryOnError)return Promise.reject(u);var f=c.attempts||1;if(f>t)return u.attempts=c.attempts,Promise.reject(u);var l=null,d=e5(f);return s?s.status>=500&&s.status<600?l="Server ".concat(s.status):s.status===429&&(l="Rate limit",s.headers&&u.response.headers["x-contentful-ratelimit-reset"]&&(d=s.headers["x-contentful-ratelimit-reset"])):l="Connection",l?(d=Math.floor(d*1e3+Math.random()*200+500),e.defaults.logHandler("warning","".concat(l," error occurred. Waiting for ").concat(d," ms before retrying...")),c.attempts=f+1,delete c.httpAgent,delete c.httpsAgent,ZA(d).then(function(){return e(c)})):Promise.reject(u)})}function n5(e,t){e.interceptors.request.use(function(n){return t().then(function(r){return n.headers=Gn(Gn({},n.headers),{},{Authorization:"Bearer ".concat(r)}),n})})}var r5=/^(?!\w+:\/\/)([^\s:]+\.?[^\s:]+)(?::(\d+))?(?!:)$/;function dm(e,t){var n={insecure:!1,retryOnError:!0,logHandler:function(p,_){if(p==="error"&&_){var g=[_.name,_.message].filter(function(y){return y}).join(" - ");console.error("[error] ".concat(g)),console.error(_);return}console.log("[".concat(p,"] ").concat(_))},headers:{},httpAgent:!1,httpsAgent:!1,timeout:3e4,throttle:0,proxy:!1,basePath:"",adapter:void 0,maxContentLength:1073741824,maxBodyLength:1073741824},r=Gn(Gn({},n),t);if(!r.accessToken){var i=new TypeError("Expected parameter accessToken");throw r.logHandler("error",i),i}var a=r.insecure?"http":"https",o=r.space?"".concat(r.space,"/"):"",u=r.defaultHostname,s=r.insecure?80:443;if(r.host&&r5.test(r.host)){var c=r.host.split(":");if(c.length===2){var f=HA(c,2);u=f[0],s=f[1]}else u=c[0]}r.basePath&&(r.basePath="/".concat(r.basePath.split("/").filter(Boolean).join("/")));var l=t.baseURL||"".concat(a,"://").concat(u,":").concat(s).concat(r.basePath,"/spaces/").concat(o);!r.headers.Authorization&&typeof r.accessToken!="function"&&(r.headers.Authorization="Bearer "+r.accessToken);var d={baseURL:l,headers:r.headers,httpAgent:r.httpAgent,httpsAgent:r.httpsAgent,paramsSerializer:DA.stringify,proxy:r.proxy,timeout:r.timeout,adapter:r.adapter,maxContentLength:r.maxContentLength,maxBodyLength:r.maxBodyLength,logHandler:r.logHandler,responseLogger:r.responseLogger,requestLogger:r.requestLogger,retryOnError:r.retryOnError},h=e.create(d);return h.httpClientParams=t,h.cloneWithNewParams=function(v){return dm(e,Gn(Gn({},De(t)),v))},r.onBeforeRequest&&h.interceptors.request.use(r.onBeforeRequest),typeof r.accessToken=="function"&&n5(h,r.accessToken),r.throttle&&JA(h,r.throttle),t5(h,r.retryLimit),r.onError&&h.interceptors.response.use(function(v){return v},r.onError),h}function gn(e){var t=e.query,n={};return delete t.resolveLinks,n.params=De(t),n}function pm(e){var t=Object.getOwnPropertyNames(e),n=zA(t),r;try{for(n.s();!(r=n.n()).done;){var i=r.value,a=e[i];a&&ts(a)==="object"&&pm(a)}}catch(o){n.e(o)}finally{n.f()}return Object.freeze(e)}function ot(e){return pm(e.sys||{}),e}function ed(){var e=QA();if(!e)return null;var t=e.navigator.userAgent,n=e.navigator.platform,r=["Macintosh","MacIntel","MacPPC","Mac68K"],i=["Win32","Win64","Windows","WinCE"],a=["iPhone","iPad","iPod"];return r.indexOf(n)!==-1?"macOS":a.indexOf(n)!==-1?"iOS":i.indexOf(n)!==-1?"Windows":/Android/.test(t)?"Android":/Linux/.test(n)?"Linux":null}function i5(){var e=process.platform||"linux",t=process.version||"0.0.0",n={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return e in n?"".concat(n[e]||"Linux","/").concat(t):null}function a5(e,t,n,r){var i=[];t&&i.push("app ".concat(t)),n&&i.push("integration ".concat(n)),r&&i.push("feature "+r),i.push("sdk ".concat(e));var a=null;try{YA()?(a=ed(),i.push("platform ReactNative")):VA()?(a=i5(),i.push("platform node.js/".concat(XA()))):(a=ed(),i.push("platform browser"))}catch{a=null}return a&&i.push("os ".concat(a)),"".concat(i.filter(function(o){return o!==""}).join("; "),";")}function Qe(e){return Object.defineProperty(e,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return De(this)}})}function dt(e){var t=e.config,n=e.response,r;if(t&&t.headers&&t.headers.Authorization){var i="...".concat(t.headers.Authorization.toString().substr(-5));t.headers.Authorization="Bearer ".concat(i)}if(!Ai(n)||!Ai(t))throw e;var a=n==null?void 0:n.data,o={status:n==null?void 0:n.status,statusText:n==null?void 0:n.statusText,message:"",details:{}};Ai(t)&&(o.request={url:t.url,headers:t.headers,method:t.method,payloadData:t.data}),a&&Ai(a)&&("requestId"in a&&(o.requestId=a.requestId||"UNKNOWN"),"message"in a&&(o.message=a.message||""),"details"in a&&(o.details=a.details||{}),"sys"in a&&"id"in a.sys&&(r=a.sys.id));var u=new Error;u.name=r&&r!=="Unknown"?r:"".concat(n==null?void 0:n.status," ").concat(n==null?void 0:n.statusText);try{u.message=JSON.stringify(o,null," ")}catch{var s;u.message=(s=o==null?void 0:o.message)!==null&&s!==void 0?s:""}throw u}function o5(e){return ot(Qe(e))}const u5=Object.freeze(Object.defineProperty({__proto__:null,wrapSpace:o5},Symbol.toStringTag,{value:"Module"}));var as={exports:{}};(function(e,t){t=e.exports=n,t.getSerialize=r;function n(i,a,o,u){return JSON.stringify(i,r(a,u),o)}function r(i,a){var o=[],u=[];return a==null&&(a=function(s,c){return o[0]===c?"[Circular ~]":"[Circular ~."+u.slice(0,o.indexOf(c)).join(".")+"]"}),function(s,c){if(o.length>0){var f=o.indexOf(this);~f?o.splice(f+1):o.push(this),~f?u.splice(f,1/0,s):u.push(s),~o.indexOf(c)&&(c=a.call(this,s,c))}else o.push(c);return i==null?c:i.call(this,s,c)}}})(as,as.exports);var s5=as.exports;const l5=yr(s5);function hm(e){return Object.defineProperty(e,"stringifySafe",{enumerable:!1,configurable:!1,writable:!1,value:function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return l5(this,t,n,(r,i)=>({sys:{type:"Link",linkType:"Entry",id:i.sys.id,circular:!0}}))}})}var c5=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f5=function(){function e(t,n){var r=[],i=!0,a=!1,o=void 0;try{for(var u=t[Symbol.iterator](),s;!(i=(s=u.next()).done)&&(r.push(s.value),!(n&&r.length===n));i=!0);}catch(c){a=!0,o=c}finally{try{!i&&u.return&&u.return()}finally{if(a)throw o}}return r}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();function $r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}else return Array.from(e)}var ri={},d5=function(t){return t&&t.sys&&t.sys.type==="Link"},p5=function(t){return t&&t.sys&&t.sys.type==="ResourceLink"},h5=function(t){return t.space&&t.environment?[t.type+"!"+t.id,t.space.sys.id+"!"+t.environment.sys.id+"!"+t.type+"!"+t.id]:[t.type+"!"+t.id]},td=function(t,n){var r=n.entryId,i=n.linkType,a=n.spaceId,o=n.environmentId;return a&&o?t.get(a+"!"+o+"!"+i+"!"+r):t.get(i+"!"+r)},v5=function(t){var n=/.*:spaces\/([^/]+)(?:\/environments\/([^/]+))?\/entries\/([^/]+)$/;if(n.test(t)){var r=t.match(n),i=f5(r,4);i[0];var a=i[1],o=i[2],u=o===void 0?"master":o,s=i[3];return{spaceId:a,environmentId:u,entryId:s}}},m5=function(t,n){var r=n.sys,i=r.type,a=r.linkType;if(i==="ResourceLink"){var o=n.sys.urn,u=v5(o),s=u.spaceId,c=u.environmentId,f=u.entryId,l=a.split(":")[1];return td(t,{linkType:l,entryId:f,spaceId:s,environmentId:c})||ri}var d=n.sys.id;return td(t,{linkType:a,entryId:d})||ri},y5=function(t){if(Array.isArray(t))return t.filter(function(r){return r!==ri});for(var n in t)t[n]===ri&&delete t[n];return t},g5=function e(t,n,r,i){if(n(t))return r(t);if(t&&(typeof t>"u"?"undefined":c5(t))==="object"){for(var a in t)t.hasOwnProperty(a)&&(t[a]=e(t[a],n,r,i));i&&(t=y5(t))}return t},b5=function(t,n,r){var i=m5(t,n);return i===ri?r?i:n:i},_5=function(t,n){if(!Array.isArray(n))return t;var r=Object.keys(t).filter(function(i){return n.indexOf(i)!==-1});return r.reduce(function(i,a){return i[a]=t[a],i},{})},vm=function(t,n){if(n=n||{},!t.items)return[];var r=De(t),i=Object.keys(r.includes||{}).reduce(function(u,s){return[].concat($r(u),$r(t.includes[s]))},[]),a=[].concat($r(r.items),$r(i)).filter(function(u){return!!u.sys}),o=new Map(a.reduce(function(u,s){var c=h5(s.sys).map(function(f){return[f,s]});return u.push.apply(u,$r(c)),u},[]));return a.forEach(function(u){var s=_5(u,n.itemEntryPoints);Object.assign(u,g5(s,function(c){return d5(c)||p5(c)},function(c){return b5(o,c,n.removeUnresolved)},n.removeUnresolved))}),r.items};function w5(e){return ot(Qe(De(e)))}function E5(e,t){let{resolveLinks:n,removeUnresolved:r}=t;const i=hm(Qe(De(e)));return n&&(i.items=vm(i,{removeUnresolved:r,itemEntryPoints:["fields"]})),ot(i)}const S5=Object.freeze(Object.defineProperty({__proto__:null,wrapEntry:w5,wrapEntryCollection:E5},Symbol.toStringTag,{value:"Module"}));function O5(e){return ot(Qe(De(e)))}function P5(e){return ot(Qe(De(e)))}const A5=Object.freeze(Object.defineProperty({__proto__:null,wrapAsset:O5,wrapAssetCollection:P5},Symbol.toStringTag,{value:"Module"}));function T5(e){return ot(Qe(De(e)))}const C5=Object.freeze(Object.defineProperty({__proto__:null,wrapAssetKey:T5},Symbol.toStringTag,{value:"Module"}));function I5(e){return ot(Qe(De(e)))}function L5(e){return ot(Qe(De(e)))}const R5=Object.freeze(Object.defineProperty({__proto__:null,wrapContentType:I5,wrapContentTypeCollection:L5},Symbol.toStringTag,{value:"Module"}));function k5(e){return ot(Qe(De(e)))}function N5(e){return ot(Qe(De(e)))}const M5=Object.freeze(Object.defineProperty({__proto__:null,wrapLocale:k5,wrapLocaleCollection:N5},Symbol.toStringTag,{value:"Module"}));function D5(e){return ot(Qe(De(e)))}function $5(e){return ot(Qe(De(e)))}const j5=Object.freeze(Object.defineProperty({__proto__:null,wrapTag:D5,wrapTagCollection:$5},Symbol.toStringTag,{value:"Module"})),mn={space:u5,entry:S5,asset:A5,assetKey:C5,contentType:R5,locale:M5,tag:j5};function nd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function rd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?nd(Object(n),!0).forEach(function(r){B5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nd(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function B5(e,t,n){return t=F5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function F5(e){var t=U5(e,"string");return typeof t=="symbol"?t:String(t)}function U5(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}async function x5(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t||!t.initial&&!t.nextSyncToken&&!t.nextPageToken)throw new Error("Please provide one of `initial`, `nextSyncToken` or `nextPageToken` parameters for syncing");if(t&&t.content_type&&!t.type)t.type="Entry";else if(t&&t.content_type&&t.type&&t.type!=="Entry")throw new Error("When using the `content_type` filter your `type` parameter cannot be different from `Entry`.");const r={resolveLinks:!0,removeUnresolved:!1,paginate:!0},{resolveLinks:i,removeUnresolved:a,paginate:o}=rd(rd({},r),n),s=await mm(e,[],t,{paginate:o});i&&(s.items=vm(s,{removeUnresolved:a,itemEntryPoints:["fields"]}));const c=H5(s.items);return s.nextSyncToken&&(c.nextSyncToken=s.nextSyncToken),s.nextPageToken&&(c.nextPageToken=s.nextPageToken),ot(hm(Qe(c)))}function H5(e){const t=n=>(r,i)=>(i.sys.type===n&&r.push(Qe(i)),r);return{entries:e.reduce(t("Entry"),[]),assets:e.reduce(t("Asset"),[]),deletedEntries:e.reduce(t("DeletedEntry"),[]),deletedAssets:e.reduce(t("DeletedAsset"),[])}}async function mm(e,t,n,r){let{paginate:i}=r;n.nextSyncToken&&(n.sync_token=n.nextSyncToken,delete n.nextSyncToken),n.nextPageToken&&(n.sync_token=n.nextPageToken,delete n.nextPageToken),n.sync_token&&(delete n.initial,delete n.type,delete n.content_type,delete n.limit);const o=(await e.get("sync",gn({query:n}))).data||{};return t=t.concat(o.items||[]),o.nextPageUrl?i?(delete n.initial,n.sync_token=au(o.nextPageUrl),mm(e,t,n,{paginate:i})):{items:t,nextPageToken:au(o.nextPageUrl)}:o.nextSyncUrl?{items:t,nextSyncToken:au(o.nextSyncUrl)}:{items:[]}}function au(e){const t=e.split("?");return t.length>0?t[1].replace("sync_token=",""):""}function id(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ad(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?id(Object(n),!0).forEach(function(r){K5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):id(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function K5(e,t,n){return t=W5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function W5(e){var t=z5(e,"string");return typeof t=="symbol"?t:String(t)}function z5(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ni(e){if(!e.select)return e;const t=Array.isArray(e.select)?e.select:e.select.split(",").map(r=>r.trim()),n=new Set(t);return n.has("sys")?e:(n.add("sys.id"),n.add("sys.type"),ad(ad({},e),{},{select:[...n].join(",")}))}class ou extends Error{constructor(t,n){super(`Invalid "${t}" provided, `+n),this.name="ValidationError"}}function q5(e,t,n){if(n=n||{},typeof t!="number")throw new ou(e,`only numeric values are allowed for timestamps, provided type was "${typeof t}"`);if(n.maximum&&t>n.maximum)throw new ou(e,`value (${t}) cannot be further in the future than expected maximum (${n.maximum})`);if(n.now&&t<n.now)throw new ou(e,`value (${t}) cannot be in the past, current time was ${n.now}`)}function od(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ud(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?od(Object(n),!0).forEach(function(r){G5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):od(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function G5(e,t,n){return t=V5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function V5(e){var t=Y5(e,"string");return typeof t=="symbol"?t:String(t)}function Y5(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}const X5=48*60*60;function Q5(e){let{http:t,getGlobalOptions:n}=e;const{wrapSpace:r}=mn.space,{wrapContentType:i,wrapContentTypeCollection:a}=mn.contentType,{wrapEntry:o,wrapEntryCollection:u}=mn.entry,{wrapAsset:s,wrapAssetCollection:c}=mn.asset,{wrapTag:f,wrapTagCollection:l}=mn.tag,{wrapAssetKey:d}=mn.assetKey,{wrapLocaleCollection:h}=mn.locale,v=I=>{const C=new Error("The resource could not be found.");return C.sys={type:"Error",id:"NotFound"},C.details={type:"Entry",id:I,environment:n().environment,space:n().space},C};async function p(){j(t);try{const I=await t.get("/");return r(I.data)}catch(I){dt(I)}}async function _(I){D(t);try{const C=await t.get(`content_types/${I}`);return i(C.data)}catch(C){dt(C)}}async function g(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};D(t);try{const C=await t.get("content_types",gn({query:I}));return a(C.data)}catch(C){dt(C)}}async function y(I){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!I)throw v(I);try{const R=await this.getEntries(ud({"sys.id":I},C));if(R.items.length>0)return o(R.items[0]);throw v(I)}catch(R){dt(R)}}async function m(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};D(t);const{resolveLinks:C,removeUnresolved:R}=n(I);I=Ni(I);try{const $=await t.get("entries",gn({query:I}));return u($.data,{resolveLinks:C,removeUnresolved:R})}catch($){dt($)}}async function b(I){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};D(t),C=Ni(C);try{const R=await t.get(`assets/${I}`,gn({query:C}));return s(R.data)}catch(R){dt(R)}}async function E(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};D(t),I=Ni(I);try{const C=await t.get("assets",gn({query:I}));return c(C.data)}catch(C){dt(C)}}async function O(I){D(t);try{const C=await t.get(`tags/${I}`);return f(C.data)}catch(C){dt(C)}}async function S(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};D(t),I=Ni(I);try{const C=await t.get("tags",gn({query:I}));return l(C.data)}catch(C){dt(C)}}async function w(I){D(t);try{const C=Math.floor(Date.now()/1e3),R=C+X5;q5("expiresAt",I,{maximum:R,now:C});const $={expiresAt:I},B=await t.post("asset_keys",$);return d(B.data)}catch(C){dt(C)}}async function P(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};D(t);try{const C=await t.get("locales",gn({query:I}));return h(C.data)}catch(C){dt(C)}}async function A(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{paginate:!0};const{resolveLinks:R,removeUnresolved:$}=n(I);return D(t),x5(t,I,ud({resolveLinks:R,removeUnresolved:$},C))}function L(I){const{resolveLinks:C,removeUnresolved:R}=n({});return u(I,{resolveLinks:C,removeUnresolved:R})}function D(I){I.defaults.baseURL=n().environmentBaseUrl}function j(I){I.defaults.baseURL=n().spaceBaseUrl}return{getSpace:p,getContentType:_,getContentTypes:g,getEntry:y,getEntries:m,getAsset:b,getAssets:E,getTag:O,getTags:S,createAssetKey:w,getLocales:P,parseEntries:L,sync:A}}function J5(e){return function(n){return Object.assign({},e,n)}}function sd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Mi(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?sd(Object(n),!0).forEach(function(r){Z5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sd(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Z5(e,t,n){return t=eT(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eT(e){var t=tT(e,"string");return typeof t=="symbol"?t:String(t)}function tT(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function fR(e){if(!e.accessToken)throw new TypeError("Expected parameter accessToken");if(!e.space)throw new TypeError("Expected parameter space");const n=Mi(Mi({},{resolveLinks:!0,removeUnresolved:!1,defaultHostname:"cdn.contentful.com",environment:"master"}),e),r=a5("contentful.js/9.3.6",n.application,n.integration);n.headers=Mi(Mi({},n.headers),{},{"Content-Type":"application/vnd.contentful.delivery.v1+json","X-Contentful-User-Agent":r});const i=dm(qO,n),a=J5({resolveLinks:n.resolveLinks,environment:n.environment,removeUnresolved:n.removeUnresolved,spaceBaseUrl:i.defaults.baseURL,environmentBaseUrl:`${i.defaults.baseURL}environments/${n.environment}`});return i.defaults.baseURL=a().environmentBaseUrl,Q5({http:i,getGlobalOptions:a})}var nT={};const ym=zd(or);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(I){return I&&typeof I=="object"&&"default"in I?I.default:I}var n=ym,r=t(n),i=function(){return i=Object.assign||function(C){for(var R,$=1,B=arguments.length;$<B;$++){R=arguments[$];for(var Y in R)Object.prototype.hasOwnProperty.call(R,Y)&&(C[Y]=R[Y])}return C},i.apply(this,arguments)},a=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof J<"u"?J:typeof self<"u"?self:{};function o(I){return I&&I.__esModule&&Object.prototype.hasOwnProperty.call(I,"default")?I.default:I}function u(I,C){return C={exports:{}},I(C,C.exports),C.exports}var s=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0}),C.BLOCKS=void 0,function(R){R.DOCUMENT="document",R.PARAGRAPH="paragraph",R.HEADING_1="heading-1",R.HEADING_2="heading-2",R.HEADING_3="heading-3",R.HEADING_4="heading-4",R.HEADING_5="heading-5",R.HEADING_6="heading-6",R.OL_LIST="ordered-list",R.UL_LIST="unordered-list",R.LIST_ITEM="list-item",R.HR="hr",R.QUOTE="blockquote",R.EMBEDDED_ENTRY="embedded-entry-block",R.EMBEDDED_ASSET="embedded-asset-block",R.EMBEDDED_RESOURCE="embedded-resource-block",R.TABLE="table",R.TABLE_ROW="table-row",R.TABLE_CELL="table-cell",R.TABLE_HEADER_CELL="table-header-cell"}(C.BLOCKS||(C.BLOCKS={}))});o(s),s.BLOCKS;var c=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0}),C.INLINES=void 0,function(R){R.HYPERLINK="hyperlink",R.ENTRY_HYPERLINK="entry-hyperlink",R.ASSET_HYPERLINK="asset-hyperlink",R.RESOURCE_HYPERLINK="resource-hyperlink",R.EMBEDDED_ENTRY="embedded-entry-inline",R.EMBEDDED_RESOURCE="embedded-resource-inline"}(C.INLINES||(C.INLINES={}))});o(c),c.INLINES;var f=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0});var R;(function($){$.BOLD="bold",$.ITALIC="italic",$.UNDERLINE="underline",$.CODE="code",$.SUPERSCRIPT="superscript",$.SUBSCRIPT="subscript"})(R||(R={})),C.default=R});o(f);var l=u(function(I,C){var R=a&&a.__spreadArray||function(z,X,x){if(x||arguments.length===2)for(var U=0,q=X.length,H;U<q;U++)(H||!(U in X))&&(H||(H=Array.prototype.slice.call(X,0,U)),H[U]=X[U]);return z.concat(H||Array.prototype.slice.call(X))},$=a&&a.__importDefault||function(z){return z&&z.__esModule?z:{default:z}},B;Object.defineProperty(C,"__esModule",{value:!0}),C.V1_MARKS=C.V1_NODE_TYPES=C.TEXT_CONTAINERS=C.HEADINGS=C.CONTAINERS=C.VOID_BLOCKS=C.TABLE_BLOCKS=C.LIST_ITEM_BLOCKS=C.TOP_LEVEL_BLOCKS=void 0;var Y=$(f);C.TOP_LEVEL_BLOCKS=[s.BLOCKS.PARAGRAPH,s.BLOCKS.HEADING_1,s.BLOCKS.HEADING_2,s.BLOCKS.HEADING_3,s.BLOCKS.HEADING_4,s.BLOCKS.HEADING_5,s.BLOCKS.HEADING_6,s.BLOCKS.OL_LIST,s.BLOCKS.UL_LIST,s.BLOCKS.HR,s.BLOCKS.QUOTE,s.BLOCKS.EMBEDDED_ENTRY,s.BLOCKS.EMBEDDED_ASSET,s.BLOCKS.EMBEDDED_RESOURCE,s.BLOCKS.TABLE],C.LIST_ITEM_BLOCKS=[s.BLOCKS.PARAGRAPH,s.BLOCKS.HEADING_1,s.BLOCKS.HEADING_2,s.BLOCKS.HEADING_3,s.BLOCKS.HEADING_4,s.BLOCKS.HEADING_5,s.BLOCKS.HEADING_6,s.BLOCKS.OL_LIST,s.BLOCKS.UL_LIST,s.BLOCKS.HR,s.BLOCKS.QUOTE,s.BLOCKS.EMBEDDED_ENTRY,s.BLOCKS.EMBEDDED_ASSET,s.BLOCKS.EMBEDDED_RESOURCE],C.TABLE_BLOCKS=[s.BLOCKS.TABLE,s.BLOCKS.TABLE_ROW,s.BLOCKS.TABLE_CELL,s.BLOCKS.TABLE_HEADER_CELL],C.VOID_BLOCKS=[s.BLOCKS.HR,s.BLOCKS.EMBEDDED_ENTRY,s.BLOCKS.EMBEDDED_ASSET,s.BLOCKS.EMBEDDED_RESOURCE],C.CONTAINERS=(B={},B[s.BLOCKS.OL_LIST]=[s.BLOCKS.LIST_ITEM],B[s.BLOCKS.UL_LIST]=[s.BLOCKS.LIST_ITEM],B[s.BLOCKS.LIST_ITEM]=C.LIST_ITEM_BLOCKS,B[s.BLOCKS.QUOTE]=[s.BLOCKS.PARAGRAPH],B[s.BLOCKS.TABLE]=[s.BLOCKS.TABLE_ROW],B[s.BLOCKS.TABLE_ROW]=[s.BLOCKS.TABLE_CELL,s.BLOCKS.TABLE_HEADER_CELL],B[s.BLOCKS.TABLE_CELL]=[s.BLOCKS.PARAGRAPH],B[s.BLOCKS.TABLE_HEADER_CELL]=[s.BLOCKS.PARAGRAPH],B),C.HEADINGS=[s.BLOCKS.HEADING_1,s.BLOCKS.HEADING_2,s.BLOCKS.HEADING_3,s.BLOCKS.HEADING_4,s.BLOCKS.HEADING_5,s.BLOCKS.HEADING_6],C.TEXT_CONTAINERS=R([s.BLOCKS.PARAGRAPH],C.HEADINGS,!0),C.V1_NODE_TYPES=[s.BLOCKS.DOCUMENT,s.BLOCKS.PARAGRAPH,s.BLOCKS.HEADING_1,s.BLOCKS.HEADING_2,s.BLOCKS.HEADING_3,s.BLOCKS.HEADING_4,s.BLOCKS.HEADING_5,s.BLOCKS.HEADING_6,s.BLOCKS.OL_LIST,s.BLOCKS.UL_LIST,s.BLOCKS.LIST_ITEM,s.BLOCKS.HR,s.BLOCKS.QUOTE,s.BLOCKS.EMBEDDED_ENTRY,s.BLOCKS.EMBEDDED_ASSET,c.INLINES.HYPERLINK,c.INLINES.ENTRY_HYPERLINK,c.INLINES.ASSET_HYPERLINK,c.INLINES.EMBEDDED_ENTRY,"text"],C.V1_MARKS=[Y.default.BOLD,Y.default.CODE,Y.default.ITALIC,Y.default.UNDERLINE]});o(l),l.V1_MARKS,l.V1_NODE_TYPES,l.TEXT_CONTAINERS,l.HEADINGS,l.CONTAINERS,l.VOID_BLOCKS,l.TABLE_BLOCKS,l.LIST_ITEM_BLOCKS,l.TOP_LEVEL_BLOCKS;var d=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0})});o(d);var h=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0})});o(h);var v=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0});var R={nodeType:s.BLOCKS.DOCUMENT,data:{},content:[{nodeType:s.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};C.default=R});o(v);var p=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0}),C.isText=C.isBlock=C.isInline=void 0;function R(z,X){for(var x=0,U=Object.keys(z);x<U.length;x++){var q=U[x];if(X===z[q])return!0}return!1}function $(z){return R(c.INLINES,z.nodeType)}C.isInline=$;function B(z){return R(s.BLOCKS,z.nodeType)}C.isBlock=B;function Y(z){return z.nodeType==="text"}C.isText=Y});o(p),p.isText,p.isBlock,p.isInline;var _=u(function(I,C){var R=a&&a.__createBinding||(Object.create?function(x,U,q,H){H===void 0&&(H=q);var ne=Object.getOwnPropertyDescriptor(U,q);(!ne||("get"in ne?!U.__esModule:ne.writable||ne.configurable))&&(ne={enumerable:!0,get:function(){return U[q]}}),Object.defineProperty(x,H,ne)}:function(x,U,q,H){H===void 0&&(H=q),x[H]=U[q]}),$=a&&a.__setModuleDefault||(Object.create?function(x,U){Object.defineProperty(x,"default",{enumerable:!0,value:U})}:function(x,U){x.default=U}),B=a&&a.__exportStar||function(x,U){for(var q in x)q!=="default"&&!Object.prototype.hasOwnProperty.call(U,q)&&R(U,x,q)},Y=a&&a.__importStar||function(x){if(x&&x.__esModule)return x;var U={};if(x!=null)for(var q in x)q!=="default"&&Object.prototype.hasOwnProperty.call(x,q)&&R(U,x,q);return $(U,x),U},z=a&&a.__importDefault||function(x){return x&&x.__esModule?x:{default:x}};Object.defineProperty(C,"__esModule",{value:!0}),C.helpers=C.EMPTY_DOCUMENT=C.MARKS=C.INLINES=C.BLOCKS=void 0,Object.defineProperty(C,"BLOCKS",{enumerable:!0,get:function(){return s.BLOCKS}}),Object.defineProperty(C,"INLINES",{enumerable:!0,get:function(){return c.INLINES}}),Object.defineProperty(C,"MARKS",{enumerable:!0,get:function(){return z(f).default}}),B(l,C),B(d,C),B(h,C),Object.defineProperty(C,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return z(v).default}});var X=Y(p);C.helpers=X});o(_);var g=_.helpers;_.EMPTY_DOCUMENT;var y=_.MARKS,m=_.INLINES,b=_.BLOCKS;function E(I,C){return n.isValidElement(I)&&I.key===null?n.cloneElement(I,{key:C}):I}function O(I,C){return I.map(function(R,$){return E(S(R,C),$)})}function S(I,C){var R=C.renderNode,$=C.renderMark,B=C.renderText,Y=C.preserveWhitespace;if(g.isText(I)){var z=B?B(I.value):I.value;if(Y){z=z.replace(/ {2,}/g,function(q){return" ".repeat(q.length)});var X=z.split(`
|
|
18
|
-
`),x=[];X.forEach(function(q,H){x.push(q),H!==X.length-1&&x.push(r.createElement("br",null))}),z=x}return I.marks.reduce(function(q,H){return $[H.type]?$[H.type](q):q},z)}else{var U=O(I.content,C);return!I.nodeType||!R[I.nodeType]?r.createElement(r.Fragment,null,U):R[I.nodeType](I,U)}}var w,P,A=(w={},w[b.DOCUMENT]=function(I,C){return C},w[b.PARAGRAPH]=function(I,C){return r.createElement("p",null,C)},w[b.HEADING_1]=function(I,C){return r.createElement("h1",null,C)},w[b.HEADING_2]=function(I,C){return r.createElement("h2",null,C)},w[b.HEADING_3]=function(I,C){return r.createElement("h3",null,C)},w[b.HEADING_4]=function(I,C){return r.createElement("h4",null,C)},w[b.HEADING_5]=function(I,C){return r.createElement("h5",null,C)},w[b.HEADING_6]=function(I,C){return r.createElement("h6",null,C)},w[b.EMBEDDED_ENTRY]=function(I,C){return r.createElement("div",null,C)},w[b.EMBEDDED_RESOURCE]=function(I,C){return r.createElement("div",null,C)},w[b.UL_LIST]=function(I,C){return r.createElement("ul",null,C)},w[b.OL_LIST]=function(I,C){return r.createElement("ol",null,C)},w[b.LIST_ITEM]=function(I,C){return r.createElement("li",null,C)},w[b.QUOTE]=function(I,C){return r.createElement("blockquote",null,C)},w[b.HR]=function(){return r.createElement("hr",null)},w[b.TABLE]=function(I,C){return r.createElement("table",null,r.createElement("tbody",null,C))},w[b.TABLE_ROW]=function(I,C){return r.createElement("tr",null,C)},w[b.TABLE_HEADER_CELL]=function(I,C){return r.createElement("th",null,C)},w[b.TABLE_CELL]=function(I,C){return r.createElement("td",null,C)},w[m.ASSET_HYPERLINK]=function(I){return D(m.ASSET_HYPERLINK,I)},w[m.ENTRY_HYPERLINK]=function(I){return D(m.ENTRY_HYPERLINK,I)},w[m.EMBEDDED_ENTRY]=function(I){return D(m.EMBEDDED_ENTRY,I)},w[m.HYPERLINK]=function(I,C){return r.createElement("a",{href:I.data.uri},C)},w),L=(P={},P[y.BOLD]=function(I){return r.createElement("b",null,I)},P[y.ITALIC]=function(I){return r.createElement("i",null,I)},P[y.UNDERLINE]=function(I){return r.createElement("u",null,I)},P[y.CODE]=function(I){return r.createElement("code",null,I)},P[y.SUPERSCRIPT]=function(I){return r.createElement("sup",null,I)},P[y.SUBSCRIPT]=function(I){return r.createElement("sub",null,I)},P);function D(I,C){return r.createElement("span",{key:C.data.target.sys.id},"type: ",C.nodeType," id: ",C.data.target.sys.id)}function j(I,C){return C===void 0&&(C={}),I?S(I,{renderNode:i(i({},A),C.renderNode),renderMark:i(i({},L),C.renderMark),renderText:C.renderText,preserveWhitespace:C.preserveWhitespace}):null}e.documentToReactComponents=j})(nT);var rT={},Ei={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.BLOCKS=void 0,function(t){t.DOCUMENT="document",t.PARAGRAPH="paragraph",t.HEADING_1="heading-1",t.HEADING_2="heading-2",t.HEADING_3="heading-3",t.HEADING_4="heading-4",t.HEADING_5="heading-5",t.HEADING_6="heading-6",t.OL_LIST="ordered-list",t.UL_LIST="unordered-list",t.LIST_ITEM="list-item",t.HR="hr",t.QUOTE="blockquote",t.EMBEDDED_ENTRY="embedded-entry-block",t.EMBEDDED_ASSET="embedded-asset-block",t.EMBEDDED_RESOURCE="embedded-resource-block",t.TABLE="table",t.TABLE_ROW="table-row",t.TABLE_CELL="table-cell",t.TABLE_HEADER_CELL="table-header-cell"}(e.BLOCKS||(e.BLOCKS={}))})(Ei);var io={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.INLINES=void 0,function(t){t.HYPERLINK="hyperlink",t.ENTRY_HYPERLINK="entry-hyperlink",t.ASSET_HYPERLINK="asset-hyperlink",t.RESOURCE_HYPERLINK="resource-hyperlink",t.EMBEDDED_ENTRY="embedded-entry-inline",t.EMBEDDED_RESOURCE="embedded-resource-inline"}(e.INLINES||(e.INLINES={}))})(io);var ao={};Object.defineProperty(ao,"__esModule",{value:!0});var os;(function(e){e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript"})(os||(os={}));ao.default=os;var gm={};(function(e){var t=J&&J.__spreadArray||function(u,s,c){if(c||arguments.length===2)for(var f=0,l=s.length,d;f<l;f++)(d||!(f in s))&&(d||(d=Array.prototype.slice.call(s,0,f)),d[f]=s[f]);return u.concat(d||Array.prototype.slice.call(s))},n=J&&J.__importDefault||function(u){return u&&u.__esModule?u:{default:u}},r;Object.defineProperty(e,"__esModule",{value:!0}),e.V1_MARKS=e.V1_NODE_TYPES=e.TEXT_CONTAINERS=e.HEADINGS=e.CONTAINERS=e.VOID_BLOCKS=e.TABLE_BLOCKS=e.LIST_ITEM_BLOCKS=e.TOP_LEVEL_BLOCKS=void 0;var i=Ei,a=io,o=n(ao);e.TOP_LEVEL_BLOCKS=[i.BLOCKS.PARAGRAPH,i.BLOCKS.HEADING_1,i.BLOCKS.HEADING_2,i.BLOCKS.HEADING_3,i.BLOCKS.HEADING_4,i.BLOCKS.HEADING_5,i.BLOCKS.HEADING_6,i.BLOCKS.OL_LIST,i.BLOCKS.UL_LIST,i.BLOCKS.HR,i.BLOCKS.QUOTE,i.BLOCKS.EMBEDDED_ENTRY,i.BLOCKS.EMBEDDED_ASSET,i.BLOCKS.EMBEDDED_RESOURCE,i.BLOCKS.TABLE],e.LIST_ITEM_BLOCKS=[i.BLOCKS.PARAGRAPH,i.BLOCKS.HEADING_1,i.BLOCKS.HEADING_2,i.BLOCKS.HEADING_3,i.BLOCKS.HEADING_4,i.BLOCKS.HEADING_5,i.BLOCKS.HEADING_6,i.BLOCKS.OL_LIST,i.BLOCKS.UL_LIST,i.BLOCKS.HR,i.BLOCKS.QUOTE,i.BLOCKS.EMBEDDED_ENTRY,i.BLOCKS.EMBEDDED_ASSET,i.BLOCKS.EMBEDDED_RESOURCE],e.TABLE_BLOCKS=[i.BLOCKS.TABLE,i.BLOCKS.TABLE_ROW,i.BLOCKS.TABLE_CELL,i.BLOCKS.TABLE_HEADER_CELL],e.VOID_BLOCKS=[i.BLOCKS.HR,i.BLOCKS.EMBEDDED_ENTRY,i.BLOCKS.EMBEDDED_ASSET,i.BLOCKS.EMBEDDED_RESOURCE],e.CONTAINERS=(r={},r[i.BLOCKS.OL_LIST]=[i.BLOCKS.LIST_ITEM],r[i.BLOCKS.UL_LIST]=[i.BLOCKS.LIST_ITEM],r[i.BLOCKS.LIST_ITEM]=e.LIST_ITEM_BLOCKS,r[i.BLOCKS.QUOTE]=[i.BLOCKS.PARAGRAPH],r[i.BLOCKS.TABLE]=[i.BLOCKS.TABLE_ROW],r[i.BLOCKS.TABLE_ROW]=[i.BLOCKS.TABLE_CELL,i.BLOCKS.TABLE_HEADER_CELL],r[i.BLOCKS.TABLE_CELL]=[i.BLOCKS.PARAGRAPH],r[i.BLOCKS.TABLE_HEADER_CELL]=[i.BLOCKS.PARAGRAPH],r),e.HEADINGS=[i.BLOCKS.HEADING_1,i.BLOCKS.HEADING_2,i.BLOCKS.HEADING_3,i.BLOCKS.HEADING_4,i.BLOCKS.HEADING_5,i.BLOCKS.HEADING_6],e.TEXT_CONTAINERS=t([i.BLOCKS.PARAGRAPH],e.HEADINGS,!0),e.V1_NODE_TYPES=[i.BLOCKS.DOCUMENT,i.BLOCKS.PARAGRAPH,i.BLOCKS.HEADING_1,i.BLOCKS.HEADING_2,i.BLOCKS.HEADING_3,i.BLOCKS.HEADING_4,i.BLOCKS.HEADING_5,i.BLOCKS.HEADING_6,i.BLOCKS.OL_LIST,i.BLOCKS.UL_LIST,i.BLOCKS.LIST_ITEM,i.BLOCKS.HR,i.BLOCKS.QUOTE,i.BLOCKS.EMBEDDED_ENTRY,i.BLOCKS.EMBEDDED_ASSET,a.INLINES.HYPERLINK,a.INLINES.ENTRY_HYPERLINK,a.INLINES.ASSET_HYPERLINK,a.INLINES.EMBEDDED_ENTRY,"text"],e.V1_MARKS=[o.default.BOLD,o.default.CODE,o.default.ITALIC,o.default.UNDERLINE]})(gm);var bm={};Object.defineProperty(bm,"__esModule",{value:!0});var _m={};Object.defineProperty(_m,"__esModule",{value:!0});var Al={};Object.defineProperty(Al,"__esModule",{value:!0});var ld=Ei,iT={nodeType:ld.BLOCKS.DOCUMENT,data:{},content:[{nodeType:ld.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};Al.default=iT;var un={};Object.defineProperty(un,"__esModule",{value:!0});un.isText=un.isBlock=un.isInline=void 0;var aT=Ei,oT=io;function wm(e,t){for(var n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];if(t===e[i])return!0}return!1}function uT(e){return wm(oT.INLINES,e.nodeType)}un.isInline=uT;function sT(e){return wm(aT.BLOCKS,e.nodeType)}un.isBlock=sT;function lT(e){return e.nodeType==="text"}un.isText=lT;(function(e){var t=J&&J.__createBinding||(Object.create?function(l,d,h,v){v===void 0&&(v=h);var p=Object.getOwnPropertyDescriptor(d,h);(!p||("get"in p?!d.__esModule:p.writable||p.configurable))&&(p={enumerable:!0,get:function(){return d[h]}}),Object.defineProperty(l,v,p)}:function(l,d,h,v){v===void 0&&(v=h),l[v]=d[h]}),n=J&&J.__setModuleDefault||(Object.create?function(l,d){Object.defineProperty(l,"default",{enumerable:!0,value:d})}:function(l,d){l.default=d}),r=J&&J.__exportStar||function(l,d){for(var h in l)h!=="default"&&!Object.prototype.hasOwnProperty.call(d,h)&&t(d,l,h)},i=J&&J.__importStar||function(l){if(l&&l.__esModule)return l;var d={};if(l!=null)for(var h in l)h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)&&t(d,l,h);return n(d,l),d},a=J&&J.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(e,"__esModule",{value:!0}),e.helpers=e.EMPTY_DOCUMENT=e.MARKS=e.INLINES=e.BLOCKS=void 0;var o=Ei;Object.defineProperty(e,"BLOCKS",{enumerable:!0,get:function(){return o.BLOCKS}});var u=io;Object.defineProperty(e,"INLINES",{enumerable:!0,get:function(){return u.INLINES}});var s=ao;Object.defineProperty(e,"MARKS",{enumerable:!0,get:function(){return a(s).default}}),r(gm,e),r(bm,e),r(_m,e);var c=Al;Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return a(c).default}});var f=i(un);e.helpers=f})(rT);var cT={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="briefcase",r=512,i=512,a=[128188],o="f0b1",u="M184 48H328c4.4 0 8 3.6 8 8V96H176V56c0-4.4 3.6-8 8-8zm-56 8V96H64C28.7 96 0 124.7 0 160v96H192 320 512V160c0-35.3-28.7-64-64-64H384V56c0-30.9-25.1-56-56-56H184c-30.9 0-56 25.1-56 56zM512 288H320v32c0 17.7-14.3 32-32 32H224c-17.7 0-32-14.3-32-32V288H0V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V288z";e.definition={prefix:t,iconName:n,icon:[r,i,a,o,u]},e.faBriefcase=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=o,e.svgPathData=u,e.aliases=a})(cT);var fT={},Em={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="heart-pulse",r=512,i=512,a=["heartbeat"],o="f21e",u="M228.3 469.1L47.6 300.4c-4.2-3.9-8.2-8.1-11.9-12.4h87c22.6 0 43-13.6 51.7-34.5l10.5-25.2 49.3 109.5c3.8 8.5 12.1 14 21.4 14.1s17.8-5 22-13.3L320 253.7l1.7 3.4c9.5 19 28.9 31 50.1 31H476.3c-3.7 4.3-7.7 8.5-11.9 12.4L283.7 469.1c-7.5 7-17.4 10.9-27.7 10.9s-20.2-3.9-27.7-10.9zM503.7 240h-132c-3 0-5.8-1.7-7.2-4.4l-23.2-46.3c-4.1-8.1-12.4-13.3-21.5-13.3s-17.4 5.1-21.5 13.3l-41.4 82.8L205.9 158.2c-3.9-8.7-12.7-14.3-22.2-14.1s-18.1 5.9-21.8 14.8l-31.8 76.3c-1.2 3-4.2 4.9-7.4 4.9H16c-2.6 0-5 .4-7.3 1.1C3 225.2 0 208.2 0 190.9v-5.8c0-69.9 50.5-129.5 119.4-141C165 36.5 211.4 51.4 244 84l12 12 12-12c32.6-32.6 79-47.5 124.6-39.9C461.5 55.6 512 115.2 512 185.1v5.8c0 16.9-2.8 33.5-8.3 49.1z";e.definition={prefix:t,iconName:n,icon:[r,i,a,o,u]},e.faHeartPulse=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=o,e.svgPathData=u,e.aliases=a})(Em);(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Em;e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faHeartbeat=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases})(fT);var dT={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="spa",r=576,i=512,a=[],o="f5bb",u="M183.1 235.3c33.7 20.7 62.9 48.1 85.8 80.5c7 9.9 13.4 20.3 19.1 31c5.7-10.8 12.1-21.1 19.1-31c22.9-32.4 52.1-59.8 85.8-80.5C437.6 207.8 490.1 192 546 192h9.9c11.1 0 20.1 9 20.1 20.1C576 360.1 456.1 480 308.1 480H288 267.9C119.9 480 0 360.1 0 212.1C0 201 9 192 20.1 192H30c55.9 0 108.4 15.8 153.1 43.3zM301.5 37.6c15.7 16.9 61.1 71.8 84.4 164.6c-38 21.6-71.4 50.8-97.9 85.6c-26.5-34.8-59.9-63.9-97.9-85.6c23.2-92.8 68.6-147.7 84.4-164.6C278 33.9 282.9 32 288 32s10 1.9 13.5 5.6z";e.definition={prefix:t,iconName:n,icon:[r,i,a,o,u]},e.faSpa=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=o,e.svgPathData=u,e.aliases=a})(dT);var pT={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="umbrella-beach",r=576,i=512,a=[127958],o="f5ca",u="M346.3 271.8l-60.1-21.9L214 448H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H544c17.7 0 32-14.3 32-32s-14.3-32-32-32H282.1l64.1-176.2zm121.1-.2l-3.3 9.1 67.7 24.6c18.1 6.6 38-4.2 39.6-23.4c6.5-78.5-23.9-155.5-80.8-208.5c2 8 3.2 16.3 3.4 24.8l.2 6c1.8 57-7.3 113.8-26.8 167.4zM462 99.1c-1.1-34.4-22.5-64.8-54.4-77.4c-.9-.4-1.9-.7-2.8-1.1c-33-11.7-69.8-2.4-93.1 23.8l-4 4.5C272.4 88.3 245 134.2 226.8 184l-3.3 9.1L434 269.7l3.3-9.1c18.1-49.8 26.6-102.5 24.9-155.5l-.2-6zM107.2 112.9c-11.1 15.7-2.8 36.8 15.3 43.4l71 25.8 3.3-9.1c19.5-53.6 49.1-103 87.1-145.5l4-4.5c6.2-6.9 13.1-13 20.5-18.2c-79.6 2.5-154.7 42.2-201.2 108z";e.definition={prefix:t,iconName:n,icon:[r,i,a,o,u]},e.faUmbrellaBeach=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=o,e.svgPathData=u,e.aliases=a})(pT);var hT={},Sm={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="square-dollar",r=448,i=512,a=["dollar-square","usd-square"],o="f2e9",u="M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM244.8 133.6v14.2c9.7 1.2 19.4 3.9 29 6.6c1.9 .5 3.7 1 5.6 1.6c11.5 3.2 18.3 15.1 15.1 26.6s-15.1 18.2-26.6 15.1c-1.6-.4-3.1-.9-4.7-1.3c-7-2-14-3.9-21.1-5.3c-13.2-2.5-28.5-1.3-40.8 4c-11 4.8-20.1 16.4-7.6 24.4c9.8 6.3 21.8 9.5 33.2 12.6c2.4 .6 4.7 1.3 7 1.9c15.6 4.4 35.5 10.1 50.4 20.3c19.4 13.3 28.5 34.9 24.2 58.1c-4.1 22.4-19.7 37.1-38.4 44.7c-7.8 3.2-16.3 5.2-25.2 6.2l0 15.2c0 11.9-9.7 21.6-21.6 21.6s-21.6-9.7-21.6-21.6l0-17.4c-14.5-3.3-28.7-7.9-42.8-12.5c-11.3-3.7-17.5-16-13.7-27.3s16-17.5 27.3-13.7c2.5 .8 5 1.7 7.5 2.5c11.3 3.8 22.9 7.7 34.5 9.6c17 2.5 30.6 1 39.5-2.6c12-4.8 17.7-19.1 5.9-27.1c-10.1-6.9-22.6-10.3-34.5-13.5c-2.3-.6-4.5-1.2-6.8-1.9c-15.1-4.3-34-9.6-48.2-18.7c-19.5-12.5-29.4-33.3-25.2-56.4c4-21.8 21-36.3 39-44.1c5.5-2.4 11.4-4.3 17.5-5.7V133.6c0-11.9 9.7-21.6 21.6-21.6s21.6 9.7 21.6 21.6z";e.definition={prefix:t,iconName:n,icon:[r,i,a,o,u]},e.faSquareDollar=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=o,e.svgPathData=u,e.aliases=a})(Sm);(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Sm;e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faUsdSquare=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases})(hT);function cd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function W(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?cd(Object(n),!0).forEach(function(r){$e(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cd(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ia(e){"@babel/helpers - typeof";return Ia=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ia(e)}function vT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fd(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function mT(e,t,n){return t&&fd(e.prototype,t),n&&fd(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function $e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tl(e,t){return gT(e)||_T(e,t)||Om(e,t)||ET()}function Si(e){return yT(e)||bT(e)||Om(e)||wT()}function yT(e){if(Array.isArray(e))return us(e)}function gT(e){if(Array.isArray(e))return e}function bT(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function _T(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],i=!0,a=!1,o,u;try{for(n=n.call(e);!(i=(o=n.next()).done)&&(r.push(o.value),!(t&&r.length===t));i=!0);}catch(s){a=!0,u=s}finally{try{!i&&n.return!=null&&n.return()}finally{if(a)throw u}}return r}}function Om(e,t){if(e){if(typeof e=="string")return us(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return us(e,t)}}function us(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function wT(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
19
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
20
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var dd=function(){},Cl={},Pm={},Am=null,Tm={mark:dd,measure:dd};try{typeof window<"u"&&(Cl=window),typeof document<"u"&&(Pm=document),typeof MutationObserver<"u"&&(Am=MutationObserver),typeof performance<"u"&&(Tm=performance)}catch{}var
|
|
15
|
+
`+t.prev}function Li(e,t){var n=Ju(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=Xt(e,i)?t(e[i],e):""}var a=typeof Zo=="function"?Zo(e):[],o;if(pr){o={};for(var u=0;u<a.length;u++)o["$"+a[u]]=a[u]}for(var s in e)Xt(e,s)&&(n&&String(Number(s))===s&&s<e.length||pr&&o["$"+s]instanceof Symbol||(Zv.call(/[^\w$]/,s)?r.push(t(s,e)+": "+t(e[s],e)):r.push(s+": "+t(e[s],e))));if(typeof Zo=="function")for(var c=0;c<a.length;c++)em.call(e,a[c])&&r.push("["+t(a[c])+"]: "+t(e[a[c]],e));return r}var El=ro,Cr=pP,zP=AP,qP=El("%TypeError%"),Ri=El("%WeakMap%",!0),ki=El("%Map%",!0),GP=Cr("WeakMap.prototype.get",!0),VP=Cr("WeakMap.prototype.set",!0),YP=Cr("WeakMap.prototype.has",!0),XP=Cr("Map.prototype.get",!0),QP=Cr("Map.prototype.set",!0),JP=Cr("Map.prototype.has",!0),Sl=function(e,t){for(var n=e,r;(r=n.next)!==null;n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r},ZP=function(e,t){var n=Sl(e,t);return n&&n.value},eA=function(e,t,n){var r=Sl(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}},tA=function(e,t){return!!Sl(e,t)},nA=function(){var t,n,r,i={assert:function(a){if(!i.has(a))throw new qP("Side channel does not contain "+zP(a))},get:function(a){if(Ri&&a&&(typeof a=="object"||typeof a=="function")){if(t)return GP(t,a)}else if(ki){if(n)return XP(n,a)}else if(r)return ZP(r,a)},has:function(a){if(Ri&&a&&(typeof a=="object"||typeof a=="function")){if(t)return YP(t,a)}else if(ki){if(n)return JP(n,a)}else if(r)return tA(r,a);return!1},set:function(a,o){Ri&&a&&(typeof a=="object"||typeof a=="function")?(t||(t=new Ri),VP(t,a,o)):ki?(n||(n=new ki),QP(n,a,o)):(r||(r={key:{},next:null}),eA(r,a,o))}};return i},rA=String.prototype.replace,iA=/%20/g,tu={RFC1738:"RFC1738",RFC3986:"RFC3986"},Ol={default:tu.RFC3986,formatters:{RFC1738:function(e){return rA.call(e,iA,"+")},RFC3986:function(e){return String(e)}},RFC1738:tu.RFC1738,RFC3986:tu.RFC3986},aA=Ol,nu=Object.prototype.hasOwnProperty,_n=Array.isArray,Et=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),oA=function(t){for(;t.length>1;){var n=t.pop(),r=n.obj[n.prop];if(_n(r)){for(var i=[],a=0;a<r.length;++a)typeof r[a]<"u"&&i.push(r[a]);n.obj[n.prop]=i}}},am=function(t,n){for(var r=n&&n.plainObjects?Object.create(null):{},i=0;i<t.length;++i)typeof t[i]<"u"&&(r[i]=t[i]);return r},uA=function e(t,n,r){if(!n)return t;if(typeof n!="object"){if(_n(t))t.push(n);else if(t&&typeof t=="object")(r&&(r.plainObjects||r.allowPrototypes)||!nu.call(Object.prototype,n))&&(t[n]=!0);else return[t,n];return t}if(!t||typeof t!="object")return[t].concat(n);var i=t;return _n(t)&&!_n(n)&&(i=am(t,r)),_n(t)&&_n(n)?(n.forEach(function(a,o){if(nu.call(t,o)){var u=t[o];u&&typeof u=="object"&&a&&typeof a=="object"?t[o]=e(u,a,r):t.push(a)}else t[o]=a}),t):Object.keys(n).reduce(function(a,o){var u=n[o];return nu.call(a,o)?a[o]=e(a[o],u,r):a[o]=u,a},i)},sA=function(t,n){return Object.keys(n).reduce(function(r,i){return r[i]=n[i],r},t)},lA=function(e,t,n){var r=e.replace(/\+/g," ");if(n==="iso-8859-1")return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch{return r}},cA=function(t,n,r,i,a){if(t.length===0)return t;var o=t;if(typeof t=="symbol"?o=Symbol.prototype.toString.call(t):typeof t!="string"&&(o=String(t)),r==="iso-8859-1")return escape(o).replace(/%u[0-9a-f]{4}/gi,function(f){return"%26%23"+parseInt(f.slice(2),16)+"%3B"});for(var u="",s=0;s<o.length;++s){var c=o.charCodeAt(s);if(c===45||c===46||c===95||c===126||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||a===aA.RFC1738&&(c===40||c===41)){u+=o.charAt(s);continue}if(c<128){u=u+Et[c];continue}if(c<2048){u=u+(Et[192|c>>6]+Et[128|c&63]);continue}if(c<55296||c>=57344){u=u+(Et[224|c>>12]+Et[128|c>>6&63]+Et[128|c&63]);continue}s+=1,c=65536+((c&1023)<<10|o.charCodeAt(s)&1023),u+=Et[240|c>>18]+Et[128|c>>12&63]+Et[128|c>>6&63]+Et[128|c&63]}return u},fA=function(t){for(var n=[{obj:{o:t},prop:"o"}],r=[],i=0;i<n.length;++i)for(var a=n[i],o=a.obj[a.prop],u=Object.keys(o),s=0;s<u.length;++s){var c=u[s],f=o[c];typeof f=="object"&&f!==null&&r.indexOf(f)===-1&&(n.push({obj:o,prop:c}),r.push(f))}return oA(n),t},dA=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},pA=function(t){return!t||typeof t!="object"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},hA=function(t,n){return[].concat(t,n)},vA=function(t,n){if(_n(t)){for(var r=[],i=0;i<t.length;i+=1)r.push(n(t[i]));return r}return n(t)},om={arrayToObject:am,assign:sA,combine:hA,compact:fA,decode:lA,encode:cA,isBuffer:pA,isRegExp:dA,maybeMap:vA,merge:uA},um=nA,ra=om,zr=Ol,mA=Object.prototype.hasOwnProperty,Yf={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,n){return t+"["+n+"]"},repeat:function(t){return t}},kt=Array.isArray,yA=Array.prototype.push,sm=function(e,t){yA.apply(e,kt(t)?t:[t])},gA=Date.prototype.toISOString,Xf=zr.default,Ke={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:ra.encode,encodeValuesOnly:!1,format:Xf,formatter:zr.formatters[Xf],indices:!1,serializeDate:function(t){return gA.call(t)},skipNulls:!1,strictNullHandling:!1},bA=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},ru={},_A=function e(t,n,r,i,a,o,u,s,c,f,l,d,h,v,p,_){for(var g=t,y=_,m=0,b=!1;(y=y.get(ru))!==void 0&&!b;){var E=y.get(t);if(m+=1,typeof E<"u"){if(E===m)throw new RangeError("Cyclic object value");b=!0}typeof y.get(ru)>"u"&&(m=0)}if(typeof s=="function"?g=s(n,g):g instanceof Date?g=l(g):r==="comma"&&kt(g)&&(g=ra.maybeMap(g,function(R){return R instanceof Date?l(R):R})),g===null){if(a)return u&&!v?u(n,Ke.encoder,p,"key",d):n;g=""}if(bA(g)||ra.isBuffer(g)){if(u){var O=v?n:u(n,Ke.encoder,p,"key",d);return[h(O)+"="+h(u(g,Ke.encoder,p,"value",d))]}return[h(n)+"="+h(String(g))]}var S=[];if(typeof g>"u")return S;var w;if(r==="comma"&&kt(g))v&&u&&(g=ra.maybeMap(g,u)),w=[{value:g.length>0?g.join(",")||null:void 0}];else if(kt(s))w=s;else{var P=Object.keys(g);w=c?P.sort(c):P}for(var A=i&&kt(g)&&g.length===1?n+"[]":n,L=0;L<w.length;++L){var D=w[L],j=typeof D=="object"&&typeof D.value<"u"?D.value:g[D];if(!(o&&j===null)){var I=kt(g)?typeof r=="function"?r(A,D):A:A+(f?"."+D:"["+D+"]");_.set(t,m);var C=um();C.set(ru,_),sm(S,e(j,I,r,i,a,o,r==="comma"&&v&&kt(g)?null:u,s,c,f,l,d,h,v,p,C))}}return S},wA=function(t){if(!t)return Ke;if(t.encoder!==null&&typeof t.encoder<"u"&&typeof t.encoder!="function")throw new TypeError("Encoder has to be a function.");var n=t.charset||Ke.charset;if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=zr.default;if(typeof t.format<"u"){if(!mA.call(zr.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var i=zr.formatters[r],a=Ke.filter;return(typeof t.filter=="function"||kt(t.filter))&&(a=t.filter),{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:Ke.addQueryPrefix,allowDots:typeof t.allowDots>"u"?Ke.allowDots:!!t.allowDots,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Ke.charsetSentinel,delimiter:typeof t.delimiter>"u"?Ke.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:Ke.encode,encoder:typeof t.encoder=="function"?t.encoder:Ke.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:Ke.encodeValuesOnly,filter:a,format:r,formatter:i,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:Ke.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:Ke.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Ke.strictNullHandling}},EA=function(e,t){var n=e,r=wA(t),i,a;typeof r.filter=="function"?(a=r.filter,n=a("",n)):kt(r.filter)&&(a=r.filter,i=a);var o=[];if(typeof n!="object"||n===null)return"";var u;t&&t.arrayFormat in Yf?u=t.arrayFormat:t&&"indices"in t?u=t.indices?"indices":"repeat":u="indices";var s=Yf[u];if(t&&"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var c=s==="comma"&&t&&t.commaRoundTrip;i||(i=Object.keys(n)),r.sort&&i.sort(r.sort);for(var f=um(),l=0;l<i.length;++l){var d=i[l];r.skipNulls&&n[d]===null||sm(o,_A(n[d],d,s,c,r.strictNullHandling,r.skipNulls,r.encode?r.encoder:null,r.filter,r.sort,r.allowDots,r.serializeDate,r.format,r.formatter,r.encodeValuesOnly,r.charset,f))}var h=o.join(r.delimiter),v=r.addQueryPrefix===!0?"?":"";return r.charsetSentinel&&(r.charset==="iso-8859-1"?v+="utf8=%26%2310003%3B&":v+="utf8=%E2%9C%93&"),h.length>0?v+h:""},hr=om,es=Object.prototype.hasOwnProperty,SA=Array.isArray,Be={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:hr.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},OA=function(e){return e.replace(/&#(\d+);/g,function(t,n){return String.fromCharCode(parseInt(n,10))})},lm=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},PA="utf8=%26%2310003%3B",AA="utf8=%E2%9C%93",TA=function(t,n){var r={__proto__:null},i=n.ignoreQueryPrefix?t.replace(/^\?/,""):t,a=n.parameterLimit===1/0?void 0:n.parameterLimit,o=i.split(n.delimiter,a),u=-1,s,c=n.charset;if(n.charsetSentinel)for(s=0;s<o.length;++s)o[s].indexOf("utf8=")===0&&(o[s]===AA?c="utf-8":o[s]===PA&&(c="iso-8859-1"),u=s,s=o.length);for(s=0;s<o.length;++s)if(s!==u){var f=o[s],l=f.indexOf("]="),d=l===-1?f.indexOf("="):l+1,h,v;d===-1?(h=n.decoder(f,Be.decoder,c,"key"),v=n.strictNullHandling?null:""):(h=n.decoder(f.slice(0,d),Be.decoder,c,"key"),v=hr.maybeMap(lm(f.slice(d+1),n),function(p){return n.decoder(p,Be.decoder,c,"value")})),v&&n.interpretNumericEntities&&c==="iso-8859-1"&&(v=OA(v)),f.indexOf("[]=")>-1&&(v=SA(v)?[v]:v),es.call(r,h)?r[h]=hr.combine(r[h],v):r[h]=v}return r},CA=function(e,t,n,r){for(var i=r?t:lm(t,n),a=e.length-1;a>=0;--a){var o,u=e[a];if(u==="[]"&&n.parseArrays)o=[].concat(i);else{o=n.plainObjects?Object.create(null):{};var s=u.charAt(0)==="["&&u.charAt(u.length-1)==="]"?u.slice(1,-1):u,c=parseInt(s,10);!n.parseArrays&&s===""?o={0:i}:!isNaN(c)&&u!==s&&String(c)===s&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(o=[],o[c]=i):s!=="__proto__"&&(o[s]=i)}i=o}return i},IA=function(t,n,r,i){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,o=/(\[[^[\]]*])/,u=/(\[[^[\]]*])/g,s=r.depth>0&&o.exec(a),c=s?a.slice(0,s.index):a,f=[];if(c){if(!r.plainObjects&&es.call(Object.prototype,c)&&!r.allowPrototypes)return;f.push(c)}for(var l=0;r.depth>0&&(s=u.exec(a))!==null&&l<r.depth;){if(l+=1,!r.plainObjects&&es.call(Object.prototype,s[1].slice(1,-1))&&!r.allowPrototypes)return;f.push(s[1])}return s&&f.push("["+a.slice(s.index)+"]"),CA(f,n,r,i)}},LA=function(t){if(!t)return Be;if(t.decoder!==null&&t.decoder!==void 0&&typeof t.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=typeof t.charset>"u"?Be.charset:t.charset;return{allowDots:typeof t.allowDots>"u"?Be.allowDots:!!t.allowDots,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:Be.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:Be.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:Be.arrayLimit,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Be.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:Be.comma,decoder:typeof t.decoder=="function"?t.decoder:Be.decoder,delimiter:typeof t.delimiter=="string"||hr.isRegExp(t.delimiter)?t.delimiter:Be.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:Be.depth,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:Be.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:Be.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:Be.plainObjects,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Be.strictNullHandling}},RA=function(e,t){var n=LA(t);if(e===""||e===null||typeof e>"u")return n.plainObjects?Object.create(null):{};for(var r=typeof e=="string"?TA(e,n):e,i=n.plainObjects?Object.create(null):{},a=Object.keys(r),o=0;o<a.length;++o){var u=a[o],s=IA(u,r[u],n,typeof e=="string");i=hr.merge(i,s,n)}return n.allowSparse===!0?i:hr.compact(i)},kA=EA,NA=RA,MA=Ol,DA={formats:MA,parse:NA,stringify:kA};const $A=yr(DA);var Pl={exports:{}};class cm extends Error{constructor(){super("Throttled function aborted"),this.name="AbortError"}}const jA=({limit:e,interval:t,strict:n})=>{if(!Number.isFinite(e))throw new TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(t))throw new TypeError("Expected `interval` to be a finite number");const r=new Map;let i=0,a=0;function o(){const f=Date.now();return f-i>t?(a=1,i=f,0):(a<e?a++:(i+=t,a=1),i-f)}const u=[];function s(){const f=Date.now();if(u.length<e)return u.push(f),0;const l=u.shift()+t;return f>=l?(u.push(f),0):(u.push(l),l-f)}const c=n?s:o;return f=>{const l=function(...d){if(!l.isEnabled)return(async()=>f.apply(this,d))();let h;return new Promise((v,p)=>{h=setTimeout(()=>{v(f.apply(this,d)),r.delete(h)},c()),r.set(h,p)})};return l.abort=()=>{for(const d of r.keys())clearTimeout(d),r.get(d)(new cm);r.clear(),u.splice(0,u.length)},l.isEnabled=!0,l}};Pl.exports=jA;Pl.exports.AbortError=cm;var BA=Pl.exports;const FA=yr(BA);function UA(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,a,o,u=[],s=!0,c=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(u.push(r.value),u.length!==t);s=!0);}catch(f){c=!0,i=f}finally{try{if(!s&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return u}}function Qf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Gn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Qf(Object(n),!0).forEach(function(r){xA(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ts(e){"@babel/helpers - typeof";return ts=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ts(e)}function ns(){ns=function(i,a){return new n(i,void 0,a)};var e=RegExp.prototype,t=new WeakMap;function n(i,a,o){var u=new RegExp(i,a);return t.set(u,o||t.get(i)),Ca(u,n.prototype)}function r(i,a){var o=t.get(a);return Object.keys(o).reduce(function(u,s){var c=o[s];if(typeof c=="number")u[s]=i[c];else{for(var f=0;i[c[f]]===void 0&&f+1<c.length;)f++;u[s]=i[c[f]]}return u},Object.create(null))}return HA(n,RegExp),n.prototype.exec=function(i){var a=e.exec.call(this,i);if(a){a.groups=r(a,this);var o=a.indices;o&&(o.groups=r(o,this))}return a},n.prototype[Symbol.replace]=function(i,a){if(typeof a=="string"){var o=t.get(this);return e[Symbol.replace].call(this,i,a.replace(/\$<([^>]+)>/g,function(s,c){var f=o[c];return"$"+(Array.isArray(f)?f.join("$"):f)}))}if(typeof a=="function"){var u=this;return e[Symbol.replace].call(this,i,function(){var s=arguments;return typeof s[s.length-1]!="object"&&(s=[].slice.call(s)).push(r(s,u)),a.apply(this,s)})}return e[Symbol.replace].call(this,i,a)},ns.apply(this,arguments)}function xA(e,t,n){return t=VA(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function HA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ca(e,t)}function Ca(e,t){return Ca=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Ca(e,t)}function KA(e,t){return WA(e)||UA(e,t)||fm(e,t)||zA()}function WA(e){if(Array.isArray(e))return e}function fm(e,t){if(e){if(typeof e=="string")return Jf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Jf(e,t)}}function Jf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function zA(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
16
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qA(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=fm(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(s){throw s},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
17
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,u;return{s:function(){n=n.call(e)},n:function(){var s=n.next();return a=s.done,s},e:function(s){o=!0,u=s},f:function(){try{!a&&n.return!=null&&n.return()}finally{if(o)throw u}}}}function GA(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function VA(e){var t=GA(e,"string");return typeof t=="symbol"?t:String(t)}function YA(){return typeof process<"u"&&!process.browser}function XA(){return typeof window<"u"&&"navigator"in window&&"product"in window.navigator&&window.navigator.product==="ReactNative"}function QA(){return process.versions&&process.versions.node?"v".concat(process.versions.node):process.version}function JA(){return window}function rs(){}var is=ns(/(\d+)(%)/,{value:1});function iu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:7,n=t;if(is.test(e)){var r,i=(r=e.match(is))===null||r===void 0?void 0:r.groups;if(i&&i.value){var a=parseInt(i.value)/100;n=Math.round(t*a)}}return Math.min(30,Math.max(1,n))}function Zf(e,t){return t("info","Throttle request to ".concat(e,"/s")),FA({limit:e,interval:1e3,strict:!1})}var ZA=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"auto",n=e.defaults.logHandler,r=n===void 0?rs:n,i=Kl(t)?iu(t):iu("auto",t),a=Zf(i,r),o=!1,u=e.interceptors.request.use(function(c){return a(function(){return c})()},function(c){return Promise.reject(c)}),s=e.interceptors.response.use(function(c){if(!o&&Kl(t)&&(t==="auto"||is.test(t))&&c.headers&&c.headers["x-contentful-ratelimit-second-limit"]){var f=parseInt(c.headers["x-contentful-ratelimit-second-limit"]),l=iu(t,f);l!==i&&(u&&e.interceptors.request.eject(u),i=l,a=Zf(l,r),u=e.interceptors.request.use(function(d){return a(function(){return d})()},function(d){return Promise.reject(d)})),o=!0}return c},function(c){return Promise.reject(c)});return function(){e.interceptors.request.eject(u),e.interceptors.response.eject(s)}},e5=function(t){return new Promise(function(n){setTimeout(n,t)})},t5=function(t){return Math.pow(Math.SQRT2,t)};function n5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,n=e.defaults,r=n.responseLogger,i=r===void 0?rs:r,a=n.requestLogger,o=a===void 0?rs:a;e.interceptors.request.use(function(u){return o(u),u},function(u){return o(u),Promise.reject(u)}),e.interceptors.response.use(function(u){return i(u),u},function(u){var s=u.response,c=u.config;if(i(u),!c||!e.defaults.retryOnError)return Promise.reject(u);var f=c.attempts||1;if(f>t)return u.attempts=c.attempts,Promise.reject(u);var l=null,d=t5(f);return s?s.status>=500&&s.status<600?l="Server ".concat(s.status):s.status===429&&(l="Rate limit",s.headers&&u.response.headers["x-contentful-ratelimit-reset"]&&(d=s.headers["x-contentful-ratelimit-reset"])):l="Connection",l?(d=Math.floor(d*1e3+Math.random()*200+500),e.defaults.logHandler("warning","".concat(l," error occurred. Waiting for ").concat(d," ms before retrying...")),c.attempts=f+1,delete c.httpAgent,delete c.httpsAgent,e5(d).then(function(){return e(c)})):Promise.reject(u)})}function r5(e,t){e.interceptors.request.use(function(n){return t().then(function(r){return n.headers=Gn(Gn({},n.headers),{},{Authorization:"Bearer ".concat(r)}),n})})}var i5=/^(?!\w+:\/\/)([^\s:]+\.?[^\s:]+)(?::(\d+))?(?!:)$/;function dm(e,t){var n={insecure:!1,retryOnError:!0,logHandler:function(p,_){if(p==="error"&&_){var g=[_.name,_.message].filter(function(y){return y}).join(" - ");console.error("[error] ".concat(g)),console.error(_);return}console.log("[".concat(p,"] ").concat(_))},headers:{},httpAgent:!1,httpsAgent:!1,timeout:3e4,throttle:0,proxy:!1,basePath:"",adapter:void 0,maxContentLength:1073741824,maxBodyLength:1073741824},r=Gn(Gn({},n),t);if(!r.accessToken){var i=new TypeError("Expected parameter accessToken");throw r.logHandler("error",i),i}var a=r.insecure?"http":"https",o=r.space?"".concat(r.space,"/"):"",u=r.defaultHostname,s=r.insecure?80:443;if(r.host&&i5.test(r.host)){var c=r.host.split(":");if(c.length===2){var f=KA(c,2);u=f[0],s=f[1]}else u=c[0]}r.basePath&&(r.basePath="/".concat(r.basePath.split("/").filter(Boolean).join("/")));var l=t.baseURL||"".concat(a,"://").concat(u,":").concat(s).concat(r.basePath,"/spaces/").concat(o);!r.headers.Authorization&&typeof r.accessToken!="function"&&(r.headers.Authorization="Bearer "+r.accessToken);var d={baseURL:l,headers:r.headers,httpAgent:r.httpAgent,httpsAgent:r.httpsAgent,paramsSerializer:$A.stringify,proxy:r.proxy,timeout:r.timeout,adapter:r.adapter,maxContentLength:r.maxContentLength,maxBodyLength:r.maxBodyLength,logHandler:r.logHandler,responseLogger:r.responseLogger,requestLogger:r.requestLogger,retryOnError:r.retryOnError},h=e.create(d);return h.httpClientParams=t,h.cloneWithNewParams=function(v){return dm(e,Gn(Gn({},De(t)),v))},r.onBeforeRequest&&h.interceptors.request.use(r.onBeforeRequest),typeof r.accessToken=="function"&&r5(h,r.accessToken),r.throttle&&ZA(h,r.throttle),n5(h,r.retryLimit),r.onError&&h.interceptors.response.use(function(v){return v},r.onError),h}function gn(e){var t=e.query,n={};return delete t.resolveLinks,n.params=De(t),n}function pm(e){var t=Object.getOwnPropertyNames(e),n=qA(t),r;try{for(n.s();!(r=n.n()).done;){var i=r.value,a=e[i];a&&ts(a)==="object"&&pm(a)}}catch(o){n.e(o)}finally{n.f()}return Object.freeze(e)}function ot(e){return pm(e.sys||{}),e}function ed(){var e=JA();if(!e)return null;var t=e.navigator.userAgent,n=e.navigator.platform,r=["Macintosh","MacIntel","MacPPC","Mac68K"],i=["Win32","Win64","Windows","WinCE"],a=["iPhone","iPad","iPod"];return r.indexOf(n)!==-1?"macOS":a.indexOf(n)!==-1?"iOS":i.indexOf(n)!==-1?"Windows":/Android/.test(t)?"Android":/Linux/.test(n)?"Linux":null}function a5(){var e=process.platform||"linux",t=process.version||"0.0.0",n={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return e in n?"".concat(n[e]||"Linux","/").concat(t):null}function o5(e,t,n,r){var i=[];t&&i.push("app ".concat(t)),n&&i.push("integration ".concat(n)),r&&i.push("feature "+r),i.push("sdk ".concat(e));var a=null;try{XA()?(a=ed(),i.push("platform ReactNative")):YA()?(a=a5(),i.push("platform node.js/".concat(QA()))):(a=ed(),i.push("platform browser"))}catch{a=null}return a&&i.push("os ".concat(a)),"".concat(i.filter(function(o){return o!==""}).join("; "),";")}function Qe(e){return Object.defineProperty(e,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return De(this)}})}function dt(e){var t=e.config,n=e.response,r;if(t&&t.headers&&t.headers.Authorization){var i="...".concat(t.headers.Authorization.toString().substr(-5));t.headers.Authorization="Bearer ".concat(i)}if(!Ai(n)||!Ai(t))throw e;var a=n==null?void 0:n.data,o={status:n==null?void 0:n.status,statusText:n==null?void 0:n.statusText,message:"",details:{}};Ai(t)&&(o.request={url:t.url,headers:t.headers,method:t.method,payloadData:t.data}),a&&Ai(a)&&("requestId"in a&&(o.requestId=a.requestId||"UNKNOWN"),"message"in a&&(o.message=a.message||""),"details"in a&&(o.details=a.details||{}),"sys"in a&&"id"in a.sys&&(r=a.sys.id));var u=new Error;u.name=r&&r!=="Unknown"?r:"".concat(n==null?void 0:n.status," ").concat(n==null?void 0:n.statusText);try{u.message=JSON.stringify(o,null," ")}catch{var s;u.message=(s=o==null?void 0:o.message)!==null&&s!==void 0?s:""}throw u}function u5(e){return ot(Qe(e))}const s5=Object.freeze(Object.defineProperty({__proto__:null,wrapSpace:u5},Symbol.toStringTag,{value:"Module"}));var as={exports:{}};(function(e,t){t=e.exports=n,t.getSerialize=r;function n(i,a,o,u){return JSON.stringify(i,r(a,u),o)}function r(i,a){var o=[],u=[];return a==null&&(a=function(s,c){return o[0]===c?"[Circular ~]":"[Circular ~."+u.slice(0,o.indexOf(c)).join(".")+"]"}),function(s,c){if(o.length>0){var f=o.indexOf(this);~f?o.splice(f+1):o.push(this),~f?u.splice(f,1/0,s):u.push(s),~o.indexOf(c)&&(c=a.call(this,s,c))}else o.push(c);return i==null?c:i.call(this,s,c)}}})(as,as.exports);var l5=as.exports;const c5=yr(l5);function hm(e){return Object.defineProperty(e,"stringifySafe",{enumerable:!1,configurable:!1,writable:!1,value:function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return c5(this,t,n,(r,i)=>({sys:{type:"Link",linkType:"Entry",id:i.sys.id,circular:!0}}))}})}var f5=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d5=function(){function e(t,n){var r=[],i=!0,a=!1,o=void 0;try{for(var u=t[Symbol.iterator](),s;!(i=(s=u.next()).done)&&(r.push(s.value),!(n&&r.length===n));i=!0);}catch(c){a=!0,o=c}finally{try{!i&&u.return&&u.return()}finally{if(a)throw o}}return r}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();function $r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}else return Array.from(e)}var ri={},p5=function(t){return t&&t.sys&&t.sys.type==="Link"},h5=function(t){return t&&t.sys&&t.sys.type==="ResourceLink"},v5=function(t){return t.space&&t.environment?[t.type+"!"+t.id,t.space.sys.id+"!"+t.environment.sys.id+"!"+t.type+"!"+t.id]:[t.type+"!"+t.id]},td=function(t,n){var r=n.entryId,i=n.linkType,a=n.spaceId,o=n.environmentId;return a&&o?t.get(a+"!"+o+"!"+i+"!"+r):t.get(i+"!"+r)},m5=function(t){var n=/.*:spaces\/([^/]+)(?:\/environments\/([^/]+))?\/entries\/([^/]+)$/;if(n.test(t)){var r=t.match(n),i=d5(r,4);i[0];var a=i[1],o=i[2],u=o===void 0?"master":o,s=i[3];return{spaceId:a,environmentId:u,entryId:s}}},y5=function(t,n){var r=n.sys,i=r.type,a=r.linkType;if(i==="ResourceLink"){var o=n.sys.urn,u=m5(o),s=u.spaceId,c=u.environmentId,f=u.entryId,l=a.split(":")[1];return td(t,{linkType:l,entryId:f,spaceId:s,environmentId:c})||ri}var d=n.sys.id;return td(t,{linkType:a,entryId:d})||ri},g5=function(t){if(Array.isArray(t))return t.filter(function(r){return r!==ri});for(var n in t)t[n]===ri&&delete t[n];return t},b5=function e(t,n,r,i){if(n(t))return r(t);if(t&&(typeof t>"u"?"undefined":f5(t))==="object"){for(var a in t)t.hasOwnProperty(a)&&(t[a]=e(t[a],n,r,i));i&&(t=g5(t))}return t},_5=function(t,n,r){var i=y5(t,n);return i===ri?r?i:n:i},w5=function(t,n){if(!Array.isArray(n))return t;var r=Object.keys(t).filter(function(i){return n.indexOf(i)!==-1});return r.reduce(function(i,a){return i[a]=t[a],i},{})},vm=function(t,n){if(n=n||{},!t.items)return[];var r=De(t),i=Object.keys(r.includes||{}).reduce(function(u,s){return[].concat($r(u),$r(t.includes[s]))},[]),a=[].concat($r(r.items),$r(i)).filter(function(u){return!!u.sys}),o=new Map(a.reduce(function(u,s){var c=v5(s.sys).map(function(f){return[f,s]});return u.push.apply(u,$r(c)),u},[]));return a.forEach(function(u){var s=w5(u,n.itemEntryPoints);Object.assign(u,b5(s,function(c){return p5(c)||h5(c)},function(c){return _5(o,c,n.removeUnresolved)},n.removeUnresolved))}),r.items};function E5(e){return ot(Qe(De(e)))}function S5(e,t){let{resolveLinks:n,removeUnresolved:r}=t;const i=hm(Qe(De(e)));return n&&(i.items=vm(i,{removeUnresolved:r,itemEntryPoints:["fields"]})),ot(i)}const O5=Object.freeze(Object.defineProperty({__proto__:null,wrapEntry:E5,wrapEntryCollection:S5},Symbol.toStringTag,{value:"Module"}));function P5(e){return ot(Qe(De(e)))}function A5(e){return ot(Qe(De(e)))}const T5=Object.freeze(Object.defineProperty({__proto__:null,wrapAsset:P5,wrapAssetCollection:A5},Symbol.toStringTag,{value:"Module"}));function C5(e){return ot(Qe(De(e)))}const I5=Object.freeze(Object.defineProperty({__proto__:null,wrapAssetKey:C5},Symbol.toStringTag,{value:"Module"}));function L5(e){return ot(Qe(De(e)))}function R5(e){return ot(Qe(De(e)))}const k5=Object.freeze(Object.defineProperty({__proto__:null,wrapContentType:L5,wrapContentTypeCollection:R5},Symbol.toStringTag,{value:"Module"}));function N5(e){return ot(Qe(De(e)))}function M5(e){return ot(Qe(De(e)))}const D5=Object.freeze(Object.defineProperty({__proto__:null,wrapLocale:N5,wrapLocaleCollection:M5},Symbol.toStringTag,{value:"Module"}));function $5(e){return ot(Qe(De(e)))}function j5(e){return ot(Qe(De(e)))}const B5=Object.freeze(Object.defineProperty({__proto__:null,wrapTag:$5,wrapTagCollection:j5},Symbol.toStringTag,{value:"Module"})),mn={space:s5,entry:O5,asset:T5,assetKey:I5,contentType:k5,locale:D5,tag:B5};function nd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function rd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?nd(Object(n),!0).forEach(function(r){F5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nd(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function F5(e,t,n){return t=U5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function U5(e){var t=x5(e,"string");return typeof t=="symbol"?t:String(t)}function x5(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}async function H5(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t||!t.initial&&!t.nextSyncToken&&!t.nextPageToken)throw new Error("Please provide one of `initial`, `nextSyncToken` or `nextPageToken` parameters for syncing");if(t&&t.content_type&&!t.type)t.type="Entry";else if(t&&t.content_type&&t.type&&t.type!=="Entry")throw new Error("When using the `content_type` filter your `type` parameter cannot be different from `Entry`.");const r={resolveLinks:!0,removeUnresolved:!1,paginate:!0},{resolveLinks:i,removeUnresolved:a,paginate:o}=rd(rd({},r),n),s=await mm(e,[],t,{paginate:o});i&&(s.items=vm(s,{removeUnresolved:a,itemEntryPoints:["fields"]}));const c=K5(s.items);return s.nextSyncToken&&(c.nextSyncToken=s.nextSyncToken),s.nextPageToken&&(c.nextPageToken=s.nextPageToken),ot(hm(Qe(c)))}function K5(e){const t=n=>(r,i)=>(i.sys.type===n&&r.push(Qe(i)),r);return{entries:e.reduce(t("Entry"),[]),assets:e.reduce(t("Asset"),[]),deletedEntries:e.reduce(t("DeletedEntry"),[]),deletedAssets:e.reduce(t("DeletedAsset"),[])}}async function mm(e,t,n,r){let{paginate:i}=r;n.nextSyncToken&&(n.sync_token=n.nextSyncToken,delete n.nextSyncToken),n.nextPageToken&&(n.sync_token=n.nextPageToken,delete n.nextPageToken),n.sync_token&&(delete n.initial,delete n.type,delete n.content_type,delete n.limit);const o=(await e.get("sync",gn({query:n}))).data||{};return t=t.concat(o.items||[]),o.nextPageUrl?i?(delete n.initial,n.sync_token=au(o.nextPageUrl),mm(e,t,n,{paginate:i})):{items:t,nextPageToken:au(o.nextPageUrl)}:o.nextSyncUrl?{items:t,nextSyncToken:au(o.nextSyncUrl)}:{items:[]}}function au(e){const t=e.split("?");return t.length>0?t[1].replace("sync_token=",""):""}function id(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ad(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?id(Object(n),!0).forEach(function(r){W5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):id(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function W5(e,t,n){return t=z5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function z5(e){var t=q5(e,"string");return typeof t=="symbol"?t:String(t)}function q5(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ni(e){if(!e.select)return e;const t=Array.isArray(e.select)?e.select:e.select.split(",").map(r=>r.trim()),n=new Set(t);return n.has("sys")?e:(n.add("sys.id"),n.add("sys.type"),ad(ad({},e),{},{select:[...n].join(",")}))}class ou extends Error{constructor(t,n){super(`Invalid "${t}" provided, `+n),this.name="ValidationError"}}function G5(e,t,n){if(n=n||{},typeof t!="number")throw new ou(e,`only numeric values are allowed for timestamps, provided type was "${typeof t}"`);if(n.maximum&&t>n.maximum)throw new ou(e,`value (${t}) cannot be further in the future than expected maximum (${n.maximum})`);if(n.now&&t<n.now)throw new ou(e,`value (${t}) cannot be in the past, current time was ${n.now}`)}function od(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ud(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?od(Object(n),!0).forEach(function(r){V5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):od(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function V5(e,t,n){return t=Y5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Y5(e){var t=X5(e,"string");return typeof t=="symbol"?t:String(t)}function X5(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}const Q5=48*60*60;function J5(e){let{http:t,getGlobalOptions:n}=e;const{wrapSpace:r}=mn.space,{wrapContentType:i,wrapContentTypeCollection:a}=mn.contentType,{wrapEntry:o,wrapEntryCollection:u}=mn.entry,{wrapAsset:s,wrapAssetCollection:c}=mn.asset,{wrapTag:f,wrapTagCollection:l}=mn.tag,{wrapAssetKey:d}=mn.assetKey,{wrapLocaleCollection:h}=mn.locale,v=I=>{const C=new Error("The resource could not be found.");return C.sys={type:"Error",id:"NotFound"},C.details={type:"Entry",id:I,environment:n().environment,space:n().space},C};async function p(){j(t);try{const I=await t.get("/");return r(I.data)}catch(I){dt(I)}}async function _(I){D(t);try{const C=await t.get(`content_types/${I}`);return i(C.data)}catch(C){dt(C)}}async function g(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};D(t);try{const C=await t.get("content_types",gn({query:I}));return a(C.data)}catch(C){dt(C)}}async function y(I){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!I)throw v(I);try{const R=await this.getEntries(ud({"sys.id":I},C));if(R.items.length>0)return o(R.items[0]);throw v(I)}catch(R){dt(R)}}async function m(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};D(t);const{resolveLinks:C,removeUnresolved:R}=n(I);I=Ni(I);try{const $=await t.get("entries",gn({query:I}));return u($.data,{resolveLinks:C,removeUnresolved:R})}catch($){dt($)}}async function b(I){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};D(t),C=Ni(C);try{const R=await t.get(`assets/${I}`,gn({query:C}));return s(R.data)}catch(R){dt(R)}}async function E(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};D(t),I=Ni(I);try{const C=await t.get("assets",gn({query:I}));return c(C.data)}catch(C){dt(C)}}async function O(I){D(t);try{const C=await t.get(`tags/${I}`);return f(C.data)}catch(C){dt(C)}}async function S(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};D(t),I=Ni(I);try{const C=await t.get("tags",gn({query:I}));return l(C.data)}catch(C){dt(C)}}async function w(I){D(t);try{const C=Math.floor(Date.now()/1e3),R=C+Q5;G5("expiresAt",I,{maximum:R,now:C});const $={expiresAt:I},B=await t.post("asset_keys",$);return d(B.data)}catch(C){dt(C)}}async function P(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};D(t);try{const C=await t.get("locales",gn({query:I}));return h(C.data)}catch(C){dt(C)}}async function A(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{paginate:!0};const{resolveLinks:R,removeUnresolved:$}=n(I);return D(t),H5(t,I,ud({resolveLinks:R,removeUnresolved:$},C))}function L(I){const{resolveLinks:C,removeUnresolved:R}=n({});return u(I,{resolveLinks:C,removeUnresolved:R})}function D(I){I.defaults.baseURL=n().environmentBaseUrl}function j(I){I.defaults.baseURL=n().spaceBaseUrl}return{getSpace:p,getContentType:_,getContentTypes:g,getEntry:y,getEntries:m,getAsset:b,getAssets:E,getTag:O,getTags:S,createAssetKey:w,getLocales:P,parseEntries:L,sync:A}}function Z5(e){return function(n){return Object.assign({},e,n)}}function sd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Mi(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?sd(Object(n),!0).forEach(function(r){eT(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sd(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function eT(e,t,n){return t=tT(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tT(e){var t=nT(e,"string");return typeof t=="symbol"?t:String(t)}function nT(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function dR(e){if(!e.accessToken)throw new TypeError("Expected parameter accessToken");if(!e.space)throw new TypeError("Expected parameter space");const n=Mi(Mi({},{resolveLinks:!0,removeUnresolved:!1,defaultHostname:"cdn.contentful.com",environment:"master"}),e),r=o5("contentful.js/9.3.6",n.application,n.integration);n.headers=Mi(Mi({},n.headers),{},{"Content-Type":"application/vnd.contentful.delivery.v1+json","X-Contentful-User-Agent":r});const i=dm(GO,n),a=Z5({resolveLinks:n.resolveLinks,environment:n.environment,removeUnresolved:n.removeUnresolved,spaceBaseUrl:i.defaults.baseURL,environmentBaseUrl:`${i.defaults.baseURL}environments/${n.environment}`});return i.defaults.baseURL=a().environmentBaseUrl,J5({http:i,getGlobalOptions:a})}var rT={};const ym=zd(or);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(I){return I&&typeof I=="object"&&"default"in I?I.default:I}var n=ym,r=t(n),i=function(){return i=Object.assign||function(C){for(var R,$=1,B=arguments.length;$<B;$++){R=arguments[$];for(var Y in R)Object.prototype.hasOwnProperty.call(R,Y)&&(C[Y]=R[Y])}return C},i.apply(this,arguments)},a=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof J<"u"?J:typeof self<"u"?self:{};function o(I){return I&&I.__esModule&&Object.prototype.hasOwnProperty.call(I,"default")?I.default:I}function u(I,C){return C={exports:{}},I(C,C.exports),C.exports}var s=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0}),C.BLOCKS=void 0,function(R){R.DOCUMENT="document",R.PARAGRAPH="paragraph",R.HEADING_1="heading-1",R.HEADING_2="heading-2",R.HEADING_3="heading-3",R.HEADING_4="heading-4",R.HEADING_5="heading-5",R.HEADING_6="heading-6",R.OL_LIST="ordered-list",R.UL_LIST="unordered-list",R.LIST_ITEM="list-item",R.HR="hr",R.QUOTE="blockquote",R.EMBEDDED_ENTRY="embedded-entry-block",R.EMBEDDED_ASSET="embedded-asset-block",R.EMBEDDED_RESOURCE="embedded-resource-block",R.TABLE="table",R.TABLE_ROW="table-row",R.TABLE_CELL="table-cell",R.TABLE_HEADER_CELL="table-header-cell"}(C.BLOCKS||(C.BLOCKS={}))});o(s),s.BLOCKS;var c=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0}),C.INLINES=void 0,function(R){R.HYPERLINK="hyperlink",R.ENTRY_HYPERLINK="entry-hyperlink",R.ASSET_HYPERLINK="asset-hyperlink",R.RESOURCE_HYPERLINK="resource-hyperlink",R.EMBEDDED_ENTRY="embedded-entry-inline",R.EMBEDDED_RESOURCE="embedded-resource-inline"}(C.INLINES||(C.INLINES={}))});o(c),c.INLINES;var f=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0});var R;(function($){$.BOLD="bold",$.ITALIC="italic",$.UNDERLINE="underline",$.CODE="code",$.SUPERSCRIPT="superscript",$.SUBSCRIPT="subscript"})(R||(R={})),C.default=R});o(f);var l=u(function(I,C){var R=a&&a.__spreadArray||function(z,X,x){if(x||arguments.length===2)for(var U=0,q=X.length,H;U<q;U++)(H||!(U in X))&&(H||(H=Array.prototype.slice.call(X,0,U)),H[U]=X[U]);return z.concat(H||Array.prototype.slice.call(X))},$=a&&a.__importDefault||function(z){return z&&z.__esModule?z:{default:z}},B;Object.defineProperty(C,"__esModule",{value:!0}),C.V1_MARKS=C.V1_NODE_TYPES=C.TEXT_CONTAINERS=C.HEADINGS=C.CONTAINERS=C.VOID_BLOCKS=C.TABLE_BLOCKS=C.LIST_ITEM_BLOCKS=C.TOP_LEVEL_BLOCKS=void 0;var Y=$(f);C.TOP_LEVEL_BLOCKS=[s.BLOCKS.PARAGRAPH,s.BLOCKS.HEADING_1,s.BLOCKS.HEADING_2,s.BLOCKS.HEADING_3,s.BLOCKS.HEADING_4,s.BLOCKS.HEADING_5,s.BLOCKS.HEADING_6,s.BLOCKS.OL_LIST,s.BLOCKS.UL_LIST,s.BLOCKS.HR,s.BLOCKS.QUOTE,s.BLOCKS.EMBEDDED_ENTRY,s.BLOCKS.EMBEDDED_ASSET,s.BLOCKS.EMBEDDED_RESOURCE,s.BLOCKS.TABLE],C.LIST_ITEM_BLOCKS=[s.BLOCKS.PARAGRAPH,s.BLOCKS.HEADING_1,s.BLOCKS.HEADING_2,s.BLOCKS.HEADING_3,s.BLOCKS.HEADING_4,s.BLOCKS.HEADING_5,s.BLOCKS.HEADING_6,s.BLOCKS.OL_LIST,s.BLOCKS.UL_LIST,s.BLOCKS.HR,s.BLOCKS.QUOTE,s.BLOCKS.EMBEDDED_ENTRY,s.BLOCKS.EMBEDDED_ASSET,s.BLOCKS.EMBEDDED_RESOURCE],C.TABLE_BLOCKS=[s.BLOCKS.TABLE,s.BLOCKS.TABLE_ROW,s.BLOCKS.TABLE_CELL,s.BLOCKS.TABLE_HEADER_CELL],C.VOID_BLOCKS=[s.BLOCKS.HR,s.BLOCKS.EMBEDDED_ENTRY,s.BLOCKS.EMBEDDED_ASSET,s.BLOCKS.EMBEDDED_RESOURCE],C.CONTAINERS=(B={},B[s.BLOCKS.OL_LIST]=[s.BLOCKS.LIST_ITEM],B[s.BLOCKS.UL_LIST]=[s.BLOCKS.LIST_ITEM],B[s.BLOCKS.LIST_ITEM]=C.LIST_ITEM_BLOCKS,B[s.BLOCKS.QUOTE]=[s.BLOCKS.PARAGRAPH],B[s.BLOCKS.TABLE]=[s.BLOCKS.TABLE_ROW],B[s.BLOCKS.TABLE_ROW]=[s.BLOCKS.TABLE_CELL,s.BLOCKS.TABLE_HEADER_CELL],B[s.BLOCKS.TABLE_CELL]=[s.BLOCKS.PARAGRAPH],B[s.BLOCKS.TABLE_HEADER_CELL]=[s.BLOCKS.PARAGRAPH],B),C.HEADINGS=[s.BLOCKS.HEADING_1,s.BLOCKS.HEADING_2,s.BLOCKS.HEADING_3,s.BLOCKS.HEADING_4,s.BLOCKS.HEADING_5,s.BLOCKS.HEADING_6],C.TEXT_CONTAINERS=R([s.BLOCKS.PARAGRAPH],C.HEADINGS,!0),C.V1_NODE_TYPES=[s.BLOCKS.DOCUMENT,s.BLOCKS.PARAGRAPH,s.BLOCKS.HEADING_1,s.BLOCKS.HEADING_2,s.BLOCKS.HEADING_3,s.BLOCKS.HEADING_4,s.BLOCKS.HEADING_5,s.BLOCKS.HEADING_6,s.BLOCKS.OL_LIST,s.BLOCKS.UL_LIST,s.BLOCKS.LIST_ITEM,s.BLOCKS.HR,s.BLOCKS.QUOTE,s.BLOCKS.EMBEDDED_ENTRY,s.BLOCKS.EMBEDDED_ASSET,c.INLINES.HYPERLINK,c.INLINES.ENTRY_HYPERLINK,c.INLINES.ASSET_HYPERLINK,c.INLINES.EMBEDDED_ENTRY,"text"],C.V1_MARKS=[Y.default.BOLD,Y.default.CODE,Y.default.ITALIC,Y.default.UNDERLINE]});o(l),l.V1_MARKS,l.V1_NODE_TYPES,l.TEXT_CONTAINERS,l.HEADINGS,l.CONTAINERS,l.VOID_BLOCKS,l.TABLE_BLOCKS,l.LIST_ITEM_BLOCKS,l.TOP_LEVEL_BLOCKS;var d=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0})});o(d);var h=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0})});o(h);var v=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0});var R={nodeType:s.BLOCKS.DOCUMENT,data:{},content:[{nodeType:s.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};C.default=R});o(v);var p=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0}),C.isText=C.isBlock=C.isInline=void 0;function R(z,X){for(var x=0,U=Object.keys(z);x<U.length;x++){var q=U[x];if(X===z[q])return!0}return!1}function $(z){return R(c.INLINES,z.nodeType)}C.isInline=$;function B(z){return R(s.BLOCKS,z.nodeType)}C.isBlock=B;function Y(z){return z.nodeType==="text"}C.isText=Y});o(p),p.isText,p.isBlock,p.isInline;var _=u(function(I,C){var R=a&&a.__createBinding||(Object.create?function(x,U,q,H){H===void 0&&(H=q);var ne=Object.getOwnPropertyDescriptor(U,q);(!ne||("get"in ne?!U.__esModule:ne.writable||ne.configurable))&&(ne={enumerable:!0,get:function(){return U[q]}}),Object.defineProperty(x,H,ne)}:function(x,U,q,H){H===void 0&&(H=q),x[H]=U[q]}),$=a&&a.__setModuleDefault||(Object.create?function(x,U){Object.defineProperty(x,"default",{enumerable:!0,value:U})}:function(x,U){x.default=U}),B=a&&a.__exportStar||function(x,U){for(var q in x)q!=="default"&&!Object.prototype.hasOwnProperty.call(U,q)&&R(U,x,q)},Y=a&&a.__importStar||function(x){if(x&&x.__esModule)return x;var U={};if(x!=null)for(var q in x)q!=="default"&&Object.prototype.hasOwnProperty.call(x,q)&&R(U,x,q);return $(U,x),U},z=a&&a.__importDefault||function(x){return x&&x.__esModule?x:{default:x}};Object.defineProperty(C,"__esModule",{value:!0}),C.helpers=C.EMPTY_DOCUMENT=C.MARKS=C.INLINES=C.BLOCKS=void 0,Object.defineProperty(C,"BLOCKS",{enumerable:!0,get:function(){return s.BLOCKS}}),Object.defineProperty(C,"INLINES",{enumerable:!0,get:function(){return c.INLINES}}),Object.defineProperty(C,"MARKS",{enumerable:!0,get:function(){return z(f).default}}),B(l,C),B(d,C),B(h,C),Object.defineProperty(C,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return z(v).default}});var X=Y(p);C.helpers=X});o(_);var g=_.helpers;_.EMPTY_DOCUMENT;var y=_.MARKS,m=_.INLINES,b=_.BLOCKS;function E(I,C){return n.isValidElement(I)&&I.key===null?n.cloneElement(I,{key:C}):I}function O(I,C){return I.map(function(R,$){return E(S(R,C),$)})}function S(I,C){var R=C.renderNode,$=C.renderMark,B=C.renderText,Y=C.preserveWhitespace;if(g.isText(I)){var z=B?B(I.value):I.value;if(Y){z=z.replace(/ {2,}/g,function(q){return" ".repeat(q.length)});var X=z.split(`
|
|
18
|
+
`),x=[];X.forEach(function(q,H){x.push(q),H!==X.length-1&&x.push(r.createElement("br",null))}),z=x}return I.marks.reduce(function(q,H){return $[H.type]?$[H.type](q):q},z)}else{var U=O(I.content,C);return!I.nodeType||!R[I.nodeType]?r.createElement(r.Fragment,null,U):R[I.nodeType](I,U)}}var w,P,A=(w={},w[b.DOCUMENT]=function(I,C){return C},w[b.PARAGRAPH]=function(I,C){return r.createElement("p",null,C)},w[b.HEADING_1]=function(I,C){return r.createElement("h1",null,C)},w[b.HEADING_2]=function(I,C){return r.createElement("h2",null,C)},w[b.HEADING_3]=function(I,C){return r.createElement("h3",null,C)},w[b.HEADING_4]=function(I,C){return r.createElement("h4",null,C)},w[b.HEADING_5]=function(I,C){return r.createElement("h5",null,C)},w[b.HEADING_6]=function(I,C){return r.createElement("h6",null,C)},w[b.EMBEDDED_ENTRY]=function(I,C){return r.createElement("div",null,C)},w[b.EMBEDDED_RESOURCE]=function(I,C){return r.createElement("div",null,C)},w[b.UL_LIST]=function(I,C){return r.createElement("ul",null,C)},w[b.OL_LIST]=function(I,C){return r.createElement("ol",null,C)},w[b.LIST_ITEM]=function(I,C){return r.createElement("li",null,C)},w[b.QUOTE]=function(I,C){return r.createElement("blockquote",null,C)},w[b.HR]=function(){return r.createElement("hr",null)},w[b.TABLE]=function(I,C){return r.createElement("table",null,r.createElement("tbody",null,C))},w[b.TABLE_ROW]=function(I,C){return r.createElement("tr",null,C)},w[b.TABLE_HEADER_CELL]=function(I,C){return r.createElement("th",null,C)},w[b.TABLE_CELL]=function(I,C){return r.createElement("td",null,C)},w[m.ASSET_HYPERLINK]=function(I){return D(m.ASSET_HYPERLINK,I)},w[m.ENTRY_HYPERLINK]=function(I){return D(m.ENTRY_HYPERLINK,I)},w[m.EMBEDDED_ENTRY]=function(I){return D(m.EMBEDDED_ENTRY,I)},w[m.HYPERLINK]=function(I,C){return r.createElement("a",{href:I.data.uri},C)},w),L=(P={},P[y.BOLD]=function(I){return r.createElement("b",null,I)},P[y.ITALIC]=function(I){return r.createElement("i",null,I)},P[y.UNDERLINE]=function(I){return r.createElement("u",null,I)},P[y.CODE]=function(I){return r.createElement("code",null,I)},P[y.SUPERSCRIPT]=function(I){return r.createElement("sup",null,I)},P[y.SUBSCRIPT]=function(I){return r.createElement("sub",null,I)},P);function D(I,C){return r.createElement("span",{key:C.data.target.sys.id},"type: ",C.nodeType," id: ",C.data.target.sys.id)}function j(I,C){return C===void 0&&(C={}),I?S(I,{renderNode:i(i({},A),C.renderNode),renderMark:i(i({},L),C.renderMark),renderText:C.renderText,preserveWhitespace:C.preserveWhitespace}):null}e.documentToReactComponents=j})(rT);var iT={},Ei={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.BLOCKS=void 0,function(t){t.DOCUMENT="document",t.PARAGRAPH="paragraph",t.HEADING_1="heading-1",t.HEADING_2="heading-2",t.HEADING_3="heading-3",t.HEADING_4="heading-4",t.HEADING_5="heading-5",t.HEADING_6="heading-6",t.OL_LIST="ordered-list",t.UL_LIST="unordered-list",t.LIST_ITEM="list-item",t.HR="hr",t.QUOTE="blockquote",t.EMBEDDED_ENTRY="embedded-entry-block",t.EMBEDDED_ASSET="embedded-asset-block",t.EMBEDDED_RESOURCE="embedded-resource-block",t.TABLE="table",t.TABLE_ROW="table-row",t.TABLE_CELL="table-cell",t.TABLE_HEADER_CELL="table-header-cell"}(e.BLOCKS||(e.BLOCKS={}))})(Ei);var io={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.INLINES=void 0,function(t){t.HYPERLINK="hyperlink",t.ENTRY_HYPERLINK="entry-hyperlink",t.ASSET_HYPERLINK="asset-hyperlink",t.RESOURCE_HYPERLINK="resource-hyperlink",t.EMBEDDED_ENTRY="embedded-entry-inline",t.EMBEDDED_RESOURCE="embedded-resource-inline"}(e.INLINES||(e.INLINES={}))})(io);var ao={};Object.defineProperty(ao,"__esModule",{value:!0});var os;(function(e){e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript"})(os||(os={}));ao.default=os;var gm={};(function(e){var t=J&&J.__spreadArray||function(u,s,c){if(c||arguments.length===2)for(var f=0,l=s.length,d;f<l;f++)(d||!(f in s))&&(d||(d=Array.prototype.slice.call(s,0,f)),d[f]=s[f]);return u.concat(d||Array.prototype.slice.call(s))},n=J&&J.__importDefault||function(u){return u&&u.__esModule?u:{default:u}},r;Object.defineProperty(e,"__esModule",{value:!0}),e.V1_MARKS=e.V1_NODE_TYPES=e.TEXT_CONTAINERS=e.HEADINGS=e.CONTAINERS=e.VOID_BLOCKS=e.TABLE_BLOCKS=e.LIST_ITEM_BLOCKS=e.TOP_LEVEL_BLOCKS=void 0;var i=Ei,a=io,o=n(ao);e.TOP_LEVEL_BLOCKS=[i.BLOCKS.PARAGRAPH,i.BLOCKS.HEADING_1,i.BLOCKS.HEADING_2,i.BLOCKS.HEADING_3,i.BLOCKS.HEADING_4,i.BLOCKS.HEADING_5,i.BLOCKS.HEADING_6,i.BLOCKS.OL_LIST,i.BLOCKS.UL_LIST,i.BLOCKS.HR,i.BLOCKS.QUOTE,i.BLOCKS.EMBEDDED_ENTRY,i.BLOCKS.EMBEDDED_ASSET,i.BLOCKS.EMBEDDED_RESOURCE,i.BLOCKS.TABLE],e.LIST_ITEM_BLOCKS=[i.BLOCKS.PARAGRAPH,i.BLOCKS.HEADING_1,i.BLOCKS.HEADING_2,i.BLOCKS.HEADING_3,i.BLOCKS.HEADING_4,i.BLOCKS.HEADING_5,i.BLOCKS.HEADING_6,i.BLOCKS.OL_LIST,i.BLOCKS.UL_LIST,i.BLOCKS.HR,i.BLOCKS.QUOTE,i.BLOCKS.EMBEDDED_ENTRY,i.BLOCKS.EMBEDDED_ASSET,i.BLOCKS.EMBEDDED_RESOURCE],e.TABLE_BLOCKS=[i.BLOCKS.TABLE,i.BLOCKS.TABLE_ROW,i.BLOCKS.TABLE_CELL,i.BLOCKS.TABLE_HEADER_CELL],e.VOID_BLOCKS=[i.BLOCKS.HR,i.BLOCKS.EMBEDDED_ENTRY,i.BLOCKS.EMBEDDED_ASSET,i.BLOCKS.EMBEDDED_RESOURCE],e.CONTAINERS=(r={},r[i.BLOCKS.OL_LIST]=[i.BLOCKS.LIST_ITEM],r[i.BLOCKS.UL_LIST]=[i.BLOCKS.LIST_ITEM],r[i.BLOCKS.LIST_ITEM]=e.LIST_ITEM_BLOCKS,r[i.BLOCKS.QUOTE]=[i.BLOCKS.PARAGRAPH],r[i.BLOCKS.TABLE]=[i.BLOCKS.TABLE_ROW],r[i.BLOCKS.TABLE_ROW]=[i.BLOCKS.TABLE_CELL,i.BLOCKS.TABLE_HEADER_CELL],r[i.BLOCKS.TABLE_CELL]=[i.BLOCKS.PARAGRAPH],r[i.BLOCKS.TABLE_HEADER_CELL]=[i.BLOCKS.PARAGRAPH],r),e.HEADINGS=[i.BLOCKS.HEADING_1,i.BLOCKS.HEADING_2,i.BLOCKS.HEADING_3,i.BLOCKS.HEADING_4,i.BLOCKS.HEADING_5,i.BLOCKS.HEADING_6],e.TEXT_CONTAINERS=t([i.BLOCKS.PARAGRAPH],e.HEADINGS,!0),e.V1_NODE_TYPES=[i.BLOCKS.DOCUMENT,i.BLOCKS.PARAGRAPH,i.BLOCKS.HEADING_1,i.BLOCKS.HEADING_2,i.BLOCKS.HEADING_3,i.BLOCKS.HEADING_4,i.BLOCKS.HEADING_5,i.BLOCKS.HEADING_6,i.BLOCKS.OL_LIST,i.BLOCKS.UL_LIST,i.BLOCKS.LIST_ITEM,i.BLOCKS.HR,i.BLOCKS.QUOTE,i.BLOCKS.EMBEDDED_ENTRY,i.BLOCKS.EMBEDDED_ASSET,a.INLINES.HYPERLINK,a.INLINES.ENTRY_HYPERLINK,a.INLINES.ASSET_HYPERLINK,a.INLINES.EMBEDDED_ENTRY,"text"],e.V1_MARKS=[o.default.BOLD,o.default.CODE,o.default.ITALIC,o.default.UNDERLINE]})(gm);var bm={};Object.defineProperty(bm,"__esModule",{value:!0});var _m={};Object.defineProperty(_m,"__esModule",{value:!0});var Al={};Object.defineProperty(Al,"__esModule",{value:!0});var ld=Ei,aT={nodeType:ld.BLOCKS.DOCUMENT,data:{},content:[{nodeType:ld.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};Al.default=aT;var un={};Object.defineProperty(un,"__esModule",{value:!0});un.isText=un.isBlock=un.isInline=void 0;var oT=Ei,uT=io;function wm(e,t){for(var n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];if(t===e[i])return!0}return!1}function sT(e){return wm(uT.INLINES,e.nodeType)}un.isInline=sT;function lT(e){return wm(oT.BLOCKS,e.nodeType)}un.isBlock=lT;function cT(e){return e.nodeType==="text"}un.isText=cT;(function(e){var t=J&&J.__createBinding||(Object.create?function(l,d,h,v){v===void 0&&(v=h);var p=Object.getOwnPropertyDescriptor(d,h);(!p||("get"in p?!d.__esModule:p.writable||p.configurable))&&(p={enumerable:!0,get:function(){return d[h]}}),Object.defineProperty(l,v,p)}:function(l,d,h,v){v===void 0&&(v=h),l[v]=d[h]}),n=J&&J.__setModuleDefault||(Object.create?function(l,d){Object.defineProperty(l,"default",{enumerable:!0,value:d})}:function(l,d){l.default=d}),r=J&&J.__exportStar||function(l,d){for(var h in l)h!=="default"&&!Object.prototype.hasOwnProperty.call(d,h)&&t(d,l,h)},i=J&&J.__importStar||function(l){if(l&&l.__esModule)return l;var d={};if(l!=null)for(var h in l)h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)&&t(d,l,h);return n(d,l),d},a=J&&J.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(e,"__esModule",{value:!0}),e.helpers=e.EMPTY_DOCUMENT=e.MARKS=e.INLINES=e.BLOCKS=void 0;var o=Ei;Object.defineProperty(e,"BLOCKS",{enumerable:!0,get:function(){return o.BLOCKS}});var u=io;Object.defineProperty(e,"INLINES",{enumerable:!0,get:function(){return u.INLINES}});var s=ao;Object.defineProperty(e,"MARKS",{enumerable:!0,get:function(){return a(s).default}}),r(gm,e),r(bm,e),r(_m,e);var c=Al;Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return a(c).default}});var f=i(un);e.helpers=f})(iT);var fT={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="briefcase",r=512,i=512,a=[128188],o="f0b1",u="M184 48H328c4.4 0 8 3.6 8 8V96H176V56c0-4.4 3.6-8 8-8zm-56 8V96H64C28.7 96 0 124.7 0 160v96H192 320 512V160c0-35.3-28.7-64-64-64H384V56c0-30.9-25.1-56-56-56H184c-30.9 0-56 25.1-56 56zM512 288H320v32c0 17.7-14.3 32-32 32H224c-17.7 0-32-14.3-32-32V288H0V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V288z";e.definition={prefix:t,iconName:n,icon:[r,i,a,o,u]},e.faBriefcase=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=o,e.svgPathData=u,e.aliases=a})(fT);var dT={},Em={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="heart-pulse",r=512,i=512,a=["heartbeat"],o="f21e",u="M228.3 469.1L47.6 300.4c-4.2-3.9-8.2-8.1-11.9-12.4h87c22.6 0 43-13.6 51.7-34.5l10.5-25.2 49.3 109.5c3.8 8.5 12.1 14 21.4 14.1s17.8-5 22-13.3L320 253.7l1.7 3.4c9.5 19 28.9 31 50.1 31H476.3c-3.7 4.3-7.7 8.5-11.9 12.4L283.7 469.1c-7.5 7-17.4 10.9-27.7 10.9s-20.2-3.9-27.7-10.9zM503.7 240h-132c-3 0-5.8-1.7-7.2-4.4l-23.2-46.3c-4.1-8.1-12.4-13.3-21.5-13.3s-17.4 5.1-21.5 13.3l-41.4 82.8L205.9 158.2c-3.9-8.7-12.7-14.3-22.2-14.1s-18.1 5.9-21.8 14.8l-31.8 76.3c-1.2 3-4.2 4.9-7.4 4.9H16c-2.6 0-5 .4-7.3 1.1C3 225.2 0 208.2 0 190.9v-5.8c0-69.9 50.5-129.5 119.4-141C165 36.5 211.4 51.4 244 84l12 12 12-12c32.6-32.6 79-47.5 124.6-39.9C461.5 55.6 512 115.2 512 185.1v5.8c0 16.9-2.8 33.5-8.3 49.1z";e.definition={prefix:t,iconName:n,icon:[r,i,a,o,u]},e.faHeartPulse=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=o,e.svgPathData=u,e.aliases=a})(Em);(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Em;e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faHeartbeat=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases})(dT);var pT={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="spa",r=576,i=512,a=[],o="f5bb",u="M183.1 235.3c33.7 20.7 62.9 48.1 85.8 80.5c7 9.9 13.4 20.3 19.1 31c5.7-10.8 12.1-21.1 19.1-31c22.9-32.4 52.1-59.8 85.8-80.5C437.6 207.8 490.1 192 546 192h9.9c11.1 0 20.1 9 20.1 20.1C576 360.1 456.1 480 308.1 480H288 267.9C119.9 480 0 360.1 0 212.1C0 201 9 192 20.1 192H30c55.9 0 108.4 15.8 153.1 43.3zM301.5 37.6c15.7 16.9 61.1 71.8 84.4 164.6c-38 21.6-71.4 50.8-97.9 85.6c-26.5-34.8-59.9-63.9-97.9-85.6c23.2-92.8 68.6-147.7 84.4-164.6C278 33.9 282.9 32 288 32s10 1.9 13.5 5.6z";e.definition={prefix:t,iconName:n,icon:[r,i,a,o,u]},e.faSpa=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=o,e.svgPathData=u,e.aliases=a})(pT);var hT={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="umbrella-beach",r=576,i=512,a=[127958],o="f5ca",u="M346.3 271.8l-60.1-21.9L214 448H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H544c17.7 0 32-14.3 32-32s-14.3-32-32-32H282.1l64.1-176.2zm121.1-.2l-3.3 9.1 67.7 24.6c18.1 6.6 38-4.2 39.6-23.4c6.5-78.5-23.9-155.5-80.8-208.5c2 8 3.2 16.3 3.4 24.8l.2 6c1.8 57-7.3 113.8-26.8 167.4zM462 99.1c-1.1-34.4-22.5-64.8-54.4-77.4c-.9-.4-1.9-.7-2.8-1.1c-33-11.7-69.8-2.4-93.1 23.8l-4 4.5C272.4 88.3 245 134.2 226.8 184l-3.3 9.1L434 269.7l3.3-9.1c18.1-49.8 26.6-102.5 24.9-155.5l-.2-6zM107.2 112.9c-11.1 15.7-2.8 36.8 15.3 43.4l71 25.8 3.3-9.1c19.5-53.6 49.1-103 87.1-145.5l4-4.5c6.2-6.9 13.1-13 20.5-18.2c-79.6 2.5-154.7 42.2-201.2 108z";e.definition={prefix:t,iconName:n,icon:[r,i,a,o,u]},e.faUmbrellaBeach=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=o,e.svgPathData=u,e.aliases=a})(hT);var vT={},Sm={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="square-dollar",r=448,i=512,a=["dollar-square","usd-square"],o="f2e9",u="M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM244.8 133.6v14.2c9.7 1.2 19.4 3.9 29 6.6c1.9 .5 3.7 1 5.6 1.6c11.5 3.2 18.3 15.1 15.1 26.6s-15.1 18.2-26.6 15.1c-1.6-.4-3.1-.9-4.7-1.3c-7-2-14-3.9-21.1-5.3c-13.2-2.5-28.5-1.3-40.8 4c-11 4.8-20.1 16.4-7.6 24.4c9.8 6.3 21.8 9.5 33.2 12.6c2.4 .6 4.7 1.3 7 1.9c15.6 4.4 35.5 10.1 50.4 20.3c19.4 13.3 28.5 34.9 24.2 58.1c-4.1 22.4-19.7 37.1-38.4 44.7c-7.8 3.2-16.3 5.2-25.2 6.2l0 15.2c0 11.9-9.7 21.6-21.6 21.6s-21.6-9.7-21.6-21.6l0-17.4c-14.5-3.3-28.7-7.9-42.8-12.5c-11.3-3.7-17.5-16-13.7-27.3s16-17.5 27.3-13.7c2.5 .8 5 1.7 7.5 2.5c11.3 3.8 22.9 7.7 34.5 9.6c17 2.5 30.6 1 39.5-2.6c12-4.8 17.7-19.1 5.9-27.1c-10.1-6.9-22.6-10.3-34.5-13.5c-2.3-.6-4.5-1.2-6.8-1.9c-15.1-4.3-34-9.6-48.2-18.7c-19.5-12.5-29.4-33.3-25.2-56.4c4-21.8 21-36.3 39-44.1c5.5-2.4 11.4-4.3 17.5-5.7V133.6c0-11.9 9.7-21.6 21.6-21.6s21.6 9.7 21.6 21.6z";e.definition={prefix:t,iconName:n,icon:[r,i,a,o,u]},e.faSquareDollar=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=o,e.svgPathData=u,e.aliases=a})(Sm);(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Sm;e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faUsdSquare=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases})(vT);function cd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function W(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?cd(Object(n),!0).forEach(function(r){$e(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cd(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ia(e){"@babel/helpers - typeof";return Ia=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ia(e)}function mT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fd(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function yT(e,t,n){return t&&fd(e.prototype,t),n&&fd(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function $e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tl(e,t){return bT(e)||wT(e,t)||Om(e,t)||ST()}function Si(e){return gT(e)||_T(e)||Om(e)||ET()}function gT(e){if(Array.isArray(e))return us(e)}function bT(e){if(Array.isArray(e))return e}function _T(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function wT(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],i=!0,a=!1,o,u;try{for(n=n.call(e);!(i=(o=n.next()).done)&&(r.push(o.value),!(t&&r.length===t));i=!0);}catch(s){a=!0,u=s}finally{try{!i&&n.return!=null&&n.return()}finally{if(a)throw u}}return r}}function Om(e,t){if(e){if(typeof e=="string")return us(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return us(e,t)}}function us(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ET(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
19
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ST(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
20
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var dd=function(){},Cl={},Pm={},Am=null,Tm={mark:dd,measure:dd};try{typeof window<"u"&&(Cl=window),typeof document<"u"&&(Pm=document),typeof MutationObserver<"u"&&(Am=MutationObserver),typeof performance<"u"&&(Tm=performance)}catch{}var OT=Cl.navigator||{},pd=OT.userAgent,hd=pd===void 0?"":pd,fn=Cl,ye=Pm,vd=Am,Di=Tm;fn.document;var qt=!!ye.documentElement&&!!ye.head&&typeof ye.addEventListener=="function"&&typeof ye.createElement=="function",Cm=~hd.indexOf("MSIE")||~hd.indexOf("Trident/"),$i,ji,Bi,Fi,Ui,Ht="___FONT_AWESOME___",ss=16,Im="fa",Lm="svg-inline--fa",kn="data-fa-i2svg",ls="data-fa-pseudo-element",PT="data-fa-pseudo-element-pending",Il="data-prefix",Ll="data-icon",md="fontawesome-i2svg",AT="async",TT=["HTML","HEAD","STYLE","SCRIPT"],Rm=function(){try{return!0}catch{return!1}}(),me="classic",_e="sharp",Rl=[me,_e];function Oi(e){return new Proxy(e,{get:function(n,r){return r in n?n[r]:n[me]}})}var ii=Oi(($i={},$e($i,me,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit"}),$e($i,_e,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light"}),$i)),ai=Oi((ji={},$e(ji,me,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),$e(ji,_e,{solid:"fass",regular:"fasr",light:"fasl"}),ji)),oi=Oi((Bi={},$e(Bi,me,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),$e(Bi,_e,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light"}),Bi)),CT=Oi((Fi={},$e(Fi,me,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),$e(Fi,_e,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl"}),Fi)),IT=/fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/,km="fa-layers-text",LT=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,RT=Oi((Ui={},$e(Ui,me,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),$e(Ui,_e,{900:"fass",400:"fasr",300:"fasl"}),Ui)),Nm=[1,2,3,4,5,6,7,8,9,10],kT=Nm.concat([11,12,13,14,15,16,17,18,19,20]),NT=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Sn={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},ui=new Set;Object.keys(ai[me]).map(ui.add.bind(ui));Object.keys(ai[_e]).map(ui.add.bind(ui));var MT=[].concat(Rl,Si(ui),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Sn.GROUP,Sn.SWAP_OPACITY,Sn.PRIMARY,Sn.SECONDARY]).concat(Nm.map(function(e){return"".concat(e,"x")})).concat(kT.map(function(e){return"w-".concat(e)})),qr=fn.FontAwesomeConfig||{};function DT(e){var t=ye.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function $T(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(ye&&typeof ye.querySelector=="function"){var jT=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];jT.forEach(function(e){var t=Tl(e,2),n=t[0],r=t[1],i=$T(DT(n));i!=null&&(qr[r]=i)})}var Mm={styleDefault:"solid",familyDefault:"classic",cssPrefix:Im,replacementClass:Lm,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};qr.familyPrefix&&(qr.cssPrefix=qr.familyPrefix);var vr=W(W({},Mm),qr);vr.autoReplaceSvg||(vr.observeMutations=!1);var V={};Object.keys(Mm).forEach(function(e){Object.defineProperty(V,e,{enumerable:!0,set:function(n){vr[e]=n,Gr.forEach(function(r){return r(V)})},get:function(){return vr[e]}})});Object.defineProperty(V,"familyPrefix",{enumerable:!0,set:function(t){vr.cssPrefix=t,Gr.forEach(function(n){return n(V)})},get:function(){return vr.cssPrefix}});fn.FontAwesomeConfig=V;var Gr=[];function BT(e){return Gr.push(e),function(){Gr.splice(Gr.indexOf(e),1)}}var Vt=ss,Tt={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function FT(e){if(!(!e||!qt)){var t=ye.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=ye.head.childNodes,r=null,i=n.length-1;i>-1;i--){var a=n[i],o=(a.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(r=a)}return ye.head.insertBefore(t,r),e}}var UT="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function si(){for(var e=12,t="";e-- >0;)t+=UT[Math.random()*62|0];return t}function Ir(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function kl(e){return e.classList?Ir(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function Dm(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function xT(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(Dm(e[n]),'" ')},"").trim()}function oo(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function Nl(e){return e.size!==Tt.size||e.x!==Tt.x||e.y!==Tt.y||e.rotate!==Tt.rotate||e.flipX||e.flipY}function HT(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,i={transform:"translate(".concat(n/2," 256)")},a="translate(".concat(t.x*32,", ").concat(t.y*32,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),u="rotate(".concat(t.rotate," 0 0)"),s={transform:"".concat(a," ").concat(o," ").concat(u)},c={transform:"translate(".concat(r/2*-1," -256)")};return{outer:i,inner:s,path:c}}function KT(e){var t=e.transform,n=e.width,r=n===void 0?ss:n,i=e.height,a=i===void 0?ss:i,o=e.startCentered,u=o===void 0?!1:o,s="";return u&&Cm?s+="translate(".concat(t.x/Vt-r/2,"em, ").concat(t.y/Vt-a/2,"em) "):u?s+="translate(calc(-50% + ".concat(t.x/Vt,"em), calc(-50% + ").concat(t.y/Vt,"em)) "):s+="translate(".concat(t.x/Vt,"em, ").concat(t.y/Vt,"em) "),s+="scale(".concat(t.size/Vt*(t.flipX?-1:1),", ").concat(t.size/Vt*(t.flipY?-1:1),") "),s+="rotate(".concat(t.rotate,"deg) "),s}var WT=`:root, :host {
|
|
21
21
|
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
|
|
22
22
|
--fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";
|
|
23
23
|
--fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";
|
|
@@ -773,10 +773,10 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
773
773
|
.fad.fa-inverse,
|
|
774
774
|
.fa-duotone.fa-inverse {
|
|
775
775
|
color: var(--fa-inverse, #fff);
|
|
776
|
-
}`;function $m(){var e=Im,t=Lm,n=V.cssPrefix,r=V.replacementClass,i=KT;if(n!==e||r!==t){var a=new RegExp("\\.".concat(e,"\\-"),"g"),o=new RegExp("\\--".concat(e,"\\-"),"g"),u=new RegExp("\\.".concat(t),"g");i=i.replace(a,".".concat(n,"-")).replace(o,"--".concat(n,"-")).replace(u,".".concat(r))}return i}var yd=!1;function uu(){V.autoAddCss&&!yd&&(BT($m()),yd=!0)}var WT={mixout:function(){return{dom:{css:$m,insertCss:uu}}},hooks:function(){return{beforeDOMElementCreation:function(){uu()},beforeI2svg:function(){uu()}}}},Kt=fn||{};Kt[Ht]||(Kt[Ht]={});Kt[Ht].styles||(Kt[Ht].styles={});Kt[Ht].hooks||(Kt[Ht].hooks={});Kt[Ht].shims||(Kt[Ht].shims=[]);var vt=Kt[Ht],jm=[],zT=function e(){ye.removeEventListener("DOMContentLoaded",e),La=1,jm.map(function(t){return t()})},La=!1;qt&&(La=(ye.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(ye.readyState),La||ye.addEventListener("DOMContentLoaded",zT));function qT(e){qt&&(La?setTimeout(e,0):jm.push(e))}function Pi(e){var t=e.tag,n=e.attributes,r=n===void 0?{}:n,i=e.children,a=i===void 0?[]:i;return typeof e=="string"?Dm(e):"<".concat(t," ").concat(UT(r),">").concat(a.map(Pi).join(""),"</").concat(t,">")}function gd(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var GT=function(t,n){return function(r,i,a,o){return t.call(n,r,i,a,o)}},su=function(t,n,r,i){var a=Object.keys(t),o=a.length,u=i!==void 0?GT(n,i):n,s,c,f;for(r===void 0?(s=1,f=t[a[0]]):(s=0,f=r);s<o;s++)c=a[s],f=u(f,t[c],c,t);return f};function VT(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var a=e.charCodeAt(n++);(a&64512)==56320?t.push(((i&1023)<<10)+(a&1023)+65536):(t.push(i),n--)}else t.push(i)}return t}function cs(e){var t=VT(e);return t.length===1?t[0].toString(16):null}function YT(e,t){var n=e.length,r=e.charCodeAt(t),i;return r>=55296&&r<=56319&&n>t+1&&(i=e.charCodeAt(t+1),i>=56320&&i<=57343)?(r-55296)*1024+i-56320+65536:r}function bd(e){return Object.keys(e).reduce(function(t,n){var r=e[n],i=!!r.icon;return i?t[r.iconName]=r.icon:t[n]=r,t},{})}function fs(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,i=r===void 0?!1:r,a=bd(t);typeof vt.hooks.addPack=="function"&&!i?vt.hooks.addPack(e,bd(t)):vt.styles[e]=W(W({},vt.styles[e]||{}),a),e==="fas"&&fs("fa",t)}var xi,Hi,Ki,Vn=vt.styles,XT=vt.shims,QT=(xi={},$e(xi,me,Object.values(oi[me])),$e(xi,_e,Object.values(oi[_e])),xi),Ml=null,Bm={},Fm={},Um={},xm={},Hm={},JT=(Hi={},$e(Hi,me,Object.keys(ii[me])),$e(Hi,_e,Object.keys(ii[_e])),Hi);function ZT(e){return~NT.indexOf(e)}function eC(e,t){var n=t.split("-"),r=n[0],i=n.slice(1).join("-");return r===e&&i!==""&&!ZT(i)?i:null}var Km=function(){var t=function(a){return su(Vn,function(o,u,s){return o[s]=su(u,a,{}),o},{})};Bm=t(function(i,a,o){if(a[3]&&(i[a[3]]=o),a[2]){var u=a[2].filter(function(s){return typeof s=="number"});u.forEach(function(s){i[s.toString(16)]=o})}return i}),Fm=t(function(i,a,o){if(i[o]=o,a[2]){var u=a[2].filter(function(s){return typeof s=="string"});u.forEach(function(s){i[s]=o})}return i}),Hm=t(function(i,a,o){var u=a[2];return i[o]=o,u.forEach(function(s){i[s]=o}),i});var n="far"in Vn||V.autoFetchSvg,r=su(XT,function(i,a){var o=a[0],u=a[1],s=a[2];return u==="far"&&!n&&(u="fas"),typeof o=="string"&&(i.names[o]={prefix:u,iconName:s}),typeof o=="number"&&(i.unicodes[o.toString(16)]={prefix:u,iconName:s}),i},{names:{},unicodes:{}});Um=r.names,xm=r.unicodes,Ml=uo(V.styleDefault,{family:V.familyDefault})};jT(function(e){Ml=uo(e.styleDefault,{family:V.familyDefault})});Km();function Dl(e,t){return(Bm[e]||{})[t]}function tC(e,t){return(Fm[e]||{})[t]}function On(e,t){return(Hm[e]||{})[t]}function Wm(e){return Um[e]||{prefix:null,iconName:null}}function nC(e){var t=xm[e],n=Dl("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function dn(){return Ml}var $l=function(){return{prefix:null,iconName:null,rest:[]}};function uo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.family,r=n===void 0?me:n,i=ii[r][e],a=ai[r][e]||ai[r][i],o=e in vt.styles?e:null;return a||o||null}var _d=(Ki={},$e(Ki,me,Object.keys(oi[me])),$e(Ki,_e,Object.keys(oi[_e])),Ki);function so(e){var t,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.skipLookups,i=r===void 0?!1:r,a=(t={},$e(t,me,"".concat(V.cssPrefix,"-").concat(me)),$e(t,_e,"".concat(V.cssPrefix,"-").concat(_e)),t),o=null,u=me;(e.includes(a[me])||e.some(function(c){return _d[me].includes(c)}))&&(u=me),(e.includes(a[_e])||e.some(function(c){return _d[_e].includes(c)}))&&(u=_e);var s=e.reduce(function(c,f){var l=eC(V.cssPrefix,f);if(Vn[f]?(f=QT[u].includes(f)?TT[u][f]:f,o=f,c.prefix=f):JT[u].indexOf(f)>-1?(o=f,c.prefix=uo(f,{family:u})):l?c.iconName=l:f!==V.replacementClass&&f!==a[me]&&f!==a[_e]&&c.rest.push(f),!i&&c.prefix&&c.iconName){var d=o==="fa"?Wm(c.iconName):{},h=On(c.prefix,c.iconName);d.prefix&&(o=null),c.iconName=d.iconName||h||c.iconName,c.prefix=d.prefix||c.prefix,c.prefix==="far"&&!Vn.far&&Vn.fas&&!V.autoFetchSvg&&(c.prefix="fas")}return c},$l());return(e.includes("fa-brands")||e.includes("fab"))&&(s.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(s.prefix="fad"),!s.prefix&&u===_e&&(Vn.fass||V.autoFetchSvg)&&(s.prefix="fass",s.iconName=On(s.prefix,s.iconName)||s.iconName),(s.prefix==="fa"||o==="fa")&&(s.prefix=dn()||"fas"),s}var rC=function(){function e(){vT(this,e),this.definitions={}}return mT(e,[{key:"add",value:function(){for(var n=this,r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];var o=i.reduce(this._pullDefinitions,{});Object.keys(o).forEach(function(u){n.definitions[u]=W(W({},n.definitions[u]||{}),o[u]),fs(u,o[u]);var s=oi[me][u];s&&fs(s,o[u]),Km()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(n,r){var i=r.prefix&&r.iconName&&r.icon?{0:r}:r;return Object.keys(i).map(function(a){var o=i[a],u=o.prefix,s=o.iconName,c=o.icon,f=c[2];n[u]||(n[u]={}),f.length>0&&f.forEach(function(l){typeof l=="string"&&(n[u][l]=c)}),n[u][s]=c}),n}}]),e}(),wd=[],Yn={},tr={},iC=Object.keys(tr);function aC(e,t){var n=t.mixoutsTo;return wd=e,Yn={},Object.keys(tr).forEach(function(r){iC.indexOf(r)===-1&&delete tr[r]}),wd.forEach(function(r){var i=r.mixout?r.mixout():{};if(Object.keys(i).forEach(function(o){typeof i[o]=="function"&&(n[o]=i[o]),Ia(i[o])==="object"&&Object.keys(i[o]).forEach(function(u){n[o]||(n[o]={}),n[o][u]=i[o][u]})}),r.hooks){var a=r.hooks();Object.keys(a).forEach(function(o){Yn[o]||(Yn[o]=[]),Yn[o].push(a[o])})}r.provides&&r.provides(tr)}),n}function ds(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var a=Yn[e]||[];return a.forEach(function(o){t=o.apply(null,[t].concat(r))}),t}function Nn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=Yn[e]||[];i.forEach(function(a){a.apply(null,n)})}function Wt(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return tr[e]?tr[e].apply(null,t):void 0}function ps(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,n=e.prefix||dn();if(t)return t=On(n,t)||t,gd(zm.definitions,n,t)||gd(vt.styles,n,t)}var zm=new rC,oC=function(){V.autoReplaceSvg=!1,V.observeMutations=!1,Nn("noAuto")},uC={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return qt?(Nn("beforeI2svg",t),Wt("pseudoElements2svg",t),Wt("i2svg",t)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot;V.autoReplaceSvg===!1&&(V.autoReplaceSvg=!0),V.observeMutations=!0,qT(function(){lC({autoReplaceSvgRoot:n}),Nn("watch",t)})}},sC={icon:function(t){if(t===null)return null;if(Ia(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:On(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var n=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],r=uo(t[0]);return{prefix:r,iconName:On(r,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(V.cssPrefix,"-"))>-1||t.match(CT))){var i=so(t.split(" "),{skipLookups:!0});return{prefix:i.prefix||dn(),iconName:On(i.prefix,i.iconName)||i.iconName}}if(typeof t=="string"){var a=dn();return{prefix:a,iconName:On(a,t)||t}}}},ut={noAuto:oC,config:V,dom:uC,parse:sC,library:zm,findIconDefinition:ps,toHtml:Pi},lC=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,r=n===void 0?ye:n;(Object.keys(vt.styles).length>0||V.autoFetchSvg)&&qt&&V.autoReplaceSvg&&ut.dom.i2svg({node:r})};function lo(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(r){return Pi(r)})}}),Object.defineProperty(e,"node",{get:function(){if(qt){var r=ye.createElement("div");return r.innerHTML=e.html,r.children}}}),e}function cC(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,a=e.styles,o=e.transform;if(Nl(o)&&n.found&&!r.found){var u=n.width,s=n.height,c={x:u/s/2,y:.5};i.style=oo(W(W({},a),{},{"transform-origin":"".concat(c.x+o.x/16,"em ").concat(c.y+o.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}function fC(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,a=e.symbol,o=a===!0?"".concat(t,"-").concat(V.cssPrefix,"-").concat(n):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:W(W({},i),{},{id:o}),children:r}]}]}function jl(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,a=e.iconName,o=e.transform,u=e.symbol,s=e.title,c=e.maskId,f=e.titleId,l=e.extra,d=e.watchable,h=d===void 0?!1:d,v=r.found?r:n,p=v.width,_=v.height,g=i==="fak",y=[V.replacementClass,a?"".concat(V.cssPrefix,"-").concat(a):""].filter(function(P){return l.classes.indexOf(P)===-1}).filter(function(P){return P!==""||!!P}).concat(l.classes).join(" "),m={children:[],attributes:W(W({},l.attributes),{},{"data-prefix":i,"data-icon":a,class:y,role:l.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(p," ").concat(_)})},b=g&&!~l.classes.indexOf("fa-fw")?{width:"".concat(p/_*16*.0625,"em")}:{};h&&(m.attributes[kn]=""),s&&(m.children.push({tag:"title",attributes:{id:m.attributes["aria-labelledby"]||"title-".concat(f||si())},children:[s]}),delete m.attributes.title);var E=W(W({},m),{},{prefix:i,iconName:a,main:n,mask:r,maskId:c,transform:o,symbol:u,styles:W(W({},b),l.styles)}),O=r.found&&n.found?Wt("generateAbstractMask",E)||{children:[],attributes:{}}:Wt("generateAbstractIcon",E)||{children:[],attributes:{}},S=O.children,w=O.attributes;return E.children=S,E.attributes=w,u?fC(E):cC(E)}function Ed(e){var t=e.content,n=e.width,r=e.height,i=e.transform,a=e.title,o=e.extra,u=e.watchable,s=u===void 0?!1:u,c=W(W(W({},o.attributes),a?{title:a}:{}),{},{class:o.classes.join(" ")});s&&(c[kn]="");var f=W({},o.styles);Nl(i)&&(f.transform=HT({transform:i,startCentered:!0,width:n,height:r}),f["-webkit-transform"]=f.transform);var l=oo(f);l.length>0&&(c.style=l);var d=[];return d.push({tag:"span",attributes:c,children:[t]}),a&&d.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),d}function dC(e){var t=e.content,n=e.title,r=e.extra,i=W(W(W({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),a=oo(r.styles);a.length>0&&(i.style=a);var o=[];return o.push({tag:"span",attributes:i,children:[t]}),n&&o.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),o}var lu=vt.styles;function hs(e){var t=e[0],n=e[1],r=e.slice(4),i=Tl(r,1),a=i[0],o=null;return Array.isArray(a)?o={tag:"g",attributes:{class:"".concat(V.cssPrefix,"-").concat(Sn.GROUP)},children:[{tag:"path",attributes:{class:"".concat(V.cssPrefix,"-").concat(Sn.SECONDARY),fill:"currentColor",d:a[0]}},{tag:"path",attributes:{class:"".concat(V.cssPrefix,"-").concat(Sn.PRIMARY),fill:"currentColor",d:a[1]}}]}:o={tag:"path",attributes:{fill:"currentColor",d:a}},{found:!0,width:t,height:n,icon:o}}var pC={found:!1,width:512,height:512};function hC(e,t){!Rm&&!V.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function vs(e,t){var n=t;return t==="fa"&&V.styleDefault!==null&&(t=dn()),new Promise(function(r,i){if(Wt("missingIconAbstract"),n==="fa"){var a=Wm(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&lu[t]&&lu[t][e]){var o=lu[t][e];return r(hs(o))}hC(e,t),r(W(W({},pC),{},{icon:V.showMissingIcons&&e?Wt("missingIconAbstract")||{}:{}}))})}var Sd=function(){},ms=V.measurePerformance&&Di&&Di.mark&&Di.measure?Di:{mark:Sd,measure:Sd},Fr='FA "6.4.2"',vC=function(t){return ms.mark("".concat(Fr," ").concat(t," begins")),function(){return qm(t)}},qm=function(t){ms.mark("".concat(Fr," ").concat(t," ends")),ms.measure("".concat(Fr," ").concat(t),"".concat(Fr," ").concat(t," begins"),"".concat(Fr," ").concat(t," ends"))},Bl={begin:vC,end:qm},ia=function(){};function Od(e){var t=e.getAttribute?e.getAttribute(kn):null;return typeof t=="string"}function mC(e){var t=e.getAttribute?e.getAttribute(Il):null,n=e.getAttribute?e.getAttribute(Ll):null;return t&&n}function yC(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(V.replacementClass)}function gC(){if(V.autoReplaceSvg===!0)return aa.replace;var e=aa[V.autoReplaceSvg];return e||aa.replace}function bC(e){return ye.createElementNS("http://www.w3.org/2000/svg",e)}function _C(e){return ye.createElement(e)}function Gm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,r=n===void 0?e.tag==="svg"?bC:_C:n;if(typeof e=="string")return ye.createTextNode(e);var i=r(e.tag);Object.keys(e.attributes||[]).forEach(function(o){i.setAttribute(o,e.attributes[o])});var a=e.children||[];return a.forEach(function(o){i.appendChild(Gm(o,{ceFn:r}))}),i}function wC(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var aa={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(i){n.parentNode.insertBefore(Gm(i),n)}),n.getAttribute(kn)===null&&V.keepOriginalSource){var r=ye.createComment(wC(n));n.parentNode.replaceChild(r,n)}else n.remove()},nest:function(t){var n=t[0],r=t[1];if(~kl(n).indexOf(V.replacementClass))return aa.replace(t);var i=new RegExp("".concat(V.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){var a=r[0].attributes.class.split(" ").reduce(function(u,s){return s===V.replacementClass||s.match(i)?u.toSvg.push(s):u.toNode.push(s),u},{toNode:[],toSvg:[]});r[0].attributes.class=a.toSvg.join(" "),a.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",a.toNode.join(" "))}var o=r.map(function(u){return Pi(u)}).join(`
|
|
777
|
-
`);n.setAttribute(kn,""),n.innerHTML=o}};function Pd(e){e()}function Vm(e,t){var n=typeof t=="function"?t:ia;if(e.length===0)n();else{var r=Pd;V.mutateApproach===
|
|
778
|
-
`),e.removeAttribute(n),r()}).catch(i)}else r()}else r()})}function
|
|
779
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function iI(e){var t,n=e.beat,r=e.fade,i=e.beatFade,a=e.bounce,o=e.shake,u=e.flash,s=e.spin,c=e.spinPulse,f=e.spinReverse,l=e.pulse,d=e.fixedWidth,h=e.inverse,v=e.border,p=e.listItem,_=e.flip,g=e.size,y=e.rotation,m=e.pull,b=(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":i,"fa-bounce":a,"fa-shake":o,"fa-flash":u,"fa-spin":s,"fa-spin-reverse":f,"fa-spin-pulse":c,"fa-pulse":l,"fa-fw":d,"fa-inverse":h,"fa-border":v,"fa-li":p,"fa-flip":_===!0,"fa-flip-horizontal":_==="horizontal"||_==="both","fa-flip-vertical":_==="vertical"||_==="both"},Xn(t,"fa-".concat(g),typeof g<"u"&&g!==null),Xn(t,"fa-rotate-".concat(y),typeof y<"u"&&y!==null&&y!==0),Xn(t,"fa-pull-".concat(m),typeof m<"u"&&m!==null),Xn(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(b).map(function(E){return b[E]?E:null}).filter(function(E){return E})}function aI(e){return e=e-0,e===e}function ey(e){return aI(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,n){return n?n.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var oI=["style"];function uI(e){return e.charAt(0).toUpperCase()+e.slice(1)}function sI(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var r=n.indexOf(":"),i=ey(n.slice(0,r)),a=n.slice(r+1).trim();return i.startsWith("webkit")?t[uI(i)]=a:t[i]=a,t},{})}function ty(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t=="string")return t;var r=(t.children||[]).map(function(s){return ty(e,s)}),i=Object.keys(t.attributes||{}).reduce(function(s,c){var f=t.attributes[c];switch(c){case"class":s.attrs.className=f,delete t.attributes.class;break;case"style":s.attrs.style=sI(f);break;default:c.indexOf("aria-")===0||c.indexOf("data-")===0?s.attrs[c.toLowerCase()]=f:s.attrs[ey(c)]=f}return s},{attrs:{}}),a=n.style,o=a===void 0?{}:a,u=ZC(n,oI);return i.attrs.style=nn(nn({},i.attrs.style),o),e.apply(void 0,[t.tag,nn(nn({},i.attrs),u)].concat(bs(r)))}var ny=!1;try{ny=!0}catch{}function lI(){if(!ny&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function $d(e){if(e&&ka(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(gs.icon)return gs.icon(e);if(e===null)return null;if(e&&ka(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}function fu(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Xn({},e,t):{}}var co=Z.forwardRef(function(e,t){var n=e.icon,r=e.mask,i=e.symbol,a=e.className,o=e.title,u=e.titleId,s=e.maskId,c=$d(n),f=fu("classes",[].concat(bs(iI(e)),bs(a.split(" ")))),l=fu("transform",typeof e.transform=="string"?gs.transform(e.transform):e.transform),d=fu("mask",$d(r)),h=GC(c,nn(nn(nn(nn({},f),l),d),{},{symbol:i,title:o,titleId:u,maskId:s}));if(!h)return lI("Could not find icon",c),null;var v=h.abstract,p={ref:t};return Object.keys(e).forEach(function(_){co.defaultProps.hasOwnProperty(_)||(p[_]=e[_])}),cI(v[0],p)});co.displayName="FontAwesomeIcon";co.propTypes={beat:ue.bool,border:ue.bool,beatFade:ue.bool,bounce:ue.bool,className:ue.string,fade:ue.bool,flash:ue.bool,mask:ue.oneOfType([ue.object,ue.array,ue.string]),maskId:ue.string,fixedWidth:ue.bool,inverse:ue.bool,flip:ue.oneOf([!0,!1,"horizontal","vertical","both"]),icon:ue.oneOfType([ue.object,ue.array,ue.string]),listItem:ue.bool,pull:ue.oneOf(["right","left"]),pulse:ue.bool,rotation:ue.oneOf([0,90,180,270]),shake:ue.bool,size:ue.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:ue.bool,spinPulse:ue.bool,spinReverse:ue.bool,symbol:ue.oneOfType([ue.bool,ue.string]),title:ue.string,titleId:ue.string,transform:ue.oneOfType([ue.string,ue.object]),swapOpacity:ue.bool};co.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var cI=ty.bind(null,Z.createElement);function fI({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{fillRule:"evenodd",d:"M11.03 3.97a.75.75 0 010 1.06l-6.22 6.22H21a.75.75 0 010 1.5H4.81l6.22 6.22a.75.75 0 11-1.06 1.06l-7.5-7.5a.75.75 0 010-1.06l7.5-7.5a.75.75 0 011.06 0z",clipRule:"evenodd"}))}const dI=pe(fI),dR=dI;function pI({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zm13.36-1.814a.75.75 0 10-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 00-1.06 1.06l2.25 2.25a.75.75 0 001.14-.094l3.75-5.25z",clipRule:"evenodd"}))}const hI=pe(pI),pR=hI;function vI({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{fillRule:"evenodd",d:"M7.72 12.53a.75.75 0 010-1.06l7.5-7.5a.75.75 0 111.06 1.06L9.31 12l6.97 6.97a.75.75 0 11-1.06 1.06l-7.5-7.5z",clipRule:"evenodd"}))}const mI=pe(vI),hR=mI;function yI({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{d:"M11.47 3.84a.75.75 0 011.06 0l8.69 8.69a.75.75 0 101.06-1.06l-8.689-8.69a2.25 2.25 0 00-3.182 0l-8.69 8.69a.75.75 0 001.061 1.06l8.69-8.69z"}),F("path",{d:"M12 5.432l8.159 8.159c.03.03.06.058.091.086v6.198c0 1.035-.84 1.875-1.875 1.875H15a.75.75 0 01-.75-.75v-4.5a.75.75 0 00-.75-.75h-3a.75.75 0 00-.75.75V21a.75.75 0 01-.75.75H5.625a1.875 1.875 0 01-1.875-1.875v-6.198a2.29 2.29 0 00.091-.086L12 5.43z"}))}const gI=pe(yI),vR=gI;function bI({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zm8.706-1.442c1.146-.573 2.437.463 2.126 1.706l-.709 2.836.042-.02a.75.75 0 01.67 1.34l-.04.022c-1.147.573-2.438-.463-2.127-1.706l.71-2.836-.042.02a.75.75 0 11-.671-1.34l.041-.022zM12 9a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"}))}const _I=pe(bI),mR=_I;function wI({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{fillRule:"evenodd",d:"M10.5 3.75a6.75 6.75 0 100 13.5 6.75 6.75 0 000-13.5zM2.25 10.5a8.25 8.25 0 1114.59 5.28l4.69 4.69a.75.75 0 11-1.06 1.06l-4.69-4.69A8.25 8.25 0 012.25 10.5z",clipRule:"evenodd"}))}const EI=pe(wI),yR=EI;function SI({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{d:"M21.731 2.269a2.625 2.625 0 00-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 000-3.712zM19.513 8.199l-3.712-3.712-12.15 12.15a5.25 5.25 0 00-1.32 2.214l-.8 2.685a.75.75 0 00.933.933l2.685-.8a5.25 5.25 0 002.214-1.32L19.513 8.2z"}))}const OI=pe(SI),gR=OI;function PI({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25zM12.75 9a.75.75 0 00-1.5 0v2.25H9a.75.75 0 000 1.5h2.25V15a.75.75 0 001.5 0v-2.25H15a.75.75 0 000-1.5h-2.25V9z",clipRule:"evenodd"}))}const AI=pe(PI),bR=AI;function TI({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{fillRule:"evenodd",d:"M10.788 3.21c.448-1.077 1.976-1.077 2.424 0l2.082 5.007 5.404.433c1.164.093 1.636 1.545.749 2.305l-4.117 3.527 1.257 5.273c.271 1.136-.964 2.033-1.96 1.425L12 18.354 7.373 21.18c-.996.608-2.231-.29-1.96-1.425l1.257-5.273-4.117-3.527c-.887-.76-.415-2.212.749-2.305l5.404-.433 2.082-5.006z",clipRule:"evenodd"}))}const CI=pe(TI),_R=CI;function II({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25zm-1.72 6.97a.75.75 0 10-1.06 1.06L10.94 12l-1.72 1.72a.75.75 0 101.06 1.06L12 13.06l1.72 1.72a.75.75 0 101.06-1.06L13.06 12l1.72-1.72a.75.75 0 10-1.06-1.06L12 10.94l-1.72-1.72z",clipRule:"evenodd"}))}const LI=pe(II),wR=LI;function RI({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{fillRule:"evenodd",d:"M5.47 5.47a.75.75 0 011.06 0L12 10.94l5.47-5.47a.75.75 0 111.06 1.06L13.06 12l5.47 5.47a.75.75 0 11-1.06 1.06L12 13.06l-5.47 5.47a.75.75 0 01-1.06-1.06L10.94 12 5.47 6.53a.75.75 0 010-1.06z",clipRule:"evenodd"}))}const kI=pe(RI),ER=kI;function ry(e,t=!1,n,r=n.polyfill("FormData",!0,!0),i=[]){return Object.entries(e).forEach(([a,o])=>{let u=i.reduce((s,c)=>s?`${s}[${c}]`:c,null);if(u=u?`${u}[${a}]`:a,o instanceof Array||globalThis.FileList&&o instanceof FileList)for(const s of o)r.append(u,s);else t&&typeof o=="object"&&(!(t instanceof Array)||!t.includes(a))?o!==null&&ry(o,t,n,r,[...i,a]):r.append(u,o)}),r}const NI={wretch:{formData(e,t=!1){return this.body(ry(e,t,this._config))}}},SR=NI;var MI={},tt={};Object.defineProperty(tt,"__esModule",{value:!0});tt.AnonymousSelectKey=tt.Select=tt.Not=tt.Guard=tt.PatternKind=void 0;tt.PatternKind=Symbol("@ts-pattern/pattern-kind");tt.Guard=Symbol("@ts-pattern/guard");tt.Not=Symbol("@ts-pattern/not");tt.Select=Symbol("@ts-pattern/select");tt.AnonymousSelectKey="@ts-pattern/__anonymous-select-key";var Ul={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.instanceOf=e.select=e.not=e.when=void 0;const t=tt,n=u=>({[t.PatternKind]:t.Guard,[t.Guard]:u});e.when=n;const r=u=>({[t.PatternKind]:t.Not,[t.Not]:u});e.not=r;function i(u){return u===void 0?{[t.PatternKind]:t.Select,[t.Select]:t.AnonymousSelectKey}:{[t.PatternKind]:t.Select,[t.Select]:u}}e.select=i;function a(u){return s=>s instanceof u}const o=u=>(0,e.when)(a(u));e.instanceOf=o})(Ul);var fo={};Object.defineProperty(fo,"__esModule",{value:!0});fo.__=void 0;const Lr=Ul;function DI(e){return!0}function $I(e){return typeof e=="number"}function jI(e){return Number.isNaN(e)}function BI(e){return typeof e=="string"}function FI(e){return typeof e=="boolean"}function UI(e){return e==null}const xI=(0,Lr.when)(DI),HI=(0,Lr.when)(BI),KI=(0,Lr.when)($I),WI=(0,Lr.when)(jI),zI=(0,Lr.when)(FI),qI=(0,Lr.when)(UI);fo.__=Object.assign(xI,{string:HI,number:KI,NaN:WI,boolean:zI,nullish:qI});(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isMatching=e.match=e.instanceOf=e.select=e.not=e.when=e.__=void 0;const t=tt,n=Ul;Object.defineProperty(e,"when",{enumerable:!0,get:function(){return n.when}}),Object.defineProperty(e,"not",{enumerable:!0,get:function(){return n.not}}),Object.defineProperty(e,"select",{enumerable:!0,get:function(){return n.select}}),Object.defineProperty(e,"instanceOf",{enumerable:!0,get:function(){return n.instanceOf}});const r=fo;Object.defineProperty(e,"__",{enumerable:!0,get:function(){return r.__}});const i=d=>a(d,[]);e.match=i;const a=(d,h)=>{const v=()=>{const p=h.find(({test:_})=>_(d));if(!p){let _;try{_=JSON.stringify(d)}catch{_=d}throw new Error(`Pattern matching error: no pattern matches value ${_}`)}return p.handler(p.select(d),d)};return{with(...p){const _=p[p.length-1],g=[],y=[];for(let E=0;E<p.length-1;E++){const O=p[E];typeof O=="function"?y.push(O):g.push(O)}let m={};const b=E=>!!(g.some(O=>f(O,E,(S,w)=>{m[S]=w}))&&y.every(O=>O(E)));return a(d,h.concat([{test:b,handler:_,select:E=>Object.keys(m).length?t.AnonymousSelectKey in m?m[t.AnonymousSelectKey]:m:E}]))},when:(p,_)=>a(d,h.concat([{test:p,handler:_,select:g=>g}])),otherwise:p=>a(d,h.concat([{test:()=>!0,handler:p,select:_=>_}])).run(),exhaustive:()=>v(),run:v}},o=d=>!!(d&&typeof d=="object"),u=d=>{const h=d;return h&&h[t.PatternKind]===t.Guard},s=d=>{const h=d;return h&&h[t.PatternKind]===t.Not},c=d=>{const h=d;return h&&h[t.PatternKind]===t.Select},f=(d,h,v)=>{if(o(d)){if(u(d))return!!d[t.Guard](h);if(c(d))return v(d[t.Select],h),!0;if(s(d))return!f(d[t.Not],h,v);if(!o(h))return!1;if(Array.isArray(d)){if(!Array.isArray(h))return!1;if(d.length===1){const p={},_=(y,m)=>{p[y]=(p[y]||[]).concat([m])},g=h.every(y=>f(d[0],y,_));return g&&Object.keys(p).forEach(y=>v(y,p[y])),g}return d.length===h.length?d.every((p,_)=>f(p,h[_],v)):!1}if(d instanceof Map)return h instanceof Map?[...d.keys()].every(p=>f(d.get(p),h.get(p),v)):!1;if(d instanceof Set){if(!(h instanceof Set))return!1;if(d.size===0)return h.size===0;if(d.size===1){const[p]=[...d.values()];return Object.values(r.__).includes(p)?f([p],[...h.values()],v):h.has(p)}return[...d.values()].every(p=>h.has(p))}return Object.keys(d).every(p=>p in h&&f(d[p],h[p],v))}return h===d};function l(...d){if(d.length===1){const[h]=d;return v=>f(h,v,()=>{})}if(d.length===2){const[h,v]=d;return f(h,v,()=>{})}throw new Error(`isMatching wasn't given enough arguments: expected 1 or 2, received ${d.length}.`)}e.isMatching=l})(MI);var iy={exports:{}};(function(e,t){(function(n,r){e.exports=r(ym)})(J,function(n){return function(){var r={378:function(u){u.exports=function s(c,f){if(c===f)return!0;if(c&&f&&typeof c=="object"&&typeof f=="object"){if(c.constructor!==f.constructor)return!1;var l,d,h;if(Array.isArray(c)){if((l=c.length)!=f.length)return!1;for(d=l;d--!=0;)if(!s(c[d],f[d]))return!1;return!0}if(c.constructor===RegExp)return c.source===f.source&&c.flags===f.flags;if(c.valueOf!==Object.prototype.valueOf)return c.valueOf()===f.valueOf();if(c.toString!==Object.prototype.toString)return c.toString()===f.toString();if((l=(h=Object.keys(c)).length)!==Object.keys(f).length)return!1;for(d=l;d--!=0;)if(!Object.prototype.hasOwnProperty.call(f,h[d]))return!1;for(d=l;d--!=0;){var v=h[d];if(!s(c[v],f[v]))return!1}return!0}return c!=c&&f!=f}},145:function(u,s,c){c.r(s),s.default='@keyframes spin{to{transform:rotate(360deg)}}.tf-v1-popover{bottom:96px;position:fixed;right:16px;z-index:10001}.tf-v1-popover.open{max-width:100%;min-height:360px;min-width:360px}.tf-v1-popover-wrapper{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;opacity:0;transition:opacity .25s ease-in-out;border-radius:4px;box-shadow:rgba(0,0,0,.08) 0 2px 4px,rgba(0,0,0,.06) 0 2px 12px}.tf-v1-popover-wrapper iframe{width:100%;height:100%;border:none;overflow:hidden;border-radius:8px}.tf-v1-popover-close{display:none}.tf-v1-popover-button{width:54px;height:54px;position:fixed;box-shadow:0 2px 12px rgba(0,0,0,.06),0 2px 4px rgba(0,0,0,.08);color:#fff;right:26px;bottom:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;background:#3a7685;line-height:0;border:none;padding:0}.tf-v1-popover-button-icon{width:54px;height:54px;font-size:24px;border-radius:50%;overflow:hidden;display:flex;justify-content:center;align-items:center}.tf-v1-popover-button-icon svg.default{margin-top:6px}.tf-v1-popover-button-icon svg,.tf-v1-popover-button-icon img{max-width:54px;max-height:54px}.tf-v1-popover-button-icon img{width:100%;height:100%;object-fit:cover;border-radius:50%}.tf-v1-popover-tooltip{position:fixed;right:94px;bottom:33px;max-width:240px;padding:10px 25px 10px 10px;border-radius:8px;background:#fff;box-shadow:0 2px 4px rgba(0,0,0,.08),0 2px 12px rgba(0,0,0,.06);font-size:14px;font-family:Helvetica,Arial,sans-serif;line-height:22px}.tf-v1-popover-tooltip::before{background-color:#fff;content:"";display:block;width:12px;height:12px;position:absolute;right:-4px;bottom:15px;transform:rotate(45deg);box-shadow:2px -2px 2px 0 rgba(0,0,0,.06)}.tf-v1-popover-tooltip-text{overflow:hidden}.tf-v1-popover-tooltip-close{color:rgba(0,0,0,.2);cursor:pointer;margin-left:4px;display:inline-block;width:20px;height:20px;font-size:18px;text-align:center;position:absolute;top:8px;right:6px}.tf-v1-popover-tooltip-close:hover{color:rgba(0,0,0,.3)}.tf-v1-popover-tooltip.closing{transition:opacity .25s ease-in-out;opacity:0}.tf-v1-popover-unread-dot{width:8px;height:8px;border-radius:50%;background-color:#fa6b05;border:2px solid #fff;position:absolute;top:2px;right:2px}.tf-v1-popover-unread-dot.closing{transition:opacity .25s ease-in-out;opacity:0}.tf-v1-spinner{border:3px solid #aaa;font-size:40px;width:1em;height:1em;border-radius:.5em;box-sizing:border-box;animation:spin 1s linear infinite;border-top-color:#fff;position:absolute;top:50%;left:50%;margin:-20px 0 0 -20px}@media(max-width: 480px){.tf-v1-popover.open{top:0;left:0;bottom:0;right:0;width:100% !important;height:100% !important}.tf-v1-popover.open .tf-v1-popover-close{display:block}.tf-v1-popover-wrapper{border-radius:0;box-shadow:none}.tf-v1-popover-wrapper iframe{border-radius:0}.tf-v1-popover-close{display:block;padding:0;margin:0;position:absolute;font-size:32px;font-weight:normal;line-height:24px;width:24px;height:24px;text-align:center;text-transform:none;cursor:pointer;opacity:.75;transition:opacity .25s ease-in-out;text-decoration:none;color:#000;top:6px;right:8px;background:none;border:none;border-radius:0;z-index:1;opacity:0}.tf-v1-popover-close:hover{opacity:1}}@media(max-width: 480px)and (min-width: 481px){.tf-v1-popover-close{color:#fff !important}}@media(max-width: 480px){.tf-v1-popover-button{width:44px;height:44px;right:8px;bottom:8px}.tf-v1-popover-button-icon{font-size:20px}.tf-v1-popover-button-icon svg{margin-top:4px;max-height:24px;max-width:24px}.tf-v1-popover-button-icon img{max-width:44px;max-height:44px}.tf-v1-popover-tooltip{position:fixed;right:66px;bottom:8px;left:auto;font-size:12px}.tf-v1-popover-tooltip::before{bottom:14px}.tf-v1-popover-unread-dot{top:0;right:0}.tf-v1-spinner{border:3px solid #aaa;font-size:32px;width:1em;height:1em;border-radius:.5em;box-sizing:border-box;animation:spin 1s linear infinite;border-top-color:#fff;position:absolute;top:50%;left:50%;margin:-16px 0 0 -16px}}'},792:function(u,s,c){c.r(s),s.default="@keyframes spin{to{transform:rotate(360deg)}}.tf-v1-popup{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.75);transition:opacity .25s ease-in-out;z-index:10001;display:flex;align-items:center;justify-content:center}.tf-v1-popup .tf-v1-iframe-wrapper{position:relative;transition:opacity .25s ease-in-out;min-width:360px;min-height:360px}.tf-v1-popup .tf-v1-iframe-wrapper iframe{width:100%;height:100%;border:none;overflow:hidden;border-radius:8px}.tf-v1-popup .tf-v1-close{display:block;padding:0;margin:0;position:absolute;font-size:32px;font-weight:normal;line-height:24px;width:24px;height:24px;text-align:center;text-transform:none;cursor:pointer;opacity:.75;transition:opacity .25s ease-in-out;text-decoration:none;color:#000;top:-34px;right:0;background:none;border:none;border-radius:0}.tf-v1-popup .tf-v1-close:hover{opacity:1}@media(min-width: 481px){.tf-v1-popup .tf-v1-close{color:#fff !important}}.tf-v1-popup .tf-v1-spinner{border:3px solid #aaa;font-size:40px;width:1em;height:1em;border-radius:.5em;box-sizing:border-box;animation:spin 1s linear infinite;border-top-color:#fff;position:absolute;top:50%;left:50%;margin:-20px 0 0 -20px}@media(max-width: 480px){.tf-v1-popup{width:100% !important;height:100% !important}.tf-v1-popup .tf-v1-iframe-wrapper{position:relative;transition:opacity .25s ease-in-out;min-width:100%;min-height:100%}.tf-v1-popup .tf-v1-iframe-wrapper iframe{border-radius:0}.tf-v1-popup .tf-v1-close{display:block;padding:0;margin:0;position:absolute;font-size:32px;font-weight:normal;line-height:24px;width:24px;height:24px;text-align:center;text-transform:none;cursor:pointer;opacity:.75;transition:opacity .25s ease-in-out;text-decoration:none;color:#000;top:6px;right:8px;background:none;border:none;border-radius:0}.tf-v1-popup .tf-v1-close:hover{opacity:1}}@media(max-width: 480px)and (min-width: 481px){.tf-v1-popup .tf-v1-close{color:#fff !important}}"},838:function(u,s,c){c.r(s),s.default="@keyframes spin{to{transform:rotate(360deg)}}.tf-v1-sidetab{position:fixed;top:50%;right:0;width:400px;height:580px;transform:translate(100%, -50%);box-shadow:0 2px 4px rgba(0,0,0,.08),0 2px 12px rgba(0,0,0,.06);z-index:10001;will-change:transform}.tf-v1-sidetab.ready{transition:transform 400ms cubic-bezier(0.5, 0, 0.75, 0)}.tf-v1-sidetab iframe{width:100%;height:100%;border:none;overflow:hidden;border-radius:8px 0 0 8px}.tf-v1-sidetab.open{transform:translate(0, -50%)}.tf-v1-sidetab-wrapper{position:relative;height:100%}.tf-v1-sidetab-button{position:absolute;top:50%;left:-48px;transform:rotate(-90deg) translateX(-50%);transform-origin:left top;min-width:100px;max-width:540px;height:48px;display:flex;align-items:center;padding:12px 16px;border-radius:8px 8px 0 0;color:#fff;box-shadow:0 2px 4px rgba(0,0,0,.08),0 2px 12px rgba(0,0,0,.06);background-color:#3a7685;cursor:pointer;border:0;text-decoration:none;outline:none}.tf-v1-sidetab-button-text{flex:1;font-size:18px;font-family:Helvetica,Arial,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tf-v1-sidetab-button-icon{width:24px;height:24px;font-size:24px;transform:rotate(90deg);margin-right:12px;position:relative;order:-1}.tf-v1-sidetab-button-icon>img{width:100%;height:100%;object-fit:contain}.tf-v1-sidetab-close{display:none}.tf-v1-sidetab .tf-v1-spinner{border:3px solid #aaa;font-size:24px;width:1em;height:1em;border-radius:.5em;box-sizing:border-box;animation:spin 1s linear infinite;border-top-color:#fff;position:absolute;top:50%;left:50%;margin:-12px 0 0 -12px;top:0;left:0;margin:0}@media(max-width: 480px){.tf-v1-sidetab{transition:unset}.tf-v1-sidetab.ready{transition:unset}.tf-v1-sidetab.open{top:0;left:0;right:0;bottom:0;transform:translate(0, 0);width:100% !important;height:100% !important}.tf-v1-sidetab-close{display:block;padding:0;margin:0;position:absolute;font-size:32px;font-weight:normal;line-height:24px;width:24px;height:24px;text-align:center;text-transform:none;cursor:pointer;opacity:.75;transition:opacity .25s ease-in-out;text-decoration:none;color:#000;top:6px;right:8px;background:none;border:none;border-radius:0;display:block;z-index:1}.tf-v1-sidetab-close:hover{opacity:1}}@media(max-width: 480px)and (min-width: 481px){.tf-v1-sidetab-close{color:#fff !important}}"},630:function(u,s,c){c.r(s),s.default="@keyframes spin{to{transform:rotate(360deg)}}.tf-v1-slider{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.75);transition:opacity .25s ease-in-out;z-index:10001}.tf-v1-slider .tf-v1-iframe-wrapper{max-width:calc(100vw - 26px);height:100%;position:absolute;top:0;transition:right .5s ease-in-out,left .5s ease-in-out}.tf-v1-slider .tf-v1-iframe-wrapper iframe{width:100%;height:100%;border:none;overflow:hidden;border-radius:0}@media(min-width: 481px){.tf-v1-slider .tf-v1-iframe-wrapper iframe{border-radius:8px 0 0 8px}}.tf-v1-slider .tf-v1-close{display:block;padding:0;margin:0;position:absolute;font-size:32px;font-weight:normal;line-height:24px;width:24px;height:24px;text-align:center;text-transform:none;cursor:pointer;opacity:.75;transition:opacity .25s ease-in-out;text-decoration:none;color:#000;top:6px;right:8px;background:none;border:none;border-radius:0}.tf-v1-slider .tf-v1-close:hover{opacity:1}@media(min-width: 481px){.tf-v1-slider .tf-v1-close{color:#fff !important}}@media(min-width: 481px){.tf-v1-slider .tf-v1-close{top:4px;left:-26px}}.tf-v1-slider .tf-v1-close:hover{opacity:1}.tf-v1-slider .tf-v1-spinner{border:3px solid #aaa;font-size:40px;width:1em;height:1em;border-radius:.5em;box-sizing:border-box;animation:spin 1s linear infinite;border-top-color:#fff;position:absolute;top:50%;left:50%;margin:-20px 0 0 -20px}@media(min-width: 481px){.tf-v1-slider.left .tf-v1-iframe-wrapper iframe{border-radius:0 8px 8px 0}.tf-v1-slider.left .tf-v1-close{left:auto;right:-24px}}@media(max-width: 480px){.tf-v1-slider{width:100% !important;height:100% !important}.tf-v1-slider .tf-v1-iframe-wrapper{width:100% !important;max-width:100vw;height:100%;transition:unset}.tf-v1-slider .tf-v1-iframe-wrapper iframe{border-radius:none}.tf-v1-slider .tf-v1-close{display:block;padding:0;margin:0;position:absolute;font-size:32px;font-weight:normal;line-height:24px;width:24px;height:24px;text-align:center;text-transform:none;cursor:pointer;opacity:.75;transition:opacity .25s ease-in-out;text-decoration:none;color:#000;top:6px;right:8px;background:none;border:none;border-radius:0;left:auto}.tf-v1-slider .tf-v1-close:hover{opacity:1}}@media(max-width: 480px)and (min-width: 481px){.tf-v1-slider .tf-v1-close{color:#fff !important}}"},684:function(u,s,c){c.r(s),s.default=".tf-v1-widget{width:100%;height:100%;min-height:inherit;position:relative}.tf-v1-widget iframe{width:100%;height:100%;border:none;overflow:hidden;border-radius:8px;min-height:inherit}.tf-v1-widget-close{display:none}.tf-v1-widget-iframe-overlay{width:100%;height:100%;border:none;overflow:hidden;border-radius:8px;position:absolute;top:0;left:0}.tf-v1-widget-fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10001;width:100% !important;height:100% !important}.tf-v1-widget-fullscreen .tf-v1-widget-close{display:block;display:block;padding:0;margin:0;position:absolute;font-size:32px;font-weight:normal;line-height:24px;width:24px;height:24px;text-align:center;text-transform:none;cursor:pointer;opacity:.75;transition:opacity .25s ease-in-out;text-decoration:none;color:#000;top:6px;right:8px;background:none;border:none;border-radius:0;z-index:1}.tf-v1-widget-fullscreen .tf-v1-widget-close:hover{opacity:1}@media(min-width: 481px){.tf-v1-widget-fullscreen .tf-v1-widget-close{color:#fff !important}}.tf-v1-widget-fullscreen iframe{border-radius:0}"},281:function(u,s,c){var f=this&&this.__createBinding||(Object.create?function(d,h,v,p){p===void 0&&(p=v);var _=Object.getOwnPropertyDescriptor(h,v);_&&!("get"in _?!h.__esModule:_.writable||_.configurable)||(_={enumerable:!0,get:function(){return h[v]}}),Object.defineProperty(d,p,_)}:function(d,h,v,p){p===void 0&&(p=v),d[p]=h[v]}),l=this&&this.__exportStar||function(d,h){for(var v in d)v==="default"||Object.prototype.hasOwnProperty.call(h,v)||f(h,d,v)};Object.defineProperty(s,"__esModule",{value:!0}),l(c(11),s),l(c(739),s),l(c(860),s)},794:function(u,s,c){var f=this&&this.__assign||function(){return f=Object.assign||function(v){for(var p,_=1,g=arguments.length;_<g;_++)for(var y in p=arguments[_])Object.prototype.hasOwnProperty.call(p,y)&&(v[y]=p[y]);return v},f.apply(this,arguments)},l=this&&this.__importDefault||function(v){return v&&v.__esModule?v:{default:v}};Object.defineProperty(s,"__esModule",{value:!0}),s.InlineStyle=void 0;var d=l(c(156)),h=l(c(52));s.InlineStyle=function(v){var p=v.filename,_=c(367)("./".concat(p,".css")),g=(0,h.default)();return d.default.createElement("style",f({},g?{nonce:g}:{}),_.default)}},11:function(u,s,c){var f=this&&this.__assign||function(){return f=Object.assign||function(g){for(var y,m=1,b=arguments.length;m<b;m++)for(var E in y=arguments[m])Object.prototype.hasOwnProperty.call(y,E)&&(g[E]=y[E]);return g},f.apply(this,arguments)},l=this&&this.__createBinding||(Object.create?function(g,y,m,b){b===void 0&&(b=m);var E=Object.getOwnPropertyDescriptor(y,m);E&&!("get"in E?!y.__esModule:E.writable||E.configurable)||(E={enumerable:!0,get:function(){return y[m]}}),Object.defineProperty(g,b,E)}:function(g,y,m,b){b===void 0&&(b=m),g[b]=y[m]}),d=this&&this.__setModuleDefault||(Object.create?function(g,y){Object.defineProperty(g,"default",{enumerable:!0,value:y})}:function(g,y){g.default=y}),h=this&&this.__importStar||function(g){if(g&&g.__esModule)return g;var y={};if(g!=null)for(var m in g)m!=="default"&&Object.prototype.hasOwnProperty.call(g,m)&&l(y,g,m);return d(y,g),y},v=this&&this.__rest||function(g,y){var m={};for(var b in g)Object.prototype.hasOwnProperty.call(g,b)&&y.indexOf(b)<0&&(m[b]=g[b]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function"){var E=0;for(b=Object.getOwnPropertySymbols(g);E<b.length;E++)y.indexOf(b[E])<0&&Object.prototype.propertyIsEnumerable.call(g,b[E])&&(m[b[E]]=g[b[E]])}return m};Object.defineProperty(s,"__esModule",{value:!0}),s.makeButtonComponent=s.emptyEmbed=void 0;var p=h(c(156)),_=c(794);s.emptyEmbed={unmount:function(){},open:function(){}},s.makeButtonComponent=function(g,y){return p.default.forwardRef(function(m,b){var E=m.id,O=m.children,S=m.as,w=S===void 0?"button":S,P=m.style,A=P===void 0?{}:P,L=m.className,D=L===void 0?"":L,j=m.buttonProps,I=v(m,["id","children","as","style","className","buttonProps"]),C=(0,p.useRef)(s.emptyEmbed),R=b||C;(0,p.useEffect)(function(){return R.current=g(E,I),function(){return R.current.unmount()}},[E,I,R]);var $=(0,p.useMemo)(function(){return function(){return R.current.open()}},[R]),B=p.default.createElement(w,f({style:A,className:D,onClick:$,"data-testid":"tf-v1-".concat(y),children:O},j));return p.default.createElement(p.default.Fragment,null,p.default.createElement(_.InlineStyle,{filename:y}),B)})}},739:function(u,s,c){var f=this&&this.__createBinding||(Object.create?function(g,y,m,b){b===void 0&&(b=m);var E=Object.getOwnPropertyDescriptor(y,m);E&&!("get"in E?!y.__esModule:E.writable||E.configurable)||(E={enumerable:!0,get:function(){return y[m]}}),Object.defineProperty(g,b,E)}:function(g,y,m,b){b===void 0&&(b=m),g[b]=y[m]}),l=this&&this.__setModuleDefault||(Object.create?function(g,y){Object.defineProperty(g,"default",{enumerable:!0,value:y})}:function(g,y){g.default=y}),d=this&&this.__importStar||function(g){if(g&&g.__esModule)return g;var y={};if(g!=null)for(var m in g)m!=="default"&&Object.prototype.hasOwnProperty.call(g,m)&&f(y,g,m);return l(y,g),y},h=this&&this.__rest||function(g,y){var m={};for(var b in g)Object.prototype.hasOwnProperty.call(g,b)&&y.indexOf(b)<0&&(m[b]=g[b]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function"){var E=0;for(b=Object.getOwnPropertySymbols(g);E<b.length;E++)y.indexOf(b[E])<0&&Object.prototype.propertyIsEnumerable.call(g,b[E])&&(m[b[E]]=g[b[E]])}return m};Object.defineProperty(s,"__esModule",{value:!0}),s.makeInitializerComponent=void 0;var v=d(c(156)),p=c(794),_={unmount:function(){}};s.makeInitializerComponent=function(g,y){return v.default.forwardRef(function(m,b){var E=m.id,O=h(m,["id"]),S=(0,v.useRef)(_),w=b||S;return(0,v.useEffect)(function(){return w.current=g(E,O),function(){w.current.unmount()}},[E,O,w]),v.default.createElement(p.InlineStyle,{filename:y})})}},860:function(u,s,c){var f=this&&this.__assign||function(){return f=Object.assign||function(y){for(var m,b=1,E=arguments.length;b<E;b++)for(var O in m=arguments[b])Object.prototype.hasOwnProperty.call(m,O)&&(y[O]=m[O]);return y},f.apply(this,arguments)},l=this&&this.__createBinding||(Object.create?function(y,m,b,E){E===void 0&&(E=b);var O=Object.getOwnPropertyDescriptor(m,b);O&&!("get"in O?!m.__esModule:O.writable||O.configurable)||(O={enumerable:!0,get:function(){return m[b]}}),Object.defineProperty(y,E,O)}:function(y,m,b,E){E===void 0&&(E=b),y[E]=m[b]}),d=this&&this.__setModuleDefault||(Object.create?function(y,m){Object.defineProperty(y,"default",{enumerable:!0,value:m})}:function(y,m){y.default=m}),h=this&&this.__importStar||function(y){if(y&&y.__esModule)return y;var m={};if(y!=null)for(var b in y)b!=="default"&&Object.prototype.hasOwnProperty.call(y,b)&&l(m,y,b);return d(m,y),m},v=this&&this.__rest||function(y,m){var b={};for(var E in y)Object.prototype.hasOwnProperty.call(y,E)&&m.indexOf(E)<0&&(b[E]=y[E]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function"){var O=0;for(E=Object.getOwnPropertySymbols(y);O<E.length;O++)m.indexOf(E[O])<0&&Object.prototype.propertyIsEnumerable.call(y,E[O])&&(b[E[O]]=y[E[O]])}return b};Object.defineProperty(s,"__esModule",{value:!0}),s.Widget=void 0;var p=h(c(156)),_=c(611),g=c(794);s.Widget=function(y){var m=y.id,b=y.style,E=b===void 0?{}:b,O=y.className,S=O===void 0?"":O,w=v(y,["id","style","className"]),P=(0,p.useRef)(null);return(0,p.useEffect)(function(){if(P.current){var A=(0,_.createWidget)(m,f(f({},w),{container:P.current}));return function(){A.unmount()}}},[m,w]),p.default.createElement(p.default.Fragment,null,p.default.createElement(g.InlineStyle,{filename:"widget"}),p.default.createElement("div",{style:E,className:S,ref:P}))}},797:function(u,s,c){var f=this&&this.__createBinding||(Object.create?function(d,h,v,p){p===void 0&&(p=v);var _=Object.getOwnPropertyDescriptor(h,v);_&&!("get"in _?!h.__esModule:_.writable||_.configurable)||(_={enumerable:!0,get:function(){return h[v]}}),Object.defineProperty(d,p,_)}:function(d,h,v,p){p===void 0&&(p=v),d[p]=h[v]}),l=this&&this.__exportStar||function(d,h){for(var v in d)v==="default"||Object.prototype.hasOwnProperty.call(h,v)||f(h,d,v)};Object.defineProperty(s,"__esModule",{value:!0}),l(c(553),s)},553:function(u,s,c){var f=this&&this.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(s,"__esModule",{value:!0}),s.memoComponent=s.propsAreEqual=void 0;var l=c(156),d=f(c(378));s.propsAreEqual=function(h,v){return(0,d.default)(h,v)},s.memoComponent=function(h){return(0,l.memo)(h,s.propsAreEqual)}},52:function(u,s,c){Object.defineProperty(s,"__esModule",{value:!0}),s.default=function(){return c.g.__webpack_nonce__!==void 0?c.g.__webpack_nonce__:null}},367:function(u,s,c){var f={"./popover.css":145,"./popup.css":792,"./sidetab.css":838,"./slider.css":630,"./widget.css":684};function l(h){var v=d(h);return c(v)}function d(h){if(!c.o(f,h)){var v=new Error("Cannot find module '"+h+"'");throw v.code="MODULE_NOT_FOUND",v}return f[h]}l.keys=function(){return Object.keys(f)},l.resolve=d,u.exports=l,l.id=367},611:function(u){u.exports=function(){var s={8027:function(f,l){Object.defineProperty(l,"__esModule",{value:!0}),l.DEFAULT_DOMAIN=l.POPUP_SIZE=l.SLIDER_WIDTH=l.SLIDER_POSITION=l.LIVE_EMBED_ATTRIBUTE=l.SIDETAB_ATTRIBUTE=l.WIDGET_ATTRIBUTE=l.SLIDER_ATTRIBUTE=l.POPUP_ATTRIBUTE=l.POPOVER_ATTRIBUTE=void 0,l.POPOVER_ATTRIBUTE="data-tf-popover",l.POPUP_ATTRIBUTE="data-tf-popup",l.SLIDER_ATTRIBUTE="data-tf-slider",l.WIDGET_ATTRIBUTE="data-tf-widget",l.SIDETAB_ATTRIBUTE="data-tf-sidetab",l.LIVE_EMBED_ATTRIBUTE="data-tf-live",l.SLIDER_POSITION="right",l.SLIDER_WIDTH=800,l.POPUP_SIZE=100,l.DEFAULT_DOMAIN="form.typeform.com"},7528:function(f,l,d){var h=this&&this.__assign||function(){return h=Object.assign||function(b){for(var E,O=1,S=arguments.length;O<S;O++)for(var w in E=arguments[O])Object.prototype.hasOwnProperty.call(E,w)&&(b[w]=E[w]);return b},h.apply(this,arguments)},v=this&&this.__rest||function(b,E){var O={};for(var S in b)Object.prototype.hasOwnProperty.call(b,S)&&E.indexOf(S)<0&&(O[S]=b[S]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function"){var w=0;for(S=Object.getOwnPropertySymbols(b);w<S.length;w++)E.indexOf(S[w])<0&&Object.prototype.propertyIsEnumerable.call(b,S[w])&&(O[S[w]]=b[S[w]])}return O};Object.defineProperty(l,"__esModule",{value:!0}),l.createPopover=void 0;var p=d(6797),_=d(1320),g=function(b,E){var O=b.parentNode;O&&(O.removeChild(b),O.appendChild(E))},y=function(b,E){b===void 0&&(b="span"),E===void 0&&(E="tf-v1-popover-button-icon");var O=document.createElement(b);return O.className="".concat(E," tf-v1-close-icon"),O.innerHTML="×",O.dataset.testid=E,O},m={buttonColor:"#3a7685"};l.createPopover=function(b,E){E===void 0&&(E={});var O,S,w,P=h(h({},m),E),A=P.domain,L=v(P,["domain"]),D=(0,p.createIframe)("popover",{formId:b,domain:A,options:L}),j=D.iframe,I=D.embedId,C=D.refresh,R=D.focus,$=function(te,Q){var oe=document.createElement("div");return oe.className="tf-v1-popover",oe.dataset.testid="tf-v1-popover",(0,p.setElementSize)(oe,{width:te,height:Q})}(L.width,L.height),B=function(){var te=document.createElement("div");return te.className="tf-v1-popover-wrapper",te.dataset.testid="tf-v1-popover-wrapper",te}(),Y=function(te,Q){var oe=(0,p.getTextColor)(Q),ie=document.createElement("div");ie.className="tf-v1-popover-button-icon";var ge=`<svg class="default" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
776
|
+
}`;function $m(){var e=Im,t=Lm,n=V.cssPrefix,r=V.replacementClass,i=WT;if(n!==e||r!==t){var a=new RegExp("\\.".concat(e,"\\-"),"g"),o=new RegExp("\\--".concat(e,"\\-"),"g"),u=new RegExp("\\.".concat(t),"g");i=i.replace(a,".".concat(n,"-")).replace(o,"--".concat(n,"-")).replace(u,".".concat(r))}return i}var yd=!1;function uu(){V.autoAddCss&&!yd&&(FT($m()),yd=!0)}var zT={mixout:function(){return{dom:{css:$m,insertCss:uu}}},hooks:function(){return{beforeDOMElementCreation:function(){uu()},beforeI2svg:function(){uu()}}}},Kt=fn||{};Kt[Ht]||(Kt[Ht]={});Kt[Ht].styles||(Kt[Ht].styles={});Kt[Ht].hooks||(Kt[Ht].hooks={});Kt[Ht].shims||(Kt[Ht].shims=[]);var vt=Kt[Ht],jm=[],qT=function e(){ye.removeEventListener("DOMContentLoaded",e),La=1,jm.map(function(t){return t()})},La=!1;qt&&(La=(ye.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(ye.readyState),La||ye.addEventListener("DOMContentLoaded",qT));function GT(e){qt&&(La?setTimeout(e,0):jm.push(e))}function Pi(e){var t=e.tag,n=e.attributes,r=n===void 0?{}:n,i=e.children,a=i===void 0?[]:i;return typeof e=="string"?Dm(e):"<".concat(t," ").concat(xT(r),">").concat(a.map(Pi).join(""),"</").concat(t,">")}function gd(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var VT=function(t,n){return function(r,i,a,o){return t.call(n,r,i,a,o)}},su=function(t,n,r,i){var a=Object.keys(t),o=a.length,u=i!==void 0?VT(n,i):n,s,c,f;for(r===void 0?(s=1,f=t[a[0]]):(s=0,f=r);s<o;s++)c=a[s],f=u(f,t[c],c,t);return f};function YT(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var a=e.charCodeAt(n++);(a&64512)==56320?t.push(((i&1023)<<10)+(a&1023)+65536):(t.push(i),n--)}else t.push(i)}return t}function cs(e){var t=YT(e);return t.length===1?t[0].toString(16):null}function XT(e,t){var n=e.length,r=e.charCodeAt(t),i;return r>=55296&&r<=56319&&n>t+1&&(i=e.charCodeAt(t+1),i>=56320&&i<=57343)?(r-55296)*1024+i-56320+65536:r}function bd(e){return Object.keys(e).reduce(function(t,n){var r=e[n],i=!!r.icon;return i?t[r.iconName]=r.icon:t[n]=r,t},{})}function fs(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,i=r===void 0?!1:r,a=bd(t);typeof vt.hooks.addPack=="function"&&!i?vt.hooks.addPack(e,bd(t)):vt.styles[e]=W(W({},vt.styles[e]||{}),a),e==="fas"&&fs("fa",t)}var xi,Hi,Ki,Vn=vt.styles,QT=vt.shims,JT=(xi={},$e(xi,me,Object.values(oi[me])),$e(xi,_e,Object.values(oi[_e])),xi),Ml=null,Bm={},Fm={},Um={},xm={},Hm={},ZT=(Hi={},$e(Hi,me,Object.keys(ii[me])),$e(Hi,_e,Object.keys(ii[_e])),Hi);function eC(e){return~MT.indexOf(e)}function tC(e,t){var n=t.split("-"),r=n[0],i=n.slice(1).join("-");return r===e&&i!==""&&!eC(i)?i:null}var Km=function(){var t=function(a){return su(Vn,function(o,u,s){return o[s]=su(u,a,{}),o},{})};Bm=t(function(i,a,o){if(a[3]&&(i[a[3]]=o),a[2]){var u=a[2].filter(function(s){return typeof s=="number"});u.forEach(function(s){i[s.toString(16)]=o})}return i}),Fm=t(function(i,a,o){if(i[o]=o,a[2]){var u=a[2].filter(function(s){return typeof s=="string"});u.forEach(function(s){i[s]=o})}return i}),Hm=t(function(i,a,o){var u=a[2];return i[o]=o,u.forEach(function(s){i[s]=o}),i});var n="far"in Vn||V.autoFetchSvg,r=su(QT,function(i,a){var o=a[0],u=a[1],s=a[2];return u==="far"&&!n&&(u="fas"),typeof o=="string"&&(i.names[o]={prefix:u,iconName:s}),typeof o=="number"&&(i.unicodes[o.toString(16)]={prefix:u,iconName:s}),i},{names:{},unicodes:{}});Um=r.names,xm=r.unicodes,Ml=uo(V.styleDefault,{family:V.familyDefault})};BT(function(e){Ml=uo(e.styleDefault,{family:V.familyDefault})});Km();function Dl(e,t){return(Bm[e]||{})[t]}function nC(e,t){return(Fm[e]||{})[t]}function On(e,t){return(Hm[e]||{})[t]}function Wm(e){return Um[e]||{prefix:null,iconName:null}}function rC(e){var t=xm[e],n=Dl("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function dn(){return Ml}var $l=function(){return{prefix:null,iconName:null,rest:[]}};function uo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.family,r=n===void 0?me:n,i=ii[r][e],a=ai[r][e]||ai[r][i],o=e in vt.styles?e:null;return a||o||null}var _d=(Ki={},$e(Ki,me,Object.keys(oi[me])),$e(Ki,_e,Object.keys(oi[_e])),Ki);function so(e){var t,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.skipLookups,i=r===void 0?!1:r,a=(t={},$e(t,me,"".concat(V.cssPrefix,"-").concat(me)),$e(t,_e,"".concat(V.cssPrefix,"-").concat(_e)),t),o=null,u=me;(e.includes(a[me])||e.some(function(c){return _d[me].includes(c)}))&&(u=me),(e.includes(a[_e])||e.some(function(c){return _d[_e].includes(c)}))&&(u=_e);var s=e.reduce(function(c,f){var l=tC(V.cssPrefix,f);if(Vn[f]?(f=JT[u].includes(f)?CT[u][f]:f,o=f,c.prefix=f):ZT[u].indexOf(f)>-1?(o=f,c.prefix=uo(f,{family:u})):l?c.iconName=l:f!==V.replacementClass&&f!==a[me]&&f!==a[_e]&&c.rest.push(f),!i&&c.prefix&&c.iconName){var d=o==="fa"?Wm(c.iconName):{},h=On(c.prefix,c.iconName);d.prefix&&(o=null),c.iconName=d.iconName||h||c.iconName,c.prefix=d.prefix||c.prefix,c.prefix==="far"&&!Vn.far&&Vn.fas&&!V.autoFetchSvg&&(c.prefix="fas")}return c},$l());return(e.includes("fa-brands")||e.includes("fab"))&&(s.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(s.prefix="fad"),!s.prefix&&u===_e&&(Vn.fass||V.autoFetchSvg)&&(s.prefix="fass",s.iconName=On(s.prefix,s.iconName)||s.iconName),(s.prefix==="fa"||o==="fa")&&(s.prefix=dn()||"fas"),s}var iC=function(){function e(){mT(this,e),this.definitions={}}return yT(e,[{key:"add",value:function(){for(var n=this,r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];var o=i.reduce(this._pullDefinitions,{});Object.keys(o).forEach(function(u){n.definitions[u]=W(W({},n.definitions[u]||{}),o[u]),fs(u,o[u]);var s=oi[me][u];s&&fs(s,o[u]),Km()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(n,r){var i=r.prefix&&r.iconName&&r.icon?{0:r}:r;return Object.keys(i).map(function(a){var o=i[a],u=o.prefix,s=o.iconName,c=o.icon,f=c[2];n[u]||(n[u]={}),f.length>0&&f.forEach(function(l){typeof l=="string"&&(n[u][l]=c)}),n[u][s]=c}),n}}]),e}(),wd=[],Yn={},tr={},aC=Object.keys(tr);function oC(e,t){var n=t.mixoutsTo;return wd=e,Yn={},Object.keys(tr).forEach(function(r){aC.indexOf(r)===-1&&delete tr[r]}),wd.forEach(function(r){var i=r.mixout?r.mixout():{};if(Object.keys(i).forEach(function(o){typeof i[o]=="function"&&(n[o]=i[o]),Ia(i[o])==="object"&&Object.keys(i[o]).forEach(function(u){n[o]||(n[o]={}),n[o][u]=i[o][u]})}),r.hooks){var a=r.hooks();Object.keys(a).forEach(function(o){Yn[o]||(Yn[o]=[]),Yn[o].push(a[o])})}r.provides&&r.provides(tr)}),n}function ds(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var a=Yn[e]||[];return a.forEach(function(o){t=o.apply(null,[t].concat(r))}),t}function Nn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=Yn[e]||[];i.forEach(function(a){a.apply(null,n)})}function Wt(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return tr[e]?tr[e].apply(null,t):void 0}function ps(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,n=e.prefix||dn();if(t)return t=On(n,t)||t,gd(zm.definitions,n,t)||gd(vt.styles,n,t)}var zm=new iC,uC=function(){V.autoReplaceSvg=!1,V.observeMutations=!1,Nn("noAuto")},sC={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return qt?(Nn("beforeI2svg",t),Wt("pseudoElements2svg",t),Wt("i2svg",t)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot;V.autoReplaceSvg===!1&&(V.autoReplaceSvg=!0),V.observeMutations=!0,GT(function(){cC({autoReplaceSvgRoot:n}),Nn("watch",t)})}},lC={icon:function(t){if(t===null)return null;if(Ia(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:On(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var n=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],r=uo(t[0]);return{prefix:r,iconName:On(r,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(V.cssPrefix,"-"))>-1||t.match(IT))){var i=so(t.split(" "),{skipLookups:!0});return{prefix:i.prefix||dn(),iconName:On(i.prefix,i.iconName)||i.iconName}}if(typeof t=="string"){var a=dn();return{prefix:a,iconName:On(a,t)||t}}}},ut={noAuto:uC,config:V,dom:sC,parse:lC,library:zm,findIconDefinition:ps,toHtml:Pi},cC=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,r=n===void 0?ye:n;(Object.keys(vt.styles).length>0||V.autoFetchSvg)&&qt&&V.autoReplaceSvg&&ut.dom.i2svg({node:r})};function lo(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(r){return Pi(r)})}}),Object.defineProperty(e,"node",{get:function(){if(qt){var r=ye.createElement("div");return r.innerHTML=e.html,r.children}}}),e}function fC(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,a=e.styles,o=e.transform;if(Nl(o)&&n.found&&!r.found){var u=n.width,s=n.height,c={x:u/s/2,y:.5};i.style=oo(W(W({},a),{},{"transform-origin":"".concat(c.x+o.x/16,"em ").concat(c.y+o.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}function dC(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,a=e.symbol,o=a===!0?"".concat(t,"-").concat(V.cssPrefix,"-").concat(n):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:W(W({},i),{},{id:o}),children:r}]}]}function jl(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,a=e.iconName,o=e.transform,u=e.symbol,s=e.title,c=e.maskId,f=e.titleId,l=e.extra,d=e.watchable,h=d===void 0?!1:d,v=r.found?r:n,p=v.width,_=v.height,g=i==="fak",y=[V.replacementClass,a?"".concat(V.cssPrefix,"-").concat(a):""].filter(function(P){return l.classes.indexOf(P)===-1}).filter(function(P){return P!==""||!!P}).concat(l.classes).join(" "),m={children:[],attributes:W(W({},l.attributes),{},{"data-prefix":i,"data-icon":a,class:y,role:l.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(p," ").concat(_)})},b=g&&!~l.classes.indexOf("fa-fw")?{width:"".concat(p/_*16*.0625,"em")}:{};h&&(m.attributes[kn]=""),s&&(m.children.push({tag:"title",attributes:{id:m.attributes["aria-labelledby"]||"title-".concat(f||si())},children:[s]}),delete m.attributes.title);var E=W(W({},m),{},{prefix:i,iconName:a,main:n,mask:r,maskId:c,transform:o,symbol:u,styles:W(W({},b),l.styles)}),O=r.found&&n.found?Wt("generateAbstractMask",E)||{children:[],attributes:{}}:Wt("generateAbstractIcon",E)||{children:[],attributes:{}},S=O.children,w=O.attributes;return E.children=S,E.attributes=w,u?dC(E):fC(E)}function Ed(e){var t=e.content,n=e.width,r=e.height,i=e.transform,a=e.title,o=e.extra,u=e.watchable,s=u===void 0?!1:u,c=W(W(W({},o.attributes),a?{title:a}:{}),{},{class:o.classes.join(" ")});s&&(c[kn]="");var f=W({},o.styles);Nl(i)&&(f.transform=KT({transform:i,startCentered:!0,width:n,height:r}),f["-webkit-transform"]=f.transform);var l=oo(f);l.length>0&&(c.style=l);var d=[];return d.push({tag:"span",attributes:c,children:[t]}),a&&d.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),d}function pC(e){var t=e.content,n=e.title,r=e.extra,i=W(W(W({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),a=oo(r.styles);a.length>0&&(i.style=a);var o=[];return o.push({tag:"span",attributes:i,children:[t]}),n&&o.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),o}var lu=vt.styles;function hs(e){var t=e[0],n=e[1],r=e.slice(4),i=Tl(r,1),a=i[0],o=null;return Array.isArray(a)?o={tag:"g",attributes:{class:"".concat(V.cssPrefix,"-").concat(Sn.GROUP)},children:[{tag:"path",attributes:{class:"".concat(V.cssPrefix,"-").concat(Sn.SECONDARY),fill:"currentColor",d:a[0]}},{tag:"path",attributes:{class:"".concat(V.cssPrefix,"-").concat(Sn.PRIMARY),fill:"currentColor",d:a[1]}}]}:o={tag:"path",attributes:{fill:"currentColor",d:a}},{found:!0,width:t,height:n,icon:o}}var hC={found:!1,width:512,height:512};function vC(e,t){!Rm&&!V.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function vs(e,t){var n=t;return t==="fa"&&V.styleDefault!==null&&(t=dn()),new Promise(function(r,i){if(Wt("missingIconAbstract"),n==="fa"){var a=Wm(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&lu[t]&&lu[t][e]){var o=lu[t][e];return r(hs(o))}vC(e,t),r(W(W({},hC),{},{icon:V.showMissingIcons&&e?Wt("missingIconAbstract")||{}:{}}))})}var Sd=function(){},ms=V.measurePerformance&&Di&&Di.mark&&Di.measure?Di:{mark:Sd,measure:Sd},Fr='FA "6.4.2"',mC=function(t){return ms.mark("".concat(Fr," ").concat(t," begins")),function(){return qm(t)}},qm=function(t){ms.mark("".concat(Fr," ").concat(t," ends")),ms.measure("".concat(Fr," ").concat(t),"".concat(Fr," ").concat(t," begins"),"".concat(Fr," ").concat(t," ends"))},Bl={begin:mC,end:qm},ia=function(){};function Od(e){var t=e.getAttribute?e.getAttribute(kn):null;return typeof t=="string"}function yC(e){var t=e.getAttribute?e.getAttribute(Il):null,n=e.getAttribute?e.getAttribute(Ll):null;return t&&n}function gC(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(V.replacementClass)}function bC(){if(V.autoReplaceSvg===!0)return aa.replace;var e=aa[V.autoReplaceSvg];return e||aa.replace}function _C(e){return ye.createElementNS("http://www.w3.org/2000/svg",e)}function wC(e){return ye.createElement(e)}function Gm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,r=n===void 0?e.tag==="svg"?_C:wC:n;if(typeof e=="string")return ye.createTextNode(e);var i=r(e.tag);Object.keys(e.attributes||[]).forEach(function(o){i.setAttribute(o,e.attributes[o])});var a=e.children||[];return a.forEach(function(o){i.appendChild(Gm(o,{ceFn:r}))}),i}function EC(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var aa={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(i){n.parentNode.insertBefore(Gm(i),n)}),n.getAttribute(kn)===null&&V.keepOriginalSource){var r=ye.createComment(EC(n));n.parentNode.replaceChild(r,n)}else n.remove()},nest:function(t){var n=t[0],r=t[1];if(~kl(n).indexOf(V.replacementClass))return aa.replace(t);var i=new RegExp("".concat(V.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){var a=r[0].attributes.class.split(" ").reduce(function(u,s){return s===V.replacementClass||s.match(i)?u.toSvg.push(s):u.toNode.push(s),u},{toNode:[],toSvg:[]});r[0].attributes.class=a.toSvg.join(" "),a.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",a.toNode.join(" "))}var o=r.map(function(u){return Pi(u)}).join(`
|
|
777
|
+
`);n.setAttribute(kn,""),n.innerHTML=o}};function Pd(e){e()}function Vm(e,t){var n=typeof t=="function"?t:ia;if(e.length===0)n();else{var r=Pd;V.mutateApproach===AT&&(r=fn.requestAnimationFrame||Pd),r(function(){var i=bC(),a=Bl.begin("mutate");e.map(i),a(),n()})}}var Fl=!1;function Ym(){Fl=!0}function ys(){Fl=!1}var Ra=null;function Ad(e){if(vd&&V.observeMutations){var t=e.treeCallback,n=t===void 0?ia:t,r=e.nodeCallback,i=r===void 0?ia:r,a=e.pseudoElementsCallback,o=a===void 0?ia:a,u=e.observeMutationsRoot,s=u===void 0?ye:u;Ra=new vd(function(c){if(!Fl){var f=dn();Ir(c).forEach(function(l){if(l.type==="childList"&&l.addedNodes.length>0&&!Od(l.addedNodes[0])&&(V.searchPseudoElements&&o(l.target),n(l.target)),l.type==="attributes"&&l.target.parentNode&&V.searchPseudoElements&&o(l.target.parentNode),l.type==="attributes"&&Od(l.target)&&~NT.indexOf(l.attributeName))if(l.attributeName==="class"&&yC(l.target)){var d=so(kl(l.target)),h=d.prefix,v=d.iconName;l.target.setAttribute(Il,h||f),v&&l.target.setAttribute(Ll,v)}else gC(l.target)&&i(l.target)})}}),qt&&Ra.observe(s,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function SC(){Ra&&Ra.disconnect()}function OC(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(r,i){var a=i.split(":"),o=a[0],u=a.slice(1);return o&&u.length>0&&(r[o]=u.join(":").trim()),r},{})),n}function PC(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"",i=so(kl(e));return i.prefix||(i.prefix=dn()),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&r.length>0&&(i.iconName=nC(i.prefix,e.innerText)||Dl(i.prefix,cs(e.innerText))),!i.iconName&&V.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function AC(e){var t=Ir(e.attributes).reduce(function(i,a){return i.name!=="class"&&i.name!=="style"&&(i[a.name]=a.value),i},{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return V.autoA11y&&(n?t["aria-labelledby"]="".concat(V.replacementClass,"-title-").concat(r||si()):(t["aria-hidden"]="true",t.focusable="false")),t}function TC(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Tt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function Td(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=PC(e),r=n.iconName,i=n.prefix,a=n.rest,o=AC(e),u=ds("parseNodeAttributes",{},e),s=t.styleParser?OC(e):[];return W({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:Tt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:s,attributes:o}},u)}var CC=vt.styles;function Xm(e){var t=V.autoReplaceSvg==="nest"?Td(e,{styleParser:!1}):Td(e);return~t.extra.classes.indexOf(km)?Wt("generateLayersText",e,t):Wt("generateSvgReplacementMutation",e,t)}var pn=new Set;Rl.map(function(e){pn.add("fa-".concat(e))});Object.keys(ii[me]).map(pn.add.bind(pn));Object.keys(ii[_e]).map(pn.add.bind(pn));pn=Si(pn);function Cd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!qt)return Promise.resolve();var n=ye.documentElement.classList,r=function(l){return n.add("".concat(md,"-").concat(l))},i=function(l){return n.remove("".concat(md,"-").concat(l))},a=V.autoFetchSvg?pn:Rl.map(function(f){return"fa-".concat(f)}).concat(Object.keys(CC));a.includes("fa")||a.push("fa");var o=[".".concat(km,":not([").concat(kn,"])")].concat(a.map(function(f){return".".concat(f,":not([").concat(kn,"])")})).join(", ");if(o.length===0)return Promise.resolve();var u=[];try{u=Ir(e.querySelectorAll(o))}catch{}if(u.length>0)r("pending"),i("complete");else return Promise.resolve();var s=Bl.begin("onTree"),c=u.reduce(function(f,l){try{var d=Xm(l);d&&f.push(d)}catch(h){Rm||h.name==="MissingIcon"&&console.error(h)}return f},[]);return new Promise(function(f,l){Promise.all(c).then(function(d){Vm(d,function(){r("active"),r("complete"),i("pending"),typeof t=="function"&&t(),s(),f()})}).catch(function(d){s(),l(d)})})}function IC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;Xm(e).then(function(n){n&&Vm([n],t)})}function LC(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(t||{}).icon?t:ps(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:ps(i||{})),e(r,W(W({},n),{},{mask:i}))}}var RC=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.transform,i=r===void 0?Tt:r,a=n.symbol,o=a===void 0?!1:a,u=n.mask,s=u===void 0?null:u,c=n.maskId,f=c===void 0?null:c,l=n.title,d=l===void 0?null:l,h=n.titleId,v=h===void 0?null:h,p=n.classes,_=p===void 0?[]:p,g=n.attributes,y=g===void 0?{}:g,m=n.styles,b=m===void 0?{}:m;if(t){var E=t.prefix,O=t.iconName,S=t.icon;return lo(W({type:"icon"},t),function(){return Nn("beforeDOMElementCreation",{iconDefinition:t,params:n}),V.autoA11y&&(d?y["aria-labelledby"]="".concat(V.replacementClass,"-title-").concat(v||si()):(y["aria-hidden"]="true",y.focusable="false")),jl({icons:{main:hs(S),mask:s?hs(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:E,iconName:O,transform:W(W({},Tt),i),symbol:o,title:d,maskId:f,titleId:v,extra:{attributes:y,styles:b,classes:_}})})}},kC={mixout:function(){return{icon:LC(RC)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=Cd,n.nodeCallback=IC,n}}},provides:function(t){t.i2svg=function(n){var r=n.node,i=r===void 0?ye:r,a=n.callback,o=a===void 0?function(){}:a;return Cd(i,o)},t.generateSvgReplacementMutation=function(n,r){var i=r.iconName,a=r.title,o=r.titleId,u=r.prefix,s=r.transform,c=r.symbol,f=r.mask,l=r.maskId,d=r.extra;return new Promise(function(h,v){Promise.all([vs(i,u),f.iconName?vs(f.iconName,f.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(p){var _=Tl(p,2),g=_[0],y=_[1];h([n,jl({icons:{main:g,mask:y},prefix:u,iconName:i,transform:s,symbol:c,maskId:l,title:a,titleId:o,extra:d,watchable:!0})])}).catch(v)})},t.generateAbstractIcon=function(n){var r=n.children,i=n.attributes,a=n.main,o=n.transform,u=n.styles,s=oo(u);s.length>0&&(i.style=s);var c;return Nl(o)&&(c=Wt("generateAbstractTransformGrouping",{main:a,transform:o,containerWidth:a.width,iconWidth:a.width})),r.push(c||a.icon),{children:r,attributes:i}}}},NC={mixout:function(){return{layer:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.classes,a=i===void 0?[]:i;return lo({type:"layer"},function(){Nn("beforeDOMElementCreation",{assembler:n,params:r});var o=[];return n(function(u){Array.isArray(u)?u.map(function(s){o=o.concat(s.abstract)}):o=o.concat(u.abstract)}),[{tag:"span",attributes:{class:["".concat(V.cssPrefix,"-layers")].concat(Si(a)).join(" ")},children:o}]})}}}},MC={mixout:function(){return{counter:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.title,a=i===void 0?null:i,o=r.classes,u=o===void 0?[]:o,s=r.attributes,c=s===void 0?{}:s,f=r.styles,l=f===void 0?{}:f;return lo({type:"counter",content:n},function(){return Nn("beforeDOMElementCreation",{content:n,params:r}),pC({content:n.toString(),title:a,extra:{attributes:c,styles:l,classes:["".concat(V.cssPrefix,"-layers-counter")].concat(Si(u))}})})}}}},DC={mixout:function(){return{text:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.transform,a=i===void 0?Tt:i,o=r.title,u=o===void 0?null:o,s=r.classes,c=s===void 0?[]:s,f=r.attributes,l=f===void 0?{}:f,d=r.styles,h=d===void 0?{}:d;return lo({type:"text",content:n},function(){return Nn("beforeDOMElementCreation",{content:n,params:r}),Ed({content:n,transform:W(W({},Tt),a),title:u,extra:{attributes:l,styles:h,classes:["".concat(V.cssPrefix,"-layers-text")].concat(Si(c))}})})}}},provides:function(t){t.generateLayersText=function(n,r){var i=r.title,a=r.transform,o=r.extra,u=null,s=null;if(Cm){var c=parseInt(getComputedStyle(n).fontSize,10),f=n.getBoundingClientRect();u=f.width/c,s=f.height/c}return V.autoA11y&&!i&&(o.attributes["aria-hidden"]="true"),Promise.resolve([n,Ed({content:n.innerHTML,width:u,height:s,transform:a,title:i,extra:o,watchable:!0})])}}},$C=new RegExp('"',"ug"),Id=[1105920,1112319];function jC(e){var t=e.replace($C,""),n=XT(t,0),r=n>=Id[0]&&n<=Id[1],i=t.length===2?t[0]===t[1]:!1;return{value:cs(i?t[0]:t),isSecondary:r||i}}function Ld(e,t){var n="".concat(PT).concat(t.replace(":","-"));return new Promise(function(r,i){if(e.getAttribute(n)!==null)return r();var a=Ir(e.children),o=a.filter(function(S){return S.getAttribute(ls)===t})[0],u=fn.getComputedStyle(e,t),s=u.getPropertyValue("font-family").match(LT),c=u.getPropertyValue("font-weight"),f=u.getPropertyValue("content");if(o&&!s)return e.removeChild(o),r();if(s&&f!=="none"&&f!==""){var l=u.getPropertyValue("content"),d=~["Sharp"].indexOf(s[2])?_e:me,h=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(s[2])?ai[d][s[2].toLowerCase()]:RT[d][c],v=jC(l),p=v.value,_=v.isSecondary,g=s[0].startsWith("FontAwesome"),y=Dl(h,p),m=y;if(g){var b=rC(p);b.iconName&&b.prefix&&(y=b.iconName,h=b.prefix)}if(y&&!_&&(!o||o.getAttribute(Il)!==h||o.getAttribute(Ll)!==m)){e.setAttribute(n,m),o&&e.removeChild(o);var E=TC(),O=E.extra;O.attributes[ls]=t,vs(y,h).then(function(S){var w=jl(W(W({},E),{},{icons:{main:S,mask:$l()},prefix:h,iconName:m,extra:O,watchable:!0})),P=ye.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(P,e.firstChild):e.appendChild(P),P.outerHTML=w.map(function(A){return Pi(A)}).join(`
|
|
778
|
+
`),e.removeAttribute(n),r()}).catch(i)}else r()}else r()})}function BC(e){return Promise.all([Ld(e,"::before"),Ld(e,"::after")])}function FC(e){return e.parentNode!==document.head&&!~TT.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(ls)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function Rd(e){if(qt)return new Promise(function(t,n){var r=Ir(e.querySelectorAll("*")).filter(FC).map(BC),i=Bl.begin("searchPseudoElements");Ym(),Promise.all(r).then(function(){i(),ys(),t()}).catch(function(){i(),ys(),n()})})}var UC={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=Rd,n}}},provides:function(t){t.pseudoElements2svg=function(n){var r=n.node,i=r===void 0?ye:r;V.searchPseudoElements&&Rd(i)}}},kd=!1,xC={mixout:function(){return{dom:{unwatch:function(){Ym(),kd=!0}}}},hooks:function(){return{bootstrap:function(){Ad(ds("mutationObserverCallbacks",{}))},noAuto:function(){SC()},watch:function(n){var r=n.observeMutationsRoot;kd?ys():Ad(ds("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},Nd=function(t){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(r,i){var a=i.toLowerCase().split("-"),o=a[0],u=a.slice(1).join("-");if(o&&u==="h")return r.flipX=!0,r;if(o&&u==="v")return r.flipY=!0,r;if(u=parseFloat(u),isNaN(u))return r;switch(o){case"grow":r.size=r.size+u;break;case"shrink":r.size=r.size-u;break;case"left":r.x=r.x-u;break;case"right":r.x=r.x+u;break;case"up":r.y=r.y-u;break;case"down":r.y=r.y+u;break;case"rotate":r.rotate=r.rotate+u;break}return r},n)},HC={mixout:function(){return{parse:{transform:function(n){return Nd(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-transform");return i&&(n.transform=Nd(i)),n}}},provides:function(t){t.generateAbstractTransformGrouping=function(n){var r=n.main,i=n.transform,a=n.containerWidth,o=n.iconWidth,u={transform:"translate(".concat(a/2," 256)")},s="translate(".concat(i.x*32,", ").concat(i.y*32,") "),c="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),f="rotate(".concat(i.rotate," 0 0)"),l={transform:"".concat(s," ").concat(c," ").concat(f)},d={transform:"translate(".concat(o/2*-1," -256)")},h={outer:u,inner:l,path:d};return{tag:"g",attributes:W({},h.outer),children:[{tag:"g",attributes:W({},h.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:W(W({},r.icon.attributes),h.path)}]}]}}}},cu={x:0,y:0,width:"100%",height:"100%"};function Md(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function KC(e){return e.tag==="g"?e.children:[e]}var WC={hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-mask"),a=i?so(i.split(" ").map(function(o){return o.trim()})):$l();return a.prefix||(a.prefix=dn()),n.mask=a,n.maskId=r.getAttribute("data-fa-mask-id"),n}}},provides:function(t){t.generateAbstractMask=function(n){var r=n.children,i=n.attributes,a=n.main,o=n.mask,u=n.maskId,s=n.transform,c=a.width,f=a.icon,l=o.width,d=o.icon,h=HT({transform:s,containerWidth:l,iconWidth:c}),v={tag:"rect",attributes:W(W({},cu),{},{fill:"white"})},p=f.children?{children:f.children.map(Md)}:{},_={tag:"g",attributes:W({},h.inner),children:[Md(W({tag:f.tag,attributes:W(W({},f.attributes),h.path)},p))]},g={tag:"g",attributes:W({},h.outer),children:[_]},y="mask-".concat(u||si()),m="clip-".concat(u||si()),b={tag:"mask",attributes:W(W({},cu),{},{id:y,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[v,g]},E={tag:"defs",children:[{tag:"clipPath",attributes:{id:m},children:KC(d)},b]};return r.push(E,{tag:"rect",attributes:W({fill:"currentColor","clip-path":"url(#".concat(m,")"),mask:"url(#".concat(y,")")},cu)}),{children:r,attributes:i}}}},zC={provides:function(t){var n=!1;fn.matchMedia&&(n=fn.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var r=[],i={fill:"currentColor"},a={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:W(W({},i),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var o=W(W({},a),{},{attributeName:"opacity"}),u={tag:"circle",attributes:W(W({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||u.children.push({tag:"animate",attributes:W(W({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:W(W({},o),{},{values:"1;0;1;1;0;1;"})}),r.push(u),r.push({tag:"path",attributes:W(W({},i),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:n?[]:[{tag:"animate",attributes:W(W({},o),{},{values:"1;0;0;0;0;1;"})}]}),n||r.push({tag:"path",attributes:W(W({},i),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:W(W({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},qC={hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-symbol"),a=i===null?!1:i===""?!0:i;return n.symbol=a,n}}}},GC=[zT,kC,NC,MC,DC,UC,xC,HC,WC,zC,qC];oC(GC,{mixoutsTo:ut});ut.noAuto;ut.config;ut.library;ut.dom;var gs=ut.parse;ut.findIconDefinition;ut.toHtml;var VC=ut.icon;ut.layer;ut.text;ut.counter;var Qm={exports:{}},YC="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",XC=YC,QC=XC;function Jm(){}function Zm(){}Zm.resetWarningCache=Jm;var JC=function(){function e(r,i,a,o,u,s){if(s!==QC){var c=new 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 c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Zm,resetWarningCache:Jm};return n.PropTypes=n,n};Qm.exports=JC();var Te=Qm.exports;const ue=yr(Te);function Dd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function nn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Dd(Object(n),!0).forEach(function(r){Xn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dd(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ka(e){"@babel/helpers - typeof";return ka=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ka(e)}function Xn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ZC(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function eI(e,t){if(e==null)return{};var n=ZC(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function bs(e){return tI(e)||nI(e)||rI(e)||iI()}function tI(e){if(Array.isArray(e))return _s(e)}function nI(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function rI(e,t){if(e){if(typeof e=="string")return _s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _s(e,t)}}function _s(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function iI(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
779
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function aI(e){var t,n=e.beat,r=e.fade,i=e.beatFade,a=e.bounce,o=e.shake,u=e.flash,s=e.spin,c=e.spinPulse,f=e.spinReverse,l=e.pulse,d=e.fixedWidth,h=e.inverse,v=e.border,p=e.listItem,_=e.flip,g=e.size,y=e.rotation,m=e.pull,b=(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":i,"fa-bounce":a,"fa-shake":o,"fa-flash":u,"fa-spin":s,"fa-spin-reverse":f,"fa-spin-pulse":c,"fa-pulse":l,"fa-fw":d,"fa-inverse":h,"fa-border":v,"fa-li":p,"fa-flip":_===!0,"fa-flip-horizontal":_==="horizontal"||_==="both","fa-flip-vertical":_==="vertical"||_==="both"},Xn(t,"fa-".concat(g),typeof g<"u"&&g!==null),Xn(t,"fa-rotate-".concat(y),typeof y<"u"&&y!==null&&y!==0),Xn(t,"fa-pull-".concat(m),typeof m<"u"&&m!==null),Xn(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(b).map(function(E){return b[E]?E:null}).filter(function(E){return E})}function oI(e){return e=e-0,e===e}function ey(e){return oI(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,n){return n?n.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var uI=["style"];function sI(e){return e.charAt(0).toUpperCase()+e.slice(1)}function lI(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var r=n.indexOf(":"),i=ey(n.slice(0,r)),a=n.slice(r+1).trim();return i.startsWith("webkit")?t[sI(i)]=a:t[i]=a,t},{})}function ty(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t=="string")return t;var r=(t.children||[]).map(function(s){return ty(e,s)}),i=Object.keys(t.attributes||{}).reduce(function(s,c){var f=t.attributes[c];switch(c){case"class":s.attrs.className=f,delete t.attributes.class;break;case"style":s.attrs.style=lI(f);break;default:c.indexOf("aria-")===0||c.indexOf("data-")===0?s.attrs[c.toLowerCase()]=f:s.attrs[ey(c)]=f}return s},{attrs:{}}),a=n.style,o=a===void 0?{}:a,u=eI(n,uI);return i.attrs.style=nn(nn({},i.attrs.style),o),e.apply(void 0,[t.tag,nn(nn({},i.attrs),u)].concat(bs(r)))}var ny=!1;try{ny=!0}catch{}function cI(){if(!ny&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function $d(e){if(e&&ka(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(gs.icon)return gs.icon(e);if(e===null)return null;if(e&&ka(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}function fu(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Xn({},e,t):{}}var co=Z.forwardRef(function(e,t){var n=e.icon,r=e.mask,i=e.symbol,a=e.className,o=e.title,u=e.titleId,s=e.maskId,c=$d(n),f=fu("classes",[].concat(bs(aI(e)),bs(a.split(" ")))),l=fu("transform",typeof e.transform=="string"?gs.transform(e.transform):e.transform),d=fu("mask",$d(r)),h=VC(c,nn(nn(nn(nn({},f),l),d),{},{symbol:i,title:o,titleId:u,maskId:s}));if(!h)return cI("Could not find icon",c),null;var v=h.abstract,p={ref:t};return Object.keys(e).forEach(function(_){co.defaultProps.hasOwnProperty(_)||(p[_]=e[_])}),fI(v[0],p)});co.displayName="FontAwesomeIcon";co.propTypes={beat:ue.bool,border:ue.bool,beatFade:ue.bool,bounce:ue.bool,className:ue.string,fade:ue.bool,flash:ue.bool,mask:ue.oneOfType([ue.object,ue.array,ue.string]),maskId:ue.string,fixedWidth:ue.bool,inverse:ue.bool,flip:ue.oneOf([!0,!1,"horizontal","vertical","both"]),icon:ue.oneOfType([ue.object,ue.array,ue.string]),listItem:ue.bool,pull:ue.oneOf(["right","left"]),pulse:ue.bool,rotation:ue.oneOf([0,90,180,270]),shake:ue.bool,size:ue.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:ue.bool,spinPulse:ue.bool,spinReverse:ue.bool,symbol:ue.oneOfType([ue.bool,ue.string]),title:ue.string,titleId:ue.string,transform:ue.oneOfType([ue.string,ue.object]),swapOpacity:ue.bool};co.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var fI=ty.bind(null,Z.createElement);function dI({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{fillRule:"evenodd",d:"M11.03 3.97a.75.75 0 010 1.06l-6.22 6.22H21a.75.75 0 010 1.5H4.81l6.22 6.22a.75.75 0 11-1.06 1.06l-7.5-7.5a.75.75 0 010-1.06l7.5-7.5a.75.75 0 011.06 0z",clipRule:"evenodd"}))}const pI=pe(dI),pR=pI;function hI({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zm13.36-1.814a.75.75 0 10-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 00-1.06 1.06l2.25 2.25a.75.75 0 001.14-.094l3.75-5.25z",clipRule:"evenodd"}))}const vI=pe(hI),hR=vI;function mI({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{fillRule:"evenodd",d:"M7.72 12.53a.75.75 0 010-1.06l7.5-7.5a.75.75 0 111.06 1.06L9.31 12l6.97 6.97a.75.75 0 11-1.06 1.06l-7.5-7.5z",clipRule:"evenodd"}))}const yI=pe(mI),vR=yI;function gI({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{d:"M11.47 3.84a.75.75 0 011.06 0l8.69 8.69a.75.75 0 101.06-1.06l-8.689-8.69a2.25 2.25 0 00-3.182 0l-8.69 8.69a.75.75 0 001.061 1.06l8.69-8.69z"}),F("path",{d:"M12 5.432l8.159 8.159c.03.03.06.058.091.086v6.198c0 1.035-.84 1.875-1.875 1.875H15a.75.75 0 01-.75-.75v-4.5a.75.75 0 00-.75-.75h-3a.75.75 0 00-.75.75V21a.75.75 0 01-.75.75H5.625a1.875 1.875 0 01-1.875-1.875v-6.198a2.29 2.29 0 00.091-.086L12 5.43z"}))}const bI=pe(gI),mR=bI;function _I({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zm8.706-1.442c1.146-.573 2.437.463 2.126 1.706l-.709 2.836.042-.02a.75.75 0 01.67 1.34l-.04.022c-1.147.573-2.438-.463-2.127-1.706l.71-2.836-.042.02a.75.75 0 11-.671-1.34l.041-.022zM12 9a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"}))}const wI=pe(_I),yR=wI;function EI({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{fillRule:"evenodd",d:"M10.5 3.75a6.75 6.75 0 100 13.5 6.75 6.75 0 000-13.5zM2.25 10.5a8.25 8.25 0 1114.59 5.28l4.69 4.69a.75.75 0 11-1.06 1.06l-4.69-4.69A8.25 8.25 0 012.25 10.5z",clipRule:"evenodd"}))}const SI=pe(EI),gR=SI;function OI({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{d:"M21.731 2.269a2.625 2.625 0 00-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 000-3.712zM19.513 8.199l-3.712-3.712-12.15 12.15a5.25 5.25 0 00-1.32 2.214l-.8 2.685a.75.75 0 00.933.933l2.685-.8a5.25 5.25 0 002.214-1.32L19.513 8.2z"}))}const PI=pe(OI),bR=PI;function AI({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25zM12.75 9a.75.75 0 00-1.5 0v2.25H9a.75.75 0 000 1.5h2.25V15a.75.75 0 001.5 0v-2.25H15a.75.75 0 000-1.5h-2.25V9z",clipRule:"evenodd"}))}const TI=pe(AI),_R=TI;function CI({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{fillRule:"evenodd",d:"M10.788 3.21c.448-1.077 1.976-1.077 2.424 0l2.082 5.007 5.404.433c1.164.093 1.636 1.545.749 2.305l-4.117 3.527 1.257 5.273c.271 1.136-.964 2.033-1.96 1.425L12 18.354 7.373 21.18c-.996.608-2.231-.29-1.96-1.425l1.257-5.273-4.117-3.527c-.887-.76-.415-2.212.749-2.305l5.404-.433 2.082-5.006z",clipRule:"evenodd"}))}const II=pe(CI),wR=II;function LI({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25zm-1.72 6.97a.75.75 0 10-1.06 1.06L10.94 12l-1.72 1.72a.75.75 0 101.06 1.06L12 13.06l1.72 1.72a.75.75 0 101.06-1.06L13.06 12l1.72-1.72a.75.75 0 10-1.06-1.06L12 10.94l-1.72-1.72z",clipRule:"evenodd"}))}const RI=pe(LI),ER=RI;function kI({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{fillRule:"evenodd",d:"M5.47 5.47a.75.75 0 011.06 0L12 10.94l5.47-5.47a.75.75 0 111.06 1.06L13.06 12l5.47 5.47a.75.75 0 11-1.06 1.06L12 13.06l-5.47 5.47a.75.75 0 01-1.06-1.06L10.94 12 5.47 6.53a.75.75 0 010-1.06z",clipRule:"evenodd"}))}const NI=pe(kI),SR=NI;function ry(e,t=!1,n,r=n.polyfill("FormData",!0,!0),i=[]){return Object.entries(e).forEach(([a,o])=>{let u=i.reduce((s,c)=>s?`${s}[${c}]`:c,null);if(u=u?`${u}[${a}]`:a,o instanceof Array||globalThis.FileList&&o instanceof FileList)for(const s of o)r.append(u,s);else t&&typeof o=="object"&&(!(t instanceof Array)||!t.includes(a))?o!==null&&ry(o,t,n,r,[...i,a]):r.append(u,o)}),r}const MI={wretch:{formData(e,t=!1){return this.body(ry(e,t,this._config))}}},OR=MI;var DI={},tt={};Object.defineProperty(tt,"__esModule",{value:!0});tt.AnonymousSelectKey=tt.Select=tt.Not=tt.Guard=tt.PatternKind=void 0;tt.PatternKind=Symbol("@ts-pattern/pattern-kind");tt.Guard=Symbol("@ts-pattern/guard");tt.Not=Symbol("@ts-pattern/not");tt.Select=Symbol("@ts-pattern/select");tt.AnonymousSelectKey="@ts-pattern/__anonymous-select-key";var Ul={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.instanceOf=e.select=e.not=e.when=void 0;const t=tt,n=u=>({[t.PatternKind]:t.Guard,[t.Guard]:u});e.when=n;const r=u=>({[t.PatternKind]:t.Not,[t.Not]:u});e.not=r;function i(u){return u===void 0?{[t.PatternKind]:t.Select,[t.Select]:t.AnonymousSelectKey}:{[t.PatternKind]:t.Select,[t.Select]:u}}e.select=i;function a(u){return s=>s instanceof u}const o=u=>(0,e.when)(a(u));e.instanceOf=o})(Ul);var fo={};Object.defineProperty(fo,"__esModule",{value:!0});fo.__=void 0;const Lr=Ul;function $I(e){return!0}function jI(e){return typeof e=="number"}function BI(e){return Number.isNaN(e)}function FI(e){return typeof e=="string"}function UI(e){return typeof e=="boolean"}function xI(e){return e==null}const HI=(0,Lr.when)($I),KI=(0,Lr.when)(FI),WI=(0,Lr.when)(jI),zI=(0,Lr.when)(BI),qI=(0,Lr.when)(UI),GI=(0,Lr.when)(xI);fo.__=Object.assign(HI,{string:KI,number:WI,NaN:zI,boolean:qI,nullish:GI});(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isMatching=e.match=e.instanceOf=e.select=e.not=e.when=e.__=void 0;const t=tt,n=Ul;Object.defineProperty(e,"when",{enumerable:!0,get:function(){return n.when}}),Object.defineProperty(e,"not",{enumerable:!0,get:function(){return n.not}}),Object.defineProperty(e,"select",{enumerable:!0,get:function(){return n.select}}),Object.defineProperty(e,"instanceOf",{enumerable:!0,get:function(){return n.instanceOf}});const r=fo;Object.defineProperty(e,"__",{enumerable:!0,get:function(){return r.__}});const i=d=>a(d,[]);e.match=i;const a=(d,h)=>{const v=()=>{const p=h.find(({test:_})=>_(d));if(!p){let _;try{_=JSON.stringify(d)}catch{_=d}throw new Error(`Pattern matching error: no pattern matches value ${_}`)}return p.handler(p.select(d),d)};return{with(...p){const _=p[p.length-1],g=[],y=[];for(let E=0;E<p.length-1;E++){const O=p[E];typeof O=="function"?y.push(O):g.push(O)}let m={};const b=E=>!!(g.some(O=>f(O,E,(S,w)=>{m[S]=w}))&&y.every(O=>O(E)));return a(d,h.concat([{test:b,handler:_,select:E=>Object.keys(m).length?t.AnonymousSelectKey in m?m[t.AnonymousSelectKey]:m:E}]))},when:(p,_)=>a(d,h.concat([{test:p,handler:_,select:g=>g}])),otherwise:p=>a(d,h.concat([{test:()=>!0,handler:p,select:_=>_}])).run(),exhaustive:()=>v(),run:v}},o=d=>!!(d&&typeof d=="object"),u=d=>{const h=d;return h&&h[t.PatternKind]===t.Guard},s=d=>{const h=d;return h&&h[t.PatternKind]===t.Not},c=d=>{const h=d;return h&&h[t.PatternKind]===t.Select},f=(d,h,v)=>{if(o(d)){if(u(d))return!!d[t.Guard](h);if(c(d))return v(d[t.Select],h),!0;if(s(d))return!f(d[t.Not],h,v);if(!o(h))return!1;if(Array.isArray(d)){if(!Array.isArray(h))return!1;if(d.length===1){const p={},_=(y,m)=>{p[y]=(p[y]||[]).concat([m])},g=h.every(y=>f(d[0],y,_));return g&&Object.keys(p).forEach(y=>v(y,p[y])),g}return d.length===h.length?d.every((p,_)=>f(p,h[_],v)):!1}if(d instanceof Map)return h instanceof Map?[...d.keys()].every(p=>f(d.get(p),h.get(p),v)):!1;if(d instanceof Set){if(!(h instanceof Set))return!1;if(d.size===0)return h.size===0;if(d.size===1){const[p]=[...d.values()];return Object.values(r.__).includes(p)?f([p],[...h.values()],v):h.has(p)}return[...d.values()].every(p=>h.has(p))}return Object.keys(d).every(p=>p in h&&f(d[p],h[p],v))}return h===d};function l(...d){if(d.length===1){const[h]=d;return v=>f(h,v,()=>{})}if(d.length===2){const[h,v]=d;return f(h,v,()=>{})}throw new Error(`isMatching wasn't given enough arguments: expected 1 or 2, received ${d.length}.`)}e.isMatching=l})(DI);var iy={exports:{}};(function(e,t){(function(n,r){e.exports=r(ym)})(J,function(n){return function(){var r={378:function(u){u.exports=function s(c,f){if(c===f)return!0;if(c&&f&&typeof c=="object"&&typeof f=="object"){if(c.constructor!==f.constructor)return!1;var l,d,h;if(Array.isArray(c)){if((l=c.length)!=f.length)return!1;for(d=l;d--!=0;)if(!s(c[d],f[d]))return!1;return!0}if(c.constructor===RegExp)return c.source===f.source&&c.flags===f.flags;if(c.valueOf!==Object.prototype.valueOf)return c.valueOf()===f.valueOf();if(c.toString!==Object.prototype.toString)return c.toString()===f.toString();if((l=(h=Object.keys(c)).length)!==Object.keys(f).length)return!1;for(d=l;d--!=0;)if(!Object.prototype.hasOwnProperty.call(f,h[d]))return!1;for(d=l;d--!=0;){var v=h[d];if(!s(c[v],f[v]))return!1}return!0}return c!=c&&f!=f}},145:function(u,s,c){c.r(s),s.default='@keyframes spin{to{transform:rotate(360deg)}}.tf-v1-popover{bottom:96px;position:fixed;right:16px;z-index:10001}.tf-v1-popover.open{max-width:100%;min-height:360px;min-width:360px}.tf-v1-popover-wrapper{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;opacity:0;transition:opacity .25s ease-in-out;border-radius:4px;box-shadow:rgba(0,0,0,.08) 0 2px 4px,rgba(0,0,0,.06) 0 2px 12px}.tf-v1-popover-wrapper iframe{width:100%;height:100%;border:none;overflow:hidden;border-radius:8px}.tf-v1-popover-close{display:none}.tf-v1-popover-button{width:54px;height:54px;position:fixed;box-shadow:0 2px 12px rgba(0,0,0,.06),0 2px 4px rgba(0,0,0,.08);color:#fff;right:26px;bottom:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;background:#3a7685;line-height:0;border:none;padding:0}.tf-v1-popover-button-icon{width:54px;height:54px;font-size:24px;border-radius:50%;overflow:hidden;display:flex;justify-content:center;align-items:center}.tf-v1-popover-button-icon svg.default{margin-top:6px}.tf-v1-popover-button-icon svg,.tf-v1-popover-button-icon img{max-width:54px;max-height:54px}.tf-v1-popover-button-icon img{width:100%;height:100%;object-fit:cover;border-radius:50%}.tf-v1-popover-tooltip{position:fixed;right:94px;bottom:33px;max-width:240px;padding:10px 25px 10px 10px;border-radius:8px;background:#fff;box-shadow:0 2px 4px rgba(0,0,0,.08),0 2px 12px rgba(0,0,0,.06);font-size:14px;font-family:Helvetica,Arial,sans-serif;line-height:22px}.tf-v1-popover-tooltip::before{background-color:#fff;content:"";display:block;width:12px;height:12px;position:absolute;right:-4px;bottom:15px;transform:rotate(45deg);box-shadow:2px -2px 2px 0 rgba(0,0,0,.06)}.tf-v1-popover-tooltip-text{overflow:hidden}.tf-v1-popover-tooltip-close{color:rgba(0,0,0,.2);cursor:pointer;margin-left:4px;display:inline-block;width:20px;height:20px;font-size:18px;text-align:center;position:absolute;top:8px;right:6px}.tf-v1-popover-tooltip-close:hover{color:rgba(0,0,0,.3)}.tf-v1-popover-tooltip.closing{transition:opacity .25s ease-in-out;opacity:0}.tf-v1-popover-unread-dot{width:8px;height:8px;border-radius:50%;background-color:#fa6b05;border:2px solid #fff;position:absolute;top:2px;right:2px}.tf-v1-popover-unread-dot.closing{transition:opacity .25s ease-in-out;opacity:0}.tf-v1-spinner{border:3px solid #aaa;font-size:40px;width:1em;height:1em;border-radius:.5em;box-sizing:border-box;animation:spin 1s linear infinite;border-top-color:#fff;position:absolute;top:50%;left:50%;margin:-20px 0 0 -20px}@media(max-width: 480px){.tf-v1-popover.open{top:0;left:0;bottom:0;right:0;width:100% !important;height:100% !important}.tf-v1-popover.open .tf-v1-popover-close{display:block}.tf-v1-popover-wrapper{border-radius:0;box-shadow:none}.tf-v1-popover-wrapper iframe{border-radius:0}.tf-v1-popover-close{display:block;padding:0;margin:0;position:absolute;font-size:32px;font-weight:normal;line-height:24px;width:24px;height:24px;text-align:center;text-transform:none;cursor:pointer;opacity:.75;transition:opacity .25s ease-in-out;text-decoration:none;color:#000;top:6px;right:8px;background:none;border:none;border-radius:0;z-index:1;opacity:0}.tf-v1-popover-close:hover{opacity:1}}@media(max-width: 480px)and (min-width: 481px){.tf-v1-popover-close{color:#fff !important}}@media(max-width: 480px){.tf-v1-popover-button{width:44px;height:44px;right:8px;bottom:8px}.tf-v1-popover-button-icon{font-size:20px}.tf-v1-popover-button-icon svg{margin-top:4px;max-height:24px;max-width:24px}.tf-v1-popover-button-icon img{max-width:44px;max-height:44px}.tf-v1-popover-tooltip{position:fixed;right:66px;bottom:8px;left:auto;font-size:12px}.tf-v1-popover-tooltip::before{bottom:14px}.tf-v1-popover-unread-dot{top:0;right:0}.tf-v1-spinner{border:3px solid #aaa;font-size:32px;width:1em;height:1em;border-radius:.5em;box-sizing:border-box;animation:spin 1s linear infinite;border-top-color:#fff;position:absolute;top:50%;left:50%;margin:-16px 0 0 -16px}}'},792:function(u,s,c){c.r(s),s.default="@keyframes spin{to{transform:rotate(360deg)}}.tf-v1-popup{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.75);transition:opacity .25s ease-in-out;z-index:10001;display:flex;align-items:center;justify-content:center}.tf-v1-popup .tf-v1-iframe-wrapper{position:relative;transition:opacity .25s ease-in-out;min-width:360px;min-height:360px}.tf-v1-popup .tf-v1-iframe-wrapper iframe{width:100%;height:100%;border:none;overflow:hidden;border-radius:8px}.tf-v1-popup .tf-v1-close{display:block;padding:0;margin:0;position:absolute;font-size:32px;font-weight:normal;line-height:24px;width:24px;height:24px;text-align:center;text-transform:none;cursor:pointer;opacity:.75;transition:opacity .25s ease-in-out;text-decoration:none;color:#000;top:-34px;right:0;background:none;border:none;border-radius:0}.tf-v1-popup .tf-v1-close:hover{opacity:1}@media(min-width: 481px){.tf-v1-popup .tf-v1-close{color:#fff !important}}.tf-v1-popup .tf-v1-spinner{border:3px solid #aaa;font-size:40px;width:1em;height:1em;border-radius:.5em;box-sizing:border-box;animation:spin 1s linear infinite;border-top-color:#fff;position:absolute;top:50%;left:50%;margin:-20px 0 0 -20px}@media(max-width: 480px){.tf-v1-popup{width:100% !important;height:100% !important}.tf-v1-popup .tf-v1-iframe-wrapper{position:relative;transition:opacity .25s ease-in-out;min-width:100%;min-height:100%}.tf-v1-popup .tf-v1-iframe-wrapper iframe{border-radius:0}.tf-v1-popup .tf-v1-close{display:block;padding:0;margin:0;position:absolute;font-size:32px;font-weight:normal;line-height:24px;width:24px;height:24px;text-align:center;text-transform:none;cursor:pointer;opacity:.75;transition:opacity .25s ease-in-out;text-decoration:none;color:#000;top:6px;right:8px;background:none;border:none;border-radius:0}.tf-v1-popup .tf-v1-close:hover{opacity:1}}@media(max-width: 480px)and (min-width: 481px){.tf-v1-popup .tf-v1-close{color:#fff !important}}"},838:function(u,s,c){c.r(s),s.default="@keyframes spin{to{transform:rotate(360deg)}}.tf-v1-sidetab{position:fixed;top:50%;right:0;width:400px;height:580px;transform:translate(100%, -50%);box-shadow:0 2px 4px rgba(0,0,0,.08),0 2px 12px rgba(0,0,0,.06);z-index:10001;will-change:transform}.tf-v1-sidetab.ready{transition:transform 400ms cubic-bezier(0.5, 0, 0.75, 0)}.tf-v1-sidetab iframe{width:100%;height:100%;border:none;overflow:hidden;border-radius:8px 0 0 8px}.tf-v1-sidetab.open{transform:translate(0, -50%)}.tf-v1-sidetab-wrapper{position:relative;height:100%}.tf-v1-sidetab-button{position:absolute;top:50%;left:-48px;transform:rotate(-90deg) translateX(-50%);transform-origin:left top;min-width:100px;max-width:540px;height:48px;display:flex;align-items:center;padding:12px 16px;border-radius:8px 8px 0 0;color:#fff;box-shadow:0 2px 4px rgba(0,0,0,.08),0 2px 12px rgba(0,0,0,.06);background-color:#3a7685;cursor:pointer;border:0;text-decoration:none;outline:none}.tf-v1-sidetab-button-text{flex:1;font-size:18px;font-family:Helvetica,Arial,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tf-v1-sidetab-button-icon{width:24px;height:24px;font-size:24px;transform:rotate(90deg);margin-right:12px;position:relative;order:-1}.tf-v1-sidetab-button-icon>img{width:100%;height:100%;object-fit:contain}.tf-v1-sidetab-close{display:none}.tf-v1-sidetab .tf-v1-spinner{border:3px solid #aaa;font-size:24px;width:1em;height:1em;border-radius:.5em;box-sizing:border-box;animation:spin 1s linear infinite;border-top-color:#fff;position:absolute;top:50%;left:50%;margin:-12px 0 0 -12px;top:0;left:0;margin:0}@media(max-width: 480px){.tf-v1-sidetab{transition:unset}.tf-v1-sidetab.ready{transition:unset}.tf-v1-sidetab.open{top:0;left:0;right:0;bottom:0;transform:translate(0, 0);width:100% !important;height:100% !important}.tf-v1-sidetab-close{display:block;padding:0;margin:0;position:absolute;font-size:32px;font-weight:normal;line-height:24px;width:24px;height:24px;text-align:center;text-transform:none;cursor:pointer;opacity:.75;transition:opacity .25s ease-in-out;text-decoration:none;color:#000;top:6px;right:8px;background:none;border:none;border-radius:0;display:block;z-index:1}.tf-v1-sidetab-close:hover{opacity:1}}@media(max-width: 480px)and (min-width: 481px){.tf-v1-sidetab-close{color:#fff !important}}"},630:function(u,s,c){c.r(s),s.default="@keyframes spin{to{transform:rotate(360deg)}}.tf-v1-slider{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.75);transition:opacity .25s ease-in-out;z-index:10001}.tf-v1-slider .tf-v1-iframe-wrapper{max-width:calc(100vw - 26px);height:100%;position:absolute;top:0;transition:right .5s ease-in-out,left .5s ease-in-out}.tf-v1-slider .tf-v1-iframe-wrapper iframe{width:100%;height:100%;border:none;overflow:hidden;border-radius:0}@media(min-width: 481px){.tf-v1-slider .tf-v1-iframe-wrapper iframe{border-radius:8px 0 0 8px}}.tf-v1-slider .tf-v1-close{display:block;padding:0;margin:0;position:absolute;font-size:32px;font-weight:normal;line-height:24px;width:24px;height:24px;text-align:center;text-transform:none;cursor:pointer;opacity:.75;transition:opacity .25s ease-in-out;text-decoration:none;color:#000;top:6px;right:8px;background:none;border:none;border-radius:0}.tf-v1-slider .tf-v1-close:hover{opacity:1}@media(min-width: 481px){.tf-v1-slider .tf-v1-close{color:#fff !important}}@media(min-width: 481px){.tf-v1-slider .tf-v1-close{top:4px;left:-26px}}.tf-v1-slider .tf-v1-close:hover{opacity:1}.tf-v1-slider .tf-v1-spinner{border:3px solid #aaa;font-size:40px;width:1em;height:1em;border-radius:.5em;box-sizing:border-box;animation:spin 1s linear infinite;border-top-color:#fff;position:absolute;top:50%;left:50%;margin:-20px 0 0 -20px}@media(min-width: 481px){.tf-v1-slider.left .tf-v1-iframe-wrapper iframe{border-radius:0 8px 8px 0}.tf-v1-slider.left .tf-v1-close{left:auto;right:-24px}}@media(max-width: 480px){.tf-v1-slider{width:100% !important;height:100% !important}.tf-v1-slider .tf-v1-iframe-wrapper{width:100% !important;max-width:100vw;height:100%;transition:unset}.tf-v1-slider .tf-v1-iframe-wrapper iframe{border-radius:none}.tf-v1-slider .tf-v1-close{display:block;padding:0;margin:0;position:absolute;font-size:32px;font-weight:normal;line-height:24px;width:24px;height:24px;text-align:center;text-transform:none;cursor:pointer;opacity:.75;transition:opacity .25s ease-in-out;text-decoration:none;color:#000;top:6px;right:8px;background:none;border:none;border-radius:0;left:auto}.tf-v1-slider .tf-v1-close:hover{opacity:1}}@media(max-width: 480px)and (min-width: 481px){.tf-v1-slider .tf-v1-close{color:#fff !important}}"},684:function(u,s,c){c.r(s),s.default=".tf-v1-widget{width:100%;height:100%;min-height:inherit;position:relative}.tf-v1-widget iframe{width:100%;height:100%;border:none;overflow:hidden;border-radius:8px;min-height:inherit}.tf-v1-widget-close{display:none}.tf-v1-widget-iframe-overlay{width:100%;height:100%;border:none;overflow:hidden;border-radius:8px;position:absolute;top:0;left:0}.tf-v1-widget-fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10001;width:100% !important;height:100% !important}.tf-v1-widget-fullscreen .tf-v1-widget-close{display:block;display:block;padding:0;margin:0;position:absolute;font-size:32px;font-weight:normal;line-height:24px;width:24px;height:24px;text-align:center;text-transform:none;cursor:pointer;opacity:.75;transition:opacity .25s ease-in-out;text-decoration:none;color:#000;top:6px;right:8px;background:none;border:none;border-radius:0;z-index:1}.tf-v1-widget-fullscreen .tf-v1-widget-close:hover{opacity:1}@media(min-width: 481px){.tf-v1-widget-fullscreen .tf-v1-widget-close{color:#fff !important}}.tf-v1-widget-fullscreen iframe{border-radius:0}"},281:function(u,s,c){var f=this&&this.__createBinding||(Object.create?function(d,h,v,p){p===void 0&&(p=v);var _=Object.getOwnPropertyDescriptor(h,v);_&&!("get"in _?!h.__esModule:_.writable||_.configurable)||(_={enumerable:!0,get:function(){return h[v]}}),Object.defineProperty(d,p,_)}:function(d,h,v,p){p===void 0&&(p=v),d[p]=h[v]}),l=this&&this.__exportStar||function(d,h){for(var v in d)v==="default"||Object.prototype.hasOwnProperty.call(h,v)||f(h,d,v)};Object.defineProperty(s,"__esModule",{value:!0}),l(c(11),s),l(c(739),s),l(c(860),s)},794:function(u,s,c){var f=this&&this.__assign||function(){return f=Object.assign||function(v){for(var p,_=1,g=arguments.length;_<g;_++)for(var y in p=arguments[_])Object.prototype.hasOwnProperty.call(p,y)&&(v[y]=p[y]);return v},f.apply(this,arguments)},l=this&&this.__importDefault||function(v){return v&&v.__esModule?v:{default:v}};Object.defineProperty(s,"__esModule",{value:!0}),s.InlineStyle=void 0;var d=l(c(156)),h=l(c(52));s.InlineStyle=function(v){var p=v.filename,_=c(367)("./".concat(p,".css")),g=(0,h.default)();return d.default.createElement("style",f({},g?{nonce:g}:{}),_.default)}},11:function(u,s,c){var f=this&&this.__assign||function(){return f=Object.assign||function(g){for(var y,m=1,b=arguments.length;m<b;m++)for(var E in y=arguments[m])Object.prototype.hasOwnProperty.call(y,E)&&(g[E]=y[E]);return g},f.apply(this,arguments)},l=this&&this.__createBinding||(Object.create?function(g,y,m,b){b===void 0&&(b=m);var E=Object.getOwnPropertyDescriptor(y,m);E&&!("get"in E?!y.__esModule:E.writable||E.configurable)||(E={enumerable:!0,get:function(){return y[m]}}),Object.defineProperty(g,b,E)}:function(g,y,m,b){b===void 0&&(b=m),g[b]=y[m]}),d=this&&this.__setModuleDefault||(Object.create?function(g,y){Object.defineProperty(g,"default",{enumerable:!0,value:y})}:function(g,y){g.default=y}),h=this&&this.__importStar||function(g){if(g&&g.__esModule)return g;var y={};if(g!=null)for(var m in g)m!=="default"&&Object.prototype.hasOwnProperty.call(g,m)&&l(y,g,m);return d(y,g),y},v=this&&this.__rest||function(g,y){var m={};for(var b in g)Object.prototype.hasOwnProperty.call(g,b)&&y.indexOf(b)<0&&(m[b]=g[b]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function"){var E=0;for(b=Object.getOwnPropertySymbols(g);E<b.length;E++)y.indexOf(b[E])<0&&Object.prototype.propertyIsEnumerable.call(g,b[E])&&(m[b[E]]=g[b[E]])}return m};Object.defineProperty(s,"__esModule",{value:!0}),s.makeButtonComponent=s.emptyEmbed=void 0;var p=h(c(156)),_=c(794);s.emptyEmbed={unmount:function(){},open:function(){}},s.makeButtonComponent=function(g,y){return p.default.forwardRef(function(m,b){var E=m.id,O=m.children,S=m.as,w=S===void 0?"button":S,P=m.style,A=P===void 0?{}:P,L=m.className,D=L===void 0?"":L,j=m.buttonProps,I=v(m,["id","children","as","style","className","buttonProps"]),C=(0,p.useRef)(s.emptyEmbed),R=b||C;(0,p.useEffect)(function(){return R.current=g(E,I),function(){return R.current.unmount()}},[E,I,R]);var $=(0,p.useMemo)(function(){return function(){return R.current.open()}},[R]),B=p.default.createElement(w,f({style:A,className:D,onClick:$,"data-testid":"tf-v1-".concat(y),children:O},j));return p.default.createElement(p.default.Fragment,null,p.default.createElement(_.InlineStyle,{filename:y}),B)})}},739:function(u,s,c){var f=this&&this.__createBinding||(Object.create?function(g,y,m,b){b===void 0&&(b=m);var E=Object.getOwnPropertyDescriptor(y,m);E&&!("get"in E?!y.__esModule:E.writable||E.configurable)||(E={enumerable:!0,get:function(){return y[m]}}),Object.defineProperty(g,b,E)}:function(g,y,m,b){b===void 0&&(b=m),g[b]=y[m]}),l=this&&this.__setModuleDefault||(Object.create?function(g,y){Object.defineProperty(g,"default",{enumerable:!0,value:y})}:function(g,y){g.default=y}),d=this&&this.__importStar||function(g){if(g&&g.__esModule)return g;var y={};if(g!=null)for(var m in g)m!=="default"&&Object.prototype.hasOwnProperty.call(g,m)&&f(y,g,m);return l(y,g),y},h=this&&this.__rest||function(g,y){var m={};for(var b in g)Object.prototype.hasOwnProperty.call(g,b)&&y.indexOf(b)<0&&(m[b]=g[b]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function"){var E=0;for(b=Object.getOwnPropertySymbols(g);E<b.length;E++)y.indexOf(b[E])<0&&Object.prototype.propertyIsEnumerable.call(g,b[E])&&(m[b[E]]=g[b[E]])}return m};Object.defineProperty(s,"__esModule",{value:!0}),s.makeInitializerComponent=void 0;var v=d(c(156)),p=c(794),_={unmount:function(){}};s.makeInitializerComponent=function(g,y){return v.default.forwardRef(function(m,b){var E=m.id,O=h(m,["id"]),S=(0,v.useRef)(_),w=b||S;return(0,v.useEffect)(function(){return w.current=g(E,O),function(){w.current.unmount()}},[E,O,w]),v.default.createElement(p.InlineStyle,{filename:y})})}},860:function(u,s,c){var f=this&&this.__assign||function(){return f=Object.assign||function(y){for(var m,b=1,E=arguments.length;b<E;b++)for(var O in m=arguments[b])Object.prototype.hasOwnProperty.call(m,O)&&(y[O]=m[O]);return y},f.apply(this,arguments)},l=this&&this.__createBinding||(Object.create?function(y,m,b,E){E===void 0&&(E=b);var O=Object.getOwnPropertyDescriptor(m,b);O&&!("get"in O?!m.__esModule:O.writable||O.configurable)||(O={enumerable:!0,get:function(){return m[b]}}),Object.defineProperty(y,E,O)}:function(y,m,b,E){E===void 0&&(E=b),y[E]=m[b]}),d=this&&this.__setModuleDefault||(Object.create?function(y,m){Object.defineProperty(y,"default",{enumerable:!0,value:m})}:function(y,m){y.default=m}),h=this&&this.__importStar||function(y){if(y&&y.__esModule)return y;var m={};if(y!=null)for(var b in y)b!=="default"&&Object.prototype.hasOwnProperty.call(y,b)&&l(m,y,b);return d(m,y),m},v=this&&this.__rest||function(y,m){var b={};for(var E in y)Object.prototype.hasOwnProperty.call(y,E)&&m.indexOf(E)<0&&(b[E]=y[E]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function"){var O=0;for(E=Object.getOwnPropertySymbols(y);O<E.length;O++)m.indexOf(E[O])<0&&Object.prototype.propertyIsEnumerable.call(y,E[O])&&(b[E[O]]=y[E[O]])}return b};Object.defineProperty(s,"__esModule",{value:!0}),s.Widget=void 0;var p=h(c(156)),_=c(611),g=c(794);s.Widget=function(y){var m=y.id,b=y.style,E=b===void 0?{}:b,O=y.className,S=O===void 0?"":O,w=v(y,["id","style","className"]),P=(0,p.useRef)(null);return(0,p.useEffect)(function(){if(P.current){var A=(0,_.createWidget)(m,f(f({},w),{container:P.current}));return function(){A.unmount()}}},[m,w]),p.default.createElement(p.default.Fragment,null,p.default.createElement(g.InlineStyle,{filename:"widget"}),p.default.createElement("div",{style:E,className:S,ref:P}))}},797:function(u,s,c){var f=this&&this.__createBinding||(Object.create?function(d,h,v,p){p===void 0&&(p=v);var _=Object.getOwnPropertyDescriptor(h,v);_&&!("get"in _?!h.__esModule:_.writable||_.configurable)||(_={enumerable:!0,get:function(){return h[v]}}),Object.defineProperty(d,p,_)}:function(d,h,v,p){p===void 0&&(p=v),d[p]=h[v]}),l=this&&this.__exportStar||function(d,h){for(var v in d)v==="default"||Object.prototype.hasOwnProperty.call(h,v)||f(h,d,v)};Object.defineProperty(s,"__esModule",{value:!0}),l(c(553),s)},553:function(u,s,c){var f=this&&this.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(s,"__esModule",{value:!0}),s.memoComponent=s.propsAreEqual=void 0;var l=c(156),d=f(c(378));s.propsAreEqual=function(h,v){return(0,d.default)(h,v)},s.memoComponent=function(h){return(0,l.memo)(h,s.propsAreEqual)}},52:function(u,s,c){Object.defineProperty(s,"__esModule",{value:!0}),s.default=function(){return c.g.__webpack_nonce__!==void 0?c.g.__webpack_nonce__:null}},367:function(u,s,c){var f={"./popover.css":145,"./popup.css":792,"./sidetab.css":838,"./slider.css":630,"./widget.css":684};function l(h){var v=d(h);return c(v)}function d(h){if(!c.o(f,h)){var v=new Error("Cannot find module '"+h+"'");throw v.code="MODULE_NOT_FOUND",v}return f[h]}l.keys=function(){return Object.keys(f)},l.resolve=d,u.exports=l,l.id=367},611:function(u){u.exports=function(){var s={8027:function(f,l){Object.defineProperty(l,"__esModule",{value:!0}),l.DEFAULT_DOMAIN=l.POPUP_SIZE=l.SLIDER_WIDTH=l.SLIDER_POSITION=l.LIVE_EMBED_ATTRIBUTE=l.SIDETAB_ATTRIBUTE=l.WIDGET_ATTRIBUTE=l.SLIDER_ATTRIBUTE=l.POPUP_ATTRIBUTE=l.POPOVER_ATTRIBUTE=void 0,l.POPOVER_ATTRIBUTE="data-tf-popover",l.POPUP_ATTRIBUTE="data-tf-popup",l.SLIDER_ATTRIBUTE="data-tf-slider",l.WIDGET_ATTRIBUTE="data-tf-widget",l.SIDETAB_ATTRIBUTE="data-tf-sidetab",l.LIVE_EMBED_ATTRIBUTE="data-tf-live",l.SLIDER_POSITION="right",l.SLIDER_WIDTH=800,l.POPUP_SIZE=100,l.DEFAULT_DOMAIN="form.typeform.com"},7528:function(f,l,d){var h=this&&this.__assign||function(){return h=Object.assign||function(b){for(var E,O=1,S=arguments.length;O<S;O++)for(var w in E=arguments[O])Object.prototype.hasOwnProperty.call(E,w)&&(b[w]=E[w]);return b},h.apply(this,arguments)},v=this&&this.__rest||function(b,E){var O={};for(var S in b)Object.prototype.hasOwnProperty.call(b,S)&&E.indexOf(S)<0&&(O[S]=b[S]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function"){var w=0;for(S=Object.getOwnPropertySymbols(b);w<S.length;w++)E.indexOf(S[w])<0&&Object.prototype.propertyIsEnumerable.call(b,S[w])&&(O[S[w]]=b[S[w]])}return O};Object.defineProperty(l,"__esModule",{value:!0}),l.createPopover=void 0;var p=d(6797),_=d(1320),g=function(b,E){var O=b.parentNode;O&&(O.removeChild(b),O.appendChild(E))},y=function(b,E){b===void 0&&(b="span"),E===void 0&&(E="tf-v1-popover-button-icon");var O=document.createElement(b);return O.className="".concat(E," tf-v1-close-icon"),O.innerHTML="×",O.dataset.testid=E,O},m={buttonColor:"#3a7685"};l.createPopover=function(b,E){E===void 0&&(E={});var O,S,w,P=h(h({},m),E),A=P.domain,L=v(P,["domain"]),D=(0,p.createIframe)("popover",{formId:b,domain:A,options:L}),j=D.iframe,I=D.embedId,C=D.refresh,R=D.focus,$=function(te,Q){var oe=document.createElement("div");return oe.className="tf-v1-popover",oe.dataset.testid="tf-v1-popover",(0,p.setElementSize)(oe,{width:te,height:Q})}(L.width,L.height),B=function(){var te=document.createElement("div");return te.className="tf-v1-popover-wrapper",te.dataset.testid="tf-v1-popover-wrapper",te}(),Y=function(te,Q){var oe=(0,p.getTextColor)(Q),ie=document.createElement("div");ie.className="tf-v1-popover-button-icon";var ge=`<svg class="default" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
780
780
|
<path d="M21 0H0V9L10.5743 24V16.5H21C22.6567 16.5 24 15.1567 24 13.5V3C24 1.34325 22.6567 0 21 0ZM7.5
|
|
781
781
|
9.75C6.672 9.75 6 9.07875 6 8.25C6 7.42125 6.672 6.75 7.5 6.75C8.328 6.75 9 7.42125 9 8.25C9 9.07875 8.328 9.75
|
|
782
782
|
7.5 9.75ZM12.75 9.75C11.922 9.75 11.25 9.07875 11.25 8.25C11.25 7.42125 11.922 6.75 12.75 6.75C13.578 6.75 14.25
|
|
@@ -788,9 +788,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
788
788
|
|
|
789
789
|
`)+`Make sure to include Google Analytics Javascript code before the Typeform Embed Javascript code in your page and use correct tracker ID.
|
|
790
790
|
|
|
791
|
-
It is also possible the Google Analytics was blocked by your adblock plugin.`)};l.setupGaInstance=function(v,p,_){var g=typeof _=="string"?_:void 0;if(window.gtag){if(g||(g=function(){if(window.dataLayer){var b=window.dataLayer.find(function(E){return E.length>1&&E[0]==="config"});return b&&b[1]}}()),!g)return void h("the tracking ID could not be retrieved");var y=!1;window.gtag("get",g,"client_id",function(b){y=!0,(0,l.sendGaIdMessage)(p,b,v)}),setTimeout(function(){y||h("the tracker with ID ".concat(g," was not found"))},3e3)}else try{var m=function(b,E){return E?b.find(function(O){return O.get("trackingId")===E}):b[0]}(window.ga.getAll(),g);m?(0,l.sendGaIdMessage)(p,m.get("clientId"),v):h("the tracker with ID ".concat(g," was not found"))}catch(b){h("the Google Analytics object was not found"),d(b)}}},4623:function(f,l){Object.defineProperty(l,"__esModule",{value:!0}),l.sleep=void 0,l.sleep=function(d){return new Promise(function(h){return setTimeout(h,d)})}},1451:function(f,l){Object.defineProperty(l,"__esModule",{value:!0}),l.unmountElement=void 0,l.unmountElement=function(d){var h;(h=d.parentNode)===null||h===void 0||h.removeChild(d)}}},c={};return function f(l){var d=c[l];if(d!==void 0)return d.exports;var h=c[l]={exports:{}};return s[l].call(h.exports,h,h.exports,f),h.exports}(1920)}()},156:function(u){u.exports=n}},i={};function a(u){var s=i[u];if(s!==void 0)return s.exports;var c=i[u]={exports:{}};return r[u].call(c.exports,c,c.exports,a),c.exports}a.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),a.o=function(u,s){return Object.prototype.hasOwnProperty.call(u,s)},a.r=function(u){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(u,"__esModule",{value:!0})};var o={};return function(){var u=o;Object.defineProperty(u,"__esModule",{value:!0}),u.Sidetab=u.Popover=u.SliderButton=u.PopupButton=u.Widget=void 0;var s=a(611),c=a(281),f=a(797),l=(0,f.memoComponent)(c.Widget);u.Widget=l;var d=(0,f.memoComponent)((0,c.makeButtonComponent)(s.createPopup,"popup"));u.PopupButton=d;var h=(0,f.memoComponent)((0,c.makeButtonComponent)(s.createSlider,"slider"));u.SliderButton=h;var v=(0,f.memoComponent)((0,c.makeInitializerComponent)(s.createPopover,"popover"));u.Popover=v;var p=(0,f.memoComponent)((0,c.makeInitializerComponent)(s.createSidetab,"sidetab"));u.Sidetab=p}(),o}()})})(iy);var
|
|
792
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return o=c.done,c},e:function(c){u=!0,a=c},f:function(){try{o||n.return==null||n.return()}finally{if(u)throw a}}}}function
|
|
791
|
+
It is also possible the Google Analytics was blocked by your adblock plugin.`)};l.setupGaInstance=function(v,p,_){var g=typeof _=="string"?_:void 0;if(window.gtag){if(g||(g=function(){if(window.dataLayer){var b=window.dataLayer.find(function(E){return E.length>1&&E[0]==="config"});return b&&b[1]}}()),!g)return void h("the tracking ID could not be retrieved");var y=!1;window.gtag("get",g,"client_id",function(b){y=!0,(0,l.sendGaIdMessage)(p,b,v)}),setTimeout(function(){y||h("the tracker with ID ".concat(g," was not found"))},3e3)}else try{var m=function(b,E){return E?b.find(function(O){return O.get("trackingId")===E}):b[0]}(window.ga.getAll(),g);m?(0,l.sendGaIdMessage)(p,m.get("clientId"),v):h("the tracker with ID ".concat(g," was not found"))}catch(b){h("the Google Analytics object was not found"),d(b)}}},4623:function(f,l){Object.defineProperty(l,"__esModule",{value:!0}),l.sleep=void 0,l.sleep=function(d){return new Promise(function(h){return setTimeout(h,d)})}},1451:function(f,l){Object.defineProperty(l,"__esModule",{value:!0}),l.unmountElement=void 0,l.unmountElement=function(d){var h;(h=d.parentNode)===null||h===void 0||h.removeChild(d)}}},c={};return function f(l){var d=c[l];if(d!==void 0)return d.exports;var h=c[l]={exports:{}};return s[l].call(h.exports,h,h.exports,f),h.exports}(1920)}()},156:function(u){u.exports=n}},i={};function a(u){var s=i[u];if(s!==void 0)return s.exports;var c=i[u]={exports:{}};return r[u].call(c.exports,c,c.exports,a),c.exports}a.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),a.o=function(u,s){return Object.prototype.hasOwnProperty.call(u,s)},a.r=function(u){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(u,"__esModule",{value:!0})};var o={};return function(){var u=o;Object.defineProperty(u,"__esModule",{value:!0}),u.Sidetab=u.Popover=u.SliderButton=u.PopupButton=u.Widget=void 0;var s=a(611),c=a(281),f=a(797),l=(0,f.memoComponent)(c.Widget);u.Widget=l;var d=(0,f.memoComponent)((0,c.makeButtonComponent)(s.createPopup,"popup"));u.PopupButton=d;var h=(0,f.memoComponent)((0,c.makeButtonComponent)(s.createSlider,"slider"));u.SliderButton=h;var v=(0,f.memoComponent)((0,c.makeInitializerComponent)(s.createPopover,"popover"));u.Popover=v;var p=(0,f.memoComponent)((0,c.makeInitializerComponent)(s.createSidetab,"sidetab"));u.Sidetab=p}(),o}()})})(iy);var PR=iy.exports,AR={prefix:"far",iconName:"check",icon:[448,512,[10003,10004],"f00c","M441 103c9.4 9.4 9.4 24.6 0 33.9L177 401c-9.4 9.4-24.6 9.4-33.9 0L7 265c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l119 119L407 103c9.4-9.4 24.6-9.4 33.9 0z"]},TR={prefix:"fas",iconName:"shield-check",icon:[512,512,[],"f2f7","M269.4 2.9C265.2 1 260.7 0 256 0s-9.2 1-13.4 2.9L54.3 82.8c-22 9.3-38.4 31-38.3 57.2c.5 99.2 41.3 280.7 213.6 363.2c16.7 8 36.1 8 52.8 0C454.7 420.7 495.5 239.2 496 140c.1-26.2-16.3-47.9-38.3-57.2L269.4 2.9zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]};function mr(e){"@babel/helpers - typeof";return mr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mr(e)}function jd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function VI(e,t){if(e){if(typeof e=="string")return jd(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?jd(e,t):void 0}}function CR(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=VI(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
792
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return o=c.done,c},e:function(c){u=!0,a=c},f:function(){try{o||n.return==null||n.return()}finally{if(u)throw a}}}}function YI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Na(e,t){return Na=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Na(e,t)}function IR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Na(e,t)}function Ma(e){return Ma=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ma(e)}function ay(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ay=function(){return!!e})()}function XI(e,t){if(t&&(mr(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return YI(e)}function LR(e){var t=ay();return function(){var n,r=Ma(e);if(t){var i=Ma(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return XI(this,n)}}function RR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QI(e,t){if(mr(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(mr(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function oy(e){var t=QI(e,"string");return mr(t)=="symbol"?t:t+""}function Bd(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,oy(r.key),r)}}function kR(e,t,n){return t&&Bd(e.prototype,t),n&&Bd(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function NR(e,t,n){return(t=oy(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function JI(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function ZI(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Na(e,t)}function du(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}/*!
|
|
793
793
|
* content-type
|
|
794
794
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
795
795
|
* MIT Licensed
|
|
796
|
-
*/var Fd=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,ZI=/\\([\u000b\u0020-\u00ff])/g,eL=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,tL=nL;function nL(e){if(!e)throw new TypeError("argument string is required");var t=typeof e=="object"?rL(e):e;if(typeof t!="string")throw new TypeError("argument string is required to be a string");var n=t.indexOf(";"),r=n!==-1?t.slice(0,n).trim():t.trim();if(!eL.test(r))throw new TypeError("invalid media type");var i=new iL(r.toLowerCase());if(n!==-1){var a,o,u;for(Fd.lastIndex=n;o=Fd.exec(t);){if(o.index!==n)throw new TypeError("invalid parameter format");n+=o[0].length,a=o[1].toLowerCase(),u=o[2],u.charCodeAt(0)===34&&(u=u.slice(1,-1),u.indexOf("\\")!==-1&&(u=u.replace(ZI,"$1"))),i.parameters[a]=u}if(n!==t.length)throw new TypeError("invalid parameter format")}return i}function rL(e){var t;if(typeof e.getHeader=="function"?t=e.getHeader("content-type"):typeof e.headers=="object"&&(t=e.headers&&e.headers["content-type"]),typeof t!="string")throw new TypeError("content-type header is missing from object");return t}function iL(e){this.parameters=Object.create(null),this.type=e}var Kn=new Map,uy=function(t){return t.cloneNode(!0)},Ud=function(){return window.location.protocol==="file:"},sy=function(t,n,r){var i=new XMLHttpRequest;i.onreadystatechange=function(){try{if(!/\.svg/i.test(t)&&i.readyState===2){var a=i.getResponseHeader("Content-Type");if(!a)throw new Error("Content type not found");var o=tL(a).type;if(!(o==="image/svg+xml"||o==="text/plain"))throw new Error("Invalid content type: ".concat(o))}if(i.readyState===4){if(i.status===404||i.responseXML===null)throw new Error(Ud()?"Note: SVG injection ajax calls do not work locally without adjusting security settings in your browser. Or consider using a local webserver.":"Unable to load SVG file: "+t);if(i.status===200||Ud()&&i.status===0)r(null,i);else throw new Error("There was a problem injecting the SVG: "+i.status+" "+i.statusText)}}catch(u){if(i.abort(),u instanceof Error)r(u,i);else throw u}},i.open("GET",t),i.withCredentials=n,i.overrideMimeType&&i.overrideMimeType("text/xml"),i.send()},Jt={},xd=function(t,n){Jt[t]=Jt[t]||[],Jt[t].push(n)},aL=function(t){for(var n=function(o,u){setTimeout(function(){if(Array.isArray(Jt[t])){var s=Kn.get(t),c=Jt[t][o];s instanceof SVGSVGElement&&c(null,uy(s)),s instanceof Error&&c(s),o===Jt[t].length-1&&delete Jt[t]}},0)},r=0,i=Jt[t].length;r<i;r++)n(r)},oL=function(t,n,r){if(Kn.has(t)){var i=Kn.get(t);if(i===void 0){xd(t,r);return}if(i instanceof SVGSVGElement){r(null,uy(i));return}}Kn.set(t,void 0),xd(t,r),sy(t,n,function(a,o){var u;a?Kn.set(t,a):((u=o.responseXML)===null||u===void 0?void 0:u.documentElement)instanceof SVGSVGElement&&Kn.set(t,o.responseXML.documentElement),aL(t)})},uL=function(t,n,r){sy(t,n,function(i,a){var o;i?r(i):((o=a.responseXML)===null||o===void 0?void 0:o.documentElement)instanceof SVGSVGElement&&r(null,a.responseXML.documentElement)})},sL=0,lL=function(){return++sL},St=[],Hd={},cL="http://www.w3.org/2000/svg",pu="http://www.w3.org/1999/xlink",Kd=function(t,n,r,i,a,o,u){var s=t.getAttribute("data-src")||t.getAttribute("src");if(!s){u(new Error("Invalid data-src or src attribute"));return}if(St.indexOf(t)!==-1){St.splice(St.indexOf(t),1),t=null;return}St.push(t),t.setAttribute("src","");var c=i?oL:uL;c(s,a,function(f,l){if(!l){St.splice(St.indexOf(t),1),t=null,u(f);return}var d=t.getAttribute("id");d&&l.setAttribute("id",d);var h=t.getAttribute("title");h&&l.setAttribute("title",h);var v=t.getAttribute("width");v&&l.setAttribute("width",v);var p=t.getAttribute("height");p&&l.setAttribute("height",p);var _=Array.from(new Set(du(du(du([],(l.getAttribute("class")||"").split(" "),!0),["injected-svg"],!1),(t.getAttribute("class")||"").split(" "),!0))).join(" ").trim();l.setAttribute("class",_);var g=t.getAttribute("style");g&&l.setAttribute("style",g),l.setAttribute("data-src",s);var y=[].filter.call(t.attributes,function(B){return/^data-\w[\w-]*$/.test(B.name)});if(Array.prototype.forEach.call(y,function(B){B.name&&B.value&&l.setAttribute(B.name,B.value)}),r){var m={clipPath:["clip-path"],"color-profile":["color-profile"],cursor:["cursor"],filter:["filter"],linearGradient:["fill","stroke"],marker:["marker","marker-start","marker-mid","marker-end"],mask:["mask"],path:[],pattern:["fill","stroke"],radialGradient:["fill","stroke"]},b,E,O,S,w;Object.keys(m).forEach(function(B){b=B,O=m[B],E=l.querySelectorAll(b+"[id]");for(var Y=function(U,q){S=E[U].id,w=S+"-"+lL();var H;Array.prototype.forEach.call(O,function(ft){H=l.querySelectorAll("["+ft+'*="'+S+'"]');for(var be=0,vn=H.length;be<vn;be++){var jn=H[be].getAttribute(ft);jn&&!jn.match(new RegExp('url\\("?#'+S+'"?\\)'))||H[be].setAttribute(ft,"url(#"+w+")")}});for(var ne=l.querySelectorAll("[*|href]"),le=[],te=0,Q=ne.length;te<Q;te++){var oe=ne[te].getAttributeNS(pu,"href");oe&&oe.toString()==="#"+E[U].id&&le.push(ne[te])}for(var ie=0,ge=le.length;ie<ge;ie++)le[ie].setAttributeNS(pu,"href","#"+w);E[U].id=w},z=0,X=E.length;z<X;z++)Y(z)})}l.removeAttribute("xmlns:a");for(var P=l.querySelectorAll("script"),A=[],L,D,j=0,I=P.length;j<I;j++)D=P[j].getAttribute("type"),(!D||D==="application/ecmascript"||D==="application/javascript"||D==="text/javascript")&&(L=P[j].innerText||P[j].textContent,L&&A.push(L),l.removeChild(P[j]));if(A.length>0&&(n==="always"||n==="once"&&!Hd[s])){for(var C=0,R=A.length;C<R;C++)new Function(A[C])(window);Hd[s]=!0}var $=l.querySelectorAll("style");if(Array.prototype.forEach.call($,function(B){B.textContent+=""}),l.setAttribute("xmlns",cL),l.setAttribute("xmlns:xlink",pu),o(l),!t.parentNode){St.splice(St.indexOf(t),1),t=null,u(new Error("Parent node is null"));return}t.parentNode.replaceChild(l,t),St.splice(St.indexOf(t),1),t=null,u(null,l)})},fL=function(t,n){var r=n===void 0?{}:n,i=r.afterAll,a=i===void 0?function(){}:i,o=r.afterEach,u=o===void 0?function(){}:o,s=r.beforeEach,c=s===void 0?function(){}:s,f=r.cacheRequests,l=f===void 0?!0:f,d=r.evalScripts,h=d===void 0?"never":d,v=r.httpRequestWithCredentials,p=v===void 0?!1:v,_=r.renumerateIRIElements,g=_===void 0?!0:_;if(t&&"length"in t)for(var y=0,m=0,b=t.length;m<b;m++)Kd(t[m],h,g,l,p,c,function(E,O){u(E,O),t&&"length"in t&&t.length===++y&&a(y)});else t?Kd(t,h,g,l,p,c,function(E,O){u(E,O),a(1),t=null}):a(0)},dL=function(t){var n=(t==null?void 0:t.ownerDocument)||document;return n.defaultView||window},pL=function(t,n){for(var r in t)if(!(r in n))return!0;for(var i in n)if(t[i]!==n[i])return!0;return!1},hL=["afterInjection","beforeInjection","desc","evalScripts","fallback","httpRequestWithCredentials","loading","renumerateIRIElements","src","title","useRequestCache","wrapper"],Wi="http://www.w3.org/2000/svg",Wd="http://www.w3.org/1999/xlink",ly=function(e){function t(){for(var r,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=e.call.apply(e,[this].concat(a))||this,r.initialState={hasError:!1,isLoading:!0},r.state=r.initialState,r._isMounted=!1,r.reactWrapper=void 0,r.nonReactWrapper=void 0,r.refCallback=function(u){r.reactWrapper=u},r}JI(t,e);var n=t.prototype;return n.renderSVG=function(){var i=this;if(this.reactWrapper instanceof dL(this.reactWrapper).Node){var a=this.props,o=a.desc,u=a.evalScripts,s=a.httpRequestWithCredentials,c=a.renumerateIRIElements,f=a.src,l=a.title,d=a.useRequestCache,h=this.props.onError,v=this.props.beforeInjection,p=this.props.afterInjection,_=this.props.wrapper,g,y;_==="svg"?(g=document.createElementNS(Wi,_),g.setAttribute("xmlns",Wi),g.setAttribute("xmlns:xlink",Wd),y=document.createElementNS(Wi,_)):(g=document.createElement(_),y=document.createElement(_)),g.appendChild(y),y.dataset.src=f,this.nonReactWrapper=this.reactWrapper.appendChild(g);var m=function(S){if(i.removeSVG(),!i._isMounted){h(S);return}i.setState(function(){return{hasError:!0,isLoading:!1}},function(){h(S)})},b=function(S,w){if(S){m(S);return}i._isMounted&&i.setState(function(){return{isLoading:!1}},function(){try{p(w)}catch(P){m(P)}})},E=function(S){if(S.setAttribute("role","img"),o){var w=S.querySelector(":scope > desc");w&&S.removeChild(w);var P=document.createElement("desc");P.innerHTML=o,S.prepend(P)}if(l){var A=S.querySelector(":scope > title");A&&S.removeChild(A);var L=document.createElement("title");L.innerHTML=l,S.prepend(L)}try{v(S)}catch(D){m(D)}};fL(y,{afterEach:b,beforeEach:E,cacheRequests:d,evalScripts:u,httpRequestWithCredentials:s,renumerateIRIElements:c})}},n.removeSVG=function(){var i;(i=this.nonReactWrapper)!=null&&i.parentNode&&(this.nonReactWrapper.parentNode.removeChild(this.nonReactWrapper),this.nonReactWrapper=null)},n.componentDidMount=function(){this._isMounted=!0,this.renderSVG()},n.componentDidUpdate=function(i){var a=this;pL(ur({},i),this.props)&&this.setState(function(){return a.initialState},function(){a.removeSVG(),a.renderSVG()})},n.componentWillUnmount=function(){this._isMounted=!1,this.removeSVG()},n.render=function(){var i=this.props;i.afterInjection,i.beforeInjection,i.desc,i.evalScripts;var a=i.fallback;i.httpRequestWithCredentials;var o=i.loading;i.renumerateIRIElements,i.src,i.title,i.useRequestCache;var u=i.wrapper,s=QI(i,hL),c=u;return F(c,ur({},s,{ref:this.refCallback},u==="svg"?{xmlns:Wi,xmlnsXlink:Wd}:{}),this.state.isLoading&&o&&F(o,null),this.state.hasError&&a&&F(a,null))},t}(nt);ly.defaultProps={afterInjection:function(){},beforeInjection:function(){},desc:"",evalScripts:"never",fallback:null,httpRequestWithCredentials:!1,loading:null,onError:function(){},renumerateIRIElements:!0,title:"",useRequestCache:!0,wrapper:"div"};ly.propTypes={afterInjection:Te.func,beforeInjection:Te.func,desc:Te.string,evalScripts:Te.oneOf(["always","once","never"]),fallback:Te.oneOfType([Te.func,Te.object,Te.string]),httpRequestWithCredentials:Te.bool,loading:Te.oneOfType([Te.func,Te.object,Te.string]),onError:Te.func,renumerateIRIElements:Te.bool,src:Te.string.isRequired,title:Te.string,useRequestCache:Te.bool,wrapper:Te.oneOf(["div","span","svg"])};export{uR as $,lr as A,BL as B,FL as C,xs as D,Vy as E,ce as F,je as G,wL as H,UL as I,ct as J,NL as K,LL as L,Ua as M,ML as N,yh as O,cb as P,p0 as Q,kL as R,s0 as S,Zt as T,wh as U,Wp as V,Yb as W,SL as X,we as Y,KL as Z,In as _,It as a,$L as a$,VL as a0,WL as a1,qL as a2,sR as a3,Hs as a4,lR as a5,cR as a6,fR as a7,XL as a8,QL as a9,GL as aA,vR as aB,ln as aC,jL as aD,Tb as aE,dR as aF,ly as aG,Yp as aH,Zp as aI,OL as aJ,EL as aK,_L as aL,AL as aM,PL as aN,xr as aO,qp as aP,bR as aQ,Hp as aR,nt as aS,eR as aT,mR as aU,wR as aV,pR as aW,_R as aX,zL as aY,Tp as aZ,DL as a_,rT as aa,nT as ab,co as ac,hT as ad,dT as ae,fT as af,cT as ag,pT as ah,Xl as ai,yL as aj,mL as ak,yR as al,ER as am,rr as an,SR as ao,y0 as ap,bL as aq,Ye as ar,MI as as,HL as at,OR as au,PR as av,AR as aw,hR as ax,JL as ay,RL as az,Wl as b,gR as b0,ZL as b1,YL as b2,iR as b3,oR as b4,tR as b5,Cs as b6,ks as b7,nR as b8,aR as b9,rR as ba,mr as c,CR as d,IR as e,RR as f,LR as g,kR as h,VI as i,TR as j,ae as k,ph as l,CL as m,pe as n,F as o,de as p,ke as q,xe as r,IL as s,Dg as t,TL as u,Gi as v,Z as w,br as x,$n as y,gL as z};
|
|
796
|
+
*/var Fd=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,eL=/\\([\u000b\u0020-\u00ff])/g,tL=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,nL=rL;function rL(e){if(!e)throw new TypeError("argument string is required");var t=typeof e=="object"?iL(e):e;if(typeof t!="string")throw new TypeError("argument string is required to be a string");var n=t.indexOf(";"),r=n!==-1?t.slice(0,n).trim():t.trim();if(!tL.test(r))throw new TypeError("invalid media type");var i=new aL(r.toLowerCase());if(n!==-1){var a,o,u;for(Fd.lastIndex=n;o=Fd.exec(t);){if(o.index!==n)throw new TypeError("invalid parameter format");n+=o[0].length,a=o[1].toLowerCase(),u=o[2],u.charCodeAt(0)===34&&(u=u.slice(1,-1),u.indexOf("\\")!==-1&&(u=u.replace(eL,"$1"))),i.parameters[a]=u}if(n!==t.length)throw new TypeError("invalid parameter format")}return i}function iL(e){var t;if(typeof e.getHeader=="function"?t=e.getHeader("content-type"):typeof e.headers=="object"&&(t=e.headers&&e.headers["content-type"]),typeof t!="string")throw new TypeError("content-type header is missing from object");return t}function aL(e){this.parameters=Object.create(null),this.type=e}var Kn=new Map,uy=function(t){return t.cloneNode(!0)},Ud=function(){return window.location.protocol==="file:"},sy=function(t,n,r){var i=new XMLHttpRequest;i.onreadystatechange=function(){try{if(!/\.svg/i.test(t)&&i.readyState===2){var a=i.getResponseHeader("Content-Type");if(!a)throw new Error("Content type not found");var o=nL(a).type;if(!(o==="image/svg+xml"||o==="text/plain"))throw new Error("Invalid content type: ".concat(o))}if(i.readyState===4){if(i.status===404||i.responseXML===null)throw new Error(Ud()?"Note: SVG injection ajax calls do not work locally without adjusting security settings in your browser. Or consider using a local webserver.":"Unable to load SVG file: "+t);if(i.status===200||Ud()&&i.status===0)r(null,i);else throw new Error("There was a problem injecting the SVG: "+i.status+" "+i.statusText)}}catch(u){if(i.abort(),u instanceof Error)r(u,i);else throw u}},i.open("GET",t),i.withCredentials=n,i.overrideMimeType&&i.overrideMimeType("text/xml"),i.send()},Jt={},xd=function(t,n){Jt[t]=Jt[t]||[],Jt[t].push(n)},oL=function(t){for(var n=function(o,u){setTimeout(function(){if(Array.isArray(Jt[t])){var s=Kn.get(t),c=Jt[t][o];s instanceof SVGSVGElement&&c(null,uy(s)),s instanceof Error&&c(s),o===Jt[t].length-1&&delete Jt[t]}},0)},r=0,i=Jt[t].length;r<i;r++)n(r)},uL=function(t,n,r){if(Kn.has(t)){var i=Kn.get(t);if(i===void 0){xd(t,r);return}if(i instanceof SVGSVGElement){r(null,uy(i));return}}Kn.set(t,void 0),xd(t,r),sy(t,n,function(a,o){var u;a?Kn.set(t,a):((u=o.responseXML)===null||u===void 0?void 0:u.documentElement)instanceof SVGSVGElement&&Kn.set(t,o.responseXML.documentElement),oL(t)})},sL=function(t,n,r){sy(t,n,function(i,a){var o;i?r(i):((o=a.responseXML)===null||o===void 0?void 0:o.documentElement)instanceof SVGSVGElement&&r(null,a.responseXML.documentElement)})},lL=0,cL=function(){return++lL},St=[],Hd={},fL="http://www.w3.org/2000/svg",pu="http://www.w3.org/1999/xlink",Kd=function(t,n,r,i,a,o,u){var s=t.getAttribute("data-src")||t.getAttribute("src");if(!s){u(new Error("Invalid data-src or src attribute"));return}if(St.indexOf(t)!==-1){St.splice(St.indexOf(t),1),t=null;return}St.push(t),t.setAttribute("src","");var c=i?uL:sL;c(s,a,function(f,l){if(!l){St.splice(St.indexOf(t),1),t=null,u(f);return}var d=t.getAttribute("id");d&&l.setAttribute("id",d);var h=t.getAttribute("title");h&&l.setAttribute("title",h);var v=t.getAttribute("width");v&&l.setAttribute("width",v);var p=t.getAttribute("height");p&&l.setAttribute("height",p);var _=Array.from(new Set(du(du(du([],(l.getAttribute("class")||"").split(" "),!0),["injected-svg"],!1),(t.getAttribute("class")||"").split(" "),!0))).join(" ").trim();l.setAttribute("class",_);var g=t.getAttribute("style");g&&l.setAttribute("style",g),l.setAttribute("data-src",s);var y=[].filter.call(t.attributes,function(B){return/^data-\w[\w-]*$/.test(B.name)});if(Array.prototype.forEach.call(y,function(B){B.name&&B.value&&l.setAttribute(B.name,B.value)}),r){var m={clipPath:["clip-path"],"color-profile":["color-profile"],cursor:["cursor"],filter:["filter"],linearGradient:["fill","stroke"],marker:["marker","marker-start","marker-mid","marker-end"],mask:["mask"],path:[],pattern:["fill","stroke"],radialGradient:["fill","stroke"]},b,E,O,S,w;Object.keys(m).forEach(function(B){b=B,O=m[B],E=l.querySelectorAll(b+"[id]");for(var Y=function(U,q){S=E[U].id,w=S+"-"+cL();var H;Array.prototype.forEach.call(O,function(ft){H=l.querySelectorAll("["+ft+'*="'+S+'"]');for(var be=0,vn=H.length;be<vn;be++){var jn=H[be].getAttribute(ft);jn&&!jn.match(new RegExp('url\\("?#'+S+'"?\\)'))||H[be].setAttribute(ft,"url(#"+w+")")}});for(var ne=l.querySelectorAll("[*|href]"),le=[],te=0,Q=ne.length;te<Q;te++){var oe=ne[te].getAttributeNS(pu,"href");oe&&oe.toString()==="#"+E[U].id&&le.push(ne[te])}for(var ie=0,ge=le.length;ie<ge;ie++)le[ie].setAttributeNS(pu,"href","#"+w);E[U].id=w},z=0,X=E.length;z<X;z++)Y(z)})}l.removeAttribute("xmlns:a");for(var P=l.querySelectorAll("script"),A=[],L,D,j=0,I=P.length;j<I;j++)D=P[j].getAttribute("type"),(!D||D==="application/ecmascript"||D==="application/javascript"||D==="text/javascript")&&(L=P[j].innerText||P[j].textContent,L&&A.push(L),l.removeChild(P[j]));if(A.length>0&&(n==="always"||n==="once"&&!Hd[s])){for(var C=0,R=A.length;C<R;C++)new Function(A[C])(window);Hd[s]=!0}var $=l.querySelectorAll("style");if(Array.prototype.forEach.call($,function(B){B.textContent+=""}),l.setAttribute("xmlns",fL),l.setAttribute("xmlns:xlink",pu),o(l),!t.parentNode){St.splice(St.indexOf(t),1),t=null,u(new Error("Parent node is null"));return}t.parentNode.replaceChild(l,t),St.splice(St.indexOf(t),1),t=null,u(null,l)})},dL=function(t,n){var r=n===void 0?{}:n,i=r.afterAll,a=i===void 0?function(){}:i,o=r.afterEach,u=o===void 0?function(){}:o,s=r.beforeEach,c=s===void 0?function(){}:s,f=r.cacheRequests,l=f===void 0?!0:f,d=r.evalScripts,h=d===void 0?"never":d,v=r.httpRequestWithCredentials,p=v===void 0?!1:v,_=r.renumerateIRIElements,g=_===void 0?!0:_;if(t&&"length"in t)for(var y=0,m=0,b=t.length;m<b;m++)Kd(t[m],h,g,l,p,c,function(E,O){u(E,O),t&&"length"in t&&t.length===++y&&a(y)});else t?Kd(t,h,g,l,p,c,function(E,O){u(E,O),a(1),t=null}):a(0)},pL=function(t){var n=(t==null?void 0:t.ownerDocument)||document;return n.defaultView||window},hL=function(t,n){for(var r in t)if(!(r in n))return!0;for(var i in n)if(t[i]!==n[i])return!0;return!1},vL=["afterInjection","beforeInjection","desc","evalScripts","fallback","httpRequestWithCredentials","loading","renumerateIRIElements","src","title","useRequestCache","wrapper"],Wi="http://www.w3.org/2000/svg",Wd="http://www.w3.org/1999/xlink",ly=function(e){function t(){for(var r,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=e.call.apply(e,[this].concat(a))||this,r.initialState={hasError:!1,isLoading:!0},r.state=r.initialState,r._isMounted=!1,r.reactWrapper=void 0,r.nonReactWrapper=void 0,r.refCallback=function(u){r.reactWrapper=u},r}ZI(t,e);var n=t.prototype;return n.renderSVG=function(){var i=this;if(this.reactWrapper instanceof pL(this.reactWrapper).Node){var a=this.props,o=a.desc,u=a.evalScripts,s=a.httpRequestWithCredentials,c=a.renumerateIRIElements,f=a.src,l=a.title,d=a.useRequestCache,h=this.props.onError,v=this.props.beforeInjection,p=this.props.afterInjection,_=this.props.wrapper,g,y;_==="svg"?(g=document.createElementNS(Wi,_),g.setAttribute("xmlns",Wi),g.setAttribute("xmlns:xlink",Wd),y=document.createElementNS(Wi,_)):(g=document.createElement(_),y=document.createElement(_)),g.appendChild(y),y.dataset.src=f,this.nonReactWrapper=this.reactWrapper.appendChild(g);var m=function(S){if(i.removeSVG(),!i._isMounted){h(S);return}i.setState(function(){return{hasError:!0,isLoading:!1}},function(){h(S)})},b=function(S,w){if(S){m(S);return}i._isMounted&&i.setState(function(){return{isLoading:!1}},function(){try{p(w)}catch(P){m(P)}})},E=function(S){if(S.setAttribute("role","img"),o){var w=S.querySelector(":scope > desc");w&&S.removeChild(w);var P=document.createElement("desc");P.innerHTML=o,S.prepend(P)}if(l){var A=S.querySelector(":scope > title");A&&S.removeChild(A);var L=document.createElement("title");L.innerHTML=l,S.prepend(L)}try{v(S)}catch(D){m(D)}};dL(y,{afterEach:b,beforeEach:E,cacheRequests:d,evalScripts:u,httpRequestWithCredentials:s,renumerateIRIElements:c})}},n.removeSVG=function(){var i;(i=this.nonReactWrapper)!=null&&i.parentNode&&(this.nonReactWrapper.parentNode.removeChild(this.nonReactWrapper),this.nonReactWrapper=null)},n.componentDidMount=function(){this._isMounted=!0,this.renderSVG()},n.componentDidUpdate=function(i){var a=this;hL(ur({},i),this.props)&&this.setState(function(){return a.initialState},function(){a.removeSVG(),a.renderSVG()})},n.componentWillUnmount=function(){this._isMounted=!1,this.removeSVG()},n.render=function(){var i=this.props;i.afterInjection,i.beforeInjection,i.desc,i.evalScripts;var a=i.fallback;i.httpRequestWithCredentials;var o=i.loading;i.renumerateIRIElements,i.src,i.title,i.useRequestCache;var u=i.wrapper,s=JI(i,vL),c=u;return F(c,ur({},s,{ref:this.refCallback},u==="svg"?{xmlns:Wi,xmlnsXlink:Wd}:{}),this.state.isLoading&&o&&F(o,null),this.state.hasError&&a&&F(a,null))},t}(nt);ly.defaultProps={afterInjection:function(){},beforeInjection:function(){},desc:"",evalScripts:"never",fallback:null,httpRequestWithCredentials:!1,loading:null,onError:function(){},renumerateIRIElements:!0,title:"",useRequestCache:!0,wrapper:"div"};ly.propTypes={afterInjection:Te.func,beforeInjection:Te.func,desc:Te.string,evalScripts:Te.oneOf(["always","once","never"]),fallback:Te.oneOfType([Te.func,Te.object,Te.string]),httpRequestWithCredentials:Te.bool,loading:Te.oneOfType([Te.func,Te.object,Te.string]),onError:Te.func,renumerateIRIElements:Te.bool,src:Te.string.isRequired,title:Te.string,useRequestCache:Te.bool,wrapper:Te.oneOf(["div","span","svg"])};function cy(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=cy(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function MR(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=cy(e))&&(r&&(r+=" "),r+=t);return r}export{sR as $,lr as A,FL as B,UL as C,xs as D,Yy as E,ce as F,je as G,EL as H,xL as I,ct as J,ML as K,RL as L,Ua as M,DL as N,yh as O,fb as P,h0 as Q,NL as R,l0 as S,Zt as T,wh as U,Wp as V,Xb as W,OL as X,we as Y,WL as Z,In as _,It as a,$L as a$,YL as a0,zL as a1,GL as a2,lR as a3,Hs as a4,cR as a5,fR as a6,dR as a7,QL as a8,JL as a9,VL as aA,mR as aB,ln as aC,BL as aD,Cb as aE,pR as aF,ly as aG,Yp as aH,MR as aI,Zp as aJ,PL as aK,SL as aL,wL as aM,TL as aN,AL as aO,xr as aP,qp as aQ,_R as aR,Hp as aS,nt as aT,tR as aU,yR as aV,ER as aW,hR as aX,wR as aY,qL as aZ,Tp as a_,iT as aa,rT as ab,co as ac,vT as ad,pT as ae,dT as af,fT as ag,hT as ah,Xl as ai,gL as aj,yL as ak,gR as al,SR as am,rr as an,OR as ao,g0 as ap,_L as aq,Ye as ar,DI as as,KL as at,PR as au,AR as av,TR as aw,vR as ax,ZL as ay,kL as az,Wl as b,jL as b0,bR as b1,eR as b2,XL as b3,aR as b4,uR as b5,nR as b6,Cs as b7,ks as b8,rR as b9,oR as ba,iR as bb,mr as c,IR as d,LR as e,kR as f,RR as g,NR as h,YI as i,CR as j,ae as k,ph as l,IL as m,pe as n,F as o,de as p,ke as q,xe as r,LL as s,$g as t,CL as u,Gi as v,Z as w,br as x,$n as y,bL as z};
|