@flarehr/apollo-benefits 1.3.14639 → 1.3.14644

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.
@@ -1,23 +1,23 @@
1
- import{g as cr,c as J,a as nd,i as yl,b as mi}from"./lodash-5d893f8c.js";const Ni={type:null,entityIds:null,skip:!1,payload:null};let Gu=!1;function Iv(){Gu=!1}function Wn(e,t,n){Ke(e,t,n),Gu=!0}function Ke(e,t,n){Gu===!1&&(Ni.type=e,Ni.entityIds=t,Ni.payload=n)}function Lv(e,t){return function(n,r,i){const a=i.value;return i.value=function(...o){return Wn(e,t),a.apply(this,o)},i}}function Kr(e,t){return e.hasOwnProperty(t)}function wt(e){return Array.isArray(e)}function rd(e){return e.hasOwnProperty("active")}function id(e){return wt(e)}function ad({active:e,ids:t,entities:n}){return id(e)?Rv(e,t):Kr(n,e)===!1?null:e}function Rv(e,t){const n=e.filter(r=>t.indexOf(r)>-1);return n.length===e.length?e:n}function kv({state:e,entities:t,idKey:n,options:r={},preAddEntity:i}){let a={},o=[],u=!1;for(const s of t)if(Kr(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 vt(e){return e==null}function Xe(e){return vt(e)?[]:Array.isArray(e)?e:[e]}var Bo=function(e,t){return Bo=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])},Bo(e,t)};function Pt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Bo(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var gl=function(){return gl=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},gl.apply(this,arguments)};function Vu(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 Rt(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function Nv(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 od(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 Xn(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 rn(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 Pn(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 qn(e){return this instanceof qn?(this.v=e,this):new qn(e)}function Mv(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(p){return new Promise(function(m,h){a.push([d,p,m,h])>1||u(d,p)})})}function u(d,p){try{s(r[d](p))}catch(m){l(a[0][3],m)}}function s(d){d.value instanceof qn?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,p){d(p),a.shift(),a.length&&u(a[0][0],a[0][1])}}function Dv(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 Xn=="function"?Xn(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 ce(e){return typeof e=="function"}function ud(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 Qa=ud(function(e){return function(n){e(this),this.message=n?n.length+` errors occurred during unsubscription:
1
+ import{g as cr,c as J,a as rd,i as yl,b as mi}from"./lodash-5d893f8c.js";const Ni={type:null,entityIds:null,skip:!1,payload:null};let Gu=!1;function Lv(){Gu=!1}function Wn(e,t,n){Ke(e,t,n),Gu=!0}function Ke(e,t,n){Gu===!1&&(Ni.type=e,Ni.entityIds=t,Ni.payload=n)}function Rv(e,t){return function(n,r,i){const a=i.value;return i.value=function(...o){return Wn(e,t),a.apply(this,o)},i}}function Kr(e,t){return e.hasOwnProperty(t)}function wt(e){return Array.isArray(e)}function id(e){return e.hasOwnProperty("active")}function ad(e){return wt(e)}function od({active:e,ids:t,entities:n}){return ad(e)?kv(e,t):Kr(n,e)===!1?null:e}function kv(e,t){const n=e.filter(r=>t.indexOf(r)>-1);return n.length===e.length?e:n}function Nv({state:e,entities:t,idKey:n,options:r={},preAddEntity:i}){let a={},o=[],u=!1;for(const s of t)if(Kr(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 vt(e){return e==null}function Xe(e){return vt(e)?[]:Array.isArray(e)?e:[e]}var Bo=function(e,t){return Bo=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])},Bo(e,t)};function Pt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Bo(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var gl=function(){return gl=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},gl.apply(this,arguments)};function Vu(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 Rt(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function Mv(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 ud(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 Xn(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 rn(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 Pn(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 qn(e){return this instanceof qn?(this.v=e,this):new qn(e)}function Dv(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(p){return new Promise(function(m,h){a.push([d,p,m,h])>1||u(d,p)})})}function u(d,p){try{s(r[d](p))}catch(m){l(a[0][3],m)}}function s(d){d.value instanceof qn?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,p){d(p),a.shift(),a.length&&u(a[0][0],a[0][1])}}function $v(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 Xn=="function"?Xn(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 ce(e){return typeof e=="function"}function sd(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 Qa=sd(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 qi(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var ri=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=Xn(o),s=u.next();!s.done;s=u.next()){var c=s.value;c.remove(this)}}catch(h){t={error:h}}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(ce(f))try{f()}catch(h){a=h instanceof Qa?h.errors:[h]}var l=this._finalizers;if(l){this._finalizers=null;try{for(var d=Xn(l),p=d.next();!p.done;p=d.next()){var m=p.value;try{bl(m)}catch(h){a=a??[],h instanceof Qa?a=Pn(Pn([],rn(a)),rn(h.errors)):a.push(h)}}}catch(h){r={error:h}}finally{try{p&&!p.done&&(i=d.return)&&i.call(d)}finally{if(r)throw r.error}}}if(a)throw new Qa(a)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)bl(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)&&qi(n,t)},e.prototype.remove=function(t){var n=this._finalizers;n&&qi(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),sd=ri.EMPTY;function ld(e){return e instanceof ri||e&&"closed"in e&&ce(e.remove)&&ce(e.add)&&ce(e.unsubscribe)}function bl(e){ce(e)?e():e.unsubscribe()}var cd={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Fo={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Fo.delegate;return i!=null&&i.setTimeout?i.setTimeout.apply(i,Pn([e,t],rn(n))):setTimeout.apply(void 0,Pn([e,t],rn(n)))},clearTimeout:function(e){var t=Fo.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function fd(e){Fo.setTimeout(function(){throw e})}function Uo(){}function Mi(e){e()}var Yu=function(e){Pt(t,e);function t(n){var r=e.call(this)||this;return r.isStopped=!1,n?(r.destination=n,ld(n)&&n.add(r)):r.destination=Fv,r}return t.create=function(n,r,i){return new xo(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}(ri),$v=Function.prototype.bind;function Ja(e,t){return $v.call(e,t)}var jv=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){vi(r)}},e.prototype.error=function(t){var n=this.partialObserver;if(n.error)try{n.error(t)}catch(r){vi(r)}else vi(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(n){vi(n)}},e}(),xo=function(e){Pt(t,e);function t(n,r,i){var a=e.call(this)||this,o;if(ce(n)||!n)o={next:n??void 0,error:r??void 0,complete:i??void 0};else{var u;a&&cd.useDeprecatedNextContext?(u=Object.create(n),u.unsubscribe=function(){return a.unsubscribe()},o={next:n.next&&Ja(n.next,u),error:n.error&&Ja(n.error,u),complete:n.complete&&Ja(n.complete,u)}):o=n}return a.destination=new jv(o),a}return t}(Yu);function vi(e){fd(e)}function Bv(e){throw e}var Fv={closed:!0,next:Uo,error:Bv,complete:Uo},Xu=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function fr(e){return e}function Uv(e){return e.length===0?fr:e.length===1?e[0]:function(n){return e.reduce(function(r,i){return i(r)},n)}}var ze=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=Hv(t)?t:new xo(t,n,r);return Mi(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=_l(n),new n(function(i,a){var o=new xo({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[Xu]=function(){return this},e.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return Uv(t)(this)},e.prototype.toPromise=function(t){var n=this;return t=_l(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 _l(e){var t;return(t=e??cd.Promise)!==null&&t!==void 0?t:Promise}function xv(e){return e&&ce(e.next)&&ce(e.error)&&ce(e.complete)}function Hv(e){return e&&e instanceof Yu||xv(e)&&ld(e)}function Kv(e){return ce(e==null?void 0:e.lift)}function ut(e){return function(t){if(Kv(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 qe(e,t,n,r,i){return new zv(e,t,n,r,i)}var zv=function(e){Pt(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}(Yu),Wv=ud(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),$t=function(e){Pt(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 Wv},t.prototype.next=function(n){var r=this;Mi(function(){var i,a;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var o=Xn(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;Mi(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;Mi(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?sd:(this.currentObservers=null,u.push(n),new ri(function(){r.currentObservers=null,qi(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 ze;return n.source=this,n},t.create=function(n,r){return new wl(n,r)},t}(ze),wl=function(e){Pt(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:sd},t}($t),Gi=function(e){Pt(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}($t),Qu={now:function(){return(Qu.delegate||Date).now()},delegate:void 0},dd=function(e){Pt(t,e);function t(n,r,i){n===void 0&&(n=1/0),r===void 0&&(r=1/0),i===void 0&&(i=Qu);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}($t),qv=function(e){Pt(t,e);function t(n,r){return e.call(this)||this}return t.prototype.schedule=function(n,r){return this},t}(ri),Vi={setInterval:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Vi.delegate;return i!=null&&i.setInterval?i.setInterval.apply(i,Pn([e,t],rn(n))):setInterval.apply(void 0,Pn([e,t],rn(n)))},clearInterval:function(e){var t=Vi.delegate;return((t==null?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0},Gv=function(e){Pt(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),Vi.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&&Vi.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,qi(a,this),r!=null&&(this.id=this.recycleAsyncId(i,r,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(qv),El=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=Qu.now,e}(),Vv=function(e){Pt(t,e);function t(n,r){r===void 0&&(r=El.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}(El),wa=new Vv(Gv),Yv=wa,Xv=new ze(function(e){return e.complete()});function pd(e){return e&&ce(e.schedule)}function hd(e){return e[e.length-1]}function Qv(e){return ce(hd(e))?e.pop():void 0}function Ju(e){return pd(hd(e))?e.pop():void 0}var Zu=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function md(e){return ce(e==null?void 0:e.then)}function vd(e){return ce(e[Xu])}function yd(e){return Symbol.asyncIterator&&ce(e==null?void 0:e[Symbol.asyncIterator])}function gd(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 Jv(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var bd=Jv();function _d(e){return ce(e==null?void 0:e[bd])}function wd(e){return Mv(this,arguments,function(){var n,r,i,a;return od(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,qn(n.read())];case 3:return r=o.sent(),i=r.value,a=r.done,a?[4,qn(void 0)]:[3,5];case 4:return[2,o.sent()];case 5:return[4,qn(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 Ed(e){return ce(e==null?void 0:e.getReader)}function xt(e){if(e instanceof ze)return e;if(e!=null){if(vd(e))return Zv(e);if(Zu(e))return ey(e);if(md(e))return ty(e);if(yd(e))return Sd(e);if(_d(e))return ny(e);if(Ed(e))return ry(e)}throw gd(e)}function Zv(e){return new ze(function(t){var n=e[Xu]();if(ce(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function ey(e){return new ze(function(t){for(var n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function ty(e){return new ze(function(t){e.then(function(n){t.closed||(t.next(n),t.complete())},function(n){return t.error(n)}).then(null,fd)})}function ny(e){return new ze(function(t){var n,r;try{for(var i=Xn(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 Sd(e){return new ze(function(t){iy(e,t).catch(function(n){return t.error(n)})})}function ry(e){return Sd(wd(e))}function iy(e,t){var n,r,i,a;return Nv(this,void 0,void 0,function(){var o,u;return od(this,function(s){switch(s.label){case 0:s.trys.push([0,5,6,11]),n=Dv(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 kt(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 Od(e,t){return t===void 0&&(t=0),ut(function(n,r){n.subscribe(qe(r,function(i){return kt(r,e,function(){return r.next(i)},t)},function(){return kt(r,e,function(){return r.complete()},t)},function(i){return kt(r,e,function(){return r.error(i)},t)}))})}function Pd(e,t){return t===void 0&&(t=0),ut(function(n,r){r.add(e.schedule(function(){return n.subscribe(r)},t))})}function ay(e,t){return xt(e).pipe(Pd(t),Od(t))}function oy(e,t){return xt(e).pipe(Pd(t),Od(t))}function uy(e,t){return new ze(function(n){var r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function sy(e,t){return new ze(function(n){var r;return kt(n,t,function(){r=e[bd](),kt(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 ce(r==null?void 0:r.return)&&r.return()}})}function Ad(e,t){if(!e)throw new Error("Iterable cannot be null");return new ze(function(n){kt(n,t,function(){var r=e[Symbol.asyncIterator]();kt(n,t,function(){r.next().then(function(i){i.done?n.complete():n.next(i.value)})},0,!0)})})}function ly(e,t){return Ad(wd(e),t)}function cy(e,t){if(e!=null){if(vd(e))return ay(e,t);if(Zu(e))return uy(e,t);if(md(e))return oy(e,t);if(yd(e))return Ad(e,t);if(_d(e))return sy(e,t);if(Ed(e))return ly(e,t)}throw gd(e)}function dr(e,t){return t?cy(e,t):xt(e)}function es(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Ju(e);return dr(e,n)}function Td(e){return!!e&&(e instanceof ze||ce(e.lift)&&ce(e.subscribe))}function fy(e){return e instanceof Date&&!isNaN(e)}function Ge(e,t){return ut(function(n,r){var i=0;n.subscribe(qe(r,function(a){r.next(e.call(t,a,i++))}))})}var dy=Array.isArray;function py(e,t){return dy(t)?e.apply(void 0,Pn([],rn(t))):e(t)}function Cd(e){return Ge(function(t){return py(e,t)})}var hy=Array.isArray,my=Object.getPrototypeOf,vy=Object.prototype,yy=Object.keys;function gy(e){if(e.length===1){var t=e[0];if(hy(t))return{args:t,keys:null};if(by(t)){var n=yy(t);return{args:n.map(function(r){return t[r]}),keys:n}}}return{args:e,keys:null}}function by(e){return e&&typeof e=="object"&&my(e)===vy}function _y(e,t){return e.reduce(function(n,r,i){return n[r]=t[i],n},{})}function wy(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Ju(e),r=Qv(e),i=gy(e),a=i.args,o=i.keys;if(a.length===0)return dr([],n);var u=new ze(Ey(a,n,o?function(s){return _y(o,s)}:fr));return r?u.pipe(Cd(r)):u}function Ey(e,t,n){return n===void 0&&(n=fr),function(r){Sl(t,function(){for(var i=e.length,a=new Array(i),o=i,u=i,s=function(f){Sl(t,function(){var l=dr(e[f],t),d=!1;l.subscribe(qe(r,function(p){a[f]=p,d||(d=!0,u--),u||r.next(n(a.slice()))},function(){--o||r.complete()}))},r)},c=0;c<i;c++)s(c)},r)}}function Sl(e,t,n){e?kt(n,e,t):t()}function Sy(e,t,n,r,i,a,o,u){var s=[],c=0,f=0,l=!1,d=function(){l&&!s.length&&!c&&t.complete()},p=function(h){return c<r?m(h):s.push(h)},m=function(h){a&&t.next(h),c++;var _=!1;xt(n(h,f++)).subscribe(qe(t,function(b){i==null||i(b),a?p(b):t.next(b)},function(){_=!0},void 0,function(){if(_)try{c--;for(var b=function(){var y=s.shift();o?kt(t,o,function(){return m(y)}):m(y)};s.length&&c<r;)b();d()}catch(y){t.error(y)}}))};return e.subscribe(qe(t,p,function(){l=!0,d()})),function(){u==null||u()}}function Ea(e,t,n){return n===void 0&&(n=1/0),ce(t)?Ea(function(r,i){return Ge(function(a,o){return t(r,a,i,o)})(xt(e(r,i)))},n):(typeof t=="number"&&(n=t),ut(function(r,i){return Sy(r,i,e,n)}))}function Oy(e){return e===void 0&&(e=1/0),Ea(fr,e)}function Py(){return Oy(1)}function Ay(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Py()(dr(e,Ju(e)))}var Ty=["addListener","removeListener"],Cy=["addEventListener","removeEventListener"],Iy=["on","off"];function Ol(e,t,n,r){if(ce(n)&&(r=n,n=void 0),r)return Ol(e,t,n).pipe(Cd(r));var i=rn(ky(e)?Cy.map(function(u){return function(s){return e[u](t,s,n)}}):Ly(e)?Ty.map(Pl(e,t)):Ry(e)?Iy.map(Pl(e,t)):[],2),a=i[0],o=i[1];if(!a&&Zu(e))return Ea(function(u){return Ol(u,t,n)})(xt(e));if(!a)throw new TypeError("Invalid event target");return new ze(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 Pl(e,t){return function(n){return function(r){return e[n](t,r)}}}function Ly(e){return ce(e.addListener)&&ce(e.removeListener)}function Ry(e){return ce(e.on)&&ce(e.off)}function ky(e){return ce(e.addEventListener)&&ce(e.removeEventListener)}function Id(e,t,n){e===void 0&&(e=0),n===void 0&&(n=Yv);var r=-1;return t!=null&&(pd(t)?n=t:r=t),new ze(function(i){var a=fy(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 Sa(e,t){return ut(function(n,r){var i=0;n.subscribe(qe(r,function(a){return e.call(t,a,i++)&&r.next(a)}))})}function Ny(e){return ut(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(qe(n,function(c){r=!0,i=c,a||xt(e(c)).subscribe(a=qe(n,u,s))},function(){o=!0,(!r||!a||a.closed)&&n.complete()}))})}function My(e,t){return t===void 0&&(t=wa),Ny(function(){return Id(e,t)})}function UC(e,t){return t===void 0&&(t=wa),ut(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(qe(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 Ho(e){return e<=0?function(){return Xv}:ut(function(t,n){var r=0;t.subscribe(qe(n,function(i){++r<=e&&(n.next(i),e<=r&&n.complete())}))})}function Dy(){return ut(function(e,t){e.subscribe(qe(t,Uo))})}function $y(e){return Ge(function(){return e})}function Ld(e,t){return t?function(n){return Ay(t.pipe(Ho(1),Dy()),n.pipe(Ld(e)))}:Ea(function(n,r){return xt(e(n,r)).pipe(Ho(1),$y(n))})}function jy(e,t){t===void 0&&(t=wa);var n=Id(e,t);return Ld(function(){return n})}function zr(e,t){return t===void 0&&(t=fr),e=e??By,ut(function(n,r){var i,a=!0;n.subscribe(qe(r,function(o){var u=t(o);(a||!e(i,u))&&(a=!1,i=u,r.next(o))}))})}function By(e,t){return e===t}function xC(){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 Ge(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 Fy(e){return Sa(function(t,n){return e<=n})}function Di(e,t){return ut(function(n,r){var i=null,a=0,o=!1,u=function(){return o&&!i&&r.complete()};n.subscribe(qe(r,function(s){i==null||i.unsubscribe();var c=0,f=a++;xt(e(s,f)).subscribe(i=qe(r,function(l){return r.next(t?t(s,l,f,c++):l)},function(){i=null,u()}))},function(){o=!0,u()}))})}function HC(e,t,n){var r=ce(e)||t||n?{next:e,error:t,complete:n}:e;return r?ut(function(i,a){var o;(o=r.subscribe)===null||o===void 0||o.call(r);var u=!0;i.subscribe(qe(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)}))}):fr}const Uy="id";function At(e){return wt(e)?e.length===0:!1}function Ce(e){return typeof e=="function"}function xy(){return zr((e,t)=>e===t?!0:!wt(e)||!wt(t)?!1:At(e)&&At(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 KC(e){return wy(e).pipe(My(0))}let Rd={resettable:!1,ttl:null,producerFn:void 0};function Al(){return Rd}function Hy(){return Rd.producerFn}function Yi(e){return vt(e)===!1}const kd=new $t,Nd=new dd(50,5e3),Ky=new $t;function zy(e){kd.next(e)}function Wy(e){Nd.next(e)}function qy(e,t){Ky.next({storeName:e,action:t})}const Oa=typeof window<"u",Gy=!Oa,Tl=()=>{try{return typeof localStorage<"u"}catch{return!1}},Vy=()=>{try{return typeof sessionStorage<"u"}catch{return!1}},Et={},Md={};Oa&&(window.$$stores=Et,window.$$queries=Md);var Xi;(function(e){e.ASC="asc",e.DESC="desc"})(Xi||(Xi={}));function Yy(e,t=Xi.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==Xi.DESC?o*-1:o}}function Xy(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}Xe(a).every(m=>m(l,f))&&n.push(l)}if(u){let f=Ce(u)?u:Yy(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 Qy(e,t){const n={},{filterBy:r,limitTo:i}=t,{ids:a,entities:o}=e;if(!r&&!i)return o;const u=vt(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];Xe(r).every(m=>m(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}Xe(r).every(p=>p(l,c))&&(n[f]=l)}}return n}var qt;(function(e){e.Set="Set",e.Add="Add",e.Update="Update",e.Remove="Remove"})(qt||(qt={}));let ns=!0;function zC(){ns=!1,Oa&&(delete window.$$stores,delete window.$$queries)}function Ae(){return ns}function Jy(e,t,n){let r;if(wt(e))r=e;else if(ts(e)){if(vt(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 Zy=()=>({entities:{},ids:[],loading:!0,error:null});function Bn(e){return e===void 0}function eg({state:e,ids:t}){if(vt(t))return tg(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 rd(e)&&(i.active=ad(i)),i}function tg(e){return{...e,entities:{},ids:[],active:id(e.active)?[]:null}}function ng(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 rg(e){return e.entities&&e.ids}function Cl(e,t){let n={};for(const r of Object.keys(e))n[r]=t(e[r]);return n}function ig({state:e,entities:t,idKey:n,preAddEntity:r,isNativePreAdd:i}){let a,o;if(wt(t)){const s=ng(t,n,r);a=s.entities,o=s.ids}else rg(t)?(a=i?t.entities:Cl(t.entities,r),o=t.ids):(a=i?t:Cl(t,r),o=Object.keys(a).map(s=>isNaN(s)?s:Number(s)));const u={...e,entities:a,ids:o,loading:!1};return rd(e)&&(u.active=ad(u)),u}function Dd(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])&&Dd(e[r])}),e}function ag(e,t){e||console.error(`@StoreConfig({ name }) is missing in ${t}`)}function rs(e){return e!=null&&`${e}`!="false"}function Ko(e){return rs(e)&&e.constructor.name==="Object"}const $i="akitaConfig";function WC(e){return function(t){t[$i]={idKey:"id"};for(let n=0,r=Object.keys(e);n<r.length;n++){const i=r[n];i==="name"?t[$i].storeName=e[i]:t[$i][i]=e[i]}}}const og=new $t,$d=new Gi(!1),Zt={activeTransactions:0,batchTransaction:null};function ug(){jd()||(Zt.batchTransaction=new $t),Zt.activeTransactions++,$d.next(!0)}function sg(){--Zt.activeTransactions===0&&(Zt.batchTransaction.next(!0),Zt.batchTransaction.complete(),$d.next(!1),og.next(!0))}function jd(){return Zt.activeTransactions>0}function lg(){return Zt.batchTransaction?Zt.batchTransaction.asObservable():es(!0)}function is(e,t=void 0){ug();try{return e.apply(t)}finally{Wn("@Transaction"),sg()}}function Bd(){return function(e,t,n){const r=n.value;return n.value=function(...i){return is(()=>r.apply(this,i),this)},n}}class cg{constructor(t,n={}){this.options=n,this.inTransaction=!1,this.cache={active:new Gi(!1),ttl:null},this.onInit(t)}setLoading(t=!1){t!==this._value().loading&&(Ae()&&Ke("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&&(Ae()&&Ke("Set Error"),this._setState(n=>({...n,error:t})))}_select(t){return this.store.asObservable().pipe(Ge(n=>t(n.state)),zr())}_value(){return this.storeValue}_cache(){return this.cache.active}get config(){return this.constructor[$i]||{}}get storeName(){return this.config.storeName||this.options.storeName||this.options.name}get deepFreeze(){return this.config.deepFreezeFn||this.options.deepFreezeFn||Dd}get cacheConfig(){return this.config.cache||this.options.cache}get _producerFn(){return this.config.producerFn||this.options.producerFn||Hy()}get resettable(){return Yi(this.config.resettable)?this.config.resettable:this.options.resettable}_setState(t,n=!0){if(Ce(t)){const r=t(this._value());this.storeValue=ns?this.deepFreeze(r):r}else this.storeValue=t;if(!this.store){this.store=new Gi({state:this.storeValue}),Ae()&&this.store.subscribe(({action:r})=>{r&&qy(this.storeName,r)});return}if(jd()){this.handleTransaction();return}this.dispatch(this.storeValue,n)}reset(){this.isResettable()&&(Ae()&&Ke("Reset"),this._setState(()=>Object.assign({},this._initialState)),this.setHasCache(!1))}update(t){Ae()&&Ke("Update");let n;const r=this._value();Ce(t)?n=Ce(this._producerFn)?this._producerFn(r,t):t(r):n=t;const i=this.akitaPreUpdate(r,{...r,...n}),a=Ko(r)?i:new r.constructor(i);this._setState(a)}updateStoreConfig(t){this.options={...this.options,...t}}akitaPreUpdate(t,n){return n}destroy(){!(Oa?window.hmrEnabled:!1)&&this===Et[this.storeName]&&(delete Et[this.storeName],zy(this.storeName),this.setHasCache(!1),this.cache.active.complete(),this.store.complete())}onInit(t){Et[this.storeName]=this,this._setState(()=>t),Wy(this.storeName),this.isResettable()&&(this._initialState=t),Ae()&&ag(this.storeName,this.constructor.name)}dispatch(t,n=!0){let r;n&&(r=Ni,Iv()),this.store.next({state:t,action:r})}watchTransaction(){lg().subscribe(()=>{this.inTransaction=!1,this.dispatch(this._value())})}isResettable(){return this.resettable===!1?!1:this.resettable||Al().resettable}handleTransaction(){this.inTransaction||(this.watchTransaction(),this.inTransaction=!0)}getCacheTTL(){return this.cacheConfig&&this.cacheConfig.ttl||Al().ttl}}function fg({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(Kr(e.entities,d)===!1)continue;const p=e.entities[d];let m;Ce(r)?m=Ce(a)?a(p,r):r(p):m=r;const h=m.hasOwnProperty(n)&&m[n]!==p[n];let _;c=d,h&&(s=!0,c=m[n]);const b={...p,...m};Ko(p)?_=b:Ko(m)?_=new p.constructor(b):_=new m.constructor(b),u[c]=i(p,_)}let f=e.ids,l=e.entities;if(s){const[d]=t,{[d]:p,...m}=e.entities;l=m,f=e.ids.map(h=>h===d?c:h),o(d,c)}return{...e,entities:{...l,...u},ids:f}}var Il;class Qn extends cg{constructor(t={},n={}){super({...Zy(),...t},n),this.options=n,this.entityActions=new $t,this.entityIdChanges=new $t}get selectEntityAction$(){return this.entityActions.asObservable()}get selectEntityIdChanges$(){return this.entityIdChanges.asObservable()}get idKey(){return this.config.idKey||this.options.idKey||Uy}set(t,n={}){if(vt(t))return;Ae()&&Ke("Set Entity");const r=this.akitaPreAddEntity===Qn.prototype.akitaPreAddEntity;this.setHasCache(!0,{restartTTL:!0}),this._setState(i=>{const a=ig({state:i,entities:t,idKey:this.idKey,preAddEntity:this.akitaPreAddEntity.bind(this),isNativePreAdd:r});return Bn(n.activeId)===!1&&(a.active=n.activeId),a}),this.hasInitialUIState()&&this.handleUICreation(),this.entityActions.next({type:qt.Set,ids:this.ids})}add(t,n={loading:!1}){const r=Xe(t);if(At(r))return;const i=kv({state:this._value(),preAddEntity:this.akitaPreAddEntity.bind(this),entities:r,idKey:this.idKey,options:n});i&&(Ae()&&Ke("Add Entity"),i.newState.loading=n.loading,this._setState(()=>i.newState),this.hasInitialUIState()&&this.handleUICreation(!0),this.entityActions.next({type:qt.Add,ids:i.newIds}))}update(t,n){if(Bn(n)){super.update(t);return}let r=[];if(Ce(t)?r=this.ids.filter(a=>t(this.entities[a])):r=vt(t)?this.ids:Xe(t),At(r))return;Ae()&&Ke("Update Entity",r);let i;this._setState(a=>fg({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:qt.Update,ids:r})}upsert(t,n,r,i={}){const a=Xe(t),o=l=>d=>Kr(this.entities,d)===l,u=Ce(r)?i.baseClass:r?r.baseClass:void 0,s=Ce(u),c=a.filter(o(!0)),f=a.filter(o(!1)).map(l=>{const d=typeof n=="function"?n({}):n,m={...Ce(r)?r(l,d):d,[this.idKey]:l};return s?new u(m):m});this.update(c,n),this.add(f),Ae()&&Wn("Upsert Entity")}upsertMany(t,n={}){const r=[],i=[],a={};for(const o of t){const u=this.akitaPreCheckEntity(o),s=u[this.idKey];if(Kr(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),p=d[this.idKey];a[p]=d,i.push(p)}else{const c=n.baseClass?new n.baseClass(u):u,f=this.akitaPreAddEntity(c),l=f[this.idKey];r.push(l),a[l]=f}}Ae()&&Wn("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:qt.Update,ids:i}),r.length&&this.entityActions.next({type:qt.Add,ids:r}),r.length&&this.hasUIStore()&&this.handleUICreation(!0)}replace(t,n){const r=Xe(t);if(At(r))return;const i={};for(const a of r)i[a]={...n,[this.idKey]:a};Ae()&&Ke("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]),Ae()&&Ke("Move Entity"),this._setState(i=>({...i,entities:{...i.entities},ids:r}))}remove(t){if(At(this.ids))return;const n=Yi(t);let r=[];Ce(t)?r=this.ids.filter(i=>t(this.entities[i])):r=n?Xe(t):this.ids,!At(r)&&(Ae()&&Ke("Remove Entity",r),this._setState(i=>eg({state:i,ids:r})),n||this.setHasCache(!1),this.handleUIRemove(r),this.entityActions.next({type:qt.Remove,ids:r}))}updateActive(t){const n=Xe(this.active);Ae()&&Ke("Update Active",n),this.update(n,t)}setActive(t){const n=Jy(t,this.ids,this.active);n!==void 0&&(Ae()&&Ke("Set Active",n),this._setActive(n))}addActive(t){const n=Xe(t);At(n)||n.every(i=>this.active.indexOf(i)>-1)||(Ae()&&Ke("Add Active",t),this._setState(i=>{const a=Array.from(new Set([...i.active,...n]));return{...i,active:a}}))}removeActive(t){const n=Xe(t);At(n)||!n.some(i=>this.active.indexOf(i)>-1)||(Ae()&&Ke("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=Xe(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),Ae()&&Wn("Toggle Active")}createUIStore(t={},n={}){const r={name:`UI/${this.storeName}`,idKey:this.idKey};return this.ui=new Ll(t,{...r,...n}),this.ui}destroy(){super.destroy(),this.ui instanceof Qn&&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=Ce(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=>Bn(this.ui.entities[o])).map(a):i=n.map(a),t?this.ui.add(i):this.ui.set(i)}hasInitialUIState(){return this.hasUIStore()&&Bn(this.ui._akitaCreateEntityFn)===!1}handleUIRemove(t){this.hasUIStore()&&this.ui.remove(t)}hasUIStore(){return this.ui instanceof Ll}}Vu([Bd(),Rt("design:type",Function),Rt("design:paramtypes",[Object,Object,Object,Object]),Rt("design:returntype",void 0)],Qn.prototype,"upsert",null);Vu([Bd(),Rt("design:type",Function),Rt("design:paramtypes",[typeof(Il=typeof T<"u"&&T)=="function"?Il:Object]),Rt("design:returntype",void 0)],Qn.prototype,"toggleActive",null);class Ll extends Qn{constructor(t={},n={}){super(t,n)}setInitialEntityState(t){this._akitaCreateEntityFn=t}}function dg(){return Sa(e=>e!=null)}function pg(e){return function(t,n){const r=Ce(e[0]);return e.some(i=>r?i(t)!==i(n):t[i]!==n[i])===!1}}function Fd(e){return typeof e=="string"}const hg="akitaQueryConfig";class mg{constructor(t){this.store=t,this.__store__=t,Ae()&&(Md[t.storeName]=this)}select(t){let n;if(Ce(t))n=t;else if(Fd(t))n=r=>r[t];else{if(Array.isArray(t))return this.store._select(r=>r).pipe(zr(pg(t)),Ge(r=>Ce(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[hg]}}function vg(e,t){for(const n of Object.keys(t))if(e(t[n])===!0)return n}function Rl(e,t){return function(n){const r=n[e];if(!Bn(r))return t?Fd(t)?r[t]:t(r):r}}function yg(e,t){return e.reduce((n,r,i,a)=>{const o=t(r,i,a);return o!==void 0&&n.push(o),n},[])}function gg(e,t){e.sortBy=e.sortBy||t&&t.sortBy,e.sortByOrder=e.sortByOrder||t&&t.sortByOrder}class bg extends mg{constructor(t,n={}){super(t),this.options=n,this.__store__=t}selectAll(t={asObject:!1}){return this.select(n=>n.entities).pipe(Ge(()=>this.getAll(t)))}getAll(t={asObject:!1,filterBy:void 0,limitTo:void 0}){return t.asObject?Qy(this.getValue(),t):(gg(t,this.config||this.options),Xy(this.getValue(),t))}selectMany(t,n){return!t||!t.length?es([]):this.select(r=>r.entities).pipe(Ge(r=>yg(t,i=>Rl(i,n)(r))),xy())}selectEntity(t,n){let r=t;return Ce(t)&&(r=vg(t,this.getValue().entities)),this.select(i=>i.entities).pipe(Ge(Rl(r,n)),zr())}getEntity(t){return this.getValue().entities[t]}selectActiveId(){return this.select(t=>t.active)}getActiveId(){return this.getValue().active}selectActive(t){return wt(this.getActive())?this.selectActiveId().pipe(Di(n=>this.selectMany(n,t))):this.selectActiveId().pipe(Di(n=>this.selectEntity(n,t)))}getActive(){const t=this.getActiveId();return wt(t)?t.map(n=>this.getValue().entities[n]):rs(t)?this.getEntity(t):void 0}selectCount(t){return this.select(n=>n.entities).pipe(Ge(()=>this.getCount(t)))}getCount(t){return Ce(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(vt(t))return this.store.selectEntityAction$;const n=wt(t)?i=>i:({ids:i})=>i,r=Xe(t);return this.store.selectEntityAction$.pipe(Sa(({type:i})=>r.includes(i)),Ge(i=>n(i)))}hasEntity(t){return vt(t)?this.getValue().ids.length>0:Ce(t)?this.getAll().some(t):wt(t)?t.every(n=>n in this.getValue().entities):t in this.getValue().entities}hasActive(t){const n=this.getValue().active,r=Yi(t);return Array.isArray(n)?r?n.includes(t):n.length>0:r?n===t:Yi(n)}createUIQuery(){this.ui=new _g(this.__store__.ui)}selectAt(t,n){return this.select(r=>r.ids).pipe(Ge(t),zr(),Di(r=>this.selectEntity(r,n)))}}class _g extends bg{constructor(t){super(t)}}function zo(e,t){return t.split(".").length===1?e:t.split(".").slice(1).join(".").split(".").reduce((r,i)=>r&&r[i],e)}function Ud(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 wg=!1;const Eg=new dd(1);function Sg(){return wg}function Og(e){return e&&Ce(e.then)}function Ar(e){return Og(e)||Td(e)?dr(e):es(e)}function qC(e){const t={key:"AkitaStores",enableInNonBrowser:!1,storage:Tl()?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:Sg,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:p}=Object.assign({},t,e);if(Gy&&!r||!n)return;const m=o.length>0,h=u.length>0;let _,b;m&&(_=o.reduce((w,P)=>{if(Ce(P))w.fns.push(P);else{const A=P.split(".")[0];w[A]=P}return w},{fns:[]})),h&&(b=u.reduce((w,P)=>(w[P.storeName]=P,w),{}));let y={};const v={},g=[],E=[];function O(w){Ar(w).subscribe(()=>{const P=E.shift();P&&O(P)})}const S=Tl()&&n===localStorage||Vy()&&n===sessionStorage;return Ar(n.getItem(s)).subscribe(w=>{let P=ts(w)?w:i(w||"{}");function A(j){P.$cache={...P.$cache||{},...j},P=Object.assign({},P,v),E.push(n.setItem(s,S?a(P):P)),O(E.shift())}function L(j,I){y[j]=Et[j]._select(C=>zo(C,I)).pipe(Fy(1),Ge(C=>h&&b[j]?b[j](C):C),Sa(()=>p()===!1),l()).subscribe(C=>{v[j]=c(j,C),Promise.resolve().then(()=>A({[j]:Et[j]._cache().getValue()}))})}function $(j,I,C){if(j in P){Ke("@PersistState"),I._setState(D=>Ud(D,C,d(j,P[j],D)));const R=P.$cache?P.$cache[j]:!1;Et[j].setHasCache(R,{restartTTL:!0})}}g.push(kd.subscribe(j=>{y[j]&&(f===!1&&A({[j]:!1}),y[j].unsubscribe(),delete y[j])})),g.push(Nd.subscribe(j=>{if(j==="router")return;const I=Et[j];if(m){let C=_[j];if(!C)if(_.fns.some(D=>D(j)))C=j;else return;$(j,I,C),L(j,C)}else $(j,I,j),L(j,j)})),Eg.next(!0)}),{destroy(){g.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(vt(w)){Ar(n.setItem(s,"{}")).subscribe();return}const P=n.getItem(s);Ar(P).subscribe(A=>{const L=i(A||"{}");L[w]&&(delete L[w],Ar(n.setItem(s,a(L))).subscribe())})}}}class Pg{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(dg()):n?this.getQuery().select(r=>zo(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?zo(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=>Ud(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 Ag={pagesControls:!1,range:!1,startWith:1,cacheTimeout:void 0,clearStoreWithCache:!0};class Tg extends Pg{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(jy(0)),this.config={...Ag,...n};const{startWith:r,cacheTimeout:i}=this.config;this.page=new Gi(r),Td(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||(Wn("@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(),Bn(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),dr(t()).pipe(Di(r=>(n=r.currentPage,is(()=>{this.setLoading(!1),this.update(r)}),this.selectPage(n)))))}getQuery(){return this.query}refreshCurrentPage(){vt(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(Ho(1),Ge(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=Cg(this.pagination.total,this.pagination.perPage)),r}))}}Vu([Lv("@Pagination - New Page"),Rt("design:type",Function),Rt("design:paramtypes",[Object]),Rt("design:returntype",void 0)],Tg.prototype,"update",null);function Cg(e,t){const n=Math.ceil(e/t),r=[];for(let i=0;i<n;i++)r.push(i+1);return r}function GC(e){e=Object.assign({},{exclude:[]},e);const n=Object.keys(Et);is(()=>{for(const r of n){const i=Et[r];e.exclude?e.exclude.indexOf(i.storeName)===-1&&i.reset():i.reset()}})}var Wo;(function(e){e.Update="UPDATE"})(Wo||(Wo={}));Wo.Update+"";var Tt;(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"})(Tt||(Tt={}));Tt.Update+"",Tt.AddEntities+"",Tt.SetEntities+"",Tt.UpdateEntities+"",Tt.RemoveEntities+"",Tt.UpsertEntities+"",Tt.UpsertManyEntities+"";const Ig="modulepreload",Lg=function(e){return"/benefits/app/"+e},kl={},VC=function(t,n,r){if(!n||n.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(n.map(a=>{if(a=Lg(a),a in kl)return;kl[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":Ig,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 ii,G,xd,mn,Nl,Hd,qo,Kd,Gn={},zd=[],Rg=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Pa=Array.isArray;function Lt(e,t){for(var n in t)e[n]=t[n];return e}function Wd(e){var t=e.parentNode;t&&t.removeChild(e)}function B(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?ii.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 Dr(e,o,r,i,null)}function Dr(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??++xd};return i==null&&G.vnode!=null&&G.vnode(a),a}function Wr(){return{current:null}}function be(e){return e.children}function at(e,t){this.props=e,this.context=t}function qr(e,t){if(t==null)return e.__?qr(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__d||n.__e;return typeof e.type=="function"?qr(e):null}function qd(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 qd(e)}}function Go(e){(!e.__d&&(e.__d=!0)&&mn.push(e)&&!Qi.__r++||Nl!==G.debounceRendering)&&((Nl=G.debounceRendering)||Hd)(Qi)}function Qi(){var e,t,n,r,i,a,o,u,s;for(mn.sort(qo);e=mn.shift();)e.__d&&(t=mn.length,r=void 0,i=void 0,a=void 0,u=(o=(n=e).__v).__e,(s=n.__P)&&(r=[],i=[],(a=Lt({},o)).__v=o.__v+1,as(s,o,a,n.__n,s.ownerSVGElement!==void 0,o.__h!=null?[u]:null,r,u??qr(o),o.__h,i),Xd(r,o,i),o.__e!=u&&qd(o)),mn.length>t&&mn.sort(qo));Qi.__r=0}function Gd(e,t,n,r,i,a,o,u,s,c,f){var l,d,p,m,h,_,b,y,v,g=0,E=r&&r.__k||zd,O=E.length,S=O,w=t.length;for(n.__k=[],l=0;l<w;l++)(m=n.__k[l]=(m=t[l])==null||typeof m=="boolean"||typeof m=="function"?null:typeof m=="string"||typeof m=="number"||typeof m=="bigint"?Dr(null,m,null,null,m):Pa(m)?Dr(be,{children:m},null,null,null):m.__b>0?Dr(m.type,m.props,m.key,m.ref?m.ref:null,m.__v):m)!=null?(m.__=n,m.__b=n.__b+1,(y=kg(m,E,b=l+g,S))===-1?p=Gn:(p=E[y]||Gn,E[y]=void 0,S--),as(e,m,p,i,a,o,u,s,c,f),h=m.__e,(d=m.ref)&&p.ref!=d&&(p.ref&&os(p.ref,null,m),f.push(d,m.__c||h,m)),h!=null&&(_==null&&(_=h),(v=p===Gn||p.__v===null)?y==-1&&g--:y!==b&&(y===b+1?g++:y>b?S>w-b?g+=y-b:g--:g=y<b&&y==b-1?y-b:0),b=l+g,typeof m.type!="function"||y===b&&p.__k!==m.__k?typeof m.type=="function"||y===b&&!v?m.__d!==void 0?(s=m.__d,m.__d=void 0):s=h.nextSibling:s=Yd(e,h,s):s=Vd(m,s,e),typeof n.type=="function"&&(n.__d=s))):(p=E[l])&&p.key==null&&p.__e&&(p.__e==s&&(p.__=r,s=qr(p)),Vo(p,p,!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),Vo(E[l],E[l]))}function Vd(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"?Vd(r,t,n):Yd(n,r.__e,t));return t}function pt(e,t){return t=t||[],e==null||typeof e=="boolean"||(Pa(e)?e.some(function(n){pt(n,t)}):t.push(e)),t}function Yd(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 kg(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 Ng(e,t,n,r,i){var a;for(a in n)a==="children"||a==="key"||a in t||Ji(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]||Ji(e,a,t[a],n[a],r)}function Ml(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||Rg.test(t)?n:n+"px"}function Ji(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||Ml(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Ml(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?$l:Dl,a)):e.removeEventListener(t,a?$l:Dl,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 Dl(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 $l(e){return this.l[e.type+!0](G.event?G.event(e):e)}function as(e,t,n,r,i,a,o,u,s,c){var f,l,d,p,m,h,_,b,y,v,g,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(b=t.props,y=(f=P.contextType)&&r[f.__c],v=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(b,v):(t.__c=l=new at(b,v),l.constructor=P,l.render=Dg),y&&y.sub(l),l.props=b,l.state||(l.state={}),l.context=v,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=Lt({},l.__s)),Lt(l.__s,P.getDerivedStateFromProps(b,l.__s))),p=l.props,m=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&&b!==p&&l.componentWillReceiveProps!=null&&l.componentWillReceiveProps(b,v),!l.__e&&(l.shouldComponentUpdate!=null&&l.shouldComponentUpdate(b,l.__s,v)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(l.props=b,l.state=l.__s,l.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(A){A&&(A.__=t)}),g=0;g<l._sb.length;g++)l.__h.push(l._sb[g]);l._sb=[],l.__h.length&&o.push(l);break e}l.componentWillUpdate!=null&&l.componentWillUpdate(b,l.__s,v),l.componentDidUpdate!=null&&l.__h.push(function(){l.componentDidUpdate(p,m,h)})}if(l.context=v,l.props=b,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=Lt(Lt({},r),l.getChildContext())),d||l.getSnapshotBeforeUpdate==null||(h=l.getSnapshotBeforeUpdate(p,m)),Gd(e,Pa(w=f!=null&&f.type===be&&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=Mg(n.__e,t,n,r,i,a,o,s,c);(f=G.diffed)&&f(t)}function Xd(e,t,n){for(var r=0;r<n.length;r++)os(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 Mg(e,t,n,r,i,a,o,u,s){var c,f,l,d=n.props,p=t.props,m=t.type,h=0;if(m==="svg"&&(i=!0),a!=null){for(;h<a.length;h++)if((c=a[h])&&"setAttribute"in c==!!m&&(m?c.localName===m:c.nodeType===3)){e=c,a[h]=null;break}}if(e==null){if(m===null)return document.createTextNode(p);e=i?document.createElementNS("http://www.w3.org/2000/svg",m):document.createElement(m,p.is&&p),a=null,u=!1}if(m===null)d===p||u&&e.data===p||(e.data=p);else{if(a=a&&ii.call(e.childNodes),f=(d=n.props||Gn).dangerouslySetInnerHTML,l=p.dangerouslySetInnerHTML,!u){if(a!=null)for(d={},h=0;h<e.attributes.length;h++)d[e.attributes[h].name]=e.attributes[h].value;(l||f)&&(l&&(f&&l.__html==f.__html||l.__html===e.innerHTML)||(e.innerHTML=l&&l.__html||""))}if(Ng(e,p,d,i,u),l)t.__k=[];else if(Gd(e,Pa(h=t.props.children)?h:[h],t,n,r,i&&m!=="foreignObject",a,o,a?a[0]:n.__k&&qr(n,0),u,s),a!=null)for(h=a.length;h--;)a[h]!=null&&Wd(a[h]);u||("value"in p&&(h=p.value)!==void 0&&(h!==e.value||m==="progress"&&!h||m==="option"&&h!==d.value)&&Ji(e,"value",h,d.value,!1),"checked"in p&&(h=p.checked)!==void 0&&h!==e.checked&&Ji(e,"checked",h,d.checked,!1))}return e}function os(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){G.__e(r,n)}}function Vo(e,t,n){var r,i;if(G.unmount&&G.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||os(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]&&Vo(r[i],t,n||typeof e.type!="function");n||e.__e==null||Wd(e.__e),e.__=e.__e=e.__d=void 0}function Dg(e,t,n){return this.constructor(e,n)}function Jn(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=[],as(t,e=(!r&&n||t).__k=B(be,null,[e]),i||Gn,Gn,t.ownerSVGElement!==void 0,!r&&n?[n]:i?null:t.firstChild?ii.call(t.childNodes):null,a,!r&&n?n:i?i.__e:t.firstChild,r,o),Xd(a,e,o)}function us(e,t){Jn(e,t,us)}function Qd(e,t,n){var r,i,a,o,u=Lt({},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?ii.call(arguments,2):n),Dr(e.type,u,r||e.key,i||e.ref,null)}function De(e,t){var n={__c:t="__cC"+Kd++,__: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,Go(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}ii=zd.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}},xd=0,at.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Lt({},this.state),typeof e=="function"&&(e=e(Lt({},n),this.props)),e&&Lt(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Go(this))},at.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Go(this))},at.prototype.render=be,mn=[],Hd=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,qo=function(e,t){return e.__v.__b-t.__v.__b},Qi.__r=0,Kd=0;var jt,he,Za,jl,Zn=0,Jd=[],ji=[],Bl=G.__b,Fl=G.__r,Ul=G.diffed,xl=G.__c,Hl=G.unmount;function Ln(e,t){G.__h&&G.__h(he,e,Zn||t),Zn=0;var n=he.__H||(he.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:ji}),n.__[e]}function Ue(e){return Zn=1,Rn(np,e)}function Rn(e,t,n){var r=Ln(jt++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):np(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 p=d.__[0];d.__=d.__N,d.__N=void 0,p!==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=Ln(jt++,3);!G.__s&&ss(n.__H,t)&&(n.__=e,n.i=t,he.__H.__h.push(n))}function kn(e,t){var n=Ln(jt++,4);!G.__s&&ss(n.__H,t)&&(n.__=e,n.i=t,he.__h.push(n))}function ne(e){return Zn=5,le(function(){return{current:e}},[])}function Zd(e,t,n){Zn=6,kn(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 le(e,t){var n=Ln(jt++,7);return ss(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function Yt(e,t){return Zn=8,le(function(){return e},t)}function Le(e){var t=he.context[e.__c],n=Ln(jt++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(he)),t.props.value):e.__}function ep(e,t){G.useDebugValue&&G.useDebugValue(t?t(e):e)}function $g(e){var t=Ln(jt++,10),n=Ue();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 tp(){var e=Ln(jt++,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 jg(){for(var e;e=Jd.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Bi),e.__H.__h.forEach(Yo),e.__H.__h=[]}catch(t){e.__H.__h=[],G.__e(t,e.__v)}}G.__b=function(e){he=null,Bl&&Bl(e)},G.__r=function(e){Fl&&Fl(e),jt=0;var t=(he=e.__c).__H;t&&(Za===he?(t.__h=[],he.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=ji,n.__N=n.i=void 0})):(t.__h.forEach(Bi),t.__h.forEach(Yo),t.__h=[],jt=0)),Za=he},G.diffed=function(e){Ul&&Ul(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Jd.push(t)!==1&&jl===G.requestAnimationFrame||((jl=G.requestAnimationFrame)||Bg)(jg)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==ji&&(n.__=n.__V),n.i=void 0,n.__V=ji})),Za=he=null},G.__c=function(e,t){t.some(function(n){try{n.__h.forEach(Bi),n.__h=n.__h.filter(function(r){return!r.__||Yo(r)})}catch(r){t.some(function(i){i.__h&&(i.__h=[])}),t=[],G.__e(r,n.__v)}}),xl&&xl(e,t)},G.unmount=function(e){Hl&&Hl(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{Bi(r)}catch(i){t=i}}),n.__H=void 0,t&&G.__e(t,n.__v))};var Kl=typeof requestAnimationFrame=="function";function Bg(e){var t,n=function(){clearTimeout(r),Kl&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Kl&&(t=requestAnimationFrame(n))}function Bi(e){var t=he,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),he=t}function Yo(e){var t=he;e.__c=e.__(),he=t}function ss(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function np(e,t){return typeof t=="function"?t(e):t}let $n;const Fg=(e,t)=>{if($n=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;$n=!0,t.preventDefault(),t=n.href.replace(location.origin,"")}else typeof t=="string"?$n=!0:t=location.pathname+location.search;return $n===!0?history.pushState(null,"",t):$n===!1&&history.replaceState(null,"",t),t};function rp(e){const[t,n]=Rn(Fg,e.url||location.pathname+location.search),r=$n===!0,i=le(()=>{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 kn(()=>(addEventListener("click",n),addEventListener("popstate",n),()=>{removeEventListener("click",n),removeEventListener("popstate",n)}),[]),B(rp.ctx.Provider,{value:i},e.children)}Promise.resolve();rp.ctx=De({});De({});const zl=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)}zl&&zl(e,t,n)};let Wl;function YC(e,t){if(typeof window>"u")return;let n=document.querySelector("script[type=isodata]");t=t||n&&n.parentNode||document.body,!Wl&&n?us(e,t):Jn(e,t),Wl=!0}function ip(e,t){for(var n in t)e[n]=t[n];return e}function Xo(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 eo(e,t){return e===t&&(e!==0||1/e==1/t)||e!=e&&t!=t}function Zi(e){this.props=e}function ap(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:Xo(this.props,i)}function r(i){return this.shouldComponentUpdate=n,B(e,i)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Zi.prototype=new at).isPureReactComponent=!0,Zi.prototype.shouldComponentUpdate=function(e,t){return Xo(this.props,e)||Xo(this.state,t)};var ql=G.__b;G.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),ql&&ql(e)};var Ug=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function pe(e){function t(n){var r=ip({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=Ug,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Gl=function(e,t){return e==null?null:pt(pt(e).map(t))},op={map:Gl,forEach:Gl,count:function(e){return e?pt(e).length:0},only:function(e){var t=pt(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:pt},xg=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)}xg(e,t,n,r)};var Vl=G.unmount;function up(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=ip({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return up(r,t,n)})),e}function sp(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return sp(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 $r(){this.__u=0,this.t=null,this.__b=null}function lp(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function cp(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 B(n,a)}return i.displayName="Lazy",i.__f=!0,i}function Fn(){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),Vl&&Vl(e)},($r.prototype=new at).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var i=lp(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]=sp(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)},$r.prototype.componentWillUnmount=function(){this.t=[]},$r.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]=up(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&B(be,null,e.fallback);return i&&(i.__h=null),[B(be,null,t.__a?null:e.children),i]};var Yl=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 Hg(e){return this.getChildContext=function(){return e.context},e.children}function Kg(e){var t=this,n=e.i;t.componentWillUnmount=function(){Jn(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)}}),Jn(B(Hg,{context:t.context},e.__v),t.l)}function ls(e,t){var n=B(Kg,{__v:e,i:t});return n.containerInfo=t,n}(Fn.prototype=new at).__a=function(e){var t=this,n=lp(t.__v),r=t.o.get(e);return r[0]++,function(i){var a=function(){t.props.revealOrder?(r.push(i),Yl(t,e,r)):i()};n?n(a):a()}},Fn.prototype.render=function(e){this.u=null,this.o=new Map;var t=pt(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},Fn.prototype.componentDidUpdate=Fn.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){Yl(e,n,t)})};var fp=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,zg=/^(?: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]/,Wg=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,qg=/[A-Z0-9]/g,Gg=typeof document<"u",Vg=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function dp(e,t,n){return t.__k==null&&(t.textContent=""),Jn(e,t),typeof n=="function"&&n(),e?e.__c:null}function pp(e,t,n){return us(e,t),typeof n=="function"&&n(),e?e.__c:null}at.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(at.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Xl=G.event;function Yg(){}function Xg(){return this.cancelBubble}function Qg(){return this.defaultPrevented}G.event=function(e){return Xl&&(e=Xl(e)),e.persist=Yg,e.isPropagationStopped=Xg,e.isDefaultPrevented=Qg,e.nativeEvent=e};var cs,Jg={enumerable:!1,configurable:!0,get:function(){return this.class}},Ql=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||Gg&&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"||Vg(n.type)?u==="onfocus"?a="onfocusin":u==="onblur"?a="onfocusout":Wg.test(a)?a=u:r.indexOf("-")===-1&&zg.test(a)?a=a.replace(qg,"-$&").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=pt(n.children).forEach(function(s){s.props.selected=i.value.indexOf(s.props.value)!=-1})),r=="select"&&i.defaultValue!=null&&(i.value=pt(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",Jg)):(n.className&&!n.class||n.class&&n.className)&&(i.class=i.className=n.className),t.props=i}(e),e.$$typeof=fp,Ql&&Ql(e)};var Jl=G.__r;G.__r=function(e){Jl&&Jl(e),cs=e.__c};var Zl=G.diffed;G.diffed=function(e){Zl&&Zl(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),cs=null};var hp={ReactCurrentDispatcher:{current:{readContext:function(e){return cs.__n[e.__c].props.value}}}},Zg="17.0.2";function mp(e){return B.bind(null,e)}function pr(e){return!!e&&e.$$typeof===fp}function vp(e){return pr(e)&&e.type===be}function fs(e){return pr(e)?Qd.apply(null,arguments):e}function yp(e){return!!e.__k&&(Jn(null,e),!0)}function gp(e){return e&&(e.base||e.nodeType===1&&e)||null}var bp=function(e,t){return e(t)},_p=function(e,t){return e(t)},wp=be;function ds(e){e()}function Ep(e){return e}function Sp(){return[!1,ds]}var Op=kn,Pp=pr;function Ap(e,t){var n=t(),r=Ue({h:{__:n,v:t}}),i=r[0].h,a=r[1];return kn(function(){i.__=n,i.v=t,eo(i.__,t())||a({h:i})},[e,n,t]),de(function(){return eo(i.__,i.v())||a({h:i}),e(function(){eo(i.__,i.v())||a({h:i})})},[e]),n}var Z={useState:Ue,useId:tp,useReducer:Rn,useEffect:de,useLayoutEffect:kn,useInsertionEffect:Op,useTransition:Sp,useDeferredValue:Ep,useSyncExternalStore:Ap,startTransition:ds,useRef:ne,useImperativeHandle:Zd,useMemo:le,useCallback:Yt,useContext:Le,useDebugValue:ep,version:"17.0.2",Children:op,render:dp,hydrate:pp,unmountComponentAtNode:yp,createPortal:ls,createElement:B,createContext:De,createFactory:mp,cloneElement:fs,createRef:Wr,Fragment:be,isValidElement:pr,isElement:Pp,isFragment:vp,findDOMNode:gp,Component:at,PureComponent:Zi,memo:ap,forwardRef:pe,flushSync:_p,unstable_batchedUpdates:bp,StrictMode:wp,Suspense:$r,SuspenseList:Fn,lazy:cp,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:hp};const er=Object.freeze(Object.defineProperty({__proto__:null,Children:op,Component:at,Fragment:be,PureComponent:Zi,StrictMode:wp,Suspense:$r,SuspenseList:Fn,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:hp,cloneElement:fs,createContext:De,createElement:B,createFactory:mp,createPortal:ls,createRef:Wr,default:Z,findDOMNode:gp,flushSync:_p,forwardRef:pe,hydrate:pp,isElement:Pp,isFragment:vp,isValidElement:pr,lazy:cp,memo:ap,render:dp,startTransition:ds,unmountComponentAtNode:yp,unstable_batchedUpdates:bp,useCallback:Yt,useContext:Le,useDebugValue:ep,useDeferredValue:Ep,useEffect:de,useErrorBoundary:$g,useId:tp,useImperativeHandle:Zd,useInsertionEffect:Op,useLayoutEffect:kn,useMemo:le,useReducer:Rn,useRef:ne,useState:Ue,useSyncExternalStore:Ap,useTransition:Sp,version:Zg},Symbol.toStringTag,{value:"Module"}));var Tp={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(g){var E=["MSIE ","Trident/","Edge/"];return new RegExp(E.join("|")).test(g)}var f=c(r.navigator.userAgent)?1:0;function l(g,E){this.scrollLeft=g,this.scrollTop=E}function d(g){return .5*(1-Math.cos(Math.PI*g))}function p(g){if(g===null||typeof g!="object"||g.behavior===void 0||g.behavior==="auto"||g.behavior==="instant")return!0;if(typeof g=="object"&&g.behavior==="smooth")return!1;throw new TypeError("behavior member of ScrollOptions "+g.behavior+" is not a valid value for enumeration ScrollBehavior.")}function m(g,E){if(E==="Y")return g.clientHeight+f<g.scrollHeight;if(E==="X")return g.clientWidth+f<g.scrollWidth}function h(g,E){var O=r.getComputedStyle(g,null)["overflow"+E];return O==="auto"||O==="scroll"}function _(g){var E=m(g,"Y")&&h(g,"Y"),O=m(g,"X")&&h(g,"X");return E||O}function b(g){for(;g!==i.body&&_(g)===!1;)g=g.parentNode||g.host;return g}function y(g){var E=s(),O,S,w,P=(E-g.startTime)/o;P=P>1?1:P,O=d(P),S=g.startX+(g.x-g.startX)*O,w=g.startY+(g.y-g.startY)*O,g.method.call(g.scrollable,S,w),(S!==g.x||w!==g.y)&&r.requestAnimationFrame(y.bind(r,g))}function v(g,E,O){var S,w,P,A,L=s();g===i.body?(S=r,w=r.scrollX||r.pageXOffset,P=r.scrollY||r.pageYOffset,A=u.scroll):(S=g,w=g.scrollLeft,P=g.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(p(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}v.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(p(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}v.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(p(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 g=arguments[0].left,E=arguments[0].top;v.call(this,this,typeof g>"u"?this.scrollLeft:~~g,typeof E>"u"?this.scrollTop:~~E)}},a.prototype.scrollBy=function(){if(arguments[0]!==void 0){if(p(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(p(arguments[0])===!0){u.scrollIntoView.call(this,arguments[0]===void 0?!0:arguments[0]);return}var g=b(this),E=g.getBoundingClientRect(),O=this.getBoundingClientRect();g!==i.body?(v.call(this,g,g.scrollLeft+O.left-E.left,g.scrollTop+O.top-E.top),r.getComputedStyle(g).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}})()})(Tp);var e0=Tp.exports;const XC=cr(e0);function QC(e,t){return t=t||{},new Promise(function(n,r){var i=new XMLHttpRequest,a=[],o=[],u={},s=function(){return{ok:(i.status/100|0)==2,statusText:i.statusText,status:i.status,url:i.responseURL,text:function(){return Promise.resolve(i.responseText)},json:function(){return Promise.resolve(i.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([i.response]))},clone:s,headers:{keys:function(){return a},entries:function(){return o},get:function(f){return u[f.toLowerCase()]},has:function(f){return f.toLowerCase()in u}}}};for(var c in i.open(t.method||"get",e,!0),i.onload=function(){i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(f,l,d){a.push(l=l.toLowerCase()),o.push([l,d]),u[l]=u[l]?u[l]+","+d:d}),n(s())},i.onerror=r,i.withCredentials=t.credentials=="include",t.headers)i.setRequestHeader(c,t.headers[c]);i.send(t.body||null)})}var ec=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function t0(e,t){return!!(e===t||ec(e)&&ec(t))}function n0(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!t0(e[n],t[n]))return!1;return!0}function JC(e,t){t===void 0&&(t=n0);var n,r=[],i,a=!1;function o(){for(var u=[],s=0;s<arguments.length;s++)u[s]=arguments[s];return a&&n===this&&t(u,r)||(i=e.apply(this,u),a=!0,n=this,r=u),i}return o}var r0=function(t,n,r,i){var a=r?r.call(i,t,n):void 0;if(a!==void 0)return!!a;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var o=Object.keys(t),u=Object.keys(n);if(o.length!==u.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(n),c=0;c<o.length;c++){var f=o[c];if(!s(f))return!1;var l=t[f],d=n[f];if(a=r?r.call(i,l,d,f):void 0,a===!1||a===void 0&&l!==d)return!1}return!0};const ZC=cr(r0);globalThis&&globalThis.__spreadArray;function i0(e){return e}function a0(e){return function(){return e}}var o0=a0(void 0);function eI(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 u0=function(e){return e._tag==="Some"},s0={_tag:"None"},l0=function(e){return{_tag:"Some",value:e}},ps=s0,Cp=l0,tI=function(e){return function(t){return Aa(t)?ps:Cp(e(t.value))}},nI=u0,Aa=function(e){return e._tag==="None"},c0=function(e,t){return function(n){return Aa(n)?e():t(n.value)}},Ip=c0,rI=Ip,f0=function(e){return function(t){return Aa(t)?e():t.value}},iI=f0,d0=function(e){return e==null?ps:Cp(e)},aI=function(e){return function(t){return Aa(t)?ps:d0(e(t.value))}},oI=Ip(o0,i0);function ea(){return ea=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ea.apply(this,arguments)}var Un;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Un||(Un={}));var tc=function(e){return e},nc="beforeunload",p0="hashchange",h0="popstate";function uI(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=ac(r.location.hash.substr(1)),P=w.pathname,A=P===void 0?"/":P,L=w.search,$=L===void 0?"":L,j=w.hash,I=j===void 0?"":j,C=i.state||{};return[C.idx,tc({pathname:A,search:$,hash:I,state:C.usr||null,key:C.key||"default"})]}var o=null;function u(){if(o)p.call(o),o=null;else{var w=Un.Pop,P=a(),A=P[0],L=P[1];if(p.length){if(A!=null){var $=f-A;$&&(o={action:w,location:L,retry:function(){O($*-1)}},O($))}}else v(w)}}r.addEventListener(h0,u),r.addEventListener(p0,function(){var w=a(),P=w[1];to(P)!==to(l)&&u()});var s=Un.Pop,c=a(),f=c[0],l=c[1],d=ic(),p=ic();f==null&&(f=0,i.replaceState(ea({},i.state,{idx:f}),""));function m(){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 h(w){return m()+"#"+(typeof w=="string"?w:to(w))}function _(w,P){return P===void 0&&(P=null),tc(ea({pathname:l.pathname,hash:"",search:""},typeof w=="string"?ac(w):w,{state:P,key:m0()}))}function b(w,P){return[{usr:w.state,key:w.key,idx:P},h(w)]}function y(w,P,A){return!p.length||(p.call({action:w,location:P,retry:A}),!1)}function v(w){s=w;var P=a();f=P[0],l=P[1],d.call({action:s,location:l})}function g(w,P){var A=Un.Push,L=_(w,P);function $(){g(w,P)}if(y(A,L,$)){var j=b(L,f+1),I=j[0],C=j[1];try{i.pushState(I,"",C)}catch{r.location.assign(C)}v(A)}}function E(w,P){var A=Un.Replace,L=_(w,P);function $(){E(w,P)}if(y(A,L,$)){var j=b(L,f),I=j[0],C=j[1];i.replaceState(I,"",C),v(A)}}function O(w){i.go(w)}var S={get action(){return s},get location(){return l},createHref:h,push:g,replace:E,go:O,back:function(){O(-1)},forward:function(){O(1)},listen:function(P){return d.push(P)},block:function(P){var A=p.push(P);return p.length===1&&r.addEventListener(nc,rc),function(){A(),p.length||r.removeEventListener(nc,rc)}}};return S}function rc(e){e.preventDefault(),e.returnValue=""}function ic(){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 m0(){return Math.random().toString(36).substr(2,8)}function to(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 ac(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 v0={};function Lp(e,t){for(var n in t)e[n]=t[n];return e}function Rp(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=Qo(e.replace(r,"")),t=Qo(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,""),p=(t[l].match(/[+*?]+$/)||v0)[0]||"",m=~p.indexOf("+"),h=~p.indexOf("*"),_=e[l]||"";if(!_&&!h&&(p.indexOf("?")<0||m)){o=!1;break}if(a[d]=decodeURIComponent(_),m||h){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 y0(e,t){return e.rank<t.rank?1:e.rank>t.rank?-1:e.index-t.index}function g0(e,t){return e.index=t,e.rank=w0(e),e.props}function Qo(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")}function b0(e){return e.charAt(0)==":"?1+"*+?".indexOf(e.charAt(e.length-1))||4:5}function _0(e){return Qo(e).map(b0).join("")}function w0(e){return e.props.default?0:_0(e.props.path)}var Qe=null,_n=[],Jo=[],E0={};function S0(e,t){t===void 0&&(t="push"),Qe&&Qe[t]?Qe[t](e):typeof history<"u"&&history[t+"State"]&&history[t+"State"](null,null,e)}function hs(){var e;return Qe&&Qe.location?e=Qe.location:Qe&&Qe.getCurrentLocation?e=Qe.getCurrentLocation():e=typeof location<"u"?location:E0,""+(e.pathname||"")+(e.search||"")}function kp(e,t){return t===void 0&&(t=!1),typeof e!="string"&&e.url&&(t=e.replace,e=e.url),O0(e)&&S0(e,t?"replace":"push"),Np(e)}function O0(e){for(var t=_n.length;t--;)if(_n[t].canRoute(e))return!0;return!1}function Np(e){for(var t=!1,n=0;n<_n.length;n++)_n[n].routeTo(e)===!0&&(t=!0);for(var r=Jo.length;r--;)Jo[r](e);return t}function Mp(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 kp(t)}}function P0(e){if(!(e.ctrlKey||e.metaKey||e.altKey||e.shiftKey||e.button!==0))return Mp(e.currentTarget||e.target||this),Dp(e)}function Dp(e){return e&&(e.stopImmediatePropagation&&e.stopImmediatePropagation(),e.stopPropagation&&e.stopPropagation(),e.preventDefault()),!1}function A0(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(Mp(t))return Dp(e)}while(t=t.parentNode)}}var oc=!1;function T0(){oc||(typeof addEventListener=="function"&&(Qe||addEventListener("popstate",function(){Np(hs())}),addEventListener("click",A0)),oc=!0)}var an=function(e){function t(n){e.call(this,n),n.history&&(Qe=n.history),this.state={url:n.url||hs()},T0()}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=pt(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(){_n.push(this),this.updating=!0},t.prototype.componentDidMount=function(){var r=this;Qe&&(this.unlisten=Qe.listen(function(i){r.routeTo(""+(i.pathname||"")+(i.search||""))})),this.updating=!1},t.prototype.componentWillUnmount=function(){typeof this.unlisten=="function"&&this.unlisten(),_n.splice(_n.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(g0).sort(y0).map(function(o){var u=Rp(i,o.props.path,o.props);if(u){if(a!==!1){var s={url:i,matches:u};return Lp(s,u),delete s.ref,delete s.key,Qd(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(pt(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}(at),C0=function(e){return B("a",Lp({onClick:P0},e))},I0=function(e){return B(e.component,e)};an.subscribers=Jo;an.getCurrentUrl=hs;an.route=kp;an.Router=an;an.Route=I0;an.Link=C0;an.exec=Rp;const L0="application/json",$p="Content-Type",Nn=Symbol(),jp=Symbol();function uc(e={}){var t;return(t=Object.entries(e).find(([n])=>n.toLowerCase()===$p.toLowerCase()))===null||t===void 0?void 0:t[1]}function sc(e){return/^application\/.*json.*/.test(e)}const wn=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]=wn(o,a,n):r[i]=a,r},{...e})},tr={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 R0(e,t=!1){tr.options=t?e:wn(tr.options,e)}function k0(e,t=!1){tr.polyfills=t?e:wn(tr.polyfills,e)}function N0(e){tr.errorType=e}const M0=e=>t=>e.reduceRight((n,r)=>r(n),t)||t;class Bp extends Error{}const D0=e=>{const t=Object.create(null);e=e._addons.reduce((v,g)=>g.beforeRequest&&g.beforeRequest(v,e._options,t)||v,e);const{_url:n,_options:r,_config:i,_catchers:a,_resolvers:o,_middlewares:u,_addons:s}=e,c=new Map(a),f=wn(i.options,r);let l=n;const d=M0(u)((v,g)=>(l=v,i.polyfill("fetch")(v,g)))(n,f),p=new Error,m=d.catch(v=>{throw{[Nn]:v}}).then(v=>{if(!v.ok){const g=new Bp;if(g.cause=p,g.stack=g.stack+`
4
- CAUSE: `+p.stack,g.response=v,g.url=l,v.type==="opaque")throw g;return v.text().then(E=>{var O;if(g.message=E,i.errorType==="json"||((O=v.headers.get("Content-Type"))===null||O===void 0?void 0:O.split(";")[0])==="application/json")try{g.json=JSON.parse(E)}catch{}throw g.text=E,g.status=v.status,g})}return v}),h=v=>v.catch(g=>{const E=g.hasOwnProperty(Nn),O=E?g[Nn]:g,S=(O==null?void 0:O.status)&&c.get(O.status)||c.get(O==null?void 0:O.name)||E&&c.has(Nn)&&c.get(Nn);if(S)return S(O,e);const w=c.get(jp);if(w)return w(O,e);throw O}),_=v=>g=>h(v?m.then(E=>E&&E[v]()).then(E=>g?g(E):E):m.then(E=>g?g(E):E)),b={_wretchReq:e,_fetchReq:d,_sharedState:t,res:_(null),json:_("json"),blob:_("blob"),formData:_("formData"),arrayBuffer:_("arrayBuffer"),text:_("text"),error(v,g){return c.set(v,g),this},badRequest(v){return this.error(400,v)},unauthorized(v){return this.error(401,v)},forbidden(v){return this.error(403,v)},notFound(v){return this.error(404,v)},timeout(v){return this.error(408,v)},internalError(v){return this.error(500,v)},fetchError(v){return this.error(Nn,v)}},y=s.reduce((v,g)=>({...v,...typeof g.resolver=="function"?g.resolver(v):g.resolver}),b);return o.reduce((v,g)=>g(v,e),y)},$0={_url:"",_options:{},_config:tr,_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:wn(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:wn(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:wn(this._options,{headers:t})}},accept(e){return this.headers({Accept:e})},content(e){return this.headers({[$p]: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(jp,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=uc(r._options.headers),a=this._config.polyfill("FormData",!1),o=typeof n=="object"&&!(a&&n instanceof a)&&(!r._options.headers||!i||sc(i));return r=n?o?r.json(n,i):r.body(n):r,D0(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=uc(this._options.headers);return this.content(t||sc(n)&&n||L0).body(JSON.stringify(e))}};function nr(e="",t={}){return{...$0,_url:e,_options:t}}nr.default=nr;nr.options=R0;nr.errorType=N0;nr.polyfills=k0;nr.WretchError=Bp;var j0=0;function sI(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:--j0,__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 st={};(function(e){var t=J&&J.__spreadArray||function(S,w,P){if(P||arguments.length===2)for(var A=0,L=w.length,$;A<L;A++)($||!(A in w))&&($||($=Array.prototype.slice.call(w,0,A)),$[A]=w[A]);return S.concat($||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,$,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 $(L(A(P(w(S.apply(this,arguments))))))};case 7:return function(){return j($(L(A(P(w(S.apply(this,arguments)))))))};case 8:return function(){return I(j($(L(A(P(w(S.apply(this,arguments))))))))};case 9:return function(){return C(I(j($(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 p(S){return S+1}e.increment=p;function m(S){return S-1}e.decrement=m;function h(S){throw new Error("Called `absurd` function which should be uncallable")}e.absurd=h;function _(S){return function(w){return S.apply(void 0,w)}}e.tupled=_;function b(S){return function(){for(var w=[],P=0;P<arguments.length;P++)w[P]=arguments[P];return S(w)}}e.untupled=b;function y(S,w,P,A,L,$,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 $(L(A(P(w(S)))));case 7:return j($(L(A(P(w(S))))));case 8:return I(j($(L(A(P(w(S)))))));case 9:return C(I(j($(L(A(P(w(S))))))));default:{for(var R=arguments[0],D=1;D<arguments.length;D++)R=arguments[D](R);return R}}}e.pipe=y,e.hole=h;var v=function(S,w){return w};e.SK=v;function g(S){return function(w){return!S(w)}}e.not=g;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})(st);function ct(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 rr(e){return!!e&&!!e[Ze]}function An(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)===W0}(e)||Array.isArray(e)||!!e[vc]||!!(!((t=e.constructor)===null||t===void 0)&&t[vc])||ms(e)||vs(e))}function Gr(e,t,n){n===void 0&&(n=!1),hr(e)===0?(n?Object.keys:ws)(e).forEach(function(r){n&&typeof r=="symbol"||t(r,e[r],e)}):e.forEach(function(r,i){return t(i,r,e)})}function hr(e){var t=e[Ze];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:ms(e)?2:vs(e)?3:0}function Zo(e,t){return hr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function B0(e,t){return hr(e)===2?e.get(t):e[t]}function Fp(e,t,n){var r=hr(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function F0(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function ms(e){return K0&&e instanceof Map}function vs(e){return z0&&e instanceof Set}function pn(e){return e.o||e.t}function ys(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=q0(e);delete t[Ze];for(var n=ws(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 gs(e,t){return t===void 0&&(t=!1),bs(e)||rr(e)||!An(e)||(hr(e)>1&&(e.set=e.add=e.clear=e.delete=U0),Object.freeze(e),t&&Gr(e,function(n,r){return gs(r,!0)},!0)),e}function U0(){ct(2)}function bs(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Ot(e){var t=G0[e];return t||ct(18,e),t}function lc(){return Vr}function no(e,t){t&&(Ot("Patches"),e.u=[],e.s=[],e.v=t)}function ta(e){eu(e),e.p.forEach(x0),e.p=null}function eu(e){e===Vr&&(Vr=e.l)}function cc(e){return Vr={p:[],l:Vr,h:e,m:!0,_:0}}function x0(e){var t=e[Ze];t.i===0||t.i===1?t.j():t.g=!0}function ro(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.O||Ot("ES5").S(t,e,r),r?(n[Ze].P&&(ta(t),ct(4)),An(e)&&(e=na(t,e),t.l||ra(t,e)),t.u&&Ot("Patches").M(n[Ze].t,e,t.u,t.s)):e=na(t,n,[]),ta(t),t.u&&t.v(t.u,t.s),e!==Up?e:void 0}function na(e,t,n){if(bs(t))return t;var r=t[Ze];if(!r)return Gr(t,function(u,s){return fc(e,r,t,u,s,n)},!0),t;if(r.A!==e)return t;if(!r.P)return ra(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=r.i===4||r.i===5?r.o=ys(r.k):r.o,a=i,o=!1;r.i===3&&(a=new Set(i),i.clear(),o=!0),Gr(a,function(u,s){return fc(e,r,i,u,s,n,o)}),ra(e,i,!1),n&&e.u&&Ot("Patches").N(r,n,e.u,e.s)}return r.o}function fc(e,t,n,r,i,a,o){if(rr(i)){var u=na(e,i,a&&t&&t.i!==3&&!Zo(t.R,r)?a.concat(r):void 0);if(Fp(n,r,u),!rr(u))return;e.m=!1}else o&&n.add(i);if(An(i)&&!bs(i)){if(!e.h.D&&e._<1)return;na(e,i),t&&t.A.l||ra(e,i)}}function ra(e,t,n){n===void 0&&(n=!1),!e.l&&e.h.D&&e.m&&gs(t,n)}function io(e,t){var n=e[Ze];return(n?pn(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 tu(e){e.P||(e.P=!0,e.l&&tu(e.l))}function ao(e){e.o||(e.o=ys(e.t))}function nu(e,t,n){var r=ms(t)?Ot("MapSet").F(t,n):vs(t)?Ot("MapSet").T(t,n):e.O?function(i,a){var o=Array.isArray(i),u={i:o?1:0,A:a?a.A:lc(),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=kr);var f=Proxy.revocable(s,c),l=f.revoke,d=f.proxy;return u.k=d,u.j=l,d}(t,n):Ot("ES5").J(t,n);return(n?n.A:lc()).p.push(r),r}function H0(e){return rr(e)||ct(22,e),function t(n){if(!An(n))return n;var r,i=n[Ze],a=hr(n);if(i){if(!i.P&&(i.i<4||!Ot("ES5").K(i)))return i.t;i.I=!0,r=pc(n,a),i.I=!1}else r=pc(n,a);return Gr(r,function(o,u){i&&B0(i.t,o)===u||Fp(r,o,t(u))}),a===3?new Set(r):r}(e)}function pc(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return ys(e)}var hc,Vr,_s=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",K0=typeof Map<"u",z0=typeof Set<"u",mc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Up=_s?Symbol.for("immer-nothing"):((hc={})["immer-nothing"]=!0,hc),vc=_s?Symbol.for("immer-draftable"):"__$immer_draftable",Ze=_s?Symbol.for("immer-state"):"__$immer_state",W0=""+Object.prototype.constructor,ws=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,q0=Object.getOwnPropertyDescriptors||function(e){var t={};return ws(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t},G0={},ru={get:function(e,t){if(t===Ze)return e;var n=pn(e);if(!Zo(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||!An(r)?r:r===io(e.t,t)?(ao(e),e.o[t]=nu(e.A.h,r,e)):r},has:function(e,t){return t in pn(e)},ownKeys:function(e){return Reflect.ownKeys(pn(e))},set:function(e,t,n){var r=dc(pn(e),t);if(r!=null&&r.set)return r.set.call(e.k,n),!0;if(!e.P){var i=io(pn(e),t),a=i==null?void 0:i[Ze];if(a&&a.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(F0(n,i)&&(n!==void 0||Zo(e.t,t)))return!0;ao(e),tu(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 io(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,ao(e),tu(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=pn(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty:function(){ct(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){ct(12)}},kr={};Gr(ru,function(e,t){kr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),kr.deleteProperty=function(e,t){return kr.set.call(this,e,t,void 0)},kr.set=function(e,t,n){return ru.set.call(this,e[0],t,n,e[0])};var V0=function(){function e(n){var r=this;this.O=mc,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(h){var _=this;h===void 0&&(h=u);for(var b=arguments.length,y=Array(b>1?b-1:0),v=1;v<b;v++)y[v-1]=arguments[v];return s.produce(h,function(g){var E;return(E=a).call.apply(E,[_,g].concat(y))})}}var c;if(typeof a!="function"&&ct(6),o!==void 0&&typeof o!="function"&&ct(7),An(i)){var f=cc(r),l=nu(r,i,void 0),d=!0;try{c=a(l),d=!1}finally{d?ta(f):eu(f)}return typeof Promise<"u"&&c instanceof Promise?c.then(function(h){return no(f,o),ro(h,f)},function(h){throw ta(f),h}):(no(f,o),ro(c,f))}if(!i||typeof i!="object"){if((c=a(i))===void 0&&(c=i),c===Up&&(c=void 0),r.D&&gs(c,!0),o){var p=[],m=[];Ot("Patches").M(i,c,p,m),o(p,m)}return c}ct(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(p){return i.apply(void 0,[p].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){An(n)||ct(8),rr(n)&&(n=H0(n));var r=cc(this),i=nu(this,n,void 0);return i[Ze].C=!0,eu(r),i},t.finishDraft=function(n,r){var i=n&&n[Ze],a=i.A;return no(a,r),ro(void 0,a)},t.setAutoFreeze=function(n){this.D=n},t.setUseProxies=function(n){n&&!mc&&ct(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=Ot("Patches").$;return rr(n)?o(n,r):this.produce(n,function(u){return o(u,r)})},e}(),et=new V0,lI=et.produce;et.produceWithPatches.bind(et);et.setAutoFreeze.bind(et);et.setUseProxies.bind(et);et.applyPatches.bind(et);et.createDraft.bind(et);et.finishDraft.bind(et);var Y0={},ir={},xe={},mr={};(function(e){var t=J&&J.__spreadArray||function(S,w,P){if(P||arguments.length===2)for(var A=0,L=w.length,$;A<L;A++)($||!(A in w))&&($||($=Array.prototype.slice.call(w,0,A)),$[A]=w[A]);return S.concat($||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=st,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 p=function(S){return S.slice(1)};e.tail=p,e.emptyReadonlyArray=[],e.emptyRecord={},e.has=Object.prototype.hasOwnProperty;var m=function(S){return t([S[0]],S.slice(1),!0)};e.fromReadonlyNonEmptyArray=m;var h=function(S){return function(w,P){return function(){for(var A=[],L=0;L<arguments.length;L++)A[L]=arguments[L];var $=w.apply(void 0,A);return S.fromEither($==null?(0,e.left)(P.apply(void 0,A)):(0,e.right)($))}}};e.liftNullable=h;var _=function(S){return function(w,P){return function(){for(var A=[],L=0;L<arguments.length;L++)A[L]=arguments[L];var $=w.apply(void 0,A);return S.fromEither((0,e.isNone)($)?(0,e.left)(P.apply(void 0,A)):(0,e.right)($.value))}}};e.liftOption=_;var b=function(S,w){return(0,n.dual)(3,function(P,A,L){return w.flatMap(P,(0,e.liftNullable)(S)(A,L))})};e.flatMapNullable=b;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 v=function(S,w){return(0,n.dual)(2,function(P,A){return w.flatMap(P,function(L){return S.fromEither(A(L))})})};e.flatMapEither=v;var g=function(S,w){return(0,n.dual)(2,function(P,A){return w.flatMap(P,function(L){return S.fromIO(A(L))})})};e.flatMapIO=g;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})(mr);var X0=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]}),Q0=J&&J.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),J0=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)&&X0(t,e,n);return Q0(t,e),t};Object.defineProperty(xe,"__esModule",{value:!0});xe.sequenceS=xe.sequenceT=xe.getApplySemigroup=xe.apS=xe.apSecond=xe.apFirst=xe.ap=void 0;var Z0=st,eb=J0(mr);function tb(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)}}}xe.ap=tb;function nb(e){return function(t){return function(n){return e.ap(e.map(n,function(r){return function(){return r}}),t)}}}xe.apFirst=nb;function rb(e){return function(t){return function(n){return e.ap(e.map(n,function(){return function(r){return r}}),t)}}}xe.apSecond=rb;function ib(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)}}}xe.apS=ib;function ab(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)}}}}xe.getApplySemigroup=ab;function Es(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):Es(e,t-1,i)}}var oo={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 ob(e){return eb.has.call(oo,e)||(oo[e]=Es(Z0.tuple,e-1,[])),oo[e]}function ub(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=t.length,i=ob(r),a=e.map(t[0],i),o=1;o<r;o++)a=e.ap(a,t[o]);return a}}xe.sequenceT=ub;function sb(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 Es(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 lb(e){return function(t){for(var n=Object.keys(t),r=n.length,i=sb(n),a=e.map(t[n[0]],i),o=1;o<r;o++)a=e.ap(a,t[n[o]]);return a}}xe.sequenceS=lb;var Fe={};Object.defineProperty(Fe,"__esModule",{value:!0});Fe.asUnit=Fe.as=Fe.getFunctorComposition=Fe.let=Fe.bindTo=Fe.flap=Fe.map=void 0;var cb=st;function xp(e,t){return function(n){return function(r){return e.map(r,function(i){return t.map(i,n)})}}}Fe.map=xp;function fb(e){return function(t){return function(n){return e.map(n,function(r){return r(t)})}}}Fe.flap=fb;function db(e){return function(t){return function(n){return e.map(n,function(r){var i;return i={},i[t]=r,i})}}}Fe.bindTo=db;function pb(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))})}}}Fe.let=pb;function hb(e,t){var n=xp(e,t);return{map:function(r,i){return(0,cb.pipe)(r,n(i))}}}Fe.getFunctorComposition=hb;function Hp(e){return function(t,n){return e.map(t,function(){return n})}}Fe.as=Hp;function mb(e){var t=Hp(e);return function(n){return t(n,void 0)}}Fe.asUnit=mb;Object.defineProperty(ir,"__esModule",{value:!0});ir.getApplicativeComposition=ir.getApplicativeMonoid=void 0;var Kp=xe,vb=st,yb=Fe;function gb(e){var t=(0,Kp.getApplySemigroup)(e);return function(n){return{concat:t(n).concat,empty:e.of(n.empty)}}}ir.getApplicativeMonoid=gb;function bb(e,t){var n=(0,yb.getFunctorComposition)(e,t).map,r=(0,Kp.ap)(e,t);return{map:n,of:function(i){return e.of(t.of(i))},ap:function(i,a){return(0,vb.pipe)(i,r(a))}}}ir.getApplicativeComposition=bb;var Nt={};Object.defineProperty(Nt,"__esModule",{value:!0});Nt.bind=Nt.tap=Nt.chainFirst=void 0;function _b(e){var t=zp(e);return function(n){return function(r){return t(r,n)}}}Nt.chainFirst=_b;function zp(e){return function(t,n){return e.chain(t,function(r){return e.map(n(r),function(){return r})})}}Nt.tap=zp;function wb(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))})})}}}Nt.bind=wb;var Te={},Eb=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]}),Sb=J&&J.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Ob=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)&&Eb(t,e,n);return Sb(t,e),t};Object.defineProperty(Te,"__esModule",{value:!0});Te.tapEither=Te.filterOrElse=Te.chainFirstEitherK=Te.chainEitherK=Te.fromEitherK=Te.chainOptionK=Te.fromOptionK=Te.fromPredicate=Te.fromOption=void 0;var Pb=Nt,Wp=st,En=Ob(mr);function qp(e){return function(t){return function(n){return e.fromEither(En.isNone(n)?En.left(t()):En.right(n.value))}}}Te.fromOption=qp;function Ab(e){return function(t,n){return function(r){return e.fromEither(t(r)?En.right(r):En.left(n(r)))}}}Te.fromPredicate=Ab;function Gp(e){var t=qp(e);return function(n){var r=t(n);return function(i){return(0,Wp.flow)(i,r)}}}Te.fromOptionK=Gp;function Tb(e,t){var n=Gp(e);return function(r){var i=n(r);return function(a){return function(o){return t.chain(o,i(a))}}}}Te.chainOptionK=Tb;function Ss(e){return function(t){return(0,Wp.flow)(t,e.fromEither)}}Te.fromEitherK=Ss;function Cb(e,t){var n=Ss(e);return function(r){return function(i){return t.chain(i,n(r))}}}Te.chainEitherK=Cb;function Ib(e,t){var n=Vp(e,t);return function(r){return function(i){return n(i,r)}}}Te.chainFirstEitherK=Ib;function Lb(e,t){return function(n,r){return function(i){return t.chain(i,function(a){return e.fromEither(n(a)?En.right(a):En.left(r(a)))})}}}Te.filterOrElse=Lb;function Vp(e,t){var n=Ss(e),r=(0,Pb.tap)(t);return function(i,a){return r(i,n(a))}}Te.tapEither=Vp;var Yp={};(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=st,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(p){return d(p)||l(p)}}};e.or=c;var f=function(l){return function(d){return function(p){return d(p)&&l(p)}}};e.and=f})(Yp);var Xp={},it={};Object.defineProperty(it,"__esModule",{value:!0});it.concatAll=it.endo=it.filterSecond=it.filterFirst=it.reverse=void 0;var Rb=function(e){return{concat:function(t,n){return e.concat(n,t)}}};it.reverse=Rb;var kb=function(e){return function(t){return{concat:function(n,r){return e(n)?t.concat(n,r):r}}}};it.filterFirst=kb;var Nb=function(e){return function(t){return{concat:function(n,r){return e(r)?t.concat(n,r):n}}}};it.filterSecond=Nb;var Mb=function(e){return function(t){return{concat:function(n,r){return t.concat(e(n),e(r))}}}};it.endo=Mb;var Db=function(e){return function(t){return function(n){return n.reduce(function(r,i){return e.concat(r,i)},t)}}};it.concatAll=Db;var Qp={},Jp={};(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=st,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 p in f)if(!f[p].equals(l[p],d[p]))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,p){return f.every(function(m,h){return m.equals(d[h],p[h])})})};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,p){return l.equals(f(d),f(p))})}};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,p){return f.equals(d,p)&&l.equals(d,p)})}}};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()}}})(Jp);(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=Jp,n=st,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 p=function(O){return function(S,w){return O.compare(S,w)===1}};e.gt=p;var m=function(O){return function(S,w){return O.compare(S,w)!==1}};e.leq=m;var h=function(O){return function(S,w){return O.compare(S,w)!==-1}};e.geq=h;var _=function(O){return function(S,w){return S===w||O.compare(S,w)<1?S:w}};e.min=_;var b=function(O){return function(S,w){return S===w||O.compare(S,w)>-1?S:w}};e.max=b;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 v=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=v,e.getTupleOrd=e.tuple,e.getDualOrd=e.reverse,e.ord=e.Contravariant;function g(O,S){return O<S?-1:O>S?1:0}var E={equals:t.eqStrict.equals,compare:g};e.ordBoolean=E,e.ordString=E,e.ordNumber=E,e.ordDate=(0,n.pipe)(e.ordNumber,(0,e.contramap)(function(O){return O.valueOf()}))})(Qp);(function(e){var t=J&&J.__createBinding||(Object.create?function(y,v,g,E){E===void 0&&(E=g);var O=Object.getOwnPropertyDescriptor(v,g);(!O||("get"in O?!v.__esModule:O.writable||O.configurable))&&(O={enumerable:!0,get:function(){return v[g]}}),Object.defineProperty(y,E,O)}:function(y,v,g,E){E===void 0&&(E=g),y[E]=v[g]}),n=J&&J.__setModuleDefault||(Object.create?function(y,v){Object.defineProperty(y,"default",{enumerable:!0,value:v})}:function(y,v){y.default=v}),r=J&&J.__importStar||function(y){if(y&&y.__esModule)return y;var v={};if(y!=null)for(var g in y)g!=="default"&&Object.prototype.hasOwnProperty.call(y,g)&&t(v,y,g);return n(v,y),v};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=st,a=r(mr),o=r(it),u=r(Qp),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(v,g){var E={};for(var O in y)a.has.call(y,O)&&(E[O]=y[O].concat(v[O],g[O]));return E}}};e.struct=l;var d=function(){for(var y=[],v=0;v<arguments.length;v++)y[v]=arguments[v];return{concat:function(g,E){return y.map(function(O,S){return O.concat(g[S],E[S])})}}};e.tuple=d;var p=function(y){return function(v){return{concat:function(g,E){return v.concat(g,v.concat(y,E))}}}};e.intercalate=p;var m=function(){return{concat:i.identity}};e.first=m;var h=function(){return{concat:function(y,v){return v}}};e.last=h,e.concatAll=o.concatAll,e.semigroupVoid=(0,e.constant)(void 0);var _=function(){return{concat:function(y,v){return Object.assign({},y,v)}}};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 b(y){var v=(0,e.concatAll)(y);return function(g,E){return E===void 0?v(g):v(g)(E)}}e.fold=b,e.semigroupAll={concat:function(y,v){return y&&v}},e.semigroupAny={concat:function(y,v){return y||v}},e.getFunctionSemigroup=i.getSemigroup,e.semigroupString={concat:function(y,v){return y+v}},e.semigroupSum={concat:function(y,v){return y+v}},e.semigroupProduct={concat:function(y,v){return y*v}}})(Xp);var Zp={};(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=st,n=Fe,r=function(d,p){return{left:d,right:p}};e.separated=r;var i=function(d,p){return(0,t.pipe)(d,(0,e.map)(p))},a=function(d,p){return(0,t.pipe)(d,(0,e.mapLeft)(p))},o=function(d,p,m){return(0,t.pipe)(d,(0,e.bimap)(p,m))},u=function(d){return function(p){return(0,e.separated)((0,e.left)(p),d((0,e.right)(p)))}};e.map=u;var s=function(d){return function(p){return(0,e.separated)(d((0,e.left)(p)),(0,e.right)(p))}};e.mapLeft=s;var c=function(d,p){return function(m){return(0,e.separated)(d((0,e.left)(m)),p((0,e.right)(m)))}};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})(Zp);var en={},$b=J&&J.__createBinding||(Object.create?function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]}),jb=J&&J.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Bb=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)&&$b(t,e,n);return jb(t,e),t};Object.defineProperty(en,"__esModule",{value:!0});en.filterE=en.witherDefault=en.wiltDefault=void 0;var yc=Bb(mr);function Fb(e,t){return function(n){var r=e.traverse(n);return function(i,a){return n.map(r(i,a),t.separate)}}}en.wiltDefault=Fb;function Ub(e,t){return function(n){var r=e.traverse(n);return function(i,a){return n.map(r(i,a),t.compact)}}}en.witherDefault=Ub;function xb(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?yc.some(a):yc.none})})}}}}en.filterE=xb;var Ta={};Object.defineProperty(Ta,"__esModule",{value:!0});Ta.guard=void 0;function Hb(e,t){return function(n){return n?t.of(void 0):e.zero()}}Ta.guard=Hb;(function(e){var t=J&&J.__createBinding||(Object.create?function(k,M,K,Pe){Pe===void 0&&(Pe=K);var Ye=Object.getOwnPropertyDescriptor(M,K);(!Ye||("get"in Ye?!M.__esModule:Ye.writable||Ye.configurable))&&(Ye={enumerable:!0,get:function(){return M[K]}}),Object.defineProperty(k,Pe,Ye)}:function(k,M,K,Pe){Pe===void 0&&(Pe=K),k[Pe]=M[K]}),n=J&&J.__setModuleDefault||(Object.create?function(k,M){Object.defineProperty(k,"default",{enumerable:!0,value:M})}:function(k,M){k.default=M}),r=J&&J.__importStar||function(k){if(k&&k.__esModule)return k;var M={};if(k!=null)for(var K in k)K!=="default"&&Object.prototype.hasOwnProperty.call(k,K)&&t(M,k,K);return n(M,k),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=ir,a=xe,o=r(Nt),u=Te,s=st,c=Fe,f=r(mr),l=Yp,d=Xp,p=Zp,m=en,h=Ta;e.none=f.none,e.some=f.some;function _(k){return function(M){return k(M)?(0,e.some)(M):e.none}}e.fromPredicate=_;var b=function(k){return k._tag==="Right"?e.none:(0,e.some)(k.left)};e.getLeft=b;var y=function(k){return k._tag==="Left"?e.none:(0,e.some)(k.right)};e.getRight=y;var v=function(k,M){return(0,s.pipe)(k,(0,e.map)(M))},g=function(k,M){return(0,s.pipe)(k,(0,e.ap)(M))},E=function(k,M,K){return(0,s.pipe)(k,(0,e.reduce)(M,K))},O=function(k){var M=(0,e.foldMap)(k);return function(K,Pe){return(0,s.pipe)(K,M(Pe))}},S=function(k,M,K){return(0,s.pipe)(k,(0,e.reduceRight)(M,K))},w=function(k){var M=(0,e.traverse)(k);return function(K,Pe){return(0,s.pipe)(K,M(Pe))}},P=function(k,M){return(0,s.pipe)(k,(0,e.alt)(M))},A=function(k,M){return(0,s.pipe)(k,(0,e.filter)(M))},L=function(k,M){return(0,s.pipe)(k,(0,e.filterMap)(M))},$=function(k,M){return(0,s.pipe)(k,(0,e.extend)(M))},j=function(k,M){return(0,s.pipe)(k,(0,e.partition)(M))},I=function(k,M){return(0,s.pipe)(k,(0,e.partitionMap)(M))};e.URI="Option";var C=function(k){return{show:function(M){return(0,e.isNone)(M)?"none":"some(".concat(k.show(M.value),")")}}};e.getShow=C;var R=function(k){return{equals:function(M,K){return M===K||((0,e.isNone)(M)?(0,e.isNone)(K):(0,e.isNone)(K)?!1:k.equals(M.value,K.value))}}};e.getEq=R;var D=function(k){return{equals:(0,e.getEq)(k).equals,compare:function(M,K){return M===K?0:(0,e.isSome)(M)?(0,e.isSome)(K)?k.compare(M.value,K.value):1:-1}}};e.getOrd=D;var F=function(k){return{concat:function(M,K){return(0,e.isNone)(M)?K:(0,e.isNone)(K)?M:(0,e.some)(k.concat(M.value,K.value))},empty:e.none}};e.getMonoid=F;var Y=function(k){return function(M){return(0,e.isNone)(M)?e.none:(0,e.some)(k(M.value))}};e.map=Y,e.Functor={URI:e.URI,map:v},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 q=function(k){return function(M){return(0,e.isNone)(M)||(0,e.isNone)(k)?e.none:(0,e.some)(M.value(k.value))}};e.ap=q,e.Apply={URI:e.URI,map:v,ap:g},e.Applicative={URI:e.URI,map:v,ap:g,of:e.of},e.flatMap=(0,s.dual)(2,function(k,M){return(0,e.isNone)(k)?e.none:M(k.value)}),e.Chain={URI:e.URI,map:v,ap:g,chain:e.flatMap},e.Monad={URI:e.URI,map:v,ap:g,of:e.of,chain:e.flatMap};var X=function(k,M){return function(K){return(0,e.isNone)(K)?k:M(k,K.value)}};e.reduce=X;var x=function(k){return function(M){return function(K){return(0,e.isNone)(K)?k.empty:M(K.value)}}};e.foldMap=x;var U=function(k,M){return function(K){return(0,e.isNone)(K)?k:M(K.value,k)}};e.reduceRight=U,e.Foldable={URI:e.URI,reduce:E,foldMap:O,reduceRight:S},e.orElse=(0,s.dual)(2,function(k,M){return(0,e.isNone)(k)?M():k}),e.altW=e.orElse,e.alt=e.orElse,e.Alt={URI:e.URI,map:v,alt:P};var W=function(){return e.none};e.zero=W,e.Zero={URI:e.URI,zero:e.zero},e.guard=(0,h.guard)(e.Zero,e.Pointed),e.Alternative={URI:e.URI,map:v,ap:g,of:e.of,alt:P,zero:e.zero};var H=function(k){return function(M){return(0,e.isNone)(M)?e.none:(0,e.some)(k(M))}};e.extend=H,e.Extend={URI:e.URI,map:v,extend:$},e.compact=(0,e.flatMap)(s.identity);var re=(0,p.separated)(e.none,e.none),fe=function(k){return(0,e.isNone)(k)?re:(0,p.separated)((0,e.getLeft)(k.value),(0,e.getRight)(k.value))};e.separate=fe,e.Compactable={URI:e.URI,compact:e.compact,separate:e.separate};var ie=function(k){return function(M){return(0,e.isNone)(M)?e.none:k(M.value)?M:e.none}};e.filter=ie;var Q=function(k){return function(M){return(0,e.isNone)(M)?e.none:k(M.value)}};e.filterMap=Q;var ae=function(k){return function(M){return(0,p.separated)(A(M,(0,l.not)(k)),A(M,k))}};e.partition=ae;var oe=function(k){return(0,s.flow)((0,e.map)(k),e.separate)};e.partitionMap=oe,e.Filterable={URI:e.URI,map:v,compact:e.compact,separate:e.separate,filter:A,filterMap:L,partition:j,partitionMap:I};var Ee=function(k){return function(M){return function(K){return(0,e.isNone)(K)?k.of(e.none):k.map(M(K.value),e.some)}}};e.traverse=Ee;var fn=function(k){return function(M){return(0,e.isNone)(M)?k.of(e.none):k.map(M.value,e.some)}};e.sequence=fn,e.Traversable={URI:e.URI,map:v,reduce:E,foldMap:O,reduceRight:S,traverse:w,sequence:e.sequence};var $e=(0,m.witherDefault)(e.Traversable,e.Compactable),Pr=(0,m.wiltDefault)(e.Traversable,e.Compactable),Ya=function(k){var M=$e(k);return function(K){return function(Pe){return M(Pe,K)}}};e.wither=Ya;var Xa=function(k){var M=Pr(k);return function(K){return function(Pe){return M(Pe,K)}}};e.wilt=Xa,e.Witherable={URI:e.URI,map:v,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:$e,wilt:Pr};var dv=function(){return e.none};e.throwError=dv,e.MonadThrow={URI:e.URI,map:v,ap:g,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 pv=function(k){return k._tag==="None"};e.isNone=pv;var hv=function(k,M){return function(K){return(0,e.isNone)(K)?k():M(K.value)}};e.matchW=hv,e.foldW=e.matchW,e.match=e.matchW,e.fold=e.match;var mv=function(k){return function(M){return(0,e.isNone)(M)?k():M.value}};e.getOrElseW=mv,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 vv=function(k){return k==null?e.none:(0,e.some)(k)};e.fromNullable=vv;var yv=function(k){try{return(0,e.some)(k())}catch{return e.none}};e.tryCatch=yv;var gv=function(k){return function(){for(var M=[],K=0;K<arguments.length;K++)M[K]=arguments[K];return(0,e.tryCatch)(function(){return k.apply(void 0,M)})}};e.tryCatchK=gv;var bv=function(k){return(0,s.flow)(k,e.fromNullable)};e.fromNullableK=bv;var _v=function(k){return function(M){return(0,e.isNone)(M)?e.none:(0,e.fromNullable)(k(M.value))}};e.chainNullableK=_v,e.toNullable=(0,e.match)(s.constNull,s.identity),e.toUndefined=(0,e.match)(s.constUndefined,s.identity);function ml(k){return function(M,K){if(K===void 0){var Pe=ml(k);return function(Ye){return Pe(M,Ye)}}return(0,e.isNone)(K)?!1:k.equals(M,K.value)}}e.elem=ml;var wv=function(k){return function(M){return(0,e.isNone)(M)?!1:k(M.value)}};e.exists=wv,e.Do=(0,e.of)(f.emptyRecord),e.bindTo=(0,c.bindTo)(e.Functor);var Ev=(0,c.let)(e.Functor);e.let=Ev,e.bind=o.bind(e.Chain),e.apS=(0,a.apS)(e.Apply),e.ApT=(0,e.of)(f.emptyReadonlyArray);var Sv=function(k){return function(M){var K=k(0,f.head(M));if((0,e.isNone)(K))return e.none;for(var Pe=[K.value],Ye=1;Ye<M.length;Ye++){var vl=k(Ye,M[Ye]);if((0,e.isNone)(vl))return e.none;Pe.push(vl.value)}return(0,e.some)(Pe)}};e.traverseReadonlyNonEmptyArrayWithIndex=Sv;var Ov=function(k){var M=(0,e.traverseReadonlyNonEmptyArrayWithIndex)(k);return function(K){return f.isNonEmpty(K)?M(K):e.ApT}};e.traverseReadonlyArrayWithIndex=Ov,e.traverseArrayWithIndex=e.traverseReadonlyArrayWithIndex;var Pv=function(k){return(0,e.traverseReadonlyArrayWithIndex)(function(M,K){return k(K)})};e.traverseArray=Pv,e.sequenceArray=(0,e.traverseArray)(s.identity),e.chain=e.flatMap,e.chainFirst=e.tap;function Av(k){return function(M){return(0,e.isSome)(k(M))}}e.getRefinement=Av,e.mapNullable=e.chainNullableK,e.option={URI:e.URI,map:v,of:e.of,ap:g,chain:e.flatMap,reduce:E,foldMap:O,reduceRight:S,traverse:w,sequence:e.sequence,zero:e.zero,alt:P,extend:$,compact:e.compact,separate:e.separate,filter:A,filterMap:L,partition:j,partitionMap:I,wither:$e,wilt:Pr,throwError:e.throwError},e.getApplySemigroup=(0,a.getApplySemigroup)(e.Apply),e.getApplyMonoid=(0,i.getApplicativeMonoid)(e.Applicative);var Tv=function(){return(0,e.getMonoid)((0,d.first)())};e.getFirstMonoid=Tv;var Cv=function(){return(0,e.getMonoid)((0,d.last)())};e.getLastMonoid=Cv})(Y0);var Kb=Object.defineProperty,zb=(e,t,n)=>t in e?Kb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,uo=(e,t,n)=>(zb(e,typeof t!="symbol"?t+"":t,n),n);let Wb=class{constructor(){uo(this,"current",this.detect()),uo(this,"handoffState","pending"),uo(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"}},Mt=new Wb,ke=(e,t)=>{Mt.isServer?de(e,t):kn(e,t)};function Dt(e){let t=ne(e);return ke(()=>{t.current=e},[e]),t}function Ca(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function yt(){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 Ca(()=>{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=yt();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 vr(){let[e]=Ue(yt);return de(()=>()=>e.dispose(),[e]),e}let ee=function(e){let t=Dt(e);return Z.useCallback((...n)=>t.current(...n),[t])};function qb(){let e=typeof document>"u";return"useSyncExternalStore"in er?(t=>t.useSyncExternalStore)(er)(()=>()=>{},()=>!1,()=>!e):!1}function yr(){let e=qb(),[t,n]=Ue(Mt.isHandoffComplete);return t&&Mt.isHandoffComplete===!1&&n(!1),de(()=>{t!==!0&&n(!0)},[t]),de(()=>Mt.handoff(),[]),e?!1:t}var gc;let tt=(gc=Z.useId)!=null?gc:function(){let e=yr(),[t,n]=Z.useState(e?()=>Mt.nextId():null);return ke(()=>{t===null&&n(Mt.nextId())},[t]),t!=null?""+t:void 0};function Oe(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,Oe),r}function ai(e){return Mt.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let iu=["[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 It=(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))(It||{}),eh=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(eh||{}),Gb=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Gb||{});function th(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(iu)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var Os=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Os||{});function Ps(e,t=0){var n;return e===((n=ai(e))==null?void 0:n.body)?!1:Oe(t,{0(){return e.matches(iu)},1(){let r=e;for(;r!==null;){if(r.matches(iu))return!0;r=r.parentElement}return!1}})}function nh(e){let t=ai(e);yt().nextFrame(()=>{t&&!Ps(t.activeElement,0)&&tn(e)})}var Vb=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Vb||{});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 tn(e){e==null||e.focus({preventScroll:!0})}let Yb=["textarea","input"].join(",");function Xb(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,Yb))!=null?n:!1}function rh(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 Qb(e,t){return jr(th(),t,{relativeTo:e})}function jr(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?rh(e):e:th(e);i.length>0&&o.length>1&&(o=o.filter(p=>!i.includes(p))),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 p=s+f;if(t&16)p=(p+l)%l;else{if(p<0)return 3;if(p>=l)return 1}d=o[p],d==null||d.focus(c),f+=u}while(d!==a.activeElement);return t&6&&Xb(d)&&d.select(),2}function yi(e,t,n){let r=Dt(t);de(()=>{function i(a){r.current(a)}return document.addEventListener(e,i,n),()=>document.removeEventListener(e,i,n)},[e,n])}function ih(e,t,n){let r=Dt(t);de(()=>{function i(a){r.current(a)}return window.addEventListener(e,i,n),()=>window.removeEventListener(e,i,n)},[e,n])}function ah(e,t,n=!0){let r=ne(!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!Ps(s,Os.Loose)&&s.tabIndex!==-1&&o.preventDefault(),t(o,s)}let a=ne(null);yi("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),yi("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),yi("click",o=>{a.current&&(i(o,()=>a.current),a.current=null)},!0),yi("touchend",o=>i(o,()=>o.target instanceof HTMLElement?o.target:null),!0),ih("blur",o=>i(o,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function bc(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 As(e,t){let[n,r]=Ue(()=>bc(e));return ke(()=>{r(bc(e))},[e.type,e.as]),ke(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&r("button")},[n,t]),n}let oh=Symbol();function uh(e,t=!0){return Object.assign(e,{[oh]:t})}function Re(...e){let t=ne(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[oh]))?void 0:n}function Jb({container:e,accept:t,walk:n,enabled:r=!0}){let i=ne(t),a=ne(n);de(()=>{i.current=t,a.current=n},[t,n]),ke(()=>{if(!e||!r)return;let o=ai(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 Zb(e){throw new Error("Unexpected object: "+e)}var ft=(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))(ft||{});function e1(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:Zb(e)}})();return a===-1?r:a}function ia(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}var on=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(on||{}),Xt=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Xt||{});function _e({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:a=!0,name:o}){let u=sh(t,e);if(a)return gi(u,n,r,o);let s=i??0;if(s&2){let{static:c=!1,...f}=u;if(c)return gi(f,n,r,o)}if(s&1){let{unmount:c=!0,...f}=u;return Oe(c?0:1,{0(){return null},1(){return gi({...f,hidden:!0,style:{display:"none"}},n,r,o)}})}return gi(u,n,r,o)}function gi(e,t={},n,r){let{as:i=n,children:a,refName:o="ref",...u}=so(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[p,m]of Object.entries(t))typeof m=="boolean"&&(l=!0),m===!0&&d.push(p);l&&(f["data-headlessui-state"]=d.join(" "))}if(i===be&&Object.keys(au(u)).length>0){if(!pr(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(m=>` - ${m}`).join(`
3
+ `):"",this.name="UnsubscriptionError",this.errors=n}});function qi(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var ri=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=Xn(o),s=u.next();!s.done;s=u.next()){var c=s.value;c.remove(this)}}catch(h){t={error:h}}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(ce(f))try{f()}catch(h){a=h instanceof Qa?h.errors:[h]}var l=this._finalizers;if(l){this._finalizers=null;try{for(var d=Xn(l),p=d.next();!p.done;p=d.next()){var m=p.value;try{bl(m)}catch(h){a=a??[],h instanceof Qa?a=Pn(Pn([],rn(a)),rn(h.errors)):a.push(h)}}}catch(h){r={error:h}}finally{try{p&&!p.done&&(i=d.return)&&i.call(d)}finally{if(r)throw r.error}}}if(a)throw new Qa(a)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)bl(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)&&qi(n,t)},e.prototype.remove=function(t){var n=this._finalizers;n&&qi(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),ld=ri.EMPTY;function cd(e){return e instanceof ri||e&&"closed"in e&&ce(e.remove)&&ce(e.add)&&ce(e.unsubscribe)}function bl(e){ce(e)?e():e.unsubscribe()}var fd={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Fo={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Fo.delegate;return i!=null&&i.setTimeout?i.setTimeout.apply(i,Pn([e,t],rn(n))):setTimeout.apply(void 0,Pn([e,t],rn(n)))},clearTimeout:function(e){var t=Fo.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function dd(e){Fo.setTimeout(function(){throw e})}function Uo(){}function Mi(e){e()}var Yu=function(e){Pt(t,e);function t(n){var r=e.call(this)||this;return r.isStopped=!1,n?(r.destination=n,cd(n)&&n.add(r)):r.destination=Uv,r}return t.create=function(n,r,i){return new xo(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}(ri),jv=Function.prototype.bind;function Ja(e,t){return jv.call(e,t)}var Bv=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){vi(r)}},e.prototype.error=function(t){var n=this.partialObserver;if(n.error)try{n.error(t)}catch(r){vi(r)}else vi(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(n){vi(n)}},e}(),xo=function(e){Pt(t,e);function t(n,r,i){var a=e.call(this)||this,o;if(ce(n)||!n)o={next:n??void 0,error:r??void 0,complete:i??void 0};else{var u;a&&fd.useDeprecatedNextContext?(u=Object.create(n),u.unsubscribe=function(){return a.unsubscribe()},o={next:n.next&&Ja(n.next,u),error:n.error&&Ja(n.error,u),complete:n.complete&&Ja(n.complete,u)}):o=n}return a.destination=new Bv(o),a}return t}(Yu);function vi(e){dd(e)}function Fv(e){throw e}var Uv={closed:!0,next:Uo,error:Fv,complete:Uo},Xu=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function fr(e){return e}function xv(e){return e.length===0?fr:e.length===1?e[0]:function(n){return e.reduce(function(r,i){return i(r)},n)}}var ze=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=Kv(t)?t:new xo(t,n,r);return Mi(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=_l(n),new n(function(i,a){var o=new xo({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[Xu]=function(){return this},e.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return xv(t)(this)},e.prototype.toPromise=function(t){var n=this;return t=_l(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 _l(e){var t;return(t=e??fd.Promise)!==null&&t!==void 0?t:Promise}function Hv(e){return e&&ce(e.next)&&ce(e.error)&&ce(e.complete)}function Kv(e){return e&&e instanceof Yu||Hv(e)&&cd(e)}function zv(e){return ce(e==null?void 0:e.lift)}function ut(e){return function(t){if(zv(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 qe(e,t,n,r,i){return new Wv(e,t,n,r,i)}var Wv=function(e){Pt(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}(Yu),qv=sd(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),$t=function(e){Pt(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 qv},t.prototype.next=function(n){var r=this;Mi(function(){var i,a;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var o=Xn(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;Mi(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;Mi(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?ld:(this.currentObservers=null,u.push(n),new ri(function(){r.currentObservers=null,qi(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 ze;return n.source=this,n},t.create=function(n,r){return new wl(n,r)},t}(ze),wl=function(e){Pt(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:ld},t}($t),Gi=function(e){Pt(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}($t),Qu={now:function(){return(Qu.delegate||Date).now()},delegate:void 0},pd=function(e){Pt(t,e);function t(n,r,i){n===void 0&&(n=1/0),r===void 0&&(r=1/0),i===void 0&&(i=Qu);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}($t),Gv=function(e){Pt(t,e);function t(n,r){return e.call(this)||this}return t.prototype.schedule=function(n,r){return this},t}(ri),Vi={setInterval:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Vi.delegate;return i!=null&&i.setInterval?i.setInterval.apply(i,Pn([e,t],rn(n))):setInterval.apply(void 0,Pn([e,t],rn(n)))},clearInterval:function(e){var t=Vi.delegate;return((t==null?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0},Vv=function(e){Pt(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),Vi.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&&Vi.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,qi(a,this),r!=null&&(this.id=this.recycleAsyncId(i,r,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(Gv),El=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=Qu.now,e}(),Yv=function(e){Pt(t,e);function t(n,r){r===void 0&&(r=El.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}(El),wa=new Yv(Vv),Xv=wa,Qv=new ze(function(e){return e.complete()});function hd(e){return e&&ce(e.schedule)}function md(e){return e[e.length-1]}function Jv(e){return ce(md(e))?e.pop():void 0}function Ju(e){return hd(md(e))?e.pop():void 0}var Zu=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function vd(e){return ce(e==null?void 0:e.then)}function yd(e){return ce(e[Xu])}function gd(e){return Symbol.asyncIterator&&ce(e==null?void 0:e[Symbol.asyncIterator])}function bd(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 Zv(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var _d=Zv();function wd(e){return ce(e==null?void 0:e[_d])}function Ed(e){return Dv(this,arguments,function(){var n,r,i,a;return ud(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,qn(n.read())];case 3:return r=o.sent(),i=r.value,a=r.done,a?[4,qn(void 0)]:[3,5];case 4:return[2,o.sent()];case 5:return[4,qn(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 Sd(e){return ce(e==null?void 0:e.getReader)}function xt(e){if(e instanceof ze)return e;if(e!=null){if(yd(e))return ey(e);if(Zu(e))return ty(e);if(vd(e))return ny(e);if(gd(e))return Od(e);if(wd(e))return ry(e);if(Sd(e))return iy(e)}throw bd(e)}function ey(e){return new ze(function(t){var n=e[Xu]();if(ce(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function ty(e){return new ze(function(t){for(var n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function ny(e){return new ze(function(t){e.then(function(n){t.closed||(t.next(n),t.complete())},function(n){return t.error(n)}).then(null,dd)})}function ry(e){return new ze(function(t){var n,r;try{for(var i=Xn(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 Od(e){return new ze(function(t){ay(e,t).catch(function(n){return t.error(n)})})}function iy(e){return Od(Ed(e))}function ay(e,t){var n,r,i,a;return Mv(this,void 0,void 0,function(){var o,u;return ud(this,function(s){switch(s.label){case 0:s.trys.push([0,5,6,11]),n=$v(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 kt(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 Pd(e,t){return t===void 0&&(t=0),ut(function(n,r){n.subscribe(qe(r,function(i){return kt(r,e,function(){return r.next(i)},t)},function(){return kt(r,e,function(){return r.complete()},t)},function(i){return kt(r,e,function(){return r.error(i)},t)}))})}function Ad(e,t){return t===void 0&&(t=0),ut(function(n,r){r.add(e.schedule(function(){return n.subscribe(r)},t))})}function oy(e,t){return xt(e).pipe(Ad(t),Pd(t))}function uy(e,t){return xt(e).pipe(Ad(t),Pd(t))}function sy(e,t){return new ze(function(n){var r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function ly(e,t){return new ze(function(n){var r;return kt(n,t,function(){r=e[_d](),kt(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 ce(r==null?void 0:r.return)&&r.return()}})}function Td(e,t){if(!e)throw new Error("Iterable cannot be null");return new ze(function(n){kt(n,t,function(){var r=e[Symbol.asyncIterator]();kt(n,t,function(){r.next().then(function(i){i.done?n.complete():n.next(i.value)})},0,!0)})})}function cy(e,t){return Td(Ed(e),t)}function fy(e,t){if(e!=null){if(yd(e))return oy(e,t);if(Zu(e))return sy(e,t);if(vd(e))return uy(e,t);if(gd(e))return Td(e,t);if(wd(e))return ly(e,t);if(Sd(e))return cy(e,t)}throw bd(e)}function dr(e,t){return t?fy(e,t):xt(e)}function es(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Ju(e);return dr(e,n)}function Cd(e){return!!e&&(e instanceof ze||ce(e.lift)&&ce(e.subscribe))}function dy(e){return e instanceof Date&&!isNaN(e)}function Ge(e,t){return ut(function(n,r){var i=0;n.subscribe(qe(r,function(a){r.next(e.call(t,a,i++))}))})}var py=Array.isArray;function hy(e,t){return py(t)?e.apply(void 0,Pn([],rn(t))):e(t)}function Id(e){return Ge(function(t){return hy(e,t)})}var my=Array.isArray,vy=Object.getPrototypeOf,yy=Object.prototype,gy=Object.keys;function by(e){if(e.length===1){var t=e[0];if(my(t))return{args:t,keys:null};if(_y(t)){var n=gy(t);return{args:n.map(function(r){return t[r]}),keys:n}}}return{args:e,keys:null}}function _y(e){return e&&typeof e=="object"&&vy(e)===yy}function wy(e,t){return e.reduce(function(n,r,i){return n[r]=t[i],n},{})}function Ey(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Ju(e),r=Jv(e),i=by(e),a=i.args,o=i.keys;if(a.length===0)return dr([],n);var u=new ze(Sy(a,n,o?function(s){return wy(o,s)}:fr));return r?u.pipe(Id(r)):u}function Sy(e,t,n){return n===void 0&&(n=fr),function(r){Sl(t,function(){for(var i=e.length,a=new Array(i),o=i,u=i,s=function(f){Sl(t,function(){var l=dr(e[f],t),d=!1;l.subscribe(qe(r,function(p){a[f]=p,d||(d=!0,u--),u||r.next(n(a.slice()))},function(){--o||r.complete()}))},r)},c=0;c<i;c++)s(c)},r)}}function Sl(e,t,n){e?kt(n,e,t):t()}function Oy(e,t,n,r,i,a,o,u){var s=[],c=0,f=0,l=!1,d=function(){l&&!s.length&&!c&&t.complete()},p=function(h){return c<r?m(h):s.push(h)},m=function(h){a&&t.next(h),c++;var _=!1;xt(n(h,f++)).subscribe(qe(t,function(b){i==null||i(b),a?p(b):t.next(b)},function(){_=!0},void 0,function(){if(_)try{c--;for(var b=function(){var y=s.shift();o?kt(t,o,function(){return m(y)}):m(y)};s.length&&c<r;)b();d()}catch(y){t.error(y)}}))};return e.subscribe(qe(t,p,function(){l=!0,d()})),function(){u==null||u()}}function Ea(e,t,n){return n===void 0&&(n=1/0),ce(t)?Ea(function(r,i){return Ge(function(a,o){return t(r,a,i,o)})(xt(e(r,i)))},n):(typeof t=="number"&&(n=t),ut(function(r,i){return Oy(r,i,e,n)}))}function Py(e){return e===void 0&&(e=1/0),Ea(fr,e)}function Ay(){return Py(1)}function Ty(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Ay()(dr(e,Ju(e)))}var Cy=["addListener","removeListener"],Iy=["addEventListener","removeEventListener"],Ly=["on","off"];function Ol(e,t,n,r){if(ce(n)&&(r=n,n=void 0),r)return Ol(e,t,n).pipe(Id(r));var i=rn(Ny(e)?Iy.map(function(u){return function(s){return e[u](t,s,n)}}):Ry(e)?Cy.map(Pl(e,t)):ky(e)?Ly.map(Pl(e,t)):[],2),a=i[0],o=i[1];if(!a&&Zu(e))return Ea(function(u){return Ol(u,t,n)})(xt(e));if(!a)throw new TypeError("Invalid event target");return new ze(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 Pl(e,t){return function(n){return function(r){return e[n](t,r)}}}function Ry(e){return ce(e.addListener)&&ce(e.removeListener)}function ky(e){return ce(e.on)&&ce(e.off)}function Ny(e){return ce(e.addEventListener)&&ce(e.removeEventListener)}function Ld(e,t,n){e===void 0&&(e=0),n===void 0&&(n=Xv);var r=-1;return t!=null&&(hd(t)?n=t:r=t),new ze(function(i){var a=dy(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 Sa(e,t){return ut(function(n,r){var i=0;n.subscribe(qe(r,function(a){return e.call(t,a,i++)&&r.next(a)}))})}function My(e){return ut(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(qe(n,function(c){r=!0,i=c,a||xt(e(c)).subscribe(a=qe(n,u,s))},function(){o=!0,(!r||!a||a.closed)&&n.complete()}))})}function Dy(e,t){return t===void 0&&(t=wa),My(function(){return Ld(e,t)})}function KC(e,t){return t===void 0&&(t=wa),ut(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(qe(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 Ho(e){return e<=0?function(){return Qv}:ut(function(t,n){var r=0;t.subscribe(qe(n,function(i){++r<=e&&(n.next(i),e<=r&&n.complete())}))})}function $y(){return ut(function(e,t){e.subscribe(qe(t,Uo))})}function jy(e){return Ge(function(){return e})}function Rd(e,t){return t?function(n){return Ty(t.pipe(Ho(1),$y()),n.pipe(Rd(e)))}:Ea(function(n,r){return xt(e(n,r)).pipe(Ho(1),jy(n))})}function By(e,t){t===void 0&&(t=wa);var n=Ld(e,t);return Rd(function(){return n})}function zr(e,t){return t===void 0&&(t=fr),e=e??Fy,ut(function(n,r){var i,a=!0;n.subscribe(qe(r,function(o){var u=t(o);(a||!e(i,u))&&(a=!1,i=u,r.next(o))}))})}function Fy(e,t){return e===t}function zC(){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 Ge(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 Uy(e){return Sa(function(t,n){return e<=n})}function Di(e,t){return ut(function(n,r){var i=null,a=0,o=!1,u=function(){return o&&!i&&r.complete()};n.subscribe(qe(r,function(s){i==null||i.unsubscribe();var c=0,f=a++;xt(e(s,f)).subscribe(i=qe(r,function(l){return r.next(t?t(s,l,f,c++):l)},function(){i=null,u()}))},function(){o=!0,u()}))})}function WC(e,t,n){var r=ce(e)||t||n?{next:e,error:t,complete:n}:e;return r?ut(function(i,a){var o;(o=r.subscribe)===null||o===void 0||o.call(r);var u=!0;i.subscribe(qe(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)}))}):fr}const xy="id";function At(e){return wt(e)?e.length===0:!1}function Ce(e){return typeof e=="function"}function Hy(){return zr((e,t)=>e===t?!0:!wt(e)||!wt(t)?!1:At(e)&&At(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 qC(e){return Ey(e).pipe(Dy(0))}let kd={resettable:!1,ttl:null,producerFn:void 0};function Al(){return kd}function Ky(){return kd.producerFn}function Yi(e){return vt(e)===!1}const Nd=new $t,Md=new pd(50,5e3),zy=new $t;function Wy(e){Nd.next(e)}function qy(e){Md.next(e)}function Gy(e,t){zy.next({storeName:e,action:t})}const Oa=typeof window<"u",Vy=!Oa,Tl=()=>{try{return typeof localStorage<"u"}catch{return!1}},Yy=()=>{try{return typeof sessionStorage<"u"}catch{return!1}},Et={},Dd={};Oa&&(window.$$stores=Et,window.$$queries=Dd);var Xi;(function(e){e.ASC="asc",e.DESC="desc"})(Xi||(Xi={}));function Xy(e,t=Xi.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==Xi.DESC?o*-1:o}}function Qy(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}Xe(a).every(m=>m(l,f))&&n.push(l)}if(u){let f=Ce(u)?u:Xy(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 Jy(e,t){const n={},{filterBy:r,limitTo:i}=t,{ids:a,entities:o}=e;if(!r&&!i)return o;const u=vt(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];Xe(r).every(m=>m(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}Xe(r).every(p=>p(l,c))&&(n[f]=l)}}return n}var qt;(function(e){e.Set="Set",e.Add="Add",e.Update="Update",e.Remove="Remove"})(qt||(qt={}));let ns=!0;function GC(){ns=!1,Oa&&(delete window.$$stores,delete window.$$queries)}function Ae(){return ns}function Zy(e,t,n){let r;if(wt(e))r=e;else if(ts(e)){if(vt(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 eg=()=>({entities:{},ids:[],loading:!0,error:null});function Bn(e){return e===void 0}function tg({state:e,ids:t}){if(vt(t))return ng(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 id(e)&&(i.active=od(i)),i}function ng(e){return{...e,entities:{},ids:[],active:ad(e.active)?[]:null}}function rg(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 ig(e){return e.entities&&e.ids}function Cl(e,t){let n={};for(const r of Object.keys(e))n[r]=t(e[r]);return n}function ag({state:e,entities:t,idKey:n,preAddEntity:r,isNativePreAdd:i}){let a,o;if(wt(t)){const s=rg(t,n,r);a=s.entities,o=s.ids}else ig(t)?(a=i?t.entities:Cl(t.entities,r),o=t.ids):(a=i?t:Cl(t,r),o=Object.keys(a).map(s=>isNaN(s)?s:Number(s)));const u={...e,entities:a,ids:o,loading:!1};return id(e)&&(u.active=od(u)),u}function $d(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])&&$d(e[r])}),e}function og(e,t){e||console.error(`@StoreConfig({ name }) is missing in ${t}`)}function rs(e){return e!=null&&`${e}`!="false"}function Ko(e){return rs(e)&&e.constructor.name==="Object"}const $i="akitaConfig";function VC(e){return function(t){t[$i]={idKey:"id"};for(let n=0,r=Object.keys(e);n<r.length;n++){const i=r[n];i==="name"?t[$i].storeName=e[i]:t[$i][i]=e[i]}}}const ug=new $t,jd=new Gi(!1),Zt={activeTransactions:0,batchTransaction:null};function sg(){Bd()||(Zt.batchTransaction=new $t),Zt.activeTransactions++,jd.next(!0)}function lg(){--Zt.activeTransactions===0&&(Zt.batchTransaction.next(!0),Zt.batchTransaction.complete(),jd.next(!1),ug.next(!0))}function Bd(){return Zt.activeTransactions>0}function cg(){return Zt.batchTransaction?Zt.batchTransaction.asObservable():es(!0)}function is(e,t=void 0){sg();try{return e.apply(t)}finally{Wn("@Transaction"),lg()}}function Fd(){return function(e,t,n){const r=n.value;return n.value=function(...i){return is(()=>r.apply(this,i),this)},n}}class fg{constructor(t,n={}){this.options=n,this.inTransaction=!1,this.cache={active:new Gi(!1),ttl:null},this.onInit(t)}setLoading(t=!1){t!==this._value().loading&&(Ae()&&Ke("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&&(Ae()&&Ke("Set Error"),this._setState(n=>({...n,error:t})))}_select(t){return this.store.asObservable().pipe(Ge(n=>t(n.state)),zr())}_value(){return this.storeValue}_cache(){return this.cache.active}get config(){return this.constructor[$i]||{}}get storeName(){return this.config.storeName||this.options.storeName||this.options.name}get deepFreeze(){return this.config.deepFreezeFn||this.options.deepFreezeFn||$d}get cacheConfig(){return this.config.cache||this.options.cache}get _producerFn(){return this.config.producerFn||this.options.producerFn||Ky()}get resettable(){return Yi(this.config.resettable)?this.config.resettable:this.options.resettable}_setState(t,n=!0){if(Ce(t)){const r=t(this._value());this.storeValue=ns?this.deepFreeze(r):r}else this.storeValue=t;if(!this.store){this.store=new Gi({state:this.storeValue}),Ae()&&this.store.subscribe(({action:r})=>{r&&Gy(this.storeName,r)});return}if(Bd()){this.handleTransaction();return}this.dispatch(this.storeValue,n)}reset(){this.isResettable()&&(Ae()&&Ke("Reset"),this._setState(()=>Object.assign({},this._initialState)),this.setHasCache(!1))}update(t){Ae()&&Ke("Update");let n;const r=this._value();Ce(t)?n=Ce(this._producerFn)?this._producerFn(r,t):t(r):n=t;const i=this.akitaPreUpdate(r,{...r,...n}),a=Ko(r)?i:new r.constructor(i);this._setState(a)}updateStoreConfig(t){this.options={...this.options,...t}}akitaPreUpdate(t,n){return n}destroy(){!(Oa?window.hmrEnabled:!1)&&this===Et[this.storeName]&&(delete Et[this.storeName],Wy(this.storeName),this.setHasCache(!1),this.cache.active.complete(),this.store.complete())}onInit(t){Et[this.storeName]=this,this._setState(()=>t),qy(this.storeName),this.isResettable()&&(this._initialState=t),Ae()&&og(this.storeName,this.constructor.name)}dispatch(t,n=!0){let r;n&&(r=Ni,Lv()),this.store.next({state:t,action:r})}watchTransaction(){cg().subscribe(()=>{this.inTransaction=!1,this.dispatch(this._value())})}isResettable(){return this.resettable===!1?!1:this.resettable||Al().resettable}handleTransaction(){this.inTransaction||(this.watchTransaction(),this.inTransaction=!0)}getCacheTTL(){return this.cacheConfig&&this.cacheConfig.ttl||Al().ttl}}function dg({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(Kr(e.entities,d)===!1)continue;const p=e.entities[d];let m;Ce(r)?m=Ce(a)?a(p,r):r(p):m=r;const h=m.hasOwnProperty(n)&&m[n]!==p[n];let _;c=d,h&&(s=!0,c=m[n]);const b={...p,...m};Ko(p)?_=b:Ko(m)?_=new p.constructor(b):_=new m.constructor(b),u[c]=i(p,_)}let f=e.ids,l=e.entities;if(s){const[d]=t,{[d]:p,...m}=e.entities;l=m,f=e.ids.map(h=>h===d?c:h),o(d,c)}return{...e,entities:{...l,...u},ids:f}}var Il;class Qn extends fg{constructor(t={},n={}){super({...eg(),...t},n),this.options=n,this.entityActions=new $t,this.entityIdChanges=new $t}get selectEntityAction$(){return this.entityActions.asObservable()}get selectEntityIdChanges$(){return this.entityIdChanges.asObservable()}get idKey(){return this.config.idKey||this.options.idKey||xy}set(t,n={}){if(vt(t))return;Ae()&&Ke("Set Entity");const r=this.akitaPreAddEntity===Qn.prototype.akitaPreAddEntity;this.setHasCache(!0,{restartTTL:!0}),this._setState(i=>{const a=ag({state:i,entities:t,idKey:this.idKey,preAddEntity:this.akitaPreAddEntity.bind(this),isNativePreAdd:r});return Bn(n.activeId)===!1&&(a.active=n.activeId),a}),this.hasInitialUIState()&&this.handleUICreation(),this.entityActions.next({type:qt.Set,ids:this.ids})}add(t,n={loading:!1}){const r=Xe(t);if(At(r))return;const i=Nv({state:this._value(),preAddEntity:this.akitaPreAddEntity.bind(this),entities:r,idKey:this.idKey,options:n});i&&(Ae()&&Ke("Add Entity"),i.newState.loading=n.loading,this._setState(()=>i.newState),this.hasInitialUIState()&&this.handleUICreation(!0),this.entityActions.next({type:qt.Add,ids:i.newIds}))}update(t,n){if(Bn(n)){super.update(t);return}let r=[];if(Ce(t)?r=this.ids.filter(a=>t(this.entities[a])):r=vt(t)?this.ids:Xe(t),At(r))return;Ae()&&Ke("Update Entity",r);let i;this._setState(a=>dg({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:qt.Update,ids:r})}upsert(t,n,r,i={}){const a=Xe(t),o=l=>d=>Kr(this.entities,d)===l,u=Ce(r)?i.baseClass:r?r.baseClass:void 0,s=Ce(u),c=a.filter(o(!0)),f=a.filter(o(!1)).map(l=>{const d=typeof n=="function"?n({}):n,m={...Ce(r)?r(l,d):d,[this.idKey]:l};return s?new u(m):m});this.update(c,n),this.add(f),Ae()&&Wn("Upsert Entity")}upsertMany(t,n={}){const r=[],i=[],a={};for(const o of t){const u=this.akitaPreCheckEntity(o),s=u[this.idKey];if(Kr(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),p=d[this.idKey];a[p]=d,i.push(p)}else{const c=n.baseClass?new n.baseClass(u):u,f=this.akitaPreAddEntity(c),l=f[this.idKey];r.push(l),a[l]=f}}Ae()&&Wn("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:qt.Update,ids:i}),r.length&&this.entityActions.next({type:qt.Add,ids:r}),r.length&&this.hasUIStore()&&this.handleUICreation(!0)}replace(t,n){const r=Xe(t);if(At(r))return;const i={};for(const a of r)i[a]={...n,[this.idKey]:a};Ae()&&Ke("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]),Ae()&&Ke("Move Entity"),this._setState(i=>({...i,entities:{...i.entities},ids:r}))}remove(t){if(At(this.ids))return;const n=Yi(t);let r=[];Ce(t)?r=this.ids.filter(i=>t(this.entities[i])):r=n?Xe(t):this.ids,!At(r)&&(Ae()&&Ke("Remove Entity",r),this._setState(i=>tg({state:i,ids:r})),n||this.setHasCache(!1),this.handleUIRemove(r),this.entityActions.next({type:qt.Remove,ids:r}))}updateActive(t){const n=Xe(this.active);Ae()&&Ke("Update Active",n),this.update(n,t)}setActive(t){const n=Zy(t,this.ids,this.active);n!==void 0&&(Ae()&&Ke("Set Active",n),this._setActive(n))}addActive(t){const n=Xe(t);At(n)||n.every(i=>this.active.indexOf(i)>-1)||(Ae()&&Ke("Add Active",t),this._setState(i=>{const a=Array.from(new Set([...i.active,...n]));return{...i,active:a}}))}removeActive(t){const n=Xe(t);At(n)||!n.some(i=>this.active.indexOf(i)>-1)||(Ae()&&Ke("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=Xe(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),Ae()&&Wn("Toggle Active")}createUIStore(t={},n={}){const r={name:`UI/${this.storeName}`,idKey:this.idKey};return this.ui=new Ll(t,{...r,...n}),this.ui}destroy(){super.destroy(),this.ui instanceof Qn&&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=Ce(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=>Bn(this.ui.entities[o])).map(a):i=n.map(a),t?this.ui.add(i):this.ui.set(i)}hasInitialUIState(){return this.hasUIStore()&&Bn(this.ui._akitaCreateEntityFn)===!1}handleUIRemove(t){this.hasUIStore()&&this.ui.remove(t)}hasUIStore(){return this.ui instanceof Ll}}Vu([Fd(),Rt("design:type",Function),Rt("design:paramtypes",[Object,Object,Object,Object]),Rt("design:returntype",void 0)],Qn.prototype,"upsert",null);Vu([Fd(),Rt("design:type",Function),Rt("design:paramtypes",[typeof(Il=typeof T<"u"&&T)=="function"?Il:Object]),Rt("design:returntype",void 0)],Qn.prototype,"toggleActive",null);class Ll extends Qn{constructor(t={},n={}){super(t,n)}setInitialEntityState(t){this._akitaCreateEntityFn=t}}function pg(){return Sa(e=>e!=null)}function hg(e){return function(t,n){const r=Ce(e[0]);return e.some(i=>r?i(t)!==i(n):t[i]!==n[i])===!1}}function Ud(e){return typeof e=="string"}const mg="akitaQueryConfig";class vg{constructor(t){this.store=t,this.__store__=t,Ae()&&(Dd[t.storeName]=this)}select(t){let n;if(Ce(t))n=t;else if(Ud(t))n=r=>r[t];else{if(Array.isArray(t))return this.store._select(r=>r).pipe(zr(hg(t)),Ge(r=>Ce(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[mg]}}function yg(e,t){for(const n of Object.keys(t))if(e(t[n])===!0)return n}function Rl(e,t){return function(n){const r=n[e];if(!Bn(r))return t?Ud(t)?r[t]:t(r):r}}function gg(e,t){return e.reduce((n,r,i,a)=>{const o=t(r,i,a);return o!==void 0&&n.push(o),n},[])}function bg(e,t){e.sortBy=e.sortBy||t&&t.sortBy,e.sortByOrder=e.sortByOrder||t&&t.sortByOrder}class _g extends vg{constructor(t,n={}){super(t),this.options=n,this.__store__=t}selectAll(t={asObject:!1}){return this.select(n=>n.entities).pipe(Ge(()=>this.getAll(t)))}getAll(t={asObject:!1,filterBy:void 0,limitTo:void 0}){return t.asObject?Jy(this.getValue(),t):(bg(t,this.config||this.options),Qy(this.getValue(),t))}selectMany(t,n){return!t||!t.length?es([]):this.select(r=>r.entities).pipe(Ge(r=>gg(t,i=>Rl(i,n)(r))),Hy())}selectEntity(t,n){let r=t;return Ce(t)&&(r=yg(t,this.getValue().entities)),this.select(i=>i.entities).pipe(Ge(Rl(r,n)),zr())}getEntity(t){return this.getValue().entities[t]}selectActiveId(){return this.select(t=>t.active)}getActiveId(){return this.getValue().active}selectActive(t){return wt(this.getActive())?this.selectActiveId().pipe(Di(n=>this.selectMany(n,t))):this.selectActiveId().pipe(Di(n=>this.selectEntity(n,t)))}getActive(){const t=this.getActiveId();return wt(t)?t.map(n=>this.getValue().entities[n]):rs(t)?this.getEntity(t):void 0}selectCount(t){return this.select(n=>n.entities).pipe(Ge(()=>this.getCount(t)))}getCount(t){return Ce(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(vt(t))return this.store.selectEntityAction$;const n=wt(t)?i=>i:({ids:i})=>i,r=Xe(t);return this.store.selectEntityAction$.pipe(Sa(({type:i})=>r.includes(i)),Ge(i=>n(i)))}hasEntity(t){return vt(t)?this.getValue().ids.length>0:Ce(t)?this.getAll().some(t):wt(t)?t.every(n=>n in this.getValue().entities):t in this.getValue().entities}hasActive(t){const n=this.getValue().active,r=Yi(t);return Array.isArray(n)?r?n.includes(t):n.length>0:r?n===t:Yi(n)}createUIQuery(){this.ui=new wg(this.__store__.ui)}selectAt(t,n){return this.select(r=>r.ids).pipe(Ge(t),zr(),Di(r=>this.selectEntity(r,n)))}}class wg extends _g{constructor(t){super(t)}}function zo(e,t){return t.split(".").length===1?e:t.split(".").slice(1).join(".").split(".").reduce((r,i)=>r&&r[i],e)}function xd(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 Eg=!1;const Sg=new pd(1);function Og(){return Eg}function Pg(e){return e&&Ce(e.then)}function Ar(e){return Pg(e)||Cd(e)?dr(e):es(e)}function YC(e){const t={key:"AkitaStores",enableInNonBrowser:!1,storage:Tl()?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:Og,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:p}=Object.assign({},t,e);if(Vy&&!r||!n)return;const m=o.length>0,h=u.length>0;let _,b;m&&(_=o.reduce((w,P)=>{if(Ce(P))w.fns.push(P);else{const A=P.split(".")[0];w[A]=P}return w},{fns:[]})),h&&(b=u.reduce((w,P)=>(w[P.storeName]=P,w),{}));let y={};const v={},g=[],E=[];function O(w){Ar(w).subscribe(()=>{const P=E.shift();P&&O(P)})}const S=Tl()&&n===localStorage||Yy()&&n===sessionStorage;return Ar(n.getItem(s)).subscribe(w=>{let P=ts(w)?w:i(w||"{}");function A(j){P.$cache={...P.$cache||{},...j},P=Object.assign({},P,v),E.push(n.setItem(s,S?a(P):P)),O(E.shift())}function L(j,I){y[j]=Et[j]._select(C=>zo(C,I)).pipe(Uy(1),Ge(C=>h&&b[j]?b[j](C):C),Sa(()=>p()===!1),l()).subscribe(C=>{v[j]=c(j,C),Promise.resolve().then(()=>A({[j]:Et[j]._cache().getValue()}))})}function $(j,I,C){if(j in P){Ke("@PersistState"),I._setState(D=>xd(D,C,d(j,P[j],D)));const R=P.$cache?P.$cache[j]:!1;Et[j].setHasCache(R,{restartTTL:!0})}}g.push(Nd.subscribe(j=>{y[j]&&(f===!1&&A({[j]:!1}),y[j].unsubscribe(),delete y[j])})),g.push(Md.subscribe(j=>{if(j==="router")return;const I=Et[j];if(m){let C=_[j];if(!C)if(_.fns.some(D=>D(j)))C=j;else return;$(j,I,C),L(j,C)}else $(j,I,j),L(j,j)})),Sg.next(!0)}),{destroy(){g.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(vt(w)){Ar(n.setItem(s,"{}")).subscribe();return}const P=n.getItem(s);Ar(P).subscribe(A=>{const L=i(A||"{}");L[w]&&(delete L[w],Ar(n.setItem(s,a(L))).subscribe())})}}}class Ag{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(pg()):n?this.getQuery().select(r=>zo(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?zo(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=>xd(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 Tg={pagesControls:!1,range:!1,startWith:1,cacheTimeout:void 0,clearStoreWithCache:!0};class Cg extends Ag{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(By(0)),this.config={...Tg,...n};const{startWith:r,cacheTimeout:i}=this.config;this.page=new Gi(r),Cd(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||(Wn("@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(),Bn(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),dr(t()).pipe(Di(r=>(n=r.currentPage,is(()=>{this.setLoading(!1),this.update(r)}),this.selectPage(n)))))}getQuery(){return this.query}refreshCurrentPage(){vt(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(Ho(1),Ge(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=Ig(this.pagination.total,this.pagination.perPage)),r}))}}Vu([Rv("@Pagination - New Page"),Rt("design:type",Function),Rt("design:paramtypes",[Object]),Rt("design:returntype",void 0)],Cg.prototype,"update",null);function Ig(e,t){const n=Math.ceil(e/t),r=[];for(let i=0;i<n;i++)r.push(i+1);return r}function XC(e){e=Object.assign({},{exclude:[]},e);const n=Object.keys(Et);is(()=>{for(const r of n){const i=Et[r];e.exclude?e.exclude.indexOf(i.storeName)===-1&&i.reset():i.reset()}})}var Wo;(function(e){e.Update="UPDATE"})(Wo||(Wo={}));Wo.Update+"";var Tt;(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"})(Tt||(Tt={}));Tt.Update+"",Tt.AddEntities+"",Tt.SetEntities+"",Tt.UpdateEntities+"",Tt.RemoveEntities+"",Tt.UpsertEntities+"",Tt.UpsertManyEntities+"";const Lg="modulepreload",Rg=function(e){return"/benefits/app/"+e},kl={},QC=function(t,n,r){if(!n||n.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(n.map(a=>{if(a=Rg(a),a in kl)return;kl[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":Lg,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 ii,G,Hd,mn,Nl,Kd,qo,zd,Gn={},Wd=[],kg=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Pa=Array.isArray;function Lt(e,t){for(var n in t)e[n]=t[n];return e}function qd(e){var t=e.parentNode;t&&t.removeChild(e)}function B(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?ii.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 Dr(e,o,r,i,null)}function Dr(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??++Hd};return i==null&&G.vnode!=null&&G.vnode(a),a}function Wr(){return{current:null}}function be(e){return e.children}function at(e,t){this.props=e,this.context=t}function qr(e,t){if(t==null)return e.__?qr(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__d||n.__e;return typeof e.type=="function"?qr(e):null}function Gd(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 Gd(e)}}function Go(e){(!e.__d&&(e.__d=!0)&&mn.push(e)&&!Qi.__r++||Nl!==G.debounceRendering)&&((Nl=G.debounceRendering)||Kd)(Qi)}function Qi(){var e,t,n,r,i,a,o,u,s;for(mn.sort(qo);e=mn.shift();)e.__d&&(t=mn.length,r=void 0,i=void 0,a=void 0,u=(o=(n=e).__v).__e,(s=n.__P)&&(r=[],i=[],(a=Lt({},o)).__v=o.__v+1,as(s,o,a,n.__n,s.ownerSVGElement!==void 0,o.__h!=null?[u]:null,r,u??qr(o),o.__h,i),Qd(r,o,i),o.__e!=u&&Gd(o)),mn.length>t&&mn.sort(qo));Qi.__r=0}function Vd(e,t,n,r,i,a,o,u,s,c,f){var l,d,p,m,h,_,b,y,v,g=0,E=r&&r.__k||Wd,O=E.length,S=O,w=t.length;for(n.__k=[],l=0;l<w;l++)(m=n.__k[l]=(m=t[l])==null||typeof m=="boolean"||typeof m=="function"?null:typeof m=="string"||typeof m=="number"||typeof m=="bigint"?Dr(null,m,null,null,m):Pa(m)?Dr(be,{children:m},null,null,null):m.__b>0?Dr(m.type,m.props,m.key,m.ref?m.ref:null,m.__v):m)!=null?(m.__=n,m.__b=n.__b+1,(y=Ng(m,E,b=l+g,S))===-1?p=Gn:(p=E[y]||Gn,E[y]=void 0,S--),as(e,m,p,i,a,o,u,s,c,f),h=m.__e,(d=m.ref)&&p.ref!=d&&(p.ref&&os(p.ref,null,m),f.push(d,m.__c||h,m)),h!=null&&(_==null&&(_=h),(v=p===Gn||p.__v===null)?y==-1&&g--:y!==b&&(y===b+1?g++:y>b?S>w-b?g+=y-b:g--:g=y<b&&y==b-1?y-b:0),b=l+g,typeof m.type!="function"||y===b&&p.__k!==m.__k?typeof m.type=="function"||y===b&&!v?m.__d!==void 0?(s=m.__d,m.__d=void 0):s=h.nextSibling:s=Xd(e,h,s):s=Yd(m,s,e),typeof n.type=="function"&&(n.__d=s))):(p=E[l])&&p.key==null&&p.__e&&(p.__e==s&&(p.__=r,s=qr(p)),Vo(p,p,!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),Vo(E[l],E[l]))}function Yd(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"?Yd(r,t,n):Xd(n,r.__e,t));return t}function pt(e,t){return t=t||[],e==null||typeof e=="boolean"||(Pa(e)?e.some(function(n){pt(n,t)}):t.push(e)),t}function Xd(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 Ng(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 Mg(e,t,n,r,i){var a;for(a in n)a==="children"||a==="key"||a in t||Ji(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]||Ji(e,a,t[a],n[a],r)}function Ml(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||kg.test(t)?n:n+"px"}function Ji(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||Ml(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Ml(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?$l:Dl,a)):e.removeEventListener(t,a?$l:Dl,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 Dl(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 $l(e){return this.l[e.type+!0](G.event?G.event(e):e)}function as(e,t,n,r,i,a,o,u,s,c){var f,l,d,p,m,h,_,b,y,v,g,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(b=t.props,y=(f=P.contextType)&&r[f.__c],v=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(b,v):(t.__c=l=new at(b,v),l.constructor=P,l.render=$g),y&&y.sub(l),l.props=b,l.state||(l.state={}),l.context=v,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=Lt({},l.__s)),Lt(l.__s,P.getDerivedStateFromProps(b,l.__s))),p=l.props,m=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&&b!==p&&l.componentWillReceiveProps!=null&&l.componentWillReceiveProps(b,v),!l.__e&&(l.shouldComponentUpdate!=null&&l.shouldComponentUpdate(b,l.__s,v)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(l.props=b,l.state=l.__s,l.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(A){A&&(A.__=t)}),g=0;g<l._sb.length;g++)l.__h.push(l._sb[g]);l._sb=[],l.__h.length&&o.push(l);break e}l.componentWillUpdate!=null&&l.componentWillUpdate(b,l.__s,v),l.componentDidUpdate!=null&&l.__h.push(function(){l.componentDidUpdate(p,m,h)})}if(l.context=v,l.props=b,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=Lt(Lt({},r),l.getChildContext())),d||l.getSnapshotBeforeUpdate==null||(h=l.getSnapshotBeforeUpdate(p,m)),Vd(e,Pa(w=f!=null&&f.type===be&&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=Dg(n.__e,t,n,r,i,a,o,s,c);(f=G.diffed)&&f(t)}function Qd(e,t,n){for(var r=0;r<n.length;r++)os(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 Dg(e,t,n,r,i,a,o,u,s){var c,f,l,d=n.props,p=t.props,m=t.type,h=0;if(m==="svg"&&(i=!0),a!=null){for(;h<a.length;h++)if((c=a[h])&&"setAttribute"in c==!!m&&(m?c.localName===m:c.nodeType===3)){e=c,a[h]=null;break}}if(e==null){if(m===null)return document.createTextNode(p);e=i?document.createElementNS("http://www.w3.org/2000/svg",m):document.createElement(m,p.is&&p),a=null,u=!1}if(m===null)d===p||u&&e.data===p||(e.data=p);else{if(a=a&&ii.call(e.childNodes),f=(d=n.props||Gn).dangerouslySetInnerHTML,l=p.dangerouslySetInnerHTML,!u){if(a!=null)for(d={},h=0;h<e.attributes.length;h++)d[e.attributes[h].name]=e.attributes[h].value;(l||f)&&(l&&(f&&l.__html==f.__html||l.__html===e.innerHTML)||(e.innerHTML=l&&l.__html||""))}if(Mg(e,p,d,i,u),l)t.__k=[];else if(Vd(e,Pa(h=t.props.children)?h:[h],t,n,r,i&&m!=="foreignObject",a,o,a?a[0]:n.__k&&qr(n,0),u,s),a!=null)for(h=a.length;h--;)a[h]!=null&&qd(a[h]);u||("value"in p&&(h=p.value)!==void 0&&(h!==e.value||m==="progress"&&!h||m==="option"&&h!==d.value)&&Ji(e,"value",h,d.value,!1),"checked"in p&&(h=p.checked)!==void 0&&h!==e.checked&&Ji(e,"checked",h,d.checked,!1))}return e}function os(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){G.__e(r,n)}}function Vo(e,t,n){var r,i;if(G.unmount&&G.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||os(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]&&Vo(r[i],t,n||typeof e.type!="function");n||e.__e==null||qd(e.__e),e.__=e.__e=e.__d=void 0}function $g(e,t,n){return this.constructor(e,n)}function Jn(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=[],as(t,e=(!r&&n||t).__k=B(be,null,[e]),i||Gn,Gn,t.ownerSVGElement!==void 0,!r&&n?[n]:i?null:t.firstChild?ii.call(t.childNodes):null,a,!r&&n?n:i?i.__e:t.firstChild,r,o),Qd(a,e,o)}function us(e,t){Jn(e,t,us)}function Jd(e,t,n){var r,i,a,o,u=Lt({},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?ii.call(arguments,2):n),Dr(e.type,u,r||e.key,i||e.ref,null)}function De(e,t){var n={__c:t="__cC"+zd++,__: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,Go(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}ii=Wd.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}},Hd=0,at.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Lt({},this.state),typeof e=="function"&&(e=e(Lt({},n),this.props)),e&&Lt(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Go(this))},at.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Go(this))},at.prototype.render=be,mn=[],Kd=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,qo=function(e,t){return e.__v.__b-t.__v.__b},Qi.__r=0,zd=0;var jt,he,Za,jl,Zn=0,Zd=[],ji=[],Bl=G.__b,Fl=G.__r,Ul=G.diffed,xl=G.__c,Hl=G.unmount;function Ln(e,t){G.__h&&G.__h(he,e,Zn||t),Zn=0;var n=he.__H||(he.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:ji}),n.__[e]}function Ue(e){return Zn=1,Rn(rp,e)}function Rn(e,t,n){var r=Ln(jt++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):rp(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 p=d.__[0];d.__=d.__N,d.__N=void 0,p!==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=Ln(jt++,3);!G.__s&&ss(n.__H,t)&&(n.__=e,n.i=t,he.__H.__h.push(n))}function kn(e,t){var n=Ln(jt++,4);!G.__s&&ss(n.__H,t)&&(n.__=e,n.i=t,he.__h.push(n))}function ne(e){return Zn=5,le(function(){return{current:e}},[])}function ep(e,t,n){Zn=6,kn(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 le(e,t){var n=Ln(jt++,7);return ss(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function Yt(e,t){return Zn=8,le(function(){return e},t)}function Le(e){var t=he.context[e.__c],n=Ln(jt++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(he)),t.props.value):e.__}function tp(e,t){G.useDebugValue&&G.useDebugValue(t?t(e):e)}function jg(e){var t=Ln(jt++,10),n=Ue();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 np(){var e=Ln(jt++,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 Bg(){for(var e;e=Zd.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Bi),e.__H.__h.forEach(Yo),e.__H.__h=[]}catch(t){e.__H.__h=[],G.__e(t,e.__v)}}G.__b=function(e){he=null,Bl&&Bl(e)},G.__r=function(e){Fl&&Fl(e),jt=0;var t=(he=e.__c).__H;t&&(Za===he?(t.__h=[],he.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=ji,n.__N=n.i=void 0})):(t.__h.forEach(Bi),t.__h.forEach(Yo),t.__h=[],jt=0)),Za=he},G.diffed=function(e){Ul&&Ul(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Zd.push(t)!==1&&jl===G.requestAnimationFrame||((jl=G.requestAnimationFrame)||Fg)(Bg)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==ji&&(n.__=n.__V),n.i=void 0,n.__V=ji})),Za=he=null},G.__c=function(e,t){t.some(function(n){try{n.__h.forEach(Bi),n.__h=n.__h.filter(function(r){return!r.__||Yo(r)})}catch(r){t.some(function(i){i.__h&&(i.__h=[])}),t=[],G.__e(r,n.__v)}}),xl&&xl(e,t)},G.unmount=function(e){Hl&&Hl(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{Bi(r)}catch(i){t=i}}),n.__H=void 0,t&&G.__e(t,n.__v))};var Kl=typeof requestAnimationFrame=="function";function Fg(e){var t,n=function(){clearTimeout(r),Kl&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Kl&&(t=requestAnimationFrame(n))}function Bi(e){var t=he,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),he=t}function Yo(e){var t=he;e.__c=e.__(),he=t}function ss(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function rp(e,t){return typeof t=="function"?t(e):t}let $n;const Ug=(e,t)=>{if($n=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;$n=!0,t.preventDefault(),t=n.href.replace(location.origin,"")}else typeof t=="string"?$n=!0:t=location.pathname+location.search;return $n===!0?history.pushState(null,"",t):$n===!1&&history.replaceState(null,"",t),t};function ip(e){const[t,n]=Rn(Ug,e.url||location.pathname+location.search),r=$n===!0,i=le(()=>{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 kn(()=>(addEventListener("click",n),addEventListener("popstate",n),()=>{removeEventListener("click",n),removeEventListener("popstate",n)}),[]),B(ip.ctx.Provider,{value:i},e.children)}Promise.resolve();ip.ctx=De({});De({});const zl=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)}zl&&zl(e,t,n)};let Wl;function JC(e,t){if(typeof window>"u")return;let n=document.querySelector("script[type=isodata]");t=t||n&&n.parentNode||document.body,!Wl&&n?us(e,t):Jn(e,t),Wl=!0}function ap(e,t){for(var n in t)e[n]=t[n];return e}function Xo(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 eo(e,t){return e===t&&(e!==0||1/e==1/t)||e!=e&&t!=t}function Zi(e){this.props=e}function op(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:Xo(this.props,i)}function r(i){return this.shouldComponentUpdate=n,B(e,i)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Zi.prototype=new at).isPureReactComponent=!0,Zi.prototype.shouldComponentUpdate=function(e,t){return Xo(this.props,e)||Xo(this.state,t)};var ql=G.__b;G.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),ql&&ql(e)};var xg=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function pe(e){function t(n){var r=ap({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=xg,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Gl=function(e,t){return e==null?null:pt(pt(e).map(t))},up={map:Gl,forEach:Gl,count:function(e){return e?pt(e).length:0},only:function(e){var t=pt(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:pt},Hg=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)}Hg(e,t,n,r)};var Vl=G.unmount;function sp(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=ap({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return sp(r,t,n)})),e}function lp(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return lp(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 $r(){this.__u=0,this.t=null,this.__b=null}function cp(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function fp(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 B(n,a)}return i.displayName="Lazy",i.__f=!0,i}function Fn(){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),Vl&&Vl(e)},($r.prototype=new at).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var i=cp(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]=lp(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)},$r.prototype.componentWillUnmount=function(){this.t=[]},$r.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]=sp(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&B(be,null,e.fallback);return i&&(i.__h=null),[B(be,null,t.__a?null:e.children),i]};var Yl=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 Kg(e){return this.getChildContext=function(){return e.context},e.children}function zg(e){var t=this,n=e.i;t.componentWillUnmount=function(){Jn(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)}}),Jn(B(Kg,{context:t.context},e.__v),t.l)}function ls(e,t){var n=B(zg,{__v:e,i:t});return n.containerInfo=t,n}(Fn.prototype=new at).__a=function(e){var t=this,n=cp(t.__v),r=t.o.get(e);return r[0]++,function(i){var a=function(){t.props.revealOrder?(r.push(i),Yl(t,e,r)):i()};n?n(a):a()}},Fn.prototype.render=function(e){this.u=null,this.o=new Map;var t=pt(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},Fn.prototype.componentDidUpdate=Fn.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){Yl(e,n,t)})};var dp=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Wg=/^(?: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]/,qg=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Gg=/[A-Z0-9]/g,Vg=typeof document<"u",Yg=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function pp(e,t,n){return t.__k==null&&(t.textContent=""),Jn(e,t),typeof n=="function"&&n(),e?e.__c:null}function hp(e,t,n){return us(e,t),typeof n=="function"&&n(),e?e.__c:null}at.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(at.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Xl=G.event;function Xg(){}function Qg(){return this.cancelBubble}function Jg(){return this.defaultPrevented}G.event=function(e){return Xl&&(e=Xl(e)),e.persist=Xg,e.isPropagationStopped=Qg,e.isDefaultPrevented=Jg,e.nativeEvent=e};var cs,Zg={enumerable:!1,configurable:!0,get:function(){return this.class}},Ql=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||Vg&&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"||Yg(n.type)?u==="onfocus"?a="onfocusin":u==="onblur"?a="onfocusout":qg.test(a)?a=u:r.indexOf("-")===-1&&Wg.test(a)?a=a.replace(Gg,"-$&").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=pt(n.children).forEach(function(s){s.props.selected=i.value.indexOf(s.props.value)!=-1})),r=="select"&&i.defaultValue!=null&&(i.value=pt(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",Zg)):(n.className&&!n.class||n.class&&n.className)&&(i.class=i.className=n.className),t.props=i}(e),e.$$typeof=dp,Ql&&Ql(e)};var Jl=G.__r;G.__r=function(e){Jl&&Jl(e),cs=e.__c};var Zl=G.diffed;G.diffed=function(e){Zl&&Zl(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),cs=null};var mp={ReactCurrentDispatcher:{current:{readContext:function(e){return cs.__n[e.__c].props.value}}}},e0="17.0.2";function vp(e){return B.bind(null,e)}function pr(e){return!!e&&e.$$typeof===dp}function yp(e){return pr(e)&&e.type===be}function fs(e){return pr(e)?Jd.apply(null,arguments):e}function gp(e){return!!e.__k&&(Jn(null,e),!0)}function bp(e){return e&&(e.base||e.nodeType===1&&e)||null}var _p=function(e,t){return e(t)},wp=function(e,t){return e(t)},Ep=be;function ds(e){e()}function Sp(e){return e}function Op(){return[!1,ds]}var Pp=kn,Ap=pr;function Tp(e,t){var n=t(),r=Ue({h:{__:n,v:t}}),i=r[0].h,a=r[1];return kn(function(){i.__=n,i.v=t,eo(i.__,t())||a({h:i})},[e,n,t]),de(function(){return eo(i.__,i.v())||a({h:i}),e(function(){eo(i.__,i.v())||a({h:i})})},[e]),n}var Z={useState:Ue,useId:np,useReducer:Rn,useEffect:de,useLayoutEffect:kn,useInsertionEffect:Pp,useTransition:Op,useDeferredValue:Sp,useSyncExternalStore:Tp,startTransition:ds,useRef:ne,useImperativeHandle:ep,useMemo:le,useCallback:Yt,useContext:Le,useDebugValue:tp,version:"17.0.2",Children:up,render:pp,hydrate:hp,unmountComponentAtNode:gp,createPortal:ls,createElement:B,createContext:De,createFactory:vp,cloneElement:fs,createRef:Wr,Fragment:be,isValidElement:pr,isElement:Ap,isFragment:yp,findDOMNode:bp,Component:at,PureComponent:Zi,memo:op,forwardRef:pe,flushSync:wp,unstable_batchedUpdates:_p,StrictMode:Ep,Suspense:$r,SuspenseList:Fn,lazy:fp,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:mp};const er=Object.freeze(Object.defineProperty({__proto__:null,Children:up,Component:at,Fragment:be,PureComponent:Zi,StrictMode:Ep,Suspense:$r,SuspenseList:Fn,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:mp,cloneElement:fs,createContext:De,createElement:B,createFactory:vp,createPortal:ls,createRef:Wr,default:Z,findDOMNode:bp,flushSync:wp,forwardRef:pe,hydrate:hp,isElement:Ap,isFragment:yp,isValidElement:pr,lazy:fp,memo:op,render:pp,startTransition:ds,unmountComponentAtNode:gp,unstable_batchedUpdates:_p,useCallback:Yt,useContext:Le,useDebugValue:tp,useDeferredValue:Sp,useEffect:de,useErrorBoundary:jg,useId:np,useImperativeHandle:ep,useInsertionEffect:Pp,useLayoutEffect:kn,useMemo:le,useReducer:Rn,useRef:ne,useState:Ue,useSyncExternalStore:Tp,useTransition:Op,version:e0},Symbol.toStringTag,{value:"Module"}));var Cp={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(g){var E=["MSIE ","Trident/","Edge/"];return new RegExp(E.join("|")).test(g)}var f=c(r.navigator.userAgent)?1:0;function l(g,E){this.scrollLeft=g,this.scrollTop=E}function d(g){return .5*(1-Math.cos(Math.PI*g))}function p(g){if(g===null||typeof g!="object"||g.behavior===void 0||g.behavior==="auto"||g.behavior==="instant")return!0;if(typeof g=="object"&&g.behavior==="smooth")return!1;throw new TypeError("behavior member of ScrollOptions "+g.behavior+" is not a valid value for enumeration ScrollBehavior.")}function m(g,E){if(E==="Y")return g.clientHeight+f<g.scrollHeight;if(E==="X")return g.clientWidth+f<g.scrollWidth}function h(g,E){var O=r.getComputedStyle(g,null)["overflow"+E];return O==="auto"||O==="scroll"}function _(g){var E=m(g,"Y")&&h(g,"Y"),O=m(g,"X")&&h(g,"X");return E||O}function b(g){for(;g!==i.body&&_(g)===!1;)g=g.parentNode||g.host;return g}function y(g){var E=s(),O,S,w,P=(E-g.startTime)/o;P=P>1?1:P,O=d(P),S=g.startX+(g.x-g.startX)*O,w=g.startY+(g.y-g.startY)*O,g.method.call(g.scrollable,S,w),(S!==g.x||w!==g.y)&&r.requestAnimationFrame(y.bind(r,g))}function v(g,E,O){var S,w,P,A,L=s();g===i.body?(S=r,w=r.scrollX||r.pageXOffset,P=r.scrollY||r.pageYOffset,A=u.scroll):(S=g,w=g.scrollLeft,P=g.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(p(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}v.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(p(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}v.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(p(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 g=arguments[0].left,E=arguments[0].top;v.call(this,this,typeof g>"u"?this.scrollLeft:~~g,typeof E>"u"?this.scrollTop:~~E)}},a.prototype.scrollBy=function(){if(arguments[0]!==void 0){if(p(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(p(arguments[0])===!0){u.scrollIntoView.call(this,arguments[0]===void 0?!0:arguments[0]);return}var g=b(this),E=g.getBoundingClientRect(),O=this.getBoundingClientRect();g!==i.body?(v.call(this,g,g.scrollLeft+O.left-E.left,g.scrollTop+O.top-E.top),r.getComputedStyle(g).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}})()})(Cp);var t0=Cp.exports;const ZC=cr(t0);function eI(e,t){return t=t||{},new Promise(function(n,r){var i=new XMLHttpRequest,a=[],o=[],u={},s=function(){return{ok:(i.status/100|0)==2,statusText:i.statusText,status:i.status,url:i.responseURL,text:function(){return Promise.resolve(i.responseText)},json:function(){return Promise.resolve(i.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([i.response]))},clone:s,headers:{keys:function(){return a},entries:function(){return o},get:function(f){return u[f.toLowerCase()]},has:function(f){return f.toLowerCase()in u}}}};for(var c in i.open(t.method||"get",e,!0),i.onload=function(){i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(f,l,d){a.push(l=l.toLowerCase()),o.push([l,d]),u[l]=u[l]?u[l]+","+d:d}),n(s())},i.onerror=r,i.withCredentials=t.credentials=="include",t.headers)i.setRequestHeader(c,t.headers[c]);i.send(t.body||null)})}var ec=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function n0(e,t){return!!(e===t||ec(e)&&ec(t))}function r0(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!n0(e[n],t[n]))return!1;return!0}function tI(e,t){t===void 0&&(t=r0);var n,r=[],i,a=!1;function o(){for(var u=[],s=0;s<arguments.length;s++)u[s]=arguments[s];return a&&n===this&&t(u,r)||(i=e.apply(this,u),a=!0,n=this,r=u),i}return o}var i0=function(t,n,r,i){var a=r?r.call(i,t,n):void 0;if(a!==void 0)return!!a;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var o=Object.keys(t),u=Object.keys(n);if(o.length!==u.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(n),c=0;c<o.length;c++){var f=o[c];if(!s(f))return!1;var l=t[f],d=n[f];if(a=r?r.call(i,l,d,f):void 0,a===!1||a===void 0&&l!==d)return!1}return!0};const nI=cr(i0);globalThis&&globalThis.__spreadArray;function a0(e){return e}function o0(e){return function(){return e}}var u0=o0(void 0);function rI(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 s0=function(e){return e._tag==="Some"},l0={_tag:"None"},c0=function(e){return{_tag:"Some",value:e}},ps=l0,Ip=c0,iI=function(e){return function(t){return Aa(t)?ps:Ip(e(t.value))}},aI=s0,Aa=function(e){return e._tag==="None"},f0=function(e,t){return function(n){return Aa(n)?e():t(n.value)}},Lp=f0,oI=Lp,d0=function(e){return function(t){return Aa(t)?e():t.value}},uI=d0,p0=function(e){return e==null?ps:Ip(e)},sI=function(e){return function(t){return Aa(t)?ps:p0(e(t.value))}},lI=Lp(u0,a0);function ea(){return ea=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ea.apply(this,arguments)}var Un;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Un||(Un={}));var tc=function(e){return e},nc="beforeunload",h0="hashchange",m0="popstate";function cI(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=ac(r.location.hash.substr(1)),P=w.pathname,A=P===void 0?"/":P,L=w.search,$=L===void 0?"":L,j=w.hash,I=j===void 0?"":j,C=i.state||{};return[C.idx,tc({pathname:A,search:$,hash:I,state:C.usr||null,key:C.key||"default"})]}var o=null;function u(){if(o)p.call(o),o=null;else{var w=Un.Pop,P=a(),A=P[0],L=P[1];if(p.length){if(A!=null){var $=f-A;$&&(o={action:w,location:L,retry:function(){O($*-1)}},O($))}}else v(w)}}r.addEventListener(m0,u),r.addEventListener(h0,function(){var w=a(),P=w[1];to(P)!==to(l)&&u()});var s=Un.Pop,c=a(),f=c[0],l=c[1],d=ic(),p=ic();f==null&&(f=0,i.replaceState(ea({},i.state,{idx:f}),""));function m(){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 h(w){return m()+"#"+(typeof w=="string"?w:to(w))}function _(w,P){return P===void 0&&(P=null),tc(ea({pathname:l.pathname,hash:"",search:""},typeof w=="string"?ac(w):w,{state:P,key:v0()}))}function b(w,P){return[{usr:w.state,key:w.key,idx:P},h(w)]}function y(w,P,A){return!p.length||(p.call({action:w,location:P,retry:A}),!1)}function v(w){s=w;var P=a();f=P[0],l=P[1],d.call({action:s,location:l})}function g(w,P){var A=Un.Push,L=_(w,P);function $(){g(w,P)}if(y(A,L,$)){var j=b(L,f+1),I=j[0],C=j[1];try{i.pushState(I,"",C)}catch{r.location.assign(C)}v(A)}}function E(w,P){var A=Un.Replace,L=_(w,P);function $(){E(w,P)}if(y(A,L,$)){var j=b(L,f),I=j[0],C=j[1];i.replaceState(I,"",C),v(A)}}function O(w){i.go(w)}var S={get action(){return s},get location(){return l},createHref:h,push:g,replace:E,go:O,back:function(){O(-1)},forward:function(){O(1)},listen:function(P){return d.push(P)},block:function(P){var A=p.push(P);return p.length===1&&r.addEventListener(nc,rc),function(){A(),p.length||r.removeEventListener(nc,rc)}}};return S}function rc(e){e.preventDefault(),e.returnValue=""}function ic(){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 v0(){return Math.random().toString(36).substr(2,8)}function to(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 ac(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 y0={};function Rp(e,t){for(var n in t)e[n]=t[n];return e}function kp(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=Qo(e.replace(r,"")),t=Qo(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,""),p=(t[l].match(/[+*?]+$/)||y0)[0]||"",m=~p.indexOf("+"),h=~p.indexOf("*"),_=e[l]||"";if(!_&&!h&&(p.indexOf("?")<0||m)){o=!1;break}if(a[d]=decodeURIComponent(_),m||h){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 g0(e,t){return e.rank<t.rank?1:e.rank>t.rank?-1:e.index-t.index}function b0(e,t){return e.index=t,e.rank=E0(e),e.props}function Qo(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")}function _0(e){return e.charAt(0)==":"?1+"*+?".indexOf(e.charAt(e.length-1))||4:5}function w0(e){return Qo(e).map(_0).join("")}function E0(e){return e.props.default?0:w0(e.props.path)}var Qe=null,_n=[],Jo=[],S0={};function O0(e,t){t===void 0&&(t="push"),Qe&&Qe[t]?Qe[t](e):typeof history<"u"&&history[t+"State"]&&history[t+"State"](null,null,e)}function hs(){var e;return Qe&&Qe.location?e=Qe.location:Qe&&Qe.getCurrentLocation?e=Qe.getCurrentLocation():e=typeof location<"u"?location:S0,""+(e.pathname||"")+(e.search||"")}function Np(e,t){return t===void 0&&(t=!1),typeof e!="string"&&e.url&&(t=e.replace,e=e.url),P0(e)&&O0(e,t?"replace":"push"),Mp(e)}function P0(e){for(var t=_n.length;t--;)if(_n[t].canRoute(e))return!0;return!1}function Mp(e){for(var t=!1,n=0;n<_n.length;n++)_n[n].routeTo(e)===!0&&(t=!0);for(var r=Jo.length;r--;)Jo[r](e);return t}function Dp(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 Np(t)}}function A0(e){if(!(e.ctrlKey||e.metaKey||e.altKey||e.shiftKey||e.button!==0))return Dp(e.currentTarget||e.target||this),$p(e)}function $p(e){return e&&(e.stopImmediatePropagation&&e.stopImmediatePropagation(),e.stopPropagation&&e.stopPropagation(),e.preventDefault()),!1}function T0(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(Dp(t))return $p(e)}while(t=t.parentNode)}}var oc=!1;function C0(){oc||(typeof addEventListener=="function"&&(Qe||addEventListener("popstate",function(){Mp(hs())}),addEventListener("click",T0)),oc=!0)}var an=function(e){function t(n){e.call(this,n),n.history&&(Qe=n.history),this.state={url:n.url||hs()},C0()}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=pt(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(){_n.push(this),this.updating=!0},t.prototype.componentDidMount=function(){var r=this;Qe&&(this.unlisten=Qe.listen(function(i){r.routeTo(""+(i.pathname||"")+(i.search||""))})),this.updating=!1},t.prototype.componentWillUnmount=function(){typeof this.unlisten=="function"&&this.unlisten(),_n.splice(_n.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(b0).sort(g0).map(function(o){var u=kp(i,o.props.path,o.props);if(u){if(a!==!1){var s={url:i,matches:u};return Rp(s,u),delete s.ref,delete s.key,Jd(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(pt(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}(at),I0=function(e){return B("a",Rp({onClick:A0},e))},L0=function(e){return B(e.component,e)};an.subscribers=Jo;an.getCurrentUrl=hs;an.route=Np;an.Router=an;an.Route=L0;an.Link=I0;an.exec=kp;const R0="application/json",jp="Content-Type",Nn=Symbol(),Bp=Symbol();function uc(e={}){var t;return(t=Object.entries(e).find(([n])=>n.toLowerCase()===jp.toLowerCase()))===null||t===void 0?void 0:t[1]}function sc(e){return/^application\/.*json.*/.test(e)}const wn=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]=wn(o,a,n):r[i]=a,r},{...e})},tr={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 k0(e,t=!1){tr.options=t?e:wn(tr.options,e)}function N0(e,t=!1){tr.polyfills=t?e:wn(tr.polyfills,e)}function M0(e){tr.errorType=e}const D0=e=>t=>e.reduceRight((n,r)=>r(n),t)||t;class Fp extends Error{}const $0=e=>{const t=Object.create(null);e=e._addons.reduce((v,g)=>g.beforeRequest&&g.beforeRequest(v,e._options,t)||v,e);const{_url:n,_options:r,_config:i,_catchers:a,_resolvers:o,_middlewares:u,_addons:s}=e,c=new Map(a),f=wn(i.options,r);let l=n;const d=D0(u)((v,g)=>(l=v,i.polyfill("fetch")(v,g)))(n,f),p=new Error,m=d.catch(v=>{throw{[Nn]:v}}).then(v=>{if(!v.ok){const g=new Fp;if(g.cause=p,g.stack=g.stack+`
4
+ CAUSE: `+p.stack,g.response=v,g.url=l,v.type==="opaque")throw g;return v.text().then(E=>{var O;if(g.message=E,i.errorType==="json"||((O=v.headers.get("Content-Type"))===null||O===void 0?void 0:O.split(";")[0])==="application/json")try{g.json=JSON.parse(E)}catch{}throw g.text=E,g.status=v.status,g})}return v}),h=v=>v.catch(g=>{const E=g.hasOwnProperty(Nn),O=E?g[Nn]:g,S=(O==null?void 0:O.status)&&c.get(O.status)||c.get(O==null?void 0:O.name)||E&&c.has(Nn)&&c.get(Nn);if(S)return S(O,e);const w=c.get(Bp);if(w)return w(O,e);throw O}),_=v=>g=>h(v?m.then(E=>E&&E[v]()).then(E=>g?g(E):E):m.then(E=>g?g(E):E)),b={_wretchReq:e,_fetchReq:d,_sharedState:t,res:_(null),json:_("json"),blob:_("blob"),formData:_("formData"),arrayBuffer:_("arrayBuffer"),text:_("text"),error(v,g){return c.set(v,g),this},badRequest(v){return this.error(400,v)},unauthorized(v){return this.error(401,v)},forbidden(v){return this.error(403,v)},notFound(v){return this.error(404,v)},timeout(v){return this.error(408,v)},internalError(v){return this.error(500,v)},fetchError(v){return this.error(Nn,v)}},y=s.reduce((v,g)=>({...v,...typeof g.resolver=="function"?g.resolver(v):g.resolver}),b);return o.reduce((v,g)=>g(v,e),y)},j0={_url:"",_options:{},_config:tr,_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:wn(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:wn(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:wn(this._options,{headers:t})}},accept(e){return this.headers({Accept:e})},content(e){return this.headers({[jp]: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(Bp,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=uc(r._options.headers),a=this._config.polyfill("FormData",!1),o=typeof n=="object"&&!(a&&n instanceof a)&&(!r._options.headers||!i||sc(i));return r=n?o?r.json(n,i):r.body(n):r,$0(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=uc(this._options.headers);return this.content(t||sc(n)&&n||R0).body(JSON.stringify(e))}};function nr(e="",t={}){return{...j0,_url:e,_options:t}}nr.default=nr;nr.options=k0;nr.errorType=M0;nr.polyfills=N0;nr.WretchError=Fp;function lc(e){return typeof e<"u"?e:""}const B0=(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,lc(f));else u.append(s,lc(c))}a=u.toString()}const o=e.split("?");return a?n||o.length<2?o[0]+"?"+a:e+"&"+a:n?o[0]:e},F0={wretch:{query(e,t=!1,n=!1){return{...this,_url:B0(this._url,e,t,n,this._config)}}}},fI=F0;var U0=0;function dI(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:--U0,__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 st={};(function(e){var t=J&&J.__spreadArray||function(S,w,P){if(P||arguments.length===2)for(var A=0,L=w.length,$;A<L;A++)($||!(A in w))&&($||($=Array.prototype.slice.call(w,0,A)),$[A]=w[A]);return S.concat($||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,$,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 $(L(A(P(w(S.apply(this,arguments))))))};case 7:return function(){return j($(L(A(P(w(S.apply(this,arguments)))))))};case 8:return function(){return I(j($(L(A(P(w(S.apply(this,arguments))))))))};case 9:return function(){return C(I(j($(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 p(S){return S+1}e.increment=p;function m(S){return S-1}e.decrement=m;function h(S){throw new Error("Called `absurd` function which should be uncallable")}e.absurd=h;function _(S){return function(w){return S.apply(void 0,w)}}e.tupled=_;function b(S){return function(){for(var w=[],P=0;P<arguments.length;P++)w[P]=arguments[P];return S(w)}}e.untupled=b;function y(S,w,P,A,L,$,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 $(L(A(P(w(S)))));case 7:return j($(L(A(P(w(S))))));case 8:return I(j($(L(A(P(w(S)))))));case 9:return C(I(j($(L(A(P(w(S))))))));default:{for(var R=arguments[0],D=1;D<arguments.length;D++)R=arguments[D](R);return R}}}e.pipe=y,e.hole=h;var v=function(S,w){return w};e.SK=v;function g(S){return function(w){return!S(w)}}e.not=g;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})(st);function ct(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 rr(e){return!!e&&!!e[Ze]}function An(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)===V0}(e)||Array.isArray(e)||!!e[yc]||!!(!((t=e.constructor)===null||t===void 0)&&t[yc])||ms(e)||vs(e))}function Gr(e,t,n){n===void 0&&(n=!1),hr(e)===0?(n?Object.keys:ws)(e).forEach(function(r){n&&typeof r=="symbol"||t(r,e[r],e)}):e.forEach(function(r,i){return t(i,r,e)})}function hr(e){var t=e[Ze];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:ms(e)?2:vs(e)?3:0}function Zo(e,t){return hr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function x0(e,t){return hr(e)===2?e.get(t):e[t]}function Up(e,t,n){var r=hr(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function H0(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function ms(e){return q0&&e instanceof Map}function vs(e){return G0&&e instanceof Set}function pn(e){return e.o||e.t}function ys(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Y0(e);delete t[Ze];for(var n=ws(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 gs(e,t){return t===void 0&&(t=!1),bs(e)||rr(e)||!An(e)||(hr(e)>1&&(e.set=e.add=e.clear=e.delete=K0),Object.freeze(e),t&&Gr(e,function(n,r){return gs(r,!0)},!0)),e}function K0(){ct(2)}function bs(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Ot(e){var t=X0[e];return t||ct(18,e),t}function cc(){return Vr}function no(e,t){t&&(Ot("Patches"),e.u=[],e.s=[],e.v=t)}function ta(e){eu(e),e.p.forEach(z0),e.p=null}function eu(e){e===Vr&&(Vr=e.l)}function fc(e){return Vr={p:[],l:Vr,h:e,m:!0,_:0}}function z0(e){var t=e[Ze];t.i===0||t.i===1?t.j():t.g=!0}function ro(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.O||Ot("ES5").S(t,e,r),r?(n[Ze].P&&(ta(t),ct(4)),An(e)&&(e=na(t,e),t.l||ra(t,e)),t.u&&Ot("Patches").M(n[Ze].t,e,t.u,t.s)):e=na(t,n,[]),ta(t),t.u&&t.v(t.u,t.s),e!==xp?e:void 0}function na(e,t,n){if(bs(t))return t;var r=t[Ze];if(!r)return Gr(t,function(u,s){return dc(e,r,t,u,s,n)},!0),t;if(r.A!==e)return t;if(!r.P)return ra(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=r.i===4||r.i===5?r.o=ys(r.k):r.o,a=i,o=!1;r.i===3&&(a=new Set(i),i.clear(),o=!0),Gr(a,function(u,s){return dc(e,r,i,u,s,n,o)}),ra(e,i,!1),n&&e.u&&Ot("Patches").N(r,n,e.u,e.s)}return r.o}function dc(e,t,n,r,i,a,o){if(rr(i)){var u=na(e,i,a&&t&&t.i!==3&&!Zo(t.R,r)?a.concat(r):void 0);if(Up(n,r,u),!rr(u))return;e.m=!1}else o&&n.add(i);if(An(i)&&!bs(i)){if(!e.h.D&&e._<1)return;na(e,i),t&&t.A.l||ra(e,i)}}function ra(e,t,n){n===void 0&&(n=!1),!e.l&&e.h.D&&e.m&&gs(t,n)}function io(e,t){var n=e[Ze];return(n?pn(n):e)[t]}function pc(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 tu(e){e.P||(e.P=!0,e.l&&tu(e.l))}function ao(e){e.o||(e.o=ys(e.t))}function nu(e,t,n){var r=ms(t)?Ot("MapSet").F(t,n):vs(t)?Ot("MapSet").T(t,n):e.O?function(i,a){var o=Array.isArray(i),u={i:o?1:0,A:a?a.A:cc(),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=kr);var f=Proxy.revocable(s,c),l=f.revoke,d=f.proxy;return u.k=d,u.j=l,d}(t,n):Ot("ES5").J(t,n);return(n?n.A:cc()).p.push(r),r}function W0(e){return rr(e)||ct(22,e),function t(n){if(!An(n))return n;var r,i=n[Ze],a=hr(n);if(i){if(!i.P&&(i.i<4||!Ot("ES5").K(i)))return i.t;i.I=!0,r=hc(n,a),i.I=!1}else r=hc(n,a);return Gr(r,function(o,u){i&&x0(i.t,o)===u||Up(r,o,t(u))}),a===3?new Set(r):r}(e)}function hc(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return ys(e)}var mc,Vr,_s=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",q0=typeof Map<"u",G0=typeof Set<"u",vc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",xp=_s?Symbol.for("immer-nothing"):((mc={})["immer-nothing"]=!0,mc),yc=_s?Symbol.for("immer-draftable"):"__$immer_draftable",Ze=_s?Symbol.for("immer-state"):"__$immer_state",V0=""+Object.prototype.constructor,ws=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Y0=Object.getOwnPropertyDescriptors||function(e){var t={};return ws(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t},X0={},ru={get:function(e,t){if(t===Ze)return e;var n=pn(e);if(!Zo(n,t))return function(i,a,o){var u,s=pc(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||!An(r)?r:r===io(e.t,t)?(ao(e),e.o[t]=nu(e.A.h,r,e)):r},has:function(e,t){return t in pn(e)},ownKeys:function(e){return Reflect.ownKeys(pn(e))},set:function(e,t,n){var r=pc(pn(e),t);if(r!=null&&r.set)return r.set.call(e.k,n),!0;if(!e.P){var i=io(pn(e),t),a=i==null?void 0:i[Ze];if(a&&a.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(H0(n,i)&&(n!==void 0||Zo(e.t,t)))return!0;ao(e),tu(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 io(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,ao(e),tu(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=pn(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty:function(){ct(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){ct(12)}},kr={};Gr(ru,function(e,t){kr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),kr.deleteProperty=function(e,t){return kr.set.call(this,e,t,void 0)},kr.set=function(e,t,n){return ru.set.call(this,e[0],t,n,e[0])};var Q0=function(){function e(n){var r=this;this.O=vc,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(h){var _=this;h===void 0&&(h=u);for(var b=arguments.length,y=Array(b>1?b-1:0),v=1;v<b;v++)y[v-1]=arguments[v];return s.produce(h,function(g){var E;return(E=a).call.apply(E,[_,g].concat(y))})}}var c;if(typeof a!="function"&&ct(6),o!==void 0&&typeof o!="function"&&ct(7),An(i)){var f=fc(r),l=nu(r,i,void 0),d=!0;try{c=a(l),d=!1}finally{d?ta(f):eu(f)}return typeof Promise<"u"&&c instanceof Promise?c.then(function(h){return no(f,o),ro(h,f)},function(h){throw ta(f),h}):(no(f,o),ro(c,f))}if(!i||typeof i!="object"){if((c=a(i))===void 0&&(c=i),c===xp&&(c=void 0),r.D&&gs(c,!0),o){var p=[],m=[];Ot("Patches").M(i,c,p,m),o(p,m)}return c}ct(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(p){return i.apply(void 0,[p].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){An(n)||ct(8),rr(n)&&(n=W0(n));var r=fc(this),i=nu(this,n,void 0);return i[Ze].C=!0,eu(r),i},t.finishDraft=function(n,r){var i=n&&n[Ze],a=i.A;return no(a,r),ro(void 0,a)},t.setAutoFreeze=function(n){this.D=n},t.setUseProxies=function(n){n&&!vc&&ct(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=Ot("Patches").$;return rr(n)?o(n,r):this.produce(n,function(u){return o(u,r)})},e}(),et=new Q0,pI=et.produce;et.produceWithPatches.bind(et);et.setAutoFreeze.bind(et);et.setUseProxies.bind(et);et.applyPatches.bind(et);et.createDraft.bind(et);et.finishDraft.bind(et);var J0={},ir={},xe={},mr={};(function(e){var t=J&&J.__spreadArray||function(S,w,P){if(P||arguments.length===2)for(var A=0,L=w.length,$;A<L;A++)($||!(A in w))&&($||($=Array.prototype.slice.call(w,0,A)),$[A]=w[A]);return S.concat($||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=st,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 p=function(S){return S.slice(1)};e.tail=p,e.emptyReadonlyArray=[],e.emptyRecord={},e.has=Object.prototype.hasOwnProperty;var m=function(S){return t([S[0]],S.slice(1),!0)};e.fromReadonlyNonEmptyArray=m;var h=function(S){return function(w,P){return function(){for(var A=[],L=0;L<arguments.length;L++)A[L]=arguments[L];var $=w.apply(void 0,A);return S.fromEither($==null?(0,e.left)(P.apply(void 0,A)):(0,e.right)($))}}};e.liftNullable=h;var _=function(S){return function(w,P){return function(){for(var A=[],L=0;L<arguments.length;L++)A[L]=arguments[L];var $=w.apply(void 0,A);return S.fromEither((0,e.isNone)($)?(0,e.left)(P.apply(void 0,A)):(0,e.right)($.value))}}};e.liftOption=_;var b=function(S,w){return(0,n.dual)(3,function(P,A,L){return w.flatMap(P,(0,e.liftNullable)(S)(A,L))})};e.flatMapNullable=b;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 v=function(S,w){return(0,n.dual)(2,function(P,A){return w.flatMap(P,function(L){return S.fromEither(A(L))})})};e.flatMapEither=v;var g=function(S,w){return(0,n.dual)(2,function(P,A){return w.flatMap(P,function(L){return S.fromIO(A(L))})})};e.flatMapIO=g;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})(mr);var Z0=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]}),eb=J&&J.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),tb=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)&&Z0(t,e,n);return eb(t,e),t};Object.defineProperty(xe,"__esModule",{value:!0});xe.sequenceS=xe.sequenceT=xe.getApplySemigroup=xe.apS=xe.apSecond=xe.apFirst=xe.ap=void 0;var nb=st,rb=tb(mr);function ib(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)}}}xe.ap=ib;function ab(e){return function(t){return function(n){return e.ap(e.map(n,function(r){return function(){return r}}),t)}}}xe.apFirst=ab;function ob(e){return function(t){return function(n){return e.ap(e.map(n,function(){return function(r){return r}}),t)}}}xe.apSecond=ob;function ub(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)}}}xe.apS=ub;function sb(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)}}}}xe.getApplySemigroup=sb;function Es(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):Es(e,t-1,i)}}var oo={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 lb(e){return rb.has.call(oo,e)||(oo[e]=Es(nb.tuple,e-1,[])),oo[e]}function cb(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=t.length,i=lb(r),a=e.map(t[0],i),o=1;o<r;o++)a=e.ap(a,t[o]);return a}}xe.sequenceT=cb;function fb(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 Es(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 db(e){return function(t){for(var n=Object.keys(t),r=n.length,i=fb(n),a=e.map(t[n[0]],i),o=1;o<r;o++)a=e.ap(a,t[n[o]]);return a}}xe.sequenceS=db;var Fe={};Object.defineProperty(Fe,"__esModule",{value:!0});Fe.asUnit=Fe.as=Fe.getFunctorComposition=Fe.let=Fe.bindTo=Fe.flap=Fe.map=void 0;var pb=st;function Hp(e,t){return function(n){return function(r){return e.map(r,function(i){return t.map(i,n)})}}}Fe.map=Hp;function hb(e){return function(t){return function(n){return e.map(n,function(r){return r(t)})}}}Fe.flap=hb;function mb(e){return function(t){return function(n){return e.map(n,function(r){var i;return i={},i[t]=r,i})}}}Fe.bindTo=mb;function vb(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))})}}}Fe.let=vb;function yb(e,t){var n=Hp(e,t);return{map:function(r,i){return(0,pb.pipe)(r,n(i))}}}Fe.getFunctorComposition=yb;function Kp(e){return function(t,n){return e.map(t,function(){return n})}}Fe.as=Kp;function gb(e){var t=Kp(e);return function(n){return t(n,void 0)}}Fe.asUnit=gb;Object.defineProperty(ir,"__esModule",{value:!0});ir.getApplicativeComposition=ir.getApplicativeMonoid=void 0;var zp=xe,bb=st,_b=Fe;function wb(e){var t=(0,zp.getApplySemigroup)(e);return function(n){return{concat:t(n).concat,empty:e.of(n.empty)}}}ir.getApplicativeMonoid=wb;function Eb(e,t){var n=(0,_b.getFunctorComposition)(e,t).map,r=(0,zp.ap)(e,t);return{map:n,of:function(i){return e.of(t.of(i))},ap:function(i,a){return(0,bb.pipe)(i,r(a))}}}ir.getApplicativeComposition=Eb;var Nt={};Object.defineProperty(Nt,"__esModule",{value:!0});Nt.bind=Nt.tap=Nt.chainFirst=void 0;function Sb(e){var t=Wp(e);return function(n){return function(r){return t(r,n)}}}Nt.chainFirst=Sb;function Wp(e){return function(t,n){return e.chain(t,function(r){return e.map(n(r),function(){return r})})}}Nt.tap=Wp;function Ob(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))})})}}}Nt.bind=Ob;var Te={},Pb=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]}),Ab=J&&J.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Tb=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)&&Pb(t,e,n);return Ab(t,e),t};Object.defineProperty(Te,"__esModule",{value:!0});Te.tapEither=Te.filterOrElse=Te.chainFirstEitherK=Te.chainEitherK=Te.fromEitherK=Te.chainOptionK=Te.fromOptionK=Te.fromPredicate=Te.fromOption=void 0;var Cb=Nt,qp=st,En=Tb(mr);function Gp(e){return function(t){return function(n){return e.fromEither(En.isNone(n)?En.left(t()):En.right(n.value))}}}Te.fromOption=Gp;function Ib(e){return function(t,n){return function(r){return e.fromEither(t(r)?En.right(r):En.left(n(r)))}}}Te.fromPredicate=Ib;function Vp(e){var t=Gp(e);return function(n){var r=t(n);return function(i){return(0,qp.flow)(i,r)}}}Te.fromOptionK=Vp;function Lb(e,t){var n=Vp(e);return function(r){var i=n(r);return function(a){return function(o){return t.chain(o,i(a))}}}}Te.chainOptionK=Lb;function Ss(e){return function(t){return(0,qp.flow)(t,e.fromEither)}}Te.fromEitherK=Ss;function Rb(e,t){var n=Ss(e);return function(r){return function(i){return t.chain(i,n(r))}}}Te.chainEitherK=Rb;function kb(e,t){var n=Yp(e,t);return function(r){return function(i){return n(i,r)}}}Te.chainFirstEitherK=kb;function Nb(e,t){return function(n,r){return function(i){return t.chain(i,function(a){return e.fromEither(n(a)?En.right(a):En.left(r(a)))})}}}Te.filterOrElse=Nb;function Yp(e,t){var n=Ss(e),r=(0,Cb.tap)(t);return function(i,a){return r(i,n(a))}}Te.tapEither=Yp;var Xp={};(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=st,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(p){return d(p)||l(p)}}};e.or=c;var f=function(l){return function(d){return function(p){return d(p)&&l(p)}}};e.and=f})(Xp);var Qp={},it={};Object.defineProperty(it,"__esModule",{value:!0});it.concatAll=it.endo=it.filterSecond=it.filterFirst=it.reverse=void 0;var Mb=function(e){return{concat:function(t,n){return e.concat(n,t)}}};it.reverse=Mb;var Db=function(e){return function(t){return{concat:function(n,r){return e(n)?t.concat(n,r):r}}}};it.filterFirst=Db;var $b=function(e){return function(t){return{concat:function(n,r){return e(r)?t.concat(n,r):n}}}};it.filterSecond=$b;var jb=function(e){return function(t){return{concat:function(n,r){return t.concat(e(n),e(r))}}}};it.endo=jb;var Bb=function(e){return function(t){return function(n){return n.reduce(function(r,i){return e.concat(r,i)},t)}}};it.concatAll=Bb;var Jp={},Zp={};(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=st,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 p in f)if(!f[p].equals(l[p],d[p]))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,p){return f.every(function(m,h){return m.equals(d[h],p[h])})})};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,p){return l.equals(f(d),f(p))})}};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,p){return f.equals(d,p)&&l.equals(d,p)})}}};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()}}})(Zp);(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=Zp,n=st,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 p=function(O){return function(S,w){return O.compare(S,w)===1}};e.gt=p;var m=function(O){return function(S,w){return O.compare(S,w)!==1}};e.leq=m;var h=function(O){return function(S,w){return O.compare(S,w)!==-1}};e.geq=h;var _=function(O){return function(S,w){return S===w||O.compare(S,w)<1?S:w}};e.min=_;var b=function(O){return function(S,w){return S===w||O.compare(S,w)>-1?S:w}};e.max=b;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 v=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=v,e.getTupleOrd=e.tuple,e.getDualOrd=e.reverse,e.ord=e.Contravariant;function g(O,S){return O<S?-1:O>S?1:0}var E={equals:t.eqStrict.equals,compare:g};e.ordBoolean=E,e.ordString=E,e.ordNumber=E,e.ordDate=(0,n.pipe)(e.ordNumber,(0,e.contramap)(function(O){return O.valueOf()}))})(Jp);(function(e){var t=J&&J.__createBinding||(Object.create?function(y,v,g,E){E===void 0&&(E=g);var O=Object.getOwnPropertyDescriptor(v,g);(!O||("get"in O?!v.__esModule:O.writable||O.configurable))&&(O={enumerable:!0,get:function(){return v[g]}}),Object.defineProperty(y,E,O)}:function(y,v,g,E){E===void 0&&(E=g),y[E]=v[g]}),n=J&&J.__setModuleDefault||(Object.create?function(y,v){Object.defineProperty(y,"default",{enumerable:!0,value:v})}:function(y,v){y.default=v}),r=J&&J.__importStar||function(y){if(y&&y.__esModule)return y;var v={};if(y!=null)for(var g in y)g!=="default"&&Object.prototype.hasOwnProperty.call(y,g)&&t(v,y,g);return n(v,y),v};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=st,a=r(mr),o=r(it),u=r(Jp),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(v,g){var E={};for(var O in y)a.has.call(y,O)&&(E[O]=y[O].concat(v[O],g[O]));return E}}};e.struct=l;var d=function(){for(var y=[],v=0;v<arguments.length;v++)y[v]=arguments[v];return{concat:function(g,E){return y.map(function(O,S){return O.concat(g[S],E[S])})}}};e.tuple=d;var p=function(y){return function(v){return{concat:function(g,E){return v.concat(g,v.concat(y,E))}}}};e.intercalate=p;var m=function(){return{concat:i.identity}};e.first=m;var h=function(){return{concat:function(y,v){return v}}};e.last=h,e.concatAll=o.concatAll,e.semigroupVoid=(0,e.constant)(void 0);var _=function(){return{concat:function(y,v){return Object.assign({},y,v)}}};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 b(y){var v=(0,e.concatAll)(y);return function(g,E){return E===void 0?v(g):v(g)(E)}}e.fold=b,e.semigroupAll={concat:function(y,v){return y&&v}},e.semigroupAny={concat:function(y,v){return y||v}},e.getFunctionSemigroup=i.getSemigroup,e.semigroupString={concat:function(y,v){return y+v}},e.semigroupSum={concat:function(y,v){return y+v}},e.semigroupProduct={concat:function(y,v){return y*v}}})(Qp);var eh={};(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=st,n=Fe,r=function(d,p){return{left:d,right:p}};e.separated=r;var i=function(d,p){return(0,t.pipe)(d,(0,e.map)(p))},a=function(d,p){return(0,t.pipe)(d,(0,e.mapLeft)(p))},o=function(d,p,m){return(0,t.pipe)(d,(0,e.bimap)(p,m))},u=function(d){return function(p){return(0,e.separated)((0,e.left)(p),d((0,e.right)(p)))}};e.map=u;var s=function(d){return function(p){return(0,e.separated)(d((0,e.left)(p)),(0,e.right)(p))}};e.mapLeft=s;var c=function(d,p){return function(m){return(0,e.separated)(d((0,e.left)(m)),p((0,e.right)(m)))}};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})(eh);var en={},Fb=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]}),Ub=J&&J.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),xb=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)&&Fb(t,e,n);return Ub(t,e),t};Object.defineProperty(en,"__esModule",{value:!0});en.filterE=en.witherDefault=en.wiltDefault=void 0;var gc=xb(mr);function Hb(e,t){return function(n){var r=e.traverse(n);return function(i,a){return n.map(r(i,a),t.separate)}}}en.wiltDefault=Hb;function Kb(e,t){return function(n){var r=e.traverse(n);return function(i,a){return n.map(r(i,a),t.compact)}}}en.witherDefault=Kb;function zb(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?gc.some(a):gc.none})})}}}}en.filterE=zb;var Ta={};Object.defineProperty(Ta,"__esModule",{value:!0});Ta.guard=void 0;function Wb(e,t){return function(n){return n?t.of(void 0):e.zero()}}Ta.guard=Wb;(function(e){var t=J&&J.__createBinding||(Object.create?function(k,M,K,Pe){Pe===void 0&&(Pe=K);var Ye=Object.getOwnPropertyDescriptor(M,K);(!Ye||("get"in Ye?!M.__esModule:Ye.writable||Ye.configurable))&&(Ye={enumerable:!0,get:function(){return M[K]}}),Object.defineProperty(k,Pe,Ye)}:function(k,M,K,Pe){Pe===void 0&&(Pe=K),k[Pe]=M[K]}),n=J&&J.__setModuleDefault||(Object.create?function(k,M){Object.defineProperty(k,"default",{enumerable:!0,value:M})}:function(k,M){k.default=M}),r=J&&J.__importStar||function(k){if(k&&k.__esModule)return k;var M={};if(k!=null)for(var K in k)K!=="default"&&Object.prototype.hasOwnProperty.call(k,K)&&t(M,k,K);return n(M,k),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=ir,a=xe,o=r(Nt),u=Te,s=st,c=Fe,f=r(mr),l=Xp,d=Qp,p=eh,m=en,h=Ta;e.none=f.none,e.some=f.some;function _(k){return function(M){return k(M)?(0,e.some)(M):e.none}}e.fromPredicate=_;var b=function(k){return k._tag==="Right"?e.none:(0,e.some)(k.left)};e.getLeft=b;var y=function(k){return k._tag==="Left"?e.none:(0,e.some)(k.right)};e.getRight=y;var v=function(k,M){return(0,s.pipe)(k,(0,e.map)(M))},g=function(k,M){return(0,s.pipe)(k,(0,e.ap)(M))},E=function(k,M,K){return(0,s.pipe)(k,(0,e.reduce)(M,K))},O=function(k){var M=(0,e.foldMap)(k);return function(K,Pe){return(0,s.pipe)(K,M(Pe))}},S=function(k,M,K){return(0,s.pipe)(k,(0,e.reduceRight)(M,K))},w=function(k){var M=(0,e.traverse)(k);return function(K,Pe){return(0,s.pipe)(K,M(Pe))}},P=function(k,M){return(0,s.pipe)(k,(0,e.alt)(M))},A=function(k,M){return(0,s.pipe)(k,(0,e.filter)(M))},L=function(k,M){return(0,s.pipe)(k,(0,e.filterMap)(M))},$=function(k,M){return(0,s.pipe)(k,(0,e.extend)(M))},j=function(k,M){return(0,s.pipe)(k,(0,e.partition)(M))},I=function(k,M){return(0,s.pipe)(k,(0,e.partitionMap)(M))};e.URI="Option";var C=function(k){return{show:function(M){return(0,e.isNone)(M)?"none":"some(".concat(k.show(M.value),")")}}};e.getShow=C;var R=function(k){return{equals:function(M,K){return M===K||((0,e.isNone)(M)?(0,e.isNone)(K):(0,e.isNone)(K)?!1:k.equals(M.value,K.value))}}};e.getEq=R;var D=function(k){return{equals:(0,e.getEq)(k).equals,compare:function(M,K){return M===K?0:(0,e.isSome)(M)?(0,e.isSome)(K)?k.compare(M.value,K.value):1:-1}}};e.getOrd=D;var F=function(k){return{concat:function(M,K){return(0,e.isNone)(M)?K:(0,e.isNone)(K)?M:(0,e.some)(k.concat(M.value,K.value))},empty:e.none}};e.getMonoid=F;var Y=function(k){return function(M){return(0,e.isNone)(M)?e.none:(0,e.some)(k(M.value))}};e.map=Y,e.Functor={URI:e.URI,map:v},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 q=function(k){return function(M){return(0,e.isNone)(M)||(0,e.isNone)(k)?e.none:(0,e.some)(M.value(k.value))}};e.ap=q,e.Apply={URI:e.URI,map:v,ap:g},e.Applicative={URI:e.URI,map:v,ap:g,of:e.of},e.flatMap=(0,s.dual)(2,function(k,M){return(0,e.isNone)(k)?e.none:M(k.value)}),e.Chain={URI:e.URI,map:v,ap:g,chain:e.flatMap},e.Monad={URI:e.URI,map:v,ap:g,of:e.of,chain:e.flatMap};var X=function(k,M){return function(K){return(0,e.isNone)(K)?k:M(k,K.value)}};e.reduce=X;var x=function(k){return function(M){return function(K){return(0,e.isNone)(K)?k.empty:M(K.value)}}};e.foldMap=x;var U=function(k,M){return function(K){return(0,e.isNone)(K)?k:M(K.value,k)}};e.reduceRight=U,e.Foldable={URI:e.URI,reduce:E,foldMap:O,reduceRight:S},e.orElse=(0,s.dual)(2,function(k,M){return(0,e.isNone)(k)?M():k}),e.altW=e.orElse,e.alt=e.orElse,e.Alt={URI:e.URI,map:v,alt:P};var W=function(){return e.none};e.zero=W,e.Zero={URI:e.URI,zero:e.zero},e.guard=(0,h.guard)(e.Zero,e.Pointed),e.Alternative={URI:e.URI,map:v,ap:g,of:e.of,alt:P,zero:e.zero};var H=function(k){return function(M){return(0,e.isNone)(M)?e.none:(0,e.some)(k(M))}};e.extend=H,e.Extend={URI:e.URI,map:v,extend:$},e.compact=(0,e.flatMap)(s.identity);var re=(0,p.separated)(e.none,e.none),fe=function(k){return(0,e.isNone)(k)?re:(0,p.separated)((0,e.getLeft)(k.value),(0,e.getRight)(k.value))};e.separate=fe,e.Compactable={URI:e.URI,compact:e.compact,separate:e.separate};var ie=function(k){return function(M){return(0,e.isNone)(M)?e.none:k(M.value)?M:e.none}};e.filter=ie;var Q=function(k){return function(M){return(0,e.isNone)(M)?e.none:k(M.value)}};e.filterMap=Q;var ae=function(k){return function(M){return(0,p.separated)(A(M,(0,l.not)(k)),A(M,k))}};e.partition=ae;var oe=function(k){return(0,s.flow)((0,e.map)(k),e.separate)};e.partitionMap=oe,e.Filterable={URI:e.URI,map:v,compact:e.compact,separate:e.separate,filter:A,filterMap:L,partition:j,partitionMap:I};var Ee=function(k){return function(M){return function(K){return(0,e.isNone)(K)?k.of(e.none):k.map(M(K.value),e.some)}}};e.traverse=Ee;var fn=function(k){return function(M){return(0,e.isNone)(M)?k.of(e.none):k.map(M.value,e.some)}};e.sequence=fn,e.Traversable={URI:e.URI,map:v,reduce:E,foldMap:O,reduceRight:S,traverse:w,sequence:e.sequence};var $e=(0,m.witherDefault)(e.Traversable,e.Compactable),Pr=(0,m.wiltDefault)(e.Traversable,e.Compactable),Ya=function(k){var M=$e(k);return function(K){return function(Pe){return M(Pe,K)}}};e.wither=Ya;var Xa=function(k){var M=Pr(k);return function(K){return function(Pe){return M(Pe,K)}}};e.wilt=Xa,e.Witherable={URI:e.URI,map:v,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:$e,wilt:Pr};var pv=function(){return e.none};e.throwError=pv,e.MonadThrow={URI:e.URI,map:v,ap:g,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 hv=function(k){return k._tag==="None"};e.isNone=hv;var mv=function(k,M){return function(K){return(0,e.isNone)(K)?k():M(K.value)}};e.matchW=mv,e.foldW=e.matchW,e.match=e.matchW,e.fold=e.match;var vv=function(k){return function(M){return(0,e.isNone)(M)?k():M.value}};e.getOrElseW=vv,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 yv=function(k){return k==null?e.none:(0,e.some)(k)};e.fromNullable=yv;var gv=function(k){try{return(0,e.some)(k())}catch{return e.none}};e.tryCatch=gv;var bv=function(k){return function(){for(var M=[],K=0;K<arguments.length;K++)M[K]=arguments[K];return(0,e.tryCatch)(function(){return k.apply(void 0,M)})}};e.tryCatchK=bv;var _v=function(k){return(0,s.flow)(k,e.fromNullable)};e.fromNullableK=_v;var wv=function(k){return function(M){return(0,e.isNone)(M)?e.none:(0,e.fromNullable)(k(M.value))}};e.chainNullableK=wv,e.toNullable=(0,e.match)(s.constNull,s.identity),e.toUndefined=(0,e.match)(s.constUndefined,s.identity);function ml(k){return function(M,K){if(K===void 0){var Pe=ml(k);return function(Ye){return Pe(M,Ye)}}return(0,e.isNone)(K)?!1:k.equals(M,K.value)}}e.elem=ml;var Ev=function(k){return function(M){return(0,e.isNone)(M)?!1:k(M.value)}};e.exists=Ev,e.Do=(0,e.of)(f.emptyRecord),e.bindTo=(0,c.bindTo)(e.Functor);var Sv=(0,c.let)(e.Functor);e.let=Sv,e.bind=o.bind(e.Chain),e.apS=(0,a.apS)(e.Apply),e.ApT=(0,e.of)(f.emptyReadonlyArray);var Ov=function(k){return function(M){var K=k(0,f.head(M));if((0,e.isNone)(K))return e.none;for(var Pe=[K.value],Ye=1;Ye<M.length;Ye++){var vl=k(Ye,M[Ye]);if((0,e.isNone)(vl))return e.none;Pe.push(vl.value)}return(0,e.some)(Pe)}};e.traverseReadonlyNonEmptyArrayWithIndex=Ov;var Pv=function(k){var M=(0,e.traverseReadonlyNonEmptyArrayWithIndex)(k);return function(K){return f.isNonEmpty(K)?M(K):e.ApT}};e.traverseReadonlyArrayWithIndex=Pv,e.traverseArrayWithIndex=e.traverseReadonlyArrayWithIndex;var Av=function(k){return(0,e.traverseReadonlyArrayWithIndex)(function(M,K){return k(K)})};e.traverseArray=Av,e.sequenceArray=(0,e.traverseArray)(s.identity),e.chain=e.flatMap,e.chainFirst=e.tap;function Tv(k){return function(M){return(0,e.isSome)(k(M))}}e.getRefinement=Tv,e.mapNullable=e.chainNullableK,e.option={URI:e.URI,map:v,of:e.of,ap:g,chain:e.flatMap,reduce:E,foldMap:O,reduceRight:S,traverse:w,sequence:e.sequence,zero:e.zero,alt:P,extend:$,compact:e.compact,separate:e.separate,filter:A,filterMap:L,partition:j,partitionMap:I,wither:$e,wilt:Pr,throwError:e.throwError},e.getApplySemigroup=(0,a.getApplySemigroup)(e.Apply),e.getApplyMonoid=(0,i.getApplicativeMonoid)(e.Applicative);var Cv=function(){return(0,e.getMonoid)((0,d.first)())};e.getFirstMonoid=Cv;var Iv=function(){return(0,e.getMonoid)((0,d.last)())};e.getLastMonoid=Iv})(J0);var qb=Object.defineProperty,Gb=(e,t,n)=>t in e?qb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,uo=(e,t,n)=>(Gb(e,typeof t!="symbol"?t+"":t,n),n);let Vb=class{constructor(){uo(this,"current",this.detect()),uo(this,"handoffState","pending"),uo(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"}},Mt=new Vb,ke=(e,t)=>{Mt.isServer?de(e,t):kn(e,t)};function Dt(e){let t=ne(e);return ke(()=>{t.current=e},[e]),t}function Ca(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function yt(){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 Ca(()=>{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=yt();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 vr(){let[e]=Ue(yt);return de(()=>()=>e.dispose(),[e]),e}let ee=function(e){let t=Dt(e);return Z.useCallback((...n)=>t.current(...n),[t])};function Yb(){let e=typeof document>"u";return"useSyncExternalStore"in er?(t=>t.useSyncExternalStore)(er)(()=>()=>{},()=>!1,()=>!e):!1}function yr(){let e=Yb(),[t,n]=Ue(Mt.isHandoffComplete);return t&&Mt.isHandoffComplete===!1&&n(!1),de(()=>{t!==!0&&n(!0)},[t]),de(()=>Mt.handoff(),[]),e?!1:t}var bc;let tt=(bc=Z.useId)!=null?bc:function(){let e=yr(),[t,n]=Z.useState(e?()=>Mt.nextId():null);return ke(()=>{t===null&&n(Mt.nextId())},[t]),t!=null?""+t:void 0};function Oe(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,Oe),r}function ai(e){return Mt.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let iu=["[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 It=(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))(It||{}),th=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(th||{}),Xb=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Xb||{});function nh(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(iu)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var Os=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Os||{});function Ps(e,t=0){var n;return e===((n=ai(e))==null?void 0:n.body)?!1:Oe(t,{0(){return e.matches(iu)},1(){let r=e;for(;r!==null;){if(r.matches(iu))return!0;r=r.parentElement}return!1}})}function rh(e){let t=ai(e);yt().nextFrame(()=>{t&&!Ps(t.activeElement,0)&&tn(e)})}var Qb=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Qb||{});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 tn(e){e==null||e.focus({preventScroll:!0})}let Jb=["textarea","input"].join(",");function Zb(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,Jb))!=null?n:!1}function ih(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 e1(e,t){return jr(nh(),t,{relativeTo:e})}function jr(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?ih(e):e:nh(e);i.length>0&&o.length>1&&(o=o.filter(p=>!i.includes(p))),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 p=s+f;if(t&16)p=(p+l)%l;else{if(p<0)return 3;if(p>=l)return 1}d=o[p],d==null||d.focus(c),f+=u}while(d!==a.activeElement);return t&6&&Zb(d)&&d.select(),2}function yi(e,t,n){let r=Dt(t);de(()=>{function i(a){r.current(a)}return document.addEventListener(e,i,n),()=>document.removeEventListener(e,i,n)},[e,n])}function ah(e,t,n){let r=Dt(t);de(()=>{function i(a){r.current(a)}return window.addEventListener(e,i,n),()=>window.removeEventListener(e,i,n)},[e,n])}function oh(e,t,n=!0){let r=ne(!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!Ps(s,Os.Loose)&&s.tabIndex!==-1&&o.preventDefault(),t(o,s)}let a=ne(null);yi("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),yi("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),yi("click",o=>{a.current&&(i(o,()=>a.current),a.current=null)},!0),yi("touchend",o=>i(o,()=>o.target instanceof HTMLElement?o.target:null),!0),ah("blur",o=>i(o,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function _c(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 As(e,t){let[n,r]=Ue(()=>_c(e));return ke(()=>{r(_c(e))},[e.type,e.as]),ke(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&r("button")},[n,t]),n}let uh=Symbol();function sh(e,t=!0){return Object.assign(e,{[uh]:t})}function Re(...e){let t=ne(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[uh]))?void 0:n}function t1({container:e,accept:t,walk:n,enabled:r=!0}){let i=ne(t),a=ne(n);de(()=>{i.current=t,a.current=n},[t,n]),ke(()=>{if(!e||!r)return;let o=ai(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 n1(e){throw new Error("Unexpected object: "+e)}var ft=(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))(ft||{});function r1(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:n1(e)}})();return a===-1?r:a}function ia(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}var on=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(on||{}),Xt=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Xt||{});function _e({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:a=!0,name:o}){let u=lh(t,e);if(a)return gi(u,n,r,o);let s=i??0;if(s&2){let{static:c=!1,...f}=u;if(c)return gi(f,n,r,o)}if(s&1){let{unmount:c=!0,...f}=u;return Oe(c?0:1,{0(){return null},1(){return gi({...f,hidden:!0,style:{display:"none"}},n,r,o)}})}return gi(u,n,r,o)}function gi(e,t={},n,r){let{as:i=n,children:a,refName:o="ref",...u}=so(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[p,m]of Object.entries(t))typeof m=="boolean"&&(l=!0),m===!0&&d.push(p);l&&(f["data-headlessui-state"]=d.join(" "))}if(i===be&&Object.keys(au(u)).length>0){if(!pr(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(m=>` - ${m}`).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(m=>` - ${m}`).join(`
6
6
  `)].join(`
7
- `));let l=c.props,d=typeof(l==null?void 0:l.className)=="function"?(...m)=>ia(l==null?void 0:l.className(...m),u.className):ia(l==null?void 0:l.className,u.className),p=d?{className:d}:{};return fs(c,Object.assign({},sh(c.props,au(so(u,["ref"]))),f,s,t1(c.ref,s.ref),p))}return B(i,Object.assign({},so(u,["ref"]),i!==be&&s,i!==be&&f),c)}function t1(...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 sh(...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 we(e){var t;return Object.assign(pe(e),{displayName:(t=e.displayName)!=null?t:e.name})}function au(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function so(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function Ia(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&&n1(n)?!1:r}function n1(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}function r1(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 i1="div";var Yr=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Yr||{});function a1(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 _e({ourProps:i,theirProps:r,slot:{},defaultTag:i1,name:"Hidden"})}let aa=we(a1),Ts=De(null);Ts.displayName="OpenClosedContext";var Se=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(Se||{});function oi(){return Le(Ts)}function Cs({value:e,children:t}){return Z.createElement(Ts.Provider,{value:e},t)}var me=(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))(me||{});function o1(e,t,n){let[r,i]=Ue(n),a=e!==void 0,o=ne(a),u=ne(!1),s=ne(!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 Is(e,t){let n=ne([]),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 _c(e){return[e.screenX,e.screenY]}function u1(){let e=ne([-1,-1]);return{wasMoved(t){let n=_c(t);return e.current[0]===n[0]&&e.current[1]===n[1]?!1:(e.current=n,!0)},update(t){e.current=_c(t)}}}function s1(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function gr(...e){return le(()=>ai(...e),[...e])}var Nr=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Nr||{});function l1(){let e=ne(0);return ih("keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function ui(){let e=ne(!1);return ke(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function lh(e,t,n,r){let i=Dt(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 c1(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}function ch(e){let t=ee(e),n=ne(!1);de(()=>(n.current=!1,()=>{n.current=!0,Ca(()=>{n.current&&t()})}),[t])}function fh(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 f1="div";var dh=(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))(dh||{});function d1(e,t){let n=ne(null),r=Re(n,t),{initialFocus:i,containers:a,features:o=30,...u}=e;yr()||(o=1);let s=gr(n);m1({ownerDocument:s},!!(o&16));let c=v1({ownerDocument:s,container:n,initialFocus:i},!!(o&2));y1({ownerDocument:s,container:n,containers:a,previousActiveElement:c},!!(o&8));let f=l1(),l=ee(h=>{let _=n.current;_&&(b=>b())(()=>{Oe(f.current,{[Nr.Forwards]:()=>{jr(_,It.First,{skipElements:[h.relatedTarget]})},[Nr.Backwards]:()=>{jr(_,It.Last,{skipElements:[h.relatedTarget]})}})})}),d=vr(),p=ne(!1),m={ref:r,onKeyDown(h){h.key=="Tab"&&(p.current=!0,d.requestAnimationFrame(()=>{p.current=!1}))},onBlur(h){let _=fh(a);n.current instanceof HTMLElement&&_.add(n.current);let b=h.relatedTarget;b instanceof HTMLElement&&b.dataset.headlessuiFocusGuard!=="true"&&(ph(_,b)||(p.current?jr(n.current,Oe(f.current,{[Nr.Forwards]:()=>It.Next,[Nr.Backwards]:()=>It.Previous})|It.WrapAround,{relativeTo:h.target}):h.target instanceof HTMLElement&&tn(h.target)))}};return Z.createElement(Z.Fragment,null,!!(o&4)&&Z.createElement(aa,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:l,features:Yr.Focusable}),_e({ourProps:m,theirProps:u,defaultTag:f1,name:"FocusTrap"}),!!(o&4)&&Z.createElement(aa,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:l,features:Yr.Focusable}))}let p1=we(d1),Tr=Object.assign(p1,{features:dh}),Vt=[];c1(()=>{function e(t){t.target instanceof HTMLElement&&t.target!==document.body&&Vt[0]!==t.target&&(Vt.unshift(t.target),Vt=Vt.filter(n=>n!=null&&n.isConnected),Vt.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 h1(e=!0){let t=ne(Vt.slice());return Is(([n],[r])=>{r===!0&&n===!1&&Ca(()=>{t.current.splice(0)}),r===!1&&n===!0&&(t.current=Vt.slice())},[e,Vt,t]),ee(()=>{var n;return(n=t.current.find(r=>r!=null&&r.isConnected))!=null?n:null})}function m1({ownerDocument:e},t){let n=h1(t);Is(()=>{t||(e==null?void 0:e.activeElement)===(e==null?void 0:e.body)&&tn(n())},[t]),ch(()=>{t&&tn(n())})}function v1({ownerDocument:e,container:t,initialFocus:n},r){let i=ne(null),a=ui();return Is(()=>{if(!r)return;let o=t.current;o&&Ca(()=>{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?tn(n.current):jr(o,It.First)===eh.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),i.current=e==null?void 0:e.activeElement})},[r]),i}function y1({ownerDocument:e,container:t,containers:n,previousActiveElement:r},i){let a=ui();lh(e==null?void 0:e.defaultView,"focus",o=>{if(!i||!a.current)return;let u=fh(n);t.current instanceof HTMLElement&&u.add(t.current);let s=r.current;if(!s)return;let c=o.target;c&&c instanceof HTMLElement?ph(u,c)?(r.current=c,tn(c)):(o.preventDefault(),o.stopPropagation(),tn(s)):tn(r.current)},!0)}function ph(e,t){for(let n of e)if(n.contains(t))return!0;return!1}let hh=De(!1);function g1(){return Le(hh)}function ou(e){return Z.createElement(hh.Provider,{value:e.force},e.children)}function b1(e){let t=g1(),n=Le(mh),r=gr(e),[i,a]=Ue(()=>{if(!t&&n!==null||Mt.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 _1=be;function w1(e,t){let n=e,r=ne(null),i=Re(uh(f=>{r.current=f}),t),a=gr(r),o=b1(r),[u]=Ue(()=>{var f;return Mt.isServer?null:(f=a==null?void 0:a.createElement("div"))!=null?f:null}),s=Le(uu),c=yr();return ke(()=>{!o||!u||o.contains(u)||(u.setAttribute("data-headlessui-portal",""),o.appendChild(u))},[o,u]),ke(()=>{if(u&&s)return s.register(u)},[s,u]),ch(()=>{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:ls(_e({ourProps:{ref:i},theirProps:n,defaultTag:_1,name:"Portal"}),u):null}let E1=be,mh=De(null);function S1(e,t){let{target:n,...r}=e,i={ref:Re(t)};return Z.createElement(mh.Provider,{value:n},_e({ourProps:i,theirProps:r,defaultTag:E1,name:"Popover.Group"}))}let uu=De(null);function O1(){let e=Le(uu),t=ne([]),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=le(()=>({register:n,unregister:r,portals:t}),[n,r,t]);return[t,le(()=>function({children:a}){return Z.createElement(uu.Provider,{value:i},a)},[i])]}let P1=we(w1),A1=we(S1),su=Object.assign(P1,{Group:A1}),vh=De(null);function yh(){let e=Le(vh);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,yh),t}return e}function gh(){let[e,t]=Ue([]);return[e.length>0?e.join(" "):void 0,le(()=>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=le(()=>({register:r,slot:n.slot,name:n.name,props:n.props}),[r,n.slot,n.name,n.props]);return Z.createElement(vh.Provider,{value:i},n.children)},[t])]}let T1="p";function C1(e,t){let n=tt(),{id:r=`headlessui-description-${n}`,...i}=e,a=yh(),o=Re(t);ke(()=>a.register(r),[r,a.register]);let u={ref:o,...a.props,id:r};return _e({ourProps:u,theirProps:i,slot:a.slot||{},defaultTag:T1,name:a.name||"Description"})}let I1=we(C1),bh=Object.assign(I1,{}),Ls=De(()=>{});Ls.displayName="StackContext";var lu=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(lu||{});function L1(){return Le(Ls)}function R1({children:e,onUpdate:t,type:n,element:r,enabled:i}){let a=L1(),o=ee((...u)=>{t==null||t(...u),a(...u)});return ke(()=>{let u=i===void 0||i===!0;return u&&o(0,n,r),()=>{u&&o(1,n,r)}},[o,n,r,i]),Z.createElement(Ls.Provider,{value:o},e)}function k1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}const N1=typeof Object.is=="function"?Object.is:k1,{useState:M1,useEffect:D1,useLayoutEffect:$1,useDebugValue:j1}=er;function B1(e,t,n){const r=t(),[{inst:i},a]=M1({inst:{value:r,getSnapshot:t}});return $1(()=>{i.value=r,i.getSnapshot=t,lo(i)&&a({inst:i})},[e,r,t]),D1(()=>(lo(i)&&a({inst:i}),e(()=>{lo(i)&&a({inst:i})})),[e]),j1(r),r}function lo(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!N1(n,r)}catch{return!0}}function F1(e,t,n){return t()}const U1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",x1=!U1,H1=x1?F1:B1,K1="useSyncExternalStore"in er?(e=>e.useSyncExternalStore)(er):H1;function z1(e){return K1(e.subscribe,e.getSnapshot,e.getSnapshot)}function W1(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 q1(){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 G1(){if(!s1())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=yt();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 V1(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function Y1(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let yn=W1(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:yt(),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:Y1(n)},i=[G1(),q1(),V1()];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)}});yn.subscribe(()=>{let e=yn.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)&&yn.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&yn.dispatch("TEARDOWN",n)}});function X1(e,t,n){let r=z1(yn),i=e?r.get(e):void 0,a=i?i.count>0:!1;return ke(()=>{if(!(!e||!t))return yn.dispatch("PUSH",e,n),()=>yn.dispatch("POP",e,n)},[t,e]),a}let co=new Map,Cr=new Map;function wc(e,t=!0){ke(()=>{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=Cr.get(r))!=null?o:1;if(u===1?Cr.delete(r):Cr.set(r,u-1),u!==1)return;let s=co.get(r);s&&(s["aria-hidden"]===null?r.removeAttribute("aria-hidden"):r.setAttribute("aria-hidden",s["aria-hidden"]),r.inert=s.inert,co.delete(r))}let a=(n=Cr.get(r))!=null?n:0;return Cr.set(r,a+1),a!==0||(co.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),r.setAttribute("aria-hidden","true"),r.inert=!0),i},[e,t])}function Q1({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){var r;let i=ne((r=n==null?void 0:n.current)!=null?r:null),a=gr(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:le(()=>function(){return n!=null?null:Z.createElement(aa,{features:Yr.Hidden,ref:i})},[i,n])}}var J1=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(J1||{}),Z1=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(Z1||{});let e_={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},oa=De(null);oa.displayName="DialogContext";function si(e){let t=Le(oa);if(t===null){let n=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,si),n}return t}function t_(e,t,n=()=>[document.body]){X1(e,t,r=>{var i;return{containers:[...(i=r.containers)!=null?i:[],n]}})}function n_(e,t){return Oe(t.type,e_,e,t)}let r_="div",i_=on.RenderStrategy|on.Static;function a_(e,t){var n;let r=tt(),{id:i=`headlessui-dialog-${r}`,open:a,onClose:o,initialFocus:u,__demoMode:s=!1,...c}=e,[f,l]=Ue(0),d=oi();a===void 0&&d!==null&&(a=(d&Se.Open)===Se.Open);let p=ne(null),m=Re(p,t),h=gr(p),_=e.hasOwnProperty("open")||d!==null,b=e.hasOwnProperty("onClose");if(!_&&!b)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(!b)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,[v,g]=Rn(n_,{titleId:null,descriptionId:null,panelRef:Wr()}),E=ee(()=>o(!1)),O=ee(Q=>g({type:0,id:Q})),S=yr()?s?!1:y===0:!1,w=f>1,P=Le(oa)!==null,[A,L]=O1(),{resolveContainers:$,mainTreeNodeRef:j,MainTreeNode:I}=Q1({portals:A,defaultContainers:[(n=v.panelRef.current)!=null?n:p.current]}),C=w?"parent":"leaf",R=d!==null?(d&Se.Closing)===Se.Closing:!1,D=(()=>P||R?!1:S)(),F=Yt(()=>{var Q,ae;return(ae=Array.from((Q=h==null?void 0:h.querySelectorAll("body > *"))!=null?Q:[]).find(oe=>oe.id==="headlessui-portal-root"?!1:oe.contains(j.current)&&oe instanceof HTMLElement))!=null?ae:null},[j]);wc(F,D);let Y=(()=>w?!0:S)(),q=Yt(()=>{var Q,ae;return(ae=Array.from((Q=h==null?void 0:h.querySelectorAll("[data-headlessui-portal]"))!=null?Q:[]).find(oe=>oe.contains(j.current)&&oe instanceof HTMLElement))!=null?ae:null},[j]);wc(q,Y);let X=(()=>!(!S||w))();ah($,E,X);let x=(()=>!(w||y!==0))();lh(h==null?void 0:h.defaultView,"keydown",Q=>{x&&(Q.defaultPrevented||Q.key===me.Escape&&(Q.preventDefault(),Q.stopPropagation(),E()))});let U=(()=>!(R||y!==0||P))();t_(h,U,$),de(()=>{if(y!==0||!p.current)return;let Q=new ResizeObserver(ae=>{for(let oe of ae){let Ee=oe.target.getBoundingClientRect();Ee.x===0&&Ee.y===0&&Ee.width===0&&Ee.height===0&&E()}});return Q.observe(p.current),()=>Q.disconnect()},[y,p,E]);let[W,H]=gh(),re=le(()=>[{dialogState:y,close:E,setTitleId:O},v],[y,v,E,O]),fe=le(()=>({open:y===0}),[y]),ie={ref:m,id:i,role:"dialog","aria-modal":y===0?!0:void 0,"aria-labelledby":v.titleId,"aria-describedby":W};return Z.createElement(R1,{type:"Dialog",enabled:y===0,element:p,onUpdate:ee((Q,ae)=>{ae==="Dialog"&&Oe(Q,{[lu.Add]:()=>l(oe=>oe+1),[lu.Remove]:()=>l(oe=>oe-1)})})},Z.createElement(ou,{force:!0},Z.createElement(su,null,Z.createElement(oa.Provider,{value:re},Z.createElement(su.Group,{target:p},Z.createElement(ou,{force:!1},Z.createElement(H,{slot:fe,name:"Dialog.Description"},Z.createElement(Tr,{initialFocus:u,containers:$,features:S?Oe(C,{parent:Tr.features.RestoreFocus,leaf:Tr.features.All&~Tr.features.FocusLock}):Tr.features.None},Z.createElement(L,null,_e({ourProps:ie,theirProps:c,slot:fe,defaultTag:r_,features:i_,visible:y===0,name:"Dialog"}))))))))),Z.createElement(I,null))}let o_="div";function u_(e,t){let n=tt(),{id:r=`headlessui-dialog-overlay-${n}`,...i}=e,[{dialogState:a,close:o}]=si("Dialog.Overlay"),u=Re(t),s=ee(f=>{if(f.target===f.currentTarget){if(Ia(f.currentTarget))return f.preventDefault();f.preventDefault(),f.stopPropagation(),o()}}),c=le(()=>({open:a===0}),[a]);return _e({ourProps:{ref:u,id:r,"aria-hidden":!0,onClick:s},theirProps:i,slot:c,defaultTag:o_,name:"Dialog.Overlay"})}let s_="div";function l_(e,t){let n=tt(),{id:r=`headlessui-dialog-backdrop-${n}`,...i}=e,[{dialogState:a},o]=si("Dialog.Backdrop"),u=Re(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=le(()=>({open:a===0}),[a]);return Z.createElement(ou,{force:!0},Z.createElement(su,null,_e({ourProps:{ref:u,id:r,"aria-hidden":!0},theirProps:i,slot:s,defaultTag:s_,name:"Dialog.Backdrop"})))}let c_="div";function f_(e,t){let n=tt(),{id:r=`headlessui-dialog-panel-${n}`,...i}=e,[{dialogState:a},o]=si("Dialog.Panel"),u=Re(t,o.panelRef),s=le(()=>({open:a===0}),[a]),c=ee(f=>{f.stopPropagation()});return _e({ourProps:{ref:u,id:r,onClick:c},theirProps:i,slot:s,defaultTag:c_,name:"Dialog.Panel"})}let d_="h2";function p_(e,t){let n=tt(),{id:r=`headlessui-dialog-title-${n}`,...i}=e,[{dialogState:a,setTitleId:o}]=si("Dialog.Title"),u=Re(t);de(()=>(o(r),()=>o(null)),[r,o]);let s=le(()=>({open:a===0}),[a]);return _e({ourProps:{ref:u,id:r},theirProps:i,slot:s,defaultTag:d_,name:"Dialog.Title"})}let h_=we(a_),m_=we(l_),v_=we(f_),y_=we(u_),g_=we(p_),fI=Object.assign(h_,{Backdrop:m_,Panel:v_,Overlay:y_,Title:g_,Description:bh});var Ec;let b_=(Ec=Z.startTransition)!=null?Ec:function(e){e()};var __=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(__||{}),w_=(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))(w_||{});let E_={0:e=>({...e,disclosureState:Oe(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}}},Rs=De(null);Rs.displayName="DisclosureContext";function ks(e){let t=Le(Rs);if(t===null){let n=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,ks),n}return t}let Ns=De(null);Ns.displayName="DisclosureAPIContext";function _h(e){let t=Le(Ns);if(t===null){let n=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,_h),n}return t}let Ms=De(null);Ms.displayName="DisclosurePanelContext";function S_(){return Le(Ms)}function O_(e,t){return Oe(t.type,E_,e,t)}let P_=be;function A_(e,t){let{defaultOpen:n=!1,...r}=e,i=ne(null),a=Re(t,uh(_=>{i.current=_},e.as===void 0||e.as===be)),o=ne(null),u=ne(null),s=Rn(O_,{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 b=ai(i);if(!b||!f)return;let y=(()=>_?_ instanceof HTMLElement?_:_.current instanceof HTMLElement?_.current:b.getElementById(f):b.getElementById(f))();y==null||y.focus()}),p=le(()=>({close:d}),[d]),m=le(()=>({open:c===0,close:d}),[c,d]),h={ref:a};return Z.createElement(Rs.Provider,{value:s},Z.createElement(Ns.Provider,{value:p},Z.createElement(Cs,{value:Oe(c,{0:Se.Open,1:Se.Closed})},_e({ourProps:h,theirProps:r,slot:m,defaultTag:P_,name:"Disclosure"}))))}let T_="button";function C_(e,t){let n=tt(),{id:r=`headlessui-disclosure-button-${n}`,...i}=e,[a,o]=ks("Disclosure.Button"),u=S_(),s=u===null?!1:u===a.panelId,c=ne(null),f=Re(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(b=>{var y;if(s){if(a.disclosureState===1)return;switch(b.key){case me.Space:case me.Enter:b.preventDefault(),b.stopPropagation(),o({type:0}),(y=a.buttonRef.current)==null||y.focus();break}}else switch(b.key){case me.Space:case me.Enter:b.preventDefault(),b.stopPropagation(),o({type:0});break}}),d=ee(b=>{switch(b.key){case me.Space:b.preventDefault();break}}),p=ee(b=>{var y;Ia(b.currentTarget)||e.disabled||(s?(o({type:0}),(y=a.buttonRef.current)==null||y.focus()):o({type:0}))}),m=le(()=>({open:a.disclosureState===0}),[a]),h=As(e,c),_=s?{ref:f,type:h,onKeyDown:l,onClick:p}:{ref:f,id:r,type:h,"aria-expanded":a.disclosureState===0,"aria-controls":a.linkedPanel?a.panelId:void 0,onKeyDown:l,onKeyUp:d,onClick:p};return _e({ourProps:_,theirProps:i,slot:m,defaultTag:T_,name:"Disclosure.Button"})}let I_="div",L_=on.RenderStrategy|on.Static;function R_(e,t){let n=tt(),{id:r=`headlessui-disclosure-panel-${n}`,...i}=e,[a,o]=ks("Disclosure.Panel"),{close:u}=_h("Disclosure.Panel"),s=Re(t,a.panelRef,p=>{b_(()=>o({type:p?4:5}))});de(()=>(o({type:3,panelId:r}),()=>{o({type:3,panelId:null})}),[r,o]);let c=oi(),f=(()=>c!==null?(c&Se.Open)===Se.Open:a.disclosureState===0)(),l=le(()=>({open:a.disclosureState===0,close:u}),[a,u]),d={ref:s,id:r};return Z.createElement(Ms.Provider,{value:a.panelId},_e({ourProps:d,theirProps:i,slot:l,defaultTag:I_,features:L_,visible:f,name:"Disclosure.Panel"}))}let k_=we(A_),N_=we(C_),M_=we(R_),dI=Object.assign(k_,{Button:N_,Panel:M_}),Sc=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function Oc(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 Sc.test(o)&&(o=o.replace(Sc,"")),o}function D_(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():Oc(a).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return Oc(e).trim()}function $_(e){let t=ne(""),n=ne("");return ee(()=>{let r=e.current;if(!r)return"";let i=r.innerText;if(t.current===i)return n.current;let a=D_(r).trim().toLowerCase();return t.current=i,n.current=a,a})}var j_=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(j_||{}),B_=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(B_||{}),F_=(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))(F_||{});function fo(e,t=n=>n){let n=e.activeItemIndex!==null?e.items[e.activeItemIndex]:null,r=rh(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 U_={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=fo(e),i=e1(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=fo(e,r=>[...r,{id:t.id,dataRef:t.dataRef}]);return{...e,...n}},6:(e,t)=>{let n=fo(e,r=>{let i=r.findIndex(a=>a.id===t.id);return i!==-1&&r.splice(i,1),r});return{...e,...n,activationTrigger:1}}},Ds=De(null);Ds.displayName="MenuContext";function La(e){let t=Le(Ds);if(t===null){let n=new Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,La),n}return t}function x_(e,t){return Oe(t.type,U_,e,t)}let H_=be;function K_(e,t){let{__demoMode:n=!1,...r}=e,i=Rn(x_,{__demoMode:n,menuState:n?0:1,buttonRef:Wr(),itemsRef:Wr(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:a,itemsRef:o,buttonRef:u},s]=i,c=Re(t);ah([u,o],(p,m)=>{var h;s({type:1}),Ps(m,Os.Loose)||(p.preventDefault(),(h=u.current)==null||h.focus())},a===0);let f=ee(()=>{s({type:1})}),l=le(()=>({open:a===0,close:f}),[a,f]),d={ref:c};return Z.createElement(Ds.Provider,{value:i},Z.createElement(Cs,{value:Oe(a,{0:Se.Open,1:Se.Closed})},_e({ourProps:d,theirProps:r,slot:l,defaultTag:H_,name:"Menu"})))}let z_="button";function W_(e,t){var n;let r=tt(),{id:i=`headlessui-menu-button-${r}`,...a}=e,[o,u]=La("Menu.Button"),s=Re(o.buttonRef,t),c=vr(),f=ee(h=>{switch(h.key){case me.Space:case me.Enter:case me.ArrowDown:h.preventDefault(),h.stopPropagation(),u({type:0}),c.nextFrame(()=>u({type:2,focus:ft.First}));break;case me.ArrowUp:h.preventDefault(),h.stopPropagation(),u({type:0}),c.nextFrame(()=>u({type:2,focus:ft.Last}));break}}),l=ee(h=>{switch(h.key){case me.Space:h.preventDefault();break}}),d=ee(h=>{if(Ia(h.currentTarget))return h.preventDefault();e.disabled||(o.menuState===0?(u({type:1}),c.nextFrame(()=>{var _;return(_=o.buttonRef.current)==null?void 0:_.focus({preventScroll:!0})})):(h.preventDefault(),u({type:0})))}),p=le(()=>({open:o.menuState===0}),[o]),m={ref:s,id:i,type:As(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 _e({ourProps:m,theirProps:a,slot:p,defaultTag:z_,name:"Menu.Button"})}let q_="div",G_=on.RenderStrategy|on.Static;function V_(e,t){var n,r;let i=tt(),{id:a=`headlessui-menu-items-${i}`,...o}=e,[u,s]=La("Menu.Items"),c=Re(u.itemsRef,t),f=gr(u.itemsRef),l=vr(),d=oi(),p=(()=>d!==null?(d&Se.Open)===Se.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]),Jb({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 m=ee(y=>{var v,g;switch(l.dispose(),y.key){case me.Space:if(u.searchQuery!=="")return y.preventDefault(),y.stopPropagation(),s({type:3,value:y.key});case me.Enter:if(y.preventDefault(),y.stopPropagation(),s({type:1}),u.activeItemIndex!==null){let{dataRef:E}=u.items[u.activeItemIndex];(g=(v=E.current)==null?void 0:v.domRef.current)==null||g.click()}nh(u.buttonRef.current);break;case me.ArrowDown:return y.preventDefault(),y.stopPropagation(),s({type:2,focus:ft.Next});case me.ArrowUp:return y.preventDefault(),y.stopPropagation(),s({type:2,focus:ft.Previous});case me.Home:case me.PageUp:return y.preventDefault(),y.stopPropagation(),s({type:2,focus:ft.First});case me.End:case me.PageDown:return y.preventDefault(),y.stopPropagation(),s({type:2,focus:ft.Last});case me.Escape:y.preventDefault(),y.stopPropagation(),s({type:1}),yt().nextFrame(()=>{var E;return(E=u.buttonRef.current)==null?void 0:E.focus({preventScroll:!0})});break;case me.Tab:y.preventDefault(),y.stopPropagation(),s({type:1}),yt().nextFrame(()=>{Qb(u.buttonRef.current,y.shiftKey?It.Previous:It.Next)});break;default:y.key.length===1&&(s({type:3,value:y.key}),l.setTimeout(()=>s({type:4}),350));break}}),h=ee(y=>{switch(y.key){case me.Space:y.preventDefault();break}}),_=le(()=>({open:u.menuState===0}),[u]),b={"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:m,onKeyUp:h,role:"menu",tabIndex:0,ref:c};return _e({ourProps:b,theirProps:o,slot:_,defaultTag:q_,features:G_,visible:p,name:"Menu.Items"})}let Y_=be;function X_(e,t){let n=tt(),{id:r=`headlessui-menu-item-${n}`,disabled:i=!1,...a}=e,[o,u]=La("Menu.Item"),s=o.activeItemIndex!==null?o.items[o.activeItemIndex].id===r:!1,c=ne(null),f=Re(t,c);ke(()=>{if(o.__demoMode||o.menuState!==0||!s||o.activationTrigger===0)return;let E=yt();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=$_(c),d=ne({disabled:i,domRef:c,get textValue(){return l()}});ke(()=>{d.current.disabled=i},[d,i]),ke(()=>(u({type:5,id:r,dataRef:d}),()=>u({type:6,id:r})),[d,r]);let p=ee(()=>{u({type:1})}),m=ee(E=>{if(i)return E.preventDefault();u({type:1}),nh(o.buttonRef.current)}),h=ee(()=>{if(i)return u({type:2,focus:ft.Nothing});u({type:2,focus:ft.Specific,id:r})}),_=u1(),b=ee(E=>_.update(E)),y=ee(E=>{_.wasMoved(E)&&(i||s||u({type:2,focus:ft.Specific,id:r,trigger:0}))}),v=ee(E=>{_.wasMoved(E)&&(i||s&&u({type:2,focus:ft.Nothing}))}),g=le(()=>({active:s,disabled:i,close:p}),[s,i,p]);return _e({ourProps:{id:r,ref:f,role:"menuitem",tabIndex:i===!0?void 0:-1,"aria-disabled":i===!0?!0:void 0,disabled:void 0,onClick:m,onFocus:h,onPointerEnter:b,onMouseEnter:b,onPointerMove:y,onMouseMove:y,onPointerLeave:v,onMouseLeave:v},theirProps:a,slot:g,defaultTag:Y_,name:"Menu.Item"})}let Q_=we(K_),J_=we(W_),Z_=we(V_),ew=we(X_),pI=Object.assign(Q_,{Button:J_,Items:Z_,Item:ew});function tw(e=0){let[t,n]=Ue(e),r=ui(),i=Yt(s=>{r.current&&n(c=>c|s)},[t,r]),a=Yt(s=>!!(t&s),[t]),o=Yt(s=>{r.current&&n(c=>c&~s)},[n,r]),u=Yt(s=>{r.current&&n(c=>c^s)},[n]);return{flags:t,addFlag:i,hasFlag:a,removeFlag:o,toggleFlag:u}}let wh=De(null);function Eh(){let e=Le(wh);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,Eh),t}return e}function nw(){let[e,t]=Ue([]);return[e.length>0?e.join(" "):void 0,le(()=>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=le(()=>({register:r,slot:n.slot,name:n.name,props:n.props}),[r,n.slot,n.name,n.props]);return Z.createElement(wh.Provider,{value:i},n.children)},[t])]}let rw="label";function iw(e,t){let n=tt(),{id:r=`headlessui-label-${n}`,passive:i=!1,...a}=e,o=Eh(),u=Re(t);ke(()=>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),_e({ourProps:s,theirProps:a,slot:o.slot||{},defaultTag:rw,name:o.name||"Label"})}let aw=we(iw),ow=Object.assign(aw,{}),$s=De(null);$s.displayName="GroupContext";let uw=be;function sw(e){var t;let[n,r]=Ue(null),[i,a]=nw(),[o,u]=gh(),s=le(()=>({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($s.Provider,{value:s},_e({ourProps:c,theirProps:f,defaultTag:uw,name:"Switch.Group"}))))}let lw="button";function cw(e,t){let n=tt(),{id:r=`headlessui-switch-${n}`,checked:i,defaultChecked:a=!1,onChange:o,name:u,value:s,form:c,...f}=e,l=Le($s),d=ne(null),p=Re(d,t,l===null?null:l.setSwitch),[m,h]=o1(i,o,a),_=ee(()=>h==null?void 0:h(!m)),b=ee(S=>{if(Ia(S.currentTarget))return S.preventDefault();S.preventDefault(),_()}),y=ee(S=>{S.key===me.Space?(S.preventDefault(),_()):S.key===me.Enter&&r1(S.currentTarget)}),v=ee(S=>S.preventDefault()),g=le(()=>({checked:m}),[m]),E={id:r,ref:p,role:"switch",type:As(e,d),tabIndex:0,"aria-checked":m,"aria-labelledby":l==null?void 0:l.labelledby,"aria-describedby":l==null?void 0:l.describedby,onClick:b,onKeyUp:y,onKeyPress:v},O=vr();return de(()=>{var S;let w=(S=d.current)==null?void 0:S.closest("form");w&&a!==void 0&&O.addEventListener(w,"reset",()=>{h(a)})},[d,h]),Z.createElement(Z.Fragment,null,u!=null&&m&&Z.createElement(aa,{features:Yr.Hidden,...au({as:"input",type:"checkbox",hidden:!0,readOnly:!0,form:c,checked:m,name:u,value:s})}),_e({ourProps:E,theirProps:f,slot:g,defaultTag:lw,name:"Switch"}))}let fw=we(cw),dw=sw,hI=Object.assign(fw,{Group:dw,Label:ow,Description:bh});function pw(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}function po(e,...t){e&&t.length>0&&e.classList.add(...t)}function ho(e,...t){e&&t.length>0&&e.classList.remove(...t)}function hw(e,t){let n=yt();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 mw(e,t,n,r){let i=n?"enter":"leave",a=yt(),o=r!==void 0?pw(r):()=>{};i==="enter"&&(e.removeAttribute("hidden"),e.style.display="");let u=Oe(i,{enter:()=>t.enter,leave:()=>t.leave}),s=Oe(i,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),c=Oe(i,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return ho(e,...t.base,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),po(e,...t.base,...u,...c),a.nextFrame(()=>{ho(e,...t.base,...u,...c),po(e,...t.base,...u,...s),hw(e,()=>(ho(e,...t.base,...u),po(e,...t.base,...t.entered),o()))}),a.dispose}function vw({immediate:e,container:t,direction:n,classes:r,onStart:i,onStop:a}){let o=ui(),u=vr(),s=Dt(n);ke(()=>{e&&(s.current="enter")},[e]),ke(()=>{let c=yt();u.add(c.dispose);let f=t.current;if(f&&s.current!=="idle"&&o.current)return c.dispose(),i.current(s.current),c.add(mw(f,r.current,s.current==="enter",()=>{c.dispose(),a.current(s.current)})),c.dispose},[n])}function Kt(e=""){return e.split(" ").filter(t=>t.trim().length>1)}let Ra=De(null);Ra.displayName="TransitionContext";var yw=(e=>(e.Visible="visible",e.Hidden="hidden",e))(yw||{});function gw(){let e=Le(Ra);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function bw(){let e=Le(ka);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let ka=De(null);ka.displayName="NestingContext";function Na(e){return"children"in e?Na(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function Sh(e,t){let n=Dt(e),r=ne([]),i=ui(),a=vr(),o=ee((p,m=Xt.Hidden)=>{let h=r.current.findIndex(({el:_})=>_===p);h!==-1&&(Oe(m,{[Xt.Unmount](){r.current.splice(h,1)},[Xt.Hidden](){r.current[h].state="hidden"}}),a.microTask(()=>{var _;!Na(r)&&i.current&&((_=n.current)==null||_.call(n))}))}),u=ee(p=>{let m=r.current.find(({el:h})=>h===p);return m?m.state!=="visible"&&(m.state="visible"):r.current.push({el:p,state:"visible"}),()=>o(p,Xt.Unmount)}),s=ne([]),c=ne(Promise.resolve()),f=ne({enter:[],leave:[],idle:[]}),l=ee((p,m,h)=>{s.current.splice(0),t&&(t.chains.current[m]=t.chains.current[m].filter(([_])=>_!==p)),t==null||t.chains.current[m].push([p,new Promise(_=>{s.current.push(_)})]),t==null||t.chains.current[m].push([p,new Promise(_=>{Promise.all(f.current[m].map(([b,y])=>y)).then(()=>_())})]),m==="enter"?c.current=c.current.then(()=>t==null?void 0:t.wait.current).then(()=>h(m)):h(m)}),d=ee((p,m,h)=>{Promise.all(f.current[m].splice(0).map(([_,b])=>b)).then(()=>{var _;(_=s.current.shift())==null||_()}).then(()=>h(m))});return le(()=>({children:r,register:u,unregister:o,onStart:l,onStop:d,wait:c,chains:f}),[u,o,r,l,d,f,c])}function _w(){}let ww=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function Pc(e){var t;let n={};for(let r of ww)n[r]=(t=e[r])!=null?t:_w;return n}function Ew(e){let t=ne(Pc(e));return de(()=>{t.current=Pc(e)},[e]),t}let Sw="div",Oh=on.RenderStrategy;function Ow(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:p,leaveTo:m,...h}=e,_=ne(null),b=Re(_,t),y=(n=h.unmount)==null||n?Xt.Unmount:Xt.Hidden,{show:v,appear:g,initial:E}=gw(),[O,S]=Ue(v?"visible":"hidden"),w=bw(),{register:P,unregister:A}=w;de(()=>P(_),[P,_]),de(()=>{if(y===Xt.Hidden&&_.current){if(v&&O!=="visible"){S("visible");return}return Oe(O,{hidden:()=>A(_),visible:()=>P(_)})}},[O,_,P,A,v,y]);let L=Dt({base:Kt(h.className),enter:Kt(s),enterFrom:Kt(c),enterTo:Kt(f),entered:Kt(l),leave:Kt(d),leaveFrom:Kt(p),leaveTo:Kt(m)}),$=Ew({beforeEnter:i,afterEnter:a,beforeLeave:o,afterLeave:u}),j=yr();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&&!g,C=g&&v&&E,R=(()=>!j||I?"idle":v?"enter":"leave")(),D=tw(0),F=ee(U=>Oe(U,{enter:()=>{D.addFlag(Se.Opening),$.current.beforeEnter()},leave:()=>{D.addFlag(Se.Closing),$.current.beforeLeave()},idle:()=>{}})),Y=ee(U=>Oe(U,{enter:()=>{D.removeFlag(Se.Opening),$.current.afterEnter()},leave:()=>{D.removeFlag(Se.Closing),$.current.afterLeave()},idle:()=>{}})),q=Sh(()=>{S("hidden"),A(_)},w);vw({immediate:C,container:_,classes:L,direction:R,onStart:Dt(U=>{q.onStart(_,U,F)}),onStop:Dt(U=>{q.onStop(_,U,Y),U==="leave"&&!Na(q)&&(S("hidden"),A(_))})});let X=h,x={ref:b};return C?X={...X,className:ia(h.className,...L.current.enter,...L.current.enterFrom)}:(X.className=ia(h.className,(r=_.current)==null?void 0:r.className),X.className===""&&delete X.className),Z.createElement(ka.Provider,{value:q},Z.createElement(Cs,{value:Oe(O,{visible:Se.Open,hidden:Se.Closed})|D.flags},_e({ourProps:x,theirProps:X,defaultTag:Sw,features:Oh,visible:O==="visible",name:"Transition.Child"})))}function Pw(e,t){let{show:n,appear:r=!1,unmount:i=!0,...a}=e,o=ne(null),u=Re(o,t);yr();let s=oi();if(n===void 0&&s!==null&&(n=(s&Se.Open)===Se.Open),![!0,!1].includes(n))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[c,f]=Ue(n?"visible":"hidden"),l=Sh(()=>{f("hidden")}),[d,p]=Ue(!0),m=ne([n]);ke(()=>{d!==!1&&m.current[m.current.length-1]!==n&&(m.current.push(n),p(!1))},[m,n]);let h=le(()=>({show:n,appear:r,initial:d}),[n,r,d]);de(()=>{if(n)f("visible");else if(!Na(l))f("hidden");else{let v=o.current;if(!v)return;let g=v.getBoundingClientRect();g.x===0&&g.y===0&&g.width===0&&g.height===0&&f("hidden")}},[n,l]);let _={unmount:i},b=ee(()=>{var v;d&&p(!1),(v=e.beforeEnter)==null||v.call(e)}),y=ee(()=>{var v;d&&p(!1),(v=e.beforeLeave)==null||v.call(e)});return Z.createElement(ka.Provider,{value:l},Z.createElement(Ra.Provider,{value:h},_e({ourProps:{..._,as:be,children:Z.createElement(Ph,{ref:u,..._,...a,beforeEnter:b,beforeLeave:y})},theirProps:{},defaultTag:be,features:Oh,visible:c==="visible",name:"Transition"})))}function Aw(e,t){let n=Le(Ra)!==null,r=oi()!==null;return Z.createElement(Z.Fragment,null,!n&&r?Z.createElement(cu,{ref:t,...e}):Z.createElement(Ph,{ref:t,...e}))}let cu=we(Pw),Ph=we(Ow),Tw=we(Aw),mI=Object.assign(cu,{Child:Tw,Root:cu});function Cw({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 Iw=pe(Cw),vI=Iw;function Lw({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25H12"}))}const Rw=pe(Lw),yI=Rw;function kw({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 Nw=pe(kw),gI=Nw;function Mw({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5L8.25 12l7.5-7.5"}))}const Dw=pe(Mw),bI=Dw;function $w({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"}))}const jw=pe($w),_I=jw;function Bw({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 Fw=pe(Bw),wI=Fw;function Uw({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 xw=pe(Uw),EI=xw;function Hw({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 Kw=pe(Hw),SI=Kw;function zw({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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"}),B("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}))}const Ww=pe(zw),OI=Ww;function qw({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 Gw=pe(qw),PI=Gw;function Vw({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 Yw=pe(Vw),AI=Yw;function Xw({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 Qw=pe(Xw),TI=Qw;function Jw({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 Zw=pe(Jw),CI=Zw;function eE({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 tE=pe(eE),II=tE;function nE({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))}const rE=pe(nE),LI=rE;function fu(e){this.message=e}fu.prototype=new Error,fu.prototype.name="InvalidCharacterError";var Ac=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new fu("'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 iE(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(Ac(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 Ac(t)}}function ua(e){this.message=e}function RI(e,t){if(typeof e!="string")throw new ua("Invalid token specified");var n=(t=t||{}).header===!0?0:1;try{return JSON.parse(iE(e.split(".")[n]))}catch(r){throw new ua("Invalid token specified: "+r.message)}}ua.prototype=new Error,ua.prototype.name="InvalidTokenError";const aE=(e,t)=>t.skipDedupe||t.method!=="GET",oE=(e,t)=>t.method+"@"+e,uE=e=>e.clone(),kI=({skip:e=aE,key:t=oE,resolver:n=uE}={})=>{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)}}},sE=(e,t)=>t.skipCache||t.method!=="GET",lE=(e,t)=>t.method+"@"+e,cE=(e,t)=>!1,fE=(e,t)=>null,dE=e=>e.ok,NI=({throttle:e=1e3,skip:t=sE,key:n=lE,clear:r=cE,invalidate:i=fE,condition:a=dE,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=>(p,m)=>{const h=n(p,m);let _=i(p,m);if(_&&(_ instanceof Array||(_=[_]),_.forEach(b=>{typeof b=="string"?u.delete(b):b instanceof RegExp&&u.forEach((y,v)=>{b.test(v)&&u.delete(v)})})),r(p,m)&&u.clear(),t(p,m))return d(p,m);if(c.has(h)){if(u.has(h)){const b=u.get(h).clone();return o&&Object.defineProperty(b,o,{value:h,enumerable:!1}),Promise.resolve(b)}else if(s.has(h))return new Promise((b,y)=>{s.get(h).push([b,y])})}return s.has(h)||s.set(h,[]),f(h),d(p,m).then(b=>(a(b.clone())&&u.set(h,b.clone()),s.get(h).forEach(([y])=>y(b.clone())),s.delete(h),b)).catch(b=>{throw s.get(h).forEach(([y,v])=>v(b)),s.delete(h),b})};return l.cacheResponse=function(d,p){f(d),u.set(d,p)},l.cache=u,l.inflight=s,l.throttling=c,l};function Ah(e,t){return function(){return e.apply(t,arguments)}}const{toString:pE}=Object.prototype,{getPrototypeOf:js}=Object,Ma=(e=>t=>{const n=pE.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),gt=e=>(e=e.toLowerCase(),t=>Ma(t)===e),Da=e=>t=>typeof t===e,{isArray:br}=Array,Xr=Da("undefined");function hE(e){return e!==null&&!Xr(e)&&e.constructor!==null&&!Xr(e.constructor)&&ot(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Th=gt("ArrayBuffer");function mE(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Th(e.buffer),t}const vE=Da("string"),ot=Da("function"),Ch=Da("number"),$a=e=>e!==null&&typeof e=="object",yE=e=>e===!0||e===!1,Fi=e=>{if(Ma(e)!=="object")return!1;const t=js(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},gE=gt("Date"),bE=gt("File"),_E=gt("Blob"),wE=gt("FileList"),EE=e=>$a(e)&&ot(e.pipe),SE=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ot(e.append)&&((t=Ma(e))==="formdata"||t==="object"&&ot(e.toString)&&e.toString()==="[object FormData]"))},OE=gt("URLSearchParams"),[PE,AE,TE,CE]=["ReadableStream","Request","Response","Headers"].map(gt),IE=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function li(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),br(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{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 Ih(e,t){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 Lh=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Rh=e=>!Xr(e)&&e!==Lh;function du(){const{caseless:e}=Rh(this)&&this||{},t={},n=(r,i)=>{const a=e&&Ih(t,i)||i;Fi(t[a])&&Fi(r)?t[a]=du(t[a],r):Fi(r)?t[a]=du({},r):br(r)?t[a]=r.slice():t[a]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&li(arguments[r],n);return t}const LE=(e,t,n,{allOwnKeys:r}={})=>(li(t,(i,a)=>{n&&ot(i)?e[a]=Ah(i,n):e[a]=i},{allOwnKeys:r}),e),RE=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),kE=(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)},NE=(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&&js(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},ME=(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},DE=e=>{if(!e)return null;if(br(e))return e;let t=e.length;if(!Ch(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},$E=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&js(Uint8Array)),jE=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const a=i.value;t.call(e,a[0],a[1])}},BE=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},FE=gt("HTMLFormElement"),UE=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Tc=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),xE=gt("RegExp"),kh=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};li(n,(i,a)=>{let o;(o=t(i,a,e))!==!1&&(r[a]=o||i)}),Object.defineProperties(e,r)},HE=e=>{kh(e,(t,n)=>{if(ot(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(ot(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+"'")})}})},KE=(e,t)=>{const n={},r=i=>{i.forEach(a=>{n[a]=!0})};return br(e)?r(e):r(String(e).split(t)),n},zE=()=>{},WE=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,mo="abcdefghijklmnopqrstuvwxyz",Cc="0123456789",Nh={DIGIT:Cc,ALPHA:mo,ALPHA_DIGIT:mo+mo.toUpperCase()+Cc},qE=(e=16,t=Nh.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function GE(e){return!!(e&&ot(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const VE=e=>{const t=new Array(10),n=(r,i)=>{if($a(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const a=br(r)?[]:{};return li(r,(o,u)=>{const s=n(o,i+1);!Xr(s)&&(a[u]=s)}),t[i]=void 0,a}}return r};return n(e,0)},YE=gt("AsyncFunction"),XE=e=>e&&($a(e)||ot(e))&&ot(e.then)&&ot(e.catch),N={isArray:br,isArrayBuffer:Th,isBuffer:hE,isFormData:SE,isArrayBufferView:mE,isString:vE,isNumber:Ch,isBoolean:yE,isObject:$a,isPlainObject:Fi,isReadableStream:PE,isRequest:AE,isResponse:TE,isHeaders:CE,isUndefined:Xr,isDate:gE,isFile:bE,isBlob:_E,isRegExp:xE,isFunction:ot,isStream:EE,isURLSearchParams:OE,isTypedArray:$E,isFileList:wE,forEach:li,merge:du,extend:LE,trim:IE,stripBOM:RE,inherits:kE,toFlatObject:NE,kindOf:Ma,kindOfTest:gt,endsWith:ME,toArray:DE,forEachEntry:jE,matchAll:BE,isHTMLForm:FE,hasOwnProperty:Tc,hasOwnProp:Tc,reduceDescriptors:kh,freezeMethods:HE,toObjectSet:KE,toCamelCase:UE,noop:zE,toFiniteNumber:WE,findKey:Ih,global:Lh,isContextDefined:Rh,ALPHABET:Nh,generateString:qE,isSpecCompliantForm:GE,toJSONObject:VE,isAsyncFn:YE,isThenable:XE};function te(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)}N.inherits(te,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:N.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Mh=te.prototype,Dh={};["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=>{Dh[e]={value:e}});Object.defineProperties(te,Dh);Object.defineProperty(Mh,"isAxiosError",{value:!0});te.from=(e,t,n,r,i,a)=>{const o=Object.create(Mh);return N.toFlatObject(e,o,function(s){return s!==Error.prototype},u=>u!=="isAxiosError"),te.call(o,e.message,t,n,r,i),o.cause=e,o.name=e.name,a&&Object.assign(o,a),o};const QE=null;function pu(e){return N.isPlainObject(e)||N.isArray(e)}function $h(e){return N.endsWith(e,"[]")?e.slice(0,-2):e}function Ic(e,t,n){return e?e.concat(t).map(function(i,a){return i=$h(i),!n&&a?"["+i+"]":i}).join(n?".":""):t}function JE(e){return N.isArray(e)&&!e.some(pu)}const ZE=N.toFlatObject(N,{},null,function(t){return/^is[A-Z]/.test(t)});function ja(e,t,n){if(!N.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=N.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,_){return!N.isUndefined(_[h])});const r=n.metaTokens,i=n.visitor||f,a=n.dots,o=n.indexes,s=(n.Blob||typeof Blob<"u"&&Blob)&&N.isSpecCompliantForm(t);if(!N.isFunction(i))throw new TypeError("visitor must be a function");function c(m){if(m===null)return"";if(N.isDate(m))return m.toISOString();if(!s&&N.isBlob(m))throw new te("Blob is not supported. Use a Buffer instead.");return N.isArrayBuffer(m)||N.isTypedArray(m)?s&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function f(m,h,_){let b=m;if(m&&!_&&typeof m=="object"){if(N.endsWith(h,"{}"))h=r?h:h.slice(0,-2),m=JSON.stringify(m);else if(N.isArray(m)&&JE(m)||(N.isFileList(m)||N.endsWith(h,"[]"))&&(b=N.toArray(m)))return h=$h(h),b.forEach(function(v,g){!(N.isUndefined(v)||v===null)&&t.append(o===!0?Ic([h],g,a):o===null?h:h+"[]",c(v))}),!1}return pu(m)?!0:(t.append(Ic(_,h,a),c(m)),!1)}const l=[],d=Object.assign(ZE,{defaultVisitor:f,convertValue:c,isVisitable:pu});function p(m,h){if(!N.isUndefined(m)){if(l.indexOf(m)!==-1)throw Error("Circular reference detected in "+h.join("."));l.push(m),N.forEach(m,function(b,y){(!(N.isUndefined(b)||b===null)&&i.call(t,b,N.isString(y)?y.trim():y,h,d))===!0&&p(b,h?h.concat(y):[y])}),l.pop()}}if(!N.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Lc(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Bs(e,t){this._pairs=[],e&&ja(e,this,t)}const jh=Bs.prototype;jh.append=function(t,n){this._pairs.push([t,n])};jh.toString=function(t){const n=t?function(r){return t.call(this,r,Lc)}:Lc;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function eS(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Bh(e,t,n){if(!t)return e;const r=n&&n.encode||eS,i=n&&n.serialize;let a;if(i?a=i(t,n):a=N.isURLSearchParams(t)?t.toString():new Bs(t,n).toString(r),a){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class tS{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){N.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Rc=tS,Fh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},nS=typeof URLSearchParams<"u"?URLSearchParams:Bs,rS=typeof FormData<"u"?FormData:null,iS=typeof Blob<"u"?Blob:null,aS={isBrowser:!0,classes:{URLSearchParams:nS,FormData:rS,Blob:iS},protocols:["http","https","file","blob","url","data"]},Fs=typeof window<"u"&&typeof document<"u",oS=(e=>Fs&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),uS=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),sS=Fs&&window.location.href||"http://localhost",lS=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Fs,hasStandardBrowserEnv:oS,hasStandardBrowserWebWorkerEnv:uS,origin:sS},Symbol.toStringTag,{value:"Module"})),ht={...lS,...aS};function cS(e,t){return ja(e,new ht.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,a){return ht.isNode&&N.isBuffer(n)?(this.append(r,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function fS(e){return N.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function dS(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 Uh(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&&N.isArray(i)?i.length:o,s?(N.hasOwnProp(i,o)?i[o]=[i[o],r]:i[o]=r,!u):((!i[o]||!N.isObject(i[o]))&&(i[o]=[]),t(n,r,i[o],a)&&N.isArray(i[o])&&(i[o]=dS(i[o])),!u)}if(N.isFormData(e)&&N.isFunction(e.entries)){const n={};return N.forEachEntry(e,(r,i)=>{t(fS(r),i,n,0)}),n}return null}function pS(e,t,n){if(N.isString(e))try{return(t||JSON.parse)(e),N.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Us={transitional:Fh,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,a=N.isObject(t);if(a&&N.isHTMLForm(t)&&(t=new FormData(t)),N.isFormData(t))return i?JSON.stringify(Uh(t)):t;if(N.isArrayBuffer(t)||N.isBuffer(t)||N.isStream(t)||N.isFile(t)||N.isBlob(t)||N.isReadableStream(t))return t;if(N.isArrayBufferView(t))return t.buffer;if(N.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 cS(t,this.formSerializer).toString();if((u=N.isFileList(t))||r.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return ja(u?{"files[]":t}:t,s&&new s,this.formSerializer)}}return a||i?(n.setContentType("application/json",!1),pS(t)):t}],transformResponse:[function(t){const n=this.transitional||Us.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(N.isResponse(t)||N.isReadableStream(t))return t;if(t&&N.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"?te.from(u,te.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:ht.classes.FormData,Blob:ht.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};N.forEach(["delete","get","head","post","put","patch"],e=>{Us.headers[e]={}});const xs=Us,hS=N.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"]),mS=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]&&hS[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},kc=Symbol("internals");function Ir(e){return e&&String(e).trim().toLowerCase()}function Ui(e){return e===!1||e==null?e:N.isArray(e)?e.map(Ui):String(e)}function vS(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 yS=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function vo(e,t,n,r,i){if(N.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!N.isString(t)){if(N.isString(r))return t.indexOf(r)!==-1;if(N.isRegExp(r))return r.test(t)}}function gS(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function bS(e,t){const n=N.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 Ba{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function a(u,s,c){const f=Ir(s);if(!f)throw new Error("header name must be a non-empty string");const l=N.findKey(i,f);(!l||i[l]===void 0||c===!0||c===void 0&&i[l]!==!1)&&(i[l||s]=Ui(u))}const o=(u,s)=>N.forEach(u,(c,f)=>a(c,f,s));if(N.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(N.isString(t)&&(t=t.trim())&&!yS(t))o(mS(t),n);else if(N.isHeaders(t))for(const[u,s]of t.entries())a(s,u,r);else t!=null&&a(n,t,r);return this}get(t,n){if(t=Ir(t),t){const r=N.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return vS(i);if(N.isFunction(n))return n.call(this,i,r);if(N.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Ir(t),t){const r=N.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||vo(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function a(o){if(o=Ir(o),o){const u=N.findKey(r,o);u&&(!n||vo(r,r[u],u,n))&&(delete r[u],i=!0)}}return N.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||vo(this,this[a],a,t,!0))&&(delete this[a],i=!0)}return i}normalize(t){const n=this,r={};return N.forEach(this,(i,a)=>{const o=N.findKey(r,a);if(o){n[o]=Ui(i),delete n[a];return}const u=t?gS(a):String(a).trim();u!==a&&delete n[a],n[u]=Ui(i),r[u]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return N.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&N.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
- `)}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[kc]=this[kc]={accessors:{}}).accessors,i=this.prototype;function a(o){const u=Ir(o);r[u]||(bS(i,o),r[u]=!0)}return N.isArray(t)?t.forEach(a):a(t),this}}Ba.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);N.reduceDescriptors(Ba.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});N.freezeMethods(Ba);const mt=Ba;function yo(e,t){const n=this||xs,r=t||n,i=mt.from(r.headers);let a=r.data;return N.forEach(e,function(u){a=u.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function xh(e){return!!(e&&e.__CANCEL__)}function _r(e,t,n){te.call(this,e??"canceled",te.ERR_CANCELED,t,n),this.name="CanceledError"}N.inherits(_r,te,{__CANCEL__:!0});function Hh(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new te("Request failed with status code "+n.status,[te.ERR_BAD_REQUEST,te.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function _S(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function wS(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 p=f&&c-f;return p?Math.round(d*1e3/p):void 0}}function ES(e,t){let n=0;const r=1e3/t;let i=null;return function(){const o=this===!0,u=Date.now();if(o||u-n>r)return i&&(clearTimeout(i),i=null),n=u,e.apply(null,arguments);i||(i=setTimeout(()=>(i=null,n=Date.now(),e.apply(null,arguments)),r-(u-n)))}}const sa=(e,t,n=3)=>{let r=0;const i=wS(50,250);return ES(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};l[t?"download":"upload"]=!0,e(l)},n)},SS=ht.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(a){let o=a;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(o){const u=N.isString(o)?i(o):o;return u.protocol===r.protocol&&u.host===r.host}}():function(){return function(){return!0}}(),OS=ht.hasStandardBrowserEnv?{write(e,t,n,r,i,a){const o=[e+"="+encodeURIComponent(t)];N.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),N.isString(r)&&o.push("path="+r),N.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 PS(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function AS(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Kh(e,t){return e&&!PS(t)?AS(e,t):t}const Nc=e=>e instanceof mt?{...e}:e;function Tn(e,t){t=t||{};const n={};function r(c,f,l){return N.isPlainObject(c)&&N.isPlainObject(f)?N.merge.call({caseless:l},c,f):N.isPlainObject(f)?N.merge({},f):N.isArray(f)?f.slice():f}function i(c,f,l){if(N.isUndefined(f)){if(!N.isUndefined(c))return r(void 0,c,l)}else return r(c,f,l)}function a(c,f){if(!N.isUndefined(f))return r(void 0,f)}function o(c,f){if(N.isUndefined(f)){if(!N.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)=>i(Nc(c),Nc(f),!0)};return N.forEach(Object.keys(Object.assign({},e,t)),function(f){const l=s[f]||i,d=l(e[f],t[f],f);N.isUndefined(d)&&l!==u||(n[f]=d)}),n}const zh=e=>{const t=Tn({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:a,headers:o,auth:u}=t;t.headers=o=mt.from(o),t.url=Bh(Kh(t.baseURL,t.url),e.params,e.paramsSerializer),u&&o.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):"")));let s;if(N.isFormData(n)){if(ht.hasStandardBrowserEnv||ht.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(ht.hasStandardBrowserEnv&&(r&&N.isFunction(r)&&(r=r(t)),r||r!==!1&&SS(t.url))){const c=i&&a&&OS.read(a);c&&o.set(i,c)}return t},TS=typeof XMLHttpRequest<"u",CS=TS&&function(e){return new Promise(function(n,r){const i=zh(e);let a=i.data;const o=mt.from(i.headers).normalize();let{responseType:u}=i,s;function c(){i.cancelToken&&i.cancelToken.unsubscribe(s),i.signal&&i.signal.removeEventListener("abort",s)}let f=new XMLHttpRequest;f.open(i.method.toUpperCase(),i.url,!0),f.timeout=i.timeout;function l(){if(!f)return;const p=mt.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),h={data:!u||u==="text"||u==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:p,config:e,request:f};Hh(function(b){n(b),c()},function(b){r(b),c()},h),f=null}"onloadend"in f?f.onloadend=l:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)||setTimeout(l)},f.onabort=function(){f&&(r(new te("Request aborted",te.ECONNABORTED,i,f)),f=null)},f.onerror=function(){r(new te("Network Error",te.ERR_NETWORK,i,f)),f=null},f.ontimeout=function(){let m=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const h=i.transitional||Fh;i.timeoutErrorMessage&&(m=i.timeoutErrorMessage),r(new te(m,h.clarifyTimeoutError?te.ETIMEDOUT:te.ECONNABORTED,i,f)),f=null},a===void 0&&o.setContentType(null),"setRequestHeader"in f&&N.forEach(o.toJSON(),function(m,h){f.setRequestHeader(h,m)}),N.isUndefined(i.withCredentials)||(f.withCredentials=!!i.withCredentials),u&&u!=="json"&&(f.responseType=i.responseType),typeof i.onDownloadProgress=="function"&&f.addEventListener("progress",sa(i.onDownloadProgress,!0)),typeof i.onUploadProgress=="function"&&f.upload&&f.upload.addEventListener("progress",sa(i.onUploadProgress)),(i.cancelToken||i.signal)&&(s=p=>{f&&(r(!p||p.type?new _r(null,e,f):p),f.abort(),f=null)},i.cancelToken&&i.cancelToken.subscribe(s),i.signal&&(i.signal.aborted?s():i.signal.addEventListener("abort",s)));const d=_S(i.url);if(d&&ht.protocols.indexOf(d)===-1){r(new te("Unsupported protocol "+d+":",te.ERR_BAD_REQUEST,e));return}f.send(a||null)})},IS=(e,t)=>{let n=new AbortController,r;const i=function(s){if(!r){r=!0,o();const c=s instanceof Error?s:this.reason;n.abort(c instanceof te?c:new _r(c instanceof Error?c.message:c))}};let a=t&&setTimeout(()=>{i(new te(`timeout ${t} of ms exceeded`,te.ETIMEDOUT))},t);const o=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(s=>{s&&(s.removeEventListener?s.removeEventListener("abort",i):s.unsubscribe(i))}),e=null)};e.forEach(s=>s&&s.addEventListener&&s.addEventListener("abort",i));const{signal:u}=n;return u.unsubscribe=o,[u,()=>{a&&clearTimeout(a),a=null}]},LS=IS,RS=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},kS=async function*(e,t,n){for await(const r of e)yield*RS(ArrayBuffer.isView(r)?r:await n(String(r)),t)},Mc=(e,t,n,r,i)=>{const a=kS(e,t,i);let o=0;return new ReadableStream({type:"bytes",async pull(u){const{done:s,value:c}=await a.next();if(s){u.close(),r();return}let f=c.byteLength;n&&n(o+=f),u.enqueue(new Uint8Array(c))},cancel(u){return r(u),a.return()}},{highWaterMark:2})},Dc=(e,t)=>{const n=e!=null;return r=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:r}))},Fa=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Wh=Fa&&typeof ReadableStream=="function",hu=Fa&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),NS=Wh&&(()=>{let e=!1;const t=new Request(ht.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),$c=64*1024,mu=Wh&&!!(()=>{try{return N.isReadableStream(new Response("").body)}catch{}})(),la={stream:mu&&(e=>e.body)};Fa&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!la[t]&&(la[t]=N.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new te(`Response type '${t}' is not supported`,te.ERR_NOT_SUPPORT,r)})})})(new Response);const MS=async e=>{if(e==null)return 0;if(N.isBlob(e))return e.size;if(N.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(N.isArrayBufferView(e))return e.byteLength;if(N.isURLSearchParams(e)&&(e=e+""),N.isString(e))return(await hu(e)).byteLength},DS=async(e,t)=>{const n=N.toFiniteNumber(e.getContentLength());return n??MS(t)},$S=Fa&&(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}=zh(e);c=c?(c+"").toLowerCase():"text";let[p,m]=i||a||o?LS([i,a],o):[],h,_;const b=()=>{!h&&setTimeout(()=>{p&&p.unsubscribe()}),h=!0};let y;try{if(s&&NS&&n!=="get"&&n!=="head"&&(y=await DS(f,r))!==0){let O=new Request(t,{method:"POST",body:r,duplex:"half"}),S;N.isFormData(r)&&(S=O.headers.get("content-type"))&&f.setContentType(S),O.body&&(r=Mc(O.body,$c,Dc(y,sa(s)),null,hu))}N.isString(l)||(l=l?"cors":"omit"),_=new Request(t,{...d,signal:p,method:n.toUpperCase(),headers:f.normalize().toJSON(),body:r,duplex:"half",withCredentials:l});let v=await fetch(_);const g=mu&&(c==="stream"||c==="response");if(mu&&(u||g)){const O={};["status","statusText","headers"].forEach(w=>{O[w]=v[w]});const S=N.toFiniteNumber(v.headers.get("content-length"));v=new Response(Mc(v.body,$c,u&&Dc(S,sa(u,!0)),g&&b,hu),O)}c=c||"text";let E=await la[N.findKey(la,c)||"text"](v,e);return!g&&b(),m&&m(),await new Promise((O,S)=>{Hh(O,S,{data:E,headers:mt.from(v.headers),status:v.status,statusText:v.statusText,config:e,request:_})})}catch(v){throw b(),v&&v.name==="TypeError"&&/fetch/i.test(v.message)?Object.assign(new te("Network Error",te.ERR_NETWORK,e,_),{cause:v.cause||v}):te.from(v,v&&v.code,e,_)}}),vu={http:QE,xhr:CS,fetch:$S};N.forEach(vu,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const jc=e=>`- ${e}`,jS=e=>N.isFunction(e)||e===null||e===!1,qh={getAdapter:e=>{e=N.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,!jS(n)&&(r=vu[(o=String(n)).toLowerCase()],r===void 0))throw new te(`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(jc).join(`
11
- `):" "+jc(a[0]):"as no adapter specified";throw new te("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:vu};function go(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new _r(null,e)}function Bc(e){return go(e),e.headers=mt.from(e.headers),e.data=yo.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),qh.getAdapter(e.adapter||xs.adapter)(e).then(function(r){return go(e),r.data=yo.call(e,e.transformResponse,r),r.headers=mt.from(r.headers),r},function(r){return xh(r)||(go(e),r&&r.response&&(r.response.data=yo.call(e,e.transformResponse,r.response),r.response.headers=mt.from(r.response.headers))),Promise.reject(r)})}const Gh="1.7.2",Hs={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Hs[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Fc={};Hs.transitional=function(t,n,r){function i(a,o){return"[Axios v"+Gh+"] Transitional option '"+a+"'"+o+(r?". "+r:"")}return(a,o,u)=>{if(t===!1)throw new te(i(o," has been removed"+(n?" in "+n:"")),te.ERR_DEPRECATED);return n&&!Fc[o]&&(Fc[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}};function BS(e,t,n){if(typeof e!="object")throw new te("options must be an object",te.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 te("option "+a+" must be "+s,te.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new te("Unknown option "+a,te.ERR_BAD_OPTION)}}const yu={assertOptions:BS,validators:Hs},zt=yu.validators;class ca{constructor(t){this.defaults=t,this.interceptors={request:new Rc,response:new Rc}}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=Tn(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:a}=n;r!==void 0&&yu.assertOptions(r,{silentJSONParsing:zt.transitional(zt.boolean),forcedJSONParsing:zt.transitional(zt.boolean),clarifyTimeoutError:zt.transitional(zt.boolean)},!1),i!=null&&(N.isFunction(i)?n.paramsSerializer={serialize:i}:yu.assertOptions(i,{encode:zt.function,serialize:zt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=a&&N.merge(a.common,a[n.method]);a&&N.forEach(["delete","get","head","post","put","patch","common"],m=>{delete a[m]}),n.headers=mt.concat(o,a);const u=[];let s=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(s=s&&h.synchronous,u.unshift(h.fulfilled,h.rejected))});const c=[];this.interceptors.response.forEach(function(h){c.push(h.fulfilled,h.rejected)});let f,l=0,d;if(!s){const m=[Bc.bind(this),void 0];for(m.unshift.apply(m,u),m.push.apply(m,c),d=m.length,f=Promise.resolve(n);l<d;)f=f.then(m[l++],m[l++]);return f}d=u.length;let p=n;for(l=0;l<d;){const m=u[l++],h=u[l++];try{p=m(p)}catch(_){h.call(this,_);break}}try{f=Bc.call(this,p)}catch(m){return Promise.reject(m)}for(l=0,d=c.length;l<d;)f=f.then(c[l++],c[l++]);return f}getUri(t){t=Tn(this.defaults,t);const n=Kh(t.baseURL,t.url);return Bh(n,t.params,t.paramsSerializer)}}N.forEach(["delete","get","head","options"],function(t){ca.prototype[t]=function(n,r){return this.request(Tn(r||{},{method:t,url:n,data:(r||{}).data}))}});N.forEach(["post","put","patch"],function(t){function n(r){return function(a,o,u){return this.request(Tn(u||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:o}))}}ca.prototype[t]=n(),ca.prototype[t+"Form"]=n(!0)});const xi=ca;class Ks{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 _r(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)}static source(){let t;return{token:new Ks(function(i){t=i}),cancel:t}}}const FS=Ks;function US(e){return function(n){return e.apply(null,n)}}function xS(e){return N.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 HS=gu;function Vh(e){const t=new xi(e),n=Ah(xi.prototype.request,t);return N.extend(n,xi.prototype,t,{allOwnKeys:!0}),N.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return Vh(Tn(e,i))},n}const Ie=Vh(xs);Ie.Axios=xi;Ie.CanceledError=_r;Ie.CancelToken=FS;Ie.isCancel=xh;Ie.VERSION=Gh;Ie.toFormData=ja;Ie.AxiosError=te;Ie.Cancel=Ie.CanceledError;Ie.all=function(t){return Promise.all(t)};Ie.spread=US;Ie.isAxiosError=xS;Ie.mergeConfig=Tn;Ie.AxiosHeaders=mt;Ie.formToJSON=e=>Uh(N.isHTMLForm(e)?new FormData(e):e);Ie.getAdapter=qh.getAdapter;Ie.HttpStatusCode=HS;Ie.default=Ie;const KS=Ie;var zS=Function.prototype.toString,bo=Object.create,WS=Object.defineProperty,qS=Object.getOwnPropertyDescriptor,Uc=Object.getOwnPropertyNames,zs=Object.getOwnPropertySymbols,GS=Object.getPrototypeOf,Yh=Object.prototype,VS=Yh.hasOwnProperty,YS=Yh.propertyIsEnumerable,Xh=typeof zs=="function",XS=typeof WeakMap=="function",QS=function(){if(XS)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}}(),Qh=function(e,t){var n=e.__proto__||GS(e);if(!n)return bo(null);var r=n.constructor;if(r===t.Object)return n===t.Object.prototype?{}:bo(n);if(~zS.call(r).indexOf("[native code]"))try{return new r}catch{}return bo(n)},JS=function(e,t,n,r){var i=Qh(e,t);r.set(e,i);for(var a in e)VS.call(e,a)&&(i[a]=n(e[a],r));if(Xh)for(var o=zs(e),u=0,s=o.length,c=void 0;u<s;++u)c=o[u],YS.call(e,c)&&(i[c]=n(e[c],r));return i},xc=function(e,t,n,r){var i=Qh(e,t);r.set(e,i);for(var a=Xh?Uc(e).concat(zs(e)):Uc(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=qS(e,s),c){!c.get&&!c.set&&(c.value=n(e[s],r));try{WS(i,s,c)}catch{i[s]=c.value}}else i[s]=n(e[s],r);return i},ZS=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},eO=Array.isArray,tO=Object.getPrototypeOf,nO=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 Ne(e,t){var n=!!(t&&t.isStrict),r=t&&t.realm||nO,i=n?xc:JS,a=function(o,u){if(!o||typeof o!="object")return o;if(u.has(o))return u.get(o);var s=o.__proto__||tO(o),c=s&&s.constructor;if(!c||c===r.Object)return i(o,r,a,u);var f;if(eO(o)){if(n)return xc(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||ZS(o)),f.lastIndex=o.lastIndex,f;if(r.Map&&o instanceof r.Map)return f=new c,u.set(o,f),o.forEach(function(p,m){f.set(m,a(p,u))}),f;if(r.Set&&o instanceof r.Set)return f=new c,u.set(o,f),o.forEach(function(p){f.add(a(p,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,QS())}Ne.default=Ne;Ne.strict=function(t,n){return Ne(t,{isStrict:!0,realm:n?n.realm:void 0})};var rO=Error,iO=EvalError,aO=RangeError,oO=ReferenceError,Jh=SyntaxError,Ua=TypeError,uO=URIError,sO=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(n 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 a=Object.getOwnPropertySymbols(t);if(a.length!==1||a[0]!==n||!Object.prototype.propertyIsEnumerable.call(t,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(t,n);if(o.value!==i||o.enumerable!==!0)return!1}return!0},Hc=typeof Symbol<"u"&&Symbol,lO=sO,cO=function(){return typeof Hc!="function"||typeof Symbol!="function"||typeof Hc("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:lO()},Kc={foo:{}},fO=Object,dO=function(){return{__proto__:Kc}.foo===Kc.foo&&!({__proto__:null}instanceof fO)},pO="Function.prototype.bind called on incompatible ",hO=Object.prototype.toString,mO=Math.max,vO="[object Function]",zc=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},yO=function(t,n){for(var r=[],i=n||0,a=0;i<t.length;i+=1,a+=1)r[a]=t[i];return r},gO=function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n},bO=function(t){var n=this;if(typeof n!="function"||hO.apply(n)!==vO)throw new TypeError(pO+n);for(var r=yO(arguments,1),i,a=function(){if(this instanceof i){var f=n.apply(this,zc(r,arguments));return Object(f)===f?f:this}return n.apply(t,zc(r,arguments))},o=mO(0,n.length-r.length),u=[],s=0;s<o;s++)u[s]="$"+s;if(i=Function("binder","return function ("+gO(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},_O=bO,Ws=Function.prototype.bind||_O,wO=Function.prototype.call,EO=Object.prototype.hasOwnProperty,SO=Ws,OO=SO.call(wO,EO),se,PO=rO,AO=iO,TO=aO,CO=oO,ar=Jh,Vn=Ua,IO=uO,Zh=Function,_o=function(e){try{return Zh('"use strict"; return ('+e+").constructor;")()}catch{}},Sn=Object.getOwnPropertyDescriptor;if(Sn)try{Sn({},"")}catch{Sn=null}var wo=function(){throw new Vn},LO=Sn?function(){try{return arguments.callee,wo}catch{try{return Sn(arguments,"callee").get}catch{return wo}}}():wo,Mn=cO(),RO=dO(),Be=Object.getPrototypeOf||(RO?function(e){return e.__proto__}:null),jn={},kO=typeof Uint8Array>"u"||!Be?se:Be(Uint8Array),On={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?se:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?se:ArrayBuffer,"%ArrayIteratorPrototype%":Mn&&Be?Be([][Symbol.iterator]()):se,"%AsyncFromSyncIteratorPrototype%":se,"%AsyncFunction%":jn,"%AsyncGenerator%":jn,"%AsyncGeneratorFunction%":jn,"%AsyncIteratorPrototype%":jn,"%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%":PO,"%eval%":eval,"%EvalError%":AO,"%Float32Array%":typeof Float32Array>"u"?se:Float32Array,"%Float64Array%":typeof Float64Array>"u"?se:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?se:FinalizationRegistry,"%Function%":Zh,"%GeneratorFunction%":jn,"%Int8Array%":typeof Int8Array>"u"?se:Int8Array,"%Int16Array%":typeof Int16Array>"u"?se:Int16Array,"%Int32Array%":typeof Int32Array>"u"?se:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Mn&&Be?Be(Be([][Symbol.iterator]())):se,"%JSON%":typeof JSON=="object"?JSON:se,"%Map%":typeof Map>"u"?se:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Mn||!Be?se:Be(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?se:Promise,"%Proxy%":typeof Proxy>"u"?se:Proxy,"%RangeError%":TO,"%ReferenceError%":CO,"%Reflect%":typeof Reflect>"u"?se:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?se:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Mn||!Be?se:Be(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?se:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Mn&&Be?Be(""[Symbol.iterator]()):se,"%Symbol%":Mn?Symbol:se,"%SyntaxError%":ar,"%ThrowTypeError%":LO,"%TypedArray%":kO,"%TypeError%":Vn,"%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%":IO,"%WeakMap%":typeof WeakMap>"u"?se:WeakMap,"%WeakRef%":typeof WeakRef>"u"?se:WeakRef,"%WeakSet%":typeof WeakSet>"u"?se:WeakSet};if(Be)try{null.error}catch(e){var NO=Be(Be(e));On["%Error.prototype%"]=NO}var MO=function e(t){var n;if(t==="%AsyncFunction%")n=_o("async function () {}");else if(t==="%GeneratorFunction%")n=_o("function* () {}");else if(t==="%AsyncGeneratorFunction%")n=_o("async function* () {}");else if(t==="%AsyncGenerator%"){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&Be&&(n=Be(i.prototype))}return On[t]=n,n},Wc={__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"]},ci=Ws,fa=OO,DO=ci.call(Function.call,Array.prototype.concat),$O=ci.call(Function.apply,Array.prototype.splice),qc=ci.call(Function.call,String.prototype.replace),da=ci.call(Function.call,String.prototype.slice),jO=ci.call(Function.call,RegExp.prototype.exec),BO=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,FO=/\\(\\)?/g,UO=function(t){var n=da(t,0,1),r=da(t,-1);if(n==="%"&&r!=="%")throw new ar("invalid intrinsic syntax, expected closing `%`");if(r==="%"&&n!=="%")throw new ar("invalid intrinsic syntax, expected opening `%`");var i=[];return qc(t,BO,function(a,o,u,s){i[i.length]=u?qc(s,FO,"$1"):o||a}),i},xO=function(t,n){var r=t,i;if(fa(Wc,r)&&(i=Wc[r],r="%"+i[0]+"%"),fa(On,r)){var a=On[r];if(a===jn&&(a=MO(r)),typeof a>"u"&&!n)throw new Vn("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:r,value:a}}throw new ar("intrinsic "+t+" does not exist!")},wr=function(t,n){if(typeof t!="string"||t.length===0)throw new Vn("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new Vn('"allowMissing" argument must be a boolean');if(jO(/^%?[^%]*%?$/,t)===null)throw new ar("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=UO(t),i=r.length>0?r[0]:"",a=xO("%"+i+"%",n),o=a.name,u=a.value,s=!1,c=a.alias;c&&(i=c[0],$O(r,DO([0,1],c)));for(var f=1,l=!0;f<r.length;f+=1){var d=r[f],p=da(d,0,1),m=da(d,-1);if((p==='"'||p==="'"||p==="`"||m==='"'||m==="'"||m==="`")&&p!==m)throw new ar("property names with quotes must have matching quotes");if((d==="constructor"||!l)&&(s=!0),i+="."+d,o="%"+i+"%",fa(On,o))u=On[o];else if(u!=null){if(!(d in u)){if(!n)throw new Vn("base intrinsic for "+t+" exists, but the property is not available.");return}if(Sn&&f+1>=r.length){var h=Sn(u,d);l=!!h,l&&"get"in h&&!("originalValue"in h.get)?u=h.get:u=u[d]}else l=fa(u,d),u=u[d];l&&!s&&(On[o]=u)}}return u},em={exports:{}},Eo,Gc;function qs(){if(Gc)return Eo;Gc=1;var e=wr,t=e("%Object.defineProperty%",!0)||!1;if(t)try{t({},"a",{value:1})}catch{t=!1}return Eo=t,Eo}var HO=wr,Hi=HO("%Object.getOwnPropertyDescriptor%",!0);if(Hi)try{Hi([],"length")}catch{Hi=null}var tm=Hi,Vc=qs(),KO=Jh,Dn=Ua,Yc=tm,zO=function(t,n,r){if(!t||typeof t!="object"&&typeof t!="function")throw new Dn("`obj` must be an object or a function`");if(typeof n!="string"&&typeof n!="symbol")throw new Dn("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Dn("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Dn("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Dn("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Dn("`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=!!Yc&&Yc(t,n);if(Vc)Vc(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 KO("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},bu=qs(),nm=function(){return!!bu};nm.hasArrayLengthDefineBug=function(){if(!bu)return null;try{return bu([],"length",{value:1}).length!==1}catch{return!0}};var WO=nm,qO=wr,Xc=zO,GO=WO(),Qc=tm,Jc=Ua,VO=qO("%Math.floor%"),YO=function(t,n){if(typeof t!="function")throw new Jc("`fn` is not a function");if(typeof n!="number"||n<0||n>4294967295||VO(n)!==n)throw new Jc("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],i=!0,a=!0;if("length"in t&&Qc){var o=Qc(t,"length");o&&!o.configurable&&(i=!1),o&&!o.writable&&(a=!1)}return(i||a||!r)&&(GO?Xc(t,"length",n,!0,!0):Xc(t,"length",n)),t};(function(e){var t=Ws,n=wr,r=YO,i=Ua,a=n("%Function.prototype.apply%"),o=n("%Function.prototype.call%"),u=n("%Reflect.apply%",!0)||t.call(o,a),s=qs(),c=n("%Math.max%");e.exports=function(d){if(typeof d!="function")throw new i("a function is required");var p=u(t,o,arguments);return r(p,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})(em);var XO=em.exports,rm=wr,im=XO,QO=im(rm("String.prototype.indexOf")),JO=function(t,n){var r=rm(t,!!n);return typeof r=="function"&&QO(t,".prototype.")>-1?im(r):r};const ZO={},e2=Object.freeze(Object.defineProperty({__proto__:null,default:ZO},Symbol.toStringTag,{value:"Module"})),t2=nd(e2);var Gs=typeof Map=="function"&&Map.prototype,So=Object.getOwnPropertyDescriptor&&Gs?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,pa=Gs&&So&&typeof So.get=="function"?So.get:null,Zc=Gs&&Map.prototype.forEach,Vs=typeof Set=="function"&&Set.prototype,Oo=Object.getOwnPropertyDescriptor&&Vs?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,ha=Vs&&Oo&&typeof Oo.get=="function"?Oo.get:null,ef=Vs&&Set.prototype.forEach,n2=typeof WeakMap=="function"&&WeakMap.prototype,Br=n2?WeakMap.prototype.has:null,r2=typeof WeakSet=="function"&&WeakSet.prototype,Fr=r2?WeakSet.prototype.has:null,i2=typeof WeakRef=="function"&&WeakRef.prototype,tf=i2?WeakRef.prototype.deref:null,a2=Boolean.prototype.valueOf,o2=Object.prototype.toString,u2=Function.prototype.toString,s2=String.prototype.match,Ys=String.prototype.slice,Qt=String.prototype.replace,l2=String.prototype.toUpperCase,nf=String.prototype.toLowerCase,am=RegExp.prototype.test,rf=Array.prototype.concat,_t=Array.prototype.join,c2=Array.prototype.slice,af=Math.floor,_u=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Po=Object.getOwnPropertySymbols,wu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,or=typeof Symbol=="function"&&typeof Symbol.iterator=="object",We=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===or||"symbol")?Symbol.toStringTag:null,om=Object.prototype.propertyIsEnumerable,of=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function uf(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||am.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var r=e<0?-af(-e):af(e);if(r!==e){var i=String(r),a=Ys.call(t,i.length+1);return Qt.call(i,n,"$&_")+"."+Qt.call(Qt.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Qt.call(t,n,"$&_")}var Eu=t2,sf=Eu.custom,lf=sm(sf)?sf:null,f2=function e(t,n,r,i){var a=n||{};if(Gt(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Gt(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=Gt(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(Gt(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(Gt(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 cm(t,a);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var s=String(t);return u?uf(t,s):s}if(typeof t=="bigint"){var c=String(t)+"n";return u?uf(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 Su(t)?"[Array]":"[Object]";var l=I2(a,r);if(typeof i>"u")i=[];else if(lm(i,t)>=0)return"[Circular]";function d(j,I,C){if(I&&(i=c2.call(i),i.push(I)),C){var R={depth:a.depth};return Gt(a,"quoteStyle")&&(R.quoteStyle=a.quoteStyle),e(j,R,r+1,i)}return e(j,a,r+1,i)}if(typeof t=="function"&&!cf(t)){var p=_2(t),m=bi(t,d);return"[Function"+(p?": "+p:" (anonymous)")+"]"+(m.length>0?" { "+_t.call(m,", ")+" }":"")}if(sm(t)){var h=or?Qt.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):wu.call(t);return typeof t=="object"&&!or?Lr(h):h}if(A2(t)){for(var _="<"+nf.call(String(t.nodeName)),b=t.attributes||[],y=0;y<b.length;y++)_+=" "+b[y].name+"="+um(d2(b[y].value),"double",a);return _+=">",t.childNodes&&t.childNodes.length&&(_+="..."),_+="</"+nf.call(String(t.nodeName))+">",_}if(Su(t)){if(t.length===0)return"[]";var v=bi(t,d);return l&&!C2(v)?"["+Ou(v,l)+"]":"[ "+_t.call(v,", ")+" ]"}if(h2(t)){var g=bi(t,d);return!("cause"in Error.prototype)&&"cause"in t&&!om.call(t,"cause")?"{ ["+String(t)+"] "+_t.call(rf.call("[cause]: "+d(t.cause),g),", ")+" }":g.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+_t.call(g,", ")+" }"}if(typeof t=="object"&&o){if(lf&&typeof t[lf]=="function"&&Eu)return Eu(t,{depth:f-r});if(o!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(w2(t)){var E=[];return Zc&&Zc.call(t,function(j,I){E.push(d(I,t,!0)+" => "+d(j,t))}),ff("Map",pa.call(t),E,l)}if(O2(t)){var O=[];return ef&&ef.call(t,function(j){O.push(d(j,t))}),ff("Set",ha.call(t),O,l)}if(E2(t))return Ao("WeakMap");if(P2(t))return Ao("WeakSet");if(S2(t))return Ao("WeakRef");if(v2(t))return Lr(d(Number(t)));if(g2(t))return Lr(d(_u.call(t)));if(y2(t))return Lr(a2.call(t));if(m2(t))return Lr(d(String(t)));if(t===J)return typeof window<"u"?"{ [object Window] }":"{ [object global] }";if(!p2(t)&&!cf(t)){var S=bi(t,d),w=of?of(t)===Object.prototype:t instanceof Object||t.constructor===Object,P=t instanceof Object?"":"null prototype",A=!w&&We&&Object(t)===t&&We in t?Ys.call(cn(t),8,-1):P?"Object":"",L=w||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",$=L+(A||P?"["+_t.call(rf.call([],A||[],P||[]),": ")+"] ":"");return S.length===0?$+"{}":l?$+"{"+Ou(S,l)+"}":$+"{ "+_t.call(S,", ")+" }"}return String(t)};function um(e,t,n){var r=(n.quoteStyle||t)==="double"?'"':"'";return r+e+r}function d2(e){return Qt.call(String(e),/"/g,"&quot;")}function Su(e){return cn(e)==="[object Array]"&&(!We||!(typeof e=="object"&&We in e))}function p2(e){return cn(e)==="[object Date]"&&(!We||!(typeof e=="object"&&We in e))}function cf(e){return cn(e)==="[object RegExp]"&&(!We||!(typeof e=="object"&&We in e))}function h2(e){return cn(e)==="[object Error]"&&(!We||!(typeof e=="object"&&We in e))}function m2(e){return cn(e)==="[object String]"&&(!We||!(typeof e=="object"&&We in e))}function v2(e){return cn(e)==="[object Number]"&&(!We||!(typeof e=="object"&&We in e))}function y2(e){return cn(e)==="[object Boolean]"&&(!We||!(typeof e=="object"&&We in e))}function sm(e){if(or)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!wu)return!1;try{return wu.call(e),!0}catch{}return!1}function g2(e){if(!e||typeof e!="object"||!_u)return!1;try{return _u.call(e),!0}catch{}return!1}var b2=Object.prototype.hasOwnProperty||function(e){return e in this};function Gt(e,t){return b2.call(e,t)}function cn(e){return o2.call(e)}function _2(e){if(e.name)return e.name;var t=s2.call(u2.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function lm(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 w2(e){if(!pa||!e||typeof e!="object")return!1;try{pa.call(e);try{ha.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function E2(e){if(!Br||!e||typeof e!="object")return!1;try{Br.call(e,Br);try{Fr.call(e,Fr)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function S2(e){if(!tf||!e||typeof e!="object")return!1;try{return tf.call(e),!0}catch{}return!1}function O2(e){if(!ha||!e||typeof e!="object")return!1;try{ha.call(e);try{pa.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function P2(e){if(!Fr||!e||typeof e!="object")return!1;try{Fr.call(e,Fr);try{Br.call(e,Br)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function A2(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function cm(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return cm(Ys.call(e,0,t.maxStringLength),t)+r}var i=Qt.call(Qt.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,T2);return um(i,"single",t)}function T2(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":"")+l2.call(t.toString(16))}function Lr(e){return"Object("+e+")"}function Ao(e){return e+" { ? }"}function ff(e,t,n,r){var i=r?Ou(n,r):_t.call(n,", ");return e+" ("+t+") {"+i+"}"}function C2(e){for(var t=0;t<e.length;t++)if(lm(e[t],`
13
- `)>=0)return!1;return!0}function I2(e,t){var n;if(e.indent===" ")n=" ";else if(typeof e.indent=="number"&&e.indent>0)n=_t.call(Array(e.indent+1)," ");else return null;return{base:n,prev:_t.call(Array(t+1),n)}}function Ou(e,t){if(e.length===0)return"";var n=`
7
+ `));let l=c.props,d=typeof(l==null?void 0:l.className)=="function"?(...m)=>ia(l==null?void 0:l.className(...m),u.className):ia(l==null?void 0:l.className,u.className),p=d?{className:d}:{};return fs(c,Object.assign({},lh(c.props,au(so(u,["ref"]))),f,s,i1(c.ref,s.ref),p))}return B(i,Object.assign({},so(u,["ref"]),i!==be&&s,i!==be&&f),c)}function i1(...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 lh(...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 we(e){var t;return Object.assign(pe(e),{displayName:(t=e.displayName)!=null?t:e.name})}function au(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function so(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function Ia(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&&a1(n)?!1:r}function a1(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}function o1(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 u1="div";var Yr=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Yr||{});function s1(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 _e({ourProps:i,theirProps:r,slot:{},defaultTag:u1,name:"Hidden"})}let aa=we(s1),Ts=De(null);Ts.displayName="OpenClosedContext";var Se=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(Se||{});function oi(){return Le(Ts)}function Cs({value:e,children:t}){return Z.createElement(Ts.Provider,{value:e},t)}var me=(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))(me||{});function l1(e,t,n){let[r,i]=Ue(n),a=e!==void 0,o=ne(a),u=ne(!1),s=ne(!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 Is(e,t){let n=ne([]),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 c1(){let e=ne([-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 f1(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function gr(...e){return le(()=>ai(...e),[...e])}var Nr=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Nr||{});function d1(){let e=ne(0);return ah("keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function ui(){let e=ne(!1);return ke(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function ch(e,t,n,r){let i=Dt(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 p1(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}function fh(e){let t=ee(e),n=ne(!1);de(()=>(n.current=!1,()=>{n.current=!0,Ca(()=>{n.current&&t()})}),[t])}function dh(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 h1="div";var ph=(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))(ph||{});function m1(e,t){let n=ne(null),r=Re(n,t),{initialFocus:i,containers:a,features:o=30,...u}=e;yr()||(o=1);let s=gr(n);g1({ownerDocument:s},!!(o&16));let c=b1({ownerDocument:s,container:n,initialFocus:i},!!(o&2));_1({ownerDocument:s,container:n,containers:a,previousActiveElement:c},!!(o&8));let f=d1(),l=ee(h=>{let _=n.current;_&&(b=>b())(()=>{Oe(f.current,{[Nr.Forwards]:()=>{jr(_,It.First,{skipElements:[h.relatedTarget]})},[Nr.Backwards]:()=>{jr(_,It.Last,{skipElements:[h.relatedTarget]})}})})}),d=vr(),p=ne(!1),m={ref:r,onKeyDown(h){h.key=="Tab"&&(p.current=!0,d.requestAnimationFrame(()=>{p.current=!1}))},onBlur(h){let _=dh(a);n.current instanceof HTMLElement&&_.add(n.current);let b=h.relatedTarget;b instanceof HTMLElement&&b.dataset.headlessuiFocusGuard!=="true"&&(hh(_,b)||(p.current?jr(n.current,Oe(f.current,{[Nr.Forwards]:()=>It.Next,[Nr.Backwards]:()=>It.Previous})|It.WrapAround,{relativeTo:h.target}):h.target instanceof HTMLElement&&tn(h.target)))}};return Z.createElement(Z.Fragment,null,!!(o&4)&&Z.createElement(aa,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:l,features:Yr.Focusable}),_e({ourProps:m,theirProps:u,defaultTag:h1,name:"FocusTrap"}),!!(o&4)&&Z.createElement(aa,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:l,features:Yr.Focusable}))}let v1=we(m1),Tr=Object.assign(v1,{features:ph}),Vt=[];p1(()=>{function e(t){t.target instanceof HTMLElement&&t.target!==document.body&&Vt[0]!==t.target&&(Vt.unshift(t.target),Vt=Vt.filter(n=>n!=null&&n.isConnected),Vt.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 y1(e=!0){let t=ne(Vt.slice());return Is(([n],[r])=>{r===!0&&n===!1&&Ca(()=>{t.current.splice(0)}),r===!1&&n===!0&&(t.current=Vt.slice())},[e,Vt,t]),ee(()=>{var n;return(n=t.current.find(r=>r!=null&&r.isConnected))!=null?n:null})}function g1({ownerDocument:e},t){let n=y1(t);Is(()=>{t||(e==null?void 0:e.activeElement)===(e==null?void 0:e.body)&&tn(n())},[t]),fh(()=>{t&&tn(n())})}function b1({ownerDocument:e,container:t,initialFocus:n},r){let i=ne(null),a=ui();return Is(()=>{if(!r)return;let o=t.current;o&&Ca(()=>{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?tn(n.current):jr(o,It.First)===th.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),i.current=e==null?void 0:e.activeElement})},[r]),i}function _1({ownerDocument:e,container:t,containers:n,previousActiveElement:r},i){let a=ui();ch(e==null?void 0:e.defaultView,"focus",o=>{if(!i||!a.current)return;let u=dh(n);t.current instanceof HTMLElement&&u.add(t.current);let s=r.current;if(!s)return;let c=o.target;c&&c instanceof HTMLElement?hh(u,c)?(r.current=c,tn(c)):(o.preventDefault(),o.stopPropagation(),tn(s)):tn(r.current)},!0)}function hh(e,t){for(let n of e)if(n.contains(t))return!0;return!1}let mh=De(!1);function w1(){return Le(mh)}function ou(e){return Z.createElement(mh.Provider,{value:e.force},e.children)}function E1(e){let t=w1(),n=Le(vh),r=gr(e),[i,a]=Ue(()=>{if(!t&&n!==null||Mt.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 S1=be;function O1(e,t){let n=e,r=ne(null),i=Re(sh(f=>{r.current=f}),t),a=gr(r),o=E1(r),[u]=Ue(()=>{var f;return Mt.isServer?null:(f=a==null?void 0:a.createElement("div"))!=null?f:null}),s=Le(uu),c=yr();return ke(()=>{!o||!u||o.contains(u)||(u.setAttribute("data-headlessui-portal",""),o.appendChild(u))},[o,u]),ke(()=>{if(u&&s)return s.register(u)},[s,u]),fh(()=>{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:ls(_e({ourProps:{ref:i},theirProps:n,defaultTag:S1,name:"Portal"}),u):null}let P1=be,vh=De(null);function A1(e,t){let{target:n,...r}=e,i={ref:Re(t)};return Z.createElement(vh.Provider,{value:n},_e({ourProps:i,theirProps:r,defaultTag:P1,name:"Popover.Group"}))}let uu=De(null);function T1(){let e=Le(uu),t=ne([]),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=le(()=>({register:n,unregister:r,portals:t}),[n,r,t]);return[t,le(()=>function({children:a}){return Z.createElement(uu.Provider,{value:i},a)},[i])]}let C1=we(O1),I1=we(A1),su=Object.assign(C1,{Group:I1}),yh=De(null);function gh(){let e=Le(yh);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,gh),t}return e}function bh(){let[e,t]=Ue([]);return[e.length>0?e.join(" "):void 0,le(()=>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=le(()=>({register:r,slot:n.slot,name:n.name,props:n.props}),[r,n.slot,n.name,n.props]);return Z.createElement(yh.Provider,{value:i},n.children)},[t])]}let L1="p";function R1(e,t){let n=tt(),{id:r=`headlessui-description-${n}`,...i}=e,a=gh(),o=Re(t);ke(()=>a.register(r),[r,a.register]);let u={ref:o,...a.props,id:r};return _e({ourProps:u,theirProps:i,slot:a.slot||{},defaultTag:L1,name:a.name||"Description"})}let k1=we(R1),_h=Object.assign(k1,{}),Ls=De(()=>{});Ls.displayName="StackContext";var lu=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(lu||{});function N1(){return Le(Ls)}function M1({children:e,onUpdate:t,type:n,element:r,enabled:i}){let a=N1(),o=ee((...u)=>{t==null||t(...u),a(...u)});return ke(()=>{let u=i===void 0||i===!0;return u&&o(0,n,r),()=>{u&&o(1,n,r)}},[o,n,r,i]),Z.createElement(Ls.Provider,{value:o},e)}function D1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}const $1=typeof Object.is=="function"?Object.is:D1,{useState:j1,useEffect:B1,useLayoutEffect:F1,useDebugValue:U1}=er;function x1(e,t,n){const r=t(),[{inst:i},a]=j1({inst:{value:r,getSnapshot:t}});return F1(()=>{i.value=r,i.getSnapshot=t,lo(i)&&a({inst:i})},[e,r,t]),B1(()=>(lo(i)&&a({inst:i}),e(()=>{lo(i)&&a({inst:i})})),[e]),U1(r),r}function lo(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!$1(n,r)}catch{return!0}}function H1(e,t,n){return t()}const K1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",z1=!K1,W1=z1?H1:x1,q1="useSyncExternalStore"in er?(e=>e.useSyncExternalStore)(er):W1;function G1(e){return q1(e.subscribe,e.getSnapshot,e.getSnapshot)}function V1(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 Y1(){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 X1(){if(!f1())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=yt();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 Q1(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function J1(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let yn=V1(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:yt(),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:J1(n)},i=[X1(),Y1(),Q1()];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)}});yn.subscribe(()=>{let e=yn.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)&&yn.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&yn.dispatch("TEARDOWN",n)}});function Z1(e,t,n){let r=G1(yn),i=e?r.get(e):void 0,a=i?i.count>0:!1;return ke(()=>{if(!(!e||!t))return yn.dispatch("PUSH",e,n),()=>yn.dispatch("POP",e,n)},[t,e]),a}let co=new Map,Cr=new Map;function Ec(e,t=!0){ke(()=>{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=Cr.get(r))!=null?o:1;if(u===1?Cr.delete(r):Cr.set(r,u-1),u!==1)return;let s=co.get(r);s&&(s["aria-hidden"]===null?r.removeAttribute("aria-hidden"):r.setAttribute("aria-hidden",s["aria-hidden"]),r.inert=s.inert,co.delete(r))}let a=(n=Cr.get(r))!=null?n:0;return Cr.set(r,a+1),a!==0||(co.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),r.setAttribute("aria-hidden","true"),r.inert=!0),i},[e,t])}function e_({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){var r;let i=ne((r=n==null?void 0:n.current)!=null?r:null),a=gr(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:le(()=>function(){return n!=null?null:Z.createElement(aa,{features:Yr.Hidden,ref:i})},[i,n])}}var t_=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(t_||{}),n_=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(n_||{});let r_={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},oa=De(null);oa.displayName="DialogContext";function si(e){let t=Le(oa);if(t===null){let n=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,si),n}return t}function i_(e,t,n=()=>[document.body]){Z1(e,t,r=>{var i;return{containers:[...(i=r.containers)!=null?i:[],n]}})}function a_(e,t){return Oe(t.type,r_,e,t)}let o_="div",u_=on.RenderStrategy|on.Static;function s_(e,t){var n;let r=tt(),{id:i=`headlessui-dialog-${r}`,open:a,onClose:o,initialFocus:u,__demoMode:s=!1,...c}=e,[f,l]=Ue(0),d=oi();a===void 0&&d!==null&&(a=(d&Se.Open)===Se.Open);let p=ne(null),m=Re(p,t),h=gr(p),_=e.hasOwnProperty("open")||d!==null,b=e.hasOwnProperty("onClose");if(!_&&!b)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(!b)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,[v,g]=Rn(a_,{titleId:null,descriptionId:null,panelRef:Wr()}),E=ee(()=>o(!1)),O=ee(Q=>g({type:0,id:Q})),S=yr()?s?!1:y===0:!1,w=f>1,P=Le(oa)!==null,[A,L]=T1(),{resolveContainers:$,mainTreeNodeRef:j,MainTreeNode:I}=e_({portals:A,defaultContainers:[(n=v.panelRef.current)!=null?n:p.current]}),C=w?"parent":"leaf",R=d!==null?(d&Se.Closing)===Se.Closing:!1,D=(()=>P||R?!1:S)(),F=Yt(()=>{var Q,ae;return(ae=Array.from((Q=h==null?void 0:h.querySelectorAll("body > *"))!=null?Q:[]).find(oe=>oe.id==="headlessui-portal-root"?!1:oe.contains(j.current)&&oe instanceof HTMLElement))!=null?ae:null},[j]);Ec(F,D);let Y=(()=>w?!0:S)(),q=Yt(()=>{var Q,ae;return(ae=Array.from((Q=h==null?void 0:h.querySelectorAll("[data-headlessui-portal]"))!=null?Q:[]).find(oe=>oe.contains(j.current)&&oe instanceof HTMLElement))!=null?ae:null},[j]);Ec(q,Y);let X=(()=>!(!S||w))();oh($,E,X);let x=(()=>!(w||y!==0))();ch(h==null?void 0:h.defaultView,"keydown",Q=>{x&&(Q.defaultPrevented||Q.key===me.Escape&&(Q.preventDefault(),Q.stopPropagation(),E()))});let U=(()=>!(R||y!==0||P))();i_(h,U,$),de(()=>{if(y!==0||!p.current)return;let Q=new ResizeObserver(ae=>{for(let oe of ae){let Ee=oe.target.getBoundingClientRect();Ee.x===0&&Ee.y===0&&Ee.width===0&&Ee.height===0&&E()}});return Q.observe(p.current),()=>Q.disconnect()},[y,p,E]);let[W,H]=bh(),re=le(()=>[{dialogState:y,close:E,setTitleId:O},v],[y,v,E,O]),fe=le(()=>({open:y===0}),[y]),ie={ref:m,id:i,role:"dialog","aria-modal":y===0?!0:void 0,"aria-labelledby":v.titleId,"aria-describedby":W};return Z.createElement(M1,{type:"Dialog",enabled:y===0,element:p,onUpdate:ee((Q,ae)=>{ae==="Dialog"&&Oe(Q,{[lu.Add]:()=>l(oe=>oe+1),[lu.Remove]:()=>l(oe=>oe-1)})})},Z.createElement(ou,{force:!0},Z.createElement(su,null,Z.createElement(oa.Provider,{value:re},Z.createElement(su.Group,{target:p},Z.createElement(ou,{force:!1},Z.createElement(H,{slot:fe,name:"Dialog.Description"},Z.createElement(Tr,{initialFocus:u,containers:$,features:S?Oe(C,{parent:Tr.features.RestoreFocus,leaf:Tr.features.All&~Tr.features.FocusLock}):Tr.features.None},Z.createElement(L,null,_e({ourProps:ie,theirProps:c,slot:fe,defaultTag:o_,features:u_,visible:y===0,name:"Dialog"}))))))))),Z.createElement(I,null))}let l_="div";function c_(e,t){let n=tt(),{id:r=`headlessui-dialog-overlay-${n}`,...i}=e,[{dialogState:a,close:o}]=si("Dialog.Overlay"),u=Re(t),s=ee(f=>{if(f.target===f.currentTarget){if(Ia(f.currentTarget))return f.preventDefault();f.preventDefault(),f.stopPropagation(),o()}}),c=le(()=>({open:a===0}),[a]);return _e({ourProps:{ref:u,id:r,"aria-hidden":!0,onClick:s},theirProps:i,slot:c,defaultTag:l_,name:"Dialog.Overlay"})}let f_="div";function d_(e,t){let n=tt(),{id:r=`headlessui-dialog-backdrop-${n}`,...i}=e,[{dialogState:a},o]=si("Dialog.Backdrop"),u=Re(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=le(()=>({open:a===0}),[a]);return Z.createElement(ou,{force:!0},Z.createElement(su,null,_e({ourProps:{ref:u,id:r,"aria-hidden":!0},theirProps:i,slot:s,defaultTag:f_,name:"Dialog.Backdrop"})))}let p_="div";function h_(e,t){let n=tt(),{id:r=`headlessui-dialog-panel-${n}`,...i}=e,[{dialogState:a},o]=si("Dialog.Panel"),u=Re(t,o.panelRef),s=le(()=>({open:a===0}),[a]),c=ee(f=>{f.stopPropagation()});return _e({ourProps:{ref:u,id:r,onClick:c},theirProps:i,slot:s,defaultTag:p_,name:"Dialog.Panel"})}let m_="h2";function v_(e,t){let n=tt(),{id:r=`headlessui-dialog-title-${n}`,...i}=e,[{dialogState:a,setTitleId:o}]=si("Dialog.Title"),u=Re(t);de(()=>(o(r),()=>o(null)),[r,o]);let s=le(()=>({open:a===0}),[a]);return _e({ourProps:{ref:u,id:r},theirProps:i,slot:s,defaultTag:m_,name:"Dialog.Title"})}let y_=we(s_),g_=we(d_),b_=we(h_),__=we(c_),w_=we(v_),mI=Object.assign(y_,{Backdrop:g_,Panel:b_,Overlay:__,Title:w_,Description:_h});var Sc;let E_=(Sc=Z.startTransition)!=null?Sc:function(e){e()};var S_=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(S_||{}),O_=(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))(O_||{});let P_={0:e=>({...e,disclosureState:Oe(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}}},Rs=De(null);Rs.displayName="DisclosureContext";function ks(e){let t=Le(Rs);if(t===null){let n=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,ks),n}return t}let Ns=De(null);Ns.displayName="DisclosureAPIContext";function wh(e){let t=Le(Ns);if(t===null){let n=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,wh),n}return t}let Ms=De(null);Ms.displayName="DisclosurePanelContext";function A_(){return Le(Ms)}function T_(e,t){return Oe(t.type,P_,e,t)}let C_=be;function I_(e,t){let{defaultOpen:n=!1,...r}=e,i=ne(null),a=Re(t,sh(_=>{i.current=_},e.as===void 0||e.as===be)),o=ne(null),u=ne(null),s=Rn(T_,{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 b=ai(i);if(!b||!f)return;let y=(()=>_?_ instanceof HTMLElement?_:_.current instanceof HTMLElement?_.current:b.getElementById(f):b.getElementById(f))();y==null||y.focus()}),p=le(()=>({close:d}),[d]),m=le(()=>({open:c===0,close:d}),[c,d]),h={ref:a};return Z.createElement(Rs.Provider,{value:s},Z.createElement(Ns.Provider,{value:p},Z.createElement(Cs,{value:Oe(c,{0:Se.Open,1:Se.Closed})},_e({ourProps:h,theirProps:r,slot:m,defaultTag:C_,name:"Disclosure"}))))}let L_="button";function R_(e,t){let n=tt(),{id:r=`headlessui-disclosure-button-${n}`,...i}=e,[a,o]=ks("Disclosure.Button"),u=A_(),s=u===null?!1:u===a.panelId,c=ne(null),f=Re(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(b=>{var y;if(s){if(a.disclosureState===1)return;switch(b.key){case me.Space:case me.Enter:b.preventDefault(),b.stopPropagation(),o({type:0}),(y=a.buttonRef.current)==null||y.focus();break}}else switch(b.key){case me.Space:case me.Enter:b.preventDefault(),b.stopPropagation(),o({type:0});break}}),d=ee(b=>{switch(b.key){case me.Space:b.preventDefault();break}}),p=ee(b=>{var y;Ia(b.currentTarget)||e.disabled||(s?(o({type:0}),(y=a.buttonRef.current)==null||y.focus()):o({type:0}))}),m=le(()=>({open:a.disclosureState===0}),[a]),h=As(e,c),_=s?{ref:f,type:h,onKeyDown:l,onClick:p}:{ref:f,id:r,type:h,"aria-expanded":a.disclosureState===0,"aria-controls":a.linkedPanel?a.panelId:void 0,onKeyDown:l,onKeyUp:d,onClick:p};return _e({ourProps:_,theirProps:i,slot:m,defaultTag:L_,name:"Disclosure.Button"})}let k_="div",N_=on.RenderStrategy|on.Static;function M_(e,t){let n=tt(),{id:r=`headlessui-disclosure-panel-${n}`,...i}=e,[a,o]=ks("Disclosure.Panel"),{close:u}=wh("Disclosure.Panel"),s=Re(t,a.panelRef,p=>{E_(()=>o({type:p?4:5}))});de(()=>(o({type:3,panelId:r}),()=>{o({type:3,panelId:null})}),[r,o]);let c=oi(),f=(()=>c!==null?(c&Se.Open)===Se.Open:a.disclosureState===0)(),l=le(()=>({open:a.disclosureState===0,close:u}),[a,u]),d={ref:s,id:r};return Z.createElement(Ms.Provider,{value:a.panelId},_e({ourProps:d,theirProps:i,slot:l,defaultTag:k_,features:N_,visible:f,name:"Disclosure.Panel"}))}let D_=we(I_),$_=we(R_),j_=we(M_),vI=Object.assign(D_,{Button:$_,Panel:j_}),Oc=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function Pc(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 Oc.test(o)&&(o=o.replace(Oc,"")),o}function B_(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():Pc(a).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return Pc(e).trim()}function F_(e){let t=ne(""),n=ne("");return ee(()=>{let r=e.current;if(!r)return"";let i=r.innerText;if(t.current===i)return n.current;let a=B_(r).trim().toLowerCase();return t.current=i,n.current=a,a})}var U_=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(U_||{}),x_=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(x_||{}),H_=(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))(H_||{});function fo(e,t=n=>n){let n=e.activeItemIndex!==null?e.items[e.activeItemIndex]:null,r=ih(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 K_={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=fo(e),i=r1(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=fo(e,r=>[...r,{id:t.id,dataRef:t.dataRef}]);return{...e,...n}},6:(e,t)=>{let n=fo(e,r=>{let i=r.findIndex(a=>a.id===t.id);return i!==-1&&r.splice(i,1),r});return{...e,...n,activationTrigger:1}}},Ds=De(null);Ds.displayName="MenuContext";function La(e){let t=Le(Ds);if(t===null){let n=new Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,La),n}return t}function z_(e,t){return Oe(t.type,K_,e,t)}let W_=be;function q_(e,t){let{__demoMode:n=!1,...r}=e,i=Rn(z_,{__demoMode:n,menuState:n?0:1,buttonRef:Wr(),itemsRef:Wr(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:a,itemsRef:o,buttonRef:u},s]=i,c=Re(t);oh([u,o],(p,m)=>{var h;s({type:1}),Ps(m,Os.Loose)||(p.preventDefault(),(h=u.current)==null||h.focus())},a===0);let f=ee(()=>{s({type:1})}),l=le(()=>({open:a===0,close:f}),[a,f]),d={ref:c};return Z.createElement(Ds.Provider,{value:i},Z.createElement(Cs,{value:Oe(a,{0:Se.Open,1:Se.Closed})},_e({ourProps:d,theirProps:r,slot:l,defaultTag:W_,name:"Menu"})))}let G_="button";function V_(e,t){var n;let r=tt(),{id:i=`headlessui-menu-button-${r}`,...a}=e,[o,u]=La("Menu.Button"),s=Re(o.buttonRef,t),c=vr(),f=ee(h=>{switch(h.key){case me.Space:case me.Enter:case me.ArrowDown:h.preventDefault(),h.stopPropagation(),u({type:0}),c.nextFrame(()=>u({type:2,focus:ft.First}));break;case me.ArrowUp:h.preventDefault(),h.stopPropagation(),u({type:0}),c.nextFrame(()=>u({type:2,focus:ft.Last}));break}}),l=ee(h=>{switch(h.key){case me.Space:h.preventDefault();break}}),d=ee(h=>{if(Ia(h.currentTarget))return h.preventDefault();e.disabled||(o.menuState===0?(u({type:1}),c.nextFrame(()=>{var _;return(_=o.buttonRef.current)==null?void 0:_.focus({preventScroll:!0})})):(h.preventDefault(),u({type:0})))}),p=le(()=>({open:o.menuState===0}),[o]),m={ref:s,id:i,type:As(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 _e({ourProps:m,theirProps:a,slot:p,defaultTag:G_,name:"Menu.Button"})}let Y_="div",X_=on.RenderStrategy|on.Static;function Q_(e,t){var n,r;let i=tt(),{id:a=`headlessui-menu-items-${i}`,...o}=e,[u,s]=La("Menu.Items"),c=Re(u.itemsRef,t),f=gr(u.itemsRef),l=vr(),d=oi(),p=(()=>d!==null?(d&Se.Open)===Se.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]),t1({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 m=ee(y=>{var v,g;switch(l.dispose(),y.key){case me.Space:if(u.searchQuery!=="")return y.preventDefault(),y.stopPropagation(),s({type:3,value:y.key});case me.Enter:if(y.preventDefault(),y.stopPropagation(),s({type:1}),u.activeItemIndex!==null){let{dataRef:E}=u.items[u.activeItemIndex];(g=(v=E.current)==null?void 0:v.domRef.current)==null||g.click()}rh(u.buttonRef.current);break;case me.ArrowDown:return y.preventDefault(),y.stopPropagation(),s({type:2,focus:ft.Next});case me.ArrowUp:return y.preventDefault(),y.stopPropagation(),s({type:2,focus:ft.Previous});case me.Home:case me.PageUp:return y.preventDefault(),y.stopPropagation(),s({type:2,focus:ft.First});case me.End:case me.PageDown:return y.preventDefault(),y.stopPropagation(),s({type:2,focus:ft.Last});case me.Escape:y.preventDefault(),y.stopPropagation(),s({type:1}),yt().nextFrame(()=>{var E;return(E=u.buttonRef.current)==null?void 0:E.focus({preventScroll:!0})});break;case me.Tab:y.preventDefault(),y.stopPropagation(),s({type:1}),yt().nextFrame(()=>{e1(u.buttonRef.current,y.shiftKey?It.Previous:It.Next)});break;default:y.key.length===1&&(s({type:3,value:y.key}),l.setTimeout(()=>s({type:4}),350));break}}),h=ee(y=>{switch(y.key){case me.Space:y.preventDefault();break}}),_=le(()=>({open:u.menuState===0}),[u]),b={"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:m,onKeyUp:h,role:"menu",tabIndex:0,ref:c};return _e({ourProps:b,theirProps:o,slot:_,defaultTag:Y_,features:X_,visible:p,name:"Menu.Items"})}let J_=be;function Z_(e,t){let n=tt(),{id:r=`headlessui-menu-item-${n}`,disabled:i=!1,...a}=e,[o,u]=La("Menu.Item"),s=o.activeItemIndex!==null?o.items[o.activeItemIndex].id===r:!1,c=ne(null),f=Re(t,c);ke(()=>{if(o.__demoMode||o.menuState!==0||!s||o.activationTrigger===0)return;let E=yt();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=F_(c),d=ne({disabled:i,domRef:c,get textValue(){return l()}});ke(()=>{d.current.disabled=i},[d,i]),ke(()=>(u({type:5,id:r,dataRef:d}),()=>u({type:6,id:r})),[d,r]);let p=ee(()=>{u({type:1})}),m=ee(E=>{if(i)return E.preventDefault();u({type:1}),rh(o.buttonRef.current)}),h=ee(()=>{if(i)return u({type:2,focus:ft.Nothing});u({type:2,focus:ft.Specific,id:r})}),_=c1(),b=ee(E=>_.update(E)),y=ee(E=>{_.wasMoved(E)&&(i||s||u({type:2,focus:ft.Specific,id:r,trigger:0}))}),v=ee(E=>{_.wasMoved(E)&&(i||s&&u({type:2,focus:ft.Nothing}))}),g=le(()=>({active:s,disabled:i,close:p}),[s,i,p]);return _e({ourProps:{id:r,ref:f,role:"menuitem",tabIndex:i===!0?void 0:-1,"aria-disabled":i===!0?!0:void 0,disabled:void 0,onClick:m,onFocus:h,onPointerEnter:b,onMouseEnter:b,onPointerMove:y,onMouseMove:y,onPointerLeave:v,onMouseLeave:v},theirProps:a,slot:g,defaultTag:J_,name:"Menu.Item"})}let ew=we(q_),tw=we(V_),nw=we(Q_),rw=we(Z_),yI=Object.assign(ew,{Button:tw,Items:nw,Item:rw});function iw(e=0){let[t,n]=Ue(e),r=ui(),i=Yt(s=>{r.current&&n(c=>c|s)},[t,r]),a=Yt(s=>!!(t&s),[t]),o=Yt(s=>{r.current&&n(c=>c&~s)},[n,r]),u=Yt(s=>{r.current&&n(c=>c^s)},[n]);return{flags:t,addFlag:i,hasFlag:a,removeFlag:o,toggleFlag:u}}let Eh=De(null);function Sh(){let e=Le(Eh);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,Sh),t}return e}function aw(){let[e,t]=Ue([]);return[e.length>0?e.join(" "):void 0,le(()=>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=le(()=>({register:r,slot:n.slot,name:n.name,props:n.props}),[r,n.slot,n.name,n.props]);return Z.createElement(Eh.Provider,{value:i},n.children)},[t])]}let ow="label";function uw(e,t){let n=tt(),{id:r=`headlessui-label-${n}`,passive:i=!1,...a}=e,o=Sh(),u=Re(t);ke(()=>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),_e({ourProps:s,theirProps:a,slot:o.slot||{},defaultTag:ow,name:o.name||"Label"})}let sw=we(uw),lw=Object.assign(sw,{}),$s=De(null);$s.displayName="GroupContext";let cw=be;function fw(e){var t;let[n,r]=Ue(null),[i,a]=aw(),[o,u]=bh(),s=le(()=>({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($s.Provider,{value:s},_e({ourProps:c,theirProps:f,defaultTag:cw,name:"Switch.Group"}))))}let dw="button";function pw(e,t){let n=tt(),{id:r=`headlessui-switch-${n}`,checked:i,defaultChecked:a=!1,onChange:o,name:u,value:s,form:c,...f}=e,l=Le($s),d=ne(null),p=Re(d,t,l===null?null:l.setSwitch),[m,h]=l1(i,o,a),_=ee(()=>h==null?void 0:h(!m)),b=ee(S=>{if(Ia(S.currentTarget))return S.preventDefault();S.preventDefault(),_()}),y=ee(S=>{S.key===me.Space?(S.preventDefault(),_()):S.key===me.Enter&&o1(S.currentTarget)}),v=ee(S=>S.preventDefault()),g=le(()=>({checked:m}),[m]),E={id:r,ref:p,role:"switch",type:As(e,d),tabIndex:0,"aria-checked":m,"aria-labelledby":l==null?void 0:l.labelledby,"aria-describedby":l==null?void 0:l.describedby,onClick:b,onKeyUp:y,onKeyPress:v},O=vr();return de(()=>{var S;let w=(S=d.current)==null?void 0:S.closest("form");w&&a!==void 0&&O.addEventListener(w,"reset",()=>{h(a)})},[d,h]),Z.createElement(Z.Fragment,null,u!=null&&m&&Z.createElement(aa,{features:Yr.Hidden,...au({as:"input",type:"checkbox",hidden:!0,readOnly:!0,form:c,checked:m,name:u,value:s})}),_e({ourProps:E,theirProps:f,slot:g,defaultTag:dw,name:"Switch"}))}let hw=we(pw),mw=fw,gI=Object.assign(hw,{Group:mw,Label:lw,Description:_h});function vw(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}function po(e,...t){e&&t.length>0&&e.classList.add(...t)}function ho(e,...t){e&&t.length>0&&e.classList.remove(...t)}function yw(e,t){let n=yt();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 gw(e,t,n,r){let i=n?"enter":"leave",a=yt(),o=r!==void 0?vw(r):()=>{};i==="enter"&&(e.removeAttribute("hidden"),e.style.display="");let u=Oe(i,{enter:()=>t.enter,leave:()=>t.leave}),s=Oe(i,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),c=Oe(i,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return ho(e,...t.base,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),po(e,...t.base,...u,...c),a.nextFrame(()=>{ho(e,...t.base,...u,...c),po(e,...t.base,...u,...s),yw(e,()=>(ho(e,...t.base,...u),po(e,...t.base,...t.entered),o()))}),a.dispose}function bw({immediate:e,container:t,direction:n,classes:r,onStart:i,onStop:a}){let o=ui(),u=vr(),s=Dt(n);ke(()=>{e&&(s.current="enter")},[e]),ke(()=>{let c=yt();u.add(c.dispose);let f=t.current;if(f&&s.current!=="idle"&&o.current)return c.dispose(),i.current(s.current),c.add(gw(f,r.current,s.current==="enter",()=>{c.dispose(),a.current(s.current)})),c.dispose},[n])}function Kt(e=""){return e.split(" ").filter(t=>t.trim().length>1)}let Ra=De(null);Ra.displayName="TransitionContext";var _w=(e=>(e.Visible="visible",e.Hidden="hidden",e))(_w||{});function ww(){let e=Le(Ra);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function Ew(){let e=Le(ka);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let ka=De(null);ka.displayName="NestingContext";function Na(e){return"children"in e?Na(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function Oh(e,t){let n=Dt(e),r=ne([]),i=ui(),a=vr(),o=ee((p,m=Xt.Hidden)=>{let h=r.current.findIndex(({el:_})=>_===p);h!==-1&&(Oe(m,{[Xt.Unmount](){r.current.splice(h,1)},[Xt.Hidden](){r.current[h].state="hidden"}}),a.microTask(()=>{var _;!Na(r)&&i.current&&((_=n.current)==null||_.call(n))}))}),u=ee(p=>{let m=r.current.find(({el:h})=>h===p);return m?m.state!=="visible"&&(m.state="visible"):r.current.push({el:p,state:"visible"}),()=>o(p,Xt.Unmount)}),s=ne([]),c=ne(Promise.resolve()),f=ne({enter:[],leave:[],idle:[]}),l=ee((p,m,h)=>{s.current.splice(0),t&&(t.chains.current[m]=t.chains.current[m].filter(([_])=>_!==p)),t==null||t.chains.current[m].push([p,new Promise(_=>{s.current.push(_)})]),t==null||t.chains.current[m].push([p,new Promise(_=>{Promise.all(f.current[m].map(([b,y])=>y)).then(()=>_())})]),m==="enter"?c.current=c.current.then(()=>t==null?void 0:t.wait.current).then(()=>h(m)):h(m)}),d=ee((p,m,h)=>{Promise.all(f.current[m].splice(0).map(([_,b])=>b)).then(()=>{var _;(_=s.current.shift())==null||_()}).then(()=>h(m))});return le(()=>({children:r,register:u,unregister:o,onStart:l,onStop:d,wait:c,chains:f}),[u,o,r,l,d,f,c])}function Sw(){}let Ow=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function Ac(e){var t;let n={};for(let r of Ow)n[r]=(t=e[r])!=null?t:Sw;return n}function Pw(e){let t=ne(Ac(e));return de(()=>{t.current=Ac(e)},[e]),t}let Aw="div",Ph=on.RenderStrategy;function Tw(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:p,leaveTo:m,...h}=e,_=ne(null),b=Re(_,t),y=(n=h.unmount)==null||n?Xt.Unmount:Xt.Hidden,{show:v,appear:g,initial:E}=ww(),[O,S]=Ue(v?"visible":"hidden"),w=Ew(),{register:P,unregister:A}=w;de(()=>P(_),[P,_]),de(()=>{if(y===Xt.Hidden&&_.current){if(v&&O!=="visible"){S("visible");return}return Oe(O,{hidden:()=>A(_),visible:()=>P(_)})}},[O,_,P,A,v,y]);let L=Dt({base:Kt(h.className),enter:Kt(s),enterFrom:Kt(c),enterTo:Kt(f),entered:Kt(l),leave:Kt(d),leaveFrom:Kt(p),leaveTo:Kt(m)}),$=Pw({beforeEnter:i,afterEnter:a,beforeLeave:o,afterLeave:u}),j=yr();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&&!g,C=g&&v&&E,R=(()=>!j||I?"idle":v?"enter":"leave")(),D=iw(0),F=ee(U=>Oe(U,{enter:()=>{D.addFlag(Se.Opening),$.current.beforeEnter()},leave:()=>{D.addFlag(Se.Closing),$.current.beforeLeave()},idle:()=>{}})),Y=ee(U=>Oe(U,{enter:()=>{D.removeFlag(Se.Opening),$.current.afterEnter()},leave:()=>{D.removeFlag(Se.Closing),$.current.afterLeave()},idle:()=>{}})),q=Oh(()=>{S("hidden"),A(_)},w);bw({immediate:C,container:_,classes:L,direction:R,onStart:Dt(U=>{q.onStart(_,U,F)}),onStop:Dt(U=>{q.onStop(_,U,Y),U==="leave"&&!Na(q)&&(S("hidden"),A(_))})});let X=h,x={ref:b};return C?X={...X,className:ia(h.className,...L.current.enter,...L.current.enterFrom)}:(X.className=ia(h.className,(r=_.current)==null?void 0:r.className),X.className===""&&delete X.className),Z.createElement(ka.Provider,{value:q},Z.createElement(Cs,{value:Oe(O,{visible:Se.Open,hidden:Se.Closed})|D.flags},_e({ourProps:x,theirProps:X,defaultTag:Aw,features:Ph,visible:O==="visible",name:"Transition.Child"})))}function Cw(e,t){let{show:n,appear:r=!1,unmount:i=!0,...a}=e,o=ne(null),u=Re(o,t);yr();let s=oi();if(n===void 0&&s!==null&&(n=(s&Se.Open)===Se.Open),![!0,!1].includes(n))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[c,f]=Ue(n?"visible":"hidden"),l=Oh(()=>{f("hidden")}),[d,p]=Ue(!0),m=ne([n]);ke(()=>{d!==!1&&m.current[m.current.length-1]!==n&&(m.current.push(n),p(!1))},[m,n]);let h=le(()=>({show:n,appear:r,initial:d}),[n,r,d]);de(()=>{if(n)f("visible");else if(!Na(l))f("hidden");else{let v=o.current;if(!v)return;let g=v.getBoundingClientRect();g.x===0&&g.y===0&&g.width===0&&g.height===0&&f("hidden")}},[n,l]);let _={unmount:i},b=ee(()=>{var v;d&&p(!1),(v=e.beforeEnter)==null||v.call(e)}),y=ee(()=>{var v;d&&p(!1),(v=e.beforeLeave)==null||v.call(e)});return Z.createElement(ka.Provider,{value:l},Z.createElement(Ra.Provider,{value:h},_e({ourProps:{..._,as:be,children:Z.createElement(Ah,{ref:u,..._,...a,beforeEnter:b,beforeLeave:y})},theirProps:{},defaultTag:be,features:Ph,visible:c==="visible",name:"Transition"})))}function Iw(e,t){let n=Le(Ra)!==null,r=oi()!==null;return Z.createElement(Z.Fragment,null,!n&&r?Z.createElement(cu,{ref:t,...e}):Z.createElement(Ah,{ref:t,...e}))}let cu=we(Cw),Ah=we(Tw),Lw=we(Iw),bI=Object.assign(cu,{Child:Lw,Root:cu});function Rw({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 kw=pe(Rw),_I=kw;function Nw({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25H12"}))}const Mw=pe(Nw),wI=Mw;function Dw({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 $w=pe(Dw),EI=$w;function jw({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5L8.25 12l7.5-7.5"}))}const Bw=pe(jw),SI=Bw;function Fw({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"}))}const Uw=pe(Fw),OI=Uw;function xw({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 Hw=pe(xw),PI=Hw;function Kw({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 zw=pe(Kw),AI=zw;function Ww({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 qw=pe(Ww),TI=qw;function Gw({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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"}),B("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}))}const Vw=pe(Gw),CI=Vw;function Yw({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 Xw=pe(Yw),II=Xw;function Qw({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 Jw=pe(Qw),LI=Jw;function Zw({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 eE=pe(Zw),RI=eE;function tE({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 nE=pe(tE),kI=nE;function rE({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 iE=pe(rE),NI=iE;function aE({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))}const oE=pe(aE),MI=oE;function fu(e){this.message=e}fu.prototype=new Error,fu.prototype.name="InvalidCharacterError";var Tc=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new fu("'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 uE(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(Tc(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 Tc(t)}}function ua(e){this.message=e}function DI(e,t){if(typeof e!="string")throw new ua("Invalid token specified");var n=(t=t||{}).header===!0?0:1;try{return JSON.parse(uE(e.split(".")[n]))}catch(r){throw new ua("Invalid token specified: "+r.message)}}ua.prototype=new Error,ua.prototype.name="InvalidTokenError";const sE=(e,t)=>t.skipDedupe||t.method!=="GET",lE=(e,t)=>t.method+"@"+e,cE=e=>e.clone(),$I=({skip:e=sE,key:t=lE,resolver:n=cE}={})=>{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)}}},fE=(e,t)=>t.skipCache||t.method!=="GET",dE=(e,t)=>t.method+"@"+e,pE=(e,t)=>!1,hE=(e,t)=>null,mE=e=>e.ok,jI=({throttle:e=1e3,skip:t=fE,key:n=dE,clear:r=pE,invalidate:i=hE,condition:a=mE,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=>(p,m)=>{const h=n(p,m);let _=i(p,m);if(_&&(_ instanceof Array||(_=[_]),_.forEach(b=>{typeof b=="string"?u.delete(b):b instanceof RegExp&&u.forEach((y,v)=>{b.test(v)&&u.delete(v)})})),r(p,m)&&u.clear(),t(p,m))return d(p,m);if(c.has(h)){if(u.has(h)){const b=u.get(h).clone();return o&&Object.defineProperty(b,o,{value:h,enumerable:!1}),Promise.resolve(b)}else if(s.has(h))return new Promise((b,y)=>{s.get(h).push([b,y])})}return s.has(h)||s.set(h,[]),f(h),d(p,m).then(b=>(a(b.clone())&&u.set(h,b.clone()),s.get(h).forEach(([y])=>y(b.clone())),s.delete(h),b)).catch(b=>{throw s.get(h).forEach(([y,v])=>v(b)),s.delete(h),b})};return l.cacheResponse=function(d,p){f(d),u.set(d,p)},l.cache=u,l.inflight=s,l.throttling=c,l};function Th(e,t){return function(){return e.apply(t,arguments)}}const{toString:vE}=Object.prototype,{getPrototypeOf:js}=Object,Ma=(e=>t=>{const n=vE.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),gt=e=>(e=e.toLowerCase(),t=>Ma(t)===e),Da=e=>t=>typeof t===e,{isArray:br}=Array,Xr=Da("undefined");function yE(e){return e!==null&&!Xr(e)&&e.constructor!==null&&!Xr(e.constructor)&&ot(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Ch=gt("ArrayBuffer");function gE(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Ch(e.buffer),t}const bE=Da("string"),ot=Da("function"),Ih=Da("number"),$a=e=>e!==null&&typeof e=="object",_E=e=>e===!0||e===!1,Fi=e=>{if(Ma(e)!=="object")return!1;const t=js(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},wE=gt("Date"),EE=gt("File"),SE=gt("Blob"),OE=gt("FileList"),PE=e=>$a(e)&&ot(e.pipe),AE=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ot(e.append)&&((t=Ma(e))==="formdata"||t==="object"&&ot(e.toString)&&e.toString()==="[object FormData]"))},TE=gt("URLSearchParams"),[CE,IE,LE,RE]=["ReadableStream","Request","Response","Headers"].map(gt),kE=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function li(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),br(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{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 Lh(e,t){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 Rh=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),kh=e=>!Xr(e)&&e!==Rh;function du(){const{caseless:e}=kh(this)&&this||{},t={},n=(r,i)=>{const a=e&&Lh(t,i)||i;Fi(t[a])&&Fi(r)?t[a]=du(t[a],r):Fi(r)?t[a]=du({},r):br(r)?t[a]=r.slice():t[a]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&li(arguments[r],n);return t}const NE=(e,t,n,{allOwnKeys:r}={})=>(li(t,(i,a)=>{n&&ot(i)?e[a]=Th(i,n):e[a]=i},{allOwnKeys:r}),e),ME=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),DE=(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)},$E=(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&&js(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},jE=(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},BE=e=>{if(!e)return null;if(br(e))return e;let t=e.length;if(!Ih(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},FE=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&js(Uint8Array)),UE=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const a=i.value;t.call(e,a[0],a[1])}},xE=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},HE=gt("HTMLFormElement"),KE=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Cc=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),zE=gt("RegExp"),Nh=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};li(n,(i,a)=>{let o;(o=t(i,a,e))!==!1&&(r[a]=o||i)}),Object.defineProperties(e,r)},WE=e=>{Nh(e,(t,n)=>{if(ot(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(ot(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+"'")})}})},qE=(e,t)=>{const n={},r=i=>{i.forEach(a=>{n[a]=!0})};return br(e)?r(e):r(String(e).split(t)),n},GE=()=>{},VE=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,mo="abcdefghijklmnopqrstuvwxyz",Ic="0123456789",Mh={DIGIT:Ic,ALPHA:mo,ALPHA_DIGIT:mo+mo.toUpperCase()+Ic},YE=(e=16,t=Mh.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function XE(e){return!!(e&&ot(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const QE=e=>{const t=new Array(10),n=(r,i)=>{if($a(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const a=br(r)?[]:{};return li(r,(o,u)=>{const s=n(o,i+1);!Xr(s)&&(a[u]=s)}),t[i]=void 0,a}}return r};return n(e,0)},JE=gt("AsyncFunction"),ZE=e=>e&&($a(e)||ot(e))&&ot(e.then)&&ot(e.catch),N={isArray:br,isArrayBuffer:Ch,isBuffer:yE,isFormData:AE,isArrayBufferView:gE,isString:bE,isNumber:Ih,isBoolean:_E,isObject:$a,isPlainObject:Fi,isReadableStream:CE,isRequest:IE,isResponse:LE,isHeaders:RE,isUndefined:Xr,isDate:wE,isFile:EE,isBlob:SE,isRegExp:zE,isFunction:ot,isStream:PE,isURLSearchParams:TE,isTypedArray:FE,isFileList:OE,forEach:li,merge:du,extend:NE,trim:kE,stripBOM:ME,inherits:DE,toFlatObject:$E,kindOf:Ma,kindOfTest:gt,endsWith:jE,toArray:BE,forEachEntry:UE,matchAll:xE,isHTMLForm:HE,hasOwnProperty:Cc,hasOwnProp:Cc,reduceDescriptors:Nh,freezeMethods:WE,toObjectSet:qE,toCamelCase:KE,noop:GE,toFiniteNumber:VE,findKey:Lh,global:Rh,isContextDefined:kh,ALPHABET:Mh,generateString:YE,isSpecCompliantForm:XE,toJSONObject:QE,isAsyncFn:JE,isThenable:ZE};function te(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)}N.inherits(te,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:N.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Dh=te.prototype,$h={};["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=>{$h[e]={value:e}});Object.defineProperties(te,$h);Object.defineProperty(Dh,"isAxiosError",{value:!0});te.from=(e,t,n,r,i,a)=>{const o=Object.create(Dh);return N.toFlatObject(e,o,function(s){return s!==Error.prototype},u=>u!=="isAxiosError"),te.call(o,e.message,t,n,r,i),o.cause=e,o.name=e.name,a&&Object.assign(o,a),o};const eS=null;function pu(e){return N.isPlainObject(e)||N.isArray(e)}function jh(e){return N.endsWith(e,"[]")?e.slice(0,-2):e}function Lc(e,t,n){return e?e.concat(t).map(function(i,a){return i=jh(i),!n&&a?"["+i+"]":i}).join(n?".":""):t}function tS(e){return N.isArray(e)&&!e.some(pu)}const nS=N.toFlatObject(N,{},null,function(t){return/^is[A-Z]/.test(t)});function ja(e,t,n){if(!N.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=N.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,_){return!N.isUndefined(_[h])});const r=n.metaTokens,i=n.visitor||f,a=n.dots,o=n.indexes,s=(n.Blob||typeof Blob<"u"&&Blob)&&N.isSpecCompliantForm(t);if(!N.isFunction(i))throw new TypeError("visitor must be a function");function c(m){if(m===null)return"";if(N.isDate(m))return m.toISOString();if(!s&&N.isBlob(m))throw new te("Blob is not supported. Use a Buffer instead.");return N.isArrayBuffer(m)||N.isTypedArray(m)?s&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function f(m,h,_){let b=m;if(m&&!_&&typeof m=="object"){if(N.endsWith(h,"{}"))h=r?h:h.slice(0,-2),m=JSON.stringify(m);else if(N.isArray(m)&&tS(m)||(N.isFileList(m)||N.endsWith(h,"[]"))&&(b=N.toArray(m)))return h=jh(h),b.forEach(function(v,g){!(N.isUndefined(v)||v===null)&&t.append(o===!0?Lc([h],g,a):o===null?h:h+"[]",c(v))}),!1}return pu(m)?!0:(t.append(Lc(_,h,a),c(m)),!1)}const l=[],d=Object.assign(nS,{defaultVisitor:f,convertValue:c,isVisitable:pu});function p(m,h){if(!N.isUndefined(m)){if(l.indexOf(m)!==-1)throw Error("Circular reference detected in "+h.join("."));l.push(m),N.forEach(m,function(b,y){(!(N.isUndefined(b)||b===null)&&i.call(t,b,N.isString(y)?y.trim():y,h,d))===!0&&p(b,h?h.concat(y):[y])}),l.pop()}}if(!N.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Rc(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Bs(e,t){this._pairs=[],e&&ja(e,this,t)}const Bh=Bs.prototype;Bh.append=function(t,n){this._pairs.push([t,n])};Bh.toString=function(t){const n=t?function(r){return t.call(this,r,Rc)}:Rc;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function rS(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Fh(e,t,n){if(!t)return e;const r=n&&n.encode||rS,i=n&&n.serialize;let a;if(i?a=i(t,n):a=N.isURLSearchParams(t)?t.toString():new Bs(t,n).toString(r),a){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class iS{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){N.forEach(this.handlers,function(r){r!==null&&t(r)})}}const kc=iS,Uh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},aS=typeof URLSearchParams<"u"?URLSearchParams:Bs,oS=typeof FormData<"u"?FormData:null,uS=typeof Blob<"u"?Blob:null,sS={isBrowser:!0,classes:{URLSearchParams:aS,FormData:oS,Blob:uS},protocols:["http","https","file","blob","url","data"]},Fs=typeof window<"u"&&typeof document<"u",lS=(e=>Fs&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),cS=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),fS=Fs&&window.location.href||"http://localhost",dS=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Fs,hasStandardBrowserEnv:lS,hasStandardBrowserWebWorkerEnv:cS,origin:fS},Symbol.toStringTag,{value:"Module"})),ht={...dS,...sS};function pS(e,t){return ja(e,new ht.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,a){return ht.isNode&&N.isBuffer(n)?(this.append(r,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function hS(e){return N.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function mS(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 xh(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&&N.isArray(i)?i.length:o,s?(N.hasOwnProp(i,o)?i[o]=[i[o],r]:i[o]=r,!u):((!i[o]||!N.isObject(i[o]))&&(i[o]=[]),t(n,r,i[o],a)&&N.isArray(i[o])&&(i[o]=mS(i[o])),!u)}if(N.isFormData(e)&&N.isFunction(e.entries)){const n={};return N.forEachEntry(e,(r,i)=>{t(hS(r),i,n,0)}),n}return null}function vS(e,t,n){if(N.isString(e))try{return(t||JSON.parse)(e),N.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Us={transitional:Uh,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,a=N.isObject(t);if(a&&N.isHTMLForm(t)&&(t=new FormData(t)),N.isFormData(t))return i?JSON.stringify(xh(t)):t;if(N.isArrayBuffer(t)||N.isBuffer(t)||N.isStream(t)||N.isFile(t)||N.isBlob(t)||N.isReadableStream(t))return t;if(N.isArrayBufferView(t))return t.buffer;if(N.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 pS(t,this.formSerializer).toString();if((u=N.isFileList(t))||r.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return ja(u?{"files[]":t}:t,s&&new s,this.formSerializer)}}return a||i?(n.setContentType("application/json",!1),vS(t)):t}],transformResponse:[function(t){const n=this.transitional||Us.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(N.isResponse(t)||N.isReadableStream(t))return t;if(t&&N.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"?te.from(u,te.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:ht.classes.FormData,Blob:ht.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};N.forEach(["delete","get","head","post","put","patch"],e=>{Us.headers[e]={}});const xs=Us,yS=N.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"]),gS=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]&&yS[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Nc=Symbol("internals");function Ir(e){return e&&String(e).trim().toLowerCase()}function Ui(e){return e===!1||e==null?e:N.isArray(e)?e.map(Ui):String(e)}function bS(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 _S=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function vo(e,t,n,r,i){if(N.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!N.isString(t)){if(N.isString(r))return t.indexOf(r)!==-1;if(N.isRegExp(r))return r.test(t)}}function wS(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function ES(e,t){const n=N.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 Ba{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function a(u,s,c){const f=Ir(s);if(!f)throw new Error("header name must be a non-empty string");const l=N.findKey(i,f);(!l||i[l]===void 0||c===!0||c===void 0&&i[l]!==!1)&&(i[l||s]=Ui(u))}const o=(u,s)=>N.forEach(u,(c,f)=>a(c,f,s));if(N.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(N.isString(t)&&(t=t.trim())&&!_S(t))o(gS(t),n);else if(N.isHeaders(t))for(const[u,s]of t.entries())a(s,u,r);else t!=null&&a(n,t,r);return this}get(t,n){if(t=Ir(t),t){const r=N.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return bS(i);if(N.isFunction(n))return n.call(this,i,r);if(N.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Ir(t),t){const r=N.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||vo(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function a(o){if(o=Ir(o),o){const u=N.findKey(r,o);u&&(!n||vo(r,r[u],u,n))&&(delete r[u],i=!0)}}return N.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||vo(this,this[a],a,t,!0))&&(delete this[a],i=!0)}return i}normalize(t){const n=this,r={};return N.forEach(this,(i,a)=>{const o=N.findKey(r,a);if(o){n[o]=Ui(i),delete n[a];return}const u=t?wS(a):String(a).trim();u!==a&&delete n[a],n[u]=Ui(i),r[u]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return N.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&N.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
+ `)}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[Nc]=this[Nc]={accessors:{}}).accessors,i=this.prototype;function a(o){const u=Ir(o);r[u]||(ES(i,o),r[u]=!0)}return N.isArray(t)?t.forEach(a):a(t),this}}Ba.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);N.reduceDescriptors(Ba.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});N.freezeMethods(Ba);const mt=Ba;function yo(e,t){const n=this||xs,r=t||n,i=mt.from(r.headers);let a=r.data;return N.forEach(e,function(u){a=u.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function Hh(e){return!!(e&&e.__CANCEL__)}function _r(e,t,n){te.call(this,e??"canceled",te.ERR_CANCELED,t,n),this.name="CanceledError"}N.inherits(_r,te,{__CANCEL__:!0});function Kh(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new te("Request failed with status code "+n.status,[te.ERR_BAD_REQUEST,te.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function SS(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function OS(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 p=f&&c-f;return p?Math.round(d*1e3/p):void 0}}function PS(e,t){let n=0;const r=1e3/t;let i=null;return function(){const o=this===!0,u=Date.now();if(o||u-n>r)return i&&(clearTimeout(i),i=null),n=u,e.apply(null,arguments);i||(i=setTimeout(()=>(i=null,n=Date.now(),e.apply(null,arguments)),r-(u-n)))}}const sa=(e,t,n=3)=>{let r=0;const i=OS(50,250);return PS(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};l[t?"download":"upload"]=!0,e(l)},n)},AS=ht.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(a){let o=a;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(o){const u=N.isString(o)?i(o):o;return u.protocol===r.protocol&&u.host===r.host}}():function(){return function(){return!0}}(),TS=ht.hasStandardBrowserEnv?{write(e,t,n,r,i,a){const o=[e+"="+encodeURIComponent(t)];N.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),N.isString(r)&&o.push("path="+r),N.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 CS(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function IS(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function zh(e,t){return e&&!CS(t)?IS(e,t):t}const Mc=e=>e instanceof mt?{...e}:e;function Tn(e,t){t=t||{};const n={};function r(c,f,l){return N.isPlainObject(c)&&N.isPlainObject(f)?N.merge.call({caseless:l},c,f):N.isPlainObject(f)?N.merge({},f):N.isArray(f)?f.slice():f}function i(c,f,l){if(N.isUndefined(f)){if(!N.isUndefined(c))return r(void 0,c,l)}else return r(c,f,l)}function a(c,f){if(!N.isUndefined(f))return r(void 0,f)}function o(c,f){if(N.isUndefined(f)){if(!N.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)=>i(Mc(c),Mc(f),!0)};return N.forEach(Object.keys(Object.assign({},e,t)),function(f){const l=s[f]||i,d=l(e[f],t[f],f);N.isUndefined(d)&&l!==u||(n[f]=d)}),n}const Wh=e=>{const t=Tn({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:a,headers:o,auth:u}=t;t.headers=o=mt.from(o),t.url=Fh(zh(t.baseURL,t.url),e.params,e.paramsSerializer),u&&o.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):"")));let s;if(N.isFormData(n)){if(ht.hasStandardBrowserEnv||ht.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(ht.hasStandardBrowserEnv&&(r&&N.isFunction(r)&&(r=r(t)),r||r!==!1&&AS(t.url))){const c=i&&a&&TS.read(a);c&&o.set(i,c)}return t},LS=typeof XMLHttpRequest<"u",RS=LS&&function(e){return new Promise(function(n,r){const i=Wh(e);let a=i.data;const o=mt.from(i.headers).normalize();let{responseType:u}=i,s;function c(){i.cancelToken&&i.cancelToken.unsubscribe(s),i.signal&&i.signal.removeEventListener("abort",s)}let f=new XMLHttpRequest;f.open(i.method.toUpperCase(),i.url,!0),f.timeout=i.timeout;function l(){if(!f)return;const p=mt.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),h={data:!u||u==="text"||u==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:p,config:e,request:f};Kh(function(b){n(b),c()},function(b){r(b),c()},h),f=null}"onloadend"in f?f.onloadend=l:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)||setTimeout(l)},f.onabort=function(){f&&(r(new te("Request aborted",te.ECONNABORTED,i,f)),f=null)},f.onerror=function(){r(new te("Network Error",te.ERR_NETWORK,i,f)),f=null},f.ontimeout=function(){let m=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const h=i.transitional||Uh;i.timeoutErrorMessage&&(m=i.timeoutErrorMessage),r(new te(m,h.clarifyTimeoutError?te.ETIMEDOUT:te.ECONNABORTED,i,f)),f=null},a===void 0&&o.setContentType(null),"setRequestHeader"in f&&N.forEach(o.toJSON(),function(m,h){f.setRequestHeader(h,m)}),N.isUndefined(i.withCredentials)||(f.withCredentials=!!i.withCredentials),u&&u!=="json"&&(f.responseType=i.responseType),typeof i.onDownloadProgress=="function"&&f.addEventListener("progress",sa(i.onDownloadProgress,!0)),typeof i.onUploadProgress=="function"&&f.upload&&f.upload.addEventListener("progress",sa(i.onUploadProgress)),(i.cancelToken||i.signal)&&(s=p=>{f&&(r(!p||p.type?new _r(null,e,f):p),f.abort(),f=null)},i.cancelToken&&i.cancelToken.subscribe(s),i.signal&&(i.signal.aborted?s():i.signal.addEventListener("abort",s)));const d=SS(i.url);if(d&&ht.protocols.indexOf(d)===-1){r(new te("Unsupported protocol "+d+":",te.ERR_BAD_REQUEST,e));return}f.send(a||null)})},kS=(e,t)=>{let n=new AbortController,r;const i=function(s){if(!r){r=!0,o();const c=s instanceof Error?s:this.reason;n.abort(c instanceof te?c:new _r(c instanceof Error?c.message:c))}};let a=t&&setTimeout(()=>{i(new te(`timeout ${t} of ms exceeded`,te.ETIMEDOUT))},t);const o=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(s=>{s&&(s.removeEventListener?s.removeEventListener("abort",i):s.unsubscribe(i))}),e=null)};e.forEach(s=>s&&s.addEventListener&&s.addEventListener("abort",i));const{signal:u}=n;return u.unsubscribe=o,[u,()=>{a&&clearTimeout(a),a=null}]},NS=kS,MS=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},DS=async function*(e,t,n){for await(const r of e)yield*MS(ArrayBuffer.isView(r)?r:await n(String(r)),t)},Dc=(e,t,n,r,i)=>{const a=DS(e,t,i);let o=0;return new ReadableStream({type:"bytes",async pull(u){const{done:s,value:c}=await a.next();if(s){u.close(),r();return}let f=c.byteLength;n&&n(o+=f),u.enqueue(new Uint8Array(c))},cancel(u){return r(u),a.return()}},{highWaterMark:2})},$c=(e,t)=>{const n=e!=null;return r=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:r}))},Fa=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",qh=Fa&&typeof ReadableStream=="function",hu=Fa&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),$S=qh&&(()=>{let e=!1;const t=new Request(ht.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),jc=64*1024,mu=qh&&!!(()=>{try{return N.isReadableStream(new Response("").body)}catch{}})(),la={stream:mu&&(e=>e.body)};Fa&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!la[t]&&(la[t]=N.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new te(`Response type '${t}' is not supported`,te.ERR_NOT_SUPPORT,r)})})})(new Response);const jS=async e=>{if(e==null)return 0;if(N.isBlob(e))return e.size;if(N.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(N.isArrayBufferView(e))return e.byteLength;if(N.isURLSearchParams(e)&&(e=e+""),N.isString(e))return(await hu(e)).byteLength},BS=async(e,t)=>{const n=N.toFiniteNumber(e.getContentLength());return n??jS(t)},FS=Fa&&(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}=Wh(e);c=c?(c+"").toLowerCase():"text";let[p,m]=i||a||o?NS([i,a],o):[],h,_;const b=()=>{!h&&setTimeout(()=>{p&&p.unsubscribe()}),h=!0};let y;try{if(s&&$S&&n!=="get"&&n!=="head"&&(y=await BS(f,r))!==0){let O=new Request(t,{method:"POST",body:r,duplex:"half"}),S;N.isFormData(r)&&(S=O.headers.get("content-type"))&&f.setContentType(S),O.body&&(r=Dc(O.body,jc,$c(y,sa(s)),null,hu))}N.isString(l)||(l=l?"cors":"omit"),_=new Request(t,{...d,signal:p,method:n.toUpperCase(),headers:f.normalize().toJSON(),body:r,duplex:"half",withCredentials:l});let v=await fetch(_);const g=mu&&(c==="stream"||c==="response");if(mu&&(u||g)){const O={};["status","statusText","headers"].forEach(w=>{O[w]=v[w]});const S=N.toFiniteNumber(v.headers.get("content-length"));v=new Response(Dc(v.body,jc,u&&$c(S,sa(u,!0)),g&&b,hu),O)}c=c||"text";let E=await la[N.findKey(la,c)||"text"](v,e);return!g&&b(),m&&m(),await new Promise((O,S)=>{Kh(O,S,{data:E,headers:mt.from(v.headers),status:v.status,statusText:v.statusText,config:e,request:_})})}catch(v){throw b(),v&&v.name==="TypeError"&&/fetch/i.test(v.message)?Object.assign(new te("Network Error",te.ERR_NETWORK,e,_),{cause:v.cause||v}):te.from(v,v&&v.code,e,_)}}),vu={http:eS,xhr:RS,fetch:FS};N.forEach(vu,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Bc=e=>`- ${e}`,US=e=>N.isFunction(e)||e===null||e===!1,Gh={getAdapter:e=>{e=N.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,!US(n)&&(r=vu[(o=String(n)).toLowerCase()],r===void 0))throw new te(`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(Bc).join(`
11
+ `):" "+Bc(a[0]):"as no adapter specified";throw new te("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:vu};function go(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new _r(null,e)}function Fc(e){return go(e),e.headers=mt.from(e.headers),e.data=yo.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Gh.getAdapter(e.adapter||xs.adapter)(e).then(function(r){return go(e),r.data=yo.call(e,e.transformResponse,r),r.headers=mt.from(r.headers),r},function(r){return Hh(r)||(go(e),r&&r.response&&(r.response.data=yo.call(e,e.transformResponse,r.response),r.response.headers=mt.from(r.response.headers))),Promise.reject(r)})}const Vh="1.7.2",Hs={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Hs[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Uc={};Hs.transitional=function(t,n,r){function i(a,o){return"[Axios v"+Vh+"] Transitional option '"+a+"'"+o+(r?". "+r:"")}return(a,o,u)=>{if(t===!1)throw new te(i(o," has been removed"+(n?" in "+n:"")),te.ERR_DEPRECATED);return n&&!Uc[o]&&(Uc[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}};function xS(e,t,n){if(typeof e!="object")throw new te("options must be an object",te.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 te("option "+a+" must be "+s,te.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new te("Unknown option "+a,te.ERR_BAD_OPTION)}}const yu={assertOptions:xS,validators:Hs},zt=yu.validators;class ca{constructor(t){this.defaults=t,this.interceptors={request:new kc,response:new kc}}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=Tn(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:a}=n;r!==void 0&&yu.assertOptions(r,{silentJSONParsing:zt.transitional(zt.boolean),forcedJSONParsing:zt.transitional(zt.boolean),clarifyTimeoutError:zt.transitional(zt.boolean)},!1),i!=null&&(N.isFunction(i)?n.paramsSerializer={serialize:i}:yu.assertOptions(i,{encode:zt.function,serialize:zt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=a&&N.merge(a.common,a[n.method]);a&&N.forEach(["delete","get","head","post","put","patch","common"],m=>{delete a[m]}),n.headers=mt.concat(o,a);const u=[];let s=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(s=s&&h.synchronous,u.unshift(h.fulfilled,h.rejected))});const c=[];this.interceptors.response.forEach(function(h){c.push(h.fulfilled,h.rejected)});let f,l=0,d;if(!s){const m=[Fc.bind(this),void 0];for(m.unshift.apply(m,u),m.push.apply(m,c),d=m.length,f=Promise.resolve(n);l<d;)f=f.then(m[l++],m[l++]);return f}d=u.length;let p=n;for(l=0;l<d;){const m=u[l++],h=u[l++];try{p=m(p)}catch(_){h.call(this,_);break}}try{f=Fc.call(this,p)}catch(m){return Promise.reject(m)}for(l=0,d=c.length;l<d;)f=f.then(c[l++],c[l++]);return f}getUri(t){t=Tn(this.defaults,t);const n=zh(t.baseURL,t.url);return Fh(n,t.params,t.paramsSerializer)}}N.forEach(["delete","get","head","options"],function(t){ca.prototype[t]=function(n,r){return this.request(Tn(r||{},{method:t,url:n,data:(r||{}).data}))}});N.forEach(["post","put","patch"],function(t){function n(r){return function(a,o,u){return this.request(Tn(u||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:o}))}}ca.prototype[t]=n(),ca.prototype[t+"Form"]=n(!0)});const xi=ca;class Ks{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 _r(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)}static source(){let t;return{token:new Ks(function(i){t=i}),cancel:t}}}const HS=Ks;function KS(e){return function(n){return e.apply(null,n)}}function zS(e){return N.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 WS=gu;function Yh(e){const t=new xi(e),n=Th(xi.prototype.request,t);return N.extend(n,xi.prototype,t,{allOwnKeys:!0}),N.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return Yh(Tn(e,i))},n}const Ie=Yh(xs);Ie.Axios=xi;Ie.CanceledError=_r;Ie.CancelToken=HS;Ie.isCancel=Hh;Ie.VERSION=Vh;Ie.toFormData=ja;Ie.AxiosError=te;Ie.Cancel=Ie.CanceledError;Ie.all=function(t){return Promise.all(t)};Ie.spread=KS;Ie.isAxiosError=zS;Ie.mergeConfig=Tn;Ie.AxiosHeaders=mt;Ie.formToJSON=e=>xh(N.isHTMLForm(e)?new FormData(e):e);Ie.getAdapter=Gh.getAdapter;Ie.HttpStatusCode=WS;Ie.default=Ie;const qS=Ie;var GS=Function.prototype.toString,bo=Object.create,VS=Object.defineProperty,YS=Object.getOwnPropertyDescriptor,xc=Object.getOwnPropertyNames,zs=Object.getOwnPropertySymbols,XS=Object.getPrototypeOf,Xh=Object.prototype,QS=Xh.hasOwnProperty,JS=Xh.propertyIsEnumerable,Qh=typeof zs=="function",ZS=typeof WeakMap=="function",eO=function(){if(ZS)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}}(),Jh=function(e,t){var n=e.__proto__||XS(e);if(!n)return bo(null);var r=n.constructor;if(r===t.Object)return n===t.Object.prototype?{}:bo(n);if(~GS.call(r).indexOf("[native code]"))try{return new r}catch{}return bo(n)},tO=function(e,t,n,r){var i=Jh(e,t);r.set(e,i);for(var a in e)QS.call(e,a)&&(i[a]=n(e[a],r));if(Qh)for(var o=zs(e),u=0,s=o.length,c=void 0;u<s;++u)c=o[u],JS.call(e,c)&&(i[c]=n(e[c],r));return i},Hc=function(e,t,n,r){var i=Jh(e,t);r.set(e,i);for(var a=Qh?xc(e).concat(zs(e)):xc(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=YS(e,s),c){!c.get&&!c.set&&(c.value=n(e[s],r));try{VS(i,s,c)}catch{i[s]=c.value}}else i[s]=n(e[s],r);return i},nO=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},rO=Array.isArray,iO=Object.getPrototypeOf,aO=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 Ne(e,t){var n=!!(t&&t.isStrict),r=t&&t.realm||aO,i=n?Hc:tO,a=function(o,u){if(!o||typeof o!="object")return o;if(u.has(o))return u.get(o);var s=o.__proto__||iO(o),c=s&&s.constructor;if(!c||c===r.Object)return i(o,r,a,u);var f;if(rO(o)){if(n)return Hc(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||nO(o)),f.lastIndex=o.lastIndex,f;if(r.Map&&o instanceof r.Map)return f=new c,u.set(o,f),o.forEach(function(p,m){f.set(m,a(p,u))}),f;if(r.Set&&o instanceof r.Set)return f=new c,u.set(o,f),o.forEach(function(p){f.add(a(p,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,eO())}Ne.default=Ne;Ne.strict=function(t,n){return Ne(t,{isStrict:!0,realm:n?n.realm:void 0})};var oO=Error,uO=EvalError,sO=RangeError,lO=ReferenceError,Zh=SyntaxError,Ua=TypeError,cO=URIError,fO=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(n 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 a=Object.getOwnPropertySymbols(t);if(a.length!==1||a[0]!==n||!Object.prototype.propertyIsEnumerable.call(t,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(t,n);if(o.value!==i||o.enumerable!==!0)return!1}return!0},Kc=typeof Symbol<"u"&&Symbol,dO=fO,pO=function(){return typeof Kc!="function"||typeof Symbol!="function"||typeof Kc("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:dO()},zc={foo:{}},hO=Object,mO=function(){return{__proto__:zc}.foo===zc.foo&&!({__proto__:null}instanceof hO)},vO="Function.prototype.bind called on incompatible ",yO=Object.prototype.toString,gO=Math.max,bO="[object Function]",Wc=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},_O=function(t,n){for(var r=[],i=n||0,a=0;i<t.length;i+=1,a+=1)r[a]=t[i];return r},wO=function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n},EO=function(t){var n=this;if(typeof n!="function"||yO.apply(n)!==bO)throw new TypeError(vO+n);for(var r=_O(arguments,1),i,a=function(){if(this instanceof i){var f=n.apply(this,Wc(r,arguments));return Object(f)===f?f:this}return n.apply(t,Wc(r,arguments))},o=gO(0,n.length-r.length),u=[],s=0;s<o;s++)u[s]="$"+s;if(i=Function("binder","return function ("+wO(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},SO=EO,Ws=Function.prototype.bind||SO,OO=Function.prototype.call,PO=Object.prototype.hasOwnProperty,AO=Ws,TO=AO.call(OO,PO),se,CO=oO,IO=uO,LO=sO,RO=lO,ar=Zh,Vn=Ua,kO=cO,em=Function,_o=function(e){try{return em('"use strict"; return ('+e+").constructor;")()}catch{}},Sn=Object.getOwnPropertyDescriptor;if(Sn)try{Sn({},"")}catch{Sn=null}var wo=function(){throw new Vn},NO=Sn?function(){try{return arguments.callee,wo}catch{try{return Sn(arguments,"callee").get}catch{return wo}}}():wo,Mn=pO(),MO=mO(),Be=Object.getPrototypeOf||(MO?function(e){return e.__proto__}:null),jn={},DO=typeof Uint8Array>"u"||!Be?se:Be(Uint8Array),On={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?se:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?se:ArrayBuffer,"%ArrayIteratorPrototype%":Mn&&Be?Be([][Symbol.iterator]()):se,"%AsyncFromSyncIteratorPrototype%":se,"%AsyncFunction%":jn,"%AsyncGenerator%":jn,"%AsyncGeneratorFunction%":jn,"%AsyncIteratorPrototype%":jn,"%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%":CO,"%eval%":eval,"%EvalError%":IO,"%Float32Array%":typeof Float32Array>"u"?se:Float32Array,"%Float64Array%":typeof Float64Array>"u"?se:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?se:FinalizationRegistry,"%Function%":em,"%GeneratorFunction%":jn,"%Int8Array%":typeof Int8Array>"u"?se:Int8Array,"%Int16Array%":typeof Int16Array>"u"?se:Int16Array,"%Int32Array%":typeof Int32Array>"u"?se:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Mn&&Be?Be(Be([][Symbol.iterator]())):se,"%JSON%":typeof JSON=="object"?JSON:se,"%Map%":typeof Map>"u"?se:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Mn||!Be?se:Be(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?se:Promise,"%Proxy%":typeof Proxy>"u"?se:Proxy,"%RangeError%":LO,"%ReferenceError%":RO,"%Reflect%":typeof Reflect>"u"?se:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?se:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Mn||!Be?se:Be(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?se:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Mn&&Be?Be(""[Symbol.iterator]()):se,"%Symbol%":Mn?Symbol:se,"%SyntaxError%":ar,"%ThrowTypeError%":NO,"%TypedArray%":DO,"%TypeError%":Vn,"%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%":kO,"%WeakMap%":typeof WeakMap>"u"?se:WeakMap,"%WeakRef%":typeof WeakRef>"u"?se:WeakRef,"%WeakSet%":typeof WeakSet>"u"?se:WeakSet};if(Be)try{null.error}catch(e){var $O=Be(Be(e));On["%Error.prototype%"]=$O}var jO=function e(t){var n;if(t==="%AsyncFunction%")n=_o("async function () {}");else if(t==="%GeneratorFunction%")n=_o("function* () {}");else if(t==="%AsyncGeneratorFunction%")n=_o("async function* () {}");else if(t==="%AsyncGenerator%"){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&Be&&(n=Be(i.prototype))}return On[t]=n,n},qc={__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"]},ci=Ws,fa=TO,BO=ci.call(Function.call,Array.prototype.concat),FO=ci.call(Function.apply,Array.prototype.splice),Gc=ci.call(Function.call,String.prototype.replace),da=ci.call(Function.call,String.prototype.slice),UO=ci.call(Function.call,RegExp.prototype.exec),xO=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,HO=/\\(\\)?/g,KO=function(t){var n=da(t,0,1),r=da(t,-1);if(n==="%"&&r!=="%")throw new ar("invalid intrinsic syntax, expected closing `%`");if(r==="%"&&n!=="%")throw new ar("invalid intrinsic syntax, expected opening `%`");var i=[];return Gc(t,xO,function(a,o,u,s){i[i.length]=u?Gc(s,HO,"$1"):o||a}),i},zO=function(t,n){var r=t,i;if(fa(qc,r)&&(i=qc[r],r="%"+i[0]+"%"),fa(On,r)){var a=On[r];if(a===jn&&(a=jO(r)),typeof a>"u"&&!n)throw new Vn("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:r,value:a}}throw new ar("intrinsic "+t+" does not exist!")},wr=function(t,n){if(typeof t!="string"||t.length===0)throw new Vn("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new Vn('"allowMissing" argument must be a boolean');if(UO(/^%?[^%]*%?$/,t)===null)throw new ar("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=KO(t),i=r.length>0?r[0]:"",a=zO("%"+i+"%",n),o=a.name,u=a.value,s=!1,c=a.alias;c&&(i=c[0],FO(r,BO([0,1],c)));for(var f=1,l=!0;f<r.length;f+=1){var d=r[f],p=da(d,0,1),m=da(d,-1);if((p==='"'||p==="'"||p==="`"||m==='"'||m==="'"||m==="`")&&p!==m)throw new ar("property names with quotes must have matching quotes");if((d==="constructor"||!l)&&(s=!0),i+="."+d,o="%"+i+"%",fa(On,o))u=On[o];else if(u!=null){if(!(d in u)){if(!n)throw new Vn("base intrinsic for "+t+" exists, but the property is not available.");return}if(Sn&&f+1>=r.length){var h=Sn(u,d);l=!!h,l&&"get"in h&&!("originalValue"in h.get)?u=h.get:u=u[d]}else l=fa(u,d),u=u[d];l&&!s&&(On[o]=u)}}return u},tm={exports:{}},Eo,Vc;function qs(){if(Vc)return Eo;Vc=1;var e=wr,t=e("%Object.defineProperty%",!0)||!1;if(t)try{t({},"a",{value:1})}catch{t=!1}return Eo=t,Eo}var WO=wr,Hi=WO("%Object.getOwnPropertyDescriptor%",!0);if(Hi)try{Hi([],"length")}catch{Hi=null}var nm=Hi,Yc=qs(),qO=Zh,Dn=Ua,Xc=nm,GO=function(t,n,r){if(!t||typeof t!="object"&&typeof t!="function")throw new Dn("`obj` must be an object or a function`");if(typeof n!="string"&&typeof n!="symbol")throw new Dn("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Dn("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Dn("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Dn("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Dn("`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=!!Xc&&Xc(t,n);if(Yc)Yc(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 qO("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},bu=qs(),rm=function(){return!!bu};rm.hasArrayLengthDefineBug=function(){if(!bu)return null;try{return bu([],"length",{value:1}).length!==1}catch{return!0}};var VO=rm,YO=wr,Qc=GO,XO=VO(),Jc=nm,Zc=Ua,QO=YO("%Math.floor%"),JO=function(t,n){if(typeof t!="function")throw new Zc("`fn` is not a function");if(typeof n!="number"||n<0||n>4294967295||QO(n)!==n)throw new Zc("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],i=!0,a=!0;if("length"in t&&Jc){var o=Jc(t,"length");o&&!o.configurable&&(i=!1),o&&!o.writable&&(a=!1)}return(i||a||!r)&&(XO?Qc(t,"length",n,!0,!0):Qc(t,"length",n)),t};(function(e){var t=Ws,n=wr,r=JO,i=Ua,a=n("%Function.prototype.apply%"),o=n("%Function.prototype.call%"),u=n("%Reflect.apply%",!0)||t.call(o,a),s=qs(),c=n("%Math.max%");e.exports=function(d){if(typeof d!="function")throw new i("a function is required");var p=u(t,o,arguments);return r(p,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})(tm);var ZO=tm.exports,im=wr,am=ZO,e2=am(im("String.prototype.indexOf")),t2=function(t,n){var r=im(t,!!n);return typeof r=="function"&&e2(t,".prototype.")>-1?am(r):r};const n2={},r2=Object.freeze(Object.defineProperty({__proto__:null,default:n2},Symbol.toStringTag,{value:"Module"})),i2=rd(r2);var Gs=typeof Map=="function"&&Map.prototype,So=Object.getOwnPropertyDescriptor&&Gs?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,pa=Gs&&So&&typeof So.get=="function"?So.get:null,ef=Gs&&Map.prototype.forEach,Vs=typeof Set=="function"&&Set.prototype,Oo=Object.getOwnPropertyDescriptor&&Vs?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,ha=Vs&&Oo&&typeof Oo.get=="function"?Oo.get:null,tf=Vs&&Set.prototype.forEach,a2=typeof WeakMap=="function"&&WeakMap.prototype,Br=a2?WeakMap.prototype.has:null,o2=typeof WeakSet=="function"&&WeakSet.prototype,Fr=o2?WeakSet.prototype.has:null,u2=typeof WeakRef=="function"&&WeakRef.prototype,nf=u2?WeakRef.prototype.deref:null,s2=Boolean.prototype.valueOf,l2=Object.prototype.toString,c2=Function.prototype.toString,f2=String.prototype.match,Ys=String.prototype.slice,Qt=String.prototype.replace,d2=String.prototype.toUpperCase,rf=String.prototype.toLowerCase,om=RegExp.prototype.test,af=Array.prototype.concat,_t=Array.prototype.join,p2=Array.prototype.slice,of=Math.floor,_u=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Po=Object.getOwnPropertySymbols,wu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,or=typeof Symbol=="function"&&typeof Symbol.iterator=="object",We=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===or||"symbol")?Symbol.toStringTag:null,um=Object.prototype.propertyIsEnumerable,uf=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function sf(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||om.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var r=e<0?-of(-e):of(e);if(r!==e){var i=String(r),a=Ys.call(t,i.length+1);return Qt.call(i,n,"$&_")+"."+Qt.call(Qt.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Qt.call(t,n,"$&_")}var Eu=i2,lf=Eu.custom,cf=lm(lf)?lf:null,h2=function e(t,n,r,i){var a=n||{};if(Gt(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Gt(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=Gt(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(Gt(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(Gt(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 fm(t,a);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var s=String(t);return u?sf(t,s):s}if(typeof t=="bigint"){var c=String(t)+"n";return u?sf(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 Su(t)?"[Array]":"[Object]";var l=k2(a,r);if(typeof i>"u")i=[];else if(cm(i,t)>=0)return"[Circular]";function d(j,I,C){if(I&&(i=p2.call(i),i.push(I)),C){var R={depth:a.depth};return Gt(a,"quoteStyle")&&(R.quoteStyle=a.quoteStyle),e(j,R,r+1,i)}return e(j,a,r+1,i)}if(typeof t=="function"&&!ff(t)){var p=S2(t),m=bi(t,d);return"[Function"+(p?": "+p:" (anonymous)")+"]"+(m.length>0?" { "+_t.call(m,", ")+" }":"")}if(lm(t)){var h=or?Qt.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):wu.call(t);return typeof t=="object"&&!or?Lr(h):h}if(I2(t)){for(var _="<"+rf.call(String(t.nodeName)),b=t.attributes||[],y=0;y<b.length;y++)_+=" "+b[y].name+"="+sm(m2(b[y].value),"double",a);return _+=">",t.childNodes&&t.childNodes.length&&(_+="..."),_+="</"+rf.call(String(t.nodeName))+">",_}if(Su(t)){if(t.length===0)return"[]";var v=bi(t,d);return l&&!R2(v)?"["+Ou(v,l)+"]":"[ "+_t.call(v,", ")+" ]"}if(y2(t)){var g=bi(t,d);return!("cause"in Error.prototype)&&"cause"in t&&!um.call(t,"cause")?"{ ["+String(t)+"] "+_t.call(af.call("[cause]: "+d(t.cause),g),", ")+" }":g.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+_t.call(g,", ")+" }"}if(typeof t=="object"&&o){if(cf&&typeof t[cf]=="function"&&Eu)return Eu(t,{depth:f-r});if(o!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(O2(t)){var E=[];return ef&&ef.call(t,function(j,I){E.push(d(I,t,!0)+" => "+d(j,t))}),df("Map",pa.call(t),E,l)}if(T2(t)){var O=[];return tf&&tf.call(t,function(j){O.push(d(j,t))}),df("Set",ha.call(t),O,l)}if(P2(t))return Ao("WeakMap");if(C2(t))return Ao("WeakSet");if(A2(t))return Ao("WeakRef");if(b2(t))return Lr(d(Number(t)));if(w2(t))return Lr(d(_u.call(t)));if(_2(t))return Lr(s2.call(t));if(g2(t))return Lr(d(String(t)));if(t===J)return typeof window<"u"?"{ [object Window] }":"{ [object global] }";if(!v2(t)&&!ff(t)){var S=bi(t,d),w=uf?uf(t)===Object.prototype:t instanceof Object||t.constructor===Object,P=t instanceof Object?"":"null prototype",A=!w&&We&&Object(t)===t&&We in t?Ys.call(cn(t),8,-1):P?"Object":"",L=w||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",$=L+(A||P?"["+_t.call(af.call([],A||[],P||[]),": ")+"] ":"");return S.length===0?$+"{}":l?$+"{"+Ou(S,l)+"}":$+"{ "+_t.call(S,", ")+" }"}return String(t)};function sm(e,t,n){var r=(n.quoteStyle||t)==="double"?'"':"'";return r+e+r}function m2(e){return Qt.call(String(e),/"/g,"&quot;")}function Su(e){return cn(e)==="[object Array]"&&(!We||!(typeof e=="object"&&We in e))}function v2(e){return cn(e)==="[object Date]"&&(!We||!(typeof e=="object"&&We in e))}function ff(e){return cn(e)==="[object RegExp]"&&(!We||!(typeof e=="object"&&We in e))}function y2(e){return cn(e)==="[object Error]"&&(!We||!(typeof e=="object"&&We in e))}function g2(e){return cn(e)==="[object String]"&&(!We||!(typeof e=="object"&&We in e))}function b2(e){return cn(e)==="[object Number]"&&(!We||!(typeof e=="object"&&We in e))}function _2(e){return cn(e)==="[object Boolean]"&&(!We||!(typeof e=="object"&&We in e))}function lm(e){if(or)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!wu)return!1;try{return wu.call(e),!0}catch{}return!1}function w2(e){if(!e||typeof e!="object"||!_u)return!1;try{return _u.call(e),!0}catch{}return!1}var E2=Object.prototype.hasOwnProperty||function(e){return e in this};function Gt(e,t){return E2.call(e,t)}function cn(e){return l2.call(e)}function S2(e){if(e.name)return e.name;var t=f2.call(c2.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function cm(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 O2(e){if(!pa||!e||typeof e!="object")return!1;try{pa.call(e);try{ha.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function P2(e){if(!Br||!e||typeof e!="object")return!1;try{Br.call(e,Br);try{Fr.call(e,Fr)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function A2(e){if(!nf||!e||typeof e!="object")return!1;try{return nf.call(e),!0}catch{}return!1}function T2(e){if(!ha||!e||typeof e!="object")return!1;try{ha.call(e);try{pa.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function C2(e){if(!Fr||!e||typeof e!="object")return!1;try{Fr.call(e,Fr);try{Br.call(e,Br)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function I2(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function fm(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return fm(Ys.call(e,0,t.maxStringLength),t)+r}var i=Qt.call(Qt.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,L2);return sm(i,"single",t)}function L2(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":"")+d2.call(t.toString(16))}function Lr(e){return"Object("+e+")"}function Ao(e){return e+" { ? }"}function df(e,t,n,r){var i=r?Ou(n,r):_t.call(n,", ");return e+" ("+t+") {"+i+"}"}function R2(e){for(var t=0;t<e.length;t++)if(cm(e[t],`
13
+ `)>=0)return!1;return!0}function k2(e,t){var n;if(e.indent===" ")n=" ";else if(typeof e.indent=="number"&&e.indent>0)n=_t.call(Array(e.indent+1)," ");else return null;return{base:n,prev:_t.call(Array(t+1),n)}}function Ou(e,t){if(e.length===0)return"";var n=`
14
14
  `+t.prev+t.base;return n+_t.call(e,","+n)+`
15
- `+t.prev}function bi(e,t){var n=Su(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=Gt(e,i)?t(e[i],e):""}var a=typeof Po=="function"?Po(e):[],o;if(or){o={};for(var u=0;u<a.length;u++)o["$"+a[u]]=a[u]}for(var s in e)Gt(e,s)&&(n&&String(Number(s))===s&&s<e.length||or&&o["$"+s]instanceof Symbol||(am.call(/[^\w$]/,s)?r.push(t(s,e)+": "+t(e[s],e)):r.push(s+": "+t(e[s],e))));if(typeof Po=="function")for(var c=0;c<a.length;c++)om.call(e,a[c])&&r.push("["+t(a[c])+"]: "+t(e[a[c]],e));return r}var Xs=wr,Er=JO,L2=f2,R2=Xs("%TypeError%"),_i=Xs("%WeakMap%",!0),wi=Xs("%Map%",!0),k2=Er("WeakMap.prototype.get",!0),N2=Er("WeakMap.prototype.set",!0),M2=Er("WeakMap.prototype.has",!0),D2=Er("Map.prototype.get",!0),$2=Er("Map.prototype.set",!0),j2=Er("Map.prototype.has",!0),Qs=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},B2=function(e,t){var n=Qs(e,t);return n&&n.value},F2=function(e,t,n){var r=Qs(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}},U2=function(e,t){return!!Qs(e,t)},x2=function(){var t,n,r,i={assert:function(a){if(!i.has(a))throw new R2("Side channel does not contain "+L2(a))},get:function(a){if(_i&&a&&(typeof a=="object"||typeof a=="function")){if(t)return k2(t,a)}else if(wi){if(n)return D2(n,a)}else if(r)return B2(r,a)},has:function(a){if(_i&&a&&(typeof a=="object"||typeof a=="function")){if(t)return M2(t,a)}else if(wi){if(n)return j2(n,a)}else if(r)return U2(r,a);return!1},set:function(a,o){_i&&a&&(typeof a=="object"||typeof a=="function")?(t||(t=new _i),N2(t,a,o)):wi?(n||(n=new wi),$2(n,a,o)):(r||(r={key:{},next:null}),F2(r,a,o))}};return i},H2=String.prototype.replace,K2=/%20/g,To={RFC1738:"RFC1738",RFC3986:"RFC3986"},Js={default:To.RFC3986,formatters:{RFC1738:function(e){return H2.call(e,K2,"+")},RFC3986:function(e){return String(e)}},RFC1738:To.RFC1738,RFC3986:To.RFC3986},z2=Js,Co=Object.prototype.hasOwnProperty,vn=Array.isArray,bt=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),W2=function(t){for(;t.length>1;){var n=t.pop(),r=n.obj[n.prop];if(vn(r)){for(var i=[],a=0;a<r.length;++a)typeof r[a]<"u"&&i.push(r[a]);n.obj[n.prop]=i}}},fm=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},q2=function e(t,n,r){if(!n)return t;if(typeof n!="object"){if(vn(t))t.push(n);else if(t&&typeof t=="object")(r&&(r.plainObjects||r.allowPrototypes)||!Co.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 vn(t)&&!vn(n)&&(i=fm(t,r)),vn(t)&&vn(n)?(n.forEach(function(a,o){if(Co.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 Co.call(a,o)?a[o]=e(a[o],u,r):a[o]=u,a},i)},G2=function(t,n){return Object.keys(n).reduce(function(r,i){return r[i]=n[i],r},t)},V2=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}},Y2=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===z2.RFC1738&&(c===40||c===41)){u+=o.charAt(s);continue}if(c<128){u=u+bt[c];continue}if(c<2048){u=u+(bt[192|c>>6]+bt[128|c&63]);continue}if(c<55296||c>=57344){u=u+(bt[224|c>>12]+bt[128|c>>6&63]+bt[128|c&63]);continue}s+=1,c=65536+((c&1023)<<10|o.charCodeAt(s)&1023),u+=bt[240|c>>18]+bt[128|c>>12&63]+bt[128|c>>6&63]+bt[128|c&63]}return u},X2=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 W2(n),t},Q2=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},J2=function(t){return!t||typeof t!="object"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},Z2=function(t,n){return[].concat(t,n)},eP=function(t,n){if(vn(t)){for(var r=[],i=0;i<t.length;i+=1)r.push(n(t[i]));return r}return n(t)},dm={arrayToObject:fm,assign:G2,combine:Z2,compact:X2,decode:V2,encode:Y2,isBuffer:J2,isRegExp:Q2,maybeMap:eP,merge:q2},pm=x2,Ki=dm,Ur=Js,tP=Object.prototype.hasOwnProperty,df={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,n){return t+"["+n+"]"},repeat:function(t){return t}},Ct=Array.isArray,nP=Array.prototype.push,hm=function(e,t){nP.apply(e,Ct(t)?t:[t])},rP=Date.prototype.toISOString,pf=Ur.default,He={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:Ki.encode,encodeValuesOnly:!1,format:pf,formatter:Ur.formatters[pf],indices:!1,serializeDate:function(t){return rP.call(t)},skipNulls:!1,strictNullHandling:!1},iP=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},Io={},aP=function e(t,n,r,i,a,o,u,s,c,f,l,d,p,m,h,_){for(var b=t,y=_,v=0,g=!1;(y=y.get(Io))!==void 0&&!g;){var E=y.get(t);if(v+=1,typeof E<"u"){if(E===v)throw new RangeError("Cyclic object value");g=!0}typeof y.get(Io)>"u"&&(v=0)}if(typeof s=="function"?b=s(n,b):b instanceof Date?b=l(b):r==="comma"&&Ct(b)&&(b=Ki.maybeMap(b,function(R){return R instanceof Date?l(R):R})),b===null){if(a)return u&&!m?u(n,He.encoder,h,"key",d):n;b=""}if(iP(b)||Ki.isBuffer(b)){if(u){var O=m?n:u(n,He.encoder,h,"key",d);return[p(O)+"="+p(u(b,He.encoder,h,"value",d))]}return[p(n)+"="+p(String(b))]}var S=[];if(typeof b>"u")return S;var w;if(r==="comma"&&Ct(b))m&&u&&(b=Ki.maybeMap(b,u)),w=[{value:b.length>0?b.join(",")||null:void 0}];else if(Ct(s))w=s;else{var P=Object.keys(b);w=c?P.sort(c):P}for(var A=i&&Ct(b)&&b.length===1?n+"[]":n,L=0;L<w.length;++L){var $=w[L],j=typeof $=="object"&&typeof $.value<"u"?$.value:b[$];if(!(o&&j===null)){var I=Ct(b)?typeof r=="function"?r(A,$):A:A+(f?"."+$:"["+$+"]");_.set(t,v);var C=pm();C.set(Io,_),hm(S,e(j,I,r,i,a,o,r==="comma"&&m&&Ct(b)?null:u,s,c,f,l,d,p,m,h,C))}}return S},oP=function(t){if(!t)return He;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||He.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=Ur.default;if(typeof t.format<"u"){if(!tP.call(Ur.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var i=Ur.formatters[r],a=He.filter;return(typeof t.filter=="function"||Ct(t.filter))&&(a=t.filter),{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:He.addQueryPrefix,allowDots:typeof t.allowDots>"u"?He.allowDots:!!t.allowDots,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:He.charsetSentinel,delimiter:typeof t.delimiter>"u"?He.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:He.encode,encoder:typeof t.encoder=="function"?t.encoder:He.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:He.encodeValuesOnly,filter:a,format:r,formatter:i,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:He.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:He.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:He.strictNullHandling}},uP=function(e,t){var n=e,r=oP(t),i,a;typeof r.filter=="function"?(a=r.filter,n=a("",n)):Ct(r.filter)&&(a=r.filter,i=a);var o=[];if(typeof n!="object"||n===null)return"";var u;t&&t.arrayFormat in df?u=t.arrayFormat:t&&"indices"in t?u=t.indices?"indices":"repeat":u="indices";var s=df[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=pm(),l=0;l<i.length;++l){var d=i[l];r.skipNulls&&n[d]===null||hm(o,aP(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 p=o.join(r.delimiter),m=r.addQueryPrefix===!0?"?":"";return r.charsetSentinel&&(r.charset==="iso-8859-1"?m+="utf8=%26%2310003%3B&":m+="utf8=%E2%9C%93&"),p.length>0?m+p:""},ur=dm,Pu=Object.prototype.hasOwnProperty,sP=Array.isArray,je={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:ur.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},lP=function(e){return e.replace(/&#(\d+);/g,function(t,n){return String.fromCharCode(parseInt(n,10))})},mm=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},cP="utf8=%26%2310003%3B",fP="utf8=%E2%9C%93",dP=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]===fP?c="utf-8":o[s]===cP&&(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,p,m;d===-1?(p=n.decoder(f,je.decoder,c,"key"),m=n.strictNullHandling?null:""):(p=n.decoder(f.slice(0,d),je.decoder,c,"key"),m=ur.maybeMap(mm(f.slice(d+1),n),function(h){return n.decoder(h,je.decoder,c,"value")})),m&&n.interpretNumericEntities&&c==="iso-8859-1"&&(m=lP(m)),f.indexOf("[]=")>-1&&(m=sP(m)?[m]:m),Pu.call(r,p)?r[p]=ur.combine(r[p],m):r[p]=m}return r},pP=function(e,t,n,r){for(var i=r?t:mm(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},hP=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&&Pu.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&&Pu.call(Object.prototype,s[1].slice(1,-1))&&!r.allowPrototypes)return;f.push(s[1])}return s&&f.push("["+a.slice(s.index)+"]"),pP(f,n,r,i)}},mP=function(t){if(!t)return je;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"?je.charset:t.charset;return{allowDots:typeof t.allowDots>"u"?je.allowDots:!!t.allowDots,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:je.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:je.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:je.arrayLimit,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:je.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:je.comma,decoder:typeof t.decoder=="function"?t.decoder:je.decoder,delimiter:typeof t.delimiter=="string"||ur.isRegExp(t.delimiter)?t.delimiter:je.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:je.depth,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:je.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:je.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:je.plainObjects,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:je.strictNullHandling}},vP=function(e,t){var n=mP(t);if(e===""||e===null||typeof e>"u")return n.plainObjects?Object.create(null):{};for(var r=typeof e=="string"?dP(e,n):e,i=n.plainObjects?Object.create(null):{},a=Object.keys(r),o=0;o<a.length;++o){var u=a[o],s=hP(u,r[u],n,typeof e=="string");i=ur.merge(i,s,n)}return n.allowSparse===!0?i:ur.compact(i)},yP=uP,gP=vP,bP=Js,_P={formats:bP,parse:gP,stringify:yP};const wP=cr(_P);var Zs={exports:{}};class vm extends Error{constructor(){super("Throttled function aborted"),this.name="AbortError"}}const EP=({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 p;return new Promise((m,h)=>{p=setTimeout(()=>{m(f.apply(this,d)),r.delete(p)},c()),r.set(p,h)})};return l.abort=()=>{for(const d of r.keys())clearTimeout(d),r.get(d)(new vm);r.clear(),u.splice(0,u.length)},l.isEnabled=!0,l}};Zs.exports=EP;Zs.exports.AbortError=vm;var SP=Zs.exports;const OP=cr(SP);function PP(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 hf(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 xn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?hf(Object(n),!0).forEach(function(r){AP(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Au(e){"@babel/helpers - typeof";return Au=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},Au(e)}function Tu(){Tu=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)),ma(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 TP(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)},Tu.apply(this,arguments)}function AP(e,t,n){return t=NP(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function TP(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&&ma(e,t)}function ma(e,t){return ma=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},ma(e,t)}function CP(e,t){return IP(e)||PP(e,t)||ym(e,t)||LP()}function IP(e){if(Array.isArray(e))return e}function ym(e,t){if(e){if(typeof e=="string")return mf(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 mf(e,t)}}function mf(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 LP(){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 RP(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=ym(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 kP(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 NP(e){var t=kP(e,"string");return typeof t=="symbol"?t:String(t)}function MP(){return typeof process<"u"&&!process.browser}function DP(){return typeof window<"u"&&"navigator"in window&&"product"in window.navigator&&window.navigator.product==="ReactNative"}function $P(){return process.versions&&process.versions.node?"v".concat(process.versions.node):process.version}function jP(){return window}function Cu(){}var Iu=Tu(/(\d+)(%)/,{value:1});function Lo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:7,n=t;if(Iu.test(e)){var r,i=(r=e.match(Iu))===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")),OP({limit:e,interval:1e3,strict:!1})}var BP=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"auto",n=e.defaults.logHandler,r=n===void 0?Cu:n,i=yl(t)?Lo(t):Lo("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&&yl(t)&&(t==="auto"||Iu.test(t))&&c.headers&&c.headers["x-contentful-ratelimit-second-limit"]){var f=parseInt(c.headers["x-contentful-ratelimit-second-limit"]),l=Lo(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)}},FP=function(t){return new Promise(function(n){setTimeout(n,t)})},UP=function(t){return Math.pow(Math.SQRT2,t)};function xP(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,n=e.defaults,r=n.responseLogger,i=r===void 0?Cu:r,a=n.requestLogger,o=a===void 0?Cu: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=UP(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,FP(d).then(function(){return e(c)})):Promise.reject(u)})}function HP(e,t){e.interceptors.request.use(function(n){return t().then(function(r){return n.headers=xn(xn({},n.headers),{},{Authorization:"Bearer ".concat(r)}),n})})}var KP=/^(?!\w+:\/\/)([^\s:]+\.?[^\s:]+)(?::(\d+))?(?!:)$/;function gm(e,t){var n={insecure:!1,retryOnError:!0,logHandler:function(h,_){if(h==="error"&&_){var b=[_.name,_.message].filter(function(y){return y}).join(" - ");console.error("[error] ".concat(b)),console.error(_);return}console.log("[".concat(h,"] ").concat(_))},headers:{},httpAgent:!1,httpsAgent:!1,timeout:3e4,throttle:0,proxy:!1,basePath:"",adapter:void 0,maxContentLength:1073741824,maxBodyLength:1073741824},r=xn(xn({},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&&KP.test(r.host)){var c=r.host.split(":");if(c.length===2){var f=CP(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:wP.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},p=e.create(d);return p.httpClientParams=t,p.cloneWithNewParams=function(m){return gm(e,xn(xn({},Ne(t)),m))},r.onBeforeRequest&&p.interceptors.request.use(r.onBeforeRequest),typeof r.accessToken=="function"&&HP(p,r.accessToken),r.throttle&&BP(p,r.throttle),xP(p,r.retryLimit),r.onError&&p.interceptors.response.use(function(m){return m},r.onError),p}function hn(e){var t=e.query,n={};return delete t.resolveLinks,n.params=Ne(t),n}function bm(e){var t=Object.getOwnPropertyNames(e),n=RP(t),r;try{for(n.s();!(r=n.n()).done;){var i=r.value,a=e[i];a&&Au(a)==="object"&&bm(a)}}catch(o){n.e(o)}finally{n.f()}return Object.freeze(e)}function nt(e){return bm(e.sys||{}),e}function yf(){var e=jP();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 zP(){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 WP(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{DP()?(a=yf(),i.push("platform ReactNative")):MP()?(a=zP(),i.push("platform node.js/".concat($P()))):(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 Ve(e){return Object.defineProperty(e,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return Ne(this)}})}function lt(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(!mi(n)||!mi(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:{}};mi(t)&&(o.request={url:t.url,headers:t.headers,method:t.method,payloadData:t.data}),a&&mi(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 qP(e){return nt(Ve(e))}const GP=Object.freeze(Object.defineProperty({__proto__:null,wrapSpace:qP},Symbol.toStringTag,{value:"Module"}));var Lu={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)}}})(Lu,Lu.exports);var VP=Lu.exports;const YP=cr(VP);function _m(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 YP(this,t,n,(r,i)=>({sys:{type:"Link",linkType:"Entry",id:i.sys.id,circular:!0}}))}})}var XP=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},QP=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 Rr(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 Qr={},JP=function(t){return t&&t.sys&&t.sys.type==="Link"},ZP=function(t){return t&&t.sys&&t.sys.type==="ResourceLink"},e5=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]},gf=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)},t5=function(t){var n=/.*:spaces\/([^/]+)(?:\/environments\/([^/]+))?\/entries\/([^/]+)$/;if(n.test(t)){var r=t.match(n),i=QP(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}}},n5=function(t,n){var r=n.sys,i=r.type,a=r.linkType;if(i==="ResourceLink"){var o=n.sys.urn,u=t5(o),s=u.spaceId,c=u.environmentId,f=u.entryId,l=a.split(":")[1];return gf(t,{linkType:l,entryId:f,spaceId:s,environmentId:c})||Qr}var d=n.sys.id;return gf(t,{linkType:a,entryId:d})||Qr},r5=function(t){if(Array.isArray(t))return t.filter(function(r){return r!==Qr});for(var n in t)t[n]===Qr&&delete t[n];return t},i5=function e(t,n,r,i){if(n(t))return r(t);if(t&&(typeof t>"u"?"undefined":XP(t))==="object"){for(var a in t)t.hasOwnProperty(a)&&(t[a]=e(t[a],n,r,i));i&&(t=r5(t))}return t},a5=function(t,n,r){var i=n5(t,n);return i===Qr?r?i:n:i},o5=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},{})},wm=function(t,n){if(n=n||{},!t.items)return[];var r=Ne(t),i=Object.keys(r.includes||{}).reduce(function(u,s){return[].concat(Rr(u),Rr(t.includes[s]))},[]),a=[].concat(Rr(r.items),Rr(i)).filter(function(u){return!!u.sys}),o=new Map(a.reduce(function(u,s){var c=e5(s.sys).map(function(f){return[f,s]});return u.push.apply(u,Rr(c)),u},[]));return a.forEach(function(u){var s=o5(u,n.itemEntryPoints);Object.assign(u,i5(s,function(c){return JP(c)||ZP(c)},function(c){return a5(o,c,n.removeUnresolved)},n.removeUnresolved))}),r.items};function u5(e){return nt(Ve(Ne(e)))}function s5(e,t){let{resolveLinks:n,removeUnresolved:r}=t;const i=_m(Ve(Ne(e)));return n&&(i.items=wm(i,{removeUnresolved:r,itemEntryPoints:["fields"]})),nt(i)}const l5=Object.freeze(Object.defineProperty({__proto__:null,wrapEntry:u5,wrapEntryCollection:s5},Symbol.toStringTag,{value:"Module"}));function c5(e){return nt(Ve(Ne(e)))}function f5(e){return nt(Ve(Ne(e)))}const d5=Object.freeze(Object.defineProperty({__proto__:null,wrapAsset:c5,wrapAssetCollection:f5},Symbol.toStringTag,{value:"Module"}));function p5(e){return nt(Ve(Ne(e)))}const h5=Object.freeze(Object.defineProperty({__proto__:null,wrapAssetKey:p5},Symbol.toStringTag,{value:"Module"}));function m5(e){return nt(Ve(Ne(e)))}function v5(e){return nt(Ve(Ne(e)))}const y5=Object.freeze(Object.defineProperty({__proto__:null,wrapContentType:m5,wrapContentTypeCollection:v5},Symbol.toStringTag,{value:"Module"}));function g5(e){return nt(Ve(Ne(e)))}function b5(e){return nt(Ve(Ne(e)))}const _5=Object.freeze(Object.defineProperty({__proto__:null,wrapLocale:g5,wrapLocaleCollection:b5},Symbol.toStringTag,{value:"Module"}));function w5(e){return nt(Ve(Ne(e)))}function E5(e){return nt(Ve(Ne(e)))}const S5=Object.freeze(Object.defineProperty({__proto__:null,wrapTag:w5,wrapTagCollection:E5},Symbol.toStringTag,{value:"Module"})),dn={space:GP,entry:l5,asset:d5,assetKey:h5,contentType:y5,locale:_5,tag:S5};function bf(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 _f(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?bf(Object(n),!0).forEach(function(r){O5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function O5(e,t,n){return t=P5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function P5(e){var t=A5(e,"string");return typeof t=="symbol"?t:String(t)}function A5(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 T5(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}=_f(_f({},r),n),s=await Em(e,[],t,{paginate:o});i&&(s.items=wm(s,{removeUnresolved:a,itemEntryPoints:["fields"]}));const c=C5(s.items);return s.nextSyncToken&&(c.nextSyncToken=s.nextSyncToken),s.nextPageToken&&(c.nextPageToken=s.nextPageToken),nt(_m(Ve(c)))}function C5(e){const t=n=>(r,i)=>(i.sys.type===n&&r.push(Ve(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 Em(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",hn({query:n}))).data||{};return t=t.concat(o.items||[]),o.nextPageUrl?i?(delete n.initial,n.sync_token=Ro(o.nextPageUrl),Em(e,t,n,{paginate:i})):{items:t,nextPageToken:Ro(o.nextPageUrl)}:o.nextSyncUrl?{items:t,nextSyncToken:Ro(o.nextSyncUrl)}:{items:[]}}function Ro(e){const t=e.split("?");return t.length>0?t[1].replace("sync_token=",""):""}function wf(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 Ef(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?wf(Object(n),!0).forEach(function(r){I5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function I5(e,t,n){return t=L5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function L5(e){var t=R5(e,"string");return typeof t=="symbol"?t:String(t)}function R5(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 Ei(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"),Ef(Ef({},e),{},{select:[...n].join(",")}))}class ko extends Error{constructor(t,n){super(`Invalid "${t}" provided, `+n),this.name="ValidationError"}}function k5(e,t,n){if(n=n||{},typeof t!="number")throw new ko(e,`only numeric values are allowed for timestamps, provided type was "${typeof t}"`);if(n.maximum&&t>n.maximum)throw new ko(e,`value (${t}) cannot be further in the future than expected maximum (${n.maximum})`);if(n.now&&t<n.now)throw new ko(e,`value (${t}) cannot be in the past, current time was ${n.now}`)}function Sf(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 Of(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Sf(Object(n),!0).forEach(function(r){N5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function N5(e,t,n){return t=M5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function M5(e){var t=D5(e,"string");return typeof t=="symbol"?t:String(t)}function D5(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 $5=48*60*60;function j5(e){let{http:t,getGlobalOptions:n}=e;const{wrapSpace:r}=dn.space,{wrapContentType:i,wrapContentTypeCollection:a}=dn.contentType,{wrapEntry:o,wrapEntryCollection:u}=dn.entry,{wrapAsset:s,wrapAssetCollection:c}=dn.asset,{wrapTag:f,wrapTagCollection:l}=dn.tag,{wrapAssetKey:d}=dn.assetKey,{wrapLocaleCollection:p}=dn.locale,m=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 h(){j(t);try{const I=await t.get("/");return r(I.data)}catch(I){lt(I)}}async function _(I){$(t);try{const C=await t.get(`content_types/${I}`);return i(C.data)}catch(C){lt(C)}}async function b(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};$(t);try{const C=await t.get("content_types",hn({query:I}));return a(C.data)}catch(C){lt(C)}}async function y(I){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!I)throw m(I);try{const R=await this.getEntries(Of({"sys.id":I},C));if(R.items.length>0)return o(R.items[0]);throw m(I)}catch(R){lt(R)}}async function v(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};$(t);const{resolveLinks:C,removeUnresolved:R}=n(I);I=Ei(I);try{const D=await t.get("entries",hn({query:I}));return u(D.data,{resolveLinks:C,removeUnresolved:R})}catch(D){lt(D)}}async function g(I){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};$(t),C=Ei(C);try{const R=await t.get(`assets/${I}`,hn({query:C}));return s(R.data)}catch(R){lt(R)}}async function E(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};$(t),I=Ei(I);try{const C=await t.get("assets",hn({query:I}));return c(C.data)}catch(C){lt(C)}}async function O(I){$(t);try{const C=await t.get(`tags/${I}`);return f(C.data)}catch(C){lt(C)}}async function S(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};$(t),I=Ei(I);try{const C=await t.get("tags",hn({query:I}));return l(C.data)}catch(C){lt(C)}}async function w(I){$(t);try{const C=Math.floor(Date.now()/1e3),R=C+$5;k5("expiresAt",I,{maximum:R,now:C});const D={expiresAt:I},F=await t.post("asset_keys",D);return d(F.data)}catch(C){lt(C)}}async function P(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};$(t);try{const C=await t.get("locales",hn({query:I}));return p(C.data)}catch(C){lt(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:D}=n(I);return $(t),T5(t,I,Of({resolveLinks:R,removeUnresolved:D},C))}function L(I){const{resolveLinks:C,removeUnresolved:R}=n({});return u(I,{resolveLinks:C,removeUnresolved:R})}function $(I){I.defaults.baseURL=n().environmentBaseUrl}function j(I){I.defaults.baseURL=n().spaceBaseUrl}return{getSpace:h,getContentType:_,getContentTypes:b,getEntry:y,getEntries:v,getAsset:g,getAssets:E,getTag:O,getTags:S,createAssetKey:w,getLocales:P,parseEntries:L,sync:A}}function B5(e){return function(n){return Object.assign({},e,n)}}function Pf(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 Si(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Pf(Object(n),!0).forEach(function(r){F5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pf(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 MI(e){if(!e.accessToken)throw new TypeError("Expected parameter accessToken");if(!e.space)throw new TypeError("Expected parameter space");const n=Si(Si({},{resolveLinks:!0,removeUnresolved:!1,defaultHostname:"cdn.contentful.com",environment:"master"}),e),r=WP("contentful.js/9.3.6",n.application,n.integration);n.headers=Si(Si({},n.headers),{},{"Content-Type":"application/vnd.contentful.delivery.v1+json","X-Contentful-User-Agent":r});const i=gm(KS,n),a=B5({resolveLinks:n.resolveLinks,environment:n.environment,removeUnresolved:n.removeUnresolved,spaceBaseUrl:i.defaults.baseURL,environmentBaseUrl:`${i.defaults.baseURL}environments/${n.environment}`});return i.defaults.baseURL=a().environmentBaseUrl,j5({http:i,getGlobalOptions:a})}var H5={};const Sm=nd(er);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(I){return I&&typeof I=="object"&&"default"in I?I.default:I}var n=Sm,r=t(n),i=function(){return i=Object.assign||function(C){for(var R,D=1,F=arguments.length;D<F;D++){R=arguments[D];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(D){D.BOLD="bold",D.ITALIC="italic",D.UNDERLINE="underline",D.CODE="code",D.SUPERSCRIPT="superscript",D.SUBSCRIPT="subscript"})(R||(R={})),C.default=R});o(f);var l=u(function(I,C){var R=a&&a.__spreadArray||function(q,X,x){if(x||arguments.length===2)for(var U=0,W=X.length,H;U<W;U++)(H||!(U in X))&&(H||(H=Array.prototype.slice.call(X,0,U)),H[U]=X[U]);return q.concat(H||Array.prototype.slice.call(X))},D=a&&a.__importDefault||function(q){return q&&q.__esModule?q:{default:q}},F;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=D(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=(F={},F[s.BLOCKS.OL_LIST]=[s.BLOCKS.LIST_ITEM],F[s.BLOCKS.UL_LIST]=[s.BLOCKS.LIST_ITEM],F[s.BLOCKS.LIST_ITEM]=C.LIST_ITEM_BLOCKS,F[s.BLOCKS.QUOTE]=[s.BLOCKS.PARAGRAPH],F[s.BLOCKS.TABLE]=[s.BLOCKS.TABLE_ROW],F[s.BLOCKS.TABLE_ROW]=[s.BLOCKS.TABLE_CELL,s.BLOCKS.TABLE_HEADER_CELL],F[s.BLOCKS.TABLE_CELL]=[s.BLOCKS.PARAGRAPH],F[s.BLOCKS.TABLE_HEADER_CELL]=[s.BLOCKS.PARAGRAPH],F),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 p=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0})});o(p);var m=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(m);var h=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0}),C.isText=C.isBlock=C.isInline=void 0;function R(q,X){for(var x=0,U=Object.keys(q);x<U.length;x++){var W=U[x];if(X===q[W])return!0}return!1}function D(q){return R(c.INLINES,q.nodeType)}C.isInline=D;function F(q){return R(s.BLOCKS,q.nodeType)}C.isBlock=F;function Y(q){return q.nodeType==="text"}C.isText=Y});o(h),h.isText,h.isBlock,h.isInline;var _=u(function(I,C){var R=a&&a.__createBinding||(Object.create?function(x,U,W,H){H===void 0&&(H=W);var re=Object.getOwnPropertyDescriptor(U,W);(!re||("get"in re?!U.__esModule:re.writable||re.configurable))&&(re={enumerable:!0,get:function(){return U[W]}}),Object.defineProperty(x,H,re)}:function(x,U,W,H){H===void 0&&(H=W),x[H]=U[W]}),D=a&&a.__setModuleDefault||(Object.create?function(x,U){Object.defineProperty(x,"default",{enumerable:!0,value:U})}:function(x,U){x.default=U}),F=a&&a.__exportStar||function(x,U){for(var W in x)W!=="default"&&!Object.prototype.hasOwnProperty.call(U,W)&&R(U,x,W)},Y=a&&a.__importStar||function(x){if(x&&x.__esModule)return x;var U={};if(x!=null)for(var W in x)W!=="default"&&Object.prototype.hasOwnProperty.call(x,W)&&R(U,x,W);return D(U,x),U},q=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 q(f).default}}),F(l,C),F(d,C),F(p,C),Object.defineProperty(C,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return q(m).default}});var X=Y(h);C.helpers=X});o(_);var b=_.helpers;_.EMPTY_DOCUMENT;var y=_.MARKS,v=_.INLINES,g=_.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,D){return E(S(R,C),D)})}function S(I,C){var R=C.renderNode,D=C.renderMark,F=C.renderText,Y=C.preserveWhitespace;if(b.isText(I)){var q=F?F(I.value):I.value;if(Y){q=q.replace(/ {2,}/g,function(W){return"&nbsp;".repeat(W.length)});var X=q.split(`
18
- `),x=[];X.forEach(function(W,H){x.push(W),H!==X.length-1&&x.push(r.createElement("br",null))}),q=x}return I.marks.reduce(function(W,H){return D[H.type]?D[H.type](W):W},q)}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[g.DOCUMENT]=function(I,C){return C},w[g.PARAGRAPH]=function(I,C){return r.createElement("p",null,C)},w[g.HEADING_1]=function(I,C){return r.createElement("h1",null,C)},w[g.HEADING_2]=function(I,C){return r.createElement("h2",null,C)},w[g.HEADING_3]=function(I,C){return r.createElement("h3",null,C)},w[g.HEADING_4]=function(I,C){return r.createElement("h4",null,C)},w[g.HEADING_5]=function(I,C){return r.createElement("h5",null,C)},w[g.HEADING_6]=function(I,C){return r.createElement("h6",null,C)},w[g.EMBEDDED_ENTRY]=function(I,C){return r.createElement("div",null,C)},w[g.EMBEDDED_RESOURCE]=function(I,C){return r.createElement("div",null,C)},w[g.UL_LIST]=function(I,C){return r.createElement("ul",null,C)},w[g.OL_LIST]=function(I,C){return r.createElement("ol",null,C)},w[g.LIST_ITEM]=function(I,C){return r.createElement("li",null,C)},w[g.QUOTE]=function(I,C){return r.createElement("blockquote",null,C)},w[g.HR]=function(){return r.createElement("hr",null)},w[g.TABLE]=function(I,C){return r.createElement("table",null,r.createElement("tbody",null,C))},w[g.TABLE_ROW]=function(I,C){return r.createElement("tr",null,C)},w[g.TABLE_HEADER_CELL]=function(I,C){return r.createElement("th",null,C)},w[g.TABLE_CELL]=function(I,C){return r.createElement("td",null,C)},w[v.ASSET_HYPERLINK]=function(I){return $(v.ASSET_HYPERLINK,I)},w[v.ENTRY_HYPERLINK]=function(I){return $(v.ENTRY_HYPERLINK,I)},w[v.EMBEDDED_ENTRY]=function(I){return $(v.EMBEDDED_ENTRY,I)},w[v.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 $(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})(H5);var K5={},fi={};(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={}))})(fi);var xa={};(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={}))})(xa);var Ha={};Object.defineProperty(Ha,"__esModule",{value:!0});var Ru;(function(e){e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript"})(Ru||(Ru={}));Ha.default=Ru;var Om={};(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=fi,a=xa,o=n(Ha);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]})(Om);var Pm={};Object.defineProperty(Pm,"__esModule",{value:!0});var Am={};Object.defineProperty(Am,"__esModule",{value:!0});var el={};Object.defineProperty(el,"__esModule",{value:!0});var Af=fi,z5={nodeType:Af.BLOCKS.DOCUMENT,data:{},content:[{nodeType:Af.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};el.default=z5;var nn={};Object.defineProperty(nn,"__esModule",{value:!0});nn.isText=nn.isBlock=nn.isInline=void 0;var W5=fi,q5=xa;function Tm(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 G5(e){return Tm(q5.INLINES,e.nodeType)}nn.isInline=G5;function V5(e){return Tm(W5.BLOCKS,e.nodeType)}nn.isBlock=V5;function Y5(e){return e.nodeType==="text"}nn.isText=Y5;(function(e){var t=J&&J.__createBinding||(Object.create?function(l,d,p,m){m===void 0&&(m=p);var h=Object.getOwnPropertyDescriptor(d,p);(!h||("get"in h?!d.__esModule:h.writable||h.configurable))&&(h={enumerable:!0,get:function(){return d[p]}}),Object.defineProperty(l,m,h)}:function(l,d,p,m){m===void 0&&(m=p),l[m]=d[p]}),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 p in l)p!=="default"&&!Object.prototype.hasOwnProperty.call(d,p)&&t(d,l,p)},i=J&&J.__importStar||function(l){if(l&&l.__esModule)return l;var d={};if(l!=null)for(var p in l)p!=="default"&&Object.prototype.hasOwnProperty.call(l,p)&&t(d,l,p);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=fi;Object.defineProperty(e,"BLOCKS",{enumerable:!0,get:function(){return o.BLOCKS}});var u=xa;Object.defineProperty(e,"INLINES",{enumerable:!0,get:function(){return u.INLINES}});var s=Ha;Object.defineProperty(e,"MARKS",{enumerable:!0,get:function(){return a(s).default}}),r(Om,e),r(Pm,e),r(Am,e);var c=el;Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return a(c).default}});var f=i(nn);e.helpers=f})(K5);var X5={};(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})(X5);var Q5={},Cm={};(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})(Cm);(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Cm;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})(Q5);var J5={};(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})(J5);var Z5={};(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})(Z5);var eA={},Im={};(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})(Im);(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Im;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})(eA);function Tf(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 z(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Tf(Object(n),!0).forEach(function(r){Me(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function va(e){"@babel/helpers - typeof";return va=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},va(e)}function tA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cf(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 nA(e,t,n){return t&&Cf(e.prototype,t),n&&Cf(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Me(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 iA(e)||oA(e,t)||Lm(e,t)||sA()}function di(e){return rA(e)||aA(e)||Lm(e)||uA()}function rA(e){if(Array.isArray(e))return ku(e)}function iA(e){if(Array.isArray(e))return e}function aA(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function oA(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 Lm(e,t){if(e){if(typeof e=="string")return ku(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 ku(e,t)}}function ku(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 spread non-iterable instance.
19
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function sA(){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 If=function(){},nl={},Rm={},km=null,Nm={mark:If,measure:If};try{typeof window<"u"&&(nl=window),typeof document<"u"&&(Rm=document),typeof MutationObserver<"u"&&(km=MutationObserver),typeof performance<"u"&&(Nm=performance)}catch{}var lA=nl.navigator||{},Lf=lA.userAgent,Rf=Lf===void 0?"":Lf,un=nl,ye=Rm,kf=km,Oi=Nm;un.document;var Ht=!!ye.documentElement&&!!ye.head&&typeof ye.addEventListener=="function"&&typeof ye.createElement=="function",Mm=~Rf.indexOf("MSIE")||~Rf.indexOf("Trident/"),Pi,Ai,Ti,Ci,Ii,Bt="___FONT_AWESOME___",Nu=16,Dm="fa",$m="svg-inline--fa",Cn="data-fa-i2svg",Mu="data-fa-pseudo-element",cA="data-fa-pseudo-element-pending",rl="data-prefix",il="data-icon",Nf="fontawesome-i2svg",fA="async",dA=["HTML","HEAD","STYLE","SCRIPT"],jm=function(){try{return!0}catch{return!1}}(),ve="classic",ge="sharp",al=[ve,ge];function pi(e){return new Proxy(e,{get:function(n,r){return r in n?n[r]:n[ve]}})}var Jr=pi((Pi={},Me(Pi,ve,{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"}),Me(Pi,ge,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light"}),Pi)),Zr=pi((Ai={},Me(Ai,ve,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),Me(Ai,ge,{solid:"fass",regular:"fasr",light:"fasl"}),Ai)),ei=pi((Ti={},Me(Ti,ve,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),Me(Ti,ge,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light"}),Ti)),pA=pi((Ci={},Me(Ci,ve,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),Me(Ci,ge,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl"}),Ci)),hA=/fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/,Bm="fa-layers-text",mA=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,vA=pi((Ii={},Me(Ii,ve,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),Me(Ii,ge,{900:"fass",400:"fasr",300:"fasl"}),Ii)),Fm=[1,2,3,4,5,6,7,8,9,10],yA=Fm.concat([11,12,13,14,15,16,17,18,19,20]),gA=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],gn={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},ti=new Set;Object.keys(Zr[ve]).map(ti.add.bind(ti));Object.keys(Zr[ge]).map(ti.add.bind(ti));var bA=[].concat(al,di(ti),["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",gn.GROUP,gn.SWAP_OPACITY,gn.PRIMARY,gn.SECONDARY]).concat(Fm.map(function(e){return"".concat(e,"x")})).concat(yA.map(function(e){return"w-".concat(e)})),xr=un.FontAwesomeConfig||{};function _A(e){var t=ye.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function wA(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(ye&&typeof ye.querySelector=="function"){var EA=[["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"]];EA.forEach(function(e){var t=tl(e,2),n=t[0],r=t[1],i=wA(_A(n));i!=null&&(xr[r]=i)})}var Um={styleDefault:"solid",familyDefault:"classic",cssPrefix:Dm,replacementClass:$m,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};xr.familyPrefix&&(xr.cssPrefix=xr.familyPrefix);var sr=z(z({},Um),xr);sr.autoReplaceSvg||(sr.observeMutations=!1);var V={};Object.keys(Um).forEach(function(e){Object.defineProperty(V,e,{enumerable:!0,set:function(n){sr[e]=n,Hr.forEach(function(r){return r(V)})},get:function(){return sr[e]}})});Object.defineProperty(V,"familyPrefix",{enumerable:!0,set:function(t){sr.cssPrefix=t,Hr.forEach(function(n){return n(V)})},get:function(){return sr.cssPrefix}});un.FontAwesomeConfig=V;var Hr=[];function SA(e){return Hr.push(e),function(){Hr.splice(Hr.indexOf(e),1)}}var Wt=Nu,St={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function OA(e){if(!(!e||!Ht)){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 PA="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function ni(){for(var e=12,t="";e-- >0;)t+=PA[Math.random()*62|0];return t}function Sr(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function ol(e){return e.classList?Sr(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function xm(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function AA(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(xm(e[n]),'" ')},"").trim()}function Ka(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function ul(e){return e.size!==St.size||e.x!==St.x||e.y!==St.y||e.rotate!==St.rotate||e.flipX||e.flipY}function TA(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 CA(e){var t=e.transform,n=e.width,r=n===void 0?Nu:n,i=e.height,a=i===void 0?Nu:i,o=e.startCentered,u=o===void 0?!1:o,s="";return u&&Mm?s+="translate(".concat(t.x/Wt-r/2,"em, ").concat(t.y/Wt-a/2,"em) "):u?s+="translate(calc(-50% + ".concat(t.x/Wt,"em), calc(-50% + ").concat(t.y/Wt,"em)) "):s+="translate(".concat(t.x/Wt,"em, ").concat(t.y/Wt,"em) "),s+="scale(".concat(t.size/Wt*(t.flipX?-1:1),", ").concat(t.size/Wt*(t.flipY?-1:1),") "),s+="rotate(".concat(t.rotate,"deg) "),s}var IA=`:root, :host {
15
+ `+t.prev}function bi(e,t){var n=Su(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=Gt(e,i)?t(e[i],e):""}var a=typeof Po=="function"?Po(e):[],o;if(or){o={};for(var u=0;u<a.length;u++)o["$"+a[u]]=a[u]}for(var s in e)Gt(e,s)&&(n&&String(Number(s))===s&&s<e.length||or&&o["$"+s]instanceof Symbol||(om.call(/[^\w$]/,s)?r.push(t(s,e)+": "+t(e[s],e)):r.push(s+": "+t(e[s],e))));if(typeof Po=="function")for(var c=0;c<a.length;c++)um.call(e,a[c])&&r.push("["+t(a[c])+"]: "+t(e[a[c]],e));return r}var Xs=wr,Er=t2,N2=h2,M2=Xs("%TypeError%"),_i=Xs("%WeakMap%",!0),wi=Xs("%Map%",!0),D2=Er("WeakMap.prototype.get",!0),$2=Er("WeakMap.prototype.set",!0),j2=Er("WeakMap.prototype.has",!0),B2=Er("Map.prototype.get",!0),F2=Er("Map.prototype.set",!0),U2=Er("Map.prototype.has",!0),Qs=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},x2=function(e,t){var n=Qs(e,t);return n&&n.value},H2=function(e,t,n){var r=Qs(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}},K2=function(e,t){return!!Qs(e,t)},z2=function(){var t,n,r,i={assert:function(a){if(!i.has(a))throw new M2("Side channel does not contain "+N2(a))},get:function(a){if(_i&&a&&(typeof a=="object"||typeof a=="function")){if(t)return D2(t,a)}else if(wi){if(n)return B2(n,a)}else if(r)return x2(r,a)},has:function(a){if(_i&&a&&(typeof a=="object"||typeof a=="function")){if(t)return j2(t,a)}else if(wi){if(n)return U2(n,a)}else if(r)return K2(r,a);return!1},set:function(a,o){_i&&a&&(typeof a=="object"||typeof a=="function")?(t||(t=new _i),$2(t,a,o)):wi?(n||(n=new wi),F2(n,a,o)):(r||(r={key:{},next:null}),H2(r,a,o))}};return i},W2=String.prototype.replace,q2=/%20/g,To={RFC1738:"RFC1738",RFC3986:"RFC3986"},Js={default:To.RFC3986,formatters:{RFC1738:function(e){return W2.call(e,q2,"+")},RFC3986:function(e){return String(e)}},RFC1738:To.RFC1738,RFC3986:To.RFC3986},G2=Js,Co=Object.prototype.hasOwnProperty,vn=Array.isArray,bt=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),V2=function(t){for(;t.length>1;){var n=t.pop(),r=n.obj[n.prop];if(vn(r)){for(var i=[],a=0;a<r.length;++a)typeof r[a]<"u"&&i.push(r[a]);n.obj[n.prop]=i}}},dm=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},Y2=function e(t,n,r){if(!n)return t;if(typeof n!="object"){if(vn(t))t.push(n);else if(t&&typeof t=="object")(r&&(r.plainObjects||r.allowPrototypes)||!Co.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 vn(t)&&!vn(n)&&(i=dm(t,r)),vn(t)&&vn(n)?(n.forEach(function(a,o){if(Co.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 Co.call(a,o)?a[o]=e(a[o],u,r):a[o]=u,a},i)},X2=function(t,n){return Object.keys(n).reduce(function(r,i){return r[i]=n[i],r},t)},Q2=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}},J2=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===G2.RFC1738&&(c===40||c===41)){u+=o.charAt(s);continue}if(c<128){u=u+bt[c];continue}if(c<2048){u=u+(bt[192|c>>6]+bt[128|c&63]);continue}if(c<55296||c>=57344){u=u+(bt[224|c>>12]+bt[128|c>>6&63]+bt[128|c&63]);continue}s+=1,c=65536+((c&1023)<<10|o.charCodeAt(s)&1023),u+=bt[240|c>>18]+bt[128|c>>12&63]+bt[128|c>>6&63]+bt[128|c&63]}return u},Z2=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 V2(n),t},eP=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},tP=function(t){return!t||typeof t!="object"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},nP=function(t,n){return[].concat(t,n)},rP=function(t,n){if(vn(t)){for(var r=[],i=0;i<t.length;i+=1)r.push(n(t[i]));return r}return n(t)},pm={arrayToObject:dm,assign:X2,combine:nP,compact:Z2,decode:Q2,encode:J2,isBuffer:tP,isRegExp:eP,maybeMap:rP,merge:Y2},hm=z2,Ki=pm,Ur=Js,iP=Object.prototype.hasOwnProperty,pf={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,n){return t+"["+n+"]"},repeat:function(t){return t}},Ct=Array.isArray,aP=Array.prototype.push,mm=function(e,t){aP.apply(e,Ct(t)?t:[t])},oP=Date.prototype.toISOString,hf=Ur.default,He={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:Ki.encode,encodeValuesOnly:!1,format:hf,formatter:Ur.formatters[hf],indices:!1,serializeDate:function(t){return oP.call(t)},skipNulls:!1,strictNullHandling:!1},uP=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},Io={},sP=function e(t,n,r,i,a,o,u,s,c,f,l,d,p,m,h,_){for(var b=t,y=_,v=0,g=!1;(y=y.get(Io))!==void 0&&!g;){var E=y.get(t);if(v+=1,typeof E<"u"){if(E===v)throw new RangeError("Cyclic object value");g=!0}typeof y.get(Io)>"u"&&(v=0)}if(typeof s=="function"?b=s(n,b):b instanceof Date?b=l(b):r==="comma"&&Ct(b)&&(b=Ki.maybeMap(b,function(R){return R instanceof Date?l(R):R})),b===null){if(a)return u&&!m?u(n,He.encoder,h,"key",d):n;b=""}if(uP(b)||Ki.isBuffer(b)){if(u){var O=m?n:u(n,He.encoder,h,"key",d);return[p(O)+"="+p(u(b,He.encoder,h,"value",d))]}return[p(n)+"="+p(String(b))]}var S=[];if(typeof b>"u")return S;var w;if(r==="comma"&&Ct(b))m&&u&&(b=Ki.maybeMap(b,u)),w=[{value:b.length>0?b.join(",")||null:void 0}];else if(Ct(s))w=s;else{var P=Object.keys(b);w=c?P.sort(c):P}for(var A=i&&Ct(b)&&b.length===1?n+"[]":n,L=0;L<w.length;++L){var $=w[L],j=typeof $=="object"&&typeof $.value<"u"?$.value:b[$];if(!(o&&j===null)){var I=Ct(b)?typeof r=="function"?r(A,$):A:A+(f?"."+$:"["+$+"]");_.set(t,v);var C=hm();C.set(Io,_),mm(S,e(j,I,r,i,a,o,r==="comma"&&m&&Ct(b)?null:u,s,c,f,l,d,p,m,h,C))}}return S},lP=function(t){if(!t)return He;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||He.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=Ur.default;if(typeof t.format<"u"){if(!iP.call(Ur.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var i=Ur.formatters[r],a=He.filter;return(typeof t.filter=="function"||Ct(t.filter))&&(a=t.filter),{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:He.addQueryPrefix,allowDots:typeof t.allowDots>"u"?He.allowDots:!!t.allowDots,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:He.charsetSentinel,delimiter:typeof t.delimiter>"u"?He.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:He.encode,encoder:typeof t.encoder=="function"?t.encoder:He.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:He.encodeValuesOnly,filter:a,format:r,formatter:i,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:He.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:He.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:He.strictNullHandling}},cP=function(e,t){var n=e,r=lP(t),i,a;typeof r.filter=="function"?(a=r.filter,n=a("",n)):Ct(r.filter)&&(a=r.filter,i=a);var o=[];if(typeof n!="object"||n===null)return"";var u;t&&t.arrayFormat in pf?u=t.arrayFormat:t&&"indices"in t?u=t.indices?"indices":"repeat":u="indices";var s=pf[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=hm(),l=0;l<i.length;++l){var d=i[l];r.skipNulls&&n[d]===null||mm(o,sP(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 p=o.join(r.delimiter),m=r.addQueryPrefix===!0?"?":"";return r.charsetSentinel&&(r.charset==="iso-8859-1"?m+="utf8=%26%2310003%3B&":m+="utf8=%E2%9C%93&"),p.length>0?m+p:""},ur=pm,Pu=Object.prototype.hasOwnProperty,fP=Array.isArray,je={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:ur.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},dP=function(e){return e.replace(/&#(\d+);/g,function(t,n){return String.fromCharCode(parseInt(n,10))})},vm=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},pP="utf8=%26%2310003%3B",hP="utf8=%E2%9C%93",mP=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]===hP?c="utf-8":o[s]===pP&&(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,p,m;d===-1?(p=n.decoder(f,je.decoder,c,"key"),m=n.strictNullHandling?null:""):(p=n.decoder(f.slice(0,d),je.decoder,c,"key"),m=ur.maybeMap(vm(f.slice(d+1),n),function(h){return n.decoder(h,je.decoder,c,"value")})),m&&n.interpretNumericEntities&&c==="iso-8859-1"&&(m=dP(m)),f.indexOf("[]=")>-1&&(m=fP(m)?[m]:m),Pu.call(r,p)?r[p]=ur.combine(r[p],m):r[p]=m}return r},vP=function(e,t,n,r){for(var i=r?t:vm(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},yP=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&&Pu.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&&Pu.call(Object.prototype,s[1].slice(1,-1))&&!r.allowPrototypes)return;f.push(s[1])}return s&&f.push("["+a.slice(s.index)+"]"),vP(f,n,r,i)}},gP=function(t){if(!t)return je;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"?je.charset:t.charset;return{allowDots:typeof t.allowDots>"u"?je.allowDots:!!t.allowDots,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:je.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:je.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:je.arrayLimit,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:je.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:je.comma,decoder:typeof t.decoder=="function"?t.decoder:je.decoder,delimiter:typeof t.delimiter=="string"||ur.isRegExp(t.delimiter)?t.delimiter:je.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:je.depth,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:je.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:je.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:je.plainObjects,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:je.strictNullHandling}},bP=function(e,t){var n=gP(t);if(e===""||e===null||typeof e>"u")return n.plainObjects?Object.create(null):{};for(var r=typeof e=="string"?mP(e,n):e,i=n.plainObjects?Object.create(null):{},a=Object.keys(r),o=0;o<a.length;++o){var u=a[o],s=yP(u,r[u],n,typeof e=="string");i=ur.merge(i,s,n)}return n.allowSparse===!0?i:ur.compact(i)},_P=cP,wP=bP,EP=Js,SP={formats:EP,parse:wP,stringify:_P};const OP=cr(SP);var Zs={exports:{}};class ym extends Error{constructor(){super("Throttled function aborted"),this.name="AbortError"}}const PP=({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 p;return new Promise((m,h)=>{p=setTimeout(()=>{m(f.apply(this,d)),r.delete(p)},c()),r.set(p,h)})};return l.abort=()=>{for(const d of r.keys())clearTimeout(d),r.get(d)(new ym);r.clear(),u.splice(0,u.length)},l.isEnabled=!0,l}};Zs.exports=PP;Zs.exports.AbortError=ym;var AP=Zs.exports;const TP=cr(AP);function CP(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 mf(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 xn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?mf(Object(n),!0).forEach(function(r){IP(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Au(e){"@babel/helpers - typeof";return Au=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},Au(e)}function Tu(){Tu=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)),ma(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 LP(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)},Tu.apply(this,arguments)}function IP(e,t,n){return t=$P(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function LP(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&&ma(e,t)}function ma(e,t){return ma=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},ma(e,t)}function RP(e,t){return kP(e)||CP(e,t)||gm(e,t)||NP()}function kP(e){if(Array.isArray(e))return e}function gm(e,t){if(e){if(typeof e=="string")return vf(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 vf(e,t)}}function vf(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 NP(){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 MP(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=gm(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 DP(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 $P(e){var t=DP(e,"string");return typeof t=="symbol"?t:String(t)}function jP(){return typeof process<"u"&&!process.browser}function BP(){return typeof window<"u"&&"navigator"in window&&"product"in window.navigator&&window.navigator.product==="ReactNative"}function FP(){return process.versions&&process.versions.node?"v".concat(process.versions.node):process.version}function UP(){return window}function Cu(){}var Iu=Tu(/(\d+)(%)/,{value:1});function Lo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:7,n=t;if(Iu.test(e)){var r,i=(r=e.match(Iu))===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 yf(e,t){return t("info","Throttle request to ".concat(e,"/s")),TP({limit:e,interval:1e3,strict:!1})}var xP=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"auto",n=e.defaults.logHandler,r=n===void 0?Cu:n,i=yl(t)?Lo(t):Lo("auto",t),a=yf(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&&yl(t)&&(t==="auto"||Iu.test(t))&&c.headers&&c.headers["x-contentful-ratelimit-second-limit"]){var f=parseInt(c.headers["x-contentful-ratelimit-second-limit"]),l=Lo(t,f);l!==i&&(u&&e.interceptors.request.eject(u),i=l,a=yf(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)}},HP=function(t){return new Promise(function(n){setTimeout(n,t)})},KP=function(t){return Math.pow(Math.SQRT2,t)};function zP(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,n=e.defaults,r=n.responseLogger,i=r===void 0?Cu:r,a=n.requestLogger,o=a===void 0?Cu: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=KP(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,HP(d).then(function(){return e(c)})):Promise.reject(u)})}function WP(e,t){e.interceptors.request.use(function(n){return t().then(function(r){return n.headers=xn(xn({},n.headers),{},{Authorization:"Bearer ".concat(r)}),n})})}var qP=/^(?!\w+:\/\/)([^\s:]+\.?[^\s:]+)(?::(\d+))?(?!:)$/;function bm(e,t){var n={insecure:!1,retryOnError:!0,logHandler:function(h,_){if(h==="error"&&_){var b=[_.name,_.message].filter(function(y){return y}).join(" - ");console.error("[error] ".concat(b)),console.error(_);return}console.log("[".concat(h,"] ").concat(_))},headers:{},httpAgent:!1,httpsAgent:!1,timeout:3e4,throttle:0,proxy:!1,basePath:"",adapter:void 0,maxContentLength:1073741824,maxBodyLength:1073741824},r=xn(xn({},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&&qP.test(r.host)){var c=r.host.split(":");if(c.length===2){var f=RP(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:OP.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},p=e.create(d);return p.httpClientParams=t,p.cloneWithNewParams=function(m){return bm(e,xn(xn({},Ne(t)),m))},r.onBeforeRequest&&p.interceptors.request.use(r.onBeforeRequest),typeof r.accessToken=="function"&&WP(p,r.accessToken),r.throttle&&xP(p,r.throttle),zP(p,r.retryLimit),r.onError&&p.interceptors.response.use(function(m){return m},r.onError),p}function hn(e){var t=e.query,n={};return delete t.resolveLinks,n.params=Ne(t),n}function _m(e){var t=Object.getOwnPropertyNames(e),n=MP(t),r;try{for(n.s();!(r=n.n()).done;){var i=r.value,a=e[i];a&&Au(a)==="object"&&_m(a)}}catch(o){n.e(o)}finally{n.f()}return Object.freeze(e)}function nt(e){return _m(e.sys||{}),e}function gf(){var e=UP();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 GP(){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 VP(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{BP()?(a=gf(),i.push("platform ReactNative")):jP()?(a=GP(),i.push("platform node.js/".concat(FP()))):(a=gf(),i.push("platform browser"))}catch{a=null}return a&&i.push("os ".concat(a)),"".concat(i.filter(function(o){return o!==""}).join("; "),";")}function Ve(e){return Object.defineProperty(e,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return Ne(this)}})}function lt(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(!mi(n)||!mi(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:{}};mi(t)&&(o.request={url:t.url,headers:t.headers,method:t.method,payloadData:t.data}),a&&mi(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 YP(e){return nt(Ve(e))}const XP=Object.freeze(Object.defineProperty({__proto__:null,wrapSpace:YP},Symbol.toStringTag,{value:"Module"}));var Lu={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)}}})(Lu,Lu.exports);var QP=Lu.exports;const JP=cr(QP);function wm(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 JP(this,t,n,(r,i)=>({sys:{type:"Link",linkType:"Entry",id:i.sys.id,circular:!0}}))}})}var ZP=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},e5=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 Rr(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 Qr={},t5=function(t){return t&&t.sys&&t.sys.type==="Link"},n5=function(t){return t&&t.sys&&t.sys.type==="ResourceLink"},r5=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]},bf=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)},i5=function(t){var n=/.*:spaces\/([^/]+)(?:\/environments\/([^/]+))?\/entries\/([^/]+)$/;if(n.test(t)){var r=t.match(n),i=e5(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}}},a5=function(t,n){var r=n.sys,i=r.type,a=r.linkType;if(i==="ResourceLink"){var o=n.sys.urn,u=i5(o),s=u.spaceId,c=u.environmentId,f=u.entryId,l=a.split(":")[1];return bf(t,{linkType:l,entryId:f,spaceId:s,environmentId:c})||Qr}var d=n.sys.id;return bf(t,{linkType:a,entryId:d})||Qr},o5=function(t){if(Array.isArray(t))return t.filter(function(r){return r!==Qr});for(var n in t)t[n]===Qr&&delete t[n];return t},u5=function e(t,n,r,i){if(n(t))return r(t);if(t&&(typeof t>"u"?"undefined":ZP(t))==="object"){for(var a in t)t.hasOwnProperty(a)&&(t[a]=e(t[a],n,r,i));i&&(t=o5(t))}return t},s5=function(t,n,r){var i=a5(t,n);return i===Qr?r?i:n:i},l5=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},{})},Em=function(t,n){if(n=n||{},!t.items)return[];var r=Ne(t),i=Object.keys(r.includes||{}).reduce(function(u,s){return[].concat(Rr(u),Rr(t.includes[s]))},[]),a=[].concat(Rr(r.items),Rr(i)).filter(function(u){return!!u.sys}),o=new Map(a.reduce(function(u,s){var c=r5(s.sys).map(function(f){return[f,s]});return u.push.apply(u,Rr(c)),u},[]));return a.forEach(function(u){var s=l5(u,n.itemEntryPoints);Object.assign(u,u5(s,function(c){return t5(c)||n5(c)},function(c){return s5(o,c,n.removeUnresolved)},n.removeUnresolved))}),r.items};function c5(e){return nt(Ve(Ne(e)))}function f5(e,t){let{resolveLinks:n,removeUnresolved:r}=t;const i=wm(Ve(Ne(e)));return n&&(i.items=Em(i,{removeUnresolved:r,itemEntryPoints:["fields"]})),nt(i)}const d5=Object.freeze(Object.defineProperty({__proto__:null,wrapEntry:c5,wrapEntryCollection:f5},Symbol.toStringTag,{value:"Module"}));function p5(e){return nt(Ve(Ne(e)))}function h5(e){return nt(Ve(Ne(e)))}const m5=Object.freeze(Object.defineProperty({__proto__:null,wrapAsset:p5,wrapAssetCollection:h5},Symbol.toStringTag,{value:"Module"}));function v5(e){return nt(Ve(Ne(e)))}const y5=Object.freeze(Object.defineProperty({__proto__:null,wrapAssetKey:v5},Symbol.toStringTag,{value:"Module"}));function g5(e){return nt(Ve(Ne(e)))}function b5(e){return nt(Ve(Ne(e)))}const _5=Object.freeze(Object.defineProperty({__proto__:null,wrapContentType:g5,wrapContentTypeCollection:b5},Symbol.toStringTag,{value:"Module"}));function w5(e){return nt(Ve(Ne(e)))}function E5(e){return nt(Ve(Ne(e)))}const S5=Object.freeze(Object.defineProperty({__proto__:null,wrapLocale:w5,wrapLocaleCollection:E5},Symbol.toStringTag,{value:"Module"}));function O5(e){return nt(Ve(Ne(e)))}function P5(e){return nt(Ve(Ne(e)))}const A5=Object.freeze(Object.defineProperty({__proto__:null,wrapTag:O5,wrapTagCollection:P5},Symbol.toStringTag,{value:"Module"})),dn={space:XP,entry:d5,asset:m5,assetKey:y5,contentType:_5,locale:S5,tag:A5};function _f(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 wf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_f(Object(n),!0).forEach(function(r){T5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_f(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function T5(e,t,n){return t=C5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C5(e){var t=I5(e,"string");return typeof t=="symbol"?t:String(t)}function I5(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 L5(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}=wf(wf({},r),n),s=await Sm(e,[],t,{paginate:o});i&&(s.items=Em(s,{removeUnresolved:a,itemEntryPoints:["fields"]}));const c=R5(s.items);return s.nextSyncToken&&(c.nextSyncToken=s.nextSyncToken),s.nextPageToken&&(c.nextPageToken=s.nextPageToken),nt(wm(Ve(c)))}function R5(e){const t=n=>(r,i)=>(i.sys.type===n&&r.push(Ve(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 Sm(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",hn({query:n}))).data||{};return t=t.concat(o.items||[]),o.nextPageUrl?i?(delete n.initial,n.sync_token=Ro(o.nextPageUrl),Sm(e,t,n,{paginate:i})):{items:t,nextPageToken:Ro(o.nextPageUrl)}:o.nextSyncUrl?{items:t,nextSyncToken:Ro(o.nextSyncUrl)}:{items:[]}}function Ro(e){const t=e.split("?");return t.length>0?t[1].replace("sync_token=",""):""}function Ef(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 Sf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ef(Object(n),!0).forEach(function(r){k5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ef(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function k5(e,t,n){return t=N5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function N5(e){var t=M5(e,"string");return typeof t=="symbol"?t:String(t)}function M5(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 Ei(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"),Sf(Sf({},e),{},{select:[...n].join(",")}))}class ko extends Error{constructor(t,n){super(`Invalid "${t}" provided, `+n),this.name="ValidationError"}}function D5(e,t,n){if(n=n||{},typeof t!="number")throw new ko(e,`only numeric values are allowed for timestamps, provided type was "${typeof t}"`);if(n.maximum&&t>n.maximum)throw new ko(e,`value (${t}) cannot be further in the future than expected maximum (${n.maximum})`);if(n.now&&t<n.now)throw new ko(e,`value (${t}) cannot be in the past, current time was ${n.now}`)}function Of(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 Pf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Of(Object(n),!0).forEach(function(r){$5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Of(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function $5(e,t,n){return t=j5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function j5(e){var t=B5(e,"string");return typeof t=="symbol"?t:String(t)}function B5(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 F5=48*60*60;function U5(e){let{http:t,getGlobalOptions:n}=e;const{wrapSpace:r}=dn.space,{wrapContentType:i,wrapContentTypeCollection:a}=dn.contentType,{wrapEntry:o,wrapEntryCollection:u}=dn.entry,{wrapAsset:s,wrapAssetCollection:c}=dn.asset,{wrapTag:f,wrapTagCollection:l}=dn.tag,{wrapAssetKey:d}=dn.assetKey,{wrapLocaleCollection:p}=dn.locale,m=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 h(){j(t);try{const I=await t.get("/");return r(I.data)}catch(I){lt(I)}}async function _(I){$(t);try{const C=await t.get(`content_types/${I}`);return i(C.data)}catch(C){lt(C)}}async function b(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};$(t);try{const C=await t.get("content_types",hn({query:I}));return a(C.data)}catch(C){lt(C)}}async function y(I){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!I)throw m(I);try{const R=await this.getEntries(Pf({"sys.id":I},C));if(R.items.length>0)return o(R.items[0]);throw m(I)}catch(R){lt(R)}}async function v(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};$(t);const{resolveLinks:C,removeUnresolved:R}=n(I);I=Ei(I);try{const D=await t.get("entries",hn({query:I}));return u(D.data,{resolveLinks:C,removeUnresolved:R})}catch(D){lt(D)}}async function g(I){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};$(t),C=Ei(C);try{const R=await t.get(`assets/${I}`,hn({query:C}));return s(R.data)}catch(R){lt(R)}}async function E(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};$(t),I=Ei(I);try{const C=await t.get("assets",hn({query:I}));return c(C.data)}catch(C){lt(C)}}async function O(I){$(t);try{const C=await t.get(`tags/${I}`);return f(C.data)}catch(C){lt(C)}}async function S(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};$(t),I=Ei(I);try{const C=await t.get("tags",hn({query:I}));return l(C.data)}catch(C){lt(C)}}async function w(I){$(t);try{const C=Math.floor(Date.now()/1e3),R=C+F5;D5("expiresAt",I,{maximum:R,now:C});const D={expiresAt:I},F=await t.post("asset_keys",D);return d(F.data)}catch(C){lt(C)}}async function P(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};$(t);try{const C=await t.get("locales",hn({query:I}));return p(C.data)}catch(C){lt(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:D}=n(I);return $(t),L5(t,I,Pf({resolveLinks:R,removeUnresolved:D},C))}function L(I){const{resolveLinks:C,removeUnresolved:R}=n({});return u(I,{resolveLinks:C,removeUnresolved:R})}function $(I){I.defaults.baseURL=n().environmentBaseUrl}function j(I){I.defaults.baseURL=n().spaceBaseUrl}return{getSpace:h,getContentType:_,getContentTypes:b,getEntry:y,getEntries:v,getAsset:g,getAssets:E,getTag:O,getTags:S,createAssetKey:w,getLocales:P,parseEntries:L,sync:A}}function x5(e){return function(n){return Object.assign({},e,n)}}function Af(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 Si(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Af(Object(n),!0).forEach(function(r){H5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Af(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function H5(e,t,n){return t=K5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function K5(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 BI(e){if(!e.accessToken)throw new TypeError("Expected parameter accessToken");if(!e.space)throw new TypeError("Expected parameter space");const n=Si(Si({},{resolveLinks:!0,removeUnresolved:!1,defaultHostname:"cdn.contentful.com",environment:"master"}),e),r=VP("contentful.js/9.3.6",n.application,n.integration);n.headers=Si(Si({},n.headers),{},{"Content-Type":"application/vnd.contentful.delivery.v1+json","X-Contentful-User-Agent":r});const i=bm(qS,n),a=x5({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,U5({http:i,getGlobalOptions:a})}var W5={};const Om=rd(er);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(I){return I&&typeof I=="object"&&"default"in I?I.default:I}var n=Om,r=t(n),i=function(){return i=Object.assign||function(C){for(var R,D=1,F=arguments.length;D<F;D++){R=arguments[D];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(D){D.BOLD="bold",D.ITALIC="italic",D.UNDERLINE="underline",D.CODE="code",D.SUPERSCRIPT="superscript",D.SUBSCRIPT="subscript"})(R||(R={})),C.default=R});o(f);var l=u(function(I,C){var R=a&&a.__spreadArray||function(q,X,x){if(x||arguments.length===2)for(var U=0,W=X.length,H;U<W;U++)(H||!(U in X))&&(H||(H=Array.prototype.slice.call(X,0,U)),H[U]=X[U]);return q.concat(H||Array.prototype.slice.call(X))},D=a&&a.__importDefault||function(q){return q&&q.__esModule?q:{default:q}},F;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=D(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=(F={},F[s.BLOCKS.OL_LIST]=[s.BLOCKS.LIST_ITEM],F[s.BLOCKS.UL_LIST]=[s.BLOCKS.LIST_ITEM],F[s.BLOCKS.LIST_ITEM]=C.LIST_ITEM_BLOCKS,F[s.BLOCKS.QUOTE]=[s.BLOCKS.PARAGRAPH],F[s.BLOCKS.TABLE]=[s.BLOCKS.TABLE_ROW],F[s.BLOCKS.TABLE_ROW]=[s.BLOCKS.TABLE_CELL,s.BLOCKS.TABLE_HEADER_CELL],F[s.BLOCKS.TABLE_CELL]=[s.BLOCKS.PARAGRAPH],F[s.BLOCKS.TABLE_HEADER_CELL]=[s.BLOCKS.PARAGRAPH],F),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 p=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0})});o(p);var m=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(m);var h=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0}),C.isText=C.isBlock=C.isInline=void 0;function R(q,X){for(var x=0,U=Object.keys(q);x<U.length;x++){var W=U[x];if(X===q[W])return!0}return!1}function D(q){return R(c.INLINES,q.nodeType)}C.isInline=D;function F(q){return R(s.BLOCKS,q.nodeType)}C.isBlock=F;function Y(q){return q.nodeType==="text"}C.isText=Y});o(h),h.isText,h.isBlock,h.isInline;var _=u(function(I,C){var R=a&&a.__createBinding||(Object.create?function(x,U,W,H){H===void 0&&(H=W);var re=Object.getOwnPropertyDescriptor(U,W);(!re||("get"in re?!U.__esModule:re.writable||re.configurable))&&(re={enumerable:!0,get:function(){return U[W]}}),Object.defineProperty(x,H,re)}:function(x,U,W,H){H===void 0&&(H=W),x[H]=U[W]}),D=a&&a.__setModuleDefault||(Object.create?function(x,U){Object.defineProperty(x,"default",{enumerable:!0,value:U})}:function(x,U){x.default=U}),F=a&&a.__exportStar||function(x,U){for(var W in x)W!=="default"&&!Object.prototype.hasOwnProperty.call(U,W)&&R(U,x,W)},Y=a&&a.__importStar||function(x){if(x&&x.__esModule)return x;var U={};if(x!=null)for(var W in x)W!=="default"&&Object.prototype.hasOwnProperty.call(x,W)&&R(U,x,W);return D(U,x),U},q=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 q(f).default}}),F(l,C),F(d,C),F(p,C),Object.defineProperty(C,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return q(m).default}});var X=Y(h);C.helpers=X});o(_);var b=_.helpers;_.EMPTY_DOCUMENT;var y=_.MARKS,v=_.INLINES,g=_.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,D){return E(S(R,C),D)})}function S(I,C){var R=C.renderNode,D=C.renderMark,F=C.renderText,Y=C.preserveWhitespace;if(b.isText(I)){var q=F?F(I.value):I.value;if(Y){q=q.replace(/ {2,}/g,function(W){return"&nbsp;".repeat(W.length)});var X=q.split(`
18
+ `),x=[];X.forEach(function(W,H){x.push(W),H!==X.length-1&&x.push(r.createElement("br",null))}),q=x}return I.marks.reduce(function(W,H){return D[H.type]?D[H.type](W):W},q)}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[g.DOCUMENT]=function(I,C){return C},w[g.PARAGRAPH]=function(I,C){return r.createElement("p",null,C)},w[g.HEADING_1]=function(I,C){return r.createElement("h1",null,C)},w[g.HEADING_2]=function(I,C){return r.createElement("h2",null,C)},w[g.HEADING_3]=function(I,C){return r.createElement("h3",null,C)},w[g.HEADING_4]=function(I,C){return r.createElement("h4",null,C)},w[g.HEADING_5]=function(I,C){return r.createElement("h5",null,C)},w[g.HEADING_6]=function(I,C){return r.createElement("h6",null,C)},w[g.EMBEDDED_ENTRY]=function(I,C){return r.createElement("div",null,C)},w[g.EMBEDDED_RESOURCE]=function(I,C){return r.createElement("div",null,C)},w[g.UL_LIST]=function(I,C){return r.createElement("ul",null,C)},w[g.OL_LIST]=function(I,C){return r.createElement("ol",null,C)},w[g.LIST_ITEM]=function(I,C){return r.createElement("li",null,C)},w[g.QUOTE]=function(I,C){return r.createElement("blockquote",null,C)},w[g.HR]=function(){return r.createElement("hr",null)},w[g.TABLE]=function(I,C){return r.createElement("table",null,r.createElement("tbody",null,C))},w[g.TABLE_ROW]=function(I,C){return r.createElement("tr",null,C)},w[g.TABLE_HEADER_CELL]=function(I,C){return r.createElement("th",null,C)},w[g.TABLE_CELL]=function(I,C){return r.createElement("td",null,C)},w[v.ASSET_HYPERLINK]=function(I){return $(v.ASSET_HYPERLINK,I)},w[v.ENTRY_HYPERLINK]=function(I){return $(v.ENTRY_HYPERLINK,I)},w[v.EMBEDDED_ENTRY]=function(I){return $(v.EMBEDDED_ENTRY,I)},w[v.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 $(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})(W5);var q5={},fi={};(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={}))})(fi);var xa={};(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={}))})(xa);var Ha={};Object.defineProperty(Ha,"__esModule",{value:!0});var Ru;(function(e){e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript"})(Ru||(Ru={}));Ha.default=Ru;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=fi,a=xa,o=n(Ha);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 Am={};Object.defineProperty(Am,"__esModule",{value:!0});var Tm={};Object.defineProperty(Tm,"__esModule",{value:!0});var el={};Object.defineProperty(el,"__esModule",{value:!0});var Tf=fi,G5={nodeType:Tf.BLOCKS.DOCUMENT,data:{},content:[{nodeType:Tf.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};el.default=G5;var nn={};Object.defineProperty(nn,"__esModule",{value:!0});nn.isText=nn.isBlock=nn.isInline=void 0;var V5=fi,Y5=xa;function Cm(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 X5(e){return Cm(Y5.INLINES,e.nodeType)}nn.isInline=X5;function Q5(e){return Cm(V5.BLOCKS,e.nodeType)}nn.isBlock=Q5;function J5(e){return e.nodeType==="text"}nn.isText=J5;(function(e){var t=J&&J.__createBinding||(Object.create?function(l,d,p,m){m===void 0&&(m=p);var h=Object.getOwnPropertyDescriptor(d,p);(!h||("get"in h?!d.__esModule:h.writable||h.configurable))&&(h={enumerable:!0,get:function(){return d[p]}}),Object.defineProperty(l,m,h)}:function(l,d,p,m){m===void 0&&(m=p),l[m]=d[p]}),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 p in l)p!=="default"&&!Object.prototype.hasOwnProperty.call(d,p)&&t(d,l,p)},i=J&&J.__importStar||function(l){if(l&&l.__esModule)return l;var d={};if(l!=null)for(var p in l)p!=="default"&&Object.prototype.hasOwnProperty.call(l,p)&&t(d,l,p);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=fi;Object.defineProperty(e,"BLOCKS",{enumerable:!0,get:function(){return o.BLOCKS}});var u=xa;Object.defineProperty(e,"INLINES",{enumerable:!0,get:function(){return u.INLINES}});var s=Ha;Object.defineProperty(e,"MARKS",{enumerable:!0,get:function(){return a(s).default}}),r(Pm,e),r(Am,e),r(Tm,e);var c=el;Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return a(c).default}});var f=i(nn);e.helpers=f})(q5);var Z5={};(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})(Z5);var eA={},Im={};(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})(Im);(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Im;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})(eA);var tA={};(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})(tA);var nA={};(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})(nA);var rA={},Lm={};(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})(Lm);(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Lm;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})(rA);function Cf(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 z(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Cf(Object(n),!0).forEach(function(r){Me(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function va(e){"@babel/helpers - typeof";return va=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},va(e)}function iA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function If(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 aA(e,t,n){return t&&If(e.prototype,t),n&&If(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Me(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 uA(e)||lA(e,t)||Rm(e,t)||fA()}function di(e){return oA(e)||sA(e)||Rm(e)||cA()}function oA(e){if(Array.isArray(e))return ku(e)}function uA(e){if(Array.isArray(e))return e}function sA(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function lA(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 Rm(e,t){if(e){if(typeof e=="string")return ku(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 ku(e,t)}}function ku(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 cA(){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 fA(){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 Lf=function(){},nl={},km={},Nm=null,Mm={mark:Lf,measure:Lf};try{typeof window<"u"&&(nl=window),typeof document<"u"&&(km=document),typeof MutationObserver<"u"&&(Nm=MutationObserver),typeof performance<"u"&&(Mm=performance)}catch{}var dA=nl.navigator||{},Rf=dA.userAgent,kf=Rf===void 0?"":Rf,un=nl,ye=km,Nf=Nm,Oi=Mm;un.document;var Ht=!!ye.documentElement&&!!ye.head&&typeof ye.addEventListener=="function"&&typeof ye.createElement=="function",Dm=~kf.indexOf("MSIE")||~kf.indexOf("Trident/"),Pi,Ai,Ti,Ci,Ii,Bt="___FONT_AWESOME___",Nu=16,$m="fa",jm="svg-inline--fa",Cn="data-fa-i2svg",Mu="data-fa-pseudo-element",pA="data-fa-pseudo-element-pending",rl="data-prefix",il="data-icon",Mf="fontawesome-i2svg",hA="async",mA=["HTML","HEAD","STYLE","SCRIPT"],Bm=function(){try{return!0}catch{return!1}}(),ve="classic",ge="sharp",al=[ve,ge];function pi(e){return new Proxy(e,{get:function(n,r){return r in n?n[r]:n[ve]}})}var Jr=pi((Pi={},Me(Pi,ve,{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"}),Me(Pi,ge,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light"}),Pi)),Zr=pi((Ai={},Me(Ai,ve,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),Me(Ai,ge,{solid:"fass",regular:"fasr",light:"fasl"}),Ai)),ei=pi((Ti={},Me(Ti,ve,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),Me(Ti,ge,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light"}),Ti)),vA=pi((Ci={},Me(Ci,ve,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),Me(Ci,ge,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl"}),Ci)),yA=/fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/,Fm="fa-layers-text",gA=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,bA=pi((Ii={},Me(Ii,ve,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),Me(Ii,ge,{900:"fass",400:"fasr",300:"fasl"}),Ii)),Um=[1,2,3,4,5,6,7,8,9,10],_A=Um.concat([11,12,13,14,15,16,17,18,19,20]),wA=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],gn={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},ti=new Set;Object.keys(Zr[ve]).map(ti.add.bind(ti));Object.keys(Zr[ge]).map(ti.add.bind(ti));var EA=[].concat(al,di(ti),["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",gn.GROUP,gn.SWAP_OPACITY,gn.PRIMARY,gn.SECONDARY]).concat(Um.map(function(e){return"".concat(e,"x")})).concat(_A.map(function(e){return"w-".concat(e)})),xr=un.FontAwesomeConfig||{};function SA(e){var t=ye.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function OA(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(ye&&typeof ye.querySelector=="function"){var PA=[["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"]];PA.forEach(function(e){var t=tl(e,2),n=t[0],r=t[1],i=OA(SA(n));i!=null&&(xr[r]=i)})}var xm={styleDefault:"solid",familyDefault:"classic",cssPrefix:$m,replacementClass:jm,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};xr.familyPrefix&&(xr.cssPrefix=xr.familyPrefix);var sr=z(z({},xm),xr);sr.autoReplaceSvg||(sr.observeMutations=!1);var V={};Object.keys(xm).forEach(function(e){Object.defineProperty(V,e,{enumerable:!0,set:function(n){sr[e]=n,Hr.forEach(function(r){return r(V)})},get:function(){return sr[e]}})});Object.defineProperty(V,"familyPrefix",{enumerable:!0,set:function(t){sr.cssPrefix=t,Hr.forEach(function(n){return n(V)})},get:function(){return sr.cssPrefix}});un.FontAwesomeConfig=V;var Hr=[];function AA(e){return Hr.push(e),function(){Hr.splice(Hr.indexOf(e),1)}}var Wt=Nu,St={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function TA(e){if(!(!e||!Ht)){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 CA="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function ni(){for(var e=12,t="";e-- >0;)t+=CA[Math.random()*62|0];return t}function Sr(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function ol(e){return e.classList?Sr(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function Hm(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function IA(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(Hm(e[n]),'" ')},"").trim()}function Ka(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function ul(e){return e.size!==St.size||e.x!==St.x||e.y!==St.y||e.rotate!==St.rotate||e.flipX||e.flipY}function LA(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 RA(e){var t=e.transform,n=e.width,r=n===void 0?Nu:n,i=e.height,a=i===void 0?Nu:i,o=e.startCentered,u=o===void 0?!1:o,s="";return u&&Dm?s+="translate(".concat(t.x/Wt-r/2,"em, ").concat(t.y/Wt-a/2,"em) "):u?s+="translate(calc(-50% + ".concat(t.x/Wt,"em), calc(-50% + ").concat(t.y/Wt,"em)) "):s+="translate(".concat(t.x/Wt,"em, ").concat(t.y/Wt,"em) "),s+="scale(".concat(t.size/Wt*(t.flipX?-1:1),", ").concat(t.size/Wt*(t.flipY?-1:1),") "),s+="rotate(".concat(t.rotate,"deg) "),s}var kA=`: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 Hm(){var e=Dm,t=$m,n=V.cssPrefix,r=V.replacementClass,i=IA;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 Mf=!1;function No(){V.autoAddCss&&!Mf&&(OA(Hm()),Mf=!0)}var LA={mixout:function(){return{dom:{css:Hm,insertCss:No}}},hooks:function(){return{beforeDOMElementCreation:function(){No()},beforeI2svg:function(){No()}}}},Ft=un||{};Ft[Bt]||(Ft[Bt]={});Ft[Bt].styles||(Ft[Bt].styles={});Ft[Bt].hooks||(Ft[Bt].hooks={});Ft[Bt].shims||(Ft[Bt].shims=[]);var dt=Ft[Bt],Km=[],RA=function e(){ye.removeEventListener("DOMContentLoaded",e),ya=1,Km.map(function(t){return t()})},ya=!1;Ht&&(ya=(ye.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(ye.readyState),ya||ye.addEventListener("DOMContentLoaded",RA));function kA(e){Ht&&(ya?setTimeout(e,0):Km.push(e))}function hi(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"?xm(e):"<".concat(t," ").concat(AA(r),">").concat(a.map(hi).join(""),"</").concat(t,">")}function Df(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var NA=function(t,n){return function(r,i,a,o){return t.call(n,r,i,a,o)}},Mo=function(t,n,r,i){var a=Object.keys(t),o=a.length,u=i!==void 0?NA(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 MA(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 Du(e){var t=MA(e);return t.length===1?t[0].toString(16):null}function DA(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 $f(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 $u(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,i=r===void 0?!1:r,a=$f(t);typeof dt.hooks.addPack=="function"&&!i?dt.hooks.addPack(e,$f(t)):dt.styles[e]=z(z({},dt.styles[e]||{}),a),e==="fas"&&$u("fa",t)}var Li,Ri,ki,Hn=dt.styles,$A=dt.shims,jA=(Li={},Me(Li,ve,Object.values(ei[ve])),Me(Li,ge,Object.values(ei[ge])),Li),sl=null,zm={},Wm={},qm={},Gm={},Vm={},BA=(Ri={},Me(Ri,ve,Object.keys(Jr[ve])),Me(Ri,ge,Object.keys(Jr[ge])),Ri);function FA(e){return~bA.indexOf(e)}function UA(e,t){var n=t.split("-"),r=n[0],i=n.slice(1).join("-");return r===e&&i!==""&&!FA(i)?i:null}var Ym=function(){var t=function(a){return Mo(Hn,function(o,u,s){return o[s]=Mo(u,a,{}),o},{})};zm=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}),Wm=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}),Vm=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 Hn||V.autoFetchSvg,r=Mo($A,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:{}});qm=r.names,Gm=r.unicodes,sl=za(V.styleDefault,{family:V.familyDefault})};SA(function(e){sl=za(e.styleDefault,{family:V.familyDefault})});Ym();function ll(e,t){return(zm[e]||{})[t]}function xA(e,t){return(Wm[e]||{})[t]}function bn(e,t){return(Vm[e]||{})[t]}function Xm(e){return qm[e]||{prefix:null,iconName:null}}function HA(e){var t=Gm[e],n=ll("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function sn(){return sl}var cl=function(){return{prefix:null,iconName:null,rest:[]}};function za(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.family,r=n===void 0?ve:n,i=Jr[r][e],a=Zr[r][e]||Zr[r][i],o=e in dt.styles?e:null;return a||o||null}var jf=(ki={},Me(ki,ve,Object.keys(ei[ve])),Me(ki,ge,Object.keys(ei[ge])),ki);function Wa(e){var t,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.skipLookups,i=r===void 0?!1:r,a=(t={},Me(t,ve,"".concat(V.cssPrefix,"-").concat(ve)),Me(t,ge,"".concat(V.cssPrefix,"-").concat(ge)),t),o=null,u=ve;(e.includes(a[ve])||e.some(function(c){return jf[ve].includes(c)}))&&(u=ve),(e.includes(a[ge])||e.some(function(c){return jf[ge].includes(c)}))&&(u=ge);var s=e.reduce(function(c,f){var l=UA(V.cssPrefix,f);if(Hn[f]?(f=jA[u].includes(f)?pA[u][f]:f,o=f,c.prefix=f):BA[u].indexOf(f)>-1?(o=f,c.prefix=za(f,{family:u})):l?c.iconName=l:f!==V.replacementClass&&f!==a[ve]&&f!==a[ge]&&c.rest.push(f),!i&&c.prefix&&c.iconName){var d=o==="fa"?Xm(c.iconName):{},p=bn(c.prefix,c.iconName);d.prefix&&(o=null),c.iconName=d.iconName||p||c.iconName,c.prefix=d.prefix||c.prefix,c.prefix==="far"&&!Hn.far&&Hn.fas&&!V.autoFetchSvg&&(c.prefix="fas")}return c},cl());return(e.includes("fa-brands")||e.includes("fab"))&&(s.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(s.prefix="fad"),!s.prefix&&u===ge&&(Hn.fass||V.autoFetchSvg)&&(s.prefix="fass",s.iconName=bn(s.prefix,s.iconName)||s.iconName),(s.prefix==="fa"||o==="fa")&&(s.prefix=sn()||"fas"),s}var KA=function(){function e(){tA(this,e),this.definitions={}}return nA(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]=z(z({},n.definitions[u]||{}),o[u]),$u(u,o[u]);var s=ei[ve][u];s&&$u(s,o[u]),Ym()})}},{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}(),Bf=[],Kn={},Yn={},zA=Object.keys(Yn);function WA(e,t){var n=t.mixoutsTo;return Bf=e,Kn={},Object.keys(Yn).forEach(function(r){zA.indexOf(r)===-1&&delete Yn[r]}),Bf.forEach(function(r){var i=r.mixout?r.mixout():{};if(Object.keys(i).forEach(function(o){typeof i[o]=="function"&&(n[o]=i[o]),va(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){Kn[o]||(Kn[o]=[]),Kn[o].push(a[o])})}r.provides&&r.provides(Yn)}),n}function ju(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=Kn[e]||[];return a.forEach(function(o){t=o.apply(null,[t].concat(r))}),t}function In(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=Kn[e]||[];i.forEach(function(a){a.apply(null,n)})}function Ut(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Yn[e]?Yn[e].apply(null,t):void 0}function Bu(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,n=e.prefix||sn();if(t)return t=bn(n,t)||t,Df(Qm.definitions,n,t)||Df(dt.styles,n,t)}var Qm=new KA,qA=function(){V.autoReplaceSvg=!1,V.observeMutations=!1,In("noAuto")},GA={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Ht?(In("beforeI2svg",t),Ut("pseudoElements2svg",t),Ut("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,kA(function(){YA({autoReplaceSvgRoot:n}),In("watch",t)})}},VA={icon:function(t){if(t===null)return null;if(va(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:bn(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=za(t[0]);return{prefix:r,iconName:bn(r,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(V.cssPrefix,"-"))>-1||t.match(hA))){var i=Wa(t.split(" "),{skipLookups:!0});return{prefix:i.prefix||sn(),iconName:bn(i.prefix,i.iconName)||i.iconName}}if(typeof t=="string"){var a=sn();return{prefix:a,iconName:bn(a,t)||t}}}},rt={noAuto:qA,config:V,dom:GA,parse:VA,library:Qm,findIconDefinition:Bu,toHtml:hi},YA=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,r=n===void 0?ye:n;(Object.keys(dt.styles).length>0||V.autoFetchSvg)&&Ht&&V.autoReplaceSvg&&rt.dom.i2svg({node:r})};function qa(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(r){return hi(r)})}}),Object.defineProperty(e,"node",{get:function(){if(Ht){var r=ye.createElement("div");return r.innerHTML=e.html,r.children}}}),e}function XA(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,a=e.styles,o=e.transform;if(ul(o)&&n.found&&!r.found){var u=n.width,s=n.height,c={x:u/s/2,y:.5};i.style=Ka(z(z({},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 QA(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:z(z({},i),{},{id:o}),children:r}]}]}function fl(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,p=d===void 0?!1:d,m=r.found?r:n,h=m.width,_=m.height,b=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(" "),v={children:[],attributes:z(z({},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(h," ").concat(_)})},g=b&&!~l.classes.indexOf("fa-fw")?{width:"".concat(h/_*16*.0625,"em")}:{};p&&(v.attributes[Cn]=""),s&&(v.children.push({tag:"title",attributes:{id:v.attributes["aria-labelledby"]||"title-".concat(f||ni())},children:[s]}),delete v.attributes.title);var E=z(z({},v),{},{prefix:i,iconName:a,main:n,mask:r,maskId:c,transform:o,symbol:u,styles:z(z({},g),l.styles)}),O=r.found&&n.found?Ut("generateAbstractMask",E)||{children:[],attributes:{}}:Ut("generateAbstractIcon",E)||{children:[],attributes:{}},S=O.children,w=O.attributes;return E.children=S,E.attributes=w,u?QA(E):XA(E)}function Ff(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=z(z(z({},o.attributes),a?{title:a}:{}),{},{class:o.classes.join(" ")});s&&(c[Cn]="");var f=z({},o.styles);ul(i)&&(f.transform=CA({transform:i,startCentered:!0,width:n,height:r}),f["-webkit-transform"]=f.transform);var l=Ka(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 JA(e){var t=e.content,n=e.title,r=e.extra,i=z(z(z({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),a=Ka(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 Do=dt.styles;function Fu(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(gn.GROUP)},children:[{tag:"path",attributes:{class:"".concat(V.cssPrefix,"-").concat(gn.SECONDARY),fill:"currentColor",d:a[0]}},{tag:"path",attributes:{class:"".concat(V.cssPrefix,"-").concat(gn.PRIMARY),fill:"currentColor",d:a[1]}}]}:o={tag:"path",attributes:{fill:"currentColor",d:a}},{found:!0,width:t,height:n,icon:o}}var ZA={found:!1,width:512,height:512};function eT(e,t){!jm&&!V.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Uu(e,t){var n=t;return t==="fa"&&V.styleDefault!==null&&(t=sn()),new Promise(function(r,i){if(Ut("missingIconAbstract"),n==="fa"){var a=Xm(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&Do[t]&&Do[t][e]){var o=Do[t][e];return r(Fu(o))}eT(e,t),r(z(z({},ZA),{},{icon:V.showMissingIcons&&e?Ut("missingIconAbstract")||{}:{}}))})}var Uf=function(){},xu=V.measurePerformance&&Oi&&Oi.mark&&Oi.measure?Oi:{mark:Uf,measure:Uf},Mr='FA "6.4.2"',tT=function(t){return xu.mark("".concat(Mr," ").concat(t," begins")),function(){return Jm(t)}},Jm=function(t){xu.mark("".concat(Mr," ").concat(t," ends")),xu.measure("".concat(Mr," ").concat(t),"".concat(Mr," ").concat(t," begins"),"".concat(Mr," ").concat(t," ends"))},dl={begin:tT,end:Jm},zi=function(){};function xf(e){var t=e.getAttribute?e.getAttribute(Cn):null;return typeof t=="string"}function nT(e){var t=e.getAttribute?e.getAttribute(rl):null,n=e.getAttribute?e.getAttribute(il):null;return t&&n}function rT(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(V.replacementClass)}function iT(){if(V.autoReplaceSvg===!0)return Wi.replace;var e=Wi[V.autoReplaceSvg];return e||Wi.replace}function aT(e){return ye.createElementNS("http://www.w3.org/2000/svg",e)}function oT(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"?aT:oT: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 uT(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var Wi={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(i){n.parentNode.insertBefore(Zm(i),n)}),n.getAttribute(Cn)===null&&V.keepOriginalSource){var r=ye.createComment(uT(n));n.parentNode.replaceChild(r,n)}else n.remove()},nest:function(t){var n=t[0],r=t[1];if(~ol(n).indexOf(V.replacementClass))return Wi.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 hi(u)}).join(`
777
- `);n.setAttribute(Cn,""),n.innerHTML=o}};function Hf(e){e()}function ev(e,t){var n=typeof t=="function"?t:zi;if(e.length===0)n();else{var r=Hf;V.mutateApproach===fA&&(r=un.requestAnimationFrame||Hf),r(function(){var i=iT(),a=dl.begin("mutate");e.map(i),a(),n()})}}var pl=!1;function tv(){pl=!0}function Hu(){pl=!1}var ga=null;function Kf(e){if(kf&&V.observeMutations){var t=e.treeCallback,n=t===void 0?zi:t,r=e.nodeCallback,i=r===void 0?zi:r,a=e.pseudoElementsCallback,o=a===void 0?zi:a,u=e.observeMutationsRoot,s=u===void 0?ye:u;ga=new kf(function(c){if(!pl){var f=sn();Sr(c).forEach(function(l){if(l.type==="childList"&&l.addedNodes.length>0&&!xf(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"&&xf(l.target)&&~gA.indexOf(l.attributeName))if(l.attributeName==="class"&&nT(l.target)){var d=Wa(ol(l.target)),p=d.prefix,m=d.iconName;l.target.setAttribute(rl,p||f),m&&l.target.setAttribute(il,m)}else rT(l.target)&&i(l.target)})}}),Ht&&ga.observe(s,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function sT(){ga&&ga.disconnect()}function lT(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 cT(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"",i=Wa(ol(e));return i.prefix||(i.prefix=sn()),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&r.length>0&&(i.iconName=xA(i.prefix,e.innerText)||ll(i.prefix,Du(e.innerText))),!i.iconName&&V.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function fT(e){var t=Sr(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||ni()):(t["aria-hidden"]="true",t.focusable="false")),t}function dT(){return{iconName:null,title:null,titleId:null,prefix:null,transform:St,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function zf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=cT(e),r=n.iconName,i=n.prefix,a=n.rest,o=fT(e),u=ju("parseNodeAttributes",{},e),s=t.styleParser?lT(e):[];return z({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:St,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:s,attributes:o}},u)}var pT=dt.styles;function nv(e){var t=V.autoReplaceSvg==="nest"?zf(e,{styleParser:!1}):zf(e);return~t.extra.classes.indexOf(Bm)?Ut("generateLayersText",e,t):Ut("generateSvgReplacementMutation",e,t)}var ln=new Set;al.map(function(e){ln.add("fa-".concat(e))});Object.keys(Jr[ve]).map(ln.add.bind(ln));Object.keys(Jr[ge]).map(ln.add.bind(ln));ln=di(ln);function Wf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Ht)return Promise.resolve();var n=ye.documentElement.classList,r=function(l){return n.add("".concat(Nf,"-").concat(l))},i=function(l){return n.remove("".concat(Nf,"-").concat(l))},a=V.autoFetchSvg?ln:al.map(function(f){return"fa-".concat(f)}).concat(Object.keys(pT));a.includes("fa")||a.push("fa");var o=[".".concat(Bm,":not([").concat(Cn,"])")].concat(a.map(function(f){return".".concat(f,":not([").concat(Cn,"])")})).join(", ");if(o.length===0)return Promise.resolve();var u=[];try{u=Sr(e.querySelectorAll(o))}catch{}if(u.length>0)r("pending"),i("complete");else return Promise.resolve();var s=dl.begin("onTree"),c=u.reduce(function(f,l){try{var d=nv(l);d&&f.push(d)}catch(p){jm||p.name==="MissingIcon"&&console.error(p)}return f},[]);return new Promise(function(f,l){Promise.all(c).then(function(d){ev(d,function(){r("active"),r("complete"),i("pending"),typeof t=="function"&&t(),s(),f()})}).catch(function(d){s(),l(d)})})}function hT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;nv(e).then(function(n){n&&ev([n],t)})}function mT(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(t||{}).icon?t:Bu(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:Bu(i||{})),e(r,z(z({},n),{},{mask:i}))}}var vT=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.transform,i=r===void 0?St: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,p=n.titleId,m=p===void 0?null:p,h=n.classes,_=h===void 0?[]:h,b=n.attributes,y=b===void 0?{}:b,v=n.styles,g=v===void 0?{}:v;if(t){var E=t.prefix,O=t.iconName,S=t.icon;return qa(z({type:"icon"},t),function(){return In("beforeDOMElementCreation",{iconDefinition:t,params:n}),V.autoA11y&&(d?y["aria-labelledby"]="".concat(V.replacementClass,"-title-").concat(m||ni()):(y["aria-hidden"]="true",y.focusable="false")),fl({icons:{main:Fu(S),mask:s?Fu(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:E,iconName:O,transform:z(z({},St),i),symbol:o,title:d,maskId:f,titleId:m,extra:{attributes:y,styles:g,classes:_}})})}},yT={mixout:function(){return{icon:mT(vT)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=Wf,n.nodeCallback=hT,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 Wf(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(p,m){Promise.all([Uu(i,u),f.iconName?Uu(f.iconName,f.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(h){var _=tl(h,2),b=_[0],y=_[1];p([n,fl({icons:{main:b,mask:y},prefix:u,iconName:i,transform:s,symbol:c,maskId:l,title:a,titleId:o,extra:d,watchable:!0})])}).catch(m)})},t.generateAbstractIcon=function(n){var r=n.children,i=n.attributes,a=n.main,o=n.transform,u=n.styles,s=Ka(u);s.length>0&&(i.style=s);var c;return ul(o)&&(c=Ut("generateAbstractTransformGrouping",{main:a,transform:o,containerWidth:a.width,iconWidth:a.width})),r.push(c||a.icon),{children:r,attributes:i}}}},gT={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 qa({type:"layer"},function(){In("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(di(a)).join(" ")},children:o}]})}}}},bT={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 qa({type:"counter",content:n},function(){return In("beforeDOMElementCreation",{content:n,params:r}),JA({content:n.toString(),title:a,extra:{attributes:c,styles:l,classes:["".concat(V.cssPrefix,"-layers-counter")].concat(di(u))}})})}}}},_T={mixout:function(){return{text:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.transform,a=i===void 0?St: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,p=d===void 0?{}:d;return qa({type:"text",content:n},function(){return In("beforeDOMElementCreation",{content:n,params:r}),Ff({content:n,transform:z(z({},St),a),title:u,extra:{attributes:l,styles:p,classes:["".concat(V.cssPrefix,"-layers-text")].concat(di(c))}})})}}},provides:function(t){t.generateLayersText=function(n,r){var i=r.title,a=r.transform,o=r.extra,u=null,s=null;if(Mm){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,Ff({content:n.innerHTML,width:u,height:s,transform:a,title:i,extra:o,watchable:!0})])}}},wT=new RegExp('"',"ug"),qf=[1105920,1112319];function ET(e){var t=e.replace(wT,""),n=DA(t,0),r=n>=qf[0]&&n<=qf[1],i=t.length===2?t[0]===t[1]:!1;return{value:Du(i?t[0]:t),isSecondary:r||i}}function Gf(e,t){var n="".concat(cA).concat(t.replace(":","-"));return new Promise(function(r,i){if(e.getAttribute(n)!==null)return r();var a=Sr(e.children),o=a.filter(function(S){return S.getAttribute(Mu)===t})[0],u=un.getComputedStyle(e,t),s=u.getPropertyValue("font-family").match(mA),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])?ge:ve,p=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(s[2])?Zr[d][s[2].toLowerCase()]:vA[d][c],m=ET(l),h=m.value,_=m.isSecondary,b=s[0].startsWith("FontAwesome"),y=ll(p,h),v=y;if(b){var g=HA(h);g.iconName&&g.prefix&&(y=g.iconName,p=g.prefix)}if(y&&!_&&(!o||o.getAttribute(rl)!==p||o.getAttribute(il)!==v)){e.setAttribute(n,v),o&&e.removeChild(o);var E=dT(),O=E.extra;O.attributes[Mu]=t,Uu(y,p).then(function(S){var w=fl(z(z({},E),{},{icons:{main:S,mask:cl()},prefix:p,iconName:v,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 hi(A)}).join(`
778
- `),e.removeAttribute(n),r()}).catch(i)}else r()}else r()})}function ST(e){return Promise.all([Gf(e,"::before"),Gf(e,"::after")])}function OT(e){return e.parentNode!==document.head&&!~dA.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(Mu)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function Vf(e){if(Ht)return new Promise(function(t,n){var r=Sr(e.querySelectorAll("*")).filter(OT).map(ST),i=dl.begin("searchPseudoElements");tv(),Promise.all(r).then(function(){i(),Hu(),t()}).catch(function(){i(),Hu(),n()})})}var PT={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=Vf,n}}},provides:function(t){t.pseudoElements2svg=function(n){var r=n.node,i=r===void 0?ye:r;V.searchPseudoElements&&Vf(i)}}},Yf=!1,AT={mixout:function(){return{dom:{unwatch:function(){tv(),Yf=!0}}}},hooks:function(){return{bootstrap:function(){Kf(ju("mutationObserverCallbacks",{}))},noAuto:function(){sT()},watch:function(n){var r=n.observeMutationsRoot;Yf?Hu():Kf(ju("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},Xf=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)},TT={mixout:function(){return{parse:{transform:function(n){return Xf(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-transform");return i&&(n.transform=Xf(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)")},p={outer:u,inner:l,path:d};return{tag:"g",attributes:z({},p.outer),children:[{tag:"g",attributes:z({},p.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:z(z({},r.icon.attributes),p.path)}]}]}}}},$o={x:0,y:0,width:"100%",height:"100%"};function Qf(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 CT(e){return e.tag==="g"?e.children:[e]}var IT={hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-mask"),a=i?Wa(i.split(" ").map(function(o){return o.trim()})):cl();return a.prefix||(a.prefix=sn()),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,p=TA({transform:s,containerWidth:l,iconWidth:c}),m={tag:"rect",attributes:z(z({},$o),{},{fill:"white"})},h=f.children?{children:f.children.map(Qf)}:{},_={tag:"g",attributes:z({},p.inner),children:[Qf(z({tag:f.tag,attributes:z(z({},f.attributes),p.path)},h))]},b={tag:"g",attributes:z({},p.outer),children:[_]},y="mask-".concat(u||ni()),v="clip-".concat(u||ni()),g={tag:"mask",attributes:z(z({},$o),{},{id:y,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[m,b]},E={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:CT(d)},g]};return r.push(E,{tag:"rect",attributes:z({fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(y,")")},$o)}),{children:r,attributes:i}}}},LT={provides:function(t){var n=!1;un.matchMedia&&(n=un.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:z(z({},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=z(z({},a),{},{attributeName:"opacity"}),u={tag:"circle",attributes:z(z({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||u.children.push({tag:"animate",attributes:z(z({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:z(z({},o),{},{values:"1;0;1;1;0;1;"})}),r.push(u),r.push({tag:"path",attributes:z(z({},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:z(z({},o),{},{values:"1;0;0;0;0;1;"})}]}),n||r.push({tag:"path",attributes:z(z({},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:z(z({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},RT={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}}}},kT=[LA,yT,gT,bT,_T,PT,AT,TT,IT,LT,RT];WA(kT,{mixoutsTo:rt});rt.noAuto;rt.config;rt.library;rt.dom;var Ku=rt.parse;rt.findIconDefinition;rt.toHtml;var NT=rt.icon;rt.layer;rt.text;rt.counter;var rv={exports:{}},MT="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",DT=MT,$T=DT;function iv(){}function av(){}av.resetWarningCache=iv;var jT=function(){function e(r,i,a,o,u,s){if(s!==$T){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:av,resetWarningCache:iv};return n.PropTypes=n,n};rv.exports=jT();var BT=rv.exports;const ue=cr(BT);function Jf(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 Jt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Jf(Object(n),!0).forEach(function(r){zn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ba(e){"@babel/helpers - typeof";return ba=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},ba(e)}function zn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function FT(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 UT(e,t){if(e==null)return{};var n=FT(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 zu(e){return xT(e)||HT(e)||KT(e)||zT()}function xT(e){if(Array.isArray(e))return Wu(e)}function HT(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function KT(e,t){if(e){if(typeof e=="string")return Wu(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 Wu(e,t)}}function Wu(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 zT(){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 WT(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,p=e.inverse,m=e.border,h=e.listItem,_=e.flip,b=e.size,y=e.rotation,v=e.pull,g=(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":p,"fa-border":m,"fa-li":h,"fa-flip":_===!0,"fa-flip-horizontal":_==="horizontal"||_==="both","fa-flip-vertical":_==="vertical"||_==="both"},zn(t,"fa-".concat(b),typeof b<"u"&&b!==null),zn(t,"fa-rotate-".concat(y),typeof y<"u"&&y!==null&&y!==0),zn(t,"fa-pull-".concat(v),typeof v<"u"&&v!==null),zn(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(g).map(function(E){return g[E]?E:null}).filter(function(E){return E})}function qT(e){return e=e-0,e===e}function ov(e){return qT(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,n){return n?n.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var GT=["style"];function VT(e){return e.charAt(0).toUpperCase()+e.slice(1)}function YT(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var r=n.indexOf(":"),i=ov(n.slice(0,r)),a=n.slice(r+1).trim();return i.startsWith("webkit")?t[VT(i)]=a:t[i]=a,t},{})}function uv(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 uv(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=YT(f);break;default:c.indexOf("aria-")===0||c.indexOf("data-")===0?s.attrs[c.toLowerCase()]=f:s.attrs[ov(c)]=f}return s},{attrs:{}}),a=n.style,o=a===void 0?{}:a,u=UT(n,GT);return i.attrs.style=Jt(Jt({},i.attrs.style),o),e.apply(void 0,[t.tag,Jt(Jt({},i.attrs),u)].concat(zu(r)))}var sv=!1;try{sv=!0}catch{}function XT(){if(!sv&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function Zf(e){if(e&&ba(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(Ku.icon)return Ku.icon(e);if(e===null)return null;if(e&&ba(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 jo(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?zn({},e,t):{}}var Ga=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=Zf(n),f=jo("classes",[].concat(zu(WT(e)),zu(a.split(" ")))),l=jo("transform",typeof e.transform=="string"?Ku.transform(e.transform):e.transform),d=jo("mask",Zf(r)),p=NT(c,Jt(Jt(Jt(Jt({},f),l),d),{},{symbol:i,title:o,titleId:u,maskId:s}));if(!p)return XT("Could not find icon",c),null;var m=p.abstract,h={ref:t};return Object.keys(e).forEach(function(_){Ga.defaultProps.hasOwnProperty(_)||(h[_]=e[_])}),QT(m[0],h)});Ga.displayName="FontAwesomeIcon";Ga.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};Ga.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 QT=uv.bind(null,Z.createElement);function JT({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 ZT=pe(JT),DI=ZT;function eC({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 tC=pe(eC),$I=tC;function nC({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 rC=pe(nC),jI=rC;function iC({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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"}),B("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 aC=pe(iC),BI=aC;function oC({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 uC=pe(oC),FI=uC;function sC({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 lC=pe(sC),UI=lC;function cC({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 fC=pe(cC),xI=fC;function dC({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 pC=pe(dC),HI=pC;function hC({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 mC=pe(hC),KI=mC;function vC({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 yC=pe(vC),zI=yC;function gC({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 bC=pe(gC),WI=bC;function lv(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&&lv(o,t,n,r,[...i,a]):r.append(u,o)}),r}const _C={wretch:{formData(e,t=!1){return this.body(lv(e,t,this._config))}}},qI=_C;var wC={},Je={};Object.defineProperty(Je,"__esModule",{value:!0});Je.AnonymousSelectKey=Je.Select=Je.Not=Je.Guard=Je.PatternKind=void 0;Je.PatternKind=Symbol("@ts-pattern/pattern-kind");Je.Guard=Symbol("@ts-pattern/guard");Je.Not=Symbol("@ts-pattern/not");Je.Select=Symbol("@ts-pattern/select");Je.AnonymousSelectKey="@ts-pattern/__anonymous-select-key";var hl={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.instanceOf=e.select=e.not=e.when=void 0;const t=Je,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})(hl);var Va={};Object.defineProperty(Va,"__esModule",{value:!0});Va.__=void 0;const Or=hl;function EC(e){return!0}function SC(e){return typeof e=="number"}function OC(e){return Number.isNaN(e)}function PC(e){return typeof e=="string"}function AC(e){return typeof e=="boolean"}function TC(e){return e==null}const CC=(0,Or.when)(EC),IC=(0,Or.when)(PC),LC=(0,Or.when)(SC),RC=(0,Or.when)(OC),kC=(0,Or.when)(AC),NC=(0,Or.when)(TC);Va.__=Object.assign(CC,{string:IC,number:LC,NaN:RC,boolean:kC,nullish:NC});(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=Je,n=hl;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=Va;Object.defineProperty(e,"__",{enumerable:!0,get:function(){return r.__}});const i=d=>a(d,[]);e.match=i;const a=(d,p)=>{const m=()=>{const h=p.find(({test:_})=>_(d));if(!h){let _;try{_=JSON.stringify(d)}catch{_=d}throw new Error(`Pattern matching error: no pattern matches value ${_}`)}return h.handler(h.select(d),d)};return{with(...h){const _=h[h.length-1],b=[],y=[];for(let E=0;E<h.length-1;E++){const O=h[E];typeof O=="function"?y.push(O):b.push(O)}let v={};const g=E=>!!(b.some(O=>f(O,E,(S,w)=>{v[S]=w}))&&y.every(O=>O(E)));return a(d,p.concat([{test:g,handler:_,select:E=>Object.keys(v).length?t.AnonymousSelectKey in v?v[t.AnonymousSelectKey]:v:E}]))},when:(h,_)=>a(d,p.concat([{test:h,handler:_,select:b=>b}])),otherwise:h=>a(d,p.concat([{test:()=>!0,handler:h,select:_=>_}])).run(),exhaustive:()=>m(),run:m}},o=d=>!!(d&&typeof d=="object"),u=d=>{const p=d;return p&&p[t.PatternKind]===t.Guard},s=d=>{const p=d;return p&&p[t.PatternKind]===t.Not},c=d=>{const p=d;return p&&p[t.PatternKind]===t.Select},f=(d,p,m)=>{if(o(d)){if(u(d))return!!d[t.Guard](p);if(c(d))return m(d[t.Select],p),!0;if(s(d))return!f(d[t.Not],p,m);if(!o(p))return!1;if(Array.isArray(d)){if(!Array.isArray(p))return!1;if(d.length===1){const h={},_=(y,v)=>{h[y]=(h[y]||[]).concat([v])},b=p.every(y=>f(d[0],y,_));return b&&Object.keys(h).forEach(y=>m(y,h[y])),b}return d.length===p.length?d.every((h,_)=>f(h,p[_],m)):!1}if(d instanceof Map)return p instanceof Map?[...d.keys()].every(h=>f(d.get(h),p.get(h),m)):!1;if(d instanceof Set){if(!(p instanceof Set))return!1;if(d.size===0)return p.size===0;if(d.size===1){const[h]=[...d.values()];return Object.values(r.__).includes(h)?f([h],[...p.values()],m):p.has(h)}return[...d.values()].every(h=>p.has(h))}return Object.keys(d).every(h=>h in p&&f(d[h],p[h],m))}return p===d};function l(...d){if(d.length===1){const[p]=d;return m=>f(p,m,()=>{})}if(d.length===2){const[p,m]=d;return f(p,m,()=>{})}throw new Error(`isMatching wasn't given enough arguments: expected 1 or 2, received ${d.length}.`)}e.isMatching=l})(wC);var cv={exports:{}};(function(e,t){(function(n,r){e.exports=r(Sm)})(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,p;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=(p=Object.keys(c)).length)!==Object.keys(f).length)return!1;for(d=l;d--!=0;)if(!Object.prototype.hasOwnProperty.call(f,p[d]))return!1;for(d=l;d--!=0;){var m=p[d];if(!s(c[m],f[m]))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,p,m,h){h===void 0&&(h=m);var _=Object.getOwnPropertyDescriptor(p,m);_&&!("get"in _?!p.__esModule:_.writable||_.configurable)||(_={enumerable:!0,get:function(){return p[m]}}),Object.defineProperty(d,h,_)}:function(d,p,m,h){h===void 0&&(h=m),d[h]=p[m]}),l=this&&this.__exportStar||function(d,p){for(var m in d)m==="default"||Object.prototype.hasOwnProperty.call(p,m)||f(p,d,m)};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(m){for(var h,_=1,b=arguments.length;_<b;_++)for(var y in h=arguments[_])Object.prototype.hasOwnProperty.call(h,y)&&(m[y]=h[y]);return m},f.apply(this,arguments)},l=this&&this.__importDefault||function(m){return m&&m.__esModule?m:{default:m}};Object.defineProperty(s,"__esModule",{value:!0}),s.InlineStyle=void 0;var d=l(c(156)),p=l(c(52));s.InlineStyle=function(m){var h=m.filename,_=c(367)("./".concat(h,".css")),b=(0,p.default)();return d.default.createElement("style",f({},b?{nonce:b}:{}),_.default)}},11:function(u,s,c){var f=this&&this.__assign||function(){return f=Object.assign||function(b){for(var y,v=1,g=arguments.length;v<g;v++)for(var E in y=arguments[v])Object.prototype.hasOwnProperty.call(y,E)&&(b[E]=y[E]);return b},f.apply(this,arguments)},l=this&&this.__createBinding||(Object.create?function(b,y,v,g){g===void 0&&(g=v);var E=Object.getOwnPropertyDescriptor(y,v);E&&!("get"in E?!y.__esModule:E.writable||E.configurable)||(E={enumerable:!0,get:function(){return y[v]}}),Object.defineProperty(b,g,E)}:function(b,y,v,g){g===void 0&&(g=v),b[g]=y[v]}),d=this&&this.__setModuleDefault||(Object.create?function(b,y){Object.defineProperty(b,"default",{enumerable:!0,value:y})}:function(b,y){b.default=y}),p=this&&this.__importStar||function(b){if(b&&b.__esModule)return b;var y={};if(b!=null)for(var v in b)v!=="default"&&Object.prototype.hasOwnProperty.call(b,v)&&l(y,b,v);return d(y,b),y},m=this&&this.__rest||function(b,y){var v={};for(var g in b)Object.prototype.hasOwnProperty.call(b,g)&&y.indexOf(g)<0&&(v[g]=b[g]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function"){var E=0;for(g=Object.getOwnPropertySymbols(b);E<g.length;E++)y.indexOf(g[E])<0&&Object.prototype.propertyIsEnumerable.call(b,g[E])&&(v[g[E]]=b[g[E]])}return v};Object.defineProperty(s,"__esModule",{value:!0}),s.makeButtonComponent=s.emptyEmbed=void 0;var h=p(c(156)),_=c(794);s.emptyEmbed={unmount:function(){},open:function(){}},s.makeButtonComponent=function(b,y){return h.default.forwardRef(function(v,g){var E=v.id,O=v.children,S=v.as,w=S===void 0?"button":S,P=v.style,A=P===void 0?{}:P,L=v.className,$=L===void 0?"":L,j=v.buttonProps,I=m(v,["id","children","as","style","className","buttonProps"]),C=(0,h.useRef)(s.emptyEmbed),R=g||C;(0,h.useEffect)(function(){return R.current=b(E,I),function(){return R.current.unmount()}},[E,I,R]);var D=(0,h.useMemo)(function(){return function(){return R.current.open()}},[R]),F=h.default.createElement(w,f({style:A,className:$,onClick:D,"data-testid":"tf-v1-".concat(y),children:O},j));return h.default.createElement(h.default.Fragment,null,h.default.createElement(_.InlineStyle,{filename:y}),F)})}},739:function(u,s,c){var f=this&&this.__createBinding||(Object.create?function(b,y,v,g){g===void 0&&(g=v);var E=Object.getOwnPropertyDescriptor(y,v);E&&!("get"in E?!y.__esModule:E.writable||E.configurable)||(E={enumerable:!0,get:function(){return y[v]}}),Object.defineProperty(b,g,E)}:function(b,y,v,g){g===void 0&&(g=v),b[g]=y[v]}),l=this&&this.__setModuleDefault||(Object.create?function(b,y){Object.defineProperty(b,"default",{enumerable:!0,value:y})}:function(b,y){b.default=y}),d=this&&this.__importStar||function(b){if(b&&b.__esModule)return b;var y={};if(b!=null)for(var v in b)v!=="default"&&Object.prototype.hasOwnProperty.call(b,v)&&f(y,b,v);return l(y,b),y},p=this&&this.__rest||function(b,y){var v={};for(var g in b)Object.prototype.hasOwnProperty.call(b,g)&&y.indexOf(g)<0&&(v[g]=b[g]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function"){var E=0;for(g=Object.getOwnPropertySymbols(b);E<g.length;E++)y.indexOf(g[E])<0&&Object.prototype.propertyIsEnumerable.call(b,g[E])&&(v[g[E]]=b[g[E]])}return v};Object.defineProperty(s,"__esModule",{value:!0}),s.makeInitializerComponent=void 0;var m=d(c(156)),h=c(794),_={unmount:function(){}};s.makeInitializerComponent=function(b,y){return m.default.forwardRef(function(v,g){var E=v.id,O=p(v,["id"]),S=(0,m.useRef)(_),w=g||S;return(0,m.useEffect)(function(){return w.current=b(E,O),function(){w.current.unmount()}},[E,O,w]),m.default.createElement(h.InlineStyle,{filename:y})})}},860:function(u,s,c){var f=this&&this.__assign||function(){return f=Object.assign||function(y){for(var v,g=1,E=arguments.length;g<E;g++)for(var O in v=arguments[g])Object.prototype.hasOwnProperty.call(v,O)&&(y[O]=v[O]);return y},f.apply(this,arguments)},l=this&&this.__createBinding||(Object.create?function(y,v,g,E){E===void 0&&(E=g);var O=Object.getOwnPropertyDescriptor(v,g);O&&!("get"in O?!v.__esModule:O.writable||O.configurable)||(O={enumerable:!0,get:function(){return v[g]}}),Object.defineProperty(y,E,O)}:function(y,v,g,E){E===void 0&&(E=g),y[E]=v[g]}),d=this&&this.__setModuleDefault||(Object.create?function(y,v){Object.defineProperty(y,"default",{enumerable:!0,value:v})}:function(y,v){y.default=v}),p=this&&this.__importStar||function(y){if(y&&y.__esModule)return y;var v={};if(y!=null)for(var g in y)g!=="default"&&Object.prototype.hasOwnProperty.call(y,g)&&l(v,y,g);return d(v,y),v},m=this&&this.__rest||function(y,v){var g={};for(var E in y)Object.prototype.hasOwnProperty.call(y,E)&&v.indexOf(E)<0&&(g[E]=y[E]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function"){var O=0;for(E=Object.getOwnPropertySymbols(y);O<E.length;O++)v.indexOf(E[O])<0&&Object.prototype.propertyIsEnumerable.call(y,E[O])&&(g[E[O]]=y[E[O]])}return g};Object.defineProperty(s,"__esModule",{value:!0}),s.Widget=void 0;var h=p(c(156)),_=c(611),b=c(794);s.Widget=function(y){var v=y.id,g=y.style,E=g===void 0?{}:g,O=y.className,S=O===void 0?"":O,w=m(y,["id","style","className"]),P=(0,h.useRef)(null);return(0,h.useEffect)(function(){if(P.current){var A=(0,_.createWidget)(v,f(f({},w),{container:P.current}));return function(){A.unmount()}}},[v,w]),h.default.createElement(h.default.Fragment,null,h.default.createElement(b.InlineStyle,{filename:"widget"}),h.default.createElement("div",{style:E,className:S,ref:P}))}},797:function(u,s,c){var f=this&&this.__createBinding||(Object.create?function(d,p,m,h){h===void 0&&(h=m);var _=Object.getOwnPropertyDescriptor(p,m);_&&!("get"in _?!p.__esModule:_.writable||_.configurable)||(_={enumerable:!0,get:function(){return p[m]}}),Object.defineProperty(d,h,_)}:function(d,p,m,h){h===void 0&&(h=m),d[h]=p[m]}),l=this&&this.__exportStar||function(d,p){for(var m in d)m==="default"||Object.prototype.hasOwnProperty.call(p,m)||f(p,d,m)};Object.defineProperty(s,"__esModule",{value:!0}),l(c(553),s)},553:function(u,s,c){var f=this&&this.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(s,"__esModule",{value:!0}),s.memoComponent=s.propsAreEqual=void 0;var l=c(156),d=f(c(378));s.propsAreEqual=function(p,m){return(0,d.default)(p,m)},s.memoComponent=function(p){return(0,l.memo)(p,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(p){var m=d(p);return c(m)}function d(p){if(!c.o(f,p)){var m=new Error("Cannot find module '"+p+"'");throw m.code="MODULE_NOT_FOUND",m}return f[p]}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 p=this&&this.__assign||function(){return p=Object.assign||function(g){for(var E,O=1,S=arguments.length;O<S;O++)for(var w in E=arguments[O])Object.prototype.hasOwnProperty.call(E,w)&&(g[w]=E[w]);return g},p.apply(this,arguments)},m=this&&this.__rest||function(g,E){var O={};for(var S in g)Object.prototype.hasOwnProperty.call(g,S)&&E.indexOf(S)<0&&(O[S]=g[S]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function"){var w=0;for(S=Object.getOwnPropertySymbols(g);w<S.length;w++)E.indexOf(S[w])<0&&Object.prototype.propertyIsEnumerable.call(g,S[w])&&(O[S[w]]=g[S[w]])}return O};Object.defineProperty(l,"__esModule",{value:!0}),l.createPopover=void 0;var h=d(6797),_=d(1320),b=function(g,E){var O=g.parentNode;O&&(O.removeChild(g),O.appendChild(E))},y=function(g,E){g===void 0&&(g="span"),E===void 0&&(E="tf-v1-popover-button-icon");var O=document.createElement(g);return O.className="".concat(E," tf-v1-close-icon"),O.innerHTML="&times;",O.dataset.testid=E,O},v={buttonColor:"#3a7685"};l.createPopover=function(g,E){E===void 0&&(E={});var O,S,w,P=p(p({},v),E),A=P.domain,L=m(P,["domain"]),$=(0,h.createIframe)("popover",{formId:g,domain:A,options:L}),j=$.iframe,I=$.embedId,C=$.refresh,R=$.focus,D=function(ie,Q){var ae=document.createElement("div");return ae.className="tf-v1-popover",ae.dataset.testid="tf-v1-popover",(0,h.setElementSize)(ae,{width:ie,height:Q})}(L.width,L.height),F=function(){var ie=document.createElement("div");return ie.className="tf-v1-popover-wrapper",ie.dataset.testid="tf-v1-popover-wrapper",ie}(),Y=function(ie,Q){var ae=(0,h.getTextColor)(Q),oe=document.createElement("div");oe.className="tf-v1-popover-button-icon";var Ee=`<svg class="default" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
776
+ }`;function Km(){var e=$m,t=jm,n=V.cssPrefix,r=V.replacementClass,i=kA;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 Df=!1;function No(){V.autoAddCss&&!Df&&(TA(Km()),Df=!0)}var NA={mixout:function(){return{dom:{css:Km,insertCss:No}}},hooks:function(){return{beforeDOMElementCreation:function(){No()},beforeI2svg:function(){No()}}}},Ft=un||{};Ft[Bt]||(Ft[Bt]={});Ft[Bt].styles||(Ft[Bt].styles={});Ft[Bt].hooks||(Ft[Bt].hooks={});Ft[Bt].shims||(Ft[Bt].shims=[]);var dt=Ft[Bt],zm=[],MA=function e(){ye.removeEventListener("DOMContentLoaded",e),ya=1,zm.map(function(t){return t()})},ya=!1;Ht&&(ya=(ye.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(ye.readyState),ya||ye.addEventListener("DOMContentLoaded",MA));function DA(e){Ht&&(ya?setTimeout(e,0):zm.push(e))}function hi(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"?Hm(e):"<".concat(t," ").concat(IA(r),">").concat(a.map(hi).join(""),"</").concat(t,">")}function $f(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var $A=function(t,n){return function(r,i,a,o){return t.call(n,r,i,a,o)}},Mo=function(t,n,r,i){var a=Object.keys(t),o=a.length,u=i!==void 0?$A(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 jA(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 Du(e){var t=jA(e);return t.length===1?t[0].toString(16):null}function BA(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 jf(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 $u(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,i=r===void 0?!1:r,a=jf(t);typeof dt.hooks.addPack=="function"&&!i?dt.hooks.addPack(e,jf(t)):dt.styles[e]=z(z({},dt.styles[e]||{}),a),e==="fas"&&$u("fa",t)}var Li,Ri,ki,Hn=dt.styles,FA=dt.shims,UA=(Li={},Me(Li,ve,Object.values(ei[ve])),Me(Li,ge,Object.values(ei[ge])),Li),sl=null,Wm={},qm={},Gm={},Vm={},Ym={},xA=(Ri={},Me(Ri,ve,Object.keys(Jr[ve])),Me(Ri,ge,Object.keys(Jr[ge])),Ri);function HA(e){return~EA.indexOf(e)}function KA(e,t){var n=t.split("-"),r=n[0],i=n.slice(1).join("-");return r===e&&i!==""&&!HA(i)?i:null}var Xm=function(){var t=function(a){return Mo(Hn,function(o,u,s){return o[s]=Mo(u,a,{}),o},{})};Wm=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}),qm=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}),Ym=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 Hn||V.autoFetchSvg,r=Mo(FA,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:{}});Gm=r.names,Vm=r.unicodes,sl=za(V.styleDefault,{family:V.familyDefault})};AA(function(e){sl=za(e.styleDefault,{family:V.familyDefault})});Xm();function ll(e,t){return(Wm[e]||{})[t]}function zA(e,t){return(qm[e]||{})[t]}function bn(e,t){return(Ym[e]||{})[t]}function Qm(e){return Gm[e]||{prefix:null,iconName:null}}function WA(e){var t=Vm[e],n=ll("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function sn(){return sl}var cl=function(){return{prefix:null,iconName:null,rest:[]}};function za(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.family,r=n===void 0?ve:n,i=Jr[r][e],a=Zr[r][e]||Zr[r][i],o=e in dt.styles?e:null;return a||o||null}var Bf=(ki={},Me(ki,ve,Object.keys(ei[ve])),Me(ki,ge,Object.keys(ei[ge])),ki);function Wa(e){var t,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.skipLookups,i=r===void 0?!1:r,a=(t={},Me(t,ve,"".concat(V.cssPrefix,"-").concat(ve)),Me(t,ge,"".concat(V.cssPrefix,"-").concat(ge)),t),o=null,u=ve;(e.includes(a[ve])||e.some(function(c){return Bf[ve].includes(c)}))&&(u=ve),(e.includes(a[ge])||e.some(function(c){return Bf[ge].includes(c)}))&&(u=ge);var s=e.reduce(function(c,f){var l=KA(V.cssPrefix,f);if(Hn[f]?(f=UA[u].includes(f)?vA[u][f]:f,o=f,c.prefix=f):xA[u].indexOf(f)>-1?(o=f,c.prefix=za(f,{family:u})):l?c.iconName=l:f!==V.replacementClass&&f!==a[ve]&&f!==a[ge]&&c.rest.push(f),!i&&c.prefix&&c.iconName){var d=o==="fa"?Qm(c.iconName):{},p=bn(c.prefix,c.iconName);d.prefix&&(o=null),c.iconName=d.iconName||p||c.iconName,c.prefix=d.prefix||c.prefix,c.prefix==="far"&&!Hn.far&&Hn.fas&&!V.autoFetchSvg&&(c.prefix="fas")}return c},cl());return(e.includes("fa-brands")||e.includes("fab"))&&(s.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(s.prefix="fad"),!s.prefix&&u===ge&&(Hn.fass||V.autoFetchSvg)&&(s.prefix="fass",s.iconName=bn(s.prefix,s.iconName)||s.iconName),(s.prefix==="fa"||o==="fa")&&(s.prefix=sn()||"fas"),s}var qA=function(){function e(){iA(this,e),this.definitions={}}return aA(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]=z(z({},n.definitions[u]||{}),o[u]),$u(u,o[u]);var s=ei[ve][u];s&&$u(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}(),Ff=[],Kn={},Yn={},GA=Object.keys(Yn);function VA(e,t){var n=t.mixoutsTo;return Ff=e,Kn={},Object.keys(Yn).forEach(function(r){GA.indexOf(r)===-1&&delete Yn[r]}),Ff.forEach(function(r){var i=r.mixout?r.mixout():{};if(Object.keys(i).forEach(function(o){typeof i[o]=="function"&&(n[o]=i[o]),va(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){Kn[o]||(Kn[o]=[]),Kn[o].push(a[o])})}r.provides&&r.provides(Yn)}),n}function ju(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=Kn[e]||[];return a.forEach(function(o){t=o.apply(null,[t].concat(r))}),t}function In(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=Kn[e]||[];i.forEach(function(a){a.apply(null,n)})}function Ut(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Yn[e]?Yn[e].apply(null,t):void 0}function Bu(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,n=e.prefix||sn();if(t)return t=bn(n,t)||t,$f(Jm.definitions,n,t)||$f(dt.styles,n,t)}var Jm=new qA,YA=function(){V.autoReplaceSvg=!1,V.observeMutations=!1,In("noAuto")},XA={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Ht?(In("beforeI2svg",t),Ut("pseudoElements2svg",t),Ut("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,DA(function(){JA({autoReplaceSvgRoot:n}),In("watch",t)})}},QA={icon:function(t){if(t===null)return null;if(va(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:bn(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=za(t[0]);return{prefix:r,iconName:bn(r,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(V.cssPrefix,"-"))>-1||t.match(yA))){var i=Wa(t.split(" "),{skipLookups:!0});return{prefix:i.prefix||sn(),iconName:bn(i.prefix,i.iconName)||i.iconName}}if(typeof t=="string"){var a=sn();return{prefix:a,iconName:bn(a,t)||t}}}},rt={noAuto:YA,config:V,dom:XA,parse:QA,library:Jm,findIconDefinition:Bu,toHtml:hi},JA=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,r=n===void 0?ye:n;(Object.keys(dt.styles).length>0||V.autoFetchSvg)&&Ht&&V.autoReplaceSvg&&rt.dom.i2svg({node:r})};function qa(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(r){return hi(r)})}}),Object.defineProperty(e,"node",{get:function(){if(Ht){var r=ye.createElement("div");return r.innerHTML=e.html,r.children}}}),e}function ZA(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,a=e.styles,o=e.transform;if(ul(o)&&n.found&&!r.found){var u=n.width,s=n.height,c={x:u/s/2,y:.5};i.style=Ka(z(z({},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 eT(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:z(z({},i),{},{id:o}),children:r}]}]}function fl(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,p=d===void 0?!1:d,m=r.found?r:n,h=m.width,_=m.height,b=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(" "),v={children:[],attributes:z(z({},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(h," ").concat(_)})},g=b&&!~l.classes.indexOf("fa-fw")?{width:"".concat(h/_*16*.0625,"em")}:{};p&&(v.attributes[Cn]=""),s&&(v.children.push({tag:"title",attributes:{id:v.attributes["aria-labelledby"]||"title-".concat(f||ni())},children:[s]}),delete v.attributes.title);var E=z(z({},v),{},{prefix:i,iconName:a,main:n,mask:r,maskId:c,transform:o,symbol:u,styles:z(z({},g),l.styles)}),O=r.found&&n.found?Ut("generateAbstractMask",E)||{children:[],attributes:{}}:Ut("generateAbstractIcon",E)||{children:[],attributes:{}},S=O.children,w=O.attributes;return E.children=S,E.attributes=w,u?eT(E):ZA(E)}function Uf(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=z(z(z({},o.attributes),a?{title:a}:{}),{},{class:o.classes.join(" ")});s&&(c[Cn]="");var f=z({},o.styles);ul(i)&&(f.transform=RA({transform:i,startCentered:!0,width:n,height:r}),f["-webkit-transform"]=f.transform);var l=Ka(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 tT(e){var t=e.content,n=e.title,r=e.extra,i=z(z(z({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),a=Ka(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 Do=dt.styles;function Fu(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(gn.GROUP)},children:[{tag:"path",attributes:{class:"".concat(V.cssPrefix,"-").concat(gn.SECONDARY),fill:"currentColor",d:a[0]}},{tag:"path",attributes:{class:"".concat(V.cssPrefix,"-").concat(gn.PRIMARY),fill:"currentColor",d:a[1]}}]}:o={tag:"path",attributes:{fill:"currentColor",d:a}},{found:!0,width:t,height:n,icon:o}}var nT={found:!1,width:512,height:512};function rT(e,t){!Bm&&!V.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Uu(e,t){var n=t;return t==="fa"&&V.styleDefault!==null&&(t=sn()),new Promise(function(r,i){if(Ut("missingIconAbstract"),n==="fa"){var a=Qm(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&Do[t]&&Do[t][e]){var o=Do[t][e];return r(Fu(o))}rT(e,t),r(z(z({},nT),{},{icon:V.showMissingIcons&&e?Ut("missingIconAbstract")||{}:{}}))})}var xf=function(){},xu=V.measurePerformance&&Oi&&Oi.mark&&Oi.measure?Oi:{mark:xf,measure:xf},Mr='FA "6.4.2"',iT=function(t){return xu.mark("".concat(Mr," ").concat(t," begins")),function(){return Zm(t)}},Zm=function(t){xu.mark("".concat(Mr," ").concat(t," ends")),xu.measure("".concat(Mr," ").concat(t),"".concat(Mr," ").concat(t," begins"),"".concat(Mr," ").concat(t," ends"))},dl={begin:iT,end:Zm},zi=function(){};function Hf(e){var t=e.getAttribute?e.getAttribute(Cn):null;return typeof t=="string"}function aT(e){var t=e.getAttribute?e.getAttribute(rl):null,n=e.getAttribute?e.getAttribute(il):null;return t&&n}function oT(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(V.replacementClass)}function uT(){if(V.autoReplaceSvg===!0)return Wi.replace;var e=Wi[V.autoReplaceSvg];return e||Wi.replace}function sT(e){return ye.createElementNS("http://www.w3.org/2000/svg",e)}function lT(e){return ye.createElement(e)}function ev(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,r=n===void 0?e.tag==="svg"?sT:lT: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(ev(o,{ceFn:r}))}),i}function cT(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var Wi={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(i){n.parentNode.insertBefore(ev(i),n)}),n.getAttribute(Cn)===null&&V.keepOriginalSource){var r=ye.createComment(cT(n));n.parentNode.replaceChild(r,n)}else n.remove()},nest:function(t){var n=t[0],r=t[1];if(~ol(n).indexOf(V.replacementClass))return Wi.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 hi(u)}).join(`
777
+ `);n.setAttribute(Cn,""),n.innerHTML=o}};function Kf(e){e()}function tv(e,t){var n=typeof t=="function"?t:zi;if(e.length===0)n();else{var r=Kf;V.mutateApproach===hA&&(r=un.requestAnimationFrame||Kf),r(function(){var i=uT(),a=dl.begin("mutate");e.map(i),a(),n()})}}var pl=!1;function nv(){pl=!0}function Hu(){pl=!1}var ga=null;function zf(e){if(Nf&&V.observeMutations){var t=e.treeCallback,n=t===void 0?zi:t,r=e.nodeCallback,i=r===void 0?zi:r,a=e.pseudoElementsCallback,o=a===void 0?zi:a,u=e.observeMutationsRoot,s=u===void 0?ye:u;ga=new Nf(function(c){if(!pl){var f=sn();Sr(c).forEach(function(l){if(l.type==="childList"&&l.addedNodes.length>0&&!Hf(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"&&Hf(l.target)&&~wA.indexOf(l.attributeName))if(l.attributeName==="class"&&aT(l.target)){var d=Wa(ol(l.target)),p=d.prefix,m=d.iconName;l.target.setAttribute(rl,p||f),m&&l.target.setAttribute(il,m)}else oT(l.target)&&i(l.target)})}}),Ht&&ga.observe(s,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function fT(){ga&&ga.disconnect()}function dT(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 pT(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"",i=Wa(ol(e));return i.prefix||(i.prefix=sn()),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&r.length>0&&(i.iconName=zA(i.prefix,e.innerText)||ll(i.prefix,Du(e.innerText))),!i.iconName&&V.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function hT(e){var t=Sr(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||ni()):(t["aria-hidden"]="true",t.focusable="false")),t}function mT(){return{iconName:null,title:null,titleId:null,prefix:null,transform:St,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function Wf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=pT(e),r=n.iconName,i=n.prefix,a=n.rest,o=hT(e),u=ju("parseNodeAttributes",{},e),s=t.styleParser?dT(e):[];return z({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:St,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:s,attributes:o}},u)}var vT=dt.styles;function rv(e){var t=V.autoReplaceSvg==="nest"?Wf(e,{styleParser:!1}):Wf(e);return~t.extra.classes.indexOf(Fm)?Ut("generateLayersText",e,t):Ut("generateSvgReplacementMutation",e,t)}var ln=new Set;al.map(function(e){ln.add("fa-".concat(e))});Object.keys(Jr[ve]).map(ln.add.bind(ln));Object.keys(Jr[ge]).map(ln.add.bind(ln));ln=di(ln);function qf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Ht)return Promise.resolve();var n=ye.documentElement.classList,r=function(l){return n.add("".concat(Mf,"-").concat(l))},i=function(l){return n.remove("".concat(Mf,"-").concat(l))},a=V.autoFetchSvg?ln:al.map(function(f){return"fa-".concat(f)}).concat(Object.keys(vT));a.includes("fa")||a.push("fa");var o=[".".concat(Fm,":not([").concat(Cn,"])")].concat(a.map(function(f){return".".concat(f,":not([").concat(Cn,"])")})).join(", ");if(o.length===0)return Promise.resolve();var u=[];try{u=Sr(e.querySelectorAll(o))}catch{}if(u.length>0)r("pending"),i("complete");else return Promise.resolve();var s=dl.begin("onTree"),c=u.reduce(function(f,l){try{var d=rv(l);d&&f.push(d)}catch(p){Bm||p.name==="MissingIcon"&&console.error(p)}return f},[]);return new Promise(function(f,l){Promise.all(c).then(function(d){tv(d,function(){r("active"),r("complete"),i("pending"),typeof t=="function"&&t(),s(),f()})}).catch(function(d){s(),l(d)})})}function yT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;rv(e).then(function(n){n&&tv([n],t)})}function gT(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(t||{}).icon?t:Bu(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:Bu(i||{})),e(r,z(z({},n),{},{mask:i}))}}var bT=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.transform,i=r===void 0?St: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,p=n.titleId,m=p===void 0?null:p,h=n.classes,_=h===void 0?[]:h,b=n.attributes,y=b===void 0?{}:b,v=n.styles,g=v===void 0?{}:v;if(t){var E=t.prefix,O=t.iconName,S=t.icon;return qa(z({type:"icon"},t),function(){return In("beforeDOMElementCreation",{iconDefinition:t,params:n}),V.autoA11y&&(d?y["aria-labelledby"]="".concat(V.replacementClass,"-title-").concat(m||ni()):(y["aria-hidden"]="true",y.focusable="false")),fl({icons:{main:Fu(S),mask:s?Fu(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:E,iconName:O,transform:z(z({},St),i),symbol:o,title:d,maskId:f,titleId:m,extra:{attributes:y,styles:g,classes:_}})})}},_T={mixout:function(){return{icon:gT(bT)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=qf,n.nodeCallback=yT,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 qf(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(p,m){Promise.all([Uu(i,u),f.iconName?Uu(f.iconName,f.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(h){var _=tl(h,2),b=_[0],y=_[1];p([n,fl({icons:{main:b,mask:y},prefix:u,iconName:i,transform:s,symbol:c,maskId:l,title:a,titleId:o,extra:d,watchable:!0})])}).catch(m)})},t.generateAbstractIcon=function(n){var r=n.children,i=n.attributes,a=n.main,o=n.transform,u=n.styles,s=Ka(u);s.length>0&&(i.style=s);var c;return ul(o)&&(c=Ut("generateAbstractTransformGrouping",{main:a,transform:o,containerWidth:a.width,iconWidth:a.width})),r.push(c||a.icon),{children:r,attributes:i}}}},wT={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 qa({type:"layer"},function(){In("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(di(a)).join(" ")},children:o}]})}}}},ET={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 qa({type:"counter",content:n},function(){return In("beforeDOMElementCreation",{content:n,params:r}),tT({content:n.toString(),title:a,extra:{attributes:c,styles:l,classes:["".concat(V.cssPrefix,"-layers-counter")].concat(di(u))}})})}}}},ST={mixout:function(){return{text:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.transform,a=i===void 0?St: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,p=d===void 0?{}:d;return qa({type:"text",content:n},function(){return In("beforeDOMElementCreation",{content:n,params:r}),Uf({content:n,transform:z(z({},St),a),title:u,extra:{attributes:l,styles:p,classes:["".concat(V.cssPrefix,"-layers-text")].concat(di(c))}})})}}},provides:function(t){t.generateLayersText=function(n,r){var i=r.title,a=r.transform,o=r.extra,u=null,s=null;if(Dm){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,Uf({content:n.innerHTML,width:u,height:s,transform:a,title:i,extra:o,watchable:!0})])}}},OT=new RegExp('"',"ug"),Gf=[1105920,1112319];function PT(e){var t=e.replace(OT,""),n=BA(t,0),r=n>=Gf[0]&&n<=Gf[1],i=t.length===2?t[0]===t[1]:!1;return{value:Du(i?t[0]:t),isSecondary:r||i}}function Vf(e,t){var n="".concat(pA).concat(t.replace(":","-"));return new Promise(function(r,i){if(e.getAttribute(n)!==null)return r();var a=Sr(e.children),o=a.filter(function(S){return S.getAttribute(Mu)===t})[0],u=un.getComputedStyle(e,t),s=u.getPropertyValue("font-family").match(gA),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])?ge:ve,p=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(s[2])?Zr[d][s[2].toLowerCase()]:bA[d][c],m=PT(l),h=m.value,_=m.isSecondary,b=s[0].startsWith("FontAwesome"),y=ll(p,h),v=y;if(b){var g=WA(h);g.iconName&&g.prefix&&(y=g.iconName,p=g.prefix)}if(y&&!_&&(!o||o.getAttribute(rl)!==p||o.getAttribute(il)!==v)){e.setAttribute(n,v),o&&e.removeChild(o);var E=mT(),O=E.extra;O.attributes[Mu]=t,Uu(y,p).then(function(S){var w=fl(z(z({},E),{},{icons:{main:S,mask:cl()},prefix:p,iconName:v,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 hi(A)}).join(`
778
+ `),e.removeAttribute(n),r()}).catch(i)}else r()}else r()})}function AT(e){return Promise.all([Vf(e,"::before"),Vf(e,"::after")])}function TT(e){return e.parentNode!==document.head&&!~mA.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(Mu)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function Yf(e){if(Ht)return new Promise(function(t,n){var r=Sr(e.querySelectorAll("*")).filter(TT).map(AT),i=dl.begin("searchPseudoElements");nv(),Promise.all(r).then(function(){i(),Hu(),t()}).catch(function(){i(),Hu(),n()})})}var CT={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=Yf,n}}},provides:function(t){t.pseudoElements2svg=function(n){var r=n.node,i=r===void 0?ye:r;V.searchPseudoElements&&Yf(i)}}},Xf=!1,IT={mixout:function(){return{dom:{unwatch:function(){nv(),Xf=!0}}}},hooks:function(){return{bootstrap:function(){zf(ju("mutationObserverCallbacks",{}))},noAuto:function(){fT()},watch:function(n){var r=n.observeMutationsRoot;Xf?Hu():zf(ju("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},Qf=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)},LT={mixout:function(){return{parse:{transform:function(n){return Qf(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-transform");return i&&(n.transform=Qf(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)")},p={outer:u,inner:l,path:d};return{tag:"g",attributes:z({},p.outer),children:[{tag:"g",attributes:z({},p.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:z(z({},r.icon.attributes),p.path)}]}]}}}},$o={x:0,y:0,width:"100%",height:"100%"};function Jf(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 RT(e){return e.tag==="g"?e.children:[e]}var kT={hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-mask"),a=i?Wa(i.split(" ").map(function(o){return o.trim()})):cl();return a.prefix||(a.prefix=sn()),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,p=LA({transform:s,containerWidth:l,iconWidth:c}),m={tag:"rect",attributes:z(z({},$o),{},{fill:"white"})},h=f.children?{children:f.children.map(Jf)}:{},_={tag:"g",attributes:z({},p.inner),children:[Jf(z({tag:f.tag,attributes:z(z({},f.attributes),p.path)},h))]},b={tag:"g",attributes:z({},p.outer),children:[_]},y="mask-".concat(u||ni()),v="clip-".concat(u||ni()),g={tag:"mask",attributes:z(z({},$o),{},{id:y,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[m,b]},E={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:RT(d)},g]};return r.push(E,{tag:"rect",attributes:z({fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(y,")")},$o)}),{children:r,attributes:i}}}},NT={provides:function(t){var n=!1;un.matchMedia&&(n=un.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:z(z({},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=z(z({},a),{},{attributeName:"opacity"}),u={tag:"circle",attributes:z(z({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||u.children.push({tag:"animate",attributes:z(z({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:z(z({},o),{},{values:"1;0;1;1;0;1;"})}),r.push(u),r.push({tag:"path",attributes:z(z({},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:z(z({},o),{},{values:"1;0;0;0;0;1;"})}]}),n||r.push({tag:"path",attributes:z(z({},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:z(z({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},MT={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}}}},DT=[NA,_T,wT,ET,ST,CT,IT,LT,kT,NT,MT];VA(DT,{mixoutsTo:rt});rt.noAuto;rt.config;rt.library;rt.dom;var Ku=rt.parse;rt.findIconDefinition;rt.toHtml;var $T=rt.icon;rt.layer;rt.text;rt.counter;var iv={exports:{}},jT="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",BT=jT,FT=BT;function av(){}function ov(){}ov.resetWarningCache=av;var UT=function(){function e(r,i,a,o,u,s){if(s!==FT){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:ov,resetWarningCache:av};return n.PropTypes=n,n};iv.exports=UT();var xT=iv.exports;const ue=cr(xT);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 Jt(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){zn(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 ba(e){"@babel/helpers - typeof";return ba=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},ba(e)}function zn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function HT(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 KT(e,t){if(e==null)return{};var n=HT(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 zu(e){return zT(e)||WT(e)||qT(e)||GT()}function zT(e){if(Array.isArray(e))return Wu(e)}function WT(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function qT(e,t){if(e){if(typeof e=="string")return Wu(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 Wu(e,t)}}function Wu(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 GT(){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 VT(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,p=e.inverse,m=e.border,h=e.listItem,_=e.flip,b=e.size,y=e.rotation,v=e.pull,g=(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":p,"fa-border":m,"fa-li":h,"fa-flip":_===!0,"fa-flip-horizontal":_==="horizontal"||_==="both","fa-flip-vertical":_==="vertical"||_==="both"},zn(t,"fa-".concat(b),typeof b<"u"&&b!==null),zn(t,"fa-rotate-".concat(y),typeof y<"u"&&y!==null&&y!==0),zn(t,"fa-pull-".concat(v),typeof v<"u"&&v!==null),zn(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(g).map(function(E){return g[E]?E:null}).filter(function(E){return E})}function YT(e){return e=e-0,e===e}function uv(e){return YT(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,n){return n?n.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var XT=["style"];function QT(e){return e.charAt(0).toUpperCase()+e.slice(1)}function JT(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var r=n.indexOf(":"),i=uv(n.slice(0,r)),a=n.slice(r+1).trim();return i.startsWith("webkit")?t[QT(i)]=a:t[i]=a,t},{})}function sv(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 sv(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=JT(f);break;default:c.indexOf("aria-")===0||c.indexOf("data-")===0?s.attrs[c.toLowerCase()]=f:s.attrs[uv(c)]=f}return s},{attrs:{}}),a=n.style,o=a===void 0?{}:a,u=KT(n,XT);return i.attrs.style=Jt(Jt({},i.attrs.style),o),e.apply(void 0,[t.tag,Jt(Jt({},i.attrs),u)].concat(zu(r)))}var lv=!1;try{lv=!0}catch{}function ZT(){if(!lv&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function ed(e){if(e&&ba(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(Ku.icon)return Ku.icon(e);if(e===null)return null;if(e&&ba(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 jo(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?zn({},e,t):{}}var Ga=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=ed(n),f=jo("classes",[].concat(zu(VT(e)),zu(a.split(" ")))),l=jo("transform",typeof e.transform=="string"?Ku.transform(e.transform):e.transform),d=jo("mask",ed(r)),p=$T(c,Jt(Jt(Jt(Jt({},f),l),d),{},{symbol:i,title:o,titleId:u,maskId:s}));if(!p)return ZT("Could not find icon",c),null;var m=p.abstract,h={ref:t};return Object.keys(e).forEach(function(_){Ga.defaultProps.hasOwnProperty(_)||(h[_]=e[_])}),eC(m[0],h)});Ga.displayName="FontAwesomeIcon";Ga.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};Ga.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 eC=sv.bind(null,Z.createElement);function tC({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 nC=pe(tC),FI=nC;function rC({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 iC=pe(rC),UI=iC;function aC({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 oC=pe(aC),xI=oC;function uC({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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"}),B("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 sC=pe(uC),HI=sC;function lC({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 cC=pe(lC),KI=cC;function fC({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 dC=pe(fC),zI=dC;function pC({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 hC=pe(pC),WI=hC;function mC({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 vC=pe(mC),qI=vC;function yC({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 gC=pe(yC),GI=gC;function bC({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 _C=pe(bC),VI=_C;function wC({title:e,titleId:t,...n},r){return B("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?B("title",{id:t},e):null,B("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 EC=pe(wC),YI=EC;function cv(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&&cv(o,t,n,r,[...i,a]):r.append(u,o)}),r}const SC={wretch:{formData(e,t=!1){return this.body(cv(e,t,this._config))}}},XI=SC;var OC={},Je={};Object.defineProperty(Je,"__esModule",{value:!0});Je.AnonymousSelectKey=Je.Select=Je.Not=Je.Guard=Je.PatternKind=void 0;Je.PatternKind=Symbol("@ts-pattern/pattern-kind");Je.Guard=Symbol("@ts-pattern/guard");Je.Not=Symbol("@ts-pattern/not");Je.Select=Symbol("@ts-pattern/select");Je.AnonymousSelectKey="@ts-pattern/__anonymous-select-key";var hl={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.instanceOf=e.select=e.not=e.when=void 0;const t=Je,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})(hl);var Va={};Object.defineProperty(Va,"__esModule",{value:!0});Va.__=void 0;const Or=hl;function PC(e){return!0}function AC(e){return typeof e=="number"}function TC(e){return Number.isNaN(e)}function CC(e){return typeof e=="string"}function IC(e){return typeof e=="boolean"}function LC(e){return e==null}const RC=(0,Or.when)(PC),kC=(0,Or.when)(CC),NC=(0,Or.when)(AC),MC=(0,Or.when)(TC),DC=(0,Or.when)(IC),$C=(0,Or.when)(LC);Va.__=Object.assign(RC,{string:kC,number:NC,NaN:MC,boolean:DC,nullish:$C});(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=Je,n=hl;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=Va;Object.defineProperty(e,"__",{enumerable:!0,get:function(){return r.__}});const i=d=>a(d,[]);e.match=i;const a=(d,p)=>{const m=()=>{const h=p.find(({test:_})=>_(d));if(!h){let _;try{_=JSON.stringify(d)}catch{_=d}throw new Error(`Pattern matching error: no pattern matches value ${_}`)}return h.handler(h.select(d),d)};return{with(...h){const _=h[h.length-1],b=[],y=[];for(let E=0;E<h.length-1;E++){const O=h[E];typeof O=="function"?y.push(O):b.push(O)}let v={};const g=E=>!!(b.some(O=>f(O,E,(S,w)=>{v[S]=w}))&&y.every(O=>O(E)));return a(d,p.concat([{test:g,handler:_,select:E=>Object.keys(v).length?t.AnonymousSelectKey in v?v[t.AnonymousSelectKey]:v:E}]))},when:(h,_)=>a(d,p.concat([{test:h,handler:_,select:b=>b}])),otherwise:h=>a(d,p.concat([{test:()=>!0,handler:h,select:_=>_}])).run(),exhaustive:()=>m(),run:m}},o=d=>!!(d&&typeof d=="object"),u=d=>{const p=d;return p&&p[t.PatternKind]===t.Guard},s=d=>{const p=d;return p&&p[t.PatternKind]===t.Not},c=d=>{const p=d;return p&&p[t.PatternKind]===t.Select},f=(d,p,m)=>{if(o(d)){if(u(d))return!!d[t.Guard](p);if(c(d))return m(d[t.Select],p),!0;if(s(d))return!f(d[t.Not],p,m);if(!o(p))return!1;if(Array.isArray(d)){if(!Array.isArray(p))return!1;if(d.length===1){const h={},_=(y,v)=>{h[y]=(h[y]||[]).concat([v])},b=p.every(y=>f(d[0],y,_));return b&&Object.keys(h).forEach(y=>m(y,h[y])),b}return d.length===p.length?d.every((h,_)=>f(h,p[_],m)):!1}if(d instanceof Map)return p instanceof Map?[...d.keys()].every(h=>f(d.get(h),p.get(h),m)):!1;if(d instanceof Set){if(!(p instanceof Set))return!1;if(d.size===0)return p.size===0;if(d.size===1){const[h]=[...d.values()];return Object.values(r.__).includes(h)?f([h],[...p.values()],m):p.has(h)}return[...d.values()].every(h=>p.has(h))}return Object.keys(d).every(h=>h in p&&f(d[h],p[h],m))}return p===d};function l(...d){if(d.length===1){const[p]=d;return m=>f(p,m,()=>{})}if(d.length===2){const[p,m]=d;return f(p,m,()=>{})}throw new Error(`isMatching wasn't given enough arguments: expected 1 or 2, received ${d.length}.`)}e.isMatching=l})(OC);var fv={exports:{}};(function(e,t){(function(n,r){e.exports=r(Om)})(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,p;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=(p=Object.keys(c)).length)!==Object.keys(f).length)return!1;for(d=l;d--!=0;)if(!Object.prototype.hasOwnProperty.call(f,p[d]))return!1;for(d=l;d--!=0;){var m=p[d];if(!s(c[m],f[m]))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,p,m,h){h===void 0&&(h=m);var _=Object.getOwnPropertyDescriptor(p,m);_&&!("get"in _?!p.__esModule:_.writable||_.configurable)||(_={enumerable:!0,get:function(){return p[m]}}),Object.defineProperty(d,h,_)}:function(d,p,m,h){h===void 0&&(h=m),d[h]=p[m]}),l=this&&this.__exportStar||function(d,p){for(var m in d)m==="default"||Object.prototype.hasOwnProperty.call(p,m)||f(p,d,m)};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(m){for(var h,_=1,b=arguments.length;_<b;_++)for(var y in h=arguments[_])Object.prototype.hasOwnProperty.call(h,y)&&(m[y]=h[y]);return m},f.apply(this,arguments)},l=this&&this.__importDefault||function(m){return m&&m.__esModule?m:{default:m}};Object.defineProperty(s,"__esModule",{value:!0}),s.InlineStyle=void 0;var d=l(c(156)),p=l(c(52));s.InlineStyle=function(m){var h=m.filename,_=c(367)("./".concat(h,".css")),b=(0,p.default)();return d.default.createElement("style",f({},b?{nonce:b}:{}),_.default)}},11:function(u,s,c){var f=this&&this.__assign||function(){return f=Object.assign||function(b){for(var y,v=1,g=arguments.length;v<g;v++)for(var E in y=arguments[v])Object.prototype.hasOwnProperty.call(y,E)&&(b[E]=y[E]);return b},f.apply(this,arguments)},l=this&&this.__createBinding||(Object.create?function(b,y,v,g){g===void 0&&(g=v);var E=Object.getOwnPropertyDescriptor(y,v);E&&!("get"in E?!y.__esModule:E.writable||E.configurable)||(E={enumerable:!0,get:function(){return y[v]}}),Object.defineProperty(b,g,E)}:function(b,y,v,g){g===void 0&&(g=v),b[g]=y[v]}),d=this&&this.__setModuleDefault||(Object.create?function(b,y){Object.defineProperty(b,"default",{enumerable:!0,value:y})}:function(b,y){b.default=y}),p=this&&this.__importStar||function(b){if(b&&b.__esModule)return b;var y={};if(b!=null)for(var v in b)v!=="default"&&Object.prototype.hasOwnProperty.call(b,v)&&l(y,b,v);return d(y,b),y},m=this&&this.__rest||function(b,y){var v={};for(var g in b)Object.prototype.hasOwnProperty.call(b,g)&&y.indexOf(g)<0&&(v[g]=b[g]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function"){var E=0;for(g=Object.getOwnPropertySymbols(b);E<g.length;E++)y.indexOf(g[E])<0&&Object.prototype.propertyIsEnumerable.call(b,g[E])&&(v[g[E]]=b[g[E]])}return v};Object.defineProperty(s,"__esModule",{value:!0}),s.makeButtonComponent=s.emptyEmbed=void 0;var h=p(c(156)),_=c(794);s.emptyEmbed={unmount:function(){},open:function(){}},s.makeButtonComponent=function(b,y){return h.default.forwardRef(function(v,g){var E=v.id,O=v.children,S=v.as,w=S===void 0?"button":S,P=v.style,A=P===void 0?{}:P,L=v.className,$=L===void 0?"":L,j=v.buttonProps,I=m(v,["id","children","as","style","className","buttonProps"]),C=(0,h.useRef)(s.emptyEmbed),R=g||C;(0,h.useEffect)(function(){return R.current=b(E,I),function(){return R.current.unmount()}},[E,I,R]);var D=(0,h.useMemo)(function(){return function(){return R.current.open()}},[R]),F=h.default.createElement(w,f({style:A,className:$,onClick:D,"data-testid":"tf-v1-".concat(y),children:O},j));return h.default.createElement(h.default.Fragment,null,h.default.createElement(_.InlineStyle,{filename:y}),F)})}},739:function(u,s,c){var f=this&&this.__createBinding||(Object.create?function(b,y,v,g){g===void 0&&(g=v);var E=Object.getOwnPropertyDescriptor(y,v);E&&!("get"in E?!y.__esModule:E.writable||E.configurable)||(E={enumerable:!0,get:function(){return y[v]}}),Object.defineProperty(b,g,E)}:function(b,y,v,g){g===void 0&&(g=v),b[g]=y[v]}),l=this&&this.__setModuleDefault||(Object.create?function(b,y){Object.defineProperty(b,"default",{enumerable:!0,value:y})}:function(b,y){b.default=y}),d=this&&this.__importStar||function(b){if(b&&b.__esModule)return b;var y={};if(b!=null)for(var v in b)v!=="default"&&Object.prototype.hasOwnProperty.call(b,v)&&f(y,b,v);return l(y,b),y},p=this&&this.__rest||function(b,y){var v={};for(var g in b)Object.prototype.hasOwnProperty.call(b,g)&&y.indexOf(g)<0&&(v[g]=b[g]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function"){var E=0;for(g=Object.getOwnPropertySymbols(b);E<g.length;E++)y.indexOf(g[E])<0&&Object.prototype.propertyIsEnumerable.call(b,g[E])&&(v[g[E]]=b[g[E]])}return v};Object.defineProperty(s,"__esModule",{value:!0}),s.makeInitializerComponent=void 0;var m=d(c(156)),h=c(794),_={unmount:function(){}};s.makeInitializerComponent=function(b,y){return m.default.forwardRef(function(v,g){var E=v.id,O=p(v,["id"]),S=(0,m.useRef)(_),w=g||S;return(0,m.useEffect)(function(){return w.current=b(E,O),function(){w.current.unmount()}},[E,O,w]),m.default.createElement(h.InlineStyle,{filename:y})})}},860:function(u,s,c){var f=this&&this.__assign||function(){return f=Object.assign||function(y){for(var v,g=1,E=arguments.length;g<E;g++)for(var O in v=arguments[g])Object.prototype.hasOwnProperty.call(v,O)&&(y[O]=v[O]);return y},f.apply(this,arguments)},l=this&&this.__createBinding||(Object.create?function(y,v,g,E){E===void 0&&(E=g);var O=Object.getOwnPropertyDescriptor(v,g);O&&!("get"in O?!v.__esModule:O.writable||O.configurable)||(O={enumerable:!0,get:function(){return v[g]}}),Object.defineProperty(y,E,O)}:function(y,v,g,E){E===void 0&&(E=g),y[E]=v[g]}),d=this&&this.__setModuleDefault||(Object.create?function(y,v){Object.defineProperty(y,"default",{enumerable:!0,value:v})}:function(y,v){y.default=v}),p=this&&this.__importStar||function(y){if(y&&y.__esModule)return y;var v={};if(y!=null)for(var g in y)g!=="default"&&Object.prototype.hasOwnProperty.call(y,g)&&l(v,y,g);return d(v,y),v},m=this&&this.__rest||function(y,v){var g={};for(var E in y)Object.prototype.hasOwnProperty.call(y,E)&&v.indexOf(E)<0&&(g[E]=y[E]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function"){var O=0;for(E=Object.getOwnPropertySymbols(y);O<E.length;O++)v.indexOf(E[O])<0&&Object.prototype.propertyIsEnumerable.call(y,E[O])&&(g[E[O]]=y[E[O]])}return g};Object.defineProperty(s,"__esModule",{value:!0}),s.Widget=void 0;var h=p(c(156)),_=c(611),b=c(794);s.Widget=function(y){var v=y.id,g=y.style,E=g===void 0?{}:g,O=y.className,S=O===void 0?"":O,w=m(y,["id","style","className"]),P=(0,h.useRef)(null);return(0,h.useEffect)(function(){if(P.current){var A=(0,_.createWidget)(v,f(f({},w),{container:P.current}));return function(){A.unmount()}}},[v,w]),h.default.createElement(h.default.Fragment,null,h.default.createElement(b.InlineStyle,{filename:"widget"}),h.default.createElement("div",{style:E,className:S,ref:P}))}},797:function(u,s,c){var f=this&&this.__createBinding||(Object.create?function(d,p,m,h){h===void 0&&(h=m);var _=Object.getOwnPropertyDescriptor(p,m);_&&!("get"in _?!p.__esModule:_.writable||_.configurable)||(_={enumerable:!0,get:function(){return p[m]}}),Object.defineProperty(d,h,_)}:function(d,p,m,h){h===void 0&&(h=m),d[h]=p[m]}),l=this&&this.__exportStar||function(d,p){for(var m in d)m==="default"||Object.prototype.hasOwnProperty.call(p,m)||f(p,d,m)};Object.defineProperty(s,"__esModule",{value:!0}),l(c(553),s)},553:function(u,s,c){var f=this&&this.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(s,"__esModule",{value:!0}),s.memoComponent=s.propsAreEqual=void 0;var l=c(156),d=f(c(378));s.propsAreEqual=function(p,m){return(0,d.default)(p,m)},s.memoComponent=function(p){return(0,l.memo)(p,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(p){var m=d(p);return c(m)}function d(p){if(!c.o(f,p)){var m=new Error("Cannot find module '"+p+"'");throw m.code="MODULE_NOT_FOUND",m}return f[p]}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 p=this&&this.__assign||function(){return p=Object.assign||function(g){for(var E,O=1,S=arguments.length;O<S;O++)for(var w in E=arguments[O])Object.prototype.hasOwnProperty.call(E,w)&&(g[w]=E[w]);return g},p.apply(this,arguments)},m=this&&this.__rest||function(g,E){var O={};for(var S in g)Object.prototype.hasOwnProperty.call(g,S)&&E.indexOf(S)<0&&(O[S]=g[S]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function"){var w=0;for(S=Object.getOwnPropertySymbols(g);w<S.length;w++)E.indexOf(S[w])<0&&Object.prototype.propertyIsEnumerable.call(g,S[w])&&(O[S[w]]=g[S[w]])}return O};Object.defineProperty(l,"__esModule",{value:!0}),l.createPopover=void 0;var h=d(6797),_=d(1320),b=function(g,E){var O=g.parentNode;O&&(O.removeChild(g),O.appendChild(E))},y=function(g,E){g===void 0&&(g="span"),E===void 0&&(E="tf-v1-popover-button-icon");var O=document.createElement(g);return O.className="".concat(E," tf-v1-close-icon"),O.innerHTML="&times;",O.dataset.testid=E,O},v={buttonColor:"#3a7685"};l.createPopover=function(g,E){E===void 0&&(E={});var O,S,w,P=p(p({},v),E),A=P.domain,L=m(P,["domain"]),$=(0,h.createIframe)("popover",{formId:g,domain:A,options:L}),j=$.iframe,I=$.embedId,C=$.refresh,R=$.focus,D=function(ie,Q){var ae=document.createElement("div");return ae.className="tf-v1-popover",ae.dataset.testid="tf-v1-popover",(0,h.setElementSize)(ae,{width:ie,height:Q})}(L.width,L.height),F=function(){var ie=document.createElement("div");return ie.className="tf-v1-popover-wrapper",ie.dataset.testid="tf-v1-popover-wrapper",ie}(),Y=function(ie,Q){var ae=(0,h.getTextColor)(Q),oe=document.createElement("div");oe.className="tf-v1-popover-button-icon";var Ee=`<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,5 +788,5 @@ 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(m,h,_){var b=typeof _=="string"?_:void 0;if(window.gtag){if(b||(b=function(){if(window.dataLayer){var g=window.dataLayer.find(function(E){return E.length>1&&E[0]==="config"});return g&&g[1]}}()),!b)return void p("the tracking ID could not be retrieved");var y=!1;window.gtag("get",b,"client_id",function(g){y=!0,(0,l.sendGaIdMessage)(h,g,m)}),setTimeout(function(){y||p("the tracker with ID ".concat(b," was not found"))},3e3)}else try{var v=function(g,E){return E?g.find(function(O){return O.get("trackingId")===E}):g[0]}(window.ga.getAll(),b);v?(0,l.sendGaIdMessage)(h,v.get("clientId"),m):p("the tracker with ID ".concat(b," was not found"))}catch(g){p("the Google Analytics object was not found"),d(g)}}},4623:function(f,l){Object.defineProperty(l,"__esModule",{value:!0}),l.sleep=void 0,l.sleep=function(d){return new Promise(function(p){return setTimeout(p,d)})}},1451:function(f,l){Object.defineProperty(l,"__esModule",{value:!0}),l.unmountElement=void 0,l.unmountElement=function(d){var p;(p=d.parentNode)===null||p===void 0||p.removeChild(d)}}},c={};return function f(l){var d=c[l];if(d!==void 0)return d.exports;var p=c[l]={exports:{}};return s[l].call(p.exports,p,p.exports,f),p.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 p=(0,f.memoComponent)((0,c.makeButtonComponent)(s.createSlider,"slider"));u.SliderButton=p;var m=(0,f.memoComponent)((0,c.makeInitializerComponent)(s.createPopover,"popover"));u.Popover=m;var h=(0,f.memoComponent)((0,c.makeInitializerComponent)(s.createSidetab,"sidetab"));u.Sidetab=h}(),o}()})})(cv);var GI=cv.exports,VI={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"]};function lr(e){"@babel/helpers - typeof";return lr=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},lr(e)}function ed(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 MC(e,t){if(e){if(typeof e=="string")return ed(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 ed(e,t)}}function YI(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=MC(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=!0,o=!1,u;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return a=c.done,c},e:function(c){o=!0,u=c},f:function(){try{!a&&n.return!=null&&n.return()}finally{if(o)throw u}}}}function DC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qu(e,t){return qu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},qu(e,t)}function XI(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&&qu(e,t)}function _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},_a(e)}function $C(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function jC(e,t){if(t&&(lr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return DC(e)}function QI(e){var t=$C();return function(){var r=_a(e),i;if(t){var a=_a(this).constructor;i=Reflect.construct(r,arguments,a)}else i=r.apply(this,arguments);return jC(this,i)}}function JI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BC(e,t){if(lr(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(lr(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function fv(e){var t=BC(e,"string");return lr(t)==="symbol"?t:String(t)}function td(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,fv(r.key),r)}}function ZI(e,t,n){return t&&td(e.prototype,t),n&&td(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function eL(e,t,n){return t=fv(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}export{yI as $,nr as A,sI as B,ps as C,WC as D,Xv as E,le as F,De as G,lI as H,st as I,rI as J,eI as K,Aa as L,iI as M,Cp as N,d0 as O,nI as P,mg as Q,kp as R,cg as S,Yt as T,Y0 as U,tp as V,GC as W,be as X,dI as Y,LI as Z,Pn as _,Pt as a,gI as a$,pI as a0,mI as a1,RI as a2,hs as a3,kI as a4,NI as a5,MI as a6,bI as a7,_I as a8,K5 as a9,an as aA,uI as aB,I0 as aC,DI as aD,cp as aE,VC as aF,qC as aG,zC as aH,XC as aI,YC as aJ,$r as aK,rp as aL,HI as aM,Zd as aN,op as aO,at as aP,SI as aQ,FI as aR,zI as aS,$I as aT,KI as aU,hI as aV,Bd as aW,aI as aX,oI as aY,xI as aZ,EI as a_,H5 as aa,Ga as ab,eA as ac,J5 as ad,Q5 as ae,X5 as af,Z5 as ag,Ol as ah,xC as ai,UC as aj,UI as ak,WI as al,Qn as am,qI as an,bg as ao,KC as ap,Ge as aq,wC as ar,fI as as,GI as at,VI as au,jI as av,wI as aw,tI as ax,vI as ay,BI as az,gl as b,TI as b0,II as b1,OI as b2,es as b3,is as b4,PI as b5,CI as b6,AI as b7,lr as c,XI as d,QI as e,JI as f,eL as g,DC as h,ZI as i,YI as j,ne as k,Op as l,JC as m,pe as n,B as o,de as p,Le as q,Ue as r,ZC as s,jy as t,QC as u,Di as v,Z as w,dr as x,kn as y,HC as z};
791
+ It is also possible the Google Analytics was blocked by your adblock plugin.`)};l.setupGaInstance=function(m,h,_){var b=typeof _=="string"?_:void 0;if(window.gtag){if(b||(b=function(){if(window.dataLayer){var g=window.dataLayer.find(function(E){return E.length>1&&E[0]==="config"});return g&&g[1]}}()),!b)return void p("the tracking ID could not be retrieved");var y=!1;window.gtag("get",b,"client_id",function(g){y=!0,(0,l.sendGaIdMessage)(h,g,m)}),setTimeout(function(){y||p("the tracker with ID ".concat(b," was not found"))},3e3)}else try{var v=function(g,E){return E?g.find(function(O){return O.get("trackingId")===E}):g[0]}(window.ga.getAll(),b);v?(0,l.sendGaIdMessage)(h,v.get("clientId"),m):p("the tracker with ID ".concat(b," was not found"))}catch(g){p("the Google Analytics object was not found"),d(g)}}},4623:function(f,l){Object.defineProperty(l,"__esModule",{value:!0}),l.sleep=void 0,l.sleep=function(d){return new Promise(function(p){return setTimeout(p,d)})}},1451:function(f,l){Object.defineProperty(l,"__esModule",{value:!0}),l.unmountElement=void 0,l.unmountElement=function(d){var p;(p=d.parentNode)===null||p===void 0||p.removeChild(d)}}},c={};return function f(l){var d=c[l];if(d!==void 0)return d.exports;var p=c[l]={exports:{}};return s[l].call(p.exports,p,p.exports,f),p.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 p=(0,f.memoComponent)((0,c.makeButtonComponent)(s.createSlider,"slider"));u.SliderButton=p;var m=(0,f.memoComponent)((0,c.makeInitializerComponent)(s.createPopover,"popover"));u.Popover=m;var h=(0,f.memoComponent)((0,c.makeInitializerComponent)(s.createSidetab,"sidetab"));u.Sidetab=h}(),o}()})})(fv);var QI=fv.exports,JI={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"]};function lr(e){"@babel/helpers - typeof";return lr=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},lr(e)}function td(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 jC(e,t){if(e){if(typeof e=="string")return td(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 td(e,t)}}function ZI(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=jC(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=!0,o=!1,u;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return a=c.done,c},e:function(c){o=!0,u=c},f:function(){try{!a&&n.return!=null&&n.return()}finally{if(o)throw u}}}}function BC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qu(e,t){return qu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},qu(e,t)}function eL(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&&qu(e,t)}function _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},_a(e)}function FC(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function UC(e,t){if(t&&(lr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return BC(e)}function tL(e){var t=FC();return function(){var r=_a(e),i;if(t){var a=_a(this).constructor;i=Reflect.construct(r,arguments,a)}else i=r.apply(this,arguments);return UC(this,i)}}function nL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xC(e,t){if(lr(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(lr(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function dv(e){var t=xC(e,"string");return lr(t)==="symbol"?t:String(t)}function nd(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,dv(r.key),r)}}function rL(e,t,n){return t&&nd(e.prototype,t),n&&nd(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function iL(e,t,n){return t=dv(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}export{MI as $,nr as A,fI as B,dI as C,ps as D,Qv as E,le as F,De as G,VC as H,pI as I,st as J,oI as K,rI as L,Aa as M,uI as N,Ip as O,p0 as P,vg as Q,aI as R,fg as S,Yt as T,Np as U,np as V,J0 as W,XC as X,be as Y,vI as Z,Pn as _,Pt as a,AI as a$,wI as a0,yI as a1,bI as a2,DI as a3,hs as a4,$I as a5,jI as a6,BI as a7,SI as a8,OI as a9,HI as aA,an as aB,cI as aC,L0 as aD,FI as aE,fp as aF,QC as aG,YC as aH,GC as aI,ZC as aJ,JC as aK,$r as aL,ip as aM,qI as aN,ep as aO,up as aP,at as aQ,TI as aR,KI as aS,VI as aT,UI as aU,GI as aV,gI as aW,Fd as aX,sI as aY,lI as aZ,WI as a_,q5 as aa,W5 as ab,Ga as ac,rA as ad,tA as ae,eA as af,Z5 as ag,nA as ah,Ol as ai,zC as aj,KC as ak,zI as al,YI as am,Qn as an,XI as ao,_g as ap,qC as aq,Ge as ar,OC as as,mI as at,QI as au,JI as av,xI as aw,PI as ax,iI as ay,_I as az,gl as b,EI as b0,RI as b1,NI as b2,CI as b3,es as b4,is as b5,II as b6,kI as b7,LI as b8,lr as c,eL as d,tL as e,nL as f,iL as g,BC as h,rL as i,ZI as j,ne as k,Pp as l,tI as m,pe as n,B as o,de as p,Le as q,Ue as r,nI as s,By as t,eI as u,Di as v,Z as w,dr as x,kn as y,WC as z};