@flarehr/apollo-benefits 1.4.64494 → 1.4.64613
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/{datadog-e3014c1c.js → datadog-13fa987e.js} +1 -1
- package/dist/assets/{date-fns-67058d5e.js → date-fns-1aaef347.js} +1 -1
- package/dist/assets/{framer-motion-04b6ba80.js → framer-motion-7d482d44.js} +1 -1
- package/dist/assets/{index-6f2f52ab.js → index-66c7c299.js} +2 -2
- package/dist/assets/{index-a2177cb4.js → index-f83759b9.js} +1 -1
- package/dist/assets/{vendor-5ccb9b99.js → vendor-fefcaaa7.js} +23 -23
- package/dist/index.html +5 -5
- package/package.json +1 -1
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import{g as si,c as J,a as
|
|
1
|
+
import{g as si,c as J,a as Kd,i as Kl,b as Ai}from"./lodash-5d893f8c.js";const zi={type:null,entityIds:null,skip:!1,payload:null};let ws=!1;function Ay(){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 Ty(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 Gr(e,t){return e.hasOwnProperty(t)}function Pt(e){return Array.isArray(e)}function Wd(e){return e.hasOwnProperty("active")}function zd(e){return Pt(e)}function qd({active:e,ids:t,entities:n}){return zd(e)?Cy(e,t):Gr(n,e)===!1?null:e}function Cy(e,t){const n=e.filter(r=>t.indexOf(r)>-1);return n.length===e.length?e:n}function Iy({state:e,entities:t,idKey:n,options:r={},preAddEntity:i}){let a={},o=[],u=!1;for(const s of t)if(Gr(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)}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 Ly(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 Gd(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 Ry(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 ky(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 Vd(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=Vd(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{Hl(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)Hl(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 Gd(e){return e instanceof li||e&&"closed"in e&&fe(e.remove)&&fe(e.add)&&fe(e.unsubscribe)}function Hl(e){fe(e)?e():e.unsubscribe()}var Vd={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},pu={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=pu.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=pu.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Yd(e){pu.setTimeout(function(){throw e})}function hu(){}function qi(e){e()}var ws=function(e){It(t,e);function t(n){var r=e.call(this)||this;return r.isStopped=!1,n?(r.destination=n,Gd(n)&&n.add(r)):r.destination=Ny,r}return t.create=function(n,r,i){return new vu(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),Ly=Function.prototype.bind;function vo(e,t){return Ly.call(e,t)}var Ry=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}(),vu=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&&Vd.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 Ry(o),a}return t}(ws);function Ti(e){Yd(e)}function ky(e){throw e}var Ny={closed:!0,next:hu,error:ky,complete:hu},Es=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function yr(e){return e}function My(e){return e.length===0?yr: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=$y(t)?t:new vu(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=Kl(n),new n(function(i,a){var o=new vu({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[Es]=function(){return this},e.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return My(t)(this)},e.prototype.toPromise=function(t){var n=this;return t=Kl(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 Kl(e){var t;return(t=e??Vd.Promise)!==null&&t!==void 0?t:Promise}function Dy(e){return e&&fe(e.next)&&fe(e.error)&&fe(e.complete)}function $y(e){return e&&e instanceof ws||Dy(e)&&Gd(e)}function jy(e){return fe(e==null?void 0:e.lift)}function lt(e){return function(t){if(jy(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 By(e,t,n,r,i)}var By=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}(ws),Fy=zd(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 Wl(this,this);return r.operator=n,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new Fy},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 Wl(n,r)},t}(qe),Wl=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),Ss={now:function(){return(Ss.delegate||Date).now()},delegate:void 0},Xd=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=Ss);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),Uy=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},xy=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}(Uy),zl=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=Ss.now,e}(),Hy=function(e){It(t,e);function t(n,r){r===void 0&&(r=zl.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}(zl),Da=new Hy(xy),Ky=Da,Wy=new qe(function(e){return e.complete()});function Qd(e){return e&&fe(e.schedule)}function Jd(e){return e[e.length-1]}function zy(e){return fe(Jd(e))?e.pop():void 0}function Os(e){return Qd(Jd(e))?e.pop():void 0}var Ps=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function Zd(e){return fe(e==null?void 0:e.then)}function ep(e){return fe(e[Es])}function tp(e){return Symbol.asyncIterator&&fe(e==null?void 0:e[Symbol.asyncIterator])}function np(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 rp=qy();function ip(e){return fe(e==null?void 0:e[rp])}function ap(e){return Cy(this,arguments,function(){var n,r,i,a;return Wd(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 op(e){return fe(e==null?void 0:e.getReader)}function zt(e){if(e instanceof qe)return e;if(e!=null){if(ep(e))return Gy(e);if(Ps(e))return Vy(e);if(Zd(e))return Yy(e);if(tp(e))return up(e);if(ip(e))return Xy(e);if(op(e))return Qy(e)}throw np(e)}function Gy(e){return new qe(function(t){var n=e[Es]();if(fe(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Vy(e){return new qe(function(t){for(var n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Yy(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,Yd)})}function Xy(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 up(e){return new qe(function(t){Jy(e,t).catch(function(n){return t.error(n)})})}function Qy(e){return up(ap(e))}function Jy(e,t){var n,r,i,a;return Ty(this,void 0,void 0,function(){var o,u;return Wd(this,function(s){switch(s.label){case 0:s.trys.push([0,5,6,11]),n=Iy(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 sp(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 lp(e,t){return t===void 0&&(t=0),lt(function(n,r){r.add(e.schedule(function(){return n.subscribe(r)},t))})}function Zy(e,t){return zt(e).pipe(lp(t),sp(t))}function eg(e,t){return zt(e).pipe(lp(t),sp(t))}function tg(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 ng(e,t){return new qe(function(n){var r;return $t(n,t,function(){r=e[rp](),$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 cp(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 rg(e,t){return cp(ap(e),t)}function ig(e,t){if(e!=null){if(ep(e))return Zy(e,t);if(Ps(e))return tg(e,t);if(Zd(e))return eg(e,t);if(tp(e))return cp(e,t);if(ip(e))return ng(e,t);if(op(e))return rg(e,t)}throw np(e)}function gr(e,t){return t?ig(e,t):zt(e)}function As(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Os(e);return gr(e,n)}function fp(e){return!!e&&(e instanceof qe||fe(e.lift)&&fe(e.subscribe))}function ag(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 og=Array.isArray;function ug(e,t){return og(t)?e.apply(void 0,In([],sn(t))):e(t)}function dp(e){return Ye(function(t){return ug(e,t)})}var sg=Array.isArray,lg=Object.getPrototypeOf,cg=Object.prototype,fg=Object.keys;function dg(e){if(e.length===1){var t=e[0];if(sg(t))return{args:t,keys:null};if(pg(t)){var n=fg(t);return{args:n.map(function(r){return t[r]}),keys:n}}}return{args:e,keys:null}}function pg(e){return e&&typeof e=="object"&&lg(e)===cg}function hg(e,t){return e.reduce(function(n,r,i){return n[r]=t[i],n},{})}function vg(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Os(e),r=zy(e),i=dg(e),a=i.args,o=i.keys;if(a.length===0)return gr([],n);var u=new qe(mg(a,n,o?function(s){return hg(o,s)}:yr));return r?u.pipe(dp(r)):u}function mg(e,t,n){return n===void 0&&(n=yr),function(r){ql(t,function(){for(var i=e.length,a=new Array(i),o=i,u=i,s=function(f){ql(t,function(){var l=gr(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 ql(e,t,n){e?$t(n,e,t):t()}function yg(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 yg(r,i,e,n)}))}function gg(e){return e===void 0&&(e=1/0),$a(yr,e)}function bg(){return gg(1)}function _g(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return bg()(gr(e,Os(e)))}var wg=["addListener","removeListener"],Eg=["addEventListener","removeEventListener"],Sg=["on","off"];function Gl(e,t,n,r){if(fe(n)&&(r=n,n=void 0),r)return Gl(e,t,n).pipe(dp(r));var i=sn(Ag(e)?Eg.map(function(u){return function(s){return e[u](t,s,n)}}):Og(e)?wg.map(Vl(e,t)):Pg(e)?Sg.map(Vl(e,t)):[],2),a=i[0],o=i[1];if(!a&&Ps(e))return $a(function(u){return Gl(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 Vl(e,t){return function(n){return function(r){return e[n](t,r)}}}function Og(e){return fe(e.addListener)&&fe(e.removeListener)}function Pg(e){return fe(e.on)&&fe(e.off)}function Ag(e){return fe(e.addEventListener)&&fe(e.removeEventListener)}function pp(e,t,n){e===void 0&&(e=0),n===void 0&&(n=Ky);var r=-1;return t!=null&&(Qd(t)?n=t:r=t),new qe(function(i){var a=ag(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 Tg(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 Cg(e,t){return t===void 0&&(t=Da),Tg(function(){return pp(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 mu(e){return e<=0?function(){return Wy}:lt(function(t,n){var r=0;t.subscribe(Ve(n,function(i){++r<=e&&(n.next(i),e<=r&&n.complete())}))})}function Ig(){return lt(function(e,t){e.subscribe(Ve(t,hu))})}function Lg(e){return Ye(function(){return e})}function hp(e,t){return t?function(n){return _g(t.pipe(mu(1),Ig()),n.pipe(hp(e)))}:$a(function(n,r){return zt(e(n,r)).pipe(mu(1),Lg(n))})}function Rg(e,t){t===void 0&&(t=Da);var n=pp(e,t);return hp(function(){return n})}function Vr(e,t){return t===void 0&&(t=yr),e=e??kg,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 kg(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 Ng(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)}))}):yr}const Mg="id";function Lt(e){return Pt(e)?e.length===0:!1}function Le(e){return typeof e=="function"}function Dg(){return Vr((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 Ts(e){const t=typeof e;return e!=null&&(t=="object"||t=="function")}function bL(e){return vg(e).pipe(Cg(0))}let vp={resettable:!1,ttl:null,producerFn:void 0};function Yl(){return vp}function $g(){return vp.producerFn}function la(e){return gt(e)===!1}const mp=new Ut,yp=new Xd(50,5e3),jg=new Ut;function Bg(e){mp.next(e)}function Fg(e){yp.next(e)}function Ug(e,t){jg.next({storeName:e,action:t})}const Ba=typeof window<"u",xg=!Ba,Xl=()=>{try{return typeof localStorage<"u"}catch{return!1}},Hg=()=>{try{return typeof sessionStorage<"u"}catch{return!1}},At={},gp={};Ba&&(window.$$stores=At,window.$$queries=gp);var ca;(function(e){e.ASC="asc",e.DESC="desc"})(ca||(ca={}));function Kg(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 Wg(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:Kg(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 zg(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 Cs=!0;function _L(){Cs=!1,Ba&&(delete window.$$stores,delete window.$$queries)}function Ce(){return Cs}function qg(e,t,n){let r;if(Pt(e))r=e;else if(Ts(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 Gg=()=>({entities:{},ids:[],loading:!0,error:null});function Wn(e){return e===void 0}function Vg({state:e,ids:t}){if(gt(t))return Yg(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 xd(e)&&(i.active=Kd(i)),i}function Yg(e){return{...e,entities:{},ids:[],active:Hd(e.active)?[]:null}}function Xg(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 Qg(e){return e.entities&&e.ids}function Ql(e,t){let n={};for(const r of Object.keys(e))n[r]=t(e[r]);return n}function Jg({state:e,entities:t,idKey:n,preAddEntity:r,isNativePreAdd:i}){let a,o;if(Pt(t)){const s=Xg(t,n,r);a=s.entities,o=s.ids}else Qg(t)?(a=i?t.entities:Ql(t.entities,r),o=t.ids):(a=i?t:Ql(t,r),o=Object.keys(a).map(s=>isNaN(s)?s:Number(s)));const u={...e,entities:a,ids:o,loading:!1};return xd(e)&&(u.active=Kd(u)),u}function bp(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])&&bp(e[r])}),e}function Zg(e,t){e||console.error(`@StoreConfig({ name }) is missing in ${t}`)}function Is(e){return e!=null&&`${e}`!="false"}function yu(e){return Is(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 e0=new Ut,_p=new ua(!1),rn={activeTransactions:0,batchTransaction:null};function t0(){wp()||(rn.batchTransaction=new Ut),rn.activeTransactions++,_p.next(!0)}function n0(){--rn.activeTransactions===0&&(rn.batchTransaction.next(!0),rn.batchTransaction.complete(),_p.next(!1),e0.next(!0))}function wp(){return rn.activeTransactions>0}function r0(){return rn.batchTransaction?rn.batchTransaction.asObservable():As(!0)}function Ls(e,t=void 0){t0();try{return e.apply(t)}finally{Qn("@Transaction"),n0()}}function Ep(){return function(e,t,n){const r=n.value;return n.value=function(...i){return Ls(()=>r.apply(this,i),this)},n}}class i0{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)),Vr())}_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||bp}get cacheConfig(){return this.config.cache||this.options.cache}get _producerFn(){return this.config.producerFn||this.options.producerFn||$g()}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=Cs?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&&Ug(this.storeName,r)});return}if(wp()){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=yu(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],Bg(this.storeName),this.setHasCache(!1),this.cache.active.complete(),this.store.complete())}onInit(t){At[this.storeName]=this,this._setState(()=>t),Fg(this.storeName),this.isResettable()&&(this._initialState=t),Ce()&&Zg(this.storeName,this.constructor.name)}dispatch(t,n=!0){let r;n&&(r=zi,Sy()),this.store.next({state:t,action:r})}watchTransaction(){r0().subscribe(()=>{this.inTransaction=!1,this.dispatch(this._value())})}isResettable(){return this.resettable===!1?!1:this.resettable||Yl().resettable}handleTransaction(){this.inTransaction||(this.watchTransaction(),this.inTransaction=!0)}getCacheTTL(){return this.cacheConfig&&this.cacheConfig.ttl||Yl().ttl}}function a0({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(Gr(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};yu(h)?_=g:yu(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 Jl;class rr extends i0{constructor(t={},n={}){super({...Gg(),...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||Mg}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=Jg({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=Ay({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=>a0({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=>Gr(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(Gr(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=>Vg({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 Zl(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 Zl}}_s([Ep(),Dt("design:type",Function),Dt("design:paramtypes",[Object,Object,Object,Object]),Dt("design:returntype",void 0)],rr.prototype,"upsert",null);_s([Ep(),Dt("design:type",Function),Dt("design:paramtypes",[typeof(Jl=typeof T<"u"&&T)=="function"?Jl:Object]),Dt("design:returntype",void 0)],rr.prototype,"toggleActive",null);class Zl extends rr{constructor(t={},n={}){super(t,n)}setInitialEntityState(t){this._akitaCreateEntityFn=t}}function o0(){return ja(e=>e!=null)}function u0(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 Sp(e){return typeof e=="string"}const s0="akitaQueryConfig";class l0{constructor(t){this.store=t,this.__store__=t,Ce()&&(gp[t.storeName]=this)}select(t){let n;if(Le(t))n=t;else if(Sp(t))n=r=>r[t];else{if(Array.isArray(t))return this.store._select(r=>r).pipe(Vr(u0(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[s0]}}function c0(e,t){for(const n of Object.keys(t))if(e(t[n])===!0)return n}function ec(e,t){return function(n){const r=n[e];if(!Wn(r))return t?Sp(t)?r[t]:t(r):r}}function f0(e,t){return e.reduce((n,r,i,a)=>{const o=t(r,i,a);return o!==void 0&&n.push(o),n},[])}function d0(e,t){e.sortBy=e.sortBy||t&&t.sortBy,e.sortByOrder=e.sortByOrder||t&&t.sortByOrder}class p0 extends l0{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?zg(this.getValue(),t):(d0(t,this.config||this.options),Wg(this.getValue(),t))}selectMany(t,n){return!t||!t.length?As([]):this.select(r=>r.entities).pipe(Ye(r=>f0(t,i=>ec(i,n)(r))),Dg())}selectEntity(t,n){let r=t;return Le(t)&&(r=c0(t,this.getValue().entities)),this.select(i=>i.entities).pipe(Ye(ec(r,n)),Vr())}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]):Is(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 h0(this.__store__.ui)}selectAt(t,n){return this.select(r=>r.ids).pipe(Ye(t),Vr(),Gi(r=>this.selectEntity(r,n)))}}class h0 extends p0{constructor(t){super(t)}}function gu(e,t){return t.split(".").length===1?e:t.split(".").slice(1).join(".").split(".").reduce((r,i)=>r&&r[i],e)}function Op(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])||!Ts(u[s])?n:{...u[s],...n},u&&u[s]),e),e}let v0=!1;const m0=new Xd(1);function y0(){return v0}function g0(e){return e&&Le(e.then)}function Lr(e){return g0(e)||fp(e)?gr(e):As(e)}function EL(e){const t={key:"AkitaStores",enableInNonBrowser:!1,storage:Xl()?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:y0,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(xg&&!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){Lr(w).subscribe(()=>{const P=E.shift();P&&O(P)})}const S=Xl()&&n===localStorage||Hg()&&n===sessionStorage;return Lr(n.getItem(s)).subscribe(w=>{let P=Ts(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=>gu(C,I)).pipe(Ng(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($=>Op($,C,d(j,P[j],$)));const R=P.$cache?P.$cache[j]:!1;At[j].setHasCache(R,{restartTTL:!0})}}b.push(mp.subscribe(j=>{y[j]&&(f===!1&&A({[j]:!1}),y[j].unsubscribe(),delete y[j])})),b.push(yp.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)})),m0.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)){Lr(n.setItem(s,"{}")).subscribe();return}const P=n.getItem(s);Lr(P).subscribe(A=>{const L=i(A||"{}");L[w]&&(delete L[w],Lr(n.setItem(s,a(L))).subscribe())})}}}class b0{constructor(t,n){this.query=t,n&&n.resetFn}getQuery(){return this.query}getStore(){return this.getQuery().__store__}isEntityBased(t){return Is(t)}selectSource(t,n){return this.isEntityBased(t)?this.getQuery().selectEntity(t).pipe(o0()):n?this.getQuery().select(r=>gu(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?gu(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=>Op(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 _0={pagesControls:!1,range:!1,startWith:1,cacheTimeout:void 0,clearStoreWithCache:!0};class w0 extends b0{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(Rg(0)),this.config={..._0,...n};const{startWith:r,cacheTimeout:i}=this.config;this.page=new ua(r),fp(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),gr(t()).pipe(Gi(r=>(n=r.currentPage,Ls(()=>{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(mu(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=E0(this.pagination.total,this.pagination.perPage)),r}))}}_s([Oy("@Pagination - New Page"),Dt("design:type",Function),Dt("design:paramtypes",[Object]),Dt("design:returntype",void 0)],w0.prototype,"update",null);function E0(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);Ls(()=>{for(const r of n){const i=At[r];e.exclude?e.exclude.indexOf(i.storeName)===-1&&i.reset():i.reset()}})}var bu;(function(e){e.Update="UPDATE"})(bu||(bu={}));bu.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 S0="modulepreload",O0=function(e){return"/benefits/app/"+e},tc={},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=O0(a),a in tc)return;tc[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":S0,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,Pp,bn,nc,Ap,_u,Tp,Zn={},Cp=[],P0=/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 Ip(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 Fr(e,o,r,i,null)}function Fr(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??++Pp};return i==null&&G.vnode!=null&&G.vnode(a),a}function Yr(){return{current:null}}function we(e){return e.children}function nt(e,t){this.props=e,this.context=t}function Xr(e,t){if(t==null)return e.__?Xr(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"?Xr(e):null}function Lp(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 Lp(e)}}function wu(e){(!e.__d&&(e.__d=!0)&&bn.push(e)&&!fa.__r++||nc!==G.debounceRendering)&&((nc=G.debounceRendering)||Ap)(fa)}function fa(){var e,t,n,r,i,a,o,u,s;for(bn.sort(_u);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,Rs(s,o,a,n.__n,s.ownerSVGElement!==void 0,o.__h!=null?[u]:null,r,u??Xr(o),o.__h,i),Mp(r,o,i),o.__e!=u&&Lp(o)),bn.length>t&&bn.sort(_u));fa.__r=0}function Rp(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||Cp,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"?Fr(null,v,null,null,v):Fa(v)?Fr(we,{children:v},null,null,null):v.__b>0?Fr(v.type,v.props,v.key,v.ref?v.ref:null,v.__v):v)!=null?(v.__=n,v.__b=n.__b+1,(y=A0(v,E,g=l+b,S))===-1?h=Zn:(h=E[y]||Zn,E[y]=void 0,S--),Rs(e,v,h,i,a,o,u,s,c,f),p=v.__e,(d=v.ref)&&h.ref!=d&&(h.ref&&ks(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=Np(e,p,s):s=kp(v,s,e),typeof n.type=="function"&&(n.__d=s))):(h=E[l])&&h.key==null&&h.__e&&(h.__e==s&&(h.__=r,s=Xr(h)),Eu(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),Eu(E[l],E[l]))}function kp(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"?kp(r,t,n):Np(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 Np(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 A0(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 T0(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 rc(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||P0.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||rc(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||rc(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?ac:ic,a)):e.removeEventListener(t,a?ac:ic,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 ic(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 ac(e){return this.l[e.type+!0](G.event?G.event(e):e)}function Rs(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=I0),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)),Rp(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=C0(n.__e,t,n,r,i,a,o,s,c);(f=G.diffed)&&f(t)}function Mp(e,t,n){for(var r=0;r<n.length;r++)ks(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 C0(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(T0(e,h,d,i,u),l)t.__k=[];else if(Rp(e,Fa(p=t.props.children)?p:[p],t,n,r,i&&v!=="foreignObject",a,o,a?a[0]:n.__k&&Xr(n,0),u,s),a!=null)for(p=a.length;p--;)a[p]!=null&&Ip(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 ks(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){G.__e(r,n)}}function Eu(e,t,n){var r,i;if(G.unmount&&G.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||ks(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]&&Eu(r[i],t,n||typeof e.type!="function");n||e.__e==null||Ip(e.__e),e.__=e.__e=e.__d=void 0}function I0(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=[],Rs(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),Mp(a,e,o)}function Ns(e,t){ir(e,t,Ns)}function Dp(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),Fr(e.type,u,r||e.key,i||e.ref,null)}function je(e,t){var n={__c:t="__cC"+Tp++,__: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,wu(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=Cp.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}},Pp=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),wu(this))},nt.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),wu(this))},nt.prototype.render=we,bn=[],Ap=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,_u=function(e,t){return e.__v.__b-t.__v.__b},fa.__r=0,Tp=0;var xt,he,mo,oc,ar=0,$p=[],Yi=[],uc=G.__b,sc=G.__r,lc=G.diffed,cc=G.__c,fc=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(Up,e)}function Dn(e,t,n){var r=Mn(xt++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Up(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&&Ms(n.__H,t)&&(n.__=e,n.i=t,he.__H.__h.push(n))}function $n(e,t){var n=Mn(xt++,4);!G.__s&&Ms(n.__H,t)&&(n.__=e,n.i=t,he.__h.push(n))}function ae(e){return ar=5,ce(function(){return{current:e}},[])}function jp(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 Ms(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 Bp(e,t){G.useDebugValue&&G.useDebugValue(t?t(e):e)}function L0(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 Fp(){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 R0(){for(var e;e=$p.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Xi),e.__H.__h.forEach(Su),e.__H.__h=[]}catch(t){e.__H.__h=[],G.__e(t,e.__v)}}G.__b=function(e){he=null,uc&&uc(e)},G.__r=function(e){sc&&sc(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(Su),t.__h=[],xt=0)),mo=he},G.diffed=function(e){lc&&lc(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&($p.push(t)!==1&&oc===G.requestAnimationFrame||((oc=G.requestAnimationFrame)||k0)(R0)),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.__||Su(r)})}catch(r){t.some(function(i){i.__h&&(i.__h=[])}),t=[],G.__e(r,n.__v)}}),cc&&cc(e,t)},G.unmount=function(e){fc&&fc(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 dc=typeof requestAnimationFrame=="function";function k0(e){var t,n=function(){clearTimeout(r),dc&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);dc&&(t=requestAnimationFrame(n))}function Xi(e){var t=he,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),he=t}function Su(e){var t=he;e.__c=e.__(),he=t}function Ms(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function Up(e,t){return typeof t=="function"?t(e):t}let xn;const N0=(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 xp(e){const[t,n]=Dn(N0,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(xp.ctx.Provider,{value:i},e.children)}Promise.resolve();xp.ctx=je({});je({});const pc=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)}pc&&pc(e,t,n)};let hc;function PL(e,t){if(typeof window>"u")return;let n=document.querySelector("script[type=isodata]");t=t||n&&n.parentNode||document.body,!hc&&n?Ns(e,t):ir(e,t),hc=!0}function Hp(e,t){for(var n in t)e[n]=t[n];return e}function Ou(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 Kp(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:Ou(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 Ou(this.props,e)||Ou(this.state,t)};var vc=G.__b;G.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),vc&&vc(e)};var M0=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function pe(e){function t(n){var r=Hp({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=M0,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var mc=function(e,t){return e==null?null:mt(mt(e).map(t))},Wp={map:mc,forEach:mc,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},D0=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)}D0(e,t,n,r)};var yc=G.unmount;function zp(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=Hp({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return zp(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 Ur(){this.__u=0,this.t=null,this.__b=null}function Gp(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Vp(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),yc&&yc(e)},(Ur.prototype=new nt).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var i=Gp(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)},Ur.prototype.componentWillUnmount=function(){this.t=[]},Ur.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]=zp(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 gc=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 $0(e){return this.getChildContext=function(){return e.context},e.children}function j0(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($0,{context:t.context},e.__v),t.l)}function Ds(e,t){var n=F(j0,{__v:e,i:t});return n.containerInfo=t,n}(zn.prototype=new nt).__a=function(e){var t=this,n=Gp(t.__v),r=t.o.get(e);return r[0]++,function(i){var a=function(){t.props.revealOrder?(r.push(i),gc(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){gc(e,n,t)})};var Yp=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,B0=/^(?: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]/,F0=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,U0=/[A-Z0-9]/g,x0=typeof document<"u",H0=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Xp(e,t,n){return t.__k==null&&(t.textContent=""),ir(e,t),typeof n=="function"&&n(),e?e.__c:null}function Qp(e,t,n){return Ns(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 bc=G.event;function K0(){}function W0(){return this.cancelBubble}function z0(){return this.defaultPrevented}G.event=function(e){return bc&&(e=bc(e)),e.persist=K0,e.isPropagationStopped=W0,e.isDefaultPrevented=z0,e.nativeEvent=e};var $s,q0={enumerable:!1,configurable:!0,get:function(){return this.class}},_c=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||x0&&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"||H0(n.type)?u==="onfocus"?a="onfocusin":u==="onblur"?a="onfocusout":F0.test(a)?a=u:r.indexOf("-")===-1&&B0.test(a)?a=a.replace(U0,"-$&").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=Yp,_c&&_c(e)};var wc=G.__r;G.__r=function(e){wc&&wc(e),$s=e.__c};var Ec=G.diffed;G.diffed=function(e){Ec&&Ec(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),$s=null};var Jp={ReactCurrentDispatcher:{current:{readContext:function(e){return $s.__n[e.__c].props.value}}}},G0="17.0.2";function Zp(e){return F.bind(null,e)}function br(e){return!!e&&e.$$typeof===Yp}function eh(e){return br(e)&&e.type===we}function js(e){return br(e)?Dp.apply(null,arguments):e}function th(e){return!!e.__k&&(ir(null,e),!0)}function nh(e){return e&&(e.base||e.nodeType===1&&e)||null}var rh=function(e,t){return e(t)},ih=function(e,t){return e(t)},ah=we;function Bs(e){e()}function oh(e){return e}function uh(){return[!1,Bs]}var sh=$n,lh=br;function ch(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:Fp,useReducer:Dn,useEffect:de,useLayoutEffect:$n,useInsertionEffect:sh,useTransition:uh,useDeferredValue:oh,useSyncExternalStore:ch,startTransition:Bs,useRef:ae,useImperativeHandle:jp,useMemo:ce,useCallback:Zt,useContext:ke,useDebugValue:Bp,version:"17.0.2",Children:Wp,render:Xp,hydrate:Qp,unmountComponentAtNode:th,createPortal:Ds,createElement:F,createContext:je,createFactory:Zp,cloneElement:js,createRef:Yr,Fragment:we,isValidElement:br,isElement:lh,isFragment:eh,findDOMNode:nh,Component:nt,PureComponent:pa,memo:Kp,forwardRef:pe,flushSync:ih,unstable_batchedUpdates:rh,StrictMode:ah,Suspense:Ur,SuspenseList:zn,lazy:Vp,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Jp};const or=Object.freeze(Object.defineProperty({__proto__:null,Children:Wp,Component:nt,Fragment:we,PureComponent:pa,StrictMode:ah,Suspense:Ur,SuspenseList:zn,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Jp,cloneElement:js,createContext:je,createElement:F,createFactory:Zp,createPortal:Ds,createRef:Yr,default:Z,findDOMNode:nh,flushSync:ih,forwardRef:pe,hydrate:Qp,isElement:lh,isFragment:eh,isValidElement:br,lazy:Vp,memo:Kp,render:Xp,startTransition:Bs,unmountComponentAtNode:th,unstable_batchedUpdates:rh,useCallback:Zt,useContext:ke,useDebugValue:Bp,useDeferredValue:oh,useEffect:de,useErrorBoundary:L0,useId:Fp,useImperativeHandle:jp,useInsertionEffect:sh,useLayoutEffect:$n,useMemo:ce,useReducer:Dn,useRef:ae,useState:xe,useSyncExternalStore:ch,useTransition:uh,version:G0},Symbol.toStringTag,{value:"Module"}));var fh={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}})()})(fh);var V0=fh.exports;const AL=si(V0);globalThis&&globalThis.__spreadArray;function Y0(e){return e}function X0(e){return function(){return e}}var Q0=X0(void 0);function TL(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 J0=function(e){return e._tag==="Some"},Z0={_tag:"None"},eb=function(e){return{_tag:"Some",value:e}},Fs=Z0,dh=eb,CL=function(e){return function(t){return Ua(t)?Fs:dh(e(t.value))}},IL=J0,Ua=function(e){return e._tag==="None"},tb=function(e,t){return function(n){return Ua(n)?e():t(n.value)}},ph=tb,LL=ph,nb=function(e){return function(t){return Ua(t)?e():t.value}},RL=nb,rb=function(e){return e==null?Fs:dh(e)},kL=function(e){return function(t){return Ua(t)?Fs:rb(e(t.value))}},NL=ph(Q0,Y0);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 Sc=function(e){return e},Oc="beforeunload",ib="hashchange",ab="popstate";function ML(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=Tc(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,Sc({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(ab,u),r.addEventListener(ib,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=Ac(),h=Ac();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),Sc(ur({pathname:l.pathname,hash:"",search:""},typeof w=="string"?Tc(w):w,{state:P,key:ob()}))}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(Oc,Pc),function(){A(),h.length||r.removeEventListener(Oc,Pc)}}};return S}function Pc(e){e.preventDefault(),e.returnValue=""}function Ac(){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 ob(){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 Tc(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 ub={};function hh(e,t){for(var n in t)e[n]=t[n];return e}function vh(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=Pu(e.replace(r,"")),t=Pu(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(/[+*?]+$/)||ub)[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 sb(e,t){return e.rank<t.rank?1:e.rank>t.rank?-1:e.index-t.index}function lb(e,t){return e.index=t,e.rank=db(e),e.props}function Pu(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")}function cb(e){return e.charAt(0)==":"?1+"*+?".indexOf(e.charAt(e.length-1))||4:5}function fb(e){return Pu(e).map(cb).join("")}function db(e){return e.props.default?0:fb(e.props.path)}var et=null,Pn=[],Au=[],pb={};function hb(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 Us(){var e;return et&&et.location?e=et.location:et&&et.getCurrentLocation?e=et.getCurrentLocation():e=typeof location<"u"?location:pb,""+(e.pathname||"")+(e.search||"")}function mh(e,t){return t===void 0&&(t=!1),typeof e!="string"&&e.url&&(t=e.replace,e=e.url),vb(e)&&hb(e,t?"replace":"push"),yh(e)}function vb(e){for(var t=Pn.length;t--;)if(Pn[t].canRoute(e))return!0;return!1}function yh(e){for(var t=!1,n=0;n<Pn.length;n++)Pn[n].routeTo(e)===!0&&(t=!0);for(var r=Au.length;r--;)Au[r](e);return t}function gh(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 mh(t)}}function mb(e){if(!(e.ctrlKey||e.metaKey||e.altKey||e.shiftKey||e.button!==0))return gh(e.currentTarget||e.target||this),bh(e)}function bh(e){return e&&(e.stopImmediatePropagation&&e.stopImmediatePropagation(),e.stopPropagation&&e.stopPropagation(),e.preventDefault()),!1}function yb(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(gh(t))return bh(e)}while(t=t.parentNode)}}var Cc=!1;function gb(){Cc||(typeof addEventListener=="function"&&(et||addEventListener("popstate",function(){yh(Us())}),addEventListener("click",yb)),Cc=!0)}var ln=function(e){function t(n){e.call(this,n),n.history&&(et=n.history),this.state={url:n.url||Us()},gb()}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(lb).sort(sb).map(function(o){var u=vh(i,o.props.path,o.props);if(u){if(a!==!1){var s={url:i,matches:u};return hh(s,u),delete s.ref,delete s.key,Dp(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),bb=function(e){return F("a",hh({onClick:mb},e))},_b=function(e){return F(e.component,e)};ln.subscribers=Au;ln.getCurrentUrl=Us;ln.route=mh;ln.Router=ln;ln.Route=_b;ln.Link=bb;ln.exec=vh;const wb="application/json",_h="Content-Type",Bn=Symbol(),wh=Symbol();function Ic(e={}){var t;return(t=Object.entries(e).find(([n])=>n.toLowerCase()===_h.toLowerCase()))===null||t===void 0?void 0:t[1]}function Lc(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 Eb(e,t=!1){sr.options=t?e:An(sr.options,e)}function Sb(e,t=!1){sr.polyfills=t?e:An(sr.polyfills,e)}function Ob(e){sr.errorType=e}const Pb=e=>t=>e.reduceRight((n,r)=>r(n),t)||t;class Eh extends Error{}const Ab=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=Pb(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 Eh;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(wh);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)},Tb={_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({[_h]: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(wh,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=Ic(r._options.headers),a=this._config.polyfill("FormData",!1),o=typeof n=="object"&&!(a&&n instanceof a)&&(!r._options.headers||!i||Lc(i));return r=n?o?r.json(n,i):r.body(n):r,Ab(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=Ic(this._options.headers);return this.content(t||Lc(n)&&n||wb).body(JSON.stringify(e))}};function lr(e="",t={}){return{...Tb,_url:e,_options:t}}lr.default=lr;lr.options=Eb;lr.errorType=Ob;lr.polyfills=Sb;lr.WretchError=Eh;function Rc(e){return typeof e<"u"?e:""}const Cb=(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,Rc(f));else u.append(s,Rc(c))}a=u.toString()}const o=e.split("?");return a?n||o.length<2?o[0]+"?"+a:e+"&"+a:n?o[0]:e},Ib={wretch:{query(e,t=!1,n=!1){return{...this,_url:Cb(this._url,e,t,n,this._config)}}}},DL=Ib;var Lb=0;function $L(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:--Lb,__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)===Bb}(e)||Array.isArray(e)||!!e[Fc]||!!(!((t=e.constructor)===null||t===void 0)&&t[Fc])||xs(e)||Hs(e))}function Qr(e,t,n){n===void 0&&(n=!1),_r(e)===0?(n?Object.keys:Gs)(e).forEach(function(r){n&&typeof r=="symbol"||t(r,e[r],e)}):e.forEach(function(r,i){return t(i,r,e)})}function _r(e){var t=e[rt];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:xs(e)?2:Hs(e)?3:0}function Tu(e,t){return _r(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Rb(e,t){return _r(e)===2?e.get(t):e[t]}function Sh(e,t,n){var r=_r(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function kb(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function xs(e){return $b&&e instanceof Map}function Hs(e){return jb&&e instanceof Set}function yn(e){return e.o||e.t}function Ks(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Fb(e);delete t[rt];for(var n=Gs(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 Ws(e,t){return t===void 0&&(t=!1),zs(e)||cr(e)||!Ln(e)||(_r(e)>1&&(e.set=e.add=e.clear=e.delete=Nb),Object.freeze(e),t&&Qr(e,function(n,r){return Ws(r,!0)},!0)),e}function Nb(){pt(2)}function zs(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Ct(e){var t=Ub[e];return t||pt(18,e),t}function kc(){return Jr}function bo(e,t){t&&(Ct("Patches"),e.u=[],e.s=[],e.v=t)}function ha(e){Cu(e),e.p.forEach(Mb),e.p=null}function Cu(e){e===Jr&&(Jr=e.l)}function Nc(e){return Jr={p:[],l:Jr,h:e,m:!0,_:0}}function Mb(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!==Oh?e:void 0}function va(e,t,n){if(zs(t))return t;var r=t[rt];if(!r)return Qr(t,function(u,s){return Mc(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=Ks(r.k):r.o,a=i,o=!1;r.i===3&&(a=new Set(i),i.clear(),o=!0),Qr(a,function(u,s){return Mc(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 Mc(e,t,n,r,i,a,o){if(cr(i)){var u=va(e,i,a&&t&&t.i!==3&&!Tu(t.R,r)?a.concat(r):void 0);if(Sh(n,r,u),!cr(u))return;e.m=!1}else o&&n.add(i);if(Ln(i)&&!zs(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&&Ws(t,n)}function wo(e,t){var n=e[rt];return(n?yn(n):e)[t]}function Dc(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 Iu(e){e.P||(e.P=!0,e.l&&Iu(e.l))}function Eo(e){e.o||(e.o=Ks(e.t))}function Lu(e,t,n){var r=xs(t)?Ct("MapSet").F(t,n):Hs(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:kc(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},s=u,c=Ru;o&&(s=[u],c=$r);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:kc()).p.push(r),r}function Db(e){return cr(e)||pt(22,e),function t(n){if(!Ln(n))return n;var r,i=n[rt],a=_r(n);if(i){if(!i.P&&(i.i<4||!Ct("ES5").K(i)))return i.t;i.I=!0,r=$c(n,a),i.I=!1}else r=$c(n,a);return Qr(r,function(o,u){i&&Rb(i.t,o)===u||Sh(r,o,t(u))}),a===3?new Set(r):r}(e)}function $c(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Ks(e)}var jc,Jr,qs=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",$b=typeof Map<"u",jb=typeof Set<"u",Bc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Oh=qs?Symbol.for("immer-nothing"):((jc={})["immer-nothing"]=!0,jc),Fc=qs?Symbol.for("immer-draftable"):"__$immer_draftable",rt=qs?Symbol.for("immer-state"):"__$immer_state",Bb=""+Object.prototype.constructor,Gs=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Fb=Object.getOwnPropertyDescriptors||function(e){var t={};return Gs(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t},Ub={},Ru={get:function(e,t){if(t===rt)return e;var n=yn(e);if(!Tu(n,t))return function(i,a,o){var u,s=Dc(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]=Lu(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=Dc(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(kb(n,i)&&(n!==void 0||Tu(e.t,t)))return!0;Eo(e),Iu(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),Iu(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)}},$r={};Qr(Ru,function(e,t){$r[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),$r.deleteProperty=function(e,t){return $r.set.call(this,e,t,void 0)},$r.set=function(e,t,n){return Ru.set.call(this,e[0],t,n,e[0])};var xb=function(){function e(n){var r=this;this.O=Bc,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=Nc(r),l=Lu(r,i,void 0),d=!0;try{c=a(l),d=!1}finally{d?ha(f):Cu(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===Oh&&(c=void 0),r.D&&Ws(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=Db(n));var r=Nc(this),i=Lu(this,n,void 0);return i[rt].C=!0,Cu(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&&!Bc&&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 xb,jL=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 Hb={},fr={},He={},wr={};(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})(wr);var Kb=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]}),Wb=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)&&Kb(t,e,n);return Wb(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 qb=ct,Gb=zb(wr);function Vb(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=Vb;function Yb(e){return function(t){return function(n){return e.ap(e.map(n,function(r){return function(){return r}}),t)}}}He.apFirst=Yb;function Xb(e){return function(t){return function(n){return e.ap(e.map(n,function(){return function(r){return r}}),t)}}}He.apSecond=Xb;function Qb(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=Qb;function Jb(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=Jb;function Vs(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):Vs(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 Zb(e){return Gb.has.call(So,e)||(So[e]=Vs(qb.tuple,e-1,[])),So[e]}function e1(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=t.length,i=Zb(r),a=e.map(t[0],i),o=1;o<r;o++)a=e.ap(a,t[o]);return a}}He.sequenceT=e1;function t1(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 Vs(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 n1(e){return function(t){for(var n=Object.keys(t),r=n.length,i=t1(n),a=e.map(t[n[0]],i),o=1;o<r;o++)a=e.ap(a,t[n[o]]);return a}}He.sequenceS=n1;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 r1=ct;function Ph(e,t){return function(n){return function(r){return e.map(r,function(i){return t.map(i,n)})}}}Ue.map=Ph;function i1(e){return function(t){return function(n){return e.map(n,function(r){return r(t)})}}}Ue.flap=i1;function a1(e){return function(t){return function(n){return e.map(n,function(r){var i;return i={},i[t]=r,i})}}}Ue.bindTo=a1;function o1(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=o1;function u1(e,t){var n=Ph(e,t);return{map:function(r,i){return(0,r1.pipe)(r,n(i))}}}Ue.getFunctorComposition=u1;function Ah(e){return function(t,n){return e.map(t,function(){return n})}}Ue.as=Ah;function s1(e){var t=Ah(e);return function(n){return t(n,void 0)}}Ue.asUnit=s1;Object.defineProperty(fr,"__esModule",{value:!0});fr.getApplicativeComposition=fr.getApplicativeMonoid=void 0;var Th=He,l1=ct,c1=Ue;function f1(e){var t=(0,Th.getApplySemigroup)(e);return function(n){return{concat:t(n).concat,empty:e.of(n.empty)}}}fr.getApplicativeMonoid=f1;function d1(e,t){var n=(0,c1.getFunctorComposition)(e,t).map,r=(0,Th.ap)(e,t);return{map:n,of:function(i){return e.of(t.of(i))},ap:function(i,a){return(0,l1.pipe)(i,r(a))}}}fr.getApplicativeComposition=d1;var jt={};Object.defineProperty(jt,"__esModule",{value:!0});jt.bind=jt.tap=jt.chainFirst=void 0;function p1(e){var t=Ch(e);return function(n){return function(r){return t(r,n)}}}jt.chainFirst=p1;function Ch(e){return function(t,n){return e.chain(t,function(r){return e.map(n(r),function(){return r})})}}jt.tap=Ch;function h1(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=h1;var Ie={},v1=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]}),m1=J&&J.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),y1=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)&&v1(t,e,n);return m1(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 g1=jt,Ih=ct,Tn=y1(wr);function Lh(e){return function(t){return function(n){return e.fromEither(Tn.isNone(n)?Tn.left(t()):Tn.right(n.value))}}}Ie.fromOption=Lh;function b1(e){return function(t,n){return function(r){return e.fromEither(t(r)?Tn.right(r):Tn.left(n(r)))}}}Ie.fromPredicate=b1;function Rh(e){var t=Lh(e);return function(n){var r=t(n);return function(i){return(0,Ih.flow)(i,r)}}}Ie.fromOptionK=Rh;function _1(e,t){var n=Rh(e);return function(r){var i=n(r);return function(a){return function(o){return t.chain(o,i(a))}}}}Ie.chainOptionK=_1;function Ys(e){return function(t){return(0,Ih.flow)(t,e.fromEither)}}Ie.fromEitherK=Ys;function w1(e,t){var n=Ys(e);return function(r){return function(i){return t.chain(i,n(r))}}}Ie.chainEitherK=w1;function E1(e,t){var n=kh(e,t);return function(r){return function(i){return n(i,r)}}}Ie.chainFirstEitherK=E1;function S1(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=S1;function kh(e,t){var n=Ys(e),r=(0,g1.tap)(t);return function(i,a){return r(i,n(a))}}Ie.tapEither=kh;var Nh={};(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})(Nh);var Mh={},st={};Object.defineProperty(st,"__esModule",{value:!0});st.concatAll=st.endo=st.filterSecond=st.filterFirst=st.reverse=void 0;var O1=function(e){return{concat:function(t,n){return e.concat(n,t)}}};st.reverse=O1;var P1=function(e){return function(t){return{concat:function(n,r){return e(n)?t.concat(n,r):r}}}};st.filterFirst=P1;var A1=function(e){return function(t){return{concat:function(n,r){return e(r)?t.concat(n,r):n}}}};st.filterSecond=A1;var T1=function(e){return function(t){return{concat:function(n,r){return t.concat(e(n),e(r))}}}};st.endo=T1;var C1=function(e){return function(t){return function(n){return n.reduce(function(r,i){return e.concat(r,i)},t)}}};st.concatAll=C1;var Dh={},$h={};(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()}}})($h);(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=$h,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()}))})(Dh);(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(wr),o=r(st),u=r(Dh),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}}})(Mh);var jh={};(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})(jh);var an={},I1=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]}),L1=J&&J.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),R1=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)&&I1(t,e,n);return L1(t,e),t};Object.defineProperty(an,"__esModule",{value:!0});an.filterE=an.witherDefault=an.wiltDefault=void 0;var Uc=R1(wr);function k1(e,t){return function(n){var r=e.traverse(n);return function(i,a){return n.map(r(i,a),t.separate)}}}an.wiltDefault=k1;function N1(e,t){return function(n){var r=e.traverse(n);return function(i,a){return n.map(r(i,a),t.compact)}}}an.witherDefault=N1;function M1(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?Uc.some(a):Uc.none})})}}}}an.filterE=M1;var xa={};Object.defineProperty(xa,"__esModule",{value:!0});xa.guard=void 0;function D1(e,t){return function(n){return n?t.of(void 0):e.zero()}}xa.guard=D1;(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(wr),l=Nh,d=Mh,h=jh,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 oy=function(){return e.none};e.throwError=oy,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 uy=function(N){return N._tag==="None"};e.isNone=uy;var sy=function(N,M){return function(K){return(0,e.isNone)(K)?N():M(K.value)}};e.matchW=sy,e.foldW=e.matchW,e.match=e.matchW,e.fold=e.match;var ly=function(N){return function(M){return(0,e.isNone)(M)?N():M.value}};e.getOrElseW=ly,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 cy=function(N){return N==null?e.none:(0,e.some)(N)};e.fromNullable=cy;var fy=function(N){try{return(0,e.some)(N())}catch{return e.none}};e.tryCatch=fy;var dy=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=dy;var py=function(N){return(0,s.flow)(N,e.fromNullable)};e.fromNullableK=py;var hy=function(N){return function(M){return(0,e.isNone)(M)?e.none:(0,e.fromNullable)(N(M.value))}};e.chainNullableK=hy,e.toNullable=(0,e.match)(s.constNull,s.identity),e.toUndefined=(0,e.match)(s.constUndefined,s.identity);function Fl(N){return function(M,K){if(K===void 0){var Ae=Fl(N);return function(Je){return Ae(M,Je)}}return(0,e.isNone)(K)?!1:N.equals(M,K.value)}}e.elem=Fl;var vy=function(N){return function(M){return(0,e.isNone)(M)?!1:N(M.value)}};e.exists=vy,e.Do=(0,e.of)(f.emptyRecord),e.bindTo=(0,c.bindTo)(e.Functor);var my=(0,c.let)(e.Functor);e.let=my,e.bind=o.bind(e.Chain),e.apS=(0,a.apS)(e.Apply),e.ApT=(0,e.of)(f.emptyReadonlyArray);var yy=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 Ul=N(Je,M[Je]);if((0,e.isNone)(Ul))return e.none;Ae.push(Ul.value)}return(0,e.some)(Ae)}};e.traverseReadonlyNonEmptyArrayWithIndex=yy;var gy=function(N){var M=(0,e.traverseReadonlyNonEmptyArrayWithIndex)(N);return function(K){return f.isNonEmpty(K)?M(K):e.ApT}};e.traverseReadonlyArrayWithIndex=gy,e.traverseArrayWithIndex=e.traverseReadonlyArrayWithIndex;var by=function(N){return(0,e.traverseReadonlyArrayWithIndex)(function(M,K){return N(K)})};e.traverseArray=by,e.sequenceArray=(0,e.traverseArray)(s.identity),e.chain=e.flatMap,e.chainFirst=e.tap;function _y(N){return function(M){return(0,e.isSome)(N(M))}}e.getRefinement=_y,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 wy=function(){return(0,e.getMonoid)((0,d.first)())};e.getFirstMonoid=wy;var Ey=function(){return(0,e.getMonoid)((0,d.last)())};e.getLastMonoid=Ey})(Hb);function ku(e){this.message=e}ku.prototype=new Error,ku.prototype.name="InvalidCharacterError";var xc=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new ku("'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 $1(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(xc(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 xc(t)}}function ya(e){this.message=e}function BL(e,t){if(typeof e!="string")throw new ya("Invalid token specified");var n=(t=t||{}).header===!0?0:1;try{return JSON.parse($1(e.split(".")[n]))}catch(r){throw new ya("Invalid token specified: "+r.message)}}ya.prototype=new Error,ya.prototype.name="InvalidTokenError";var j1=Object.defineProperty,B1=(e,t,n)=>t in e?j1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Oo=(e,t,n)=>(B1(e,typeof t!="symbol"?t+"":t,n),n);let F1=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 F1,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 Er(){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 U1(){let e=typeof document>"u";return"useSyncExternalStore"in or?(t=>t.useSyncExternalStore)(or)(()=>()=>{},()=>!1,()=>!e):!1}function Sr(){let e=U1(),[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 Hc;let at=(Hc=Z.useId)!=null?Hc:function(){let e=Sr(),[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 Nu=["[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||{}),Bh=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Bh||{}),x1=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(x1||{});function Fh(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Nu)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var Xs=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Xs||{});function Qs(e,t=0){var n;return e===((n=fi(e))==null?void 0:n.body)?!1:Pe(t,{0(){return e.matches(Nu)},1(){let r=e;for(;r!==null;){if(r.matches(Nu))return!0;r=r.parentElement}return!1}})}function Uh(e){let t=fi(e);bt().nextFrame(()=>{t&&!Qs(t.activeElement,0)&&on(e)})}var H1=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(H1||{});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 K1=["textarea","input"].join(",");function W1(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,K1))!=null?n:!1}function xh(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 z1(e,t){return xr(Fh(),t,{relativeTo:e})}function xr(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?xh(e):e:Fh(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&&W1(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 Hh(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 Kh(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!Qs(s,Xs.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),Hh("blur",o=>i(o,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function Kc(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 Js(e,t){let[n,r]=xe(()=>Kc(e));return Me(()=>{r(Kc(e))},[e.type,e.as]),Me(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&r("button")},[n,t]),n}let Wh=Symbol();function zh(e,t=!0){return Object.assign(e,{[Wh]: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[Wh]))?void 0:n}function q1({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 G1(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 V1(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:G1(e)}})();return a===-1?r:a}function ga(...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(Mu(u)).length>0){if(!br(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{Wl(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)Wl(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}(),Yd=li.EMPTY;function Xd(e){return e instanceof li||e&&"closed"in e&&fe(e.remove)&&fe(e.add)&&fe(e.unsubscribe)}function Wl(e){fe(e)?e():e.unsubscribe()}var Qd={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 Jd(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,Xd(n)&&n.add(r)):r.destination=$y,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),Ny=Function.prototype.bind;function vo(e,t){return Ny.call(e,t)}var My=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&&Qd.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 My(o),a}return t}(Ss);function Ti(e){Jd(e)}function Dy(e){throw e}var $y={closed:!0,next:mu,error:Dy,complete:mu},Os=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function yr(e){return e}function jy(e){return e.length===0?yr: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=Fy(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=zl(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 jy(t)(this)},e.prototype.toPromise=function(t){var n=this;return t=zl(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 zl(e){var t;return(t=e??Qd.Promise)!==null&&t!==void 0?t:Promise}function By(e){return e&&fe(e.next)&&fe(e.error)&&fe(e.complete)}function Fy(e){return e&&e instanceof Ss||By(e)&&Xd(e)}function Uy(e){return fe(e==null?void 0:e.lift)}function lt(e){return function(t){if(Uy(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 xy(e,t,n,r,i)}var xy=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),Hy=Vd(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 ql(this,this);return r.operator=n,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new Hy},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?Yd:(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 ql(n,r)},t}(qe),ql=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:Yd},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},Zd=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),Ky=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},Wy=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}(Ky),Gl=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}(),zy=function(e){It(t,e);function t(n,r){r===void 0&&(r=Gl.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}(Gl),Da=new zy(Wy),qy=Da,Gy=new qe(function(e){return e.complete()});function ep(e){return e&&fe(e.schedule)}function tp(e){return e[e.length-1]}function Vy(e){return fe(tp(e))?e.pop():void 0}function As(e){return ep(tp(e))?e.pop():void 0}var Ts=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function np(e){return fe(e==null?void 0:e.then)}function rp(e){return fe(e[Os])}function ip(e){return Symbol.asyncIterator&&fe(e==null?void 0:e[Symbol.asyncIterator])}function ap(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 Yy(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var op=Yy();function up(e){return fe(e==null?void 0:e[op])}function sp(e){return Ry(this,arguments,function(){var n,r,i,a;return Gd(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 lp(e){return fe(e==null?void 0:e.getReader)}function zt(e){if(e instanceof qe)return e;if(e!=null){if(rp(e))return Xy(e);if(Ts(e))return Qy(e);if(np(e))return Jy(e);if(ip(e))return cp(e);if(up(e))return Zy(e);if(lp(e))return eg(e)}throw ap(e)}function Xy(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 Qy(e){return new qe(function(t){for(var n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Jy(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,Jd)})}function Zy(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 cp(e){return new qe(function(t){tg(e,t).catch(function(n){return t.error(n)})})}function eg(e){return cp(sp(e))}function tg(e,t){var n,r,i,a;return Ly(this,void 0,void 0,function(){var o,u;return Gd(this,function(s){switch(s.label){case 0:s.trys.push([0,5,6,11]),n=ky(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 fp(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 dp(e,t){return t===void 0&&(t=0),lt(function(n,r){r.add(e.schedule(function(){return n.subscribe(r)},t))})}function ng(e,t){return zt(e).pipe(dp(t),fp(t))}function rg(e,t){return zt(e).pipe(dp(t),fp(t))}function ig(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 ag(e,t){return new qe(function(n){var r;return $t(n,t,function(){r=e[op](),$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 pp(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 og(e,t){return pp(sp(e),t)}function ug(e,t){if(e!=null){if(rp(e))return ng(e,t);if(Ts(e))return ig(e,t);if(np(e))return rg(e,t);if(ip(e))return pp(e,t);if(up(e))return ag(e,t);if(lp(e))return og(e,t)}throw ap(e)}function gr(e,t){return t?ug(e,t):zt(e)}function Cs(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=As(e);return gr(e,n)}function hp(e){return!!e&&(e instanceof qe||fe(e.lift)&&fe(e.subscribe))}function sg(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 lg=Array.isArray;function cg(e,t){return lg(t)?e.apply(void 0,In([],sn(t))):e(t)}function vp(e){return Ye(function(t){return cg(e,t)})}var fg=Array.isArray,dg=Object.getPrototypeOf,pg=Object.prototype,hg=Object.keys;function vg(e){if(e.length===1){var t=e[0];if(fg(t))return{args:t,keys:null};if(mg(t)){var n=hg(t);return{args:n.map(function(r){return t[r]}),keys:n}}}return{args:e,keys:null}}function mg(e){return e&&typeof e=="object"&&dg(e)===pg}function yg(e,t){return e.reduce(function(n,r,i){return n[r]=t[i],n},{})}function gg(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=As(e),r=Vy(e),i=vg(e),a=i.args,o=i.keys;if(a.length===0)return gr([],n);var u=new qe(bg(a,n,o?function(s){return yg(o,s)}:yr));return r?u.pipe(vp(r)):u}function bg(e,t,n){return n===void 0&&(n=yr),function(r){Vl(t,function(){for(var i=e.length,a=new Array(i),o=i,u=i,s=function(f){Vl(t,function(){var l=gr(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 Vl(e,t,n){e?$t(n,e,t):t()}function _g(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 _g(r,i,e,n)}))}function wg(e){return e===void 0&&(e=1/0),$a(yr,e)}function Eg(){return wg(1)}function Sg(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Eg()(gr(e,As(e)))}var Og=["addListener","removeListener"],Pg=["addEventListener","removeEventListener"],Ag=["on","off"];function Yl(e,t,n,r){if(fe(n)&&(r=n,n=void 0),r)return Yl(e,t,n).pipe(vp(r));var i=sn(Ig(e)?Pg.map(function(u){return function(s){return e[u](t,s,n)}}):Tg(e)?Og.map(Xl(e,t)):Cg(e)?Ag.map(Xl(e,t)):[],2),a=i[0],o=i[1];if(!a&&Ts(e))return $a(function(u){return Yl(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 Xl(e,t){return function(n){return function(r){return e[n](t,r)}}}function Tg(e){return fe(e.addListener)&&fe(e.removeListener)}function Cg(e){return fe(e.on)&&fe(e.off)}function Ig(e){return fe(e.addEventListener)&&fe(e.removeEventListener)}function mp(e,t,n){e===void 0&&(e=0),n===void 0&&(n=qy);var r=-1;return t!=null&&(ep(t)?n=t:r=t),new qe(function(i){var a=sg(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 Lg(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 Rg(e,t){return t===void 0&&(t=Da),Lg(function(){return mp(e,t)})}function dL(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 Gy}:lt(function(t,n){var r=0;t.subscribe(Ve(n,function(i){++r<=e&&(n.next(i),e<=r&&n.complete())}))})}function kg(){return lt(function(e,t){e.subscribe(Ve(t,mu))})}function Ng(e){return Ye(function(){return e})}function yp(e,t){return t?function(n){return Sg(t.pipe(gu(1),kg()),n.pipe(yp(e)))}:$a(function(n,r){return zt(e(n,r)).pipe(gu(1),Ng(n))})}function Mg(e,t){t===void 0&&(t=Da);var n=mp(e,t);return yp(function(){return n})}function Vr(e,t){return t===void 0&&(t=yr),e=e??Dg,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 Dg(e,t){return e===t}function pL(){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 $g(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 hL(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)}))}):yr}const jg="id";function Lt(e){return Pt(e)?e.length===0:!1}function Le(e){return typeof e=="function"}function Bg(){return Vr((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 vL(e){return gg(e).pipe(Rg(0))}let gp={resettable:!1,ttl:null,producerFn:void 0};function Ql(){return gp}function Fg(){return gp.producerFn}function la(e){return gt(e)===!1}const bp=new Ut,_p=new Zd(50,5e3),Ug=new Ut;function xg(e){bp.next(e)}function Hg(e){_p.next(e)}function Kg(e,t){Ug.next({storeName:e,action:t})}const Ba=typeof window<"u",Wg=!Ba,Jl=()=>{try{return typeof localStorage<"u"}catch{return!1}},zg=()=>{try{return typeof sessionStorage<"u"}catch{return!1}},At={},wp={};Ba&&(window.$$stores=At,window.$$queries=wp);var ca;(function(e){e.ASC="asc",e.DESC="desc"})(ca||(ca={}));function qg(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 Gg(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:qg(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 Vg(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 mL(){Ls=!1,Ba&&(delete window.$$stores,delete window.$$queries)}function Ce(){return Ls}function Yg(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 Xg=()=>({entities:{},ids:[],loading:!0,error:null});function Wn(e){return e===void 0}function Qg({state:e,ids:t}){if(gt(t))return Jg(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 Wd(e)&&(i.active=qd(i)),i}function Jg(e){return{...e,entities:{},ids:[],active:zd(e.active)?[]:null}}function Zg(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 e0(e){return e.entities&&e.ids}function Zl(e,t){let n={};for(const r of Object.keys(e))n[r]=t(e[r]);return n}function t0({state:e,entities:t,idKey:n,preAddEntity:r,isNativePreAdd:i}){let a,o;if(Pt(t)){const s=Zg(t,n,r);a=s.entities,o=s.ids}else e0(t)?(a=i?t.entities:Zl(t.entities,r),o=t.ids):(a=i?t:Zl(t,r),o=Object.keys(a).map(s=>isNaN(s)?s:Number(s)));const u={...e,entities:a,ids:o,loading:!1};return Wd(e)&&(u.active=qd(u)),u}function Ep(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])&&Ep(e[r])}),e}function n0(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 yL(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 r0=new Ut,Sp=new ua(!1),rn={activeTransactions:0,batchTransaction:null};function i0(){Op()||(rn.batchTransaction=new Ut),rn.activeTransactions++,Sp.next(!0)}function a0(){--rn.activeTransactions===0&&(rn.batchTransaction.next(!0),rn.batchTransaction.complete(),Sp.next(!1),r0.next(!0))}function Op(){return rn.activeTransactions>0}function o0(){return rn.batchTransaction?rn.batchTransaction.asObservable():Cs(!0)}function ks(e,t=void 0){i0();try{return e.apply(t)}finally{Qn("@Transaction"),a0()}}function Pp(){return function(e,t,n){const r=n.value;return n.value=function(...i){return ks(()=>r.apply(this,i),this)},n}}class u0{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)),Vr())}_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||Ep}get cacheConfig(){return this.config.cache||this.options.cache}get _producerFn(){return this.config.producerFn||this.options.producerFn||Fg()}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&&Kg(this.storeName,r)});return}if(Op()){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],xg(this.storeName),this.setHasCache(!1),this.cache.active.complete(),this.store.complete())}onInit(t){At[this.storeName]=this,this._setState(()=>t),Hg(this.storeName),this.isResettable()&&(this._initialState=t),Ce()&&n0(this.storeName,this.constructor.name)}dispatch(t,n=!0){let r;n&&(r=zi,Ay()),this.store.next({state:t,action:r})}watchTransaction(){o0().subscribe(()=>{this.inTransaction=!1,this.dispatch(this._value())})}isResettable(){return this.resettable===!1?!1:this.resettable||Ql().resettable}handleTransaction(){this.inTransaction||(this.watchTransaction(),this.inTransaction=!0)}getCacheTTL(){return this.cacheConfig&&this.cacheConfig.ttl||Ql().ttl}}function s0({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(Gr(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 ec;class rr extends u0{constructor(t={},n={}){super({...Xg(),...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||jg}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=t0({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=Iy({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=>s0({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=>Gr(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(Gr(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=>Qg({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=Yg(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 tc(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 tc}}Es([Pp(),Dt("design:type",Function),Dt("design:paramtypes",[Object,Object,Object,Object]),Dt("design:returntype",void 0)],rr.prototype,"upsert",null);Es([Pp(),Dt("design:type",Function),Dt("design:paramtypes",[typeof(ec=typeof T<"u"&&T)=="function"?ec:Object]),Dt("design:returntype",void 0)],rr.prototype,"toggleActive",null);class tc extends rr{constructor(t={},n={}){super(t,n)}setInitialEntityState(t){this._akitaCreateEntityFn=t}}function l0(){return ja(e=>e!=null)}function c0(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 Ap(e){return typeof e=="string"}const f0="akitaQueryConfig";class d0{constructor(t){this.store=t,this.__store__=t,Ce()&&(wp[t.storeName]=this)}select(t){let n;if(Le(t))n=t;else if(Ap(t))n=r=>r[t];else{if(Array.isArray(t))return this.store._select(r=>r).pipe(Vr(c0(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[f0]}}function p0(e,t){for(const n of Object.keys(t))if(e(t[n])===!0)return n}function nc(e,t){return function(n){const r=n[e];if(!Wn(r))return t?Ap(t)?r[t]:t(r):r}}function h0(e,t){return e.reduce((n,r,i,a)=>{const o=t(r,i,a);return o!==void 0&&n.push(o),n},[])}function v0(e,t){e.sortBy=e.sortBy||t&&t.sortBy,e.sortByOrder=e.sortByOrder||t&&t.sortByOrder}class m0 extends d0{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?Vg(this.getValue(),t):(v0(t,this.config||this.options),Gg(this.getValue(),t))}selectMany(t,n){return!t||!t.length?Cs([]):this.select(r=>r.entities).pipe(Ye(r=>h0(t,i=>nc(i,n)(r))),Bg())}selectEntity(t,n){let r=t;return Le(t)&&(r=p0(t,this.getValue().entities)),this.select(i=>i.entities).pipe(Ye(nc(r,n)),Vr())}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 y0(this.__store__.ui)}selectAt(t,n){return this.select(r=>r.ids).pipe(Ye(t),Vr(),Gi(r=>this.selectEntity(r,n)))}}class y0 extends m0{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 Tp(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 g0=!1;const b0=new Zd(1);function _0(){return g0}function w0(e){return e&&Le(e.then)}function Lr(e){return w0(e)||hp(e)?gr(e):Cs(e)}function gL(e){const t={key:"AkitaStores",enableInNonBrowser:!1,storage:Jl()?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:_0,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(Wg&&!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){Lr(w).subscribe(()=>{const P=E.shift();P&&O(P)})}const S=Jl()&&n===localStorage||zg()&&n===sessionStorage;return Lr(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($g(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($=>Tp($,C,d(j,P[j],$)));const R=P.$cache?P.$cache[j]:!1;At[j].setHasCache(R,{restartTTL:!0})}}b.push(bp.subscribe(j=>{y[j]&&(f===!1&&A({[j]:!1}),y[j].unsubscribe(),delete y[j])})),b.push(_p.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)})),b0.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)){Lr(n.setItem(s,"{}")).subscribe();return}const P=n.getItem(s);Lr(P).subscribe(A=>{const L=i(A||"{}");L[w]&&(delete L[w],Lr(n.setItem(s,a(L))).subscribe())})}}}class E0{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(l0()):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=>Tp(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 S0={pagesControls:!1,range:!1,startWith:1,cacheTimeout:void 0,clearStoreWithCache:!0};class O0 extends E0{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(Mg(0)),this.config={...S0,...n};const{startWith:r,cacheTimeout:i}=this.config;this.page=new ua(r),hp(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),gr(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=P0(this.pagination.total,this.pagination.perPage)),r}))}}Es([Ty("@Pagination - New Page"),Dt("design:type",Function),Dt("design:paramtypes",[Object]),Dt("design:returntype",void 0)],O0.prototype,"update",null);function P0(e,t){const n=Math.ceil(e/t),r=[];for(let i=0;i<n;i++)r.push(i+1);return r}function bL(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 A0="modulepreload",T0=function(e){return"/benefits/app/"+e},rc={},_L=function(t,n,r){if(!n||n.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(n.map(a=>{if(a=T0(a),a in rc)return;rc[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":A0,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,Cp,bn,ic,Ip,Eu,Lp,Zn={},Rp=[],C0=/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 kp(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 Fr(e,o,r,i,null)}function Fr(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??++Cp};return i==null&&G.vnode!=null&&G.vnode(a),a}function Yr(){return{current:null}}function we(e){return e.children}function nt(e,t){this.props=e,this.context=t}function Xr(e,t){if(t==null)return e.__?Xr(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"?Xr(e):null}function Np(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 Np(e)}}function Su(e){(!e.__d&&(e.__d=!0)&&bn.push(e)&&!fa.__r++||ic!==G.debounceRendering)&&((ic=G.debounceRendering)||Ip)(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??Xr(o),o.__h,i),jp(r,o,i),o.__e!=u&&Np(o)),bn.length>t&&bn.sort(Eu));fa.__r=0}function Mp(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||Rp,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"?Fr(null,v,null,null,v):Fa(v)?Fr(we,{children:v},null,null,null):v.__b>0?Fr(v.type,v.props,v.key,v.ref?v.ref:null,v.__v):v)!=null?(v.__=n,v.__b=n.__b+1,(y=I0(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=$p(e,p,s):s=Dp(v,s,e),typeof n.type=="function"&&(n.__d=s))):(h=E[l])&&h.key==null&&h.__e&&(h.__e==s&&(h.__=r,s=Xr(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 Dp(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"?Dp(r,t,n):$p(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 $p(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 I0(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 L0(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 ac(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||C0.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||ac(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||ac(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?uc:oc,a)):e.removeEventListener(t,a?uc:oc,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 oc(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 uc(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=k0),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)),Mp(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=R0(n.__e,t,n,r,i,a,o,s,c);(f=G.diffed)&&f(t)}function jp(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 R0(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(L0(e,h,d,i,u),l)t.__k=[];else if(Mp(e,Fa(p=t.props.children)?p:[p],t,n,r,i&&v!=="foreignObject",a,o,a?a[0]:n.__k&&Xr(n,0),u,s),a!=null)for(p=a.length;p--;)a[p]!=null&&kp(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||kp(e.__e),e.__=e.__e=e.__d=void 0}function k0(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),jp(a,e,o)}function Ds(e,t){ir(e,t,Ds)}function Bp(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),Fr(e.type,u,r||e.key,i||e.ref,null)}function je(e,t){var n={__c:t="__cC"+Lp++,__: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=Rp.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}},Cp=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=[],Ip=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Eu=function(e,t){return e.__v.__b-t.__v.__b},fa.__r=0,Lp=0;var xt,he,mo,sc,ar=0,Fp=[],Yi=[],lc=G.__b,cc=G.__r,fc=G.diffed,dc=G.__c,pc=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(Kp,e)}function Dn(e,t,n){var r=Mn(xt++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Kp(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 Up(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 xp(e,t){G.useDebugValue&&G.useDebugValue(t?t(e):e)}function N0(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 Hp(){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 M0(){for(var e;e=Fp.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,lc&&lc(e)},G.__r=function(e){cc&&cc(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){fc&&fc(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Fp.push(t)!==1&&sc===G.requestAnimationFrame||((sc=G.requestAnimationFrame)||D0)(M0)),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)}}),dc&&dc(e,t)},G.unmount=function(e){pc&&pc(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 hc=typeof requestAnimationFrame=="function";function D0(e){var t,n=function(){clearTimeout(r),hc&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);hc&&(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 Kp(e,t){return typeof t=="function"?t(e):t}let xn;const $0=(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 Wp(e){const[t,n]=Dn($0,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(Wp.ctx.Provider,{value:i},e.children)}Promise.resolve();Wp.ctx=je({});je({});const vc=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)}vc&&vc(e,t,n)};let mc;function wL(e,t){if(typeof window>"u")return;let n=document.querySelector("script[type=isodata]");t=t||n&&n.parentNode||document.body,!mc&&n?Ds(e,t):ir(e,t),mc=!0}function zp(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 qp(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 yc=G.__b;G.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),yc&&yc(e)};var j0=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function pe(e){function t(n){var r=zp({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=j0,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var gc=function(e,t){return e==null?null:mt(mt(e).map(t))},Gp={map:gc,forEach:gc,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},B0=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)}B0(e,t,n,r)};var bc=G.unmount;function Vp(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=zp({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return Vp(r,t,n)})),e}function Yp(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Yp(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 Ur(){this.__u=0,this.t=null,this.__b=null}function Xp(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Qp(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),bc&&bc(e)},(Ur.prototype=new nt).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var i=Xp(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]=Yp(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)},Ur.prototype.componentWillUnmount=function(){this.t=[]},Ur.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]=Vp(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 _c=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 F0(e){return this.getChildContext=function(){return e.context},e.children}function U0(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(F0,{context:t.context},e.__v),t.l)}function js(e,t){var n=F(U0,{__v:e,i:t});return n.containerInfo=t,n}(zn.prototype=new nt).__a=function(e){var t=this,n=Xp(t.__v),r=t.o.get(e);return r[0]++,function(i){var a=function(){t.props.revealOrder?(r.push(i),_c(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){_c(e,n,t)})};var Jp=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,x0=/^(?: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]/,H0=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,K0=/[A-Z0-9]/g,W0=typeof document<"u",z0=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Zp(e,t,n){return t.__k==null&&(t.textContent=""),ir(e,t),typeof n=="function"&&n(),e?e.__c:null}function eh(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 wc=G.event;function q0(){}function G0(){return this.cancelBubble}function V0(){return this.defaultPrevented}G.event=function(e){return wc&&(e=wc(e)),e.persist=q0,e.isPropagationStopped=G0,e.isDefaultPrevented=V0,e.nativeEvent=e};var Bs,Y0={enumerable:!1,configurable:!0,get:function(){return this.class}},Ec=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||W0&&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"||z0(n.type)?u==="onfocus"?a="onfocusin":u==="onblur"?a="onfocusout":H0.test(a)?a=u:r.indexOf("-")===-1&&x0.test(a)?a=a.replace(K0,"-$&").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",Y0)):(n.className&&!n.class||n.class&&n.className)&&(i.class=i.className=n.className),t.props=i}(e),e.$$typeof=Jp,Ec&&Ec(e)};var Sc=G.__r;G.__r=function(e){Sc&&Sc(e),Bs=e.__c};var Oc=G.diffed;G.diffed=function(e){Oc&&Oc(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 th={ReactCurrentDispatcher:{current:{readContext:function(e){return Bs.__n[e.__c].props.value}}}},X0="17.0.2";function nh(e){return F.bind(null,e)}function br(e){return!!e&&e.$$typeof===Jp}function rh(e){return br(e)&&e.type===we}function Fs(e){return br(e)?Bp.apply(null,arguments):e}function ih(e){return!!e.__k&&(ir(null,e),!0)}function ah(e){return e&&(e.base||e.nodeType===1&&e)||null}var oh=function(e,t){return e(t)},uh=function(e,t){return e(t)},sh=we;function Us(e){e()}function lh(e){return e}function ch(){return[!1,Us]}var fh=$n,dh=br;function ph(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:Hp,useReducer:Dn,useEffect:de,useLayoutEffect:$n,useInsertionEffect:fh,useTransition:ch,useDeferredValue:lh,useSyncExternalStore:ph,startTransition:Us,useRef:ae,useImperativeHandle:Up,useMemo:ce,useCallback:Zt,useContext:ke,useDebugValue:xp,version:"17.0.2",Children:Gp,render:Zp,hydrate:eh,unmountComponentAtNode:ih,createPortal:js,createElement:F,createContext:je,createFactory:nh,cloneElement:Fs,createRef:Yr,Fragment:we,isValidElement:br,isElement:dh,isFragment:rh,findDOMNode:ah,Component:nt,PureComponent:pa,memo:qp,forwardRef:pe,flushSync:uh,unstable_batchedUpdates:oh,StrictMode:sh,Suspense:Ur,SuspenseList:zn,lazy:Qp,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:th};const or=Object.freeze(Object.defineProperty({__proto__:null,Children:Gp,Component:nt,Fragment:we,PureComponent:pa,StrictMode:sh,Suspense:Ur,SuspenseList:zn,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:th,cloneElement:Fs,createContext:je,createElement:F,createFactory:nh,createPortal:js,createRef:Yr,default:Z,findDOMNode:ah,flushSync:uh,forwardRef:pe,hydrate:eh,isElement:dh,isFragment:rh,isValidElement:br,lazy:Qp,memo:qp,render:Zp,startTransition:Us,unmountComponentAtNode:ih,unstable_batchedUpdates:oh,useCallback:Zt,useContext:ke,useDebugValue:xp,useDeferredValue:lh,useEffect:de,useErrorBoundary:N0,useId:Hp,useImperativeHandle:Up,useInsertionEffect:fh,useLayoutEffect:$n,useMemo:ce,useReducer:Dn,useRef:ae,useState:xe,useSyncExternalStore:ph,useTransition:ch,version:X0},Symbol.toStringTag,{value:"Module"}));var hh={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}})()})(hh);var Q0=hh.exports;const EL=si(Q0);globalThis&&globalThis.__spreadArray;function J0(e){return e}function Z0(e){return function(){return e}}var eb=Z0(void 0);function SL(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 tb=function(e){return e._tag==="Some"},nb={_tag:"None"},rb=function(e){return{_tag:"Some",value:e}},xs=nb,vh=rb,OL=function(e){return function(t){return Ua(t)?xs:vh(e(t.value))}},PL=tb,Ua=function(e){return e._tag==="None"},ib=function(e,t){return function(n){return Ua(n)?e():t(n.value)}},mh=ib,AL=mh,ab=function(e){return function(t){return Ua(t)?e():t.value}},TL=ab,ob=function(e){return e==null?xs:vh(e)},CL=function(e){return function(t){return Ua(t)?xs:ob(e(t.value))}},IL=mh(eb,J0);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 Pc=function(e){return e},Ac="beforeunload",ub="hashchange",sb="popstate";function LL(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=Ic(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,Pc({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(sb,u),r.addEventListener(ub,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=Cc(),h=Cc();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),Pc(ur({pathname:l.pathname,hash:"",search:""},typeof w=="string"?Ic(w):w,{state:P,key:lb()}))}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(Ac,Tc),function(){A(),h.length||r.removeEventListener(Ac,Tc)}}};return S}function Tc(e){e.preventDefault(),e.returnValue=""}function Cc(){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 lb(){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 Ic(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 cb={};function yh(e,t){for(var n in t)e[n]=t[n];return e}function gh(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(/[+*?]+$/)||cb)[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 fb(e,t){return e.rank<t.rank?1:e.rank>t.rank?-1:e.index-t.index}function db(e,t){return e.index=t,e.rank=vb(e),e.props}function Tu(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")}function pb(e){return e.charAt(0)==":"?1+"*+?".indexOf(e.charAt(e.length-1))||4:5}function hb(e){return Tu(e).map(pb).join("")}function vb(e){return e.props.default?0:hb(e.props.path)}var et=null,Pn=[],Cu=[],mb={};function yb(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:mb,""+(e.pathname||"")+(e.search||"")}function bh(e,t){return t===void 0&&(t=!1),typeof e!="string"&&e.url&&(t=e.replace,e=e.url),gb(e)&&yb(e,t?"replace":"push"),_h(e)}function gb(e){for(var t=Pn.length;t--;)if(Pn[t].canRoute(e))return!0;return!1}function _h(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 wh(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 bh(t)}}function bb(e){if(!(e.ctrlKey||e.metaKey||e.altKey||e.shiftKey||e.button!==0))return wh(e.currentTarget||e.target||this),Eh(e)}function Eh(e){return e&&(e.stopImmediatePropagation&&e.stopImmediatePropagation(),e.stopPropagation&&e.stopPropagation(),e.preventDefault()),!1}function _b(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(wh(t))return Eh(e)}while(t=t.parentNode)}}var Lc=!1;function wb(){Lc||(typeof addEventListener=="function"&&(et||addEventListener("popstate",function(){_h(Hs())}),addEventListener("click",_b)),Lc=!0)}var ln=function(e){function t(n){e.call(this,n),n.history&&(et=n.history),this.state={url:n.url||Hs()},wb()}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(db).sort(fb).map(function(o){var u=gh(i,o.props.path,o.props);if(u){if(a!==!1){var s={url:i,matches:u};return yh(s,u),delete s.ref,delete s.key,Bp(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),Eb=function(e){return F("a",yh({onClick:bb},e))},Sb=function(e){return F(e.component,e)};ln.subscribers=Cu;ln.getCurrentUrl=Hs;ln.route=bh;ln.Router=ln;ln.Route=Sb;ln.Link=Eb;ln.exec=gh;const Ob="application/json",Sh="Content-Type",Bn=Symbol(),Oh=Symbol();function Rc(e={}){var t;return(t=Object.entries(e).find(([n])=>n.toLowerCase()===Sh.toLowerCase()))===null||t===void 0?void 0:t[1]}function kc(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 Pb(e,t=!1){sr.options=t?e:An(sr.options,e)}function Ab(e,t=!1){sr.polyfills=t?e:An(sr.polyfills,e)}function Tb(e){sr.errorType=e}const Cb=e=>t=>e.reduceRight((n,r)=>r(n),t)||t;class Ph extends Error{}const Ib=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=Cb(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 Ph;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(Oh);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)},Lb={_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({[Sh]: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(Oh,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=Rc(r._options.headers),a=this._config.polyfill("FormData",!1),o=typeof n=="object"&&!(a&&n instanceof a)&&(!r._options.headers||!i||kc(i));return r=n?o?r.json(n,i):r.body(n):r,Ib(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=Rc(this._options.headers);return this.content(t||kc(n)&&n||Ob).body(JSON.stringify(e))}};function lr(e="",t={}){return{...Lb,_url:e,_options:t}}lr.default=lr;lr.options=Pb;lr.errorType=Tb;lr.polyfills=Ab;lr.WretchError=Ph;function Nc(e){return typeof e<"u"?e:""}const Rb=(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,Nc(f));else u.append(s,Nc(c))}a=u.toString()}const o=e.split("?");return a?n||o.length<2?o[0]+"?"+a:e+"&"+a:n?o[0]:e},kb={wretch:{query(e,t=!1,n=!1){return{...this,_url:Rb(this._url,e,t,n,this._config)}}}},RL=kb;var Nb=0;function kL(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:--Nb,__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)===xb}(e)||Array.isArray(e)||!!e[xc]||!!(!((t=e.constructor)===null||t===void 0)&&t[xc])||Ks(e)||Ws(e))}function Qr(e,t,n){n===void 0&&(n=!1),_r(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 _r(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 _r(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Mb(e,t){return _r(e)===2?e.get(t):e[t]}function Ah(e,t,n){var r=_r(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function Db(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Ks(e){return Fb&&e instanceof Map}function Ws(e){return Ub&&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=Hb(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)||(_r(e)>1&&(e.set=e.add=e.clear=e.delete=$b),Object.freeze(e),t&&Qr(e,function(n,r){return qs(r,!0)},!0)),e}function $b(){pt(2)}function Gs(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Ct(e){var t=Kb[e];return t||pt(18,e),t}function Mc(){return Jr}function bo(e,t){t&&(Ct("Patches"),e.u=[],e.s=[],e.v=t)}function ha(e){Lu(e),e.p.forEach(jb),e.p=null}function Lu(e){e===Jr&&(Jr=e.l)}function Dc(e){return Jr={p:[],l:Jr,h:e,m:!0,_:0}}function jb(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!==Th?e:void 0}function va(e,t,n){if(Gs(t))return t;var r=t[rt];if(!r)return Qr(t,function(u,s){return $c(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),Qr(a,function(u,s){return $c(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 $c(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(Ah(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 jc(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:Mc(),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=$r);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:Mc()).p.push(r),r}function Bb(e){return cr(e)||pt(22,e),function t(n){if(!Ln(n))return n;var r,i=n[rt],a=_r(n);if(i){if(!i.P&&(i.i<4||!Ct("ES5").K(i)))return i.t;i.I=!0,r=Bc(n,a),i.I=!1}else r=Bc(n,a);return Qr(r,function(o,u){i&&Mb(i.t,o)===u||Ah(r,o,t(u))}),a===3?new Set(r):r}(e)}function Bc(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return zs(e)}var Fc,Jr,Vs=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Fb=typeof Map<"u",Ub=typeof Set<"u",Uc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Th=Vs?Symbol.for("immer-nothing"):((Fc={})["immer-nothing"]=!0,Fc),xc=Vs?Symbol.for("immer-draftable"):"__$immer_draftable",rt=Vs?Symbol.for("immer-state"):"__$immer_state",xb=""+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,Hb=Object.getOwnPropertyDescriptors||function(e){var t={};return Ys(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t},Kb={},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=jc(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=jc(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(Db(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)}},$r={};Qr(Nu,function(e,t){$r[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),$r.deleteProperty=function(e,t){return $r.set.call(this,e,t,void 0)},$r.set=function(e,t,n){return Nu.set.call(this,e[0],t,n,e[0])};var Wb=function(){function e(n){var r=this;this.O=Uc,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=Dc(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===Th&&(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=Bb(n));var r=Dc(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&&!Uc&&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 Wb,NL=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 zb={},fr={},He={},wr={};(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})(wr);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]}),Gb=J&&J.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Vb=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 Gb(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 Yb=ct,Xb=Vb(wr);function Qb(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=Qb;function Jb(e){return function(t){return function(n){return e.ap(e.map(n,function(r){return function(){return r}}),t)}}}He.apFirst=Jb;function Zb(e){return function(t){return function(n){return e.ap(e.map(n,function(){return function(r){return r}}),t)}}}He.apSecond=Zb;function e1(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=e1;function t1(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=t1;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 n1(e){return Xb.has.call(So,e)||(So[e]=Xs(Yb.tuple,e-1,[])),So[e]}function r1(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=t.length,i=n1(r),a=e.map(t[0],i),o=1;o<r;o++)a=e.ap(a,t[o]);return a}}He.sequenceT=r1;function i1(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 a1(e){return function(t){for(var n=Object.keys(t),r=n.length,i=i1(n),a=e.map(t[n[0]],i),o=1;o<r;o++)a=e.ap(a,t[n[o]]);return a}}He.sequenceS=a1;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 o1=ct;function Ch(e,t){return function(n){return function(r){return e.map(r,function(i){return t.map(i,n)})}}}Ue.map=Ch;function u1(e){return function(t){return function(n){return e.map(n,function(r){return r(t)})}}}Ue.flap=u1;function s1(e){return function(t){return function(n){return e.map(n,function(r){var i;return i={},i[t]=r,i})}}}Ue.bindTo=s1;function l1(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=l1;function c1(e,t){var n=Ch(e,t);return{map:function(r,i){return(0,o1.pipe)(r,n(i))}}}Ue.getFunctorComposition=c1;function Ih(e){return function(t,n){return e.map(t,function(){return n})}}Ue.as=Ih;function f1(e){var t=Ih(e);return function(n){return t(n,void 0)}}Ue.asUnit=f1;Object.defineProperty(fr,"__esModule",{value:!0});fr.getApplicativeComposition=fr.getApplicativeMonoid=void 0;var Lh=He,d1=ct,p1=Ue;function h1(e){var t=(0,Lh.getApplySemigroup)(e);return function(n){return{concat:t(n).concat,empty:e.of(n.empty)}}}fr.getApplicativeMonoid=h1;function v1(e,t){var n=(0,p1.getFunctorComposition)(e,t).map,r=(0,Lh.ap)(e,t);return{map:n,of:function(i){return e.of(t.of(i))},ap:function(i,a){return(0,d1.pipe)(i,r(a))}}}fr.getApplicativeComposition=v1;var jt={};Object.defineProperty(jt,"__esModule",{value:!0});jt.bind=jt.tap=jt.chainFirst=void 0;function m1(e){var t=Rh(e);return function(n){return function(r){return t(r,n)}}}jt.chainFirst=m1;function Rh(e){return function(t,n){return e.chain(t,function(r){return e.map(n(r),function(){return r})})}}jt.tap=Rh;function y1(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=y1;var Ie={},g1=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}),_1=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)&&g1(t,e,n);return b1(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 w1=jt,kh=ct,Tn=_1(wr);function Nh(e){return function(t){return function(n){return e.fromEither(Tn.isNone(n)?Tn.left(t()):Tn.right(n.value))}}}Ie.fromOption=Nh;function E1(e){return function(t,n){return function(r){return e.fromEither(t(r)?Tn.right(r):Tn.left(n(r)))}}}Ie.fromPredicate=E1;function Mh(e){var t=Nh(e);return function(n){var r=t(n);return function(i){return(0,kh.flow)(i,r)}}}Ie.fromOptionK=Mh;function S1(e,t){var n=Mh(e);return function(r){var i=n(r);return function(a){return function(o){return t.chain(o,i(a))}}}}Ie.chainOptionK=S1;function Qs(e){return function(t){return(0,kh.flow)(t,e.fromEither)}}Ie.fromEitherK=Qs;function O1(e,t){var n=Qs(e);return function(r){return function(i){return t.chain(i,n(r))}}}Ie.chainEitherK=O1;function P1(e,t){var n=Dh(e,t);return function(r){return function(i){return n(i,r)}}}Ie.chainFirstEitherK=P1;function A1(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=A1;function Dh(e,t){var n=Qs(e),r=(0,w1.tap)(t);return function(i,a){return r(i,n(a))}}Ie.tapEither=Dh;var $h={};(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})($h);var jh={},st={};Object.defineProperty(st,"__esModule",{value:!0});st.concatAll=st.endo=st.filterSecond=st.filterFirst=st.reverse=void 0;var T1=function(e){return{concat:function(t,n){return e.concat(n,t)}}};st.reverse=T1;var C1=function(e){return function(t){return{concat:function(n,r){return e(n)?t.concat(n,r):r}}}};st.filterFirst=C1;var I1=function(e){return function(t){return{concat:function(n,r){return e(r)?t.concat(n,r):n}}}};st.filterSecond=I1;var L1=function(e){return function(t){return{concat:function(n,r){return t.concat(e(n),e(r))}}}};st.endo=L1;var R1=function(e){return function(t){return function(n){return n.reduce(function(r,i){return e.concat(r,i)},t)}}};st.concatAll=R1;var Bh={},Fh={};(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()}}})(Fh);(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=Fh,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()}))})(Bh);(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(wr),o=r(st),u=r(Bh),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}}})(jh);var Uh={};(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})(Uh);var an={},k1=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]}),N1=J&&J.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),M1=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)&&k1(t,e,n);return N1(t,e),t};Object.defineProperty(an,"__esModule",{value:!0});an.filterE=an.witherDefault=an.wiltDefault=void 0;var Hc=M1(wr);function D1(e,t){return function(n){var r=e.traverse(n);return function(i,a){return n.map(r(i,a),t.separate)}}}an.wiltDefault=D1;function $1(e,t){return function(n){var r=e.traverse(n);return function(i,a){return n.map(r(i,a),t.compact)}}}an.witherDefault=$1;function j1(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?Hc.some(a):Hc.none})})}}}}an.filterE=j1;var xa={};Object.defineProperty(xa,"__esModule",{value:!0});xa.guard=void 0;function B1(e,t){return function(n){return n?t.of(void 0):e.zero()}}xa.guard=B1;(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(wr),l=$h,d=jh,h=Uh,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 ly=function(){return e.none};e.throwError=ly,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 cy=function(N){return N._tag==="None"};e.isNone=cy;var fy=function(N,M){return function(K){return(0,e.isNone)(K)?N():M(K.value)}};e.matchW=fy,e.foldW=e.matchW,e.match=e.matchW,e.fold=e.match;var dy=function(N){return function(M){return(0,e.isNone)(M)?N():M.value}};e.getOrElseW=dy,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 py=function(N){return N==null?e.none:(0,e.some)(N)};e.fromNullable=py;var hy=function(N){try{return(0,e.some)(N())}catch{return e.none}};e.tryCatch=hy;var vy=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=vy;var my=function(N){return(0,s.flow)(N,e.fromNullable)};e.fromNullableK=my;var yy=function(N){return function(M){return(0,e.isNone)(M)?e.none:(0,e.fromNullable)(N(M.value))}};e.chainNullableK=yy,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 gy=function(N){return function(M){return(0,e.isNone)(M)?!1:N(M.value)}};e.exists=gy,e.Do=(0,e.of)(f.emptyRecord),e.bindTo=(0,c.bindTo)(e.Functor);var by=(0,c.let)(e.Functor);e.let=by,e.bind=o.bind(e.Chain),e.apS=(0,a.apS)(e.Apply),e.ApT=(0,e.of)(f.emptyReadonlyArray);var _y=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=_y;var wy=function(N){var M=(0,e.traverseReadonlyNonEmptyArrayWithIndex)(N);return function(K){return f.isNonEmpty(K)?M(K):e.ApT}};e.traverseReadonlyArrayWithIndex=wy,e.traverseArrayWithIndex=e.traverseReadonlyArrayWithIndex;var Ey=function(N){return(0,e.traverseReadonlyArrayWithIndex)(function(M,K){return N(K)})};e.traverseArray=Ey,e.sequenceArray=(0,e.traverseArray)(s.identity),e.chain=e.flatMap,e.chainFirst=e.tap;function Sy(N){return function(M){return(0,e.isSome)(N(M))}}e.getRefinement=Sy,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 Oy=function(){return(0,e.getMonoid)((0,d.first)())};e.getFirstMonoid=Oy;var Py=function(){return(0,e.getMonoid)((0,d.last)())};e.getLastMonoid=Py})(zb);function Mu(e){this.message=e}Mu.prototype=new Error,Mu.prototype.name="InvalidCharacterError";var Kc=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new Mu("'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 F1(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(Kc(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 Kc(t)}}function ya(e){this.message=e}function ML(e,t){if(typeof e!="string")throw new ya("Invalid token specified");var n=(t=t||{}).header===!0?0:1;try{return JSON.parse(F1(e.split(".")[n]))}catch(r){throw new ya("Invalid token specified: "+r.message)}}ya.prototype=new Error,ya.prototype.name="InvalidTokenError";var U1=Object.defineProperty,x1=(e,t,n)=>t in e?U1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Oo=(e,t,n)=>(x1(e,typeof t!="symbol"?t+"":t,n),n);let H1=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 H1,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 Er(){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 K1(){let e=typeof document>"u";return"useSyncExternalStore"in or?(t=>t.useSyncExternalStore)(or)(()=>()=>{},()=>!1,()=>!e):!1}function Sr(){let e=K1(),[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 Wc;let at=(Wc=Z.useId)!=null?Wc:function(){let e=Sr(),[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 Du=["[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||{}),xh=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(xh||{}),W1=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(W1||{});function Hh(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Du)).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(Du)},1(){let r=e;for(;r!==null;){if(r.matches(Du))return!0;r=r.parentElement}return!1}})}function Kh(e){let t=fi(e);bt().nextFrame(()=>{t&&!Zs(t.activeElement,0)&&on(e)})}var z1=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(z1||{});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 q1=["textarea","input"].join(",");function G1(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,q1))!=null?n:!1}function Wh(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 V1(e,t){return xr(Hh(),t,{relativeTo:e})}function xr(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?Wh(e):e:Hh(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&&G1(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 zh(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 qh(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),zh("blur",o=>i(o,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function zc(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(()=>zc(e));return Me(()=>{r(zc(e))},[e.type,e.as]),Me(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&r("button")},[n,t]),n}let Gh=Symbol();function Vh(e,t=!0){return Object.assign(e,{[Gh]: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[Gh]))?void 0:n}function Y1({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 X1(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 Q1(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:X1(e)}})();return a===-1?r:a}function ga(...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=Yh(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($u(u)).length>0){if(!br(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)=>ga(l==null?void 0:l.className(...v),u.className):ga(l==null?void 0:l.className,u.className),h=d?{className:d}:{};return js(c,Object.assign({},qh(c.props,Mu(Po(u,["ref"]))),f,s,Y1(c.ref,s.ref),h))}return F(i,Object.assign({},Po(u,["ref"]),i!==we&&s,i!==we&&f),c)}function Y1(...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 Mu(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&&X1(n)?!1:r}function X1(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}function Q1(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 J1="div";var Zr=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Zr||{});function Z1(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:J1,name:"Hidden"})}let ba=Se(Z1),Zs=je(null);Zs.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(Zs)}function el({value:e,children:t}){return Z.createElement(Zs.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 e_(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 tl(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 Wc(e){return[e.screenX,e.screenY]}function t_(){let e=ae([-1,-1]);return{wasMoved(t){let n=Wc(t);return e.current[0]===n[0]&&e.current[1]===n[1]?!1:(e.current=n,!0)},update(t){e.current=Wc(t)}}}function n_(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Or(...e){return ce(()=>fi(...e),[...e])}var jr=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(jr||{});function r_(){let e=ae(0);return Hh("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 Gh(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 i_(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}function Vh(e){let t=ee(e),n=ae(!1);de(()=>(n.current=!1,()=>{n.current=!0,Ha(()=>{n.current&&t()})}),[t])}function Yh(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 a_="div";var Xh=(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))(Xh||{});function o_(e,t){let n=ae(null),r=Ne(n,t),{initialFocus:i,containers:a,features:o=30,...u}=e;Sr()||(o=1);let s=Or(n);l_({ownerDocument:s},!!(o&16));let c=c_({ownerDocument:s,container:n,initialFocus:i},!!(o&2));f_({ownerDocument:s,container:n,containers:a,previousActiveElement:c},!!(o&8));let f=r_(),l=ee(p=>{let _=n.current;_&&(g=>g())(()=>{Pe(f.current,{[jr.Forwards]:()=>{xr(_,Nt.First,{skipElements:[p.relatedTarget]})},[jr.Backwards]:()=>{xr(_,Nt.Last,{skipElements:[p.relatedTarget]})}})})}),d=Er(),h=ae(!1),v={ref:r,onKeyDown(p){p.key=="Tab"&&(h.current=!0,d.requestAnimationFrame(()=>{h.current=!1}))},onBlur(p){let _=Yh(a);n.current instanceof HTMLElement&&_.add(n.current);let g=p.relatedTarget;g instanceof HTMLElement&&g.dataset.headlessuiFocusGuard!=="true"&&(Qh(_,g)||(h.current?xr(n.current,Pe(f.current,{[jr.Forwards]:()=>Nt.Next,[jr.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(ba,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:l,features:Zr.Focusable}),Ee({ourProps:v,theirProps:u,defaultTag:a_,name:"FocusTrap"}),!!(o&4)&&Z.createElement(ba,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:l,features:Zr.Focusable}))}let u_=Se(o_),Rr=Object.assign(u_,{features:Xh}),Qt=[];i_(()=>{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 s_(e=!0){let t=ae(Qt.slice());return tl(([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 l_({ownerDocument:e},t){let n=s_(t);tl(()=>{t||(e==null?void 0:e.activeElement)===(e==null?void 0:e.body)&&on(n())},[t]),Vh(()=>{t&&on(n())})}function c_({ownerDocument:e,container:t,initialFocus:n},r){let i=ae(null),a=pi();return tl(()=>{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):xr(o,Nt.First)===Bh.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),i.current=e==null?void 0:e.activeElement})},[r]),i}function f_({ownerDocument:e,container:t,containers:n,previousActiveElement:r},i){let a=pi();Gh(e==null?void 0:e.defaultView,"focus",o=>{if(!i||!a.current)return;let u=Yh(n);t.current instanceof HTMLElement&&u.add(t.current);let s=r.current;if(!s)return;let c=o.target;c&&c instanceof HTMLElement?Qh(u,c)?(r.current=c,on(c)):(o.preventDefault(),o.stopPropagation(),on(s)):on(r.current)},!0)}function Qh(e,t){for(let n of e)if(n.contains(t))return!0;return!1}let Jh=je(!1);function d_(){return ke(Jh)}function Du(e){return Z.createElement(Jh.Provider,{value:e.force},e.children)}function p_(e){let t=d_(),n=ke(Zh),r=Or(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 h_=we;function v_(e,t){let n=e,r=ae(null),i=Ne(zh(f=>{r.current=f}),t),a=Or(r),o=p_(r),[u]=xe(()=>{var f;return Bt.isServer?null:(f=a==null?void 0:a.createElement("div"))!=null?f:null}),s=ke($u),c=Sr();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]),Vh(()=>{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:Ds(Ee({ourProps:{ref:i},theirProps:n,defaultTag:h_,name:"Portal"}),u):null}let m_=we,Zh=je(null);function y_(e,t){let{target:n,...r}=e,i={ref:Ne(t)};return Z.createElement(Zh.Provider,{value:n},Ee({ourProps:i,theirProps:r,defaultTag:m_,name:"Popover.Group"}))}let $u=je(null);function g_(){let e=ke($u),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($u.Provider,{value:i},a)},[i])]}let b_=Se(v_),__=Se(y_),ju=Object.assign(b_,{Group:__}),ev=je(null);function tv(){let e=ke(ev);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,tv),t}return e}function nv(){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(ev.Provider,{value:i},n.children)},[t])]}let w_="p";function E_(e,t){let n=at(),{id:r=`headlessui-description-${n}`,...i}=e,a=tv(),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:w_,name:a.name||"Description"})}let S_=Se(E_),rv=Object.assign(S_,{}),nl=je(()=>{});nl.displayName="StackContext";var Bu=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(Bu||{});function O_(){return ke(nl)}function P_({children:e,onUpdate:t,type:n,element:r,enabled:i}){let a=O_(),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(nl.Provider,{value:o},e)}function A_(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}const T_=typeof Object.is=="function"?Object.is:A_,{useState:C_,useEffect:I_,useLayoutEffect:L_,useDebugValue:R_}=or;function k_(e,t,n){const r=t(),[{inst:i},a]=C_({inst:{value:r,getSnapshot:t}});return L_(()=>{i.value=r,i.getSnapshot=t,Ao(i)&&a({inst:i})},[e,r,t]),I_(()=>(Ao(i)&&a({inst:i}),e(()=>{Ao(i)&&a({inst:i})})),[e]),R_(r),r}function Ao(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!T_(n,r)}catch{return!0}}function N_(e,t,n){return t()}const M_=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",D_=!M_,$_=D_?N_:k_,j_="useSyncExternalStore"in or?(e=>e.useSyncExternalStore)(or):$_;function B_(e){return j_(e.subscribe,e.getSnapshot,e.getSnapshot)}function F_(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 U_(){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 x_(){if(!n_())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 H_(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function K_(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let wn=F_(()=>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:K_(n)},i=[x_(),U_(),H_()];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 W_(e,t,n){let r=B_(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,kr=new Map;function zc(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=kr.get(r))!=null?o:1;if(u===1?kr.delete(r):kr.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=kr.get(r))!=null?n:0;return kr.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 z_({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){var r;let i=ae((r=n==null?void 0:n.current)!=null?r:null),a=Or(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(ba,{features:Zr.Hidden,ref:i})},[i,n])}}var q_=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(q_||{}),G_=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(G_||{});let V_={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},_a=je(null);_a.displayName="DialogContext";function hi(e){let t=ke(_a);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 Y_(e,t,n=()=>[document.body]){W_(e,t,r=>{var i;return{containers:[...(i=r.containers)!=null?i:[],n]}})}function X_(e,t){return Pe(t.type,V_,e,t)}let Q_="div",J_=cn.RenderStrategy|cn.Static;function Z_(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=Or(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(X_,{titleId:null,descriptionId:null,panelRef:Yr()}),E=ee(()=>o(!1)),O=ee(Q=>b({type:0,id:Q})),S=Sr()?s?!1:y===0:!1,w=f>1,P=ke(_a)!==null,[A,L]=g_(),{resolveContainers:D,mainTreeNodeRef:j,MainTreeNode:I}=z_({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]);zc(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]);zc(z,Y);let X=(()=>!(!S||w))();Kh(D,E,X);let x=(()=>!(w||y!==0))();Gh(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))();Y_(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]=nv(),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(P_,{type:"Dialog",enabled:y===0,element:h,onUpdate:ee((Q,oe)=>{oe==="Dialog"&&Pe(Q,{[Bu.Add]:()=>l(ie=>ie+1),[Bu.Remove]:()=>l(ie=>ie-1)})})},Z.createElement(Du,{force:!0},Z.createElement(ju,null,Z.createElement(_a.Provider,{value:ne},Z.createElement(ju.Group,{target:h},Z.createElement(Du,{force:!1},Z.createElement(H,{slot:le,name:"Dialog.Description"},Z.createElement(Rr,{initialFocus:u,containers:D,features:S?Pe(C,{parent:Rr.features.RestoreFocus,leaf:Rr.features.All&~Rr.features.FocusLock}):Rr.features.None},Z.createElement(L,null,Ee({ourProps:te,theirProps:c,slot:le,defaultTag:Q_,features:J_,visible:y===0,name:"Dialog"}))))))))),Z.createElement(I,null))}let ew="div";function tw(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:ew,name:"Dialog.Overlay"})}let nw="div";function rw(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(Du,{force:!0},Z.createElement(ju,null,Ee({ourProps:{ref:u,id:r,"aria-hidden":!0},theirProps:i,slot:s,defaultTag:nw,name:"Dialog.Backdrop"})))}let iw="div";function aw(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:iw,name:"Dialog.Panel"})}let ow="h2";function uw(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:ow,name:"Dialog.Title"})}let sw=Se(Z_),lw=Se(rw),cw=Se(aw),fw=Se(tw),dw=Se(uw),UL=Object.assign(sw,{Backdrop:lw,Panel:cw,Overlay:fw,Title:dw,Description:rv});var qc;let pw=(qc=Z.startTransition)!=null?qc:function(e){e()};var hw=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(hw||{}),vw=(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))(vw||{});let mw={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}}},rl=je(null);rl.displayName="DisclosureContext";function il(e){let t=ke(rl);if(t===null){let n=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,il),n}return t}let al=je(null);al.displayName="DisclosureAPIContext";function iv(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,iv),n}return t}let ol=je(null);ol.displayName="DisclosurePanelContext";function yw(){return ke(ol)}function gw(e,t){return Pe(t.type,mw,e,t)}let bw=we;function _w(e,t){let{defaultOpen:n=!1,...r}=e,i=ae(null),a=Ne(t,zh(_=>{i.current=_},e.as===void 0||e.as===we)),o=ae(null),u=ae(null),s=Dn(gw,{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(rl.Provider,{value:s},Z.createElement(al.Provider,{value:h},Z.createElement(el,{value:Pe(c,{0:Oe.Open,1:Oe.Closed})},Ee({ourProps:p,theirProps:r,slot:v,defaultTag:bw,name:"Disclosure"}))))}let ww="button";function Ew(e,t){let n=at(),{id:r=`headlessui-disclosure-button-${n}`,...i}=e,[a,o]=il("Disclosure.Button"),u=yw(),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=Js(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:ww,name:"Disclosure.Button"})}let Sw="div",Ow=cn.RenderStrategy|cn.Static;function Pw(e,t){let n=at(),{id:r=`headlessui-disclosure-panel-${n}`,...i}=e,[a,o]=il("Disclosure.Panel"),{close:u}=iv("Disclosure.Panel"),s=Ne(t,a.panelRef,h=>{pw(()=>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(ol.Provider,{value:a.panelId},Ee({ourProps:d,theirProps:i,slot:l,defaultTag:Sw,features:Ow,visible:f,name:"Disclosure.Panel"}))}let Aw=Se(_w),Tw=Se(Ew),Cw=Se(Pw),xL=Object.assign(Aw,{Button:Tw,Panel:Cw}),Gc=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function Vc(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 Gc.test(o)&&(o=o.replace(Gc,"")),o}function Iw(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():Vc(a).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return Vc(e).trim()}function Lw(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=Iw(r).trim().toLowerCase();return t.current=i,n.current=a,a})}var Rw=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Rw||{}),kw=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(kw||{}),Nw=(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))(Nw||{});function Co(e,t=n=>n){let n=e.activeItemIndex!==null?e.items[e.activeItemIndex]:null,r=xh(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 Mw={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=V1(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}}},ul=je(null);ul.displayName="MenuContext";function Wa(e){let t=ke(ul);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 Dw(e,t){return Pe(t.type,Mw,e,t)}let $w=we;function jw(e,t){let{__demoMode:n=!1,...r}=e,i=Dn(Dw,{__demoMode:n,menuState:n?0:1,buttonRef:Yr(),itemsRef:Yr(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:a,itemsRef:o,buttonRef:u},s]=i,c=Ne(t);Kh([u,o],(h,v)=>{var p;s({type:1}),Qs(v,Xs.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(ul.Provider,{value:i},Z.createElement(el,{value:Pe(a,{0:Oe.Open,1:Oe.Closed})},Ee({ourProps:d,theirProps:r,slot:l,defaultTag:$w,name:"Menu"})))}let Bw="button";function Fw(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=Er(),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:Js(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:Bw,name:"Menu.Button"})}let Uw="div",xw=cn.RenderStrategy|cn.Static;function Hw(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=Or(u.itemsRef),l=Er(),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]),q1({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()}Uh(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(()=>{z1(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:Uw,features:xw,visible:h,name:"Menu.Items"})}let Kw=we;function Ww(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=Lw(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}),Uh(o.buttonRef.current)}),p=ee(()=>{if(i)return u({type:2,focus:ht.Nothing});u({type:2,focus:ht.Specific,id:r})}),_=t_(),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:Kw,name:"Menu.Item"})}let zw=Se(jw),qw=Se(Fw),Gw=Se(Hw),Vw=Se(Ww),HL=Object.assign(zw,{Button:qw,Items:Gw,Item:Vw});function Yw(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 av=je(null);function ov(){let e=ke(av);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,ov),t}return e}function Xw(){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 Qw="label";function Jw(e,t){let n=at(),{id:r=`headlessui-label-${n}`,passive:i=!1,...a}=e,o=ov(),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:Qw,name:o.name||"Label"})}let Zw=Se(Jw),eE=Object.assign(Zw,{}),sl=je(null);sl.displayName="GroupContext";let tE=we;function nE(e){var t;let[n,r]=xe(null),[i,a]=Xw(),[o,u]=nv(),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(sl.Provider,{value:s},Ee({ourProps:c,theirProps:f,defaultTag:tE,name:"Switch.Group"}))))}let rE="button";function iE(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(sl),d=ae(null),h=Ne(d,t,l===null?null:l.setSwitch),[v,p]=e_(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&&Q1(S.currentTarget)}),m=ee(S=>S.preventDefault()),b=ce(()=>({checked:v}),[v]),E={id:r,ref:h,role:"switch",type:Js(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=Er();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(ba,{features:Zr.Hidden,...Mu({as:"input",type:"checkbox",hidden:!0,readOnly:!0,form:c,checked:v,name:u,value:s})}),Ee({ourProps:E,theirProps:f,slot:b,defaultTag:rE,name:"Switch"}))}let aE=Se(iE),oE=nE,KL=Object.assign(aE,{Group:oE,Label:eE,Description:rv});function uE(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 sE(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 lE(e,t,n,r){let i=n?"enter":"leave",a=bt(),o=r!==void 0?uE(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),sE(e,()=>(Lo(e,...t.base,...u),Io(e,...t.base,...t.entered),o()))}),a.dispose}function cE({immediate:e,container:t,direction:n,classes:r,onStart:i,onStop:a}){let o=pi(),u=Er(),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(lE(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 fE=(e=>(e.Visible="visible",e.Hidden="hidden",e))(fE||{});function dE(){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 pE(){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 uv(e,t){let n=Ft(e),r=ae([]),i=pi(),a=Er(),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 hE(){}let vE=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function Yc(e){var t;let n={};for(let r of vE)n[r]=(t=e[r])!=null?t:hE;return n}function mE(e){let t=ae(Yc(e));return de(()=>{t.current=Yc(e)},[e]),t}let yE="div",sv=cn.RenderStrategy;function gE(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}=dE(),[O,S]=xe(m?"visible":"hidden"),w=pE(),{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=mE({beforeEnter:i,afterEnter:a,beforeLeave:o,afterLeave:u}),j=Sr();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")(),$=Yw(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=uv(()=>{S("hidden"),A(_)},w);cE({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:ga(p.className,...L.current.enter,...L.current.enterFrom)}:(X.className=ga(p.className,(r=_.current)==null?void 0:r.className),X.className===""&&delete X.className),Z.createElement(qa.Provider,{value:z},Z.createElement(el,{value:Pe(O,{visible:Oe.Open,hidden:Oe.Closed})|$.flags},Ee({ourProps:x,theirProps:X,defaultTag:yE,features:sv,visible:O==="visible",name:"Transition.Child"})))}function bE(e,t){let{show:n,appear:r=!1,unmount:i=!0,...a}=e,o=ae(null),u=Ne(o,t);Sr();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=uv(()=>{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(lv,{ref:u,..._,...a,beforeEnter:g,beforeLeave:y})},theirProps:{},defaultTag:we,features:sv,visible:c==="visible",name:"Transition"})))}function _E(e,t){let n=ke(za)!==null,r=di()!==null;return Z.createElement(Z.Fragment,null,!n&&r?Z.createElement(Fu,{ref:t,...e}):Z.createElement(lv,{ref:t,...e}))}let Fu=Se(bE),lv=Se(gE),wE=Se(_E),WL=Object.assign(Fu,{Child:wE,Root:Fu});function EE({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 SE=pe(EE),zL=SE;function OE({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 PE=pe(OE),qL=PE;function AE({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 TE=pe(AE),GL=TE;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:"M15.75 19.5L8.25 12l7.5-7.5"}))}const IE=pe(CE),VL=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:"M8.25 4.5l7.5 7.5-7.5 7.5"}))}const RE=pe(LE),YL=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:"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 NE=pe(kE),XL=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:"M12 9v3.75m9-.75a9 9 0 11-18 0 9 9 0 0118 0zm-9 3.75h.008v.008H12v-.008z"}))}const DE=pe(ME),QL=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:"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 jE=pe($E),JL=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:"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 FE=pe(BE),ZL=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:"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 xE=pe(UE),eR=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:"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 KE=pe(HE),tR=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:"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 zE=pe(WE),nR=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:"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 GE=pe(qE),rR=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:"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 YE=pe(VE),iR=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:"M6 18L18 6M6 6l12 12"}))}const QE=pe(XE),aR=QE,JE=(e,t)=>t.skipDedupe||t.method!=="GET",ZE=(e,t)=>t.method+"@"+e,eS=e=>e.clone(),oR=({skip:e=JE,key:t=ZE,resolver:n=eS}={})=>{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)}}},tS=(e,t)=>t.skipCache||t.method!=="GET",nS=(e,t)=>t.method+"@"+e,rS=(e,t)=>!1,iS=(e,t)=>null,aS=e=>e.ok,uR=({throttle:e=1e3,skip:t=tS,key:n=nS,clear:r=rS,invalidate:i=iS,condition:a=aS,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 cv(e,t){return function(){return e.apply(t,arguments)}}const{toString:oS}=Object.prototype,{getPrototypeOf:ll}=Object,{iterator:Va,toStringTag:fv}=Symbol,Ya=(e=>t=>{const n=oS.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:Pr}=Array,ei=Xa("undefined");function vi(e){return e!==null&&!ei(e)&&e.constructor!==null&&!ei(e.constructor)&&Xe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const dv=_t("ArrayBuffer");function uS(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&dv(e.buffer),t}const sS=Xa("string"),Xe=Xa("function"),pv=Xa("number"),mi=e=>e!==null&&typeof e=="object",lS=e=>e===!0||e===!1,Qi=e=>{if(Ya(e)!=="object")return!1;const t=ll(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(fv in e)&&!(Va in e)},cS=e=>{if(!mi(e)||vi(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},fS=_t("Date"),dS=_t("File"),pS=_t("Blob"),hS=_t("FileList"),vS=e=>mi(e)&&Xe(e.pipe),mS=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]"))},yS=_t("URLSearchParams"),[gS,bS,_S,wS]=["ReadableStream","Request","Response","Headers"].map(_t),ES=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]),Pr(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 hv(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)(),vv=e=>!ei(e)&&e!==En;function Uu(){const{caseless:e}=vv(this)&&this||{},t={},n=(r,i)=>{const a=e&&hv(t,i)||i;Qi(t[a])&&Qi(r)?t[a]=Uu(t[a],r):Qi(r)?t[a]=Uu({},r):Pr(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 SS=(e,t,n,{allOwnKeys:r}={})=>(yi(t,(i,a)=>{n&&Xe(i)?e[a]=cv(i,n):e[a]=i},{allOwnKeys:r}),e),OS=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),PS=(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)},AS=(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&&ll(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},TS=(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},CS=e=>{if(!e)return null;if(Pr(e))return e;let t=e.length;if(!pv(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},IS=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ll(Uint8Array)),LS=(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])}},RS=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},kS=_t("HTMLFormElement"),NS=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Xc=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),MS=_t("RegExp"),mv=(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)},DS=e=>{mv(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+"'")})}})},$S=(e,t)=>{const n={},r=i=>{i.forEach(a=>{n[a]=!0})};return Pr(e)?r(e):r(String(e).split(t)),n},jS=()=>{},BS=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function FS(e){return!!(e&&Xe(e.append)&&e[fv]==="FormData"&&e[Va])}const US=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=Pr(r)?[]:{};return yi(r,(o,u)=>{const s=n(o,i+1);!ei(s)&&(a[u]=s)}),t[i]=void 0,a}}return r};return n(e,0)},xS=_t("AsyncFunction"),HS=e=>e&&(mi(e)||Xe(e))&&Xe(e.then)&&Xe(e.catch),yv=((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)),KS=typeof queueMicrotask<"u"?queueMicrotask.bind(En):typeof process<"u"&&process.nextTick||yv,WS=e=>e!=null&&Xe(e[Va]),k={isArray:Pr,isArrayBuffer:dv,isBuffer:vi,isFormData:mS,isArrayBufferView:uS,isString:sS,isNumber:pv,isBoolean:lS,isObject:mi,isPlainObject:Qi,isEmptyObject:cS,isReadableStream:gS,isRequest:bS,isResponse:_S,isHeaders:wS,isUndefined:ei,isDate:fS,isFile:dS,isBlob:pS,isRegExp:MS,isFunction:Xe,isStream:vS,isURLSearchParams:yS,isTypedArray:IS,isFileList:hS,forEach:yi,merge:Uu,extend:SS,trim:ES,stripBOM:OS,inherits:PS,toFlatObject:AS,kindOf:Ya,kindOfTest:_t,endsWith:TS,toArray:CS,forEachEntry:LS,matchAll:RS,isHTMLForm:kS,hasOwnProperty:Xc,hasOwnProp:Xc,reduceDescriptors:mv,freezeMethods:DS,toObjectSet:$S,toCamelCase:NS,noop:jS,toFiniteNumber:BS,findKey:hv,global:En,isContextDefined:vv,isSpecCompliantForm:FS,toJSONObject:US,isAsyncFn:xS,isThenable:HS,setImmediate:yv,asap:KS,isIterable:WS};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 gv=re.prototype,bv={};["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=>{bv[e]={value:e}});Object.defineProperties(re,bv);Object.defineProperty(gv,"isAxiosError",{value:!0});re.from=(e,t,n,r,i,a)=>{const o=Object.create(gv);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 xu(e){return k.isPlainObject(e)||k.isArray(e)}function _v(e){return k.endsWith(e,"[]")?e.slice(0,-2):e}function Qc(e,t,n){return e?e.concat(t).map(function(i,a){return i=_v(i),!n&&a?"["+i+"]":i}).join(n?".":""):t}function qS(e){return k.isArray(e)&&!e.some(xu)}const GS=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)&&qS(v)||(k.isFileList(v)||k.endsWith(p,"[]"))&&(g=k.toArray(v)))return p=_v(p),g.forEach(function(m,b){!(k.isUndefined(m)||m===null)&&t.append(o===!0?Qc([p],b,a):o===null?p:p+"[]",c(m))}),!1}return xu(v)?!0:(t.append(Qc(_,p,a),c(v)),!1)}const l=[],d=Object.assign(GS,{defaultVisitor:f,convertValue:c,isVisitable:xu});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 Jc(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function cl(e,t){this._pairs=[],e&&Qa(e,this,t)}const wv=cl.prototype;wv.append=function(t,n){this._pairs.push([t,n])};wv.toString=function(t){const n=t?function(r){return t.call(this,r,Jc)}:Jc;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function VS(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ev(e,t,n){if(!t)return e;const r=n&&n.encode||VS;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 cl(t,n).toString(r),a){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class YS{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 Zc=YS,Sv={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},XS=typeof URLSearchParams<"u"?URLSearchParams:cl,QS=typeof FormData<"u"?FormData:null,JS=typeof Blob<"u"?Blob:null,ZS={isBrowser:!0,classes:{URLSearchParams:XS,FormData:QS,Blob:JS},protocols:["http","https","file","blob","url","data"]},fl=typeof window<"u"&&typeof document<"u",Hu=typeof navigator=="object"&&navigator||void 0,eO=fl&&(!Hu||["ReactNative","NativeScript","NS"].indexOf(Hu.product)<0),tO=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),nO=fl&&window.location.href||"http://localhost",rO=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:fl,hasStandardBrowserEnv:eO,hasStandardBrowserWebWorkerEnv:tO,navigator:Hu,origin:nO},Symbol.toStringTag,{value:"Module"})),ze={...rO,...ZS};function iO(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 aO(e){return k.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function oO(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 Ov(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]=oO(i[o])),!u)}if(k.isFormData(e)&&k.isFunction(e.entries)){const n={};return k.forEachEntry(e,(r,i)=>{t(aO(r),i,n,0)}),n}return null}function uO(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 dl={transitional:Sv,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(Ov(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 iO(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),uO(t)):t}],transformResponse:[function(t){const n=this.transitional||dl.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=>{dl.headers[e]={}});const pl=dl,sO=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"]),lO=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[ef]=this[ef]={accessors:{}}).accessors,i=this.prototype;function a(o){const u=Nr(o);r[u]||(pO(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||pl,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 Pv(e){return!!(e&&e.__CANCEL__)}function Ar(e,t,n){re.call(this,e??"canceled",re.ERR_CANCELED,t,n),this.name="CanceledError"}k.inherits(Ar,re,{__CANCEL__:!0});function Av(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 hO(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function vO(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 mO(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=vO(50,250);return mO(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)},tf=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},nf=e=>(...t)=>k.asap(()=>e(...t)),yO=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,gO=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 bO(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function _O(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Tv(e,t,n){let r=!bO(t);return e&&(r||n==!1)?_O(e,t):t}const rf=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(rf(c),rf(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 Cv=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=Ev(Tv(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&&yO(t.url))){const c=i&&a&&gO.read(a);c&&o.set(i,c)}return t},wO=typeof XMLHttpRequest<"u",EO=wO&&function(e){return new Promise(function(n,r){const i=Cv(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:_};Av(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||Sv;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 Ar(null,e,_):m),_.abort(),_=null)},i.cancelToken&&i.cancelToken.subscribe(f),i.signal&&(i.signal.aborted?f():i.signal.addEventListener("abort",f)));const y=hO(i.url);if(y&&ze.protocols.indexOf(y)===-1){r(new re("Unsupported protocol "+y+":",re.ERR_BAD_REQUEST,e));return}_.send(a||null)})},SO=(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 Ar(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}},OO=SO,PO=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},AO=async function*(e,t){for await(const n of TO(e))yield*PO(n,t)},TO=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()}},af=(e,t,n,r)=>{const i=AO(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",Iv=Za&&typeof ReadableStream=="function",CO=Za&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Lv=(e,...t)=>{try{return!!e(...t)}catch{return!1}},IO=Iv&&Lv(()=>{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}),of=64*1024,Ku=Iv&&Lv(()=>k.isReadableStream(new Response("").body)),Ea={stream:Ku&&(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 LO=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 CO(e)).byteLength},RO=async(e,t)=>{const n=k.toFiniteNumber(e.getContentLength());return n??LO(t)},kO=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}=Cv(e);c=c?(c+"").toLowerCase():"text";let h=OO([i,a&&a.toAbortSignal()],o),v;const p=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let _;try{if(s&&IO&&n!=="get"&&n!=="head"&&(_=await RO(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]=tf(_,wa(nf(s)));r=af(E.body,of,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=Ku&&(c==="stream"||c==="response");if(Ku&&(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&&tf(O,wa(nf(u),!0))||[];y=new Response(af(y.body,of,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)=>{Av(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)}}),Wu={http:zS,xhr:EO,fetch:kO};k.forEach(Wu,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const uf=e=>`- ${e}`,NO=e=>k.isFunction(e)||e===null||e===!1,Rv={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,!NO(n)&&(r=Wu[(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
|
-
`+a.map(
|
|
11
|
-
`):" "+
|
|
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=[sf.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=sf.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=Tv(t.baseURL,t.url,t.allowAbsoluteUrls);return Ev(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 hl{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 Ar(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 hl(function(i){t=i}),cancel:t}}}const DO=hl;function $O(e){return function(n){return e.apply(null,n)}}function jO(e){return k.isObject(e)&&e.isAxiosError===!0}const zu={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(zu).forEach(([e,t])=>{zu[t]=e});const BO=zu;function Nv(e){const t=new ea(e),n=cv(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 Nv(Rn(e,i))},n}const Re=Nv(pl);Re.Axios=ea;Re.CanceledError=Ar;Re.CancelToken=DO;Re.isCancel=Pv;Re.VERSION=kv;Re.toFormData=Qa;Re.AxiosError=re;Re.Cancel=Re.CanceledError;Re.all=function(t){return Promise.all(t)};Re.spread=$O;Re.isAxiosError=jO;Re.mergeConfig=Rn;Re.AxiosHeaders=yt;Re.formToJSON=e=>Ov(k.isHTMLForm(e)?new FormData(e):e);Re.getAdapter=Rv.getAdapter;Re.HttpStatusCode=BO;Re.default=Re;const FO=Re;var UO=Function.prototype.toString,Mo=Object.create,xO=Object.defineProperty,HO=Object.getOwnPropertyDescriptor,cf=Object.getOwnPropertyNames,vl=Object.getOwnPropertySymbols,KO=Object.getPrototypeOf,Mv=Object.prototype,WO=Mv.hasOwnProperty,zO=Mv.propertyIsEnumerable,Dv=typeof vl=="function",qO=typeof WeakMap=="function",GO=function(){if(qO)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}}(),$v=function(e,t){var n=e.__proto__||KO(e);if(!n)return Mo(null);var r=n.constructor;if(r===t.Object)return n===t.Object.prototype?{}:Mo(n);if(~UO.call(r).indexOf("[native code]"))try{return new r}catch{}return Mo(n)},VO=function(e,t,n,r){var i=$v(e,t);r.set(e,i);for(var a in e)WO.call(e,a)&&(i[a]=n(e[a],r));if(Dv)for(var o=vl(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},ff=function(e,t,n,r){var i=$v(e,t);r.set(e,i);for(var a=Dv?cf(e).concat(vl(e)):cf(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=HO(e,s),c){!c.get&&!c.set&&(c.value=n(e[s],r));try{xO(i,s,c)}catch{i[s]=c.value}}else i[s]=n(e[s],r);return i},YO=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},XO=Array.isArray,QO=Object.getPrototypeOf,JO=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||JO,i=n?ff:VO,a=function(o,u){if(!o||typeof o!="object")return o;if(u.has(o))return u.get(o);var s=o.__proto__||QO(o),c=s&&s.constructor;if(!c||c===r.Object)return i(o,r,a,u);var f;if(XO(o)){if(n)return ff(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||YO(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,GO())}De.default=De;De.strict=function(t,n){return De(t,{isStrict:!0,realm:n?n.realm:void 0})};var jv=Object,ZO=Error,e2=EvalError,t2=RangeError,n2=ReferenceError,Bv=SyntaxError,gi=TypeError,r2=URIError,i2=Math.abs,a2=Math.floor,o2=Math.max,u2=Math.min,s2=Math.pow,l2=Math.round,c2=Number.isNaN||function(t){return t!==t},f2=c2,d2=function(t){return f2(t)||t===0?t:t<0?-1:1},p2=Object.getOwnPropertyDescriptor,ta=p2;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,df;function h2(){return df||(df=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,pf;function v2(){if(pf)return $o;pf=1;var e=typeof Symbol<"u"&&Symbol,t=h2();return $o=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},$o}var jo,hf;function Fv(){return hf||(hf=1,jo=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),jo}var Bo,vf;function Uv(){if(vf)return Bo;vf=1;var e=jv;return Bo=e.getPrototypeOf||null,Bo}var m2="Function.prototype.bind called on incompatible ",y2=Object.prototype.toString,g2=Math.max,b2="[object Function]",mf=function(t,n){for(var r=[],i=0;i<t.length;i+=1)r[i]=t[i];for(var a=0;a<n.length;a+=1)r[a+t.length]=n[a];return r},_2=function(t,n){for(var r=[],i=n||0,a=0;i<t.length;i+=1,a+=1)r[a]=t[i];return r},w2=function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n},E2=function(t){var n=this;if(typeof n!="function"||y2.apply(n)!==b2)throw new TypeError(m2+n);for(var r=_2(arguments,1),i,a=function(){if(this instanceof i){var f=n.apply(this,mf(r,arguments));return Object(f)===f?f:this}return n.apply(t,mf(r,arguments))},o=g2(0,n.length-r.length),u=[],s=0;s<o;s++)u[s]="$"+s;if(i=Function("binder","return function ("+w2(u,",")+"){ return binder.apply(this,arguments); }")(a),n.prototype){var c=function(){};c.prototype=n.prototype,i.prototype=new c,c.prototype=null}return i},S2=E2,bi=Function.prototype.bind||S2,Fo,yf;function ml(){return yf||(yf=1,Fo=Function.prototype.call),Fo}var Uo,gf;function xv(){return gf||(gf=1,Uo=Function.prototype.apply),Uo}var xo,bf;function O2(){return bf||(bf=1,xo=typeof Reflect<"u"&&Reflect&&Reflect.apply),xo}var Ho,_f;function P2(){if(_f)return Ho;_f=1;var e=bi,t=xv(),n=ml(),r=O2();return Ho=r||e.call(n,t),Ho}var Ko,wf;function A2(){if(wf)return Ko;wf=1;var e=bi,t=gi,n=ml(),r=P2();return Ko=function(a){if(a.length<1||typeof a[0]!="function")throw new t("a function is required");return r(e,n,a)},Ko}var Wo,Ef;function T2(){if(Ef)return Wo;Ef=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 Wo=r&&typeof r.get=="function"?e([r.get]):typeof a=="function"?function(u){return a(u==null?u:i(u))}:!1,Wo}var zo,Sf;function C2(){if(Sf)return zo;Sf=1;var e=Fv(),t=Uv(),n=T2();return zo=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,zo}var qo,Of;function I2(){if(Of)return qo;Of=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,n=bi;return qo=n.call(e,t),qo}var se,L2=jv,R2=ZO,k2=e2,N2=t2,M2=n2,dr=Bv,er=gi,D2=r2,$2=i2,j2=a2,B2=o2,F2=u2,U2=s2,x2=l2,H2=d2,Hv=Function,Go=function(e){try{return Hv('"use strict"; return ('+e+").constructor;")()}catch{}},ti=to,K2=no,Vo=function(){throw new er},W2=ti?function(){try{return arguments.callee,Vo}catch{try{return ti(arguments,"callee").get}catch{return Vo}}}():Vo,Fn=v2()(),Fe=C2(),z2=Uv(),q2=Fv(),Kv=xv(),_i=ml(),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%":Hv,"%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%":ti,"%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%":Kv,"%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=Go("async function () {}");else if(t==="%GeneratorFunction%")n=Go("function* () {}");else if(t==="%AsyncGeneratorFunction%")n=Go("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},Pf={__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(Kv,Array.prototype.splice),Af=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 Af(t,Z2,function(a,o,u,s){i[i.length]=u?Af(s,eP,"$1"):o||a}),i},nP=function(t,n){var r=t,i;if(Oa(Pf,r)&&(i=Pf[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(ti&&f+1>=r.length){var p=ti(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},Wv={exports:{}},Tf=no,rP=Bv,Un=gi,Cf=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=!!Cf&&Cf(t,n);if(Tf)Tf(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.")},qu=no,zv=function(){return!!qu};zv.hasArrayLengthDefineBug=function(){if(!qu)return null;try{return qu([],"length",{value:1}).length!==1}catch{return!0}};var aP=zv,oP=ro,If=iP,uP=aP(),Lf=to,Rf=gi,sP=oP("%Math.floor%"),lP=function(t,n){if(typeof t!="function")throw new Rf("`fn` is not a function");if(typeof n!="number"||n<0||n>4294967295||sP(n)!==n)throw new Rf("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],i=!0,a=!0;if("length"in t&&Lf){var o=Lf(t,"length");o&&!o.configurable&&(i=!1),o&&!o.writable&&(a=!1)}return(i||a||!r)&&(uP?If(t,"length",n,!0,!0):If(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})(Wv);var cP=Wv.exports,qv=ro,Gv=cP,fP=Gv(qv("String.prototype.indexOf")),dP=function(t,n){var r=qv(t,!!n);return typeof r=="function"&&fP(t,".prototype.")>-1?Gv(r):r};const pP={},hP=Object.freeze(Object.defineProperty({__proto__:null,default:pP},Symbol.toStringTag,{value:"Module"})),vP=Ud(hP);var yl=typeof Map=="function"&&Map.prototype,Yo=Object.getOwnPropertyDescriptor&&yl?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Aa=yl&&Yo&&typeof Yo.get=="function"?Yo.get:null,kf=yl&&Map.prototype.forEach,gl=typeof Set=="function"&&Set.prototype,Xo=Object.getOwnPropertyDescriptor&&gl?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Ta=gl&&Xo&&typeof Xo.get=="function"?Xo.get:null,Nf=gl&&Set.prototype.forEach,mP=typeof WeakMap=="function"&&WeakMap.prototype,Hr=mP?WeakMap.prototype.has:null,yP=typeof WeakSet=="function"&&WeakSet.prototype,Kr=yP?WeakSet.prototype.has:null,gP=typeof WeakRef=="function"&&WeakRef.prototype,Mf=gP?WeakRef.prototype.deref:null,bP=Boolean.prototype.valueOf,_P=Object.prototype.toString,wP=Function.prototype.toString,EP=String.prototype.match,bl=String.prototype.slice,tn=String.prototype.replace,SP=String.prototype.toUpperCase,Df=String.prototype.toLowerCase,Vv=RegExp.prototype.test,$f=Array.prototype.concat,Ot=Array.prototype.join,OP=Array.prototype.slice,jf=Math.floor,Gu=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Qo=Object.getOwnPropertySymbols,Vu=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,Yv=Object.prototype.propertyIsEnumerable,Bf=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function Ff(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||Vv.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var r=e<0?-jf(-e):jf(e);if(r!==e){var i=String(r),a=bl.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 Yu=vP,Uf=Yu.custom,xf=Qv(Uf)?Uf: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 Zv(t,a);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var s=String(t);return u?Ff(t,s):s}if(typeof t=="bigint"){var c=String(t)+"n";return u?Ff(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 Xu(t)?"[Array]":"[Object]";var l=KP(a,r);if(typeof i>"u")i=[];else if(Jv(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"&&!Hf(t)){var h=MP(t),v=Li(t,d);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(v.length>0?" { "+Ot.call(v,", ")+" }":"")}if(Qv(t)){var p=pr?tn.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Vu.call(t);return typeof t=="object"&&!pr?Mr(p):p}if(UP(t)){for(var _="<"+Df.call(String(t.nodeName)),g=t.attributes||[],y=0;y<g.length;y++)_+=" "+g[y].name+"="+Xv(AP(g[y].value),"double",a);return _+=">",t.childNodes&&t.childNodes.length&&(_+="..."),_+="</"+Df.call(String(t.nodeName))+">",_}if(Xu(t)){if(t.length===0)return"[]";var m=Li(t,d);return l&&!HP(m)?"["+Qu(m,l)+"]":"[ "+Ot.call(m,", ")+" ]"}if(CP(t)){var b=Li(t,d);return!("cause"in Error.prototype)&&"cause"in t&&!Yv.call(t,"cause")?"{ ["+String(t)+"] "+Ot.call($f.call("[cause]: "+d(t.cause),b),", ")+" }":b.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Ot.call(b,", ")+" }"}if(typeof t=="object"&&o){if(xf&&typeof t[xf]=="function"&&Yu)return Yu(t,{depth:f-r});if(o!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(DP(t)){var E=[];return kf&&kf.call(t,function(j,I){E.push(d(I,t,!0)+" => "+d(j,t))}),Kf("Map",Aa.call(t),E,l)}if(BP(t)){var O=[];return Nf&&Nf.call(t,function(j){O.push(d(j,t))}),Kf("Set",Ta.call(t),O,l)}if($P(t))return Jo("WeakMap");if(FP(t))return Jo("WeakSet");if(jP(t))return Jo("WeakRef");if(LP(t))return Mr(d(Number(t)));if(kP(t))return Mr(d(Gu.call(t)));if(RP(t))return Mr(bP.call(t));if(IP(t))return Mr(d(String(t)));if(t===J)return typeof window<"u"?"{ [object Window] }":"{ [object global] }";if(!TP(t)&&!Hf(t)){var S=Li(t,d),w=Bf?Bf(t)===Object.prototype:t instanceof Object||t.constructor===Object,P=t instanceof Object?"":"null prototype",A=!w&&Ge&&Object(t)===t&&Ge in t?bl.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($f.call([],A||[],P||[]),": ")+"] ":"");return S.length===0?D+"{}":l?D+"{"+Qu(S,l)+"}":D+"{ "+Ot.call(S,", ")+" }"}return String(t)};function Xv(e,t,n){var r=(n.quoteStyle||t)==="double"?'"':"'";return r+e+r}function AP(e){return tn.call(String(e),/"/g,""")}function Xu(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 Hf(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 Qv(e){if(pr)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!Vu)return!1;try{return Vu.call(e),!0}catch{}return!1}function kP(e){if(!e||typeof e!="object"||!Gu)return!1;try{return Gu.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 Jv(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(!Hr||!e||typeof e!="object")return!1;try{Hr.call(e,Hr);try{Kr.call(e,Kr)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function jP(e){if(!Mf||!e||typeof e!="object")return!1;try{return Mf.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(!Kr||!e||typeof e!="object")return!1;try{Kr.call(e,Kr);try{Hr.call(e,Hr)}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 Zv(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return Zv(bl.call(e,0,t.maxStringLength),t)+r}var i=tn.call(tn.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,xP);return Xv(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 Mr(e){return"Object("+e+")"}function Jo(e){return e+" { ? }"}function Kf(e,t,n,r){var i=r?Qu(n,r):Ot.call(n,", ");return e+" ("+t+") {"+i+"}"}function HP(e){for(var t=0;t<e.length;t++)if(Jv(e[t],`
|
|
13
|
-
`)>=0)return!1;return!0}function
|
|
7
|
+
`));let l=c.props,d=typeof(l==null?void 0:l.className)=="function"?(...v)=>ga(l==null?void 0:l.className(...v),u.className):ga(l==null?void 0:l.className,u.className),h=d?{className:d}:{};return Fs(c,Object.assign({},Yh(c.props,$u(Po(u,["ref"]))),f,s,J1(c.ref,s.ref),h))}return F(i,Object.assign({},Po(u,["ref"]),i!==we&&s,i!==we&&f),c)}function J1(...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 Yh(...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 $u(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&&Z1(n)?!1:r}function Z1(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}function e_(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 t_="div";var Zr=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Zr||{});function n_(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:t_,name:"Hidden"})}let ba=Se(n_),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 r_(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 qc(e){return[e.screenX,e.screenY]}function i_(){let e=ae([-1,-1]);return{wasMoved(t){let n=qc(t);return e.current[0]===n[0]&&e.current[1]===n[1]?!1:(e.current=n,!0)},update(t){e.current=qc(t)}}}function a_(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Or(...e){return ce(()=>fi(...e),[...e])}var jr=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(jr||{});function o_(){let e=ae(0);return zh("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 Xh(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 u_(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}function Qh(e){let t=ee(e),n=ae(!1);de(()=>(n.current=!1,()=>{n.current=!0,Ha(()=>{n.current&&t()})}),[t])}function Jh(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 s_="div";var Zh=(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))(Zh||{});function l_(e,t){let n=ae(null),r=Ne(n,t),{initialFocus:i,containers:a,features:o=30,...u}=e;Sr()||(o=1);let s=Or(n);d_({ownerDocument:s},!!(o&16));let c=p_({ownerDocument:s,container:n,initialFocus:i},!!(o&2));h_({ownerDocument:s,container:n,containers:a,previousActiveElement:c},!!(o&8));let f=o_(),l=ee(p=>{let _=n.current;_&&(g=>g())(()=>{Pe(f.current,{[jr.Forwards]:()=>{xr(_,Nt.First,{skipElements:[p.relatedTarget]})},[jr.Backwards]:()=>{xr(_,Nt.Last,{skipElements:[p.relatedTarget]})}})})}),d=Er(),h=ae(!1),v={ref:r,onKeyDown(p){p.key=="Tab"&&(h.current=!0,d.requestAnimationFrame(()=>{h.current=!1}))},onBlur(p){let _=Jh(a);n.current instanceof HTMLElement&&_.add(n.current);let g=p.relatedTarget;g instanceof HTMLElement&&g.dataset.headlessuiFocusGuard!=="true"&&(ev(_,g)||(h.current?xr(n.current,Pe(f.current,{[jr.Forwards]:()=>Nt.Next,[jr.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(ba,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:l,features:Zr.Focusable}),Ee({ourProps:v,theirProps:u,defaultTag:s_,name:"FocusTrap"}),!!(o&4)&&Z.createElement(ba,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:l,features:Zr.Focusable}))}let c_=Se(l_),Rr=Object.assign(c_,{features:Zh}),Qt=[];u_(()=>{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 f_(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 d_({ownerDocument:e},t){let n=f_(t);rl(()=>{t||(e==null?void 0:e.activeElement)===(e==null?void 0:e.body)&&on(n())},[t]),Qh(()=>{t&&on(n())})}function p_({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):xr(o,Nt.First)===xh.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),i.current=e==null?void 0:e.activeElement})},[r]),i}function h_({ownerDocument:e,container:t,containers:n,previousActiveElement:r},i){let a=pi();Xh(e==null?void 0:e.defaultView,"focus",o=>{if(!i||!a.current)return;let u=Jh(n);t.current instanceof HTMLElement&&u.add(t.current);let s=r.current;if(!s)return;let c=o.target;c&&c instanceof HTMLElement?ev(u,c)?(r.current=c,on(c)):(o.preventDefault(),o.stopPropagation(),on(s)):on(r.current)},!0)}function ev(e,t){for(let n of e)if(n.contains(t))return!0;return!1}let tv=je(!1);function v_(){return ke(tv)}function ju(e){return Z.createElement(tv.Provider,{value:e.force},e.children)}function m_(e){let t=v_(),n=ke(nv),r=Or(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 y_=we;function g_(e,t){let n=e,r=ae(null),i=Ne(Vh(f=>{r.current=f}),t),a=Or(r),o=m_(r),[u]=xe(()=>{var f;return Bt.isServer?null:(f=a==null?void 0:a.createElement("div"))!=null?f:null}),s=ke(Bu),c=Sr();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]),Qh(()=>{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:y_,name:"Portal"}),u):null}let b_=we,nv=je(null);function __(e,t){let{target:n,...r}=e,i={ref:Ne(t)};return Z.createElement(nv.Provider,{value:n},Ee({ourProps:i,theirProps:r,defaultTag:b_,name:"Popover.Group"}))}let Bu=je(null);function w_(){let e=ke(Bu),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(Bu.Provider,{value:i},a)},[i])]}let E_=Se(g_),S_=Se(__),Fu=Object.assign(E_,{Group:S_}),rv=je(null);function iv(){let e=ke(rv);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,iv),t}return e}function av(){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(rv.Provider,{value:i},n.children)},[t])]}let O_="p";function P_(e,t){let n=at(),{id:r=`headlessui-description-${n}`,...i}=e,a=iv(),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:O_,name:a.name||"Description"})}let A_=Se(P_),ov=Object.assign(A_,{}),il=je(()=>{});il.displayName="StackContext";var Uu=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(Uu||{});function T_(){return ke(il)}function C_({children:e,onUpdate:t,type:n,element:r,enabled:i}){let a=T_(),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 I_(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}const L_=typeof Object.is=="function"?Object.is:I_,{useState:R_,useEffect:k_,useLayoutEffect:N_,useDebugValue:M_}=or;function D_(e,t,n){const r=t(),[{inst:i},a]=R_({inst:{value:r,getSnapshot:t}});return N_(()=>{i.value=r,i.getSnapshot=t,Ao(i)&&a({inst:i})},[e,r,t]),k_(()=>(Ao(i)&&a({inst:i}),e(()=>{Ao(i)&&a({inst:i})})),[e]),M_(r),r}function Ao(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!L_(n,r)}catch{return!0}}function $_(e,t,n){return t()}const j_=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",B_=!j_,F_=B_?$_:D_,U_="useSyncExternalStore"in or?(e=>e.useSyncExternalStore)(or):F_;function x_(e){return U_(e.subscribe,e.getSnapshot,e.getSnapshot)}function H_(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 K_(){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 W_(){if(!a_())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 z_(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function q_(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let wn=H_(()=>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:q_(n)},i=[W_(),K_(),z_()];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 G_(e,t,n){let r=x_(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,kr=new Map;function Gc(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=kr.get(r))!=null?o:1;if(u===1?kr.delete(r):kr.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=kr.get(r))!=null?n:0;return kr.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 V_({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){var r;let i=ae((r=n==null?void 0:n.current)!=null?r:null),a=Or(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(ba,{features:Zr.Hidden,ref:i})},[i,n])}}var Y_=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Y_||{}),X_=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(X_||{});let Q_={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},_a=je(null);_a.displayName="DialogContext";function hi(e){let t=ke(_a);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 J_(e,t,n=()=>[document.body]){G_(e,t,r=>{var i;return{containers:[...(i=r.containers)!=null?i:[],n]}})}function Z_(e,t){return Pe(t.type,Q_,e,t)}let ew="div",tw=cn.RenderStrategy|cn.Static;function nw(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=Or(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(Z_,{titleId:null,descriptionId:null,panelRef:Yr()}),E=ee(()=>o(!1)),O=ee(Q=>b({type:0,id:Q})),S=Sr()?s?!1:y===0:!1,w=f>1,P=ke(_a)!==null,[A,L]=w_(),{resolveContainers:D,mainTreeNodeRef:j,MainTreeNode:I}=V_({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]);Gc(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]);Gc(z,Y);let X=(()=>!(!S||w))();qh(D,E,X);let x=(()=>!(w||y!==0))();Xh(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))();J_(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]=av(),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(C_,{type:"Dialog",enabled:y===0,element:h,onUpdate:ee((Q,oe)=>{oe==="Dialog"&&Pe(Q,{[Uu.Add]:()=>l(ie=>ie+1),[Uu.Remove]:()=>l(ie=>ie-1)})})},Z.createElement(ju,{force:!0},Z.createElement(Fu,null,Z.createElement(_a.Provider,{value:ne},Z.createElement(Fu.Group,{target:h},Z.createElement(ju,{force:!1},Z.createElement(H,{slot:le,name:"Dialog.Description"},Z.createElement(Rr,{initialFocus:u,containers:D,features:S?Pe(C,{parent:Rr.features.RestoreFocus,leaf:Rr.features.All&~Rr.features.FocusLock}):Rr.features.None},Z.createElement(L,null,Ee({ourProps:te,theirProps:c,slot:le,defaultTag:ew,features:tw,visible:y===0,name:"Dialog"}))))))))),Z.createElement(I,null))}let rw="div";function iw(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:rw,name:"Dialog.Overlay"})}let aw="div";function ow(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(ju,{force:!0},Z.createElement(Fu,null,Ee({ourProps:{ref:u,id:r,"aria-hidden":!0},theirProps:i,slot:s,defaultTag:aw,name:"Dialog.Backdrop"})))}let uw="div";function sw(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:uw,name:"Dialog.Panel"})}let lw="h2";function cw(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:lw,name:"Dialog.Title"})}let fw=Se(nw),dw=Se(ow),pw=Se(sw),hw=Se(iw),vw=Se(cw),$L=Object.assign(fw,{Backdrop:dw,Panel:pw,Overlay:hw,Title:vw,Description:ov});var Vc;let mw=(Vc=Z.startTransition)!=null?Vc:function(e){e()};var yw=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(yw||{}),gw=(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))(gw||{});let bw={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 uv(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,uv),n}return t}let sl=je(null);sl.displayName="DisclosurePanelContext";function _w(){return ke(sl)}function ww(e,t){return Pe(t.type,bw,e,t)}let Ew=we;function Sw(e,t){let{defaultOpen:n=!1,...r}=e,i=ae(null),a=Ne(t,Vh(_=>{i.current=_},e.as===void 0||e.as===we)),o=ae(null),u=ae(null),s=Dn(ww,{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:Ew,name:"Disclosure"}))))}let Ow="button";function Pw(e,t){let n=at(),{id:r=`headlessui-disclosure-button-${n}`,...i}=e,[a,o]=ol("Disclosure.Button"),u=_w(),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:Ow,name:"Disclosure.Button"})}let Aw="div",Tw=cn.RenderStrategy|cn.Static;function Cw(e,t){let n=at(),{id:r=`headlessui-disclosure-panel-${n}`,...i}=e,[a,o]=ol("Disclosure.Panel"),{close:u}=uv("Disclosure.Panel"),s=Ne(t,a.panelRef,h=>{mw(()=>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:Aw,features:Tw,visible:f,name:"Disclosure.Panel"}))}let Iw=Se(Sw),Lw=Se(Pw),Rw=Se(Cw),jL=Object.assign(Iw,{Button:Lw,Panel:Rw}),Yc=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function Xc(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 Yc.test(o)&&(o=o.replace(Yc,"")),o}function kw(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():Xc(a).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return Xc(e).trim()}function Nw(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=kw(r).trim().toLowerCase();return t.current=i,n.current=a,a})}var Mw=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Mw||{}),Dw=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Dw||{}),$w=(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))($w||{});function Co(e,t=n=>n){let n=e.activeItemIndex!==null?e.items[e.activeItemIndex]:null,r=Wh(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 jw={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=Q1(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 Bw(e,t){return Pe(t.type,jw,e,t)}let Fw=we;function Uw(e,t){let{__demoMode:n=!1,...r}=e,i=Dn(Bw,{__demoMode:n,menuState:n?0:1,buttonRef:Yr(),itemsRef:Yr(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:a,itemsRef:o,buttonRef:u},s]=i,c=Ne(t);qh([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:Fw,name:"Menu"})))}let xw="button";function Hw(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=Er(),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:xw,name:"Menu.Button"})}let Kw="div",Ww=cn.RenderStrategy|cn.Static;function zw(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=Or(u.itemsRef),l=Er(),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]),Y1({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()}Kh(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(()=>{V1(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:Kw,features:Ww,visible:h,name:"Menu.Items"})}let qw=we;function Gw(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=Nw(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}),Kh(o.buttonRef.current)}),p=ee(()=>{if(i)return u({type:2,focus:ht.Nothing});u({type:2,focus:ht.Specific,id:r})}),_=i_(),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:qw,name:"Menu.Item"})}let Vw=Se(Uw),Yw=Se(Hw),Xw=Se(zw),Qw=Se(Gw),BL=Object.assign(Vw,{Button:Yw,Items:Xw,Item:Qw});function Jw(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 sv=je(null);function lv(){let e=ke(sv);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,lv),t}return e}function Zw(){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(sv.Provider,{value:i},n.children)},[t])]}let eE="label";function tE(e,t){let n=at(),{id:r=`headlessui-label-${n}`,passive:i=!1,...a}=e,o=lv(),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:eE,name:o.name||"Label"})}let nE=Se(tE),rE=Object.assign(nE,{}),cl=je(null);cl.displayName="GroupContext";let iE=we;function aE(e){var t;let[n,r]=xe(null),[i,a]=Zw(),[o,u]=av(),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:iE,name:"Switch.Group"}))))}let oE="button";function uE(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]=r_(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&&e_(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=Er();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(ba,{features:Zr.Hidden,...$u({as:"input",type:"checkbox",hidden:!0,readOnly:!0,form:c,checked:v,name:u,value:s})}),Ee({ourProps:E,theirProps:f,slot:b,defaultTag:oE,name:"Switch"}))}let sE=Se(uE),lE=aE,FL=Object.assign(sE,{Group:lE,Label:rE,Description:ov});function cE(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 fE(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 dE(e,t,n,r){let i=n?"enter":"leave",a=bt(),o=r!==void 0?cE(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),fE(e,()=>(Lo(e,...t.base,...u),Io(e,...t.base,...t.entered),o()))}),a.dispose}function pE({immediate:e,container:t,direction:n,classes:r,onStart:i,onStop:a}){let o=pi(),u=Er(),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(dE(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 hE=(e=>(e.Visible="visible",e.Hidden="hidden",e))(hE||{});function vE(){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 mE(){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 cv(e,t){let n=Ft(e),r=ae([]),i=pi(),a=Er(),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 yE(){}let gE=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function Qc(e){var t;let n={};for(let r of gE)n[r]=(t=e[r])!=null?t:yE;return n}function bE(e){let t=ae(Qc(e));return de(()=>{t.current=Qc(e)},[e]),t}let _E="div",fv=cn.RenderStrategy;function wE(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}=vE(),[O,S]=xe(m?"visible":"hidden"),w=mE(),{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=bE({beforeEnter:i,afterEnter:a,beforeLeave:o,afterLeave:u}),j=Sr();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")(),$=Jw(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=cv(()=>{S("hidden"),A(_)},w);pE({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:ga(p.className,...L.current.enter,...L.current.enterFrom)}:(X.className=ga(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:_E,features:fv,visible:O==="visible",name:"Transition.Child"})))}function EE(e,t){let{show:n,appear:r=!1,unmount:i=!0,...a}=e,o=ae(null),u=Ne(o,t);Sr();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=cv(()=>{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(dv,{ref:u,..._,...a,beforeEnter:g,beforeLeave:y})},theirProps:{},defaultTag:we,features:fv,visible:c==="visible",name:"Transition"})))}function SE(e,t){let n=ke(za)!==null,r=di()!==null;return Z.createElement(Z.Fragment,null,!n&&r?Z.createElement(xu,{ref:t,...e}):Z.createElement(dv,{ref:t,...e}))}let xu=Se(EE),dv=Se(wE),OE=Se(SE),UL=Object.assign(xu,{Child:OE,Root:xu});function PE({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 AE=pe(PE),xL=AE;function TE({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 CE=pe(TE),HL=CE;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:"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 LE=pe(IE),KL=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:"M15.75 19.5L8.25 12l7.5-7.5"}))}const kE=pe(RE),WL=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:"M8.25 4.5l7.5 7.5-7.5 7.5"}))}const ME=pe(NE),zL=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:"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 $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:"M12 9v3.75m9-.75a9 9 0 11-18 0 9 9 0 0118 0zm-9 3.75h.008v.008H12v-.008z"}))}const BE=pe(jE),GL=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:"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 UE=pe(FE),VL=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:"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 HE=pe(xE),YL=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:"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 WE=pe(KE),XL=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:"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 qE=pe(zE),QL=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:"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 VE=pe(GE),JL=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:"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 XE=pe(YE),ZL=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:"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 JE=pe(QE),eR=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 18L18 6M6 6l12 12"}))}const eS=pe(ZE),tR=eS,tS=(e,t)=>t.skipDedupe||t.method!=="GET",nS=(e,t)=>t.method+"@"+e,rS=e=>e.clone(),nR=({skip:e=tS,key:t=nS,resolver:n=rS}={})=>{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)}}},iS=(e,t)=>t.skipCache||t.method!=="GET",aS=(e,t)=>t.method+"@"+e,oS=(e,t)=>!1,uS=(e,t)=>null,sS=e=>e.ok,rR=({throttle:e=1e3,skip:t=iS,key:n=aS,clear:r=oS,invalidate:i=uS,condition:a=sS,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 pv(e,t){return function(){return e.apply(t,arguments)}}const{toString:lS}=Object.prototype,{getPrototypeOf:fl}=Object,{iterator:Va,toStringTag:hv}=Symbol,Ya=(e=>t=>{const n=lS.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:Pr}=Array,ei=Xa("undefined");function vi(e){return e!==null&&!ei(e)&&e.constructor!==null&&!ei(e.constructor)&&Xe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const vv=_t("ArrayBuffer");function cS(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&vv(e.buffer),t}const fS=Xa("string"),Xe=Xa("function"),mv=Xa("number"),mi=e=>e!==null&&typeof e=="object",dS=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)&&!(hv in e)&&!(Va in e)},pS=e=>{if(!mi(e)||vi(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},hS=_t("Date"),vS=_t("File"),mS=_t("Blob"),yS=_t("FileList"),gS=e=>mi(e)&&Xe(e.pipe),bS=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]"))},_S=_t("URLSearchParams"),[wS,ES,SS,OS]=["ReadableStream","Request","Response","Headers"].map(_t),PS=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]),Pr(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 yv(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)(),gv=e=>!ei(e)&&e!==En;function Hu(){const{caseless:e}=gv(this)&&this||{},t={},n=(r,i)=>{const a=e&&yv(t,i)||i;Qi(t[a])&&Qi(r)?t[a]=Hu(t[a],r):Qi(r)?t[a]=Hu({},r):Pr(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 AS=(e,t,n,{allOwnKeys:r}={})=>(yi(t,(i,a)=>{n&&Xe(i)?e[a]=pv(i,n):e[a]=i},{allOwnKeys:r}),e),TS=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),CS=(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)},IS=(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},LS=(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},RS=e=>{if(!e)return null;if(Pr(e))return e;let t=e.length;if(!mv(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},kS=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&fl(Uint8Array)),NS=(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])}},MS=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},DS=_t("HTMLFormElement"),$S=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Jc=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),jS=_t("RegExp"),bv=(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)},BS=e=>{bv(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+"'")})}})},FS=(e,t)=>{const n={},r=i=>{i.forEach(a=>{n[a]=!0})};return Pr(e)?r(e):r(String(e).split(t)),n},US=()=>{},xS=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function HS(e){return!!(e&&Xe(e.append)&&e[hv]==="FormData"&&e[Va])}const KS=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=Pr(r)?[]:{};return yi(r,(o,u)=>{const s=n(o,i+1);!ei(s)&&(a[u]=s)}),t[i]=void 0,a}}return r};return n(e,0)},WS=_t("AsyncFunction"),zS=e=>e&&(mi(e)||Xe(e))&&Xe(e.then)&&Xe(e.catch),_v=((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||_v,GS=e=>e!=null&&Xe(e[Va]),k={isArray:Pr,isArrayBuffer:vv,isBuffer:vi,isFormData:bS,isArrayBufferView:cS,isString:fS,isNumber:mv,isBoolean:dS,isObject:mi,isPlainObject:Qi,isEmptyObject:pS,isReadableStream:wS,isRequest:ES,isResponse:SS,isHeaders:OS,isUndefined:ei,isDate:hS,isFile:vS,isBlob:mS,isRegExp:jS,isFunction:Xe,isStream:gS,isURLSearchParams:_S,isTypedArray:kS,isFileList:yS,forEach:yi,merge:Hu,extend:AS,trim:PS,stripBOM:TS,inherits:CS,toFlatObject:IS,kindOf:Ya,kindOfTest:_t,endsWith:LS,toArray:RS,forEachEntry:NS,matchAll:MS,isHTMLForm:DS,hasOwnProperty:Jc,hasOwnProp:Jc,reduceDescriptors:bv,freezeMethods:BS,toObjectSet:FS,toCamelCase:$S,noop:US,toFiniteNumber:xS,findKey:yv,global:En,isContextDefined:gv,isSpecCompliantForm:HS,toJSONObject:KS,isAsyncFn:WS,isThenable:zS,setImmediate:_v,asap:qS,isIterable:GS};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 wv=re.prototype,Ev={};["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=>{Ev[e]={value:e}});Object.defineProperties(re,Ev);Object.defineProperty(wv,"isAxiosError",{value:!0});re.from=(e,t,n,r,i,a)=>{const o=Object.create(wv);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 VS=null;function Ku(e){return k.isPlainObject(e)||k.isArray(e)}function Sv(e){return k.endsWith(e,"[]")?e.slice(0,-2):e}function Zc(e,t,n){return e?e.concat(t).map(function(i,a){return i=Sv(i),!n&&a?"["+i+"]":i}).join(n?".":""):t}function YS(e){return k.isArray(e)&&!e.some(Ku)}const XS=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)&&YS(v)||(k.isFileList(v)||k.endsWith(p,"[]"))&&(g=k.toArray(v)))return p=Sv(p),g.forEach(function(m,b){!(k.isUndefined(m)||m===null)&&t.append(o===!0?Zc([p],b,a):o===null?p:p+"[]",c(m))}),!1}return Ku(v)?!0:(t.append(Zc(_,p,a),c(v)),!1)}const l=[],d=Object.assign(XS,{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 ef(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 Ov=dl.prototype;Ov.append=function(t,n){this._pairs.push([t,n])};Ov.toString=function(t){const n=t?function(r){return t.call(this,r,ef)}:ef;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function QS(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Pv(e,t,n){if(!t)return e;const r=n&&n.encode||QS;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 JS{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 tf=JS,Av={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ZS=typeof URLSearchParams<"u"?URLSearchParams:dl,eO=typeof FormData<"u"?FormData:null,tO=typeof Blob<"u"?Blob:null,nO={isBrowser:!0,classes:{URLSearchParams:ZS,FormData:eO,Blob:tO},protocols:["http","https","file","blob","url","data"]},pl=typeof window<"u"&&typeof document<"u",Wu=typeof navigator=="object"&&navigator||void 0,rO=pl&&(!Wu||["ReactNative","NativeScript","NS"].indexOf(Wu.product)<0),iO=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),aO=pl&&window.location.href||"http://localhost",oO=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:pl,hasStandardBrowserEnv:rO,hasStandardBrowserWebWorkerEnv:iO,navigator:Wu,origin:aO},Symbol.toStringTag,{value:"Module"})),ze={...oO,...nO};function uO(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 sO(e){return k.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function lO(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 Tv(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]=lO(i[o])),!u)}if(k.isFormData(e)&&k.isFunction(e.entries)){const n={};return k.forEachEntry(e,(r,i)=>{t(sO(r),i,n,0)}),n}return null}function cO(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:Av,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(Tv(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 uO(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),cO(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,fO=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"]),dO=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]&&fO[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},nf=Symbol("internals");function Nr(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 pO(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 hO=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 vO(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function mO(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=Nr(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())&&!hO(t))o(dO(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=Nr(t),t){const r=k.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return pO(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=Nr(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=Nr(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?vO(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[nf]=this[nf]={accessors:{}}).accessors,i=this.prototype;function a(o){const u=Nr(o);r[u]||(mO(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 Cv(e){return!!(e&&e.__CANCEL__)}function Ar(e,t,n){re.call(this,e??"canceled",re.ERR_CANCELED,t,n),this.name="CanceledError"}k.inherits(Ar,re,{__CANCEL__:!0});function Iv(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 yO(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function gO(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 bO(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=gO(50,250);return bO(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)},rf=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},af=e=>(...t)=>k.asap(()=>e(...t)),_O=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,wO=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 EO(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function SO(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Lv(e,t,n){let r=!EO(t);return e&&(r||n==!1)?SO(e,t):t}const of=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(of(c),of(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 Rv=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=Pv(Lv(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&&_O(t.url))){const c=i&&a&&wO.read(a);c&&o.set(i,c)}return t},OO=typeof XMLHttpRequest<"u",PO=OO&&function(e){return new Promise(function(n,r){const i=Rv(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:_};Iv(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||Av;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 Ar(null,e,_):m),_.abort(),_=null)},i.cancelToken&&i.cancelToken.subscribe(f),i.signal&&(i.signal.aborted?f():i.signal.addEventListener("abort",f)));const y=yO(i.url);if(y&&ze.protocols.indexOf(y)===-1){r(new re("Unsupported protocol "+y+":",re.ERR_BAD_REQUEST,e));return}_.send(a||null)})},AO=(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 Ar(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}},TO=AO,CO=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},IO=async function*(e,t){for await(const n of LO(e))yield*CO(n,t)},LO=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()}},uf=(e,t,n,r)=>{const i=IO(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",kv=Za&&typeof ReadableStream=="function",RO=Za&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Nv=(e,...t)=>{try{return!!e(...t)}catch{return!1}},kO=kv&&Nv(()=>{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}),sf=64*1024,zu=kv&&Nv(()=>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 NO=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 RO(e)).byteLength},MO=async(e,t)=>{const n=k.toFiniteNumber(e.getContentLength());return n??NO(t)},DO=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}=Rv(e);c=c?(c+"").toLowerCase():"text";let h=TO([i,a&&a.toAbortSignal()],o),v;const p=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let _;try{if(s&&kO&&n!=="get"&&n!=="head"&&(_=await MO(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]=rf(_,wa(af(s)));r=uf(E.body,sf,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&&rf(O,wa(af(u),!0))||[];y=new Response(uf(y.body,sf,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)=>{Iv(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:VS,xhr:PO,fetch:DO};k.forEach(qu,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const lf=e=>`- ${e}`,$O=e=>k.isFunction(e)||e===null||e===!1,Mv={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,!$O(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
|
+
`+a.map(lf).join(`
|
|
11
|
+
`):" "+lf(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 Ar(null,e)}function cf(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),Mv.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 Cv(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 Dv="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 ff={};eo.transitional=function(t,n,r){function i(a,o){return"[Axios v"+Dv+"] 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&&!ff[o]&&(ff[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 jO(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:jO,validators:eo},wt=Zi.validators;class Sa{constructor(t){this.defaults=t||{},this.interceptors={request:new tf,response:new tf}}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=[cf.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=cf.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=Lv(t.baseURL,t.url,t.allowAbsoluteUrls);return Pv(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 Ar(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 BO=ml;function FO(e){return function(n){return e.apply(null,n)}}function UO(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 xO=Gu;function $v(e){const t=new ea(e),n=pv(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 $v(Rn(e,i))},n}const Re=$v(vl);Re.Axios=ea;Re.CanceledError=Ar;Re.CancelToken=BO;Re.isCancel=Cv;Re.VERSION=Dv;Re.toFormData=Qa;Re.AxiosError=re;Re.Cancel=Re.CanceledError;Re.all=function(t){return Promise.all(t)};Re.spread=FO;Re.isAxiosError=UO;Re.mergeConfig=Rn;Re.AxiosHeaders=yt;Re.formToJSON=e=>Tv(k.isHTMLForm(e)?new FormData(e):e);Re.getAdapter=Mv.getAdapter;Re.HttpStatusCode=xO;Re.default=Re;const HO=Re;var KO=Function.prototype.toString,Mo=Object.create,WO=Object.defineProperty,zO=Object.getOwnPropertyDescriptor,df=Object.getOwnPropertyNames,yl=Object.getOwnPropertySymbols,qO=Object.getPrototypeOf,jv=Object.prototype,GO=jv.hasOwnProperty,VO=jv.propertyIsEnumerable,Bv=typeof yl=="function",YO=typeof WeakMap=="function",XO=function(){if(YO)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}}(),Fv=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(~KO.call(r).indexOf("[native code]"))try{return new r}catch{}return Mo(n)},QO=function(e,t,n,r){var i=Fv(e,t);r.set(e,i);for(var a in e)GO.call(e,a)&&(i[a]=n(e[a],r));if(Bv)for(var o=yl(e),u=0,s=o.length,c=void 0;u<s;++u)c=o[u],VO.call(e,c)&&(i[c]=n(e[c],r));return i},pf=function(e,t,n,r){var i=Fv(e,t);r.set(e,i);for(var a=Bv?df(e).concat(yl(e)):df(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=zO(e,s),c){!c.get&&!c.set&&(c.value=n(e[s],r));try{WO(i,s,c)}catch{i[s]=c.value}}else i[s]=n(e[s],r);return i},JO=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},ZO=Array.isArray,e2=Object.getPrototypeOf,t2=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||t2,i=n?pf:QO,a=function(o,u){if(!o||typeof o!="object")return o;if(u.has(o))return u.get(o);var s=o.__proto__||e2(o),c=s&&s.constructor;if(!c||c===r.Object)return i(o,r,a,u);var f;if(ZO(o)){if(n)return pf(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||JO(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,XO())}De.default=De;De.strict=function(t,n){return De(t,{isStrict:!0,realm:n?n.realm:void 0})};var Uv=Object,n2=Error,r2=EvalError,i2=RangeError,a2=ReferenceError,xv=SyntaxError,gi=TypeError,o2=URIError,u2=Math.abs,s2=Math.floor,l2=Math.max,c2=Math.min,f2=Math.pow,d2=Math.round,p2=Number.isNaN||function(t){return t!==t},h2=p2,v2=function(t){return h2(t)||t===0?t:t<0?-1:1},m2=Object.getOwnPropertyDescriptor,ta=m2;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,hf;function y2(){return hf||(hf=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,vf;function g2(){if(vf)return $o;vf=1;var e=typeof Symbol<"u"&&Symbol,t=y2();return $o=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},$o}var jo,mf;function Hv(){return mf||(mf=1,jo=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),jo}var Bo,yf;function Kv(){if(yf)return Bo;yf=1;var e=Uv;return Bo=e.getPrototypeOf||null,Bo}var Fo,gf;function b2(){if(gf)return Fo;gf=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,bf;function bi(){if(bf)return Uo;bf=1;var e=b2();return Uo=Function.prototype.bind||e,Uo}var xo,_f;function gl(){return _f||(_f=1,xo=Function.prototype.call),xo}var Ho,wf;function Wv(){return wf||(wf=1,Ho=Function.prototype.apply),Ho}var Ko,Ef;function _2(){return Ef||(Ef=1,Ko=typeof Reflect<"u"&&Reflect&&Reflect.apply),Ko}var Wo,Sf;function w2(){if(Sf)return Wo;Sf=1;var e=bi(),t=Wv(),n=gl(),r=_2();return Wo=r||e.call(n,t),Wo}var zo,Of;function E2(){if(Of)return zo;Of=1;var e=bi(),t=gi,n=gl(),r=w2();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,Pf;function S2(){if(Pf)return qo;Pf=1;var e=E2(),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,Af;function O2(){if(Af)return Go;Af=1;var e=Hv(),t=Kv(),n=S2();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,Tf;function P2(){if(Tf)return Vo;Tf=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,n=bi();return Vo=n.call(e,t),Vo}var se,A2=Uv,T2=n2,C2=r2,I2=i2,L2=a2,dr=xv,er=gi,R2=o2,k2=u2,N2=s2,M2=l2,D2=c2,$2=f2,j2=d2,B2=v2,zv=Function,Yo=function(e){try{return zv('"use strict"; return ('+e+").constructor;")()}catch{}},ti=to,F2=no,Xo=function(){throw new er},U2=ti?function(){try{return arguments.callee,Xo}catch{try{return ti(arguments,"callee").get}catch{return Xo}}}():Xo,Fn=g2()(),Fe=O2(),x2=Kv(),H2=Hv(),qv=Wv(),_i=gl(),Hn={},K2=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%":T2,"%eval%":eval,"%EvalError%":C2,"%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%":zv,"%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%":A2,"%Object.getOwnPropertyDescriptor%":ti,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?se:Promise,"%Proxy%":typeof Proxy>"u"?se:Proxy,"%RangeError%":I2,"%ReferenceError%":L2,"%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%":U2,"%TypedArray%":K2,"%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%":R2,"%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%":qv,"%Object.defineProperty%":F2,"%Object.getPrototypeOf%":x2,"%Math.abs%":k2,"%Math.floor%":N2,"%Math.max%":M2,"%Math.min%":D2,"%Math.pow%":$2,"%Math.round%":j2,"%Math.sign%":B2,"%Reflect.getPrototypeOf%":H2};if(Fe)try{null.error}catch(e){var W2=Fe(Fe(e));Cn["%Error.prototype%"]=W2}var z2=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},Cf={__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=P2(),q2=wi.call(_i,Array.prototype.concat),G2=wi.call(qv,Array.prototype.splice),If=wi.call(_i,String.prototype.replace),Pa=wi.call(_i,String.prototype.slice),V2=wi.call(_i,RegExp.prototype.exec),Y2=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,X2=/\\(\\)?/g,Q2=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 If(t,Y2,function(a,o,u,s){i[i.length]=u?If(s,X2,"$1"):o||a}),i},J2=function(t,n){var r=t,i;if(Oa(Cf,r)&&(i=Cf[r],r="%"+i[0]+"%"),Oa(Cn,r)){var a=Cn[r];if(a===Hn&&(a=z2(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(V2(/^%?[^%]*%?$/,t)===null)throw new dr("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=Q2(t),i=r.length>0?r[0]:"",a=J2("%"+i+"%",n),o=a.name,u=a.value,s=!1,c=a.alias;c&&(i=c[0],G2(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(ti&&f+1>=r.length){var p=ti(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},Gv={exports:{}},Lf=no,Z2=xv,Un=gi,Rf=to,eP=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=!!Rf&&Rf(t,n);if(Lf)Lf(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 Z2("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},Vu=no,Vv=function(){return!!Vu};Vv.hasArrayLengthDefineBug=function(){if(!Vu)return null;try{return Vu([],"length",{value:1}).length!==1}catch{return!0}};var tP=Vv,nP=ro,kf=eP,rP=tP(),Nf=to,Mf=gi,iP=nP("%Math.floor%"),aP=function(t,n){if(typeof t!="function")throw new Mf("`fn` is not a function");if(typeof n!="number"||n<0||n>4294967295||iP(n)!==n)throw new Mf("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],i=!0,a=!0;if("length"in t&&Nf){var o=Nf(t,"length");o&&!o.configurable&&(i=!1),o&&!o.writable&&(a=!1)}return(i||a||!r)&&(rP?kf(t,"length",n,!0,!0):kf(t,"length",n)),t};(function(e){var t=bi(),n=ro,r=aP,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})(Gv);var oP=Gv.exports,Yv=ro,Xv=oP,uP=Xv(Yv("String.prototype.indexOf")),sP=function(t,n){var r=Yv(t,!!n);return typeof r=="function"&&uP(t,".prototype.")>-1?Xv(r):r};const lP={},cP=Object.freeze(Object.defineProperty({__proto__:null,default:lP},Symbol.toStringTag,{value:"Module"})),fP=Kd(cP);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,Df=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,$f=_l&&Set.prototype.forEach,dP=typeof WeakMap=="function"&&WeakMap.prototype,Hr=dP?WeakMap.prototype.has:null,pP=typeof WeakSet=="function"&&WeakSet.prototype,Kr=pP?WeakSet.prototype.has:null,hP=typeof WeakRef=="function"&&WeakRef.prototype,jf=hP?WeakRef.prototype.deref:null,vP=Boolean.prototype.valueOf,mP=Object.prototype.toString,yP=Function.prototype.toString,gP=String.prototype.match,wl=String.prototype.slice,tn=String.prototype.replace,bP=String.prototype.toUpperCase,Bf=String.prototype.toLowerCase,Qv=RegExp.prototype.test,Ff=Array.prototype.concat,Ot=Array.prototype.join,_P=Array.prototype.slice,Uf=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,Jv=Object.prototype.propertyIsEnumerable,xf=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function Hf(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||Qv.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var r=e<0?-Uf(-e):Uf(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=fP,Kf=Qu.custom,Wf=em(Kf)?Kf:null,wP=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 nm(t,a);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var s=String(t);return u?Hf(t,s):s}if(typeof t=="bigint"){var c=String(t)+"n";return u?Hf(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=FP(a,r);if(typeof i>"u")i=[];else if(tm(i,t)>=0)return"[Circular]";function d(j,I,C){if(I&&(i=_P.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"&&!zf(t)){var h=LP(t),v=Li(t,d);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(v.length>0?" { "+Ot.call(v,", ")+" }":"")}if(em(t)){var p=pr?tn.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Xu.call(t);return typeof t=="object"&&!pr?Mr(p):p}if($P(t)){for(var _="<"+Bf.call(String(t.nodeName)),g=t.attributes||[],y=0;y<g.length;y++)_+=" "+g[y].name+"="+Zv(EP(g[y].value),"double",a);return _+=">",t.childNodes&&t.childNodes.length&&(_+="..."),_+="</"+Bf.call(String(t.nodeName))+">",_}if(Ju(t)){if(t.length===0)return"[]";var m=Li(t,d);return l&&!BP(m)?"["+Zu(m,l)+"]":"[ "+Ot.call(m,", ")+" ]"}if(OP(t)){var b=Li(t,d);return!("cause"in Error.prototype)&&"cause"in t&&!Jv.call(t,"cause")?"{ ["+String(t)+"] "+Ot.call(Ff.call("[cause]: "+d(t.cause),b),", ")+" }":b.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Ot.call(b,", ")+" }"}if(typeof t=="object"&&o){if(Wf&&typeof t[Wf]=="function"&&Qu)return Qu(t,{depth:f-r});if(o!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(RP(t)){var E=[];return Df&&Df.call(t,function(j,I){E.push(d(I,t,!0)+" => "+d(j,t))}),qf("Map",Aa.call(t),E,l)}if(MP(t)){var O=[];return $f&&$f.call(t,function(j){O.push(d(j,t))}),qf("Set",Ta.call(t),O,l)}if(kP(t))return eu("WeakMap");if(DP(t))return eu("WeakSet");if(NP(t))return eu("WeakRef");if(AP(t))return Mr(d(Number(t)));if(CP(t))return Mr(d(Yu.call(t)));if(TP(t))return Mr(vP.call(t));if(PP(t))return Mr(d(String(t)));if(t===J)return typeof window<"u"?"{ [object Window] }":"{ [object global] }";if(!SP(t)&&!zf(t)){var S=Li(t,d),w=xf?xf(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(Ff.call([],A||[],P||[]),": ")+"] ":"");return S.length===0?D+"{}":l?D+"{"+Zu(S,l)+"}":D+"{ "+Ot.call(S,", ")+" }"}return String(t)};function Zv(e,t,n){var r=(n.quoteStyle||t)==="double"?'"':"'";return r+e+r}function EP(e){return tn.call(String(e),/"/g,""")}function Ju(e){return hn(e)==="[object Array]"&&(!Ge||!(typeof e=="object"&&Ge in e))}function SP(e){return hn(e)==="[object Date]"&&(!Ge||!(typeof e=="object"&&Ge in e))}function zf(e){return hn(e)==="[object RegExp]"&&(!Ge||!(typeof e=="object"&&Ge in e))}function OP(e){return hn(e)==="[object Error]"&&(!Ge||!(typeof e=="object"&&Ge in e))}function PP(e){return hn(e)==="[object String]"&&(!Ge||!(typeof e=="object"&&Ge in e))}function AP(e){return hn(e)==="[object Number]"&&(!Ge||!(typeof e=="object"&&Ge in e))}function TP(e){return hn(e)==="[object Boolean]"&&(!Ge||!(typeof e=="object"&&Ge in e))}function em(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 CP(e){if(!e||typeof e!="object"||!Yu)return!1;try{return Yu.call(e),!0}catch{}return!1}var IP=Object.prototype.hasOwnProperty||function(e){return e in this};function Xt(e,t){return IP.call(e,t)}function hn(e){return mP.call(e)}function LP(e){if(e.name)return e.name;var t=gP.call(yP.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function tm(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 RP(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 kP(e){if(!Hr||!e||typeof e!="object")return!1;try{Hr.call(e,Hr);try{Kr.call(e,Kr)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function NP(e){if(!jf||!e||typeof e!="object")return!1;try{return jf.call(e),!0}catch{}return!1}function MP(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 DP(e){if(!Kr||!e||typeof e!="object")return!1;try{Kr.call(e,Kr);try{Hr.call(e,Hr)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function $P(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function nm(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return nm(wl.call(e,0,t.maxStringLength),t)+r}var i=tn.call(tn.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,jP);return Zv(i,"single",t)}function jP(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":"")+bP.call(t.toString(16))}function Mr(e){return"Object("+e+")"}function eu(e){return e+" { ? }"}function qf(e,t,n,r){var i=r?Zu(n,r):Ot.call(n,", ");return e+" ("+t+") {"+i+"}"}function BP(e){for(var t=0;t<e.length;t++)if(tm(e[t],`
|
|
13
|
+
`)>=0)return!1;return!0}function FP(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=Xu(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 Qo=="function"?Qo(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||(Vv.call(/[^\w$]/,s)?r.push(t(s,e)+": "+t(e[s],e)):r.push(s+": "+t(e[s],e))));if(typeof Qo=="function")for(var c=0;c<a.length;c++)Yv.call(e,a[c])&&r.push("["+t(a[c])+"]: "+t(e[a[c]],e));return r}var _l=ro,Tr=dP,WP=PP,zP=_l("%TypeError%"),Ri=_l("%WeakMap%",!0),ki=_l("%Map%",!0),qP=Tr("WeakMap.prototype.get",!0),GP=Tr("WeakMap.prototype.set",!0),VP=Tr("WeakMap.prototype.has",!0),YP=Tr("Map.prototype.get",!0),XP=Tr("Map.prototype.set",!0),QP=Tr("Map.prototype.has",!0),wl=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=wl(e,t);return n&&n.value},ZP=function(e,t,n){var r=wl(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}},eA=function(e,t){return!!wl(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,Zo={RFC1738:"RFC1738",RFC3986:"RFC3986"},El={default:Zo.RFC3986,formatters:{RFC1738:function(e){return nA.call(e,rA,"+")},RFC3986:function(e){return String(e)}},RFC1738:Zo.RFC1738,RFC3986:Zo.RFC3986},iA=El,eu=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}}},em=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)||!eu.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=em(t,r)),_n(t)&&_n(n)?(n.forEach(function(a,o){if(eu.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 eu.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)},tm={arrayToObject:em,assign:uA,combine:pA,compact:cA,decode:sA,encode:lA,isBuffer:dA,isRegExp:fA,maybeMap:hA,merge:oA},nm=tA,ra=tm,Wr=El,vA=Object.prototype.hasOwnProperty,Wf={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,rm=function(e,t){mA.apply(e,kt(t)?t:[t])},yA=Date.prototype.toISOString,zf=Wr.default,Ke={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:ra.encode,encodeValuesOnly:!1,format:zf,formatter:Wr.formatters[zf],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"},tu={},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(tu))!==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(tu)>"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=nm();C.set(tu,_),rm(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=Wr.default;if(typeof t.format<"u"){if(!vA.call(Wr.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var i=Wr.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 Wf?u=t.arrayFormat:t&&"indices"in t?u=t.indices?"indices":"repeat":u="indices";var s=Wf[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=nm(),l=0;l<i.length;++l){var d=i[l];r.skipNulls&&n[d]===null||rm(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=tm,Ju=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))})},im=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(im(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),Ju.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:im(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&&Ju.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&&Ju.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=El,MA={formats:NA,parse:kA,stringify:RA};const DA=si(MA);var Sl={exports:{}};class am 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 am);r.clear(),u.splice(0,u.length)},l.isEnabled=!0,l}};Sl.exports=$A;Sl.exports.AbortError=am;var jA=Sl.exports;const BA=si(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 Zu(e){"@babel/helpers - typeof";return Zu=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},Zu(e)}function es(){es=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)},es.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)||om(e,t)||WA()}function KA(e){if(Array.isArray(e))return e}function om(e,t){if(e){if(typeof e=="string")return Gf(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 Gf(e,t)}}function Gf(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 ts(){}var ns=es(/(\d+)(%)/,{value:1});function nu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:7,n=t;if(ns.test(e)){var r,i=(r=e.match(ns))===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 Vf(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?ts:n,i=xl(t)?nu(t):nu("auto",t),a=Vf(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&&xl(t)&&(t==="auto"||ns.test(t))&&c.headers&&c.headers["x-contentful-ratelimit-second-limit"]){var f=parseInt(c.headers["x-contentful-ratelimit-second-limit"]),l=nu(t,f);l!==i&&(u&&e.interceptors.request.eject(u),i=l,a=Vf(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?ts:r,a=n.requestLogger,o=a===void 0?ts: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 um(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 um(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 sm(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&&Zu(a)==="object"&&sm(a)}}catch(o){n.e(o)}finally{n.f()}return Object.freeze(e)}function ot(e){return sm(e.sys||{}),e}function Yf(){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=Yf(),i.push("platform ReactNative")):VA()?(a=i5(),i.push("platform node.js/".concat(XA()))):(a=Yf(),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 rs={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)}}})(rs,rs.exports);var s5=rs.exports;const l5=si(s5);function lm(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 Dr(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 ni={},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]},Xf=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 Xf(t,{linkType:l,entryId:f,spaceId:s,environmentId:c})||ni}var d=n.sys.id;return Xf(t,{linkType:a,entryId:d})||ni},y5=function(t){if(Array.isArray(t))return t.filter(function(r){return r!==ni});for(var n in t)t[n]===ni&&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===ni?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},{})},cm=function(t,n){if(n=n||{},!t.items)return[];var r=De(t),i=Object.keys(r.includes||{}).reduce(function(u,s){return[].concat(Dr(u),Dr(t.includes[s]))},[]),a=[].concat(Dr(r.items),Dr(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,Dr(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=lm(Qe(De(e)));return n&&(i.items=cm(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 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 Jf(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){B5(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 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}=Jf(Jf({},r),n),s=await fm(e,[],t,{paginate:o});i&&(s.items=cm(s,{removeUnresolved:a,itemEntryPoints:["fields"]}));const c=H5(s.items);return s.nextSyncToken&&(c.nextSyncToken=s.nextSyncToken),s.nextPageToken&&(c.nextPageToken=s.nextPageToken),ot(lm(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 fm(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=ru(o.nextPageUrl),fm(e,t,n,{paginate:i})):{items:t,nextPageToken:ru(o.nextPageUrl)}:o.nextSyncUrl?{items:t,nextSyncToken:ru(o.nextSyncUrl)}:{items:[]}}function ru(e){const t=e.split("?");return t.length>0?t[1].replace("sync_token=",""):""}function Zf(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 ed(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Zf(Object(n),!0).forEach(function(r){K5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zf(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"),ed(ed({},e),{},{select:[...n].join(",")}))}class iu 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 iu(e,`only numeric values are allowed for timestamps, provided type was "${typeof t}"`);if(n.maximum&&t>n.maximum)throw new iu(e,`value (${t}) cannot be further in the future than expected maximum (${n.maximum})`);if(n.now&&t<n.now)throw new iu(e,`value (${t}) cannot be in the past, current time was ${n.now}`)}function td(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 nd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?td(Object(n),!0).forEach(function(r){G5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):td(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(nd({"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,nd({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 rd(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?rd(Object(n),!0).forEach(function(r){Z5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rd(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 sR(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=um(FO,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 dm=Ud(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=dm,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 is;(function(e){e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript"})(is||(is={}));ao.default=is;var pm={};(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]})(pm);var hm={};Object.defineProperty(hm,"__esModule",{value:!0});var vm={};Object.defineProperty(vm,"__esModule",{value:!0});var Ol={};Object.defineProperty(Ol,"__esModule",{value:!0});var id=Ei,iT={nodeType:id.BLOCKS.DOCUMENT,data:{},content:[{nodeType:id.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};Ol.default=iT;var un={};Object.defineProperty(un,"__esModule",{value:!0});un.isText=un.isBlock=un.isInline=void 0;var aT=Ei,oT=io;function mm(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 mm(oT.INLINES,e.nodeType)}un.isInline=uT;function sT(e){return mm(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(pm,e),r(hm,e),r(vm,e);var c=Ol;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={},ym={};(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})(ym);(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=ym;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={},gm={};(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})(gm);(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=gm;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 ad(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?ad(Object(n),!0).forEach(function(r){$e(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ad(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 od(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&&od(e.prototype,t),n&&od(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 Pl(e,t){return gT(e)||_T(e,t)||bm(e,t)||ET()}function Si(e){return yT(e)||bT(e)||bm(e)||wT()}function yT(e){if(Array.isArray(e))return as(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 bm(e,t){if(e){if(typeof e=="string")return as(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 as(e,t)}}function as(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
|
|
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||(Qv.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++)Jv.call(e,a[c])&&r.push("["+t(a[c])+"]: "+t(e[a[c]],e));return r}var El=ro,Tr=sP,UP=wP,xP=El("%TypeError%"),Ri=El("%WeakMap%",!0),ki=El("%Map%",!0),HP=Tr("WeakMap.prototype.get",!0),KP=Tr("WeakMap.prototype.set",!0),WP=Tr("WeakMap.prototype.has",!0),zP=Tr("Map.prototype.get",!0),qP=Tr("Map.prototype.set",!0),GP=Tr("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},VP=function(e,t){var n=Sl(e,t);return n&&n.value},YP=function(e,t,n){var r=Sl(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}},XP=function(e,t){return!!Sl(e,t)},QP=function(){var t,n,r,i={assert:function(a){if(!i.has(a))throw new xP("Side channel does not contain "+UP(a))},get:function(a){if(Ri&&a&&(typeof a=="object"||typeof a=="function")){if(t)return HP(t,a)}else if(ki){if(n)return zP(n,a)}else if(r)return VP(r,a)},has:function(a){if(Ri&&a&&(typeof a=="object"||typeof a=="function")){if(t)return WP(t,a)}else if(ki){if(n)return GP(n,a)}else if(r)return XP(r,a);return!1},set:function(a,o){Ri&&a&&(typeof a=="object"||typeof a=="function")?(t||(t=new Ri),KP(t,a,o)):ki?(n||(n=new ki),qP(n,a,o)):(r||(r={key:{},next:null}),YP(r,a,o))}};return i},JP=String.prototype.replace,ZP=/%20/g,tu={RFC1738:"RFC1738",RFC3986:"RFC3986"},Ol={default:tu.RFC3986,formatters:{RFC1738:function(e){return JP.call(e,ZP,"+")},RFC3986:function(e){return String(e)}},RFC1738:tu.RFC1738,RFC3986:tu.RFC3986},eA=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}(),tA=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}}},rm=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},nA=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=rm(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)},rA=function(t,n){return Object.keys(n).reduce(function(r,i){return r[i]=n[i],r},t)},iA=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}},aA=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===eA.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},oA=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 tA(n),t},uA=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},sA=function(t){return!t||typeof t!="object"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},lA=function(t,n){return[].concat(t,n)},cA=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)},im={arrayToObject:rm,assign:rA,combine:lA,compact:oA,decode:iA,encode:aA,isBuffer:sA,isRegExp:uA,maybeMap:cA,merge:nA},am=QP,ra=im,Wr=Ol,fA=Object.prototype.hasOwnProperty,Gf={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,n){return t+"["+n+"]"},repeat:function(t){return t}},kt=Array.isArray,dA=Array.prototype.push,om=function(e,t){dA.apply(e,kt(t)?t:[t])},pA=Date.prototype.toISOString,Vf=Wr.default,Ke={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:ra.encode,encodeValuesOnly:!1,format:Vf,formatter:Wr.formatters[Vf],indices:!1,serializeDate:function(t){return pA.call(t)},skipNulls:!1,strictNullHandling:!1},hA=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},ru={},vA=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(hA(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=am();C.set(ru,_),om(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},mA=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=Wr.default;if(typeof t.format<"u"){if(!fA.call(Wr.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var i=Wr.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}},yA=function(e,t){var n=e,r=mA(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 Gf?u=t.arrayFormat:t&&"indices"in t?u=t.indices?"indices":"repeat":u="indices";var s=Gf[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=am(),l=0;l<i.length;++l){var d=i[l];r.skipNulls&&n[d]===null||om(o,vA(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=im,es=Object.prototype.hasOwnProperty,gA=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},bA=function(e){return e.replace(/&#(\d+);/g,function(t,n){return String.fromCharCode(parseInt(n,10))})},um=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},_A="utf8=%26%2310003%3B",wA="utf8=%E2%9C%93",EA=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]===wA?c="utf-8":o[s]===_A&&(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(um(f.slice(d+1),n),function(p){return n.decoder(p,Be.decoder,c,"value")})),v&&n.interpretNumericEntities&&c==="iso-8859-1"&&(v=bA(v)),f.indexOf("[]=")>-1&&(v=gA(v)?[v]:v),es.call(r,h)?r[h]=hr.combine(r[h],v):r[h]=v}return r},SA=function(e,t,n,r){for(var i=r?t:um(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},OA=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)+"]"),SA(f,n,r,i)}},PA=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}},AA=function(e,t){var n=PA(t);if(e===""||e===null||typeof e>"u")return n.plainObjects?Object.create(null):{};for(var r=typeof e=="string"?EA(e,n):e,i=n.plainObjects?Object.create(null):{},a=Object.keys(r),o=0;o<a.length;++o){var u=a[o],s=OA(u,r[u],n,typeof e=="string");i=hr.merge(i,s,n)}return n.allowSparse===!0?i:hr.compact(i)},TA=yA,CA=AA,IA=Ol,LA={formats:IA,parse:CA,stringify:TA};const RA=si(LA);var Pl={exports:{}};class sm extends Error{constructor(){super("Throttled function aborted"),this.name="AbortError"}}const kA=({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 sm);r.clear(),u.splice(0,u.length)},l.isEnabled=!0,l}};Pl.exports=kA;Pl.exports.AbortError=sm;var NA=Pl.exports;const MA=si(NA);function DA(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 Yf(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?Yf(Object(n),!0).forEach(function(r){$A(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yf(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 jA(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 $A(e,t,n){return t=KA(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jA(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 BA(e,t){return FA(e)||DA(e,t)||lm(e,t)||UA()}function FA(e){if(Array.isArray(e))return e}function lm(e,t){if(e){if(typeof e=="string")return Xf(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 Xf(e,t)}}function Xf(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 UA(){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 xA(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=lm(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 HA(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 KA(e){var t=HA(e,"string");return typeof t=="symbol"?t:String(t)}function WA(){return typeof process<"u"&&!process.browser}function zA(){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 GA(){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 Qf(e,t){return t("info","Throttle request to ".concat(e,"/s")),MA({limit:e,interval:1e3,strict:!1})}var VA=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=Qf(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=Qf(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)}},YA=function(t){return new Promise(function(n){setTimeout(n,t)})},XA=function(t){return Math.pow(Math.SQRT2,t)};function QA(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=XA(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,YA(d).then(function(){return e(c)})):Promise.reject(u)})}function JA(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 ZA=/^(?!\w+:\/\/)([^\s:]+\.?[^\s:]+)(?::(\d+))?(?!:)$/;function cm(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&&ZA.test(r.host)){var c=r.host.split(":");if(c.length===2){var f=BA(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:RA.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 cm(e,Gn(Gn({},De(t)),v))},r.onBeforeRequest&&h.interceptors.request.use(r.onBeforeRequest),typeof r.accessToken=="function"&&JA(h,r.accessToken),r.throttle&&VA(h,r.throttle),QA(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 fm(e){var t=Object.getOwnPropertyNames(e),n=xA(t),r;try{for(n.s();!(r=n.n()).done;){var i=r.value,a=e[i];a&&ts(a)==="object"&&fm(a)}}catch(o){n.e(o)}finally{n.f()}return Object.freeze(e)}function ot(e){return fm(e.sys||{}),e}function Jf(){var e=GA();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 e5(){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 t5(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{zA()?(a=Jf(),i.push("platform ReactNative")):WA()?(a=e5(),i.push("platform node.js/".concat(qA()))):(a=Jf(),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 n5(e){return ot(Qe(e))}const r5=Object.freeze(Object.defineProperty({__proto__:null,wrapSpace:n5},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 i5=as.exports;const a5=si(i5);function dm(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 a5(this,t,n,(r,i)=>({sys:{type:"Link",linkType:"Entry",id:i.sys.id,circular:!0}}))}})}var o5=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},u5=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 Dr(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 ni={},s5=function(t){return t&&t.sys&&t.sys.type==="Link"},l5=function(t){return t&&t.sys&&t.sys.type==="ResourceLink"},c5=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]},Zf=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)},f5=function(t){var n=/.*:spaces\/([^/]+)(?:\/environments\/([^/]+))?\/entries\/([^/]+)$/;if(n.test(t)){var r=t.match(n),i=u5(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}}},d5=function(t,n){var r=n.sys,i=r.type,a=r.linkType;if(i==="ResourceLink"){var o=n.sys.urn,u=f5(o),s=u.spaceId,c=u.environmentId,f=u.entryId,l=a.split(":")[1];return Zf(t,{linkType:l,entryId:f,spaceId:s,environmentId:c})||ni}var d=n.sys.id;return Zf(t,{linkType:a,entryId:d})||ni},p5=function(t){if(Array.isArray(t))return t.filter(function(r){return r!==ni});for(var n in t)t[n]===ni&&delete t[n];return t},h5=function e(t,n,r,i){if(n(t))return r(t);if(t&&(typeof t>"u"?"undefined":o5(t))==="object"){for(var a in t)t.hasOwnProperty(a)&&(t[a]=e(t[a],n,r,i));i&&(t=p5(t))}return t},v5=function(t,n,r){var i=d5(t,n);return i===ni?r?i:n:i},m5=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},{})},pm=function(t,n){if(n=n||{},!t.items)return[];var r=De(t),i=Object.keys(r.includes||{}).reduce(function(u,s){return[].concat(Dr(u),Dr(t.includes[s]))},[]),a=[].concat(Dr(r.items),Dr(i)).filter(function(u){return!!u.sys}),o=new Map(a.reduce(function(u,s){var c=c5(s.sys).map(function(f){return[f,s]});return u.push.apply(u,Dr(c)),u},[]));return a.forEach(function(u){var s=m5(u,n.itemEntryPoints);Object.assign(u,h5(s,function(c){return s5(c)||l5(c)},function(c){return v5(o,c,n.removeUnresolved)},n.removeUnresolved))}),r.items};function y5(e){return ot(Qe(De(e)))}function g5(e,t){let{resolveLinks:n,removeUnresolved:r}=t;const i=dm(Qe(De(e)));return n&&(i.items=pm(i,{removeUnresolved:r,itemEntryPoints:["fields"]})),ot(i)}const b5=Object.freeze(Object.defineProperty({__proto__:null,wrapEntry:y5,wrapEntryCollection:g5},Symbol.toStringTag,{value:"Module"}));function _5(e){return ot(Qe(De(e)))}function w5(e){return ot(Qe(De(e)))}const E5=Object.freeze(Object.defineProperty({__proto__:null,wrapAsset:_5,wrapAssetCollection:w5},Symbol.toStringTag,{value:"Module"}));function S5(e){return ot(Qe(De(e)))}const O5=Object.freeze(Object.defineProperty({__proto__:null,wrapAssetKey: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,wrapContentType:P5,wrapContentTypeCollection:A5},Symbol.toStringTag,{value:"Module"}));function C5(e){return ot(Qe(De(e)))}function I5(e){return ot(Qe(De(e)))}const L5=Object.freeze(Object.defineProperty({__proto__:null,wrapLocale:C5,wrapLocaleCollection:I5},Symbol.toStringTag,{value:"Module"}));function R5(e){return ot(Qe(De(e)))}function k5(e){return ot(Qe(De(e)))}const N5=Object.freeze(Object.defineProperty({__proto__:null,wrapTag:R5,wrapTagCollection:k5},Symbol.toStringTag,{value:"Module"})),mn={space:r5,entry:b5,asset:E5,assetKey:O5,contentType:T5,locale:L5,tag:N5};function ed(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 td(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ed(Object(n),!0).forEach(function(r){M5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ed(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function M5(e,t,n){return t=D5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function D5(e){var t=$5(e,"string");return typeof t=="symbol"?t:String(t)}function $5(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 j5(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}=td(td({},r),n),s=await hm(e,[],t,{paginate:o});i&&(s.items=pm(s,{removeUnresolved:a,itemEntryPoints:["fields"]}));const c=B5(s.items);return s.nextSyncToken&&(c.nextSyncToken=s.nextSyncToken),s.nextPageToken&&(c.nextPageToken=s.nextPageToken),ot(dm(Qe(c)))}function B5(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 hm(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),hm(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 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)}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"),rd(rd({},e),{},{select:[...n].join(",")}))}class ou extends Error{constructor(t,n){super(`Invalid "${t}" provided, `+n),this.name="ValidationError"}}function H5(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 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)}const q5=48*60*60;function G5(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(ad({"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;H5("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),j5(t,I,ad({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 V5(e){return function(n){return Object.assign({},e,n)}}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 Mi(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){Y5(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 Y5(e,t,n){return t=X5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function X5(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 iR(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=t5("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=cm(HO,n),a=V5({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,G5({http:i,getGlobalOptions:a})}var J5={};const vm=Kd(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=vm,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})(J5);var Z5={},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 mm={};(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]})(mm);var ym={};Object.defineProperty(ym,"__esModule",{value:!0});var gm={};Object.defineProperty(gm,"__esModule",{value:!0});var Al={};Object.defineProperty(Al,"__esModule",{value:!0});var ud=Ei,eT={nodeType:ud.BLOCKS.DOCUMENT,data:{},content:[{nodeType:ud.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};Al.default=eT;var un={};Object.defineProperty(un,"__esModule",{value:!0});un.isText=un.isBlock=un.isInline=void 0;var tT=Ei,nT=io;function bm(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 rT(e){return bm(nT.INLINES,e.nodeType)}un.isInline=rT;function iT(e){return bm(tT.BLOCKS,e.nodeType)}un.isBlock=iT;function aT(e){return e.nodeType==="text"}un.isText=aT;(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(mm,e),r(ym,e),r(gm,e);var c=Al;Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return a(c).default}});var f=i(un);e.helpers=f})(Z5);var oT={};(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})(oT);var uT={},_m={};(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})(_m);(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=_m;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})(uT);var sT={};(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})(sT);var lT={};(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})(lT);var cT={},wm={};(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})(wm);(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=wm;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})(cT);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 W(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){$e(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 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 fT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ld(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 dT(e,t,n){return t&&ld(e.prototype,t),n&&ld(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 hT(e)||mT(e,t)||Em(e,t)||gT()}function Si(e){return pT(e)||vT(e)||Em(e)||yT()}function pT(e){if(Array.isArray(e))return us(e)}function hT(e){if(Array.isArray(e))return e}function vT(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function mT(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 Em(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 yT(){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 gT(){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 cd=function(){},Cl={},Sm={},Om=null,Pm={mark:cd,measure:cd};try{typeof window<"u"&&(Cl=window),typeof document<"u"&&(Sm=document),typeof MutationObserver<"u"&&(Om=MutationObserver),typeof performance<"u"&&(Pm=performance)}catch{}var bT=Cl.navigator||{},fd=bT.userAgent,dd=fd===void 0?"":fd,fn=Cl,ye=Sm,pd=Om,Di=Pm;fn.document;var qt=!!ye.documentElement&&!!ye.head&&typeof ye.addEventListener=="function"&&typeof ye.createElement=="function",Am=~dd.indexOf("MSIE")||~dd.indexOf("Trident/"),$i,ji,Bi,Fi,Ui,Ht="___FONT_AWESOME___",ss=16,Tm="fa",Cm="svg-inline--fa",kn="data-fa-i2svg",ls="data-fa-pseudo-element",_T="data-fa-pseudo-element-pending",Il="data-prefix",Ll="data-icon",hd="fontawesome-i2svg",wT="async",ET=["HTML","HEAD","STYLE","SCRIPT"],Im=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 ri=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)),ii=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)),ai=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)),ST=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)),OT=/fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/,Lm="fa-layers-text",PT=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,AT=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)),Rm=[1,2,3,4,5,6,7,8,9,10],TT=Rm.concat([11,12,13,14,15,16,17,18,19,20]),CT=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Sn={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},oi=new Set;Object.keys(ii[me]).map(oi.add.bind(oi));Object.keys(ii[_e]).map(oi.add.bind(oi));var IT=[].concat(Rl,Si(oi),["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(Rm.map(function(e){return"".concat(e,"x")})).concat(TT.map(function(e){return"w-".concat(e)})),zr=fn.FontAwesomeConfig||{};function LT(e){var t=ye.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function RT(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(ye&&typeof ye.querySelector=="function"){var kT=[["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"]];kT.forEach(function(e){var t=Tl(e,2),n=t[0],r=t[1],i=RT(LT(n));i!=null&&(zr[r]=i)})}var km={styleDefault:"solid",familyDefault:"classic",cssPrefix:Tm,replacementClass:Cm,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};zr.familyPrefix&&(zr.cssPrefix=zr.familyPrefix);var vr=W(W({},km),zr);vr.autoReplaceSvg||(vr.observeMutations=!1);var V={};Object.keys(km).forEach(function(e){Object.defineProperty(V,e,{enumerable:!0,set:function(n){vr[e]=n,qr.forEach(function(r){return r(V)})},get:function(){return vr[e]}})});Object.defineProperty(V,"familyPrefix",{enumerable:!0,set:function(t){vr.cssPrefix=t,qr.forEach(function(n){return n(V)})},get:function(){return vr.cssPrefix}});fn.FontAwesomeConfig=V;var qr=[];function NT(e){return qr.push(e),function(){qr.splice(qr.indexOf(e),1)}}var Vt=ss,Tt={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function MT(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 DT="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function ui(){for(var e=12,t="";e-- >0;)t+=DT[Math.random()*62|0];return t}function Cr(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function kl(e){return e.classList?Cr(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function Nm(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function $T(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(Nm(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 jT(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 BT(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&&Am?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 FT=`: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 Rm(){var e=Om,t=Pm,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 dd=!1;function au(){V.autoAddCss&&!dd&&(BT(Rm()),dd=!0)}var WT={mixout:function(){return{dom:{css:Rm,insertCss:au}}},hooks:function(){return{beforeDOMElementCreation:function(){au()},beforeI2svg:function(){au()}}}},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],km=[],zT=function e(){ye.removeEventListener("DOMContentLoaded",e),La=1,km.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):km.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"?Lm(e):"<".concat(t," ").concat(UT(r),">").concat(a.map(Pi).join(""),"</").concat(t,">")}function pd(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)}},ou=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 ss(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 hd(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 ls(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,i=r===void 0?!1:r,a=hd(t);typeof vt.hooks.addPack=="function"&&!i?vt.hooks.addPack(e,hd(t)):vt.styles[e]=W(W({},vt.styles[e]||{}),a),e==="fas"&&ls("fa",t)}var xi,Hi,Ki,Vn=vt.styles,XT=vt.shims,QT=(xi={},$e(xi,me,Object.values(ai[me])),$e(xi,_e,Object.values(ai[_e])),xi),kl=null,Nm={},Mm={},Dm={},$m={},jm={},JT=(Hi={},$e(Hi,me,Object.keys(ri[me])),$e(Hi,_e,Object.keys(ri[_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 Bm=function(){var t=function(a){return ou(Vn,function(o,u,s){return o[s]=ou(u,a,{}),o},{})};Nm=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}),Mm=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}),jm=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=ou(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:{}});Dm=r.names,$m=r.unicodes,kl=uo(V.styleDefault,{family:V.familyDefault})};jT(function(e){kl=uo(e.styleDefault,{family:V.familyDefault})});Bm();function Nl(e,t){return(Nm[e]||{})[t]}function tC(e,t){return(Mm[e]||{})[t]}function On(e,t){return(jm[e]||{})[t]}function Fm(e){return Dm[e]||{prefix:null,iconName:null}}function nC(e){var t=$m[e],n=Nl("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function dn(){return kl}var Ml=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=ri[r][e],a=ii[r][e]||ii[r][i],o=e in vt.styles?e:null;return a||o||null}var vd=(Ki={},$e(Ki,me,Object.keys(ai[me])),$e(Ki,_e,Object.keys(ai[_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 vd[me].includes(c)}))&&(u=me),(e.includes(a[_e])||e.some(function(c){return vd[_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"?Fm(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},Ml());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]),ls(u,o[u]);var s=ai[me][u];s&&ls(s,o[u]),Bm()})}},{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}(),md=[],Yn={},tr={},iC=Object.keys(tr);function aC(e,t){var n=t.mixoutsTo;return md=e,Yn={},Object.keys(tr).forEach(function(r){iC.indexOf(r)===-1&&delete tr[r]}),md.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 cs(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 fs(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,n=e.prefix||dn();if(t)return t=On(n,t)||t,pd(Um.definitions,n,t)||pd(vt.styles,n,t)}var Um=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:Um,findIconDefinition:fs,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(Rl(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 Dl(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||ui())},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 yd(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);Rl(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 uu=vt.styles;function ds(e){var t=e[0],n=e[1],r=e.slice(4),i=Pl(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){!Am&&!V.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function ps(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=Fm(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&uu[t]&&uu[t][e]){var o=uu[t][e];return r(ds(o))}hC(e,t),r(W(W({},pC),{},{icon:V.showMissingIcons&&e?Wt("missingIconAbstract")||{}:{}}))})}var gd=function(){},hs=V.measurePerformance&&Di&&Di.mark&&Di.measure?Di:{mark:gd,measure:gd},Br='FA "6.4.2"',vC=function(t){return hs.mark("".concat(Br," ").concat(t," begins")),function(){return xm(t)}},xm=function(t){hs.mark("".concat(Br," ").concat(t," ends")),hs.measure("".concat(Br," ").concat(t),"".concat(Br," ").concat(t," begins"),"".concat(Br," ").concat(t," ends"))},$l={begin:vC,end:xm},ia=function(){};function bd(e){var t=e.getAttribute?e.getAttribute(kn):null;return typeof t=="string"}function mC(e){var t=e.getAttribute?e.getAttribute(Tl):null,n=e.getAttribute?e.getAttribute(Cl):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 Hm(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(Hm(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(Hm(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(~Ll(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
|
|
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 Ym(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=Ym(n.slice(0,r)),a=n.slice(r+1).trim();return i.startsWith("webkit")?t[uI(i)]=a:t[i]=a,t},{})}function Xm(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 Xm(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[Ym(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(ys(r)))}var Qm=!1;try{Qm=!0}catch{}function lI(){if(!Qm&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function Rd(e){if(e&&ka(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(ms.icon)return ms.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 lu(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=Rd(n),f=lu("classes",[].concat(ys(iI(e)),ys(a.split(" ")))),l=lu("transform",typeof e.transform=="string"?ms.transform(e.transform):e.transform),d=lu("mask",Rd(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=Xm.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),lR=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),cR=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),fR=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),dR=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),pR=_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),hR=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),vR=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),mR=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),yR=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),gR=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),bR=kI;function Jm(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&&Jm(o,t,n,r,[...i,a]):r.append(u,o)}),r}const NI={wretch:{formData(e,t=!1){return this.body(Jm(e,t,this._config))}}},_R=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 Bl={};(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})(Bl);var fo={};Object.defineProperty(fo,"__esModule",{value:!0});fo.__=void 0;const Ir=Bl;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,Ir.when)(DI),HI=(0,Ir.when)(BI),KI=(0,Ir.when)($I),WI=(0,Ir.when)(jI),zI=(0,Ir.when)(FI),qI=(0,Ir.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=Bl;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 Zm={exports:{}};(function(e,t){(function(n,r){e.exports=r(dm)})(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 Mm(){var e=Tm,t=Cm,n=V.cssPrefix,r=V.replacementClass,i=FT;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 vd=!1;function uu(){V.autoAddCss&&!vd&&(MT(Mm()),vd=!0)}var UT={mixout:function(){return{dom:{css:Mm,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],Dm=[],xT=function e(){ye.removeEventListener("DOMContentLoaded",e),La=1,Dm.map(function(t){return t()})},La=!1;qt&&(La=(ye.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(ye.readyState),La||ye.addEventListener("DOMContentLoaded",xT));function HT(e){qt&&(La?setTimeout(e,0):Dm.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"?Nm(e):"<".concat(t," ").concat($T(r),">").concat(a.map(Pi).join(""),"</").concat(t,">")}function md(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var KT=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?KT(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 WT(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=WT(e);return t.length===1?t[0].toString(16):null}function zT(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 yd(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=yd(t);typeof vt.hooks.addPack=="function"&&!i?vt.hooks.addPack(e,yd(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,GT=(xi={},$e(xi,me,Object.values(ai[me])),$e(xi,_e,Object.values(ai[_e])),xi),Ml=null,$m={},jm={},Bm={},Fm={},Um={},VT=(Hi={},$e(Hi,me,Object.keys(ri[me])),$e(Hi,_e,Object.keys(ri[_e])),Hi);function YT(e){return~IT.indexOf(e)}function XT(e,t){var n=t.split("-"),r=n[0],i=n.slice(1).join("-");return r===e&&i!==""&&!YT(i)?i:null}var xm=function(){var t=function(a){return su(Vn,function(o,u,s){return o[s]=su(u,a,{}),o},{})};$m=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}),jm=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}),Um=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:{}});Bm=r.names,Fm=r.unicodes,Ml=uo(V.styleDefault,{family:V.familyDefault})};NT(function(e){Ml=uo(e.styleDefault,{family:V.familyDefault})});xm();function Dl(e,t){return($m[e]||{})[t]}function QT(e,t){return(jm[e]||{})[t]}function On(e,t){return(Um[e]||{})[t]}function Hm(e){return Bm[e]||{prefix:null,iconName:null}}function JT(e){var t=Fm[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=ri[r][e],a=ii[r][e]||ii[r][i],o=e in vt.styles?e:null;return a||o||null}var gd=(Ki={},$e(Ki,me,Object.keys(ai[me])),$e(Ki,_e,Object.keys(ai[_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 gd[me].includes(c)}))&&(u=me),(e.includes(a[_e])||e.some(function(c){return gd[_e].includes(c)}))&&(u=_e);var s=e.reduce(function(c,f){var l=XT(V.cssPrefix,f);if(Vn[f]?(f=GT[u].includes(f)?ST[u][f]:f,o=f,c.prefix=f):VT[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"?Hm(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 ZT=function(){function e(){fT(this,e),this.definitions={}}return dT(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=ai[me][u];s&&fs(s,o[u]),xm()})}},{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}(),bd=[],Yn={},tr={},eC=Object.keys(tr);function tC(e,t){var n=t.mixoutsTo;return bd=e,Yn={},Object.keys(tr).forEach(function(r){eC.indexOf(r)===-1&&delete tr[r]}),bd.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,md(Km.definitions,n,t)||md(vt.styles,n,t)}var Km=new ZT,nC=function(){V.autoReplaceSvg=!1,V.observeMutations=!1,Nn("noAuto")},rC={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,HT(function(){aC({autoReplaceSvgRoot:n}),Nn("watch",t)})}},iC={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(OT))){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:nC,config:V,dom:rC,parse:iC,library:Km,findIconDefinition:ps,toHtml:Pi},aC=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 oC(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 uC(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||ui())},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?uC(E):oC(E)}function _d(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=BT({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 sC(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 lC={found:!1,width:512,height:512};function cC(e,t){!Im&&!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=Hm(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))}cC(e,t),r(W(W({},lC),{},{icon:V.showMissingIcons&&e?Wt("missingIconAbstract")||{}:{}}))})}var wd=function(){},ms=V.measurePerformance&&Di&&Di.mark&&Di.measure?Di:{mark:wd,measure:wd},Br='FA "6.4.2"',fC=function(t){return ms.mark("".concat(Br," ").concat(t," begins")),function(){return Wm(t)}},Wm=function(t){ms.mark("".concat(Br," ").concat(t," ends")),ms.measure("".concat(Br," ").concat(t),"".concat(Br," ").concat(t," begins"),"".concat(Br," ").concat(t," ends"))},Bl={begin:fC,end:Wm},ia=function(){};function Ed(e){var t=e.getAttribute?e.getAttribute(kn):null;return typeof t=="string"}function dC(e){var t=e.getAttribute?e.getAttribute(Il):null,n=e.getAttribute?e.getAttribute(Ll):null;return t&&n}function pC(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(V.replacementClass)}function hC(){if(V.autoReplaceSvg===!0)return aa.replace;var e=aa[V.autoReplaceSvg];return e||aa.replace}function vC(e){return ye.createElementNS("http://www.w3.org/2000/svg",e)}function mC(e){return ye.createElement(e)}function zm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,r=n===void 0?e.tag==="svg"?vC:mC: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(zm(o,{ceFn:r}))}),i}function yC(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(zm(i),n)}),n.getAttribute(kn)===null&&V.keepOriginalSource){var r=ye.createComment(yC(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 Sd(e){e()}function qm(e,t){var n=typeof t=="function"?t:ia;if(e.length===0)n();else{var r=Sd;V.mutateApproach===wT&&(r=fn.requestAnimationFrame||Sd),r(function(){var i=hC(),a=Bl.begin("mutate");e.map(i),a(),n()})}}var Fl=!1;function Gm(){Fl=!0}function ys(){Fl=!1}var Ra=null;function Od(e){if(pd&&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 pd(function(c){if(!Fl){var f=dn();Cr(c).forEach(function(l){if(l.type==="childList"&&l.addedNodes.length>0&&!Ed(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"&&Ed(l.target)&&~CT.indexOf(l.attributeName))if(l.attributeName==="class"&&dC(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 pC(l.target)&&i(l.target)})}}),qt&&Ra.observe(s,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function gC(){Ra&&Ra.disconnect()}function bC(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 _C(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=QT(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 wC(e){var t=Cr(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||ui()):(t["aria-hidden"]="true",t.focusable="false")),t}function EC(){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 Pd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=_C(e),r=n.iconName,i=n.prefix,a=n.rest,o=wC(e),u=ds("parseNodeAttributes",{},e),s=t.styleParser?bC(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 SC=vt.styles;function Vm(e){var t=V.autoReplaceSvg==="nest"?Pd(e,{styleParser:!1}):Pd(e);return~t.extra.classes.indexOf(Lm)?Wt("generateLayersText",e,t):Wt("generateSvgReplacementMutation",e,t)}var pn=new Set;Rl.map(function(e){pn.add("fa-".concat(e))});Object.keys(ri[me]).map(pn.add.bind(pn));Object.keys(ri[_e]).map(pn.add.bind(pn));pn=Si(pn);function Ad(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(hd,"-").concat(l))},i=function(l){return n.remove("".concat(hd,"-").concat(l))},a=V.autoFetchSvg?pn:Rl.map(function(f){return"fa-".concat(f)}).concat(Object.keys(SC));a.includes("fa")||a.push("fa");var o=[".".concat(Lm,":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=Cr(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=Vm(l);d&&f.push(d)}catch(h){Im||h.name==="MissingIcon"&&console.error(h)}return f},[]);return new Promise(function(f,l){Promise.all(c).then(function(d){qm(d,function(){r("active"),r("complete"),i("pending"),typeof t=="function"&&t(),s(),f()})}).catch(function(d){s(),l(d)})})}function OC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;Vm(e).then(function(n){n&&qm([n],t)})}function PC(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 AC=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||ui()):(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:_}})})}},TC={mixout:function(){return{icon:PC(AC)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=Ad,n.nodeCallback=OC,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 Ad(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}}}},CC={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}]})}}}},IC={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}),sC({content:n.toString(),title:a,extra:{attributes:c,styles:l,classes:["".concat(V.cssPrefix,"-layers-counter")].concat(Si(u))}})})}}}},LC={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}),_d({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(Am){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,_d({content:n.innerHTML,width:u,height:s,transform:a,title:i,extra:o,watchable:!0})])}}},RC=new RegExp('"',"ug"),Td=[1105920,1112319];function kC(e){var t=e.replace(RC,""),n=zT(t,0),r=n>=Td[0]&&n<=Td[1],i=t.length===2?t[0]===t[1]:!1;return{value:cs(i?t[0]:t),isSecondary:r||i}}function Cd(e,t){var n="".concat(_T).concat(t.replace(":","-"));return new Promise(function(r,i){if(e.getAttribute(n)!==null)return r();var a=Cr(e.children),o=a.filter(function(S){return S.getAttribute(ls)===t})[0],u=fn.getComputedStyle(e,t),s=u.getPropertyValue("font-family").match(PT),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])?ii[d][s[2].toLowerCase()]:AT[d][c],v=kC(l),p=v.value,_=v.isSecondary,g=s[0].startsWith("FontAwesome"),y=Dl(h,p),m=y;if(g){var b=JT(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=EC(),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 NC(e){return Promise.all([Cd(e,"::before"),Cd(e,"::after")])}function MC(e){return e.parentNode!==document.head&&!~ET.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(ls)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function Id(e){if(qt)return new Promise(function(t,n){var r=Cr(e.querySelectorAll("*")).filter(MC).map(NC),i=Bl.begin("searchPseudoElements");Gm(),Promise.all(r).then(function(){i(),ys(),t()}).catch(function(){i(),ys(),n()})})}var DC={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=Id,n}}},provides:function(t){t.pseudoElements2svg=function(n){var r=n.node,i=r===void 0?ye:r;V.searchPseudoElements&&Id(i)}}},Ld=!1,$C={mixout:function(){return{dom:{unwatch:function(){Gm(),Ld=!0}}}},hooks:function(){return{bootstrap:function(){Od(ds("mutationObserverCallbacks",{}))},noAuto:function(){gC()},watch:function(n){var r=n.observeMutationsRoot;Ld?ys():Od(ds("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},Rd=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)},jC={mixout:function(){return{parse:{transform:function(n){return Rd(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-transform");return i&&(n.transform=Rd(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 kd(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 BC(e){return e.tag==="g"?e.children:[e]}var FC={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=jT({transform:s,containerWidth:l,iconWidth:c}),v={tag:"rect",attributes:W(W({},cu),{},{fill:"white"})},p=f.children?{children:f.children.map(kd)}:{},_={tag:"g",attributes:W({},h.inner),children:[kd(W({tag:f.tag,attributes:W(W({},f.attributes),h.path)},p))]},g={tag:"g",attributes:W({},h.outer),children:[_]},y="mask-".concat(u||ui()),m="clip-".concat(u||ui()),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:BC(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}}}},UC={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}}}},xC={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}}}},HC=[UT,TC,CC,IC,LC,DC,$C,jC,FC,UC,xC];tC(HC,{mixoutsTo:ut});ut.noAuto;ut.config;ut.library;ut.dom;var gs=ut.parse;ut.findIconDefinition;ut.toHtml;var KC=ut.icon;ut.layer;ut.text;ut.counter;var Ym={exports:{}},WC="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",zC=WC,qC=zC;function Xm(){}function Qm(){}Qm.resetWarningCache=Xm;var GC=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:Qm,resetWarningCache:Xm};return n.PropTypes=n,n};Ym.exports=GC();var Te=Ym.exports;const ue=si(Te);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 nn(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){Xn(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 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 VC(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 YC(e,t){if(e==null)return{};var n=VC(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 XC(e)||QC(e)||JC(e)||ZC()}function XC(e){if(Array.isArray(e))return _s(e)}function QC(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function JC(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 ZC(){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 eI(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 tI(e){return e=e-0,e===e}function Jm(e){return tI(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,n){return n?n.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var nI=["style"];function rI(e){return e.charAt(0).toUpperCase()+e.slice(1)}function iI(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var r=n.indexOf(":"),i=Jm(n.slice(0,r)),a=n.slice(r+1).trim();return i.startsWith("webkit")?t[rI(i)]=a:t[i]=a,t},{})}function Zm(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 Zm(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=iI(f);break;default:c.indexOf("aria-")===0||c.indexOf("data-")===0?s.attrs[c.toLowerCase()]=f:s.attrs[Jm(c)]=f}return s},{attrs:{}}),a=n.style,o=a===void 0?{}:a,u=YC(n,nI);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 ey=!1;try{ey=!0}catch{}function aI(){if(!ey&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function Md(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=Md(n),f=fu("classes",[].concat(bs(eI(e)),bs(a.split(" ")))),l=fu("transform",typeof e.transform=="string"?gs.transform(e.transform):e.transform),d=fu("mask",Md(r)),h=KC(c,nn(nn(nn(nn({},f),l),d),{},{symbol:i,title:o,titleId:u,maskId:s}));if(!h)return aI("Could not find icon",c),null;var v=h.abstract,p={ref:t};return Object.keys(e).forEach(function(_){co.defaultProps.hasOwnProperty(_)||(p[_]=e[_])}),oI(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 oI=Zm.bind(null,Z.createElement);function uI({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 sI=pe(uI),aR=sI;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:"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 cI=pe(lI),oR=cI;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:"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 dI=pe(fI),uR=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",{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 hI=pe(pI),sR=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:"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 mI=pe(vI),lR=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",{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 gI=pe(yI),cR=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",{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 _I=pe(bI),fR=_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:"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 EI=pe(wI),dR=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",{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 OI=pe(SI),pR=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.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 AI=pe(PI),hR=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:"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 CI=pe(TI),vR=CI;function ty(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&&ty(o,t,n,r,[...i,a]):r.append(u,o)}),r}const II={wretch:{formData(e,t=!1){return this.body(ty(e,t,this._config))}}},mR=II;var LI={},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 Ir=Ul;function RI(e){return!0}function kI(e){return typeof e=="number"}function NI(e){return Number.isNaN(e)}function MI(e){return typeof e=="string"}function DI(e){return typeof e=="boolean"}function $I(e){return e==null}const jI=(0,Ir.when)(RI),BI=(0,Ir.when)(MI),FI=(0,Ir.when)(kI),UI=(0,Ir.when)(NI),xI=(0,Ir.when)(DI),HI=(0,Ir.when)($I);fo.__=Object.assign(jI,{string:BI,number:FI,NaN:UI,boolean:xI,nullish:HI});(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})(LI);var ny={exports:{}};(function(e,t){(function(n,r){e.exports=r(vm)})(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}()})})(
|
|
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}()})})(ny);var yR=ny.exports,gR={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"]},bR={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 Dd(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 KI(e,t){if(e){if(typeof e=="string")return Dd(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)?Dd(e,t):void 0}}function _R(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=KI(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 WI(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 wR(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 ry(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ry=function(){return!!e})()}function zI(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 WI(e)}function ER(e){var t=ry();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 zI(this,n)}}function SR(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 iy(e){var t=qI(e,"string");return mr(t)=="symbol"?t:t+""}function $d(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,iy(r.key),r)}}function OR(e,t,n){return t&&$d(e.prototype,t),n&&$d(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function PR(e,t,n){return(t=iy(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function GI(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 VI(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 Md=/; *([!#$%&'*+.^_`|~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(Md.lastIndex=n;o=Md.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,ny=function(t){return t.cloneNode(!0)},Dd=function(){return window.location.protocol==="file:"},ry=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(Dd()?"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||Dd()&&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={},$d=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,ny(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){$d(t,r);return}if(i instanceof SVGSVGElement){r(null,ny(i));return}}Kn.set(t,void 0),$d(t,r),ry(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){ry(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=[],jd={},cL="http://www.w3.org/2000/svg",fu="http://www.w3.org/1999/xlink",Bd=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(cu(cu(cu([],(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(fu,"href");oe&&oe.toString()==="#"+E[U].id&&le.push(ne[te])}for(var ie=0,ge=le.length;ie<ge;ie++)le[ie].setAttributeNS(fu,"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"&&!jd[s])){for(var C=0,R=A.length;C<R;C++)new Function(A[C])(window);jd[s]=!0}var $=l.querySelectorAll("style");if(Array.prototype.forEach.call($,function(B){B.textContent+=""}),l.setAttribute("xmlns",cL),l.setAttribute("xmlns:xlink",fu),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++)Bd(t[m],h,g,l,p,c,function(E,O){u(E,O),t&&"length"in t&&t.length===++y&&a(y)});else t?Bd(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",Fd="http://www.w3.org/1999/xlink",iy=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",Fd),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:Fd}:{}),this.state.isLoading&&o&&F(o,null),this.state.hasError&&a&&F(a,null))},t}(nt);iy.defaultProps={afterInjection:function(){},beforeInjection:function(){},desc:"",evalScripts:"never",fallback:null,httpRequestWithCredentials:!1,loading:null,onError:function(){},renumerateIRIElements:!0,title:"",useRequestCache:!0,wrapper:"div"};iy.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 ay(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=ay(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function LR(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=ay(e))&&(r&&(r+=" "),r+=t);return r}export{oR as $,ct as A,LL as B,TL as C,Ua as D,Wy as E,ce as F,je as G,RL as H,dh as I,rb as J,IL as K,mh as L,SL as M,BL as N,Hb as O,we as P,l0 as Q,xL as R,i0 as S,Zt as T,qL as U,Fp as V,HL as W,aR as X,WL as Y,Us as Z,mr as _,PR as a,iR as a$,uR as a0,sR as a1,VL as a2,YL as a3,rT as a4,nT as a5,co as a6,hT as a7,dT as a8,fT as a9,iy as aA,Wp as aB,LR as aC,Vp as aD,OL as aE,EL as aF,_L as aG,AL as aH,PL as aI,Ur as aJ,xp as aK,mR as aL,jp as aM,nt as aN,JL as aO,pR as aP,gR as aQ,cR as aR,yR as aS,KL as aT,Ep as aU,kL as aV,NL as aW,vR as aX,QL as aY,GL as aZ,nR as a_,cT as aa,pT as ab,Gl as ac,yL as ad,mL as ae,hR as af,bR as ag,rr as ah,_R as ai,p0 as aj,bL as ak,Ye as al,MI as am,UL as an,wR as ao,ER as ap,SR as aq,fR as ar,XL as as,CL as at,zL as au,dR as av,ln as aw,ML as ax,_b as ay,lR as az,AR as b,ZL as b0,As as b1,Ls as b2,eR as b3,rR as b4,tR as b5,CR as c,TR as d,IR as e,VI as f,OR as g,ae as h,sh as i,F as j,pe as k,xe as l,Rg as m,gr as n,lr as o,de as p,ke as q,DL as r,Gi as s,gL as t,$L as u,Fs as v,Z as w,wL as x,$n as y,jL as z};
|
|
796
|
+
*/var jd=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,YI=/\\([\u000b\u0020-\u00ff])/g,XI=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,QI=JI;function JI(e){if(!e)throw new TypeError("argument string is required");var t=typeof e=="object"?ZI(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(!XI.test(r))throw new TypeError("invalid media type");var i=new eL(r.toLowerCase());if(n!==-1){var a,o,u;for(jd.lastIndex=n;o=jd.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(YI,"$1"))),i.parameters[a]=u}if(n!==t.length)throw new TypeError("invalid parameter format")}return i}function ZI(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 eL(e){this.parameters=Object.create(null),this.type=e}var Kn=new Map,ay=function(t){return t.cloneNode(!0)},Bd=function(){return window.location.protocol==="file:"},oy=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=QI(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(Bd()?"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||Bd()&&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={},Fd=function(t,n){Jt[t]=Jt[t]||[],Jt[t].push(n)},tL=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,ay(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)},nL=function(t,n,r){if(Kn.has(t)){var i=Kn.get(t);if(i===void 0){Fd(t,r);return}if(i instanceof SVGSVGElement){r(null,ay(i));return}}Kn.set(t,void 0),Fd(t,r),oy(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),tL(t)})},rL=function(t,n,r){oy(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)})},iL=0,aL=function(){return++iL},St=[],Ud={},oL="http://www.w3.org/2000/svg",pu="http://www.w3.org/1999/xlink",xd=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?nL:rL;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+"-"+aL();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"&&!Ud[s])){for(var C=0,R=A.length;C<R;C++)new Function(A[C])(window);Ud[s]=!0}var $=l.querySelectorAll("style");if(Array.prototype.forEach.call($,function(B){B.textContent+=""}),l.setAttribute("xmlns",oL),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)})},uL=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++)xd(t[m],h,g,l,p,c,function(E,O){u(E,O),t&&"length"in t&&t.length===++y&&a(y)});else t?xd(t,h,g,l,p,c,function(E,O){u(E,O),a(1),t=null}):a(0)},sL=function(t){var n=(t==null?void 0:t.ownerDocument)||document;return n.defaultView||window},lL=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},cL=["afterInjection","beforeInjection","desc","evalScripts","fallback","httpRequestWithCredentials","loading","renumerateIRIElements","src","title","useRequestCache","wrapper"],Wi="http://www.w3.org/2000/svg",Hd="http://www.w3.org/1999/xlink",uy=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}VI(t,e);var n=t.prototype;return n.renderSVG=function(){var i=this;if(this.reactWrapper instanceof sL(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",Hd),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)}};uL(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;lL(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=GI(i,cL),c=u;return F(c,ur({},s,{ref:this.refCallback},u==="svg"?{xmlns:Wi,xmlnsXlink:Hd}:{}),this.state.isLoading&&o&&F(o,null),this.state.hasError&&a&&F(a,null))},t}(nt);uy.defaultProps={afterInjection:function(){},beforeInjection:function(){},desc:"",evalScripts:"never",fallback:null,httpRequestWithCredentials:!1,loading:null,onError:function(){},renumerateIRIElements:!0,title:"",useRequestCache:!0,wrapper:"div"};uy.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 sy(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=sy(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function AR(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=sy(e))&&(r&&(r+=" "),r+=t);return r}export{nR as $,ct as A,AL as B,SL as C,Ua as D,Gy as E,ce as F,je as G,TL as H,vh as I,ob as J,PL as K,bh as L,bL as M,ML as N,zb as O,we as P,d0 as Q,jL as R,u0 as S,Zt as T,HL as U,Hp as V,BL as W,tR as X,UL as Y,Hs as Z,mr as _,wR as a,eR as a$,rR as a0,iR as a1,WL as a2,zL as a3,Z5 as a4,J5 as a5,co as a6,cT as a7,sT as a8,uT as a9,uy as aA,Gp as aB,AR as aC,Qp as aD,_L as aE,gL as aF,mL as aG,EL as aH,wL as aI,Ur as aJ,Wp as aK,dR as aL,Up as aM,nt as aN,VL as aO,lR as aP,hR as aQ,oR as aR,pR as aS,FL as aT,Pp as aU,CL as aV,IL as aW,fR as aX,GL as aY,KL as aZ,JL as a_,oT as aa,lT as ab,Yl as ac,pL as ad,dL as ae,cR as af,vR as ag,rr as ah,mR as ai,m0 as aj,vL as ak,Ye as al,LI as am,$L as an,yR as ao,gR as ap,bR as aq,uR as ar,qL as as,OL as at,xL as au,sR as av,ln as aw,LL as ax,Sb as ay,aR as az,ER as b,YL as b0,Cs as b1,ks as b2,XL as b3,ZL as b4,QL as b5,OR as c,SR as d,PR as e,WI as f,_R as g,ae as h,fh as i,F as j,pe as k,xe as l,Mg as m,gr as n,lr as o,de as p,ke as q,RL as r,Gi as s,hL as t,kL as u,xs as v,Z as w,yL as x,$n as y,NL as z};
|