diff --git a/main.bundle.js b/main.bundle.js index 16e4e106..fee89db4 100644 --- a/main.bundle.js +++ b/main.bundle.js @@ -1,2 +1,2 @@ /*! For license information please see main.bundle.js.LICENSE.txt */ -(()=>{var t,e,r,o,n={5790:(t,e,r)=>{"use strict";r.d(e,{BN:()=>os,GG:()=>rs,H9:()=>la,P:()=>Fa,_M:()=>$a,aU:()=>ua,kd:()=>is,mZ:()=>ns,rJ:()=>sa,x7:()=>ts});var o=r(8461),n=r(5125),i=r(3424),a=r(6743),s=r(2429),l=r(1853);const c="@firebase/firestore";class d{constructor(t){this.uid=t}isAuthenticated(){return null!=this.uid}toKey(){return this.isAuthenticated()?"uid:"+this.uid:"anonymous-user"}isEqual(t){return t.uid===this.uid}}d.UNAUTHENTICATED=new d(null),d.GOOGLE_CREDENTIALS=new d("google-credentials-uid"),d.FIRST_PARTY=new d("first-party-uid"),d.MOCK_USER=new d("mock-user");let u="11.0.2";const m=new i.Vy("@firebase/firestore");function p(){return m.logLevel}function h(t,...e){if(m.logLevel<=i.$b.DEBUG){const r=e.map(f);m.debug(`Firestore (${u}): ${t}`,...r)}}function g(t,...e){if(m.logLevel<=i.$b.ERROR){const r=e.map(f);m.error(`Firestore (${u}): ${t}`,...r)}}function b(t,...e){if(m.logLevel<=i.$b.WARN){const r=e.map(f);m.warn(`Firestore (${u}): ${t}`,...r)}}function f(t){if("string"==typeof t)return t;try{return function(t){return JSON.stringify(t)}(t)}catch(e){return t}}function v(t="Unexpected state"){const e=`FIRESTORE (${u}) INTERNAL ASSERTION FAILED: `+t;throw g(e),new Error(e)}function y(t,e){t||v()}function w(t,e){return t}const x={OK:"ok",CANCELLED:"cancelled",UNKNOWN:"unknown",INVALID_ARGUMENT:"invalid-argument",DEADLINE_EXCEEDED:"deadline-exceeded",NOT_FOUND:"not-found",ALREADY_EXISTS:"already-exists",PERMISSION_DENIED:"permission-denied",UNAUTHENTICATED:"unauthenticated",RESOURCE_EXHAUSTED:"resource-exhausted",FAILED_PRECONDITION:"failed-precondition",ABORTED:"aborted",OUT_OF_RANGE:"out-of-range",UNIMPLEMENTED:"unimplemented",INTERNAL:"internal",UNAVAILABLE:"unavailable",DATA_LOSS:"data-loss"};class _ extends a.g{constructor(t,e){super(t,e),this.code=t,this.message=e,this.toString=()=>`${this.name}: [code=${this.code}]: ${this.message}`}}class k{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}}class E{constructor(t,e){this.user=e,this.type="OAuth",this.headers=new Map,this.headers.set("Authorization",`Bearer ${t}`)}}class I{getToken(){return Promise.resolve(null)}invalidateToken(){}start(t,e){t.enqueueRetryable((()=>e(d.UNAUTHENTICATED)))}shutdown(){}}class A{constructor(t){this.token=t,this.changeListener=null}getToken(){return Promise.resolve(this.token)}invalidateToken(){}start(t,e){this.changeListener=e,t.enqueueRetryable((()=>e(this.token.user)))}shutdown(){this.changeListener=null}}class T{constructor(t){this.t=t,this.currentUser=d.UNAUTHENTICATED,this.i=0,this.forceRefresh=!1,this.auth=null}start(t,e){y(void 0===this.o);let r=this.i;const o=t=>this.i!==r?(r=this.i,e(t)):Promise.resolve();let n=new k;this.o=()=>{this.i++,this.currentUser=this.u(),n.resolve(),n=new k,t.enqueueRetryable((()=>o(this.currentUser)))};const i=()=>{const e=n;t.enqueueRetryable((async()=>{await e.promise,await o(this.currentUser)}))},a=t=>{h("FirebaseAuthCredentialsProvider","Auth detected"),this.auth=t,this.o&&(this.auth.addAuthTokenListener(this.o),i())};this.t.onInit((t=>a(t))),setTimeout((()=>{if(!this.auth){const t=this.t.getImmediate({optional:!0});t?a(t):(h("FirebaseAuthCredentialsProvider","Auth not yet detected"),n.resolve(),n=new k)}}),0),i()}getToken(){const t=this.i,e=this.forceRefresh;return this.forceRefresh=!1,this.auth?this.auth.getToken(e).then((e=>this.i!==t?(h("FirebaseAuthCredentialsProvider","getToken aborted due to token change."),this.getToken()):e?(y("string"==typeof e.accessToken),new E(e.accessToken,this.currentUser)):null)):Promise.resolve(null)}invalidateToken(){this.forceRefresh=!0}shutdown(){this.auth&&this.o&&this.auth.removeAuthTokenListener(this.o),this.o=void 0}u(){const t=this.auth&&this.auth.getUid();return y(null===t||"string"==typeof t),new d(t)}}class C{constructor(t,e,r){this.l=t,this.h=e,this.P=r,this.type="FirstParty",this.user=d.FIRST_PARTY,this.T=new Map}I(){return this.P?this.P():null}get headers(){this.T.set("X-Goog-AuthUser",this.l);const t=this.I();return t&&this.T.set("Authorization",t),this.h&&this.T.set("X-Goog-Iam-Authorization-Token",this.h),this.T}}class S{constructor(t,e,r){this.l=t,this.h=e,this.P=r}getToken(){return Promise.resolve(new C(this.l,this.h,this.P))}start(t,e){t.enqueueRetryable((()=>e(d.FIRST_PARTY)))}shutdown(){}invalidateToken(){}}class D{constructor(t){this.value=t,this.type="AppCheck",this.headers=new Map,t&&t.length>0&&this.headers.set("x-firebase-appcheck",this.value)}}class L{constructor(t){this.A=t,this.forceRefresh=!1,this.appCheck=null,this.R=null}start(t,e){y(void 0===this.o);const r=t=>{null!=t.error&&h("FirebaseAppCheckTokenProvider",`Error getting App Check token; using placeholder token instead. Error: ${t.error.message}`);const r=t.token!==this.R;return this.R=t.token,h("FirebaseAppCheckTokenProvider",`Received ${r?"new":"existing"} token.`),r?e(t.token):Promise.resolve()};this.o=e=>{t.enqueueRetryable((()=>r(e)))};const o=t=>{h("FirebaseAppCheckTokenProvider","AppCheck detected"),this.appCheck=t,this.o&&this.appCheck.addTokenListener(this.o)};this.A.onInit((t=>o(t))),setTimeout((()=>{if(!this.appCheck){const t=this.A.getImmediate({optional:!0});t?o(t):h("FirebaseAppCheckTokenProvider","AppCheck not yet detected")}}),0)}getToken(){const t=this.forceRefresh;return this.forceRefresh=!1,this.appCheck?this.appCheck.getToken(t).then((t=>t?(y("string"==typeof t.token),this.R=t.token,new D(t.token)):null)):Promise.resolve(null)}invalidateToken(){this.forceRefresh=!0}shutdown(){this.appCheck&&this.o&&this.appCheck.removeTokenListener(this.o),this.o=void 0}}function N(t){const e="undefined"!=typeof self&&(self.crypto||self.msCrypto),r=new Uint8Array(t);if(e&&"function"==typeof e.getRandomValues)e.getRandomValues(r);else for(let e=0;ee?1:0}function R(t,e,r){return t.length===e.length&&t.every(((t,o)=>r(t,e[o])))}class B{static now(){return B.fromMillis(Date.now())}static fromDate(t){return B.fromMillis(t.getTime())}static fromMillis(t){const e=Math.floor(t/1e3),r=Math.floor(1e6*(t-1e3*e));return new B(e,r)}constructor(t,e){if(this.seconds=t,this.nanoseconds=e,e<0)throw new _(x.INVALID_ARGUMENT,"Timestamp nanoseconds out of range: "+e);if(e>=1e9)throw new _(x.INVALID_ARGUMENT,"Timestamp nanoseconds out of range: "+e);if(t<-62135596800)throw new _(x.INVALID_ARGUMENT,"Timestamp seconds out of range: "+t);if(t>=253402300800)throw new _(x.INVALID_ARGUMENT,"Timestamp seconds out of range: "+t)}toDate(){return new Date(this.toMillis())}toMillis(){return 1e3*this.seconds+this.nanoseconds/1e6}_compareTo(t){return this.seconds===t.seconds?M(this.nanoseconds,t.nanoseconds):M(this.seconds,t.seconds)}isEqual(t){return t.seconds===this.seconds&&t.nanoseconds===this.nanoseconds}toString(){return"Timestamp(seconds="+this.seconds+", nanoseconds="+this.nanoseconds+")"}toJSON(){return{seconds:this.seconds,nanoseconds:this.nanoseconds}}valueOf(){const t=this.seconds- -62135596800;return String(t).padStart(12,"0")+"."+String(this.nanoseconds).padStart(9,"0")}}class P{static fromTimestamp(t){return new P(t)}static min(){return new P(new B(0,0))}static max(){return new P(new B(253402300799,999999999))}constructor(t){this.timestamp=t}compareTo(t){return this.timestamp._compareTo(t.timestamp)}isEqual(t){return this.timestamp.isEqual(t.timestamp)}toMicroseconds(){return 1e6*this.timestamp.seconds+this.timestamp.nanoseconds/1e3}toString(){return"SnapshotVersion("+this.timestamp.toString()+")"}toTimestamp(){return this.timestamp}}class V{constructor(t,e,r){void 0===e?e=0:e>t.length&&v(),void 0===r?r=t.length-e:r>t.length-e&&v(),this.segments=t,this.offset=e,this.len=r}get length(){return this.len}isEqual(t){return 0===V.comparator(this,t)}child(t){const e=this.segments.slice(this.offset,this.limit());return t instanceof V?t.forEach((t=>{e.push(t)})):e.push(t),this.construct(e)}limit(){return this.offset+this.length}popFirst(t){return t=void 0===t?1:t,this.construct(this.segments,this.offset+t,this.length-t)}popLast(){return this.construct(this.segments,this.offset,this.length-1)}firstSegment(){return this.segments[this.offset]}lastSegment(){return this.get(this.length-1)}get(t){return this.segments[this.offset+t]}isEmpty(){return 0===this.length}isPrefixOf(t){if(t.lengthn)return 1}return t.lengthe.length?1:0}}class j extends V{construct(t,e,r){return new j(t,e,r)}canonicalString(){return this.toArray().join("/")}toString(){return this.canonicalString()}toUriEncodedString(){return this.toArray().map(encodeURIComponent).join("/")}static fromString(...t){const e=[];for(const r of t){if(r.indexOf("//")>=0)throw new _(x.INVALID_ARGUMENT,`Invalid segment (${r}). Paths must not contain // in them.`);e.push(...r.split("/").filter((t=>t.length>0)))}return new j(e)}static emptyPath(){return new j([])}}const z=/^[_a-zA-Z][_a-zA-Z0-9]*$/;class F extends V{construct(t,e,r){return new F(t,e,r)}static isValidIdentifier(t){return z.test(t)}canonicalString(){return this.toArray().map((t=>(t=t.replace(/\\/g,"\\\\").replace(/`/g,"\\`"),F.isValidIdentifier(t)||(t="`"+t+"`"),t))).join(".")}toString(){return this.canonicalString()}isKeyField(){return 1===this.length&&"__name__"===this.get(0)}static keyField(){return new F(["__name__"])}static fromServerFormat(t){const e=[];let r="",o=0;const n=()=>{if(0===r.length)throw new _(x.INVALID_ARGUMENT,`Invalid field path (${t}). Paths must not be empty, begin with '.', end with '.', or contain '..'`);e.push(r),r=""};let i=!1;for(;o=2&&this.path.get(this.path.length-2)===t}getCollectionGroup(){return this.path.get(this.path.length-2)}getCollectionPath(){return this.path.popLast()}isEqual(t){return null!==t&&0===j.comparator(this.path,t.path)}toString(){return this.path.toString()}static comparator(t,e){return j.comparator(t.path,e.path)}static isDocumentKey(t){return t.length%2==0}static fromSegments(t){return new q(new j(t.slice()))}}function $(t){return new U(t.readTime,t.key,-1)}class U{constructor(t,e,r){this.readTime=t,this.documentKey=e,this.largestBatchId=r}static min(){return new U(P.min(),q.empty(),-1)}static max(){return new U(P.max(),q.empty(),-1)}}function H(t,e){let r=t.readTime.compareTo(e.readTime);return 0!==r?r:(r=q.comparator(t.documentKey,e.documentKey),0!==r?r:M(t.largestBatchId,e.largestBatchId))}const G="The current tab is not in the required state to perform this operation. It might be necessary to refresh the browser tab.";class K{constructor(){this.onCommittedListeners=[]}addOnCommittedListener(t){this.onCommittedListeners.push(t)}raiseOnCommittedEvent(){this.onCommittedListeners.forEach((t=>t()))}}async function W(t){if(t.code!==x.FAILED_PRECONDITION||t.message!==G)throw t;h("LocalStore","Unexpectedly lost primary lease")}class Q{constructor(t){this.nextCallback=null,this.catchCallback=null,this.result=void 0,this.error=void 0,this.isDone=!1,this.callbackAttached=!1,t((t=>{this.isDone=!0,this.result=t,this.nextCallback&&this.nextCallback(t)}),(t=>{this.isDone=!0,this.error=t,this.catchCallback&&this.catchCallback(t)}))}catch(t){return this.next(void 0,t)}next(t,e){return this.callbackAttached&&v(),this.callbackAttached=!0,this.isDone?this.error?this.wrapFailure(e,this.error):this.wrapSuccess(t,this.result):new Q(((r,o)=>{this.nextCallback=e=>{this.wrapSuccess(t,e).next(r,o)},this.catchCallback=t=>{this.wrapFailure(e,t).next(r,o)}}))}toPromise(){return new Promise(((t,e)=>{this.next(t,e)}))}wrapUserFunction(t){try{const e=t();return e instanceof Q?e:Q.resolve(e)}catch(t){return Q.reject(t)}}wrapSuccess(t,e){return t?this.wrapUserFunction((()=>t(e))):Q.resolve(e)}wrapFailure(t,e){return t?this.wrapUserFunction((()=>t(e))):Q.reject(e)}static resolve(t){return new Q(((e,r)=>{e(t)}))}static reject(t){return new Q(((e,r)=>{r(t)}))}static waitFor(t){return new Q(((e,r)=>{let o=0,n=0,i=!1;t.forEach((t=>{++o,t.next((()=>{++n,i&&n===o&&e()}),(t=>r(t)))})),i=!0,n===o&&e()}))}static or(t){let e=Q.resolve(!1);for(const r of t)e=e.next((t=>t?Q.resolve(t):r()));return e}static forEach(t,e){const r=[];return t.forEach(((t,o)=>{r.push(e.call(this,t,o))})),this.waitFor(r)}static mapArray(t,e){return new Q(((r,o)=>{const n=t.length,i=new Array(n);let a=0;for(let s=0;s{i[l]=t,++a,a===n&&r(i)}),(t=>o(t)))}}))}static doWhile(t,e){return new Q(((r,o)=>{const n=()=>{!0===t()?e().next((()=>{n()}),o):r()};n()}))}}function X(t){return"IndexedDbTransactionError"===t.name}class Y{constructor(t,e){this.previousValue=t,e&&(e.sequenceNumberHandler=t=>this.ie(t),this.se=t=>e.writeSequenceNumber(t))}ie(t){return this.previousValue=Math.max(t,this.previousValue),this.previousValue}next(){const t=++this.previousValue;return this.se&&this.se(t),t}}function J(t){return null==t}function Z(t){return 0===t&&1/t==-1/0}function tt(t,e){let r=e;const o=t.length;for(let e=0;e0&&(e=e.right)}return null}indexOf(t){let e=0,r=this.root;for(;!r.isEmpty();){const o=this.comparator(t,r.key);if(0===o)return e+r.left.size;o<0?r=r.left:(e+=r.left.size+1,r=r.right)}return-1}isEmpty(){return this.root.isEmpty()}get size(){return this.root.size}minKey(){return this.root.minKey()}maxKey(){return this.root.maxKey()}inorderTraversal(t){return this.root.inorderTraversal(t)}forEach(t){this.inorderTraversal(((e,r)=>(t(e,r),!1)))}toString(){const t=[];return this.inorderTraversal(((e,r)=>(t.push(`${e}:${r}`),!1))),`{${t.join(", ")}}`}reverseTraversal(t){return this.root.reverseTraversal(t)}getIterator(){return new at(this.root,null,this.comparator,!1)}getIteratorFrom(t){return new at(this.root,t,this.comparator,!1)}getReverseIterator(){return new at(this.root,null,this.comparator,!0)}getReverseIteratorFrom(t){return new at(this.root,t,this.comparator,!0)}}class at{constructor(t,e,r,o){this.isReverse=o,this.nodeStack=[];let n=1;for(;!t.isEmpty();)if(n=e?r(t.key,e):1,e&&o&&(n*=-1),n<0)t=this.isReverse?t.left:t.right;else{if(0===n){this.nodeStack.push(t);break}this.nodeStack.push(t),t=this.isReverse?t.right:t.left}}getNext(){let t=this.nodeStack.pop();const e={key:t.key,value:t.value};if(this.isReverse)for(t=t.left;!t.isEmpty();)this.nodeStack.push(t),t=t.right;else for(t=t.right;!t.isEmpty();)this.nodeStack.push(t),t=t.left;return e}hasNext(){return this.nodeStack.length>0}peek(){if(0===this.nodeStack.length)return null;const t=this.nodeStack[this.nodeStack.length-1];return{key:t.key,value:t.value}}}class st{constructor(t,e,r,o,n){this.key=t,this.value=e,this.color=null!=r?r:st.RED,this.left=null!=o?o:st.EMPTY,this.right=null!=n?n:st.EMPTY,this.size=this.left.size+1+this.right.size}copy(t,e,r,o,n){return new st(null!=t?t:this.key,null!=e?e:this.value,null!=r?r:this.color,null!=o?o:this.left,null!=n?n:this.right)}isEmpty(){return!1}inorderTraversal(t){return this.left.inorderTraversal(t)||t(this.key,this.value)||this.right.inorderTraversal(t)}reverseTraversal(t){return this.right.reverseTraversal(t)||t(this.key,this.value)||this.left.reverseTraversal(t)}min(){return this.left.isEmpty()?this:this.left.min()}minKey(){return this.min().key}maxKey(){return this.right.isEmpty()?this.key:this.right.maxKey()}insert(t,e,r){let o=this;const n=r(t,o.key);return o=n<0?o.copy(null,null,null,o.left.insert(t,e,r),null):0===n?o.copy(null,e,null,null,null):o.copy(null,null,null,null,o.right.insert(t,e,r)),o.fixUp()}removeMin(){if(this.left.isEmpty())return st.EMPTY;let t=this;return t.left.isRed()||t.left.left.isRed()||(t=t.moveRedLeft()),t=t.copy(null,null,null,t.left.removeMin(),null),t.fixUp()}remove(t,e){let r,o=this;if(e(t,o.key)<0)o.left.isEmpty()||o.left.isRed()||o.left.left.isRed()||(o=o.moveRedLeft()),o=o.copy(null,null,null,o.left.remove(t,e),null);else{if(o.left.isRed()&&(o=o.rotateRight()),o.right.isEmpty()||o.right.isRed()||o.right.left.isRed()||(o=o.moveRedRight()),0===e(t,o.key)){if(o.right.isEmpty())return st.EMPTY;r=o.right.min(),o=o.copy(r.key,r.value,null,null,o.right.removeMin())}o=o.copy(null,null,null,null,o.right.remove(t,e))}return o.fixUp()}isRed(){return this.color}fixUp(){let t=this;return t.right.isRed()&&!t.left.isRed()&&(t=t.rotateLeft()),t.left.isRed()&&t.left.left.isRed()&&(t=t.rotateRight()),t.left.isRed()&&t.right.isRed()&&(t=t.colorFlip()),t}moveRedLeft(){let t=this.colorFlip();return t.right.left.isRed()&&(t=t.copy(null,null,null,null,t.right.rotateRight()),t=t.rotateLeft(),t=t.colorFlip()),t}moveRedRight(){let t=this.colorFlip();return t.left.left.isRed()&&(t=t.rotateRight(),t=t.colorFlip()),t}rotateLeft(){const t=this.copy(null,null,st.RED,null,this.right.left);return this.right.copy(null,null,this.color,t,null)}rotateRight(){const t=this.copy(null,null,st.RED,this.left.right,null);return this.left.copy(null,null,this.color,null,t)}colorFlip(){const t=this.left.copy(null,null,!this.left.color,null,null),e=this.right.copy(null,null,!this.right.color,null,null);return this.copy(null,null,!this.color,t,e)}checkMaxDepth(){const t=this.check();return Math.pow(2,t)<=this.size+1}check(){if(this.isRed()&&this.left.isRed())throw v();if(this.right.isRed())throw v();const t=this.left.check();if(t!==this.right.check())throw v();return t+(this.isRed()?0:1)}}st.EMPTY=null,st.RED=!0,st.BLACK=!1,st.EMPTY=new class{constructor(){this.size=0}get key(){throw v()}get value(){throw v()}get color(){throw v()}get left(){throw v()}get right(){throw v()}copy(t,e,r,o,n){return this}insert(t,e,r){return new st(t,e)}remove(t,e){return this}isEmpty(){return!0}inorderTraversal(t){return!1}reverseTraversal(t){return!1}minKey(){return null}maxKey(){return null}isRed(){return!1}checkMaxDepth(){return!0}check(){return 0}};class lt{constructor(t){this.comparator=t,this.data=new it(this.comparator)}has(t){return null!==this.data.get(t)}first(){return this.data.minKey()}last(){return this.data.maxKey()}get size(){return this.data.size}indexOf(t){return this.data.indexOf(t)}forEach(t){this.data.inorderTraversal(((e,r)=>(t(e),!1)))}forEachInRange(t,e){const r=this.data.getIteratorFrom(t[0]);for(;r.hasNext();){const o=r.getNext();if(this.comparator(o.key,t[1])>=0)return;e(o.key)}}forEachWhile(t,e){let r;for(r=void 0!==e?this.data.getIteratorFrom(e):this.data.getIterator();r.hasNext();)if(!t(r.getNext().key))return}firstAfterOrEqual(t){const e=this.data.getIteratorFrom(t);return e.hasNext()?e.getNext().key:null}getIterator(){return new ct(this.data.getIterator())}getIteratorFrom(t){return new ct(this.data.getIteratorFrom(t))}add(t){return this.copy(this.data.remove(t).insert(t,!0))}delete(t){return this.has(t)?this.copy(this.data.remove(t)):this}isEmpty(){return this.data.isEmpty()}unionWith(t){let e=this;return e.size{e=e.add(t)})),e}isEqual(t){if(!(t instanceof lt))return!1;if(this.size!==t.size)return!1;const e=this.data.getIterator(),r=t.data.getIterator();for(;e.hasNext();){const t=e.getNext().key,o=r.getNext().key;if(0!==this.comparator(t,o))return!1}return!0}toArray(){const t=[];return this.forEach((e=>{t.push(e)})),t}toString(){const t=[];return this.forEach((e=>t.push(e))),"SortedSet("+t.toString()+")"}copy(t){const e=new lt(this.comparator);return e.data=t,e}}class ct{constructor(t){this.iter=t}getNext(){return this.iter.getNext().key}hasNext(){return this.iter.hasNext()}}class dt{constructor(t){this.fields=t,t.sort(F.comparator)}static empty(){return new dt([])}unionWith(t){let e=new lt(F.comparator);for(const t of this.fields)e=e.add(t);for(const r of t)e=e.add(r);return new dt(e.toArray())}covers(t){for(const e of this.fields)if(e.isPrefixOf(t))return!0;return!1}isEqual(t){return R(this.fields,t.fields,((t,e)=>t.isEqual(e)))}}class ut extends Error{constructor(){super(...arguments),this.name="Base64DecodeError"}}class mt{constructor(t){this.binaryString=t}static fromBase64String(t){const e=function(t){try{return atob(t)}catch(t){throw"undefined"!=typeof DOMException&&t instanceof DOMException?new ut("Invalid base64 string: "+t):t}}(t);return new mt(e)}static fromUint8Array(t){const e=function(t){let e="";for(let r=0;rtEt(t,e)))}function At(t,e){if(t===e)return 0;const r=kt(t),o=kt(e);if(r!==o)return M(r,o);switch(r){case 0:case 9007199254740991:return 0;case 1:return M(t.booleanValue,e.booleanValue);case 2:return function(t,e){const r=gt(t.integerValue||t.doubleValue),o=gt(e.integerValue||e.doubleValue);return ro?1:r===o?0:isNaN(r)?isNaN(o)?0:-1:1}(t,e);case 3:return Tt(t.timestampValue,e.timestampValue);case 4:return Tt(yt(t),yt(e));case 5:return M(t.stringValue,e.stringValue);case 6:return function(t,e){const r=bt(t),o=bt(e);return r.compareTo(o)}(t.bytesValue,e.bytesValue);case 7:return function(t,e){const r=t.split("/"),o=e.split("/");for(let t=0;tt+Lt(e)),0)}(t.arrayValue);case 10:case 11:return function(t){let e=0;return ot(t.fields,((t,r)=>{e+=t.length+Lt(r)})),e}(t.mapValue);default:throw v()}}function Nt(t,e){return{referenceValue:`projects/${t.projectId}/databases/${t.database}/documents/${e.path.canonicalString()}`}}function Ot(t){return!!t&&"integerValue"in t}function Mt(t){return!!t&&"arrayValue"in t}function Rt(t){return!!t&&"nullValue"in t}function Bt(t){return!!t&&"doubleValue"in t&&isNaN(Number(t.doubleValue))}function Pt(t){return!!t&&"mapValue"in t}function Vt(t){var e,r;return"__vector__"===(null===(r=((null===(e=null==t?void 0:t.mapValue)||void 0===e?void 0:e.fields)||{}).__type__)||void 0===r?void 0:r.stringValue)}function jt(t){if(t.geoPointValue)return{geoPointValue:Object.assign({},t.geoPointValue)};if(t.timestampValue&&"object"==typeof t.timestampValue)return{timestampValue:Object.assign({},t.timestampValue)};if(t.mapValue){const e={mapValue:{fields:{}}};return ot(t.mapValue.fields,((t,r)=>e.mapValue.fields[t]=jt(r))),e}if(t.arrayValue){const e={arrayValue:{values:[]}};for(let r=0;r<(t.arrayValue.values||[]).length;++r)e.arrayValue.values[r]=jt(t.arrayValue.values[r]);return e}return Object.assign({},t)}function zt(t){return"__max__"===(((t.mapValue||{}).fields||{}).__type__||{}).stringValue}class Ft{constructor(t){this.value=t}static empty(){return new Ft({mapValue:{}})}field(t){if(t.isEmpty())return this.value;{let e=this.value;for(let r=0;r{if(!e.isImmediateParentOf(n)){const t=this.getFieldsMap(e);this.applyChanges(t,r,o),r={},o=[],e=n.popLast()}t?r[n.lastSegment()]=jt(t):o.push(n.lastSegment())}));const n=this.getFieldsMap(e);this.applyChanges(n,r,o)}delete(t){const e=this.field(t.popLast());Pt(e)&&e.mapValue.fields&&delete e.mapValue.fields[t.lastSegment()]}isEqual(t){return Et(this.value,t.value)}getFieldsMap(t){let e=this.value;e.mapValue.fields||(e.mapValue={fields:{}});for(let r=0;rt[e]=r));for(const e of r)delete t[e]}clone(){return new Ft(jt(this.value))}}function qt(t){const e=[];return ot(t.fields,((t,r)=>{const o=new F([t]);if(Pt(r)){const t=qt(r.mapValue).fields;if(0===t.length)e.push(o);else for(const r of t)e.push(o.child(r))}else e.push(o)})),new dt(e)}class $t{constructor(t,e,r,o,n,i,a){this.key=t,this.documentType=e,this.version=r,this.readTime=o,this.createTime=n,this.data=i,this.documentState=a}static newInvalidDocument(t){return new $t(t,0,P.min(),P.min(),P.min(),Ft.empty(),0)}static newFoundDocument(t,e,r,o){return new $t(t,1,e,P.min(),r,o,0)}static newNoDocument(t,e){return new $t(t,2,e,P.min(),P.min(),Ft.empty(),0)}static newUnknownDocument(t,e){return new $t(t,3,e,P.min(),P.min(),Ft.empty(),2)}convertToFoundDocument(t,e){return!this.createTime.isEqual(P.min())||2!==this.documentType&&0!==this.documentType||(this.createTime=t),this.version=t,this.documentType=1,this.data=e,this.documentState=0,this}convertToNoDocument(t){return this.version=t,this.documentType=2,this.data=Ft.empty(),this.documentState=0,this}convertToUnknownDocument(t){return this.version=t,this.documentType=3,this.data=Ft.empty(),this.documentState=2,this}setHasCommittedMutations(){return this.documentState=2,this}setHasLocalMutations(){return this.documentState=1,this.version=P.min(),this}setReadTime(t){return this.readTime=t,this}get hasLocalMutations(){return 1===this.documentState}get hasCommittedMutations(){return 2===this.documentState}get hasPendingWrites(){return this.hasLocalMutations||this.hasCommittedMutations}isValidDocument(){return 0!==this.documentType}isFoundDocument(){return 1===this.documentType}isNoDocument(){return 2===this.documentType}isUnknownDocument(){return 3===this.documentType}isEqual(t){return t instanceof $t&&this.key.isEqual(t.key)&&this.version.isEqual(t.version)&&this.documentType===t.documentType&&this.documentState===t.documentState&&this.data.isEqual(t.data)}mutableCopy(){return new $t(this.key,this.documentType,this.version,this.readTime,this.createTime,this.data.clone(),this.documentState)}toString(){return`Document(${this.key}, ${this.version}, ${JSON.stringify(this.data.value)}, {createTime: ${this.createTime}}), {documentType: ${this.documentType}}), {documentState: ${this.documentState}})`}}class Ut{constructor(t,e){this.position=t,this.inclusive=e}}function Ht(t,e,r){let o=0;for(let n=0;n":return t>0;case">=":return t>=0;default:return v()}}isInequality(){return["<","<=",">",">=","!=","not-in"].indexOf(this.op)>=0}getFlattenedFilters(){return[this]}getFilters(){return[this]}}class Yt extends Qt{constructor(t,e){super(),this.filters=t,this.op=e,this.ae=null}static create(t,e){return new Yt(t,e)}matches(t){return Jt(this)?void 0===this.filters.find((e=>!e.matches(t))):void 0!==this.filters.find((e=>e.matches(t)))}getFlattenedFilters(){return null!==this.ae||(this.ae=this.filters.reduce(((t,e)=>t.concat(e.getFlattenedFilters())),[])),this.ae}getFilters(){return Object.assign([],this.filters)}}function Jt(t){return"and"===t.op}function Zt(t){return function(t){for(const e of t.filters)if(e instanceof Yt)return!1;return!0}(t)&&Jt(t)}function te(t){if(t instanceof Xt)return t.field.canonicalString()+t.op.toString()+St(t.value);if(Zt(t))return t.filters.map((t=>te(t))).join(",");{const e=t.filters.map((t=>te(t))).join(",");return`${t.op}(${e})`}}function ee(t,e){return t instanceof Xt?function(t,e){return e instanceof Xt&&t.op===e.op&&t.field.isEqual(e.field)&&Et(t.value,e.value)}(t,e):t instanceof Yt?function(t,e){return e instanceof Yt&&t.op===e.op&&t.filters.length===e.filters.length&&t.filters.reduce(((t,r,o)=>t&&ee(r,e.filters[o])),!0)}(t,e):void v()}function re(t){return t instanceof Xt?function(t){return`${t.field.canonicalString()} ${t.op} ${St(t.value)}`}(t):t instanceof Yt?function(t){return t.op.toString()+" {"+t.getFilters().map(re).join(" ,")+"}"}(t):"Filter"}class oe extends Xt{constructor(t,e,r){super(t,e,r),this.key=q.fromName(r.referenceValue)}matches(t){const e=q.comparator(t.key,this.key);return this.matchesComparison(e)}}class ne extends Xt{constructor(t,e){super(t,"in",e),this.keys=ae(0,e)}matches(t){return this.keys.some((e=>e.isEqual(t.key)))}}class ie extends Xt{constructor(t,e){super(t,"not-in",e),this.keys=ae(0,e)}matches(t){return!this.keys.some((e=>e.isEqual(t.key)))}}function ae(t,e){var r;return((null===(r=e.arrayValue)||void 0===r?void 0:r.values)||[]).map((t=>q.fromName(t.referenceValue)))}class se extends Xt{constructor(t,e){super(t,"array-contains",e)}matches(t){const e=t.data.field(this.field);return Mt(e)&&It(e.arrayValue,this.value)}}class le extends Xt{constructor(t,e){super(t,"in",e)}matches(t){const e=t.data.field(this.field);return null!==e&&It(this.value.arrayValue,e)}}class ce extends Xt{constructor(t,e){super(t,"not-in",e)}matches(t){if(It(this.value.arrayValue,{nullValue:"NULL_VALUE"}))return!1;const e=t.data.field(this.field);return null!==e&&!It(this.value.arrayValue,e)}}class de extends Xt{constructor(t,e){super(t,"array-contains-any",e)}matches(t){const e=t.data.field(this.field);return!(!Mt(e)||!e.arrayValue.values)&&e.arrayValue.values.some((t=>It(this.value.arrayValue,t)))}}class ue{constructor(t,e=null,r=[],o=[],n=null,i=null,a=null){this.path=t,this.collectionGroup=e,this.orderBy=r,this.filters=o,this.limit=n,this.startAt=i,this.endAt=a,this.ue=null}}function me(t,e=null,r=[],o=[],n=null,i=null,a=null){return new ue(t,e,r,o,n,i,a)}function pe(t){const e=w(t);if(null===e.ue){let t=e.path.canonicalString();null!==e.collectionGroup&&(t+="|cg:"+e.collectionGroup),t+="|f:",t+=e.filters.map((t=>te(t))).join(","),t+="|ob:",t+=e.orderBy.map((t=>function(t){return t.field.canonicalString()+t.dir}(t))).join(","),J(e.limit)||(t+="|l:",t+=e.limit),e.startAt&&(t+="|lb:",t+=e.startAt.inclusive?"b:":"a:",t+=e.startAt.position.map((t=>St(t))).join(",")),e.endAt&&(t+="|ub:",t+=e.endAt.inclusive?"a:":"b:",t+=e.endAt.position.map((t=>St(t))).join(",")),e.ue=t}return e.ue}function he(t,e){if(t.limit!==e.limit)return!1;if(t.orderBy.length!==e.orderBy.length)return!1;for(let r=0;r0?e.explicitOrderBy[e.explicitOrderBy.length-1].dir:"asc",o=function(t){let e=new lt(F.comparator);return t.filters.forEach((t=>{t.getFlattenedFilters().forEach((t=>{t.isInequality()&&(e=e.add(t.field))}))})),e}(e);o.forEach((o=>{t.has(o.canonicalString())||o.isKeyField()||e.ce.push(new Kt(o,r))})),t.has(F.keyField().canonicalString())||e.ce.push(new Kt(F.keyField(),r))}return e.ce}function xe(t){const e=w(t);return e.le||(e.le=function(t,e){if("F"===t.limitType)return me(t.path,t.collectionGroup,e,t.filters,t.limit,t.startAt,t.endAt);{e=e.map((t=>{const e="desc"===t.dir?"asc":"desc";return new Kt(t.field,e)}));const r=t.endAt?new Ut(t.endAt.position,t.endAt.inclusive):null,o=t.startAt?new Ut(t.startAt.position,t.startAt.inclusive):null;return me(t.path,t.collectionGroup,e,t.filters,t.limit,r,o)}}(e,we(t))),e.le}function _e(t,e){const r=t.filters.concat([e]);return new be(t.path,t.collectionGroup,t.explicitOrderBy.slice(),r,t.limit,t.limitType,t.startAt,t.endAt)}function ke(t,e,r){return new be(t.path,t.collectionGroup,t.explicitOrderBy.slice(),t.filters.slice(),e,r,t.startAt,t.endAt)}function Ee(t,e){return he(xe(t),xe(e))&&t.limitType===e.limitType}function Ie(t){return`${pe(xe(t))}|lt:${t.limitType}`}function Ae(t){return`Query(target=${function(t){let e=t.path.canonicalString();return null!==t.collectionGroup&&(e+=" collectionGroup="+t.collectionGroup),t.filters.length>0&&(e+=`, filters: [${t.filters.map((t=>re(t))).join(", ")}]`),J(t.limit)||(e+=", limit: "+t.limit),t.orderBy.length>0&&(e+=`, orderBy: [${t.orderBy.map((t=>function(t){return`${t.field.canonicalString()} (${t.dir})`}(t))).join(", ")}]`),t.startAt&&(e+=", startAt: ",e+=t.startAt.inclusive?"b:":"a:",e+=t.startAt.position.map((t=>St(t))).join(",")),t.endAt&&(e+=", endAt: ",e+=t.endAt.inclusive?"a:":"b:",e+=t.endAt.position.map((t=>St(t))).join(",")),`Target(${e})`}(xe(t))}; limitType=${t.limitType})`}function Te(t,e){return e.isFoundDocument()&&function(t,e){const r=e.key.path;return null!==t.collectionGroup?e.key.hasCollectionId(t.collectionGroup)&&t.path.isPrefixOf(r):q.isDocumentKey(t.path)?t.path.isEqual(r):t.path.isImmediateParentOf(r)}(t,e)&&function(t,e){for(const r of we(t))if(!r.field.isKeyField()&&null===e.data.field(r.field))return!1;return!0}(t,e)&&function(t,e){for(const r of t.filters)if(!r.matches(e))return!1;return!0}(t,e)&&function(t,e){return!(t.startAt&&!function(t,e,r){const o=Ht(t,e,r);return t.inclusive?o<=0:o<0}(t.startAt,we(t),e)||t.endAt&&!function(t,e,r){const o=Ht(t,e,r);return t.inclusive?o>=0:o>0}(t.endAt,we(t),e))}(t,e)}function Ce(t){return(e,r)=>{let o=!1;for(const n of we(t)){const t=Se(n,e,r);if(0!==t)return t;o=o||n.field.isKeyField()}return 0}}function Se(t,e,r){const o=t.field.isKeyField()?q.comparator(e.key,r.key):function(t,e,r){const o=e.data.field(t),n=r.data.field(t);return null!==o&&null!==n?At(o,n):v()}(t.field,e,r);switch(t.dir){case"asc":return o;case"desc":return-1*o;default:return v()}}class De{constructor(t,e){this.mapKeyFn=t,this.equalsFn=e,this.inner={},this.innerSize=0}get(t){const e=this.mapKeyFn(t),r=this.inner[e];if(void 0!==r)for(const[e,o]of r)if(this.equalsFn(e,t))return o}has(t){return void 0!==this.get(t)}set(t,e){const r=this.mapKeyFn(t),o=this.inner[r];if(void 0===o)return this.inner[r]=[[t,e]],void this.innerSize++;for(let r=0;r{for(const[e,o]of r)t(e,o)}))}isEmpty(){return nt(this.inner)}size(){return this.innerSize}}const Le=new it(q.comparator);function Ne(){return Le}const Oe=new it(q.comparator);function Me(...t){let e=Oe;for(const r of t)e=e.insert(r.key,r);return e}function Re(t){let e=Oe;return t.forEach(((t,r)=>e=e.insert(t,r.overlayedDocument))),e}function Be(){return Ve()}function Pe(){return Ve()}function Ve(){return new De((t=>t.toString()),((t,e)=>t.isEqual(e)))}const je=new it(q.comparator),ze=new lt(q.comparator);function Fe(...t){let e=ze;for(const r of t)e=e.add(r);return e}const qe=new lt(M);function $e(t,e){if(t.useProto3Json){if(isNaN(e))return{doubleValue:"NaN"};if(e===1/0)return{doubleValue:"Infinity"};if(e===-1/0)return{doubleValue:"-Infinity"}}return{doubleValue:Z(e)?"-0":e}}function Ue(t){return{integerValue:""+t}}function He(t,e){return function(t){return"number"==typeof t&&Number.isInteger(t)&&!Z(t)&&t<=Number.MAX_SAFE_INTEGER&&t>=Number.MIN_SAFE_INTEGER}(e)?Ue(e):$e(t,e)}class Ge{constructor(){this._=void 0}}function Ke(t,e,r){return t instanceof Xe?function(t,e){const r={fields:{__type__:{stringValue:"server_timestamp"},__local_write_time__:{timestampValue:{seconds:t.seconds,nanos:t.nanoseconds}}}};return e&&ft(e)&&(e=vt(e)),e&&(r.fields.__previous_value__=e),{mapValue:r}}(r,e):t instanceof Ye?Je(t,e):t instanceof Ze?tr(t,e):function(t,e){const r=Qe(t,e),o=rr(r)+rr(t.Pe);return Ot(r)&&Ot(t.Pe)?Ue(o):$e(t.serializer,o)}(t,e)}function We(t,e,r){return t instanceof Ye?Je(t,e):t instanceof Ze?tr(t,e):r}function Qe(t,e){return t instanceof er?function(t){return Ot(t)||function(t){return!!t&&"doubleValue"in t}(t)}(e)?e:{integerValue:0}:null}class Xe extends Ge{}class Ye extends Ge{constructor(t){super(),this.elements=t}}function Je(t,e){const r=or(e);for(const e of t.elements)r.some((t=>Et(t,e)))||r.push(e);return{arrayValue:{values:r}}}class Ze extends Ge{constructor(t){super(),this.elements=t}}function tr(t,e){let r=or(e);for(const e of t.elements)r=r.filter((t=>!Et(t,e)));return{arrayValue:{values:r}}}class er extends Ge{constructor(t,e){super(),this.serializer=t,this.Pe=e}}function rr(t){return gt(t.integerValue||t.doubleValue)}function or(t){return Mt(t)&&t.arrayValue.values?t.arrayValue.values.slice():[]}class nr{constructor(t,e){this.version=t,this.transformResults=e}}class ir{constructor(t,e){this.updateTime=t,this.exists=e}static none(){return new ir}static exists(t){return new ir(void 0,t)}static updateTime(t){return new ir(t)}get isNone(){return void 0===this.updateTime&&void 0===this.exists}isEqual(t){return this.exists===t.exists&&(this.updateTime?!!t.updateTime&&this.updateTime.isEqual(t.updateTime):!t.updateTime)}}function ar(t,e){return void 0!==t.updateTime?e.isFoundDocument()&&e.version.isEqual(t.updateTime):void 0===t.exists||t.exists===e.isFoundDocument()}class sr{}function lr(t,e){if(!t.hasLocalMutations||e&&0===e.fields.length)return null;if(null===e)return t.isNoDocument()?new vr(t.key,ir.none()):new pr(t.key,t.data,ir.none());{const r=t.data,o=Ft.empty();let n=new lt(F.comparator);for(let t of e.fields)if(!n.has(t)){let e=r.field(t);null===e&&t.length>1&&(t=t.popLast(),e=r.field(t)),null===e?o.delete(t):o.set(t,e),n=n.add(t)}return new hr(t.key,o,new dt(n.toArray()),ir.none())}}function cr(t,e,r){t instanceof pr?function(t,e,r){const o=t.value.clone(),n=br(t.fieldTransforms,e,r.transformResults);o.setAll(n),e.convertToFoundDocument(r.version,o).setHasCommittedMutations()}(t,e,r):t instanceof hr?function(t,e,r){if(!ar(t.precondition,e))return void e.convertToUnknownDocument(r.version);const o=br(t.fieldTransforms,e,r.transformResults),n=e.data;n.setAll(gr(t)),n.setAll(o),e.convertToFoundDocument(r.version,n).setHasCommittedMutations()}(t,e,r):function(t,e,r){e.convertToNoDocument(r.version).setHasCommittedMutations()}(0,e,r)}function dr(t,e,r,o){return t instanceof pr?function(t,e,r,o){if(!ar(t.precondition,e))return r;const n=t.value.clone(),i=fr(t.fieldTransforms,o,e);return n.setAll(i),e.convertToFoundDocument(e.version,n).setHasLocalMutations(),null}(t,e,r,o):t instanceof hr?function(t,e,r,o){if(!ar(t.precondition,e))return r;const n=fr(t.fieldTransforms,o,e),i=e.data;return i.setAll(gr(t)),i.setAll(n),e.convertToFoundDocument(e.version,i).setHasLocalMutations(),null===r?null:r.unionWith(t.fieldMask.fields).unionWith(t.fieldTransforms.map((t=>t.field)))}(t,e,r,o):function(t,e,r){return ar(t.precondition,e)?(e.convertToNoDocument(e.version).setHasLocalMutations(),null):r}(t,e,r)}function ur(t,e){let r=null;for(const o of t.fieldTransforms){const t=e.data.field(o.field),n=Qe(o.transform,t||null);null!=n&&(null===r&&(r=Ft.empty()),r.set(o.field,n))}return r||null}function mr(t,e){return t.type===e.type&&!!t.key.isEqual(e.key)&&!!t.precondition.isEqual(e.precondition)&&!!function(t,e){return void 0===t&&void 0===e||!(!t||!e)&&R(t,e,((t,e)=>function(t,e){return t.field.isEqual(e.field)&&function(t,e){return t instanceof Ye&&e instanceof Ye||t instanceof Ze&&e instanceof Ze?R(t.elements,e.elements,Et):t instanceof er&&e instanceof er?Et(t.Pe,e.Pe):t instanceof Xe&&e instanceof Xe}(t.transform,e.transform)}(t,e)))}(t.fieldTransforms,e.fieldTransforms)&&(0===t.type?t.value.isEqual(e.value):1!==t.type||t.data.isEqual(e.data)&&t.fieldMask.isEqual(e.fieldMask))}class pr extends sr{constructor(t,e,r,o=[]){super(),this.key=t,this.value=e,this.precondition=r,this.fieldTransforms=o,this.type=0}getFieldMask(){return null}}class hr extends sr{constructor(t,e,r,o,n=[]){super(),this.key=t,this.data=e,this.fieldMask=r,this.precondition=o,this.fieldTransforms=n,this.type=1}getFieldMask(){return this.fieldMask}}function gr(t){const e=new Map;return t.fieldMask.fields.forEach((r=>{if(!r.isEmpty()){const o=t.data.field(r);e.set(r,o)}})),e}function br(t,e,r){const o=new Map;y(t.length===r.length);for(let n=0;n{const n=t.get(o.key),i=n.overlayedDocument;let a=this.applyToLocalView(i,n.mutatedFields);a=e.has(o.key)?null:a;const s=lr(i,a);null!==s&&r.set(o.key,s),i.isValidDocument()||i.convertToNoDocument(P.min())})),r}keys(){return this.mutations.reduce(((t,e)=>t.add(e.key)),Fe())}isEqual(t){return this.batchId===t.batchId&&R(this.mutations,t.mutations,((t,e)=>mr(t,e)))&&R(this.baseMutations,t.baseMutations,((t,e)=>mr(t,e)))}}class xr{constructor(t,e,r,o){this.batch=t,this.commitVersion=e,this.mutationResults=r,this.docVersions=o}static from(t,e,r){y(t.mutations.length===r.length);let o=je;const n=t.mutations;for(let t=0;t=8)throw new Lr(`Invalid padding: ${e}`);if(r<0)throw new Lr(`Invalid hash count: ${r}`);if(t.length>0&&0===this.hashCount)throw new Lr(`Invalid hash count: ${r}`);if(0===t.length&&0!==e)throw new Lr(`Invalid padding when bitmap length is 0: ${e}`);this.Te=8*t.length-e,this.Ie=s.jz.fromNumber(this.Te)}Ee(t,e,r){let o=t.add(e.multiply(s.jz.fromNumber(r)));return 1===o.compare(Tr)&&(o=new s.jz([o.getBits(0),o.getBits(1)],0)),o.modulo(this.Ie).toNumber()}de(t){return!!(this.bitmap[Math.floor(t/8)]&1<i.insert(t))),i}insert(t){if(0===this.Te)return;const e=Cr(t),[r,o]=Sr(e);for(let t=0;t0&&(this.we=!0,this.pe=t)}ve(){let t=Fe(),e=Fe(),r=Fe();return this.ge.forEach(((o,n)=>{switch(n){case 0:t=t.add(o);break;case 2:e=e.add(o);break;case 1:r=r.add(o);break;default:v()}})),new Or(this.pe,this.ye,t,e,r)}Ce(){this.we=!1,this.ge=zr()}Fe(t,e){this.we=!0,this.ge=this.ge.insert(t,e)}Me(t){this.we=!0,this.ge=this.ge.remove(t)}xe(){this.fe+=1}Oe(){this.fe-=1,y(this.fe>=0)}Ne(){this.we=!0,this.ye=!0}}class Vr{constructor(t){this.Le=t,this.Be=new Map,this.ke=Ne(),this.qe=jr(),this.Qe=jr(),this.Ke=new it(M)}$e(t){for(const e of t.Re)t.Ve&&t.Ve.isFoundDocument()?this.Ue(e,t.Ve):this.We(e,t.key,t.Ve);for(const e of t.removedTargetIds)this.We(e,t.key,t.Ve)}Ge(t){this.forEachTarget(t,(e=>{const r=this.ze(e);switch(t.state){case 0:this.je(e)&&r.De(t.resumeToken);break;case 1:r.Oe(),r.Se||r.Ce(),r.De(t.resumeToken);break;case 2:r.Oe(),r.Se||this.removeTarget(e);break;case 3:this.je(e)&&(r.Ne(),r.De(t.resumeToken));break;case 4:this.je(e)&&(this.He(e),r.De(t.resumeToken));break;default:v()}}))}forEachTarget(t,e){t.targetIds.length>0?t.targetIds.forEach(e):this.Be.forEach(((t,r)=>{this.je(r)&&e(r)}))}Je(t){const e=t.targetId,r=t.me.count,o=this.Ye(e);if(o){const n=o.target;if(ge(n))if(0===r){const t=new q(n.path);this.We(e,t,$t.newNoDocument(t,P.min()))}else y(1===r);else{const o=this.Ze(e);if(o!==r){const r=this.Xe(t),n=r?this.et(r,t,o):1;if(0!==n){this.He(e);const t=2===n?"TargetPurposeExistenceFilterMismatchBloom":"TargetPurposeExistenceFilterMismatch";this.Ke=this.Ke.insert(e,t)}}}}}Xe(t){const e=t.me.unchangedNames;if(!e||!e.bits)return null;const{bits:{bitmap:r="",padding:o=0},hashCount:n=0}=e;let i,a;try{i=bt(r).toUint8Array()}catch(t){if(t instanceof ut)return b("Decoding the base64 bloom filter in existence filter failed ("+t.message+"); ignoring the bloom filter and falling back to full re-query."),null;throw t}try{a=new Dr(i,o,n)}catch(t){return b(t instanceof Lr?"BloomFilter error: ":"Applying bloom filter failed: ",t),null}return 0===a.Te?null:a}et(t,e,r){return e.me.count===r-this.rt(t,e.targetId)?0:2}rt(t,e){const r=this.Le.getRemoteKeysForTarget(e);let o=0;return r.forEach((r=>{const n=this.Le.nt(),i=`projects/${n.projectId}/databases/${n.database}/documents/${r.path.canonicalString()}`;t.mightContain(i)||(this.We(e,r,null),o++)})),o}it(t){const e=new Map;this.Be.forEach(((r,o)=>{const n=this.Ye(o);if(n){if(r.current&&ge(n.target)){const e=new q(n.target.path);this.st(e).has(o)||this.ot(o,e)||this.We(o,e,$t.newNoDocument(e,t))}r.be&&(e.set(o,r.ve()),r.Ce())}}));let r=Fe();this.Qe.forEach(((t,e)=>{let o=!0;e.forEachWhile((t=>{const e=this.Ye(t);return!e||"TargetPurposeLimboResolution"===e.purpose||(o=!1,!1)})),o&&(r=r.add(t))})),this.ke.forEach(((e,r)=>r.setReadTime(t)));const o=new Nr(t,e,this.Ke,this.ke,r);return this.ke=Ne(),this.qe=jr(),this.Qe=jr(),this.Ke=new it(M),o}Ue(t,e){if(!this.je(t))return;const r=this.ot(t,e.key)?2:0;this.ze(t).Fe(e.key,r),this.ke=this.ke.insert(e.key,e),this.qe=this.qe.insert(e.key,this.st(e.key).add(t)),this.Qe=this.Qe.insert(e.key,this._t(e.key).add(t))}We(t,e,r){if(!this.je(t))return;const o=this.ze(t);this.ot(t,e)?o.Fe(e,1):o.Me(e),this.Qe=this.Qe.insert(e,this._t(e).delete(t)),this.Qe=this.Qe.insert(e,this._t(e).add(t)),r&&(this.ke=this.ke.insert(e,r))}removeTarget(t){this.Be.delete(t)}Ze(t){const e=this.ze(t).ve();return this.Le.getRemoteKeysForTarget(t).size+e.addedDocuments.size-e.removedDocuments.size}xe(t){this.ze(t).xe()}ze(t){let e=this.Be.get(t);return e||(e=new Pr,this.Be.set(t,e)),e}_t(t){let e=this.Qe.get(t);return e||(e=new lt(M),this.Qe=this.Qe.insert(t,e)),e}st(t){let e=this.qe.get(t);return e||(e=new lt(M),this.qe=this.qe.insert(t,e)),e}je(t){const e=null!==this.Ye(t);return e||h("WatchChangeAggregator","Detected inactive target",t),e}Ye(t){const e=this.Be.get(t);return e&&e.Se?null:this.Le.ut(t)}He(t){this.Be.set(t,new Pr),this.Le.getRemoteKeysForTarget(t).forEach((e=>{this.We(t,e,null)}))}ot(t,e){return this.Le.getRemoteKeysForTarget(t).has(e)}}function jr(){return new it(q.comparator)}function zr(){return new it(q.comparator)}const Fr={asc:"ASCENDING",desc:"DESCENDING"},qr={"<":"LESS_THAN","<=":"LESS_THAN_OR_EQUAL",">":"GREATER_THAN",">=":"GREATER_THAN_OR_EQUAL","==":"EQUAL","!=":"NOT_EQUAL","array-contains":"ARRAY_CONTAINS",in:"IN","not-in":"NOT_IN","array-contains-any":"ARRAY_CONTAINS_ANY"},$r={and:"AND",or:"OR"};class Ur{constructor(t,e){this.databaseId=t,this.useProto3Json=e}}function Hr(t,e){return t.useProto3Json||J(e)?e:{value:e}}function Gr(t,e){return t.useProto3Json?`${new Date(1e3*e.seconds).toISOString().replace(/\.\d*/,"").replace("Z","")}.${("000000000"+e.nanoseconds).slice(-9)}Z`:{seconds:""+e.seconds,nanos:e.nanoseconds}}function Kr(t,e){return t.useProto3Json?e.toBase64():e.toUint8Array()}function Wr(t,e){return Gr(t,e.toTimestamp())}function Qr(t){return y(!!t),P.fromTimestamp(function(t){const e=ht(t);return new B(e.seconds,e.nanos)}(t))}function Xr(t,e){return Yr(t,e).canonicalString()}function Yr(t,e){const r=function(t){return new j(["projects",t.projectId,"databases",t.database])}(t).child("documents");return void 0===e?r:r.child(e)}function Jr(t){const e=j.fromString(t);return y(fo(e)),e}function Zr(t,e){return Xr(t.databaseId,e.path)}function to(t,e){const r=Jr(e);if(r.get(1)!==t.databaseId.projectId)throw new _(x.INVALID_ARGUMENT,"Tried to deserialize key from different project: "+r.get(1)+" vs "+t.databaseId.projectId);if(r.get(3)!==t.databaseId.database)throw new _(x.INVALID_ARGUMENT,"Tried to deserialize key from different database: "+r.get(3)+" vs "+t.databaseId.database);return new q(oo(r))}function eo(t,e){return Xr(t.databaseId,e)}function ro(t){return new j(["projects",t.databaseId.projectId,"databases",t.databaseId.database]).canonicalString()}function oo(t){return y(t.length>4&&"documents"===t.get(4)),t.popFirst(5)}function no(t,e,r){return{name:Zr(t,e),fields:r.value.mapValue.fields}}function io(t,e){return{documents:[eo(t,e.path)]}}function ao(t,e){const r={structuredQuery:{}},o=e.path;let n;null!==e.collectionGroup?(n=o,r.structuredQuery.from=[{collectionId:e.collectionGroup,allDescendants:!0}]):(n=o.popLast(),r.structuredQuery.from=[{collectionId:o.lastSegment()}]),r.parent=eo(t,n);const i=function(t){if(0!==t.length)return go(Yt.create(t,"and"))}(e.filters);i&&(r.structuredQuery.where=i);const a=function(t){if(0!==t.length)return t.map((t=>function(t){return{field:po(t.field),direction:co(t.dir)}}(t)))}(e.orderBy);a&&(r.structuredQuery.orderBy=a);const s=Hr(t,e.limit);return null!==s&&(r.structuredQuery.limit=s),e.startAt&&(r.structuredQuery.startAt=function(t){return{before:t.inclusive,values:t.position}}(e.startAt)),e.endAt&&(r.structuredQuery.endAt=function(t){return{before:!t.inclusive,values:t.position}}(e.endAt)),{ct:r,parent:n}}function so(t){let e=function(t){const e=Jr(t);return 4===e.length?j.emptyPath():oo(e)}(t.parent);const r=t.structuredQuery,o=r.from?r.from.length:0;let n=null;if(o>0){y(1===o);const t=r.from[0];t.allDescendants?n=t.collectionId:e=e.child(t.collectionId)}let i=[];r.where&&(i=function(t){const e=lo(t);return e instanceof Yt&&Zt(e)?e.getFilters():[e]}(r.where));let a=[];r.orderBy&&(a=function(t){return t.map((t=>function(t){return new Kt(ho(t.field),function(t){switch(t){case"ASCENDING":return"asc";case"DESCENDING":return"desc";default:return}}(t.direction))}(t)))}(r.orderBy));let s=null;r.limit&&(s=function(t){let e;return e="object"==typeof t?t.value:t,J(e)?null:e}(r.limit));let l=null;r.startAt&&(l=function(t){const e=!!t.before,r=t.values||[];return new Ut(r,e)}(r.startAt));let c=null;return r.endAt&&(c=function(t){const e=!t.before,r=t.values||[];return new Ut(r,e)}(r.endAt)),function(t,e,r,o,n,i,a,s){return new be(t,e,r,o,n,i,a,s)}(e,n,a,i,s,"F",l,c)}function lo(t){return void 0!==t.unaryFilter?function(t){switch(t.unaryFilter.op){case"IS_NAN":const e=ho(t.unaryFilter.field);return Xt.create(e,"==",{doubleValue:NaN});case"IS_NULL":const r=ho(t.unaryFilter.field);return Xt.create(r,"==",{nullValue:"NULL_VALUE"});case"IS_NOT_NAN":const o=ho(t.unaryFilter.field);return Xt.create(o,"!=",{doubleValue:NaN});case"IS_NOT_NULL":const n=ho(t.unaryFilter.field);return Xt.create(n,"!=",{nullValue:"NULL_VALUE"});default:return v()}}(t):void 0!==t.fieldFilter?function(t){return Xt.create(ho(t.fieldFilter.field),function(t){switch(t){case"EQUAL":return"==";case"NOT_EQUAL":return"!=";case"GREATER_THAN":return">";case"GREATER_THAN_OR_EQUAL":return">=";case"LESS_THAN":return"<";case"LESS_THAN_OR_EQUAL":return"<=";case"ARRAY_CONTAINS":return"array-contains";case"IN":return"in";case"NOT_IN":return"not-in";case"ARRAY_CONTAINS_ANY":return"array-contains-any";default:return v()}}(t.fieldFilter.op),t.fieldFilter.value)}(t):void 0!==t.compositeFilter?function(t){return Yt.create(t.compositeFilter.filters.map((t=>lo(t))),function(t){switch(t){case"AND":return"and";case"OR":return"or";default:return v()}}(t.compositeFilter.op))}(t):v()}function co(t){return Fr[t]}function uo(t){return qr[t]}function mo(t){return $r[t]}function po(t){return{fieldPath:t.canonicalString()}}function ho(t){return F.fromServerFormat(t.fieldPath)}function go(t){return t instanceof Xt?function(t){if("=="===t.op){if(Bt(t.value))return{unaryFilter:{field:po(t.field),op:"IS_NAN"}};if(Rt(t.value))return{unaryFilter:{field:po(t.field),op:"IS_NULL"}}}else if("!="===t.op){if(Bt(t.value))return{unaryFilter:{field:po(t.field),op:"IS_NOT_NAN"}};if(Rt(t.value))return{unaryFilter:{field:po(t.field),op:"IS_NOT_NULL"}}}return{fieldFilter:{field:po(t.field),op:uo(t.op),value:t.value}}}(t):t instanceof Yt?function(t){const e=t.getFilters().map((t=>go(t)));return 1===e.length?e[0]:{compositeFilter:{op:mo(t.op),filters:e}}}(t):v()}function bo(t){const e=[];return t.fields.forEach((t=>e.push(t.canonicalString()))),{fieldPaths:e}}function fo(t){return t.length>=4&&"projects"===t.get(0)&&"databases"===t.get(2)}class vo{constructor(t,e,r,o,n=P.min(),i=P.min(),a=mt.EMPTY_BYTE_STRING,s=null){this.target=t,this.targetId=e,this.purpose=r,this.sequenceNumber=o,this.snapshotVersion=n,this.lastLimboFreeSnapshotVersion=i,this.resumeToken=a,this.expectedCount=s}withSequenceNumber(t){return new vo(this.target,this.targetId,this.purpose,t,this.snapshotVersion,this.lastLimboFreeSnapshotVersion,this.resumeToken,this.expectedCount)}withResumeToken(t,e){return new vo(this.target,this.targetId,this.purpose,this.sequenceNumber,e,this.lastLimboFreeSnapshotVersion,t,null)}withExpectedCount(t){return new vo(this.target,this.targetId,this.purpose,this.sequenceNumber,this.snapshotVersion,this.lastLimboFreeSnapshotVersion,this.resumeToken,t)}withLastLimboFreeSnapshotVersion(t){return new vo(this.target,this.targetId,this.purpose,this.sequenceNumber,this.snapshotVersion,t,this.resumeToken,this.expectedCount)}}class yo{constructor(t){this.ht=t}}function wo(t){const e=so({parent:t.parent,structuredQuery:t.structuredQuery});return"LAST"===t.limitType?ke(e,e.limit,"L"):e}class xo{constructor(){}Et(t,e){this.dt(t,e),e.At()}dt(t,e){if("nullValue"in t)this.Rt(e,5);else if("booleanValue"in t)this.Rt(e,10),e.Vt(t.booleanValue?1:0);else if("integerValue"in t)this.Rt(e,15),e.Vt(gt(t.integerValue));else if("doubleValue"in t){const r=gt(t.doubleValue);isNaN(r)?this.Rt(e,13):(this.Rt(e,15),Z(r)?e.Vt(0):e.Vt(r))}else if("timestampValue"in t){let r=t.timestampValue;this.Rt(e,20),"string"==typeof r&&(r=ht(r)),e.ft(`${r.seconds||""}`),e.Vt(r.nanos||0)}else if("stringValue"in t)this.gt(t.stringValue,e),this.yt(e);else if("bytesValue"in t)this.Rt(e,30),e.wt(bt(t.bytesValue)),this.yt(e);else if("referenceValue"in t)this.St(t.referenceValue,e);else if("geoPointValue"in t){const r=t.geoPointValue;this.Rt(e,45),e.Vt(r.latitude||0),e.Vt(r.longitude||0)}else"mapValue"in t?zt(t)?this.Rt(e,Number.MAX_SAFE_INTEGER):Vt(t)?this.bt(t.mapValue,e):(this.Dt(t.mapValue,e),this.yt(e)):"arrayValue"in t?(this.vt(t.arrayValue,e),this.yt(e)):v()}gt(t,e){this.Rt(e,25),this.Ct(t,e)}Ct(t,e){e.ft(t)}Dt(t,e){const r=t.fields||{};this.Rt(e,55);for(const t of Object.keys(r))this.gt(t,e),this.dt(r[t],e)}bt(t,e){var r,o;const n=t.fields||{};this.Rt(e,53);const i="value",a=(null===(o=null===(r=n[i].arrayValue)||void 0===r?void 0:r.values)||void 0===o?void 0:o.length)||0;this.Rt(e,15),e.Vt(gt(a)),this.gt(i,e),this.dt(n[i],e)}vt(t,e){const r=t.values||[];this.Rt(e,50);for(const t of r)this.dt(t,e)}St(t,e){this.Rt(e,37),q.fromName(t).path.forEach((t=>{this.Rt(e,60),this.Ct(t,e)}))}Rt(t,e){t.Vt(e)}yt(t){t.Vt(2)}}xo.Ft=new xo;class _o{constructor(){this.ln=new ko}addToCollectionParentIndex(t,e){return this.ln.add(e),Q.resolve()}getCollectionParents(t,e){return Q.resolve(this.ln.getEntries(e))}addFieldIndex(t,e){return Q.resolve()}deleteFieldIndex(t,e){return Q.resolve()}deleteAllFieldIndexes(t){return Q.resolve()}createTargetIndexes(t,e){return Q.resolve()}getDocumentsMatchingTarget(t,e){return Q.resolve(null)}getIndexType(t,e){return Q.resolve(0)}getFieldIndexes(t,e){return Q.resolve([])}getNextCollectionGroupToUpdate(t){return Q.resolve(null)}getMinOffset(t,e){return Q.resolve(U.min())}getMinOffsetFromCollectionGroup(t,e){return Q.resolve(U.min())}updateCollectionGroup(t,e,r){return Q.resolve()}updateIndexEntries(t,e){return Q.resolve()}}class ko{constructor(){this.index={}}add(t){const e=t.lastSegment(),r=t.popLast(),o=this.index[e]||new lt(j.comparator),n=!o.has(r);return this.index[e]=o.add(r),n}has(t){const e=t.lastSegment(),r=t.popLast(),o=this.index[e];return o&&o.has(r)}getEntries(t){return(this.index[t]||new lt(j.comparator)).toArray()}}new Uint8Array(0);const Eo={didRun:!1,sequenceNumbersCollected:0,targetsRemoved:0,documentsRemoved:0};class Io{static withCacheSize(t){return new Io(t,Io.DEFAULT_COLLECTION_PERCENTILE,Io.DEFAULT_MAX_SEQUENCE_NUMBERS_TO_COLLECT)}constructor(t,e,r){this.cacheSizeCollectionThreshold=t,this.percentileToCollect=e,this.maximumSequenceNumbersToCollect=r}}Io.DEFAULT_COLLECTION_PERCENTILE=10,Io.DEFAULT_MAX_SEQUENCE_NUMBERS_TO_COLLECT=1e3,Io.DEFAULT=new Io(41943040,Io.DEFAULT_COLLECTION_PERCENTILE,Io.DEFAULT_MAX_SEQUENCE_NUMBERS_TO_COLLECT),Io.DISABLED=new Io(-1,0,0);class Ao{constructor(t){this.kn=t}next(){return this.kn+=2,this.kn}static qn(){return new Ao(0)}static Qn(){return new Ao(-1)}}function To([t,e],[r,o]){const n=M(t,r);return 0===n?M(e,o):n}class Co{constructor(t){this.Gn=t,this.buffer=new lt(To),this.zn=0}jn(){return++this.zn}Hn(t){const e=[t,this.jn()];if(this.buffer.size{this.Jn=null;try{await this.localStore.collectGarbage(this.garbageCollector)}catch(t){X(t)?h("LruGarbageCollector","Ignoring IndexedDB error during garbage collection: ",t):await W(t)}await this.Yn(3e5)}))}}class Do{constructor(t,e){this.Zn=t,this.params=e}calculateTargetCount(t,e){return this.Zn.Xn(t).next((t=>Math.floor(e/100*t)))}nthSequenceNumber(t,e){if(0===e)return Q.resolve(Y.oe);const r=new Co(e);return this.Zn.forEachTarget(t,(t=>r.Hn(t.sequenceNumber))).next((()=>this.Zn.er(t,(t=>r.Hn(t))))).next((()=>r.maxValue))}removeTargets(t,e,r){return this.Zn.removeTargets(t,e,r)}removeOrphanedDocuments(t,e){return this.Zn.removeOrphanedDocuments(t,e)}collect(t,e){return-1===this.params.cacheSizeCollectionThreshold?(h("LruGarbageCollector","Garbage collection skipped; disabled"),Q.resolve(Eo)):this.getCacheSize(t).next((r=>r(e>this.params.maximumSequenceNumbersToCollect?(h("LruGarbageCollector",`Capping sequence numbers to collect down to the maximum of ${this.params.maximumSequenceNumbersToCollect} from ${e}`),o=this.params.maximumSequenceNumbersToCollect):o=e,a=Date.now(),this.nthSequenceNumber(t,o)))).next((o=>(r=o,s=Date.now(),this.removeTargets(t,r,e)))).next((e=>(n=e,l=Date.now(),this.removeOrphanedDocuments(t,r)))).next((t=>(c=Date.now(),p()<=i.$b.DEBUG&&h("LruGarbageCollector",`LRU Garbage Collection\n\tCounted targets in ${a-d}ms\n\tDetermined least recently used ${o} in `+(s-a)+"ms\n"+`\tRemoved ${n} targets in `+(l-s)+"ms\n"+`\tRemoved ${t} documents in `+(c-l)+"ms\n"+`Total Duration: ${c-d}ms`),Q.resolve({didRun:!0,sequenceNumbersCollected:o,targetsRemoved:n,documentsRemoved:t}))))}}class Lo{constructor(){this.changes=new De((t=>t.toString()),((t,e)=>t.isEqual(e))),this.changesApplied=!1}addEntry(t){this.assertNotApplied(),this.changes.set(t.key,t)}removeEntry(t,e){this.assertNotApplied(),this.changes.set(t,$t.newInvalidDocument(t).setReadTime(e))}getEntry(t,e){this.assertNotApplied();const r=this.changes.get(e);return void 0!==r?Q.resolve(r):this.getFromCache(t,e)}getEntries(t,e){return this.getAllFromCache(t,e)}apply(t){return this.assertNotApplied(),this.changesApplied=!0,this.applyChanges(t)}assertNotApplied(){}}class No{constructor(t,e){this.overlayedDocument=t,this.mutatedFields=e}}class Oo{constructor(t,e,r,o){this.remoteDocumentCache=t,this.mutationQueue=e,this.documentOverlayCache=r,this.indexManager=o}getDocument(t,e){let r=null;return this.documentOverlayCache.getOverlay(t,e).next((o=>(r=o,this.remoteDocumentCache.getEntry(t,e)))).next((t=>(null!==r&&dr(r.mutation,t,dt.empty(),B.now()),t)))}getDocuments(t,e){return this.remoteDocumentCache.getEntries(t,e).next((e=>this.getLocalViewOfDocuments(t,e,Fe()).next((()=>e))))}getLocalViewOfDocuments(t,e,r=Fe()){const o=Be();return this.populateOverlays(t,o,e).next((()=>this.computeViews(t,e,o,r).next((t=>{let e=Me();return t.forEach(((t,r)=>{e=e.insert(t,r.overlayedDocument)})),e}))))}getOverlayedDocuments(t,e){const r=Be();return this.populateOverlays(t,r,e).next((()=>this.computeViews(t,e,r,Fe())))}populateOverlays(t,e,r){const o=[];return r.forEach((t=>{e.has(t)||o.push(t)})),this.documentOverlayCache.getOverlays(t,o).next((t=>{t.forEach(((t,r)=>{e.set(t,r)}))}))}computeViews(t,e,r,o){let n=Ne();const i=Ve(),a=Ve();return e.forEach(((t,e)=>{const a=r.get(e.key);o.has(e.key)&&(void 0===a||a.mutation instanceof hr)?n=n.insert(e.key,e):void 0!==a?(i.set(e.key,a.mutation.getFieldMask()),dr(a.mutation,e,a.mutation.getFieldMask(),B.now())):i.set(e.key,dt.empty())})),this.recalculateAndSaveOverlays(t,n).next((t=>(t.forEach(((t,e)=>i.set(t,e))),e.forEach(((t,e)=>{var r;return a.set(t,new No(e,null!==(r=i.get(t))&&void 0!==r?r:null))})),a)))}recalculateAndSaveOverlays(t,e){const r=Ve();let o=new it(((t,e)=>t-e)),n=Fe();return this.mutationQueue.getAllMutationBatchesAffectingDocumentKeys(t,e).next((t=>{for(const n of t)n.keys().forEach((t=>{const i=e.get(t);if(null===i)return;let a=r.get(t)||dt.empty();a=n.applyToLocalView(i,a),r.set(t,a);const s=(o.get(n.batchId)||Fe()).add(t);o=o.insert(n.batchId,s)}))})).next((()=>{const i=[],a=o.getReverseIterator();for(;a.hasNext();){const o=a.getNext(),s=o.key,l=o.value,c=Pe();l.forEach((t=>{if(!n.has(t)){const o=lr(e.get(t),r.get(t));null!==o&&c.set(t,o),n=n.add(t)}})),i.push(this.documentOverlayCache.saveOverlays(t,s,c))}return Q.waitFor(i)})).next((()=>r))}recalculateAndSaveOverlaysForDocumentKeys(t,e){return this.remoteDocumentCache.getEntries(t,e).next((e=>this.recalculateAndSaveOverlays(t,e)))}getDocumentsMatchingQuery(t,e,r,o){return function(t){return q.isDocumentKey(t.path)&&null===t.collectionGroup&&0===t.filters.length}(e)?this.getDocumentsMatchingDocumentQuery(t,e.path):ye(e)?this.getDocumentsMatchingCollectionGroupQuery(t,e,r,o):this.getDocumentsMatchingCollectionQuery(t,e,r,o)}getNextDocuments(t,e,r,o){return this.remoteDocumentCache.getAllFromCollectionGroup(t,e,r,o).next((n=>{const i=o-n.size>0?this.documentOverlayCache.getOverlaysForCollectionGroup(t,e,r.largestBatchId,o-n.size):Q.resolve(Be());let a=-1,s=n;return i.next((e=>Q.forEach(e,((e,r)=>(a{s=s.insert(e,t)}))))).next((()=>this.populateOverlays(t,e,n))).next((()=>this.computeViews(t,s,e,Fe()))).next((t=>({batchId:a,changes:Re(t)})))))}))}getDocumentsMatchingDocumentQuery(t,e){return this.getDocument(t,new q(e)).next((t=>{let e=Me();return t.isFoundDocument()&&(e=e.insert(t.key,t)),e}))}getDocumentsMatchingCollectionGroupQuery(t,e,r,o){const n=e.collectionGroup;let i=Me();return this.indexManager.getCollectionParents(t,n).next((a=>Q.forEach(a,(a=>{const s=function(t,e){return new be(e,null,t.explicitOrderBy.slice(),t.filters.slice(),t.limit,t.limitType,t.startAt,t.endAt)}(e,a.child(n));return this.getDocumentsMatchingCollectionQuery(t,s,r,o).next((t=>{t.forEach(((t,e)=>{i=i.insert(t,e)}))}))})).next((()=>i))))}getDocumentsMatchingCollectionQuery(t,e,r,o){let n;return this.documentOverlayCache.getOverlaysForCollection(t,e.path,r.largestBatchId).next((i=>(n=i,this.remoteDocumentCache.getDocumentsMatchingQuery(t,e,r,n,o)))).next((t=>{n.forEach(((e,r)=>{const o=r.getKey();null===t.get(o)&&(t=t.insert(o,$t.newInvalidDocument(o)))}));let r=Me();return t.forEach(((t,o)=>{const i=n.get(t);void 0!==i&&dr(i.mutation,o,dt.empty(),B.now()),Te(e,o)&&(r=r.insert(t,o))})),r}))}}class Mo{constructor(t){this.serializer=t,this.Tr=new Map,this.Ir=new Map}getBundleMetadata(t,e){return Q.resolve(this.Tr.get(e))}saveBundleMetadata(t,e){return this.Tr.set(e.id,function(t){return{id:t.id,version:t.version,createTime:Qr(t.createTime)}}(e)),Q.resolve()}getNamedQuery(t,e){return Q.resolve(this.Ir.get(e))}saveNamedQuery(t,e){return this.Ir.set(e.name,function(t){return{name:t.name,query:wo(t.bundledQuery),readTime:Qr(t.readTime)}}(e)),Q.resolve()}}class Ro{constructor(){this.overlays=new it(q.comparator),this.Er=new Map}getOverlay(t,e){return Q.resolve(this.overlays.get(e))}getOverlays(t,e){const r=Be();return Q.forEach(e,(e=>this.getOverlay(t,e).next((t=>{null!==t&&r.set(e,t)})))).next((()=>r))}saveOverlays(t,e,r){return r.forEach(((r,o)=>{this.Tt(t,e,o)})),Q.resolve()}removeOverlaysForBatchId(t,e,r){const o=this.Er.get(r);return void 0!==o&&(o.forEach((t=>this.overlays=this.overlays.remove(t))),this.Er.delete(r)),Q.resolve()}getOverlaysForCollection(t,e,r){const o=Be(),n=e.length+1,i=new q(e.child("")),a=this.overlays.getIteratorFrom(i);for(;a.hasNext();){const t=a.getNext().value,i=t.getKey();if(!e.isPrefixOf(i.path))break;i.path.length===n&&t.largestBatchId>r&&o.set(t.getKey(),t)}return Q.resolve(o)}getOverlaysForCollectionGroup(t,e,r,o){let n=new it(((t,e)=>t-e));const i=this.overlays.getIterator();for(;i.hasNext();){const t=i.getNext().value;if(t.getKey().getCollectionGroup()===e&&t.largestBatchId>r){let e=n.get(t.largestBatchId);null===e&&(e=Be(),n=n.insert(t.largestBatchId,e)),e.set(t.getKey(),t)}}const a=Be(),s=n.getIterator();for(;s.hasNext()&&(s.getNext().value.forEach(((t,e)=>a.set(t,e))),!(a.size()>=o)););return Q.resolve(a)}Tt(t,e,r){const o=this.overlays.get(r.key);if(null!==o){const t=this.Er.get(o.largestBatchId).delete(r.key);this.Er.set(o.largestBatchId,t)}this.overlays=this.overlays.insert(r.key,new _r(e,r));let n=this.Er.get(e);void 0===n&&(n=Fe(),this.Er.set(e,n)),this.Er.set(e,n.add(r.key))}}class Bo{constructor(){this.sessionToken=mt.EMPTY_BYTE_STRING}getSessionToken(t){return Q.resolve(this.sessionToken)}setSessionToken(t,e){return this.sessionToken=e,Q.resolve()}}class Po{constructor(){this.dr=new lt(Vo.Ar),this.Rr=new lt(Vo.Vr)}isEmpty(){return this.dr.isEmpty()}addReference(t,e){const r=new Vo(t,e);this.dr=this.dr.add(r),this.Rr=this.Rr.add(r)}mr(t,e){t.forEach((t=>this.addReference(t,e)))}removeReference(t,e){this.gr(new Vo(t,e))}pr(t,e){t.forEach((t=>this.removeReference(t,e)))}yr(t){const e=new q(new j([])),r=new Vo(e,t),o=new Vo(e,t+1),n=[];return this.Rr.forEachInRange([r,o],(t=>{this.gr(t),n.push(t.key)})),n}wr(){this.dr.forEach((t=>this.gr(t)))}gr(t){this.dr=this.dr.delete(t),this.Rr=this.Rr.delete(t)}Sr(t){const e=new q(new j([])),r=new Vo(e,t),o=new Vo(e,t+1);let n=Fe();return this.Rr.forEachInRange([r,o],(t=>{n=n.add(t.key)})),n}containsKey(t){const e=new Vo(t,0),r=this.dr.firstAfterOrEqual(e);return null!==r&&t.isEqual(r.key)}}class Vo{constructor(t,e){this.key=t,this.br=e}static Ar(t,e){return q.comparator(t.key,e.key)||M(t.br,e.br)}static Vr(t,e){return M(t.br,e.br)||q.comparator(t.key,e.key)}}class jo{constructor(t,e){this.indexManager=t,this.referenceDelegate=e,this.mutationQueue=[],this.Dr=1,this.vr=new lt(Vo.Ar)}checkEmpty(t){return Q.resolve(0===this.mutationQueue.length)}addMutationBatch(t,e,r,o){const n=this.Dr;this.Dr++,this.mutationQueue.length>0&&this.mutationQueue[this.mutationQueue.length-1];const i=new wr(n,e,r,o);this.mutationQueue.push(i);for(const e of o)this.vr=this.vr.add(new Vo(e.key,n)),this.indexManager.addToCollectionParentIndex(t,e.key.path.popLast());return Q.resolve(i)}lookupMutationBatch(t,e){return Q.resolve(this.Cr(e))}getNextMutationBatchAfterBatchId(t,e){const r=e+1,o=this.Fr(r),n=o<0?0:o;return Q.resolve(this.mutationQueue.length>n?this.mutationQueue[n]:null)}getHighestUnacknowledgedBatchId(){return Q.resolve(0===this.mutationQueue.length?-1:this.Dr-1)}getAllMutationBatches(t){return Q.resolve(this.mutationQueue.slice())}getAllMutationBatchesAffectingDocumentKey(t,e){const r=new Vo(e,0),o=new Vo(e,Number.POSITIVE_INFINITY),n=[];return this.vr.forEachInRange([r,o],(t=>{const e=this.Cr(t.br);n.push(e)})),Q.resolve(n)}getAllMutationBatchesAffectingDocumentKeys(t,e){let r=new lt(M);return e.forEach((t=>{const e=new Vo(t,0),o=new Vo(t,Number.POSITIVE_INFINITY);this.vr.forEachInRange([e,o],(t=>{r=r.add(t.br)}))})),Q.resolve(this.Mr(r))}getAllMutationBatchesAffectingQuery(t,e){const r=e.path,o=r.length+1;let n=r;q.isDocumentKey(n)||(n=n.child(""));const i=new Vo(new q(n),0);let a=new lt(M);return this.vr.forEachWhile((t=>{const e=t.key.path;return!!r.isPrefixOf(e)&&(e.length===o&&(a=a.add(t.br)),!0)}),i),Q.resolve(this.Mr(a))}Mr(t){const e=[];return t.forEach((t=>{const r=this.Cr(t);null!==r&&e.push(r)})),e}removeMutationBatch(t,e){y(0===this.Or(e.batchId,"removed")),this.mutationQueue.shift();let r=this.vr;return Q.forEach(e.mutations,(o=>{const n=new Vo(o.key,e.batchId);return r=r.delete(n),this.referenceDelegate.markPotentiallyOrphaned(t,o.key)})).next((()=>{this.vr=r}))}Ln(t){}containsKey(t,e){const r=new Vo(e,0),o=this.vr.firstAfterOrEqual(r);return Q.resolve(e.isEqual(o&&o.key))}performConsistencyCheck(t){return this.mutationQueue.length,Q.resolve()}Or(t,e){return this.Fr(t)}Fr(t){return 0===this.mutationQueue.length?0:t-this.mutationQueue[0].batchId}Cr(t){const e=this.Fr(t);return e<0||e>=this.mutationQueue.length?null:this.mutationQueue[e]}}class zo{constructor(t){this.Nr=t,this.docs=new it(q.comparator),this.size=0}setIndexManager(t){this.indexManager=t}addEntry(t,e){const r=e.key,o=this.docs.get(r),n=o?o.size:0,i=this.Nr(e);return this.docs=this.docs.insert(r,{document:e.mutableCopy(),size:i}),this.size+=i-n,this.indexManager.addToCollectionParentIndex(t,r.path.popLast())}removeEntry(t){const e=this.docs.get(t);e&&(this.docs=this.docs.remove(t),this.size-=e.size)}getEntry(t,e){const r=this.docs.get(e);return Q.resolve(r?r.document.mutableCopy():$t.newInvalidDocument(e))}getEntries(t,e){let r=Ne();return e.forEach((t=>{const e=this.docs.get(t);r=r.insert(t,e?e.document.mutableCopy():$t.newInvalidDocument(t))})),Q.resolve(r)}getDocumentsMatchingQuery(t,e,r,o){let n=Ne();const i=e.path,a=new q(i.child("")),s=this.docs.getIteratorFrom(a);for(;s.hasNext();){const{key:t,value:{document:a}}=s.getNext();if(!i.isPrefixOf(t.path))break;t.path.length>i.length+1||H($(a),r)<=0||(o.has(a.key)||Te(e,a))&&(n=n.insert(a.key,a.mutableCopy()))}return Q.resolve(n)}getAllFromCollectionGroup(t,e,r,o){v()}Lr(t,e){return Q.forEach(this.docs,(t=>e(t)))}newChangeBuffer(t){return new Fo(this)}getSize(t){return Q.resolve(this.size)}}class Fo extends Lo{constructor(t){super(),this.hr=t}applyChanges(t){const e=[];return this.changes.forEach(((r,o)=>{o.isValidDocument()?e.push(this.hr.addEntry(t,o)):this.hr.removeEntry(r)})),Q.waitFor(e)}getFromCache(t,e){return this.hr.getEntry(t,e)}getAllFromCache(t,e){return this.hr.getEntries(t,e)}}class qo{constructor(t){this.persistence=t,this.Br=new De((t=>pe(t)),he),this.lastRemoteSnapshotVersion=P.min(),this.highestTargetId=0,this.kr=0,this.qr=new Po,this.targetCount=0,this.Qr=Ao.qn()}forEachTarget(t,e){return this.Br.forEach(((t,r)=>e(r))),Q.resolve()}getLastRemoteSnapshotVersion(t){return Q.resolve(this.lastRemoteSnapshotVersion)}getHighestSequenceNumber(t){return Q.resolve(this.kr)}allocateTargetId(t){return this.highestTargetId=this.Qr.next(),Q.resolve(this.highestTargetId)}setTargetsMetadata(t,e,r){return r&&(this.lastRemoteSnapshotVersion=r),e>this.kr&&(this.kr=e),Q.resolve()}Un(t){this.Br.set(t.target,t);const e=t.targetId;e>this.highestTargetId&&(this.Qr=new Ao(e),this.highestTargetId=e),t.sequenceNumber>this.kr&&(this.kr=t.sequenceNumber)}addTargetData(t,e){return this.Un(e),this.targetCount+=1,Q.resolve()}updateTargetData(t,e){return this.Un(e),Q.resolve()}removeTargetData(t,e){return this.Br.delete(e.target),this.qr.yr(e.targetId),this.targetCount-=1,Q.resolve()}removeTargets(t,e,r){let o=0;const n=[];return this.Br.forEach(((i,a)=>{a.sequenceNumber<=e&&null===r.get(a.targetId)&&(this.Br.delete(i),n.push(this.removeMatchingKeysForTargetId(t,a.targetId)),o++)})),Q.waitFor(n).next((()=>o))}getTargetCount(t){return Q.resolve(this.targetCount)}getTargetData(t,e){const r=this.Br.get(e)||null;return Q.resolve(r)}addMatchingKeys(t,e,r){return this.qr.mr(e,r),Q.resolve()}removeMatchingKeys(t,e,r){this.qr.pr(e,r);const o=this.persistence.referenceDelegate,n=[];return o&&e.forEach((e=>{n.push(o.markPotentiallyOrphaned(t,e))})),Q.waitFor(n)}removeMatchingKeysForTargetId(t,e){return this.qr.yr(e),Q.resolve()}getMatchingKeysForTargetId(t,e){const r=this.qr.Sr(e);return Q.resolve(r)}containsKey(t,e){return Q.resolve(this.qr.containsKey(e))}}class $o{constructor(t,e){this.Kr={},this.overlays={},this.$r=new Y(0),this.Ur=!1,this.Ur=!0,this.Wr=new Bo,this.referenceDelegate=t(this),this.Gr=new qo(this),this.indexManager=new _o,this.remoteDocumentCache=function(t){return new zo(t)}((t=>this.referenceDelegate.zr(t))),this.serializer=new yo(e),this.jr=new Mo(this.serializer)}start(){return Promise.resolve()}shutdown(){return this.Ur=!1,Promise.resolve()}get started(){return this.Ur}setDatabaseDeletedListener(){}setNetworkEnabled(){}getIndexManager(t){return this.indexManager}getDocumentOverlayCache(t){let e=this.overlays[t.toKey()];return e||(e=new Ro,this.overlays[t.toKey()]=e),e}getMutationQueue(t,e){let r=this.Kr[t.toKey()];return r||(r=new jo(e,this.referenceDelegate),this.Kr[t.toKey()]=r),r}getGlobalsCache(){return this.Wr}getTargetCache(){return this.Gr}getRemoteDocumentCache(){return this.remoteDocumentCache}getBundleCache(){return this.jr}runTransaction(t,e,r){h("MemoryPersistence","Starting transaction:",t);const o=new Uo(this.$r.next());return this.referenceDelegate.Hr(),r(o).next((t=>this.referenceDelegate.Jr(o).next((()=>t)))).toPromise().then((t=>(o.raiseOnCommittedEvent(),t)))}Yr(t,e){return Q.or(Object.values(this.Kr).map((r=>()=>r.containsKey(t,e))))}}class Uo extends K{constructor(t){super(),this.currentSequenceNumber=t}}class Ho{constructor(t){this.persistence=t,this.Zr=new Po,this.Xr=null}static ei(t){return new Ho(t)}get ti(){if(this.Xr)return this.Xr;throw v()}addReference(t,e,r){return this.Zr.addReference(r,e),this.ti.delete(r.toString()),Q.resolve()}removeReference(t,e,r){return this.Zr.removeReference(r,e),this.ti.add(r.toString()),Q.resolve()}markPotentiallyOrphaned(t,e){return this.ti.add(e.toString()),Q.resolve()}removeTarget(t,e){this.Zr.yr(e.targetId).forEach((t=>this.ti.add(t.toString())));const r=this.persistence.getTargetCache();return r.getMatchingKeysForTargetId(t,e.targetId).next((t=>{t.forEach((t=>this.ti.add(t.toString())))})).next((()=>r.removeTargetData(t,e)))}Hr(){this.Xr=new Set}Jr(t){const e=this.persistence.getRemoteDocumentCache().newChangeBuffer();return Q.forEach(this.ti,(r=>{const o=q.fromPath(r);return this.ni(t,o).next((t=>{t||e.removeEntry(o,P.min())}))})).next((()=>(this.Xr=null,e.apply(t))))}updateLimboDocument(t,e){return this.ni(t,e).next((t=>{t?this.ti.delete(e.toString()):this.ti.add(e.toString())}))}zr(t){return 0}ni(t,e){return Q.or([()=>Q.resolve(this.Zr.containsKey(e)),()=>this.persistence.getTargetCache().containsKey(t,e),()=>this.persistence.Yr(t,e)])}}class Go{constructor(t,e){this.persistence=t,this.ri=new De((t=>function(t){let e="";for(let r=0;r0&&(e=et(e)),e=tt(t.get(r),e);return et(e)}(t.path)),((t,e)=>t.isEqual(e))),this.garbageCollector=function(t,e){return new Do(t,e)}(this,e)}static ei(t,e){return new Go(t,e)}Hr(){}Jr(t){return Q.resolve()}forEachTarget(t,e){return this.persistence.getTargetCache().forEachTarget(t,e)}Xn(t){const e=this.nr(t);return this.persistence.getTargetCache().getTargetCount(t).next((t=>e.next((e=>t+e))))}nr(t){let e=0;return this.er(t,(t=>{e++})).next((()=>e))}er(t,e){return Q.forEach(this.ri,((r,o)=>this.ir(t,r,o).next((t=>t?Q.resolve():e(o)))))}removeTargets(t,e,r){return this.persistence.getTargetCache().removeTargets(t,e,r)}removeOrphanedDocuments(t,e){let r=0;const o=this.persistence.getRemoteDocumentCache(),n=o.newChangeBuffer();return o.Lr(t,(o=>this.ir(t,o,e).next((t=>{t||(r++,n.removeEntry(o,P.min()))})))).next((()=>n.apply(t))).next((()=>r))}markPotentiallyOrphaned(t,e){return this.ri.set(e,t.currentSequenceNumber),Q.resolve()}removeTarget(t,e){const r=e.withSequenceNumber(t.currentSequenceNumber);return this.persistence.getTargetCache().updateTargetData(t,r)}addReference(t,e,r){return this.ri.set(r,t.currentSequenceNumber),Q.resolve()}removeReference(t,e,r){return this.ri.set(r,t.currentSequenceNumber),Q.resolve()}updateLimboDocument(t,e){return this.ri.set(e,t.currentSequenceNumber),Q.resolve()}zr(t){let e=t.key.toString().length;return t.isFoundDocument()&&(e+=Lt(t.data.value)),e}ir(t,e,r){return Q.or([()=>this.persistence.Yr(t,e),()=>this.persistence.getTargetCache().containsKey(t,e),()=>{const t=this.ri.get(e);return Q.resolve(void 0!==t&&t>r)}])}getCacheSize(t){return this.persistence.getRemoteDocumentCache().getSize(t)}}class Ko{constructor(t,e,r,o){this.targetId=t,this.fromCache=e,this.Wi=r,this.Gi=o}static zi(t,e){let r=Fe(),o=Fe();for(const t of e.docChanges)switch(t.type){case 0:r=r.add(t.doc.key);break;case 1:o=o.add(t.doc.key)}return new Ko(t,e.fromCache,r,o)}}class Wo{constructor(){this._documentReadCount=0}get documentReadCount(){return this._documentReadCount}incrementDocumentReadCount(t){this._documentReadCount+=t}}class Qo{constructor(){this.ji=!1,this.Hi=!1,this.Ji=100,this.Yi=(0,a.nr)()?8:function(t){const e=t.match(/Android ([\d.]+)/i),r=e?e[1].split(".").slice(0,2).join("."):"-1";return Number(r)}((0,a.ZQ)())>0?6:4}initialize(t,e){this.Zi=t,this.indexManager=e,this.ji=!0}getDocumentsMatchingQuery(t,e,r,o){const n={result:null};return this.Xi(t,e).next((t=>{n.result=t})).next((()=>{if(!n.result)return this.es(t,e,o,r).next((t=>{n.result=t}))})).next((()=>{if(n.result)return;const r=new Wo;return this.ts(t,e,r).next((o=>{if(n.result=o,this.Hi)return this.ns(t,e,r,o.size)}))})).next((()=>n.result))}ns(t,e,r,o){return r.documentReadCountthis.Yi*o?(p()<=i.$b.DEBUG&&h("QueryEngine","The SDK decides to create cache indexes for query:",Ae(e),"as using cache indexes may help improve performance."),this.indexManager.createTargetIndexes(t,xe(e))):Q.resolve())}Xi(t,e){if(ve(e))return Q.resolve(null);let r=xe(e);return this.indexManager.getIndexType(t,r).next((o=>0===o?null:(null!==e.limit&&1===o&&(e=ke(e,null,"F"),r=xe(e)),this.indexManager.getDocumentsMatchingTarget(t,r).next((o=>{const n=Fe(...o);return this.Zi.getDocuments(t,n).next((o=>this.indexManager.getMinOffset(t,r).next((r=>{const i=this.rs(e,o);return this.ss(e,i,n,r.readTime)?this.Xi(t,ke(e,null,"F")):this.os(t,i,e,r)}))))})))))}es(t,e,r,o){return ve(e)||o.isEqual(P.min())?Q.resolve(null):this.Zi.getDocuments(t,r).next((n=>{const a=this.rs(e,n);return this.ss(e,a,r,o)?Q.resolve(null):(p()<=i.$b.DEBUG&&h("QueryEngine","Re-using previous result from %s to execute query: %s",o.toString(),Ae(e)),this.os(t,a,e,function(t,e){const r=t.toTimestamp().seconds,o=t.toTimestamp().nanoseconds+1,n=P.fromTimestamp(1e9===o?new B(r+1,0):new B(r,o));return new U(n,q.empty(),e)}(o,-1)).next((t=>t)))}))}rs(t,e){let r=new lt(Ce(t));return e.forEach(((e,o)=>{Te(t,o)&&(r=r.add(o))})),r}ss(t,e,r,o){if(null===t.limit)return!1;if(r.size!==e.size)return!0;const n="F"===t.limitType?e.last():e.first();return!!n&&(n.hasPendingWrites||n.version.compareTo(o)>0)}ts(t,e,r){return p()<=i.$b.DEBUG&&h("QueryEngine","Using full collection scan to execute query:",Ae(e)),this.Zi.getDocumentsMatchingQuery(t,e,U.min(),r)}os(t,e,r,o){return this.Zi.getDocumentsMatchingQuery(t,r,o).next((t=>(e.forEach((e=>{t=t.insert(e.key,e)})),t)))}}class Xo{constructor(t,e,r,o){this.persistence=t,this._s=e,this.serializer=o,this.us=new it(M),this.cs=new De((t=>pe(t)),he),this.ls=new Map,this.hs=t.getRemoteDocumentCache(),this.Gr=t.getTargetCache(),this.jr=t.getBundleCache(),this.Ps(r)}Ps(t){this.documentOverlayCache=this.persistence.getDocumentOverlayCache(t),this.indexManager=this.persistence.getIndexManager(t),this.mutationQueue=this.persistence.getMutationQueue(t,this.indexManager),this.localDocuments=new Oo(this.hs,this.mutationQueue,this.documentOverlayCache,this.indexManager),this.hs.setIndexManager(this.indexManager),this._s.initialize(this.localDocuments,this.indexManager)}collectGarbage(t){return this.persistence.runTransaction("Collect garbage","readwrite-primary",(e=>t.collect(e,this.us)))}}async function Yo(t,e){const r=w(t);return await r.persistence.runTransaction("Handle user change","readonly",(t=>{let o;return r.mutationQueue.getAllMutationBatches(t).next((n=>(o=n,r.Ps(e),r.mutationQueue.getAllMutationBatches(t)))).next((e=>{const n=[],i=[];let a=Fe();for(const t of o){n.push(t.batchId);for(const e of t.mutations)a=a.add(e.key)}for(const t of e){i.push(t.batchId);for(const e of t.mutations)a=a.add(e.key)}return r.localDocuments.getDocuments(t,a).next((t=>({Ts:t,removedBatchIds:n,addedBatchIds:i})))}))}))}function Jo(t){const e=w(t);return e.persistence.runTransaction("Get last remote snapshot version","readonly",(t=>e.Gr.getLastRemoteSnapshotVersion(t)))}function Zo(t,e){const r=w(t);return r.persistence.runTransaction("Get next mutation batch","readonly",(t=>(void 0===e&&(e=-1),r.mutationQueue.getNextMutationBatchAfterBatchId(t,e))))}async function tn(t,e,r){const o=w(t),n=o.us.get(e),i=r?"readwrite":"readwrite-primary";try{r||await o.persistence.runTransaction("Release target",i,(t=>o.persistence.referenceDelegate.removeTarget(t,n)))}catch(t){if(!X(t))throw t;h("LocalStore",`Failed to update sequence numbers for target ${e}: ${t}`)}o.us=o.us.remove(e),o.cs.delete(n.target)}function en(t,e,r){const o=w(t);let n=P.min(),i=Fe();return o.persistence.runTransaction("Execute query","readwrite",(t=>function(t,e,r){const o=w(t),n=o.cs.get(r);return void 0!==n?Q.resolve(o.us.get(n)):o.Gr.getTargetData(e,r)}(o,t,xe(e)).next((e=>{if(e)return n=e.lastLimboFreeSnapshotVersion,o.Gr.getMatchingKeysForTargetId(t,e.targetId).next((t=>{i=t}))})).next((()=>o._s.getDocumentsMatchingQuery(t,e,r?n:P.min(),r?i:Fe()))).next((t=>(function(t,e,r){let o=t.ls.get(e)||P.min();r.forEach(((t,e)=>{e.readTime.compareTo(o)>0&&(o=e.readTime)})),t.ls.set(e,o)}(o,function(t){return t.collectionGroup||(t.path.length%2==1?t.path.lastSegment():t.path.get(t.path.length-2))}(e),t),{documents:t,ds:i})))))}class rn{constructor(){this.activeTargetIds=qe}ps(t){this.activeTargetIds=this.activeTargetIds.add(t)}ys(t){this.activeTargetIds=this.activeTargetIds.delete(t)}gs(){const t={activeTargetIds:this.activeTargetIds.toArray(),updateTimeMs:Date.now()};return JSON.stringify(t)}}class on{constructor(){this._o=new rn,this.ao={},this.onlineStateHandler=null,this.sequenceNumberHandler=null}addPendingMutation(t){}updateMutationState(t,e,r){}addLocalQueryTarget(t,e=!0){return e&&this._o.ps(t),this.ao[t]||"not-current"}updateQueryState(t,e,r){this.ao[t]=e}removeLocalQueryTarget(t){this._o.ys(t)}isLocalQueryTarget(t){return this._o.activeTargetIds.has(t)}clearQueryState(t){delete this.ao[t]}getAllActiveQueryTargets(){return this._o.activeTargetIds}isActiveQueryTarget(t){return this._o.activeTargetIds.has(t)}start(){return this._o=new rn,Promise.resolve()}handleUserChange(t,e,r){}setOnlineState(t){}shutdown(){}writeSequenceNumber(t){}notifyBundleLoaded(t){}}class nn{uo(t){}shutdown(){}}class an{constructor(){this.co=()=>this.lo(),this.ho=()=>this.Po(),this.To=[],this.Io()}uo(t){this.To.push(t)}shutdown(){window.removeEventListener("online",this.co),window.removeEventListener("offline",this.ho)}Io(){window.addEventListener("online",this.co),window.addEventListener("offline",this.ho)}lo(){h("ConnectivityMonitor","Network connectivity changed: AVAILABLE");for(const t of this.To)t(0)}Po(){h("ConnectivityMonitor","Network connectivity changed: UNAVAILABLE");for(const t of this.To)t(1)}static p(){return"undefined"!=typeof window&&void 0!==window.addEventListener&&void 0!==window.removeEventListener}}let sn=null;function ln(){return null===sn?sn=268435456+Math.round(2147483648*Math.random()):sn++,"0x"+sn.toString(16)}const cn={BatchGetDocuments:"batchGet",Commit:"commit",RunQuery:"runQuery",RunAggregationQuery:"runAggregationQuery"};class dn{constructor(t){this.Eo=t.Eo,this.Ao=t.Ao}Ro(t){this.Vo=t}mo(t){this.fo=t}po(t){this.yo=t}onMessage(t){this.wo=t}close(){this.Ao()}send(t){this.Eo(t)}So(){this.Vo()}bo(){this.fo()}Do(t){this.yo(t)}vo(t){this.wo(t)}}const un="WebChannelConnection";class mn extends class{get Co(){return!1}constructor(t){this.databaseInfo=t,this.databaseId=t.databaseId;const e=t.ssl?"https":"http",r=encodeURIComponent(this.databaseId.projectId),o=encodeURIComponent(this.databaseId.database);this.Fo=e+"://"+t.host,this.Mo=`projects/${r}/databases/${o}`,this.xo="(default)"===this.databaseId.database?`project_id=${r}`:`project_id=${r}&database_id=${o}`}Oo(t,e,r,o,n){const i=ln(),a=this.No(t,e.toUriEncodedString());h("RestConnection",`Sending RPC '${t}' ${i}:`,a,r);const s={"google-cloud-resource-prefix":this.Mo,"x-goog-request-params":this.xo};return this.Lo(s,o,n),this.Bo(t,a,s,r).then((e=>(h("RestConnection",`Received RPC '${t}' ${i}: `,e),e)),(e=>{throw b("RestConnection",`RPC '${t}' ${i} failed with error: `,e,"url: ",a,"request:",r),e}))}ko(t,e,r,o,n,i){return this.Oo(t,e,r,o,n)}Lo(t,e,r){t["X-Goog-Api-Client"]="gl-js/ fire/"+u,t["Content-Type"]="text/plain",this.databaseInfo.appId&&(t["X-Firebase-GMPID"]=this.databaseInfo.appId),e&&e.headers.forEach(((e,r)=>t[r]=e)),r&&r.headers.forEach(((e,r)=>t[r]=e))}No(t,e){const r=cn[t];return`${this.Fo}/v1/${e}:${r}`}terminate(){}}{constructor(t){super(t),this.forceLongPolling=t.forceLongPolling,this.autoDetectLongPolling=t.autoDetectLongPolling,this.useFetchStreams=t.useFetchStreams,this.longPollingOptions=t.longPollingOptions}Bo(t,e,r,o){const n=ln();return new Promise(((i,a)=>{const s=new l.ZS;s.setWithCredentials(!0),s.listenOnce(l.Bx.COMPLETE,(()=>{try{switch(s.getLastErrorCode()){case l.O4.NO_ERROR:const e=s.getResponseJson();h(un,`XHR for RPC '${t}' ${n} received:`,JSON.stringify(e)),i(e);break;case l.O4.TIMEOUT:h(un,`RPC '${t}' ${n} timed out`),a(new _(x.DEADLINE_EXCEEDED,"Request time out"));break;case l.O4.HTTP_ERROR:const r=s.getStatus();if(h(un,`RPC '${t}' ${n} failed with status:`,r,"response text:",s.getResponseText()),r>0){let t=s.getResponseJson();Array.isArray(t)&&(t=t[0]);const e=null==t?void 0:t.error;if(e&&e.status&&e.message){const t=function(t){const e=t.toLowerCase().replace(/_/g,"-");return Object.values(x).indexOf(e)>=0?e:x.UNKNOWN}(e.status);a(new _(t,e.message))}else a(new _(x.UNKNOWN,"Server responded with status "+s.getStatus()))}else a(new _(x.UNAVAILABLE,"Connection failed."));break;default:v()}}finally{h(un,`RPC '${t}' ${n} completed.`)}}));const c=JSON.stringify(o);h(un,`RPC '${t}' ${n} sending request:`,o),s.send(e,"POST",c,r,15)}))}qo(t,e,r){const o=ln(),n=[this.Fo,"/","google.firestore.v1.Firestore","/",t,"/channel"],i=(0,l.fF)(),a=(0,l.Ao)(),s={httpSessionIdParam:"gsessionid",initMessageHeaders:{},messageUrlParams:{database:`projects/${this.databaseId.projectId}/databases/${this.databaseId.database}`},sendRawJson:!0,supportsCrossDomainXhr:!0,internalChannelParams:{forwardChannelRequestTimeoutMs:6e5},forceLongPolling:this.forceLongPolling,detectBufferingProxy:this.autoDetectLongPolling},c=this.longPollingOptions.timeoutSeconds;void 0!==c&&(s.longPollingTimeout=Math.round(1e3*c)),this.useFetchStreams&&(s.useFetchStreams=!0),this.Lo(s.initMessageHeaders,e,r),s.encodeInitMessageHeaders=!0;const d=n.join("");h(un,`Creating RPC '${t}' stream ${o}: ${d}`,s);const u=i.createWebChannel(d,s);let m=!1,p=!1;const g=new dn({Eo:e=>{p?h(un,`Not sending because RPC '${t}' stream ${o} is closed:`,e):(m||(h(un,`Opening RPC '${t}' stream ${o} transport.`),u.open(),m=!0),h(un,`RPC '${t}' stream ${o} sending:`,e),u.send(e))},Ao:()=>u.close()}),f=(t,e,r)=>{t.listen(e,(t=>{try{r(t)}catch(t){setTimeout((()=>{throw t}),0)}}))};return f(u,l.iO.EventType.OPEN,(()=>{p||(h(un,`RPC '${t}' stream ${o} transport opened.`),g.So())})),f(u,l.iO.EventType.CLOSE,(()=>{p||(p=!0,h(un,`RPC '${t}' stream ${o} transport closed`),g.Do())})),f(u,l.iO.EventType.ERROR,(e=>{p||(p=!0,b(un,`RPC '${t}' stream ${o} transport errored:`,e),g.Do(new _(x.UNAVAILABLE,"The operation could not be completed")))})),f(u,l.iO.EventType.MESSAGE,(e=>{var r;if(!p){const n=e.data[0];y(!!n);const i=n,a=(null==i?void 0:i.error)||(null===(r=i[0])||void 0===r?void 0:r.error);if(a){h(un,`RPC '${t}' stream ${o} received error:`,a);const e=a.status;let r=function(t){const e=Er[t];if(void 0!==e)return Ar(e)}(e),n=a.message;void 0===r&&(r=x.INTERNAL,n="Unknown error status: "+e+" with message "+a.message),p=!0,g.Do(new _(r,n)),u.close()}else h(un,`RPC '${t}' stream ${o} received:`,n),g.vo(n)}})),f(a,l.Jh.STAT_EVENT,(e=>{e.stat===l.ro.PROXY?h(un,`RPC '${t}' stream ${o} detected buffering proxy`):e.stat===l.ro.NOPROXY&&h(un,`RPC '${t}' stream ${o} detected no buffering proxy`)})),setTimeout((()=>{g.bo()}),0),g}}function pn(){return"undefined"!=typeof document?document:null}function hn(t){return new Ur(t,!0)}class gn{constructor(t,e,r=1e3,o=1.5,n=6e4){this.li=t,this.timerId=e,this.Qo=r,this.Ko=o,this.$o=n,this.Uo=0,this.Wo=null,this.Go=Date.now(),this.reset()}reset(){this.Uo=0}zo(){this.Uo=this.$o}jo(t){this.cancel();const e=Math.floor(this.Uo+this.Ho()),r=Math.max(0,Date.now()-this.Go),o=Math.max(0,e-r);o>0&&h("ExponentialBackoff",`Backing off for ${o} ms (base delay: ${this.Uo} ms, delay with jitter: ${e} ms, last attempt: ${r} ms ago)`),this.Wo=this.li.enqueueAfterDelay(this.timerId,o,(()=>(this.Go=Date.now(),t()))),this.Uo*=this.Ko,this.Uothis.$o&&(this.Uo=this.$o)}Jo(){null!==this.Wo&&(this.Wo.skipDelay(),this.Wo=null)}cancel(){null!==this.Wo&&(this.Wo.cancel(),this.Wo=null)}Ho(){return(Math.random()-.5)*this.Uo}}class bn{constructor(t,e,r,o,n,i,a,s){this.li=t,this.Yo=r,this.Zo=o,this.connection=n,this.authCredentialsProvider=i,this.appCheckCredentialsProvider=a,this.listener=s,this.state=0,this.Xo=0,this.e_=null,this.t_=null,this.stream=null,this.n_=0,this.r_=new gn(t,e)}i_(){return 1===this.state||5===this.state||this.s_()}s_(){return 2===this.state||3===this.state}start(){this.n_=0,4!==this.state?this.auth():this.o_()}async stop(){this.i_()&&await this.close(0)}__(){this.state=0,this.r_.reset()}a_(){this.s_()&&null===this.e_&&(this.e_=this.li.enqueueAfterDelay(this.Yo,6e4,(()=>this.u_())))}c_(t){this.l_(),this.stream.send(t)}async u_(){if(this.s_())return this.close(0)}l_(){this.e_&&(this.e_.cancel(),this.e_=null)}h_(){this.t_&&(this.t_.cancel(),this.t_=null)}async close(t,e){this.l_(),this.h_(),this.r_.cancel(),this.Xo++,4!==t?this.r_.reset():e&&e.code===x.RESOURCE_EXHAUSTED?(g(e.toString()),g("Using maximum backoff delay to prevent overloading the backend."),this.r_.zo()):e&&e.code===x.UNAUTHENTICATED&&3!==this.state&&(this.authCredentialsProvider.invalidateToken(),this.appCheckCredentialsProvider.invalidateToken()),null!==this.stream&&(this.P_(),this.stream.close(),this.stream=null),this.state=t,await this.listener.po(e)}P_(){}auth(){this.state=1;const t=this.T_(this.Xo),e=this.Xo;Promise.all([this.authCredentialsProvider.getToken(),this.appCheckCredentialsProvider.getToken()]).then((([t,r])=>{this.Xo===e&&this.I_(t,r)}),(e=>{t((()=>{const t=new _(x.UNKNOWN,"Fetching auth token failed: "+e.message);return this.E_(t)}))}))}I_(t,e){const r=this.T_(this.Xo);this.stream=this.d_(t,e),this.stream.Ro((()=>{r((()=>this.listener.Ro()))})),this.stream.mo((()=>{r((()=>(this.state=2,this.t_=this.li.enqueueAfterDelay(this.Zo,1e4,(()=>(this.s_()&&(this.state=3),Promise.resolve()))),this.listener.mo())))})),this.stream.po((t=>{r((()=>this.E_(t)))})),this.stream.onMessage((t=>{r((()=>1==++this.n_?this.A_(t):this.onNext(t)))}))}o_(){this.state=5,this.r_.jo((async()=>{this.state=0,this.start()}))}E_(t){return h("PersistentStream",`close with error: ${t}`),this.stream=null,this.close(4,t)}T_(t){return e=>{this.li.enqueueAndForget((()=>this.Xo===t?e():(h("PersistentStream","stream callback skipped by getCloseGuardedDispatcher."),Promise.resolve())))}}}class fn extends bn{constructor(t,e,r,o,n,i){super(t,"listen_stream_connection_backoff","listen_stream_idle","health_check_timeout",e,r,o,i),this.serializer=n}d_(t,e){return this.connection.qo("Listen",t,e)}A_(t){return this.onNext(t)}onNext(t){this.r_.reset();const e=function(t,e){let r;if("targetChange"in e){e.targetChange;const o=function(t){return"NO_CHANGE"===t?0:"ADD"===t?1:"REMOVE"===t?2:"CURRENT"===t?3:"RESET"===t?4:v()}(e.targetChange.targetChangeType||"NO_CHANGE"),n=e.targetChange.targetIds||[],i=function(t,e){return t.useProto3Json?(y(void 0===e||"string"==typeof e),mt.fromBase64String(e||"")):(y(void 0===e||e instanceof Buffer||e instanceof Uint8Array),mt.fromUint8Array(e||new Uint8Array))}(t,e.targetChange.resumeToken),a=e.targetChange.cause,s=a&&function(t){const e=void 0===t.code?x.UNKNOWN:Ar(t.code);return new _(e,t.message||"")}(a);r=new Br(o,n,i,s||null)}else if("documentChange"in e){e.documentChange;const o=e.documentChange;o.document,o.document.name,o.document.updateTime;const n=to(t,o.document.name),i=Qr(o.document.updateTime),a=o.document.createTime?Qr(o.document.createTime):P.min(),s=new Ft({mapValue:{fields:o.document.fields}}),l=$t.newFoundDocument(n,i,a,s),c=o.targetIds||[],d=o.removedTargetIds||[];r=new Mr(c,d,l.key,l)}else if("documentDelete"in e){e.documentDelete;const o=e.documentDelete;o.document;const n=to(t,o.document),i=o.readTime?Qr(o.readTime):P.min(),a=$t.newNoDocument(n,i),s=o.removedTargetIds||[];r=new Mr([],s,a.key,a)}else if("documentRemove"in e){e.documentRemove;const o=e.documentRemove;o.document;const n=to(t,o.document),i=o.removedTargetIds||[];r=new Mr([],i,n,null)}else{if(!("filter"in e))return v();{e.filter;const t=e.filter;t.targetId;const{count:o=0,unchangedNames:n}=t,i=new kr(o,n),a=t.targetId;r=new Rr(a,i)}}return r}(this.serializer,t),r=function(t){if(!("targetChange"in t))return P.min();const e=t.targetChange;return e.targetIds&&e.targetIds.length?P.min():e.readTime?Qr(e.readTime):P.min()}(t);return this.listener.R_(e,r)}V_(t){const e={};e.database=ro(this.serializer),e.addTarget=function(t,e){let r;const o=e.target;if(r=ge(o)?{documents:io(t,o)}:{query:ao(t,o).ct},r.targetId=e.targetId,e.resumeToken.approximateByteSize()>0){r.resumeToken=Kr(t,e.resumeToken);const o=Hr(t,e.expectedCount);null!==o&&(r.expectedCount=o)}else if(e.snapshotVersion.compareTo(P.min())>0){r.readTime=Gr(t,e.snapshotVersion.toTimestamp());const o=Hr(t,e.expectedCount);null!==o&&(r.expectedCount=o)}return r}(this.serializer,t);const r=function(t,e){const r=function(t){switch(t){case"TargetPurposeListen":return null;case"TargetPurposeExistenceFilterMismatch":return"existence-filter-mismatch";case"TargetPurposeExistenceFilterMismatchBloom":return"existence-filter-mismatch-bloom";case"TargetPurposeLimboResolution":return"limbo-document";default:return v()}}(e.purpose);return null==r?null:{"goog-listen-tags":r}}(this.serializer,t);r&&(e.labels=r),this.c_(e)}m_(t){const e={};e.database=ro(this.serializer),e.removeTarget=t,this.c_(e)}}class vn extends bn{constructor(t,e,r,o,n,i){super(t,"write_stream_connection_backoff","write_stream_idle","health_check_timeout",e,r,o,i),this.serializer=n}get f_(){return this.n_>0}start(){this.lastStreamToken=void 0,super.start()}P_(){this.f_&&this.g_([])}d_(t,e){return this.connection.qo("Write",t,e)}A_(t){return y(!!t.streamToken),this.lastStreamToken=t.streamToken,y(!t.writeResults||0===t.writeResults.length),this.listener.p_()}onNext(t){y(!!t.streamToken),this.lastStreamToken=t.streamToken,this.r_.reset();const e=function(t,e){return t&&t.length>0?(y(void 0!==e),t.map((t=>function(t,e){let r=t.updateTime?Qr(t.updateTime):Qr(e);return r.isEqual(P.min())&&(r=Qr(e)),new nr(r,t.transformResults||[])}(t,e)))):[]}(t.writeResults,t.commitTime),r=Qr(t.commitTime);return this.listener.y_(r,e)}w_(){const t={};t.database=ro(this.serializer),this.c_(t)}g_(t){const e={streamToken:this.lastStreamToken,writes:t.map((t=>function(t,e){let r;if(e instanceof pr)r={update:no(t,e.key,e.value)};else if(e instanceof vr)r={delete:Zr(t,e.key)};else if(e instanceof hr)r={update:no(t,e.key,e.data),updateMask:bo(e.fieldMask)};else{if(!(e instanceof yr))return v();r={verify:Zr(t,e.key)}}return e.fieldTransforms.length>0&&(r.updateTransforms=e.fieldTransforms.map((t=>function(t,e){const r=e.transform;if(r instanceof Xe)return{fieldPath:e.field.canonicalString(),setToServerValue:"REQUEST_TIME"};if(r instanceof Ye)return{fieldPath:e.field.canonicalString(),appendMissingElements:{values:r.elements}};if(r instanceof Ze)return{fieldPath:e.field.canonicalString(),removeAllFromArray:{values:r.elements}};if(r instanceof er)return{fieldPath:e.field.canonicalString(),increment:r.Pe};throw v()}(0,t)))),e.precondition.isNone||(r.currentDocument=function(t,e){return void 0!==e.updateTime?{updateTime:Wr(t,e.updateTime)}:void 0!==e.exists?{exists:e.exists}:v()}(t,e.precondition)),r}(this.serializer,t)))};this.c_(e)}}class yn extends class{}{constructor(t,e,r,o){super(),this.authCredentials=t,this.appCheckCredentials=e,this.connection=r,this.serializer=o,this.S_=!1}b_(){if(this.S_)throw new _(x.FAILED_PRECONDITION,"The client has already been terminated.")}Oo(t,e,r,o){return this.b_(),Promise.all([this.authCredentials.getToken(),this.appCheckCredentials.getToken()]).then((([n,i])=>this.connection.Oo(t,Yr(e,r),o,n,i))).catch((t=>{throw"FirebaseError"===t.name?(t.code===x.UNAUTHENTICATED&&(this.authCredentials.invalidateToken(),this.appCheckCredentials.invalidateToken()),t):new _(x.UNKNOWN,t.toString())}))}ko(t,e,r,o,n){return this.b_(),Promise.all([this.authCredentials.getToken(),this.appCheckCredentials.getToken()]).then((([i,a])=>this.connection.ko(t,Yr(e,r),o,i,a,n))).catch((t=>{throw"FirebaseError"===t.name?(t.code===x.UNAUTHENTICATED&&(this.authCredentials.invalidateToken(),this.appCheckCredentials.invalidateToken()),t):new _(x.UNKNOWN,t.toString())}))}terminate(){this.S_=!0,this.connection.terminate()}}class wn{constructor(t,e){this.asyncQueue=t,this.onlineStateHandler=e,this.state="Unknown",this.D_=0,this.v_=null,this.C_=!0}F_(){0===this.D_&&(this.M_("Unknown"),this.v_=this.asyncQueue.enqueueAfterDelay("online_state_timeout",1e4,(()=>(this.v_=null,this.x_("Backend didn't respond within 10 seconds."),this.M_("Offline"),Promise.resolve()))))}O_(t){"Online"===this.state?this.M_("Unknown"):(this.D_++,this.D_>=1&&(this.N_(),this.x_(`Connection failed 1 times. Most recent error: ${t.toString()}`),this.M_("Offline")))}set(t){this.N_(),this.D_=0,"Online"===t&&(this.C_=!1),this.M_(t)}M_(t){t!==this.state&&(this.state=t,this.onlineStateHandler(t))}x_(t){const e=`Could not reach Cloud Firestore backend. ${t}\nThis typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend.`;this.C_?(g(e),this.C_=!1):h("OnlineStateTracker",e)}N_(){null!==this.v_&&(this.v_.cancel(),this.v_=null)}}class xn{constructor(t,e,r,o,n){this.localStore=t,this.datastore=e,this.asyncQueue=r,this.remoteSyncer={},this.L_=[],this.B_=new Map,this.k_=new Set,this.q_=[],this.Q_=n,this.Q_.uo((t=>{r.enqueueAndForget((async()=>{Dn(this)&&(h("RemoteStore","Restarting streams for network reachability change."),await async function(t){const e=w(t);e.k_.add(4),await kn(e),e.K_.set("Unknown"),e.k_.delete(4),await _n(e)}(this))}))})),this.K_=new wn(r,o)}}async function _n(t){if(Dn(t))for(const e of t.q_)await e(!0)}async function kn(t){for(const e of t.q_)await e(!1)}function En(t,e){const r=w(t);r.B_.has(e.targetId)||(r.B_.set(e.targetId,e),Sn(r)?Cn(r):Wn(r).s_()&&An(r,e))}function In(t,e){const r=w(t),o=Wn(r);r.B_.delete(e),o.s_()&&Tn(r,e),0===r.B_.size&&(o.s_()?o.a_():Dn(r)&&r.K_.set("Unknown"))}function An(t,e){if(t.U_.xe(e.targetId),e.resumeToken.approximateByteSize()>0||e.snapshotVersion.compareTo(P.min())>0){const r=t.remoteSyncer.getRemoteKeysForTarget(e.targetId).size;e=e.withExpectedCount(r)}Wn(t).V_(e)}function Tn(t,e){t.U_.xe(e),Wn(t).m_(e)}function Cn(t){t.U_=new Vr({getRemoteKeysForTarget:e=>t.remoteSyncer.getRemoteKeysForTarget(e),ut:e=>t.B_.get(e)||null,nt:()=>t.datastore.serializer.databaseId}),Wn(t).start(),t.K_.F_()}function Sn(t){return Dn(t)&&!Wn(t).i_()&&t.B_.size>0}function Dn(t){return 0===w(t).k_.size}function Ln(t){t.U_=void 0}async function Nn(t){t.K_.set("Online")}async function On(t){t.B_.forEach(((e,r)=>{An(t,e)}))}async function Mn(t,e){Ln(t),Sn(t)?(t.K_.O_(e),Cn(t)):t.K_.set("Unknown")}async function Rn(t,e,r){if(t.K_.set("Online"),e instanceof Br&&2===e.state&&e.cause)try{await async function(t,e){const r=e.cause;for(const o of e.targetIds)t.B_.has(o)&&(await t.remoteSyncer.rejectListen(o,r),t.B_.delete(o),t.U_.removeTarget(o))}(t,e)}catch(r){h("RemoteStore","Failed to remove targets %s: %s ",e.targetIds.join(","),r),await Bn(t,r)}else if(e instanceof Mr?t.U_.$e(e):e instanceof Rr?t.U_.Je(e):t.U_.Ge(e),!r.isEqual(P.min()))try{const e=await Jo(t.localStore);r.compareTo(e)>=0&&await function(t,e){const r=t.U_.it(e);return r.targetChanges.forEach(((r,o)=>{if(r.resumeToken.approximateByteSize()>0){const n=t.B_.get(o);n&&t.B_.set(o,n.withResumeToken(r.resumeToken,e))}})),r.targetMismatches.forEach(((e,r)=>{const o=t.B_.get(e);if(!o)return;t.B_.set(e,o.withResumeToken(mt.EMPTY_BYTE_STRING,o.snapshotVersion)),Tn(t,e);const n=new vo(o.target,e,r,o.sequenceNumber);An(t,n)})),t.remoteSyncer.applyRemoteEvent(r)}(t,r)}catch(e){h("RemoteStore","Failed to raise snapshot:",e),await Bn(t,e)}}async function Bn(t,e,r){if(!X(e))throw e;t.k_.add(1),await kn(t),t.K_.set("Offline"),r||(r=()=>Jo(t.localStore)),t.asyncQueue.enqueueRetryable((async()=>{h("RemoteStore","Retrying IndexedDB access"),await r(),t.k_.delete(1),await _n(t)}))}function Pn(t,e){return e().catch((r=>Bn(t,r,e)))}async function Vn(t){const e=w(t),r=Qn(e);let o=e.L_.length>0?e.L_[e.L_.length-1].batchId:-1;for(;jn(e);)try{const t=await Zo(e.localStore,o);if(null===t){0===e.L_.length&&r.a_();break}o=t.batchId,zn(e,t)}catch(t){await Bn(e,t)}Fn(e)&&qn(e)}function jn(t){return Dn(t)&&t.L_.length<10}function zn(t,e){t.L_.push(e);const r=Qn(t);r.s_()&&r.f_&&r.g_(e.mutations)}function Fn(t){return Dn(t)&&!Qn(t).i_()&&t.L_.length>0}function qn(t){Qn(t).start()}async function $n(t){Qn(t).w_()}async function Un(t){const e=Qn(t);for(const r of t.L_)e.g_(r.mutations)}async function Hn(t,e,r){const o=t.L_.shift(),n=xr.from(o,e,r);await Pn(t,(()=>t.remoteSyncer.applySuccessfulWrite(n))),await Vn(t)}async function Gn(t,e){e&&Qn(t).f_&&await async function(t,e){if(function(t){return function(t){switch(t){default:return v();case x.CANCELLED:case x.UNKNOWN:case x.DEADLINE_EXCEEDED:case x.RESOURCE_EXHAUSTED:case x.INTERNAL:case x.UNAVAILABLE:case x.UNAUTHENTICATED:return!1;case x.INVALID_ARGUMENT:case x.NOT_FOUND:case x.ALREADY_EXISTS:case x.PERMISSION_DENIED:case x.FAILED_PRECONDITION:case x.ABORTED:case x.OUT_OF_RANGE:case x.UNIMPLEMENTED:case x.DATA_LOSS:return!0}}(t)&&t!==x.ABORTED}(e.code)){const r=t.L_.shift();Qn(t).__(),await Pn(t,(()=>t.remoteSyncer.rejectFailedWrite(r.batchId,e))),await Vn(t)}}(t,e),Fn(t)&&qn(t)}async function Kn(t,e){const r=w(t);r.asyncQueue.verifyOperationInProgress(),h("RemoteStore","RemoteStore received new credentials");const o=Dn(r);r.k_.add(3),await kn(r),o&&r.K_.set("Unknown"),await r.remoteSyncer.handleCredentialChange(e),r.k_.delete(3),await _n(r)}function Wn(t){return t.W_||(t.W_=function(t,e,r){const o=w(t);return o.b_(),new fn(e,o.connection,o.authCredentials,o.appCheckCredentials,o.serializer,r)}(t.datastore,t.asyncQueue,{Ro:Nn.bind(null,t),mo:On.bind(null,t),po:Mn.bind(null,t),R_:Rn.bind(null,t)}),t.q_.push((async e=>{e?(t.W_.__(),Sn(t)?Cn(t):t.K_.set("Unknown")):(await t.W_.stop(),Ln(t))}))),t.W_}function Qn(t){return t.G_||(t.G_=function(t,e,r){const o=w(t);return o.b_(),new vn(e,o.connection,o.authCredentials,o.appCheckCredentials,o.serializer,r)}(t.datastore,t.asyncQueue,{Ro:()=>Promise.resolve(),mo:$n.bind(null,t),po:Gn.bind(null,t),p_:Un.bind(null,t),y_:Hn.bind(null,t)}),t.q_.push((async e=>{e?(t.G_.__(),await Vn(t)):(await t.G_.stop(),t.L_.length>0&&(h("RemoteStore",`Stopping write stream with ${t.L_.length} pending writes`),t.L_=[]))}))),t.G_}class Xn{constructor(t,e,r,o,n){this.asyncQueue=t,this.timerId=e,this.targetTimeMs=r,this.op=o,this.removalCallback=n,this.deferred=new k,this.then=this.deferred.promise.then.bind(this.deferred.promise),this.deferred.promise.catch((t=>{}))}get promise(){return this.deferred.promise}static createAndSchedule(t,e,r,o,n){const i=Date.now()+r,a=new Xn(t,e,i,o,n);return a.start(r),a}start(t){this.timerHandle=setTimeout((()=>this.handleDelayElapsed()),t)}skipDelay(){return this.handleDelayElapsed()}cancel(t){null!==this.timerHandle&&(this.clearTimeout(),this.deferred.reject(new _(x.CANCELLED,"Operation cancelled"+(t?": "+t:""))))}handleDelayElapsed(){this.asyncQueue.enqueueAndForget((()=>null!==this.timerHandle?(this.clearTimeout(),this.op().then((t=>this.deferred.resolve(t)))):Promise.resolve()))}clearTimeout(){null!==this.timerHandle&&(this.removalCallback(this),clearTimeout(this.timerHandle),this.timerHandle=null)}}function Yn(t,e){if(g("AsyncQueue",`${e}: ${t}`),X(t))return new _(x.UNAVAILABLE,`${e}: ${t}`);throw t}class Jn{static emptySet(t){return new Jn(t.comparator)}constructor(t){this.comparator=t?(e,r)=>t(e,r)||q.comparator(e.key,r.key):(t,e)=>q.comparator(t.key,e.key),this.keyedMap=Me(),this.sortedSet=new it(this.comparator)}has(t){return null!=this.keyedMap.get(t)}get(t){return this.keyedMap.get(t)}first(){return this.sortedSet.minKey()}last(){return this.sortedSet.maxKey()}isEmpty(){return this.sortedSet.isEmpty()}indexOf(t){const e=this.keyedMap.get(t);return e?this.sortedSet.indexOf(e):-1}get size(){return this.sortedSet.size}forEach(t){this.sortedSet.inorderTraversal(((e,r)=>(t(e),!1)))}add(t){const e=this.delete(t.key);return e.copy(e.keyedMap.insert(t.key,t),e.sortedSet.insert(t,null))}delete(t){const e=this.get(t);return e?this.copy(this.keyedMap.remove(t),this.sortedSet.remove(e)):this}isEqual(t){if(!(t instanceof Jn))return!1;if(this.size!==t.size)return!1;const e=this.sortedSet.getIterator(),r=t.sortedSet.getIterator();for(;e.hasNext();){const t=e.getNext().key,o=r.getNext().key;if(!t.isEqual(o))return!1}return!0}toString(){const t=[];return this.forEach((e=>{t.push(e.toString())})),0===t.length?"DocumentSet ()":"DocumentSet (\n "+t.join(" \n")+"\n)"}copy(t,e){const r=new Jn;return r.comparator=this.comparator,r.keyedMap=t,r.sortedSet=e,r}}class Zn{constructor(){this.z_=new it(q.comparator)}track(t){const e=t.doc.key,r=this.z_.get(e);r?0!==t.type&&3===r.type?this.z_=this.z_.insert(e,t):3===t.type&&1!==r.type?this.z_=this.z_.insert(e,{type:r.type,doc:t.doc}):2===t.type&&2===r.type?this.z_=this.z_.insert(e,{type:2,doc:t.doc}):2===t.type&&0===r.type?this.z_=this.z_.insert(e,{type:0,doc:t.doc}):1===t.type&&0===r.type?this.z_=this.z_.remove(e):1===t.type&&2===r.type?this.z_=this.z_.insert(e,{type:1,doc:r.doc}):0===t.type&&1===r.type?this.z_=this.z_.insert(e,{type:2,doc:t.doc}):v():this.z_=this.z_.insert(e,t)}j_(){const t=[];return this.z_.inorderTraversal(((e,r)=>{t.push(r)})),t}}class ti{constructor(t,e,r,o,n,i,a,s,l){this.query=t,this.docs=e,this.oldDocs=r,this.docChanges=o,this.mutatedKeys=n,this.fromCache=i,this.syncStateChanged=a,this.excludesMetadataChanges=s,this.hasCachedResults=l}static fromInitialDocuments(t,e,r,o,n){const i=[];return e.forEach((t=>{i.push({type:0,doc:t})})),new ti(t,e,Jn.emptySet(e),i,r,o,!0,!1,n)}get hasPendingWrites(){return!this.mutatedKeys.isEmpty()}isEqual(t){if(!(this.fromCache===t.fromCache&&this.hasCachedResults===t.hasCachedResults&&this.syncStateChanged===t.syncStateChanged&&this.mutatedKeys.isEqual(t.mutatedKeys)&&Ee(this.query,t.query)&&this.docs.isEqual(t.docs)&&this.oldDocs.isEqual(t.oldDocs)))return!1;const e=this.docChanges,r=t.docChanges;if(e.length!==r.length)return!1;for(let t=0;tt.Z_()))}}class ri{constructor(){this.queries=oi(),this.onlineState="Unknown",this.X_=new Set}terminate(){!function(t,e){const r=w(t),o=r.queries;r.queries=oi(),o.forEach(((t,r)=>{for(const t of r.J_)t.onError(e)}))}(this,new _(x.ABORTED,"Firestore shutting down"))}}function oi(){return new De((t=>Ie(t)),Ee)}async function ni(t,e){const r=w(t);let o=3;const n=e.query;let i=r.queries.get(n);i?!i.Y_()&&e.Z_()&&(o=2):(i=new ei,o=e.Z_()?0:1);try{switch(o){case 0:i.H_=await r.onListen(n,!0);break;case 1:i.H_=await r.onListen(n,!1);break;case 2:await r.onFirstRemoteStoreListen(n)}}catch(t){const r=Yn(t,`Initialization of query '${Ae(e.query)}' failed`);return void e.onError(r)}r.queries.set(n,i),i.J_.push(e),e.ea(r.onlineState),i.H_&&e.ta(i.H_)&&li(r)}async function ii(t,e){const r=w(t),o=e.query;let n=3;const i=r.queries.get(o);if(i){const t=i.J_.indexOf(e);t>=0&&(i.J_.splice(t,1),0===i.J_.length?n=e.Z_()?0:1:!i.Y_()&&e.Z_()&&(n=2))}switch(n){case 0:return r.queries.delete(o),r.onUnlisten(o,!0);case 1:return r.queries.delete(o),r.onUnlisten(o,!1);case 2:return r.onLastRemoteStoreUnlisten(o);default:return}}function ai(t,e){const r=w(t);let o=!1;for(const t of e){const e=t.query,n=r.queries.get(e);if(n){for(const e of n.J_)e.ta(t)&&(o=!0);n.H_=t}}o&&li(r)}function si(t,e,r){const o=w(t),n=o.queries.get(e);if(n)for(const t of n.J_)t.onError(r);o.queries.delete(e)}function li(t){t.X_.forEach((t=>{t.next()}))}var ci,di;(di=ci||(ci={})).na="default",di.Cache="cache";class ui{constructor(t,e,r){this.query=t,this.ra=e,this.ia=!1,this.sa=null,this.onlineState="Unknown",this.options=r||{}}ta(t){if(!this.options.includeMetadataChanges){const e=[];for(const r of t.docChanges)3!==r.type&&e.push(r);t=new ti(t.query,t.docs,t.oldDocs,e,t.mutatedKeys,t.fromCache,t.syncStateChanged,!0,t.hasCachedResults)}let e=!1;return this.ia?this.oa(t)&&(this.ra.next(t),e=!0):this._a(t,this.onlineState)&&(this.aa(t),e=!0),this.sa=t,e}onError(t){this.ra.error(t)}ea(t){this.onlineState=t;let e=!1;return this.sa&&!this.ia&&this._a(this.sa,t)&&(this.aa(this.sa),e=!0),e}_a(t,e){if(!t.fromCache)return!0;if(!this.Z_())return!0;const r="Offline"!==e;return(!this.options.ua||!r)&&(!t.docs.isEmpty()||t.hasCachedResults||"Offline"===e)}oa(t){if(t.docChanges.length>0)return!0;const e=this.sa&&this.sa.hasPendingWrites!==t.hasPendingWrites;return!(!t.syncStateChanged&&!e)&&!0===this.options.includeMetadataChanges}aa(t){t=ti.fromInitialDocuments(t.query,t.docs,t.mutatedKeys,t.fromCache,t.hasCachedResults),this.ia=!0,this.ra.next(t)}Z_(){return this.options.source!==ci.Cache}}class mi{constructor(t){this.key=t}}class pi{constructor(t){this.key=t}}class hi{constructor(t,e){this.query=t,this.da=e,this.Aa=null,this.hasCachedResults=!1,this.current=!1,this.Ra=Fe(),this.mutatedKeys=Fe(),this.Va=Ce(t),this.ma=new Jn(this.Va)}get fa(){return this.da}ga(t,e){const r=e?e.pa:new Zn,o=e?e.ma:this.ma;let n=e?e.mutatedKeys:this.mutatedKeys,i=o,a=!1;const s="F"===this.query.limitType&&o.size===this.query.limit?o.last():null,l="L"===this.query.limitType&&o.size===this.query.limit?o.first():null;if(t.inorderTraversal(((t,e)=>{const c=o.get(t),d=Te(this.query,e)?e:null,u=!!c&&this.mutatedKeys.has(c.key),m=!!d&&(d.hasLocalMutations||this.mutatedKeys.has(d.key)&&d.hasCommittedMutations);let p=!1;c&&d?c.data.isEqual(d.data)?u!==m&&(r.track({type:3,doc:d}),p=!0):this.ya(c,d)||(r.track({type:2,doc:d}),p=!0,(s&&this.Va(d,s)>0||l&&this.Va(d,l)<0)&&(a=!0)):!c&&d?(r.track({type:0,doc:d}),p=!0):c&&!d&&(r.track({type:1,doc:c}),p=!0,(s||l)&&(a=!0)),p&&(d?(i=i.add(d),n=m?n.add(t):n.delete(t)):(i=i.delete(t),n=n.delete(t)))})),null!==this.query.limit)for(;i.size>this.query.limit;){const t="F"===this.query.limitType?i.last():i.first();i=i.delete(t.key),n=n.delete(t.key),r.track({type:1,doc:t})}return{ma:i,pa:r,ss:a,mutatedKeys:n}}ya(t,e){return t.hasLocalMutations&&e.hasCommittedMutations&&!e.hasLocalMutations}applyChanges(t,e,r,o){const n=this.ma;this.ma=t.ma,this.mutatedKeys=t.mutatedKeys;const i=t.pa.j_();i.sort(((t,e)=>function(t,e){const r=t=>{switch(t){case 0:return 1;case 2:case 3:return 2;case 1:return 0;default:return v()}};return r(t)-r(e)}(t.type,e.type)||this.Va(t.doc,e.doc))),this.wa(r),o=null!=o&&o;const a=e&&!o?this.Sa():[],s=0===this.Ra.size&&this.current&&!o?1:0,l=s!==this.Aa;return this.Aa=s,0!==i.length||l?{snapshot:new ti(this.query,t.ma,n,i,t.mutatedKeys,0===s,l,!1,!!r&&r.resumeToken.approximateByteSize()>0),ba:a}:{ba:a}}ea(t){return this.current&&"Offline"===t?(this.current=!1,this.applyChanges({ma:this.ma,pa:new Zn,mutatedKeys:this.mutatedKeys,ss:!1},!1)):{ba:[]}}Da(t){return!this.da.has(t)&&!!this.ma.has(t)&&!this.ma.get(t).hasLocalMutations}wa(t){t&&(t.addedDocuments.forEach((t=>this.da=this.da.add(t))),t.modifiedDocuments.forEach((t=>{})),t.removedDocuments.forEach((t=>this.da=this.da.delete(t))),this.current=t.current)}Sa(){if(!this.current)return[];const t=this.Ra;this.Ra=Fe(),this.ma.forEach((t=>{this.Da(t.key)&&(this.Ra=this.Ra.add(t.key))}));const e=[];return t.forEach((t=>{this.Ra.has(t)||e.push(new pi(t))})),this.Ra.forEach((r=>{t.has(r)||e.push(new mi(r))})),e}va(t){this.da=t.ds,this.Ra=Fe();const e=this.ga(t.documents);return this.applyChanges(e,!0)}Ca(){return ti.fromInitialDocuments(this.query,this.ma,this.mutatedKeys,0===this.Aa,this.hasCachedResults)}}class gi{constructor(t,e,r){this.query=t,this.targetId=e,this.view=r}}class bi{constructor(t){this.key=t,this.Fa=!1}}class fi{constructor(t,e,r,o,n,i){this.localStore=t,this.remoteStore=e,this.eventManager=r,this.sharedClientState=o,this.currentUser=n,this.maxConcurrentLimboResolutions=i,this.Ma={},this.xa=new De((t=>Ie(t)),Ee),this.Oa=new Map,this.Na=new Set,this.La=new it(q.comparator),this.Ba=new Map,this.ka=new Po,this.qa={},this.Qa=new Map,this.Ka=Ao.Qn(),this.onlineState="Unknown",this.$a=void 0}get isPrimaryClient(){return!0===this.$a}}async function vi(t,e,r=!0){const o=Vi(t);let n;const i=o.xa.get(e);return i?(o.sharedClientState.addLocalQueryTarget(i.targetId),n=i.view.Ca()):n=await wi(o,e,r,!0),n}async function yi(t,e){const r=Vi(t);await wi(r,e,!0,!1)}async function wi(t,e,r,o){const n=await function(t,e){const r=w(t);return r.persistence.runTransaction("Allocate target","readwrite",(t=>{let o;return r.Gr.getTargetData(t,e).next((n=>n?(o=n,Q.resolve(o)):r.Gr.allocateTargetId(t).next((n=>(o=new vo(e,n,"TargetPurposeListen",t.currentSequenceNumber),r.Gr.addTargetData(t,o).next((()=>o)))))))})).then((t=>{const o=r.us.get(t.targetId);return(null===o||t.snapshotVersion.compareTo(o.snapshotVersion)>0)&&(r.us=r.us.insert(t.targetId,t),r.cs.set(e,t.targetId)),t}))}(t.localStore,xe(e)),i=n.targetId,a=t.sharedClientState.addLocalQueryTarget(i,r);let s;return o&&(s=await async function(t,e,r,o,n){t.Ua=(e,r,o)=>async function(t,e,r,o){let n=e.view.ga(r);n.ss&&(n=await en(t.localStore,e.query,!1).then((({documents:t})=>e.view.ga(t,n))));const i=o&&o.targetChanges.get(e.targetId),a=o&&null!=o.targetMismatches.get(e.targetId),s=e.view.applyChanges(n,t.isPrimaryClient,i,a);return Ni(t,e.targetId,s.ba),s.snapshot}(t,e,r,o);const i=await en(t.localStore,e,!0),a=new hi(e,i.ds),s=a.ga(i.documents),l=Or.createSynthesizedTargetChangeForCurrentChange(r,o&&"Offline"!==t.onlineState,n),c=a.applyChanges(s,t.isPrimaryClient,l);Ni(t,r,c.ba);const d=new gi(e,r,a);return t.xa.set(e,d),t.Oa.has(r)?t.Oa.get(r).push(e):t.Oa.set(r,[e]),c.snapshot}(t,e,i,"current"===a,n.resumeToken)),t.isPrimaryClient&&r&&En(t.remoteStore,n),s}async function xi(t,e,r){const o=w(t),n=o.xa.get(e),i=o.Oa.get(n.targetId);if(i.length>1)return o.Oa.set(n.targetId,i.filter((t=>!Ee(t,e)))),void o.xa.delete(e);o.isPrimaryClient?(o.sharedClientState.removeLocalQueryTarget(n.targetId),o.sharedClientState.isActiveQueryTarget(n.targetId)||await tn(o.localStore,n.targetId,!1).then((()=>{o.sharedClientState.clearQueryState(n.targetId),r&&In(o.remoteStore,n.targetId),Di(o,n.targetId)})).catch(W)):(Di(o,n.targetId),await tn(o.localStore,n.targetId,!0))}async function _i(t,e){const r=w(t),o=r.xa.get(e),n=r.Oa.get(o.targetId);r.isPrimaryClient&&1===n.length&&(r.sharedClientState.removeLocalQueryTarget(o.targetId),In(r.remoteStore,o.targetId))}async function ki(t,e){const r=w(t);try{const t=await function(t,e){const r=w(t),o=e.snapshotVersion;let n=r.us;return r.persistence.runTransaction("Apply remote event","readwrite-primary",(t=>{const i=r.hs.newChangeBuffer({trackRemovals:!0});n=r.us;const a=[];e.targetChanges.forEach(((i,s)=>{const l=n.get(s);if(!l)return;a.push(r.Gr.removeMatchingKeys(t,i.removedDocuments,s).next((()=>r.Gr.addMatchingKeys(t,i.addedDocuments,s))));let c=l.withSequenceNumber(t.currentSequenceNumber);null!==e.targetMismatches.get(s)?c=c.withResumeToken(mt.EMPTY_BYTE_STRING,P.min()).withLastLimboFreeSnapshotVersion(P.min()):i.resumeToken.approximateByteSize()>0&&(c=c.withResumeToken(i.resumeToken,o)),n=n.insert(s,c),function(t,e,r){return 0===t.resumeToken.approximateByteSize()||e.snapshotVersion.toMicroseconds()-t.snapshotVersion.toMicroseconds()>=3e8||r.addedDocuments.size+r.modifiedDocuments.size+r.removedDocuments.size>0}(l,c,i)&&a.push(r.Gr.updateTargetData(t,c))}));let s=Ne(),l=Fe();if(e.documentUpdates.forEach((o=>{e.resolvedLimboDocuments.has(o)&&a.push(r.persistence.referenceDelegate.updateLimboDocument(t,o))})),a.push(function(t,e,r){let o=Fe(),n=Fe();return r.forEach((t=>o=o.add(t))),e.getEntries(t,o).next((t=>{let o=Ne();return r.forEach(((r,i)=>{const a=t.get(r);i.isFoundDocument()!==a.isFoundDocument()&&(n=n.add(r)),i.isNoDocument()&&i.version.isEqual(P.min())?(e.removeEntry(r,i.readTime),o=o.insert(r,i)):!a.isValidDocument()||i.version.compareTo(a.version)>0||0===i.version.compareTo(a.version)&&a.hasPendingWrites?(e.addEntry(i),o=o.insert(r,i)):h("LocalStore","Ignoring outdated watch update for ",r,". Current version:",a.version," Watch version:",i.version)})),{Is:o,Es:n}}))}(t,i,e.documentUpdates).next((t=>{s=t.Is,l=t.Es}))),!o.isEqual(P.min())){const e=r.Gr.getLastRemoteSnapshotVersion(t).next((e=>r.Gr.setTargetsMetadata(t,t.currentSequenceNumber,o)));a.push(e)}return Q.waitFor(a).next((()=>i.apply(t))).next((()=>r.localDocuments.getLocalViewOfDocuments(t,s,l))).next((()=>s))})).then((t=>(r.us=n,t)))}(r.localStore,e);e.targetChanges.forEach(((t,e)=>{const o=r.Ba.get(e);o&&(y(t.addedDocuments.size+t.modifiedDocuments.size+t.removedDocuments.size<=1),t.addedDocuments.size>0?o.Fa=!0:t.modifiedDocuments.size>0?y(o.Fa):t.removedDocuments.size>0&&(y(o.Fa),o.Fa=!1))})),await Ri(r,t,e)}catch(t){await W(t)}}function Ei(t,e,r){const o=w(t);if(o.isPrimaryClient&&0===r||!o.isPrimaryClient&&1===r){const t=[];o.xa.forEach(((r,o)=>{const n=o.view.ea(e);n.snapshot&&t.push(n.snapshot)})),function(t,e){const r=w(t);r.onlineState=e;let o=!1;r.queries.forEach(((t,r)=>{for(const t of r.J_)t.ea(e)&&(o=!0)})),o&&li(r)}(o.eventManager,e),t.length&&o.Ma.R_(t),o.onlineState=e,o.isPrimaryClient&&o.sharedClientState.setOnlineState(e)}}async function Ii(t,e,r){const o=w(t);o.sharedClientState.updateQueryState(e,"rejected",r);const n=o.Ba.get(e),i=n&&n.key;if(i){let t=new it(q.comparator);t=t.insert(i,$t.newNoDocument(i,P.min()));const r=Fe().add(i),n=new Nr(P.min(),new Map,new it(M),t,r);await ki(o,n),o.La=o.La.remove(i),o.Ba.delete(e),Mi(o)}else await tn(o.localStore,e,!1).then((()=>Di(o,e,r))).catch(W)}async function Ai(t,e){const r=w(t),o=e.batch.batchId;try{const t=await function(t,e){const r=w(t);return r.persistence.runTransaction("Acknowledge batch","readwrite-primary",(t=>{const o=e.batch.keys(),n=r.hs.newChangeBuffer({trackRemovals:!0});return function(t,e,r,o){const n=r.batch,i=n.keys();let a=Q.resolve();return i.forEach((t=>{a=a.next((()=>o.getEntry(e,t))).next((e=>{const i=r.docVersions.get(t);y(null!==i),e.version.compareTo(i)<0&&(n.applyToRemoteDocument(e,r),e.isValidDocument()&&(e.setReadTime(r.commitVersion),o.addEntry(e)))}))})),a.next((()=>t.mutationQueue.removeMutationBatch(e,n)))}(r,t,e,n).next((()=>n.apply(t))).next((()=>r.mutationQueue.performConsistencyCheck(t))).next((()=>r.documentOverlayCache.removeOverlaysForBatchId(t,o,e.batch.batchId))).next((()=>r.localDocuments.recalculateAndSaveOverlaysForDocumentKeys(t,function(t){let e=Fe();for(let r=0;r0&&(e=e.add(t.batch.mutations[r].key));return e}(e)))).next((()=>r.localDocuments.getDocuments(t,o)))}))}(r.localStore,e);Si(r,o,null),Ci(r,o),r.sharedClientState.updateMutationState(o,"acknowledged"),await Ri(r,t)}catch(t){await W(t)}}async function Ti(t,e,r){const o=w(t);try{const t=await function(t,e){const r=w(t);return r.persistence.runTransaction("Reject batch","readwrite-primary",(t=>{let o;return r.mutationQueue.lookupMutationBatch(t,e).next((e=>(y(null!==e),o=e.keys(),r.mutationQueue.removeMutationBatch(t,e)))).next((()=>r.mutationQueue.performConsistencyCheck(t))).next((()=>r.documentOverlayCache.removeOverlaysForBatchId(t,o,e))).next((()=>r.localDocuments.recalculateAndSaveOverlaysForDocumentKeys(t,o))).next((()=>r.localDocuments.getDocuments(t,o)))}))}(o.localStore,e);Si(o,e,r),Ci(o,e),o.sharedClientState.updateMutationState(e,"rejected",r),await Ri(o,t)}catch(r){await W(r)}}function Ci(t,e){(t.Qa.get(e)||[]).forEach((t=>{t.resolve()})),t.Qa.delete(e)}function Si(t,e,r){const o=w(t);let n=o.qa[o.currentUser.toKey()];if(n){const t=n.get(e);t&&(r?t.reject(r):t.resolve(),n=n.remove(e)),o.qa[o.currentUser.toKey()]=n}}function Di(t,e,r=null){t.sharedClientState.removeLocalQueryTarget(e);for(const o of t.Oa.get(e))t.xa.delete(o),r&&t.Ma.Wa(o,r);t.Oa.delete(e),t.isPrimaryClient&&t.ka.yr(e).forEach((e=>{t.ka.containsKey(e)||Li(t,e)}))}function Li(t,e){t.Na.delete(e.path.canonicalString());const r=t.La.get(e);null!==r&&(In(t.remoteStore,r),t.La=t.La.remove(e),t.Ba.delete(r),Mi(t))}function Ni(t,e,r){for(const o of r)o instanceof mi?(t.ka.addReference(o.key,e),Oi(t,o)):o instanceof pi?(h("SyncEngine","Document no longer in limbo: "+o.key),t.ka.removeReference(o.key,e),t.ka.containsKey(o.key)||Li(t,o.key)):v()}function Oi(t,e){const r=e.key,o=r.path.canonicalString();t.La.get(r)||t.Na.has(o)||(h("SyncEngine","New document in limbo: "+r),t.Na.add(o),Mi(t))}function Mi(t){for(;t.Na.size>0&&t.La.size{a.push(o.Ua(s,e,r).then((t=>{var e;if((t||r)&&o.isPrimaryClient){const n=t?!t.fromCache:null===(e=null==r?void 0:r.targetChanges.get(s.targetId))||void 0===e?void 0:e.current;o.sharedClientState.updateQueryState(s.targetId,n?"current":"not-current")}if(t){n.push(t);const e=Ko.zi(s.targetId,t);i.push(e)}})))})),await Promise.all(a),o.Ma.R_(n),await async function(t,e){const r=w(t);try{await r.persistence.runTransaction("notifyLocalViewChanges","readwrite",(t=>Q.forEach(e,(e=>Q.forEach(e.Wi,(o=>r.persistence.referenceDelegate.addReference(t,e.targetId,o))).next((()=>Q.forEach(e.Gi,(o=>r.persistence.referenceDelegate.removeReference(t,e.targetId,o)))))))))}catch(t){if(!X(t))throw t;h("LocalStore","Failed to update sequence numbers: "+t)}for(const t of e){const e=t.targetId;if(!t.fromCache){const t=r.us.get(e),o=t.snapshotVersion,n=t.withLastLimboFreeSnapshotVersion(o);r.us=r.us.insert(e,n)}}}(o.localStore,i))}async function Bi(t,e){const r=w(t);if(!r.currentUser.isEqual(e)){h("SyncEngine","User change. New user:",e.toKey());const t=await Yo(r.localStore,e);r.currentUser=e,function(t,e){t.Qa.forEach((t=>{t.forEach((t=>{t.reject(new _(x.CANCELLED,"'waitForPendingWrites' promise is rejected due to a user change."))}))})),t.Qa.clear()}(r),r.sharedClientState.handleUserChange(e,t.removedBatchIds,t.addedBatchIds),await Ri(r,t.Ts)}}function Pi(t,e){const r=w(t),o=r.Ba.get(e);if(o&&o.Fa)return Fe().add(o.key);{let t=Fe();const o=r.Oa.get(e);if(!o)return t;for(const e of o){const o=r.xa.get(e);t=t.unionWith(o.view.fa)}return t}}function Vi(t){const e=w(t);return e.remoteStore.remoteSyncer.applyRemoteEvent=ki.bind(null,e),e.remoteStore.remoteSyncer.getRemoteKeysForTarget=Pi.bind(null,e),e.remoteStore.remoteSyncer.rejectListen=Ii.bind(null,e),e.Ma.R_=ai.bind(null,e.eventManager),e.Ma.Wa=si.bind(null,e.eventManager),e}function ji(t){const e=w(t);return e.remoteStore.remoteSyncer.applySuccessfulWrite=Ai.bind(null,e),e.remoteStore.remoteSyncer.rejectFailedWrite=Ti.bind(null,e),e}class zi{constructor(){this.kind="memory",this.synchronizeTabs=!1}async initialize(t){this.serializer=hn(t.databaseInfo.databaseId),this.sharedClientState=this.za(t),this.persistence=this.ja(t),await this.persistence.start(),this.localStore=this.Ha(t),this.gcScheduler=this.Ja(t,this.localStore),this.indexBackfillerScheduler=this.Ya(t,this.localStore)}Ja(t,e){return null}Ya(t,e){return null}Ha(t){return function(t,e,r,o){return new Xo(t,e,r,o)}(this.persistence,new Qo,t.initialUser,this.serializer)}ja(t){return new $o(Ho.ei,this.serializer)}za(t){return new on}async terminate(){var t,e;null===(t=this.gcScheduler)||void 0===t||t.stop(),null===(e=this.indexBackfillerScheduler)||void 0===e||e.stop(),this.sharedClientState.shutdown(),await this.persistence.shutdown()}}zi.provider={build:()=>new zi};class Fi extends zi{constructor(t){super(),this.cacheSizeBytes=t}Ja(t,e){y(this.persistence.referenceDelegate instanceof Go);const r=this.persistence.referenceDelegate.garbageCollector;return new So(r,t.asyncQueue,e)}ja(t){const e=void 0!==this.cacheSizeBytes?Io.withCacheSize(this.cacheSizeBytes):Io.DEFAULT;return new $o((t=>Go.ei(t,e)),this.serializer)}}class qi{async initialize(t,e){this.localStore||(this.localStore=t.localStore,this.sharedClientState=t.sharedClientState,this.datastore=this.createDatastore(e),this.remoteStore=this.createRemoteStore(e),this.eventManager=this.createEventManager(e),this.syncEngine=this.createSyncEngine(e,!t.synchronizeTabs),this.sharedClientState.onlineStateHandler=t=>Ei(this.syncEngine,t,1),this.remoteStore.remoteSyncer.handleCredentialChange=Bi.bind(null,this.syncEngine),await async function(t,e){const r=w(t);e?(r.k_.delete(2),await _n(r)):e||(r.k_.add(2),await kn(r),r.K_.set("Unknown"))}(this.remoteStore,this.syncEngine.isPrimaryClient))}createEventManager(t){return new ri}createDatastore(t){const e=hn(t.databaseInfo.databaseId),r=function(t){return new mn(t)}(t.databaseInfo);return function(t,e,r,o){return new yn(t,e,r,o)}(t.authCredentials,t.appCheckCredentials,r,e)}createRemoteStore(t){return function(t,e,r,o,n){return new xn(t,e,r,o,n)}(this.localStore,this.datastore,t.asyncQueue,(t=>Ei(this.syncEngine,t,0)),an.p()?new an:new nn)}createSyncEngine(t,e){return function(t,e,r,o,n,i,a){const s=new fi(t,e,r,o,n,i);return a&&(s.$a=!0),s}(this.localStore,this.remoteStore,this.eventManager,this.sharedClientState,t.initialUser,t.maxConcurrentLimboResolutions,e)}async terminate(){var t,e;await async function(t){const e=w(t);h("RemoteStore","RemoteStore shutting down."),e.k_.add(5),await kn(e),e.Q_.shutdown(),e.K_.set("Unknown")}(this.remoteStore),null===(t=this.datastore)||void 0===t||t.terminate(),null===(e=this.eventManager)||void 0===e||e.terminate()}}qi.provider={build:()=>new qi};class $i{constructor(t){this.observer=t,this.muted=!1}next(t){this.muted||this.observer.next&&this.Xa(this.observer.next,t)}error(t){this.muted||(this.observer.error?this.Xa(this.observer.error,t):g("Uncaught Error in snapshot listener:",t.toString()))}eu(){this.muted=!0}Xa(t,e){setTimeout((()=>{this.muted||t(e)}),0)}}class Ui{constructor(t,e,r,o,n){this.authCredentials=t,this.appCheckCredentials=e,this.asyncQueue=r,this.databaseInfo=o,this.user=d.UNAUTHENTICATED,this.clientId=O.newId(),this.authCredentialListener=()=>Promise.resolve(),this.appCheckCredentialListener=()=>Promise.resolve(),this._uninitializedComponentsProvider=n,this.authCredentials.start(r,(async t=>{h("FirestoreClient","Received user=",t.uid),await this.authCredentialListener(t),this.user=t})),this.appCheckCredentials.start(r,(t=>(h("FirestoreClient","Received new app check token=",t),this.appCheckCredentialListener(t,this.user))))}get configuration(){return{asyncQueue:this.asyncQueue,databaseInfo:this.databaseInfo,clientId:this.clientId,authCredentials:this.authCredentials,appCheckCredentials:this.appCheckCredentials,initialUser:this.user,maxConcurrentLimboResolutions:100}}setCredentialChangeListener(t){this.authCredentialListener=t}setAppCheckTokenChangeListener(t){this.appCheckCredentialListener=t}terminate(){this.asyncQueue.enterRestrictedMode();const t=new k;return this.asyncQueue.enqueueAndForgetEvenWhileRestricted((async()=>{try{this._onlineComponents&&await this._onlineComponents.terminate(),this._offlineComponents&&await this._offlineComponents.terminate(),this.authCredentials.shutdown(),this.appCheckCredentials.shutdown(),t.resolve()}catch(e){const r=Yn(e,"Failed to shutdown persistence");t.reject(r)}})),t.promise}}async function Hi(t,e){t.asyncQueue.verifyOperationInProgress(),h("FirestoreClient","Initializing OfflineComponentProvider");const r=t.configuration;await e.initialize(r);let o=r.initialUser;t.setCredentialChangeListener((async t=>{o.isEqual(t)||(await Yo(e.localStore,t),o=t)})),e.persistence.setDatabaseDeletedListener((()=>t.terminate())),t._offlineComponents=e}async function Gi(t,e){t.asyncQueue.verifyOperationInProgress();const r=await async function(t){if(!t._offlineComponents)if(t._uninitializedComponentsProvider){h("FirestoreClient","Using user provided OfflineComponentProvider");try{await Hi(t,t._uninitializedComponentsProvider._offline)}catch(e){const r=e;if(!function(t){return"FirebaseError"===t.name?t.code===x.FAILED_PRECONDITION||t.code===x.UNIMPLEMENTED:!("undefined"!=typeof DOMException&&t instanceof DOMException)||22===t.code||20===t.code||11===t.code}(r))throw r;b("Error using user provided cache. Falling back to memory cache: "+r),await Hi(t,new zi)}}else h("FirestoreClient","Using default OfflineComponentProvider"),await Hi(t,new Fi(void 0));return t._offlineComponents}(t);h("FirestoreClient","Initializing OnlineComponentProvider"),await e.initialize(r,t.configuration),t.setCredentialChangeListener((t=>Kn(e.remoteStore,t))),t.setAppCheckTokenChangeListener(((t,r)=>Kn(e.remoteStore,r))),t._onlineComponents=e}async function Ki(t){return t._onlineComponents||(t._uninitializedComponentsProvider?(h("FirestoreClient","Using user provided OnlineComponentProvider"),await Gi(t,t._uninitializedComponentsProvider._online)):(h("FirestoreClient","Using default OnlineComponentProvider"),await Gi(t,new qi))),t._onlineComponents}async function Wi(t){const e=await Ki(t),r=e.eventManager;return r.onListen=vi.bind(null,e.syncEngine),r.onUnlisten=xi.bind(null,e.syncEngine),r.onFirstRemoteStoreListen=yi.bind(null,e.syncEngine),r.onLastRemoteStoreUnlisten=_i.bind(null,e.syncEngine),r}function Qi(t){const e={};return void 0!==t.timeoutSeconds&&(e.timeoutSeconds=t.timeoutSeconds),e}const Xi=new Map;function Yi(t,e,r){if(!r)throw new _(x.INVALID_ARGUMENT,`Function ${t}() cannot be called with an empty ${e}.`)}function Ji(t){if(!q.isDocumentKey(t))throw new _(x.INVALID_ARGUMENT,`Invalid document reference. Document references must have an even number of segments, but ${t} has ${t.length}.`)}function Zi(t){if(q.isDocumentKey(t))throw new _(x.INVALID_ARGUMENT,`Invalid collection reference. Collection references must have an odd number of segments, but ${t} has ${t.length}.`)}function ta(t){if(void 0===t)return"undefined";if(null===t)return"null";if("string"==typeof t)return t.length>20&&(t=`${t.substring(0,20)}...`),JSON.stringify(t);if("number"==typeof t||"boolean"==typeof t)return""+t;if("object"==typeof t){if(t instanceof Array)return"an array";{const e=function(t){return t.constructor?t.constructor.name:null}(t);return e?`a custom ${e} object`:"an object"}}return"function"==typeof t?"a function":v()}function ea(t,e){if("_delegate"in t&&(t=t._delegate),!(t instanceof e)){if(e.name===t.constructor.name)throw new _(x.INVALID_ARGUMENT,"Type does not match the expected instance. Did you pass a reference from a different Firestore SDK?");{const r=ta(t);throw new _(x.INVALID_ARGUMENT,`Expected type '${e.name}', but it was: ${r}`)}}return t}class ra{constructor(t){var e,r;if(void 0===t.host){if(void 0!==t.ssl)throw new _(x.INVALID_ARGUMENT,"Can't provide ssl option if host option is not set");this.host="firestore.googleapis.com",this.ssl=!0}else this.host=t.host,this.ssl=null===(e=t.ssl)||void 0===e||e;if(this.credentials=t.credentials,this.ignoreUndefinedProperties=!!t.ignoreUndefinedProperties,this.localCache=t.localCache,void 0===t.cacheSizeBytes)this.cacheSizeBytes=41943040;else{if(-1!==t.cacheSizeBytes&&t.cacheSizeBytes<1048576)throw new _(x.INVALID_ARGUMENT,"cacheSizeBytes must be at least 1048576");this.cacheSizeBytes=t.cacheSizeBytes}(function(t,e,r,o){if(!0===e&&!0===o)throw new _(x.INVALID_ARGUMENT,"experimentalForceLongPolling and experimentalAutoDetectLongPolling cannot be used together.")})(0,t.experimentalForceLongPolling,0,t.experimentalAutoDetectLongPolling),this.experimentalForceLongPolling=!!t.experimentalForceLongPolling,this.experimentalForceLongPolling?this.experimentalAutoDetectLongPolling=!1:void 0===t.experimentalAutoDetectLongPolling?this.experimentalAutoDetectLongPolling=!0:this.experimentalAutoDetectLongPolling=!!t.experimentalAutoDetectLongPolling,this.experimentalLongPollingOptions=Qi(null!==(r=t.experimentalLongPollingOptions)&&void 0!==r?r:{}),function(t){if(void 0!==t.timeoutSeconds){if(isNaN(t.timeoutSeconds))throw new _(x.INVALID_ARGUMENT,`invalid long polling timeout: ${t.timeoutSeconds} (must not be NaN)`);if(t.timeoutSeconds<5)throw new _(x.INVALID_ARGUMENT,`invalid long polling timeout: ${t.timeoutSeconds} (minimum allowed value is 5)`);if(t.timeoutSeconds>30)throw new _(x.INVALID_ARGUMENT,`invalid long polling timeout: ${t.timeoutSeconds} (maximum allowed value is 30)`)}}(this.experimentalLongPollingOptions),this.useFetchStreams=!!t.useFetchStreams}isEqual(t){return this.host===t.host&&this.ssl===t.ssl&&this.credentials===t.credentials&&this.cacheSizeBytes===t.cacheSizeBytes&&this.experimentalForceLongPolling===t.experimentalForceLongPolling&&this.experimentalAutoDetectLongPolling===t.experimentalAutoDetectLongPolling&&function(t,e){return t.timeoutSeconds===e.timeoutSeconds}(this.experimentalLongPollingOptions,t.experimentalLongPollingOptions)&&this.ignoreUndefinedProperties===t.ignoreUndefinedProperties&&this.useFetchStreams===t.useFetchStreams}}class oa{constructor(t,e,r,o){this._authCredentials=t,this._appCheckCredentials=e,this._databaseId=r,this._app=o,this.type="firestore-lite",this._persistenceKey="(lite)",this._settings=new ra({}),this._settingsFrozen=!1,this._terminateTask="notTerminated"}get app(){if(!this._app)throw new _(x.FAILED_PRECONDITION,"Firestore was not initialized using the Firebase SDK. 'app' is not available");return this._app}get _initialized(){return this._settingsFrozen}get _terminated(){return"notTerminated"!==this._terminateTask}_setSettings(t){if(this._settingsFrozen)throw new _(x.FAILED_PRECONDITION,"Firestore has already been started and its settings can no longer be changed. You can only modify settings before calling any other methods on a Firestore object.");this._settings=new ra(t),void 0!==t.credentials&&(this._authCredentials=function(t){if(!t)return new I;switch(t.type){case"firstParty":return new S(t.sessionIndex||"0",t.iamToken||null,t.authTokenFactory||null);case"provider":return t.client;default:throw new _(x.INVALID_ARGUMENT,"makeAuthCredentialsProvider failed due to invalid credential type")}}(t.credentials))}_getSettings(){return this._settings}_freezeSettings(){return this._settingsFrozen=!0,this._settings}_delete(){return"notTerminated"===this._terminateTask&&(this._terminateTask=this._terminate()),this._terminateTask}async _restart(){"notTerminated"===this._terminateTask?await this._terminate():this._terminateTask="notTerminated"}toJSON(){return{app:this._app,databaseId:this._databaseId,settings:this._settings}}_terminate(){return function(t){const e=Xi.get(t);e&&(h("ComponentProvider","Removing Datastore"),Xi.delete(t),e.terminate())}(this),Promise.resolve()}}class na{constructor(t,e,r){this.converter=e,this._query=r,this.type="query",this.firestore=t}withConverter(t){return new na(this.firestore,t,this._query)}}class ia{constructor(t,e,r){this.converter=e,this._key=r,this.type="document",this.firestore=t}get _path(){return this._key.path}get id(){return this._key.path.lastSegment()}get path(){return this._key.path.canonicalString()}get parent(){return new aa(this.firestore,this.converter,this._key.path.popLast())}withConverter(t){return new ia(this.firestore,t,this._key)}}class aa extends na{constructor(t,e,r){super(t,e,fe(r)),this._path=r,this.type="collection"}get id(){return this._query.path.lastSegment()}get path(){return this._query.path.canonicalString()}get parent(){const t=this._path.popLast();return t.isEmpty()?null:new ia(this.firestore,null,new q(t))}withConverter(t){return new aa(this.firestore,t,this._path)}}function sa(t,e,...r){if(t=(0,a.Ku)(t),Yi("collection","path",e),t instanceof oa){const o=j.fromString(e,...r);return Zi(o),new aa(t,null,o)}{if(!(t instanceof ia||t instanceof aa))throw new _(x.INVALID_ARGUMENT,"Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore");const o=t._path.child(j.fromString(e,...r));return Zi(o),new aa(t.firestore,null,o)}}function la(t,e,...r){if(t=(0,a.Ku)(t),1===arguments.length&&(e=O.newId()),Yi("doc","path",e),t instanceof oa){const o=j.fromString(e,...r);return Ji(o),new ia(t,null,new q(o))}{if(!(t instanceof ia||t instanceof aa))throw new _(x.INVALID_ARGUMENT,"Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore");const o=t._path.child(j.fromString(e,...r));return Ji(o),new ia(t.firestore,t instanceof aa?t.converter:null,new q(o))}}class ca{constructor(t=Promise.resolve()){this.Iu=[],this.Eu=!1,this.du=[],this.Au=null,this.Ru=!1,this.Vu=!1,this.mu=[],this.r_=new gn(this,"async_queue_retry"),this.fu=()=>{const t=pn();t&&h("AsyncQueue","Visibility state changed to "+t.visibilityState),this.r_.Jo()},this.gu=t;const e=pn();e&&"function"==typeof e.addEventListener&&e.addEventListener("visibilitychange",this.fu)}get isShuttingDown(){return this.Eu}enqueueAndForget(t){this.enqueue(t)}enqueueAndForgetEvenWhileRestricted(t){this.pu(),this.yu(t)}enterRestrictedMode(t){if(!this.Eu){this.Eu=!0,this.Vu=t||!1;const e=pn();e&&"function"==typeof e.removeEventListener&&e.removeEventListener("visibilitychange",this.fu)}}enqueue(t){if(this.pu(),this.Eu)return new Promise((()=>{}));const e=new k;return this.yu((()=>this.Eu&&this.Vu?Promise.resolve():(t().then(e.resolve,e.reject),e.promise))).then((()=>e.promise))}enqueueRetryable(t){this.enqueueAndForget((()=>(this.Iu.push(t),this.wu())))}async wu(){if(0!==this.Iu.length){try{await this.Iu[0](),this.Iu.shift(),this.r_.reset()}catch(t){if(!X(t))throw t;h("AsyncQueue","Operation failed with retryable error: "+t)}this.Iu.length>0&&this.r_.jo((()=>this.wu()))}}yu(t){const e=this.gu.then((()=>(this.Ru=!0,t().catch((t=>{this.Au=t,this.Ru=!1;const e=function(t){let e=t.message||"";return t.stack&&(e=t.stack.includes(t.message)?t.stack:t.message+"\n"+t.stack),e}(t);throw g("INTERNAL UNHANDLED ERROR: ",e),t})).then((t=>(this.Ru=!1,t))))));return this.gu=e,e}enqueueAfterDelay(t,e,r){this.pu(),this.mu.indexOf(t)>-1&&(e=0);const o=Xn.createAndSchedule(this,t,e,r,(t=>this.Su(t)));return this.du.push(o),o}pu(){this.Au&&v()}verifyOperationInProgress(){}async bu(){let t;do{t=this.gu,await t}while(t!==this.gu)}Du(t){for(const e of this.du)if(e.timerId===t)return!0;return!1}vu(t){return this.bu().then((()=>{this.du.sort(((t,e)=>t.targetTimeMs-e.targetTimeMs));for(const e of this.du)if(e.skipDelay(),"all"!==t&&e.timerId===t)break;return this.bu()}))}Cu(t){this.mu.push(t)}Su(t){const e=this.du.indexOf(t);this.du.splice(e,1)}}class da extends oa{constructor(t,e,r,o){super(t,e,r,o),this.type="firestore",this._queue=new ca,this._persistenceKey=(null==o?void 0:o.name)||"[DEFAULT]"}async _terminate(){if(this._firestoreClient){const t=this._firestoreClient.terminate();this._queue=new ca(t),this._firestoreClient=void 0,await t}}}function ua(t,e){const r="object"==typeof t?t:(0,o.Sx)(),n="string"==typeof t?t:e||"(default)",i=(0,o.j6)(r,"firestore").getImmediate({identifier:n});if(!i._initialized){const t=(0,a.yU)("firestore");t&&function(t,e,r,o={}){var n;const i=(t=ea(t,oa))._getSettings(),s=`${e}:${r}`;if("firestore.googleapis.com"!==i.host&&i.host!==s&&b("Host has been set in both settings() and connectFirestoreEmulator(), emulator host will be used."),t._setSettings(Object.assign(Object.assign({},i),{host:s,ssl:!1})),o.mockUserToken){let e,r;if("string"==typeof o.mockUserToken)e=o.mockUserToken,r=d.MOCK_USER;else{e=(0,a.Fy)(o.mockUserToken,null===(n=t._app)||void 0===n?void 0:n.options.projectId);const i=o.mockUserToken.sub||o.mockUserToken.user_id;if(!i)throw new _(x.INVALID_ARGUMENT,"mockUserToken must contain 'sub' or 'user_id' field!");r=new d(i)}t._authCredentials=new A(new E(e,r))}}(i,...t)}return i}function ma(t){if(t._terminated)throw new _(x.FAILED_PRECONDITION,"The client has already been terminated.");return t._firestoreClient||function(t){var e,r,o;const n=t._freezeSettings(),i=function(t,e,r,o){return new wt(t,e,r,o.host,o.ssl,o.experimentalForceLongPolling,o.experimentalAutoDetectLongPolling,Qi(o.experimentalLongPollingOptions),o.useFetchStreams)}(t._databaseId,(null===(e=t._app)||void 0===e?void 0:e.options.appId)||"",t._persistenceKey,n);t._componentsProvider||(null===(r=n.localCache)||void 0===r?void 0:r._offlineComponentProvider)&&(null===(o=n.localCache)||void 0===o?void 0:o._onlineComponentProvider)&&(t._componentsProvider={_offline:n.localCache._offlineComponentProvider,_online:n.localCache._onlineComponentProvider}),t._firestoreClient=new Ui(t._authCredentials,t._appCheckCredentials,t._queue,i,t._componentsProvider&&function(t){const e=null==t?void 0:t._online.build();return{_offline:null==t?void 0:t._offline.build(e),_online:e}}(t._componentsProvider))}(t),t._firestoreClient}class pa{constructor(t){this._byteString=t}static fromBase64String(t){try{return new pa(mt.fromBase64String(t))}catch(t){throw new _(x.INVALID_ARGUMENT,"Failed to construct data from Base64 string: "+t)}}static fromUint8Array(t){return new pa(mt.fromUint8Array(t))}toBase64(){return this._byteString.toBase64()}toUint8Array(){return this._byteString.toUint8Array()}toString(){return"Bytes(base64: "+this.toBase64()+")"}isEqual(t){return this._byteString.isEqual(t._byteString)}}class ha{constructor(...t){for(let e=0;e90)throw new _(x.INVALID_ARGUMENT,"Latitude must be a number between -90 and 90, but was: "+t);if(!isFinite(e)||e<-180||e>180)throw new _(x.INVALID_ARGUMENT,"Longitude must be a number between -180 and 180, but was: "+e);this._lat=t,this._long=e}get latitude(){return this._lat}get longitude(){return this._long}isEqual(t){return this._lat===t._lat&&this._long===t._long}toJSON(){return{latitude:this._lat,longitude:this._long}}_compareTo(t){return M(this._lat,t._lat)||M(this._long,t._long)}}class fa{constructor(t){this._values=(t||[]).map((t=>t))}toArray(){return this._values.map((t=>t))}isEqual(t){return function(t,e){if(t.length!==e.length)return!1;for(let r=0;rt.isPrefixOf(e)))||void 0!==this.fieldTransforms.find((e=>t.isPrefixOf(e.field)))}Fu(){if(this.path)for(let t=0;tl.covers(t.field)))}else l=null,c=a.fieldTransforms;return new ya(new Ft(s),l,c)}class Aa extends ga{_toFieldTransform(t){if(2!==t.Mu)throw 1===t.Mu?t.qu(`${this._methodName}() can only appear at the top level of your update data`):t.qu(`${this._methodName}() cannot be used with set() unless you pass {merge:true}`);return t.fieldMask.push(t.path),null}isEqual(t){return t instanceof Aa}}function Ta(t,e){if(Sa(t=(0,a.Ku)(t)))return Da("Unsupported field value:",e,t),Ca(t,e);if(t instanceof ga)return function(t,e){if(!xa(e.Mu))throw e.qu(`${t._methodName}() can only be used with update() and set()`);if(!e.path)throw e.qu(`${t._methodName}() is not currently supported inside arrays`);const r=t._toFieldTransform(e);r&&e.fieldTransforms.push(r)}(t,e),null;if(void 0===t&&e.ignoreUndefinedProperties)return null;if(e.path&&e.fieldMask.push(e.path),t instanceof Array){if(e.settings.Nu&&4!==e.Mu)throw e.qu("Nested arrays are not supported");return function(t,e){const r=[];let o=0;for(const n of t){let t=Ta(n,e.ku(o));null==t&&(t={nullValue:"NULL_VALUE"}),r.push(t),o++}return{arrayValue:{values:r}}}(t,e)}return function(t,e){if(null===(t=(0,a.Ku)(t)))return{nullValue:"NULL_VALUE"};if("number"==typeof t)return He(e.serializer,t);if("boolean"==typeof t)return{booleanValue:t};if("string"==typeof t)return{stringValue:t};if(t instanceof Date){const r=B.fromDate(t);return{timestampValue:Gr(e.serializer,r)}}if(t instanceof B){const r=new B(t.seconds,1e3*Math.floor(t.nanoseconds/1e3));return{timestampValue:Gr(e.serializer,r)}}if(t instanceof ba)return{geoPointValue:{latitude:t.latitude,longitude:t.longitude}};if(t instanceof pa)return{bytesValue:Kr(e.serializer,t._byteString)};if(t instanceof ia){const r=e.databaseId,o=t.firestore._databaseId;if(!o.isEqual(r))throw e.qu(`Document reference is for database ${o.projectId}/${o.database} but should be for database ${r.projectId}/${r.database}`);return{referenceValue:Xr(t.firestore._databaseId||e.databaseId,t._key.path)}}if(t instanceof fa)return function(t,e){return{mapValue:{fields:{__type__:{stringValue:"__vector__"},value:{arrayValue:{values:t.toArray().map((t=>{if("number"!=typeof t)throw e.qu("VectorValues must only contain numeric values.");return $e(e.serializer,t)}))}}}}}}(t,e);throw e.qu(`Unsupported field value: ${ta(t)}`)}(t,e)}function Ca(t,e){const r={};return nt(t)?e.path&&e.path.length>0&&e.fieldMask.push(e.path):ot(t,((t,o)=>{const n=Ta(o,e.Ou(t));null!=n&&(r[t]=n)})),{mapValue:{fields:r}}}function Sa(t){return!("object"!=typeof t||null===t||t instanceof Array||t instanceof Date||t instanceof B||t instanceof ba||t instanceof pa||t instanceof ia||t instanceof ga||t instanceof fa)}function Da(t,e,r){if(!Sa(r)||!function(t){return"object"==typeof t&&null!==t&&(Object.getPrototypeOf(t)===Object.prototype||null===Object.getPrototypeOf(t))}(r)){const o=ta(r);throw"an object"===o?e.qu(t+" a custom object"):e.qu(t+" "+o)}}function La(t,e,r){if((e=(0,a.Ku)(e))instanceof ha)return e._internalPath;if("string"==typeof e)return Oa(t,e);throw Ma("Field path arguments must be of type string or ",t,!1,void 0,r)}const Na=new RegExp("[~\\*/\\[\\]]");function Oa(t,e,r){if(e.search(Na)>=0)throw Ma(`Invalid field path (${e}). Paths must not contain '~', '*', '/', '[', or ']'`,t,!1,void 0,r);try{return new ha(...e.split("."))._internalPath}catch(o){throw Ma(`Invalid field path (${e}). Paths must not be empty, begin with '.', end with '.', or contain '..'`,t,!1,void 0,r)}}function Ma(t,e,r,o,n){const i=o&&!o.isEmpty(),a=void 0!==n;let s=`Function ${e}() called with invalid data`;r&&(s+=" (via `toFirestore()`)"),s+=". ";let l="";return(i||a)&&(l+=" (found",i&&(l+=` in field ${o}`),a&&(l+=` in document ${n}`),l+=")"),new _(x.INVALID_ARGUMENT,s+t+l)}function Ra(t,e){return t.some((t=>t.isEqual(e)))}class Ba{constructor(t,e,r,o,n){this._firestore=t,this._userDataWriter=e,this._key=r,this._document=o,this._converter=n}get id(){return this._key.path.lastSegment()}get ref(){return new ia(this._firestore,this._converter,this._key)}exists(){return null!==this._document}data(){if(this._document){if(this._converter){const t=new Pa(this._firestore,this._userDataWriter,this._key,this._document,null);return this._converter.fromFirestore(t)}return this._userDataWriter.convertValue(this._document.data.value)}}get(t){if(this._document){const e=this._document.data.field(Va("DocumentSnapshot.get",t));if(null!==e)return this._userDataWriter.convertValue(e)}}}class Pa extends Ba{data(){return super.data()}}function Va(t,e){return"string"==typeof e?Oa(t,e):e instanceof ha?e._internalPath:e._delegate._internalPath}class ja{}class za extends ja{}function Fa(t,e,...r){let o=[];e instanceof ja&&o.push(e),o=o.concat(r),function(t){const e=t.filter((t=>t instanceof Ua)).length,r=t.filter((t=>t instanceof qa)).length;if(e>1||e>0&&r>0)throw new _(x.INVALID_ARGUMENT,"InvalidQuery. When using composite filters, you cannot use more than one filter at the top level. Consider nesting the multiple filters within an `and(...)` statement. For example: change `query(query, where(...), or(...))` to `query(query, and(where(...), or(...)))`.")}(o);for(const e of o)t=e._apply(t);return t}class qa extends za{constructor(t,e,r){super(),this._field=t,this._op=e,this._value=r,this.type="where"}static _create(t,e,r){return new qa(t,e,r)}_apply(t){const e=this._parse(t);return Ka(t._query,e),new na(t.firestore,t.converter,_e(t._query,e))}_parse(t){const e=Ea(t.firestore),r=function(t,e,r,o,n,i,a){let s;if(n.isKeyField()){if("array-contains"===i||"array-contains-any"===i)throw new _(x.INVALID_ARGUMENT,`Invalid Query. You can't perform '${i}' queries on documentId().`);if("in"===i||"not-in"===i){Ga(a,i);const e=[];for(const r of a)e.push(Ha(o,t,r));s={arrayValue:{values:e}}}else s=Ha(o,t,a)}else"in"!==i&&"not-in"!==i&&"array-contains-any"!==i||Ga(a,i),s=function(t,e,r,o=!1){return Ta(r,t.$u(o?4:3,e))}(r,"where",a,"in"===i||"not-in"===i);return Xt.create(n,i,s)}(t._query,0,e,t.firestore._databaseId,this._field,this._op,this._value);return r}}function $a(t,e,r){const o=e,n=Va("where",t);return qa._create(n,o,r)}class Ua extends ja{constructor(t,e){super(),this.type=t,this._queryConstraints=e}static _create(t,e){return new Ua(t,e)}_parse(t){const e=this._queryConstraints.map((e=>e._parse(t))).filter((t=>t.getFilters().length>0));return 1===e.length?e[0]:Yt.create(e,this._getOperator())}_apply(t){const e=this._parse(t);return 0===e.getFilters().length?t:(function(t,e){let r=t;const o=e.getFlattenedFilters();for(const t of o)Ka(r,t),r=_e(r,t)}(t._query,e),new na(t.firestore,t.converter,_e(t._query,e)))}_getQueryConstraints(){return this._queryConstraints}_getOperator(){return"and"===this.type?"and":"or"}}function Ha(t,e,r){if("string"==typeof(r=(0,a.Ku)(r))){if(""===r)throw new _(x.INVALID_ARGUMENT,"Invalid query. When querying with documentId(), you must provide a valid document ID, but it was an empty string.");if(!ye(e)&&-1!==r.indexOf("/"))throw new _(x.INVALID_ARGUMENT,`Invalid query. When querying a collection by documentId(), you must provide a plain document ID, but '${r}' contains a '/' character.`);const o=e.path.child(j.fromString(r));if(!q.isDocumentKey(o))throw new _(x.INVALID_ARGUMENT,`Invalid query. When querying a collection group by documentId(), the value provided must result in a valid document path, but '${o}' is not because it has an odd number of segments (${o.length}).`);return Nt(t,new q(o))}if(r instanceof ia)return Nt(t,r._key);throw new _(x.INVALID_ARGUMENT,`Invalid query. When querying with documentId(), you must provide a valid string or a DocumentReference, but it was: ${ta(r)}.`)}function Ga(t,e){if(!Array.isArray(t)||0===t.length)throw new _(x.INVALID_ARGUMENT,`Invalid Query. A non-empty array is required for '${e.toString()}' filters.`)}function Ka(t,e){const r=function(t,e){for(const r of t)for(const t of r.getFlattenedFilters())if(e.indexOf(t.op)>=0)return t.op;return null}(t.filters,function(t){switch(t){case"!=":return["!=","not-in"];case"array-contains-any":case"in":return["not-in"];case"not-in":return["array-contains-any","in","not-in","!="];default:return[]}}(e.op));if(null!==r)throw r===e.op?new _(x.INVALID_ARGUMENT,`Invalid query. You cannot use more than one '${e.op.toString()}' filter.`):new _(x.INVALID_ARGUMENT,`Invalid query. You cannot use '${e.op.toString()}' filters with '${r.toString()}' filters.`)}class Wa{convertValue(t,e="none"){switch(kt(t)){case 0:return null;case 1:return t.booleanValue;case 2:return gt(t.integerValue||t.doubleValue);case 3:return this.convertTimestamp(t.timestampValue);case 4:return this.convertServerTimestamp(t,e);case 5:return t.stringValue;case 6:return this.convertBytes(bt(t.bytesValue));case 7:return this.convertReference(t.referenceValue);case 8:return this.convertGeoPoint(t.geoPointValue);case 9:return this.convertArray(t.arrayValue,e);case 11:return this.convertObject(t.mapValue,e);case 10:return this.convertVectorValue(t.mapValue);default:throw v()}}convertObject(t,e){return this.convertObjectMap(t.fields,e)}convertObjectMap(t,e="none"){const r={};return ot(t,((t,o)=>{r[t]=this.convertValue(o,e)})),r}convertVectorValue(t){var e,r,o;const n=null===(o=null===(r=null===(e=t.fields)||void 0===e?void 0:e.value.arrayValue)||void 0===r?void 0:r.values)||void 0===o?void 0:o.map((t=>gt(t.doubleValue)));return new fa(n)}convertGeoPoint(t){return new ba(gt(t.latitude),gt(t.longitude))}convertArray(t,e){return(t.values||[]).map((t=>this.convertValue(t,e)))}convertServerTimestamp(t,e){switch(e){case"previous":const r=vt(t);return null==r?null:this.convertValue(r,e);case"estimate":return this.convertTimestamp(yt(t));default:return null}}convertTimestamp(t){const e=ht(t);return new B(e.seconds,e.nanos)}convertDocumentKey(t,e){const r=j.fromString(t);y(fo(r));const o=new xt(r.get(1),r.get(3)),n=new q(r.popFirst(5));return o.isEqual(e)||g(`Document ${n} contains a document reference within a different database (${o.projectId}/${o.database}) which is not supported. It will be treated as a reference in the current database (${e.projectId}/${e.database}) instead.`),n}}class Qa{constructor(t,e){this.hasPendingWrites=t,this.fromCache=e}isEqual(t){return this.hasPendingWrites===t.hasPendingWrites&&this.fromCache===t.fromCache}}class Xa extends Ba{constructor(t,e,r,o,n,i){super(t,e,r,o,i),this._firestore=t,this._firestoreImpl=t,this.metadata=n}exists(){return super.exists()}data(t={}){if(this._document){if(this._converter){const e=new Ya(this._firestore,this._userDataWriter,this._key,this._document,this.metadata,null);return this._converter.fromFirestore(e,t)}return this._userDataWriter.convertValue(this._document.data.value,t.serverTimestamps)}}get(t,e={}){if(this._document){const r=this._document.data.field(Va("DocumentSnapshot.get",t));if(null!==r)return this._userDataWriter.convertValue(r,e.serverTimestamps)}}}class Ya extends Xa{data(t={}){return super.data(t)}}class Ja{constructor(t,e,r,o){this._firestore=t,this._userDataWriter=e,this._snapshot=o,this.metadata=new Qa(o.hasPendingWrites,o.fromCache),this.query=r}get docs(){const t=[];return this.forEach((e=>t.push(e))),t}get size(){return this._snapshot.docs.size}get empty(){return 0===this.size}forEach(t,e){this._snapshot.docs.forEach((r=>{t.call(e,new Ya(this._firestore,this._userDataWriter,r.key,r,new Qa(this._snapshot.mutatedKeys.has(r.key),this._snapshot.fromCache),this.query.converter))}))}docChanges(t={}){const e=!!t.includeMetadataChanges;if(e&&this._snapshot.excludesMetadataChanges)throw new _(x.INVALID_ARGUMENT,"To include metadata changes with your document changes, you must also pass { includeMetadataChanges:true } to onSnapshot().");return this._cachedChanges&&this._cachedChangesIncludeMetadataChanges===e||(this._cachedChanges=function(t,e){if(t._snapshot.oldDocs.isEmpty()){let e=0;return t._snapshot.docChanges.map((r=>{const o=new Ya(t._firestore,t._userDataWriter,r.doc.key,r.doc,new Qa(t._snapshot.mutatedKeys.has(r.doc.key),t._snapshot.fromCache),t.query.converter);return r.doc,{type:"added",doc:o,oldIndex:-1,newIndex:e++}}))}{let r=t._snapshot.oldDocs;return t._snapshot.docChanges.filter((t=>e||3!==t.type)).map((e=>{const o=new Ya(t._firestore,t._userDataWriter,e.doc.key,e.doc,new Qa(t._snapshot.mutatedKeys.has(e.doc.key),t._snapshot.fromCache),t.query.converter);let n=-1,i=-1;return 0!==e.type&&(n=r.indexOf(e.doc.key),r=r.delete(e.doc.key)),1!==e.type&&(r=r.add(e.doc),i=r.indexOf(e.doc.key)),{type:Za(e.type),doc:o,oldIndex:n,newIndex:i}}))}}(this,e),this._cachedChangesIncludeMetadataChanges=e),this._cachedChanges}}function Za(t){switch(t){case 0:return"added";case 2:case 3:return"modified";case 1:return"removed";default:return v()}}function ts(t){t=ea(t,ia);const e=ea(t.firestore,da);return function(t,e,r={}){const o=new k;return t.asyncQueue.enqueueAndForget((async()=>function(t,e,r,o,n){const i=new $i({next:s=>{i.eu(),e.enqueueAndForget((()=>ii(t,a)));const l=s.docs.has(r);!l&&s.fromCache?n.reject(new _(x.UNAVAILABLE,"Failed to get document because the client is offline.")):l&&s.fromCache&&o&&"server"===o.source?n.reject(new _(x.UNAVAILABLE,'Failed to get document from server. (However, this document does exist in the local cache. Run again without setting source to "server" to retrieve the cached document.)')):n.resolve(s)},error:t=>n.reject(t)}),a=new ui(fe(r.path),i,{includeMetadataChanges:!0,ua:!0});return ni(t,a)}(await Wi(t),t.asyncQueue,e,r,o))),o.promise}(ma(e),t._key).then((r=>function(t,e,r){const o=r.docs.get(e._key),n=new es(t);return new Xa(t,n,e._key,o,new Qa(r.hasPendingWrites,r.fromCache),e.converter)}(e,t,r)))}class es extends Wa{constructor(t){super(),this.firestore=t}convertBytes(t){return new pa(t)}convertReference(t){const e=this.convertDocumentKey(t,this.firestore._databaseId);return new ia(this.firestore,null,e)}}function rs(t){t=ea(t,na);const e=ea(t.firestore,da),r=ma(e),o=new es(e);return function(t){if("L"===t.limitType&&0===t.explicitOrderBy.length)throw new _(x.UNIMPLEMENTED,"limitToLast() queries require specifying at least one orderBy() clause")}(t._query),function(t,e,r={}){const o=new k;return t.asyncQueue.enqueueAndForget((async()=>function(t,e,r,o,n){const i=new $i({next:r=>{i.eu(),e.enqueueAndForget((()=>ii(t,a))),r.fromCache&&"server"===o.source?n.reject(new _(x.UNAVAILABLE,'Failed to get documents from server. (However, these documents may exist in the local cache. Run again without setting source to "server" to retrieve the cached documents.)')):n.resolve(r)},error:t=>n.reject(t)}),a=new ui(r,i,{includeMetadataChanges:!0,ua:!0});return ni(t,a)}(await Wi(t),t.asyncQueue,e,r,o))),o.promise}(r,t._query).then((r=>new Ja(e,o,t,r)))}function os(t,e,r){t=ea(t,ia);const o=ea(t.firestore,da),n=function(t,e,r){let o;return o=t?r&&(r.merge||r.mergeFields)?t.toFirestore(e,r):t.toFirestore(e):e,o}(t.converter,e,r);return as(o,[Ia(Ea(o),"setDoc",t._key,n,null!==t.converter,r).toMutation(t._key,ir.none())])}function ns(t,e,r,...o){t=ea(t,ia);const n=ea(t.firestore,da),i=Ea(n);let s;return s="string"==typeof(e=(0,a.Ku)(e))||e instanceof ha?function(t,e,r,o,n,i){const s=t.$u(1,e,r),l=[La(e,o,r)],c=[n];if(i.length%2!=0)throw new _(x.INVALID_ARGUMENT,`Function ${e}() needs to be called with an even number of arguments that alternate between field names and values.`);for(let t=0;t=0;--t)if(!Ra(d,l[t])){const e=l[t];let r=c[t];r=(0,a.Ku)(r);const o=s.Bu(e);if(r instanceof Aa)d.push(e);else{const t=Ta(r,o);null!=t&&(d.push(e),u.set(e,t))}}const m=new dt(d);return new wa(u,m,s.fieldTransforms)}(i,"updateDoc",t._key,e,r,o):function(t,e,r,o){const n=t.$u(1,e,r);Da("Data must be an object, but it was:",n,o);const i=[],s=Ft.empty();ot(o,((t,o)=>{const l=Oa(e,t,r);o=(0,a.Ku)(o);const c=n.Bu(l);if(o instanceof Aa)i.push(l);else{const t=Ta(o,c);null!=t&&(i.push(l),s.set(l,t))}}));const l=new dt(i);return new wa(s,l,n.fieldTransforms)}(i,"updateDoc",t._key,e),as(n,[s.toMutation(t._key,ir.exists(!0))])}function is(t){return as(ea(t.firestore,da),[new vr(t._key,ir.none())])}function as(t,e){return function(t,e){const r=new k;return t.asyncQueue.enqueueAndForget((async()=>async function(t,e,r){const o=ji(t);try{const t=await function(t,e){const r=w(t),o=B.now(),n=e.reduce(((t,e)=>t.add(e.key)),Fe());let i,a;return r.persistence.runTransaction("Locally write mutations","readwrite",(t=>{let s=Ne(),l=Fe();return r.hs.getEntries(t,n).next((t=>{s=t,s.forEach(((t,e)=>{e.isValidDocument()||(l=l.add(t))}))})).next((()=>r.localDocuments.getOverlayedDocuments(t,s))).next((n=>{i=n;const a=[];for(const t of e){const e=ur(t,i.get(t.key).overlayedDocument);null!=e&&a.push(new hr(t.key,e,qt(e.value.mapValue),ir.exists(!0)))}return r.mutationQueue.addMutationBatch(t,o,a,e)})).next((e=>{a=e;const o=e.applyToLocalDocumentSet(i,l);return r.documentOverlayCache.saveOverlays(t,e.batchId,o)}))})).then((()=>({batchId:a.batchId,changes:Re(i)})))}(o.localStore,e);o.sharedClientState.addPendingMutation(t.batchId),function(t,e,r){let o=t.qa[t.currentUser.toKey()];o||(o=new it(M)),o=o.insert(e,r),t.qa[t.currentUser.toKey()]=o}(o,t.batchId,r),await Ri(o,t.changes),await Vn(o.remoteStore)}catch(t){const e=Yn(t,"Failed to persist write");r.reject(e)}}(await function(t){return Ki(t).then((t=>t.syncEngine))}(t),e,r))),r.promise}(ma(t),e)}new WeakMap,function(t,e=!0){!function(t){u=t}(o.MF),(0,o.om)(new n.uA("firestore",((t,{instanceIdentifier:r,options:o})=>{const n=t.getProvider("app").getImmediate(),i=new da(new T(t.getProvider("auth-internal")),new L(t.getProvider("app-check-internal")),function(t,e){if(!Object.prototype.hasOwnProperty.apply(t.options,["projectId"]))throw new _(x.INVALID_ARGUMENT,'"projectId" not provided in firebase.initializeApp.');return new xt(t.options.projectId,e)}(n,r),n);return o=Object.assign({useFetchStreams:e},o),i._setSettings(o),i}),"PUBLIC").setMultipleInstances(!0)),(0,o.KO)(c,"4.7.5",t),(0,o.KO)(c,"4.7.5","esm2017")}()},6743:(t,e,r)=>{"use strict";r.d(e,{FA:()=>y,Fy:()=>u,K3:()=>n,Ku:()=>C,T9:()=>c,Uj:()=>a,ZQ:()=>m,bD:()=>x,cY:()=>d,dM:()=>f,eX:()=>b,g:()=>v,nr:()=>h,p9:()=>T,sr:()=>p,yU:()=>l,zW:()=>g});const o=function(t){const e=[];let r=0;for(let o=0;o>6|192,e[r++]=63&n|128):55296==(64512&n)&&o+1>18|240,e[r++]=n>>12&63|128,e[r++]=n>>6&63|128,e[r++]=63&n|128):(e[r++]=n>>12|224,e[r++]=n>>6&63|128,e[r++]=63&n|128)}return e},n={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"==typeof atob,encodeByteArray(t,e){if(!Array.isArray(t))throw Error("encodeByteArray takes an array as a parameter");this.init_();const r=e?this.byteToCharMapWebSafe_:this.byteToCharMap_,o=[];for(let e=0;e>2,d=(3&n)<<4|a>>4;let u=(15&a)<<2|l>>6,m=63&l;s||(m=64,i||(u=64)),o.push(r[c],r[d],r[u],r[m])}return o.join("")},encodeString(t,e){return this.HAS_NATIVE_SUPPORT&&!e?btoa(t):this.encodeByteArray(o(t),e)},decodeString(t,e){return this.HAS_NATIVE_SUPPORT&&!e?atob(t):function(t){const e=[];let r=0,o=0;for(;r191&&n<224){const i=t[r++];e[o++]=String.fromCharCode((31&n)<<6|63&i)}else if(n>239&&n<365){const i=((7&n)<<18|(63&t[r++])<<12|(63&t[r++])<<6|63&t[r++])-65536;e[o++]=String.fromCharCode(55296+(i>>10)),e[o++]=String.fromCharCode(56320+(1023&i))}else{const i=t[r++],a=t[r++];e[o++]=String.fromCharCode((15&n)<<12|(63&i)<<6|63&a)}}return e.join("")}(this.decodeStringToByteArray(t,e))},decodeStringToByteArray(t,e){this.init_();const r=e?this.charToByteMapWebSafe_:this.charToByteMap_,o=[];for(let e=0;e>4;if(o.push(c),64!==s){const t=a<<4&240|s>>2;if(o.push(t),64!==l){const t=s<<6&192|l;o.push(t)}}}return o},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let t=0;t=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(t)]=t,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(t)]=t)}}};class i extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const a=function(t){return function(t){const e=o(t);return n.encodeByteArray(e,!0)}(t).replace(/\./g,"")},s=()=>{try{return function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==r.g)return r.g;throw new Error("Unable to locate global object.")}().__FIREBASE_DEFAULTS__||(()=>{if("undefined"==typeof process||void 0===process.env)return;const t=process.env.__FIREBASE_DEFAULTS__;return t?JSON.parse(t):void 0})()||(()=>{if("undefined"==typeof document)return;let t;try{t=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch(t){return}const e=t&&function(t){try{return n.decodeString(t,!0)}catch(t){console.error("base64Decode failed: ",t)}return null}(t[1]);return e&&JSON.parse(e)})()}catch(t){return void console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${t}`)}},l=t=>{const e=(t=>{var e,r;return null===(r=null===(e=s())||void 0===e?void 0:e.emulatorHosts)||void 0===r?void 0:r[t]})(t);if(!e)return;const r=e.lastIndexOf(":");if(r<=0||r+1===e.length)throw new Error(`Invalid host ${e} with no separate hostname and port!`);const o=parseInt(e.substring(r+1),10);return"["===e[0]?[e.substring(1,r-1),o]:[e.substring(0,r),o]},c=()=>{var t;return null===(t=s())||void 0===t?void 0:t.config};class d{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}wrapCallback(t){return(e,r)=>{e?this.reject(e):this.resolve(r),"function"==typeof t&&(this.promise.catch((()=>{})),1===t.length?t(e):t(e,r))}}}function u(t,e){if(t.uid)throw new Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');const r=e||"demo-project",o=t.iat||0,n=t.sub||t.user_id;if(!n)throw new Error("mockUserToken must contain 'sub' or 'user_id' field!");const i=Object.assign({iss:`https://securetoken.google.com/${r}`,aud:r,iat:o,exp:o+3600,auth_time:o,sub:n,user_id:n,firebase:{sign_in_provider:"custom",identities:{}}},t);return[a(JSON.stringify({alg:"none",type:"JWT"})),a(JSON.stringify(i)),""].join(".")}function m(){return"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent?navigator.userAgent:""}function p(){const t="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof t&&void 0!==t.id}function h(){return!function(){var t;const e=null===(t=s())||void 0===t?void 0:t.forceEnvironment;if("node"===e)return!0;if("browser"===e)return!1;try{return"[object process]"===Object.prototype.toString.call(r.g.process)}catch(t){return!1}}()&&!!navigator.userAgent&&navigator.userAgent.includes("Safari")&&!navigator.userAgent.includes("Chrome")}function g(){try{return"object"==typeof indexedDB}catch(t){return!1}}function b(){return new Promise(((t,e)=>{try{let r=!0;const o="validate-browser-context-for-indexeddb-analytics-module",n=self.indexedDB.open(o);n.onsuccess=()=>{n.result.close(),r||self.indexedDB.deleteDatabase(o),t(!0)},n.onupgradeneeded=()=>{r=!1},n.onerror=()=>{var t;e((null===(t=n.error)||void 0===t?void 0:t.message)||"")}}catch(t){e(t)}}))}function f(){return!("undefined"==typeof navigator||!navigator.cookieEnabled)}class v extends Error{constructor(t,e,r){super(e),this.code=t,this.customData=r,this.name="FirebaseError",Object.setPrototypeOf(this,v.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,y.prototype.create)}}class y{constructor(t,e,r){this.service=t,this.serviceName=e,this.errors=r}create(t,...e){const r=e[0]||{},o=`${this.service}/${t}`,n=this.errors[t],i=n?function(t,e){return t.replace(w,((t,r)=>{const o=e[r];return null!=o?String(o):`<${r}?>`}))}(n,r):"Error",a=`${this.serviceName}: ${i} (${o}).`;return new v(o,a,r)}}const w=/\{\$([^}]+)}/g;function x(t,e){if(t===e)return!0;const r=Object.keys(t),o=Object.keys(e);for(const n of r){if(!o.includes(n))return!1;const r=t[n],i=e[n];if(_(r)&&_(i)){if(!x(r,i))return!1}else if(r!==i)return!1}for(const t of o)if(!r.includes(t))return!1;return!0}function _(t){return null!==t&&"object"==typeof t}const k=1e3,E=2,I=144e5,A=.5;function T(t,e=k,r=E){const o=e*Math.pow(r,t),n=Math.round(A*o*(Math.random()-.5)*2);return Math.min(I,o+n)}function C(t){return t&&t._delegate?t._delegate:t}},1043:(t,e,r)=>{"use strict";r.d(e,{UD:()=>p,n4:()=>h});var o=r(7310),n=r(6979),i=r(3341),a=r(5128),s=r(1206),l=r(571),c=r(844),d=r(5581),u={placement:"bottom",modifiers:[],strategy:"absolute"};function m(){for(var t=arguments.length,e=new Array(t),r=0;r{"use strict";r.d(e,{A:()=>n});var o=r(5581);function n(t,e){var r=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(r&&(0,o.Ng)(r)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}},6354:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var o=r(5581),n=r(6906),i=r(8979),a=r(2283);function s(t,e,r){void 0===e&&(e=!1),void 0===r&&(r=!1);var s=t.getBoundingClientRect(),l=1,c=1;e&&(0,o.sb)(t)&&(l=t.offsetWidth>0&&(0,n.LI)(s.width)/t.offsetWidth||1,c=t.offsetHeight>0&&(0,n.LI)(s.height)/t.offsetHeight||1);var d=((0,o.vq)(t)?(0,i.A)(t):window).visualViewport,u=!(0,a.A)()&&r,m=(s.left+(u&&d?d.offsetLeft:0))/l,p=(s.top+(u&&d?d.offsetTop:0))/c,h=s.width/l,g=s.height/c;return{width:h,height:g,top:p,right:m+h,bottom:p+g,left:m,x:m,y:p}}},2883:(t,e,r)=>{"use strict";r.d(e,{A:()=>v});var o=r(4278),n=r(5487),i=r(8848),a=r(3341),s=r(5128),l=r(9760),c=r(271),d=r(5581),u=r(6354),m=r(2083),p=r(5446),h=r(7604),g=r(4426),b=r(6906);function f(t,e,r){return e===o.R9?(0,g.A)((0,n.A)(t,r)):(0,d.vq)(e)?function(t,e){var r=(0,u.A)(t,!1,"fixed"===e);return r.top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r}(e,r):(0,g.A)((0,i.A)((0,l.A)(t)))}function v(t,e,r,o){var n="clippingParents"===e?function(t){var e=(0,a.A)((0,m.A)(t)),r=["absolute","fixed"].indexOf((0,c.A)(t).position)>=0&&(0,d.sb)(t)?(0,s.A)(t):t;return(0,d.vq)(r)?e.filter((function(t){return(0,d.vq)(t)&&(0,p.A)(t,r)&&"body"!==(0,h.A)(t)})):[]}(t):[].concat(e),i=[].concat(n,[r]),l=i[0],u=i.reduce((function(e,r){var n=f(t,r,o);return e.top=(0,b.T9)(n.top,e.top),e.right=(0,b.jk)(n.right,e.right),e.bottom=(0,b.jk)(n.bottom,e.bottom),e.left=(0,b.T9)(n.left,e.left),e}),f(t,l,o));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}},7310:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var o=r(6354),n=r(3318),i=r(7604),a=r(5581),s=r(793),l=r(9760),c=r(134),d=r(6906);function u(t,e,r){void 0===r&&(r=!1);var u=(0,a.sb)(e),m=(0,a.sb)(e)&&function(t){var e=t.getBoundingClientRect(),r=(0,d.LI)(e.width)/t.offsetWidth||1,o=(0,d.LI)(e.height)/t.offsetHeight||1;return 1!==r||1!==o}(e),p=(0,l.A)(e),h=(0,o.A)(t,m,r),g={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(u||!u&&!r)&&(("body"!==(0,i.A)(e)||(0,c.A)(p))&&(g=(0,n.A)(e)),(0,a.sb)(e)?((b=(0,o.A)(e,!0)).x+=e.clientLeft,b.y+=e.clientTop):p&&(b.x=(0,s.A)(p))),{x:h.left+g.scrollLeft-b.x,y:h.top+g.scrollTop-b.y,width:h.width,height:h.height}}},271:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var o=r(8979);function n(t){return(0,o.A)(t).getComputedStyle(t)}},9760:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var o=r(5581);function n(t){return(((0,o.vq)(t)?t.ownerDocument:t.document)||window.document).documentElement}},8848:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});var o=r(9760),n=r(271),i=r(793),a=r(222),s=r(6906);function l(t){var e,r=(0,o.A)(t),l=(0,a.A)(t),c=null==(e=t.ownerDocument)?void 0:e.body,d=(0,s.T9)(r.scrollWidth,r.clientWidth,c?c.scrollWidth:0,c?c.clientWidth:0),u=(0,s.T9)(r.scrollHeight,r.clientHeight,c?c.scrollHeight:0,c?c.clientHeight:0),m=-l.scrollLeft+(0,i.A)(t),p=-l.scrollTop;return"rtl"===(0,n.A)(c||r).direction&&(m+=(0,s.T9)(r.clientWidth,c?c.clientWidth:0)-d),{width:d,height:u,x:m,y:p}}},6233:(t,e,r)=>{"use strict";function o(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}r.d(e,{A:()=>o})},6979:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var o=r(6354);function n(t){var e=(0,o.A)(t),r=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-r)<=1&&(r=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:r,height:n}}},7604:(t,e,r)=>{"use strict";function o(t){return t?(t.nodeName||"").toLowerCase():null}r.d(e,{A:()=>o})},3318:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var o=r(222),n=r(8979),i=r(5581),a=r(6233);function s(t){return t!==(0,n.A)(t)&&(0,i.sb)(t)?(0,a.A)(t):(0,o.A)(t)}},5128:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var o=r(8979),n=r(7604),i=r(271),a=r(5581),s=r(2063),l=r(2083),c=r(2398);function d(t){return(0,a.sb)(t)&&"fixed"!==(0,i.A)(t).position?t.offsetParent:null}function u(t){for(var e=(0,o.A)(t),r=d(t);r&&(0,s.A)(r)&&"static"===(0,i.A)(r).position;)r=d(r);return r&&("html"===(0,n.A)(r)||"body"===(0,n.A)(r)&&"static"===(0,i.A)(r).position)?e:r||function(t){var e=/firefox/i.test((0,c.A)());if(/Trident/i.test((0,c.A)())&&(0,a.sb)(t)&&"fixed"===(0,i.A)(t).position)return null;var r=(0,l.A)(t);for((0,a.Ng)(r)&&(r=r.host);(0,a.sb)(r)&&["html","body"].indexOf((0,n.A)(r))<0;){var o=(0,i.A)(r);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||e&&"filter"===o.willChange||e&&o.filter&&"none"!==o.filter)return r;r=r.parentNode}return null}(t)||e}},2083:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var o=r(7604),n=r(9760),i=r(5581);function a(t){return"html"===(0,o.A)(t)?t:t.assignedSlot||t.parentNode||((0,i.Ng)(t)?t.host:null)||(0,n.A)(t)}},9970:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var o=r(2083),n=r(134),i=r(7604),a=r(5581);function s(t){return["html","body","#document"].indexOf((0,i.A)(t))>=0?t.ownerDocument.body:(0,a.sb)(t)&&(0,n.A)(t)?t:s((0,o.A)(t))}},5487:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var o=r(8979),n=r(9760),i=r(793),a=r(2283);function s(t,e){var r=(0,o.A)(t),s=(0,n.A)(t),l=r.visualViewport,c=s.clientWidth,d=s.clientHeight,u=0,m=0;if(l){c=l.width,d=l.height;var p=(0,a.A)();(p||!p&&"fixed"===e)&&(u=l.offsetLeft,m=l.offsetTop)}return{width:c,height:d,x:u+(0,i.A)(t),y:m}}},8979:(t,e,r)=>{"use strict";function o(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}r.d(e,{A:()=>o})},222:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var o=r(8979);function n(t){var e=(0,o.A)(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}},793:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var o=r(6354),n=r(9760),i=r(222);function a(t){return(0,o.A)((0,n.A)(t)).left+(0,i.A)(t).scrollLeft}},5581:(t,e,r)=>{"use strict";r.d(e,{Ng:()=>a,sb:()=>i,vq:()=>n});var o=r(8979);function n(t){return t instanceof(0,o.A)(t).Element||t instanceof Element}function i(t){return t instanceof(0,o.A)(t).HTMLElement||t instanceof HTMLElement}function a(t){return"undefined"!=typeof ShadowRoot&&(t instanceof(0,o.A)(t).ShadowRoot||t instanceof ShadowRoot)}},2283:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var o=r(2398);function n(){return!/^((?!chrome|android).)*safari/i.test((0,o.A)())}},134:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var o=r(271);function n(t){var e=(0,o.A)(t),r=e.overflow,n=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}},2063:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var o=r(7604);function n(t){return["table","td","th"].indexOf((0,o.A)(t))>=0}},3341:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var o=r(9970),n=r(2083),i=r(8979),a=r(134);function s(t,e){var r;void 0===e&&(e=[]);var l=(0,o.A)(t),c=l===(null==(r=t.ownerDocument)?void 0:r.body),d=(0,i.A)(l),u=c?[d].concat(d.visualViewport||[],(0,a.A)(l)?l:[]):l,m=e.concat(u);return c?m:m.concat(s((0,n.A)(u)))}},4278:(t,e,r)=>{"use strict";r.d(e,{DD:()=>b,EP:()=>_,GM:()=>A,LF:()=>v,LG:()=>w,M9:()=>E,Mn:()=>o,OM:()=>l,Ol:()=>g,R9:()=>m,SE:()=>I,WY:()=>u,_N:()=>d,ci:()=>f,iW:()=>x,ir:()=>h,kb:()=>a,ni:()=>c,pA:()=>k,pG:()=>i,qZ:()=>s,sQ:()=>n,v5:()=>y,xf:()=>p});var o="top",n="bottom",i="right",a="left",s="auto",l=[o,n,i,a],c="start",d="end",u="clippingParents",m="viewport",p="popper",h="reference",g=l.reduce((function(t,e){return t.concat([e+"-"+c,e+"-"+d])}),[]),b=[].concat(l,[s]).reduce((function(t,e){return t.concat([e,e+"-"+c,e+"-"+d])}),[]),f="beforeRead",v="read",y="afterRead",w="beforeMain",x="main",_="afterMain",k="beforeWrite",E="write",I="afterWrite",A=[f,v,y,w,x,_,k,E,I]},4036:(t,e,r)=>{"use strict";r.r(e),r.d(e,{afterMain:()=>o.EP,afterRead:()=>o.v5,afterWrite:()=>o.SE,applyStyles:()=>n.ZM,arrow:()=>n.UE,auto:()=>o.qZ,basePlacements:()=>o.OM,beforeMain:()=>o.LG,beforeRead:()=>o.ci,beforeWrite:()=>o.pA,bottom:()=>o.sQ,clippingParents:()=>o.WY,computeStyles:()=>n.KC,createPopper:()=>s.n4,createPopperBase:()=>i.n4,createPopperLite:()=>l.n4,detectOverflow:()=>a.A,end:()=>o._N,eventListeners:()=>n.Gc,flip:()=>n.UU,hide:()=>n.jD,left:()=>o.kb,main:()=>o.iW,modifierPhases:()=>o.GM,offset:()=>n.cY,placements:()=>o.DD,popper:()=>o.xf,popperGenerator:()=>i.UD,popperOffsets:()=>n.Zo,preventOverflow:()=>n.V7,read:()=>o.LF,reference:()=>o.ir,right:()=>o.pG,start:()=>o.ni,top:()=>o.Mn,variationPlacements:()=>o.Ol,viewport:()=>o.R9,write:()=>o.M9});var o=r(4278),n=r(9765),i=r(1043),a=r(9913),s=r(1576),l=r(6465)},6607:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var o=r(7604),n=r(5581);const i={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var r=e.styles[t]||{},i=e.attributes[t]||{},a=e.elements[t];(0,n.sb)(a)&&(0,o.A)(a)&&(Object.assign(a.style,r),Object.keys(i).forEach((function(t){var e=i[t];!1===e?a.removeAttribute(t):a.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,r={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,r.popper),e.styles=r,e.elements.arrow&&Object.assign(e.elements.arrow.style,r.arrow),function(){Object.keys(e.elements).forEach((function(t){var i=e.elements[t],a=e.attributes[t]||{},s=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:r[t]).reduce((function(t,e){return t[e]="",t}),{});(0,n.sb)(i)&&(0,o.A)(i)&&(Object.assign(i.style,s),Object.keys(a).forEach((function(t){i.removeAttribute(t)})))}))}},requires:["computeStyles"]}},8256:(t,e,r)=>{"use strict";r.d(e,{A:()=>m});var o=r(2632),n=r(6979),i=r(5446),a=r(5128),s=r(9703),l=r(6523),c=r(4318),d=r(1007),u=r(4278);const m={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,r=t.state,i=t.name,m=t.options,p=r.elements.arrow,h=r.modifiersData.popperOffsets,g=(0,o.A)(r.placement),b=(0,s.A)(g),f=[u.kb,u.pG].indexOf(g)>=0?"height":"width";if(p&&h){var v=function(t,e){return t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t,(0,c.A)("number"!=typeof t?t:(0,d.A)(t,u.OM))}(m.padding,r),y=(0,n.A)(p),w="y"===b?u.Mn:u.kb,x="y"===b?u.sQ:u.pG,_=r.rects.reference[f]+r.rects.reference[b]-h[b]-r.rects.popper[f],k=h[b]-r.rects.reference[b],E=(0,a.A)(p),I=E?"y"===b?E.clientHeight||0:E.clientWidth||0:0,A=_/2-k/2,T=v[w],C=I-y[f]-v[x],S=I/2-y[f]/2+A,D=(0,l.u)(T,S,C),L=b;r.modifiersData[i]=((e={})[L]=D,e.centerOffset=D-S,e)}},effect:function(t){var e=t.state,r=t.options.element,o=void 0===r?"[data-popper-arrow]":r;null!=o&&("string"!=typeof o||(o=e.elements.popper.querySelector(o)))&&(0,i.A)(e.elements.popper,o)&&(e.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}},1262:(t,e,r)=>{"use strict";r.d(e,{A:()=>p});var o=r(4278),n=r(5128),i=r(8979),a=r(9760),s=r(271),l=r(2632),c=r(8101),d=r(6906),u={top:"auto",right:"auto",bottom:"auto",left:"auto"};function m(t){var e,r=t.popper,l=t.popperRect,c=t.placement,m=t.variation,p=t.offsets,h=t.position,g=t.gpuAcceleration,b=t.adaptive,f=t.roundOffsets,v=t.isFixed,y=p.x,w=void 0===y?0:y,x=p.y,_=void 0===x?0:x,k="function"==typeof f?f({x:w,y:_}):{x:w,y:_};w=k.x,_=k.y;var E=p.hasOwnProperty("x"),I=p.hasOwnProperty("y"),A=o.kb,T=o.Mn,C=window;if(b){var S=(0,n.A)(r),D="clientHeight",L="clientWidth";S===(0,i.A)(r)&&(S=(0,a.A)(r),"static"!==(0,s.A)(S).position&&"absolute"===h&&(D="scrollHeight",L="scrollWidth")),(c===o.Mn||(c===o.kb||c===o.pG)&&m===o._N)&&(T=o.sQ,_-=(v&&S===C&&C.visualViewport?C.visualViewport.height:S[D])-l.height,_*=g?1:-1),c!==o.kb&&(c!==o.Mn&&c!==o.sQ||m!==o._N)||(A=o.pG,w-=(v&&S===C&&C.visualViewport?C.visualViewport.width:S[L])-l.width,w*=g?1:-1)}var N,O=Object.assign({position:h},b&&u),M=!0===f?function(t,e){var r=t.x,o=t.y,n=e.devicePixelRatio||1;return{x:(0,d.LI)(r*n)/n||0,y:(0,d.LI)(o*n)/n||0}}({x:w,y:_},(0,i.A)(r)):{x:w,y:_};return w=M.x,_=M.y,g?Object.assign({},O,((N={})[T]=I?"0":"",N[A]=E?"0":"",N.transform=(C.devicePixelRatio||1)<=1?"translate("+w+"px, "+_+"px)":"translate3d("+w+"px, "+_+"px, 0)",N)):Object.assign({},O,((e={})[T]=I?_+"px":"",e[A]=E?w+"px":"",e.transform="",e))}const p={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,r=t.options,o=r.gpuAcceleration,n=void 0===o||o,i=r.adaptive,a=void 0===i||i,s=r.roundOffsets,d=void 0===s||s,u={placement:(0,l.A)(e.placement),variation:(0,c.A)(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:n,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,m(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:d})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,m(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:d})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}}},9068:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var o=r(8979),n={passive:!0};const i={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,r=t.instance,i=t.options,a=i.scroll,s=void 0===a||a,l=i.resize,c=void 0===l||l,d=(0,o.A)(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&u.forEach((function(t){t.addEventListener("scroll",r.update,n)})),c&&d.addEventListener("resize",r.update,n),function(){s&&u.forEach((function(t){t.removeEventListener("scroll",r.update,n)})),c&&d.removeEventListener("resize",r.update,n)}},data:{}}},958:(t,e,r)=>{"use strict";r.d(e,{A:()=>d});var o=r(1688),n=r(2632),i=r(6771),a=r(9913),s=r(6281),l=r(4278),c=r(8101);const d={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,r=t.options,d=t.name;if(!e.modifiersData[d]._skip){for(var u=r.mainAxis,m=void 0===u||u,p=r.altAxis,h=void 0===p||p,g=r.fallbackPlacements,b=r.padding,f=r.boundary,v=r.rootBoundary,y=r.altBoundary,w=r.flipVariations,x=void 0===w||w,_=r.allowedAutoPlacements,k=e.options.placement,E=(0,n.A)(k),I=g||(E!==k&&x?function(t){if((0,n.A)(t)===l.qZ)return[];var e=(0,o.A)(t);return[(0,i.A)(t),e,(0,i.A)(e)]}(k):[(0,o.A)(k)]),A=[k].concat(I).reduce((function(t,r){return t.concat((0,n.A)(r)===l.qZ?(0,s.A)(e,{placement:r,boundary:f,rootBoundary:v,padding:b,flipVariations:x,allowedAutoPlacements:_}):r)}),[]),T=e.rects.reference,C=e.rects.popper,S=new Map,D=!0,L=A[0],N=0;N=0,P=B?"width":"height",V=(0,a.A)(e,{placement:O,boundary:f,rootBoundary:v,altBoundary:y,padding:b}),j=B?R?l.pG:l.kb:R?l.sQ:l.Mn;T[P]>C[P]&&(j=(0,o.A)(j));var z=(0,o.A)(j),F=[];if(m&&F.push(V[M]<=0),h&&F.push(V[j]<=0,V[z]<=0),F.every((function(t){return t}))){L=O,D=!1;break}S.set(O,F)}if(D)for(var q=function(t){var e=A.find((function(e){var r=S.get(e);if(r)return r.slice(0,t).every((function(t){return t}))}));if(e)return L=e,"break"},$=x?3:1;$>0&&"break"!==q($);$--);e.placement!==L&&(e.modifiersData[d]._skip=!0,e.placement=L,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}}},9081:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var o=r(4278),n=r(9913);function i(t,e,r){return void 0===r&&(r={x:0,y:0}),{top:t.top-e.height-r.y,right:t.right-e.width+r.x,bottom:t.bottom-e.height+r.y,left:t.left-e.width-r.x}}function a(t){return[o.Mn,o.pG,o.sQ,o.kb].some((function(e){return t[e]>=0}))}const s={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,r=t.name,o=e.rects.reference,s=e.rects.popper,l=e.modifiersData.preventOverflow,c=(0,n.A)(e,{elementContext:"reference"}),d=(0,n.A)(e,{altBoundary:!0}),u=i(c,o),m=i(d,s,l),p=a(u),h=a(m);e.modifiersData[r]={referenceClippingOffsets:u,popperEscapeOffsets:m,isReferenceHidden:p,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":h})}}},9765:(t,e,r)=>{"use strict";r.d(e,{Gc:()=>a.A,KC:()=>i.A,UE:()=>n.A,UU:()=>s.A,V7:()=>u.A,ZM:()=>o.A,Zo:()=>d.A,cY:()=>c.A,jD:()=>l.A});var o=r(6607),n=r(8256),i=r(1262),a=r(9068),s=r(958),l=r(9081),c=r(8490),d=r(5059),u=r(2089)},8490:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var o=r(2632),n=r(4278);const i={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,r=t.options,i=t.name,a=r.offset,s=void 0===a?[0,0]:a,l=n.DD.reduce((function(t,r){return t[r]=function(t,e,r){var i=(0,o.A)(t),a=[n.kb,n.Mn].indexOf(i)>=0?-1:1,s="function"==typeof r?r(Object.assign({},e,{placement:t})):r,l=s[0],c=s[1];return l=l||0,c=(c||0)*a,[n.kb,n.pG].indexOf(i)>=0?{x:c,y:l}:{x:l,y:c}}(r,e.rects,s),t}),{}),c=l[e.placement],d=c.x,u=c.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=d,e.modifiersData.popperOffsets.y+=u),e.modifiersData[i]=l}}},5059:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var o=r(1815);const n={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,r=t.name;e.modifiersData[r]=(0,o.A)({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}}},2089:(t,e,r)=>{"use strict";r.d(e,{A:()=>h});var o=r(4278),n=r(2632),i=r(9703),a=r(6442),s=r(6523),l=r(6979),c=r(5128),d=r(9913),u=r(8101),m=r(7364),p=r(6906);const h={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,r=t.options,h=t.name,g=r.mainAxis,b=void 0===g||g,f=r.altAxis,v=void 0!==f&&f,y=r.boundary,w=r.rootBoundary,x=r.altBoundary,_=r.padding,k=r.tether,E=void 0===k||k,I=r.tetherOffset,A=void 0===I?0:I,T=(0,d.A)(e,{boundary:y,rootBoundary:w,padding:_,altBoundary:x}),C=(0,n.A)(e.placement),S=(0,u.A)(e.placement),D=!S,L=(0,i.A)(C),N=(0,a.A)(L),O=e.modifiersData.popperOffsets,M=e.rects.reference,R=e.rects.popper,B="function"==typeof A?A(Object.assign({},e.rects,{placement:e.placement})):A,P="number"==typeof B?{mainAxis:B,altAxis:B}:Object.assign({mainAxis:0,altAxis:0},B),V=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,j={x:0,y:0};if(O){if(b){var z,F="y"===L?o.Mn:o.kb,q="y"===L?o.sQ:o.pG,$="y"===L?"height":"width",U=O[L],H=U+T[F],G=U-T[q],K=E?-R[$]/2:0,W=S===o.ni?M[$]:R[$],Q=S===o.ni?-R[$]:-M[$],X=e.elements.arrow,Y=E&&X?(0,l.A)(X):{width:0,height:0},J=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:(0,m.A)(),Z=J[F],tt=J[q],et=(0,s.u)(0,M[$],Y[$]),rt=D?M[$]/2-K-et-Z-P.mainAxis:W-et-Z-P.mainAxis,ot=D?-M[$]/2+K+et+tt+P.mainAxis:Q+et+tt+P.mainAxis,nt=e.elements.arrow&&(0,c.A)(e.elements.arrow),it=nt?"y"===L?nt.clientTop||0:nt.clientLeft||0:0,at=null!=(z=null==V?void 0:V[L])?z:0,st=U+rt-at-it,lt=U+ot-at,ct=(0,s.u)(E?(0,p.jk)(H,st):H,U,E?(0,p.T9)(G,lt):G);O[L]=ct,j[L]=ct-U}if(v){var dt,ut="x"===L?o.Mn:o.kb,mt="x"===L?o.sQ:o.pG,pt=O[N],ht="y"===N?"height":"width",gt=pt+T[ut],bt=pt-T[mt],ft=-1!==[o.Mn,o.kb].indexOf(C),vt=null!=(dt=null==V?void 0:V[N])?dt:0,yt=ft?gt:pt-M[ht]-R[ht]-vt+P.altAxis,wt=ft?pt+M[ht]+R[ht]-vt-P.altAxis:bt,xt=E&&ft?(0,s.P)(yt,pt,wt):(0,s.u)(E?yt:gt,pt,E?wt:bt);O[N]=xt,j[N]=xt-pt}e.modifiersData[h]=j}},requiresIfExists:["offset"]}},6465:(t,e,r)=>{"use strict";r.d(e,{n4:()=>c});var o=r(1043),n=r(9068),i=r(5059),a=r(1262),s=r(6607),l=[n.A,i.A,a.A,s.A],c=(0,o.UD)({defaultModifiers:l})},1576:(t,e,r)=>{"use strict";r.d(e,{n4:()=>h});var o=r(1043),n=r(9068),i=r(5059),a=r(1262),s=r(6607),l=r(8490),c=r(958),d=r(2089),u=r(8256),m=r(9081),p=[n.A,i.A,a.A,s.A,l.A,c.A,d.A,u.A,m.A],h=(0,o.UD)({defaultModifiers:p})},6281:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var o=r(8101),n=r(4278),i=r(9913),a=r(2632);function s(t,e){void 0===e&&(e={});var r=e,s=r.placement,l=r.boundary,c=r.rootBoundary,d=r.padding,u=r.flipVariations,m=r.allowedAutoPlacements,p=void 0===m?n.DD:m,h=(0,o.A)(s),g=h?u?n.Ol:n.Ol.filter((function(t){return(0,o.A)(t)===h})):n.OM,b=g.filter((function(t){return p.indexOf(t)>=0}));0===b.length&&(b=g);var f=b.reduce((function(e,r){return e[r]=(0,i.A)(t,{placement:r,boundary:l,rootBoundary:c,padding:d})[(0,a.A)(r)],e}),{});return Object.keys(f).sort((function(t,e){return f[t]-f[e]}))}},1815:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var o=r(2632),n=r(8101),i=r(9703),a=r(4278);function s(t){var e,r=t.reference,s=t.element,l=t.placement,c=l?(0,o.A)(l):null,d=l?(0,n.A)(l):null,u=r.x+r.width/2-s.width/2,m=r.y+r.height/2-s.height/2;switch(c){case a.Mn:e={x:u,y:r.y-s.height};break;case a.sQ:e={x:u,y:r.y+r.height};break;case a.pG:e={x:r.x+r.width,y:m};break;case a.kb:e={x:r.x-s.width,y:m};break;default:e={x:r.x,y:r.y}}var p=c?(0,i.A)(c):null;if(null!=p){var h="y"===p?"height":"width";switch(d){case a.ni:e[p]=e[p]-(r[h]/2-s[h]/2);break;case a._N:e[p]=e[p]+(r[h]/2-s[h]/2)}}return e}},571:(t,e,r)=>{"use strict";function o(t){var e;return function(){return e||(e=new Promise((function(r){Promise.resolve().then((function(){e=void 0,r(t())}))}))),e}}r.d(e,{A:()=>o})},9913:(t,e,r)=>{"use strict";r.d(e,{A:()=>m});var o=r(2883),n=r(9760),i=r(6354),a=r(1815),s=r(4426),l=r(4278),c=r(5581),d=r(4318),u=r(1007);function m(t,e){void 0===e&&(e={});var r=e,m=r.placement,p=void 0===m?t.placement:m,h=r.strategy,g=void 0===h?t.strategy:h,b=r.boundary,f=void 0===b?l.WY:b,v=r.rootBoundary,y=void 0===v?l.R9:v,w=r.elementContext,x=void 0===w?l.xf:w,_=r.altBoundary,k=void 0!==_&&_,E=r.padding,I=void 0===E?0:E,A=(0,d.A)("number"!=typeof I?I:(0,u.A)(I,l.OM)),T=x===l.xf?l.ir:l.xf,C=t.rects.popper,S=t.elements[k?T:x],D=(0,o.A)((0,c.vq)(S)?S:S.contextElement||(0,n.A)(t.elements.popper),f,y,g),L=(0,i.A)(t.elements.reference),N=(0,a.A)({reference:L,element:C,strategy:"absolute",placement:p}),O=(0,s.A)(Object.assign({},C,N)),M=x===l.xf?O:L,R={top:D.top-M.top+A.top,bottom:M.bottom-D.bottom+A.bottom,left:D.left-M.left+A.left,right:M.right-D.right+A.right},B=t.modifiersData.offset;if(x===l.xf&&B){var P=B[p];Object.keys(R).forEach((function(t){var e=[l.pG,l.sQ].indexOf(t)>=0?1:-1,r=[l.Mn,l.sQ].indexOf(t)>=0?"y":"x";R[t]+=P[r]*e}))}return R}},1007:(t,e,r)=>{"use strict";function o(t,e){return e.reduce((function(e,r){return e[r]=t,e}),{})}r.d(e,{A:()=>o})},6442:(t,e,r)=>{"use strict";function o(t){return"x"===t?"y":"x"}r.d(e,{A:()=>o})},2632:(t,e,r)=>{"use strict";function o(t){return t.split("-")[0]}r.d(e,{A:()=>o})},7364:(t,e,r)=>{"use strict";function o(){return{top:0,right:0,bottom:0,left:0}}r.d(e,{A:()=>o})},9703:(t,e,r)=>{"use strict";function o(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}r.d(e,{A:()=>o})},1688:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var o={left:"right",right:"left",bottom:"top",top:"bottom"};function n(t){return t.replace(/left|right|bottom|top/g,(function(t){return o[t]}))}},6771:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var o={start:"end",end:"start"};function n(t){return t.replace(/start|end/g,(function(t){return o[t]}))}},8101:(t,e,r)=>{"use strict";function o(t){return t.split("-")[1]}r.d(e,{A:()=>o})},6906:(t,e,r)=>{"use strict";r.d(e,{LI:()=>i,T9:()=>o,jk:()=>n});var o=Math.max,n=Math.min,i=Math.round},844:(t,e,r)=>{"use strict";function o(t){var e=t.reduce((function(t,e){var r=t[e.name];return t[e.name]=r?Object.assign({},r,e,{options:Object.assign({},r.options,e.options),data:Object.assign({},r.data,e.data)}):e,t}),{});return Object.keys(e).map((function(t){return e[t]}))}r.d(e,{A:()=>o})},4318:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var o=r(7364);function n(t){return Object.assign({},(0,o.A)(),t)}},1206:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var o=r(4278);function n(t){var e=new Map,r=new Set,o=[];function n(t){r.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!r.has(t)){var o=e.get(t);o&&n(o)}})),o.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){r.has(t.name)||n(t)})),o}function i(t){var e=n(t);return o.GM.reduce((function(t,r){return t.concat(e.filter((function(t){return t.phase===r})))}),[])}},4426:(t,e,r)=>{"use strict";function o(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}r.d(e,{A:()=>o})},2398:(t,e,r)=>{"use strict";function o(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}r.d(e,{A:()=>o})},6523:(t,e,r)=>{"use strict";r.d(e,{P:()=>i,u:()=>n});var o=r(6906);function n(t,e,r){return(0,o.T9)(t,(0,o.jk)(e,r))}function i(t,e,r){var o=n(t,e,r);return o>r?r:o}},8747:(t,e,r)=>{"use strict";r.d(e,{m_:()=>Vr,y8:()=>jo});var o=r(4036),n=r(1576);const i=new Map,a={set(t,e,r){i.has(t)||i.set(t,new Map);const o=i.get(t);o.has(e)||0===o.size?o.set(e,r):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(o.keys())[0]}.`)},get:(t,e)=>i.has(t)&&i.get(t).get(e)||null,remove(t,e){if(!i.has(t))return;const r=i.get(t);r.delete(e),0===r.size&&i.delete(t)}},s="transitionend",l=t=>(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,((t,e)=>`#${CSS.escape(e)}`))),t),c=t=>{t.dispatchEvent(new Event(s))},d=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),u=t=>d(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(l(t)):null,m=t=>{if(!d(t)||0===t.getClientRects().length)return!1;const e="visible"===getComputedStyle(t).getPropertyValue("visibility"),r=t.closest("details:not([open])");if(!r)return e;if(r!==t){const e=t.closest("summary");if(e&&e.parentNode!==r)return!1;if(null===e)return!1}return e},p=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),h=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?h(t.parentNode):null},g=()=>{},b=t=>{t.offsetHeight},f=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,v=[],y=()=>"rtl"===document.documentElement.dir,w=t=>{var e;e=()=>{const e=f();if(e){const r=t.NAME,o=e.fn[r];e.fn[r]=t.jQueryInterface,e.fn[r].Constructor=t,e.fn[r].noConflict=()=>(e.fn[r]=o,t.jQueryInterface)}},"loading"===document.readyState?(v.length||document.addEventListener("DOMContentLoaded",(()=>{for(const t of v)t()})),v.push(e)):e()},x=(t,e=[],r=t)=>"function"==typeof t?t(...e):r,_=(t,e,r=!0)=>{if(!r)return void x(t);const o=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:r}=window.getComputedStyle(t);const o=Number.parseFloat(e),n=Number.parseFloat(r);return o||n?(e=e.split(",")[0],r=r.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(r))):0})(e)+5;let n=!1;const i=({target:r})=>{r===e&&(n=!0,e.removeEventListener(s,i),x(t))};e.addEventListener(s,i),setTimeout((()=>{n||c(e)}),o)},k=(t,e,r,o)=>{const n=t.length;let i=t.indexOf(e);return-1===i?!r&&o?t[n-1]:t[0]:(i+=r?1:-1,o&&(i=(i+n)%n),t[Math.max(0,Math.min(i,n-1))])},E=/[^.]*(?=\..*)\.|.*/,I=/\..*/,A=/::\d+$/,T={};let C=1;const S={mouseenter:"mouseover",mouseleave:"mouseout"},D=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function L(t,e){return e&&`${e}::${C++}`||t.uidEvent||C++}function N(t){const e=L(t);return t.uidEvent=e,T[e]=T[e]||{},T[e]}function O(t,e,r=null){return Object.values(t).find((t=>t.callable===e&&t.delegationSelector===r))}function M(t,e,r){const o="string"==typeof e,n=o?r:e||r;let i=V(t);return D.has(i)||(i=t),[o,n,i]}function R(t,e,r,o,n){if("string"!=typeof e||!t)return;let[i,a,s]=M(e,r,o);if(e in S){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};a=t(a)}const l=N(t),c=l[s]||(l[s]={}),d=O(c,a,i?r:null);if(d)return void(d.oneOff=d.oneOff&&n);const u=L(a,e.replace(E,"")),m=i?function(t,e,r){return function o(n){const i=t.querySelectorAll(e);for(let{target:a}=n;a&&a!==this;a=a.parentNode)for(const s of i)if(s===a)return z(n,{delegateTarget:a}),o.oneOff&&j.off(t,n.type,e,r),r.apply(a,[n])}}(t,r,a):function(t,e){return function r(o){return z(o,{delegateTarget:t}),r.oneOff&&j.off(t,o.type,e),e.apply(t,[o])}}(t,a);m.delegationSelector=i?r:null,m.callable=a,m.oneOff=n,m.uidEvent=u,c[u]=m,t.addEventListener(s,m,i)}function B(t,e,r,o,n){const i=O(e[r],o,n);i&&(t.removeEventListener(r,i,Boolean(n)),delete e[r][i.uidEvent])}function P(t,e,r,o){const n=e[r]||{};for(const[i,a]of Object.entries(n))i.includes(o)&&B(t,e,r,a.callable,a.delegationSelector)}function V(t){return t=t.replace(I,""),S[t]||t}const j={on(t,e,r,o){R(t,e,r,o,!1)},one(t,e,r,o){R(t,e,r,o,!0)},off(t,e,r,o){if("string"!=typeof e||!t)return;const[n,i,a]=M(e,r,o),s=a!==e,l=N(t),c=l[a]||{},d=e.startsWith(".");if(void 0===i){if(d)for(const r of Object.keys(l))P(t,l,r,e.slice(1));for(const[r,o]of Object.entries(c)){const n=r.replace(A,"");s&&!e.includes(n)||B(t,l,a,o.callable,o.delegationSelector)}}else{if(!Object.keys(c).length)return;B(t,l,a,i,n?r:null)}},trigger(t,e,r){if("string"!=typeof e||!t)return null;const o=f();let n=null,i=!0,a=!0,s=!1;e!==V(e)&&o&&(n=o.Event(e,r),o(t).trigger(n),i=!n.isPropagationStopped(),a=!n.isImmediatePropagationStopped(),s=n.isDefaultPrevented());const l=z(new Event(e,{bubbles:i,cancelable:!0}),r);return s&&l.preventDefault(),a&&t.dispatchEvent(l),l.defaultPrevented&&n&&n.preventDefault(),l}};function z(t,e={}){for(const[r,o]of Object.entries(e))try{t[r]=o}catch(e){Object.defineProperty(t,r,{configurable:!0,get:()=>o})}return t}function F(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch(e){return t}}function q(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}const $={setDataAttribute(t,e,r){t.setAttribute(`data-bs-${q(e)}`,r)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${q(e)}`)},getDataAttributes(t){if(!t)return{};const e={},r=Object.keys(t.dataset).filter((t=>t.startsWith("bs")&&!t.startsWith("bsConfig")));for(const o of r){let r=o.replace(/^bs/,"");r=r.charAt(0).toLowerCase()+r.slice(1,r.length),e[r]=F(t.dataset[o])}return e},getDataAttribute:(t,e)=>F(t.getAttribute(`data-bs-${q(e)}`))};class U{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const r=d(e)?$.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof r?r:{},...d(e)?$.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const[o,n]of Object.entries(e)){const e=t[o],i=d(e)?"element":null==(r=e)?`${r}`:Object.prototype.toString.call(r).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(n).test(i))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${o}" provided type "${i}" but expected type "${n}".`)}var r}}class H extends U{constructor(t,e){super(),(t=u(t))&&(this._element=t,this._config=this._getConfig(e),a.set(this._element,this.constructor.DATA_KEY,this))}dispose(){a.remove(this._element,this.constructor.DATA_KEY),j.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,r=!0){_(t,e,r)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return a.get(u(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.3.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const G=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let r=t.getAttribute("href");if(!r||!r.includes("#")&&!r.startsWith("."))return null;r.includes("#")&&!r.startsWith("#")&&(r=`#${r.split("#")[1]}`),e=r&&"#"!==r?r.trim():null}return e?e.split(",").map((t=>l(t))).join(","):null},K={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter((t=>t.matches(e))),parents(t,e){const r=[];let o=t.parentNode.closest(e);for(;o;)r.push(o),o=o.parentNode.closest(e);return r},prev(t,e){let r=t.previousElementSibling;for(;r;){if(r.matches(e))return[r];r=r.previousElementSibling}return[]},next(t,e){let r=t.nextElementSibling;for(;r;){if(r.matches(e))return[r];r=r.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((t=>`${t}:not([tabindex^="-"])`)).join(",");return this.find(e,t).filter((t=>!p(t)&&m(t)))},getSelectorFromElement(t){const e=G(t);return e&&K.findOne(e)?e:null},getElementFromSelector(t){const e=G(t);return e?K.findOne(e):null},getMultipleElementsFromSelector(t){const e=G(t);return e?K.find(e):[]}},W=(t,e="hide")=>{const r=`click.dismiss${t.EVENT_KEY}`,o=t.NAME;j.on(document,r,`[data-bs-dismiss="${o}"]`,(function(r){if(["A","AREA"].includes(this.tagName)&&r.preventDefault(),p(this))return;const n=K.getElementFromSelector(this)||this.closest(`.${o}`);t.getOrCreateInstance(n)[e]()}))},Q=".bs.alert",X=`close${Q}`,Y=`closed${Q}`;class J extends H{static get NAME(){return"alert"}close(){if(j.trigger(this._element,X).defaultPrevented)return;this._element.classList.remove("show");const t=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,t)}_destroyElement(){this._element.remove(),j.trigger(this._element,Y),this.dispose()}static jQueryInterface(t){return this.each((function(){const e=J.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}W(J,"close"),w(J);const Z='[data-bs-toggle="button"]';class tt extends H{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each((function(){const e=tt.getOrCreateInstance(this);"toggle"===t&&e[t]()}))}}j.on(document,"click.bs.button.data-api",Z,(t=>{t.preventDefault();const e=t.target.closest(Z);tt.getOrCreateInstance(e).toggle()})),w(tt);const et=".bs.swipe",rt=`touchstart${et}`,ot=`touchmove${et}`,nt=`touchend${et}`,it=`pointerdown${et}`,at=`pointerup${et}`,st={endCallback:null,leftCallback:null,rightCallback:null},lt={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class ct extends U{constructor(t,e){super(),this._element=t,t&&ct.isSupported()&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return st}static get DefaultType(){return lt}static get NAME(){return"swipe"}dispose(){j.off(this._element,et)}_start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),x(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=40)return;const e=t/this._deltaX;this._deltaX=0,e&&x(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(j.on(this._element,it,(t=>this._start(t))),j.on(this._element,at,(t=>this._end(t))),this._element.classList.add("pointer-event")):(j.on(this._element,rt,(t=>this._start(t))),j.on(this._element,ot,(t=>this._move(t))),j.on(this._element,nt,(t=>this._end(t))))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&("pen"===t.pointerType||"touch"===t.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const dt=".bs.carousel",ut=".data-api",mt="ArrowLeft",pt="ArrowRight",ht="next",gt="prev",bt="left",ft="right",vt=`slide${dt}`,yt=`slid${dt}`,wt=`keydown${dt}`,xt=`mouseenter${dt}`,_t=`mouseleave${dt}`,kt=`dragstart${dt}`,Et=`load${dt}${ut}`,It=`click${dt}${ut}`,At="carousel",Tt="active",Ct=".active",St=".carousel-item",Dt=Ct+St,Lt={[mt]:ft,[pt]:bt},Nt={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Ot={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Mt extends H{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=K.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===At&&this.cycle()}static get Default(){return Nt}static get DefaultType(){return Ot}static get NAME(){return"carousel"}next(){this._slide(ht)}nextWhenVisible(){!document.hidden&&m(this._element)&&this.next()}prev(){this._slide(gt)}pause(){this._isSliding&&c(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?j.one(this._element,yt,(()=>this.cycle())):this.cycle())}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding)return void j.one(this._element,yt,(()=>this.to(t)));const r=this._getItemIndex(this._getActive());if(r===t)return;const o=t>r?ht:gt;this._slide(o,e[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&j.on(this._element,wt,(t=>this._keydown(t))),"hover"===this._config.pause&&(j.on(this._element,xt,(()=>this.pause())),j.on(this._element,_t,(()=>this._maybeEnableCycle()))),this._config.touch&&ct.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of K.find(".carousel-item img",this._element))j.on(t,kt,(t=>t.preventDefault()));const t={leftCallback:()=>this._slide(this._directionToOrder(bt)),rightCallback:()=>this._slide(this._directionToOrder(ft)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new ct(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=Lt[t.key];e&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const e=K.findOne(Ct,this._indicatorsElement);e.classList.remove(Tt),e.removeAttribute("aria-current");const r=K.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);r&&(r.classList.add(Tt),r.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding)return;const r=this._getActive(),o=t===ht,n=e||k(this._getItems(),r,o,this._config.wrap);if(n===r)return;const i=this._getItemIndex(n),a=e=>j.trigger(this._element,e,{relatedTarget:n,direction:this._orderToDirection(t),from:this._getItemIndex(r),to:i});if(a(vt).defaultPrevented)return;if(!r||!n)return;const s=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(i),this._activeElement=n;const l=o?"carousel-item-start":"carousel-item-end",c=o?"carousel-item-next":"carousel-item-prev";n.classList.add(c),b(n),r.classList.add(l),n.classList.add(l),this._queueCallback((()=>{n.classList.remove(l,c),n.classList.add(Tt),r.classList.remove(Tt,c,l),this._isSliding=!1,a(yt)}),r,this._isAnimated()),s&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return K.findOne(Dt,this._element)}_getItems(){return K.find(St,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return y()?t===bt?gt:ht:t===bt?ht:gt}_orderToDirection(t){return y()?t===gt?bt:ft:t===gt?ft:bt}static jQueryInterface(t){return this.each((function(){const e=Mt.getOrCreateInstance(this,t);if("number"!=typeof t){if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}else e.to(t)}))}}j.on(document,It,"[data-bs-slide], [data-bs-slide-to]",(function(t){const e=K.getElementFromSelector(this);if(!e||!e.classList.contains(At))return;t.preventDefault();const r=Mt.getOrCreateInstance(e),o=this.getAttribute("data-bs-slide-to");return o?(r.to(o),void r._maybeEnableCycle()):"next"===$.getDataAttribute(this,"slide")?(r.next(),void r._maybeEnableCycle()):(r.prev(),void r._maybeEnableCycle())})),j.on(window,Et,(()=>{const t=K.find('[data-bs-ride="carousel"]');for(const e of t)Mt.getOrCreateInstance(e)})),w(Mt);const Rt=".bs.collapse",Bt=`show${Rt}`,Pt=`shown${Rt}`,Vt=`hide${Rt}`,jt=`hidden${Rt}`,zt=`click${Rt}.data-api`,Ft="show",qt="collapse",$t="collapsing",Ut=`:scope .${qt} .${qt}`,Ht='[data-bs-toggle="collapse"]',Gt={parent:null,toggle:!0},Kt={parent:"(null|element)",toggle:"boolean"};class Wt extends H{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const r=K.find(Ht);for(const t of r){const e=K.getSelectorFromElement(t),r=K.find(e).filter((t=>t===this._element));null!==e&&r.length&&this._triggerArray.push(t)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Gt}static get DefaultType(){return Kt}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((t=>t!==this._element)).map((t=>Wt.getOrCreateInstance(t,{toggle:!1})))),t.length&&t[0]._isTransitioning)return;if(j.trigger(this._element,Bt).defaultPrevented)return;for(const e of t)e.hide();const e=this._getDimension();this._element.classList.remove(qt),this._element.classList.add($t),this._element.style[e]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const r=`scroll${e[0].toUpperCase()+e.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove($t),this._element.classList.add(qt,Ft),this._element.style[e]="",j.trigger(this._element,Pt)}),this._element,!0),this._element.style[e]=`${this._element[r]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(j.trigger(this._element,Vt).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,b(this._element),this._element.classList.add($t),this._element.classList.remove(qt,Ft);for(const t of this._triggerArray){const e=K.getElementFromSelector(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove($t),this._element.classList.add(qt),j.trigger(this._element,jt)}),this._element,!0)}_isShown(t=this._element){return t.classList.contains(Ft)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=u(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(Ht);for(const e of t){const t=K.getElementFromSelector(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}}_getFirstLevelChildren(t){const e=K.find(Ut,this._config.parent);return K.find(t,this._config.parent).filter((t=>!e.includes(t)))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const r of t)r.classList.toggle("collapsed",!e),r.setAttribute("aria-expanded",e)}static jQueryInterface(t){const e={};return"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1),this.each((function(){const r=Wt.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===r[t])throw new TypeError(`No method named "${t}"`);r[t]()}}))}}j.on(document,zt,Ht,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();for(const t of K.getMultipleElementsFromSelector(this))Wt.getOrCreateInstance(t,{toggle:!1}).toggle()})),w(Wt);const Qt="dropdown",Xt=".bs.dropdown",Yt=".data-api",Jt="ArrowUp",Zt="ArrowDown",te=`hide${Xt}`,ee=`hidden${Xt}`,re=`show${Xt}`,oe=`shown${Xt}`,ne=`click${Xt}${Yt}`,ie=`keydown${Xt}${Yt}`,ae=`keyup${Xt}${Yt}`,se="show",le='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',ce=`${le}.${se}`,de=".dropdown-menu",ue=y()?"top-end":"top-start",me=y()?"top-start":"top-end",pe=y()?"bottom-end":"bottom-start",he=y()?"bottom-start":"bottom-end",ge=y()?"left-start":"right-start",be=y()?"right-start":"left-start",fe={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},ve={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class ye extends H{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=K.next(this._element,de)[0]||K.prev(this._element,de)[0]||K.findOne(de,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return fe}static get DefaultType(){return ve}static get NAME(){return Qt}toggle(){return this._isShown()?this.hide():this.show()}show(){if(p(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!j.trigger(this._element,re,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const t of[].concat(...document.body.children))j.on(t,"mouseover",g);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(se),this._element.classList.add(se),j.trigger(this._element,oe,t)}}hide(){if(p(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!j.trigger(this._element,te,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))j.off(t,"mouseover",g);this._popper&&this._popper.destroy(),this._menu.classList.remove(se),this._element.classList.remove(se),this._element.setAttribute("aria-expanded","false"),$.removeDataAttribute(this._menu,"popper"),j.trigger(this._element,ee,t)}}_getConfig(t){if("object"==typeof(t=super._getConfig(t)).reference&&!d(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${Qt.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(void 0===o)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=this._parent:d(this._config.reference)?t=u(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const e=this._getPopperConfig();this._popper=n.n4(t,this._menu,e)}_isShown(){return this._menu.classList.contains(se)}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return ge;if(t.classList.contains("dropstart"))return be;if(t.classList.contains("dropup-center"))return"top";if(t.classList.contains("dropdown-center"))return"bottom";const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?me:ue:e?he:pe}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&($.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...x(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:e}){const r=K.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((t=>m(t)));r.length&&k(r,e,t===Zt,!r.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=ye.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}static clearMenus(t){if(2===t.button||"keyup"===t.type&&"Tab"!==t.key)return;const e=K.find(ce);for(const r of e){const e=ye.getInstance(r);if(!e||!1===e._config.autoClose)continue;const o=t.composedPath(),n=o.includes(e._menu);if(o.includes(e._element)||"inside"===e._config.autoClose&&!n||"outside"===e._config.autoClose&&n)continue;if(e._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const i={relatedTarget:e._element};"click"===t.type&&(i.clickEvent=t),e._completeHide(i)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName),r="Escape"===t.key,o=[Jt,Zt].includes(t.key);if(!o&&!r)return;if(e&&!r)return;t.preventDefault();const n=this.matches(le)?this:K.prev(this,le)[0]||K.next(this,le)[0]||K.findOne(le,t.delegateTarget.parentNode),i=ye.getOrCreateInstance(n);if(o)return t.stopPropagation(),i.show(),void i._selectMenuItem(t);i._isShown()&&(t.stopPropagation(),i.hide(),n.focus())}}j.on(document,ie,le,ye.dataApiKeydownHandler),j.on(document,ie,de,ye.dataApiKeydownHandler),j.on(document,ne,ye.clearMenus),j.on(document,ae,ye.clearMenus),j.on(document,ne,le,(function(t){t.preventDefault(),ye.getOrCreateInstance(this).toggle()})),w(ye);const we="backdrop",xe="show",_e=`mousedown.bs.${we}`,ke={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Ee={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Ie extends U{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return ke}static get DefaultType(){return Ee}static get NAME(){return we}show(t){if(!this._config.isVisible)return void x(t);this._append();const e=this._getElement();this._config.isAnimated&&b(e),e.classList.add(xe),this._emulateAnimation((()=>{x(t)}))}hide(t){this._config.isVisible?(this._getElement().classList.remove(xe),this._emulateAnimation((()=>{this.dispose(),x(t)}))):x(t)}dispose(){this._isAppended&&(j.off(this._element,_e),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=u(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),j.on(t,_e,(()=>{x(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(t){_(t,this._getElement(),this._config.isAnimated)}}const Ae=".bs.focustrap",Te=`focusin${Ae}`,Ce=`keydown.tab${Ae}`,Se="backward",De={autofocus:!0,trapElement:null},Le={autofocus:"boolean",trapElement:"element"};class Ne extends U{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return De}static get DefaultType(){return Le}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),j.off(document,Ae),j.on(document,Te,(t=>this._handleFocusin(t))),j.on(document,Ce,(t=>this._handleKeydown(t))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,j.off(document,Ae))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const r=K.focusableChildren(e);0===r.length?e.focus():this._lastTabNavDirection===Se?r[r.length-1].focus():r[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?Se:"forward")}}const Oe=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Me=".sticky-top",Re="padding-right",Be="margin-right";class Pe{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Re,(e=>e+t)),this._setElementAttributes(Oe,Re,(e=>e+t)),this._setElementAttributes(Me,Be,(e=>e-t))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Re),this._resetElementAttributes(Oe,Re),this._resetElementAttributes(Me,Be)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,r){const o=this.getWidth();this._applyManipulationCallback(t,(t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+o)return;this._saveInitialAttribute(t,e);const n=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${r(Number.parseFloat(n))}px`)}))}_saveInitialAttribute(t,e){const r=t.style.getPropertyValue(e);r&&$.setDataAttribute(t,e,r)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,(t=>{const r=$.getDataAttribute(t,e);null!==r?($.removeDataAttribute(t,e),t.style.setProperty(e,r)):t.style.removeProperty(e)}))}_applyManipulationCallback(t,e){if(d(t))e(t);else for(const r of K.find(t,this._element))e(r)}}const Ve=".bs.modal",je=`hide${Ve}`,ze=`hidePrevented${Ve}`,Fe=`hidden${Ve}`,qe=`show${Ve}`,$e=`shown${Ve}`,Ue=`resize${Ve}`,He=`click.dismiss${Ve}`,Ge=`mousedown.dismiss${Ve}`,Ke=`keydown.dismiss${Ve}`,We=`click${Ve}.data-api`,Qe="modal-open",Xe="show",Ye="modal-static",Je={backdrop:!0,focus:!0,keyboard:!0},Ze={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class tr extends H{constructor(t,e){super(t,e),this._dialog=K.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Pe,this._addEventListeners()}static get Default(){return Je}static get DefaultType(){return Ze}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||j.trigger(this._element,qe,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Qe),this._adjustDialog(),this._backdrop.show((()=>this._showElement(t))))}hide(){this._isShown&&!this._isTransitioning&&(j.trigger(this._element,je).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Xe),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())))}dispose(){j.off(window,Ve),j.off(this._dialog,Ve),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Ie({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Ne({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const e=K.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),b(this._element),this._element.classList.add(Xe),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,j.trigger(this._element,$e,{relatedTarget:t})}),this._dialog,this._isAnimated())}_addEventListeners(){j.on(this._element,Ke,(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())})),j.on(window,Ue,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),j.on(this._element,Ge,(t=>{j.one(this._element,He,(e=>{this._element===t.target&&this._element===e.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(Qe),this._resetAdjustments(),this._scrollBar.reset(),j.trigger(this._element,Fe)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(j.trigger(this._element,ze).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._element.style.overflowY;"hidden"===e||this._element.classList.contains(Ye)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(Ye),this._queueCallback((()=>{this._element.classList.remove(Ye),this._queueCallback((()=>{this._element.style.overflowY=e}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),r=e>0;if(r&&!t){const t=y()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!r&&t){const t=y()?"paddingRight":"paddingLeft";this._element.style[t]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each((function(){const r=tr.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===r[t])throw new TypeError(`No method named "${t}"`);r[t](e)}}))}}j.on(document,We,'[data-bs-toggle="modal"]',(function(t){const e=K.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),j.one(e,qe,(t=>{t.defaultPrevented||j.one(e,Fe,(()=>{m(this)&&this.focus()}))}));const r=K.findOne(".modal.show");r&&tr.getInstance(r).hide(),tr.getOrCreateInstance(e).toggle(this)})),W(tr),w(tr);const er=".bs.offcanvas",rr=".data-api",or=`load${er}${rr}`,nr="show",ir="showing",ar="hiding",sr=".offcanvas.show",lr=`show${er}`,cr=`shown${er}`,dr=`hide${er}`,ur=`hidePrevented${er}`,mr=`hidden${er}`,pr=`resize${er}`,hr=`click${er}${rr}`,gr=`keydown.dismiss${er}`,br={backdrop:!0,keyboard:!0,scroll:!1},fr={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class vr extends H{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return br}static get DefaultType(){return fr}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||j.trigger(this._element,lr,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new Pe).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(ir),this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(nr),this._element.classList.remove(ir),j.trigger(this._element,cr,{relatedTarget:t})}),this._element,!0))}hide(){this._isShown&&(j.trigger(this._element,dr).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(ar),this._backdrop.hide(),this._queueCallback((()=>{this._element.classList.remove(nr,ar),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new Pe).reset(),j.trigger(this._element,mr)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=Boolean(this._config.backdrop);return new Ie({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"!==this._config.backdrop?this.hide():j.trigger(this._element,ur)}:null})}_initializeFocusTrap(){return new Ne({trapElement:this._element})}_addEventListeners(){j.on(this._element,gr,(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():j.trigger(this._element,ur))}))}static jQueryInterface(t){return this.each((function(){const e=vr.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}j.on(document,hr,'[data-bs-toggle="offcanvas"]',(function(t){const e=K.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),p(this))return;j.one(e,mr,(()=>{m(this)&&this.focus()}));const r=K.findOne(sr);r&&r!==e&&vr.getInstance(r).hide(),vr.getOrCreateInstance(e).toggle(this)})),j.on(window,or,(()=>{for(const t of K.find(sr))vr.getOrCreateInstance(t).show()})),j.on(window,pr,(()=>{for(const t of K.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&vr.getOrCreateInstance(t).hide()})),W(vr),w(vr);const yr={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},wr=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),xr=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,_r=(t,e)=>{const r=t.nodeName.toLowerCase();return e.includes(r)?!wr.has(r)||Boolean(xr.test(t.nodeValue)):e.filter((t=>t instanceof RegExp)).some((t=>t.test(r)))},kr={allowList:yr,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Er={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Ir={entry:"(string|element|function|null)",selector:"(string|element)"};class Ar extends U{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return kr}static get DefaultType(){return Er}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((t=>this._resolvePossibleFunction(t))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[e,r]of Object.entries(this._config.content))this._setContent(t,r,e);const e=t.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&e.classList.add(...r.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[e,r]of Object.entries(t))super._typeCheckConfig({selector:e,entry:r},Ir)}_setContent(t,e,r){const o=K.findOne(r,t);o&&((e=this._resolvePossibleFunction(e))?d(e)?this._putElementInTemplate(u(e),o):this._config.html?o.innerHTML=this._maybeSanitize(e):o.textContent=e:o.remove())}_maybeSanitize(t){return this._config.sanitize?function(t,e,r){if(!t.length)return t;if(r&&"function"==typeof r)return r(t);const o=(new window.DOMParser).parseFromString(t,"text/html"),n=[].concat(...o.body.querySelectorAll("*"));for(const t of n){const r=t.nodeName.toLowerCase();if(!Object.keys(e).includes(r)){t.remove();continue}const o=[].concat(...t.attributes),n=[].concat(e["*"]||[],e[r]||[]);for(const e of o)_r(e,n)||t.removeAttribute(e.nodeName)}return o.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return x(t,[this])}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}}const Tr=new Set(["sanitize","allowList","sanitizeFn"]),Cr="fade",Sr="show",Dr=".tooltip-inner",Lr=".modal",Nr="hide.bs.modal",Or="hover",Mr="focus",Rr={AUTO:"auto",TOP:"top",RIGHT:y()?"left":"right",BOTTOM:"bottom",LEFT:y()?"right":"left"},Br={allowList:yr,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},Pr={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Vr extends H{constructor(t,e){if(void 0===o)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,e),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Br}static get DefaultType(){return Pr}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),j.off(this._element.closest(Lr),Nr,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const t=j.trigger(this._element,this.constructor.eventName("show")),e=(h(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!e)return;this._disposePopper();const r=this._getTipElement();this._element.setAttribute("aria-describedby",r.getAttribute("id"));const{container:o}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(o.append(r),j.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(r),r.classList.add(Sr),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))j.on(t,"mouseover",g);this._queueCallback((()=>{j.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(this._isShown()&&!j.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(Sr),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))j.off(t,"mouseover",g);this._activeTrigger.click=!1,this._activeTrigger[Mr]=!1,this._activeTrigger[Or]=!1,this._isHovered=null,this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),j.trigger(this._element,this.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(Cr,Sr),e.classList.add(`bs-${this.constructor.NAME}-auto`);const r=(t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t})(this.constructor.NAME).toString();return e.setAttribute("id",r),this._isAnimated()&&e.classList.add(Cr),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new Ar({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Dr]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Cr)}_isShown(){return this.tip&&this.tip.classList.contains(Sr)}_createPopper(t){const e=x(this._config.placement,[this,t,this._element]),r=Rr[e.toUpperCase()];return n.n4(this._element,t,this._getPopperConfig(r))}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return x(t,[this._element])}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:t=>{this._getTipElement().setAttribute("data-popper-placement",t.state.placement)}}]};return{...e,...x(this._config.popperConfig,[e])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)j.on(this._element,this.constructor.eventName("click"),this._config.selector,(t=>{this._initializeOnDelegatedTarget(t).toggle()}));else if("manual"!==e){const t=e===Or?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),r=e===Or?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");j.on(this._element,t,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?Mr:Or]=!0,e._enter()})),j.on(this._element,r,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?Mr:Or]=e._element.contains(t.relatedTarget),e._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},j.on(this._element.closest(Lr),Nr,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=$.getDataAttributes(this._element);for(const t of Object.keys(e))Tr.has(t)&&delete e[t];return t={...e,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:u(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[e,r]of Object.entries(this._config))this.constructor.Default[e]!==r&&(t[e]=r);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each((function(){const e=Vr.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}w(Vr);const jr=".popover-header",zr=".popover-body",Fr={...Vr.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},qr={...Vr.DefaultType,content:"(null|string|element|function)"};class $r extends Vr{static get Default(){return Fr}static get DefaultType(){return qr}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[jr]:this._getTitle(),[zr]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each((function(){const e=$r.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}w($r);const Ur=".bs.scrollspy",Hr=`activate${Ur}`,Gr=`click${Ur}`,Kr=`load${Ur}.data-api`,Wr="active",Qr="[href]",Xr=".nav-link",Yr=`${Xr}, .nav-item > ${Xr}, .list-group-item`,Jr={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Zr={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class to extends H{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Jr}static get DefaultType(){return Zr}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=u(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,"string"==typeof t.threshold&&(t.threshold=t.threshold.split(",").map((t=>Number.parseFloat(t)))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(j.off(this._config.target,Gr),j.on(this._config.target,Gr,Qr,(t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const r=this._rootElement||window,o=e.offsetTop-this._element.offsetTop;if(r.scrollTo)return void r.scrollTo({top:o,behavior:"smooth"});r.scrollTop=o}})))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((t=>this._observerCallback(t)),t)}_observerCallback(t){const e=t=>this._targetLinks.get(`#${t.target.id}`),r=t=>{this._previousScrollData.visibleEntryTop=t.target.offsetTop,this._process(e(t))},o=(this._rootElement||document.documentElement).scrollTop,n=o>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=o;for(const i of t){if(!i.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(i));continue}const t=i.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(n&&t){if(r(i),!o)return}else n||t||r(i)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=K.find(Qr,this._config.target);for(const e of t){if(!e.hash||p(e))continue;const t=K.findOne(decodeURI(e.hash),this._element);m(t)&&(this._targetLinks.set(decodeURI(e.hash),e),this._observableSections.set(e.hash,t))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(Wr),this._activateParents(t),j.trigger(this._element,Hr,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))K.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(Wr);else for(const e of K.parents(t,".nav, .list-group"))for(const t of K.prev(e,Yr))t.classList.add(Wr)}_clearActiveClass(t){t.classList.remove(Wr);const e=K.find(`${Qr}.${Wr}`,t);for(const t of e)t.classList.remove(Wr)}static jQueryInterface(t){return this.each((function(){const e=to.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}j.on(window,Kr,(()=>{for(const t of K.find('[data-bs-spy="scroll"]'))to.getOrCreateInstance(t)})),w(to);const eo=".bs.tab",ro=`hide${eo}`,oo=`hidden${eo}`,no=`show${eo}`,io=`shown${eo}`,ao=`click${eo}`,so=`keydown${eo}`,lo=`load${eo}`,co="ArrowLeft",uo="ArrowRight",mo="ArrowUp",po="ArrowDown",ho="Home",go="End",bo="active",fo="fade",vo="show",yo=".dropdown-toggle",wo=`:not(${yo})`,xo='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',_o=`.nav-link${wo}, .list-group-item${wo}, [role="tab"]${wo}, ${xo}`,ko=`.${bo}[data-bs-toggle="tab"], .${bo}[data-bs-toggle="pill"], .${bo}[data-bs-toggle="list"]`;class Eo extends H{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),j.on(this._element,so,(t=>this._keydown(t))))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const e=this._getActiveElem(),r=e?j.trigger(e,ro,{relatedTarget:t}):null;j.trigger(t,no,{relatedTarget:e}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){t&&(t.classList.add(bo),this._activate(K.getElementFromSelector(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),j.trigger(t,io,{relatedTarget:e})):t.classList.add(vo)}),t,t.classList.contains(fo)))}_deactivate(t,e){t&&(t.classList.remove(bo),t.blur(),this._deactivate(K.getElementFromSelector(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),j.trigger(t,oo,{relatedTarget:e})):t.classList.remove(vo)}),t,t.classList.contains(fo)))}_keydown(t){if(![co,uo,mo,po,ho,go].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=this._getChildren().filter((t=>!p(t)));let r;if([ho,go].includes(t.key))r=e[t.key===ho?0:e.length-1];else{const o=[uo,po].includes(t.key);r=k(e,t.target,o,!0)}r&&(r.focus({preventScroll:!0}),Eo.getOrCreateInstance(r).show())}_getChildren(){return K.find(_o,this._parent)}_getActiveElem(){return this._getChildren().find((t=>this._elemIsActive(t)))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const t of e)this._setInitialAttributesOnChild(t)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),r=this._getOuterElement(t);t.setAttribute("aria-selected",e),r!==t&&this._setAttributeIfNotExists(r,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=K.getElementFromSelector(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,e){const r=this._getOuterElement(t);if(!r.classList.contains("dropdown"))return;const o=(t,o)=>{const n=K.findOne(t,r);n&&n.classList.toggle(o,e)};o(yo,bo),o(".dropdown-menu",vo),r.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,r){t.hasAttribute(e)||t.setAttribute(e,r)}_elemIsActive(t){return t.classList.contains(bo)}_getInnerElement(t){return t.matches(_o)?t:K.findOne(_o,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each((function(){const e=Eo.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}j.on(document,ao,xo,(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),p(this)||Eo.getOrCreateInstance(this).show()})),j.on(window,lo,(()=>{for(const t of K.find(ko))Eo.getOrCreateInstance(t)})),w(Eo);const Io=".bs.toast",Ao=`mouseover${Io}`,To=`mouseout${Io}`,Co=`focusin${Io}`,So=`focusout${Io}`,Do=`hide${Io}`,Lo=`hidden${Io}`,No=`show${Io}`,Oo=`shown${Io}`,Mo="hide",Ro="show",Bo="showing",Po={animation:"boolean",autohide:"boolean",delay:"number"},Vo={animation:!0,autohide:!0,delay:5e3};class jo extends H{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Vo}static get DefaultType(){return Po}static get NAME(){return"toast"}show(){j.trigger(this._element,No).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(Mo),b(this._element),this._element.classList.add(Ro,Bo),this._queueCallback((()=>{this._element.classList.remove(Bo),j.trigger(this._element,Oo),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this.isShown()&&(j.trigger(this._element,Do).defaultPrevented||(this._element.classList.add(Bo),this._queueCallback((()=>{this._element.classList.add(Mo),this._element.classList.remove(Bo,Ro),j.trigger(this._element,Lo)}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Ro),super.dispose()}isShown(){return this._element.classList.contains(Ro)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const r=t.relatedTarget;this._element===r||this._element.contains(r)||this._maybeScheduleHide()}_setListeners(){j.on(this._element,Ao,(t=>this._onInteraction(t,!0))),j.on(this._element,To,(t=>this._onInteraction(t,!1))),j.on(this._element,Co,(t=>this._onInteraction(t,!0))),j.on(this._element,So,(t=>this._onInteraction(t,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=jo.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}W(jo),w(jo)},9543:(t,e,r)=>{"use strict";r.d(e,{A:()=>W});var o=r(1601),n=r.n(o),i=r(6314),a=r.n(i),s=r(4417),l=r.n(s),c=new URL(r(5531),r.b),d=new URL(r(7115),r.b),u=new URL(r(5419),r.b),m=new URL(r(3385),r.b),p=new URL(r(4274),r.b),h=new URL(r(7154),r.b),g=new URL(r(9023),r.b),b=new URL(r(4718),r.b),f=new URL(r(8734),r.b),v=new URL(r(8487),r.b),y=new URL(r(5372),r.b),w=new URL(r(2247),r.b),x=new URL(r(6366),r.b),_=new URL(r(7326),r.b),k=new URL(r(386),r.b),E=new URL(r(4992),r.b),I=new URL(r(7249),r.b),A=new URL(r(5932),r.b),T=new URL(r(1144),r.b),C=a()(n()),S=l()(c),D=l()(d),L=l()(u),N=l()(m),O=l()(p),M=l()(h),R=l()(g),B=l()(b),P=l()(f),V=l()(v),j=l()(y),z=l()(w),F=l()(x),q=l()(_),$=l()(k),U=l()(E),H=l()(I),G=l()(A),K=l()(T);C.push([t.id,`/*!\n * Bootstrap v5.3.3 (https://getbootstrap.com/)\n * Copyright 2011-2024 The Bootstrap Authors\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n */:root,[data-bs-theme=light]{--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #0d6efd;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 13, 110, 253;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-primary-text-emphasis: rgb(5.2, 44, 101.2);--bs-secondary-text-emphasis: rgb(43.2, 46.8, 50);--bs-success-text-emphasis: rgb(10, 54, 33.6);--bs-info-text-emphasis: rgb(5.2, 80.8, 96);--bs-warning-text-emphasis: rgb(102, 77.2, 2.8);--bs-danger-text-emphasis: rgb(88, 21.2, 27.6);--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: rgb(206.6, 226, 254.6);--bs-secondary-bg-subtle: rgb(225.6, 227.4, 229);--bs-success-bg-subtle: rgb(209, 231, 220.8);--bs-info-bg-subtle: rgb(206.6, 244.4, 252);--bs-warning-bg-subtle: rgb(255, 242.6, 205.4);--bs-danger-bg-subtle: rgb(248, 214.6, 217.8);--bs-light-bg-subtle: rgb(251.5, 252, 252.5);--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: rgb(158.2, 197, 254.2);--bs-secondary-border-subtle: rgb(196.2, 199.8, 203);--bs-success-border-subtle: rgb(163, 207, 186.6);--bs-info-border-subtle: rgb(158.2, 233.8, 249);--bs-warning-border-subtle: rgb(255, 230.2, 155.8);--bs-danger-border-subtle: rgb(241, 174.2, 180.6);--bs-light-border-subtle: #e9ecef;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg: #fff;--bs-body-bg-rgb: 255, 255, 255;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(33, 37, 41, 0.75);--bs-secondary-color-rgb: 33, 37, 41;--bs-secondary-bg: #e9ecef;--bs-secondary-bg-rgb: 233, 236, 239;--bs-tertiary-color: rgba(33, 37, 41, 0.5);--bs-tertiary-color-rgb: 33, 37, 41;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #0d6efd;--bs-link-color-rgb: 13, 110, 253;--bs-link-decoration: underline;--bs-link-hover-color: rgb(10.4, 88, 202.4);--bs-link-hover-color-rgb: 10, 88, 202;--bs-code-color: #d63384;--bs-highlight-color: #212529;--bs-highlight-bg: rgb(255, 242.6, 205.4);--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, 0.175);--bs-border-radius: 0.375rem;--bs-border-radius-sm: 0.25rem;--bs-border-radius-lg: 0.5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width: 0.25rem;--bs-focus-ring-opacity: 0.25;--bs-focus-ring-color: rgba(13, 110, 253, 0.25);--bs-form-valid-color: #198754;--bs-form-valid-border-color: #198754;--bs-form-invalid-color: #dc3545;--bs-form-invalid-border-color: #dc3545}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color: #dee2e6;--bs-body-color-rgb: 222, 226, 230;--bs-body-bg: #212529;--bs-body-bg-rgb: 33, 37, 41;--bs-emphasis-color: #fff;--bs-emphasis-color-rgb: 255, 255, 255;--bs-secondary-color: rgba(222, 226, 230, 0.75);--bs-secondary-color-rgb: 222, 226, 230;--bs-secondary-bg: #343a40;--bs-secondary-bg-rgb: 52, 58, 64;--bs-tertiary-color: rgba(222, 226, 230, 0.5);--bs-tertiary-color-rgb: 222, 226, 230;--bs-tertiary-bg: rgb(42.5, 47.5, 52.5);--bs-tertiary-bg-rgb: 43, 48, 53;--bs-primary-text-emphasis: rgb(109.8, 168, 253.8);--bs-secondary-text-emphasis: rgb(166.8, 172.2, 177);--bs-success-text-emphasis: rgb(117, 183, 152.4);--bs-info-text-emphasis: rgb(109.8, 223.2, 246);--bs-warning-text-emphasis: rgb(255, 217.8, 106.2);--bs-danger-text-emphasis: rgb(234, 133.8, 143.4);--bs-light-text-emphasis: #f8f9fa;--bs-dark-text-emphasis: #dee2e6;--bs-primary-bg-subtle: rgb(2.6, 22, 50.6);--bs-secondary-bg-subtle: rgb(21.6, 23.4, 25);--bs-success-bg-subtle: rgb(5, 27, 16.8);--bs-info-bg-subtle: rgb(2.6, 40.4, 48);--bs-warning-bg-subtle: rgb(51, 38.6, 1.4);--bs-danger-bg-subtle: rgb(44, 10.6, 13.8);--bs-light-bg-subtle: #343a40;--bs-dark-bg-subtle: #1a1d20;--bs-primary-border-subtle: rgb(7.8, 66, 151.8);--bs-secondary-border-subtle: rgb(64.8, 70.2, 75);--bs-success-border-subtle: rgb(15, 81, 50.4);--bs-info-border-subtle: rgb(7.8, 121.2, 144);--bs-warning-border-subtle: rgb(153, 115.8, 4.2);--bs-danger-border-subtle: rgb(132, 31.8, 41.4);--bs-light-border-subtle: #495057;--bs-dark-border-subtle: #343a40;--bs-heading-color: inherit;--bs-link-color: rgb(109.8, 168, 253.8);--bs-link-hover-color: rgb(138.84, 185.4, 254.04);--bs-link-color-rgb: 110, 168, 254;--bs-link-hover-color-rgb: 139, 185, 254;--bs-code-color: rgb(230.4, 132.6, 181.2);--bs-highlight-color: #dee2e6;--bs-highlight-bg: rgb(102, 77.2, 2.8);--bs-border-color: #495057;--bs-border-color-translucent: rgba(255, 255, 255, 0.15);--bs-form-valid-color: rgb(117, 183, 152.4);--bs-form-valid-border-color: rgb(117, 183, 152.4);--bs-form-invalid-color: rgb(234, 133.8, 143.4);--bs-form-invalid-border-color: rgb(234, 133.8, 143.4)}*,*::before,*::after{box-sizing:border-box}@media(prefers-reduced-motion: no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}hr{margin:1rem 0;color:inherit;border:0;border-top:var(--bs-border-width) solid;opacity:.25}h6,.h6,h5,.h5,h4,.h4,h3,.h3,h2,.h2,h1,.h1{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2;color:var(--bs-heading-color)}h1,.h1{font-size:calc(1.375rem + 1.5vw)}@media(min-width: 1200px){h1,.h1{font-size:2.5rem}}h2,.h2{font-size:calc(1.325rem + 0.9vw)}@media(min-width: 1200px){h2,.h2{font-size:2rem}}h3,.h3{font-size:calc(1.3rem + 0.6vw)}@media(min-width: 1200px){h3,.h3{font-size:1.75rem}}h4,.h4{font-size:calc(1.275rem + 0.3vw)}@media(min-width: 1200px){h4,.h4{font-size:1.5rem}}h5,.h5{font-size:1.25rem}h6,.h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{text-decoration:underline dotted;cursor:help;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}ol,ul,dl{margin-top:0;margin-bottom:1rem}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small,.small{font-size:0.875em}mark,.mark{padding:.1875em;color:var(--bs-highlight-color);background-color:var(--bs-highlight-bg)}sub,sup{position:relative;font-size:0.75em;line-height:0;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}a{color:rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));text-decoration:underline}a:hover{--bs-link-color-rgb: var(--bs-link-hover-color-rgb)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}pre,code,kbd,samp{font-family:var(--bs-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:0.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:0.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.1875rem .375rem;font-size:0.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-secondary-color);text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}thead,tbody,tfoot,tr,td,th{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}input,button,select,optgroup,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none !important}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button:not(:disabled),[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + 0.3vw);line-height:inherit}@media(min-width: 1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-text,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none !important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media(min-width: 1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media(min-width: 1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media(min-width: 1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media(min-width: 1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media(min-width: 1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media(min-width: 1200px){.display-6{font-size:2.5rem}}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:0.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:0.875em;color:#6c757d}.blockquote-footer::before{content:"— "}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:var(--bs-body-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:0.875em;color:var(--bs-secondary-color)}.container,.container-fluid,.container-xxl,.container-xl,.container-lg,.container-md,.container-sm{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;width:100%;padding-right:calc(var(--bs-gutter-x)*.5);padding-left:calc(var(--bs-gutter-x)*.5);margin-right:auto;margin-left:auto}@media(min-width: 576px){.container-sm,.container{max-width:540px}}@media(min-width: 768px){.container-md,.container-sm,.container{max-width:720px}}@media(min-width: 992px){.container-lg,.container-md,.container-sm,.container{max-width:960px}}@media(min-width: 1200px){.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1140px}}@media(min-width: 1400px){.container-xxl,.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1320px}}:root{--bs-breakpoint-xs: 0;--bs-breakpoint-sm: 576px;--bs-breakpoint-md: 768px;--bs-breakpoint-lg: 992px;--bs-breakpoint-xl: 1200px;--bs-breakpoint-xxl: 1400px}.row{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;display:flex;flex-wrap:wrap;margin-top:calc(-1*var(--bs-gutter-y));margin-right:calc(-0.5*var(--bs-gutter-x));margin-left:calc(-0.5*var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x)*.5);padding-left:calc(var(--bs-gutter-x)*.5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.66666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x: 0}.g-0,.gy-0{--bs-gutter-y: 0}.g-1,.gx-1{--bs-gutter-x: 0.25rem}.g-1,.gy-1{--bs-gutter-y: 0.25rem}.g-2,.gx-2{--bs-gutter-x: 0.5rem}.g-2,.gy-2{--bs-gutter-y: 0.5rem}.g-3,.gx-3{--bs-gutter-x: 1rem}.g-3,.gy-3{--bs-gutter-y: 1rem}.g-4,.gx-4{--bs-gutter-x: 1.5rem}.g-4,.gy-4{--bs-gutter-y: 1.5rem}.g-5,.gx-5{--bs-gutter-x: 3rem}.g-5,.gy-5{--bs-gutter-y: 3rem}@media(min-width: 576px){.col-sm{flex:1 0 0%}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.66666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x: 0}.g-sm-0,.gy-sm-0{--bs-gutter-y: 0}.g-sm-1,.gx-sm-1{--bs-gutter-x: 0.25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y: 0.25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x: 0.5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y: 0.5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x: 1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y: 1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x: 1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y: 1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x: 3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y: 3rem}}@media(min-width: 768px){.col-md{flex:1 0 0%}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.66666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x: 0}.g-md-0,.gy-md-0{--bs-gutter-y: 0}.g-md-1,.gx-md-1{--bs-gutter-x: 0.25rem}.g-md-1,.gy-md-1{--bs-gutter-y: 0.25rem}.g-md-2,.gx-md-2{--bs-gutter-x: 0.5rem}.g-md-2,.gy-md-2{--bs-gutter-y: 0.5rem}.g-md-3,.gx-md-3{--bs-gutter-x: 1rem}.g-md-3,.gy-md-3{--bs-gutter-y: 1rem}.g-md-4,.gx-md-4{--bs-gutter-x: 1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y: 1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x: 3rem}.g-md-5,.gy-md-5{--bs-gutter-y: 3rem}}@media(min-width: 992px){.col-lg{flex:1 0 0%}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.66666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x: 0}.g-lg-0,.gy-lg-0{--bs-gutter-y: 0}.g-lg-1,.gx-lg-1{--bs-gutter-x: 0.25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y: 0.25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x: 0.5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y: 0.5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x: 1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y: 1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x: 1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y: 1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x: 3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y: 3rem}}@media(min-width: 1200px){.col-xl{flex:1 0 0%}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.66666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x: 0}.g-xl-0,.gy-xl-0{--bs-gutter-y: 0}.g-xl-1,.gx-xl-1{--bs-gutter-x: 0.25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y: 0.25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x: 0.5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y: 0.5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x: 1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y: 1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x: 1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y: 1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x: 3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y: 3rem}}@media(min-width: 1400px){.col-xxl{flex:1 0 0%}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.66666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x: 0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y: 0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x: 0.25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y: 0.25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x: 0.5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y: 0.5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x: 1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y: 1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x: 1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y: 1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x: 3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y: 3rem}}.table{--bs-table-color-type: initial;--bs-table-bg-type: initial;--bs-table-color-state: initial;--bs-table-bg-state: initial;--bs-table-color: var(--bs-emphasis-color);--bs-table-bg: var(--bs-body-bg);--bs-table-border-color: var(--bs-border-color);--bs-table-accent-bg: transparent;--bs-table-striped-color: var(--bs-emphasis-color);--bs-table-striped-bg: rgba(var(--bs-emphasis-color-rgb), 0.05);--bs-table-active-color: var(--bs-emphasis-color);--bs-table-active-bg: rgba(var(--bs-emphasis-color-rgb), 0.1);--bs-table-hover-color: var(--bs-emphasis-color);--bs-table-hover-bg: rgba(var(--bs-emphasis-color-rgb), 0.075);width:100%;margin-bottom:1rem;vertical-align:top;border-color:var(--bs-table-border-color)}.table>:not(caption)>*>*{padding:.5rem .5rem;color:var(--bs-table-color-state, var(--bs-table-color-type, var(--bs-table-color)));background-color:var(--bs-table-bg);border-bottom-width:var(--bs-border-width);box-shadow:inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)))}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table-group-divider{border-top:calc(var(--bs-border-width)*2) solid currentcolor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem .25rem}.table-bordered>:not(caption)>*{border-width:var(--bs-border-width) 0}.table-bordered>:not(caption)>*>*{border-width:0 var(--bs-border-width)}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-color-type: var(--bs-table-striped-color);--bs-table-bg-type: var(--bs-table-striped-bg)}.table-striped-columns>:not(caption)>tr>:nth-child(even){--bs-table-color-type: var(--bs-table-striped-color);--bs-table-bg-type: var(--bs-table-striped-bg)}.table-active{--bs-table-color-state: var(--bs-table-active-color);--bs-table-bg-state: var(--bs-table-active-bg)}.table-hover>tbody>tr:hover>*{--bs-table-color-state: var(--bs-table-hover-color);--bs-table-bg-state: var(--bs-table-hover-bg)}.table-primary{--bs-table-color: #000;--bs-table-bg: rgb(206.6, 226, 254.6);--bs-table-border-color: rgb(165.28, 180.8, 203.68);--bs-table-striped-bg: rgb(196.27, 214.7, 241.87);--bs-table-striped-color: #000;--bs-table-active-bg: rgb(185.94, 203.4, 229.14);--bs-table-active-color: #000;--bs-table-hover-bg: rgb(191.105, 209.05, 235.505);--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-secondary{--bs-table-color: #000;--bs-table-bg: rgb(225.6, 227.4, 229);--bs-table-border-color: rgb(180.48, 181.92, 183.2);--bs-table-striped-bg: rgb(214.32, 216.03, 217.55);--bs-table-striped-color: #000;--bs-table-active-bg: rgb(203.04, 204.66, 206.1);--bs-table-active-color: #000;--bs-table-hover-bg: rgb(208.68, 210.345, 211.825);--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-success{--bs-table-color: #000;--bs-table-bg: rgb(209, 231, 220.8);--bs-table-border-color: rgb(167.2, 184.8, 176.64);--bs-table-striped-bg: rgb(198.55, 219.45, 209.76);--bs-table-striped-color: #000;--bs-table-active-bg: rgb(188.1, 207.9, 198.72);--bs-table-active-color: #000;--bs-table-hover-bg: rgb(193.325, 213.675, 204.24);--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-info{--bs-table-color: #000;--bs-table-bg: rgb(206.6, 244.4, 252);--bs-table-border-color: rgb(165.28, 195.52, 201.6);--bs-table-striped-bg: rgb(196.27, 232.18, 239.4);--bs-table-striped-color: #000;--bs-table-active-bg: rgb(185.94, 219.96, 226.8);--bs-table-active-color: #000;--bs-table-hover-bg: rgb(191.105, 226.07, 233.1);--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-warning{--bs-table-color: #000;--bs-table-bg: rgb(255, 242.6, 205.4);--bs-table-border-color: rgb(204, 194.08, 164.32);--bs-table-striped-bg: rgb(242.25, 230.47, 195.13);--bs-table-striped-color: #000;--bs-table-active-bg: rgb(229.5, 218.34, 184.86);--bs-table-active-color: #000;--bs-table-hover-bg: rgb(235.875, 224.405, 189.995);--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-danger{--bs-table-color: #000;--bs-table-bg: rgb(248, 214.6, 217.8);--bs-table-border-color: rgb(198.4, 171.68, 174.24);--bs-table-striped-bg: rgb(235.6, 203.87, 206.91);--bs-table-striped-color: #000;--bs-table-active-bg: rgb(223.2, 193.14, 196.02);--bs-table-active-color: #000;--bs-table-hover-bg: rgb(229.4, 198.505, 201.465);--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-light{--bs-table-color: #000;--bs-table-bg: #f8f9fa;--bs-table-border-color: rgb(198.4, 199.2, 200);--bs-table-striped-bg: rgb(235.6, 236.55, 237.5);--bs-table-striped-color: #000;--bs-table-active-bg: rgb(223.2, 224.1, 225);--bs-table-active-color: #000;--bs-table-hover-bg: rgb(229.4, 230.325, 231.25);--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-dark{--bs-table-color: #fff;--bs-table-bg: #212529;--bs-table-border-color: rgb(77.4, 80.6, 83.8);--bs-table-striped-bg: rgb(44.1, 47.9, 51.7);--bs-table-striped-color: #fff;--bs-table-active-bg: rgb(55.2, 58.8, 62.4);--bs-table-active-color: #fff;--bs-table-hover-bg: rgb(49.65, 53.35, 57.05);--bs-table-hover-color: #fff;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media(max-width: 575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media(max-width: 767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media(max-width: 991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media(max-width: 1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media(max-width: 1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(0.375rem + var(--bs-border-width));padding-bottom:calc(0.375rem + var(--bs-border-width));margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(0.5rem + var(--bs-border-width));padding-bottom:calc(0.5rem + var(--bs-border-width));font-size:1.25rem}.col-form-label-sm{padding-top:calc(0.25rem + var(--bs-border-width));padding-bottom:calc(0.25rem + var(--bs-border-width));font-size:0.875rem}.form-text{margin-top:.25rem;font-size:0.875em;color:var(--bs-secondary-color)}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);appearance:none;background-color:var(--bs-body-bg);background-clip:padding-box;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion: reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:var(--bs-body-color);background-color:var(--bs-body-bg);border-color:rgb(134,182.5,254);outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-control::-webkit-date-and-time-value{min-width:85px;height:1.5em;margin:0}.form-control::-webkit-datetime-edit{display:block;padding:0}.form-control::placeholder{color:var(--bs-secondary-color);opacity:1}.form-control:disabled{background-color:var(--bs-secondary-bg);opacity:1}.form-control::file-selector-button{padding:.375rem .75rem;margin:-0.375rem -0.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion: reduce){.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:var(--bs-secondary-bg)}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:var(--bs-body-color);background-color:rgba(0,0,0,0);border:solid rgba(0,0,0,0);border-width:var(--bs-border-width) 0}.form-control-plaintext:focus{outline:0}.form-control-plaintext.form-control-sm,.form-control-plaintext.form-control-lg{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + 0.5rem + calc(var(--bs-border-width) * 2));padding:.25rem .5rem;font-size:0.875rem;border-radius:var(--bs-border-radius-sm)}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-0.25rem -0.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-0.5rem -1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + 0.75rem + calc(var(--bs-border-width) * 2))}textarea.form-control-sm{min-height:calc(1.5em + 0.5rem + calc(var(--bs-border-width) * 2))}textarea.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-control-color{width:3rem;height:calc(1.5em + 0.75rem + calc(var(--bs-border-width) * 2));padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{border:0 !important;border-radius:var(--bs-border-radius)}.form-control-color::-webkit-color-swatch{border:0 !important;border-radius:var(--bs-border-radius)}.form-control-color.form-control-sm{height:calc(1.5em + 0.5rem + calc(var(--bs-border-width) * 2))}.form-control-color.form-control-lg{height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-select{--bs-form-select-bg-img: url(${S});display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);appearance:none;background-color:var(--bs-body-bg);background-image:var(--bs-form-select-bg-img),var(--bs-form-select-bg-icon, none);background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion: reduce){.form-select{transition:none}}.form-select:focus{border-color:rgb(134,182.5,254);outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:var(--bs-secondary-bg)}.form-select:-moz-focusring{color:rgba(0,0,0,0);text-shadow:0 0 0 var(--bs-body-color)}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:0.875rem;border-radius:var(--bs-border-radius-sm)}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}[data-bs-theme=dark] .form-select{--bs-form-select-bg-img: url(${D})}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-reverse{padding-right:1.5em;padding-left:0;text-align:right}.form-check-reverse .form-check-input{float:right;margin-right:-1.5em;margin-left:0}.form-check-input{--bs-form-check-bg: var(--bs-body-bg);flex-shrink:0;width:1em;height:1em;margin-top:.25em;vertical-align:top;appearance:none;background-color:var(--bs-form-check-bg);background-image:var(--bs-form-check-bg-image);background-repeat:no-repeat;background-position:center;background-size:contain;border:var(--bs-border-width) solid var(--bs-border-color);print-color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:rgb(134,182.5,254);outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-check-input:checked{background-color:#0d6efd;border-color:#0d6efd}.form-check-input:checked[type=checkbox]{--bs-form-check-bg-image: url(${L})}.form-check-input:checked[type=radio]{--bs-form-check-bg-image: url(${N})}.form-check-input[type=checkbox]:indeterminate{background-color:#0d6efd;border-color:#0d6efd;--bs-form-check-bg-image: url(${O})}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input[disabled]~.form-check-label,.form-check-input:disabled~.form-check-label{cursor:default;opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{--bs-form-switch-bg: url(${M});width:2em;margin-left:-2.5em;background-image:var(--bs-form-switch-bg);background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}@media(prefers-reduced-motion: reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{--bs-form-switch-bg: url(${R})}.form-switch .form-check-input:checked{background-position:right center;--bs-form-switch-bg: url(${B})}.form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}.form-switch.form-check-reverse .form-check-input{margin-right:-2.5em;margin-left:0}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0, 0, 0, 0);pointer-events:none}.btn-check[disabled]+.btn,.btn-check:disabled+.btn{pointer-events:none;filter:none;opacity:.65}[data-bs-theme=dark] .form-switch .form-check-input:not(:checked):not(:focus){--bs-form-switch-bg: url(${P})}.form-range{width:100%;height:1.5rem;padding:0;appearance:none;background-color:rgba(0,0,0,0)}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem rgba(13,110,253,.25)}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem rgba(13,110,253,.25)}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-0.25rem;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion: reduce){.form-range::-webkit-slider-thumb{transition:none}}.form-range::-webkit-slider-thumb:active{background-color:rgb(182.4,211.5,254.4)}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:rgba(0,0,0,0);cursor:pointer;background-color:var(--bs-secondary-bg);border-color:rgba(0,0,0,0);border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion: reduce){.form-range::-moz-range-thumb{transition:none}}.form-range::-moz-range-thumb:active{background-color:rgb(182.4,211.5,254.4)}.form-range::-moz-range-track{width:100%;height:.5rem;color:rgba(0,0,0,0);cursor:pointer;background-color:var(--bs-secondary-bg);border-color:rgba(0,0,0,0);border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:var(--bs-secondary-color)}.form-range:disabled::-moz-range-thumb{background-color:var(--bs-secondary-color)}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-control-plaintext,.form-floating>.form-select{height:calc(3.5rem + calc(var(--bs-border-width) * 2));min-height:calc(3.5rem + calc(var(--bs-border-width) * 2));line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;z-index:2;height:100%;padding:1rem .75rem;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:var(--bs-border-width) solid rgba(0,0,0,0);transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media(prefers-reduced-motion: reduce){.form-floating>label{transition:none}}.form-floating>.form-control,.form-floating>.form-control-plaintext{padding:1rem .75rem}.form-floating>.form-control::placeholder,.form-floating>.form-control-plaintext::placeholder{color:rgba(0,0,0,0)}.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown),.form-floating>.form-control-plaintext:focus,.form-floating>.form-control-plaintext:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:-webkit-autofill,.form-floating>.form-control-plaintext:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-control-plaintext~label,.form-floating>.form-select~label{color:rgba(var(--bs-body-color-rgb), 0.65);transform:scale(0.85) translateY(-0.5rem) translateX(0.15rem)}.form-floating>.form-control:focus~label::after,.form-floating>.form-control:not(:placeholder-shown)~label::after,.form-floating>.form-control-plaintext~label::after,.form-floating>.form-select~label::after{position:absolute;inset:1rem .375rem;z-index:-1;height:1.5em;content:"";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>.form-control:-webkit-autofill~label{color:rgba(var(--bs-body-color-rgb), 0.65);transform:scale(0.85) translateY(-0.5rem) translateX(0.15rem)}.form-floating>.form-control-plaintext~label{border-width:var(--bs-border-width) 0}.form-floating>:disabled~label,.form-floating>.form-control:disabled~label{color:#6c757d}.form-floating>:disabled~label::after,.form-floating>.form-control:disabled~label::after{background-color:var(--bs-secondary-bg)}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-select,.input-group>.form-floating{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-select:focus,.input-group>.form-floating:focus-within{z-index:5}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:5}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);text-align:center;white-space:nowrap;background-color:var(--bs-tertiary-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius)}.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text,.input-group-lg>.btn{padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text,.input-group-sm>.btn{padding:.25rem .5rem;font-size:0.875rem;border-radius:var(--bs-border-radius-sm)}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:calc(var(--bs-border-width)*-1);border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.form-floating:not(:first-child)>.form-control,.input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:0.875em;color:var(--bs-form-valid-color)}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:0.875rem;color:#fff;background-color:var(--bs-success);border-radius:var(--bs-border-radius)}.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip,.is-valid~.valid-feedback,.is-valid~.valid-tooltip{display:block}.was-validated .form-control:valid,.form-control.is-valid{border-color:var(--bs-form-valid-border-color);padding-right:calc(1.5em + 0.75rem);background-image:url(${V});background-repeat:no-repeat;background-position:right calc(0.375em + 0.1875rem) center;background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem)}.was-validated .form-control:valid:focus,.form-control.is-valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb), 0.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + 0.75rem);background-position:top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem)}.was-validated .form-select:valid,.form-select.is-valid{border-color:var(--bs-form-valid-border-color)}.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"],.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"]{--bs-form-select-bg-icon: url(${V});padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(0.75em + 0.375rem) calc(0.75em + 0.375rem)}.was-validated .form-select:valid:focus,.form-select.is-valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb), 0.25)}.was-validated .form-control-color:valid,.form-control-color.is-valid{width:calc(3rem + calc(1.5em + 0.75rem))}.was-validated .form-check-input:valid,.form-check-input.is-valid{border-color:var(--bs-form-valid-border-color)}.was-validated .form-check-input:valid:checked,.form-check-input.is-valid:checked{background-color:var(--bs-form-valid-color)}.was-validated .form-check-input:valid:focus,.form-check-input.is-valid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb), 0.25)}.was-validated .form-check-input:valid~.form-check-label,.form-check-input.is-valid~.form-check-label{color:var(--bs-form-valid-color)}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):valid,.input-group>.form-control:not(:focus).is-valid,.was-validated .input-group>.form-select:not(:focus):valid,.input-group>.form-select:not(:focus).is-valid,.was-validated .input-group>.form-floating:not(:focus-within):valid,.input-group>.form-floating:not(:focus-within).is-valid{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:0.875em;color:var(--bs-form-invalid-color)}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:0.875rem;color:#fff;background-color:var(--bs-danger);border-radius:var(--bs-border-radius)}.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip,.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip{display:block}.was-validated .form-control:invalid,.form-control.is-invalid{border-color:var(--bs-form-invalid-border-color);padding-right:calc(1.5em + 0.75rem);background-image:url(${j});background-repeat:no-repeat;background-position:right calc(0.375em + 0.1875rem) center;background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem)}.was-validated .form-control:invalid:focus,.form-control.is-invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb), 0.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + 0.75rem);background-position:top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem)}.was-validated .form-select:invalid,.form-select.is-invalid{border-color:var(--bs-form-invalid-border-color)}.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"],.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"]{--bs-form-select-bg-icon: url(${j});padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(0.75em + 0.375rem) calc(0.75em + 0.375rem)}.was-validated .form-select:invalid:focus,.form-select.is-invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb), 0.25)}.was-validated .form-control-color:invalid,.form-control-color.is-invalid{width:calc(3rem + calc(1.5em + 0.75rem))}.was-validated .form-check-input:invalid,.form-check-input.is-invalid{border-color:var(--bs-form-invalid-border-color)}.was-validated .form-check-input:invalid:checked,.form-check-input.is-invalid:checked{background-color:var(--bs-form-invalid-color)}.was-validated .form-check-input:invalid:focus,.form-check-input.is-invalid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb), 0.25)}.was-validated .form-check-input:invalid~.form-check-label,.form-check-input.is-invalid~.form-check-label{color:var(--bs-form-invalid-color)}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):invalid,.input-group>.form-control:not(:focus).is-invalid,.was-validated .input-group>.form-select:not(:focus):invalid,.input-group>.form-select:not(:focus).is-invalid,.was-validated .input-group>.form-floating:not(:focus-within):invalid,.input-group>.form-floating:not(:focus-within).is-invalid{z-index:4}.btn{--bs-btn-padding-x: 0.75rem;--bs-btn-padding-y: 0.375rem;--bs-btn-font-family: ;--bs-btn-font-size:1rem;--bs-btn-font-weight: 400;--bs-btn-line-height: 1.5;--bs-btn-color: var(--bs-body-color);--bs-btn-bg: transparent;--bs-btn-border-width: var(--bs-border-width);--bs-btn-border-color: transparent;--bs-btn-border-radius: var(--bs-border-radius);--bs-btn-hover-border-color: transparent;--bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);--bs-btn-disabled-opacity: 0.65;--bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion: reduce){.btn{transition:none}}.btn:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn-check+.btn:hover{color:var(--bs-btn-color);background-color:var(--bs-btn-bg);border-color:var(--bs-btn-border-color)}.btn:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,:not(.btn-check)+.btn:active,.btn:first-child:active,.btn.active,.btn.show{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,:not(.btn-check)+.btn:active:focus-visible,.btn:first-child:active:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked:focus-visible+.btn{box-shadow:var(--bs-btn-focus-box-shadow)}.btn:disabled,.btn.disabled,fieldset:disabled .btn{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-primary{--bs-btn-color: #fff;--bs-btn-bg: #0d6efd;--bs-btn-border-color: #0d6efd;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: rgb(11.05, 93.5, 215.05);--bs-btn-hover-border-color: rgb(10.4, 88, 202.4);--bs-btn-focus-shadow-rgb: 49, 132, 253;--bs-btn-active-color: #fff;--bs-btn-active-bg: rgb(10.4, 88, 202.4);--bs-btn-active-border-color: rgb(9.75, 82.5, 189.75);--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #0d6efd;--bs-btn-disabled-border-color: #0d6efd}.btn-secondary{--bs-btn-color: #fff;--bs-btn-bg: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: rgb(91.8, 99.45, 106.25);--bs-btn-hover-border-color: rgb(86.4, 93.6, 100);--bs-btn-focus-shadow-rgb: 130, 138, 145;--bs-btn-active-color: #fff;--bs-btn-active-bg: rgb(86.4, 93.6, 100);--bs-btn-active-border-color: rgb(81, 87.75, 93.75);--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #6c757d;--bs-btn-disabled-border-color: #6c757d}.btn-success{--bs-btn-color: #fff;--bs-btn-bg: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: rgb(21.25, 114.75, 71.4);--bs-btn-hover-border-color: rgb(20, 108, 67.2);--bs-btn-focus-shadow-rgb: 60, 153, 110;--bs-btn-active-color: #fff;--bs-btn-active-bg: rgb(20, 108, 67.2);--bs-btn-active-border-color: rgb(18.75, 101.25, 63);--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #198754;--bs-btn-disabled-border-color: #198754}.btn-info{--bs-btn-color: #000;--bs-btn-bg: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: rgb(49.3, 209.95, 242.25);--bs-btn-hover-border-color: rgb(37.2, 207.3, 241.5);--bs-btn-focus-shadow-rgb: 11, 172, 204;--bs-btn-active-color: #000;--bs-btn-active-bg: rgb(61.4, 212.6, 243);--bs-btn-active-border-color: rgb(37.2, 207.3, 241.5);--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #0dcaf0;--bs-btn-disabled-border-color: #0dcaf0}.btn-warning{--bs-btn-color: #000;--bs-btn-bg: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: rgb(255, 202.3, 44.2);--bs-btn-hover-border-color: rgb(255, 199.2, 31.8);--bs-btn-focus-shadow-rgb: 217, 164, 6;--bs-btn-active-color: #000;--bs-btn-active-bg: rgb(255, 205.4, 56.6);--bs-btn-active-border-color: rgb(255, 199.2, 31.8);--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #ffc107;--bs-btn-disabled-border-color: #ffc107}.btn-danger{--bs-btn-color: #fff;--bs-btn-bg: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: rgb(187, 45.05, 58.65);--bs-btn-hover-border-color: rgb(176, 42.4, 55.2);--bs-btn-focus-shadow-rgb: 225, 83, 97;--bs-btn-active-color: #fff;--bs-btn-active-bg: rgb(176, 42.4, 55.2);--bs-btn-active-border-color: rgb(165, 39.75, 51.75);--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #dc3545;--bs-btn-disabled-border-color: #dc3545}.btn-light{--bs-btn-color: #000;--bs-btn-bg: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: rgb(210.8, 211.65, 212.5);--bs-btn-hover-border-color: rgb(198.4, 199.2, 200);--bs-btn-focus-shadow-rgb: 211, 212, 213;--bs-btn-active-color: #000;--bs-btn-active-bg: rgb(198.4, 199.2, 200);--bs-btn-active-border-color: rgb(186, 186.75, 187.5);--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #f8f9fa;--bs-btn-disabled-border-color: #f8f9fa}.btn-dark{--bs-btn-color: #fff;--bs-btn-bg: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: rgb(66.3, 69.7, 73.1);--bs-btn-hover-border-color: rgb(55.2, 58.8, 62.4);--bs-btn-focus-shadow-rgb: 66, 70, 73;--bs-btn-active-color: #fff;--bs-btn-active-bg: rgb(77.4, 80.6, 83.8);--bs-btn-active-border-color: rgb(55.2, 58.8, 62.4);--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #212529;--bs-btn-disabled-border-color: #212529}.btn-outline-primary{--bs-btn-color: #0d6efd;--bs-btn-border-color: #0d6efd;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #0d6efd;--bs-btn-hover-border-color: #0d6efd;--bs-btn-focus-shadow-rgb: 13, 110, 253;--bs-btn-active-color: #fff;--bs-btn-active-bg: #0d6efd;--bs-btn-active-border-color: #0d6efd;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #0d6efd;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #0d6efd;--bs-gradient: none}.btn-outline-secondary{--bs-btn-color: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #6c757d;--bs-btn-hover-border-color: #6c757d;--bs-btn-focus-shadow-rgb: 108, 117, 125;--bs-btn-active-color: #fff;--bs-btn-active-bg: #6c757d;--bs-btn-active-border-color: #6c757d;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #6c757d;--bs-gradient: none}.btn-outline-success{--bs-btn-color: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #198754;--bs-btn-hover-border-color: #198754;--bs-btn-focus-shadow-rgb: 25, 135, 84;--bs-btn-active-color: #fff;--bs-btn-active-bg: #198754;--bs-btn-active-border-color: #198754;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #198754;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #198754;--bs-gradient: none}.btn-outline-info{--bs-btn-color: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #0dcaf0;--bs-btn-hover-border-color: #0dcaf0;--bs-btn-focus-shadow-rgb: 13, 202, 240;--bs-btn-active-color: #000;--bs-btn-active-bg: #0dcaf0;--bs-btn-active-border-color: #0dcaf0;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #0dcaf0;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #0dcaf0;--bs-gradient: none}.btn-outline-warning{--bs-btn-color: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ffc107;--bs-btn-hover-border-color: #ffc107;--bs-btn-focus-shadow-rgb: 255, 193, 7;--bs-btn-active-color: #000;--bs-btn-active-bg: #ffc107;--bs-btn-active-border-color: #ffc107;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #ffc107;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #ffc107;--bs-gradient: none}.btn-outline-danger{--bs-btn-color: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #dc3545;--bs-btn-hover-border-color: #dc3545;--bs-btn-focus-shadow-rgb: 220, 53, 69;--bs-btn-active-color: #fff;--bs-btn-active-bg: #dc3545;--bs-btn-active-border-color: #dc3545;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #dc3545;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #dc3545;--bs-gradient: none}.btn-outline-light{--bs-btn-color: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #f8f9fa;--bs-btn-hover-border-color: #f8f9fa;--bs-btn-focus-shadow-rgb: 248, 249, 250;--bs-btn-active-color: #000;--bs-btn-active-bg: #f8f9fa;--bs-btn-active-border-color: #f8f9fa;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #f8f9fa;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #f8f9fa;--bs-gradient: none}.btn-outline-dark{--bs-btn-color: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #212529;--bs-btn-hover-border-color: #212529;--bs-btn-focus-shadow-rgb: 33, 37, 41;--bs-btn-active-color: #fff;--bs-btn-active-bg: #212529;--bs-btn-active-border-color: #212529;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #212529;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #212529;--bs-gradient: none}.btn-link{--bs-btn-font-weight: 400;--bs-btn-color: var(--bs-link-color);--bs-btn-bg: transparent;--bs-btn-border-color: transparent;--bs-btn-hover-color: var(--bs-link-hover-color);--bs-btn-hover-border-color: transparent;--bs-btn-active-color: var(--bs-link-hover-color);--bs-btn-active-border-color: transparent;--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-border-color: transparent;--bs-btn-box-shadow: 0 0 0 #000;--bs-btn-focus-shadow-rgb: 49, 132, 253;text-decoration:underline}.btn-link:focus-visible{color:var(--bs-btn-color)}.btn-link:hover{color:var(--bs-btn-hover-color)}.btn-lg,.btn-group-lg>.btn{--bs-btn-padding-y: 0.5rem;--bs-btn-padding-x: 1rem;--bs-btn-font-size:1.25rem;--bs-btn-border-radius: var(--bs-border-radius-lg)}.btn-sm,.btn-group-sm>.btn{--bs-btn-padding-y: 0.25rem;--bs-btn-padding-x: 0.5rem;--bs-btn-font-size:0.875rem;--bs-btn-border-radius: var(--bs-border-radius-sm)}.fade{transition:opacity .15s linear}@media(prefers-reduced-motion: reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media(prefers-reduced-motion: reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media(prefers-reduced-motion: reduce){.collapsing.collapse-horizontal{transition:none}}.dropup,.dropend,.dropdown,.dropstart,.dropup-center,.dropdown-center{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid rgba(0,0,0,0);border-bottom:0;border-left:.3em solid rgba(0,0,0,0)}.dropdown-toggle:empty::after{margin-left:0}.dropdown-menu{--bs-dropdown-zindex: 1000;--bs-dropdown-min-width: 10rem;--bs-dropdown-padding-x: 0;--bs-dropdown-padding-y: 0.5rem;--bs-dropdown-spacer: 0.125rem;--bs-dropdown-font-size:1rem;--bs-dropdown-color: var(--bs-body-color);--bs-dropdown-bg: var(--bs-body-bg);--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-border-radius: var(--bs-border-radius);--bs-dropdown-border-width: var(--bs-border-width);--bs-dropdown-inner-border-radius: calc(var(--bs-border-radius) - var(--bs-border-width));--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-divider-margin-y: 0.5rem;--bs-dropdown-box-shadow: var(--bs-box-shadow);--bs-dropdown-link-color: var(--bs-body-color);--bs-dropdown-link-hover-color: var(--bs-body-color);--bs-dropdown-link-hover-bg: var(--bs-tertiary-bg);--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #0d6efd;--bs-dropdown-link-disabled-color: var(--bs-tertiary-color);--bs-dropdown-item-padding-x: 1rem;--bs-dropdown-item-padding-y: 0.25rem;--bs-dropdown-header-color: #6c757d;--bs-dropdown-header-padding-x: 1rem;--bs-dropdown-header-padding-y: 0.5rem;position:absolute;z-index:var(--bs-dropdown-zindex);display:none;min-width:var(--bs-dropdown-min-width);padding:var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);margin:0;font-size:var(--bs-dropdown-font-size);color:var(--bs-dropdown-color);text-align:left;list-style:none;background-color:var(--bs-dropdown-bg);background-clip:padding-box;border:var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);border-radius:var(--bs-dropdown-border-radius)}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:var(--bs-dropdown-spacer)}.dropdown-menu-start{--bs-position: start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position: end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media(min-width: 576px){.dropdown-menu-sm-start{--bs-position: start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position: end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media(min-width: 768px){.dropdown-menu-md-start{--bs-position: start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position: end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media(min-width: 992px){.dropdown-menu-lg-start{--bs-position: start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position: end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media(min-width: 1200px){.dropdown-menu-xl-start{--bs-position: start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position: end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media(min-width: 1400px){.dropdown-menu-xxl-start{--bs-position: start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position: end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--bs-dropdown-spacer)}.dropup .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid rgba(0,0,0,0);border-bottom:.3em solid;border-left:.3em solid rgba(0,0,0,0)}.dropup .dropdown-toggle:empty::after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:var(--bs-dropdown-spacer)}.dropend .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid rgba(0,0,0,0);border-right:0;border-bottom:.3em solid rgba(0,0,0,0);border-left:.3em solid}.dropend .dropdown-toggle:empty::after{margin-left:0}.dropend .dropdown-toggle::after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:var(--bs-dropdown-spacer)}.dropstart .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle::after{display:none}.dropstart .dropdown-toggle::before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid rgba(0,0,0,0);border-right:.3em solid;border-bottom:.3em solid rgba(0,0,0,0)}.dropstart .dropdown-toggle:empty::after{margin-left:0}.dropstart .dropdown-toggle::before{vertical-align:0}.dropdown-divider{height:0;margin:var(--bs-dropdown-divider-margin-y) 0;overflow:hidden;border-top:1px solid var(--bs-dropdown-divider-bg);opacity:1}.dropdown-item{display:block;width:100%;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);clear:both;font-weight:400;color:var(--bs-dropdown-link-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:rgba(0,0,0,0);border:0;border-radius:var(--bs-dropdown-item-border-radius, 0)}.dropdown-item:hover,.dropdown-item:focus{color:var(--bs-dropdown-link-hover-color);background-color:var(--bs-dropdown-link-hover-bg)}.dropdown-item.active,.dropdown-item:active{color:var(--bs-dropdown-link-active-color);text-decoration:none;background-color:var(--bs-dropdown-link-active-bg)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--bs-dropdown-link-disabled-color);pointer-events:none;background-color:rgba(0,0,0,0)}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);margin-bottom:0;font-size:0.875rem;color:var(--bs-dropdown-header-color);white-space:nowrap}.dropdown-item-text{display:block;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);color:var(--bs-dropdown-link-color)}.dropdown-menu-dark{--bs-dropdown-color: #dee2e6;--bs-dropdown-bg: #343a40;--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-box-shadow: ;--bs-dropdown-link-color: #dee2e6;--bs-dropdown-link-hover-color: #fff;--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-link-hover-bg: rgba(255, 255, 255, 0.15);--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #0d6efd;--bs-dropdown-link-disabled-color: #adb5bd;--bs-dropdown-header-color: #adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;flex:1 1 auto}.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn:hover,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn.active{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group{border-radius:var(--bs-border-radius)}.btn-group>:not(.btn-check:first-child)+.btn,.btn-group>.btn-group:not(:first-child){margin-left:calc(var(--bs-border-width)*-1)}.btn-group>.btn:not(:last-child):not(.dropdown-toggle),.btn-group>.btn.dropdown-toggle-split:first-child,.btn-group>.btn-group:not(:last-child)>.btn{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn,.btn-group>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split::after,.dropup .dropdown-toggle-split::after,.dropend .dropdown-toggle-split::after{margin-left:0}.dropstart .dropdown-toggle-split::before{margin-right:0}.btn-sm+.dropdown-toggle-split,.btn-group-sm>.btn+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-lg+.dropdown-toggle-split,.btn-group-lg>.btn+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn:not(:first-child),.btn-group-vertical>.btn-group:not(:first-child){margin-top:calc(var(--bs-border-width)*-1)}.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle),.btn-group-vertical>.btn-group:not(:last-child)>.btn{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn~.btn,.btn-group-vertical>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{--bs-nav-link-padding-x: 1rem;--bs-nav-link-padding-y: 0.5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-link-color);--bs-nav-link-hover-color: var(--bs-link-hover-color);--bs-nav-link-disabled-color: var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;background:none;border:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media(prefers-reduced-motion: reduce){.nav-link{transition:none}}.nav-link:hover,.nav-link:focus{color:var(--bs-nav-link-hover-color)}.nav-link:focus-visible{outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.nav-link.disabled,.nav-link:disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}.nav-tabs{--bs-nav-tabs-border-width: var(--bs-border-width);--bs-nav-tabs-border-color: var(--bs-border-color);--bs-nav-tabs-border-radius: var(--bs-border-radius);--bs-nav-tabs-link-hover-border-color: var(--bs-secondary-bg) var(--bs-secondary-bg) var(--bs-border-color);--bs-nav-tabs-link-active-color: var(--bs-emphasis-color);--bs-nav-tabs-link-active-bg: var(--bs-body-bg);--bs-nav-tabs-link-active-border-color: var(--bs-border-color) var(--bs-border-color) var(--bs-body-bg);border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}.nav-tabs .nav-link{margin-bottom:calc(-1*var(--bs-nav-tabs-border-width));border:var(--bs-nav-tabs-border-width) solid rgba(0,0,0,0);border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}.nav-tabs .nav-link:hover,.nav-tabs .nav-link:focus{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}.nav-tabs .nav-link.active,.nav-tabs .nav-item.show .nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}.nav-tabs .dropdown-menu{margin-top:calc(-1*var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}.nav-pills{--bs-nav-pills-border-radius: var(--bs-border-radius);--bs-nav-pills-link-active-color: #fff;--bs-nav-pills-link-active-bg: #0d6efd}.nav-pills .nav-link{border-radius:var(--bs-nav-pills-border-radius)}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}.nav-underline{--bs-nav-underline-gap: 1rem;--bs-nav-underline-border-width: 0.125rem;--bs-nav-underline-link-active-color: var(--bs-emphasis-color);gap:var(--bs-nav-underline-gap)}.nav-underline .nav-link{padding-right:0;padding-left:0;border-bottom:var(--bs-nav-underline-border-width) solid rgba(0,0,0,0)}.nav-underline .nav-link:hover,.nav-underline .nav-link:focus{border-bottom-color:currentcolor}.nav-underline .nav-link.active,.nav-underline .show>.nav-link{font-weight:700;color:var(--bs-nav-underline-link-active-color);border-bottom-color:currentcolor}.nav-fill>.nav-link,.nav-fill .nav-item{flex:1 1 auto;text-align:center}.nav-justified>.nav-link,.nav-justified .nav-item{flex-basis:0;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{--bs-navbar-padding-x: 0;--bs-navbar-padding-y: 0.5rem;--bs-navbar-color: rgba(var(--bs-emphasis-color-rgb), 0.65);--bs-navbar-hover-color: rgba(var(--bs-emphasis-color-rgb), 0.8);--bs-navbar-disabled-color: rgba(var(--bs-emphasis-color-rgb), 0.3);--bs-navbar-active-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-padding-y: 0.3125rem;--bs-navbar-brand-margin-end: 1rem;--bs-navbar-brand-font-size: 1.25rem;--bs-navbar-brand-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-hover-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-nav-link-padding-x: 0.5rem;--bs-navbar-toggler-padding-y: 0.25rem;--bs-navbar-toggler-padding-x: 0.75rem;--bs-navbar-toggler-font-size: 1.25rem;--bs-navbar-toggler-icon-bg: url(${z});--bs-navbar-toggler-border-color: rgba(var(--bs-emphasis-color-rgb), 0.15);--bs-navbar-toggler-border-radius: var(--bs-border-radius);--bs-navbar-toggler-focus-width: 0.25rem;--bs-navbar-toggler-transition: box-shadow 0.15s ease-in-out;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--bs-navbar-padding-y) var(--bs-navbar-padding-x)}.navbar>.container,.navbar>.container-fluid,.navbar>.container-sm,.navbar>.container-md,.navbar>.container-lg,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:var(--bs-navbar-brand-padding-y);padding-bottom:var(--bs-navbar-brand-padding-y);margin-right:var(--bs-navbar-brand-margin-end);font-size:var(--bs-navbar-brand-font-size);color:var(--bs-navbar-brand-color);text-decoration:none;white-space:nowrap}.navbar-brand:hover,.navbar-brand:focus{color:var(--bs-navbar-brand-hover-color)}.navbar-nav{--bs-nav-link-padding-x: 0;--bs-nav-link-padding-y: 0.5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-navbar-color);--bs-nav-link-hover-color: var(--bs-navbar-hover-color);--bs-nav-link-disabled-color: var(--bs-navbar-disabled-color);display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link.active,.navbar-nav .nav-link.show{color:var(--bs-navbar-active-color)}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-navbar-color)}.navbar-text a,.navbar-text a:hover,.navbar-text a:focus{color:var(--bs-navbar-active-color)}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);font-size:var(--bs-navbar-toggler-font-size);line-height:1;color:var(--bs-navbar-color);background-color:rgba(0,0,0,0);border:var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);border-radius:var(--bs-navbar-toggler-border-radius);transition:var(--bs-navbar-toggler-transition)}@media(prefers-reduced-motion: reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 var(--bs-navbar-toggler-focus-width)}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:var(--bs-navbar-toggler-icon-bg);background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height, 75vh);overflow-y:auto}@media(min-width: 576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex !important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto !important;height:auto !important;visibility:visible !important;background-color:rgba(0,0,0,0) !important;border:0 !important;transform:none !important;transition:none}.navbar-expand-sm .offcanvas .offcanvas-header{display:none}.navbar-expand-sm .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media(min-width: 768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex !important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto !important;height:auto !important;visibility:visible !important;background-color:rgba(0,0,0,0) !important;border:0 !important;transform:none !important;transition:none}.navbar-expand-md .offcanvas .offcanvas-header{display:none}.navbar-expand-md .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media(min-width: 992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex !important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto !important;height:auto !important;visibility:visible !important;background-color:rgba(0,0,0,0) !important;border:0 !important;transform:none !important;transition:none}.navbar-expand-lg .offcanvas .offcanvas-header{display:none}.navbar-expand-lg .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media(min-width: 1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex !important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto !important;height:auto !important;visibility:visible !important;background-color:rgba(0,0,0,0) !important;border:0 !important;transform:none !important;transition:none}.navbar-expand-xl .offcanvas .offcanvas-header{display:none}.navbar-expand-xl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media(min-width: 1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex !important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto !important;height:auto !important;visibility:visible !important;background-color:rgba(0,0,0,0) !important;border:0 !important;transform:none !important;transition:none}.navbar-expand-xxl .offcanvas .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex !important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto !important;height:auto !important;visibility:visible !important;background-color:rgba(0,0,0,0) !important;border:0 !important;transform:none !important;transition:none}.navbar-expand .offcanvas .offcanvas-header{display:none}.navbar-expand .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-dark,.navbar[data-bs-theme=dark]{--bs-navbar-color: rgba(255, 255, 255, 0.55);--bs-navbar-hover-color: rgba(255, 255, 255, 0.75);--bs-navbar-disabled-color: rgba(255, 255, 255, 0.25);--bs-navbar-active-color: #fff;--bs-navbar-brand-color: #fff;--bs-navbar-brand-hover-color: #fff;--bs-navbar-toggler-border-color: rgba(255, 255, 255, 0.1);--bs-navbar-toggler-icon-bg: url(${F})}[data-bs-theme=dark] .navbar-toggler-icon{--bs-navbar-toggler-icon-bg: url(${F})}.card{--bs-card-spacer-y: 1rem;--bs-card-spacer-x: 1rem;--bs-card-title-spacer-y: 0.5rem;--bs-card-title-color: ;--bs-card-subtitle-color: ;--bs-card-border-width: var(--bs-border-width);--bs-card-border-color: var(--bs-border-color-translucent);--bs-card-border-radius: var(--bs-border-radius);--bs-card-box-shadow: ;--bs-card-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-card-cap-padding-y: 0.5rem;--bs-card-cap-padding-x: 1rem;--bs-card-cap-bg: rgba(var(--bs-body-color-rgb), 0.03);--bs-card-cap-color: ;--bs-card-height: ;--bs-card-color: ;--bs-card-bg: var(--bs-body-bg);--bs-card-img-overlay-padding: 1rem;--bs-card-group-margin: 0.75rem;position:relative;display:flex;flex-direction:column;min-width:0;height:var(--bs-card-height);color:var(--bs-body-color);word-wrap:break-word;background-color:var(--bs-card-bg);background-clip:border-box;border:var(--bs-card-border-width) solid var(--bs-card-border-color);border-radius:var(--bs-card-border-radius)}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x);color:var(--bs-card-color)}.card-title{margin-bottom:var(--bs-card-title-spacer-y);color:var(--bs-card-title-color)}.card-subtitle{margin-top:calc(-0.5*var(--bs-card-title-spacer-y));margin-bottom:0;color:var(--bs-card-subtitle-color)}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:var(--bs-card-spacer-x)}.card-header{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);margin-bottom:0;color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-bottom:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-header:first-child{border-radius:var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0}.card-footer{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-top:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-footer:last-child{border-radius:0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius)}.card-header-tabs{margin-right:calc(-0.5*var(--bs-card-cap-padding-x));margin-bottom:calc(-1*var(--bs-card-cap-padding-y));margin-left:calc(-0.5*var(--bs-card-cap-padding-x));border-bottom:0}.card-header-tabs .nav-link.active{background-color:var(--bs-card-bg);border-bottom-color:var(--bs-card-bg)}.card-header-pills{margin-right:calc(-0.5*var(--bs-card-cap-padding-x));margin-left:calc(-0.5*var(--bs-card-cap-padding-x))}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:var(--bs-card-img-overlay-padding);border-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-top,.card-img-bottom{width:100%}.card-img,.card-img-top{border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom{border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card-group>.card{margin-bottom:var(--bs-card-group-margin)}@media(min-width: 576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-img-top,.card-group>.card:not(:last-child) .card-header{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-img-bottom,.card-group>.card:not(:last-child) .card-footer{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-img-top,.card-group>.card:not(:first-child) .card-header{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-img-bottom,.card-group>.card:not(:first-child) .card-footer{border-bottom-left-radius:0}}.accordion{--bs-accordion-color: var(--bs-body-color);--bs-accordion-bg: var(--bs-body-bg);--bs-accordion-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-radius 0.15s ease;--bs-accordion-border-color: var(--bs-border-color);--bs-accordion-border-width: var(--bs-border-width);--bs-accordion-border-radius: var(--bs-border-radius);--bs-accordion-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-accordion-btn-padding-x: 1.25rem;--bs-accordion-btn-padding-y: 1rem;--bs-accordion-btn-color: var(--bs-body-color);--bs-accordion-btn-bg: var(--bs-accordion-bg);--bs-accordion-btn-icon: url(${q});--bs-accordion-btn-icon-width: 1.25rem;--bs-accordion-btn-icon-transform: rotate(-180deg);--bs-accordion-btn-icon-transition: transform 0.2s ease-in-out;--bs-accordion-btn-active-icon: url(${$});--bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);--bs-accordion-body-padding-x: 1.25rem;--bs-accordion-body-padding-y: 1rem;--bs-accordion-active-color: var(--bs-primary-text-emphasis);--bs-accordion-active-bg: var(--bs-primary-bg-subtle)}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);font-size:1rem;color:var(--bs-accordion-btn-color);text-align:left;background-color:var(--bs-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;transition:var(--bs-accordion-transition)}@media(prefers-reduced-motion: reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:var(--bs-accordion-active-color);background-color:var(--bs-accordion-active-bg);box-shadow:inset 0 calc(-1*var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color)}.accordion-button:not(.collapsed)::after{background-image:var(--bs-accordion-btn-active-icon);transform:var(--bs-accordion-btn-icon-transform)}.accordion-button::after{flex-shrink:0;width:var(--bs-accordion-btn-icon-width);height:var(--bs-accordion-btn-icon-width);margin-left:auto;content:"";background-image:var(--bs-accordion-btn-icon);background-repeat:no-repeat;background-size:var(--bs-accordion-btn-icon-width);transition:var(--bs-accordion-btn-icon-transition)}@media(prefers-reduced-motion: reduce){.accordion-button::after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;outline:0;box-shadow:var(--bs-accordion-btn-focus-box-shadow)}.accordion-header{margin-bottom:0}.accordion-item{color:var(--bs-accordion-color);background-color:var(--bs-accordion-bg);border:var(--bs-accordion-border-width) solid var(--bs-accordion-border-color)}.accordion-item:first-of-type{border-top-left-radius:var(--bs-accordion-border-radius);border-top-right-radius:var(--bs-accordion-border-radius)}.accordion-item:first-of-type>.accordion-header .accordion-button{border-top-left-radius:var(--bs-accordion-inner-border-radius);border-top-right-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-item:last-of-type>.accordion-header .accordion-button.collapsed{border-bottom-right-radius:var(--bs-accordion-inner-border-radius);border-bottom-left-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:last-of-type>.accordion-collapse{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-body{padding:var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x)}.accordion-flush>.accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush>.accordion-item:first-child{border-top:0}.accordion-flush>.accordion-item:last-child{border-bottom:0}.accordion-flush>.accordion-item>.accordion-header .accordion-button,.accordion-flush>.accordion-item>.accordion-header .accordion-button.collapsed{border-radius:0}.accordion-flush>.accordion-item>.accordion-collapse{border-radius:0}[data-bs-theme=dark] .accordion-button::after{--bs-accordion-btn-icon: url(${U});--bs-accordion-btn-active-icon: url(${U})}.breadcrumb{--bs-breadcrumb-padding-x: 0;--bs-breadcrumb-padding-y: 0;--bs-breadcrumb-margin-bottom: 1rem;--bs-breadcrumb-bg: ;--bs-breadcrumb-border-radius: ;--bs-breadcrumb-divider-color: var(--bs-secondary-color);--bs-breadcrumb-item-padding-x: 0.5rem;--bs-breadcrumb-item-active-color: var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding:var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);margin-bottom:var(--bs-breadcrumb-margin-bottom);font-size:var(--bs-breadcrumb-font-size);list-style:none;background-color:var(--bs-breadcrumb-bg);border-radius:var(--bs-breadcrumb-border-radius)}.breadcrumb-item+.breadcrumb-item{padding-left:var(--bs-breadcrumb-item-padding-x)}.breadcrumb-item+.breadcrumb-item::before{float:left;padding-right:var(--bs-breadcrumb-item-padding-x);color:var(--bs-breadcrumb-divider-color);content:var(--bs-breadcrumb-divider, "/") /* rtl: var(--bs-breadcrumb-divider, "/") */}.breadcrumb-item.active{color:var(--bs-breadcrumb-item-active-color)}.pagination{--bs-pagination-padding-x: 0.75rem;--bs-pagination-padding-y: 0.375rem;--bs-pagination-font-size:1rem;--bs-pagination-color: var(--bs-link-color);--bs-pagination-bg: var(--bs-body-bg);--bs-pagination-border-width: var(--bs-border-width);--bs-pagination-border-color: var(--bs-border-color);--bs-pagination-border-radius: var(--bs-border-radius);--bs-pagination-hover-color: var(--bs-link-hover-color);--bs-pagination-hover-bg: var(--bs-tertiary-bg);--bs-pagination-hover-border-color: var(--bs-border-color);--bs-pagination-focus-color: var(--bs-link-hover-color);--bs-pagination-focus-bg: var(--bs-secondary-bg);--bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);--bs-pagination-active-color: #fff;--bs-pagination-active-bg: #0d6efd;--bs-pagination-active-border-color: #0d6efd;--bs-pagination-disabled-color: var(--bs-secondary-color);--bs-pagination-disabled-bg: var(--bs-secondary-bg);--bs-pagination-disabled-border-color: var(--bs-border-color);display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;padding:var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);font-size:var(--bs-pagination-font-size);color:var(--bs-pagination-color);text-decoration:none;background-color:var(--bs-pagination-bg);border:var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion: reduce){.page-link{transition:none}}.page-link:hover{z-index:2;color:var(--bs-pagination-hover-color);background-color:var(--bs-pagination-hover-bg);border-color:var(--bs-pagination-hover-border-color)}.page-link:focus{z-index:3;color:var(--bs-pagination-focus-color);background-color:var(--bs-pagination-focus-bg);outline:0;box-shadow:var(--bs-pagination-focus-box-shadow)}.page-link.active,.active>.page-link{z-index:3;color:var(--bs-pagination-active-color);background-color:var(--bs-pagination-active-bg);border-color:var(--bs-pagination-active-border-color)}.page-link.disabled,.disabled>.page-link{color:var(--bs-pagination-disabled-color);pointer-events:none;background-color:var(--bs-pagination-disabled-bg);border-color:var(--bs-pagination-disabled-border-color)}.page-item:not(:first-child) .page-link{margin-left:calc(var(--bs-border-width)*-1)}.page-item:first-child .page-link{border-top-left-radius:var(--bs-pagination-border-radius);border-bottom-left-radius:var(--bs-pagination-border-radius)}.page-item:last-child .page-link{border-top-right-radius:var(--bs-pagination-border-radius);border-bottom-right-radius:var(--bs-pagination-border-radius)}.pagination-lg{--bs-pagination-padding-x: 1.5rem;--bs-pagination-padding-y: 0.75rem;--bs-pagination-font-size:1.25rem;--bs-pagination-border-radius: var(--bs-border-radius-lg)}.pagination-sm{--bs-pagination-padding-x: 0.5rem;--bs-pagination-padding-y: 0.25rem;--bs-pagination-font-size:0.875rem;--bs-pagination-border-radius: var(--bs-border-radius-sm)}.badge{--bs-badge-padding-x: 0.65em;--bs-badge-padding-y: 0.35em;--bs-badge-font-size:0.75em;--bs-badge-font-weight: 700;--bs-badge-color: #fff;--bs-badge-border-radius: var(--bs-border-radius);display:inline-block;padding:var(--bs-badge-padding-y) var(--bs-badge-padding-x);font-size:var(--bs-badge-font-size);font-weight:var(--bs-badge-font-weight);line-height:1;color:var(--bs-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--bs-badge-border-radius)}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{--bs-alert-bg: transparent;--bs-alert-padding-x: 1rem;--bs-alert-padding-y: 1rem;--bs-alert-margin-bottom: 1rem;--bs-alert-color: inherit;--bs-alert-border-color: transparent;--bs-alert-border: var(--bs-border-width) solid var(--bs-alert-border-color);--bs-alert-border-radius: var(--bs-border-radius);--bs-alert-link-color: inherit;position:relative;padding:var(--bs-alert-padding-y) var(--bs-alert-padding-x);margin-bottom:var(--bs-alert-margin-bottom);color:var(--bs-alert-color);background-color:var(--bs-alert-bg);border:var(--bs-alert-border);border-radius:var(--bs-alert-border-radius)}.alert-heading{color:inherit}.alert-link{font-weight:700;color:var(--bs-alert-link-color)}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{--bs-alert-color: var(--bs-primary-text-emphasis);--bs-alert-bg: var(--bs-primary-bg-subtle);--bs-alert-border-color: var(--bs-primary-border-subtle);--bs-alert-link-color: var(--bs-primary-text-emphasis)}.alert-secondary{--bs-alert-color: var(--bs-secondary-text-emphasis);--bs-alert-bg: var(--bs-secondary-bg-subtle);--bs-alert-border-color: var(--bs-secondary-border-subtle);--bs-alert-link-color: var(--bs-secondary-text-emphasis)}.alert-success{--bs-alert-color: var(--bs-success-text-emphasis);--bs-alert-bg: var(--bs-success-bg-subtle);--bs-alert-border-color: var(--bs-success-border-subtle);--bs-alert-link-color: var(--bs-success-text-emphasis)}.alert-info{--bs-alert-color: var(--bs-info-text-emphasis);--bs-alert-bg: var(--bs-info-bg-subtle);--bs-alert-border-color: var(--bs-info-border-subtle);--bs-alert-link-color: var(--bs-info-text-emphasis)}.alert-warning{--bs-alert-color: var(--bs-warning-text-emphasis);--bs-alert-bg: var(--bs-warning-bg-subtle);--bs-alert-border-color: var(--bs-warning-border-subtle);--bs-alert-link-color: var(--bs-warning-text-emphasis)}.alert-danger{--bs-alert-color: var(--bs-danger-text-emphasis);--bs-alert-bg: var(--bs-danger-bg-subtle);--bs-alert-border-color: var(--bs-danger-border-subtle);--bs-alert-link-color: var(--bs-danger-text-emphasis)}.alert-light{--bs-alert-color: var(--bs-light-text-emphasis);--bs-alert-bg: var(--bs-light-bg-subtle);--bs-alert-border-color: var(--bs-light-border-subtle);--bs-alert-link-color: var(--bs-light-text-emphasis)}.alert-dark{--bs-alert-color: var(--bs-dark-text-emphasis);--bs-alert-bg: var(--bs-dark-bg-subtle);--bs-alert-border-color: var(--bs-dark-border-subtle);--bs-alert-link-color: var(--bs-dark-text-emphasis)}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress,.progress-stacked{--bs-progress-height: 1rem;--bs-progress-font-size:0.75rem;--bs-progress-bg: var(--bs-secondary-bg);--bs-progress-border-radius: var(--bs-border-radius);--bs-progress-box-shadow: var(--bs-box-shadow-inset);--bs-progress-bar-color: #fff;--bs-progress-bar-bg: #0d6efd;--bs-progress-bar-transition: width 0.6s ease;display:flex;height:var(--bs-progress-height);overflow:hidden;font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);transition:var(--bs-progress-bar-transition)}@media(prefers-reduced-motion: reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}.progress-stacked>.progress{overflow:visible}.progress-stacked>.progress>.progress-bar{width:100%}.progress-bar-animated{animation:1s linear infinite progress-bar-stripes}@media(prefers-reduced-motion: reduce){.progress-bar-animated{animation:none}}.list-group{--bs-list-group-color: var(--bs-body-color);--bs-list-group-bg: var(--bs-body-bg);--bs-list-group-border-color: var(--bs-border-color);--bs-list-group-border-width: var(--bs-border-width);--bs-list-group-border-radius: var(--bs-border-radius);--bs-list-group-item-padding-x: 1rem;--bs-list-group-item-padding-y: 0.5rem;--bs-list-group-action-color: var(--bs-secondary-color);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-tertiary-bg);--bs-list-group-action-active-color: var(--bs-body-color);--bs-list-group-action-active-bg: var(--bs-secondary-bg);--bs-list-group-disabled-color: var(--bs-secondary-color);--bs-list-group-disabled-bg: var(--bs-body-bg);--bs-list-group-active-color: #fff;--bs-list-group-active-bg: #0d6efd;--bs-list-group-active-border-color: #0d6efd;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item::before{content:counters(section, ".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}.list-group-item-action:hover,.list-group-item-action:focus{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}.list-group-item-action:active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}.list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1*var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1*var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media(min-width: 576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1*var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media(min-width: 768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1*var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media(min-width: 992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1*var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media(min-width: 1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1*var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media(min-width: 1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1*var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{--bs-list-group-color: var(--bs-primary-text-emphasis);--bs-list-group-bg: var(--bs-primary-bg-subtle);--bs-list-group-border-color: var(--bs-primary-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-primary-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-primary-border-subtle);--bs-list-group-active-color: var(--bs-primary-bg-subtle);--bs-list-group-active-bg: var(--bs-primary-text-emphasis);--bs-list-group-active-border-color: var(--bs-primary-text-emphasis)}.list-group-item-secondary{--bs-list-group-color: var(--bs-secondary-text-emphasis);--bs-list-group-bg: var(--bs-secondary-bg-subtle);--bs-list-group-border-color: var(--bs-secondary-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-secondary-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-secondary-border-subtle);--bs-list-group-active-color: var(--bs-secondary-bg-subtle);--bs-list-group-active-bg: var(--bs-secondary-text-emphasis);--bs-list-group-active-border-color: var(--bs-secondary-text-emphasis)}.list-group-item-success{--bs-list-group-color: var(--bs-success-text-emphasis);--bs-list-group-bg: var(--bs-success-bg-subtle);--bs-list-group-border-color: var(--bs-success-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-success-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-success-border-subtle);--bs-list-group-active-color: var(--bs-success-bg-subtle);--bs-list-group-active-bg: var(--bs-success-text-emphasis);--bs-list-group-active-border-color: var(--bs-success-text-emphasis)}.list-group-item-info{--bs-list-group-color: var(--bs-info-text-emphasis);--bs-list-group-bg: var(--bs-info-bg-subtle);--bs-list-group-border-color: var(--bs-info-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-info-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-info-border-subtle);--bs-list-group-active-color: var(--bs-info-bg-subtle);--bs-list-group-active-bg: var(--bs-info-text-emphasis);--bs-list-group-active-border-color: var(--bs-info-text-emphasis)}.list-group-item-warning{--bs-list-group-color: var(--bs-warning-text-emphasis);--bs-list-group-bg: var(--bs-warning-bg-subtle);--bs-list-group-border-color: var(--bs-warning-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-warning-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-warning-border-subtle);--bs-list-group-active-color: var(--bs-warning-bg-subtle);--bs-list-group-active-bg: var(--bs-warning-text-emphasis);--bs-list-group-active-border-color: var(--bs-warning-text-emphasis)}.list-group-item-danger{--bs-list-group-color: var(--bs-danger-text-emphasis);--bs-list-group-bg: var(--bs-danger-bg-subtle);--bs-list-group-border-color: var(--bs-danger-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-danger-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-danger-border-subtle);--bs-list-group-active-color: var(--bs-danger-bg-subtle);--bs-list-group-active-bg: var(--bs-danger-text-emphasis);--bs-list-group-active-border-color: var(--bs-danger-text-emphasis)}.list-group-item-light{--bs-list-group-color: var(--bs-light-text-emphasis);--bs-list-group-bg: var(--bs-light-bg-subtle);--bs-list-group-border-color: var(--bs-light-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-light-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-light-border-subtle);--bs-list-group-active-color: var(--bs-light-bg-subtle);--bs-list-group-active-bg: var(--bs-light-text-emphasis);--bs-list-group-active-border-color: var(--bs-light-text-emphasis)}.list-group-item-dark{--bs-list-group-color: var(--bs-dark-text-emphasis);--bs-list-group-bg: var(--bs-dark-bg-subtle);--bs-list-group-border-color: var(--bs-dark-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-dark-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-dark-border-subtle);--bs-list-group-active-color: var(--bs-dark-bg-subtle);--bs-list-group-active-bg: var(--bs-dark-text-emphasis);--bs-list-group-active-border-color: var(--bs-dark-text-emphasis)}.btn-close{--bs-btn-close-color: #000;--bs-btn-close-bg: url(${H});--bs-btn-close-opacity: 0.5;--bs-btn-close-hover-opacity: 0.75;--bs-btn-close-focus-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);--bs-btn-close-focus-opacity: 1;--bs-btn-close-disabled-opacity: 0.25;--bs-btn-close-white-filter: invert(1) grayscale(100%) brightness(200%);box-sizing:content-box;width:1em;height:1em;padding:.25em .25em;color:var(--bs-btn-close-color);background:rgba(0,0,0,0) var(--bs-btn-close-bg) center/1em auto no-repeat;border:0;border-radius:.375rem;opacity:var(--bs-btn-close-opacity)}.btn-close:hover{color:var(--bs-btn-close-color);text-decoration:none;opacity:var(--bs-btn-close-hover-opacity)}.btn-close:focus{outline:0;box-shadow:var(--bs-btn-close-focus-shadow);opacity:var(--bs-btn-close-focus-opacity)}.btn-close:disabled,.btn-close.disabled{pointer-events:none;user-select:none;opacity:var(--bs-btn-close-disabled-opacity)}.btn-close-white{filter:var(--bs-btn-close-white-filter)}[data-bs-theme=dark] .btn-close{filter:var(--bs-btn-close-white-filter)}.toast{--bs-toast-zindex: 1090;--bs-toast-padding-x: 0.75rem;--bs-toast-padding-y: 0.5rem;--bs-toast-spacing: 1.5rem;--bs-toast-max-width: 350px;--bs-toast-font-size:0.875rem;--bs-toast-color: ;--bs-toast-bg: rgba(var(--bs-body-bg-rgb), 0.85);--bs-toast-border-width: var(--bs-border-width);--bs-toast-border-color: var(--bs-border-color-translucent);--bs-toast-border-radius: var(--bs-border-radius);--bs-toast-box-shadow: var(--bs-box-shadow);--bs-toast-header-color: var(--bs-secondary-color);--bs-toast-header-bg: rgba(var(--bs-body-bg-rgb), 0.85);--bs-toast-header-border-color: var(--bs-border-color-translucent);width:var(--bs-toast-max-width);max-width:100%;font-size:var(--bs-toast-font-size);color:var(--bs-toast-color);pointer-events:auto;background-color:var(--bs-toast-bg);background-clip:padding-box;border:var(--bs-toast-border-width) solid var(--bs-toast-border-color);box-shadow:var(--bs-toast-box-shadow);border-radius:var(--bs-toast-border-radius)}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{--bs-toast-zindex: 1090;position:absolute;z-index:var(--bs-toast-zindex);width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:var(--bs-toast-spacing)}.toast-header{display:flex;align-items:center;padding:var(--bs-toast-padding-y) var(--bs-toast-padding-x);color:var(--bs-toast-header-color);background-color:var(--bs-toast-header-bg);background-clip:padding-box;border-bottom:var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);border-top-left-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));border-top-right-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width))}.toast-header .btn-close{margin-right:calc(-0.5*var(--bs-toast-padding-x));margin-left:var(--bs-toast-padding-x)}.toast-body{padding:var(--bs-toast-padding-x);word-wrap:break-word}.modal{--bs-modal-zindex: 1055;--bs-modal-width: 500px;--bs-modal-padding: 1rem;--bs-modal-margin: 0.5rem;--bs-modal-color: ;--bs-modal-bg: var(--bs-body-bg);--bs-modal-border-color: var(--bs-border-color-translucent);--bs-modal-border-width: var(--bs-border-width);--bs-modal-border-radius: var(--bs-border-radius-lg);--bs-modal-box-shadow: var(--bs-box-shadow-sm);--bs-modal-inner-border-radius: calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));--bs-modal-header-padding-x: 1rem;--bs-modal-header-padding-y: 1rem;--bs-modal-header-padding: 1rem 1rem;--bs-modal-header-border-color: var(--bs-border-color);--bs-modal-header-border-width: var(--bs-border-width);--bs-modal-title-line-height: 1.5;--bs-modal-footer-gap: 0.5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color: var(--bs-border-color);--bs-modal-footer-border-width: var(--bs-border-width);position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translate(0, -50px)}@media(prefers-reduced-motion: reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin)*2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin)*2)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}.modal-backdrop{--bs-backdrop-zindex: 1050;--bs-backdrop-bg: #000;--bs-backdrop-opacity: 0.5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}.modal-header{display:flex;flex-shrink:0;align-items:center;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y)*.5) calc(var(--bs-modal-header-padding-x)*.5);margin:calc(-0.5*var(--bs-modal-header-padding-y)) calc(-0.5*var(--bs-modal-header-padding-x)) calc(-0.5*var(--bs-modal-header-padding-y)) auto}.modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}.modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}.modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap)*.5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--bs-modal-footer-gap)*.5)}@media(min-width: 576px){.modal{--bs-modal-margin: 1.75rem;--bs-modal-box-shadow: var(--bs-box-shadow)}.modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}.modal-sm{--bs-modal-width: 300px}}@media(min-width: 992px){.modal-lg,.modal-xl{--bs-modal-width: 800px}}@media(min-width: 1200px){.modal-xl{--bs-modal-width: 1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-header,.modal-fullscreen .modal-footer{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}@media(max-width: 575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-header,.modal-fullscreen-sm-down .modal-footer{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media(max-width: 767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-header,.modal-fullscreen-md-down .modal-footer{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media(max-width: 991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-header,.modal-fullscreen-lg-down .modal-footer{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media(max-width: 1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-header,.modal-fullscreen-xl-down .modal-footer{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media(max-width: 1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-header,.modal-fullscreen-xxl-down .modal-footer{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}.tooltip{--bs-tooltip-zindex: 1080;--bs-tooltip-max-width: 200px;--bs-tooltip-padding-x: 0.5rem;--bs-tooltip-padding-y: 0.25rem;--bs-tooltip-margin: ;--bs-tooltip-font-size:0.875rem;--bs-tooltip-color: var(--bs-body-bg);--bs-tooltip-bg: var(--bs-emphasis-color);--bs-tooltip-border-radius: var(--bs-border-radius);--bs-tooltip-opacity: 0.9;--bs-tooltip-arrow-width: 0.8rem;--bs-tooltip-arrow-height: 0.4rem;z-index:var(--bs-tooltip-zindex);display:block;margin:var(--bs-tooltip-margin);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-tooltip-font-size);word-wrap:break-word;opacity:0}.tooltip.show{opacity:var(--bs-tooltip-opacity)}.tooltip .tooltip-arrow{display:block;width:var(--bs-tooltip-arrow-width);height:var(--bs-tooltip-arrow-height)}.tooltip .tooltip-arrow::before{position:absolute;content:"";border-color:rgba(0,0,0,0);border-style:solid}.bs-tooltip-top .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow{bottom:calc(-1*var(--bs-tooltip-arrow-height))}.bs-tooltip-top .tooltip-arrow::before,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before{top:-1px;border-width:var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width)*.5) 0;border-top-color:var(--bs-tooltip-bg)}.bs-tooltip-end .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow{left:calc(-1*var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-end .tooltip-arrow::before,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before{right:-1px;border-width:calc(var(--bs-tooltip-arrow-width)*.5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width)*.5) 0;border-right-color:var(--bs-tooltip-bg)}.bs-tooltip-bottom .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow{top:calc(-1*var(--bs-tooltip-arrow-height))}.bs-tooltip-bottom .tooltip-arrow::before,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before{bottom:-1px;border-width:0 calc(var(--bs-tooltip-arrow-width)*.5) var(--bs-tooltip-arrow-height);border-bottom-color:var(--bs-tooltip-bg)}.bs-tooltip-start .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow{right:calc(-1*var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-start .tooltip-arrow::before,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow::before{left:-1px;border-width:calc(var(--bs-tooltip-arrow-width)*.5) 0 calc(var(--bs-tooltip-arrow-width)*.5) var(--bs-tooltip-arrow-height);border-left-color:var(--bs-tooltip-bg)}.tooltip-inner{max-width:var(--bs-tooltip-max-width);padding:var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);color:var(--bs-tooltip-color);text-align:center;background-color:var(--bs-tooltip-bg);border-radius:var(--bs-tooltip-border-radius)}.popover{--bs-popover-zindex: 1070;--bs-popover-max-width: 276px;--bs-popover-font-size:0.875rem;--bs-popover-bg: var(--bs-body-bg);--bs-popover-border-width: var(--bs-border-width);--bs-popover-border-color: var(--bs-border-color-translucent);--bs-popover-border-radius: var(--bs-border-radius-lg);--bs-popover-inner-border-radius: calc(var(--bs-border-radius-lg) - var(--bs-border-width));--bs-popover-box-shadow: var(--bs-box-shadow);--bs-popover-header-padding-x: 1rem;--bs-popover-header-padding-y: 0.5rem;--bs-popover-header-font-size:1rem;--bs-popover-header-color: inherit;--bs-popover-header-bg: var(--bs-secondary-bg);--bs-popover-body-padding-x: 1rem;--bs-popover-body-padding-y: 1rem;--bs-popover-body-color: var(--bs-body-color);--bs-popover-arrow-width: 1rem;--bs-popover-arrow-height: 0.5rem;--bs-popover-arrow-border: var(--bs-popover-border-color);z-index:var(--bs-popover-zindex);display:block;max-width:var(--bs-popover-max-width);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-popover-font-size);word-wrap:break-word;background-color:var(--bs-popover-bg);background-clip:padding-box;border:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-radius:var(--bs-popover-border-radius)}.popover .popover-arrow{display:block;width:var(--bs-popover-arrow-width);height:var(--bs-popover-arrow-height)}.popover .popover-arrow::before,.popover .popover-arrow::after{position:absolute;display:block;content:"";border-color:rgba(0,0,0,0);border-style:solid;border-width:0}.bs-popover-top>.popover-arrow,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow{bottom:calc(-1*(var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-top>.popover-arrow::before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::before,.bs-popover-top>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::after{border-width:var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width)*.5) 0}.bs-popover-top>.popover-arrow::before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::before{bottom:0;border-top-color:var(--bs-popover-arrow-border)}.bs-popover-top>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::after{bottom:var(--bs-popover-border-width);border-top-color:var(--bs-popover-bg)}.bs-popover-end>.popover-arrow,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow{left:calc(-1*(var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-end>.popover-arrow::before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::before,.bs-popover-end>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::after{border-width:calc(var(--bs-popover-arrow-width)*.5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width)*.5) 0}.bs-popover-end>.popover-arrow::before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::before{left:0;border-right-color:var(--bs-popover-arrow-border)}.bs-popover-end>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::after{left:var(--bs-popover-border-width);border-right-color:var(--bs-popover-bg)}.bs-popover-bottom>.popover-arrow,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow{top:calc(-1*(var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-bottom>.popover-arrow::before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::before,.bs-popover-bottom>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::after{border-width:0 calc(var(--bs-popover-arrow-width)*.5) var(--bs-popover-arrow-height)}.bs-popover-bottom>.popover-arrow::before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::before{top:0;border-bottom-color:var(--bs-popover-arrow-border)}.bs-popover-bottom>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::after{top:var(--bs-popover-border-width);border-bottom-color:var(--bs-popover-bg)}.bs-popover-bottom .popover-header::before,.bs-popover-auto[data-popper-placement^=bottom] .popover-header::before{position:absolute;top:0;left:50%;display:block;width:var(--bs-popover-arrow-width);margin-left:calc(-0.5*var(--bs-popover-arrow-width));content:"";border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-header-bg)}.bs-popover-start>.popover-arrow,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow{right:calc(-1*(var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-start>.popover-arrow::before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::before,.bs-popover-start>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::after{border-width:calc(var(--bs-popover-arrow-width)*.5) 0 calc(var(--bs-popover-arrow-width)*.5) var(--bs-popover-arrow-height)}.bs-popover-start>.popover-arrow::before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::before{right:0;border-left-color:var(--bs-popover-arrow-border)}.bs-popover-start>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::after{right:var(--bs-popover-border-width);border-left-color:var(--bs-popover-bg)}.popover-header{padding:var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);margin-bottom:0;font-size:var(--bs-popover-header-font-size);color:var(--bs-popover-header-color);background-color:var(--bs-popover-header-bg);border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-top-left-radius:var(--bs-popover-inner-border-radius);border-top-right-radius:var(--bs-popover-inner-border-radius)}.popover-header:empty{display:none}.popover-body{padding:var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);color:var(--bs-popover-body-color)}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner::after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;backface-visibility:hidden;transition:transform .6s ease-in-out}@media(prefers-reduced-motion: reduce){.carousel-item{transition:none}}.carousel-item.active,.carousel-item-next,.carousel-item-prev{display:block}.carousel-item-next:not(.carousel-item-start),.active.carousel-item-end{transform:translateX(100%)}.carousel-item-prev:not(.carousel-item-end),.active.carousel-item-start{transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item.active,.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end{z-index:1;opacity:1}.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{z-index:0;opacity:0;transition:opacity 0s .6s}@media(prefers-reduced-motion: reduce){.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{transition:none}}.carousel-control-prev,.carousel-control-next{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:none;border:0;opacity:.5;transition:opacity .15s ease}@media(prefers-reduced-motion: reduce){.carousel-control-prev,.carousel-control-next{transition:none}}.carousel-control-prev:hover,.carousel-control-prev:focus,.carousel-control-next:hover,.carousel-control-next:focus{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-prev-icon,.carousel-control-next-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url(${G}) /*rtl:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")*/}.carousel-control-next-icon{background-image:url(${K}) /*rtl:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")*/}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid rgba(0,0,0,0);border-bottom:10px solid rgba(0,0,0,0);opacity:.5;transition:opacity .6s ease}@media(prefers-reduced-motion: reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-prev-icon,.carousel-dark .carousel-control-next-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}[data-bs-theme=dark] .carousel .carousel-control-prev-icon,[data-bs-theme=dark] .carousel .carousel-control-next-icon,[data-bs-theme=dark].carousel .carousel-control-prev-icon,[data-bs-theme=dark].carousel .carousel-control-next-icon{filter:invert(1) grayscale(100)}[data-bs-theme=dark] .carousel .carousel-indicators [data-bs-target],[data-bs-theme=dark].carousel .carousel-indicators [data-bs-target]{background-color:#000}[data-bs-theme=dark] .carousel .carousel-caption,[data-bs-theme=dark].carousel .carousel-caption{color:#000}.spinner-grow,.spinner-border{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg) /* rtl:ignore */}}.spinner-border{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -0.125em;--bs-spinner-border-width: 0.25em;--bs-spinner-animation-speed: 0.75s;--bs-spinner-animation-name: spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:rgba(0,0,0,0)}.spinner-border-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem;--bs-spinner-border-width: 0.2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -0.125em;--bs-spinner-animation-speed: 0.75s;--bs-spinner-animation-name: spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem}@media(prefers-reduced-motion: reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed: 1.5s}}.offcanvas,.offcanvas-xxl,.offcanvas-xl,.offcanvas-lg,.offcanvas-md,.offcanvas-sm{--bs-offcanvas-zindex: 1045;--bs-offcanvas-width: 400px;--bs-offcanvas-height: 30vh;--bs-offcanvas-padding-x: 1rem;--bs-offcanvas-padding-y: 1rem;--bs-offcanvas-color: var(--bs-body-color);--bs-offcanvas-bg: var(--bs-body-bg);--bs-offcanvas-border-width: var(--bs-border-width);--bs-offcanvas-border-color: var(--bs-border-color-translucent);--bs-offcanvas-box-shadow: var(--bs-box-shadow-sm);--bs-offcanvas-transition: transform 0.3s ease-in-out;--bs-offcanvas-title-line-height: 1.5}@media(max-width: 575.98px){.offcanvas-sm{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width: 575.98px)and (prefers-reduced-motion: reduce){.offcanvas-sm{transition:none}}@media(max-width: 575.98px){.offcanvas-sm.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-sm.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-sm.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-sm.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-sm.showing,.offcanvas-sm.show:not(.hiding){transform:none}.offcanvas-sm.showing,.offcanvas-sm.hiding,.offcanvas-sm.show{visibility:visible}}@media(min-width: 576px){.offcanvas-sm{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:rgba(0,0,0,0) !important}.offcanvas-sm .offcanvas-header{display:none}.offcanvas-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:rgba(0,0,0,0) !important}}@media(max-width: 767.98px){.offcanvas-md{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width: 767.98px)and (prefers-reduced-motion: reduce){.offcanvas-md{transition:none}}@media(max-width: 767.98px){.offcanvas-md.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-md.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-md.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-md.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-md.showing,.offcanvas-md.show:not(.hiding){transform:none}.offcanvas-md.showing,.offcanvas-md.hiding,.offcanvas-md.show{visibility:visible}}@media(min-width: 768px){.offcanvas-md{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:rgba(0,0,0,0) !important}.offcanvas-md .offcanvas-header{display:none}.offcanvas-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:rgba(0,0,0,0) !important}}@media(max-width: 991.98px){.offcanvas-lg{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width: 991.98px)and (prefers-reduced-motion: reduce){.offcanvas-lg{transition:none}}@media(max-width: 991.98px){.offcanvas-lg.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-lg.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-lg.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-lg.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-lg.showing,.offcanvas-lg.show:not(.hiding){transform:none}.offcanvas-lg.showing,.offcanvas-lg.hiding,.offcanvas-lg.show{visibility:visible}}@media(min-width: 992px){.offcanvas-lg{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:rgba(0,0,0,0) !important}.offcanvas-lg .offcanvas-header{display:none}.offcanvas-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:rgba(0,0,0,0) !important}}@media(max-width: 1199.98px){.offcanvas-xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width: 1199.98px)and (prefers-reduced-motion: reduce){.offcanvas-xl{transition:none}}@media(max-width: 1199.98px){.offcanvas-xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-xl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xl.showing,.offcanvas-xl.show:not(.hiding){transform:none}.offcanvas-xl.showing,.offcanvas-xl.hiding,.offcanvas-xl.show{visibility:visible}}@media(min-width: 1200px){.offcanvas-xl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:rgba(0,0,0,0) !important}.offcanvas-xl .offcanvas-header{display:none}.offcanvas-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:rgba(0,0,0,0) !important}}@media(max-width: 1399.98px){.offcanvas-xxl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width: 1399.98px)and (prefers-reduced-motion: reduce){.offcanvas-xxl{transition:none}}@media(max-width: 1399.98px){.offcanvas-xxl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-xxl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-xxl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xxl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xxl.showing,.offcanvas-xxl.show:not(.hiding){transform:none}.offcanvas-xxl.showing,.offcanvas-xxl.hiding,.offcanvas-xxl.show{visibility:visible}}@media(min-width: 1400px){.offcanvas-xxl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:rgba(0,0,0,0) !important}.offcanvas-xxl .offcanvas-header{display:none}.offcanvas-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:rgba(0,0,0,0) !important}}.offcanvas{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}@media(prefers-reduced-motion: reduce){.offcanvas{transition:none}}.offcanvas.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas.showing,.offcanvas.show:not(.hiding){transform:none}.offcanvas.showing,.offcanvas.hiding,.offcanvas.show{visibility:visible}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x)}.offcanvas-header .btn-close{padding:calc(var(--bs-offcanvas-padding-y)*.5) calc(var(--bs-offcanvas-padding-x)*.5);margin:calc(-0.5*var(--bs-offcanvas-padding-y)) calc(-0.5*var(--bs-offcanvas-padding-x)) calc(-0.5*var(--bs-offcanvas-padding-y)) auto}.offcanvas-title{margin-bottom:0;line-height:var(--bs-offcanvas-title-line-height)}.offcanvas-body{flex-grow:1;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);overflow-y:auto}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn::before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{mask-image:linear-gradient(130deg, #000 55%, rgba(0, 0, 0, 0.8) 75%, #000 95%);mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{100%{mask-position:-200% 0%}}.clearfix::after{display:block;clear:both;content:""}.text-bg-primary{color:#fff !important;background-color:RGBA(var(--bs-primary-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-secondary{color:#fff !important;background-color:RGBA(var(--bs-secondary-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-success{color:#fff !important;background-color:RGBA(var(--bs-success-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-info{color:#000 !important;background-color:RGBA(var(--bs-info-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-warning{color:#000 !important;background-color:RGBA(var(--bs-warning-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-danger{color:#fff !important;background-color:RGBA(var(--bs-danger-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-light{color:#000 !important;background-color:RGBA(var(--bs-light-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-dark{color:#fff !important;background-color:RGBA(var(--bs-dark-rgb), var(--bs-bg-opacity, 1)) !important}.link-primary{color:RGBA(var(--bs-primary-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-primary-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-primary:hover,.link-primary:focus{color:RGBA(10, 88, 202, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(10, 88, 202, var(--bs-link-underline-opacity, 1)) !important}.link-secondary{color:RGBA(var(--bs-secondary-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-secondary-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-secondary:hover,.link-secondary:focus{color:RGBA(86, 94, 100, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(86, 94, 100, var(--bs-link-underline-opacity, 1)) !important}.link-success{color:RGBA(var(--bs-success-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-success-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-success:hover,.link-success:focus{color:RGBA(20, 108, 67, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(20, 108, 67, var(--bs-link-underline-opacity, 1)) !important}.link-info{color:RGBA(var(--bs-info-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-info-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-info:hover,.link-info:focus{color:RGBA(61, 213, 243, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(61, 213, 243, var(--bs-link-underline-opacity, 1)) !important}.link-warning{color:RGBA(var(--bs-warning-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-warning-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-warning:hover,.link-warning:focus{color:RGBA(255, 205, 57, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(255, 205, 57, var(--bs-link-underline-opacity, 1)) !important}.link-danger{color:RGBA(var(--bs-danger-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-danger-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-danger:hover,.link-danger:focus{color:RGBA(176, 42, 55, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(176, 42, 55, var(--bs-link-underline-opacity, 1)) !important}.link-light{color:RGBA(var(--bs-light-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-light-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-light:hover,.link-light:focus{color:RGBA(249, 250, 251, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(249, 250, 251, var(--bs-link-underline-opacity, 1)) !important}.link-dark{color:RGBA(var(--bs-dark-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-dark-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-dark:hover,.link-dark:focus{color:RGBA(26, 30, 33, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(26, 30, 33, var(--bs-link-underline-opacity, 1)) !important}.link-body-emphasis{color:RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-body-emphasis:hover,.link-body-emphasis:focus{color:RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-opacity, 0.75)) !important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-underline-opacity, 0.75)) !important}.focus-ring:focus{outline:0;box-shadow:var(--bs-focus-ring-x, 0) var(--bs-focus-ring-y, 0) var(--bs-focus-ring-blur, 0) var(--bs-focus-ring-width) var(--bs-focus-ring-color)}.icon-link{display:inline-flex;gap:.375rem;align-items:center;text-decoration-color:rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 0.5));text-underline-offset:.25em;backface-visibility:hidden}.icon-link>.bi{flex-shrink:0;width:1em;height:1em;fill:currentcolor;transition:.2s ease-in-out transform}@media(prefers-reduced-motion: reduce){.icon-link>.bi{transition:none}}.icon-link-hover:hover>.bi,.icon-link-hover:focus-visible>.bi{transform:var(--bs-icon-link-transform, translate3d(0.25em, 0, 0))}.ratio{position:relative;width:100%}.ratio::before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio: 100%}.ratio-4x3{--bs-aspect-ratio: 75%}.ratio-16x9{--bs-aspect-ratio: 56.25%}.ratio-21x9{--bs-aspect-ratio: 42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:sticky;top:0;z-index:1020}.sticky-bottom{position:sticky;bottom:0;z-index:1020}@media(min-width: 576px){.sticky-sm-top{position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:sticky;bottom:0;z-index:1020}}@media(min-width: 768px){.sticky-md-top{position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:sticky;bottom:0;z-index:1020}}@media(min-width: 992px){.sticky-lg-top{position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:sticky;bottom:0;z-index:1020}}@media(min-width: 1200px){.sticky-xl-top{position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:sticky;bottom:0;z-index:1020}}@media(min-width: 1400px){.sticky-xxl-top{position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{position:sticky;bottom:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border:0 !important}.visually-hidden:not(caption),.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption){position:absolute !important}.stretched-link::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:var(--bs-border-width);min-height:1em;background-color:currentcolor;opacity:.25}.align-baseline{vertical-align:baseline !important}.align-top{vertical-align:top !important}.align-middle{vertical-align:middle !important}.align-bottom{vertical-align:bottom !important}.align-text-bottom{vertical-align:text-bottom !important}.align-text-top{vertical-align:text-top !important}.float-start{float:left !important}.float-end{float:right !important}.float-none{float:none !important}.object-fit-contain{object-fit:contain !important}.object-fit-cover{object-fit:cover !important}.object-fit-fill{object-fit:fill !important}.object-fit-scale{object-fit:scale-down !important}.object-fit-none{object-fit:none !important}.opacity-0{opacity:0 !important}.opacity-25{opacity:.25 !important}.opacity-50{opacity:.5 !important}.opacity-75{opacity:.75 !important}.opacity-100{opacity:1 !important}.overflow-auto{overflow:auto !important}.overflow-hidden{overflow:hidden !important}.overflow-visible{overflow:visible !important}.overflow-scroll{overflow:scroll !important}.overflow-x-auto{overflow-x:auto !important}.overflow-x-hidden{overflow-x:hidden !important}.overflow-x-visible{overflow-x:visible !important}.overflow-x-scroll{overflow-x:scroll !important}.overflow-y-auto{overflow-y:auto !important}.overflow-y-hidden{overflow-y:hidden !important}.overflow-y-visible{overflow-y:visible !important}.overflow-y-scroll{overflow-y:scroll !important}.d-inline{display:inline !important}.d-inline-block{display:inline-block !important}.d-block{display:block !important}.d-grid{display:grid !important}.d-inline-grid{display:inline-grid !important}.d-table{display:table !important}.d-table-row{display:table-row !important}.d-table-cell{display:table-cell !important}.d-flex{display:flex !important}.d-inline-flex{display:inline-flex !important}.d-none{display:none !important}.shadow{box-shadow:var(--bs-box-shadow) !important}.shadow-sm{box-shadow:var(--bs-box-shadow-sm) !important}.shadow-lg{box-shadow:var(--bs-box-shadow-lg) !important}.shadow-none{box-shadow:none !important}.focus-ring-primary{--bs-focus-ring-color: rgba(var(--bs-primary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-secondary{--bs-focus-ring-color: rgba(var(--bs-secondary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-success{--bs-focus-ring-color: rgba(var(--bs-success-rgb), var(--bs-focus-ring-opacity))}.focus-ring-info{--bs-focus-ring-color: rgba(var(--bs-info-rgb), var(--bs-focus-ring-opacity))}.focus-ring-warning{--bs-focus-ring-color: rgba(var(--bs-warning-rgb), var(--bs-focus-ring-opacity))}.focus-ring-danger{--bs-focus-ring-color: rgba(var(--bs-danger-rgb), var(--bs-focus-ring-opacity))}.focus-ring-light{--bs-focus-ring-color: rgba(var(--bs-light-rgb), var(--bs-focus-ring-opacity))}.focus-ring-dark{--bs-focus-ring-color: rgba(var(--bs-dark-rgb), var(--bs-focus-ring-opacity))}.position-static{position:static !important}.position-relative{position:relative !important}.position-absolute{position:absolute !important}.position-fixed{position:fixed !important}.position-sticky{position:sticky !important}.top-0{top:0 !important}.top-50{top:50% !important}.top-100{top:100% !important}.bottom-0{bottom:0 !important}.bottom-50{bottom:50% !important}.bottom-100{bottom:100% !important}.start-0{left:0 !important}.start-50{left:50% !important}.start-100{left:100% !important}.end-0{right:0 !important}.end-50{right:50% !important}.end-100{right:100% !important}.translate-middle{transform:translate(-50%, -50%) !important}.translate-middle-x{transform:translateX(-50%) !important}.translate-middle-y{transform:translateY(-50%) !important}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important}.border-0{border:0 !important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important}.border-top-0{border-top:0 !important}.border-end{border-right:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important}.border-end-0{border-right:0 !important}.border-bottom{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important}.border-bottom-0{border-bottom:0 !important}.border-start{border-left:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important}.border-start-0{border-left:0 !important}.border-primary{--bs-border-opacity: 1;border-color:rgba(var(--bs-primary-rgb), var(--bs-border-opacity)) !important}.border-secondary{--bs-border-opacity: 1;border-color:rgba(var(--bs-secondary-rgb), var(--bs-border-opacity)) !important}.border-success{--bs-border-opacity: 1;border-color:rgba(var(--bs-success-rgb), var(--bs-border-opacity)) !important}.border-info{--bs-border-opacity: 1;border-color:rgba(var(--bs-info-rgb), var(--bs-border-opacity)) !important}.border-warning{--bs-border-opacity: 1;border-color:rgba(var(--bs-warning-rgb), var(--bs-border-opacity)) !important}.border-danger{--bs-border-opacity: 1;border-color:rgba(var(--bs-danger-rgb), var(--bs-border-opacity)) !important}.border-light{--bs-border-opacity: 1;border-color:rgba(var(--bs-light-rgb), var(--bs-border-opacity)) !important}.border-dark{--bs-border-opacity: 1;border-color:rgba(var(--bs-dark-rgb), var(--bs-border-opacity)) !important}.border-black{--bs-border-opacity: 1;border-color:rgba(var(--bs-black-rgb), var(--bs-border-opacity)) !important}.border-white{--bs-border-opacity: 1;border-color:rgba(var(--bs-white-rgb), var(--bs-border-opacity)) !important}.border-primary-subtle{border-color:var(--bs-primary-border-subtle) !important}.border-secondary-subtle{border-color:var(--bs-secondary-border-subtle) !important}.border-success-subtle{border-color:var(--bs-success-border-subtle) !important}.border-info-subtle{border-color:var(--bs-info-border-subtle) !important}.border-warning-subtle{border-color:var(--bs-warning-border-subtle) !important}.border-danger-subtle{border-color:var(--bs-danger-border-subtle) !important}.border-light-subtle{border-color:var(--bs-light-border-subtle) !important}.border-dark-subtle{border-color:var(--bs-dark-border-subtle) !important}.border-1{border-width:1px !important}.border-2{border-width:2px !important}.border-3{border-width:3px !important}.border-4{border-width:4px !important}.border-5{border-width:5px !important}.border-opacity-10{--bs-border-opacity: 0.1}.border-opacity-25{--bs-border-opacity: 0.25}.border-opacity-50{--bs-border-opacity: 0.5}.border-opacity-75{--bs-border-opacity: 0.75}.border-opacity-100{--bs-border-opacity: 1}.w-25{width:25% !important}.w-50{width:50% !important}.w-75{width:75% !important}.w-100{width:100% !important}.w-auto{width:auto !important}.mw-100{max-width:100% !important}.vw-100{width:100vw !important}.min-vw-100{min-width:100vw !important}.h-25{height:25% !important}.h-50{height:50% !important}.h-75{height:75% !important}.h-100{height:100% !important}.h-auto{height:auto !important}.mh-100{max-height:100% !important}.vh-100{height:100vh !important}.min-vh-100{min-height:100vh !important}.flex-fill{flex:1 1 auto !important}.flex-row{flex-direction:row !important}.flex-column{flex-direction:column !important}.flex-row-reverse{flex-direction:row-reverse !important}.flex-column-reverse{flex-direction:column-reverse !important}.flex-grow-0{flex-grow:0 !important}.flex-grow-1{flex-grow:1 !important}.flex-shrink-0{flex-shrink:0 !important}.flex-shrink-1{flex-shrink:1 !important}.flex-wrap{flex-wrap:wrap !important}.flex-nowrap{flex-wrap:nowrap !important}.flex-wrap-reverse{flex-wrap:wrap-reverse !important}.justify-content-start{justify-content:flex-start !important}.justify-content-end{justify-content:flex-end !important}.justify-content-center{justify-content:center !important}.justify-content-between{justify-content:space-between !important}.justify-content-around{justify-content:space-around !important}.justify-content-evenly{justify-content:space-evenly !important}.align-items-start{align-items:flex-start !important}.align-items-end{align-items:flex-end !important}.align-items-center{align-items:center !important}.align-items-baseline{align-items:baseline !important}.align-items-stretch{align-items:stretch !important}.align-content-start{align-content:flex-start !important}.align-content-end{align-content:flex-end !important}.align-content-center{align-content:center !important}.align-content-between{align-content:space-between !important}.align-content-around{align-content:space-around !important}.align-content-stretch{align-content:stretch !important}.align-self-auto{align-self:auto !important}.align-self-start{align-self:flex-start !important}.align-self-end{align-self:flex-end !important}.align-self-center{align-self:center !important}.align-self-baseline{align-self:baseline !important}.align-self-stretch{align-self:stretch !important}.order-first{order:-1 !important}.order-0{order:0 !important}.order-1{order:1 !important}.order-2{order:2 !important}.order-3{order:3 !important}.order-4{order:4 !important}.order-5{order:5 !important}.order-last{order:6 !important}.m-0{margin:0 !important}.m-1{margin:.25rem !important}.m-2{margin:.5rem !important}.m-3{margin:1rem !important}.m-4{margin:1.5rem !important}.m-5{margin:3rem !important}.m-auto{margin:auto !important}.mx-0{margin-right:0 !important;margin-left:0 !important}.mx-1{margin-right:.25rem !important;margin-left:.25rem !important}.mx-2{margin-right:.5rem !important;margin-left:.5rem !important}.mx-3{margin-right:1rem !important;margin-left:1rem !important}.mx-4{margin-right:1.5rem !important;margin-left:1.5rem !important}.mx-5{margin-right:3rem !important;margin-left:3rem !important}.mx-auto{margin-right:auto !important;margin-left:auto !important}.my-0{margin-top:0 !important;margin-bottom:0 !important}.my-1{margin-top:.25rem !important;margin-bottom:.25rem !important}.my-2{margin-top:.5rem !important;margin-bottom:.5rem !important}.my-3{margin-top:1rem !important;margin-bottom:1rem !important}.my-4{margin-top:1.5rem !important;margin-bottom:1.5rem !important}.my-5{margin-top:3rem !important;margin-bottom:3rem !important}.my-auto{margin-top:auto !important;margin-bottom:auto !important}.mt-0{margin-top:0 !important}.mt-1{margin-top:.25rem !important}.mt-2{margin-top:.5rem !important}.mt-3{margin-top:1rem !important}.mt-4{margin-top:1.5rem !important}.mt-5{margin-top:3rem !important}.mt-auto{margin-top:auto !important}.me-0{margin-right:0 !important}.me-1{margin-right:.25rem !important}.me-2{margin-right:.5rem !important}.me-3{margin-right:1rem !important}.me-4{margin-right:1.5rem !important}.me-5{margin-right:3rem !important}.me-auto{margin-right:auto !important}.mb-0{margin-bottom:0 !important}.mb-1{margin-bottom:.25rem !important}.mb-2{margin-bottom:.5rem !important}.mb-3{margin-bottom:1rem !important}.mb-4{margin-bottom:1.5rem !important}.mb-5{margin-bottom:3rem !important}.mb-auto{margin-bottom:auto !important}.ms-0{margin-left:0 !important}.ms-1{margin-left:.25rem !important}.ms-2{margin-left:.5rem !important}.ms-3{margin-left:1rem !important}.ms-4{margin-left:1.5rem !important}.ms-5{margin-left:3rem !important}.ms-auto{margin-left:auto !important}.p-0{padding:0 !important}.p-1{padding:.25rem !important}.p-2{padding:.5rem !important}.p-3{padding:1rem !important}.p-4{padding:1.5rem !important}.p-5{padding:3rem !important}.px-0{padding-right:0 !important;padding-left:0 !important}.px-1{padding-right:.25rem !important;padding-left:.25rem !important}.px-2{padding-right:.5rem !important;padding-left:.5rem !important}.px-3{padding-right:1rem !important;padding-left:1rem !important}.px-4{padding-right:1.5rem !important;padding-left:1.5rem !important}.px-5{padding-right:3rem !important;padding-left:3rem !important}.py-0{padding-top:0 !important;padding-bottom:0 !important}.py-1{padding-top:.25rem !important;padding-bottom:.25rem !important}.py-2{padding-top:.5rem !important;padding-bottom:.5rem !important}.py-3{padding-top:1rem !important;padding-bottom:1rem !important}.py-4{padding-top:1.5rem !important;padding-bottom:1.5rem !important}.py-5{padding-top:3rem !important;padding-bottom:3rem !important}.pt-0{padding-top:0 !important}.pt-1{padding-top:.25rem !important}.pt-2{padding-top:.5rem !important}.pt-3{padding-top:1rem !important}.pt-4{padding-top:1.5rem !important}.pt-5{padding-top:3rem !important}.pe-0{padding-right:0 !important}.pe-1{padding-right:.25rem !important}.pe-2{padding-right:.5rem !important}.pe-3{padding-right:1rem !important}.pe-4{padding-right:1.5rem !important}.pe-5{padding-right:3rem !important}.pb-0{padding-bottom:0 !important}.pb-1{padding-bottom:.25rem !important}.pb-2{padding-bottom:.5rem !important}.pb-3{padding-bottom:1rem !important}.pb-4{padding-bottom:1.5rem !important}.pb-5{padding-bottom:3rem !important}.ps-0{padding-left:0 !important}.ps-1{padding-left:.25rem !important}.ps-2{padding-left:.5rem !important}.ps-3{padding-left:1rem !important}.ps-4{padding-left:1.5rem !important}.ps-5{padding-left:3rem !important}.gap-0{gap:0 !important}.gap-1{gap:.25rem !important}.gap-2{gap:.5rem !important}.gap-3{gap:1rem !important}.gap-4{gap:1.5rem !important}.gap-5{gap:3rem !important}.row-gap-0{row-gap:0 !important}.row-gap-1{row-gap:.25rem !important}.row-gap-2{row-gap:.5rem !important}.row-gap-3{row-gap:1rem !important}.row-gap-4{row-gap:1.5rem !important}.row-gap-5{row-gap:3rem !important}.column-gap-0{column-gap:0 !important}.column-gap-1{column-gap:.25rem !important}.column-gap-2{column-gap:.5rem !important}.column-gap-3{column-gap:1rem !important}.column-gap-4{column-gap:1.5rem !important}.column-gap-5{column-gap:3rem !important}.font-monospace{font-family:var(--bs-font-monospace) !important}.fs-1{font-size:calc(1.375rem + 1.5vw) !important}.fs-2{font-size:calc(1.325rem + 0.9vw) !important}.fs-3{font-size:calc(1.3rem + 0.6vw) !important}.fs-4{font-size:calc(1.275rem + 0.3vw) !important}.fs-5{font-size:1.25rem !important}.fs-6{font-size:1rem !important}.fst-italic{font-style:italic !important}.fst-normal{font-style:normal !important}.fw-lighter{font-weight:lighter !important}.fw-light{font-weight:300 !important}.fw-normal{font-weight:400 !important}.fw-medium{font-weight:500 !important}.fw-semibold{font-weight:600 !important}.fw-bold{font-weight:700 !important}.fw-bolder{font-weight:bolder !important}.lh-1{line-height:1 !important}.lh-sm{line-height:1.25 !important}.lh-base{line-height:1.5 !important}.lh-lg{line-height:2 !important}.text-start{text-align:left !important}.text-end{text-align:right !important}.text-center{text-align:center !important}.text-decoration-none{text-decoration:none !important}.text-decoration-underline{text-decoration:underline !important}.text-decoration-line-through{text-decoration:line-through !important}.text-lowercase{text-transform:lowercase !important}.text-uppercase{text-transform:uppercase !important}.text-capitalize{text-transform:capitalize !important}.text-wrap{white-space:normal !important}.text-nowrap{white-space:nowrap !important}.text-break{word-wrap:break-word !important;word-break:break-word !important}.text-primary{--bs-text-opacity: 1;color:rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important}.text-secondary{--bs-text-opacity: 1;color:rgba(var(--bs-secondary-rgb), var(--bs-text-opacity)) !important}.text-success{--bs-text-opacity: 1;color:rgba(var(--bs-success-rgb), var(--bs-text-opacity)) !important}.text-info{--bs-text-opacity: 1;color:rgba(var(--bs-info-rgb), var(--bs-text-opacity)) !important}.text-warning{--bs-text-opacity: 1;color:rgba(var(--bs-warning-rgb), var(--bs-text-opacity)) !important}.text-danger{--bs-text-opacity: 1;color:rgba(var(--bs-danger-rgb), var(--bs-text-opacity)) !important}.text-light{--bs-text-opacity: 1;color:rgba(var(--bs-light-rgb), var(--bs-text-opacity)) !important}.text-dark{--bs-text-opacity: 1;color:rgba(var(--bs-dark-rgb), var(--bs-text-opacity)) !important}.text-black{--bs-text-opacity: 1;color:rgba(var(--bs-black-rgb), var(--bs-text-opacity)) !important}.text-white{--bs-text-opacity: 1;color:rgba(var(--bs-white-rgb), var(--bs-text-opacity)) !important}.text-body{--bs-text-opacity: 1;color:rgba(var(--bs-body-color-rgb), var(--bs-text-opacity)) !important}.text-muted{--bs-text-opacity: 1;color:var(--bs-secondary-color) !important}.text-black-50{--bs-text-opacity: 1;color:rgba(0,0,0,.5) !important}.text-white-50{--bs-text-opacity: 1;color:hsla(0,0%,100%,.5) !important}.text-body-secondary{--bs-text-opacity: 1;color:var(--bs-secondary-color) !important}.text-body-tertiary{--bs-text-opacity: 1;color:var(--bs-tertiary-color) !important}.text-body-emphasis{--bs-text-opacity: 1;color:var(--bs-emphasis-color) !important}.text-reset{--bs-text-opacity: 1;color:inherit !important}.text-opacity-25{--bs-text-opacity: 0.25}.text-opacity-50{--bs-text-opacity: 0.5}.text-opacity-75{--bs-text-opacity: 0.75}.text-opacity-100{--bs-text-opacity: 1}.text-primary-emphasis{color:var(--bs-primary-text-emphasis) !important}.text-secondary-emphasis{color:var(--bs-secondary-text-emphasis) !important}.text-success-emphasis{color:var(--bs-success-text-emphasis) !important}.text-info-emphasis{color:var(--bs-info-text-emphasis) !important}.text-warning-emphasis{color:var(--bs-warning-text-emphasis) !important}.text-danger-emphasis{color:var(--bs-danger-text-emphasis) !important}.text-light-emphasis{color:var(--bs-light-text-emphasis) !important}.text-dark-emphasis{color:var(--bs-dark-text-emphasis) !important}.link-opacity-10{--bs-link-opacity: 0.1}.link-opacity-10-hover:hover{--bs-link-opacity: 0.1}.link-opacity-25{--bs-link-opacity: 0.25}.link-opacity-25-hover:hover{--bs-link-opacity: 0.25}.link-opacity-50{--bs-link-opacity: 0.5}.link-opacity-50-hover:hover{--bs-link-opacity: 0.5}.link-opacity-75{--bs-link-opacity: 0.75}.link-opacity-75-hover:hover{--bs-link-opacity: 0.75}.link-opacity-100{--bs-link-opacity: 1}.link-opacity-100-hover:hover{--bs-link-opacity: 1}.link-offset-1{text-underline-offset:.125em !important}.link-offset-1-hover:hover{text-underline-offset:.125em !important}.link-offset-2{text-underline-offset:.25em !important}.link-offset-2-hover:hover{text-underline-offset:.25em !important}.link-offset-3{text-underline-offset:.375em !important}.link-offset-3-hover:hover{text-underline-offset:.375em !important}.link-underline-primary{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-primary-rgb), var(--bs-link-underline-opacity)) !important}.link-underline-secondary{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-secondary-rgb), var(--bs-link-underline-opacity)) !important}.link-underline-success{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-success-rgb), var(--bs-link-underline-opacity)) !important}.link-underline-info{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-info-rgb), var(--bs-link-underline-opacity)) !important}.link-underline-warning{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-warning-rgb), var(--bs-link-underline-opacity)) !important}.link-underline-danger{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-danger-rgb), var(--bs-link-underline-opacity)) !important}.link-underline-light{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-light-rgb), var(--bs-link-underline-opacity)) !important}.link-underline-dark{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-dark-rgb), var(--bs-link-underline-opacity)) !important}.link-underline{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-link-color-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-underline-opacity-0{--bs-link-underline-opacity: 0}.link-underline-opacity-0-hover:hover{--bs-link-underline-opacity: 0}.link-underline-opacity-10{--bs-link-underline-opacity: 0.1}.link-underline-opacity-10-hover:hover{--bs-link-underline-opacity: 0.1}.link-underline-opacity-25{--bs-link-underline-opacity: 0.25}.link-underline-opacity-25-hover:hover{--bs-link-underline-opacity: 0.25}.link-underline-opacity-50{--bs-link-underline-opacity: 0.5}.link-underline-opacity-50-hover:hover{--bs-link-underline-opacity: 0.5}.link-underline-opacity-75{--bs-link-underline-opacity: 0.75}.link-underline-opacity-75-hover:hover{--bs-link-underline-opacity: 0.75}.link-underline-opacity-100{--bs-link-underline-opacity: 1}.link-underline-opacity-100-hover:hover{--bs-link-underline-opacity: 1}.bg-primary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-primary-rgb), var(--bs-bg-opacity)) !important}.bg-secondary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-secondary-rgb), var(--bs-bg-opacity)) !important}.bg-success{--bs-bg-opacity: 1;background-color:rgba(var(--bs-success-rgb), var(--bs-bg-opacity)) !important}.bg-info{--bs-bg-opacity: 1;background-color:rgba(var(--bs-info-rgb), var(--bs-bg-opacity)) !important}.bg-warning{--bs-bg-opacity: 1;background-color:rgba(var(--bs-warning-rgb), var(--bs-bg-opacity)) !important}.bg-danger{--bs-bg-opacity: 1;background-color:rgba(var(--bs-danger-rgb), var(--bs-bg-opacity)) !important}.bg-light{--bs-bg-opacity: 1;background-color:rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important}.bg-dark{--bs-bg-opacity: 1;background-color:rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important}.bg-black{--bs-bg-opacity: 1;background-color:rgba(var(--bs-black-rgb), var(--bs-bg-opacity)) !important}.bg-white{--bs-bg-opacity: 1;background-color:rgba(var(--bs-white-rgb), var(--bs-bg-opacity)) !important}.bg-body{--bs-bg-opacity: 1;background-color:rgba(var(--bs-body-bg-rgb), var(--bs-bg-opacity)) !important}.bg-transparent{--bs-bg-opacity: 1;background-color:rgba(0,0,0,0) !important}.bg-body-secondary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-secondary-bg-rgb), var(--bs-bg-opacity)) !important}.bg-body-tertiary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-tertiary-bg-rgb), var(--bs-bg-opacity)) !important}.bg-opacity-10{--bs-bg-opacity: 0.1}.bg-opacity-25{--bs-bg-opacity: 0.25}.bg-opacity-50{--bs-bg-opacity: 0.5}.bg-opacity-75{--bs-bg-opacity: 0.75}.bg-opacity-100{--bs-bg-opacity: 1}.bg-primary-subtle{background-color:var(--bs-primary-bg-subtle) !important}.bg-secondary-subtle{background-color:var(--bs-secondary-bg-subtle) !important}.bg-success-subtle{background-color:var(--bs-success-bg-subtle) !important}.bg-info-subtle{background-color:var(--bs-info-bg-subtle) !important}.bg-warning-subtle{background-color:var(--bs-warning-bg-subtle) !important}.bg-danger-subtle{background-color:var(--bs-danger-bg-subtle) !important}.bg-light-subtle{background-color:var(--bs-light-bg-subtle) !important}.bg-dark-subtle{background-color:var(--bs-dark-bg-subtle) !important}.bg-gradient{background-image:var(--bs-gradient) !important}.user-select-all{user-select:all !important}.user-select-auto{user-select:auto !important}.user-select-none{user-select:none !important}.pe-none{pointer-events:none !important}.pe-auto{pointer-events:auto !important}.rounded{border-radius:var(--bs-border-radius) !important}.rounded-0{border-radius:0 !important}.rounded-1{border-radius:var(--bs-border-radius-sm) !important}.rounded-2{border-radius:var(--bs-border-radius) !important}.rounded-3{border-radius:var(--bs-border-radius-lg) !important}.rounded-4{border-radius:var(--bs-border-radius-xl) !important}.rounded-5{border-radius:var(--bs-border-radius-xxl) !important}.rounded-circle{border-radius:50% !important}.rounded-pill{border-radius:var(--bs-border-radius-pill) !important}.rounded-top{border-top-left-radius:var(--bs-border-radius) !important;border-top-right-radius:var(--bs-border-radius) !important}.rounded-top-0{border-top-left-radius:0 !important;border-top-right-radius:0 !important}.rounded-top-1{border-top-left-radius:var(--bs-border-radius-sm) !important;border-top-right-radius:var(--bs-border-radius-sm) !important}.rounded-top-2{border-top-left-radius:var(--bs-border-radius) !important;border-top-right-radius:var(--bs-border-radius) !important}.rounded-top-3{border-top-left-radius:var(--bs-border-radius-lg) !important;border-top-right-radius:var(--bs-border-radius-lg) !important}.rounded-top-4{border-top-left-radius:var(--bs-border-radius-xl) !important;border-top-right-radius:var(--bs-border-radius-xl) !important}.rounded-top-5{border-top-left-radius:var(--bs-border-radius-xxl) !important;border-top-right-radius:var(--bs-border-radius-xxl) !important}.rounded-top-circle{border-top-left-radius:50% !important;border-top-right-radius:50% !important}.rounded-top-pill{border-top-left-radius:var(--bs-border-radius-pill) !important;border-top-right-radius:var(--bs-border-radius-pill) !important}.rounded-end{border-top-right-radius:var(--bs-border-radius) !important;border-bottom-right-radius:var(--bs-border-radius) !important}.rounded-end-0{border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.rounded-end-1{border-top-right-radius:var(--bs-border-radius-sm) !important;border-bottom-right-radius:var(--bs-border-radius-sm) !important}.rounded-end-2{border-top-right-radius:var(--bs-border-radius) !important;border-bottom-right-radius:var(--bs-border-radius) !important}.rounded-end-3{border-top-right-radius:var(--bs-border-radius-lg) !important;border-bottom-right-radius:var(--bs-border-radius-lg) !important}.rounded-end-4{border-top-right-radius:var(--bs-border-radius-xl) !important;border-bottom-right-radius:var(--bs-border-radius-xl) !important}.rounded-end-5{border-top-right-radius:var(--bs-border-radius-xxl) !important;border-bottom-right-radius:var(--bs-border-radius-xxl) !important}.rounded-end-circle{border-top-right-radius:50% !important;border-bottom-right-radius:50% !important}.rounded-end-pill{border-top-right-radius:var(--bs-border-radius-pill) !important;border-bottom-right-radius:var(--bs-border-radius-pill) !important}.rounded-bottom{border-bottom-right-radius:var(--bs-border-radius) !important;border-bottom-left-radius:var(--bs-border-radius) !important}.rounded-bottom-0{border-bottom-right-radius:0 !important;border-bottom-left-radius:0 !important}.rounded-bottom-1{border-bottom-right-radius:var(--bs-border-radius-sm) !important;border-bottom-left-radius:var(--bs-border-radius-sm) !important}.rounded-bottom-2{border-bottom-right-radius:var(--bs-border-radius) !important;border-bottom-left-radius:var(--bs-border-radius) !important}.rounded-bottom-3{border-bottom-right-radius:var(--bs-border-radius-lg) !important;border-bottom-left-radius:var(--bs-border-radius-lg) !important}.rounded-bottom-4{border-bottom-right-radius:var(--bs-border-radius-xl) !important;border-bottom-left-radius:var(--bs-border-radius-xl) !important}.rounded-bottom-5{border-bottom-right-radius:var(--bs-border-radius-xxl) !important;border-bottom-left-radius:var(--bs-border-radius-xxl) !important}.rounded-bottom-circle{border-bottom-right-radius:50% !important;border-bottom-left-radius:50% !important}.rounded-bottom-pill{border-bottom-right-radius:var(--bs-border-radius-pill) !important;border-bottom-left-radius:var(--bs-border-radius-pill) !important}.rounded-start{border-bottom-left-radius:var(--bs-border-radius) !important;border-top-left-radius:var(--bs-border-radius) !important}.rounded-start-0{border-bottom-left-radius:0 !important;border-top-left-radius:0 !important}.rounded-start-1{border-bottom-left-radius:var(--bs-border-radius-sm) !important;border-top-left-radius:var(--bs-border-radius-sm) !important}.rounded-start-2{border-bottom-left-radius:var(--bs-border-radius) !important;border-top-left-radius:var(--bs-border-radius) !important}.rounded-start-3{border-bottom-left-radius:var(--bs-border-radius-lg) !important;border-top-left-radius:var(--bs-border-radius-lg) !important}.rounded-start-4{border-bottom-left-radius:var(--bs-border-radius-xl) !important;border-top-left-radius:var(--bs-border-radius-xl) !important}.rounded-start-5{border-bottom-left-radius:var(--bs-border-radius-xxl) !important;border-top-left-radius:var(--bs-border-radius-xxl) !important}.rounded-start-circle{border-bottom-left-radius:50% !important;border-top-left-radius:50% !important}.rounded-start-pill{border-bottom-left-radius:var(--bs-border-radius-pill) !important;border-top-left-radius:var(--bs-border-radius-pill) !important}.visible{visibility:visible !important}.invisible{visibility:hidden !important}.z-n1{z-index:-1 !important}.z-0{z-index:0 !important}.z-1{z-index:1 !important}.z-2{z-index:2 !important}.z-3{z-index:3 !important}@media(min-width: 576px){.float-sm-start{float:left !important}.float-sm-end{float:right !important}.float-sm-none{float:none !important}.object-fit-sm-contain{object-fit:contain !important}.object-fit-sm-cover{object-fit:cover !important}.object-fit-sm-fill{object-fit:fill !important}.object-fit-sm-scale{object-fit:scale-down !important}.object-fit-sm-none{object-fit:none !important}.d-sm-inline{display:inline !important}.d-sm-inline-block{display:inline-block !important}.d-sm-block{display:block !important}.d-sm-grid{display:grid !important}.d-sm-inline-grid{display:inline-grid !important}.d-sm-table{display:table !important}.d-sm-table-row{display:table-row !important}.d-sm-table-cell{display:table-cell !important}.d-sm-flex{display:flex !important}.d-sm-inline-flex{display:inline-flex !important}.d-sm-none{display:none !important}.flex-sm-fill{flex:1 1 auto !important}.flex-sm-row{flex-direction:row !important}.flex-sm-column{flex-direction:column !important}.flex-sm-row-reverse{flex-direction:row-reverse !important}.flex-sm-column-reverse{flex-direction:column-reverse !important}.flex-sm-grow-0{flex-grow:0 !important}.flex-sm-grow-1{flex-grow:1 !important}.flex-sm-shrink-0{flex-shrink:0 !important}.flex-sm-shrink-1{flex-shrink:1 !important}.flex-sm-wrap{flex-wrap:wrap !important}.flex-sm-nowrap{flex-wrap:nowrap !important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse !important}.justify-content-sm-start{justify-content:flex-start !important}.justify-content-sm-end{justify-content:flex-end !important}.justify-content-sm-center{justify-content:center !important}.justify-content-sm-between{justify-content:space-between !important}.justify-content-sm-around{justify-content:space-around !important}.justify-content-sm-evenly{justify-content:space-evenly !important}.align-items-sm-start{align-items:flex-start !important}.align-items-sm-end{align-items:flex-end !important}.align-items-sm-center{align-items:center !important}.align-items-sm-baseline{align-items:baseline !important}.align-items-sm-stretch{align-items:stretch !important}.align-content-sm-start{align-content:flex-start !important}.align-content-sm-end{align-content:flex-end !important}.align-content-sm-center{align-content:center !important}.align-content-sm-between{align-content:space-between !important}.align-content-sm-around{align-content:space-around !important}.align-content-sm-stretch{align-content:stretch !important}.align-self-sm-auto{align-self:auto !important}.align-self-sm-start{align-self:flex-start !important}.align-self-sm-end{align-self:flex-end !important}.align-self-sm-center{align-self:center !important}.align-self-sm-baseline{align-self:baseline !important}.align-self-sm-stretch{align-self:stretch !important}.order-sm-first{order:-1 !important}.order-sm-0{order:0 !important}.order-sm-1{order:1 !important}.order-sm-2{order:2 !important}.order-sm-3{order:3 !important}.order-sm-4{order:4 !important}.order-sm-5{order:5 !important}.order-sm-last{order:6 !important}.m-sm-0{margin:0 !important}.m-sm-1{margin:.25rem !important}.m-sm-2{margin:.5rem !important}.m-sm-3{margin:1rem !important}.m-sm-4{margin:1.5rem !important}.m-sm-5{margin:3rem !important}.m-sm-auto{margin:auto !important}.mx-sm-0{margin-right:0 !important;margin-left:0 !important}.mx-sm-1{margin-right:.25rem !important;margin-left:.25rem !important}.mx-sm-2{margin-right:.5rem !important;margin-left:.5rem !important}.mx-sm-3{margin-right:1rem !important;margin-left:1rem !important}.mx-sm-4{margin-right:1.5rem !important;margin-left:1.5rem !important}.mx-sm-5{margin-right:3rem !important;margin-left:3rem !important}.mx-sm-auto{margin-right:auto !important;margin-left:auto !important}.my-sm-0{margin-top:0 !important;margin-bottom:0 !important}.my-sm-1{margin-top:.25rem !important;margin-bottom:.25rem !important}.my-sm-2{margin-top:.5rem !important;margin-bottom:.5rem !important}.my-sm-3{margin-top:1rem !important;margin-bottom:1rem !important}.my-sm-4{margin-top:1.5rem !important;margin-bottom:1.5rem !important}.my-sm-5{margin-top:3rem !important;margin-bottom:3rem !important}.my-sm-auto{margin-top:auto !important;margin-bottom:auto !important}.mt-sm-0{margin-top:0 !important}.mt-sm-1{margin-top:.25rem !important}.mt-sm-2{margin-top:.5rem !important}.mt-sm-3{margin-top:1rem !important}.mt-sm-4{margin-top:1.5rem !important}.mt-sm-5{margin-top:3rem !important}.mt-sm-auto{margin-top:auto !important}.me-sm-0{margin-right:0 !important}.me-sm-1{margin-right:.25rem !important}.me-sm-2{margin-right:.5rem !important}.me-sm-3{margin-right:1rem !important}.me-sm-4{margin-right:1.5rem !important}.me-sm-5{margin-right:3rem !important}.me-sm-auto{margin-right:auto !important}.mb-sm-0{margin-bottom:0 !important}.mb-sm-1{margin-bottom:.25rem !important}.mb-sm-2{margin-bottom:.5rem !important}.mb-sm-3{margin-bottom:1rem !important}.mb-sm-4{margin-bottom:1.5rem !important}.mb-sm-5{margin-bottom:3rem !important}.mb-sm-auto{margin-bottom:auto !important}.ms-sm-0{margin-left:0 !important}.ms-sm-1{margin-left:.25rem !important}.ms-sm-2{margin-left:.5rem !important}.ms-sm-3{margin-left:1rem !important}.ms-sm-4{margin-left:1.5rem !important}.ms-sm-5{margin-left:3rem !important}.ms-sm-auto{margin-left:auto !important}.p-sm-0{padding:0 !important}.p-sm-1{padding:.25rem !important}.p-sm-2{padding:.5rem !important}.p-sm-3{padding:1rem !important}.p-sm-4{padding:1.5rem !important}.p-sm-5{padding:3rem !important}.px-sm-0{padding-right:0 !important;padding-left:0 !important}.px-sm-1{padding-right:.25rem !important;padding-left:.25rem !important}.px-sm-2{padding-right:.5rem !important;padding-left:.5rem !important}.px-sm-3{padding-right:1rem !important;padding-left:1rem !important}.px-sm-4{padding-right:1.5rem !important;padding-left:1.5rem !important}.px-sm-5{padding-right:3rem !important;padding-left:3rem !important}.py-sm-0{padding-top:0 !important;padding-bottom:0 !important}.py-sm-1{padding-top:.25rem !important;padding-bottom:.25rem !important}.py-sm-2{padding-top:.5rem !important;padding-bottom:.5rem !important}.py-sm-3{padding-top:1rem !important;padding-bottom:1rem !important}.py-sm-4{padding-top:1.5rem !important;padding-bottom:1.5rem !important}.py-sm-5{padding-top:3rem !important;padding-bottom:3rem !important}.pt-sm-0{padding-top:0 !important}.pt-sm-1{padding-top:.25rem !important}.pt-sm-2{padding-top:.5rem !important}.pt-sm-3{padding-top:1rem !important}.pt-sm-4{padding-top:1.5rem !important}.pt-sm-5{padding-top:3rem !important}.pe-sm-0{padding-right:0 !important}.pe-sm-1{padding-right:.25rem !important}.pe-sm-2{padding-right:.5rem !important}.pe-sm-3{padding-right:1rem !important}.pe-sm-4{padding-right:1.5rem !important}.pe-sm-5{padding-right:3rem !important}.pb-sm-0{padding-bottom:0 !important}.pb-sm-1{padding-bottom:.25rem !important}.pb-sm-2{padding-bottom:.5rem !important}.pb-sm-3{padding-bottom:1rem !important}.pb-sm-4{padding-bottom:1.5rem !important}.pb-sm-5{padding-bottom:3rem !important}.ps-sm-0{padding-left:0 !important}.ps-sm-1{padding-left:.25rem !important}.ps-sm-2{padding-left:.5rem !important}.ps-sm-3{padding-left:1rem !important}.ps-sm-4{padding-left:1.5rem !important}.ps-sm-5{padding-left:3rem !important}.gap-sm-0{gap:0 !important}.gap-sm-1{gap:.25rem !important}.gap-sm-2{gap:.5rem !important}.gap-sm-3{gap:1rem !important}.gap-sm-4{gap:1.5rem !important}.gap-sm-5{gap:3rem !important}.row-gap-sm-0{row-gap:0 !important}.row-gap-sm-1{row-gap:.25rem !important}.row-gap-sm-2{row-gap:.5rem !important}.row-gap-sm-3{row-gap:1rem !important}.row-gap-sm-4{row-gap:1.5rem !important}.row-gap-sm-5{row-gap:3rem !important}.column-gap-sm-0{column-gap:0 !important}.column-gap-sm-1{column-gap:.25rem !important}.column-gap-sm-2{column-gap:.5rem !important}.column-gap-sm-3{column-gap:1rem !important}.column-gap-sm-4{column-gap:1.5rem !important}.column-gap-sm-5{column-gap:3rem !important}.text-sm-start{text-align:left !important}.text-sm-end{text-align:right !important}.text-sm-center{text-align:center !important}}@media(min-width: 768px){.float-md-start{float:left !important}.float-md-end{float:right !important}.float-md-none{float:none !important}.object-fit-md-contain{object-fit:contain !important}.object-fit-md-cover{object-fit:cover !important}.object-fit-md-fill{object-fit:fill !important}.object-fit-md-scale{object-fit:scale-down !important}.object-fit-md-none{object-fit:none !important}.d-md-inline{display:inline !important}.d-md-inline-block{display:inline-block !important}.d-md-block{display:block !important}.d-md-grid{display:grid !important}.d-md-inline-grid{display:inline-grid !important}.d-md-table{display:table !important}.d-md-table-row{display:table-row !important}.d-md-table-cell{display:table-cell !important}.d-md-flex{display:flex !important}.d-md-inline-flex{display:inline-flex !important}.d-md-none{display:none !important}.flex-md-fill{flex:1 1 auto !important}.flex-md-row{flex-direction:row !important}.flex-md-column{flex-direction:column !important}.flex-md-row-reverse{flex-direction:row-reverse !important}.flex-md-column-reverse{flex-direction:column-reverse !important}.flex-md-grow-0{flex-grow:0 !important}.flex-md-grow-1{flex-grow:1 !important}.flex-md-shrink-0{flex-shrink:0 !important}.flex-md-shrink-1{flex-shrink:1 !important}.flex-md-wrap{flex-wrap:wrap !important}.flex-md-nowrap{flex-wrap:nowrap !important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse !important}.justify-content-md-start{justify-content:flex-start !important}.justify-content-md-end{justify-content:flex-end !important}.justify-content-md-center{justify-content:center !important}.justify-content-md-between{justify-content:space-between !important}.justify-content-md-around{justify-content:space-around !important}.justify-content-md-evenly{justify-content:space-evenly !important}.align-items-md-start{align-items:flex-start !important}.align-items-md-end{align-items:flex-end !important}.align-items-md-center{align-items:center !important}.align-items-md-baseline{align-items:baseline !important}.align-items-md-stretch{align-items:stretch !important}.align-content-md-start{align-content:flex-start !important}.align-content-md-end{align-content:flex-end !important}.align-content-md-center{align-content:center !important}.align-content-md-between{align-content:space-between !important}.align-content-md-around{align-content:space-around !important}.align-content-md-stretch{align-content:stretch !important}.align-self-md-auto{align-self:auto !important}.align-self-md-start{align-self:flex-start !important}.align-self-md-end{align-self:flex-end !important}.align-self-md-center{align-self:center !important}.align-self-md-baseline{align-self:baseline !important}.align-self-md-stretch{align-self:stretch !important}.order-md-first{order:-1 !important}.order-md-0{order:0 !important}.order-md-1{order:1 !important}.order-md-2{order:2 !important}.order-md-3{order:3 !important}.order-md-4{order:4 !important}.order-md-5{order:5 !important}.order-md-last{order:6 !important}.m-md-0{margin:0 !important}.m-md-1{margin:.25rem !important}.m-md-2{margin:.5rem !important}.m-md-3{margin:1rem !important}.m-md-4{margin:1.5rem !important}.m-md-5{margin:3rem !important}.m-md-auto{margin:auto !important}.mx-md-0{margin-right:0 !important;margin-left:0 !important}.mx-md-1{margin-right:.25rem !important;margin-left:.25rem !important}.mx-md-2{margin-right:.5rem !important;margin-left:.5rem !important}.mx-md-3{margin-right:1rem !important;margin-left:1rem !important}.mx-md-4{margin-right:1.5rem !important;margin-left:1.5rem !important}.mx-md-5{margin-right:3rem !important;margin-left:3rem !important}.mx-md-auto{margin-right:auto !important;margin-left:auto !important}.my-md-0{margin-top:0 !important;margin-bottom:0 !important}.my-md-1{margin-top:.25rem !important;margin-bottom:.25rem !important}.my-md-2{margin-top:.5rem !important;margin-bottom:.5rem !important}.my-md-3{margin-top:1rem !important;margin-bottom:1rem !important}.my-md-4{margin-top:1.5rem !important;margin-bottom:1.5rem !important}.my-md-5{margin-top:3rem !important;margin-bottom:3rem !important}.my-md-auto{margin-top:auto !important;margin-bottom:auto !important}.mt-md-0{margin-top:0 !important}.mt-md-1{margin-top:.25rem !important}.mt-md-2{margin-top:.5rem !important}.mt-md-3{margin-top:1rem !important}.mt-md-4{margin-top:1.5rem !important}.mt-md-5{margin-top:3rem !important}.mt-md-auto{margin-top:auto !important}.me-md-0{margin-right:0 !important}.me-md-1{margin-right:.25rem !important}.me-md-2{margin-right:.5rem !important}.me-md-3{margin-right:1rem !important}.me-md-4{margin-right:1.5rem !important}.me-md-5{margin-right:3rem !important}.me-md-auto{margin-right:auto !important}.mb-md-0{margin-bottom:0 !important}.mb-md-1{margin-bottom:.25rem !important}.mb-md-2{margin-bottom:.5rem !important}.mb-md-3{margin-bottom:1rem !important}.mb-md-4{margin-bottom:1.5rem !important}.mb-md-5{margin-bottom:3rem !important}.mb-md-auto{margin-bottom:auto !important}.ms-md-0{margin-left:0 !important}.ms-md-1{margin-left:.25rem !important}.ms-md-2{margin-left:.5rem !important}.ms-md-3{margin-left:1rem !important}.ms-md-4{margin-left:1.5rem !important}.ms-md-5{margin-left:3rem !important}.ms-md-auto{margin-left:auto !important}.p-md-0{padding:0 !important}.p-md-1{padding:.25rem !important}.p-md-2{padding:.5rem !important}.p-md-3{padding:1rem !important}.p-md-4{padding:1.5rem !important}.p-md-5{padding:3rem !important}.px-md-0{padding-right:0 !important;padding-left:0 !important}.px-md-1{padding-right:.25rem !important;padding-left:.25rem !important}.px-md-2{padding-right:.5rem !important;padding-left:.5rem !important}.px-md-3{padding-right:1rem !important;padding-left:1rem !important}.px-md-4{padding-right:1.5rem !important;padding-left:1.5rem !important}.px-md-5{padding-right:3rem !important;padding-left:3rem !important}.py-md-0{padding-top:0 !important;padding-bottom:0 !important}.py-md-1{padding-top:.25rem !important;padding-bottom:.25rem !important}.py-md-2{padding-top:.5rem !important;padding-bottom:.5rem !important}.py-md-3{padding-top:1rem !important;padding-bottom:1rem !important}.py-md-4{padding-top:1.5rem !important;padding-bottom:1.5rem !important}.py-md-5{padding-top:3rem !important;padding-bottom:3rem !important}.pt-md-0{padding-top:0 !important}.pt-md-1{padding-top:.25rem !important}.pt-md-2{padding-top:.5rem !important}.pt-md-3{padding-top:1rem !important}.pt-md-4{padding-top:1.5rem !important}.pt-md-5{padding-top:3rem !important}.pe-md-0{padding-right:0 !important}.pe-md-1{padding-right:.25rem !important}.pe-md-2{padding-right:.5rem !important}.pe-md-3{padding-right:1rem !important}.pe-md-4{padding-right:1.5rem !important}.pe-md-5{padding-right:3rem !important}.pb-md-0{padding-bottom:0 !important}.pb-md-1{padding-bottom:.25rem !important}.pb-md-2{padding-bottom:.5rem !important}.pb-md-3{padding-bottom:1rem !important}.pb-md-4{padding-bottom:1.5rem !important}.pb-md-5{padding-bottom:3rem !important}.ps-md-0{padding-left:0 !important}.ps-md-1{padding-left:.25rem !important}.ps-md-2{padding-left:.5rem !important}.ps-md-3{padding-left:1rem !important}.ps-md-4{padding-left:1.5rem !important}.ps-md-5{padding-left:3rem !important}.gap-md-0{gap:0 !important}.gap-md-1{gap:.25rem !important}.gap-md-2{gap:.5rem !important}.gap-md-3{gap:1rem !important}.gap-md-4{gap:1.5rem !important}.gap-md-5{gap:3rem !important}.row-gap-md-0{row-gap:0 !important}.row-gap-md-1{row-gap:.25rem !important}.row-gap-md-2{row-gap:.5rem !important}.row-gap-md-3{row-gap:1rem !important}.row-gap-md-4{row-gap:1.5rem !important}.row-gap-md-5{row-gap:3rem !important}.column-gap-md-0{column-gap:0 !important}.column-gap-md-1{column-gap:.25rem !important}.column-gap-md-2{column-gap:.5rem !important}.column-gap-md-3{column-gap:1rem !important}.column-gap-md-4{column-gap:1.5rem !important}.column-gap-md-5{column-gap:3rem !important}.text-md-start{text-align:left !important}.text-md-end{text-align:right !important}.text-md-center{text-align:center !important}}@media(min-width: 992px){.float-lg-start{float:left !important}.float-lg-end{float:right !important}.float-lg-none{float:none !important}.object-fit-lg-contain{object-fit:contain !important}.object-fit-lg-cover{object-fit:cover !important}.object-fit-lg-fill{object-fit:fill !important}.object-fit-lg-scale{object-fit:scale-down !important}.object-fit-lg-none{object-fit:none !important}.d-lg-inline{display:inline !important}.d-lg-inline-block{display:inline-block !important}.d-lg-block{display:block !important}.d-lg-grid{display:grid !important}.d-lg-inline-grid{display:inline-grid !important}.d-lg-table{display:table !important}.d-lg-table-row{display:table-row !important}.d-lg-table-cell{display:table-cell !important}.d-lg-flex{display:flex !important}.d-lg-inline-flex{display:inline-flex !important}.d-lg-none{display:none !important}.flex-lg-fill{flex:1 1 auto !important}.flex-lg-row{flex-direction:row !important}.flex-lg-column{flex-direction:column !important}.flex-lg-row-reverse{flex-direction:row-reverse !important}.flex-lg-column-reverse{flex-direction:column-reverse !important}.flex-lg-grow-0{flex-grow:0 !important}.flex-lg-grow-1{flex-grow:1 !important}.flex-lg-shrink-0{flex-shrink:0 !important}.flex-lg-shrink-1{flex-shrink:1 !important}.flex-lg-wrap{flex-wrap:wrap !important}.flex-lg-nowrap{flex-wrap:nowrap !important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse !important}.justify-content-lg-start{justify-content:flex-start !important}.justify-content-lg-end{justify-content:flex-end !important}.justify-content-lg-center{justify-content:center !important}.justify-content-lg-between{justify-content:space-between !important}.justify-content-lg-around{justify-content:space-around !important}.justify-content-lg-evenly{justify-content:space-evenly !important}.align-items-lg-start{align-items:flex-start !important}.align-items-lg-end{align-items:flex-end !important}.align-items-lg-center{align-items:center !important}.align-items-lg-baseline{align-items:baseline !important}.align-items-lg-stretch{align-items:stretch !important}.align-content-lg-start{align-content:flex-start !important}.align-content-lg-end{align-content:flex-end !important}.align-content-lg-center{align-content:center !important}.align-content-lg-between{align-content:space-between !important}.align-content-lg-around{align-content:space-around !important}.align-content-lg-stretch{align-content:stretch !important}.align-self-lg-auto{align-self:auto !important}.align-self-lg-start{align-self:flex-start !important}.align-self-lg-end{align-self:flex-end !important}.align-self-lg-center{align-self:center !important}.align-self-lg-baseline{align-self:baseline !important}.align-self-lg-stretch{align-self:stretch !important}.order-lg-first{order:-1 !important}.order-lg-0{order:0 !important}.order-lg-1{order:1 !important}.order-lg-2{order:2 !important}.order-lg-3{order:3 !important}.order-lg-4{order:4 !important}.order-lg-5{order:5 !important}.order-lg-last{order:6 !important}.m-lg-0{margin:0 !important}.m-lg-1{margin:.25rem !important}.m-lg-2{margin:.5rem !important}.m-lg-3{margin:1rem !important}.m-lg-4{margin:1.5rem !important}.m-lg-5{margin:3rem !important}.m-lg-auto{margin:auto !important}.mx-lg-0{margin-right:0 !important;margin-left:0 !important}.mx-lg-1{margin-right:.25rem !important;margin-left:.25rem !important}.mx-lg-2{margin-right:.5rem !important;margin-left:.5rem !important}.mx-lg-3{margin-right:1rem !important;margin-left:1rem !important}.mx-lg-4{margin-right:1.5rem !important;margin-left:1.5rem !important}.mx-lg-5{margin-right:3rem !important;margin-left:3rem !important}.mx-lg-auto{margin-right:auto !important;margin-left:auto !important}.my-lg-0{margin-top:0 !important;margin-bottom:0 !important}.my-lg-1{margin-top:.25rem !important;margin-bottom:.25rem !important}.my-lg-2{margin-top:.5rem !important;margin-bottom:.5rem !important}.my-lg-3{margin-top:1rem !important;margin-bottom:1rem !important}.my-lg-4{margin-top:1.5rem !important;margin-bottom:1.5rem !important}.my-lg-5{margin-top:3rem !important;margin-bottom:3rem !important}.my-lg-auto{margin-top:auto !important;margin-bottom:auto !important}.mt-lg-0{margin-top:0 !important}.mt-lg-1{margin-top:.25rem !important}.mt-lg-2{margin-top:.5rem !important}.mt-lg-3{margin-top:1rem !important}.mt-lg-4{margin-top:1.5rem !important}.mt-lg-5{margin-top:3rem !important}.mt-lg-auto{margin-top:auto !important}.me-lg-0{margin-right:0 !important}.me-lg-1{margin-right:.25rem !important}.me-lg-2{margin-right:.5rem !important}.me-lg-3{margin-right:1rem !important}.me-lg-4{margin-right:1.5rem !important}.me-lg-5{margin-right:3rem !important}.me-lg-auto{margin-right:auto !important}.mb-lg-0{margin-bottom:0 !important}.mb-lg-1{margin-bottom:.25rem !important}.mb-lg-2{margin-bottom:.5rem !important}.mb-lg-3{margin-bottom:1rem !important}.mb-lg-4{margin-bottom:1.5rem !important}.mb-lg-5{margin-bottom:3rem !important}.mb-lg-auto{margin-bottom:auto !important}.ms-lg-0{margin-left:0 !important}.ms-lg-1{margin-left:.25rem !important}.ms-lg-2{margin-left:.5rem !important}.ms-lg-3{margin-left:1rem !important}.ms-lg-4{margin-left:1.5rem !important}.ms-lg-5{margin-left:3rem !important}.ms-lg-auto{margin-left:auto !important}.p-lg-0{padding:0 !important}.p-lg-1{padding:.25rem !important}.p-lg-2{padding:.5rem !important}.p-lg-3{padding:1rem !important}.p-lg-4{padding:1.5rem !important}.p-lg-5{padding:3rem !important}.px-lg-0{padding-right:0 !important;padding-left:0 !important}.px-lg-1{padding-right:.25rem !important;padding-left:.25rem !important}.px-lg-2{padding-right:.5rem !important;padding-left:.5rem !important}.px-lg-3{padding-right:1rem !important;padding-left:1rem !important}.px-lg-4{padding-right:1.5rem !important;padding-left:1.5rem !important}.px-lg-5{padding-right:3rem !important;padding-left:3rem !important}.py-lg-0{padding-top:0 !important;padding-bottom:0 !important}.py-lg-1{padding-top:.25rem !important;padding-bottom:.25rem !important}.py-lg-2{padding-top:.5rem !important;padding-bottom:.5rem !important}.py-lg-3{padding-top:1rem !important;padding-bottom:1rem !important}.py-lg-4{padding-top:1.5rem !important;padding-bottom:1.5rem !important}.py-lg-5{padding-top:3rem !important;padding-bottom:3rem !important}.pt-lg-0{padding-top:0 !important}.pt-lg-1{padding-top:.25rem !important}.pt-lg-2{padding-top:.5rem !important}.pt-lg-3{padding-top:1rem !important}.pt-lg-4{padding-top:1.5rem !important}.pt-lg-5{padding-top:3rem !important}.pe-lg-0{padding-right:0 !important}.pe-lg-1{padding-right:.25rem !important}.pe-lg-2{padding-right:.5rem !important}.pe-lg-3{padding-right:1rem !important}.pe-lg-4{padding-right:1.5rem !important}.pe-lg-5{padding-right:3rem !important}.pb-lg-0{padding-bottom:0 !important}.pb-lg-1{padding-bottom:.25rem !important}.pb-lg-2{padding-bottom:.5rem !important}.pb-lg-3{padding-bottom:1rem !important}.pb-lg-4{padding-bottom:1.5rem !important}.pb-lg-5{padding-bottom:3rem !important}.ps-lg-0{padding-left:0 !important}.ps-lg-1{padding-left:.25rem !important}.ps-lg-2{padding-left:.5rem !important}.ps-lg-3{padding-left:1rem !important}.ps-lg-4{padding-left:1.5rem !important}.ps-lg-5{padding-left:3rem !important}.gap-lg-0{gap:0 !important}.gap-lg-1{gap:.25rem !important}.gap-lg-2{gap:.5rem !important}.gap-lg-3{gap:1rem !important}.gap-lg-4{gap:1.5rem !important}.gap-lg-5{gap:3rem !important}.row-gap-lg-0{row-gap:0 !important}.row-gap-lg-1{row-gap:.25rem !important}.row-gap-lg-2{row-gap:.5rem !important}.row-gap-lg-3{row-gap:1rem !important}.row-gap-lg-4{row-gap:1.5rem !important}.row-gap-lg-5{row-gap:3rem !important}.column-gap-lg-0{column-gap:0 !important}.column-gap-lg-1{column-gap:.25rem !important}.column-gap-lg-2{column-gap:.5rem !important}.column-gap-lg-3{column-gap:1rem !important}.column-gap-lg-4{column-gap:1.5rem !important}.column-gap-lg-5{column-gap:3rem !important}.text-lg-start{text-align:left !important}.text-lg-end{text-align:right !important}.text-lg-center{text-align:center !important}}@media(min-width: 1200px){.float-xl-start{float:left !important}.float-xl-end{float:right !important}.float-xl-none{float:none !important}.object-fit-xl-contain{object-fit:contain !important}.object-fit-xl-cover{object-fit:cover !important}.object-fit-xl-fill{object-fit:fill !important}.object-fit-xl-scale{object-fit:scale-down !important}.object-fit-xl-none{object-fit:none !important}.d-xl-inline{display:inline !important}.d-xl-inline-block{display:inline-block !important}.d-xl-block{display:block !important}.d-xl-grid{display:grid !important}.d-xl-inline-grid{display:inline-grid !important}.d-xl-table{display:table !important}.d-xl-table-row{display:table-row !important}.d-xl-table-cell{display:table-cell !important}.d-xl-flex{display:flex !important}.d-xl-inline-flex{display:inline-flex !important}.d-xl-none{display:none !important}.flex-xl-fill{flex:1 1 auto !important}.flex-xl-row{flex-direction:row !important}.flex-xl-column{flex-direction:column !important}.flex-xl-row-reverse{flex-direction:row-reverse !important}.flex-xl-column-reverse{flex-direction:column-reverse !important}.flex-xl-grow-0{flex-grow:0 !important}.flex-xl-grow-1{flex-grow:1 !important}.flex-xl-shrink-0{flex-shrink:0 !important}.flex-xl-shrink-1{flex-shrink:1 !important}.flex-xl-wrap{flex-wrap:wrap !important}.flex-xl-nowrap{flex-wrap:nowrap !important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse !important}.justify-content-xl-start{justify-content:flex-start !important}.justify-content-xl-end{justify-content:flex-end !important}.justify-content-xl-center{justify-content:center !important}.justify-content-xl-between{justify-content:space-between !important}.justify-content-xl-around{justify-content:space-around !important}.justify-content-xl-evenly{justify-content:space-evenly !important}.align-items-xl-start{align-items:flex-start !important}.align-items-xl-end{align-items:flex-end !important}.align-items-xl-center{align-items:center !important}.align-items-xl-baseline{align-items:baseline !important}.align-items-xl-stretch{align-items:stretch !important}.align-content-xl-start{align-content:flex-start !important}.align-content-xl-end{align-content:flex-end !important}.align-content-xl-center{align-content:center !important}.align-content-xl-between{align-content:space-between !important}.align-content-xl-around{align-content:space-around !important}.align-content-xl-stretch{align-content:stretch !important}.align-self-xl-auto{align-self:auto !important}.align-self-xl-start{align-self:flex-start !important}.align-self-xl-end{align-self:flex-end !important}.align-self-xl-center{align-self:center !important}.align-self-xl-baseline{align-self:baseline !important}.align-self-xl-stretch{align-self:stretch !important}.order-xl-first{order:-1 !important}.order-xl-0{order:0 !important}.order-xl-1{order:1 !important}.order-xl-2{order:2 !important}.order-xl-3{order:3 !important}.order-xl-4{order:4 !important}.order-xl-5{order:5 !important}.order-xl-last{order:6 !important}.m-xl-0{margin:0 !important}.m-xl-1{margin:.25rem !important}.m-xl-2{margin:.5rem !important}.m-xl-3{margin:1rem !important}.m-xl-4{margin:1.5rem !important}.m-xl-5{margin:3rem !important}.m-xl-auto{margin:auto !important}.mx-xl-0{margin-right:0 !important;margin-left:0 !important}.mx-xl-1{margin-right:.25rem !important;margin-left:.25rem !important}.mx-xl-2{margin-right:.5rem !important;margin-left:.5rem !important}.mx-xl-3{margin-right:1rem !important;margin-left:1rem !important}.mx-xl-4{margin-right:1.5rem !important;margin-left:1.5rem !important}.mx-xl-5{margin-right:3rem !important;margin-left:3rem !important}.mx-xl-auto{margin-right:auto !important;margin-left:auto !important}.my-xl-0{margin-top:0 !important;margin-bottom:0 !important}.my-xl-1{margin-top:.25rem !important;margin-bottom:.25rem !important}.my-xl-2{margin-top:.5rem !important;margin-bottom:.5rem !important}.my-xl-3{margin-top:1rem !important;margin-bottom:1rem !important}.my-xl-4{margin-top:1.5rem !important;margin-bottom:1.5rem !important}.my-xl-5{margin-top:3rem !important;margin-bottom:3rem !important}.my-xl-auto{margin-top:auto !important;margin-bottom:auto !important}.mt-xl-0{margin-top:0 !important}.mt-xl-1{margin-top:.25rem !important}.mt-xl-2{margin-top:.5rem !important}.mt-xl-3{margin-top:1rem !important}.mt-xl-4{margin-top:1.5rem !important}.mt-xl-5{margin-top:3rem !important}.mt-xl-auto{margin-top:auto !important}.me-xl-0{margin-right:0 !important}.me-xl-1{margin-right:.25rem !important}.me-xl-2{margin-right:.5rem !important}.me-xl-3{margin-right:1rem !important}.me-xl-4{margin-right:1.5rem !important}.me-xl-5{margin-right:3rem !important}.me-xl-auto{margin-right:auto !important}.mb-xl-0{margin-bottom:0 !important}.mb-xl-1{margin-bottom:.25rem !important}.mb-xl-2{margin-bottom:.5rem !important}.mb-xl-3{margin-bottom:1rem !important}.mb-xl-4{margin-bottom:1.5rem !important}.mb-xl-5{margin-bottom:3rem !important}.mb-xl-auto{margin-bottom:auto !important}.ms-xl-0{margin-left:0 !important}.ms-xl-1{margin-left:.25rem !important}.ms-xl-2{margin-left:.5rem !important}.ms-xl-3{margin-left:1rem !important}.ms-xl-4{margin-left:1.5rem !important}.ms-xl-5{margin-left:3rem !important}.ms-xl-auto{margin-left:auto !important}.p-xl-0{padding:0 !important}.p-xl-1{padding:.25rem !important}.p-xl-2{padding:.5rem !important}.p-xl-3{padding:1rem !important}.p-xl-4{padding:1.5rem !important}.p-xl-5{padding:3rem !important}.px-xl-0{padding-right:0 !important;padding-left:0 !important}.px-xl-1{padding-right:.25rem !important;padding-left:.25rem !important}.px-xl-2{padding-right:.5rem !important;padding-left:.5rem !important}.px-xl-3{padding-right:1rem !important;padding-left:1rem !important}.px-xl-4{padding-right:1.5rem !important;padding-left:1.5rem !important}.px-xl-5{padding-right:3rem !important;padding-left:3rem !important}.py-xl-0{padding-top:0 !important;padding-bottom:0 !important}.py-xl-1{padding-top:.25rem !important;padding-bottom:.25rem !important}.py-xl-2{padding-top:.5rem !important;padding-bottom:.5rem !important}.py-xl-3{padding-top:1rem !important;padding-bottom:1rem !important}.py-xl-4{padding-top:1.5rem !important;padding-bottom:1.5rem !important}.py-xl-5{padding-top:3rem !important;padding-bottom:3rem !important}.pt-xl-0{padding-top:0 !important}.pt-xl-1{padding-top:.25rem !important}.pt-xl-2{padding-top:.5rem !important}.pt-xl-3{padding-top:1rem !important}.pt-xl-4{padding-top:1.5rem !important}.pt-xl-5{padding-top:3rem !important}.pe-xl-0{padding-right:0 !important}.pe-xl-1{padding-right:.25rem !important}.pe-xl-2{padding-right:.5rem !important}.pe-xl-3{padding-right:1rem !important}.pe-xl-4{padding-right:1.5rem !important}.pe-xl-5{padding-right:3rem !important}.pb-xl-0{padding-bottom:0 !important}.pb-xl-1{padding-bottom:.25rem !important}.pb-xl-2{padding-bottom:.5rem !important}.pb-xl-3{padding-bottom:1rem !important}.pb-xl-4{padding-bottom:1.5rem !important}.pb-xl-5{padding-bottom:3rem !important}.ps-xl-0{padding-left:0 !important}.ps-xl-1{padding-left:.25rem !important}.ps-xl-2{padding-left:.5rem !important}.ps-xl-3{padding-left:1rem !important}.ps-xl-4{padding-left:1.5rem !important}.ps-xl-5{padding-left:3rem !important}.gap-xl-0{gap:0 !important}.gap-xl-1{gap:.25rem !important}.gap-xl-2{gap:.5rem !important}.gap-xl-3{gap:1rem !important}.gap-xl-4{gap:1.5rem !important}.gap-xl-5{gap:3rem !important}.row-gap-xl-0{row-gap:0 !important}.row-gap-xl-1{row-gap:.25rem !important}.row-gap-xl-2{row-gap:.5rem !important}.row-gap-xl-3{row-gap:1rem !important}.row-gap-xl-4{row-gap:1.5rem !important}.row-gap-xl-5{row-gap:3rem !important}.column-gap-xl-0{column-gap:0 !important}.column-gap-xl-1{column-gap:.25rem !important}.column-gap-xl-2{column-gap:.5rem !important}.column-gap-xl-3{column-gap:1rem !important}.column-gap-xl-4{column-gap:1.5rem !important}.column-gap-xl-5{column-gap:3rem !important}.text-xl-start{text-align:left !important}.text-xl-end{text-align:right !important}.text-xl-center{text-align:center !important}}@media(min-width: 1400px){.float-xxl-start{float:left !important}.float-xxl-end{float:right !important}.float-xxl-none{float:none !important}.object-fit-xxl-contain{object-fit:contain !important}.object-fit-xxl-cover{object-fit:cover !important}.object-fit-xxl-fill{object-fit:fill !important}.object-fit-xxl-scale{object-fit:scale-down !important}.object-fit-xxl-none{object-fit:none !important}.d-xxl-inline{display:inline !important}.d-xxl-inline-block{display:inline-block !important}.d-xxl-block{display:block !important}.d-xxl-grid{display:grid !important}.d-xxl-inline-grid{display:inline-grid !important}.d-xxl-table{display:table !important}.d-xxl-table-row{display:table-row !important}.d-xxl-table-cell{display:table-cell !important}.d-xxl-flex{display:flex !important}.d-xxl-inline-flex{display:inline-flex !important}.d-xxl-none{display:none !important}.flex-xxl-fill{flex:1 1 auto !important}.flex-xxl-row{flex-direction:row !important}.flex-xxl-column{flex-direction:column !important}.flex-xxl-row-reverse{flex-direction:row-reverse !important}.flex-xxl-column-reverse{flex-direction:column-reverse !important}.flex-xxl-grow-0{flex-grow:0 !important}.flex-xxl-grow-1{flex-grow:1 !important}.flex-xxl-shrink-0{flex-shrink:0 !important}.flex-xxl-shrink-1{flex-shrink:1 !important}.flex-xxl-wrap{flex-wrap:wrap !important}.flex-xxl-nowrap{flex-wrap:nowrap !important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse !important}.justify-content-xxl-start{justify-content:flex-start !important}.justify-content-xxl-end{justify-content:flex-end !important}.justify-content-xxl-center{justify-content:center !important}.justify-content-xxl-between{justify-content:space-between !important}.justify-content-xxl-around{justify-content:space-around !important}.justify-content-xxl-evenly{justify-content:space-evenly !important}.align-items-xxl-start{align-items:flex-start !important}.align-items-xxl-end{align-items:flex-end !important}.align-items-xxl-center{align-items:center !important}.align-items-xxl-baseline{align-items:baseline !important}.align-items-xxl-stretch{align-items:stretch !important}.align-content-xxl-start{align-content:flex-start !important}.align-content-xxl-end{align-content:flex-end !important}.align-content-xxl-center{align-content:center !important}.align-content-xxl-between{align-content:space-between !important}.align-content-xxl-around{align-content:space-around !important}.align-content-xxl-stretch{align-content:stretch !important}.align-self-xxl-auto{align-self:auto !important}.align-self-xxl-start{align-self:flex-start !important}.align-self-xxl-end{align-self:flex-end !important}.align-self-xxl-center{align-self:center !important}.align-self-xxl-baseline{align-self:baseline !important}.align-self-xxl-stretch{align-self:stretch !important}.order-xxl-first{order:-1 !important}.order-xxl-0{order:0 !important}.order-xxl-1{order:1 !important}.order-xxl-2{order:2 !important}.order-xxl-3{order:3 !important}.order-xxl-4{order:4 !important}.order-xxl-5{order:5 !important}.order-xxl-last{order:6 !important}.m-xxl-0{margin:0 !important}.m-xxl-1{margin:.25rem !important}.m-xxl-2{margin:.5rem !important}.m-xxl-3{margin:1rem !important}.m-xxl-4{margin:1.5rem !important}.m-xxl-5{margin:3rem !important}.m-xxl-auto{margin:auto !important}.mx-xxl-0{margin-right:0 !important;margin-left:0 !important}.mx-xxl-1{margin-right:.25rem !important;margin-left:.25rem !important}.mx-xxl-2{margin-right:.5rem !important;margin-left:.5rem !important}.mx-xxl-3{margin-right:1rem !important;margin-left:1rem !important}.mx-xxl-4{margin-right:1.5rem !important;margin-left:1.5rem !important}.mx-xxl-5{margin-right:3rem !important;margin-left:3rem !important}.mx-xxl-auto{margin-right:auto !important;margin-left:auto !important}.my-xxl-0{margin-top:0 !important;margin-bottom:0 !important}.my-xxl-1{margin-top:.25rem !important;margin-bottom:.25rem !important}.my-xxl-2{margin-top:.5rem !important;margin-bottom:.5rem !important}.my-xxl-3{margin-top:1rem !important;margin-bottom:1rem !important}.my-xxl-4{margin-top:1.5rem !important;margin-bottom:1.5rem !important}.my-xxl-5{margin-top:3rem !important;margin-bottom:3rem !important}.my-xxl-auto{margin-top:auto !important;margin-bottom:auto !important}.mt-xxl-0{margin-top:0 !important}.mt-xxl-1{margin-top:.25rem !important}.mt-xxl-2{margin-top:.5rem !important}.mt-xxl-3{margin-top:1rem !important}.mt-xxl-4{margin-top:1.5rem !important}.mt-xxl-5{margin-top:3rem !important}.mt-xxl-auto{margin-top:auto !important}.me-xxl-0{margin-right:0 !important}.me-xxl-1{margin-right:.25rem !important}.me-xxl-2{margin-right:.5rem !important}.me-xxl-3{margin-right:1rem !important}.me-xxl-4{margin-right:1.5rem !important}.me-xxl-5{margin-right:3rem !important}.me-xxl-auto{margin-right:auto !important}.mb-xxl-0{margin-bottom:0 !important}.mb-xxl-1{margin-bottom:.25rem !important}.mb-xxl-2{margin-bottom:.5rem !important}.mb-xxl-3{margin-bottom:1rem !important}.mb-xxl-4{margin-bottom:1.5rem !important}.mb-xxl-5{margin-bottom:3rem !important}.mb-xxl-auto{margin-bottom:auto !important}.ms-xxl-0{margin-left:0 !important}.ms-xxl-1{margin-left:.25rem !important}.ms-xxl-2{margin-left:.5rem !important}.ms-xxl-3{margin-left:1rem !important}.ms-xxl-4{margin-left:1.5rem !important}.ms-xxl-5{margin-left:3rem !important}.ms-xxl-auto{margin-left:auto !important}.p-xxl-0{padding:0 !important}.p-xxl-1{padding:.25rem !important}.p-xxl-2{padding:.5rem !important}.p-xxl-3{padding:1rem !important}.p-xxl-4{padding:1.5rem !important}.p-xxl-5{padding:3rem !important}.px-xxl-0{padding-right:0 !important;padding-left:0 !important}.px-xxl-1{padding-right:.25rem !important;padding-left:.25rem !important}.px-xxl-2{padding-right:.5rem !important;padding-left:.5rem !important}.px-xxl-3{padding-right:1rem !important;padding-left:1rem !important}.px-xxl-4{padding-right:1.5rem !important;padding-left:1.5rem !important}.px-xxl-5{padding-right:3rem !important;padding-left:3rem !important}.py-xxl-0{padding-top:0 !important;padding-bottom:0 !important}.py-xxl-1{padding-top:.25rem !important;padding-bottom:.25rem !important}.py-xxl-2{padding-top:.5rem !important;padding-bottom:.5rem !important}.py-xxl-3{padding-top:1rem !important;padding-bottom:1rem !important}.py-xxl-4{padding-top:1.5rem !important;padding-bottom:1.5rem !important}.py-xxl-5{padding-top:3rem !important;padding-bottom:3rem !important}.pt-xxl-0{padding-top:0 !important}.pt-xxl-1{padding-top:.25rem !important}.pt-xxl-2{padding-top:.5rem !important}.pt-xxl-3{padding-top:1rem !important}.pt-xxl-4{padding-top:1.5rem !important}.pt-xxl-5{padding-top:3rem !important}.pe-xxl-0{padding-right:0 !important}.pe-xxl-1{padding-right:.25rem !important}.pe-xxl-2{padding-right:.5rem !important}.pe-xxl-3{padding-right:1rem !important}.pe-xxl-4{padding-right:1.5rem !important}.pe-xxl-5{padding-right:3rem !important}.pb-xxl-0{padding-bottom:0 !important}.pb-xxl-1{padding-bottom:.25rem !important}.pb-xxl-2{padding-bottom:.5rem !important}.pb-xxl-3{padding-bottom:1rem !important}.pb-xxl-4{padding-bottom:1.5rem !important}.pb-xxl-5{padding-bottom:3rem !important}.ps-xxl-0{padding-left:0 !important}.ps-xxl-1{padding-left:.25rem !important}.ps-xxl-2{padding-left:.5rem !important}.ps-xxl-3{padding-left:1rem !important}.ps-xxl-4{padding-left:1.5rem !important}.ps-xxl-5{padding-left:3rem !important}.gap-xxl-0{gap:0 !important}.gap-xxl-1{gap:.25rem !important}.gap-xxl-2{gap:.5rem !important}.gap-xxl-3{gap:1rem !important}.gap-xxl-4{gap:1.5rem !important}.gap-xxl-5{gap:3rem !important}.row-gap-xxl-0{row-gap:0 !important}.row-gap-xxl-1{row-gap:.25rem !important}.row-gap-xxl-2{row-gap:.5rem !important}.row-gap-xxl-3{row-gap:1rem !important}.row-gap-xxl-4{row-gap:1.5rem !important}.row-gap-xxl-5{row-gap:3rem !important}.column-gap-xxl-0{column-gap:0 !important}.column-gap-xxl-1{column-gap:.25rem !important}.column-gap-xxl-2{column-gap:.5rem !important}.column-gap-xxl-3{column-gap:1rem !important}.column-gap-xxl-4{column-gap:1.5rem !important}.column-gap-xxl-5{column-gap:3rem !important}.text-xxl-start{text-align:left !important}.text-xxl-end{text-align:right !important}.text-xxl-center{text-align:center !important}}@media(min-width: 1200px){.fs-1{font-size:2.5rem !important}.fs-2{font-size:2rem !important}.fs-3{font-size:1.75rem !important}.fs-4{font-size:1.5rem !important}}@media print{.d-print-inline{display:inline !important}.d-print-inline-block{display:inline-block !important}.d-print-block{display:block !important}.d-print-grid{display:grid !important}.d-print-inline-grid{display:inline-grid !important}.d-print-table{display:table !important}.d-print-table-row{display:table-row !important}.d-print-table-cell{display:table-cell !important}.d-print-flex{display:flex !important}.d-print-inline-flex{display:inline-flex !important}.d-print-none{display:none !important}}[data-bs-theme=dark] .element{color:var(--bs-primary-text-emphasis);background-color:var(--bs-primary-bg-subtle)}`,""]);const W=C},6314:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r="",o=void 0!==e[5];return e[4]&&(r+="@supports (".concat(e[4],") {")),e[2]&&(r+="@media ".concat(e[2]," {")),o&&(r+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),r+=t(e),o&&(r+="}"),e[2]&&(r+="}"),e[4]&&(r+="}"),r})).join("")},e.i=function(t,r,o,n,i){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(o)for(var s=0;s0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=i),r&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=r):d[2]=r),n&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=n):d[4]="".concat(n)),e.push(d))}},e}},4417:t=>{"use strict";t.exports=function(t,e){return e||(e={}),t?(t=String(t.__esModule?t.default:t),/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]|(%20)/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t):t}},1601:t=>{"use strict";t.exports=function(t){return t[1]}},1480:(t,e,r)=>{"use strict";var o=r(5072),n=r.n(o),i=r(7825),a=r.n(i),s=r(7659),l=r.n(s),c=r(5056),d=r.n(c),u=r(540),m=r.n(u),p=r(1113),h=r.n(p),g=r(9543),b={};b.styleTagTransform=h(),b.setAttributes=d(),b.insert=l().bind(null,"head"),b.domAPI=a(),b.insertStyleElement=m(),n()(g.A,b),g.A&&g.A.locals&&g.A.locals},5072:t=>{"use strict";var e=[];function r(t){for(var r=-1,o=0;o{"use strict";var e={};t.exports=function(t,r){var o=function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(t){r=null}e[t]=r}return e[t]}(t);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(r)}},540:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},5056:(t,e,r)=>{"use strict";t.exports=function(t){var e=r.nc;e&&t.setAttribute("nonce",e)}},7825:t=>{"use strict";t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=t.insertStyleElement(t);return{update:function(r){!function(t,e,r){var o="";r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var n=void 0!==r.layer;n&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,n&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}");var i=r.sourceMap;i&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleTagTransform(o,t,e.options)}(e,t,r)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},1113:t=>{"use strict";t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}},8728:()=>{(()=>{"use strict";const t=()=>localStorage.getItem("theme"),e=()=>t()||(window.matchMedia("(prefers-color-scheme: light)").matches?"dark":"light"),r=t=>{"auto"===t?document.documentElement.setAttribute("data-bs-theme",window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"):document.documentElement.setAttribute("data-bs-theme",t)};r(e());const o=(t,e=!1)=>{const r=document.querySelector("#bd-theme");if(!r)return;const o=document.querySelector("#bd-theme-text"),n=document.querySelector(".theme-icon-active use"),i=document.querySelector(`[data-bs-theme-value="${t}"]`),a=i.querySelector("svg use").getAttribute("href");document.querySelectorAll("[data-bs-theme-value]").forEach((t=>{t.classList.remove("active"),t.setAttribute("aria-pressed","false")})),i.classList.add("active"),i.setAttribute("aria-pressed","true"),n.setAttribute("href",a);const s=`${o.textContent} (${i.dataset.bsThemeValue})`;r.setAttribute("aria-label",s),e&&r.focus()};window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(()=>{const o=t();"light"!==o&&"dark"!==o&&r(e())})),window.addEventListener("DOMContentLoaded",(()=>{o(e()),document.querySelectorAll("[data-bs-theme-value]").forEach((t=>{t.addEventListener("click",(()=>{const e=t.getAttribute("data-bs-theme-value");(t=>{localStorage.setItem("theme",t)})(e),r(e),o(e,!0)}))}))}))})()},7157:(t,e,r)=>{"use strict";r.a(t,(async(t,e)=>{try{r(1480),r(8728);var o=r(5994),n=r(6003),i=r(1093),a=r(630),s=r(4344),l=r(6738),c=r(7815),d=r(7636),u=r(3262),m=r(7660),p=r(888),h=r(8191),g=r(2298),b=r(6554),f=r(1446),v=r(8747),y=t([o,n,i,a,s,l,c,d,u,m,p,h,g,b,f]);[o,n,i,a,s,l,c,d,u,m,p,h,g,b,f]=y.then?(await y)():y;const w=r(8330).rE;document.getElementById("versaoDoSistema").innerHTML="v"+w;const x=2024,_=(new Date).getFullYear();x!=_&&(document.getElementById("anoCriacaoProjeto").innerHTML=x+"-"+_),document.getElementById("anoCriacaoProjeto").innerHTML=x,[...document.querySelectorAll('[data-bs-toggle="tooltip"]')].map((t=>new v.m_(t))),document.addEventListener("DOMContentLoaded",(()=>{const t=document.getElementById("btnRemoverVoluntario"),e=document.getElementById("toastConfirmacaoRemocaoVoluntario"),r=new v.y8(e);t.addEventListener("click",(()=>{r.show()}))})),window.innerWidth<768&&(document.getElementById("versaoDoSistema").classList.add("fixed-bottom"),document.getElementById("versaoDoSistema").classList.add("text-end"),document.getElementById("versaoDoSistema").classList.add("p-4"),document.getElementById("menuOffcanvasNavbar").classList.add("p-4"),document.getElementById("menuOffcanvasNavbar").classList.add("subtitle"),document.getElementById("menuLateral").classList.add("ps-4"));let k=document.getElementById("palavra-chave");k.addEventListener("paste",(t=>{t.preventDefault()})),k.addEventListener("drop",(t=>{t.preventDefault()})),document.addEventListener("keydown",(function(t){("F5"===t.key||t.ctrlKey&&"r"===t.key)&&t.preventDefault(),"Enter"===t.key&&t.preventDefault()})),e()}catch(t){e(t)}}))},3385:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%272%27 fill=%27%23fff%27/%3e%3c/svg%3e"},4718:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27%23fff%27/%3e%3c/svg%3e"},9023:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27rgb%28134, 182.5, 254%29%27/%3e%3c/svg%3e"},7154:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27rgba%280, 0, 0, 0.25%29%27/%3e%3c/svg%3e"},8734:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27rgba%28255, 255, 255, 0.25%29%27/%3e%3c/svg%3e"},5372:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 12 12%27 width=%2712%27 height=%2712%27 fill=%27none%27 stroke=%27%23dc3545%27%3e%3ccircle cx=%276%27 cy=%276%27 r=%274.5%27/%3e%3cpath stroke-linejoin=%27round%27 d=%27M5.8 3.6h.4L6 6.5z%27/%3e%3ccircle cx=%276%27 cy=%278.2%27 r=%27.6%27 fill=%27%23dc3545%27 stroke=%27none%27/%3e%3c/svg%3e"},7249:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%23000%27%3e%3cpath d=%27M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z%27/%3e%3c/svg%3e"},5932:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%23fff%27%3e%3cpath d=%27M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z%27/%3e%3c/svg%3e"},1144:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%23fff%27%3e%3cpath d=%27M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z%27/%3e%3c/svg%3e"},7326:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27none%27 stroke=%27%23212529%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3e%3cpath d=%27M2 5L8 11L14 5%27/%3e%3c/svg%3e"},386:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27none%27 stroke=%27rgb%285.2, 44, 101.2%29%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3e%3cpath d=%27M2 5L8 11L14 5%27/%3e%3c/svg%3e"},4992:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27rgb%28109.8, 168, 253.8%29%27%3e%3cpath fill-rule=%27evenodd%27 d=%27M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z%27/%3e%3c/svg%3e"},5531:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3e%3cpath fill=%27none%27 stroke=%27%23343a40%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27m2 5 6 6 6-6%27/%3e%3c/svg%3e"},7115:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3e%3cpath fill=%27none%27 stroke=%27%23dee2e6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27m2 5 6 6 6-6%27/%3e%3c/svg%3e"},4274:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3e%3cpath fill=%27none%27 stroke=%27%23fff%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%273%27 d=%27M6 10h8%27/%3e%3c/svg%3e"},5419:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3e%3cpath fill=%27none%27 stroke=%27%23fff%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%273%27 d=%27m6 10 3 3 6-6%27/%3e%3c/svg%3e"},6366:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 30 30%27%3e%3cpath stroke=%27rgba%28255, 255, 255, 0.55%29%27 stroke-linecap=%27round%27 stroke-miterlimit=%2710%27 stroke-width=%272%27 d=%27M4 7h22M4 15h22M4 23h22%27/%3e%3c/svg%3e"},2247:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 30 30%27%3e%3cpath stroke=%27rgba%2833, 37, 41, 0.75%29%27 stroke-linecap=%27round%27 stroke-miterlimit=%2710%27 stroke-width=%272%27 d=%27M4 7h22M4 15h22M4 23h22%27/%3e%3c/svg%3e"},8487:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 8 8%27%3e%3cpath fill=%27%23198754%27 d=%27M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z%27/%3e%3c/svg%3e"},6996:(t,e,r)=>{"use strict";r.d(e,{P5:()=>R});var o=r(8461),n=r(3424),i=r(6743),a=r(5125);r(9559);const s="analytics",l="firebase_id",c="origin",d=6e4,u="https://firebase.googleapis.com/v1alpha/projects/-/apps/{app-id}/webConfig",m="https://www.googletagmanager.com/gtag/js",p=new n.Vy("@firebase/analytics"),h=new i.FA("analytics","Analytics",{"already-exists":"A Firebase Analytics instance with the appId {$id} already exists. Only one Firebase Analytics instance can be created for each appId.","already-initialized":"initializeAnalytics() cannot be called again with different options than those it was initially called with. It can be called again with the same options to return the existing instance, or getAnalytics() can be used to get a reference to the already-initialized instance.","already-initialized-settings":"Firebase Analytics has already been initialized.settings() must be called before initializing any Analytics instanceor it will have no effect.","interop-component-reg-failed":"Firebase Analytics Interop Component failed to instantiate: {$reason}","invalid-analytics-context":"Firebase Analytics is not supported in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}","indexeddb-unavailable":"IndexedDB unavailable or restricted in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}","fetch-throttle":"The config fetch request timed out while in an exponential backoff state. Unix timestamp in milliseconds when fetch request throttling ends: {$throttleEndTimeMillis}.","config-fetch-failed":"Dynamic config fetch failed: [{$httpStatus}] {$responseMessage}","no-api-key":'The "apiKey" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid API key.',"no-app-id":'The "appId" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid app ID.',"no-client-id":'The "client_id" field is empty.',"invalid-gtag-resource":"Trusted Types detected an invalid gtag resource: {$gtagURL}."});function g(t){if(!t.startsWith(m)){const e=h.create("invalid-gtag-resource",{gtagURL:t});return p.warn(e.message),""}return t}function b(t){return Promise.all(t.map((t=>t.catch((t=>t)))))}const f=30,v=new class{constructor(t={},e=1e3){this.throttleMetadata=t,this.intervalMillis=e}getThrottleMetadata(t){return this.throttleMetadata[t]}setThrottleMetadata(t,e){this.throttleMetadata[t]=e}deleteThrottleMetadata(t){delete this.throttleMetadata[t]}};function y(t){return new Headers({Accept:"application/json","x-goog-api-key":t})}async function w(t,e=v,r){const{appId:o,apiKey:n,measurementId:i}=t.options;if(!o)throw h.create("no-app-id");if(!n){if(i)return{measurementId:i,appId:o};throw h.create("no-api-key")}const a=e.getThrottleMetadata(o)||{backoffCount:0,throttleEndTimeMillis:Date.now()},s=new _;return setTimeout((async()=>{s.abort()}),void 0!==r?r:d),x({appId:o,apiKey:n,measurementId:i},a,s,e)}async function x(t,{throttleEndTimeMillis:e,backoffCount:r},o,n=v){var a;const{appId:s,measurementId:l}=t;try{await function(t,e){return new Promise(((r,o)=>{const n=Math.max(e-Date.now(),0),i=setTimeout(r,n);t.addEventListener((()=>{clearTimeout(i),o(h.create("fetch-throttle",{throttleEndTimeMillis:e}))}))}))}(o,e)}catch(t){if(l)return p.warn(`Timed out fetching this Firebase app's measurement ID from the server. Falling back to the measurement ID ${l} provided in the "measurementId" field in the local Firebase config. [${null==t?void 0:t.message}]`),{appId:s,measurementId:l};throw t}try{const e=await async function(t){var e;const{appId:r,apiKey:o}=t,n={method:"GET",headers:y(o)},i=u.replace("{app-id}",r),a=await fetch(i,n);if(200!==a.status&&304!==a.status){let t="";try{const r=await a.json();(null===(e=r.error)||void 0===e?void 0:e.message)&&(t=r.error.message)}catch(t){}throw h.create("config-fetch-failed",{httpStatus:a.status,responseMessage:t})}return a.json()}(t);return n.deleteThrottleMetadata(s),e}catch(e){const c=e;if(!function(t){if(!(t instanceof i.g&&t.customData))return!1;const e=Number(t.customData.httpStatus);return 429===e||500===e||503===e||504===e}(c)){if(n.deleteThrottleMetadata(s),l)return p.warn(`Failed to fetch this Firebase app's measurement ID from the server. Falling back to the measurement ID ${l} provided in the "measurementId" field in the local Firebase config. [${null==c?void 0:c.message}]`),{appId:s,measurementId:l};throw e}const d=503===Number(null===(a=null==c?void 0:c.customData)||void 0===a?void 0:a.httpStatus)?(0,i.p9)(r,n.intervalMillis,f):(0,i.p9)(r,n.intervalMillis),u={throttleEndTimeMillis:Date.now()+d,backoffCount:r+1};return n.setThrottleMetadata(s,u),p.debug(`Calling attemptFetch again in ${d} millis`),x(t,u,o,n)}}class _{constructor(){this.listeners=[]}addEventListener(t){this.listeners.push(t)}abort(){this.listeners.forEach((t=>t()))}}let k,E;async function I(t,e,r,o,n,a,s){var d;const u=w(t);u.then((e=>{r[e.measurementId]=e.appId,t.options.measurementId&&e.measurementId!==t.options.measurementId&&p.warn(`The measurement ID in the local Firebase config (${t.options.measurementId}) does not match the measurement ID fetched from the server (${e.measurementId}). To ensure analytics events are always sent to the correct Analytics property, update the measurement ID field in the local config or remove it from the local config.`)})).catch((t=>p.error(t))),e.push(u);const b=async function(){if(!(0,i.zW)())return p.warn(h.create("indexeddb-unavailable",{errorInfo:"IndexedDB is not available in this environment."}).message),!1;try{await(0,i.eX)()}catch(t){return p.warn(h.create("indexeddb-unavailable",{errorInfo:null==t?void 0:t.toString()}).message),!1}return!0}().then((t=>t?o.getId():void 0)),[f,v]=await Promise.all([u,b]);(function(t){const e=window.document.getElementsByTagName("script");for(const r of Object.values(e))if(r.src&&r.src.includes(m)&&r.src.includes(t))return r;return null})(a)||function(t,e){const r=function(t,e){let r;return window.trustedTypes&&(r=window.trustedTypes.createPolicy("firebase-js-sdk-policy",e)),r}(0,{createScriptURL:g}),o=document.createElement("script"),n=`${m}?l=${t}&id=${e}`;o.src=r?null==r?void 0:r.createScriptURL(n):n,o.async=!0,document.head.appendChild(o)}(a,f.measurementId),E&&(n("consent","default",E),E=void 0),n("js",new Date);const y=null!==(d=null==s?void 0:s.config)&&void 0!==d?d:{};return y[c]="firebase",y.update=!0,null!=v&&(y[l]=v),n("config",f.measurementId,y),k&&(n("set",k),k=void 0),f.measurementId}class A{constructor(t){this.app=t}_delete(){return delete T[this.app.options.appId],Promise.resolve()}}let T={},C=[];const S={};let D,L,N="dataLayer",O=!1;function M(t,e,r){!function(){const t=[];if((0,i.sr)()&&t.push("This is a browser extension environment."),(0,i.dM)()||t.push("Cookies are not available."),t.length>0){const e=t.map(((t,e)=>`(${e+1}) ${t}`)).join(" "),r=h.create("invalid-analytics-context",{errorInfo:e});p.warn(r.message)}}();const o=t.options.appId;if(!o)throw h.create("no-app-id");if(!t.options.apiKey){if(!t.options.measurementId)throw h.create("no-api-key");p.warn(`The "apiKey" field is empty in the local Firebase config. This is needed to fetch the latest measurement ID for this Firebase app. Falling back to the measurement ID ${t.options.measurementId} provided in the "measurementId" field in the local Firebase config.`)}if(null!=T[o])throw h.create("already-exists",{id:o});if(!O){!function(t){let e=[];Array.isArray(window[t])?e=window[t]:window[t]=e}(N);const{wrappedGtag:t,gtagCore:e}=function(t,e,r,o,n){let i=function(...t){window[o].push(arguments)};return window[n]&&"function"==typeof window[n]&&(i=window[n]),window[n]=function(t,e,r,o){return async function(n,...i){try{if("event"===n){const[o,n]=i;await async function(t,e,r,o,n){try{let i=[];if(n&&n.send_to){let t=n.send_to;Array.isArray(t)||(t=[t]);const o=await b(r);for(const r of t){const t=o.find((t=>t.measurementId===r)),n=t&&e[t.appId];if(!n){i=[];break}i.push(n)}}0===i.length&&(i=Object.values(e)),await Promise.all(i),t("event",o,n||{})}catch(t){p.error(t)}}(t,e,r,o,n)}else if("config"===n){const[n,a]=i;await async function(t,e,r,o,n,i){const a=o[n];try{if(a)await e[a];else{const t=(await b(r)).find((t=>t.measurementId===n));t&&await e[t.appId]}}catch(t){p.error(t)}t("config",n,i)}(t,e,r,o,n,a)}else if("consent"===n){const[e,r]=i;t("consent",e,r)}else if("get"===n){const[e,r,o]=i;t("get",e,r,o)}else if("set"===n){const[e]=i;t("set",e)}else t(n,...i)}catch(t){p.error(t)}}}(i,t,e,r),{gtagCore:i,wrappedGtag:window[n]}}(T,C,S,N,"gtag");L=t,D=e,O=!0}return T[o]=I(t,C,S,e,D,N,r),new A(t)}function R(t=(0,o.Sx)()){t=(0,i.Ku)(t);const e=(0,o.j6)(t,s);return e.isInitialized()?e.getImmediate():function(t,e={}){const r=(0,o.j6)(t,s);if(r.isInitialized()){const t=r.getImmediate();if((0,i.bD)(e,r.getOptions()))return t;throw h.create("already-initialized")}return r.initialize({options:e})}(t)}const B="@firebase/analytics",P="0.10.10";(0,o.om)(new a.uA(s,((t,{options:e})=>M(t.getProvider("app").getImmediate(),t.getProvider("installations-internal").getImmediate(),e)),"PUBLIC")),(0,o.om)(new a.uA("analytics-internal",(function(t){try{const e=t.getProvider(s).getImmediate();return{logEvent:(t,r,o)=>function(t,e,r,o){t=(0,i.Ku)(t),async function(t,e,r,o,n){if(n&&n.global)t("event",r,o);else{const n=await e;t("event",r,Object.assign(Object.assign({},o),{send_to:n}))}}(L,T[t.app.options.appId],e,r,o).catch((t=>p.error(t)))}(e,t,r,o)}}catch(t){throw h.create("interop-component-reg-failed",{reason:t})}}),"PRIVATE")),(0,o.KO)(B,P),(0,o.KO)(B,P,"esm2017")},526:(t,e,r)=>{"use strict";var o=r(8461),n=r(5125),i=r(6743),a=r(3424);const s=new Map,l={activated:!1,tokenObservers:[]},c={initialized:!1,enabled:!1};function d(t){return s.get(t)||Object.assign({},l)}function u(){return c}const m="https://content-firebaseappcheck.googleapis.com/v1",p="exchangeDebugToken",h={OFFSET_DURATION:3e5,RETRIAL_MIN_WAIT:3e4,RETRIAL_MAX_WAIT:96e4};class g{constructor(t,e,r,o,n){if(this.operation=t,this.retryPolicy=e,this.getWaitDuration=r,this.lowerBound=o,this.upperBound=n,this.pending=null,this.nextErrorWaitInterval=o,o>n)throw new Error("Proactive refresh lower bound greater than upper bound!")}start(){this.nextErrorWaitInterval=this.lowerBound,this.process(!0).catch((()=>{}))}stop(){this.pending&&(this.pending.reject("cancelled"),this.pending=null)}isRunning(){return!!this.pending}async process(t){this.stop();try{this.pending=new i.cY,this.pending.promise.catch((t=>{})),await(e=this.getNextRun(t),new Promise((t=>{setTimeout(t,e)}))),this.pending.resolve(),await this.pending.promise,this.pending=new i.cY,this.pending.promise.catch((t=>{})),await this.operation(),this.pending.resolve(),await this.pending.promise,this.process(!0).catch((()=>{}))}catch(t){this.retryPolicy(t)?this.process(!1).catch((()=>{})):this.stop()}var e}getNextRun(t){if(t)return this.nextErrorWaitInterval=this.lowerBound,this.getWaitDuration();{const t=this.nextErrorWaitInterval;return this.nextErrorWaitInterval*=2,this.nextErrorWaitInterval>this.upperBound&&(this.nextErrorWaitInterval=this.upperBound),t}}}const b=new i.FA("appCheck","AppCheck",{"already-initialized":"You have already called initializeAppCheck() for FirebaseApp {$appName} with different options. To avoid this error, call initializeAppCheck() with the same options as when it was originally called. This will return the already initialized instance.","use-before-activation":"App Check is being used before initializeAppCheck() is called for FirebaseApp {$appName}. Call initializeAppCheck() before instantiating other Firebase services.","fetch-network-error":"Fetch failed to connect to a network. Check Internet connection. Original error: {$originalErrorMessage}.","fetch-parse-error":"Fetch client could not parse response. Original error: {$originalErrorMessage}.","fetch-status-error":"Fetch server returned an HTTP error status. HTTP status: {$httpStatus}.","storage-open":"Error thrown when opening storage. Original error: {$originalErrorMessage}.","storage-get":"Error thrown when reading from storage. Original error: {$originalErrorMessage}.","storage-set":"Error thrown when writing to storage. Original error: {$originalErrorMessage}.","recaptcha-error":"ReCAPTCHA error.",throttled:"Requests throttled due to {$httpStatus} error. Attempts allowed again after {$time}"});function f(t){if(!d(t).activated)throw b.create("use-before-activation",{appName:t.name})}async function v({url:t,body:e},r){const o={"Content-Type":"application/json"},n=r.getImmediate({optional:!0});if(n){const t=await n.getHeartbeatsHeader();t&&(o["X-Firebase-Client"]=t)}const i={method:"POST",body:JSON.stringify(e),headers:o};let a,s;try{a=await fetch(t,i)}catch(t){throw b.create("fetch-network-error",{originalErrorMessage:null==t?void 0:t.message})}if(200!==a.status)throw b.create("fetch-status-error",{httpStatus:a.status});try{s=await a.json()}catch(t){throw b.create("fetch-parse-error",{originalErrorMessage:null==t?void 0:t.message})}const l=s.ttl.match(/^([\d.]+)(s)$/);if(!l||!l[2]||isNaN(Number(l[1])))throw b.create("fetch-parse-error",{originalErrorMessage:`ttl field (timeToLive) is not in standard Protobuf Duration format: ${s.ttl}`});const c=1e3*Number(l[1]),d=Date.now();return{token:s.token,expireTimeMillis:d+c,issuedAtTimeMillis:d}}function y(t,e){const{projectId:r,appId:o,apiKey:n}=t.options;return{url:`${m}/projects/${r}/apps/${o}:${p}?key=${n}`,body:{debug_token:e}}}const w="firebase-app-check-database",x=1,_="firebase-app-check-store";let k=null;async function E(t,e){const r=(await(k||(k=new Promise(((t,e)=>{try{const r=indexedDB.open(w,x);r.onsuccess=e=>{t(e.target.result)},r.onerror=t=>{var r;e(b.create("storage-open",{originalErrorMessage:null===(r=t.target.error)||void 0===r?void 0:r.message}))},r.onupgradeneeded=t=>{const e=t.target.result;0===t.oldVersion&&e.createObjectStore(_,{keyPath:"compositeKey"})}}catch(t){e(b.create("storage-open",{originalErrorMessage:null==t?void 0:t.message}))}})),k))).transaction(_,"readwrite"),o=r.objectStore(_).put({compositeKey:t,value:e});return new Promise(((t,e)=>{o.onsuccess=e=>{t()},r.onerror=t=>{var r;e(b.create("storage-set",{originalErrorMessage:null===(r=t.target.error)||void 0===r?void 0:r.message}))}}))}const I=new a.Vy("@firebase/app-check");function A(t,e){return(0,i.zW)()?function(t,e){return E(function(t){return`${t.options.appId}-${t.name}`}(t),e)}(t,e).catch((t=>{I.warn(`Failed to write token to IndexedDB. Error: ${t}`)})):Promise.resolve()}function T(){return u().enabled}async function C(){const t=u();if(t.enabled&&t.token)return t.token.promise;throw Error("\n Can't get debug token in production mode.\n ")}const S={error:"UNKNOWN_ERROR"};async function D(t,e=!1){const r=t.app;f(r);const o=d(r);let n,i=o.token;if(i&&!O(i)&&(o.token=void 0,i=void 0),!i){const t=await o.cachedTokenPromise;t&&(O(t)?i=t:await A(r,void 0))}if(!e&&i&&O(i))return{token:i.token};let a,s=!1;if(T()){o.exchangeTokenPromise||(o.exchangeTokenPromise=v(y(r,await C()),t.heartbeatServiceProvider).finally((()=>{o.exchangeTokenPromise=void 0})),s=!0);const e=await o.exchangeTokenPromise;return await A(r,e),o.token=e,{token:e.token}}try{o.exchangeTokenPromise||(o.exchangeTokenPromise=o.provider.getToken().finally((()=>{o.exchangeTokenPromise=void 0})),s=!0),i=await d(r).exchangeTokenPromise}catch(t){"appCheck/throttled"===t.code?I.warn(t.message):I.error(t),n=t}return i?n?a=O(i)?{token:i.token,internalError:n}:M(n):(a={token:i.token},o.token=i,await A(r,i)):a=M(n),s&&function(t,e){const r=d(t).tokenObservers;for(const t of r)try{"EXTERNAL"===t.type&&null!=e.error?t.error(e.error):t.next(e)}catch(t){}}(r,a),a}function L(t,e){const r=d(t),o=r.tokenObservers.filter((t=>t.next!==e));0===o.length&&r.tokenRefresher&&r.tokenRefresher.isRunning()&&r.tokenRefresher.stop(),r.tokenObservers=o}function N(t){const{app:e}=t,r=d(e);let o=r.tokenRefresher;o||(o=function(t){const{app:e}=t;return new g((async()=>{let r;if(r=d(e).token?await D(t,!0):await D(t),r.error)throw r.error;if(r.internalError)throw r.internalError}),(()=>!0),(()=>{const t=d(e);if(t.token){let e=t.token.issuedAtTimeMillis+.5*(t.token.expireTimeMillis-t.token.issuedAtTimeMillis)+3e5;const r=t.token.expireTimeMillis-3e5;return e=Math.min(e,r),Math.max(0,e-Date.now())}return 0}),h.RETRIAL_MIN_WAIT,h.RETRIAL_MAX_WAIT)}(t),r.tokenRefresher=o),!o.isRunning()&&r.isTokenAutoRefreshEnabled&&o.start()}function O(t){return t.expireTimeMillis-Date.now()>0}function M(t){return{token:(e=S,i.K3.encodeString(JSON.stringify(e),!1)),error:t};var e}class R{constructor(t,e){this.app=t,this.heartbeatServiceProvider=e}_delete(){const{tokenObservers:t}=d(this.app);for(const e of t)L(this.app,e.next);return Promise.resolve()}}const B="app-check-internal";(0,o.om)(new n.uA("app-check",(t=>{return e=t.getProvider("app").getImmediate(),r=t.getProvider("heartbeat"),new R(e,r);var e,r}),"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback(((t,e,r)=>{t.getProvider(B).initialize()}))),(0,o.om)(new n.uA(B,(t=>{return e=t.getProvider("app-check").getImmediate(),{getToken:t=>D(e,t),getLimitedUseToken:()=>async function(t){const e=t.app;f(e);const{provider:r}=d(e);if(T()){const r=await C(),{token:o}=await v(y(e,r),t.heartbeatServiceProvider);return{token:o}}{const{token:t}=await r.getToken();return{token:t}}}(e),addTokenListener:t=>function(t,e,r,o){const{app:n}=t,i=d(n),a={next:r,error:o,type:e};if(i.tokenObservers=[...i.tokenObservers,a],i.token&&O(i.token)){const e=i.token;Promise.resolve().then((()=>{r({token:e.token}),N(t)})).catch((()=>{}))}i.cachedTokenPromise.then((()=>N(t)))}(e,"INTERNAL",t),removeTokenListener:t=>L(e.app,t)};var e}),"PUBLIC").setInstantiationMode("EXPLICIT")),(0,o.KO)("@firebase/app-check","0.8.10")},8461:(t,e,r)=>{"use strict";r.d(e,{KO:()=>X,MF:()=>K,Sx:()=>Q,Wp:()=>W,j6:()=>U,om:()=>$});var o=r(5125),n=r(3424),i=r(6743),a=r(602);class s{constructor(t){this.container=t}getPlatformInfoString(){return this.container.getProviders().map((t=>{if(function(t){const e=t.getComponent();return"VERSION"===(null==e?void 0:e.type)}(t)){const e=t.getImmediate();return`${e.library}/${e.version}`}return null})).filter((t=>t)).join(" ")}}const l="@firebase/app",c="0.10.16",d=new n.Vy("@firebase/app"),u="@firebase/app-compat",m="@firebase/analytics-compat",p="@firebase/analytics",h="@firebase/app-check-compat",g="@firebase/app-check",b="@firebase/auth",f="@firebase/auth-compat",v="@firebase/database",y="@firebase/data-connect",w="@firebase/database-compat",x="@firebase/functions",_="@firebase/functions-compat",k="@firebase/installations",E="@firebase/installations-compat",I="@firebase/messaging",A="@firebase/messaging-compat",T="@firebase/performance",C="@firebase/performance-compat",S="@firebase/remote-config",D="@firebase/remote-config-compat",L="@firebase/storage",N="@firebase/storage-compat",O="@firebase/firestore",M="@firebase/vertexai",R="@firebase/firestore-compat",B="firebase",P="[DEFAULT]",V={[l]:"fire-core",[u]:"fire-core-compat",[p]:"fire-analytics",[m]:"fire-analytics-compat",[g]:"fire-app-check",[h]:"fire-app-check-compat",[b]:"fire-auth",[f]:"fire-auth-compat",[v]:"fire-rtdb",[y]:"fire-data-connect",[w]:"fire-rtdb-compat",[x]:"fire-fn",[_]:"fire-fn-compat",[k]:"fire-iid",[E]:"fire-iid-compat",[I]:"fire-fcm",[A]:"fire-fcm-compat",[T]:"fire-perf",[C]:"fire-perf-compat",[S]:"fire-rc",[D]:"fire-rc-compat",[L]:"fire-gcs",[N]:"fire-gcs-compat",[O]:"fire-fst",[R]:"fire-fst-compat",[M]:"fire-vertex","fire-js":"fire-js",[B]:"fire-js-all"},j=new Map,z=new Map,F=new Map;function q(t,e){try{t.container.addComponent(e)}catch(r){d.debug(`Component ${e.name} failed to register with FirebaseApp ${t.name}`,r)}}function $(t){const e=t.name;if(F.has(e))return d.debug(`There were multiple attempts to register component ${e}.`),!1;F.set(e,t);for(const e of j.values())q(e,t);for(const e of z.values())q(e,t);return!0}function U(t,e){const r=t.container.getProvider("heartbeat").getImmediate({optional:!0});return r&&r.triggerHeartbeat(),t.container.getProvider(e)}const H=new i.FA("app","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call initializeApp() first","bad-app-name":"Illegal App name: '{$appName}'","duplicate-app":"Firebase App named '{$appName}' already exists with different options or config","app-deleted":"Firebase App named '{$appName}' already deleted","server-app-deleted":"Firebase Server App has been deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invalid-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.","finalization-registry-not-supported":"FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.","invalid-server-app-environment":"FirebaseServerApp is not for use in browser environments."});class G{constructor(t,e,r){this._isDeleted=!1,this._options=Object.assign({},t),this._config=Object.assign({},e),this._name=e.name,this._automaticDataCollectionEnabled=e.automaticDataCollectionEnabled,this._container=r,this.container.addComponent(new o.uA("app",(()=>this),"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(t){this.checkDestroyed(),this._automaticDataCollectionEnabled=t}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(t){this._isDeleted=t}checkDestroyed(){if(this.isDeleted)throw H.create("app-deleted",{appName:this._name})}}const K="11.0.2";function W(t,e={}){let r=t;"object"!=typeof e&&(e={name:e});const n=Object.assign({name:P,automaticDataCollectionEnabled:!1},e),a=n.name;if("string"!=typeof a||!a)throw H.create("bad-app-name",{appName:String(a)});if(r||(r=(0,i.T9)()),!r)throw H.create("no-options");const s=j.get(a);if(s){if((0,i.bD)(r,s.options)&&(0,i.bD)(n,s.config))return s;throw H.create("duplicate-app",{appName:a})}const l=new o.h1(a);for(const t of F.values())l.addComponent(t);const c=new G(r,n,l);return j.set(a,c),c}function Q(t=P){const e=j.get(t);if(!e&&t===P&&(0,i.T9)())return W();if(!e)throw H.create("no-app",{appName:t});return e}function X(t,e,r){var n;let i=null!==(n=V[t])&&void 0!==n?n:t;r&&(i+=`-${r}`);const a=i.match(/\s|\//),s=e.match(/\s|\//);if(a||s){const t=[`Unable to register library "${i}" with version "${e}":`];return a&&t.push(`library name "${i}" contains illegal characters (whitespace or "/")`),a&&s&&t.push("and"),s&&t.push(`version name "${e}" contains illegal characters (whitespace or "/")`),void d.warn(t.join(" "))}$(new o.uA(`${i}-version`,(()=>({library:i,version:e})),"VERSION"))}const Y="firebase-heartbeat-database",J=1,Z="firebase-heartbeat-store";let tt=null;function et(){return tt||(tt=(0,a.P2)(Y,J,{upgrade:(t,e)=>{if(0===e)try{t.createObjectStore(Z)}catch(t){console.warn(t)}}}).catch((t=>{throw H.create("idb-open",{originalErrorMessage:t.message})}))),tt}async function rt(t,e){try{const r=(await et()).transaction(Z,"readwrite"),o=r.objectStore(Z);await o.put(e,ot(t)),await r.done}catch(t){if(t instanceof i.g)d.warn(t.message);else{const e=H.create("idb-set",{originalErrorMessage:null==t?void 0:t.message});d.warn(e.message)}}}function ot(t){return`${t.name}!${t.options.appId}`}class nt{constructor(t){this.container=t,this._heartbeatsCache=null;const e=this.container.getProvider("app").getImmediate();this._storage=new at(e),this._heartbeatsCachePromise=this._storage.read().then((t=>(this._heartbeatsCache=t,t)))}async triggerHeartbeat(){var t,e;try{const r=this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),o=it();if(null==(null===(t=this._heartbeatsCache)||void 0===t?void 0:t.heartbeats)&&(this._heartbeatsCache=await this._heartbeatsCachePromise,null==(null===(e=this._heartbeatsCache)||void 0===e?void 0:e.heartbeats)))return;if(this._heartbeatsCache.lastSentHeartbeatDate===o||this._heartbeatsCache.heartbeats.some((t=>t.date===o)))return;return this._heartbeatsCache.heartbeats.push({date:o,agent:r}),this._heartbeatsCache.heartbeats=this._heartbeatsCache.heartbeats.filter((t=>{const e=new Date(t.date).valueOf();return Date.now()-e<=2592e6})),this._storage.overwrite(this._heartbeatsCache)}catch(t){d.warn(t)}}async getHeartbeatsHeader(){var t;try{if(null===this._heartbeatsCache&&await this._heartbeatsCachePromise,null==(null===(t=this._heartbeatsCache)||void 0===t?void 0:t.heartbeats)||0===this._heartbeatsCache.heartbeats.length)return"";const e=it(),{heartbeatsToSend:r,unsentEntries:o}=function(t,e=1024){const r=[];let o=t.slice();for(const n of t){const t=r.find((t=>t.agent===n.agent));if(t){if(t.dates.push(n.date),st(r)>e){t.dates.pop();break}}else if(r.push({agent:n.agent,dates:[n.date]}),st(r)>e){r.pop();break}o=o.slice(1)}return{heartbeatsToSend:r,unsentEntries:o}}(this._heartbeatsCache.heartbeats),n=(0,i.Uj)(JSON.stringify({version:2,heartbeats:r}));return this._heartbeatsCache.lastSentHeartbeatDate=e,o.length>0?(this._heartbeatsCache.heartbeats=o,await this._storage.overwrite(this._heartbeatsCache)):(this._heartbeatsCache.heartbeats=[],this._storage.overwrite(this._heartbeatsCache)),n}catch(t){return d.warn(t),""}}}function it(){return(new Date).toISOString().substring(0,10)}class at{constructor(t){this.app=t,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}async runIndexedDBEnvironmentCheck(){return!!(0,i.zW)()&&(0,i.eX)().then((()=>!0)).catch((()=>!1))}async read(){if(await this._canUseIndexedDBPromise){const t=await async function(t){try{const e=(await et()).transaction(Z),r=await e.objectStore(Z).get(ot(t));return await e.done,r}catch(t){if(t instanceof i.g)d.warn(t.message);else{const e=H.create("idb-get",{originalErrorMessage:null==t?void 0:t.message});d.warn(e.message)}}}(this.app);return(null==t?void 0:t.heartbeats)?t:{heartbeats:[]}}return{heartbeats:[]}}async overwrite(t){var e;if(await this._canUseIndexedDBPromise){const r=await this.read();return rt(this.app,{lastSentHeartbeatDate:null!==(e=t.lastSentHeartbeatDate)&&void 0!==e?e:r.lastSentHeartbeatDate,heartbeats:t.heartbeats})}}async add(t){var e;if(await this._canUseIndexedDBPromise){const r=await this.read();return rt(this.app,{lastSentHeartbeatDate:null!==(e=t.lastSentHeartbeatDate)&&void 0!==e?e:r.lastSentHeartbeatDate,heartbeats:[...r.heartbeats,...t.heartbeats]})}}}function st(t){return(0,i.Uj)(JSON.stringify({version:2,heartbeats:t})).length}$(new o.uA("platform-logger",(t=>new s(t)),"PRIVATE")),$(new o.uA("heartbeat",(t=>new nt(t)),"PRIVATE")),X(l,c,""),X(l,c,"esm2017"),X("fire-js","")},5125:(t,e,r)=>{"use strict";r.d(e,{h1:()=>s,uA:()=>n});var o=r(6743);class n{constructor(t,e,r){this.name=t,this.instanceFactory=e,this.type=r,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(t){return this.instantiationMode=t,this}setMultipleInstances(t){return this.multipleInstances=t,this}setServiceProps(t){return this.serviceProps=t,this}setInstanceCreatedCallback(t){return this.onInstanceCreated=t,this}}const i="[DEFAULT]";class a{constructor(t,e){this.name=t,this.container=e,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(t){const e=this.normalizeInstanceIdentifier(t);if(!this.instancesDeferred.has(e)){const t=new o.cY;if(this.instancesDeferred.set(e,t),this.isInitialized(e)||this.shouldAutoInitialize())try{const r=this.getOrInitializeService({instanceIdentifier:e});r&&t.resolve(r)}catch(t){}}return this.instancesDeferred.get(e).promise}getImmediate(t){var e;const r=this.normalizeInstanceIdentifier(null==t?void 0:t.identifier),o=null!==(e=null==t?void 0:t.optional)&&void 0!==e&&e;if(!this.isInitialized(r)&&!this.shouldAutoInitialize()){if(o)return null;throw Error(`Service ${this.name} is not available`)}try{return this.getOrInitializeService({instanceIdentifier:r})}catch(t){if(o)return null;throw t}}getComponent(){return this.component}setComponent(t){if(t.name!==this.name)throw Error(`Mismatching Component ${t.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=t,this.shouldAutoInitialize()){if(function(t){return"EAGER"===t.instantiationMode}(t))try{this.getOrInitializeService({instanceIdentifier:i})}catch(t){}for(const[t,e]of this.instancesDeferred.entries()){const r=this.normalizeInstanceIdentifier(t);try{const t=this.getOrInitializeService({instanceIdentifier:r});e.resolve(t)}catch(t){}}}}clearInstance(t=i){this.instancesDeferred.delete(t),this.instancesOptions.delete(t),this.instances.delete(t)}async delete(){const t=Array.from(this.instances.values());await Promise.all([...t.filter((t=>"INTERNAL"in t)).map((t=>t.INTERNAL.delete())),...t.filter((t=>"_delete"in t)).map((t=>t._delete()))])}isComponentSet(){return null!=this.component}isInitialized(t=i){return this.instances.has(t)}getOptions(t=i){return this.instancesOptions.get(t)||{}}initialize(t={}){const{options:e={}}=t,r=this.normalizeInstanceIdentifier(t.instanceIdentifier);if(this.isInitialized(r))throw Error(`${this.name}(${r}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const o=this.getOrInitializeService({instanceIdentifier:r,options:e});for(const[t,e]of this.instancesDeferred.entries())r===this.normalizeInstanceIdentifier(t)&&e.resolve(o);return o}onInit(t,e){var r;const o=this.normalizeInstanceIdentifier(e),n=null!==(r=this.onInitCallbacks.get(o))&&void 0!==r?r:new Set;n.add(t),this.onInitCallbacks.set(o,n);const i=this.instances.get(o);return i&&t(i,o),()=>{n.delete(t)}}invokeOnInitCallbacks(t,e){const r=this.onInitCallbacks.get(e);if(r)for(const o of r)try{o(t,e)}catch(t){}}getOrInitializeService({instanceIdentifier:t,options:e={}}){let r=this.instances.get(t);if(!r&&this.component&&(r=this.component.instanceFactory(this.container,{instanceIdentifier:(o=t,o===i?void 0:o),options:e}),this.instances.set(t,r),this.instancesOptions.set(t,e),this.invokeOnInitCallbacks(r,t),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,t,r)}catch(t){}var o;return r||null}normalizeInstanceIdentifier(t=i){return this.component?this.component.multipleInstances?t:i:t}shouldAutoInitialize(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode}}class s{constructor(t){this.name=t,this.providers=new Map}addComponent(t){const e=this.getProvider(t.name);if(e.isComponentSet())throw new Error(`Component ${t.name} has already been registered with ${this.name}`);e.setComponent(t)}addOrOverwriteComponent(t){this.getProvider(t.name).isComponentSet()&&this.providers.delete(t.name),this.addComponent(t)}getProvider(t){if(this.providers.has(t))return this.providers.get(t);const e=new a(t,this);return this.providers.set(t,e),e}getProviders(){return Array.from(this.providers.values())}}},9559:(t,e,r)=>{"use strict";var o=r(8461),n=r(5125),i=r(6743),a=r(602);const s="@firebase/installations",l="0.6.11",c=1e4,d=`w:${l}`,u="FIS_v2",m="https://firebaseinstallations.googleapis.com/v1",p=36e5,h=new i.FA("installations","Installations",{"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"not-registered":"Firebase Installation is not registered.","installation-not-found":"Firebase Installation not found.","request-failed":'{$requestName} request failed with error "{$serverCode} {$serverStatus}: {$serverMessage}"',"app-offline":"Could not process request. Application offline.","delete-pending-registration":"Can't delete installation while there is a pending registration request."});function g(t){return t instanceof i.g&&t.code.includes("request-failed")}function b({projectId:t}){return`${m}/projects/${t}/installations`}function f(t){return{token:t.token,requestStatus:2,expiresIn:(e=t.expiresIn,Number(e.replace("s","000"))),creationTime:Date.now()};var e}async function v(t,e){const r=(await e.json()).error;return h.create("request-failed",{requestName:t,serverCode:r.code,serverMessage:r.message,serverStatus:r.status})}function y({apiKey:t}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":t})}async function w(t){const e=await t();return e.status>=500&&e.status<600?t():e}function x(t){return new Promise((e=>{setTimeout(e,t)}))}const _=/^[cdef][\w-]{21}$/,k="";function E(){try{const t=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(t),t[0]=112+t[0]%16;const e=function(t){var e;return(e=t,btoa(String.fromCharCode(...e)).replace(/\+/g,"-").replace(/\//g,"_")).substr(0,22)}(t);return _.test(e)?e:k}catch(t){return k}}function I(t){return`${t.appName}!${t.appId}`}const A=new Map;function T(t,e){const r=I(t);C(r,e),function(t,e){const r=(!S&&"BroadcastChannel"in self&&(S=new BroadcastChannel("[Firebase] FID Change"),S.onmessage=t=>{C(t.data.key,t.data.fid)}),S);r&&r.postMessage({key:t,fid:e}),0===A.size&&S&&(S.close(),S=null)}(r,e)}function C(t,e){const r=A.get(t);if(r)for(const t of r)t(e)}let S=null;const D="firebase-installations-database",L=1,N="firebase-installations-store";let O=null;function M(){return O||(O=(0,a.P2)(D,L,{upgrade:(t,e)=>{0===e&&t.createObjectStore(N)}})),O}async function R(t,e){const r=I(t),o=(await M()).transaction(N,"readwrite"),n=o.objectStore(N),i=await n.get(r);return await n.put(e,r),await o.done,i&&i.fid===e.fid||T(t,e.fid),e}async function B(t){const e=I(t),r=(await M()).transaction(N,"readwrite");await r.objectStore(N).delete(e),await r.done}async function P(t,e){const r=I(t),o=(await M()).transaction(N,"readwrite"),n=o.objectStore(N),i=await n.get(r),a=e(i);return void 0===a?await n.delete(r):await n.put(a,r),await o.done,!a||i&&i.fid===a.fid||T(t,a.fid),a}async function V(t){let e;const r=await P(t.appConfig,(r=>{const o=function(t){return F(t||{fid:E(),registrationStatus:0})}(r),n=function(t,e){if(0===e.registrationStatus){if(!navigator.onLine)return{installationEntry:e,registrationPromise:Promise.reject(h.create("app-offline"))};const r={fid:e.fid,registrationStatus:1,registrationTime:Date.now()},o=async function(t,e){try{const r=await async function({appConfig:t,heartbeatServiceProvider:e},{fid:r}){const o=b(t),n=y(t),i=e.getImmediate({optional:!0});if(i){const t=await i.getHeartbeatsHeader();t&&n.append("x-firebase-client",t)}const a={fid:r,authVersion:u,appId:t.appId,sdkVersion:d},s={method:"POST",headers:n,body:JSON.stringify(a)},l=await w((()=>fetch(o,s)));if(l.ok){const t=await l.json();return{fid:t.fid||r,registrationStatus:2,refreshToken:t.refreshToken,authToken:f(t.authToken)}}throw await v("Create Installation",l)}(t,e);return R(t.appConfig,r)}catch(r){throw g(r)&&409===r.customData.serverCode?await B(t.appConfig):await R(t.appConfig,{fid:e.fid,registrationStatus:0}),r}}(t,r);return{installationEntry:r,registrationPromise:o}}return 1===e.registrationStatus?{installationEntry:e,registrationPromise:j(t)}:{installationEntry:e}}(t,o);return e=n.registrationPromise,n.installationEntry}));return r.fid===k?{installationEntry:await e}:{installationEntry:r,registrationPromise:e}}async function j(t){let e=await z(t.appConfig);for(;1===e.registrationStatus;)await x(100),e=await z(t.appConfig);if(0===e.registrationStatus){const{installationEntry:e,registrationPromise:r}=await V(t);return r||e}return e}function z(t){return P(t,(t=>{if(!t)throw h.create("installation-not-found");return F(t)}))}function F(t){return 1===(e=t).registrationStatus&&e.registrationTime+cfetch(o,s)));if(l.ok)return f(await l.json());throw await v("Generate Auth Token",l)}async function $(t,e=!1){let r;const o=await P(t.appConfig,(o=>{if(!H(o))throw h.create("not-registered");const n=o.authToken;if(!e&&(2===(i=n).requestStatus&&!function(t){const e=Date.now();return e{if(!H(t))throw h.create("not-registered");return 1===(e=t.authToken).requestStatus&&e.requestTime+c{const e=t.getProvider("app").getImmediate(),r=function(t){if(!t||!t.options)throw G("App Configuration");if(!t.name)throw G("App Name");const e=["projectId","apiKey","appId"];for(const r of e)if(!t.options[r])throw G(r);return{appName:t.name,projectId:t.options.projectId,apiKey:t.options.apiKey,appId:t.options.appId}}(e);return{app:e,appConfig:r,heartbeatServiceProvider:(0,o.j6)(e,"heartbeat"),_delete:()=>Promise.resolve()}}),"PUBLIC")),(0,o.om)(new n.uA("installations-internal",(t=>{const e=t.getProvider("app").getImmediate(),r=(0,o.j6)(e,K).getImmediate();return{getId:()=>async function(t){const e=t,{installationEntry:r,registrationPromise:o}=await V(e);return o?o.catch(console.error):$(e).catch(console.error),r.fid}(r),getToken:t=>async function(t,e=!1){const r=t;return await async function(t){const{registrationPromise:e}=await V(t);e&&await e}(r),(await $(r,e)).token}(r,t)}}),"PRIVATE")),(0,o.KO)(s,l),(0,o.KO)(s,l,"esm2017")},3424:(t,e,r)=>{"use strict";r.d(e,{$b:()=>n,Vy:()=>c});const o=[];var n;!function(t){t[t.DEBUG=0]="DEBUG",t[t.VERBOSE=1]="VERBOSE",t[t.INFO=2]="INFO",t[t.WARN=3]="WARN",t[t.ERROR=4]="ERROR",t[t.SILENT=5]="SILENT"}(n||(n={}));const i={debug:n.DEBUG,verbose:n.VERBOSE,info:n.INFO,warn:n.WARN,error:n.ERROR,silent:n.SILENT},a=n.INFO,s={[n.DEBUG]:"log",[n.VERBOSE]:"log",[n.INFO]:"info",[n.WARN]:"warn",[n.ERROR]:"error"},l=(t,e,...r)=>{if(e{"use strict";r.d(e,{VV:()=>n,jz:()=>o});var o,n,i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},a={};(function(){var t;function e(){this.blockSize=-1,this.blockSize=64,this.g=Array(4),this.B=Array(this.blockSize),this.o=this.h=0,this.s()}function r(t,e,r){r||(r=0);var o=Array(16);if("string"==typeof e)for(var n=0;16>n;++n)o[n]=e.charCodeAt(r++)|e.charCodeAt(r++)<<8|e.charCodeAt(r++)<<16|e.charCodeAt(r++)<<24;else for(n=0;16>n;++n)o[n]=e[r++]|e[r++]<<8|e[r++]<<16|e[r++]<<24;e=t.g[0],r=t.g[1],n=t.g[2];var i=t.g[3],a=e+(i^r&(n^i))+o[0]+3614090360&4294967295;a=(r=(n=(i=(e=(r=(n=(i=(e=(r=(n=(i=(e=(r=(n=(i=(e=(r=(n=(i=(e=(r=(n=(i=(e=(r=(n=(i=(e=(r=(n=(i=(e=(r=(n=(i=(e=(r=(n=(i=(e=(r=(n=(i=(e=(r=(n=(i=(e=(r=(n=(i=(e=(r=(n=(i=(e=(r=(n=(i=(e=r+(a<<7&4294967295|a>>>25))+((a=i+(n^e&(r^n))+o[1]+3905402710&4294967295)<<12&4294967295|a>>>20))+((a=n+(r^i&(e^r))+o[2]+606105819&4294967295)<<17&4294967295|a>>>15))+((a=r+(e^n&(i^e))+o[3]+3250441966&4294967295)<<22&4294967295|a>>>10))+((a=e+(i^r&(n^i))+o[4]+4118548399&4294967295)<<7&4294967295|a>>>25))+((a=i+(n^e&(r^n))+o[5]+1200080426&4294967295)<<12&4294967295|a>>>20))+((a=n+(r^i&(e^r))+o[6]+2821735955&4294967295)<<17&4294967295|a>>>15))+((a=r+(e^n&(i^e))+o[7]+4249261313&4294967295)<<22&4294967295|a>>>10))+((a=e+(i^r&(n^i))+o[8]+1770035416&4294967295)<<7&4294967295|a>>>25))+((a=i+(n^e&(r^n))+o[9]+2336552879&4294967295)<<12&4294967295|a>>>20))+((a=n+(r^i&(e^r))+o[10]+4294925233&4294967295)<<17&4294967295|a>>>15))+((a=r+(e^n&(i^e))+o[11]+2304563134&4294967295)<<22&4294967295|a>>>10))+((a=e+(i^r&(n^i))+o[12]+1804603682&4294967295)<<7&4294967295|a>>>25))+((a=i+(n^e&(r^n))+o[13]+4254626195&4294967295)<<12&4294967295|a>>>20))+((a=n+(r^i&(e^r))+o[14]+2792965006&4294967295)<<17&4294967295|a>>>15))+((a=r+(e^n&(i^e))+o[15]+1236535329&4294967295)<<22&4294967295|a>>>10))+((a=e+(n^i&(r^n))+o[1]+4129170786&4294967295)<<5&4294967295|a>>>27))+((a=i+(r^n&(e^r))+o[6]+3225465664&4294967295)<<9&4294967295|a>>>23))+((a=n+(e^r&(i^e))+o[11]+643717713&4294967295)<<14&4294967295|a>>>18))+((a=r+(i^e&(n^i))+o[0]+3921069994&4294967295)<<20&4294967295|a>>>12))+((a=e+(n^i&(r^n))+o[5]+3593408605&4294967295)<<5&4294967295|a>>>27))+((a=i+(r^n&(e^r))+o[10]+38016083&4294967295)<<9&4294967295|a>>>23))+((a=n+(e^r&(i^e))+o[15]+3634488961&4294967295)<<14&4294967295|a>>>18))+((a=r+(i^e&(n^i))+o[4]+3889429448&4294967295)<<20&4294967295|a>>>12))+((a=e+(n^i&(r^n))+o[9]+568446438&4294967295)<<5&4294967295|a>>>27))+((a=i+(r^n&(e^r))+o[14]+3275163606&4294967295)<<9&4294967295|a>>>23))+((a=n+(e^r&(i^e))+o[3]+4107603335&4294967295)<<14&4294967295|a>>>18))+((a=r+(i^e&(n^i))+o[8]+1163531501&4294967295)<<20&4294967295|a>>>12))+((a=e+(n^i&(r^n))+o[13]+2850285829&4294967295)<<5&4294967295|a>>>27))+((a=i+(r^n&(e^r))+o[2]+4243563512&4294967295)<<9&4294967295|a>>>23))+((a=n+(e^r&(i^e))+o[7]+1735328473&4294967295)<<14&4294967295|a>>>18))+((a=r+(i^e&(n^i))+o[12]+2368359562&4294967295)<<20&4294967295|a>>>12))+((a=e+(r^n^i)+o[5]+4294588738&4294967295)<<4&4294967295|a>>>28))+((a=i+(e^r^n)+o[8]+2272392833&4294967295)<<11&4294967295|a>>>21))+((a=n+(i^e^r)+o[11]+1839030562&4294967295)<<16&4294967295|a>>>16))+((a=r+(n^i^e)+o[14]+4259657740&4294967295)<<23&4294967295|a>>>9))+((a=e+(r^n^i)+o[1]+2763975236&4294967295)<<4&4294967295|a>>>28))+((a=i+(e^r^n)+o[4]+1272893353&4294967295)<<11&4294967295|a>>>21))+((a=n+(i^e^r)+o[7]+4139469664&4294967295)<<16&4294967295|a>>>16))+((a=r+(n^i^e)+o[10]+3200236656&4294967295)<<23&4294967295|a>>>9))+((a=e+(r^n^i)+o[13]+681279174&4294967295)<<4&4294967295|a>>>28))+((a=i+(e^r^n)+o[0]+3936430074&4294967295)<<11&4294967295|a>>>21))+((a=n+(i^e^r)+o[3]+3572445317&4294967295)<<16&4294967295|a>>>16))+((a=r+(n^i^e)+o[6]+76029189&4294967295)<<23&4294967295|a>>>9))+((a=e+(r^n^i)+o[9]+3654602809&4294967295)<<4&4294967295|a>>>28))+((a=i+(e^r^n)+o[12]+3873151461&4294967295)<<11&4294967295|a>>>21))+((a=n+(i^e^r)+o[15]+530742520&4294967295)<<16&4294967295|a>>>16))+((a=r+(n^i^e)+o[2]+3299628645&4294967295)<<23&4294967295|a>>>9))+((a=e+(n^(r|~i))+o[0]+4096336452&4294967295)<<6&4294967295|a>>>26))+((a=i+(r^(e|~n))+o[7]+1126891415&4294967295)<<10&4294967295|a>>>22))+((a=n+(e^(i|~r))+o[14]+2878612391&4294967295)<<15&4294967295|a>>>17))+((a=r+(i^(n|~e))+o[5]+4237533241&4294967295)<<21&4294967295|a>>>11))+((a=e+(n^(r|~i))+o[12]+1700485571&4294967295)<<6&4294967295|a>>>26))+((a=i+(r^(e|~n))+o[3]+2399980690&4294967295)<<10&4294967295|a>>>22))+((a=n+(e^(i|~r))+o[10]+4293915773&4294967295)<<15&4294967295|a>>>17))+((a=r+(i^(n|~e))+o[1]+2240044497&4294967295)<<21&4294967295|a>>>11))+((a=e+(n^(r|~i))+o[8]+1873313359&4294967295)<<6&4294967295|a>>>26))+((a=i+(r^(e|~n))+o[15]+4264355552&4294967295)<<10&4294967295|a>>>22))+((a=n+(e^(i|~r))+o[6]+2734768916&4294967295)<<15&4294967295|a>>>17))+((a=r+(i^(n|~e))+o[13]+1309151649&4294967295)<<21&4294967295|a>>>11))+((i=(e=r+((a=e+(n^(r|~i))+o[4]+4149444226&4294967295)<<6&4294967295|a>>>26))+((a=i+(r^(e|~n))+o[11]+3174756917&4294967295)<<10&4294967295|a>>>22))^((n=i+((a=n+(e^(i|~r))+o[2]+718787259&4294967295)<<15&4294967295|a>>>17))|~e))+o[9]+3951481745&4294967295,t.g[0]=t.g[0]+e&4294967295,t.g[1]=t.g[1]+(n+(a<<21&4294967295|a>>>11))&4294967295,t.g[2]=t.g[2]+n&4294967295,t.g[3]=t.g[3]+i&4294967295}function i(t,e){this.h=e;for(var r=[],o=!0,n=t.length-1;0<=n;n--){var i=0|t[n];o&&i==e||(r[n]=i,o=!1)}this.g=r}!function(t,e){function r(){}r.prototype=e.prototype,t.D=e.prototype,t.prototype=new r,t.prototype.constructor=t,t.C=function(t,r,o){for(var n=Array(arguments.length-2),i=2;ithis.h?this.blockSize:2*this.blockSize)-this.h);t[0]=128;for(var e=1;ee;++e)for(var o=0;32>o;o+=8)t[r++]=this.g[e]>>>o&255;return t};var s={};function l(t){return-128<=t&&128>t?function(t,e){var r=s;return Object.prototype.hasOwnProperty.call(r,t)?r[t]:r[t]=function(t){return new i([0|t],0>t?-1:0)}(t)}(t):new i([0|t],0>t?-1:0)}function c(t){if(isNaN(t)||!isFinite(t))return d;if(0>t)return g(c(-t));for(var e=[],r=1,o=0;t>=r;o++)e[o]=t/r|0,r*=4294967296;return new i(e,0)}var d=l(0),u=l(1),m=l(16777216);function p(t){if(0!=t.h)return!1;for(var e=0;e>>16,t[e]&=65535,e++}function v(t,e){this.g=t,this.h=e}function y(t,e){if(p(e))throw Error("division by zero");if(p(t))return new v(d,d);if(h(t))return e=y(g(t),e),new v(g(e.g),g(e.h));if(h(e))return e=y(t,g(e)),new v(g(e.g),e.h);if(30=o.l(t);)r=w(r),o=w(o);var n=x(r,1),i=x(o,1);for(o=x(o,2),r=x(r,2);!p(o);){var a=i.add(o);0>=a.l(t)&&(n=n.add(r),i=a),o=x(o,1),r=x(r,1)}return e=b(t,n.j(e)),new v(n,e)}for(n=d;0<=t.l(e);){for(r=Math.max(1,Math.floor(t.m()/e.m())),o=48>=(o=Math.ceil(Math.log(r)/Math.LN2))?1:Math.pow(2,o-48),a=(i=c(r)).j(e);h(a)||0>>31;return new i(r,t.h)}function x(t,e){var r=e>>5;e%=32;for(var o=t.g.length-r,n=[],a=0;a>>e|t.i(a+r+1)<<32-e:t.i(a+r);return new i(n,t.h)}(t=i.prototype).m=function(){if(h(this))return-g(this).m();for(var t=0,e=1,r=0;r(t=t||10)||36>>0).toString(t);if(p(r=n))return i+o;for(;6>i.length;)i="0"+i;o=i+o}},t.i=function(t){return 0>t?0:t>>16)+(this.i(n)>>>16)+(t.i(n)>>>16);o=s>>>16,a&=65535,s&=65535,r[n]=s<<16|a}return new i(r,-2147483648&r[r.length-1]?-1:0)},t.j=function(t){if(p(this)||p(t))return d;if(h(this))return h(t)?g(this).j(g(t)):g(g(this).j(t));if(h(t))return g(this.j(g(t)));if(0>this.l(m)&&0>t.l(m))return c(this.m()*t.m());for(var e=this.g.length+t.g.length,r=[],o=0;o<2*e;o++)r[o]=0;for(o=0;o>>16,s=65535&this.i(o),l=t.i(n)>>>16,u=65535&t.i(n);r[2*o+2*n]+=s*u,f(r,2*o+2*n),r[2*o+2*n+1]+=a*u,f(r,2*o+2*n+1),r[2*o+2*n+1]+=s*l,f(r,2*o+2*n+1),r[2*o+2*n+2]+=a*l,f(r,2*o+2*n+2)}for(o=0;o(r=r||10)||36a?(a=c(Math.pow(r,a)),n=n.j(a).add(c(s))):n=(n=n.j(o)).add(c(s))}return n},o=a.Integer=i}).apply(void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},1853:(t,e,r)=>{"use strict";r.d(e,{Ao:()=>c,Bx:()=>i,Jh:()=>l,O4:()=>a,ZS:()=>o,fF:()=>d,iO:()=>n,ro:()=>s});var o,n,i,a,s,l,c,d,u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},m={};(function(){var t,e="function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,r){return t==Array.prototype||t==Object.prototype||(t[e]=r.value),t},r=function(t){t=["object"==typeof globalThis&&globalThis,t,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof u&&u];for(var e=0;e{throw t}),0)}function M(){var t=j;let e=null;return t.g&&(e=t.g,t.g=t.g.next,t.g||(t.h=null),e.next=null),e}var R=new class{constructor(t,e){this.i=t,this.j=e,this.h=0,this.g=null}get(){let t;return 0new B),(t=>t.reset()));class B{constructor(){this.next=this.g=this.h=null}set(t,e){this.h=t,this.g=e,this.next=null}reset(){this.next=this.g=this.h=null}}let P,V=!1,j=new class{constructor(){this.h=this.g=null}add(t,e){const r=R.get();r.set(t,e),this.h?this.h.next=r:this.g=r,this.h=r}},z=()=>{const t=h.Promise.resolve(void 0);P=()=>{t.then(F)}};var F=()=>{for(var t;t=M();){try{t.h.call(t.g)}catch(t){O(t)}var e=R;e.j(t),100>e.h&&(e.h++,t.next=e.g,e.g=t)}V=!1};function q(){this.s=this.s,this.C=this.C}function $(t,e){this.type=t,this.g=this.target=e,this.defaultPrevented=!1}q.prototype.s=!1,q.prototype.ma=function(){this.s||(this.s=!0,this.N())},q.prototype.N=function(){if(this.C)for(;this.C.length;)this.C.shift()()},$.prototype.h=function(){this.defaultPrevented=!0};var U=function(){if(!h.addEventListener||!Object.defineProperty)return!1;var t=!1,e=Object.defineProperty({},"passive",{get:function(){t=!0}});try{const t=()=>{};h.addEventListener("test",t,e),h.removeEventListener("test",t,e)}catch(t){}return t}();function H(t,e){if($.call(this,t?t.type:""),this.relatedTarget=this.g=this.target=null,this.button=this.screenY=this.screenX=this.clientY=this.clientX=0,this.key="",this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1,this.state=null,this.pointerId=0,this.pointerType="",this.i=null,t){var r=this.type=t.type,o=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:null;if(this.target=t.target||t.srcElement,this.g=e,e=t.relatedTarget){if(T){t:{try{A(e.nodeName);var n=!0;break t}catch(t){}n=!1}n||(e=null)}}else"mouseover"==r?e=t.fromElement:"mouseout"==r&&(e=t.toElement);this.relatedTarget=e,o?(this.clientX=void 0!==o.clientX?o.clientX:o.pageX,this.clientY=void 0!==o.clientY?o.clientY:o.pageY,this.screenX=o.screenX||0,this.screenY=o.screenY||0):(this.clientX=void 0!==t.clientX?t.clientX:t.pageX,this.clientY=void 0!==t.clientY?t.clientY:t.pageY,this.screenX=t.screenX||0,this.screenY=t.screenY||0),this.button=t.button,this.key=t.key||"",this.ctrlKey=t.ctrlKey,this.altKey=t.altKey,this.shiftKey=t.shiftKey,this.metaKey=t.metaKey,this.pointerId=t.pointerId||0,this.pointerType="string"==typeof t.pointerType?t.pointerType:G[t.pointerType]||"",this.state=t.state,this.i=t,t.defaultPrevented&&H.aa.h.call(this)}}x(H,$);var G={2:"touch",3:"pen",4:"mouse"};H.prototype.h=function(){H.aa.h.call(this);var t=this.i;t.preventDefault?t.preventDefault():t.returnValue=!1};var K="closure_listenable_"+(1e6*Math.random()|0),W=0;function Q(t,e,r,o,n){this.listener=t,this.proxy=null,this.src=e,this.type=r,this.capture=!!o,this.ha=n,this.key=++W,this.da=this.fa=!1}function X(t){t.da=!0,t.listener=null,t.proxy=null,t.src=null,t.ha=null}function Y(t){this.src=t,this.g={},this.h=0}function J(t,e){var r=e.type;if(r in t.g){var o,n=t.g[r],i=Array.prototype.indexOf.call(n,e,void 0);(o=0<=i)&&Array.prototype.splice.call(n,i,1),o&&(X(e),0==t.g[r].length&&(delete t.g[r],t.h--))}}function Z(t,e,r,o){for(var n=0;n>>0);function ut(t){return"function"==typeof t?t:(t[dt]||(t[dt]=function(e){return t.handleEvent(e)}),t[dt])}function mt(){q.call(this),this.i=new Y(this),this.M=this,this.F=null}function pt(t,e){var r,o=t.F;if(o)for(r=[];o;o=o.F)r.push(o);if(t=t.M,o=e.type||e,"string"==typeof e)e=new $(e,t);else if(e instanceof $)e.target=e.target||t;else{var n=e;L(e=new $(o,t),n)}if(n=!0,r)for(var i=r.length-1;0<=i;i--){var a=e.g=r[i];n=ht(a,o,!0,e)&&n}if(n=ht(a=e.g=t,o,!0,e)&&n,n=ht(a,o,!1,e)&&n,r)for(i=0;i{t.g=null,t.i&&(t.i=!1,bt(t))}),t.l);const e=t.h;t.h=null,t.m.apply(null,e)}x(mt,q),mt.prototype[K]=!0,mt.prototype.removeEventListener=function(t,e,r,o){it(this,t,e,r,o)},mt.prototype.N=function(){if(mt.aa.N.call(this),this.i){var t,e=this.i;for(t in e.g){for(var r=e.g[t],o=0;oo.length)){var n=o[1];if(Array.isArray(n)&&!(1>n.length)){var i=n[0];if("noop"!=i&&"stop"!=i&&"close"!=i)for(var a=1;ae.length?Wt:(e=e.slice(o,o+r),t.C=o+r,e))}function Zt(t){t.S=Date.now()+t.I,te(t,t.I)}function te(t,e){if(null!=t.B)throw Error("WatchDog timer not null");t.B=Vt(y(t.ba,t),e)}function ee(t){t.B&&(h.clearTimeout(t.B),t.B=null)}function re(t){0==t.j.G||t.J||fr(t.j,t)}function oe(t){ee(t);var e=t.M;e&&"function"==typeof e.ma&&e.ma(),t.M=null,wt(t.U),t.g&&(e=t.g,t.g=null,e.abort(),e.ma())}function ne(t,e){try{var r=t.j;if(0!=r.G&&(r.g==t||ce(r.h,t)))if(!t.K&&ce(r.h,t)&&3==r.G){try{var o=r.Da.g.parse(e)}catch(t){o=null}if(Array.isArray(o)&&3==o.length){var n=o;if(0==n[0]){t:if(!r.u){if(r.g){if(!(r.g.F+3e3n[2]&&r.F&&0==r.v&&!r.C&&(r.C=Vt(y(r.Za,r),6e3));if(1>=le(r.h)&&r.ca){try{r.ca()}catch(t){}r.ca=void 0}}else yr(r,11)}else if((t.K||r.g==t)&&br(r),!E(e))for(n=r.Da.g.parse(e),e=0;eu)&&(3!=u||this.g&&(this.h.h||this.g.oa()||rr(this.g)))){this.J||4!=u||7==e||Mt(),ee(this);var r=this.g.Z();this.X=r;e:if(Yt(this)){var o=rr(this.g);t="";var n=o.length,i=4==er(this.g);if(!this.h.i){if("undefined"==typeof TextDecoder){oe(this),re(this);var a="";break e}this.h.i=new h.TextDecoder}for(e=0;e=t.j}function le(t){return t.h?1:t.g?t.g.size:0}function ce(t,e){return t.h?t.h==e:!!t.g&&t.g.has(e)}function de(t,e){t.g?t.g.add(e):t.h=e}function ue(t,e){t.h&&t.h==e?t.h=null:t.g&&t.g.has(e)&&t.g.delete(e)}function me(t){if(null!=t.h)return t.i.concat(t.h.D);if(null!=t.g&&0!==t.g.size){let e=t.i;for(const r of t.g.values())e=e.concat(r.D);return e}return _(t.i)}function pe(t,e){if(t.forEach&&"function"==typeof t.forEach)t.forEach(e,void 0);else if(g(t)||"string"==typeof t)Array.prototype.forEach.call(t,e,void 0);else for(var r=function(t){if(t.na&&"function"==typeof t.na)return t.na();if(!t.V||"function"!=typeof t.V){if("undefined"!=typeof Map&&t instanceof Map)return Array.from(t.keys());if(!("undefined"!=typeof Set&&t instanceof Set)){if(g(t)||"string"==typeof t){var e=[];t=t.length;for(var r=0;re)throw Error("Bad port number "+e);t.s=e}else t.s=null}function ye(t,e,r){e instanceof Le?(t.i=e,function(t,e){e&&!t.j&&(Ne(t),t.i=null,t.g.forEach((function(t,e){var r=e.toLowerCase();e!=r&&(Oe(this,e),Re(this,r,t))}),t)),t.j=e}(t.i,t.h)):(r||(e=ke(e,Se)),t.i=new Le(e,t.h))}function we(t,e,r){t.i.set(e,r)}function xe(t){return we(t,"zx",Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Date.now()).toString(36)),t}function _e(t,e){return t?e?decodeURI(t.replace(/%25/g,"%2525")):decodeURIComponent(t):""}function ke(t,e,r){return"string"==typeof t?(t=encodeURI(t).replace(e,Ee),r&&(t=t.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),t):null}function Ee(t){return"%"+((t=t.charCodeAt(0))>>4&15).toString(16)+(15&t).toString(16)}ge.prototype.toString=function(){var t=[],e=this.j;e&&t.push(ke(e,Ae,!0),":");var r=this.g;return(r||"file"==e)&&(t.push("//"),(e=this.o)&&t.push(ke(e,Ae,!0),"@"),t.push(encodeURIComponent(String(r)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),null!=(r=this.s)&&t.push(":",String(r))),(r=this.l)&&(this.g&&"/"!=r.charAt(0)&&t.push("/"),t.push(ke(r,"/"==r.charAt(0)?Ce:Te,!0))),(r=this.i.toString())&&t.push("?",r),(r=this.m)&&t.push("#",ke(r,De)),t.join("")};var Ie,Ae=/[#\/\?@]/g,Te=/[#\?:]/g,Ce=/[#\?]/g,Se=/[#\?@]/g,De=/#/g;function Le(t,e){this.h=this.g=null,this.i=t||null,this.j=!!e}function Ne(t){t.g||(t.g=new Map,t.h=0,t.i&&function(t,e){if(t){t=t.split("&");for(var r=0;r{})),1<=this.readyState&&this.g&&4!=this.readyState&&(this.g=!1,$e(this)),this.readyState=0},t.Sa=function(t){if(this.g&&(this.l=t,this.h||(this.status=this.l.status,this.statusText=this.l.statusText,this.h=t.headers,this.readyState=2,Ue(this)),this.g&&(this.readyState=3,Ue(this),this.g)))if("arraybuffer"===this.responseType)t.arrayBuffer().then(this.Qa.bind(this),this.ga.bind(this));else if(void 0!==h.ReadableStream&&"body"in t){if(this.j=t.body.getReader(),this.o){if(this.responseType)throw Error('responseType must be empty for "streamBinaryChunks" mode responses.');this.response=[]}else this.response=this.responseText="",this.v=new TextDecoder;qe(this)}else t.text().then(this.Ra.bind(this),this.ga.bind(this))},t.Pa=function(t){if(this.g){if(this.o&&t.value)this.response.push(t.value);else if(!this.o){var e=t.value?t.value:new Uint8Array(0);(e=this.v.decode(e,{stream:!t.done}))&&(this.response=this.responseText+=e)}t.done?$e(this):Ue(this),3==this.readyState&&qe(this)}},t.Ra=function(t){this.g&&(this.response=this.responseText=t,$e(this))},t.Qa=function(t){this.g&&(this.response=t,$e(this))},t.ga=function(){this.g&&$e(this)},t.setRequestHeader=function(t,e){this.u.append(t,e)},t.getResponseHeader=function(t){return this.h&&this.h.get(t.toLowerCase())||""},t.getAllResponseHeaders=function(){if(!this.h)return"";const t=[],e=this.h.entries();for(var r=e.next();!r.done;)r=r.value,t.push(r[0]+": "+r[1]),r=e.next();return t.join("\r\n")},Object.defineProperty(Fe.prototype,"withCredentials",{get:function(){return"include"===this.m},set:function(t){this.m=t?"include":"same-origin"}}),x(Ke,mt);var We=/^https?$/i,Qe=["POST","PUT"];function Xe(t,e){t.h=!1,t.g&&(t.j=!0,t.g.abort(),t.j=!1),t.l=e,t.m=5,Ye(t),Ze(t)}function Ye(t){t.A||(t.A=!0,pt(t,"complete"),pt(t,"error"))}function Je(t){if(t.h&&void 0!==p&&(!t.v[1]||4!=er(t)||2!=t.Z()))if(t.u&&4==er(t))gt(t.Ea,0,t);else if(pt(t,"readystatechange"),4==er(t)){t.h=!1;try{const a=t.Z();t:switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var e=!0;break t;default:e=!1}var r;if(!(r=e)){var o;if(o=0===a){var n=String(t.D).match(he)[1]||null;!n&&h.self&&h.self.location&&(n=h.self.location.protocol.slice(0,-1)),o=!We.test(n?n.toLowerCase():"")}r=o}if(r)pt(t,"complete"),pt(t,"success");else{t.m=6;try{var i=2{}:null;t.g=null,t.v=null,e||pt(t,"ready");try{r.onreadystatechange=o}catch(t){}}}function tr(t){t.I&&(h.clearTimeout(t.I),t.I=null)}function er(t){return t.g?t.g.readyState:0}function rr(t){try{if(!t.g)return null;if("response"in t.g)return t.g.response;switch(t.H){case"":case"text":return t.g.responseText;case"arraybuffer":if("mozResponseArrayBuffer"in t.g)return t.g.mozResponseArrayBuffer}return null}catch(t){return null}}function or(t,e,r){return r&&r.internalChannelParams&&r.internalChannelParams[t]||e}function nr(t){this.Aa=0,this.i=[],this.j=new jt,this.ia=this.qa=this.I=this.W=this.g=this.ya=this.D=this.H=this.m=this.S=this.o=null,this.Ya=this.U=0,this.Va=or("failFast",!1,t),this.F=this.C=this.u=this.s=this.l=null,this.X=!0,this.za=this.T=-1,this.Y=this.v=this.B=0,this.Ta=or("baseRetryDelayMs",5e3,t),this.cb=or("retryDelaySeedMs",1e4,t),this.Wa=or("forwardChannelMaxRetries",2,t),this.wa=or("forwardChannelRequestTimeoutMs",2e4,t),this.pa=t&&t.xmlHttpFactory||void 0,this.Xa=t&&t.Tb||void 0,this.Ca=t&&t.useFetchStreams||!1,this.L=void 0,this.J=t&&t.supportsCrossDomainXhr||!1,this.K="",this.h=new ae(t&&t.concurrentRequestLimit),this.Da=new Ve,this.P=t&&t.fastHandshake||!1,this.O=t&&t.encodeInitMessageHeaders||!1,this.P&&this.O&&(this.O=!1),this.Ua=t&&t.Rb||!1,t&&t.xa&&this.j.xa(),t&&t.forceLongPolling&&(this.X=!1),this.ba=!this.P&&this.X&&t&&t.detectBufferingProxy||!1,this.ja=void 0,t&&t.longPollingTimeout&&0r)e=Math.max(0,n[a].g-100),i=!1;else try{je(s,t,"req"+r+"_")}catch(t){o&&o(s)}}if(i){o=t.join("&");break t}}}return t=t.i.splice(0,r),e.D=t,o}function mr(t){if(!t.g&&!t.u){t.Y=1;var e=t.Fa;P||z(),V||(P(),V=!0),j.add(e,t),t.v=0}}function pr(t){return!(t.g||t.u||3<=t.v||(t.Y++,t.u=Vt(y(t.Fa,t),vr(t,t.v)),t.v++,0))}function hr(t){null!=t.A&&(h.clearTimeout(t.A),t.A=null)}function gr(t){t.g=new Ht(t,t.j,"rpc",t.Y),null===t.m&&(t.g.H=t.o),t.g.O=0;var e=be(t.qa);we(e,"RID","rpc"),we(e,"SID",t.K),we(e,"AID",t.T),we(e,"CI",t.F?"0":"1"),!t.F&&t.ja&&we(e,"TO",t.ja),we(e,"TYPE","xmlhttp"),dr(t,e),t.m&&t.o&&Ge(e,t.m,t.o),t.L&&(t.g.I=t.L);var r=t.g;t=t.ia,r.L=1,r.v=xe(be(e)),r.m=null,r.P=!0,Xt(r,t)}function br(t){null!=t.C&&(h.clearTimeout(t.C),t.C=null)}function fr(t,e){var r=null;if(t.g==e){br(t),hr(t),t.g=null;var o=2}else{if(!ce(t.h,e))return;r=e.D,ue(t.h,e),o=1}if(0!=t.G)if(e.o)if(1==o){r=e.m?e.m.length:0,e=Date.now()-e.F;var n=t.B;pt(o=Nt(),new Pt(o,r)),lr(t)}else mr(t);else if(3==(n=e.s)||0==n&&0=t.h.j-(t.s?1:0)||(t.s?(t.i=e.D.concat(t.i),0):1==t.G||2==t.G||t.B>=(t.Va?0:t.Wa)||(t.s=Vt(y(t.Ga,t,e),vr(t,t.B)),t.B++,0)))}(t,e)||2==o&&pr(t)))switch(r&&0{r.abort(),Pe(0,0,!1,e)}),1e4);fetch(t,{signal:r.signal}).then((t=>{clearTimeout(o),t.ok?Pe(0,0,!0,e):Pe(0,0,!1,e)})).catch((()=>{clearTimeout(o),Pe(0,0,!1,e)}))}(o.toString(),r)}else Bt(2);t.G=0,t.l&&t.l.sa(e),wr(t),sr(t)}function wr(t){if(t.G=0,t.ka=[],t.l){const e=me(t.h);0==e.length&&0==t.i.length||(k(t.ka,e),k(t.ka,t.i),t.h.i.length=0,_(t.i),t.i.length=0),t.l.ra()}}function xr(t,e,r){var o=r instanceof ge?be(r):new ge(r);if(""!=o.g)e&&(o.g=e+"."+o.g),ve(o,o.s);else{var n=h.location;o=n.protocol,e=e?e+"."+n.hostname:n.hostname,n=+n.port;var i=new ge(null);o&&fe(i,o),e&&(i.g=e),n&&ve(i,n),r&&(i.l=r),o=i}return r=t.D,e=t.ya,r&&e&&we(o,r,e),we(o,"VER",t.la),dr(t,o),o}function _r(t,e,r){if(e&&!t.J)throw Error("Can't create secondary domain capable XhrIo object.");return(e=t.Ca&&!t.pa?new Ke(new ze({eb:r})):new Ke(t.pa)).Ha(t.J),e}function kr(){}function Er(){}function Ir(t,e){mt.call(this),this.g=new nr(e),this.l=t,this.h=e&&e.messageUrlParams||null,t=e&&e.messageHeaders||null,e&&e.clientProtocolHeaderRequired&&(t?t["X-Client-Protocol"]="webchannel":t={"X-Client-Protocol":"webchannel"}),this.g.o=t,t=e&&e.initMessageHeaders||null,e&&e.messageContentType&&(t?t["X-WebChannel-Content-Type"]=e.messageContentType:t={"X-WebChannel-Content-Type":e.messageContentType}),e&&e.va&&(t?t["X-WebChannel-Client-Profile"]=e.va:t={"X-WebChannel-Client-Profile":e.va}),this.g.S=t,(t=e&&e.Sb)&&!E(t)&&(this.g.m=t),this.v=e&&e.supportsCrossDomainXhr||!1,this.u=e&&e.sendRawJson||!1,(e=e&&e.httpSessionIdParam)&&!E(e)&&(this.g.D=e,null!==(t=this.h)&&e in t&&e in(t=this.h)&&delete t[e]),this.j=new Cr(this)}function Ar(t){Ct.call(this),t.__headers__&&(this.headers=t.__headers__,this.statusCode=t.__status__,delete t.__headers__,delete t.__status__);var e=t.__sm__;if(e){t:{for(const r in e){t=r;break t}t=void 0}(this.i=t)&&(t=this.i,e=null!==e&&t in e?e[t]:void 0),this.data=e}else this.data=t}function Tr(){St.call(this),this.status=1}function Cr(t){this.g=t}(t=Ke.prototype).Ha=function(t){this.J=t},t.ea=function(t,e,r,o){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.D+"; newUri="+t);e=e?e.toUpperCase():"GET",this.D=t,this.l="",this.m=0,this.A=!1,this.h=!0,this.g=this.o?this.o.g():Ft.g(),this.v=this.o?It(this.o):It(Ft),this.g.onreadystatechange=y(this.Ea,this);try{this.B=!0,this.g.open(e,String(t),!0),this.B=!1}catch(t){return void Xe(this,t)}if(t=r||"",r=new Map(this.headers),o)if(Object.getPrototypeOf(o)===Object.prototype)for(var n in o)r.set(n,o[n]);else{if("function"!=typeof o.keys||"function"!=typeof o.get)throw Error("Unknown input type for opt_headers: "+String(o));for(const t of o.keys())r.set(t,o.get(t))}o=Array.from(r.keys()).find((t=>"content-type"==t.toLowerCase())),n=h.FormData&&t instanceof h.FormData,!(0<=Array.prototype.indexOf.call(Qe,e,void 0))||o||n||r.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");for(const[t,e]of r)this.g.setRequestHeader(t,e);this.H&&(this.g.responseType=this.H),"withCredentials"in this.g&&this.g.withCredentials!==this.J&&(this.g.withCredentials=this.J);try{tr(this),this.u=!0,this.g.send(t),this.u=!1}catch(t){Xe(this,t)}},t.abort=function(t){this.g&&this.h&&(this.h=!1,this.j=!0,this.g.abort(),this.j=!1,this.m=t||7,pt(this,"complete"),pt(this,"abort"),Ze(this))},t.N=function(){this.g&&(this.h&&(this.h=!1,this.j=!0,this.g.abort(),this.j=!1),Ze(this,!0)),Ke.aa.N.call(this)},t.Ea=function(){this.s||(this.B||this.u||this.j?Je(this):this.bb())},t.bb=function(){Je(this)},t.isActive=function(){return!!this.g},t.Z=function(){try{return 2=this.R)){var t=2*this.R;this.j.info("BP detection timer enabled: "+t),this.A=Vt(y(this.ab,this),t)}},t.ab=function(){this.A&&(this.A=null,this.j.info("BP detection timeout reached."),this.j.info("Buffering proxy detected and switch to long-polling!"),this.F=!1,this.M=!0,Bt(10),ar(this),gr(this))},t.Za=function(){null!=this.C&&(this.C=null,ar(this),pr(this),Bt(19))},t.fb=function(t){t?(this.j.info("Successfully pinged google.com"),Bt(2)):(this.j.info("Failed to ping google.com"),Bt(1))},t.isActive=function(){return!!this.l&&this.l.isActive(this)},(t=kr.prototype).ua=function(){},t.ta=function(){},t.sa=function(){},t.ra=function(){},t.isActive=function(){return!0},t.Na=function(){},Er.prototype.g=function(t,e){return new Ir(t,e)},x(Ir,mt),Ir.prototype.m=function(){this.g.l=this.j,this.v&&(this.g.J=!0),this.g.connect(this.l,this.h||void 0)},Ir.prototype.close=function(){ir(this.g)},Ir.prototype.o=function(t){var e=this.g;if("string"==typeof t){var r={};r.__data__=t,t=r}else this.u&&((r={}).__data__=xt(t),t=r);e.i.push(new ie(e.Ya++,t)),3==e.G&&lr(e)},Ir.prototype.N=function(){this.g.l=null,delete this.j,ir(this.g),delete this.g,Ir.aa.N.call(this)},x(Ar,Ct),x(Tr,St),x(Cr,kr),Cr.prototype.ua=function(){pt(this.g,"a")},Cr.prototype.ta=function(t){pt(this.g,new Ar(t))},Cr.prototype.sa=function(t){pt(this.g,new Tr)},Cr.prototype.ra=function(){pt(this.g,"b")},Er.prototype.createWebChannel=Er.prototype.g,Ir.prototype.send=Ir.prototype.o,Ir.prototype.open=Ir.prototype.m,Ir.prototype.close=Ir.prototype.close,d=m.createWebChannelTransport=function(){return new Er},c=m.getStatEventTarget=function(){return Nt()},l=m.Event=Dt,s=m.Stat={mb:0,pb:1,qb:2,Jb:3,Ob:4,Lb:5,Mb:6,Kb:7,Ib:8,Nb:9,PROXY:10,NOPROXY:11,Gb:12,Cb:13,Db:14,Bb:15,Eb:16,Fb:17,ib:18,hb:19,jb:20},qt.NO_ERROR=0,qt.TIMEOUT=8,qt.HTTP_ERROR=6,a=m.ErrorCode=qt,$t.COMPLETE="complete",i=m.EventType=$t,At.EventType=Tt,Tt.OPEN="a",Tt.CLOSE="b",Tt.ERROR="c",Tt.MESSAGE="d",mt.prototype.listen=mt.prototype.K,n=m.WebChannel=At,m.FetchXmlHttpFactory=ze,Ke.prototype.listenOnce=Ke.prototype.L,Ke.prototype.getLastError=Ke.prototype.Ka,Ke.prototype.getLastErrorCode=Ke.prototype.Ba,Ke.prototype.getStatus=Ke.prototype.Z,Ke.prototype.getResponseJson=Ke.prototype.Oa,Ke.prototype.getResponseText=Ke.prototype.oa,Ke.prototype.send=Ke.prototype.ea,Ke.prototype.setWithCredentials=Ke.prototype.Ha,o=m.XhrIo=Ke}).apply(void 0!==u?u:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},4006:(t,e,r)=>{"use strict";r.d(e,{P5:()=>o.P5});var o=r(6996)},6024:(t,e,r)=>{"use strict";r(526)},223:(t,e,r)=>{"use strict";r.d(e,{Wp:()=>o.Wp});var o=r(8461);(0,o.KO)("firebase","11.0.2","app")},2405:(t,e,r)=>{"use strict";r.d(e,{BN:()=>o.BN,GG:()=>o.GG,H9:()=>o.H9,P:()=>o.P,_M:()=>o._M,aU:()=>o.aU,kd:()=>o.kd,mZ:()=>o.mZ,rJ:()=>o.rJ,x7:()=>o.x7});var o=r(5790)},602:(t,e,r)=>{"use strict";r.d(e,{P2:()=>n});var o=r(7500);function n(t,e,{blocked:r,upgrade:n,blocking:i,terminated:a}={}){const s=indexedDB.open(t,e),l=(0,o.w)(s);return n&&s.addEventListener("upgradeneeded",(t=>{n((0,o.w)(s.result),t.oldVersion,t.newVersion,(0,o.w)(s.transaction),t)})),r&&s.addEventListener("blocked",(t=>r(t.oldVersion,t.newVersion,t))),l.then((t=>{a&&t.addEventListener("close",(()=>a())),i&&t.addEventListener("versionchange",(t=>i(t.oldVersion,t.newVersion,t)))})).catch((()=>{})),l}const i=["get","getKey","getAll","getAllKeys","count"],a=["put","add","delete","clear"],s=new Map;function l(t,e){if(!(t instanceof IDBDatabase)||e in t||"string"!=typeof e)return;if(s.get(e))return s.get(e);const r=e.replace(/FromIndex$/,""),o=e!==r,n=a.includes(r);if(!(r in(o?IDBIndex:IDBObjectStore).prototype)||!n&&!i.includes(r))return;const l=async function(t,...e){const i=this.transaction(t,n?"readwrite":"readonly");let a=i.store;return o&&(a=a.index(e.shift())),(await Promise.all([a[r](...e),n&&i.done]))[0]};return s.set(e,l),l}(0,o.r)((t=>({...t,get:(e,r,o)=>l(e,r)||t.get(e,r,o),has:(e,r)=>!!l(e,r)||t.has(e,r)})))},7500:(t,e,r)=>{"use strict";r.d(e,{r:()=>m,w:()=>h});const o=(t,e)=>e.some((e=>t instanceof e));let n,i;const a=new WeakMap,s=new WeakMap,l=new WeakMap,c=new WeakMap,d=new WeakMap;let u={get(t,e,r){if(t instanceof IDBTransaction){if("done"===e)return s.get(t);if("objectStoreNames"===e)return t.objectStoreNames||l.get(t);if("store"===e)return r.objectStoreNames[1]?void 0:r.objectStore(r.objectStoreNames[0])}return h(t[e])},set:(t,e,r)=>(t[e]=r,!0),has:(t,e)=>t instanceof IDBTransaction&&("done"===e||"store"===e)||e in t};function m(t){u=t(u)}function p(t){return"function"==typeof t?(e=t)!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(i||(i=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(e)?function(...t){return e.apply(g(this),t),h(a.get(this))}:function(...t){return h(e.apply(g(this),t))}:function(t,...r){const o=e.call(g(this),t,...r);return l.set(o,t.sort?t.sort():[t]),h(o)}:(t instanceof IDBTransaction&&function(t){if(s.has(t))return;const e=new Promise(((e,r)=>{const o=()=>{t.removeEventListener("complete",n),t.removeEventListener("error",i),t.removeEventListener("abort",i)},n=()=>{e(),o()},i=()=>{r(t.error||new DOMException("AbortError","AbortError")),o()};t.addEventListener("complete",n),t.addEventListener("error",i),t.addEventListener("abort",i)}));s.set(t,e)}(t),o(t,n||(n=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction]))?new Proxy(t,u):t);var e}function h(t){if(t instanceof IDBRequest)return function(t){const e=new Promise(((e,r)=>{const o=()=>{t.removeEventListener("success",n),t.removeEventListener("error",i)},n=()=>{e(h(t.result)),o()},i=()=>{r(t.error),o()};t.addEventListener("success",n),t.addEventListener("error",i)}));return e.then((e=>{e instanceof IDBCursor&&a.set(e,t)})).catch((()=>{})),d.set(e,t),e}(t);if(c.has(t))return c.get(t);const e=p(t);return e!==t&&(c.set(t,e),d.set(e,t)),e}const g=t=>d.get(t)},1446:(t,e,r)=>{"use strict";r.a(t,(async(t,e)=>{try{var o=r(5994),n=t([o]);o=(n.then?(await n)():n)[0];const i=document.getElementById("filtroDeVoluntarioPorStatus");function a(t){var e=0,r=0,o=0,n=0;function i(i){(i=i||window.event).preventDefault(),e=o-i.clientX,r=n-i.clientY,o=i.clientX,n=i.clientY,t.style.top=t.offsetTop-r+"px",t.style.left=t.offsetLeft-e+"px"}function a(){document.onmouseup=null,document.onmousemove=null}t.onmousedown=function(t){(t=t||window.event).preventDefault(),o=t.clientX,n=t.clientY,document.onmouseup=a,document.onmousemove=i}}i.addEventListener("click",(t=>{const e=document.getElementById("corpoFiltroDeVoluntarioPorStatus");e.hasAttribute("hidden")?e.removeAttribute("hidden"):e.hidden=!0,e.style.position="absolute",e.style.left=i.offsetLeft+i.offsetWidth+"px",e.style.top=i.offsetTop+"px"})),document.getElementById("fecharFiltro").addEventListener("click",(t=>{const e=document.getElementById("corpoFiltroDeVoluntarioPorStatus");t.target!==i&&t.target!==e&&(e.hidden=!0)})),a(document.getElementById("corpoFiltroDeVoluntarioPorStatus")),document.getElementById("statusFiltrado").innerText="Status...",document.getElementById("filtrarAtivos").addEventListener("click",(t=>{document.querySelectorAll("#corpoTabelaDeListagemDeVoluntarios tr").forEach((t=>{const e=t.querySelector("#statusVoluntario").textContent;t.style.display=" Ativo "===e?"table-row":"none"})),document.getElementById("statusFiltrado").innerText="Ativos",document.getElementById("buscaVoluntarioNaTabela").addEventListener("input",(t=>{const e=t.target.value.toLowerCase();document.querySelectorAll("#corpoTabelaDeListagemDeVoluntarios tr").forEach((t=>{const r=t.querySelector(".fw-semibold").textContent.toLowerCase(),o=t.querySelector("#statusVoluntario").textContent;r.includes(e)&&" Ativo "===o?t.style.display="table-row":t.style.display="none"}))}))})),document.getElementById("filtrarIntervalo").addEventListener("click",(t=>{document.querySelectorAll("#corpoTabelaDeListagemDeVoluntarios tr").forEach((t=>{const e=t.querySelector("#statusVoluntario").textContent;t.style.display=" Intervalo "===e?"table-row":"none"})),document.getElementById("statusFiltrado").innerText="Em intervalo",document.getElementById("buscaVoluntarioNaTabela").addEventListener("input",(t=>{const e=t.target.value.toLowerCase();document.querySelectorAll("#corpoTabelaDeListagemDeVoluntarios tr").forEach((t=>{const r=t.querySelector(".fw-semibold").textContent.toLowerCase(),o=t.querySelector("#statusVoluntario").textContent;r.includes(e)&&" Intervalo "===o?t.style.display="table-row":t.style.display="none"}))}))})),document.getElementById("filtrarInativos").addEventListener("click",(t=>{document.querySelectorAll("#corpoTabelaDeListagemDeVoluntarios tr").forEach((t=>{const e=t.querySelector("#statusVoluntario").textContent;t.style.display=" Inativo "===e?"table-row":"none"})),document.getElementById("statusFiltrado").innerText="Inativos",document.getElementById("buscaVoluntarioNaTabela").addEventListener("input",(t=>{const e=t.target.value.toLowerCase();document.querySelectorAll("#corpoTabelaDeListagemDeVoluntarios tr").forEach((t=>{const r=t.querySelector(".fw-semibold").textContent.toLowerCase(),o=t.querySelector("#statusVoluntario").textContent;r.includes(e)&&" Inativo "===o?t.style.display="table-row":t.style.display="none"}))}))})),document.getElementById("filtrarTodos").addEventListener("click",(t=>{const e=document.querySelectorAll("#corpoTabelaDeListagemDeVoluntarios tr");e.forEach((t=>{t.style.display="table-row"})),document.getElementById("statusFiltrado").innerText="Todos",document.getElementById("buscaVoluntarioNaTabela").addEventListener("input",(t=>{const r=t.target.value.toLowerCase();e.forEach((t=>{t.querySelector(".fw-semibold").textContent.toLowerCase().includes(r)?t.style.display="table-row":t.style.display="none"}))}))})),e()}catch(s){e(s)}}))},5269:(t,e,r)=>{"use strict";r.d(e,{db:()=>s});var o=r(223),n=r(4006),i=(r(6024),r(2405));const a=(0,o.Wp)({apiKey:"AIzaSyCU6Yj707suJIZTd_zGyL4NkUQrd1M3mRQ",authDomain:"gerenciador-3c560.firebaseapp.com",databaseURL:"https://gerenciador-3c560-default-rtdb.firebaseio.com",projectId:"gerenciador-3c560",storageBucket:"gerenciador-3c560.appspot.com",messagingSenderId:"581307180518",appId:"1:581307180518:web:68fb7bb5dd62dce26ee227",measurementId:"G-6HMRCF5LQF"}),s=((0,n.P5)(a),(0,i.aU)(a))},7660:(t,e,r)=>{"use strict";r.a(t,(async(t,e)=>{try{var o=r(5269),n=r(2405);const t=(0,n.P)((0,n.rJ)(o.db,"recursos"));(await(0,n.GG)(t)).forEach((t=>{if("hapi"===t.id&&(document.getElementById("hapisTotal").innerHTML=t.data().qtde_hapi,document.getElementById("hapisEmUso").innerHTML=t.data().qtde_hapi_usado,document.getElementById("hapisDisponiveis").innerHTML=t.data().qtde_hapi_disponivel),"voucher"===t.id){const e=t.data().qtde_vouchers_por_tipo.qtde_voucher_almoco,r=t.data().qtde_vouchers_por_tipo.qtde_voucher_jantar,o=t.data().qtde_vouchers_por_tipo.qtde_voucher_lanche,n=t.data().qtde_vouchers_disponiveis-t.data().qtde_vouchers_usado;document.getElementById("vouchersTotal").innerHTML=t.data().qtde_vouchers,document.getElementById("vouchersAlmoco").innerHTML=e,document.getElementById("vouchersJantar").innerHTML=r,document.getElementById("vouchersKitLanche").innerHTML=o,document.getElementById("vouchersDisponiveis").innerHTML=n,document.getElementById("vouchersResgatados").innerHTML=t.data().qtde_vouchers_usado}"credencial"===t.id&&(document.getElementById("credenciaisTotal").innerHTML=t.data().qtde_credenciais,document.getElementById("credenciaisEmUso").innerHTML=t.data().qtde_credencial_usada,document.getElementById("credenciaisDisponiveis").innerHTML=t.data().qtde_credencial_disponivel)})),e()}catch(t){e(t)}}),1)},8191:(t,e,r)=>{"use strict";r.a(t,(async(t,e)=>{try{var o=r(5269),n=r(2405),i=r(7660),a=t([i]);async function s(){const t=await(0,n.x7)((0,n.H9)(o.db,"recursos","credencial"));document.getElementById("credenciaisTotal").innerHTML=t.data().qtde_credenciais,document.getElementById("credenciaisEmUso").innerHTML=t.data().qtde_credencial_usada,document.getElementById("credenciaisDisponiveis").innerHTML=t.data().qtde_credencial_disponivel}i=(a.then?(await a)():a)[0],document.getElementById("btnCadastrarCredenciais").addEventListener("click",(async()=>{if("mt-3 d-none"!==document.getElementById("cadastroUnicoDeCredenciais").className){const t=document.getElementById("qtdeCredenciaisEvento").value;if(t>0)try{await(0,n.BN)((0,n.H9)(o.db,"recursos","credencial"),{qtde_credenciais:parseInt(t),qtde_credencial_disponivel:parseInt(t),qtde_credencial_usada:0}),console.log("Credenciais cadastradas com sucesso!")}catch(t){console.error("Erro ao cadastrar credenciais: \n"+t)}}if("mt-3 d-none"!==document.getElementById("cadastroIndividualDeCredenciais").className){const t=document.getElementById("qtdeCredenciaisDia1").value,e=document.getElementById("qtdeCredenciaisDia2").value,r=document.getElementById("qtdeCredenciaisDia3").value,i=parseInt(t)+parseInt(e)+parseInt(r);if(t&&e&&r>0)try{await(0,n.BN)((0,n.H9)(o.db,"recursos","credencial"),{qtde_credenciais:i,qtde_credencial_disponivel:i,qtde_credencial_usada:0,qtde_credencial_sexta:parseInt(t),qtde_credencial_sabado:parseInt(e),qtde_credencial_domingo:parseInt(r)}),console.log("Credenciais cadastradas com sucesso!")}catch(t){console.error("Erro ao cadastrar credenciais: \n"+t)}}document.getElementById("cadastroUnicoDeCredenciais").removeAttribute("checked"),document.getElementById("cadastroUnicoDeCredenciais").classList.add("d-none"),document.getElementById("cadastroIndividualDeCredenciais").removeAttribute("checked"),document.getElementById("cadastroIndividualDeCredenciais").classList.add("d-none"),document.getElementById("qtdeCredenciaisEvento").value="",document.getElementById("qtdeCredenciaisDia1").value="",document.getElementById("qtdeCredenciaisDia2").value="",document.getElementById("qtdeCredenciaisDia3").value="",s()})),e()}catch(l){e(l)}}))},2298:(t,e,r)=>{"use strict";r.a(t,(async(t,e)=>{try{var o=r(5269),n=r(2405),i=r(7660),a=t([i]);async function s(){const t=await(0,n.x7)((0,n.H9)(o.db,"recursos","hapi"));document.getElementById("hapisTotal").innerHTML=t.data().qtde_hapi,document.getElementById("hapisEmUso").innerHTML=t.data().qtde_hapi_usado,document.getElementById("hapisDisponiveis").innerHTML=t.data().qtde_hapi_disponivel}i=(a.then?(await a)():a)[0],document.getElementById("btnCadastrarHapis").addEventListener("click",(async()=>{if("mt-3 d-none"!==document.getElementById("cadastroUnicoDeHapis").className){const t=document.getElementById("qtdeHapisEvento").value;if(t>0)try{await(0,n.BN)((0,n.H9)(o.db,"recursos","hapi"),{qtde_hapi:parseInt(t),qtde_hapi_disponivel:parseInt(t),qtde_hapi_usado:0}),console.log("Hapis cadastrados com sucesso!")}catch(t){console.error("Erro ao cadastrar hapis: \n"+t)}}if("mt-3 d-none"!==document.getElementById("cadastroIndividualDeHapis").className){const t=document.getElementById("qtdeHapisDia1").value,e=document.getElementById("qtdeHapisDia2").value,r=document.getElementById("qtdeHapisDia3").value,i=parseInt(t)+parseInt(e)+parseInt(r);if(console.log(i),t&&e&&r>0)try{await(0,n.BN)((0,n.H9)(o.db,"recursos","hapi"),{qtde_hapi:i,qtde_hapi_disponivel:i,qtde_hapi_usado:0,qtde_hapi_sexta:parseInt(t),qtde_hapi_sabado:parseInt(e),qtde_hapi_domingo:parseInt(r)}),console.log("Hapis cadastrados com sucesso!")}catch(t){console.error("Erro ao cadastrar hapis: \n"+t)}}document.getElementById("cadastroUnicoDeHapis").removeAttribute("checked"),document.getElementById("cadastroUnicoDeHapis").classList.add("d-none"),document.getElementById("cadastroIndividualDeHapis").removeAttribute("checked"),document.getElementById("cadastroIndividualDeHapis").classList.add("d-none"),document.getElementById("qtdeHapisEvento").value="",document.getElementById("qtdeHapisDia1").value="",document.getElementById("qtdeHapisDia2").value="",document.getElementById("qtdeHapisDia3").value="",s()})),e()}catch(l){e(l)}}))},888:(t,e,r)=>{"use strict";r.a(t,(async(t,e)=>{try{var o=r(5269),n=r(2405),i=r(5994),a=t([i]);i=(a.then?(await a)():a)[0];let s=new Date;document.getElementById("diaAtualEvento").innerHTML=s.getDate().toString().padStart(2,"0")+"/"+(s.getMonth()+1).toString().padStart(2,"0");const l=(0,n.P)((0,n.rJ)(o.db,"voluntario")),c=(await(0,n.GG)(l)).size;document.getElementById("totalVoluntariosFestival").innerHTML=c;let d=0,u=0,m=0;document.querySelectorAll("#corpoTabelaDeListagemDeVoluntarios tr").forEach((t=>{const e=t.querySelector("#statusVoluntario").textContent;" Ativo "===e&&d++," Intervalo "===e&&u++," Inativo "===e&&m++})),document.getElementById("qtdeVoluntariosPresentes").innerHTML=d;const p=d/c*100;document.getElementById("volPresente").style.width=p+"%",document.getElementById("volPresente").ariaValueNow=d,document.getElementById("volPresente").children[0].innerHTML=p.toFixed(2)+"%",document.getElementById("qtdeVoluntariosIntervalo").innerHTML=u;const h=u/c*100;document.getElementById("volIntervalo").style.width=h+"%",document.getElementById("volIntervalo").ariaValueNow=u,document.getElementById("volIntervalo").children[0].innerHTML=h.toFixed(2)+"%",document.getElementById("qtdeVoluntariosAusentes").innerHTML=m;const g=m/c*100;document.getElementById("volAusente").style.width=g+"%",document.getElementById("volAusente").ariaValueNow=m,document.getElementById("volAusente").children[0].innerHTML=g.toFixed(2)+"%",e()}catch(t){e(t)}}),1)},6554:(t,e,r)=>{"use strict";r.a(t,(async(t,e)=>{try{var o=r(5269),n=r(2405),i=r(7660),a=t([i]);async function s(){const t=await(0,n.x7)((0,n.H9)(o.db,"recursos","voucher"));document.getElementById("vouchersTotal").innerHTML=t.data().qtde_vouchers,document.getElementById("vouchersDisponiveis").innerHTML=t.data().qtde_vouchers_disponiveis,document.getElementById("vouchersResgatados").innerHTML=t.data().qtde_vouchers_usado;const e=t.data().qtde_vouchers_por_tipo.qtde_voucher_almoco,r=t.data().qtde_vouchers_por_tipo.qtde_voucher_jantar,i=t.data().qtde_vouchers_por_tipo.qtde_voucher_lanche;null!==e||null!==r||null!==i?document.getElementById("vouchersPorTipo").classList.remove("d-none"):document.getElementById("vouchersPorTipo").classList.add("d-none"),document.getElementById("vouchersAlmoco").innerHTML=e,document.getElementById("vouchersJantar").innerHTML=r,document.getElementById("vouchersKitLanche").innerHTML=i}i=(a.then?(await a)():a)[0],document.getElementById("btnCadastrarVouchers").addEventListener("click",(async()=>{if("mt-3 d-none"!==document.getElementById("cadastroUnicoVoucher").className){const t=document.getElementById("qtdeVouchersEvento").value;if(t>0)try{await(0,n.BN)((0,n.H9)(o.db,"recursos","voucher"),{qtde_vouchers:parseInt(t),qtde_vouchers_disponiveis:parseInt(t),qtde_vouchers_usado:0,qtde_vouchers_por_dia:{qtde_voucher_sexta:null,qtde_voucher_sabado:null,qtde_voucher_domingo:null},qtde_vouchers_por_tipo:{qtde_voucher_almoco:null,qtde_voucher_jantar:null,qtde_voucher_lanche:null}}),console.log("Vouchers cadastrados com sucesso!")}catch(t){console.error("Erro ao cadastrar vouchers: \n"+t)}}if("mt-3 d-none"!==document.getElementById("cadastroIndividualDeVouchers").className){const t=document.getElementById("qtdeVouchersDia1").value,e=document.getElementById("qtdeVouchersDia2").value,r=document.getElementById("qtdeVouchersDia3").value,i=parseInt(t)+parseInt(e)+parseInt(r);if(t&&e&&r>0)try{await(0,n.BN)((0,n.H9)(o.db,"recursos","voucher"),{qtde_vouchers:i,qtde_vouchers_disponiveis:i,qtde_vouchers_usado:0,qtde_vouchers_por_dia:{qtde_voucher_sexta:parseInt(t),qtde_voucher_sabado:parseInt(e),qtde_voucher_domingo:parseInt(r)},qtde_vouchers_por_tipo:{qtde_voucher_almoco:null,qtde_voucher_jantar:null,qtde_voucher_lanche:null}}),console.log("Vouchers cadastrados com sucesso!")}catch(t){console.error("Erro ao cadastrar vouchers: \n"+t)}}if("mt-3 d-none"!==document.getElementById("cadastroPorTipoDeVoucher").className){const t=document.getElementById("qtdeVouchersAlmoco").value,e=document.getElementById("qtdeVouchersJantar").value,r=document.getElementById("qtdeVouchersKitLanche").value,i=parseInt(t)+parseInt(e)+parseInt(r);if(t&&e&&r>0)try{await(0,n.BN)((0,n.H9)(o.db,"recursos","voucher"),{qtde_vouchers:i,qtde_vouchers_disponiveis:i,qtde_vouchers_usado:0,qtde_vouchers_por_dia:{qtde_voucher_sexta:null,qtde_voucher_sabado:null,qtde_voucher_domingo:null},qtde_vouchers_por_tipo:{qtde_voucher_almoco:parseInt(t),qtde_voucher_jantar:parseInt(e),qtde_voucher_lanche:parseInt(r)}}),console.log("Vouchers cadastrados com sucesso!")}catch(t){console.error("Erro ao cadastrar vouchers: \n"+t)}}document.getElementById("cadastroUnicoVoucher").removeAttribute("checked"),document.getElementById("cadastroUnicoDeVouchers").classList.add("d-none"),document.getElementById("cadastroIndividualVoucher").removeAttribute("checked"),document.getElementById("cadastroIndividualDeVouchers").classList.add("d-none"),document.getElementById("cadastroTipoVoucher").removeAttribute("checked"),document.getElementById("cadastroPorTipoDeVoucher").classList.add("d-none"),document.getElementById("qtdeVouchersEvento").value="",document.getElementById("qtdeVouchersDia1").value="",document.getElementById("qtdeVouchersDia2").value="",document.getElementById("qtdeVouchersDia3").value="",document.getElementById("qtdeVouchersAlmoco").value="",document.getElementById("qtdeVouchersJantar").value="",document.getElementById("qtdeVouchersKitLanche").value="",s()})),e()}catch(l){e(l)}}))},7815:(t,e,r)=>{"use strict";r.a(t,(async(t,o)=>{try{r.d(e,{R:()=>h});var n=r(5269),i=r(2405),a=r(5994),s=r(4344),l=r(6738),c=r(6480),d=t([a,s,l,c]);[a,s,l,c]=d.then?(await d)():d;const u=document.getElementById("cadastraCheckIn"),m=document.getElementById("horarioCheckIn"),p=document.getElementById("codigoCredencial");function h(t){const e=document.getElementById(t).querySelector("#statusVoluntario");e.textContent=" Ativo ",e.classList.add("text-bg-success"),e.classList.remove("text-bg-danger"),e.classList.remove("text-bg-warning")}document.getElementById("corpoTabelaDeListagemDeVoluntarios").addEventListener("click",(async t=>{const e=t.target.closest("tr").id,r=(0,i.H9)(n.db,"voluntario",e),o=(0,i.H9)(r,"festival",a.N),d=(await(0,i.x7)(o)).data().expediente.horarios_sexta.check_in,g=new Date;u.addEventListener("click",(async()=>{(p.readOnly=u.classList.contains("btn-danger")&&null===d)&&await(0,i.mZ)(o,{"expediente.horarios_sexta.check_in":g}).then((()=>{console.log("Check-in realizado com sucesso"),document.getElementById("corpoTabelaDeListagemDeVoluntarios").querySelector("#"+e).querySelector("#check-in").textContent=new Date(g).toLocaleTimeString("pt-BR",{hour12:!1}),h(e),m.textContent=(new Date).toLocaleTimeString("pt-BR",{hour12:!1}),u.classList.remove("btn-danger"),u.classList.add("btn-outline-danger"),u.disabled=!0,(0,s.i_)(),(0,s.vG)(),(0,l.H)(),(0,c.X)(),(0,s.kG)()})).catch((t=>{console.error("Erro ao realizar check-in: ",t)}))}))})),o()}catch(g){o(g)}}))},3262:(t,e,r)=>{"use strict";r.a(t,(async(t,e)=>{try{var o=r(5269),n=r(2405),i=r(5994),a=r(4344),s=r(6738),l=r(6480),c=t([i,a,s,l]);[i,a,s,l]=c.then?(await c)():c;const d=document.getElementById("cadastraCheckOut"),u=document.getElementById("horarioCheckOut"),m=(document.getElementById("cadastraCheckIn"),document.getElementById("codigoCredencial"));function p(t){const e=document.getElementById(t).querySelector("#statusVoluntario");e.textContent=" Inativo ",e.classList.add("text-bg-danger"),e.classList.remove("text-bg-warning"),e.classList.remove("text-bg-success")}function h(){u.textContent=(new Date).toLocaleTimeString("pt-BR",{hour12:!1}),d.classList.remove("btn-danger"),d.classList.add("btn-outline-danger"),d.disabled=!0,(0,a.Dl)(),(0,a.kG)(),(0,s.Z)(),(0,l.X)()}document.getElementById("corpoTabelaDeListagemDeVoluntarios").addEventListener("click",(async t=>{const e=t.target.closest("tr").id,r=(0,n.H9)(o.db,"voluntario",e),a=(0,n.H9)(r,"festival",i.N),s=(await(0,n.x7)(a)).data().expediente.horarios_sexta.check_out;null!==s&&h(),d.addEventListener("click",(async()=>{const t=new Date;(m.readOnly=d.classList.contains("btn-danger")&&null===s)&&await(0,n.mZ)(a,{"expediente.horarios_sexta.check_out":t}).then((()=>{console.log("Check-out realizado com sucesso"),p(e),document.getElementById("corpoTabelaDeListagemDeVoluntarios").querySelector(e).querySelector("#checkout").textContent=new Date(t).toLocaleTimeString("pt-BR",{hour12:!1}),h()})).catch((t=>{console.error("Erro ao realizar check-out: ",t)}))}))})),e()}catch(g){e(g)}}))},7636:(t,e,r)=>{"use strict";r.a(t,(async(t,e)=>{try{var o=r(5269),n=r(2405),i=r(5994),a=r(6480),s=r(4344),l=r(7815),c=t([i,a,s,l]);[i,a,s,l]=c.then?(await c)():c;const d=document.getElementById("corpoTabelaDeListagemDeVoluntarios"),u=document.getElementById("cadastraInicioIntervalo"),m=document.getElementById("cadastraTerminoIntervalo"),p=document.getElementById("horariosDeIntervalo");async function h(t,e,r){let o=Object.keys(r).pop(),i=o.charAt(o.length-1),l=String.fromCharCode(i.charCodeAt(0)+1),c=`intervalo_${l}`;"1"!==i?await(0,n.mZ)(e,{"expediente.horarios_sexta.intervalo":{...r,[c]:{inicio_intervalo:new Date,termino_intervalo:null,resgate_voucher:null,devolucao_hapi:null}}}).then((()=>{console.log("Início do intervalo "+l+" cadastrado com sucesso"),b(null,null),(0,s.Dl)(),(0,s.ct)(),(0,a.f)()})).catch((t=>{console.error("Erro ao cadastrar início de intervalo: ",t)})):await(0,n.BN)(e,{expediente:{horarios_sexta:{intervalo:{[o]:{inicio_intervalo:new Date}}}}},{merge:!0}).then((()=>{console.log("Início do intervalo "+o+" cadastrado com sucesso"),f(t),b(null,null),(0,s.Dl)(),(0,s.ct)(),(0,a.f)()})).catch((t=>{console.error("Erro ao cadastrar início de intervalo: ",t)}))}function g(t,e,r){let o=Object.keys(r).pop();o.charAt(o.length-1),(0,n.BN)(e,{expediente:{horarios_sexta:{intervalo:{[o]:{termino_intervalo:new Date}}}}},{merge:!0}).then((()=>{console.log("Término do intervalo "+o+" cadastrado com sucesso"),(0,l.R)(t),b(null,null),(0,s.vG)(),(0,s.kG)(),(0,a.X)()})).catch((t=>{console.error("Erro ao cadastrar término de intervalo: ",t)}))}function b(t,e){let r,o=null,n=document.documentElement.getAttribute("data-bs-theme");return null!==t&&null===e?(r=new Date(t.toDate()).toLocaleTimeString("pt-BR",{hour12:!1}),p.innerHTML=`\n
\n \n ${r} \n \n
\n `,void("dark"===n&&document.querySelectorAll(".text-dark").forEach((t=>{t.classList.replace("text-dark","text-light")})))):null!==t&&null!==e?(r=new Date(t.toDate()).toLocaleTimeString("pt-BR",{hour12:!1}),o=new Date(e.toDate()).toLocaleTimeString("pt-BR",{hour12:!1}),p.innerHTML=`\n
\n \n ${r} ${o} \n \n
\n `,void("dark"===n&&document.querySelectorAll(".text-dark").forEach((t=>{t.classList.replace("text-dark","text-light")})))):void 0}function f(t){const e=document.getElementById(t).querySelector("#statusVoluntario");e.textContent=" Intervalo ",e.classList.add("text-bg-warning"),e.classList.remove("text-bg-success")}d.addEventListener("click",(async t=>{p.textContent="";const e=t.target.closest("tr").id,r=(0,n.H9)(o.db,"voluntario",e),s=(0,n.H9)(r,"festival",i.N),l=(await(0,n.x7)(s)).data().expediente.horarios_sexta.intervalo,c=l.intervalo_1.inicio_intervalo,d=l.intervalo_1.termino_intervalo;null===c&&null===d&&((0,a.X)(),u.addEventListener("click",(async()=>{h(e,s,l)}))),null!==c&&null===d&&(b(c,d),(0,a.f)()),null!==c&&null!==d&&(b(c,d),(0,a.X)()),m.addEventListener("click",(async()=>{g(e,s,l)}))})),e()}catch(v){e(v)}}))},630:(t,e,r)=>{"use strict";r.a(t,(async(t,e)=>{try{var o=r(5269),n=r(2405),i=r(5994),a=r(4344),s=t([i,a]);[i,a]=s.then?(await s)():s;const l="2024",c=document.getElementById("codigoCredencial"),d=document.getElementById("cadastraCodigoCredencial");function u(t){c.classList.contains("is-invalid")&&c.classList.remove("is-invalid"),c.value=t,c.readOnly=!0,d.disabled=!0}function m(){document.getElementById("cadastraCheckIn").removeAttribute("disabled"),document.getElementById("cadastraCheckOut").removeAttribute("disabled"),document.getElementById("cadastraInicioIntervalo").removeAttribute("disabled"),document.getElementById("cadastraTerminoIntervalo").removeAttribute("disabled")}document.getElementById("corpoTabelaDeListagemDeVoluntarios").addEventListener("click",(async t=>{const e=t.target.closest("tr").id,r=(0,n.H9)(o.db,"voluntario",e),i=(0,n.H9)(r,"festival",l),a=(await(0,n.x7)(i)).data().codigo_credencial_voluntario;if(null!==a)return u(a),void m();c.value="",c.readOnly=!1,d.disabled=!1,c.focus(),document.getElementById("cadastraCheckIn").setAttribute("disabled",!0),document.getElementById("cadastraCheckOut").setAttribute("disabled",!0),document.getElementById("cadastraInicioIntervalo").setAttribute("disabled",!0),document.getElementById("cadastraTerminoIntervalo").setAttribute("disabled",!0),document.getElementById("tamanhoHapi").setAttribute("disabled",!0),document.getElementById("cadastraTamanhoHapi").setAttribute("disabled",!0),document.getElementById("tipoVoucher").setAttribute("disabled",!0),document.getElementById("cadastraResgateVoucher").setAttribute("disabled",!0)})),c.addEventListener("input",(()=>{null===c.value.trim()||""===c.value.trim()||c.value.includes(" ")||"0"===c.value.trim()?c.classList.add("is-invalid"):c.value.trim()!=="0".repeat(c.value.length)?c.value.trim().match(/[a-zA-Z]/)?c.classList.add("is-invalid"):c.classList.remove("is-invalid"):c.classList.add("is-invalid")})),d.addEventListener("click",(async()=>{if(c.classList.contains("is-invalid"))return void c.focus();const t=document.getElementById("gestaoRecusosVoluntarioNoFestival").textContent,e=(0,n.H9)(o.db,"voluntario",t),r=(0,n.H9)(e,"festival",l);c.value.length<4&&(c.value="0".repeat(4-c.value.length)+c.value),await(0,n.mZ)(r,{codigo_credencial_voluntario:c.value}).then((()=>{console.log("Código de credencial cadastrado com sucesso!"),document.getElementById(t).querySelector("#credencial").textContent=c.value,u(c.value),m()})).catch((t=>{console.error("Erro ao cadastrar o código de credencial: ",t)}))})),e()}catch(p){e(p)}}))},6738:(t,e,r)=>{"use strict";r.a(t,(async(t,o)=>{try{r.d(e,{H:()=>m,Z:()=>u});var n=r(5269),i=r(2405),a=r(5994),s=t([a]);a=(s.then?(await s)():s)[0];const l=document.getElementById("cadastraTamanhoHapi"),c=document.getElementById("tamanhoHapi"),d=document.getElementById("informacoesResgateHapi");function u(){c.value=c.value,c.disabled=!0,l.disabled=!0,l.style.cursor="not-allowed"}function m(){c.disabled=!1,l.disabled=!1,l.style.cursor="pointer"}document.getElementById("corpoTabelaDeListagemDeVoluntarios").addEventListener("click",(async t=>{d.textContent="",m(),c.classList.remove("is-invalid");const e=t.target.closest("tr").id,r=(0,i.H9)(n.db,"voluntario",e),o=(0,i.H9)(r,"festival",a.N),s=await(0,i.x7)(o),p=s.data().tamanho_hapi_voluntario,h=s.data().hora_resgate_hapi?s.data().hora_resgate_hapi:null;null!==h&&(d.innerHTML=`Resgatado às ${h.toDate().toLocaleTimeString("pt-BR",{hour12:!1})}`,u()),null===p?(c.value=c.options[0].value,l.addEventListener("click",(async t=>{const e=c.value;e!==c.options[0].value||"Tamanho do hapi resgatado"!==e?await(0,i.mZ)(o,{hora_resgate_hapi:new Date,tamanho_hapi_voluntario:e}).then((()=>{console.log("Hapi associado com sucesso."),d.innerHTML=`Resgatado às ${(new Date).toLocaleTimeString()}`,u()})).catch((t=>{console.error("Erro ao associar o tamanho do hapi ao voluntário.\n",t),m()})):(c.classList.add("is-invalid"),c.focus())}))):c.value=p})),o()}catch(p){o(p)}}))},6480:(t,e,r)=>{"use strict";r.a(t,(async(t,o)=>{try{r.d(e,{X:()=>m,f:()=>p});var n=r(5269),i=r(2405),a=r(5994),s=r(4344),l=t([a,s]);[a,s]=l.then?(await l)():l;const c=document.getElementById("cadastraResgateVoucher"),d=document.getElementById("tipoVoucher"),u=document.getElementById("informacoesResgateVoucher");function m(){d.disabled=!0,d.classList.remove("is-invalid"),c.disabled=!0,c.style.cursor="not-allowed",s.T5.classList.contains("btn-outline-danger")&&(d.value=d.options[0].value)}function p(){d.disabled=!1,c.disabled=!1,c.style.cursor="pointer"}function h(t){const e=document.createElement("small");e.className="opacity-50 m-0 px-4",e.textContent=`Voucher resgatado: ${t}`,u.firstChild&&u.removeChild(u.firstChild),u.appendChild(e)}function g(){u.textContent=""}document.getElementById("corpoTabelaDeListagemDeVoluntarios").addEventListener("click",(async t=>{g();const e=t.target.closest("tr").id,r=(0,i.H9)(n.db,"voluntario",e),o=(0,i.H9)(r,"festival",a.N),s=(await(0,i.x7)(o)).data().expediente.horarios_sexta.intervalo;let l=Object.keys(s).pop();const u=s.intervalo_1.resgate_voucher;u?h(u):g(),c.addEventListener("click",(async t=>{let e=d.value;await(0,i.BN)(o,{expediente:{horarios_sexta:{intervalo:{[l]:{resgate_voucher:e}}}}},{merge:!0}).then((()=>{console.log("Voucher resgatado com sucesso"),h(e),m()})).catch((t=>{console.error("Erro ao resgatar voucher: ",t)}))}))})),o()}catch(b){o(b)}}))},4344:(t,e,r)=>{"use strict";r.a(t,(async(t,o)=>{try{r.d(e,{Dl:()=>w,T5:()=>g,ct:()=>k,i_:()=>y,kG:()=>_,vG:()=>x});var n=r(5269),i=r(2405),a=r(5994),s=t([a]);a=(s.then?(await s)():s)[0];const l="2024",c=document.getElementById("codigoCredencial"),d=document.getElementById("cadastraCheckIn"),u=document.getElementById("cadastraCheckOut"),m=document.getElementById("horarioCheckIn"),p=document.getElementById("horarioCheckOut"),h=document.getElementById("cadastraInicioIntervalo"),g=document.getElementById("cadastraTerminoIntervalo"),b=document.getElementById("horariosDeIntervalo");function f(t){m.textContent=new Date(t.toDate()).toLocaleTimeString("pt-BR",{hour12:!1}),d.disabled=!0,d.classList.remove("btn-danger"),d.classList.add("btn-outline-danger")}function v(t){const e=t?new Date(t.toDate()).toLocaleTimeString("pt-BR",{hour12:!1}):"Checkout";p.textContent=e,u.disabled=!0,u.classList.remove("btn-danger"),u.classList.add("btn-outline-danger")}function y(){p.textContent="Checkout",u.disabled=!1,u.style.cursor="pointer",u.classList.remove("btn-outline-danger"),u.classList.add("btn-danger")}function w(){h.disabled=!0,h.classList.remove("btn-danger"),h.classList.add("btn-outline-danger")}function x(){h.disabled=!1,h.classList.remove("btn-outline-danger"),h.classList.add("btn-danger")}function _(){g.disabled=!0,g.classList.remove("btn-danger"),g.classList.add("btn-outline-danger")}function k(){g.disabled=!1,g.classList.remove("btn-outline-danger"),g.classList.add("btn-danger")}document.getElementById("corpoTabelaDeListagemDeVoluntarios").addEventListener("click",(async t=>{const e=t.target.closest("tr").id;b.innerHTML="",m.textContent="Check-In",d.classList.remove("btn-outline-danger"),d.classList.add("btn-danger"),p.textContent="Checkout",b.innerHTML="";const r=(0,i.H9)(n.db,"voluntario",e),o=(0,i.H9)(r,"festival",l),a=await(0,i.x7)(o),s=a.data().expediente.horarios_sexta.check_in,u=a.data().expediente.horarios_sexta.check_out,h=a.data().expediente.horarios_sexta.intervalo,g=h.intervalo_1.inicio_intervalo,E=h.intervalo_1.termino_intervalo;return null===s&&null===u?(null===c&&f(null),v(null),w(),void _()):null!==s&&null===u?(f(s),y(),null===g&&null===E?(x(),void _()):null!==g&&null===E?(w(),void k()):null!==g&&null!==E?(x(),void _()):void 0):null!==s&&null!==u?(f(s),v(u),w(),void _()):(m.textContent="Check-In",d.disabled=!1,d.classList.remove("btn-outline-danger"),void d.classList.add("btn-danger"))})),o()}catch(E){o(E)}}))},5994:(t,e,r)=>{"use strict";r.a(t,(async(t,o)=>{try{r.d(e,{N:()=>t});var n=r(5269),i=r(2405);const t="2024",a=(0,i.P)((0,i.rJ)(n.db,"voluntario"),(0,i._M)("nome_completo_voluntario","!=",null)),s=await(0,i.GG)(a);s.docChanges().forEach((async e=>{if("added"===e.type||"modified"===e.type){const r=e.doc,o=r.data(),n=o.nome_completo_voluntario,a=o.contato.email_voluntario,s=o.contato.celular_voluntario.replace("+55 ",""),l=(0,i.H9)(r.ref,"festival",t),c=(await(0,i.x7)(l)).data(),d=c.codigo_credencial_voluntario?c.codigo_credencial_voluntario:" - ",u=c.expediente.horarios_sexta.check_in?new Date(1e3*c.expediente.horarios_sexta.check_in).toLocaleTimeString("pt-BR"):" - ",m=c.expediente.horarios_sexta.intervalo.intervalo_1.inicio_intervalo?new Date(1e3*c.expediente.horarios_sexta.intervalo.intervalo_1.inicio_intervalo).toLocaleTimeString("pt-BR"):" - ",p=c.expediente.horarios_sexta.intervalo.intervalo_1.termino_intervalo?new Date(1e3*c.expediente.horarios_sexta.intervalo.intervalo_1.termino_intervalo).toLocaleTimeString("pt-BR"):" - ",h=c.expediente.horarios_sexta.check_out?new Date(1e3*c.expediente.horarios_sexta.check_out).toLocaleTimeString("pt-BR"):" - ";!function(t,e,r,o,n,i,a,s){const l=document.createElement("tr");l.id=t.id;const c=document.createElement("th");c.scope="row",c.classList.add("d-none","d-lg-table-cell");const d=document.createElement("div");d.classList.add("form-check");const u=document.createElement("input");u.classList.add("form-check-input"),u.type="checkbox",u.value=t.id,u.id="selecionaVoluntario",d.appendChild(u),c.appendChild(d),l.appendChild(c);const m=document.createElement("td"),p=document.createElement("div");p.classList.add("d-flex","align-items-center");const h=document.createElement("div");h.classList.add("ms");const g=document.createElement("p");g.classList.add("fw-semibold","mb-0"),g.textContent=e;const b=document.createElement("p");b.classList.add("text-muted","mb-0","d-none","d-md-table-cell"),b.textContent=r,b.style.overflowWrap="anywhere",h.appendChild(g),h.appendChild(b),p.appendChild(h),m.appendChild(p),l.appendChild(m);const f=document.createElement("td"),v=document.createElement("p");v.classList.add("fw-normal","mb-1"),v.textContent=o,f.appendChild(v),l.appendChild(f);const y=document.createElement("td");y.innerHTML=n,l.appendChild(y);const w=document.createElement("td"),x=document.createElement("p");x.classList.add("text-center"),x.id="credencial",x.textContent=i,w.appendChild(x),l.appendChild(w);const _=document.createElement("td");_.classList.add("d-none","d-md-table-cell");const k=document.createElement("p");k.classList.add("text-center"),k.id="check-in",k.textContent=a,_.appendChild(k),l.appendChild(_);const E=document.createElement("td");E.classList.add("d-none","d-md-table-cell");const I=document.createElement("p");I.classList.add("text-center"),I.id="checkout",I.textContent=s,E.appendChild(I),l.appendChild(E);const A=document.createElement("td"),T=document.createElement("div");T.classList.add("btn-group","btn-group-sm","gap-1"),T.role="group";const C=document.createElement("button");C.type="button",C.classList.add("btn","btn-outline-danger"),C.id="GerenciarRecursosDoVoluntarioNoFestival",C.dataset.bsToggle="offcanvas",C.dataset.bsTarget="#offcanvasRight",C.ariaControls="offcanvasRight",C.innerHTML='\n ',T.appendChild(C);const S=document.createElement("button");S.type="button",S.classList.add("btn","btn-outline-danger"),S.dataset.bsToggle="modal",S.dataset.bsTarget="#PerfilVoluntarioModal",S.id="AcessarPerfilVoluntario",S.innerHTML='',T.appendChild(S);const D=document.createElement("button");D.type="button",D.classList.add("btn","btn-outline-danger","d-none","d-lg-table-cell"),D.id="RemoverVoluntario",D.dataset.bsToggle="modal",D.dataset.bsTarget="#RemoverVoluntarioModal",D.innerHTML='',T.appendChild(D),A.appendChild(T),l.appendChild(A),document.getElementById("corpoTabelaDeListagemDeVoluntarios").appendChild(l)}(r,n,a,s," - "!=u&&" - "==h&&" - "==m&&" - "==p?" Ativo ":" - "!=u&&" - "==h&&" - "!=m&&" - "==p?" Intervalo ":" - "!=u&&" - "==h&&" - "!=m&&" - "!=p?" Ativo ":" Inativo ",d,u,h)}})),document.getElementById("buscaVoluntarioNaTabela").addEventListener("input",(t=>{const e=t.target.value.toLowerCase();document.querySelectorAll("#corpoTabelaDeListagemDeVoluntarios tr").forEach((t=>{t.querySelector(".fw-semibold").textContent.toLowerCase().includes(e)?t.style.display="table-row":t.style.display="none"}))}));const l=document.getElementById("corpoTabelaDeListagemDeVoluntarios");l.addEventListener("click",(t=>{const e=t.target.closest("tr").id,r=s.docs.find((t=>t.id===e)),o=r.id,n=r.data().nome_completo_voluntario;document.getElementById("identificaRegistroVoluntario").innerText=`${o}`,document.getElementById("nomeVoluntarioCandidatoRemocao").innerText=`${n}`,document.getElementById("gestaoRecusosVoluntarioNoFestival").innerText=`${o}`,document.getElementById("nomeVoluntarioGerenciado").innerText=`${n}`})),document.getElementById("selecionaVoluntarioNaTabela").addEventListener("click",(t=>{const e=document.querySelectorAll("#selecionaVoluntario");if(t.target.checked)try{e.forEach((t=>{t.checked=!0}))}catch(t){console.erro("Não foi possível selecionar todos os voluntários da lista",t)}if(!t.target.checked)try{e.forEach((t=>{t.checked=!1}))}catch(t){console.erro("Não foi possível deselecionar todos os voluntários da lista",t)}})),l.click(),document.getElementById("buscaVoluntarioNaTabela").classList.add("border-0","border-bottom","border-danger","border-opacity-75"),o()}catch(t){o(t)}}),1)},6003:(t,e,r)=>{"use strict";r.a(t,(async(t,e)=>{try{var o=r(5269),n=r(2405),i=r(5994),a=t([i]);i=(a.then?(await a)():a)[0],document.getElementById("corpoTabelaDeListagemDeVoluntarios").addEventListener("click",(()=>{document.querySelectorAll("tr").forEach((t=>{t.addEventListener("click",(async()=>{const e=t.id,r=(0,n.H9)(o.db,"voluntario",e),i=await(0,n.x7)(r),a=(0,n.H9)(r,"festival","2024"),s=await(0,n.x7)(a);if(c(),i.exists()){const t=s.data().codigo_credencial_voluntario,e=new Date(s.data().data_inscricao.toDate()).toLocaleDateString("pt-BR");if(document.getElementById("docVoluntarioPerfil").innerHTML=`ID: ${t} | Voluntário desde ${e}`,null===t&&(document.getElementById("docVoluntarioPerfil").innerHTML=`Voluntário desde ${e}`),document.getElementById("nomeCompletoDoVoluntario").value=i.data().nome_completo_voluntario,document.getElementById("cpfDoVoluntario").value=i.data().cpf_voluntario,document.getElementById("emailDoVoluntario").value=i.data().contato.email_voluntario,document.getElementById("telefoneDoVoluntario").value=i.data().contato.celular_voluntario,"Masculino"===i.data().dados_pessoais.sexo_voluntario?document.getElementById("sexoMasculino").checked=!0:document.getElementById("sexoFeminino").checked=!0,document.getElementById("faixaEtariaDoVoluntario").value=i.data().dados_pessoais.faixa_etaria,document.getElementById("nomeContatoDoVoluntario").value=i.data().contato.emergencia.nome_contato_emergencia,document.getElementById("telefoneContatoDoVoluntario").value=i.data().contato.emergencia.telefone_contato_emergencia,document.getElementById("cepDoVoluntario").setAttribute("readonly",!0),document.getElementById("cepDoVoluntario").value=i.data().endereco.cep,document.getElementById("enderecoDoVoluntario").value=i.data().endereco.logradouro,document.getElementById("bairroDoVoluntario").value=i.data().endereco.bairro,document.getElementById("cidadeDoVoluntario").value=i.data().endereco.cidade,document.getElementById("estadoDoVoluntario").value=i.data().endereco.estado,document.getElementById("ascendente").setAttribute("hidden",!0),!0===i.data().dados_pessoais.descendencia.possui_descendencia_japonesa){document.getElementById("descendenteSim").checked=!0,document.getElementById("ascendente").removeAttribute("hidden");const t=i.data().dados_pessoais.descendencia.ascendencia_voluntario.match(/\(([^)]+)\)/),e=t?t[1]:"";document.getElementById("ascendenciaDoVoluntarioDescendente").innerText+=e}else document.getElementById("descendenteNao").checked=!0,document.getElementById("ascendente").setAttribute("hidden",!0);document.getElementById("idiomaVoluntarioIngles").removeAttribute("checked",!0),!0===i.data().carreira.escolaridade.conhecimento_linguas.idioma_ingles?document.getElementById("idiomaVoluntarioIngles").checked=!0:document.getElementById("idiomaVoluntarioIngles").removeAttribute("checked"),document.getElementById("idiomaVoluntarioJapones").removeAttribute("checked",!0),!0===i.data().carreira.escolaridade.conhecimento_linguas.idioma_japones?document.getElementById("idiomaVoluntarioJapones").checked=!0:document.getElementById("idiomaVoluntarioJapones").removeAttribute("checked"),document.getElementById("idiomaVoluntarioEspanhol").removeAttribute("checked",!0),!0===i.data().carreira.escolaridade.conhecimento_linguas.idioma_espanhol?document.getElementById("idiomaVoluntarioEspanhol").checked=!0:document.getElementById("idiomaVoluntarioEspanhol").removeAttribute("checked"),!0===i.data().carreira.escolaridade.conhecimento_linguas.linguagem_de_sinais_brasileira?document.getElementById("conhecimentoLibrasSim").checked=!0:document.getElementById("conhecimentoLibrasNao").checked=!0,!0===i.data().treinamento_primeiros_socorros?document.getElementById("treinamentoSim").checked=!0:document.getElementById("treinamentoNao").checked=!0,document.getElementById("nivelEscolaridadeVoluntario").value=i.data().carreira.escolaridade.nivel_escolaridade,!0===i.data().carreira.profissao.trabalha_atualmente?document.getElementById("trabalhaSim").checked=!0:document.getElementById("trabalhaNao").checked=!0}else console.log("Não foi possível encontrar o perfil deste voluntário.")}))}))}));const s=document.getElementById("btnFecharPerfilHeader"),l=document.getElementById("btnFecharPerfilFooter");function c(){document.getElementById("nomeCompletoDoVoluntario").value="",document.getElementById("cpfDoVoluntario").value="",document.getElementById("emailDoVoluntario").value="",document.getElementById("telefoneDoVoluntario").value="",document.getElementById("sexoMasculino").checked=!1,document.getElementById("sexoFeminino").checked=!1,document.getElementById("faixaEtariaDoVoluntario").value="",document.getElementById("nomeContatoDoVoluntario").value="",document.getElementById("telefoneContatoDoVoluntario").value="",document.getElementById("cepDoVoluntario").value="",document.getElementById("enderecoDoVoluntario").value="",document.getElementById("bairroDoVoluntario").value="",document.getElementById("cidadeDoVoluntario").value="",document.getElementById("estadoDoVoluntario").value="",document.getElementById("descendenteSim").checked=!1,document.getElementById("descendenteNao").checked=!1,document.getElementById("ascendenciaDoVoluntarioDescendente").innerText="",document.getElementById("idiomaVoluntarioIngles").checked=!1,document.getElementById("idiomaVoluntarioJapones").checked=!1,document.getElementById("idiomaVoluntarioEspanhol").checked=!1,document.getElementById("conhecimentoLibrasSim").checked=!1,document.getElementById("conhecimentoLibrasNao").checked=!1,document.getElementById("treinamentoSim").checked=!1,document.getElementById("treinamentoNao").checked=!1,document.getElementById("nivelEscolaridadeVoluntario").value="",document.getElementById("trabalhaSim").checked=!1,document.getElementById("trabalhaNao").checked=!1}(s.click||l.click)&&c(),e()}catch(d){e(d)}}))},1093:(t,e,r)=>{"use strict";r.a(t,(async(t,e)=>{try{var o=r(5269),n=r(2405),i=r(5994),a=t([i]);async function s(t){const e=document.getElementById("qtdeVoluntariosPresentes");" Ativo "===t&&(e.textContent=parseInt(e.textContent)-1);const r=document.getElementById("qtdeVoluntariosIntervalo");" Intervalo "===t&&(r.textContent=parseInt(r.textContent)-1);const o=document.getElementById("qtdeVoluntariosAusentes");" Inativo "===t&&(o.textContent=parseInt(o.textContent)-1)}i=(a.then?(await a)():a)[0],document.getElementById("btnRemoverVoluntario").addEventListener("click",(async()=>{const t=document.getElementById("identificaRegistroVoluntario").textContent,e=document.getElementById("statusVoluntario").textContent;try{await(0,n.kd)((0,n.H9)(o.db,"voluntario",t)).then((()=>{console.log("Voluntário removido com sucesso!"),s(e)}));const r=await(0,n.GG)((0,n.P)((0,n.rJ)(o.db,"voluntario")));document.getElementById("totalVoluntariosFestival").innerHTML=r.size;const i=document.getElementById(t);i&&i.remove()}catch(t){console.error("Erro ao remover voluntário: ",t)}})),e()}catch(l){e(l)}}))},8330:t=>{"use strict";t.exports={rE:"1.0.14"}}},i={};function a(t){var e=i[t];if(void 0!==e)return e.exports;var r=i[t]={id:t,exports:{}};return n[t](r,r.exports,a),r.exports}a.m=n,t="function"==typeof Symbol?Symbol("webpack queues"):"__webpack_queues__",e="function"==typeof Symbol?Symbol("webpack exports"):"__webpack_exports__",r="function"==typeof Symbol?Symbol("webpack error"):"__webpack_error__",o=t=>{t&&t.d<1&&(t.d=1,t.forEach((t=>t.r--)),t.forEach((t=>t.r--?t.r++:t())))},a.a=(n,i,a)=>{var s;a&&((s=[]).d=-1);var l,c,d,u=new Set,m=n.exports,p=new Promise(((t,e)=>{d=e,c=t}));p[e]=m,p[t]=t=>(s&&t(s),u.forEach(t),p.catch((t=>{}))),n.exports=p,i((n=>{var i;l=(n=>n.map((n=>{if(null!==n&&"object"==typeof n){if(n[t])return n;if(n.then){var i=[];i.d=0,n.then((t=>{a[e]=t,o(i)}),(t=>{a[r]=t,o(i)}));var a={};return a[t]=t=>t(i),a}}var s={};return s[t]=t=>{},s[e]=n,s})))(n);var a=()=>l.map((t=>{if(t[r])throw t[r];return t[e]})),c=new Promise((e=>{(i=()=>e(a)).r=0;var r=t=>t!==s&&!u.has(t)&&(u.add(t),t&&!t.d&&(i.r++,t.push(i)));l.map((e=>e[t](r)))}));return i.r?c:a()}),(t=>(t?d(p[r]=t):c(m),o(s)))),s&&s.d<0&&(s.d=0)},a.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},a.d=(t,e)=>{for(var r in e)a.o(e,r)&&!a.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),a.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.b=document.baseURI||self.location.href,a.nc=void 0,a(7157)})(); \ No newline at end of file +(()=>{var t,e,r,o,n={5790:(t,e,r)=>{"use strict";r.d(e,{BN:()=>os,GG:()=>rs,H9:()=>la,P:()=>Fa,_M:()=>$a,aU:()=>ua,kd:()=>is,mZ:()=>ns,rJ:()=>sa,x7:()=>ts});var o=r(8461),n=r(5125),i=r(3424),a=r(6743),s=r(2429),l=r(1853);const c="@firebase/firestore";class d{constructor(t){this.uid=t}isAuthenticated(){return null!=this.uid}toKey(){return this.isAuthenticated()?"uid:"+this.uid:"anonymous-user"}isEqual(t){return t.uid===this.uid}}d.UNAUTHENTICATED=new d(null),d.GOOGLE_CREDENTIALS=new d("google-credentials-uid"),d.FIRST_PARTY=new d("first-party-uid"),d.MOCK_USER=new d("mock-user");let u="11.0.2";const m=new i.Vy("@firebase/firestore");function p(){return m.logLevel}function h(t,...e){if(m.logLevel<=i.$b.DEBUG){const r=e.map(f);m.debug(`Firestore (${u}): ${t}`,...r)}}function g(t,...e){if(m.logLevel<=i.$b.ERROR){const r=e.map(f);m.error(`Firestore (${u}): ${t}`,...r)}}function b(t,...e){if(m.logLevel<=i.$b.WARN){const r=e.map(f);m.warn(`Firestore (${u}): ${t}`,...r)}}function f(t){if("string"==typeof t)return t;try{return function(t){return JSON.stringify(t)}(t)}catch(e){return t}}function v(t="Unexpected state"){const e=`FIRESTORE (${u}) INTERNAL ASSERTION FAILED: `+t;throw g(e),new Error(e)}function y(t,e){t||v()}function w(t,e){return t}const x={OK:"ok",CANCELLED:"cancelled",UNKNOWN:"unknown",INVALID_ARGUMENT:"invalid-argument",DEADLINE_EXCEEDED:"deadline-exceeded",NOT_FOUND:"not-found",ALREADY_EXISTS:"already-exists",PERMISSION_DENIED:"permission-denied",UNAUTHENTICATED:"unauthenticated",RESOURCE_EXHAUSTED:"resource-exhausted",FAILED_PRECONDITION:"failed-precondition",ABORTED:"aborted",OUT_OF_RANGE:"out-of-range",UNIMPLEMENTED:"unimplemented",INTERNAL:"internal",UNAVAILABLE:"unavailable",DATA_LOSS:"data-loss"};class _ extends a.g{constructor(t,e){super(t,e),this.code=t,this.message=e,this.toString=()=>`${this.name}: [code=${this.code}]: ${this.message}`}}class k{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}}class E{constructor(t,e){this.user=e,this.type="OAuth",this.headers=new Map,this.headers.set("Authorization",`Bearer ${t}`)}}class I{getToken(){return Promise.resolve(null)}invalidateToken(){}start(t,e){t.enqueueRetryable((()=>e(d.UNAUTHENTICATED)))}shutdown(){}}class A{constructor(t){this.token=t,this.changeListener=null}getToken(){return Promise.resolve(this.token)}invalidateToken(){}start(t,e){this.changeListener=e,t.enqueueRetryable((()=>e(this.token.user)))}shutdown(){this.changeListener=null}}class T{constructor(t){this.t=t,this.currentUser=d.UNAUTHENTICATED,this.i=0,this.forceRefresh=!1,this.auth=null}start(t,e){y(void 0===this.o);let r=this.i;const o=t=>this.i!==r?(r=this.i,e(t)):Promise.resolve();let n=new k;this.o=()=>{this.i++,this.currentUser=this.u(),n.resolve(),n=new k,t.enqueueRetryable((()=>o(this.currentUser)))};const i=()=>{const e=n;t.enqueueRetryable((async()=>{await e.promise,await o(this.currentUser)}))},a=t=>{h("FirebaseAuthCredentialsProvider","Auth detected"),this.auth=t,this.o&&(this.auth.addAuthTokenListener(this.o),i())};this.t.onInit((t=>a(t))),setTimeout((()=>{if(!this.auth){const t=this.t.getImmediate({optional:!0});t?a(t):(h("FirebaseAuthCredentialsProvider","Auth not yet detected"),n.resolve(),n=new k)}}),0),i()}getToken(){const t=this.i,e=this.forceRefresh;return this.forceRefresh=!1,this.auth?this.auth.getToken(e).then((e=>this.i!==t?(h("FirebaseAuthCredentialsProvider","getToken aborted due to token change."),this.getToken()):e?(y("string"==typeof e.accessToken),new E(e.accessToken,this.currentUser)):null)):Promise.resolve(null)}invalidateToken(){this.forceRefresh=!0}shutdown(){this.auth&&this.o&&this.auth.removeAuthTokenListener(this.o),this.o=void 0}u(){const t=this.auth&&this.auth.getUid();return y(null===t||"string"==typeof t),new d(t)}}class C{constructor(t,e,r){this.l=t,this.h=e,this.P=r,this.type="FirstParty",this.user=d.FIRST_PARTY,this.T=new Map}I(){return this.P?this.P():null}get headers(){this.T.set("X-Goog-AuthUser",this.l);const t=this.I();return t&&this.T.set("Authorization",t),this.h&&this.T.set("X-Goog-Iam-Authorization-Token",this.h),this.T}}class S{constructor(t,e,r){this.l=t,this.h=e,this.P=r}getToken(){return Promise.resolve(new C(this.l,this.h,this.P))}start(t,e){t.enqueueRetryable((()=>e(d.FIRST_PARTY)))}shutdown(){}invalidateToken(){}}class D{constructor(t){this.value=t,this.type="AppCheck",this.headers=new Map,t&&t.length>0&&this.headers.set("x-firebase-appcheck",this.value)}}class L{constructor(t){this.A=t,this.forceRefresh=!1,this.appCheck=null,this.R=null}start(t,e){y(void 0===this.o);const r=t=>{null!=t.error&&h("FirebaseAppCheckTokenProvider",`Error getting App Check token; using placeholder token instead. Error: ${t.error.message}`);const r=t.token!==this.R;return this.R=t.token,h("FirebaseAppCheckTokenProvider",`Received ${r?"new":"existing"} token.`),r?e(t.token):Promise.resolve()};this.o=e=>{t.enqueueRetryable((()=>r(e)))};const o=t=>{h("FirebaseAppCheckTokenProvider","AppCheck detected"),this.appCheck=t,this.o&&this.appCheck.addTokenListener(this.o)};this.A.onInit((t=>o(t))),setTimeout((()=>{if(!this.appCheck){const t=this.A.getImmediate({optional:!0});t?o(t):h("FirebaseAppCheckTokenProvider","AppCheck not yet detected")}}),0)}getToken(){const t=this.forceRefresh;return this.forceRefresh=!1,this.appCheck?this.appCheck.getToken(t).then((t=>t?(y("string"==typeof t.token),this.R=t.token,new D(t.token)):null)):Promise.resolve(null)}invalidateToken(){this.forceRefresh=!0}shutdown(){this.appCheck&&this.o&&this.appCheck.removeTokenListener(this.o),this.o=void 0}}function N(t){const e="undefined"!=typeof self&&(self.crypto||self.msCrypto),r=new Uint8Array(t);if(e&&"function"==typeof e.getRandomValues)e.getRandomValues(r);else for(let e=0;ee?1:0}function R(t,e,r){return t.length===e.length&&t.every(((t,o)=>r(t,e[o])))}class B{static now(){return B.fromMillis(Date.now())}static fromDate(t){return B.fromMillis(t.getTime())}static fromMillis(t){const e=Math.floor(t/1e3),r=Math.floor(1e6*(t-1e3*e));return new B(e,r)}constructor(t,e){if(this.seconds=t,this.nanoseconds=e,e<0)throw new _(x.INVALID_ARGUMENT,"Timestamp nanoseconds out of range: "+e);if(e>=1e9)throw new _(x.INVALID_ARGUMENT,"Timestamp nanoseconds out of range: "+e);if(t<-62135596800)throw new _(x.INVALID_ARGUMENT,"Timestamp seconds out of range: "+t);if(t>=253402300800)throw new _(x.INVALID_ARGUMENT,"Timestamp seconds out of range: "+t)}toDate(){return new Date(this.toMillis())}toMillis(){return 1e3*this.seconds+this.nanoseconds/1e6}_compareTo(t){return this.seconds===t.seconds?M(this.nanoseconds,t.nanoseconds):M(this.seconds,t.seconds)}isEqual(t){return t.seconds===this.seconds&&t.nanoseconds===this.nanoseconds}toString(){return"Timestamp(seconds="+this.seconds+", nanoseconds="+this.nanoseconds+")"}toJSON(){return{seconds:this.seconds,nanoseconds:this.nanoseconds}}valueOf(){const t=this.seconds- -62135596800;return String(t).padStart(12,"0")+"."+String(this.nanoseconds).padStart(9,"0")}}class P{static fromTimestamp(t){return new P(t)}static min(){return new P(new B(0,0))}static max(){return new P(new B(253402300799,999999999))}constructor(t){this.timestamp=t}compareTo(t){return this.timestamp._compareTo(t.timestamp)}isEqual(t){return this.timestamp.isEqual(t.timestamp)}toMicroseconds(){return 1e6*this.timestamp.seconds+this.timestamp.nanoseconds/1e3}toString(){return"SnapshotVersion("+this.timestamp.toString()+")"}toTimestamp(){return this.timestamp}}class V{constructor(t,e,r){void 0===e?e=0:e>t.length&&v(),void 0===r?r=t.length-e:r>t.length-e&&v(),this.segments=t,this.offset=e,this.len=r}get length(){return this.len}isEqual(t){return 0===V.comparator(this,t)}child(t){const e=this.segments.slice(this.offset,this.limit());return t instanceof V?t.forEach((t=>{e.push(t)})):e.push(t),this.construct(e)}limit(){return this.offset+this.length}popFirst(t){return t=void 0===t?1:t,this.construct(this.segments,this.offset+t,this.length-t)}popLast(){return this.construct(this.segments,this.offset,this.length-1)}firstSegment(){return this.segments[this.offset]}lastSegment(){return this.get(this.length-1)}get(t){return this.segments[this.offset+t]}isEmpty(){return 0===this.length}isPrefixOf(t){if(t.lengthn)return 1}return t.lengthe.length?1:0}}class j extends V{construct(t,e,r){return new j(t,e,r)}canonicalString(){return this.toArray().join("/")}toString(){return this.canonicalString()}toUriEncodedString(){return this.toArray().map(encodeURIComponent).join("/")}static fromString(...t){const e=[];for(const r of t){if(r.indexOf("//")>=0)throw new _(x.INVALID_ARGUMENT,`Invalid segment (${r}). Paths must not contain // in them.`);e.push(...r.split("/").filter((t=>t.length>0)))}return new j(e)}static emptyPath(){return new j([])}}const z=/^[_a-zA-Z][_a-zA-Z0-9]*$/;class F extends V{construct(t,e,r){return new F(t,e,r)}static isValidIdentifier(t){return z.test(t)}canonicalString(){return this.toArray().map((t=>(t=t.replace(/\\/g,"\\\\").replace(/`/g,"\\`"),F.isValidIdentifier(t)||(t="`"+t+"`"),t))).join(".")}toString(){return this.canonicalString()}isKeyField(){return 1===this.length&&"__name__"===this.get(0)}static keyField(){return new F(["__name__"])}static fromServerFormat(t){const e=[];let r="",o=0;const n=()=>{if(0===r.length)throw new _(x.INVALID_ARGUMENT,`Invalid field path (${t}). Paths must not be empty, begin with '.', end with '.', or contain '..'`);e.push(r),r=""};let i=!1;for(;o=2&&this.path.get(this.path.length-2)===t}getCollectionGroup(){return this.path.get(this.path.length-2)}getCollectionPath(){return this.path.popLast()}isEqual(t){return null!==t&&0===j.comparator(this.path,t.path)}toString(){return this.path.toString()}static comparator(t,e){return j.comparator(t.path,e.path)}static isDocumentKey(t){return t.length%2==0}static fromSegments(t){return new q(new j(t.slice()))}}function $(t){return new U(t.readTime,t.key,-1)}class U{constructor(t,e,r){this.readTime=t,this.documentKey=e,this.largestBatchId=r}static min(){return new U(P.min(),q.empty(),-1)}static max(){return new U(P.max(),q.empty(),-1)}}function H(t,e){let r=t.readTime.compareTo(e.readTime);return 0!==r?r:(r=q.comparator(t.documentKey,e.documentKey),0!==r?r:M(t.largestBatchId,e.largestBatchId))}const G="The current tab is not in the required state to perform this operation. It might be necessary to refresh the browser tab.";class K{constructor(){this.onCommittedListeners=[]}addOnCommittedListener(t){this.onCommittedListeners.push(t)}raiseOnCommittedEvent(){this.onCommittedListeners.forEach((t=>t()))}}async function W(t){if(t.code!==x.FAILED_PRECONDITION||t.message!==G)throw t;h("LocalStore","Unexpectedly lost primary lease")}class Q{constructor(t){this.nextCallback=null,this.catchCallback=null,this.result=void 0,this.error=void 0,this.isDone=!1,this.callbackAttached=!1,t((t=>{this.isDone=!0,this.result=t,this.nextCallback&&this.nextCallback(t)}),(t=>{this.isDone=!0,this.error=t,this.catchCallback&&this.catchCallback(t)}))}catch(t){return this.next(void 0,t)}next(t,e){return this.callbackAttached&&v(),this.callbackAttached=!0,this.isDone?this.error?this.wrapFailure(e,this.error):this.wrapSuccess(t,this.result):new Q(((r,o)=>{this.nextCallback=e=>{this.wrapSuccess(t,e).next(r,o)},this.catchCallback=t=>{this.wrapFailure(e,t).next(r,o)}}))}toPromise(){return new Promise(((t,e)=>{this.next(t,e)}))}wrapUserFunction(t){try{const e=t();return e instanceof Q?e:Q.resolve(e)}catch(t){return Q.reject(t)}}wrapSuccess(t,e){return t?this.wrapUserFunction((()=>t(e))):Q.resolve(e)}wrapFailure(t,e){return t?this.wrapUserFunction((()=>t(e))):Q.reject(e)}static resolve(t){return new Q(((e,r)=>{e(t)}))}static reject(t){return new Q(((e,r)=>{r(t)}))}static waitFor(t){return new Q(((e,r)=>{let o=0,n=0,i=!1;t.forEach((t=>{++o,t.next((()=>{++n,i&&n===o&&e()}),(t=>r(t)))})),i=!0,n===o&&e()}))}static or(t){let e=Q.resolve(!1);for(const r of t)e=e.next((t=>t?Q.resolve(t):r()));return e}static forEach(t,e){const r=[];return t.forEach(((t,o)=>{r.push(e.call(this,t,o))})),this.waitFor(r)}static mapArray(t,e){return new Q(((r,o)=>{const n=t.length,i=new Array(n);let a=0;for(let s=0;s{i[l]=t,++a,a===n&&r(i)}),(t=>o(t)))}}))}static doWhile(t,e){return new Q(((r,o)=>{const n=()=>{!0===t()?e().next((()=>{n()}),o):r()};n()}))}}function X(t){return"IndexedDbTransactionError"===t.name}class Y{constructor(t,e){this.previousValue=t,e&&(e.sequenceNumberHandler=t=>this.ie(t),this.se=t=>e.writeSequenceNumber(t))}ie(t){return this.previousValue=Math.max(t,this.previousValue),this.previousValue}next(){const t=++this.previousValue;return this.se&&this.se(t),t}}function J(t){return null==t}function Z(t){return 0===t&&1/t==-1/0}function tt(t,e){let r=e;const o=t.length;for(let e=0;e0&&(e=e.right)}return null}indexOf(t){let e=0,r=this.root;for(;!r.isEmpty();){const o=this.comparator(t,r.key);if(0===o)return e+r.left.size;o<0?r=r.left:(e+=r.left.size+1,r=r.right)}return-1}isEmpty(){return this.root.isEmpty()}get size(){return this.root.size}minKey(){return this.root.minKey()}maxKey(){return this.root.maxKey()}inorderTraversal(t){return this.root.inorderTraversal(t)}forEach(t){this.inorderTraversal(((e,r)=>(t(e,r),!1)))}toString(){const t=[];return this.inorderTraversal(((e,r)=>(t.push(`${e}:${r}`),!1))),`{${t.join(", ")}}`}reverseTraversal(t){return this.root.reverseTraversal(t)}getIterator(){return new at(this.root,null,this.comparator,!1)}getIteratorFrom(t){return new at(this.root,t,this.comparator,!1)}getReverseIterator(){return new at(this.root,null,this.comparator,!0)}getReverseIteratorFrom(t){return new at(this.root,t,this.comparator,!0)}}class at{constructor(t,e,r,o){this.isReverse=o,this.nodeStack=[];let n=1;for(;!t.isEmpty();)if(n=e?r(t.key,e):1,e&&o&&(n*=-1),n<0)t=this.isReverse?t.left:t.right;else{if(0===n){this.nodeStack.push(t);break}this.nodeStack.push(t),t=this.isReverse?t.right:t.left}}getNext(){let t=this.nodeStack.pop();const e={key:t.key,value:t.value};if(this.isReverse)for(t=t.left;!t.isEmpty();)this.nodeStack.push(t),t=t.right;else for(t=t.right;!t.isEmpty();)this.nodeStack.push(t),t=t.left;return e}hasNext(){return this.nodeStack.length>0}peek(){if(0===this.nodeStack.length)return null;const t=this.nodeStack[this.nodeStack.length-1];return{key:t.key,value:t.value}}}class st{constructor(t,e,r,o,n){this.key=t,this.value=e,this.color=null!=r?r:st.RED,this.left=null!=o?o:st.EMPTY,this.right=null!=n?n:st.EMPTY,this.size=this.left.size+1+this.right.size}copy(t,e,r,o,n){return new st(null!=t?t:this.key,null!=e?e:this.value,null!=r?r:this.color,null!=o?o:this.left,null!=n?n:this.right)}isEmpty(){return!1}inorderTraversal(t){return this.left.inorderTraversal(t)||t(this.key,this.value)||this.right.inorderTraversal(t)}reverseTraversal(t){return this.right.reverseTraversal(t)||t(this.key,this.value)||this.left.reverseTraversal(t)}min(){return this.left.isEmpty()?this:this.left.min()}minKey(){return this.min().key}maxKey(){return this.right.isEmpty()?this.key:this.right.maxKey()}insert(t,e,r){let o=this;const n=r(t,o.key);return o=n<0?o.copy(null,null,null,o.left.insert(t,e,r),null):0===n?o.copy(null,e,null,null,null):o.copy(null,null,null,null,o.right.insert(t,e,r)),o.fixUp()}removeMin(){if(this.left.isEmpty())return st.EMPTY;let t=this;return t.left.isRed()||t.left.left.isRed()||(t=t.moveRedLeft()),t=t.copy(null,null,null,t.left.removeMin(),null),t.fixUp()}remove(t,e){let r,o=this;if(e(t,o.key)<0)o.left.isEmpty()||o.left.isRed()||o.left.left.isRed()||(o=o.moveRedLeft()),o=o.copy(null,null,null,o.left.remove(t,e),null);else{if(o.left.isRed()&&(o=o.rotateRight()),o.right.isEmpty()||o.right.isRed()||o.right.left.isRed()||(o=o.moveRedRight()),0===e(t,o.key)){if(o.right.isEmpty())return st.EMPTY;r=o.right.min(),o=o.copy(r.key,r.value,null,null,o.right.removeMin())}o=o.copy(null,null,null,null,o.right.remove(t,e))}return o.fixUp()}isRed(){return this.color}fixUp(){let t=this;return t.right.isRed()&&!t.left.isRed()&&(t=t.rotateLeft()),t.left.isRed()&&t.left.left.isRed()&&(t=t.rotateRight()),t.left.isRed()&&t.right.isRed()&&(t=t.colorFlip()),t}moveRedLeft(){let t=this.colorFlip();return t.right.left.isRed()&&(t=t.copy(null,null,null,null,t.right.rotateRight()),t=t.rotateLeft(),t=t.colorFlip()),t}moveRedRight(){let t=this.colorFlip();return t.left.left.isRed()&&(t=t.rotateRight(),t=t.colorFlip()),t}rotateLeft(){const t=this.copy(null,null,st.RED,null,this.right.left);return this.right.copy(null,null,this.color,t,null)}rotateRight(){const t=this.copy(null,null,st.RED,this.left.right,null);return this.left.copy(null,null,this.color,null,t)}colorFlip(){const t=this.left.copy(null,null,!this.left.color,null,null),e=this.right.copy(null,null,!this.right.color,null,null);return this.copy(null,null,!this.color,t,e)}checkMaxDepth(){const t=this.check();return Math.pow(2,t)<=this.size+1}check(){if(this.isRed()&&this.left.isRed())throw v();if(this.right.isRed())throw v();const t=this.left.check();if(t!==this.right.check())throw v();return t+(this.isRed()?0:1)}}st.EMPTY=null,st.RED=!0,st.BLACK=!1,st.EMPTY=new class{constructor(){this.size=0}get key(){throw v()}get value(){throw v()}get color(){throw v()}get left(){throw v()}get right(){throw v()}copy(t,e,r,o,n){return this}insert(t,e,r){return new st(t,e)}remove(t,e){return this}isEmpty(){return!0}inorderTraversal(t){return!1}reverseTraversal(t){return!1}minKey(){return null}maxKey(){return null}isRed(){return!1}checkMaxDepth(){return!0}check(){return 0}};class lt{constructor(t){this.comparator=t,this.data=new it(this.comparator)}has(t){return null!==this.data.get(t)}first(){return this.data.minKey()}last(){return this.data.maxKey()}get size(){return this.data.size}indexOf(t){return this.data.indexOf(t)}forEach(t){this.data.inorderTraversal(((e,r)=>(t(e),!1)))}forEachInRange(t,e){const r=this.data.getIteratorFrom(t[0]);for(;r.hasNext();){const o=r.getNext();if(this.comparator(o.key,t[1])>=0)return;e(o.key)}}forEachWhile(t,e){let r;for(r=void 0!==e?this.data.getIteratorFrom(e):this.data.getIterator();r.hasNext();)if(!t(r.getNext().key))return}firstAfterOrEqual(t){const e=this.data.getIteratorFrom(t);return e.hasNext()?e.getNext().key:null}getIterator(){return new ct(this.data.getIterator())}getIteratorFrom(t){return new ct(this.data.getIteratorFrom(t))}add(t){return this.copy(this.data.remove(t).insert(t,!0))}delete(t){return this.has(t)?this.copy(this.data.remove(t)):this}isEmpty(){return this.data.isEmpty()}unionWith(t){let e=this;return e.size{e=e.add(t)})),e}isEqual(t){if(!(t instanceof lt))return!1;if(this.size!==t.size)return!1;const e=this.data.getIterator(),r=t.data.getIterator();for(;e.hasNext();){const t=e.getNext().key,o=r.getNext().key;if(0!==this.comparator(t,o))return!1}return!0}toArray(){const t=[];return this.forEach((e=>{t.push(e)})),t}toString(){const t=[];return this.forEach((e=>t.push(e))),"SortedSet("+t.toString()+")"}copy(t){const e=new lt(this.comparator);return e.data=t,e}}class ct{constructor(t){this.iter=t}getNext(){return this.iter.getNext().key}hasNext(){return this.iter.hasNext()}}class dt{constructor(t){this.fields=t,t.sort(F.comparator)}static empty(){return new dt([])}unionWith(t){let e=new lt(F.comparator);for(const t of this.fields)e=e.add(t);for(const r of t)e=e.add(r);return new dt(e.toArray())}covers(t){for(const e of this.fields)if(e.isPrefixOf(t))return!0;return!1}isEqual(t){return R(this.fields,t.fields,((t,e)=>t.isEqual(e)))}}class ut extends Error{constructor(){super(...arguments),this.name="Base64DecodeError"}}class mt{constructor(t){this.binaryString=t}static fromBase64String(t){const e=function(t){try{return atob(t)}catch(t){throw"undefined"!=typeof DOMException&&t instanceof DOMException?new ut("Invalid base64 string: "+t):t}}(t);return new mt(e)}static fromUint8Array(t){const e=function(t){let e="";for(let r=0;rtEt(t,e)))}function At(t,e){if(t===e)return 0;const r=kt(t),o=kt(e);if(r!==o)return M(r,o);switch(r){case 0:case 9007199254740991:return 0;case 1:return M(t.booleanValue,e.booleanValue);case 2:return function(t,e){const r=gt(t.integerValue||t.doubleValue),o=gt(e.integerValue||e.doubleValue);return ro?1:r===o?0:isNaN(r)?isNaN(o)?0:-1:1}(t,e);case 3:return Tt(t.timestampValue,e.timestampValue);case 4:return Tt(yt(t),yt(e));case 5:return M(t.stringValue,e.stringValue);case 6:return function(t,e){const r=bt(t),o=bt(e);return r.compareTo(o)}(t.bytesValue,e.bytesValue);case 7:return function(t,e){const r=t.split("/"),o=e.split("/");for(let t=0;tt+Lt(e)),0)}(t.arrayValue);case 10:case 11:return function(t){let e=0;return ot(t.fields,((t,r)=>{e+=t.length+Lt(r)})),e}(t.mapValue);default:throw v()}}function Nt(t,e){return{referenceValue:`projects/${t.projectId}/databases/${t.database}/documents/${e.path.canonicalString()}`}}function Ot(t){return!!t&&"integerValue"in t}function Mt(t){return!!t&&"arrayValue"in t}function Rt(t){return!!t&&"nullValue"in t}function Bt(t){return!!t&&"doubleValue"in t&&isNaN(Number(t.doubleValue))}function Pt(t){return!!t&&"mapValue"in t}function Vt(t){var e,r;return"__vector__"===(null===(r=((null===(e=null==t?void 0:t.mapValue)||void 0===e?void 0:e.fields)||{}).__type__)||void 0===r?void 0:r.stringValue)}function jt(t){if(t.geoPointValue)return{geoPointValue:Object.assign({},t.geoPointValue)};if(t.timestampValue&&"object"==typeof t.timestampValue)return{timestampValue:Object.assign({},t.timestampValue)};if(t.mapValue){const e={mapValue:{fields:{}}};return ot(t.mapValue.fields,((t,r)=>e.mapValue.fields[t]=jt(r))),e}if(t.arrayValue){const e={arrayValue:{values:[]}};for(let r=0;r<(t.arrayValue.values||[]).length;++r)e.arrayValue.values[r]=jt(t.arrayValue.values[r]);return e}return Object.assign({},t)}function zt(t){return"__max__"===(((t.mapValue||{}).fields||{}).__type__||{}).stringValue}class Ft{constructor(t){this.value=t}static empty(){return new Ft({mapValue:{}})}field(t){if(t.isEmpty())return this.value;{let e=this.value;for(let r=0;r{if(!e.isImmediateParentOf(n)){const t=this.getFieldsMap(e);this.applyChanges(t,r,o),r={},o=[],e=n.popLast()}t?r[n.lastSegment()]=jt(t):o.push(n.lastSegment())}));const n=this.getFieldsMap(e);this.applyChanges(n,r,o)}delete(t){const e=this.field(t.popLast());Pt(e)&&e.mapValue.fields&&delete e.mapValue.fields[t.lastSegment()]}isEqual(t){return Et(this.value,t.value)}getFieldsMap(t){let e=this.value;e.mapValue.fields||(e.mapValue={fields:{}});for(let r=0;rt[e]=r));for(const e of r)delete t[e]}clone(){return new Ft(jt(this.value))}}function qt(t){const e=[];return ot(t.fields,((t,r)=>{const o=new F([t]);if(Pt(r)){const t=qt(r.mapValue).fields;if(0===t.length)e.push(o);else for(const r of t)e.push(o.child(r))}else e.push(o)})),new dt(e)}class $t{constructor(t,e,r,o,n,i,a){this.key=t,this.documentType=e,this.version=r,this.readTime=o,this.createTime=n,this.data=i,this.documentState=a}static newInvalidDocument(t){return new $t(t,0,P.min(),P.min(),P.min(),Ft.empty(),0)}static newFoundDocument(t,e,r,o){return new $t(t,1,e,P.min(),r,o,0)}static newNoDocument(t,e){return new $t(t,2,e,P.min(),P.min(),Ft.empty(),0)}static newUnknownDocument(t,e){return new $t(t,3,e,P.min(),P.min(),Ft.empty(),2)}convertToFoundDocument(t,e){return!this.createTime.isEqual(P.min())||2!==this.documentType&&0!==this.documentType||(this.createTime=t),this.version=t,this.documentType=1,this.data=e,this.documentState=0,this}convertToNoDocument(t){return this.version=t,this.documentType=2,this.data=Ft.empty(),this.documentState=0,this}convertToUnknownDocument(t){return this.version=t,this.documentType=3,this.data=Ft.empty(),this.documentState=2,this}setHasCommittedMutations(){return this.documentState=2,this}setHasLocalMutations(){return this.documentState=1,this.version=P.min(),this}setReadTime(t){return this.readTime=t,this}get hasLocalMutations(){return 1===this.documentState}get hasCommittedMutations(){return 2===this.documentState}get hasPendingWrites(){return this.hasLocalMutations||this.hasCommittedMutations}isValidDocument(){return 0!==this.documentType}isFoundDocument(){return 1===this.documentType}isNoDocument(){return 2===this.documentType}isUnknownDocument(){return 3===this.documentType}isEqual(t){return t instanceof $t&&this.key.isEqual(t.key)&&this.version.isEqual(t.version)&&this.documentType===t.documentType&&this.documentState===t.documentState&&this.data.isEqual(t.data)}mutableCopy(){return new $t(this.key,this.documentType,this.version,this.readTime,this.createTime,this.data.clone(),this.documentState)}toString(){return`Document(${this.key}, ${this.version}, ${JSON.stringify(this.data.value)}, {createTime: ${this.createTime}}), {documentType: ${this.documentType}}), {documentState: ${this.documentState}})`}}class Ut{constructor(t,e){this.position=t,this.inclusive=e}}function Ht(t,e,r){let o=0;for(let n=0;n":return t>0;case">=":return t>=0;default:return v()}}isInequality(){return["<","<=",">",">=","!=","not-in"].indexOf(this.op)>=0}getFlattenedFilters(){return[this]}getFilters(){return[this]}}class Yt extends Qt{constructor(t,e){super(),this.filters=t,this.op=e,this.ae=null}static create(t,e){return new Yt(t,e)}matches(t){return Jt(this)?void 0===this.filters.find((e=>!e.matches(t))):void 0!==this.filters.find((e=>e.matches(t)))}getFlattenedFilters(){return null!==this.ae||(this.ae=this.filters.reduce(((t,e)=>t.concat(e.getFlattenedFilters())),[])),this.ae}getFilters(){return Object.assign([],this.filters)}}function Jt(t){return"and"===t.op}function Zt(t){return function(t){for(const e of t.filters)if(e instanceof Yt)return!1;return!0}(t)&&Jt(t)}function te(t){if(t instanceof Xt)return t.field.canonicalString()+t.op.toString()+St(t.value);if(Zt(t))return t.filters.map((t=>te(t))).join(",");{const e=t.filters.map((t=>te(t))).join(",");return`${t.op}(${e})`}}function ee(t,e){return t instanceof Xt?function(t,e){return e instanceof Xt&&t.op===e.op&&t.field.isEqual(e.field)&&Et(t.value,e.value)}(t,e):t instanceof Yt?function(t,e){return e instanceof Yt&&t.op===e.op&&t.filters.length===e.filters.length&&t.filters.reduce(((t,r,o)=>t&&ee(r,e.filters[o])),!0)}(t,e):void v()}function re(t){return t instanceof Xt?function(t){return`${t.field.canonicalString()} ${t.op} ${St(t.value)}`}(t):t instanceof Yt?function(t){return t.op.toString()+" {"+t.getFilters().map(re).join(" ,")+"}"}(t):"Filter"}class oe extends Xt{constructor(t,e,r){super(t,e,r),this.key=q.fromName(r.referenceValue)}matches(t){const e=q.comparator(t.key,this.key);return this.matchesComparison(e)}}class ne extends Xt{constructor(t,e){super(t,"in",e),this.keys=ae(0,e)}matches(t){return this.keys.some((e=>e.isEqual(t.key)))}}class ie extends Xt{constructor(t,e){super(t,"not-in",e),this.keys=ae(0,e)}matches(t){return!this.keys.some((e=>e.isEqual(t.key)))}}function ae(t,e){var r;return((null===(r=e.arrayValue)||void 0===r?void 0:r.values)||[]).map((t=>q.fromName(t.referenceValue)))}class se extends Xt{constructor(t,e){super(t,"array-contains",e)}matches(t){const e=t.data.field(this.field);return Mt(e)&&It(e.arrayValue,this.value)}}class le extends Xt{constructor(t,e){super(t,"in",e)}matches(t){const e=t.data.field(this.field);return null!==e&&It(this.value.arrayValue,e)}}class ce extends Xt{constructor(t,e){super(t,"not-in",e)}matches(t){if(It(this.value.arrayValue,{nullValue:"NULL_VALUE"}))return!1;const e=t.data.field(this.field);return null!==e&&!It(this.value.arrayValue,e)}}class de extends Xt{constructor(t,e){super(t,"array-contains-any",e)}matches(t){const e=t.data.field(this.field);return!(!Mt(e)||!e.arrayValue.values)&&e.arrayValue.values.some((t=>It(this.value.arrayValue,t)))}}class ue{constructor(t,e=null,r=[],o=[],n=null,i=null,a=null){this.path=t,this.collectionGroup=e,this.orderBy=r,this.filters=o,this.limit=n,this.startAt=i,this.endAt=a,this.ue=null}}function me(t,e=null,r=[],o=[],n=null,i=null,a=null){return new ue(t,e,r,o,n,i,a)}function pe(t){const e=w(t);if(null===e.ue){let t=e.path.canonicalString();null!==e.collectionGroup&&(t+="|cg:"+e.collectionGroup),t+="|f:",t+=e.filters.map((t=>te(t))).join(","),t+="|ob:",t+=e.orderBy.map((t=>function(t){return t.field.canonicalString()+t.dir}(t))).join(","),J(e.limit)||(t+="|l:",t+=e.limit),e.startAt&&(t+="|lb:",t+=e.startAt.inclusive?"b:":"a:",t+=e.startAt.position.map((t=>St(t))).join(",")),e.endAt&&(t+="|ub:",t+=e.endAt.inclusive?"a:":"b:",t+=e.endAt.position.map((t=>St(t))).join(",")),e.ue=t}return e.ue}function he(t,e){if(t.limit!==e.limit)return!1;if(t.orderBy.length!==e.orderBy.length)return!1;for(let r=0;r0?e.explicitOrderBy[e.explicitOrderBy.length-1].dir:"asc",o=function(t){let e=new lt(F.comparator);return t.filters.forEach((t=>{t.getFlattenedFilters().forEach((t=>{t.isInequality()&&(e=e.add(t.field))}))})),e}(e);o.forEach((o=>{t.has(o.canonicalString())||o.isKeyField()||e.ce.push(new Kt(o,r))})),t.has(F.keyField().canonicalString())||e.ce.push(new Kt(F.keyField(),r))}return e.ce}function xe(t){const e=w(t);return e.le||(e.le=function(t,e){if("F"===t.limitType)return me(t.path,t.collectionGroup,e,t.filters,t.limit,t.startAt,t.endAt);{e=e.map((t=>{const e="desc"===t.dir?"asc":"desc";return new Kt(t.field,e)}));const r=t.endAt?new Ut(t.endAt.position,t.endAt.inclusive):null,o=t.startAt?new Ut(t.startAt.position,t.startAt.inclusive):null;return me(t.path,t.collectionGroup,e,t.filters,t.limit,r,o)}}(e,we(t))),e.le}function _e(t,e){const r=t.filters.concat([e]);return new be(t.path,t.collectionGroup,t.explicitOrderBy.slice(),r,t.limit,t.limitType,t.startAt,t.endAt)}function ke(t,e,r){return new be(t.path,t.collectionGroup,t.explicitOrderBy.slice(),t.filters.slice(),e,r,t.startAt,t.endAt)}function Ee(t,e){return he(xe(t),xe(e))&&t.limitType===e.limitType}function Ie(t){return`${pe(xe(t))}|lt:${t.limitType}`}function Ae(t){return`Query(target=${function(t){let e=t.path.canonicalString();return null!==t.collectionGroup&&(e+=" collectionGroup="+t.collectionGroup),t.filters.length>0&&(e+=`, filters: [${t.filters.map((t=>re(t))).join(", ")}]`),J(t.limit)||(e+=", limit: "+t.limit),t.orderBy.length>0&&(e+=`, orderBy: [${t.orderBy.map((t=>function(t){return`${t.field.canonicalString()} (${t.dir})`}(t))).join(", ")}]`),t.startAt&&(e+=", startAt: ",e+=t.startAt.inclusive?"b:":"a:",e+=t.startAt.position.map((t=>St(t))).join(",")),t.endAt&&(e+=", endAt: ",e+=t.endAt.inclusive?"a:":"b:",e+=t.endAt.position.map((t=>St(t))).join(",")),`Target(${e})`}(xe(t))}; limitType=${t.limitType})`}function Te(t,e){return e.isFoundDocument()&&function(t,e){const r=e.key.path;return null!==t.collectionGroup?e.key.hasCollectionId(t.collectionGroup)&&t.path.isPrefixOf(r):q.isDocumentKey(t.path)?t.path.isEqual(r):t.path.isImmediateParentOf(r)}(t,e)&&function(t,e){for(const r of we(t))if(!r.field.isKeyField()&&null===e.data.field(r.field))return!1;return!0}(t,e)&&function(t,e){for(const r of t.filters)if(!r.matches(e))return!1;return!0}(t,e)&&function(t,e){return!(t.startAt&&!function(t,e,r){const o=Ht(t,e,r);return t.inclusive?o<=0:o<0}(t.startAt,we(t),e)||t.endAt&&!function(t,e,r){const o=Ht(t,e,r);return t.inclusive?o>=0:o>0}(t.endAt,we(t),e))}(t,e)}function Ce(t){return(e,r)=>{let o=!1;for(const n of we(t)){const t=Se(n,e,r);if(0!==t)return t;o=o||n.field.isKeyField()}return 0}}function Se(t,e,r){const o=t.field.isKeyField()?q.comparator(e.key,r.key):function(t,e,r){const o=e.data.field(t),n=r.data.field(t);return null!==o&&null!==n?At(o,n):v()}(t.field,e,r);switch(t.dir){case"asc":return o;case"desc":return-1*o;default:return v()}}class De{constructor(t,e){this.mapKeyFn=t,this.equalsFn=e,this.inner={},this.innerSize=0}get(t){const e=this.mapKeyFn(t),r=this.inner[e];if(void 0!==r)for(const[e,o]of r)if(this.equalsFn(e,t))return o}has(t){return void 0!==this.get(t)}set(t,e){const r=this.mapKeyFn(t),o=this.inner[r];if(void 0===o)return this.inner[r]=[[t,e]],void this.innerSize++;for(let r=0;r{for(const[e,o]of r)t(e,o)}))}isEmpty(){return nt(this.inner)}size(){return this.innerSize}}const Le=new it(q.comparator);function Ne(){return Le}const Oe=new it(q.comparator);function Me(...t){let e=Oe;for(const r of t)e=e.insert(r.key,r);return e}function Re(t){let e=Oe;return t.forEach(((t,r)=>e=e.insert(t,r.overlayedDocument))),e}function Be(){return Ve()}function Pe(){return Ve()}function Ve(){return new De((t=>t.toString()),((t,e)=>t.isEqual(e)))}const je=new it(q.comparator),ze=new lt(q.comparator);function Fe(...t){let e=ze;for(const r of t)e=e.add(r);return e}const qe=new lt(M);function $e(t,e){if(t.useProto3Json){if(isNaN(e))return{doubleValue:"NaN"};if(e===1/0)return{doubleValue:"Infinity"};if(e===-1/0)return{doubleValue:"-Infinity"}}return{doubleValue:Z(e)?"-0":e}}function Ue(t){return{integerValue:""+t}}function He(t,e){return function(t){return"number"==typeof t&&Number.isInteger(t)&&!Z(t)&&t<=Number.MAX_SAFE_INTEGER&&t>=Number.MIN_SAFE_INTEGER}(e)?Ue(e):$e(t,e)}class Ge{constructor(){this._=void 0}}function Ke(t,e,r){return t instanceof Xe?function(t,e){const r={fields:{__type__:{stringValue:"server_timestamp"},__local_write_time__:{timestampValue:{seconds:t.seconds,nanos:t.nanoseconds}}}};return e&&ft(e)&&(e=vt(e)),e&&(r.fields.__previous_value__=e),{mapValue:r}}(r,e):t instanceof Ye?Je(t,e):t instanceof Ze?tr(t,e):function(t,e){const r=Qe(t,e),o=rr(r)+rr(t.Pe);return Ot(r)&&Ot(t.Pe)?Ue(o):$e(t.serializer,o)}(t,e)}function We(t,e,r){return t instanceof Ye?Je(t,e):t instanceof Ze?tr(t,e):r}function Qe(t,e){return t instanceof er?function(t){return Ot(t)||function(t){return!!t&&"doubleValue"in t}(t)}(e)?e:{integerValue:0}:null}class Xe extends Ge{}class Ye extends Ge{constructor(t){super(),this.elements=t}}function Je(t,e){const r=or(e);for(const e of t.elements)r.some((t=>Et(t,e)))||r.push(e);return{arrayValue:{values:r}}}class Ze extends Ge{constructor(t){super(),this.elements=t}}function tr(t,e){let r=or(e);for(const e of t.elements)r=r.filter((t=>!Et(t,e)));return{arrayValue:{values:r}}}class er extends Ge{constructor(t,e){super(),this.serializer=t,this.Pe=e}}function rr(t){return gt(t.integerValue||t.doubleValue)}function or(t){return Mt(t)&&t.arrayValue.values?t.arrayValue.values.slice():[]}class nr{constructor(t,e){this.version=t,this.transformResults=e}}class ir{constructor(t,e){this.updateTime=t,this.exists=e}static none(){return new ir}static exists(t){return new ir(void 0,t)}static updateTime(t){return new ir(t)}get isNone(){return void 0===this.updateTime&&void 0===this.exists}isEqual(t){return this.exists===t.exists&&(this.updateTime?!!t.updateTime&&this.updateTime.isEqual(t.updateTime):!t.updateTime)}}function ar(t,e){return void 0!==t.updateTime?e.isFoundDocument()&&e.version.isEqual(t.updateTime):void 0===t.exists||t.exists===e.isFoundDocument()}class sr{}function lr(t,e){if(!t.hasLocalMutations||e&&0===e.fields.length)return null;if(null===e)return t.isNoDocument()?new vr(t.key,ir.none()):new pr(t.key,t.data,ir.none());{const r=t.data,o=Ft.empty();let n=new lt(F.comparator);for(let t of e.fields)if(!n.has(t)){let e=r.field(t);null===e&&t.length>1&&(t=t.popLast(),e=r.field(t)),null===e?o.delete(t):o.set(t,e),n=n.add(t)}return new hr(t.key,o,new dt(n.toArray()),ir.none())}}function cr(t,e,r){t instanceof pr?function(t,e,r){const o=t.value.clone(),n=br(t.fieldTransforms,e,r.transformResults);o.setAll(n),e.convertToFoundDocument(r.version,o).setHasCommittedMutations()}(t,e,r):t instanceof hr?function(t,e,r){if(!ar(t.precondition,e))return void e.convertToUnknownDocument(r.version);const o=br(t.fieldTransforms,e,r.transformResults),n=e.data;n.setAll(gr(t)),n.setAll(o),e.convertToFoundDocument(r.version,n).setHasCommittedMutations()}(t,e,r):function(t,e,r){e.convertToNoDocument(r.version).setHasCommittedMutations()}(0,e,r)}function dr(t,e,r,o){return t instanceof pr?function(t,e,r,o){if(!ar(t.precondition,e))return r;const n=t.value.clone(),i=fr(t.fieldTransforms,o,e);return n.setAll(i),e.convertToFoundDocument(e.version,n).setHasLocalMutations(),null}(t,e,r,o):t instanceof hr?function(t,e,r,o){if(!ar(t.precondition,e))return r;const n=fr(t.fieldTransforms,o,e),i=e.data;return i.setAll(gr(t)),i.setAll(n),e.convertToFoundDocument(e.version,i).setHasLocalMutations(),null===r?null:r.unionWith(t.fieldMask.fields).unionWith(t.fieldTransforms.map((t=>t.field)))}(t,e,r,o):function(t,e,r){return ar(t.precondition,e)?(e.convertToNoDocument(e.version).setHasLocalMutations(),null):r}(t,e,r)}function ur(t,e){let r=null;for(const o of t.fieldTransforms){const t=e.data.field(o.field),n=Qe(o.transform,t||null);null!=n&&(null===r&&(r=Ft.empty()),r.set(o.field,n))}return r||null}function mr(t,e){return t.type===e.type&&!!t.key.isEqual(e.key)&&!!t.precondition.isEqual(e.precondition)&&!!function(t,e){return void 0===t&&void 0===e||!(!t||!e)&&R(t,e,((t,e)=>function(t,e){return t.field.isEqual(e.field)&&function(t,e){return t instanceof Ye&&e instanceof Ye||t instanceof Ze&&e instanceof Ze?R(t.elements,e.elements,Et):t instanceof er&&e instanceof er?Et(t.Pe,e.Pe):t instanceof Xe&&e instanceof Xe}(t.transform,e.transform)}(t,e)))}(t.fieldTransforms,e.fieldTransforms)&&(0===t.type?t.value.isEqual(e.value):1!==t.type||t.data.isEqual(e.data)&&t.fieldMask.isEqual(e.fieldMask))}class pr extends sr{constructor(t,e,r,o=[]){super(),this.key=t,this.value=e,this.precondition=r,this.fieldTransforms=o,this.type=0}getFieldMask(){return null}}class hr extends sr{constructor(t,e,r,o,n=[]){super(),this.key=t,this.data=e,this.fieldMask=r,this.precondition=o,this.fieldTransforms=n,this.type=1}getFieldMask(){return this.fieldMask}}function gr(t){const e=new Map;return t.fieldMask.fields.forEach((r=>{if(!r.isEmpty()){const o=t.data.field(r);e.set(r,o)}})),e}function br(t,e,r){const o=new Map;y(t.length===r.length);for(let n=0;n{const n=t.get(o.key),i=n.overlayedDocument;let a=this.applyToLocalView(i,n.mutatedFields);a=e.has(o.key)?null:a;const s=lr(i,a);null!==s&&r.set(o.key,s),i.isValidDocument()||i.convertToNoDocument(P.min())})),r}keys(){return this.mutations.reduce(((t,e)=>t.add(e.key)),Fe())}isEqual(t){return this.batchId===t.batchId&&R(this.mutations,t.mutations,((t,e)=>mr(t,e)))&&R(this.baseMutations,t.baseMutations,((t,e)=>mr(t,e)))}}class xr{constructor(t,e,r,o){this.batch=t,this.commitVersion=e,this.mutationResults=r,this.docVersions=o}static from(t,e,r){y(t.mutations.length===r.length);let o=je;const n=t.mutations;for(let t=0;t=8)throw new Lr(`Invalid padding: ${e}`);if(r<0)throw new Lr(`Invalid hash count: ${r}`);if(t.length>0&&0===this.hashCount)throw new Lr(`Invalid hash count: ${r}`);if(0===t.length&&0!==e)throw new Lr(`Invalid padding when bitmap length is 0: ${e}`);this.Te=8*t.length-e,this.Ie=s.jz.fromNumber(this.Te)}Ee(t,e,r){let o=t.add(e.multiply(s.jz.fromNumber(r)));return 1===o.compare(Tr)&&(o=new s.jz([o.getBits(0),o.getBits(1)],0)),o.modulo(this.Ie).toNumber()}de(t){return!!(this.bitmap[Math.floor(t/8)]&1<i.insert(t))),i}insert(t){if(0===this.Te)return;const e=Cr(t),[r,o]=Sr(e);for(let t=0;t0&&(this.we=!0,this.pe=t)}ve(){let t=Fe(),e=Fe(),r=Fe();return this.ge.forEach(((o,n)=>{switch(n){case 0:t=t.add(o);break;case 2:e=e.add(o);break;case 1:r=r.add(o);break;default:v()}})),new Or(this.pe,this.ye,t,e,r)}Ce(){this.we=!1,this.ge=zr()}Fe(t,e){this.we=!0,this.ge=this.ge.insert(t,e)}Me(t){this.we=!0,this.ge=this.ge.remove(t)}xe(){this.fe+=1}Oe(){this.fe-=1,y(this.fe>=0)}Ne(){this.we=!0,this.ye=!0}}class Vr{constructor(t){this.Le=t,this.Be=new Map,this.ke=Ne(),this.qe=jr(),this.Qe=jr(),this.Ke=new it(M)}$e(t){for(const e of t.Re)t.Ve&&t.Ve.isFoundDocument()?this.Ue(e,t.Ve):this.We(e,t.key,t.Ve);for(const e of t.removedTargetIds)this.We(e,t.key,t.Ve)}Ge(t){this.forEachTarget(t,(e=>{const r=this.ze(e);switch(t.state){case 0:this.je(e)&&r.De(t.resumeToken);break;case 1:r.Oe(),r.Se||r.Ce(),r.De(t.resumeToken);break;case 2:r.Oe(),r.Se||this.removeTarget(e);break;case 3:this.je(e)&&(r.Ne(),r.De(t.resumeToken));break;case 4:this.je(e)&&(this.He(e),r.De(t.resumeToken));break;default:v()}}))}forEachTarget(t,e){t.targetIds.length>0?t.targetIds.forEach(e):this.Be.forEach(((t,r)=>{this.je(r)&&e(r)}))}Je(t){const e=t.targetId,r=t.me.count,o=this.Ye(e);if(o){const n=o.target;if(ge(n))if(0===r){const t=new q(n.path);this.We(e,t,$t.newNoDocument(t,P.min()))}else y(1===r);else{const o=this.Ze(e);if(o!==r){const r=this.Xe(t),n=r?this.et(r,t,o):1;if(0!==n){this.He(e);const t=2===n?"TargetPurposeExistenceFilterMismatchBloom":"TargetPurposeExistenceFilterMismatch";this.Ke=this.Ke.insert(e,t)}}}}}Xe(t){const e=t.me.unchangedNames;if(!e||!e.bits)return null;const{bits:{bitmap:r="",padding:o=0},hashCount:n=0}=e;let i,a;try{i=bt(r).toUint8Array()}catch(t){if(t instanceof ut)return b("Decoding the base64 bloom filter in existence filter failed ("+t.message+"); ignoring the bloom filter and falling back to full re-query."),null;throw t}try{a=new Dr(i,o,n)}catch(t){return b(t instanceof Lr?"BloomFilter error: ":"Applying bloom filter failed: ",t),null}return 0===a.Te?null:a}et(t,e,r){return e.me.count===r-this.rt(t,e.targetId)?0:2}rt(t,e){const r=this.Le.getRemoteKeysForTarget(e);let o=0;return r.forEach((r=>{const n=this.Le.nt(),i=`projects/${n.projectId}/databases/${n.database}/documents/${r.path.canonicalString()}`;t.mightContain(i)||(this.We(e,r,null),o++)})),o}it(t){const e=new Map;this.Be.forEach(((r,o)=>{const n=this.Ye(o);if(n){if(r.current&&ge(n.target)){const e=new q(n.target.path);this.st(e).has(o)||this.ot(o,e)||this.We(o,e,$t.newNoDocument(e,t))}r.be&&(e.set(o,r.ve()),r.Ce())}}));let r=Fe();this.Qe.forEach(((t,e)=>{let o=!0;e.forEachWhile((t=>{const e=this.Ye(t);return!e||"TargetPurposeLimboResolution"===e.purpose||(o=!1,!1)})),o&&(r=r.add(t))})),this.ke.forEach(((e,r)=>r.setReadTime(t)));const o=new Nr(t,e,this.Ke,this.ke,r);return this.ke=Ne(),this.qe=jr(),this.Qe=jr(),this.Ke=new it(M),o}Ue(t,e){if(!this.je(t))return;const r=this.ot(t,e.key)?2:0;this.ze(t).Fe(e.key,r),this.ke=this.ke.insert(e.key,e),this.qe=this.qe.insert(e.key,this.st(e.key).add(t)),this.Qe=this.Qe.insert(e.key,this._t(e.key).add(t))}We(t,e,r){if(!this.je(t))return;const o=this.ze(t);this.ot(t,e)?o.Fe(e,1):o.Me(e),this.Qe=this.Qe.insert(e,this._t(e).delete(t)),this.Qe=this.Qe.insert(e,this._t(e).add(t)),r&&(this.ke=this.ke.insert(e,r))}removeTarget(t){this.Be.delete(t)}Ze(t){const e=this.ze(t).ve();return this.Le.getRemoteKeysForTarget(t).size+e.addedDocuments.size-e.removedDocuments.size}xe(t){this.ze(t).xe()}ze(t){let e=this.Be.get(t);return e||(e=new Pr,this.Be.set(t,e)),e}_t(t){let e=this.Qe.get(t);return e||(e=new lt(M),this.Qe=this.Qe.insert(t,e)),e}st(t){let e=this.qe.get(t);return e||(e=new lt(M),this.qe=this.qe.insert(t,e)),e}je(t){const e=null!==this.Ye(t);return e||h("WatchChangeAggregator","Detected inactive target",t),e}Ye(t){const e=this.Be.get(t);return e&&e.Se?null:this.Le.ut(t)}He(t){this.Be.set(t,new Pr),this.Le.getRemoteKeysForTarget(t).forEach((e=>{this.We(t,e,null)}))}ot(t,e){return this.Le.getRemoteKeysForTarget(t).has(e)}}function jr(){return new it(q.comparator)}function zr(){return new it(q.comparator)}const Fr={asc:"ASCENDING",desc:"DESCENDING"},qr={"<":"LESS_THAN","<=":"LESS_THAN_OR_EQUAL",">":"GREATER_THAN",">=":"GREATER_THAN_OR_EQUAL","==":"EQUAL","!=":"NOT_EQUAL","array-contains":"ARRAY_CONTAINS",in:"IN","not-in":"NOT_IN","array-contains-any":"ARRAY_CONTAINS_ANY"},$r={and:"AND",or:"OR"};class Ur{constructor(t,e){this.databaseId=t,this.useProto3Json=e}}function Hr(t,e){return t.useProto3Json||J(e)?e:{value:e}}function Gr(t,e){return t.useProto3Json?`${new Date(1e3*e.seconds).toISOString().replace(/\.\d*/,"").replace("Z","")}.${("000000000"+e.nanoseconds).slice(-9)}Z`:{seconds:""+e.seconds,nanos:e.nanoseconds}}function Kr(t,e){return t.useProto3Json?e.toBase64():e.toUint8Array()}function Wr(t,e){return Gr(t,e.toTimestamp())}function Qr(t){return y(!!t),P.fromTimestamp(function(t){const e=ht(t);return new B(e.seconds,e.nanos)}(t))}function Xr(t,e){return Yr(t,e).canonicalString()}function Yr(t,e){const r=function(t){return new j(["projects",t.projectId,"databases",t.database])}(t).child("documents");return void 0===e?r:r.child(e)}function Jr(t){const e=j.fromString(t);return y(fo(e)),e}function Zr(t,e){return Xr(t.databaseId,e.path)}function to(t,e){const r=Jr(e);if(r.get(1)!==t.databaseId.projectId)throw new _(x.INVALID_ARGUMENT,"Tried to deserialize key from different project: "+r.get(1)+" vs "+t.databaseId.projectId);if(r.get(3)!==t.databaseId.database)throw new _(x.INVALID_ARGUMENT,"Tried to deserialize key from different database: "+r.get(3)+" vs "+t.databaseId.database);return new q(oo(r))}function eo(t,e){return Xr(t.databaseId,e)}function ro(t){return new j(["projects",t.databaseId.projectId,"databases",t.databaseId.database]).canonicalString()}function oo(t){return y(t.length>4&&"documents"===t.get(4)),t.popFirst(5)}function no(t,e,r){return{name:Zr(t,e),fields:r.value.mapValue.fields}}function io(t,e){return{documents:[eo(t,e.path)]}}function ao(t,e){const r={structuredQuery:{}},o=e.path;let n;null!==e.collectionGroup?(n=o,r.structuredQuery.from=[{collectionId:e.collectionGroup,allDescendants:!0}]):(n=o.popLast(),r.structuredQuery.from=[{collectionId:o.lastSegment()}]),r.parent=eo(t,n);const i=function(t){if(0!==t.length)return go(Yt.create(t,"and"))}(e.filters);i&&(r.structuredQuery.where=i);const a=function(t){if(0!==t.length)return t.map((t=>function(t){return{field:po(t.field),direction:co(t.dir)}}(t)))}(e.orderBy);a&&(r.structuredQuery.orderBy=a);const s=Hr(t,e.limit);return null!==s&&(r.structuredQuery.limit=s),e.startAt&&(r.structuredQuery.startAt=function(t){return{before:t.inclusive,values:t.position}}(e.startAt)),e.endAt&&(r.structuredQuery.endAt=function(t){return{before:!t.inclusive,values:t.position}}(e.endAt)),{ct:r,parent:n}}function so(t){let e=function(t){const e=Jr(t);return 4===e.length?j.emptyPath():oo(e)}(t.parent);const r=t.structuredQuery,o=r.from?r.from.length:0;let n=null;if(o>0){y(1===o);const t=r.from[0];t.allDescendants?n=t.collectionId:e=e.child(t.collectionId)}let i=[];r.where&&(i=function(t){const e=lo(t);return e instanceof Yt&&Zt(e)?e.getFilters():[e]}(r.where));let a=[];r.orderBy&&(a=function(t){return t.map((t=>function(t){return new Kt(ho(t.field),function(t){switch(t){case"ASCENDING":return"asc";case"DESCENDING":return"desc";default:return}}(t.direction))}(t)))}(r.orderBy));let s=null;r.limit&&(s=function(t){let e;return e="object"==typeof t?t.value:t,J(e)?null:e}(r.limit));let l=null;r.startAt&&(l=function(t){const e=!!t.before,r=t.values||[];return new Ut(r,e)}(r.startAt));let c=null;return r.endAt&&(c=function(t){const e=!t.before,r=t.values||[];return new Ut(r,e)}(r.endAt)),function(t,e,r,o,n,i,a,s){return new be(t,e,r,o,n,i,a,s)}(e,n,a,i,s,"F",l,c)}function lo(t){return void 0!==t.unaryFilter?function(t){switch(t.unaryFilter.op){case"IS_NAN":const e=ho(t.unaryFilter.field);return Xt.create(e,"==",{doubleValue:NaN});case"IS_NULL":const r=ho(t.unaryFilter.field);return Xt.create(r,"==",{nullValue:"NULL_VALUE"});case"IS_NOT_NAN":const o=ho(t.unaryFilter.field);return Xt.create(o,"!=",{doubleValue:NaN});case"IS_NOT_NULL":const n=ho(t.unaryFilter.field);return Xt.create(n,"!=",{nullValue:"NULL_VALUE"});default:return v()}}(t):void 0!==t.fieldFilter?function(t){return Xt.create(ho(t.fieldFilter.field),function(t){switch(t){case"EQUAL":return"==";case"NOT_EQUAL":return"!=";case"GREATER_THAN":return">";case"GREATER_THAN_OR_EQUAL":return">=";case"LESS_THAN":return"<";case"LESS_THAN_OR_EQUAL":return"<=";case"ARRAY_CONTAINS":return"array-contains";case"IN":return"in";case"NOT_IN":return"not-in";case"ARRAY_CONTAINS_ANY":return"array-contains-any";default:return v()}}(t.fieldFilter.op),t.fieldFilter.value)}(t):void 0!==t.compositeFilter?function(t){return Yt.create(t.compositeFilter.filters.map((t=>lo(t))),function(t){switch(t){case"AND":return"and";case"OR":return"or";default:return v()}}(t.compositeFilter.op))}(t):v()}function co(t){return Fr[t]}function uo(t){return qr[t]}function mo(t){return $r[t]}function po(t){return{fieldPath:t.canonicalString()}}function ho(t){return F.fromServerFormat(t.fieldPath)}function go(t){return t instanceof Xt?function(t){if("=="===t.op){if(Bt(t.value))return{unaryFilter:{field:po(t.field),op:"IS_NAN"}};if(Rt(t.value))return{unaryFilter:{field:po(t.field),op:"IS_NULL"}}}else if("!="===t.op){if(Bt(t.value))return{unaryFilter:{field:po(t.field),op:"IS_NOT_NAN"}};if(Rt(t.value))return{unaryFilter:{field:po(t.field),op:"IS_NOT_NULL"}}}return{fieldFilter:{field:po(t.field),op:uo(t.op),value:t.value}}}(t):t instanceof Yt?function(t){const e=t.getFilters().map((t=>go(t)));return 1===e.length?e[0]:{compositeFilter:{op:mo(t.op),filters:e}}}(t):v()}function bo(t){const e=[];return t.fields.forEach((t=>e.push(t.canonicalString()))),{fieldPaths:e}}function fo(t){return t.length>=4&&"projects"===t.get(0)&&"databases"===t.get(2)}class vo{constructor(t,e,r,o,n=P.min(),i=P.min(),a=mt.EMPTY_BYTE_STRING,s=null){this.target=t,this.targetId=e,this.purpose=r,this.sequenceNumber=o,this.snapshotVersion=n,this.lastLimboFreeSnapshotVersion=i,this.resumeToken=a,this.expectedCount=s}withSequenceNumber(t){return new vo(this.target,this.targetId,this.purpose,t,this.snapshotVersion,this.lastLimboFreeSnapshotVersion,this.resumeToken,this.expectedCount)}withResumeToken(t,e){return new vo(this.target,this.targetId,this.purpose,this.sequenceNumber,e,this.lastLimboFreeSnapshotVersion,t,null)}withExpectedCount(t){return new vo(this.target,this.targetId,this.purpose,this.sequenceNumber,this.snapshotVersion,this.lastLimboFreeSnapshotVersion,this.resumeToken,t)}withLastLimboFreeSnapshotVersion(t){return new vo(this.target,this.targetId,this.purpose,this.sequenceNumber,this.snapshotVersion,t,this.resumeToken,this.expectedCount)}}class yo{constructor(t){this.ht=t}}function wo(t){const e=so({parent:t.parent,structuredQuery:t.structuredQuery});return"LAST"===t.limitType?ke(e,e.limit,"L"):e}class xo{constructor(){}Et(t,e){this.dt(t,e),e.At()}dt(t,e){if("nullValue"in t)this.Rt(e,5);else if("booleanValue"in t)this.Rt(e,10),e.Vt(t.booleanValue?1:0);else if("integerValue"in t)this.Rt(e,15),e.Vt(gt(t.integerValue));else if("doubleValue"in t){const r=gt(t.doubleValue);isNaN(r)?this.Rt(e,13):(this.Rt(e,15),Z(r)?e.Vt(0):e.Vt(r))}else if("timestampValue"in t){let r=t.timestampValue;this.Rt(e,20),"string"==typeof r&&(r=ht(r)),e.ft(`${r.seconds||""}`),e.Vt(r.nanos||0)}else if("stringValue"in t)this.gt(t.stringValue,e),this.yt(e);else if("bytesValue"in t)this.Rt(e,30),e.wt(bt(t.bytesValue)),this.yt(e);else if("referenceValue"in t)this.St(t.referenceValue,e);else if("geoPointValue"in t){const r=t.geoPointValue;this.Rt(e,45),e.Vt(r.latitude||0),e.Vt(r.longitude||0)}else"mapValue"in t?zt(t)?this.Rt(e,Number.MAX_SAFE_INTEGER):Vt(t)?this.bt(t.mapValue,e):(this.Dt(t.mapValue,e),this.yt(e)):"arrayValue"in t?(this.vt(t.arrayValue,e),this.yt(e)):v()}gt(t,e){this.Rt(e,25),this.Ct(t,e)}Ct(t,e){e.ft(t)}Dt(t,e){const r=t.fields||{};this.Rt(e,55);for(const t of Object.keys(r))this.gt(t,e),this.dt(r[t],e)}bt(t,e){var r,o;const n=t.fields||{};this.Rt(e,53);const i="value",a=(null===(o=null===(r=n[i].arrayValue)||void 0===r?void 0:r.values)||void 0===o?void 0:o.length)||0;this.Rt(e,15),e.Vt(gt(a)),this.gt(i,e),this.dt(n[i],e)}vt(t,e){const r=t.values||[];this.Rt(e,50);for(const t of r)this.dt(t,e)}St(t,e){this.Rt(e,37),q.fromName(t).path.forEach((t=>{this.Rt(e,60),this.Ct(t,e)}))}Rt(t,e){t.Vt(e)}yt(t){t.Vt(2)}}xo.Ft=new xo;class _o{constructor(){this.ln=new ko}addToCollectionParentIndex(t,e){return this.ln.add(e),Q.resolve()}getCollectionParents(t,e){return Q.resolve(this.ln.getEntries(e))}addFieldIndex(t,e){return Q.resolve()}deleteFieldIndex(t,e){return Q.resolve()}deleteAllFieldIndexes(t){return Q.resolve()}createTargetIndexes(t,e){return Q.resolve()}getDocumentsMatchingTarget(t,e){return Q.resolve(null)}getIndexType(t,e){return Q.resolve(0)}getFieldIndexes(t,e){return Q.resolve([])}getNextCollectionGroupToUpdate(t){return Q.resolve(null)}getMinOffset(t,e){return Q.resolve(U.min())}getMinOffsetFromCollectionGroup(t,e){return Q.resolve(U.min())}updateCollectionGroup(t,e,r){return Q.resolve()}updateIndexEntries(t,e){return Q.resolve()}}class ko{constructor(){this.index={}}add(t){const e=t.lastSegment(),r=t.popLast(),o=this.index[e]||new lt(j.comparator),n=!o.has(r);return this.index[e]=o.add(r),n}has(t){const e=t.lastSegment(),r=t.popLast(),o=this.index[e];return o&&o.has(r)}getEntries(t){return(this.index[t]||new lt(j.comparator)).toArray()}}new Uint8Array(0);const Eo={didRun:!1,sequenceNumbersCollected:0,targetsRemoved:0,documentsRemoved:0};class Io{static withCacheSize(t){return new Io(t,Io.DEFAULT_COLLECTION_PERCENTILE,Io.DEFAULT_MAX_SEQUENCE_NUMBERS_TO_COLLECT)}constructor(t,e,r){this.cacheSizeCollectionThreshold=t,this.percentileToCollect=e,this.maximumSequenceNumbersToCollect=r}}Io.DEFAULT_COLLECTION_PERCENTILE=10,Io.DEFAULT_MAX_SEQUENCE_NUMBERS_TO_COLLECT=1e3,Io.DEFAULT=new Io(41943040,Io.DEFAULT_COLLECTION_PERCENTILE,Io.DEFAULT_MAX_SEQUENCE_NUMBERS_TO_COLLECT),Io.DISABLED=new Io(-1,0,0);class Ao{constructor(t){this.kn=t}next(){return this.kn+=2,this.kn}static qn(){return new Ao(0)}static Qn(){return new Ao(-1)}}function To([t,e],[r,o]){const n=M(t,r);return 0===n?M(e,o):n}class Co{constructor(t){this.Gn=t,this.buffer=new lt(To),this.zn=0}jn(){return++this.zn}Hn(t){const e=[t,this.jn()];if(this.buffer.size{this.Jn=null;try{await this.localStore.collectGarbage(this.garbageCollector)}catch(t){X(t)?h("LruGarbageCollector","Ignoring IndexedDB error during garbage collection: ",t):await W(t)}await this.Yn(3e5)}))}}class Do{constructor(t,e){this.Zn=t,this.params=e}calculateTargetCount(t,e){return this.Zn.Xn(t).next((t=>Math.floor(e/100*t)))}nthSequenceNumber(t,e){if(0===e)return Q.resolve(Y.oe);const r=new Co(e);return this.Zn.forEachTarget(t,(t=>r.Hn(t.sequenceNumber))).next((()=>this.Zn.er(t,(t=>r.Hn(t))))).next((()=>r.maxValue))}removeTargets(t,e,r){return this.Zn.removeTargets(t,e,r)}removeOrphanedDocuments(t,e){return this.Zn.removeOrphanedDocuments(t,e)}collect(t,e){return-1===this.params.cacheSizeCollectionThreshold?(h("LruGarbageCollector","Garbage collection skipped; disabled"),Q.resolve(Eo)):this.getCacheSize(t).next((r=>r(e>this.params.maximumSequenceNumbersToCollect?(h("LruGarbageCollector",`Capping sequence numbers to collect down to the maximum of ${this.params.maximumSequenceNumbersToCollect} from ${e}`),o=this.params.maximumSequenceNumbersToCollect):o=e,a=Date.now(),this.nthSequenceNumber(t,o)))).next((o=>(r=o,s=Date.now(),this.removeTargets(t,r,e)))).next((e=>(n=e,l=Date.now(),this.removeOrphanedDocuments(t,r)))).next((t=>(c=Date.now(),p()<=i.$b.DEBUG&&h("LruGarbageCollector",`LRU Garbage Collection\n\tCounted targets in ${a-d}ms\n\tDetermined least recently used ${o} in `+(s-a)+"ms\n"+`\tRemoved ${n} targets in `+(l-s)+"ms\n"+`\tRemoved ${t} documents in `+(c-l)+"ms\n"+`Total Duration: ${c-d}ms`),Q.resolve({didRun:!0,sequenceNumbersCollected:o,targetsRemoved:n,documentsRemoved:t}))))}}class Lo{constructor(){this.changes=new De((t=>t.toString()),((t,e)=>t.isEqual(e))),this.changesApplied=!1}addEntry(t){this.assertNotApplied(),this.changes.set(t.key,t)}removeEntry(t,e){this.assertNotApplied(),this.changes.set(t,$t.newInvalidDocument(t).setReadTime(e))}getEntry(t,e){this.assertNotApplied();const r=this.changes.get(e);return void 0!==r?Q.resolve(r):this.getFromCache(t,e)}getEntries(t,e){return this.getAllFromCache(t,e)}apply(t){return this.assertNotApplied(),this.changesApplied=!0,this.applyChanges(t)}assertNotApplied(){}}class No{constructor(t,e){this.overlayedDocument=t,this.mutatedFields=e}}class Oo{constructor(t,e,r,o){this.remoteDocumentCache=t,this.mutationQueue=e,this.documentOverlayCache=r,this.indexManager=o}getDocument(t,e){let r=null;return this.documentOverlayCache.getOverlay(t,e).next((o=>(r=o,this.remoteDocumentCache.getEntry(t,e)))).next((t=>(null!==r&&dr(r.mutation,t,dt.empty(),B.now()),t)))}getDocuments(t,e){return this.remoteDocumentCache.getEntries(t,e).next((e=>this.getLocalViewOfDocuments(t,e,Fe()).next((()=>e))))}getLocalViewOfDocuments(t,e,r=Fe()){const o=Be();return this.populateOverlays(t,o,e).next((()=>this.computeViews(t,e,o,r).next((t=>{let e=Me();return t.forEach(((t,r)=>{e=e.insert(t,r.overlayedDocument)})),e}))))}getOverlayedDocuments(t,e){const r=Be();return this.populateOverlays(t,r,e).next((()=>this.computeViews(t,e,r,Fe())))}populateOverlays(t,e,r){const o=[];return r.forEach((t=>{e.has(t)||o.push(t)})),this.documentOverlayCache.getOverlays(t,o).next((t=>{t.forEach(((t,r)=>{e.set(t,r)}))}))}computeViews(t,e,r,o){let n=Ne();const i=Ve(),a=Ve();return e.forEach(((t,e)=>{const a=r.get(e.key);o.has(e.key)&&(void 0===a||a.mutation instanceof hr)?n=n.insert(e.key,e):void 0!==a?(i.set(e.key,a.mutation.getFieldMask()),dr(a.mutation,e,a.mutation.getFieldMask(),B.now())):i.set(e.key,dt.empty())})),this.recalculateAndSaveOverlays(t,n).next((t=>(t.forEach(((t,e)=>i.set(t,e))),e.forEach(((t,e)=>{var r;return a.set(t,new No(e,null!==(r=i.get(t))&&void 0!==r?r:null))})),a)))}recalculateAndSaveOverlays(t,e){const r=Ve();let o=new it(((t,e)=>t-e)),n=Fe();return this.mutationQueue.getAllMutationBatchesAffectingDocumentKeys(t,e).next((t=>{for(const n of t)n.keys().forEach((t=>{const i=e.get(t);if(null===i)return;let a=r.get(t)||dt.empty();a=n.applyToLocalView(i,a),r.set(t,a);const s=(o.get(n.batchId)||Fe()).add(t);o=o.insert(n.batchId,s)}))})).next((()=>{const i=[],a=o.getReverseIterator();for(;a.hasNext();){const o=a.getNext(),s=o.key,l=o.value,c=Pe();l.forEach((t=>{if(!n.has(t)){const o=lr(e.get(t),r.get(t));null!==o&&c.set(t,o),n=n.add(t)}})),i.push(this.documentOverlayCache.saveOverlays(t,s,c))}return Q.waitFor(i)})).next((()=>r))}recalculateAndSaveOverlaysForDocumentKeys(t,e){return this.remoteDocumentCache.getEntries(t,e).next((e=>this.recalculateAndSaveOverlays(t,e)))}getDocumentsMatchingQuery(t,e,r,o){return function(t){return q.isDocumentKey(t.path)&&null===t.collectionGroup&&0===t.filters.length}(e)?this.getDocumentsMatchingDocumentQuery(t,e.path):ye(e)?this.getDocumentsMatchingCollectionGroupQuery(t,e,r,o):this.getDocumentsMatchingCollectionQuery(t,e,r,o)}getNextDocuments(t,e,r,o){return this.remoteDocumentCache.getAllFromCollectionGroup(t,e,r,o).next((n=>{const i=o-n.size>0?this.documentOverlayCache.getOverlaysForCollectionGroup(t,e,r.largestBatchId,o-n.size):Q.resolve(Be());let a=-1,s=n;return i.next((e=>Q.forEach(e,((e,r)=>(a{s=s.insert(e,t)}))))).next((()=>this.populateOverlays(t,e,n))).next((()=>this.computeViews(t,s,e,Fe()))).next((t=>({batchId:a,changes:Re(t)})))))}))}getDocumentsMatchingDocumentQuery(t,e){return this.getDocument(t,new q(e)).next((t=>{let e=Me();return t.isFoundDocument()&&(e=e.insert(t.key,t)),e}))}getDocumentsMatchingCollectionGroupQuery(t,e,r,o){const n=e.collectionGroup;let i=Me();return this.indexManager.getCollectionParents(t,n).next((a=>Q.forEach(a,(a=>{const s=function(t,e){return new be(e,null,t.explicitOrderBy.slice(),t.filters.slice(),t.limit,t.limitType,t.startAt,t.endAt)}(e,a.child(n));return this.getDocumentsMatchingCollectionQuery(t,s,r,o).next((t=>{t.forEach(((t,e)=>{i=i.insert(t,e)}))}))})).next((()=>i))))}getDocumentsMatchingCollectionQuery(t,e,r,o){let n;return this.documentOverlayCache.getOverlaysForCollection(t,e.path,r.largestBatchId).next((i=>(n=i,this.remoteDocumentCache.getDocumentsMatchingQuery(t,e,r,n,o)))).next((t=>{n.forEach(((e,r)=>{const o=r.getKey();null===t.get(o)&&(t=t.insert(o,$t.newInvalidDocument(o)))}));let r=Me();return t.forEach(((t,o)=>{const i=n.get(t);void 0!==i&&dr(i.mutation,o,dt.empty(),B.now()),Te(e,o)&&(r=r.insert(t,o))})),r}))}}class Mo{constructor(t){this.serializer=t,this.Tr=new Map,this.Ir=new Map}getBundleMetadata(t,e){return Q.resolve(this.Tr.get(e))}saveBundleMetadata(t,e){return this.Tr.set(e.id,function(t){return{id:t.id,version:t.version,createTime:Qr(t.createTime)}}(e)),Q.resolve()}getNamedQuery(t,e){return Q.resolve(this.Ir.get(e))}saveNamedQuery(t,e){return this.Ir.set(e.name,function(t){return{name:t.name,query:wo(t.bundledQuery),readTime:Qr(t.readTime)}}(e)),Q.resolve()}}class Ro{constructor(){this.overlays=new it(q.comparator),this.Er=new Map}getOverlay(t,e){return Q.resolve(this.overlays.get(e))}getOverlays(t,e){const r=Be();return Q.forEach(e,(e=>this.getOverlay(t,e).next((t=>{null!==t&&r.set(e,t)})))).next((()=>r))}saveOverlays(t,e,r){return r.forEach(((r,o)=>{this.Tt(t,e,o)})),Q.resolve()}removeOverlaysForBatchId(t,e,r){const o=this.Er.get(r);return void 0!==o&&(o.forEach((t=>this.overlays=this.overlays.remove(t))),this.Er.delete(r)),Q.resolve()}getOverlaysForCollection(t,e,r){const o=Be(),n=e.length+1,i=new q(e.child("")),a=this.overlays.getIteratorFrom(i);for(;a.hasNext();){const t=a.getNext().value,i=t.getKey();if(!e.isPrefixOf(i.path))break;i.path.length===n&&t.largestBatchId>r&&o.set(t.getKey(),t)}return Q.resolve(o)}getOverlaysForCollectionGroup(t,e,r,o){let n=new it(((t,e)=>t-e));const i=this.overlays.getIterator();for(;i.hasNext();){const t=i.getNext().value;if(t.getKey().getCollectionGroup()===e&&t.largestBatchId>r){let e=n.get(t.largestBatchId);null===e&&(e=Be(),n=n.insert(t.largestBatchId,e)),e.set(t.getKey(),t)}}const a=Be(),s=n.getIterator();for(;s.hasNext()&&(s.getNext().value.forEach(((t,e)=>a.set(t,e))),!(a.size()>=o)););return Q.resolve(a)}Tt(t,e,r){const o=this.overlays.get(r.key);if(null!==o){const t=this.Er.get(o.largestBatchId).delete(r.key);this.Er.set(o.largestBatchId,t)}this.overlays=this.overlays.insert(r.key,new _r(e,r));let n=this.Er.get(e);void 0===n&&(n=Fe(),this.Er.set(e,n)),this.Er.set(e,n.add(r.key))}}class Bo{constructor(){this.sessionToken=mt.EMPTY_BYTE_STRING}getSessionToken(t){return Q.resolve(this.sessionToken)}setSessionToken(t,e){return this.sessionToken=e,Q.resolve()}}class Po{constructor(){this.dr=new lt(Vo.Ar),this.Rr=new lt(Vo.Vr)}isEmpty(){return this.dr.isEmpty()}addReference(t,e){const r=new Vo(t,e);this.dr=this.dr.add(r),this.Rr=this.Rr.add(r)}mr(t,e){t.forEach((t=>this.addReference(t,e)))}removeReference(t,e){this.gr(new Vo(t,e))}pr(t,e){t.forEach((t=>this.removeReference(t,e)))}yr(t){const e=new q(new j([])),r=new Vo(e,t),o=new Vo(e,t+1),n=[];return this.Rr.forEachInRange([r,o],(t=>{this.gr(t),n.push(t.key)})),n}wr(){this.dr.forEach((t=>this.gr(t)))}gr(t){this.dr=this.dr.delete(t),this.Rr=this.Rr.delete(t)}Sr(t){const e=new q(new j([])),r=new Vo(e,t),o=new Vo(e,t+1);let n=Fe();return this.Rr.forEachInRange([r,o],(t=>{n=n.add(t.key)})),n}containsKey(t){const e=new Vo(t,0),r=this.dr.firstAfterOrEqual(e);return null!==r&&t.isEqual(r.key)}}class Vo{constructor(t,e){this.key=t,this.br=e}static Ar(t,e){return q.comparator(t.key,e.key)||M(t.br,e.br)}static Vr(t,e){return M(t.br,e.br)||q.comparator(t.key,e.key)}}class jo{constructor(t,e){this.indexManager=t,this.referenceDelegate=e,this.mutationQueue=[],this.Dr=1,this.vr=new lt(Vo.Ar)}checkEmpty(t){return Q.resolve(0===this.mutationQueue.length)}addMutationBatch(t,e,r,o){const n=this.Dr;this.Dr++,this.mutationQueue.length>0&&this.mutationQueue[this.mutationQueue.length-1];const i=new wr(n,e,r,o);this.mutationQueue.push(i);for(const e of o)this.vr=this.vr.add(new Vo(e.key,n)),this.indexManager.addToCollectionParentIndex(t,e.key.path.popLast());return Q.resolve(i)}lookupMutationBatch(t,e){return Q.resolve(this.Cr(e))}getNextMutationBatchAfterBatchId(t,e){const r=e+1,o=this.Fr(r),n=o<0?0:o;return Q.resolve(this.mutationQueue.length>n?this.mutationQueue[n]:null)}getHighestUnacknowledgedBatchId(){return Q.resolve(0===this.mutationQueue.length?-1:this.Dr-1)}getAllMutationBatches(t){return Q.resolve(this.mutationQueue.slice())}getAllMutationBatchesAffectingDocumentKey(t,e){const r=new Vo(e,0),o=new Vo(e,Number.POSITIVE_INFINITY),n=[];return this.vr.forEachInRange([r,o],(t=>{const e=this.Cr(t.br);n.push(e)})),Q.resolve(n)}getAllMutationBatchesAffectingDocumentKeys(t,e){let r=new lt(M);return e.forEach((t=>{const e=new Vo(t,0),o=new Vo(t,Number.POSITIVE_INFINITY);this.vr.forEachInRange([e,o],(t=>{r=r.add(t.br)}))})),Q.resolve(this.Mr(r))}getAllMutationBatchesAffectingQuery(t,e){const r=e.path,o=r.length+1;let n=r;q.isDocumentKey(n)||(n=n.child(""));const i=new Vo(new q(n),0);let a=new lt(M);return this.vr.forEachWhile((t=>{const e=t.key.path;return!!r.isPrefixOf(e)&&(e.length===o&&(a=a.add(t.br)),!0)}),i),Q.resolve(this.Mr(a))}Mr(t){const e=[];return t.forEach((t=>{const r=this.Cr(t);null!==r&&e.push(r)})),e}removeMutationBatch(t,e){y(0===this.Or(e.batchId,"removed")),this.mutationQueue.shift();let r=this.vr;return Q.forEach(e.mutations,(o=>{const n=new Vo(o.key,e.batchId);return r=r.delete(n),this.referenceDelegate.markPotentiallyOrphaned(t,o.key)})).next((()=>{this.vr=r}))}Ln(t){}containsKey(t,e){const r=new Vo(e,0),o=this.vr.firstAfterOrEqual(r);return Q.resolve(e.isEqual(o&&o.key))}performConsistencyCheck(t){return this.mutationQueue.length,Q.resolve()}Or(t,e){return this.Fr(t)}Fr(t){return 0===this.mutationQueue.length?0:t-this.mutationQueue[0].batchId}Cr(t){const e=this.Fr(t);return e<0||e>=this.mutationQueue.length?null:this.mutationQueue[e]}}class zo{constructor(t){this.Nr=t,this.docs=new it(q.comparator),this.size=0}setIndexManager(t){this.indexManager=t}addEntry(t,e){const r=e.key,o=this.docs.get(r),n=o?o.size:0,i=this.Nr(e);return this.docs=this.docs.insert(r,{document:e.mutableCopy(),size:i}),this.size+=i-n,this.indexManager.addToCollectionParentIndex(t,r.path.popLast())}removeEntry(t){const e=this.docs.get(t);e&&(this.docs=this.docs.remove(t),this.size-=e.size)}getEntry(t,e){const r=this.docs.get(e);return Q.resolve(r?r.document.mutableCopy():$t.newInvalidDocument(e))}getEntries(t,e){let r=Ne();return e.forEach((t=>{const e=this.docs.get(t);r=r.insert(t,e?e.document.mutableCopy():$t.newInvalidDocument(t))})),Q.resolve(r)}getDocumentsMatchingQuery(t,e,r,o){let n=Ne();const i=e.path,a=new q(i.child("")),s=this.docs.getIteratorFrom(a);for(;s.hasNext();){const{key:t,value:{document:a}}=s.getNext();if(!i.isPrefixOf(t.path))break;t.path.length>i.length+1||H($(a),r)<=0||(o.has(a.key)||Te(e,a))&&(n=n.insert(a.key,a.mutableCopy()))}return Q.resolve(n)}getAllFromCollectionGroup(t,e,r,o){v()}Lr(t,e){return Q.forEach(this.docs,(t=>e(t)))}newChangeBuffer(t){return new Fo(this)}getSize(t){return Q.resolve(this.size)}}class Fo extends Lo{constructor(t){super(),this.hr=t}applyChanges(t){const e=[];return this.changes.forEach(((r,o)=>{o.isValidDocument()?e.push(this.hr.addEntry(t,o)):this.hr.removeEntry(r)})),Q.waitFor(e)}getFromCache(t,e){return this.hr.getEntry(t,e)}getAllFromCache(t,e){return this.hr.getEntries(t,e)}}class qo{constructor(t){this.persistence=t,this.Br=new De((t=>pe(t)),he),this.lastRemoteSnapshotVersion=P.min(),this.highestTargetId=0,this.kr=0,this.qr=new Po,this.targetCount=0,this.Qr=Ao.qn()}forEachTarget(t,e){return this.Br.forEach(((t,r)=>e(r))),Q.resolve()}getLastRemoteSnapshotVersion(t){return Q.resolve(this.lastRemoteSnapshotVersion)}getHighestSequenceNumber(t){return Q.resolve(this.kr)}allocateTargetId(t){return this.highestTargetId=this.Qr.next(),Q.resolve(this.highestTargetId)}setTargetsMetadata(t,e,r){return r&&(this.lastRemoteSnapshotVersion=r),e>this.kr&&(this.kr=e),Q.resolve()}Un(t){this.Br.set(t.target,t);const e=t.targetId;e>this.highestTargetId&&(this.Qr=new Ao(e),this.highestTargetId=e),t.sequenceNumber>this.kr&&(this.kr=t.sequenceNumber)}addTargetData(t,e){return this.Un(e),this.targetCount+=1,Q.resolve()}updateTargetData(t,e){return this.Un(e),Q.resolve()}removeTargetData(t,e){return this.Br.delete(e.target),this.qr.yr(e.targetId),this.targetCount-=1,Q.resolve()}removeTargets(t,e,r){let o=0;const n=[];return this.Br.forEach(((i,a)=>{a.sequenceNumber<=e&&null===r.get(a.targetId)&&(this.Br.delete(i),n.push(this.removeMatchingKeysForTargetId(t,a.targetId)),o++)})),Q.waitFor(n).next((()=>o))}getTargetCount(t){return Q.resolve(this.targetCount)}getTargetData(t,e){const r=this.Br.get(e)||null;return Q.resolve(r)}addMatchingKeys(t,e,r){return this.qr.mr(e,r),Q.resolve()}removeMatchingKeys(t,e,r){this.qr.pr(e,r);const o=this.persistence.referenceDelegate,n=[];return o&&e.forEach((e=>{n.push(o.markPotentiallyOrphaned(t,e))})),Q.waitFor(n)}removeMatchingKeysForTargetId(t,e){return this.qr.yr(e),Q.resolve()}getMatchingKeysForTargetId(t,e){const r=this.qr.Sr(e);return Q.resolve(r)}containsKey(t,e){return Q.resolve(this.qr.containsKey(e))}}class $o{constructor(t,e){this.Kr={},this.overlays={},this.$r=new Y(0),this.Ur=!1,this.Ur=!0,this.Wr=new Bo,this.referenceDelegate=t(this),this.Gr=new qo(this),this.indexManager=new _o,this.remoteDocumentCache=function(t){return new zo(t)}((t=>this.referenceDelegate.zr(t))),this.serializer=new yo(e),this.jr=new Mo(this.serializer)}start(){return Promise.resolve()}shutdown(){return this.Ur=!1,Promise.resolve()}get started(){return this.Ur}setDatabaseDeletedListener(){}setNetworkEnabled(){}getIndexManager(t){return this.indexManager}getDocumentOverlayCache(t){let e=this.overlays[t.toKey()];return e||(e=new Ro,this.overlays[t.toKey()]=e),e}getMutationQueue(t,e){let r=this.Kr[t.toKey()];return r||(r=new jo(e,this.referenceDelegate),this.Kr[t.toKey()]=r),r}getGlobalsCache(){return this.Wr}getTargetCache(){return this.Gr}getRemoteDocumentCache(){return this.remoteDocumentCache}getBundleCache(){return this.jr}runTransaction(t,e,r){h("MemoryPersistence","Starting transaction:",t);const o=new Uo(this.$r.next());return this.referenceDelegate.Hr(),r(o).next((t=>this.referenceDelegate.Jr(o).next((()=>t)))).toPromise().then((t=>(o.raiseOnCommittedEvent(),t)))}Yr(t,e){return Q.or(Object.values(this.Kr).map((r=>()=>r.containsKey(t,e))))}}class Uo extends K{constructor(t){super(),this.currentSequenceNumber=t}}class Ho{constructor(t){this.persistence=t,this.Zr=new Po,this.Xr=null}static ei(t){return new Ho(t)}get ti(){if(this.Xr)return this.Xr;throw v()}addReference(t,e,r){return this.Zr.addReference(r,e),this.ti.delete(r.toString()),Q.resolve()}removeReference(t,e,r){return this.Zr.removeReference(r,e),this.ti.add(r.toString()),Q.resolve()}markPotentiallyOrphaned(t,e){return this.ti.add(e.toString()),Q.resolve()}removeTarget(t,e){this.Zr.yr(e.targetId).forEach((t=>this.ti.add(t.toString())));const r=this.persistence.getTargetCache();return r.getMatchingKeysForTargetId(t,e.targetId).next((t=>{t.forEach((t=>this.ti.add(t.toString())))})).next((()=>r.removeTargetData(t,e)))}Hr(){this.Xr=new Set}Jr(t){const e=this.persistence.getRemoteDocumentCache().newChangeBuffer();return Q.forEach(this.ti,(r=>{const o=q.fromPath(r);return this.ni(t,o).next((t=>{t||e.removeEntry(o,P.min())}))})).next((()=>(this.Xr=null,e.apply(t))))}updateLimboDocument(t,e){return this.ni(t,e).next((t=>{t?this.ti.delete(e.toString()):this.ti.add(e.toString())}))}zr(t){return 0}ni(t,e){return Q.or([()=>Q.resolve(this.Zr.containsKey(e)),()=>this.persistence.getTargetCache().containsKey(t,e),()=>this.persistence.Yr(t,e)])}}class Go{constructor(t,e){this.persistence=t,this.ri=new De((t=>function(t){let e="";for(let r=0;r0&&(e=et(e)),e=tt(t.get(r),e);return et(e)}(t.path)),((t,e)=>t.isEqual(e))),this.garbageCollector=function(t,e){return new Do(t,e)}(this,e)}static ei(t,e){return new Go(t,e)}Hr(){}Jr(t){return Q.resolve()}forEachTarget(t,e){return this.persistence.getTargetCache().forEachTarget(t,e)}Xn(t){const e=this.nr(t);return this.persistence.getTargetCache().getTargetCount(t).next((t=>e.next((e=>t+e))))}nr(t){let e=0;return this.er(t,(t=>{e++})).next((()=>e))}er(t,e){return Q.forEach(this.ri,((r,o)=>this.ir(t,r,o).next((t=>t?Q.resolve():e(o)))))}removeTargets(t,e,r){return this.persistence.getTargetCache().removeTargets(t,e,r)}removeOrphanedDocuments(t,e){let r=0;const o=this.persistence.getRemoteDocumentCache(),n=o.newChangeBuffer();return o.Lr(t,(o=>this.ir(t,o,e).next((t=>{t||(r++,n.removeEntry(o,P.min()))})))).next((()=>n.apply(t))).next((()=>r))}markPotentiallyOrphaned(t,e){return this.ri.set(e,t.currentSequenceNumber),Q.resolve()}removeTarget(t,e){const r=e.withSequenceNumber(t.currentSequenceNumber);return this.persistence.getTargetCache().updateTargetData(t,r)}addReference(t,e,r){return this.ri.set(r,t.currentSequenceNumber),Q.resolve()}removeReference(t,e,r){return this.ri.set(r,t.currentSequenceNumber),Q.resolve()}updateLimboDocument(t,e){return this.ri.set(e,t.currentSequenceNumber),Q.resolve()}zr(t){let e=t.key.toString().length;return t.isFoundDocument()&&(e+=Lt(t.data.value)),e}ir(t,e,r){return Q.or([()=>this.persistence.Yr(t,e),()=>this.persistence.getTargetCache().containsKey(t,e),()=>{const t=this.ri.get(e);return Q.resolve(void 0!==t&&t>r)}])}getCacheSize(t){return this.persistence.getRemoteDocumentCache().getSize(t)}}class Ko{constructor(t,e,r,o){this.targetId=t,this.fromCache=e,this.Wi=r,this.Gi=o}static zi(t,e){let r=Fe(),o=Fe();for(const t of e.docChanges)switch(t.type){case 0:r=r.add(t.doc.key);break;case 1:o=o.add(t.doc.key)}return new Ko(t,e.fromCache,r,o)}}class Wo{constructor(){this._documentReadCount=0}get documentReadCount(){return this._documentReadCount}incrementDocumentReadCount(t){this._documentReadCount+=t}}class Qo{constructor(){this.ji=!1,this.Hi=!1,this.Ji=100,this.Yi=(0,a.nr)()?8:function(t){const e=t.match(/Android ([\d.]+)/i),r=e?e[1].split(".").slice(0,2).join("."):"-1";return Number(r)}((0,a.ZQ)())>0?6:4}initialize(t,e){this.Zi=t,this.indexManager=e,this.ji=!0}getDocumentsMatchingQuery(t,e,r,o){const n={result:null};return this.Xi(t,e).next((t=>{n.result=t})).next((()=>{if(!n.result)return this.es(t,e,o,r).next((t=>{n.result=t}))})).next((()=>{if(n.result)return;const r=new Wo;return this.ts(t,e,r).next((o=>{if(n.result=o,this.Hi)return this.ns(t,e,r,o.size)}))})).next((()=>n.result))}ns(t,e,r,o){return r.documentReadCountthis.Yi*o?(p()<=i.$b.DEBUG&&h("QueryEngine","The SDK decides to create cache indexes for query:",Ae(e),"as using cache indexes may help improve performance."),this.indexManager.createTargetIndexes(t,xe(e))):Q.resolve())}Xi(t,e){if(ve(e))return Q.resolve(null);let r=xe(e);return this.indexManager.getIndexType(t,r).next((o=>0===o?null:(null!==e.limit&&1===o&&(e=ke(e,null,"F"),r=xe(e)),this.indexManager.getDocumentsMatchingTarget(t,r).next((o=>{const n=Fe(...o);return this.Zi.getDocuments(t,n).next((o=>this.indexManager.getMinOffset(t,r).next((r=>{const i=this.rs(e,o);return this.ss(e,i,n,r.readTime)?this.Xi(t,ke(e,null,"F")):this.os(t,i,e,r)}))))})))))}es(t,e,r,o){return ve(e)||o.isEqual(P.min())?Q.resolve(null):this.Zi.getDocuments(t,r).next((n=>{const a=this.rs(e,n);return this.ss(e,a,r,o)?Q.resolve(null):(p()<=i.$b.DEBUG&&h("QueryEngine","Re-using previous result from %s to execute query: %s",o.toString(),Ae(e)),this.os(t,a,e,function(t,e){const r=t.toTimestamp().seconds,o=t.toTimestamp().nanoseconds+1,n=P.fromTimestamp(1e9===o?new B(r+1,0):new B(r,o));return new U(n,q.empty(),e)}(o,-1)).next((t=>t)))}))}rs(t,e){let r=new lt(Ce(t));return e.forEach(((e,o)=>{Te(t,o)&&(r=r.add(o))})),r}ss(t,e,r,o){if(null===t.limit)return!1;if(r.size!==e.size)return!0;const n="F"===t.limitType?e.last():e.first();return!!n&&(n.hasPendingWrites||n.version.compareTo(o)>0)}ts(t,e,r){return p()<=i.$b.DEBUG&&h("QueryEngine","Using full collection scan to execute query:",Ae(e)),this.Zi.getDocumentsMatchingQuery(t,e,U.min(),r)}os(t,e,r,o){return this.Zi.getDocumentsMatchingQuery(t,r,o).next((t=>(e.forEach((e=>{t=t.insert(e.key,e)})),t)))}}class Xo{constructor(t,e,r,o){this.persistence=t,this._s=e,this.serializer=o,this.us=new it(M),this.cs=new De((t=>pe(t)),he),this.ls=new Map,this.hs=t.getRemoteDocumentCache(),this.Gr=t.getTargetCache(),this.jr=t.getBundleCache(),this.Ps(r)}Ps(t){this.documentOverlayCache=this.persistence.getDocumentOverlayCache(t),this.indexManager=this.persistence.getIndexManager(t),this.mutationQueue=this.persistence.getMutationQueue(t,this.indexManager),this.localDocuments=new Oo(this.hs,this.mutationQueue,this.documentOverlayCache,this.indexManager),this.hs.setIndexManager(this.indexManager),this._s.initialize(this.localDocuments,this.indexManager)}collectGarbage(t){return this.persistence.runTransaction("Collect garbage","readwrite-primary",(e=>t.collect(e,this.us)))}}async function Yo(t,e){const r=w(t);return await r.persistence.runTransaction("Handle user change","readonly",(t=>{let o;return r.mutationQueue.getAllMutationBatches(t).next((n=>(o=n,r.Ps(e),r.mutationQueue.getAllMutationBatches(t)))).next((e=>{const n=[],i=[];let a=Fe();for(const t of o){n.push(t.batchId);for(const e of t.mutations)a=a.add(e.key)}for(const t of e){i.push(t.batchId);for(const e of t.mutations)a=a.add(e.key)}return r.localDocuments.getDocuments(t,a).next((t=>({Ts:t,removedBatchIds:n,addedBatchIds:i})))}))}))}function Jo(t){const e=w(t);return e.persistence.runTransaction("Get last remote snapshot version","readonly",(t=>e.Gr.getLastRemoteSnapshotVersion(t)))}function Zo(t,e){const r=w(t);return r.persistence.runTransaction("Get next mutation batch","readonly",(t=>(void 0===e&&(e=-1),r.mutationQueue.getNextMutationBatchAfterBatchId(t,e))))}async function tn(t,e,r){const o=w(t),n=o.us.get(e),i=r?"readwrite":"readwrite-primary";try{r||await o.persistence.runTransaction("Release target",i,(t=>o.persistence.referenceDelegate.removeTarget(t,n)))}catch(t){if(!X(t))throw t;h("LocalStore",`Failed to update sequence numbers for target ${e}: ${t}`)}o.us=o.us.remove(e),o.cs.delete(n.target)}function en(t,e,r){const o=w(t);let n=P.min(),i=Fe();return o.persistence.runTransaction("Execute query","readwrite",(t=>function(t,e,r){const o=w(t),n=o.cs.get(r);return void 0!==n?Q.resolve(o.us.get(n)):o.Gr.getTargetData(e,r)}(o,t,xe(e)).next((e=>{if(e)return n=e.lastLimboFreeSnapshotVersion,o.Gr.getMatchingKeysForTargetId(t,e.targetId).next((t=>{i=t}))})).next((()=>o._s.getDocumentsMatchingQuery(t,e,r?n:P.min(),r?i:Fe()))).next((t=>(function(t,e,r){let o=t.ls.get(e)||P.min();r.forEach(((t,e)=>{e.readTime.compareTo(o)>0&&(o=e.readTime)})),t.ls.set(e,o)}(o,function(t){return t.collectionGroup||(t.path.length%2==1?t.path.lastSegment():t.path.get(t.path.length-2))}(e),t),{documents:t,ds:i})))))}class rn{constructor(){this.activeTargetIds=qe}ps(t){this.activeTargetIds=this.activeTargetIds.add(t)}ys(t){this.activeTargetIds=this.activeTargetIds.delete(t)}gs(){const t={activeTargetIds:this.activeTargetIds.toArray(),updateTimeMs:Date.now()};return JSON.stringify(t)}}class on{constructor(){this._o=new rn,this.ao={},this.onlineStateHandler=null,this.sequenceNumberHandler=null}addPendingMutation(t){}updateMutationState(t,e,r){}addLocalQueryTarget(t,e=!0){return e&&this._o.ps(t),this.ao[t]||"not-current"}updateQueryState(t,e,r){this.ao[t]=e}removeLocalQueryTarget(t){this._o.ys(t)}isLocalQueryTarget(t){return this._o.activeTargetIds.has(t)}clearQueryState(t){delete this.ao[t]}getAllActiveQueryTargets(){return this._o.activeTargetIds}isActiveQueryTarget(t){return this._o.activeTargetIds.has(t)}start(){return this._o=new rn,Promise.resolve()}handleUserChange(t,e,r){}setOnlineState(t){}shutdown(){}writeSequenceNumber(t){}notifyBundleLoaded(t){}}class nn{uo(t){}shutdown(){}}class an{constructor(){this.co=()=>this.lo(),this.ho=()=>this.Po(),this.To=[],this.Io()}uo(t){this.To.push(t)}shutdown(){window.removeEventListener("online",this.co),window.removeEventListener("offline",this.ho)}Io(){window.addEventListener("online",this.co),window.addEventListener("offline",this.ho)}lo(){h("ConnectivityMonitor","Network connectivity changed: AVAILABLE");for(const t of this.To)t(0)}Po(){h("ConnectivityMonitor","Network connectivity changed: UNAVAILABLE");for(const t of this.To)t(1)}static p(){return"undefined"!=typeof window&&void 0!==window.addEventListener&&void 0!==window.removeEventListener}}let sn=null;function ln(){return null===sn?sn=268435456+Math.round(2147483648*Math.random()):sn++,"0x"+sn.toString(16)}const cn={BatchGetDocuments:"batchGet",Commit:"commit",RunQuery:"runQuery",RunAggregationQuery:"runAggregationQuery"};class dn{constructor(t){this.Eo=t.Eo,this.Ao=t.Ao}Ro(t){this.Vo=t}mo(t){this.fo=t}po(t){this.yo=t}onMessage(t){this.wo=t}close(){this.Ao()}send(t){this.Eo(t)}So(){this.Vo()}bo(){this.fo()}Do(t){this.yo(t)}vo(t){this.wo(t)}}const un="WebChannelConnection";class mn extends class{get Co(){return!1}constructor(t){this.databaseInfo=t,this.databaseId=t.databaseId;const e=t.ssl?"https":"http",r=encodeURIComponent(this.databaseId.projectId),o=encodeURIComponent(this.databaseId.database);this.Fo=e+"://"+t.host,this.Mo=`projects/${r}/databases/${o}`,this.xo="(default)"===this.databaseId.database?`project_id=${r}`:`project_id=${r}&database_id=${o}`}Oo(t,e,r,o,n){const i=ln(),a=this.No(t,e.toUriEncodedString());h("RestConnection",`Sending RPC '${t}' ${i}:`,a,r);const s={"google-cloud-resource-prefix":this.Mo,"x-goog-request-params":this.xo};return this.Lo(s,o,n),this.Bo(t,a,s,r).then((e=>(h("RestConnection",`Received RPC '${t}' ${i}: `,e),e)),(e=>{throw b("RestConnection",`RPC '${t}' ${i} failed with error: `,e,"url: ",a,"request:",r),e}))}ko(t,e,r,o,n,i){return this.Oo(t,e,r,o,n)}Lo(t,e,r){t["X-Goog-Api-Client"]="gl-js/ fire/"+u,t["Content-Type"]="text/plain",this.databaseInfo.appId&&(t["X-Firebase-GMPID"]=this.databaseInfo.appId),e&&e.headers.forEach(((e,r)=>t[r]=e)),r&&r.headers.forEach(((e,r)=>t[r]=e))}No(t,e){const r=cn[t];return`${this.Fo}/v1/${e}:${r}`}terminate(){}}{constructor(t){super(t),this.forceLongPolling=t.forceLongPolling,this.autoDetectLongPolling=t.autoDetectLongPolling,this.useFetchStreams=t.useFetchStreams,this.longPollingOptions=t.longPollingOptions}Bo(t,e,r,o){const n=ln();return new Promise(((i,a)=>{const s=new l.ZS;s.setWithCredentials(!0),s.listenOnce(l.Bx.COMPLETE,(()=>{try{switch(s.getLastErrorCode()){case l.O4.NO_ERROR:const e=s.getResponseJson();h(un,`XHR for RPC '${t}' ${n} received:`,JSON.stringify(e)),i(e);break;case l.O4.TIMEOUT:h(un,`RPC '${t}' ${n} timed out`),a(new _(x.DEADLINE_EXCEEDED,"Request time out"));break;case l.O4.HTTP_ERROR:const r=s.getStatus();if(h(un,`RPC '${t}' ${n} failed with status:`,r,"response text:",s.getResponseText()),r>0){let t=s.getResponseJson();Array.isArray(t)&&(t=t[0]);const e=null==t?void 0:t.error;if(e&&e.status&&e.message){const t=function(t){const e=t.toLowerCase().replace(/_/g,"-");return Object.values(x).indexOf(e)>=0?e:x.UNKNOWN}(e.status);a(new _(t,e.message))}else a(new _(x.UNKNOWN,"Server responded with status "+s.getStatus()))}else a(new _(x.UNAVAILABLE,"Connection failed."));break;default:v()}}finally{h(un,`RPC '${t}' ${n} completed.`)}}));const c=JSON.stringify(o);h(un,`RPC '${t}' ${n} sending request:`,o),s.send(e,"POST",c,r,15)}))}qo(t,e,r){const o=ln(),n=[this.Fo,"/","google.firestore.v1.Firestore","/",t,"/channel"],i=(0,l.fF)(),a=(0,l.Ao)(),s={httpSessionIdParam:"gsessionid",initMessageHeaders:{},messageUrlParams:{database:`projects/${this.databaseId.projectId}/databases/${this.databaseId.database}`},sendRawJson:!0,supportsCrossDomainXhr:!0,internalChannelParams:{forwardChannelRequestTimeoutMs:6e5},forceLongPolling:this.forceLongPolling,detectBufferingProxy:this.autoDetectLongPolling},c=this.longPollingOptions.timeoutSeconds;void 0!==c&&(s.longPollingTimeout=Math.round(1e3*c)),this.useFetchStreams&&(s.useFetchStreams=!0),this.Lo(s.initMessageHeaders,e,r),s.encodeInitMessageHeaders=!0;const d=n.join("");h(un,`Creating RPC '${t}' stream ${o}: ${d}`,s);const u=i.createWebChannel(d,s);let m=!1,p=!1;const g=new dn({Eo:e=>{p?h(un,`Not sending because RPC '${t}' stream ${o} is closed:`,e):(m||(h(un,`Opening RPC '${t}' stream ${o} transport.`),u.open(),m=!0),h(un,`RPC '${t}' stream ${o} sending:`,e),u.send(e))},Ao:()=>u.close()}),f=(t,e,r)=>{t.listen(e,(t=>{try{r(t)}catch(t){setTimeout((()=>{throw t}),0)}}))};return f(u,l.iO.EventType.OPEN,(()=>{p||(h(un,`RPC '${t}' stream ${o} transport opened.`),g.So())})),f(u,l.iO.EventType.CLOSE,(()=>{p||(p=!0,h(un,`RPC '${t}' stream ${o} transport closed`),g.Do())})),f(u,l.iO.EventType.ERROR,(e=>{p||(p=!0,b(un,`RPC '${t}' stream ${o} transport errored:`,e),g.Do(new _(x.UNAVAILABLE,"The operation could not be completed")))})),f(u,l.iO.EventType.MESSAGE,(e=>{var r;if(!p){const n=e.data[0];y(!!n);const i=n,a=(null==i?void 0:i.error)||(null===(r=i[0])||void 0===r?void 0:r.error);if(a){h(un,`RPC '${t}' stream ${o} received error:`,a);const e=a.status;let r=function(t){const e=Er[t];if(void 0!==e)return Ar(e)}(e),n=a.message;void 0===r&&(r=x.INTERNAL,n="Unknown error status: "+e+" with message "+a.message),p=!0,g.Do(new _(r,n)),u.close()}else h(un,`RPC '${t}' stream ${o} received:`,n),g.vo(n)}})),f(a,l.Jh.STAT_EVENT,(e=>{e.stat===l.ro.PROXY?h(un,`RPC '${t}' stream ${o} detected buffering proxy`):e.stat===l.ro.NOPROXY&&h(un,`RPC '${t}' stream ${o} detected no buffering proxy`)})),setTimeout((()=>{g.bo()}),0),g}}function pn(){return"undefined"!=typeof document?document:null}function hn(t){return new Ur(t,!0)}class gn{constructor(t,e,r=1e3,o=1.5,n=6e4){this.li=t,this.timerId=e,this.Qo=r,this.Ko=o,this.$o=n,this.Uo=0,this.Wo=null,this.Go=Date.now(),this.reset()}reset(){this.Uo=0}zo(){this.Uo=this.$o}jo(t){this.cancel();const e=Math.floor(this.Uo+this.Ho()),r=Math.max(0,Date.now()-this.Go),o=Math.max(0,e-r);o>0&&h("ExponentialBackoff",`Backing off for ${o} ms (base delay: ${this.Uo} ms, delay with jitter: ${e} ms, last attempt: ${r} ms ago)`),this.Wo=this.li.enqueueAfterDelay(this.timerId,o,(()=>(this.Go=Date.now(),t()))),this.Uo*=this.Ko,this.Uothis.$o&&(this.Uo=this.$o)}Jo(){null!==this.Wo&&(this.Wo.skipDelay(),this.Wo=null)}cancel(){null!==this.Wo&&(this.Wo.cancel(),this.Wo=null)}Ho(){return(Math.random()-.5)*this.Uo}}class bn{constructor(t,e,r,o,n,i,a,s){this.li=t,this.Yo=r,this.Zo=o,this.connection=n,this.authCredentialsProvider=i,this.appCheckCredentialsProvider=a,this.listener=s,this.state=0,this.Xo=0,this.e_=null,this.t_=null,this.stream=null,this.n_=0,this.r_=new gn(t,e)}i_(){return 1===this.state||5===this.state||this.s_()}s_(){return 2===this.state||3===this.state}start(){this.n_=0,4!==this.state?this.auth():this.o_()}async stop(){this.i_()&&await this.close(0)}__(){this.state=0,this.r_.reset()}a_(){this.s_()&&null===this.e_&&(this.e_=this.li.enqueueAfterDelay(this.Yo,6e4,(()=>this.u_())))}c_(t){this.l_(),this.stream.send(t)}async u_(){if(this.s_())return this.close(0)}l_(){this.e_&&(this.e_.cancel(),this.e_=null)}h_(){this.t_&&(this.t_.cancel(),this.t_=null)}async close(t,e){this.l_(),this.h_(),this.r_.cancel(),this.Xo++,4!==t?this.r_.reset():e&&e.code===x.RESOURCE_EXHAUSTED?(g(e.toString()),g("Using maximum backoff delay to prevent overloading the backend."),this.r_.zo()):e&&e.code===x.UNAUTHENTICATED&&3!==this.state&&(this.authCredentialsProvider.invalidateToken(),this.appCheckCredentialsProvider.invalidateToken()),null!==this.stream&&(this.P_(),this.stream.close(),this.stream=null),this.state=t,await this.listener.po(e)}P_(){}auth(){this.state=1;const t=this.T_(this.Xo),e=this.Xo;Promise.all([this.authCredentialsProvider.getToken(),this.appCheckCredentialsProvider.getToken()]).then((([t,r])=>{this.Xo===e&&this.I_(t,r)}),(e=>{t((()=>{const t=new _(x.UNKNOWN,"Fetching auth token failed: "+e.message);return this.E_(t)}))}))}I_(t,e){const r=this.T_(this.Xo);this.stream=this.d_(t,e),this.stream.Ro((()=>{r((()=>this.listener.Ro()))})),this.stream.mo((()=>{r((()=>(this.state=2,this.t_=this.li.enqueueAfterDelay(this.Zo,1e4,(()=>(this.s_()&&(this.state=3),Promise.resolve()))),this.listener.mo())))})),this.stream.po((t=>{r((()=>this.E_(t)))})),this.stream.onMessage((t=>{r((()=>1==++this.n_?this.A_(t):this.onNext(t)))}))}o_(){this.state=5,this.r_.jo((async()=>{this.state=0,this.start()}))}E_(t){return h("PersistentStream",`close with error: ${t}`),this.stream=null,this.close(4,t)}T_(t){return e=>{this.li.enqueueAndForget((()=>this.Xo===t?e():(h("PersistentStream","stream callback skipped by getCloseGuardedDispatcher."),Promise.resolve())))}}}class fn extends bn{constructor(t,e,r,o,n,i){super(t,"listen_stream_connection_backoff","listen_stream_idle","health_check_timeout",e,r,o,i),this.serializer=n}d_(t,e){return this.connection.qo("Listen",t,e)}A_(t){return this.onNext(t)}onNext(t){this.r_.reset();const e=function(t,e){let r;if("targetChange"in e){e.targetChange;const o=function(t){return"NO_CHANGE"===t?0:"ADD"===t?1:"REMOVE"===t?2:"CURRENT"===t?3:"RESET"===t?4:v()}(e.targetChange.targetChangeType||"NO_CHANGE"),n=e.targetChange.targetIds||[],i=function(t,e){return t.useProto3Json?(y(void 0===e||"string"==typeof e),mt.fromBase64String(e||"")):(y(void 0===e||e instanceof Buffer||e instanceof Uint8Array),mt.fromUint8Array(e||new Uint8Array))}(t,e.targetChange.resumeToken),a=e.targetChange.cause,s=a&&function(t){const e=void 0===t.code?x.UNKNOWN:Ar(t.code);return new _(e,t.message||"")}(a);r=new Br(o,n,i,s||null)}else if("documentChange"in e){e.documentChange;const o=e.documentChange;o.document,o.document.name,o.document.updateTime;const n=to(t,o.document.name),i=Qr(o.document.updateTime),a=o.document.createTime?Qr(o.document.createTime):P.min(),s=new Ft({mapValue:{fields:o.document.fields}}),l=$t.newFoundDocument(n,i,a,s),c=o.targetIds||[],d=o.removedTargetIds||[];r=new Mr(c,d,l.key,l)}else if("documentDelete"in e){e.documentDelete;const o=e.documentDelete;o.document;const n=to(t,o.document),i=o.readTime?Qr(o.readTime):P.min(),a=$t.newNoDocument(n,i),s=o.removedTargetIds||[];r=new Mr([],s,a.key,a)}else if("documentRemove"in e){e.documentRemove;const o=e.documentRemove;o.document;const n=to(t,o.document),i=o.removedTargetIds||[];r=new Mr([],i,n,null)}else{if(!("filter"in e))return v();{e.filter;const t=e.filter;t.targetId;const{count:o=0,unchangedNames:n}=t,i=new kr(o,n),a=t.targetId;r=new Rr(a,i)}}return r}(this.serializer,t),r=function(t){if(!("targetChange"in t))return P.min();const e=t.targetChange;return e.targetIds&&e.targetIds.length?P.min():e.readTime?Qr(e.readTime):P.min()}(t);return this.listener.R_(e,r)}V_(t){const e={};e.database=ro(this.serializer),e.addTarget=function(t,e){let r;const o=e.target;if(r=ge(o)?{documents:io(t,o)}:{query:ao(t,o).ct},r.targetId=e.targetId,e.resumeToken.approximateByteSize()>0){r.resumeToken=Kr(t,e.resumeToken);const o=Hr(t,e.expectedCount);null!==o&&(r.expectedCount=o)}else if(e.snapshotVersion.compareTo(P.min())>0){r.readTime=Gr(t,e.snapshotVersion.toTimestamp());const o=Hr(t,e.expectedCount);null!==o&&(r.expectedCount=o)}return r}(this.serializer,t);const r=function(t,e){const r=function(t){switch(t){case"TargetPurposeListen":return null;case"TargetPurposeExistenceFilterMismatch":return"existence-filter-mismatch";case"TargetPurposeExistenceFilterMismatchBloom":return"existence-filter-mismatch-bloom";case"TargetPurposeLimboResolution":return"limbo-document";default:return v()}}(e.purpose);return null==r?null:{"goog-listen-tags":r}}(this.serializer,t);r&&(e.labels=r),this.c_(e)}m_(t){const e={};e.database=ro(this.serializer),e.removeTarget=t,this.c_(e)}}class vn extends bn{constructor(t,e,r,o,n,i){super(t,"write_stream_connection_backoff","write_stream_idle","health_check_timeout",e,r,o,i),this.serializer=n}get f_(){return this.n_>0}start(){this.lastStreamToken=void 0,super.start()}P_(){this.f_&&this.g_([])}d_(t,e){return this.connection.qo("Write",t,e)}A_(t){return y(!!t.streamToken),this.lastStreamToken=t.streamToken,y(!t.writeResults||0===t.writeResults.length),this.listener.p_()}onNext(t){y(!!t.streamToken),this.lastStreamToken=t.streamToken,this.r_.reset();const e=function(t,e){return t&&t.length>0?(y(void 0!==e),t.map((t=>function(t,e){let r=t.updateTime?Qr(t.updateTime):Qr(e);return r.isEqual(P.min())&&(r=Qr(e)),new nr(r,t.transformResults||[])}(t,e)))):[]}(t.writeResults,t.commitTime),r=Qr(t.commitTime);return this.listener.y_(r,e)}w_(){const t={};t.database=ro(this.serializer),this.c_(t)}g_(t){const e={streamToken:this.lastStreamToken,writes:t.map((t=>function(t,e){let r;if(e instanceof pr)r={update:no(t,e.key,e.value)};else if(e instanceof vr)r={delete:Zr(t,e.key)};else if(e instanceof hr)r={update:no(t,e.key,e.data),updateMask:bo(e.fieldMask)};else{if(!(e instanceof yr))return v();r={verify:Zr(t,e.key)}}return e.fieldTransforms.length>0&&(r.updateTransforms=e.fieldTransforms.map((t=>function(t,e){const r=e.transform;if(r instanceof Xe)return{fieldPath:e.field.canonicalString(),setToServerValue:"REQUEST_TIME"};if(r instanceof Ye)return{fieldPath:e.field.canonicalString(),appendMissingElements:{values:r.elements}};if(r instanceof Ze)return{fieldPath:e.field.canonicalString(),removeAllFromArray:{values:r.elements}};if(r instanceof er)return{fieldPath:e.field.canonicalString(),increment:r.Pe};throw v()}(0,t)))),e.precondition.isNone||(r.currentDocument=function(t,e){return void 0!==e.updateTime?{updateTime:Wr(t,e.updateTime)}:void 0!==e.exists?{exists:e.exists}:v()}(t,e.precondition)),r}(this.serializer,t)))};this.c_(e)}}class yn extends class{}{constructor(t,e,r,o){super(),this.authCredentials=t,this.appCheckCredentials=e,this.connection=r,this.serializer=o,this.S_=!1}b_(){if(this.S_)throw new _(x.FAILED_PRECONDITION,"The client has already been terminated.")}Oo(t,e,r,o){return this.b_(),Promise.all([this.authCredentials.getToken(),this.appCheckCredentials.getToken()]).then((([n,i])=>this.connection.Oo(t,Yr(e,r),o,n,i))).catch((t=>{throw"FirebaseError"===t.name?(t.code===x.UNAUTHENTICATED&&(this.authCredentials.invalidateToken(),this.appCheckCredentials.invalidateToken()),t):new _(x.UNKNOWN,t.toString())}))}ko(t,e,r,o,n){return this.b_(),Promise.all([this.authCredentials.getToken(),this.appCheckCredentials.getToken()]).then((([i,a])=>this.connection.ko(t,Yr(e,r),o,i,a,n))).catch((t=>{throw"FirebaseError"===t.name?(t.code===x.UNAUTHENTICATED&&(this.authCredentials.invalidateToken(),this.appCheckCredentials.invalidateToken()),t):new _(x.UNKNOWN,t.toString())}))}terminate(){this.S_=!0,this.connection.terminate()}}class wn{constructor(t,e){this.asyncQueue=t,this.onlineStateHandler=e,this.state="Unknown",this.D_=0,this.v_=null,this.C_=!0}F_(){0===this.D_&&(this.M_("Unknown"),this.v_=this.asyncQueue.enqueueAfterDelay("online_state_timeout",1e4,(()=>(this.v_=null,this.x_("Backend didn't respond within 10 seconds."),this.M_("Offline"),Promise.resolve()))))}O_(t){"Online"===this.state?this.M_("Unknown"):(this.D_++,this.D_>=1&&(this.N_(),this.x_(`Connection failed 1 times. Most recent error: ${t.toString()}`),this.M_("Offline")))}set(t){this.N_(),this.D_=0,"Online"===t&&(this.C_=!1),this.M_(t)}M_(t){t!==this.state&&(this.state=t,this.onlineStateHandler(t))}x_(t){const e=`Could not reach Cloud Firestore backend. ${t}\nThis typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend.`;this.C_?(g(e),this.C_=!1):h("OnlineStateTracker",e)}N_(){null!==this.v_&&(this.v_.cancel(),this.v_=null)}}class xn{constructor(t,e,r,o,n){this.localStore=t,this.datastore=e,this.asyncQueue=r,this.remoteSyncer={},this.L_=[],this.B_=new Map,this.k_=new Set,this.q_=[],this.Q_=n,this.Q_.uo((t=>{r.enqueueAndForget((async()=>{Dn(this)&&(h("RemoteStore","Restarting streams for network reachability change."),await async function(t){const e=w(t);e.k_.add(4),await kn(e),e.K_.set("Unknown"),e.k_.delete(4),await _n(e)}(this))}))})),this.K_=new wn(r,o)}}async function _n(t){if(Dn(t))for(const e of t.q_)await e(!0)}async function kn(t){for(const e of t.q_)await e(!1)}function En(t,e){const r=w(t);r.B_.has(e.targetId)||(r.B_.set(e.targetId,e),Sn(r)?Cn(r):Wn(r).s_()&&An(r,e))}function In(t,e){const r=w(t),o=Wn(r);r.B_.delete(e),o.s_()&&Tn(r,e),0===r.B_.size&&(o.s_()?o.a_():Dn(r)&&r.K_.set("Unknown"))}function An(t,e){if(t.U_.xe(e.targetId),e.resumeToken.approximateByteSize()>0||e.snapshotVersion.compareTo(P.min())>0){const r=t.remoteSyncer.getRemoteKeysForTarget(e.targetId).size;e=e.withExpectedCount(r)}Wn(t).V_(e)}function Tn(t,e){t.U_.xe(e),Wn(t).m_(e)}function Cn(t){t.U_=new Vr({getRemoteKeysForTarget:e=>t.remoteSyncer.getRemoteKeysForTarget(e),ut:e=>t.B_.get(e)||null,nt:()=>t.datastore.serializer.databaseId}),Wn(t).start(),t.K_.F_()}function Sn(t){return Dn(t)&&!Wn(t).i_()&&t.B_.size>0}function Dn(t){return 0===w(t).k_.size}function Ln(t){t.U_=void 0}async function Nn(t){t.K_.set("Online")}async function On(t){t.B_.forEach(((e,r)=>{An(t,e)}))}async function Mn(t,e){Ln(t),Sn(t)?(t.K_.O_(e),Cn(t)):t.K_.set("Unknown")}async function Rn(t,e,r){if(t.K_.set("Online"),e instanceof Br&&2===e.state&&e.cause)try{await async function(t,e){const r=e.cause;for(const o of e.targetIds)t.B_.has(o)&&(await t.remoteSyncer.rejectListen(o,r),t.B_.delete(o),t.U_.removeTarget(o))}(t,e)}catch(r){h("RemoteStore","Failed to remove targets %s: %s ",e.targetIds.join(","),r),await Bn(t,r)}else if(e instanceof Mr?t.U_.$e(e):e instanceof Rr?t.U_.Je(e):t.U_.Ge(e),!r.isEqual(P.min()))try{const e=await Jo(t.localStore);r.compareTo(e)>=0&&await function(t,e){const r=t.U_.it(e);return r.targetChanges.forEach(((r,o)=>{if(r.resumeToken.approximateByteSize()>0){const n=t.B_.get(o);n&&t.B_.set(o,n.withResumeToken(r.resumeToken,e))}})),r.targetMismatches.forEach(((e,r)=>{const o=t.B_.get(e);if(!o)return;t.B_.set(e,o.withResumeToken(mt.EMPTY_BYTE_STRING,o.snapshotVersion)),Tn(t,e);const n=new vo(o.target,e,r,o.sequenceNumber);An(t,n)})),t.remoteSyncer.applyRemoteEvent(r)}(t,r)}catch(e){h("RemoteStore","Failed to raise snapshot:",e),await Bn(t,e)}}async function Bn(t,e,r){if(!X(e))throw e;t.k_.add(1),await kn(t),t.K_.set("Offline"),r||(r=()=>Jo(t.localStore)),t.asyncQueue.enqueueRetryable((async()=>{h("RemoteStore","Retrying IndexedDB access"),await r(),t.k_.delete(1),await _n(t)}))}function Pn(t,e){return e().catch((r=>Bn(t,r,e)))}async function Vn(t){const e=w(t),r=Qn(e);let o=e.L_.length>0?e.L_[e.L_.length-1].batchId:-1;for(;jn(e);)try{const t=await Zo(e.localStore,o);if(null===t){0===e.L_.length&&r.a_();break}o=t.batchId,zn(e,t)}catch(t){await Bn(e,t)}Fn(e)&&qn(e)}function jn(t){return Dn(t)&&t.L_.length<10}function zn(t,e){t.L_.push(e);const r=Qn(t);r.s_()&&r.f_&&r.g_(e.mutations)}function Fn(t){return Dn(t)&&!Qn(t).i_()&&t.L_.length>0}function qn(t){Qn(t).start()}async function $n(t){Qn(t).w_()}async function Un(t){const e=Qn(t);for(const r of t.L_)e.g_(r.mutations)}async function Hn(t,e,r){const o=t.L_.shift(),n=xr.from(o,e,r);await Pn(t,(()=>t.remoteSyncer.applySuccessfulWrite(n))),await Vn(t)}async function Gn(t,e){e&&Qn(t).f_&&await async function(t,e){if(function(t){return function(t){switch(t){default:return v();case x.CANCELLED:case x.UNKNOWN:case x.DEADLINE_EXCEEDED:case x.RESOURCE_EXHAUSTED:case x.INTERNAL:case x.UNAVAILABLE:case x.UNAUTHENTICATED:return!1;case x.INVALID_ARGUMENT:case x.NOT_FOUND:case x.ALREADY_EXISTS:case x.PERMISSION_DENIED:case x.FAILED_PRECONDITION:case x.ABORTED:case x.OUT_OF_RANGE:case x.UNIMPLEMENTED:case x.DATA_LOSS:return!0}}(t)&&t!==x.ABORTED}(e.code)){const r=t.L_.shift();Qn(t).__(),await Pn(t,(()=>t.remoteSyncer.rejectFailedWrite(r.batchId,e))),await Vn(t)}}(t,e),Fn(t)&&qn(t)}async function Kn(t,e){const r=w(t);r.asyncQueue.verifyOperationInProgress(),h("RemoteStore","RemoteStore received new credentials");const o=Dn(r);r.k_.add(3),await kn(r),o&&r.K_.set("Unknown"),await r.remoteSyncer.handleCredentialChange(e),r.k_.delete(3),await _n(r)}function Wn(t){return t.W_||(t.W_=function(t,e,r){const o=w(t);return o.b_(),new fn(e,o.connection,o.authCredentials,o.appCheckCredentials,o.serializer,r)}(t.datastore,t.asyncQueue,{Ro:Nn.bind(null,t),mo:On.bind(null,t),po:Mn.bind(null,t),R_:Rn.bind(null,t)}),t.q_.push((async e=>{e?(t.W_.__(),Sn(t)?Cn(t):t.K_.set("Unknown")):(await t.W_.stop(),Ln(t))}))),t.W_}function Qn(t){return t.G_||(t.G_=function(t,e,r){const o=w(t);return o.b_(),new vn(e,o.connection,o.authCredentials,o.appCheckCredentials,o.serializer,r)}(t.datastore,t.asyncQueue,{Ro:()=>Promise.resolve(),mo:$n.bind(null,t),po:Gn.bind(null,t),p_:Un.bind(null,t),y_:Hn.bind(null,t)}),t.q_.push((async e=>{e?(t.G_.__(),await Vn(t)):(await t.G_.stop(),t.L_.length>0&&(h("RemoteStore",`Stopping write stream with ${t.L_.length} pending writes`),t.L_=[]))}))),t.G_}class Xn{constructor(t,e,r,o,n){this.asyncQueue=t,this.timerId=e,this.targetTimeMs=r,this.op=o,this.removalCallback=n,this.deferred=new k,this.then=this.deferred.promise.then.bind(this.deferred.promise),this.deferred.promise.catch((t=>{}))}get promise(){return this.deferred.promise}static createAndSchedule(t,e,r,o,n){const i=Date.now()+r,a=new Xn(t,e,i,o,n);return a.start(r),a}start(t){this.timerHandle=setTimeout((()=>this.handleDelayElapsed()),t)}skipDelay(){return this.handleDelayElapsed()}cancel(t){null!==this.timerHandle&&(this.clearTimeout(),this.deferred.reject(new _(x.CANCELLED,"Operation cancelled"+(t?": "+t:""))))}handleDelayElapsed(){this.asyncQueue.enqueueAndForget((()=>null!==this.timerHandle?(this.clearTimeout(),this.op().then((t=>this.deferred.resolve(t)))):Promise.resolve()))}clearTimeout(){null!==this.timerHandle&&(this.removalCallback(this),clearTimeout(this.timerHandle),this.timerHandle=null)}}function Yn(t,e){if(g("AsyncQueue",`${e}: ${t}`),X(t))return new _(x.UNAVAILABLE,`${e}: ${t}`);throw t}class Jn{static emptySet(t){return new Jn(t.comparator)}constructor(t){this.comparator=t?(e,r)=>t(e,r)||q.comparator(e.key,r.key):(t,e)=>q.comparator(t.key,e.key),this.keyedMap=Me(),this.sortedSet=new it(this.comparator)}has(t){return null!=this.keyedMap.get(t)}get(t){return this.keyedMap.get(t)}first(){return this.sortedSet.minKey()}last(){return this.sortedSet.maxKey()}isEmpty(){return this.sortedSet.isEmpty()}indexOf(t){const e=this.keyedMap.get(t);return e?this.sortedSet.indexOf(e):-1}get size(){return this.sortedSet.size}forEach(t){this.sortedSet.inorderTraversal(((e,r)=>(t(e),!1)))}add(t){const e=this.delete(t.key);return e.copy(e.keyedMap.insert(t.key,t),e.sortedSet.insert(t,null))}delete(t){const e=this.get(t);return e?this.copy(this.keyedMap.remove(t),this.sortedSet.remove(e)):this}isEqual(t){if(!(t instanceof Jn))return!1;if(this.size!==t.size)return!1;const e=this.sortedSet.getIterator(),r=t.sortedSet.getIterator();for(;e.hasNext();){const t=e.getNext().key,o=r.getNext().key;if(!t.isEqual(o))return!1}return!0}toString(){const t=[];return this.forEach((e=>{t.push(e.toString())})),0===t.length?"DocumentSet ()":"DocumentSet (\n "+t.join(" \n")+"\n)"}copy(t,e){const r=new Jn;return r.comparator=this.comparator,r.keyedMap=t,r.sortedSet=e,r}}class Zn{constructor(){this.z_=new it(q.comparator)}track(t){const e=t.doc.key,r=this.z_.get(e);r?0!==t.type&&3===r.type?this.z_=this.z_.insert(e,t):3===t.type&&1!==r.type?this.z_=this.z_.insert(e,{type:r.type,doc:t.doc}):2===t.type&&2===r.type?this.z_=this.z_.insert(e,{type:2,doc:t.doc}):2===t.type&&0===r.type?this.z_=this.z_.insert(e,{type:0,doc:t.doc}):1===t.type&&0===r.type?this.z_=this.z_.remove(e):1===t.type&&2===r.type?this.z_=this.z_.insert(e,{type:1,doc:r.doc}):0===t.type&&1===r.type?this.z_=this.z_.insert(e,{type:2,doc:t.doc}):v():this.z_=this.z_.insert(e,t)}j_(){const t=[];return this.z_.inorderTraversal(((e,r)=>{t.push(r)})),t}}class ti{constructor(t,e,r,o,n,i,a,s,l){this.query=t,this.docs=e,this.oldDocs=r,this.docChanges=o,this.mutatedKeys=n,this.fromCache=i,this.syncStateChanged=a,this.excludesMetadataChanges=s,this.hasCachedResults=l}static fromInitialDocuments(t,e,r,o,n){const i=[];return e.forEach((t=>{i.push({type:0,doc:t})})),new ti(t,e,Jn.emptySet(e),i,r,o,!0,!1,n)}get hasPendingWrites(){return!this.mutatedKeys.isEmpty()}isEqual(t){if(!(this.fromCache===t.fromCache&&this.hasCachedResults===t.hasCachedResults&&this.syncStateChanged===t.syncStateChanged&&this.mutatedKeys.isEqual(t.mutatedKeys)&&Ee(this.query,t.query)&&this.docs.isEqual(t.docs)&&this.oldDocs.isEqual(t.oldDocs)))return!1;const e=this.docChanges,r=t.docChanges;if(e.length!==r.length)return!1;for(let t=0;tt.Z_()))}}class ri{constructor(){this.queries=oi(),this.onlineState="Unknown",this.X_=new Set}terminate(){!function(t,e){const r=w(t),o=r.queries;r.queries=oi(),o.forEach(((t,r)=>{for(const t of r.J_)t.onError(e)}))}(this,new _(x.ABORTED,"Firestore shutting down"))}}function oi(){return new De((t=>Ie(t)),Ee)}async function ni(t,e){const r=w(t);let o=3;const n=e.query;let i=r.queries.get(n);i?!i.Y_()&&e.Z_()&&(o=2):(i=new ei,o=e.Z_()?0:1);try{switch(o){case 0:i.H_=await r.onListen(n,!0);break;case 1:i.H_=await r.onListen(n,!1);break;case 2:await r.onFirstRemoteStoreListen(n)}}catch(t){const r=Yn(t,`Initialization of query '${Ae(e.query)}' failed`);return void e.onError(r)}r.queries.set(n,i),i.J_.push(e),e.ea(r.onlineState),i.H_&&e.ta(i.H_)&&li(r)}async function ii(t,e){const r=w(t),o=e.query;let n=3;const i=r.queries.get(o);if(i){const t=i.J_.indexOf(e);t>=0&&(i.J_.splice(t,1),0===i.J_.length?n=e.Z_()?0:1:!i.Y_()&&e.Z_()&&(n=2))}switch(n){case 0:return r.queries.delete(o),r.onUnlisten(o,!0);case 1:return r.queries.delete(o),r.onUnlisten(o,!1);case 2:return r.onLastRemoteStoreUnlisten(o);default:return}}function ai(t,e){const r=w(t);let o=!1;for(const t of e){const e=t.query,n=r.queries.get(e);if(n){for(const e of n.J_)e.ta(t)&&(o=!0);n.H_=t}}o&&li(r)}function si(t,e,r){const o=w(t),n=o.queries.get(e);if(n)for(const t of n.J_)t.onError(r);o.queries.delete(e)}function li(t){t.X_.forEach((t=>{t.next()}))}var ci,di;(di=ci||(ci={})).na="default",di.Cache="cache";class ui{constructor(t,e,r){this.query=t,this.ra=e,this.ia=!1,this.sa=null,this.onlineState="Unknown",this.options=r||{}}ta(t){if(!this.options.includeMetadataChanges){const e=[];for(const r of t.docChanges)3!==r.type&&e.push(r);t=new ti(t.query,t.docs,t.oldDocs,e,t.mutatedKeys,t.fromCache,t.syncStateChanged,!0,t.hasCachedResults)}let e=!1;return this.ia?this.oa(t)&&(this.ra.next(t),e=!0):this._a(t,this.onlineState)&&(this.aa(t),e=!0),this.sa=t,e}onError(t){this.ra.error(t)}ea(t){this.onlineState=t;let e=!1;return this.sa&&!this.ia&&this._a(this.sa,t)&&(this.aa(this.sa),e=!0),e}_a(t,e){if(!t.fromCache)return!0;if(!this.Z_())return!0;const r="Offline"!==e;return(!this.options.ua||!r)&&(!t.docs.isEmpty()||t.hasCachedResults||"Offline"===e)}oa(t){if(t.docChanges.length>0)return!0;const e=this.sa&&this.sa.hasPendingWrites!==t.hasPendingWrites;return!(!t.syncStateChanged&&!e)&&!0===this.options.includeMetadataChanges}aa(t){t=ti.fromInitialDocuments(t.query,t.docs,t.mutatedKeys,t.fromCache,t.hasCachedResults),this.ia=!0,this.ra.next(t)}Z_(){return this.options.source!==ci.Cache}}class mi{constructor(t){this.key=t}}class pi{constructor(t){this.key=t}}class hi{constructor(t,e){this.query=t,this.da=e,this.Aa=null,this.hasCachedResults=!1,this.current=!1,this.Ra=Fe(),this.mutatedKeys=Fe(),this.Va=Ce(t),this.ma=new Jn(this.Va)}get fa(){return this.da}ga(t,e){const r=e?e.pa:new Zn,o=e?e.ma:this.ma;let n=e?e.mutatedKeys:this.mutatedKeys,i=o,a=!1;const s="F"===this.query.limitType&&o.size===this.query.limit?o.last():null,l="L"===this.query.limitType&&o.size===this.query.limit?o.first():null;if(t.inorderTraversal(((t,e)=>{const c=o.get(t),d=Te(this.query,e)?e:null,u=!!c&&this.mutatedKeys.has(c.key),m=!!d&&(d.hasLocalMutations||this.mutatedKeys.has(d.key)&&d.hasCommittedMutations);let p=!1;c&&d?c.data.isEqual(d.data)?u!==m&&(r.track({type:3,doc:d}),p=!0):this.ya(c,d)||(r.track({type:2,doc:d}),p=!0,(s&&this.Va(d,s)>0||l&&this.Va(d,l)<0)&&(a=!0)):!c&&d?(r.track({type:0,doc:d}),p=!0):c&&!d&&(r.track({type:1,doc:c}),p=!0,(s||l)&&(a=!0)),p&&(d?(i=i.add(d),n=m?n.add(t):n.delete(t)):(i=i.delete(t),n=n.delete(t)))})),null!==this.query.limit)for(;i.size>this.query.limit;){const t="F"===this.query.limitType?i.last():i.first();i=i.delete(t.key),n=n.delete(t.key),r.track({type:1,doc:t})}return{ma:i,pa:r,ss:a,mutatedKeys:n}}ya(t,e){return t.hasLocalMutations&&e.hasCommittedMutations&&!e.hasLocalMutations}applyChanges(t,e,r,o){const n=this.ma;this.ma=t.ma,this.mutatedKeys=t.mutatedKeys;const i=t.pa.j_();i.sort(((t,e)=>function(t,e){const r=t=>{switch(t){case 0:return 1;case 2:case 3:return 2;case 1:return 0;default:return v()}};return r(t)-r(e)}(t.type,e.type)||this.Va(t.doc,e.doc))),this.wa(r),o=null!=o&&o;const a=e&&!o?this.Sa():[],s=0===this.Ra.size&&this.current&&!o?1:0,l=s!==this.Aa;return this.Aa=s,0!==i.length||l?{snapshot:new ti(this.query,t.ma,n,i,t.mutatedKeys,0===s,l,!1,!!r&&r.resumeToken.approximateByteSize()>0),ba:a}:{ba:a}}ea(t){return this.current&&"Offline"===t?(this.current=!1,this.applyChanges({ma:this.ma,pa:new Zn,mutatedKeys:this.mutatedKeys,ss:!1},!1)):{ba:[]}}Da(t){return!this.da.has(t)&&!!this.ma.has(t)&&!this.ma.get(t).hasLocalMutations}wa(t){t&&(t.addedDocuments.forEach((t=>this.da=this.da.add(t))),t.modifiedDocuments.forEach((t=>{})),t.removedDocuments.forEach((t=>this.da=this.da.delete(t))),this.current=t.current)}Sa(){if(!this.current)return[];const t=this.Ra;this.Ra=Fe(),this.ma.forEach((t=>{this.Da(t.key)&&(this.Ra=this.Ra.add(t.key))}));const e=[];return t.forEach((t=>{this.Ra.has(t)||e.push(new pi(t))})),this.Ra.forEach((r=>{t.has(r)||e.push(new mi(r))})),e}va(t){this.da=t.ds,this.Ra=Fe();const e=this.ga(t.documents);return this.applyChanges(e,!0)}Ca(){return ti.fromInitialDocuments(this.query,this.ma,this.mutatedKeys,0===this.Aa,this.hasCachedResults)}}class gi{constructor(t,e,r){this.query=t,this.targetId=e,this.view=r}}class bi{constructor(t){this.key=t,this.Fa=!1}}class fi{constructor(t,e,r,o,n,i){this.localStore=t,this.remoteStore=e,this.eventManager=r,this.sharedClientState=o,this.currentUser=n,this.maxConcurrentLimboResolutions=i,this.Ma={},this.xa=new De((t=>Ie(t)),Ee),this.Oa=new Map,this.Na=new Set,this.La=new it(q.comparator),this.Ba=new Map,this.ka=new Po,this.qa={},this.Qa=new Map,this.Ka=Ao.Qn(),this.onlineState="Unknown",this.$a=void 0}get isPrimaryClient(){return!0===this.$a}}async function vi(t,e,r=!0){const o=Vi(t);let n;const i=o.xa.get(e);return i?(o.sharedClientState.addLocalQueryTarget(i.targetId),n=i.view.Ca()):n=await wi(o,e,r,!0),n}async function yi(t,e){const r=Vi(t);await wi(r,e,!0,!1)}async function wi(t,e,r,o){const n=await function(t,e){const r=w(t);return r.persistence.runTransaction("Allocate target","readwrite",(t=>{let o;return r.Gr.getTargetData(t,e).next((n=>n?(o=n,Q.resolve(o)):r.Gr.allocateTargetId(t).next((n=>(o=new vo(e,n,"TargetPurposeListen",t.currentSequenceNumber),r.Gr.addTargetData(t,o).next((()=>o)))))))})).then((t=>{const o=r.us.get(t.targetId);return(null===o||t.snapshotVersion.compareTo(o.snapshotVersion)>0)&&(r.us=r.us.insert(t.targetId,t),r.cs.set(e,t.targetId)),t}))}(t.localStore,xe(e)),i=n.targetId,a=t.sharedClientState.addLocalQueryTarget(i,r);let s;return o&&(s=await async function(t,e,r,o,n){t.Ua=(e,r,o)=>async function(t,e,r,o){let n=e.view.ga(r);n.ss&&(n=await en(t.localStore,e.query,!1).then((({documents:t})=>e.view.ga(t,n))));const i=o&&o.targetChanges.get(e.targetId),a=o&&null!=o.targetMismatches.get(e.targetId),s=e.view.applyChanges(n,t.isPrimaryClient,i,a);return Ni(t,e.targetId,s.ba),s.snapshot}(t,e,r,o);const i=await en(t.localStore,e,!0),a=new hi(e,i.ds),s=a.ga(i.documents),l=Or.createSynthesizedTargetChangeForCurrentChange(r,o&&"Offline"!==t.onlineState,n),c=a.applyChanges(s,t.isPrimaryClient,l);Ni(t,r,c.ba);const d=new gi(e,r,a);return t.xa.set(e,d),t.Oa.has(r)?t.Oa.get(r).push(e):t.Oa.set(r,[e]),c.snapshot}(t,e,i,"current"===a,n.resumeToken)),t.isPrimaryClient&&r&&En(t.remoteStore,n),s}async function xi(t,e,r){const o=w(t),n=o.xa.get(e),i=o.Oa.get(n.targetId);if(i.length>1)return o.Oa.set(n.targetId,i.filter((t=>!Ee(t,e)))),void o.xa.delete(e);o.isPrimaryClient?(o.sharedClientState.removeLocalQueryTarget(n.targetId),o.sharedClientState.isActiveQueryTarget(n.targetId)||await tn(o.localStore,n.targetId,!1).then((()=>{o.sharedClientState.clearQueryState(n.targetId),r&&In(o.remoteStore,n.targetId),Di(o,n.targetId)})).catch(W)):(Di(o,n.targetId),await tn(o.localStore,n.targetId,!0))}async function _i(t,e){const r=w(t),o=r.xa.get(e),n=r.Oa.get(o.targetId);r.isPrimaryClient&&1===n.length&&(r.sharedClientState.removeLocalQueryTarget(o.targetId),In(r.remoteStore,o.targetId))}async function ki(t,e){const r=w(t);try{const t=await function(t,e){const r=w(t),o=e.snapshotVersion;let n=r.us;return r.persistence.runTransaction("Apply remote event","readwrite-primary",(t=>{const i=r.hs.newChangeBuffer({trackRemovals:!0});n=r.us;const a=[];e.targetChanges.forEach(((i,s)=>{const l=n.get(s);if(!l)return;a.push(r.Gr.removeMatchingKeys(t,i.removedDocuments,s).next((()=>r.Gr.addMatchingKeys(t,i.addedDocuments,s))));let c=l.withSequenceNumber(t.currentSequenceNumber);null!==e.targetMismatches.get(s)?c=c.withResumeToken(mt.EMPTY_BYTE_STRING,P.min()).withLastLimboFreeSnapshotVersion(P.min()):i.resumeToken.approximateByteSize()>0&&(c=c.withResumeToken(i.resumeToken,o)),n=n.insert(s,c),function(t,e,r){return 0===t.resumeToken.approximateByteSize()||e.snapshotVersion.toMicroseconds()-t.snapshotVersion.toMicroseconds()>=3e8||r.addedDocuments.size+r.modifiedDocuments.size+r.removedDocuments.size>0}(l,c,i)&&a.push(r.Gr.updateTargetData(t,c))}));let s=Ne(),l=Fe();if(e.documentUpdates.forEach((o=>{e.resolvedLimboDocuments.has(o)&&a.push(r.persistence.referenceDelegate.updateLimboDocument(t,o))})),a.push(function(t,e,r){let o=Fe(),n=Fe();return r.forEach((t=>o=o.add(t))),e.getEntries(t,o).next((t=>{let o=Ne();return r.forEach(((r,i)=>{const a=t.get(r);i.isFoundDocument()!==a.isFoundDocument()&&(n=n.add(r)),i.isNoDocument()&&i.version.isEqual(P.min())?(e.removeEntry(r,i.readTime),o=o.insert(r,i)):!a.isValidDocument()||i.version.compareTo(a.version)>0||0===i.version.compareTo(a.version)&&a.hasPendingWrites?(e.addEntry(i),o=o.insert(r,i)):h("LocalStore","Ignoring outdated watch update for ",r,". Current version:",a.version," Watch version:",i.version)})),{Is:o,Es:n}}))}(t,i,e.documentUpdates).next((t=>{s=t.Is,l=t.Es}))),!o.isEqual(P.min())){const e=r.Gr.getLastRemoteSnapshotVersion(t).next((e=>r.Gr.setTargetsMetadata(t,t.currentSequenceNumber,o)));a.push(e)}return Q.waitFor(a).next((()=>i.apply(t))).next((()=>r.localDocuments.getLocalViewOfDocuments(t,s,l))).next((()=>s))})).then((t=>(r.us=n,t)))}(r.localStore,e);e.targetChanges.forEach(((t,e)=>{const o=r.Ba.get(e);o&&(y(t.addedDocuments.size+t.modifiedDocuments.size+t.removedDocuments.size<=1),t.addedDocuments.size>0?o.Fa=!0:t.modifiedDocuments.size>0?y(o.Fa):t.removedDocuments.size>0&&(y(o.Fa),o.Fa=!1))})),await Ri(r,t,e)}catch(t){await W(t)}}function Ei(t,e,r){const o=w(t);if(o.isPrimaryClient&&0===r||!o.isPrimaryClient&&1===r){const t=[];o.xa.forEach(((r,o)=>{const n=o.view.ea(e);n.snapshot&&t.push(n.snapshot)})),function(t,e){const r=w(t);r.onlineState=e;let o=!1;r.queries.forEach(((t,r)=>{for(const t of r.J_)t.ea(e)&&(o=!0)})),o&&li(r)}(o.eventManager,e),t.length&&o.Ma.R_(t),o.onlineState=e,o.isPrimaryClient&&o.sharedClientState.setOnlineState(e)}}async function Ii(t,e,r){const o=w(t);o.sharedClientState.updateQueryState(e,"rejected",r);const n=o.Ba.get(e),i=n&&n.key;if(i){let t=new it(q.comparator);t=t.insert(i,$t.newNoDocument(i,P.min()));const r=Fe().add(i),n=new Nr(P.min(),new Map,new it(M),t,r);await ki(o,n),o.La=o.La.remove(i),o.Ba.delete(e),Mi(o)}else await tn(o.localStore,e,!1).then((()=>Di(o,e,r))).catch(W)}async function Ai(t,e){const r=w(t),o=e.batch.batchId;try{const t=await function(t,e){const r=w(t);return r.persistence.runTransaction("Acknowledge batch","readwrite-primary",(t=>{const o=e.batch.keys(),n=r.hs.newChangeBuffer({trackRemovals:!0});return function(t,e,r,o){const n=r.batch,i=n.keys();let a=Q.resolve();return i.forEach((t=>{a=a.next((()=>o.getEntry(e,t))).next((e=>{const i=r.docVersions.get(t);y(null!==i),e.version.compareTo(i)<0&&(n.applyToRemoteDocument(e,r),e.isValidDocument()&&(e.setReadTime(r.commitVersion),o.addEntry(e)))}))})),a.next((()=>t.mutationQueue.removeMutationBatch(e,n)))}(r,t,e,n).next((()=>n.apply(t))).next((()=>r.mutationQueue.performConsistencyCheck(t))).next((()=>r.documentOverlayCache.removeOverlaysForBatchId(t,o,e.batch.batchId))).next((()=>r.localDocuments.recalculateAndSaveOverlaysForDocumentKeys(t,function(t){let e=Fe();for(let r=0;r0&&(e=e.add(t.batch.mutations[r].key));return e}(e)))).next((()=>r.localDocuments.getDocuments(t,o)))}))}(r.localStore,e);Si(r,o,null),Ci(r,o),r.sharedClientState.updateMutationState(o,"acknowledged"),await Ri(r,t)}catch(t){await W(t)}}async function Ti(t,e,r){const o=w(t);try{const t=await function(t,e){const r=w(t);return r.persistence.runTransaction("Reject batch","readwrite-primary",(t=>{let o;return r.mutationQueue.lookupMutationBatch(t,e).next((e=>(y(null!==e),o=e.keys(),r.mutationQueue.removeMutationBatch(t,e)))).next((()=>r.mutationQueue.performConsistencyCheck(t))).next((()=>r.documentOverlayCache.removeOverlaysForBatchId(t,o,e))).next((()=>r.localDocuments.recalculateAndSaveOverlaysForDocumentKeys(t,o))).next((()=>r.localDocuments.getDocuments(t,o)))}))}(o.localStore,e);Si(o,e,r),Ci(o,e),o.sharedClientState.updateMutationState(e,"rejected",r),await Ri(o,t)}catch(r){await W(r)}}function Ci(t,e){(t.Qa.get(e)||[]).forEach((t=>{t.resolve()})),t.Qa.delete(e)}function Si(t,e,r){const o=w(t);let n=o.qa[o.currentUser.toKey()];if(n){const t=n.get(e);t&&(r?t.reject(r):t.resolve(),n=n.remove(e)),o.qa[o.currentUser.toKey()]=n}}function Di(t,e,r=null){t.sharedClientState.removeLocalQueryTarget(e);for(const o of t.Oa.get(e))t.xa.delete(o),r&&t.Ma.Wa(o,r);t.Oa.delete(e),t.isPrimaryClient&&t.ka.yr(e).forEach((e=>{t.ka.containsKey(e)||Li(t,e)}))}function Li(t,e){t.Na.delete(e.path.canonicalString());const r=t.La.get(e);null!==r&&(In(t.remoteStore,r),t.La=t.La.remove(e),t.Ba.delete(r),Mi(t))}function Ni(t,e,r){for(const o of r)o instanceof mi?(t.ka.addReference(o.key,e),Oi(t,o)):o instanceof pi?(h("SyncEngine","Document no longer in limbo: "+o.key),t.ka.removeReference(o.key,e),t.ka.containsKey(o.key)||Li(t,o.key)):v()}function Oi(t,e){const r=e.key,o=r.path.canonicalString();t.La.get(r)||t.Na.has(o)||(h("SyncEngine","New document in limbo: "+r),t.Na.add(o),Mi(t))}function Mi(t){for(;t.Na.size>0&&t.La.size{a.push(o.Ua(s,e,r).then((t=>{var e;if((t||r)&&o.isPrimaryClient){const n=t?!t.fromCache:null===(e=null==r?void 0:r.targetChanges.get(s.targetId))||void 0===e?void 0:e.current;o.sharedClientState.updateQueryState(s.targetId,n?"current":"not-current")}if(t){n.push(t);const e=Ko.zi(s.targetId,t);i.push(e)}})))})),await Promise.all(a),o.Ma.R_(n),await async function(t,e){const r=w(t);try{await r.persistence.runTransaction("notifyLocalViewChanges","readwrite",(t=>Q.forEach(e,(e=>Q.forEach(e.Wi,(o=>r.persistence.referenceDelegate.addReference(t,e.targetId,o))).next((()=>Q.forEach(e.Gi,(o=>r.persistence.referenceDelegate.removeReference(t,e.targetId,o)))))))))}catch(t){if(!X(t))throw t;h("LocalStore","Failed to update sequence numbers: "+t)}for(const t of e){const e=t.targetId;if(!t.fromCache){const t=r.us.get(e),o=t.snapshotVersion,n=t.withLastLimboFreeSnapshotVersion(o);r.us=r.us.insert(e,n)}}}(o.localStore,i))}async function Bi(t,e){const r=w(t);if(!r.currentUser.isEqual(e)){h("SyncEngine","User change. New user:",e.toKey());const t=await Yo(r.localStore,e);r.currentUser=e,function(t,e){t.Qa.forEach((t=>{t.forEach((t=>{t.reject(new _(x.CANCELLED,"'waitForPendingWrites' promise is rejected due to a user change."))}))})),t.Qa.clear()}(r),r.sharedClientState.handleUserChange(e,t.removedBatchIds,t.addedBatchIds),await Ri(r,t.Ts)}}function Pi(t,e){const r=w(t),o=r.Ba.get(e);if(o&&o.Fa)return Fe().add(o.key);{let t=Fe();const o=r.Oa.get(e);if(!o)return t;for(const e of o){const o=r.xa.get(e);t=t.unionWith(o.view.fa)}return t}}function Vi(t){const e=w(t);return e.remoteStore.remoteSyncer.applyRemoteEvent=ki.bind(null,e),e.remoteStore.remoteSyncer.getRemoteKeysForTarget=Pi.bind(null,e),e.remoteStore.remoteSyncer.rejectListen=Ii.bind(null,e),e.Ma.R_=ai.bind(null,e.eventManager),e.Ma.Wa=si.bind(null,e.eventManager),e}function ji(t){const e=w(t);return e.remoteStore.remoteSyncer.applySuccessfulWrite=Ai.bind(null,e),e.remoteStore.remoteSyncer.rejectFailedWrite=Ti.bind(null,e),e}class zi{constructor(){this.kind="memory",this.synchronizeTabs=!1}async initialize(t){this.serializer=hn(t.databaseInfo.databaseId),this.sharedClientState=this.za(t),this.persistence=this.ja(t),await this.persistence.start(),this.localStore=this.Ha(t),this.gcScheduler=this.Ja(t,this.localStore),this.indexBackfillerScheduler=this.Ya(t,this.localStore)}Ja(t,e){return null}Ya(t,e){return null}Ha(t){return function(t,e,r,o){return new Xo(t,e,r,o)}(this.persistence,new Qo,t.initialUser,this.serializer)}ja(t){return new $o(Ho.ei,this.serializer)}za(t){return new on}async terminate(){var t,e;null===(t=this.gcScheduler)||void 0===t||t.stop(),null===(e=this.indexBackfillerScheduler)||void 0===e||e.stop(),this.sharedClientState.shutdown(),await this.persistence.shutdown()}}zi.provider={build:()=>new zi};class Fi extends zi{constructor(t){super(),this.cacheSizeBytes=t}Ja(t,e){y(this.persistence.referenceDelegate instanceof Go);const r=this.persistence.referenceDelegate.garbageCollector;return new So(r,t.asyncQueue,e)}ja(t){const e=void 0!==this.cacheSizeBytes?Io.withCacheSize(this.cacheSizeBytes):Io.DEFAULT;return new $o((t=>Go.ei(t,e)),this.serializer)}}class qi{async initialize(t,e){this.localStore||(this.localStore=t.localStore,this.sharedClientState=t.sharedClientState,this.datastore=this.createDatastore(e),this.remoteStore=this.createRemoteStore(e),this.eventManager=this.createEventManager(e),this.syncEngine=this.createSyncEngine(e,!t.synchronizeTabs),this.sharedClientState.onlineStateHandler=t=>Ei(this.syncEngine,t,1),this.remoteStore.remoteSyncer.handleCredentialChange=Bi.bind(null,this.syncEngine),await async function(t,e){const r=w(t);e?(r.k_.delete(2),await _n(r)):e||(r.k_.add(2),await kn(r),r.K_.set("Unknown"))}(this.remoteStore,this.syncEngine.isPrimaryClient))}createEventManager(t){return new ri}createDatastore(t){const e=hn(t.databaseInfo.databaseId),r=function(t){return new mn(t)}(t.databaseInfo);return function(t,e,r,o){return new yn(t,e,r,o)}(t.authCredentials,t.appCheckCredentials,r,e)}createRemoteStore(t){return function(t,e,r,o,n){return new xn(t,e,r,o,n)}(this.localStore,this.datastore,t.asyncQueue,(t=>Ei(this.syncEngine,t,0)),an.p()?new an:new nn)}createSyncEngine(t,e){return function(t,e,r,o,n,i,a){const s=new fi(t,e,r,o,n,i);return a&&(s.$a=!0),s}(this.localStore,this.remoteStore,this.eventManager,this.sharedClientState,t.initialUser,t.maxConcurrentLimboResolutions,e)}async terminate(){var t,e;await async function(t){const e=w(t);h("RemoteStore","RemoteStore shutting down."),e.k_.add(5),await kn(e),e.Q_.shutdown(),e.K_.set("Unknown")}(this.remoteStore),null===(t=this.datastore)||void 0===t||t.terminate(),null===(e=this.eventManager)||void 0===e||e.terminate()}}qi.provider={build:()=>new qi};class $i{constructor(t){this.observer=t,this.muted=!1}next(t){this.muted||this.observer.next&&this.Xa(this.observer.next,t)}error(t){this.muted||(this.observer.error?this.Xa(this.observer.error,t):g("Uncaught Error in snapshot listener:",t.toString()))}eu(){this.muted=!0}Xa(t,e){setTimeout((()=>{this.muted||t(e)}),0)}}class Ui{constructor(t,e,r,o,n){this.authCredentials=t,this.appCheckCredentials=e,this.asyncQueue=r,this.databaseInfo=o,this.user=d.UNAUTHENTICATED,this.clientId=O.newId(),this.authCredentialListener=()=>Promise.resolve(),this.appCheckCredentialListener=()=>Promise.resolve(),this._uninitializedComponentsProvider=n,this.authCredentials.start(r,(async t=>{h("FirestoreClient","Received user=",t.uid),await this.authCredentialListener(t),this.user=t})),this.appCheckCredentials.start(r,(t=>(h("FirestoreClient","Received new app check token=",t),this.appCheckCredentialListener(t,this.user))))}get configuration(){return{asyncQueue:this.asyncQueue,databaseInfo:this.databaseInfo,clientId:this.clientId,authCredentials:this.authCredentials,appCheckCredentials:this.appCheckCredentials,initialUser:this.user,maxConcurrentLimboResolutions:100}}setCredentialChangeListener(t){this.authCredentialListener=t}setAppCheckTokenChangeListener(t){this.appCheckCredentialListener=t}terminate(){this.asyncQueue.enterRestrictedMode();const t=new k;return this.asyncQueue.enqueueAndForgetEvenWhileRestricted((async()=>{try{this._onlineComponents&&await this._onlineComponents.terminate(),this._offlineComponents&&await this._offlineComponents.terminate(),this.authCredentials.shutdown(),this.appCheckCredentials.shutdown(),t.resolve()}catch(e){const r=Yn(e,"Failed to shutdown persistence");t.reject(r)}})),t.promise}}async function Hi(t,e){t.asyncQueue.verifyOperationInProgress(),h("FirestoreClient","Initializing OfflineComponentProvider");const r=t.configuration;await e.initialize(r);let o=r.initialUser;t.setCredentialChangeListener((async t=>{o.isEqual(t)||(await Yo(e.localStore,t),o=t)})),e.persistence.setDatabaseDeletedListener((()=>t.terminate())),t._offlineComponents=e}async function Gi(t,e){t.asyncQueue.verifyOperationInProgress();const r=await async function(t){if(!t._offlineComponents)if(t._uninitializedComponentsProvider){h("FirestoreClient","Using user provided OfflineComponentProvider");try{await Hi(t,t._uninitializedComponentsProvider._offline)}catch(e){const r=e;if(!function(t){return"FirebaseError"===t.name?t.code===x.FAILED_PRECONDITION||t.code===x.UNIMPLEMENTED:!("undefined"!=typeof DOMException&&t instanceof DOMException)||22===t.code||20===t.code||11===t.code}(r))throw r;b("Error using user provided cache. Falling back to memory cache: "+r),await Hi(t,new zi)}}else h("FirestoreClient","Using default OfflineComponentProvider"),await Hi(t,new Fi(void 0));return t._offlineComponents}(t);h("FirestoreClient","Initializing OnlineComponentProvider"),await e.initialize(r,t.configuration),t.setCredentialChangeListener((t=>Kn(e.remoteStore,t))),t.setAppCheckTokenChangeListener(((t,r)=>Kn(e.remoteStore,r))),t._onlineComponents=e}async function Ki(t){return t._onlineComponents||(t._uninitializedComponentsProvider?(h("FirestoreClient","Using user provided OnlineComponentProvider"),await Gi(t,t._uninitializedComponentsProvider._online)):(h("FirestoreClient","Using default OnlineComponentProvider"),await Gi(t,new qi))),t._onlineComponents}async function Wi(t){const e=await Ki(t),r=e.eventManager;return r.onListen=vi.bind(null,e.syncEngine),r.onUnlisten=xi.bind(null,e.syncEngine),r.onFirstRemoteStoreListen=yi.bind(null,e.syncEngine),r.onLastRemoteStoreUnlisten=_i.bind(null,e.syncEngine),r}function Qi(t){const e={};return void 0!==t.timeoutSeconds&&(e.timeoutSeconds=t.timeoutSeconds),e}const Xi=new Map;function Yi(t,e,r){if(!r)throw new _(x.INVALID_ARGUMENT,`Function ${t}() cannot be called with an empty ${e}.`)}function Ji(t){if(!q.isDocumentKey(t))throw new _(x.INVALID_ARGUMENT,`Invalid document reference. Document references must have an even number of segments, but ${t} has ${t.length}.`)}function Zi(t){if(q.isDocumentKey(t))throw new _(x.INVALID_ARGUMENT,`Invalid collection reference. Collection references must have an odd number of segments, but ${t} has ${t.length}.`)}function ta(t){if(void 0===t)return"undefined";if(null===t)return"null";if("string"==typeof t)return t.length>20&&(t=`${t.substring(0,20)}...`),JSON.stringify(t);if("number"==typeof t||"boolean"==typeof t)return""+t;if("object"==typeof t){if(t instanceof Array)return"an array";{const e=function(t){return t.constructor?t.constructor.name:null}(t);return e?`a custom ${e} object`:"an object"}}return"function"==typeof t?"a function":v()}function ea(t,e){if("_delegate"in t&&(t=t._delegate),!(t instanceof e)){if(e.name===t.constructor.name)throw new _(x.INVALID_ARGUMENT,"Type does not match the expected instance. Did you pass a reference from a different Firestore SDK?");{const r=ta(t);throw new _(x.INVALID_ARGUMENT,`Expected type '${e.name}', but it was: ${r}`)}}return t}class ra{constructor(t){var e,r;if(void 0===t.host){if(void 0!==t.ssl)throw new _(x.INVALID_ARGUMENT,"Can't provide ssl option if host option is not set");this.host="firestore.googleapis.com",this.ssl=!0}else this.host=t.host,this.ssl=null===(e=t.ssl)||void 0===e||e;if(this.credentials=t.credentials,this.ignoreUndefinedProperties=!!t.ignoreUndefinedProperties,this.localCache=t.localCache,void 0===t.cacheSizeBytes)this.cacheSizeBytes=41943040;else{if(-1!==t.cacheSizeBytes&&t.cacheSizeBytes<1048576)throw new _(x.INVALID_ARGUMENT,"cacheSizeBytes must be at least 1048576");this.cacheSizeBytes=t.cacheSizeBytes}(function(t,e,r,o){if(!0===e&&!0===o)throw new _(x.INVALID_ARGUMENT,"experimentalForceLongPolling and experimentalAutoDetectLongPolling cannot be used together.")})(0,t.experimentalForceLongPolling,0,t.experimentalAutoDetectLongPolling),this.experimentalForceLongPolling=!!t.experimentalForceLongPolling,this.experimentalForceLongPolling?this.experimentalAutoDetectLongPolling=!1:void 0===t.experimentalAutoDetectLongPolling?this.experimentalAutoDetectLongPolling=!0:this.experimentalAutoDetectLongPolling=!!t.experimentalAutoDetectLongPolling,this.experimentalLongPollingOptions=Qi(null!==(r=t.experimentalLongPollingOptions)&&void 0!==r?r:{}),function(t){if(void 0!==t.timeoutSeconds){if(isNaN(t.timeoutSeconds))throw new _(x.INVALID_ARGUMENT,`invalid long polling timeout: ${t.timeoutSeconds} (must not be NaN)`);if(t.timeoutSeconds<5)throw new _(x.INVALID_ARGUMENT,`invalid long polling timeout: ${t.timeoutSeconds} (minimum allowed value is 5)`);if(t.timeoutSeconds>30)throw new _(x.INVALID_ARGUMENT,`invalid long polling timeout: ${t.timeoutSeconds} (maximum allowed value is 30)`)}}(this.experimentalLongPollingOptions),this.useFetchStreams=!!t.useFetchStreams}isEqual(t){return this.host===t.host&&this.ssl===t.ssl&&this.credentials===t.credentials&&this.cacheSizeBytes===t.cacheSizeBytes&&this.experimentalForceLongPolling===t.experimentalForceLongPolling&&this.experimentalAutoDetectLongPolling===t.experimentalAutoDetectLongPolling&&function(t,e){return t.timeoutSeconds===e.timeoutSeconds}(this.experimentalLongPollingOptions,t.experimentalLongPollingOptions)&&this.ignoreUndefinedProperties===t.ignoreUndefinedProperties&&this.useFetchStreams===t.useFetchStreams}}class oa{constructor(t,e,r,o){this._authCredentials=t,this._appCheckCredentials=e,this._databaseId=r,this._app=o,this.type="firestore-lite",this._persistenceKey="(lite)",this._settings=new ra({}),this._settingsFrozen=!1,this._terminateTask="notTerminated"}get app(){if(!this._app)throw new _(x.FAILED_PRECONDITION,"Firestore was not initialized using the Firebase SDK. 'app' is not available");return this._app}get _initialized(){return this._settingsFrozen}get _terminated(){return"notTerminated"!==this._terminateTask}_setSettings(t){if(this._settingsFrozen)throw new _(x.FAILED_PRECONDITION,"Firestore has already been started and its settings can no longer be changed. You can only modify settings before calling any other methods on a Firestore object.");this._settings=new ra(t),void 0!==t.credentials&&(this._authCredentials=function(t){if(!t)return new I;switch(t.type){case"firstParty":return new S(t.sessionIndex||"0",t.iamToken||null,t.authTokenFactory||null);case"provider":return t.client;default:throw new _(x.INVALID_ARGUMENT,"makeAuthCredentialsProvider failed due to invalid credential type")}}(t.credentials))}_getSettings(){return this._settings}_freezeSettings(){return this._settingsFrozen=!0,this._settings}_delete(){return"notTerminated"===this._terminateTask&&(this._terminateTask=this._terminate()),this._terminateTask}async _restart(){"notTerminated"===this._terminateTask?await this._terminate():this._terminateTask="notTerminated"}toJSON(){return{app:this._app,databaseId:this._databaseId,settings:this._settings}}_terminate(){return function(t){const e=Xi.get(t);e&&(h("ComponentProvider","Removing Datastore"),Xi.delete(t),e.terminate())}(this),Promise.resolve()}}class na{constructor(t,e,r){this.converter=e,this._query=r,this.type="query",this.firestore=t}withConverter(t){return new na(this.firestore,t,this._query)}}class ia{constructor(t,e,r){this.converter=e,this._key=r,this.type="document",this.firestore=t}get _path(){return this._key.path}get id(){return this._key.path.lastSegment()}get path(){return this._key.path.canonicalString()}get parent(){return new aa(this.firestore,this.converter,this._key.path.popLast())}withConverter(t){return new ia(this.firestore,t,this._key)}}class aa extends na{constructor(t,e,r){super(t,e,fe(r)),this._path=r,this.type="collection"}get id(){return this._query.path.lastSegment()}get path(){return this._query.path.canonicalString()}get parent(){const t=this._path.popLast();return t.isEmpty()?null:new ia(this.firestore,null,new q(t))}withConverter(t){return new aa(this.firestore,t,this._path)}}function sa(t,e,...r){if(t=(0,a.Ku)(t),Yi("collection","path",e),t instanceof oa){const o=j.fromString(e,...r);return Zi(o),new aa(t,null,o)}{if(!(t instanceof ia||t instanceof aa))throw new _(x.INVALID_ARGUMENT,"Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore");const o=t._path.child(j.fromString(e,...r));return Zi(o),new aa(t.firestore,null,o)}}function la(t,e,...r){if(t=(0,a.Ku)(t),1===arguments.length&&(e=O.newId()),Yi("doc","path",e),t instanceof oa){const o=j.fromString(e,...r);return Ji(o),new ia(t,null,new q(o))}{if(!(t instanceof ia||t instanceof aa))throw new _(x.INVALID_ARGUMENT,"Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore");const o=t._path.child(j.fromString(e,...r));return Ji(o),new ia(t.firestore,t instanceof aa?t.converter:null,new q(o))}}class ca{constructor(t=Promise.resolve()){this.Iu=[],this.Eu=!1,this.du=[],this.Au=null,this.Ru=!1,this.Vu=!1,this.mu=[],this.r_=new gn(this,"async_queue_retry"),this.fu=()=>{const t=pn();t&&h("AsyncQueue","Visibility state changed to "+t.visibilityState),this.r_.Jo()},this.gu=t;const e=pn();e&&"function"==typeof e.addEventListener&&e.addEventListener("visibilitychange",this.fu)}get isShuttingDown(){return this.Eu}enqueueAndForget(t){this.enqueue(t)}enqueueAndForgetEvenWhileRestricted(t){this.pu(),this.yu(t)}enterRestrictedMode(t){if(!this.Eu){this.Eu=!0,this.Vu=t||!1;const e=pn();e&&"function"==typeof e.removeEventListener&&e.removeEventListener("visibilitychange",this.fu)}}enqueue(t){if(this.pu(),this.Eu)return new Promise((()=>{}));const e=new k;return this.yu((()=>this.Eu&&this.Vu?Promise.resolve():(t().then(e.resolve,e.reject),e.promise))).then((()=>e.promise))}enqueueRetryable(t){this.enqueueAndForget((()=>(this.Iu.push(t),this.wu())))}async wu(){if(0!==this.Iu.length){try{await this.Iu[0](),this.Iu.shift(),this.r_.reset()}catch(t){if(!X(t))throw t;h("AsyncQueue","Operation failed with retryable error: "+t)}this.Iu.length>0&&this.r_.jo((()=>this.wu()))}}yu(t){const e=this.gu.then((()=>(this.Ru=!0,t().catch((t=>{this.Au=t,this.Ru=!1;const e=function(t){let e=t.message||"";return t.stack&&(e=t.stack.includes(t.message)?t.stack:t.message+"\n"+t.stack),e}(t);throw g("INTERNAL UNHANDLED ERROR: ",e),t})).then((t=>(this.Ru=!1,t))))));return this.gu=e,e}enqueueAfterDelay(t,e,r){this.pu(),this.mu.indexOf(t)>-1&&(e=0);const o=Xn.createAndSchedule(this,t,e,r,(t=>this.Su(t)));return this.du.push(o),o}pu(){this.Au&&v()}verifyOperationInProgress(){}async bu(){let t;do{t=this.gu,await t}while(t!==this.gu)}Du(t){for(const e of this.du)if(e.timerId===t)return!0;return!1}vu(t){return this.bu().then((()=>{this.du.sort(((t,e)=>t.targetTimeMs-e.targetTimeMs));for(const e of this.du)if(e.skipDelay(),"all"!==t&&e.timerId===t)break;return this.bu()}))}Cu(t){this.mu.push(t)}Su(t){const e=this.du.indexOf(t);this.du.splice(e,1)}}class da extends oa{constructor(t,e,r,o){super(t,e,r,o),this.type="firestore",this._queue=new ca,this._persistenceKey=(null==o?void 0:o.name)||"[DEFAULT]"}async _terminate(){if(this._firestoreClient){const t=this._firestoreClient.terminate();this._queue=new ca(t),this._firestoreClient=void 0,await t}}}function ua(t,e){const r="object"==typeof t?t:(0,o.Sx)(),n="string"==typeof t?t:e||"(default)",i=(0,o.j6)(r,"firestore").getImmediate({identifier:n});if(!i._initialized){const t=(0,a.yU)("firestore");t&&function(t,e,r,o={}){var n;const i=(t=ea(t,oa))._getSettings(),s=`${e}:${r}`;if("firestore.googleapis.com"!==i.host&&i.host!==s&&b("Host has been set in both settings() and connectFirestoreEmulator(), emulator host will be used."),t._setSettings(Object.assign(Object.assign({},i),{host:s,ssl:!1})),o.mockUserToken){let e,r;if("string"==typeof o.mockUserToken)e=o.mockUserToken,r=d.MOCK_USER;else{e=(0,a.Fy)(o.mockUserToken,null===(n=t._app)||void 0===n?void 0:n.options.projectId);const i=o.mockUserToken.sub||o.mockUserToken.user_id;if(!i)throw new _(x.INVALID_ARGUMENT,"mockUserToken must contain 'sub' or 'user_id' field!");r=new d(i)}t._authCredentials=new A(new E(e,r))}}(i,...t)}return i}function ma(t){if(t._terminated)throw new _(x.FAILED_PRECONDITION,"The client has already been terminated.");return t._firestoreClient||function(t){var e,r,o;const n=t._freezeSettings(),i=function(t,e,r,o){return new wt(t,e,r,o.host,o.ssl,o.experimentalForceLongPolling,o.experimentalAutoDetectLongPolling,Qi(o.experimentalLongPollingOptions),o.useFetchStreams)}(t._databaseId,(null===(e=t._app)||void 0===e?void 0:e.options.appId)||"",t._persistenceKey,n);t._componentsProvider||(null===(r=n.localCache)||void 0===r?void 0:r._offlineComponentProvider)&&(null===(o=n.localCache)||void 0===o?void 0:o._onlineComponentProvider)&&(t._componentsProvider={_offline:n.localCache._offlineComponentProvider,_online:n.localCache._onlineComponentProvider}),t._firestoreClient=new Ui(t._authCredentials,t._appCheckCredentials,t._queue,i,t._componentsProvider&&function(t){const e=null==t?void 0:t._online.build();return{_offline:null==t?void 0:t._offline.build(e),_online:e}}(t._componentsProvider))}(t),t._firestoreClient}class pa{constructor(t){this._byteString=t}static fromBase64String(t){try{return new pa(mt.fromBase64String(t))}catch(t){throw new _(x.INVALID_ARGUMENT,"Failed to construct data from Base64 string: "+t)}}static fromUint8Array(t){return new pa(mt.fromUint8Array(t))}toBase64(){return this._byteString.toBase64()}toUint8Array(){return this._byteString.toUint8Array()}toString(){return"Bytes(base64: "+this.toBase64()+")"}isEqual(t){return this._byteString.isEqual(t._byteString)}}class ha{constructor(...t){for(let e=0;e90)throw new _(x.INVALID_ARGUMENT,"Latitude must be a number between -90 and 90, but was: "+t);if(!isFinite(e)||e<-180||e>180)throw new _(x.INVALID_ARGUMENT,"Longitude must be a number between -180 and 180, but was: "+e);this._lat=t,this._long=e}get latitude(){return this._lat}get longitude(){return this._long}isEqual(t){return this._lat===t._lat&&this._long===t._long}toJSON(){return{latitude:this._lat,longitude:this._long}}_compareTo(t){return M(this._lat,t._lat)||M(this._long,t._long)}}class fa{constructor(t){this._values=(t||[]).map((t=>t))}toArray(){return this._values.map((t=>t))}isEqual(t){return function(t,e){if(t.length!==e.length)return!1;for(let r=0;rt.isPrefixOf(e)))||void 0!==this.fieldTransforms.find((e=>t.isPrefixOf(e.field)))}Fu(){if(this.path)for(let t=0;tl.covers(t.field)))}else l=null,c=a.fieldTransforms;return new ya(new Ft(s),l,c)}class Aa extends ga{_toFieldTransform(t){if(2!==t.Mu)throw 1===t.Mu?t.qu(`${this._methodName}() can only appear at the top level of your update data`):t.qu(`${this._methodName}() cannot be used with set() unless you pass {merge:true}`);return t.fieldMask.push(t.path),null}isEqual(t){return t instanceof Aa}}function Ta(t,e){if(Sa(t=(0,a.Ku)(t)))return Da("Unsupported field value:",e,t),Ca(t,e);if(t instanceof ga)return function(t,e){if(!xa(e.Mu))throw e.qu(`${t._methodName}() can only be used with update() and set()`);if(!e.path)throw e.qu(`${t._methodName}() is not currently supported inside arrays`);const r=t._toFieldTransform(e);r&&e.fieldTransforms.push(r)}(t,e),null;if(void 0===t&&e.ignoreUndefinedProperties)return null;if(e.path&&e.fieldMask.push(e.path),t instanceof Array){if(e.settings.Nu&&4!==e.Mu)throw e.qu("Nested arrays are not supported");return function(t,e){const r=[];let o=0;for(const n of t){let t=Ta(n,e.ku(o));null==t&&(t={nullValue:"NULL_VALUE"}),r.push(t),o++}return{arrayValue:{values:r}}}(t,e)}return function(t,e){if(null===(t=(0,a.Ku)(t)))return{nullValue:"NULL_VALUE"};if("number"==typeof t)return He(e.serializer,t);if("boolean"==typeof t)return{booleanValue:t};if("string"==typeof t)return{stringValue:t};if(t instanceof Date){const r=B.fromDate(t);return{timestampValue:Gr(e.serializer,r)}}if(t instanceof B){const r=new B(t.seconds,1e3*Math.floor(t.nanoseconds/1e3));return{timestampValue:Gr(e.serializer,r)}}if(t instanceof ba)return{geoPointValue:{latitude:t.latitude,longitude:t.longitude}};if(t instanceof pa)return{bytesValue:Kr(e.serializer,t._byteString)};if(t instanceof ia){const r=e.databaseId,o=t.firestore._databaseId;if(!o.isEqual(r))throw e.qu(`Document reference is for database ${o.projectId}/${o.database} but should be for database ${r.projectId}/${r.database}`);return{referenceValue:Xr(t.firestore._databaseId||e.databaseId,t._key.path)}}if(t instanceof fa)return function(t,e){return{mapValue:{fields:{__type__:{stringValue:"__vector__"},value:{arrayValue:{values:t.toArray().map((t=>{if("number"!=typeof t)throw e.qu("VectorValues must only contain numeric values.");return $e(e.serializer,t)}))}}}}}}(t,e);throw e.qu(`Unsupported field value: ${ta(t)}`)}(t,e)}function Ca(t,e){const r={};return nt(t)?e.path&&e.path.length>0&&e.fieldMask.push(e.path):ot(t,((t,o)=>{const n=Ta(o,e.Ou(t));null!=n&&(r[t]=n)})),{mapValue:{fields:r}}}function Sa(t){return!("object"!=typeof t||null===t||t instanceof Array||t instanceof Date||t instanceof B||t instanceof ba||t instanceof pa||t instanceof ia||t instanceof ga||t instanceof fa)}function Da(t,e,r){if(!Sa(r)||!function(t){return"object"==typeof t&&null!==t&&(Object.getPrototypeOf(t)===Object.prototype||null===Object.getPrototypeOf(t))}(r)){const o=ta(r);throw"an object"===o?e.qu(t+" a custom object"):e.qu(t+" "+o)}}function La(t,e,r){if((e=(0,a.Ku)(e))instanceof ha)return e._internalPath;if("string"==typeof e)return Oa(t,e);throw Ma("Field path arguments must be of type string or ",t,!1,void 0,r)}const Na=new RegExp("[~\\*/\\[\\]]");function Oa(t,e,r){if(e.search(Na)>=0)throw Ma(`Invalid field path (${e}). Paths must not contain '~', '*', '/', '[', or ']'`,t,!1,void 0,r);try{return new ha(...e.split("."))._internalPath}catch(o){throw Ma(`Invalid field path (${e}). Paths must not be empty, begin with '.', end with '.', or contain '..'`,t,!1,void 0,r)}}function Ma(t,e,r,o,n){const i=o&&!o.isEmpty(),a=void 0!==n;let s=`Function ${e}() called with invalid data`;r&&(s+=" (via `toFirestore()`)"),s+=". ";let l="";return(i||a)&&(l+=" (found",i&&(l+=` in field ${o}`),a&&(l+=` in document ${n}`),l+=")"),new _(x.INVALID_ARGUMENT,s+t+l)}function Ra(t,e){return t.some((t=>t.isEqual(e)))}class Ba{constructor(t,e,r,o,n){this._firestore=t,this._userDataWriter=e,this._key=r,this._document=o,this._converter=n}get id(){return this._key.path.lastSegment()}get ref(){return new ia(this._firestore,this._converter,this._key)}exists(){return null!==this._document}data(){if(this._document){if(this._converter){const t=new Pa(this._firestore,this._userDataWriter,this._key,this._document,null);return this._converter.fromFirestore(t)}return this._userDataWriter.convertValue(this._document.data.value)}}get(t){if(this._document){const e=this._document.data.field(Va("DocumentSnapshot.get",t));if(null!==e)return this._userDataWriter.convertValue(e)}}}class Pa extends Ba{data(){return super.data()}}function Va(t,e){return"string"==typeof e?Oa(t,e):e instanceof ha?e._internalPath:e._delegate._internalPath}class ja{}class za extends ja{}function Fa(t,e,...r){let o=[];e instanceof ja&&o.push(e),o=o.concat(r),function(t){const e=t.filter((t=>t instanceof Ua)).length,r=t.filter((t=>t instanceof qa)).length;if(e>1||e>0&&r>0)throw new _(x.INVALID_ARGUMENT,"InvalidQuery. When using composite filters, you cannot use more than one filter at the top level. Consider nesting the multiple filters within an `and(...)` statement. For example: change `query(query, where(...), or(...))` to `query(query, and(where(...), or(...)))`.")}(o);for(const e of o)t=e._apply(t);return t}class qa extends za{constructor(t,e,r){super(),this._field=t,this._op=e,this._value=r,this.type="where"}static _create(t,e,r){return new qa(t,e,r)}_apply(t){const e=this._parse(t);return Ka(t._query,e),new na(t.firestore,t.converter,_e(t._query,e))}_parse(t){const e=Ea(t.firestore),r=function(t,e,r,o,n,i,a){let s;if(n.isKeyField()){if("array-contains"===i||"array-contains-any"===i)throw new _(x.INVALID_ARGUMENT,`Invalid Query. You can't perform '${i}' queries on documentId().`);if("in"===i||"not-in"===i){Ga(a,i);const e=[];for(const r of a)e.push(Ha(o,t,r));s={arrayValue:{values:e}}}else s=Ha(o,t,a)}else"in"!==i&&"not-in"!==i&&"array-contains-any"!==i||Ga(a,i),s=function(t,e,r,o=!1){return Ta(r,t.$u(o?4:3,e))}(r,"where",a,"in"===i||"not-in"===i);return Xt.create(n,i,s)}(t._query,0,e,t.firestore._databaseId,this._field,this._op,this._value);return r}}function $a(t,e,r){const o=e,n=Va("where",t);return qa._create(n,o,r)}class Ua extends ja{constructor(t,e){super(),this.type=t,this._queryConstraints=e}static _create(t,e){return new Ua(t,e)}_parse(t){const e=this._queryConstraints.map((e=>e._parse(t))).filter((t=>t.getFilters().length>0));return 1===e.length?e[0]:Yt.create(e,this._getOperator())}_apply(t){const e=this._parse(t);return 0===e.getFilters().length?t:(function(t,e){let r=t;const o=e.getFlattenedFilters();for(const t of o)Ka(r,t),r=_e(r,t)}(t._query,e),new na(t.firestore,t.converter,_e(t._query,e)))}_getQueryConstraints(){return this._queryConstraints}_getOperator(){return"and"===this.type?"and":"or"}}function Ha(t,e,r){if("string"==typeof(r=(0,a.Ku)(r))){if(""===r)throw new _(x.INVALID_ARGUMENT,"Invalid query. When querying with documentId(), you must provide a valid document ID, but it was an empty string.");if(!ye(e)&&-1!==r.indexOf("/"))throw new _(x.INVALID_ARGUMENT,`Invalid query. When querying a collection by documentId(), you must provide a plain document ID, but '${r}' contains a '/' character.`);const o=e.path.child(j.fromString(r));if(!q.isDocumentKey(o))throw new _(x.INVALID_ARGUMENT,`Invalid query. When querying a collection group by documentId(), the value provided must result in a valid document path, but '${o}' is not because it has an odd number of segments (${o.length}).`);return Nt(t,new q(o))}if(r instanceof ia)return Nt(t,r._key);throw new _(x.INVALID_ARGUMENT,`Invalid query. When querying with documentId(), you must provide a valid string or a DocumentReference, but it was: ${ta(r)}.`)}function Ga(t,e){if(!Array.isArray(t)||0===t.length)throw new _(x.INVALID_ARGUMENT,`Invalid Query. A non-empty array is required for '${e.toString()}' filters.`)}function Ka(t,e){const r=function(t,e){for(const r of t)for(const t of r.getFlattenedFilters())if(e.indexOf(t.op)>=0)return t.op;return null}(t.filters,function(t){switch(t){case"!=":return["!=","not-in"];case"array-contains-any":case"in":return["not-in"];case"not-in":return["array-contains-any","in","not-in","!="];default:return[]}}(e.op));if(null!==r)throw r===e.op?new _(x.INVALID_ARGUMENT,`Invalid query. You cannot use more than one '${e.op.toString()}' filter.`):new _(x.INVALID_ARGUMENT,`Invalid query. You cannot use '${e.op.toString()}' filters with '${r.toString()}' filters.`)}class Wa{convertValue(t,e="none"){switch(kt(t)){case 0:return null;case 1:return t.booleanValue;case 2:return gt(t.integerValue||t.doubleValue);case 3:return this.convertTimestamp(t.timestampValue);case 4:return this.convertServerTimestamp(t,e);case 5:return t.stringValue;case 6:return this.convertBytes(bt(t.bytesValue));case 7:return this.convertReference(t.referenceValue);case 8:return this.convertGeoPoint(t.geoPointValue);case 9:return this.convertArray(t.arrayValue,e);case 11:return this.convertObject(t.mapValue,e);case 10:return this.convertVectorValue(t.mapValue);default:throw v()}}convertObject(t,e){return this.convertObjectMap(t.fields,e)}convertObjectMap(t,e="none"){const r={};return ot(t,((t,o)=>{r[t]=this.convertValue(o,e)})),r}convertVectorValue(t){var e,r,o;const n=null===(o=null===(r=null===(e=t.fields)||void 0===e?void 0:e.value.arrayValue)||void 0===r?void 0:r.values)||void 0===o?void 0:o.map((t=>gt(t.doubleValue)));return new fa(n)}convertGeoPoint(t){return new ba(gt(t.latitude),gt(t.longitude))}convertArray(t,e){return(t.values||[]).map((t=>this.convertValue(t,e)))}convertServerTimestamp(t,e){switch(e){case"previous":const r=vt(t);return null==r?null:this.convertValue(r,e);case"estimate":return this.convertTimestamp(yt(t));default:return null}}convertTimestamp(t){const e=ht(t);return new B(e.seconds,e.nanos)}convertDocumentKey(t,e){const r=j.fromString(t);y(fo(r));const o=new xt(r.get(1),r.get(3)),n=new q(r.popFirst(5));return o.isEqual(e)||g(`Document ${n} contains a document reference within a different database (${o.projectId}/${o.database}) which is not supported. It will be treated as a reference in the current database (${e.projectId}/${e.database}) instead.`),n}}class Qa{constructor(t,e){this.hasPendingWrites=t,this.fromCache=e}isEqual(t){return this.hasPendingWrites===t.hasPendingWrites&&this.fromCache===t.fromCache}}class Xa extends Ba{constructor(t,e,r,o,n,i){super(t,e,r,o,i),this._firestore=t,this._firestoreImpl=t,this.metadata=n}exists(){return super.exists()}data(t={}){if(this._document){if(this._converter){const e=new Ya(this._firestore,this._userDataWriter,this._key,this._document,this.metadata,null);return this._converter.fromFirestore(e,t)}return this._userDataWriter.convertValue(this._document.data.value,t.serverTimestamps)}}get(t,e={}){if(this._document){const r=this._document.data.field(Va("DocumentSnapshot.get",t));if(null!==r)return this._userDataWriter.convertValue(r,e.serverTimestamps)}}}class Ya extends Xa{data(t={}){return super.data(t)}}class Ja{constructor(t,e,r,o){this._firestore=t,this._userDataWriter=e,this._snapshot=o,this.metadata=new Qa(o.hasPendingWrites,o.fromCache),this.query=r}get docs(){const t=[];return this.forEach((e=>t.push(e))),t}get size(){return this._snapshot.docs.size}get empty(){return 0===this.size}forEach(t,e){this._snapshot.docs.forEach((r=>{t.call(e,new Ya(this._firestore,this._userDataWriter,r.key,r,new Qa(this._snapshot.mutatedKeys.has(r.key),this._snapshot.fromCache),this.query.converter))}))}docChanges(t={}){const e=!!t.includeMetadataChanges;if(e&&this._snapshot.excludesMetadataChanges)throw new _(x.INVALID_ARGUMENT,"To include metadata changes with your document changes, you must also pass { includeMetadataChanges:true } to onSnapshot().");return this._cachedChanges&&this._cachedChangesIncludeMetadataChanges===e||(this._cachedChanges=function(t,e){if(t._snapshot.oldDocs.isEmpty()){let e=0;return t._snapshot.docChanges.map((r=>{const o=new Ya(t._firestore,t._userDataWriter,r.doc.key,r.doc,new Qa(t._snapshot.mutatedKeys.has(r.doc.key),t._snapshot.fromCache),t.query.converter);return r.doc,{type:"added",doc:o,oldIndex:-1,newIndex:e++}}))}{let r=t._snapshot.oldDocs;return t._snapshot.docChanges.filter((t=>e||3!==t.type)).map((e=>{const o=new Ya(t._firestore,t._userDataWriter,e.doc.key,e.doc,new Qa(t._snapshot.mutatedKeys.has(e.doc.key),t._snapshot.fromCache),t.query.converter);let n=-1,i=-1;return 0!==e.type&&(n=r.indexOf(e.doc.key),r=r.delete(e.doc.key)),1!==e.type&&(r=r.add(e.doc),i=r.indexOf(e.doc.key)),{type:Za(e.type),doc:o,oldIndex:n,newIndex:i}}))}}(this,e),this._cachedChangesIncludeMetadataChanges=e),this._cachedChanges}}function Za(t){switch(t){case 0:return"added";case 2:case 3:return"modified";case 1:return"removed";default:return v()}}function ts(t){t=ea(t,ia);const e=ea(t.firestore,da);return function(t,e,r={}){const o=new k;return t.asyncQueue.enqueueAndForget((async()=>function(t,e,r,o,n){const i=new $i({next:s=>{i.eu(),e.enqueueAndForget((()=>ii(t,a)));const l=s.docs.has(r);!l&&s.fromCache?n.reject(new _(x.UNAVAILABLE,"Failed to get document because the client is offline.")):l&&s.fromCache&&o&&"server"===o.source?n.reject(new _(x.UNAVAILABLE,'Failed to get document from server. (However, this document does exist in the local cache. Run again without setting source to "server" to retrieve the cached document.)')):n.resolve(s)},error:t=>n.reject(t)}),a=new ui(fe(r.path),i,{includeMetadataChanges:!0,ua:!0});return ni(t,a)}(await Wi(t),t.asyncQueue,e,r,o))),o.promise}(ma(e),t._key).then((r=>function(t,e,r){const o=r.docs.get(e._key),n=new es(t);return new Xa(t,n,e._key,o,new Qa(r.hasPendingWrites,r.fromCache),e.converter)}(e,t,r)))}class es extends Wa{constructor(t){super(),this.firestore=t}convertBytes(t){return new pa(t)}convertReference(t){const e=this.convertDocumentKey(t,this.firestore._databaseId);return new ia(this.firestore,null,e)}}function rs(t){t=ea(t,na);const e=ea(t.firestore,da),r=ma(e),o=new es(e);return function(t){if("L"===t.limitType&&0===t.explicitOrderBy.length)throw new _(x.UNIMPLEMENTED,"limitToLast() queries require specifying at least one orderBy() clause")}(t._query),function(t,e,r={}){const o=new k;return t.asyncQueue.enqueueAndForget((async()=>function(t,e,r,o,n){const i=new $i({next:r=>{i.eu(),e.enqueueAndForget((()=>ii(t,a))),r.fromCache&&"server"===o.source?n.reject(new _(x.UNAVAILABLE,'Failed to get documents from server. (However, these documents may exist in the local cache. Run again without setting source to "server" to retrieve the cached documents.)')):n.resolve(r)},error:t=>n.reject(t)}),a=new ui(r,i,{includeMetadataChanges:!0,ua:!0});return ni(t,a)}(await Wi(t),t.asyncQueue,e,r,o))),o.promise}(r,t._query).then((r=>new Ja(e,o,t,r)))}function os(t,e,r){t=ea(t,ia);const o=ea(t.firestore,da),n=function(t,e,r){let o;return o=t?r&&(r.merge||r.mergeFields)?t.toFirestore(e,r):t.toFirestore(e):e,o}(t.converter,e,r);return as(o,[Ia(Ea(o),"setDoc",t._key,n,null!==t.converter,r).toMutation(t._key,ir.none())])}function ns(t,e,r,...o){t=ea(t,ia);const n=ea(t.firestore,da),i=Ea(n);let s;return s="string"==typeof(e=(0,a.Ku)(e))||e instanceof ha?function(t,e,r,o,n,i){const s=t.$u(1,e,r),l=[La(e,o,r)],c=[n];if(i.length%2!=0)throw new _(x.INVALID_ARGUMENT,`Function ${e}() needs to be called with an even number of arguments that alternate between field names and values.`);for(let t=0;t=0;--t)if(!Ra(d,l[t])){const e=l[t];let r=c[t];r=(0,a.Ku)(r);const o=s.Bu(e);if(r instanceof Aa)d.push(e);else{const t=Ta(r,o);null!=t&&(d.push(e),u.set(e,t))}}const m=new dt(d);return new wa(u,m,s.fieldTransforms)}(i,"updateDoc",t._key,e,r,o):function(t,e,r,o){const n=t.$u(1,e,r);Da("Data must be an object, but it was:",n,o);const i=[],s=Ft.empty();ot(o,((t,o)=>{const l=Oa(e,t,r);o=(0,a.Ku)(o);const c=n.Bu(l);if(o instanceof Aa)i.push(l);else{const t=Ta(o,c);null!=t&&(i.push(l),s.set(l,t))}}));const l=new dt(i);return new wa(s,l,n.fieldTransforms)}(i,"updateDoc",t._key,e),as(n,[s.toMutation(t._key,ir.exists(!0))])}function is(t){return as(ea(t.firestore,da),[new vr(t._key,ir.none())])}function as(t,e){return function(t,e){const r=new k;return t.asyncQueue.enqueueAndForget((async()=>async function(t,e,r){const o=ji(t);try{const t=await function(t,e){const r=w(t),o=B.now(),n=e.reduce(((t,e)=>t.add(e.key)),Fe());let i,a;return r.persistence.runTransaction("Locally write mutations","readwrite",(t=>{let s=Ne(),l=Fe();return r.hs.getEntries(t,n).next((t=>{s=t,s.forEach(((t,e)=>{e.isValidDocument()||(l=l.add(t))}))})).next((()=>r.localDocuments.getOverlayedDocuments(t,s))).next((n=>{i=n;const a=[];for(const t of e){const e=ur(t,i.get(t.key).overlayedDocument);null!=e&&a.push(new hr(t.key,e,qt(e.value.mapValue),ir.exists(!0)))}return r.mutationQueue.addMutationBatch(t,o,a,e)})).next((e=>{a=e;const o=e.applyToLocalDocumentSet(i,l);return r.documentOverlayCache.saveOverlays(t,e.batchId,o)}))})).then((()=>({batchId:a.batchId,changes:Re(i)})))}(o.localStore,e);o.sharedClientState.addPendingMutation(t.batchId),function(t,e,r){let o=t.qa[t.currentUser.toKey()];o||(o=new it(M)),o=o.insert(e,r),t.qa[t.currentUser.toKey()]=o}(o,t.batchId,r),await Ri(o,t.changes),await Vn(o.remoteStore)}catch(t){const e=Yn(t,"Failed to persist write");r.reject(e)}}(await function(t){return Ki(t).then((t=>t.syncEngine))}(t),e,r))),r.promise}(ma(t),e)}new WeakMap,function(t,e=!0){!function(t){u=t}(o.MF),(0,o.om)(new n.uA("firestore",((t,{instanceIdentifier:r,options:o})=>{const n=t.getProvider("app").getImmediate(),i=new da(new T(t.getProvider("auth-internal")),new L(t.getProvider("app-check-internal")),function(t,e){if(!Object.prototype.hasOwnProperty.apply(t.options,["projectId"]))throw new _(x.INVALID_ARGUMENT,'"projectId" not provided in firebase.initializeApp.');return new xt(t.options.projectId,e)}(n,r),n);return o=Object.assign({useFetchStreams:e},o),i._setSettings(o),i}),"PUBLIC").setMultipleInstances(!0)),(0,o.KO)(c,"4.7.5",t),(0,o.KO)(c,"4.7.5","esm2017")}()},6743:(t,e,r)=>{"use strict";r.d(e,{FA:()=>y,Fy:()=>u,K3:()=>n,Ku:()=>C,T9:()=>c,Uj:()=>a,ZQ:()=>m,bD:()=>x,cY:()=>d,dM:()=>f,eX:()=>b,g:()=>v,nr:()=>h,p9:()=>T,sr:()=>p,yU:()=>l,zW:()=>g});const o=function(t){const e=[];let r=0;for(let o=0;o>6|192,e[r++]=63&n|128):55296==(64512&n)&&o+1>18|240,e[r++]=n>>12&63|128,e[r++]=n>>6&63|128,e[r++]=63&n|128):(e[r++]=n>>12|224,e[r++]=n>>6&63|128,e[r++]=63&n|128)}return e},n={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"==typeof atob,encodeByteArray(t,e){if(!Array.isArray(t))throw Error("encodeByteArray takes an array as a parameter");this.init_();const r=e?this.byteToCharMapWebSafe_:this.byteToCharMap_,o=[];for(let e=0;e>2,d=(3&n)<<4|a>>4;let u=(15&a)<<2|l>>6,m=63&l;s||(m=64,i||(u=64)),o.push(r[c],r[d],r[u],r[m])}return o.join("")},encodeString(t,e){return this.HAS_NATIVE_SUPPORT&&!e?btoa(t):this.encodeByteArray(o(t),e)},decodeString(t,e){return this.HAS_NATIVE_SUPPORT&&!e?atob(t):function(t){const e=[];let r=0,o=0;for(;r191&&n<224){const i=t[r++];e[o++]=String.fromCharCode((31&n)<<6|63&i)}else if(n>239&&n<365){const i=((7&n)<<18|(63&t[r++])<<12|(63&t[r++])<<6|63&t[r++])-65536;e[o++]=String.fromCharCode(55296+(i>>10)),e[o++]=String.fromCharCode(56320+(1023&i))}else{const i=t[r++],a=t[r++];e[o++]=String.fromCharCode((15&n)<<12|(63&i)<<6|63&a)}}return e.join("")}(this.decodeStringToByteArray(t,e))},decodeStringToByteArray(t,e){this.init_();const r=e?this.charToByteMapWebSafe_:this.charToByteMap_,o=[];for(let e=0;e>4;if(o.push(c),64!==s){const t=a<<4&240|s>>2;if(o.push(t),64!==l){const t=s<<6&192|l;o.push(t)}}}return o},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let t=0;t=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(t)]=t,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(t)]=t)}}};class i extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const a=function(t){return function(t){const e=o(t);return n.encodeByteArray(e,!0)}(t).replace(/\./g,"")},s=()=>{try{return function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==r.g)return r.g;throw new Error("Unable to locate global object.")}().__FIREBASE_DEFAULTS__||(()=>{if("undefined"==typeof process||void 0===process.env)return;const t=process.env.__FIREBASE_DEFAULTS__;return t?JSON.parse(t):void 0})()||(()=>{if("undefined"==typeof document)return;let t;try{t=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch(t){return}const e=t&&function(t){try{return n.decodeString(t,!0)}catch(t){console.error("base64Decode failed: ",t)}return null}(t[1]);return e&&JSON.parse(e)})()}catch(t){return void console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${t}`)}},l=t=>{const e=(t=>{var e,r;return null===(r=null===(e=s())||void 0===e?void 0:e.emulatorHosts)||void 0===r?void 0:r[t]})(t);if(!e)return;const r=e.lastIndexOf(":");if(r<=0||r+1===e.length)throw new Error(`Invalid host ${e} with no separate hostname and port!`);const o=parseInt(e.substring(r+1),10);return"["===e[0]?[e.substring(1,r-1),o]:[e.substring(0,r),o]},c=()=>{var t;return null===(t=s())||void 0===t?void 0:t.config};class d{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}wrapCallback(t){return(e,r)=>{e?this.reject(e):this.resolve(r),"function"==typeof t&&(this.promise.catch((()=>{})),1===t.length?t(e):t(e,r))}}}function u(t,e){if(t.uid)throw new Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');const r=e||"demo-project",o=t.iat||0,n=t.sub||t.user_id;if(!n)throw new Error("mockUserToken must contain 'sub' or 'user_id' field!");const i=Object.assign({iss:`https://securetoken.google.com/${r}`,aud:r,iat:o,exp:o+3600,auth_time:o,sub:n,user_id:n,firebase:{sign_in_provider:"custom",identities:{}}},t);return[a(JSON.stringify({alg:"none",type:"JWT"})),a(JSON.stringify(i)),""].join(".")}function m(){return"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent?navigator.userAgent:""}function p(){const t="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof t&&void 0!==t.id}function h(){return!function(){var t;const e=null===(t=s())||void 0===t?void 0:t.forceEnvironment;if("node"===e)return!0;if("browser"===e)return!1;try{return"[object process]"===Object.prototype.toString.call(r.g.process)}catch(t){return!1}}()&&!!navigator.userAgent&&navigator.userAgent.includes("Safari")&&!navigator.userAgent.includes("Chrome")}function g(){try{return"object"==typeof indexedDB}catch(t){return!1}}function b(){return new Promise(((t,e)=>{try{let r=!0;const o="validate-browser-context-for-indexeddb-analytics-module",n=self.indexedDB.open(o);n.onsuccess=()=>{n.result.close(),r||self.indexedDB.deleteDatabase(o),t(!0)},n.onupgradeneeded=()=>{r=!1},n.onerror=()=>{var t;e((null===(t=n.error)||void 0===t?void 0:t.message)||"")}}catch(t){e(t)}}))}function f(){return!("undefined"==typeof navigator||!navigator.cookieEnabled)}class v extends Error{constructor(t,e,r){super(e),this.code=t,this.customData=r,this.name="FirebaseError",Object.setPrototypeOf(this,v.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,y.prototype.create)}}class y{constructor(t,e,r){this.service=t,this.serviceName=e,this.errors=r}create(t,...e){const r=e[0]||{},o=`${this.service}/${t}`,n=this.errors[t],i=n?function(t,e){return t.replace(w,((t,r)=>{const o=e[r];return null!=o?String(o):`<${r}?>`}))}(n,r):"Error",a=`${this.serviceName}: ${i} (${o}).`;return new v(o,a,r)}}const w=/\{\$([^}]+)}/g;function x(t,e){if(t===e)return!0;const r=Object.keys(t),o=Object.keys(e);for(const n of r){if(!o.includes(n))return!1;const r=t[n],i=e[n];if(_(r)&&_(i)){if(!x(r,i))return!1}else if(r!==i)return!1}for(const t of o)if(!r.includes(t))return!1;return!0}function _(t){return null!==t&&"object"==typeof t}const k=1e3,E=2,I=144e5,A=.5;function T(t,e=k,r=E){const o=e*Math.pow(r,t),n=Math.round(A*o*(Math.random()-.5)*2);return Math.min(I,o+n)}function C(t){return t&&t._delegate?t._delegate:t}},1043:(t,e,r)=>{"use strict";r.d(e,{UD:()=>p,n4:()=>h});var o=r(7310),n=r(6979),i=r(3341),a=r(5128),s=r(1206),l=r(571),c=r(844),d=r(5581),u={placement:"bottom",modifiers:[],strategy:"absolute"};function m(){for(var t=arguments.length,e=new Array(t),r=0;r{"use strict";r.d(e,{A:()=>n});var o=r(5581);function n(t,e){var r=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(r&&(0,o.Ng)(r)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}},6354:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var o=r(5581),n=r(6906),i=r(8979),a=r(2283);function s(t,e,r){void 0===e&&(e=!1),void 0===r&&(r=!1);var s=t.getBoundingClientRect(),l=1,c=1;e&&(0,o.sb)(t)&&(l=t.offsetWidth>0&&(0,n.LI)(s.width)/t.offsetWidth||1,c=t.offsetHeight>0&&(0,n.LI)(s.height)/t.offsetHeight||1);var d=((0,o.vq)(t)?(0,i.A)(t):window).visualViewport,u=!(0,a.A)()&&r,m=(s.left+(u&&d?d.offsetLeft:0))/l,p=(s.top+(u&&d?d.offsetTop:0))/c,h=s.width/l,g=s.height/c;return{width:h,height:g,top:p,right:m+h,bottom:p+g,left:m,x:m,y:p}}},2883:(t,e,r)=>{"use strict";r.d(e,{A:()=>v});var o=r(4278),n=r(5487),i=r(8848),a=r(3341),s=r(5128),l=r(9760),c=r(271),d=r(5581),u=r(6354),m=r(2083),p=r(5446),h=r(7604),g=r(4426),b=r(6906);function f(t,e,r){return e===o.R9?(0,g.A)((0,n.A)(t,r)):(0,d.vq)(e)?function(t,e){var r=(0,u.A)(t,!1,"fixed"===e);return r.top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r}(e,r):(0,g.A)((0,i.A)((0,l.A)(t)))}function v(t,e,r,o){var n="clippingParents"===e?function(t){var e=(0,a.A)((0,m.A)(t)),r=["absolute","fixed"].indexOf((0,c.A)(t).position)>=0&&(0,d.sb)(t)?(0,s.A)(t):t;return(0,d.vq)(r)?e.filter((function(t){return(0,d.vq)(t)&&(0,p.A)(t,r)&&"body"!==(0,h.A)(t)})):[]}(t):[].concat(e),i=[].concat(n,[r]),l=i[0],u=i.reduce((function(e,r){var n=f(t,r,o);return e.top=(0,b.T9)(n.top,e.top),e.right=(0,b.jk)(n.right,e.right),e.bottom=(0,b.jk)(n.bottom,e.bottom),e.left=(0,b.T9)(n.left,e.left),e}),f(t,l,o));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}},7310:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var o=r(6354),n=r(3318),i=r(7604),a=r(5581),s=r(793),l=r(9760),c=r(134),d=r(6906);function u(t,e,r){void 0===r&&(r=!1);var u=(0,a.sb)(e),m=(0,a.sb)(e)&&function(t){var e=t.getBoundingClientRect(),r=(0,d.LI)(e.width)/t.offsetWidth||1,o=(0,d.LI)(e.height)/t.offsetHeight||1;return 1!==r||1!==o}(e),p=(0,l.A)(e),h=(0,o.A)(t,m,r),g={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(u||!u&&!r)&&(("body"!==(0,i.A)(e)||(0,c.A)(p))&&(g=(0,n.A)(e)),(0,a.sb)(e)?((b=(0,o.A)(e,!0)).x+=e.clientLeft,b.y+=e.clientTop):p&&(b.x=(0,s.A)(p))),{x:h.left+g.scrollLeft-b.x,y:h.top+g.scrollTop-b.y,width:h.width,height:h.height}}},271:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var o=r(8979);function n(t){return(0,o.A)(t).getComputedStyle(t)}},9760:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var o=r(5581);function n(t){return(((0,o.vq)(t)?t.ownerDocument:t.document)||window.document).documentElement}},8848:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});var o=r(9760),n=r(271),i=r(793),a=r(222),s=r(6906);function l(t){var e,r=(0,o.A)(t),l=(0,a.A)(t),c=null==(e=t.ownerDocument)?void 0:e.body,d=(0,s.T9)(r.scrollWidth,r.clientWidth,c?c.scrollWidth:0,c?c.clientWidth:0),u=(0,s.T9)(r.scrollHeight,r.clientHeight,c?c.scrollHeight:0,c?c.clientHeight:0),m=-l.scrollLeft+(0,i.A)(t),p=-l.scrollTop;return"rtl"===(0,n.A)(c||r).direction&&(m+=(0,s.T9)(r.clientWidth,c?c.clientWidth:0)-d),{width:d,height:u,x:m,y:p}}},6233:(t,e,r)=>{"use strict";function o(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}r.d(e,{A:()=>o})},6979:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var o=r(6354);function n(t){var e=(0,o.A)(t),r=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-r)<=1&&(r=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:r,height:n}}},7604:(t,e,r)=>{"use strict";function o(t){return t?(t.nodeName||"").toLowerCase():null}r.d(e,{A:()=>o})},3318:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var o=r(222),n=r(8979),i=r(5581),a=r(6233);function s(t){return t!==(0,n.A)(t)&&(0,i.sb)(t)?(0,a.A)(t):(0,o.A)(t)}},5128:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var o=r(8979),n=r(7604),i=r(271),a=r(5581),s=r(2063),l=r(2083),c=r(2398);function d(t){return(0,a.sb)(t)&&"fixed"!==(0,i.A)(t).position?t.offsetParent:null}function u(t){for(var e=(0,o.A)(t),r=d(t);r&&(0,s.A)(r)&&"static"===(0,i.A)(r).position;)r=d(r);return r&&("html"===(0,n.A)(r)||"body"===(0,n.A)(r)&&"static"===(0,i.A)(r).position)?e:r||function(t){var e=/firefox/i.test((0,c.A)());if(/Trident/i.test((0,c.A)())&&(0,a.sb)(t)&&"fixed"===(0,i.A)(t).position)return null;var r=(0,l.A)(t);for((0,a.Ng)(r)&&(r=r.host);(0,a.sb)(r)&&["html","body"].indexOf((0,n.A)(r))<0;){var o=(0,i.A)(r);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||e&&"filter"===o.willChange||e&&o.filter&&"none"!==o.filter)return r;r=r.parentNode}return null}(t)||e}},2083:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var o=r(7604),n=r(9760),i=r(5581);function a(t){return"html"===(0,o.A)(t)?t:t.assignedSlot||t.parentNode||((0,i.Ng)(t)?t.host:null)||(0,n.A)(t)}},9970:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var o=r(2083),n=r(134),i=r(7604),a=r(5581);function s(t){return["html","body","#document"].indexOf((0,i.A)(t))>=0?t.ownerDocument.body:(0,a.sb)(t)&&(0,n.A)(t)?t:s((0,o.A)(t))}},5487:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var o=r(8979),n=r(9760),i=r(793),a=r(2283);function s(t,e){var r=(0,o.A)(t),s=(0,n.A)(t),l=r.visualViewport,c=s.clientWidth,d=s.clientHeight,u=0,m=0;if(l){c=l.width,d=l.height;var p=(0,a.A)();(p||!p&&"fixed"===e)&&(u=l.offsetLeft,m=l.offsetTop)}return{width:c,height:d,x:u+(0,i.A)(t),y:m}}},8979:(t,e,r)=>{"use strict";function o(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}r.d(e,{A:()=>o})},222:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var o=r(8979);function n(t){var e=(0,o.A)(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}},793:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var o=r(6354),n=r(9760),i=r(222);function a(t){return(0,o.A)((0,n.A)(t)).left+(0,i.A)(t).scrollLeft}},5581:(t,e,r)=>{"use strict";r.d(e,{Ng:()=>a,sb:()=>i,vq:()=>n});var o=r(8979);function n(t){return t instanceof(0,o.A)(t).Element||t instanceof Element}function i(t){return t instanceof(0,o.A)(t).HTMLElement||t instanceof HTMLElement}function a(t){return"undefined"!=typeof ShadowRoot&&(t instanceof(0,o.A)(t).ShadowRoot||t instanceof ShadowRoot)}},2283:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var o=r(2398);function n(){return!/^((?!chrome|android).)*safari/i.test((0,o.A)())}},134:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var o=r(271);function n(t){var e=(0,o.A)(t),r=e.overflow,n=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}},2063:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var o=r(7604);function n(t){return["table","td","th"].indexOf((0,o.A)(t))>=0}},3341:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var o=r(9970),n=r(2083),i=r(8979),a=r(134);function s(t,e){var r;void 0===e&&(e=[]);var l=(0,o.A)(t),c=l===(null==(r=t.ownerDocument)?void 0:r.body),d=(0,i.A)(l),u=c?[d].concat(d.visualViewport||[],(0,a.A)(l)?l:[]):l,m=e.concat(u);return c?m:m.concat(s((0,n.A)(u)))}},4278:(t,e,r)=>{"use strict";r.d(e,{DD:()=>b,EP:()=>_,GM:()=>A,LF:()=>v,LG:()=>w,M9:()=>E,Mn:()=>o,OM:()=>l,Ol:()=>g,R9:()=>m,SE:()=>I,WY:()=>u,_N:()=>d,ci:()=>f,iW:()=>x,ir:()=>h,kb:()=>a,ni:()=>c,pA:()=>k,pG:()=>i,qZ:()=>s,sQ:()=>n,v5:()=>y,xf:()=>p});var o="top",n="bottom",i="right",a="left",s="auto",l=[o,n,i,a],c="start",d="end",u="clippingParents",m="viewport",p="popper",h="reference",g=l.reduce((function(t,e){return t.concat([e+"-"+c,e+"-"+d])}),[]),b=[].concat(l,[s]).reduce((function(t,e){return t.concat([e,e+"-"+c,e+"-"+d])}),[]),f="beforeRead",v="read",y="afterRead",w="beforeMain",x="main",_="afterMain",k="beforeWrite",E="write",I="afterWrite",A=[f,v,y,w,x,_,k,E,I]},4036:(t,e,r)=>{"use strict";r.r(e),r.d(e,{afterMain:()=>o.EP,afterRead:()=>o.v5,afterWrite:()=>o.SE,applyStyles:()=>n.ZM,arrow:()=>n.UE,auto:()=>o.qZ,basePlacements:()=>o.OM,beforeMain:()=>o.LG,beforeRead:()=>o.ci,beforeWrite:()=>o.pA,bottom:()=>o.sQ,clippingParents:()=>o.WY,computeStyles:()=>n.KC,createPopper:()=>s.n4,createPopperBase:()=>i.n4,createPopperLite:()=>l.n4,detectOverflow:()=>a.A,end:()=>o._N,eventListeners:()=>n.Gc,flip:()=>n.UU,hide:()=>n.jD,left:()=>o.kb,main:()=>o.iW,modifierPhases:()=>o.GM,offset:()=>n.cY,placements:()=>o.DD,popper:()=>o.xf,popperGenerator:()=>i.UD,popperOffsets:()=>n.Zo,preventOverflow:()=>n.V7,read:()=>o.LF,reference:()=>o.ir,right:()=>o.pG,start:()=>o.ni,top:()=>o.Mn,variationPlacements:()=>o.Ol,viewport:()=>o.R9,write:()=>o.M9});var o=r(4278),n=r(9765),i=r(1043),a=r(9913),s=r(1576),l=r(6465)},6607:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var o=r(7604),n=r(5581);const i={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var r=e.styles[t]||{},i=e.attributes[t]||{},a=e.elements[t];(0,n.sb)(a)&&(0,o.A)(a)&&(Object.assign(a.style,r),Object.keys(i).forEach((function(t){var e=i[t];!1===e?a.removeAttribute(t):a.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,r={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,r.popper),e.styles=r,e.elements.arrow&&Object.assign(e.elements.arrow.style,r.arrow),function(){Object.keys(e.elements).forEach((function(t){var i=e.elements[t],a=e.attributes[t]||{},s=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:r[t]).reduce((function(t,e){return t[e]="",t}),{});(0,n.sb)(i)&&(0,o.A)(i)&&(Object.assign(i.style,s),Object.keys(a).forEach((function(t){i.removeAttribute(t)})))}))}},requires:["computeStyles"]}},8256:(t,e,r)=>{"use strict";r.d(e,{A:()=>m});var o=r(2632),n=r(6979),i=r(5446),a=r(5128),s=r(9703),l=r(6523),c=r(4318),d=r(1007),u=r(4278);const m={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,r=t.state,i=t.name,m=t.options,p=r.elements.arrow,h=r.modifiersData.popperOffsets,g=(0,o.A)(r.placement),b=(0,s.A)(g),f=[u.kb,u.pG].indexOf(g)>=0?"height":"width";if(p&&h){var v=function(t,e){return t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t,(0,c.A)("number"!=typeof t?t:(0,d.A)(t,u.OM))}(m.padding,r),y=(0,n.A)(p),w="y"===b?u.Mn:u.kb,x="y"===b?u.sQ:u.pG,_=r.rects.reference[f]+r.rects.reference[b]-h[b]-r.rects.popper[f],k=h[b]-r.rects.reference[b],E=(0,a.A)(p),I=E?"y"===b?E.clientHeight||0:E.clientWidth||0:0,A=_/2-k/2,T=v[w],C=I-y[f]-v[x],S=I/2-y[f]/2+A,D=(0,l.u)(T,S,C),L=b;r.modifiersData[i]=((e={})[L]=D,e.centerOffset=D-S,e)}},effect:function(t){var e=t.state,r=t.options.element,o=void 0===r?"[data-popper-arrow]":r;null!=o&&("string"!=typeof o||(o=e.elements.popper.querySelector(o)))&&(0,i.A)(e.elements.popper,o)&&(e.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}},1262:(t,e,r)=>{"use strict";r.d(e,{A:()=>p});var o=r(4278),n=r(5128),i=r(8979),a=r(9760),s=r(271),l=r(2632),c=r(8101),d=r(6906),u={top:"auto",right:"auto",bottom:"auto",left:"auto"};function m(t){var e,r=t.popper,l=t.popperRect,c=t.placement,m=t.variation,p=t.offsets,h=t.position,g=t.gpuAcceleration,b=t.adaptive,f=t.roundOffsets,v=t.isFixed,y=p.x,w=void 0===y?0:y,x=p.y,_=void 0===x?0:x,k="function"==typeof f?f({x:w,y:_}):{x:w,y:_};w=k.x,_=k.y;var E=p.hasOwnProperty("x"),I=p.hasOwnProperty("y"),A=o.kb,T=o.Mn,C=window;if(b){var S=(0,n.A)(r),D="clientHeight",L="clientWidth";S===(0,i.A)(r)&&(S=(0,a.A)(r),"static"!==(0,s.A)(S).position&&"absolute"===h&&(D="scrollHeight",L="scrollWidth")),(c===o.Mn||(c===o.kb||c===o.pG)&&m===o._N)&&(T=o.sQ,_-=(v&&S===C&&C.visualViewport?C.visualViewport.height:S[D])-l.height,_*=g?1:-1),c!==o.kb&&(c!==o.Mn&&c!==o.sQ||m!==o._N)||(A=o.pG,w-=(v&&S===C&&C.visualViewport?C.visualViewport.width:S[L])-l.width,w*=g?1:-1)}var N,O=Object.assign({position:h},b&&u),M=!0===f?function(t,e){var r=t.x,o=t.y,n=e.devicePixelRatio||1;return{x:(0,d.LI)(r*n)/n||0,y:(0,d.LI)(o*n)/n||0}}({x:w,y:_},(0,i.A)(r)):{x:w,y:_};return w=M.x,_=M.y,g?Object.assign({},O,((N={})[T]=I?"0":"",N[A]=E?"0":"",N.transform=(C.devicePixelRatio||1)<=1?"translate("+w+"px, "+_+"px)":"translate3d("+w+"px, "+_+"px, 0)",N)):Object.assign({},O,((e={})[T]=I?_+"px":"",e[A]=E?w+"px":"",e.transform="",e))}const p={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,r=t.options,o=r.gpuAcceleration,n=void 0===o||o,i=r.adaptive,a=void 0===i||i,s=r.roundOffsets,d=void 0===s||s,u={placement:(0,l.A)(e.placement),variation:(0,c.A)(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:n,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,m(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:d})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,m(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:d})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}}},9068:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var o=r(8979),n={passive:!0};const i={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,r=t.instance,i=t.options,a=i.scroll,s=void 0===a||a,l=i.resize,c=void 0===l||l,d=(0,o.A)(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&u.forEach((function(t){t.addEventListener("scroll",r.update,n)})),c&&d.addEventListener("resize",r.update,n),function(){s&&u.forEach((function(t){t.removeEventListener("scroll",r.update,n)})),c&&d.removeEventListener("resize",r.update,n)}},data:{}}},958:(t,e,r)=>{"use strict";r.d(e,{A:()=>d});var o=r(1688),n=r(2632),i=r(6771),a=r(9913),s=r(6281),l=r(4278),c=r(8101);const d={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,r=t.options,d=t.name;if(!e.modifiersData[d]._skip){for(var u=r.mainAxis,m=void 0===u||u,p=r.altAxis,h=void 0===p||p,g=r.fallbackPlacements,b=r.padding,f=r.boundary,v=r.rootBoundary,y=r.altBoundary,w=r.flipVariations,x=void 0===w||w,_=r.allowedAutoPlacements,k=e.options.placement,E=(0,n.A)(k),I=g||(E!==k&&x?function(t){if((0,n.A)(t)===l.qZ)return[];var e=(0,o.A)(t);return[(0,i.A)(t),e,(0,i.A)(e)]}(k):[(0,o.A)(k)]),A=[k].concat(I).reduce((function(t,r){return t.concat((0,n.A)(r)===l.qZ?(0,s.A)(e,{placement:r,boundary:f,rootBoundary:v,padding:b,flipVariations:x,allowedAutoPlacements:_}):r)}),[]),T=e.rects.reference,C=e.rects.popper,S=new Map,D=!0,L=A[0],N=0;N=0,P=B?"width":"height",V=(0,a.A)(e,{placement:O,boundary:f,rootBoundary:v,altBoundary:y,padding:b}),j=B?R?l.pG:l.kb:R?l.sQ:l.Mn;T[P]>C[P]&&(j=(0,o.A)(j));var z=(0,o.A)(j),F=[];if(m&&F.push(V[M]<=0),h&&F.push(V[j]<=0,V[z]<=0),F.every((function(t){return t}))){L=O,D=!1;break}S.set(O,F)}if(D)for(var q=function(t){var e=A.find((function(e){var r=S.get(e);if(r)return r.slice(0,t).every((function(t){return t}))}));if(e)return L=e,"break"},$=x?3:1;$>0&&"break"!==q($);$--);e.placement!==L&&(e.modifiersData[d]._skip=!0,e.placement=L,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}}},9081:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var o=r(4278),n=r(9913);function i(t,e,r){return void 0===r&&(r={x:0,y:0}),{top:t.top-e.height-r.y,right:t.right-e.width+r.x,bottom:t.bottom-e.height+r.y,left:t.left-e.width-r.x}}function a(t){return[o.Mn,o.pG,o.sQ,o.kb].some((function(e){return t[e]>=0}))}const s={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,r=t.name,o=e.rects.reference,s=e.rects.popper,l=e.modifiersData.preventOverflow,c=(0,n.A)(e,{elementContext:"reference"}),d=(0,n.A)(e,{altBoundary:!0}),u=i(c,o),m=i(d,s,l),p=a(u),h=a(m);e.modifiersData[r]={referenceClippingOffsets:u,popperEscapeOffsets:m,isReferenceHidden:p,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":h})}}},9765:(t,e,r)=>{"use strict";r.d(e,{Gc:()=>a.A,KC:()=>i.A,UE:()=>n.A,UU:()=>s.A,V7:()=>u.A,ZM:()=>o.A,Zo:()=>d.A,cY:()=>c.A,jD:()=>l.A});var o=r(6607),n=r(8256),i=r(1262),a=r(9068),s=r(958),l=r(9081),c=r(8490),d=r(5059),u=r(2089)},8490:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var o=r(2632),n=r(4278);const i={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,r=t.options,i=t.name,a=r.offset,s=void 0===a?[0,0]:a,l=n.DD.reduce((function(t,r){return t[r]=function(t,e,r){var i=(0,o.A)(t),a=[n.kb,n.Mn].indexOf(i)>=0?-1:1,s="function"==typeof r?r(Object.assign({},e,{placement:t})):r,l=s[0],c=s[1];return l=l||0,c=(c||0)*a,[n.kb,n.pG].indexOf(i)>=0?{x:c,y:l}:{x:l,y:c}}(r,e.rects,s),t}),{}),c=l[e.placement],d=c.x,u=c.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=d,e.modifiersData.popperOffsets.y+=u),e.modifiersData[i]=l}}},5059:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var o=r(1815);const n={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,r=t.name;e.modifiersData[r]=(0,o.A)({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}}},2089:(t,e,r)=>{"use strict";r.d(e,{A:()=>h});var o=r(4278),n=r(2632),i=r(9703),a=r(6442),s=r(6523),l=r(6979),c=r(5128),d=r(9913),u=r(8101),m=r(7364),p=r(6906);const h={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,r=t.options,h=t.name,g=r.mainAxis,b=void 0===g||g,f=r.altAxis,v=void 0!==f&&f,y=r.boundary,w=r.rootBoundary,x=r.altBoundary,_=r.padding,k=r.tether,E=void 0===k||k,I=r.tetherOffset,A=void 0===I?0:I,T=(0,d.A)(e,{boundary:y,rootBoundary:w,padding:_,altBoundary:x}),C=(0,n.A)(e.placement),S=(0,u.A)(e.placement),D=!S,L=(0,i.A)(C),N=(0,a.A)(L),O=e.modifiersData.popperOffsets,M=e.rects.reference,R=e.rects.popper,B="function"==typeof A?A(Object.assign({},e.rects,{placement:e.placement})):A,P="number"==typeof B?{mainAxis:B,altAxis:B}:Object.assign({mainAxis:0,altAxis:0},B),V=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,j={x:0,y:0};if(O){if(b){var z,F="y"===L?o.Mn:o.kb,q="y"===L?o.sQ:o.pG,$="y"===L?"height":"width",U=O[L],H=U+T[F],G=U-T[q],K=E?-R[$]/2:0,W=S===o.ni?M[$]:R[$],Q=S===o.ni?-R[$]:-M[$],X=e.elements.arrow,Y=E&&X?(0,l.A)(X):{width:0,height:0},J=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:(0,m.A)(),Z=J[F],tt=J[q],et=(0,s.u)(0,M[$],Y[$]),rt=D?M[$]/2-K-et-Z-P.mainAxis:W-et-Z-P.mainAxis,ot=D?-M[$]/2+K+et+tt+P.mainAxis:Q+et+tt+P.mainAxis,nt=e.elements.arrow&&(0,c.A)(e.elements.arrow),it=nt?"y"===L?nt.clientTop||0:nt.clientLeft||0:0,at=null!=(z=null==V?void 0:V[L])?z:0,st=U+rt-at-it,lt=U+ot-at,ct=(0,s.u)(E?(0,p.jk)(H,st):H,U,E?(0,p.T9)(G,lt):G);O[L]=ct,j[L]=ct-U}if(v){var dt,ut="x"===L?o.Mn:o.kb,mt="x"===L?o.sQ:o.pG,pt=O[N],ht="y"===N?"height":"width",gt=pt+T[ut],bt=pt-T[mt],ft=-1!==[o.Mn,o.kb].indexOf(C),vt=null!=(dt=null==V?void 0:V[N])?dt:0,yt=ft?gt:pt-M[ht]-R[ht]-vt+P.altAxis,wt=ft?pt+M[ht]+R[ht]-vt-P.altAxis:bt,xt=E&&ft?(0,s.P)(yt,pt,wt):(0,s.u)(E?yt:gt,pt,E?wt:bt);O[N]=xt,j[N]=xt-pt}e.modifiersData[h]=j}},requiresIfExists:["offset"]}},6465:(t,e,r)=>{"use strict";r.d(e,{n4:()=>c});var o=r(1043),n=r(9068),i=r(5059),a=r(1262),s=r(6607),l=[n.A,i.A,a.A,s.A],c=(0,o.UD)({defaultModifiers:l})},1576:(t,e,r)=>{"use strict";r.d(e,{n4:()=>h});var o=r(1043),n=r(9068),i=r(5059),a=r(1262),s=r(6607),l=r(8490),c=r(958),d=r(2089),u=r(8256),m=r(9081),p=[n.A,i.A,a.A,s.A,l.A,c.A,d.A,u.A,m.A],h=(0,o.UD)({defaultModifiers:p})},6281:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var o=r(8101),n=r(4278),i=r(9913),a=r(2632);function s(t,e){void 0===e&&(e={});var r=e,s=r.placement,l=r.boundary,c=r.rootBoundary,d=r.padding,u=r.flipVariations,m=r.allowedAutoPlacements,p=void 0===m?n.DD:m,h=(0,o.A)(s),g=h?u?n.Ol:n.Ol.filter((function(t){return(0,o.A)(t)===h})):n.OM,b=g.filter((function(t){return p.indexOf(t)>=0}));0===b.length&&(b=g);var f=b.reduce((function(e,r){return e[r]=(0,i.A)(t,{placement:r,boundary:l,rootBoundary:c,padding:d})[(0,a.A)(r)],e}),{});return Object.keys(f).sort((function(t,e){return f[t]-f[e]}))}},1815:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var o=r(2632),n=r(8101),i=r(9703),a=r(4278);function s(t){var e,r=t.reference,s=t.element,l=t.placement,c=l?(0,o.A)(l):null,d=l?(0,n.A)(l):null,u=r.x+r.width/2-s.width/2,m=r.y+r.height/2-s.height/2;switch(c){case a.Mn:e={x:u,y:r.y-s.height};break;case a.sQ:e={x:u,y:r.y+r.height};break;case a.pG:e={x:r.x+r.width,y:m};break;case a.kb:e={x:r.x-s.width,y:m};break;default:e={x:r.x,y:r.y}}var p=c?(0,i.A)(c):null;if(null!=p){var h="y"===p?"height":"width";switch(d){case a.ni:e[p]=e[p]-(r[h]/2-s[h]/2);break;case a._N:e[p]=e[p]+(r[h]/2-s[h]/2)}}return e}},571:(t,e,r)=>{"use strict";function o(t){var e;return function(){return e||(e=new Promise((function(r){Promise.resolve().then((function(){e=void 0,r(t())}))}))),e}}r.d(e,{A:()=>o})},9913:(t,e,r)=>{"use strict";r.d(e,{A:()=>m});var o=r(2883),n=r(9760),i=r(6354),a=r(1815),s=r(4426),l=r(4278),c=r(5581),d=r(4318),u=r(1007);function m(t,e){void 0===e&&(e={});var r=e,m=r.placement,p=void 0===m?t.placement:m,h=r.strategy,g=void 0===h?t.strategy:h,b=r.boundary,f=void 0===b?l.WY:b,v=r.rootBoundary,y=void 0===v?l.R9:v,w=r.elementContext,x=void 0===w?l.xf:w,_=r.altBoundary,k=void 0!==_&&_,E=r.padding,I=void 0===E?0:E,A=(0,d.A)("number"!=typeof I?I:(0,u.A)(I,l.OM)),T=x===l.xf?l.ir:l.xf,C=t.rects.popper,S=t.elements[k?T:x],D=(0,o.A)((0,c.vq)(S)?S:S.contextElement||(0,n.A)(t.elements.popper),f,y,g),L=(0,i.A)(t.elements.reference),N=(0,a.A)({reference:L,element:C,strategy:"absolute",placement:p}),O=(0,s.A)(Object.assign({},C,N)),M=x===l.xf?O:L,R={top:D.top-M.top+A.top,bottom:M.bottom-D.bottom+A.bottom,left:D.left-M.left+A.left,right:M.right-D.right+A.right},B=t.modifiersData.offset;if(x===l.xf&&B){var P=B[p];Object.keys(R).forEach((function(t){var e=[l.pG,l.sQ].indexOf(t)>=0?1:-1,r=[l.Mn,l.sQ].indexOf(t)>=0?"y":"x";R[t]+=P[r]*e}))}return R}},1007:(t,e,r)=>{"use strict";function o(t,e){return e.reduce((function(e,r){return e[r]=t,e}),{})}r.d(e,{A:()=>o})},6442:(t,e,r)=>{"use strict";function o(t){return"x"===t?"y":"x"}r.d(e,{A:()=>o})},2632:(t,e,r)=>{"use strict";function o(t){return t.split("-")[0]}r.d(e,{A:()=>o})},7364:(t,e,r)=>{"use strict";function o(){return{top:0,right:0,bottom:0,left:0}}r.d(e,{A:()=>o})},9703:(t,e,r)=>{"use strict";function o(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}r.d(e,{A:()=>o})},1688:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var o={left:"right",right:"left",bottom:"top",top:"bottom"};function n(t){return t.replace(/left|right|bottom|top/g,(function(t){return o[t]}))}},6771:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var o={start:"end",end:"start"};function n(t){return t.replace(/start|end/g,(function(t){return o[t]}))}},8101:(t,e,r)=>{"use strict";function o(t){return t.split("-")[1]}r.d(e,{A:()=>o})},6906:(t,e,r)=>{"use strict";r.d(e,{LI:()=>i,T9:()=>o,jk:()=>n});var o=Math.max,n=Math.min,i=Math.round},844:(t,e,r)=>{"use strict";function o(t){var e=t.reduce((function(t,e){var r=t[e.name];return t[e.name]=r?Object.assign({},r,e,{options:Object.assign({},r.options,e.options),data:Object.assign({},r.data,e.data)}):e,t}),{});return Object.keys(e).map((function(t){return e[t]}))}r.d(e,{A:()=>o})},4318:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var o=r(7364);function n(t){return Object.assign({},(0,o.A)(),t)}},1206:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var o=r(4278);function n(t){var e=new Map,r=new Set,o=[];function n(t){r.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!r.has(t)){var o=e.get(t);o&&n(o)}})),o.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){r.has(t.name)||n(t)})),o}function i(t){var e=n(t);return o.GM.reduce((function(t,r){return t.concat(e.filter((function(t){return t.phase===r})))}),[])}},4426:(t,e,r)=>{"use strict";function o(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}r.d(e,{A:()=>o})},2398:(t,e,r)=>{"use strict";function o(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}r.d(e,{A:()=>o})},6523:(t,e,r)=>{"use strict";r.d(e,{P:()=>i,u:()=>n});var o=r(6906);function n(t,e,r){return(0,o.T9)(t,(0,o.jk)(e,r))}function i(t,e,r){var o=n(t,e,r);return o>r?r:o}},8747:(t,e,r)=>{"use strict";r.d(e,{m_:()=>Vr,y8:()=>jo});var o=r(4036),n=r(1576);const i=new Map,a={set(t,e,r){i.has(t)||i.set(t,new Map);const o=i.get(t);o.has(e)||0===o.size?o.set(e,r):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(o.keys())[0]}.`)},get:(t,e)=>i.has(t)&&i.get(t).get(e)||null,remove(t,e){if(!i.has(t))return;const r=i.get(t);r.delete(e),0===r.size&&i.delete(t)}},s="transitionend",l=t=>(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,((t,e)=>`#${CSS.escape(e)}`))),t),c=t=>{t.dispatchEvent(new Event(s))},d=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),u=t=>d(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(l(t)):null,m=t=>{if(!d(t)||0===t.getClientRects().length)return!1;const e="visible"===getComputedStyle(t).getPropertyValue("visibility"),r=t.closest("details:not([open])");if(!r)return e;if(r!==t){const e=t.closest("summary");if(e&&e.parentNode!==r)return!1;if(null===e)return!1}return e},p=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),h=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?h(t.parentNode):null},g=()=>{},b=t=>{t.offsetHeight},f=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,v=[],y=()=>"rtl"===document.documentElement.dir,w=t=>{var e;e=()=>{const e=f();if(e){const r=t.NAME,o=e.fn[r];e.fn[r]=t.jQueryInterface,e.fn[r].Constructor=t,e.fn[r].noConflict=()=>(e.fn[r]=o,t.jQueryInterface)}},"loading"===document.readyState?(v.length||document.addEventListener("DOMContentLoaded",(()=>{for(const t of v)t()})),v.push(e)):e()},x=(t,e=[],r=t)=>"function"==typeof t?t(...e):r,_=(t,e,r=!0)=>{if(!r)return void x(t);const o=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:r}=window.getComputedStyle(t);const o=Number.parseFloat(e),n=Number.parseFloat(r);return o||n?(e=e.split(",")[0],r=r.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(r))):0})(e)+5;let n=!1;const i=({target:r})=>{r===e&&(n=!0,e.removeEventListener(s,i),x(t))};e.addEventListener(s,i),setTimeout((()=>{n||c(e)}),o)},k=(t,e,r,o)=>{const n=t.length;let i=t.indexOf(e);return-1===i?!r&&o?t[n-1]:t[0]:(i+=r?1:-1,o&&(i=(i+n)%n),t[Math.max(0,Math.min(i,n-1))])},E=/[^.]*(?=\..*)\.|.*/,I=/\..*/,A=/::\d+$/,T={};let C=1;const S={mouseenter:"mouseover",mouseleave:"mouseout"},D=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function L(t,e){return e&&`${e}::${C++}`||t.uidEvent||C++}function N(t){const e=L(t);return t.uidEvent=e,T[e]=T[e]||{},T[e]}function O(t,e,r=null){return Object.values(t).find((t=>t.callable===e&&t.delegationSelector===r))}function M(t,e,r){const o="string"==typeof e,n=o?r:e||r;let i=V(t);return D.has(i)||(i=t),[o,n,i]}function R(t,e,r,o,n){if("string"!=typeof e||!t)return;let[i,a,s]=M(e,r,o);if(e in S){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};a=t(a)}const l=N(t),c=l[s]||(l[s]={}),d=O(c,a,i?r:null);if(d)return void(d.oneOff=d.oneOff&&n);const u=L(a,e.replace(E,"")),m=i?function(t,e,r){return function o(n){const i=t.querySelectorAll(e);for(let{target:a}=n;a&&a!==this;a=a.parentNode)for(const s of i)if(s===a)return z(n,{delegateTarget:a}),o.oneOff&&j.off(t,n.type,e,r),r.apply(a,[n])}}(t,r,a):function(t,e){return function r(o){return z(o,{delegateTarget:t}),r.oneOff&&j.off(t,o.type,e),e.apply(t,[o])}}(t,a);m.delegationSelector=i?r:null,m.callable=a,m.oneOff=n,m.uidEvent=u,c[u]=m,t.addEventListener(s,m,i)}function B(t,e,r,o,n){const i=O(e[r],o,n);i&&(t.removeEventListener(r,i,Boolean(n)),delete e[r][i.uidEvent])}function P(t,e,r,o){const n=e[r]||{};for(const[i,a]of Object.entries(n))i.includes(o)&&B(t,e,r,a.callable,a.delegationSelector)}function V(t){return t=t.replace(I,""),S[t]||t}const j={on(t,e,r,o){R(t,e,r,o,!1)},one(t,e,r,o){R(t,e,r,o,!0)},off(t,e,r,o){if("string"!=typeof e||!t)return;const[n,i,a]=M(e,r,o),s=a!==e,l=N(t),c=l[a]||{},d=e.startsWith(".");if(void 0===i){if(d)for(const r of Object.keys(l))P(t,l,r,e.slice(1));for(const[r,o]of Object.entries(c)){const n=r.replace(A,"");s&&!e.includes(n)||B(t,l,a,o.callable,o.delegationSelector)}}else{if(!Object.keys(c).length)return;B(t,l,a,i,n?r:null)}},trigger(t,e,r){if("string"!=typeof e||!t)return null;const o=f();let n=null,i=!0,a=!0,s=!1;e!==V(e)&&o&&(n=o.Event(e,r),o(t).trigger(n),i=!n.isPropagationStopped(),a=!n.isImmediatePropagationStopped(),s=n.isDefaultPrevented());const l=z(new Event(e,{bubbles:i,cancelable:!0}),r);return s&&l.preventDefault(),a&&t.dispatchEvent(l),l.defaultPrevented&&n&&n.preventDefault(),l}};function z(t,e={}){for(const[r,o]of Object.entries(e))try{t[r]=o}catch(e){Object.defineProperty(t,r,{configurable:!0,get:()=>o})}return t}function F(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch(e){return t}}function q(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}const $={setDataAttribute(t,e,r){t.setAttribute(`data-bs-${q(e)}`,r)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${q(e)}`)},getDataAttributes(t){if(!t)return{};const e={},r=Object.keys(t.dataset).filter((t=>t.startsWith("bs")&&!t.startsWith("bsConfig")));for(const o of r){let r=o.replace(/^bs/,"");r=r.charAt(0).toLowerCase()+r.slice(1,r.length),e[r]=F(t.dataset[o])}return e},getDataAttribute:(t,e)=>F(t.getAttribute(`data-bs-${q(e)}`))};class U{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const r=d(e)?$.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof r?r:{},...d(e)?$.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const[o,n]of Object.entries(e)){const e=t[o],i=d(e)?"element":null==(r=e)?`${r}`:Object.prototype.toString.call(r).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(n).test(i))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${o}" provided type "${i}" but expected type "${n}".`)}var r}}class H extends U{constructor(t,e){super(),(t=u(t))&&(this._element=t,this._config=this._getConfig(e),a.set(this._element,this.constructor.DATA_KEY,this))}dispose(){a.remove(this._element,this.constructor.DATA_KEY),j.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,r=!0){_(t,e,r)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return a.get(u(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.3.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const G=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let r=t.getAttribute("href");if(!r||!r.includes("#")&&!r.startsWith("."))return null;r.includes("#")&&!r.startsWith("#")&&(r=`#${r.split("#")[1]}`),e=r&&"#"!==r?r.trim():null}return e?e.split(",").map((t=>l(t))).join(","):null},K={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter((t=>t.matches(e))),parents(t,e){const r=[];let o=t.parentNode.closest(e);for(;o;)r.push(o),o=o.parentNode.closest(e);return r},prev(t,e){let r=t.previousElementSibling;for(;r;){if(r.matches(e))return[r];r=r.previousElementSibling}return[]},next(t,e){let r=t.nextElementSibling;for(;r;){if(r.matches(e))return[r];r=r.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((t=>`${t}:not([tabindex^="-"])`)).join(",");return this.find(e,t).filter((t=>!p(t)&&m(t)))},getSelectorFromElement(t){const e=G(t);return e&&K.findOne(e)?e:null},getElementFromSelector(t){const e=G(t);return e?K.findOne(e):null},getMultipleElementsFromSelector(t){const e=G(t);return e?K.find(e):[]}},W=(t,e="hide")=>{const r=`click.dismiss${t.EVENT_KEY}`,o=t.NAME;j.on(document,r,`[data-bs-dismiss="${o}"]`,(function(r){if(["A","AREA"].includes(this.tagName)&&r.preventDefault(),p(this))return;const n=K.getElementFromSelector(this)||this.closest(`.${o}`);t.getOrCreateInstance(n)[e]()}))},Q=".bs.alert",X=`close${Q}`,Y=`closed${Q}`;class J extends H{static get NAME(){return"alert"}close(){if(j.trigger(this._element,X).defaultPrevented)return;this._element.classList.remove("show");const t=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,t)}_destroyElement(){this._element.remove(),j.trigger(this._element,Y),this.dispose()}static jQueryInterface(t){return this.each((function(){const e=J.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}W(J,"close"),w(J);const Z='[data-bs-toggle="button"]';class tt extends H{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each((function(){const e=tt.getOrCreateInstance(this);"toggle"===t&&e[t]()}))}}j.on(document,"click.bs.button.data-api",Z,(t=>{t.preventDefault();const e=t.target.closest(Z);tt.getOrCreateInstance(e).toggle()})),w(tt);const et=".bs.swipe",rt=`touchstart${et}`,ot=`touchmove${et}`,nt=`touchend${et}`,it=`pointerdown${et}`,at=`pointerup${et}`,st={endCallback:null,leftCallback:null,rightCallback:null},lt={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class ct extends U{constructor(t,e){super(),this._element=t,t&&ct.isSupported()&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return st}static get DefaultType(){return lt}static get NAME(){return"swipe"}dispose(){j.off(this._element,et)}_start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),x(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=40)return;const e=t/this._deltaX;this._deltaX=0,e&&x(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(j.on(this._element,it,(t=>this._start(t))),j.on(this._element,at,(t=>this._end(t))),this._element.classList.add("pointer-event")):(j.on(this._element,rt,(t=>this._start(t))),j.on(this._element,ot,(t=>this._move(t))),j.on(this._element,nt,(t=>this._end(t))))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&("pen"===t.pointerType||"touch"===t.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const dt=".bs.carousel",ut=".data-api",mt="ArrowLeft",pt="ArrowRight",ht="next",gt="prev",bt="left",ft="right",vt=`slide${dt}`,yt=`slid${dt}`,wt=`keydown${dt}`,xt=`mouseenter${dt}`,_t=`mouseleave${dt}`,kt=`dragstart${dt}`,Et=`load${dt}${ut}`,It=`click${dt}${ut}`,At="carousel",Tt="active",Ct=".active",St=".carousel-item",Dt=Ct+St,Lt={[mt]:ft,[pt]:bt},Nt={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Ot={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Mt extends H{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=K.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===At&&this.cycle()}static get Default(){return Nt}static get DefaultType(){return Ot}static get NAME(){return"carousel"}next(){this._slide(ht)}nextWhenVisible(){!document.hidden&&m(this._element)&&this.next()}prev(){this._slide(gt)}pause(){this._isSliding&&c(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?j.one(this._element,yt,(()=>this.cycle())):this.cycle())}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding)return void j.one(this._element,yt,(()=>this.to(t)));const r=this._getItemIndex(this._getActive());if(r===t)return;const o=t>r?ht:gt;this._slide(o,e[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&j.on(this._element,wt,(t=>this._keydown(t))),"hover"===this._config.pause&&(j.on(this._element,xt,(()=>this.pause())),j.on(this._element,_t,(()=>this._maybeEnableCycle()))),this._config.touch&&ct.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of K.find(".carousel-item img",this._element))j.on(t,kt,(t=>t.preventDefault()));const t={leftCallback:()=>this._slide(this._directionToOrder(bt)),rightCallback:()=>this._slide(this._directionToOrder(ft)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new ct(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=Lt[t.key];e&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const e=K.findOne(Ct,this._indicatorsElement);e.classList.remove(Tt),e.removeAttribute("aria-current");const r=K.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);r&&(r.classList.add(Tt),r.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding)return;const r=this._getActive(),o=t===ht,n=e||k(this._getItems(),r,o,this._config.wrap);if(n===r)return;const i=this._getItemIndex(n),a=e=>j.trigger(this._element,e,{relatedTarget:n,direction:this._orderToDirection(t),from:this._getItemIndex(r),to:i});if(a(vt).defaultPrevented)return;if(!r||!n)return;const s=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(i),this._activeElement=n;const l=o?"carousel-item-start":"carousel-item-end",c=o?"carousel-item-next":"carousel-item-prev";n.classList.add(c),b(n),r.classList.add(l),n.classList.add(l),this._queueCallback((()=>{n.classList.remove(l,c),n.classList.add(Tt),r.classList.remove(Tt,c,l),this._isSliding=!1,a(yt)}),r,this._isAnimated()),s&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return K.findOne(Dt,this._element)}_getItems(){return K.find(St,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return y()?t===bt?gt:ht:t===bt?ht:gt}_orderToDirection(t){return y()?t===gt?bt:ft:t===gt?ft:bt}static jQueryInterface(t){return this.each((function(){const e=Mt.getOrCreateInstance(this,t);if("number"!=typeof t){if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}else e.to(t)}))}}j.on(document,It,"[data-bs-slide], [data-bs-slide-to]",(function(t){const e=K.getElementFromSelector(this);if(!e||!e.classList.contains(At))return;t.preventDefault();const r=Mt.getOrCreateInstance(e),o=this.getAttribute("data-bs-slide-to");return o?(r.to(o),void r._maybeEnableCycle()):"next"===$.getDataAttribute(this,"slide")?(r.next(),void r._maybeEnableCycle()):(r.prev(),void r._maybeEnableCycle())})),j.on(window,Et,(()=>{const t=K.find('[data-bs-ride="carousel"]');for(const e of t)Mt.getOrCreateInstance(e)})),w(Mt);const Rt=".bs.collapse",Bt=`show${Rt}`,Pt=`shown${Rt}`,Vt=`hide${Rt}`,jt=`hidden${Rt}`,zt=`click${Rt}.data-api`,Ft="show",qt="collapse",$t="collapsing",Ut=`:scope .${qt} .${qt}`,Ht='[data-bs-toggle="collapse"]',Gt={parent:null,toggle:!0},Kt={parent:"(null|element)",toggle:"boolean"};class Wt extends H{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const r=K.find(Ht);for(const t of r){const e=K.getSelectorFromElement(t),r=K.find(e).filter((t=>t===this._element));null!==e&&r.length&&this._triggerArray.push(t)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Gt}static get DefaultType(){return Kt}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((t=>t!==this._element)).map((t=>Wt.getOrCreateInstance(t,{toggle:!1})))),t.length&&t[0]._isTransitioning)return;if(j.trigger(this._element,Bt).defaultPrevented)return;for(const e of t)e.hide();const e=this._getDimension();this._element.classList.remove(qt),this._element.classList.add($t),this._element.style[e]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const r=`scroll${e[0].toUpperCase()+e.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove($t),this._element.classList.add(qt,Ft),this._element.style[e]="",j.trigger(this._element,Pt)}),this._element,!0),this._element.style[e]=`${this._element[r]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(j.trigger(this._element,Vt).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,b(this._element),this._element.classList.add($t),this._element.classList.remove(qt,Ft);for(const t of this._triggerArray){const e=K.getElementFromSelector(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove($t),this._element.classList.add(qt),j.trigger(this._element,jt)}),this._element,!0)}_isShown(t=this._element){return t.classList.contains(Ft)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=u(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(Ht);for(const e of t){const t=K.getElementFromSelector(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}}_getFirstLevelChildren(t){const e=K.find(Ut,this._config.parent);return K.find(t,this._config.parent).filter((t=>!e.includes(t)))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const r of t)r.classList.toggle("collapsed",!e),r.setAttribute("aria-expanded",e)}static jQueryInterface(t){const e={};return"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1),this.each((function(){const r=Wt.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===r[t])throw new TypeError(`No method named "${t}"`);r[t]()}}))}}j.on(document,zt,Ht,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();for(const t of K.getMultipleElementsFromSelector(this))Wt.getOrCreateInstance(t,{toggle:!1}).toggle()})),w(Wt);const Qt="dropdown",Xt=".bs.dropdown",Yt=".data-api",Jt="ArrowUp",Zt="ArrowDown",te=`hide${Xt}`,ee=`hidden${Xt}`,re=`show${Xt}`,oe=`shown${Xt}`,ne=`click${Xt}${Yt}`,ie=`keydown${Xt}${Yt}`,ae=`keyup${Xt}${Yt}`,se="show",le='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',ce=`${le}.${se}`,de=".dropdown-menu",ue=y()?"top-end":"top-start",me=y()?"top-start":"top-end",pe=y()?"bottom-end":"bottom-start",he=y()?"bottom-start":"bottom-end",ge=y()?"left-start":"right-start",be=y()?"right-start":"left-start",fe={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},ve={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class ye extends H{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=K.next(this._element,de)[0]||K.prev(this._element,de)[0]||K.findOne(de,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return fe}static get DefaultType(){return ve}static get NAME(){return Qt}toggle(){return this._isShown()?this.hide():this.show()}show(){if(p(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!j.trigger(this._element,re,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const t of[].concat(...document.body.children))j.on(t,"mouseover",g);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(se),this._element.classList.add(se),j.trigger(this._element,oe,t)}}hide(){if(p(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!j.trigger(this._element,te,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))j.off(t,"mouseover",g);this._popper&&this._popper.destroy(),this._menu.classList.remove(se),this._element.classList.remove(se),this._element.setAttribute("aria-expanded","false"),$.removeDataAttribute(this._menu,"popper"),j.trigger(this._element,ee,t)}}_getConfig(t){if("object"==typeof(t=super._getConfig(t)).reference&&!d(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${Qt.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(void 0===o)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=this._parent:d(this._config.reference)?t=u(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const e=this._getPopperConfig();this._popper=n.n4(t,this._menu,e)}_isShown(){return this._menu.classList.contains(se)}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return ge;if(t.classList.contains("dropstart"))return be;if(t.classList.contains("dropup-center"))return"top";if(t.classList.contains("dropdown-center"))return"bottom";const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?me:ue:e?he:pe}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&($.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...x(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:e}){const r=K.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((t=>m(t)));r.length&&k(r,e,t===Zt,!r.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=ye.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}static clearMenus(t){if(2===t.button||"keyup"===t.type&&"Tab"!==t.key)return;const e=K.find(ce);for(const r of e){const e=ye.getInstance(r);if(!e||!1===e._config.autoClose)continue;const o=t.composedPath(),n=o.includes(e._menu);if(o.includes(e._element)||"inside"===e._config.autoClose&&!n||"outside"===e._config.autoClose&&n)continue;if(e._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const i={relatedTarget:e._element};"click"===t.type&&(i.clickEvent=t),e._completeHide(i)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName),r="Escape"===t.key,o=[Jt,Zt].includes(t.key);if(!o&&!r)return;if(e&&!r)return;t.preventDefault();const n=this.matches(le)?this:K.prev(this,le)[0]||K.next(this,le)[0]||K.findOne(le,t.delegateTarget.parentNode),i=ye.getOrCreateInstance(n);if(o)return t.stopPropagation(),i.show(),void i._selectMenuItem(t);i._isShown()&&(t.stopPropagation(),i.hide(),n.focus())}}j.on(document,ie,le,ye.dataApiKeydownHandler),j.on(document,ie,de,ye.dataApiKeydownHandler),j.on(document,ne,ye.clearMenus),j.on(document,ae,ye.clearMenus),j.on(document,ne,le,(function(t){t.preventDefault(),ye.getOrCreateInstance(this).toggle()})),w(ye);const we="backdrop",xe="show",_e=`mousedown.bs.${we}`,ke={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Ee={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Ie extends U{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return ke}static get DefaultType(){return Ee}static get NAME(){return we}show(t){if(!this._config.isVisible)return void x(t);this._append();const e=this._getElement();this._config.isAnimated&&b(e),e.classList.add(xe),this._emulateAnimation((()=>{x(t)}))}hide(t){this._config.isVisible?(this._getElement().classList.remove(xe),this._emulateAnimation((()=>{this.dispose(),x(t)}))):x(t)}dispose(){this._isAppended&&(j.off(this._element,_e),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=u(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),j.on(t,_e,(()=>{x(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(t){_(t,this._getElement(),this._config.isAnimated)}}const Ae=".bs.focustrap",Te=`focusin${Ae}`,Ce=`keydown.tab${Ae}`,Se="backward",De={autofocus:!0,trapElement:null},Le={autofocus:"boolean",trapElement:"element"};class Ne extends U{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return De}static get DefaultType(){return Le}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),j.off(document,Ae),j.on(document,Te,(t=>this._handleFocusin(t))),j.on(document,Ce,(t=>this._handleKeydown(t))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,j.off(document,Ae))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const r=K.focusableChildren(e);0===r.length?e.focus():this._lastTabNavDirection===Se?r[r.length-1].focus():r[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?Se:"forward")}}const Oe=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Me=".sticky-top",Re="padding-right",Be="margin-right";class Pe{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Re,(e=>e+t)),this._setElementAttributes(Oe,Re,(e=>e+t)),this._setElementAttributes(Me,Be,(e=>e-t))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Re),this._resetElementAttributes(Oe,Re),this._resetElementAttributes(Me,Be)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,r){const o=this.getWidth();this._applyManipulationCallback(t,(t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+o)return;this._saveInitialAttribute(t,e);const n=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${r(Number.parseFloat(n))}px`)}))}_saveInitialAttribute(t,e){const r=t.style.getPropertyValue(e);r&&$.setDataAttribute(t,e,r)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,(t=>{const r=$.getDataAttribute(t,e);null!==r?($.removeDataAttribute(t,e),t.style.setProperty(e,r)):t.style.removeProperty(e)}))}_applyManipulationCallback(t,e){if(d(t))e(t);else for(const r of K.find(t,this._element))e(r)}}const Ve=".bs.modal",je=`hide${Ve}`,ze=`hidePrevented${Ve}`,Fe=`hidden${Ve}`,qe=`show${Ve}`,$e=`shown${Ve}`,Ue=`resize${Ve}`,He=`click.dismiss${Ve}`,Ge=`mousedown.dismiss${Ve}`,Ke=`keydown.dismiss${Ve}`,We=`click${Ve}.data-api`,Qe="modal-open",Xe="show",Ye="modal-static",Je={backdrop:!0,focus:!0,keyboard:!0},Ze={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class tr extends H{constructor(t,e){super(t,e),this._dialog=K.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Pe,this._addEventListeners()}static get Default(){return Je}static get DefaultType(){return Ze}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||j.trigger(this._element,qe,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Qe),this._adjustDialog(),this._backdrop.show((()=>this._showElement(t))))}hide(){this._isShown&&!this._isTransitioning&&(j.trigger(this._element,je).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Xe),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())))}dispose(){j.off(window,Ve),j.off(this._dialog,Ve),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Ie({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Ne({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const e=K.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),b(this._element),this._element.classList.add(Xe),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,j.trigger(this._element,$e,{relatedTarget:t})}),this._dialog,this._isAnimated())}_addEventListeners(){j.on(this._element,Ke,(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())})),j.on(window,Ue,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),j.on(this._element,Ge,(t=>{j.one(this._element,He,(e=>{this._element===t.target&&this._element===e.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(Qe),this._resetAdjustments(),this._scrollBar.reset(),j.trigger(this._element,Fe)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(j.trigger(this._element,ze).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._element.style.overflowY;"hidden"===e||this._element.classList.contains(Ye)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(Ye),this._queueCallback((()=>{this._element.classList.remove(Ye),this._queueCallback((()=>{this._element.style.overflowY=e}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),r=e>0;if(r&&!t){const t=y()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!r&&t){const t=y()?"paddingRight":"paddingLeft";this._element.style[t]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each((function(){const r=tr.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===r[t])throw new TypeError(`No method named "${t}"`);r[t](e)}}))}}j.on(document,We,'[data-bs-toggle="modal"]',(function(t){const e=K.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),j.one(e,qe,(t=>{t.defaultPrevented||j.one(e,Fe,(()=>{m(this)&&this.focus()}))}));const r=K.findOne(".modal.show");r&&tr.getInstance(r).hide(),tr.getOrCreateInstance(e).toggle(this)})),W(tr),w(tr);const er=".bs.offcanvas",rr=".data-api",or=`load${er}${rr}`,nr="show",ir="showing",ar="hiding",sr=".offcanvas.show",lr=`show${er}`,cr=`shown${er}`,dr=`hide${er}`,ur=`hidePrevented${er}`,mr=`hidden${er}`,pr=`resize${er}`,hr=`click${er}${rr}`,gr=`keydown.dismiss${er}`,br={backdrop:!0,keyboard:!0,scroll:!1},fr={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class vr extends H{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return br}static get DefaultType(){return fr}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||j.trigger(this._element,lr,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new Pe).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(ir),this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(nr),this._element.classList.remove(ir),j.trigger(this._element,cr,{relatedTarget:t})}),this._element,!0))}hide(){this._isShown&&(j.trigger(this._element,dr).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(ar),this._backdrop.hide(),this._queueCallback((()=>{this._element.classList.remove(nr,ar),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new Pe).reset(),j.trigger(this._element,mr)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=Boolean(this._config.backdrop);return new Ie({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"!==this._config.backdrop?this.hide():j.trigger(this._element,ur)}:null})}_initializeFocusTrap(){return new Ne({trapElement:this._element})}_addEventListeners(){j.on(this._element,gr,(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():j.trigger(this._element,ur))}))}static jQueryInterface(t){return this.each((function(){const e=vr.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}j.on(document,hr,'[data-bs-toggle="offcanvas"]',(function(t){const e=K.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),p(this))return;j.one(e,mr,(()=>{m(this)&&this.focus()}));const r=K.findOne(sr);r&&r!==e&&vr.getInstance(r).hide(),vr.getOrCreateInstance(e).toggle(this)})),j.on(window,or,(()=>{for(const t of K.find(sr))vr.getOrCreateInstance(t).show()})),j.on(window,pr,(()=>{for(const t of K.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&vr.getOrCreateInstance(t).hide()})),W(vr),w(vr);const yr={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},wr=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),xr=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,_r=(t,e)=>{const r=t.nodeName.toLowerCase();return e.includes(r)?!wr.has(r)||Boolean(xr.test(t.nodeValue)):e.filter((t=>t instanceof RegExp)).some((t=>t.test(r)))},kr={allowList:yr,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Er={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Ir={entry:"(string|element|function|null)",selector:"(string|element)"};class Ar extends U{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return kr}static get DefaultType(){return Er}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((t=>this._resolvePossibleFunction(t))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[e,r]of Object.entries(this._config.content))this._setContent(t,r,e);const e=t.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&e.classList.add(...r.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[e,r]of Object.entries(t))super._typeCheckConfig({selector:e,entry:r},Ir)}_setContent(t,e,r){const o=K.findOne(r,t);o&&((e=this._resolvePossibleFunction(e))?d(e)?this._putElementInTemplate(u(e),o):this._config.html?o.innerHTML=this._maybeSanitize(e):o.textContent=e:o.remove())}_maybeSanitize(t){return this._config.sanitize?function(t,e,r){if(!t.length)return t;if(r&&"function"==typeof r)return r(t);const o=(new window.DOMParser).parseFromString(t,"text/html"),n=[].concat(...o.body.querySelectorAll("*"));for(const t of n){const r=t.nodeName.toLowerCase();if(!Object.keys(e).includes(r)){t.remove();continue}const o=[].concat(...t.attributes),n=[].concat(e["*"]||[],e[r]||[]);for(const e of o)_r(e,n)||t.removeAttribute(e.nodeName)}return o.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return x(t,[this])}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}}const Tr=new Set(["sanitize","allowList","sanitizeFn"]),Cr="fade",Sr="show",Dr=".tooltip-inner",Lr=".modal",Nr="hide.bs.modal",Or="hover",Mr="focus",Rr={AUTO:"auto",TOP:"top",RIGHT:y()?"left":"right",BOTTOM:"bottom",LEFT:y()?"right":"left"},Br={allowList:yr,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},Pr={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Vr extends H{constructor(t,e){if(void 0===o)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,e),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Br}static get DefaultType(){return Pr}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),j.off(this._element.closest(Lr),Nr,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const t=j.trigger(this._element,this.constructor.eventName("show")),e=(h(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!e)return;this._disposePopper();const r=this._getTipElement();this._element.setAttribute("aria-describedby",r.getAttribute("id"));const{container:o}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(o.append(r),j.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(r),r.classList.add(Sr),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))j.on(t,"mouseover",g);this._queueCallback((()=>{j.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(this._isShown()&&!j.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(Sr),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))j.off(t,"mouseover",g);this._activeTrigger.click=!1,this._activeTrigger[Mr]=!1,this._activeTrigger[Or]=!1,this._isHovered=null,this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),j.trigger(this._element,this.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(Cr,Sr),e.classList.add(`bs-${this.constructor.NAME}-auto`);const r=(t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t})(this.constructor.NAME).toString();return e.setAttribute("id",r),this._isAnimated()&&e.classList.add(Cr),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new Ar({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Dr]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Cr)}_isShown(){return this.tip&&this.tip.classList.contains(Sr)}_createPopper(t){const e=x(this._config.placement,[this,t,this._element]),r=Rr[e.toUpperCase()];return n.n4(this._element,t,this._getPopperConfig(r))}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return x(t,[this._element])}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:t=>{this._getTipElement().setAttribute("data-popper-placement",t.state.placement)}}]};return{...e,...x(this._config.popperConfig,[e])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)j.on(this._element,this.constructor.eventName("click"),this._config.selector,(t=>{this._initializeOnDelegatedTarget(t).toggle()}));else if("manual"!==e){const t=e===Or?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),r=e===Or?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");j.on(this._element,t,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?Mr:Or]=!0,e._enter()})),j.on(this._element,r,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?Mr:Or]=e._element.contains(t.relatedTarget),e._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},j.on(this._element.closest(Lr),Nr,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=$.getDataAttributes(this._element);for(const t of Object.keys(e))Tr.has(t)&&delete e[t];return t={...e,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:u(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[e,r]of Object.entries(this._config))this.constructor.Default[e]!==r&&(t[e]=r);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each((function(){const e=Vr.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}w(Vr);const jr=".popover-header",zr=".popover-body",Fr={...Vr.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},qr={...Vr.DefaultType,content:"(null|string|element|function)"};class $r extends Vr{static get Default(){return Fr}static get DefaultType(){return qr}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[jr]:this._getTitle(),[zr]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each((function(){const e=$r.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}w($r);const Ur=".bs.scrollspy",Hr=`activate${Ur}`,Gr=`click${Ur}`,Kr=`load${Ur}.data-api`,Wr="active",Qr="[href]",Xr=".nav-link",Yr=`${Xr}, .nav-item > ${Xr}, .list-group-item`,Jr={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Zr={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class to extends H{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Jr}static get DefaultType(){return Zr}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=u(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,"string"==typeof t.threshold&&(t.threshold=t.threshold.split(",").map((t=>Number.parseFloat(t)))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(j.off(this._config.target,Gr),j.on(this._config.target,Gr,Qr,(t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const r=this._rootElement||window,o=e.offsetTop-this._element.offsetTop;if(r.scrollTo)return void r.scrollTo({top:o,behavior:"smooth"});r.scrollTop=o}})))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((t=>this._observerCallback(t)),t)}_observerCallback(t){const e=t=>this._targetLinks.get(`#${t.target.id}`),r=t=>{this._previousScrollData.visibleEntryTop=t.target.offsetTop,this._process(e(t))},o=(this._rootElement||document.documentElement).scrollTop,n=o>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=o;for(const i of t){if(!i.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(i));continue}const t=i.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(n&&t){if(r(i),!o)return}else n||t||r(i)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=K.find(Qr,this._config.target);for(const e of t){if(!e.hash||p(e))continue;const t=K.findOne(decodeURI(e.hash),this._element);m(t)&&(this._targetLinks.set(decodeURI(e.hash),e),this._observableSections.set(e.hash,t))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(Wr),this._activateParents(t),j.trigger(this._element,Hr,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))K.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(Wr);else for(const e of K.parents(t,".nav, .list-group"))for(const t of K.prev(e,Yr))t.classList.add(Wr)}_clearActiveClass(t){t.classList.remove(Wr);const e=K.find(`${Qr}.${Wr}`,t);for(const t of e)t.classList.remove(Wr)}static jQueryInterface(t){return this.each((function(){const e=to.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}j.on(window,Kr,(()=>{for(const t of K.find('[data-bs-spy="scroll"]'))to.getOrCreateInstance(t)})),w(to);const eo=".bs.tab",ro=`hide${eo}`,oo=`hidden${eo}`,no=`show${eo}`,io=`shown${eo}`,ao=`click${eo}`,so=`keydown${eo}`,lo=`load${eo}`,co="ArrowLeft",uo="ArrowRight",mo="ArrowUp",po="ArrowDown",ho="Home",go="End",bo="active",fo="fade",vo="show",yo=".dropdown-toggle",wo=`:not(${yo})`,xo='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',_o=`.nav-link${wo}, .list-group-item${wo}, [role="tab"]${wo}, ${xo}`,ko=`.${bo}[data-bs-toggle="tab"], .${bo}[data-bs-toggle="pill"], .${bo}[data-bs-toggle="list"]`;class Eo extends H{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),j.on(this._element,so,(t=>this._keydown(t))))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const e=this._getActiveElem(),r=e?j.trigger(e,ro,{relatedTarget:t}):null;j.trigger(t,no,{relatedTarget:e}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){t&&(t.classList.add(bo),this._activate(K.getElementFromSelector(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),j.trigger(t,io,{relatedTarget:e})):t.classList.add(vo)}),t,t.classList.contains(fo)))}_deactivate(t,e){t&&(t.classList.remove(bo),t.blur(),this._deactivate(K.getElementFromSelector(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),j.trigger(t,oo,{relatedTarget:e})):t.classList.remove(vo)}),t,t.classList.contains(fo)))}_keydown(t){if(![co,uo,mo,po,ho,go].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=this._getChildren().filter((t=>!p(t)));let r;if([ho,go].includes(t.key))r=e[t.key===ho?0:e.length-1];else{const o=[uo,po].includes(t.key);r=k(e,t.target,o,!0)}r&&(r.focus({preventScroll:!0}),Eo.getOrCreateInstance(r).show())}_getChildren(){return K.find(_o,this._parent)}_getActiveElem(){return this._getChildren().find((t=>this._elemIsActive(t)))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const t of e)this._setInitialAttributesOnChild(t)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),r=this._getOuterElement(t);t.setAttribute("aria-selected",e),r!==t&&this._setAttributeIfNotExists(r,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=K.getElementFromSelector(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,e){const r=this._getOuterElement(t);if(!r.classList.contains("dropdown"))return;const o=(t,o)=>{const n=K.findOne(t,r);n&&n.classList.toggle(o,e)};o(yo,bo),o(".dropdown-menu",vo),r.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,r){t.hasAttribute(e)||t.setAttribute(e,r)}_elemIsActive(t){return t.classList.contains(bo)}_getInnerElement(t){return t.matches(_o)?t:K.findOne(_o,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each((function(){const e=Eo.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}j.on(document,ao,xo,(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),p(this)||Eo.getOrCreateInstance(this).show()})),j.on(window,lo,(()=>{for(const t of K.find(ko))Eo.getOrCreateInstance(t)})),w(Eo);const Io=".bs.toast",Ao=`mouseover${Io}`,To=`mouseout${Io}`,Co=`focusin${Io}`,So=`focusout${Io}`,Do=`hide${Io}`,Lo=`hidden${Io}`,No=`show${Io}`,Oo=`shown${Io}`,Mo="hide",Ro="show",Bo="showing",Po={animation:"boolean",autohide:"boolean",delay:"number"},Vo={animation:!0,autohide:!0,delay:5e3};class jo extends H{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Vo}static get DefaultType(){return Po}static get NAME(){return"toast"}show(){j.trigger(this._element,No).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(Mo),b(this._element),this._element.classList.add(Ro,Bo),this._queueCallback((()=>{this._element.classList.remove(Bo),j.trigger(this._element,Oo),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this.isShown()&&(j.trigger(this._element,Do).defaultPrevented||(this._element.classList.add(Bo),this._queueCallback((()=>{this._element.classList.add(Mo),this._element.classList.remove(Bo,Ro),j.trigger(this._element,Lo)}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Ro),super.dispose()}isShown(){return this._element.classList.contains(Ro)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const r=t.relatedTarget;this._element===r||this._element.contains(r)||this._maybeScheduleHide()}_setListeners(){j.on(this._element,Ao,(t=>this._onInteraction(t,!0))),j.on(this._element,To,(t=>this._onInteraction(t,!1))),j.on(this._element,Co,(t=>this._onInteraction(t,!0))),j.on(this._element,So,(t=>this._onInteraction(t,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=jo.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}W(jo),w(jo)},9543:(t,e,r)=>{"use strict";r.d(e,{A:()=>W});var o=r(1601),n=r.n(o),i=r(6314),a=r.n(i),s=r(4417),l=r.n(s),c=new URL(r(5531),r.b),d=new URL(r(7115),r.b),u=new URL(r(5419),r.b),m=new URL(r(3385),r.b),p=new URL(r(4274),r.b),h=new URL(r(7154),r.b),g=new URL(r(9023),r.b),b=new URL(r(4718),r.b),f=new URL(r(8734),r.b),v=new URL(r(8487),r.b),y=new URL(r(5372),r.b),w=new URL(r(2247),r.b),x=new URL(r(6366),r.b),_=new URL(r(7326),r.b),k=new URL(r(386),r.b),E=new URL(r(4992),r.b),I=new URL(r(7249),r.b),A=new URL(r(5932),r.b),T=new URL(r(1144),r.b),C=a()(n()),S=l()(c),D=l()(d),L=l()(u),N=l()(m),O=l()(p),M=l()(h),R=l()(g),B=l()(b),P=l()(f),V=l()(v),j=l()(y),z=l()(w),F=l()(x),q=l()(_),$=l()(k),U=l()(E),H=l()(I),G=l()(A),K=l()(T);C.push([t.id,`/*!\n * Bootstrap v5.3.3 (https://getbootstrap.com/)\n * Copyright 2011-2024 The Bootstrap Authors\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n */:root,[data-bs-theme=light]{--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #0d6efd;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 13, 110, 253;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-primary-text-emphasis: rgb(5.2, 44, 101.2);--bs-secondary-text-emphasis: rgb(43.2, 46.8, 50);--bs-success-text-emphasis: rgb(10, 54, 33.6);--bs-info-text-emphasis: rgb(5.2, 80.8, 96);--bs-warning-text-emphasis: rgb(102, 77.2, 2.8);--bs-danger-text-emphasis: rgb(88, 21.2, 27.6);--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: rgb(206.6, 226, 254.6);--bs-secondary-bg-subtle: rgb(225.6, 227.4, 229);--bs-success-bg-subtle: rgb(209, 231, 220.8);--bs-info-bg-subtle: rgb(206.6, 244.4, 252);--bs-warning-bg-subtle: rgb(255, 242.6, 205.4);--bs-danger-bg-subtle: rgb(248, 214.6, 217.8);--bs-light-bg-subtle: rgb(251.5, 252, 252.5);--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: rgb(158.2, 197, 254.2);--bs-secondary-border-subtle: rgb(196.2, 199.8, 203);--bs-success-border-subtle: rgb(163, 207, 186.6);--bs-info-border-subtle: rgb(158.2, 233.8, 249);--bs-warning-border-subtle: rgb(255, 230.2, 155.8);--bs-danger-border-subtle: rgb(241, 174.2, 180.6);--bs-light-border-subtle: #e9ecef;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg: #fff;--bs-body-bg-rgb: 255, 255, 255;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(33, 37, 41, 0.75);--bs-secondary-color-rgb: 33, 37, 41;--bs-secondary-bg: #e9ecef;--bs-secondary-bg-rgb: 233, 236, 239;--bs-tertiary-color: rgba(33, 37, 41, 0.5);--bs-tertiary-color-rgb: 33, 37, 41;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #0d6efd;--bs-link-color-rgb: 13, 110, 253;--bs-link-decoration: underline;--bs-link-hover-color: rgb(10.4, 88, 202.4);--bs-link-hover-color-rgb: 10, 88, 202;--bs-code-color: #d63384;--bs-highlight-color: #212529;--bs-highlight-bg: rgb(255, 242.6, 205.4);--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, 0.175);--bs-border-radius: 0.375rem;--bs-border-radius-sm: 0.25rem;--bs-border-radius-lg: 0.5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width: 0.25rem;--bs-focus-ring-opacity: 0.25;--bs-focus-ring-color: rgba(13, 110, 253, 0.25);--bs-form-valid-color: #198754;--bs-form-valid-border-color: #198754;--bs-form-invalid-color: #dc3545;--bs-form-invalid-border-color: #dc3545}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color: #dee2e6;--bs-body-color-rgb: 222, 226, 230;--bs-body-bg: #212529;--bs-body-bg-rgb: 33, 37, 41;--bs-emphasis-color: #fff;--bs-emphasis-color-rgb: 255, 255, 255;--bs-secondary-color: rgba(222, 226, 230, 0.75);--bs-secondary-color-rgb: 222, 226, 230;--bs-secondary-bg: #343a40;--bs-secondary-bg-rgb: 52, 58, 64;--bs-tertiary-color: rgba(222, 226, 230, 0.5);--bs-tertiary-color-rgb: 222, 226, 230;--bs-tertiary-bg: rgb(42.5, 47.5, 52.5);--bs-tertiary-bg-rgb: 43, 48, 53;--bs-primary-text-emphasis: rgb(109.8, 168, 253.8);--bs-secondary-text-emphasis: rgb(166.8, 172.2, 177);--bs-success-text-emphasis: rgb(117, 183, 152.4);--bs-info-text-emphasis: rgb(109.8, 223.2, 246);--bs-warning-text-emphasis: rgb(255, 217.8, 106.2);--bs-danger-text-emphasis: rgb(234, 133.8, 143.4);--bs-light-text-emphasis: #f8f9fa;--bs-dark-text-emphasis: #dee2e6;--bs-primary-bg-subtle: rgb(2.6, 22, 50.6);--bs-secondary-bg-subtle: rgb(21.6, 23.4, 25);--bs-success-bg-subtle: rgb(5, 27, 16.8);--bs-info-bg-subtle: rgb(2.6, 40.4, 48);--bs-warning-bg-subtle: rgb(51, 38.6, 1.4);--bs-danger-bg-subtle: rgb(44, 10.6, 13.8);--bs-light-bg-subtle: #343a40;--bs-dark-bg-subtle: #1a1d20;--bs-primary-border-subtle: rgb(7.8, 66, 151.8);--bs-secondary-border-subtle: rgb(64.8, 70.2, 75);--bs-success-border-subtle: rgb(15, 81, 50.4);--bs-info-border-subtle: rgb(7.8, 121.2, 144);--bs-warning-border-subtle: rgb(153, 115.8, 4.2);--bs-danger-border-subtle: rgb(132, 31.8, 41.4);--bs-light-border-subtle: #495057;--bs-dark-border-subtle: #343a40;--bs-heading-color: inherit;--bs-link-color: rgb(109.8, 168, 253.8);--bs-link-hover-color: rgb(138.84, 185.4, 254.04);--bs-link-color-rgb: 110, 168, 254;--bs-link-hover-color-rgb: 139, 185, 254;--bs-code-color: rgb(230.4, 132.6, 181.2);--bs-highlight-color: #dee2e6;--bs-highlight-bg: rgb(102, 77.2, 2.8);--bs-border-color: #495057;--bs-border-color-translucent: rgba(255, 255, 255, 0.15);--bs-form-valid-color: rgb(117, 183, 152.4);--bs-form-valid-border-color: rgb(117, 183, 152.4);--bs-form-invalid-color: rgb(234, 133.8, 143.4);--bs-form-invalid-border-color: rgb(234, 133.8, 143.4)}*,*::before,*::after{box-sizing:border-box}@media(prefers-reduced-motion: no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}hr{margin:1rem 0;color:inherit;border:0;border-top:var(--bs-border-width) solid;opacity:.25}h6,.h6,h5,.h5,h4,.h4,h3,.h3,h2,.h2,h1,.h1{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2;color:var(--bs-heading-color)}h1,.h1{font-size:calc(1.375rem + 1.5vw)}@media(min-width: 1200px){h1,.h1{font-size:2.5rem}}h2,.h2{font-size:calc(1.325rem + 0.9vw)}@media(min-width: 1200px){h2,.h2{font-size:2rem}}h3,.h3{font-size:calc(1.3rem + 0.6vw)}@media(min-width: 1200px){h3,.h3{font-size:1.75rem}}h4,.h4{font-size:calc(1.275rem + 0.3vw)}@media(min-width: 1200px){h4,.h4{font-size:1.5rem}}h5,.h5{font-size:1.25rem}h6,.h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{text-decoration:underline dotted;cursor:help;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}ol,ul,dl{margin-top:0;margin-bottom:1rem}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small,.small{font-size:0.875em}mark,.mark{padding:.1875em;color:var(--bs-highlight-color);background-color:var(--bs-highlight-bg)}sub,sup{position:relative;font-size:0.75em;line-height:0;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}a{color:rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));text-decoration:underline}a:hover{--bs-link-color-rgb: var(--bs-link-hover-color-rgb)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}pre,code,kbd,samp{font-family:var(--bs-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:0.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:0.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.1875rem .375rem;font-size:0.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-secondary-color);text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}thead,tbody,tfoot,tr,td,th{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}input,button,select,optgroup,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none !important}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button:not(:disabled),[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + 0.3vw);line-height:inherit}@media(min-width: 1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-text,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none !important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media(min-width: 1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media(min-width: 1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media(min-width: 1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media(min-width: 1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media(min-width: 1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media(min-width: 1200px){.display-6{font-size:2.5rem}}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:0.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:0.875em;color:#6c757d}.blockquote-footer::before{content:"— "}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:var(--bs-body-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:0.875em;color:var(--bs-secondary-color)}.container,.container-fluid,.container-xxl,.container-xl,.container-lg,.container-md,.container-sm{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;width:100%;padding-right:calc(var(--bs-gutter-x)*.5);padding-left:calc(var(--bs-gutter-x)*.5);margin-right:auto;margin-left:auto}@media(min-width: 576px){.container-sm,.container{max-width:540px}}@media(min-width: 768px){.container-md,.container-sm,.container{max-width:720px}}@media(min-width: 992px){.container-lg,.container-md,.container-sm,.container{max-width:960px}}@media(min-width: 1200px){.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1140px}}@media(min-width: 1400px){.container-xxl,.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1320px}}:root{--bs-breakpoint-xs: 0;--bs-breakpoint-sm: 576px;--bs-breakpoint-md: 768px;--bs-breakpoint-lg: 992px;--bs-breakpoint-xl: 1200px;--bs-breakpoint-xxl: 1400px}.row{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;display:flex;flex-wrap:wrap;margin-top:calc(-1*var(--bs-gutter-y));margin-right:calc(-0.5*var(--bs-gutter-x));margin-left:calc(-0.5*var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x)*.5);padding-left:calc(var(--bs-gutter-x)*.5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.66666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x: 0}.g-0,.gy-0{--bs-gutter-y: 0}.g-1,.gx-1{--bs-gutter-x: 0.25rem}.g-1,.gy-1{--bs-gutter-y: 0.25rem}.g-2,.gx-2{--bs-gutter-x: 0.5rem}.g-2,.gy-2{--bs-gutter-y: 0.5rem}.g-3,.gx-3{--bs-gutter-x: 1rem}.g-3,.gy-3{--bs-gutter-y: 1rem}.g-4,.gx-4{--bs-gutter-x: 1.5rem}.g-4,.gy-4{--bs-gutter-y: 1.5rem}.g-5,.gx-5{--bs-gutter-x: 3rem}.g-5,.gy-5{--bs-gutter-y: 3rem}@media(min-width: 576px){.col-sm{flex:1 0 0%}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.66666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x: 0}.g-sm-0,.gy-sm-0{--bs-gutter-y: 0}.g-sm-1,.gx-sm-1{--bs-gutter-x: 0.25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y: 0.25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x: 0.5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y: 0.5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x: 1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y: 1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x: 1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y: 1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x: 3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y: 3rem}}@media(min-width: 768px){.col-md{flex:1 0 0%}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.66666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x: 0}.g-md-0,.gy-md-0{--bs-gutter-y: 0}.g-md-1,.gx-md-1{--bs-gutter-x: 0.25rem}.g-md-1,.gy-md-1{--bs-gutter-y: 0.25rem}.g-md-2,.gx-md-2{--bs-gutter-x: 0.5rem}.g-md-2,.gy-md-2{--bs-gutter-y: 0.5rem}.g-md-3,.gx-md-3{--bs-gutter-x: 1rem}.g-md-3,.gy-md-3{--bs-gutter-y: 1rem}.g-md-4,.gx-md-4{--bs-gutter-x: 1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y: 1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x: 3rem}.g-md-5,.gy-md-5{--bs-gutter-y: 3rem}}@media(min-width: 992px){.col-lg{flex:1 0 0%}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.66666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x: 0}.g-lg-0,.gy-lg-0{--bs-gutter-y: 0}.g-lg-1,.gx-lg-1{--bs-gutter-x: 0.25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y: 0.25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x: 0.5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y: 0.5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x: 1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y: 1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x: 1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y: 1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x: 3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y: 3rem}}@media(min-width: 1200px){.col-xl{flex:1 0 0%}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.66666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x: 0}.g-xl-0,.gy-xl-0{--bs-gutter-y: 0}.g-xl-1,.gx-xl-1{--bs-gutter-x: 0.25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y: 0.25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x: 0.5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y: 0.5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x: 1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y: 1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x: 1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y: 1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x: 3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y: 3rem}}@media(min-width: 1400px){.col-xxl{flex:1 0 0%}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.66666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x: 0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y: 0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x: 0.25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y: 0.25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x: 0.5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y: 0.5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x: 1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y: 1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x: 1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y: 1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x: 3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y: 3rem}}.table{--bs-table-color-type: initial;--bs-table-bg-type: initial;--bs-table-color-state: initial;--bs-table-bg-state: initial;--bs-table-color: var(--bs-emphasis-color);--bs-table-bg: var(--bs-body-bg);--bs-table-border-color: var(--bs-border-color);--bs-table-accent-bg: transparent;--bs-table-striped-color: var(--bs-emphasis-color);--bs-table-striped-bg: rgba(var(--bs-emphasis-color-rgb), 0.05);--bs-table-active-color: var(--bs-emphasis-color);--bs-table-active-bg: rgba(var(--bs-emphasis-color-rgb), 0.1);--bs-table-hover-color: var(--bs-emphasis-color);--bs-table-hover-bg: rgba(var(--bs-emphasis-color-rgb), 0.075);width:100%;margin-bottom:1rem;vertical-align:top;border-color:var(--bs-table-border-color)}.table>:not(caption)>*>*{padding:.5rem .5rem;color:var(--bs-table-color-state, var(--bs-table-color-type, var(--bs-table-color)));background-color:var(--bs-table-bg);border-bottom-width:var(--bs-border-width);box-shadow:inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)))}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table-group-divider{border-top:calc(var(--bs-border-width)*2) solid currentcolor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem .25rem}.table-bordered>:not(caption)>*{border-width:var(--bs-border-width) 0}.table-bordered>:not(caption)>*>*{border-width:0 var(--bs-border-width)}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-color-type: var(--bs-table-striped-color);--bs-table-bg-type: var(--bs-table-striped-bg)}.table-striped-columns>:not(caption)>tr>:nth-child(even){--bs-table-color-type: var(--bs-table-striped-color);--bs-table-bg-type: var(--bs-table-striped-bg)}.table-active{--bs-table-color-state: var(--bs-table-active-color);--bs-table-bg-state: var(--bs-table-active-bg)}.table-hover>tbody>tr:hover>*{--bs-table-color-state: var(--bs-table-hover-color);--bs-table-bg-state: var(--bs-table-hover-bg)}.table-primary{--bs-table-color: #000;--bs-table-bg: rgb(206.6, 226, 254.6);--bs-table-border-color: rgb(165.28, 180.8, 203.68);--bs-table-striped-bg: rgb(196.27, 214.7, 241.87);--bs-table-striped-color: #000;--bs-table-active-bg: rgb(185.94, 203.4, 229.14);--bs-table-active-color: #000;--bs-table-hover-bg: rgb(191.105, 209.05, 235.505);--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-secondary{--bs-table-color: #000;--bs-table-bg: rgb(225.6, 227.4, 229);--bs-table-border-color: rgb(180.48, 181.92, 183.2);--bs-table-striped-bg: rgb(214.32, 216.03, 217.55);--bs-table-striped-color: #000;--bs-table-active-bg: rgb(203.04, 204.66, 206.1);--bs-table-active-color: #000;--bs-table-hover-bg: rgb(208.68, 210.345, 211.825);--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-success{--bs-table-color: #000;--bs-table-bg: rgb(209, 231, 220.8);--bs-table-border-color: rgb(167.2, 184.8, 176.64);--bs-table-striped-bg: rgb(198.55, 219.45, 209.76);--bs-table-striped-color: #000;--bs-table-active-bg: rgb(188.1, 207.9, 198.72);--bs-table-active-color: #000;--bs-table-hover-bg: rgb(193.325, 213.675, 204.24);--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-info{--bs-table-color: #000;--bs-table-bg: rgb(206.6, 244.4, 252);--bs-table-border-color: rgb(165.28, 195.52, 201.6);--bs-table-striped-bg: rgb(196.27, 232.18, 239.4);--bs-table-striped-color: #000;--bs-table-active-bg: rgb(185.94, 219.96, 226.8);--bs-table-active-color: #000;--bs-table-hover-bg: rgb(191.105, 226.07, 233.1);--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-warning{--bs-table-color: #000;--bs-table-bg: rgb(255, 242.6, 205.4);--bs-table-border-color: rgb(204, 194.08, 164.32);--bs-table-striped-bg: rgb(242.25, 230.47, 195.13);--bs-table-striped-color: #000;--bs-table-active-bg: rgb(229.5, 218.34, 184.86);--bs-table-active-color: #000;--bs-table-hover-bg: rgb(235.875, 224.405, 189.995);--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-danger{--bs-table-color: #000;--bs-table-bg: rgb(248, 214.6, 217.8);--bs-table-border-color: rgb(198.4, 171.68, 174.24);--bs-table-striped-bg: rgb(235.6, 203.87, 206.91);--bs-table-striped-color: #000;--bs-table-active-bg: rgb(223.2, 193.14, 196.02);--bs-table-active-color: #000;--bs-table-hover-bg: rgb(229.4, 198.505, 201.465);--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-light{--bs-table-color: #000;--bs-table-bg: #f8f9fa;--bs-table-border-color: rgb(198.4, 199.2, 200);--bs-table-striped-bg: rgb(235.6, 236.55, 237.5);--bs-table-striped-color: #000;--bs-table-active-bg: rgb(223.2, 224.1, 225);--bs-table-active-color: #000;--bs-table-hover-bg: rgb(229.4, 230.325, 231.25);--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-dark{--bs-table-color: #fff;--bs-table-bg: #212529;--bs-table-border-color: rgb(77.4, 80.6, 83.8);--bs-table-striped-bg: rgb(44.1, 47.9, 51.7);--bs-table-striped-color: #fff;--bs-table-active-bg: rgb(55.2, 58.8, 62.4);--bs-table-active-color: #fff;--bs-table-hover-bg: rgb(49.65, 53.35, 57.05);--bs-table-hover-color: #fff;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media(max-width: 575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media(max-width: 767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media(max-width: 991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media(max-width: 1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media(max-width: 1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(0.375rem + var(--bs-border-width));padding-bottom:calc(0.375rem + var(--bs-border-width));margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(0.5rem + var(--bs-border-width));padding-bottom:calc(0.5rem + var(--bs-border-width));font-size:1.25rem}.col-form-label-sm{padding-top:calc(0.25rem + var(--bs-border-width));padding-bottom:calc(0.25rem + var(--bs-border-width));font-size:0.875rem}.form-text{margin-top:.25rem;font-size:0.875em;color:var(--bs-secondary-color)}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);appearance:none;background-color:var(--bs-body-bg);background-clip:padding-box;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion: reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:var(--bs-body-color);background-color:var(--bs-body-bg);border-color:rgb(134,182.5,254);outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-control::-webkit-date-and-time-value{min-width:85px;height:1.5em;margin:0}.form-control::-webkit-datetime-edit{display:block;padding:0}.form-control::placeholder{color:var(--bs-secondary-color);opacity:1}.form-control:disabled{background-color:var(--bs-secondary-bg);opacity:1}.form-control::file-selector-button{padding:.375rem .75rem;margin:-0.375rem -0.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion: reduce){.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:var(--bs-secondary-bg)}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:var(--bs-body-color);background-color:rgba(0,0,0,0);border:solid rgba(0,0,0,0);border-width:var(--bs-border-width) 0}.form-control-plaintext:focus{outline:0}.form-control-plaintext.form-control-sm,.form-control-plaintext.form-control-lg{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + 0.5rem + calc(var(--bs-border-width) * 2));padding:.25rem .5rem;font-size:0.875rem;border-radius:var(--bs-border-radius-sm)}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-0.25rem -0.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-0.5rem -1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + 0.75rem + calc(var(--bs-border-width) * 2))}textarea.form-control-sm{min-height:calc(1.5em + 0.5rem + calc(var(--bs-border-width) * 2))}textarea.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-control-color{width:3rem;height:calc(1.5em + 0.75rem + calc(var(--bs-border-width) * 2));padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{border:0 !important;border-radius:var(--bs-border-radius)}.form-control-color::-webkit-color-swatch{border:0 !important;border-radius:var(--bs-border-radius)}.form-control-color.form-control-sm{height:calc(1.5em + 0.5rem + calc(var(--bs-border-width) * 2))}.form-control-color.form-control-lg{height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-select{--bs-form-select-bg-img: url(${S});display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);appearance:none;background-color:var(--bs-body-bg);background-image:var(--bs-form-select-bg-img),var(--bs-form-select-bg-icon, none);background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion: reduce){.form-select{transition:none}}.form-select:focus{border-color:rgb(134,182.5,254);outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:var(--bs-secondary-bg)}.form-select:-moz-focusring{color:rgba(0,0,0,0);text-shadow:0 0 0 var(--bs-body-color)}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:0.875rem;border-radius:var(--bs-border-radius-sm)}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}[data-bs-theme=dark] .form-select{--bs-form-select-bg-img: url(${D})}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-reverse{padding-right:1.5em;padding-left:0;text-align:right}.form-check-reverse .form-check-input{float:right;margin-right:-1.5em;margin-left:0}.form-check-input{--bs-form-check-bg: var(--bs-body-bg);flex-shrink:0;width:1em;height:1em;margin-top:.25em;vertical-align:top;appearance:none;background-color:var(--bs-form-check-bg);background-image:var(--bs-form-check-bg-image);background-repeat:no-repeat;background-position:center;background-size:contain;border:var(--bs-border-width) solid var(--bs-border-color);print-color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:rgb(134,182.5,254);outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-check-input:checked{background-color:#0d6efd;border-color:#0d6efd}.form-check-input:checked[type=checkbox]{--bs-form-check-bg-image: url(${L})}.form-check-input:checked[type=radio]{--bs-form-check-bg-image: url(${N})}.form-check-input[type=checkbox]:indeterminate{background-color:#0d6efd;border-color:#0d6efd;--bs-form-check-bg-image: url(${O})}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input[disabled]~.form-check-label,.form-check-input:disabled~.form-check-label{cursor:default;opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{--bs-form-switch-bg: url(${M});width:2em;margin-left:-2.5em;background-image:var(--bs-form-switch-bg);background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}@media(prefers-reduced-motion: reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{--bs-form-switch-bg: url(${R})}.form-switch .form-check-input:checked{background-position:right center;--bs-form-switch-bg: url(${B})}.form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}.form-switch.form-check-reverse .form-check-input{margin-right:-2.5em;margin-left:0}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0, 0, 0, 0);pointer-events:none}.btn-check[disabled]+.btn,.btn-check:disabled+.btn{pointer-events:none;filter:none;opacity:.65}[data-bs-theme=dark] .form-switch .form-check-input:not(:checked):not(:focus){--bs-form-switch-bg: url(${P})}.form-range{width:100%;height:1.5rem;padding:0;appearance:none;background-color:rgba(0,0,0,0)}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem rgba(13,110,253,.25)}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem rgba(13,110,253,.25)}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-0.25rem;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion: reduce){.form-range::-webkit-slider-thumb{transition:none}}.form-range::-webkit-slider-thumb:active{background-color:rgb(182.4,211.5,254.4)}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:rgba(0,0,0,0);cursor:pointer;background-color:var(--bs-secondary-bg);border-color:rgba(0,0,0,0);border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion: reduce){.form-range::-moz-range-thumb{transition:none}}.form-range::-moz-range-thumb:active{background-color:rgb(182.4,211.5,254.4)}.form-range::-moz-range-track{width:100%;height:.5rem;color:rgba(0,0,0,0);cursor:pointer;background-color:var(--bs-secondary-bg);border-color:rgba(0,0,0,0);border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:var(--bs-secondary-color)}.form-range:disabled::-moz-range-thumb{background-color:var(--bs-secondary-color)}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-control-plaintext,.form-floating>.form-select{height:calc(3.5rem + calc(var(--bs-border-width) * 2));min-height:calc(3.5rem + calc(var(--bs-border-width) * 2));line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;z-index:2;height:100%;padding:1rem .75rem;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:var(--bs-border-width) solid rgba(0,0,0,0);transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media(prefers-reduced-motion: reduce){.form-floating>label{transition:none}}.form-floating>.form-control,.form-floating>.form-control-plaintext{padding:1rem .75rem}.form-floating>.form-control::placeholder,.form-floating>.form-control-plaintext::placeholder{color:rgba(0,0,0,0)}.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown),.form-floating>.form-control-plaintext:focus,.form-floating>.form-control-plaintext:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:-webkit-autofill,.form-floating>.form-control-plaintext:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-control-plaintext~label,.form-floating>.form-select~label{color:rgba(var(--bs-body-color-rgb), 0.65);transform:scale(0.85) translateY(-0.5rem) translateX(0.15rem)}.form-floating>.form-control:focus~label::after,.form-floating>.form-control:not(:placeholder-shown)~label::after,.form-floating>.form-control-plaintext~label::after,.form-floating>.form-select~label::after{position:absolute;inset:1rem .375rem;z-index:-1;height:1.5em;content:"";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>.form-control:-webkit-autofill~label{color:rgba(var(--bs-body-color-rgb), 0.65);transform:scale(0.85) translateY(-0.5rem) translateX(0.15rem)}.form-floating>.form-control-plaintext~label{border-width:var(--bs-border-width) 0}.form-floating>:disabled~label,.form-floating>.form-control:disabled~label{color:#6c757d}.form-floating>:disabled~label::after,.form-floating>.form-control:disabled~label::after{background-color:var(--bs-secondary-bg)}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-select,.input-group>.form-floating{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-select:focus,.input-group>.form-floating:focus-within{z-index:5}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:5}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);text-align:center;white-space:nowrap;background-color:var(--bs-tertiary-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius)}.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text,.input-group-lg>.btn{padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text,.input-group-sm>.btn{padding:.25rem .5rem;font-size:0.875rem;border-radius:var(--bs-border-radius-sm)}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:calc(var(--bs-border-width)*-1);border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.form-floating:not(:first-child)>.form-control,.input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:0.875em;color:var(--bs-form-valid-color)}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:0.875rem;color:#fff;background-color:var(--bs-success);border-radius:var(--bs-border-radius)}.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip,.is-valid~.valid-feedback,.is-valid~.valid-tooltip{display:block}.was-validated .form-control:valid,.form-control.is-valid{border-color:var(--bs-form-valid-border-color);padding-right:calc(1.5em + 0.75rem);background-image:url(${V});background-repeat:no-repeat;background-position:right calc(0.375em + 0.1875rem) center;background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem)}.was-validated .form-control:valid:focus,.form-control.is-valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb), 0.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + 0.75rem);background-position:top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem)}.was-validated .form-select:valid,.form-select.is-valid{border-color:var(--bs-form-valid-border-color)}.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"],.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"]{--bs-form-select-bg-icon: url(${V});padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(0.75em + 0.375rem) calc(0.75em + 0.375rem)}.was-validated .form-select:valid:focus,.form-select.is-valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb), 0.25)}.was-validated .form-control-color:valid,.form-control-color.is-valid{width:calc(3rem + calc(1.5em + 0.75rem))}.was-validated .form-check-input:valid,.form-check-input.is-valid{border-color:var(--bs-form-valid-border-color)}.was-validated .form-check-input:valid:checked,.form-check-input.is-valid:checked{background-color:var(--bs-form-valid-color)}.was-validated .form-check-input:valid:focus,.form-check-input.is-valid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb), 0.25)}.was-validated .form-check-input:valid~.form-check-label,.form-check-input.is-valid~.form-check-label{color:var(--bs-form-valid-color)}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):valid,.input-group>.form-control:not(:focus).is-valid,.was-validated .input-group>.form-select:not(:focus):valid,.input-group>.form-select:not(:focus).is-valid,.was-validated .input-group>.form-floating:not(:focus-within):valid,.input-group>.form-floating:not(:focus-within).is-valid{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:0.875em;color:var(--bs-form-invalid-color)}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:0.875rem;color:#fff;background-color:var(--bs-danger);border-radius:var(--bs-border-radius)}.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip,.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip{display:block}.was-validated .form-control:invalid,.form-control.is-invalid{border-color:var(--bs-form-invalid-border-color);padding-right:calc(1.5em + 0.75rem);background-image:url(${j});background-repeat:no-repeat;background-position:right calc(0.375em + 0.1875rem) center;background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem)}.was-validated .form-control:invalid:focus,.form-control.is-invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb), 0.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + 0.75rem);background-position:top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem)}.was-validated .form-select:invalid,.form-select.is-invalid{border-color:var(--bs-form-invalid-border-color)}.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"],.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"]{--bs-form-select-bg-icon: url(${j});padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(0.75em + 0.375rem) calc(0.75em + 0.375rem)}.was-validated .form-select:invalid:focus,.form-select.is-invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb), 0.25)}.was-validated .form-control-color:invalid,.form-control-color.is-invalid{width:calc(3rem + calc(1.5em + 0.75rem))}.was-validated .form-check-input:invalid,.form-check-input.is-invalid{border-color:var(--bs-form-invalid-border-color)}.was-validated .form-check-input:invalid:checked,.form-check-input.is-invalid:checked{background-color:var(--bs-form-invalid-color)}.was-validated .form-check-input:invalid:focus,.form-check-input.is-invalid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb), 0.25)}.was-validated .form-check-input:invalid~.form-check-label,.form-check-input.is-invalid~.form-check-label{color:var(--bs-form-invalid-color)}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):invalid,.input-group>.form-control:not(:focus).is-invalid,.was-validated .input-group>.form-select:not(:focus):invalid,.input-group>.form-select:not(:focus).is-invalid,.was-validated .input-group>.form-floating:not(:focus-within):invalid,.input-group>.form-floating:not(:focus-within).is-invalid{z-index:4}.btn{--bs-btn-padding-x: 0.75rem;--bs-btn-padding-y: 0.375rem;--bs-btn-font-family: ;--bs-btn-font-size:1rem;--bs-btn-font-weight: 400;--bs-btn-line-height: 1.5;--bs-btn-color: var(--bs-body-color);--bs-btn-bg: transparent;--bs-btn-border-width: var(--bs-border-width);--bs-btn-border-color: transparent;--bs-btn-border-radius: var(--bs-border-radius);--bs-btn-hover-border-color: transparent;--bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);--bs-btn-disabled-opacity: 0.65;--bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion: reduce){.btn{transition:none}}.btn:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn-check+.btn:hover{color:var(--bs-btn-color);background-color:var(--bs-btn-bg);border-color:var(--bs-btn-border-color)}.btn:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,:not(.btn-check)+.btn:active,.btn:first-child:active,.btn.active,.btn.show{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,:not(.btn-check)+.btn:active:focus-visible,.btn:first-child:active:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked:focus-visible+.btn{box-shadow:var(--bs-btn-focus-box-shadow)}.btn:disabled,.btn.disabled,fieldset:disabled .btn{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-primary{--bs-btn-color: #fff;--bs-btn-bg: #0d6efd;--bs-btn-border-color: #0d6efd;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: rgb(11.05, 93.5, 215.05);--bs-btn-hover-border-color: rgb(10.4, 88, 202.4);--bs-btn-focus-shadow-rgb: 49, 132, 253;--bs-btn-active-color: #fff;--bs-btn-active-bg: rgb(10.4, 88, 202.4);--bs-btn-active-border-color: rgb(9.75, 82.5, 189.75);--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #0d6efd;--bs-btn-disabled-border-color: #0d6efd}.btn-secondary{--bs-btn-color: #fff;--bs-btn-bg: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: rgb(91.8, 99.45, 106.25);--bs-btn-hover-border-color: rgb(86.4, 93.6, 100);--bs-btn-focus-shadow-rgb: 130, 138, 145;--bs-btn-active-color: #fff;--bs-btn-active-bg: rgb(86.4, 93.6, 100);--bs-btn-active-border-color: rgb(81, 87.75, 93.75);--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #6c757d;--bs-btn-disabled-border-color: #6c757d}.btn-success{--bs-btn-color: #fff;--bs-btn-bg: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: rgb(21.25, 114.75, 71.4);--bs-btn-hover-border-color: rgb(20, 108, 67.2);--bs-btn-focus-shadow-rgb: 60, 153, 110;--bs-btn-active-color: #fff;--bs-btn-active-bg: rgb(20, 108, 67.2);--bs-btn-active-border-color: rgb(18.75, 101.25, 63);--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #198754;--bs-btn-disabled-border-color: #198754}.btn-info{--bs-btn-color: #000;--bs-btn-bg: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: rgb(49.3, 209.95, 242.25);--bs-btn-hover-border-color: rgb(37.2, 207.3, 241.5);--bs-btn-focus-shadow-rgb: 11, 172, 204;--bs-btn-active-color: #000;--bs-btn-active-bg: rgb(61.4, 212.6, 243);--bs-btn-active-border-color: rgb(37.2, 207.3, 241.5);--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #0dcaf0;--bs-btn-disabled-border-color: #0dcaf0}.btn-warning{--bs-btn-color: #000;--bs-btn-bg: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: rgb(255, 202.3, 44.2);--bs-btn-hover-border-color: rgb(255, 199.2, 31.8);--bs-btn-focus-shadow-rgb: 217, 164, 6;--bs-btn-active-color: #000;--bs-btn-active-bg: rgb(255, 205.4, 56.6);--bs-btn-active-border-color: rgb(255, 199.2, 31.8);--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #ffc107;--bs-btn-disabled-border-color: #ffc107}.btn-danger{--bs-btn-color: #fff;--bs-btn-bg: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: rgb(187, 45.05, 58.65);--bs-btn-hover-border-color: rgb(176, 42.4, 55.2);--bs-btn-focus-shadow-rgb: 225, 83, 97;--bs-btn-active-color: #fff;--bs-btn-active-bg: rgb(176, 42.4, 55.2);--bs-btn-active-border-color: rgb(165, 39.75, 51.75);--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #dc3545;--bs-btn-disabled-border-color: #dc3545}.btn-light{--bs-btn-color: #000;--bs-btn-bg: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: rgb(210.8, 211.65, 212.5);--bs-btn-hover-border-color: rgb(198.4, 199.2, 200);--bs-btn-focus-shadow-rgb: 211, 212, 213;--bs-btn-active-color: #000;--bs-btn-active-bg: rgb(198.4, 199.2, 200);--bs-btn-active-border-color: rgb(186, 186.75, 187.5);--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #f8f9fa;--bs-btn-disabled-border-color: #f8f9fa}.btn-dark{--bs-btn-color: #fff;--bs-btn-bg: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: rgb(66.3, 69.7, 73.1);--bs-btn-hover-border-color: rgb(55.2, 58.8, 62.4);--bs-btn-focus-shadow-rgb: 66, 70, 73;--bs-btn-active-color: #fff;--bs-btn-active-bg: rgb(77.4, 80.6, 83.8);--bs-btn-active-border-color: rgb(55.2, 58.8, 62.4);--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #212529;--bs-btn-disabled-border-color: #212529}.btn-outline-primary{--bs-btn-color: #0d6efd;--bs-btn-border-color: #0d6efd;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #0d6efd;--bs-btn-hover-border-color: #0d6efd;--bs-btn-focus-shadow-rgb: 13, 110, 253;--bs-btn-active-color: #fff;--bs-btn-active-bg: #0d6efd;--bs-btn-active-border-color: #0d6efd;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #0d6efd;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #0d6efd;--bs-gradient: none}.btn-outline-secondary{--bs-btn-color: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #6c757d;--bs-btn-hover-border-color: #6c757d;--bs-btn-focus-shadow-rgb: 108, 117, 125;--bs-btn-active-color: #fff;--bs-btn-active-bg: #6c757d;--bs-btn-active-border-color: #6c757d;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #6c757d;--bs-gradient: none}.btn-outline-success{--bs-btn-color: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #198754;--bs-btn-hover-border-color: #198754;--bs-btn-focus-shadow-rgb: 25, 135, 84;--bs-btn-active-color: #fff;--bs-btn-active-bg: #198754;--bs-btn-active-border-color: #198754;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #198754;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #198754;--bs-gradient: none}.btn-outline-info{--bs-btn-color: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #0dcaf0;--bs-btn-hover-border-color: #0dcaf0;--bs-btn-focus-shadow-rgb: 13, 202, 240;--bs-btn-active-color: #000;--bs-btn-active-bg: #0dcaf0;--bs-btn-active-border-color: #0dcaf0;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #0dcaf0;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #0dcaf0;--bs-gradient: none}.btn-outline-warning{--bs-btn-color: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ffc107;--bs-btn-hover-border-color: #ffc107;--bs-btn-focus-shadow-rgb: 255, 193, 7;--bs-btn-active-color: #000;--bs-btn-active-bg: #ffc107;--bs-btn-active-border-color: #ffc107;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #ffc107;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #ffc107;--bs-gradient: none}.btn-outline-danger{--bs-btn-color: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #dc3545;--bs-btn-hover-border-color: #dc3545;--bs-btn-focus-shadow-rgb: 220, 53, 69;--bs-btn-active-color: #fff;--bs-btn-active-bg: #dc3545;--bs-btn-active-border-color: #dc3545;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #dc3545;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #dc3545;--bs-gradient: none}.btn-outline-light{--bs-btn-color: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #f8f9fa;--bs-btn-hover-border-color: #f8f9fa;--bs-btn-focus-shadow-rgb: 248, 249, 250;--bs-btn-active-color: #000;--bs-btn-active-bg: #f8f9fa;--bs-btn-active-border-color: #f8f9fa;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #f8f9fa;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #f8f9fa;--bs-gradient: none}.btn-outline-dark{--bs-btn-color: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #212529;--bs-btn-hover-border-color: #212529;--bs-btn-focus-shadow-rgb: 33, 37, 41;--bs-btn-active-color: #fff;--bs-btn-active-bg: #212529;--bs-btn-active-border-color: #212529;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #212529;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #212529;--bs-gradient: none}.btn-link{--bs-btn-font-weight: 400;--bs-btn-color: var(--bs-link-color);--bs-btn-bg: transparent;--bs-btn-border-color: transparent;--bs-btn-hover-color: var(--bs-link-hover-color);--bs-btn-hover-border-color: transparent;--bs-btn-active-color: var(--bs-link-hover-color);--bs-btn-active-border-color: transparent;--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-border-color: transparent;--bs-btn-box-shadow: 0 0 0 #000;--bs-btn-focus-shadow-rgb: 49, 132, 253;text-decoration:underline}.btn-link:focus-visible{color:var(--bs-btn-color)}.btn-link:hover{color:var(--bs-btn-hover-color)}.btn-lg,.btn-group-lg>.btn{--bs-btn-padding-y: 0.5rem;--bs-btn-padding-x: 1rem;--bs-btn-font-size:1.25rem;--bs-btn-border-radius: var(--bs-border-radius-lg)}.btn-sm,.btn-group-sm>.btn{--bs-btn-padding-y: 0.25rem;--bs-btn-padding-x: 0.5rem;--bs-btn-font-size:0.875rem;--bs-btn-border-radius: var(--bs-border-radius-sm)}.fade{transition:opacity .15s linear}@media(prefers-reduced-motion: reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media(prefers-reduced-motion: reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media(prefers-reduced-motion: reduce){.collapsing.collapse-horizontal{transition:none}}.dropup,.dropend,.dropdown,.dropstart,.dropup-center,.dropdown-center{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid rgba(0,0,0,0);border-bottom:0;border-left:.3em solid rgba(0,0,0,0)}.dropdown-toggle:empty::after{margin-left:0}.dropdown-menu{--bs-dropdown-zindex: 1000;--bs-dropdown-min-width: 10rem;--bs-dropdown-padding-x: 0;--bs-dropdown-padding-y: 0.5rem;--bs-dropdown-spacer: 0.125rem;--bs-dropdown-font-size:1rem;--bs-dropdown-color: var(--bs-body-color);--bs-dropdown-bg: var(--bs-body-bg);--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-border-radius: var(--bs-border-radius);--bs-dropdown-border-width: var(--bs-border-width);--bs-dropdown-inner-border-radius: calc(var(--bs-border-radius) - var(--bs-border-width));--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-divider-margin-y: 0.5rem;--bs-dropdown-box-shadow: var(--bs-box-shadow);--bs-dropdown-link-color: var(--bs-body-color);--bs-dropdown-link-hover-color: var(--bs-body-color);--bs-dropdown-link-hover-bg: var(--bs-tertiary-bg);--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #0d6efd;--bs-dropdown-link-disabled-color: var(--bs-tertiary-color);--bs-dropdown-item-padding-x: 1rem;--bs-dropdown-item-padding-y: 0.25rem;--bs-dropdown-header-color: #6c757d;--bs-dropdown-header-padding-x: 1rem;--bs-dropdown-header-padding-y: 0.5rem;position:absolute;z-index:var(--bs-dropdown-zindex);display:none;min-width:var(--bs-dropdown-min-width);padding:var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);margin:0;font-size:var(--bs-dropdown-font-size);color:var(--bs-dropdown-color);text-align:left;list-style:none;background-color:var(--bs-dropdown-bg);background-clip:padding-box;border:var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);border-radius:var(--bs-dropdown-border-radius)}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:var(--bs-dropdown-spacer)}.dropdown-menu-start{--bs-position: start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position: end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media(min-width: 576px){.dropdown-menu-sm-start{--bs-position: start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position: end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media(min-width: 768px){.dropdown-menu-md-start{--bs-position: start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position: end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media(min-width: 992px){.dropdown-menu-lg-start{--bs-position: start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position: end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media(min-width: 1200px){.dropdown-menu-xl-start{--bs-position: start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position: end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media(min-width: 1400px){.dropdown-menu-xxl-start{--bs-position: start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position: end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--bs-dropdown-spacer)}.dropup .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid rgba(0,0,0,0);border-bottom:.3em solid;border-left:.3em solid rgba(0,0,0,0)}.dropup .dropdown-toggle:empty::after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:var(--bs-dropdown-spacer)}.dropend .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid rgba(0,0,0,0);border-right:0;border-bottom:.3em solid rgba(0,0,0,0);border-left:.3em solid}.dropend .dropdown-toggle:empty::after{margin-left:0}.dropend .dropdown-toggle::after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:var(--bs-dropdown-spacer)}.dropstart .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle::after{display:none}.dropstart .dropdown-toggle::before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid rgba(0,0,0,0);border-right:.3em solid;border-bottom:.3em solid rgba(0,0,0,0)}.dropstart .dropdown-toggle:empty::after{margin-left:0}.dropstart .dropdown-toggle::before{vertical-align:0}.dropdown-divider{height:0;margin:var(--bs-dropdown-divider-margin-y) 0;overflow:hidden;border-top:1px solid var(--bs-dropdown-divider-bg);opacity:1}.dropdown-item{display:block;width:100%;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);clear:both;font-weight:400;color:var(--bs-dropdown-link-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:rgba(0,0,0,0);border:0;border-radius:var(--bs-dropdown-item-border-radius, 0)}.dropdown-item:hover,.dropdown-item:focus{color:var(--bs-dropdown-link-hover-color);background-color:var(--bs-dropdown-link-hover-bg)}.dropdown-item.active,.dropdown-item:active{color:var(--bs-dropdown-link-active-color);text-decoration:none;background-color:var(--bs-dropdown-link-active-bg)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--bs-dropdown-link-disabled-color);pointer-events:none;background-color:rgba(0,0,0,0)}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);margin-bottom:0;font-size:0.875rem;color:var(--bs-dropdown-header-color);white-space:nowrap}.dropdown-item-text{display:block;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);color:var(--bs-dropdown-link-color)}.dropdown-menu-dark{--bs-dropdown-color: #dee2e6;--bs-dropdown-bg: #343a40;--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-box-shadow: ;--bs-dropdown-link-color: #dee2e6;--bs-dropdown-link-hover-color: #fff;--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-link-hover-bg: rgba(255, 255, 255, 0.15);--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #0d6efd;--bs-dropdown-link-disabled-color: #adb5bd;--bs-dropdown-header-color: #adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;flex:1 1 auto}.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn:hover,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn.active{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group{border-radius:var(--bs-border-radius)}.btn-group>:not(.btn-check:first-child)+.btn,.btn-group>.btn-group:not(:first-child){margin-left:calc(var(--bs-border-width)*-1)}.btn-group>.btn:not(:last-child):not(.dropdown-toggle),.btn-group>.btn.dropdown-toggle-split:first-child,.btn-group>.btn-group:not(:last-child)>.btn{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn,.btn-group>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split::after,.dropup .dropdown-toggle-split::after,.dropend .dropdown-toggle-split::after{margin-left:0}.dropstart .dropdown-toggle-split::before{margin-right:0}.btn-sm+.dropdown-toggle-split,.btn-group-sm>.btn+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-lg+.dropdown-toggle-split,.btn-group-lg>.btn+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn:not(:first-child),.btn-group-vertical>.btn-group:not(:first-child){margin-top:calc(var(--bs-border-width)*-1)}.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle),.btn-group-vertical>.btn-group:not(:last-child)>.btn{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn~.btn,.btn-group-vertical>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{--bs-nav-link-padding-x: 1rem;--bs-nav-link-padding-y: 0.5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-link-color);--bs-nav-link-hover-color: var(--bs-link-hover-color);--bs-nav-link-disabled-color: var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;background:none;border:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media(prefers-reduced-motion: reduce){.nav-link{transition:none}}.nav-link:hover,.nav-link:focus{color:var(--bs-nav-link-hover-color)}.nav-link:focus-visible{outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.nav-link.disabled,.nav-link:disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}.nav-tabs{--bs-nav-tabs-border-width: var(--bs-border-width);--bs-nav-tabs-border-color: var(--bs-border-color);--bs-nav-tabs-border-radius: var(--bs-border-radius);--bs-nav-tabs-link-hover-border-color: var(--bs-secondary-bg) var(--bs-secondary-bg) var(--bs-border-color);--bs-nav-tabs-link-active-color: var(--bs-emphasis-color);--bs-nav-tabs-link-active-bg: var(--bs-body-bg);--bs-nav-tabs-link-active-border-color: var(--bs-border-color) var(--bs-border-color) var(--bs-body-bg);border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}.nav-tabs .nav-link{margin-bottom:calc(-1*var(--bs-nav-tabs-border-width));border:var(--bs-nav-tabs-border-width) solid rgba(0,0,0,0);border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}.nav-tabs .nav-link:hover,.nav-tabs .nav-link:focus{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}.nav-tabs .nav-link.active,.nav-tabs .nav-item.show .nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}.nav-tabs .dropdown-menu{margin-top:calc(-1*var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}.nav-pills{--bs-nav-pills-border-radius: var(--bs-border-radius);--bs-nav-pills-link-active-color: #fff;--bs-nav-pills-link-active-bg: #0d6efd}.nav-pills .nav-link{border-radius:var(--bs-nav-pills-border-radius)}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}.nav-underline{--bs-nav-underline-gap: 1rem;--bs-nav-underline-border-width: 0.125rem;--bs-nav-underline-link-active-color: var(--bs-emphasis-color);gap:var(--bs-nav-underline-gap)}.nav-underline .nav-link{padding-right:0;padding-left:0;border-bottom:var(--bs-nav-underline-border-width) solid rgba(0,0,0,0)}.nav-underline .nav-link:hover,.nav-underline .nav-link:focus{border-bottom-color:currentcolor}.nav-underline .nav-link.active,.nav-underline .show>.nav-link{font-weight:700;color:var(--bs-nav-underline-link-active-color);border-bottom-color:currentcolor}.nav-fill>.nav-link,.nav-fill .nav-item{flex:1 1 auto;text-align:center}.nav-justified>.nav-link,.nav-justified .nav-item{flex-basis:0;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{--bs-navbar-padding-x: 0;--bs-navbar-padding-y: 0.5rem;--bs-navbar-color: rgba(var(--bs-emphasis-color-rgb), 0.65);--bs-navbar-hover-color: rgba(var(--bs-emphasis-color-rgb), 0.8);--bs-navbar-disabled-color: rgba(var(--bs-emphasis-color-rgb), 0.3);--bs-navbar-active-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-padding-y: 0.3125rem;--bs-navbar-brand-margin-end: 1rem;--bs-navbar-brand-font-size: 1.25rem;--bs-navbar-brand-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-hover-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-nav-link-padding-x: 0.5rem;--bs-navbar-toggler-padding-y: 0.25rem;--bs-navbar-toggler-padding-x: 0.75rem;--bs-navbar-toggler-font-size: 1.25rem;--bs-navbar-toggler-icon-bg: url(${z});--bs-navbar-toggler-border-color: rgba(var(--bs-emphasis-color-rgb), 0.15);--bs-navbar-toggler-border-radius: var(--bs-border-radius);--bs-navbar-toggler-focus-width: 0.25rem;--bs-navbar-toggler-transition: box-shadow 0.15s ease-in-out;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--bs-navbar-padding-y) var(--bs-navbar-padding-x)}.navbar>.container,.navbar>.container-fluid,.navbar>.container-sm,.navbar>.container-md,.navbar>.container-lg,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:var(--bs-navbar-brand-padding-y);padding-bottom:var(--bs-navbar-brand-padding-y);margin-right:var(--bs-navbar-brand-margin-end);font-size:var(--bs-navbar-brand-font-size);color:var(--bs-navbar-brand-color);text-decoration:none;white-space:nowrap}.navbar-brand:hover,.navbar-brand:focus{color:var(--bs-navbar-brand-hover-color)}.navbar-nav{--bs-nav-link-padding-x: 0;--bs-nav-link-padding-y: 0.5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-navbar-color);--bs-nav-link-hover-color: var(--bs-navbar-hover-color);--bs-nav-link-disabled-color: var(--bs-navbar-disabled-color);display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link.active,.navbar-nav .nav-link.show{color:var(--bs-navbar-active-color)}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-navbar-color)}.navbar-text a,.navbar-text a:hover,.navbar-text a:focus{color:var(--bs-navbar-active-color)}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);font-size:var(--bs-navbar-toggler-font-size);line-height:1;color:var(--bs-navbar-color);background-color:rgba(0,0,0,0);border:var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);border-radius:var(--bs-navbar-toggler-border-radius);transition:var(--bs-navbar-toggler-transition)}@media(prefers-reduced-motion: reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 var(--bs-navbar-toggler-focus-width)}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:var(--bs-navbar-toggler-icon-bg);background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height, 75vh);overflow-y:auto}@media(min-width: 576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex !important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto !important;height:auto !important;visibility:visible !important;background-color:rgba(0,0,0,0) !important;border:0 !important;transform:none !important;transition:none}.navbar-expand-sm .offcanvas .offcanvas-header{display:none}.navbar-expand-sm .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media(min-width: 768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex !important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto !important;height:auto !important;visibility:visible !important;background-color:rgba(0,0,0,0) !important;border:0 !important;transform:none !important;transition:none}.navbar-expand-md .offcanvas .offcanvas-header{display:none}.navbar-expand-md .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media(min-width: 992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex !important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto !important;height:auto !important;visibility:visible !important;background-color:rgba(0,0,0,0) !important;border:0 !important;transform:none !important;transition:none}.navbar-expand-lg .offcanvas .offcanvas-header{display:none}.navbar-expand-lg .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media(min-width: 1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex !important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto !important;height:auto !important;visibility:visible !important;background-color:rgba(0,0,0,0) !important;border:0 !important;transform:none !important;transition:none}.navbar-expand-xl .offcanvas .offcanvas-header{display:none}.navbar-expand-xl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media(min-width: 1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex !important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto !important;height:auto !important;visibility:visible !important;background-color:rgba(0,0,0,0) !important;border:0 !important;transform:none !important;transition:none}.navbar-expand-xxl .offcanvas .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex !important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto !important;height:auto !important;visibility:visible !important;background-color:rgba(0,0,0,0) !important;border:0 !important;transform:none !important;transition:none}.navbar-expand .offcanvas .offcanvas-header{display:none}.navbar-expand .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-dark,.navbar[data-bs-theme=dark]{--bs-navbar-color: rgba(255, 255, 255, 0.55);--bs-navbar-hover-color: rgba(255, 255, 255, 0.75);--bs-navbar-disabled-color: rgba(255, 255, 255, 0.25);--bs-navbar-active-color: #fff;--bs-navbar-brand-color: #fff;--bs-navbar-brand-hover-color: #fff;--bs-navbar-toggler-border-color: rgba(255, 255, 255, 0.1);--bs-navbar-toggler-icon-bg: url(${F})}[data-bs-theme=dark] .navbar-toggler-icon{--bs-navbar-toggler-icon-bg: url(${F})}.card{--bs-card-spacer-y: 1rem;--bs-card-spacer-x: 1rem;--bs-card-title-spacer-y: 0.5rem;--bs-card-title-color: ;--bs-card-subtitle-color: ;--bs-card-border-width: var(--bs-border-width);--bs-card-border-color: var(--bs-border-color-translucent);--bs-card-border-radius: var(--bs-border-radius);--bs-card-box-shadow: ;--bs-card-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-card-cap-padding-y: 0.5rem;--bs-card-cap-padding-x: 1rem;--bs-card-cap-bg: rgba(var(--bs-body-color-rgb), 0.03);--bs-card-cap-color: ;--bs-card-height: ;--bs-card-color: ;--bs-card-bg: var(--bs-body-bg);--bs-card-img-overlay-padding: 1rem;--bs-card-group-margin: 0.75rem;position:relative;display:flex;flex-direction:column;min-width:0;height:var(--bs-card-height);color:var(--bs-body-color);word-wrap:break-word;background-color:var(--bs-card-bg);background-clip:border-box;border:var(--bs-card-border-width) solid var(--bs-card-border-color);border-radius:var(--bs-card-border-radius)}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x);color:var(--bs-card-color)}.card-title{margin-bottom:var(--bs-card-title-spacer-y);color:var(--bs-card-title-color)}.card-subtitle{margin-top:calc(-0.5*var(--bs-card-title-spacer-y));margin-bottom:0;color:var(--bs-card-subtitle-color)}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:var(--bs-card-spacer-x)}.card-header{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);margin-bottom:0;color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-bottom:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-header:first-child{border-radius:var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0}.card-footer{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-top:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-footer:last-child{border-radius:0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius)}.card-header-tabs{margin-right:calc(-0.5*var(--bs-card-cap-padding-x));margin-bottom:calc(-1*var(--bs-card-cap-padding-y));margin-left:calc(-0.5*var(--bs-card-cap-padding-x));border-bottom:0}.card-header-tabs .nav-link.active{background-color:var(--bs-card-bg);border-bottom-color:var(--bs-card-bg)}.card-header-pills{margin-right:calc(-0.5*var(--bs-card-cap-padding-x));margin-left:calc(-0.5*var(--bs-card-cap-padding-x))}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:var(--bs-card-img-overlay-padding);border-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-top,.card-img-bottom{width:100%}.card-img,.card-img-top{border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom{border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card-group>.card{margin-bottom:var(--bs-card-group-margin)}@media(min-width: 576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-img-top,.card-group>.card:not(:last-child) .card-header{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-img-bottom,.card-group>.card:not(:last-child) .card-footer{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-img-top,.card-group>.card:not(:first-child) .card-header{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-img-bottom,.card-group>.card:not(:first-child) .card-footer{border-bottom-left-radius:0}}.accordion{--bs-accordion-color: var(--bs-body-color);--bs-accordion-bg: var(--bs-body-bg);--bs-accordion-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-radius 0.15s ease;--bs-accordion-border-color: var(--bs-border-color);--bs-accordion-border-width: var(--bs-border-width);--bs-accordion-border-radius: var(--bs-border-radius);--bs-accordion-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-accordion-btn-padding-x: 1.25rem;--bs-accordion-btn-padding-y: 1rem;--bs-accordion-btn-color: var(--bs-body-color);--bs-accordion-btn-bg: var(--bs-accordion-bg);--bs-accordion-btn-icon: url(${q});--bs-accordion-btn-icon-width: 1.25rem;--bs-accordion-btn-icon-transform: rotate(-180deg);--bs-accordion-btn-icon-transition: transform 0.2s ease-in-out;--bs-accordion-btn-active-icon: url(${$});--bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);--bs-accordion-body-padding-x: 1.25rem;--bs-accordion-body-padding-y: 1rem;--bs-accordion-active-color: var(--bs-primary-text-emphasis);--bs-accordion-active-bg: var(--bs-primary-bg-subtle)}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);font-size:1rem;color:var(--bs-accordion-btn-color);text-align:left;background-color:var(--bs-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;transition:var(--bs-accordion-transition)}@media(prefers-reduced-motion: reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:var(--bs-accordion-active-color);background-color:var(--bs-accordion-active-bg);box-shadow:inset 0 calc(-1*var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color)}.accordion-button:not(.collapsed)::after{background-image:var(--bs-accordion-btn-active-icon);transform:var(--bs-accordion-btn-icon-transform)}.accordion-button::after{flex-shrink:0;width:var(--bs-accordion-btn-icon-width);height:var(--bs-accordion-btn-icon-width);margin-left:auto;content:"";background-image:var(--bs-accordion-btn-icon);background-repeat:no-repeat;background-size:var(--bs-accordion-btn-icon-width);transition:var(--bs-accordion-btn-icon-transition)}@media(prefers-reduced-motion: reduce){.accordion-button::after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;outline:0;box-shadow:var(--bs-accordion-btn-focus-box-shadow)}.accordion-header{margin-bottom:0}.accordion-item{color:var(--bs-accordion-color);background-color:var(--bs-accordion-bg);border:var(--bs-accordion-border-width) solid var(--bs-accordion-border-color)}.accordion-item:first-of-type{border-top-left-radius:var(--bs-accordion-border-radius);border-top-right-radius:var(--bs-accordion-border-radius)}.accordion-item:first-of-type>.accordion-header .accordion-button{border-top-left-radius:var(--bs-accordion-inner-border-radius);border-top-right-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-item:last-of-type>.accordion-header .accordion-button.collapsed{border-bottom-right-radius:var(--bs-accordion-inner-border-radius);border-bottom-left-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:last-of-type>.accordion-collapse{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-body{padding:var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x)}.accordion-flush>.accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush>.accordion-item:first-child{border-top:0}.accordion-flush>.accordion-item:last-child{border-bottom:0}.accordion-flush>.accordion-item>.accordion-header .accordion-button,.accordion-flush>.accordion-item>.accordion-header .accordion-button.collapsed{border-radius:0}.accordion-flush>.accordion-item>.accordion-collapse{border-radius:0}[data-bs-theme=dark] .accordion-button::after{--bs-accordion-btn-icon: url(${U});--bs-accordion-btn-active-icon: url(${U})}.breadcrumb{--bs-breadcrumb-padding-x: 0;--bs-breadcrumb-padding-y: 0;--bs-breadcrumb-margin-bottom: 1rem;--bs-breadcrumb-bg: ;--bs-breadcrumb-border-radius: ;--bs-breadcrumb-divider-color: var(--bs-secondary-color);--bs-breadcrumb-item-padding-x: 0.5rem;--bs-breadcrumb-item-active-color: var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding:var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);margin-bottom:var(--bs-breadcrumb-margin-bottom);font-size:var(--bs-breadcrumb-font-size);list-style:none;background-color:var(--bs-breadcrumb-bg);border-radius:var(--bs-breadcrumb-border-radius)}.breadcrumb-item+.breadcrumb-item{padding-left:var(--bs-breadcrumb-item-padding-x)}.breadcrumb-item+.breadcrumb-item::before{float:left;padding-right:var(--bs-breadcrumb-item-padding-x);color:var(--bs-breadcrumb-divider-color);content:var(--bs-breadcrumb-divider, "/") /* rtl: var(--bs-breadcrumb-divider, "/") */}.breadcrumb-item.active{color:var(--bs-breadcrumb-item-active-color)}.pagination{--bs-pagination-padding-x: 0.75rem;--bs-pagination-padding-y: 0.375rem;--bs-pagination-font-size:1rem;--bs-pagination-color: var(--bs-link-color);--bs-pagination-bg: var(--bs-body-bg);--bs-pagination-border-width: var(--bs-border-width);--bs-pagination-border-color: var(--bs-border-color);--bs-pagination-border-radius: var(--bs-border-radius);--bs-pagination-hover-color: var(--bs-link-hover-color);--bs-pagination-hover-bg: var(--bs-tertiary-bg);--bs-pagination-hover-border-color: var(--bs-border-color);--bs-pagination-focus-color: var(--bs-link-hover-color);--bs-pagination-focus-bg: var(--bs-secondary-bg);--bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);--bs-pagination-active-color: #fff;--bs-pagination-active-bg: #0d6efd;--bs-pagination-active-border-color: #0d6efd;--bs-pagination-disabled-color: var(--bs-secondary-color);--bs-pagination-disabled-bg: var(--bs-secondary-bg);--bs-pagination-disabled-border-color: var(--bs-border-color);display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;padding:var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);font-size:var(--bs-pagination-font-size);color:var(--bs-pagination-color);text-decoration:none;background-color:var(--bs-pagination-bg);border:var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion: reduce){.page-link{transition:none}}.page-link:hover{z-index:2;color:var(--bs-pagination-hover-color);background-color:var(--bs-pagination-hover-bg);border-color:var(--bs-pagination-hover-border-color)}.page-link:focus{z-index:3;color:var(--bs-pagination-focus-color);background-color:var(--bs-pagination-focus-bg);outline:0;box-shadow:var(--bs-pagination-focus-box-shadow)}.page-link.active,.active>.page-link{z-index:3;color:var(--bs-pagination-active-color);background-color:var(--bs-pagination-active-bg);border-color:var(--bs-pagination-active-border-color)}.page-link.disabled,.disabled>.page-link{color:var(--bs-pagination-disabled-color);pointer-events:none;background-color:var(--bs-pagination-disabled-bg);border-color:var(--bs-pagination-disabled-border-color)}.page-item:not(:first-child) .page-link{margin-left:calc(var(--bs-border-width)*-1)}.page-item:first-child .page-link{border-top-left-radius:var(--bs-pagination-border-radius);border-bottom-left-radius:var(--bs-pagination-border-radius)}.page-item:last-child .page-link{border-top-right-radius:var(--bs-pagination-border-radius);border-bottom-right-radius:var(--bs-pagination-border-radius)}.pagination-lg{--bs-pagination-padding-x: 1.5rem;--bs-pagination-padding-y: 0.75rem;--bs-pagination-font-size:1.25rem;--bs-pagination-border-radius: var(--bs-border-radius-lg)}.pagination-sm{--bs-pagination-padding-x: 0.5rem;--bs-pagination-padding-y: 0.25rem;--bs-pagination-font-size:0.875rem;--bs-pagination-border-radius: var(--bs-border-radius-sm)}.badge{--bs-badge-padding-x: 0.65em;--bs-badge-padding-y: 0.35em;--bs-badge-font-size:0.75em;--bs-badge-font-weight: 700;--bs-badge-color: #fff;--bs-badge-border-radius: var(--bs-border-radius);display:inline-block;padding:var(--bs-badge-padding-y) var(--bs-badge-padding-x);font-size:var(--bs-badge-font-size);font-weight:var(--bs-badge-font-weight);line-height:1;color:var(--bs-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--bs-badge-border-radius)}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{--bs-alert-bg: transparent;--bs-alert-padding-x: 1rem;--bs-alert-padding-y: 1rem;--bs-alert-margin-bottom: 1rem;--bs-alert-color: inherit;--bs-alert-border-color: transparent;--bs-alert-border: var(--bs-border-width) solid var(--bs-alert-border-color);--bs-alert-border-radius: var(--bs-border-radius);--bs-alert-link-color: inherit;position:relative;padding:var(--bs-alert-padding-y) var(--bs-alert-padding-x);margin-bottom:var(--bs-alert-margin-bottom);color:var(--bs-alert-color);background-color:var(--bs-alert-bg);border:var(--bs-alert-border);border-radius:var(--bs-alert-border-radius)}.alert-heading{color:inherit}.alert-link{font-weight:700;color:var(--bs-alert-link-color)}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{--bs-alert-color: var(--bs-primary-text-emphasis);--bs-alert-bg: var(--bs-primary-bg-subtle);--bs-alert-border-color: var(--bs-primary-border-subtle);--bs-alert-link-color: var(--bs-primary-text-emphasis)}.alert-secondary{--bs-alert-color: var(--bs-secondary-text-emphasis);--bs-alert-bg: var(--bs-secondary-bg-subtle);--bs-alert-border-color: var(--bs-secondary-border-subtle);--bs-alert-link-color: var(--bs-secondary-text-emphasis)}.alert-success{--bs-alert-color: var(--bs-success-text-emphasis);--bs-alert-bg: var(--bs-success-bg-subtle);--bs-alert-border-color: var(--bs-success-border-subtle);--bs-alert-link-color: var(--bs-success-text-emphasis)}.alert-info{--bs-alert-color: var(--bs-info-text-emphasis);--bs-alert-bg: var(--bs-info-bg-subtle);--bs-alert-border-color: var(--bs-info-border-subtle);--bs-alert-link-color: var(--bs-info-text-emphasis)}.alert-warning{--bs-alert-color: var(--bs-warning-text-emphasis);--bs-alert-bg: var(--bs-warning-bg-subtle);--bs-alert-border-color: var(--bs-warning-border-subtle);--bs-alert-link-color: var(--bs-warning-text-emphasis)}.alert-danger{--bs-alert-color: var(--bs-danger-text-emphasis);--bs-alert-bg: var(--bs-danger-bg-subtle);--bs-alert-border-color: var(--bs-danger-border-subtle);--bs-alert-link-color: var(--bs-danger-text-emphasis)}.alert-light{--bs-alert-color: var(--bs-light-text-emphasis);--bs-alert-bg: var(--bs-light-bg-subtle);--bs-alert-border-color: var(--bs-light-border-subtle);--bs-alert-link-color: var(--bs-light-text-emphasis)}.alert-dark{--bs-alert-color: var(--bs-dark-text-emphasis);--bs-alert-bg: var(--bs-dark-bg-subtle);--bs-alert-border-color: var(--bs-dark-border-subtle);--bs-alert-link-color: var(--bs-dark-text-emphasis)}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress,.progress-stacked{--bs-progress-height: 1rem;--bs-progress-font-size:0.75rem;--bs-progress-bg: var(--bs-secondary-bg);--bs-progress-border-radius: var(--bs-border-radius);--bs-progress-box-shadow: var(--bs-box-shadow-inset);--bs-progress-bar-color: #fff;--bs-progress-bar-bg: #0d6efd;--bs-progress-bar-transition: width 0.6s ease;display:flex;height:var(--bs-progress-height);overflow:hidden;font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);transition:var(--bs-progress-bar-transition)}@media(prefers-reduced-motion: reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}.progress-stacked>.progress{overflow:visible}.progress-stacked>.progress>.progress-bar{width:100%}.progress-bar-animated{animation:1s linear infinite progress-bar-stripes}@media(prefers-reduced-motion: reduce){.progress-bar-animated{animation:none}}.list-group{--bs-list-group-color: var(--bs-body-color);--bs-list-group-bg: var(--bs-body-bg);--bs-list-group-border-color: var(--bs-border-color);--bs-list-group-border-width: var(--bs-border-width);--bs-list-group-border-radius: var(--bs-border-radius);--bs-list-group-item-padding-x: 1rem;--bs-list-group-item-padding-y: 0.5rem;--bs-list-group-action-color: var(--bs-secondary-color);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-tertiary-bg);--bs-list-group-action-active-color: var(--bs-body-color);--bs-list-group-action-active-bg: var(--bs-secondary-bg);--bs-list-group-disabled-color: var(--bs-secondary-color);--bs-list-group-disabled-bg: var(--bs-body-bg);--bs-list-group-active-color: #fff;--bs-list-group-active-bg: #0d6efd;--bs-list-group-active-border-color: #0d6efd;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item::before{content:counters(section, ".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}.list-group-item-action:hover,.list-group-item-action:focus{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}.list-group-item-action:active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}.list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1*var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1*var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media(min-width: 576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1*var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media(min-width: 768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1*var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media(min-width: 992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1*var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media(min-width: 1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1*var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media(min-width: 1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1*var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{--bs-list-group-color: var(--bs-primary-text-emphasis);--bs-list-group-bg: var(--bs-primary-bg-subtle);--bs-list-group-border-color: var(--bs-primary-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-primary-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-primary-border-subtle);--bs-list-group-active-color: var(--bs-primary-bg-subtle);--bs-list-group-active-bg: var(--bs-primary-text-emphasis);--bs-list-group-active-border-color: var(--bs-primary-text-emphasis)}.list-group-item-secondary{--bs-list-group-color: var(--bs-secondary-text-emphasis);--bs-list-group-bg: var(--bs-secondary-bg-subtle);--bs-list-group-border-color: var(--bs-secondary-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-secondary-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-secondary-border-subtle);--bs-list-group-active-color: var(--bs-secondary-bg-subtle);--bs-list-group-active-bg: var(--bs-secondary-text-emphasis);--bs-list-group-active-border-color: var(--bs-secondary-text-emphasis)}.list-group-item-success{--bs-list-group-color: var(--bs-success-text-emphasis);--bs-list-group-bg: var(--bs-success-bg-subtle);--bs-list-group-border-color: var(--bs-success-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-success-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-success-border-subtle);--bs-list-group-active-color: var(--bs-success-bg-subtle);--bs-list-group-active-bg: var(--bs-success-text-emphasis);--bs-list-group-active-border-color: var(--bs-success-text-emphasis)}.list-group-item-info{--bs-list-group-color: var(--bs-info-text-emphasis);--bs-list-group-bg: var(--bs-info-bg-subtle);--bs-list-group-border-color: var(--bs-info-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-info-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-info-border-subtle);--bs-list-group-active-color: var(--bs-info-bg-subtle);--bs-list-group-active-bg: var(--bs-info-text-emphasis);--bs-list-group-active-border-color: var(--bs-info-text-emphasis)}.list-group-item-warning{--bs-list-group-color: var(--bs-warning-text-emphasis);--bs-list-group-bg: var(--bs-warning-bg-subtle);--bs-list-group-border-color: var(--bs-warning-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-warning-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-warning-border-subtle);--bs-list-group-active-color: var(--bs-warning-bg-subtle);--bs-list-group-active-bg: var(--bs-warning-text-emphasis);--bs-list-group-active-border-color: var(--bs-warning-text-emphasis)}.list-group-item-danger{--bs-list-group-color: var(--bs-danger-text-emphasis);--bs-list-group-bg: var(--bs-danger-bg-subtle);--bs-list-group-border-color: var(--bs-danger-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-danger-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-danger-border-subtle);--bs-list-group-active-color: var(--bs-danger-bg-subtle);--bs-list-group-active-bg: var(--bs-danger-text-emphasis);--bs-list-group-active-border-color: var(--bs-danger-text-emphasis)}.list-group-item-light{--bs-list-group-color: var(--bs-light-text-emphasis);--bs-list-group-bg: var(--bs-light-bg-subtle);--bs-list-group-border-color: var(--bs-light-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-light-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-light-border-subtle);--bs-list-group-active-color: var(--bs-light-bg-subtle);--bs-list-group-active-bg: var(--bs-light-text-emphasis);--bs-list-group-active-border-color: var(--bs-light-text-emphasis)}.list-group-item-dark{--bs-list-group-color: var(--bs-dark-text-emphasis);--bs-list-group-bg: var(--bs-dark-bg-subtle);--bs-list-group-border-color: var(--bs-dark-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-dark-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-dark-border-subtle);--bs-list-group-active-color: var(--bs-dark-bg-subtle);--bs-list-group-active-bg: var(--bs-dark-text-emphasis);--bs-list-group-active-border-color: var(--bs-dark-text-emphasis)}.btn-close{--bs-btn-close-color: #000;--bs-btn-close-bg: url(${H});--bs-btn-close-opacity: 0.5;--bs-btn-close-hover-opacity: 0.75;--bs-btn-close-focus-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);--bs-btn-close-focus-opacity: 1;--bs-btn-close-disabled-opacity: 0.25;--bs-btn-close-white-filter: invert(1) grayscale(100%) brightness(200%);box-sizing:content-box;width:1em;height:1em;padding:.25em .25em;color:var(--bs-btn-close-color);background:rgba(0,0,0,0) var(--bs-btn-close-bg) center/1em auto no-repeat;border:0;border-radius:.375rem;opacity:var(--bs-btn-close-opacity)}.btn-close:hover{color:var(--bs-btn-close-color);text-decoration:none;opacity:var(--bs-btn-close-hover-opacity)}.btn-close:focus{outline:0;box-shadow:var(--bs-btn-close-focus-shadow);opacity:var(--bs-btn-close-focus-opacity)}.btn-close:disabled,.btn-close.disabled{pointer-events:none;user-select:none;opacity:var(--bs-btn-close-disabled-opacity)}.btn-close-white{filter:var(--bs-btn-close-white-filter)}[data-bs-theme=dark] .btn-close{filter:var(--bs-btn-close-white-filter)}.toast{--bs-toast-zindex: 1090;--bs-toast-padding-x: 0.75rem;--bs-toast-padding-y: 0.5rem;--bs-toast-spacing: 1.5rem;--bs-toast-max-width: 350px;--bs-toast-font-size:0.875rem;--bs-toast-color: ;--bs-toast-bg: rgba(var(--bs-body-bg-rgb), 0.85);--bs-toast-border-width: var(--bs-border-width);--bs-toast-border-color: var(--bs-border-color-translucent);--bs-toast-border-radius: var(--bs-border-radius);--bs-toast-box-shadow: var(--bs-box-shadow);--bs-toast-header-color: var(--bs-secondary-color);--bs-toast-header-bg: rgba(var(--bs-body-bg-rgb), 0.85);--bs-toast-header-border-color: var(--bs-border-color-translucent);width:var(--bs-toast-max-width);max-width:100%;font-size:var(--bs-toast-font-size);color:var(--bs-toast-color);pointer-events:auto;background-color:var(--bs-toast-bg);background-clip:padding-box;border:var(--bs-toast-border-width) solid var(--bs-toast-border-color);box-shadow:var(--bs-toast-box-shadow);border-radius:var(--bs-toast-border-radius)}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{--bs-toast-zindex: 1090;position:absolute;z-index:var(--bs-toast-zindex);width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:var(--bs-toast-spacing)}.toast-header{display:flex;align-items:center;padding:var(--bs-toast-padding-y) var(--bs-toast-padding-x);color:var(--bs-toast-header-color);background-color:var(--bs-toast-header-bg);background-clip:padding-box;border-bottom:var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);border-top-left-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));border-top-right-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width))}.toast-header .btn-close{margin-right:calc(-0.5*var(--bs-toast-padding-x));margin-left:var(--bs-toast-padding-x)}.toast-body{padding:var(--bs-toast-padding-x);word-wrap:break-word}.modal{--bs-modal-zindex: 1055;--bs-modal-width: 500px;--bs-modal-padding: 1rem;--bs-modal-margin: 0.5rem;--bs-modal-color: ;--bs-modal-bg: var(--bs-body-bg);--bs-modal-border-color: var(--bs-border-color-translucent);--bs-modal-border-width: var(--bs-border-width);--bs-modal-border-radius: var(--bs-border-radius-lg);--bs-modal-box-shadow: var(--bs-box-shadow-sm);--bs-modal-inner-border-radius: calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));--bs-modal-header-padding-x: 1rem;--bs-modal-header-padding-y: 1rem;--bs-modal-header-padding: 1rem 1rem;--bs-modal-header-border-color: var(--bs-border-color);--bs-modal-header-border-width: var(--bs-border-width);--bs-modal-title-line-height: 1.5;--bs-modal-footer-gap: 0.5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color: var(--bs-border-color);--bs-modal-footer-border-width: var(--bs-border-width);position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translate(0, -50px)}@media(prefers-reduced-motion: reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin)*2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin)*2)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}.modal-backdrop{--bs-backdrop-zindex: 1050;--bs-backdrop-bg: #000;--bs-backdrop-opacity: 0.5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}.modal-header{display:flex;flex-shrink:0;align-items:center;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y)*.5) calc(var(--bs-modal-header-padding-x)*.5);margin:calc(-0.5*var(--bs-modal-header-padding-y)) calc(-0.5*var(--bs-modal-header-padding-x)) calc(-0.5*var(--bs-modal-header-padding-y)) auto}.modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}.modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}.modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap)*.5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--bs-modal-footer-gap)*.5)}@media(min-width: 576px){.modal{--bs-modal-margin: 1.75rem;--bs-modal-box-shadow: var(--bs-box-shadow)}.modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}.modal-sm{--bs-modal-width: 300px}}@media(min-width: 992px){.modal-lg,.modal-xl{--bs-modal-width: 800px}}@media(min-width: 1200px){.modal-xl{--bs-modal-width: 1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-header,.modal-fullscreen .modal-footer{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}@media(max-width: 575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-header,.modal-fullscreen-sm-down .modal-footer{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media(max-width: 767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-header,.modal-fullscreen-md-down .modal-footer{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media(max-width: 991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-header,.modal-fullscreen-lg-down .modal-footer{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media(max-width: 1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-header,.modal-fullscreen-xl-down .modal-footer{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media(max-width: 1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-header,.modal-fullscreen-xxl-down .modal-footer{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}.tooltip{--bs-tooltip-zindex: 1080;--bs-tooltip-max-width: 200px;--bs-tooltip-padding-x: 0.5rem;--bs-tooltip-padding-y: 0.25rem;--bs-tooltip-margin: ;--bs-tooltip-font-size:0.875rem;--bs-tooltip-color: var(--bs-body-bg);--bs-tooltip-bg: var(--bs-emphasis-color);--bs-tooltip-border-radius: var(--bs-border-radius);--bs-tooltip-opacity: 0.9;--bs-tooltip-arrow-width: 0.8rem;--bs-tooltip-arrow-height: 0.4rem;z-index:var(--bs-tooltip-zindex);display:block;margin:var(--bs-tooltip-margin);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-tooltip-font-size);word-wrap:break-word;opacity:0}.tooltip.show{opacity:var(--bs-tooltip-opacity)}.tooltip .tooltip-arrow{display:block;width:var(--bs-tooltip-arrow-width);height:var(--bs-tooltip-arrow-height)}.tooltip .tooltip-arrow::before{position:absolute;content:"";border-color:rgba(0,0,0,0);border-style:solid}.bs-tooltip-top .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow{bottom:calc(-1*var(--bs-tooltip-arrow-height))}.bs-tooltip-top .tooltip-arrow::before,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before{top:-1px;border-width:var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width)*.5) 0;border-top-color:var(--bs-tooltip-bg)}.bs-tooltip-end .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow{left:calc(-1*var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-end .tooltip-arrow::before,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before{right:-1px;border-width:calc(var(--bs-tooltip-arrow-width)*.5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width)*.5) 0;border-right-color:var(--bs-tooltip-bg)}.bs-tooltip-bottom .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow{top:calc(-1*var(--bs-tooltip-arrow-height))}.bs-tooltip-bottom .tooltip-arrow::before,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before{bottom:-1px;border-width:0 calc(var(--bs-tooltip-arrow-width)*.5) var(--bs-tooltip-arrow-height);border-bottom-color:var(--bs-tooltip-bg)}.bs-tooltip-start .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow{right:calc(-1*var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-start .tooltip-arrow::before,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow::before{left:-1px;border-width:calc(var(--bs-tooltip-arrow-width)*.5) 0 calc(var(--bs-tooltip-arrow-width)*.5) var(--bs-tooltip-arrow-height);border-left-color:var(--bs-tooltip-bg)}.tooltip-inner{max-width:var(--bs-tooltip-max-width);padding:var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);color:var(--bs-tooltip-color);text-align:center;background-color:var(--bs-tooltip-bg);border-radius:var(--bs-tooltip-border-radius)}.popover{--bs-popover-zindex: 1070;--bs-popover-max-width: 276px;--bs-popover-font-size:0.875rem;--bs-popover-bg: var(--bs-body-bg);--bs-popover-border-width: var(--bs-border-width);--bs-popover-border-color: var(--bs-border-color-translucent);--bs-popover-border-radius: var(--bs-border-radius-lg);--bs-popover-inner-border-radius: calc(var(--bs-border-radius-lg) - var(--bs-border-width));--bs-popover-box-shadow: var(--bs-box-shadow);--bs-popover-header-padding-x: 1rem;--bs-popover-header-padding-y: 0.5rem;--bs-popover-header-font-size:1rem;--bs-popover-header-color: inherit;--bs-popover-header-bg: var(--bs-secondary-bg);--bs-popover-body-padding-x: 1rem;--bs-popover-body-padding-y: 1rem;--bs-popover-body-color: var(--bs-body-color);--bs-popover-arrow-width: 1rem;--bs-popover-arrow-height: 0.5rem;--bs-popover-arrow-border: var(--bs-popover-border-color);z-index:var(--bs-popover-zindex);display:block;max-width:var(--bs-popover-max-width);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-popover-font-size);word-wrap:break-word;background-color:var(--bs-popover-bg);background-clip:padding-box;border:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-radius:var(--bs-popover-border-radius)}.popover .popover-arrow{display:block;width:var(--bs-popover-arrow-width);height:var(--bs-popover-arrow-height)}.popover .popover-arrow::before,.popover .popover-arrow::after{position:absolute;display:block;content:"";border-color:rgba(0,0,0,0);border-style:solid;border-width:0}.bs-popover-top>.popover-arrow,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow{bottom:calc(-1*(var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-top>.popover-arrow::before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::before,.bs-popover-top>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::after{border-width:var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width)*.5) 0}.bs-popover-top>.popover-arrow::before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::before{bottom:0;border-top-color:var(--bs-popover-arrow-border)}.bs-popover-top>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::after{bottom:var(--bs-popover-border-width);border-top-color:var(--bs-popover-bg)}.bs-popover-end>.popover-arrow,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow{left:calc(-1*(var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-end>.popover-arrow::before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::before,.bs-popover-end>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::after{border-width:calc(var(--bs-popover-arrow-width)*.5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width)*.5) 0}.bs-popover-end>.popover-arrow::before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::before{left:0;border-right-color:var(--bs-popover-arrow-border)}.bs-popover-end>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::after{left:var(--bs-popover-border-width);border-right-color:var(--bs-popover-bg)}.bs-popover-bottom>.popover-arrow,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow{top:calc(-1*(var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-bottom>.popover-arrow::before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::before,.bs-popover-bottom>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::after{border-width:0 calc(var(--bs-popover-arrow-width)*.5) var(--bs-popover-arrow-height)}.bs-popover-bottom>.popover-arrow::before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::before{top:0;border-bottom-color:var(--bs-popover-arrow-border)}.bs-popover-bottom>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::after{top:var(--bs-popover-border-width);border-bottom-color:var(--bs-popover-bg)}.bs-popover-bottom .popover-header::before,.bs-popover-auto[data-popper-placement^=bottom] .popover-header::before{position:absolute;top:0;left:50%;display:block;width:var(--bs-popover-arrow-width);margin-left:calc(-0.5*var(--bs-popover-arrow-width));content:"";border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-header-bg)}.bs-popover-start>.popover-arrow,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow{right:calc(-1*(var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-start>.popover-arrow::before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::before,.bs-popover-start>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::after{border-width:calc(var(--bs-popover-arrow-width)*.5) 0 calc(var(--bs-popover-arrow-width)*.5) var(--bs-popover-arrow-height)}.bs-popover-start>.popover-arrow::before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::before{right:0;border-left-color:var(--bs-popover-arrow-border)}.bs-popover-start>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::after{right:var(--bs-popover-border-width);border-left-color:var(--bs-popover-bg)}.popover-header{padding:var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);margin-bottom:0;font-size:var(--bs-popover-header-font-size);color:var(--bs-popover-header-color);background-color:var(--bs-popover-header-bg);border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-top-left-radius:var(--bs-popover-inner-border-radius);border-top-right-radius:var(--bs-popover-inner-border-radius)}.popover-header:empty{display:none}.popover-body{padding:var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);color:var(--bs-popover-body-color)}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner::after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;backface-visibility:hidden;transition:transform .6s ease-in-out}@media(prefers-reduced-motion: reduce){.carousel-item{transition:none}}.carousel-item.active,.carousel-item-next,.carousel-item-prev{display:block}.carousel-item-next:not(.carousel-item-start),.active.carousel-item-end{transform:translateX(100%)}.carousel-item-prev:not(.carousel-item-end),.active.carousel-item-start{transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item.active,.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end{z-index:1;opacity:1}.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{z-index:0;opacity:0;transition:opacity 0s .6s}@media(prefers-reduced-motion: reduce){.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{transition:none}}.carousel-control-prev,.carousel-control-next{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:none;border:0;opacity:.5;transition:opacity .15s ease}@media(prefers-reduced-motion: reduce){.carousel-control-prev,.carousel-control-next{transition:none}}.carousel-control-prev:hover,.carousel-control-prev:focus,.carousel-control-next:hover,.carousel-control-next:focus{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-prev-icon,.carousel-control-next-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url(${G}) /*rtl:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")*/}.carousel-control-next-icon{background-image:url(${K}) /*rtl:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")*/}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid rgba(0,0,0,0);border-bottom:10px solid rgba(0,0,0,0);opacity:.5;transition:opacity .6s ease}@media(prefers-reduced-motion: reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-prev-icon,.carousel-dark .carousel-control-next-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}[data-bs-theme=dark] .carousel .carousel-control-prev-icon,[data-bs-theme=dark] .carousel .carousel-control-next-icon,[data-bs-theme=dark].carousel .carousel-control-prev-icon,[data-bs-theme=dark].carousel .carousel-control-next-icon{filter:invert(1) grayscale(100)}[data-bs-theme=dark] .carousel .carousel-indicators [data-bs-target],[data-bs-theme=dark].carousel .carousel-indicators [data-bs-target]{background-color:#000}[data-bs-theme=dark] .carousel .carousel-caption,[data-bs-theme=dark].carousel .carousel-caption{color:#000}.spinner-grow,.spinner-border{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg) /* rtl:ignore */}}.spinner-border{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -0.125em;--bs-spinner-border-width: 0.25em;--bs-spinner-animation-speed: 0.75s;--bs-spinner-animation-name: spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:rgba(0,0,0,0)}.spinner-border-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem;--bs-spinner-border-width: 0.2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -0.125em;--bs-spinner-animation-speed: 0.75s;--bs-spinner-animation-name: spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem}@media(prefers-reduced-motion: reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed: 1.5s}}.offcanvas,.offcanvas-xxl,.offcanvas-xl,.offcanvas-lg,.offcanvas-md,.offcanvas-sm{--bs-offcanvas-zindex: 1045;--bs-offcanvas-width: 400px;--bs-offcanvas-height: 30vh;--bs-offcanvas-padding-x: 1rem;--bs-offcanvas-padding-y: 1rem;--bs-offcanvas-color: var(--bs-body-color);--bs-offcanvas-bg: var(--bs-body-bg);--bs-offcanvas-border-width: var(--bs-border-width);--bs-offcanvas-border-color: var(--bs-border-color-translucent);--bs-offcanvas-box-shadow: var(--bs-box-shadow-sm);--bs-offcanvas-transition: transform 0.3s ease-in-out;--bs-offcanvas-title-line-height: 1.5}@media(max-width: 575.98px){.offcanvas-sm{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width: 575.98px)and (prefers-reduced-motion: reduce){.offcanvas-sm{transition:none}}@media(max-width: 575.98px){.offcanvas-sm.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-sm.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-sm.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-sm.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-sm.showing,.offcanvas-sm.show:not(.hiding){transform:none}.offcanvas-sm.showing,.offcanvas-sm.hiding,.offcanvas-sm.show{visibility:visible}}@media(min-width: 576px){.offcanvas-sm{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:rgba(0,0,0,0) !important}.offcanvas-sm .offcanvas-header{display:none}.offcanvas-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:rgba(0,0,0,0) !important}}@media(max-width: 767.98px){.offcanvas-md{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width: 767.98px)and (prefers-reduced-motion: reduce){.offcanvas-md{transition:none}}@media(max-width: 767.98px){.offcanvas-md.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-md.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-md.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-md.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-md.showing,.offcanvas-md.show:not(.hiding){transform:none}.offcanvas-md.showing,.offcanvas-md.hiding,.offcanvas-md.show{visibility:visible}}@media(min-width: 768px){.offcanvas-md{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:rgba(0,0,0,0) !important}.offcanvas-md .offcanvas-header{display:none}.offcanvas-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:rgba(0,0,0,0) !important}}@media(max-width: 991.98px){.offcanvas-lg{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width: 991.98px)and (prefers-reduced-motion: reduce){.offcanvas-lg{transition:none}}@media(max-width: 991.98px){.offcanvas-lg.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-lg.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-lg.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-lg.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-lg.showing,.offcanvas-lg.show:not(.hiding){transform:none}.offcanvas-lg.showing,.offcanvas-lg.hiding,.offcanvas-lg.show{visibility:visible}}@media(min-width: 992px){.offcanvas-lg{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:rgba(0,0,0,0) !important}.offcanvas-lg .offcanvas-header{display:none}.offcanvas-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:rgba(0,0,0,0) !important}}@media(max-width: 1199.98px){.offcanvas-xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width: 1199.98px)and (prefers-reduced-motion: reduce){.offcanvas-xl{transition:none}}@media(max-width: 1199.98px){.offcanvas-xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-xl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xl.showing,.offcanvas-xl.show:not(.hiding){transform:none}.offcanvas-xl.showing,.offcanvas-xl.hiding,.offcanvas-xl.show{visibility:visible}}@media(min-width: 1200px){.offcanvas-xl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:rgba(0,0,0,0) !important}.offcanvas-xl .offcanvas-header{display:none}.offcanvas-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:rgba(0,0,0,0) !important}}@media(max-width: 1399.98px){.offcanvas-xxl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media(max-width: 1399.98px)and (prefers-reduced-motion: reduce){.offcanvas-xxl{transition:none}}@media(max-width: 1399.98px){.offcanvas-xxl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas-xxl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas-xxl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xxl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xxl.showing,.offcanvas-xxl.show:not(.hiding){transform:none}.offcanvas-xxl.showing,.offcanvas-xxl.hiding,.offcanvas-xxl.show{visibility:visible}}@media(min-width: 1400px){.offcanvas-xxl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:rgba(0,0,0,0) !important}.offcanvas-xxl .offcanvas-header{display:none}.offcanvas-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:rgba(0,0,0,0) !important}}.offcanvas{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}@media(prefers-reduced-motion: reduce){.offcanvas{transition:none}}.offcanvas.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas.showing,.offcanvas.show:not(.hiding){transform:none}.offcanvas.showing,.offcanvas.hiding,.offcanvas.show{visibility:visible}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x)}.offcanvas-header .btn-close{padding:calc(var(--bs-offcanvas-padding-y)*.5) calc(var(--bs-offcanvas-padding-x)*.5);margin:calc(-0.5*var(--bs-offcanvas-padding-y)) calc(-0.5*var(--bs-offcanvas-padding-x)) calc(-0.5*var(--bs-offcanvas-padding-y)) auto}.offcanvas-title{margin-bottom:0;line-height:var(--bs-offcanvas-title-line-height)}.offcanvas-body{flex-grow:1;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);overflow-y:auto}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn::before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{mask-image:linear-gradient(130deg, #000 55%, rgba(0, 0, 0, 0.8) 75%, #000 95%);mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{100%{mask-position:-200% 0%}}.clearfix::after{display:block;clear:both;content:""}.text-bg-primary{color:#fff !important;background-color:RGBA(var(--bs-primary-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-secondary{color:#fff !important;background-color:RGBA(var(--bs-secondary-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-success{color:#fff !important;background-color:RGBA(var(--bs-success-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-info{color:#000 !important;background-color:RGBA(var(--bs-info-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-warning{color:#000 !important;background-color:RGBA(var(--bs-warning-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-danger{color:#fff !important;background-color:RGBA(var(--bs-danger-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-light{color:#000 !important;background-color:RGBA(var(--bs-light-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-dark{color:#fff !important;background-color:RGBA(var(--bs-dark-rgb), var(--bs-bg-opacity, 1)) !important}.link-primary{color:RGBA(var(--bs-primary-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-primary-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-primary:hover,.link-primary:focus{color:RGBA(10, 88, 202, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(10, 88, 202, var(--bs-link-underline-opacity, 1)) !important}.link-secondary{color:RGBA(var(--bs-secondary-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-secondary-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-secondary:hover,.link-secondary:focus{color:RGBA(86, 94, 100, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(86, 94, 100, var(--bs-link-underline-opacity, 1)) !important}.link-success{color:RGBA(var(--bs-success-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-success-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-success:hover,.link-success:focus{color:RGBA(20, 108, 67, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(20, 108, 67, var(--bs-link-underline-opacity, 1)) !important}.link-info{color:RGBA(var(--bs-info-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-info-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-info:hover,.link-info:focus{color:RGBA(61, 213, 243, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(61, 213, 243, var(--bs-link-underline-opacity, 1)) !important}.link-warning{color:RGBA(var(--bs-warning-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-warning-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-warning:hover,.link-warning:focus{color:RGBA(255, 205, 57, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(255, 205, 57, var(--bs-link-underline-opacity, 1)) !important}.link-danger{color:RGBA(var(--bs-danger-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-danger-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-danger:hover,.link-danger:focus{color:RGBA(176, 42, 55, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(176, 42, 55, var(--bs-link-underline-opacity, 1)) !important}.link-light{color:RGBA(var(--bs-light-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-light-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-light:hover,.link-light:focus{color:RGBA(249, 250, 251, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(249, 250, 251, var(--bs-link-underline-opacity, 1)) !important}.link-dark{color:RGBA(var(--bs-dark-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-dark-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-dark:hover,.link-dark:focus{color:RGBA(26, 30, 33, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(26, 30, 33, var(--bs-link-underline-opacity, 1)) !important}.link-body-emphasis{color:RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-body-emphasis:hover,.link-body-emphasis:focus{color:RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-opacity, 0.75)) !important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-underline-opacity, 0.75)) !important}.focus-ring:focus{outline:0;box-shadow:var(--bs-focus-ring-x, 0) var(--bs-focus-ring-y, 0) var(--bs-focus-ring-blur, 0) var(--bs-focus-ring-width) var(--bs-focus-ring-color)}.icon-link{display:inline-flex;gap:.375rem;align-items:center;text-decoration-color:rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 0.5));text-underline-offset:.25em;backface-visibility:hidden}.icon-link>.bi{flex-shrink:0;width:1em;height:1em;fill:currentcolor;transition:.2s ease-in-out transform}@media(prefers-reduced-motion: reduce){.icon-link>.bi{transition:none}}.icon-link-hover:hover>.bi,.icon-link-hover:focus-visible>.bi{transform:var(--bs-icon-link-transform, translate3d(0.25em, 0, 0))}.ratio{position:relative;width:100%}.ratio::before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio: 100%}.ratio-4x3{--bs-aspect-ratio: 75%}.ratio-16x9{--bs-aspect-ratio: 56.25%}.ratio-21x9{--bs-aspect-ratio: 42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:sticky;top:0;z-index:1020}.sticky-bottom{position:sticky;bottom:0;z-index:1020}@media(min-width: 576px){.sticky-sm-top{position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:sticky;bottom:0;z-index:1020}}@media(min-width: 768px){.sticky-md-top{position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:sticky;bottom:0;z-index:1020}}@media(min-width: 992px){.sticky-lg-top{position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:sticky;bottom:0;z-index:1020}}@media(min-width: 1200px){.sticky-xl-top{position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:sticky;bottom:0;z-index:1020}}@media(min-width: 1400px){.sticky-xxl-top{position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{position:sticky;bottom:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border:0 !important}.visually-hidden:not(caption),.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption){position:absolute !important}.stretched-link::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:var(--bs-border-width);min-height:1em;background-color:currentcolor;opacity:.25}.align-baseline{vertical-align:baseline !important}.align-top{vertical-align:top !important}.align-middle{vertical-align:middle !important}.align-bottom{vertical-align:bottom !important}.align-text-bottom{vertical-align:text-bottom !important}.align-text-top{vertical-align:text-top !important}.float-start{float:left !important}.float-end{float:right !important}.float-none{float:none !important}.object-fit-contain{object-fit:contain !important}.object-fit-cover{object-fit:cover !important}.object-fit-fill{object-fit:fill !important}.object-fit-scale{object-fit:scale-down !important}.object-fit-none{object-fit:none !important}.opacity-0{opacity:0 !important}.opacity-25{opacity:.25 !important}.opacity-50{opacity:.5 !important}.opacity-75{opacity:.75 !important}.opacity-100{opacity:1 !important}.overflow-auto{overflow:auto !important}.overflow-hidden{overflow:hidden !important}.overflow-visible{overflow:visible !important}.overflow-scroll{overflow:scroll !important}.overflow-x-auto{overflow-x:auto !important}.overflow-x-hidden{overflow-x:hidden !important}.overflow-x-visible{overflow-x:visible !important}.overflow-x-scroll{overflow-x:scroll !important}.overflow-y-auto{overflow-y:auto !important}.overflow-y-hidden{overflow-y:hidden !important}.overflow-y-visible{overflow-y:visible !important}.overflow-y-scroll{overflow-y:scroll !important}.d-inline{display:inline !important}.d-inline-block{display:inline-block !important}.d-block{display:block !important}.d-grid{display:grid !important}.d-inline-grid{display:inline-grid !important}.d-table{display:table !important}.d-table-row{display:table-row !important}.d-table-cell{display:table-cell !important}.d-flex{display:flex !important}.d-inline-flex{display:inline-flex !important}.d-none{display:none !important}.shadow{box-shadow:var(--bs-box-shadow) !important}.shadow-sm{box-shadow:var(--bs-box-shadow-sm) !important}.shadow-lg{box-shadow:var(--bs-box-shadow-lg) !important}.shadow-none{box-shadow:none !important}.focus-ring-primary{--bs-focus-ring-color: rgba(var(--bs-primary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-secondary{--bs-focus-ring-color: rgba(var(--bs-secondary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-success{--bs-focus-ring-color: rgba(var(--bs-success-rgb), var(--bs-focus-ring-opacity))}.focus-ring-info{--bs-focus-ring-color: rgba(var(--bs-info-rgb), var(--bs-focus-ring-opacity))}.focus-ring-warning{--bs-focus-ring-color: rgba(var(--bs-warning-rgb), var(--bs-focus-ring-opacity))}.focus-ring-danger{--bs-focus-ring-color: rgba(var(--bs-danger-rgb), var(--bs-focus-ring-opacity))}.focus-ring-light{--bs-focus-ring-color: rgba(var(--bs-light-rgb), var(--bs-focus-ring-opacity))}.focus-ring-dark{--bs-focus-ring-color: rgba(var(--bs-dark-rgb), var(--bs-focus-ring-opacity))}.position-static{position:static !important}.position-relative{position:relative !important}.position-absolute{position:absolute !important}.position-fixed{position:fixed !important}.position-sticky{position:sticky !important}.top-0{top:0 !important}.top-50{top:50% !important}.top-100{top:100% !important}.bottom-0{bottom:0 !important}.bottom-50{bottom:50% !important}.bottom-100{bottom:100% !important}.start-0{left:0 !important}.start-50{left:50% !important}.start-100{left:100% !important}.end-0{right:0 !important}.end-50{right:50% !important}.end-100{right:100% !important}.translate-middle{transform:translate(-50%, -50%) !important}.translate-middle-x{transform:translateX(-50%) !important}.translate-middle-y{transform:translateY(-50%) !important}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important}.border-0{border:0 !important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important}.border-top-0{border-top:0 !important}.border-end{border-right:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important}.border-end-0{border-right:0 !important}.border-bottom{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important}.border-bottom-0{border-bottom:0 !important}.border-start{border-left:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important}.border-start-0{border-left:0 !important}.border-primary{--bs-border-opacity: 1;border-color:rgba(var(--bs-primary-rgb), var(--bs-border-opacity)) !important}.border-secondary{--bs-border-opacity: 1;border-color:rgba(var(--bs-secondary-rgb), var(--bs-border-opacity)) !important}.border-success{--bs-border-opacity: 1;border-color:rgba(var(--bs-success-rgb), var(--bs-border-opacity)) !important}.border-info{--bs-border-opacity: 1;border-color:rgba(var(--bs-info-rgb), var(--bs-border-opacity)) !important}.border-warning{--bs-border-opacity: 1;border-color:rgba(var(--bs-warning-rgb), var(--bs-border-opacity)) !important}.border-danger{--bs-border-opacity: 1;border-color:rgba(var(--bs-danger-rgb), var(--bs-border-opacity)) !important}.border-light{--bs-border-opacity: 1;border-color:rgba(var(--bs-light-rgb), var(--bs-border-opacity)) !important}.border-dark{--bs-border-opacity: 1;border-color:rgba(var(--bs-dark-rgb), var(--bs-border-opacity)) !important}.border-black{--bs-border-opacity: 1;border-color:rgba(var(--bs-black-rgb), var(--bs-border-opacity)) !important}.border-white{--bs-border-opacity: 1;border-color:rgba(var(--bs-white-rgb), var(--bs-border-opacity)) !important}.border-primary-subtle{border-color:var(--bs-primary-border-subtle) !important}.border-secondary-subtle{border-color:var(--bs-secondary-border-subtle) !important}.border-success-subtle{border-color:var(--bs-success-border-subtle) !important}.border-info-subtle{border-color:var(--bs-info-border-subtle) !important}.border-warning-subtle{border-color:var(--bs-warning-border-subtle) !important}.border-danger-subtle{border-color:var(--bs-danger-border-subtle) !important}.border-light-subtle{border-color:var(--bs-light-border-subtle) !important}.border-dark-subtle{border-color:var(--bs-dark-border-subtle) !important}.border-1{border-width:1px !important}.border-2{border-width:2px !important}.border-3{border-width:3px !important}.border-4{border-width:4px !important}.border-5{border-width:5px !important}.border-opacity-10{--bs-border-opacity: 0.1}.border-opacity-25{--bs-border-opacity: 0.25}.border-opacity-50{--bs-border-opacity: 0.5}.border-opacity-75{--bs-border-opacity: 0.75}.border-opacity-100{--bs-border-opacity: 1}.w-25{width:25% !important}.w-50{width:50% !important}.w-75{width:75% !important}.w-100{width:100% !important}.w-auto{width:auto !important}.mw-100{max-width:100% !important}.vw-100{width:100vw !important}.min-vw-100{min-width:100vw !important}.h-25{height:25% !important}.h-50{height:50% !important}.h-75{height:75% !important}.h-100{height:100% !important}.h-auto{height:auto !important}.mh-100{max-height:100% !important}.vh-100{height:100vh !important}.min-vh-100{min-height:100vh !important}.flex-fill{flex:1 1 auto !important}.flex-row{flex-direction:row !important}.flex-column{flex-direction:column !important}.flex-row-reverse{flex-direction:row-reverse !important}.flex-column-reverse{flex-direction:column-reverse !important}.flex-grow-0{flex-grow:0 !important}.flex-grow-1{flex-grow:1 !important}.flex-shrink-0{flex-shrink:0 !important}.flex-shrink-1{flex-shrink:1 !important}.flex-wrap{flex-wrap:wrap !important}.flex-nowrap{flex-wrap:nowrap !important}.flex-wrap-reverse{flex-wrap:wrap-reverse !important}.justify-content-start{justify-content:flex-start !important}.justify-content-end{justify-content:flex-end !important}.justify-content-center{justify-content:center !important}.justify-content-between{justify-content:space-between !important}.justify-content-around{justify-content:space-around !important}.justify-content-evenly{justify-content:space-evenly !important}.align-items-start{align-items:flex-start !important}.align-items-end{align-items:flex-end !important}.align-items-center{align-items:center !important}.align-items-baseline{align-items:baseline !important}.align-items-stretch{align-items:stretch !important}.align-content-start{align-content:flex-start !important}.align-content-end{align-content:flex-end !important}.align-content-center{align-content:center !important}.align-content-between{align-content:space-between !important}.align-content-around{align-content:space-around !important}.align-content-stretch{align-content:stretch !important}.align-self-auto{align-self:auto !important}.align-self-start{align-self:flex-start !important}.align-self-end{align-self:flex-end !important}.align-self-center{align-self:center !important}.align-self-baseline{align-self:baseline !important}.align-self-stretch{align-self:stretch !important}.order-first{order:-1 !important}.order-0{order:0 !important}.order-1{order:1 !important}.order-2{order:2 !important}.order-3{order:3 !important}.order-4{order:4 !important}.order-5{order:5 !important}.order-last{order:6 !important}.m-0{margin:0 !important}.m-1{margin:.25rem !important}.m-2{margin:.5rem !important}.m-3{margin:1rem !important}.m-4{margin:1.5rem !important}.m-5{margin:3rem !important}.m-auto{margin:auto !important}.mx-0{margin-right:0 !important;margin-left:0 !important}.mx-1{margin-right:.25rem !important;margin-left:.25rem !important}.mx-2{margin-right:.5rem !important;margin-left:.5rem !important}.mx-3{margin-right:1rem !important;margin-left:1rem !important}.mx-4{margin-right:1.5rem !important;margin-left:1.5rem !important}.mx-5{margin-right:3rem !important;margin-left:3rem !important}.mx-auto{margin-right:auto !important;margin-left:auto !important}.my-0{margin-top:0 !important;margin-bottom:0 !important}.my-1{margin-top:.25rem !important;margin-bottom:.25rem !important}.my-2{margin-top:.5rem !important;margin-bottom:.5rem !important}.my-3{margin-top:1rem !important;margin-bottom:1rem !important}.my-4{margin-top:1.5rem !important;margin-bottom:1.5rem !important}.my-5{margin-top:3rem !important;margin-bottom:3rem !important}.my-auto{margin-top:auto !important;margin-bottom:auto !important}.mt-0{margin-top:0 !important}.mt-1{margin-top:.25rem !important}.mt-2{margin-top:.5rem !important}.mt-3{margin-top:1rem !important}.mt-4{margin-top:1.5rem !important}.mt-5{margin-top:3rem !important}.mt-auto{margin-top:auto !important}.me-0{margin-right:0 !important}.me-1{margin-right:.25rem !important}.me-2{margin-right:.5rem !important}.me-3{margin-right:1rem !important}.me-4{margin-right:1.5rem !important}.me-5{margin-right:3rem !important}.me-auto{margin-right:auto !important}.mb-0{margin-bottom:0 !important}.mb-1{margin-bottom:.25rem !important}.mb-2{margin-bottom:.5rem !important}.mb-3{margin-bottom:1rem !important}.mb-4{margin-bottom:1.5rem !important}.mb-5{margin-bottom:3rem !important}.mb-auto{margin-bottom:auto !important}.ms-0{margin-left:0 !important}.ms-1{margin-left:.25rem !important}.ms-2{margin-left:.5rem !important}.ms-3{margin-left:1rem !important}.ms-4{margin-left:1.5rem !important}.ms-5{margin-left:3rem !important}.ms-auto{margin-left:auto !important}.p-0{padding:0 !important}.p-1{padding:.25rem !important}.p-2{padding:.5rem !important}.p-3{padding:1rem !important}.p-4{padding:1.5rem !important}.p-5{padding:3rem !important}.px-0{padding-right:0 !important;padding-left:0 !important}.px-1{padding-right:.25rem !important;padding-left:.25rem !important}.px-2{padding-right:.5rem !important;padding-left:.5rem !important}.px-3{padding-right:1rem !important;padding-left:1rem !important}.px-4{padding-right:1.5rem !important;padding-left:1.5rem !important}.px-5{padding-right:3rem !important;padding-left:3rem !important}.py-0{padding-top:0 !important;padding-bottom:0 !important}.py-1{padding-top:.25rem !important;padding-bottom:.25rem !important}.py-2{padding-top:.5rem !important;padding-bottom:.5rem !important}.py-3{padding-top:1rem !important;padding-bottom:1rem !important}.py-4{padding-top:1.5rem !important;padding-bottom:1.5rem !important}.py-5{padding-top:3rem !important;padding-bottom:3rem !important}.pt-0{padding-top:0 !important}.pt-1{padding-top:.25rem !important}.pt-2{padding-top:.5rem !important}.pt-3{padding-top:1rem !important}.pt-4{padding-top:1.5rem !important}.pt-5{padding-top:3rem !important}.pe-0{padding-right:0 !important}.pe-1{padding-right:.25rem !important}.pe-2{padding-right:.5rem !important}.pe-3{padding-right:1rem !important}.pe-4{padding-right:1.5rem !important}.pe-5{padding-right:3rem !important}.pb-0{padding-bottom:0 !important}.pb-1{padding-bottom:.25rem !important}.pb-2{padding-bottom:.5rem !important}.pb-3{padding-bottom:1rem !important}.pb-4{padding-bottom:1.5rem !important}.pb-5{padding-bottom:3rem !important}.ps-0{padding-left:0 !important}.ps-1{padding-left:.25rem !important}.ps-2{padding-left:.5rem !important}.ps-3{padding-left:1rem !important}.ps-4{padding-left:1.5rem !important}.ps-5{padding-left:3rem !important}.gap-0{gap:0 !important}.gap-1{gap:.25rem !important}.gap-2{gap:.5rem !important}.gap-3{gap:1rem !important}.gap-4{gap:1.5rem !important}.gap-5{gap:3rem !important}.row-gap-0{row-gap:0 !important}.row-gap-1{row-gap:.25rem !important}.row-gap-2{row-gap:.5rem !important}.row-gap-3{row-gap:1rem !important}.row-gap-4{row-gap:1.5rem !important}.row-gap-5{row-gap:3rem !important}.column-gap-0{column-gap:0 !important}.column-gap-1{column-gap:.25rem !important}.column-gap-2{column-gap:.5rem !important}.column-gap-3{column-gap:1rem !important}.column-gap-4{column-gap:1.5rem !important}.column-gap-5{column-gap:3rem !important}.font-monospace{font-family:var(--bs-font-monospace) !important}.fs-1{font-size:calc(1.375rem + 1.5vw) !important}.fs-2{font-size:calc(1.325rem + 0.9vw) !important}.fs-3{font-size:calc(1.3rem + 0.6vw) !important}.fs-4{font-size:calc(1.275rem + 0.3vw) !important}.fs-5{font-size:1.25rem !important}.fs-6{font-size:1rem !important}.fst-italic{font-style:italic !important}.fst-normal{font-style:normal !important}.fw-lighter{font-weight:lighter !important}.fw-light{font-weight:300 !important}.fw-normal{font-weight:400 !important}.fw-medium{font-weight:500 !important}.fw-semibold{font-weight:600 !important}.fw-bold{font-weight:700 !important}.fw-bolder{font-weight:bolder !important}.lh-1{line-height:1 !important}.lh-sm{line-height:1.25 !important}.lh-base{line-height:1.5 !important}.lh-lg{line-height:2 !important}.text-start{text-align:left !important}.text-end{text-align:right !important}.text-center{text-align:center !important}.text-decoration-none{text-decoration:none !important}.text-decoration-underline{text-decoration:underline !important}.text-decoration-line-through{text-decoration:line-through !important}.text-lowercase{text-transform:lowercase !important}.text-uppercase{text-transform:uppercase !important}.text-capitalize{text-transform:capitalize !important}.text-wrap{white-space:normal !important}.text-nowrap{white-space:nowrap !important}.text-break{word-wrap:break-word !important;word-break:break-word !important}.text-primary{--bs-text-opacity: 1;color:rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important}.text-secondary{--bs-text-opacity: 1;color:rgba(var(--bs-secondary-rgb), var(--bs-text-opacity)) !important}.text-success{--bs-text-opacity: 1;color:rgba(var(--bs-success-rgb), var(--bs-text-opacity)) !important}.text-info{--bs-text-opacity: 1;color:rgba(var(--bs-info-rgb), var(--bs-text-opacity)) !important}.text-warning{--bs-text-opacity: 1;color:rgba(var(--bs-warning-rgb), var(--bs-text-opacity)) !important}.text-danger{--bs-text-opacity: 1;color:rgba(var(--bs-danger-rgb), var(--bs-text-opacity)) !important}.text-light{--bs-text-opacity: 1;color:rgba(var(--bs-light-rgb), var(--bs-text-opacity)) !important}.text-dark{--bs-text-opacity: 1;color:rgba(var(--bs-dark-rgb), var(--bs-text-opacity)) !important}.text-black{--bs-text-opacity: 1;color:rgba(var(--bs-black-rgb), var(--bs-text-opacity)) !important}.text-white{--bs-text-opacity: 1;color:rgba(var(--bs-white-rgb), var(--bs-text-opacity)) !important}.text-body{--bs-text-opacity: 1;color:rgba(var(--bs-body-color-rgb), var(--bs-text-opacity)) !important}.text-muted{--bs-text-opacity: 1;color:var(--bs-secondary-color) !important}.text-black-50{--bs-text-opacity: 1;color:rgba(0,0,0,.5) !important}.text-white-50{--bs-text-opacity: 1;color:hsla(0,0%,100%,.5) !important}.text-body-secondary{--bs-text-opacity: 1;color:var(--bs-secondary-color) !important}.text-body-tertiary{--bs-text-opacity: 1;color:var(--bs-tertiary-color) !important}.text-body-emphasis{--bs-text-opacity: 1;color:var(--bs-emphasis-color) !important}.text-reset{--bs-text-opacity: 1;color:inherit !important}.text-opacity-25{--bs-text-opacity: 0.25}.text-opacity-50{--bs-text-opacity: 0.5}.text-opacity-75{--bs-text-opacity: 0.75}.text-opacity-100{--bs-text-opacity: 1}.text-primary-emphasis{color:var(--bs-primary-text-emphasis) !important}.text-secondary-emphasis{color:var(--bs-secondary-text-emphasis) !important}.text-success-emphasis{color:var(--bs-success-text-emphasis) !important}.text-info-emphasis{color:var(--bs-info-text-emphasis) !important}.text-warning-emphasis{color:var(--bs-warning-text-emphasis) !important}.text-danger-emphasis{color:var(--bs-danger-text-emphasis) !important}.text-light-emphasis{color:var(--bs-light-text-emphasis) !important}.text-dark-emphasis{color:var(--bs-dark-text-emphasis) !important}.link-opacity-10{--bs-link-opacity: 0.1}.link-opacity-10-hover:hover{--bs-link-opacity: 0.1}.link-opacity-25{--bs-link-opacity: 0.25}.link-opacity-25-hover:hover{--bs-link-opacity: 0.25}.link-opacity-50{--bs-link-opacity: 0.5}.link-opacity-50-hover:hover{--bs-link-opacity: 0.5}.link-opacity-75{--bs-link-opacity: 0.75}.link-opacity-75-hover:hover{--bs-link-opacity: 0.75}.link-opacity-100{--bs-link-opacity: 1}.link-opacity-100-hover:hover{--bs-link-opacity: 1}.link-offset-1{text-underline-offset:.125em !important}.link-offset-1-hover:hover{text-underline-offset:.125em !important}.link-offset-2{text-underline-offset:.25em !important}.link-offset-2-hover:hover{text-underline-offset:.25em !important}.link-offset-3{text-underline-offset:.375em !important}.link-offset-3-hover:hover{text-underline-offset:.375em !important}.link-underline-primary{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-primary-rgb), var(--bs-link-underline-opacity)) !important}.link-underline-secondary{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-secondary-rgb), var(--bs-link-underline-opacity)) !important}.link-underline-success{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-success-rgb), var(--bs-link-underline-opacity)) !important}.link-underline-info{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-info-rgb), var(--bs-link-underline-opacity)) !important}.link-underline-warning{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-warning-rgb), var(--bs-link-underline-opacity)) !important}.link-underline-danger{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-danger-rgb), var(--bs-link-underline-opacity)) !important}.link-underline-light{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-light-rgb), var(--bs-link-underline-opacity)) !important}.link-underline-dark{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-dark-rgb), var(--bs-link-underline-opacity)) !important}.link-underline{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-link-color-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-underline-opacity-0{--bs-link-underline-opacity: 0}.link-underline-opacity-0-hover:hover{--bs-link-underline-opacity: 0}.link-underline-opacity-10{--bs-link-underline-opacity: 0.1}.link-underline-opacity-10-hover:hover{--bs-link-underline-opacity: 0.1}.link-underline-opacity-25{--bs-link-underline-opacity: 0.25}.link-underline-opacity-25-hover:hover{--bs-link-underline-opacity: 0.25}.link-underline-opacity-50{--bs-link-underline-opacity: 0.5}.link-underline-opacity-50-hover:hover{--bs-link-underline-opacity: 0.5}.link-underline-opacity-75{--bs-link-underline-opacity: 0.75}.link-underline-opacity-75-hover:hover{--bs-link-underline-opacity: 0.75}.link-underline-opacity-100{--bs-link-underline-opacity: 1}.link-underline-opacity-100-hover:hover{--bs-link-underline-opacity: 1}.bg-primary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-primary-rgb), var(--bs-bg-opacity)) !important}.bg-secondary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-secondary-rgb), var(--bs-bg-opacity)) !important}.bg-success{--bs-bg-opacity: 1;background-color:rgba(var(--bs-success-rgb), var(--bs-bg-opacity)) !important}.bg-info{--bs-bg-opacity: 1;background-color:rgba(var(--bs-info-rgb), var(--bs-bg-opacity)) !important}.bg-warning{--bs-bg-opacity: 1;background-color:rgba(var(--bs-warning-rgb), var(--bs-bg-opacity)) !important}.bg-danger{--bs-bg-opacity: 1;background-color:rgba(var(--bs-danger-rgb), var(--bs-bg-opacity)) !important}.bg-light{--bs-bg-opacity: 1;background-color:rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important}.bg-dark{--bs-bg-opacity: 1;background-color:rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important}.bg-black{--bs-bg-opacity: 1;background-color:rgba(var(--bs-black-rgb), var(--bs-bg-opacity)) !important}.bg-white{--bs-bg-opacity: 1;background-color:rgba(var(--bs-white-rgb), var(--bs-bg-opacity)) !important}.bg-body{--bs-bg-opacity: 1;background-color:rgba(var(--bs-body-bg-rgb), var(--bs-bg-opacity)) !important}.bg-transparent{--bs-bg-opacity: 1;background-color:rgba(0,0,0,0) !important}.bg-body-secondary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-secondary-bg-rgb), var(--bs-bg-opacity)) !important}.bg-body-tertiary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-tertiary-bg-rgb), var(--bs-bg-opacity)) !important}.bg-opacity-10{--bs-bg-opacity: 0.1}.bg-opacity-25{--bs-bg-opacity: 0.25}.bg-opacity-50{--bs-bg-opacity: 0.5}.bg-opacity-75{--bs-bg-opacity: 0.75}.bg-opacity-100{--bs-bg-opacity: 1}.bg-primary-subtle{background-color:var(--bs-primary-bg-subtle) !important}.bg-secondary-subtle{background-color:var(--bs-secondary-bg-subtle) !important}.bg-success-subtle{background-color:var(--bs-success-bg-subtle) !important}.bg-info-subtle{background-color:var(--bs-info-bg-subtle) !important}.bg-warning-subtle{background-color:var(--bs-warning-bg-subtle) !important}.bg-danger-subtle{background-color:var(--bs-danger-bg-subtle) !important}.bg-light-subtle{background-color:var(--bs-light-bg-subtle) !important}.bg-dark-subtle{background-color:var(--bs-dark-bg-subtle) !important}.bg-gradient{background-image:var(--bs-gradient) !important}.user-select-all{user-select:all !important}.user-select-auto{user-select:auto !important}.user-select-none{user-select:none !important}.pe-none{pointer-events:none !important}.pe-auto{pointer-events:auto !important}.rounded{border-radius:var(--bs-border-radius) !important}.rounded-0{border-radius:0 !important}.rounded-1{border-radius:var(--bs-border-radius-sm) !important}.rounded-2{border-radius:var(--bs-border-radius) !important}.rounded-3{border-radius:var(--bs-border-radius-lg) !important}.rounded-4{border-radius:var(--bs-border-radius-xl) !important}.rounded-5{border-radius:var(--bs-border-radius-xxl) !important}.rounded-circle{border-radius:50% !important}.rounded-pill{border-radius:var(--bs-border-radius-pill) !important}.rounded-top{border-top-left-radius:var(--bs-border-radius) !important;border-top-right-radius:var(--bs-border-radius) !important}.rounded-top-0{border-top-left-radius:0 !important;border-top-right-radius:0 !important}.rounded-top-1{border-top-left-radius:var(--bs-border-radius-sm) !important;border-top-right-radius:var(--bs-border-radius-sm) !important}.rounded-top-2{border-top-left-radius:var(--bs-border-radius) !important;border-top-right-radius:var(--bs-border-radius) !important}.rounded-top-3{border-top-left-radius:var(--bs-border-radius-lg) !important;border-top-right-radius:var(--bs-border-radius-lg) !important}.rounded-top-4{border-top-left-radius:var(--bs-border-radius-xl) !important;border-top-right-radius:var(--bs-border-radius-xl) !important}.rounded-top-5{border-top-left-radius:var(--bs-border-radius-xxl) !important;border-top-right-radius:var(--bs-border-radius-xxl) !important}.rounded-top-circle{border-top-left-radius:50% !important;border-top-right-radius:50% !important}.rounded-top-pill{border-top-left-radius:var(--bs-border-radius-pill) !important;border-top-right-radius:var(--bs-border-radius-pill) !important}.rounded-end{border-top-right-radius:var(--bs-border-radius) !important;border-bottom-right-radius:var(--bs-border-radius) !important}.rounded-end-0{border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.rounded-end-1{border-top-right-radius:var(--bs-border-radius-sm) !important;border-bottom-right-radius:var(--bs-border-radius-sm) !important}.rounded-end-2{border-top-right-radius:var(--bs-border-radius) !important;border-bottom-right-radius:var(--bs-border-radius) !important}.rounded-end-3{border-top-right-radius:var(--bs-border-radius-lg) !important;border-bottom-right-radius:var(--bs-border-radius-lg) !important}.rounded-end-4{border-top-right-radius:var(--bs-border-radius-xl) !important;border-bottom-right-radius:var(--bs-border-radius-xl) !important}.rounded-end-5{border-top-right-radius:var(--bs-border-radius-xxl) !important;border-bottom-right-radius:var(--bs-border-radius-xxl) !important}.rounded-end-circle{border-top-right-radius:50% !important;border-bottom-right-radius:50% !important}.rounded-end-pill{border-top-right-radius:var(--bs-border-radius-pill) !important;border-bottom-right-radius:var(--bs-border-radius-pill) !important}.rounded-bottom{border-bottom-right-radius:var(--bs-border-radius) !important;border-bottom-left-radius:var(--bs-border-radius) !important}.rounded-bottom-0{border-bottom-right-radius:0 !important;border-bottom-left-radius:0 !important}.rounded-bottom-1{border-bottom-right-radius:var(--bs-border-radius-sm) !important;border-bottom-left-radius:var(--bs-border-radius-sm) !important}.rounded-bottom-2{border-bottom-right-radius:var(--bs-border-radius) !important;border-bottom-left-radius:var(--bs-border-radius) !important}.rounded-bottom-3{border-bottom-right-radius:var(--bs-border-radius-lg) !important;border-bottom-left-radius:var(--bs-border-radius-lg) !important}.rounded-bottom-4{border-bottom-right-radius:var(--bs-border-radius-xl) !important;border-bottom-left-radius:var(--bs-border-radius-xl) !important}.rounded-bottom-5{border-bottom-right-radius:var(--bs-border-radius-xxl) !important;border-bottom-left-radius:var(--bs-border-radius-xxl) !important}.rounded-bottom-circle{border-bottom-right-radius:50% !important;border-bottom-left-radius:50% !important}.rounded-bottom-pill{border-bottom-right-radius:var(--bs-border-radius-pill) !important;border-bottom-left-radius:var(--bs-border-radius-pill) !important}.rounded-start{border-bottom-left-radius:var(--bs-border-radius) !important;border-top-left-radius:var(--bs-border-radius) !important}.rounded-start-0{border-bottom-left-radius:0 !important;border-top-left-radius:0 !important}.rounded-start-1{border-bottom-left-radius:var(--bs-border-radius-sm) !important;border-top-left-radius:var(--bs-border-radius-sm) !important}.rounded-start-2{border-bottom-left-radius:var(--bs-border-radius) !important;border-top-left-radius:var(--bs-border-radius) !important}.rounded-start-3{border-bottom-left-radius:var(--bs-border-radius-lg) !important;border-top-left-radius:var(--bs-border-radius-lg) !important}.rounded-start-4{border-bottom-left-radius:var(--bs-border-radius-xl) !important;border-top-left-radius:var(--bs-border-radius-xl) !important}.rounded-start-5{border-bottom-left-radius:var(--bs-border-radius-xxl) !important;border-top-left-radius:var(--bs-border-radius-xxl) !important}.rounded-start-circle{border-bottom-left-radius:50% !important;border-top-left-radius:50% !important}.rounded-start-pill{border-bottom-left-radius:var(--bs-border-radius-pill) !important;border-top-left-radius:var(--bs-border-radius-pill) !important}.visible{visibility:visible !important}.invisible{visibility:hidden !important}.z-n1{z-index:-1 !important}.z-0{z-index:0 !important}.z-1{z-index:1 !important}.z-2{z-index:2 !important}.z-3{z-index:3 !important}@media(min-width: 576px){.float-sm-start{float:left !important}.float-sm-end{float:right !important}.float-sm-none{float:none !important}.object-fit-sm-contain{object-fit:contain !important}.object-fit-sm-cover{object-fit:cover !important}.object-fit-sm-fill{object-fit:fill !important}.object-fit-sm-scale{object-fit:scale-down !important}.object-fit-sm-none{object-fit:none !important}.d-sm-inline{display:inline !important}.d-sm-inline-block{display:inline-block !important}.d-sm-block{display:block !important}.d-sm-grid{display:grid !important}.d-sm-inline-grid{display:inline-grid !important}.d-sm-table{display:table !important}.d-sm-table-row{display:table-row !important}.d-sm-table-cell{display:table-cell !important}.d-sm-flex{display:flex !important}.d-sm-inline-flex{display:inline-flex !important}.d-sm-none{display:none !important}.flex-sm-fill{flex:1 1 auto !important}.flex-sm-row{flex-direction:row !important}.flex-sm-column{flex-direction:column !important}.flex-sm-row-reverse{flex-direction:row-reverse !important}.flex-sm-column-reverse{flex-direction:column-reverse !important}.flex-sm-grow-0{flex-grow:0 !important}.flex-sm-grow-1{flex-grow:1 !important}.flex-sm-shrink-0{flex-shrink:0 !important}.flex-sm-shrink-1{flex-shrink:1 !important}.flex-sm-wrap{flex-wrap:wrap !important}.flex-sm-nowrap{flex-wrap:nowrap !important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse !important}.justify-content-sm-start{justify-content:flex-start !important}.justify-content-sm-end{justify-content:flex-end !important}.justify-content-sm-center{justify-content:center !important}.justify-content-sm-between{justify-content:space-between !important}.justify-content-sm-around{justify-content:space-around !important}.justify-content-sm-evenly{justify-content:space-evenly !important}.align-items-sm-start{align-items:flex-start !important}.align-items-sm-end{align-items:flex-end !important}.align-items-sm-center{align-items:center !important}.align-items-sm-baseline{align-items:baseline !important}.align-items-sm-stretch{align-items:stretch !important}.align-content-sm-start{align-content:flex-start !important}.align-content-sm-end{align-content:flex-end !important}.align-content-sm-center{align-content:center !important}.align-content-sm-between{align-content:space-between !important}.align-content-sm-around{align-content:space-around !important}.align-content-sm-stretch{align-content:stretch !important}.align-self-sm-auto{align-self:auto !important}.align-self-sm-start{align-self:flex-start !important}.align-self-sm-end{align-self:flex-end !important}.align-self-sm-center{align-self:center !important}.align-self-sm-baseline{align-self:baseline !important}.align-self-sm-stretch{align-self:stretch !important}.order-sm-first{order:-1 !important}.order-sm-0{order:0 !important}.order-sm-1{order:1 !important}.order-sm-2{order:2 !important}.order-sm-3{order:3 !important}.order-sm-4{order:4 !important}.order-sm-5{order:5 !important}.order-sm-last{order:6 !important}.m-sm-0{margin:0 !important}.m-sm-1{margin:.25rem !important}.m-sm-2{margin:.5rem !important}.m-sm-3{margin:1rem !important}.m-sm-4{margin:1.5rem !important}.m-sm-5{margin:3rem !important}.m-sm-auto{margin:auto !important}.mx-sm-0{margin-right:0 !important;margin-left:0 !important}.mx-sm-1{margin-right:.25rem !important;margin-left:.25rem !important}.mx-sm-2{margin-right:.5rem !important;margin-left:.5rem !important}.mx-sm-3{margin-right:1rem !important;margin-left:1rem !important}.mx-sm-4{margin-right:1.5rem !important;margin-left:1.5rem !important}.mx-sm-5{margin-right:3rem !important;margin-left:3rem !important}.mx-sm-auto{margin-right:auto !important;margin-left:auto !important}.my-sm-0{margin-top:0 !important;margin-bottom:0 !important}.my-sm-1{margin-top:.25rem !important;margin-bottom:.25rem !important}.my-sm-2{margin-top:.5rem !important;margin-bottom:.5rem !important}.my-sm-3{margin-top:1rem !important;margin-bottom:1rem !important}.my-sm-4{margin-top:1.5rem !important;margin-bottom:1.5rem !important}.my-sm-5{margin-top:3rem !important;margin-bottom:3rem !important}.my-sm-auto{margin-top:auto !important;margin-bottom:auto !important}.mt-sm-0{margin-top:0 !important}.mt-sm-1{margin-top:.25rem !important}.mt-sm-2{margin-top:.5rem !important}.mt-sm-3{margin-top:1rem !important}.mt-sm-4{margin-top:1.5rem !important}.mt-sm-5{margin-top:3rem !important}.mt-sm-auto{margin-top:auto !important}.me-sm-0{margin-right:0 !important}.me-sm-1{margin-right:.25rem !important}.me-sm-2{margin-right:.5rem !important}.me-sm-3{margin-right:1rem !important}.me-sm-4{margin-right:1.5rem !important}.me-sm-5{margin-right:3rem !important}.me-sm-auto{margin-right:auto !important}.mb-sm-0{margin-bottom:0 !important}.mb-sm-1{margin-bottom:.25rem !important}.mb-sm-2{margin-bottom:.5rem !important}.mb-sm-3{margin-bottom:1rem !important}.mb-sm-4{margin-bottom:1.5rem !important}.mb-sm-5{margin-bottom:3rem !important}.mb-sm-auto{margin-bottom:auto !important}.ms-sm-0{margin-left:0 !important}.ms-sm-1{margin-left:.25rem !important}.ms-sm-2{margin-left:.5rem !important}.ms-sm-3{margin-left:1rem !important}.ms-sm-4{margin-left:1.5rem !important}.ms-sm-5{margin-left:3rem !important}.ms-sm-auto{margin-left:auto !important}.p-sm-0{padding:0 !important}.p-sm-1{padding:.25rem !important}.p-sm-2{padding:.5rem !important}.p-sm-3{padding:1rem !important}.p-sm-4{padding:1.5rem !important}.p-sm-5{padding:3rem !important}.px-sm-0{padding-right:0 !important;padding-left:0 !important}.px-sm-1{padding-right:.25rem !important;padding-left:.25rem !important}.px-sm-2{padding-right:.5rem !important;padding-left:.5rem !important}.px-sm-3{padding-right:1rem !important;padding-left:1rem !important}.px-sm-4{padding-right:1.5rem !important;padding-left:1.5rem !important}.px-sm-5{padding-right:3rem !important;padding-left:3rem !important}.py-sm-0{padding-top:0 !important;padding-bottom:0 !important}.py-sm-1{padding-top:.25rem !important;padding-bottom:.25rem !important}.py-sm-2{padding-top:.5rem !important;padding-bottom:.5rem !important}.py-sm-3{padding-top:1rem !important;padding-bottom:1rem !important}.py-sm-4{padding-top:1.5rem !important;padding-bottom:1.5rem !important}.py-sm-5{padding-top:3rem !important;padding-bottom:3rem !important}.pt-sm-0{padding-top:0 !important}.pt-sm-1{padding-top:.25rem !important}.pt-sm-2{padding-top:.5rem !important}.pt-sm-3{padding-top:1rem !important}.pt-sm-4{padding-top:1.5rem !important}.pt-sm-5{padding-top:3rem !important}.pe-sm-0{padding-right:0 !important}.pe-sm-1{padding-right:.25rem !important}.pe-sm-2{padding-right:.5rem !important}.pe-sm-3{padding-right:1rem !important}.pe-sm-4{padding-right:1.5rem !important}.pe-sm-5{padding-right:3rem !important}.pb-sm-0{padding-bottom:0 !important}.pb-sm-1{padding-bottom:.25rem !important}.pb-sm-2{padding-bottom:.5rem !important}.pb-sm-3{padding-bottom:1rem !important}.pb-sm-4{padding-bottom:1.5rem !important}.pb-sm-5{padding-bottom:3rem !important}.ps-sm-0{padding-left:0 !important}.ps-sm-1{padding-left:.25rem !important}.ps-sm-2{padding-left:.5rem !important}.ps-sm-3{padding-left:1rem !important}.ps-sm-4{padding-left:1.5rem !important}.ps-sm-5{padding-left:3rem !important}.gap-sm-0{gap:0 !important}.gap-sm-1{gap:.25rem !important}.gap-sm-2{gap:.5rem !important}.gap-sm-3{gap:1rem !important}.gap-sm-4{gap:1.5rem !important}.gap-sm-5{gap:3rem !important}.row-gap-sm-0{row-gap:0 !important}.row-gap-sm-1{row-gap:.25rem !important}.row-gap-sm-2{row-gap:.5rem !important}.row-gap-sm-3{row-gap:1rem !important}.row-gap-sm-4{row-gap:1.5rem !important}.row-gap-sm-5{row-gap:3rem !important}.column-gap-sm-0{column-gap:0 !important}.column-gap-sm-1{column-gap:.25rem !important}.column-gap-sm-2{column-gap:.5rem !important}.column-gap-sm-3{column-gap:1rem !important}.column-gap-sm-4{column-gap:1.5rem !important}.column-gap-sm-5{column-gap:3rem !important}.text-sm-start{text-align:left !important}.text-sm-end{text-align:right !important}.text-sm-center{text-align:center !important}}@media(min-width: 768px){.float-md-start{float:left !important}.float-md-end{float:right !important}.float-md-none{float:none !important}.object-fit-md-contain{object-fit:contain !important}.object-fit-md-cover{object-fit:cover !important}.object-fit-md-fill{object-fit:fill !important}.object-fit-md-scale{object-fit:scale-down !important}.object-fit-md-none{object-fit:none !important}.d-md-inline{display:inline !important}.d-md-inline-block{display:inline-block !important}.d-md-block{display:block !important}.d-md-grid{display:grid !important}.d-md-inline-grid{display:inline-grid !important}.d-md-table{display:table !important}.d-md-table-row{display:table-row !important}.d-md-table-cell{display:table-cell !important}.d-md-flex{display:flex !important}.d-md-inline-flex{display:inline-flex !important}.d-md-none{display:none !important}.flex-md-fill{flex:1 1 auto !important}.flex-md-row{flex-direction:row !important}.flex-md-column{flex-direction:column !important}.flex-md-row-reverse{flex-direction:row-reverse !important}.flex-md-column-reverse{flex-direction:column-reverse !important}.flex-md-grow-0{flex-grow:0 !important}.flex-md-grow-1{flex-grow:1 !important}.flex-md-shrink-0{flex-shrink:0 !important}.flex-md-shrink-1{flex-shrink:1 !important}.flex-md-wrap{flex-wrap:wrap !important}.flex-md-nowrap{flex-wrap:nowrap !important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse !important}.justify-content-md-start{justify-content:flex-start !important}.justify-content-md-end{justify-content:flex-end !important}.justify-content-md-center{justify-content:center !important}.justify-content-md-between{justify-content:space-between !important}.justify-content-md-around{justify-content:space-around !important}.justify-content-md-evenly{justify-content:space-evenly !important}.align-items-md-start{align-items:flex-start !important}.align-items-md-end{align-items:flex-end !important}.align-items-md-center{align-items:center !important}.align-items-md-baseline{align-items:baseline !important}.align-items-md-stretch{align-items:stretch !important}.align-content-md-start{align-content:flex-start !important}.align-content-md-end{align-content:flex-end !important}.align-content-md-center{align-content:center !important}.align-content-md-between{align-content:space-between !important}.align-content-md-around{align-content:space-around !important}.align-content-md-stretch{align-content:stretch !important}.align-self-md-auto{align-self:auto !important}.align-self-md-start{align-self:flex-start !important}.align-self-md-end{align-self:flex-end !important}.align-self-md-center{align-self:center !important}.align-self-md-baseline{align-self:baseline !important}.align-self-md-stretch{align-self:stretch !important}.order-md-first{order:-1 !important}.order-md-0{order:0 !important}.order-md-1{order:1 !important}.order-md-2{order:2 !important}.order-md-3{order:3 !important}.order-md-4{order:4 !important}.order-md-5{order:5 !important}.order-md-last{order:6 !important}.m-md-0{margin:0 !important}.m-md-1{margin:.25rem !important}.m-md-2{margin:.5rem !important}.m-md-3{margin:1rem !important}.m-md-4{margin:1.5rem !important}.m-md-5{margin:3rem !important}.m-md-auto{margin:auto !important}.mx-md-0{margin-right:0 !important;margin-left:0 !important}.mx-md-1{margin-right:.25rem !important;margin-left:.25rem !important}.mx-md-2{margin-right:.5rem !important;margin-left:.5rem !important}.mx-md-3{margin-right:1rem !important;margin-left:1rem !important}.mx-md-4{margin-right:1.5rem !important;margin-left:1.5rem !important}.mx-md-5{margin-right:3rem !important;margin-left:3rem !important}.mx-md-auto{margin-right:auto !important;margin-left:auto !important}.my-md-0{margin-top:0 !important;margin-bottom:0 !important}.my-md-1{margin-top:.25rem !important;margin-bottom:.25rem !important}.my-md-2{margin-top:.5rem !important;margin-bottom:.5rem !important}.my-md-3{margin-top:1rem !important;margin-bottom:1rem !important}.my-md-4{margin-top:1.5rem !important;margin-bottom:1.5rem !important}.my-md-5{margin-top:3rem !important;margin-bottom:3rem !important}.my-md-auto{margin-top:auto !important;margin-bottom:auto !important}.mt-md-0{margin-top:0 !important}.mt-md-1{margin-top:.25rem !important}.mt-md-2{margin-top:.5rem !important}.mt-md-3{margin-top:1rem !important}.mt-md-4{margin-top:1.5rem !important}.mt-md-5{margin-top:3rem !important}.mt-md-auto{margin-top:auto !important}.me-md-0{margin-right:0 !important}.me-md-1{margin-right:.25rem !important}.me-md-2{margin-right:.5rem !important}.me-md-3{margin-right:1rem !important}.me-md-4{margin-right:1.5rem !important}.me-md-5{margin-right:3rem !important}.me-md-auto{margin-right:auto !important}.mb-md-0{margin-bottom:0 !important}.mb-md-1{margin-bottom:.25rem !important}.mb-md-2{margin-bottom:.5rem !important}.mb-md-3{margin-bottom:1rem !important}.mb-md-4{margin-bottom:1.5rem !important}.mb-md-5{margin-bottom:3rem !important}.mb-md-auto{margin-bottom:auto !important}.ms-md-0{margin-left:0 !important}.ms-md-1{margin-left:.25rem !important}.ms-md-2{margin-left:.5rem !important}.ms-md-3{margin-left:1rem !important}.ms-md-4{margin-left:1.5rem !important}.ms-md-5{margin-left:3rem !important}.ms-md-auto{margin-left:auto !important}.p-md-0{padding:0 !important}.p-md-1{padding:.25rem !important}.p-md-2{padding:.5rem !important}.p-md-3{padding:1rem !important}.p-md-4{padding:1.5rem !important}.p-md-5{padding:3rem !important}.px-md-0{padding-right:0 !important;padding-left:0 !important}.px-md-1{padding-right:.25rem !important;padding-left:.25rem !important}.px-md-2{padding-right:.5rem !important;padding-left:.5rem !important}.px-md-3{padding-right:1rem !important;padding-left:1rem !important}.px-md-4{padding-right:1.5rem !important;padding-left:1.5rem !important}.px-md-5{padding-right:3rem !important;padding-left:3rem !important}.py-md-0{padding-top:0 !important;padding-bottom:0 !important}.py-md-1{padding-top:.25rem !important;padding-bottom:.25rem !important}.py-md-2{padding-top:.5rem !important;padding-bottom:.5rem !important}.py-md-3{padding-top:1rem !important;padding-bottom:1rem !important}.py-md-4{padding-top:1.5rem !important;padding-bottom:1.5rem !important}.py-md-5{padding-top:3rem !important;padding-bottom:3rem !important}.pt-md-0{padding-top:0 !important}.pt-md-1{padding-top:.25rem !important}.pt-md-2{padding-top:.5rem !important}.pt-md-3{padding-top:1rem !important}.pt-md-4{padding-top:1.5rem !important}.pt-md-5{padding-top:3rem !important}.pe-md-0{padding-right:0 !important}.pe-md-1{padding-right:.25rem !important}.pe-md-2{padding-right:.5rem !important}.pe-md-3{padding-right:1rem !important}.pe-md-4{padding-right:1.5rem !important}.pe-md-5{padding-right:3rem !important}.pb-md-0{padding-bottom:0 !important}.pb-md-1{padding-bottom:.25rem !important}.pb-md-2{padding-bottom:.5rem !important}.pb-md-3{padding-bottom:1rem !important}.pb-md-4{padding-bottom:1.5rem !important}.pb-md-5{padding-bottom:3rem !important}.ps-md-0{padding-left:0 !important}.ps-md-1{padding-left:.25rem !important}.ps-md-2{padding-left:.5rem !important}.ps-md-3{padding-left:1rem !important}.ps-md-4{padding-left:1.5rem !important}.ps-md-5{padding-left:3rem !important}.gap-md-0{gap:0 !important}.gap-md-1{gap:.25rem !important}.gap-md-2{gap:.5rem !important}.gap-md-3{gap:1rem !important}.gap-md-4{gap:1.5rem !important}.gap-md-5{gap:3rem !important}.row-gap-md-0{row-gap:0 !important}.row-gap-md-1{row-gap:.25rem !important}.row-gap-md-2{row-gap:.5rem !important}.row-gap-md-3{row-gap:1rem !important}.row-gap-md-4{row-gap:1.5rem !important}.row-gap-md-5{row-gap:3rem !important}.column-gap-md-0{column-gap:0 !important}.column-gap-md-1{column-gap:.25rem !important}.column-gap-md-2{column-gap:.5rem !important}.column-gap-md-3{column-gap:1rem !important}.column-gap-md-4{column-gap:1.5rem !important}.column-gap-md-5{column-gap:3rem !important}.text-md-start{text-align:left !important}.text-md-end{text-align:right !important}.text-md-center{text-align:center !important}}@media(min-width: 992px){.float-lg-start{float:left !important}.float-lg-end{float:right !important}.float-lg-none{float:none !important}.object-fit-lg-contain{object-fit:contain !important}.object-fit-lg-cover{object-fit:cover !important}.object-fit-lg-fill{object-fit:fill !important}.object-fit-lg-scale{object-fit:scale-down !important}.object-fit-lg-none{object-fit:none !important}.d-lg-inline{display:inline !important}.d-lg-inline-block{display:inline-block !important}.d-lg-block{display:block !important}.d-lg-grid{display:grid !important}.d-lg-inline-grid{display:inline-grid !important}.d-lg-table{display:table !important}.d-lg-table-row{display:table-row !important}.d-lg-table-cell{display:table-cell !important}.d-lg-flex{display:flex !important}.d-lg-inline-flex{display:inline-flex !important}.d-lg-none{display:none !important}.flex-lg-fill{flex:1 1 auto !important}.flex-lg-row{flex-direction:row !important}.flex-lg-column{flex-direction:column !important}.flex-lg-row-reverse{flex-direction:row-reverse !important}.flex-lg-column-reverse{flex-direction:column-reverse !important}.flex-lg-grow-0{flex-grow:0 !important}.flex-lg-grow-1{flex-grow:1 !important}.flex-lg-shrink-0{flex-shrink:0 !important}.flex-lg-shrink-1{flex-shrink:1 !important}.flex-lg-wrap{flex-wrap:wrap !important}.flex-lg-nowrap{flex-wrap:nowrap !important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse !important}.justify-content-lg-start{justify-content:flex-start !important}.justify-content-lg-end{justify-content:flex-end !important}.justify-content-lg-center{justify-content:center !important}.justify-content-lg-between{justify-content:space-between !important}.justify-content-lg-around{justify-content:space-around !important}.justify-content-lg-evenly{justify-content:space-evenly !important}.align-items-lg-start{align-items:flex-start !important}.align-items-lg-end{align-items:flex-end !important}.align-items-lg-center{align-items:center !important}.align-items-lg-baseline{align-items:baseline !important}.align-items-lg-stretch{align-items:stretch !important}.align-content-lg-start{align-content:flex-start !important}.align-content-lg-end{align-content:flex-end !important}.align-content-lg-center{align-content:center !important}.align-content-lg-between{align-content:space-between !important}.align-content-lg-around{align-content:space-around !important}.align-content-lg-stretch{align-content:stretch !important}.align-self-lg-auto{align-self:auto !important}.align-self-lg-start{align-self:flex-start !important}.align-self-lg-end{align-self:flex-end !important}.align-self-lg-center{align-self:center !important}.align-self-lg-baseline{align-self:baseline !important}.align-self-lg-stretch{align-self:stretch !important}.order-lg-first{order:-1 !important}.order-lg-0{order:0 !important}.order-lg-1{order:1 !important}.order-lg-2{order:2 !important}.order-lg-3{order:3 !important}.order-lg-4{order:4 !important}.order-lg-5{order:5 !important}.order-lg-last{order:6 !important}.m-lg-0{margin:0 !important}.m-lg-1{margin:.25rem !important}.m-lg-2{margin:.5rem !important}.m-lg-3{margin:1rem !important}.m-lg-4{margin:1.5rem !important}.m-lg-5{margin:3rem !important}.m-lg-auto{margin:auto !important}.mx-lg-0{margin-right:0 !important;margin-left:0 !important}.mx-lg-1{margin-right:.25rem !important;margin-left:.25rem !important}.mx-lg-2{margin-right:.5rem !important;margin-left:.5rem !important}.mx-lg-3{margin-right:1rem !important;margin-left:1rem !important}.mx-lg-4{margin-right:1.5rem !important;margin-left:1.5rem !important}.mx-lg-5{margin-right:3rem !important;margin-left:3rem !important}.mx-lg-auto{margin-right:auto !important;margin-left:auto !important}.my-lg-0{margin-top:0 !important;margin-bottom:0 !important}.my-lg-1{margin-top:.25rem !important;margin-bottom:.25rem !important}.my-lg-2{margin-top:.5rem !important;margin-bottom:.5rem !important}.my-lg-3{margin-top:1rem !important;margin-bottom:1rem !important}.my-lg-4{margin-top:1.5rem !important;margin-bottom:1.5rem !important}.my-lg-5{margin-top:3rem !important;margin-bottom:3rem !important}.my-lg-auto{margin-top:auto !important;margin-bottom:auto !important}.mt-lg-0{margin-top:0 !important}.mt-lg-1{margin-top:.25rem !important}.mt-lg-2{margin-top:.5rem !important}.mt-lg-3{margin-top:1rem !important}.mt-lg-4{margin-top:1.5rem !important}.mt-lg-5{margin-top:3rem !important}.mt-lg-auto{margin-top:auto !important}.me-lg-0{margin-right:0 !important}.me-lg-1{margin-right:.25rem !important}.me-lg-2{margin-right:.5rem !important}.me-lg-3{margin-right:1rem !important}.me-lg-4{margin-right:1.5rem !important}.me-lg-5{margin-right:3rem !important}.me-lg-auto{margin-right:auto !important}.mb-lg-0{margin-bottom:0 !important}.mb-lg-1{margin-bottom:.25rem !important}.mb-lg-2{margin-bottom:.5rem !important}.mb-lg-3{margin-bottom:1rem !important}.mb-lg-4{margin-bottom:1.5rem !important}.mb-lg-5{margin-bottom:3rem !important}.mb-lg-auto{margin-bottom:auto !important}.ms-lg-0{margin-left:0 !important}.ms-lg-1{margin-left:.25rem !important}.ms-lg-2{margin-left:.5rem !important}.ms-lg-3{margin-left:1rem !important}.ms-lg-4{margin-left:1.5rem !important}.ms-lg-5{margin-left:3rem !important}.ms-lg-auto{margin-left:auto !important}.p-lg-0{padding:0 !important}.p-lg-1{padding:.25rem !important}.p-lg-2{padding:.5rem !important}.p-lg-3{padding:1rem !important}.p-lg-4{padding:1.5rem !important}.p-lg-5{padding:3rem !important}.px-lg-0{padding-right:0 !important;padding-left:0 !important}.px-lg-1{padding-right:.25rem !important;padding-left:.25rem !important}.px-lg-2{padding-right:.5rem !important;padding-left:.5rem !important}.px-lg-3{padding-right:1rem !important;padding-left:1rem !important}.px-lg-4{padding-right:1.5rem !important;padding-left:1.5rem !important}.px-lg-5{padding-right:3rem !important;padding-left:3rem !important}.py-lg-0{padding-top:0 !important;padding-bottom:0 !important}.py-lg-1{padding-top:.25rem !important;padding-bottom:.25rem !important}.py-lg-2{padding-top:.5rem !important;padding-bottom:.5rem !important}.py-lg-3{padding-top:1rem !important;padding-bottom:1rem !important}.py-lg-4{padding-top:1.5rem !important;padding-bottom:1.5rem !important}.py-lg-5{padding-top:3rem !important;padding-bottom:3rem !important}.pt-lg-0{padding-top:0 !important}.pt-lg-1{padding-top:.25rem !important}.pt-lg-2{padding-top:.5rem !important}.pt-lg-3{padding-top:1rem !important}.pt-lg-4{padding-top:1.5rem !important}.pt-lg-5{padding-top:3rem !important}.pe-lg-0{padding-right:0 !important}.pe-lg-1{padding-right:.25rem !important}.pe-lg-2{padding-right:.5rem !important}.pe-lg-3{padding-right:1rem !important}.pe-lg-4{padding-right:1.5rem !important}.pe-lg-5{padding-right:3rem !important}.pb-lg-0{padding-bottom:0 !important}.pb-lg-1{padding-bottom:.25rem !important}.pb-lg-2{padding-bottom:.5rem !important}.pb-lg-3{padding-bottom:1rem !important}.pb-lg-4{padding-bottom:1.5rem !important}.pb-lg-5{padding-bottom:3rem !important}.ps-lg-0{padding-left:0 !important}.ps-lg-1{padding-left:.25rem !important}.ps-lg-2{padding-left:.5rem !important}.ps-lg-3{padding-left:1rem !important}.ps-lg-4{padding-left:1.5rem !important}.ps-lg-5{padding-left:3rem !important}.gap-lg-0{gap:0 !important}.gap-lg-1{gap:.25rem !important}.gap-lg-2{gap:.5rem !important}.gap-lg-3{gap:1rem !important}.gap-lg-4{gap:1.5rem !important}.gap-lg-5{gap:3rem !important}.row-gap-lg-0{row-gap:0 !important}.row-gap-lg-1{row-gap:.25rem !important}.row-gap-lg-2{row-gap:.5rem !important}.row-gap-lg-3{row-gap:1rem !important}.row-gap-lg-4{row-gap:1.5rem !important}.row-gap-lg-5{row-gap:3rem !important}.column-gap-lg-0{column-gap:0 !important}.column-gap-lg-1{column-gap:.25rem !important}.column-gap-lg-2{column-gap:.5rem !important}.column-gap-lg-3{column-gap:1rem !important}.column-gap-lg-4{column-gap:1.5rem !important}.column-gap-lg-5{column-gap:3rem !important}.text-lg-start{text-align:left !important}.text-lg-end{text-align:right !important}.text-lg-center{text-align:center !important}}@media(min-width: 1200px){.float-xl-start{float:left !important}.float-xl-end{float:right !important}.float-xl-none{float:none !important}.object-fit-xl-contain{object-fit:contain !important}.object-fit-xl-cover{object-fit:cover !important}.object-fit-xl-fill{object-fit:fill !important}.object-fit-xl-scale{object-fit:scale-down !important}.object-fit-xl-none{object-fit:none !important}.d-xl-inline{display:inline !important}.d-xl-inline-block{display:inline-block !important}.d-xl-block{display:block !important}.d-xl-grid{display:grid !important}.d-xl-inline-grid{display:inline-grid !important}.d-xl-table{display:table !important}.d-xl-table-row{display:table-row !important}.d-xl-table-cell{display:table-cell !important}.d-xl-flex{display:flex !important}.d-xl-inline-flex{display:inline-flex !important}.d-xl-none{display:none !important}.flex-xl-fill{flex:1 1 auto !important}.flex-xl-row{flex-direction:row !important}.flex-xl-column{flex-direction:column !important}.flex-xl-row-reverse{flex-direction:row-reverse !important}.flex-xl-column-reverse{flex-direction:column-reverse !important}.flex-xl-grow-0{flex-grow:0 !important}.flex-xl-grow-1{flex-grow:1 !important}.flex-xl-shrink-0{flex-shrink:0 !important}.flex-xl-shrink-1{flex-shrink:1 !important}.flex-xl-wrap{flex-wrap:wrap !important}.flex-xl-nowrap{flex-wrap:nowrap !important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse !important}.justify-content-xl-start{justify-content:flex-start !important}.justify-content-xl-end{justify-content:flex-end !important}.justify-content-xl-center{justify-content:center !important}.justify-content-xl-between{justify-content:space-between !important}.justify-content-xl-around{justify-content:space-around !important}.justify-content-xl-evenly{justify-content:space-evenly !important}.align-items-xl-start{align-items:flex-start !important}.align-items-xl-end{align-items:flex-end !important}.align-items-xl-center{align-items:center !important}.align-items-xl-baseline{align-items:baseline !important}.align-items-xl-stretch{align-items:stretch !important}.align-content-xl-start{align-content:flex-start !important}.align-content-xl-end{align-content:flex-end !important}.align-content-xl-center{align-content:center !important}.align-content-xl-between{align-content:space-between !important}.align-content-xl-around{align-content:space-around !important}.align-content-xl-stretch{align-content:stretch !important}.align-self-xl-auto{align-self:auto !important}.align-self-xl-start{align-self:flex-start !important}.align-self-xl-end{align-self:flex-end !important}.align-self-xl-center{align-self:center !important}.align-self-xl-baseline{align-self:baseline !important}.align-self-xl-stretch{align-self:stretch !important}.order-xl-first{order:-1 !important}.order-xl-0{order:0 !important}.order-xl-1{order:1 !important}.order-xl-2{order:2 !important}.order-xl-3{order:3 !important}.order-xl-4{order:4 !important}.order-xl-5{order:5 !important}.order-xl-last{order:6 !important}.m-xl-0{margin:0 !important}.m-xl-1{margin:.25rem !important}.m-xl-2{margin:.5rem !important}.m-xl-3{margin:1rem !important}.m-xl-4{margin:1.5rem !important}.m-xl-5{margin:3rem !important}.m-xl-auto{margin:auto !important}.mx-xl-0{margin-right:0 !important;margin-left:0 !important}.mx-xl-1{margin-right:.25rem !important;margin-left:.25rem !important}.mx-xl-2{margin-right:.5rem !important;margin-left:.5rem !important}.mx-xl-3{margin-right:1rem !important;margin-left:1rem !important}.mx-xl-4{margin-right:1.5rem !important;margin-left:1.5rem !important}.mx-xl-5{margin-right:3rem !important;margin-left:3rem !important}.mx-xl-auto{margin-right:auto !important;margin-left:auto !important}.my-xl-0{margin-top:0 !important;margin-bottom:0 !important}.my-xl-1{margin-top:.25rem !important;margin-bottom:.25rem !important}.my-xl-2{margin-top:.5rem !important;margin-bottom:.5rem !important}.my-xl-3{margin-top:1rem !important;margin-bottom:1rem !important}.my-xl-4{margin-top:1.5rem !important;margin-bottom:1.5rem !important}.my-xl-5{margin-top:3rem !important;margin-bottom:3rem !important}.my-xl-auto{margin-top:auto !important;margin-bottom:auto !important}.mt-xl-0{margin-top:0 !important}.mt-xl-1{margin-top:.25rem !important}.mt-xl-2{margin-top:.5rem !important}.mt-xl-3{margin-top:1rem !important}.mt-xl-4{margin-top:1.5rem !important}.mt-xl-5{margin-top:3rem !important}.mt-xl-auto{margin-top:auto !important}.me-xl-0{margin-right:0 !important}.me-xl-1{margin-right:.25rem !important}.me-xl-2{margin-right:.5rem !important}.me-xl-3{margin-right:1rem !important}.me-xl-4{margin-right:1.5rem !important}.me-xl-5{margin-right:3rem !important}.me-xl-auto{margin-right:auto !important}.mb-xl-0{margin-bottom:0 !important}.mb-xl-1{margin-bottom:.25rem !important}.mb-xl-2{margin-bottom:.5rem !important}.mb-xl-3{margin-bottom:1rem !important}.mb-xl-4{margin-bottom:1.5rem !important}.mb-xl-5{margin-bottom:3rem !important}.mb-xl-auto{margin-bottom:auto !important}.ms-xl-0{margin-left:0 !important}.ms-xl-1{margin-left:.25rem !important}.ms-xl-2{margin-left:.5rem !important}.ms-xl-3{margin-left:1rem !important}.ms-xl-4{margin-left:1.5rem !important}.ms-xl-5{margin-left:3rem !important}.ms-xl-auto{margin-left:auto !important}.p-xl-0{padding:0 !important}.p-xl-1{padding:.25rem !important}.p-xl-2{padding:.5rem !important}.p-xl-3{padding:1rem !important}.p-xl-4{padding:1.5rem !important}.p-xl-5{padding:3rem !important}.px-xl-0{padding-right:0 !important;padding-left:0 !important}.px-xl-1{padding-right:.25rem !important;padding-left:.25rem !important}.px-xl-2{padding-right:.5rem !important;padding-left:.5rem !important}.px-xl-3{padding-right:1rem !important;padding-left:1rem !important}.px-xl-4{padding-right:1.5rem !important;padding-left:1.5rem !important}.px-xl-5{padding-right:3rem !important;padding-left:3rem !important}.py-xl-0{padding-top:0 !important;padding-bottom:0 !important}.py-xl-1{padding-top:.25rem !important;padding-bottom:.25rem !important}.py-xl-2{padding-top:.5rem !important;padding-bottom:.5rem !important}.py-xl-3{padding-top:1rem !important;padding-bottom:1rem !important}.py-xl-4{padding-top:1.5rem !important;padding-bottom:1.5rem !important}.py-xl-5{padding-top:3rem !important;padding-bottom:3rem !important}.pt-xl-0{padding-top:0 !important}.pt-xl-1{padding-top:.25rem !important}.pt-xl-2{padding-top:.5rem !important}.pt-xl-3{padding-top:1rem !important}.pt-xl-4{padding-top:1.5rem !important}.pt-xl-5{padding-top:3rem !important}.pe-xl-0{padding-right:0 !important}.pe-xl-1{padding-right:.25rem !important}.pe-xl-2{padding-right:.5rem !important}.pe-xl-3{padding-right:1rem !important}.pe-xl-4{padding-right:1.5rem !important}.pe-xl-5{padding-right:3rem !important}.pb-xl-0{padding-bottom:0 !important}.pb-xl-1{padding-bottom:.25rem !important}.pb-xl-2{padding-bottom:.5rem !important}.pb-xl-3{padding-bottom:1rem !important}.pb-xl-4{padding-bottom:1.5rem !important}.pb-xl-5{padding-bottom:3rem !important}.ps-xl-0{padding-left:0 !important}.ps-xl-1{padding-left:.25rem !important}.ps-xl-2{padding-left:.5rem !important}.ps-xl-3{padding-left:1rem !important}.ps-xl-4{padding-left:1.5rem !important}.ps-xl-5{padding-left:3rem !important}.gap-xl-0{gap:0 !important}.gap-xl-1{gap:.25rem !important}.gap-xl-2{gap:.5rem !important}.gap-xl-3{gap:1rem !important}.gap-xl-4{gap:1.5rem !important}.gap-xl-5{gap:3rem !important}.row-gap-xl-0{row-gap:0 !important}.row-gap-xl-1{row-gap:.25rem !important}.row-gap-xl-2{row-gap:.5rem !important}.row-gap-xl-3{row-gap:1rem !important}.row-gap-xl-4{row-gap:1.5rem !important}.row-gap-xl-5{row-gap:3rem !important}.column-gap-xl-0{column-gap:0 !important}.column-gap-xl-1{column-gap:.25rem !important}.column-gap-xl-2{column-gap:.5rem !important}.column-gap-xl-3{column-gap:1rem !important}.column-gap-xl-4{column-gap:1.5rem !important}.column-gap-xl-5{column-gap:3rem !important}.text-xl-start{text-align:left !important}.text-xl-end{text-align:right !important}.text-xl-center{text-align:center !important}}@media(min-width: 1400px){.float-xxl-start{float:left !important}.float-xxl-end{float:right !important}.float-xxl-none{float:none !important}.object-fit-xxl-contain{object-fit:contain !important}.object-fit-xxl-cover{object-fit:cover !important}.object-fit-xxl-fill{object-fit:fill !important}.object-fit-xxl-scale{object-fit:scale-down !important}.object-fit-xxl-none{object-fit:none !important}.d-xxl-inline{display:inline !important}.d-xxl-inline-block{display:inline-block !important}.d-xxl-block{display:block !important}.d-xxl-grid{display:grid !important}.d-xxl-inline-grid{display:inline-grid !important}.d-xxl-table{display:table !important}.d-xxl-table-row{display:table-row !important}.d-xxl-table-cell{display:table-cell !important}.d-xxl-flex{display:flex !important}.d-xxl-inline-flex{display:inline-flex !important}.d-xxl-none{display:none !important}.flex-xxl-fill{flex:1 1 auto !important}.flex-xxl-row{flex-direction:row !important}.flex-xxl-column{flex-direction:column !important}.flex-xxl-row-reverse{flex-direction:row-reverse !important}.flex-xxl-column-reverse{flex-direction:column-reverse !important}.flex-xxl-grow-0{flex-grow:0 !important}.flex-xxl-grow-1{flex-grow:1 !important}.flex-xxl-shrink-0{flex-shrink:0 !important}.flex-xxl-shrink-1{flex-shrink:1 !important}.flex-xxl-wrap{flex-wrap:wrap !important}.flex-xxl-nowrap{flex-wrap:nowrap !important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse !important}.justify-content-xxl-start{justify-content:flex-start !important}.justify-content-xxl-end{justify-content:flex-end !important}.justify-content-xxl-center{justify-content:center !important}.justify-content-xxl-between{justify-content:space-between !important}.justify-content-xxl-around{justify-content:space-around !important}.justify-content-xxl-evenly{justify-content:space-evenly !important}.align-items-xxl-start{align-items:flex-start !important}.align-items-xxl-end{align-items:flex-end !important}.align-items-xxl-center{align-items:center !important}.align-items-xxl-baseline{align-items:baseline !important}.align-items-xxl-stretch{align-items:stretch !important}.align-content-xxl-start{align-content:flex-start !important}.align-content-xxl-end{align-content:flex-end !important}.align-content-xxl-center{align-content:center !important}.align-content-xxl-between{align-content:space-between !important}.align-content-xxl-around{align-content:space-around !important}.align-content-xxl-stretch{align-content:stretch !important}.align-self-xxl-auto{align-self:auto !important}.align-self-xxl-start{align-self:flex-start !important}.align-self-xxl-end{align-self:flex-end !important}.align-self-xxl-center{align-self:center !important}.align-self-xxl-baseline{align-self:baseline !important}.align-self-xxl-stretch{align-self:stretch !important}.order-xxl-first{order:-1 !important}.order-xxl-0{order:0 !important}.order-xxl-1{order:1 !important}.order-xxl-2{order:2 !important}.order-xxl-3{order:3 !important}.order-xxl-4{order:4 !important}.order-xxl-5{order:5 !important}.order-xxl-last{order:6 !important}.m-xxl-0{margin:0 !important}.m-xxl-1{margin:.25rem !important}.m-xxl-2{margin:.5rem !important}.m-xxl-3{margin:1rem !important}.m-xxl-4{margin:1.5rem !important}.m-xxl-5{margin:3rem !important}.m-xxl-auto{margin:auto !important}.mx-xxl-0{margin-right:0 !important;margin-left:0 !important}.mx-xxl-1{margin-right:.25rem !important;margin-left:.25rem !important}.mx-xxl-2{margin-right:.5rem !important;margin-left:.5rem !important}.mx-xxl-3{margin-right:1rem !important;margin-left:1rem !important}.mx-xxl-4{margin-right:1.5rem !important;margin-left:1.5rem !important}.mx-xxl-5{margin-right:3rem !important;margin-left:3rem !important}.mx-xxl-auto{margin-right:auto !important;margin-left:auto !important}.my-xxl-0{margin-top:0 !important;margin-bottom:0 !important}.my-xxl-1{margin-top:.25rem !important;margin-bottom:.25rem !important}.my-xxl-2{margin-top:.5rem !important;margin-bottom:.5rem !important}.my-xxl-3{margin-top:1rem !important;margin-bottom:1rem !important}.my-xxl-4{margin-top:1.5rem !important;margin-bottom:1.5rem !important}.my-xxl-5{margin-top:3rem !important;margin-bottom:3rem !important}.my-xxl-auto{margin-top:auto !important;margin-bottom:auto !important}.mt-xxl-0{margin-top:0 !important}.mt-xxl-1{margin-top:.25rem !important}.mt-xxl-2{margin-top:.5rem !important}.mt-xxl-3{margin-top:1rem !important}.mt-xxl-4{margin-top:1.5rem !important}.mt-xxl-5{margin-top:3rem !important}.mt-xxl-auto{margin-top:auto !important}.me-xxl-0{margin-right:0 !important}.me-xxl-1{margin-right:.25rem !important}.me-xxl-2{margin-right:.5rem !important}.me-xxl-3{margin-right:1rem !important}.me-xxl-4{margin-right:1.5rem !important}.me-xxl-5{margin-right:3rem !important}.me-xxl-auto{margin-right:auto !important}.mb-xxl-0{margin-bottom:0 !important}.mb-xxl-1{margin-bottom:.25rem !important}.mb-xxl-2{margin-bottom:.5rem !important}.mb-xxl-3{margin-bottom:1rem !important}.mb-xxl-4{margin-bottom:1.5rem !important}.mb-xxl-5{margin-bottom:3rem !important}.mb-xxl-auto{margin-bottom:auto !important}.ms-xxl-0{margin-left:0 !important}.ms-xxl-1{margin-left:.25rem !important}.ms-xxl-2{margin-left:.5rem !important}.ms-xxl-3{margin-left:1rem !important}.ms-xxl-4{margin-left:1.5rem !important}.ms-xxl-5{margin-left:3rem !important}.ms-xxl-auto{margin-left:auto !important}.p-xxl-0{padding:0 !important}.p-xxl-1{padding:.25rem !important}.p-xxl-2{padding:.5rem !important}.p-xxl-3{padding:1rem !important}.p-xxl-4{padding:1.5rem !important}.p-xxl-5{padding:3rem !important}.px-xxl-0{padding-right:0 !important;padding-left:0 !important}.px-xxl-1{padding-right:.25rem !important;padding-left:.25rem !important}.px-xxl-2{padding-right:.5rem !important;padding-left:.5rem !important}.px-xxl-3{padding-right:1rem !important;padding-left:1rem !important}.px-xxl-4{padding-right:1.5rem !important;padding-left:1.5rem !important}.px-xxl-5{padding-right:3rem !important;padding-left:3rem !important}.py-xxl-0{padding-top:0 !important;padding-bottom:0 !important}.py-xxl-1{padding-top:.25rem !important;padding-bottom:.25rem !important}.py-xxl-2{padding-top:.5rem !important;padding-bottom:.5rem !important}.py-xxl-3{padding-top:1rem !important;padding-bottom:1rem !important}.py-xxl-4{padding-top:1.5rem !important;padding-bottom:1.5rem !important}.py-xxl-5{padding-top:3rem !important;padding-bottom:3rem !important}.pt-xxl-0{padding-top:0 !important}.pt-xxl-1{padding-top:.25rem !important}.pt-xxl-2{padding-top:.5rem !important}.pt-xxl-3{padding-top:1rem !important}.pt-xxl-4{padding-top:1.5rem !important}.pt-xxl-5{padding-top:3rem !important}.pe-xxl-0{padding-right:0 !important}.pe-xxl-1{padding-right:.25rem !important}.pe-xxl-2{padding-right:.5rem !important}.pe-xxl-3{padding-right:1rem !important}.pe-xxl-4{padding-right:1.5rem !important}.pe-xxl-5{padding-right:3rem !important}.pb-xxl-0{padding-bottom:0 !important}.pb-xxl-1{padding-bottom:.25rem !important}.pb-xxl-2{padding-bottom:.5rem !important}.pb-xxl-3{padding-bottom:1rem !important}.pb-xxl-4{padding-bottom:1.5rem !important}.pb-xxl-5{padding-bottom:3rem !important}.ps-xxl-0{padding-left:0 !important}.ps-xxl-1{padding-left:.25rem !important}.ps-xxl-2{padding-left:.5rem !important}.ps-xxl-3{padding-left:1rem !important}.ps-xxl-4{padding-left:1.5rem !important}.ps-xxl-5{padding-left:3rem !important}.gap-xxl-0{gap:0 !important}.gap-xxl-1{gap:.25rem !important}.gap-xxl-2{gap:.5rem !important}.gap-xxl-3{gap:1rem !important}.gap-xxl-4{gap:1.5rem !important}.gap-xxl-5{gap:3rem !important}.row-gap-xxl-0{row-gap:0 !important}.row-gap-xxl-1{row-gap:.25rem !important}.row-gap-xxl-2{row-gap:.5rem !important}.row-gap-xxl-3{row-gap:1rem !important}.row-gap-xxl-4{row-gap:1.5rem !important}.row-gap-xxl-5{row-gap:3rem !important}.column-gap-xxl-0{column-gap:0 !important}.column-gap-xxl-1{column-gap:.25rem !important}.column-gap-xxl-2{column-gap:.5rem !important}.column-gap-xxl-3{column-gap:1rem !important}.column-gap-xxl-4{column-gap:1.5rem !important}.column-gap-xxl-5{column-gap:3rem !important}.text-xxl-start{text-align:left !important}.text-xxl-end{text-align:right !important}.text-xxl-center{text-align:center !important}}@media(min-width: 1200px){.fs-1{font-size:2.5rem !important}.fs-2{font-size:2rem !important}.fs-3{font-size:1.75rem !important}.fs-4{font-size:1.5rem !important}}@media print{.d-print-inline{display:inline !important}.d-print-inline-block{display:inline-block !important}.d-print-block{display:block !important}.d-print-grid{display:grid !important}.d-print-inline-grid{display:inline-grid !important}.d-print-table{display:table !important}.d-print-table-row{display:table-row !important}.d-print-table-cell{display:table-cell !important}.d-print-flex{display:flex !important}.d-print-inline-flex{display:inline-flex !important}.d-print-none{display:none !important}}[data-bs-theme=dark] .element{color:var(--bs-primary-text-emphasis);background-color:var(--bs-primary-bg-subtle)}`,""]);const W=C},6314:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r="",o=void 0!==e[5];return e[4]&&(r+="@supports (".concat(e[4],") {")),e[2]&&(r+="@media ".concat(e[2]," {")),o&&(r+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),r+=t(e),o&&(r+="}"),e[2]&&(r+="}"),e[4]&&(r+="}"),r})).join("")},e.i=function(t,r,o,n,i){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(o)for(var s=0;s0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=i),r&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=r):d[2]=r),n&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=n):d[4]="".concat(n)),e.push(d))}},e}},4417:t=>{"use strict";t.exports=function(t,e){return e||(e={}),t?(t=String(t.__esModule?t.default:t),/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]|(%20)/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t):t}},1601:t=>{"use strict";t.exports=function(t){return t[1]}},1480:(t,e,r)=>{"use strict";var o=r(5072),n=r.n(o),i=r(7825),a=r.n(i),s=r(7659),l=r.n(s),c=r(5056),d=r.n(c),u=r(540),m=r.n(u),p=r(1113),h=r.n(p),g=r(9543),b={};b.styleTagTransform=h(),b.setAttributes=d(),b.insert=l().bind(null,"head"),b.domAPI=a(),b.insertStyleElement=m(),n()(g.A,b),g.A&&g.A.locals&&g.A.locals},5072:t=>{"use strict";var e=[];function r(t){for(var r=-1,o=0;o{"use strict";var e={};t.exports=function(t,r){var o=function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(t){r=null}e[t]=r}return e[t]}(t);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(r)}},540:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},5056:(t,e,r)=>{"use strict";t.exports=function(t){var e=r.nc;e&&t.setAttribute("nonce",e)}},7825:t=>{"use strict";t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=t.insertStyleElement(t);return{update:function(r){!function(t,e,r){var o="";r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var n=void 0!==r.layer;n&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,n&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}");var i=r.sourceMap;i&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleTagTransform(o,t,e.options)}(e,t,r)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},1113:t=>{"use strict";t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}},8728:()=>{(()=>{"use strict";const t=()=>localStorage.getItem("theme"),e=()=>t()||(window.matchMedia("(prefers-color-scheme: light)").matches?"dark":"light"),r=t=>{"auto"===t?document.documentElement.setAttribute("data-bs-theme",window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"):document.documentElement.setAttribute("data-bs-theme",t)};r(e());const o=(t,e=!1)=>{const r=document.querySelector("#bd-theme");if(!r)return;const o=document.querySelector("#bd-theme-text"),n=document.querySelector(".theme-icon-active use"),i=document.querySelector(`[data-bs-theme-value="${t}"]`),a=i.querySelector("svg use").getAttribute("href");document.querySelectorAll("[data-bs-theme-value]").forEach((t=>{t.classList.remove("active"),t.setAttribute("aria-pressed","false")})),i.classList.add("active"),i.setAttribute("aria-pressed","true"),n.setAttribute("href",a);const s=`${o.textContent} (${i.dataset.bsThemeValue})`;r.setAttribute("aria-label",s),e&&r.focus()};window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(()=>{const o=t();"light"!==o&&"dark"!==o&&r(e())})),window.addEventListener("DOMContentLoaded",(()=>{o(e()),document.querySelectorAll("[data-bs-theme-value]").forEach((t=>{t.addEventListener("click",(()=>{const e=t.getAttribute("data-bs-theme-value");(t=>{localStorage.setItem("theme",t)})(e),r(e),o(e,!0)}))}))}))})()},7157:(t,e,r)=>{"use strict";r.a(t,(async(t,e)=>{try{r(1480),r(8728);var o=r(5994),n=r(6003),i=r(1093),a=r(630),s=r(4344),l=r(6738),c=r(7815),d=r(7636),u=r(3262),m=r(7660),p=r(888),h=r(8191),g=r(2298),b=r(6554),f=r(1446),v=r(8747),y=t([o,n,i,a,s,l,c,d,u,m,p,h,g,b,f]);[o,n,i,a,s,l,c,d,u,m,p,h,g,b,f]=y.then?(await y)():y;const w=r(8330).rE;document.getElementById("versaoDoSistema").innerHTML="v"+w;const x=2024,_=(new Date).getFullYear();x!=_&&(document.getElementById("anoCriacaoProjeto").innerHTML=x+"-"+_),document.getElementById("anoCriacaoProjeto").innerHTML=x,[...document.querySelectorAll('[data-bs-toggle="tooltip"]')].map((t=>new v.m_(t))),document.addEventListener("DOMContentLoaded",(()=>{const t=document.getElementById("btnRemoverVoluntario"),e=document.getElementById("toastConfirmacaoRemocaoVoluntario"),r=new v.y8(e);t.addEventListener("click",(()=>{r.show()}))})),window.innerWidth<768&&(document.getElementById("versaoDoSistema").classList.add("fixed-bottom"),document.getElementById("versaoDoSistema").classList.add("text-end"),document.getElementById("versaoDoSistema").classList.add("p-4"),document.getElementById("menuOffcanvasNavbar").classList.add("p-4"),document.getElementById("menuOffcanvasNavbar").classList.add("subtitle"),document.getElementById("menuLateral").classList.add("ps-4"));let k=document.getElementById("palavra-chave");k.addEventListener("paste",(t=>{t.preventDefault()})),k.addEventListener("drop",(t=>{t.preventDefault()})),document.addEventListener("keydown",(function(t){("F5"===t.key||t.ctrlKey&&"r"===t.key)&&t.preventDefault(),"Enter"===t.key&&t.preventDefault()})),e()}catch(t){e(t)}}))},3385:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%272%27 fill=%27%23fff%27/%3e%3c/svg%3e"},4718:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27%23fff%27/%3e%3c/svg%3e"},9023:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27rgb%28134, 182.5, 254%29%27/%3e%3c/svg%3e"},7154:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27rgba%280, 0, 0, 0.25%29%27/%3e%3c/svg%3e"},8734:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27rgba%28255, 255, 255, 0.25%29%27/%3e%3c/svg%3e"},5372:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 12 12%27 width=%2712%27 height=%2712%27 fill=%27none%27 stroke=%27%23dc3545%27%3e%3ccircle cx=%276%27 cy=%276%27 r=%274.5%27/%3e%3cpath stroke-linejoin=%27round%27 d=%27M5.8 3.6h.4L6 6.5z%27/%3e%3ccircle cx=%276%27 cy=%278.2%27 r=%27.6%27 fill=%27%23dc3545%27 stroke=%27none%27/%3e%3c/svg%3e"},7249:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%23000%27%3e%3cpath d=%27M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z%27/%3e%3c/svg%3e"},5932:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%23fff%27%3e%3cpath d=%27M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z%27/%3e%3c/svg%3e"},1144:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%23fff%27%3e%3cpath d=%27M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z%27/%3e%3c/svg%3e"},7326:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27none%27 stroke=%27%23212529%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3e%3cpath d=%27M2 5L8 11L14 5%27/%3e%3c/svg%3e"},386:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27none%27 stroke=%27rgb%285.2, 44, 101.2%29%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3e%3cpath d=%27M2 5L8 11L14 5%27/%3e%3c/svg%3e"},4992:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27rgb%28109.8, 168, 253.8%29%27%3e%3cpath fill-rule=%27evenodd%27 d=%27M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z%27/%3e%3c/svg%3e"},5531:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3e%3cpath fill=%27none%27 stroke=%27%23343a40%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27m2 5 6 6 6-6%27/%3e%3c/svg%3e"},7115:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3e%3cpath fill=%27none%27 stroke=%27%23dee2e6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27m2 5 6 6 6-6%27/%3e%3c/svg%3e"},4274:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3e%3cpath fill=%27none%27 stroke=%27%23fff%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%273%27 d=%27M6 10h8%27/%3e%3c/svg%3e"},5419:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3e%3cpath fill=%27none%27 stroke=%27%23fff%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%273%27 d=%27m6 10 3 3 6-6%27/%3e%3c/svg%3e"},6366:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 30 30%27%3e%3cpath stroke=%27rgba%28255, 255, 255, 0.55%29%27 stroke-linecap=%27round%27 stroke-miterlimit=%2710%27 stroke-width=%272%27 d=%27M4 7h22M4 15h22M4 23h22%27/%3e%3c/svg%3e"},2247:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 30 30%27%3e%3cpath stroke=%27rgba%2833, 37, 41, 0.75%29%27 stroke-linecap=%27round%27 stroke-miterlimit=%2710%27 stroke-width=%272%27 d=%27M4 7h22M4 15h22M4 23h22%27/%3e%3c/svg%3e"},8487:t=>{"use strict";t.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 8 8%27%3e%3cpath fill=%27%23198754%27 d=%27M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z%27/%3e%3c/svg%3e"},6996:(t,e,r)=>{"use strict";r.d(e,{P5:()=>R});var o=r(8461),n=r(3424),i=r(6743),a=r(5125);r(9559);const s="analytics",l="firebase_id",c="origin",d=6e4,u="https://firebase.googleapis.com/v1alpha/projects/-/apps/{app-id}/webConfig",m="https://www.googletagmanager.com/gtag/js",p=new n.Vy("@firebase/analytics"),h=new i.FA("analytics","Analytics",{"already-exists":"A Firebase Analytics instance with the appId {$id} already exists. Only one Firebase Analytics instance can be created for each appId.","already-initialized":"initializeAnalytics() cannot be called again with different options than those it was initially called with. It can be called again with the same options to return the existing instance, or getAnalytics() can be used to get a reference to the already-initialized instance.","already-initialized-settings":"Firebase Analytics has already been initialized.settings() must be called before initializing any Analytics instanceor it will have no effect.","interop-component-reg-failed":"Firebase Analytics Interop Component failed to instantiate: {$reason}","invalid-analytics-context":"Firebase Analytics is not supported in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}","indexeddb-unavailable":"IndexedDB unavailable or restricted in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}","fetch-throttle":"The config fetch request timed out while in an exponential backoff state. Unix timestamp in milliseconds when fetch request throttling ends: {$throttleEndTimeMillis}.","config-fetch-failed":"Dynamic config fetch failed: [{$httpStatus}] {$responseMessage}","no-api-key":'The "apiKey" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid API key.',"no-app-id":'The "appId" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid app ID.',"no-client-id":'The "client_id" field is empty.',"invalid-gtag-resource":"Trusted Types detected an invalid gtag resource: {$gtagURL}."});function g(t){if(!t.startsWith(m)){const e=h.create("invalid-gtag-resource",{gtagURL:t});return p.warn(e.message),""}return t}function b(t){return Promise.all(t.map((t=>t.catch((t=>t)))))}const f=30,v=new class{constructor(t={},e=1e3){this.throttleMetadata=t,this.intervalMillis=e}getThrottleMetadata(t){return this.throttleMetadata[t]}setThrottleMetadata(t,e){this.throttleMetadata[t]=e}deleteThrottleMetadata(t){delete this.throttleMetadata[t]}};function y(t){return new Headers({Accept:"application/json","x-goog-api-key":t})}async function w(t,e=v,r){const{appId:o,apiKey:n,measurementId:i}=t.options;if(!o)throw h.create("no-app-id");if(!n){if(i)return{measurementId:i,appId:o};throw h.create("no-api-key")}const a=e.getThrottleMetadata(o)||{backoffCount:0,throttleEndTimeMillis:Date.now()},s=new _;return setTimeout((async()=>{s.abort()}),void 0!==r?r:d),x({appId:o,apiKey:n,measurementId:i},a,s,e)}async function x(t,{throttleEndTimeMillis:e,backoffCount:r},o,n=v){var a;const{appId:s,measurementId:l}=t;try{await function(t,e){return new Promise(((r,o)=>{const n=Math.max(e-Date.now(),0),i=setTimeout(r,n);t.addEventListener((()=>{clearTimeout(i),o(h.create("fetch-throttle",{throttleEndTimeMillis:e}))}))}))}(o,e)}catch(t){if(l)return p.warn(`Timed out fetching this Firebase app's measurement ID from the server. Falling back to the measurement ID ${l} provided in the "measurementId" field in the local Firebase config. [${null==t?void 0:t.message}]`),{appId:s,measurementId:l};throw t}try{const e=await async function(t){var e;const{appId:r,apiKey:o}=t,n={method:"GET",headers:y(o)},i=u.replace("{app-id}",r),a=await fetch(i,n);if(200!==a.status&&304!==a.status){let t="";try{const r=await a.json();(null===(e=r.error)||void 0===e?void 0:e.message)&&(t=r.error.message)}catch(t){}throw h.create("config-fetch-failed",{httpStatus:a.status,responseMessage:t})}return a.json()}(t);return n.deleteThrottleMetadata(s),e}catch(e){const c=e;if(!function(t){if(!(t instanceof i.g&&t.customData))return!1;const e=Number(t.customData.httpStatus);return 429===e||500===e||503===e||504===e}(c)){if(n.deleteThrottleMetadata(s),l)return p.warn(`Failed to fetch this Firebase app's measurement ID from the server. Falling back to the measurement ID ${l} provided in the "measurementId" field in the local Firebase config. [${null==c?void 0:c.message}]`),{appId:s,measurementId:l};throw e}const d=503===Number(null===(a=null==c?void 0:c.customData)||void 0===a?void 0:a.httpStatus)?(0,i.p9)(r,n.intervalMillis,f):(0,i.p9)(r,n.intervalMillis),u={throttleEndTimeMillis:Date.now()+d,backoffCount:r+1};return n.setThrottleMetadata(s,u),p.debug(`Calling attemptFetch again in ${d} millis`),x(t,u,o,n)}}class _{constructor(){this.listeners=[]}addEventListener(t){this.listeners.push(t)}abort(){this.listeners.forEach((t=>t()))}}let k,E;async function I(t,e,r,o,n,a,s){var d;const u=w(t);u.then((e=>{r[e.measurementId]=e.appId,t.options.measurementId&&e.measurementId!==t.options.measurementId&&p.warn(`The measurement ID in the local Firebase config (${t.options.measurementId}) does not match the measurement ID fetched from the server (${e.measurementId}). To ensure analytics events are always sent to the correct Analytics property, update the measurement ID field in the local config or remove it from the local config.`)})).catch((t=>p.error(t))),e.push(u);const b=async function(){if(!(0,i.zW)())return p.warn(h.create("indexeddb-unavailable",{errorInfo:"IndexedDB is not available in this environment."}).message),!1;try{await(0,i.eX)()}catch(t){return p.warn(h.create("indexeddb-unavailable",{errorInfo:null==t?void 0:t.toString()}).message),!1}return!0}().then((t=>t?o.getId():void 0)),[f,v]=await Promise.all([u,b]);(function(t){const e=window.document.getElementsByTagName("script");for(const r of Object.values(e))if(r.src&&r.src.includes(m)&&r.src.includes(t))return r;return null})(a)||function(t,e){const r=function(t,e){let r;return window.trustedTypes&&(r=window.trustedTypes.createPolicy("firebase-js-sdk-policy",e)),r}(0,{createScriptURL:g}),o=document.createElement("script"),n=`${m}?l=${t}&id=${e}`;o.src=r?null==r?void 0:r.createScriptURL(n):n,o.async=!0,document.head.appendChild(o)}(a,f.measurementId),E&&(n("consent","default",E),E=void 0),n("js",new Date);const y=null!==(d=null==s?void 0:s.config)&&void 0!==d?d:{};return y[c]="firebase",y.update=!0,null!=v&&(y[l]=v),n("config",f.measurementId,y),k&&(n("set",k),k=void 0),f.measurementId}class A{constructor(t){this.app=t}_delete(){return delete T[this.app.options.appId],Promise.resolve()}}let T={},C=[];const S={};let D,L,N="dataLayer",O=!1;function M(t,e,r){!function(){const t=[];if((0,i.sr)()&&t.push("This is a browser extension environment."),(0,i.dM)()||t.push("Cookies are not available."),t.length>0){const e=t.map(((t,e)=>`(${e+1}) ${t}`)).join(" "),r=h.create("invalid-analytics-context",{errorInfo:e});p.warn(r.message)}}();const o=t.options.appId;if(!o)throw h.create("no-app-id");if(!t.options.apiKey){if(!t.options.measurementId)throw h.create("no-api-key");p.warn(`The "apiKey" field is empty in the local Firebase config. This is needed to fetch the latest measurement ID for this Firebase app. Falling back to the measurement ID ${t.options.measurementId} provided in the "measurementId" field in the local Firebase config.`)}if(null!=T[o])throw h.create("already-exists",{id:o});if(!O){!function(t){let e=[];Array.isArray(window[t])?e=window[t]:window[t]=e}(N);const{wrappedGtag:t,gtagCore:e}=function(t,e,r,o,n){let i=function(...t){window[o].push(arguments)};return window[n]&&"function"==typeof window[n]&&(i=window[n]),window[n]=function(t,e,r,o){return async function(n,...i){try{if("event"===n){const[o,n]=i;await async function(t,e,r,o,n){try{let i=[];if(n&&n.send_to){let t=n.send_to;Array.isArray(t)||(t=[t]);const o=await b(r);for(const r of t){const t=o.find((t=>t.measurementId===r)),n=t&&e[t.appId];if(!n){i=[];break}i.push(n)}}0===i.length&&(i=Object.values(e)),await Promise.all(i),t("event",o,n||{})}catch(t){p.error(t)}}(t,e,r,o,n)}else if("config"===n){const[n,a]=i;await async function(t,e,r,o,n,i){const a=o[n];try{if(a)await e[a];else{const t=(await b(r)).find((t=>t.measurementId===n));t&&await e[t.appId]}}catch(t){p.error(t)}t("config",n,i)}(t,e,r,o,n,a)}else if("consent"===n){const[e,r]=i;t("consent",e,r)}else if("get"===n){const[e,r,o]=i;t("get",e,r,o)}else if("set"===n){const[e]=i;t("set",e)}else t(n,...i)}catch(t){p.error(t)}}}(i,t,e,r),{gtagCore:i,wrappedGtag:window[n]}}(T,C,S,N,"gtag");L=t,D=e,O=!0}return T[o]=I(t,C,S,e,D,N,r),new A(t)}function R(t=(0,o.Sx)()){t=(0,i.Ku)(t);const e=(0,o.j6)(t,s);return e.isInitialized()?e.getImmediate():function(t,e={}){const r=(0,o.j6)(t,s);if(r.isInitialized()){const t=r.getImmediate();if((0,i.bD)(e,r.getOptions()))return t;throw h.create("already-initialized")}return r.initialize({options:e})}(t)}const B="@firebase/analytics",P="0.10.10";(0,o.om)(new a.uA(s,((t,{options:e})=>M(t.getProvider("app").getImmediate(),t.getProvider("installations-internal").getImmediate(),e)),"PUBLIC")),(0,o.om)(new a.uA("analytics-internal",(function(t){try{const e=t.getProvider(s).getImmediate();return{logEvent:(t,r,o)=>function(t,e,r,o){t=(0,i.Ku)(t),async function(t,e,r,o,n){if(n&&n.global)t("event",r,o);else{const n=await e;t("event",r,Object.assign(Object.assign({},o),{send_to:n}))}}(L,T[t.app.options.appId],e,r,o).catch((t=>p.error(t)))}(e,t,r,o)}}catch(t){throw h.create("interop-component-reg-failed",{reason:t})}}),"PRIVATE")),(0,o.KO)(B,P),(0,o.KO)(B,P,"esm2017")},526:(t,e,r)=>{"use strict";var o=r(8461),n=r(5125),i=r(6743),a=r(3424);const s=new Map,l={activated:!1,tokenObservers:[]},c={initialized:!1,enabled:!1};function d(t){return s.get(t)||Object.assign({},l)}function u(){return c}const m="https://content-firebaseappcheck.googleapis.com/v1",p="exchangeDebugToken",h={OFFSET_DURATION:3e5,RETRIAL_MIN_WAIT:3e4,RETRIAL_MAX_WAIT:96e4};class g{constructor(t,e,r,o,n){if(this.operation=t,this.retryPolicy=e,this.getWaitDuration=r,this.lowerBound=o,this.upperBound=n,this.pending=null,this.nextErrorWaitInterval=o,o>n)throw new Error("Proactive refresh lower bound greater than upper bound!")}start(){this.nextErrorWaitInterval=this.lowerBound,this.process(!0).catch((()=>{}))}stop(){this.pending&&(this.pending.reject("cancelled"),this.pending=null)}isRunning(){return!!this.pending}async process(t){this.stop();try{this.pending=new i.cY,this.pending.promise.catch((t=>{})),await(e=this.getNextRun(t),new Promise((t=>{setTimeout(t,e)}))),this.pending.resolve(),await this.pending.promise,this.pending=new i.cY,this.pending.promise.catch((t=>{})),await this.operation(),this.pending.resolve(),await this.pending.promise,this.process(!0).catch((()=>{}))}catch(t){this.retryPolicy(t)?this.process(!1).catch((()=>{})):this.stop()}var e}getNextRun(t){if(t)return this.nextErrorWaitInterval=this.lowerBound,this.getWaitDuration();{const t=this.nextErrorWaitInterval;return this.nextErrorWaitInterval*=2,this.nextErrorWaitInterval>this.upperBound&&(this.nextErrorWaitInterval=this.upperBound),t}}}const b=new i.FA("appCheck","AppCheck",{"already-initialized":"You have already called initializeAppCheck() for FirebaseApp {$appName} with different options. To avoid this error, call initializeAppCheck() with the same options as when it was originally called. This will return the already initialized instance.","use-before-activation":"App Check is being used before initializeAppCheck() is called for FirebaseApp {$appName}. Call initializeAppCheck() before instantiating other Firebase services.","fetch-network-error":"Fetch failed to connect to a network. Check Internet connection. Original error: {$originalErrorMessage}.","fetch-parse-error":"Fetch client could not parse response. Original error: {$originalErrorMessage}.","fetch-status-error":"Fetch server returned an HTTP error status. HTTP status: {$httpStatus}.","storage-open":"Error thrown when opening storage. Original error: {$originalErrorMessage}.","storage-get":"Error thrown when reading from storage. Original error: {$originalErrorMessage}.","storage-set":"Error thrown when writing to storage. Original error: {$originalErrorMessage}.","recaptcha-error":"ReCAPTCHA error.",throttled:"Requests throttled due to {$httpStatus} error. Attempts allowed again after {$time}"});function f(t){if(!d(t).activated)throw b.create("use-before-activation",{appName:t.name})}async function v({url:t,body:e},r){const o={"Content-Type":"application/json"},n=r.getImmediate({optional:!0});if(n){const t=await n.getHeartbeatsHeader();t&&(o["X-Firebase-Client"]=t)}const i={method:"POST",body:JSON.stringify(e),headers:o};let a,s;try{a=await fetch(t,i)}catch(t){throw b.create("fetch-network-error",{originalErrorMessage:null==t?void 0:t.message})}if(200!==a.status)throw b.create("fetch-status-error",{httpStatus:a.status});try{s=await a.json()}catch(t){throw b.create("fetch-parse-error",{originalErrorMessage:null==t?void 0:t.message})}const l=s.ttl.match(/^([\d.]+)(s)$/);if(!l||!l[2]||isNaN(Number(l[1])))throw b.create("fetch-parse-error",{originalErrorMessage:`ttl field (timeToLive) is not in standard Protobuf Duration format: ${s.ttl}`});const c=1e3*Number(l[1]),d=Date.now();return{token:s.token,expireTimeMillis:d+c,issuedAtTimeMillis:d}}function y(t,e){const{projectId:r,appId:o,apiKey:n}=t.options;return{url:`${m}/projects/${r}/apps/${o}:${p}?key=${n}`,body:{debug_token:e}}}const w="firebase-app-check-database",x=1,_="firebase-app-check-store";let k=null;async function E(t,e){const r=(await(k||(k=new Promise(((t,e)=>{try{const r=indexedDB.open(w,x);r.onsuccess=e=>{t(e.target.result)},r.onerror=t=>{var r;e(b.create("storage-open",{originalErrorMessage:null===(r=t.target.error)||void 0===r?void 0:r.message}))},r.onupgradeneeded=t=>{const e=t.target.result;0===t.oldVersion&&e.createObjectStore(_,{keyPath:"compositeKey"})}}catch(t){e(b.create("storage-open",{originalErrorMessage:null==t?void 0:t.message}))}})),k))).transaction(_,"readwrite"),o=r.objectStore(_).put({compositeKey:t,value:e});return new Promise(((t,e)=>{o.onsuccess=e=>{t()},r.onerror=t=>{var r;e(b.create("storage-set",{originalErrorMessage:null===(r=t.target.error)||void 0===r?void 0:r.message}))}}))}const I=new a.Vy("@firebase/app-check");function A(t,e){return(0,i.zW)()?function(t,e){return E(function(t){return`${t.options.appId}-${t.name}`}(t),e)}(t,e).catch((t=>{I.warn(`Failed to write token to IndexedDB. Error: ${t}`)})):Promise.resolve()}function T(){return u().enabled}async function C(){const t=u();if(t.enabled&&t.token)return t.token.promise;throw Error("\n Can't get debug token in production mode.\n ")}const S={error:"UNKNOWN_ERROR"};async function D(t,e=!1){const r=t.app;f(r);const o=d(r);let n,i=o.token;if(i&&!O(i)&&(o.token=void 0,i=void 0),!i){const t=await o.cachedTokenPromise;t&&(O(t)?i=t:await A(r,void 0))}if(!e&&i&&O(i))return{token:i.token};let a,s=!1;if(T()){o.exchangeTokenPromise||(o.exchangeTokenPromise=v(y(r,await C()),t.heartbeatServiceProvider).finally((()=>{o.exchangeTokenPromise=void 0})),s=!0);const e=await o.exchangeTokenPromise;return await A(r,e),o.token=e,{token:e.token}}try{o.exchangeTokenPromise||(o.exchangeTokenPromise=o.provider.getToken().finally((()=>{o.exchangeTokenPromise=void 0})),s=!0),i=await d(r).exchangeTokenPromise}catch(t){"appCheck/throttled"===t.code?I.warn(t.message):I.error(t),n=t}return i?n?a=O(i)?{token:i.token,internalError:n}:M(n):(a={token:i.token},o.token=i,await A(r,i)):a=M(n),s&&function(t,e){const r=d(t).tokenObservers;for(const t of r)try{"EXTERNAL"===t.type&&null!=e.error?t.error(e.error):t.next(e)}catch(t){}}(r,a),a}function L(t,e){const r=d(t),o=r.tokenObservers.filter((t=>t.next!==e));0===o.length&&r.tokenRefresher&&r.tokenRefresher.isRunning()&&r.tokenRefresher.stop(),r.tokenObservers=o}function N(t){const{app:e}=t,r=d(e);let o=r.tokenRefresher;o||(o=function(t){const{app:e}=t;return new g((async()=>{let r;if(r=d(e).token?await D(t,!0):await D(t),r.error)throw r.error;if(r.internalError)throw r.internalError}),(()=>!0),(()=>{const t=d(e);if(t.token){let e=t.token.issuedAtTimeMillis+.5*(t.token.expireTimeMillis-t.token.issuedAtTimeMillis)+3e5;const r=t.token.expireTimeMillis-3e5;return e=Math.min(e,r),Math.max(0,e-Date.now())}return 0}),h.RETRIAL_MIN_WAIT,h.RETRIAL_MAX_WAIT)}(t),r.tokenRefresher=o),!o.isRunning()&&r.isTokenAutoRefreshEnabled&&o.start()}function O(t){return t.expireTimeMillis-Date.now()>0}function M(t){return{token:(e=S,i.K3.encodeString(JSON.stringify(e),!1)),error:t};var e}class R{constructor(t,e){this.app=t,this.heartbeatServiceProvider=e}_delete(){const{tokenObservers:t}=d(this.app);for(const e of t)L(this.app,e.next);return Promise.resolve()}}const B="app-check-internal";(0,o.om)(new n.uA("app-check",(t=>{return e=t.getProvider("app").getImmediate(),r=t.getProvider("heartbeat"),new R(e,r);var e,r}),"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback(((t,e,r)=>{t.getProvider(B).initialize()}))),(0,o.om)(new n.uA(B,(t=>{return e=t.getProvider("app-check").getImmediate(),{getToken:t=>D(e,t),getLimitedUseToken:()=>async function(t){const e=t.app;f(e);const{provider:r}=d(e);if(T()){const r=await C(),{token:o}=await v(y(e,r),t.heartbeatServiceProvider);return{token:o}}{const{token:t}=await r.getToken();return{token:t}}}(e),addTokenListener:t=>function(t,e,r,o){const{app:n}=t,i=d(n),a={next:r,error:o,type:e};if(i.tokenObservers=[...i.tokenObservers,a],i.token&&O(i.token)){const e=i.token;Promise.resolve().then((()=>{r({token:e.token}),N(t)})).catch((()=>{}))}i.cachedTokenPromise.then((()=>N(t)))}(e,"INTERNAL",t),removeTokenListener:t=>L(e.app,t)};var e}),"PUBLIC").setInstantiationMode("EXPLICIT")),(0,o.KO)("@firebase/app-check","0.8.10")},8461:(t,e,r)=>{"use strict";r.d(e,{KO:()=>X,MF:()=>K,Sx:()=>Q,Wp:()=>W,j6:()=>U,om:()=>$});var o=r(5125),n=r(3424),i=r(6743),a=r(602);class s{constructor(t){this.container=t}getPlatformInfoString(){return this.container.getProviders().map((t=>{if(function(t){const e=t.getComponent();return"VERSION"===(null==e?void 0:e.type)}(t)){const e=t.getImmediate();return`${e.library}/${e.version}`}return null})).filter((t=>t)).join(" ")}}const l="@firebase/app",c="0.10.16",d=new n.Vy("@firebase/app"),u="@firebase/app-compat",m="@firebase/analytics-compat",p="@firebase/analytics",h="@firebase/app-check-compat",g="@firebase/app-check",b="@firebase/auth",f="@firebase/auth-compat",v="@firebase/database",y="@firebase/data-connect",w="@firebase/database-compat",x="@firebase/functions",_="@firebase/functions-compat",k="@firebase/installations",E="@firebase/installations-compat",I="@firebase/messaging",A="@firebase/messaging-compat",T="@firebase/performance",C="@firebase/performance-compat",S="@firebase/remote-config",D="@firebase/remote-config-compat",L="@firebase/storage",N="@firebase/storage-compat",O="@firebase/firestore",M="@firebase/vertexai",R="@firebase/firestore-compat",B="firebase",P="[DEFAULT]",V={[l]:"fire-core",[u]:"fire-core-compat",[p]:"fire-analytics",[m]:"fire-analytics-compat",[g]:"fire-app-check",[h]:"fire-app-check-compat",[b]:"fire-auth",[f]:"fire-auth-compat",[v]:"fire-rtdb",[y]:"fire-data-connect",[w]:"fire-rtdb-compat",[x]:"fire-fn",[_]:"fire-fn-compat",[k]:"fire-iid",[E]:"fire-iid-compat",[I]:"fire-fcm",[A]:"fire-fcm-compat",[T]:"fire-perf",[C]:"fire-perf-compat",[S]:"fire-rc",[D]:"fire-rc-compat",[L]:"fire-gcs",[N]:"fire-gcs-compat",[O]:"fire-fst",[R]:"fire-fst-compat",[M]:"fire-vertex","fire-js":"fire-js",[B]:"fire-js-all"},j=new Map,z=new Map,F=new Map;function q(t,e){try{t.container.addComponent(e)}catch(r){d.debug(`Component ${e.name} failed to register with FirebaseApp ${t.name}`,r)}}function $(t){const e=t.name;if(F.has(e))return d.debug(`There were multiple attempts to register component ${e}.`),!1;F.set(e,t);for(const e of j.values())q(e,t);for(const e of z.values())q(e,t);return!0}function U(t,e){const r=t.container.getProvider("heartbeat").getImmediate({optional:!0});return r&&r.triggerHeartbeat(),t.container.getProvider(e)}const H=new i.FA("app","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call initializeApp() first","bad-app-name":"Illegal App name: '{$appName}'","duplicate-app":"Firebase App named '{$appName}' already exists with different options or config","app-deleted":"Firebase App named '{$appName}' already deleted","server-app-deleted":"Firebase Server App has been deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invalid-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.","finalization-registry-not-supported":"FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.","invalid-server-app-environment":"FirebaseServerApp is not for use in browser environments."});class G{constructor(t,e,r){this._isDeleted=!1,this._options=Object.assign({},t),this._config=Object.assign({},e),this._name=e.name,this._automaticDataCollectionEnabled=e.automaticDataCollectionEnabled,this._container=r,this.container.addComponent(new o.uA("app",(()=>this),"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(t){this.checkDestroyed(),this._automaticDataCollectionEnabled=t}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(t){this._isDeleted=t}checkDestroyed(){if(this.isDeleted)throw H.create("app-deleted",{appName:this._name})}}const K="11.0.2";function W(t,e={}){let r=t;"object"!=typeof e&&(e={name:e});const n=Object.assign({name:P,automaticDataCollectionEnabled:!1},e),a=n.name;if("string"!=typeof a||!a)throw H.create("bad-app-name",{appName:String(a)});if(r||(r=(0,i.T9)()),!r)throw H.create("no-options");const s=j.get(a);if(s){if((0,i.bD)(r,s.options)&&(0,i.bD)(n,s.config))return s;throw H.create("duplicate-app",{appName:a})}const l=new o.h1(a);for(const t of F.values())l.addComponent(t);const c=new G(r,n,l);return j.set(a,c),c}function Q(t=P){const e=j.get(t);if(!e&&t===P&&(0,i.T9)())return W();if(!e)throw H.create("no-app",{appName:t});return e}function X(t,e,r){var n;let i=null!==(n=V[t])&&void 0!==n?n:t;r&&(i+=`-${r}`);const a=i.match(/\s|\//),s=e.match(/\s|\//);if(a||s){const t=[`Unable to register library "${i}" with version "${e}":`];return a&&t.push(`library name "${i}" contains illegal characters (whitespace or "/")`),a&&s&&t.push("and"),s&&t.push(`version name "${e}" contains illegal characters (whitespace or "/")`),void d.warn(t.join(" "))}$(new o.uA(`${i}-version`,(()=>({library:i,version:e})),"VERSION"))}const Y="firebase-heartbeat-database",J=1,Z="firebase-heartbeat-store";let tt=null;function et(){return tt||(tt=(0,a.P2)(Y,J,{upgrade:(t,e)=>{if(0===e)try{t.createObjectStore(Z)}catch(t){console.warn(t)}}}).catch((t=>{throw H.create("idb-open",{originalErrorMessage:t.message})}))),tt}async function rt(t,e){try{const r=(await et()).transaction(Z,"readwrite"),o=r.objectStore(Z);await o.put(e,ot(t)),await r.done}catch(t){if(t instanceof i.g)d.warn(t.message);else{const e=H.create("idb-set",{originalErrorMessage:null==t?void 0:t.message});d.warn(e.message)}}}function ot(t){return`${t.name}!${t.options.appId}`}class nt{constructor(t){this.container=t,this._heartbeatsCache=null;const e=this.container.getProvider("app").getImmediate();this._storage=new at(e),this._heartbeatsCachePromise=this._storage.read().then((t=>(this._heartbeatsCache=t,t)))}async triggerHeartbeat(){var t,e;try{const r=this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),o=it();if(null==(null===(t=this._heartbeatsCache)||void 0===t?void 0:t.heartbeats)&&(this._heartbeatsCache=await this._heartbeatsCachePromise,null==(null===(e=this._heartbeatsCache)||void 0===e?void 0:e.heartbeats)))return;if(this._heartbeatsCache.lastSentHeartbeatDate===o||this._heartbeatsCache.heartbeats.some((t=>t.date===o)))return;return this._heartbeatsCache.heartbeats.push({date:o,agent:r}),this._heartbeatsCache.heartbeats=this._heartbeatsCache.heartbeats.filter((t=>{const e=new Date(t.date).valueOf();return Date.now()-e<=2592e6})),this._storage.overwrite(this._heartbeatsCache)}catch(t){d.warn(t)}}async getHeartbeatsHeader(){var t;try{if(null===this._heartbeatsCache&&await this._heartbeatsCachePromise,null==(null===(t=this._heartbeatsCache)||void 0===t?void 0:t.heartbeats)||0===this._heartbeatsCache.heartbeats.length)return"";const e=it(),{heartbeatsToSend:r,unsentEntries:o}=function(t,e=1024){const r=[];let o=t.slice();for(const n of t){const t=r.find((t=>t.agent===n.agent));if(t){if(t.dates.push(n.date),st(r)>e){t.dates.pop();break}}else if(r.push({agent:n.agent,dates:[n.date]}),st(r)>e){r.pop();break}o=o.slice(1)}return{heartbeatsToSend:r,unsentEntries:o}}(this._heartbeatsCache.heartbeats),n=(0,i.Uj)(JSON.stringify({version:2,heartbeats:r}));return this._heartbeatsCache.lastSentHeartbeatDate=e,o.length>0?(this._heartbeatsCache.heartbeats=o,await this._storage.overwrite(this._heartbeatsCache)):(this._heartbeatsCache.heartbeats=[],this._storage.overwrite(this._heartbeatsCache)),n}catch(t){return d.warn(t),""}}}function it(){return(new Date).toISOString().substring(0,10)}class at{constructor(t){this.app=t,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}async runIndexedDBEnvironmentCheck(){return!!(0,i.zW)()&&(0,i.eX)().then((()=>!0)).catch((()=>!1))}async read(){if(await this._canUseIndexedDBPromise){const t=await async function(t){try{const e=(await et()).transaction(Z),r=await e.objectStore(Z).get(ot(t));return await e.done,r}catch(t){if(t instanceof i.g)d.warn(t.message);else{const e=H.create("idb-get",{originalErrorMessage:null==t?void 0:t.message});d.warn(e.message)}}}(this.app);return(null==t?void 0:t.heartbeats)?t:{heartbeats:[]}}return{heartbeats:[]}}async overwrite(t){var e;if(await this._canUseIndexedDBPromise){const r=await this.read();return rt(this.app,{lastSentHeartbeatDate:null!==(e=t.lastSentHeartbeatDate)&&void 0!==e?e:r.lastSentHeartbeatDate,heartbeats:t.heartbeats})}}async add(t){var e;if(await this._canUseIndexedDBPromise){const r=await this.read();return rt(this.app,{lastSentHeartbeatDate:null!==(e=t.lastSentHeartbeatDate)&&void 0!==e?e:r.lastSentHeartbeatDate,heartbeats:[...r.heartbeats,...t.heartbeats]})}}}function st(t){return(0,i.Uj)(JSON.stringify({version:2,heartbeats:t})).length}$(new o.uA("platform-logger",(t=>new s(t)),"PRIVATE")),$(new o.uA("heartbeat",(t=>new nt(t)),"PRIVATE")),X(l,c,""),X(l,c,"esm2017"),X("fire-js","")},5125:(t,e,r)=>{"use strict";r.d(e,{h1:()=>s,uA:()=>n});var o=r(6743);class n{constructor(t,e,r){this.name=t,this.instanceFactory=e,this.type=r,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(t){return this.instantiationMode=t,this}setMultipleInstances(t){return this.multipleInstances=t,this}setServiceProps(t){return this.serviceProps=t,this}setInstanceCreatedCallback(t){return this.onInstanceCreated=t,this}}const i="[DEFAULT]";class a{constructor(t,e){this.name=t,this.container=e,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(t){const e=this.normalizeInstanceIdentifier(t);if(!this.instancesDeferred.has(e)){const t=new o.cY;if(this.instancesDeferred.set(e,t),this.isInitialized(e)||this.shouldAutoInitialize())try{const r=this.getOrInitializeService({instanceIdentifier:e});r&&t.resolve(r)}catch(t){}}return this.instancesDeferred.get(e).promise}getImmediate(t){var e;const r=this.normalizeInstanceIdentifier(null==t?void 0:t.identifier),o=null!==(e=null==t?void 0:t.optional)&&void 0!==e&&e;if(!this.isInitialized(r)&&!this.shouldAutoInitialize()){if(o)return null;throw Error(`Service ${this.name} is not available`)}try{return this.getOrInitializeService({instanceIdentifier:r})}catch(t){if(o)return null;throw t}}getComponent(){return this.component}setComponent(t){if(t.name!==this.name)throw Error(`Mismatching Component ${t.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=t,this.shouldAutoInitialize()){if(function(t){return"EAGER"===t.instantiationMode}(t))try{this.getOrInitializeService({instanceIdentifier:i})}catch(t){}for(const[t,e]of this.instancesDeferred.entries()){const r=this.normalizeInstanceIdentifier(t);try{const t=this.getOrInitializeService({instanceIdentifier:r});e.resolve(t)}catch(t){}}}}clearInstance(t=i){this.instancesDeferred.delete(t),this.instancesOptions.delete(t),this.instances.delete(t)}async delete(){const t=Array.from(this.instances.values());await Promise.all([...t.filter((t=>"INTERNAL"in t)).map((t=>t.INTERNAL.delete())),...t.filter((t=>"_delete"in t)).map((t=>t._delete()))])}isComponentSet(){return null!=this.component}isInitialized(t=i){return this.instances.has(t)}getOptions(t=i){return this.instancesOptions.get(t)||{}}initialize(t={}){const{options:e={}}=t,r=this.normalizeInstanceIdentifier(t.instanceIdentifier);if(this.isInitialized(r))throw Error(`${this.name}(${r}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const o=this.getOrInitializeService({instanceIdentifier:r,options:e});for(const[t,e]of this.instancesDeferred.entries())r===this.normalizeInstanceIdentifier(t)&&e.resolve(o);return o}onInit(t,e){var r;const o=this.normalizeInstanceIdentifier(e),n=null!==(r=this.onInitCallbacks.get(o))&&void 0!==r?r:new Set;n.add(t),this.onInitCallbacks.set(o,n);const i=this.instances.get(o);return i&&t(i,o),()=>{n.delete(t)}}invokeOnInitCallbacks(t,e){const r=this.onInitCallbacks.get(e);if(r)for(const o of r)try{o(t,e)}catch(t){}}getOrInitializeService({instanceIdentifier:t,options:e={}}){let r=this.instances.get(t);if(!r&&this.component&&(r=this.component.instanceFactory(this.container,{instanceIdentifier:(o=t,o===i?void 0:o),options:e}),this.instances.set(t,r),this.instancesOptions.set(t,e),this.invokeOnInitCallbacks(r,t),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,t,r)}catch(t){}var o;return r||null}normalizeInstanceIdentifier(t=i){return this.component?this.component.multipleInstances?t:i:t}shouldAutoInitialize(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode}}class s{constructor(t){this.name=t,this.providers=new Map}addComponent(t){const e=this.getProvider(t.name);if(e.isComponentSet())throw new Error(`Component ${t.name} has already been registered with ${this.name}`);e.setComponent(t)}addOrOverwriteComponent(t){this.getProvider(t.name).isComponentSet()&&this.providers.delete(t.name),this.addComponent(t)}getProvider(t){if(this.providers.has(t))return this.providers.get(t);const e=new a(t,this);return this.providers.set(t,e),e}getProviders(){return Array.from(this.providers.values())}}},9559:(t,e,r)=>{"use strict";var o=r(8461),n=r(5125),i=r(6743),a=r(602);const s="@firebase/installations",l="0.6.11",c=1e4,d=`w:${l}`,u="FIS_v2",m="https://firebaseinstallations.googleapis.com/v1",p=36e5,h=new i.FA("installations","Installations",{"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"not-registered":"Firebase Installation is not registered.","installation-not-found":"Firebase Installation not found.","request-failed":'{$requestName} request failed with error "{$serverCode} {$serverStatus}: {$serverMessage}"',"app-offline":"Could not process request. Application offline.","delete-pending-registration":"Can't delete installation while there is a pending registration request."});function g(t){return t instanceof i.g&&t.code.includes("request-failed")}function b({projectId:t}){return`${m}/projects/${t}/installations`}function f(t){return{token:t.token,requestStatus:2,expiresIn:(e=t.expiresIn,Number(e.replace("s","000"))),creationTime:Date.now()};var e}async function v(t,e){const r=(await e.json()).error;return h.create("request-failed",{requestName:t,serverCode:r.code,serverMessage:r.message,serverStatus:r.status})}function y({apiKey:t}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":t})}async function w(t){const e=await t();return e.status>=500&&e.status<600?t():e}function x(t){return new Promise((e=>{setTimeout(e,t)}))}const _=/^[cdef][\w-]{21}$/,k="";function E(){try{const t=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(t),t[0]=112+t[0]%16;const e=function(t){var e;return(e=t,btoa(String.fromCharCode(...e)).replace(/\+/g,"-").replace(/\//g,"_")).substr(0,22)}(t);return _.test(e)?e:k}catch(t){return k}}function I(t){return`${t.appName}!${t.appId}`}const A=new Map;function T(t,e){const r=I(t);C(r,e),function(t,e){const r=(!S&&"BroadcastChannel"in self&&(S=new BroadcastChannel("[Firebase] FID Change"),S.onmessage=t=>{C(t.data.key,t.data.fid)}),S);r&&r.postMessage({key:t,fid:e}),0===A.size&&S&&(S.close(),S=null)}(r,e)}function C(t,e){const r=A.get(t);if(r)for(const t of r)t(e)}let S=null;const D="firebase-installations-database",L=1,N="firebase-installations-store";let O=null;function M(){return O||(O=(0,a.P2)(D,L,{upgrade:(t,e)=>{0===e&&t.createObjectStore(N)}})),O}async function R(t,e){const r=I(t),o=(await M()).transaction(N,"readwrite"),n=o.objectStore(N),i=await n.get(r);return await n.put(e,r),await o.done,i&&i.fid===e.fid||T(t,e.fid),e}async function B(t){const e=I(t),r=(await M()).transaction(N,"readwrite");await r.objectStore(N).delete(e),await r.done}async function P(t,e){const r=I(t),o=(await M()).transaction(N,"readwrite"),n=o.objectStore(N),i=await n.get(r),a=e(i);return void 0===a?await n.delete(r):await n.put(a,r),await o.done,!a||i&&i.fid===a.fid||T(t,a.fid),a}async function V(t){let e;const r=await P(t.appConfig,(r=>{const o=function(t){return F(t||{fid:E(),registrationStatus:0})}(r),n=function(t,e){if(0===e.registrationStatus){if(!navigator.onLine)return{installationEntry:e,registrationPromise:Promise.reject(h.create("app-offline"))};const r={fid:e.fid,registrationStatus:1,registrationTime:Date.now()},o=async function(t,e){try{const r=await async function({appConfig:t,heartbeatServiceProvider:e},{fid:r}){const o=b(t),n=y(t),i=e.getImmediate({optional:!0});if(i){const t=await i.getHeartbeatsHeader();t&&n.append("x-firebase-client",t)}const a={fid:r,authVersion:u,appId:t.appId,sdkVersion:d},s={method:"POST",headers:n,body:JSON.stringify(a)},l=await w((()=>fetch(o,s)));if(l.ok){const t=await l.json();return{fid:t.fid||r,registrationStatus:2,refreshToken:t.refreshToken,authToken:f(t.authToken)}}throw await v("Create Installation",l)}(t,e);return R(t.appConfig,r)}catch(r){throw g(r)&&409===r.customData.serverCode?await B(t.appConfig):await R(t.appConfig,{fid:e.fid,registrationStatus:0}),r}}(t,r);return{installationEntry:r,registrationPromise:o}}return 1===e.registrationStatus?{installationEntry:e,registrationPromise:j(t)}:{installationEntry:e}}(t,o);return e=n.registrationPromise,n.installationEntry}));return r.fid===k?{installationEntry:await e}:{installationEntry:r,registrationPromise:e}}async function j(t){let e=await z(t.appConfig);for(;1===e.registrationStatus;)await x(100),e=await z(t.appConfig);if(0===e.registrationStatus){const{installationEntry:e,registrationPromise:r}=await V(t);return r||e}return e}function z(t){return P(t,(t=>{if(!t)throw h.create("installation-not-found");return F(t)}))}function F(t){return 1===(e=t).registrationStatus&&e.registrationTime+cfetch(o,s)));if(l.ok)return f(await l.json());throw await v("Generate Auth Token",l)}async function $(t,e=!1){let r;const o=await P(t.appConfig,(o=>{if(!H(o))throw h.create("not-registered");const n=o.authToken;if(!e&&(2===(i=n).requestStatus&&!function(t){const e=Date.now();return e{if(!H(t))throw h.create("not-registered");return 1===(e=t.authToken).requestStatus&&e.requestTime+c{const e=t.getProvider("app").getImmediate(),r=function(t){if(!t||!t.options)throw G("App Configuration");if(!t.name)throw G("App Name");const e=["projectId","apiKey","appId"];for(const r of e)if(!t.options[r])throw G(r);return{appName:t.name,projectId:t.options.projectId,apiKey:t.options.apiKey,appId:t.options.appId}}(e);return{app:e,appConfig:r,heartbeatServiceProvider:(0,o.j6)(e,"heartbeat"),_delete:()=>Promise.resolve()}}),"PUBLIC")),(0,o.om)(new n.uA("installations-internal",(t=>{const e=t.getProvider("app").getImmediate(),r=(0,o.j6)(e,K).getImmediate();return{getId:()=>async function(t){const e=t,{installationEntry:r,registrationPromise:o}=await V(e);return o?o.catch(console.error):$(e).catch(console.error),r.fid}(r),getToken:t=>async function(t,e=!1){const r=t;return await async function(t){const{registrationPromise:e}=await V(t);e&&await e}(r),(await $(r,e)).token}(r,t)}}),"PRIVATE")),(0,o.KO)(s,l),(0,o.KO)(s,l,"esm2017")},3424:(t,e,r)=>{"use strict";r.d(e,{$b:()=>n,Vy:()=>c});const o=[];var n;!function(t){t[t.DEBUG=0]="DEBUG",t[t.VERBOSE=1]="VERBOSE",t[t.INFO=2]="INFO",t[t.WARN=3]="WARN",t[t.ERROR=4]="ERROR",t[t.SILENT=5]="SILENT"}(n||(n={}));const i={debug:n.DEBUG,verbose:n.VERBOSE,info:n.INFO,warn:n.WARN,error:n.ERROR,silent:n.SILENT},a=n.INFO,s={[n.DEBUG]:"log",[n.VERBOSE]:"log",[n.INFO]:"info",[n.WARN]:"warn",[n.ERROR]:"error"},l=(t,e,...r)=>{if(e{"use strict";r.d(e,{VV:()=>n,jz:()=>o});var o,n,i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},a={};(function(){var t;function e(){this.blockSize=-1,this.blockSize=64,this.g=Array(4),this.B=Array(this.blockSize),this.o=this.h=0,this.s()}function r(t,e,r){r||(r=0);var o=Array(16);if("string"==typeof e)for(var n=0;16>n;++n)o[n]=e.charCodeAt(r++)|e.charCodeAt(r++)<<8|e.charCodeAt(r++)<<16|e.charCodeAt(r++)<<24;else for(n=0;16>n;++n)o[n]=e[r++]|e[r++]<<8|e[r++]<<16|e[r++]<<24;e=t.g[0],r=t.g[1],n=t.g[2];var i=t.g[3],a=e+(i^r&(n^i))+o[0]+3614090360&4294967295;a=(r=(n=(i=(e=(r=(n=(i=(e=(r=(n=(i=(e=(r=(n=(i=(e=(r=(n=(i=(e=(r=(n=(i=(e=(r=(n=(i=(e=(r=(n=(i=(e=(r=(n=(i=(e=(r=(n=(i=(e=(r=(n=(i=(e=(r=(n=(i=(e=(r=(n=(i=(e=(r=(n=(i=(e=(r=(n=(i=(e=r+(a<<7&4294967295|a>>>25))+((a=i+(n^e&(r^n))+o[1]+3905402710&4294967295)<<12&4294967295|a>>>20))+((a=n+(r^i&(e^r))+o[2]+606105819&4294967295)<<17&4294967295|a>>>15))+((a=r+(e^n&(i^e))+o[3]+3250441966&4294967295)<<22&4294967295|a>>>10))+((a=e+(i^r&(n^i))+o[4]+4118548399&4294967295)<<7&4294967295|a>>>25))+((a=i+(n^e&(r^n))+o[5]+1200080426&4294967295)<<12&4294967295|a>>>20))+((a=n+(r^i&(e^r))+o[6]+2821735955&4294967295)<<17&4294967295|a>>>15))+((a=r+(e^n&(i^e))+o[7]+4249261313&4294967295)<<22&4294967295|a>>>10))+((a=e+(i^r&(n^i))+o[8]+1770035416&4294967295)<<7&4294967295|a>>>25))+((a=i+(n^e&(r^n))+o[9]+2336552879&4294967295)<<12&4294967295|a>>>20))+((a=n+(r^i&(e^r))+o[10]+4294925233&4294967295)<<17&4294967295|a>>>15))+((a=r+(e^n&(i^e))+o[11]+2304563134&4294967295)<<22&4294967295|a>>>10))+((a=e+(i^r&(n^i))+o[12]+1804603682&4294967295)<<7&4294967295|a>>>25))+((a=i+(n^e&(r^n))+o[13]+4254626195&4294967295)<<12&4294967295|a>>>20))+((a=n+(r^i&(e^r))+o[14]+2792965006&4294967295)<<17&4294967295|a>>>15))+((a=r+(e^n&(i^e))+o[15]+1236535329&4294967295)<<22&4294967295|a>>>10))+((a=e+(n^i&(r^n))+o[1]+4129170786&4294967295)<<5&4294967295|a>>>27))+((a=i+(r^n&(e^r))+o[6]+3225465664&4294967295)<<9&4294967295|a>>>23))+((a=n+(e^r&(i^e))+o[11]+643717713&4294967295)<<14&4294967295|a>>>18))+((a=r+(i^e&(n^i))+o[0]+3921069994&4294967295)<<20&4294967295|a>>>12))+((a=e+(n^i&(r^n))+o[5]+3593408605&4294967295)<<5&4294967295|a>>>27))+((a=i+(r^n&(e^r))+o[10]+38016083&4294967295)<<9&4294967295|a>>>23))+((a=n+(e^r&(i^e))+o[15]+3634488961&4294967295)<<14&4294967295|a>>>18))+((a=r+(i^e&(n^i))+o[4]+3889429448&4294967295)<<20&4294967295|a>>>12))+((a=e+(n^i&(r^n))+o[9]+568446438&4294967295)<<5&4294967295|a>>>27))+((a=i+(r^n&(e^r))+o[14]+3275163606&4294967295)<<9&4294967295|a>>>23))+((a=n+(e^r&(i^e))+o[3]+4107603335&4294967295)<<14&4294967295|a>>>18))+((a=r+(i^e&(n^i))+o[8]+1163531501&4294967295)<<20&4294967295|a>>>12))+((a=e+(n^i&(r^n))+o[13]+2850285829&4294967295)<<5&4294967295|a>>>27))+((a=i+(r^n&(e^r))+o[2]+4243563512&4294967295)<<9&4294967295|a>>>23))+((a=n+(e^r&(i^e))+o[7]+1735328473&4294967295)<<14&4294967295|a>>>18))+((a=r+(i^e&(n^i))+o[12]+2368359562&4294967295)<<20&4294967295|a>>>12))+((a=e+(r^n^i)+o[5]+4294588738&4294967295)<<4&4294967295|a>>>28))+((a=i+(e^r^n)+o[8]+2272392833&4294967295)<<11&4294967295|a>>>21))+((a=n+(i^e^r)+o[11]+1839030562&4294967295)<<16&4294967295|a>>>16))+((a=r+(n^i^e)+o[14]+4259657740&4294967295)<<23&4294967295|a>>>9))+((a=e+(r^n^i)+o[1]+2763975236&4294967295)<<4&4294967295|a>>>28))+((a=i+(e^r^n)+o[4]+1272893353&4294967295)<<11&4294967295|a>>>21))+((a=n+(i^e^r)+o[7]+4139469664&4294967295)<<16&4294967295|a>>>16))+((a=r+(n^i^e)+o[10]+3200236656&4294967295)<<23&4294967295|a>>>9))+((a=e+(r^n^i)+o[13]+681279174&4294967295)<<4&4294967295|a>>>28))+((a=i+(e^r^n)+o[0]+3936430074&4294967295)<<11&4294967295|a>>>21))+((a=n+(i^e^r)+o[3]+3572445317&4294967295)<<16&4294967295|a>>>16))+((a=r+(n^i^e)+o[6]+76029189&4294967295)<<23&4294967295|a>>>9))+((a=e+(r^n^i)+o[9]+3654602809&4294967295)<<4&4294967295|a>>>28))+((a=i+(e^r^n)+o[12]+3873151461&4294967295)<<11&4294967295|a>>>21))+((a=n+(i^e^r)+o[15]+530742520&4294967295)<<16&4294967295|a>>>16))+((a=r+(n^i^e)+o[2]+3299628645&4294967295)<<23&4294967295|a>>>9))+((a=e+(n^(r|~i))+o[0]+4096336452&4294967295)<<6&4294967295|a>>>26))+((a=i+(r^(e|~n))+o[7]+1126891415&4294967295)<<10&4294967295|a>>>22))+((a=n+(e^(i|~r))+o[14]+2878612391&4294967295)<<15&4294967295|a>>>17))+((a=r+(i^(n|~e))+o[5]+4237533241&4294967295)<<21&4294967295|a>>>11))+((a=e+(n^(r|~i))+o[12]+1700485571&4294967295)<<6&4294967295|a>>>26))+((a=i+(r^(e|~n))+o[3]+2399980690&4294967295)<<10&4294967295|a>>>22))+((a=n+(e^(i|~r))+o[10]+4293915773&4294967295)<<15&4294967295|a>>>17))+((a=r+(i^(n|~e))+o[1]+2240044497&4294967295)<<21&4294967295|a>>>11))+((a=e+(n^(r|~i))+o[8]+1873313359&4294967295)<<6&4294967295|a>>>26))+((a=i+(r^(e|~n))+o[15]+4264355552&4294967295)<<10&4294967295|a>>>22))+((a=n+(e^(i|~r))+o[6]+2734768916&4294967295)<<15&4294967295|a>>>17))+((a=r+(i^(n|~e))+o[13]+1309151649&4294967295)<<21&4294967295|a>>>11))+((i=(e=r+((a=e+(n^(r|~i))+o[4]+4149444226&4294967295)<<6&4294967295|a>>>26))+((a=i+(r^(e|~n))+o[11]+3174756917&4294967295)<<10&4294967295|a>>>22))^((n=i+((a=n+(e^(i|~r))+o[2]+718787259&4294967295)<<15&4294967295|a>>>17))|~e))+o[9]+3951481745&4294967295,t.g[0]=t.g[0]+e&4294967295,t.g[1]=t.g[1]+(n+(a<<21&4294967295|a>>>11))&4294967295,t.g[2]=t.g[2]+n&4294967295,t.g[3]=t.g[3]+i&4294967295}function i(t,e){this.h=e;for(var r=[],o=!0,n=t.length-1;0<=n;n--){var i=0|t[n];o&&i==e||(r[n]=i,o=!1)}this.g=r}!function(t,e){function r(){}r.prototype=e.prototype,t.D=e.prototype,t.prototype=new r,t.prototype.constructor=t,t.C=function(t,r,o){for(var n=Array(arguments.length-2),i=2;ithis.h?this.blockSize:2*this.blockSize)-this.h);t[0]=128;for(var e=1;ee;++e)for(var o=0;32>o;o+=8)t[r++]=this.g[e]>>>o&255;return t};var s={};function l(t){return-128<=t&&128>t?function(t,e){var r=s;return Object.prototype.hasOwnProperty.call(r,t)?r[t]:r[t]=function(t){return new i([0|t],0>t?-1:0)}(t)}(t):new i([0|t],0>t?-1:0)}function c(t){if(isNaN(t)||!isFinite(t))return d;if(0>t)return g(c(-t));for(var e=[],r=1,o=0;t>=r;o++)e[o]=t/r|0,r*=4294967296;return new i(e,0)}var d=l(0),u=l(1),m=l(16777216);function p(t){if(0!=t.h)return!1;for(var e=0;e>>16,t[e]&=65535,e++}function v(t,e){this.g=t,this.h=e}function y(t,e){if(p(e))throw Error("division by zero");if(p(t))return new v(d,d);if(h(t))return e=y(g(t),e),new v(g(e.g),g(e.h));if(h(e))return e=y(t,g(e)),new v(g(e.g),e.h);if(30=o.l(t);)r=w(r),o=w(o);var n=x(r,1),i=x(o,1);for(o=x(o,2),r=x(r,2);!p(o);){var a=i.add(o);0>=a.l(t)&&(n=n.add(r),i=a),o=x(o,1),r=x(r,1)}return e=b(t,n.j(e)),new v(n,e)}for(n=d;0<=t.l(e);){for(r=Math.max(1,Math.floor(t.m()/e.m())),o=48>=(o=Math.ceil(Math.log(r)/Math.LN2))?1:Math.pow(2,o-48),a=(i=c(r)).j(e);h(a)||0>>31;return new i(r,t.h)}function x(t,e){var r=e>>5;e%=32;for(var o=t.g.length-r,n=[],a=0;a>>e|t.i(a+r+1)<<32-e:t.i(a+r);return new i(n,t.h)}(t=i.prototype).m=function(){if(h(this))return-g(this).m();for(var t=0,e=1,r=0;r(t=t||10)||36>>0).toString(t);if(p(r=n))return i+o;for(;6>i.length;)i="0"+i;o=i+o}},t.i=function(t){return 0>t?0:t>>16)+(this.i(n)>>>16)+(t.i(n)>>>16);o=s>>>16,a&=65535,s&=65535,r[n]=s<<16|a}return new i(r,-2147483648&r[r.length-1]?-1:0)},t.j=function(t){if(p(this)||p(t))return d;if(h(this))return h(t)?g(this).j(g(t)):g(g(this).j(t));if(h(t))return g(this.j(g(t)));if(0>this.l(m)&&0>t.l(m))return c(this.m()*t.m());for(var e=this.g.length+t.g.length,r=[],o=0;o<2*e;o++)r[o]=0;for(o=0;o>>16,s=65535&this.i(o),l=t.i(n)>>>16,u=65535&t.i(n);r[2*o+2*n]+=s*u,f(r,2*o+2*n),r[2*o+2*n+1]+=a*u,f(r,2*o+2*n+1),r[2*o+2*n+1]+=s*l,f(r,2*o+2*n+1),r[2*o+2*n+2]+=a*l,f(r,2*o+2*n+2)}for(o=0;o(r=r||10)||36a?(a=c(Math.pow(r,a)),n=n.j(a).add(c(s))):n=(n=n.j(o)).add(c(s))}return n},o=a.Integer=i}).apply(void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},1853:(t,e,r)=>{"use strict";r.d(e,{Ao:()=>c,Bx:()=>i,Jh:()=>l,O4:()=>a,ZS:()=>o,fF:()=>d,iO:()=>n,ro:()=>s});var o,n,i,a,s,l,c,d,u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},m={};(function(){var t,e="function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,r){return t==Array.prototype||t==Object.prototype||(t[e]=r.value),t},r=function(t){t=["object"==typeof globalThis&&globalThis,t,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof u&&u];for(var e=0;e{throw t}),0)}function M(){var t=j;let e=null;return t.g&&(e=t.g,t.g=t.g.next,t.g||(t.h=null),e.next=null),e}var R=new class{constructor(t,e){this.i=t,this.j=e,this.h=0,this.g=null}get(){let t;return 0new B),(t=>t.reset()));class B{constructor(){this.next=this.g=this.h=null}set(t,e){this.h=t,this.g=e,this.next=null}reset(){this.next=this.g=this.h=null}}let P,V=!1,j=new class{constructor(){this.h=this.g=null}add(t,e){const r=R.get();r.set(t,e),this.h?this.h.next=r:this.g=r,this.h=r}},z=()=>{const t=h.Promise.resolve(void 0);P=()=>{t.then(F)}};var F=()=>{for(var t;t=M();){try{t.h.call(t.g)}catch(t){O(t)}var e=R;e.j(t),100>e.h&&(e.h++,t.next=e.g,e.g=t)}V=!1};function q(){this.s=this.s,this.C=this.C}function $(t,e){this.type=t,this.g=this.target=e,this.defaultPrevented=!1}q.prototype.s=!1,q.prototype.ma=function(){this.s||(this.s=!0,this.N())},q.prototype.N=function(){if(this.C)for(;this.C.length;)this.C.shift()()},$.prototype.h=function(){this.defaultPrevented=!0};var U=function(){if(!h.addEventListener||!Object.defineProperty)return!1;var t=!1,e=Object.defineProperty({},"passive",{get:function(){t=!0}});try{const t=()=>{};h.addEventListener("test",t,e),h.removeEventListener("test",t,e)}catch(t){}return t}();function H(t,e){if($.call(this,t?t.type:""),this.relatedTarget=this.g=this.target=null,this.button=this.screenY=this.screenX=this.clientY=this.clientX=0,this.key="",this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1,this.state=null,this.pointerId=0,this.pointerType="",this.i=null,t){var r=this.type=t.type,o=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:null;if(this.target=t.target||t.srcElement,this.g=e,e=t.relatedTarget){if(T){t:{try{A(e.nodeName);var n=!0;break t}catch(t){}n=!1}n||(e=null)}}else"mouseover"==r?e=t.fromElement:"mouseout"==r&&(e=t.toElement);this.relatedTarget=e,o?(this.clientX=void 0!==o.clientX?o.clientX:o.pageX,this.clientY=void 0!==o.clientY?o.clientY:o.pageY,this.screenX=o.screenX||0,this.screenY=o.screenY||0):(this.clientX=void 0!==t.clientX?t.clientX:t.pageX,this.clientY=void 0!==t.clientY?t.clientY:t.pageY,this.screenX=t.screenX||0,this.screenY=t.screenY||0),this.button=t.button,this.key=t.key||"",this.ctrlKey=t.ctrlKey,this.altKey=t.altKey,this.shiftKey=t.shiftKey,this.metaKey=t.metaKey,this.pointerId=t.pointerId||0,this.pointerType="string"==typeof t.pointerType?t.pointerType:G[t.pointerType]||"",this.state=t.state,this.i=t,t.defaultPrevented&&H.aa.h.call(this)}}x(H,$);var G={2:"touch",3:"pen",4:"mouse"};H.prototype.h=function(){H.aa.h.call(this);var t=this.i;t.preventDefault?t.preventDefault():t.returnValue=!1};var K="closure_listenable_"+(1e6*Math.random()|0),W=0;function Q(t,e,r,o,n){this.listener=t,this.proxy=null,this.src=e,this.type=r,this.capture=!!o,this.ha=n,this.key=++W,this.da=this.fa=!1}function X(t){t.da=!0,t.listener=null,t.proxy=null,t.src=null,t.ha=null}function Y(t){this.src=t,this.g={},this.h=0}function J(t,e){var r=e.type;if(r in t.g){var o,n=t.g[r],i=Array.prototype.indexOf.call(n,e,void 0);(o=0<=i)&&Array.prototype.splice.call(n,i,1),o&&(X(e),0==t.g[r].length&&(delete t.g[r],t.h--))}}function Z(t,e,r,o){for(var n=0;n>>0);function ut(t){return"function"==typeof t?t:(t[dt]||(t[dt]=function(e){return t.handleEvent(e)}),t[dt])}function mt(){q.call(this),this.i=new Y(this),this.M=this,this.F=null}function pt(t,e){var r,o=t.F;if(o)for(r=[];o;o=o.F)r.push(o);if(t=t.M,o=e.type||e,"string"==typeof e)e=new $(e,t);else if(e instanceof $)e.target=e.target||t;else{var n=e;L(e=new $(o,t),n)}if(n=!0,r)for(var i=r.length-1;0<=i;i--){var a=e.g=r[i];n=ht(a,o,!0,e)&&n}if(n=ht(a=e.g=t,o,!0,e)&&n,n=ht(a,o,!1,e)&&n,r)for(i=0;i{t.g=null,t.i&&(t.i=!1,bt(t))}),t.l);const e=t.h;t.h=null,t.m.apply(null,e)}x(mt,q),mt.prototype[K]=!0,mt.prototype.removeEventListener=function(t,e,r,o){it(this,t,e,r,o)},mt.prototype.N=function(){if(mt.aa.N.call(this),this.i){var t,e=this.i;for(t in e.g){for(var r=e.g[t],o=0;oo.length)){var n=o[1];if(Array.isArray(n)&&!(1>n.length)){var i=n[0];if("noop"!=i&&"stop"!=i&&"close"!=i)for(var a=1;ae.length?Wt:(e=e.slice(o,o+r),t.C=o+r,e))}function Zt(t){t.S=Date.now()+t.I,te(t,t.I)}function te(t,e){if(null!=t.B)throw Error("WatchDog timer not null");t.B=Vt(y(t.ba,t),e)}function ee(t){t.B&&(h.clearTimeout(t.B),t.B=null)}function re(t){0==t.j.G||t.J||fr(t.j,t)}function oe(t){ee(t);var e=t.M;e&&"function"==typeof e.ma&&e.ma(),t.M=null,wt(t.U),t.g&&(e=t.g,t.g=null,e.abort(),e.ma())}function ne(t,e){try{var r=t.j;if(0!=r.G&&(r.g==t||ce(r.h,t)))if(!t.K&&ce(r.h,t)&&3==r.G){try{var o=r.Da.g.parse(e)}catch(t){o=null}if(Array.isArray(o)&&3==o.length){var n=o;if(0==n[0]){t:if(!r.u){if(r.g){if(!(r.g.F+3e3n[2]&&r.F&&0==r.v&&!r.C&&(r.C=Vt(y(r.Za,r),6e3));if(1>=le(r.h)&&r.ca){try{r.ca()}catch(t){}r.ca=void 0}}else yr(r,11)}else if((t.K||r.g==t)&&br(r),!E(e))for(n=r.Da.g.parse(e),e=0;eu)&&(3!=u||this.g&&(this.h.h||this.g.oa()||rr(this.g)))){this.J||4!=u||7==e||Mt(),ee(this);var r=this.g.Z();this.X=r;e:if(Yt(this)){var o=rr(this.g);t="";var n=o.length,i=4==er(this.g);if(!this.h.i){if("undefined"==typeof TextDecoder){oe(this),re(this);var a="";break e}this.h.i=new h.TextDecoder}for(e=0;e=t.j}function le(t){return t.h?1:t.g?t.g.size:0}function ce(t,e){return t.h?t.h==e:!!t.g&&t.g.has(e)}function de(t,e){t.g?t.g.add(e):t.h=e}function ue(t,e){t.h&&t.h==e?t.h=null:t.g&&t.g.has(e)&&t.g.delete(e)}function me(t){if(null!=t.h)return t.i.concat(t.h.D);if(null!=t.g&&0!==t.g.size){let e=t.i;for(const r of t.g.values())e=e.concat(r.D);return e}return _(t.i)}function pe(t,e){if(t.forEach&&"function"==typeof t.forEach)t.forEach(e,void 0);else if(g(t)||"string"==typeof t)Array.prototype.forEach.call(t,e,void 0);else for(var r=function(t){if(t.na&&"function"==typeof t.na)return t.na();if(!t.V||"function"!=typeof t.V){if("undefined"!=typeof Map&&t instanceof Map)return Array.from(t.keys());if(!("undefined"!=typeof Set&&t instanceof Set)){if(g(t)||"string"==typeof t){var e=[];t=t.length;for(var r=0;re)throw Error("Bad port number "+e);t.s=e}else t.s=null}function ye(t,e,r){e instanceof Le?(t.i=e,function(t,e){e&&!t.j&&(Ne(t),t.i=null,t.g.forEach((function(t,e){var r=e.toLowerCase();e!=r&&(Oe(this,e),Re(this,r,t))}),t)),t.j=e}(t.i,t.h)):(r||(e=ke(e,Se)),t.i=new Le(e,t.h))}function we(t,e,r){t.i.set(e,r)}function xe(t){return we(t,"zx",Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Date.now()).toString(36)),t}function _e(t,e){return t?e?decodeURI(t.replace(/%25/g,"%2525")):decodeURIComponent(t):""}function ke(t,e,r){return"string"==typeof t?(t=encodeURI(t).replace(e,Ee),r&&(t=t.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),t):null}function Ee(t){return"%"+((t=t.charCodeAt(0))>>4&15).toString(16)+(15&t).toString(16)}ge.prototype.toString=function(){var t=[],e=this.j;e&&t.push(ke(e,Ae,!0),":");var r=this.g;return(r||"file"==e)&&(t.push("//"),(e=this.o)&&t.push(ke(e,Ae,!0),"@"),t.push(encodeURIComponent(String(r)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),null!=(r=this.s)&&t.push(":",String(r))),(r=this.l)&&(this.g&&"/"!=r.charAt(0)&&t.push("/"),t.push(ke(r,"/"==r.charAt(0)?Ce:Te,!0))),(r=this.i.toString())&&t.push("?",r),(r=this.m)&&t.push("#",ke(r,De)),t.join("")};var Ie,Ae=/[#\/\?@]/g,Te=/[#\?:]/g,Ce=/[#\?]/g,Se=/[#\?@]/g,De=/#/g;function Le(t,e){this.h=this.g=null,this.i=t||null,this.j=!!e}function Ne(t){t.g||(t.g=new Map,t.h=0,t.i&&function(t,e){if(t){t=t.split("&");for(var r=0;r{})),1<=this.readyState&&this.g&&4!=this.readyState&&(this.g=!1,$e(this)),this.readyState=0},t.Sa=function(t){if(this.g&&(this.l=t,this.h||(this.status=this.l.status,this.statusText=this.l.statusText,this.h=t.headers,this.readyState=2,Ue(this)),this.g&&(this.readyState=3,Ue(this),this.g)))if("arraybuffer"===this.responseType)t.arrayBuffer().then(this.Qa.bind(this),this.ga.bind(this));else if(void 0!==h.ReadableStream&&"body"in t){if(this.j=t.body.getReader(),this.o){if(this.responseType)throw Error('responseType must be empty for "streamBinaryChunks" mode responses.');this.response=[]}else this.response=this.responseText="",this.v=new TextDecoder;qe(this)}else t.text().then(this.Ra.bind(this),this.ga.bind(this))},t.Pa=function(t){if(this.g){if(this.o&&t.value)this.response.push(t.value);else if(!this.o){var e=t.value?t.value:new Uint8Array(0);(e=this.v.decode(e,{stream:!t.done}))&&(this.response=this.responseText+=e)}t.done?$e(this):Ue(this),3==this.readyState&&qe(this)}},t.Ra=function(t){this.g&&(this.response=this.responseText=t,$e(this))},t.Qa=function(t){this.g&&(this.response=t,$e(this))},t.ga=function(){this.g&&$e(this)},t.setRequestHeader=function(t,e){this.u.append(t,e)},t.getResponseHeader=function(t){return this.h&&this.h.get(t.toLowerCase())||""},t.getAllResponseHeaders=function(){if(!this.h)return"";const t=[],e=this.h.entries();for(var r=e.next();!r.done;)r=r.value,t.push(r[0]+": "+r[1]),r=e.next();return t.join("\r\n")},Object.defineProperty(Fe.prototype,"withCredentials",{get:function(){return"include"===this.m},set:function(t){this.m=t?"include":"same-origin"}}),x(Ke,mt);var We=/^https?$/i,Qe=["POST","PUT"];function Xe(t,e){t.h=!1,t.g&&(t.j=!0,t.g.abort(),t.j=!1),t.l=e,t.m=5,Ye(t),Ze(t)}function Ye(t){t.A||(t.A=!0,pt(t,"complete"),pt(t,"error"))}function Je(t){if(t.h&&void 0!==p&&(!t.v[1]||4!=er(t)||2!=t.Z()))if(t.u&&4==er(t))gt(t.Ea,0,t);else if(pt(t,"readystatechange"),4==er(t)){t.h=!1;try{const a=t.Z();t:switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var e=!0;break t;default:e=!1}var r;if(!(r=e)){var o;if(o=0===a){var n=String(t.D).match(he)[1]||null;!n&&h.self&&h.self.location&&(n=h.self.location.protocol.slice(0,-1)),o=!We.test(n?n.toLowerCase():"")}r=o}if(r)pt(t,"complete"),pt(t,"success");else{t.m=6;try{var i=2{}:null;t.g=null,t.v=null,e||pt(t,"ready");try{r.onreadystatechange=o}catch(t){}}}function tr(t){t.I&&(h.clearTimeout(t.I),t.I=null)}function er(t){return t.g?t.g.readyState:0}function rr(t){try{if(!t.g)return null;if("response"in t.g)return t.g.response;switch(t.H){case"":case"text":return t.g.responseText;case"arraybuffer":if("mozResponseArrayBuffer"in t.g)return t.g.mozResponseArrayBuffer}return null}catch(t){return null}}function or(t,e,r){return r&&r.internalChannelParams&&r.internalChannelParams[t]||e}function nr(t){this.Aa=0,this.i=[],this.j=new jt,this.ia=this.qa=this.I=this.W=this.g=this.ya=this.D=this.H=this.m=this.S=this.o=null,this.Ya=this.U=0,this.Va=or("failFast",!1,t),this.F=this.C=this.u=this.s=this.l=null,this.X=!0,this.za=this.T=-1,this.Y=this.v=this.B=0,this.Ta=or("baseRetryDelayMs",5e3,t),this.cb=or("retryDelaySeedMs",1e4,t),this.Wa=or("forwardChannelMaxRetries",2,t),this.wa=or("forwardChannelRequestTimeoutMs",2e4,t),this.pa=t&&t.xmlHttpFactory||void 0,this.Xa=t&&t.Tb||void 0,this.Ca=t&&t.useFetchStreams||!1,this.L=void 0,this.J=t&&t.supportsCrossDomainXhr||!1,this.K="",this.h=new ae(t&&t.concurrentRequestLimit),this.Da=new Ve,this.P=t&&t.fastHandshake||!1,this.O=t&&t.encodeInitMessageHeaders||!1,this.P&&this.O&&(this.O=!1),this.Ua=t&&t.Rb||!1,t&&t.xa&&this.j.xa(),t&&t.forceLongPolling&&(this.X=!1),this.ba=!this.P&&this.X&&t&&t.detectBufferingProxy||!1,this.ja=void 0,t&&t.longPollingTimeout&&0r)e=Math.max(0,n[a].g-100),i=!1;else try{je(s,t,"req"+r+"_")}catch(t){o&&o(s)}}if(i){o=t.join("&");break t}}}return t=t.i.splice(0,r),e.D=t,o}function mr(t){if(!t.g&&!t.u){t.Y=1;var e=t.Fa;P||z(),V||(P(),V=!0),j.add(e,t),t.v=0}}function pr(t){return!(t.g||t.u||3<=t.v||(t.Y++,t.u=Vt(y(t.Fa,t),vr(t,t.v)),t.v++,0))}function hr(t){null!=t.A&&(h.clearTimeout(t.A),t.A=null)}function gr(t){t.g=new Ht(t,t.j,"rpc",t.Y),null===t.m&&(t.g.H=t.o),t.g.O=0;var e=be(t.qa);we(e,"RID","rpc"),we(e,"SID",t.K),we(e,"AID",t.T),we(e,"CI",t.F?"0":"1"),!t.F&&t.ja&&we(e,"TO",t.ja),we(e,"TYPE","xmlhttp"),dr(t,e),t.m&&t.o&&Ge(e,t.m,t.o),t.L&&(t.g.I=t.L);var r=t.g;t=t.ia,r.L=1,r.v=xe(be(e)),r.m=null,r.P=!0,Xt(r,t)}function br(t){null!=t.C&&(h.clearTimeout(t.C),t.C=null)}function fr(t,e){var r=null;if(t.g==e){br(t),hr(t),t.g=null;var o=2}else{if(!ce(t.h,e))return;r=e.D,ue(t.h,e),o=1}if(0!=t.G)if(e.o)if(1==o){r=e.m?e.m.length:0,e=Date.now()-e.F;var n=t.B;pt(o=Nt(),new Pt(o,r)),lr(t)}else mr(t);else if(3==(n=e.s)||0==n&&0=t.h.j-(t.s?1:0)||(t.s?(t.i=e.D.concat(t.i),0):1==t.G||2==t.G||t.B>=(t.Va?0:t.Wa)||(t.s=Vt(y(t.Ga,t,e),vr(t,t.B)),t.B++,0)))}(t,e)||2==o&&pr(t)))switch(r&&0{r.abort(),Pe(0,0,!1,e)}),1e4);fetch(t,{signal:r.signal}).then((t=>{clearTimeout(o),t.ok?Pe(0,0,!0,e):Pe(0,0,!1,e)})).catch((()=>{clearTimeout(o),Pe(0,0,!1,e)}))}(o.toString(),r)}else Bt(2);t.G=0,t.l&&t.l.sa(e),wr(t),sr(t)}function wr(t){if(t.G=0,t.ka=[],t.l){const e=me(t.h);0==e.length&&0==t.i.length||(k(t.ka,e),k(t.ka,t.i),t.h.i.length=0,_(t.i),t.i.length=0),t.l.ra()}}function xr(t,e,r){var o=r instanceof ge?be(r):new ge(r);if(""!=o.g)e&&(o.g=e+"."+o.g),ve(o,o.s);else{var n=h.location;o=n.protocol,e=e?e+"."+n.hostname:n.hostname,n=+n.port;var i=new ge(null);o&&fe(i,o),e&&(i.g=e),n&&ve(i,n),r&&(i.l=r),o=i}return r=t.D,e=t.ya,r&&e&&we(o,r,e),we(o,"VER",t.la),dr(t,o),o}function _r(t,e,r){if(e&&!t.J)throw Error("Can't create secondary domain capable XhrIo object.");return(e=t.Ca&&!t.pa?new Ke(new ze({eb:r})):new Ke(t.pa)).Ha(t.J),e}function kr(){}function Er(){}function Ir(t,e){mt.call(this),this.g=new nr(e),this.l=t,this.h=e&&e.messageUrlParams||null,t=e&&e.messageHeaders||null,e&&e.clientProtocolHeaderRequired&&(t?t["X-Client-Protocol"]="webchannel":t={"X-Client-Protocol":"webchannel"}),this.g.o=t,t=e&&e.initMessageHeaders||null,e&&e.messageContentType&&(t?t["X-WebChannel-Content-Type"]=e.messageContentType:t={"X-WebChannel-Content-Type":e.messageContentType}),e&&e.va&&(t?t["X-WebChannel-Client-Profile"]=e.va:t={"X-WebChannel-Client-Profile":e.va}),this.g.S=t,(t=e&&e.Sb)&&!E(t)&&(this.g.m=t),this.v=e&&e.supportsCrossDomainXhr||!1,this.u=e&&e.sendRawJson||!1,(e=e&&e.httpSessionIdParam)&&!E(e)&&(this.g.D=e,null!==(t=this.h)&&e in t&&e in(t=this.h)&&delete t[e]),this.j=new Cr(this)}function Ar(t){Ct.call(this),t.__headers__&&(this.headers=t.__headers__,this.statusCode=t.__status__,delete t.__headers__,delete t.__status__);var e=t.__sm__;if(e){t:{for(const r in e){t=r;break t}t=void 0}(this.i=t)&&(t=this.i,e=null!==e&&t in e?e[t]:void 0),this.data=e}else this.data=t}function Tr(){St.call(this),this.status=1}function Cr(t){this.g=t}(t=Ke.prototype).Ha=function(t){this.J=t},t.ea=function(t,e,r,o){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.D+"; newUri="+t);e=e?e.toUpperCase():"GET",this.D=t,this.l="",this.m=0,this.A=!1,this.h=!0,this.g=this.o?this.o.g():Ft.g(),this.v=this.o?It(this.o):It(Ft),this.g.onreadystatechange=y(this.Ea,this);try{this.B=!0,this.g.open(e,String(t),!0),this.B=!1}catch(t){return void Xe(this,t)}if(t=r||"",r=new Map(this.headers),o)if(Object.getPrototypeOf(o)===Object.prototype)for(var n in o)r.set(n,o[n]);else{if("function"!=typeof o.keys||"function"!=typeof o.get)throw Error("Unknown input type for opt_headers: "+String(o));for(const t of o.keys())r.set(t,o.get(t))}o=Array.from(r.keys()).find((t=>"content-type"==t.toLowerCase())),n=h.FormData&&t instanceof h.FormData,!(0<=Array.prototype.indexOf.call(Qe,e,void 0))||o||n||r.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");for(const[t,e]of r)this.g.setRequestHeader(t,e);this.H&&(this.g.responseType=this.H),"withCredentials"in this.g&&this.g.withCredentials!==this.J&&(this.g.withCredentials=this.J);try{tr(this),this.u=!0,this.g.send(t),this.u=!1}catch(t){Xe(this,t)}},t.abort=function(t){this.g&&this.h&&(this.h=!1,this.j=!0,this.g.abort(),this.j=!1,this.m=t||7,pt(this,"complete"),pt(this,"abort"),Ze(this))},t.N=function(){this.g&&(this.h&&(this.h=!1,this.j=!0,this.g.abort(),this.j=!1),Ze(this,!0)),Ke.aa.N.call(this)},t.Ea=function(){this.s||(this.B||this.u||this.j?Je(this):this.bb())},t.bb=function(){Je(this)},t.isActive=function(){return!!this.g},t.Z=function(){try{return 2=this.R)){var t=2*this.R;this.j.info("BP detection timer enabled: "+t),this.A=Vt(y(this.ab,this),t)}},t.ab=function(){this.A&&(this.A=null,this.j.info("BP detection timeout reached."),this.j.info("Buffering proxy detected and switch to long-polling!"),this.F=!1,this.M=!0,Bt(10),ar(this),gr(this))},t.Za=function(){null!=this.C&&(this.C=null,ar(this),pr(this),Bt(19))},t.fb=function(t){t?(this.j.info("Successfully pinged google.com"),Bt(2)):(this.j.info("Failed to ping google.com"),Bt(1))},t.isActive=function(){return!!this.l&&this.l.isActive(this)},(t=kr.prototype).ua=function(){},t.ta=function(){},t.sa=function(){},t.ra=function(){},t.isActive=function(){return!0},t.Na=function(){},Er.prototype.g=function(t,e){return new Ir(t,e)},x(Ir,mt),Ir.prototype.m=function(){this.g.l=this.j,this.v&&(this.g.J=!0),this.g.connect(this.l,this.h||void 0)},Ir.prototype.close=function(){ir(this.g)},Ir.prototype.o=function(t){var e=this.g;if("string"==typeof t){var r={};r.__data__=t,t=r}else this.u&&((r={}).__data__=xt(t),t=r);e.i.push(new ie(e.Ya++,t)),3==e.G&&lr(e)},Ir.prototype.N=function(){this.g.l=null,delete this.j,ir(this.g),delete this.g,Ir.aa.N.call(this)},x(Ar,Ct),x(Tr,St),x(Cr,kr),Cr.prototype.ua=function(){pt(this.g,"a")},Cr.prototype.ta=function(t){pt(this.g,new Ar(t))},Cr.prototype.sa=function(t){pt(this.g,new Tr)},Cr.prototype.ra=function(){pt(this.g,"b")},Er.prototype.createWebChannel=Er.prototype.g,Ir.prototype.send=Ir.prototype.o,Ir.prototype.open=Ir.prototype.m,Ir.prototype.close=Ir.prototype.close,d=m.createWebChannelTransport=function(){return new Er},c=m.getStatEventTarget=function(){return Nt()},l=m.Event=Dt,s=m.Stat={mb:0,pb:1,qb:2,Jb:3,Ob:4,Lb:5,Mb:6,Kb:7,Ib:8,Nb:9,PROXY:10,NOPROXY:11,Gb:12,Cb:13,Db:14,Bb:15,Eb:16,Fb:17,ib:18,hb:19,jb:20},qt.NO_ERROR=0,qt.TIMEOUT=8,qt.HTTP_ERROR=6,a=m.ErrorCode=qt,$t.COMPLETE="complete",i=m.EventType=$t,At.EventType=Tt,Tt.OPEN="a",Tt.CLOSE="b",Tt.ERROR="c",Tt.MESSAGE="d",mt.prototype.listen=mt.prototype.K,n=m.WebChannel=At,m.FetchXmlHttpFactory=ze,Ke.prototype.listenOnce=Ke.prototype.L,Ke.prototype.getLastError=Ke.prototype.Ka,Ke.prototype.getLastErrorCode=Ke.prototype.Ba,Ke.prototype.getStatus=Ke.prototype.Z,Ke.prototype.getResponseJson=Ke.prototype.Oa,Ke.prototype.getResponseText=Ke.prototype.oa,Ke.prototype.send=Ke.prototype.ea,Ke.prototype.setWithCredentials=Ke.prototype.Ha,o=m.XhrIo=Ke}).apply(void 0!==u?u:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},4006:(t,e,r)=>{"use strict";r.d(e,{P5:()=>o.P5});var o=r(6996)},6024:(t,e,r)=>{"use strict";r(526)},223:(t,e,r)=>{"use strict";r.d(e,{Wp:()=>o.Wp});var o=r(8461);(0,o.KO)("firebase","11.0.2","app")},2405:(t,e,r)=>{"use strict";r.d(e,{BN:()=>o.BN,GG:()=>o.GG,H9:()=>o.H9,P:()=>o.P,_M:()=>o._M,aU:()=>o.aU,kd:()=>o.kd,mZ:()=>o.mZ,rJ:()=>o.rJ,x7:()=>o.x7});var o=r(5790)},602:(t,e,r)=>{"use strict";r.d(e,{P2:()=>n});var o=r(7500);function n(t,e,{blocked:r,upgrade:n,blocking:i,terminated:a}={}){const s=indexedDB.open(t,e),l=(0,o.w)(s);return n&&s.addEventListener("upgradeneeded",(t=>{n((0,o.w)(s.result),t.oldVersion,t.newVersion,(0,o.w)(s.transaction),t)})),r&&s.addEventListener("blocked",(t=>r(t.oldVersion,t.newVersion,t))),l.then((t=>{a&&t.addEventListener("close",(()=>a())),i&&t.addEventListener("versionchange",(t=>i(t.oldVersion,t.newVersion,t)))})).catch((()=>{})),l}const i=["get","getKey","getAll","getAllKeys","count"],a=["put","add","delete","clear"],s=new Map;function l(t,e){if(!(t instanceof IDBDatabase)||e in t||"string"!=typeof e)return;if(s.get(e))return s.get(e);const r=e.replace(/FromIndex$/,""),o=e!==r,n=a.includes(r);if(!(r in(o?IDBIndex:IDBObjectStore).prototype)||!n&&!i.includes(r))return;const l=async function(t,...e){const i=this.transaction(t,n?"readwrite":"readonly");let a=i.store;return o&&(a=a.index(e.shift())),(await Promise.all([a[r](...e),n&&i.done]))[0]};return s.set(e,l),l}(0,o.r)((t=>({...t,get:(e,r,o)=>l(e,r)||t.get(e,r,o),has:(e,r)=>!!l(e,r)||t.has(e,r)})))},7500:(t,e,r)=>{"use strict";r.d(e,{r:()=>m,w:()=>h});const o=(t,e)=>e.some((e=>t instanceof e));let n,i;const a=new WeakMap,s=new WeakMap,l=new WeakMap,c=new WeakMap,d=new WeakMap;let u={get(t,e,r){if(t instanceof IDBTransaction){if("done"===e)return s.get(t);if("objectStoreNames"===e)return t.objectStoreNames||l.get(t);if("store"===e)return r.objectStoreNames[1]?void 0:r.objectStore(r.objectStoreNames[0])}return h(t[e])},set:(t,e,r)=>(t[e]=r,!0),has:(t,e)=>t instanceof IDBTransaction&&("done"===e||"store"===e)||e in t};function m(t){u=t(u)}function p(t){return"function"==typeof t?(e=t)!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(i||(i=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(e)?function(...t){return e.apply(g(this),t),h(a.get(this))}:function(...t){return h(e.apply(g(this),t))}:function(t,...r){const o=e.call(g(this),t,...r);return l.set(o,t.sort?t.sort():[t]),h(o)}:(t instanceof IDBTransaction&&function(t){if(s.has(t))return;const e=new Promise(((e,r)=>{const o=()=>{t.removeEventListener("complete",n),t.removeEventListener("error",i),t.removeEventListener("abort",i)},n=()=>{e(),o()},i=()=>{r(t.error||new DOMException("AbortError","AbortError")),o()};t.addEventListener("complete",n),t.addEventListener("error",i),t.addEventListener("abort",i)}));s.set(t,e)}(t),o(t,n||(n=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction]))?new Proxy(t,u):t);var e}function h(t){if(t instanceof IDBRequest)return function(t){const e=new Promise(((e,r)=>{const o=()=>{t.removeEventListener("success",n),t.removeEventListener("error",i)},n=()=>{e(h(t.result)),o()},i=()=>{r(t.error),o()};t.addEventListener("success",n),t.addEventListener("error",i)}));return e.then((e=>{e instanceof IDBCursor&&a.set(e,t)})).catch((()=>{})),d.set(e,t),e}(t);if(c.has(t))return c.get(t);const e=p(t);return e!==t&&(c.set(t,e),d.set(e,t)),e}const g=t=>d.get(t)},1446:(t,e,r)=>{"use strict";r.a(t,(async(t,e)=>{try{var o=r(5994),n=t([o]);o=(n.then?(await n)():n)[0];const i=document.getElementById("filtroDeVoluntarioPorStatus");function a(t){var e=0,r=0,o=0,n=0;function i(i){(i=i||window.event).preventDefault(),e=o-i.clientX,r=n-i.clientY,o=i.clientX,n=i.clientY,t.style.top=t.offsetTop-r+"px",t.style.left=t.offsetLeft-e+"px"}function a(){document.onmouseup=null,document.onmousemove=null}t.onmousedown=function(t){(t=t||window.event).preventDefault(),o=t.clientX,n=t.clientY,document.onmouseup=a,document.onmousemove=i}}i.addEventListener("click",(t=>{const e=document.getElementById("corpoFiltroDeVoluntarioPorStatus");e.hasAttribute("hidden")?e.removeAttribute("hidden"):e.hidden=!0,e.style.position="absolute",e.style.left=i.offsetLeft+i.offsetWidth+"px",e.style.top=i.offsetTop+"px"})),document.getElementById("fecharFiltro").addEventListener("click",(t=>{const e=document.getElementById("corpoFiltroDeVoluntarioPorStatus");t.target!==i&&t.target!==e&&(e.hidden=!0)})),a(document.getElementById("corpoFiltroDeVoluntarioPorStatus")),document.getElementById("statusFiltrado").innerText="Status...",document.getElementById("filtrarAtivos").addEventListener("click",(t=>{document.querySelectorAll("#corpoTabelaDeListagemDeVoluntarios tr").forEach((t=>{const e=t.querySelector("#statusVoluntario").textContent;t.style.display=" Ativo "===e?"table-row":"none"})),document.getElementById("statusFiltrado").innerText="Ativos",document.getElementById("buscaVoluntarioNaTabela").addEventListener("input",(t=>{const e=t.target.value.toLowerCase();document.querySelectorAll("#corpoTabelaDeListagemDeVoluntarios tr").forEach((t=>{const r=t.querySelector(".fw-semibold").textContent.toLowerCase(),o=t.querySelector("#statusVoluntario").textContent;r.includes(e)&&" Ativo "===o?t.style.display="table-row":t.style.display="none"}))}))})),document.getElementById("filtrarIntervalo").addEventListener("click",(t=>{document.querySelectorAll("#corpoTabelaDeListagemDeVoluntarios tr").forEach((t=>{const e=t.querySelector("#statusVoluntario").textContent;t.style.display=" Intervalo "===e?"table-row":"none"})),document.getElementById("statusFiltrado").innerText="Em intervalo",document.getElementById("buscaVoluntarioNaTabela").addEventListener("input",(t=>{const e=t.target.value.toLowerCase();document.querySelectorAll("#corpoTabelaDeListagemDeVoluntarios tr").forEach((t=>{const r=t.querySelector(".fw-semibold").textContent.toLowerCase(),o=t.querySelector("#statusVoluntario").textContent;r.includes(e)&&" Intervalo "===o?t.style.display="table-row":t.style.display="none"}))}))})),document.getElementById("filtrarInativos").addEventListener("click",(t=>{document.querySelectorAll("#corpoTabelaDeListagemDeVoluntarios tr").forEach((t=>{const e=t.querySelector("#statusVoluntario").textContent;t.style.display=" Inativo "===e?"table-row":"none"})),document.getElementById("statusFiltrado").innerText="Inativos",document.getElementById("buscaVoluntarioNaTabela").addEventListener("input",(t=>{const e=t.target.value.toLowerCase();document.querySelectorAll("#corpoTabelaDeListagemDeVoluntarios tr").forEach((t=>{const r=t.querySelector(".fw-semibold").textContent.toLowerCase(),o=t.querySelector("#statusVoluntario").textContent;r.includes(e)&&" Inativo "===o?t.style.display="table-row":t.style.display="none"}))}))})),document.getElementById("filtrarTodos").addEventListener("click",(t=>{const e=document.querySelectorAll("#corpoTabelaDeListagemDeVoluntarios tr");e.forEach((t=>{t.style.display="table-row"})),document.getElementById("statusFiltrado").innerText="Todos",document.getElementById("buscaVoluntarioNaTabela").addEventListener("input",(t=>{const r=t.target.value.toLowerCase();e.forEach((t=>{t.querySelector(".fw-semibold").textContent.toLowerCase().includes(r)?t.style.display="table-row":t.style.display="none"}))}))})),e()}catch(s){e(s)}}))},5269:(t,e,r)=>{"use strict";r.d(e,{db:()=>s});var o=r(223),n=r(4006),i=(r(6024),r(2405));const a=(0,o.Wp)({apiKey:"AIzaSyCU6Yj707suJIZTd_zGyL4NkUQrd1M3mRQ",authDomain:"gerenciador-3c560.firebaseapp.com",databaseURL:"https://gerenciador-3c560-default-rtdb.firebaseio.com",projectId:"gerenciador-3c560",storageBucket:"gerenciador-3c560.appspot.com",messagingSenderId:"581307180518",appId:"1:581307180518:web:68fb7bb5dd62dce26ee227",measurementId:"G-6HMRCF5LQF"}),s=((0,n.P5)(a),(0,i.aU)(a))},7660:(t,e,r)=>{"use strict";r.a(t,(async(t,e)=>{try{var o=r(5269),n=r(2405);const t=(0,n.P)((0,n.rJ)(o.db,"recursos"));(await(0,n.GG)(t)).forEach((t=>{if("hapi"===t.id&&(document.getElementById("hapisTotal").innerHTML=t.data().qtde_hapi,document.getElementById("hapisEmUso").innerHTML=t.data().qtde_hapi_usado,document.getElementById("hapisDisponiveis").innerHTML=t.data().qtde_hapi_disponivel),"voucher"===t.id){const e=t.data().qtde_vouchers_por_tipo.qtde_voucher_almoco,r=t.data().qtde_vouchers_por_tipo.qtde_voucher_jantar,o=t.data().qtde_vouchers_por_tipo.qtde_voucher_lanche,n=t.data().qtde_vouchers_disponiveis-t.data().qtde_vouchers_usado;document.getElementById("vouchersTotal").innerHTML=t.data().qtde_vouchers,document.getElementById("vouchersAlmoco").innerHTML=e,document.getElementById("vouchersJantar").innerHTML=r,document.getElementById("vouchersKitLanche").innerHTML=o,document.getElementById("vouchersDisponiveis").innerHTML=n,document.getElementById("vouchersResgatados").innerHTML=t.data().qtde_vouchers_usado}"credencial"===t.id&&(document.getElementById("credenciaisTotal").innerHTML=t.data().qtde_credenciais,document.getElementById("credenciaisEmUso").innerHTML=t.data().qtde_credencial_usada,document.getElementById("credenciaisDisponiveis").innerHTML=t.data().qtde_credencial_disponivel)})),e()}catch(t){e(t)}}),1)},8191:(t,e,r)=>{"use strict";r.a(t,(async(t,e)=>{try{var o=r(5269),n=r(2405),i=r(7660),a=t([i]);async function s(){const t=await(0,n.x7)((0,n.H9)(o.db,"recursos","credencial"));document.getElementById("credenciaisTotal").innerHTML=t.data().qtde_credenciais,document.getElementById("credenciaisEmUso").innerHTML=t.data().qtde_credencial_usada,document.getElementById("credenciaisDisponiveis").innerHTML=t.data().qtde_credencial_disponivel}i=(a.then?(await a)():a)[0],document.getElementById("btnCadastrarCredenciais").addEventListener("click",(async()=>{if("mt-3 d-none"!==document.getElementById("cadastroUnicoDeCredenciais").className){const t=document.getElementById("qtdeCredenciaisEvento").value;if(t>0)try{await(0,n.BN)((0,n.H9)(o.db,"recursos","credencial"),{qtde_credenciais:parseInt(t),qtde_credencial_disponivel:parseInt(t),qtde_credencial_usada:0}),console.log("Credenciais cadastradas com sucesso!")}catch(t){console.error("Erro ao cadastrar credenciais: \n"+t)}}if("mt-3 d-none"!==document.getElementById("cadastroIndividualDeCredenciais").className){const t=document.getElementById("qtdeCredenciaisDia1").value,e=document.getElementById("qtdeCredenciaisDia2").value,r=document.getElementById("qtdeCredenciaisDia3").value,i=parseInt(t)+parseInt(e)+parseInt(r);if(t&&e&&r>0)try{await(0,n.BN)((0,n.H9)(o.db,"recursos","credencial"),{qtde_credenciais:i,qtde_credencial_disponivel:i,qtde_credencial_usada:0,qtde_credencial_sexta:parseInt(t),qtde_credencial_sabado:parseInt(e),qtde_credencial_domingo:parseInt(r)}),console.log("Credenciais cadastradas com sucesso!")}catch(t){console.error("Erro ao cadastrar credenciais: \n"+t)}}document.getElementById("cadastroUnicoDeCredenciais").removeAttribute("checked"),document.getElementById("cadastroUnicoDeCredenciais").classList.add("d-none"),document.getElementById("cadastroIndividualDeCredenciais").removeAttribute("checked"),document.getElementById("cadastroIndividualDeCredenciais").classList.add("d-none"),document.getElementById("qtdeCredenciaisEvento").value="",document.getElementById("qtdeCredenciaisDia1").value="",document.getElementById("qtdeCredenciaisDia2").value="",document.getElementById("qtdeCredenciaisDia3").value="",s()})),e()}catch(l){e(l)}}))},2298:(t,e,r)=>{"use strict";r.a(t,(async(t,e)=>{try{var o=r(5269),n=r(2405),i=r(7660),a=t([i]);async function s(){const t=await(0,n.x7)((0,n.H9)(o.db,"recursos","hapi"));document.getElementById("hapisTotal").innerHTML=t.data().qtde_hapi,document.getElementById("hapisEmUso").innerHTML=t.data().qtde_hapi_usado,document.getElementById("hapisDisponiveis").innerHTML=t.data().qtde_hapi_disponivel}i=(a.then?(await a)():a)[0],document.getElementById("btnCadastrarHapis").addEventListener("click",(async()=>{if("mt-3 d-none"!==document.getElementById("cadastroUnicoDeHapis").className){const t=document.getElementById("qtdeHapisEvento").value;if(t>0)try{await(0,n.BN)((0,n.H9)(o.db,"recursos","hapi"),{qtde_hapi:parseInt(t),qtde_hapi_disponivel:parseInt(t),qtde_hapi_usado:0}),console.log("Hapis cadastrados com sucesso!")}catch(t){console.error("Erro ao cadastrar hapis: \n"+t)}}if("mt-3 d-none"!==document.getElementById("cadastroIndividualDeHapis").className){const t=document.getElementById("qtdeHapisDia1").value,e=document.getElementById("qtdeHapisDia2").value,r=document.getElementById("qtdeHapisDia3").value,i=parseInt(t)+parseInt(e)+parseInt(r);if(console.log(i),t&&e&&r>0)try{await(0,n.BN)((0,n.H9)(o.db,"recursos","hapi"),{qtde_hapi:i,qtde_hapi_disponivel:i,qtde_hapi_usado:0,qtde_hapi_sexta:parseInt(t),qtde_hapi_sabado:parseInt(e),qtde_hapi_domingo:parseInt(r)}),console.log("Hapis cadastrados com sucesso!")}catch(t){console.error("Erro ao cadastrar hapis: \n"+t)}}document.getElementById("cadastroUnicoDeHapis").removeAttribute("checked"),document.getElementById("cadastroUnicoDeHapis").classList.add("d-none"),document.getElementById("cadastroIndividualDeHapis").removeAttribute("checked"),document.getElementById("cadastroIndividualDeHapis").classList.add("d-none"),document.getElementById("qtdeHapisEvento").value="",document.getElementById("qtdeHapisDia1").value="",document.getElementById("qtdeHapisDia2").value="",document.getElementById("qtdeHapisDia3").value="",s()})),e()}catch(l){e(l)}}))},888:(t,e,r)=>{"use strict";r.a(t,(async(t,e)=>{try{var o=r(5269),n=r(2405),i=r(5994),a=t([i]);i=(a.then?(await a)():a)[0];let s=new Date;document.getElementById("diaAtualEvento").innerHTML=s.getDate().toString().padStart(2,"0")+"/"+(s.getMonth()+1).toString().padStart(2,"0");const l=(0,n.P)((0,n.rJ)(o.db,"voluntario")),c=(await(0,n.GG)(l)).size;document.getElementById("totalVoluntariosFestival").innerHTML=c;let d=0,u=0,m=0;document.querySelectorAll("#corpoTabelaDeListagemDeVoluntarios tr").forEach((t=>{const e=t.querySelector("#statusVoluntario").textContent;" Ativo "===e&&d++," Intervalo "===e&&u++," Inativo "===e&&m++})),document.getElementById("qtdeVoluntariosPresentes").innerHTML=d;const p=d/c*100;document.getElementById("volPresente").style.width=p+"%",document.getElementById("volPresente").ariaValueNow=d,document.getElementById("volPresente").children[0].innerHTML=p.toFixed(2)+"%",document.getElementById("qtdeVoluntariosIntervalo").innerHTML=u;const h=u/c*100;document.getElementById("volIntervalo").style.width=h+"%",document.getElementById("volIntervalo").ariaValueNow=u,document.getElementById("volIntervalo").children[0].innerHTML=h.toFixed(2)+"%",document.getElementById("qtdeVoluntariosAusentes").innerHTML=m;const g=m/c*100;document.getElementById("volAusente").style.width=g+"%",document.getElementById("volAusente").ariaValueNow=m,document.getElementById("volAusente").children[0].innerHTML=g.toFixed(2)+"%",e()}catch(t){e(t)}}),1)},6554:(t,e,r)=>{"use strict";r.a(t,(async(t,e)=>{try{var o=r(5269),n=r(2405),i=r(7660),a=t([i]);async function s(){const t=await(0,n.x7)((0,n.H9)(o.db,"recursos","voucher"));document.getElementById("vouchersTotal").innerHTML=t.data().qtde_vouchers,document.getElementById("vouchersDisponiveis").innerHTML=t.data().qtde_vouchers_disponiveis,document.getElementById("vouchersResgatados").innerHTML=t.data().qtde_vouchers_usado;const e=t.data().qtde_vouchers_por_tipo.qtde_voucher_almoco,r=t.data().qtde_vouchers_por_tipo.qtde_voucher_jantar,i=t.data().qtde_vouchers_por_tipo.qtde_voucher_lanche;null!==e||null!==r||null!==i?document.getElementById("vouchersPorTipo").classList.remove("d-none"):document.getElementById("vouchersPorTipo").classList.add("d-none"),document.getElementById("vouchersAlmoco").innerHTML=e,document.getElementById("vouchersJantar").innerHTML=r,document.getElementById("vouchersKitLanche").innerHTML=i}i=(a.then?(await a)():a)[0],document.getElementById("btnCadastrarVouchers").addEventListener("click",(async()=>{if("mt-3 d-none"!==document.getElementById("cadastroUnicoVoucher").className){const t=document.getElementById("qtdeVouchersEvento").value;if(t>0)try{await(0,n.BN)((0,n.H9)(o.db,"recursos","voucher"),{qtde_vouchers:parseInt(t),qtde_vouchers_disponiveis:parseInt(t),qtde_vouchers_usado:0,qtde_vouchers_por_dia:{qtde_voucher_sexta:null,qtde_voucher_sabado:null,qtde_voucher_domingo:null},qtde_vouchers_por_tipo:{qtde_voucher_almoco:null,qtde_voucher_jantar:null,qtde_voucher_lanche:null}}),console.log("Vouchers cadastrados com sucesso!")}catch(t){console.error("Erro ao cadastrar vouchers: \n"+t)}}if("mt-3 d-none"!==document.getElementById("cadastroIndividualDeVouchers").className){const t=document.getElementById("qtdeVouchersDia1").value,e=document.getElementById("qtdeVouchersDia2").value,r=document.getElementById("qtdeVouchersDia3").value,i=parseInt(t)+parseInt(e)+parseInt(r);if(t&&e&&r>0)try{await(0,n.BN)((0,n.H9)(o.db,"recursos","voucher"),{qtde_vouchers:i,qtde_vouchers_disponiveis:i,qtde_vouchers_usado:0,qtde_vouchers_por_dia:{qtde_voucher_sexta:parseInt(t),qtde_voucher_sabado:parseInt(e),qtde_voucher_domingo:parseInt(r)},qtde_vouchers_por_tipo:{qtde_voucher_almoco:null,qtde_voucher_jantar:null,qtde_voucher_lanche:null}}),console.log("Vouchers cadastrados com sucesso!")}catch(t){console.error("Erro ao cadastrar vouchers: \n"+t)}}if("mt-3 d-none"!==document.getElementById("cadastroPorTipoDeVoucher").className){const t=document.getElementById("qtdeVouchersAlmoco").value,e=document.getElementById("qtdeVouchersJantar").value,r=document.getElementById("qtdeVouchersKitLanche").value,i=parseInt(t)+parseInt(e)+parseInt(r);if(t&&e&&r>0)try{await(0,n.BN)((0,n.H9)(o.db,"recursos","voucher"),{qtde_vouchers:i,qtde_vouchers_disponiveis:i,qtde_vouchers_usado:0,qtde_vouchers_por_dia:{qtde_voucher_sexta:null,qtde_voucher_sabado:null,qtde_voucher_domingo:null},qtde_vouchers_por_tipo:{qtde_voucher_almoco:parseInt(t),qtde_voucher_jantar:parseInt(e),qtde_voucher_lanche:parseInt(r)}}),console.log("Vouchers cadastrados com sucesso!")}catch(t){console.error("Erro ao cadastrar vouchers: \n"+t)}}document.getElementById("cadastroUnicoVoucher").removeAttribute("checked"),document.getElementById("cadastroUnicoDeVouchers").classList.add("d-none"),document.getElementById("cadastroIndividualVoucher").removeAttribute("checked"),document.getElementById("cadastroIndividualDeVouchers").classList.add("d-none"),document.getElementById("cadastroTipoVoucher").removeAttribute("checked"),document.getElementById("cadastroPorTipoDeVoucher").classList.add("d-none"),document.getElementById("qtdeVouchersEvento").value="",document.getElementById("qtdeVouchersDia1").value="",document.getElementById("qtdeVouchersDia2").value="",document.getElementById("qtdeVouchersDia3").value="",document.getElementById("qtdeVouchersAlmoco").value="",document.getElementById("qtdeVouchersJantar").value="",document.getElementById("qtdeVouchersKitLanche").value="",s()})),e()}catch(l){e(l)}}))},7815:(t,e,r)=>{"use strict";r.a(t,(async(t,o)=>{try{r.d(e,{R:()=>h});var n=r(5269),i=r(2405),a=r(5994),s=r(4344),l=r(6738),c=r(6480),d=t([a,s,l,c]);[a,s,l,c]=d.then?(await d)():d;const u=document.getElementById("cadastraCheckIn"),m=document.getElementById("horarioCheckIn"),p=document.getElementById("codigoCredencial");function h(t){const e=document.getElementById(t).querySelector("#statusVoluntario");e.textContent=" Ativo ",e.classList.add("text-bg-success"),e.classList.remove("text-bg-danger"),e.classList.remove("text-bg-warning")}document.getElementById("corpoTabelaDeListagemDeVoluntarios").addEventListener("click",(async t=>{const e=t.target.closest("tr").id,r=(0,i.H9)(n.db,"voluntario",e),o=(0,i.H9)(r,"festival",a.N),d=(await(0,i.x7)(o)).data().expediente.horarios_sexta.check_in;u.addEventListener("click",(async()=>{const t=new Date;(p.readOnly=u.classList.contains("btn-danger")&&null===d)&&await(0,i.mZ)(o,{"expediente.horarios_sexta.check_in":t}).then((()=>{console.log("Check-in realizado com sucesso"),document.getElementById("corpoTabelaDeListagemDeVoluntarios").querySelector("#"+e).querySelector("#check-in").textContent=new Date(t).toLocaleTimeString("pt-BR",{hour12:!1}),h(e),m.textContent=(new Date).toLocaleTimeString("pt-BR",{hour12:!1}),u.classList.remove("btn-danger"),u.classList.add("btn-outline-danger"),u.disabled=!0,(0,s.i_)(),(0,s.vG)(),(0,l.H)(),(0,c.X)(),(0,s.kG)()})).catch((t=>{console.error("Erro ao realizar check-in: ",t)}))}))})),o()}catch(g){o(g)}}))},3262:(t,e,r)=>{"use strict";r.a(t,(async(t,e)=>{try{var o=r(5269),n=r(2405),i=r(5994),a=r(4344),s=r(6738),l=r(6480),c=t([i,a,s,l]);[i,a,s,l]=c.then?(await c)():c;const d=document.getElementById("cadastraCheckOut"),u=document.getElementById("horarioCheckOut"),m=(document.getElementById("cadastraCheckIn"),document.getElementById("codigoCredencial"));function p(t){const e=document.getElementById(t).querySelector("#statusVoluntario");e.textContent=" Inativo ",e.classList.add("text-bg-danger"),e.classList.remove("text-bg-warning"),e.classList.remove("text-bg-success")}function h(){u.textContent=(new Date).toLocaleTimeString("pt-BR",{hour12:!1}),d.classList.remove("btn-danger"),d.classList.add("btn-outline-danger"),d.disabled=!0,(0,a.Dl)(),(0,a.kG)(),(0,s.Z)(),(0,l.X)()}document.getElementById("corpoTabelaDeListagemDeVoluntarios").addEventListener("click",(async t=>{const e=t.target.closest("tr").id,r=(0,n.H9)(o.db,"voluntario",e),a=(0,n.H9)(r,"festival",i.N),s=(await(0,n.x7)(a)).data().expediente.horarios_sexta.check_out;null!==s&&h(),d.addEventListener("click",(async()=>{const t=new Date;(m.readOnly=d.classList.contains("btn-danger")&&null===s)&&await(0,n.mZ)(a,{"expediente.horarios_sexta.check_out":t}).then((()=>{console.log("Check-out realizado com sucesso"),document.getElementById("corpoTabelaDeListagemDeVoluntarios").querySelector("#"+e).querySelector("#checkout").textContent=new Date(t).toLocaleTimeString("pt-BR",{hour12:!1}),p(e),h()})).catch((t=>{console.error("Erro ao realizar check-out: ",t)}))}))})),e()}catch(g){e(g)}}))},7636:(t,e,r)=>{"use strict";r.a(t,(async(t,e)=>{try{var o=r(5269),n=r(2405),i=r(5994),a=r(6480),s=r(4344),l=r(7815),c=t([i,a,s,l]);[i,a,s,l]=c.then?(await c)():c;const d=document.getElementById("corpoTabelaDeListagemDeVoluntarios"),u=document.getElementById("cadastraInicioIntervalo"),m=document.getElementById("cadastraTerminoIntervalo"),p=document.getElementById("horariosDeIntervalo");async function h(t,e,r){let o=Object.keys(r).pop(),i=o.charAt(o.length-1),l=String.fromCharCode(i.charCodeAt(0)+1),c=`intervalo_${l}`;"1"!==i?await(0,n.mZ)(e,{"expediente.horarios_sexta.intervalo":{...r,[c]:{inicio_intervalo:new Date,termino_intervalo:null,resgate_voucher:null,devolucao_hapi:null}}}).then((()=>{console.log("Início do intervalo "+l+" cadastrado com sucesso"),b(null,null),(0,s.Dl)(),(0,s.ct)(),(0,a.f)()})).catch((t=>{console.error("Erro ao cadastrar início de intervalo: ",t)})):await(0,n.BN)(e,{expediente:{horarios_sexta:{intervalo:{[o]:{inicio_intervalo:new Date}}}}},{merge:!0}).then((()=>{console.log("Início do intervalo "+o+" cadastrado com sucesso"),f(t),b(null,null),(0,s.Dl)(),(0,s.ct)(),(0,a.f)()})).catch((t=>{console.error("Erro ao cadastrar início de intervalo: ",t)}))}function g(t,e,r){let o=Object.keys(r).pop();o.charAt(o.length-1),(0,n.BN)(e,{expediente:{horarios_sexta:{intervalo:{[o]:{termino_intervalo:new Date}}}}},{merge:!0}).then((()=>{console.log("Término do intervalo "+o+" cadastrado com sucesso"),(0,l.R)(t),b(null,null),(0,s.vG)(),(0,s.kG)(),(0,a.X)()})).catch((t=>{console.error("Erro ao cadastrar término de intervalo: ",t)}))}function b(t,e){let r,o=null,n=document.documentElement.getAttribute("data-bs-theme");return null!==t&&null===e?(r=new Date(t.toDate()).toLocaleTimeString("pt-BR",{hour12:!1}),p.innerHTML=`\n
\n \n ${r} \n \n
\n `,void("dark"===n&&document.querySelectorAll(".text-dark").forEach((t=>{t.classList.replace("text-dark","text-light")})))):null!==t&&null!==e?(r=new Date(t.toDate()).toLocaleTimeString("pt-BR",{hour12:!1}),o=new Date(e.toDate()).toLocaleTimeString("pt-BR",{hour12:!1}),p.innerHTML=`\n
\n \n ${r} ${o} \n \n
\n `,void("dark"===n&&document.querySelectorAll(".text-dark").forEach((t=>{t.classList.replace("text-dark","text-light")})))):void 0}function f(t){const e=document.getElementById(t).querySelector("#statusVoluntario");e.textContent=" Intervalo ",e.classList.add("text-bg-warning"),e.classList.remove("text-bg-success")}d.addEventListener("click",(async t=>{p.textContent="";const e=t.target.closest("tr").id,r=(0,n.H9)(o.db,"voluntario",e),s=(0,n.H9)(r,"festival",i.N),l=(await(0,n.x7)(s)).data().expediente.horarios_sexta.intervalo,c=l.intervalo_1.inicio_intervalo,d=l.intervalo_1.termino_intervalo;null===c&&null===d&&((0,a.X)(),u.addEventListener("click",(async()=>{h(e,s,l)}))),null!==c&&null===d&&(b(c,d),(0,a.f)()),null!==c&&null!==d&&(b(c,d),(0,a.X)()),m.addEventListener("click",(async()=>{g(e,s,l)}))})),e()}catch(v){e(v)}}))},630:(t,e,r)=>{"use strict";r.a(t,(async(t,e)=>{try{var o=r(5269),n=r(2405),i=r(5994),a=r(4344),s=t([i,a]);[i,a]=s.then?(await s)():s;const l="2024",c=document.getElementById("codigoCredencial"),d=document.getElementById("cadastraCodigoCredencial");function u(t){c.classList.contains("is-invalid")&&c.classList.remove("is-invalid"),c.value=t,c.readOnly=!0,d.disabled=!0}function m(){document.getElementById("cadastraCheckIn").removeAttribute("disabled"),document.getElementById("cadastraCheckOut").removeAttribute("disabled"),document.getElementById("cadastraInicioIntervalo").removeAttribute("disabled"),document.getElementById("cadastraTerminoIntervalo").removeAttribute("disabled")}document.getElementById("corpoTabelaDeListagemDeVoluntarios").addEventListener("click",(async t=>{const e=t.target.closest("tr").id,r=(0,n.H9)(o.db,"voluntario",e),i=(0,n.H9)(r,"festival",l),a=(await(0,n.x7)(i)).data().codigo_credencial_voluntario;if(null!==a)return u(a),void m();c.value="",c.readOnly=!1,d.disabled=!1,c.focus(),document.getElementById("cadastraCheckIn").setAttribute("disabled",!0),document.getElementById("cadastraCheckOut").setAttribute("disabled",!0),document.getElementById("cadastraInicioIntervalo").setAttribute("disabled",!0),document.getElementById("cadastraTerminoIntervalo").setAttribute("disabled",!0),document.getElementById("tamanhoHapi").setAttribute("disabled",!0),document.getElementById("cadastraTamanhoHapi").setAttribute("disabled",!0),document.getElementById("tipoVoucher").setAttribute("disabled",!0),document.getElementById("cadastraResgateVoucher").setAttribute("disabled",!0)})),c.addEventListener("input",(()=>{null===c.value.trim()||""===c.value.trim()||c.value.includes(" ")||"0"===c.value.trim()?c.classList.add("is-invalid"):c.value.trim()!=="0".repeat(c.value.length)?c.value.trim().match(/[a-zA-Z]/)?c.classList.add("is-invalid"):c.classList.remove("is-invalid"):c.classList.add("is-invalid")})),d.addEventListener("click",(async()=>{if(c.classList.contains("is-invalid"))return void c.focus();const t=document.getElementById("gestaoRecusosVoluntarioNoFestival").textContent,e=(0,n.H9)(o.db,"voluntario",t),r=(0,n.H9)(e,"festival",l);c.value.length<4&&(c.value="0".repeat(4-c.value.length)+c.value),await(0,n.mZ)(r,{codigo_credencial_voluntario:c.value}).then((()=>{console.log("Código de credencial cadastrado com sucesso!"),document.getElementById(t).querySelector("#credencial").textContent=c.value,u(c.value),m()})).catch((t=>{console.error("Erro ao cadastrar o código de credencial: ",t)}))})),e()}catch(p){e(p)}}))},6738:(t,e,r)=>{"use strict";r.a(t,(async(t,o)=>{try{r.d(e,{H:()=>m,Z:()=>u});var n=r(5269),i=r(2405),a=r(5994),s=t([a]);a=(s.then?(await s)():s)[0];const l=document.getElementById("cadastraTamanhoHapi"),c=document.getElementById("tamanhoHapi"),d=document.getElementById("informacoesResgateHapi");function u(){c.value=c.value,c.disabled=!0,l.disabled=!0,l.style.cursor="not-allowed"}function m(){c.disabled=!1,l.disabled=!1,l.style.cursor="pointer"}document.getElementById("corpoTabelaDeListagemDeVoluntarios").addEventListener("click",(async t=>{d.textContent="",m(),c.classList.remove("is-invalid");const e=t.target.closest("tr").id,r=(0,i.H9)(n.db,"voluntario",e),o=(0,i.H9)(r,"festival",a.N),s=await(0,i.x7)(o),p=s.data().tamanho_hapi_voluntario,h=s.data().hora_resgate_hapi?s.data().hora_resgate_hapi:null;null!==h&&(d.innerHTML=`Resgatado às ${h.toDate().toLocaleTimeString("pt-BR",{hour12:!1})}`,u()),null===p?(c.value=c.options[0].value,l.addEventListener("click",(async t=>{const e=c.value;e!==c.options[0].value||"Tamanho do hapi resgatado"!==e?await(0,i.mZ)(o,{hora_resgate_hapi:new Date,tamanho_hapi_voluntario:e}).then((()=>{console.log("Hapi associado com sucesso."),d.innerHTML=`Resgatado às ${(new Date).toLocaleTimeString()}`,u()})).catch((t=>{console.error("Erro ao associar o tamanho do hapi ao voluntário.\n",t),m()})):(c.classList.add("is-invalid"),c.focus())}))):c.value=p})),o()}catch(p){o(p)}}))},6480:(t,e,r)=>{"use strict";r.a(t,(async(t,o)=>{try{r.d(e,{X:()=>m,f:()=>p});var n=r(5269),i=r(2405),a=r(5994),s=r(4344),l=t([a,s]);[a,s]=l.then?(await l)():l;const c=document.getElementById("cadastraResgateVoucher"),d=document.getElementById("tipoVoucher"),u=document.getElementById("informacoesResgateVoucher");function m(){d.disabled=!0,d.classList.remove("is-invalid"),c.disabled=!0,c.style.cursor="not-allowed",s.T5.classList.contains("btn-outline-danger")&&(d.value=d.options[0].value)}function p(){d.disabled=!1,c.disabled=!1,c.style.cursor="pointer"}function h(t){const e=document.createElement("small");e.className="opacity-50 m-0 px-4",e.textContent=`Voucher resgatado: ${t}`,u.firstChild&&u.removeChild(u.firstChild),u.appendChild(e)}function g(){u.textContent=""}document.getElementById("corpoTabelaDeListagemDeVoluntarios").addEventListener("click",(async t=>{g();const e=t.target.closest("tr").id,r=(0,i.H9)(n.db,"voluntario",e),o=(0,i.H9)(r,"festival",a.N),s=(await(0,i.x7)(o)).data().expediente.horarios_sexta.intervalo;let l=Object.keys(s).pop();const u=s.intervalo_1.resgate_voucher;u?h(u):g(),c.addEventListener("click",(async t=>{let e=d.value;await(0,i.BN)(o,{expediente:{horarios_sexta:{intervalo:{[l]:{resgate_voucher:e}}}}},{merge:!0}).then((()=>{console.log("Voucher resgatado com sucesso"),h(e),m()})).catch((t=>{console.error("Erro ao resgatar voucher: ",t)}))}))})),o()}catch(b){o(b)}}))},4344:(t,e,r)=>{"use strict";r.a(t,(async(t,o)=>{try{r.d(e,{Dl:()=>w,T5:()=>g,ct:()=>k,i_:()=>y,kG:()=>_,vG:()=>x});var n=r(5269),i=r(2405),a=r(5994),s=t([a]);a=(s.then?(await s)():s)[0];const l="2024",c=document.getElementById("codigoCredencial"),d=document.getElementById("cadastraCheckIn"),u=document.getElementById("cadastraCheckOut"),m=document.getElementById("horarioCheckIn"),p=document.getElementById("horarioCheckOut"),h=document.getElementById("cadastraInicioIntervalo"),g=document.getElementById("cadastraTerminoIntervalo"),b=document.getElementById("horariosDeIntervalo");function f(t){m.textContent=new Date(t.toDate()).toLocaleTimeString("pt-BR",{hour12:!1}),d.disabled=!0,d.classList.remove("btn-danger"),d.classList.add("btn-outline-danger")}function v(t){const e=t?new Date(t.toDate()).toLocaleTimeString("pt-BR",{hour12:!1}):"Checkout";p.textContent=e,u.disabled=!0,u.classList.remove("btn-danger"),u.classList.add("btn-outline-danger")}function y(){p.textContent="Checkout",u.disabled=!1,u.style.cursor="pointer",u.classList.remove("btn-outline-danger"),u.classList.add("btn-danger")}function w(){h.disabled=!0,h.classList.remove("btn-danger"),h.classList.add("btn-outline-danger")}function x(){h.disabled=!1,h.classList.remove("btn-outline-danger"),h.classList.add("btn-danger")}function _(){g.disabled=!0,g.classList.remove("btn-danger"),g.classList.add("btn-outline-danger")}function k(){g.disabled=!1,g.classList.remove("btn-outline-danger"),g.classList.add("btn-danger")}document.getElementById("corpoTabelaDeListagemDeVoluntarios").addEventListener("click",(async t=>{const e=t.target.closest("tr").id;b.innerHTML="",m.textContent="Check-In",d.classList.remove("btn-outline-danger"),d.classList.add("btn-danger"),p.textContent="Checkout",b.innerHTML="";const r=(0,i.H9)(n.db,"voluntario",e),o=(0,i.H9)(r,"festival",l),a=await(0,i.x7)(o),s=a.data().expediente.horarios_sexta.check_in,u=a.data().expediente.horarios_sexta.check_out,h=a.data().expediente.horarios_sexta.intervalo,g=h.intervalo_1.inicio_intervalo,E=h.intervalo_1.termino_intervalo;return null===s&&null===u?(null===c&&f(null),v(null),w(),void _()):null!==s&&null===u?(f(s),y(),null===g&&null===E?(x(),void _()):null!==g&&null===E?(w(),void k()):null!==g&&null!==E?(x(),void _()):void 0):null!==s&&null!==u?(f(s),v(u),w(),void _()):(m.textContent="Check-In",d.disabled=!1,d.classList.remove("btn-outline-danger"),void d.classList.add("btn-danger"))})),o()}catch(E){o(E)}}))},5994:(t,e,r)=>{"use strict";r.a(t,(async(t,o)=>{try{r.d(e,{N:()=>t});var n=r(5269),i=r(2405);const t="2024",a=(0,i.P)((0,i.rJ)(n.db,"voluntario"),(0,i._M)("nome_completo_voluntario","!=",null)),s=await(0,i.GG)(a);s.docChanges().forEach((async e=>{if("added"===e.type||"modified"===e.type){const r=e.doc,o=r.data(),n=o.nome_completo_voluntario,a=o.contato.email_voluntario,s=o.contato.celular_voluntario.replace("+55 ",""),l=(0,i.H9)(r.ref,"festival",t),c=(await(0,i.x7)(l)).data(),d=c.codigo_credencial_voluntario?c.codigo_credencial_voluntario:" - ",u=c.expediente.horarios_sexta.check_in?new Date(1e3*c.expediente.horarios_sexta.check_in).toLocaleTimeString("pt-BR"):" - ",m=c.expediente.horarios_sexta.intervalo.intervalo_1.inicio_intervalo?new Date(1e3*c.expediente.horarios_sexta.intervalo.intervalo_1.inicio_intervalo).toLocaleTimeString("pt-BR"):" - ",p=c.expediente.horarios_sexta.intervalo.intervalo_1.termino_intervalo?new Date(1e3*c.expediente.horarios_sexta.intervalo.intervalo_1.termino_intervalo).toLocaleTimeString("pt-BR"):" - ",h=c.expediente.horarios_sexta.check_out?new Date(1e3*c.expediente.horarios_sexta.check_out).toLocaleTimeString("pt-BR"):" - ";!function(t,e,r,o,n,i,a,s){const l=document.createElement("tr");l.id=t.id;const c=document.createElement("th");c.scope="row",c.classList.add("d-none","d-lg-table-cell");const d=document.createElement("div");d.classList.add("form-check");const u=document.createElement("input");u.classList.add("form-check-input"),u.type="checkbox",u.value=t.id,u.id="selecionaVoluntario",d.appendChild(u),c.appendChild(d),l.appendChild(c);const m=document.createElement("td"),p=document.createElement("div");p.classList.add("d-flex","align-items-center");const h=document.createElement("div");h.classList.add("ms");const g=document.createElement("p");g.classList.add("fw-semibold","mb-0"),g.textContent=e;const b=document.createElement("p");b.classList.add("text-muted","mb-0","d-none","d-md-table-cell"),b.textContent=r,b.style.overflowWrap="anywhere",h.appendChild(g),h.appendChild(b),p.appendChild(h),m.appendChild(p),l.appendChild(m);const f=document.createElement("td"),v=document.createElement("p");v.classList.add("fw-normal","mb-1"),v.textContent=o,f.appendChild(v),l.appendChild(f);const y=document.createElement("td");y.innerHTML=n,l.appendChild(y);const w=document.createElement("td"),x=document.createElement("p");x.classList.add("text-center"),x.id="credencial",x.textContent=i,w.appendChild(x),l.appendChild(w);const _=document.createElement("td");_.classList.add("d-none","d-md-table-cell");const k=document.createElement("p");k.classList.add("text-center"),k.id="check-in",k.textContent=a,_.appendChild(k),l.appendChild(_);const E=document.createElement("td");E.classList.add("d-none","d-md-table-cell");const I=document.createElement("p");I.classList.add("text-center"),I.id="checkout",I.textContent=s,E.appendChild(I),l.appendChild(E);const A=document.createElement("td"),T=document.createElement("div");T.classList.add("btn-group","btn-group-sm","gap-1"),T.role="group";const C=document.createElement("button");C.type="button",C.classList.add("btn","btn-outline-danger"),C.id="GerenciarRecursosDoVoluntarioNoFestival",C.dataset.bsToggle="offcanvas",C.dataset.bsTarget="#offcanvasRight",C.ariaControls="offcanvasRight",C.innerHTML='\n ',T.appendChild(C);const S=document.createElement("button");S.type="button",S.classList.add("btn","btn-outline-danger"),S.dataset.bsToggle="modal",S.dataset.bsTarget="#PerfilVoluntarioModal",S.id="AcessarPerfilVoluntario",S.innerHTML='',T.appendChild(S);const D=document.createElement("button");D.type="button",D.classList.add("btn","btn-outline-danger","d-none","d-lg-table-cell"),D.id="RemoverVoluntario",D.dataset.bsToggle="modal",D.dataset.bsTarget="#RemoverVoluntarioModal",D.innerHTML='',T.appendChild(D),A.appendChild(T),l.appendChild(A),document.getElementById("corpoTabelaDeListagemDeVoluntarios").appendChild(l)}(r,n,a,s," - "!=u&&" - "==h&&" - "==m&&" - "==p?" Ativo ":" - "!=u&&" - "==h&&" - "!=m&&" - "==p?" Intervalo ":" - "!=u&&" - "==h&&" - "!=m&&" - "!=p?" Ativo ":" Inativo ",d,u,h)}})),document.getElementById("buscaVoluntarioNaTabela").addEventListener("input",(t=>{const e=t.target.value.toLowerCase();document.querySelectorAll("#corpoTabelaDeListagemDeVoluntarios tr").forEach((t=>{t.querySelector(".fw-semibold").textContent.toLowerCase().includes(e)?t.style.display="table-row":t.style.display="none"}))}));const l=document.getElementById("corpoTabelaDeListagemDeVoluntarios");l.addEventListener("click",(t=>{const e=t.target.closest("tr").id,r=s.docs.find((t=>t.id===e)),o=r.id,n=r.data().nome_completo_voluntario;document.getElementById("identificaRegistroVoluntario").innerText=`${o}`,document.getElementById("nomeVoluntarioCandidatoRemocao").innerText=`${n}`,document.getElementById("gestaoRecusosVoluntarioNoFestival").innerText=`${o}`,document.getElementById("nomeVoluntarioGerenciado").innerText=`${n}`})),document.getElementById("selecionaVoluntarioNaTabela").addEventListener("click",(t=>{const e=document.querySelectorAll("#selecionaVoluntario");if(t.target.checked)try{e.forEach((t=>{t.checked=!0}))}catch(t){console.erro("Não foi possível selecionar todos os voluntários da lista",t)}if(!t.target.checked)try{e.forEach((t=>{t.checked=!1}))}catch(t){console.erro("Não foi possível deselecionar todos os voluntários da lista",t)}})),l.click(),document.getElementById("buscaVoluntarioNaTabela").classList.add("border-0","border-bottom","border-danger","border-opacity-75"),o()}catch(t){o(t)}}),1)},6003:(t,e,r)=>{"use strict";r.a(t,(async(t,e)=>{try{var o=r(5269),n=r(2405),i=r(5994),a=t([i]);i=(a.then?(await a)():a)[0],document.getElementById("corpoTabelaDeListagemDeVoluntarios").addEventListener("click",(()=>{document.querySelectorAll("tr").forEach((t=>{t.addEventListener("click",(async()=>{const e=t.id,r=(0,n.H9)(o.db,"voluntario",e),i=await(0,n.x7)(r),a=(0,n.H9)(r,"festival","2024"),s=await(0,n.x7)(a);if(c(),i.exists()){const t=s.data().codigo_credencial_voluntario,e=new Date(s.data().data_inscricao.toDate()).toLocaleDateString("pt-BR");if(document.getElementById("docVoluntarioPerfil").innerHTML=`ID: ${t} | Voluntário desde ${e}`,null===t&&(document.getElementById("docVoluntarioPerfil").innerHTML=`Voluntário desde ${e}`),document.getElementById("nomeCompletoDoVoluntario").value=i.data().nome_completo_voluntario,document.getElementById("cpfDoVoluntario").value=i.data().cpf_voluntario,document.getElementById("emailDoVoluntario").value=i.data().contato.email_voluntario,document.getElementById("telefoneDoVoluntario").value=i.data().contato.celular_voluntario,"Masculino"===i.data().dados_pessoais.sexo_voluntario?document.getElementById("sexoMasculino").checked=!0:document.getElementById("sexoFeminino").checked=!0,document.getElementById("faixaEtariaDoVoluntario").value=i.data().dados_pessoais.faixa_etaria,document.getElementById("nomeContatoDoVoluntario").value=i.data().contato.emergencia.nome_contato_emergencia,document.getElementById("telefoneContatoDoVoluntario").value=i.data().contato.emergencia.telefone_contato_emergencia,document.getElementById("cepDoVoluntario").setAttribute("readonly",!0),document.getElementById("cepDoVoluntario").value=i.data().endereco.cep,document.getElementById("enderecoDoVoluntario").value=i.data().endereco.logradouro,document.getElementById("bairroDoVoluntario").value=i.data().endereco.bairro,document.getElementById("cidadeDoVoluntario").value=i.data().endereco.cidade,document.getElementById("estadoDoVoluntario").value=i.data().endereco.estado,document.getElementById("ascendente").setAttribute("hidden",!0),!0===i.data().dados_pessoais.descendencia.possui_descendencia_japonesa){document.getElementById("descendenteSim").checked=!0,document.getElementById("ascendente").removeAttribute("hidden");const t=i.data().dados_pessoais.descendencia.ascendencia_voluntario.match(/\(([^)]+)\)/),e=t?t[1]:"";document.getElementById("ascendenciaDoVoluntarioDescendente").innerText+=e}else document.getElementById("descendenteNao").checked=!0,document.getElementById("ascendente").setAttribute("hidden",!0);document.getElementById("idiomaVoluntarioIngles").removeAttribute("checked",!0),!0===i.data().carreira.escolaridade.conhecimento_linguas.idioma_ingles?document.getElementById("idiomaVoluntarioIngles").checked=!0:document.getElementById("idiomaVoluntarioIngles").removeAttribute("checked"),document.getElementById("idiomaVoluntarioJapones").removeAttribute("checked",!0),!0===i.data().carreira.escolaridade.conhecimento_linguas.idioma_japones?document.getElementById("idiomaVoluntarioJapones").checked=!0:document.getElementById("idiomaVoluntarioJapones").removeAttribute("checked"),document.getElementById("idiomaVoluntarioEspanhol").removeAttribute("checked",!0),!0===i.data().carreira.escolaridade.conhecimento_linguas.idioma_espanhol?document.getElementById("idiomaVoluntarioEspanhol").checked=!0:document.getElementById("idiomaVoluntarioEspanhol").removeAttribute("checked"),!0===i.data().carreira.escolaridade.conhecimento_linguas.linguagem_de_sinais_brasileira?document.getElementById("conhecimentoLibrasSim").checked=!0:document.getElementById("conhecimentoLibrasNao").checked=!0,!0===i.data().treinamento_primeiros_socorros?document.getElementById("treinamentoSim").checked=!0:document.getElementById("treinamentoNao").checked=!0,document.getElementById("nivelEscolaridadeVoluntario").value=i.data().carreira.escolaridade.nivel_escolaridade,!0===i.data().carreira.profissao.trabalha_atualmente?document.getElementById("trabalhaSim").checked=!0:document.getElementById("trabalhaNao").checked=!0}else console.log("Não foi possível encontrar o perfil deste voluntário.")}))}))}));const s=document.getElementById("btnFecharPerfilHeader"),l=document.getElementById("btnFecharPerfilFooter");function c(){document.getElementById("nomeCompletoDoVoluntario").value="",document.getElementById("cpfDoVoluntario").value="",document.getElementById("emailDoVoluntario").value="",document.getElementById("telefoneDoVoluntario").value="",document.getElementById("sexoMasculino").checked=!1,document.getElementById("sexoFeminino").checked=!1,document.getElementById("faixaEtariaDoVoluntario").value="",document.getElementById("nomeContatoDoVoluntario").value="",document.getElementById("telefoneContatoDoVoluntario").value="",document.getElementById("cepDoVoluntario").value="",document.getElementById("enderecoDoVoluntario").value="",document.getElementById("bairroDoVoluntario").value="",document.getElementById("cidadeDoVoluntario").value="",document.getElementById("estadoDoVoluntario").value="",document.getElementById("descendenteSim").checked=!1,document.getElementById("descendenteNao").checked=!1,document.getElementById("ascendenciaDoVoluntarioDescendente").innerText="",document.getElementById("idiomaVoluntarioIngles").checked=!1,document.getElementById("idiomaVoluntarioJapones").checked=!1,document.getElementById("idiomaVoluntarioEspanhol").checked=!1,document.getElementById("conhecimentoLibrasSim").checked=!1,document.getElementById("conhecimentoLibrasNao").checked=!1,document.getElementById("treinamentoSim").checked=!1,document.getElementById("treinamentoNao").checked=!1,document.getElementById("nivelEscolaridadeVoluntario").value="",document.getElementById("trabalhaSim").checked=!1,document.getElementById("trabalhaNao").checked=!1}(s.click||l.click)&&c(),e()}catch(d){e(d)}}))},1093:(t,e,r)=>{"use strict";r.a(t,(async(t,e)=>{try{var o=r(5269),n=r(2405),i=r(5994),a=t([i]);async function s(t){const e=document.getElementById("qtdeVoluntariosPresentes");" Ativo "===t&&(e.textContent=parseInt(e.textContent)-1);const r=document.getElementById("qtdeVoluntariosIntervalo");" Intervalo "===t&&(r.textContent=parseInt(r.textContent)-1);const o=document.getElementById("qtdeVoluntariosAusentes");" Inativo "===t&&(o.textContent=parseInt(o.textContent)-1)}i=(a.then?(await a)():a)[0],document.getElementById("btnRemoverVoluntario").addEventListener("click",(async()=>{const t=document.getElementById("identificaRegistroVoluntario").textContent,e=document.getElementById("statusVoluntario").textContent;try{await(0,n.kd)((0,n.H9)(o.db,"voluntario",t)).then((()=>{console.log("Voluntário removido com sucesso!"),s(e)}));const r=await(0,n.GG)((0,n.P)((0,n.rJ)(o.db,"voluntario")));document.getElementById("totalVoluntariosFestival").innerHTML=r.size;const i=document.getElementById(t);i&&i.remove()}catch(t){console.error("Erro ao remover voluntário: ",t)}})),e()}catch(l){e(l)}}))},8330:t=>{"use strict";t.exports={rE:"1.0.15"}}},i={};function a(t){var e=i[t];if(void 0!==e)return e.exports;var r=i[t]={id:t,exports:{}};return n[t](r,r.exports,a),r.exports}a.m=n,t="function"==typeof Symbol?Symbol("webpack queues"):"__webpack_queues__",e="function"==typeof Symbol?Symbol("webpack exports"):"__webpack_exports__",r="function"==typeof Symbol?Symbol("webpack error"):"__webpack_error__",o=t=>{t&&t.d<1&&(t.d=1,t.forEach((t=>t.r--)),t.forEach((t=>t.r--?t.r++:t())))},a.a=(n,i,a)=>{var s;a&&((s=[]).d=-1);var l,c,d,u=new Set,m=n.exports,p=new Promise(((t,e)=>{d=e,c=t}));p[e]=m,p[t]=t=>(s&&t(s),u.forEach(t),p.catch((t=>{}))),n.exports=p,i((n=>{var i;l=(n=>n.map((n=>{if(null!==n&&"object"==typeof n){if(n[t])return n;if(n.then){var i=[];i.d=0,n.then((t=>{a[e]=t,o(i)}),(t=>{a[r]=t,o(i)}));var a={};return a[t]=t=>t(i),a}}var s={};return s[t]=t=>{},s[e]=n,s})))(n);var a=()=>l.map((t=>{if(t[r])throw t[r];return t[e]})),c=new Promise((e=>{(i=()=>e(a)).r=0;var r=t=>t!==s&&!u.has(t)&&(u.add(t),t&&!t.d&&(i.r++,t.push(i)));l.map((e=>e[t](r)))}));return i.r?c:a()}),(t=>(t?d(p[r]=t):c(m),o(s)))),s&&s.d<0&&(s.d=0)},a.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},a.d=(t,e)=>{for(var r in e)a.o(e,r)&&!a.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),a.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.b=document.baseURI||self.location.href,a.nc=void 0,a(7157)})(); \ No newline at end of file