@flarehr/apollo-benefits 2.12.619 → 2.12.621

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,788 +0,0 @@
1
- import{g as fr,c as Q,a as Jf,i as cs,b as fi}from"./lodash-5d893f8c.js";const Ci={type:null,entityIds:null,skip:!1,payload:null};let Uu=!1;function mm(){Uu=!1}function zn(e,t,n){He(e,t,n),Uu=!0}function He(e,t,n){Uu===!1&&(Ci.type=e,Ci.entityIds=t,Ci.payload=n)}function ym(e,t){return function(n,r,i){const a=i.value;return i.value=function(...o){return zn(e,t),a.apply(this,o)},i}}function xr(e,t){return e.hasOwnProperty(t)}function bt(e){return Array.isArray(e)}function Zf(e){return e.hasOwnProperty("active")}function ed(e){return bt(e)}function td({active:e,ids:t,entities:n}){return ed(e)?gm(e,t):xr(n,e)===!1?null:e}function gm(e,t){const n=e.filter(r=>t.indexOf(r)>-1);return n.length===e.length?e:n}function bm({state:e,entities:t,idKey:n,options:r={},preAddEntity:i}){let a={},o=[],u=!1;for(const l of t)if(xr(e.entities,l[n])===!1){const c=i(l),d=c[n];a[d]=c,r.prepend?o.unshift(d):o.push(d),u=!0}return u?{newState:{...e,entities:{...e.entities,...a},ids:r.prepend?[...o,...e.ids]:[...e.ids,...o]},newIds:o}:null}function ht(e){return e==null}function Qe(e){return ht(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 St(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)}function xu(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 Ct(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function _m(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(d){try{c(r.next(d))}catch(s){o(s)}}function l(d){try{c(r.throw(d))}catch(s){o(s)}}function c(d){d.done?a(d.value):i(d.value).then(u,l)}c((r=r.apply(e,t||[])).next())})}function nd(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(d){return l([c,d])}}function l(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(d){c=[6,d],i=0}finally{r=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function Yn(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 tn(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 Sn(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 Wn(e){return this instanceof Wn?(this.v=e,this):new Wn(e)}function wm(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(f){r[f]&&(i[f]=function(p){return new Promise(function(g,h){a.push([f,p,g,h])>1||u(f,p)})})}function u(f,p){try{l(r[f](p))}catch(g){s(a[0][3],g)}}function l(f){f.value instanceof Wn?Promise.resolve(f.value.v).then(c,d):s(a[0][2],f)}function c(f){u("next",f)}function d(f){u("throw",f)}function s(f,p){f(p),a.shift(),a.length&&u(a[0][0],a[0][1])}}function Em(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 Yn=="function"?Yn(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,l){o=e[a](o),i(u,l,o.done,o.value)})}}function i(a,o,u,l){Promise.resolve(l).then(function(c){a({value:c,done:u})},o)}}function le(e){return typeof e=="function"}function rd(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 Ua=rd(function(e){return function(n){e(this),this.message=n?n.length+` errors occurred during unsubscription:
2
- `+n.map(function(r,i){return i+1+") "+r.toString()}).join(`
3
- `):"",this.name="UnsubscriptionError",this.errors=n}});function Ui(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var ei=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=Yn(o),l=u.next();!l.done;l=u.next()){var c=l.value;c.remove(this)}}catch(h){t={error:h}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}else o.remove(this);var d=this.initialTeardown;if(le(d))try{d()}catch(h){a=h instanceof Ua?h.errors:[h]}var s=this._finalizers;if(s){this._finalizers=null;try{for(var f=Yn(s),p=f.next();!p.done;p=f.next()){var g=p.value;try{fs(g)}catch(h){a=a??[],h instanceof Ua?a=Sn(Sn([],tn(a)),tn(h.errors)):a.push(h)}}}catch(h){r={error:h}}finally{try{p&&!p.done&&(i=f.return)&&i.call(f)}finally{if(r)throw r.error}}}if(a)throw new Ua(a)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)fs(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)&&Ui(n,t)},e.prototype.remove=function(t){var n=this._finalizers;n&&Ui(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),id=ei.EMPTY;function ad(e){return e instanceof ei||e&&"closed"in e&&le(e.remove)&&le(e.add)&&le(e.unsubscribe)}function fs(e){le(e)?e():e.unsubscribe()}var od={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,Sn([e,t],tn(n))):setTimeout.apply(void 0,Sn([e,t],tn(n)))},clearTimeout:function(e){var t=Fo.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function ud(e){Fo.setTimeout(function(){throw e})}function Uo(){}function Li(e){e()}var Hu=function(e){St(t,e);function t(n){var r=e.call(this)||this;return r.isStopped=!1,n?(r.destination=n,ad(n)&&n.add(r)):r.destination=Am,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}(ei),Sm=Function.prototype.bind;function xa(e,t){return Sm.call(e,t)}var Om=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){di(r)}},e.prototype.error=function(t){var n=this.partialObserver;if(n.error)try{n.error(t)}catch(r){di(r)}else di(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(n){di(n)}},e}(),xo=function(e){St(t,e);function t(n,r,i){var a=e.call(this)||this,o;if(le(n)||!n)o={next:n??void 0,error:r??void 0,complete:i??void 0};else{var u;a&&od.useDeprecatedNextContext?(u=Object.create(n),u.unsubscribe=function(){return a.unsubscribe()},o={next:n.next&&xa(n.next,u),error:n.error&&xa(n.error,u),complete:n.complete&&xa(n.complete,u)}):o=n}return a.destination=new Om(o),a}return t}(Hu);function di(e){ud(e)}function Pm(e){throw e}var Am={closed:!0,next:Uo,error:Pm,complete:Uo},Ku=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function dr(e){return e}function Tm(e){return e.length===0?dr:e.length===1?e[0]:function(n){return e.reduce(function(r,i){return i(r)},n)}}var Ke=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=Cm(t)?t:new xo(t,n,r);return Li(function(){var o=i,u=o.operator,l=o.source;a.add(u?u.call(a,l):l?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=ds(n),new n(function(i,a){var o=new xo({next:function(u){try{t(u)}catch(l){a(l),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[Ku]=function(){return this},e.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return Tm(t)(this)},e.prototype.toPromise=function(t){var n=this;return t=ds(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 ds(e){var t;return(t=e??od.Promise)!==null&&t!==void 0?t:Promise}function Im(e){return e&&le(e.next)&&le(e.error)&&le(e.complete)}function Cm(e){return e&&e instanceof Hu||Im(e)&&ad(e)}function Lm(e){return le(e==null?void 0:e.lift)}function ut(e){return function(t){if(Lm(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 We(e,t,n,r,i){return new km(e,t,n,r,i)}var km=function(e){St(t,e);function t(n,r,i,a,o,u){var l=e.call(this,n)||this;return l.onFinalize=o,l.shouldUnsubscribe=u,l._next=r?function(c){try{r(c)}catch(d){n.error(d)}}:e.prototype._next,l._error=a?function(c){try{a(c)}catch(d){n.error(d)}finally{this.unsubscribe()}}:e.prototype._error,l._complete=i?function(){try{i()}catch(c){n.error(c)}finally{this.unsubscribe()}}:e.prototype._complete,l}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}(Hu),Rm=rd(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Mt=function(e){St(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 ps(this,this);return r.operator=n,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new Rm},t.prototype.next=function(n){var r=this;Li(function(){var i,a;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var o=Yn(r.currentObservers),u=o.next();!u.done;u=o.next()){var l=u.value;l.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;Li(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;Li(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?id:(this.currentObservers=null,u.push(n),new ei(function(){r.currentObservers=null,Ui(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 Ke;return n.source=this,n},t.create=function(n,r){return new ps(n,r)},t}(Ke),ps=function(e){St(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:id},t}(Mt),xi=function(e){St(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}(Mt),zu={now:function(){return(zu.delegate||Date).now()},delegate:void 0},ld=function(e){St(t,e);function t(n,r,i){n===void 0&&(n=1/0),r===void 0&&(r=1/0),i===void 0&&(i=zu);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,l=r._windowTime;i||(a.push(n),!o&&a.push(u.now()+l)),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(),l=0;l<u.length&&!n.closed;l+=a?1:2)n.next(u[l]);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 l=i.now(),c=0,d=1;d<a.length&&a[d]<=l;d+=2)c=d;c&&a.splice(0,c+1)}},t}(Mt),Nm=function(e){St(t,e);function t(n,r){return e.call(this)||this}return t.prototype.schedule=function(n,r){return this},t}(ei),Hi={setInterval:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Hi.delegate;return i!=null&&i.setInterval?i.setInterval.apply(i,Sn([e,t],tn(n))):setInterval.apply(void 0,Sn([e,t],tn(n)))},clearInterval:function(e){var t=Hi.delegate;return((t==null?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0},Mm=function(e){St(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),Hi.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&&Hi.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,Ui(a,this),r!=null&&(this.id=this.recycleAsyncId(i,r,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(Nm),vs=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=zu.now,e}(),Dm=function(e){St(t,e);function t(n,r){r===void 0&&(r=vs.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}(vs),pa=new Dm(Mm),$m=pa,jm=new Ke(function(e){return e.complete()});function sd(e){return e&&le(e.schedule)}function cd(e){return e[e.length-1]}function Bm(e){return le(cd(e))?e.pop():void 0}function Wu(e){return sd(cd(e))?e.pop():void 0}var qu=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function fd(e){return le(e==null?void 0:e.then)}function dd(e){return le(e[Ku])}function pd(e){return Symbol.asyncIterator&&le(e==null?void 0:e[Symbol.asyncIterator])}function vd(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 Fm(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var hd=Fm();function md(e){return le(e==null?void 0:e[hd])}function yd(e){return wm(this,arguments,function(){var n,r,i,a;return nd(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,Wn(n.read())];case 3:return r=o.sent(),i=r.value,a=r.done,a?[4,Wn(void 0)]:[3,5];case 4:return[2,o.sent()];case 5:return[4,Wn(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 gd(e){return le(e==null?void 0:e.getReader)}function Ft(e){if(e instanceof Ke)return e;if(e!=null){if(dd(e))return Um(e);if(qu(e))return xm(e);if(fd(e))return Hm(e);if(pd(e))return bd(e);if(md(e))return Km(e);if(gd(e))return zm(e)}throw vd(e)}function Um(e){return new Ke(function(t){var n=e[Ku]();if(le(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function xm(e){return new Ke(function(t){for(var n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Hm(e){return new Ke(function(t){e.then(function(n){t.closed||(t.next(n),t.complete())},function(n){return t.error(n)}).then(null,ud)})}function Km(e){return new Ke(function(t){var n,r;try{for(var i=Yn(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 bd(e){return new Ke(function(t){Wm(e,t).catch(function(n){return t.error(n)})})}function zm(e){return bd(yd(e))}function Wm(e,t){var n,r,i,a;return _m(this,void 0,void 0,function(){var o,u;return nd(this,function(l){switch(l.label){case 0:l.trys.push([0,5,6,11]),n=Em(e),l.label=1;case 1:return[4,n.next()];case 2:if(r=l.sent(),!!r.done)return[3,4];if(o=r.value,t.next(o),t.closed)return[2];l.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return u=l.sent(),i={error:u},[3,11];case 6:return l.trys.push([6,,9,10]),r&&!r.done&&(a=n.return)?[4,a.call(n)]:[3,8];case 7:l.sent(),l.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 Lt(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 _d(e,t){return t===void 0&&(t=0),ut(function(n,r){n.subscribe(We(r,function(i){return Lt(r,e,function(){return r.next(i)},t)},function(){return Lt(r,e,function(){return r.complete()},t)},function(i){return Lt(r,e,function(){return r.error(i)},t)}))})}function wd(e,t){return t===void 0&&(t=0),ut(function(n,r){r.add(e.schedule(function(){return n.subscribe(r)},t))})}function qm(e,t){return Ft(e).pipe(wd(t),_d(t))}function Gm(e,t){return Ft(e).pipe(wd(t),_d(t))}function Vm(e,t){return new Ke(function(n){var r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Ym(e,t){return new Ke(function(n){var r;return Lt(n,t,function(){r=e[hd](),Lt(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 le(r==null?void 0:r.return)&&r.return()}})}function Ed(e,t){if(!e)throw new Error("Iterable cannot be null");return new Ke(function(n){Lt(n,t,function(){var r=e[Symbol.asyncIterator]();Lt(n,t,function(){r.next().then(function(i){i.done?n.complete():n.next(i.value)})},0,!0)})})}function Xm(e,t){return Ed(yd(e),t)}function Qm(e,t){if(e!=null){if(dd(e))return qm(e,t);if(qu(e))return Vm(e,t);if(fd(e))return Gm(e,t);if(pd(e))return Ed(e,t);if(md(e))return Ym(e,t);if(gd(e))return Xm(e,t)}throw vd(e)}function pr(e,t){return t?Qm(e,t):Ft(e)}function Gu(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Wu(e);return pr(e,n)}function Sd(e){return!!e&&(e instanceof Ke||le(e.lift)&&le(e.subscribe))}function Jm(e){return e instanceof Date&&!isNaN(e)}function qe(e,t){return ut(function(n,r){var i=0;n.subscribe(We(r,function(a){r.next(e.call(t,a,i++))}))})}var Zm=Array.isArray;function ey(e,t){return Zm(t)?e.apply(void 0,Sn([],tn(t))):e(t)}function Od(e){return qe(function(t){return ey(e,t)})}var ty=Array.isArray,ny=Object.getPrototypeOf,ry=Object.prototype,iy=Object.keys;function ay(e){if(e.length===1){var t=e[0];if(ty(t))return{args:t,keys:null};if(oy(t)){var n=iy(t);return{args:n.map(function(r){return t[r]}),keys:n}}}return{args:e,keys:null}}function oy(e){return e&&typeof e=="object"&&ny(e)===ry}function uy(e,t){return e.reduce(function(n,r,i){return n[r]=t[i],n},{})}function ly(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Wu(e),r=Bm(e),i=ay(e),a=i.args,o=i.keys;if(a.length===0)return pr([],n);var u=new Ke(sy(a,n,o?function(l){return uy(o,l)}:dr));return r?u.pipe(Od(r)):u}function sy(e,t,n){return n===void 0&&(n=dr),function(r){hs(t,function(){for(var i=e.length,a=new Array(i),o=i,u=i,l=function(d){hs(t,function(){var s=pr(e[d],t),f=!1;s.subscribe(We(r,function(p){a[d]=p,f||(f=!0,u--),u||r.next(n(a.slice()))},function(){--o||r.complete()}))},r)},c=0;c<i;c++)l(c)},r)}}function hs(e,t,n){e?Lt(n,e,t):t()}function cy(e,t,n,r,i,a,o,u){var l=[],c=0,d=0,s=!1,f=function(){s&&!l.length&&!c&&t.complete()},p=function(h){return c<r?g(h):l.push(h)},g=function(h){a&&t.next(h),c++;var _=!1;Ft(n(h,d++)).subscribe(We(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 m=l.shift();o?Lt(t,o,function(){return g(m)}):g(m)};l.length&&c<r;)b();f()}catch(m){t.error(m)}}))};return e.subscribe(We(t,p,function(){s=!0,f()})),function(){u==null||u()}}function va(e,t,n){return n===void 0&&(n=1/0),le(t)?va(function(r,i){return qe(function(a,o){return t(r,a,i,o)})(Ft(e(r,i)))},n):(typeof t=="number"&&(n=t),ut(function(r,i){return cy(r,i,e,n)}))}function fy(e){return e===void 0&&(e=1/0),va(dr,e)}function dy(){return fy(1)}function py(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return dy()(pr(e,Wu(e)))}var vy=["addListener","removeListener"],hy=["addEventListener","removeEventListener"],my=["on","off"];function ms(e,t,n,r){if(le(n)&&(r=n,n=void 0),r)return ms(e,t,n).pipe(Od(r));var i=tn(by(e)?hy.map(function(u){return function(l){return e[u](t,l,n)}}):yy(e)?vy.map(ys(e,t)):gy(e)?my.map(ys(e,t)):[],2),a=i[0],o=i[1];if(!a&&qu(e))return va(function(u){return ms(u,t,n)})(Ft(e));if(!a)throw new TypeError("Invalid event target");return new Ke(function(u){var l=function(){for(var c=[],d=0;d<arguments.length;d++)c[d]=arguments[d];return u.next(1<c.length?c:c[0])};return a(l),function(){return o(l)}})}function ys(e,t){return function(n){return function(r){return e[n](t,r)}}}function yy(e){return le(e.addListener)&&le(e.removeListener)}function gy(e){return le(e.on)&&le(e.off)}function by(e){return le(e.addEventListener)&&le(e.removeEventListener)}function Pd(e,t,n){e===void 0&&(e=0),n===void 0&&(n=$m);var r=-1;return t!=null&&(sd(t)?n=t:r=t),new Ke(function(i){var a=Jm(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 ha(e,t){return ut(function(n,r){var i=0;n.subscribe(We(r,function(a){return e.call(t,a,i++)&&r.next(a)}))})}function _y(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()},l=function(){a=null,o&&n.complete()};t.subscribe(We(n,function(c){r=!0,i=c,a||Ft(e(c)).subscribe(a=We(n,u,l))},function(){o=!0,(!r||!a||a.closed)&&n.complete()}))})}function wy(e,t){return t===void 0&&(t=pa),_y(function(){return Pd(e,t)})}function wT(e,t){return t===void 0&&(t=pa),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 l(){var c=o+e,d=t.now();if(d<c){i=this.schedule(void 0,c-d),r.add(i);return}u()}n.subscribe(We(r,function(c){a=c,o=t.now(),i||(i=t.schedule(l,e),r.add(i))},function(){u(),r.complete()},void 0,function(){a=i=null}))})}function Ho(e){return e<=0?function(){return jm}:ut(function(t,n){var r=0;t.subscribe(We(n,function(i){++r<=e&&(n.next(i),e<=r&&n.complete())}))})}function Ey(){return ut(function(e,t){e.subscribe(We(t,Uo))})}function Sy(e){return qe(function(){return e})}function Ad(e,t){return t?function(n){return py(t.pipe(Ho(1),Ey()),n.pipe(Ad(e)))}:va(function(n,r){return Ft(e(n,r)).pipe(Ho(1),Sy(n))})}function Oy(e,t){t===void 0&&(t=pa);var n=Pd(e,t);return Ad(function(){return n})}function Hr(e,t){return t===void 0&&(t=dr),e=e??Py,ut(function(n,r){var i,a=!0;n.subscribe(We(r,function(o){var u=t(o);(a||!e(i,u))&&(a=!1,i=u,r.next(o))}))})}function Py(e,t){return e===t}function ET(){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 qe(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 Ay(e){return ha(function(t,n){return e<=n})}function ki(e,t){return ut(function(n,r){var i=null,a=0,o=!1,u=function(){return o&&!i&&r.complete()};n.subscribe(We(r,function(l){i==null||i.unsubscribe();var c=0,d=a++;Ft(e(l,d)).subscribe(i=We(r,function(s){return r.next(t?t(l,s,d,c++):s)},function(){i=null,u()}))},function(){o=!0,u()}))})}function ST(e,t,n){var r=le(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(We(a,function(l){var c;(c=r.next)===null||c===void 0||c.call(r,l),a.next(l)},function(){var l;u=!1,(l=r.complete)===null||l===void 0||l.call(r),a.complete()},function(l){var c;u=!1,(c=r.error)===null||c===void 0||c.call(r,l),a.error(l)},function(){var l,c;u&&((l=r.unsubscribe)===null||l===void 0||l.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):dr}const Ty="id";function Ot(e){return bt(e)?e.length===0:!1}function Ae(e){return typeof e=="function"}function Iy(){return Hr((e,t)=>e===t?!0:!bt(e)||!bt(t)?!1:Ot(e)&&Ot(t)?!0:e.length!==t.length?!1:t.some((r,i)=>e[i]!==r)===!1)}function Vu(e){const t=typeof e;return e!=null&&(t=="object"||t=="function")}function OT(e){return ly(e).pipe(wy(0))}let Td={resettable:!1,ttl:null,producerFn:void 0};function gs(){return Td}function Cy(){return Td.producerFn}function Ki(e){return ht(e)===!1}const Id=new Mt,Cd=new ld(50,5e3),Ly=new Mt;function ky(e){Id.next(e)}function Ry(e){Cd.next(e)}function Ny(e,t){Ly.next({storeName:e,action:t})}const ma=typeof window<"u",My=!ma,bs=()=>{try{return typeof localStorage<"u"}catch{return!1}},Dy=()=>{try{return typeof sessionStorage<"u"}catch{return!1}},_t={},Ld={};ma&&(window.$$stores=_t,window.$$queries=Ld);var zi;(function(e){e.ASC="asc",e.DESC="desc"})(zi||(zi={}));function $y(e,t=zi.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==zi.DESC?o*-1:o}}function jy(e,t){let n=[];const{ids:r,entities:i}=e,{filterBy:a,limitTo:o,sortBy:u,sortByOrder:l}=t;for(let d=0;d<r.length;d++){const s=i[r[d]];if(!a){n.push(s);continue}Qe(a).every(g=>g(s,d))&&n.push(s)}if(u){let d=Ae(u)?u:$y(u,l);n=n.sort((s,f)=>d(s,f,e))}const c=Math.min(o||n.length,n.length);return c===n.length?n:n.slice(0,c)}function By(e,t){const n={},{filterBy:r,limitTo:i}=t,{ids:a,entities:o}=e;if(!r&&!i)return o;const u=ht(i)===!1;if(r&&u){let l=0;for(let c=0,d=a.length;c<d&&l!==i;c++){const s=a[c],f=o[s];Qe(r).every(g=>g(f,c))&&(n[s]=f,l++)}}else{const l=Math.min(i||a.length,a.length);for(let c=0;c<l;c++){const d=a[c],s=o[d];if(!r){n[d]=s;continue}Qe(r).every(p=>p(s,c))&&(n[d]=s)}}return n}var Kt;(function(e){e.Set="Set",e.Add="Add",e.Update="Update",e.Remove="Remove"})(Kt||(Kt={}));let Yu=!0;function PT(){Yu=!1,ma&&(delete window.$$stores,delete window.$$queries)}function Oe(){return Yu}function Fy(e,t,n){let r;if(bt(e))r=e;else if(Vu(e)){if(ht(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 Uy=()=>({entities:{},ids:[],loading:!0,error:null});function jn(e){return e===void 0}function xy({state:e,ids:t}){if(ht(t))return Hy(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 Zf(e)&&(i.active=td(i)),i}function Hy(e){return{...e,entities:{},ids:[],active:ed(e.active)?[]:null}}function Ky(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 zy(e){return e.entities&&e.ids}function _s(e,t){let n={};for(const r of Object.keys(e))n[r]=t(e[r]);return n}function Wy({state:e,entities:t,idKey:n,preAddEntity:r,isNativePreAdd:i}){let a,o;if(bt(t)){const l=Ky(t,n,r);a=l.entities,o=l.ids}else zy(t)?(a=i?t.entities:_s(t.entities,r),o=t.ids):(a=i?t:_s(t,r),o=Object.keys(a).map(l=>isNaN(l)?l:Number(l)));const u={...e,entities:a,ids:o,loading:!1};return Zf(e)&&(u.active=td(u)),u}function kd(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])&&kd(e[r])}),e}function qy(e,t){e||console.error(`@StoreConfig({ name }) is missing in ${t}`)}function Xu(e){return e!=null&&`${e}`!="false"}function Ko(e){return Xu(e)&&e.constructor.name==="Object"}const Ri="akitaConfig";function AT(e){return function(t){t[Ri]={idKey:"id"};for(let n=0,r=Object.keys(e);n<r.length;n++){const i=r[n];i==="name"?t[Ri].storeName=e[i]:t[Ri][i]=e[i]}}}const Gy=new Mt,Rd=new xi(!1),Qt={activeTransactions:0,batchTransaction:null};function Vy(){Nd()||(Qt.batchTransaction=new Mt),Qt.activeTransactions++,Rd.next(!0)}function Yy(){--Qt.activeTransactions===0&&(Qt.batchTransaction.next(!0),Qt.batchTransaction.complete(),Rd.next(!1),Gy.next(!0))}function Nd(){return Qt.activeTransactions>0}function Xy(){return Qt.batchTransaction?Qt.batchTransaction.asObservable():Gu(!0)}function Qu(e,t=void 0){Vy();try{return e.apply(t)}finally{zn("@Transaction"),Yy()}}function Md(){return function(e,t,n){const r=n.value;return n.value=function(...i){return Qu(()=>r.apply(this,i),this)},n}}class Qy{constructor(t,n={}){this.options=n,this.inTransaction=!1,this.cache={active:new xi(!1),ttl:null},this.onInit(t)}setLoading(t=!1){t!==this._value().loading&&(Oe()&&He("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&&(Oe()&&He("Set Error"),this._setState(n=>({...n,error:t})))}_select(t){return this.store.asObservable().pipe(qe(n=>t(n.state)),Hr())}_value(){return this.storeValue}_cache(){return this.cache.active}get config(){return this.constructor[Ri]||{}}get storeName(){return this.config.storeName||this.options.storeName||this.options.name}get deepFreeze(){return this.config.deepFreezeFn||this.options.deepFreezeFn||kd}get cacheConfig(){return this.config.cache||this.options.cache}get _producerFn(){return this.config.producerFn||this.options.producerFn||Cy()}get resettable(){return Ki(this.config.resettable)?this.config.resettable:this.options.resettable}_setState(t,n=!0){if(Ae(t)){const r=t(this._value());this.storeValue=Yu?this.deepFreeze(r):r}else this.storeValue=t;if(!this.store){this.store=new xi({state:this.storeValue}),Oe()&&this.store.subscribe(({action:r})=>{r&&Ny(this.storeName,r)});return}if(Nd()){this.handleTransaction();return}this.dispatch(this.storeValue,n)}reset(){this.isResettable()&&(Oe()&&He("Reset"),this._setState(()=>Object.assign({},this._initialState)),this.setHasCache(!1))}update(t){Oe()&&He("Update");let n;const r=this._value();Ae(t)?n=Ae(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(){!(ma?window.hmrEnabled:!1)&&this===_t[this.storeName]&&(delete _t[this.storeName],ky(this.storeName),this.setHasCache(!1),this.cache.active.complete(),this.store.complete())}onInit(t){_t[this.storeName]=this,this._setState(()=>t),Ry(this.storeName),this.isResettable()&&(this._initialState=t),Oe()&&qy(this.storeName,this.constructor.name)}dispatch(t,n=!0){let r;n&&(r=Ci,mm()),this.store.next({state:t,action:r})}watchTransaction(){Xy().subscribe(()=>{this.inTransaction=!1,this.dispatch(this._value())})}isResettable(){return this.resettable===!1?!1:this.resettable||gs().resettable}handleTransaction(){this.inTransaction||(this.watchTransaction(),this.inTransaction=!0)}getCacheTTL(){return this.cacheConfig&&this.cacheConfig.ttl||gs().ttl}}function Jy({state:e,ids:t,idKey:n,newStateOrFn:r,preUpdateEntity:i,producerFn:a,onEntityIdChanges:o}){const u={};let l=!1,c;for(const f of t){if(xr(e.entities,f)===!1)continue;const p=e.entities[f];let g;Ae(r)?g=Ae(a)?a(p,r):r(p):g=r;const h=g.hasOwnProperty(n)&&g[n]!==p[n];let _;c=f,h&&(l=!0,c=g[n]);const b={...p,...g};Ko(p)?_=b:Ko(g)?_=new p.constructor(b):_=new g.constructor(b),u[c]=i(p,_)}let d=e.ids,s=e.entities;if(l){const[f]=t,{[f]:p,...g}=e.entities;s=g,d=e.ids.map(h=>h===f?c:h),o(f,c)}return{...e,entities:{...s,...u},ids:d}}var ws;class Xn extends Qy{constructor(t={},n={}){super({...Uy(),...t},n),this.options=n,this.entityActions=new Mt,this.entityIdChanges=new Mt}get selectEntityAction$(){return this.entityActions.asObservable()}get selectEntityIdChanges$(){return this.entityIdChanges.asObservable()}get idKey(){return this.config.idKey||this.options.idKey||Ty}set(t,n={}){if(ht(t))return;Oe()&&He("Set Entity");const r=this.akitaPreAddEntity===Xn.prototype.akitaPreAddEntity;this.setHasCache(!0,{restartTTL:!0}),this._setState(i=>{const a=Wy({state:i,entities:t,idKey:this.idKey,preAddEntity:this.akitaPreAddEntity.bind(this),isNativePreAdd:r});return jn(n.activeId)===!1&&(a.active=n.activeId),a}),this.hasInitialUIState()&&this.handleUICreation(),this.entityActions.next({type:Kt.Set,ids:this.ids})}add(t,n={loading:!1}){const r=Qe(t);if(Ot(r))return;const i=bm({state:this._value(),preAddEntity:this.akitaPreAddEntity.bind(this),entities:r,idKey:this.idKey,options:n});i&&(Oe()&&He("Add Entity"),i.newState.loading=n.loading,this._setState(()=>i.newState),this.hasInitialUIState()&&this.handleUICreation(!0),this.entityActions.next({type:Kt.Add,ids:i.newIds}))}update(t,n){if(jn(n)){super.update(t);return}let r=[];if(Ae(t)?r=this.ids.filter(a=>t(this.entities[a])):r=ht(t)?this.ids:Qe(t),Ot(r))return;Oe()&&He("Update Entity",r);let i;this._setState(a=>Jy({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:Kt.Update,ids:r})}upsert(t,n,r,i={}){const a=Qe(t),o=s=>f=>xr(this.entities,f)===s,u=Ae(r)?i.baseClass:r?r.baseClass:void 0,l=Ae(u),c=a.filter(o(!0)),d=a.filter(o(!1)).map(s=>{const f=typeof n=="function"?n({}):n,g={...Ae(r)?r(s,f):f,[this.idKey]:s};return l?new u(g):g});this.update(c,n),this.add(d),Oe()&&zn("Upsert Entity")}upsertMany(t,n={}){const r=[],i=[],a={};for(const o of t){const u=this.akitaPreCheckEntity(o),l=u[this.idKey];if(xr(this.entities,l)){const c=this._value().entities[l],d={...this._value().entities[l],...u},s=n.baseClass?new n.baseClass(d):d,f=this.akitaPreUpdateEntity(c,s),p=f[this.idKey];a[p]=f,i.push(p)}else{const c=n.baseClass?new n.baseClass(u):u,d=this.akitaPreAddEntity(c),s=d[this.idKey];r.push(s),a[s]=d}}Oe()&&zn("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:Kt.Update,ids:i}),r.length&&this.entityActions.next({type:Kt.Add,ids:r}),r.length&&this.hasUIStore()&&this.handleUICreation(!0)}replace(t,n){const r=Qe(t);if(Ot(r))return;const i={};for(const a of r)i[a]={...n,[this.idKey]:a};Oe()&&He("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]),Oe()&&He("Move Entity"),this._setState(i=>({...i,entities:{...i.entities},ids:r}))}remove(t){if(Ot(this.ids))return;const n=Ki(t);let r=[];Ae(t)?r=this.ids.filter(i=>t(this.entities[i])):r=n?Qe(t):this.ids,!Ot(r)&&(Oe()&&He("Remove Entity",r),this._setState(i=>xy({state:i,ids:r})),n||this.setHasCache(!1),this.handleUIRemove(r),this.entityActions.next({type:Kt.Remove,ids:r}))}updateActive(t){const n=Qe(this.active);Oe()&&He("Update Active",n),this.update(n,t)}setActive(t){const n=Fy(t,this.ids,this.active);n!==void 0&&(Oe()&&He("Set Active",n),this._setActive(n))}addActive(t){const n=Qe(t);Ot(n)||n.every(i=>this.active.indexOf(i)>-1)||(Oe()&&He("Add Active",t),this._setState(i=>{const a=Array.from(new Set([...i.active,...n]));return{...i,active:a}}))}removeActive(t){const n=Qe(t);Ot(n)||!n.some(i=>this.active.indexOf(i)>-1)||(Oe()&&He("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=Qe(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),Oe()&&zn("Toggle Active")}createUIStore(t={},n={}){const r={name:`UI/${this.storeName}`,idKey:this.idKey};return this.ui=new Es(t,{...r,...n}),this.ui}destroy(){super.destroy(),this.ui instanceof Xn&&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=Ae(this.ui._akitaCreateEntityFn);let i;const a=o=>{const u=this.entities[o],l=r?this.ui._akitaCreateEntityFn(u):this.ui._akitaCreateEntityFn;return{[this.idKey]:u[this.idKey],...l}};t?i=this.ids.filter(o=>jn(this.ui.entities[o])).map(a):i=n.map(a),t?this.ui.add(i):this.ui.set(i)}hasInitialUIState(){return this.hasUIStore()&&jn(this.ui._akitaCreateEntityFn)===!1}handleUIRemove(t){this.hasUIStore()&&this.ui.remove(t)}hasUIStore(){return this.ui instanceof Es}}xu([Md(),Ct("design:type",Function),Ct("design:paramtypes",[Object,Object,Object,Object]),Ct("design:returntype",void 0)],Xn.prototype,"upsert",null);xu([Md(),Ct("design:type",Function),Ct("design:paramtypes",[typeof(ws=typeof T<"u"&&T)=="function"?ws:Object]),Ct("design:returntype",void 0)],Xn.prototype,"toggleActive",null);class Es extends Xn{constructor(t={},n={}){super(t,n)}setInitialEntityState(t){this._akitaCreateEntityFn=t}}function Zy(){return ha(e=>e!=null)}function eg(e){return function(t,n){const r=Ae(e[0]);return e.some(i=>r?i(t)!==i(n):t[i]!==n[i])===!1}}function Dd(e){return typeof e=="string"}const tg="akitaQueryConfig";class ng{constructor(t){this.store=t,this.__store__=t,Oe()&&(Ld[t.storeName]=this)}select(t){let n;if(Ae(t))n=t;else if(Dd(t))n=r=>r[t];else{if(Array.isArray(t))return this.store._select(r=>r).pipe(Hr(eg(t)),qe(r=>Ae(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[tg]}}function rg(e,t){for(const n of Object.keys(t))if(e(t[n])===!0)return n}function Ss(e,t){return function(n){const r=n[e];if(!jn(r))return t?Dd(t)?r[t]:t(r):r}}function ig(e,t){return e.reduce((n,r,i,a)=>{const o=t(r,i,a);return o!==void 0&&n.push(o),n},[])}function ag(e,t){e.sortBy=e.sortBy||t&&t.sortBy,e.sortByOrder=e.sortByOrder||t&&t.sortByOrder}class og extends ng{constructor(t,n={}){super(t),this.options=n,this.__store__=t}selectAll(t={asObject:!1}){return this.select(n=>n.entities).pipe(qe(()=>this.getAll(t)))}getAll(t={asObject:!1,filterBy:void 0,limitTo:void 0}){return t.asObject?By(this.getValue(),t):(ag(t,this.config||this.options),jy(this.getValue(),t))}selectMany(t,n){return!t||!t.length?Gu([]):this.select(r=>r.entities).pipe(qe(r=>ig(t,i=>Ss(i,n)(r))),Iy())}selectEntity(t,n){let r=t;return Ae(t)&&(r=rg(t,this.getValue().entities)),this.select(i=>i.entities).pipe(qe(Ss(r,n)),Hr())}getEntity(t){return this.getValue().entities[t]}selectActiveId(){return this.select(t=>t.active)}getActiveId(){return this.getValue().active}selectActive(t){return bt(this.getActive())?this.selectActiveId().pipe(ki(n=>this.selectMany(n,t))):this.selectActiveId().pipe(ki(n=>this.selectEntity(n,t)))}getActive(){const t=this.getActiveId();return bt(t)?t.map(n=>this.getValue().entities[n]):Xu(t)?this.getEntity(t):void 0}selectCount(t){return this.select(n=>n.entities).pipe(qe(()=>this.getCount(t)))}getCount(t){return Ae(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(ht(t))return this.store.selectEntityAction$;const n=bt(t)?i=>i:({ids:i})=>i,r=Qe(t);return this.store.selectEntityAction$.pipe(ha(({type:i})=>r.includes(i)),qe(i=>n(i)))}hasEntity(t){return ht(t)?this.getValue().ids.length>0:Ae(t)?this.getAll().some(t):bt(t)?t.every(n=>n in this.getValue().entities):t in this.getValue().entities}hasActive(t){const n=this.getValue().active,r=Ki(t);return Array.isArray(n)?r?n.includes(t):n.length>0:r?n===t:Ki(n)}createUIQuery(){this.ui=new ug(this.__store__.ui)}selectAt(t,n){return this.select(r=>r.ids).pipe(qe(t),Hr(),ki(r=>this.selectEntity(r,n)))}}class ug extends og{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 $d(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,l,c)=>c!==a?(u[l]={...u[l]},u&&u[l]):(u[l]=r||Array.isArray(u[l])||!Vu(u[l])?n:{...u[l],...n},u&&u[l]),e),e}let lg=!1;const sg=new ld(1);function cg(){return lg}function fg(e){return e&&Ae(e.then)}function Pr(e){return fg(e)||Sd(e)?pr(e):Gu(e)}function TT(e){const t={key:"AkitaStores",enableInNonBrowser:!1,storage:bs()?localStorage:e.storage,deserialize:JSON.parse,serialize:JSON.stringify,include:[],select:[],persistOnDestroy:!1,preStorageUpdate:function(E,P){return P},preStoreUpdate:function(E,P){return P},skipStorageUpdate:cg,preStorageUpdateOperator:()=>E=>E},{storage:n,enableInNonBrowser:r,deserialize:i,serialize:a,include:o,select:u,key:l,preStorageUpdate:c,persistOnDestroy:d,preStorageUpdateOperator:s,preStoreUpdate:f,skipStorageUpdate:p}=Object.assign({},t,e);if(My&&!r||!n)return;const g=o.length>0,h=u.length>0;let _,b;g&&(_=o.reduce((E,P)=>{if(Ae(P))E.fns.push(P);else{const A=P.split(".")[0];E[A]=P}return E},{fns:[]})),h&&(b=u.reduce((E,P)=>(E[P.storeName]=P,E),{}));let m={};const v={},y=[],w=[];function O(E){Pr(E).subscribe(()=>{const P=w.shift();P&&O(P)})}const S=bs()&&n===localStorage||Dy()&&n===sessionStorage;return Pr(n.getItem(l)).subscribe(E=>{let P=Vu(E)?E:i(E||"{}");function A($){P.$cache={...P.$cache||{},...$},P=Object.assign({},P,v),w.push(n.setItem(l,S?a(P):P)),O(w.shift())}function L($,C){m[$]=_t[$]._select(I=>zo(I,C)).pipe(Ay(1),qe(I=>h&&b[$]?b[$](I):I),ha(()=>p()===!1),s()).subscribe(I=>{v[$]=c($,I),Promise.resolve().then(()=>A({[$]:_t[$]._cache().getValue()}))})}function N($,C,I){if($ in P){He("@PersistState"),C._setState(D=>$d(D,I,f($,P[$],D)));const k=P.$cache?P.$cache[$]:!1;_t[$].setHasCache(k,{restartTTL:!0})}}y.push(Id.subscribe($=>{m[$]&&(d===!1&&A({[$]:!1}),m[$].unsubscribe(),delete m[$])})),y.push(Cd.subscribe($=>{if($==="router")return;const C=_t[$];if(g){let I=_[$];if(!I)if(_.fns.some(D=>D($)))I=$;else return;N($,C,I),L($,I)}else N($,C,$),L($,$)})),sg.next(!0)}),{destroy(){y.forEach(E=>E.unsubscribe());for(let E=0,P=Object.keys(m);E<P.length;E++){const A=P[E];m[A].unsubscribe()}m={}},clear(){n.clear()},clearStore(E){if(ht(E)){Pr(n.setItem(l,"{}")).subscribe();return}const P=n.getItem(l);Pr(P).subscribe(A=>{const L=i(A||"{}");L[E]&&(delete L[E],Pr(n.setItem(l,a(L))).subscribe())})}}}class dg{constructor(t,n){this.query=t,n&&n.resetFn}getQuery(){return this.query}getStore(){return this.getQuery().__store__}isEntityBased(t){return Xu(t)}selectSource(t,n){return this.isEntityBased(t)?this.getQuery().selectEntity(t).pipe(Zy()):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=>$d(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 pg={pagesControls:!1,range:!1,startWith:1,cacheTimeout:void 0,clearStoreWithCache:!0};class vg extends dg{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(Oy(0)),this.config={...pg,...n};const{startWith:r,cacheTimeout:i}=this.config;this.page=new xi(r),Sd(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||(zn("@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(),jn(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),pr(t()).pipe(ki(r=>(n=r.currentPage,Qu(()=>{this.setLoading(!1),this.update(r)}),this.selectPage(n)))))}getQuery(){return this.query}refreshCurrentPage(){ht(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),qe(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=hg(this.pagination.total,this.pagination.perPage)),r}))}}xu([ym("@Pagination - New Page"),Ct("design:type",Function),Ct("design:paramtypes",[Object]),Ct("design:returntype",void 0)],vg.prototype,"update",null);function hg(e,t){const n=Math.ceil(e/t),r=[];for(let i=0;i<n;i++)r.push(i+1);return r}function IT(e){e=Object.assign({},{exclude:[]},e);const n=Object.keys(_t);Qu(()=>{for(const r of n){const i=_t[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 Pt;(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"})(Pt||(Pt={}));Pt.Update+"",Pt.AddEntities+"",Pt.SetEntities+"",Pt.UpdateEntities+"",Pt.RemoveEntities+"",Pt.UpsertEntities+"",Pt.UpsertManyEntities+"";const mg="modulepreload",yg=function(e){return"/benefits/app/"+e},Os={},CT=function(t,n,r){if(!n||n.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(n.map(a=>{if(a=yg(a),a in Os)return;Os[a]=!0;const o=a.endsWith(".css"),u=o?'[rel="stylesheet"]':"";if(!!r)for(let d=i.length-1;d>=0;d--){const s=i[d];if(s.href===a&&(!o||s.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${u}`))return;const c=document.createElement("link");if(c.rel=o?"stylesheet":mg,o||(c.as="script",c.crossOrigin=""),c.href=a,document.head.appendChild(c),o)return new Promise((d,s)=>{c.addEventListener("load",d),c.addEventListener("error",()=>s(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 ti,q,jd,pn,Ps,Bd,qo,Fd,qn={},Ud=[],gg=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,ya=Array.isArray;function It(e,t){for(var n in t)e[n]=t[n];return e}function xd(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?ti.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 Nr(e,o,r,i,null)}function Nr(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??++jd};return i==null&&q.vnode!=null&&q.vnode(a),a}function Kr(){return{current:null}}function ye(e){return e.children}function ot(e,t){this.props=e,this.context=t}function zr(e,t){if(t==null)return e.__?zr(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"?zr(e):null}function Hd(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 Hd(e)}}function Go(e){(!e.__d&&(e.__d=!0)&&pn.push(e)&&!Wi.__r++||Ps!==q.debounceRendering)&&((Ps=q.debounceRendering)||Bd)(Wi)}function Wi(){var e,t,n,r,i,a,o,u,l;for(pn.sort(qo);e=pn.shift();)e.__d&&(t=pn.length,r=void 0,i=void 0,a=void 0,u=(o=(n=e).__v).__e,(l=n.__P)&&(r=[],i=[],(a=It({},o)).__v=o.__v+1,Ju(l,o,a,n.__n,l.ownerSVGElement!==void 0,o.__h!=null?[u]:null,r,u??zr(o),o.__h,i),qd(r,o,i),o.__e!=u&&Hd(o)),pn.length>t&&pn.sort(qo));Wi.__r=0}function Kd(e,t,n,r,i,a,o,u,l,c,d){var s,f,p,g,h,_,b,m,v,y=0,w=r&&r.__k||Ud,O=w.length,S=O,E=t.length;for(n.__k=[],s=0;s<E;s++)(g=n.__k[s]=(g=t[s])==null||typeof g=="boolean"||typeof g=="function"?null:typeof g=="string"||typeof g=="number"||typeof g=="bigint"?Nr(null,g,null,null,g):ya(g)?Nr(ye,{children:g},null,null,null):g.__b>0?Nr(g.type,g.props,g.key,g.ref?g.ref:null,g.__v):g)!=null?(g.__=n,g.__b=n.__b+1,(m=bg(g,w,b=s+y,S))===-1?p=qn:(p=w[m]||qn,w[m]=void 0,S--),Ju(e,g,p,i,a,o,u,l,c,d),h=g.__e,(f=g.ref)&&p.ref!=f&&(p.ref&&Zu(p.ref,null,g),d.push(f,g.__c||h,g)),h!=null&&(_==null&&(_=h),(v=p===qn||p.__v===null)?m==-1&&y--:m!==b&&(m===b+1?y++:m>b?S>E-b?y+=m-b:y--:y=m<b&&m==b-1?m-b:0),b=s+y,typeof g.type!="function"||m===b&&p.__k!==g.__k?typeof g.type=="function"||m===b&&!v?g.__d!==void 0?(l=g.__d,g.__d=void 0):l=h.nextSibling:l=Wd(e,h,l):l=zd(g,l,e),typeof n.type=="function"&&(n.__d=l))):(p=w[s])&&p.key==null&&p.__e&&(p.__e==l&&(p.__=r,l=zr(p)),Vo(p,p,!1),w[s]=null);for(n.__e=_,s=O;s--;)w[s]!=null&&(typeof n.type=="function"&&w[s].__e!=null&&w[s].__e==n.__d&&(n.__d=w[s].__e.nextSibling),Vo(w[s],w[s]))}function zd(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"?zd(r,t,n):Wd(n,r.__e,t));return t}function vt(e,t){return t=t||[],e==null||typeof e=="boolean"||(ya(e)?e.some(function(n){vt(n,t)}):t.push(e)),t}function Wd(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 bg(e,t,n,r){var i=e.key,a=e.type,o=n-1,u=n+1,l=t[n];if(l===null||l&&i==l.key&&a===l.type)return n;if(r>(l!=null?1:0))for(;o>=0||u<t.length;){if(o>=0){if((l=t[o])&&i==l.key&&a===l.type)return o;o--}if(u<t.length){if((l=t[u])&&i==l.key&&a===l.type)return u;u++}}return-1}function _g(e,t,n,r,i){var a;for(a in n)a==="children"||a==="key"||a in t||qi(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]||qi(e,a,t[a],n[a],r)}function As(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||gg.test(t)?n:n+"px"}function qi(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||As(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||As(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?Is:Ts,a)):e.removeEventListener(t,a?Is:Ts,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 Ts(e){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(q.event?q.event(e):e)}function Is(e){return this.l[e.type+!0](q.event?q.event(e):e)}function Ju(e,t,n,r,i,a,o,u,l,c){var d,s,f,p,g,h,_,b,m,v,y,w,O,S,E,P=t.type;if(t.constructor!==void 0)return null;n.__h!=null&&(l=n.__h,u=t.__e=n.__e,t.__h=null,a=[u]),(d=q.__b)&&d(t);e:if(typeof P=="function")try{if(b=t.props,m=(d=P.contextType)&&r[d.__c],v=d?m?m.props.value:d.__:r,n.__c?_=(s=t.__c=n.__c).__=s.__E:("prototype"in P&&P.prototype.render?t.__c=s=new P(b,v):(t.__c=s=new ot(b,v),s.constructor=P,s.render=Eg),m&&m.sub(s),s.props=b,s.state||(s.state={}),s.context=v,s.__n=r,f=s.__d=!0,s.__h=[],s._sb=[]),s.__s==null&&(s.__s=s.state),P.getDerivedStateFromProps!=null&&(s.__s==s.state&&(s.__s=It({},s.__s)),It(s.__s,P.getDerivedStateFromProps(b,s.__s))),p=s.props,g=s.state,s.__v=t,f)P.getDerivedStateFromProps==null&&s.componentWillMount!=null&&s.componentWillMount(),s.componentDidMount!=null&&s.__h.push(s.componentDidMount);else{if(P.getDerivedStateFromProps==null&&b!==p&&s.componentWillReceiveProps!=null&&s.componentWillReceiveProps(b,v),!s.__e&&(s.shouldComponentUpdate!=null&&s.shouldComponentUpdate(b,s.__s,v)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(s.props=b,s.state=s.__s,s.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(A){A&&(A.__=t)}),y=0;y<s._sb.length;y++)s.__h.push(s._sb[y]);s._sb=[],s.__h.length&&o.push(s);break e}s.componentWillUpdate!=null&&s.componentWillUpdate(b,s.__s,v),s.componentDidUpdate!=null&&s.__h.push(function(){s.componentDidUpdate(p,g,h)})}if(s.context=v,s.props=b,s.__P=e,s.__e=!1,w=q.__r,O=0,"prototype"in P&&P.prototype.render){for(s.state=s.__s,s.__d=!1,w&&w(t),d=s.render(s.props,s.state,s.context),S=0;S<s._sb.length;S++)s.__h.push(s._sb[S]);s._sb=[]}else do s.__d=!1,w&&w(t),d=s.render(s.props,s.state,s.context),s.state=s.__s;while(s.__d&&++O<25);s.state=s.__s,s.getChildContext!=null&&(r=It(It({},r),s.getChildContext())),f||s.getSnapshotBeforeUpdate==null||(h=s.getSnapshotBeforeUpdate(p,g)),Kd(e,ya(E=d!=null&&d.type===ye&&d.key==null?d.props.children:d)?E:[E],t,n,r,i,a,o,u,l,c),s.base=t.__e,t.__h=null,s.__h.length&&o.push(s),_&&(s.__E=s.__=null)}catch(A){t.__v=null,(l||a!=null)&&(t.__e=u,t.__h=!!l,a[a.indexOf(u)]=null),q.__e(A,t,n)}else a==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=wg(n.__e,t,n,r,i,a,o,l,c);(d=q.diffed)&&d(t)}function qd(e,t,n){for(var r=0;r<n.length;r++)Zu(n[r],n[++r],n[++r]);q.__c&&q.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(a){a.call(i)})}catch(a){q.__e(a,i.__v)}})}function wg(e,t,n,r,i,a,o,u,l){var c,d,s,f=n.props,p=t.props,g=t.type,h=0;if(g==="svg"&&(i=!0),a!=null){for(;h<a.length;h++)if((c=a[h])&&"setAttribute"in c==!!g&&(g?c.localName===g:c.nodeType===3)){e=c,a[h]=null;break}}if(e==null){if(g===null)return document.createTextNode(p);e=i?document.createElementNS("http://www.w3.org/2000/svg",g):document.createElement(g,p.is&&p),a=null,u=!1}if(g===null)f===p||u&&e.data===p||(e.data=p);else{if(a=a&&ti.call(e.childNodes),d=(f=n.props||qn).dangerouslySetInnerHTML,s=p.dangerouslySetInnerHTML,!u){if(a!=null)for(f={},h=0;h<e.attributes.length;h++)f[e.attributes[h].name]=e.attributes[h].value;(s||d)&&(s&&(d&&s.__html==d.__html||s.__html===e.innerHTML)||(e.innerHTML=s&&s.__html||""))}if(_g(e,p,f,i,u),s)t.__k=[];else if(Kd(e,ya(h=t.props.children)?h:[h],t,n,r,i&&g!=="foreignObject",a,o,a?a[0]:n.__k&&zr(n,0),u,l),a!=null)for(h=a.length;h--;)a[h]!=null&&xd(a[h]);u||("value"in p&&(h=p.value)!==void 0&&(h!==e.value||g==="progress"&&!h||g==="option"&&h!==f.value)&&qi(e,"value",h,f.value,!1),"checked"in p&&(h=p.checked)!==void 0&&h!==e.checked&&qi(e,"checked",h,f.checked,!1))}return e}function Zu(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){q.__e(r,n)}}function Vo(e,t,n){var r,i;if(q.unmount&&q.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||Zu(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(a){q.__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||xd(e.__e),e.__=e.__e=e.__d=void 0}function Eg(e,t,n){return this.constructor(e,n)}function Qn(e,t,n){var r,i,a,o;q.__&&q.__(e,t),i=(r=typeof n=="function")?null:n&&n.__k||t.__k,a=[],o=[],Ju(t,e=(!r&&n||t).__k=B(ye,null,[e]),i||qn,qn,t.ownerSVGElement!==void 0,!r&&n?[n]:i?null:t.firstChild?ti.call(t.childNodes):null,a,!r&&n?n:i?i.__e:t.firstChild,r,o),qd(a,e,o)}function el(e,t){Qn(e,t,el)}function Gd(e,t,n){var r,i,a,o,u=It({},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?ti.call(arguments,2):n),Nr(e.type,u,r||e.key,i||e.ref,null)}function Re(e,t){var n={__c:t="__cC"+Fd++,__: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}ti=Ud.slice,q={__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}},jd=0,ot.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=It({},this.state),typeof e=="function"&&(e=e(It({},n),this.props)),e&&It(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Go(this))},ot.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Go(this))},ot.prototype.render=ye,pn=[],Bd=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,qo=function(e,t){return e.__v.__b-t.__v.__b},Wi.__r=0,Fd=0;var Dt,fe,Ha,Cs,Jn=0,Vd=[],Ni=[],Ls=q.__b,ks=q.__r,Rs=q.diffed,Ns=q.__c,Ms=q.unmount;function Tn(e,t){q.__h&&q.__h(fe,e,Jn||t),Jn=0;var n=fe.__H||(fe.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:Ni}),n.__[e]}function Be(e){return Jn=1,In(Jd,e)}function In(e,t,n){var r=Tn(Dt++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Jd(void 0,t),function(u){var l=r.__N?r.__N[0]:r.__[0],c=r.t(l,u);l!==c&&(r.__N=[c,r.__[1]],r.__c.setState({}))}],r.__c=fe,!fe.u)){var i=function(u,l,c){if(!r.__c.__H)return!0;var d=r.__c.__H.__.filter(function(f){return f.__c});if(d.every(function(f){return!f.__N}))return!a||a.call(this,u,l,c);var s=!1;return d.forEach(function(f){if(f.__N){var p=f.__[0];f.__=f.__N,f.__N=void 0,p!==f.__[0]&&(s=!0)}}),!(!s&&r.__c.props===u)&&(!a||a.call(this,u,l,c))};fe.u=!0;var a=fe.shouldComponentUpdate,o=fe.componentWillUpdate;fe.componentWillUpdate=function(u,l,c){if(this.__e){var d=a;a=void 0,i(u,l,c),a=d}o&&o.call(this,u,l,c)},fe.shouldComponentUpdate=i}return r.__N||r.__}function ce(e,t){var n=Tn(Dt++,3);!q.__s&&tl(n.__H,t)&&(n.__=e,n.i=t,fe.__H.__h.push(n))}function Cn(e,t){var n=Tn(Dt++,4);!q.__s&&tl(n.__H,t)&&(n.__=e,n.i=t,fe.__h.push(n))}function ee(e){return Jn=5,ue(function(){return{current:e}},[])}function Yd(e,t,n){Jn=6,Cn(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 ue(e,t){var n=Tn(Dt++,7);return tl(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function Gt(e,t){return Jn=8,ue(function(){return e},t)}function Te(e){var t=fe.context[e.__c],n=Tn(Dt++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(fe)),t.props.value):e.__}function Xd(e,t){q.useDebugValue&&q.useDebugValue(t?t(e):e)}function Sg(e){var t=Tn(Dt++,10),n=Be();return t.__=e,fe.componentDidCatch||(fe.componentDidCatch=function(r,i){t.__&&t.__(r,i),n[1](r)}),[n[0],function(){n[1](void 0)}]}function Qd(){var e=Tn(Dt++,11);if(!e.__){for(var t=fe.__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 Og(){for(var e;e=Vd.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Mi),e.__H.__h.forEach(Yo),e.__H.__h=[]}catch(t){e.__H.__h=[],q.__e(t,e.__v)}}q.__b=function(e){fe=null,Ls&&Ls(e)},q.__r=function(e){ks&&ks(e),Dt=0;var t=(fe=e.__c).__H;t&&(Ha===fe?(t.__h=[],fe.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=Ni,n.__N=n.i=void 0})):(t.__h.forEach(Mi),t.__h.forEach(Yo),t.__h=[],Dt=0)),Ha=fe},q.diffed=function(e){Rs&&Rs(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Vd.push(t)!==1&&Cs===q.requestAnimationFrame||((Cs=q.requestAnimationFrame)||Pg)(Og)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==Ni&&(n.__=n.__V),n.i=void 0,n.__V=Ni})),Ha=fe=null},q.__c=function(e,t){t.some(function(n){try{n.__h.forEach(Mi),n.__h=n.__h.filter(function(r){return!r.__||Yo(r)})}catch(r){t.some(function(i){i.__h&&(i.__h=[])}),t=[],q.__e(r,n.__v)}}),Ns&&Ns(e,t)},q.unmount=function(e){Ms&&Ms(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{Mi(r)}catch(i){t=i}}),n.__H=void 0,t&&q.__e(t,n.__v))};var Ds=typeof requestAnimationFrame=="function";function Pg(e){var t,n=function(){clearTimeout(r),Ds&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Ds&&(t=requestAnimationFrame(n))}function Mi(e){var t=fe,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),fe=t}function Yo(e){var t=fe;e.__c=e.__(),fe=t}function tl(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function Jd(e,t){return typeof t=="function"?t(e):t}let Dn;const Ag=(e,t)=>{if(Dn=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;Dn=!0,t.preventDefault(),t=n.href.replace(location.origin,"")}else typeof t=="string"?Dn=!0:t=location.pathname+location.search;return Dn===!0?history.pushState(null,"",t):Dn===!1&&history.replaceState(null,"",t),t};function Zd(e){const[t,n]=In(Ag,e.url||location.pathname+location.search),r=Dn===!0,i=ue(()=>{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 Cn(()=>(addEventListener("click",n),addEventListener("popstate",n),()=>{removeEventListener("click",n),removeEventListener("popstate",n)}),[]),B(Zd.ctx.Provider,{value:i},e.children)}Promise.resolve();Zd.ctx=Re({});Re({});const $s=q.__e;q.__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)}$s&&$s(e,t,n)};let js;function LT(e,t){if(typeof window>"u")return;let n=document.querySelector("script[type=isodata]");t=t||n&&n.parentNode||document.body,!js&&n?el(e,t):Qn(e,t),js=!0}function ep(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 Ka(e,t){return e===t&&(e!==0||1/e==1/t)||e!=e&&t!=t}function Gi(e){this.props=e}function tp(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}(Gi.prototype=new ot).isPureReactComponent=!0,Gi.prototype.shouldComponentUpdate=function(e,t){return Xo(this.props,e)||Xo(this.state,t)};var Bs=q.__b;q.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Bs&&Bs(e)};var Tg=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function de(e){function t(n){var r=ep({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=Tg,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Fs=function(e,t){return e==null?null:vt(vt(e).map(t))},np={map:Fs,forEach:Fs,count:function(e){return e?vt(e).length:0},only:function(e){var t=vt(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:vt},Ig=q.__e;q.__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)}Ig(e,t,n,r)};var Us=q.unmount;function rp(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=ep({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return rp(r,t,n)})),e}function ip(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return ip(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 Mr(){this.__u=0,this.t=null,this.__b=null}function ap(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function op(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 Bn(){this.u=null,this.o=null}q.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),Us&&Us(e)},(Mr.prototype=new ot).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var i=ap(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]=ip(c,c.__c.__P,c.__c.__O)}var d;for(r.setState({__a:r.__b=null});d=r.t.pop();)d.forceUpdate()}},l=t.__h===!0;r.__u++||l||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(o,o)},Mr.prototype.componentWillUnmount=function(){this.t=[]},Mr.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]=rp(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&B(ye,null,e.fallback);return i&&(i.__h=null),[B(ye,null,t.__a?null:e.children),i]};var xs=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 Cg(e){return this.getChildContext=function(){return e.context},e.children}function Lg(e){var t=this,n=e.i;t.componentWillUnmount=function(){Qn(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)}}),Qn(B(Cg,{context:t.context},e.__v),t.l)}function nl(e,t){var n=B(Lg,{__v:e,i:t});return n.containerInfo=t,n}(Bn.prototype=new ot).__a=function(e){var t=this,n=ap(t.__v),r=t.o.get(e);return r[0]++,function(i){var a=function(){t.props.revealOrder?(r.push(i),xs(t,e,r)):i()};n?n(a):a()}},Bn.prototype.render=function(e){this.u=null,this.o=new Map;var t=vt(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},Bn.prototype.componentDidUpdate=Bn.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){xs(e,n,t)})};var up=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,kg=/^(?: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]/,Rg=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ng=/[A-Z0-9]/g,Mg=typeof document<"u",Dg=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function lp(e,t,n){return t.__k==null&&(t.textContent=""),Qn(e,t),typeof n=="function"&&n(),e?e.__c:null}function sp(e,t,n){return el(e,t),typeof n=="function"&&n(),e?e.__c:null}ot.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(ot.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Hs=q.event;function $g(){}function jg(){return this.cancelBubble}function Bg(){return this.defaultPrevented}q.event=function(e){return Hs&&(e=Hs(e)),e.persist=$g,e.isPropagationStopped=jg,e.isDefaultPrevented=Bg,e.nativeEvent=e};var rl,Fg={enumerable:!1,configurable:!0,get:function(){return this.class}},Ks=q.vnode;q.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||Mg&&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"||Dg(n.type)?u==="onfocus"?a="onfocusin":u==="onblur"?a="onfocusout":Rg.test(a)?a=u:r.indexOf("-")===-1&&kg.test(a)?a=a.replace(Ng,"-$&").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=vt(n.children).forEach(function(l){l.props.selected=i.value.indexOf(l.props.value)!=-1})),r=="select"&&i.defaultValue!=null&&(i.value=vt(n.children).forEach(function(l){l.props.selected=i.multiple?i.defaultValue.indexOf(l.props.value)!=-1:i.defaultValue==l.props.value})),n.class&&!n.className?(i.class=n.class,Object.defineProperty(i,"className",Fg)):(n.className&&!n.class||n.class&&n.className)&&(i.class=i.className=n.className),t.props=i}(e),e.$$typeof=up,Ks&&Ks(e)};var zs=q.__r;q.__r=function(e){zs&&zs(e),rl=e.__c};var Ws=q.diffed;q.diffed=function(e){Ws&&Ws(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),rl=null};var cp={ReactCurrentDispatcher:{current:{readContext:function(e){return rl.__n[e.__c].props.value}}}},Ug="17.0.2";function fp(e){return B.bind(null,e)}function vr(e){return!!e&&e.$$typeof===up}function dp(e){return vr(e)&&e.type===ye}function il(e){return vr(e)?Gd.apply(null,arguments):e}function pp(e){return!!e.__k&&(Qn(null,e),!0)}function vp(e){return e&&(e.base||e.nodeType===1&&e)||null}var hp=function(e,t){return e(t)},mp=function(e,t){return e(t)},yp=ye;function al(e){e()}function gp(e){return e}function bp(){return[!1,al]}var _p=Cn,wp=vr;function Ep(e,t){var n=t(),r=Be({h:{__:n,v:t}}),i=r[0].h,a=r[1];return Cn(function(){i.__=n,i.v=t,Ka(i.__,t())||a({h:i})},[e,n,t]),ce(function(){return Ka(i.__,i.v())||a({h:i}),e(function(){Ka(i.__,i.v())||a({h:i})})},[e]),n}var J={useState:Be,useId:Qd,useReducer:In,useEffect:ce,useLayoutEffect:Cn,useInsertionEffect:_p,useTransition:bp,useDeferredValue:gp,useSyncExternalStore:Ep,startTransition:al,useRef:ee,useImperativeHandle:Yd,useMemo:ue,useCallback:Gt,useContext:Te,useDebugValue:Xd,version:"17.0.2",Children:np,render:lp,hydrate:sp,unmountComponentAtNode:pp,createPortal:nl,createElement:B,createContext:Re,createFactory:fp,cloneElement:il,createRef:Kr,Fragment:ye,isValidElement:vr,isElement:wp,isFragment:dp,findDOMNode:vp,Component:ot,PureComponent:Gi,memo:tp,forwardRef:de,flushSync:mp,unstable_batchedUpdates:hp,StrictMode:yp,Suspense:Mr,SuspenseList:Bn,lazy:op,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:cp};const Zn=Object.freeze(Object.defineProperty({__proto__:null,Children:np,Component:ot,Fragment:ye,PureComponent:Gi,StrictMode:yp,Suspense:Mr,SuspenseList:Bn,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:cp,cloneElement:il,createContext:Re,createElement:B,createFactory:fp,createPortal:nl,createRef:Kr,default:J,findDOMNode:vp,flushSync:mp,forwardRef:de,hydrate:sp,isElement:wp,isFragment:dp,isValidElement:vr,lazy:op,memo:tp,render:lp,startTransition:al,unmountComponentAtNode:pp,unstable_batchedUpdates:hp,useCallback:Gt,useContext:Te,useDebugValue:Xd,useDeferredValue:gp,useEffect:ce,useErrorBoundary:Sg,useId:Qd,useImperativeHandle:Yd,useInsertionEffect:_p,useLayoutEffect:Cn,useMemo:ue,useReducer:In,useRef:ee,useState:Be,useSyncExternalStore:Ep,useTransition:bp,version:Ug},Symbol.toStringTag,{value:"Module"}));var Sp={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||s,scrollIntoView:a.prototype.scrollIntoView},l=r.performance&&r.performance.now?r.performance.now.bind(r.performance):Date.now;function c(y){var w=["MSIE ","Trident/","Edge/"];return new RegExp(w.join("|")).test(y)}var d=c(r.navigator.userAgent)?1:0;function s(y,w){this.scrollLeft=y,this.scrollTop=w}function f(y){return .5*(1-Math.cos(Math.PI*y))}function p(y){if(y===null||typeof y!="object"||y.behavior===void 0||y.behavior==="auto"||y.behavior==="instant")return!0;if(typeof y=="object"&&y.behavior==="smooth")return!1;throw new TypeError("behavior member of ScrollOptions "+y.behavior+" is not a valid value for enumeration ScrollBehavior.")}function g(y,w){if(w==="Y")return y.clientHeight+d<y.scrollHeight;if(w==="X")return y.clientWidth+d<y.scrollWidth}function h(y,w){var O=r.getComputedStyle(y,null)["overflow"+w];return O==="auto"||O==="scroll"}function _(y){var w=g(y,"Y")&&h(y,"Y"),O=g(y,"X")&&h(y,"X");return w||O}function b(y){for(;y!==i.body&&_(y)===!1;)y=y.parentNode||y.host;return y}function m(y){var w=l(),O,S,E,P=(w-y.startTime)/o;P=P>1?1:P,O=f(P),S=y.startX+(y.x-y.startX)*O,E=y.startY+(y.y-y.startY)*O,y.method.call(y.scrollable,S,E),(S!==y.x||E!==y.y)&&r.requestAnimationFrame(m.bind(r,y))}function v(y,w,O){var S,E,P,A,L=l();y===i.body?(S=r,E=r.scrollX||r.pageXOffset,P=r.scrollY||r.pageYOffset,A=u.scroll):(S=y,E=y.scrollLeft,P=y.scrollTop,A=s),m({scrollable:S,method:A,startTime:L,startX:E,startY:P,x:w,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 y=arguments[0].left,w=arguments[0].top;v.call(this,this,typeof y>"u"?this.scrollLeft:~~y,typeof w>"u"?this.scrollTop:~~w)}},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 y=b(this),w=y.getBoundingClientRect(),O=this.getBoundingClientRect();y!==i.body?(v.call(this,y,y.scrollLeft+O.left-w.left,y.scrollTop+O.top-w.top),r.getComputedStyle(y).position!=="fixed"&&r.scrollBy({left:w.left,top:w.top,behavior:"smooth"})):r.scrollBy({left:O.left,top:O.top,behavior:"smooth"})}}e.exports={polyfill:n}})()})(Sp);var xg=Sp.exports;const kT=fr(xg);globalThis&&globalThis.__spreadArray;function Hg(e){return e}function Kg(e){return function(){return e}}var zg=Kg(void 0);function RT(e,t,n,r,i,a,o,u,l){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 l(u(o(a(i(r(n(t(e))))))));default:{for(var c=arguments[0],d=1;d<arguments.length;d++)c=arguments[d](c);return c}}}globalThis&&globalThis.__spreadArray;var Wg=function(e){return e._tag==="Some"},qg={_tag:"None"},Gg=function(e){return{_tag:"Some",value:e}},ol=qg,Op=Gg,NT=function(e){return function(t){return ga(t)?ol:Op(e(t.value))}},MT=Wg,ga=function(e){return e._tag==="None"},Vg=function(e,t){return function(n){return ga(n)?e():t(n.value)}},Pp=Vg,DT=Pp,Yg=function(e){return function(t){return ga(t)?e():t.value}},$T=Yg,Xg=function(e){return e==null?ol:Op(e)},jT=function(e){return function(t){return ga(t)?ol:Xg(e(t.value))}},BT=Pp(zg,Hg);function Vi(){return Vi=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},Vi.apply(this,arguments)}var Fn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Fn||(Fn={}));var qs=function(e){return e},Gs="beforeunload",Qg="hashchange",Jg="popstate";function FT(e){e===void 0&&(e={});var t=e,n=t.window,r=n===void 0?document.defaultView:n,i=r.history;function a(){var E=Xs(r.location.hash.substr(1)),P=E.pathname,A=P===void 0?"/":P,L=E.search,N=L===void 0?"":L,$=E.hash,C=$===void 0?"":$,I=i.state||{};return[I.idx,qs({pathname:A,search:N,hash:C,state:I.usr||null,key:I.key||"default"})]}var o=null;function u(){if(o)p.call(o),o=null;else{var E=Fn.Pop,P=a(),A=P[0],L=P[1];if(p.length){if(A!=null){var N=d-A;N&&(o={action:E,location:L,retry:function(){O(N*-1)}},O(N))}}else v(E)}}r.addEventListener(Jg,u),r.addEventListener(Qg,function(){var E=a(),P=E[1];za(P)!==za(s)&&u()});var l=Fn.Pop,c=a(),d=c[0],s=c[1],f=Ys(),p=Ys();d==null&&(d=0,i.replaceState(Vi({},i.state,{idx:d}),""));function g(){var E=document.querySelector("base"),P="";if(E&&E.getAttribute("href")){var A=r.location.href,L=A.indexOf("#");P=L===-1?A:A.slice(0,L)}return P}function h(E){return g()+"#"+(typeof E=="string"?E:za(E))}function _(E,P){return P===void 0&&(P=null),qs(Vi({pathname:s.pathname,hash:"",search:""},typeof E=="string"?Xs(E):E,{state:P,key:Zg()}))}function b(E,P){return[{usr:E.state,key:E.key,idx:P},h(E)]}function m(E,P,A){return!p.length||(p.call({action:E,location:P,retry:A}),!1)}function v(E){l=E;var P=a();d=P[0],s=P[1],f.call({action:l,location:s})}function y(E,P){var A=Fn.Push,L=_(E,P);function N(){y(E,P)}if(m(A,L,N)){var $=b(L,d+1),C=$[0],I=$[1];try{i.pushState(C,"",I)}catch{r.location.assign(I)}v(A)}}function w(E,P){var A=Fn.Replace,L=_(E,P);function N(){w(E,P)}if(m(A,L,N)){var $=b(L,d),C=$[0],I=$[1];i.replaceState(C,"",I),v(A)}}function O(E){i.go(E)}var S={get action(){return l},get location(){return s},createHref:h,push:y,replace:w,go:O,back:function(){O(-1)},forward:function(){O(1)},listen:function(P){return f.push(P)},block:function(P){var A=p.push(P);return p.length===1&&r.addEventListener(Gs,Vs),function(){A(),p.length||r.removeEventListener(Gs,Vs)}}};return S}function Vs(e){e.preventDefault(),e.returnValue=""}function Ys(){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 Zg(){return Math.random().toString(36).substr(2,8)}function za(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 Xs(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 e0={};function Ap(e,t){for(var n in t)e[n]=t[n];return e}function Tp(e,t,n){var r=/(?:\?([^#]*))?(#.*)?$/,i=e.match(r),a={},o;if(i&&i[1])for(var u=i[1].split("&"),l=0;l<u.length;l++){var c=u[l].split("=");a[decodeURIComponent(c[0])]=decodeURIComponent(c.slice(1).join("="))}e=Qo(e.replace(r,"")),t=Qo(t||"");for(var d=Math.max(e.length,t.length),s=0;s<d;s++)if(t[s]&&t[s].charAt(0)===":"){var f=t[s].replace(/(^:|[+*?]+$)/g,""),p=(t[s].match(/[+*?]+$/)||e0)[0]||"",g=~p.indexOf("+"),h=~p.indexOf("*"),_=e[s]||"";if(!_&&!h&&(p.indexOf("?")<0||g)){o=!1;break}if(a[f]=decodeURIComponent(_),g||h){a[f]=e.slice(s).map(decodeURIComponent).join("/");break}}else if(t[s]!==e[s]){o=!1;break}return n.default!==!0&&o===!1?!1:a}function t0(e,t){return e.rank<t.rank?1:e.rank>t.rank?-1:e.index-t.index}function n0(e,t){return e.index=t,e.rank=a0(e),e.props}function Qo(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")}function r0(e){return e.charAt(0)==":"?1+"*+?".indexOf(e.charAt(e.length-1))||4:5}function i0(e){return Qo(e).map(r0).join("")}function a0(e){return e.props.default?0:i0(e.props.path)}var Je=null,gn=[],Jo=[],o0={};function u0(e,t){t===void 0&&(t="push"),Je&&Je[t]?Je[t](e):typeof history<"u"&&history[t+"State"]&&history[t+"State"](null,null,e)}function ul(){var e;return Je&&Je.location?e=Je.location:Je&&Je.getCurrentLocation?e=Je.getCurrentLocation():e=typeof location<"u"?location:o0,""+(e.pathname||"")+(e.search||"")}function Ip(e,t){return t===void 0&&(t=!1),typeof e!="string"&&e.url&&(t=e.replace,e=e.url),l0(e)&&u0(e,t?"replace":"push"),Cp(e)}function l0(e){for(var t=gn.length;t--;)if(gn[t].canRoute(e))return!0;return!1}function Cp(e){for(var t=!1,n=0;n<gn.length;n++)gn[n].routeTo(e)===!0&&(t=!0);for(var r=Jo.length;r--;)Jo[r](e);return t}function Lp(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 Ip(t)}}function s0(e){if(!(e.ctrlKey||e.metaKey||e.altKey||e.shiftKey||e.button!==0))return Lp(e.currentTarget||e.target||this),kp(e)}function kp(e){return e&&(e.stopImmediatePropagation&&e.stopImmediatePropagation(),e.stopPropagation&&e.stopPropagation(),e.preventDefault()),!1}function c0(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(Lp(t))return kp(e)}while(t=t.parentNode)}}var Qs=!1;function f0(){Qs||(typeof addEventListener=="function"&&(Je||addEventListener("popstate",function(){Cp(ul())}),addEventListener("click",c0)),Qs=!0)}var nn=function(e){function t(n){e.call(this,n),n.history&&(Je=n.history),this.state={url:n.url||ul()},f0()}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=vt(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(){gn.push(this),this.updating=!0},t.prototype.componentDidMount=function(){var r=this;Je&&(this.unlisten=Je.listen(function(i){r.routeTo(""+(i.pathname||"")+(i.search||""))})),this.updating=!1},t.prototype.componentWillUnmount=function(){typeof this.unlisten=="function"&&this.unlisten(),gn.splice(gn.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(n0).sort(t0).map(function(o){var u=Tp(i,o.props.path,o.props);if(u){if(a!==!1){var l={url:i,matches:u};return Ap(l,u),delete l.ref,delete l.key,Gd(o,l)}return o}}).filter(Boolean)},t.prototype.render=function(r,i){var a=r.children,o=r.onChange,u=i.url,l=this.getMatchingChildren(vt(a),u,!0),c=l[0]||null,d=this.previousUrl;return u!==d&&(this.previousUrl=u,typeof o=="function"&&o({router:this,url:u,previous:d,active:l,current:c})),c},t}(ot),d0=function(e){return B("a",Ap({onClick:s0},e))},p0=function(e){return B(e.component,e)};nn.subscribers=Jo;nn.getCurrentUrl=ul;nn.route=Ip;nn.Router=nn;nn.Route=p0;nn.Link=d0;nn.exec=Tp;const v0="application/json",Rp="Content-Type",kn=Symbol(),Np=Symbol();function Js(e={}){var t;return(t=Object.entries(e).find(([n])=>n.toLowerCase()===Rp.toLowerCase()))===null||t===void 0?void 0:t[1]}function Zs(e){return/^application\/.*json.*/.test(e)}const bn=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]=bn(o,a,n):r[i]=a,r},{...e})},er={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 h0(e,t=!1){er.options=t?e:bn(er.options,e)}function m0(e,t=!1){er.polyfills=t?e:bn(er.polyfills,e)}function y0(e){er.errorType=e}const g0=e=>t=>e.reduceRight((n,r)=>r(n),t)||t;class Mp extends Error{}const b0=e=>{const t=Object.create(null);e=e._addons.reduce((v,y)=>y.beforeRequest&&y.beforeRequest(v,e._options,t)||v,e);const{_url:n,_options:r,_config:i,_catchers:a,_resolvers:o,_middlewares:u,_addons:l}=e,c=new Map(a),d=bn(i.options,r);let s=n;const f=g0(u)((v,y)=>(s=v,i.polyfill("fetch")(v,y)))(n,d),p=new Error,g=f.catch(v=>{throw{[kn]:v}}).then(v=>{if(!v.ok){const y=new Mp;if(y.cause=p,y.stack=y.stack+`
4
- CAUSE: `+p.stack,y.response=v,y.url=s,v.type==="opaque")throw y;return v.text().then(w=>{var O;if(y.message=w,i.errorType==="json"||((O=v.headers.get("Content-Type"))===null||O===void 0?void 0:O.split(";")[0])==="application/json")try{y.json=JSON.parse(w)}catch{}throw y.text=w,y.status=v.status,y})}return v}),h=v=>v.catch(y=>{const w=y.hasOwnProperty(kn),O=w?y[kn]:y,S=(O==null?void 0:O.status)&&c.get(O.status)||c.get(O==null?void 0:O.name)||w&&c.has(kn)&&c.get(kn);if(S)return S(O,e);const E=c.get(Np);if(E)return E(O,e);throw O}),_=v=>y=>h(v?g.then(w=>w&&w[v]()).then(w=>y?y(w):w):g.then(w=>y?y(w):w)),b={_wretchReq:e,_fetchReq:f,_sharedState:t,res:_(null),json:_("json"),blob:_("blob"),formData:_("formData"),arrayBuffer:_("arrayBuffer"),text:_("text"),error(v,y){return c.set(v,y),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(kn,v)}},m=l.reduce((v,y)=>({...v,...y.resolver}),b);return o.reduce((v,y)=>y(v,e),m)},_0={_url:"",_options:{},_config:er,_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:bn(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:bn(this._options,e)}},headers(e){return{...this,_options:bn(this._options,{headers:e||{}})}},accept(e){return this.headers({Accept:e})},content(e){return this.headers({[Rp]: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(Np,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=Js(r._options.headers),a=typeof n=="object"&&(!r._options.headers||!i||Zs(i));return r=n?a?r.json(n,i):r.body(n):r,b0(r._deferred.reduce((o,u)=>u(o,o._url,o._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=Js(this._options.headers);return this.content(t||Zs(n)&&n||v0).body(JSON.stringify(e))}};function tr(e="",t={}){return{..._0,_url:e,_options:t}}tr.default=tr;tr.options=h0;tr.errorType=y0;tr.polyfills=m0;tr.WretchError=Mp;var w0=0;function UT(e,t,n,r,i,a){var o,u,l={};for(u in t)u=="ref"?o=t[u]:l[u]=t[u];var c={type:e,props:l,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--w0,__source:i,__self:a};if(typeof e=="function"&&(o=e.defaultProps))for(u in o)l[u]===void 0&&(l[u]=o[u]);return q.vnode&&q.vnode(c),c}var lt={};(function(e){var t=Q&&Q.__spreadArray||function(S,E,P){if(P||arguments.length===2)for(var A=0,L=E.length,N;A<L;A++)(N||!(A in E))&&(N||(N=Array.prototype.slice.call(E,0,A)),N[A]=E[A]);return S.concat(N||Array.prototype.slice.call(E))};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(E,P){return function(A){return S.meet(E(A),P(A))}},join:function(E,P){return function(A){return S.join(E(A),P(A))}},zero:function(){return S.zero},one:function(){return S.one},implies:function(E,P){return function(A){return S.implies(E(A),P(A))}},not:function(E){return function(P){return S.not(E(P))}}}}};e.getBooleanAlgebra=n;var r=function(S){return function(){return{concat:function(E,P){return function(A){return S.concat(E(A),P(A))}}}}};e.getSemigroup=r;var i=function(S){var E=(0,e.getSemigroup)(S);return function(){return{concat:E().concat,empty:function(){return S.empty}}}};e.getMonoid=i;var a=function(S){return{add:function(E,P){return function(A){return S.add(E(A),P(A))}},zero:function(){return S.zero},mul:function(E,P){return function(A){return S.mul(E(A),P(A))}},one:function(){return S.one}}};e.getSemiring=a;var o=function(S){var E=(0,e.getSemiring)(S);return{add:E.add,mul:E.mul,one:E.one,zero:E.zero,sub:function(P,A){return function(L){return S.sub(P(L),A(L))}}}};e.getRing=o;var u=function(S){return function(E){return E(S)}};e.apply=u;function l(S){return S}e.identity=l,e.unsafeCoerce=l;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 d(S){return function(){for(var E=[],P=0;P<arguments.length;P++)E[P]=arguments[P];return E.length>1?S(E[1],E[0]):function(A){return S(A)(E[0])}}}e.flip=d;function s(S,E,P,A,L,N,$,C,I){switch(arguments.length){case 1:return S;case 2:return function(){return E(S.apply(this,arguments))};case 3:return function(){return P(E(S.apply(this,arguments)))};case 4:return function(){return A(P(E(S.apply(this,arguments))))};case 5:return function(){return L(A(P(E(S.apply(this,arguments)))))};case 6:return function(){return N(L(A(P(E(S.apply(this,arguments))))))};case 7:return function(){return $(N(L(A(P(E(S.apply(this,arguments)))))))};case 8:return function(){return C($(N(L(A(P(E(S.apply(this,arguments))))))))};case 9:return function(){return I(C($(N(L(A(P(E(S.apply(this,arguments)))))))))}}}e.flow=s;function f(){for(var S=[],E=0;E<arguments.length;E++)S[E]=arguments[E];return S}e.tuple=f;function p(S){return S+1}e.increment=p;function g(S){return S-1}e.decrement=g;function h(S){throw new Error("Called `absurd` function which should be uncallable")}e.absurd=h;function _(S){return function(E){return S.apply(void 0,E)}}e.tupled=_;function b(S){return function(){for(var E=[],P=0;P<arguments.length;P++)E[P]=arguments[P];return S(E)}}e.untupled=b;function m(S,E,P,A,L,N,$,C,I){switch(arguments.length){case 1:return S;case 2:return E(S);case 3:return P(E(S));case 4:return A(P(E(S)));case 5:return L(A(P(E(S))));case 6:return N(L(A(P(E(S)))));case 7:return $(N(L(A(P(E(S))))));case 8:return C($(N(L(A(P(E(S)))))));case 9:return I(C($(N(L(A(P(E(S))))))));default:{for(var k=arguments[0],D=1;D<arguments.length;D++)k=arguments[D](k);return k}}}e.pipe=m,e.hole=h;var v=function(S,E){return E};e.SK=v;function y(S){return function(E){return!S(E)}}e.not=y;var w=function(){return{concat:function(S,E){return s(S,E)},empty:l}};e.getEndomorphismMonoid=w;var O=function(S,E){var P=typeof S=="number"?function(A){return A.length>=S}:S;return function(){var A=Array.from(arguments);return P(arguments)?E.apply(this,A):function(L){return E.apply(void 0,t([L],A,!1))}}};e.dual=O})(lt);function ft(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 nr(e){return!!e&&!!e[et]}function On(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)===C0}(e)||Array.isArray(e)||!!e[uc]||!!(!((t=e.constructor)===null||t===void 0)&&t[uc])||ll(e)||sl(e))}function Wr(e,t,n){n===void 0&&(n=!1),hr(e)===0?(n?Object.keys:vl)(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[et];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:ll(e)?2:sl(e)?3:0}function Zo(e,t){return hr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function E0(e,t){return hr(e)===2?e.get(t):e[t]}function Dp(e,t,n){var r=hr(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function S0(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function ll(e){return T0&&e instanceof Map}function sl(e){return I0&&e instanceof Set}function fn(e){return e.o||e.t}function cl(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=L0(e);delete t[et];for(var n=vl(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 fl(e,t){return t===void 0&&(t=!1),dl(e)||nr(e)||!On(e)||(hr(e)>1&&(e.set=e.add=e.clear=e.delete=O0),Object.freeze(e),t&&Wr(e,function(n,r){return fl(r,!0)},!0)),e}function O0(){ft(2)}function dl(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Et(e){var t=k0[e];return t||ft(18,e),t}function ec(){return qr}function Wa(e,t){t&&(Et("Patches"),e.u=[],e.s=[],e.v=t)}function Yi(e){eu(e),e.p.forEach(P0),e.p=null}function eu(e){e===qr&&(qr=e.l)}function tc(e){return qr={p:[],l:qr,h:e,m:!0,_:0}}function P0(e){var t=e[et];t.i===0||t.i===1?t.j():t.g=!0}function qa(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.O||Et("ES5").S(t,e,r),r?(n[et].P&&(Yi(t),ft(4)),On(e)&&(e=Xi(t,e),t.l||Qi(t,e)),t.u&&Et("Patches").M(n[et].t,e,t.u,t.s)):e=Xi(t,n,[]),Yi(t),t.u&&t.v(t.u,t.s),e!==$p?e:void 0}function Xi(e,t,n){if(dl(t))return t;var r=t[et];if(!r)return Wr(t,function(u,l){return nc(e,r,t,u,l,n)},!0),t;if(r.A!==e)return t;if(!r.P)return Qi(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=r.i===4||r.i===5?r.o=cl(r.k):r.o,a=i,o=!1;r.i===3&&(a=new Set(i),i.clear(),o=!0),Wr(a,function(u,l){return nc(e,r,i,u,l,n,o)}),Qi(e,i,!1),n&&e.u&&Et("Patches").N(r,n,e.u,e.s)}return r.o}function nc(e,t,n,r,i,a,o){if(nr(i)){var u=Xi(e,i,a&&t&&t.i!==3&&!Zo(t.R,r)?a.concat(r):void 0);if(Dp(n,r,u),!nr(u))return;e.m=!1}else o&&n.add(i);if(On(i)&&!dl(i)){if(!e.h.D&&e._<1)return;Xi(e,i),t&&t.A.l||Qi(e,i)}}function Qi(e,t,n){n===void 0&&(n=!1),!e.l&&e.h.D&&e.m&&fl(t,n)}function Ga(e,t){var n=e[et];return(n?fn(n):e)[t]}function rc(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 Va(e){e.o||(e.o=cl(e.t))}function nu(e,t,n){var r=ll(t)?Et("MapSet").F(t,n):sl(t)?Et("MapSet").T(t,n):e.O?function(i,a){var o=Array.isArray(i),u={i:o?1:0,A:a?a.A:ec(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},l=u,c=ru;o&&(l=[u],c=Lr);var d=Proxy.revocable(l,c),s=d.revoke,f=d.proxy;return u.k=f,u.j=s,f}(t,n):Et("ES5").J(t,n);return(n?n.A:ec()).p.push(r),r}function A0(e){return nr(e)||ft(22,e),function t(n){if(!On(n))return n;var r,i=n[et],a=hr(n);if(i){if(!i.P&&(i.i<4||!Et("ES5").K(i)))return i.t;i.I=!0,r=ic(n,a),i.I=!1}else r=ic(n,a);return Wr(r,function(o,u){i&&E0(i.t,o)===u||Dp(r,o,t(u))}),a===3?new Set(r):r}(e)}function ic(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return cl(e)}var ac,qr,pl=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",T0=typeof Map<"u",I0=typeof Set<"u",oc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",$p=pl?Symbol.for("immer-nothing"):((ac={})["immer-nothing"]=!0,ac),uc=pl?Symbol.for("immer-draftable"):"__$immer_draftable",et=pl?Symbol.for("immer-state"):"__$immer_state",C0=""+Object.prototype.constructor,vl=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,L0=Object.getOwnPropertyDescriptors||function(e){var t={};return vl(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t},k0={},ru={get:function(e,t){if(t===et)return e;var n=fn(e);if(!Zo(n,t))return function(i,a,o){var u,l=rc(a,o);return l?"value"in l?l.value:(u=l.get)===null||u===void 0?void 0:u.call(i.k):void 0}(e,n,t);var r=n[t];return e.I||!On(r)?r:r===Ga(e.t,t)?(Va(e),e.o[t]=nu(e.A.h,r,e)):r},has:function(e,t){return t in fn(e)},ownKeys:function(e){return Reflect.ownKeys(fn(e))},set:function(e,t,n){var r=rc(fn(e),t);if(r!=null&&r.set)return r.set.call(e.k,n),!0;if(!e.P){var i=Ga(fn(e),t),a=i==null?void 0:i[et];if(a&&a.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(S0(n,i)&&(n!==void 0||Zo(e.t,t)))return!0;Va(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 Ga(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Va(e),tu(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=fn(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty:function(){ft(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){ft(12)}},Lr={};Wr(ru,function(e,t){Lr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Lr.deleteProperty=function(e,t){return Lr.set.call(this,e,t,void 0)},Lr.set=function(e,t,n){return ru.set.call(this,e[0],t,n,e[0])};var R0=function(){function e(n){var r=this;this.O=oc,this.D=!0,this.produce=function(i,a,o){if(typeof i=="function"&&typeof a!="function"){var u=a;a=i;var l=r;return function(h){var _=this;h===void 0&&(h=u);for(var b=arguments.length,m=Array(b>1?b-1:0),v=1;v<b;v++)m[v-1]=arguments[v];return l.produce(h,function(y){var w;return(w=a).call.apply(w,[_,y].concat(m))})}}var c;if(typeof a!="function"&&ft(6),o!==void 0&&typeof o!="function"&&ft(7),On(i)){var d=tc(r),s=nu(r,i,void 0),f=!0;try{c=a(s),f=!1}finally{f?Yi(d):eu(d)}return typeof Promise<"u"&&c instanceof Promise?c.then(function(h){return Wa(d,o),qa(h,d)},function(h){throw Yi(d),h}):(Wa(d,o),qa(c,d))}if(!i||typeof i!="object"){if((c=a(i))===void 0&&(c=i),c===$p&&(c=void 0),r.D&&fl(c,!0),o){var p=[],g=[];Et("Patches").M(i,c,p,g),o(p,g)}return c}ft(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(c){for(var d=arguments.length,s=Array(d>1?d-1:0),f=1;f<d;f++)s[f-1]=arguments[f];return r.produceWithPatches(c,function(p){return i.apply(void 0,[p].concat(s))})};var o,u,l=r.produce(i,a,function(c,d){o=c,u=d});return typeof Promise<"u"&&l instanceof Promise?l.then(function(c){return[c,o,u]}):[l,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){On(n)||ft(8),nr(n)&&(n=A0(n));var r=tc(this),i=nu(this,n,void 0);return i[et].C=!0,eu(r),i},t.finishDraft=function(n,r){var i=n&&n[et],a=i.A;return Wa(a,r),qa(void 0,a)},t.setAutoFreeze=function(n){this.D=n},t.setUseProxies=function(n){n&&!oc&&ft(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=Et("Patches").$;return nr(n)?o(n,r):this.produce(n,function(u){return o(u,r)})},e}(),tt=new R0,xT=tt.produce;tt.produceWithPatches.bind(tt);tt.setAutoFreeze.bind(tt);tt.setUseProxies.bind(tt);tt.applyPatches.bind(tt);tt.createDraft.bind(tt);tt.finishDraft.bind(tt);var N0={},rr={},Fe={},mr={};(function(e){var t=Q&&Q.__spreadArray||function(S,E,P){if(P||arguments.length===2)for(var A=0,L=E.length,N;A<L;A++)(N||!(A in E))&&(N||(N=Array.prototype.slice.call(E,0,A)),N[A]=E[A]);return S.concat(N||Array.prototype.slice.call(E))};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=lt,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 l=function(S){return{_tag:"Left",left:S}};e.left=l;var c=function(S){return{_tag:"Right",right:S}};e.right=c;var d=function(S){return[S]};e.singleton=d;var s=function(S){return S.length>0};e.isNonEmpty=s;var f=function(S){return S[0]};e.head=f;var p=function(S){return S.slice(1)};e.tail=p,e.emptyReadonlyArray=[],e.emptyRecord={},e.has=Object.prototype.hasOwnProperty;var g=function(S){return t([S[0]],S.slice(1),!0)};e.fromReadonlyNonEmptyArray=g;var h=function(S){return function(E,P){return function(){for(var A=[],L=0;L<arguments.length;L++)A[L]=arguments[L];var N=E.apply(void 0,A);return S.fromEither(N==null?(0,e.left)(P.apply(void 0,A)):(0,e.right)(N))}}};e.liftNullable=h;var _=function(S){return function(E,P){return function(){for(var A=[],L=0;L<arguments.length;L++)A[L]=arguments[L];var N=E.apply(void 0,A);return S.fromEither((0,e.isNone)(N)?(0,e.left)(P.apply(void 0,A)):(0,e.right)(N.value))}}};e.liftOption=_;var b=function(S,E){return(0,n.dual)(3,function(P,A,L){return E.flatMap(P,(0,e.liftNullable)(S)(A,L))})};e.flatMapNullable=b;var m=function(S,E){return(0,n.dual)(3,function(P,A,L){return E.flatMap(P,(0,e.liftOption)(S)(A,L))})};e.flatMapOption=m;var v=function(S,E){return(0,n.dual)(2,function(P,A){return E.flatMap(P,function(L){return S.fromEither(A(L))})})};e.flatMapEither=v;var y=function(S,E){return(0,n.dual)(2,function(P,A){return E.flatMap(P,function(L){return S.fromIO(A(L))})})};e.flatMapIO=y;var w=function(S,E){return(0,n.dual)(2,function(P,A){return E.flatMap(P,function(L){return S.fromTask(A(L))})})};e.flatMapTask=w;var O=function(S,E){return(0,n.dual)(2,function(P,A){return E.flatMap(P,function(L){return S.fromReader(A(L))})})};e.flatMapReader=O})(mr);var M0=Q&&Q.__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]}),D0=Q&&Q.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),$0=Q&&Q.__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)&&M0(t,e,n);return D0(t,e),t};Object.defineProperty(Fe,"__esModule",{value:!0});Fe.sequenceS=Fe.sequenceT=Fe.getApplySemigroup=Fe.apS=Fe.apSecond=Fe.apFirst=Fe.ap=void 0;var j0=lt,B0=$0(mr);function F0(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)}}}Fe.ap=F0;function U0(e){return function(t){return function(n){return e.ap(e.map(n,function(r){return function(){return r}}),t)}}}Fe.apFirst=U0;function x0(e){return function(t){return function(n){return e.ap(e.map(n,function(){return function(r){return r}}),t)}}}Fe.apSecond=x0;function H0(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)}}}Fe.apS=H0;function K0(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)}}}}Fe.getApplySemigroup=K0;function hl(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):hl(e,t-1,i)}}var Ya={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 z0(e){return B0.has.call(Ya,e)||(Ya[e]=hl(j0.tuple,e-1,[])),Ya[e]}function W0(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=t.length,i=z0(r),a=e.map(t[0],i),o=1;o<r;o++)a=e.ap(a,t[o]);return a}}Fe.sequenceT=W0;function q0(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 hl(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 G0(e){return function(t){for(var n=Object.keys(t),r=n.length,i=q0(n),a=e.map(t[n[0]],i),o=1;o<r;o++)a=e.ap(a,t[n[o]]);return a}}Fe.sequenceS=G0;var je={};Object.defineProperty(je,"__esModule",{value:!0});je.asUnit=je.as=je.getFunctorComposition=je.let=je.bindTo=je.flap=je.map=void 0;var V0=lt;function jp(e,t){return function(n){return function(r){return e.map(r,function(i){return t.map(i,n)})}}}je.map=jp;function Y0(e){return function(t){return function(n){return e.map(n,function(r){return r(t)})}}}je.flap=Y0;function X0(e){return function(t){return function(n){return e.map(n,function(r){var i;return i={},i[t]=r,i})}}}je.bindTo=X0;function Q0(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))})}}}je.let=Q0;function J0(e,t){var n=jp(e,t);return{map:function(r,i){return(0,V0.pipe)(r,n(i))}}}je.getFunctorComposition=J0;function Bp(e){return function(t,n){return e.map(t,function(){return n})}}je.as=Bp;function Z0(e){var t=Bp(e);return function(n){return t(n,void 0)}}je.asUnit=Z0;Object.defineProperty(rr,"__esModule",{value:!0});rr.getApplicativeComposition=rr.getApplicativeMonoid=void 0;var Fp=Fe,eb=lt,tb=je;function nb(e){var t=(0,Fp.getApplySemigroup)(e);return function(n){return{concat:t(n).concat,empty:e.of(n.empty)}}}rr.getApplicativeMonoid=nb;function rb(e,t){var n=(0,tb.getFunctorComposition)(e,t).map,r=(0,Fp.ap)(e,t);return{map:n,of:function(i){return e.of(t.of(i))},ap:function(i,a){return(0,eb.pipe)(i,r(a))}}}rr.getApplicativeComposition=rb;var kt={};Object.defineProperty(kt,"__esModule",{value:!0});kt.bind=kt.tap=kt.chainFirst=void 0;function ib(e){var t=Up(e);return function(n){return function(r){return t(r,n)}}}kt.chainFirst=ib;function Up(e){return function(t,n){return e.chain(t,function(r){return e.map(n(r),function(){return r})})}}kt.tap=Up;function ab(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))})})}}}kt.bind=ab;var Pe={},ob=Q&&Q.__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=Q&&Q.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),lb=Q&&Q.__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)&&ob(t,e,n);return ub(t,e),t};Object.defineProperty(Pe,"__esModule",{value:!0});Pe.tapEither=Pe.filterOrElse=Pe.chainFirstEitherK=Pe.chainEitherK=Pe.fromEitherK=Pe.chainOptionK=Pe.fromOptionK=Pe.fromPredicate=Pe.fromOption=void 0;var sb=kt,xp=lt,_n=lb(mr);function Hp(e){return function(t){return function(n){return e.fromEither(_n.isNone(n)?_n.left(t()):_n.right(n.value))}}}Pe.fromOption=Hp;function cb(e){return function(t,n){return function(r){return e.fromEither(t(r)?_n.right(r):_n.left(n(r)))}}}Pe.fromPredicate=cb;function Kp(e){var t=Hp(e);return function(n){var r=t(n);return function(i){return(0,xp.flow)(i,r)}}}Pe.fromOptionK=Kp;function fb(e,t){var n=Kp(e);return function(r){var i=n(r);return function(a){return function(o){return t.chain(o,i(a))}}}}Pe.chainOptionK=fb;function ml(e){return function(t){return(0,xp.flow)(t,e.fromEither)}}Pe.fromEitherK=ml;function db(e,t){var n=ml(e);return function(r){return function(i){return t.chain(i,n(r))}}}Pe.chainEitherK=db;function pb(e,t){var n=zp(e,t);return function(r){return function(i){return n(i,r)}}}Pe.chainFirstEitherK=pb;function vb(e,t){return function(n,r){return function(i){return t.chain(i,function(a){return e.fromEither(n(a)?_n.right(a):_n.left(r(a)))})}}}Pe.filterOrElse=vb;function zp(e,t){var n=ml(e),r=(0,sb.tap)(t);return function(i,a){return r(i,n(a))}}Pe.tapEither=zp;var Wp={};(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=lt,n=function(s,f){return(0,t.pipe)(s,(0,e.contramap)(f))},r=function(s){return function(f){return(0,t.flow)(s,f)}};e.contramap=r,e.URI="Predicate";var i=function(){return{concat:function(s,f){return(0,t.pipe)(s,(0,e.or)(f))}}};e.getSemigroupAny=i;var a=function(){return{concat:(0,e.getSemigroupAny)().concat,empty:t.constFalse}};e.getMonoidAny=a;var o=function(){return{concat:function(s,f){return(0,t.pipe)(s,(0,e.and)(f))}}};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 l=function(s){return function(f){return!s(f)}};e.not=l;var c=function(s){return function(f){return function(p){return f(p)||s(p)}}};e.or=c;var d=function(s){return function(f){return function(p){return f(p)&&s(p)}}};e.and=d})(Wp);var qp={},at={};Object.defineProperty(at,"__esModule",{value:!0});at.concatAll=at.endo=at.filterSecond=at.filterFirst=at.reverse=void 0;var hb=function(e){return{concat:function(t,n){return e.concat(n,t)}}};at.reverse=hb;var mb=function(e){return function(t){return{concat:function(n,r){return e(n)?t.concat(n,r):r}}}};at.filterFirst=mb;var yb=function(e){return function(t){return{concat:function(n,r){return e(r)?t.concat(n,r):n}}}};at.filterSecond=yb;var gb=function(e){return function(t){return{concat:function(n,r){return t.concat(e(n),e(r))}}}};at.endo=gb;var bb=function(e){return function(t){return function(n){return n.reduce(function(r,i){return e.concat(r,i)},t)}}};at.concatAll=bb;var Gp={},Vp={};(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=lt,n=function(d){return{equals:function(s,f){return s===f||d(s,f)}}};e.fromEquals=n;var r=function(d){return(0,e.fromEquals)(function(s,f){for(var p in d)if(!d[p].equals(s[p],f[p]))return!1;return!0})};e.struct=r;var i=function(){for(var d=[],s=0;s<arguments.length;s++)d[s]=arguments[s];return(0,e.fromEquals)(function(f,p){return d.every(function(g,h){return g.equals(f[h],p[h])})})};e.tuple=i;var a=function(d,s){return(0,t.pipe)(d,(0,e.contramap)(s))},o=function(d){return function(s){return(0,e.fromEquals)(function(f,p){return s.equals(d(f),d(p))})}};e.contramap=o,e.URI="Eq",e.eqStrict={equals:function(d,s){return d===s}};var u={equals:function(){return!0}},l=function(){return{concat:function(d,s){return(0,e.fromEquals)(function(f,p){return d.equals(f,p)&&s.equals(f,p)})}}};e.getSemigroup=l;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(d,s){return d.valueOf()===s.valueOf()}}})(Vp);(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=Vp,n=lt,r=function(O){return function(S,E){return S===E||O(S,E)===0}};e.equalsDefault=r;var i=function(O){return{equals:(0,e.equalsDefault)(O),compare:function(S,E){return S===E?0:O(S,E)}}};e.fromCompare=i;var a=function(){for(var O=[],S=0;S<arguments.length;S++)O[S]=arguments[S];return(0,e.fromCompare)(function(E,P){for(var A=0;A<O.length-1;A++){var L=O[A].compare(E[A],P[A]);if(L!==0)return L}return O[A].compare(E[A],P[A])})};e.tuple=a;var o=function(O){return(0,e.fromCompare)(function(S,E){return O.compare(E,S)})};e.reverse=o;var u=function(O,S){return(0,n.pipe)(O,(0,e.contramap)(S))},l=function(O){return function(S){return(0,e.fromCompare)(function(E,P){return S.compare(O(E),O(P))})}};e.contramap=l,e.URI="Ord";var c=function(){return{concat:function(O,S){return(0,e.fromCompare)(function(E,P){var A=O.compare(E,P);return A!==0?A:S.compare(E,P)})}}};e.getSemigroup=c;var d=function(){return{concat:(0,e.getSemigroup)().concat,empty:(0,e.fromCompare)(function(){return 0})}};e.getMonoid=d,e.Contravariant={URI:e.URI,contramap:u},e.trivial={equals:n.constTrue,compare:(0,n.constant)(0)};var s=function(O){return function(S){return function(E){return E===S||O.compare(E,S)===0}}};e.equals=s;var f=function(O){return function(S,E){return O.compare(S,E)===-1}};e.lt=f;var p=function(O){return function(S,E){return O.compare(S,E)===1}};e.gt=p;var g=function(O){return function(S,E){return O.compare(S,E)!==1}};e.leq=g;var h=function(O){return function(S,E){return O.compare(S,E)!==-1}};e.geq=h;var _=function(O){return function(S,E){return S===E||O.compare(S,E)<1?S:E}};e.min=_;var b=function(O){return function(S,E){return S===E||O.compare(S,E)>-1?S:E}};e.max=b;var m=function(O){var S=(0,e.min)(O),E=(0,e.max)(O);return function(P,A){return function(L){return E(S(L,A),P)}}};e.clamp=m;var v=function(O){var S=(0,e.lt)(O),E=(0,e.gt)(O);return function(P,A){return function(L){return!(S(L,P)||E(L,A))}}};e.between=v,e.getTupleOrd=e.tuple,e.getDualOrd=e.reverse,e.ord=e.Contravariant;function y(O,S){return O<S?-1:O>S?1:0}var w={equals:t.eqStrict.equals,compare:y};e.ordBoolean=w,e.ordString=w,e.ordNumber=w,e.ordDate=(0,n.pipe)(e.ordNumber,(0,e.contramap)(function(O){return O.valueOf()}))})(Gp);(function(e){var t=Q&&Q.__createBinding||(Object.create?function(m,v,y,w){w===void 0&&(w=y);var O=Object.getOwnPropertyDescriptor(v,y);(!O||("get"in O?!v.__esModule:O.writable||O.configurable))&&(O={enumerable:!0,get:function(){return v[y]}}),Object.defineProperty(m,w,O)}:function(m,v,y,w){w===void 0&&(w=y),m[w]=v[y]}),n=Q&&Q.__setModuleDefault||(Object.create?function(m,v){Object.defineProperty(m,"default",{enumerable:!0,value:v})}:function(m,v){m.default=v}),r=Q&&Q.__importStar||function(m){if(m&&m.__esModule)return m;var v={};if(m!=null)for(var y in m)y!=="default"&&Object.prototype.hasOwnProperty.call(m,y)&&t(v,m,y);return n(v,m),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=lt,a=r(mr),o=r(at),u=r(Gp),l=function(m){return{concat:u.min(m)}};e.min=l;var c=function(m){return{concat:u.max(m)}};e.max=c;var d=function(m){return{concat:function(){return m}}};e.constant=d,e.reverse=o.reverse;var s=function(m){return{concat:function(v,y){var w={};for(var O in m)a.has.call(m,O)&&(w[O]=m[O].concat(v[O],y[O]));return w}}};e.struct=s;var f=function(){for(var m=[],v=0;v<arguments.length;v++)m[v]=arguments[v];return{concat:function(y,w){return m.map(function(O,S){return O.concat(y[S],w[S])})}}};e.tuple=f;var p=function(m){return function(v){return{concat:function(y,w){return v.concat(y,v.concat(m,w))}}}};e.intercalate=p;var g=function(){return{concat:i.identity}};e.first=g;var h=function(){return{concat:function(m,v){return v}}};e.last=h,e.concatAll=o.concatAll,e.semigroupVoid=(0,e.constant)(void 0);var _=function(){return{concat:function(m,v){return Object.assign({},m,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(m){var v=(0,e.concatAll)(m);return function(y,w){return w===void 0?v(y):v(y)(w)}}e.fold=b,e.semigroupAll={concat:function(m,v){return m&&v}},e.semigroupAny={concat:function(m,v){return m||v}},e.getFunctionSemigroup=i.getSemigroup,e.semigroupString={concat:function(m,v){return m+v}},e.semigroupSum={concat:function(m,v){return m+v}},e.semigroupProduct={concat:function(m,v){return m*v}}})(qp);var Yp={};(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=lt,n=je,r=function(f,p){return{left:f,right:p}};e.separated=r;var i=function(f,p){return(0,t.pipe)(f,(0,e.map)(p))},a=function(f,p){return(0,t.pipe)(f,(0,e.mapLeft)(p))},o=function(f,p,g){return(0,t.pipe)(f,(0,e.bimap)(p,g))},u=function(f){return function(p){return(0,e.separated)((0,e.left)(p),f((0,e.right)(p)))}};e.map=u;var l=function(f){return function(p){return(0,e.separated)(f((0,e.left)(p)),(0,e.right)(p))}};e.mapLeft=l;var c=function(f,p){return function(g){return(0,e.separated)(f((0,e.left)(g)),p((0,e.right)(g)))}};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 d=function(f){return f.left};e.left=d;var s=function(f){return f.right};e.right=s})(Yp);var Jt={},_b=Q&&Q.__createBinding||(Object.create?function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]}),wb=Q&&Q.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Eb=Q&&Q.__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 wb(t,e),t};Object.defineProperty(Jt,"__esModule",{value:!0});Jt.filterE=Jt.witherDefault=Jt.wiltDefault=void 0;var lc=Eb(mr);function Sb(e,t){return function(n){var r=e.traverse(n);return function(i,a){return n.map(r(i,a),t.separate)}}}Jt.wiltDefault=Sb;function Ob(e,t){return function(n){var r=e.traverse(n);return function(i,a){return n.map(r(i,a),t.compact)}}}Jt.witherDefault=Ob;function Pb(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?lc.some(a):lc.none})})}}}}Jt.filterE=Pb;var ba={};Object.defineProperty(ba,"__esModule",{value:!0});ba.guard=void 0;function Ab(e,t){return function(n){return n?t.of(void 0):e.zero()}}ba.guard=Ab;(function(e){var t=Q&&Q.__createBinding||(Object.create?function(R,M,H,Se){Se===void 0&&(Se=H);var Ye=Object.getOwnPropertyDescriptor(M,H);(!Ye||("get"in Ye?!M.__esModule:Ye.writable||Ye.configurable))&&(Ye={enumerable:!0,get:function(){return M[H]}}),Object.defineProperty(R,Se,Ye)}:function(R,M,H,Se){Se===void 0&&(Se=H),R[Se]=M[H]}),n=Q&&Q.__setModuleDefault||(Object.create?function(R,M){Object.defineProperty(R,"default",{enumerable:!0,value:M})}:function(R,M){R.default=M}),r=Q&&Q.__importStar||function(R){if(R&&R.__esModule)return R;var M={};if(R!=null)for(var H in R)H!=="default"&&Object.prototype.hasOwnProperty.call(R,H)&&t(M,R,H);return n(M,R),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=rr,a=Fe,o=r(kt),u=Pe,l=lt,c=je,d=r(mr),s=Wp,f=qp,p=Yp,g=Jt,h=ba;e.none=d.none,e.some=d.some;function _(R){return function(M){return R(M)?(0,e.some)(M):e.none}}e.fromPredicate=_;var b=function(R){return R._tag==="Right"?e.none:(0,e.some)(R.left)};e.getLeft=b;var m=function(R){return R._tag==="Left"?e.none:(0,e.some)(R.right)};e.getRight=m;var v=function(R,M){return(0,l.pipe)(R,(0,e.map)(M))},y=function(R,M){return(0,l.pipe)(R,(0,e.ap)(M))},w=function(R,M,H){return(0,l.pipe)(R,(0,e.reduce)(M,H))},O=function(R){var M=(0,e.foldMap)(R);return function(H,Se){return(0,l.pipe)(H,M(Se))}},S=function(R,M,H){return(0,l.pipe)(R,(0,e.reduceRight)(M,H))},E=function(R){var M=(0,e.traverse)(R);return function(H,Se){return(0,l.pipe)(H,M(Se))}},P=function(R,M){return(0,l.pipe)(R,(0,e.alt)(M))},A=function(R,M){return(0,l.pipe)(R,(0,e.filter)(M))},L=function(R,M){return(0,l.pipe)(R,(0,e.filterMap)(M))},N=function(R,M){return(0,l.pipe)(R,(0,e.extend)(M))},$=function(R,M){return(0,l.pipe)(R,(0,e.partition)(M))},C=function(R,M){return(0,l.pipe)(R,(0,e.partitionMap)(M))};e.URI="Option";var I=function(R){return{show:function(M){return(0,e.isNone)(M)?"none":"some(".concat(R.show(M.value),")")}}};e.getShow=I;var k=function(R){return{equals:function(M,H){return M===H||((0,e.isNone)(M)?(0,e.isNone)(H):(0,e.isNone)(H)?!1:R.equals(M.value,H.value))}}};e.getEq=k;var D=function(R){return{equals:(0,e.getEq)(R).equals,compare:function(M,H){return M===H?0:(0,e.isSome)(M)?(0,e.isSome)(H)?R.compare(M.value,H.value):1:-1}}};e.getOrd=D;var j=function(R){return{concat:function(M,H){return(0,e.isNone)(M)?H:(0,e.isNone)(H)?M:(0,e.some)(R.concat(M.value,H.value))},empty:e.none}};e.getMonoid=j;var V=function(R){return function(M){return(0,e.isNone)(M)?e.none:(0,e.some)(R(M.value))}};e.map=V,e.Functor={URI:e.URI,map:v},e.as=(0,l.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 W=function(R){return function(M){return(0,e.isNone)(M)||(0,e.isNone)(R)?e.none:(0,e.some)(M.value(R.value))}};e.ap=W,e.Apply={URI:e.URI,map:v,ap:y},e.Applicative={URI:e.URI,map:v,ap:y,of:e.of},e.flatMap=(0,l.dual)(2,function(R,M){return(0,e.isNone)(R)?e.none:M(R.value)}),e.Chain={URI:e.URI,map:v,ap:y,chain:e.flatMap},e.Monad={URI:e.URI,map:v,ap:y,of:e.of,chain:e.flatMap};var Y=function(R,M){return function(H){return(0,e.isNone)(H)?R:M(R,H.value)}};e.reduce=Y;var U=function(R){return function(M){return function(H){return(0,e.isNone)(H)?R.empty:M(H.value)}}};e.foldMap=U;var F=function(R,M){return function(H){return(0,e.isNone)(H)?R:M(H.value,R)}};e.reduceRight=F,e.Foldable={URI:e.URI,reduce:w,foldMap:O,reduceRight:S},e.orElse=(0,l.dual)(2,function(R,M){return(0,e.isNone)(R)?M():R}),e.altW=e.orElse,e.alt=e.orElse,e.Alt={URI:e.URI,map:v,alt:P};var z=function(){return e.none};e.zero=z,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:y,of:e.of,alt:P,zero:e.zero};var x=function(R){return function(M){return(0,e.isNone)(M)?e.none:(0,e.some)(R(M))}};e.extend=x,e.Extend={URI:e.URI,map:v,extend:N},e.compact=(0,e.flatMap)(l.identity);var te=(0,p.separated)(e.none,e.none),se=function(R){return(0,e.isNone)(R)?te:(0,p.separated)((0,e.getLeft)(R.value),(0,e.getRight)(R.value))};e.separate=se,e.Compactable={URI:e.URI,compact:e.compact,separate:e.separate};var ne=function(R){return function(M){return(0,e.isNone)(M)?e.none:R(M.value)?M:e.none}};e.filter=ne;var X=function(R){return function(M){return(0,e.isNone)(M)?e.none:R(M.value)}};e.filterMap=X;var re=function(R){return function(M){return(0,p.separated)(A(M,(0,s.not)(R)),A(M,R))}};e.partition=re;var ie=function(R){return(0,l.flow)((0,e.map)(R),e.separate)};e.partitionMap=ie,e.Filterable={URI:e.URI,map:v,compact:e.compact,separate:e.separate,filter:A,filterMap:L,partition:$,partitionMap:C};var _e=function(R){return function(M){return function(H){return(0,e.isNone)(H)?R.of(e.none):R.map(M(H.value),e.some)}}};e.traverse=_e;var sn=function(R){return function(M){return(0,e.isNone)(M)?R.of(e.none):R.map(M.value,e.some)}};e.sequence=sn,e.Traversable={URI:e.URI,map:v,reduce:w,foldMap:O,reduceRight:S,traverse:E,sequence:e.sequence};var Ne=(0,g.witherDefault)(e.Traversable,e.Compactable),Or=(0,g.wiltDefault)(e.Traversable,e.Compactable),Ba=function(R){var M=Ne(R);return function(H){return function(Se){return M(Se,H)}}};e.wither=Ba;var Fa=function(R){var M=Or(R);return function(H){return function(Se){return M(Se,H)}}};e.wilt=Fa,e.Witherable={URI:e.URI,map:v,reduce:w,foldMap:O,reduceRight:S,traverse:E,sequence:e.sequence,compact:e.compact,separate:e.separate,filter:A,filterMap:L,partition:$,partitionMap:C,wither:Ne,wilt:Or};var Zh=function(){return e.none};e.throwError=Zh,e.MonadThrow={URI:e.URI,map:v,ap:y,of:e.of,chain:e.flatMap,throwError:e.throwError},e.fromEither=e.getRight,e.FromEither={URI:e.URI,fromEither:e.fromEither},e.isSome=d.isSome;var em=function(R){return R._tag==="None"};e.isNone=em;var tm=function(R,M){return function(H){return(0,e.isNone)(H)?R():M(H.value)}};e.matchW=tm,e.foldW=e.matchW,e.match=e.matchW,e.fold=e.match;var nm=function(R){return function(M){return(0,e.isNone)(M)?R():M.value}};e.getOrElseW=nm,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,l.dual)(2,o.tap(e.Chain)),e.tapEither=(0,l.dual)(2,(0,u.tapEither)(e.FromEither,e.Chain)),e.duplicate=(0,e.extend)(l.identity),e.fromEitherK=(0,u.fromEitherK)(e.FromEither),e.chainEitherK=(0,u.chainEitherK)(e.FromEither,e.Chain),e.chainFirstEitherK=e.tapEither;var rm=function(R){return R==null?e.none:(0,e.some)(R)};e.fromNullable=rm;var im=function(R){try{return(0,e.some)(R())}catch{return e.none}};e.tryCatch=im;var am=function(R){return function(){for(var M=[],H=0;H<arguments.length;H++)M[H]=arguments[H];return(0,e.tryCatch)(function(){return R.apply(void 0,M)})}};e.tryCatchK=am;var om=function(R){return(0,l.flow)(R,e.fromNullable)};e.fromNullableK=om;var um=function(R){return function(M){return(0,e.isNone)(M)?e.none:(0,e.fromNullable)(R(M.value))}};e.chainNullableK=um,e.toNullable=(0,e.match)(l.constNull,l.identity),e.toUndefined=(0,e.match)(l.constUndefined,l.identity);function ls(R){return function(M,H){if(H===void 0){var Se=ls(R);return function(Ye){return Se(M,Ye)}}return(0,e.isNone)(H)?!1:R.equals(M,H.value)}}e.elem=ls;var lm=function(R){return function(M){return(0,e.isNone)(M)?!1:R(M.value)}};e.exists=lm,e.Do=(0,e.of)(d.emptyRecord),e.bindTo=(0,c.bindTo)(e.Functor);var sm=(0,c.let)(e.Functor);e.let=sm,e.bind=o.bind(e.Chain),e.apS=(0,a.apS)(e.Apply),e.ApT=(0,e.of)(d.emptyReadonlyArray);var cm=function(R){return function(M){var H=R(0,d.head(M));if((0,e.isNone)(H))return e.none;for(var Se=[H.value],Ye=1;Ye<M.length;Ye++){var ss=R(Ye,M[Ye]);if((0,e.isNone)(ss))return e.none;Se.push(ss.value)}return(0,e.some)(Se)}};e.traverseReadonlyNonEmptyArrayWithIndex=cm;var fm=function(R){var M=(0,e.traverseReadonlyNonEmptyArrayWithIndex)(R);return function(H){return d.isNonEmpty(H)?M(H):e.ApT}};e.traverseReadonlyArrayWithIndex=fm,e.traverseArrayWithIndex=e.traverseReadonlyArrayWithIndex;var dm=function(R){return(0,e.traverseReadonlyArrayWithIndex)(function(M,H){return R(H)})};e.traverseArray=dm,e.sequenceArray=(0,e.traverseArray)(l.identity),e.chain=e.flatMap,e.chainFirst=e.tap;function pm(R){return function(M){return(0,e.isSome)(R(M))}}e.getRefinement=pm,e.mapNullable=e.chainNullableK,e.option={URI:e.URI,map:v,of:e.of,ap:y,chain:e.flatMap,reduce:w,foldMap:O,reduceRight:S,traverse:E,sequence:e.sequence,zero:e.zero,alt:P,extend:N,compact:e.compact,separate:e.separate,filter:A,filterMap:L,partition:$,partitionMap:C,wither:Ne,wilt:Or,throwError:e.throwError},e.getApplySemigroup=(0,a.getApplySemigroup)(e.Apply),e.getApplyMonoid=(0,i.getApplicativeMonoid)(e.Applicative);var vm=function(){return(0,e.getMonoid)((0,f.first)())};e.getFirstMonoid=vm;var hm=function(){return(0,e.getMonoid)((0,f.last)())};e.getLastMonoid=hm})(N0);var Tb=Object.defineProperty,Ib=(e,t,n)=>t in e?Tb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Xa=(e,t,n)=>(Ib(e,typeof t!="symbol"?t+"":t,n),n);let Cb=class{constructor(){Xa(this,"current",this.detect()),Xa(this,"handoffState","pending"),Xa(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"}},Rt=new Cb,Ce=(e,t)=>{Rt.isServer?ce(e,t):Cn(e,t)};function Nt(e){let t=ee(e);return Ce(()=>{t.current=e},[e]),t}function _a(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function mt(){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 _a(()=>{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=mt();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 yr(){let[e]=Be(mt);return ce(()=>()=>e.dispose(),[e]),e}let Z=function(e){let t=Nt(e);return J.useCallback((...n)=>t.current(...n),[t])};function Lb(){let e=typeof document>"u";return"useSyncExternalStore"in Zn?(t=>t.useSyncExternalStore)(Zn)(()=>()=>{},()=>!1,()=>!e):!1}function gr(){let e=Lb(),[t,n]=Be(Rt.isHandoffComplete);return t&&Rt.isHandoffComplete===!1&&n(!1),ce(()=>{t!==!0&&n(!0)},[t]),ce(()=>Rt.handoff(),[]),e?!1:t}var sc;let nt=(sc=J.useId)!=null?sc:function(){let e=gr(),[t,n]=J.useState(e?()=>Rt.nextId():null);return Ce(()=>{t===null&&n(Rt.nextId())},[t]),t!=null?""+t:void 0};function Ee(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,Ee),r}function ni(e){return Rt.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 Tt=(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))(Tt||{}),Xp=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Xp||{}),kb=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(kb||{});function Qp(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 yl=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(yl||{});function gl(e,t=0){var n;return e===((n=ni(e))==null?void 0:n.body)?!1:Ee(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 Jp(e){let t=ni(e);mt().nextFrame(()=>{t&&!gl(t.activeElement,0)&&Zt(e)})}var Rb=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Rb||{});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 Zt(e){e==null||e.focus({preventScroll:!0})}let Nb=["textarea","input"].join(",");function Mb(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,Nb))!=null?n:!1}function Zp(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 Db(e,t){return Dr(Qp(),t,{relativeTo:e})}function Dr(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?Zp(e):e:Qp(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")})(),l=(()=>{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}:{},d=0,s=o.length,f;do{if(d>=s||d+s<=0)return 0;let p=l+d;if(t&16)p=(p+s)%s;else{if(p<0)return 3;if(p>=s)return 1}f=o[p],f==null||f.focus(c),d+=u}while(f!==a.activeElement);return t&6&&Mb(f)&&f.select(),2}function pi(e,t,n){let r=Nt(t);ce(()=>{function i(a){r.current(a)}return document.addEventListener(e,i,n),()=>document.removeEventListener(e,i,n)},[e,n])}function ev(e,t,n){let r=Nt(t);ce(()=>{function i(a){r.current(a)}return window.addEventListener(e,i,n),()=>window.removeEventListener(e,i,n)},[e,n])}function tv(e,t,n=!0){let r=ee(!1);ce(()=>{requestAnimationFrame(()=>{r.current=n})},[n]);function i(o,u){if(!r.current||o.defaultPrevented)return;let l=u(o);if(l===null||!l.getRootNode().contains(l)||!l.isConnected)return;let c=function d(s){return typeof s=="function"?d(s()):Array.isArray(s)||s instanceof Set?s:[s]}(e);for(let d of c){if(d===null)continue;let s=d instanceof HTMLElement?d:d.current;if(s!=null&&s.contains(l)||o.composed&&o.composedPath().includes(s))return}return!gl(l,yl.Loose)&&l.tabIndex!==-1&&o.preventDefault(),t(o,l)}let a=ee(null);pi("pointerdown",o=>{var u,l;r.current&&(a.current=((l=(u=o.composedPath)==null?void 0:u.call(o))==null?void 0:l[0])||o.target)},!0),pi("mousedown",o=>{var u,l;r.current&&(a.current=((l=(u=o.composedPath)==null?void 0:u.call(o))==null?void 0:l[0])||o.target)},!0),pi("click",o=>{a.current&&(i(o,()=>a.current),a.current=null)},!0),pi("touchend",o=>i(o,()=>o.target instanceof HTMLElement?o.target:null),!0),ev("blur",o=>i(o,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function cc(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 bl(e,t){let[n,r]=Be(()=>cc(e));return Ce(()=>{r(cc(e))},[e.type,e.as]),Ce(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&r("button")},[n,t]),n}let nv=Symbol();function rv(e,t=!0){return Object.assign(e,{[nv]:t})}function Ie(...e){let t=ee(e);ce(()=>{t.current=e},[e]);let n=Z(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[nv]))?void 0:n}function $b({container:e,accept:t,walk:n,enabled:r=!0}){let i=ee(t),a=ee(n);ce(()=>{i.current=t,a.current=n},[t,n]),Ce(()=>{if(!e||!r)return;let o=ni(e);if(!o)return;let u=i.current,l=a.current,c=Object.assign(s=>u(s),{acceptNode:u}),d=o.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,c,!1);for(;d.nextNode();)l(d.currentNode)},[e,r,i,a])}function jb(e){throw new Error("Unexpected object: "+e)}var dt=(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))(dt||{});function Bb(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,l,c)=>i!==-1&&c.length-l-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:jb(e)}})();return a===-1?r:a}function Ji(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}var rn=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(rn||{}),Vt=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Vt||{});function ge({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:a=!0,name:o}){let u=iv(t,e);if(a)return vi(u,n,r,o);let l=i??0;if(l&2){let{static:c=!1,...d}=u;if(c)return vi(d,n,r,o)}if(l&1){let{unmount:c=!0,...d}=u;return Ee(c?0:1,{0(){return null},1(){return vi({...d,hidden:!0,style:{display:"none"}},n,r,o)}})}return vi(u,n,r,o)}function vi(e,t={},n,r){let{as:i=n,children:a,refName:o="ref",...u}=Qa(e,["unmount","static"]),l=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 d={};if(t){let s=!1,f=[];for(let[p,g]of Object.entries(t))typeof g=="boolean"&&(s=!0),g===!0&&f.push(p);s&&(d["data-headlessui-state"]=f.join(" "))}if(i===ye&&Object.keys(au(u)).length>0){if(!vr(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(g=>` - ${g}`).join(`
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(g=>` - ${g}`).join(`
6
- `)].join(`
7
- `));let s=c.props,f=typeof(s==null?void 0:s.className)=="function"?(...g)=>Ji(s==null?void 0:s.className(...g),u.className):Ji(s==null?void 0:s.className,u.className),p=f?{className:f}:{};return il(c,Object.assign({},iv(c.props,au(Qa(u,["ref"]))),d,l,Fb(c.ref,l.ref),p))}return B(i,Object.assign({},Qa(u,["ref"]),i!==ye&&l,i!==ye&&d),c)}function Fb(...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 iv(...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 be(e){var t;return Object.assign(de(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 Qa(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function wa(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&&Ub(n)?!1:r}function Ub(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}function xb(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 Hb="div";var Gr=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Gr||{});function Kb(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 ge({ourProps:i,theirProps:r,slot:{},defaultTag:Hb,name:"Hidden"})}let Zi=be(Kb),_l=Re(null);_l.displayName="OpenClosedContext";var we=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(we||{});function ri(){return Te(_l)}function wl({value:e,children:t}){return J.createElement(_l.Provider,{value:e},t)}var pe=(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))(pe||{});function zb(e,t,n){let[r,i]=Be(n),a=e!==void 0,o=ee(a),u=ee(!1),l=ee(!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&&!l.current&&(l.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,Z(c=>(a||i(c),t==null?void 0:t(c)))]}function El(e,t){let n=ee([]),r=Z(e);ce(()=>{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 fc(e){return[e.screenX,e.screenY]}function Wb(){let e=ee([-1,-1]);return{wasMoved(t){let n=fc(t);return e.current[0]===n[0]&&e.current[1]===n[1]?!1:(e.current=n,!0)},update(t){e.current=fc(t)}}}function qb(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function br(...e){return ue(()=>ni(...e),[...e])}var kr=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(kr||{});function Gb(){let e=ee(0);return ev("keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function ii(){let e=ee(!1);return Ce(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function av(e,t,n,r){let i=Nt(n);ce(()=>{e=e??window;function a(o){i.current(o)}return e.addEventListener(t,a,r),()=>e.removeEventListener(t,a,r)},[e,t,r])}function Vb(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}function ov(e){let t=Z(e),n=ee(!1);ce(()=>(n.current=!1,()=>{n.current=!0,_a(()=>{n.current&&t()})}),[t])}function uv(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 Yb="div";var lv=(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))(lv||{});function Xb(e,t){let n=ee(null),r=Ie(n,t),{initialFocus:i,containers:a,features:o=30,...u}=e;gr()||(o=1);let l=br(n);Zb({ownerDocument:l},!!(o&16));let c=e1({ownerDocument:l,container:n,initialFocus:i},!!(o&2));t1({ownerDocument:l,container:n,containers:a,previousActiveElement:c},!!(o&8));let d=Gb(),s=Z(h=>{let _=n.current;_&&(b=>b())(()=>{Ee(d.current,{[kr.Forwards]:()=>{Dr(_,Tt.First,{skipElements:[h.relatedTarget]})},[kr.Backwards]:()=>{Dr(_,Tt.Last,{skipElements:[h.relatedTarget]})}})})}),f=yr(),p=ee(!1),g={ref:r,onKeyDown(h){h.key=="Tab"&&(p.current=!0,f.requestAnimationFrame(()=>{p.current=!1}))},onBlur(h){let _=uv(a);n.current instanceof HTMLElement&&_.add(n.current);let b=h.relatedTarget;b instanceof HTMLElement&&b.dataset.headlessuiFocusGuard!=="true"&&(sv(_,b)||(p.current?Dr(n.current,Ee(d.current,{[kr.Forwards]:()=>Tt.Next,[kr.Backwards]:()=>Tt.Previous})|Tt.WrapAround,{relativeTo:h.target}):h.target instanceof HTMLElement&&Zt(h.target)))}};return J.createElement(J.Fragment,null,!!(o&4)&&J.createElement(Zi,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:s,features:Gr.Focusable}),ge({ourProps:g,theirProps:u,defaultTag:Yb,name:"FocusTrap"}),!!(o&4)&&J.createElement(Zi,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:s,features:Gr.Focusable}))}let Qb=be(Xb),Ar=Object.assign(Qb,{features:lv}),qt=[];Vb(()=>{function e(t){t.target instanceof HTMLElement&&t.target!==document.body&&qt[0]!==t.target&&(qt.unshift(t.target),qt=qt.filter(n=>n!=null&&n.isConnected),qt.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function Jb(e=!0){let t=ee(qt.slice());return El(([n],[r])=>{r===!0&&n===!1&&_a(()=>{t.current.splice(0)}),r===!1&&n===!0&&(t.current=qt.slice())},[e,qt,t]),Z(()=>{var n;return(n=t.current.find(r=>r!=null&&r.isConnected))!=null?n:null})}function Zb({ownerDocument:e},t){let n=Jb(t);El(()=>{t||(e==null?void 0:e.activeElement)===(e==null?void 0:e.body)&&Zt(n())},[t]),ov(()=>{t&&Zt(n())})}function e1({ownerDocument:e,container:t,initialFocus:n},r){let i=ee(null),a=ii();return El(()=>{if(!r)return;let o=t.current;o&&_a(()=>{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?Zt(n.current):Dr(o,Tt.First)===Xp.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),i.current=e==null?void 0:e.activeElement})},[r]),i}function t1({ownerDocument:e,container:t,containers:n,previousActiveElement:r},i){let a=ii();av(e==null?void 0:e.defaultView,"focus",o=>{if(!i||!a.current)return;let u=uv(n);t.current instanceof HTMLElement&&u.add(t.current);let l=r.current;if(!l)return;let c=o.target;c&&c instanceof HTMLElement?sv(u,c)?(r.current=c,Zt(c)):(o.preventDefault(),o.stopPropagation(),Zt(l)):Zt(r.current)},!0)}function sv(e,t){for(let n of e)if(n.contains(t))return!0;return!1}let cv=Re(!1);function n1(){return Te(cv)}function ou(e){return J.createElement(cv.Provider,{value:e.force},e.children)}function r1(e){let t=n1(),n=Te(fv),r=br(e),[i,a]=Be(()=>{if(!t&&n!==null||Rt.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 ce(()=>{i!==null&&(r!=null&&r.body.contains(i)||r==null||r.body.appendChild(i))},[i,r]),ce(()=>{t||n!==null&&a(n.current)},[n,a,t]),i}let i1=ye;function a1(e,t){let n=e,r=ee(null),i=Ie(rv(d=>{r.current=d}),t),a=br(r),o=r1(r),[u]=Be(()=>{var d;return Rt.isServer?null:(d=a==null?void 0:a.createElement("div"))!=null?d:null}),l=Te(uu),c=gr();return Ce(()=>{!o||!u||o.contains(u)||(u.setAttribute("data-headlessui-portal",""),o.appendChild(u))},[o,u]),Ce(()=>{if(u&&l)return l.register(u)},[l,u]),ov(()=>{var d;!o||!u||(u instanceof Node&&o.contains(u)&&o.removeChild(u),o.childNodes.length<=0&&((d=o.parentElement)==null||d.removeChild(o)))}),c?!o||!u?null:nl(ge({ourProps:{ref:i},theirProps:n,defaultTag:i1,name:"Portal"}),u):null}let o1=ye,fv=Re(null);function u1(e,t){let{target:n,...r}=e,i={ref:Ie(t)};return J.createElement(fv.Provider,{value:n},ge({ourProps:i,theirProps:r,defaultTag:o1,name:"Popover.Group"}))}let uu=Re(null);function l1(){let e=Te(uu),t=ee([]),n=Z(a=>(t.current.push(a),e&&e.register(a),()=>r(a))),r=Z(a=>{let o=t.current.indexOf(a);o!==-1&&t.current.splice(o,1),e&&e.unregister(a)}),i=ue(()=>({register:n,unregister:r,portals:t}),[n,r,t]);return[t,ue(()=>function({children:a}){return J.createElement(uu.Provider,{value:i},a)},[i])]}let s1=be(a1),c1=be(u1),lu=Object.assign(s1,{Group:c1}),dv=Re(null);function pv(){let e=Te(dv);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,pv),t}return e}function vv(){let[e,t]=Be([]);return[e.length>0?e.join(" "):void 0,ue(()=>function(n){let r=Z(a=>(t(o=>[...o,a]),()=>t(o=>{let u=o.slice(),l=u.indexOf(a);return l!==-1&&u.splice(l,1),u}))),i=ue(()=>({register:r,slot:n.slot,name:n.name,props:n.props}),[r,n.slot,n.name,n.props]);return J.createElement(dv.Provider,{value:i},n.children)},[t])]}let f1="p";function d1(e,t){let n=nt(),{id:r=`headlessui-description-${n}`,...i}=e,a=pv(),o=Ie(t);Ce(()=>a.register(r),[r,a.register]);let u={ref:o,...a.props,id:r};return ge({ourProps:u,theirProps:i,slot:a.slot||{},defaultTag:f1,name:a.name||"Description"})}let p1=be(d1),hv=Object.assign(p1,{}),Sl=Re(()=>{});Sl.displayName="StackContext";var su=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(su||{});function v1(){return Te(Sl)}function h1({children:e,onUpdate:t,type:n,element:r,enabled:i}){let a=v1(),o=Z((...u)=>{t==null||t(...u),a(...u)});return Ce(()=>{let u=i===void 0||i===!0;return u&&o(0,n,r),()=>{u&&o(1,n,r)}},[o,n,r,i]),J.createElement(Sl.Provider,{value:o},e)}function m1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}const y1=typeof Object.is=="function"?Object.is:m1,{useState:g1,useEffect:b1,useLayoutEffect:_1,useDebugValue:w1}=Zn;function E1(e,t,n){const r=t(),[{inst:i},a]=g1({inst:{value:r,getSnapshot:t}});return _1(()=>{i.value=r,i.getSnapshot=t,Ja(i)&&a({inst:i})},[e,r,t]),b1(()=>(Ja(i)&&a({inst:i}),e(()=>{Ja(i)&&a({inst:i})})),[e]),w1(r),r}function Ja(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!y1(n,r)}catch{return!0}}function S1(e,t,n){return t()}const O1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",P1=!O1,A1=P1?S1:E1,T1="useSyncExternalStore"in Zn?(e=>e.useSyncExternalStore)(Zn):A1;function I1(e){return T1(e.subscribe,e.getSnapshot,e.getSnapshot)}function C1(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 L1(){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 k1(){if(!qb())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=mt();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:l}=new URL(u.href),c=t.querySelector(l);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 R1(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function N1(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let hn=C1(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:mt(),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:N1(n)},i=[k1(),L1(),R1()];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)}});hn.subscribe(()=>{let e=hn.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)&&hn.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&hn.dispatch("TEARDOWN",n)}});function M1(e,t,n){let r=I1(hn),i=e?r.get(e):void 0,a=i?i.count>0:!1;return Ce(()=>{if(!(!e||!t))return hn.dispatch("PUSH",e,n),()=>hn.dispatch("POP",e,n)},[t,e]),a}let Za=new Map,Tr=new Map;function dc(e,t=!0){Ce(()=>{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=Tr.get(r))!=null?o:1;if(u===1?Tr.delete(r):Tr.set(r,u-1),u!==1)return;let l=Za.get(r);l&&(l["aria-hidden"]===null?r.removeAttribute("aria-hidden"):r.setAttribute("aria-hidden",l["aria-hidden"]),r.inert=l.inert,Za.delete(r))}let a=(n=Tr.get(r))!=null?n:0;return Tr.set(r,a+1),a!==0||(Za.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),r.setAttribute("aria-hidden","true"),r.inert=!0),i},[e,t])}function D1({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){var r;let i=ee((r=n==null?void 0:n.current)!=null?r:null),a=br(i),o=Z(()=>{var u;let l=[];for(let c of e)c!==null&&(c instanceof HTMLElement?l.push(c):"current"in c&&c.current instanceof HTMLElement&&l.push(c.current));if(t!=null&&t.current)for(let c of t.current)l.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)||l.some(d=>c.contains(d))||l.push(c));return l});return{resolveContainers:o,contains:Z(u=>o().some(l=>l.contains(u))),mainTreeNodeRef:i,MainTreeNode:ue(()=>function(){return n!=null?null:J.createElement(Zi,{features:Gr.Hidden,ref:i})},[i,n])}}var $1=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))($1||{}),j1=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(j1||{});let B1={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},ea=Re(null);ea.displayName="DialogContext";function ai(e){let t=Te(ea);if(t===null){let n=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,ai),n}return t}function F1(e,t,n=()=>[document.body]){M1(e,t,r=>{var i;return{containers:[...(i=r.containers)!=null?i:[],n]}})}function U1(e,t){return Ee(t.type,B1,e,t)}let x1="div",H1=rn.RenderStrategy|rn.Static;function K1(e,t){var n;let r=nt(),{id:i=`headlessui-dialog-${r}`,open:a,onClose:o,initialFocus:u,__demoMode:l=!1,...c}=e,[d,s]=Be(0),f=ri();a===void 0&&f!==null&&(a=(f&we.Open)===we.Open);let p=ee(null),g=Ie(p,t),h=br(p),_=e.hasOwnProperty("open")||f!==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 m=a?0:1,[v,y]=In(U1,{titleId:null,descriptionId:null,panelRef:Kr()}),w=Z(()=>o(!1)),O=Z(X=>y({type:0,id:X})),S=gr()?l?!1:m===0:!1,E=d>1,P=Te(ea)!==null,[A,L]=l1(),{resolveContainers:N,mainTreeNodeRef:$,MainTreeNode:C}=D1({portals:A,defaultContainers:[(n=v.panelRef.current)!=null?n:p.current]}),I=E?"parent":"leaf",k=f!==null?(f&we.Closing)===we.Closing:!1,D=(()=>P||k?!1:S)(),j=Gt(()=>{var X,re;return(re=Array.from((X=h==null?void 0:h.querySelectorAll("body > *"))!=null?X:[]).find(ie=>ie.id==="headlessui-portal-root"?!1:ie.contains($.current)&&ie instanceof HTMLElement))!=null?re:null},[$]);dc(j,D);let V=(()=>E?!0:S)(),W=Gt(()=>{var X,re;return(re=Array.from((X=h==null?void 0:h.querySelectorAll("[data-headlessui-portal]"))!=null?X:[]).find(ie=>ie.contains($.current)&&ie instanceof HTMLElement))!=null?re:null},[$]);dc(W,V);let Y=(()=>!(!S||E))();tv(N,w,Y);let U=(()=>!(E||m!==0))();av(h==null?void 0:h.defaultView,"keydown",X=>{U&&(X.defaultPrevented||X.key===pe.Escape&&(X.preventDefault(),X.stopPropagation(),w()))});let F=(()=>!(k||m!==0||P))();F1(h,F,N),ce(()=>{if(m!==0||!p.current)return;let X=new ResizeObserver(re=>{for(let ie of re){let _e=ie.target.getBoundingClientRect();_e.x===0&&_e.y===0&&_e.width===0&&_e.height===0&&w()}});return X.observe(p.current),()=>X.disconnect()},[m,p,w]);let[z,x]=vv(),te=ue(()=>[{dialogState:m,close:w,setTitleId:O},v],[m,v,w,O]),se=ue(()=>({open:m===0}),[m]),ne={ref:g,id:i,role:"dialog","aria-modal":m===0?!0:void 0,"aria-labelledby":v.titleId,"aria-describedby":z};return J.createElement(h1,{type:"Dialog",enabled:m===0,element:p,onUpdate:Z((X,re)=>{re==="Dialog"&&Ee(X,{[su.Add]:()=>s(ie=>ie+1),[su.Remove]:()=>s(ie=>ie-1)})})},J.createElement(ou,{force:!0},J.createElement(lu,null,J.createElement(ea.Provider,{value:te},J.createElement(lu.Group,{target:p},J.createElement(ou,{force:!1},J.createElement(x,{slot:se,name:"Dialog.Description"},J.createElement(Ar,{initialFocus:u,containers:N,features:S?Ee(I,{parent:Ar.features.RestoreFocus,leaf:Ar.features.All&~Ar.features.FocusLock}):Ar.features.None},J.createElement(L,null,ge({ourProps:ne,theirProps:c,slot:se,defaultTag:x1,features:H1,visible:m===0,name:"Dialog"}))))))))),J.createElement(C,null))}let z1="div";function W1(e,t){let n=nt(),{id:r=`headlessui-dialog-overlay-${n}`,...i}=e,[{dialogState:a,close:o}]=ai("Dialog.Overlay"),u=Ie(t),l=Z(d=>{if(d.target===d.currentTarget){if(wa(d.currentTarget))return d.preventDefault();d.preventDefault(),d.stopPropagation(),o()}}),c=ue(()=>({open:a===0}),[a]);return ge({ourProps:{ref:u,id:r,"aria-hidden":!0,onClick:l},theirProps:i,slot:c,defaultTag:z1,name:"Dialog.Overlay"})}let q1="div";function G1(e,t){let n=nt(),{id:r=`headlessui-dialog-backdrop-${n}`,...i}=e,[{dialogState:a},o]=ai("Dialog.Backdrop"),u=Ie(t);ce(()=>{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 l=ue(()=>({open:a===0}),[a]);return J.createElement(ou,{force:!0},J.createElement(lu,null,ge({ourProps:{ref:u,id:r,"aria-hidden":!0},theirProps:i,slot:l,defaultTag:q1,name:"Dialog.Backdrop"})))}let V1="div";function Y1(e,t){let n=nt(),{id:r=`headlessui-dialog-panel-${n}`,...i}=e,[{dialogState:a},o]=ai("Dialog.Panel"),u=Ie(t,o.panelRef),l=ue(()=>({open:a===0}),[a]),c=Z(d=>{d.stopPropagation()});return ge({ourProps:{ref:u,id:r,onClick:c},theirProps:i,slot:l,defaultTag:V1,name:"Dialog.Panel"})}let X1="h2";function Q1(e,t){let n=nt(),{id:r=`headlessui-dialog-title-${n}`,...i}=e,[{dialogState:a,setTitleId:o}]=ai("Dialog.Title"),u=Ie(t);ce(()=>(o(r),()=>o(null)),[r,o]);let l=ue(()=>({open:a===0}),[a]);return ge({ourProps:{ref:u,id:r},theirProps:i,slot:l,defaultTag:X1,name:"Dialog.Title"})}let J1=be(K1),Z1=be(G1),e_=be(Y1),t_=be(W1),n_=be(Q1),KT=Object.assign(J1,{Backdrop:Z1,Panel:e_,Overlay:t_,Title:n_,Description:hv});var pc;let r_=(pc=J.startTransition)!=null?pc:function(e){e()};var i_=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(i_||{}),a_=(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))(a_||{});let o_={0:e=>({...e,disclosureState:Ee(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}}},Ol=Re(null);Ol.displayName="DisclosureContext";function Pl(e){let t=Te(Ol);if(t===null){let n=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Pl),n}return t}let Al=Re(null);Al.displayName="DisclosureAPIContext";function mv(e){let t=Te(Al);if(t===null){let n=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,mv),n}return t}let Tl=Re(null);Tl.displayName="DisclosurePanelContext";function u_(){return Te(Tl)}function l_(e,t){return Ee(t.type,o_,e,t)}let s_=ye;function c_(e,t){let{defaultOpen:n=!1,...r}=e,i=ee(null),a=Ie(t,rv(_=>{i.current=_},e.as===void 0||e.as===ye)),o=ee(null),u=ee(null),l=In(l_,{disclosureState:n?0:1,linkedPanel:!1,buttonRef:u,panelRef:o,buttonId:null,panelId:null}),[{disclosureState:c,buttonId:d},s]=l,f=Z(_=>{s({type:1});let b=ni(i);if(!b||!d)return;let m=(()=>_?_ instanceof HTMLElement?_:_.current instanceof HTMLElement?_.current:b.getElementById(d):b.getElementById(d))();m==null||m.focus()}),p=ue(()=>({close:f}),[f]),g=ue(()=>({open:c===0,close:f}),[c,f]),h={ref:a};return J.createElement(Ol.Provider,{value:l},J.createElement(Al.Provider,{value:p},J.createElement(wl,{value:Ee(c,{0:we.Open,1:we.Closed})},ge({ourProps:h,theirProps:r,slot:g,defaultTag:s_,name:"Disclosure"}))))}let f_="button";function d_(e,t){let n=nt(),{id:r=`headlessui-disclosure-button-${n}`,...i}=e,[a,o]=Pl("Disclosure.Button"),u=u_(),l=u===null?!1:u===a.panelId,c=ee(null),d=Ie(c,t,l?null:a.buttonRef);ce(()=>{if(!l)return o({type:2,buttonId:r}),()=>{o({type:2,buttonId:null})}},[r,o,l]);let s=Z(b=>{var m;if(l){if(a.disclosureState===1)return;switch(b.key){case pe.Space:case pe.Enter:b.preventDefault(),b.stopPropagation(),o({type:0}),(m=a.buttonRef.current)==null||m.focus();break}}else switch(b.key){case pe.Space:case pe.Enter:b.preventDefault(),b.stopPropagation(),o({type:0});break}}),f=Z(b=>{switch(b.key){case pe.Space:b.preventDefault();break}}),p=Z(b=>{var m;wa(b.currentTarget)||e.disabled||(l?(o({type:0}),(m=a.buttonRef.current)==null||m.focus()):o({type:0}))}),g=ue(()=>({open:a.disclosureState===0}),[a]),h=bl(e,c),_=l?{ref:d,type:h,onKeyDown:s,onClick:p}:{ref:d,id:r,type:h,"aria-expanded":a.disclosureState===0,"aria-controls":a.linkedPanel?a.panelId:void 0,onKeyDown:s,onKeyUp:f,onClick:p};return ge({ourProps:_,theirProps:i,slot:g,defaultTag:f_,name:"Disclosure.Button"})}let p_="div",v_=rn.RenderStrategy|rn.Static;function h_(e,t){let n=nt(),{id:r=`headlessui-disclosure-panel-${n}`,...i}=e,[a,o]=Pl("Disclosure.Panel"),{close:u}=mv("Disclosure.Panel"),l=Ie(t,a.panelRef,p=>{r_(()=>o({type:p?4:5}))});ce(()=>(o({type:3,panelId:r}),()=>{o({type:3,panelId:null})}),[r,o]);let c=ri(),d=(()=>c!==null?(c&we.Open)===we.Open:a.disclosureState===0)(),s=ue(()=>({open:a.disclosureState===0,close:u}),[a,u]),f={ref:l,id:r};return J.createElement(Tl.Provider,{value:a.panelId},ge({ourProps:f,theirProps:i,slot:s,defaultTag:p_,features:v_,visible:d,name:"Disclosure.Panel"}))}let m_=be(c_),y_=be(d_),g_=be(h_),zT=Object.assign(m_,{Button:y_,Panel:g_}),vc=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function hc(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 vc.test(o)&&(o=o.replace(vc,"")),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():hc(a).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return hc(e).trim()}function __(e){let t=ee(""),n=ee("");return Z(()=>{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 w_=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(w_||{}),E_=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(E_||{}),S_=(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))(S_||{});function eo(e,t=n=>n){let n=e.activeItemIndex!==null?e.items[e.activeItemIndex]:null,r=Zp(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 O_={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=eo(e),i=Bb(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=eo(e,r=>[...r,{id:t.id,dataRef:t.dataRef}]);return{...e,...n}},6:(e,t)=>{let n=eo(e,r=>{let i=r.findIndex(a=>a.id===t.id);return i!==-1&&r.splice(i,1),r});return{...e,...n,activationTrigger:1}}},Il=Re(null);Il.displayName="MenuContext";function Ea(e){let t=Te(Il);if(t===null){let n=new Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Ea),n}return t}function P_(e,t){return Ee(t.type,O_,e,t)}let A_=ye;function T_(e,t){let{__demoMode:n=!1,...r}=e,i=In(P_,{__demoMode:n,menuState:n?0:1,buttonRef:Kr(),itemsRef:Kr(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:a,itemsRef:o,buttonRef:u},l]=i,c=Ie(t);tv([u,o],(p,g)=>{var h;l({type:1}),gl(g,yl.Loose)||(p.preventDefault(),(h=u.current)==null||h.focus())},a===0);let d=Z(()=>{l({type:1})}),s=ue(()=>({open:a===0,close:d}),[a,d]),f={ref:c};return J.createElement(Il.Provider,{value:i},J.createElement(wl,{value:Ee(a,{0:we.Open,1:we.Closed})},ge({ourProps:f,theirProps:r,slot:s,defaultTag:A_,name:"Menu"})))}let I_="button";function C_(e,t){var n;let r=nt(),{id:i=`headlessui-menu-button-${r}`,...a}=e,[o,u]=Ea("Menu.Button"),l=Ie(o.buttonRef,t),c=yr(),d=Z(h=>{switch(h.key){case pe.Space:case pe.Enter:case pe.ArrowDown:h.preventDefault(),h.stopPropagation(),u({type:0}),c.nextFrame(()=>u({type:2,focus:dt.First}));break;case pe.ArrowUp:h.preventDefault(),h.stopPropagation(),u({type:0}),c.nextFrame(()=>u({type:2,focus:dt.Last}));break}}),s=Z(h=>{switch(h.key){case pe.Space:h.preventDefault();break}}),f=Z(h=>{if(wa(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=ue(()=>({open:o.menuState===0}),[o]),g={ref:l,id:i,type:bl(e,o.buttonRef),"aria-haspopup":"menu","aria-controls":(n=o.itemsRef.current)==null?void 0:n.id,"aria-expanded":o.menuState===0,onKeyDown:d,onKeyUp:s,onClick:f};return ge({ourProps:g,theirProps:a,slot:p,defaultTag:I_,name:"Menu.Button"})}let L_="div",k_=rn.RenderStrategy|rn.Static;function R_(e,t){var n,r;let i=nt(),{id:a=`headlessui-menu-items-${i}`,...o}=e,[u,l]=Ea("Menu.Items"),c=Ie(u.itemsRef,t),d=br(u.itemsRef),s=yr(),f=ri(),p=(()=>f!==null?(f&we.Open)===we.Open:u.menuState===0)();ce(()=>{let m=u.itemsRef.current;m&&u.menuState===0&&m!==(d==null?void 0:d.activeElement)&&m.focus({preventScroll:!0})},[u.menuState,u.itemsRef,d]),$b({container:u.itemsRef.current,enabled:u.menuState===0,accept(m){return m.getAttribute("role")==="menuitem"?NodeFilter.FILTER_REJECT:m.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(m){m.setAttribute("role","none")}});let g=Z(m=>{var v,y;switch(s.dispose(),m.key){case pe.Space:if(u.searchQuery!=="")return m.preventDefault(),m.stopPropagation(),l({type:3,value:m.key});case pe.Enter:if(m.preventDefault(),m.stopPropagation(),l({type:1}),u.activeItemIndex!==null){let{dataRef:w}=u.items[u.activeItemIndex];(y=(v=w.current)==null?void 0:v.domRef.current)==null||y.click()}Jp(u.buttonRef.current);break;case pe.ArrowDown:return m.preventDefault(),m.stopPropagation(),l({type:2,focus:dt.Next});case pe.ArrowUp:return m.preventDefault(),m.stopPropagation(),l({type:2,focus:dt.Previous});case pe.Home:case pe.PageUp:return m.preventDefault(),m.stopPropagation(),l({type:2,focus:dt.First});case pe.End:case pe.PageDown:return m.preventDefault(),m.stopPropagation(),l({type:2,focus:dt.Last});case pe.Escape:m.preventDefault(),m.stopPropagation(),l({type:1}),mt().nextFrame(()=>{var w;return(w=u.buttonRef.current)==null?void 0:w.focus({preventScroll:!0})});break;case pe.Tab:m.preventDefault(),m.stopPropagation(),l({type:1}),mt().nextFrame(()=>{Db(u.buttonRef.current,m.shiftKey?Tt.Previous:Tt.Next)});break;default:m.key.length===1&&(l({type:3,value:m.key}),s.setTimeout(()=>l({type:4}),350));break}}),h=Z(m=>{switch(m.key){case pe.Space:m.preventDefault();break}}),_=ue(()=>({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:g,onKeyUp:h,role:"menu",tabIndex:0,ref:c};return ge({ourProps:b,theirProps:o,slot:_,defaultTag:L_,features:k_,visible:p,name:"Menu.Items"})}let N_=ye;function M_(e,t){let n=nt(),{id:r=`headlessui-menu-item-${n}`,disabled:i=!1,...a}=e,[o,u]=Ea("Menu.Item"),l=o.activeItemIndex!==null?o.items[o.activeItemIndex].id===r:!1,c=ee(null),d=Ie(t,c);Ce(()=>{if(o.__demoMode||o.menuState!==0||!l||o.activationTrigger===0)return;let w=mt();return w.requestAnimationFrame(()=>{var O,S;(S=(O=c.current)==null?void 0:O.scrollIntoView)==null||S.call(O,{block:"nearest"})}),w.dispose},[o.__demoMode,c,l,o.menuState,o.activationTrigger,o.activeItemIndex]);let s=__(c),f=ee({disabled:i,domRef:c,get textValue(){return s()}});Ce(()=>{f.current.disabled=i},[f,i]),Ce(()=>(u({type:5,id:r,dataRef:f}),()=>u({type:6,id:r})),[f,r]);let p=Z(()=>{u({type:1})}),g=Z(w=>{if(i)return w.preventDefault();u({type:1}),Jp(o.buttonRef.current)}),h=Z(()=>{if(i)return u({type:2,focus:dt.Nothing});u({type:2,focus:dt.Specific,id:r})}),_=Wb(),b=Z(w=>_.update(w)),m=Z(w=>{_.wasMoved(w)&&(i||l||u({type:2,focus:dt.Specific,id:r,trigger:0}))}),v=Z(w=>{_.wasMoved(w)&&(i||l&&u({type:2,focus:dt.Nothing}))}),y=ue(()=>({active:l,disabled:i,close:p}),[l,i,p]);return ge({ourProps:{id:r,ref:d,role:"menuitem",tabIndex:i===!0?void 0:-1,"aria-disabled":i===!0?!0:void 0,disabled:void 0,onClick:g,onFocus:h,onPointerEnter:b,onMouseEnter:b,onPointerMove:m,onMouseMove:m,onPointerLeave:v,onMouseLeave:v},theirProps:a,slot:y,defaultTag:N_,name:"Menu.Item"})}let D_=be(T_),$_=be(C_),j_=be(R_),B_=be(M_),WT=Object.assign(D_,{Button:$_,Items:j_,Item:B_});function F_(e=0){let[t,n]=Be(e),r=ii(),i=Gt(l=>{r.current&&n(c=>c|l)},[t,r]),a=Gt(l=>!!(t&l),[t]),o=Gt(l=>{r.current&&n(c=>c&~l)},[n,r]),u=Gt(l=>{r.current&&n(c=>c^l)},[n]);return{flags:t,addFlag:i,hasFlag:a,removeFlag:o,toggleFlag:u}}let yv=Re(null);function gv(){let e=Te(yv);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,gv),t}return e}function U_(){let[e,t]=Be([]);return[e.length>0?e.join(" "):void 0,ue(()=>function(n){let r=Z(a=>(t(o=>[...o,a]),()=>t(o=>{let u=o.slice(),l=u.indexOf(a);return l!==-1&&u.splice(l,1),u}))),i=ue(()=>({register:r,slot:n.slot,name:n.name,props:n.props}),[r,n.slot,n.name,n.props]);return J.createElement(yv.Provider,{value:i},n.children)},[t])]}let x_="label";function H_(e,t){let n=nt(),{id:r=`headlessui-label-${n}`,passive:i=!1,...a}=e,o=gv(),u=Ie(t);Ce(()=>o.register(r),[r,o.register]);let l={ref:u,...o.props,id:r};return i&&("onClick"in l&&(delete l.htmlFor,delete l.onClick),"onClick"in a&&delete a.onClick),ge({ourProps:l,theirProps:a,slot:o.slot||{},defaultTag:x_,name:o.name||"Label"})}let K_=be(H_),z_=Object.assign(K_,{}),Cl=Re(null);Cl.displayName="GroupContext";let W_=ye;function q_(e){var t;let[n,r]=Be(null),[i,a]=U_(),[o,u]=vv(),l=ue(()=>({switch:n,setSwitch:r,labelledby:i,describedby:o}),[n,r,i,o]),c={},d=e;return J.createElement(u,{name:"Switch.Description"},J.createElement(a,{name:"Switch.Label",props:{htmlFor:(t=l.switch)==null?void 0:t.id,onClick(s){n&&(s.currentTarget.tagName==="LABEL"&&s.preventDefault(),n.click(),n.focus({preventScroll:!0}))}}},J.createElement(Cl.Provider,{value:l},ge({ourProps:c,theirProps:d,defaultTag:W_,name:"Switch.Group"}))))}let G_="button";function V_(e,t){let n=nt(),{id:r=`headlessui-switch-${n}`,checked:i,defaultChecked:a=!1,onChange:o,name:u,value:l,form:c,...d}=e,s=Te(Cl),f=ee(null),p=Ie(f,t,s===null?null:s.setSwitch),[g,h]=zb(i,o,a),_=Z(()=>h==null?void 0:h(!g)),b=Z(S=>{if(wa(S.currentTarget))return S.preventDefault();S.preventDefault(),_()}),m=Z(S=>{S.key===pe.Space?(S.preventDefault(),_()):S.key===pe.Enter&&xb(S.currentTarget)}),v=Z(S=>S.preventDefault()),y=ue(()=>({checked:g}),[g]),w={id:r,ref:p,role:"switch",type:bl(e,f),tabIndex:0,"aria-checked":g,"aria-labelledby":s==null?void 0:s.labelledby,"aria-describedby":s==null?void 0:s.describedby,onClick:b,onKeyUp:m,onKeyPress:v},O=yr();return ce(()=>{var S;let E=(S=f.current)==null?void 0:S.closest("form");E&&a!==void 0&&O.addEventListener(E,"reset",()=>{h(a)})},[f,h]),J.createElement(J.Fragment,null,u!=null&&g&&J.createElement(Zi,{features:Gr.Hidden,...au({as:"input",type:"checkbox",hidden:!0,readOnly:!0,form:c,checked:g,name:u,value:l})}),ge({ourProps:w,theirProps:d,slot:y,defaultTag:G_,name:"Switch"}))}let Y_=be(V_),X_=q_,qT=Object.assign(Y_,{Group:X_,Label:z_,Description:hv});function Q_(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}function to(e,...t){e&&t.length>0&&e.classList.add(...t)}function no(e,...t){e&&t.length>0&&e.classList.remove(...t)}function J_(e,t){let n=mt();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:i}=getComputedStyle(e),[a,o]=[r,i].map(l=>{let[c=0]=l.split(",").filter(Boolean).map(d=>d.includes("ms")?parseFloat(d):parseFloat(d)*1e3).sort((d,s)=>s-d);return c}),u=a+o;if(u!==0){n.group(c=>{c.setTimeout(()=>{t(),c.dispose()},u),c.addEventListener(e,"transitionrun",d=>{d.target===d.currentTarget&&c.dispose()})});let l=n.addEventListener(e,"transitionend",c=>{c.target===c.currentTarget&&(t(),l())})}else t();return n.add(()=>t()),n.dispose}function Z_(e,t,n,r){let i=n?"enter":"leave",a=mt(),o=r!==void 0?Q_(r):()=>{};i==="enter"&&(e.removeAttribute("hidden"),e.style.display="");let u=Ee(i,{enter:()=>t.enter,leave:()=>t.leave}),l=Ee(i,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),c=Ee(i,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return no(e,...t.base,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),to(e,...t.base,...u,...c),a.nextFrame(()=>{no(e,...t.base,...u,...c),to(e,...t.base,...u,...l),J_(e,()=>(no(e,...t.base,...u),to(e,...t.base,...t.entered),o()))}),a.dispose}function ew({immediate:e,container:t,direction:n,classes:r,onStart:i,onStop:a}){let o=ii(),u=yr(),l=Nt(n);Ce(()=>{e&&(l.current="enter")},[e]),Ce(()=>{let c=mt();u.add(c.dispose);let d=t.current;if(d&&l.current!=="idle"&&o.current)return c.dispose(),i.current(l.current),c.add(Z_(d,r.current,l.current==="enter",()=>{c.dispose(),a.current(l.current)})),c.dispose},[n])}function xt(e=""){return e.split(" ").filter(t=>t.trim().length>1)}let Sa=Re(null);Sa.displayName="TransitionContext";var tw=(e=>(e.Visible="visible",e.Hidden="hidden",e))(tw||{});function nw(){let e=Te(Sa);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function rw(){let e=Te(Oa);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let Oa=Re(null);Oa.displayName="NestingContext";function Pa(e){return"children"in e?Pa(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function bv(e,t){let n=Nt(e),r=ee([]),i=ii(),a=yr(),o=Z((p,g=Vt.Hidden)=>{let h=r.current.findIndex(({el:_})=>_===p);h!==-1&&(Ee(g,{[Vt.Unmount](){r.current.splice(h,1)},[Vt.Hidden](){r.current[h].state="hidden"}}),a.microTask(()=>{var _;!Pa(r)&&i.current&&((_=n.current)==null||_.call(n))}))}),u=Z(p=>{let g=r.current.find(({el:h})=>h===p);return g?g.state!=="visible"&&(g.state="visible"):r.current.push({el:p,state:"visible"}),()=>o(p,Vt.Unmount)}),l=ee([]),c=ee(Promise.resolve()),d=ee({enter:[],leave:[],idle:[]}),s=Z((p,g,h)=>{l.current.splice(0),t&&(t.chains.current[g]=t.chains.current[g].filter(([_])=>_!==p)),t==null||t.chains.current[g].push([p,new Promise(_=>{l.current.push(_)})]),t==null||t.chains.current[g].push([p,new Promise(_=>{Promise.all(d.current[g].map(([b,m])=>m)).then(()=>_())})]),g==="enter"?c.current=c.current.then(()=>t==null?void 0:t.wait.current).then(()=>h(g)):h(g)}),f=Z((p,g,h)=>{Promise.all(d.current[g].splice(0).map(([_,b])=>b)).then(()=>{var _;(_=l.current.shift())==null||_()}).then(()=>h(g))});return ue(()=>({children:r,register:u,unregister:o,onStart:s,onStop:f,wait:c,chains:d}),[u,o,r,s,f,d,c])}function iw(){}let aw=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function mc(e){var t;let n={};for(let r of aw)n[r]=(t=e[r])!=null?t:iw;return n}function ow(e){let t=ee(mc(e));return ce(()=>{t.current=mc(e)},[e]),t}let uw="div",_v=rn.RenderStrategy;function lw(e,t){var n,r;let{beforeEnter:i,afterEnter:a,beforeLeave:o,afterLeave:u,enter:l,enterFrom:c,enterTo:d,entered:s,leave:f,leaveFrom:p,leaveTo:g,...h}=e,_=ee(null),b=Ie(_,t),m=(n=h.unmount)==null||n?Vt.Unmount:Vt.Hidden,{show:v,appear:y,initial:w}=nw(),[O,S]=Be(v?"visible":"hidden"),E=rw(),{register:P,unregister:A}=E;ce(()=>P(_),[P,_]),ce(()=>{if(m===Vt.Hidden&&_.current){if(v&&O!=="visible"){S("visible");return}return Ee(O,{hidden:()=>A(_),visible:()=>P(_)})}},[O,_,P,A,v,m]);let L=Nt({base:xt(h.className),enter:xt(l),enterFrom:xt(c),enterTo:xt(d),entered:xt(s),leave:xt(f),leaveFrom:xt(p),leaveTo:xt(g)}),N=ow({beforeEnter:i,afterEnter:a,beforeLeave:o,afterLeave:u}),$=gr();ce(()=>{if($&&O==="visible"&&_.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[_,O,$]);let C=w&&!y,I=y&&v&&w,k=(()=>!$||C?"idle":v?"enter":"leave")(),D=F_(0),j=Z(F=>Ee(F,{enter:()=>{D.addFlag(we.Opening),N.current.beforeEnter()},leave:()=>{D.addFlag(we.Closing),N.current.beforeLeave()},idle:()=>{}})),V=Z(F=>Ee(F,{enter:()=>{D.removeFlag(we.Opening),N.current.afterEnter()},leave:()=>{D.removeFlag(we.Closing),N.current.afterLeave()},idle:()=>{}})),W=bv(()=>{S("hidden"),A(_)},E);ew({immediate:I,container:_,classes:L,direction:k,onStart:Nt(F=>{W.onStart(_,F,j)}),onStop:Nt(F=>{W.onStop(_,F,V),F==="leave"&&!Pa(W)&&(S("hidden"),A(_))})});let Y=h,U={ref:b};return I?Y={...Y,className:Ji(h.className,...L.current.enter,...L.current.enterFrom)}:(Y.className=Ji(h.className,(r=_.current)==null?void 0:r.className),Y.className===""&&delete Y.className),J.createElement(Oa.Provider,{value:W},J.createElement(wl,{value:Ee(O,{visible:we.Open,hidden:we.Closed})|D.flags},ge({ourProps:U,theirProps:Y,defaultTag:uw,features:_v,visible:O==="visible",name:"Transition.Child"})))}function sw(e,t){let{show:n,appear:r=!1,unmount:i=!0,...a}=e,o=ee(null),u=Ie(o,t);gr();let l=ri();if(n===void 0&&l!==null&&(n=(l&we.Open)===we.Open),![!0,!1].includes(n))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[c,d]=Be(n?"visible":"hidden"),s=bv(()=>{d("hidden")}),[f,p]=Be(!0),g=ee([n]);Ce(()=>{f!==!1&&g.current[g.current.length-1]!==n&&(g.current.push(n),p(!1))},[g,n]);let h=ue(()=>({show:n,appear:r,initial:f}),[n,r,f]);ce(()=>{if(n)d("visible");else if(!Pa(s))d("hidden");else{let v=o.current;if(!v)return;let y=v.getBoundingClientRect();y.x===0&&y.y===0&&y.width===0&&y.height===0&&d("hidden")}},[n,s]);let _={unmount:i},b=Z(()=>{var v;f&&p(!1),(v=e.beforeEnter)==null||v.call(e)}),m=Z(()=>{var v;f&&p(!1),(v=e.beforeLeave)==null||v.call(e)});return J.createElement(Oa.Provider,{value:s},J.createElement(Sa.Provider,{value:h},ge({ourProps:{..._,as:ye,children:J.createElement(wv,{ref:u,..._,...a,beforeEnter:b,beforeLeave:m})},theirProps:{},defaultTag:ye,features:_v,visible:c==="visible",name:"Transition"})))}function cw(e,t){let n=Te(Sa)!==null,r=ri()!==null;return J.createElement(J.Fragment,null,!n&&r?J.createElement(cu,{ref:t,...e}):J.createElement(wv,{ref:t,...e}))}let cu=be(sw),wv=be(lw),fw=be(cw),GT=Object.assign(cu,{Child:fw,Root:cu});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:"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 pw=de(dw),VT=pw;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:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25H12"}))}const hw=de(vw),YT=hw;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:"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 yw=de(mw),XT=yw;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:"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 bw=de(gw),QT=bw;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:"M12 9v3.75m9-.75a9 9 0 11-18 0 9 9 0 0118 0zm-9 3.75h.008v.008H12v-.008z"}))}const ww=de(_w),JT=ww;function Ew({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 Sw=de(Ew),ZT=Sw;function Ow({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 Pw=de(Ow),eI=Pw;function Aw({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 Tw=de(Aw),tI=Tw;function Iw({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 Cw=de(Iw),nI=Cw;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:"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 kw=de(Lw),rI=kw;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:"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 Nw=de(Rw),iI=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:"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 Dw=de(Mw),aI=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:"M6 18L18 6M6 6l12 12"}))}const jw=de($w),oI=jw;function Ev(e,t=!1,n,r=n.polyfill("FormData",!0,!0),i=[]){return Object.entries(e).forEach(([a,o])=>{let u=i.reduce((l,c)=>l?`${l}[${c}]`:c,null);if(u=u?`${u}[${a}]`:a,o instanceof Array||globalThis.FileList&&o instanceof FileList)for(const l of o)r.append(u,l);else t&&typeof o=="object"&&(!(t instanceof Array)||!t.includes(a))?o!==null&&Ev(o,t,n,r,[...i,a]):r.append(u,o)}),r}const Bw={wretch:{formData(e,t=!1){return this.body(Ev(e,t,this._config))}}},uI=Bw;function fu(e){this.message=e}fu.prototype=new Error,fu.prototype.name="InvalidCharacterError";var yc=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 Fw(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(yc(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 yc(t)}}function ta(e){this.message=e}function lI(e,t){if(typeof e!="string")throw new ta("Invalid token specified");var n=(t=t||{}).header===!0?0:1;try{return JSON.parse(Fw(e.split(".")[n]))}catch(r){throw new ta("Invalid token specified: "+r.message)}}ta.prototype=new Error,ta.prototype.name="InvalidTokenError";var Uw={};const Sv=Jf(Zn);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(C){return C&&typeof C=="object"&&"default"in C?C.default:C}var n=Sv,r=t(n),i=function(){return i=Object.assign||function(I){for(var k,D=1,j=arguments.length;D<j;D++){k=arguments[D];for(var V in k)Object.prototype.hasOwnProperty.call(k,V)&&(I[V]=k[V])}return I},i.apply(this,arguments)},a=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Q<"u"?Q:typeof self<"u"?self:{};function o(C){return C&&C.__esModule&&Object.prototype.hasOwnProperty.call(C,"default")?C.default:C}function u(C,I){return I={exports:{}},C(I,I.exports),I.exports}var l=u(function(C,I){Object.defineProperty(I,"__esModule",{value:!0}),I.BLOCKS=void 0,function(k){k.DOCUMENT="document",k.PARAGRAPH="paragraph",k.HEADING_1="heading-1",k.HEADING_2="heading-2",k.HEADING_3="heading-3",k.HEADING_4="heading-4",k.HEADING_5="heading-5",k.HEADING_6="heading-6",k.OL_LIST="ordered-list",k.UL_LIST="unordered-list",k.LIST_ITEM="list-item",k.HR="hr",k.QUOTE="blockquote",k.EMBEDDED_ENTRY="embedded-entry-block",k.EMBEDDED_ASSET="embedded-asset-block",k.EMBEDDED_RESOURCE="embedded-resource-block",k.TABLE="table",k.TABLE_ROW="table-row",k.TABLE_CELL="table-cell",k.TABLE_HEADER_CELL="table-header-cell"}(I.BLOCKS||(I.BLOCKS={}))});o(l),l.BLOCKS;var c=u(function(C,I){Object.defineProperty(I,"__esModule",{value:!0}),I.INLINES=void 0,function(k){k.HYPERLINK="hyperlink",k.ENTRY_HYPERLINK="entry-hyperlink",k.ASSET_HYPERLINK="asset-hyperlink",k.RESOURCE_HYPERLINK="resource-hyperlink",k.EMBEDDED_ENTRY="embedded-entry-inline",k.EMBEDDED_RESOURCE="embedded-resource-inline"}(I.INLINES||(I.INLINES={}))});o(c),c.INLINES;var d=u(function(C,I){Object.defineProperty(I,"__esModule",{value:!0});var k;(function(D){D.BOLD="bold",D.ITALIC="italic",D.UNDERLINE="underline",D.CODE="code",D.SUPERSCRIPT="superscript",D.SUBSCRIPT="subscript"})(k||(k={})),I.default=k});o(d);var s=u(function(C,I){var k=a&&a.__spreadArray||function(W,Y,U){if(U||arguments.length===2)for(var F=0,z=Y.length,x;F<z;F++)(x||!(F in Y))&&(x||(x=Array.prototype.slice.call(Y,0,F)),x[F]=Y[F]);return W.concat(x||Array.prototype.slice.call(Y))},D=a&&a.__importDefault||function(W){return W&&W.__esModule?W:{default:W}},j;Object.defineProperty(I,"__esModule",{value:!0}),I.V1_MARKS=I.V1_NODE_TYPES=I.TEXT_CONTAINERS=I.HEADINGS=I.CONTAINERS=I.VOID_BLOCKS=I.TABLE_BLOCKS=I.LIST_ITEM_BLOCKS=I.TOP_LEVEL_BLOCKS=void 0;var V=D(d);I.TOP_LEVEL_BLOCKS=[l.BLOCKS.PARAGRAPH,l.BLOCKS.HEADING_1,l.BLOCKS.HEADING_2,l.BLOCKS.HEADING_3,l.BLOCKS.HEADING_4,l.BLOCKS.HEADING_5,l.BLOCKS.HEADING_6,l.BLOCKS.OL_LIST,l.BLOCKS.UL_LIST,l.BLOCKS.HR,l.BLOCKS.QUOTE,l.BLOCKS.EMBEDDED_ENTRY,l.BLOCKS.EMBEDDED_ASSET,l.BLOCKS.EMBEDDED_RESOURCE,l.BLOCKS.TABLE],I.LIST_ITEM_BLOCKS=[l.BLOCKS.PARAGRAPH,l.BLOCKS.HEADING_1,l.BLOCKS.HEADING_2,l.BLOCKS.HEADING_3,l.BLOCKS.HEADING_4,l.BLOCKS.HEADING_5,l.BLOCKS.HEADING_6,l.BLOCKS.OL_LIST,l.BLOCKS.UL_LIST,l.BLOCKS.HR,l.BLOCKS.QUOTE,l.BLOCKS.EMBEDDED_ENTRY,l.BLOCKS.EMBEDDED_ASSET,l.BLOCKS.EMBEDDED_RESOURCE],I.TABLE_BLOCKS=[l.BLOCKS.TABLE,l.BLOCKS.TABLE_ROW,l.BLOCKS.TABLE_CELL,l.BLOCKS.TABLE_HEADER_CELL],I.VOID_BLOCKS=[l.BLOCKS.HR,l.BLOCKS.EMBEDDED_ENTRY,l.BLOCKS.EMBEDDED_ASSET,l.BLOCKS.EMBEDDED_RESOURCE],I.CONTAINERS=(j={},j[l.BLOCKS.OL_LIST]=[l.BLOCKS.LIST_ITEM],j[l.BLOCKS.UL_LIST]=[l.BLOCKS.LIST_ITEM],j[l.BLOCKS.LIST_ITEM]=I.LIST_ITEM_BLOCKS,j[l.BLOCKS.QUOTE]=[l.BLOCKS.PARAGRAPH],j[l.BLOCKS.TABLE]=[l.BLOCKS.TABLE_ROW],j[l.BLOCKS.TABLE_ROW]=[l.BLOCKS.TABLE_CELL,l.BLOCKS.TABLE_HEADER_CELL],j[l.BLOCKS.TABLE_CELL]=[l.BLOCKS.PARAGRAPH],j[l.BLOCKS.TABLE_HEADER_CELL]=[l.BLOCKS.PARAGRAPH],j),I.HEADINGS=[l.BLOCKS.HEADING_1,l.BLOCKS.HEADING_2,l.BLOCKS.HEADING_3,l.BLOCKS.HEADING_4,l.BLOCKS.HEADING_5,l.BLOCKS.HEADING_6],I.TEXT_CONTAINERS=k([l.BLOCKS.PARAGRAPH],I.HEADINGS,!0),I.V1_NODE_TYPES=[l.BLOCKS.DOCUMENT,l.BLOCKS.PARAGRAPH,l.BLOCKS.HEADING_1,l.BLOCKS.HEADING_2,l.BLOCKS.HEADING_3,l.BLOCKS.HEADING_4,l.BLOCKS.HEADING_5,l.BLOCKS.HEADING_6,l.BLOCKS.OL_LIST,l.BLOCKS.UL_LIST,l.BLOCKS.LIST_ITEM,l.BLOCKS.HR,l.BLOCKS.QUOTE,l.BLOCKS.EMBEDDED_ENTRY,l.BLOCKS.EMBEDDED_ASSET,c.INLINES.HYPERLINK,c.INLINES.ENTRY_HYPERLINK,c.INLINES.ASSET_HYPERLINK,c.INLINES.EMBEDDED_ENTRY,"text"],I.V1_MARKS=[V.default.BOLD,V.default.CODE,V.default.ITALIC,V.default.UNDERLINE]});o(s),s.V1_MARKS,s.V1_NODE_TYPES,s.TEXT_CONTAINERS,s.HEADINGS,s.CONTAINERS,s.VOID_BLOCKS,s.TABLE_BLOCKS,s.LIST_ITEM_BLOCKS,s.TOP_LEVEL_BLOCKS;var f=u(function(C,I){Object.defineProperty(I,"__esModule",{value:!0})});o(f);var p=u(function(C,I){Object.defineProperty(I,"__esModule",{value:!0})});o(p);var g=u(function(C,I){Object.defineProperty(I,"__esModule",{value:!0});var k={nodeType:l.BLOCKS.DOCUMENT,data:{},content:[{nodeType:l.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};I.default=k});o(g);var h=u(function(C,I){Object.defineProperty(I,"__esModule",{value:!0}),I.isText=I.isBlock=I.isInline=void 0;function k(W,Y){for(var U=0,F=Object.keys(W);U<F.length;U++){var z=F[U];if(Y===W[z])return!0}return!1}function D(W){return k(c.INLINES,W.nodeType)}I.isInline=D;function j(W){return k(l.BLOCKS,W.nodeType)}I.isBlock=j;function V(W){return W.nodeType==="text"}I.isText=V});o(h),h.isText,h.isBlock,h.isInline;var _=u(function(C,I){var k=a&&a.__createBinding||(Object.create?function(U,F,z,x){x===void 0&&(x=z);var te=Object.getOwnPropertyDescriptor(F,z);(!te||("get"in te?!F.__esModule:te.writable||te.configurable))&&(te={enumerable:!0,get:function(){return F[z]}}),Object.defineProperty(U,x,te)}:function(U,F,z,x){x===void 0&&(x=z),U[x]=F[z]}),D=a&&a.__setModuleDefault||(Object.create?function(U,F){Object.defineProperty(U,"default",{enumerable:!0,value:F})}:function(U,F){U.default=F}),j=a&&a.__exportStar||function(U,F){for(var z in U)z!=="default"&&!Object.prototype.hasOwnProperty.call(F,z)&&k(F,U,z)},V=a&&a.__importStar||function(U){if(U&&U.__esModule)return U;var F={};if(U!=null)for(var z in U)z!=="default"&&Object.prototype.hasOwnProperty.call(U,z)&&k(F,U,z);return D(F,U),F},W=a&&a.__importDefault||function(U){return U&&U.__esModule?U:{default:U}};Object.defineProperty(I,"__esModule",{value:!0}),I.helpers=I.EMPTY_DOCUMENT=I.MARKS=I.INLINES=I.BLOCKS=void 0,Object.defineProperty(I,"BLOCKS",{enumerable:!0,get:function(){return l.BLOCKS}}),Object.defineProperty(I,"INLINES",{enumerable:!0,get:function(){return c.INLINES}}),Object.defineProperty(I,"MARKS",{enumerable:!0,get:function(){return W(d).default}}),j(s,I),j(f,I),j(p,I),Object.defineProperty(I,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return W(g).default}});var Y=V(h);I.helpers=Y});o(_);var b=_.helpers;_.EMPTY_DOCUMENT;var m=_.MARKS,v=_.INLINES,y=_.BLOCKS;function w(C,I){return n.isValidElement(C)&&C.key===null?n.cloneElement(C,{key:I}):C}function O(C,I){return C.map(function(k,D){return w(S(k,I),D)})}function S(C,I){var k=I.renderNode,D=I.renderMark,j=I.renderText,V=I.preserveWhitespace;if(b.isText(C)){var W=j?j(C.value):C.value;if(V){W=W.replace(/ {2,}/g,function(z){return"&nbsp;".repeat(z.length)});var Y=W.split(`
8
- `),U=[];Y.forEach(function(z,x){U.push(z),x!==Y.length-1&&U.push(r.createElement("br",null))}),W=U}return C.marks.reduce(function(z,x){return D[x.type]?D[x.type](z):z},W)}else{var F=O(C.content,I);return!C.nodeType||!k[C.nodeType]?r.createElement(r.Fragment,null,F):k[C.nodeType](C,F)}}var E,P,A=(E={},E[y.DOCUMENT]=function(C,I){return I},E[y.PARAGRAPH]=function(C,I){return r.createElement("p",null,I)},E[y.HEADING_1]=function(C,I){return r.createElement("h1",null,I)},E[y.HEADING_2]=function(C,I){return r.createElement("h2",null,I)},E[y.HEADING_3]=function(C,I){return r.createElement("h3",null,I)},E[y.HEADING_4]=function(C,I){return r.createElement("h4",null,I)},E[y.HEADING_5]=function(C,I){return r.createElement("h5",null,I)},E[y.HEADING_6]=function(C,I){return r.createElement("h6",null,I)},E[y.EMBEDDED_ENTRY]=function(C,I){return r.createElement("div",null,I)},E[y.EMBEDDED_RESOURCE]=function(C,I){return r.createElement("div",null,I)},E[y.UL_LIST]=function(C,I){return r.createElement("ul",null,I)},E[y.OL_LIST]=function(C,I){return r.createElement("ol",null,I)},E[y.LIST_ITEM]=function(C,I){return r.createElement("li",null,I)},E[y.QUOTE]=function(C,I){return r.createElement("blockquote",null,I)},E[y.HR]=function(){return r.createElement("hr",null)},E[y.TABLE]=function(C,I){return r.createElement("table",null,r.createElement("tbody",null,I))},E[y.TABLE_ROW]=function(C,I){return r.createElement("tr",null,I)},E[y.TABLE_HEADER_CELL]=function(C,I){return r.createElement("th",null,I)},E[y.TABLE_CELL]=function(C,I){return r.createElement("td",null,I)},E[v.ASSET_HYPERLINK]=function(C){return N(v.ASSET_HYPERLINK,C)},E[v.ENTRY_HYPERLINK]=function(C){return N(v.ENTRY_HYPERLINK,C)},E[v.EMBEDDED_ENTRY]=function(C){return N(v.EMBEDDED_ENTRY,C)},E[v.HYPERLINK]=function(C,I){return r.createElement("a",{href:C.data.uri},I)},E),L=(P={},P[m.BOLD]=function(C){return r.createElement("b",null,C)},P[m.ITALIC]=function(C){return r.createElement("i",null,C)},P[m.UNDERLINE]=function(C){return r.createElement("u",null,C)},P[m.CODE]=function(C){return r.createElement("code",null,C)},P[m.SUPERSCRIPT]=function(C){return r.createElement("sup",null,C)},P[m.SUBSCRIPT]=function(C){return r.createElement("sub",null,C)},P);function N(C,I){return r.createElement("span",{key:I.data.target.sys.id},"type: ",I.nodeType," id: ",I.data.target.sys.id)}function $(C,I){return I===void 0&&(I={}),C?S(C,{renderNode:i(i({},A),I.renderNode),renderMark:i(i({},L),I.renderMark),renderText:I.renderText,preserveWhitespace:I.preserveWhitespace}):null}e.documentToReactComponents=$})(Uw);var xw={},oi={};(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={}))})(oi);var Aa={};(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={}))})(Aa);var Ta={};Object.defineProperty(Ta,"__esModule",{value:!0});var du;(function(e){e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript"})(du||(du={}));Ta.default=du;var Ov={};(function(e){var t=Q&&Q.__spreadArray||function(u,l,c){if(c||arguments.length===2)for(var d=0,s=l.length,f;d<s;d++)(f||!(d in l))&&(f||(f=Array.prototype.slice.call(l,0,d)),f[d]=l[d]);return u.concat(f||Array.prototype.slice.call(l))},n=Q&&Q.__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=oi,a=Aa,o=n(Ta);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]})(Ov);var Pv={};Object.defineProperty(Pv,"__esModule",{value:!0});var Av={};Object.defineProperty(Av,"__esModule",{value:!0});var Ll={};Object.defineProperty(Ll,"__esModule",{value:!0});var gc=oi,Hw={nodeType:gc.BLOCKS.DOCUMENT,data:{},content:[{nodeType:gc.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};Ll.default=Hw;var en={};Object.defineProperty(en,"__esModule",{value:!0});en.isText=en.isBlock=en.isInline=void 0;var Kw=oi,zw=Aa;function Tv(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 Ww(e){return Tv(zw.INLINES,e.nodeType)}en.isInline=Ww;function qw(e){return Tv(Kw.BLOCKS,e.nodeType)}en.isBlock=qw;function Gw(e){return e.nodeType==="text"}en.isText=Gw;(function(e){var t=Q&&Q.__createBinding||(Object.create?function(s,f,p,g){g===void 0&&(g=p);var h=Object.getOwnPropertyDescriptor(f,p);(!h||("get"in h?!f.__esModule:h.writable||h.configurable))&&(h={enumerable:!0,get:function(){return f[p]}}),Object.defineProperty(s,g,h)}:function(s,f,p,g){g===void 0&&(g=p),s[g]=f[p]}),n=Q&&Q.__setModuleDefault||(Object.create?function(s,f){Object.defineProperty(s,"default",{enumerable:!0,value:f})}:function(s,f){s.default=f}),r=Q&&Q.__exportStar||function(s,f){for(var p in s)p!=="default"&&!Object.prototype.hasOwnProperty.call(f,p)&&t(f,s,p)},i=Q&&Q.__importStar||function(s){if(s&&s.__esModule)return s;var f={};if(s!=null)for(var p in s)p!=="default"&&Object.prototype.hasOwnProperty.call(s,p)&&t(f,s,p);return n(f,s),f},a=Q&&Q.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(e,"__esModule",{value:!0}),e.helpers=e.EMPTY_DOCUMENT=e.MARKS=e.INLINES=e.BLOCKS=void 0;var o=oi;Object.defineProperty(e,"BLOCKS",{enumerable:!0,get:function(){return o.BLOCKS}});var u=Aa;Object.defineProperty(e,"INLINES",{enumerable:!0,get:function(){return u.INLINES}});var l=Ta;Object.defineProperty(e,"MARKS",{enumerable:!0,get:function(){return a(l).default}}),r(Ov,e),r(Pv,e),r(Av,e);var c=Ll;Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return a(c).default}});var d=i(en);e.helpers=d})(xw);var Vw={};(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})(Vw);var Yw={},Iv={};(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})(Iv);(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Iv;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})(Yw);var Xw={};(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})(Xw);var Qw={};(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})(Qw);var Jw={},Cv={};(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})(Cv);(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Cv;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})(Jw);function bc(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 K(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?bc(Object(n),!0).forEach(function(r){Le(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bc(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function na(e){"@babel/helpers - typeof";return na=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},na(e)}function Zw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _c(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 eE(e,t,n){return t&&_c(e.prototype,t),n&&_c(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Le(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kl(e,t){return nE(e)||iE(e,t)||Lv(e,t)||oE()}function ui(e){return tE(e)||rE(e)||Lv(e)||aE()}function tE(e){if(Array.isArray(e))return pu(e)}function nE(e){if(Array.isArray(e))return e}function rE(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function iE(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(l){a=!0,u=l}finally{try{!i&&n.return!=null&&n.return()}finally{if(a)throw u}}return r}}function Lv(e,t){if(e){if(typeof e=="string")return pu(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 pu(e,t)}}function pu(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 aE(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
9
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function oE(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
10
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var wc=function(){},Rl={},kv={},Rv=null,Nv={mark:wc,measure:wc};try{typeof window<"u"&&(Rl=window),typeof document<"u"&&(kv=document),typeof MutationObserver<"u"&&(Rv=MutationObserver),typeof performance<"u"&&(Nv=performance)}catch{}var uE=Rl.navigator||{},Ec=uE.userAgent,Sc=Ec===void 0?"":Ec,an=Rl,he=kv,Oc=Rv,hi=Nv;an.document;var Ut=!!he.documentElement&&!!he.head&&typeof he.addEventListener=="function"&&typeof he.createElement=="function",Mv=~Sc.indexOf("MSIE")||~Sc.indexOf("Trident/"),mi,yi,gi,bi,_i,$t="___FONT_AWESOME___",vu=16,Dv="fa",$v="svg-inline--fa",Pn="data-fa-i2svg",hu="data-fa-pseudo-element",lE="data-fa-pseudo-element-pending",Nl="data-prefix",Ml="data-icon",Pc="fontawesome-i2svg",sE="async",cE=["HTML","HEAD","STYLE","SCRIPT"],jv=function(){try{return!0}catch{return!1}}(),ve="classic",me="sharp",Dl=[ve,me];function li(e){return new Proxy(e,{get:function(n,r){return r in n?n[r]:n[ve]}})}var Vr=li((mi={},Le(mi,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"}),Le(mi,me,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light"}),mi)),Yr=li((yi={},Le(yi,ve,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),Le(yi,me,{solid:"fass",regular:"fasr",light:"fasl"}),yi)),Xr=li((gi={},Le(gi,ve,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),Le(gi,me,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light"}),gi)),fE=li((bi={},Le(bi,ve,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),Le(bi,me,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl"}),bi)),dE=/fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/,Bv="fa-layers-text",pE=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,vE=li((_i={},Le(_i,ve,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),Le(_i,me,{900:"fass",400:"fasr",300:"fasl"}),_i)),Fv=[1,2,3,4,5,6,7,8,9,10],hE=Fv.concat([11,12,13,14,15,16,17,18,19,20]),mE=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],mn={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Qr=new Set;Object.keys(Yr[ve]).map(Qr.add.bind(Qr));Object.keys(Yr[me]).map(Qr.add.bind(Qr));var yE=[].concat(Dl,ui(Qr),["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",mn.GROUP,mn.SWAP_OPACITY,mn.PRIMARY,mn.SECONDARY]).concat(Fv.map(function(e){return"".concat(e,"x")})).concat(hE.map(function(e){return"w-".concat(e)})),$r=an.FontAwesomeConfig||{};function gE(e){var t=he.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function bE(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(he&&typeof he.querySelector=="function"){var _E=[["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"]];_E.forEach(function(e){var t=kl(e,2),n=t[0],r=t[1],i=bE(gE(n));i!=null&&($r[r]=i)})}var Uv={styleDefault:"solid",familyDefault:"classic",cssPrefix:Dv,replacementClass:$v,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};$r.familyPrefix&&($r.cssPrefix=$r.familyPrefix);var ir=K(K({},Uv),$r);ir.autoReplaceSvg||(ir.observeMutations=!1);var G={};Object.keys(Uv).forEach(function(e){Object.defineProperty(G,e,{enumerable:!0,set:function(n){ir[e]=n,jr.forEach(function(r){return r(G)})},get:function(){return ir[e]}})});Object.defineProperty(G,"familyPrefix",{enumerable:!0,set:function(t){ir.cssPrefix=t,jr.forEach(function(n){return n(G)})},get:function(){return ir.cssPrefix}});an.FontAwesomeConfig=G;var jr=[];function wE(e){return jr.push(e),function(){jr.splice(jr.indexOf(e),1)}}var Ht=vu,wt={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function EE(e){if(!(!e||!Ut)){var t=he.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=he.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 he.head.insertBefore(t,r),e}}var SE="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Jr(){for(var e=12,t="";e-- >0;)t+=SE[Math.random()*62|0];return t}function _r(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function $l(e){return e.classList?_r(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function xv(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function OE(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(xv(e[n]),'" ')},"").trim()}function Ia(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function jl(e){return e.size!==wt.size||e.x!==wt.x||e.y!==wt.y||e.rotate!==wt.rotate||e.flipX||e.flipY}function PE(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)"),l={transform:"".concat(a," ").concat(o," ").concat(u)},c={transform:"translate(".concat(r/2*-1," -256)")};return{outer:i,inner:l,path:c}}function AE(e){var t=e.transform,n=e.width,r=n===void 0?vu:n,i=e.height,a=i===void 0?vu:i,o=e.startCentered,u=o===void 0?!1:o,l="";return u&&Mv?l+="translate(".concat(t.x/Ht-r/2,"em, ").concat(t.y/Ht-a/2,"em) "):u?l+="translate(calc(-50% + ".concat(t.x/Ht,"em), calc(-50% + ").concat(t.y/Ht,"em)) "):l+="translate(".concat(t.x/Ht,"em, ").concat(t.y/Ht,"em) "),l+="scale(".concat(t.size/Ht*(t.flipX?-1:1),", ").concat(t.size/Ht*(t.flipY?-1:1),") "),l+="rotate(".concat(t.rotate,"deg) "),l}var TE=`:root, :host {
11
- --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
12
- --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";
13
- --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";
14
- --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";
15
- --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";
16
- --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";
17
- --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";
18
- --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";
19
- --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
20
- }
21
-
22
- svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
23
- overflow: visible;
24
- box-sizing: content-box;
25
- }
26
-
27
- .svg-inline--fa {
28
- display: var(--fa-display, inline-block);
29
- height: 1em;
30
- overflow: visible;
31
- vertical-align: -0.125em;
32
- }
33
- .svg-inline--fa.fa-2xs {
34
- vertical-align: 0.1em;
35
- }
36
- .svg-inline--fa.fa-xs {
37
- vertical-align: 0em;
38
- }
39
- .svg-inline--fa.fa-sm {
40
- vertical-align: -0.0714285705em;
41
- }
42
- .svg-inline--fa.fa-lg {
43
- vertical-align: -0.2em;
44
- }
45
- .svg-inline--fa.fa-xl {
46
- vertical-align: -0.25em;
47
- }
48
- .svg-inline--fa.fa-2xl {
49
- vertical-align: -0.3125em;
50
- }
51
- .svg-inline--fa.fa-pull-left {
52
- margin-right: var(--fa-pull-margin, 0.3em);
53
- width: auto;
54
- }
55
- .svg-inline--fa.fa-pull-right {
56
- margin-left: var(--fa-pull-margin, 0.3em);
57
- width: auto;
58
- }
59
- .svg-inline--fa.fa-li {
60
- width: var(--fa-li-width, 2em);
61
- top: 0.25em;
62
- }
63
- .svg-inline--fa.fa-fw {
64
- width: var(--fa-fw-width, 1.25em);
65
- }
66
-
67
- .fa-layers svg.svg-inline--fa {
68
- bottom: 0;
69
- left: 0;
70
- margin: auto;
71
- position: absolute;
72
- right: 0;
73
- top: 0;
74
- }
75
-
76
- .fa-layers-counter, .fa-layers-text {
77
- display: inline-block;
78
- position: absolute;
79
- text-align: center;
80
- }
81
-
82
- .fa-layers {
83
- display: inline-block;
84
- height: 1em;
85
- position: relative;
86
- text-align: center;
87
- vertical-align: -0.125em;
88
- width: 1em;
89
- }
90
- .fa-layers svg.svg-inline--fa {
91
- -webkit-transform-origin: center center;
92
- transform-origin: center center;
93
- }
94
-
95
- .fa-layers-text {
96
- left: 50%;
97
- top: 50%;
98
- -webkit-transform: translate(-50%, -50%);
99
- transform: translate(-50%, -50%);
100
- -webkit-transform-origin: center center;
101
- transform-origin: center center;
102
- }
103
-
104
- .fa-layers-counter {
105
- background-color: var(--fa-counter-background-color, #ff253a);
106
- border-radius: var(--fa-counter-border-radius, 1em);
107
- box-sizing: border-box;
108
- color: var(--fa-inverse, #fff);
109
- line-height: var(--fa-counter-line-height, 1);
110
- max-width: var(--fa-counter-max-width, 5em);
111
- min-width: var(--fa-counter-min-width, 1.5em);
112
- overflow: hidden;
113
- padding: var(--fa-counter-padding, 0.25em 0.5em);
114
- right: var(--fa-right, 0);
115
- text-overflow: ellipsis;
116
- top: var(--fa-top, 0);
117
- -webkit-transform: scale(var(--fa-counter-scale, 0.25));
118
- transform: scale(var(--fa-counter-scale, 0.25));
119
- -webkit-transform-origin: top right;
120
- transform-origin: top right;
121
- }
122
-
123
- .fa-layers-bottom-right {
124
- bottom: var(--fa-bottom, 0);
125
- right: var(--fa-right, 0);
126
- top: auto;
127
- -webkit-transform: scale(var(--fa-layers-scale, 0.25));
128
- transform: scale(var(--fa-layers-scale, 0.25));
129
- -webkit-transform-origin: bottom right;
130
- transform-origin: bottom right;
131
- }
132
-
133
- .fa-layers-bottom-left {
134
- bottom: var(--fa-bottom, 0);
135
- left: var(--fa-left, 0);
136
- right: auto;
137
- top: auto;
138
- -webkit-transform: scale(var(--fa-layers-scale, 0.25));
139
- transform: scale(var(--fa-layers-scale, 0.25));
140
- -webkit-transform-origin: bottom left;
141
- transform-origin: bottom left;
142
- }
143
-
144
- .fa-layers-top-right {
145
- top: var(--fa-top, 0);
146
- right: var(--fa-right, 0);
147
- -webkit-transform: scale(var(--fa-layers-scale, 0.25));
148
- transform: scale(var(--fa-layers-scale, 0.25));
149
- -webkit-transform-origin: top right;
150
- transform-origin: top right;
151
- }
152
-
153
- .fa-layers-top-left {
154
- left: var(--fa-left, 0);
155
- right: auto;
156
- top: var(--fa-top, 0);
157
- -webkit-transform: scale(var(--fa-layers-scale, 0.25));
158
- transform: scale(var(--fa-layers-scale, 0.25));
159
- -webkit-transform-origin: top left;
160
- transform-origin: top left;
161
- }
162
-
163
- .fa-1x {
164
- font-size: 1em;
165
- }
166
-
167
- .fa-2x {
168
- font-size: 2em;
169
- }
170
-
171
- .fa-3x {
172
- font-size: 3em;
173
- }
174
-
175
- .fa-4x {
176
- font-size: 4em;
177
- }
178
-
179
- .fa-5x {
180
- font-size: 5em;
181
- }
182
-
183
- .fa-6x {
184
- font-size: 6em;
185
- }
186
-
187
- .fa-7x {
188
- font-size: 7em;
189
- }
190
-
191
- .fa-8x {
192
- font-size: 8em;
193
- }
194
-
195
- .fa-9x {
196
- font-size: 9em;
197
- }
198
-
199
- .fa-10x {
200
- font-size: 10em;
201
- }
202
-
203
- .fa-2xs {
204
- font-size: 0.625em;
205
- line-height: 0.1em;
206
- vertical-align: 0.225em;
207
- }
208
-
209
- .fa-xs {
210
- font-size: 0.75em;
211
- line-height: 0.0833333337em;
212
- vertical-align: 0.125em;
213
- }
214
-
215
- .fa-sm {
216
- font-size: 0.875em;
217
- line-height: 0.0714285718em;
218
- vertical-align: 0.0535714295em;
219
- }
220
-
221
- .fa-lg {
222
- font-size: 1.25em;
223
- line-height: 0.05em;
224
- vertical-align: -0.075em;
225
- }
226
-
227
- .fa-xl {
228
- font-size: 1.5em;
229
- line-height: 0.0416666682em;
230
- vertical-align: -0.125em;
231
- }
232
-
233
- .fa-2xl {
234
- font-size: 2em;
235
- line-height: 0.03125em;
236
- vertical-align: -0.1875em;
237
- }
238
-
239
- .fa-fw {
240
- text-align: center;
241
- width: 1.25em;
242
- }
243
-
244
- .fa-ul {
245
- list-style-type: none;
246
- margin-left: var(--fa-li-margin, 2.5em);
247
- padding-left: 0;
248
- }
249
- .fa-ul > li {
250
- position: relative;
251
- }
252
-
253
- .fa-li {
254
- left: calc(var(--fa-li-width, 2em) * -1);
255
- position: absolute;
256
- text-align: center;
257
- width: var(--fa-li-width, 2em);
258
- line-height: inherit;
259
- }
260
-
261
- .fa-border {
262
- border-color: var(--fa-border-color, #eee);
263
- border-radius: var(--fa-border-radius, 0.1em);
264
- border-style: var(--fa-border-style, solid);
265
- border-width: var(--fa-border-width, 0.08em);
266
- padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);
267
- }
268
-
269
- .fa-pull-left {
270
- float: left;
271
- margin-right: var(--fa-pull-margin, 0.3em);
272
- }
273
-
274
- .fa-pull-right {
275
- float: right;
276
- margin-left: var(--fa-pull-margin, 0.3em);
277
- }
278
-
279
- .fa-beat {
280
- -webkit-animation-name: fa-beat;
281
- animation-name: fa-beat;
282
- -webkit-animation-delay: var(--fa-animation-delay, 0s);
283
- animation-delay: var(--fa-animation-delay, 0s);
284
- -webkit-animation-direction: var(--fa-animation-direction, normal);
285
- animation-direction: var(--fa-animation-direction, normal);
286
- -webkit-animation-duration: var(--fa-animation-duration, 1s);
287
- animation-duration: var(--fa-animation-duration, 1s);
288
- -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
289
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
290
- -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
291
- animation-timing-function: var(--fa-animation-timing, ease-in-out);
292
- }
293
-
294
- .fa-bounce {
295
- -webkit-animation-name: fa-bounce;
296
- animation-name: fa-bounce;
297
- -webkit-animation-delay: var(--fa-animation-delay, 0s);
298
- animation-delay: var(--fa-animation-delay, 0s);
299
- -webkit-animation-direction: var(--fa-animation-direction, normal);
300
- animation-direction: var(--fa-animation-direction, normal);
301
- -webkit-animation-duration: var(--fa-animation-duration, 1s);
302
- animation-duration: var(--fa-animation-duration, 1s);
303
- -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
304
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
305
- -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
306
- animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
307
- }
308
-
309
- .fa-fade {
310
- -webkit-animation-name: fa-fade;
311
- animation-name: fa-fade;
312
- -webkit-animation-delay: var(--fa-animation-delay, 0s);
313
- animation-delay: var(--fa-animation-delay, 0s);
314
- -webkit-animation-direction: var(--fa-animation-direction, normal);
315
- animation-direction: var(--fa-animation-direction, normal);
316
- -webkit-animation-duration: var(--fa-animation-duration, 1s);
317
- animation-duration: var(--fa-animation-duration, 1s);
318
- -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
319
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
320
- -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
321
- animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
322
- }
323
-
324
- .fa-beat-fade {
325
- -webkit-animation-name: fa-beat-fade;
326
- animation-name: fa-beat-fade;
327
- -webkit-animation-delay: var(--fa-animation-delay, 0s);
328
- animation-delay: var(--fa-animation-delay, 0s);
329
- -webkit-animation-direction: var(--fa-animation-direction, normal);
330
- animation-direction: var(--fa-animation-direction, normal);
331
- -webkit-animation-duration: var(--fa-animation-duration, 1s);
332
- animation-duration: var(--fa-animation-duration, 1s);
333
- -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
334
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
335
- -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
336
- animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
337
- }
338
-
339
- .fa-flip {
340
- -webkit-animation-name: fa-flip;
341
- animation-name: fa-flip;
342
- -webkit-animation-delay: var(--fa-animation-delay, 0s);
343
- animation-delay: var(--fa-animation-delay, 0s);
344
- -webkit-animation-direction: var(--fa-animation-direction, normal);
345
- animation-direction: var(--fa-animation-direction, normal);
346
- -webkit-animation-duration: var(--fa-animation-duration, 1s);
347
- animation-duration: var(--fa-animation-duration, 1s);
348
- -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
349
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
350
- -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
351
- animation-timing-function: var(--fa-animation-timing, ease-in-out);
352
- }
353
-
354
- .fa-shake {
355
- -webkit-animation-name: fa-shake;
356
- animation-name: fa-shake;
357
- -webkit-animation-delay: var(--fa-animation-delay, 0s);
358
- animation-delay: var(--fa-animation-delay, 0s);
359
- -webkit-animation-direction: var(--fa-animation-direction, normal);
360
- animation-direction: var(--fa-animation-direction, normal);
361
- -webkit-animation-duration: var(--fa-animation-duration, 1s);
362
- animation-duration: var(--fa-animation-duration, 1s);
363
- -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
364
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
365
- -webkit-animation-timing-function: var(--fa-animation-timing, linear);
366
- animation-timing-function: var(--fa-animation-timing, linear);
367
- }
368
-
369
- .fa-spin {
370
- -webkit-animation-name: fa-spin;
371
- animation-name: fa-spin;
372
- -webkit-animation-delay: var(--fa-animation-delay, 0s);
373
- animation-delay: var(--fa-animation-delay, 0s);
374
- -webkit-animation-direction: var(--fa-animation-direction, normal);
375
- animation-direction: var(--fa-animation-direction, normal);
376
- -webkit-animation-duration: var(--fa-animation-duration, 2s);
377
- animation-duration: var(--fa-animation-duration, 2s);
378
- -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
379
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
380
- -webkit-animation-timing-function: var(--fa-animation-timing, linear);
381
- animation-timing-function: var(--fa-animation-timing, linear);
382
- }
383
-
384
- .fa-spin-reverse {
385
- --fa-animation-direction: reverse;
386
- }
387
-
388
- .fa-pulse,
389
- .fa-spin-pulse {
390
- -webkit-animation-name: fa-spin;
391
- animation-name: fa-spin;
392
- -webkit-animation-direction: var(--fa-animation-direction, normal);
393
- animation-direction: var(--fa-animation-direction, normal);
394
- -webkit-animation-duration: var(--fa-animation-duration, 1s);
395
- animation-duration: var(--fa-animation-duration, 1s);
396
- -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
397
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
398
- -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));
399
- animation-timing-function: var(--fa-animation-timing, steps(8));
400
- }
401
-
402
- @media (prefers-reduced-motion: reduce) {
403
- .fa-beat,
404
- .fa-bounce,
405
- .fa-fade,
406
- .fa-beat-fade,
407
- .fa-flip,
408
- .fa-pulse,
409
- .fa-shake,
410
- .fa-spin,
411
- .fa-spin-pulse {
412
- -webkit-animation-delay: -1ms;
413
- animation-delay: -1ms;
414
- -webkit-animation-duration: 1ms;
415
- animation-duration: 1ms;
416
- -webkit-animation-iteration-count: 1;
417
- animation-iteration-count: 1;
418
- -webkit-transition-delay: 0s;
419
- transition-delay: 0s;
420
- -webkit-transition-duration: 0s;
421
- transition-duration: 0s;
422
- }
423
- }
424
- @-webkit-keyframes fa-beat {
425
- 0%, 90% {
426
- -webkit-transform: scale(1);
427
- transform: scale(1);
428
- }
429
- 45% {
430
- -webkit-transform: scale(var(--fa-beat-scale, 1.25));
431
- transform: scale(var(--fa-beat-scale, 1.25));
432
- }
433
- }
434
- @keyframes fa-beat {
435
- 0%, 90% {
436
- -webkit-transform: scale(1);
437
- transform: scale(1);
438
- }
439
- 45% {
440
- -webkit-transform: scale(var(--fa-beat-scale, 1.25));
441
- transform: scale(var(--fa-beat-scale, 1.25));
442
- }
443
- }
444
- @-webkit-keyframes fa-bounce {
445
- 0% {
446
- -webkit-transform: scale(1, 1) translateY(0);
447
- transform: scale(1, 1) translateY(0);
448
- }
449
- 10% {
450
- -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
451
- transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
452
- }
453
- 30% {
454
- -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
455
- transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
456
- }
457
- 50% {
458
- -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
459
- transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
460
- }
461
- 57% {
462
- -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
463
- transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
464
- }
465
- 64% {
466
- -webkit-transform: scale(1, 1) translateY(0);
467
- transform: scale(1, 1) translateY(0);
468
- }
469
- 100% {
470
- -webkit-transform: scale(1, 1) translateY(0);
471
- transform: scale(1, 1) translateY(0);
472
- }
473
- }
474
- @keyframes fa-bounce {
475
- 0% {
476
- -webkit-transform: scale(1, 1) translateY(0);
477
- transform: scale(1, 1) translateY(0);
478
- }
479
- 10% {
480
- -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
481
- transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
482
- }
483
- 30% {
484
- -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
485
- transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
486
- }
487
- 50% {
488
- -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
489
- transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
490
- }
491
- 57% {
492
- -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
493
- transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
494
- }
495
- 64% {
496
- -webkit-transform: scale(1, 1) translateY(0);
497
- transform: scale(1, 1) translateY(0);
498
- }
499
- 100% {
500
- -webkit-transform: scale(1, 1) translateY(0);
501
- transform: scale(1, 1) translateY(0);
502
- }
503
- }
504
- @-webkit-keyframes fa-fade {
505
- 50% {
506
- opacity: var(--fa-fade-opacity, 0.4);
507
- }
508
- }
509
- @keyframes fa-fade {
510
- 50% {
511
- opacity: var(--fa-fade-opacity, 0.4);
512
- }
513
- }
514
- @-webkit-keyframes fa-beat-fade {
515
- 0%, 100% {
516
- opacity: var(--fa-beat-fade-opacity, 0.4);
517
- -webkit-transform: scale(1);
518
- transform: scale(1);
519
- }
520
- 50% {
521
- opacity: 1;
522
- -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
523
- transform: scale(var(--fa-beat-fade-scale, 1.125));
524
- }
525
- }
526
- @keyframes fa-beat-fade {
527
- 0%, 100% {
528
- opacity: var(--fa-beat-fade-opacity, 0.4);
529
- -webkit-transform: scale(1);
530
- transform: scale(1);
531
- }
532
- 50% {
533
- opacity: 1;
534
- -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
535
- transform: scale(var(--fa-beat-fade-scale, 1.125));
536
- }
537
- }
538
- @-webkit-keyframes fa-flip {
539
- 50% {
540
- -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
541
- transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
542
- }
543
- }
544
- @keyframes fa-flip {
545
- 50% {
546
- -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
547
- transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
548
- }
549
- }
550
- @-webkit-keyframes fa-shake {
551
- 0% {
552
- -webkit-transform: rotate(-15deg);
553
- transform: rotate(-15deg);
554
- }
555
- 4% {
556
- -webkit-transform: rotate(15deg);
557
- transform: rotate(15deg);
558
- }
559
- 8%, 24% {
560
- -webkit-transform: rotate(-18deg);
561
- transform: rotate(-18deg);
562
- }
563
- 12%, 28% {
564
- -webkit-transform: rotate(18deg);
565
- transform: rotate(18deg);
566
- }
567
- 16% {
568
- -webkit-transform: rotate(-22deg);
569
- transform: rotate(-22deg);
570
- }
571
- 20% {
572
- -webkit-transform: rotate(22deg);
573
- transform: rotate(22deg);
574
- }
575
- 32% {
576
- -webkit-transform: rotate(-12deg);
577
- transform: rotate(-12deg);
578
- }
579
- 36% {
580
- -webkit-transform: rotate(12deg);
581
- transform: rotate(12deg);
582
- }
583
- 40%, 100% {
584
- -webkit-transform: rotate(0deg);
585
- transform: rotate(0deg);
586
- }
587
- }
588
- @keyframes fa-shake {
589
- 0% {
590
- -webkit-transform: rotate(-15deg);
591
- transform: rotate(-15deg);
592
- }
593
- 4% {
594
- -webkit-transform: rotate(15deg);
595
- transform: rotate(15deg);
596
- }
597
- 8%, 24% {
598
- -webkit-transform: rotate(-18deg);
599
- transform: rotate(-18deg);
600
- }
601
- 12%, 28% {
602
- -webkit-transform: rotate(18deg);
603
- transform: rotate(18deg);
604
- }
605
- 16% {
606
- -webkit-transform: rotate(-22deg);
607
- transform: rotate(-22deg);
608
- }
609
- 20% {
610
- -webkit-transform: rotate(22deg);
611
- transform: rotate(22deg);
612
- }
613
- 32% {
614
- -webkit-transform: rotate(-12deg);
615
- transform: rotate(-12deg);
616
- }
617
- 36% {
618
- -webkit-transform: rotate(12deg);
619
- transform: rotate(12deg);
620
- }
621
- 40%, 100% {
622
- -webkit-transform: rotate(0deg);
623
- transform: rotate(0deg);
624
- }
625
- }
626
- @-webkit-keyframes fa-spin {
627
- 0% {
628
- -webkit-transform: rotate(0deg);
629
- transform: rotate(0deg);
630
- }
631
- 100% {
632
- -webkit-transform: rotate(360deg);
633
- transform: rotate(360deg);
634
- }
635
- }
636
- @keyframes fa-spin {
637
- 0% {
638
- -webkit-transform: rotate(0deg);
639
- transform: rotate(0deg);
640
- }
641
- 100% {
642
- -webkit-transform: rotate(360deg);
643
- transform: rotate(360deg);
644
- }
645
- }
646
- .fa-rotate-90 {
647
- -webkit-transform: rotate(90deg);
648
- transform: rotate(90deg);
649
- }
650
-
651
- .fa-rotate-180 {
652
- -webkit-transform: rotate(180deg);
653
- transform: rotate(180deg);
654
- }
655
-
656
- .fa-rotate-270 {
657
- -webkit-transform: rotate(270deg);
658
- transform: rotate(270deg);
659
- }
660
-
661
- .fa-flip-horizontal {
662
- -webkit-transform: scale(-1, 1);
663
- transform: scale(-1, 1);
664
- }
665
-
666
- .fa-flip-vertical {
667
- -webkit-transform: scale(1, -1);
668
- transform: scale(1, -1);
669
- }
670
-
671
- .fa-flip-both,
672
- .fa-flip-horizontal.fa-flip-vertical {
673
- -webkit-transform: scale(-1, -1);
674
- transform: scale(-1, -1);
675
- }
676
-
677
- .fa-rotate-by {
678
- -webkit-transform: rotate(var(--fa-rotate-angle, none));
679
- transform: rotate(var(--fa-rotate-angle, none));
680
- }
681
-
682
- .fa-stack {
683
- display: inline-block;
684
- vertical-align: middle;
685
- height: 2em;
686
- position: relative;
687
- width: 2.5em;
688
- }
689
-
690
- .fa-stack-1x,
691
- .fa-stack-2x {
692
- bottom: 0;
693
- left: 0;
694
- margin: auto;
695
- position: absolute;
696
- right: 0;
697
- top: 0;
698
- z-index: var(--fa-stack-z-index, auto);
699
- }
700
-
701
- .svg-inline--fa.fa-stack-1x {
702
- height: 1em;
703
- width: 1.25em;
704
- }
705
- .svg-inline--fa.fa-stack-2x {
706
- height: 2em;
707
- width: 2.5em;
708
- }
709
-
710
- .fa-inverse {
711
- color: var(--fa-inverse, #fff);
712
- }
713
-
714
- .sr-only,
715
- .fa-sr-only {
716
- position: absolute;
717
- width: 1px;
718
- height: 1px;
719
- padding: 0;
720
- margin: -1px;
721
- overflow: hidden;
722
- clip: rect(0, 0, 0, 0);
723
- white-space: nowrap;
724
- border-width: 0;
725
- }
726
-
727
- .sr-only-focusable:not(:focus),
728
- .fa-sr-only-focusable:not(:focus) {
729
- position: absolute;
730
- width: 1px;
731
- height: 1px;
732
- padding: 0;
733
- margin: -1px;
734
- overflow: hidden;
735
- clip: rect(0, 0, 0, 0);
736
- white-space: nowrap;
737
- border-width: 0;
738
- }
739
-
740
- .svg-inline--fa .fa-primary {
741
- fill: var(--fa-primary-color, currentColor);
742
- opacity: var(--fa-primary-opacity, 1);
743
- }
744
-
745
- .svg-inline--fa .fa-secondary {
746
- fill: var(--fa-secondary-color, currentColor);
747
- opacity: var(--fa-secondary-opacity, 0.4);
748
- }
749
-
750
- .svg-inline--fa.fa-swap-opacity .fa-primary {
751
- opacity: var(--fa-secondary-opacity, 0.4);
752
- }
753
-
754
- .svg-inline--fa.fa-swap-opacity .fa-secondary {
755
- opacity: var(--fa-primary-opacity, 1);
756
- }
757
-
758
- .svg-inline--fa mask .fa-primary,
759
- .svg-inline--fa mask .fa-secondary {
760
- fill: black;
761
- }
762
-
763
- .fad.fa-inverse,
764
- .fa-duotone.fa-inverse {
765
- color: var(--fa-inverse, #fff);
766
- }`;function Hv(){var e=Dv,t=$v,n=G.cssPrefix,r=G.replacementClass,i=TE;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 Ac=!1;function ro(){G.autoAddCss&&!Ac&&(EE(Hv()),Ac=!0)}var IE={mixout:function(){return{dom:{css:Hv,insertCss:ro}}},hooks:function(){return{beforeDOMElementCreation:function(){ro()},beforeI2svg:function(){ro()}}}},jt=an||{};jt[$t]||(jt[$t]={});jt[$t].styles||(jt[$t].styles={});jt[$t].hooks||(jt[$t].hooks={});jt[$t].shims||(jt[$t].shims=[]);var pt=jt[$t],Kv=[],CE=function e(){he.removeEventListener("DOMContentLoaded",e),ra=1,Kv.map(function(t){return t()})},ra=!1;Ut&&(ra=(he.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(he.readyState),ra||he.addEventListener("DOMContentLoaded",CE));function LE(e){Ut&&(ra?setTimeout(e,0):Kv.push(e))}function si(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"?xv(e):"<".concat(t," ").concat(OE(r),">").concat(a.map(si).join(""),"</").concat(t,">")}function Tc(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var kE=function(t,n){return function(r,i,a,o){return t.call(n,r,i,a,o)}},io=function(t,n,r,i){var a=Object.keys(t),o=a.length,u=i!==void 0?kE(n,i):n,l,c,d;for(r===void 0?(l=1,d=t[a[0]]):(l=0,d=r);l<o;l++)c=a[l],d=u(d,t[c],c,t);return d};function RE(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 mu(e){var t=RE(e);return t.length===1?t[0].toString(16):null}function NE(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 Ic(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 yu(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,i=r===void 0?!1:r,a=Ic(t);typeof pt.hooks.addPack=="function"&&!i?pt.hooks.addPack(e,Ic(t)):pt.styles[e]=K(K({},pt.styles[e]||{}),a),e==="fas"&&yu("fa",t)}var wi,Ei,Si,Un=pt.styles,ME=pt.shims,DE=(wi={},Le(wi,ve,Object.values(Xr[ve])),Le(wi,me,Object.values(Xr[me])),wi),Bl=null,zv={},Wv={},qv={},Gv={},Vv={},$E=(Ei={},Le(Ei,ve,Object.keys(Vr[ve])),Le(Ei,me,Object.keys(Vr[me])),Ei);function jE(e){return~yE.indexOf(e)}function BE(e,t){var n=t.split("-"),r=n[0],i=n.slice(1).join("-");return r===e&&i!==""&&!jE(i)?i:null}var Yv=function(){var t=function(a){return io(Un,function(o,u,l){return o[l]=io(u,a,{}),o},{})};zv=t(function(i,a,o){if(a[3]&&(i[a[3]]=o),a[2]){var u=a[2].filter(function(l){return typeof l=="number"});u.forEach(function(l){i[l.toString(16)]=o})}return i}),Wv=t(function(i,a,o){if(i[o]=o,a[2]){var u=a[2].filter(function(l){return typeof l=="string"});u.forEach(function(l){i[l]=o})}return i}),Vv=t(function(i,a,o){var u=a[2];return i[o]=o,u.forEach(function(l){i[l]=o}),i});var n="far"in Un||G.autoFetchSvg,r=io(ME,function(i,a){var o=a[0],u=a[1],l=a[2];return u==="far"&&!n&&(u="fas"),typeof o=="string"&&(i.names[o]={prefix:u,iconName:l}),typeof o=="number"&&(i.unicodes[o.toString(16)]={prefix:u,iconName:l}),i},{names:{},unicodes:{}});qv=r.names,Gv=r.unicodes,Bl=Ca(G.styleDefault,{family:G.familyDefault})};wE(function(e){Bl=Ca(e.styleDefault,{family:G.familyDefault})});Yv();function Fl(e,t){return(zv[e]||{})[t]}function FE(e,t){return(Wv[e]||{})[t]}function yn(e,t){return(Vv[e]||{})[t]}function Xv(e){return qv[e]||{prefix:null,iconName:null}}function UE(e){var t=Gv[e],n=Fl("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function on(){return Bl}var Ul=function(){return{prefix:null,iconName:null,rest:[]}};function Ca(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.family,r=n===void 0?ve:n,i=Vr[r][e],a=Yr[r][e]||Yr[r][i],o=e in pt.styles?e:null;return a||o||null}var Cc=(Si={},Le(Si,ve,Object.keys(Xr[ve])),Le(Si,me,Object.keys(Xr[me])),Si);function La(e){var t,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.skipLookups,i=r===void 0?!1:r,a=(t={},Le(t,ve,"".concat(G.cssPrefix,"-").concat(ve)),Le(t,me,"".concat(G.cssPrefix,"-").concat(me)),t),o=null,u=ve;(e.includes(a[ve])||e.some(function(c){return Cc[ve].includes(c)}))&&(u=ve),(e.includes(a[me])||e.some(function(c){return Cc[me].includes(c)}))&&(u=me);var l=e.reduce(function(c,d){var s=BE(G.cssPrefix,d);if(Un[d]?(d=DE[u].includes(d)?fE[u][d]:d,o=d,c.prefix=d):$E[u].indexOf(d)>-1?(o=d,c.prefix=Ca(d,{family:u})):s?c.iconName=s:d!==G.replacementClass&&d!==a[ve]&&d!==a[me]&&c.rest.push(d),!i&&c.prefix&&c.iconName){var f=o==="fa"?Xv(c.iconName):{},p=yn(c.prefix,c.iconName);f.prefix&&(o=null),c.iconName=f.iconName||p||c.iconName,c.prefix=f.prefix||c.prefix,c.prefix==="far"&&!Un.far&&Un.fas&&!G.autoFetchSvg&&(c.prefix="fas")}return c},Ul());return(e.includes("fa-brands")||e.includes("fab"))&&(l.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(l.prefix="fad"),!l.prefix&&u===me&&(Un.fass||G.autoFetchSvg)&&(l.prefix="fass",l.iconName=yn(l.prefix,l.iconName)||l.iconName),(l.prefix==="fa"||o==="fa")&&(l.prefix=on()||"fas"),l}var xE=function(){function e(){Zw(this,e),this.definitions={}}return eE(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]=K(K({},n.definitions[u]||{}),o[u]),yu(u,o[u]);var l=Xr[ve][u];l&&yu(l,o[u]),Yv()})}},{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,l=o.iconName,c=o.icon,d=c[2];n[u]||(n[u]={}),d.length>0&&d.forEach(function(s){typeof s=="string"&&(n[u][s]=c)}),n[u][l]=c}),n}}]),e}(),Lc=[],xn={},Gn={},HE=Object.keys(Gn);function KE(e,t){var n=t.mixoutsTo;return Lc=e,xn={},Object.keys(Gn).forEach(function(r){HE.indexOf(r)===-1&&delete Gn[r]}),Lc.forEach(function(r){var i=r.mixout?r.mixout():{};if(Object.keys(i).forEach(function(o){typeof i[o]=="function"&&(n[o]=i[o]),na(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){xn[o]||(xn[o]=[]),xn[o].push(a[o])})}r.provides&&r.provides(Gn)}),n}function gu(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=xn[e]||[];return a.forEach(function(o){t=o.apply(null,[t].concat(r))}),t}function An(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=xn[e]||[];i.forEach(function(a){a.apply(null,n)})}function Bt(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Gn[e]?Gn[e].apply(null,t):void 0}function bu(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,n=e.prefix||on();if(t)return t=yn(n,t)||t,Tc(Qv.definitions,n,t)||Tc(pt.styles,n,t)}var Qv=new xE,zE=function(){G.autoReplaceSvg=!1,G.observeMutations=!1,An("noAuto")},WE={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Ut?(An("beforeI2svg",t),Bt("pseudoElements2svg",t),Bt("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;G.autoReplaceSvg===!1&&(G.autoReplaceSvg=!0),G.observeMutations=!0,LE(function(){GE({autoReplaceSvgRoot:n}),An("watch",t)})}},qE={icon:function(t){if(t===null)return null;if(na(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:yn(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=Ca(t[0]);return{prefix:r,iconName:yn(r,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(G.cssPrefix,"-"))>-1||t.match(dE))){var i=La(t.split(" "),{skipLookups:!0});return{prefix:i.prefix||on(),iconName:yn(i.prefix,i.iconName)||i.iconName}}if(typeof t=="string"){var a=on();return{prefix:a,iconName:yn(a,t)||t}}}},rt={noAuto:zE,config:G,dom:WE,parse:qE,library:Qv,findIconDefinition:bu,toHtml:si},GE=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,r=n===void 0?he:n;(Object.keys(pt.styles).length>0||G.autoFetchSvg)&&Ut&&G.autoReplaceSvg&&rt.dom.i2svg({node:r})};function ka(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(r){return si(r)})}}),Object.defineProperty(e,"node",{get:function(){if(Ut){var r=he.createElement("div");return r.innerHTML=e.html,r.children}}}),e}function VE(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,a=e.styles,o=e.transform;if(jl(o)&&n.found&&!r.found){var u=n.width,l=n.height,c={x:u/l/2,y:.5};i.style=Ia(K(K({},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 YE(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,a=e.symbol,o=a===!0?"".concat(t,"-").concat(G.cssPrefix,"-").concat(n):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:K(K({},i),{},{id:o}),children:r}]}]}function xl(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,a=e.iconName,o=e.transform,u=e.symbol,l=e.title,c=e.maskId,d=e.titleId,s=e.extra,f=e.watchable,p=f===void 0?!1:f,g=r.found?r:n,h=g.width,_=g.height,b=i==="fak",m=[G.replacementClass,a?"".concat(G.cssPrefix,"-").concat(a):""].filter(function(P){return s.classes.indexOf(P)===-1}).filter(function(P){return P!==""||!!P}).concat(s.classes).join(" "),v={children:[],attributes:K(K({},s.attributes),{},{"data-prefix":i,"data-icon":a,class:m,role:s.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(h," ").concat(_)})},y=b&&!~s.classes.indexOf("fa-fw")?{width:"".concat(h/_*16*.0625,"em")}:{};p&&(v.attributes[Pn]=""),l&&(v.children.push({tag:"title",attributes:{id:v.attributes["aria-labelledby"]||"title-".concat(d||Jr())},children:[l]}),delete v.attributes.title);var w=K(K({},v),{},{prefix:i,iconName:a,main:n,mask:r,maskId:c,transform:o,symbol:u,styles:K(K({},y),s.styles)}),O=r.found&&n.found?Bt("generateAbstractMask",w)||{children:[],attributes:{}}:Bt("generateAbstractIcon",w)||{children:[],attributes:{}},S=O.children,E=O.attributes;return w.children=S,w.attributes=E,u?YE(w):VE(w)}function kc(e){var t=e.content,n=e.width,r=e.height,i=e.transform,a=e.title,o=e.extra,u=e.watchable,l=u===void 0?!1:u,c=K(K(K({},o.attributes),a?{title:a}:{}),{},{class:o.classes.join(" ")});l&&(c[Pn]="");var d=K({},o.styles);jl(i)&&(d.transform=AE({transform:i,startCentered:!0,width:n,height:r}),d["-webkit-transform"]=d.transform);var s=Ia(d);s.length>0&&(c.style=s);var f=[];return f.push({tag:"span",attributes:c,children:[t]}),a&&f.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),f}function XE(e){var t=e.content,n=e.title,r=e.extra,i=K(K(K({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),a=Ia(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 ao=pt.styles;function _u(e){var t=e[0],n=e[1],r=e.slice(4),i=kl(r,1),a=i[0],o=null;return Array.isArray(a)?o={tag:"g",attributes:{class:"".concat(G.cssPrefix,"-").concat(mn.GROUP)},children:[{tag:"path",attributes:{class:"".concat(G.cssPrefix,"-").concat(mn.SECONDARY),fill:"currentColor",d:a[0]}},{tag:"path",attributes:{class:"".concat(G.cssPrefix,"-").concat(mn.PRIMARY),fill:"currentColor",d:a[1]}}]}:o={tag:"path",attributes:{fill:"currentColor",d:a}},{found:!0,width:t,height:n,icon:o}}var QE={found:!1,width:512,height:512};function JE(e,t){!jv&&!G.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function wu(e,t){var n=t;return t==="fa"&&G.styleDefault!==null&&(t=on()),new Promise(function(r,i){if(Bt("missingIconAbstract"),n==="fa"){var a=Xv(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&ao[t]&&ao[t][e]){var o=ao[t][e];return r(_u(o))}JE(e,t),r(K(K({},QE),{},{icon:G.showMissingIcons&&e?Bt("missingIconAbstract")||{}:{}}))})}var Rc=function(){},Eu=G.measurePerformance&&hi&&hi.mark&&hi.measure?hi:{mark:Rc,measure:Rc},Rr='FA "6.4.2"',ZE=function(t){return Eu.mark("".concat(Rr," ").concat(t," begins")),function(){return Jv(t)}},Jv=function(t){Eu.mark("".concat(Rr," ").concat(t," ends")),Eu.measure("".concat(Rr," ").concat(t),"".concat(Rr," ").concat(t," begins"),"".concat(Rr," ").concat(t," ends"))},Hl={begin:ZE,end:Jv},Di=function(){};function Nc(e){var t=e.getAttribute?e.getAttribute(Pn):null;return typeof t=="string"}function eS(e){var t=e.getAttribute?e.getAttribute(Nl):null,n=e.getAttribute?e.getAttribute(Ml):null;return t&&n}function tS(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(G.replacementClass)}function nS(){if(G.autoReplaceSvg===!0)return $i.replace;var e=$i[G.autoReplaceSvg];return e||$i.replace}function rS(e){return he.createElementNS("http://www.w3.org/2000/svg",e)}function iS(e){return he.createElement(e)}function Zv(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,r=n===void 0?e.tag==="svg"?rS:iS:n;if(typeof e=="string")return he.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(Zv(o,{ceFn:r}))}),i}function aS(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var $i={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(i){n.parentNode.insertBefore(Zv(i),n)}),n.getAttribute(Pn)===null&&G.keepOriginalSource){var r=he.createComment(aS(n));n.parentNode.replaceChild(r,n)}else n.remove()},nest:function(t){var n=t[0],r=t[1];if(~$l(n).indexOf(G.replacementClass))return $i.replace(t);var i=new RegExp("".concat(G.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){var a=r[0].attributes.class.split(" ").reduce(function(u,l){return l===G.replacementClass||l.match(i)?u.toSvg.push(l):u.toNode.push(l),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 si(u)}).join(`
767
- `);n.setAttribute(Pn,""),n.innerHTML=o}};function Mc(e){e()}function eh(e,t){var n=typeof t=="function"?t:Di;if(e.length===0)n();else{var r=Mc;G.mutateApproach===sE&&(r=an.requestAnimationFrame||Mc),r(function(){var i=nS(),a=Hl.begin("mutate");e.map(i),a(),n()})}}var Kl=!1;function th(){Kl=!0}function Su(){Kl=!1}var ia=null;function Dc(e){if(Oc&&G.observeMutations){var t=e.treeCallback,n=t===void 0?Di:t,r=e.nodeCallback,i=r===void 0?Di:r,a=e.pseudoElementsCallback,o=a===void 0?Di:a,u=e.observeMutationsRoot,l=u===void 0?he:u;ia=new Oc(function(c){if(!Kl){var d=on();_r(c).forEach(function(s){if(s.type==="childList"&&s.addedNodes.length>0&&!Nc(s.addedNodes[0])&&(G.searchPseudoElements&&o(s.target),n(s.target)),s.type==="attributes"&&s.target.parentNode&&G.searchPseudoElements&&o(s.target.parentNode),s.type==="attributes"&&Nc(s.target)&&~mE.indexOf(s.attributeName))if(s.attributeName==="class"&&eS(s.target)){var f=La($l(s.target)),p=f.prefix,g=f.iconName;s.target.setAttribute(Nl,p||d),g&&s.target.setAttribute(Ml,g)}else tS(s.target)&&i(s.target)})}}),Ut&&ia.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function oS(){ia&&ia.disconnect()}function uS(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 lS(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"",i=La($l(e));return i.prefix||(i.prefix=on()),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&r.length>0&&(i.iconName=FE(i.prefix,e.innerText)||Fl(i.prefix,mu(e.innerText))),!i.iconName&&G.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function sS(e){var t=_r(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 G.autoA11y&&(n?t["aria-labelledby"]="".concat(G.replacementClass,"-title-").concat(r||Jr()):(t["aria-hidden"]="true",t.focusable="false")),t}function cS(){return{iconName:null,title:null,titleId:null,prefix:null,transform:wt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function $c(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=lS(e),r=n.iconName,i=n.prefix,a=n.rest,o=sS(e),u=gu("parseNodeAttributes",{},e),l=t.styleParser?uS(e):[];return K({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:wt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:l,attributes:o}},u)}var fS=pt.styles;function nh(e){var t=G.autoReplaceSvg==="nest"?$c(e,{styleParser:!1}):$c(e);return~t.extra.classes.indexOf(Bv)?Bt("generateLayersText",e,t):Bt("generateSvgReplacementMutation",e,t)}var un=new Set;Dl.map(function(e){un.add("fa-".concat(e))});Object.keys(Vr[ve]).map(un.add.bind(un));Object.keys(Vr[me]).map(un.add.bind(un));un=ui(un);function jc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Ut)return Promise.resolve();var n=he.documentElement.classList,r=function(s){return n.add("".concat(Pc,"-").concat(s))},i=function(s){return n.remove("".concat(Pc,"-").concat(s))},a=G.autoFetchSvg?un:Dl.map(function(d){return"fa-".concat(d)}).concat(Object.keys(fS));a.includes("fa")||a.push("fa");var o=[".".concat(Bv,":not([").concat(Pn,"])")].concat(a.map(function(d){return".".concat(d,":not([").concat(Pn,"])")})).join(", ");if(o.length===0)return Promise.resolve();var u=[];try{u=_r(e.querySelectorAll(o))}catch{}if(u.length>0)r("pending"),i("complete");else return Promise.resolve();var l=Hl.begin("onTree"),c=u.reduce(function(d,s){try{var f=nh(s);f&&d.push(f)}catch(p){jv||p.name==="MissingIcon"&&console.error(p)}return d},[]);return new Promise(function(d,s){Promise.all(c).then(function(f){eh(f,function(){r("active"),r("complete"),i("pending"),typeof t=="function"&&t(),l(),d()})}).catch(function(f){l(),s(f)})})}function dS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;nh(e).then(function(n){n&&eh([n],t)})}function pS(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,K(K({},n),{},{mask:i}))}}var vS=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.transform,i=r===void 0?wt:r,a=n.symbol,o=a===void 0?!1:a,u=n.mask,l=u===void 0?null:u,c=n.maskId,d=c===void 0?null:c,s=n.title,f=s===void 0?null:s,p=n.titleId,g=p===void 0?null:p,h=n.classes,_=h===void 0?[]:h,b=n.attributes,m=b===void 0?{}:b,v=n.styles,y=v===void 0?{}:v;if(t){var w=t.prefix,O=t.iconName,S=t.icon;return ka(K({type:"icon"},t),function(){return An("beforeDOMElementCreation",{iconDefinition:t,params:n}),G.autoA11y&&(f?m["aria-labelledby"]="".concat(G.replacementClass,"-title-").concat(g||Jr()):(m["aria-hidden"]="true",m.focusable="false")),xl({icons:{main:_u(S),mask:l?_u(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:w,iconName:O,transform:K(K({},wt),i),symbol:o,title:f,maskId:d,titleId:g,extra:{attributes:m,styles:y,classes:_}})})}},hS={mixout:function(){return{icon:pS(vS)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=jc,n.nodeCallback=dS,n}}},provides:function(t){t.i2svg=function(n){var r=n.node,i=r===void 0?he:r,a=n.callback,o=a===void 0?function(){}:a;return jc(i,o)},t.generateSvgReplacementMutation=function(n,r){var i=r.iconName,a=r.title,o=r.titleId,u=r.prefix,l=r.transform,c=r.symbol,d=r.mask,s=r.maskId,f=r.extra;return new Promise(function(p,g){Promise.all([wu(i,u),d.iconName?wu(d.iconName,d.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(h){var _=kl(h,2),b=_[0],m=_[1];p([n,xl({icons:{main:b,mask:m},prefix:u,iconName:i,transform:l,symbol:c,maskId:s,title:a,titleId:o,extra:f,watchable:!0})])}).catch(g)})},t.generateAbstractIcon=function(n){var r=n.children,i=n.attributes,a=n.main,o=n.transform,u=n.styles,l=Ia(u);l.length>0&&(i.style=l);var c;return jl(o)&&(c=Bt("generateAbstractTransformGrouping",{main:a,transform:o,containerWidth:a.width,iconWidth:a.width})),r.push(c||a.icon),{children:r,attributes:i}}}},mS={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 ka({type:"layer"},function(){An("beforeDOMElementCreation",{assembler:n,params:r});var o=[];return n(function(u){Array.isArray(u)?u.map(function(l){o=o.concat(l.abstract)}):o=o.concat(u.abstract)}),[{tag:"span",attributes:{class:["".concat(G.cssPrefix,"-layers")].concat(ui(a)).join(" ")},children:o}]})}}}},yS={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,l=r.attributes,c=l===void 0?{}:l,d=r.styles,s=d===void 0?{}:d;return ka({type:"counter",content:n},function(){return An("beforeDOMElementCreation",{content:n,params:r}),XE({content:n.toString(),title:a,extra:{attributes:c,styles:s,classes:["".concat(G.cssPrefix,"-layers-counter")].concat(ui(u))}})})}}}},gS={mixout:function(){return{text:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.transform,a=i===void 0?wt:i,o=r.title,u=o===void 0?null:o,l=r.classes,c=l===void 0?[]:l,d=r.attributes,s=d===void 0?{}:d,f=r.styles,p=f===void 0?{}:f;return ka({type:"text",content:n},function(){return An("beforeDOMElementCreation",{content:n,params:r}),kc({content:n,transform:K(K({},wt),a),title:u,extra:{attributes:s,styles:p,classes:["".concat(G.cssPrefix,"-layers-text")].concat(ui(c))}})})}}},provides:function(t){t.generateLayersText=function(n,r){var i=r.title,a=r.transform,o=r.extra,u=null,l=null;if(Mv){var c=parseInt(getComputedStyle(n).fontSize,10),d=n.getBoundingClientRect();u=d.width/c,l=d.height/c}return G.autoA11y&&!i&&(o.attributes["aria-hidden"]="true"),Promise.resolve([n,kc({content:n.innerHTML,width:u,height:l,transform:a,title:i,extra:o,watchable:!0})])}}},bS=new RegExp('"',"ug"),Bc=[1105920,1112319];function _S(e){var t=e.replace(bS,""),n=NE(t,0),r=n>=Bc[0]&&n<=Bc[1],i=t.length===2?t[0]===t[1]:!1;return{value:mu(i?t[0]:t),isSecondary:r||i}}function Fc(e,t){var n="".concat(lE).concat(t.replace(":","-"));return new Promise(function(r,i){if(e.getAttribute(n)!==null)return r();var a=_r(e.children),o=a.filter(function(S){return S.getAttribute(hu)===t})[0],u=an.getComputedStyle(e,t),l=u.getPropertyValue("font-family").match(pE),c=u.getPropertyValue("font-weight"),d=u.getPropertyValue("content");if(o&&!l)return e.removeChild(o),r();if(l&&d!=="none"&&d!==""){var s=u.getPropertyValue("content"),f=~["Sharp"].indexOf(l[2])?me:ve,p=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?Yr[f][l[2].toLowerCase()]:vE[f][c],g=_S(s),h=g.value,_=g.isSecondary,b=l[0].startsWith("FontAwesome"),m=Fl(p,h),v=m;if(b){var y=UE(h);y.iconName&&y.prefix&&(m=y.iconName,p=y.prefix)}if(m&&!_&&(!o||o.getAttribute(Nl)!==p||o.getAttribute(Ml)!==v)){e.setAttribute(n,v),o&&e.removeChild(o);var w=cS(),O=w.extra;O.attributes[hu]=t,wu(m,p).then(function(S){var E=xl(K(K({},w),{},{icons:{main:S,mask:Ul()},prefix:p,iconName:v,extra:O,watchable:!0})),P=he.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(P,e.firstChild):e.appendChild(P),P.outerHTML=E.map(function(A){return si(A)}).join(`
768
- `),e.removeAttribute(n),r()}).catch(i)}else r()}else r()})}function wS(e){return Promise.all([Fc(e,"::before"),Fc(e,"::after")])}function ES(e){return e.parentNode!==document.head&&!~cE.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(hu)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function Uc(e){if(Ut)return new Promise(function(t,n){var r=_r(e.querySelectorAll("*")).filter(ES).map(wS),i=Hl.begin("searchPseudoElements");th(),Promise.all(r).then(function(){i(),Su(),t()}).catch(function(){i(),Su(),n()})})}var SS={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=Uc,n}}},provides:function(t){t.pseudoElements2svg=function(n){var r=n.node,i=r===void 0?he:r;G.searchPseudoElements&&Uc(i)}}},xc=!1,OS={mixout:function(){return{dom:{unwatch:function(){th(),xc=!0}}}},hooks:function(){return{bootstrap:function(){Dc(gu("mutationObserverCallbacks",{}))},noAuto:function(){oS()},watch:function(n){var r=n.observeMutationsRoot;xc?Su():Dc(gu("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},Hc=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)},PS={mixout:function(){return{parse:{transform:function(n){return Hc(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-transform");return i&&(n.transform=Hc(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)")},l="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),") "),d="rotate(".concat(i.rotate," 0 0)"),s={transform:"".concat(l," ").concat(c," ").concat(d)},f={transform:"translate(".concat(o/2*-1," -256)")},p={outer:u,inner:s,path:f};return{tag:"g",attributes:K({},p.outer),children:[{tag:"g",attributes:K({},p.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:K(K({},r.icon.attributes),p.path)}]}]}}}},oo={x:0,y:0,width:"100%",height:"100%"};function Kc(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 AS(e){return e.tag==="g"?e.children:[e]}var TS={hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-mask"),a=i?La(i.split(" ").map(function(o){return o.trim()})):Ul();return a.prefix||(a.prefix=on()),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,l=n.transform,c=a.width,d=a.icon,s=o.width,f=o.icon,p=PE({transform:l,containerWidth:s,iconWidth:c}),g={tag:"rect",attributes:K(K({},oo),{},{fill:"white"})},h=d.children?{children:d.children.map(Kc)}:{},_={tag:"g",attributes:K({},p.inner),children:[Kc(K({tag:d.tag,attributes:K(K({},d.attributes),p.path)},h))]},b={tag:"g",attributes:K({},p.outer),children:[_]},m="mask-".concat(u||Jr()),v="clip-".concat(u||Jr()),y={tag:"mask",attributes:K(K({},oo),{},{id:m,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[g,b]},w={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:AS(f)},y]};return r.push(w,{tag:"rect",attributes:K({fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(m,")")},oo)}),{children:r,attributes:i}}}},IS={provides:function(t){var n=!1;an.matchMedia&&(n=an.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:K(K({},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=K(K({},a),{},{attributeName:"opacity"}),u={tag:"circle",attributes:K(K({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||u.children.push({tag:"animate",attributes:K(K({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:K(K({},o),{},{values:"1;0;1;1;0;1;"})}),r.push(u),r.push({tag:"path",attributes:K(K({},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:K(K({},o),{},{values:"1;0;0;0;0;1;"})}]}),n||r.push({tag:"path",attributes:K(K({},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:K(K({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},CS={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}}}},LS=[IE,hS,mS,yS,gS,SS,OS,PS,TS,IS,CS];KE(LS,{mixoutsTo:rt});rt.noAuto;rt.config;rt.library;rt.dom;var Ou=rt.parse;rt.findIconDefinition;rt.toHtml;var kS=rt.icon;rt.layer;rt.text;rt.counter;var rh={exports:{}},RS="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",NS=RS,MS=NS;function ih(){}function ah(){}ah.resetWarningCache=ih;var DS=function(){function e(r,i,a,o,u,l){if(l!==MS){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:ah,resetWarningCache:ih};return n.PropTypes=n,n};rh.exports=DS();var $S=rh.exports;const ae=fr($S);function zc(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 Yt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?zc(Object(n),!0).forEach(function(r){Hn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zc(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function aa(e){"@babel/helpers - typeof";return aa=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},aa(e)}function Hn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jS(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 BS(e,t){if(e==null)return{};var n=jS(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 Pu(e){return FS(e)||US(e)||xS(e)||HS()}function FS(e){if(Array.isArray(e))return Au(e)}function US(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function xS(e,t){if(e){if(typeof e=="string")return Au(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 Au(e,t)}}function Au(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 HS(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
769
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function KS(e){var t,n=e.beat,r=e.fade,i=e.beatFade,a=e.bounce,o=e.shake,u=e.flash,l=e.spin,c=e.spinPulse,d=e.spinReverse,s=e.pulse,f=e.fixedWidth,p=e.inverse,g=e.border,h=e.listItem,_=e.flip,b=e.size,m=e.rotation,v=e.pull,y=(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":i,"fa-bounce":a,"fa-shake":o,"fa-flash":u,"fa-spin":l,"fa-spin-reverse":d,"fa-spin-pulse":c,"fa-pulse":s,"fa-fw":f,"fa-inverse":p,"fa-border":g,"fa-li":h,"fa-flip":_===!0,"fa-flip-horizontal":_==="horizontal"||_==="both","fa-flip-vertical":_==="vertical"||_==="both"},Hn(t,"fa-".concat(b),typeof b<"u"&&b!==null),Hn(t,"fa-rotate-".concat(m),typeof m<"u"&&m!==null&&m!==0),Hn(t,"fa-pull-".concat(v),typeof v<"u"&&v!==null),Hn(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(y).map(function(w){return y[w]?w:null}).filter(function(w){return w})}function zS(e){return e=e-0,e===e}function oh(e){return zS(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,n){return n?n.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var WS=["style"];function qS(e){return e.charAt(0).toUpperCase()+e.slice(1)}function GS(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var r=n.indexOf(":"),i=oh(n.slice(0,r)),a=n.slice(r+1).trim();return i.startsWith("webkit")?t[qS(i)]=a:t[i]=a,t},{})}function uh(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(l){return uh(e,l)}),i=Object.keys(t.attributes||{}).reduce(function(l,c){var d=t.attributes[c];switch(c){case"class":l.attrs.className=d,delete t.attributes.class;break;case"style":l.attrs.style=GS(d);break;default:c.indexOf("aria-")===0||c.indexOf("data-")===0?l.attrs[c.toLowerCase()]=d:l.attrs[oh(c)]=d}return l},{attrs:{}}),a=n.style,o=a===void 0?{}:a,u=BS(n,WS);return i.attrs.style=Yt(Yt({},i.attrs.style),o),e.apply(void 0,[t.tag,Yt(Yt({},i.attrs),u)].concat(Pu(r)))}var lh=!1;try{lh=!0}catch{}function VS(){if(!lh&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function Wc(e){if(e&&aa(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(Ou.icon)return Ou.icon(e);if(e===null)return null;if(e&&aa(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 uo(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Hn({},e,t):{}}var Ra=J.forwardRef(function(e,t){var n=e.icon,r=e.mask,i=e.symbol,a=e.className,o=e.title,u=e.titleId,l=e.maskId,c=Wc(n),d=uo("classes",[].concat(Pu(KS(e)),Pu(a.split(" ")))),s=uo("transform",typeof e.transform=="string"?Ou.transform(e.transform):e.transform),f=uo("mask",Wc(r)),p=kS(c,Yt(Yt(Yt(Yt({},d),s),f),{},{symbol:i,title:o,titleId:u,maskId:l}));if(!p)return VS("Could not find icon",c),null;var g=p.abstract,h={ref:t};return Object.keys(e).forEach(function(_){Ra.defaultProps.hasOwnProperty(_)||(h[_]=e[_])}),YS(g[0],h)});Ra.displayName="FontAwesomeIcon";Ra.propTypes={beat:ae.bool,border:ae.bool,beatFade:ae.bool,bounce:ae.bool,className:ae.string,fade:ae.bool,flash:ae.bool,mask:ae.oneOfType([ae.object,ae.array,ae.string]),maskId:ae.string,fixedWidth:ae.bool,inverse:ae.bool,flip:ae.oneOf([!0,!1,"horizontal","vertical","both"]),icon:ae.oneOfType([ae.object,ae.array,ae.string]),listItem:ae.bool,pull:ae.oneOf(["right","left"]),pulse:ae.bool,rotation:ae.oneOf([0,90,180,270]),shake:ae.bool,size:ae.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:ae.bool,spinPulse:ae.bool,spinReverse:ae.bool,symbol:ae.oneOfType([ae.bool,ae.string]),title:ae.string,titleId:ae.string,transform:ae.oneOfType([ae.string,ae.object]),swapOpacity:ae.bool};Ra.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 YS=uh.bind(null,J.createElement);function XS({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 QS=de(XS),sI=QS;function JS({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 ZS=de(JS),cI=ZS;function eO({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 tO=de(eO),fI=tO;function nO({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 rO=de(nO),dI=rO;function iO({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 aO=de(iO),pI=aO;function oO({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 uO=de(oO),vI=uO;function lO({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 sO=de(lO),hI=sO;function cO({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 fO=de(cO),mI=fO;function dO({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 pO=de(dO),yI=pO;function vO({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 hO=de(vO),gI=hO;var zl={exports:{}},sh=function(t,n){return function(){for(var i=new Array(arguments.length),a=0;a<i.length;a++)i[a]=arguments[a];return t.apply(n,i)}},mO=sh,Wl=Object.prototype.toString,ql=function(e){return function(t){var n=Wl.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())}}(Object.create(null));function Ln(e){return e=e.toLowerCase(),function(n){return ql(n)===e}}function Gl(e){return Array.isArray(e)}function oa(e){return typeof e>"u"}function yO(e){return e!==null&&!oa(e)&&e.constructor!==null&&!oa(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}var ch=Ln("ArrayBuffer");function gO(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ch(e.buffer),t}function bO(e){return typeof e=="string"}function _O(e){return typeof e=="number"}function fh(e){return e!==null&&typeof e=="object"}function ji(e){if(ql(e)!=="object")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}var wO=Ln("Date"),EO=Ln("File"),SO=Ln("Blob"),OO=Ln("FileList");function Vl(e){return Wl.call(e)==="[object Function]"}function PO(e){return fh(e)&&Vl(e.pipe)}function AO(e){var t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||Wl.call(e)===t||Vl(e.toString)&&e.toString()===t)}var TO=Ln("URLSearchParams");function IO(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function CO(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function Yl(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),Gl(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}function Tu(){var e={};function t(i,a){ji(e[a])&&ji(i)?e[a]=Tu(e[a],i):ji(i)?e[a]=Tu({},i):Gl(i)?e[a]=i.slice():e[a]=i}for(var n=0,r=arguments.length;n<r;n++)Yl(arguments[n],t);return e}function LO(e,t,n){return Yl(t,function(i,a){n&&typeof i=="function"?e[a]=mO(i,n):e[a]=i}),e}function kO(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}function RO(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,n&&Object.assign(e.prototype,n)}function NO(e,t,n){var r,i,a,o={};t=t||{};do{for(r=Object.getOwnPropertyNames(e),i=r.length;i-- >0;)a=r[i],o[a]||(t[a]=e[a],o[a]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t}function MO(e,t,n){e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return r!==-1&&r===n}function DO(e){if(!e)return null;var t=e.length;if(oa(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n}var $O=function(e){return function(t){return e&&t instanceof e}}(typeof Uint8Array<"u"&&Object.getPrototypeOf(Uint8Array)),Ue={isArray:Gl,isArrayBuffer:ch,isBuffer:yO,isFormData:AO,isArrayBufferView:gO,isString:bO,isNumber:_O,isObject:fh,isPlainObject:ji,isUndefined:oa,isDate:wO,isFile:EO,isBlob:SO,isFunction:Vl,isStream:PO,isURLSearchParams:TO,isStandardBrowserEnv:CO,forEach:Yl,merge:Tu,extend:LO,trim:IO,stripBOM:kO,inherits:RO,toFlatObject:NO,kindOf:ql,kindOfTest:Ln,endsWith:MO,toArray:DO,isTypedArray:$O,isFileList:OO},Rn=Ue;function qc(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var dh=function(t,n,r){if(!n)return t;var i;if(r)i=r(n);else if(Rn.isURLSearchParams(n))i=n.toString();else{var a=[];Rn.forEach(n,function(l,c){l===null||typeof l>"u"||(Rn.isArray(l)?c=c+"[]":l=[l],Rn.forEach(l,function(s){Rn.isDate(s)?s=s.toISOString():Rn.isObject(s)&&(s=JSON.stringify(s)),a.push(qc(c)+"="+qc(s))}))}),i=a.join("&")}if(i){var o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t},jO=Ue;function Na(){this.handlers=[]}Na.prototype.use=function(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};Na.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};Na.prototype.forEach=function(t){jO.forEach(this.handlers,function(r){r!==null&&t(r)})};var BO=Na,FO=Ue,UO=function(t,n){FO.forEach(t,function(i,a){a!==n&&a.toUpperCase()===n.toUpperCase()&&(t[n]=i,delete t[a])})},ph=Ue;function ar(e,t,n,r,i){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}ph.inherits(ar,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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var vh=ar.prototype,hh={};["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"].forEach(function(e){hh[e]={value:e}});Object.defineProperties(ar,hh);Object.defineProperty(vh,"isAxiosError",{value:!0});ar.from=function(e,t,n,r,i,a){var o=Object.create(vh);return ph.toFlatObject(e,o,function(l){return l!==Error.prototype}),ar.call(o,e.message,t,n,r,i),o.name=e.name,a&&Object.assign(o,a),o};var wr=ar,mh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},st=Ue;function xO(e,t){t=t||new FormData;var n=[];function r(a){return a===null?"":st.isDate(a)?a.toISOString():st.isArrayBuffer(a)||st.isTypedArray(a)?typeof Blob=="function"?new Blob([a]):Buffer.from(a):a}function i(a,o){if(st.isPlainObject(a)||st.isArray(a)){if(n.indexOf(a)!==-1)throw Error("Circular reference detected in "+o);n.push(a),st.forEach(a,function(l,c){if(!st.isUndefined(l)){var d=o?o+"."+c:c,s;if(l&&!o&&typeof l=="object"){if(st.endsWith(c,"{}"))l=JSON.stringify(l);else if(st.endsWith(c,"[]")&&(s=st.toArray(l))){s.forEach(function(f){!st.isUndefined(f)&&t.append(d,r(f))});return}}i(l,d)}}),n.pop()}else t.append(o,r(a))}return i(e),t}var yh=xO,lo,Gc;function HO(){if(Gc)return lo;Gc=1;var e=wr;return lo=function(n,r,i){var a=i.config.validateStatus;!i.status||!a||a(i.status)?n(i):r(new e("Request failed with status code "+i.status,[e.ERR_BAD_REQUEST,e.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))},lo}var so,Vc;function KO(){if(Vc)return so;Vc=1;var e=Ue;return so=e.isStandardBrowserEnv()?function(){return{write:function(r,i,a,o,u,l){var c=[];c.push(r+"="+encodeURIComponent(i)),e.isNumber(a)&&c.push("expires="+new Date(a).toGMTString()),e.isString(o)&&c.push("path="+o),e.isString(u)&&c.push("domain="+u),l===!0&&c.push("secure"),document.cookie=c.join("; ")},read:function(r){var i=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),so}var zO=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},WO=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t},qO=zO,GO=WO,gh=function(t,n){return t&&!qO(n)?GO(t,n):n},co,Yc;function VO(){if(Yc)return co;Yc=1;var e=Ue,t=["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"];return co=function(r){var i={},a,o,u;return r&&e.forEach(r.split(`
770
- `),function(c){if(u=c.indexOf(":"),a=e.trim(c.substr(0,u)).toLowerCase(),o=e.trim(c.substr(u+1)),a){if(i[a]&&t.indexOf(a)>=0)return;a==="set-cookie"?i[a]=(i[a]?i[a]:[]).concat([o]):i[a]=i[a]?i[a]+", "+o:o}}),i},co}var fo,Xc;function YO(){if(Xc)return fo;Xc=1;var e=Ue;return fo=e.isStandardBrowserEnv()?function(){var n=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),i;function a(o){var u=o;return n&&(r.setAttribute("href",u),u=r.href),r.setAttribute("href",u),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return i=a(window.location.href),function(u){var l=e.isString(u)?a(u):u;return l.protocol===i.protocol&&l.host===i.host}}():function(){return function(){return!0}}(),fo}var po,Qc;function Ma(){if(Qc)return po;Qc=1;var e=wr,t=Ue;function n(r){e.call(this,r??"canceled",e.ERR_CANCELED),this.name="CanceledError"}return t.inherits(n,e,{__CANCEL__:!0}),po=n,po}var vo,Jc;function XO(){return Jc||(Jc=1,vo=function(t){var n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return n&&n[1]||""}),vo}var ho,Zc;function ef(){if(Zc)return ho;Zc=1;var e=Ue,t=HO(),n=KO(),r=dh,i=gh,a=VO(),o=YO(),u=mh,l=wr,c=Ma(),d=XO();return ho=function(f){return new Promise(function(g,h){var _=f.data,b=f.headers,m=f.responseType,v;function y(){f.cancelToken&&f.cancelToken.unsubscribe(v),f.signal&&f.signal.removeEventListener("abort",v)}e.isFormData(_)&&e.isStandardBrowserEnv()&&delete b["Content-Type"];var w=new XMLHttpRequest;if(f.auth){var O=f.auth.username||"",S=f.auth.password?unescape(encodeURIComponent(f.auth.password)):"";b.Authorization="Basic "+btoa(O+":"+S)}var E=i(f.baseURL,f.url);w.open(f.method.toUpperCase(),r(E,f.params,f.paramsSerializer),!0),w.timeout=f.timeout;function P(){if(w){var N="getAllResponseHeaders"in w?a(w.getAllResponseHeaders()):null,$=!m||m==="text"||m==="json"?w.responseText:w.response,C={data:$,status:w.status,statusText:w.statusText,headers:N,config:f,request:w};t(function(k){g(k),y()},function(k){h(k),y()},C),w=null}}if("onloadend"in w?w.onloadend=P:w.onreadystatechange=function(){!w||w.readyState!==4||w.status===0&&!(w.responseURL&&w.responseURL.indexOf("file:")===0)||setTimeout(P)},w.onabort=function(){w&&(h(new l("Request aborted",l.ECONNABORTED,f,w)),w=null)},w.onerror=function(){h(new l("Network Error",l.ERR_NETWORK,f,w,w)),w=null},w.ontimeout=function(){var $=f.timeout?"timeout of "+f.timeout+"ms exceeded":"timeout exceeded",C=f.transitional||u;f.timeoutErrorMessage&&($=f.timeoutErrorMessage),h(new l($,C.clarifyTimeoutError?l.ETIMEDOUT:l.ECONNABORTED,f,w)),w=null},e.isStandardBrowserEnv()){var A=(f.withCredentials||o(E))&&f.xsrfCookieName?n.read(f.xsrfCookieName):void 0;A&&(b[f.xsrfHeaderName]=A)}"setRequestHeader"in w&&e.forEach(b,function($,C){typeof _>"u"&&C.toLowerCase()==="content-type"?delete b[C]:w.setRequestHeader(C,$)}),e.isUndefined(f.withCredentials)||(w.withCredentials=!!f.withCredentials),m&&m!=="json"&&(w.responseType=f.responseType),typeof f.onDownloadProgress=="function"&&w.addEventListener("progress",f.onDownloadProgress),typeof f.onUploadProgress=="function"&&w.upload&&w.upload.addEventListener("progress",f.onUploadProgress),(f.cancelToken||f.signal)&&(v=function(N){w&&(h(!N||N&&N.type?new c:N),w.abort(),w=null)},f.cancelToken&&f.cancelToken.subscribe(v),f.signal&&(f.signal.aborted?v():f.signal.addEventListener("abort",v))),_||(_=null);var L=d(E);if(L&&["http","https","file"].indexOf(L)===-1){h(new l("Unsupported protocol "+L+":",l.ERR_BAD_REQUEST,f));return}w.send(_)})},ho}var mo,tf;function QO(){return tf||(tf=1,mo=null),mo}var De=Ue,nf=UO,rf=wr,JO=mh,ZO=yh,e2={"Content-Type":"application/x-www-form-urlencoded"};function af(e,t){!De.isUndefined(e)&&De.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function t2(){var e;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(e=ef()),e}function n2(e,t,n){if(De.isString(e))try{return(t||JSON.parse)(e),De.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}var Da={transitional:JO,adapter:t2(),transformRequest:[function(t,n){if(nf(n,"Accept"),nf(n,"Content-Type"),De.isFormData(t)||De.isArrayBuffer(t)||De.isBuffer(t)||De.isStream(t)||De.isFile(t)||De.isBlob(t))return t;if(De.isArrayBufferView(t))return t.buffer;if(De.isURLSearchParams(t))return af(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var r=De.isObject(t),i=n&&n["Content-Type"],a;if((a=De.isFileList(t))||r&&i==="multipart/form-data"){var o=this.env&&this.env.FormData;return ZO(a?{"files[]":t}:t,o&&new o)}else if(r||i==="application/json")return af(n,"application/json"),n2(t);return t}],transformResponse:[function(t){var n=this.transitional||Da.transitional,r=n&&n.silentJSONParsing,i=n&&n.forcedJSONParsing,a=!r&&this.responseType==="json";if(a||i&&De.isString(t)&&t.length)try{return JSON.parse(t)}catch(o){if(a)throw o.name==="SyntaxError"?rf.from(o,rf.ERR_BAD_RESPONSE,this,null,this.response):o}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:QO()},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};De.forEach(["delete","get","head"],function(t){Da.headers[t]={}});De.forEach(["post","put","patch"],function(t){Da.headers[t]=De.merge(e2)});var Xl=Da,r2=Ue,i2=Xl,a2=function(t,n,r){var i=this||i2;return r2.forEach(r,function(o){t=o.call(i,t,n)}),t},yo,of;function bh(){return of||(of=1,yo=function(t){return!!(t&&t.__CANCEL__)}),yo}var uf=Ue,go=a2,o2=bh(),u2=Xl,l2=Ma();function bo(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new l2}var s2=function(t){bo(t),t.headers=t.headers||{},t.data=go.call(t,t.data,t.headers,t.transformRequest),t.headers=uf.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),uf.forEach(["delete","get","head","post","put","patch","common"],function(i){delete t.headers[i]});var n=t.adapter||u2.adapter;return n(t).then(function(i){return bo(t),i.data=go.call(t,i.data,i.headers,t.transformResponse),i},function(i){return o2(i)||(bo(t),i&&i.response&&(i.response.data=go.call(t,i.response.data,i.response.headers,t.transformResponse))),Promise.reject(i)})},Xe=Ue,_h=function(t,n){n=n||{};var r={};function i(d,s){return Xe.isPlainObject(d)&&Xe.isPlainObject(s)?Xe.merge(d,s):Xe.isPlainObject(s)?Xe.merge({},s):Xe.isArray(s)?s.slice():s}function a(d){if(Xe.isUndefined(n[d])){if(!Xe.isUndefined(t[d]))return i(void 0,t[d])}else return i(t[d],n[d])}function o(d){if(!Xe.isUndefined(n[d]))return i(void 0,n[d])}function u(d){if(Xe.isUndefined(n[d])){if(!Xe.isUndefined(t[d]))return i(void 0,t[d])}else return i(void 0,n[d])}function l(d){if(d in n)return i(t[d],n[d]);if(d in t)return i(void 0,t[d])}var c={url:o,method:o,data:o,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,beforeRedirect:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:l};return Xe.forEach(Object.keys(t).concat(Object.keys(n)),function(s){var f=c[s]||a,p=f(s);Xe.isUndefined(p)&&f!==l||(r[s]=p)}),r},_o,lf;function wh(){return lf||(lf=1,_o={version:"0.27.2"}),_o}var c2=wh().version,zt=wr,Ql={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Ql[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var sf={};Ql.transitional=function(t,n,r){function i(a,o){return"[Axios v"+c2+"] Transitional option '"+a+"'"+o+(r?". "+r:"")}return function(a,o,u){if(t===!1)throw new zt(i(o," has been removed"+(n?" in "+n:"")),zt.ERR_DEPRECATED);return n&&!sf[o]&&(sf[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 f2(e,t,n){if(typeof e!="object")throw new zt("options must be an object",zt.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),i=r.length;i-- >0;){var a=r[i],o=t[a];if(o){var u=e[a],l=u===void 0||o(u,a,e);if(l!==!0)throw new zt("option "+a+" must be "+l,zt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new zt("Unknown option "+a,zt.ERR_BAD_OPTION)}}var d2={assertOptions:f2,validators:Ql},Eh=Ue,p2=dh,cf=BO,ff=s2,$a=_h,v2=gh,Sh=d2,Nn=Sh.validators;function or(e){this.defaults=e,this.interceptors={request:new cf,response:new cf}}or.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=$a(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var r=n.transitional;r!==void 0&&Sh.assertOptions(r,{silentJSONParsing:Nn.transitional(Nn.boolean),forcedJSONParsing:Nn.transitional(Nn.boolean),clarifyTimeoutError:Nn.transitional(Nn.boolean)},!1);var i=[],a=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(a=a&&p.synchronous,i.unshift(p.fulfilled,p.rejected))});var o=[];this.interceptors.response.forEach(function(p){o.push(p.fulfilled,p.rejected)});var u;if(!a){var l=[ff,void 0];for(Array.prototype.unshift.apply(l,i),l=l.concat(o),u=Promise.resolve(n);l.length;)u=u.then(l.shift(),l.shift());return u}for(var c=n;i.length;){var d=i.shift(),s=i.shift();try{c=d(c)}catch(f){s(f);break}}try{u=ff(c)}catch(f){return Promise.reject(f)}for(;o.length;)u=u.then(o.shift(),o.shift());return u};or.prototype.getUri=function(t){t=$a(this.defaults,t);var n=v2(t.baseURL,t.url);return p2(n,t.params,t.paramsSerializer)};Eh.forEach(["delete","get","head","options"],function(t){or.prototype[t]=function(n,r){return this.request($a(r||{},{method:t,url:n,data:(r||{}).data}))}});Eh.forEach(["post","put","patch"],function(t){function n(r){return function(a,o,u){return this.request($a(u||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:o}))}}or.prototype[t]=n(),or.prototype[t+"Form"]=n(!0)});var h2=or,wo,df;function m2(){if(df)return wo;df=1;var e=Ma();function t(n){if(typeof n!="function")throw new TypeError("executor must be a function.");var r;this.promise=new Promise(function(o){r=o});var i=this;this.promise.then(function(a){if(i._listeners){var o,u=i._listeners.length;for(o=0;o<u;o++)i._listeners[o](a);i._listeners=null}}),this.promise.then=function(a){var o,u=new Promise(function(l){i.subscribe(l),o=l}).then(a);return u.cancel=function(){i.unsubscribe(o)},u},n(function(o){i.reason||(i.reason=new e(o),r(i.reason))})}return t.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},t.prototype.subscribe=function(r){if(this.reason){r(this.reason);return}this._listeners?this._listeners.push(r):this._listeners=[r]},t.prototype.unsubscribe=function(r){if(this._listeners){var i=this._listeners.indexOf(r);i!==-1&&this._listeners.splice(i,1)}},t.source=function(){var r,i=new t(function(o){r=o});return{token:i,cancel:r}},wo=t,wo}var Eo,pf;function y2(){return pf||(pf=1,Eo=function(t){return function(r){return t.apply(null,r)}}),Eo}var So,vf;function g2(){if(vf)return So;vf=1;var e=Ue;return So=function(n){return e.isObject(n)&&n.isAxiosError===!0},So}var hf=Ue,b2=sh,Bi=h2,_2=_h,w2=Xl;function Oh(e){var t=new Bi(e),n=b2(Bi.prototype.request,t);return hf.extend(n,Bi.prototype,t),hf.extend(n,t),n.create=function(i){return Oh(_2(e,i))},n}var Ge=Oh(w2);Ge.Axios=Bi;Ge.CanceledError=Ma();Ge.CancelToken=m2();Ge.isCancel=bh();Ge.VERSION=wh().version;Ge.toFormData=yh;Ge.AxiosError=wr;Ge.Cancel=Ge.CanceledError;Ge.all=function(t){return Promise.all(t)};Ge.spread=y2();Ge.isAxiosError=g2();zl.exports=Ge;zl.exports.default=Ge;var E2=zl.exports,S2=E2;const O2=fr(S2);var P2=Function.prototype.toString,Oo=Object.create,A2=Object.defineProperty,T2=Object.getOwnPropertyDescriptor,mf=Object.getOwnPropertyNames,Jl=Object.getOwnPropertySymbols,I2=Object.getPrototypeOf,Ph=Object.prototype,C2=Ph.hasOwnProperty,L2=Ph.propertyIsEnumerable,Ah=typeof Jl=="function",k2=typeof WeakMap=="function",R2=function(){if(k2)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}}(),Th=function(e,t){var n=e.__proto__||I2(e);if(!n)return Oo(null);var r=n.constructor;if(r===t.Object)return n===t.Object.prototype?{}:Oo(n);if(~P2.call(r).indexOf("[native code]"))try{return new r}catch{}return Oo(n)},N2=function(e,t,n,r){var i=Th(e,t);r.set(e,i);for(var a in e)C2.call(e,a)&&(i[a]=n(e[a],r));if(Ah)for(var o=Jl(e),u=0,l=o.length,c=void 0;u<l;++u)c=o[u],L2.call(e,c)&&(i[c]=n(e[c],r));return i},yf=function(e,t,n,r){var i=Th(e,t);r.set(e,i);for(var a=Ah?mf(e).concat(Jl(e)):mf(e),o=0,u=a.length,l=void 0,c=void 0;o<u;++o)if(l=a[o],l!=="callee"&&l!=="caller")if(c=T2(e,l),c){!c.get&&!c.set&&(c.value=n(e[l],r));try{A2(i,l,c)}catch{i[l]=c.value}}else i[l]=n(e[l],r);return i},M2=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},D2=Array.isArray,$2=Object.getPrototypeOf,j2=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 ke(e,t){var n=!!(t&&t.isStrict),r=t&&t.realm||j2,i=n?yf:N2,a=function(o,u){if(!o||typeof o!="object")return o;if(u.has(o))return u.get(o);var l=o.__proto__||$2(o),c=l&&l.constructor;if(!c||c===r.Object)return i(o,r,a,u);var d;if(D2(o)){if(n)return yf(o,r,a,u);d=new c,u.set(o,d);for(var s=0,f=o.length;s<f;++s)d[s]=a(o[s],u);return d}if(o instanceof r.Date)return new c(o.getTime());if(o instanceof r.RegExp)return d=new c(o.source,o.flags||M2(o)),d.lastIndex=o.lastIndex,d;if(r.Map&&o instanceof r.Map)return d=new c,u.set(o,d),o.forEach(function(p,g){d.set(g,a(p,u))}),d;if(r.Set&&o instanceof r.Set)return d=new c,u.set(o,d),o.forEach(function(p){d.add(a(p,u))}),d;if(r.Blob&&o instanceof r.Blob)return o.slice(0,o.size,o.type);if(r.Buffer&&r.Buffer.isBuffer(o))return d=r.Buffer.allocUnsafe?r.Buffer.allocUnsafe(o.length):new c(o.length),u.set(o,d),o.copy(d),d;if(r.ArrayBuffer){if(r.ArrayBuffer.isView(o))return d=new c(o.buffer.slice(0)),u.set(o,d),d;if(o instanceof r.ArrayBuffer)return d=o.slice(0),u.set(o,d),d}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,R2())}ke.default=ke;ke.strict=function(t,n){return ke(t,{isStrict:!0,realm:n?n.realm:void 0})};var B2=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},gf=typeof Symbol<"u"&&Symbol,F2=B2,U2=function(){return typeof gf!="function"||typeof Symbol!="function"||typeof gf("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:F2()},bf={foo:{}},x2=Object,H2=function(){return{__proto__:bf}.foo===bf.foo&&!({__proto__:null}instanceof x2)},K2="Function.prototype.bind called on incompatible ",z2=Object.prototype.toString,W2=Math.max,q2="[object Function]",_f=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},G2=function(t,n){for(var r=[],i=n||0,a=0;i<t.length;i+=1,a+=1)r[a]=t[i];return r},V2=function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n},Y2=function(t){var n=this;if(typeof n!="function"||z2.apply(n)!==q2)throw new TypeError(K2+n);for(var r=G2(arguments,1),i,a=function(){if(this instanceof i){var d=n.apply(this,_f(r,arguments));return Object(d)===d?d:this}return n.apply(t,_f(r,arguments))},o=W2(0,n.length-r.length),u=[],l=0;l<o;l++)u[l]="$"+l;if(i=Function("binder","return function ("+V2(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},X2=Y2,Ih=Function.prototype.bind||X2,wf={}.hasOwnProperty,Po=Function.prototype.call,Q2=Po.bind?Po.bind(wf):function(e,t){return Po.call(wf,e,t)},oe,ur=SyntaxError,Ch=Function,Vn=TypeError,Ao=function(e){try{return Ch('"use strict"; return ('+e+").constructor;")()}catch{}},wn=Object.getOwnPropertyDescriptor;if(wn)try{wn({},"")}catch{wn=null}var To=function(){throw new Vn},J2=wn?function(){try{return arguments.callee,To}catch{try{return wn(arguments,"callee").get}catch{return To}}}():To,Mn=U2(),Z2=H2(),$e=Object.getPrototypeOf||(Z2?function(e){return e.__proto__}:null),$n={},eP=typeof Uint8Array>"u"||!$e?oe:$e(Uint8Array),En={"%AggregateError%":typeof AggregateError>"u"?oe:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?oe:ArrayBuffer,"%ArrayIteratorPrototype%":Mn&&$e?$e([][Symbol.iterator]()):oe,"%AsyncFromSyncIteratorPrototype%":oe,"%AsyncFunction%":$n,"%AsyncGenerator%":$n,"%AsyncGeneratorFunction%":$n,"%AsyncIteratorPrototype%":$n,"%Atomics%":typeof Atomics>"u"?oe:Atomics,"%BigInt%":typeof BigInt>"u"?oe:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?oe:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?oe:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?oe:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?oe:Float32Array,"%Float64Array%":typeof Float64Array>"u"?oe:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?oe:FinalizationRegistry,"%Function%":Ch,"%GeneratorFunction%":$n,"%Int8Array%":typeof Int8Array>"u"?oe:Int8Array,"%Int16Array%":typeof Int16Array>"u"?oe:Int16Array,"%Int32Array%":typeof Int32Array>"u"?oe:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Mn&&$e?$e($e([][Symbol.iterator]())):oe,"%JSON%":typeof JSON=="object"?JSON:oe,"%Map%":typeof Map>"u"?oe:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Mn||!$e?oe:$e(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?oe:Promise,"%Proxy%":typeof Proxy>"u"?oe:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?oe:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?oe:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Mn||!$e?oe:$e(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?oe:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Mn&&$e?$e(""[Symbol.iterator]()):oe,"%Symbol%":Mn?Symbol:oe,"%SyntaxError%":ur,"%ThrowTypeError%":J2,"%TypedArray%":eP,"%TypeError%":Vn,"%Uint8Array%":typeof Uint8Array>"u"?oe:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?oe:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?oe:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?oe:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?oe:WeakMap,"%WeakRef%":typeof WeakRef>"u"?oe:WeakRef,"%WeakSet%":typeof WeakSet>"u"?oe:WeakSet};if($e)try{null.error}catch(e){var tP=$e($e(e));En["%Error.prototype%"]=tP}var nP=function e(t){var n;if(t==="%AsyncFunction%")n=Ao("async function () {}");else if(t==="%GeneratorFunction%")n=Ao("function* () {}");else if(t==="%AsyncGeneratorFunction%")n=Ao("async function* () {}");else if(t==="%AsyncGenerator%"){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&$e&&(n=$e(i.prototype))}return En[t]=n,n},Ef={"%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=Ih,ua=Q2,rP=ci.call(Function.call,Array.prototype.concat),iP=ci.call(Function.apply,Array.prototype.splice),Sf=ci.call(Function.call,String.prototype.replace),la=ci.call(Function.call,String.prototype.slice),aP=ci.call(Function.call,RegExp.prototype.exec),oP=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,uP=/\\(\\)?/g,lP=function(t){var n=la(t,0,1),r=la(t,-1);if(n==="%"&&r!=="%")throw new ur("invalid intrinsic syntax, expected closing `%`");if(r==="%"&&n!=="%")throw new ur("invalid intrinsic syntax, expected opening `%`");var i=[];return Sf(t,oP,function(a,o,u,l){i[i.length]=u?Sf(l,uP,"$1"):o||a}),i},sP=function(t,n){var r=t,i;if(ua(Ef,r)&&(i=Ef[r],r="%"+i[0]+"%"),ua(En,r)){var a=En[r];if(a===$n&&(a=nP(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 ur("intrinsic "+t+" does not exist!")},Zl=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(aP(/^%?[^%]*%?$/,t)===null)throw new ur("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=lP(t),i=r.length>0?r[0]:"",a=sP("%"+i+"%",n),o=a.name,u=a.value,l=!1,c=a.alias;c&&(i=c[0],iP(r,rP([0,1],c)));for(var d=1,s=!0;d<r.length;d+=1){var f=r[d],p=la(f,0,1),g=la(f,-1);if((p==='"'||p==="'"||p==="`"||g==='"'||g==="'"||g==="`")&&p!==g)throw new ur("property names with quotes must have matching quotes");if((f==="constructor"||!s)&&(l=!0),i+="."+f,o="%"+i+"%",ua(En,o))u=En[o];else if(u!=null){if(!(f in u)){if(!n)throw new Vn("base intrinsic for "+t+" exists, but the property is not available.");return}if(wn&&d+1>=r.length){var h=wn(u,f);s=!!h,s&&"get"in h&&!("originalValue"in h.get)?u=h.get:u=u[f]}else s=ua(u,f),u=u[f];s&&!l&&(En[o]=u)}}return u},Lh={exports:{}};(function(e){var t=Ih,n=Zl,r=n("%Function.prototype.apply%"),i=n("%Function.prototype.call%"),a=n("%Reflect.apply%",!0)||t.call(i,r),o=n("%Object.getOwnPropertyDescriptor%",!0),u=n("%Object.defineProperty%",!0),l=n("%Math.max%");if(u)try{u({},"a",{value:1})}catch{u=null}e.exports=function(s){var f=a(t,i,arguments);if(o&&u){var p=o(f,"length");p.configurable&&u(f,"length",{value:1+l(0,s.length-(arguments.length-1))})}return f};var c=function(){return a(t,r,arguments)};u?u(e.exports,"apply",{value:c}):e.exports.apply=c})(Lh);var cP=Lh.exports,kh=Zl,Rh=cP,fP=Rh(kh("String.prototype.indexOf")),dP=function(t,n){var r=kh(t,!!n);return typeof r=="function"&&fP(t,".prototype.")>-1?Rh(r):r};const pP={},vP=Object.freeze(Object.defineProperty({__proto__:null,default:pP},Symbol.toStringTag,{value:"Module"})),hP=Jf(vP);var es=typeof Map=="function"&&Map.prototype,Io=Object.getOwnPropertyDescriptor&&es?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,sa=es&&Io&&typeof Io.get=="function"?Io.get:null,Of=es&&Map.prototype.forEach,ts=typeof Set=="function"&&Set.prototype,Co=Object.getOwnPropertyDescriptor&&ts?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,ca=ts&&Co&&typeof Co.get=="function"?Co.get:null,Pf=ts&&Set.prototype.forEach,mP=typeof WeakMap=="function"&&WeakMap.prototype,Br=mP?WeakMap.prototype.has:null,yP=typeof WeakSet=="function"&&WeakSet.prototype,Fr=yP?WeakSet.prototype.has:null,gP=typeof WeakRef=="function"&&WeakRef.prototype,Af=gP?WeakRef.prototype.deref:null,bP=Boolean.prototype.valueOf,_P=Object.prototype.toString,wP=Function.prototype.toString,EP=String.prototype.match,ns=String.prototype.slice,Xt=String.prototype.replace,SP=String.prototype.toUpperCase,Tf=String.prototype.toLowerCase,Nh=RegExp.prototype.test,If=Array.prototype.concat,gt=Array.prototype.join,OP=Array.prototype.slice,Cf=Math.floor,Iu=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Lo=Object.getOwnPropertySymbols,Cu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,lr=typeof Symbol=="function"&&typeof Symbol.iterator=="object",ze=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===lr||"symbol")?Symbol.toStringTag:null,Mh=Object.prototype.propertyIsEnumerable,Lf=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function kf(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||Nh.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var r=e<0?-Cf(-e):Cf(e);if(r!==e){var i=String(r),a=ns.call(t,i.length+1);return Xt.call(i,n,"$&_")+"."+Xt.call(Xt.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Xt.call(t,n,"$&_")}var Lu=hP,Rf=Lu.custom,Nf=$h(Rf)?Rf:null,PP=function e(t,n,r,i){var a=n||{};if(Wt(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Wt(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=Wt(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(Wt(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(Wt(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 Bh(t,a);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var l=String(t);return u?kf(t,l):l}if(typeof t=="bigint"){var c=String(t)+"n";return u?kf(t,c):c}var d=typeof a.depth>"u"?5:a.depth;if(typeof r>"u"&&(r=0),r>=d&&d>0&&typeof t=="object")return ku(t)?"[Array]":"[Object]";var s=KP(a,r);if(typeof i>"u")i=[];else if(jh(i,t)>=0)return"[Circular]";function f($,C,I){if(C&&(i=OP.call(i),i.push(C)),I){var k={depth:a.depth};return Wt(a,"quoteStyle")&&(k.quoteStyle=a.quoteStyle),e($,k,r+1,i)}return e($,a,r+1,i)}if(typeof t=="function"&&!Mf(t)){var p=MP(t),g=Oi(t,f);return"[Function"+(p?": "+p:" (anonymous)")+"]"+(g.length>0?" { "+gt.call(g,", ")+" }":"")}if($h(t)){var h=lr?Xt.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Cu.call(t);return typeof t=="object"&&!lr?Ir(h):h}if(UP(t)){for(var _="<"+Tf.call(String(t.nodeName)),b=t.attributes||[],m=0;m<b.length;m++)_+=" "+b[m].name+"="+Dh(AP(b[m].value),"double",a);return _+=">",t.childNodes&&t.childNodes.length&&(_+="..."),_+="</"+Tf.call(String(t.nodeName))+">",_}if(ku(t)){if(t.length===0)return"[]";var v=Oi(t,f);return s&&!HP(v)?"["+Ru(v,s)+"]":"[ "+gt.call(v,", ")+" ]"}if(IP(t)){var y=Oi(t,f);return!("cause"in Error.prototype)&&"cause"in t&&!Mh.call(t,"cause")?"{ ["+String(t)+"] "+gt.call(If.call("[cause]: "+f(t.cause),y),", ")+" }":y.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+gt.call(y,", ")+" }"}if(typeof t=="object"&&o){if(Nf&&typeof t[Nf]=="function"&&Lu)return Lu(t,{depth:d-r});if(o!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(DP(t)){var w=[];return Of&&Of.call(t,function($,C){w.push(f(C,t,!0)+" => "+f($,t))}),Df("Map",sa.call(t),w,s)}if(BP(t)){var O=[];return Pf&&Pf.call(t,function($){O.push(f($,t))}),Df("Set",ca.call(t),O,s)}if($P(t))return ko("WeakMap");if(FP(t))return ko("WeakSet");if(jP(t))return ko("WeakRef");if(LP(t))return Ir(f(Number(t)));if(RP(t))return Ir(f(Iu.call(t)));if(kP(t))return Ir(bP.call(t));if(CP(t))return Ir(f(String(t)));if(t===Q)return typeof window<"u"?"{ [object Window] }":"{ [object global] }";if(!TP(t)&&!Mf(t)){var S=Oi(t,f),E=Lf?Lf(t)===Object.prototype:t instanceof Object||t.constructor===Object,P=t instanceof Object?"":"null prototype",A=!E&&ze&&Object(t)===t&&ze in t?ns.call(ln(t),8,-1):P?"Object":"",L=E||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",N=L+(A||P?"["+gt.call(If.call([],A||[],P||[]),": ")+"] ":"");return S.length===0?N+"{}":s?N+"{"+Ru(S,s)+"}":N+"{ "+gt.call(S,", ")+" }"}return String(t)};function Dh(e,t,n){var r=(n.quoteStyle||t)==="double"?'"':"'";return r+e+r}function AP(e){return Xt.call(String(e),/"/g,"&quot;")}function ku(e){return ln(e)==="[object Array]"&&(!ze||!(typeof e=="object"&&ze in e))}function TP(e){return ln(e)==="[object Date]"&&(!ze||!(typeof e=="object"&&ze in e))}function Mf(e){return ln(e)==="[object RegExp]"&&(!ze||!(typeof e=="object"&&ze in e))}function IP(e){return ln(e)==="[object Error]"&&(!ze||!(typeof e=="object"&&ze in e))}function CP(e){return ln(e)==="[object String]"&&(!ze||!(typeof e=="object"&&ze in e))}function LP(e){return ln(e)==="[object Number]"&&(!ze||!(typeof e=="object"&&ze in e))}function kP(e){return ln(e)==="[object Boolean]"&&(!ze||!(typeof e=="object"&&ze in e))}function $h(e){if(lr)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!Cu)return!1;try{return Cu.call(e),!0}catch{}return!1}function RP(e){if(!e||typeof e!="object"||!Iu)return!1;try{return Iu.call(e),!0}catch{}return!1}var NP=Object.prototype.hasOwnProperty||function(e){return e in this};function Wt(e,t){return NP.call(e,t)}function ln(e){return _P.call(e)}function MP(e){if(e.name)return e.name;var t=EP.call(wP.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function jh(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function DP(e){if(!sa||!e||typeof e!="object")return!1;try{sa.call(e);try{ca.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function $P(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 jP(e){if(!Af||!e||typeof e!="object")return!1;try{return Af.call(e),!0}catch{}return!1}function BP(e){if(!ca||!e||typeof e!="object")return!1;try{ca.call(e);try{sa.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function FP(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 UP(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function Bh(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return Bh(ns.call(e,0,t.maxStringLength),t)+r}var i=Xt.call(Xt.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,xP);return Dh(i,"single",t)}function xP(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+SP.call(t.toString(16))}function Ir(e){return"Object("+e+")"}function ko(e){return e+" { ? }"}function Df(e,t,n,r){var i=r?Ru(n,r):gt.call(n,", ");return e+" ("+t+") {"+i+"}"}function HP(e){for(var t=0;t<e.length;t++)if(jh(e[t],`
771
- `)>=0)return!1;return!0}function KP(e,t){var n;if(e.indent===" ")n=" ";else if(typeof e.indent=="number"&&e.indent>0)n=gt.call(Array(e.indent+1)," ");else return null;return{base:n,prev:gt.call(Array(t+1),n)}}function Ru(e,t){if(e.length===0)return"";var n=`
772
- `+t.prev+t.base;return n+gt.call(e,","+n)+`
773
- `+t.prev}function Oi(e,t){var n=ku(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=Wt(e,i)?t(e[i],e):""}var a=typeof Lo=="function"?Lo(e):[],o;if(lr){o={};for(var u=0;u<a.length;u++)o["$"+a[u]]=a[u]}for(var l in e)Wt(e,l)&&(n&&String(Number(l))===l&&l<e.length||lr&&o["$"+l]instanceof Symbol||(Nh.call(/[^\w$]/,l)?r.push(t(l,e)+": "+t(e[l],e)):r.push(l+": "+t(e[l],e))));if(typeof Lo=="function")for(var c=0;c<a.length;c++)Mh.call(e,a[c])&&r.push("["+t(a[c])+"]: "+t(e[a[c]],e));return r}var rs=Zl,Er=dP,zP=PP,WP=rs("%TypeError%"),Pi=rs("%WeakMap%",!0),Ai=rs("%Map%",!0),qP=Er("WeakMap.prototype.get",!0),GP=Er("WeakMap.prototype.set",!0),VP=Er("WeakMap.prototype.has",!0),YP=Er("Map.prototype.get",!0),XP=Er("Map.prototype.set",!0),QP=Er("Map.prototype.has",!0),is=function(e,t){for(var n=e,r;(r=n.next)!==null;n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r},JP=function(e,t){var n=is(e,t);return n&&n.value},ZP=function(e,t,n){var r=is(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}},e5=function(e,t){return!!is(e,t)},t5=function(){var t,n,r,i={assert:function(a){if(!i.has(a))throw new WP("Side channel does not contain "+zP(a))},get:function(a){if(Pi&&a&&(typeof a=="object"||typeof a=="function")){if(t)return qP(t,a)}else if(Ai){if(n)return YP(n,a)}else if(r)return JP(r,a)},has:function(a){if(Pi&&a&&(typeof a=="object"||typeof a=="function")){if(t)return VP(t,a)}else if(Ai){if(n)return QP(n,a)}else if(r)return e5(r,a);return!1},set:function(a,o){Pi&&a&&(typeof a=="object"||typeof a=="function")?(t||(t=new Pi),GP(t,a,o)):Ai?(n||(n=new Ai),XP(n,a,o)):(r||(r={key:{},next:null}),ZP(r,a,o))}};return i},n5=String.prototype.replace,r5=/%20/g,Ro={RFC1738:"RFC1738",RFC3986:"RFC3986"},as={default:Ro.RFC3986,formatters:{RFC1738:function(e){return n5.call(e,r5,"+")},RFC3986:function(e){return String(e)}},RFC1738:Ro.RFC1738,RFC3986:Ro.RFC3986},i5=as,No=Object.prototype.hasOwnProperty,vn=Array.isArray,yt=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),a5=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}}},Fh=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},o5=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)||!No.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=Fh(t,r)),vn(t)&&vn(n)?(n.forEach(function(a,o){if(No.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 No.call(a,o)?a[o]=e(a[o],u,r):a[o]=u,a},i)},u5=function(t,n){return Object.keys(n).reduce(function(r,i){return r[i]=n[i],r},t)},l5=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}},s5=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(d){return"%26%23"+parseInt(d.slice(2),16)+"%3B"});for(var u="",l=0;l<o.length;++l){var c=o.charCodeAt(l);if(c===45||c===46||c===95||c===126||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||a===i5.RFC1738&&(c===40||c===41)){u+=o.charAt(l);continue}if(c<128){u=u+yt[c];continue}if(c<2048){u=u+(yt[192|c>>6]+yt[128|c&63]);continue}if(c<55296||c>=57344){u=u+(yt[224|c>>12]+yt[128|c>>6&63]+yt[128|c&63]);continue}l+=1,c=65536+((c&1023)<<10|o.charCodeAt(l)&1023),u+=yt[240|c>>18]+yt[128|c>>12&63]+yt[128|c>>6&63]+yt[128|c&63]}return u},c5=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),l=0;l<u.length;++l){var c=u[l],d=o[c];typeof d=="object"&&d!==null&&r.indexOf(d)===-1&&(n.push({obj:o,prop:c}),r.push(d))}return a5(n),t},f5=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},d5=function(t){return!t||typeof t!="object"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},p5=function(t,n){return[].concat(t,n)},v5=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)},Uh={arrayToObject:Fh,assign:u5,combine:p5,compact:c5,decode:l5,encode:s5,isBuffer:d5,isRegExp:f5,maybeMap:v5,merge:o5},xh=t5,Fi=Uh,Ur=as,h5=Object.prototype.hasOwnProperty,$f={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,n){return t+"["+n+"]"},repeat:function(t){return t}},At=Array.isArray,m5=Array.prototype.push,Hh=function(e,t){m5.apply(e,At(t)?t:[t])},y5=Date.prototype.toISOString,jf=Ur.default,xe={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:Fi.encode,encodeValuesOnly:!1,format:jf,formatter:Ur.formatters[jf],indices:!1,serializeDate:function(t){return y5.call(t)},skipNulls:!1,strictNullHandling:!1},g5=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},Mo={},b5=function e(t,n,r,i,a,o,u,l,c,d,s,f,p,g,h,_){for(var b=t,m=_,v=0,y=!1;(m=m.get(Mo))!==void 0&&!y;){var w=m.get(t);if(v+=1,typeof w<"u"){if(w===v)throw new RangeError("Cyclic object value");y=!0}typeof m.get(Mo)>"u"&&(v=0)}if(typeof l=="function"?b=l(n,b):b instanceof Date?b=s(b):r==="comma"&&At(b)&&(b=Fi.maybeMap(b,function(k){return k instanceof Date?s(k):k})),b===null){if(a)return u&&!g?u(n,xe.encoder,h,"key",f):n;b=""}if(g5(b)||Fi.isBuffer(b)){if(u){var O=g?n:u(n,xe.encoder,h,"key",f);return[p(O)+"="+p(u(b,xe.encoder,h,"value",f))]}return[p(n)+"="+p(String(b))]}var S=[];if(typeof b>"u")return S;var E;if(r==="comma"&&At(b))g&&u&&(b=Fi.maybeMap(b,u)),E=[{value:b.length>0?b.join(",")||null:void 0}];else if(At(l))E=l;else{var P=Object.keys(b);E=c?P.sort(c):P}for(var A=i&&At(b)&&b.length===1?n+"[]":n,L=0;L<E.length;++L){var N=E[L],$=typeof N=="object"&&typeof N.value<"u"?N.value:b[N];if(!(o&&$===null)){var C=At(b)?typeof r=="function"?r(A,N):A:A+(d?"."+N:"["+N+"]");_.set(t,v);var I=xh();I.set(Mo,_),Hh(S,e($,C,r,i,a,o,r==="comma"&&g&&At(b)?null:u,l,c,d,s,f,p,g,h,I))}}return S},_5=function(t){if(!t)return xe;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||xe.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(!h5.call(Ur.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var i=Ur.formatters[r],a=xe.filter;return(typeof t.filter=="function"||At(t.filter))&&(a=t.filter),{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:xe.addQueryPrefix,allowDots:typeof t.allowDots>"u"?xe.allowDots:!!t.allowDots,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:xe.charsetSentinel,delimiter:typeof t.delimiter>"u"?xe.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:xe.encode,encoder:typeof t.encoder=="function"?t.encoder:xe.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:xe.encodeValuesOnly,filter:a,format:r,formatter:i,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:xe.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:xe.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:xe.strictNullHandling}},w5=function(e,t){var n=e,r=_5(t),i,a;typeof r.filter=="function"?(a=r.filter,n=a("",n)):At(r.filter)&&(a=r.filter,i=a);var o=[];if(typeof n!="object"||n===null)return"";var u;t&&t.arrayFormat in $f?u=t.arrayFormat:t&&"indices"in t?u=t.indices?"indices":"repeat":u="indices";var l=$f[u];if(t&&"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var c=l==="comma"&&t&&t.commaRoundTrip;i||(i=Object.keys(n)),r.sort&&i.sort(r.sort);for(var d=xh(),s=0;s<i.length;++s){var f=i[s];r.skipNulls&&n[f]===null||Hh(o,b5(n[f],f,l,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,d))}var p=o.join(r.delimiter),g=r.addQueryPrefix===!0?"?":"";return r.charsetSentinel&&(r.charset==="iso-8859-1"?g+="utf8=%26%2310003%3B&":g+="utf8=%E2%9C%93&"),p.length>0?g+p:""},sr=Uh,Nu=Object.prototype.hasOwnProperty,E5=Array.isArray,Me={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:sr.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},S5=function(e){return e.replace(/&#(\d+);/g,function(t,n){return String.fromCharCode(parseInt(n,10))})},Kh=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},O5="utf8=%26%2310003%3B",P5="utf8=%E2%9C%93",A5=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,l,c=n.charset;if(n.charsetSentinel)for(l=0;l<o.length;++l)o[l].indexOf("utf8=")===0&&(o[l]===P5?c="utf-8":o[l]===O5&&(c="iso-8859-1"),u=l,l=o.length);for(l=0;l<o.length;++l)if(l!==u){var d=o[l],s=d.indexOf("]="),f=s===-1?d.indexOf("="):s+1,p,g;f===-1?(p=n.decoder(d,Me.decoder,c,"key"),g=n.strictNullHandling?null:""):(p=n.decoder(d.slice(0,f),Me.decoder,c,"key"),g=sr.maybeMap(Kh(d.slice(f+1),n),function(h){return n.decoder(h,Me.decoder,c,"value")})),g&&n.interpretNumericEntities&&c==="iso-8859-1"&&(g=S5(g)),d.indexOf("[]=")>-1&&(g=E5(g)?[g]:g),Nu.call(r,p)?r[p]=sr.combine(r[p],g):r[p]=g}return r},T5=function(e,t,n,r){for(var i=r?t:Kh(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 l=u.charAt(0)==="["&&u.charAt(u.length-1)==="]"?u.slice(1,-1):u,c=parseInt(l,10);!n.parseArrays&&l===""?o={0:i}:!isNaN(c)&&u!==l&&String(c)===l&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(o=[],o[c]=i):l!=="__proto__"&&(o[l]=i)}i=o}return i},I5=function(t,n,r,i){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,o=/(\[[^[\]]*])/,u=/(\[[^[\]]*])/g,l=r.depth>0&&o.exec(a),c=l?a.slice(0,l.index):a,d=[];if(c){if(!r.plainObjects&&Nu.call(Object.prototype,c)&&!r.allowPrototypes)return;d.push(c)}for(var s=0;r.depth>0&&(l=u.exec(a))!==null&&s<r.depth;){if(s+=1,!r.plainObjects&&Nu.call(Object.prototype,l[1].slice(1,-1))&&!r.allowPrototypes)return;d.push(l[1])}return l&&d.push("["+a.slice(l.index)+"]"),T5(d,n,r,i)}},C5=function(t){if(!t)return Me;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"?Me.charset:t.charset;return{allowDots:typeof t.allowDots>"u"?Me.allowDots:!!t.allowDots,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:Me.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:Me.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:Me.arrayLimit,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Me.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:Me.comma,decoder:typeof t.decoder=="function"?t.decoder:Me.decoder,delimiter:typeof t.delimiter=="string"||sr.isRegExp(t.delimiter)?t.delimiter:Me.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:Me.depth,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:Me.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:Me.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:Me.plainObjects,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Me.strictNullHandling}},L5=function(e,t){var n=C5(t);if(e===""||e===null||typeof e>"u")return n.plainObjects?Object.create(null):{};for(var r=typeof e=="string"?A5(e,n):e,i=n.plainObjects?Object.create(null):{},a=Object.keys(r),o=0;o<a.length;++o){var u=a[o],l=I5(u,r[u],n,typeof e=="string");i=sr.merge(i,l,n)}return n.allowSparse===!0?i:sr.compact(i)},k5=w5,R5=L5,N5=as,M5={formats:N5,parse:R5,stringify:k5};const D5=fr(M5);var os={exports:{}};class zh extends Error{constructor(){super("Throttled function aborted"),this.name="AbortError"}}const $5=({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 d=Date.now();return d-i>t?(a=1,i=d,0):(a<e?a++:(i+=t,a=1),i-d)}const u=[];function l(){const d=Date.now();if(u.length<e)return u.push(d),0;const s=u.shift()+t;return d>=s?(u.push(d),0):(u.push(s),s-d)}const c=n?l:o;return d=>{const s=function(...f){if(!s.isEnabled)return(async()=>d.apply(this,f))();let p;return new Promise((g,h)=>{p=setTimeout(()=>{g(d.apply(this,f)),r.delete(p)},c()),r.set(p,h)})};return s.abort=()=>{for(const f of r.keys())clearTimeout(f),r.get(f)(new zh);r.clear(),u.splice(0,u.length)},s.isEnabled=!0,s}};os.exports=$5;os.exports.AbortError=zh;var j5=os.exports;const B5=fr(j5);function F5(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,a,o,u=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(d){c=!0,i=d}finally{try{if(!l&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return u}}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 Kn(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){U5(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 Mu(e){"@babel/helpers - typeof";return Mu=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},Mu(e)}function Du(){Du=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)),fa(u,n.prototype)}function r(i,a){var o=t.get(a);return Object.keys(o).reduce(function(u,l){var c=o[l];if(typeof c=="number")u[l]=i[c];else{for(var d=0;i[c[d]]===void 0&&d+1<c.length;)d++;u[l]=i[c[d]]}return u},Object.create(null))}return x5(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(l,c){var d=o[c];return"$"+(Array.isArray(d)?d.join("$"):d)}))}if(typeof a=="function"){var u=this;return e[Symbol.replace].call(this,i,function(){var l=arguments;return typeof l[l.length-1]!="object"&&(l=[].slice.call(l)).push(r(l,u)),a.apply(this,l)})}return e[Symbol.replace].call(this,i,a)},Du.apply(this,arguments)}function U5(e,t,n){return t=G5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function x5(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&&fa(e,t)}function fa(e,t){return fa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},fa(e,t)}function H5(e,t){return K5(e)||F5(e,t)||Wh(e,t)||z5()}function K5(e){if(Array.isArray(e))return e}function Wh(e,t){if(e){if(typeof e=="string")return Ff(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 Ff(e,t)}}function Ff(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 z5(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
774
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function W5(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Wh(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(l){throw l},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
775
- 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 l=n.next();return a=l.done,l},e:function(l){o=!0,u=l},f:function(){try{!a&&n.return!=null&&n.return()}finally{if(o)throw u}}}}function q5(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function G5(e){var t=q5(e,"string");return typeof t=="symbol"?t:String(t)}function V5(){return typeof process<"u"&&!process.browser}function Y5(){return typeof window<"u"&&"navigator"in window&&"product"in window.navigator&&window.navigator.product==="ReactNative"}function X5(){return process.versions&&process.versions.node?"v".concat(process.versions.node):process.version}function Q5(){return window}function $u(){}var ju=Du(/(\d+)(%)/,{value:1});function Do(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:7,n=t;if(ju.test(e)){var r,i=(r=e.match(ju))===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 Uf(e,t){return t("info","Throttle request to ".concat(e,"/s")),B5({limit:e,interval:1e3,strict:!1})}var J5=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"auto",n=e.defaults.logHandler,r=n===void 0?$u:n,i=cs(t)?Do(t):Do("auto",t),a=Uf(i,r),o=!1,u=e.interceptors.request.use(function(c){return a(function(){return c})()},function(c){return Promise.reject(c)}),l=e.interceptors.response.use(function(c){if(!o&&cs(t)&&(t==="auto"||ju.test(t))&&c.headers&&c.headers["x-contentful-ratelimit-second-limit"]){var d=parseInt(c.headers["x-contentful-ratelimit-second-limit"]),s=Do(t,d);s!==i&&(u&&e.interceptors.request.eject(u),i=s,a=Uf(s,r),u=e.interceptors.request.use(function(f){return a(function(){return f})()},function(f){return Promise.reject(f)})),o=!0}return c},function(c){return Promise.reject(c)});return function(){e.interceptors.request.eject(u),e.interceptors.response.eject(l)}},Z5=function(t){return new Promise(function(n){setTimeout(n,t)})},eA=function(t){return Math.pow(Math.SQRT2,t)};function tA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,n=e.defaults,r=n.responseLogger,i=r===void 0?$u:r,a=n.requestLogger,o=a===void 0?$u: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 l=u.response,c=u.config;if(i(u),!c||!e.defaults.retryOnError)return Promise.reject(u);var d=c.attempts||1;if(d>t)return u.attempts=c.attempts,Promise.reject(u);var s=null,f=eA(d);return l?l.status>=500&&l.status<600?s="Server ".concat(l.status):l.status===429&&(s="Rate limit",l.headers&&u.response.headers["x-contentful-ratelimit-reset"]&&(f=l.headers["x-contentful-ratelimit-reset"])):s="Connection",s?(f=Math.floor(f*1e3+Math.random()*200+500),e.defaults.logHandler("warning","".concat(s," error occurred. Waiting for ").concat(f," ms before retrying...")),c.attempts=d+1,delete c.httpAgent,delete c.httpsAgent,Z5(f).then(function(){return e(c)})):Promise.reject(u)})}function nA(e,t){e.interceptors.request.use(function(n){return t().then(function(r){return n.headers=Kn(Kn({},n.headers),{},{Authorization:"Bearer ".concat(r)}),n})})}var rA=/^(?!\w+:\/\/)([^\s:]+\.?[^\s:]+)(?::(\d+))?(?!:)$/;function qh(e,t){var n={insecure:!1,retryOnError:!0,logHandler:function(h,_){if(h==="error"&&_){var b=[_.name,_.message].filter(function(m){return m}).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=Kn(Kn({},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,l=r.insecure?80:443;if(r.host&&rA.test(r.host)){var c=r.host.split(":");if(c.length===2){var d=H5(c,2);u=d[0],l=d[1]}else u=c[0]}r.basePath&&(r.basePath="/".concat(r.basePath.split("/").filter(Boolean).join("/")));var s=t.baseURL||"".concat(a,"://").concat(u,":").concat(l).concat(r.basePath,"/spaces/").concat(o);!r.headers.Authorization&&typeof r.accessToken!="function"&&(r.headers.Authorization="Bearer "+r.accessToken);var f={baseURL:s,headers:r.headers,httpAgent:r.httpAgent,httpsAgent:r.httpsAgent,paramsSerializer:D5.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(f);return p.httpClientParams=t,p.cloneWithNewParams=function(g){return qh(e,Kn(Kn({},ke(t)),g))},r.onBeforeRequest&&p.interceptors.request.use(r.onBeforeRequest),typeof r.accessToken=="function"&&nA(p,r.accessToken),r.throttle&&J5(p,r.throttle),tA(p,r.retryLimit),r.onError&&p.interceptors.response.use(function(g){return g},r.onError),p}function dn(e){var t=e.query,n={};return delete t.resolveLinks,n.params=ke(t),n}function Gh(e){var t=Object.getOwnPropertyNames(e),n=W5(t),r;try{for(n.s();!(r=n.n()).done;){var i=r.value,a=e[i];a&&Mu(a)==="object"&&Gh(a)}}catch(o){n.e(o)}finally{n.f()}return Object.freeze(e)}function it(e){return Gh(e.sys||{}),e}function xf(){var e=Q5();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 iA(){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 aA(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{Y5()?(a=xf(),i.push("platform ReactNative")):V5()?(a=iA(),i.push("platform node.js/".concat(X5()))):(a=xf(),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 ke(this)}})}function ct(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(!fi(n)||!fi(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:{}};fi(t)&&(o.request={url:t.url,headers:t.headers,method:t.method,payloadData:t.data}),a&&fi(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 l;u.message=(l=o==null?void 0:o.message)!==null&&l!==void 0?l:""}throw u}function oA(e){return it(Ve(e))}const uA=Object.freeze(Object.defineProperty({__proto__:null,wrapSpace:oA},Symbol.toStringTag,{value:"Module"}));var Bu={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(l,c){return o[0]===c?"[Circular ~]":"[Circular ~."+u.slice(0,o.indexOf(c)).join(".")+"]"}),function(l,c){if(o.length>0){var d=o.indexOf(this);~d?o.splice(d+1):o.push(this),~d?u.splice(d,1/0,l):u.push(l),~o.indexOf(c)&&(c=a.call(this,l,c))}else o.push(c);return i==null?c:i.call(this,l,c)}}})(Bu,Bu.exports);var lA=Bu.exports;const sA=fr(lA);function Vh(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 sA(this,t,n,(r,i)=>({sys:{type:"Link",linkType:"Entry",id:i.sys.id,circular:!0}}))}})}var cA=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},fA=function(){function e(t,n){var r=[],i=!0,a=!1,o=void 0;try{for(var u=t[Symbol.iterator](),l;!(i=(l=u.next()).done)&&(r.push(l.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 Cr(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 Zr={},dA=function(t){return t&&t.sys&&t.sys.type==="Link"},pA=function(t){return t&&t.sys&&t.sys.type==="ResourceLink"},vA=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]},Hf=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)},hA=function(t){var n=/.*:spaces\/([^/]+)(?:\/environments\/([^/]+))?\/entries\/([^/]+)$/;if(n.test(t)){var r=t.match(n),i=fA(r,4);i[0];var a=i[1],o=i[2],u=o===void 0?"master":o,l=i[3];return{spaceId:a,environmentId:u,entryId:l}}},mA=function(t,n){var r=n.sys,i=r.type,a=r.linkType;if(i==="ResourceLink"){var o=n.sys.urn,u=hA(o),l=u.spaceId,c=u.environmentId,d=u.entryId,s=a.split(":")[1];return Hf(t,{linkType:s,entryId:d,spaceId:l,environmentId:c})||Zr}var f=n.sys.id;return Hf(t,{linkType:a,entryId:f})||Zr},yA=function(t){if(Array.isArray(t))return t.filter(function(r){return r!==Zr});for(var n in t)t[n]===Zr&&delete t[n];return t},gA=function e(t,n,r,i){if(n(t))return r(t);if(t&&(typeof t>"u"?"undefined":cA(t))==="object"){for(var a in t)t.hasOwnProperty(a)&&(t[a]=e(t[a],n,r,i));i&&(t=yA(t))}return t},bA=function(t,n,r){var i=mA(t,n);return i===Zr?r?i:n:i},_A=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},{})},Yh=function(t,n){if(n=n||{},!t.items)return[];var r=ke(t),i=Object.keys(r.includes||{}).reduce(function(u,l){return[].concat(Cr(u),Cr(t.includes[l]))},[]),a=[].concat(Cr(r.items),Cr(i)).filter(function(u){return!!u.sys}),o=new Map(a.reduce(function(u,l){var c=vA(l.sys).map(function(d){return[d,l]});return u.push.apply(u,Cr(c)),u},[]));return a.forEach(function(u){var l=_A(u,n.itemEntryPoints);Object.assign(u,gA(l,function(c){return dA(c)||pA(c)},function(c){return bA(o,c,n.removeUnresolved)},n.removeUnresolved))}),r.items};function wA(e){return it(Ve(ke(e)))}function EA(e,t){let{resolveLinks:n,removeUnresolved:r}=t;const i=Vh(Ve(ke(e)));return n&&(i.items=Yh(i,{removeUnresolved:r,itemEntryPoints:["fields"]})),it(i)}const SA=Object.freeze(Object.defineProperty({__proto__:null,wrapEntry:wA,wrapEntryCollection:EA},Symbol.toStringTag,{value:"Module"}));function OA(e){return it(Ve(ke(e)))}function PA(e){return it(Ve(ke(e)))}const AA=Object.freeze(Object.defineProperty({__proto__:null,wrapAsset:OA,wrapAssetCollection:PA},Symbol.toStringTag,{value:"Module"}));function TA(e){return it(Ve(ke(e)))}const IA=Object.freeze(Object.defineProperty({__proto__:null,wrapAssetKey:TA},Symbol.toStringTag,{value:"Module"}));function CA(e){return it(Ve(ke(e)))}function LA(e){return it(Ve(ke(e)))}const kA=Object.freeze(Object.defineProperty({__proto__:null,wrapContentType:CA,wrapContentTypeCollection:LA},Symbol.toStringTag,{value:"Module"}));function RA(e){return it(Ve(ke(e)))}function NA(e){return it(Ve(ke(e)))}const MA=Object.freeze(Object.defineProperty({__proto__:null,wrapLocale:RA,wrapLocaleCollection:NA},Symbol.toStringTag,{value:"Module"}));function DA(e){return it(Ve(ke(e)))}function $A(e){return it(Ve(ke(e)))}const jA=Object.freeze(Object.defineProperty({__proto__:null,wrapTag:DA,wrapTagCollection:$A},Symbol.toStringTag,{value:"Module"})),cn={space:uA,entry:SA,asset:AA,assetKey:IA,contentType:kA,locale:MA,tag:jA};function Kf(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 zf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Kf(Object(n),!0).forEach(function(r){BA(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function BA(e,t,n){return t=FA(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function FA(e){var t=UA(e,"string");return typeof t=="symbol"?t:String(t)}function UA(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 xA(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}=zf(zf({},r),n),l=await Xh(e,[],t,{paginate:o});i&&(l.items=Yh(l,{removeUnresolved:a,itemEntryPoints:["fields"]}));const c=HA(l.items);return l.nextSyncToken&&(c.nextSyncToken=l.nextSyncToken),l.nextPageToken&&(c.nextPageToken=l.nextPageToken),it(Vh(Ve(c)))}function HA(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 Xh(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",dn({query:n}))).data||{};return t=t.concat(o.items||[]),o.nextPageUrl?i?(delete n.initial,n.sync_token=$o(o.nextPageUrl),Xh(e,t,n,{paginate:i})):{items:t,nextPageToken:$o(o.nextPageUrl)}:o.nextSyncUrl?{items:t,nextSyncToken:$o(o.nextSyncUrl)}:{items:[]}}function $o(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 qf(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){KA(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 KA(e,t,n){return t=zA(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zA(e){var t=WA(e,"string");return typeof t=="symbol"?t:String(t)}function WA(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 Ti(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"),qf(qf({},e),{},{select:[...n].join(",")}))}class jo extends Error{constructor(t,n){super(`Invalid "${t}" provided, `+n),this.name="ValidationError"}}function qA(e,t,n){if(n=n||{},typeof t!="number")throw new jo(e,`only numeric values are allowed for timestamps, provided type was "${typeof t}"`);if(n.maximum&&t>n.maximum)throw new jo(e,`value (${t}) cannot be further in the future than expected maximum (${n.maximum})`);if(n.now&&t<n.now)throw new jo(e,`value (${t}) cannot be in the past, current time was ${n.now}`)}function Gf(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 Vf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Gf(Object(n),!0).forEach(function(r){GA(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function GA(e,t,n){return t=VA(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function VA(e){var t=YA(e,"string");return typeof t=="symbol"?t:String(t)}function YA(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 XA=48*60*60;function QA(e){let{http:t,getGlobalOptions:n}=e;const{wrapSpace:r}=cn.space,{wrapContentType:i,wrapContentTypeCollection:a}=cn.contentType,{wrapEntry:o,wrapEntryCollection:u}=cn.entry,{wrapAsset:l,wrapAssetCollection:c}=cn.asset,{wrapTag:d,wrapTagCollection:s}=cn.tag,{wrapAssetKey:f}=cn.assetKey,{wrapLocaleCollection:p}=cn.locale,g=C=>{const I=new Error("The resource could not be found.");return I.sys={type:"Error",id:"NotFound"},I.details={type:"Entry",id:C,environment:n().environment,space:n().space},I};async function h(){$(t);try{const C=await t.get("/");return r(C.data)}catch(C){ct(C)}}async function _(C){N(t);try{const I=await t.get(`content_types/${C}`);return i(I.data)}catch(I){ct(I)}}async function b(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};N(t);try{const I=await t.get("content_types",dn({query:C}));return a(I.data)}catch(I){ct(I)}}async function m(C){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!C)throw g(C);try{const k=await this.getEntries(Vf({"sys.id":C},I));if(k.items.length>0)return o(k.items[0]);throw g(C)}catch(k){ct(k)}}async function v(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};N(t);const{resolveLinks:I,removeUnresolved:k}=n(C);C=Ti(C);try{const D=await t.get("entries",dn({query:C}));return u(D.data,{resolveLinks:I,removeUnresolved:k})}catch(D){ct(D)}}async function y(C){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};N(t),I=Ti(I);try{const k=await t.get(`assets/${C}`,dn({query:I}));return l(k.data)}catch(k){ct(k)}}async function w(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};N(t),C=Ti(C);try{const I=await t.get("assets",dn({query:C}));return c(I.data)}catch(I){ct(I)}}async function O(C){N(t);try{const I=await t.get(`tags/${C}`);return d(I.data)}catch(I){ct(I)}}async function S(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};N(t),C=Ti(C);try{const I=await t.get("tags",dn({query:C}));return s(I.data)}catch(I){ct(I)}}async function E(C){N(t);try{const I=Math.floor(Date.now()/1e3),k=I+XA;qA("expiresAt",C,{maximum:k,now:I});const D={expiresAt:C},j=await t.post("asset_keys",D);return f(j.data)}catch(I){ct(I)}}async function P(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};N(t);try{const I=await t.get("locales",dn({query:C}));return p(I.data)}catch(I){ct(I)}}async function A(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{paginate:!0};const{resolveLinks:k,removeUnresolved:D}=n(C);return N(t),xA(t,C,Vf({resolveLinks:k,removeUnresolved:D},I))}function L(C){const{resolveLinks:I,removeUnresolved:k}=n({});return u(C,{resolveLinks:I,removeUnresolved:k})}function N(C){C.defaults.baseURL=n().environmentBaseUrl}function $(C){C.defaults.baseURL=n().spaceBaseUrl}return{getSpace:h,getContentType:_,getContentTypes:b,getEntry:m,getEntries:v,getAsset:y,getAssets:w,getTag:O,getTags:S,createAssetKey:E,getLocales:P,parseEntries:L,sync:A}}function JA(e){return function(n){return Object.assign({},e,n)}}function Yf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ii(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Yf(Object(n),!0).forEach(function(r){ZA(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ZA(e,t,n){return t=eT(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eT(e){var t=tT(e,"string");return typeof t=="symbol"?t:String(t)}function tT(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function bI(e){if(!e.accessToken)throw new TypeError("Expected parameter accessToken");if(!e.space)throw new TypeError("Expected parameter space");const n=Ii(Ii({},{resolveLinks:!0,removeUnresolved:!1,defaultHostname:"cdn.contentful.com",environment:"master"}),e),r=aA("contentful.js/9.3.5",n.application,n.integration);n.headers=Ii(Ii({},n.headers),{},{"Content-Type":"application/vnd.contentful.delivery.v1+json","X-Contentful-User-Agent":r});const i=qh(O2,n),a=JA({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,QA({http:i,getGlobalOptions:a})}var nT={},Ze={};Object.defineProperty(Ze,"__esModule",{value:!0});Ze.AnonymousSelectKey=Ze.Select=Ze.Not=Ze.Guard=Ze.PatternKind=void 0;Ze.PatternKind=Symbol("@ts-pattern/pattern-kind");Ze.Guard=Symbol("@ts-pattern/guard");Ze.Not=Symbol("@ts-pattern/not");Ze.Select=Symbol("@ts-pattern/select");Ze.AnonymousSelectKey="@ts-pattern/__anonymous-select-key";var us={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.instanceOf=e.select=e.not=e.when=void 0;const t=Ze,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 l=>l instanceof u}const o=u=>(0,e.when)(a(u));e.instanceOf=o})(us);var ja={};Object.defineProperty(ja,"__esModule",{value:!0});ja.__=void 0;const Sr=us;function rT(e){return!0}function iT(e){return typeof e=="number"}function aT(e){return Number.isNaN(e)}function oT(e){return typeof e=="string"}function uT(e){return typeof e=="boolean"}function lT(e){return e==null}const sT=(0,Sr.when)(rT),cT=(0,Sr.when)(oT),fT=(0,Sr.when)(iT),dT=(0,Sr.when)(aT),pT=(0,Sr.when)(uT),vT=(0,Sr.when)(lT);ja.__=Object.assign(sT,{string:cT,number:fT,NaN:dT,boolean:pT,nullish:vT});(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=Ze,n=us;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=ja;Object.defineProperty(e,"__",{enumerable:!0,get:function(){return r.__}});const i=f=>a(f,[]);e.match=i;const a=(f,p)=>{const g=()=>{const h=p.find(({test:_})=>_(f));if(!h){let _;try{_=JSON.stringify(f)}catch{_=f}throw new Error(`Pattern matching error: no pattern matches value ${_}`)}return h.handler(h.select(f),f)};return{with(...h){const _=h[h.length-1],b=[],m=[];for(let w=0;w<h.length-1;w++){const O=h[w];typeof O=="function"?m.push(O):b.push(O)}let v={};const y=w=>!!(b.some(O=>d(O,w,(S,E)=>{v[S]=E}))&&m.every(O=>O(w)));return a(f,p.concat([{test:y,handler:_,select:w=>Object.keys(v).length?t.AnonymousSelectKey in v?v[t.AnonymousSelectKey]:v:w}]))},when:(h,_)=>a(f,p.concat([{test:h,handler:_,select:b=>b}])),otherwise:h=>a(f,p.concat([{test:()=>!0,handler:h,select:_=>_}])).run(),exhaustive:()=>g(),run:g}},o=f=>!!(f&&typeof f=="object"),u=f=>{const p=f;return p&&p[t.PatternKind]===t.Guard},l=f=>{const p=f;return p&&p[t.PatternKind]===t.Not},c=f=>{const p=f;return p&&p[t.PatternKind]===t.Select},d=(f,p,g)=>{if(o(f)){if(u(f))return!!f[t.Guard](p);if(c(f))return g(f[t.Select],p),!0;if(l(f))return!d(f[t.Not],p,g);if(!o(p))return!1;if(Array.isArray(f)){if(!Array.isArray(p))return!1;if(f.length===1){const h={},_=(m,v)=>{h[m]=(h[m]||[]).concat([v])},b=p.every(m=>d(f[0],m,_));return b&&Object.keys(h).forEach(m=>g(m,h[m])),b}return f.length===p.length?f.every((h,_)=>d(h,p[_],g)):!1}if(f instanceof Map)return p instanceof Map?[...f.keys()].every(h=>d(f.get(h),p.get(h),g)):!1;if(f instanceof Set){if(!(p instanceof Set))return!1;if(f.size===0)return p.size===0;if(f.size===1){const[h]=[...f.values()];return Object.values(r.__).includes(h)?d([h],[...p.values()],g):p.has(h)}return[...f.values()].every(h=>p.has(h))}return Object.keys(f).every(h=>h in p&&d(f[h],p[h],g))}return p===f};function s(...f){if(f.length===1){const[p]=f;return g=>d(p,g,()=>{})}if(f.length===2){const[p,g]=f;return d(p,g,()=>{})}throw new Error(`isMatching wasn't given enough arguments: expected 1 or 2, received ${f.length}.`)}e.isMatching=s})(nT);var Qh={exports:{}};(function(e,t){(function(n,r){e.exports=r(Sv)})(Q,function(n){return function(){var r={378:function(u){u.exports=function l(c,d){if(c===d)return!0;if(c&&d&&typeof c=="object"&&typeof d=="object"){if(c.constructor!==d.constructor)return!1;var s,f,p;if(Array.isArray(c)){if((s=c.length)!=d.length)return!1;for(f=s;f--!=0;)if(!l(c[f],d[f]))return!1;return!0}if(c.constructor===RegExp)return c.source===d.source&&c.flags===d.flags;if(c.valueOf!==Object.prototype.valueOf)return c.valueOf()===d.valueOf();if(c.toString!==Object.prototype.toString)return c.toString()===d.toString();if((s=(p=Object.keys(c)).length)!==Object.keys(d).length)return!1;for(f=s;f--!=0;)if(!Object.prototype.hasOwnProperty.call(d,p[f]))return!1;for(f=s;f--!=0;){var g=p[f];if(!l(c[g],d[g]))return!1}return!0}return c!=c&&d!=d}},145:function(u,l,c){c.r(l),l.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,l,c){c.r(l),l.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,l,c){c.r(l),l.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,l,c){c.r(l),l.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,l,c){c.r(l),l.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,l,c){var d=this&&this.__createBinding||(Object.create?function(f,p,g,h){h===void 0&&(h=g);var _=Object.getOwnPropertyDescriptor(p,g);_&&!("get"in _?!p.__esModule:_.writable||_.configurable)||(_={enumerable:!0,get:function(){return p[g]}}),Object.defineProperty(f,h,_)}:function(f,p,g,h){h===void 0&&(h=g),f[h]=p[g]}),s=this&&this.__exportStar||function(f,p){for(var g in f)g==="default"||Object.prototype.hasOwnProperty.call(p,g)||d(p,f,g)};Object.defineProperty(l,"__esModule",{value:!0}),s(c(11),l),s(c(739),l),s(c(860),l)},794:function(u,l,c){var d=this&&this.__assign||function(){return d=Object.assign||function(g){for(var h,_=1,b=arguments.length;_<b;_++)for(var m in h=arguments[_])Object.prototype.hasOwnProperty.call(h,m)&&(g[m]=h[m]);return g},d.apply(this,arguments)},s=this&&this.__importDefault||function(g){return g&&g.__esModule?g:{default:g}};Object.defineProperty(l,"__esModule",{value:!0}),l.InlineStyle=void 0;var f=s(c(156)),p=s(c(52));l.InlineStyle=function(g){var h=g.filename,_=c(367)("./".concat(h,".css")),b=(0,p.default)();return f.default.createElement("style",d({},b?{nonce:b}:{}),_.default)}},11:function(u,l,c){var d=this&&this.__assign||function(){return d=Object.assign||function(b){for(var m,v=1,y=arguments.length;v<y;v++)for(var w in m=arguments[v])Object.prototype.hasOwnProperty.call(m,w)&&(b[w]=m[w]);return b},d.apply(this,arguments)},s=this&&this.__createBinding||(Object.create?function(b,m,v,y){y===void 0&&(y=v);var w=Object.getOwnPropertyDescriptor(m,v);w&&!("get"in w?!m.__esModule:w.writable||w.configurable)||(w={enumerable:!0,get:function(){return m[v]}}),Object.defineProperty(b,y,w)}:function(b,m,v,y){y===void 0&&(y=v),b[y]=m[v]}),f=this&&this.__setModuleDefault||(Object.create?function(b,m){Object.defineProperty(b,"default",{enumerable:!0,value:m})}:function(b,m){b.default=m}),p=this&&this.__importStar||function(b){if(b&&b.__esModule)return b;var m={};if(b!=null)for(var v in b)v!=="default"&&Object.prototype.hasOwnProperty.call(b,v)&&s(m,b,v);return f(m,b),m},g=this&&this.__rest||function(b,m){var v={};for(var y in b)Object.prototype.hasOwnProperty.call(b,y)&&m.indexOf(y)<0&&(v[y]=b[y]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function"){var w=0;for(y=Object.getOwnPropertySymbols(b);w<y.length;w++)m.indexOf(y[w])<0&&Object.prototype.propertyIsEnumerable.call(b,y[w])&&(v[y[w]]=b[y[w]])}return v};Object.defineProperty(l,"__esModule",{value:!0}),l.makeButtonComponent=l.emptyEmbed=void 0;var h=p(c(156)),_=c(794);l.emptyEmbed={unmount:function(){},open:function(){}},l.makeButtonComponent=function(b,m){return h.default.forwardRef(function(v,y){var w=v.id,O=v.children,S=v.as,E=S===void 0?"button":S,P=v.style,A=P===void 0?{}:P,L=v.className,N=L===void 0?"":L,$=v.buttonProps,C=g(v,["id","children","as","style","className","buttonProps"]),I=(0,h.useRef)(l.emptyEmbed),k=y||I;(0,h.useEffect)(function(){return k.current=b(w,C),function(){return k.current.unmount()}},[w,C,k]);var D=(0,h.useMemo)(function(){return function(){return k.current.open()}},[k]),j=h.default.createElement(E,d({style:A,className:N,onClick:D,"data-testid":"tf-v1-".concat(m),children:O},$));return h.default.createElement(h.default.Fragment,null,h.default.createElement(_.InlineStyle,{filename:m}),j)})}},739:function(u,l,c){var d=this&&this.__createBinding||(Object.create?function(b,m,v,y){y===void 0&&(y=v);var w=Object.getOwnPropertyDescriptor(m,v);w&&!("get"in w?!m.__esModule:w.writable||w.configurable)||(w={enumerable:!0,get:function(){return m[v]}}),Object.defineProperty(b,y,w)}:function(b,m,v,y){y===void 0&&(y=v),b[y]=m[v]}),s=this&&this.__setModuleDefault||(Object.create?function(b,m){Object.defineProperty(b,"default",{enumerable:!0,value:m})}:function(b,m){b.default=m}),f=this&&this.__importStar||function(b){if(b&&b.__esModule)return b;var m={};if(b!=null)for(var v in b)v!=="default"&&Object.prototype.hasOwnProperty.call(b,v)&&d(m,b,v);return s(m,b),m},p=this&&this.__rest||function(b,m){var v={};for(var y in b)Object.prototype.hasOwnProperty.call(b,y)&&m.indexOf(y)<0&&(v[y]=b[y]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function"){var w=0;for(y=Object.getOwnPropertySymbols(b);w<y.length;w++)m.indexOf(y[w])<0&&Object.prototype.propertyIsEnumerable.call(b,y[w])&&(v[y[w]]=b[y[w]])}return v};Object.defineProperty(l,"__esModule",{value:!0}),l.makeInitializerComponent=void 0;var g=f(c(156)),h=c(794),_={unmount:function(){}};l.makeInitializerComponent=function(b,m){return g.default.forwardRef(function(v,y){var w=v.id,O=p(v,["id"]),S=(0,g.useRef)(_),E=y||S;return(0,g.useEffect)(function(){return E.current=b(w,O),function(){E.current.unmount()}},[w,O,E]),g.default.createElement(h.InlineStyle,{filename:m})})}},860:function(u,l,c){var d=this&&this.__assign||function(){return d=Object.assign||function(m){for(var v,y=1,w=arguments.length;y<w;y++)for(var O in v=arguments[y])Object.prototype.hasOwnProperty.call(v,O)&&(m[O]=v[O]);return m},d.apply(this,arguments)},s=this&&this.__createBinding||(Object.create?function(m,v,y,w){w===void 0&&(w=y);var O=Object.getOwnPropertyDescriptor(v,y);O&&!("get"in O?!v.__esModule:O.writable||O.configurable)||(O={enumerable:!0,get:function(){return v[y]}}),Object.defineProperty(m,w,O)}:function(m,v,y,w){w===void 0&&(w=y),m[w]=v[y]}),f=this&&this.__setModuleDefault||(Object.create?function(m,v){Object.defineProperty(m,"default",{enumerable:!0,value:v})}:function(m,v){m.default=v}),p=this&&this.__importStar||function(m){if(m&&m.__esModule)return m;var v={};if(m!=null)for(var y in m)y!=="default"&&Object.prototype.hasOwnProperty.call(m,y)&&s(v,m,y);return f(v,m),v},g=this&&this.__rest||function(m,v){var y={};for(var w in m)Object.prototype.hasOwnProperty.call(m,w)&&v.indexOf(w)<0&&(y[w]=m[w]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function"){var O=0;for(w=Object.getOwnPropertySymbols(m);O<w.length;O++)v.indexOf(w[O])<0&&Object.prototype.propertyIsEnumerable.call(m,w[O])&&(y[w[O]]=m[w[O]])}return y};Object.defineProperty(l,"__esModule",{value:!0}),l.Widget=void 0;var h=p(c(156)),_=c(611),b=c(794);l.Widget=function(m){var v=m.id,y=m.style,w=y===void 0?{}:y,O=m.className,S=O===void 0?"":O,E=g(m,["id","style","className"]),P=(0,h.useRef)(null);return(0,h.useEffect)(function(){if(P.current){var A=(0,_.createWidget)(v,d(d({},E),{container:P.current}));return function(){A.unmount()}}},[v,E]),h.default.createElement(h.default.Fragment,null,h.default.createElement(b.InlineStyle,{filename:"widget"}),h.default.createElement("div",{style:w,className:S,ref:P}))}},797:function(u,l,c){var d=this&&this.__createBinding||(Object.create?function(f,p,g,h){h===void 0&&(h=g);var _=Object.getOwnPropertyDescriptor(p,g);_&&!("get"in _?!p.__esModule:_.writable||_.configurable)||(_={enumerable:!0,get:function(){return p[g]}}),Object.defineProperty(f,h,_)}:function(f,p,g,h){h===void 0&&(h=g),f[h]=p[g]}),s=this&&this.__exportStar||function(f,p){for(var g in f)g==="default"||Object.prototype.hasOwnProperty.call(p,g)||d(p,f,g)};Object.defineProperty(l,"__esModule",{value:!0}),s(c(553),l)},553:function(u,l,c){var d=this&&this.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(l,"__esModule",{value:!0}),l.memoComponent=l.propsAreEqual=void 0;var s=c(156),f=d(c(378));l.propsAreEqual=function(p,g){return(0,f.default)(p,g)},l.memoComponent=function(p){return(0,s.memo)(p,l.propsAreEqual)}},52:function(u,l,c){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(){return c.g.__webpack_nonce__!==void 0?c.g.__webpack_nonce__:null}},367:function(u,l,c){var d={"./popover.css":145,"./popup.css":792,"./sidetab.css":838,"./slider.css":630,"./widget.css":684};function s(p){var g=f(p);return c(g)}function f(p){if(!c.o(d,p)){var g=new Error("Cannot find module '"+p+"'");throw g.code="MODULE_NOT_FOUND",g}return d[p]}s.keys=function(){return Object.keys(d)},s.resolve=f,u.exports=s,s.id=367},611:function(u){u.exports=function(){var l={8027:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.DEFAULT_DOMAIN=s.POPUP_SIZE=s.SLIDER_WIDTH=s.SLIDER_POSITION=s.LIVE_EMBED_ATTRIBUTE=s.SIDETAB_ATTRIBUTE=s.WIDGET_ATTRIBUTE=s.SLIDER_ATTRIBUTE=s.POPUP_ATTRIBUTE=s.POPOVER_ATTRIBUTE=void 0,s.POPOVER_ATTRIBUTE="data-tf-popover",s.POPUP_ATTRIBUTE="data-tf-popup",s.SLIDER_ATTRIBUTE="data-tf-slider",s.WIDGET_ATTRIBUTE="data-tf-widget",s.SIDETAB_ATTRIBUTE="data-tf-sidetab",s.LIVE_EMBED_ATTRIBUTE="data-tf-live",s.SLIDER_POSITION="right",s.SLIDER_WIDTH=800,s.POPUP_SIZE=100,s.DEFAULT_DOMAIN="form.typeform.com"},7528:function(d,s,f){var p=this&&this.__assign||function(){return p=Object.assign||function(y){for(var w,O=1,S=arguments.length;O<S;O++)for(var E in w=arguments[O])Object.prototype.hasOwnProperty.call(w,E)&&(y[E]=w[E]);return y},p.apply(this,arguments)},g=this&&this.__rest||function(y,w){var O={};for(var S in y)Object.prototype.hasOwnProperty.call(y,S)&&w.indexOf(S)<0&&(O[S]=y[S]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function"){var E=0;for(S=Object.getOwnPropertySymbols(y);E<S.length;E++)w.indexOf(S[E])<0&&Object.prototype.propertyIsEnumerable.call(y,S[E])&&(O[S[E]]=y[S[E]])}return O};Object.defineProperty(s,"__esModule",{value:!0}),s.createPopover=void 0;var h=f(6797),_=f(1320),b=function(y,w){var O=y.parentNode;O&&(O.removeChild(y),O.appendChild(w))},m=function(y,w){y===void 0&&(y="span"),w===void 0&&(w="tf-v1-popover-button-icon");var O=document.createElement(y);return O.className="".concat(w," tf-v1-close-icon"),O.innerHTML="&times;",O.dataset.testid=w,O},v={buttonColor:"#3a7685"};s.createPopover=function(y,w){w===void 0&&(w={});var O,S,E,P=p(p({},v),w),A=P.domain,L=g(P,["domain"]),N=(0,h.createIframe)("popover",{formId:y,domain:A,options:L}),$=N.iframe,C=N.embedId,I=N.refresh,k=N.focus,D=function(ne,X){var re=document.createElement("div");return re.className="tf-v1-popover",re.dataset.testid="tf-v1-popover",(0,h.setElementSize)(re,{width:ne,height:X})}(L.width,L.height),j=function(){var ne=document.createElement("div");return ne.className="tf-v1-popover-wrapper",ne.dataset.testid="tf-v1-popover-wrapper",ne}(),V=function(ne,X){var re=(0,h.getTextColor)(X),ie=document.createElement("div");ie.className="tf-v1-popover-button-icon";var _e=`<svg class="default" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
776
- <path d="M21 0H0V9L10.5743 24V16.5H21C22.6567 16.5 24 15.1567 24 13.5V3C24 1.34325 22.6567 0 21 0ZM7.5
777
- 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
778
- 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
779
- 7.42125 14.25 8.25C14.25 9.07875 13.578 9.75 12.75 9.75ZM18 9.75C17.172 9.75 16.5 9.07875 16.5 8.25C16.5 7.42125
780
- 17.172 6.75 18 6.75C18.828 6.75 19.5 7.42125 19.5 8.25C19.5 9.07875 18.828 9.75 18 9.75Z" fill="`.concat(re,`"></path>
781
- </svg>`),sn=ne==null?void 0:ne.startsWith("http");return ie.innerHTML=sn?"<img alt='popover trigger icon button' src='".concat(ne,"'/>"):ne??_e,ie.dataset.testid="default-icon",ie}(L.customIcon,L.buttonColor||v.buttonColor),W=function(){var ne=document.createElement("div");ne.className="tf-v1-spinner";var X=document.createElement("div");return X.className="tf-v1-popover-button-icon",X.dataset.testid="spinner-icon",X.append(ne),X}(),Y=m(),U=m("button","tf-v1-popover-close"),F=function(ne,X){X===void 0&&(X={});var re=(0,h.getTextColor)(ne),ie=document.createElement("button");return ie.className="tf-v1-popover-button",ie.dataset.testid="tf-v1-popover-button",ie.style.backgroundColor=ne,ie.style.color=re,(0,h.addAttributesToElement)(ie,X),ie}(L.buttonColor||v.buttonColor,L.buttonProps);(L.container||document.body).append(D),j.append($),D.append(F),D.append(U),F.append(V);var z=function(){S&&S.parentNode&&(S.classList.add("closing"),setTimeout(function(){(0,h.unmountElement)(S)},250))};L.tooltip&&L.tooltip.length>0&&(S=function(ne,X){var re=document.createElement("span");re.className="tf-v1-popover-tooltip-close",re.dataset.testid="tf-v1-popover-tooltip-close",re.innerHTML="&times;",re.onclick=X;var ie=document.createElement("div");ie.className="tf-v1-popover-tooltip-text",ie.innerHTML=ne;var _e=document.createElement("div");return _e.className="tf-v1-popover-tooltip",_e.dataset.testid="tf-v1-popover-tooltip",_e.appendChild(ie),_e.appendChild(re),_e}(L.tooltip,z),D.append(S)),L.notificationDays&&(L.enableSandbox||(0,_.canBuildNotificationDot)(y))&&(E=(0,_.buildNotificationDot)(),F.append(E)),$.onload=function(){D.classList.add("open"),j.style.opacity="1",U.style.opacity="1",b(W,Y),(0,h.addCustomKeyboardListener)(te)};var x=function(){(0,h.isOpen)(j)||(z(),E&&(E.classList.add("closing"),L.notificationDays&&!L.enableSandbox&&(0,_.saveNotificationDotHideUntilTime)(y,L.notificationDays),setTimeout(function(){(0,h.unmountElement)(E)},250)),setTimeout(function(){(0,h.isInPage)(j)?(j.style.opacity="0",U.style.opacity="0",j.style.display="flex",setTimeout(function(){D.classList.add("open"),j.style.opacity="1",U.style.opacity="1"}),b(V,Y)):(D.append(j),b(V,W),j.style.opacity="0",U.style.opacity="0")}))},te=function(){var ne;(0,h.isOpen)(D)&&((ne=w.onClose)===null||ne===void 0||ne.call(w),setTimeout(function(){L.keepSession?j.style.display="none":(0,h.unmountElement)(j),D.classList.remove("open"),b(Y,V)},250))};(0,h.setAutoClose)(C,L.autoClose,te);var se=function(){(0,h.isOpen)(j)?te():x()};return F.onclick=(0,h.invokeWithoutDefault)(se),U.onclick=(0,h.invokeWithoutDefault)(te),L.open&&!(0,h.isOpen)(j)&&(O=(0,h.handleCustomOpen)(x,L.open,L.openValue)),{open:x,close:te,toggle:se,refresh:I,focus:k,unmount:function(){(0,h.unmountElement)(D),L.open&&(O!=null&&O.remove)&&O.remove()}}}},1797:function(d,s,f){var p=this&&this.__createBinding||(Object.create?function(h,_,b,m){m===void 0&&(m=b);var v=Object.getOwnPropertyDescriptor(_,b);v&&!("get"in v?!_.__esModule:v.writable||v.configurable)||(v={enumerable:!0,get:function(){return _[b]}}),Object.defineProperty(h,m,v)}:function(h,_,b,m){m===void 0&&(m=b),h[m]=_[b]}),g=this&&this.__exportStar||function(h,_){for(var b in h)b==="default"||Object.prototype.hasOwnProperty.call(_,b)||p(_,h,b)};Object.defineProperty(s,"__esModule",{value:!0}),g(f(7528),s),g(f(6100),s)},1320:function(d,s){var f=this&&this.__assign||function(){return f=Object.assign||function(_){for(var b,m=1,v=arguments.length;m<v;m++)for(var y in b=arguments[m])Object.prototype.hasOwnProperty.call(b,y)&&(_[y]=b[y]);return _},f.apply(this,arguments)};Object.defineProperty(s,"__esModule",{value:!0}),s.buildNotificationDot=s.canBuildNotificationDot=s.saveNotificationDotHideUntilTime=void 0;var p="tfNotificationData",g=function(){var _=localStorage.getItem(p);return _?JSON.parse(_):{}},h=function(_){_&&localStorage.setItem(p,JSON.stringify(_))};s.saveNotificationDotHideUntilTime=function(_,b){var m,v=new Date;v.setDate(v.getDate()+b),h(f(f({},g()),((m={})[_]={hideUntilTime:v.getTime()},m)))},s.canBuildNotificationDot=function(_){var b=function(m){var v;return((v=g()[m])===null||v===void 0?void 0:v.hideUntilTime)||0}(_);return new Date().getTime()>b&&(b&&function(m){var v=g();delete v[m],h(v)}(_),!0)},s.buildNotificationDot=function(){var _=document.createElement("span");return _.className="tf-v1-popover-unread-dot",_.dataset.testid="tf-v1-popover-unread-dot",_}},6100:function(d,s){Object.defineProperty(s,"__esModule",{value:!0})},9630:function(d,s,f){var p=this&&this.__rest||function(b,m){var v={};for(var y in b)Object.prototype.hasOwnProperty.call(b,y)&&m.indexOf(y)<0&&(v[y]=b[y]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function"){var w=0;for(y=Object.getOwnPropertySymbols(b);w<y.length;w++)m.indexOf(y[w])<0&&Object.prototype.propertyIsEnumerable.call(b,y[w])&&(v[y[w]]=b[y[w]])}return v};Object.defineProperty(s,"__esModule",{value:!0}),s.createPopup=void 0;var g=f(6797),h=f(8027),_=f(6797);s.createPopup=function(b,m){if(m===void 0&&(m={}),!(0,g.hasDom)())return{open:function(){},close:function(){},toggle:function(){},refresh:function(){},focus:function(){},unmount:function(){}};var v,y=m.width,w=m.height,O=m.size,S=O===void 0?h.POPUP_SIZE:O,E=m.onClose,P=m.domain,A=p(m,["width","height","size","onClose","domain"]),L=(0,g.createIframe)("popup",{formId:b,domain:P,options:A}),N=L.iframe,$=L.embedId,C=L.refresh,I=L.focus,k=document.body.style.overflow,D=function(){var z=document.createElement("div");return z.className="tf-v1-popup",z.dataset.testid="tf-v1-popup",z.style.opacity="0",z}(),j=function(){var z=document.createElement("div");return z.className="tf-v1-spinner",z}(),V=function(z,x,te){var se=document.createElement("div");return se.className="tf-v1-iframe-wrapper",se.style.opacity="0",(0,g.isDefined)(z)&&(0,g.isDefined)(x)?(0,g.setElementSize)(se,{width:z,height:x}):(se.style.width="calc(".concat(te,"% - 80px)"),se.style.height="calc(".concat(te,"% - 80px)"),se)}(y,w,S);V.append(N),D.append(j),D.append(V);var W=A.container||document.body;N.onload=function(){V.style.opacity="1",setTimeout(function(){j.style.display="none"},250),(0,g.addCustomKeyboardListener)(U)};var Y=function(){(0,_.isOpen)(D)||((0,_.isInPage)(D)?D.style.display="flex":(j.style.display="block",W.append(D)),document.body.style.overflow="hidden",setTimeout(function(){D.style.opacity="1"}))},U=function(){(0,_.isOpen)(D)&&(E==null||E(),D.style.opacity="0",document.body.style.overflow=k,setTimeout(function(){A.keepSession?D.style.display="none":F()},250))};V.append(function(z){var x=document.createElement("button");return x.className="tf-v1-close tf-v1-close-icon",x.innerHTML="&times;",x.onclick=(0,g.invokeWithoutDefault)(z),x}(U)),(0,g.setAutoClose)($,A.autoClose,U),A.open&&!(0,_.isOpen)(D)&&(v=(0,g.handleCustomOpen)(Y,A.open,A.openValue));var F=function(){(0,g.unmountElement)(D),A.open&&(v!=null&&v.remove)&&v.remove()};return{open:Y,close:U,toggle:function(){(0,_.isOpen)(D)?U():Y()},refresh:C,focus:I,unmount:F}}},5970:function(d,s,f){var p=this&&this.__createBinding||(Object.create?function(h,_,b,m){m===void 0&&(m=b);var v=Object.getOwnPropertyDescriptor(_,b);v&&!("get"in v?!_.__esModule:v.writable||v.configurable)||(v={enumerable:!0,get:function(){return _[b]}}),Object.defineProperty(h,m,v)}:function(h,_,b,m){m===void 0&&(m=b),h[m]=_[b]}),g=this&&this.__exportStar||function(h,_){for(var b in h)b==="default"||Object.prototype.hasOwnProperty.call(_,b)||p(_,h,b)};Object.defineProperty(s,"__esModule",{value:!0}),g(f(9630),s),g(f(7394),s)},7394:function(d,s){Object.defineProperty(s,"__esModule",{value:!0})},382:function(d,s,f){var p=this&&this.__assign||function(){return p=Object.assign||function(v){for(var y,w=1,O=arguments.length;w<O;w++)for(var S in y=arguments[w])Object.prototype.hasOwnProperty.call(y,S)&&(v[S]=y[S]);return v},p.apply(this,arguments)},g=this&&this.__rest||function(v,y){var w={};for(var O in v)Object.prototype.hasOwnProperty.call(v,O)&&y.indexOf(O)<0&&(w[O]=v[O]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function"){var S=0;for(O=Object.getOwnPropertySymbols(v);S<O.length;S++)y.indexOf(O[S])<0&&Object.prototype.propertyIsEnumerable.call(v,O[S])&&(w[O[S]]=v[O[S]])}return w};Object.defineProperty(s,"__esModule",{value:!0}),s.createSidetab=void 0;var h=f(6797),_={buttonColor:"#3a7685",buttonText:"Launch me"},b=function(v,y){v===void 0&&(v="div"),y===void 0&&(y="tf-v1-sidetab-button-icon");var w=document.createElement(v);return w.className="".concat(y," tf-v1-close-icon"),w.innerHTML="&times;",w.dataset.testid=y,w},m=function(v,y){var w=v.parentNode;w&&(w.removeChild(v),w.appendChild(y))};s.createSidetab=function(v,y){y===void 0&&(y={});var w,O=p(p({},_),y),S=O.domain,E=g(O,["domain"]),P=(0,h.createIframe)("side-tab",{formId:v,domain:S,options:E}),A=P.iframe,L=P.embedId,N=P.refresh,$=P.focus,C=function(x,te,se,ne){var X=document.createElement("div");return X.className="tf-v1-sidetab",X.dataset.testid="tf-v1-sidetab",(0,h.setElementSize)(X,{width:x,height:te}),se!==void 0?(X.style.top="calc(".concat((0,h.getValueWithUnits)(se)," + ").concat((0,h.getValueWithUnits)(te||580)," / 2)"),X.style.bottom="auto"):ne!==void 0&&(X.style.top="auto",X.style.bottom="calc(".concat((0,h.getValueWithUnits)(ne)," - ").concat((0,h.getValueWithUnits)(te||580)," / 2)")),X}(E.width,E.height,E.top,E.bottom),I=function(){var x=document.createElement("div");return x.className="tf-v1-sidetab-wrapper",x.dataset.testid="tf-v1-sidetab-wrapper",x}(),k=function(){var x=document.createElement("div");x.className="tf-v1-spinner";var te=document.createElement("div");return te.className="tf-v1-sidetab-button-icon",te.dataset.testid="spinner-icon",te.append(x),te}(),D=function(x){var te=x.backgroundColor,se=x.textColor,ne=x.width,X=x.height,re=x.align,ie=re===void 0?"center":re,_e=x.buttonProps,sn=_e===void 0?{}:_e,Ne=document.createElement("button");return Ne.className="tf-v1-sidetab-button",Ne.style.backgroundColor=te,Ne.style.color=se||(0,h.getTextColor)(te),(0,h.addAttributesToElement)(Ne,sn),(0,h.setElementSize)(Ne,{width:ne,height:X}),X&&(Ne.style.left="-".concat((0,h.getValueWithUnits)(X))),ie==="top"?(Ne.style.transform="rotate(-90deg) translateX(-100%)",Ne.style.top="0"):ie==="bottom"&&(Ne.style.transform="rotate(-90deg) translateX(0)",Ne.style.top="auto",Ne.style.bottom="-".concat((0,h.getValueWithUnits)(X||48))),Ne}({backgroundColor:E.buttonColor||_.buttonColor,textColor:E.buttonTextColor,width:E.buttonHeight,height:E.buttonWidth,align:E.buttonAlign,buttonProps:E.buttonProps}),j=function(x,te){var se=document.createElement("span");return se.className="tf-v1-sidetab-button-text",se.innerHTML=x,te&&(se.style.fontSize=(0,h.getValueWithUnits)(te)),se}(E.buttonText||_.buttonText,E.buttonTextSize),V=function(x,te,se,ne){var X=se||(0,h.getTextColor)(te),re=document.createElement("div");re.className="tf-v1-sidetab-button-icon",ne&&(re.style.width=(0,h.getValueWithUnits)(ne),re.style.height=(0,h.getValueWithUnits)(ne));var ie=`<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
782
- <path d="M21 0H0V9L10.5743 24V16.5H21C22.6567 16.5 24 15.1567 24 13.5V3C24 1.34325 22.6567 0 21 0ZM7.5 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 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 7.42125 14.25 8.25C14.25 9.07875 13.578 9.75 12.75 9.75ZM18 9.75C17.172 9.75 16.5 9.07875 16.5 8.25C16.5 7.42125 17.172 6.75 18 6.75C18.828 6.75 19.5 7.42125 19.5 8.25C19.5 9.07875 18.828 9.75 18 9.75Z" fill="`.concat(X,`"></path>
783
- </svg>`),_e=x==null?void 0:x.startsWith("http");return re.innerHTML=_e?"<img alt='popover trigger icon button' src='".concat(x,"'/>"):x??ie,re.dataset.testid="default-icon",re}(E.customIcon,E.buttonColor||_.buttonColor,E.buttonTextColor,E.buttonTextSize),W=b(),Y=b("button","tf-v1-sidetab-close");(E.container||document.body).append(C),I.append(A),C.append(D),C.append(Y),D.append(V),D.append(j),setTimeout(function(){C.classList.add("ready")},250),A.onload=function(){C.classList.add("open"),m(k,W),(0,h.addCustomKeyboardListener)(F)};var U=function(){(0,h.isOpen)(I)||((0,h.isInPage)(I)?(I.style.display="flex",C.classList.add("open"),m(V,W)):(C.append(I),m(V,k)))},F=function(){var x;(0,h.isOpen)(I)&&((x=E.onClose)===null||x===void 0||x.call(E),C.classList.remove("open"),setTimeout(function(){E.keepSession?I.style.display="none":(0,h.unmountElement)(I),m(W,V)},250))};(0,h.setAutoClose)(L,E.autoClose,F);var z=function(){(0,h.isOpen)(I)?F():U()};return D.onclick=(0,h.invokeWithoutDefault)(z),Y.onclick=(0,h.invokeWithoutDefault)(F),E.open&&!(0,h.isOpen)(I)&&(w=(0,h.handleCustomOpen)(U,E.open,E.openValue)),{open:U,close:F,toggle:z,refresh:N,focus:$,unmount:function(){(0,h.unmountElement)(C),E.open&&(w!=null&&w.remove)&&w.remove()}}}},1434:function(d,s,f){var p=this&&this.__createBinding||(Object.create?function(h,_,b,m){m===void 0&&(m=b);var v=Object.getOwnPropertyDescriptor(_,b);v&&!("get"in v?!_.__esModule:v.writable||v.configurable)||(v={enumerable:!0,get:function(){return _[b]}}),Object.defineProperty(h,m,v)}:function(h,_,b,m){m===void 0&&(m=b),h[m]=_[b]}),g=this&&this.__exportStar||function(h,_){for(var b in h)b==="default"||Object.prototype.hasOwnProperty.call(_,b)||p(_,h,b)};Object.defineProperty(s,"__esModule",{value:!0}),g(f(382),s),g(f(7668),s)},7668:function(d,s){Object.defineProperty(s,"__esModule",{value:!0})},2603:function(d,s,f){var p=this&&this.__rest||function(_,b){var m={};for(var v in _)Object.prototype.hasOwnProperty.call(_,v)&&b.indexOf(v)<0&&(m[v]=_[v]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function"){var y=0;for(v=Object.getOwnPropertySymbols(_);y<v.length;y++)b.indexOf(v[y])<0&&Object.prototype.propertyIsEnumerable.call(_,v[y])&&(m[v[y]]=_[v[y]])}return m};Object.defineProperty(s,"__esModule",{value:!0}),s.createSlider=void 0;var g=f(6797),h=f(8027);s.createSlider=function(_,b){if(b===void 0&&(b={}),!(0,g.hasDom)())return{open:function(){},close:function(){},toggle:function(){},refresh:function(){},focus:function(){},unmount:function(){}};var m,v=b.position,y=v===void 0?h.SLIDER_POSITION:v,w=b.width,O=w===void 0?h.SLIDER_WIDTH:w,S=b.onClose,E=b.domain,P=p(b,["position","width","onClose","domain"]),A=(0,g.createIframe)("slider",{formId:_,domain:E,options:P}),L=A.iframe,N=A.embedId,$=A.refresh,C=A.focus,I=document.body.style.overflow,k=function(F){var z=document.createElement("div");return z.className="tf-v1-slider ".concat(F),z.dataset.testid="tf-v1-slider",z.style.opacity="0",z}(y),D=function(){var F=document.createElement("div");return F.className="tf-v1-spinner",F}(),j=function(F,z){var x=document.createElement("div");return x.className="tf-v1-iframe-wrapper",x.style[F]="-100%",(0,g.setElementSize)(x,{width:z})}(y,O);j.append(L),k.append(D),k.append(j);var V=P.container||document.body;L.onload=function(){j.style[y]="0",setTimeout(function(){D.style.display="none"},500),(0,g.addCustomKeyboardListener)(Y)};var W=function(){(0,g.isOpen)(k)||((0,g.isInPage)(k)?(k.style.display="flex",setTimeout(function(){j.style[y]="0"})):(V.append(k),D.style.display="block"),document.body.style.overflow="hidden",setTimeout(function(){k.style.opacity="1"}))},Y=function(){(0,g.isOpen)(k)&&(S==null||S(),k.style.opacity="0",j.style[y]="-100%",document.body.style.overflow=I,setTimeout(function(){P.keepSession?k.style.display="none":U()},500))};(0,g.setAutoClose)(N,P.autoClose,Y),j.append(function(F){var z=document.createElement("button");return z.className="tf-v1-close tf-v1-close-icon",z.innerHTML="&times;",z.onclick=(0,g.invokeWithoutDefault)(F),z}(Y)),P.open&&!(0,g.isOpen)(k)&&(m=(0,g.handleCustomOpen)(W,P.open,P.openValue));var U=function(){(0,g.unmountElement)(k),P.open&&(m!=null&&m.remove)&&m.remove()};return{open:W,close:Y,toggle:function(){(0,g.isOpen)(k)?Y():W()},refresh:$,focus:C,unmount:U}}},4071:function(d,s,f){var p=this&&this.__createBinding||(Object.create?function(h,_,b,m){m===void 0&&(m=b);var v=Object.getOwnPropertyDescriptor(_,b);v&&!("get"in v?!_.__esModule:v.writable||v.configurable)||(v={enumerable:!0,get:function(){return _[b]}}),Object.defineProperty(h,m,v)}:function(h,_,b,m){m===void 0&&(m=b),h[m]=_[b]}),g=this&&this.__exportStar||function(h,_){for(var b in h)b==="default"||Object.prototype.hasOwnProperty.call(_,b)||p(_,h,b)};Object.defineProperty(s,"__esModule",{value:!0}),g(f(2603),s),g(f(3162),s)},3162:function(d,s){Object.defineProperty(s,"__esModule",{value:!0})},718:function(d,s,f){var p=this&&this.__rest||function(v,y){var w={};for(var O in v)Object.prototype.hasOwnProperty.call(v,O)&&y.indexOf(O)<0&&(w[O]=v[O]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function"){var S=0;for(O=Object.getOwnPropertySymbols(v);S<O.length;S++)y.indexOf(O[S])<0&&Object.prototype.propertyIsEnumerable.call(v,O[S])&&(w[O[S]]=v[O[S]])}return w},g=this&&this.__read||function(v,y){var w=typeof Symbol=="function"&&v[Symbol.iterator];if(!w)return v;var O,S,E=w.call(v),P=[];try{for(;(y===void 0||y-- >0)&&!(O=E.next()).done;)P.push(O.value)}catch(A){S={error:A}}finally{try{O&&!O.done&&(w=E.return)&&w.call(E)}finally{if(S)throw S.error}}return P};Object.defineProperty(s,"__esModule",{value:!0}),s.createWidget=void 0;var h=f(6797),_=f(8554),b=f(2313),m=f(1126);s.createWidget=function(v,y){if(!(0,h.hasDom)())return{refresh:function(){},focus:function(){},unmount:function(){}};var w=y.domain,O=p(y,["domain"]);O.inlineOnMobile=y.inlineOnMobile||y.fullScreen,O.inlineOnMobile||!O.forceTouch&&!(0,h.isFullscreen)()||(O.displayAsFullScreenModal=!0,O.forceTouch=!0);var S=(0,h.createIframe)("widget",{formId:v,domain:w,options:O}),E=S.embedId,P=S.iframe,A=S.refresh,L=S.focus,N=(0,b.buildWidget)(P,O.width,O.height);if(O.fullScreen&&(0,m.overrideFullScreenStyles)(y.container,P),O.autoResize){var $=g(typeof O.autoResize=="string"?O.autoResize.split(",").map(function(U){return parseInt(U)}):[],2),C=$[0],I=$[1];window.addEventListener("message",(0,_.getFormHeightChangedHandler)(E,function(U){var F=Math.max(U.height,C||0);I&&(F=Math.min(F,I)),y.container.style.height="".concat(F,"px")}))}O.autoFocus&&window.addEventListener("message",(0,_.getFormReadyHandler)(E,function(){setTimeout(function(){L()},1e3)}));var k,D=function(){return y.container.append(N)};if(y.container.innerHTML="",y.lazy?(0,h.lazyInitialize)(y.container,D):D(),O.displayAsFullScreenModal){var j="",V=y.container,W=V.style.height;window.addEventListener("message",(0,_.getWelcomeScreenHiddenHandler)(E,function(){V.classList.add("tf-v1-widget-fullscreen"),y.opacity!==void 0&&(V.style.backgroundColor=j)})),window.addEventListener("message",(0,_.getFormThemeHandler)(E,function(U){var F;j=(0,h.changeColorOpacity)((F=U==null?void 0:U.theme)===null||F===void 0?void 0:F.backgroundColor)}));var Y=((k=document.createElement("button")).className="tf-v1-widget-close tf-v1-close-icon",k.innerHTML="&times;",k);Y.onclick=(0,h.invokeWithoutDefault)(function(){var U;if(V.style.height=W,(U=y.onClose)===null||U===void 0||U.call(y),V.classList.remove("tf-v1-widget-fullscreen"),V.style.backgroundColor="",y.keepSession){var F=document.createElement("div");F.className="tf-v1-widget-iframe-overlay",F.onclick=function(){V.classList.add("tf-v1-widget-fullscreen"),(0,h.unmountElement)(F)},N.append(F)}else y.container.innerHTML="",D(),V.append(Y)}),V.append(Y)}return{refresh:A,focus:L,unmount:function(){(0,h.unmountElement)(N)}}}},1419:function(d,s,f){Object.defineProperty(s,"__esModule",{value:!0}),s.buildWidget=void 0;var p=f(6797);s.buildWidget=function(g,h,_){var b=document.createElement("div");return b.className="tf-v1-widget",b.dataset.testid="tf-v1-widget",b.append(g),(0,p.setElementSize)(b,{width:h,height:_})}},2313:function(d,s,f){var p=this&&this.__createBinding||(Object.create?function(h,_,b,m){m===void 0&&(m=b);var v=Object.getOwnPropertyDescriptor(_,b);v&&!("get"in v?!_.__esModule:v.writable||v.configurable)||(v={enumerable:!0,get:function(){return _[b]}}),Object.defineProperty(h,m,v)}:function(h,_,b,m){m===void 0&&(m=b),h[m]=_[b]}),g=this&&this.__exportStar||function(h,_){for(var b in h)b==="default"||Object.prototype.hasOwnProperty.call(_,b)||p(_,h,b)};Object.defineProperty(s,"__esModule",{value:!0}),g(f(1419),s)},1126:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.overrideFullScreenStyles=void 0,s.overrideFullScreenStyles=function(f,p){Object.assign(f.style,{zIndex:"10001",position:"absolute",top:"0",left:"0",width:"100%",height:"100%"}),p.style.borderRadius="0",Object.assign(document.body.style,{overflow:"hidden"})}},9321:function(d,s,f){var p=this&&this.__createBinding||(Object.create?function(h,_,b,m){m===void 0&&(m=b);var v=Object.getOwnPropertyDescriptor(_,b);v&&!("get"in v?!_.__esModule:v.writable||v.configurable)||(v={enumerable:!0,get:function(){return _[b]}}),Object.defineProperty(h,m,v)}:function(h,_,b,m){m===void 0&&(m=b),h[m]=_[b]}),g=this&&this.__exportStar||function(h,_){for(var b in h)b==="default"||Object.prototype.hasOwnProperty.call(_,b)||p(_,h,b)};Object.defineProperty(s,"__esModule",{value:!0}),g(f(718),s),g(f(4058),s)},4058:function(d,s){Object.defineProperty(s,"__esModule",{value:!0})},1920:function(d,s,f){var p=this&&this.__createBinding||(Object.create?function(h,_,b,m){m===void 0&&(m=b);var v=Object.getOwnPropertyDescriptor(_,b);v&&!("get"in v?!_.__esModule:v.writable||v.configurable)||(v={enumerable:!0,get:function(){return _[b]}}),Object.defineProperty(h,m,v)}:function(h,_,b,m){m===void 0&&(m=b),h[m]=_[b]}),g=this&&this.__exportStar||function(h,_){for(var b in h)b==="default"||Object.prototype.hasOwnProperty.call(_,b)||p(_,h,b)};Object.defineProperty(s,"__esModule",{value:!0}),g(f(1797),s),g(f(5970),s),g(f(4071),s),g(f(9321),s),g(f(1434),s)},5084:function(d,s,f){Object.defineProperty(s,"__esModule",{value:!0}),s.addAttributesToElement=void 0;var p=f(7377);s.addAttributesToElement=function(g,h){h===void 0&&(h={}),Object.keys(h).forEach(function(_){g.setAttribute((0,p.camelCaseToKebabCase)(_),h[_])})}},3626:function(d,s,f){var p=this&&this.__assign||function(){return p=Object.assign||function(w){for(var O,S=1,E=arguments.length;S<E;S++)for(var P in O=arguments[S])Object.prototype.hasOwnProperty.call(O,P)&&(w[P]=O[P]);return w},p.apply(this,arguments)},g=this&&this.__read||function(w,O){var S=typeof Symbol=="function"&&w[Symbol.iterator];if(!S)return w;var E,P,A=S.call(w),L=[];try{for(;(O===void 0||O-- >0)&&!(E=A.next()).done;)L.push(E.value)}catch(N){P={error:N}}finally{try{E&&!E.done&&(S=A.return)&&S.call(A)}finally{if(P)throw P.error}}return L};Object.defineProperty(s,"__esModule",{value:!0}),s.buildIframeSrc=void 0;var h=f(8027),_=f(4527),b=f(2346),m=f(2698),v=f(863),y={widget:"embed-widget",popup:"popup-blank",slider:"popup-drawer",popover:"popup-popover","side-tab":"popup-side-panel"};s.buildIframeSrc=function(w){var O=w.domain,S=w.formId,E=w.type,P=w.embedId,A=w.options,L=function(k,D,j){var V=j.transitiveSearchParams,W=j.source,Y=j.medium,U=j.mediumVersion,F=j.hideFooter,z=j.hideHeaders,x=j.opacity,te=j.disableTracking,se=j.enableSandbox,ne=j.shareGaInstance,X=j.forceTouch,re=j.displayAsFullScreenModal,ie=j.tracking,_e=j.redirectTarget,sn=j.autoResize,Ne=j.disableScroll,Or=j.onEndingButtonClick,Ba=j.noHeading,Fa=(0,m.getTransitiveSearchParams)(V);return p(p(p({},{"typeform-embed-id":D,"typeform-embed":y[k],"typeform-source":W,"typeform-medium":Y,"typeform-medium-version":U,"embed-hide-footer":F?"true":void 0,"embed-hide-headers":z?"true":void 0,"embed-opacity":x,"disable-tracking":te||se?"true":void 0,"__dangerous-disable-submissions":se?"true":void 0,"share-ga-instance":ne?"true":void 0,"force-touch":X?"true":void 0,"add-placeholder-ws":k==="widget"&&re?"true":void 0,"typeform-embed-redirect-target":_e,"typeform-embed-auto-resize":sn?"true":void 0,"typeform-embed-disable-scroll":Ne?"true":void 0,"typeform-embed-handle-ending-button-click":Or?"true":void 0,"typeform-embed-no-heading":Ba?"true":void 0}),Fa),ie)}(E,P,function(k){return k.noHeading||(k.noHeading=document.querySelectorAll("h1").length>0),p(p({},{source:(D=window==null?void 0:window.location)===null||D===void 0?void 0:D.hostname.replace(/^www\./,""),medium:"embed-sdk",mediumVersion:"next"}),(0,_.removeUndefinedKeys)(k));var D}(A)),N=function(k,D){return D===void 0&&(D=h.DEFAULT_DOMAIN),k.startsWith("http://")||k.startsWith("https://")?new URL(k):new URL("https://".concat(D,"/to/").concat(k))}(S,O);if(Object.entries(L).filter(function(k){var D=g(k,2)[1];return(0,b.isDefined)(D)}).forEach(function(k){var D=g(k,2),j=D[0],V=D[1];N.searchParams.set(j,V)}),A.hubspot){var $=(0,v.getHubspotHiddenFields)();A.hidden=p(p({},A.hidden),$)}if(A.hidden){var C=new URLSearchParams;Object.entries(A.hidden).filter(function(k){var D=g(k,2)[1];return(0,b.isDefined)(D)&&D!==""}).forEach(function(k){var D=g(k,2),j=D[0],V=D[1];typeof A.transitiveSearchParams=="boolean"&&N.searchParams.delete(j),C.set(j,V)});var I=C.toString();I&&(N.hash=I)}return N.href}},2391:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.changeColorOpacity=void 0,s.changeColorOpacity=function(f,p){return f===void 0&&(f=""),p===void 0&&(p=255),f.startsWith("rgba(")?f==null?void 0:f.replace(/, [\d.]+\)$/,", ".concat(p,")")):f}},8972:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.handleCustomOpen=void 0;var f={remove:function(){}};s.handleCustomOpen=function(p,g,h){switch(g){case"load":return p(),f;case"exit":return h?function(_,b){var m=0,v=function(y){y.clientY<_&&y.clientY<m?(document.removeEventListener("mousemove",v,!0),b()):m=y.clientY};return document.addEventListener("mousemove",v,!0),{remove:function(){return document.removeEventListener("mousemove",v,!0)}}}(h,p):f;case"time":return setTimeout(function(){p()},h),f;case"scroll":return h?function(_,b){function m(){var v=window.pageYOffset||document.documentElement.scrollTop,y=document.documentElement.clientTop||0,w=document.documentElement.scrollHeight,O=v-y,S=O/w*100,E=O+window.innerHeight>=w;(S>=_||E)&&(b(),document.removeEventListener("scroll",m))}return document.addEventListener("scroll",m),{remove:function(){return document.removeEventListener("scroll",m)}}}(h,p):f;default:return f}}},1553:function(d,s,f){Object.defineProperty(s,"__esModule",{value:!0}),s.createIframe=void 0;var p=f(3626),g=f(6797),h=f(8866),_=f(8554),b=f(2256),m=f(7144),v=f(5511);s.createIframe=function(y,w){var O=w.formId,S=w.domain,E=w.options,P=(0,h.generateEmbedId)(),A=E.iframeProps,L=A===void 0?{}:A,N=E.onReady,$=E.onStarted,C=E.onQuestionChanged,I=E.onHeightChanged,k=E.onSubmit,D=E.onEndingButtonClick,j=E.shareGaInstance,V=(0,p.buildIframeSrc)({formId:O,domain:S,embedId:P,type:y,options:E}),W=document.createElement("iframe");return W.src=V,W.dataset.testid="iframe",W.style.border="0px",W.allow="microphone; camera",(0,g.addAttributesToElement)(W,L),W.addEventListener("load",b.triggerIframeRedraw,{once:!0}),window.addEventListener("message",(0,_.getFormReadyHandler)(P,N)),window.addEventListener("message",(0,_.getFormStartedHandler)(P,$)),window.addEventListener("message",(0,_.getFormQuestionChangedHandler)(P,C)),window.addEventListener("message",(0,_.getFormHeightChangedHandler)(P,I)),window.addEventListener("message",(0,_.getFormSubmitHandler)(P,k)),window.addEventListener("message",(0,_.getFormThemeHandler)(P,function(Y){var U;if(Y!=null&&Y.theme){var F=document.querySelector(".tf-v1-close-icon");F&&(F.style.color=(U=Y.theme)===null||U===void 0?void 0:U.color)}})),window.addEventListener("message",(0,_.getThankYouScreenButtonClickHandler)(P,D)),y!=="widget"&&window.addEventListener("message",m.dispatchCustomKeyEventFromIframe),j&&window.addEventListener("message",(0,_.getFormReadyHandler)(P,function(){(0,g.setupGaInstance)(W,P,j)})),{iframe:W,embedId:P,refresh:function(){return(0,v.refreshIframe)(W)},focus:function(){var Y;(Y=W.contentWindow)===null||Y===void 0||Y.postMessage("embed-focus","*")}}}},8866:function(d,s){var f=this&&this.__read||function(p,g){var h=typeof Symbol=="function"&&p[Symbol.iterator];if(!h)return p;var _,b,m=h.call(p),v=[];try{for(;(g===void 0||g-- >0)&&!(_=m.next()).done;)v.push(_.value)}catch(y){b={error:y}}finally{try{_&&!_.done&&(h=m.return)&&h.call(m)}finally{if(b)throw b.error}}return v};Object.defineProperty(s,"__esModule",{value:!0}),s.generateEmbedId=void 0,s.generateEmbedId=function(){var p=Math.random();return f(String(p).split("."),2)[1]}},8554:function(d,s){var f=this&&this.__rest||function(g,h){var _={};for(var b in g)Object.prototype.hasOwnProperty.call(g,b)&&h.indexOf(b)<0&&(_[b]=g[b]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function"){var m=0;for(b=Object.getOwnPropertySymbols(g);m<b.length;m++)h.indexOf(b[m])<0&&Object.prototype.propertyIsEnumerable.call(g,b[m])&&(_[b[m]]=g[b[m]])}return _};function p(g,h,_){return function(b){var m=b.data,v=m.type,y=m.embedId,w=f(m,["type","embedId"]);v===g&&y===h&&(_==null||_(w))}}Object.defineProperty(s,"__esModule",{value:!0}),s.getThankYouScreenButtonClickHandler=s.getFormThemeHandler=s.getWelcomeScreenHiddenHandler=s.getFormSubmitHandler=s.getFormHeightChangedHandler=s.getFormQuestionChangedHandler=s.getFormStartedHandler=s.getFormReadyHandler=void 0,s.getFormReadyHandler=function(g,h){return p("form-ready",g,h)},s.getFormStartedHandler=function(g,h){return p("form-started",g,h)},s.getFormQuestionChangedHandler=function(g,h){return p("form-screen-changed",g,h)},s.getFormHeightChangedHandler=function(g,h){return p("form-height-changed",g,h)},s.getFormSubmitHandler=function(g,h){return p("form-submit",g,h)},s.getWelcomeScreenHiddenHandler=function(g,h){return p("welcome-screen-hidden",g,h)},s.getFormThemeHandler=function(g,h){return p("form-theme",g,h)},s.getThankYouScreenButtonClickHandler=function(g,h){return p("thank-you-screen-button-click",g,h)}},339:function(d,s,f){var p=this&&this.__createBinding||(Object.create?function(h,_,b,m){m===void 0&&(m=b);var v=Object.getOwnPropertyDescriptor(_,b);v&&!("get"in v?!_.__esModule:v.writable||v.configurable)||(v={enumerable:!0,get:function(){return _[b]}}),Object.defineProperty(h,m,v)}:function(h,_,b,m){m===void 0&&(m=b),h[m]=_[b]}),g=this&&this.__exportStar||function(h,_){for(var b in h)b==="default"||Object.prototype.hasOwnProperty.call(_,b)||p(_,h,b)};Object.defineProperty(s,"__esModule",{value:!0}),g(f(1553),s),g(f(7144),s)},5511:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.refreshIframe=void 0,s.refreshIframe=function(f){if(f){var p=f.src;if(p.includes("&refresh")){var g=p.split("&refresh#");f.src=g.join("#")}else(g=p.split("#"))[0]="".concat(g[0],"&refresh"),f.src=g.join("#")}}},7144:function(d,s){var f=this&&this.__awaiter||function(_,b,m,v){return new(m||(m=Promise))(function(y,w){function O(P){try{E(v.next(P))}catch(A){w(A)}}function S(P){try{E(v.throw(P))}catch(A){w(A)}}function E(P){var A;P.done?y(P.value):(A=P.value,A instanceof m?A:new m(function(L){L(A)})).then(O,S)}E((v=v.apply(_,b||[])).next())})},p=this&&this.__generator||function(_,b){var m,v,y,w,O={label:0,sent:function(){if(1&y[0])throw y[1];return y[1]},trys:[],ops:[]};return w={next:S(0),throw:S(1),return:S(2)},typeof Symbol=="function"&&(w[Symbol.iterator]=function(){return this}),w;function S(E){return function(P){return function(A){if(m)throw new TypeError("Generator is already executing.");for(;w&&(w=0,A[0]&&(O=0)),O;)try{if(m=1,v&&(y=2&A[0]?v.return:A[0]?v.throw||((y=v.return)&&y.call(v),0):v.next)&&!(y=y.call(v,A[1])).done)return y;switch(v=0,y&&(A=[2&A[0],y.value]),A[0]){case 0:case 1:y=A;break;case 4:return O.label++,{value:A[1],done:!1};case 5:O.label++,v=A[1],A=[0];continue;case 7:A=O.ops.pop(),O.trys.pop();continue;default:if(!((y=(y=O.trys).length>0&&y[y.length-1])||A[0]!==6&&A[0]!==2)){O=0;continue}if(A[0]===3&&(!y||A[1]>y[0]&&A[1]<y[3])){O.label=A[1];break}if(A[0]===6&&O.label<y[1]){O.label=y[1],y=A;break}if(y&&O.label<y[2]){O.label=y[2],O.ops.push(A);break}y[2]&&O.ops.pop(),O.trys.pop();continue}A=b.call(_,O)}catch(L){A=[6,L],v=0}finally{m=y=0}if(5&A[0])throw A[1];return{value:A[0]?A[1]:void 0,done:!0}}([E,P])}}};Object.defineProperty(s,"__esModule",{value:!0}),s.dispatchCustomKeyEventFromIframe=s.removeCustomKeyboardListener=s.addCustomKeyboardListener=void 0;var g="Escape",h=function(_,b){return f(void 0,void 0,void 0,function(){return p(this,function(m){return _.code===g&&typeof b=="function"&&(b(),(0,s.removeCustomKeyboardListener)()),[2]})})};s.addCustomKeyboardListener=function(_){return window.document.addEventListener("keydown",function(b){return h(b,_)})},s.removeCustomKeyboardListener=function(){return window.document.removeEventListener("keydown",h)},s.dispatchCustomKeyEventFromIframe=function(_){_.data.type==="form-close"&&window.document.dispatchEvent(new KeyboardEvent("keydown",{code:g}))}},2256:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.triggerIframeRedraw=void 0,s.triggerIframeRedraw=function(){this.style.transform="translateZ(0)"}},8939:function(d,s,f){Object.defineProperty(s,"__esModule",{value:!0}),s.getTextColor=void 0;var p=f(2938);s.getTextColor=function(g){if(!g)return"#FFFFFF";var h=g.startsWith("#")?(0,p.hexRgb)(g):function(v){var y={red:0,green:0,blue:0},w=v.match(/\d+/g);return w&&(y.red=parseInt(w[0],10),y.green=parseInt(w[0],10),y.blue=parseInt(w[0],10)),y}(g),_=h.red,b=h.green,m=h.blue;return Math.round((299*_+587*b+114*m)/1e3)>150?"#000000":"#FFFFFF"}},2698:function(d,s){var f=this&&this.__assign||function(){return f=Object.assign||function(p){for(var g,h=1,_=arguments.length;h<_;h++)for(var b in g=arguments[h])Object.prototype.hasOwnProperty.call(g,b)&&(p[b]=g[b]);return p},f.apply(this,arguments)};Object.defineProperty(s,"__esModule",{value:!0}),s.getTransitiveSearchParams=void 0,s.getTransitiveSearchParams=function(p){var g=new URL(window.location.href);return typeof p=="boolean"&&p?Object.fromEntries(g.searchParams.entries()):Array.isArray(p)&&p.length>0?p.reduce(function(h,_){var b,m=g.searchParams.get(_);return m?f(f({},h),((b={})[_]=m,b)):h},{}):{}}},8252:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.hasDom=void 0,s.hasDom=function(){return typeof document<"u"&&typeof window<"u"}},2938:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.hexRgb=void 0;var f="a-f\\d",p="#?[".concat(f,"]{3}[").concat(f,"]?"),g="#?[".concat(f,"]{6}([").concat(f,"]{2})?"),h=new RegExp("[^#".concat(f,"]"),"gi"),_=new RegExp("^".concat(p,"$|^").concat(g,"$"),"i");s.hexRgb=function(b){if(typeof b!="string"||h.test(b)||!_.test(b))throw new TypeError("Expected a valid hex string");(b=b.replace(/^#/,"")).length===8&&(b=b.slice(0,6)),b.length===4&&(b=b.slice(0,3)),b.length===3&&(b=b[0]+b[0]+b[1]+b[1]+b[2]+b[2]);var m=Number.parseInt(b,16);return{red:m>>16,green:m>>8&255,blue:255&m}}},863:function(d,s,f){var p=this&&this.__awaiter||function(_,b,m,v){return new(m||(m=Promise))(function(y,w){function O(P){try{E(v.next(P))}catch(A){w(A)}}function S(P){try{E(v.throw(P))}catch(A){w(A)}}function E(P){var A;P.done?y(P.value):(A=P.value,A instanceof m?A:new m(function(L){L(A)})).then(O,S)}E((v=v.apply(_,b||[])).next())})},g=this&&this.__generator||function(_,b){var m,v,y,w,O={label:0,sent:function(){if(1&y[0])throw y[1];return y[1]},trys:[],ops:[]};return w={next:S(0),throw:S(1),return:S(2)},typeof Symbol=="function"&&(w[Symbol.iterator]=function(){return this}),w;function S(E){return function(P){return function(A){if(m)throw new TypeError("Generator is already executing.");for(;w&&(w=0,A[0]&&(O=0)),O;)try{if(m=1,v&&(y=2&A[0]?v.return:A[0]?v.throw||((y=v.return)&&y.call(v),0):v.next)&&!(y=y.call(v,A[1])).done)return y;switch(v=0,y&&(A=[2&A[0],y.value]),A[0]){case 0:case 1:y=A;break;case 4:return O.label++,{value:A[1],done:!1};case 5:O.label++,v=A[1],A=[0];continue;case 7:A=O.ops.pop(),O.trys.pop();continue;default:if(!((y=(y=O.trys).length>0&&y[y.length-1])||A[0]!==6&&A[0]!==2)){O=0;continue}if(A[0]===3&&(!y||A[1]>y[0]&&A[1]<y[3])){O.label=A[1];break}if(A[0]===6&&O.label<y[1]){O.label=y[1],y=A;break}if(y&&O.label<y[2]){O.label=y[2],O.ops.push(A);break}y[2]&&O.ops.pop(),O.trys.pop();continue}A=b.call(_,O)}catch(L){A=[6,L],v=0}finally{m=y=0}if(5&A[0])throw A[1];return{value:A[0]?A[1]:void 0,done:!0}}([E,P])}}};Object.defineProperty(s,"__esModule",{value:!0}),s.waitForHubspotCookie=s.getHubspotHiddenFields=s.getHubspotCookieValue=void 0;var h=f(4623);s.getHubspotCookieValue=function(){var _=document.cookie.match(new RegExp("(^| )".concat("hubspotutk","=([^;]+)")));return _&&_[2]||void 0},s.getHubspotHiddenFields=function(){return{hubspot_page_name:document.title,hubspot_page_url:window.location.href,hubspot_utk:(0,s.getHubspotCookieValue)()}},s.waitForHubspotCookie=function(){return p(void 0,void 0,void 0,function(){var _,b;return g(this,function(m){switch(m.label){case 0:_=10,b=0,m.label=1;case 1:return!(0,s.getHubspotCookieValue)()&&b<_?[4,(0,h.sleep)(250)]:[3,4];case 2:m.sent(),m.label=3;case 3:return b++,[3,1];case 4:return[2]}})})}},9071:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.includeCss=void 0,s.includeCss=function(f){var p=function(h){return"".concat("https://embed.typeform.com/next/css/").concat(h)}(f);if(!document.querySelector('link[href="'.concat(p,'"]'))){var g=document.createElement("link");g.rel="stylesheet",g.href=p,document.head.append(g)}}},6797:function(d,s,f){var p=this&&this.__createBinding||(Object.create?function(h,_,b,m){m===void 0&&(m=b);var v=Object.getOwnPropertyDescriptor(_,b);v&&!("get"in v?!_.__esModule:v.writable||v.configurable)||(v={enumerable:!0,get:function(){return _[b]}}),Object.defineProperty(h,m,v)}:function(h,_,b,m){m===void 0&&(m=b),h[m]=_[b]}),g=this&&this.__exportStar||function(h,_){for(var b in h)b==="default"||Object.prototype.hasOwnProperty.call(_,b)||p(_,h,b)};Object.defineProperty(s,"__esModule",{value:!0}),g(f(3626),s),g(f(339),s),g(f(8252),s),g(f(9071),s),g(f(2346),s),g(f(7377),s),g(f(6563),s),g(f(4527),s),g(f(9533),s),g(f(1451),s),g(f(8972),s),g(f(4748),s),g(f(4392),s),g(f(8939),s),g(f(9917),s),g(f(1987),s),g(f(2391),s),g(f(863),s),g(f(6890),s),g(f(5084),s)},6890:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.invokeWithoutDefault=void 0,s.invokeWithoutDefault=function(f){return function(p){p==null||p.preventDefault(),f()}}},2346:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.isDefined=void 0,s.isDefined=function(f){return f!=null}},1987:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.isVisible=s.isInPage=s.isOpen=void 0,s.isOpen=function(f){return(0,s.isInPage)(f)&&(0,s.isVisible)(f)},s.isInPage=function(f){return!!f.parentNode},s.isVisible=function(f){return f.style.display!=="none"}},9917:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.lazyInitialize=void 0,s.lazyInitialize=function(f,p){var g=new IntersectionObserver(function(h){h.forEach(function(_){_.isIntersecting&&(p(),g.unobserve(_.target))})});g.observe(f)}},7377:function(d,s){var f=this&&this.__assign||function(){return f=Object.assign||function(v){for(var y,w=1,O=arguments.length;w<O;w++)for(var S in y=arguments[w])Object.prototype.hasOwnProperty.call(y,S)&&(v[S]=y[S]);return v},f.apply(this,arguments)},p=this&&this.__read||function(v,y){var w=typeof Symbol=="function"&&v[Symbol.iterator];if(!w)return v;var O,S,E=w.call(v),P=[];try{for(;(y===void 0||y-- >0)&&!(O=E.next()).done;)P.push(O.value)}catch(A){S={error:A}}finally{try{O&&!O.done&&(w=E.return)&&w.call(E)}finally{if(S)throw S.error}}return P};Object.defineProperty(s,"__esModule",{value:!0}),s.loadOptionsFromAttributes=s.transformAttributeValue=s.camelCaseToKebabCase=void 0,s.camelCaseToKebabCase=function(v){return v.split("").map(function(y,w){return y.toUpperCase()===y?"".concat(w!==0?"-":"").concat(y.toLowerCase()):y}).join("")};var g=function(v){return v||void 0},h=function(v){if(v!==null)return v===""||v==="yes"||v==="true"},_=function(v){var y=v?parseInt(v,10):NaN;return isNaN(y)?void 0:y},b="%ESCAPED_COMMA%",m=function(v){if(v)return v.replace(/\s/g,"").replace(/\\,/g,b).split(",").filter(function(y){return!!y}).map(function(y){return y.replace(b,",")})};s.transformAttributeValue=function(v,y){var w,O,S;switch(y){case"string":return g(v);case"boolean":return h(v);case"integer":return _(v);case"function":return function(E){var P=E&&E in window?window[E]:void 0;return typeof P=="function"?P:void 0}(v);case"array":return m(v);case"record":return function(E){if(E)return E.replace(/\\,/g,b).split(",").filter(function(P){return!!P}).map(function(P){return P.replace(b,",")}).reduce(function(P,A){var L,N=A.match(/^([^=]+)=(.*)$/);if(N){var $=p(N,3),C=$[1],I=$[2];return f(f({},P),((L={})[C.trim()]=I,L))}return P},{})}(v);case"integerOrString":return function(E){if(E)return E.match(/^[0-9]+$/)?_(E):g(E)}(v);case"integerOrBoolean":return(w=_(v))!==null&&w!==void 0?w:h(v);case"stringOrBoolean":return(O=g(v))!==null&&O!==void 0?O:h(v);case"arrayOrBoolean":return(S=m(v))!==null&&S!==void 0?S:h(v);default:throw new Error("Invalid attribute transformation ".concat(y))}},s.loadOptionsFromAttributes=function(v,y){return Object.keys(y).reduce(function(w,O){var S;return f(f({},w),((S={})[O]=(0,s.transformAttributeValue)(v.getAttribute("data-tf-".concat((0,s.camelCaseToKebabCase)(O))),y[O]),S))},{})}},6563:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.isFullscreen=s.isMobile=s.isBigScreen=void 0,s.isBigScreen=function(){return window.screen.width>=1024&&window.screen.height>=768},s.isMobile=function(){return/mobile|tablet|android/i.test(navigator.userAgent.toLowerCase())},s.isFullscreen=function(){return(0,s.isMobile)()&&!(0,s.isBigScreen)()}},4527:function(d,s,f){var p=this&&this.__assign||function(){return p=Object.assign||function(_){for(var b,m=1,v=arguments.length;m<v;m++)for(var y in b=arguments[m])Object.prototype.hasOwnProperty.call(b,y)&&(_[y]=b[y]);return _},p.apply(this,arguments)},g=this&&this.__read||function(_,b){var m=typeof Symbol=="function"&&_[Symbol.iterator];if(!m)return _;var v,y,w=m.call(_),O=[];try{for(;(b===void 0||b-- >0)&&!(v=w.next()).done;)O.push(v.value)}catch(S){y={error:S}}finally{try{v&&!v.done&&(m=w.return)&&m.call(w)}finally{if(y)throw y.error}}return O};Object.defineProperty(s,"__esModule",{value:!0}),s.removeUndefinedKeys=void 0;var h=f(2346);s.removeUndefinedKeys=function(_){return Object.entries(_).filter(function(b){var m=g(b,2)[1];return(0,h.isDefined)(m)}).reduce(function(b,m){var v,y=g(m,2),w=y[0],O=y[1];return p(p({},b),((v={})[w]=O,v))},{})}},4748:function(d,s,f){Object.defineProperty(s,"__esModule",{value:!0}),s.setAutoClose=s.DEFAULT_AUTO_CLOSE_TIME=void 0;var p=f(8554);s.DEFAULT_AUTO_CLOSE_TIME=500,s.setAutoClose=function(g,h,_){h&&_&&window.addEventListener("message",(0,p.getFormSubmitHandler)(g,function(){return setTimeout(_,(m=typeof(b=h)=="number"?b:0,Math.max(m,s.DEFAULT_AUTO_CLOSE_TIME)));var b,m}))}},9533:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.setElementSize=s.getValueWithUnits=void 0,s.getValueWithUnits=function(f){return typeof f!="string"||f.match(/^[0-9]+$/)?"".concat(f,"px"):f},s.setElementSize=function(f,p){var g=p.width,h=p.height;return g&&(f.style.width=(0,s.getValueWithUnits)(g)),h&&(f.style.height=(0,s.getValueWithUnits)(h)),f}},4392:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.setupGaInstance=s.sendGaIdMessage=void 0,s.sendGaIdMessage=function(g,h,_){var b={embedId:g,gaClientId:h};setTimeout(function(){_&&_.contentWindow&&_.contentWindow.postMessage({type:"ga-client-id",data:b},"*")},0)};var f=function(g){console.error(g)},p=function(g){f("Whoops! You enabled the shareGaInstance feature in your typeform embed but ".concat(g,`.
784
-
785
- `)+`Make sure to include Google Analytics Javascript code before the Typeform Embed Javascript code in your page and use correct tracker ID.
786
-
787
- It is also possible the Google Analytics was blocked by your adblock plugin.`)};s.setupGaInstance=function(g,h,_){var b=typeof _=="string"?_:void 0;if(window.gtag){if(b||(b=function(){if(window.dataLayer){var y=window.dataLayer.find(function(w){return w.length>1&&w[0]==="config"});return y&&y[1]}}()),!b)return void p("the tracking ID could not be retrieved");var m=!1;window.gtag("get",b,"client_id",function(y){m=!0,(0,s.sendGaIdMessage)(h,y,g)}),setTimeout(function(){m||p("the tracker with ID ".concat(b," was not found"))},3e3)}else try{var v=function(y,w){return w?y.find(function(O){return O.get("trackingId")===w}):y[0]}(window.ga.getAll(),b);v?(0,s.sendGaIdMessage)(h,v.get("clientId"),g):p("the tracker with ID ".concat(b," was not found"))}catch(y){p("the Google Analytics object was not found"),f(y)}}},4623:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.sleep=void 0,s.sleep=function(f){return new Promise(function(p){return setTimeout(p,f)})}},1451:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.unmountElement=void 0,s.unmountElement=function(f){var p;(p=f.parentNode)===null||p===void 0||p.removeChild(f)}}},c={};return function d(s){var f=c[s];if(f!==void 0)return f.exports;var p=c[s]={exports:{}};return l[s].call(p.exports,p,p.exports,d),p.exports}(1920)}()},156:function(u){u.exports=n}},i={};function a(u){var l=i[u];if(l!==void 0)return l.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,l){return Object.prototype.hasOwnProperty.call(u,l)},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 l=a(611),c=a(281),d=a(797),s=(0,d.memoComponent)(c.Widget);u.Widget=s;var f=(0,d.memoComponent)((0,c.makeButtonComponent)(l.createPopup,"popup"));u.PopupButton=f;var p=(0,d.memoComponent)((0,c.makeButtonComponent)(l.createSlider,"slider"));u.SliderButton=p;var g=(0,d.memoComponent)((0,c.makeInitializerComponent)(l.createPopover,"popover"));u.Popover=g;var h=(0,d.memoComponent)((0,c.makeInitializerComponent)(l.createSidetab,"sidetab"));u.Sidetab=h}(),o}()})})(Qh);var _I=Qh.exports,wI={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 cr(e){"@babel/helpers - typeof";return cr=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},cr(e)}function Xf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function hT(e,t){if(e){if(typeof e=="string")return Xf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Xf(e,t)}}function EI(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=hT(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.
788
- 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 mT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fu(e,t){return Fu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Fu(e,t)}function SI(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&&Fu(e,t)}function da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},da(e)}function yT(){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 gT(e,t){if(t&&(cr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return mT(e)}function OI(e){var t=yT();return function(){var r=da(e),i;if(t){var a=da(this).constructor;i=Reflect.construct(r,arguments,a)}else i=r.apply(this,arguments);return gT(this,i)}}function PI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bT(e,t){if(cr(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(cr(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Jh(e){var t=bT(e,"string");return cr(t)==="symbol"?t:String(t)}function Qf(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,Jh(r.key),r)}}function AI(e,t,n){return t&&Qf(e.prototype,t),n&&Qf(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function TI(e,t,n){return t=Jh(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}export{Uw as $,DT as A,RT as B,ga as C,$T as D,jm as E,ue as F,Re as G,Op as H,Xg as I,MT as J,Ip as K,IT as L,uI as M,ye as N,N0 as O,zT as P,ng as Q,YT as R,Qy as S,Gt as T,WT as U,Qd as V,GT as W,oI as X,lI as Y,xw as Z,cr as _,SI as a,Ra as a0,Jw as a1,Xw as a2,Yw as a3,Vw as a4,Qw as a5,ms as a6,ET as a7,wT as a8,pI as a9,Zd as aA,hI as aB,Yd as aC,np as aD,ot as aE,ZT as aF,dI as aG,yI as aH,sI as aI,mI as aJ,qT as aK,Md as aL,jT as aM,BT as aN,vI as aO,JT as aP,XT as aQ,rI as aR,aI as aS,eI as aT,Gu as aU,Qu as aV,tI as aW,iI as aX,nI as aY,gI as aa,Xn as ab,bI as ac,og as ad,OT as ae,qe as af,nT as ag,KT as ah,_I as ai,wI as aj,cI as ak,QT as al,NT as am,ul as an,VT as ao,fI as ap,nn as aq,FT as ar,p0 as as,op as at,CT as au,TT as av,PT as aw,kT as ax,LT as ay,Mr as az,OI as b,PI as c,TI as d,mT as e,AI as f,EI as g,ee as h,_p as i,B as j,de as k,Be as l,Oy as m,pr as n,tr as o,ce as p,Te as q,UT as r,ki as s,ST as t,ol as u,AT as v,J as w,xT as x,Cn as y,lt as z};