@confidencesystemsinc/sdk 1.3.8 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/playbook/confidence-playbook.d.ts +1 -1
- package/dist/index.cjs +136 -31
- package/dist/index.d.ts +0 -2
- package/dist/index.js +16403 -6536
- package/dist/theme.css +1 -1
- package/package.json +10 -11
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,131 @@
|
|
|
1
|
-
"use strict";var da=e=>{throw TypeError(e)};var uo=(e,t,n)=>t.has(e)||da("Cannot "+n);var m=(e,t,n)=>(uo(e,t,"read from private field"),n?n.call(e):t.get(e)),U=(e,t,n)=>t.has(e)?da("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),N=(e,t,n,r)=>(uo(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),J=(e,t,n)=>(uo(e,t,"access private method"),n);var pr=(e,t,n,r)=>({set _(o){N(e,t,o,n)},get _(){return m(e,t,r)}});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("react/jsx-runtime"),d=require("react"),Ji=require("react-dom");function Zi(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const I=Zi(d),$u=Zi(Ji);var An=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Xt=typeof window>"u"||"Deno"in globalThis;function Te(){}function Fu(e,t){return typeof e=="function"?e(t):e}function zo(e){return typeof e=="number"&&e>=0&&e!==1/0}function el(e,t){return Math.max(e+(t||0)-Date.now(),0)}function un(e,t){return typeof e=="function"?e(t):e}function je(e,t){return typeof e=="function"?e(t):e}function ha(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:s,queryKey:a,stale:i}=e;if(a){if(r){if(t.queryHash!==Ls(a,t.options))return!1}else if(!Kn(t.queryKey,a))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof i=="boolean"&&t.isStale()!==i||o&&o!==t.state.fetchStatus||s&&!s(t))}function pa(e,t){const{exact:n,status:r,predicate:o,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(Jt(t.options.mutationKey)!==Jt(s))return!1}else if(!Kn(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function Ls(e,t){return((t==null?void 0:t.queryKeyHashFn)||Jt)(e)}function Jt(e){return JSON.stringify(e,(t,n)=>Uo(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function Kn(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Kn(e[n],t[n])):!1}function Ho(e,t){if(e===t)return e;const n=ma(e)&&ma(t);if(n||Uo(e)&&Uo(t)){const r=n?e:Object.keys(e),o=r.length,s=n?t:Object.keys(t),a=s.length,i=n?[]:{};let l=0;for(let c=0;c<a;c++){const u=n?c:s[c];(!n&&r.includes(u)||n)&&e[u]===void 0&&t[u]===void 0?(i[u]=void 0,l++):(i[u]=Ho(e[u],t[u]),i[u]===e[u]&&e[u]!==void 0&&l++)}return o===a&&l===o?e:i}return t}function Ar(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function ma(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Uo(e){if(!ga(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!ga(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function ga(e){return Object.prototype.toString.call(e)==="[object Object]"}function Iu(e){return new Promise(t=>{setTimeout(t,e)})}function Bo(e,t,n){if(typeof n.structuralSharing=="function")return n.structuralSharing(e,t);if(n.structuralSharing!==!1){if(process.env.NODE_ENV!=="production")try{return Ho(e,t)}catch(r){throw console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${n.queryHash}]: ${r}`),r}return Ho(e,t)}return t}function Mu(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function Nu(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Rr=Symbol();function tl(e,t){return process.env.NODE_ENV!=="production"&&e.queryFn===Rr&&console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`),!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Rr?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function nl(e,t){return typeof e=="function"?e(...t):!!e}var Ut,bt,mn,Ui,Lu=(Ui=class extends An{constructor(){super();U(this,Ut);U(this,bt);U(this,mn);N(this,mn,t=>{if(!Xt&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){m(this,bt)||this.setEventListener(m(this,mn))}onUnsubscribe(){var t;this.hasListeners()||((t=m(this,bt))==null||t.call(this),N(this,bt,void 0))}setEventListener(t){var n;N(this,mn,t),(n=m(this,bt))==null||n.call(this),N(this,bt,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){m(this,Ut)!==t&&(N(this,Ut,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof m(this,Ut)=="boolean"?m(this,Ut):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Ut=new WeakMap,bt=new WeakMap,mn=new WeakMap,Ui),_s=new Lu,gn,yt,bn,Bi,_u=(Bi=class extends An{constructor(){super();U(this,gn,!0);U(this,yt);U(this,bn);N(this,bn,t=>{if(!Xt&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){m(this,yt)||this.setEventListener(m(this,bn))}onUnsubscribe(){var t;this.hasListeners()||((t=m(this,yt))==null||t.call(this),N(this,yt,void 0))}setEventListener(t){var n;N(this,bn,t),(n=m(this,yt))==null||n.call(this),N(this,yt,t(this.setOnline.bind(this)))}setOnline(t){m(this,gn)!==t&&(N(this,gn,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return m(this,gn)}},gn=new WeakMap,yt=new WeakMap,bn=new WeakMap,Bi),$r=new _u;function Wo(){let e,t;const n=new Promise((o,s)=>{e=o,t=s});n.status="pending",n.catch(()=>{});function r(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{r({status:"fulfilled",value:o}),e(o)},n.reject=o=>{r({status:"rejected",reason:o}),t(o)},n}function Du(e){return Math.min(1e3*2**e,3e4)}function rl(e){return(e??"online")==="online"?$r.isOnline():!0}var ol=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function fo(e){return e instanceof ol}function sl(e){let t=!1,n=0,r=!1,o;const s=Wo(),a=g=>{var b;r||(p(new ol(g)),(b=e.abort)==null||b.call(e))},i=()=>{t=!0},l=()=>{t=!1},c=()=>_s.isFocused()&&(e.networkMode==="always"||$r.isOnline())&&e.canRun(),u=()=>rl(e.networkMode)&&e.canRun(),f=g=>{var b;r||(r=!0,(b=e.onSuccess)==null||b.call(e,g),o==null||o(),s.resolve(g))},p=g=>{var b;r||(r=!0,(b=e.onError)==null||b.call(e,g),o==null||o(),s.reject(g))},h=()=>new Promise(g=>{var b;o=w=>{(r||c())&&g(w)},(b=e.onPause)==null||b.call(e)}).then(()=>{var g;o=void 0,r||(g=e.onContinue)==null||g.call(e)}),y=()=>{if(r)return;let g;const b=n===0?e.initialPromise:void 0;try{g=b??e.fn()}catch(w){g=Promise.reject(w)}Promise.resolve(g).then(f).catch(w=>{var $;if(r)return;const C=e.retry??(Xt?0:3),x=e.retryDelay??Du,E=typeof x=="function"?x(n,w):x,v=C===!0||typeof C=="number"&&n<C||typeof C=="function"&&C(n,w);if(t||!v){p(w);return}n++,($=e.onFail)==null||$.call(e,n,w),Iu(E).then(()=>c()?void 0:h()).then(()=>{t?p(w):y()})})};return{promise:s,cancel:a,continue:()=>(o==null||o(),s),cancelRetry:i,continueRetry:l,canStart:u,start:()=>(u()?y():h().then(y),s)}}var ju=e=>setTimeout(e,0);function zu(){let e=[],t=0,n=i=>{i()},r=i=>{i()},o=ju;const s=i=>{t?e.push(i):o(()=>{n(i)})},a=()=>{const i=e;e=[],i.length&&o(()=>{r(()=>{i.forEach(l=>{n(l)})})})};return{batch:i=>{let l;t++;try{l=i()}finally{t--,t||a()}return l},batchCalls:i=>(...l)=>{s(()=>{i(...l)})},schedule:s,setNotifyFunction:i=>{n=i},setBatchNotifyFunction:i=>{r=i},setScheduler:i=>{o=i}}}var ye=zu(),Bt,Wi,al=(Wi=class{constructor(){U(this,Bt)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),zo(this.gcTime)&&N(this,Bt,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Xt?1/0:5*60*1e3))}clearGcTimeout(){m(this,Bt)&&(clearTimeout(m(this,Bt)),N(this,Bt,void 0))}},Bt=new WeakMap,Wi),yn,vn,Me,Wt,Ee,nr,qt,_e,Xe,qi,Hu=(qi=class extends al{constructor(t){super();U(this,_e);U(this,yn);U(this,vn);U(this,Me);U(this,Wt);U(this,Ee);U(this,nr);U(this,qt);N(this,qt,!1),N(this,nr,t.defaultOptions),this.setOptions(t.options),this.observers=[],N(this,Wt,t.client),N(this,Me,m(this,Wt).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,N(this,yn,Uu(this.options)),this.state=t.state??m(this,yn),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=m(this,Ee))==null?void 0:t.promise}setOptions(t){this.options={...m(this,nr),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&m(this,Me).remove(this)}setData(t,n){const r=Bo(this.state.data,t,this.options);return J(this,_e,Xe).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){J(this,_e,Xe).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=m(this,Ee))==null?void 0:r.promise;return(o=m(this,Ee))==null||o.cancel(t),n?n.then(Te).catch(Te):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(m(this,yn))}isActive(){return this.observers.some(t=>je(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Rr||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!el(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=m(this,Ee))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=m(this,Ee))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),m(this,Me).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(m(this,Ee)&&(m(this,qt)?m(this,Ee).cancel({revert:!0}):m(this,Ee).cancelRetry()),this.scheduleGc()),m(this,Me).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||J(this,_e,Xe).call(this,{type:"invalidate"})}fetch(t,n){var l,c,u;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(m(this,Ee))return m(this,Ee).continueRetry(),m(this,Ee).promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=this.observers.find(p=>p.options.queryFn);f&&this.setOptions(f.options)}process.env.NODE_ENV!=="production"&&(Array.isArray(this.options.queryKey)||console.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']"));const r=new AbortController,o=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(N(this,qt,!0),r.signal)})},s=()=>{const f=tl(this.options,n),p={client:m(this,Wt),queryKey:this.queryKey,meta:this.meta};return o(p),N(this,qt,!1),this.options.persister?this.options.persister(f,p,this):f(p)},a={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:m(this,Wt),state:this.state,fetchFn:s};o(a),(l=this.options.behavior)==null||l.onFetch(a,this),N(this,vn,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=a.fetchOptions)==null?void 0:c.meta))&&J(this,_e,Xe).call(this,{type:"fetch",meta:(u=a.fetchOptions)==null?void 0:u.meta});const i=f=>{var p,h,y,g;fo(f)&&f.silent||J(this,_e,Xe).call(this,{type:"error",error:f}),fo(f)||((h=(p=m(this,Me).config).onError)==null||h.call(p,f,this),(g=(y=m(this,Me).config).onSettled)==null||g.call(y,this.state.data,f,this)),this.scheduleGc()};return N(this,Ee,sl({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:f=>{var p,h,y,g;if(f===void 0){process.env.NODE_ENV!=="production"&&console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`),i(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(f)}catch(b){i(b);return}(h=(p=m(this,Me).config).onSuccess)==null||h.call(p,f,this),(g=(y=m(this,Me).config).onSettled)==null||g.call(y,f,this.state.error,this),this.scheduleGc()},onError:i,onFail:(f,p)=>{J(this,_e,Xe).call(this,{type:"failed",failureCount:f,error:p})},onPause:()=>{J(this,_e,Xe).call(this,{type:"pause"})},onContinue:()=>{J(this,_e,Xe).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),m(this,Ee).start()}},yn=new WeakMap,vn=new WeakMap,Me=new WeakMap,Wt=new WeakMap,Ee=new WeakMap,nr=new WeakMap,qt=new WeakMap,_e=new WeakSet,Xe=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...il(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=t.error;return fo(o)&&o.revert&&m(this,vn)?{...m(this,vn),fetchStatus:"idle"}:{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),ye.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),m(this,Me).notify({query:this,type:"updated",action:t})})},qi);function il(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:rl(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Uu(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var We,Vi,Bu=(Vi=class extends An{constructor(t={}){super();U(this,We);this.config=t,N(this,We,new Map)}build(t,n,r){const o=n.queryKey,s=n.queryHash??Ls(o,n);let a=this.get(s);return a||(a=new Hu({client:t,queryKey:o,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(a)),a}add(t){m(this,We).has(t.queryHash)||(m(this,We).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=m(this,We).get(t.queryHash);n&&(t.destroy(),n===t&&m(this,We).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){ye.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return m(this,We).get(t)}getAll(){return[...m(this,We).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>ha(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>ha(t,r)):n}notify(t){ye.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){ye.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){ye.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},We=new WeakMap,Vi),qe,Oe,Vt,Ve,mt,Gi,Wu=(Gi=class extends al{constructor(t){super();U(this,Ve);U(this,qe);U(this,Oe);U(this,Vt);this.mutationId=t.mutationId,N(this,Oe,t.mutationCache),N(this,qe,[]),this.state=t.state||ll(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){m(this,qe).includes(t)||(m(this,qe).push(t),this.clearGcTimeout(),m(this,Oe).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){N(this,qe,m(this,qe).filter(n=>n!==t)),this.scheduleGc(),m(this,Oe).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){m(this,qe).length||(this.state.status==="pending"?this.scheduleGc():m(this,Oe).remove(this))}continue(){var t;return((t=m(this,Vt))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var s,a,i,l,c,u,f,p,h,y,g,b,w,C,x,E,v,$,H,R;const n=()=>{J(this,Ve,mt).call(this,{type:"continue"})};N(this,Vt,sl({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(W,G)=>{J(this,Ve,mt).call(this,{type:"failed",failureCount:W,error:G})},onPause:()=>{J(this,Ve,mt).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>m(this,Oe).canRun(this)}));const r=this.state.status==="pending",o=!m(this,Vt).canStart();try{if(r)n();else{J(this,Ve,mt).call(this,{type:"pending",variables:t,isPaused:o}),await((a=(s=m(this,Oe).config).onMutate)==null?void 0:a.call(s,t,this));const G=await((l=(i=this.options).onMutate)==null?void 0:l.call(i,t));G!==this.state.context&&J(this,Ve,mt).call(this,{type:"pending",context:G,variables:t,isPaused:o})}const W=await m(this,Vt).start();return await((u=(c=m(this,Oe).config).onSuccess)==null?void 0:u.call(c,W,t,this.state.context,this)),await((p=(f=this.options).onSuccess)==null?void 0:p.call(f,W,t,this.state.context)),await((y=(h=m(this,Oe).config).onSettled)==null?void 0:y.call(h,W,null,this.state.variables,this.state.context,this)),await((b=(g=this.options).onSettled)==null?void 0:b.call(g,W,null,t,this.state.context)),J(this,Ve,mt).call(this,{type:"success",data:W}),W}catch(W){try{throw await((C=(w=m(this,Oe).config).onError)==null?void 0:C.call(w,W,t,this.state.context,this)),await((E=(x=this.options).onError)==null?void 0:E.call(x,W,t,this.state.context)),await(($=(v=m(this,Oe).config).onSettled)==null?void 0:$.call(v,void 0,W,this.state.variables,this.state.context,this)),await((R=(H=this.options).onSettled)==null?void 0:R.call(H,void 0,W,t,this.state.context)),W}finally{J(this,Ve,mt).call(this,{type:"error",error:W})}}finally{m(this,Oe).runNext(this)}}},qe=new WeakMap,Oe=new WeakMap,Vt=new WeakMap,Ve=new WeakSet,mt=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),ye.batch(()=>{m(this,qe).forEach(r=>{r.onMutationUpdate(t)}),m(this,Oe).notify({mutation:this,type:"updated",action:t})})},Gi);function ll(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Je,De,rr,Yi,qu=(Yi=class extends An{constructor(t={}){super();U(this,Je);U(this,De);U(this,rr);this.config=t,N(this,Je,new Set),N(this,De,new Map),N(this,rr,0)}build(t,n,r){const o=new Wu({mutationCache:this,mutationId:++pr(this,rr)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){m(this,Je).add(t);const n=mr(t);if(typeof n=="string"){const r=m(this,De).get(n);r?r.push(t):m(this,De).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(m(this,Je).delete(t)){const n=mr(t);if(typeof n=="string"){const r=m(this,De).get(n);if(r)if(r.length>1){const o=r.indexOf(t);o!==-1&&r.splice(o,1)}else r[0]===t&&m(this,De).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=mr(t);if(typeof n=="string"){const r=m(this,De).get(n),o=r==null?void 0:r.find(s=>s.state.status==="pending");return!o||o===t}else return!0}runNext(t){var r;const n=mr(t);if(typeof n=="string"){const o=(r=m(this,De).get(n))==null?void 0:r.find(s=>s!==t&&s.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}else return Promise.resolve()}clear(){ye.batch(()=>{m(this,Je).forEach(t=>{this.notify({type:"removed",mutation:t})}),m(this,Je).clear(),m(this,De).clear()})}getAll(){return Array.from(m(this,Je))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>pa(n,r))}findAll(t={}){return this.getAll().filter(n=>pa(t,n))}notify(t){ye.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return ye.batch(()=>Promise.all(t.map(n=>n.continue().catch(Te))))}},Je=new WeakMap,De=new WeakMap,rr=new WeakMap,Yi);function mr(e){var t;return(t=e.options.scope)==null?void 0:t.id}function ba(e){return{onFetch:(t,n)=>{var u,f,p,h,y;const r=t.options,o=(p=(f=(u=t.fetchOptions)==null?void 0:u.meta)==null?void 0:f.fetchMore)==null?void 0:p.direction,s=((h=t.state.data)==null?void 0:h.pages)||[],a=((y=t.state.data)==null?void 0:y.pageParams)||[];let i={pages:[],pageParams:[]},l=0;const c=async()=>{let g=!1;const b=x=>{Object.defineProperty(x,"signal",{enumerable:!0,get:()=>(t.signal.aborted?g=!0:t.signal.addEventListener("abort",()=>{g=!0}),t.signal)})},w=tl(t.options,t.fetchOptions),C=async(x,E,v)=>{if(g)return Promise.reject();if(E==null&&x.pages.length)return Promise.resolve(x);const $={client:t.client,queryKey:t.queryKey,pageParam:E,direction:v?"backward":"forward",meta:t.options.meta};b($);const H=await w($),{maxPages:R}=t.options,W=v?Nu:Mu;return{pages:W(x.pages,H,R),pageParams:W(x.pageParams,E,R)}};if(o&&s.length){const x=o==="backward",E=x?Vu:ya,v={pages:s,pageParams:a},$=E(r,v);i=await C(v,$,x)}else{const x=e??s.length;do{const E=l===0?a[0]??r.initialPageParam:ya(r,i);if(l>0&&E==null)break;i=await C(i,E),l++}while(l<x)}return i};t.options.persister?t.fetchFn=()=>{var g,b;return(b=(g=t.options).persister)==null?void 0:b.call(g,c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=c}}}function ya(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Vu(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var pe,vt,xt,xn,wn,wt,En,Cn,Ki,Gu=(Ki=class{constructor(e={}){U(this,pe);U(this,vt);U(this,xt);U(this,xn);U(this,wn);U(this,wt);U(this,En);U(this,Cn);N(this,pe,e.queryCache||new Bu),N(this,vt,e.mutationCache||new qu),N(this,xt,e.defaultOptions||{}),N(this,xn,new Map),N(this,wn,new Map),N(this,wt,0)}mount(){pr(this,wt)._++,m(this,wt)===1&&(N(this,En,_s.subscribe(async e=>{e&&(await this.resumePausedMutations(),m(this,pe).onFocus())})),N(this,Cn,$r.subscribe(async e=>{e&&(await this.resumePausedMutations(),m(this,pe).onOnline())})))}unmount(){var e,t;pr(this,wt)._--,m(this,wt)===0&&((e=m(this,En))==null||e.call(this),N(this,En,void 0),(t=m(this,Cn))==null||t.call(this),N(this,Cn,void 0))}isFetching(e){return m(this,pe).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return m(this,vt).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=m(this,pe).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=m(this,pe).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(un(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return m(this,pe).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=m(this,pe).get(r.queryHash),s=o==null?void 0:o.state.data,a=Fu(t,s);if(a!==void 0)return m(this,pe).build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return ye.batch(()=>m(this,pe).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=m(this,pe).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=m(this,pe);ye.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=m(this,pe);return ye.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=ye.batch(()=>m(this,pe).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(Te).catch(Te)}invalidateQueries(e,t={}){return ye.batch(()=>(m(this,pe).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=ye.batch(()=>m(this,pe).findAll(e).filter(o=>!o.isDisabled()).map(o=>{let s=o.fetch(void 0,n);return n.throwOnError||(s=s.catch(Te)),o.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(Te)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=m(this,pe).build(this,t);return n.isStaleByTime(un(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Te).catch(Te)}fetchInfiniteQuery(e){return e.behavior=ba(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Te).catch(Te)}ensureInfiniteQueryData(e){return e.behavior=ba(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return $r.isOnline()?m(this,vt).resumePausedMutations():Promise.resolve()}getQueryCache(){return m(this,pe)}getMutationCache(){return m(this,vt)}getDefaultOptions(){return m(this,xt)}setDefaultOptions(e){N(this,xt,e)}setQueryDefaults(e,t){m(this,xn).set(Jt(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...m(this,xn).values()],n={};return t.forEach(r=>{Kn(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){m(this,wn).set(Jt(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...m(this,wn).values()],n={};return t.forEach(r=>{Kn(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...m(this,xt).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Ls(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Rr&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...m(this,xt).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){m(this,pe).clear(),m(this,vt).clear()}},pe=new WeakMap,vt=new WeakMap,xt=new WeakMap,xn=new WeakMap,wn=new WeakMap,wt=new WeakMap,En=new WeakMap,Cn=new WeakMap,Ki),ke,re,or,Se,Gt,On,Et,Ct,sr,Sn,Tn,Yt,Kt,Ot,Pn,ie,_n,qo,Vo,Go,Yo,Ko,Qo,Xo,cl,Qi,Yu=(Qi=class extends An{constructor(t,n){super();U(this,ie);U(this,ke);U(this,re);U(this,or);U(this,Se);U(this,Gt);U(this,On);U(this,Et);U(this,Ct);U(this,sr);U(this,Sn);U(this,Tn);U(this,Yt);U(this,Kt);U(this,Ot);U(this,Pn,new Set);this.options=n,N(this,ke,t),N(this,Ct,null),N(this,Et,Wo()),this.options.experimental_prefetchInRender||m(this,Et).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(m(this,re).addObserver(this),va(m(this,re),this.options)?J(this,ie,_n).call(this):this.updateResult(),J(this,ie,Yo).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Jo(m(this,re),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Jo(m(this,re),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,J(this,ie,Ko).call(this),J(this,ie,Qo).call(this),m(this,re).removeObserver(this)}setOptions(t){const n=this.options,r=m(this,re);if(this.options=m(this,ke).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof je(this.options.enabled,m(this,re))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");J(this,ie,Xo).call(this),m(this,re).setOptions(this.options),n._defaulted&&!Ar(this.options,n)&&m(this,ke).getQueryCache().notify({type:"observerOptionsUpdated",query:m(this,re),observer:this});const o=this.hasListeners();o&&xa(m(this,re),r,this.options,n)&&J(this,ie,_n).call(this),this.updateResult(),o&&(m(this,re)!==r||je(this.options.enabled,m(this,re))!==je(n.enabled,m(this,re))||un(this.options.staleTime,m(this,re))!==un(n.staleTime,m(this,re)))&&J(this,ie,qo).call(this);const s=J(this,ie,Vo).call(this);o&&(m(this,re)!==r||je(this.options.enabled,m(this,re))!==je(n.enabled,m(this,re))||s!==m(this,Ot))&&J(this,ie,Go).call(this,s)}getOptimisticResult(t){const n=m(this,ke).getQueryCache().build(m(this,ke),t),r=this.createResult(n,t);return Qu(this,r)&&(N(this,Se,r),N(this,On,this.options),N(this,Gt,m(this,re).state)),r}getCurrentResult(){return m(this,Se)}trackResult(t,n){return new Proxy(t,{get:(r,o)=>(this.trackProp(o),n==null||n(o),Reflect.get(r,o))})}trackProp(t){m(this,Pn).add(t)}getCurrentQuery(){return m(this,re)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=m(this,ke).defaultQueryOptions(t),r=m(this,ke).getQueryCache().build(m(this,ke),n);return r.fetch().then(()=>this.createResult(r,n))}fetch(t){return J(this,ie,_n).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),m(this,Se)))}createResult(t,n){var W;const r=m(this,re),o=this.options,s=m(this,Se),a=m(this,Gt),i=m(this,On),c=t!==r?t.state:m(this,or),{state:u}=t;let f={...u},p=!1,h;if(n._optimisticResults){const G=this.hasListeners(),le=!G&&va(t,n),ue=G&&xa(t,r,n,o);(le||ue)&&(f={...f,...il(u.data,t.options)}),n._optimisticResults==="isRestoring"&&(f.fetchStatus="idle")}let{error:y,errorUpdatedAt:g,status:b}=f;h=f.data;let w=!1;if(n.placeholderData!==void 0&&h===void 0&&b==="pending"){let G;s!=null&&s.isPlaceholderData&&n.placeholderData===(i==null?void 0:i.placeholderData)?(G=s.data,w=!0):G=typeof n.placeholderData=="function"?n.placeholderData((W=m(this,Tn))==null?void 0:W.state.data,m(this,Tn)):n.placeholderData,G!==void 0&&(b="success",h=Bo(s==null?void 0:s.data,G,n),p=!0)}if(n.select&&h!==void 0&&!w)if(s&&h===(a==null?void 0:a.data)&&n.select===m(this,sr))h=m(this,Sn);else try{N(this,sr,n.select),h=n.select(h),h=Bo(s==null?void 0:s.data,h,n),N(this,Sn,h),N(this,Ct,null)}catch(G){N(this,Ct,G)}m(this,Ct)&&(y=m(this,Ct),h=m(this,Sn),g=Date.now(),b="error");const C=f.fetchStatus==="fetching",x=b==="pending",E=b==="error",v=x&&C,$=h!==void 0,R={status:b,fetchStatus:f.fetchStatus,isPending:x,isSuccess:b==="success",isError:E,isInitialLoading:v,isLoading:v,data:h,dataUpdatedAt:f.dataUpdatedAt,error:y,errorUpdatedAt:g,failureCount:f.fetchFailureCount,failureReason:f.fetchFailureReason,errorUpdateCount:f.errorUpdateCount,isFetched:f.dataUpdateCount>0||f.errorUpdateCount>0,isFetchedAfterMount:f.dataUpdateCount>c.dataUpdateCount||f.errorUpdateCount>c.errorUpdateCount,isFetching:C,isRefetching:C&&!x,isLoadingError:E&&!$,isPaused:f.fetchStatus==="paused",isPlaceholderData:p,isRefetchError:E&&$,isStale:Ds(t,n),refetch:this.refetch,promise:m(this,Et)};if(this.options.experimental_prefetchInRender){const G=oe=>{R.status==="error"?oe.reject(R.error):R.data!==void 0&&oe.resolve(R.data)},le=()=>{const oe=N(this,Et,R.promise=Wo());G(oe)},ue=m(this,Et);switch(ue.status){case"pending":t.queryHash===r.queryHash&&G(ue);break;case"fulfilled":(R.status==="error"||R.data!==ue.value)&&le();break;case"rejected":(R.status!=="error"||R.error!==ue.reason)&&le();break}}return R}updateResult(){const t=m(this,Se),n=this.createResult(m(this,re),this.options);if(N(this,Gt,m(this,re).state),N(this,On,this.options),m(this,Gt).data!==void 0&&N(this,Tn,m(this,re)),Ar(n,t))return;N(this,Se,n);const r=()=>{if(!t)return!0;const{notifyOnChangeProps:o}=this.options,s=typeof o=="function"?o():o;if(s==="all"||!s&&!m(this,Pn).size)return!0;const a=new Set(s??m(this,Pn));return this.options.throwOnError&&a.add("error"),Object.keys(m(this,Se)).some(i=>{const l=i;return m(this,Se)[l]!==t[l]&&a.has(l)})};J(this,ie,cl).call(this,{listeners:r()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&J(this,ie,Yo).call(this)}},ke=new WeakMap,re=new WeakMap,or=new WeakMap,Se=new WeakMap,Gt=new WeakMap,On=new WeakMap,Et=new WeakMap,Ct=new WeakMap,sr=new WeakMap,Sn=new WeakMap,Tn=new WeakMap,Yt=new WeakMap,Kt=new WeakMap,Ot=new WeakMap,Pn=new WeakMap,ie=new WeakSet,_n=function(t){J(this,ie,Xo).call(this);let n=m(this,re).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(Te)),n},qo=function(){J(this,ie,Ko).call(this);const t=un(this.options.staleTime,m(this,re));if(Xt||m(this,Se).isStale||!zo(t))return;const r=el(m(this,Se).dataUpdatedAt,t)+1;N(this,Yt,setTimeout(()=>{m(this,Se).isStale||this.updateResult()},r))},Vo=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(m(this,re)):this.options.refetchInterval)??!1},Go=function(t){J(this,ie,Qo).call(this),N(this,Ot,t),!(Xt||je(this.options.enabled,m(this,re))===!1||!zo(m(this,Ot))||m(this,Ot)===0)&&N(this,Kt,setInterval(()=>{(this.options.refetchIntervalInBackground||_s.isFocused())&&J(this,ie,_n).call(this)},m(this,Ot)))},Yo=function(){J(this,ie,qo).call(this),J(this,ie,Go).call(this,J(this,ie,Vo).call(this))},Ko=function(){m(this,Yt)&&(clearTimeout(m(this,Yt)),N(this,Yt,void 0))},Qo=function(){m(this,Kt)&&(clearInterval(m(this,Kt)),N(this,Kt,void 0))},Xo=function(){const t=m(this,ke).getQueryCache().build(m(this,ke),this.options);if(t===m(this,re))return;const n=m(this,re);N(this,re,t),N(this,or,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},cl=function(t){ye.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(m(this,Se))}),m(this,ke).getQueryCache().notify({query:m(this,re),type:"observerResultsUpdated"})})},Qi);function Ku(e,t){return je(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function va(e,t){return Ku(e,t)||e.state.data!==void 0&&Jo(e,t,t.refetchOnMount)}function Jo(e,t,n){if(je(t.enabled,e)!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&Ds(e,t)}return!1}function xa(e,t,n,r){return(e!==t||je(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&Ds(e,n)}function Ds(e,t){return je(t.enabled,e)!==!1&&e.isStaleByTime(un(t.staleTime,e))}function Qu(e,t){return!Ar(e.getCurrentResult(),t)}var St,Tt,Ae,Ze,ot,Sr,Zo,Xi,Xu=(Xi=class extends An{constructor(n,r){super();U(this,ot);U(this,St);U(this,Tt);U(this,Ae);U(this,Ze);N(this,St,n),this.setOptions(r),this.bindMethods(),J(this,ot,Sr).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(n){var o;const r=this.options;this.options=m(this,St).defaultMutationOptions(n),Ar(this.options,r)||m(this,St).getMutationCache().notify({type:"observerOptionsUpdated",mutation:m(this,Ae),observer:this}),r!=null&&r.mutationKey&&this.options.mutationKey&&Jt(r.mutationKey)!==Jt(this.options.mutationKey)?this.reset():((o=m(this,Ae))==null?void 0:o.state.status)==="pending"&&m(this,Ae).setOptions(this.options)}onUnsubscribe(){var n;this.hasListeners()||(n=m(this,Ae))==null||n.removeObserver(this)}onMutationUpdate(n){J(this,ot,Sr).call(this),J(this,ot,Zo).call(this,n)}getCurrentResult(){return m(this,Tt)}reset(){var n;(n=m(this,Ae))==null||n.removeObserver(this),N(this,Ae,void 0),J(this,ot,Sr).call(this),J(this,ot,Zo).call(this)}mutate(n,r){var o;return N(this,Ze,r),(o=m(this,Ae))==null||o.removeObserver(this),N(this,Ae,m(this,St).getMutationCache().build(m(this,St),this.options)),m(this,Ae).addObserver(this),m(this,Ae).execute(n)}},St=new WeakMap,Tt=new WeakMap,Ae=new WeakMap,Ze=new WeakMap,ot=new WeakSet,Sr=function(){var r;const n=((r=m(this,Ae))==null?void 0:r.state)??ll();N(this,Tt,{...n,isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset})},Zo=function(n){ye.batch(()=>{var r,o,s,a,i,l,c,u;if(m(this,Ze)&&this.hasListeners()){const f=m(this,Tt).variables,p=m(this,Tt).context;(n==null?void 0:n.type)==="success"?((o=(r=m(this,Ze)).onSuccess)==null||o.call(r,n.data,f,p),(a=(s=m(this,Ze)).onSettled)==null||a.call(s,n.data,null,f,p)):(n==null?void 0:n.type)==="error"&&((l=(i=m(this,Ze)).onError)==null||l.call(i,n.error,f,p),(u=(c=m(this,Ze)).onSettled)==null||u.call(c,void 0,n.error,f,p))}this.listeners.forEach(f=>{f(m(this,Tt))})})},Xi),ul=I.createContext(void 0),fl=e=>{const t=I.useContext(ul);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Ju=({client:e,children:t})=>(I.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),S.jsx(ul.Provider,{value:e,children:t})),dl=I.createContext(!1),Zu=()=>I.useContext(dl);dl.Provider;function ef(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var tf=I.createContext(ef()),nf=()=>I.useContext(tf),rf=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},of=e=>{I.useEffect(()=>{e.clearReset()},[e])},sf=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:o})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(o&&e.data===void 0||nl(n,[e.error,r])),af=e=>{const t=e.staleTime;e.suspense&&(e.staleTime=typeof t=="function"?(...n)=>Math.max(t(...n),1e3):Math.max(t??1e3,1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},lf=(e,t)=>e.isLoading&&e.isFetching&&!t,cf=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,wa=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function uf(e,t,n){var f,p,h,y,g;if(process.env.NODE_ENV!=="production"&&(typeof e!="object"||Array.isArray(e)))throw new Error('Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object');const r=fl(n),o=Zu(),s=nf(),a=r.defaultQueryOptions(e);(p=(f=r.getDefaultOptions().queries)==null?void 0:f._experimental_beforeQuery)==null||p.call(f,a),process.env.NODE_ENV!=="production"&&(a.queryFn||console.error(`[${a.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`)),a._optimisticResults=o?"isRestoring":"optimistic",af(a),rf(a,s),of(s);const i=!r.getQueryCache().get(a.queryHash),[l]=I.useState(()=>new t(r,a)),c=l.getOptimisticResult(a),u=!o&&e.subscribed!==!1;if(I.useSyncExternalStore(I.useCallback(b=>{const w=u?l.subscribe(ye.batchCalls(b)):Te;return l.updateResult(),w},[l,u]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),I.useEffect(()=>{l.setOptions(a)},[a,l]),cf(a,c))throw wa(a,l,s);if(sf({result:c,errorResetBoundary:s,throwOnError:a.throwOnError,query:r.getQueryCache().get(a.queryHash),suspense:a.suspense}))throw c.error;if((y=(h=r.getDefaultOptions().queries)==null?void 0:h._experimental_afterQuery)==null||y.call(h,a,c),a.experimental_prefetchInRender&&!Xt&&lf(c,o)){const b=i?wa(a,l,s):(g=r.getQueryCache().get(a.queryHash))==null?void 0:g.promise;b==null||b.catch(Te).finally(()=>{l.updateResult()})}return a.notifyOnChangeProps?c:l.trackResult(c)}function js(e,t){return uf(e,Yu,t)}function hl(e,t){const n=fl(t),[r]=I.useState(()=>new Xu(n,e));I.useEffect(()=>{r.setOptions(e)},[r,e]);const o=I.useSyncExternalStore(I.useCallback(a=>r.subscribe(ye.batchCalls(a)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),s=I.useCallback((a,i)=>{r.mutate(a,i).catch(Te)},[r]);if(o.error&&nl(r.options.throwOnError,[o.error]))throw o.error;return{...o,mutate:s,mutateAsync:o.mutate}}const zs=d.createContext(null);zs.Provider;const Rn=()=>d.useContext(zs),pl=({children:e})=>{const[t]=d.useState(new Gu);return console.log("Confidence Playbook Context Initialized"),S.jsx(zs.Provider,{value:{queryClient:t},children:S.jsx(Ju,{client:t,children:e})})},he={OPEN:"Open",IN_PROGRESS:"In progress",IN_REVIEW:"In review",COMPLETED:"Completed"},ml="https://marketplace.confidence.com/api",ar=ml+"/confidence",Ea=ml+"/dropbox/prod",ff=async e=>{const t={taskInstanceId:e},n=new Headers;return n.append("Content-Type","application/json"),await(await fetch(`${ar}/playbook-task-complete`,{method:"POST",headers:n,body:JSON.stringify(t)})).json()},df=()=>{const{queryClient:e}=Rn(),t=hl({mutationFn:async r=>ff(r)},e);return{completeTask:async r=>t.mutateAsync(r,{onSuccess:()=>{console.log("Task completed successfully")},onError:o=>{console.error("Error completing task:",o)}}),...t}},hf=async e=>{const t={taskInstanceId:e},n=new Headers;n.append("Content-Type","application/json");const o=await(await fetch(`${ar}/playbook-task-start`,{method:"POST",headers:n,body:JSON.stringify(t)})).json();return console.log({data:o}),o},pf=()=>{const{queryClient:e}=Rn(),t=hl({mutationFn:async r=>{const o=await hf(r);return console.log(o),o}},e);return{startTask:r=>t.mutateAsync(r,{onSuccess:()=>{console.log("Task started successfully")},onError:o=>{console.error("Error starting task:",o)}}),...t}},gl=(e,t)=>{const{queryClient:n}=Rn(),r=js({initialData:{},queryFn:()=>n.getQueryData(["PLAYBOOK_EXPANDED_TASKS",+e]),queryKey:["PLAYBOOK_EXPANDED_TASKS",+e]}),o=a=>{var i;return((i=r.data)==null?void 0:i[a.toString()])??!1};return{isTaskExpanded:o,toggleTaskExpanded:(a,i)=>{var l;n.setQueryData(["PLAYBOOK_EXPANDED_TASKS",+e],()=>({[a]:i!==void 0?i:!o(a)})),(l=t==null?void 0:t.onTaskExpanded)==null||l.call(t,a,o(a))}}},mf=(e,t)=>{const{queryClient:n}=Rn(),{completeTask:r}=df(),{startTask:o}=pf(),{toggleTaskExpanded:s}=gl(e);return{completeTask:async(l,c)=>{const{status:u}=await r(l.toString());u&&(s(l,!1),n.setQueryData(["playbook",+e],f=>{if(!f)return f;const p=f.tasks.map(h=>h.sequenceOrder===c+1&&t.quickComplete?{...h,workflowStatus:he.IN_PROGRESS}:h.taskInstanceId===l?{...h,workflowStatus:u}:h);return{...f,tasks:p}}))},startTask:async l=>{const{status:c}=await o(l.toString());c&&(s(l,!0),n.setQueryData(["playbook",+e],u=>{if(!u)return u;const f=u.tasks.map(p=>p.taskInstanceId===l?{...p,workflowStatus:c}:p);return{...u,tasks:f}}))}}},gf=e=>{var o;const{queryClient:t}=Rn(),n=js({queryFn:async()=>{const s=new Headers,a=await fetch(`${ar}/playbook-details`,{method:"POST",cache:"no-store",headers:s,body:JSON.stringify({playbookInstanceId:+e,start:0,limit:50})});if(!a.ok)throw new Error("Network response was not ok");const i=await a.json();if(i.error)throw new Error(i.error);return i},queryKey:["playbook",+e]},t),r=mf(e,{quickComplete:(o=n.data)==null?void 0:o.quickComplete});return{playbook:n.data,isLoading:n.isLoading,error:n.error,actions:r}},Un={START:"START",PAUSE:"PAUSE",COMPLETE:"COMPLETE"},bf={START:"Start",PAUSE:"Pause",RESUME:"Resume",COMPLETE:"Complete"},yf=e=>{const{taskStatus:t,canStart:n}=e;return{buttons:d.useMemo(()=>t===he.OPEN&&n?[Un.START]:t===he.IN_PROGRESS?[Un.PAUSE,Un.COMPLETE]:t===he.COMPLETED?[]:[],[e.taskStatus,e.canStart])}},bl=async e=>{const t=new Headers;t.append("Content-Type","application/json");const r=await(await fetch(`${ar}/playbook-initiate`,{method:"POST",headers:t,body:JSON.stringify(e)})).json();return console.log({data:r}),r},Hs="-",vf=e=>{const t=wf(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:a=>{const i=a.split(Hs);return i[0]===""&&i.length!==1&&i.shift(),yl(i,t)||xf(a)},getConflictingClassGroupIds:(a,i)=>{const l=n[a]||[];return i&&r[a]?[...l,...r[a]]:l}}},yl=(e,t)=>{var a;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?yl(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const s=e.join(Hs);return(a=t.validators.find(({validator:i})=>i(s)))==null?void 0:a.classGroupId},Ca=/^\[(.+)\]$/,xf=e=>{if(Ca.test(e)){const t=Ca.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},wf=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const o in n)es(n[o],r,o,t);return r},es=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const s=o===""?t:Oa(t,o);s.classGroupId=n;return}if(typeof o=="function"){if(Ef(o)){es(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([s,a])=>{es(a,Oa(t,s),n,r)})})},Oa=(e,t)=>{let n=e;return t.split(Hs).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},Ef=e=>e.isThemeGetter,Cf=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(s,a)=>{n.set(s,a),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let a=n.get(s);if(a!==void 0)return a;if((a=r.get(s))!==void 0)return o(s,a),a},set(s,a){n.has(s)?n.set(s,a):o(s,a)}}},ts="!",ns=":",Of=ns.length,Sf=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=o=>{const s=[];let a=0,i=0,l=0,c;for(let y=0;y<o.length;y++){let g=o[y];if(a===0&&i===0){if(g===ns){s.push(o.slice(l,y)),l=y+Of;continue}if(g==="/"){c=y;continue}}g==="["?a++:g==="]"?a--:g==="("?i++:g===")"&&i--}const u=s.length===0?o:o.substring(l),f=Tf(u),p=f!==u,h=c&&c>l?c-l:void 0;return{modifiers:s,hasImportantModifier:p,baseClassName:f,maybePostfixModifierPosition:h}};if(t){const o=t+ns,s=r;r=a=>a.startsWith(o)?s(a.substring(o.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:a,maybePostfixModifierPosition:void 0}}if(n){const o=r;r=s=>n({className:s,parseClassName:o})}return r},Tf=e=>e.endsWith(ts)?e.substring(0,e.length-1):e.startsWith(ts)?e.substring(1):e,Pf=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(r=>[r,!0]));return r=>{if(r.length<=1)return r;const o=[];let s=[];return r.forEach(a=>{a[0]==="["||t[a]?(o.push(...s.sort(),a),s=[]):s.push(a)}),o.push(...s.sort()),o}},kf=e=>({cache:Cf(e.cacheSize),parseClassName:Sf(e),sortModifiers:Pf(e),...vf(e)}),Af=/\s+/,Rf=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:s}=t,a=[],i=e.trim().split(Af);let l="";for(let c=i.length-1;c>=0;c-=1){const u=i[c],{isExternal:f,modifiers:p,hasImportantModifier:h,baseClassName:y,maybePostfixModifierPosition:g}=n(u);if(f){l=u+(l.length>0?" "+l:l);continue}let b=!!g,w=r(b?y.substring(0,g):y);if(!w){if(!b){l=u+(l.length>0?" "+l:l);continue}if(w=r(y),!w){l=u+(l.length>0?" "+l:l);continue}b=!1}const C=s(p).join(":"),x=h?C+ts:C,E=x+w;if(a.includes(E))continue;a.push(E);const v=o(w,b);for(let $=0;$<v.length;++$){const H=v[$];a.push(x+H)}l=u+(l.length>0?" "+l:l)}return l};function $f(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=vl(t))&&(r&&(r+=" "),r+=n);return r}const vl=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=vl(e[r]))&&(n&&(n+=" "),n+=t);return n};function Ff(e,...t){let n,r,o,s=a;function a(l){const c=t.reduce((u,f)=>f(u),e());return n=kf(c),r=n.cache.get,o=n.cache.set,s=i,i(l)}function i(l){const c=r(l);if(c)return c;const u=Rf(l,n);return o(l,u),u}return function(){return s($f.apply(null,arguments))}}const be=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},xl=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,wl=/^\((?:(\w[\w-]*):)?(.+)\)$/i,If=/^\d+\/\d+$/,Mf=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Nf=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Lf=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,_f=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Df=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,sn=e=>If.test(e),ee=e=>!!e&&!Number.isNaN(Number(e)),ht=e=>!!e&&Number.isInteger(Number(e)),ho=e=>e.endsWith("%")&&ee(e.slice(0,-1)),Qe=e=>Mf.test(e),jf=()=>!0,zf=e=>Nf.test(e)&&!Lf.test(e),El=()=>!1,Hf=e=>_f.test(e),Uf=e=>Df.test(e),Bf=e=>!L(e)&&!_(e),Wf=e=>$n(e,Sl,El),L=e=>xl.test(e),Lt=e=>$n(e,Tl,zf),po=e=>$n(e,Kf,ee),Sa=e=>$n(e,Cl,El),qf=e=>$n(e,Ol,Uf),gr=e=>$n(e,Pl,Hf),_=e=>wl.test(e),Nn=e=>Fn(e,Tl),Vf=e=>Fn(e,Qf),Ta=e=>Fn(e,Cl),Gf=e=>Fn(e,Sl),Yf=e=>Fn(e,Ol),br=e=>Fn(e,Pl,!0),$n=(e,t,n)=>{const r=xl.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Fn=(e,t,n=!1)=>{const r=wl.exec(e);return r?r[1]?t(r[1]):n:!1},Cl=e=>e==="position"||e==="percentage",Ol=e=>e==="image"||e==="url",Sl=e=>e==="length"||e==="size"||e==="bg-size",Tl=e=>e==="length",Kf=e=>e==="number",Qf=e=>e==="family-name",Pl=e=>e==="shadow",Xf=()=>{const e=be("color"),t=be("font"),n=be("text"),r=be("font-weight"),o=be("tracking"),s=be("leading"),a=be("breakpoint"),i=be("container"),l=be("spacing"),c=be("radius"),u=be("shadow"),f=be("inset-shadow"),p=be("text-shadow"),h=be("drop-shadow"),y=be("blur"),g=be("perspective"),b=be("aspect"),w=be("ease"),C=be("animate"),x=()=>["auto","avoid","all","avoid-page","page","left","right","column"],E=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],v=()=>[...E(),_,L],$=()=>["auto","hidden","clip","visible","scroll"],H=()=>["auto","contain","none"],R=()=>[_,L,l],W=()=>[sn,"full","auto",...R()],G=()=>[ht,"none","subgrid",_,L],le=()=>["auto",{span:["full",ht,_,L]},ht,_,L],ue=()=>[ht,"auto",_,L],oe=()=>["auto","min","max","fr",_,L],fe=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],q=()=>["start","end","center","stretch","center-safe","end-safe"],Y=()=>["auto",...R()],ne=()=>[sn,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...R()],P=()=>[e,_,L],V=()=>[...E(),Ta,Sa,{position:[_,L]}],O=()=>["no-repeat",{repeat:["","x","y","space","round"]}],k=()=>["auto","cover","contain",Gf,Wf,{size:[_,L]}],B=()=>[ho,Nn,Lt],A=()=>["","none","full",c,_,L],D=()=>["",ee,Nn,Lt],K=()=>["solid","dashed","dotted","double"],z=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],M=()=>[ee,ho,Ta,Sa],Q=()=>["","none",y,_,L],X=()=>["none",ee,_,L],Z=()=>["none",ee,_,L],ge=()=>[ee,_,L],F=()=>[sn,"full",...R()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Qe],breakpoint:[Qe],color:[jf],container:[Qe],"drop-shadow":[Qe],ease:["in","out","in-out"],font:[Bf],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Qe],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Qe],shadow:[Qe],spacing:["px",ee],text:[Qe],"text-shadow":[Qe],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",sn,L,_,b]}],container:["container"],columns:[{columns:[ee,L,_,i]}],"break-after":[{"break-after":x()}],"break-before":[{"break-before":x()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:v()}],overflow:[{overflow:$()}],"overflow-x":[{"overflow-x":$()}],"overflow-y":[{"overflow-y":$()}],overscroll:[{overscroll:H()}],"overscroll-x":[{"overscroll-x":H()}],"overscroll-y":[{"overscroll-y":H()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:W()}],"inset-x":[{"inset-x":W()}],"inset-y":[{"inset-y":W()}],start:[{start:W()}],end:[{end:W()}],top:[{top:W()}],right:[{right:W()}],bottom:[{bottom:W()}],left:[{left:W()}],visibility:["visible","invisible","collapse"],z:[{z:[ht,"auto",_,L]}],basis:[{basis:[sn,"full","auto",i,...R()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ee,sn,"auto","initial","none",L]}],grow:[{grow:["",ee,_,L]}],shrink:[{shrink:["",ee,_,L]}],order:[{order:[ht,"first","last","none",_,L]}],"grid-cols":[{"grid-cols":G()}],"col-start-end":[{col:le()}],"col-start":[{"col-start":ue()}],"col-end":[{"col-end":ue()}],"grid-rows":[{"grid-rows":G()}],"row-start-end":[{row:le()}],"row-start":[{"row-start":ue()}],"row-end":[{"row-end":ue()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":oe()}],"auto-rows":[{"auto-rows":oe()}],gap:[{gap:R()}],"gap-x":[{"gap-x":R()}],"gap-y":[{"gap-y":R()}],"justify-content":[{justify:[...fe(),"normal"]}],"justify-items":[{"justify-items":[...q(),"normal"]}],"justify-self":[{"justify-self":["auto",...q()]}],"align-content":[{content:["normal",...fe()]}],"align-items":[{items:[...q(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...q(),{baseline:["","last"]}]}],"place-content":[{"place-content":fe()}],"place-items":[{"place-items":[...q(),"baseline"]}],"place-self":[{"place-self":["auto",...q()]}],p:[{p:R()}],px:[{px:R()}],py:[{py:R()}],ps:[{ps:R()}],pe:[{pe:R()}],pt:[{pt:R()}],pr:[{pr:R()}],pb:[{pb:R()}],pl:[{pl:R()}],m:[{m:Y()}],mx:[{mx:Y()}],my:[{my:Y()}],ms:[{ms:Y()}],me:[{me:Y()}],mt:[{mt:Y()}],mr:[{mr:Y()}],mb:[{mb:Y()}],ml:[{ml:Y()}],"space-x":[{"space-x":R()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":R()}],"space-y-reverse":["space-y-reverse"],size:[{size:ne()}],w:[{w:[i,"screen",...ne()]}],"min-w":[{"min-w":[i,"screen","none",...ne()]}],"max-w":[{"max-w":[i,"screen","none","prose",{screen:[a]},...ne()]}],h:[{h:["screen",...ne()]}],"min-h":[{"min-h":["screen","none",...ne()]}],"max-h":[{"max-h":["screen",...ne()]}],"font-size":[{text:["base",n,Nn,Lt]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,_,po]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ho,L]}],"font-family":[{font:[Vf,L,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,_,L]}],"line-clamp":[{"line-clamp":[ee,"none",_,po]}],leading:[{leading:[s,...R()]}],"list-image":[{"list-image":["none",_,L]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",_,L]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:P()}],"text-color":[{text:P()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:[ee,"from-font","auto",_,Lt]}],"text-decoration-color":[{decoration:P()}],"underline-offset":[{"underline-offset":[ee,"auto",_,L]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:R()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",_,L]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",_,L]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:V()}],"bg-repeat":[{bg:O()}],"bg-size":[{bg:k()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ht,_,L],radial:["",_,L],conic:[ht,_,L]},Yf,qf]}],"bg-color":[{bg:P()}],"gradient-from-pos":[{from:B()}],"gradient-via-pos":[{via:B()}],"gradient-to-pos":[{to:B()}],"gradient-from":[{from:P()}],"gradient-via":[{via:P()}],"gradient-to":[{to:P()}],rounded:[{rounded:A()}],"rounded-s":[{"rounded-s":A()}],"rounded-e":[{"rounded-e":A()}],"rounded-t":[{"rounded-t":A()}],"rounded-r":[{"rounded-r":A()}],"rounded-b":[{"rounded-b":A()}],"rounded-l":[{"rounded-l":A()}],"rounded-ss":[{"rounded-ss":A()}],"rounded-se":[{"rounded-se":A()}],"rounded-ee":[{"rounded-ee":A()}],"rounded-es":[{"rounded-es":A()}],"rounded-tl":[{"rounded-tl":A()}],"rounded-tr":[{"rounded-tr":A()}],"rounded-br":[{"rounded-br":A()}],"rounded-bl":[{"rounded-bl":A()}],"border-w":[{border:D()}],"border-w-x":[{"border-x":D()}],"border-w-y":[{"border-y":D()}],"border-w-s":[{"border-s":D()}],"border-w-e":[{"border-e":D()}],"border-w-t":[{"border-t":D()}],"border-w-r":[{"border-r":D()}],"border-w-b":[{"border-b":D()}],"border-w-l":[{"border-l":D()}],"divide-x":[{"divide-x":D()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":D()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...K(),"hidden","none"]}],"divide-style":[{divide:[...K(),"hidden","none"]}],"border-color":[{border:P()}],"border-color-x":[{"border-x":P()}],"border-color-y":[{"border-y":P()}],"border-color-s":[{"border-s":P()}],"border-color-e":[{"border-e":P()}],"border-color-t":[{"border-t":P()}],"border-color-r":[{"border-r":P()}],"border-color-b":[{"border-b":P()}],"border-color-l":[{"border-l":P()}],"divide-color":[{divide:P()}],"outline-style":[{outline:[...K(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ee,_,L]}],"outline-w":[{outline:["",ee,Nn,Lt]}],"outline-color":[{outline:P()}],shadow:[{shadow:["","none",u,br,gr]}],"shadow-color":[{shadow:P()}],"inset-shadow":[{"inset-shadow":["none",f,br,gr]}],"inset-shadow-color":[{"inset-shadow":P()}],"ring-w":[{ring:D()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:P()}],"ring-offset-w":[{"ring-offset":[ee,Lt]}],"ring-offset-color":[{"ring-offset":P()}],"inset-ring-w":[{"inset-ring":D()}],"inset-ring-color":[{"inset-ring":P()}],"text-shadow":[{"text-shadow":["none",p,br,gr]}],"text-shadow-color":[{"text-shadow":P()}],opacity:[{opacity:[ee,_,L]}],"mix-blend":[{"mix-blend":[...z(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":z()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[ee]}],"mask-image-linear-from-pos":[{"mask-linear-from":M()}],"mask-image-linear-to-pos":[{"mask-linear-to":M()}],"mask-image-linear-from-color":[{"mask-linear-from":P()}],"mask-image-linear-to-color":[{"mask-linear-to":P()}],"mask-image-t-from-pos":[{"mask-t-from":M()}],"mask-image-t-to-pos":[{"mask-t-to":M()}],"mask-image-t-from-color":[{"mask-t-from":P()}],"mask-image-t-to-color":[{"mask-t-to":P()}],"mask-image-r-from-pos":[{"mask-r-from":M()}],"mask-image-r-to-pos":[{"mask-r-to":M()}],"mask-image-r-from-color":[{"mask-r-from":P()}],"mask-image-r-to-color":[{"mask-r-to":P()}],"mask-image-b-from-pos":[{"mask-b-from":M()}],"mask-image-b-to-pos":[{"mask-b-to":M()}],"mask-image-b-from-color":[{"mask-b-from":P()}],"mask-image-b-to-color":[{"mask-b-to":P()}],"mask-image-l-from-pos":[{"mask-l-from":M()}],"mask-image-l-to-pos":[{"mask-l-to":M()}],"mask-image-l-from-color":[{"mask-l-from":P()}],"mask-image-l-to-color":[{"mask-l-to":P()}],"mask-image-x-from-pos":[{"mask-x-from":M()}],"mask-image-x-to-pos":[{"mask-x-to":M()}],"mask-image-x-from-color":[{"mask-x-from":P()}],"mask-image-x-to-color":[{"mask-x-to":P()}],"mask-image-y-from-pos":[{"mask-y-from":M()}],"mask-image-y-to-pos":[{"mask-y-to":M()}],"mask-image-y-from-color":[{"mask-y-from":P()}],"mask-image-y-to-color":[{"mask-y-to":P()}],"mask-image-radial":[{"mask-radial":[_,L]}],"mask-image-radial-from-pos":[{"mask-radial-from":M()}],"mask-image-radial-to-pos":[{"mask-radial-to":M()}],"mask-image-radial-from-color":[{"mask-radial-from":P()}],"mask-image-radial-to-color":[{"mask-radial-to":P()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":E()}],"mask-image-conic-pos":[{"mask-conic":[ee]}],"mask-image-conic-from-pos":[{"mask-conic-from":M()}],"mask-image-conic-to-pos":[{"mask-conic-to":M()}],"mask-image-conic-from-color":[{"mask-conic-from":P()}],"mask-image-conic-to-color":[{"mask-conic-to":P()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:V()}],"mask-repeat":[{mask:O()}],"mask-size":[{mask:k()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",_,L]}],filter:[{filter:["","none",_,L]}],blur:[{blur:Q()}],brightness:[{brightness:[ee,_,L]}],contrast:[{contrast:[ee,_,L]}],"drop-shadow":[{"drop-shadow":["","none",h,br,gr]}],"drop-shadow-color":[{"drop-shadow":P()}],grayscale:[{grayscale:["",ee,_,L]}],"hue-rotate":[{"hue-rotate":[ee,_,L]}],invert:[{invert:["",ee,_,L]}],saturate:[{saturate:[ee,_,L]}],sepia:[{sepia:["",ee,_,L]}],"backdrop-filter":[{"backdrop-filter":["","none",_,L]}],"backdrop-blur":[{"backdrop-blur":Q()}],"backdrop-brightness":[{"backdrop-brightness":[ee,_,L]}],"backdrop-contrast":[{"backdrop-contrast":[ee,_,L]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ee,_,L]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ee,_,L]}],"backdrop-invert":[{"backdrop-invert":["",ee,_,L]}],"backdrop-opacity":[{"backdrop-opacity":[ee,_,L]}],"backdrop-saturate":[{"backdrop-saturate":[ee,_,L]}],"backdrop-sepia":[{"backdrop-sepia":["",ee,_,L]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":R()}],"border-spacing-x":[{"border-spacing-x":R()}],"border-spacing-y":[{"border-spacing-y":R()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",_,L]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ee,"initial",_,L]}],ease:[{ease:["linear","initial",w,_,L]}],delay:[{delay:[ee,_,L]}],animate:[{animate:["none",C,_,L]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,_,L]}],"perspective-origin":[{"perspective-origin":v()}],rotate:[{rotate:X()}],"rotate-x":[{"rotate-x":X()}],"rotate-y":[{"rotate-y":X()}],"rotate-z":[{"rotate-z":X()}],scale:[{scale:Z()}],"scale-x":[{"scale-x":Z()}],"scale-y":[{"scale-y":Z()}],"scale-z":[{"scale-z":Z()}],"scale-3d":["scale-3d"],skew:[{skew:ge()}],"skew-x":[{"skew-x":ge()}],"skew-y":[{"skew-y":ge()}],transform:[{transform:[_,L,"","none","gpu","cpu"]}],"transform-origin":[{origin:v()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:F()}],"translate-x":[{"translate-x":F()}],"translate-y":[{"translate-y":F()}],"translate-z":[{"translate-z":F()}],"translate-none":["translate-none"],accent:[{accent:P()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:P()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",_,L]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":R()}],"scroll-mx":[{"scroll-mx":R()}],"scroll-my":[{"scroll-my":R()}],"scroll-ms":[{"scroll-ms":R()}],"scroll-me":[{"scroll-me":R()}],"scroll-mt":[{"scroll-mt":R()}],"scroll-mr":[{"scroll-mr":R()}],"scroll-mb":[{"scroll-mb":R()}],"scroll-ml":[{"scroll-ml":R()}],"scroll-p":[{"scroll-p":R()}],"scroll-px":[{"scroll-px":R()}],"scroll-py":[{"scroll-py":R()}],"scroll-ps":[{"scroll-ps":R()}],"scroll-pe":[{"scroll-pe":R()}],"scroll-pt":[{"scroll-pt":R()}],"scroll-pr":[{"scroll-pr":R()}],"scroll-pb":[{"scroll-pb":R()}],"scroll-pl":[{"scroll-pl":R()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",_,L]}],fill:[{fill:["none",...P()]}],"stroke-w":[{stroke:[ee,Nn,Lt,po]}],stroke:[{stroke:["none",...P()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},fn=Ff(Xf);function kl(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=kl(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Qn(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=kl(e))&&(r&&(r+=" "),r+=t);return r}function ve(...e){return fn(Qn(e))}const Al=typeof document<"u"?d.useLayoutEffect:()=>{};function Jf(e){const t=d.useRef(null);return Al(()=>{t.current=e},[e]),d.useCallback((...n)=>{const r=t.current;return r==null?void 0:r(...n)},[])}const Nt=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},jt=e=>e&&"window"in e&&e.window===e?e:Nt(e).defaultView||window;function Zf(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function ed(e){return Zf(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let td=!1;function Us(){return td}function Rl(e,t){if(!Us())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let n=t;for(;n!==null;){if(n===e)return!0;n.tagName==="SLOT"&&n.assignedSlot?n=n.assignedSlot.parentNode:ed(n)?n=n.host:n=n.parentNode}return!1}const rs=(e=document)=>{var t;if(!Us())return e.activeElement;let n=e.activeElement;for(;n&&"shadowRoot"in n&&(!((t=n.shadowRoot)===null||t===void 0)&&t.activeElement);)n=n.shadowRoot.activeElement;return n};function $l(e){return Us()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}function Ur(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(n=>e.test(n.brand)))||e.test(window.navigator.userAgent)}function Bs(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function ct(e){if(process.env.NODE_ENV==="test")return e;let t=null;return()=>(t==null&&(t=e()),t)}const Ws=ct(function(){return Bs(/^Mac/i)}),nd=ct(function(){return Bs(/^iPhone/i)}),rd=ct(function(){return Bs(/^iPad/i)||Ws()&&navigator.maxTouchPoints>1}),od=ct(function(){return nd()||rd()});ct(function(){return Ws()||od()});ct(function(){return Ur(/AppleWebKit/i)&&!sd()});const sd=ct(function(){return Ur(/Chrome/i)}),ad=ct(function(){return Ur(/Android/i)});ct(function(){return Ur(/Firefox/i)});function Fl(){let e=d.useRef(new Map),t=d.useCallback((o,s,a,i)=>{let l=i!=null&&i.once?(...c)=>{e.current.delete(a),a(...c)}:a;e.current.set(a,{type:s,eventTarget:o,fn:l,options:i}),o.addEventListener(s,l,i)},[]),n=d.useCallback((o,s,a,i)=>{var l;let c=((l=e.current.get(a))===null||l===void 0?void 0:l.fn)||a;o.removeEventListener(s,c,i),e.current.delete(a)},[]),r=d.useCallback(()=>{e.current.forEach((o,s)=>{n(o.eventTarget,o.type,s,o.options)})},[n]);return d.useEffect(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}function id(e){return e.mozInputSource===0&&e.isTrusted?!0:ad()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function Il(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function ld(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function Ml(e){let t=d.useRef({isFocused:!1,observer:null});Al(()=>{const r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]);let n=Jf(r=>{e==null||e(r)});return d.useCallback(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){t.current.isFocused=!0;let o=r.target,s=a=>{if(t.current.isFocused=!1,o.disabled){let i=Il(a);n(i)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};o.addEventListener("focusout",s,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&o.disabled){var a;(a=t.current.observer)===null||a===void 0||a.disconnect();let i=o===document.activeElement?null:document.activeElement;o.dispatchEvent(new FocusEvent("blur",{relatedTarget:i})),o.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:i}))}}),t.current.observer.observe(o,{attributes:!0,attributeFilter:["disabled"]})}},[n])}let cd=!1,ir=null,os=new Set,Bn=new Map,Zt=!1,ss=!1;const ud={Tab:!0,Escape:!0};function qs(e,t){for(let n of os)n(e,t)}function fd(e){return!(e.metaKey||!Ws()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Fr(e){Zt=!0,fd(e)&&(ir="keyboard",qs("keyboard",e))}function Ne(e){ir="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Zt=!0,qs("pointer",e))}function Nl(e){id(e)&&(Zt=!0,ir="virtual")}function Ll(e){e.target===window||e.target===document||cd||!e.isTrusted||(!Zt&&!ss&&(ir="virtual",qs("virtual",e)),Zt=!1,ss=!1)}function _l(){Zt=!1,ss=!0}function as(e){if(typeof window>"u"||typeof document>"u"||Bn.get(jt(e)))return;const t=jt(e),n=Nt(e);let r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){Zt=!0,r.apply(this,arguments)},n.addEventListener("keydown",Fr,!0),n.addEventListener("keyup",Fr,!0),n.addEventListener("click",Nl,!0),t.addEventListener("focus",Ll,!0),t.addEventListener("blur",_l,!1),typeof PointerEvent<"u"?(n.addEventListener("pointerdown",Ne,!0),n.addEventListener("pointermove",Ne,!0),n.addEventListener("pointerup",Ne,!0)):process.env.NODE_ENV==="test"&&(n.addEventListener("mousedown",Ne,!0),n.addEventListener("mousemove",Ne,!0),n.addEventListener("mouseup",Ne,!0)),t.addEventListener("beforeunload",()=>{Dl(e)},{once:!0}),Bn.set(t,{focus:r})}const Dl=(e,t)=>{const n=jt(e),r=Nt(e);t&&r.removeEventListener("DOMContentLoaded",t),Bn.has(n)&&(n.HTMLElement.prototype.focus=Bn.get(n).focus,r.removeEventListener("keydown",Fr,!0),r.removeEventListener("keyup",Fr,!0),r.removeEventListener("click",Nl,!0),n.removeEventListener("focus",Ll,!0),n.removeEventListener("blur",_l,!1),typeof PointerEvent<"u"?(r.removeEventListener("pointerdown",Ne,!0),r.removeEventListener("pointermove",Ne,!0),r.removeEventListener("pointerup",Ne,!0)):process.env.NODE_ENV==="test"&&(r.removeEventListener("mousedown",Ne,!0),r.removeEventListener("mousemove",Ne,!0),r.removeEventListener("mouseup",Ne,!0)),Bn.delete(n))};function dd(e){const t=Nt(e);let n;return t.readyState!=="loading"?as(e):(n=()=>{as(e)},t.addEventListener("DOMContentLoaded",n)),()=>Dl(e,n)}typeof document<"u"&&dd();function jl(){return ir!=="pointer"}const hd=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function pd(e,t,n){let r=Nt(n==null?void 0:n.target);const o=typeof window<"u"?jt(n==null?void 0:n.target).HTMLInputElement:HTMLInputElement,s=typeof window<"u"?jt(n==null?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,a=typeof window<"u"?jt(n==null?void 0:n.target).HTMLElement:HTMLElement,i=typeof window<"u"?jt(n==null?void 0:n.target).KeyboardEvent:KeyboardEvent;return e=e||r.activeElement instanceof o&&!hd.has(r.activeElement.type)||r.activeElement instanceof s||r.activeElement instanceof a&&r.activeElement.isContentEditable,!(e&&t==="keyboard"&&n instanceof i&&!ud[n.key])}function md(e,t,n){as(),d.useEffect(()=>{let r=(o,s)=>{pd(!!(n!=null&&n.isTextInput),o,s)&&e(jl())};return os.add(r),()=>{os.delete(r)}},t)}function gd(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:o}=e;const s=d.useCallback(l=>{if(l.target===l.currentTarget)return r&&r(l),o&&o(!1),!0},[r,o]),a=Ml(s),i=d.useCallback(l=>{const c=Nt(l.target),u=c?rs(c):rs();l.target===l.currentTarget&&u===$l(l.nativeEvent)&&(n&&n(l),o&&o(!0),a(l))},[o,n,a]);return{focusProps:{onFocus:!t&&(n||o||r)?i:void 0,onBlur:!t&&(r||o)?s:void 0}}}function bd(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:o}=e,s=d.useRef({isFocusWithin:!1}),{addGlobalListener:a,removeAllGlobalListeners:i}=Fl(),l=d.useCallback(f=>{f.currentTarget.contains(f.target)&&s.current.isFocusWithin&&!f.currentTarget.contains(f.relatedTarget)&&(s.current.isFocusWithin=!1,i(),n&&n(f),o&&o(!1))},[n,o,s,i]),c=Ml(l),u=d.useCallback(f=>{if(!f.currentTarget.contains(f.target))return;const p=Nt(f.target),h=rs(p);if(!s.current.isFocusWithin&&h===$l(f.nativeEvent)){r&&r(f),o&&o(!0),s.current.isFocusWithin=!0,c(f);let y=f.currentTarget;a(p,"focus",g=>{if(s.current.isFocusWithin&&!Rl(y,g.target)){let b=new p.defaultView.FocusEvent("blur",{relatedTarget:g.target});ld(b,y);let w=Il(b);l(w)}},{capture:!0})}},[r,o,c,a,l]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:u,onBlur:l}}}let Ir=!1,mo=0;function is(){Ir=!0,setTimeout(()=>{Ir=!1},50)}function Pa(e){e.pointerType==="touch"&&is()}function yd(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",Pa):process.env.NODE_ENV==="test"&&document.addEventListener("touchend",is),mo++,()=>{mo--,!(mo>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",Pa):process.env.NODE_ENV==="test"&&document.removeEventListener("touchend",is))}}function vd(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:o}=e,[s,a]=d.useState(!1),i=d.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;d.useEffect(yd,[]);let{addGlobalListener:l,removeAllGlobalListeners:c}=Fl(),{hoverProps:u,triggerHoverEnd:f}=d.useMemo(()=>{let p=(g,b)=>{if(i.pointerType=b,o||b==="touch"||i.isHovered||!g.currentTarget.contains(g.target))return;i.isHovered=!0;let w=g.currentTarget;i.target=w,l(Nt(g.target),"pointerover",C=>{i.isHovered&&i.target&&!Rl(i.target,C.target)&&h(C,C.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:w,pointerType:b}),n&&n(!0),a(!0)},h=(g,b)=>{let w=i.target;i.pointerType="",i.target=null,!(b==="touch"||!i.isHovered||!w)&&(i.isHovered=!1,c(),r&&r({type:"hoverend",target:w,pointerType:b}),n&&n(!1),a(!1))},y={};return typeof PointerEvent<"u"?(y.onPointerEnter=g=>{Ir&&g.pointerType==="mouse"||p(g,g.pointerType)},y.onPointerLeave=g=>{!o&&g.currentTarget.contains(g.target)&&h(g,g.pointerType)}):process.env.NODE_ENV==="test"&&(y.onTouchStart=()=>{i.ignoreEmulatedMouseEvents=!0},y.onMouseEnter=g=>{!i.ignoreEmulatedMouseEvents&&!Ir&&p(g,"mouse"),i.ignoreEmulatedMouseEvents=!1},y.onMouseLeave=g=>{!o&&g.currentTarget.contains(g.target)&&h(g,"mouse")}),{hoverProps:y,triggerHoverEnd:h}},[t,n,r,o,i,l,c]);return d.useEffect(()=>{o&&f({currentTarget:i.target},i.pointerType)},[o]),{hoverProps:u,isHovered:s}}function xd(e={}){let{autoFocus:t=!1,isTextInput:n,within:r}=e,o=d.useRef({isFocused:!1,isFocusVisible:t||jl()}),[s,a]=d.useState(!1),[i,l]=d.useState(()=>o.current.isFocused&&o.current.isFocusVisible),c=d.useCallback(()=>l(o.current.isFocused&&o.current.isFocusVisible),[]),u=d.useCallback(h=>{o.current.isFocused=h,a(h),c()},[c]);md(h=>{o.current.isFocusVisible=h,c()},[],{isTextInput:n});let{focusProps:f}=gd({isDisabled:r,onFocusChange:u}),{focusWithinProps:p}=bd({isDisabled:!r,onFocusWithinChange:u});return{isFocused:s,isFocusVisible:i,focusProps:r?p:f}}var wd=Object.defineProperty,Ed=(e,t,n)=>t in e?wd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,go=(e,t,n)=>(Ed(e,typeof t!="symbol"?t+"":t,n),n);let Cd=class{constructor(){go(this,"current",this.detect()),go(this,"handoffState","pending"),go(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},Qt=new Cd;function Br(e){var t,n;return Qt.isServer?null:e?"ownerDocument"in e?e.ownerDocument:"current"in e?(n=(t=e.current)==null?void 0:t.ownerDocument)!=null?n:document:null:document}function Wr(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function ut(){let e=[],t={addEventListener(n,r,o,s){return n.addEventListener(r,o,s),t.add(()=>n.removeEventListener(r,o,s))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(...n){let r=setTimeout(...n);return t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return Wr(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,o){let s=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:o}),this.add(()=>{Object.assign(n.style,{[r]:s})})},group(n){let r=ut();return n(r),this.add(()=>r.dispose())},add(n){return e.includes(n)||e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let o of e.splice(r,1))o()}},dispose(){for(let n of e.splice(0))n()}};return t}function Vs(){let[e]=d.useState(ut);return d.useEffect(()=>()=>e.dispose(),[e]),e}let xe=(e,t)=>{Qt.isServer?d.useEffect(e,t):d.useLayoutEffect(e,t)};function nn(e){let t=d.useRef(e);return xe(()=>{t.current=e},[e]),t}let ce=function(e){let t=nn(e);return d.useCallback((...n)=>t.current(...n),[t])},zl=d.createContext(void 0);function qr(){return d.useContext(zl)}function Od({value:e,children:t}){return d.createElement(zl.Provider,{value:e},t)}function ls(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}function st(e,t,...n){if(e in t){let o=t[e];return typeof o=="function"?o(...n):o}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(o=>`"${o}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,st),r}var Mr=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Mr||{}),Pt=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Pt||{});function Pe(){let e=Td();return d.useCallback(t=>Sd({mergeRefs:e,...t}),[e])}function Sd({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:o,visible:s=!0,name:a,mergeRefs:i}){i=i??Pd;let l=Hl(t,e);if(s)return yr(l,n,r,a,i);let c=o??0;if(c&2){let{static:u=!1,...f}=l;if(u)return yr(f,n,r,a,i)}if(c&1){let{unmount:u=!0,...f}=l;return st(u?0:1,{0(){return null},1(){return yr({...f,hidden:!0,style:{display:"none"}},n,r,a,i)}})}return yr(l,n,r,a,i)}function yr(e,t={},n,r,o){let{as:s=n,children:a,refName:i="ref",...l}=bo(e,["unmount","static"]),c=e.ref!==void 0?{[i]:e.ref}:{},u=typeof a=="function"?a(t):a;"className"in l&&l.className&&typeof l.className=="function"&&(l.className=l.className(t)),l["aria-labelledby"]&&l["aria-labelledby"]===l.id&&(l["aria-labelledby"]=void 0);let f={};if(t){let p=!1,h=[];for(let[y,g]of Object.entries(t))typeof g=="boolean"&&(p=!0),g===!0&&h.push(y.replace(/([A-Z])/g,b=>`-${b.toLowerCase()}`));if(p){f["data-headlessui-state"]=h.join(" ");for(let y of h)f[`data-${y}`]=""}}if(s===d.Fragment&&(Object.keys(_t(l)).length>0||Object.keys(_t(f)).length>0))if(!d.isValidElement(u)||Array.isArray(u)&&u.length>1){if(Object.keys(_t(l)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(_t(l)).concat(Object.keys(_t(f))).map(p=>` - ${p}`).join(`
|
|
2
|
-
|
|
1
|
+
"use strict";var ch=e=>{throw TypeError(e)};var ld=(e,t,r)=>t.has(e)||ch("Cannot "+r);var _=(e,t,r)=>(ld(e,t,"read from private field"),r?r.call(e):t.get(e)),Ie=(e,t,r)=>t.has(e)?ch("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),ge=(e,t,r,i)=>(ld(e,t,"write to private field"),i?i.call(e,r):t.set(e,r),r),Ue=(e,t,r)=>(ld(e,t,"access private method"),r);var du=(e,t,r,i)=>({set _(a){ge(e,t,a,r)},get _(){return _(e,t,i)}});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("react/jsx-runtime"),A=require("react"),Uu=require("react-dom");function tg(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const pe=tg(A),jy=tg(Uu);function Ny(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ei={},ia={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-dom-server-legacy.browser.production.min.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var uh;function zy(){if(uh)return ia;uh=1;var e=A;function t(f){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+f,E=1;E<arguments.length;E++)b+="&args[]="+encodeURIComponent(arguments[E]);return"Minified React error #"+f+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=Object.prototype.hasOwnProperty,i=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,a={},u={};function p(f){return r.call(u,f)?!0:r.call(a,f)?!1:i.test(f)?u[f]=!0:(a[f]=!0,!1)}function m(f,b,E,P,H,N,G){this.acceptsBooleans=b===2||b===3||b===4,this.attributeName=P,this.attributeNamespace=H,this.mustUseProperty=E,this.propertyName=f,this.type=b,this.sanitizeURL=N,this.removeEmptyString=G}var h={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(f){h[f]=new m(f,0,!1,f,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(f){var b=f[0];h[b]=new m(b,1,!1,f[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(f){h[f]=new m(f,2,!1,f.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(f){h[f]=new m(f,2,!1,f,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(f){h[f]=new m(f,3,!1,f.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(f){h[f]=new m(f,3,!0,f,null,!1,!1)}),["capture","download"].forEach(function(f){h[f]=new m(f,4,!1,f,null,!1,!1)}),["cols","rows","size","span"].forEach(function(f){h[f]=new m(f,6,!1,f,null,!1,!1)}),["rowSpan","start"].forEach(function(f){h[f]=new m(f,5,!1,f.toLowerCase(),null,!1,!1)});var v=/[\-:]([a-z])/g;function C(f){return f[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(f){var b=f.replace(v,C);h[b]=new m(b,1,!1,f,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(f){var b=f.replace(v,C);h[b]=new m(b,1,!1,f,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(f){var b=f.replace(v,C);h[b]=new m(b,1,!1,f,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(f){h[f]=new m(f,1,!1,f.toLowerCase(),null,!1,!1)}),h.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(f){h[f]=new m(f,1,!1,f.toLowerCase(),null,!0,!0)});var x={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},F=["Webkit","ms","Moz","O"];Object.keys(x).forEach(function(f){F.forEach(function(b){b=b+f.charAt(0).toUpperCase()+f.substring(1),x[b]=x[f]})});var I=/["'&<>]/;function L(f){if(typeof f=="boolean"||typeof f=="number")return""+f;f=""+f;var b=I.exec(f);if(b){var E="",P,H=0;for(P=b.index;P<f.length;P++){switch(f.charCodeAt(P)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}H!==P&&(E+=f.substring(H,P)),H=P+1,E+=b}f=H!==P?E+f.substring(H,P):E}return f}var D=/([A-Z])/g,T=/^ms-/,O=Array.isArray;function U(f,b){return{insertionMode:f,selectedValue:b}}function j(f,b,E){switch(b){case"select":return U(1,E.value!=null?E.value:E.defaultValue);case"svg":return U(2,null);case"math":return U(3,null);case"foreignObject":return U(1,null);case"table":return U(4,null);case"thead":case"tbody":case"tfoot":return U(5,null);case"colgroup":return U(7,null);case"tr":return U(6,null)}return 4<=f.insertionMode||f.insertionMode===0?U(1,null):f}var V=new Map;function $(f,b,E){if(typeof E!="object")throw Error(t(62));b=!0;for(var P in E)if(r.call(E,P)){var H=E[P];if(H!=null&&typeof H!="boolean"&&H!==""){if(P.indexOf("--")===0){var N=L(P);H=L((""+H).trim())}else{N=P;var G=V.get(N);G!==void 0||(G=L(N.replace(D,"-$1").toLowerCase().replace(T,"-ms-")),V.set(N,G)),N=G,H=typeof H=="number"?H===0||r.call(x,P)?""+H:H+"px":L((""+H).trim())}b?(b=!1,f.push(' style="',N,":",H)):f.push(";",N,":",H)}}b||f.push('"')}function J(f,b,E,P){switch(E){case"style":$(f,b,P);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<E.length)||E[0]!=="o"&&E[0]!=="O"||E[1]!=="n"&&E[1]!=="N"){if(b=h.hasOwnProperty(E)?h[E]:null,b!==null){switch(typeof P){case"function":case"symbol":return;case"boolean":if(!b.acceptsBooleans)return}switch(E=b.attributeName,b.type){case 3:P&&f.push(" ",E,'=""');break;case 4:P===!0?f.push(" ",E,'=""'):P!==!1&&f.push(" ",E,'="',L(P),'"');break;case 5:isNaN(P)||f.push(" ",E,'="',L(P),'"');break;case 6:!isNaN(P)&&1<=P&&f.push(" ",E,'="',L(P),'"');break;default:b.sanitizeURL&&(P=""+P),f.push(" ",E,'="',L(P),'"')}}else if(p(E)){switch(typeof P){case"function":case"symbol":return;case"boolean":if(b=E.toLowerCase().slice(0,5),b!=="data-"&&b!=="aria-")return}f.push(" ",E,'="',L(P),'"')}}}function ae(f,b,E){if(b!=null){if(E!=null)throw Error(t(60));if(typeof b!="object"||!("__html"in b))throw Error(t(61));b=b.__html,b!=null&&f.push(""+b)}}function ne(f){var b="";return e.Children.forEach(f,function(E){E!=null&&(b+=E)}),b}function le(f,b,E,P){f.push(Fe(E));var H=E=null,N;for(N in b)if(r.call(b,N)){var G=b[N];if(G!=null)switch(N){case"children":E=G;break;case"dangerouslySetInnerHTML":H=G;break;default:J(f,P,N,G)}}return f.push(">"),ae(f,H,E),typeof E=="string"?(f.push(L(E)),null):E}var ye=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,De=new Map;function Fe(f){var b=De.get(f);if(b===void 0){if(!ye.test(f))throw Error(t(65,f));b="<"+f,De.set(f,b)}return b}function $e(f,b,E,P,H){switch(b){case"select":f.push(Fe("select"));var N=null,G=null;for(Ce in E)if(r.call(E,Ce)){var re=E[Ce];if(re!=null)switch(Ce){case"children":N=re;break;case"dangerouslySetInnerHTML":G=re;break;case"defaultValue":case"value":break;default:J(f,P,Ce,re)}}return f.push(">"),ae(f,G,N),N;case"option":G=H.selectedValue,f.push(Fe("option"));var ke=re=null,Ae=null,Ce=null;for(N in E)if(r.call(E,N)){var Ve=E[N];if(Ve!=null)switch(N){case"children":re=Ve;break;case"selected":Ae=Ve;break;case"dangerouslySetInnerHTML":Ce=Ve;break;case"value":ke=Ve;default:J(f,P,N,Ve)}}if(G!=null)if(E=ke!==null?""+ke:ne(re),O(G)){for(P=0;P<G.length;P++)if(""+G[P]===E){f.push(' selected=""');break}}else""+G===E&&f.push(' selected=""');else Ae&&f.push(' selected=""');return f.push(">"),ae(f,Ce,re),re;case"textarea":f.push(Fe("textarea")),Ce=G=N=null;for(re in E)if(r.call(E,re)&&(ke=E[re],ke!=null))switch(re){case"children":Ce=ke;break;case"value":N=ke;break;case"defaultValue":G=ke;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:J(f,P,re,ke)}if(N===null&&G!==null&&(N=G),f.push(">"),Ce!=null){if(N!=null)throw Error(t(92));if(O(Ce)&&1<Ce.length)throw Error(t(93));N=""+Ce}return typeof N=="string"&&N[0]===`
|
|
10
|
+
`&&f.push(`
|
|
11
|
+
`),N!==null&&f.push(L(""+N)),null;case"input":f.push(Fe("input")),ke=Ce=re=N=null;for(G in E)if(r.call(E,G)&&(Ae=E[G],Ae!=null))switch(G){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":ke=Ae;break;case"defaultValue":re=Ae;break;case"checked":Ce=Ae;break;case"value":N=Ae;break;default:J(f,P,G,Ae)}return Ce!==null?J(f,P,"checked",Ce):ke!==null&&J(f,P,"checked",ke),N!==null?J(f,P,"value",N):re!==null&&J(f,P,"value",re),f.push("/>"),null;case"menuitem":f.push(Fe("menuitem"));for(var Et in E)if(r.call(E,Et)&&(N=E[Et],N!=null))switch(Et){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:J(f,P,Et,N)}return f.push(">"),null;case"title":f.push(Fe("title")),N=null;for(Ve in E)if(r.call(E,Ve)&&(G=E[Ve],G!=null))switch(Ve){case"children":N=G;break;case"dangerouslySetInnerHTML":throw Error(t(434));default:J(f,P,Ve,G)}return f.push(">"),N;case"listing":case"pre":f.push(Fe(b)),G=N=null;for(ke in E)if(r.call(E,ke)&&(re=E[ke],re!=null))switch(ke){case"children":N=re;break;case"dangerouslySetInnerHTML":G=re;break;default:J(f,P,ke,re)}if(f.push(">"),G!=null){if(N!=null)throw Error(t(60));if(typeof G!="object"||!("__html"in G))throw Error(t(61));E=G.__html,E!=null&&(typeof E=="string"&&0<E.length&&E[0]===`
|
|
12
|
+
`?f.push(`
|
|
13
|
+
`,E):f.push(""+E))}return typeof N=="string"&&N[0]===`
|
|
14
|
+
`&&f.push(`
|
|
15
|
+
`),N;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":f.push(Fe(b));for(var Ct in E)if(r.call(E,Ct)&&(N=E[Ct],N!=null))switch(Ct){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,b));default:J(f,P,Ct,N)}return f.push("/>"),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return le(f,E,b,P);case"html":return H.insertionMode===0&&f.push("<!DOCTYPE html>"),le(f,E,b,P);default:if(b.indexOf("-")===-1&&typeof E.is!="string")return le(f,E,b,P);f.push(Fe(b)),G=N=null;for(Ae in E)if(r.call(E,Ae)&&(re=E[Ae],re!=null))switch(Ae){case"children":N=re;break;case"dangerouslySetInnerHTML":G=re;break;case"style":$(f,P,re);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:p(Ae)&&typeof re!="function"&&typeof re!="symbol"&&f.push(" ",Ae,'="',L(re),'"')}return f.push(">"),ae(f,G,N),N}}function ze(f,b,E){if(f.push('<!--$?--><template id="'),E===null)throw Error(t(395));return f.push(E),f.push('"></template>')}function xe(f,b,E,P){switch(E.insertionMode){case 0:case 1:return f.push('<div hidden id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 2:return f.push('<svg aria-hidden="true" style="display:none" id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 3:return f.push('<math aria-hidden="true" style="display:none" id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 4:return f.push('<table hidden id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 5:return f.push('<table hidden><tbody id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 6:return f.push('<table hidden><tr id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 7:return f.push('<table hidden><colgroup id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');default:throw Error(t(397))}}function Re(f,b){switch(b.insertionMode){case 0:case 1:return f.push("</div>");case 2:return f.push("</svg>");case 3:return f.push("</math>");case 4:return f.push("</table>");case 5:return f.push("</tbody></table>");case 6:return f.push("</tr></table>");case 7:return f.push("</colgroup></table>");default:throw Error(t(397))}}var Le=/[<\u2028\u2029]/g;function Z(f){return JSON.stringify(f).replace(Le,function(b){switch(b){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function ve(f,b){return b=b===void 0?"":b,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:b+"P:",segmentPrefix:b+"S:",boundaryPrefix:b+"B:",idPrefix:b,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:f}}function Y(f,b,E,P){return E.generateStaticMarkup?(f.push(L(b)),!1):(b===""?f=P:(P&&f.push("<!-- -->"),f.push(L(b)),f=!0),f)}var K=Object.assign,fe=Symbol.for("react.element"),te=Symbol.for("react.portal"),he=Symbol.for("react.fragment"),me=Symbol.for("react.strict_mode"),ce=Symbol.for("react.profiler"),ue=Symbol.for("react.provider"),Ee=Symbol.for("react.context"),Se=Symbol.for("react.forward_ref"),Pe=Symbol.for("react.suspense"),Be=Symbol.for("react.suspense_list"),se=Symbol.for("react.memo"),We=Symbol.for("react.lazy"),ot=Symbol.for("react.scope"),Nt=Symbol.for("react.debug_trace_mode"),Un=Symbol.for("react.legacy_hidden"),xo=Symbol.for("react.default_value"),zt=Symbol.iterator;function Hn(f){if(f==null)return null;if(typeof f=="function")return f.displayName||f.name||null;if(typeof f=="string")return f;switch(f){case he:return"Fragment";case te:return"Portal";case ce:return"Profiler";case me:return"StrictMode";case Pe:return"Suspense";case Be:return"SuspenseList"}if(typeof f=="object")switch(f.$$typeof){case Ee:return(f.displayName||"Context")+".Consumer";case ue:return(f._context.displayName||"Context")+".Provider";case Se:var b=f.render;return f=f.displayName,f||(f=b.displayName||b.name||"",f=f!==""?"ForwardRef("+f+")":"ForwardRef"),f;case se:return b=f.displayName||null,b!==null?b:Hn(f.type)||"Memo";case We:b=f._payload,f=f._init;try{return Hn(f(b))}catch{}}return null}var Wn={};function So(f,b){if(f=f.contextTypes,!f)return Wn;var E={},P;for(P in f)E[P]=b[P];return E}var Bt=null;function gt(f,b){if(f!==b){f.context._currentValue2=f.parentValue,f=f.parent;var E=b.parent;if(f===null){if(E!==null)throw Error(t(401))}else{if(E===null)throw Error(t(401));gt(f,E)}b.context._currentValue2=b.value}}function ft(f){f.context._currentValue2=f.parentValue,f=f.parent,f!==null&&ft(f)}function Ir(f){var b=f.parent;b!==null&&Ir(b),f.context._currentValue2=f.value}function Fr(f,b){if(f.context._currentValue2=f.parentValue,f=f.parent,f===null)throw Error(t(402));f.depth===b.depth?gt(f,b):Fr(f,b)}function Mr(f,b){var E=b.parent;if(E===null)throw Error(t(402));f.depth===E.depth?gt(f,E):Mr(f,E),b.context._currentValue2=b.value}function st(f){var b=Bt;b!==f&&(b===null?Ir(f):f===null?ft(b):b.depth===f.depth?gt(b,f):b.depth>f.depth?Fr(b,f):Mr(b,f),Bt=f)}var Dr={isMounted:function(){return!1},enqueueSetState:function(f,b){f=f._reactInternals,f.queue!==null&&f.queue.push(b)},enqueueReplaceState:function(f,b){f=f._reactInternals,f.replace=!0,f.queue=[b]},enqueueForceUpdate:function(){}};function ko(f,b,E,P){var H=f.state!==void 0?f.state:null;f.updater=Dr,f.props=E,f.state=H;var N={queue:[],replace:!1};f._reactInternals=N;var G=b.contextType;if(f.context=typeof G=="object"&&G!==null?G._currentValue2:P,G=b.getDerivedStateFromProps,typeof G=="function"&&(G=G(E,H),H=G==null?H:K({},H,G),f.state=H),typeof b.getDerivedStateFromProps!="function"&&typeof f.getSnapshotBeforeUpdate!="function"&&(typeof f.UNSAFE_componentWillMount=="function"||typeof f.componentWillMount=="function"))if(b=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),b!==f.state&&Dr.enqueueReplaceState(f,f.state,null),N.queue!==null&&0<N.queue.length)if(b=N.queue,G=N.replace,N.queue=null,N.replace=!1,G&&b.length===1)f.state=b[0];else{for(N=G?b[0]:f.state,H=!0,G=G?1:0;G<b.length;G++){var re=b[G];re=typeof re=="function"?re.call(f,N,E,P):re,re!=null&&(H?(H=!1,N=K({},N,re)):K(N,re))}f.state=N}else N.queue=null}var Eo={id:1,overflow:""};function _r(f,b,E){var P=f.id;f=f.overflow;var H=32-lr(P)-1;P&=~(1<<H),E+=1;var N=32-lr(b)+H;if(30<N){var G=H-H%5;return N=(P&(1<<G)-1).toString(32),P>>=G,H-=G,{id:1<<32-lr(b)+H|E<<H|P,overflow:N+f}}return{id:1<<N|E<<H|P,overflow:f}}var lr=Math.clz32?Math.clz32:kn,Ei=Math.log,Lr=Math.LN2;function kn(f){return f>>>=0,f===0?32:31-(Ei(f)/Lr|0)|0}function $r(f,b){return f===b&&(f!==0||1/f===1/b)||f!==f&&b!==b}var Co=typeof Object.is=="function"?Object.is:$r,xt=null,tn=null,En=null,Qe=null,Cn=!1,cr=!1,Vn=0,nn=null,ur=0;function mn(){if(xt===null)throw Error(t(321));return xt}function dt(){if(0<ur)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function jr(){return Qe===null?En===null?(Cn=!1,En=Qe=dt()):(Cn=!0,Qe=En):Qe.next===null?(Cn=!1,Qe=Qe.next=dt()):(Cn=!0,Qe=Qe.next),Qe}function Nr(){tn=xt=null,cr=!1,En=null,ur=0,Qe=nn=null}function To(f,b){return typeof b=="function"?b(f):b}function lt(f,b,E){if(xt=mn(),Qe=jr(),Cn){var P=Qe.queue;if(b=P.dispatch,nn!==null&&(E=nn.get(P),E!==void 0)){nn.delete(P),P=Qe.memoizedState;do P=f(P,E.action),E=E.next;while(E!==null);return Qe.memoizedState=P,[P,b]}return[Qe.memoizedState,b]}return f=f===To?typeof b=="function"?b():b:E!==void 0?E(b):b,Qe.memoizedState=f,f=Qe.queue={last:null,dispatch:null},f=f.dispatch=Ci.bind(null,xt,f),[Qe.memoizedState,f]}function zr(f,b){if(xt=mn(),Qe=jr(),b=b===void 0?null:b,Qe!==null){var E=Qe.memoizedState;if(E!==null&&b!==null){var P=E[1];e:if(P===null)P=!1;else{for(var H=0;H<P.length&&H<b.length;H++)if(!Co(b[H],P[H])){P=!1;break e}P=!0}if(P)return E[0]}}return f=f(),Qe.memoizedState=[f,b],f}function Ci(f,b,E){if(25<=ur)throw Error(t(301));if(f===xt)if(cr=!0,f={action:E,next:null},nn===null&&(nn=new Map),E=nn.get(b),E===void 0)nn.set(b,f);else{for(b=E;b.next!==null;)b=b.next;b.next=f}}function Ti(){throw Error(t(394))}function rn(){}var Br={readContext:function(f){return f._currentValue2},useContext:function(f){return mn(),f._currentValue2},useMemo:zr,useReducer:lt,useRef:function(f){xt=mn(),Qe=jr();var b=Qe.memoizedState;return b===null?(f={current:f},Qe.memoizedState=f):b},useState:function(f){return lt(To,f)},useInsertionEffect:rn,useLayoutEffect:function(){},useCallback:function(f,b){return zr(function(){return f},b)},useImperativeHandle:rn,useEffect:rn,useDebugValue:rn,useDeferredValue:function(f){return mn(),f},useTransition:function(){return mn(),[!1,Ti]},useId:function(){var f=tn.treeContext,b=f.overflow;f=f.id,f=(f&~(1<<32-lr(f)-1)).toString(32)+b;var E=fr;if(E===null)throw Error(t(404));return b=Vn++,f=":"+E.idPrefix+"R"+f,0<b&&(f+="H"+b.toString(32)),f+":"},useMutableSource:function(f,b){return mn(),b(f._source)},useSyncExternalStore:function(f,b,E){if(E===void 0)throw Error(t(407));return E()}},fr=null,Tn=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Rt(f){return console.error(f),null}function on(){}function dr(f,b,E,P,H,N,G,re,ke){var Ae=[],Ce=new Set;return b={destination:null,responseState:b,progressiveChunkSize:P===void 0?12800:P,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Ce,pingedTasks:Ae,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:H===void 0?Rt:H,onAllReady:on,onShellReady:G===void 0?on:G,onShellError:on,onFatalError:on},E=Pn(b,0,null,E,!1,!1),E.parentFlushed=!0,f=Rn(b,f,null,E,Ce,Wn,null,Eo),Ae.push(f),b}function Rn(f,b,E,P,H,N,G,re){f.allPendingTasks++,E===null?f.pendingRootTasks++:E.pendingTasks++;var ke={node:b,ping:function(){var Ae=f.pingedTasks;Ae.push(ke),Ae.length===1&&St(f)},blockedBoundary:E,blockedSegment:P,abortSet:H,legacyContext:N,context:G,treeContext:re};return H.add(ke),ke}function Pn(f,b,E,P,H,N){return{status:0,id:-1,index:b,parentFlushed:!1,chunks:[],children:[],formatContext:P,boundary:E,lastPushedText:H,textEmbedded:N}}function an(f,b){if(f=f.onError(b),f!=null&&typeof f!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof f+'" instead');return f}function An(f,b){var E=f.onShellError;E(b),E=f.onFatalError,E(b),f.destination!==null?(f.status=2,f.destination.destroy(b)):(f.status=1,f.fatalError=b)}function Pt(f,b,E,P,H){for(xt={},tn=b,Vn=0,f=E(P,H);cr;)cr=!1,Vn=0,ur+=1,Qe=null,f=E(P,H);return Nr(),f}function Ro(f,b,E,P){var H=E.render(),N=P.childContextTypes;if(N!=null){var G=b.legacyContext;if(typeof E.getChildContext!="function")P=G;else{E=E.getChildContext();for(var re in E)if(!(re in N))throw Error(t(108,Hn(P)||"Unknown",re));P=K({},G,E)}b.legacyContext=P,ct(f,b,H),b.legacyContext=G}else ct(f,b,H)}function Po(f,b){if(f&&f.defaultProps){b=K({},b),f=f.defaultProps;for(var E in f)b[E]===void 0&&(b[E]=f[E]);return b}return b}function gn(f,b,E,P,H){if(typeof E=="function")if(E.prototype&&E.prototype.isReactComponent){H=So(E,b.legacyContext);var N=E.contextType;N=new E(P,typeof N=="object"&&N!==null?N._currentValue2:H),ko(N,E,P,H),Ro(f,b,N,E)}else{N=So(E,b.legacyContext),H=Pt(f,b,E,P,N);var G=Vn!==0;if(typeof H=="object"&&H!==null&&typeof H.render=="function"&&H.$$typeof===void 0)ko(H,E,P,N),Ro(f,b,H,E);else if(G){P=b.treeContext,b.treeContext=_r(P,1,0);try{ct(f,b,H)}finally{b.treeContext=P}}else ct(f,b,H)}else if(typeof E=="string"){switch(H=b.blockedSegment,N=$e(H.chunks,E,P,f.responseState,H.formatContext),H.lastPushedText=!1,G=H.formatContext,H.formatContext=j(G,E,P),ln(f,b,N),H.formatContext=G,E){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:H.chunks.push("</",E,">")}H.lastPushedText=!1}else{switch(E){case Un:case Nt:case me:case ce:case he:ct(f,b,P.children);return;case Be:ct(f,b,P.children);return;case ot:throw Error(t(343));case Pe:e:{E=b.blockedBoundary,H=b.blockedSegment,N=P.fallback,P=P.children,G=new Set;var re={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:G,errorDigest:null},ke=Pn(f,H.chunks.length,re,H.formatContext,!1,!1);H.children.push(ke),H.lastPushedText=!1;var Ae=Pn(f,0,null,H.formatContext,!1,!1);Ae.parentFlushed=!0,b.blockedBoundary=re,b.blockedSegment=Ae;try{if(ln(f,b,P),f.responseState.generateStaticMarkup||Ae.lastPushedText&&Ae.textEmbedded&&Ae.chunks.push("<!-- -->"),Ae.status=1,Ut(re,Ae),re.pendingTasks===0)break e}catch(Ce){Ae.status=4,re.forceClientRender=!0,re.errorDigest=an(f,Ce)}finally{b.blockedBoundary=E,b.blockedSegment=H}b=Rn(f,N,E,ke,G,b.legacyContext,b.context,b.treeContext),f.pingedTasks.push(b)}return}if(typeof E=="object"&&E!==null)switch(E.$$typeof){case Se:if(P=Pt(f,b,E.render,P,H),Vn!==0){E=b.treeContext,b.treeContext=_r(E,1,0);try{ct(f,b,P)}finally{b.treeContext=E}}else ct(f,b,P);return;case se:E=E.type,P=Po(E,P),gn(f,b,E,P,H);return;case ue:if(H=P.children,E=E._context,P=P.value,N=E._currentValue2,E._currentValue2=P,G=Bt,Bt=P={parent:G,depth:G===null?0:G.depth+1,context:E,parentValue:N,value:P},b.context=P,ct(f,b,H),f=Bt,f===null)throw Error(t(403));P=f.parentValue,f.context._currentValue2=P===xo?f.context._defaultValue:P,f=Bt=f.parent,b.context=f;return;case Ee:P=P.children,P=P(E._currentValue2),ct(f,b,P);return;case We:H=E._init,E=H(E._payload),P=Po(E,P),gn(f,b,E,P,void 0);return}throw Error(t(130,E==null?E:typeof E,""))}}function ct(f,b,E){if(b.node=E,typeof E=="object"&&E!==null){switch(E.$$typeof){case fe:gn(f,b,E.type,E.props,E.ref);return;case te:throw Error(t(257));case We:var P=E._init;E=P(E._payload),ct(f,b,E);return}if(O(E)){sn(f,b,E);return}if(E===null||typeof E!="object"?P=null:(P=zt&&E[zt]||E["@@iterator"],P=typeof P=="function"?P:null),P&&(P=P.call(E))){if(E=P.next(),!E.done){var H=[];do H.push(E.value),E=P.next();while(!E.done);sn(f,b,H)}return}throw f=Object.prototype.toString.call(E),Error(t(31,f==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":f))}typeof E=="string"?(P=b.blockedSegment,P.lastPushedText=Y(b.blockedSegment.chunks,E,f.responseState,P.lastPushedText)):typeof E=="number"&&(P=b.blockedSegment,P.lastPushedText=Y(b.blockedSegment.chunks,""+E,f.responseState,P.lastPushedText))}function sn(f,b,E){for(var P=E.length,H=0;H<P;H++){var N=b.treeContext;b.treeContext=_r(N,P,H);try{ln(f,b,E[H])}finally{b.treeContext=N}}}function ln(f,b,E){var P=b.blockedSegment.formatContext,H=b.legacyContext,N=b.context;try{return ct(f,b,E)}catch(ke){if(Nr(),typeof ke=="object"&&ke!==null&&typeof ke.then=="function"){E=ke;var G=b.blockedSegment,re=Pn(f,G.chunks.length,null,G.formatContext,G.lastPushedText,!0);G.children.push(re),G.lastPushedText=!1,f=Rn(f,b.node,b.blockedBoundary,re,b.abortSet,b.legacyContext,b.context,b.treeContext).ping,E.then(f,f),b.blockedSegment.formatContext=P,b.legacyContext=H,b.context=N,st(N)}else throw b.blockedSegment.formatContext=P,b.legacyContext=H,b.context=N,st(N),ke}}function On(f){var b=f.blockedBoundary;f=f.blockedSegment,f.status=3,cn(this,b,f)}function pr(f,b,E){var P=f.blockedBoundary;f.blockedSegment.status=3,P===null?(b.allPendingTasks--,b.status!==2&&(b.status=2,b.destination!==null&&b.destination.push(null))):(P.pendingTasks--,P.forceClientRender||(P.forceClientRender=!0,f=E===void 0?Error(t(432)):E,P.errorDigest=b.onError(f),P.parentFlushed&&b.clientRenderedBoundaries.push(P)),P.fallbackAbortableTasks.forEach(function(H){return pr(H,b,E)}),P.fallbackAbortableTasks.clear(),b.allPendingTasks--,b.allPendingTasks===0&&(P=b.onAllReady,P()))}function Ut(f,b){if(b.chunks.length===0&&b.children.length===1&&b.children[0].boundary===null){var E=b.children[0];E.id=b.id,E.parentFlushed=!0,E.status===1&&Ut(f,E)}else f.completedSegments.push(b)}function cn(f,b,E){if(b===null){if(E.parentFlushed){if(f.completedRootSegment!==null)throw Error(t(389));f.completedRootSegment=E}f.pendingRootTasks--,f.pendingRootTasks===0&&(f.onShellError=on,b=f.onShellReady,b())}else b.pendingTasks--,b.forceClientRender||(b.pendingTasks===0?(E.parentFlushed&&E.status===1&&Ut(b,E),b.parentFlushed&&f.completedBoundaries.push(b),b.fallbackAbortableTasks.forEach(On,f),b.fallbackAbortableTasks.clear()):E.parentFlushed&&E.status===1&&(Ut(b,E),b.completedSegments.length===1&&b.parentFlushed&&f.partialBoundaries.push(b)));f.allPendingTasks--,f.allPendingTasks===0&&(f=f.onAllReady,f())}function St(f){if(f.status!==2){var b=Bt,E=Tn.current;Tn.current=Br;var P=fr;fr=f.responseState;try{var H=f.pingedTasks,N;for(N=0;N<H.length;N++){var G=H[N],re=f,ke=G.blockedSegment;if(ke.status===0){st(G.context);try{ct(re,G,G.node),re.responseState.generateStaticMarkup||ke.lastPushedText&&ke.textEmbedded&&ke.chunks.push("<!-- -->"),G.abortSet.delete(G),ke.status=1,cn(re,G.blockedBoundary,ke)}catch(Tt){if(Nr(),typeof Tt=="object"&&Tt!==null&&typeof Tt.then=="function"){var Ae=G.ping;Tt.then(Ae,Ae)}else{G.abortSet.delete(G),ke.status=4;var Ce=G.blockedBoundary,Ve=Tt,Et=an(re,Ve);if(Ce===null?An(re,Ve):(Ce.pendingTasks--,Ce.forceClientRender||(Ce.forceClientRender=!0,Ce.errorDigest=Et,Ce.parentFlushed&&re.clientRenderedBoundaries.push(Ce))),re.allPendingTasks--,re.allPendingTasks===0){var Ct=re.onAllReady;Ct()}}}finally{}}}H.splice(0,N),f.destination!==null&&kt(f,f.destination)}catch(Tt){an(f,Tt),An(f,Tt)}finally{fr=P,Tn.current=E,E===Br&&st(b)}}}function In(f,b,E){switch(E.parentFlushed=!0,E.status){case 0:var P=E.id=f.nextSegmentId++;return E.lastPushedText=!1,E.textEmbedded=!1,f=f.responseState,b.push('<template id="'),b.push(f.placeholderPrefix),f=P.toString(16),b.push(f),b.push('"></template>');case 1:E.status=2;var H=!0;P=E.chunks;var N=0;E=E.children;for(var G=0;G<E.length;G++){for(H=E[G];N<H.index;N++)b.push(P[N]);H=Gn(f,b,H)}for(;N<P.length-1;N++)b.push(P[N]);return N<P.length&&(H=b.push(P[N])),H;default:throw Error(t(390))}}function Gn(f,b,E){var P=E.boundary;if(P===null)return In(f,b,E);if(P.parentFlushed=!0,P.forceClientRender)return f.responseState.generateStaticMarkup||(P=P.errorDigest,b.push("<!--$!-->"),b.push("<template"),P&&(b.push(' data-dgst="'),P=L(P),b.push(P),b.push('"')),b.push("></template>")),In(f,b,E),f=f.responseState.generateStaticMarkup?!0:b.push("<!--/$-->"),f;if(0<P.pendingTasks){P.rootSegmentID=f.nextSegmentId++,0<P.completedSegments.length&&f.partialBoundaries.push(P);var H=f.responseState,N=H.nextSuspenseID++;return H=H.boundaryPrefix+N.toString(16),P=P.id=H,ze(b,f.responseState,P),In(f,b,E),b.push("<!--/$-->")}if(P.byteSize>f.progressiveChunkSize)return P.rootSegmentID=f.nextSegmentId++,f.completedBoundaries.push(P),ze(b,f.responseState,P.id),In(f,b,E),b.push("<!--/$-->");if(f.responseState.generateStaticMarkup||b.push("<!--$-->"),E=P.completedSegments,E.length!==1)throw Error(t(391));return Gn(f,b,E[0]),f=f.responseState.generateStaticMarkup?!0:b.push("<!--/$-->"),f}function hr(f,b,E){return xe(b,f.responseState,E.formatContext,E.id),Gn(f,b,E),Re(b,E.formatContext)}function _t(f,b,E){for(var P=E.completedSegments,H=0;H<P.length;H++)un(f,b,E,P[H]);if(P.length=0,f=f.responseState,P=E.id,E=E.rootSegmentID,b.push(f.startInlineScript),f.sentCompleteBoundaryFunction?b.push('$RC("'):(f.sentCompleteBoundaryFunction=!0,b.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),P===null)throw Error(t(395));return E=E.toString(16),b.push(P),b.push('","'),b.push(f.segmentPrefix),b.push(E),b.push('")<\/script>')}function un(f,b,E,P){if(P.status===2)return!0;var H=P.id;if(H===-1){if((P.id=E.rootSegmentID)===-1)throw Error(t(392));return hr(f,b,P)}return hr(f,b,P),f=f.responseState,b.push(f.startInlineScript),f.sentCompleteSegmentFunction?b.push('$RS("'):(f.sentCompleteSegmentFunction=!0,b.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),b.push(f.segmentPrefix),H=H.toString(16),b.push(H),b.push('","'),b.push(f.placeholderPrefix),b.push(H),b.push('")<\/script>')}function kt(f,b){try{var E=f.completedRootSegment;if(E!==null&&f.pendingRootTasks===0){Gn(f,b,E),f.completedRootSegment=null;var P=f.responseState.bootstrapChunks;for(E=0;E<P.length-1;E++)b.push(P[E]);E<P.length&&b.push(P[E])}var H=f.clientRenderedBoundaries,N;for(N=0;N<H.length;N++){var G=H[N];P=b;var re=f.responseState,ke=G.id,Ae=G.errorDigest,Ce=G.errorMessage,Ve=G.errorComponentStack;if(P.push(re.startInlineScript),re.sentClientRenderFunction?P.push('$RX("'):(re.sentClientRenderFunction=!0,P.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),ke===null)throw Error(t(395));if(P.push(ke),P.push('"'),Ae||Ce||Ve){P.push(",");var Et=Z(Ae||"");P.push(Et)}if(Ce||Ve){P.push(",");var Ct=Z(Ce||"");P.push(Ct)}if(Ve){P.push(",");var Tt=Z(Ve);P.push(Tt)}if(!P.push(")<\/script>")){f.destination=null,N++,H.splice(0,N);return}}H.splice(0,N);var Fn=f.completedBoundaries;for(N=0;N<Fn.length;N++)if(!_t(f,b,Fn[N])){f.destination=null,N++,Fn.splice(0,N);return}Fn.splice(0,N);var fn=f.partialBoundaries;for(N=0;N<fn.length;N++){var gr=fn[N];e:{H=f,G=b;var Mn=gr.completedSegments;for(re=0;re<Mn.length;re++)if(!un(H,G,gr,Mn[re])){re++,Mn.splice(0,re);var Yn=!1;break e}Mn.splice(0,re),Yn=!0}if(!Yn){f.destination=null,N++,fn.splice(0,N);return}}fn.splice(0,N);var vn=f.completedBoundaries;for(N=0;N<vn.length;N++)if(!_t(f,b,vn[N])){f.destination=null,N++,vn.splice(0,N);return}vn.splice(0,N)}finally{f.allPendingTasks===0&&f.pingedTasks.length===0&&f.clientRenderedBoundaries.length===0&&f.completedBoundaries.length===0&&b.push(null)}}function mr(f,b){try{var E=f.abortableTasks;E.forEach(function(P){return pr(P,f,b)}),E.clear(),f.destination!==null&&kt(f,f.destination)}catch(P){an(f,P),An(f,P)}}function mt(){}function At(f,b,E,P){var H=!1,N=null,G="",re={push:function(Ae){return Ae!==null&&(G+=Ae),!0},destroy:function(Ae){H=!0,N=Ae}},ke=!1;if(f=dr(f,ve(E,b?b.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,mt,void 0,function(){ke=!0}),St(f),mr(f,P),f.status===1)f.status=2,re.destroy(f.fatalError);else if(f.status!==2&&f.destination===null){f.destination=re;try{kt(f,re)}catch(Ae){an(f,Ae),An(f,Ae)}}if(H)throw N;if(!ke)throw Error(t(426));return G}return ia.renderToNodeStream=function(){throw Error(t(207))},ia.renderToStaticMarkup=function(f,b){return At(f,b,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},ia.renderToStaticNodeStream=function(){throw Error(t(208))},ia.renderToString=function(f,b){return At(f,b,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},ia.version="18.3.1",ia}var pu={};/**
|
|
16
|
+
* @license React
|
|
17
|
+
* react-dom-server.browser.production.min.js
|
|
18
|
+
*
|
|
19
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
20
|
+
*
|
|
21
|
+
* This source code is licensed under the MIT license found in the
|
|
22
|
+
* LICENSE file in the root directory of this source tree.
|
|
23
|
+
*/var fh;function By(){if(fh)return pu;fh=1;var e=A;function t(d){for(var y="https://reactjs.org/docs/error-decoder.html?invariant="+d,S=1;S<arguments.length;S++)y+="&args[]="+encodeURIComponent(arguments[S]);return"Minified React error #"+d+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=null,i=0;function a(d,y){if(y.length!==0)if(512<y.length)0<i&&(d.enqueue(new Uint8Array(r.buffer,0,i)),r=new Uint8Array(512),i=0),d.enqueue(y);else{var S=r.length-i;S<y.length&&(S===0?d.enqueue(r):(r.set(y.subarray(0,S),i),d.enqueue(r),y=y.subarray(S)),r=new Uint8Array(512),i=0),r.set(y,i),i+=y.length}}function u(d,y){return a(d,y),!0}function p(d){r&&0<i&&(d.enqueue(new Uint8Array(r.buffer,0,i)),r=null,i=0)}var m=new TextEncoder;function h(d){return m.encode(d)}function v(d){return m.encode(d)}function C(d,y){typeof d.error=="function"?d.error(y):d.close()}var x=Object.prototype.hasOwnProperty,F=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,I={},L={};function D(d){return x.call(L,d)?!0:x.call(I,d)?!1:F.test(d)?L[d]=!0:(I[d]=!0,!1)}function T(d,y,S,R,W,B,X){this.acceptsBooleans=y===2||y===3||y===4,this.attributeName=R,this.attributeNamespace=W,this.mustUseProperty=S,this.propertyName=d,this.type=y,this.sanitizeURL=B,this.removeEmptyString=X}var O={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(d){O[d]=new T(d,0,!1,d,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(d){var y=d[0];O[y]=new T(y,1,!1,d[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(d){O[d]=new T(d,2,!1,d.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(d){O[d]=new T(d,2,!1,d,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(d){O[d]=new T(d,3,!1,d.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(d){O[d]=new T(d,3,!0,d,null,!1,!1)}),["capture","download"].forEach(function(d){O[d]=new T(d,4,!1,d,null,!1,!1)}),["cols","rows","size","span"].forEach(function(d){O[d]=new T(d,6,!1,d,null,!1,!1)}),["rowSpan","start"].forEach(function(d){O[d]=new T(d,5,!1,d.toLowerCase(),null,!1,!1)});var U=/[\-:]([a-z])/g;function j(d){return d[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(d){var y=d.replace(U,j);O[y]=new T(y,1,!1,d,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(d){var y=d.replace(U,j);O[y]=new T(y,1,!1,d,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(d){var y=d.replace(U,j);O[y]=new T(y,1,!1,d,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(d){O[d]=new T(d,1,!1,d.toLowerCase(),null,!1,!1)}),O.xlinkHref=new T("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(d){O[d]=new T(d,1,!1,d.toLowerCase(),null,!0,!0)});var V={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},$=["Webkit","ms","Moz","O"];Object.keys(V).forEach(function(d){$.forEach(function(y){y=y+d.charAt(0).toUpperCase()+d.substring(1),V[y]=V[d]})});var J=/["'&<>]/;function ae(d){if(typeof d=="boolean"||typeof d=="number")return""+d;d=""+d;var y=J.exec(d);if(y){var S="",R,W=0;for(R=y.index;R<d.length;R++){switch(d.charCodeAt(R)){case 34:y=""";break;case 38:y="&";break;case 39:y="'";break;case 60:y="<";break;case 62:y=">";break;default:continue}W!==R&&(S+=d.substring(W,R)),W=R+1,S+=y}d=W!==R?S+d.substring(W,R):S}return d}var ne=/([A-Z])/g,le=/^ms-/,ye=Array.isArray,De=v("<script>"),Fe=v("<\/script>"),$e=v('<script src="'),ze=v('<script type="module" src="'),xe=v('" async=""><\/script>'),Re=/(<\/|<)(s)(cript)/gi;function Le(d,y,S,R){return""+y+(S==="s"?"\\u0073":"\\u0053")+R}function Z(d,y,S,R,W){d=d===void 0?"":d,y=y===void 0?De:v('<script nonce="'+ae(y)+'">');var B=[];if(S!==void 0&&B.push(y,h((""+S).replace(Re,Le)),Fe),R!==void 0)for(S=0;S<R.length;S++)B.push($e,h(ae(R[S])),xe);if(W!==void 0)for(R=0;R<W.length;R++)B.push(ze,h(ae(W[R])),xe);return{bootstrapChunks:B,startInlineScript:y,placeholderPrefix:v(d+"P:"),segmentPrefix:v(d+"S:"),boundaryPrefix:d+"B:",idPrefix:d,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function ve(d,y){return{insertionMode:d,selectedValue:y}}function Y(d){return ve(d==="http://www.w3.org/2000/svg"?2:d==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function K(d,y,S){switch(y){case"select":return ve(1,S.value!=null?S.value:S.defaultValue);case"svg":return ve(2,null);case"math":return ve(3,null);case"foreignObject":return ve(1,null);case"table":return ve(4,null);case"thead":case"tbody":case"tfoot":return ve(5,null);case"colgroup":return ve(7,null);case"tr":return ve(6,null)}return 4<=d.insertionMode||d.insertionMode===0?ve(1,null):d}var fe=v("<!-- -->");function te(d,y,S,R){return y===""?R:(R&&d.push(fe),d.push(h(ae(y))),!0)}var he=new Map,me=v(' style="'),ce=v(":"),ue=v(";");function Ee(d,y,S){if(typeof S!="object")throw Error(t(62));y=!0;for(var R in S)if(x.call(S,R)){var W=S[R];if(W!=null&&typeof W!="boolean"&&W!==""){if(R.indexOf("--")===0){var B=h(ae(R));W=h(ae((""+W).trim()))}else{B=R;var X=he.get(B);X!==void 0||(X=v(ae(B.replace(ne,"-$1").toLowerCase().replace(le,"-ms-"))),he.set(B,X)),B=X,W=typeof W=="number"?W===0||x.call(V,R)?h(""+W):h(W+"px"):h(ae((""+W).trim()))}y?(y=!1,d.push(me,B,ce,W)):d.push(ue,B,ce,W)}}y||d.push(Be)}var Se=v(" "),Pe=v('="'),Be=v('"'),se=v('=""');function We(d,y,S,R){switch(S){case"style":Ee(d,y,R);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<S.length)||S[0]!=="o"&&S[0]!=="O"||S[1]!=="n"&&S[1]!=="N"){if(y=O.hasOwnProperty(S)?O[S]:null,y!==null){switch(typeof R){case"function":case"symbol":return;case"boolean":if(!y.acceptsBooleans)return}switch(S=h(y.attributeName),y.type){case 3:R&&d.push(Se,S,se);break;case 4:R===!0?d.push(Se,S,se):R!==!1&&d.push(Se,S,Pe,h(ae(R)),Be);break;case 5:isNaN(R)||d.push(Se,S,Pe,h(ae(R)),Be);break;case 6:!isNaN(R)&&1<=R&&d.push(Se,S,Pe,h(ae(R)),Be);break;default:y.sanitizeURL&&(R=""+R),d.push(Se,S,Pe,h(ae(R)),Be)}}else if(D(S)){switch(typeof R){case"function":case"symbol":return;case"boolean":if(y=S.toLowerCase().slice(0,5),y!=="data-"&&y!=="aria-")return}d.push(Se,h(S),Pe,h(ae(R)),Be)}}}var ot=v(">"),Nt=v("/>");function Un(d,y,S){if(y!=null){if(S!=null)throw Error(t(60));if(typeof y!="object"||!("__html"in y))throw Error(t(61));y=y.__html,y!=null&&d.push(h(""+y))}}function xo(d){var y="";return e.Children.forEach(d,function(S){S!=null&&(y+=S)}),y}var zt=v(' selected=""');function Hn(d,y,S,R){d.push(gt(S));var W=S=null,B;for(B in y)if(x.call(y,B)){var X=y[B];if(X!=null)switch(B){case"children":S=X;break;case"dangerouslySetInnerHTML":W=X;break;default:We(d,R,B,X)}}return d.push(ot),Un(d,W,S),typeof S=="string"?(d.push(h(ae(S))),null):S}var Wn=v(`
|
|
24
|
+
`),So=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Bt=new Map;function gt(d){var y=Bt.get(d);if(y===void 0){if(!So.test(d))throw Error(t(65,d));y=v("<"+d),Bt.set(d,y)}return y}var ft=v("<!DOCTYPE html>");function Ir(d,y,S,R,W){switch(y){case"select":d.push(gt("select"));var B=null,X=null;for(je in S)if(x.call(S,je)){var oe=S[je];if(oe!=null)switch(je){case"children":B=oe;break;case"dangerouslySetInnerHTML":X=oe;break;case"defaultValue":case"value":break;default:We(d,R,je,oe)}}return d.push(ot),Un(d,X,B),B;case"option":X=W.selectedValue,d.push(gt("option"));var Oe=oe=null,Ne=null,je=null;for(B in S)if(x.call(S,B)){var et=S[B];if(et!=null)switch(B){case"children":oe=et;break;case"selected":Ne=et;break;case"dangerouslySetInnerHTML":je=et;break;case"value":Oe=et;default:We(d,R,B,et)}}if(X!=null)if(S=Oe!==null?""+Oe:xo(oe),ye(X)){for(R=0;R<X.length;R++)if(""+X[R]===S){d.push(zt);break}}else""+X===S&&d.push(zt);else Ne&&d.push(zt);return d.push(ot),Un(d,je,oe),oe;case"textarea":d.push(gt("textarea")),je=X=B=null;for(oe in S)if(x.call(S,oe)&&(Oe=S[oe],Oe!=null))switch(oe){case"children":je=Oe;break;case"value":B=Oe;break;case"defaultValue":X=Oe;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:We(d,R,oe,Oe)}if(B===null&&X!==null&&(B=X),d.push(ot),je!=null){if(B!=null)throw Error(t(92));if(ye(je)&&1<je.length)throw Error(t(93));B=""+je}return typeof B=="string"&&B[0]===`
|
|
25
|
+
`&&d.push(Wn),B!==null&&d.push(h(ae(""+B))),null;case"input":d.push(gt("input")),Oe=je=oe=B=null;for(X in S)if(x.call(S,X)&&(Ne=S[X],Ne!=null))switch(X){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":Oe=Ne;break;case"defaultValue":oe=Ne;break;case"checked":je=Ne;break;case"value":B=Ne;break;default:We(d,R,X,Ne)}return je!==null?We(d,R,"checked",je):Oe!==null&&We(d,R,"checked",Oe),B!==null?We(d,R,"value",B):oe!==null&&We(d,R,"value",oe),d.push(Nt),null;case"menuitem":d.push(gt("menuitem"));for(var It in S)if(x.call(S,It)&&(B=S[It],B!=null))switch(It){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:We(d,R,It,B)}return d.push(ot),null;case"title":d.push(gt("title")),B=null;for(et in S)if(x.call(S,et)&&(X=S[et],X!=null))switch(et){case"children":B=X;break;case"dangerouslySetInnerHTML":throw Error(t(434));default:We(d,R,et,X)}return d.push(ot),B;case"listing":case"pre":d.push(gt(y)),X=B=null;for(Oe in S)if(x.call(S,Oe)&&(oe=S[Oe],oe!=null))switch(Oe){case"children":B=oe;break;case"dangerouslySetInnerHTML":X=oe;break;default:We(d,R,Oe,oe)}if(d.push(ot),X!=null){if(B!=null)throw Error(t(60));if(typeof X!="object"||!("__html"in X))throw Error(t(61));S=X.__html,S!=null&&(typeof S=="string"&&0<S.length&&S[0]===`
|
|
26
|
+
`?d.push(Wn,h(S)):d.push(h(""+S)))}return typeof B=="string"&&B[0]===`
|
|
27
|
+
`&&d.push(Wn),B;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":d.push(gt(y));for(var Wt in S)if(x.call(S,Wt)&&(B=S[Wt],B!=null))switch(Wt){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,y));default:We(d,R,Wt,B)}return d.push(Nt),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return Hn(d,S,y,R);case"html":return W.insertionMode===0&&d.push(ft),Hn(d,S,y,R);default:if(y.indexOf("-")===-1&&typeof S.is!="string")return Hn(d,S,y,R);d.push(gt(y)),X=B=null;for(Ne in S)if(x.call(S,Ne)&&(oe=S[Ne],oe!=null))switch(Ne){case"children":B=oe;break;case"dangerouslySetInnerHTML":X=oe;break;case"style":Ee(d,R,oe);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:D(Ne)&&typeof oe!="function"&&typeof oe!="symbol"&&d.push(Se,h(Ne),Pe,h(ae(oe)),Be)}return d.push(ot),Un(d,X,B),B}}var Fr=v("</"),Mr=v(">"),st=v('<template id="'),Dr=v('"></template>'),ko=v("<!--$-->"),Eo=v('<!--$?--><template id="'),_r=v('"></template>'),lr=v("<!--$!-->"),Ei=v("<!--/$-->"),Lr=v("<template"),kn=v('"'),$r=v(' data-dgst="');v(' data-msg="'),v(' data-stck="');var Co=v("></template>");function xt(d,y,S){if(a(d,Eo),S===null)throw Error(t(395));return a(d,S),u(d,_r)}var tn=v('<div hidden id="'),En=v('">'),Qe=v("</div>"),Cn=v('<svg aria-hidden="true" style="display:none" id="'),cr=v('">'),Vn=v("</svg>"),nn=v('<math aria-hidden="true" style="display:none" id="'),ur=v('">'),mn=v("</math>"),dt=v('<table hidden id="'),jr=v('">'),Nr=v("</table>"),To=v('<table hidden><tbody id="'),lt=v('">'),zr=v("</tbody></table>"),Ci=v('<table hidden><tr id="'),Ti=v('">'),rn=v("</tr></table>"),Br=v('<table hidden><colgroup id="'),fr=v('">'),Tn=v("</colgroup></table>");function Rt(d,y,S,R){switch(S.insertionMode){case 0:case 1:return a(d,tn),a(d,y.segmentPrefix),a(d,h(R.toString(16))),u(d,En);case 2:return a(d,Cn),a(d,y.segmentPrefix),a(d,h(R.toString(16))),u(d,cr);case 3:return a(d,nn),a(d,y.segmentPrefix),a(d,h(R.toString(16))),u(d,ur);case 4:return a(d,dt),a(d,y.segmentPrefix),a(d,h(R.toString(16))),u(d,jr);case 5:return a(d,To),a(d,y.segmentPrefix),a(d,h(R.toString(16))),u(d,lt);case 6:return a(d,Ci),a(d,y.segmentPrefix),a(d,h(R.toString(16))),u(d,Ti);case 7:return a(d,Br),a(d,y.segmentPrefix),a(d,h(R.toString(16))),u(d,fr);default:throw Error(t(397))}}function on(d,y){switch(y.insertionMode){case 0:case 1:return u(d,Qe);case 2:return u(d,Vn);case 3:return u(d,mn);case 4:return u(d,Nr);case 5:return u(d,zr);case 6:return u(d,rn);case 7:return u(d,Tn);default:throw Error(t(397))}}var dr=v('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Rn=v('$RS("'),Pn=v('","'),an=v('")<\/script>'),An=v('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),Pt=v('$RC("'),Ro=v('","'),Po=v('")<\/script>'),gn=v('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),ct=v('$RX("'),sn=v('"'),ln=v(")<\/script>"),On=v(","),pr=/[<\u2028\u2029]/g;function Ut(d){return JSON.stringify(d).replace(pr,function(y){switch(y){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var cn=Object.assign,St=Symbol.for("react.element"),In=Symbol.for("react.portal"),Gn=Symbol.for("react.fragment"),hr=Symbol.for("react.strict_mode"),_t=Symbol.for("react.profiler"),un=Symbol.for("react.provider"),kt=Symbol.for("react.context"),mr=Symbol.for("react.forward_ref"),mt=Symbol.for("react.suspense"),At=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),E=Symbol.for("react.scope"),P=Symbol.for("react.debug_trace_mode"),H=Symbol.for("react.legacy_hidden"),N=Symbol.for("react.default_value"),G=Symbol.iterator;function re(d){if(d==null)return null;if(typeof d=="function")return d.displayName||d.name||null;if(typeof d=="string")return d;switch(d){case Gn:return"Fragment";case In:return"Portal";case _t:return"Profiler";case hr:return"StrictMode";case mt:return"Suspense";case At:return"SuspenseList"}if(typeof d=="object")switch(d.$$typeof){case kt:return(d.displayName||"Context")+".Consumer";case un:return(d._context.displayName||"Context")+".Provider";case mr:var y=d.render;return d=d.displayName,d||(d=y.displayName||y.name||"",d=d!==""?"ForwardRef("+d+")":"ForwardRef"),d;case f:return y=d.displayName||null,y!==null?y:re(d.type)||"Memo";case b:y=d._payload,d=d._init;try{return re(d(y))}catch{}}return null}var ke={};function Ae(d,y){if(d=d.contextTypes,!d)return ke;var S={},R;for(R in d)S[R]=y[R];return S}var Ce=null;function Ve(d,y){if(d!==y){d.context._currentValue=d.parentValue,d=d.parent;var S=y.parent;if(d===null){if(S!==null)throw Error(t(401))}else{if(S===null)throw Error(t(401));Ve(d,S)}y.context._currentValue=y.value}}function Et(d){d.context._currentValue=d.parentValue,d=d.parent,d!==null&&Et(d)}function Ct(d){var y=d.parent;y!==null&&Ct(y),d.context._currentValue=d.value}function Tt(d,y){if(d.context._currentValue=d.parentValue,d=d.parent,d===null)throw Error(t(402));d.depth===y.depth?Ve(d,y):Tt(d,y)}function Fn(d,y){var S=y.parent;if(S===null)throw Error(t(402));d.depth===S.depth?Ve(d,S):Fn(d,S),y.context._currentValue=y.value}function fn(d){var y=Ce;y!==d&&(y===null?Ct(d):d===null?Et(y):y.depth===d.depth?Ve(y,d):y.depth>d.depth?Tt(y,d):Fn(y,d),Ce=d)}var gr={isMounted:function(){return!1},enqueueSetState:function(d,y){d=d._reactInternals,d.queue!==null&&d.queue.push(y)},enqueueReplaceState:function(d,y){d=d._reactInternals,d.replace=!0,d.queue=[y]},enqueueForceUpdate:function(){}};function Mn(d,y,S,R){var W=d.state!==void 0?d.state:null;d.updater=gr,d.props=S,d.state=W;var B={queue:[],replace:!1};d._reactInternals=B;var X=y.contextType;if(d.context=typeof X=="object"&&X!==null?X._currentValue:R,X=y.getDerivedStateFromProps,typeof X=="function"&&(X=X(S,W),W=X==null?W:cn({},W,X),d.state=W),typeof y.getDerivedStateFromProps!="function"&&typeof d.getSnapshotBeforeUpdate!="function"&&(typeof d.UNSAFE_componentWillMount=="function"||typeof d.componentWillMount=="function"))if(y=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),y!==d.state&&gr.enqueueReplaceState(d,d.state,null),B.queue!==null&&0<B.queue.length)if(y=B.queue,X=B.replace,B.queue=null,B.replace=!1,X&&y.length===1)d.state=y[0];else{for(B=X?y[0]:d.state,W=!0,X=X?1:0;X<y.length;X++){var oe=y[X];oe=typeof oe=="function"?oe.call(d,B,S,R):oe,oe!=null&&(W?(W=!1,B=cn({},B,oe)):cn(B,oe))}d.state=B}else B.queue=null}var Yn={id:1,overflow:""};function vn(d,y,S){var R=d.id;d=d.overflow;var W=32-Xn(R)-1;R&=~(1<<W),S+=1;var B=32-Xn(y)+W;if(30<B){var X=W-W%5;return B=(R&(1<<X)-1).toString(32),R>>=X,W-=X,{id:1<<32-Xn(y)+W|S<<W|R,overflow:B+d}}return{id:1<<B|S<<W|R,overflow:d}}var Xn=Math.clz32?Math.clz32:Ao,nl=Math.log,rl=Math.LN2;function Ao(d){return d>>>=0,d===0?32:31-(nl(d)/rl|0)|0}function dn(d,y){return d===y&&(d!==0||1/d===1/y)||d!==d&&y!==y}var ol=typeof Object.is=="function"?Object.is:dn,yn=null,Ri=null,Oo=null,qe=null,Qn=!1,Io=!1,qn=0,Dn=null,Fo=0;function _n(){if(yn===null)throw Error(t(321));return yn}function Ht(){if(0<Fo)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function Pi(){return qe===null?Oo===null?(Qn=!1,Oo=qe=Ht()):(Qn=!0,qe=Oo):qe.next===null?(Qn=!1,qe=qe.next=Ht()):(Qn=!0,qe=qe.next),qe}function Ur(){Ri=yn=null,Io=!1,Oo=null,Fo=0,qe=Dn=null}function Aa(d,y){return typeof y=="function"?y(d):y}function Mo(d,y,S){if(yn=_n(),qe=Pi(),Qn){var R=qe.queue;if(y=R.dispatch,Dn!==null&&(S=Dn.get(R),S!==void 0)){Dn.delete(R),R=qe.memoizedState;do R=d(R,S.action),S=S.next;while(S!==null);return qe.memoizedState=R,[R,y]}return[qe.memoizedState,y]}return d=d===Aa?typeof y=="function"?y():y:S!==void 0?S(y):y,qe.memoizedState=d,d=qe.queue={last:null,dispatch:null},d=d.dispatch=il.bind(null,yn,d),[qe.memoizedState,d]}function Oa(d,y){if(yn=_n(),qe=Pi(),y=y===void 0?null:y,qe!==null){var S=qe.memoizedState;if(S!==null&&y!==null){var R=S[1];e:if(R===null)R=!1;else{for(var W=0;W<R.length&&W<y.length;W++)if(!ol(y[W],R[W])){R=!1;break e}R=!0}if(R)return S[0]}}return d=d(),qe.memoizedState=[d,y],d}function il(d,y,S){if(25<=Fo)throw Error(t(301));if(d===yn)if(Io=!0,d={action:S,next:null},Dn===null&&(Dn=new Map),S=Dn.get(y),S===void 0)Dn.set(y,d);else{for(y=S;y.next!==null;)y=y.next;y.next=d}}function al(){throw Error(t(394))}function Do(){}var Ia={readContext:function(d){return d._currentValue},useContext:function(d){return _n(),d._currentValue},useMemo:Oa,useReducer:Mo,useRef:function(d){yn=_n(),qe=Pi();var y=qe.memoizedState;return y===null?(d={current:d},qe.memoizedState=d):y},useState:function(d){return Mo(Aa,d)},useInsertionEffect:Do,useLayoutEffect:function(){},useCallback:function(d,y){return Oa(function(){return d},y)},useImperativeHandle:Do,useEffect:Do,useDebugValue:Do,useDeferredValue:function(d){return _n(),d},useTransition:function(){return _n(),[!1,al]},useId:function(){var d=Ri.treeContext,y=d.overflow;d=d.id,d=(d&~(1<<32-Xn(d)-1)).toString(32)+y;var S=Hr;if(S===null)throw Error(t(404));return y=qn++,d=":"+S.idPrefix+"R"+d,0<y&&(d+="H"+y.toString(32)),d+":"},useMutableSource:function(d,y){return _n(),y(d._source)},useSyncExternalStore:function(d,y,S){if(S===void 0)throw Error(t(407));return S()}},Hr=null,Ai=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function sl(d){return console.error(d),null}function vr(){}function Oi(d,y,S,R,W,B,X,oe,Oe){var Ne=[],je=new Set;return y={destination:null,responseState:y,progressiveChunkSize:R===void 0?12800:R,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:je,pingedTasks:Ne,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:W===void 0?sl:W,onAllReady:B===void 0?vr:B,onShellReady:X===void 0?vr:X,onShellError:oe===void 0?vr:oe,onFatalError:Oe===void 0?vr:Oe},S=yr(y,0,null,S,!1,!1),S.parentFlushed=!0,d=Ii(y,d,null,S,je,ke,null,Yn),Ne.push(d),y}function Ii(d,y,S,R,W,B,X,oe){d.allPendingTasks++,S===null?d.pendingRootTasks++:S.pendingTasks++;var Oe={node:y,ping:function(){var Ne=d.pingedTasks;Ne.push(Oe),Ne.length===1&&ja(d)},blockedBoundary:S,blockedSegment:R,abortSet:W,legacyContext:B,context:X,treeContext:oe};return W.add(Oe),Oe}function yr(d,y,S,R,W,B){return{status:0,id:-1,index:y,parentFlushed:!1,chunks:[],children:[],formatContext:R,boundary:S,lastPushedText:W,textEmbedded:B}}function Wr(d,y){if(d=d.onError(y),d!=null&&typeof d!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof d+'" instead');return d}function _o(d,y){var S=d.onShellError;S(y),S=d.onFatalError,S(y),d.destination!==null?(d.status=2,C(d.destination,y)):(d.status=1,d.fatalError=y)}function Fa(d,y,S,R,W){for(yn={},Ri=y,qn=0,d=S(R,W);Io;)Io=!1,qn=0,Fo+=1,qe=null,d=S(R,W);return Ur(),d}function Ma(d,y,S,R){var W=S.render(),B=R.childContextTypes;if(B!=null){var X=y.legacyContext;if(typeof S.getChildContext!="function")R=X;else{S=S.getChildContext();for(var oe in S)if(!(oe in B))throw Error(t(108,re(R)||"Unknown",oe));R=cn({},X,S)}y.legacyContext=R,Ot(d,y,W),y.legacyContext=X}else Ot(d,y,W)}function Da(d,y){if(d&&d.defaultProps){y=cn({},y),d=d.defaultProps;for(var S in d)y[S]===void 0&&(y[S]=d[S]);return y}return y}function Lo(d,y,S,R,W){if(typeof S=="function")if(S.prototype&&S.prototype.isReactComponent){W=Ae(S,y.legacyContext);var B=S.contextType;B=new S(R,typeof B=="object"&&B!==null?B._currentValue:W),Mn(B,S,R,W),Ma(d,y,B,S)}else{B=Ae(S,y.legacyContext),W=Fa(d,y,S,R,B);var X=qn!==0;if(typeof W=="object"&&W!==null&&typeof W.render=="function"&&W.$$typeof===void 0)Mn(W,S,R,B),Ma(d,y,W,S);else if(X){R=y.treeContext,y.treeContext=vn(R,1,0);try{Ot(d,y,W)}finally{y.treeContext=R}}else Ot(d,y,W)}else if(typeof S=="string"){switch(W=y.blockedSegment,B=Ir(W.chunks,S,R,d.responseState,W.formatContext),W.lastPushedText=!1,X=W.formatContext,W.formatContext=K(X,S,R),$o(d,y,B),W.formatContext=X,S){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:W.chunks.push(Fr,h(S),Mr)}W.lastPushedText=!1}else{switch(S){case H:case P:case hr:case _t:case Gn:Ot(d,y,R.children);return;case At:Ot(d,y,R.children);return;case E:throw Error(t(343));case mt:e:{S=y.blockedBoundary,W=y.blockedSegment,B=R.fallback,R=R.children,X=new Set;var oe={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:X,errorDigest:null},Oe=yr(d,W.chunks.length,oe,W.formatContext,!1,!1);W.children.push(Oe),W.lastPushedText=!1;var Ne=yr(d,0,null,W.formatContext,!1,!1);Ne.parentFlushed=!0,y.blockedBoundary=oe,y.blockedSegment=Ne;try{if($o(d,y,R),Ne.lastPushedText&&Ne.textEmbedded&&Ne.chunks.push(fe),Ne.status=1,jo(oe,Ne),oe.pendingTasks===0)break e}catch(je){Ne.status=4,oe.forceClientRender=!0,oe.errorDigest=Wr(d,je)}finally{y.blockedBoundary=S,y.blockedSegment=W}y=Ii(d,B,S,Oe,X,y.legacyContext,y.context,y.treeContext),d.pingedTasks.push(y)}return}if(typeof S=="object"&&S!==null)switch(S.$$typeof){case mr:if(R=Fa(d,y,S.render,R,W),qn!==0){S=y.treeContext,y.treeContext=vn(S,1,0);try{Ot(d,y,R)}finally{y.treeContext=S}}else Ot(d,y,R);return;case f:S=S.type,R=Da(S,R),Lo(d,y,S,R,W);return;case un:if(W=R.children,S=S._context,R=R.value,B=S._currentValue,S._currentValue=R,X=Ce,Ce=R={parent:X,depth:X===null?0:X.depth+1,context:S,parentValue:B,value:R},y.context=R,Ot(d,y,W),d=Ce,d===null)throw Error(t(403));R=d.parentValue,d.context._currentValue=R===N?d.context._defaultValue:R,d=Ce=d.parent,y.context=d;return;case kt:R=R.children,R=R(S._currentValue),Ot(d,y,R);return;case b:W=S._init,S=W(S._payload),R=Da(S,R),Lo(d,y,S,R,void 0);return}throw Error(t(130,S==null?S:typeof S,""))}}function Ot(d,y,S){if(y.node=S,typeof S=="object"&&S!==null){switch(S.$$typeof){case St:Lo(d,y,S.type,S.props,S.ref);return;case In:throw Error(t(257));case b:var R=S._init;S=R(S._payload),Ot(d,y,S);return}if(ye(S)){_a(d,y,S);return}if(S===null||typeof S!="object"?R=null:(R=G&&S[G]||S["@@iterator"],R=typeof R=="function"?R:null),R&&(R=R.call(S))){if(S=R.next(),!S.done){var W=[];do W.push(S.value),S=R.next();while(!S.done);_a(d,y,W)}return}throw d=Object.prototype.toString.call(S),Error(t(31,d==="[object Object]"?"object with keys {"+Object.keys(S).join(", ")+"}":d))}typeof S=="string"?(R=y.blockedSegment,R.lastPushedText=te(y.blockedSegment.chunks,S,d.responseState,R.lastPushedText)):typeof S=="number"&&(R=y.blockedSegment,R.lastPushedText=te(y.blockedSegment.chunks,""+S,d.responseState,R.lastPushedText))}function _a(d,y,S){for(var R=S.length,W=0;W<R;W++){var B=y.treeContext;y.treeContext=vn(B,R,W);try{$o(d,y,S[W])}finally{y.treeContext=B}}}function $o(d,y,S){var R=y.blockedSegment.formatContext,W=y.legacyContext,B=y.context;try{return Ot(d,y,S)}catch(Oe){if(Ur(),typeof Oe=="object"&&Oe!==null&&typeof Oe.then=="function"){S=Oe;var X=y.blockedSegment,oe=yr(d,X.chunks.length,null,X.formatContext,X.lastPushedText,!0);X.children.push(oe),X.lastPushedText=!1,d=Ii(d,y.node,y.blockedBoundary,oe,y.abortSet,y.legacyContext,y.context,y.treeContext).ping,S.then(d,d),y.blockedSegment.formatContext=R,y.legacyContext=W,y.context=B,fn(B)}else throw y.blockedSegment.formatContext=R,y.legacyContext=W,y.context=B,fn(B),Oe}}function ll(d){var y=d.blockedBoundary;d=d.blockedSegment,d.status=3,$a(this,y,d)}function La(d,y,S){var R=d.blockedBoundary;d.blockedSegment.status=3,R===null?(y.allPendingTasks--,y.status!==2&&(y.status=2,y.destination!==null&&y.destination.close())):(R.pendingTasks--,R.forceClientRender||(R.forceClientRender=!0,d=S===void 0?Error(t(432)):S,R.errorDigest=y.onError(d),R.parentFlushed&&y.clientRenderedBoundaries.push(R)),R.fallbackAbortableTasks.forEach(function(W){return La(W,y,S)}),R.fallbackAbortableTasks.clear(),y.allPendingTasks--,y.allPendingTasks===0&&(R=y.onAllReady,R()))}function jo(d,y){if(y.chunks.length===0&&y.children.length===1&&y.children[0].boundary===null){var S=y.children[0];S.id=y.id,S.parentFlushed=!0,S.status===1&&jo(d,S)}else d.completedSegments.push(y)}function $a(d,y,S){if(y===null){if(S.parentFlushed){if(d.completedRootSegment!==null)throw Error(t(389));d.completedRootSegment=S}d.pendingRootTasks--,d.pendingRootTasks===0&&(d.onShellError=vr,y=d.onShellReady,y())}else y.pendingTasks--,y.forceClientRender||(y.pendingTasks===0?(S.parentFlushed&&S.status===1&&jo(y,S),y.parentFlushed&&d.completedBoundaries.push(y),y.fallbackAbortableTasks.forEach(ll,d),y.fallbackAbortableTasks.clear()):S.parentFlushed&&S.status===1&&(jo(y,S),y.completedSegments.length===1&&y.parentFlushed&&d.partialBoundaries.push(y)));d.allPendingTasks--,d.allPendingTasks===0&&(d=d.onAllReady,d())}function ja(d){if(d.status!==2){var y=Ce,S=Ai.current;Ai.current=Ia;var R=Hr;Hr=d.responseState;try{var W=d.pingedTasks,B;for(B=0;B<W.length;B++){var X=W[B],oe=d,Oe=X.blockedSegment;if(Oe.status===0){fn(X.context);try{Ot(oe,X,X.node),Oe.lastPushedText&&Oe.textEmbedded&&Oe.chunks.push(fe),X.abortSet.delete(X),Oe.status=1,$a(oe,X.blockedBoundary,Oe)}catch(Vt){if(Ur(),typeof Vt=="object"&&Vt!==null&&typeof Vt.then=="function"){var Ne=X.ping;Vt.then(Ne,Ne)}else{X.abortSet.delete(X),Oe.status=4;var je=X.blockedBoundary,et=Vt,It=Wr(oe,et);if(je===null?_o(oe,et):(je.pendingTasks--,je.forceClientRender||(je.forceClientRender=!0,je.errorDigest=It,je.parentFlushed&&oe.clientRenderedBoundaries.push(je))),oe.allPendingTasks--,oe.allPendingTasks===0){var Wt=oe.onAllReady;Wt()}}}finally{}}}W.splice(0,B),d.destination!==null&&Fi(d,d.destination)}catch(Vt){Wr(d,Vt),_o(d,Vt)}finally{Hr=R,Ai.current=S,S===Ia&&fn(y)}}}function No(d,y,S){switch(S.parentFlushed=!0,S.status){case 0:var R=S.id=d.nextSegmentId++;return S.lastPushedText=!1,S.textEmbedded=!1,d=d.responseState,a(y,st),a(y,d.placeholderPrefix),d=h(R.toString(16)),a(y,d),u(y,Dr);case 1:S.status=2;var W=!0;R=S.chunks;var B=0;S=S.children;for(var X=0;X<S.length;X++){for(W=S[X];B<W.index;B++)a(y,R[B]);W=zo(d,y,W)}for(;B<R.length-1;B++)a(y,R[B]);return B<R.length&&(W=u(y,R[B])),W;default:throw Error(t(390))}}function zo(d,y,S){var R=S.boundary;if(R===null)return No(d,y,S);if(R.parentFlushed=!0,R.forceClientRender)R=R.errorDigest,u(y,lr),a(y,Lr),R&&(a(y,$r),a(y,h(ae(R))),a(y,kn)),u(y,Co),No(d,y,S);else if(0<R.pendingTasks){R.rootSegmentID=d.nextSegmentId++,0<R.completedSegments.length&&d.partialBoundaries.push(R);var W=d.responseState,B=W.nextSuspenseID++;W=v(W.boundaryPrefix+B.toString(16)),R=R.id=W,xt(y,d.responseState,R),No(d,y,S)}else if(R.byteSize>d.progressiveChunkSize)R.rootSegmentID=d.nextSegmentId++,d.completedBoundaries.push(R),xt(y,d.responseState,R.id),No(d,y,S);else{if(u(y,ko),S=R.completedSegments,S.length!==1)throw Error(t(391));zo(d,y,S[0])}return u(y,Ei)}function Na(d,y,S){return Rt(y,d.responseState,S.formatContext,S.id),zo(d,y,S),on(y,S.formatContext)}function za(d,y,S){for(var R=S.completedSegments,W=0;W<R.length;W++)Ba(d,y,S,R[W]);if(R.length=0,d=d.responseState,R=S.id,S=S.rootSegmentID,a(y,d.startInlineScript),d.sentCompleteBoundaryFunction?a(y,Pt):(d.sentCompleteBoundaryFunction=!0,a(y,An)),R===null)throw Error(t(395));return S=h(S.toString(16)),a(y,R),a(y,Ro),a(y,d.segmentPrefix),a(y,S),u(y,Po)}function Ba(d,y,S,R){if(R.status===2)return!0;var W=R.id;if(W===-1){if((R.id=S.rootSegmentID)===-1)throw Error(t(392));return Na(d,y,R)}return Na(d,y,R),d=d.responseState,a(y,d.startInlineScript),d.sentCompleteSegmentFunction?a(y,Rn):(d.sentCompleteSegmentFunction=!0,a(y,dr)),a(y,d.segmentPrefix),W=h(W.toString(16)),a(y,W),a(y,Pn),a(y,d.placeholderPrefix),a(y,W),u(y,an)}function Fi(d,y){r=new Uint8Array(512),i=0;try{var S=d.completedRootSegment;if(S!==null&&d.pendingRootTasks===0){zo(d,y,S),d.completedRootSegment=null;var R=d.responseState.bootstrapChunks;for(S=0;S<R.length-1;S++)a(y,R[S]);S<R.length&&u(y,R[S])}var W=d.clientRenderedBoundaries,B;for(B=0;B<W.length;B++){var X=W[B];R=y;var oe=d.responseState,Oe=X.id,Ne=X.errorDigest,je=X.errorMessage,et=X.errorComponentStack;if(a(R,oe.startInlineScript),oe.sentClientRenderFunction?a(R,ct):(oe.sentClientRenderFunction=!0,a(R,gn)),Oe===null)throw Error(t(395));a(R,Oe),a(R,sn),(Ne||je||et)&&(a(R,On),a(R,h(Ut(Ne||"")))),(je||et)&&(a(R,On),a(R,h(Ut(je||"")))),et&&(a(R,On),a(R,h(Ut(et)))),u(R,ln)}W.splice(0,B);var It=d.completedBoundaries;for(B=0;B<It.length;B++)za(d,y,It[B]);It.splice(0,B),p(y),r=new Uint8Array(512),i=0;var Wt=d.partialBoundaries;for(B=0;B<Wt.length;B++){var Vt=Wt[B];e:{W=d,X=y;var Bo=Vt.completedSegments;for(oe=0;oe<Bo.length;oe++)if(!Ba(W,X,Vt,Bo[oe])){oe++,Bo.splice(0,oe);var Ha=!1;break e}Bo.splice(0,oe),Ha=!0}if(!Ha){d.destination=null,B++,Wt.splice(0,B);return}}Wt.splice(0,B);var Vr=d.completedBoundaries;for(B=0;B<Vr.length;B++)za(d,y,Vr[B]);Vr.splice(0,B)}finally{p(y),d.allPendingTasks===0&&d.pingedTasks.length===0&&d.clientRenderedBoundaries.length===0&&d.completedBoundaries.length===0&&y.close()}}function Ua(d,y){try{var S=d.abortableTasks;S.forEach(function(R){return La(R,d,y)}),S.clear(),d.destination!==null&&Fi(d,d.destination)}catch(R){Wr(d,R),_o(d,R)}}return pu.renderToReadableStream=function(d,y){return new Promise(function(S,R){var W,B,X=new Promise(function(je,et){B=je,W=et}),oe=Oi(d,Z(y?y.identifierPrefix:void 0,y?y.nonce:void 0,y?y.bootstrapScriptContent:void 0,y?y.bootstrapScripts:void 0,y?y.bootstrapModules:void 0),Y(y?y.namespaceURI:void 0),y?y.progressiveChunkSize:void 0,y?y.onError:void 0,B,function(){var je=new ReadableStream({type:"bytes",pull:function(et){if(oe.status===1)oe.status=2,C(et,oe.fatalError);else if(oe.status!==2&&oe.destination===null){oe.destination=et;try{Fi(oe,et)}catch(It){Wr(oe,It),_o(oe,It)}}},cancel:function(){Ua(oe)}},{highWaterMark:0});je.allReady=X,S(je)},function(je){X.catch(function(){}),R(je)},W);if(y&&y.signal){var Oe=y.signal,Ne=function(){Ua(oe,Oe.reason),Oe.removeEventListener("abort",Ne)};Oe.addEventListener("abort",Ne)}ja(oe)})},pu.version="18.3.1",pu}var aa={};/**
|
|
28
|
+
* @license React
|
|
29
|
+
* react-dom-server-legacy.browser.development.js
|
|
30
|
+
*
|
|
31
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
32
|
+
*
|
|
33
|
+
* This source code is licensed under the MIT license found in the
|
|
34
|
+
* LICENSE file in the root directory of this source tree.
|
|
35
|
+
*/var dh;function Uy(){return dh||(dh=1,process.env.NODE_ENV!=="production"&&function(){var e=A,t="18.3.1",r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function i(n){{for(var o=arguments.length,s=new Array(o>1?o-1:0),c=1;c<o;c++)s[c-1]=arguments[c];u("warn",n,s)}}function a(n){{for(var o=arguments.length,s=new Array(o>1?o-1:0),c=1;c<o;c++)s[c-1]=arguments[c];u("error",n,s)}}function u(n,o,s){{var c=r.ReactDebugCurrentFrame,g=c.getStackAddendum();g!==""&&(o+="%s",s=s.concat([g]));var w=s.map(function(k){return String(k)});w.unshift("Warning: "+o),Function.prototype.apply.call(console[n],console,w)}}function p(n){n()}function m(n){}function h(n,o){v(n,o)}function v(n,o){return n.push(o)}function C(n){}function x(n){n.push(null)}function F(n){return n}function I(n){return n}function L(n,o){n.destroy(o)}function D(n){{var o=typeof Symbol=="function"&&Symbol.toStringTag,s=o&&n[Symbol.toStringTag]||n.constructor.name||"Object";return s}}function T(n){try{return O(n),!1}catch{return!0}}function O(n){return""+n}function U(n,o){if(T(n))return a("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",o,D(n)),O(n)}function j(n,o){if(T(n))return a("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",o,D(n)),O(n)}function V(n){if(T(n))return a("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",D(n)),O(n)}var $=Object.prototype.hasOwnProperty,J=0,ae=1,ne=2,le=3,ye=4,De=5,Fe=6,$e=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",ze=$e+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",xe=new RegExp("^["+$e+"]["+ze+"]*$"),Re={},Le={};function Z(n){return $.call(Le,n)?!0:$.call(Re,n)?!1:xe.test(n)?(Le[n]=!0,!0):(Re[n]=!0,a("Invalid attribute name: `%s`",n),!1)}function ve(n,o,s,c){if(s!==null&&s.type===J)return!1;switch(typeof o){case"function":case"symbol":return!0;case"boolean":{if(s!==null)return!s.acceptsBooleans;var g=n.toLowerCase().slice(0,5);return g!=="data-"&&g!=="aria-"}default:return!1}}function Y(n){return fe.hasOwnProperty(n)?fe[n]:null}function K(n,o,s,c,g,w,k){this.acceptsBooleans=o===ne||o===le||o===ye,this.attributeName=c,this.attributeNamespace=g,this.mustUseProperty=s,this.propertyName=n,this.type=o,this.sanitizeURL=w,this.removeEmptyString=k}var fe={},te=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];te.forEach(function(n){fe[n]=new K(n,J,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var o=n[0],s=n[1];fe[o]=new K(o,ae,!1,s,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){fe[n]=new K(n,ne,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){fe[n]=new K(n,ne,!1,n,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(n){fe[n]=new K(n,le,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){fe[n]=new K(n,le,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){fe[n]=new K(n,ye,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){fe[n]=new K(n,Fe,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){fe[n]=new K(n,De,!1,n.toLowerCase(),null,!1,!1)});var he=/[\-\:]([a-z])/g,me=function(n){return n[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(n){var o=n.replace(he,me);fe[o]=new K(o,ae,!1,n,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(n){var o=n.replace(he,me);fe[o]=new K(o,ae,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var o=n.replace(he,me);fe[o]=new K(o,ae,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){fe[n]=new K(n,ae,!1,n.toLowerCase(),null,!1,!1)});var ce="xlinkHref";fe[ce]=new K("xlinkHref",ae,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){fe[n]=new K(n,ae,!1,n.toLowerCase(),null,!0,!0)});var ue={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function Ee(n,o){return n+o.charAt(0).toUpperCase()+o.substring(1)}var Se=["Webkit","ms","Moz","O"];Object.keys(ue).forEach(function(n){Se.forEach(function(o){ue[Ee(o,n)]=ue[n]})});var Pe={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Be(n,o){Pe[o.type]||o.onChange||o.onInput||o.readOnly||o.disabled||o.value==null||a("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),o.onChange||o.readOnly||o.disabled||o.checked==null||a("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function se(n,o){if(n.indexOf("-")===-1)return typeof o.is=="string";switch(n){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var We={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},ot={},Nt=new RegExp("^(aria)-["+ze+"]*$"),Un=new RegExp("^(aria)[A-Z]["+ze+"]*$");function xo(n,o){{if($.call(ot,o)&&ot[o])return!0;if(Un.test(o)){var s="aria-"+o.slice(4).toLowerCase(),c=We.hasOwnProperty(s)?s:null;if(c==null)return a("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",o),ot[o]=!0,!0;if(o!==c)return a("Invalid ARIA attribute `%s`. Did you mean `%s`?",o,c),ot[o]=!0,!0}if(Nt.test(o)){var g=o.toLowerCase(),w=We.hasOwnProperty(g)?g:null;if(w==null)return ot[o]=!0,!1;if(o!==w)return a("Unknown ARIA attribute `%s`. Did you mean `%s`?",o,w),ot[o]=!0,!0}}return!0}function zt(n,o){{var s=[];for(var c in o){var g=xo(n,c);g||s.push(c)}var w=s.map(function(k){return"`"+k+"`"}).join(", ");s.length===1?a("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",w,n):s.length>1&&a("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",w,n)}}function Hn(n,o){se(n,o)||zt(n,o)}var Wn=!1;function So(n,o){{if(n!=="input"&&n!=="textarea"&&n!=="select")return;o!=null&&o.value===null&&!Wn&&(Wn=!0,n==="select"&&o.multiple?a("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",n):a("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",n))}}var Bt={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},gt=function(){};{var ft={},Ir=/^on./,Fr=/^on[^A-Z]/,Mr=new RegExp("^(aria)-["+ze+"]*$"),st=new RegExp("^(aria)[A-Z]["+ze+"]*$");gt=function(n,o,s,c){if($.call(ft,o)&&ft[o])return!0;var g=o.toLowerCase();if(g==="onfocusin"||g==="onfocusout")return a("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),ft[o]=!0,!0;if(c!=null){var w=c.registrationNameDependencies,k=c.possibleRegistrationNames;if(w.hasOwnProperty(o))return!0;var M=k.hasOwnProperty(g)?k[g]:null;if(M!=null)return a("Invalid event handler property `%s`. Did you mean `%s`?",o,M),ft[o]=!0,!0;if(Ir.test(o))return a("Unknown event handler property `%s`. It will be ignored.",o),ft[o]=!0,!0}else if(Ir.test(o))return Fr.test(o)&&a("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",o),ft[o]=!0,!0;if(Mr.test(o)||st.test(o))return!0;if(g==="innerhtml")return a("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),ft[o]=!0,!0;if(g==="aria")return a("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),ft[o]=!0,!0;if(g==="is"&&s!==null&&s!==void 0&&typeof s!="string")return a("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof s),ft[o]=!0,!0;if(typeof s=="number"&&isNaN(s))return a("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",o),ft[o]=!0,!0;var z=Y(o),Q=z!==null&&z.type===J;if(Bt.hasOwnProperty(g)){var ee=Bt[g];if(ee!==o)return a("Invalid DOM property `%s`. Did you mean `%s`?",o,ee),ft[o]=!0,!0}else if(!Q&&o!==g)return a("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",o,g),ft[o]=!0,!0;return typeof s=="boolean"&&ve(o,s,z)?(s?a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',s,o,o,s,o):a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',s,o,o,s,o,o,o),ft[o]=!0,!0):Q?!0:ve(o,s,z)?(ft[o]=!0,!1):((s==="false"||s==="true")&&z!==null&&z.type===le&&(a("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",s,o,s==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',o,s),ft[o]=!0),!0)}}var Dr=function(n,o,s){{var c=[];for(var g in o){var w=gt(n,g,o[g],s);w||c.push(g)}var k=c.map(function(M){return"`"+M+"`"}).join(", ");c.length===1?a("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",k,n):c.length>1&&a("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",k,n)}};function ko(n,o,s){se(n,o)||Dr(n,o,s)}var Eo=function(){};{var _r=/^(?:webkit|moz|o)[A-Z]/,lr=/^-ms-/,Ei=/-(.)/g,Lr=/;\s*$/,kn={},$r={},Co=!1,xt=!1,tn=function(n){return n.replace(Ei,function(o,s){return s.toUpperCase()})},En=function(n){kn.hasOwnProperty(n)&&kn[n]||(kn[n]=!0,a("Unsupported style property %s. Did you mean %s?",n,tn(n.replace(lr,"ms-"))))},Qe=function(n){kn.hasOwnProperty(n)&&kn[n]||(kn[n]=!0,a("Unsupported vendor-prefixed style property %s. Did you mean %s?",n,n.charAt(0).toUpperCase()+n.slice(1)))},Cn=function(n,o){$r.hasOwnProperty(o)&&$r[o]||($r[o]=!0,a(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,n,o.replace(Lr,"")))},cr=function(n,o){Co||(Co=!0,a("`NaN` is an invalid value for the `%s` css style property.",n))},Vn=function(n,o){xt||(xt=!0,a("`Infinity` is an invalid value for the `%s` css style property.",n))};Eo=function(n,o){n.indexOf("-")>-1?En(n):_r.test(n)?Qe(n):Lr.test(o)&&Cn(n,o),typeof o=="number"&&(isNaN(o)?cr(n,o):isFinite(o)||Vn(n,o))}}var nn=Eo,ur=/["'&<>]/;function mn(n){V(n);var o=""+n,s=ur.exec(o);if(!s)return o;var c,g="",w,k=0;for(w=s.index;w<o.length;w++){switch(o.charCodeAt(w)){case 34:c=""";break;case 38:c="&";break;case 39:c="'";break;case 60:c="<";break;case 62:c=">";break;default:continue}k!==w&&(g+=o.substring(k,w)),k=w+1,g+=c}return k!==w?g+o.substring(k,w):g}function dt(n){return typeof n=="boolean"||typeof n=="number"?""+n:mn(n)}var jr=/([A-Z])/g,Nr=/^ms-/;function To(n){return n.replace(jr,"-$1").toLowerCase().replace(Nr,"-ms-")}var lt=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,zr=!1;function Ci(n){!zr&<.test(n)&&(zr=!0,a("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(n)))}var Ti=Array.isArray;function rn(n){return Ti(n)}var Br="<script>";function fr(n,o,s,c,g){var w=n===void 0?"":n,k=Br,M=[];return{bootstrapChunks:M,startInlineScript:k,placeholderPrefix:w+"P:",segmentPrefix:w+"S:",boundaryPrefix:w+"B:",idPrefix:w,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Tn=0,Rt=1,on=2,dr=3,Rn=4,Pn=5,an=6,An=7;function Pt(n,o){return{insertionMode:n,selectedValue:o}}function Ro(n,o,s){switch(o){case"select":return Pt(Rt,s.value!=null?s.value:s.defaultValue);case"svg":return Pt(on,null);case"math":return Pt(dr,null);case"foreignObject":return Pt(Rt,null);case"table":return Pt(Rn,null);case"thead":case"tbody":case"tfoot":return Pt(Pn,null);case"colgroup":return Pt(An,null);case"tr":return Pt(an,null)}return n.insertionMode>=Rn||n.insertionMode===Tn?Pt(Rt,null):n}var Po=null;function gn(n){var o=n.nextSuspenseID++;return n.boundaryPrefix+o.toString(16)}function ct(n,o,s){var c=n.idPrefix,g=":"+c+"R"+o;return s>0&&(g+="H"+s.toString(32)),g+":"}function sn(n){return dt(n)}var ln="<!-- -->";function On(n,o,s,c){return o===""?c:(c&&n.push(ln),n.push(sn(o)),!0)}function pr(n,o,s,c){s&&c&&n.push(ln)}var Ut=new Map;function cn(n){var o=Ut.get(n);if(o!==void 0)return o;var s=dt(To(n));return Ut.set(n,s),s}var St=' style="',In=":",Gn=";";function hr(n,o,s){if(typeof s!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var c=!0;for(var g in s)if($.call(s,g)){var w=s[g];if(!(w==null||typeof w=="boolean"||w==="")){var k=void 0,M=void 0,z=g.indexOf("--")===0;z?(k=dt(g),j(w,g),M=dt((""+w).trim())):(nn(g,w),k=cn(g),typeof w=="number"?w!==0&&!$.call(ue,g)?M=w+"px":M=""+w:(j(w,g),M=dt((""+w).trim()))),c?(c=!1,n.push(St,k,In,M)):n.push(Gn,k,In,M)}}c||n.push(kt)}var _t=" ",un='="',kt='"',mr='=""';function mt(n,o,s,c){switch(s){case"style":{hr(n,o,c);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(s.length>2&&(s[0]==="o"||s[0]==="O")&&(s[1]==="n"||s[1]==="N"))){var g=Y(s);if(g!==null){switch(typeof c){case"function":case"symbol":return;case"boolean":if(!g.acceptsBooleans)return}var w=g.attributeName,k=w;switch(g.type){case le:c&&n.push(_t,k,mr);return;case ye:c===!0?n.push(_t,k,mr):c===!1||n.push(_t,k,un,dt(c),kt);return;case De:isNaN(c)||n.push(_t,k,un,dt(c),kt);break;case Fe:!isNaN(c)&&c>=1&&n.push(_t,k,un,dt(c),kt);break;default:g.sanitizeURL&&(U(c,w),c=""+c,Ci(c)),n.push(_t,k,un,dt(c),kt)}}else if(Z(s)){switch(typeof c){case"function":case"symbol":return;case"boolean":{var M=s.toLowerCase().slice(0,5);if(M!=="data-"&&M!=="aria-")return}}n.push(_t,s,un,dt(c),kt)}}}var At=">",f="/>";function b(n,o,s){if(o!=null){if(s!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof o!="object"||!("__html"in o))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var c=o.__html;c!=null&&(V(c),n.push(""+c))}}var E=!1,P=!1,H=!1,N=!1,G=!1,re=!1,ke=!1;function Ae(n,o){{var s=n[o];if(s!=null){var c=rn(s);n.multiple&&!c?a("The `%s` prop supplied to <select> must be an array if `multiple` is true.",o):!n.multiple&&c&&a("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",o)}}}function Ce(n,o,s){Be("select",o),Ae(o,"value"),Ae(o,"defaultValue"),o.value!==void 0&&o.defaultValue!==void 0&&!H&&(a("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),H=!0),n.push(dn("select"));var c=null,g=null;for(var w in o)if($.call(o,w)){var k=o[w];if(k==null)continue;switch(w){case"children":c=k;break;case"dangerouslySetInnerHTML":g=k;break;case"defaultValue":case"value":break;default:mt(n,s,w,k);break}}return n.push(At),b(n,g,c),c}function Ve(n){var o="";return e.Children.forEach(n,function(s){s!=null&&(o+=s,!G&&typeof s!="string"&&typeof s!="number"&&(G=!0,a("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),o}var Et=' selected=""';function Ct(n,o,s,c){var g=c.selectedValue;n.push(dn("option"));var w=null,k=null,M=null,z=null;for(var Q in o)if($.call(o,Q)){var ee=o[Q];if(ee==null)continue;switch(Q){case"children":w=ee;break;case"selected":M=ee,ke||(a("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),ke=!0);break;case"dangerouslySetInnerHTML":z=ee;break;case"value":k=ee;default:mt(n,s,Q,ee);break}}if(g!=null){var de;if(k!==null?(U(k,"value"),de=""+k):(z!==null&&(re||(re=!0,a("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),de=Ve(w)),rn(g))for(var Me=0;Me<g.length;Me++){U(g[Me],"value");var Xe=""+g[Me];if(Xe===de){n.push(Et);break}}else U(g,"select.value"),""+g===de&&n.push(Et)}else M&&n.push(Et);return n.push(At),b(n,z,w),w}function Tt(n,o,s){Be("input",o),o.checked!==void 0&&o.defaultChecked!==void 0&&!P&&(a("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",o.type),P=!0),o.value!==void 0&&o.defaultValue!==void 0&&!E&&(a("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",o.type),E=!0),n.push(dn("input"));var c=null,g=null,w=null,k=null;for(var M in o)if($.call(o,M)){var z=o[M];if(z==null)continue;switch(M){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":k=z;break;case"defaultValue":g=z;break;case"checked":w=z;break;case"value":c=z;break;default:mt(n,s,M,z);break}}return w!==null?mt(n,s,"checked",w):k!==null&&mt(n,s,"checked",k),c!==null?mt(n,s,"value",c):g!==null&&mt(n,s,"value",g),n.push(f),null}function Fn(n,o,s){Be("textarea",o),o.value!==void 0&&o.defaultValue!==void 0&&!N&&(a("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),N=!0),n.push(dn("textarea"));var c=null,g=null,w=null;for(var k in o)if($.call(o,k)){var M=o[k];if(M==null)continue;switch(k){case"children":w=M;break;case"value":c=M;break;case"defaultValue":g=M;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:mt(n,s,k,M);break}}if(c===null&&g!==null&&(c=g),n.push(At),w!=null){if(a("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),c!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(rn(w)){if(w.length>1)throw new Error("<textarea> can only have at most one child.");V(w[0]),c=""+w[0]}V(w),c=""+w}return typeof c=="string"&&c[0]===`
|
|
36
|
+
`&&n.push(Xn),c!==null&&(U(c,"value"),n.push(sn(""+c))),null}function fn(n,o,s,c){n.push(dn(s));for(var g in o)if($.call(o,g)){var w=o[g];if(w==null)continue;switch(g){case"children":case"dangerouslySetInnerHTML":throw new Error(s+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:mt(n,c,g,w);break}}return n.push(f),null}function gr(n,o,s){n.push(dn("menuitem"));for(var c in o)if($.call(o,c)){var g=o[c];if(g==null)continue;switch(c){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:mt(n,s,c,g);break}}return n.push(At),null}function Mn(n,o,s){n.push(dn("title"));var c=null;for(var g in o)if($.call(o,g)){var w=o[g];if(w==null)continue;switch(g){case"children":c=w;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:mt(n,s,g,w);break}}n.push(At);{var k=Array.isArray(c)&&c.length<2?c[0]||null:c;Array.isArray(c)&&c.length>1?a("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):k!=null&&k.$$typeof!=null?a("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):k!=null&&typeof k!="string"&&typeof k!="number"&&a("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return c}function Yn(n,o,s,c){n.push(dn(s));var g=null,w=null;for(var k in o)if($.call(o,k)){var M=o[k];if(M==null)continue;switch(k){case"children":g=M;break;case"dangerouslySetInnerHTML":w=M;break;default:mt(n,c,k,M);break}}return n.push(At),b(n,w,g),typeof g=="string"?(n.push(sn(g)),null):g}function vn(n,o,s,c){n.push(dn(s));var g=null,w=null;for(var k in o)if($.call(o,k)){var M=o[k];if(M==null)continue;switch(k){case"children":g=M;break;case"dangerouslySetInnerHTML":w=M;break;case"style":hr(n,c,M);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:Z(k)&&typeof M!="function"&&typeof M!="symbol"&&n.push(_t,k,un,dt(M),kt);break}}return n.push(At),b(n,w,g),g}var Xn=`
|
|
37
|
+
`;function nl(n,o,s,c){n.push(dn(s));var g=null,w=null;for(var k in o)if($.call(o,k)){var M=o[k];if(M==null)continue;switch(k){case"children":g=M;break;case"dangerouslySetInnerHTML":w=M;break;default:mt(n,c,k,M);break}}if(n.push(At),w!=null){if(g!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof w!="object"||!("__html"in w))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var z=w.__html;z!=null&&(typeof z=="string"&&z.length>0&&z[0]===`
|
|
38
|
+
`?n.push(Xn,z):(V(z),n.push(""+z)))}return typeof g=="string"&&g[0]===`
|
|
39
|
+
`&&n.push(Xn),g}var rl=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ao=new Map;function dn(n){var o=Ao.get(n);if(o===void 0){if(!rl.test(n))throw new Error("Invalid tag: "+n);o="<"+n,Ao.set(n,o)}return o}var ol="<!DOCTYPE html>";function yn(n,o,s,c,g){switch(Hn(o,s),So(o,s),ko(o,s,null),!s.suppressContentEditableWarning&&s.contentEditable&&s.children!=null&&a("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),g.insertionMode!==on&&g.insertionMode!==dr&&o.indexOf("-")===-1&&typeof s.is!="string"&&o.toLowerCase()!==o&&a("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",o),o){case"select":return Ce(n,s,c);case"option":return Ct(n,s,c,g);case"textarea":return Fn(n,s,c);case"input":return Tt(n,s,c);case"menuitem":return gr(n,s,c);case"title":return Mn(n,s,c);case"listing":case"pre":return nl(n,s,o,c);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return fn(n,s,o,c);case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return Yn(n,s,o,c);case"html":return g.insertionMode===Tn&&n.push(ol),Yn(n,s,o,c);default:return o.indexOf("-")===-1&&typeof s.is!="string"?Yn(n,s,o,c):vn(n,s,o,c)}}var Ri="</",Oo=">";function qe(n,o,s){switch(o){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:n.push(Ri,o,Oo)}}function Qn(n,o){for(var s=o.bootstrapChunks,c=0;c<s.length-1;c++)h(n,s[c]);return c<s.length?v(n,s[c]):!0}var Io='<template id="',qn='"></template>';function Dn(n,o,s){h(n,Io),h(n,o.placeholderPrefix);var c=s.toString(16);return h(n,c),v(n,qn)}var Fo="<!--$-->",_n='<!--$?--><template id="',Ht='"></template>',Pi="<!--$!-->",Ur="<!--/$-->",Aa="<template",Mo='"',Oa=' data-dgst="',il=' data-msg="',al=' data-stck="',Do="></template>";function Ia(n,o){return v(n,Fo)}function Hr(n,o,s){if(h(n,_n),s===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return h(n,s),v(n,Ht)}function Ai(n,o,s,c,g){var w;return w=v(n,Pi),h(n,Aa),s&&(h(n,Oa),h(n,dt(s)),h(n,Mo)),c&&(h(n,il),h(n,dt(c)),h(n,Mo)),g&&(h(n,al),h(n,dt(g)),h(n,Mo)),w=v(n,Do),w}function sl(n,o){return v(n,Ur)}function vr(n,o){return v(n,Ur)}function Oi(n,o){return v(n,Ur)}var Ii='<div hidden id="',yr='">',Wr="</div>",_o='<svg aria-hidden="true" style="display:none" id="',Fa='">',Ma="</svg>",Da='<math aria-hidden="true" style="display:none" id="',Lo='">',Ot="</math>",_a='<table hidden id="',$o='">',ll="</table>",La='<table hidden><tbody id="',jo='">',$a="</tbody></table>",ja='<table hidden><tr id="',No='">',zo="</tr></table>",Na='<table hidden><colgroup id="',za='">',Ba="</colgroup></table>";function Fi(n,o,s,c){switch(s.insertionMode){case Tn:case Rt:return h(n,Ii),h(n,o.segmentPrefix),h(n,c.toString(16)),v(n,yr);case on:return h(n,_o),h(n,o.segmentPrefix),h(n,c.toString(16)),v(n,Fa);case dr:return h(n,Da),h(n,o.segmentPrefix),h(n,c.toString(16)),v(n,Lo);case Rn:return h(n,_a),h(n,o.segmentPrefix),h(n,c.toString(16)),v(n,$o);case Pn:return h(n,La),h(n,o.segmentPrefix),h(n,c.toString(16)),v(n,jo);case an:return h(n,ja),h(n,o.segmentPrefix),h(n,c.toString(16)),v(n,No);case An:return h(n,Na),h(n,o.segmentPrefix),h(n,c.toString(16)),v(n,za);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function Ua(n,o){switch(o.insertionMode){case Tn:case Rt:return v(n,Wr);case on:return v(n,Ma);case dr:return v(n,Ot);case Rn:return v(n,ll);case Pn:return v(n,$a);case an:return v(n,zo);case An:return v(n,Ba);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var d="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",y='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',S='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',R=d+';$RS("',W='$RS("',B='","',X='")<\/script>';function oe(n,o,s){h(n,o.startInlineScript),o.sentCompleteSegmentFunction?h(n,W):(o.sentCompleteSegmentFunction=!0,h(n,R)),h(n,o.segmentPrefix);var c=s.toString(16);return h(n,c),h(n,B),h(n,o.placeholderPrefix),h(n,c),v(n,X)}var Oe=y+';$RC("',Ne='$RC("',je='","',et='")<\/script>';function It(n,o,s,c){if(h(n,o.startInlineScript),o.sentCompleteBoundaryFunction?h(n,Ne):(o.sentCompleteBoundaryFunction=!0,h(n,Oe)),s===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var g=c.toString(16);return h(n,s),h(n,je),h(n,o.segmentPrefix),h(n,g),v(n,et)}var Wt=S+';$RX("',Vt='$RX("',Bo='"',Ha=")<\/script>",Vr=",";function df(n,o,s,c,g,w){if(h(n,o.startInlineScript),o.sentClientRenderFunction?h(n,Vt):(o.sentClientRenderFunction=!0,h(n,Wt)),s===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return h(n,s),h(n,Bo),(c||g||w)&&(h(n,Vr),h(n,cl(c||""))),(g||w)&&(h(n,Vr),h(n,cl(g||""))),w&&(h(n,Vr),h(n,cl(w))),v(n,Ha)}var pf=/[<\u2028\u2029]/g;function cl(n){var o=JSON.stringify(n);return o.replace(pf,function(s){switch(s){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function hf(n,o){var s=fr(o);return{bootstrapChunks:s.bootstrapChunks,startInlineScript:s.startInlineScript,placeholderPrefix:s.placeholderPrefix,segmentPrefix:s.segmentPrefix,boundaryPrefix:s.boundaryPrefix,idPrefix:s.idPrefix,nextSuspenseID:s.nextSuspenseID,sentCompleteSegmentFunction:s.sentCompleteSegmentFunction,sentCompleteBoundaryFunction:s.sentCompleteBoundaryFunction,sentClientRenderFunction:s.sentClientRenderFunction,generateStaticMarkup:n}}function mf(){return{insertionMode:Rt,selectedValue:null}}function Tc(n,o,s,c){return s.generateStaticMarkup?(n.push(dt(o)),!1):On(n,o,s,c)}function Rc(n,o,s,c){if(!o.generateStaticMarkup)return pr(n,o,s,c)}function gf(n,o){return o.generateStaticMarkup?!0:Ia(n)}function vf(n,o,s,c,g){return o.generateStaticMarkup?!0:Ai(n,o,s,c,g)}function yf(n,o){return o.generateStaticMarkup?!0:sl(n)}function bf(n,o){return o.generateStaticMarkup?!0:Oi(n)}var Lt=Object.assign,wf=Symbol.for("react.element"),Pc=Symbol.for("react.portal"),Wa=Symbol.for("react.fragment"),Gt=Symbol.for("react.strict_mode"),Ac=Symbol.for("react.profiler"),Va=Symbol.for("react.provider"),Ga=Symbol.for("react.context"),Ya=Symbol.for("react.forward_ref"),Xa=Symbol.for("react.suspense"),Mi=Symbol.for("react.suspense_list"),Di=Symbol.for("react.memo"),Uo=Symbol.for("react.lazy"),ul=Symbol.for("react.scope"),fl=Symbol.for("react.debug_trace_mode"),dl=Symbol.for("react.legacy_hidden"),Qa=Symbol.for("react.default_value"),Oc=Symbol.iterator,xf="@@iterator";function Sf(n){if(n===null||typeof n!="object")return null;var o=Oc&&n[Oc]||n[xf];return typeof o=="function"?o:null}function kf(n,o,s){var c=n.displayName;if(c)return c;var g=o.displayName||o.name||"";return g!==""?s+"("+g+")":s}function pl(n){return n.displayName||"Context"}function it(n){if(n==null)return null;if(typeof n.tag=="number"&&a("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case Wa:return"Fragment";case Pc:return"Portal";case Ac:return"Profiler";case Gt:return"StrictMode";case Xa:return"Suspense";case Mi:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case Ga:var o=n;return pl(o)+".Consumer";case Va:var s=n;return pl(s._context)+".Provider";case Ya:return kf(n,n.render,"ForwardRef");case Di:var c=n.displayName||null;return c!==null?c:it(n.type)||"Memo";case Uo:{var g=n,w=g._payload,k=g._init;try{return it(k(w))}catch{return null}}}return null}var _i=0,Ic,hl,rt,Ho,ml,gl,vl;function yl(){}yl.__reactDisabledLog=!0;function Fc(){{if(_i===0){Ic=console.log,hl=console.info,rt=console.warn,Ho=console.error,ml=console.group,gl=console.groupCollapsed,vl=console.groupEnd;var n={configurable:!0,enumerable:!0,value:yl,writable:!0};Object.defineProperties(console,{info:n,log:n,warn:n,error:n,group:n,groupCollapsed:n,groupEnd:n})}_i++}}function Mc(){{if(_i--,_i===0){var n={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Lt({},n,{value:Ic}),info:Lt({},n,{value:hl}),warn:Lt({},n,{value:rt}),error:Lt({},n,{value:Ho}),group:Lt({},n,{value:ml}),groupCollapsed:Lt({},n,{value:gl}),groupEnd:Lt({},n,{value:vl})})}_i<0&&a("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var qa=r.ReactCurrentDispatcher,Ka;function Li(n,o,s){{if(Ka===void 0)try{throw Error()}catch(g){var c=g.stack.trim().match(/\n( *(at )?)/);Ka=c&&c[1]||""}return`
|
|
40
|
+
`+Ka+n}}var bl=!1,Wo;{var wl=typeof WeakMap=="function"?WeakMap:Map;Wo=new wl}function Gr(n,o){if(!n||bl)return"";{var s=Wo.get(n);if(s!==void 0)return s}var c;bl=!0;var g=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var w;w=qa.current,qa.current=null,Fc();try{if(o){var k=function(){throw Error()};if(Object.defineProperty(k.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(k,[])}catch(vt){c=vt}Reflect.construct(n,[],k)}else{try{k.call()}catch(vt){c=vt}n.call(k.prototype)}}else{try{throw Error()}catch(vt){c=vt}n()}}catch(vt){if(vt&&c&&typeof vt.stack=="string"){for(var M=vt.stack.split(`
|
|
41
|
+
`),z=c.stack.split(`
|
|
42
|
+
`),Q=M.length-1,ee=z.length-1;Q>=1&&ee>=0&&M[Q]!==z[ee];)ee--;for(;Q>=1&&ee>=0;Q--,ee--)if(M[Q]!==z[ee]){if(Q!==1||ee!==1)do if(Q--,ee--,ee<0||M[Q]!==z[ee]){var de=`
|
|
43
|
+
`+M[Q].replace(" at new "," at ");return n.displayName&&de.includes("<anonymous>")&&(de=de.replace("<anonymous>",n.displayName)),typeof n=="function"&&Wo.set(n,de),de}while(Q>=1&&ee>=0);break}}}finally{bl=!1,qa.current=w,Mc(),Error.prepareStackTrace=g}var Me=n?n.displayName||n.name:"",Xe=Me?Li(Me):"";return typeof n=="function"&&Wo.set(n,Xe),Xe}function xl(n,o,s){return Gr(n,!0)}function $i(n,o,s){return Gr(n,!1)}function Ef(n){var o=n.prototype;return!!(o&&o.isReactComponent)}function ji(n,o,s){if(n==null)return"";if(typeof n=="function")return Gr(n,Ef(n));if(typeof n=="string")return Li(n);switch(n){case Xa:return Li("Suspense");case Mi:return Li("SuspenseList")}if(typeof n=="object")switch(n.$$typeof){case Ya:return $i(n.render);case Di:return ji(n.type,o,s);case Uo:{var c=n,g=c._payload,w=c._init;try{return ji(w(g),o,s)}catch{}}}return""}var Dc={},Sl=r.ReactDebugCurrentFrame;function Ja(n){if(n){var o=n._owner,s=ji(n.type,n._source,o?o.type:null);Sl.setExtraStackFrame(s)}else Sl.setExtraStackFrame(null)}function Za(n,o,s,c,g){{var w=Function.call.bind($);for(var k in n)if(w(n,k)){var M=void 0;try{if(typeof n[k]!="function"){var z=Error((c||"React class")+": "+s+" type `"+k+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof n[k]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw z.name="Invariant Violation",z}M=n[k](o,k,c,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Q){M=Q}M&&!(M instanceof Error)&&(Ja(g),a("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",c||"React class",s,k,typeof M),Ja(null)),M instanceof Error&&!(M.message in Dc)&&(Dc[M.message]=!0,Ja(g),a("Failed %s type: %s",s,M.message),Ja(null))}}}var es;es={};var Ni={};Object.freeze(Ni);function zi(n,o){{var s=n.contextTypes;if(!s)return Ni;var c={};for(var g in s)c[g]=o[g];{var w=it(n)||"Unknown";Za(s,c,"context",w)}return c}}function _c(n,o,s,c){{if(typeof n.getChildContext!="function"){{var g=it(o)||"Unknown";es[g]||(es[g]=!0,a("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",g,g))}return s}var w=n.getChildContext();for(var k in w)if(!(k in c))throw new Error((it(o)||"Unknown")+'.getChildContext(): key "'+k+'" is not defined in childContextTypes.');{var M=it(o)||"Unknown";Za(c,w,"child context",M)}return Lt({},s,w)}}var Yr;Yr={};var ts=null,br=null;function kl(n){n.context._currentValue2=n.parentValue}function Xr(n){n.context._currentValue2=n.value}function ns(n,o){if(n!==o){kl(n);var s=n.parent,c=o.parent;if(s===null){if(c!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(c===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");ns(s,c)}Xr(o)}}function wr(n){kl(n);var o=n.parent;o!==null&&wr(o)}function rs(n){var o=n.parent;o!==null&&rs(o),Xr(n)}function os(n,o){kl(n);var s=n.parent;if(s===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");s.depth===o.depth?ns(s,o):os(s,o)}function Bi(n,o){var s=o.parent;if(s===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");n.depth===s.depth?ns(n,s):Bi(n,s),Xr(o)}function Ui(n){var o=br,s=n;o!==s&&(o===null?rs(s):s===null?wr(o):o.depth===s.depth?ns(o,s):o.depth>s.depth?os(o,s):Bi(o,s),br=s)}function Lc(n,o){var s;s=n._currentValue2,n._currentValue2=o,n._currentRenderer2!==void 0&&n._currentRenderer2!==null&&n._currentRenderer2!==Yr&&a("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),n._currentRenderer2=Yr;var c=br,g={parent:c,depth:c===null?0:c.depth+1,context:n,parentValue:s,value:o};return br=g,g}function $c(n){var o=br;if(o===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");o.context!==n&&a("The parent context is not the expected context. This is probably a bug in React.");{var s=o.parentValue;s===Qa?o.context._currentValue2=o.context._defaultValue:o.context._currentValue2=s,n._currentRenderer2!==void 0&&n._currentRenderer2!==null&&n._currentRenderer2!==Yr&&a("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),n._currentRenderer2=Yr}return br=o.parent}function jc(){return br}function xr(n){var o=n._currentValue2;return o}function El(n){return n._reactInternals}function Cf(n,o){n._reactInternals=o}var Nc={},Vo={},Hi,Cl,is,as,ss,Go,Wi,Vi,ls;{Hi=new Set,Cl=new Set,is=new Set,Wi=new Set,as=new Set,Vi=new Set,ls=new Set;var Gi=new Set;Go=function(n,o){if(!(n===null||typeof n=="function")){var s=o+"_"+n;Gi.has(s)||(Gi.add(s),a("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",o,n))}},ss=function(n,o){if(o===void 0){var s=it(n)||"Component";as.has(s)||(as.add(s),a("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",s))}}}function cs(n,o){{var s=n.constructor,c=s&&it(s)||"ReactClass",g=c+"."+o;if(Nc[g])return;a(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
|
|
44
|
+
|
|
45
|
+
Please check the code for the %s component.`,o,o,c),Nc[g]=!0}}var us={isMounted:function(n){return!1},enqueueSetState:function(n,o,s){var c=El(n);c.queue===null?cs(n,"setState"):(c.queue.push(o),s!=null&&Go(s,"setState"))},enqueueReplaceState:function(n,o,s){var c=El(n);c.replace=!0,c.queue=[o],s!=null&&Go(s,"setState")},enqueueForceUpdate:function(n,o){var s=El(n);s.queue===null?cs(n,"forceUpdate"):o!=null&&Go(o,"setState")}};function Tl(n,o,s,c,g){var w=s(g,c);ss(o,w);var k=w==null?c:Lt({},c,w);return k}function zc(n,o,s){var c=Ni,g=n.contextType;if("contextType"in n){var w=g===null||g!==void 0&&g.$$typeof===Ga&&g._context===void 0;if(!w&&!ls.has(n)){ls.add(n);var k="";g===void 0?k=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof g!="object"?k=" However, it is set to a "+typeof g+".":g.$$typeof===Va?k=" Did you accidentally pass the Context.Provider instead?":g._context!==void 0?k=" Did you accidentally pass the Context.Consumer instead?":k=" However, it is set to an object with keys {"+Object.keys(g).join(", ")+"}.",a("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",it(n)||"Component",k)}}typeof g=="object"&&g!==null?c=xr(g):c=s;var M=new n(o,c);{if(typeof n.getDerivedStateFromProps=="function"&&(M.state===null||M.state===void 0)){var z=it(n)||"Component";Hi.has(z)||(Hi.add(z),a("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",z,M.state===null?"null":"undefined",z))}if(typeof n.getDerivedStateFromProps=="function"||typeof M.getSnapshotBeforeUpdate=="function"){var Q=null,ee=null,de=null;if(typeof M.componentWillMount=="function"&&M.componentWillMount.__suppressDeprecationWarning!==!0?Q="componentWillMount":typeof M.UNSAFE_componentWillMount=="function"&&(Q="UNSAFE_componentWillMount"),typeof M.componentWillReceiveProps=="function"&&M.componentWillReceiveProps.__suppressDeprecationWarning!==!0?ee="componentWillReceiveProps":typeof M.UNSAFE_componentWillReceiveProps=="function"&&(ee="UNSAFE_componentWillReceiveProps"),typeof M.componentWillUpdate=="function"&&M.componentWillUpdate.__suppressDeprecationWarning!==!0?de="componentWillUpdate":typeof M.UNSAFE_componentWillUpdate=="function"&&(de="UNSAFE_componentWillUpdate"),Q!==null||ee!==null||de!==null){var Me=it(n)||"Component",Xe=typeof n.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";is.has(Me)||(is.add(Me),a(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
46
|
+
|
|
47
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
48
|
+
|
|
49
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
50
|
+
https://reactjs.org/link/unsafe-component-lifecycles`,Me,Xe,Q!==null?`
|
|
51
|
+
`+Q:"",ee!==null?`
|
|
52
|
+
`+ee:"",de!==null?`
|
|
53
|
+
`+de:""))}}}return M}function Bc(n,o,s){{var c=it(o)||"Component",g=n.render;g||(o.prototype&&typeof o.prototype.render=="function"?a("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",c):a("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",c)),n.getInitialState&&!n.getInitialState.isReactClassApproved&&!n.state&&a("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",c),n.getDefaultProps&&!n.getDefaultProps.isReactClassApproved&&a("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",c),n.propTypes&&a("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",c),n.contextType&&a("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",c),n.contextTypes&&a("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",c),o.contextType&&o.contextTypes&&!Vi.has(o)&&(Vi.add(o),a("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",c)),typeof n.componentShouldUpdate=="function"&&a("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",c),o.prototype&&o.prototype.isPureReactComponent&&typeof n.shouldComponentUpdate<"u"&&a("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",it(o)||"A pure component"),typeof n.componentDidUnmount=="function"&&a("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",c),typeof n.componentDidReceiveProps=="function"&&a("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",c),typeof n.componentWillRecieveProps=="function"&&a("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",c),typeof n.UNSAFE_componentWillRecieveProps=="function"&&a("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",c);var w=n.props!==s;n.props!==void 0&&w&&a("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",c,c),n.defaultProps&&a("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",c,c),typeof n.getSnapshotBeforeUpdate=="function"&&typeof n.componentDidUpdate!="function"&&!Cl.has(o)&&(Cl.add(o),a("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",it(o))),typeof n.getDerivedStateFromProps=="function"&&a("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",c),typeof n.getDerivedStateFromError=="function"&&a("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",c),typeof o.getSnapshotBeforeUpdate=="function"&&a("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",c);var k=n.state;k&&(typeof k!="object"||rn(k))&&a("%s.state: must be set to an object or null",c),typeof n.getChildContext=="function"&&typeof o.childContextTypes!="object"&&a("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",c)}}function Uc(n,o){var s=o.state;if(typeof o.componentWillMount=="function"){if(o.componentWillMount.__suppressDeprecationWarning!==!0){var c=it(n)||"Unknown";Vo[c]||(i(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
54
|
+
|
|
55
|
+
* Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
|
|
56
|
+
|
|
57
|
+
Please update the following components: %s`,c),Vo[c]=!0)}o.componentWillMount()}typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),s!==o.state&&(a("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",it(n)||"Component"),us.enqueueReplaceState(o,o.state,null))}function Tf(n,o,s,c){if(n.queue!==null&&n.queue.length>0){var g=n.queue,w=n.replace;if(n.queue=null,n.replace=!1,w&&g.length===1)o.state=g[0];else{for(var k=w?g[0]:o.state,M=!0,z=w?1:0;z<g.length;z++){var Q=g[z],ee=typeof Q=="function"?Q.call(o,k,s,c):Q;ee!=null&&(M?(M=!1,k=Lt({},k,ee)):Lt(k,ee))}o.state=k}}else n.queue=null}function Hc(n,o,s,c){Bc(n,o,s);var g=n.state!==void 0?n.state:null;n.updater=us,n.props=s,n.state=g;var w={queue:[],replace:!1};Cf(n,w);var k=o.contextType;if(typeof k=="object"&&k!==null?n.context=xr(k):n.context=c,n.state===s){var M=it(o)||"Component";Wi.has(M)||(Wi.add(M),a("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",M))}var z=o.getDerivedStateFromProps;typeof z=="function"&&(n.state=Tl(n,o,z,g,s)),typeof o.getDerivedStateFromProps!="function"&&typeof n.getSnapshotBeforeUpdate!="function"&&(typeof n.UNSAFE_componentWillMount=="function"||typeof n.componentWillMount=="function")&&(Uc(o,n),Tf(w,n,s,c))}var Rf={id:1,overflow:""};function Pf(n){var o=n.overflow,s=n.id,c=s&~Af(s);return c.toString(32)+o}function Rl(n,o,s){var c=n.id,g=n.overflow,w=Yi(c)-1,k=c&~(1<<w),M=s+1,z=Yi(o)+w;if(z>30){var Q=w-w%5,ee=(1<<Q)-1,de=(k&ee).toString(32),Me=k>>Q,Xe=w-Q,vt=Yi(o)+Xe,to=M<<Xe,no=to|Me,tr=de+g;return{id:1<<vt|no,overflow:tr}}else{var Zo=M<<w,sd=Zo|k,$y=g;return{id:1<<z|sd,overflow:$y}}}function Yi(n){return 32-Of(n)}function Af(n){return 1<<Yi(n)-1}var Of=Math.clz32?Math.clz32:If,Pl=Math.log,fs=Math.LN2;function If(n){var o=n>>>0;return o===0?32:31-(Pl(o)/fs|0)|0}function Ff(n,o){return n===o&&(n!==0||1/n===1/o)||n!==n&&o!==o}var Mf=typeof Object.is=="function"?Object.is:Ff,Kn=null,Al=null,ds=null,nt=null,Yt=!1,Yo=!1,Qr=0,Ge=null,Sr=0,ps=25,Xt=!1,Qt;function Ln(){if(Kn===null)throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
58
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
59
|
+
2. You might be breaking the Rules of Hooks
|
|
60
|
+
3. You might have more than one copy of React in the same app
|
|
61
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return Xt&&a("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"),Kn}function Df(n,o){if(o===null)return a("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Qt),!1;n.length!==o.length&&a(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
62
|
+
|
|
63
|
+
Previous: %s
|
|
64
|
+
Incoming: %s`,Qt,"["+n.join(", ")+"]","["+o.join(", ")+"]");for(var s=0;s<o.length&&s<n.length;s++)if(!Mf(n[s],o[s]))return!1;return!0}function bn(){if(Sr>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function kr(){return nt===null?ds===null?(Yt=!1,ds=nt=bn()):(Yt=!0,nt=ds):nt.next===null?(Yt=!1,nt=nt.next=bn()):(Yt=!0,nt=nt.next),nt}function qr(n,o){Kn=o,Al=n,Xt=!1,Qr=0}function _f(n,o,s,c){for(;Yo;)Yo=!1,Qr=0,Sr+=1,nt=null,s=n(o,c);return Xi(),s}function Ol(){var n=Qr!==0;return n}function Xi(){Xt=!1,Kn=null,Al=null,Yo=!1,ds=null,Sr=0,Ge=null,nt=null}function Lf(n){return Xt&&a("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),xr(n)}function $f(n){return Qt="useContext",Ln(),xr(n)}function hs(n,o){return typeof o=="function"?o(n):o}function Il(n){return Qt="useState",Wc(hs,n)}function Wc(n,o,s){if(n!==hs&&(Qt="useReducer"),Kn=Ln(),nt=kr(),Yt){var c=nt.queue,g=c.dispatch;if(Ge!==null){var w=Ge.get(c);if(w!==void 0){Ge.delete(c);var k=nt.memoizedState,M=w;do{var z=M.action;Xt=!0,k=n(k,z),Xt=!1,M=M.next}while(M!==null);return nt.memoizedState=k,[k,g]}}return[nt.memoizedState,g]}else{Xt=!0;var Q;n===hs?Q=typeof o=="function"?o():o:Q=s!==void 0?s(o):o,Xt=!1,nt.memoizedState=Q;var ee=nt.queue={last:null,dispatch:null},de=ee.dispatch=Gc.bind(null,Kn,ee);return[nt.memoizedState,de]}}function Vc(n,o){Kn=Ln(),nt=kr();var s=o===void 0?null:o;if(nt!==null){var c=nt.memoizedState;if(c!==null&&s!==null){var g=c[1];if(Df(s,g))return c[0]}}Xt=!0;var w=n();return Xt=!1,nt.memoizedState=[w,s],w}function Fl(n){Kn=Ln(),nt=kr();var o=nt.memoizedState;if(o===null){var s={current:n};return Object.seal(s),nt.memoizedState=s,s}else return o}function jf(n,o){Qt="useLayoutEffect",a("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function Gc(n,o,s){if(Sr>=ps)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(n===Kn){Yo=!0;var c={action:s,next:null};Ge===null&&(Ge=new Map);var g=Ge.get(o);if(g===void 0)Ge.set(o,c);else{for(var w=g;w.next!==null;)w=w.next;w.next=c}}}function Yc(n,o){return Vc(function(){return n},o)}function Nf(n,o,s){return Ln(),o(n._source)}function zf(n,o,s){if(s===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return s()}function Bf(n){return Ln(),n}function Uf(){throw new Error("startTransition cannot be called during server rendering.")}function Hf(){return Ln(),[!1,Uf]}function Wf(){var n=Al,o=Pf(n.treeContext),s=Ml;if(s===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var c=Qr++;return ct(s,o,c)}function ms(){}var Xc={readContext:Lf,useContext:$f,useMemo:Vc,useReducer:Wc,useRef:Fl,useState:Il,useInsertionEffect:ms,useLayoutEffect:jf,useCallback:Yc,useImperativeHandle:ms,useEffect:ms,useDebugValue:ms,useDeferredValue:Bf,useTransition:Hf,useId:Wf,useMutableSource:Nf,useSyncExternalStore:zf},Ml=null;function Qc(n){Ml=n}function gs(n){try{var o="",s=n;do{switch(s.tag){case 0:o+=Li(s.type,null,null);break;case 1:o+=$i(s.type,null,null);break;case 2:o+=xl(s.type,null,null);break}s=s.parent}while(s);return o}catch(c){return`
|
|
65
|
+
Error generating stack: `+c.message+`
|
|
66
|
+
`+c.stack}}var vs=r.ReactCurrentDispatcher,Qi=r.ReactDebugCurrentFrame,ys=0,Xo=1,bs=2,ws=3,xs=4,Qo=0,Dl=1,Kr=2,qc=12800;function Vf(n){return console.error(n),null}function qo(){}function Ko(n,o,s,c,g,w,k,M,z){var Q=[],ee=new Set,de={destination:null,responseState:o,progressiveChunkSize:c===void 0?qc:c,status:Qo,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:ee,pingedTasks:Q,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:g===void 0?Vf:g,onAllReady:qo,onShellReady:k===void 0?qo:k,onShellError:qo,onFatalError:qo},Me=Ss(de,0,null,s,!1,!1);Me.parentFlushed=!0;var Xe=Jr(de,n,null,Me,ee,Ni,ts,Rf);return Q.push(Xe),de}function Gf(n,o){var s=n.pingedTasks;s.push(o),s.length===1&&p(function(){return Wl(n)})}function Yf(n,o){return{id:Po,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:o,errorDigest:null}}function Jr(n,o,s,c,g,w,k,M){n.allPendingTasks++,s===null?n.pendingRootTasks++:s.pendingTasks++;var z={node:o,ping:function(){return Gf(n,z)},blockedBoundary:s,blockedSegment:c,abortSet:g,legacyContext:w,context:k,treeContext:M};return z.componentStack=null,g.add(z),z}function Ss(n,o,s,c,g,w){return{status:ys,id:-1,index:o,parentFlushed:!1,chunks:[],children:[],formatContext:c,boundary:s,lastPushedText:g,textEmbedded:w}}var Jn=null;function _l(){return Jn===null||Jn.componentStack===null?"":gs(Jn.componentStack)}function Zr(n,o){n.componentStack={tag:0,parent:n.componentStack,type:o}}function qi(n,o){n.componentStack={tag:1,parent:n.componentStack,type:o}}function Zn(n,o){n.componentStack={tag:2,parent:n.componentStack,type:o}}function $n(n){n.componentStack===null?a("Unexpectedly popped too many stack frames. This is a bug in React."):n.componentStack=n.componentStack.parent}var er=null;function ks(n,o){{var s;typeof o=="string"?s=o:o&&typeof o.message=="string"?s=o.message:s=String(o);var c=er||_l();er=null,n.errorMessage=s,n.errorComponentStack=c}}function Ki(n,o){var s=n.onError(o);if(s!=null&&typeof s!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof s+'" instead');return s}function wn(n,o){var s=n.onShellError;s(o);var c=n.onFatalError;c(o),n.destination!==null?(n.status=Kr,L(n.destination,o)):(n.status=Dl,n.fatalError=o)}function Ji(n,o,s){Zr(o,"Suspense");var c=o.blockedBoundary,g=o.blockedSegment,w=s.fallback,k=s.children,M=new Set,z=Yf(n,M),Q=g.chunks.length,ee=Ss(n,Q,z,g.formatContext,!1,!1);g.children.push(ee),g.lastPushedText=!1;var de=Ss(n,0,null,g.formatContext,!1,!1);de.parentFlushed=!0,o.blockedBoundary=z,o.blockedSegment=de;try{if(Ft(n,o,k),Rc(de.chunks,n.responseState,de.lastPushedText,de.textEmbedded),de.status=Xo,Jo(z,de),z.pendingTasks===0){$n(o);return}}catch(Xe){de.status=xs,z.forceClientRender=!0,z.errorDigest=Ki(n,Xe),ks(z,Xe)}finally{o.blockedBoundary=c,o.blockedSegment=g}var Me=Jr(n,w,c,ee,M,o.legacyContext,o.context,o.treeContext);Me.componentStack=o.componentStack,n.pingedTasks.push(Me),$n(o)}function Ll(n,o,s,c){Zr(o,s);var g=o.blockedSegment,w=yn(g.chunks,s,c,n.responseState,g.formatContext);g.lastPushedText=!1;var k=g.formatContext;g.formatContext=Ro(k,s,c),Ft(n,o,w),g.formatContext=k,qe(g.chunks,s),g.lastPushedText=!1,$n(o)}function Zi(n){return n.prototype&&n.prototype.isReactComponent}function ea(n,o,s,c,g){var w={};qr(o,w);var k=s(c,g);return _f(s,c,k,g)}function Kc(n,o,s,c,g){var w=s.render();s.props!==g&&(jl||a("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",it(c)||"a component"),jl=!0);{var k=c.childContextTypes;if(k!=null){var M=o.legacyContext,z=_c(s,c,M,k);o.legacyContext=z,qt(n,o,w),o.legacyContext=M;return}}qt(n,o,w)}function Xf(n,o,s,c){Zn(o,s);var g=zi(s,o.legacyContext),w=zc(s,c,g);Hc(w,s,c,g),Kc(n,o,w,s,c),$n(o)}var Jc={},ta={},$l={},Zc={},jl=!1,na={},Nl=!1,zl=!1,Bl=!1;function eu(n,o,s,c){var g;if(g=zi(s,o.legacyContext),qi(o,s),s.prototype&&typeof s.prototype.render=="function"){var w=it(s)||"Unknown";Jc[w]||(a("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",w,w),Jc[w]=!0)}var k=ea(n,o,s,c,g),M=Ol();if(typeof k=="object"&&k!==null&&typeof k.render=="function"&&k.$$typeof===void 0){var z=it(s)||"Unknown";ta[z]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",z,z,z),ta[z]=!0)}if(typeof k=="object"&&k!==null&&typeof k.render=="function"&&k.$$typeof===void 0){{var Q=it(s)||"Unknown";ta[Q]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",Q,Q,Q),ta[Q]=!0)}Hc(k,s,c,g),Kc(n,o,k,s,c)}else if(tu(s),M){var ee=o.treeContext,de=1,Me=0;o.treeContext=Rl(ee,de,Me);try{qt(n,o,k)}finally{o.treeContext=ee}}else qt(n,o,k);$n(o)}function tu(n){{if(n&&n.childContextTypes&&a("%s(...): childContextTypes cannot be defined on a function component.",n.displayName||n.name||"Component"),n.defaultProps!==void 0){var o=it(n)||"Unknown";na[o]||(a("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",o),na[o]=!0)}if(typeof n.getDerivedStateFromProps=="function"){var s=it(n)||"Unknown";Zc[s]||(a("%s: Function components do not support getDerivedStateFromProps.",s),Zc[s]=!0)}if(typeof n.contextType=="object"&&n.contextType!==null){var c=it(n)||"Unknown";$l[c]||(a("%s: Function components do not support contextType.",c),$l[c]=!0)}}}function Ul(n,o){if(n&&n.defaultProps){var s=Lt({},o),c=n.defaultProps;for(var g in c)s[g]===void 0&&(s[g]=c[g]);return s}return o}function nu(n,o,s,c,g){qi(o,s.render);var w=ea(n,o,s.render,c,g),k=Ol();if(k){var M=o.treeContext,z=1,Q=0;o.treeContext=Rl(M,z,Q);try{qt(n,o,w)}finally{o.treeContext=M}}else qt(n,o,w);$n(o)}function Qf(n,o,s,c,g){var w=s.type,k=Ul(w,c);Hl(n,o,w,k,g)}function qf(n,o,s,c){s._context===void 0?s!==s.Consumer&&(Bl||(Bl=!0,a("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):s=s._context;var g=c.children;typeof g!="function"&&a("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var w=xr(s),k=g(w);qt(n,o,k)}function ru(n,o,s,c){var g=s._context,w=c.value,k=c.children,M;M=o.context,o.context=Lc(g,w),qt(n,o,k),o.context=$c(g),M!==o.context&&a("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Kf(n,o,s,c,g){Zr(o,"Lazy");var w=s._payload,k=s._init,M=k(w),z=Ul(M,c);Hl(n,o,M,z,g),$n(o)}function Hl(n,o,s,c,g){if(typeof s=="function")if(Zi(s)){Xf(n,o,s,c);return}else{eu(n,o,s,c);return}if(typeof s=="string"){Ll(n,o,s,c);return}switch(s){case dl:case fl:case Gt:case Ac:case Wa:{qt(n,o,c.children);return}case Mi:{Zr(o,"SuspenseList"),qt(n,o,c.children),$n(o);return}case ul:throw new Error("ReactDOMServer does not yet support scope components.");case Xa:{Ji(n,o,c);return}}if(typeof s=="object"&&s!==null)switch(s.$$typeof){case Ya:{nu(n,o,s,c,g);return}case Di:{Qf(n,o,s,c,g);return}case Va:{ru(n,o,s,c);return}case Ga:{qf(n,o,s,c);return}case Uo:{Kf(n,o,s,c);return}}var w="";throw(s===void 0||typeof s=="object"&&s!==null&&Object.keys(s).length===0)&&(w+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(s==null?s:typeof s)+"."+w))}function Jf(n,o){typeof Symbol=="function"&&n[Symbol.toStringTag]==="Generator"&&(Nl||a("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),Nl=!0),n.entries===o&&(zl||a("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),zl=!0)}function qt(n,o,s){try{return Zf(n,o,s)}catch(c){throw typeof c=="object"&&c!==null&&typeof c.then=="function"||(er=er!==null?er:_l()),c}}function Zf(n,o,s){if(o.node=s,typeof s=="object"&&s!==null){switch(s.$$typeof){case wf:{var c=s,g=c.type,w=c.props,k=c.ref;Hl(n,o,g,w,k);return}case Pc:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Uo:{var M=s,z=M._payload,Q=M._init,ee;try{ee=Q(z)}catch(Zo){throw typeof Zo=="object"&&Zo!==null&&typeof Zo.then=="function"&&Zr(o,"Lazy"),Zo}qt(n,o,ee);return}}if(rn(s)){Es(n,o,s);return}var de=Sf(s);if(de){Jf(s,de);var Me=de.call(s);if(Me){var Xe=Me.next();if(!Xe.done){var vt=[];do vt.push(Xe.value),Xe=Me.next();while(!Xe.done);Es(n,o,vt);return}return}}var to=Object.prototype.toString.call(s);throw new Error("Objects are not valid as a React child (found: "+(to==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":to)+"). If you meant to render a collection of children, use an array instead.")}if(typeof s=="string"){var no=o.blockedSegment;no.lastPushedText=Tc(o.blockedSegment.chunks,s,n.responseState,no.lastPushedText);return}if(typeof s=="number"){var tr=o.blockedSegment;tr.lastPushedText=Tc(o.blockedSegment.chunks,""+s,n.responseState,tr.lastPushedText);return}typeof s=="function"&&a("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function Es(n,o,s){for(var c=s.length,g=0;g<c;g++){var w=o.treeContext;o.treeContext=Rl(w,c,g);try{Ft(n,o,s[g])}finally{o.treeContext=w}}}function ed(n,o,s){var c=o.blockedSegment,g=c.chunks.length,w=Ss(n,g,null,c.formatContext,c.lastPushedText,!0);c.children.push(w),c.lastPushedText=!1;var k=Jr(n,o.node,o.blockedBoundary,w,o.abortSet,o.legacyContext,o.context,o.treeContext);o.componentStack!==null&&(k.componentStack=o.componentStack.parent);var M=k.ping;s.then(M,M)}function Ft(n,o,s){var c=o.blockedSegment.formatContext,g=o.legacyContext,w=o.context,k=null;k=o.componentStack;try{return qt(n,o,s)}catch(M){if(Xi(),typeof M=="object"&&M!==null&&typeof M.then=="function"){ed(n,o,M),o.blockedSegment.formatContext=c,o.legacyContext=g,o.context=w,Ui(w),o.componentStack=k;return}else throw o.blockedSegment.formatContext=c,o.legacyContext=g,o.context=w,Ui(w),o.componentStack=k,M}}function td(n,o,s,c){var g=Ki(n,c);if(o===null?wn(n,c):(o.pendingTasks--,o.forceClientRender||(o.forceClientRender=!0,o.errorDigest=g,ks(o,c),o.parentFlushed&&n.clientRenderedBoundaries.push(o))),n.allPendingTasks--,n.allPendingTasks===0){var w=n.onAllReady;w()}}function ou(n){var o=this,s=n.blockedBoundary,c=n.blockedSegment;c.status=ws,au(o,s,c)}function iu(n,o,s){var c=n.blockedBoundary,g=n.blockedSegment;if(g.status=ws,c===null)o.allPendingTasks--,o.status!==Kr&&(o.status=Kr,o.destination!==null&&x(o.destination));else{if(c.pendingTasks--,!c.forceClientRender){c.forceClientRender=!0;var w=s===void 0?new Error("The render was aborted by the server without a reason."):s;c.errorDigest=o.onError(w);{var k="The server did not finish this Suspense boundary: ";w&&typeof w.message=="string"?w=k+w.message:w=k+String(w);var M=Jn;Jn=n;try{ks(c,w)}finally{Jn=M}}c.parentFlushed&&o.clientRenderedBoundaries.push(c)}if(c.fallbackAbortableTasks.forEach(function(Q){return iu(Q,o,s)}),c.fallbackAbortableTasks.clear(),o.allPendingTasks--,o.allPendingTasks===0){var z=o.onAllReady;z()}}}function Jo(n,o){if(o.chunks.length===0&&o.children.length===1&&o.children[0].boundary===null){var s=o.children[0];s.id=o.id,s.parentFlushed=!0,s.status===Xo&&Jo(n,s)}else{var c=n.completedSegments;c.push(o)}}function au(n,o,s){if(o===null){if(s.parentFlushed){if(n.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");n.completedRootSegment=s}if(n.pendingRootTasks--,n.pendingRootTasks===0){n.onShellError=qo;var c=n.onShellReady;c()}}else if(o.pendingTasks--,!o.forceClientRender){if(o.pendingTasks===0)s.parentFlushed&&s.status===Xo&&Jo(o,s),o.parentFlushed&&n.completedBoundaries.push(o),o.fallbackAbortableTasks.forEach(ou,n),o.fallbackAbortableTasks.clear();else if(s.parentFlushed&&s.status===Xo){Jo(o,s);var g=o.completedSegments;g.length===1&&o.parentFlushed&&n.partialBoundaries.push(o)}}if(n.allPendingTasks--,n.allPendingTasks===0){var w=n.onAllReady;w()}}function nd(n,o){var s=o.blockedSegment;if(s.status===ys){Ui(o.context);var c=null;c=Jn,Jn=o;try{qt(n,o,o.node),Rc(s.chunks,n.responseState,s.lastPushedText,s.textEmbedded),o.abortSet.delete(o),s.status=Xo,au(n,o.blockedBoundary,s)}catch(w){if(Xi(),typeof w=="object"&&w!==null&&typeof w.then=="function"){var g=o.ping;w.then(g,g)}else o.abortSet.delete(o),s.status=xs,td(n,o.blockedBoundary,s,w)}finally{Jn=c}}}function Wl(n){if(n.status!==Kr){var o=jc(),s=vs.current;vs.current=Xc;var c;c=Qi.getCurrentStack,Qi.getCurrentStack=_l;var g=Ml;Qc(n.responseState);try{var w=n.pingedTasks,k;for(k=0;k<w.length;k++){var M=w[k];nd(n,M)}w.splice(0,k),n.destination!==null&&Ts(n,n.destination)}catch(z){Ki(n,z),wn(n,z)}finally{Qc(g),vs.current=s,Qi.getCurrentStack=c,s===Xc&&Ui(o)}}}function eo(n,o,s){switch(s.parentFlushed=!0,s.status){case ys:{var c=s.id=n.nextSegmentId++;return s.lastPushedText=!1,s.textEmbedded=!1,Dn(o,n.responseState,c)}case Xo:{s.status=bs;for(var g=!0,w=s.chunks,k=0,M=s.children,z=0;z<M.length;z++){for(var Q=M[z];k<Q.index;k++)h(o,w[k]);g=ra(n,o,Q)}for(;k<w.length-1;k++)h(o,w[k]);return k<w.length&&(g=v(o,w[k])),g}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function ra(n,o,s){var c=s.boundary;if(c===null)return eo(n,o,s);if(c.parentFlushed=!0,c.forceClientRender)return vf(o,n.responseState,c.errorDigest,c.errorMessage,c.errorComponentStack),eo(n,o,s),bf(o,n.responseState);if(c.pendingTasks>0){c.rootSegmentID=n.nextSegmentId++,c.completedSegments.length>0&&n.partialBoundaries.push(c);var g=c.id=gn(n.responseState);return Hr(o,n.responseState,g),eo(n,o,s),vr(o,n.responseState)}else{if(c.byteSize>n.progressiveChunkSize)return c.rootSegmentID=n.nextSegmentId++,n.completedBoundaries.push(c),Hr(o,n.responseState,c.id),eo(n,o,s),vr(o,n.responseState);gf(o,n.responseState);var w=c.completedSegments;if(w.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var k=w[0];return ra(n,o,k),yf(o,n.responseState)}}function rd(n,o,s){return df(o,n.responseState,s.id,s.errorDigest,s.errorMessage,s.errorComponentStack)}function Vl(n,o,s){return Fi(o,n.responseState,s.formatContext,s.id),ra(n,o,s),Ua(o,s.formatContext)}function oa(n,o,s){for(var c=s.completedSegments,g=0;g<c.length;g++){var w=c[g];su(n,o,s,w)}return c.length=0,It(o,n.responseState,s.id,s.rootSegmentID)}function Cs(n,o,s){for(var c=s.completedSegments,g=0;g<c.length;g++){var w=c[g];if(!su(n,o,s,w))return g++,c.splice(0,g),!1}return c.splice(0,g),!0}function su(n,o,s,c){if(c.status===bs)return!0;var g=c.id;if(g===-1){var w=c.id=s.rootSegmentID;if(w===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Vl(n,o,c)}else return Vl(n,o,c),oe(o,n.responseState,g)}function Ts(n,o){try{var s=n.completedRootSegment;s!==null&&n.pendingRootTasks===0&&(ra(n,o,s),n.completedRootSegment=null,Qn(o,n.responseState));var c=n.clientRenderedBoundaries,g;for(g=0;g<c.length;g++){var w=c[g];if(!rd(n,o,w)){n.destination=null,g++,c.splice(0,g);return}}c.splice(0,g);var k=n.completedBoundaries;for(g=0;g<k.length;g++){var M=k[g];if(!oa(n,o,M)){n.destination=null,g++,k.splice(0,g);return}}k.splice(0,g);var z=n.partialBoundaries;for(g=0;g<z.length;g++){var Q=z[g];if(!Cs(n,o,Q)){n.destination=null,g++,z.splice(0,g);return}}z.splice(0,g);var ee=n.completedBoundaries;for(g=0;g<ee.length;g++){var de=ee[g];if(!oa(n,o,de)){n.destination=null,g++,ee.splice(0,g);return}}ee.splice(0,g)}finally{n.allPendingTasks===0&&n.pingedTasks.length===0&&n.clientRenderedBoundaries.length===0&&n.completedBoundaries.length===0&&(n.abortableTasks.size!==0&&a("There was still abortable task at the root when we closed. This is a bug in React."),x(o))}}function lu(n){p(function(){return Wl(n)})}function od(n,o){if(n.status===Dl){n.status=Kr,L(o,n.fatalError);return}if(n.status!==Kr&&n.destination===null){n.destination=o;try{Ts(n,o)}catch(s){Ki(n,s),wn(n,s)}}}function cu(n,o){try{var s=n.abortableTasks;s.forEach(function(c){return iu(c,n,o)}),s.clear(),n.destination!==null&&Ts(n,n.destination)}catch(c){Ki(n,c),wn(n,c)}}function Gl(){}function uu(n,o,s,c){var g=!1,w=null,k="",M={push:function(de){return de!==null&&(k+=de),!0},destroy:function(de){g=!0,w=de}},z=!1;function Q(){z=!0}var ee=Ko(n,hf(s,o?o.identifierPrefix:void 0),mf(),1/0,Gl,void 0,Q);if(lu(ee),cu(ee,c),od(ee,M),g)throw w;if(!z)throw new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");return k}function id(n,o){return uu(n,o,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function fu(n,o){return uu(n,o,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function ad(){throw new Error("ReactDOMServer.renderToNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToString() instead.")}function l(){throw new Error("ReactDOMServer.renderToStaticNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToStaticMarkup() instead.")}aa.renderToNodeStream=ad,aa.renderToStaticMarkup=fu,aa.renderToStaticNodeStream=l,aa.renderToString=id,aa.version=t}()),aa}var hu={};/**
|
|
67
|
+
* @license React
|
|
68
|
+
* react-dom-server.browser.development.js
|
|
69
|
+
*
|
|
70
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
71
|
+
*
|
|
72
|
+
* This source code is licensed under the MIT license found in the
|
|
73
|
+
* LICENSE file in the root directory of this source tree.
|
|
74
|
+
*/var ph;function Hy(){return ph||(ph=1,process.env.NODE_ENV!=="production"&&function(){var e=A,t="18.3.1",r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function i(l){{for(var n=arguments.length,o=new Array(n>1?n-1:0),s=1;s<n;s++)o[s-1]=arguments[s];u("warn",l,o)}}function a(l){{for(var n=arguments.length,o=new Array(n>1?n-1:0),s=1;s<n;s++)o[s-1]=arguments[s];u("error",l,o)}}function u(l,n,o){{var s=r.ReactDebugCurrentFrame,c=s.getStackAddendum();c!==""&&(n+="%s",o=o.concat([c]));var g=o.map(function(w){return String(w)});g.unshift("Warning: "+n),Function.prototype.apply.call(console[l],console,g)}}function p(l){l()}var m=512,h=null,v=0;function C(l){h=new Uint8Array(m),v=0}function x(l,n){if(n.length!==0){if(n.length>m){v>0&&(l.enqueue(new Uint8Array(h.buffer,0,v)),h=new Uint8Array(m),v=0),l.enqueue(n);return}var o=n,s=h.length-v;s<o.length&&(s===0?l.enqueue(h):(h.set(o.subarray(0,s),v),l.enqueue(h),o=o.subarray(s)),h=new Uint8Array(m),v=0),h.set(o,v),v+=o.length}}function F(l,n){return x(l,n),!0}function I(l){h&&v>0&&(l.enqueue(new Uint8Array(h.buffer,0,v)),h=null,v=0)}function L(l){l.close()}var D=new TextEncoder;function T(l){return D.encode(l)}function O(l){return D.encode(l)}function U(l,n){typeof l.error=="function"?l.error(n):l.close()}function j(l){{var n=typeof Symbol=="function"&&Symbol.toStringTag,o=n&&l[Symbol.toStringTag]||l.constructor.name||"Object";return o}}function V(l){try{return $(l),!1}catch{return!0}}function $(l){return""+l}function J(l,n){if(V(l))return a("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",n,j(l)),$(l)}function ae(l,n){if(V(l))return a("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",n,j(l)),$(l)}function ne(l){if(V(l))return a("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",j(l)),$(l)}var le=Object.prototype.hasOwnProperty,ye=0,De=1,Fe=2,$e=3,ze=4,xe=5,Re=6,Le=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Z=Le+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ve=new RegExp("^["+Le+"]["+Z+"]*$"),Y={},K={};function fe(l){return le.call(K,l)?!0:le.call(Y,l)?!1:ve.test(l)?(K[l]=!0,!0):(Y[l]=!0,a("Invalid attribute name: `%s`",l),!1)}function te(l,n,o,s){if(o!==null&&o.type===ye)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":{if(o!==null)return!o.acceptsBooleans;var c=l.toLowerCase().slice(0,5);return c!=="data-"&&c!=="aria-"}default:return!1}}function he(l){return ce.hasOwnProperty(l)?ce[l]:null}function me(l,n,o,s,c,g,w){this.acceptsBooleans=n===Fe||n===$e||n===ze,this.attributeName=s,this.attributeNamespace=c,this.mustUseProperty=o,this.propertyName=l,this.type=n,this.sanitizeURL=g,this.removeEmptyString=w}var ce={},ue=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];ue.forEach(function(l){ce[l]=new me(l,ye,!1,l,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(l){var n=l[0],o=l[1];ce[n]=new me(n,De,!1,o,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){ce[l]=new me(l,Fe,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){ce[l]=new me(l,Fe,!1,l,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(l){ce[l]=new me(l,$e,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){ce[l]=new me(l,$e,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){ce[l]=new me(l,ze,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){ce[l]=new me(l,Re,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){ce[l]=new me(l,xe,!1,l.toLowerCase(),null,!1,!1)});var Ee=/[\-\:]([a-z])/g,Se=function(l){return l[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(l){var n=l.replace(Ee,Se);ce[n]=new me(n,De,!1,l,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(l){var n=l.replace(Ee,Se);ce[n]=new me(n,De,!1,l,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(l){var n=l.replace(Ee,Se);ce[n]=new me(n,De,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){ce[l]=new me(l,De,!1,l.toLowerCase(),null,!1,!1)});var Pe="xlinkHref";ce[Pe]=new me("xlinkHref",De,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){ce[l]=new me(l,De,!1,l.toLowerCase(),null,!0,!0)});var Be={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function se(l,n){return l+n.charAt(0).toUpperCase()+n.substring(1)}var We=["Webkit","ms","Moz","O"];Object.keys(Be).forEach(function(l){We.forEach(function(n){Be[se(n,l)]=Be[l]})});var ot={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Nt(l,n){ot[n.type]||n.onChange||n.onInput||n.readOnly||n.disabled||n.value==null||a("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),n.onChange||n.readOnly||n.disabled||n.checked==null||a("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Un(l,n){if(l.indexOf("-")===-1)return typeof n.is=="string";switch(l){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var xo={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},zt={},Hn=new RegExp("^(aria)-["+Z+"]*$"),Wn=new RegExp("^(aria)[A-Z]["+Z+"]*$");function So(l,n){{if(le.call(zt,n)&&zt[n])return!0;if(Wn.test(n)){var o="aria-"+n.slice(4).toLowerCase(),s=xo.hasOwnProperty(o)?o:null;if(s==null)return a("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",n),zt[n]=!0,!0;if(n!==s)return a("Invalid ARIA attribute `%s`. Did you mean `%s`?",n,s),zt[n]=!0,!0}if(Hn.test(n)){var c=n.toLowerCase(),g=xo.hasOwnProperty(c)?c:null;if(g==null)return zt[n]=!0,!1;if(n!==g)return a("Unknown ARIA attribute `%s`. Did you mean `%s`?",n,g),zt[n]=!0,!0}}return!0}function Bt(l,n){{var o=[];for(var s in n){var c=So(l,s);c||o.push(s)}var g=o.map(function(w){return"`"+w+"`"}).join(", ");o.length===1?a("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",g,l):o.length>1&&a("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",g,l)}}function gt(l,n){Un(l,n)||Bt(l,n)}var ft=!1;function Ir(l,n){{if(l!=="input"&&l!=="textarea"&&l!=="select")return;n!=null&&n.value===null&&!ft&&(ft=!0,l==="select"&&n.multiple?a("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",l):a("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",l))}}var Fr={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Mr=function(){};{var st={},Dr=/^on./,ko=/^on[^A-Z]/,Eo=new RegExp("^(aria)-["+Z+"]*$"),_r=new RegExp("^(aria)[A-Z]["+Z+"]*$");Mr=function(l,n,o,s){if(le.call(st,n)&&st[n])return!0;var c=n.toLowerCase();if(c==="onfocusin"||c==="onfocusout")return a("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),st[n]=!0,!0;if(s!=null){var g=s.registrationNameDependencies,w=s.possibleRegistrationNames;if(g.hasOwnProperty(n))return!0;var k=w.hasOwnProperty(c)?w[c]:null;if(k!=null)return a("Invalid event handler property `%s`. Did you mean `%s`?",n,k),st[n]=!0,!0;if(Dr.test(n))return a("Unknown event handler property `%s`. It will be ignored.",n),st[n]=!0,!0}else if(Dr.test(n))return ko.test(n)&&a("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",n),st[n]=!0,!0;if(Eo.test(n)||_r.test(n))return!0;if(c==="innerhtml")return a("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),st[n]=!0,!0;if(c==="aria")return a("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),st[n]=!0,!0;if(c==="is"&&o!==null&&o!==void 0&&typeof o!="string")return a("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof o),st[n]=!0,!0;if(typeof o=="number"&&isNaN(o))return a("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",n),st[n]=!0,!0;var M=he(n),z=M!==null&&M.type===ye;if(Fr.hasOwnProperty(c)){var Q=Fr[c];if(Q!==n)return a("Invalid DOM property `%s`. Did you mean `%s`?",n,Q),st[n]=!0,!0}else if(!z&&n!==c)return a("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",n,c),st[n]=!0,!0;return typeof o=="boolean"&&te(n,o,M)?(o?a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',o,n,n,o,n):a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',o,n,n,o,n,n,n),st[n]=!0,!0):z?!0:te(n,o,M)?(st[n]=!0,!1):((o==="false"||o==="true")&&M!==null&&M.type===$e&&(a("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",o,n,o==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',n,o),st[n]=!0),!0)}}var lr=function(l,n,o){{var s=[];for(var c in n){var g=Mr(l,c,n[c],o);g||s.push(c)}var w=s.map(function(k){return"`"+k+"`"}).join(", ");s.length===1?a("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",w,l):s.length>1&&a("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",w,l)}};function Ei(l,n,o){Un(l,n)||lr(l,n,o)}var Lr=function(){};{var kn=/^(?:webkit|moz|o)[A-Z]/,$r=/^-ms-/,Co=/-(.)/g,xt=/;\s*$/,tn={},En={},Qe=!1,Cn=!1,cr=function(l){return l.replace(Co,function(n,o){return o.toUpperCase()})},Vn=function(l){tn.hasOwnProperty(l)&&tn[l]||(tn[l]=!0,a("Unsupported style property %s. Did you mean %s?",l,cr(l.replace($r,"ms-"))))},nn=function(l){tn.hasOwnProperty(l)&&tn[l]||(tn[l]=!0,a("Unsupported vendor-prefixed style property %s. Did you mean %s?",l,l.charAt(0).toUpperCase()+l.slice(1)))},ur=function(l,n){En.hasOwnProperty(n)&&En[n]||(En[n]=!0,a(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,l,n.replace(xt,"")))},mn=function(l,n){Qe||(Qe=!0,a("`NaN` is an invalid value for the `%s` css style property.",l))},dt=function(l,n){Cn||(Cn=!0,a("`Infinity` is an invalid value for the `%s` css style property.",l))};Lr=function(l,n){l.indexOf("-")>-1?Vn(l):kn.test(l)?nn(l):xt.test(n)&&ur(l,n),typeof n=="number"&&(isNaN(n)?mn(l,n):isFinite(n)||dt(l,n))}}var jr=Lr,Nr=/["'&<>]/;function To(l){ne(l);var n=""+l,o=Nr.exec(n);if(!o)return n;var s,c="",g,w=0;for(g=o.index;g<n.length;g++){switch(n.charCodeAt(g)){case 34:s=""";break;case 38:s="&";break;case 39:s="'";break;case 60:s="<";break;case 62:s=">";break;default:continue}w!==g&&(c+=n.substring(w,g)),w=g+1,c+=s}return w!==g?c+n.substring(w,g):c}function lt(l){return typeof l=="boolean"||typeof l=="number"?""+l:To(l)}var zr=/([A-Z])/g,Ci=/^ms-/;function Ti(l){return l.replace(zr,"-$1").toLowerCase().replace(Ci,"-ms-")}var rn=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Br=!1;function fr(l){!Br&&rn.test(l)&&(Br=!0,a("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(l)))}var Tn=Array.isArray;function Rt(l){return Tn(l)}var on=O("<script>"),dr=O("<\/script>"),Rn=O('<script src="'),Pn=O('<script type="module" src="'),an=O('" async=""><\/script>');function An(l){return ne(l),(""+l).replace(Pt,Ro)}var Pt=/(<\/|<)(s)(cript)/gi,Ro=function(l,n,o,s){return""+n+(o==="s"?"\\u0073":"\\u0053")+s};function Po(l,n,o,s,c){var g=l===void 0?"":l,w=n===void 0?on:O('<script nonce="'+lt(n)+'">'),k=[];if(o!==void 0&&k.push(w,T(An(o)),dr),s!==void 0)for(var M=0;M<s.length;M++)k.push(Rn,T(lt(s[M])),an);if(c!==void 0)for(var z=0;z<c.length;z++)k.push(Pn,T(lt(c[z])),an);return{bootstrapChunks:k,startInlineScript:w,placeholderPrefix:O(g+"P:"),segmentPrefix:O(g+"S:"),boundaryPrefix:g+"B:",idPrefix:g,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var gn=0,ct=1,sn=2,ln=3,On=4,pr=5,Ut=6,cn=7;function St(l,n){return{insertionMode:l,selectedValue:n}}function In(l){var n=l==="http://www.w3.org/2000/svg"?sn:l==="http://www.w3.org/1998/Math/MathML"?ln:gn;return St(n,null)}function Gn(l,n,o){switch(n){case"select":return St(ct,o.value!=null?o.value:o.defaultValue);case"svg":return St(sn,null);case"math":return St(ln,null);case"foreignObject":return St(ct,null);case"table":return St(On,null);case"thead":case"tbody":case"tfoot":return St(pr,null);case"colgroup":return St(cn,null);case"tr":return St(Ut,null)}return l.insertionMode>=On||l.insertionMode===gn?St(ct,null):l}var hr=null;function _t(l){var n=l.nextSuspenseID++;return O(l.boundaryPrefix+n.toString(16))}function un(l,n,o){var s=l.idPrefix,c=":"+s+"R"+n;return o>0&&(c+="H"+o.toString(32)),c+":"}function kt(l){return lt(l)}var mr=O("<!-- -->");function mt(l,n,o,s){return n===""?s:(s&&l.push(mr),l.push(T(kt(n))),!0)}function At(l,n,o,s){o&&s&&l.push(mr)}var f=new Map;function b(l){var n=f.get(l);if(n!==void 0)return n;var o=O(lt(Ti(l)));return f.set(l,o),o}var E=O(' style="'),P=O(":"),H=O(";");function N(l,n,o){if(typeof o!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var s=!0;for(var c in o)if(le.call(o,c)){var g=o[c];if(!(g==null||typeof g=="boolean"||g==="")){var w=void 0,k=void 0,M=c.indexOf("--")===0;M?(w=T(lt(c)),ae(g,c),k=T(lt((""+g).trim()))):(jr(c,g),w=b(c),typeof g=="number"?g!==0&&!le.call(Be,c)?k=T(g+"px"):k=T(""+g):(ae(g,c),k=T(lt((""+g).trim())))),s?(s=!1,l.push(E,w,P,k)):l.push(H,w,P,k)}}s||l.push(ke)}var G=O(" "),re=O('="'),ke=O('"'),Ae=O('=""');function Ce(l,n,o,s){switch(o){case"style":{N(l,n,s);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(o.length>2&&(o[0]==="o"||o[0]==="O")&&(o[1]==="n"||o[1]==="N"))){var c=he(o);if(c!==null){switch(typeof s){case"function":case"symbol":return;case"boolean":if(!c.acceptsBooleans)return}var g=c.attributeName,w=T(g);switch(c.type){case $e:s&&l.push(G,w,Ae);return;case ze:s===!0?l.push(G,w,Ae):s===!1||l.push(G,w,re,T(lt(s)),ke);return;case xe:isNaN(s)||l.push(G,w,re,T(lt(s)),ke);break;case Re:!isNaN(s)&&s>=1&&l.push(G,w,re,T(lt(s)),ke);break;default:c.sanitizeURL&&(J(s,g),s=""+s,fr(s)),l.push(G,w,re,T(lt(s)),ke)}}else if(fe(o)){switch(typeof s){case"function":case"symbol":return;case"boolean":{var k=o.toLowerCase().slice(0,5);if(k!=="data-"&&k!=="aria-")return}}l.push(G,T(o),re,T(lt(s)),ke)}}}var Ve=O(">"),Et=O("/>");function Ct(l,n,o){if(n!=null){if(o!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof n!="object"||!("__html"in n))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var s=n.__html;s!=null&&(ne(s),l.push(T(""+s)))}}var Tt=!1,Fn=!1,fn=!1,gr=!1,Mn=!1,Yn=!1,vn=!1;function Xn(l,n){{var o=l[n];if(o!=null){var s=Rt(o);l.multiple&&!s?a("The `%s` prop supplied to <select> must be an array if `multiple` is true.",n):!l.multiple&&s&&a("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",n)}}}function nl(l,n,o){Nt("select",n),Xn(n,"value"),Xn(n,"defaultValue"),n.value!==void 0&&n.defaultValue!==void 0&&!fn&&(a("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),fn=!0),l.push(Ht("select"));var s=null,c=null;for(var g in n)if(le.call(n,g)){var w=n[g];if(w==null)continue;switch(g){case"children":s=w;break;case"dangerouslySetInnerHTML":c=w;break;case"defaultValue":case"value":break;default:Ce(l,o,g,w);break}}return l.push(Ve),Ct(l,c,s),s}function rl(l){var n="";return e.Children.forEach(l,function(o){o!=null&&(n+=o,!Mn&&typeof o!="string"&&typeof o!="number"&&(Mn=!0,a("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),n}var Ao=O(' selected=""');function dn(l,n,o,s){var c=s.selectedValue;l.push(Ht("option"));var g=null,w=null,k=null,M=null;for(var z in n)if(le.call(n,z)){var Q=n[z];if(Q==null)continue;switch(z){case"children":g=Q;break;case"selected":k=Q,vn||(a("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),vn=!0);break;case"dangerouslySetInnerHTML":M=Q;break;case"value":w=Q;default:Ce(l,o,z,Q);break}}if(c!=null){var ee;if(w!==null?(J(w,"value"),ee=""+w):(M!==null&&(Yn||(Yn=!0,a("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),ee=rl(g)),Rt(c))for(var de=0;de<c.length;de++){J(c[de],"value");var Me=""+c[de];if(Me===ee){l.push(Ao);break}}else J(c,"select.value"),""+c===ee&&l.push(Ao)}else k&&l.push(Ao);return l.push(Ve),Ct(l,M,g),g}function ol(l,n,o){Nt("input",n),n.checked!==void 0&&n.defaultChecked!==void 0&&!Fn&&(a("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",n.type),Fn=!0),n.value!==void 0&&n.defaultValue!==void 0&&!Tt&&(a("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",n.type),Tt=!0),l.push(Ht("input"));var s=null,c=null,g=null,w=null;for(var k in n)if(le.call(n,k)){var M=n[k];if(M==null)continue;switch(k){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":w=M;break;case"defaultValue":c=M;break;case"checked":g=M;break;case"value":s=M;break;default:Ce(l,o,k,M);break}}return g!==null?Ce(l,o,"checked",g):w!==null&&Ce(l,o,"checked",w),s!==null?Ce(l,o,"value",s):c!==null&&Ce(l,o,"value",c),l.push(Et),null}function yn(l,n,o){Nt("textarea",n),n.value!==void 0&&n.defaultValue!==void 0&&!gr&&(a("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),gr=!0),l.push(Ht("textarea"));var s=null,c=null,g=null;for(var w in n)if(le.call(n,w)){var k=n[w];if(k==null)continue;switch(w){case"children":g=k;break;case"value":s=k;break;case"defaultValue":c=k;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:Ce(l,o,w,k);break}}if(s===null&&c!==null&&(s=c),l.push(Ve),g!=null){if(a("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),s!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Rt(g)){if(g.length>1)throw new Error("<textarea> can only have at most one child.");ne(g[0]),s=""+g[0]}ne(g),s=""+g}return typeof s=="string"&&s[0]===`
|
|
75
|
+
`&&l.push(qn),s!==null&&(J(s,"value"),l.push(T(kt(""+s)))),null}function Ri(l,n,o,s){l.push(Ht(o));for(var c in n)if(le.call(n,c)){var g=n[c];if(g==null)continue;switch(c){case"children":case"dangerouslySetInnerHTML":throw new Error(o+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Ce(l,s,c,g);break}}return l.push(Et),null}function Oo(l,n,o){l.push(Ht("menuitem"));for(var s in n)if(le.call(n,s)){var c=n[s];if(c==null)continue;switch(s){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:Ce(l,o,s,c);break}}return l.push(Ve),null}function qe(l,n,o){l.push(Ht("title"));var s=null;for(var c in n)if(le.call(n,c)){var g=n[c];if(g==null)continue;switch(c){case"children":s=g;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:Ce(l,o,c,g);break}}l.push(Ve);{var w=Array.isArray(s)&&s.length<2?s[0]||null:s;Array.isArray(s)&&s.length>1?a("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):w!=null&&w.$$typeof!=null?a("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):w!=null&&typeof w!="string"&&typeof w!="number"&&a("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return s}function Qn(l,n,o,s){l.push(Ht(o));var c=null,g=null;for(var w in n)if(le.call(n,w)){var k=n[w];if(k==null)continue;switch(w){case"children":c=k;break;case"dangerouslySetInnerHTML":g=k;break;default:Ce(l,s,w,k);break}}return l.push(Ve),Ct(l,g,c),typeof c=="string"?(l.push(T(kt(c))),null):c}function Io(l,n,o,s){l.push(Ht(o));var c=null,g=null;for(var w in n)if(le.call(n,w)){var k=n[w];if(k==null)continue;switch(w){case"children":c=k;break;case"dangerouslySetInnerHTML":g=k;break;case"style":N(l,s,k);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:fe(w)&&typeof k!="function"&&typeof k!="symbol"&&l.push(G,T(w),re,T(lt(k)),ke);break}}return l.push(Ve),Ct(l,g,c),c}var qn=O(`
|
|
76
|
+
`);function Dn(l,n,o,s){l.push(Ht(o));var c=null,g=null;for(var w in n)if(le.call(n,w)){var k=n[w];if(k==null)continue;switch(w){case"children":c=k;break;case"dangerouslySetInnerHTML":g=k;break;default:Ce(l,s,w,k);break}}if(l.push(Ve),g!=null){if(c!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof g!="object"||!("__html"in g))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var M=g.__html;M!=null&&(typeof M=="string"&&M.length>0&&M[0]===`
|
|
77
|
+
`?l.push(qn,T(M)):(ne(M),l.push(T(""+M))))}return typeof c=="string"&&c[0]===`
|
|
78
|
+
`&&l.push(qn),c}var Fo=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,_n=new Map;function Ht(l){var n=_n.get(l);if(n===void 0){if(!Fo.test(l))throw new Error("Invalid tag: "+l);n=O("<"+l),_n.set(l,n)}return n}var Pi=O("<!DOCTYPE html>");function Ur(l,n,o,s,c){switch(gt(n,o),Ir(n,o),Ei(n,o,null),!o.suppressContentEditableWarning&&o.contentEditable&&o.children!=null&&a("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),c.insertionMode!==sn&&c.insertionMode!==ln&&n.indexOf("-")===-1&&typeof o.is!="string"&&n.toLowerCase()!==n&&a("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",n),n){case"select":return nl(l,o,s);case"option":return dn(l,o,s,c);case"textarea":return yn(l,o,s);case"input":return ol(l,o,s);case"menuitem":return Oo(l,o,s);case"title":return qe(l,o,s);case"listing":case"pre":return Dn(l,o,n,s);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return Ri(l,o,n,s);case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return Qn(l,o,n,s);case"html":return c.insertionMode===gn&&l.push(Pi),Qn(l,o,n,s);default:return n.indexOf("-")===-1&&typeof o.is!="string"?Qn(l,o,n,s):Io(l,o,n,s)}}var Aa=O("</"),Mo=O(">");function Oa(l,n,o){switch(n){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:l.push(Aa,T(n),Mo)}}function il(l,n){for(var o=n.bootstrapChunks,s=0;s<o.length-1;s++)x(l,o[s]);return s<o.length?F(l,o[s]):!0}var al=O('<template id="'),Do=O('"></template>');function Ia(l,n,o){x(l,al),x(l,n.placeholderPrefix);var s=T(o.toString(16));return x(l,s),F(l,Do)}var Hr=O("<!--$-->"),Ai=O('<!--$?--><template id="'),sl=O('"></template>'),vr=O("<!--$!-->"),Oi=O("<!--/$-->"),Ii=O("<template"),yr=O('"'),Wr=O(' data-dgst="'),_o=O(' data-msg="'),Fa=O(' data-stck="'),Ma=O("></template>");function Da(l,n){return F(l,Hr)}function Lo(l,n,o){if(x(l,Ai),o===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return x(l,o),F(l,sl)}function Ot(l,n,o,s,c){var g;return g=F(l,vr),x(l,Ii),o&&(x(l,Wr),x(l,T(lt(o))),x(l,yr)),s&&(x(l,_o),x(l,T(lt(s))),x(l,yr)),c&&(x(l,Fa),x(l,T(lt(c))),x(l,yr)),g=F(l,Ma),g}function _a(l,n){return F(l,Oi)}function $o(l,n){return F(l,Oi)}function ll(l,n){return F(l,Oi)}var La=O('<div hidden id="'),jo=O('">'),$a=O("</div>"),ja=O('<svg aria-hidden="true" style="display:none" id="'),No=O('">'),zo=O("</svg>"),Na=O('<math aria-hidden="true" style="display:none" id="'),za=O('">'),Ba=O("</math>"),Fi=O('<table hidden id="'),Ua=O('">'),d=O("</table>"),y=O('<table hidden><tbody id="'),S=O('">'),R=O("</tbody></table>"),W=O('<table hidden><tr id="'),B=O('">'),X=O("</tr></table>"),oe=O('<table hidden><colgroup id="'),Oe=O('">'),Ne=O("</colgroup></table>");function je(l,n,o,s){switch(o.insertionMode){case gn:case ct:return x(l,La),x(l,n.segmentPrefix),x(l,T(s.toString(16))),F(l,jo);case sn:return x(l,ja),x(l,n.segmentPrefix),x(l,T(s.toString(16))),F(l,No);case ln:return x(l,Na),x(l,n.segmentPrefix),x(l,T(s.toString(16))),F(l,za);case On:return x(l,Fi),x(l,n.segmentPrefix),x(l,T(s.toString(16))),F(l,Ua);case pr:return x(l,y),x(l,n.segmentPrefix),x(l,T(s.toString(16))),F(l,S);case Ut:return x(l,W),x(l,n.segmentPrefix),x(l,T(s.toString(16))),F(l,B);case cn:return x(l,oe),x(l,n.segmentPrefix),x(l,T(s.toString(16))),F(l,Oe);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function et(l,n){switch(n.insertionMode){case gn:case ct:return F(l,$a);case sn:return F(l,zo);case ln:return F(l,Ba);case On:return F(l,d);case pr:return F(l,R);case Ut:return F(l,X);case cn:return F(l,Ne);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var It="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",Wt='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',Vt='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',Bo=O(It+';$RS("'),Ha=O('$RS("'),Vr=O('","'),df=O('")<\/script>');function pf(l,n,o){x(l,n.startInlineScript),n.sentCompleteSegmentFunction?x(l,Ha):(n.sentCompleteSegmentFunction=!0,x(l,Bo)),x(l,n.segmentPrefix);var s=T(o.toString(16));return x(l,s),x(l,Vr),x(l,n.placeholderPrefix),x(l,s),F(l,df)}var cl=O(Wt+';$RC("'),hf=O('$RC("'),mf=O('","'),Tc=O('")<\/script>');function Rc(l,n,o,s){if(x(l,n.startInlineScript),n.sentCompleteBoundaryFunction?x(l,hf):(n.sentCompleteBoundaryFunction=!0,x(l,cl)),o===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var c=T(s.toString(16));return x(l,o),x(l,mf),x(l,n.segmentPrefix),x(l,c),F(l,Tc)}var gf=O(Vt+';$RX("'),vf=O('$RX("'),yf=O('"'),bf=O(")<\/script>"),Lt=O(",");function wf(l,n,o,s,c,g){if(x(l,n.startInlineScript),n.sentClientRenderFunction?x(l,vf):(n.sentClientRenderFunction=!0,x(l,gf)),o===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return x(l,o),x(l,yf),(s||c||g)&&(x(l,Lt),x(l,T(Wa(s||"")))),(c||g)&&(x(l,Lt),x(l,T(Wa(c||"")))),g&&(x(l,Lt),x(l,T(Wa(g)))),F(l,bf)}var Pc=/[<\u2028\u2029]/g;function Wa(l){var n=JSON.stringify(l);return n.replace(Pc,function(o){switch(o){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Gt=Object.assign,Ac=Symbol.for("react.element"),Va=Symbol.for("react.portal"),Ga=Symbol.for("react.fragment"),Ya=Symbol.for("react.strict_mode"),Xa=Symbol.for("react.profiler"),Mi=Symbol.for("react.provider"),Di=Symbol.for("react.context"),Uo=Symbol.for("react.forward_ref"),ul=Symbol.for("react.suspense"),fl=Symbol.for("react.suspense_list"),dl=Symbol.for("react.memo"),Qa=Symbol.for("react.lazy"),Oc=Symbol.for("react.scope"),xf=Symbol.for("react.debug_trace_mode"),Sf=Symbol.for("react.legacy_hidden"),kf=Symbol.for("react.default_value"),pl=Symbol.iterator,it="@@iterator";function _i(l){if(l===null||typeof l!="object")return null;var n=pl&&l[pl]||l[it];return typeof n=="function"?n:null}function Ic(l,n,o){var s=l.displayName;if(s)return s;var c=n.displayName||n.name||"";return c!==""?o+"("+c+")":o}function hl(l){return l.displayName||"Context"}function rt(l){if(l==null)return null;if(typeof l.tag=="number"&&a("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case Ga:return"Fragment";case Va:return"Portal";case Xa:return"Profiler";case Ya:return"StrictMode";case ul:return"Suspense";case fl:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case Di:var n=l;return hl(n)+".Consumer";case Mi:var o=l;return hl(o._context)+".Provider";case Uo:return Ic(l,l.render,"ForwardRef");case dl:var s=l.displayName||null;return s!==null?s:rt(l.type)||"Memo";case Qa:{var c=l,g=c._payload,w=c._init;try{return rt(w(g))}catch{return null}}}return null}var Ho=0,ml,gl,vl,yl,Fc,Mc,qa;function Ka(){}Ka.__reactDisabledLog=!0;function Li(){{if(Ho===0){ml=console.log,gl=console.info,vl=console.warn,yl=console.error,Fc=console.group,Mc=console.groupCollapsed,qa=console.groupEnd;var l={configurable:!0,enumerable:!0,value:Ka,writable:!0};Object.defineProperties(console,{info:l,log:l,warn:l,error:l,group:l,groupCollapsed:l,groupEnd:l})}Ho++}}function bl(){{if(Ho--,Ho===0){var l={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Gt({},l,{value:ml}),info:Gt({},l,{value:gl}),warn:Gt({},l,{value:vl}),error:Gt({},l,{value:yl}),group:Gt({},l,{value:Fc}),groupCollapsed:Gt({},l,{value:Mc}),groupEnd:Gt({},l,{value:qa})})}Ho<0&&a("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Wo=r.ReactCurrentDispatcher,wl;function Gr(l,n,o){{if(wl===void 0)try{throw Error()}catch(c){var s=c.stack.trim().match(/\n( *(at )?)/);wl=s&&s[1]||""}return`
|
|
79
|
+
`+wl+l}}var xl=!1,$i;{var Ef=typeof WeakMap=="function"?WeakMap:Map;$i=new Ef}function ji(l,n){if(!l||xl)return"";{var o=$i.get(l);if(o!==void 0)return o}var s;xl=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var g;g=Wo.current,Wo.current=null,Li();try{if(n){var w=function(){throw Error()};if(Object.defineProperty(w.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(w,[])}catch(Xe){s=Xe}Reflect.construct(l,[],w)}else{try{w.call()}catch(Xe){s=Xe}l.call(w.prototype)}}else{try{throw Error()}catch(Xe){s=Xe}l()}}catch(Xe){if(Xe&&s&&typeof Xe.stack=="string"){for(var k=Xe.stack.split(`
|
|
80
|
+
`),M=s.stack.split(`
|
|
81
|
+
`),z=k.length-1,Q=M.length-1;z>=1&&Q>=0&&k[z]!==M[Q];)Q--;for(;z>=1&&Q>=0;z--,Q--)if(k[z]!==M[Q]){if(z!==1||Q!==1)do if(z--,Q--,Q<0||k[z]!==M[Q]){var ee=`
|
|
82
|
+
`+k[z].replace(" at new "," at ");return l.displayName&&ee.includes("<anonymous>")&&(ee=ee.replace("<anonymous>",l.displayName)),typeof l=="function"&&$i.set(l,ee),ee}while(z>=1&&Q>=0);break}}}finally{xl=!1,Wo.current=g,bl(),Error.prepareStackTrace=c}var de=l?l.displayName||l.name:"",Me=de?Gr(de):"";return typeof l=="function"&&$i.set(l,Me),Me}function Dc(l,n,o){return ji(l,!0)}function Sl(l,n,o){return ji(l,!1)}function Ja(l){var n=l.prototype;return!!(n&&n.isReactComponent)}function Za(l,n,o){if(l==null)return"";if(typeof l=="function")return ji(l,Ja(l));if(typeof l=="string")return Gr(l);switch(l){case ul:return Gr("Suspense");case fl:return Gr("SuspenseList")}if(typeof l=="object")switch(l.$$typeof){case Uo:return Sl(l.render);case dl:return Za(l.type,n,o);case Qa:{var s=l,c=s._payload,g=s._init;try{return Za(g(c),n,o)}catch{}}}return""}var es={},Ni=r.ReactDebugCurrentFrame;function zi(l){if(l){var n=l._owner,o=Za(l.type,l._source,n?n.type:null);Ni.setExtraStackFrame(o)}else Ni.setExtraStackFrame(null)}function _c(l,n,o,s,c){{var g=Function.call.bind(le);for(var w in l)if(g(l,w)){var k=void 0;try{if(typeof l[w]!="function"){var M=Error((s||"React class")+": "+o+" type `"+w+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof l[w]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw M.name="Invariant Violation",M}k=l[w](n,w,s,o,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(z){k=z}k&&!(k instanceof Error)&&(zi(c),a("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",s||"React class",o,w,typeof k),zi(null)),k instanceof Error&&!(k.message in es)&&(es[k.message]=!0,zi(c),a("Failed %s type: %s",o,k.message),zi(null))}}}var Yr;Yr={};var ts={};Object.freeze(ts);function br(l,n){{var o=l.contextTypes;if(!o)return ts;var s={};for(var c in o)s[c]=n[c];{var g=rt(l)||"Unknown";_c(o,s,"context",g)}return s}}function kl(l,n,o,s){{if(typeof l.getChildContext!="function"){{var c=rt(n)||"Unknown";Yr[c]||(Yr[c]=!0,a("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",c,c))}return o}var g=l.getChildContext();for(var w in g)if(!(w in s))throw new Error((rt(n)||"Unknown")+'.getChildContext(): key "'+w+'" is not defined in childContextTypes.');{var k=rt(n)||"Unknown";_c(s,g,"child context",k)}return Gt({},o,g)}}var Xr;Xr={};var ns=null,wr=null;function rs(l){l.context._currentValue=l.parentValue}function os(l){l.context._currentValue=l.value}function Bi(l,n){if(l!==n){rs(l);var o=l.parent,s=n.parent;if(o===null){if(s!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(s===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");Bi(o,s)}os(n)}}function Ui(l){rs(l);var n=l.parent;n!==null&&Ui(n)}function Lc(l){var n=l.parent;n!==null&&Lc(n),os(l)}function $c(l,n){rs(l);var o=l.parent;if(o===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");o.depth===n.depth?Bi(o,n):$c(o,n)}function jc(l,n){var o=n.parent;if(o===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");l.depth===o.depth?Bi(l,o):jc(l,o),os(n)}function xr(l){var n=wr,o=l;n!==o&&(n===null?Lc(o):o===null?Ui(n):n.depth===o.depth?Bi(n,o):n.depth>o.depth?$c(n,o):jc(n,o),wr=o)}function El(l,n){var o;o=l._currentValue,l._currentValue=n,l._currentRenderer!==void 0&&l._currentRenderer!==null&&l._currentRenderer!==Xr&&a("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),l._currentRenderer=Xr;var s=wr,c={parent:s,depth:s===null?0:s.depth+1,context:l,parentValue:o,value:n};return wr=c,c}function Cf(l){var n=wr;if(n===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");n.context!==l&&a("The parent context is not the expected context. This is probably a bug in React.");{var o=n.parentValue;o===kf?n.context._currentValue=n.context._defaultValue:n.context._currentValue=o,l._currentRenderer!==void 0&&l._currentRenderer!==null&&l._currentRenderer!==Xr&&a("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),l._currentRenderer=Xr}return wr=n.parent}function Nc(){return wr}function Vo(l){var n=l._currentValue;return n}function Hi(l){return l._reactInternals}function Cl(l,n){l._reactInternals=n}var is={},as={},ss,Go,Wi,Vi,ls,Gi,cs,us,Tl;{ss=new Set,Go=new Set,Wi=new Set,cs=new Set,Vi=new Set,us=new Set,Tl=new Set;var zc=new Set;Gi=function(l,n){if(!(l===null||typeof l=="function")){var o=n+"_"+l;zc.has(o)||(zc.add(o),a("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",n,l))}},ls=function(l,n){if(n===void 0){var o=rt(l)||"Component";Vi.has(o)||(Vi.add(o),a("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",o))}}}function Bc(l,n){{var o=l.constructor,s=o&&rt(o)||"ReactClass",c=s+"."+n;if(is[c])return;a(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
|
|
83
|
+
|
|
84
|
+
Please check the code for the %s component.`,n,n,s),is[c]=!0}}var Uc={isMounted:function(l){return!1},enqueueSetState:function(l,n,o){var s=Hi(l);s.queue===null?Bc(l,"setState"):(s.queue.push(n),o!=null&&Gi(o,"setState"))},enqueueReplaceState:function(l,n,o){var s=Hi(l);s.replace=!0,s.queue=[n],o!=null&&Gi(o,"setState")},enqueueForceUpdate:function(l,n){var o=Hi(l);o.queue===null?Bc(l,"forceUpdate"):n!=null&&Gi(n,"setState")}};function Tf(l,n,o,s,c){var g=o(c,s);ls(n,g);var w=g==null?s:Gt({},s,g);return w}function Hc(l,n,o){var s=ts,c=l.contextType;if("contextType"in l){var g=c===null||c!==void 0&&c.$$typeof===Di&&c._context===void 0;if(!g&&!Tl.has(l)){Tl.add(l);var w="";c===void 0?w=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof c!="object"?w=" However, it is set to a "+typeof c+".":c.$$typeof===Mi?w=" Did you accidentally pass the Context.Provider instead?":c._context!==void 0?w=" Did you accidentally pass the Context.Consumer instead?":w=" However, it is set to an object with keys {"+Object.keys(c).join(", ")+"}.",a("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",rt(l)||"Component",w)}}typeof c=="object"&&c!==null?s=Vo(c):s=o;var k=new l(n,s);{if(typeof l.getDerivedStateFromProps=="function"&&(k.state===null||k.state===void 0)){var M=rt(l)||"Component";ss.has(M)||(ss.add(M),a("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",M,k.state===null?"null":"undefined",M))}if(typeof l.getDerivedStateFromProps=="function"||typeof k.getSnapshotBeforeUpdate=="function"){var z=null,Q=null,ee=null;if(typeof k.componentWillMount=="function"&&k.componentWillMount.__suppressDeprecationWarning!==!0?z="componentWillMount":typeof k.UNSAFE_componentWillMount=="function"&&(z="UNSAFE_componentWillMount"),typeof k.componentWillReceiveProps=="function"&&k.componentWillReceiveProps.__suppressDeprecationWarning!==!0?Q="componentWillReceiveProps":typeof k.UNSAFE_componentWillReceiveProps=="function"&&(Q="UNSAFE_componentWillReceiveProps"),typeof k.componentWillUpdate=="function"&&k.componentWillUpdate.__suppressDeprecationWarning!==!0?ee="componentWillUpdate":typeof k.UNSAFE_componentWillUpdate=="function"&&(ee="UNSAFE_componentWillUpdate"),z!==null||Q!==null||ee!==null){var de=rt(l)||"Component",Me=typeof l.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Wi.has(de)||(Wi.add(de),a(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
85
|
+
|
|
86
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
87
|
+
|
|
88
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
89
|
+
https://reactjs.org/link/unsafe-component-lifecycles`,de,Me,z!==null?`
|
|
90
|
+
`+z:"",Q!==null?`
|
|
91
|
+
`+Q:"",ee!==null?`
|
|
92
|
+
`+ee:""))}}}return k}function Rf(l,n,o){{var s=rt(n)||"Component",c=l.render;c||(n.prototype&&typeof n.prototype.render=="function"?a("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",s):a("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",s)),l.getInitialState&&!l.getInitialState.isReactClassApproved&&!l.state&&a("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",s),l.getDefaultProps&&!l.getDefaultProps.isReactClassApproved&&a("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",s),l.propTypes&&a("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",s),l.contextType&&a("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",s),l.contextTypes&&a("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",s),n.contextType&&n.contextTypes&&!us.has(n)&&(us.add(n),a("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",s)),typeof l.componentShouldUpdate=="function"&&a("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",s),n.prototype&&n.prototype.isPureReactComponent&&typeof l.shouldComponentUpdate<"u"&&a("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",rt(n)||"A pure component"),typeof l.componentDidUnmount=="function"&&a("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",s),typeof l.componentDidReceiveProps=="function"&&a("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",s),typeof l.componentWillRecieveProps=="function"&&a("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",s),typeof l.UNSAFE_componentWillRecieveProps=="function"&&a("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",s);var g=l.props!==o;l.props!==void 0&&g&&a("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",s,s),l.defaultProps&&a("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",s,s),typeof l.getSnapshotBeforeUpdate=="function"&&typeof l.componentDidUpdate!="function"&&!Go.has(n)&&(Go.add(n),a("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",rt(n))),typeof l.getDerivedStateFromProps=="function"&&a("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",s),typeof l.getDerivedStateFromError=="function"&&a("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",s),typeof n.getSnapshotBeforeUpdate=="function"&&a("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",s);var w=l.state;w&&(typeof w!="object"||Rt(w))&&a("%s.state: must be set to an object or null",s),typeof l.getChildContext=="function"&&typeof n.childContextTypes!="object"&&a("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",s)}}function Pf(l,n){var o=n.state;if(typeof n.componentWillMount=="function"){if(n.componentWillMount.__suppressDeprecationWarning!==!0){var s=rt(l)||"Unknown";as[s]||(i(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
93
|
+
|
|
94
|
+
* Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
|
|
95
|
+
|
|
96
|
+
Please update the following components: %s`,s),as[s]=!0)}n.componentWillMount()}typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),o!==n.state&&(a("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",rt(l)||"Component"),Uc.enqueueReplaceState(n,n.state,null))}function Rl(l,n,o,s){if(l.queue!==null&&l.queue.length>0){var c=l.queue,g=l.replace;if(l.queue=null,l.replace=!1,g&&c.length===1)n.state=c[0];else{for(var w=g?c[0]:n.state,k=!0,M=g?1:0;M<c.length;M++){var z=c[M],Q=typeof z=="function"?z.call(n,w,o,s):z;Q!=null&&(k?(k=!1,w=Gt({},w,Q)):Gt(w,Q))}n.state=w}}else l.queue=null}function Yi(l,n,o,s){Rf(l,n,o);var c=l.state!==void 0?l.state:null;l.updater=Uc,l.props=o,l.state=c;var g={queue:[],replace:!1};Cl(l,g);var w=n.contextType;if(typeof w=="object"&&w!==null?l.context=Vo(w):l.context=s,l.state===o){var k=rt(n)||"Component";cs.has(k)||(cs.add(k),a("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",k))}var M=n.getDerivedStateFromProps;typeof M=="function"&&(l.state=Tf(l,n,M,c,o)),typeof n.getDerivedStateFromProps!="function"&&typeof l.getSnapshotBeforeUpdate!="function"&&(typeof l.UNSAFE_componentWillMount=="function"||typeof l.componentWillMount=="function")&&(Pf(n,l),Rl(g,l,o,s))}var Af={id:1,overflow:""};function Of(l){var n=l.overflow,o=l.id,s=o&~If(o);return s.toString(32)+n}function Pl(l,n,o){var s=l.id,c=l.overflow,g=fs(s)-1,w=s&~(1<<g),k=o+1,M=fs(n)+g;if(M>30){var z=g-g%5,Q=(1<<z)-1,ee=(w&Q).toString(32),de=w>>z,Me=g-z,Xe=fs(n)+Me,vt=k<<Me,to=vt|de,no=ee+c;return{id:1<<Xe|to,overflow:no}}else{var tr=k<<g,Zo=tr|w,sd=c;return{id:1<<M|Zo,overflow:sd}}}function fs(l){return 32-Ff(l)}function If(l){return 1<<fs(l)-1}var Ff=Math.clz32?Math.clz32:Al,Mf=Math.log,Kn=Math.LN2;function Al(l){var n=l>>>0;return n===0?32:31-(Mf(n)/Kn|0)|0}function ds(l,n){return l===n&&(l!==0||1/l===1/n)||l!==l&&n!==n}var nt=typeof Object.is=="function"?Object.is:ds,Yt=null,Yo=null,Qr=null,Ge=null,Sr=!1,ps=!1,Xt=0,Qt=null,Ln=0,Df=25,bn=!1,kr;function qr(){if(Yt===null)throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
97
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
98
|
+
2. You might be breaking the Rules of Hooks
|
|
99
|
+
3. You might have more than one copy of React in the same app
|
|
100
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return bn&&a("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"),Yt}function _f(l,n){if(n===null)return a("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",kr),!1;l.length!==n.length&&a(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
101
|
+
|
|
102
|
+
Previous: %s
|
|
103
|
+
Incoming: %s`,kr,"["+l.join(", ")+"]","["+n.join(", ")+"]");for(var o=0;o<n.length&&o<l.length;o++)if(!nt(l[o],n[o]))return!1;return!0}function Ol(){if(Ln>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Xi(){return Ge===null?Qr===null?(Sr=!1,Qr=Ge=Ol()):(Sr=!0,Ge=Qr):Ge.next===null?(Sr=!1,Ge=Ge.next=Ol()):(Sr=!0,Ge=Ge.next),Ge}function Lf(l,n){Yt=n,Yo=l,bn=!1,Xt=0}function $f(l,n,o,s){for(;ps;)ps=!1,Xt=0,Ln+=1,Ge=null,o=l(n,s);return Il(),o}function hs(){var l=Xt!==0;return l}function Il(){bn=!1,Yt=null,Yo=null,ps=!1,Qr=null,Ln=0,Qt=null,Ge=null}function Wc(l){return bn&&a("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),Vo(l)}function Vc(l){return kr="useContext",qr(),Vo(l)}function Fl(l,n){return typeof n=="function"?n(l):n}function jf(l){return kr="useState",Gc(Fl,l)}function Gc(l,n,o){if(l!==Fl&&(kr="useReducer"),Yt=qr(),Ge=Xi(),Sr){var s=Ge.queue,c=s.dispatch;if(Qt!==null){var g=Qt.get(s);if(g!==void 0){Qt.delete(s);var w=Ge.memoizedState,k=g;do{var M=k.action;bn=!0,w=l(w,M),bn=!1,k=k.next}while(k!==null);return Ge.memoizedState=w,[w,c]}}return[Ge.memoizedState,c]}else{bn=!0;var z;l===Fl?z=typeof n=="function"?n():n:z=o!==void 0?o(n):n,bn=!1,Ge.memoizedState=z;var Q=Ge.queue={last:null,dispatch:null},ee=Q.dispatch=Bf.bind(null,Yt,Q);return[Ge.memoizedState,ee]}}function Yc(l,n){Yt=qr(),Ge=Xi();var o=n===void 0?null:n;if(Ge!==null){var s=Ge.memoizedState;if(s!==null&&o!==null){var c=s[1];if(_f(o,c))return s[0]}}bn=!0;var g=l();return bn=!1,Ge.memoizedState=[g,o],g}function Nf(l){Yt=qr(),Ge=Xi();var n=Ge.memoizedState;if(n===null){var o={current:l};return Object.seal(o),Ge.memoizedState=o,o}else return n}function zf(l,n){kr="useLayoutEffect",a("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function Bf(l,n,o){if(Ln>=Df)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(l===Yt){ps=!0;var s={action:o,next:null};Qt===null&&(Qt=new Map);var c=Qt.get(n);if(c===void 0)Qt.set(n,s);else{for(var g=c;g.next!==null;)g=g.next;g.next=s}}}function Uf(l,n){return Yc(function(){return l},n)}function Hf(l,n,o){return qr(),n(l._source)}function Wf(l,n,o){if(o===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return o()}function ms(l){return qr(),l}function Xc(){throw new Error("startTransition cannot be called during server rendering.")}function Ml(){return qr(),[!1,Xc]}function Qc(){var l=Yo,n=Of(l.treeContext),o=Qi;if(o===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var s=Xt++;return un(o,n,s)}function gs(){}var vs={readContext:Wc,useContext:Vc,useMemo:Yc,useReducer:Gc,useRef:Nf,useState:jf,useInsertionEffect:gs,useLayoutEffect:zf,useCallback:Uf,useImperativeHandle:gs,useEffect:gs,useDebugValue:gs,useDeferredValue:ms,useTransition:Ml,useId:Qc,useMutableSource:Hf,useSyncExternalStore:Wf},Qi=null;function ys(l){Qi=l}function Xo(l){try{var n="",o=l;do{switch(o.tag){case 0:n+=Gr(o.type,null,null);break;case 1:n+=Sl(o.type,null,null);break;case 2:n+=Dc(o.type,null,null);break}o=o.parent}while(o);return n}catch(s){return`
|
|
104
|
+
Error generating stack: `+s.message+`
|
|
105
|
+
`+s.stack}}var bs=r.ReactCurrentDispatcher,ws=r.ReactDebugCurrentFrame,xs=0,Qo=1,Dl=2,Kr=3,qc=4,Vf=0,qo=1,Ko=2,Gf=12800;function Yf(l){return console.error(l),null}function Jr(){}function Ss(l,n,o,s,c,g,w,k,M){var z=[],Q=new Set,ee={destination:null,responseState:n,progressiveChunkSize:s===void 0?Gf:s,status:Vf,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Q,pingedTasks:z,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:c===void 0?Yf:c,onAllReady:g===void 0?Jr:g,onShellReady:w===void 0?Jr:w,onShellError:k===void 0?Jr:k,onFatalError:M===void 0?Jr:M},de=qi(ee,0,null,o,!1,!1);de.parentFlushed=!0;var Me=Zr(ee,l,null,de,Q,ts,ns,Af);return z.push(Me),ee}function Jn(l,n){var o=l.pingedTasks;o.push(n),o.length===1&&p(function(){return Vl(l)})}function _l(l,n){return{id:hr,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:n,errorDigest:null}}function Zr(l,n,o,s,c,g,w,k){l.allPendingTasks++,o===null?l.pendingRootTasks++:o.pendingTasks++;var M={node:n,ping:function(){return Jn(l,M)},blockedBoundary:o,blockedSegment:s,abortSet:c,legacyContext:g,context:w,treeContext:k};return M.componentStack=null,c.add(M),M}function qi(l,n,o,s,c,g){return{status:xs,id:-1,index:n,parentFlushed:!1,chunks:[],children:[],formatContext:s,boundary:o,lastPushedText:c,textEmbedded:g}}var Zn=null;function $n(){return Zn===null||Zn.componentStack===null?"":Xo(Zn.componentStack)}function er(l,n){l.componentStack={tag:0,parent:l.componentStack,type:n}}function ks(l,n){l.componentStack={tag:1,parent:l.componentStack,type:n}}function Ki(l,n){l.componentStack={tag:2,parent:l.componentStack,type:n}}function wn(l){l.componentStack===null?a("Unexpectedly popped too many stack frames. This is a bug in React."):l.componentStack=l.componentStack.parent}var Ji=null;function Ll(l,n){{var o;typeof n=="string"?o=n:n&&typeof n.message=="string"?o=n.message:o=String(n);var s=Ji||$n();Ji=null,l.errorMessage=o,l.errorComponentStack=s}}function Zi(l,n){var o=l.onError(n);if(o!=null&&typeof o!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof o+'" instead');return o}function ea(l,n){var o=l.onShellError;o(n);var s=l.onFatalError;s(n),l.destination!==null?(l.status=Ko,U(l.destination,n)):(l.status=qo,l.fatalError=n)}function Kc(l,n,o){er(n,"Suspense");var s=n.blockedBoundary,c=n.blockedSegment,g=o.fallback,w=o.children,k=new Set,M=_l(l,k),z=c.chunks.length,Q=qi(l,z,M,c.formatContext,!1,!1);c.children.push(Q),c.lastPushedText=!1;var ee=qi(l,0,null,c.formatContext,!1,!1);ee.parentFlushed=!0,n.blockedBoundary=M,n.blockedSegment=ee;try{if(Jo(l,n,w),At(ee.chunks,l.responseState,ee.lastPushedText,ee.textEmbedded),ee.status=Qo,eo(M,ee),M.pendingTasks===0){wn(n);return}}catch(Me){ee.status=qc,M.forceClientRender=!0,M.errorDigest=Zi(l,Me),Ll(M,Me)}finally{n.blockedBoundary=s,n.blockedSegment=c}var de=Zr(l,g,s,Q,k,n.legacyContext,n.context,n.treeContext);de.componentStack=n.componentStack,l.pingedTasks.push(de),wn(n)}function Xf(l,n,o,s){er(n,o);var c=n.blockedSegment,g=Ur(c.chunks,o,s,l.responseState,c.formatContext);c.lastPushedText=!1;var w=c.formatContext;c.formatContext=Gn(w,o,s),Jo(l,n,g),c.formatContext=w,Oa(c.chunks,o),c.lastPushedText=!1,wn(n)}function Jc(l){return l.prototype&&l.prototype.isReactComponent}function ta(l,n,o,s,c){var g={};Lf(n,g);var w=o(s,c);return $f(o,s,w,c)}function $l(l,n,o,s,c){var g=o.render();o.props!==c&&(Bl||a("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",rt(s)||"a component"),Bl=!0);{var w=s.childContextTypes;if(w!=null){var k=n.legacyContext,M=kl(o,s,k,w);n.legacyContext=M,Ft(l,n,g),n.legacyContext=k;return}}Ft(l,n,g)}function Zc(l,n,o,s){Ki(n,o);var c=br(o,n.legacyContext),g=Hc(o,s,c);Yi(g,o,s,c),$l(l,n,g,o,s),wn(n)}var jl={},na={},Nl={},zl={},Bl=!1,eu={},tu=!1,Ul=!1,nu=!1;function Qf(l,n,o,s){var c;if(c=br(o,n.legacyContext),ks(n,o),o.prototype&&typeof o.prototype.render=="function"){var g=rt(o)||"Unknown";jl[g]||(a("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",g,g),jl[g]=!0)}var w=ta(l,n,o,s,c),k=hs();if(typeof w=="object"&&w!==null&&typeof w.render=="function"&&w.$$typeof===void 0){var M=rt(o)||"Unknown";na[M]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",M,M,M),na[M]=!0)}if(typeof w=="object"&&w!==null&&typeof w.render=="function"&&w.$$typeof===void 0){{var z=rt(o)||"Unknown";na[z]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",z,z,z),na[z]=!0)}Yi(w,o,s,c),$l(l,n,w,o,s)}else if(qf(o),k){var Q=n.treeContext,ee=1,de=0;n.treeContext=Pl(Q,ee,de);try{Ft(l,n,w)}finally{n.treeContext=Q}}else Ft(l,n,w);wn(n)}function qf(l){{if(l&&l.childContextTypes&&a("%s(...): childContextTypes cannot be defined on a function component.",l.displayName||l.name||"Component"),l.defaultProps!==void 0){var n=rt(l)||"Unknown";eu[n]||(a("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",n),eu[n]=!0)}if(typeof l.getDerivedStateFromProps=="function"){var o=rt(l)||"Unknown";zl[o]||(a("%s: Function components do not support getDerivedStateFromProps.",o),zl[o]=!0)}if(typeof l.contextType=="object"&&l.contextType!==null){var s=rt(l)||"Unknown";Nl[s]||(a("%s: Function components do not support contextType.",s),Nl[s]=!0)}}}function ru(l,n){if(l&&l.defaultProps){var o=Gt({},n),s=l.defaultProps;for(var c in s)o[c]===void 0&&(o[c]=s[c]);return o}return n}function Kf(l,n,o,s,c){ks(n,o.render);var g=ta(l,n,o.render,s,c),w=hs();if(w){var k=n.treeContext,M=1,z=0;n.treeContext=Pl(k,M,z);try{Ft(l,n,g)}finally{n.treeContext=k}}else Ft(l,n,g);wn(n)}function Hl(l,n,o,s,c){var g=o.type,w=ru(g,s);Es(l,n,g,w,c)}function Jf(l,n,o,s){o._context===void 0?o!==o.Consumer&&(nu||(nu=!0,a("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):o=o._context;var c=s.children;typeof c!="function"&&a("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var g=Vo(o),w=c(g);Ft(l,n,w)}function qt(l,n,o,s){var c=o._context,g=s.value,w=s.children,k;k=n.context,n.context=El(c,g),Ft(l,n,w),n.context=Cf(c),k!==n.context&&a("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Zf(l,n,o,s,c){er(n,"Lazy");var g=o._payload,w=o._init,k=w(g),M=ru(k,s);Es(l,n,k,M,c),wn(n)}function Es(l,n,o,s,c){if(typeof o=="function")if(Jc(o)){Zc(l,n,o,s);return}else{Qf(l,n,o,s);return}if(typeof o=="string"){Xf(l,n,o,s);return}switch(o){case Sf:case xf:case Ya:case Xa:case Ga:{Ft(l,n,s.children);return}case fl:{er(n,"SuspenseList"),Ft(l,n,s.children),wn(n);return}case Oc:throw new Error("ReactDOMServer does not yet support scope components.");case ul:{Kc(l,n,s);return}}if(typeof o=="object"&&o!==null)switch(o.$$typeof){case Uo:{Kf(l,n,o,s,c);return}case dl:{Hl(l,n,o,s,c);return}case Mi:{qt(l,n,o,s);return}case Di:{Jf(l,n,o,s);return}case Qa:{Zf(l,n,o,s);return}}var g="";throw(o===void 0||typeof o=="object"&&o!==null&&Object.keys(o).length===0)&&(g+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(o==null?o:typeof o)+"."+g))}function ed(l,n){typeof Symbol=="function"&&l[Symbol.toStringTag]==="Generator"&&(tu||a("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),tu=!0),l.entries===n&&(Ul||a("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Ul=!0)}function Ft(l,n,o){try{return td(l,n,o)}catch(s){throw typeof s=="object"&&s!==null&&typeof s.then=="function"||(Ji=Ji!==null?Ji:$n()),s}}function td(l,n,o){if(n.node=o,typeof o=="object"&&o!==null){switch(o.$$typeof){case Ac:{var s=o,c=s.type,g=s.props,w=s.ref;Es(l,n,c,g,w);return}case Va:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Qa:{var k=o,M=k._payload,z=k._init,Q;try{Q=z(M)}catch(tr){throw typeof tr=="object"&&tr!==null&&typeof tr.then=="function"&&er(n,"Lazy"),tr}Ft(l,n,Q);return}}if(Rt(o)){ou(l,n,o);return}var ee=_i(o);if(ee){ed(o,ee);var de=ee.call(o);if(de){var Me=de.next();if(!Me.done){var Xe=[];do Xe.push(Me.value),Me=de.next();while(!Me.done);ou(l,n,Xe);return}return}}var vt=Object.prototype.toString.call(o);throw new Error("Objects are not valid as a React child (found: "+(vt==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":vt)+"). If you meant to render a collection of children, use an array instead.")}if(typeof o=="string"){var to=n.blockedSegment;to.lastPushedText=mt(n.blockedSegment.chunks,o,l.responseState,to.lastPushedText);return}if(typeof o=="number"){var no=n.blockedSegment;no.lastPushedText=mt(n.blockedSegment.chunks,""+o,l.responseState,no.lastPushedText);return}typeof o=="function"&&a("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function ou(l,n,o){for(var s=o.length,c=0;c<s;c++){var g=n.treeContext;n.treeContext=Pl(g,s,c);try{Jo(l,n,o[c])}finally{n.treeContext=g}}}function iu(l,n,o){var s=n.blockedSegment,c=s.chunks.length,g=qi(l,c,null,s.formatContext,s.lastPushedText,!0);s.children.push(g),s.lastPushedText=!1;var w=Zr(l,n.node,n.blockedBoundary,g,n.abortSet,n.legacyContext,n.context,n.treeContext);n.componentStack!==null&&(w.componentStack=n.componentStack.parent);var k=w.ping;o.then(k,k)}function Jo(l,n,o){var s=n.blockedSegment.formatContext,c=n.legacyContext,g=n.context,w=null;w=n.componentStack;try{return Ft(l,n,o)}catch(k){if(Il(),typeof k=="object"&&k!==null&&typeof k.then=="function"){iu(l,n,k),n.blockedSegment.formatContext=s,n.legacyContext=c,n.context=g,xr(g),n.componentStack=w;return}else throw n.blockedSegment.formatContext=s,n.legacyContext=c,n.context=g,xr(g),n.componentStack=w,k}}function au(l,n,o,s){var c=Zi(l,s);if(n===null?ea(l,s):(n.pendingTasks--,n.forceClientRender||(n.forceClientRender=!0,n.errorDigest=c,Ll(n,s),n.parentFlushed&&l.clientRenderedBoundaries.push(n))),l.allPendingTasks--,l.allPendingTasks===0){var g=l.onAllReady;g()}}function nd(l){var n=this,o=l.blockedBoundary,s=l.blockedSegment;s.status=Kr,ra(n,o,s)}function Wl(l,n,o){var s=l.blockedBoundary,c=l.blockedSegment;if(c.status=Kr,s===null)n.allPendingTasks--,n.status!==Ko&&(n.status=Ko,n.destination!==null&&L(n.destination));else{if(s.pendingTasks--,!s.forceClientRender){s.forceClientRender=!0;var g=o===void 0?new Error("The render was aborted by the server without a reason."):o;s.errorDigest=n.onError(g);{var w="The server did not finish this Suspense boundary: ";g&&typeof g.message=="string"?g=w+g.message:g=w+String(g);var k=Zn;Zn=l;try{Ll(s,g)}finally{Zn=k}}s.parentFlushed&&n.clientRenderedBoundaries.push(s)}if(s.fallbackAbortableTasks.forEach(function(z){return Wl(z,n,o)}),s.fallbackAbortableTasks.clear(),n.allPendingTasks--,n.allPendingTasks===0){var M=n.onAllReady;M()}}}function eo(l,n){if(n.chunks.length===0&&n.children.length===1&&n.children[0].boundary===null){var o=n.children[0];o.id=n.id,o.parentFlushed=!0,o.status===Qo&&eo(l,o)}else{var s=l.completedSegments;s.push(n)}}function ra(l,n,o){if(n===null){if(o.parentFlushed){if(l.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");l.completedRootSegment=o}if(l.pendingRootTasks--,l.pendingRootTasks===0){l.onShellError=Jr;var s=l.onShellReady;s()}}else if(n.pendingTasks--,!n.forceClientRender){if(n.pendingTasks===0)o.parentFlushed&&o.status===Qo&&eo(n,o),n.parentFlushed&&l.completedBoundaries.push(n),n.fallbackAbortableTasks.forEach(nd,l),n.fallbackAbortableTasks.clear();else if(o.parentFlushed&&o.status===Qo){eo(n,o);var c=n.completedSegments;c.length===1&&n.parentFlushed&&l.partialBoundaries.push(n)}}if(l.allPendingTasks--,l.allPendingTasks===0){var g=l.onAllReady;g()}}function rd(l,n){var o=n.blockedSegment;if(o.status===xs){xr(n.context);var s=null;s=Zn,Zn=n;try{Ft(l,n,n.node),At(o.chunks,l.responseState,o.lastPushedText,o.textEmbedded),n.abortSet.delete(n),o.status=Qo,ra(l,n.blockedBoundary,o)}catch(g){if(Il(),typeof g=="object"&&g!==null&&typeof g.then=="function"){var c=n.ping;g.then(c,c)}else n.abortSet.delete(n),o.status=qc,au(l,n.blockedBoundary,o,g)}finally{Zn=s}}}function Vl(l){if(l.status!==Ko){var n=Nc(),o=bs.current;bs.current=vs;var s;s=ws.getCurrentStack,ws.getCurrentStack=$n;var c=Qi;ys(l.responseState);try{var g=l.pingedTasks,w;for(w=0;w<g.length;w++){var k=g[w];rd(l,k)}g.splice(0,w),l.destination!==null&&Gl(l,l.destination)}catch(M){Zi(l,M),ea(l,M)}finally{ys(c),bs.current=o,ws.getCurrentStack=s,o===vs&&xr(n)}}}function oa(l,n,o){switch(o.parentFlushed=!0,o.status){case xs:{var s=o.id=l.nextSegmentId++;return o.lastPushedText=!1,o.textEmbedded=!1,Ia(n,l.responseState,s)}case Qo:{o.status=Dl;for(var c=!0,g=o.chunks,w=0,k=o.children,M=0;M<k.length;M++){for(var z=k[M];w<z.index;w++)x(n,g[w]);c=Cs(l,n,z)}for(;w<g.length-1;w++)x(n,g[w]);return w<g.length&&(c=F(n,g[w])),c}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function Cs(l,n,o){var s=o.boundary;if(s===null)return oa(l,n,o);if(s.parentFlushed=!0,s.forceClientRender)return Ot(n,l.responseState,s.errorDigest,s.errorMessage,s.errorComponentStack),oa(l,n,o),ll(n,l.responseState);if(s.pendingTasks>0){s.rootSegmentID=l.nextSegmentId++,s.completedSegments.length>0&&l.partialBoundaries.push(s);var c=s.id=_t(l.responseState);return Lo(n,l.responseState,c),oa(l,n,o),$o(n,l.responseState)}else{if(s.byteSize>l.progressiveChunkSize)return s.rootSegmentID=l.nextSegmentId++,l.completedBoundaries.push(s),Lo(n,l.responseState,s.id),oa(l,n,o),$o(n,l.responseState);Da(n,l.responseState);var g=s.completedSegments;if(g.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var w=g[0];return Cs(l,n,w),_a(n,l.responseState)}}function su(l,n,o){return wf(n,l.responseState,o.id,o.errorDigest,o.errorMessage,o.errorComponentStack)}function Ts(l,n,o){return je(n,l.responseState,o.formatContext,o.id),Cs(l,n,o),et(n,o.formatContext)}function lu(l,n,o){for(var s=o.completedSegments,c=0;c<s.length;c++){var g=s[c];cu(l,n,o,g)}return s.length=0,Rc(n,l.responseState,o.id,o.rootSegmentID)}function od(l,n,o){for(var s=o.completedSegments,c=0;c<s.length;c++){var g=s[c];if(!cu(l,n,o,g))return c++,s.splice(0,c),!1}return s.splice(0,c),!0}function cu(l,n,o,s){if(s.status===Dl)return!0;var c=s.id;if(c===-1){var g=s.id=o.rootSegmentID;if(g===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Ts(l,n,s)}else return Ts(l,n,s),pf(n,l.responseState,c)}function Gl(l,n){C();try{var o=l.completedRootSegment;o!==null&&l.pendingRootTasks===0&&(Cs(l,n,o),l.completedRootSegment=null,il(n,l.responseState));var s=l.clientRenderedBoundaries,c;for(c=0;c<s.length;c++){var g=s[c];su(l,n,g)}s.splice(0,c);var w=l.completedBoundaries;for(c=0;c<w.length;c++){var k=w[c];lu(l,n,k)}w.splice(0,c),I(n),C(n);var M=l.partialBoundaries;for(c=0;c<M.length;c++){var z=M[c];if(!od(l,n,z)){l.destination=null,c++,M.splice(0,c);return}}M.splice(0,c);var Q=l.completedBoundaries;for(c=0;c<Q.length;c++){var ee=Q[c];lu(l,n,ee)}Q.splice(0,c)}finally{I(n),l.allPendingTasks===0&&l.pingedTasks.length===0&&l.clientRenderedBoundaries.length===0&&l.completedBoundaries.length===0&&(l.abortableTasks.size!==0&&a("There was still abortable task at the root when we closed. This is a bug in React."),L(n))}}function uu(l){p(function(){return Vl(l)})}function id(l,n){if(l.status===qo){l.status=Ko,U(n,l.fatalError);return}if(l.status!==Ko&&l.destination===null){l.destination=n;try{Gl(l,n)}catch(o){Zi(l,o),ea(l,o)}}}function fu(l,n){try{var o=l.abortableTasks;o.forEach(function(s){return Wl(s,l,n)}),o.clear(),l.destination!==null&&Gl(l,l.destination)}catch(s){Zi(l,s),ea(l,s)}}function ad(l,n){return new Promise(function(o,s){var c,g,w=new Promise(function(de,Me){g=de,c=Me});function k(){var de=new ReadableStream({type:"bytes",pull:function(Me){id(z,Me)},cancel:function(Me){fu(z)}},{highWaterMark:0});de.allReady=w,o(de)}function M(de){w.catch(function(){}),s(de)}var z=Ss(l,Po(n?n.identifierPrefix:void 0,n?n.nonce:void 0,n?n.bootstrapScriptContent:void 0,n?n.bootstrapScripts:void 0,n?n.bootstrapModules:void 0),In(n?n.namespaceURI:void 0),n?n.progressiveChunkSize:void 0,n?n.onError:void 0,g,k,M,c);if(n&&n.signal){var Q=n.signal,ee=function(){fu(z,Q.reason),Q.removeEventListener("abort",ee)};Q.addEventListener("abort",ee)}uu(z)})}hu.renderToReadableStream=ad,hu.version=t}()),hu}var hh;function Wy(){if(hh)return ei;hh=1;var e,t;return process.env.NODE_ENV==="production"?(e=zy(),t=By()):(e=Uy(),t=Hy()),ei.version=e.version,ei.renderToString=e.renderToString,ei.renderToStaticMarkup=e.renderToStaticMarkup,ei.renderToNodeStream=e.renderToNodeStream,ei.renderToStaticNodeStream=e.renderToStaticNodeStream,ei.renderToReadableStream=t.renderToReadableStream,ei}var Vy=Wy(),mu={exports:{}},gu={exports:{}},Ke={};/** @license React v16.13.1
|
|
106
|
+
* react-is.production.min.js
|
|
107
|
+
*
|
|
108
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
109
|
+
*
|
|
110
|
+
* This source code is licensed under the MIT license found in the
|
|
111
|
+
* LICENSE file in the root directory of this source tree.
|
|
112
|
+
*/var mh;function Gy(){if(mh)return Ke;mh=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,u=e?Symbol.for("react.profiler"):60114,p=e?Symbol.for("react.provider"):60109,m=e?Symbol.for("react.context"):60110,h=e?Symbol.for("react.async_mode"):60111,v=e?Symbol.for("react.concurrent_mode"):60111,C=e?Symbol.for("react.forward_ref"):60112,x=e?Symbol.for("react.suspense"):60113,F=e?Symbol.for("react.suspense_list"):60120,I=e?Symbol.for("react.memo"):60115,L=e?Symbol.for("react.lazy"):60116,D=e?Symbol.for("react.block"):60121,T=e?Symbol.for("react.fundamental"):60117,O=e?Symbol.for("react.responder"):60118,U=e?Symbol.for("react.scope"):60119;function j($){if(typeof $=="object"&&$!==null){var J=$.$$typeof;switch(J){case t:switch($=$.type,$){case h:case v:case i:case u:case a:case x:return $;default:switch($=$&&$.$$typeof,$){case m:case C:case L:case I:case p:return $;default:return J}}case r:return J}}}function V($){return j($)===v}return Ke.AsyncMode=h,Ke.ConcurrentMode=v,Ke.ContextConsumer=m,Ke.ContextProvider=p,Ke.Element=t,Ke.ForwardRef=C,Ke.Fragment=i,Ke.Lazy=L,Ke.Memo=I,Ke.Portal=r,Ke.Profiler=u,Ke.StrictMode=a,Ke.Suspense=x,Ke.isAsyncMode=function($){return V($)||j($)===h},Ke.isConcurrentMode=V,Ke.isContextConsumer=function($){return j($)===m},Ke.isContextProvider=function($){return j($)===p},Ke.isElement=function($){return typeof $=="object"&&$!==null&&$.$$typeof===t},Ke.isForwardRef=function($){return j($)===C},Ke.isFragment=function($){return j($)===i},Ke.isLazy=function($){return j($)===L},Ke.isMemo=function($){return j($)===I},Ke.isPortal=function($){return j($)===r},Ke.isProfiler=function($){return j($)===u},Ke.isStrictMode=function($){return j($)===a},Ke.isSuspense=function($){return j($)===x},Ke.isValidElementType=function($){return typeof $=="string"||typeof $=="function"||$===i||$===v||$===u||$===a||$===x||$===F||typeof $=="object"&&$!==null&&($.$$typeof===L||$.$$typeof===I||$.$$typeof===p||$.$$typeof===m||$.$$typeof===C||$.$$typeof===T||$.$$typeof===O||$.$$typeof===U||$.$$typeof===D)},Ke.typeOf=j,Ke}var Je={};/** @license React v16.13.1
|
|
113
|
+
* react-is.development.js
|
|
114
|
+
*
|
|
115
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
116
|
+
*
|
|
117
|
+
* This source code is licensed under the MIT license found in the
|
|
118
|
+
* LICENSE file in the root directory of this source tree.
|
|
119
|
+
*/var gh;function Yy(){return gh||(gh=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,u=e?Symbol.for("react.profiler"):60114,p=e?Symbol.for("react.provider"):60109,m=e?Symbol.for("react.context"):60110,h=e?Symbol.for("react.async_mode"):60111,v=e?Symbol.for("react.concurrent_mode"):60111,C=e?Symbol.for("react.forward_ref"):60112,x=e?Symbol.for("react.suspense"):60113,F=e?Symbol.for("react.suspense_list"):60120,I=e?Symbol.for("react.memo"):60115,L=e?Symbol.for("react.lazy"):60116,D=e?Symbol.for("react.block"):60121,T=e?Symbol.for("react.fundamental"):60117,O=e?Symbol.for("react.responder"):60118,U=e?Symbol.for("react.scope"):60119;function j(se){return typeof se=="string"||typeof se=="function"||se===i||se===v||se===u||se===a||se===x||se===F||typeof se=="object"&&se!==null&&(se.$$typeof===L||se.$$typeof===I||se.$$typeof===p||se.$$typeof===m||se.$$typeof===C||se.$$typeof===T||se.$$typeof===O||se.$$typeof===U||se.$$typeof===D)}function V(se){if(typeof se=="object"&&se!==null){var We=se.$$typeof;switch(We){case t:var ot=se.type;switch(ot){case h:case v:case i:case u:case a:case x:return ot;default:var Nt=ot&&ot.$$typeof;switch(Nt){case m:case C:case L:case I:case p:return Nt;default:return We}}case r:return We}}}var $=h,J=v,ae=m,ne=p,le=t,ye=C,De=i,Fe=L,$e=I,ze=r,xe=u,Re=a,Le=x,Z=!1;function ve(se){return Z||(Z=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),Y(se)||V(se)===h}function Y(se){return V(se)===v}function K(se){return V(se)===m}function fe(se){return V(se)===p}function te(se){return typeof se=="object"&&se!==null&&se.$$typeof===t}function he(se){return V(se)===C}function me(se){return V(se)===i}function ce(se){return V(se)===L}function ue(se){return V(se)===I}function Ee(se){return V(se)===r}function Se(se){return V(se)===u}function Pe(se){return V(se)===a}function Be(se){return V(se)===x}Je.AsyncMode=$,Je.ConcurrentMode=J,Je.ContextConsumer=ae,Je.ContextProvider=ne,Je.Element=le,Je.ForwardRef=ye,Je.Fragment=De,Je.Lazy=Fe,Je.Memo=$e,Je.Portal=ze,Je.Profiler=xe,Je.StrictMode=Re,Je.Suspense=Le,Je.isAsyncMode=ve,Je.isConcurrentMode=Y,Je.isContextConsumer=K,Je.isContextProvider=fe,Je.isElement=te,Je.isForwardRef=he,Je.isFragment=me,Je.isLazy=ce,Je.isMemo=ue,Je.isPortal=Ee,Je.isProfiler=Se,Je.isStrictMode=Pe,Je.isSuspense=Be,Je.isValidElementType=j,Je.typeOf=V}()),Je}var vh;function ng(){return vh||(vh=1,process.env.NODE_ENV==="production"?gu.exports=Gy():gu.exports=Yy()),gu.exports}/*
|
|
120
|
+
object-assign
|
|
121
|
+
(c) Sindre Sorhus
|
|
122
|
+
@license MIT
|
|
123
|
+
*/var cd,yh;function Xy(){if(yh)return cd;yh=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function i(u){if(u==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(u)}function a(){try{if(!Object.assign)return!1;var u=new String("abc");if(u[5]="de",Object.getOwnPropertyNames(u)[0]==="5")return!1;for(var p={},m=0;m<10;m++)p["_"+String.fromCharCode(m)]=m;var h=Object.getOwnPropertyNames(p).map(function(C){return p[C]});if(h.join("")!=="0123456789")return!1;var v={};return"abcdefghijklmnopqrst".split("").forEach(function(C){v[C]=C}),Object.keys(Object.assign({},v)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return cd=a()?Object.assign:function(u,p){for(var m,h=i(u),v,C=1;C<arguments.length;C++){m=Object(arguments[C]);for(var x in m)t.call(m,x)&&(h[x]=m[x]);if(e){v=e(m);for(var F=0;F<v.length;F++)r.call(m,v[F])&&(h[v[F]]=m[v[F]])}}return h},cd}var ud,bh;function Dp(){if(bh)return ud;bh=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return ud=e,ud}var fd,wh;function rg(){return wh||(wh=1,fd=Function.call.bind(Object.prototype.hasOwnProperty)),fd}var dd,xh;function Qy(){if(xh)return dd;xh=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Dp(),r={},i=rg();e=function(u){var p="Warning: "+u;typeof console<"u"&&console.error(p);try{throw new Error(p)}catch{}}}function a(u,p,m,h,v){if(process.env.NODE_ENV!=="production"){for(var C in u)if(i(u,C)){var x;try{if(typeof u[C]!="function"){var F=Error((h||"React class")+": "+m+" type `"+C+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof u[C]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw F.name="Invariant Violation",F}x=u[C](p,C,h,m,null,t)}catch(L){x=L}if(x&&!(x instanceof Error)&&e((h||"React class")+": type specification of "+m+" `"+C+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof x+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),x instanceof Error&&!(x.message in r)){r[x.message]=!0;var I=v?v():"";e("Failed "+m+" type: "+x.message+(I??""))}}}}return a.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},dd=a,dd}var pd,Sh;function qy(){if(Sh)return pd;Sh=1;var e=ng(),t=Xy(),r=Dp(),i=rg(),a=Qy(),u=function(){};process.env.NODE_ENV!=="production"&&(u=function(m){var h="Warning: "+m;typeof console<"u"&&console.error(h);try{throw new Error(h)}catch{}});function p(){return null}return pd=function(m,h){var v=typeof Symbol=="function"&&Symbol.iterator,C="@@iterator";function x(Y){var K=Y&&(v&&Y[v]||Y[C]);if(typeof K=="function")return K}var F="<<anonymous>>",I={array:O("array"),bigint:O("bigint"),bool:O("boolean"),func:O("function"),number:O("number"),object:O("object"),string:O("string"),symbol:O("symbol"),any:U(),arrayOf:j,element:V(),elementType:$(),instanceOf:J,node:ye(),objectOf:ne,oneOf:ae,oneOfType:le,shape:Fe,exact:$e};function L(Y,K){return Y===K?Y!==0||1/Y===1/K:Y!==Y&&K!==K}function D(Y,K){this.message=Y,this.data=K&&typeof K=="object"?K:{},this.stack=""}D.prototype=Error.prototype;function T(Y){if(process.env.NODE_ENV!=="production")var K={},fe=0;function te(me,ce,ue,Ee,Se,Pe,Be){if(Ee=Ee||F,Pe=Pe||ue,Be!==r){if(h){var se=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw se.name="Invariant Violation",se}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var We=Ee+":"+ue;!K[We]&&fe<3&&(u("You are manually calling a React.PropTypes validation function for the `"+Pe+"` prop on `"+Ee+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),K[We]=!0,fe++)}}return ce[ue]==null?me?ce[ue]===null?new D("The "+Se+" `"+Pe+"` is marked as required "+("in `"+Ee+"`, but its value is `null`.")):new D("The "+Se+" `"+Pe+"` is marked as required in "+("`"+Ee+"`, but its value is `undefined`.")):null:Y(ce,ue,Ee,Se,Pe)}var he=te.bind(null,!1);return he.isRequired=te.bind(null,!0),he}function O(Y){function K(fe,te,he,me,ce,ue){var Ee=fe[te],Se=Re(Ee);if(Se!==Y){var Pe=Le(Ee);return new D("Invalid "+me+" `"+ce+"` of type "+("`"+Pe+"` supplied to `"+he+"`, expected ")+("`"+Y+"`."),{expectedType:Y})}return null}return T(K)}function U(){return T(p)}function j(Y){function K(fe,te,he,me,ce){if(typeof Y!="function")return new D("Property `"+ce+"` of component `"+he+"` has invalid PropType notation inside arrayOf.");var ue=fe[te];if(!Array.isArray(ue)){var Ee=Re(ue);return new D("Invalid "+me+" `"+ce+"` of type "+("`"+Ee+"` supplied to `"+he+"`, expected an array."))}for(var Se=0;Se<ue.length;Se++){var Pe=Y(ue,Se,he,me,ce+"["+Se+"]",r);if(Pe instanceof Error)return Pe}return null}return T(K)}function V(){function Y(K,fe,te,he,me){var ce=K[fe];if(!m(ce)){var ue=Re(ce);return new D("Invalid "+he+" `"+me+"` of type "+("`"+ue+"` supplied to `"+te+"`, expected a single ReactElement."))}return null}return T(Y)}function $(){function Y(K,fe,te,he,me){var ce=K[fe];if(!e.isValidElementType(ce)){var ue=Re(ce);return new D("Invalid "+he+" `"+me+"` of type "+("`"+ue+"` supplied to `"+te+"`, expected a single ReactElement type."))}return null}return T(Y)}function J(Y){function K(fe,te,he,me,ce){if(!(fe[te]instanceof Y)){var ue=Y.name||F,Ee=ve(fe[te]);return new D("Invalid "+me+" `"+ce+"` of type "+("`"+Ee+"` supplied to `"+he+"`, expected ")+("instance of `"+ue+"`."))}return null}return T(K)}function ae(Y){if(!Array.isArray(Y))return process.env.NODE_ENV!=="production"&&(arguments.length>1?u("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):u("Invalid argument supplied to oneOf, expected an array.")),p;function K(fe,te,he,me,ce){for(var ue=fe[te],Ee=0;Ee<Y.length;Ee++)if(L(ue,Y[Ee]))return null;var Se=JSON.stringify(Y,function(Be,se){var We=Le(se);return We==="symbol"?String(se):se});return new D("Invalid "+me+" `"+ce+"` of value `"+String(ue)+"` "+("supplied to `"+he+"`, expected one of "+Se+"."))}return T(K)}function ne(Y){function K(fe,te,he,me,ce){if(typeof Y!="function")return new D("Property `"+ce+"` of component `"+he+"` has invalid PropType notation inside objectOf.");var ue=fe[te],Ee=Re(ue);if(Ee!=="object")return new D("Invalid "+me+" `"+ce+"` of type "+("`"+Ee+"` supplied to `"+he+"`, expected an object."));for(var Se in ue)if(i(ue,Se)){var Pe=Y(ue,Se,he,me,ce+"."+Se,r);if(Pe instanceof Error)return Pe}return null}return T(K)}function le(Y){if(!Array.isArray(Y))return process.env.NODE_ENV!=="production"&&u("Invalid argument supplied to oneOfType, expected an instance of array."),p;for(var K=0;K<Y.length;K++){var fe=Y[K];if(typeof fe!="function")return u("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Z(fe)+" at index "+K+"."),p}function te(he,me,ce,ue,Ee){for(var Se=[],Pe=0;Pe<Y.length;Pe++){var Be=Y[Pe],se=Be(he,me,ce,ue,Ee,r);if(se==null)return null;se.data&&i(se.data,"expectedType")&&Se.push(se.data.expectedType)}var We=Se.length>0?", expected one of type ["+Se.join(", ")+"]":"";return new D("Invalid "+ue+" `"+Ee+"` supplied to "+("`"+ce+"`"+We+"."))}return T(te)}function ye(){function Y(K,fe,te,he,me){return ze(K[fe])?null:new D("Invalid "+he+" `"+me+"` supplied to "+("`"+te+"`, expected a ReactNode."))}return T(Y)}function De(Y,K,fe,te,he){return new D((Y||"React class")+": "+K+" type `"+fe+"."+te+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+he+"`.")}function Fe(Y){function K(fe,te,he,me,ce){var ue=fe[te],Ee=Re(ue);if(Ee!=="object")return new D("Invalid "+me+" `"+ce+"` of type `"+Ee+"` "+("supplied to `"+he+"`, expected `object`."));for(var Se in Y){var Pe=Y[Se];if(typeof Pe!="function")return De(he,me,ce,Se,Le(Pe));var Be=Pe(ue,Se,he,me,ce+"."+Se,r);if(Be)return Be}return null}return T(K)}function $e(Y){function K(fe,te,he,me,ce){var ue=fe[te],Ee=Re(ue);if(Ee!=="object")return new D("Invalid "+me+" `"+ce+"` of type `"+Ee+"` "+("supplied to `"+he+"`, expected `object`."));var Se=t({},fe[te],Y);for(var Pe in Se){var Be=Y[Pe];if(i(Y,Pe)&&typeof Be!="function")return De(he,me,ce,Pe,Le(Be));if(!Be)return new D("Invalid "+me+" `"+ce+"` key `"+Pe+"` supplied to `"+he+"`.\nBad object: "+JSON.stringify(fe[te],null," ")+`
|
|
124
|
+
Valid keys: `+JSON.stringify(Object.keys(Y),null," "));var se=Be(ue,Pe,he,me,ce+"."+Pe,r);if(se)return se}return null}return T(K)}function ze(Y){switch(typeof Y){case"number":case"string":case"undefined":return!0;case"boolean":return!Y;case"object":if(Array.isArray(Y))return Y.every(ze);if(Y===null||m(Y))return!0;var K=x(Y);if(K){var fe=K.call(Y),te;if(K!==Y.entries){for(;!(te=fe.next()).done;)if(!ze(te.value))return!1}else for(;!(te=fe.next()).done;){var he=te.value;if(he&&!ze(he[1]))return!1}}else return!1;return!0;default:return!1}}function xe(Y,K){return Y==="symbol"?!0:K?K["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&K instanceof Symbol:!1}function Re(Y){var K=typeof Y;return Array.isArray(Y)?"array":Y instanceof RegExp?"object":xe(K,Y)?"symbol":K}function Le(Y){if(typeof Y>"u"||Y===null)return""+Y;var K=Re(Y);if(K==="object"){if(Y instanceof Date)return"date";if(Y instanceof RegExp)return"regexp"}return K}function Z(Y){var K=Le(Y);switch(K){case"array":case"object":return"an "+K;case"boolean":case"date":case"regexp":return"a "+K;default:return K}}function ve(Y){return!Y.constructor||!Y.constructor.name?F:Y.constructor.name}return I.checkPropTypes=a,I.resetWarningCache=a.resetWarningCache,I.PropTypes=I,I},pd}var hd,kh;function Ky(){if(kh)return hd;kh=1;var e=Dp();function t(){}function r(){}return r.resetWarningCache=t,hd=function(){function i(p,m,h,v,C,x){if(x!==e){var F=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw F.name="Invariant Violation",F}}i.isRequired=i;function a(){return i}var u={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:a,element:i,elementType:i,instanceOf:a,node:i,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:r,resetWarningCache:t};return u.PropTypes=u,u},hd}var Eh;function Jy(){if(Eh)return mu.exports;if(Eh=1,process.env.NODE_ENV!=="production"){var e=ng(),t=!0;mu.exports=qy()(e.isElement,t)}else mu.exports=Ky()();return mu.exports}var Zy=Jy();const _e=Ny(Zy);var eb=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function og(e,t){return e(t={exports:{}},t.exports),t.exports}var tb=og(function(e){(function(t){var r=function(T,O,U){if(!h(O)||C(O)||x(O)||F(O)||m(O))return O;var j,V=0,$=0;if(v(O))for(j=[],$=O.length;V<$;V++)j.push(r(T,O[V],U));else for(var J in j={},O)Object.prototype.hasOwnProperty.call(O,J)&&(j[T(J,U)]=r(T,O[J],U));return j},i=function(T){return I(T)?T:(T=T.replace(/[\-_\s]+(.)?/g,function(O,U){return U?U.toUpperCase():""})).substr(0,1).toLowerCase()+T.substr(1)},a=function(T){var O=i(T);return O.substr(0,1).toUpperCase()+O.substr(1)},u=function(T,O){return function(U,j){var V=(j=j||{}).separator||"_",$=j.split||/(?=[A-Z])/;return U.split($).join(V)}(T,O).toLowerCase()},p=Object.prototype.toString,m=function(T){return typeof T=="function"},h=function(T){return T===Object(T)},v=function(T){return p.call(T)=="[object Array]"},C=function(T){return p.call(T)=="[object Date]"},x=function(T){return p.call(T)=="[object RegExp]"},F=function(T){return p.call(T)=="[object Boolean]"},I=function(T){return(T-=0)==T},L=function(T,O){var U=O&&"process"in O?O.process:O;return typeof U!="function"?T:function(j,V){return U(j,T,V)}},D={camelize:i,decamelize:u,pascalize:a,depascalize:u,camelizeKeys:function(T,O){return r(L(i,O),T)},decamelizeKeys:function(T,O){return r(L(u,O),T,O)},pascalizeKeys:function(T,O){return r(L(a,O),T)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=D:t.humps=D})(eb)}).decamelize,nb=function(e){if(Array.isArray(e))return e},rb=function(e,t){if(typeof Symbol<"u"&&Symbol.iterator in Object(e)){var r=[],i=!0,a=!1,u=void 0;try{for(var p,m=e[Symbol.iterator]();!(i=(p=m.next()).done)&&(r.push(p.value),!t||r.length!==t);i=!0);}catch(h){a=!0,u=h}finally{try{i||m.return==null||m.return()}finally{if(a)throw u}}return r}},Ch=function(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i},ob=function(e,t){if(e){if(typeof e=="string")return Ch(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ch(e,t):void 0}},ib=function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
125
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},ab=function(e,t){return nb(e)||rb(e,t)||ob(e,t)||ib()},ig=og(function(e){function t(){return e.exports=t=Object.assign||function(r){for(var i=1;i<arguments.length;i++){var a=arguments[i];for(var u in a)Object.prototype.hasOwnProperty.call(a,u)&&(r[u]=a[u])}return r},t.apply(this,arguments)}e.exports=t}),sb=function(e,t){if(e==null)return{};var r,i,a={},u=Object.keys(e);for(i=0;i<u.length;i++)r=u[i],t.indexOf(r)>=0||(a[r]=e[r]);return a},ag=function(e,t){if(e==null)return{};var r,i,a=sb(e,t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(i=0;i<u.length;i++)r=u[i],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a},lb=A.createContext(null);function sg(e){var t=e.children,r=t===void 0?"":t,i=ag(e,["children"]);return typeof r!="string"&&(r=Vy.renderToString(r)),A.createElement("template",ig({},i,{dangerouslySetInnerHTML:{__html:r}}))}function lg(e){var t=e.root,r=e.children;return Uu.createPortal(r===void 0?null:r,t)}function cb(e){var t=A.forwardRef(function(r,i){var a,u,p=r.mode,m=p===void 0?"open":p,h=r.delegatesFocus,v=h!==void 0&&h,C=r.styleSheets,x=C===void 0?[]:C,F=r.ssr,I=F!==void 0&&F,L=r.children,D=ag(r,["mode","delegatesFocus","styleSheets","ssr","children"]),T=(u=A.useRef((a=i)&&a.current),A.useEffect(function(){a&&(a.current=u.current)},[a]),u),O=A.useState(null),U=ab(O,2),j=U[0],V=U[1],$="node_".concat(m).concat(v);return A.useLayoutEffect(function(){if(T.current)try{if(typeof i=="function"&&i(T.current),I){var J=T.current.shadowRoot;return void V(J)}var ae=T.current.attachShadow({mode:m,delegatesFocus:v});x.length>0&&(ae.adoptedStyleSheets=x),V(ae)}catch(ne){(function(le){var ye=le.error,De=le.styleSheets,Fe=le.root;switch(ye.name){case"NotSupportedError":De.length>0&&(Fe.adoptedStyleSheets=De);break;default:throw ye}})({error:ne,styleSheets:x,root:j})}},[i,T,x]),A.createElement(A.Fragment,null,A.createElement(e.tag,ig({key:$,ref:T},D),(j||I)&&A.createElement(lb.Provider,{value:j},I?A.createElement(sg,{shadowroot:m,shadowrootmode:m},e.render({root:j,ssr:I,children:L})):A.createElement(lg,{root:j},e.render({root:j,ssr:I,children:L})))))});return t.propTypes={mode:_e.oneOf(["open","closed"]),delegatesFocus:_e.bool,styleSheets:_e.arrayOf(_e.instanceOf(globalThis.CSSStyleSheet)),ssr:_e.bool,children:_e.node},t}sg.propTypes={children:_e.oneOfType([_e.string,_e.node])},lg.propTypes={root:_e.object.isRequired,children:_e.node};var md=new Map;function ub(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"core",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(i){return i.children};return new Proxy(e,{get:function(i,a){var u=tb(a,{separator:"-"}),p="".concat(t,"-").concat(u);return md.has(p)||md.set(p,cb({tag:u,render:r})),md.get(p)}})}var fb=ub(),qs=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Sa=typeof window>"u"||"Deno"in globalThis;function Zt(){}function db(e,t){return typeof e=="function"?e(t):e}function jd(e){return typeof e=="number"&&e>=0&&e!==1/0}function cg(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Is(e,t){return typeof e=="function"?e(t):e}function or(e,t){return typeof e=="function"?e(t):e}function Th(e,t){const{type:r="all",exact:i,fetchStatus:a,predicate:u,queryKey:p,stale:m}=e;if(p){if(i){if(t.queryHash!==_p(p,t.options))return!1}else if(!sc(t.queryKey,p))return!1}if(r!=="all"){const h=t.isActive();if(r==="active"&&!h||r==="inactive"&&h)return!1}return!(typeof m=="boolean"&&t.isStale()!==m||a&&a!==t.state.fetchStatus||u&&!u(t))}function Rh(e,t){const{exact:r,status:i,predicate:a,mutationKey:u}=e;if(u){if(!t.options.mutationKey)return!1;if(r){if(ka(t.options.mutationKey)!==ka(u))return!1}else if(!sc(t.options.mutationKey,u))return!1}return!(i&&t.state.status!==i||a&&!a(t))}function _p(e,t){return((t==null?void 0:t.queryKeyHashFn)||ka)(e)}function ka(e){return JSON.stringify(e,(t,r)=>zd(r)?Object.keys(r).sort().reduce((i,a)=>(i[a]=r[a],i),{}):r)}function sc(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(r=>sc(e[r],t[r])):!1}function Nd(e,t){if(e===t)return e;const r=Ph(e)&&Ph(t);if(r||zd(e)&&zd(t)){const i=r?e:Object.keys(e),a=i.length,u=r?t:Object.keys(t),p=u.length,m=r?[]:{};let h=0;for(let v=0;v<p;v++){const C=r?v:u[v];(!r&&i.includes(C)||r)&&e[C]===void 0&&t[C]===void 0?(m[C]=void 0,h++):(m[C]=Nd(e[C],t[C]),m[C]===e[C]&&e[C]!==void 0&&h++)}return a===p&&h===a?e:m}return t}function Au(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}function Ph(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function zd(e){if(!Ah(e))return!1;const t=e.constructor;if(t===void 0)return!0;const r=t.prototype;return!(!Ah(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Ah(e){return Object.prototype.toString.call(e)==="[object Object]"}function pb(e){return new Promise(t=>{setTimeout(t,e)})}function Bd(e,t,r){if(typeof r.structuralSharing=="function")return r.structuralSharing(e,t);if(r.structuralSharing!==!1){if(process.env.NODE_ENV!=="production")try{return Nd(e,t)}catch(i){throw console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${r.queryHash}]: ${i}`),i}return Nd(e,t)}return t}function hb(e,t,r=0){const i=[...e,t];return r&&i.length>r?i.slice(1):i}function mb(e,t,r=0){const i=[t,...e];return r&&i.length>r?i.slice(0,-1):i}var Ou=Symbol();function ug(e,t){return process.env.NODE_ENV!=="production"&&e.queryFn===Ou&&console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`),!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Ou?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function fg(e,t){return typeof e=="function"?e(...t):!!e}var pa,ii,Ls,Vm,gb=(Vm=class extends qs{constructor(){super();Ie(this,pa);Ie(this,ii);Ie(this,Ls);ge(this,Ls,t=>{if(!Sa&&window.addEventListener){const r=()=>t();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}})}onSubscribe(){_(this,ii)||this.setEventListener(_(this,Ls))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,ii))==null||t.call(this),ge(this,ii,void 0))}setEventListener(t){var r;ge(this,Ls,t),(r=_(this,ii))==null||r.call(this),ge(this,ii,t(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(t){_(this,pa)!==t&&(ge(this,pa,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(r=>{r(t)})}isFocused(){var t;return typeof _(this,pa)=="boolean"?_(this,pa):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},pa=new WeakMap,ii=new WeakMap,Ls=new WeakMap,Vm),Lp=new gb,$s,ai,js,Gm,vb=(Gm=class extends qs{constructor(){super();Ie(this,$s,!0);Ie(this,ai);Ie(this,js);ge(this,js,t=>{if(!Sa&&window.addEventListener){const r=()=>t(!0),i=()=>t(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",i)}}})}onSubscribe(){_(this,ai)||this.setEventListener(_(this,js))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,ai))==null||t.call(this),ge(this,ai,void 0))}setEventListener(t){var r;ge(this,js,t),(r=_(this,ai))==null||r.call(this),ge(this,ai,t(this.setOnline.bind(this)))}setOnline(t){_(this,$s)!==t&&(ge(this,$s,t),this.listeners.forEach(i=>{i(t)}))}isOnline(){return _(this,$s)}},$s=new WeakMap,ai=new WeakMap,js=new WeakMap,Gm),Iu=new vb;function Ud(){let e,t;const r=new Promise((a,u)=>{e=a,t=u});r.status="pending",r.catch(()=>{});function i(a){Object.assign(r,a),delete r.resolve,delete r.reject}return r.resolve=a=>{i({status:"fulfilled",value:a}),e(a)},r.reject=a=>{i({status:"rejected",reason:a}),t(a)},r}function yb(e){return Math.min(1e3*2**e,3e4)}function dg(e){return(e??"online")==="online"?Iu.isOnline():!0}var pg=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function gd(e){return e instanceof pg}function hg(e){let t=!1,r=0,i=!1,a;const u=Ud(),p=D=>{var T;i||(F(new pg(D)),(T=e.abort)==null||T.call(e))},m=()=>{t=!0},h=()=>{t=!1},v=()=>Lp.isFocused()&&(e.networkMode==="always"||Iu.isOnline())&&e.canRun(),C=()=>dg(e.networkMode)&&e.canRun(),x=D=>{var T;i||(i=!0,(T=e.onSuccess)==null||T.call(e,D),a==null||a(),u.resolve(D))},F=D=>{var T;i||(i=!0,(T=e.onError)==null||T.call(e,D),a==null||a(),u.reject(D))},I=()=>new Promise(D=>{var T;a=O=>{(i||v())&&D(O)},(T=e.onPause)==null||T.call(e)}).then(()=>{var D;a=void 0,i||(D=e.onContinue)==null||D.call(e)}),L=()=>{if(i)return;let D;const T=r===0?e.initialPromise:void 0;try{D=T??e.fn()}catch(O){D=Promise.reject(O)}Promise.resolve(D).then(x).catch(O=>{var J;if(i)return;const U=e.retry??(Sa?0:3),j=e.retryDelay??yb,V=typeof j=="function"?j(r,O):j,$=U===!0||typeof U=="number"&&r<U||typeof U=="function"&&U(r,O);if(t||!$){F(O);return}r++,(J=e.onFail)==null||J.call(e,r,O),pb(V).then(()=>v()?void 0:I()).then(()=>{t?F(O):L()})})};return{promise:u,cancel:p,continue:()=>(a==null||a(),u),cancelRetry:m,continueRetry:h,canStart:C,start:()=>(C()?L():I().then(L),u)}}var bb=e=>setTimeout(e,0);function wb(){let e=[],t=0,r=m=>{m()},i=m=>{m()},a=bb;const u=m=>{t?e.push(m):a(()=>{r(m)})},p=()=>{const m=e;e=[],m.length&&a(()=>{i(()=>{m.forEach(h=>{r(h)})})})};return{batch:m=>{let h;t++;try{h=m()}finally{t--,t||p()}return h},batchCalls:m=>(...h)=>{u(()=>{m(...h)})},schedule:u,setNotifyFunction:m=>{r=m},setBatchNotifyFunction:m=>{i=m},setScheduler:m=>{a=m}}}var bt=wb(),ha,Ym,mg=(Ym=class{constructor(){Ie(this,ha)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),jd(this.gcTime)&&ge(this,ha,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Sa?1/0:5*60*1e3))}clearGcTimeout(){_(this,ha)&&(clearTimeout(_(this,ha)),ge(this,ha,void 0))}},ha=new WeakMap,Ym),Ns,zs,Nn,ma,$t,hc,ga,nr,oo,Xm,xb=(Xm=class extends mg{constructor(t){super();Ie(this,nr);Ie(this,Ns);Ie(this,zs);Ie(this,Nn);Ie(this,ma);Ie(this,$t);Ie(this,hc);Ie(this,ga);ge(this,ga,!1),ge(this,hc,t.defaultOptions),this.setOptions(t.options),this.observers=[],ge(this,ma,t.client),ge(this,Nn,_(this,ma).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,ge(this,Ns,Sb(this.options)),this.state=t.state??_(this,Ns),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=_(this,$t))==null?void 0:t.promise}setOptions(t){this.options={..._(this,hc),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&_(this,Nn).remove(this)}setData(t,r){const i=Bd(this.state.data,t,this.options);return Ue(this,nr,oo).call(this,{data:i,type:"success",dataUpdatedAt:r==null?void 0:r.updatedAt,manual:r==null?void 0:r.manual}),i}setState(t,r){Ue(this,nr,oo).call(this,{type:"setState",state:t,setStateOptions:r})}cancel(t){var i,a;const r=(i=_(this,$t))==null?void 0:i.promise;return(a=_(this,$t))==null||a.cancel(t),r?r.then(Zt).catch(Zt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(_(this,Ns))}isActive(){return this.observers.some(t=>or(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Ou||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!cg(this.state.dataUpdatedAt,t)}onFocus(){var r;const t=this.observers.find(i=>i.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(r=_(this,$t))==null||r.continue()}onOnline(){var r;const t=this.observers.find(i=>i.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(r=_(this,$t))==null||r.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),_(this,Nn).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(r=>r!==t),this.observers.length||(_(this,$t)&&(_(this,ga)?_(this,$t).cancel({revert:!0}):_(this,$t).cancelRetry()),this.scheduleGc()),_(this,Nn).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ue(this,nr,oo).call(this,{type:"invalidate"})}fetch(t,r){var h,v,C;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(r!=null&&r.cancelRefetch))this.cancel({silent:!0});else if(_(this,$t))return _(this,$t).continueRetry(),_(this,$t).promise}if(t&&this.setOptions(t),!this.options.queryFn){const x=this.observers.find(F=>F.options.queryFn);x&&this.setOptions(x.options)}process.env.NODE_ENV!=="production"&&(Array.isArray(this.options.queryKey)||console.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']"));const i=new AbortController,a=x=>{Object.defineProperty(x,"signal",{enumerable:!0,get:()=>(ge(this,ga,!0),i.signal)})},u=()=>{const x=ug(this.options,r),F={client:_(this,ma),queryKey:this.queryKey,meta:this.meta};return a(F),ge(this,ga,!1),this.options.persister?this.options.persister(x,F,this):x(F)},p={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:_(this,ma),state:this.state,fetchFn:u};a(p),(h=this.options.behavior)==null||h.onFetch(p,this),ge(this,zs,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((v=p.fetchOptions)==null?void 0:v.meta))&&Ue(this,nr,oo).call(this,{type:"fetch",meta:(C=p.fetchOptions)==null?void 0:C.meta});const m=x=>{var F,I,L,D;gd(x)&&x.silent||Ue(this,nr,oo).call(this,{type:"error",error:x}),gd(x)||((I=(F=_(this,Nn).config).onError)==null||I.call(F,x,this),(D=(L=_(this,Nn).config).onSettled)==null||D.call(L,this.state.data,x,this)),this.scheduleGc()};return ge(this,$t,hg({initialPromise:r==null?void 0:r.initialPromise,fn:p.fetchFn,abort:i.abort.bind(i),onSuccess:x=>{var F,I,L,D;if(x===void 0){process.env.NODE_ENV!=="production"&&console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`),m(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(x)}catch(T){m(T);return}(I=(F=_(this,Nn).config).onSuccess)==null||I.call(F,x,this),(D=(L=_(this,Nn).config).onSettled)==null||D.call(L,x,this.state.error,this),this.scheduleGc()},onError:m,onFail:(x,F)=>{Ue(this,nr,oo).call(this,{type:"failed",failureCount:x,error:F})},onPause:()=>{Ue(this,nr,oo).call(this,{type:"pause"})},onContinue:()=>{Ue(this,nr,oo).call(this,{type:"continue"})},retry:p.options.retry,retryDelay:p.options.retryDelay,networkMode:p.options.networkMode,canRun:()=>!0})),_(this,$t).start()}},Ns=new WeakMap,zs=new WeakMap,Nn=new WeakMap,ma=new WeakMap,$t=new WeakMap,hc=new WeakMap,ga=new WeakMap,nr=new WeakSet,oo=function(t){const r=i=>{switch(t.type){case"failed":return{...i,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...gg(i.data,this.options),fetchMeta:t.meta??null};case"success":return{...i,data:t.data,dataUpdateCount:i.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const a=t.error;return gd(a)&&a.revert&&_(this,zs)?{..._(this,zs),fetchStatus:"idle"}:{...i,error:a,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...t.state}}};this.state=r(this.state),bt.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),_(this,Nn).notify({query:this,type:"updated",action:t})})},Xm);function gg(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:dg(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Sb(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=t!==void 0,i=r?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var Cr,Qm,kb=(Qm=class extends qs{constructor(t={}){super();Ie(this,Cr);this.config=t,ge(this,Cr,new Map)}build(t,r,i){const a=r.queryKey,u=r.queryHash??_p(a,r);let p=this.get(u);return p||(p=new xb({client:t,queryKey:a,queryHash:u,options:t.defaultQueryOptions(r),state:i,defaultOptions:t.getQueryDefaults(a)}),this.add(p)),p}add(t){_(this,Cr).has(t.queryHash)||(_(this,Cr).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const r=_(this,Cr).get(t.queryHash);r&&(t.destroy(),r===t&&_(this,Cr).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){bt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return _(this,Cr).get(t)}getAll(){return[..._(this,Cr).values()]}find(t){const r={exact:!0,...t};return this.getAll().find(i=>Th(r,i))}findAll(t={}){const r=this.getAll();return Object.keys(t).length>0?r.filter(i=>Th(t,i)):r}notify(t){bt.batch(()=>{this.listeners.forEach(r=>{r(t)})})}onFocus(){bt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){bt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Cr=new WeakMap,Qm),Tr,Kt,va,Rr,ri,qm,Eb=(qm=class extends mg{constructor(t){super();Ie(this,Rr);Ie(this,Tr);Ie(this,Kt);Ie(this,va);this.mutationId=t.mutationId,ge(this,Kt,t.mutationCache),ge(this,Tr,[]),this.state=t.state||vg(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){_(this,Tr).includes(t)||(_(this,Tr).push(t),this.clearGcTimeout(),_(this,Kt).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){ge(this,Tr,_(this,Tr).filter(r=>r!==t)),this.scheduleGc(),_(this,Kt).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){_(this,Tr).length||(this.state.status==="pending"?this.scheduleGc():_(this,Kt).remove(this))}continue(){var t;return((t=_(this,va))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var u,p,m,h,v,C,x,F,I,L,D,T,O,U,j,V,$,J,ae,ne;const r=()=>{Ue(this,Rr,ri).call(this,{type:"continue"})};ge(this,va,hg({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(le,ye)=>{Ue(this,Rr,ri).call(this,{type:"failed",failureCount:le,error:ye})},onPause:()=>{Ue(this,Rr,ri).call(this,{type:"pause"})},onContinue:r,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>_(this,Kt).canRun(this)}));const i=this.state.status==="pending",a=!_(this,va).canStart();try{if(i)r();else{Ue(this,Rr,ri).call(this,{type:"pending",variables:t,isPaused:a}),await((p=(u=_(this,Kt).config).onMutate)==null?void 0:p.call(u,t,this));const ye=await((h=(m=this.options).onMutate)==null?void 0:h.call(m,t));ye!==this.state.context&&Ue(this,Rr,ri).call(this,{type:"pending",context:ye,variables:t,isPaused:a})}const le=await _(this,va).start();return await((C=(v=_(this,Kt).config).onSuccess)==null?void 0:C.call(v,le,t,this.state.context,this)),await((F=(x=this.options).onSuccess)==null?void 0:F.call(x,le,t,this.state.context)),await((L=(I=_(this,Kt).config).onSettled)==null?void 0:L.call(I,le,null,this.state.variables,this.state.context,this)),await((T=(D=this.options).onSettled)==null?void 0:T.call(D,le,null,t,this.state.context)),Ue(this,Rr,ri).call(this,{type:"success",data:le}),le}catch(le){try{throw await((U=(O=_(this,Kt).config).onError)==null?void 0:U.call(O,le,t,this.state.context,this)),await((V=(j=this.options).onError)==null?void 0:V.call(j,le,t,this.state.context)),await((J=($=_(this,Kt).config).onSettled)==null?void 0:J.call($,void 0,le,this.state.variables,this.state.context,this)),await((ne=(ae=this.options).onSettled)==null?void 0:ne.call(ae,void 0,le,t,this.state.context)),le}finally{Ue(this,Rr,ri).call(this,{type:"error",error:le})}}finally{_(this,Kt).runNext(this)}}},Tr=new WeakMap,Kt=new WeakMap,va=new WeakMap,Rr=new WeakSet,ri=function(t){const r=i=>{switch(t.type){case"failed":return{...i,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"pending":return{...i,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...i,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:t.error,failureCount:i.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=r(this.state),bt.batch(()=>{_(this,Tr).forEach(i=>{i.onMutationUpdate(t)}),_(this,Kt).notify({mutation:this,type:"updated",action:t})})},qm);function vg(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var io,rr,mc,Km,Cb=(Km=class extends qs{constructor(t={}){super();Ie(this,io);Ie(this,rr);Ie(this,mc);this.config=t,ge(this,io,new Set),ge(this,rr,new Map),ge(this,mc,0)}build(t,r,i){const a=new Eb({mutationCache:this,mutationId:++du(this,mc)._,options:t.defaultMutationOptions(r),state:i});return this.add(a),a}add(t){_(this,io).add(t);const r=vu(t);if(typeof r=="string"){const i=_(this,rr).get(r);i?i.push(t):_(this,rr).set(r,[t])}this.notify({type:"added",mutation:t})}remove(t){if(_(this,io).delete(t)){const r=vu(t);if(typeof r=="string"){const i=_(this,rr).get(r);if(i)if(i.length>1){const a=i.indexOf(t);a!==-1&&i.splice(a,1)}else i[0]===t&&_(this,rr).delete(r)}}this.notify({type:"removed",mutation:t})}canRun(t){const r=vu(t);if(typeof r=="string"){const i=_(this,rr).get(r),a=i==null?void 0:i.find(u=>u.state.status==="pending");return!a||a===t}else return!0}runNext(t){var i;const r=vu(t);if(typeof r=="string"){const a=(i=_(this,rr).get(r))==null?void 0:i.find(u=>u!==t&&u.state.isPaused);return(a==null?void 0:a.continue())??Promise.resolve()}else return Promise.resolve()}clear(){bt.batch(()=>{_(this,io).forEach(t=>{this.notify({type:"removed",mutation:t})}),_(this,io).clear(),_(this,rr).clear()})}getAll(){return Array.from(_(this,io))}find(t){const r={exact:!0,...t};return this.getAll().find(i=>Rh(r,i))}findAll(t={}){return this.getAll().filter(r=>Rh(t,r))}notify(t){bt.batch(()=>{this.listeners.forEach(r=>{r(t)})})}resumePausedMutations(){const t=this.getAll().filter(r=>r.state.isPaused);return bt.batch(()=>Promise.all(t.map(r=>r.continue().catch(Zt))))}},io=new WeakMap,rr=new WeakMap,mc=new WeakMap,Km);function vu(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Oh(e){return{onFetch:(t,r)=>{var C,x,F,I,L;const i=t.options,a=(F=(x=(C=t.fetchOptions)==null?void 0:C.meta)==null?void 0:x.fetchMore)==null?void 0:F.direction,u=((I=t.state.data)==null?void 0:I.pages)||[],p=((L=t.state.data)==null?void 0:L.pageParams)||[];let m={pages:[],pageParams:[]},h=0;const v=async()=>{let D=!1;const T=j=>{Object.defineProperty(j,"signal",{enumerable:!0,get:()=>(t.signal.aborted?D=!0:t.signal.addEventListener("abort",()=>{D=!0}),t.signal)})},O=ug(t.options,t.fetchOptions),U=async(j,V,$)=>{if(D)return Promise.reject();if(V==null&&j.pages.length)return Promise.resolve(j);const J={client:t.client,queryKey:t.queryKey,pageParam:V,direction:$?"backward":"forward",meta:t.options.meta};T(J);const ae=await O(J),{maxPages:ne}=t.options,le=$?mb:hb;return{pages:le(j.pages,ae,ne),pageParams:le(j.pageParams,V,ne)}};if(a&&u.length){const j=a==="backward",V=j?Tb:Ih,$={pages:u,pageParams:p},J=V(i,$);m=await U($,J,j)}else{const j=e??u.length;do{const V=h===0?p[0]??i.initialPageParam:Ih(i,m);if(h>0&&V==null)break;m=await U(m,V),h++}while(h<j)}return m};t.options.persister?t.fetchFn=()=>{var D,T;return(T=(D=t.options).persister)==null?void 0:T.call(D,v,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r)}:t.fetchFn=v}}}function Ih(e,{pages:t,pageParams:r}){const i=t.length-1;return t.length>0?e.getNextPageParam(t[i],t,r[i],r):void 0}function Tb(e,{pages:t,pageParams:r}){var i;return t.length>0?(i=e.getPreviousPageParam)==null?void 0:i.call(e,t[0],t,r[0],r):void 0}var pt,si,li,Bs,Us,ci,Hs,Ws,Jm,Rb=(Jm=class{constructor(e={}){Ie(this,pt);Ie(this,si);Ie(this,li);Ie(this,Bs);Ie(this,Us);Ie(this,ci);Ie(this,Hs);Ie(this,Ws);ge(this,pt,e.queryCache||new kb),ge(this,si,e.mutationCache||new Cb),ge(this,li,e.defaultOptions||{}),ge(this,Bs,new Map),ge(this,Us,new Map),ge(this,ci,0)}mount(){du(this,ci)._++,_(this,ci)===1&&(ge(this,Hs,Lp.subscribe(async e=>{e&&(await this.resumePausedMutations(),_(this,pt).onFocus())})),ge(this,Ws,Iu.subscribe(async e=>{e&&(await this.resumePausedMutations(),_(this,pt).onOnline())})))}unmount(){var e,t;du(this,ci)._--,_(this,ci)===0&&((e=_(this,Hs))==null||e.call(this),ge(this,Hs,void 0),(t=_(this,Ws))==null||t.call(this),ge(this,Ws,void 0))}isFetching(e){return _(this,pt).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return _(this,si).findAll({...e,status:"pending"}).length}getQueryData(e){var r;const t=this.defaultQueryOptions({queryKey:e});return(r=_(this,pt).get(t.queryHash))==null?void 0:r.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),r=_(this,pt).build(this,t),i=r.state.data;return i===void 0?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime(Is(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(i))}getQueriesData(e){return _(this,pt).findAll(e).map(({queryKey:t,state:r})=>{const i=r.data;return[t,i]})}setQueryData(e,t,r){const i=this.defaultQueryOptions({queryKey:e}),a=_(this,pt).get(i.queryHash),u=a==null?void 0:a.state.data,p=db(t,u);if(p!==void 0)return _(this,pt).build(this,i).setData(p,{...r,manual:!0})}setQueriesData(e,t,r){return bt.batch(()=>_(this,pt).findAll(e).map(({queryKey:i})=>[i,this.setQueryData(i,t,r)]))}getQueryState(e){var r;const t=this.defaultQueryOptions({queryKey:e});return(r=_(this,pt).get(t.queryHash))==null?void 0:r.state}removeQueries(e){const t=_(this,pt);bt.batch(()=>{t.findAll(e).forEach(r=>{t.remove(r)})})}resetQueries(e,t){const r=_(this,pt);return bt.batch(()=>(r.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const r={revert:!0,...t},i=bt.batch(()=>_(this,pt).findAll(e).map(a=>a.cancel(r)));return Promise.all(i).then(Zt).catch(Zt)}invalidateQueries(e,t={}){return bt.batch(()=>(_(this,pt).findAll(e).forEach(r=>{r.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const r={...t,cancelRefetch:t.cancelRefetch??!0},i=bt.batch(()=>_(this,pt).findAll(e).filter(a=>!a.isDisabled()).map(a=>{let u=a.fetch(void 0,r);return r.throwOnError||(u=u.catch(Zt)),a.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(i).then(Zt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const r=_(this,pt).build(this,t);return r.isStaleByTime(Is(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Zt).catch(Zt)}fetchInfiniteQuery(e){return e.behavior=Oh(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Zt).catch(Zt)}ensureInfiniteQueryData(e){return e.behavior=Oh(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Iu.isOnline()?_(this,si).resumePausedMutations():Promise.resolve()}getQueryCache(){return _(this,pt)}getMutationCache(){return _(this,si)}getDefaultOptions(){return _(this,li)}setDefaultOptions(e){ge(this,li,e)}setQueryDefaults(e,t){_(this,Bs).set(ka(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[..._(this,Bs).values()],r={};return t.forEach(i=>{sc(e,i.queryKey)&&Object.assign(r,i.defaultOptions)}),r}setMutationDefaults(e,t){_(this,Us).set(ka(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[..._(this,Us).values()],r={};return t.forEach(i=>{sc(e,i.mutationKey)&&Object.assign(r,i.defaultOptions)}),r}defaultQueryOptions(e){if(e._defaulted)return e;const t={..._(this,li).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=_p(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Ou&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{..._(this,li).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){_(this,pt).clear(),_(this,si).clear()}},pt=new WeakMap,si=new WeakMap,li=new WeakMap,Bs=new WeakMap,Us=new WeakMap,ci=new WeakMap,Hs=new WeakMap,Ws=new WeakMap,Jm),pn,Ye,gc,Jt,ya,Vs,ui,fi,vc,Gs,Ys,ba,wa,di,Xs,Ze,Ql,Hd,Wd,Vd,Gd,Yd,Xd,Qd,yg,Zm,Pb=(Zm=class extends qs{constructor(t,r){super();Ie(this,Ze);Ie(this,pn);Ie(this,Ye);Ie(this,gc);Ie(this,Jt);Ie(this,ya);Ie(this,Vs);Ie(this,ui);Ie(this,fi);Ie(this,vc);Ie(this,Gs);Ie(this,Ys);Ie(this,ba);Ie(this,wa);Ie(this,di);Ie(this,Xs,new Set);this.options=r,ge(this,pn,t),ge(this,fi,null),ge(this,ui,Ud()),this.options.experimental_prefetchInRender||_(this,ui).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(r)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(_(this,Ye).addObserver(this),Fh(_(this,Ye),this.options)?Ue(this,Ze,Ql).call(this):this.updateResult(),Ue(this,Ze,Gd).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return qd(_(this,Ye),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return qd(_(this,Ye),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Ue(this,Ze,Yd).call(this),Ue(this,Ze,Xd).call(this),_(this,Ye).removeObserver(this)}setOptions(t){const r=this.options,i=_(this,Ye);if(this.options=_(this,pn).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof or(this.options.enabled,_(this,Ye))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Ue(this,Ze,Qd).call(this),_(this,Ye).setOptions(this.options),r._defaulted&&!Au(this.options,r)&&_(this,pn).getQueryCache().notify({type:"observerOptionsUpdated",query:_(this,Ye),observer:this});const a=this.hasListeners();a&&Mh(_(this,Ye),i,this.options,r)&&Ue(this,Ze,Ql).call(this),this.updateResult(),a&&(_(this,Ye)!==i||or(this.options.enabled,_(this,Ye))!==or(r.enabled,_(this,Ye))||Is(this.options.staleTime,_(this,Ye))!==Is(r.staleTime,_(this,Ye)))&&Ue(this,Ze,Hd).call(this);const u=Ue(this,Ze,Wd).call(this);a&&(_(this,Ye)!==i||or(this.options.enabled,_(this,Ye))!==or(r.enabled,_(this,Ye))||u!==_(this,di))&&Ue(this,Ze,Vd).call(this,u)}getOptimisticResult(t){const r=_(this,pn).getQueryCache().build(_(this,pn),t),i=this.createResult(r,t);return Ob(this,i)&&(ge(this,Jt,i),ge(this,Vs,this.options),ge(this,ya,_(this,Ye).state)),i}getCurrentResult(){return _(this,Jt)}trackResult(t,r){return new Proxy(t,{get:(i,a)=>(this.trackProp(a),r==null||r(a),Reflect.get(i,a))})}trackProp(t){_(this,Xs).add(t)}getCurrentQuery(){return _(this,Ye)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const r=_(this,pn).defaultQueryOptions(t),i=_(this,pn).getQueryCache().build(_(this,pn),r);return i.fetch().then(()=>this.createResult(i,r))}fetch(t){return Ue(this,Ze,Ql).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),_(this,Jt)))}createResult(t,r){var le;const i=_(this,Ye),a=this.options,u=_(this,Jt),p=_(this,ya),m=_(this,Vs),v=t!==i?t.state:_(this,gc),{state:C}=t;let x={...C},F=!1,I;if(r._optimisticResults){const ye=this.hasListeners(),De=!ye&&Fh(t,r),Fe=ye&&Mh(t,i,r,a);(De||Fe)&&(x={...x,...gg(C.data,t.options)}),r._optimisticResults==="isRestoring"&&(x.fetchStatus="idle")}let{error:L,errorUpdatedAt:D,status:T}=x;I=x.data;let O=!1;if(r.placeholderData!==void 0&&I===void 0&&T==="pending"){let ye;u!=null&&u.isPlaceholderData&&r.placeholderData===(m==null?void 0:m.placeholderData)?(ye=u.data,O=!0):ye=typeof r.placeholderData=="function"?r.placeholderData((le=_(this,Ys))==null?void 0:le.state.data,_(this,Ys)):r.placeholderData,ye!==void 0&&(T="success",I=Bd(u==null?void 0:u.data,ye,r),F=!0)}if(r.select&&I!==void 0&&!O)if(u&&I===(p==null?void 0:p.data)&&r.select===_(this,vc))I=_(this,Gs);else try{ge(this,vc,r.select),I=r.select(I),I=Bd(u==null?void 0:u.data,I,r),ge(this,Gs,I),ge(this,fi,null)}catch(ye){ge(this,fi,ye)}_(this,fi)&&(L=_(this,fi),I=_(this,Gs),D=Date.now(),T="error");const U=x.fetchStatus==="fetching",j=T==="pending",V=T==="error",$=j&&U,J=I!==void 0,ne={status:T,fetchStatus:x.fetchStatus,isPending:j,isSuccess:T==="success",isError:V,isInitialLoading:$,isLoading:$,data:I,dataUpdatedAt:x.dataUpdatedAt,error:L,errorUpdatedAt:D,failureCount:x.fetchFailureCount,failureReason:x.fetchFailureReason,errorUpdateCount:x.errorUpdateCount,isFetched:x.dataUpdateCount>0||x.errorUpdateCount>0,isFetchedAfterMount:x.dataUpdateCount>v.dataUpdateCount||x.errorUpdateCount>v.errorUpdateCount,isFetching:U,isRefetching:U&&!j,isLoadingError:V&&!J,isPaused:x.fetchStatus==="paused",isPlaceholderData:F,isRefetchError:V&&J,isStale:$p(t,r),refetch:this.refetch,promise:_(this,ui)};if(this.options.experimental_prefetchInRender){const ye=$e=>{ne.status==="error"?$e.reject(ne.error):ne.data!==void 0&&$e.resolve(ne.data)},De=()=>{const $e=ge(this,ui,ne.promise=Ud());ye($e)},Fe=_(this,ui);switch(Fe.status){case"pending":t.queryHash===i.queryHash&&ye(Fe);break;case"fulfilled":(ne.status==="error"||ne.data!==Fe.value)&&De();break;case"rejected":(ne.status!=="error"||ne.error!==Fe.reason)&&De();break}}return ne}updateResult(){const t=_(this,Jt),r=this.createResult(_(this,Ye),this.options);if(ge(this,ya,_(this,Ye).state),ge(this,Vs,this.options),_(this,ya).data!==void 0&&ge(this,Ys,_(this,Ye)),Au(r,t))return;ge(this,Jt,r);const i=()=>{if(!t)return!0;const{notifyOnChangeProps:a}=this.options,u=typeof a=="function"?a():a;if(u==="all"||!u&&!_(this,Xs).size)return!0;const p=new Set(u??_(this,Xs));return this.options.throwOnError&&p.add("error"),Object.keys(_(this,Jt)).some(m=>{const h=m;return _(this,Jt)[h]!==t[h]&&p.has(h)})};Ue(this,Ze,yg).call(this,{listeners:i()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Ue(this,Ze,Gd).call(this)}},pn=new WeakMap,Ye=new WeakMap,gc=new WeakMap,Jt=new WeakMap,ya=new WeakMap,Vs=new WeakMap,ui=new WeakMap,fi=new WeakMap,vc=new WeakMap,Gs=new WeakMap,Ys=new WeakMap,ba=new WeakMap,wa=new WeakMap,di=new WeakMap,Xs=new WeakMap,Ze=new WeakSet,Ql=function(t){Ue(this,Ze,Qd).call(this);let r=_(this,Ye).fetch(this.options,t);return t!=null&&t.throwOnError||(r=r.catch(Zt)),r},Hd=function(){Ue(this,Ze,Yd).call(this);const t=Is(this.options.staleTime,_(this,Ye));if(Sa||_(this,Jt).isStale||!jd(t))return;const i=cg(_(this,Jt).dataUpdatedAt,t)+1;ge(this,ba,setTimeout(()=>{_(this,Jt).isStale||this.updateResult()},i))},Wd=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(_(this,Ye)):this.options.refetchInterval)??!1},Vd=function(t){Ue(this,Ze,Xd).call(this),ge(this,di,t),!(Sa||or(this.options.enabled,_(this,Ye))===!1||!jd(_(this,di))||_(this,di)===0)&&ge(this,wa,setInterval(()=>{(this.options.refetchIntervalInBackground||Lp.isFocused())&&Ue(this,Ze,Ql).call(this)},_(this,di)))},Gd=function(){Ue(this,Ze,Hd).call(this),Ue(this,Ze,Vd).call(this,Ue(this,Ze,Wd).call(this))},Yd=function(){_(this,ba)&&(clearTimeout(_(this,ba)),ge(this,ba,void 0))},Xd=function(){_(this,wa)&&(clearInterval(_(this,wa)),ge(this,wa,void 0))},Qd=function(){const t=_(this,pn).getQueryCache().build(_(this,pn),this.options);if(t===_(this,Ye))return;const r=_(this,Ye);ge(this,Ye,t),ge(this,gc,t.state),this.hasListeners()&&(r==null||r.removeObserver(this),t.addObserver(this))},yg=function(t){bt.batch(()=>{t.listeners&&this.listeners.forEach(r=>{r(_(this,Jt))}),_(this,pn).getQueryCache().notify({query:_(this,Ye),type:"observerResultsUpdated"})})},Zm);function Ab(e,t){return or(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Fh(e,t){return Ab(e,t)||e.state.data!==void 0&&qd(e,t,t.refetchOnMount)}function qd(e,t,r){if(or(t.enabled,e)!==!1){const i=typeof r=="function"?r(e):r;return i==="always"||i!==!1&&$p(e,t)}return!1}function Mh(e,t,r,i){return(e!==t||or(i.enabled,e)===!1)&&(!r.suspense||e.state.status!=="error")&&$p(e,r)}function $p(e,t){return or(t.enabled,e)!==!1&&e.isStaleByTime(Is(t.staleTime,e))}function Ob(e,t){return!Au(e.getCurrentResult(),t)}var pi,hi,hn,ao,fo,Cu,Kd,eg,Ib=(eg=class extends qs{constructor(r,i){super();Ie(this,fo);Ie(this,pi);Ie(this,hi);Ie(this,hn);Ie(this,ao);ge(this,pi,r),this.setOptions(i),this.bindMethods(),Ue(this,fo,Cu).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(r){var a;const i=this.options;this.options=_(this,pi).defaultMutationOptions(r),Au(this.options,i)||_(this,pi).getMutationCache().notify({type:"observerOptionsUpdated",mutation:_(this,hn),observer:this}),i!=null&&i.mutationKey&&this.options.mutationKey&&ka(i.mutationKey)!==ka(this.options.mutationKey)?this.reset():((a=_(this,hn))==null?void 0:a.state.status)==="pending"&&_(this,hn).setOptions(this.options)}onUnsubscribe(){var r;this.hasListeners()||(r=_(this,hn))==null||r.removeObserver(this)}onMutationUpdate(r){Ue(this,fo,Cu).call(this),Ue(this,fo,Kd).call(this,r)}getCurrentResult(){return _(this,hi)}reset(){var r;(r=_(this,hn))==null||r.removeObserver(this),ge(this,hn,void 0),Ue(this,fo,Cu).call(this),Ue(this,fo,Kd).call(this)}mutate(r,i){var a;return ge(this,ao,i),(a=_(this,hn))==null||a.removeObserver(this),ge(this,hn,_(this,pi).getMutationCache().build(_(this,pi),this.options)),_(this,hn).addObserver(this),_(this,hn).execute(r)}},pi=new WeakMap,hi=new WeakMap,hn=new WeakMap,ao=new WeakMap,fo=new WeakSet,Cu=function(){var i;const r=((i=_(this,hn))==null?void 0:i.state)??vg();ge(this,hi,{...r,isPending:r.status==="pending",isSuccess:r.status==="success",isError:r.status==="error",isIdle:r.status==="idle",mutate:this.mutate,reset:this.reset})},Kd=function(r){bt.batch(()=>{var i,a,u,p,m,h,v,C;if(_(this,ao)&&this.hasListeners()){const x=_(this,hi).variables,F=_(this,hi).context;(r==null?void 0:r.type)==="success"?((a=(i=_(this,ao)).onSuccess)==null||a.call(i,r.data,x,F),(p=(u=_(this,ao)).onSettled)==null||p.call(u,r.data,null,x,F)):(r==null?void 0:r.type)==="error"&&((h=(m=_(this,ao)).onError)==null||h.call(m,r.error,x,F),(C=(v=_(this,ao)).onSettled)==null||C.call(v,void 0,r.error,x,F))}this.listeners.forEach(x=>{x(_(this,hi))})})},eg),bg=pe.createContext(void 0),wg=e=>{const t=pe.useContext(bg);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Fb=({client:e,children:t})=>(pe.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),q.jsx(bg.Provider,{value:e,children:t})),xg=pe.createContext(!1),Mb=()=>pe.useContext(xg);xg.Provider;function Db(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var _b=pe.createContext(Db()),Lb=()=>pe.useContext(_b),$b=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},jb=e=>{pe.useEffect(()=>{e.clearReset()},[e])},Nb=({result:e,errorResetBoundary:t,throwOnError:r,query:i,suspense:a})=>e.isError&&!t.isReset()&&!e.isFetching&&i&&(a&&e.data===void 0||fg(r,[e.error,i])),zb=e=>{const t=e.staleTime;e.suspense&&(e.staleTime=typeof t=="function"?(...r)=>Math.max(t(...r),1e3):Math.max(t??1e3,1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},Bb=(e,t)=>e.isLoading&&e.isFetching&&!t,Ub=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,Dh=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()});function Hb(e,t,r){var x,F,I,L,D;if(process.env.NODE_ENV!=="production"&&(typeof e!="object"||Array.isArray(e)))throw new Error('Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object');const i=wg(r),a=Mb(),u=Lb(),p=i.defaultQueryOptions(e);(F=(x=i.getDefaultOptions().queries)==null?void 0:x._experimental_beforeQuery)==null||F.call(x,p),process.env.NODE_ENV!=="production"&&(p.queryFn||console.error(`[${p.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`)),p._optimisticResults=a?"isRestoring":"optimistic",zb(p),$b(p,u),jb(u);const m=!i.getQueryCache().get(p.queryHash),[h]=pe.useState(()=>new t(i,p)),v=h.getOptimisticResult(p),C=!a&&e.subscribed!==!1;if(pe.useSyncExternalStore(pe.useCallback(T=>{const O=C?h.subscribe(bt.batchCalls(T)):Zt;return h.updateResult(),O},[h,C]),()=>h.getCurrentResult(),()=>h.getCurrentResult()),pe.useEffect(()=>{h.setOptions(p)},[p,h]),Ub(p,v))throw Dh(p,h,u);if(Nb({result:v,errorResetBoundary:u,throwOnError:p.throwOnError,query:i.getQueryCache().get(p.queryHash),suspense:p.suspense}))throw v.error;if((L=(I=i.getDefaultOptions().queries)==null?void 0:I._experimental_afterQuery)==null||L.call(I,p,v),p.experimental_prefetchInRender&&!Sa&&Bb(v,a)){const T=m?Dh(p,h,u):(D=i.getQueryCache().get(p.queryHash))==null?void 0:D.promise;T==null||T.catch(Zt).finally(()=>{h.updateResult()})}return p.notifyOnChangeProps?v:h.trackResult(v)}function jp(e,t){return Hb(e,Pb,t)}function Sg(e,t){const r=wg(t),[i]=pe.useState(()=>new Ib(r,e));pe.useEffect(()=>{i.setOptions(e)},[i,e]);const a=pe.useSyncExternalStore(pe.useCallback(p=>i.subscribe(bt.batchCalls(p)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),u=pe.useCallback((p,m)=>{i.mutate(p,m).catch(Zt)},[i]);if(a.error&&fg(i.options.throwOnError,[a.error]))throw a.error;return{...a,mutate:u,mutateAsync:a.mutate}}const Np=A.createContext(null);Np.Provider;const Ks=()=>A.useContext(Np),kg=({children:e})=>{const[t]=A.useState(new Rb);return console.log("Confidence Playbook Context Initialized"),q.jsx(Np.Provider,{value:{queryClient:t},children:q.jsx(Fb,{client:t,children:e})})},ut={OPEN:"Open",IN_PROGRESS:"In progress",IN_REVIEW:"In review",COMPLETED:"Completed"},Eg="https://marketplace.confidence.com/api",yc=Eg+"/confidence",_h=Eg+"/dropbox/prod",Wb=async e=>{const t={taskInstanceId:e},r=new Headers;return r.append("Content-Type","application/json"),await(await fetch(`${yc}/playbook-task-complete`,{method:"POST",headers:r,body:JSON.stringify(t)})).json()},Vb=()=>{const{queryClient:e}=Ks(),t=Sg({mutationFn:async i=>Wb(i)},e);return{completeTask:async i=>t.mutateAsync(i,{onSuccess:()=>{console.log("Task completed successfully")},onError:a=>{console.error("Error completing task:",a)}}),...t}},Gb=async e=>{const t={taskInstanceId:e},r=new Headers;r.append("Content-Type","application/json");const a=await(await fetch(`${yc}/playbook-task-start`,{method:"POST",headers:r,body:JSON.stringify(t)})).json();return console.log({data:a}),a},Yb=()=>{const{queryClient:e}=Ks(),t=Sg({mutationFn:async i=>{const a=await Gb(i);return console.log(a),a}},e);return{startTask:i=>t.mutateAsync(i,{onSuccess:()=>{console.log("Task started successfully")},onError:a=>{console.error("Error starting task:",a)}}),...t}},Cg=(e,t)=>{const{queryClient:r}=Ks(),i=jp({initialData:{},queryFn:()=>r.getQueryData(["PLAYBOOK_EXPANDED_TASKS",+e]),queryKey:["PLAYBOOK_EXPANDED_TASKS",+e]}),a=p=>{var m;return((m=i.data)==null?void 0:m[p.toString()])??!1};return{isTaskExpanded:a,toggleTaskExpanded:(p,m)=>{var h;r.setQueryData(["PLAYBOOK_EXPANDED_TASKS",+e],()=>({[p]:m!==void 0?m:!a(p)})),(h=t==null?void 0:t.onTaskExpanded)==null||h.call(t,p,a(p))}}},Xb=(e,t)=>{const{queryClient:r}=Ks(),{completeTask:i}=Vb(),{startTask:a}=Yb(),{toggleTaskExpanded:u}=Cg(e);return{completeTask:async(h,v)=>{const{status:C}=await i(h.toString());C&&(u(h,!1),r.setQueryData(["playbook",+e],x=>{if(!x)return x;const F=x.tasks.map(I=>I.sequenceOrder===v+1&&t.quickComplete?{...I,workflowStatus:ut.IN_PROGRESS}:I.taskInstanceId===h?{...I,workflowStatus:C}:I);return{...x,tasks:F}}))},startTask:async h=>{const{status:v}=await a(h.toString());v&&(u(h,!0),r.setQueryData(["playbook",+e],C=>{if(!C)return C;const x=C.tasks.map(F=>F.taskInstanceId===h?{...F,workflowStatus:v}:F);return{...C,tasks:x}}))}}},Qb=e=>{var a;const{queryClient:t}=Ks(),r=jp({queryFn:async()=>{const u=new Headers,p=await fetch(`${yc}/playbook-details`,{method:"POST",cache:"no-store",headers:u,body:JSON.stringify({playbookInstanceId:+e,start:0,limit:50})});if(!p.ok)throw new Error("Network response was not ok");const m=await p.json();if(m.error)throw new Error(m.error);return m},queryKey:["playbook",+e]},t),i=Xb(e,{quickComplete:(a=r.data)==null?void 0:a.quickComplete});return{playbook:r.data,isLoading:r.isLoading,error:r.error,actions:i}},ec={START:"START",PAUSE:"PAUSE",COMPLETE:"COMPLETE"},qb={START:"Start",PAUSE:"Pause",RESUME:"Resume",COMPLETE:"Complete"},Kb=e=>{const{taskStatus:t,canStart:r}=e;return{buttons:A.useMemo(()=>t===ut.OPEN&&r?[ec.START]:t===ut.IN_PROGRESS?[ec.PAUSE,ec.COMPLETE]:t===ut.COMPLETED?[]:[],[e.taskStatus,e.canStart])}},Tg=async e=>{const t=new Headers;t.append("Content-Type","application/json");const i=await(await fetch(`${yc}/playbook-initiate`,{method:"POST",headers:t,body:JSON.stringify(e)})).json();return console.log({data:i}),i},zp="-",Jb=e=>{const t=e0(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:p=>{const m=p.split(zp);return m[0]===""&&m.length!==1&&m.shift(),Rg(m,t)||Zb(p)},getConflictingClassGroupIds:(p,m)=>{const h=r[p]||[];return m&&i[p]?[...h,...i[p]]:h}}},Rg=(e,t)=>{var p;if(e.length===0)return t.classGroupId;const r=e[0],i=t.nextPart.get(r),a=i?Rg(e.slice(1),i):void 0;if(a)return a;if(t.validators.length===0)return;const u=e.join(zp);return(p=t.validators.find(({validator:m})=>m(u)))==null?void 0:p.classGroupId},Lh=/^\[(.+)\]$/,Zb=e=>{if(Lh.test(e)){const t=Lh.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},e0=e=>{const{theme:t,classGroups:r}=e,i={nextPart:new Map,validators:[]};for(const a in r)Jd(r[a],i,a,t);return i},Jd=(e,t,r,i)=>{e.forEach(a=>{if(typeof a=="string"){const u=a===""?t:$h(t,a);u.classGroupId=r;return}if(typeof a=="function"){if(t0(a)){Jd(a(i),t,r,i);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([u,p])=>{Jd(p,$h(t,u),r,i)})})},$h=(e,t)=>{let r=e;return t.split(zp).forEach(i=>{r.nextPart.has(i)||r.nextPart.set(i,{nextPart:new Map,validators:[]}),r=r.nextPart.get(i)}),r},t0=e=>e.isThemeGetter,n0=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,i=new Map;const a=(u,p)=>{r.set(u,p),t++,t>e&&(t=0,i=r,r=new Map)};return{get(u){let p=r.get(u);if(p!==void 0)return p;if((p=i.get(u))!==void 0)return a(u,p),p},set(u,p){r.has(u)?r.set(u,p):a(u,p)}}},Zd="!",ep=":",r0=ep.length,o0=e=>{const{prefix:t,experimentalParseClassName:r}=e;let i=a=>{const u=[];let p=0,m=0,h=0,v;for(let L=0;L<a.length;L++){let D=a[L];if(p===0&&m===0){if(D===ep){u.push(a.slice(h,L)),h=L+r0;continue}if(D==="/"){v=L;continue}}D==="["?p++:D==="]"?p--:D==="("?m++:D===")"&&m--}const C=u.length===0?a:a.substring(h),x=i0(C),F=x!==C,I=v&&v>h?v-h:void 0;return{modifiers:u,hasImportantModifier:F,baseClassName:x,maybePostfixModifierPosition:I}};if(t){const a=t+ep,u=i;i=p=>p.startsWith(a)?u(p.substring(a.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:p,maybePostfixModifierPosition:void 0}}if(r){const a=i;i=u=>r({className:u,parseClassName:a})}return i},i0=e=>e.endsWith(Zd)?e.substring(0,e.length-1):e.startsWith(Zd)?e.substring(1):e,a0=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(i=>[i,!0]));return i=>{if(i.length<=1)return i;const a=[];let u=[];return i.forEach(p=>{p[0]==="["||t[p]?(a.push(...u.sort(),p),u=[]):u.push(p)}),a.push(...u.sort()),a}},s0=e=>({cache:n0(e.cacheSize),parseClassName:o0(e),sortModifiers:a0(e),...Jb(e)}),l0=/\s+/,c0=(e,t)=>{const{parseClassName:r,getClassGroupId:i,getConflictingClassGroupIds:a,sortModifiers:u}=t,p=[],m=e.trim().split(l0);let h="";for(let v=m.length-1;v>=0;v-=1){const C=m[v],{isExternal:x,modifiers:F,hasImportantModifier:I,baseClassName:L,maybePostfixModifierPosition:D}=r(C);if(x){h=C+(h.length>0?" "+h:h);continue}let T=!!D,O=i(T?L.substring(0,D):L);if(!O){if(!T){h=C+(h.length>0?" "+h:h);continue}if(O=i(L),!O){h=C+(h.length>0?" "+h:h);continue}T=!1}const U=u(F).join(":"),j=I?U+Zd:U,V=j+O;if(p.includes(V))continue;p.push(V);const $=a(O,T);for(let J=0;J<$.length;++J){const ae=$[J];p.push(j+ae)}h=C+(h.length>0?" "+h:h)}return h};function u0(){let e=0,t,r,i="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Pg(t))&&(i&&(i+=" "),i+=r);return i}const Pg=e=>{if(typeof e=="string")return e;let t,r="";for(let i=0;i<e.length;i++)e[i]&&(t=Pg(e[i]))&&(r&&(r+=" "),r+=t);return r};function f0(e,...t){let r,i,a,u=p;function p(h){const v=t.reduce((C,x)=>x(C),e());return r=s0(v),i=r.cache.get,a=r.cache.set,u=m,m(h)}function m(h){const v=i(h);if(v)return v;const C=c0(h,r);return a(h,C),C}return function(){return u(u0.apply(null,arguments))}}const yt=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ag=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Og=/^\((?:(\w[\w-]*):)?(.+)\)$/i,d0=/^\d+\/\d+$/,p0=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,h0=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,m0=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,g0=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,v0=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Rs=e=>d0.test(e),He=e=>!!e&&!Number.isNaN(Number(e)),ti=e=>!!e&&Number.isInteger(Number(e)),vd=e=>e.endsWith("%")&&He(e.slice(0,-1)),ro=e=>p0.test(e),y0=()=>!0,b0=e=>h0.test(e)&&!m0.test(e),Ig=()=>!1,w0=e=>g0.test(e),x0=e=>v0.test(e),S0=e=>!be(e)&&!we(e),k0=e=>Js(e,Dg,Ig),be=e=>Ag.test(e),sa=e=>Js(e,_g,b0),yd=e=>Js(e,P0,He),jh=e=>Js(e,Fg,Ig),E0=e=>Js(e,Mg,x0),yu=e=>Js(e,Lg,w0),we=e=>Og.test(e),Yl=e=>Zs(e,_g),C0=e=>Zs(e,A0),Nh=e=>Zs(e,Fg),T0=e=>Zs(e,Dg),R0=e=>Zs(e,Mg),bu=e=>Zs(e,Lg,!0),Js=(e,t,r)=>{const i=Ag.exec(e);return i?i[1]?t(i[1]):r(i[2]):!1},Zs=(e,t,r=!1)=>{const i=Og.exec(e);return i?i[1]?t(i[1]):r:!1},Fg=e=>e==="position"||e==="percentage",Mg=e=>e==="image"||e==="url",Dg=e=>e==="length"||e==="size"||e==="bg-size",_g=e=>e==="length",P0=e=>e==="number",A0=e=>e==="family-name",Lg=e=>e==="shadow",O0=()=>{const e=yt("color"),t=yt("font"),r=yt("text"),i=yt("font-weight"),a=yt("tracking"),u=yt("leading"),p=yt("breakpoint"),m=yt("container"),h=yt("spacing"),v=yt("radius"),C=yt("shadow"),x=yt("inset-shadow"),F=yt("text-shadow"),I=yt("drop-shadow"),L=yt("blur"),D=yt("perspective"),T=yt("aspect"),O=yt("ease"),U=yt("animate"),j=()=>["auto","avoid","all","avoid-page","page","left","right","column"],V=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],$=()=>[...V(),we,be],J=()=>["auto","hidden","clip","visible","scroll"],ae=()=>["auto","contain","none"],ne=()=>[we,be,h],le=()=>[Rs,"full","auto",...ne()],ye=()=>[ti,"none","subgrid",we,be],De=()=>["auto",{span:["full",ti,we,be]},ti,we,be],Fe=()=>[ti,"auto",we,be],$e=()=>["auto","min","max","fr",we,be],ze=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],xe=()=>["start","end","center","stretch","center-safe","end-safe"],Re=()=>["auto",...ne()],Le=()=>[Rs,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...ne()],Z=()=>[e,we,be],ve=()=>[...V(),Nh,jh,{position:[we,be]}],Y=()=>["no-repeat",{repeat:["","x","y","space","round"]}],K=()=>["auto","cover","contain",T0,k0,{size:[we,be]}],fe=()=>[vd,Yl,sa],te=()=>["","none","full",v,we,be],he=()=>["",He,Yl,sa],me=()=>["solid","dashed","dotted","double"],ce=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ue=()=>[He,vd,Nh,jh],Ee=()=>["","none",L,we,be],Se=()=>["none",He,we,be],Pe=()=>["none",He,we,be],Be=()=>[He,we,be],se=()=>[Rs,"full",...ne()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ro],breakpoint:[ro],color:[y0],container:[ro],"drop-shadow":[ro],ease:["in","out","in-out"],font:[S0],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ro],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ro],shadow:[ro],spacing:["px",He],text:[ro],"text-shadow":[ro],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Rs,be,we,T]}],container:["container"],columns:[{columns:[He,be,we,m]}],"break-after":[{"break-after":j()}],"break-before":[{"break-before":j()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:$()}],overflow:[{overflow:J()}],"overflow-x":[{"overflow-x":J()}],"overflow-y":[{"overflow-y":J()}],overscroll:[{overscroll:ae()}],"overscroll-x":[{"overscroll-x":ae()}],"overscroll-y":[{"overscroll-y":ae()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:le()}],"inset-x":[{"inset-x":le()}],"inset-y":[{"inset-y":le()}],start:[{start:le()}],end:[{end:le()}],top:[{top:le()}],right:[{right:le()}],bottom:[{bottom:le()}],left:[{left:le()}],visibility:["visible","invisible","collapse"],z:[{z:[ti,"auto",we,be]}],basis:[{basis:[Rs,"full","auto",m,...ne()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[He,Rs,"auto","initial","none",be]}],grow:[{grow:["",He,we,be]}],shrink:[{shrink:["",He,we,be]}],order:[{order:[ti,"first","last","none",we,be]}],"grid-cols":[{"grid-cols":ye()}],"col-start-end":[{col:De()}],"col-start":[{"col-start":Fe()}],"col-end":[{"col-end":Fe()}],"grid-rows":[{"grid-rows":ye()}],"row-start-end":[{row:De()}],"row-start":[{"row-start":Fe()}],"row-end":[{"row-end":Fe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":$e()}],"auto-rows":[{"auto-rows":$e()}],gap:[{gap:ne()}],"gap-x":[{"gap-x":ne()}],"gap-y":[{"gap-y":ne()}],"justify-content":[{justify:[...ze(),"normal"]}],"justify-items":[{"justify-items":[...xe(),"normal"]}],"justify-self":[{"justify-self":["auto",...xe()]}],"align-content":[{content:["normal",...ze()]}],"align-items":[{items:[...xe(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...xe(),{baseline:["","last"]}]}],"place-content":[{"place-content":ze()}],"place-items":[{"place-items":[...xe(),"baseline"]}],"place-self":[{"place-self":["auto",...xe()]}],p:[{p:ne()}],px:[{px:ne()}],py:[{py:ne()}],ps:[{ps:ne()}],pe:[{pe:ne()}],pt:[{pt:ne()}],pr:[{pr:ne()}],pb:[{pb:ne()}],pl:[{pl:ne()}],m:[{m:Re()}],mx:[{mx:Re()}],my:[{my:Re()}],ms:[{ms:Re()}],me:[{me:Re()}],mt:[{mt:Re()}],mr:[{mr:Re()}],mb:[{mb:Re()}],ml:[{ml:Re()}],"space-x":[{"space-x":ne()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":ne()}],"space-y-reverse":["space-y-reverse"],size:[{size:Le()}],w:[{w:[m,"screen",...Le()]}],"min-w":[{"min-w":[m,"screen","none",...Le()]}],"max-w":[{"max-w":[m,"screen","none","prose",{screen:[p]},...Le()]}],h:[{h:["screen",...Le()]}],"min-h":[{"min-h":["screen","none",...Le()]}],"max-h":[{"max-h":["screen",...Le()]}],"font-size":[{text:["base",r,Yl,sa]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,we,yd]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",vd,be]}],"font-family":[{font:[C0,be,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,we,be]}],"line-clamp":[{"line-clamp":[He,"none",we,yd]}],leading:[{leading:[u,...ne()]}],"list-image":[{"list-image":["none",we,be]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",we,be]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:Z()}],"text-color":[{text:Z()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...me(),"wavy"]}],"text-decoration-thickness":[{decoration:[He,"from-font","auto",we,sa]}],"text-decoration-color":[{decoration:Z()}],"underline-offset":[{"underline-offset":[He,"auto",we,be]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:ne()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",we,be]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",we,be]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ve()}],"bg-repeat":[{bg:Y()}],"bg-size":[{bg:K()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ti,we,be],radial:["",we,be],conic:[ti,we,be]},R0,E0]}],"bg-color":[{bg:Z()}],"gradient-from-pos":[{from:fe()}],"gradient-via-pos":[{via:fe()}],"gradient-to-pos":[{to:fe()}],"gradient-from":[{from:Z()}],"gradient-via":[{via:Z()}],"gradient-to":[{to:Z()}],rounded:[{rounded:te()}],"rounded-s":[{"rounded-s":te()}],"rounded-e":[{"rounded-e":te()}],"rounded-t":[{"rounded-t":te()}],"rounded-r":[{"rounded-r":te()}],"rounded-b":[{"rounded-b":te()}],"rounded-l":[{"rounded-l":te()}],"rounded-ss":[{"rounded-ss":te()}],"rounded-se":[{"rounded-se":te()}],"rounded-ee":[{"rounded-ee":te()}],"rounded-es":[{"rounded-es":te()}],"rounded-tl":[{"rounded-tl":te()}],"rounded-tr":[{"rounded-tr":te()}],"rounded-br":[{"rounded-br":te()}],"rounded-bl":[{"rounded-bl":te()}],"border-w":[{border:he()}],"border-w-x":[{"border-x":he()}],"border-w-y":[{"border-y":he()}],"border-w-s":[{"border-s":he()}],"border-w-e":[{"border-e":he()}],"border-w-t":[{"border-t":he()}],"border-w-r":[{"border-r":he()}],"border-w-b":[{"border-b":he()}],"border-w-l":[{"border-l":he()}],"divide-x":[{"divide-x":he()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":he()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...me(),"hidden","none"]}],"divide-style":[{divide:[...me(),"hidden","none"]}],"border-color":[{border:Z()}],"border-color-x":[{"border-x":Z()}],"border-color-y":[{"border-y":Z()}],"border-color-s":[{"border-s":Z()}],"border-color-e":[{"border-e":Z()}],"border-color-t":[{"border-t":Z()}],"border-color-r":[{"border-r":Z()}],"border-color-b":[{"border-b":Z()}],"border-color-l":[{"border-l":Z()}],"divide-color":[{divide:Z()}],"outline-style":[{outline:[...me(),"none","hidden"]}],"outline-offset":[{"outline-offset":[He,we,be]}],"outline-w":[{outline:["",He,Yl,sa]}],"outline-color":[{outline:Z()}],shadow:[{shadow:["","none",C,bu,yu]}],"shadow-color":[{shadow:Z()}],"inset-shadow":[{"inset-shadow":["none",x,bu,yu]}],"inset-shadow-color":[{"inset-shadow":Z()}],"ring-w":[{ring:he()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:Z()}],"ring-offset-w":[{"ring-offset":[He,sa]}],"ring-offset-color":[{"ring-offset":Z()}],"inset-ring-w":[{"inset-ring":he()}],"inset-ring-color":[{"inset-ring":Z()}],"text-shadow":[{"text-shadow":["none",F,bu,yu]}],"text-shadow-color":[{"text-shadow":Z()}],opacity:[{opacity:[He,we,be]}],"mix-blend":[{"mix-blend":[...ce(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ce()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[He]}],"mask-image-linear-from-pos":[{"mask-linear-from":ue()}],"mask-image-linear-to-pos":[{"mask-linear-to":ue()}],"mask-image-linear-from-color":[{"mask-linear-from":Z()}],"mask-image-linear-to-color":[{"mask-linear-to":Z()}],"mask-image-t-from-pos":[{"mask-t-from":ue()}],"mask-image-t-to-pos":[{"mask-t-to":ue()}],"mask-image-t-from-color":[{"mask-t-from":Z()}],"mask-image-t-to-color":[{"mask-t-to":Z()}],"mask-image-r-from-pos":[{"mask-r-from":ue()}],"mask-image-r-to-pos":[{"mask-r-to":ue()}],"mask-image-r-from-color":[{"mask-r-from":Z()}],"mask-image-r-to-color":[{"mask-r-to":Z()}],"mask-image-b-from-pos":[{"mask-b-from":ue()}],"mask-image-b-to-pos":[{"mask-b-to":ue()}],"mask-image-b-from-color":[{"mask-b-from":Z()}],"mask-image-b-to-color":[{"mask-b-to":Z()}],"mask-image-l-from-pos":[{"mask-l-from":ue()}],"mask-image-l-to-pos":[{"mask-l-to":ue()}],"mask-image-l-from-color":[{"mask-l-from":Z()}],"mask-image-l-to-color":[{"mask-l-to":Z()}],"mask-image-x-from-pos":[{"mask-x-from":ue()}],"mask-image-x-to-pos":[{"mask-x-to":ue()}],"mask-image-x-from-color":[{"mask-x-from":Z()}],"mask-image-x-to-color":[{"mask-x-to":Z()}],"mask-image-y-from-pos":[{"mask-y-from":ue()}],"mask-image-y-to-pos":[{"mask-y-to":ue()}],"mask-image-y-from-color":[{"mask-y-from":Z()}],"mask-image-y-to-color":[{"mask-y-to":Z()}],"mask-image-radial":[{"mask-radial":[we,be]}],"mask-image-radial-from-pos":[{"mask-radial-from":ue()}],"mask-image-radial-to-pos":[{"mask-radial-to":ue()}],"mask-image-radial-from-color":[{"mask-radial-from":Z()}],"mask-image-radial-to-color":[{"mask-radial-to":Z()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":V()}],"mask-image-conic-pos":[{"mask-conic":[He]}],"mask-image-conic-from-pos":[{"mask-conic-from":ue()}],"mask-image-conic-to-pos":[{"mask-conic-to":ue()}],"mask-image-conic-from-color":[{"mask-conic-from":Z()}],"mask-image-conic-to-color":[{"mask-conic-to":Z()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ve()}],"mask-repeat":[{mask:Y()}],"mask-size":[{mask:K()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",we,be]}],filter:[{filter:["","none",we,be]}],blur:[{blur:Ee()}],brightness:[{brightness:[He,we,be]}],contrast:[{contrast:[He,we,be]}],"drop-shadow":[{"drop-shadow":["","none",I,bu,yu]}],"drop-shadow-color":[{"drop-shadow":Z()}],grayscale:[{grayscale:["",He,we,be]}],"hue-rotate":[{"hue-rotate":[He,we,be]}],invert:[{invert:["",He,we,be]}],saturate:[{saturate:[He,we,be]}],sepia:[{sepia:["",He,we,be]}],"backdrop-filter":[{"backdrop-filter":["","none",we,be]}],"backdrop-blur":[{"backdrop-blur":Ee()}],"backdrop-brightness":[{"backdrop-brightness":[He,we,be]}],"backdrop-contrast":[{"backdrop-contrast":[He,we,be]}],"backdrop-grayscale":[{"backdrop-grayscale":["",He,we,be]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[He,we,be]}],"backdrop-invert":[{"backdrop-invert":["",He,we,be]}],"backdrop-opacity":[{"backdrop-opacity":[He,we,be]}],"backdrop-saturate":[{"backdrop-saturate":[He,we,be]}],"backdrop-sepia":[{"backdrop-sepia":["",He,we,be]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":ne()}],"border-spacing-x":[{"border-spacing-x":ne()}],"border-spacing-y":[{"border-spacing-y":ne()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",we,be]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[He,"initial",we,be]}],ease:[{ease:["linear","initial",O,we,be]}],delay:[{delay:[He,we,be]}],animate:[{animate:["none",U,we,be]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[D,we,be]}],"perspective-origin":[{"perspective-origin":$()}],rotate:[{rotate:Se()}],"rotate-x":[{"rotate-x":Se()}],"rotate-y":[{"rotate-y":Se()}],"rotate-z":[{"rotate-z":Se()}],scale:[{scale:Pe()}],"scale-x":[{"scale-x":Pe()}],"scale-y":[{"scale-y":Pe()}],"scale-z":[{"scale-z":Pe()}],"scale-3d":["scale-3d"],skew:[{skew:Be()}],"skew-x":[{"skew-x":Be()}],"skew-y":[{"skew-y":Be()}],transform:[{transform:[we,be,"","none","gpu","cpu"]}],"transform-origin":[{origin:$()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:se()}],"translate-x":[{"translate-x":se()}],"translate-y":[{"translate-y":se()}],"translate-z":[{"translate-z":se()}],"translate-none":["translate-none"],accent:[{accent:Z()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:Z()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",we,be]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":ne()}],"scroll-mx":[{"scroll-mx":ne()}],"scroll-my":[{"scroll-my":ne()}],"scroll-ms":[{"scroll-ms":ne()}],"scroll-me":[{"scroll-me":ne()}],"scroll-mt":[{"scroll-mt":ne()}],"scroll-mr":[{"scroll-mr":ne()}],"scroll-mb":[{"scroll-mb":ne()}],"scroll-ml":[{"scroll-ml":ne()}],"scroll-p":[{"scroll-p":ne()}],"scroll-px":[{"scroll-px":ne()}],"scroll-py":[{"scroll-py":ne()}],"scroll-ps":[{"scroll-ps":ne()}],"scroll-pe":[{"scroll-pe":ne()}],"scroll-pt":[{"scroll-pt":ne()}],"scroll-pr":[{"scroll-pr":ne()}],"scroll-pb":[{"scroll-pb":ne()}],"scroll-pl":[{"scroll-pl":ne()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",we,be]}],fill:[{fill:["none",...Z()]}],"stroke-w":[{stroke:[He,Yl,sa,yd]}],stroke:[{stroke:["none",...Z()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Fs=f0(O0);function $g(e){var t,r,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=$g(e[t]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r);return i}function lc(){for(var e,t,r=0,i="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=$g(e))&&(i&&(i+=" "),i+=t);return i}function wt(...e){return Fs(lc(e))}const jg=typeof document<"u"?A.useLayoutEffect:()=>{};function I0(e){const t=A.useRef(null);return jg(()=>{t.current=e},[e]),A.useCallback((...r)=>{const i=t.current;return i==null?void 0:i(...r)},[])}const ki=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},ua=e=>e&&"window"in e&&e.window===e?e:ki(e).defaultView||window;function F0(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function M0(e){return F0(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let D0=!1;function Bp(){return D0}function Ng(e,t){if(!Bp())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let r=t;for(;r!==null;){if(r===e)return!0;r.tagName==="SLOT"&&r.assignedSlot?r=r.assignedSlot.parentNode:M0(r)?r=r.host:r=r.parentNode}return!1}const tp=(e=document)=>{var t;if(!Bp())return e.activeElement;let r=e.activeElement;for(;r&&"shadowRoot"in r&&(!((t=r.shadowRoot)===null||t===void 0)&&t.activeElement);)r=r.shadowRoot.activeElement;return r};function zg(e){return Bp()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}function Hu(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(r=>e.test(r.brand)))||e.test(window.navigator.userAgent)}function Up(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function vo(e){if(process.env.NODE_ENV==="test")return e;let t=null;return()=>(t==null&&(t=e()),t)}const Hp=vo(function(){return Up(/^Mac/i)}),_0=vo(function(){return Up(/^iPhone/i)}),L0=vo(function(){return Up(/^iPad/i)||Hp()&&navigator.maxTouchPoints>1}),$0=vo(function(){return _0()||L0()});vo(function(){return Hp()||$0()});vo(function(){return Hu(/AppleWebKit/i)&&!j0()});const j0=vo(function(){return Hu(/Chrome/i)}),N0=vo(function(){return Hu(/Android/i)});vo(function(){return Hu(/Firefox/i)});function Bg(){let e=A.useRef(new Map),t=A.useCallback((a,u,p,m)=>{let h=m!=null&&m.once?(...v)=>{e.current.delete(p),p(...v)}:p;e.current.set(p,{type:u,eventTarget:a,fn:h,options:m}),a.addEventListener(u,h,m)},[]),r=A.useCallback((a,u,p,m)=>{var h;let v=((h=e.current.get(p))===null||h===void 0?void 0:h.fn)||p;a.removeEventListener(u,v,m),e.current.delete(p)},[]),i=A.useCallback(()=>{e.current.forEach((a,u)=>{r(a.eventTarget,a.type,u,a.options)})},[r]);return A.useEffect(()=>i,[i]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:i}}function z0(e){return e.mozInputSource===0&&e.isTrusted?!0:N0()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function Ug(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function B0(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function Hg(e){let t=A.useRef({isFocused:!1,observer:null});jg(()=>{const i=t.current;return()=>{i.observer&&(i.observer.disconnect(),i.observer=null)}},[]);let r=I0(i=>{e==null||e(i)});return A.useCallback(i=>{if(i.target instanceof HTMLButtonElement||i.target instanceof HTMLInputElement||i.target instanceof HTMLTextAreaElement||i.target instanceof HTMLSelectElement){t.current.isFocused=!0;let a=i.target,u=p=>{if(t.current.isFocused=!1,a.disabled){let m=Ug(p);r(m)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};a.addEventListener("focusout",u,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&a.disabled){var p;(p=t.current.observer)===null||p===void 0||p.disconnect();let m=a===document.activeElement?null:document.activeElement;a.dispatchEvent(new FocusEvent("blur",{relatedTarget:m})),a.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:m}))}}),t.current.observer.observe(a,{attributes:!0,attributeFilter:["disabled"]})}},[r])}let U0=!1,bc=null,np=new Set,tc=new Map,Ea=!1,rp=!1;const H0={Tab:!0,Escape:!0};function Wp(e,t){for(let r of np)r(e,t)}function W0(e){return!(e.metaKey||!Hp()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Fu(e){Ea=!0,W0(e)&&(bc="keyboard",Wp("keyboard",e))}function zn(e){bc="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Ea=!0,Wp("pointer",e))}function Wg(e){z0(e)&&(Ea=!0,bc="virtual")}function Vg(e){e.target===window||e.target===document||U0||!e.isTrusted||(!Ea&&!rp&&(bc="virtual",Wp("virtual",e)),Ea=!1,rp=!1)}function Gg(){Ea=!1,rp=!0}function op(e){if(typeof window>"u"||typeof document>"u"||tc.get(ua(e)))return;const t=ua(e),r=ki(e);let i=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){Ea=!0,i.apply(this,arguments)},r.addEventListener("keydown",Fu,!0),r.addEventListener("keyup",Fu,!0),r.addEventListener("click",Wg,!0),t.addEventListener("focus",Vg,!0),t.addEventListener("blur",Gg,!1),typeof PointerEvent<"u"?(r.addEventListener("pointerdown",zn,!0),r.addEventListener("pointermove",zn,!0),r.addEventListener("pointerup",zn,!0)):process.env.NODE_ENV==="test"&&(r.addEventListener("mousedown",zn,!0),r.addEventListener("mousemove",zn,!0),r.addEventListener("mouseup",zn,!0)),t.addEventListener("beforeunload",()=>{Yg(e)},{once:!0}),tc.set(t,{focus:i})}const Yg=(e,t)=>{const r=ua(e),i=ki(e);t&&i.removeEventListener("DOMContentLoaded",t),tc.has(r)&&(r.HTMLElement.prototype.focus=tc.get(r).focus,i.removeEventListener("keydown",Fu,!0),i.removeEventListener("keyup",Fu,!0),i.removeEventListener("click",Wg,!0),r.removeEventListener("focus",Vg,!0),r.removeEventListener("blur",Gg,!1),typeof PointerEvent<"u"?(i.removeEventListener("pointerdown",zn,!0),i.removeEventListener("pointermove",zn,!0),i.removeEventListener("pointerup",zn,!0)):process.env.NODE_ENV==="test"&&(i.removeEventListener("mousedown",zn,!0),i.removeEventListener("mousemove",zn,!0),i.removeEventListener("mouseup",zn,!0)),tc.delete(r))};function V0(e){const t=ki(e);let r;return t.readyState!=="loading"?op(e):(r=()=>{op(e)},t.addEventListener("DOMContentLoaded",r)),()=>Yg(e,r)}typeof document<"u"&&V0();function Xg(){return bc!=="pointer"}const G0=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Y0(e,t,r){let i=ki(r==null?void 0:r.target);const a=typeof window<"u"?ua(r==null?void 0:r.target).HTMLInputElement:HTMLInputElement,u=typeof window<"u"?ua(r==null?void 0:r.target).HTMLTextAreaElement:HTMLTextAreaElement,p=typeof window<"u"?ua(r==null?void 0:r.target).HTMLElement:HTMLElement,m=typeof window<"u"?ua(r==null?void 0:r.target).KeyboardEvent:KeyboardEvent;return e=e||i.activeElement instanceof a&&!G0.has(i.activeElement.type)||i.activeElement instanceof u||i.activeElement instanceof p&&i.activeElement.isContentEditable,!(e&&t==="keyboard"&&r instanceof m&&!H0[r.key])}function X0(e,t,r){op(),A.useEffect(()=>{let i=(a,u)=>{Y0(!!(r!=null&&r.isTextInput),a,u)&&e(Xg())};return np.add(i),()=>{np.delete(i)}},t)}function Q0(e){let{isDisabled:t,onFocus:r,onBlur:i,onFocusChange:a}=e;const u=A.useCallback(h=>{if(h.target===h.currentTarget)return i&&i(h),a&&a(!1),!0},[i,a]),p=Hg(u),m=A.useCallback(h=>{const v=ki(h.target),C=v?tp(v):tp();h.target===h.currentTarget&&C===zg(h.nativeEvent)&&(r&&r(h),a&&a(!0),p(h))},[a,r,p]);return{focusProps:{onFocus:!t&&(r||a||i)?m:void 0,onBlur:!t&&(i||a)?u:void 0}}}function q0(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:i,onFocusWithinChange:a}=e,u=A.useRef({isFocusWithin:!1}),{addGlobalListener:p,removeAllGlobalListeners:m}=Bg(),h=A.useCallback(x=>{x.currentTarget.contains(x.target)&&u.current.isFocusWithin&&!x.currentTarget.contains(x.relatedTarget)&&(u.current.isFocusWithin=!1,m(),r&&r(x),a&&a(!1))},[r,a,u,m]),v=Hg(h),C=A.useCallback(x=>{if(!x.currentTarget.contains(x.target))return;const F=ki(x.target),I=tp(F);if(!u.current.isFocusWithin&&I===zg(x.nativeEvent)){i&&i(x),a&&a(!0),u.current.isFocusWithin=!0,v(x);let L=x.currentTarget;p(F,"focus",D=>{if(u.current.isFocusWithin&&!Ng(L,D.target)){let T=new F.defaultView.FocusEvent("blur",{relatedTarget:D.target});B0(T,L);let O=Ug(T);h(O)}},{capture:!0})}},[i,a,v,p,h]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:C,onBlur:h}}}let Mu=!1,bd=0;function ip(){Mu=!0,setTimeout(()=>{Mu=!1},50)}function zh(e){e.pointerType==="touch"&&ip()}function K0(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",zh):process.env.NODE_ENV==="test"&&document.addEventListener("touchend",ip),bd++,()=>{bd--,!(bd>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",zh):process.env.NODE_ENV==="test"&&document.removeEventListener("touchend",ip))}}function J0(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:i,isDisabled:a}=e,[u,p]=A.useState(!1),m=A.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;A.useEffect(K0,[]);let{addGlobalListener:h,removeAllGlobalListeners:v}=Bg(),{hoverProps:C,triggerHoverEnd:x}=A.useMemo(()=>{let F=(D,T)=>{if(m.pointerType=T,a||T==="touch"||m.isHovered||!D.currentTarget.contains(D.target))return;m.isHovered=!0;let O=D.currentTarget;m.target=O,h(ki(D.target),"pointerover",U=>{m.isHovered&&m.target&&!Ng(m.target,U.target)&&I(U,U.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:O,pointerType:T}),r&&r(!0),p(!0)},I=(D,T)=>{let O=m.target;m.pointerType="",m.target=null,!(T==="touch"||!m.isHovered||!O)&&(m.isHovered=!1,v(),i&&i({type:"hoverend",target:O,pointerType:T}),r&&r(!1),p(!1))},L={};return typeof PointerEvent<"u"?(L.onPointerEnter=D=>{Mu&&D.pointerType==="mouse"||F(D,D.pointerType)},L.onPointerLeave=D=>{!a&&D.currentTarget.contains(D.target)&&I(D,D.pointerType)}):process.env.NODE_ENV==="test"&&(L.onTouchStart=()=>{m.ignoreEmulatedMouseEvents=!0},L.onMouseEnter=D=>{!m.ignoreEmulatedMouseEvents&&!Mu&&F(D,"mouse"),m.ignoreEmulatedMouseEvents=!1},L.onMouseLeave=D=>{!a&&D.currentTarget.contains(D.target)&&I(D,"mouse")}),{hoverProps:L,triggerHoverEnd:I}},[t,r,i,a,m,h,v]);return A.useEffect(()=>{a&&x({currentTarget:m.target},m.pointerType)},[a]),{hoverProps:C,isHovered:u}}function Z0(e={}){let{autoFocus:t=!1,isTextInput:r,within:i}=e,a=A.useRef({isFocused:!1,isFocusVisible:t||Xg()}),[u,p]=A.useState(!1),[m,h]=A.useState(()=>a.current.isFocused&&a.current.isFocusVisible),v=A.useCallback(()=>h(a.current.isFocused&&a.current.isFocusVisible),[]),C=A.useCallback(I=>{a.current.isFocused=I,p(I),v()},[v]);X0(I=>{a.current.isFocusVisible=I,v()},[],{isTextInput:r});let{focusProps:x}=Q0({isDisabled:i,onFocusChange:C}),{focusWithinProps:F}=q0({isDisabled:!i,onFocusWithinChange:C});return{isFocused:u,isFocusVisible:m,focusProps:i?F:x}}var ew=Object.defineProperty,tw=(e,t,r)=>t in e?ew(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,wd=(e,t,r)=>(tw(e,typeof t!="symbol"?t+"":t,r),r);let nw=class{constructor(){wd(this,"current",this.detect()),wd(this,"handoffState","pending"),wd(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},xa=new nw;function Wu(e){var t,r;return xa.isServer?null:e?"ownerDocument"in e?e.ownerDocument:"current"in e?(r=(t=e.current)==null?void 0:t.ownerDocument)!=null?r:document:null:document}function Vu(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function yo(){let e=[],t={addEventListener(r,i,a,u){return r.addEventListener(i,a,u),t.add(()=>r.removeEventListener(i,a,u))},requestAnimationFrame(...r){let i=requestAnimationFrame(...r);return t.add(()=>cancelAnimationFrame(i))},nextFrame(...r){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...r))},setTimeout(...r){let i=setTimeout(...r);return t.add(()=>clearTimeout(i))},microTask(...r){let i={current:!0};return Vu(()=>{i.current&&r[0]()}),t.add(()=>{i.current=!1})},style(r,i,a){let u=r.style.getPropertyValue(i);return Object.assign(r.style,{[i]:a}),this.add(()=>{Object.assign(r.style,{[i]:u})})},group(r){let i=yo();return r(i),this.add(()=>i.dispose())},add(r){return e.includes(r)||e.push(r),()=>{let i=e.indexOf(r);if(i>=0)for(let a of e.splice(i,1))a()}},dispose(){for(let r of e.splice(0))r()}};return t}function Vp(){let[e]=A.useState(yo);return A.useEffect(()=>()=>e.dispose(),[e]),e}let Mt=(e,t)=>{xa.isServer?A.useEffect(e,t):A.useLayoutEffect(e,t)};function Ra(e){let t=A.useRef(e);return Mt(()=>{t.current=e},[e]),t}let tt=function(e){let t=Ra(e);return A.useCallback((...r)=>t.current(...r),[t])},Qg=A.createContext(void 0);function Gu(){return A.useContext(Qg)}function rw({value:e,children:t}){return A.createElement(Qg.Provider,{value:e},t)}function ap(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}function po(e,t,...r){if(e in t){let a=t[e];return typeof a=="function"?a(...r):a}let i=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(a=>`"${a}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,po),i}var Du=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Du||{}),mi=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(mi||{});function en(){let e=iw();return A.useCallback(t=>ow({mergeRefs:e,...t}),[e])}function ow({ourProps:e,theirProps:t,slot:r,defaultTag:i,features:a,visible:u=!0,name:p,mergeRefs:m}){m=m??aw;let h=qg(t,e);if(u)return wu(h,r,i,p,m);let v=a??0;if(v&2){let{static:C=!1,...x}=h;if(C)return wu(x,r,i,p,m)}if(v&1){let{unmount:C=!0,...x}=h;return po(C?0:1,{0(){return null},1(){return wu({...x,hidden:!0,style:{display:"none"}},r,i,p,m)}})}return wu(h,r,i,p,m)}function wu(e,t={},r,i,a){let{as:u=r,children:p,refName:m="ref",...h}=xd(e,["unmount","static"]),v=e.ref!==void 0?{[m]:e.ref}:{},C=typeof p=="function"?p(t):p;"className"in h&&h.className&&typeof h.className=="function"&&(h.className=h.className(t)),h["aria-labelledby"]&&h["aria-labelledby"]===h.id&&(h["aria-labelledby"]=void 0);let x={};if(t){let F=!1,I=[];for(let[L,D]of Object.entries(t))typeof D=="boolean"&&(F=!0),D===!0&&I.push(L.replace(/([A-Z])/g,T=>`-${T.toLowerCase()}`));if(F){x["data-headlessui-state"]=I.join(" ");for(let L of I)x[`data-${L}`]=""}}if(u===A.Fragment&&(Object.keys(la(h)).length>0||Object.keys(la(x)).length>0))if(!A.isValidElement(C)||Array.isArray(C)&&C.length>1){if(Object.keys(la(h)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${i} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(la(h)).concat(Object.keys(la(x))).map(F=>` - ${F}`).join(`
|
|
126
|
+
`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(F=>` - ${F}`).join(`
|
|
3
127
|
`)].join(`
|
|
4
|
-
`))}else{let p=u.props,h=p==null?void 0:p.className,y=typeof h=="function"?(...w)=>ls(h(...w),l.className):ls(h,l.className),g=y?{className:y}:{},b=Hl(u.props,_t(bo(l,["ref"])));for(let w in f)w in b&&delete f[w];return d.cloneElement(u,Object.assign({},b,f,c,{ref:o(Ad(u),c.ref)},g))}return d.createElement(s,Object.assign({},bo(l,["ref"]),s!==d.Fragment&&c,s!==d.Fragment&&f),u)}function Td(){let e=d.useRef([]),t=d.useCallback(n=>{for(let r of e.current)r!=null&&(typeof r=="function"?r(n):r.current=n)},[]);return(...n)=>{if(!n.every(r=>r==null))return e.current=n,t}}function Pd(...e){return e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}function Hl(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let o in r)o.startsWith("on")&&typeof r[o]=="function"?(n[o]!=null||(n[o]=[]),n[o].push(r[o])):t[o]=r[o];if(t.disabled||t["aria-disabled"])for(let r in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(r)&&(n[r]=[o=>{var s;return(s=o==null?void 0:o.preventDefault)==null?void 0:s.call(o)}]);for(let r in n)Object.assign(t,{[r](o,...s){let a=n[r];for(let i of a){if((o instanceof Event||(o==null?void 0:o.nativeEvent)instanceof Event)&&o.defaultPrevented)return;i(o,...s)}}});return t}function kd(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let o in r)o.startsWith("on")&&typeof r[o]=="function"?(n[o]!=null||(n[o]=[]),n[o].push(r[o])):t[o]=r[o];for(let r in n)Object.assign(t,{[r](...o){let s=n[r];for(let a of s)a==null||a(...o)}});return t}function we(e){var t;return Object.assign(d.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function _t(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function bo(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function Ad(e){return d.version.split(".")[0]>="19"?e.props.ref:e.ref}let Rd="span";var Xn=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Xn||{});function $d(e,t){var n;let{features:r=1,...o}=e,s={ref:t,"aria-hidden":(r&2)===2?!0:(n=o["aria-hidden"])!=null?n:void 0,hidden:(r&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(r&4)===4&&(r&2)!==2&&{display:"none"}}};return Pe()({ourProps:s,theirProps:o,slot:{},defaultTag:Rd,name:"Hidden"})}let Nr=we($d),Fd=d.createContext(null);function Id(e){let[t,n]=d.useState(null);return d.createElement(Fd.Provider,{value:{target:t}},e.children,d.createElement(Nr,{features:Xn.Hidden,ref:n}))}let Ul=d.createContext(void 0);function Bl(){return d.useContext(Ul)}function Md({id:e,children:t}){return d.createElement(Ul.Provider,{value:e},t)}function Wl(e){return typeof e!="object"||e===null?!1:"nodeType"in e}function tt(e){return Wl(e)&&"tagName"in e}function Rt(e){return tt(e)&&"accessKey"in e}function kt(e){return tt(e)&&"tabIndex"in e}function Nd(e){return tt(e)&&"style"in e}function Ld(e){return Rt(e)&&e.nodeName==="IFRAME"}function ql(e){return Rt(e)&&e.nodeName==="INPUT"}function ka(e){return Rt(e)&&e.nodeName==="LABEL"}function _d(e){return tt(e)?e.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]'):!1}let Vl=Symbol();function Dd(e,t=!0){return Object.assign(e,{[Vl]:t})}function Ue(...e){let t=d.useRef(e);d.useEffect(()=>{t.current=e},[e]);let n=ce(r=>{for(let o of t.current)o!=null&&(typeof o=="function"?o(r):o.current=r)});return e.every(r=>r==null||(r==null?void 0:r[Vl]))?void 0:n}let Vr=d.createContext(null);Vr.displayName="DescriptionContext";function Gl(){let e=d.useContext(Vr);if(e===null){let t=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,Gl),t}return e}function jd(){var e,t;return(t=(e=d.useContext(Vr))==null?void 0:e.value)!=null?t:void 0}function Yl(){let[e,t]=d.useState([]);return[e.length>0?e.join(" "):void 0,d.useMemo(()=>function(n){let r=ce(s=>(t(a=>[...a,s]),()=>t(a=>{let i=a.slice(),l=i.indexOf(s);return l!==-1&&i.splice(l,1),i}))),o=d.useMemo(()=>({register:r,slot:n.slot,name:n.name,props:n.props,value:n.value}),[r,n.slot,n.name,n.props,n.value]);return d.createElement(Vr.Provider,{value:o},n.children)},[t])]}let zd="p";function Hd(e,t){let n=d.useId(),r=qr(),{id:o=`headlessui-description-${n}`,...s}=e,a=Gl(),i=Ue(t);xe(()=>a.register(o),[o,a.register]);let l=r||!1,c=d.useMemo(()=>({...a.slot,disabled:l}),[a.slot,l]),u={ref:i,...a.props,id:o};return Pe()({ourProps:u,theirProps:s,slot:c,defaultTag:zd,name:a.name||"Description"})}let Ud=we(Hd),Kl=Object.assign(Ud,{});var Ql=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(Ql||{});let Gr=d.createContext(null);Gr.displayName="LabelContext";function Xl(){let e=d.useContext(Gr);if(e===null){let t=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,Xl),t}return e}function Jl(e){var t,n,r;let o=(n=(t=d.useContext(Gr))==null?void 0:t.value)!=null?n:void 0;return((r=void 0)!=null?r:0)>0?[o,...e].filter(Boolean).join(" "):o}function Bd({inherit:e=!1}={}){let t=Jl(),[n,r]=d.useState([]),o=e?[t,...n].filter(Boolean):n;return[o.length>0?o.join(" "):void 0,d.useMemo(()=>function(s){let a=ce(l=>(r(c=>[...c,l]),()=>r(c=>{let u=c.slice(),f=u.indexOf(l);return f!==-1&&u.splice(f,1),u}))),i=d.useMemo(()=>({register:a,slot:s.slot,name:s.name,props:s.props,value:s.value}),[a,s.slot,s.name,s.props,s.value]);return d.createElement(Gr.Provider,{value:i},s.children)},[r])]}let Wd="label";function qd(e,t){var n;let r=d.useId(),o=Xl(),s=Bl(),a=qr(),{id:i=`headlessui-label-${r}`,htmlFor:l=s??((n=o.props)==null?void 0:n.htmlFor),passive:c=!1,...u}=e,f=Ue(t);xe(()=>o.register(i),[i,o.register]);let p=ce(b=>{let w=b.currentTarget;if(!(b.target!==b.currentTarget&&_d(b.target))&&(ka(w)&&b.preventDefault(),o.props&&"onClick"in o.props&&typeof o.props.onClick=="function"&&o.props.onClick(b),ka(w))){let C=document.getElementById(w.htmlFor);if(C){let x=C.getAttribute("disabled");if(x==="true"||x==="")return;let E=C.getAttribute("aria-disabled");if(E==="true"||E==="")return;(ql(C)&&(C.type==="file"||C.type==="radio"||C.type==="checkbox")||C.role==="radio"||C.role==="checkbox"||C.role==="switch")&&C.click(),C.focus({preventScroll:!0})}}}),h=a||!1,y=d.useMemo(()=>({...o.slot,disabled:h}),[o.slot,h]),g={ref:f,...o.props,id:i,htmlFor:l,onClick:p};return c&&("onClick"in g&&(delete g.htmlFor,delete g.onClick),"onClick"in u&&delete u.onClick),Pe()({ourProps:g,theirProps:u,slot:y,defaultTag:l?Wd:"div",name:o.name||"Label"})}let Vd=we(qd),Gd=Object.assign(Vd,{}),Yd=d.createContext(()=>{});function Kd({value:e,children:t}){return d.createElement(Yd.Provider,{value:e},t)}let Zl=class extends Map{constructor(t){super(),this.factory=t}get(t){let n=super.get(t);return n===void 0&&(n=this.factory(t),this.set(t,n)),n}};var Qd=Object.defineProperty,Xd=(e,t,n)=>t in e?Qd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Jd=(e,t,n)=>(Xd(e,t+"",n),n),ec=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},Ie=(e,t,n)=>(ec(e,t,"read from private field"),n?n.call(e):t.get(e)),yo=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},Aa=(e,t,n,r)=>(ec(e,t,"write to private field"),t.set(e,n),n),Be,Dn,jn;let Zd=class{constructor(t){yo(this,Be,{}),yo(this,Dn,new Zl(()=>new Set)),yo(this,jn,new Set),Jd(this,"disposables",ut()),Aa(this,Be,t)}dispose(){this.disposables.dispose()}get state(){return Ie(this,Be)}subscribe(t,n){let r={selector:t,callback:n,current:t(Ie(this,Be))};return Ie(this,jn).add(r),this.disposables.add(()=>{Ie(this,jn).delete(r)})}on(t,n){return Ie(this,Dn).get(t).add(n),this.disposables.add(()=>{Ie(this,Dn).get(t).delete(n)})}send(t){let n=this.reduce(Ie(this,Be),t);if(n!==Ie(this,Be)){Aa(this,Be,n);for(let r of Ie(this,jn)){let o=r.selector(Ie(this,Be));tc(r.current,o)||(r.current=o,r.callback(o))}for(let r of Ie(this,Dn).get(t.type))r(Ie(this,Be),t)}}};Be=new WeakMap,Dn=new WeakMap,jn=new WeakMap;function tc(e,t){return Object.is(e,t)?!0:typeof e!="object"||e===null||typeof t!="object"||t===null?!1:Array.isArray(e)&&Array.isArray(t)?e.length!==t.length?!1:vo(e[Symbol.iterator](),t[Symbol.iterator]()):e instanceof Map&&t instanceof Map||e instanceof Set&&t instanceof Set?e.size!==t.size?!1:vo(e.entries(),t.entries()):Ra(e)&&Ra(t)?vo(Object.entries(e)[Symbol.iterator](),Object.entries(t)[Symbol.iterator]()):!1}function vo(e,t){do{let n=e.next(),r=t.next();if(n.done&&r.done)return!0;if(n.done||r.done||!Object.is(n.value,r.value))return!1}while(!0)}function Ra(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}var eh=Object.defineProperty,th=(e,t,n)=>t in e?eh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$a=(e,t,n)=>(th(e,typeof t!="symbol"?t+"":t,n),n),nh=(e=>(e[e.Push=0]="Push",e[e.Pop=1]="Pop",e))(nh||{});let rh={0(e,t){let n=t.id,r=e.stack,o=e.stack.indexOf(n);if(o!==-1){let s=e.stack.slice();return s.splice(o,1),s.push(n),r=s,{...e,stack:r}}return{...e,stack:[...e.stack,n]}},1(e,t){let n=t.id,r=e.stack.indexOf(n);if(r===-1)return e;let o=e.stack.slice();return o.splice(r,1),{...e,stack:o}}},oh=class nc extends Zd{constructor(){super(...arguments),$a(this,"actions",{push:t=>this.send({type:0,id:t}),pop:t=>this.send({type:1,id:t})}),$a(this,"selectors",{isTop:(t,n)=>t.stack[t.stack.length-1]===n,inStack:(t,n)=>t.stack.includes(n)})}static new(){return new nc({stack:[]})}reduce(t,n){return st(n.type,rh,t,n)}};const rc=new Zl(()=>oh.new());function sh(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var vr={exports:{}},xo={};/**
|
|
128
|
+
`))}else{let F=C.props,I=F==null?void 0:F.className,L=typeof I=="function"?(...O)=>ap(I(...O),h.className):ap(I,h.className),D=L?{className:L}:{},T=qg(C.props,la(xd(h,["ref"])));for(let O in x)O in T&&delete x[O];return A.cloneElement(C,Object.assign({},T,x,v,{ref:a(lw(C),v.ref)},D))}return A.createElement(u,Object.assign({},xd(h,["ref"]),u!==A.Fragment&&v,u!==A.Fragment&&x),C)}function iw(){let e=A.useRef([]),t=A.useCallback(r=>{for(let i of e.current)i!=null&&(typeof i=="function"?i(r):i.current=r)},[]);return(...r)=>{if(!r.every(i=>i==null))return e.current=r,t}}function aw(...e){return e.every(t=>t==null)?void 0:t=>{for(let r of e)r!=null&&(typeof r=="function"?r(t):r.current=t)}}function qg(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},r={};for(let i of e)for(let a in i)a.startsWith("on")&&typeof i[a]=="function"?(r[a]!=null||(r[a]=[]),r[a].push(i[a])):t[a]=i[a];if(t.disabled||t["aria-disabled"])for(let i in r)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(i)&&(r[i]=[a=>{var u;return(u=a==null?void 0:a.preventDefault)==null?void 0:u.call(a)}]);for(let i in r)Object.assign(t,{[i](a,...u){let p=r[i];for(let m of p){if((a instanceof Event||(a==null?void 0:a.nativeEvent)instanceof Event)&&a.defaultPrevented)return;m(a,...u)}}});return t}function sw(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},r={};for(let i of e)for(let a in i)a.startsWith("on")&&typeof i[a]=="function"?(r[a]!=null||(r[a]=[]),r[a].push(i[a])):t[a]=i[a];for(let i in r)Object.assign(t,{[i](...a){let u=r[i];for(let p of u)p==null||p(...a)}});return t}function Dt(e){var t;return Object.assign(A.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function la(e){let t=Object.assign({},e);for(let r in t)t[r]===void 0&&delete t[r];return t}function xd(e,t=[]){let r=Object.assign({},e);for(let i of t)i in r&&delete r[i];return r}function lw(e){return A.version.split(".")[0]>="19"?e.props.ref:e.ref}let cw="span";var cc=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(cc||{});function uw(e,t){var r;let{features:i=1,...a}=e,u={ref:t,"aria-hidden":(i&2)===2?!0:(r=a["aria-hidden"])!=null?r:void 0,hidden:(i&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(i&4)===4&&(i&2)!==2&&{display:"none"}}};return en()({ourProps:u,theirProps:a,slot:{},defaultTag:cw,name:"Hidden"})}let _u=Dt(uw),fw=A.createContext(null);function dw(e){let[t,r]=A.useState(null);return A.createElement(fw.Provider,{value:{target:t}},e.children,A.createElement(_u,{features:cc.Hidden,ref:r}))}let Kg=A.createContext(void 0);function Jg(){return A.useContext(Kg)}function pw({id:e,children:t}){return A.createElement(Kg.Provider,{value:e},t)}function Zg(e){return typeof e!="object"||e===null?!1:"nodeType"in e}function lo(e){return Zg(e)&&"tagName"in e}function yi(e){return lo(e)&&"accessKey"in e}function gi(e){return lo(e)&&"tabIndex"in e}function hw(e){return lo(e)&&"style"in e}function mw(e){return yi(e)&&e.nodeName==="IFRAME"}function ev(e){return yi(e)&&e.nodeName==="INPUT"}function Bh(e){return yi(e)&&e.nodeName==="LABEL"}function gw(e){return lo(e)?e.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]'):!1}let tv=Symbol();function vw(e,t=!0){return Object.assign(e,{[tv]:t})}function sr(...e){let t=A.useRef(e);A.useEffect(()=>{t.current=e},[e]);let r=tt(i=>{for(let a of t.current)a!=null&&(typeof a=="function"?a(i):a.current=i)});return e.every(i=>i==null||(i==null?void 0:i[tv]))?void 0:r}let Yu=A.createContext(null);Yu.displayName="DescriptionContext";function nv(){let e=A.useContext(Yu);if(e===null){let t=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,nv),t}return e}function yw(){var e,t;return(t=(e=A.useContext(Yu))==null?void 0:e.value)!=null?t:void 0}function rv(){let[e,t]=A.useState([]);return[e.length>0?e.join(" "):void 0,A.useMemo(()=>function(r){let i=tt(u=>(t(p=>[...p,u]),()=>t(p=>{let m=p.slice(),h=m.indexOf(u);return h!==-1&&m.splice(h,1),m}))),a=A.useMemo(()=>({register:i,slot:r.slot,name:r.name,props:r.props,value:r.value}),[i,r.slot,r.name,r.props,r.value]);return A.createElement(Yu.Provider,{value:a},r.children)},[t])]}let bw="p";function ww(e,t){let r=A.useId(),i=Gu(),{id:a=`headlessui-description-${r}`,...u}=e,p=nv(),m=sr(t);Mt(()=>p.register(a),[a,p.register]);let h=i||!1,v=A.useMemo(()=>({...p.slot,disabled:h}),[p.slot,h]),C={ref:m,...p.props,id:a};return en()({ourProps:C,theirProps:u,slot:v,defaultTag:bw,name:p.name||"Description"})}let xw=Dt(ww),ov=Object.assign(xw,{});var iv=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(iv||{});let Xu=A.createContext(null);Xu.displayName="LabelContext";function av(){let e=A.useContext(Xu);if(e===null){let t=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,av),t}return e}function sv(e){var t,r,i;let a=(r=(t=A.useContext(Xu))==null?void 0:t.value)!=null?r:void 0;return((i=void 0)!=null?i:0)>0?[a,...e].filter(Boolean).join(" "):a}function Sw({inherit:e=!1}={}){let t=sv(),[r,i]=A.useState([]),a=e?[t,...r].filter(Boolean):r;return[a.length>0?a.join(" "):void 0,A.useMemo(()=>function(u){let p=tt(h=>(i(v=>[...v,h]),()=>i(v=>{let C=v.slice(),x=C.indexOf(h);return x!==-1&&C.splice(x,1),C}))),m=A.useMemo(()=>({register:p,slot:u.slot,name:u.name,props:u.props,value:u.value}),[p,u.slot,u.name,u.props,u.value]);return A.createElement(Xu.Provider,{value:m},u.children)},[i])]}let kw="label";function Ew(e,t){var r;let i=A.useId(),a=av(),u=Jg(),p=Gu(),{id:m=`headlessui-label-${i}`,htmlFor:h=u??((r=a.props)==null?void 0:r.htmlFor),passive:v=!1,...C}=e,x=sr(t);Mt(()=>a.register(m),[m,a.register]);let F=tt(T=>{let O=T.currentTarget;if(!(T.target!==T.currentTarget&&gw(T.target))&&(Bh(O)&&T.preventDefault(),a.props&&"onClick"in a.props&&typeof a.props.onClick=="function"&&a.props.onClick(T),Bh(O))){let U=document.getElementById(O.htmlFor);if(U){let j=U.getAttribute("disabled");if(j==="true"||j==="")return;let V=U.getAttribute("aria-disabled");if(V==="true"||V==="")return;(ev(U)&&(U.type==="file"||U.type==="radio"||U.type==="checkbox")||U.role==="radio"||U.role==="checkbox"||U.role==="switch")&&U.click(),U.focus({preventScroll:!0})}}}),I=p||!1,L=A.useMemo(()=>({...a.slot,disabled:I}),[a.slot,I]),D={ref:x,...a.props,id:m,htmlFor:h,onClick:F};return v&&("onClick"in D&&(delete D.htmlFor,delete D.onClick),"onClick"in C&&delete C.onClick),en()({ourProps:D,theirProps:C,slot:L,defaultTag:h?kw:"div",name:a.name||"Label"})}let Cw=Dt(Ew),Tw=Object.assign(Cw,{}),Rw=A.createContext(()=>{});function Pw({value:e,children:t}){return A.createElement(Rw.Provider,{value:e},t)}let lv=class extends Map{constructor(t){super(),this.factory=t}get(t){let r=super.get(t);return r===void 0&&(r=this.factory(t),this.set(t,r)),r}};var Aw=Object.defineProperty,Ow=(e,t,r)=>t in e?Aw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Iw=(e,t,r)=>(Ow(e,t+"",r),r),cv=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},jn=(e,t,r)=>(cv(e,t,"read from private field"),r?r.call(e):t.get(e)),Sd=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},Uh=(e,t,r,i)=>(cv(e,t,"write to private field"),t.set(e,r),r),Er,ql,Kl;let Fw=class{constructor(t){Sd(this,Er,{}),Sd(this,ql,new lv(()=>new Set)),Sd(this,Kl,new Set),Iw(this,"disposables",yo()),Uh(this,Er,t)}dispose(){this.disposables.dispose()}get state(){return jn(this,Er)}subscribe(t,r){let i={selector:t,callback:r,current:t(jn(this,Er))};return jn(this,Kl).add(i),this.disposables.add(()=>{jn(this,Kl).delete(i)})}on(t,r){return jn(this,ql).get(t).add(r),this.disposables.add(()=>{jn(this,ql).get(t).delete(r)})}send(t){let r=this.reduce(jn(this,Er),t);if(r!==jn(this,Er)){Uh(this,Er,r);for(let i of jn(this,Kl)){let a=i.selector(jn(this,Er));uv(i.current,a)||(i.current=a,i.callback(a))}for(let i of jn(this,ql).get(t.type))i(jn(this,Er),t)}}};Er=new WeakMap,ql=new WeakMap,Kl=new WeakMap;function uv(e,t){return Object.is(e,t)?!0:typeof e!="object"||e===null||typeof t!="object"||t===null?!1:Array.isArray(e)&&Array.isArray(t)?e.length!==t.length?!1:kd(e[Symbol.iterator](),t[Symbol.iterator]()):e instanceof Map&&t instanceof Map||e instanceof Set&&t instanceof Set?e.size!==t.size?!1:kd(e.entries(),t.entries()):Hh(e)&&Hh(t)?kd(Object.entries(e)[Symbol.iterator](),Object.entries(t)[Symbol.iterator]()):!1}function kd(e,t){do{let r=e.next(),i=t.next();if(r.done&&i.done)return!0;if(r.done||i.done||!Object.is(r.value,i.value))return!1}while(!0)}function Hh(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}var Mw=Object.defineProperty,Dw=(e,t,r)=>t in e?Mw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Wh=(e,t,r)=>(Dw(e,typeof t!="symbol"?t+"":t,r),r),_w=(e=>(e[e.Push=0]="Push",e[e.Pop=1]="Pop",e))(_w||{});let Lw={0(e,t){let r=t.id,i=e.stack,a=e.stack.indexOf(r);if(a!==-1){let u=e.stack.slice();return u.splice(a,1),u.push(r),i=u,{...e,stack:i}}return{...e,stack:[...e.stack,r]}},1(e,t){let r=t.id,i=e.stack.indexOf(r);if(i===-1)return e;let a=e.stack.slice();return a.splice(i,1),{...e,stack:a}}},$w=class fv extends Fw{constructor(){super(...arguments),Wh(this,"actions",{push:t=>this.send({type:0,id:t}),pop:t=>this.send({type:1,id:t})}),Wh(this,"selectors",{isTop:(t,r)=>t.stack[t.stack.length-1]===r,inStack:(t,r)=>t.stack.includes(r)})}static new(){return new fv({stack:[]})}reduce(t,r){return po(r.type,Lw,t,r)}};const dv=new lv(()=>$w.new());var xu={exports:{}},Ed={};/**
|
|
5
129
|
* @license React
|
|
6
130
|
* use-sync-external-store-with-selector.production.js
|
|
7
131
|
*
|
|
@@ -9,7 +133,7 @@
|
|
|
9
133
|
*
|
|
10
134
|
* This source code is licensed under the MIT license found in the
|
|
11
135
|
* LICENSE file in the root directory of this source tree.
|
|
12
|
-
*/var
|
|
136
|
+
*/var Vh;function jw(){if(Vh)return Ed;Vh=1;var e=A;function t(h,v){return h===v&&(h!==0||1/h===1/v)||h!==h&&v!==v}var r=typeof Object.is=="function"?Object.is:t,i=e.useSyncExternalStore,a=e.useRef,u=e.useEffect,p=e.useMemo,m=e.useDebugValue;return Ed.useSyncExternalStoreWithSelector=function(h,v,C,x,F){var I=a(null);if(I.current===null){var L={hasValue:!1,value:null};I.current=L}else L=I.current;I=p(function(){function T($){if(!O){if(O=!0,U=$,$=x($),F!==void 0&&L.hasValue){var J=L.value;if(F(J,$))return j=J}return j=$}if(J=j,r(U,$))return J;var ae=x($);return F!==void 0&&F(J,ae)?(U=$,J):(U=$,j=ae)}var O=!1,U,j,V=C===void 0?null:C;return[function(){return T(v())},V===null?void 0:function(){return T(V())}]},[v,C,x,F]);var D=i(h,I[0],I[1]);return u(function(){L.hasValue=!0,L.value=D},[D]),m(D),D},Ed}var Cd={};/**
|
|
13
137
|
* @license React
|
|
14
138
|
* use-sync-external-store-with-selector.development.js
|
|
15
139
|
*
|
|
@@ -17,16 +141,16 @@
|
|
|
17
141
|
*
|
|
18
142
|
* This source code is licensed under the MIT license found in the
|
|
19
143
|
* LICENSE file in the root directory of this source tree.
|
|
20
|
-
*/var Ia;function ih(){return Ia||(Ia=1,process.env.NODE_ENV!=="production"&&function(){function e(l,c){return l===c&&(l!==0||1/l===1/c)||l!==l&&c!==c}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var t=d,n=typeof Object.is=="function"?Object.is:e,r=t.useSyncExternalStore,o=t.useRef,s=t.useEffect,a=t.useMemo,i=t.useDebugValue;wo.useSyncExternalStoreWithSelector=function(l,c,u,f,p){var h=o(null);if(h.current===null){var y={hasValue:!1,value:null};h.current=y}else y=h.current;h=a(function(){function b(v){if(!w){if(w=!0,C=v,v=f(v),p!==void 0&&y.hasValue){var $=y.value;if(p($,v))return x=$}return x=v}if($=x,n(C,v))return $;var H=f(v);return p!==void 0&&p($,H)?(C=v,$):(C=v,x=H)}var w=!1,C,x,E=u===void 0?null:u;return[function(){return b(c())},E===null?void 0:function(){return b(E())}]},[c,u,f,p]);var g=r(l,h[0],h[1]);return s(function(){y.hasValue=!0,y.value=g},[g]),i(g),g},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),wo}var Ma;function lh(){return Ma||(Ma=1,process.env.NODE_ENV==="production"?vr.exports=ah():vr.exports=ih()),vr.exports}var ch=lh();function oc(e,t,n=tc){return ch.useSyncExternalStoreWithSelector(ce(r=>e.subscribe(uh,r)),ce(()=>e.state),ce(()=>e.state),ce(t),n)}function uh(e){return e}function lr(e,t){let n=d.useId(),r=rc.get(t),[o,s]=oc(r,d.useCallback(a=>[r.selectors.isTop(a,n),r.selectors.inStack(a,n)],[r,n]));return xe(()=>{if(e)return r.actions.push(n),()=>r.actions.pop(n)},[r,e,n]),e?s?o:!0:!1}let cs=new Map,Wn=new Map;function Na(e){var t;let n=(t=Wn.get(e))!=null?t:0;return Wn.set(e,n+1),n!==0?()=>La(e):(cs.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0,()=>La(e))}function La(e){var t;let n=(t=Wn.get(e))!=null?t:1;if(n===1?Wn.delete(e):Wn.set(e,n-1),n!==1)return;let r=cs.get(e);r&&(r["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r["aria-hidden"]),e.inert=r.inert,cs.delete(e))}function fh(e,{allowed:t,disallowed:n}={}){let r=lr(e,"inert-others");xe(()=>{var o,s;if(!r)return;let a=ut();for(let l of(o=n==null?void 0:n())!=null?o:[])l&&a.add(Na(l));let i=(s=t==null?void 0:t())!=null?s:[];for(let l of i){if(!l)continue;let c=Br(l);if(!c)continue;let u=l.parentElement;for(;u&&u!==c.body;){for(let f of u.children)i.some(p=>f.contains(p))||a.add(Na(f));u=u.parentElement}}return a.dispose},[r,t,n])}function dh(e,t,n){let r=nn(o=>{let s=o.getBoundingClientRect();s.x===0&&s.y===0&&s.width===0&&s.height===0&&n()});d.useEffect(()=>{if(!e)return;let o=t===null?null:Rt(t)?t:t.current;if(!o)return;let s=ut();if(typeof ResizeObserver<"u"){let a=new ResizeObserver(()=>r.current(o));a.observe(o),s.add(()=>a.disconnect())}if(typeof IntersectionObserver<"u"){let a=new IntersectionObserver(()=>r.current(o));a.observe(o),s.add(()=>a.disconnect())}return()=>s.dispose()},[t,r,e])}let Lr=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),hh=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var et=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(et||{}),us=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(us||{}),ph=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(ph||{});function mh(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Lr)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}function gh(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(hh)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var sc=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(sc||{});function bh(e,t=0){var n;return e===((n=Br(e))==null?void 0:n.body)?!1:st(t,{0(){return e.matches(Lr)},1(){let r=e;for(;r!==null;){if(r.matches(Lr))return!0;r=r.parentElement}return!1}})}var yh=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(yh||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function nt(e){e==null||e.focus({preventScroll:!0})}let vh=["textarea","input"].join(",");function xh(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,vh))!=null?n:!1}function wh(e,t=n=>n){return e.slice().sort((n,r)=>{let o=t(n),s=t(r);if(o===null||s===null)return 0;let a=o.compareDocumentPosition(s);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function qn(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:o=[]}={}){let s=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,a=Array.isArray(e)?n?wh(e):e:t&64?gh(e):mh(e);o.length>0&&a.length>1&&(a=a.filter(h=>!o.some(y=>y!=null&&"current"in y?(y==null?void 0:y.current)===h:y===h))),r=r??s.activeElement;let i=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,a.indexOf(r))-1;if(t&4)return Math.max(0,a.indexOf(r))+1;if(t&8)return a.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=t&32?{preventScroll:!0}:{},u=0,f=a.length,p;do{if(u>=f||u+f<=0)return 0;let h=l+u;if(t&16)h=(h+f)%f;else{if(h<0)return 3;if(h>=f)return 1}p=a[h],p==null||p.focus(c),u+=i}while(p!==s.activeElement);return t&6&&xh(p)&&p.select(),2}function ac(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Eh(){return/Android/gi.test(window.navigator.userAgent)}function _a(){return ac()||Eh()}function xr(e,t,n,r){let o=nn(n);d.useEffect(()=>{if(!e)return;function s(a){o.current(a)}return document.addEventListener(t,s,r),()=>document.removeEventListener(t,s,r)},[e,t,r])}function ic(e,t,n,r){let o=nn(n);d.useEffect(()=>{if(!e)return;function s(a){o.current(a)}return window.addEventListener(t,s,r),()=>window.removeEventListener(t,s,r)},[e,t,r])}const Da=30;function Ch(e,t,n){let r=nn(n),o=d.useCallback(function(i,l){if(i.defaultPrevented)return;let c=l(i);if(c===null||!c.getRootNode().contains(c)||!c.isConnected)return;let u=function f(p){return typeof p=="function"?f(p()):Array.isArray(p)||p instanceof Set?p:[p]}(t);for(let f of u)if(f!==null&&(f.contains(c)||i.composed&&i.composedPath().includes(f)))return;return!bh(c,sc.Loose)&&c.tabIndex!==-1&&i.preventDefault(),r.current(i,c)},[r,t]),s=d.useRef(null);xr(e,"pointerdown",i=>{var l,c;_a()||(s.current=((c=(l=i.composedPath)==null?void 0:l.call(i))==null?void 0:c[0])||i.target)},!0),xr(e,"pointerup",i=>{if(_a()||!s.current)return;let l=s.current;return s.current=null,o(i,()=>l)},!0);let a=d.useRef({x:0,y:0});xr(e,"touchstart",i=>{a.current.x=i.touches[0].clientX,a.current.y=i.touches[0].clientY},!0),xr(e,"touchend",i=>{let l={x:i.changedTouches[0].clientX,y:i.changedTouches[0].clientY};if(!(Math.abs(l.x-a.current.x)>=Da||Math.abs(l.y-a.current.y)>=Da))return o(i,()=>kt(i.target)?i.target:null)},!0),ic(e,"blur",i=>o(i,()=>Ld(window.document.activeElement)?window.document.activeElement:null),!0)}function Yr(...e){return d.useMemo(()=>Br(...e),[...e])}function lc(e,t,n,r){let o=nn(n);d.useEffect(()=>{e=e??window;function s(a){o.current(a)}return e.addEventListener(t,s,r),()=>e.removeEventListener(t,s,r)},[e,t,r])}function Oh(e){return d.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot)}function Sh(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(o){return r.add(o),()=>r.delete(o)},dispatch(o,...s){let a=t[o].call(n,...s);a&&(n=a,r.forEach(i=>i()))}}}function Th(){let e;return{before({doc:t}){var n;let r=t.documentElement,o=(n=t.defaultView)!=null?n:window;e=Math.max(0,o.innerWidth-r.clientWidth)},after({doc:t,d:n}){let r=t.documentElement,o=Math.max(0,r.clientWidth-r.offsetWidth),s=Math.max(0,e-o);n.style(r,"paddingRight",`${s}px`)}}}function Ph(){return ac()?{before({doc:e,d:t,meta:n}){function r(o){return n.containers.flatMap(s=>s()).some(s=>s.contains(o))}t.microTask(()=>{var o;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let i=ut();i.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>i.dispose()))}let s=(o=window.scrollY)!=null?o:window.pageYOffset,a=null;t.addEventListener(e,"click",i=>{if(kt(i.target))try{let l=i.target.closest("a");if(!l)return;let{hash:c}=new URL(l.href),u=e.querySelector(c);kt(u)&&!r(u)&&(a=u)}catch{}},!0),t.addEventListener(e,"touchstart",i=>{if(kt(i.target)&&Nd(i.target))if(r(i.target)){let l=i.target;for(;l.parentElement&&r(l.parentElement);)l=l.parentElement;t.style(l,"overscrollBehavior","contain")}else t.style(i.target,"touchAction","none")}),t.addEventListener(e,"touchmove",i=>{if(kt(i.target)){if(ql(i.target))return;if(r(i.target)){let l=i.target;for(;l.parentElement&&l.dataset.headlessuiPortal!==""&&!(l.scrollHeight>l.clientHeight||l.scrollWidth>l.clientWidth);)l=l.parentElement;l.dataset.headlessuiPortal===""&&i.preventDefault()}else i.preventDefault()}},{passive:!1}),t.add(()=>{var i;let l=(i=window.scrollY)!=null?i:window.pageYOffset;s!==l&&window.scrollTo(0,s),a&&a.isConnected&&(a.scrollIntoView({block:"nearest"}),a=null)})})}}:{}}function kh(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function Ah(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let zt=Sh(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:ut(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:Ah(n)},o=[Ph(),Th(),kh()];o.forEach(({before:s})=>s==null?void 0:s(r)),o.forEach(({after:s})=>s==null?void 0:s(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});zt.subscribe(()=>{let e=zt.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let r=t.get(n.doc)==="hidden",o=n.count!==0;(o&&!r||!o&&r)&&zt.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&zt.dispatch("TEARDOWN",n)}});function Rh(e,t,n=()=>({containers:[]})){let r=Oh(zt),o=t?r.get(t):void 0,s=o?o.count>0:!1;return xe(()=>{if(!(!t||!e))return zt.dispatch("PUSH",t,n),()=>zt.dispatch("POP",t,n)},[e,t]),s}function $h(e,t,n=()=>[document.body]){let r=lr(e,"scroll-lock");Rh(r,t,o=>{var s;return{containers:[...(s=o.containers)!=null?s:[],n]}})}function Fh(e=0){let[t,n]=d.useState(e),r=d.useCallback(l=>n(l),[t]),o=d.useCallback(l=>n(c=>c|l),[t]),s=d.useCallback(l=>(t&l)===l,[t]),a=d.useCallback(l=>n(c=>c&~l),[n]),i=d.useCallback(l=>n(c=>c^l),[n]);return{flags:t,setFlag:r,addFlag:o,hasFlag:s,removeFlag:a,toggleFlag:i}}var ja,za;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((ja=process==null?void 0:process.env)==null?void 0:ja.NODE_ENV)==="test"&&typeof((za=Element==null?void 0:Element.prototype)==null?void 0:za.getAnimations)>"u"&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(`
|
|
21
|
-
`)),[]});var Ih=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(Ih||{});function Mh(e){let t={};for(let n in e)e[n]===!0&&(t[`data-${n}`]="");return t}function Nh(e,t,n,r){let[o,s]=d.useState(n),{hasFlag:a,addFlag:i,removeFlag:l}=Fh(e&&o?3:0),c=d.useRef(!1),u=d.useRef(!1),f=Vs();return xe(()=>{var p;if(e){if(n&&s(!0),!t){n&&i(3);return}return(p=r==null?void 0:r.start)==null||p.call(r,n),Lh(t,{inFlight:c,prepare(){u.current?u.current=!1:u.current=c.current,c.current=!0,!u.current&&(n?(i(3),l(4)):(i(4),l(2)))},run(){u.current?n?(l(3),i(4)):(l(4),i(3)):n?l(1):i(1)},done(){var h;u.current&&typeof t.getAnimations=="function"&&t.getAnimations().length>0||(c.current=!1,l(7),n||s(!1),(h=r==null?void 0:r.end)==null||h.call(r,n))}})}},[e,n,t,f]),e?[o,{closed:a(1),enter:a(2),leave:a(4),transition:a(2)||a(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function Lh(e,{prepare:t,run:n,done:r,inFlight:o}){let s=ut();return Dh(e,{prepare:t,inFlight:o}),s.nextFrame(()=>{n(),s.requestAnimationFrame(()=>{s.add(_h(e,r))})}),s.dispose}function _h(e,t){var n,r;let o=ut();if(!e)return o.dispose;let s=!1;o.add(()=>{s=!0});let a=(r=(n=e.getAnimations)==null?void 0:n.call(e).filter(i=>i instanceof CSSTransition))!=null?r:[];return a.length===0?(t(),o.dispose):(Promise.allSettled(a.map(i=>i.finished)).then(()=>{s||t()}),o.dispose)}function Dh(e,{inFlight:t,prepare:n}){if(t!=null&&t.current){n();return}let r=e.style.transition;e.style.transition="none",n(),e.offsetHeight,e.style.transition=r}function Gs(e,t){let n=d.useRef([]),r=ce(e);d.useEffect(()=>{let o=[...n.current];for(let[s,a]of t.entries())if(n.current[s]!==a){let i=r(t,o);return n.current=t,i}},[r,...t])}function Kr(){return typeof window<"u"}function In(e){return cc(e)?(e.nodeName||"").toLowerCase():"#document"}function Re(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ft(e){var t;return(t=(cc(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function cc(e){return Kr()?e instanceof Node||e instanceof Re(e).Node:!1}function me(e){return Kr()?e instanceof Element||e instanceof Re(e).Element:!1}function He(e){return Kr()?e instanceof HTMLElement||e instanceof Re(e).HTMLElement:!1}function fs(e){return!Kr()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Re(e).ShadowRoot}function cr(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Le(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function jh(e){return["table","td","th"].includes(In(e))}function Qr(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Ys(e){const t=Xr(),n=me(e)?Le(e):e;return["transform","translate","scale","rotate","perspective"].some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function zh(e){let t=at(e);for(;He(t)&&!rt(t);){if(Ys(t))return t;if(Qr(t))return null;t=at(t)}return null}function Xr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function rt(e){return["html","body","#document"].includes(In(e))}function Le(e){return Re(e).getComputedStyle(e)}function Jr(e){return me(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function at(e){if(In(e)==="html")return e;const t=e.assignedSlot||e.parentNode||fs(e)&&e.host||ft(e);return fs(t)?t.host:t}function uc(e){const t=at(e);return rt(t)?e.ownerDocument?e.ownerDocument.body:e.body:He(t)&&cr(t)?t:uc(t)}function dn(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=uc(e),s=o===((r=e.ownerDocument)==null?void 0:r.body),a=Re(o);if(s){const i=ds(a);return t.concat(a,a.visualViewport||[],cr(o)?o:[],i&&n?dn(i):[])}return t.concat(o,dn(o,[],n))}function ds(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}const Ha=Math.min,Vn=Math.max,_r=Math.round,Ke=e=>({x:e,y:e});function fc(e){return e.split("-")[0]}function Hh(e){return e.split("-")[1]}function Uh(e){return e==="x"?"y":"x"}function Bh(e){return e==="y"?"height":"width"}function dc(e){return["top","bottom"].includes(fc(e))?"y":"x"}function Wh(e){return Uh(dc(e))}function hc(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Ua(e,t,n){let{reference:r,floating:o}=e;const s=dc(t),a=Wh(t),i=Bh(a),l=fc(t),c=s==="y",u=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,p=r[i]/2-o[i]/2;let h;switch(l){case"top":h={x:u,y:r.y-o.height};break;case"bottom":h={x:u,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-o.width,y:f};break;default:h={x:r.x,y:r.y}}switch(Hh(t)){case"start":h[a]-=p*(n&&c?-1:1);break;case"end":h[a]+=p*(n&&c?-1:1);break}return h}const qh=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:a}=n,i=s.filter(Boolean),l=await(a.isRTL==null?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:f}=Ua(c,r,l),p=r,h={},y=0;for(let g=0;g<i.length;g++){const{name:b,fn:w}=i[g],{x:C,y:x,data:E,reset:v}=await w({x:u,y:f,initialPlacement:r,placement:p,strategy:o,middlewareData:h,rects:c,platform:a,elements:{reference:e,floating:t}});u=C??u,f=x??f,h={...h,[b]:{...h[b],...E}},v&&y<=50&&(y++,typeof v=="object"&&(v.placement&&(p=v.placement),v.rects&&(c=v.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):v.rects),{x:u,y:f}=Ua(c,p,l)),g=-1)}return{x:u,y:f,placement:p,strategy:o,middlewareData:h}};function pc(e){const t=Le(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=He(e),s=o?e.offsetWidth:n,a=o?e.offsetHeight:r,i=_r(n)!==s||_r(r)!==a;return i&&(n=s,r=a),{width:n,height:r,$:i}}function mc(e){return me(e)?e:e.contextElement}function hn(e){const t=mc(e);if(!He(t))return Ke(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=pc(t);let a=(s?_r(n.width):n.width)/r,i=(s?_r(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!i||!Number.isFinite(i))&&(i=1),{x:a,y:i}}const Vh=Ke(0);function gc(e){const t=Re(e);return!Xr()||!t.visualViewport?Vh:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Gh(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Re(e)?!1:t}function Jn(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),s=mc(e);let a=Ke(1);t&&(r?me(r)&&(a=hn(r)):a=hn(e));const i=Gh(s,n,r)?gc(s):Ke(0);let l=(o.left+i.x)/a.x,c=(o.top+i.y)/a.y,u=o.width/a.x,f=o.height/a.y;if(s){const p=Re(s),h=r&&me(r)?Re(r):r;let y=p,g=ds(y);for(;g&&r&&h!==y;){const b=hn(g),w=g.getBoundingClientRect(),C=Le(g),x=w.left+(g.clientLeft+parseFloat(C.paddingLeft))*b.x,E=w.top+(g.clientTop+parseFloat(C.paddingTop))*b.y;l*=b.x,c*=b.y,u*=b.x,f*=b.y,l+=x,c+=E,y=Re(g),g=ds(y)}}return hc({width:u,height:f,x:l,y:c})}function Ks(e,t){const n=Jr(e).scrollLeft;return t?t.left+n:Jn(ft(e)).left+n}function bc(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:Ks(e,r)),s=r.top+t.scrollTop;return{x:o,y:s}}function Yh(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const s=o==="fixed",a=ft(r),i=t?Qr(t.floating):!1;if(r===a||i&&s)return n;let l={scrollLeft:0,scrollTop:0},c=Ke(1);const u=Ke(0),f=He(r);if((f||!f&&!s)&&((In(r)!=="body"||cr(a))&&(l=Jr(r)),He(r))){const h=Jn(r);c=hn(r),u.x=h.x+r.clientLeft,u.y=h.y+r.clientTop}const p=a&&!f&&!s?bc(a,l,!0):Ke(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+p.x,y:n.y*c.y-l.scrollTop*c.y+u.y+p.y}}function Kh(e){return Array.from(e.getClientRects())}function Qh(e){const t=ft(e),n=Jr(e),r=e.ownerDocument.body,o=Vn(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=Vn(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Ks(e);const i=-n.scrollTop;return Le(r).direction==="rtl"&&(a+=Vn(t.clientWidth,r.clientWidth)-o),{width:o,height:s,x:a,y:i}}function Xh(e,t){const n=Re(e),r=ft(e),o=n.visualViewport;let s=r.clientWidth,a=r.clientHeight,i=0,l=0;if(o){s=o.width,a=o.height;const c=Xr();(!c||c&&t==="fixed")&&(i=o.offsetLeft,l=o.offsetTop)}return{width:s,height:a,x:i,y:l}}function Jh(e,t){const n=Jn(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,s=He(e)?hn(e):Ke(1),a=e.clientWidth*s.x,i=e.clientHeight*s.y,l=o*s.x,c=r*s.y;return{width:a,height:i,x:l,y:c}}function Ba(e,t,n){let r;if(t==="viewport")r=Xh(e,n);else if(t==="document")r=Qh(ft(e));else if(me(t))r=Jh(t,n);else{const o=gc(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return hc(r)}function yc(e,t){const n=at(e);return n===t||!me(n)||rt(n)?!1:Le(n).position==="fixed"||yc(n,t)}function Zh(e,t){const n=t.get(e);if(n)return n;let r=dn(e,[],!1).filter(i=>me(i)&&In(i)!=="body"),o=null;const s=Le(e).position==="fixed";let a=s?at(e):e;for(;me(a)&&!rt(a);){const i=Le(a),l=Ys(a);!l&&i.position==="fixed"&&(o=null),(s?!l&&!o:!l&&i.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||cr(a)&&!l&&yc(e,a))?r=r.filter(u=>u!==a):o=i,a=at(a)}return t.set(e,r),r}function ep(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?Qr(t)?[]:Zh(t,this._c):[].concat(n),r],i=a[0],l=a.reduce((c,u)=>{const f=Ba(t,u,o);return c.top=Vn(f.top,c.top),c.right=Ha(f.right,c.right),c.bottom=Ha(f.bottom,c.bottom),c.left=Vn(f.left,c.left),c},Ba(t,i,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function tp(e){const{width:t,height:n}=pc(e);return{width:t,height:n}}function np(e,t,n){const r=He(t),o=ft(t),s=n==="fixed",a=Jn(e,!0,s,t);let i={scrollLeft:0,scrollTop:0};const l=Ke(0);function c(){l.x=Ks(o)}if(r||!r&&!s)if((In(t)!=="body"||cr(o))&&(i=Jr(t)),r){const h=Jn(t,!0,s,t);l.x=h.x+t.clientLeft,l.y=h.y+t.clientTop}else o&&c();s&&!r&&o&&c();const u=o&&!r&&!s?bc(o,i):Ke(0),f=a.left+i.scrollLeft-l.x-u.x,p=a.top+i.scrollTop-l.y-u.y;return{x:f,y:p,width:a.width,height:a.height}}function Eo(e){return Le(e).position==="static"}function Wa(e,t){if(!He(e)||Le(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return ft(e)===n&&(n=n.ownerDocument.body),n}function vc(e,t){const n=Re(e);if(Qr(e))return n;if(!He(e)){let o=at(e);for(;o&&!rt(o);){if(me(o)&&!Eo(o))return o;o=at(o)}return n}let r=Wa(e,t);for(;r&&jh(r)&&Eo(r);)r=Wa(r,t);return r&&rt(r)&&Eo(r)&&!Ys(r)?n:r||zh(e)||n}const rp=async function(e){const t=this.getOffsetParent||vc,n=this.getDimensions,r=await n(e.floating);return{reference:np(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function op(e){return Le(e).direction==="rtl"}const sp={convertOffsetParentRelativeRectToViewportRelativeRect:Yh,getDocumentElement:ft,getClippingRect:ep,getOffsetParent:vc,getElementRects:rp,getClientRects:Kh,getDimensions:tp,getScale:hn,isElement:me,isRTL:op},ap=(e,t,n)=>{const r=new Map,o={platform:sp,...n},s={...o.platform,_c:r};return qh(e,t,{...o,platform:s})};var ip=typeof document<"u",lp=function(){},Tr=ip?d.useLayoutEffect:lp;function Dr(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Dr(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const s=o[r];if(!(s==="_owner"&&e.$$typeof)&&!Dr(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function xc(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function qa(e,t){const n=xc(e);return Math.round(t*n)/n}function Co(e){const t=I.useRef(e);return Tr(()=>{t.current=e}),t}function cp(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:s,floating:a}={},transform:i=!0,whileElementsMounted:l,open:c}=e,[u,f]=I.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=I.useState(r);Dr(p,r)||h(r);const[y,g]=I.useState(null),[b,w]=I.useState(null),C=I.useCallback(P=>{P!==$.current&&($.current=P,g(P))},[]),x=I.useCallback(P=>{P!==H.current&&(H.current=P,w(P))},[]),E=s||y,v=a||b,$=I.useRef(null),H=I.useRef(null),R=I.useRef(u),W=l!=null,G=Co(l),le=Co(o),ue=Co(c),oe=I.useCallback(()=>{if(!$.current||!H.current)return;const P={placement:t,strategy:n,middleware:p};le.current&&(P.platform=le.current),ap($.current,H.current,P).then(V=>{const O={...V,isPositioned:ue.current!==!1};fe.current&&!Dr(R.current,O)&&(R.current=O,$u.flushSync(()=>{f(O)}))})},[p,t,n,le,ue]);Tr(()=>{c===!1&&R.current.isPositioned&&(R.current.isPositioned=!1,f(P=>({...P,isPositioned:!1})))},[c]);const fe=I.useRef(!1);Tr(()=>(fe.current=!0,()=>{fe.current=!1}),[]),Tr(()=>{if(E&&($.current=E),v&&(H.current=v),E&&v){if(G.current)return G.current(E,v,oe);oe()}},[E,v,oe,G,W]);const q=I.useMemo(()=>({reference:$,floating:H,setReference:C,setFloating:x}),[C,x]),Y=I.useMemo(()=>({reference:E,floating:v}),[E,v]),ne=I.useMemo(()=>{const P={position:n,left:0,top:0};if(!Y.floating)return P;const V=qa(Y.floating,u.x),O=qa(Y.floating,u.y);return i?{...P,transform:"translate("+V+"px, "+O+"px)",...xc(Y.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:V,top:O}},[n,i,Y.floating,u.x,u.y]);return I.useMemo(()=>({...u,update:oe,refs:q,elements:Y,floatingStyles:ne}),[u,oe,q,Y,ne])}let Zr=d.createContext(null);Zr.displayName="OpenClosedContext";var ze=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(ze||{});function eo(){return d.useContext(Zr)}function up({value:e,children:t}){return d.createElement(Zr.Provider,{value:e},t)}function fp({children:e}){return d.createElement(Zr.Provider,{value:null},e)}function dp(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let gt=[];dp(()=>{function e(t){if(!kt(t.target)||t.target===document.body||gt[0]===t.target)return;let n=t.target;n=n.closest(Lr),gt.unshift(n??t.target),gt=gt.filter(r=>r!=null&&r.isConnected),gt.splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function wc(e){let t=ce(e),n=d.useRef(!1);d.useEffect(()=>(n.current=!1,()=>{n.current=!0,Wr(()=>{n.current&&t()})}),[t])}function hp(){let e=typeof document>"u";return"useSyncExternalStore"in I?(t=>t.useSyncExternalStore)(I)(()=>()=>{},()=>!1,()=>!e):!1}function ur(){let e=hp(),[t,n]=I.useState(Qt.isHandoffComplete);return t&&Qt.isHandoffComplete===!1&&n(!1),I.useEffect(()=>{t!==!0&&n(!0)},[t]),I.useEffect(()=>Qt.handoff(),[]),e?!1:t}let Ec=d.createContext(!1);function pp(){return d.useContext(Ec)}function Va(e){return d.createElement(Ec.Provider,{value:e.force},e.children)}function mp(e){let t=pp(),n=d.useContext(Oc),[r,o]=d.useState(()=>{var s;if(!t&&n!==null)return(s=n.current)!=null?s:null;if(Qt.isServer)return null;let a=e==null?void 0:e.getElementById("headlessui-portal-root");if(a)return a;if(e===null)return null;let i=e.createElement("div");return i.setAttribute("id","headlessui-portal-root"),e.body.appendChild(i)});return d.useEffect(()=>{r!==null&&(e!=null&&e.body.contains(r)||e==null||e.body.appendChild(r))},[r,e]),d.useEffect(()=>{t||n!==null&&o(n.current)},[n,o,t]),r}let Cc=d.Fragment,gp=we(function(e,t){let{ownerDocument:n=null,...r}=e,o=d.useRef(null),s=Ue(Dd(h=>{o.current=h}),t),a=Yr(o),i=n??a,l=mp(i),[c]=d.useState(()=>{var h;return Qt.isServer?null:(h=i==null?void 0:i.createElement("div"))!=null?h:null}),u=d.useContext(hs),f=ur();xe(()=>{!l||!c||l.contains(c)||(c.setAttribute("data-headlessui-portal",""),l.appendChild(c))},[l,c]),xe(()=>{if(c&&u)return u.register(c)},[u,c]),wc(()=>{var h;!l||!c||(Wl(c)&&l.contains(c)&&l.removeChild(c),l.childNodes.length<=0&&((h=l.parentElement)==null||h.removeChild(l)))});let p=Pe();return f?!l||!c?null:Ji.createPortal(p({ourProps:{ref:s},theirProps:r,slot:{},defaultTag:Cc,name:"Portal"}),c):null});function bp(e,t){let n=Ue(t),{enabled:r=!0,ownerDocument:o,...s}=e,a=Pe();return r?d.createElement(gp,{...s,ownerDocument:o,ref:n}):a({ourProps:{ref:n},theirProps:s,slot:{},defaultTag:Cc,name:"Portal"})}let yp=d.Fragment,Oc=d.createContext(null);function vp(e,t){let{target:n,...r}=e,o={ref:Ue(t)},s=Pe();return d.createElement(Oc.Provider,{value:n},s({ourProps:o,theirProps:r,defaultTag:yp,name:"Popover.Group"}))}let hs=d.createContext(null);function xp(){let e=d.useContext(hs),t=d.useRef([]),n=ce(s=>(t.current.push(s),e&&e.register(s),()=>r(s))),r=ce(s=>{let a=t.current.indexOf(s);a!==-1&&t.current.splice(a,1),e&&e.unregister(s)}),o=d.useMemo(()=>({register:n,unregister:r,portals:t}),[n,r,t]);return[t,d.useMemo(()=>function({children:s}){return d.createElement(hs.Provider,{value:o},s)},[o])]}let wp=we(bp),Sc=we(vp),Ep=Object.assign(wp,{Group:Sc});function Cp(e,t=typeof document<"u"?document.defaultView:null,n){let r=lr(e,"escape");lc(t,"keydown",o=>{r&&(o.defaultPrevented||o.key===Ql.Escape&&n(o))})}function Op(){var e;let[t]=d.useState(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia("(pointer: coarse)"):null),[n,r]=d.useState((e=t==null?void 0:t.matches)!=null?e:!1);return xe(()=>{if(!t)return;function o(s){r(s.matches)}return t.addEventListener("change",o),()=>t.removeEventListener("change",o)},[t]),n}function Sp({defaultContainers:e=[],portals:t,mainTreeNode:n}={}){let r=Yr(n),o=ce(()=>{var s,a;let i=[];for(let l of e)l!==null&&(tt(l)?i.push(l):"current"in l&&tt(l.current)&&i.push(l.current));if(t!=null&&t.current)for(let l of t.current)i.push(l);for(let l of(s=r==null?void 0:r.querySelectorAll("html > *, body > *"))!=null?s:[])l!==document.body&&l!==document.head&&tt(l)&&l.id!=="headlessui-portal-root"&&(n&&(l.contains(n)||l.contains((a=n==null?void 0:n.getRootNode())==null?void 0:a.host))||i.some(c=>l.contains(c))||i.push(l));return i});return{resolveContainers:o,contains:ce(s=>o().some(a=>a.contains(s)))}}let Tc=d.createContext(null);function Ga({children:e,node:t}){let[n,r]=d.useState(null),o=Pc(t??n);return d.createElement(Tc.Provider,{value:o},e,o===null&&d.createElement(Nr,{features:Xn.Hidden,ref:s=>{var a,i;if(s){for(let l of(i=(a=Br(s))==null?void 0:a.querySelectorAll("html > *, body > *"))!=null?i:[])if(l!==document.body&&l!==document.head&&tt(l)&&l!=null&&l.contains(s)){r(l);break}}}}))}function Pc(e=null){var t;return(t=d.useContext(Tc))!=null?t:e}function Qs(){let e=d.useRef(!1);return xe(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var zn=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(zn||{});function Tp(){let e=d.useRef(0);return ic(!0,"keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function kc(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let n of e.current)tt(n.current)&&t.add(n.current);return t}let Pp="div";var Dt=(e=>(e[e.None=0]="None",e[e.InitialFocus=1]="InitialFocus",e[e.TabLock=2]="TabLock",e[e.FocusLock=4]="FocusLock",e[e.RestoreFocus=8]="RestoreFocus",e[e.AutoFocus=16]="AutoFocus",e))(Dt||{});function kp(e,t){let n=d.useRef(null),r=Ue(n,t),{initialFocus:o,initialFocusFallback:s,containers:a,features:i=15,...l}=e;ur()||(i=0);let c=Yr(n);Fp(i,{ownerDocument:c});let u=Ip(i,{ownerDocument:c,container:n,initialFocus:o,initialFocusFallback:s});Mp(i,{ownerDocument:c,container:n,containers:a,previousActiveElement:u});let f=Tp(),p=ce(C=>{if(!Rt(n.current))return;let x=n.current;(E=>E())(()=>{st(f.current,{[zn.Forwards]:()=>{qn(x,et.First,{skipElements:[C.relatedTarget,s]})},[zn.Backwards]:()=>{qn(x,et.Last,{skipElements:[C.relatedTarget,s]})}})})}),h=lr(!!(i&2),"focus-trap#tab-lock"),y=Vs(),g=d.useRef(!1),b={ref:r,onKeyDown(C){C.key=="Tab"&&(g.current=!0,y.requestAnimationFrame(()=>{g.current=!1}))},onBlur(C){if(!(i&4))return;let x=kc(a);Rt(n.current)&&x.add(n.current);let E=C.relatedTarget;kt(E)&&E.dataset.headlessuiFocusGuard!=="true"&&(Ac(x,E)||(g.current?qn(n.current,st(f.current,{[zn.Forwards]:()=>et.Next,[zn.Backwards]:()=>et.Previous})|et.WrapAround,{relativeTo:C.target}):kt(C.target)&&nt(C.target)))}},w=Pe();return d.createElement(d.Fragment,null,h&&d.createElement(Nr,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:p,features:Xn.Focusable}),w({ourProps:b,theirProps:l,defaultTag:Pp,name:"FocusTrap"}),h&&d.createElement(Nr,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:p,features:Xn.Focusable}))}let Ap=we(kp),Rp=Object.assign(Ap,{features:Dt});function $p(e=!0){let t=d.useRef(gt.slice());return Gs(([n],[r])=>{r===!0&&n===!1&&Wr(()=>{t.current.splice(0)}),r===!1&&n===!0&&(t.current=gt.slice())},[e,gt,t]),ce(()=>{var n;return(n=t.current.find(r=>r!=null&&r.isConnected))!=null?n:null})}function Fp(e,{ownerDocument:t}){let n=!!(e&8),r=$p(n);Gs(()=>{n||(t==null?void 0:t.activeElement)===(t==null?void 0:t.body)&&nt(r())},[n]),wc(()=>{n&&nt(r())})}function Ip(e,{ownerDocument:t,container:n,initialFocus:r,initialFocusFallback:o}){let s=d.useRef(null),a=lr(!!(e&1),"focus-trap#initial-focus"),i=Qs();return Gs(()=>{if(e===0)return;if(!a){o!=null&&o.current&&nt(o.current);return}let l=n.current;l&&Wr(()=>{if(!i.current)return;let c=t==null?void 0:t.activeElement;if(r!=null&&r.current){if((r==null?void 0:r.current)===c){s.current=c;return}}else if(l.contains(c)){s.current=c;return}if(r!=null&&r.current)nt(r.current);else{if(e&16){if(qn(l,et.First|et.AutoFocus)!==us.Error)return}else if(qn(l,et.First)!==us.Error)return;if(o!=null&&o.current&&(nt(o.current),(t==null?void 0:t.activeElement)===o.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}s.current=t==null?void 0:t.activeElement})},[o,a,e]),s}function Mp(e,{ownerDocument:t,container:n,containers:r,previousActiveElement:o}){let s=Qs(),a=!!(e&4);lc(t==null?void 0:t.defaultView,"focus",i=>{if(!a||!s.current)return;let l=kc(r);Rt(n.current)&&l.add(n.current);let c=o.current;if(!c)return;let u=i.target;Rt(u)?Ac(l,u)?(o.current=u,nt(u)):(i.preventDefault(),i.stopPropagation(),nt(c)):nt(o.current)},!0)}function Ac(e,t){for(let n of e)if(n.contains(t))return!0;return!1}function Rc(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||((t=e.as)!=null?t:Fc)!==d.Fragment||d.Children.count(e.children)===1}let to=d.createContext(null);to.displayName="TransitionContext";var Np=(e=>(e.Visible="visible",e.Hidden="hidden",e))(Np||{});function Lp(){let e=d.useContext(to);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function _p(){let e=d.useContext(no);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let no=d.createContext(null);no.displayName="NestingContext";function ro(e){return"children"in e?ro(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function $c(e,t){let n=nn(e),r=d.useRef([]),o=Qs(),s=Vs(),a=ce((h,y=Pt.Hidden)=>{let g=r.current.findIndex(({el:b})=>b===h);g!==-1&&(st(y,{[Pt.Unmount](){r.current.splice(g,1)},[Pt.Hidden](){r.current[g].state="hidden"}}),s.microTask(()=>{var b;!ro(r)&&o.current&&((b=n.current)==null||b.call(n))}))}),i=ce(h=>{let y=r.current.find(({el:g})=>g===h);return y?y.state!=="visible"&&(y.state="visible"):r.current.push({el:h,state:"visible"}),()=>a(h,Pt.Unmount)}),l=d.useRef([]),c=d.useRef(Promise.resolve()),u=d.useRef({enter:[],leave:[]}),f=ce((h,y,g)=>{l.current.splice(0),t&&(t.chains.current[y]=t.chains.current[y].filter(([b])=>b!==h)),t==null||t.chains.current[y].push([h,new Promise(b=>{l.current.push(b)})]),t==null||t.chains.current[y].push([h,new Promise(b=>{Promise.all(u.current[y].map(([w,C])=>C)).then(()=>b())})]),y==="enter"?c.current=c.current.then(()=>t==null?void 0:t.wait.current).then(()=>g(y)):g(y)}),p=ce((h,y,g)=>{Promise.all(u.current[y].splice(0).map(([b,w])=>w)).then(()=>{var b;(b=l.current.shift())==null||b()}).then(()=>g(y))});return d.useMemo(()=>({children:r,register:i,unregister:a,onStart:f,onStop:p,wait:c,chains:u}),[i,a,r,f,p,u,c])}let Fc=d.Fragment,Ic=Mr.RenderStrategy;function Dp(e,t){var n,r;let{transition:o=!0,beforeEnter:s,afterEnter:a,beforeLeave:i,afterLeave:l,enter:c,enterFrom:u,enterTo:f,entered:p,leave:h,leaveFrom:y,leaveTo:g,...b}=e,[w,C]=d.useState(null),x=d.useRef(null),E=Rc(e),v=Ue(...E?[x,t,C]:t===null?[]:[t]),$=(n=b.unmount)==null||n?Pt.Unmount:Pt.Hidden,{show:H,appear:R,initial:W}=Lp(),[G,le]=d.useState(H?"visible":"hidden"),ue=_p(),{register:oe,unregister:fe}=ue;xe(()=>oe(x),[oe,x]),xe(()=>{if($===Pt.Hidden&&x.current){if(H&&G!=="visible"){le("visible");return}return st(G,{hidden:()=>fe(x),visible:()=>oe(x)})}},[G,x,oe,fe,H,$]);let q=ur();xe(()=>{if(E&&q&&G==="visible"&&x.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[x,G,q,E]);let Y=W&&!R,ne=R&&H&&W,P=d.useRef(!1),V=$c(()=>{P.current||(le("hidden"),fe(x))},ue),O=ce(M=>{P.current=!0;let Q=M?"enter":"leave";V.onStart(x,Q,X=>{X==="enter"?s==null||s():X==="leave"&&(i==null||i())})}),k=ce(M=>{let Q=M?"enter":"leave";P.current=!1,V.onStop(x,Q,X=>{X==="enter"?a==null||a():X==="leave"&&(l==null||l())}),Q==="leave"&&!ro(V)&&(le("hidden"),fe(x))});d.useEffect(()=>{E&&o||(O(H),k(H))},[H,E,o]);let B=!(!o||!E||!q||Y),[,A]=Nh(B,w,H,{start:O,end:k}),D=_t({ref:v,className:((r=ls(b.className,ne&&c,ne&&u,A.enter&&c,A.enter&&A.closed&&u,A.enter&&!A.closed&&f,A.leave&&h,A.leave&&!A.closed&&y,A.leave&&A.closed&&g,!A.transition&&H&&p))==null?void 0:r.trim())||void 0,...Mh(A)}),K=0;G==="visible"&&(K|=ze.Open),G==="hidden"&&(K|=ze.Closed),H&&G==="hidden"&&(K|=ze.Opening),!H&&G==="visible"&&(K|=ze.Closing);let z=Pe();return d.createElement(no.Provider,{value:V},d.createElement(up,{value:K},z({ourProps:D,theirProps:b,defaultTag:Fc,features:Ic,visible:G==="visible",name:"Transition.Child"})))}function jp(e,t){let{show:n,appear:r=!1,unmount:o=!0,...s}=e,a=d.useRef(null),i=Rc(e),l=Ue(...i?[a,t]:t===null?[]:[t]);ur();let c=eo();if(n===void 0&&c!==null&&(n=(c&ze.Open)===ze.Open),n===void 0)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[u,f]=d.useState(n?"visible":"hidden"),p=$c(()=>{n||f("hidden")}),[h,y]=d.useState(!0),g=d.useRef([n]);xe(()=>{h!==!1&&g.current[g.current.length-1]!==n&&(g.current.push(n),y(!1))},[g,n]);let b=d.useMemo(()=>({show:n,appear:r,initial:h}),[n,r,h]);xe(()=>{n?f("visible"):!ro(p)&&a.current!==null&&f("hidden")},[n,p]);let w={unmount:o},C=ce(()=>{var v;h&&y(!1),(v=e.beforeEnter)==null||v.call(e)}),x=ce(()=>{var v;h&&y(!1),(v=e.beforeLeave)==null||v.call(e)}),E=Pe();return d.createElement(no.Provider,{value:p},d.createElement(to.Provider,{value:b},E({ourProps:{...w,as:d.Fragment,children:d.createElement(Mc,{ref:l,...w,...s,beforeEnter:C,beforeLeave:x})},theirProps:{},defaultTag:d.Fragment,features:Ic,visible:u==="visible",name:"Transition"})))}function zp(e,t){let n=d.useContext(to)!==null,r=eo()!==null;return d.createElement(d.Fragment,null,!n&&r?d.createElement(ps,{ref:t,...e}):d.createElement(Mc,{ref:t,...e}))}let ps=we(jp),Mc=we(Dp),Xs=we(zp),Hp=Object.assign(ps,{Child:Xs,Root:ps});var Up=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Up||{}),Bp=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(Bp||{});let Wp={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},Js=d.createContext(null);Js.displayName="DialogContext";function oo(e){let t=d.useContext(Js);if(t===null){let n=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,oo),n}return t}function qp(e,t){return st(t.type,Wp,e,t)}let Ya=we(function(e,t){let n=d.useId(),{id:r=`headlessui-dialog-${n}`,open:o,onClose:s,initialFocus:a,role:i="dialog",autoFocus:l=!0,__demoMode:c=!1,unmount:u=!1,...f}=e,p=d.useRef(!1);i=function(){return i==="dialog"||i==="alertdialog"?i:(p.current||(p.current=!0,console.warn(`Invalid role [${i}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")}();let h=eo();o===void 0&&h!==null&&(o=(h&ze.Open)===ze.Open);let y=d.useRef(null),g=Ue(y,t),b=Yr(y),w=o?0:1,[C,x]=d.useReducer(qp,{titleId:null,descriptionId:null,panelRef:d.createRef()}),E=ce(()=>s(!1)),v=ce(A=>x({type:0,id:A})),$=ur()?w===0:!1,[H,R]=xp(),W={get current(){var A;return(A=C.panelRef.current)!=null?A:y.current}},G=Pc(),{resolveContainers:le}=Sp({mainTreeNode:G,portals:H,defaultContainers:[W]}),ue=h!==null?(h&ze.Closing)===ze.Closing:!1;fh(c||ue?!1:$,{allowed:ce(()=>{var A,D;return[(D=(A=y.current)==null?void 0:A.closest("[data-headlessui-portal]"))!=null?D:null]}),disallowed:ce(()=>{var A;return[(A=G==null?void 0:G.closest("body > *:not(#headlessui-portal-root)"))!=null?A:null]})});let oe=rc.get(null);xe(()=>{if($)return oe.actions.push(r),()=>oe.actions.pop(r)},[oe,r,$]);let fe=oc(oe,d.useCallback(A=>oe.selectors.isTop(A,r),[oe,r]));Ch(fe,le,A=>{A.preventDefault(),E()}),Cp(fe,b==null?void 0:b.defaultView,A=>{A.preventDefault(),A.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur(),E()}),$h(c||ue?!1:$,b,le),dh($,y,E);let[q,Y]=Yl(),ne=d.useMemo(()=>[{dialogState:w,close:E,setTitleId:v,unmount:u},C],[w,C,E,v,u]),P=d.useMemo(()=>({open:w===0}),[w]),V={ref:g,id:r,role:i,tabIndex:-1,"aria-modal":c?void 0:w===0?!0:void 0,"aria-labelledby":C.titleId,"aria-describedby":q,unmount:u},O=!Op(),k=Dt.None;$&&!c&&(k|=Dt.RestoreFocus,k|=Dt.TabLock,l&&(k|=Dt.AutoFocus),O&&(k|=Dt.InitialFocus));let B=Pe();return d.createElement(fp,null,d.createElement(Va,{force:!0},d.createElement(Ep,null,d.createElement(Js.Provider,{value:ne},d.createElement(Sc,{target:y},d.createElement(Va,{force:!1},d.createElement(Y,{slot:P},d.createElement(R,null,d.createElement(Rp,{initialFocus:a,initialFocusFallback:y,containers:le,features:k},d.createElement(Kd,{value:E},B({ourProps:V,theirProps:f,slot:P,defaultTag:Vp,features:Gp,visible:w===0,name:"Dialog"})))))))))))}),Vp="div",Gp=Mr.RenderStrategy|Mr.Static;function Yp(e,t){let{transition:n=!1,open:r,...o}=e,s=eo(),a=e.hasOwnProperty("open")||s!==null,i=e.hasOwnProperty("onClose");if(!a&&!i)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!a)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!i)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!s&&typeof e.open!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e.open}`);if(typeof e.onClose!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);return(r!==void 0||n)&&!o.static?d.createElement(Ga,null,d.createElement(Hp,{show:r,transition:n,unmount:o.unmount},d.createElement(Ya,{ref:t,...o}))):d.createElement(Ga,null,d.createElement(Ya,{ref:t,open:r,...o}))}let Kp="div";function Qp(e,t){let n=d.useId(),{id:r=`headlessui-dialog-panel-${n}`,transition:o=!1,...s}=e,[{dialogState:a,unmount:i},l]=oo("Dialog.Panel"),c=Ue(t,l.panelRef),u=d.useMemo(()=>({open:a===0}),[a]),f=ce(b=>{b.stopPropagation()}),p={ref:c,id:r,onClick:f},h=o?Xs:d.Fragment,y=o?{unmount:i}:{},g=Pe();return d.createElement(h,{...y},g({ourProps:p,theirProps:s,slot:u,defaultTag:Kp,name:"Dialog.Panel"}))}let Xp="div";function Jp(e,t){let{transition:n=!1,...r}=e,[{dialogState:o,unmount:s}]=oo("Dialog.Backdrop"),a=d.useMemo(()=>({open:o===0}),[o]),i={ref:t,"aria-hidden":!0},l=n?Xs:d.Fragment,c=n?{unmount:s}:{},u=Pe();return d.createElement(l,{...c},u({ourProps:i,theirProps:r,slot:a,defaultTag:Xp,name:"Dialog.Backdrop"}))}let Zp="h2";function em(e,t){let n=d.useId(),{id:r=`headlessui-dialog-title-${n}`,...o}=e,[{dialogState:s,setTitleId:a}]=oo("Dialog.Title"),i=Ue(t);d.useEffect(()=>(a(r),()=>a(null)),[r,a]);let l=d.useMemo(()=>({open:s===0}),[s]),c={ref:i,id:r};return Pe()({ourProps:c,theirProps:o,slot:l,defaultTag:Zp,name:"Dialog.Title"})}let tm=we(Yp),Nc=we(Qp),nm=we(Jp),Lc=we(em),rm=Object.assign(tm,{Panel:Nc,Title:Lc,Description:Kl}),om="div";function sm(e,t){let n=`headlessui-control-${d.useId()}`,[r,o]=Bd(),[s,a]=Yl(),i=qr(),{disabled:l=i||!1,...c}=e,u=d.useMemo(()=>({disabled:l}),[l]),f={ref:t,disabled:l||void 0,"aria-disabled":l||void 0},p=Pe();return d.createElement(Od,{value:l},d.createElement(o,{value:r},d.createElement(a,{value:s},d.createElement(Md,{id:n},p({ourProps:f,theirProps:{...c,children:d.createElement(Id,null,typeof c.children=="function"?c.children(u):c.children)},slot:u,defaultTag:om,name:"Field"})))))}let am=we(sm),im="input";function lm(e,t){let n=d.useId(),r=Bl(),o=qr(),{id:s=r||`headlessui-input-${n}`,disabled:a=o||!1,autoFocus:i=!1,invalid:l=!1,...c}=e,u=Jl(),f=jd(),{isFocused:p,focusProps:h}=xd({autoFocus:i}),{isHovered:y,hoverProps:g}=vd({isDisabled:a}),b=kd({ref:t,id:s,"aria-labelledby":u,"aria-describedby":f,"aria-invalid":l?"true":void 0,disabled:a||void 0,autoFocus:i},h,g),w=d.useMemo(()=>({disabled:a,invalid:l,hover:y,focus:p,autofocus:i}),[a,l,y,p,i]);return Pe()({ourProps:b,theirProps:c,slot:w,defaultTag:im,name:"Input"})}let cm=we(lm);const um="whitespace-nowrap font-normal flex items-center justify-center",fm="focus:outline focus:outline-3 focus:outline-primary-500/[.3]",dm="disabled:opacity-15 disabled:pointer-events-none",_c=e=>e==="grayLight"||e==="warning",Dc=(e,t)=>!t||t==="none"?"":e(),hm=(e,t)=>Dc(()=>{const n=e==="gray400"?"gray":e,r=_c(n)?"active:text-black":"active:text-white";return e==="primary"?t?`bg-${n}-800 text-white`:`hover:bg-${n}-800 active:bg-${n}-800 hover:text-white ${r}`:n==="grayDark"?t?"bg-gray-800 text-white":`hover:bg-gray-800 active:bg-gray-800 hover:text-white ${r}`:n==="grayLight"?t?"bg-gray-50 text-black":`hover:bg-gray-50 active:bg-gray-50 hover:text-black ${r}`:e==="gray400"?t?`bg-${n}-500 text-white`:`hover:bg-${n}-500 active:bg-${n}-500 hover:text-white ${r}`:t?`bg-${n}-700 text-white`:`hover:bg-${n}-600 active:bg-${n}-700 hover:text-white ${r}`},e),pm=e=>Dc(()=>{const t=_c(e)?"text-black":"text-white";return e==="primary"?`bg-primary-600 ${t}`:e==="gray400"?`bg-gray-400 ${t}`:`bg-${e}-500 ${t}`},e),mm=e=>e&&{dark:"text-dark hover:text-dark",yellow:"text-yellow hover:text-yellow",gray:"text-gray-500 hover:text-gray-800",primary:"text-primary-600 hover:text-primary-800",secondary:"text-secondary-500 hover:text-secondary-800",success:"text-success-500 hover:text-success-800",info:"text-info-500 hover:text-info-800",warning:"text-warning-500 hover:text-warning-800",danger:"text-danger-500 hover:text-danger-800",steel:"text-steel-500 hover:text-steel-800",orange:"text-orange-500 hover:text-orange-800",purple:"text-purple-500 hover:text-purple-800","fiserv-orange":"text-fiserv-orange-500 hover:text-fiserv-orange-800",grayDark:"text-gray-800 hover:text-gray-900",grayLight:"text-gray-50 hover:text-gray-400",gray400:"text-gray-400 hover:text-gray-700"}[e]||"",gm=(e,t)=>e&&{dark:t?"bg-dark text-white":"text-dark hover:bg-dark hover:text-white",yellow:t?"bg-yellow text-white":"text-yellow hover:bg-yellow hover:text-white",gray:t?"bg-gray-500 text-white":"text-gray-500 hover:bg-gray-500 hover:text-white",primary:t?"bg-primary-800 text-white":"text-primary-600 hover:bg-primary-800 hover:text-white",secondary:t?"bg-secondary-500 text-white":"text-secondary-500 hover:bg-secondary-500 hover:text-white",success:t?"bg-success-500 text-white":"text-success-500 hover:bg-success-500 hover:text-white",info:t?"bg-info-500 text-white":"text-info-500 hover:bg-info-500 hover:text-white",warning:t?"bg-warning-500 text-white":"text-warning-500 hover:bg-warning-500 hover:text-white",danger:t?"bg-danger-500 text-white":"text-danger-500 hover:bg-danger-500 hover:text-white",steel:t?"bg-steel-500 text-white":"text-steel-500 hover:bg-steel-500 hover:text-white",orange:t?"bg-orange-500 text-white":"text-orange-500 hover:bg-orange-500 hover:text-white",purple:t?"bg-purple-500 text-white":"text-purple-500 hover:bg-purple-500 hover:text-white","fiserv-orange":t?"bg-fiserv-orange-500 text-white":"text-fiserv-orange-500 hover:bg-fiserv-orange-500 hover:text-white",grayDark:t?"bg-gray-900 text-white":"text-gray-800 hover:bg-gray-900 hover:text-white",grayLight:t?"bg-gray-400 text-white":"text-gray-50 hover:bg-gray-400 hover:text-white",gray400:t?"bg-gray-500 text-white":"text-gray-400 hover:bg-gray-500 hover:text-white"}[e]||"",bm=(e,t)=>!e||e==="none"?"":e==="primary"?`border border-primary-600 ${t?"":"text-primary-600"}`:e==="grayDark"?`border border-gray-800 ${t?"":"text-gray-800"}`:e==="grayLight"?`border border-gray-50 ${t?"":"text-gray-400"}`:e==="gray400"?`border border-gray-400 ${t?"":"text-gray-400"}`:`border border-${e}-500 ${t?"":`text-${e}-500`}`,ym=(e,t)=>({solid:pm(e),link:mm(e),linkHoverSolid:gm(e,t),outline:bm(e,t)}),vm={none:"",default:"min-w-fit h-[40px] text-base px-3",base:"w-full md:min-w-fit h-[40px] text-base px-3",small:"min-w-[106px] h-[30px] text-sm px-2",normal:"min-w-[140px] h-[38px] text-base px-3",large:"min-w-[160px] h-[40px] text-lg px-3",NormalBlock:"w-full h-[40px] text-lg px-3",box:"w-[38px] h-[38px]",smallCollapse:"h-[30px] text-sm px-2",normalCollapse:"h-[38px] text-base px-3"},xm={none:"",default:"rounded",pill:"rounded-pill"},wm=({active:e=!1,children:t,color:n="primary",size:r="normal",category:o="solid",className:s,type:a="button",rounded:i="default",style:l={},primaryColor:c,...u},f)=>{var x;const p=dm,h=/link/.test(o)?null:hm(n,e),y=fm,g=vm[r],b=(x=ym(n,e))==null?void 0:x[o],w=fn(h,b),C=xm[i];return S.jsx("button",{...u,style:{...l,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",backgroundColor:c?c+"!important":void 0},type:a,ref:f,className:fn(um,y,p,g,w,C,s,"cursor-pointer"),children:t})},Zn=d.forwardRef(wm),Em=({isOpen:e,close:t,title:n,dismissOptions:r,confirmOptions:o,children:s,className:a})=>S.jsxs(rm,{open:e,onClose:t,className:ve("relative z-50 transition duration-300 ease-out data-closed:opacity-0 confidence-ui",a),transition:!0,children:[S.jsx(nm,{className:"fixed inset-0 bg-black/30"}),S.jsx("div",{className:"fixed inset-0 flex w-screen items-center justify-center p-4",children:S.jsxs(Nc,{className:"max-w-lg divide-y divide-gray-100 bg-white rounded-sm shadow-xl",children:[n&&S.jsx(Lc,{className:" text-gray-900 p-4",children:n}),S.jsx("div",{className:"p-4",children:s}),r||o?S.jsxs("div",{className:"flex gap-4 p-4",children:[r?S.jsx(Zn,{className:"flex-1",onClick:()=>{r.onClick(),t()},size:"small",color:"secondary",children:r.label}):S.jsx(S.Fragment,{}),o?S.jsx(Zn,{className:"flex-1",disabled:o.disabled,onClick:()=>{o.onClick(),t()},size:"small",color:"primary",children:o.label}):S.jsx(S.Fragment,{})]}):S.jsx(S.Fragment,{})]})})]}),Cm=({type:e="text",className:t,label:n,description:r,error:o,...s})=>S.jsx("div",{className:"w-full max-w-md px-4",children:S.jsxs(am,{children:[n&&S.jsx(Gd,{className:"font-medium text-gray-900",children:n}),r&&S.jsx(Kl,{className:"text-sm text-secondary",children:r}),S.jsx(cm,{type:e,className:ve("mt-3 block w-full rounded-lg border border-gray-200 px-3 py-1.5 text-sm/6 text-gray-800","focus:not-data-focus:outline-none data-focus:outline-2 data-focus:-outline-offset-2 data-focus:outline-primary-500",t,o&&"border-red-500 focus:border-red-500"),...s})]})}),Om=({onConfirm:e,onClose:t,isOpen:n,title:r})=>{const[o,s]=d.useState(""),[a,i]=d.useState(!1),[l,c]=d.useState(!1),u=async()=>{if(o)try{i(!0),await e(o),s("")}catch{c(!0)}finally{i(!1)}else alert("Please enter a valid email address.")};return S.jsx(Em,{isOpen:n,close:t,dismissOptions:{label:"Cancel",onClick:t},confirmOptions:{label:"Initiate",onClick:u,disabled:a||!o||l},children:S.jsxs("div",{className:"flex flex-col items-center gap-4 w-[400px]",children:[S.jsxs("div",{children:[S.jsx("div",{className:"text-center text-2xl font-medium",children:l?"User already has access":r||"Access Playbook"}),S.jsx("div",{className:"text-center",children:l?S.jsxs(S.Fragment,{children:[S.jsx("b",{children:o})," has already accessed a playbook. Contact Confidence to speak to representative."]}):S.jsx(S.Fragment,{children:"Please enter your company email address to access this playbook."})})]}),S.jsx(Cm,{disabled:a||l,placeholder:"Enter company email address",onChange:f=>s(f.target.value)})]})})},jc="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAYCAYAAADpnJ2CAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGpSURBVHgBpVbRdYMwDDR9/S8jeARGYIRuUDpBuwHJBGQDskG6ASOQDcwGdANVLnJRHdmIRO/dI8D5zgIhpTAbAQAlHiqEJUyEa1EU30YRqFHj4Q1xzJIQF8QMSziGEAPi1eTNPhi/lwglomOCDWUZc/yGzkEIYQWtlpnNNxwSGimL2ijCi7DMLbveR2aVtHiMFypN/UZPlLUlHR6iWXuPWaQRsuXRpIjyTb1ZDWuBQVaPnvfAzLs9mcL/SoTNzXMCLJ9CiFZh1glmh9yCmkhldB7CgVzyvlCGlBlEnxJf+IkYo2uNINSy+1JxcDOv2acMD0DvT2HqSCxpRmt9Q/iS/J5NIrBP+kX+J9+pRXQC/Yj8Q3TtReCZJ7M0YpsyxcO7yUfKbBLZmEUFrGgSHOnx+jgn+M4/epMRnLME8/euNWYhgSondpIKJ2HqclxYmsi4JRRaW3a2KTakb5FU7rczS29WUvb9nkUD3D+e9o82WNuVA+XkgKUVOnhktLGK/DWOK4421sDaSy+5z0praqlF8Rnn2PlMhvUe3UJDogwtImRxRUzav4k8fgCQHVaVoXL9RAAAAABJRU5ErkJggg==",zc=({btnClassName:e,buttonNode:t,size:n,playbookId:r,onInitiated:o,disabled:s,btnLabel:a="Run Playbook",btnColor:i="primary"})=>{const[l,c]=d.useState(!1),[u,f]=d.useState(!1);function p(){c(!0)}function h(){c(!1)}const y=async g=>{try{f(!0);const{playbookInstanceId:b,errorCode:w,details:C,message:x}=await bl({bank:"public-sdk",email:g,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone||"America/Los_Angeles",playbookUid:r})||{};if(w)throw new Error(`Error initiating playbook: ${x} (Code: ${w}) - Details: ${C}`);o(b)}finally{f(!1)}};return S.jsxs(S.Fragment,{children:[t?{buttonNode:t}:S.jsxs(Zn,{onClick:p,className:ve(e,"flex items-center gap-1"),color:i,size:n,disabled:s||u,children:[S.jsx("img",{src:jc,alt:"Confidence Logo",className:"size-4 object-contain text-white"}),a]}),S.jsx(Om,{isOpen:l,onClose:h,onConfirm:async g=>{await y(g),h()}})]})};/*!
|
|
144
|
+
*/var Gh;function Nw(){return Gh||(Gh=1,process.env.NODE_ENV!=="production"&&function(){function e(h,v){return h===v&&(h!==0||1/h===1/v)||h!==h&&v!==v}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var t=A,r=typeof Object.is=="function"?Object.is:e,i=t.useSyncExternalStore,a=t.useRef,u=t.useEffect,p=t.useMemo,m=t.useDebugValue;Cd.useSyncExternalStoreWithSelector=function(h,v,C,x,F){var I=a(null);if(I.current===null){var L={hasValue:!1,value:null};I.current=L}else L=I.current;I=p(function(){function T($){if(!O){if(O=!0,U=$,$=x($),F!==void 0&&L.hasValue){var J=L.value;if(F(J,$))return j=J}return j=$}if(J=j,r(U,$))return J;var ae=x($);return F!==void 0&&F(J,ae)?(U=$,J):(U=$,j=ae)}var O=!1,U,j,V=C===void 0?null:C;return[function(){return T(v())},V===null?void 0:function(){return T(V())}]},[v,C,x,F]);var D=i(h,I[0],I[1]);return u(function(){L.hasValue=!0,L.value=D},[D]),m(D),D},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),Cd}var Yh;function zw(){return Yh||(Yh=1,process.env.NODE_ENV==="production"?xu.exports=jw():xu.exports=Nw()),xu.exports}var Bw=zw();function pv(e,t,r=uv){return Bw.useSyncExternalStoreWithSelector(tt(i=>e.subscribe(Uw,i)),tt(()=>e.state),tt(()=>e.state),tt(t),r)}function Uw(e){return e}function wc(e,t){let r=A.useId(),i=dv.get(t),[a,u]=pv(i,A.useCallback(p=>[i.selectors.isTop(p,r),i.selectors.inStack(p,r)],[i,r]));return Mt(()=>{if(e)return i.actions.push(r),()=>i.actions.pop(r)},[i,e,r]),e?u?a:!0:!1}let sp=new Map,nc=new Map;function Xh(e){var t;let r=(t=nc.get(e))!=null?t:0;return nc.set(e,r+1),r!==0?()=>Qh(e):(sp.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0,()=>Qh(e))}function Qh(e){var t;let r=(t=nc.get(e))!=null?t:1;if(r===1?nc.delete(e):nc.set(e,r-1),r!==1)return;let i=sp.get(e);i&&(i["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",i["aria-hidden"]),e.inert=i.inert,sp.delete(e))}function Hw(e,{allowed:t,disallowed:r}={}){let i=wc(e,"inert-others");Mt(()=>{var a,u;if(!i)return;let p=yo();for(let h of(a=r==null?void 0:r())!=null?a:[])h&&p.add(Xh(h));let m=(u=t==null?void 0:t())!=null?u:[];for(let h of m){if(!h)continue;let v=Wu(h);if(!v)continue;let C=h.parentElement;for(;C&&C!==v.body;){for(let x of C.children)m.some(F=>x.contains(F))||p.add(Xh(x));C=C.parentElement}}return p.dispose},[i,t,r])}function Ww(e,t,r){let i=Ra(a=>{let u=a.getBoundingClientRect();u.x===0&&u.y===0&&u.width===0&&u.height===0&&r()});A.useEffect(()=>{if(!e)return;let a=t===null?null:yi(t)?t:t.current;if(!a)return;let u=yo();if(typeof ResizeObserver<"u"){let p=new ResizeObserver(()=>i.current(a));p.observe(a),u.add(()=>p.disconnect())}if(typeof IntersectionObserver<"u"){let p=new IntersectionObserver(()=>i.current(a));p.observe(a),u.add(()=>p.disconnect())}return()=>u.dispose()},[t,i,e])}let Lu=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),Vw=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var so=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(so||{}),lp=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(lp||{}),Gw=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Gw||{});function Yw(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Lu)).sort((t,r)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(r.tabIndex||Number.MAX_SAFE_INTEGER)))}function Xw(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Vw)).sort((t,r)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(r.tabIndex||Number.MAX_SAFE_INTEGER)))}var hv=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(hv||{});function Qw(e,t=0){var r;return e===((r=Wu(e))==null?void 0:r.body)?!1:po(t,{0(){return e.matches(Lu)},1(){let i=e;for(;i!==null;){if(i.matches(Lu))return!0;i=i.parentElement}return!1}})}var qw=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(qw||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function co(e){e==null||e.focus({preventScroll:!0})}let Kw=["textarea","input"].join(",");function Jw(e){var t,r;return(r=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,Kw))!=null?r:!1}function Zw(e,t=r=>r){return e.slice().sort((r,i)=>{let a=t(r),u=t(i);if(a===null||u===null)return 0;let p=a.compareDocumentPosition(u);return p&Node.DOCUMENT_POSITION_FOLLOWING?-1:p&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function rc(e,t,{sorted:r=!0,relativeTo:i=null,skipElements:a=[]}={}){let u=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,p=Array.isArray(e)?r?Zw(e):e:t&64?Xw(e):Yw(e);a.length>0&&p.length>1&&(p=p.filter(I=>!a.some(L=>L!=null&&"current"in L?(L==null?void 0:L.current)===I:L===I))),i=i??u.activeElement;let m=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),h=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,p.indexOf(i))-1;if(t&4)return Math.max(0,p.indexOf(i))+1;if(t&8)return p.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),v=t&32?{preventScroll:!0}:{},C=0,x=p.length,F;do{if(C>=x||C+x<=0)return 0;let I=h+C;if(t&16)I=(I+x)%x;else{if(I<0)return 3;if(I>=x)return 1}F=p[I],F==null||F.focus(v),C+=m}while(F!==u.activeElement);return t&6&&Jw(F)&&F.select(),2}function mv(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function ex(){return/Android/gi.test(window.navigator.userAgent)}function qh(){return mv()||ex()}function Su(e,t,r,i){let a=Ra(r);A.useEffect(()=>{if(!e)return;function u(p){a.current(p)}return document.addEventListener(t,u,i),()=>document.removeEventListener(t,u,i)},[e,t,i])}function gv(e,t,r,i){let a=Ra(r);A.useEffect(()=>{if(!e)return;function u(p){a.current(p)}return window.addEventListener(t,u,i),()=>window.removeEventListener(t,u,i)},[e,t,i])}const Kh=30;function tx(e,t,r){let i=Ra(r),a=A.useCallback(function(m,h){if(m.defaultPrevented)return;let v=h(m);if(v===null||!v.getRootNode().contains(v)||!v.isConnected)return;let C=function x(F){return typeof F=="function"?x(F()):Array.isArray(F)||F instanceof Set?F:[F]}(t);for(let x of C)if(x!==null&&(x.contains(v)||m.composed&&m.composedPath().includes(x)))return;return!Qw(v,hv.Loose)&&v.tabIndex!==-1&&m.preventDefault(),i.current(m,v)},[i,t]),u=A.useRef(null);Su(e,"pointerdown",m=>{var h,v;qh()||(u.current=((v=(h=m.composedPath)==null?void 0:h.call(m))==null?void 0:v[0])||m.target)},!0),Su(e,"pointerup",m=>{if(qh()||!u.current)return;let h=u.current;return u.current=null,a(m,()=>h)},!0);let p=A.useRef({x:0,y:0});Su(e,"touchstart",m=>{p.current.x=m.touches[0].clientX,p.current.y=m.touches[0].clientY},!0),Su(e,"touchend",m=>{let h={x:m.changedTouches[0].clientX,y:m.changedTouches[0].clientY};if(!(Math.abs(h.x-p.current.x)>=Kh||Math.abs(h.y-p.current.y)>=Kh))return a(m,()=>gi(m.target)?m.target:null)},!0),gv(e,"blur",m=>a(m,()=>mw(window.document.activeElement)?window.document.activeElement:null),!0)}function Qu(...e){return A.useMemo(()=>Wu(...e),[...e])}function vv(e,t,r,i){let a=Ra(r);A.useEffect(()=>{e=e??window;function u(p){a.current(p)}return e.addEventListener(t,u,i),()=>e.removeEventListener(t,u,i)},[e,t,i])}function nx(e){return A.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot)}function rx(e,t){let r=e(),i=new Set;return{getSnapshot(){return r},subscribe(a){return i.add(a),()=>i.delete(a)},dispatch(a,...u){let p=t[a].call(r,...u);p&&(r=p,i.forEach(m=>m()))}}}function ox(){let e;return{before({doc:t}){var r;let i=t.documentElement,a=(r=t.defaultView)!=null?r:window;e=Math.max(0,a.innerWidth-i.clientWidth)},after({doc:t,d:r}){let i=t.documentElement,a=Math.max(0,i.clientWidth-i.offsetWidth),u=Math.max(0,e-a);r.style(i,"paddingRight",`${u}px`)}}}function ix(){return mv()?{before({doc:e,d:t,meta:r}){function i(a){return r.containers.flatMap(u=>u()).some(u=>u.contains(a))}t.microTask(()=>{var a;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let m=yo();m.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>m.dispose()))}let u=(a=window.scrollY)!=null?a:window.pageYOffset,p=null;t.addEventListener(e,"click",m=>{if(gi(m.target))try{let h=m.target.closest("a");if(!h)return;let{hash:v}=new URL(h.href),C=e.querySelector(v);gi(C)&&!i(C)&&(p=C)}catch{}},!0),t.addEventListener(e,"touchstart",m=>{if(gi(m.target)&&hw(m.target))if(i(m.target)){let h=m.target;for(;h.parentElement&&i(h.parentElement);)h=h.parentElement;t.style(h,"overscrollBehavior","contain")}else t.style(m.target,"touchAction","none")}),t.addEventListener(e,"touchmove",m=>{if(gi(m.target)){if(ev(m.target))return;if(i(m.target)){let h=m.target;for(;h.parentElement&&h.dataset.headlessuiPortal!==""&&!(h.scrollHeight>h.clientHeight||h.scrollWidth>h.clientWidth);)h=h.parentElement;h.dataset.headlessuiPortal===""&&m.preventDefault()}else m.preventDefault()}},{passive:!1}),t.add(()=>{var m;let h=(m=window.scrollY)!=null?m:window.pageYOffset;u!==h&&window.scrollTo(0,u),p&&p.isConnected&&(p.scrollIntoView({block:"nearest"}),p=null)})})}}:{}}function ax(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function sx(e){let t={};for(let r of e)Object.assign(t,r(t));return t}let fa=rx(()=>new Map,{PUSH(e,t){var r;let i=(r=this.get(e))!=null?r:{doc:e,count:0,d:yo(),meta:new Set};return i.count++,i.meta.add(t),this.set(e,i),this},POP(e,t){let r=this.get(e);return r&&(r.count--,r.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:r}){let i={doc:e,d:t,meta:sx(r)},a=[ix(),ox(),ax()];a.forEach(({before:u})=>u==null?void 0:u(i)),a.forEach(({after:u})=>u==null?void 0:u(i))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});fa.subscribe(()=>{let e=fa.getSnapshot(),t=new Map;for(let[r]of e)t.set(r,r.documentElement.style.overflow);for(let r of e.values()){let i=t.get(r.doc)==="hidden",a=r.count!==0;(a&&!i||!a&&i)&&fa.dispatch(r.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",r),r.count===0&&fa.dispatch("TEARDOWN",r)}});function lx(e,t,r=()=>({containers:[]})){let i=nx(fa),a=t?i.get(t):void 0,u=a?a.count>0:!1;return Mt(()=>{if(!(!t||!e))return fa.dispatch("PUSH",t,r),()=>fa.dispatch("POP",t,r)},[e,t]),u}function cx(e,t,r=()=>[document.body]){let i=wc(e,"scroll-lock");lx(i,t,a=>{var u;return{containers:[...(u=a.containers)!=null?u:[],r]}})}function ux(e=0){let[t,r]=A.useState(e),i=A.useCallback(h=>r(h),[t]),a=A.useCallback(h=>r(v=>v|h),[t]),u=A.useCallback(h=>(t&h)===h,[t]),p=A.useCallback(h=>r(v=>v&~h),[r]),m=A.useCallback(h=>r(v=>v^h),[r]);return{flags:t,setFlag:i,addFlag:a,hasFlag:u,removeFlag:p,toggleFlag:m}}var Jh,Zh;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((Jh=process==null?void 0:process.env)==null?void 0:Jh.NODE_ENV)==="test"&&typeof((Zh=Element==null?void 0:Element.prototype)==null?void 0:Zh.getAnimations)>"u"&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(`
|
|
145
|
+
`)),[]});var fx=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(fx||{});function dx(e){let t={};for(let r in e)e[r]===!0&&(t[`data-${r}`]="");return t}function px(e,t,r,i){let[a,u]=A.useState(r),{hasFlag:p,addFlag:m,removeFlag:h}=ux(e&&a?3:0),v=A.useRef(!1),C=A.useRef(!1),x=Vp();return Mt(()=>{var F;if(e){if(r&&u(!0),!t){r&&m(3);return}return(F=i==null?void 0:i.start)==null||F.call(i,r),hx(t,{inFlight:v,prepare(){C.current?C.current=!1:C.current=v.current,v.current=!0,!C.current&&(r?(m(3),h(4)):(m(4),h(2)))},run(){C.current?r?(h(3),m(4)):(h(4),m(3)):r?h(1):m(1)},done(){var I;C.current&&typeof t.getAnimations=="function"&&t.getAnimations().length>0||(v.current=!1,h(7),r||u(!1),(I=i==null?void 0:i.end)==null||I.call(i,r))}})}},[e,r,t,x]),e?[a,{closed:p(1),enter:p(2),leave:p(4),transition:p(2)||p(4)}]:[r,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function hx(e,{prepare:t,run:r,done:i,inFlight:a}){let u=yo();return gx(e,{prepare:t,inFlight:a}),u.nextFrame(()=>{r(),u.requestAnimationFrame(()=>{u.add(mx(e,i))})}),u.dispose}function mx(e,t){var r,i;let a=yo();if(!e)return a.dispose;let u=!1;a.add(()=>{u=!0});let p=(i=(r=e.getAnimations)==null?void 0:r.call(e).filter(m=>m instanceof CSSTransition))!=null?i:[];return p.length===0?(t(),a.dispose):(Promise.allSettled(p.map(m=>m.finished)).then(()=>{u||t()}),a.dispose)}function gx(e,{inFlight:t,prepare:r}){if(t!=null&&t.current){r();return}let i=e.style.transition;e.style.transition="none",r(),e.offsetHeight,e.style.transition=i}function Gp(e,t){let r=A.useRef([]),i=tt(e);A.useEffect(()=>{let a=[...r.current];for(let[u,p]of t.entries())if(r.current[u]!==p){let m=i(t,a);return r.current=t,m}},[i,...t])}function qu(){return typeof window<"u"}function el(e){return yv(e)?(e.nodeName||"").toLowerCase():"#document"}function xn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function bo(e){var t;return(t=(yv(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function yv(e){return qu()?e instanceof Node||e instanceof xn(e).Node:!1}function ht(e){return qu()?e instanceof Element||e instanceof xn(e).Element:!1}function ar(e){return qu()?e instanceof HTMLElement||e instanceof xn(e).HTMLElement:!1}function cp(e){return!qu()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof xn(e).ShadowRoot}function xc(e){const{overflow:t,overflowX:r,overflowY:i,display:a}=Bn(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+r)&&!["inline","contents"].includes(a)}function vx(e){return["table","td","th"].includes(el(e))}function Ku(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Yp(e){const t=Ju(),r=ht(e)?Bn(e):e;return["transform","translate","scale","rotate","perspective"].some(i=>r[i]?r[i]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(i=>(r.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(r.contain||"").includes(i))}function yx(e){let t=ho(e);for(;ar(t)&&!uo(t);){if(Yp(t))return t;if(Ku(t))return null;t=ho(t)}return null}function Ju(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function uo(e){return["html","body","#document"].includes(el(e))}function Bn(e){return xn(e).getComputedStyle(e)}function Zu(e){return ht(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ho(e){if(el(e)==="html")return e;const t=e.assignedSlot||e.parentNode||cp(e)&&e.host||bo(e);return cp(t)?t.host:t}function bv(e){const t=ho(e);return uo(t)?e.ownerDocument?e.ownerDocument.body:e.body:ar(t)&&xc(t)?t:bv(t)}function Ms(e,t,r){var i;t===void 0&&(t=[]),r===void 0&&(r=!0);const a=bv(e),u=a===((i=e.ownerDocument)==null?void 0:i.body),p=xn(a);if(u){const m=up(p);return t.concat(p,p.visualViewport||[],xc(a)?a:[],m&&r?Ms(m):[])}return t.concat(a,Ms(a,[],r))}function up(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}const em=Math.min,oc=Math.max,$u=Math.round,Or=e=>({x:e,y:e});function wv(e){return e.split("-")[0]}function bx(e){return e.split("-")[1]}function wx(e){return e==="x"?"y":"x"}function xx(e){return e==="y"?"height":"width"}function xv(e){return["top","bottom"].includes(wv(e))?"y":"x"}function Sx(e){return wx(xv(e))}function Sv(e){const{x:t,y:r,width:i,height:a}=e;return{width:i,height:a,top:r,left:t,right:t+i,bottom:r+a,x:t,y:r}}function tm(e,t,r){let{reference:i,floating:a}=e;const u=xv(t),p=Sx(t),m=xx(p),h=wv(t),v=u==="y",C=i.x+i.width/2-a.width/2,x=i.y+i.height/2-a.height/2,F=i[m]/2-a[m]/2;let I;switch(h){case"top":I={x:C,y:i.y-a.height};break;case"bottom":I={x:C,y:i.y+i.height};break;case"right":I={x:i.x+i.width,y:x};break;case"left":I={x:i.x-a.width,y:x};break;default:I={x:i.x,y:i.y}}switch(bx(t)){case"start":I[p]-=F*(r&&v?-1:1);break;case"end":I[p]+=F*(r&&v?-1:1);break}return I}const kx=async(e,t,r)=>{const{placement:i="bottom",strategy:a="absolute",middleware:u=[],platform:p}=r,m=u.filter(Boolean),h=await(p.isRTL==null?void 0:p.isRTL(t));let v=await p.getElementRects({reference:e,floating:t,strategy:a}),{x:C,y:x}=tm(v,i,h),F=i,I={},L=0;for(let D=0;D<m.length;D++){const{name:T,fn:O}=m[D],{x:U,y:j,data:V,reset:$}=await O({x:C,y:x,initialPlacement:i,placement:F,strategy:a,middlewareData:I,rects:v,platform:p,elements:{reference:e,floating:t}});C=U??C,x=j??x,I={...I,[T]:{...I[T],...V}},$&&L<=50&&(L++,typeof $=="object"&&($.placement&&(F=$.placement),$.rects&&(v=$.rects===!0?await p.getElementRects({reference:e,floating:t,strategy:a}):$.rects),{x:C,y:x}=tm(v,F,h)),D=-1)}return{x:C,y:x,placement:F,strategy:a,middlewareData:I}};function kv(e){const t=Bn(e);let r=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const a=ar(e),u=a?e.offsetWidth:r,p=a?e.offsetHeight:i,m=$u(r)!==u||$u(i)!==p;return m&&(r=u,i=p),{width:r,height:i,$:m}}function Ev(e){return ht(e)?e:e.contextElement}function Ds(e){const t=Ev(e);if(!ar(t))return Or(1);const r=t.getBoundingClientRect(),{width:i,height:a,$:u}=kv(t);let p=(u?$u(r.width):r.width)/i,m=(u?$u(r.height):r.height)/a;return(!p||!Number.isFinite(p))&&(p=1),(!m||!Number.isFinite(m))&&(m=1),{x:p,y:m}}const Ex=Or(0);function Cv(e){const t=xn(e);return!Ju()||!t.visualViewport?Ex:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Cx(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==xn(e)?!1:t}function uc(e,t,r,i){t===void 0&&(t=!1),r===void 0&&(r=!1);const a=e.getBoundingClientRect(),u=Ev(e);let p=Or(1);t&&(i?ht(i)&&(p=Ds(i)):p=Ds(e));const m=Cx(u,r,i)?Cv(u):Or(0);let h=(a.left+m.x)/p.x,v=(a.top+m.y)/p.y,C=a.width/p.x,x=a.height/p.y;if(u){const F=xn(u),I=i&&ht(i)?xn(i):i;let L=F,D=up(L);for(;D&&i&&I!==L;){const T=Ds(D),O=D.getBoundingClientRect(),U=Bn(D),j=O.left+(D.clientLeft+parseFloat(U.paddingLeft))*T.x,V=O.top+(D.clientTop+parseFloat(U.paddingTop))*T.y;h*=T.x,v*=T.y,C*=T.x,x*=T.y,h+=j,v+=V,L=xn(D),D=up(L)}}return Sv({width:C,height:x,x:h,y:v})}function Xp(e,t){const r=Zu(e).scrollLeft;return t?t.left+r:uc(bo(e)).left+r}function Tv(e,t,r){r===void 0&&(r=!1);const i=e.getBoundingClientRect(),a=i.left+t.scrollLeft-(r?0:Xp(e,i)),u=i.top+t.scrollTop;return{x:a,y:u}}function Tx(e){let{elements:t,rect:r,offsetParent:i,strategy:a}=e;const u=a==="fixed",p=bo(i),m=t?Ku(t.floating):!1;if(i===p||m&&u)return r;let h={scrollLeft:0,scrollTop:0},v=Or(1);const C=Or(0),x=ar(i);if((x||!x&&!u)&&((el(i)!=="body"||xc(p))&&(h=Zu(i)),ar(i))){const I=uc(i);v=Ds(i),C.x=I.x+i.clientLeft,C.y=I.y+i.clientTop}const F=p&&!x&&!u?Tv(p,h,!0):Or(0);return{width:r.width*v.x,height:r.height*v.y,x:r.x*v.x-h.scrollLeft*v.x+C.x+F.x,y:r.y*v.y-h.scrollTop*v.y+C.y+F.y}}function Rx(e){return Array.from(e.getClientRects())}function Px(e){const t=bo(e),r=Zu(e),i=e.ownerDocument.body,a=oc(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),u=oc(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let p=-r.scrollLeft+Xp(e);const m=-r.scrollTop;return Bn(i).direction==="rtl"&&(p+=oc(t.clientWidth,i.clientWidth)-a),{width:a,height:u,x:p,y:m}}function Ax(e,t){const r=xn(e),i=bo(e),a=r.visualViewport;let u=i.clientWidth,p=i.clientHeight,m=0,h=0;if(a){u=a.width,p=a.height;const v=Ju();(!v||v&&t==="fixed")&&(m=a.offsetLeft,h=a.offsetTop)}return{width:u,height:p,x:m,y:h}}function Ox(e,t){const r=uc(e,!0,t==="fixed"),i=r.top+e.clientTop,a=r.left+e.clientLeft,u=ar(e)?Ds(e):Or(1),p=e.clientWidth*u.x,m=e.clientHeight*u.y,h=a*u.x,v=i*u.y;return{width:p,height:m,x:h,y:v}}function nm(e,t,r){let i;if(t==="viewport")i=Ax(e,r);else if(t==="document")i=Px(bo(e));else if(ht(t))i=Ox(t,r);else{const a=Cv(e);i={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return Sv(i)}function Rv(e,t){const r=ho(e);return r===t||!ht(r)||uo(r)?!1:Bn(r).position==="fixed"||Rv(r,t)}function Ix(e,t){const r=t.get(e);if(r)return r;let i=Ms(e,[],!1).filter(m=>ht(m)&&el(m)!=="body"),a=null;const u=Bn(e).position==="fixed";let p=u?ho(e):e;for(;ht(p)&&!uo(p);){const m=Bn(p),h=Yp(p);!h&&m.position==="fixed"&&(a=null),(u?!h&&!a:!h&&m.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||xc(p)&&!h&&Rv(e,p))?i=i.filter(C=>C!==p):a=m,p=ho(p)}return t.set(e,i),i}function Fx(e){let{element:t,boundary:r,rootBoundary:i,strategy:a}=e;const p=[...r==="clippingAncestors"?Ku(t)?[]:Ix(t,this._c):[].concat(r),i],m=p[0],h=p.reduce((v,C)=>{const x=nm(t,C,a);return v.top=oc(x.top,v.top),v.right=em(x.right,v.right),v.bottom=em(x.bottom,v.bottom),v.left=oc(x.left,v.left),v},nm(t,m,a));return{width:h.right-h.left,height:h.bottom-h.top,x:h.left,y:h.top}}function Mx(e){const{width:t,height:r}=kv(e);return{width:t,height:r}}function Dx(e,t,r){const i=ar(t),a=bo(t),u=r==="fixed",p=uc(e,!0,u,t);let m={scrollLeft:0,scrollTop:0};const h=Or(0);function v(){h.x=Xp(a)}if(i||!i&&!u)if((el(t)!=="body"||xc(a))&&(m=Zu(t)),i){const I=uc(t,!0,u,t);h.x=I.x+t.clientLeft,h.y=I.y+t.clientTop}else a&&v();u&&!i&&a&&v();const C=a&&!i&&!u?Tv(a,m):Or(0),x=p.left+m.scrollLeft-h.x-C.x,F=p.top+m.scrollTop-h.y-C.y;return{x,y:F,width:p.width,height:p.height}}function Td(e){return Bn(e).position==="static"}function rm(e,t){if(!ar(e)||Bn(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return bo(e)===r&&(r=r.ownerDocument.body),r}function Pv(e,t){const r=xn(e);if(Ku(e))return r;if(!ar(e)){let a=ho(e);for(;a&&!uo(a);){if(ht(a)&&!Td(a))return a;a=ho(a)}return r}let i=rm(e,t);for(;i&&vx(i)&&Td(i);)i=rm(i,t);return i&&uo(i)&&Td(i)&&!Yp(i)?r:i||yx(e)||r}const _x=async function(e){const t=this.getOffsetParent||Pv,r=this.getDimensions,i=await r(e.floating);return{reference:Dx(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function Lx(e){return Bn(e).direction==="rtl"}const $x={convertOffsetParentRelativeRectToViewportRelativeRect:Tx,getDocumentElement:bo,getClippingRect:Fx,getOffsetParent:Pv,getElementRects:_x,getClientRects:Rx,getDimensions:Mx,getScale:Ds,isElement:ht,isRTL:Lx},jx=(e,t,r)=>{const i=new Map,a={platform:$x,...r},u={...a.platform,_c:i};return kx(e,t,{...a,platform:u})};var Nx=typeof document<"u",zx=function(){},Tu=Nx?A.useLayoutEffect:zx;function ju(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,i,a;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(i=r;i--!==0;)if(!ju(e[i],t[i]))return!1;return!0}if(a=Object.keys(e),r=a.length,r!==Object.keys(t).length)return!1;for(i=r;i--!==0;)if(!{}.hasOwnProperty.call(t,a[i]))return!1;for(i=r;i--!==0;){const u=a[i];if(!(u==="_owner"&&e.$$typeof)&&!ju(e[u],t[u]))return!1}return!0}return e!==e&&t!==t}function Av(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function om(e,t){const r=Av(e);return Math.round(t*r)/r}function Rd(e){const t=pe.useRef(e);return Tu(()=>{t.current=e}),t}function Bx(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:i=[],platform:a,elements:{reference:u,floating:p}={},transform:m=!0,whileElementsMounted:h,open:v}=e,[C,x]=pe.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[F,I]=pe.useState(i);ju(F,i)||I(i);const[L,D]=pe.useState(null),[T,O]=pe.useState(null),U=pe.useCallback(Z=>{Z!==J.current&&(J.current=Z,D(Z))},[]),j=pe.useCallback(Z=>{Z!==ae.current&&(ae.current=Z,O(Z))},[]),V=u||L,$=p||T,J=pe.useRef(null),ae=pe.useRef(null),ne=pe.useRef(C),le=h!=null,ye=Rd(h),De=Rd(a),Fe=Rd(v),$e=pe.useCallback(()=>{if(!J.current||!ae.current)return;const Z={placement:t,strategy:r,middleware:F};De.current&&(Z.platform=De.current),jx(J.current,ae.current,Z).then(ve=>{const Y={...ve,isPositioned:Fe.current!==!1};ze.current&&!ju(ne.current,Y)&&(ne.current=Y,jy.flushSync(()=>{x(Y)}))})},[F,t,r,De,Fe]);Tu(()=>{v===!1&&ne.current.isPositioned&&(ne.current.isPositioned=!1,x(Z=>({...Z,isPositioned:!1})))},[v]);const ze=pe.useRef(!1);Tu(()=>(ze.current=!0,()=>{ze.current=!1}),[]),Tu(()=>{if(V&&(J.current=V),$&&(ae.current=$),V&&$){if(ye.current)return ye.current(V,$,$e);$e()}},[V,$,$e,ye,le]);const xe=pe.useMemo(()=>({reference:J,floating:ae,setReference:U,setFloating:j}),[U,j]),Re=pe.useMemo(()=>({reference:V,floating:$}),[V,$]),Le=pe.useMemo(()=>{const Z={position:r,left:0,top:0};if(!Re.floating)return Z;const ve=om(Re.floating,C.x),Y=om(Re.floating,C.y);return m?{...Z,transform:"translate("+ve+"px, "+Y+"px)",...Av(Re.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:ve,top:Y}},[r,m,Re.floating,C.x,C.y]);return pe.useMemo(()=>({...C,update:$e,refs:xe,elements:Re,floatingStyles:Le}),[C,$e,xe,Re,Le])}let ef=A.createContext(null);ef.displayName="OpenClosedContext";var ir=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(ir||{});function tf(){return A.useContext(ef)}function Ux({value:e,children:t}){return A.createElement(ef.Provider,{value:e},t)}function Hx({children:e}){return A.createElement(ef.Provider,{value:null},e)}function Wx(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let oi=[];Wx(()=>{function e(t){if(!gi(t.target)||t.target===document.body||oi[0]===t.target)return;let r=t.target;r=r.closest(Lu),oi.unshift(r??t.target),oi=oi.filter(i=>i!=null&&i.isConnected),oi.splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function Ov(e){let t=tt(e),r=A.useRef(!1);A.useEffect(()=>(r.current=!1,()=>{r.current=!0,Vu(()=>{r.current&&t()})}),[t])}function Vx(){let e=typeof document>"u";return"useSyncExternalStore"in pe?(t=>t.useSyncExternalStore)(pe)(()=>()=>{},()=>!1,()=>!e):!1}function Sc(){let e=Vx(),[t,r]=pe.useState(xa.isHandoffComplete);return t&&xa.isHandoffComplete===!1&&r(!1),pe.useEffect(()=>{t!==!0&&r(!0)},[t]),pe.useEffect(()=>xa.handoff(),[]),e?!1:t}let Iv=A.createContext(!1);function Gx(){return A.useContext(Iv)}function im(e){return A.createElement(Iv.Provider,{value:e.force},e.children)}function Yx(e){let t=Gx(),r=A.useContext(Mv),[i,a]=A.useState(()=>{var u;if(!t&&r!==null)return(u=r.current)!=null?u:null;if(xa.isServer)return null;let p=e==null?void 0:e.getElementById("headlessui-portal-root");if(p)return p;if(e===null)return null;let m=e.createElement("div");return m.setAttribute("id","headlessui-portal-root"),e.body.appendChild(m)});return A.useEffect(()=>{i!==null&&(e!=null&&e.body.contains(i)||e==null||e.body.appendChild(i))},[i,e]),A.useEffect(()=>{t||r!==null&&a(r.current)},[r,a,t]),i}let Fv=A.Fragment,Xx=Dt(function(e,t){let{ownerDocument:r=null,...i}=e,a=A.useRef(null),u=sr(vw(I=>{a.current=I}),t),p=Qu(a),m=r??p,h=Yx(m),[v]=A.useState(()=>{var I;return xa.isServer?null:(I=m==null?void 0:m.createElement("div"))!=null?I:null}),C=A.useContext(fp),x=Sc();Mt(()=>{!h||!v||h.contains(v)||(v.setAttribute("data-headlessui-portal",""),h.appendChild(v))},[h,v]),Mt(()=>{if(v&&C)return C.register(v)},[C,v]),Ov(()=>{var I;!h||!v||(Zg(v)&&h.contains(v)&&h.removeChild(v),h.childNodes.length<=0&&((I=h.parentElement)==null||I.removeChild(h)))});let F=en();return x?!h||!v?null:Uu.createPortal(F({ourProps:{ref:u},theirProps:i,slot:{},defaultTag:Fv,name:"Portal"}),v):null});function Qx(e,t){let r=sr(t),{enabled:i=!0,ownerDocument:a,...u}=e,p=en();return i?A.createElement(Xx,{...u,ownerDocument:a,ref:r}):p({ourProps:{ref:r},theirProps:u,slot:{},defaultTag:Fv,name:"Portal"})}let qx=A.Fragment,Mv=A.createContext(null);function Kx(e,t){let{target:r,...i}=e,a={ref:sr(t)},u=en();return A.createElement(Mv.Provider,{value:r},u({ourProps:a,theirProps:i,defaultTag:qx,name:"Popover.Group"}))}let fp=A.createContext(null);function Jx(){let e=A.useContext(fp),t=A.useRef([]),r=tt(u=>(t.current.push(u),e&&e.register(u),()=>i(u))),i=tt(u=>{let p=t.current.indexOf(u);p!==-1&&t.current.splice(p,1),e&&e.unregister(u)}),a=A.useMemo(()=>({register:r,unregister:i,portals:t}),[r,i,t]);return[t,A.useMemo(()=>function({children:u}){return A.createElement(fp.Provider,{value:a},u)},[a])]}let Zx=Dt(Qx),Dv=Dt(Kx),eS=Object.assign(Zx,{Group:Dv});function tS(e,t=typeof document<"u"?document.defaultView:null,r){let i=wc(e,"escape");vv(t,"keydown",a=>{i&&(a.defaultPrevented||a.key===iv.Escape&&r(a))})}function nS(){var e;let[t]=A.useState(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia("(pointer: coarse)"):null),[r,i]=A.useState((e=t==null?void 0:t.matches)!=null?e:!1);return Mt(()=>{if(!t)return;function a(u){i(u.matches)}return t.addEventListener("change",a),()=>t.removeEventListener("change",a)},[t]),r}function rS({defaultContainers:e=[],portals:t,mainTreeNode:r}={}){let i=Qu(r),a=tt(()=>{var u,p;let m=[];for(let h of e)h!==null&&(lo(h)?m.push(h):"current"in h&&lo(h.current)&&m.push(h.current));if(t!=null&&t.current)for(let h of t.current)m.push(h);for(let h of(u=i==null?void 0:i.querySelectorAll("html > *, body > *"))!=null?u:[])h!==document.body&&h!==document.head&&lo(h)&&h.id!=="headlessui-portal-root"&&(r&&(h.contains(r)||h.contains((p=r==null?void 0:r.getRootNode())==null?void 0:p.host))||m.some(v=>h.contains(v))||m.push(h));return m});return{resolveContainers:a,contains:tt(u=>a().some(p=>p.contains(u)))}}let _v=A.createContext(null);function am({children:e,node:t}){let[r,i]=A.useState(null),a=Lv(t??r);return A.createElement(_v.Provider,{value:a},e,a===null&&A.createElement(_u,{features:cc.Hidden,ref:u=>{var p,m;if(u){for(let h of(m=(p=Wu(u))==null?void 0:p.querySelectorAll("html > *, body > *"))!=null?m:[])if(h!==document.body&&h!==document.head&&lo(h)&&h!=null&&h.contains(u)){i(h);break}}}}))}function Lv(e=null){var t;return(t=A.useContext(_v))!=null?t:e}function Qp(){let e=A.useRef(!1);return Mt(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var Jl=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Jl||{});function oS(){let e=A.useRef(0);return gv(!0,"keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function $v(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let r of e.current)lo(r.current)&&t.add(r.current);return t}let iS="div";var ca=(e=>(e[e.None=0]="None",e[e.InitialFocus=1]="InitialFocus",e[e.TabLock=2]="TabLock",e[e.FocusLock=4]="FocusLock",e[e.RestoreFocus=8]="RestoreFocus",e[e.AutoFocus=16]="AutoFocus",e))(ca||{});function aS(e,t){let r=A.useRef(null),i=sr(r,t),{initialFocus:a,initialFocusFallback:u,containers:p,features:m=15,...h}=e;Sc()||(m=0);let v=Qu(r);uS(m,{ownerDocument:v});let C=fS(m,{ownerDocument:v,container:r,initialFocus:a,initialFocusFallback:u});dS(m,{ownerDocument:v,container:r,containers:p,previousActiveElement:C});let x=oS(),F=tt(U=>{if(!yi(r.current))return;let j=r.current;(V=>V())(()=>{po(x.current,{[Jl.Forwards]:()=>{rc(j,so.First,{skipElements:[U.relatedTarget,u]})},[Jl.Backwards]:()=>{rc(j,so.Last,{skipElements:[U.relatedTarget,u]})}})})}),I=wc(!!(m&2),"focus-trap#tab-lock"),L=Vp(),D=A.useRef(!1),T={ref:i,onKeyDown(U){U.key=="Tab"&&(D.current=!0,L.requestAnimationFrame(()=>{D.current=!1}))},onBlur(U){if(!(m&4))return;let j=$v(p);yi(r.current)&&j.add(r.current);let V=U.relatedTarget;gi(V)&&V.dataset.headlessuiFocusGuard!=="true"&&(jv(j,V)||(D.current?rc(r.current,po(x.current,{[Jl.Forwards]:()=>so.Next,[Jl.Backwards]:()=>so.Previous})|so.WrapAround,{relativeTo:U.target}):gi(U.target)&&co(U.target)))}},O=en();return A.createElement(A.Fragment,null,I&&A.createElement(_u,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:F,features:cc.Focusable}),O({ourProps:T,theirProps:h,defaultTag:iS,name:"FocusTrap"}),I&&A.createElement(_u,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:F,features:cc.Focusable}))}let sS=Dt(aS),lS=Object.assign(sS,{features:ca});function cS(e=!0){let t=A.useRef(oi.slice());return Gp(([r],[i])=>{i===!0&&r===!1&&Vu(()=>{t.current.splice(0)}),i===!1&&r===!0&&(t.current=oi.slice())},[e,oi,t]),tt(()=>{var r;return(r=t.current.find(i=>i!=null&&i.isConnected))!=null?r:null})}function uS(e,{ownerDocument:t}){let r=!!(e&8),i=cS(r);Gp(()=>{r||(t==null?void 0:t.activeElement)===(t==null?void 0:t.body)&&co(i())},[r]),Ov(()=>{r&&co(i())})}function fS(e,{ownerDocument:t,container:r,initialFocus:i,initialFocusFallback:a}){let u=A.useRef(null),p=wc(!!(e&1),"focus-trap#initial-focus"),m=Qp();return Gp(()=>{if(e===0)return;if(!p){a!=null&&a.current&&co(a.current);return}let h=r.current;h&&Vu(()=>{if(!m.current)return;let v=t==null?void 0:t.activeElement;if(i!=null&&i.current){if((i==null?void 0:i.current)===v){u.current=v;return}}else if(h.contains(v)){u.current=v;return}if(i!=null&&i.current)co(i.current);else{if(e&16){if(rc(h,so.First|so.AutoFocus)!==lp.Error)return}else if(rc(h,so.First)!==lp.Error)return;if(a!=null&&a.current&&(co(a.current),(t==null?void 0:t.activeElement)===a.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}u.current=t==null?void 0:t.activeElement})},[a,p,e]),u}function dS(e,{ownerDocument:t,container:r,containers:i,previousActiveElement:a}){let u=Qp(),p=!!(e&4);vv(t==null?void 0:t.defaultView,"focus",m=>{if(!p||!u.current)return;let h=$v(i);yi(r.current)&&h.add(r.current);let v=a.current;if(!v)return;let C=m.target;yi(C)?jv(h,C)?(a.current=C,co(C)):(m.preventDefault(),m.stopPropagation(),co(v)):co(a.current)},!0)}function jv(e,t){for(let r of e)if(r.contains(t))return!0;return!1}function Nv(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||((t=e.as)!=null?t:Bv)!==A.Fragment||A.Children.count(e.children)===1}let nf=A.createContext(null);nf.displayName="TransitionContext";var pS=(e=>(e.Visible="visible",e.Hidden="hidden",e))(pS||{});function hS(){let e=A.useContext(nf);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function mS(){let e=A.useContext(rf);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let rf=A.createContext(null);rf.displayName="NestingContext";function of(e){return"children"in e?of(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function zv(e,t){let r=Ra(e),i=A.useRef([]),a=Qp(),u=Vp(),p=tt((I,L=mi.Hidden)=>{let D=i.current.findIndex(({el:T})=>T===I);D!==-1&&(po(L,{[mi.Unmount](){i.current.splice(D,1)},[mi.Hidden](){i.current[D].state="hidden"}}),u.microTask(()=>{var T;!of(i)&&a.current&&((T=r.current)==null||T.call(r))}))}),m=tt(I=>{let L=i.current.find(({el:D})=>D===I);return L?L.state!=="visible"&&(L.state="visible"):i.current.push({el:I,state:"visible"}),()=>p(I,mi.Unmount)}),h=A.useRef([]),v=A.useRef(Promise.resolve()),C=A.useRef({enter:[],leave:[]}),x=tt((I,L,D)=>{h.current.splice(0),t&&(t.chains.current[L]=t.chains.current[L].filter(([T])=>T!==I)),t==null||t.chains.current[L].push([I,new Promise(T=>{h.current.push(T)})]),t==null||t.chains.current[L].push([I,new Promise(T=>{Promise.all(C.current[L].map(([O,U])=>U)).then(()=>T())})]),L==="enter"?v.current=v.current.then(()=>t==null?void 0:t.wait.current).then(()=>D(L)):D(L)}),F=tt((I,L,D)=>{Promise.all(C.current[L].splice(0).map(([T,O])=>O)).then(()=>{var T;(T=h.current.shift())==null||T()}).then(()=>D(L))});return A.useMemo(()=>({children:i,register:m,unregister:p,onStart:x,onStop:F,wait:v,chains:C}),[m,p,i,x,F,C,v])}let Bv=A.Fragment,Uv=Du.RenderStrategy;function gS(e,t){var r,i;let{transition:a=!0,beforeEnter:u,afterEnter:p,beforeLeave:m,afterLeave:h,enter:v,enterFrom:C,enterTo:x,entered:F,leave:I,leaveFrom:L,leaveTo:D,...T}=e,[O,U]=A.useState(null),j=A.useRef(null),V=Nv(e),$=sr(...V?[j,t,U]:t===null?[]:[t]),J=(r=T.unmount)==null||r?mi.Unmount:mi.Hidden,{show:ae,appear:ne,initial:le}=hS(),[ye,De]=A.useState(ae?"visible":"hidden"),Fe=mS(),{register:$e,unregister:ze}=Fe;Mt(()=>$e(j),[$e,j]),Mt(()=>{if(J===mi.Hidden&&j.current){if(ae&&ye!=="visible"){De("visible");return}return po(ye,{hidden:()=>ze(j),visible:()=>$e(j)})}},[ye,j,$e,ze,ae,J]);let xe=Sc();Mt(()=>{if(V&&xe&&ye==="visible"&&j.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[j,ye,xe,V]);let Re=le&&!ne,Le=ne&&ae&&le,Z=A.useRef(!1),ve=zv(()=>{Z.current||(De("hidden"),ze(j))},Fe),Y=tt(ue=>{Z.current=!0;let Ee=ue?"enter":"leave";ve.onStart(j,Ee,Se=>{Se==="enter"?u==null||u():Se==="leave"&&(m==null||m())})}),K=tt(ue=>{let Ee=ue?"enter":"leave";Z.current=!1,ve.onStop(j,Ee,Se=>{Se==="enter"?p==null||p():Se==="leave"&&(h==null||h())}),Ee==="leave"&&!of(ve)&&(De("hidden"),ze(j))});A.useEffect(()=>{V&&a||(Y(ae),K(ae))},[ae,V,a]);let fe=!(!a||!V||!xe||Re),[,te]=px(fe,O,ae,{start:Y,end:K}),he=la({ref:$,className:((i=ap(T.className,Le&&v,Le&&C,te.enter&&v,te.enter&&te.closed&&C,te.enter&&!te.closed&&x,te.leave&&I,te.leave&&!te.closed&&L,te.leave&&te.closed&&D,!te.transition&&ae&&F))==null?void 0:i.trim())||void 0,...dx(te)}),me=0;ye==="visible"&&(me|=ir.Open),ye==="hidden"&&(me|=ir.Closed),ae&&ye==="hidden"&&(me|=ir.Opening),!ae&&ye==="visible"&&(me|=ir.Closing);let ce=en();return A.createElement(rf.Provider,{value:ve},A.createElement(Ux,{value:me},ce({ourProps:he,theirProps:T,defaultTag:Bv,features:Uv,visible:ye==="visible",name:"Transition.Child"})))}function vS(e,t){let{show:r,appear:i=!1,unmount:a=!0,...u}=e,p=A.useRef(null),m=Nv(e),h=sr(...m?[p,t]:t===null?[]:[t]);Sc();let v=tf();if(r===void 0&&v!==null&&(r=(v&ir.Open)===ir.Open),r===void 0)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[C,x]=A.useState(r?"visible":"hidden"),F=zv(()=>{r||x("hidden")}),[I,L]=A.useState(!0),D=A.useRef([r]);Mt(()=>{I!==!1&&D.current[D.current.length-1]!==r&&(D.current.push(r),L(!1))},[D,r]);let T=A.useMemo(()=>({show:r,appear:i,initial:I}),[r,i,I]);Mt(()=>{r?x("visible"):!of(F)&&p.current!==null&&x("hidden")},[r,F]);let O={unmount:a},U=tt(()=>{var $;I&&L(!1),($=e.beforeEnter)==null||$.call(e)}),j=tt(()=>{var $;I&&L(!1),($=e.beforeLeave)==null||$.call(e)}),V=en();return A.createElement(rf.Provider,{value:F},A.createElement(nf.Provider,{value:T},V({ourProps:{...O,as:A.Fragment,children:A.createElement(Hv,{ref:h,...O,...u,beforeEnter:U,beforeLeave:j})},theirProps:{},defaultTag:A.Fragment,features:Uv,visible:C==="visible",name:"Transition"})))}function yS(e,t){let r=A.useContext(nf)!==null,i=tf()!==null;return A.createElement(A.Fragment,null,!r&&i?A.createElement(dp,{ref:t,...e}):A.createElement(Hv,{ref:t,...e}))}let dp=Dt(vS),Hv=Dt(gS),qp=Dt(yS),bS=Object.assign(dp,{Child:qp,Root:dp});var wS=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(wS||{}),xS=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(xS||{});let SS={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},Kp=A.createContext(null);Kp.displayName="DialogContext";function af(e){let t=A.useContext(Kp);if(t===null){let r=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,af),r}return t}function kS(e,t){return po(t.type,SS,e,t)}let sm=Dt(function(e,t){let r=A.useId(),{id:i=`headlessui-dialog-${r}`,open:a,onClose:u,initialFocus:p,role:m="dialog",autoFocus:h=!0,__demoMode:v=!1,unmount:C=!1,...x}=e,F=A.useRef(!1);m=function(){return m==="dialog"||m==="alertdialog"?m:(F.current||(F.current=!0,console.warn(`Invalid role [${m}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")}();let I=tf();a===void 0&&I!==null&&(a=(I&ir.Open)===ir.Open);let L=A.useRef(null),D=sr(L,t),T=Qu(L),O=a?0:1,[U,j]=A.useReducer(kS,{titleId:null,descriptionId:null,panelRef:A.createRef()}),V=tt(()=>u(!1)),$=tt(te=>j({type:0,id:te})),J=Sc()?O===0:!1,[ae,ne]=Jx(),le={get current(){var te;return(te=U.panelRef.current)!=null?te:L.current}},ye=Lv(),{resolveContainers:De}=rS({mainTreeNode:ye,portals:ae,defaultContainers:[le]}),Fe=I!==null?(I&ir.Closing)===ir.Closing:!1;Hw(v||Fe?!1:J,{allowed:tt(()=>{var te,he;return[(he=(te=L.current)==null?void 0:te.closest("[data-headlessui-portal]"))!=null?he:null]}),disallowed:tt(()=>{var te;return[(te=ye==null?void 0:ye.closest("body > *:not(#headlessui-portal-root)"))!=null?te:null]})});let $e=dv.get(null);Mt(()=>{if(J)return $e.actions.push(i),()=>$e.actions.pop(i)},[$e,i,J]);let ze=pv($e,A.useCallback(te=>$e.selectors.isTop(te,i),[$e,i]));tx(ze,De,te=>{te.preventDefault(),V()}),tS(ze,T==null?void 0:T.defaultView,te=>{te.preventDefault(),te.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur(),V()}),cx(v||Fe?!1:J,T,De),Ww(J,L,V);let[xe,Re]=rv(),Le=A.useMemo(()=>[{dialogState:O,close:V,setTitleId:$,unmount:C},U],[O,U,V,$,C]),Z=A.useMemo(()=>({open:O===0}),[O]),ve={ref:D,id:i,role:m,tabIndex:-1,"aria-modal":v?void 0:O===0?!0:void 0,"aria-labelledby":U.titleId,"aria-describedby":xe,unmount:C},Y=!nS(),K=ca.None;J&&!v&&(K|=ca.RestoreFocus,K|=ca.TabLock,h&&(K|=ca.AutoFocus),Y&&(K|=ca.InitialFocus));let fe=en();return A.createElement(Hx,null,A.createElement(im,{force:!0},A.createElement(eS,null,A.createElement(Kp.Provider,{value:Le},A.createElement(Dv,{target:L},A.createElement(im,{force:!1},A.createElement(Re,{slot:Z},A.createElement(ne,null,A.createElement(lS,{initialFocus:p,initialFocusFallback:L,containers:De,features:K},A.createElement(Pw,{value:V},fe({ourProps:ve,theirProps:x,slot:Z,defaultTag:ES,features:CS,visible:O===0,name:"Dialog"})))))))))))}),ES="div",CS=Du.RenderStrategy|Du.Static;function TS(e,t){let{transition:r=!1,open:i,...a}=e,u=tf(),p=e.hasOwnProperty("open")||u!==null,m=e.hasOwnProperty("onClose");if(!p&&!m)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!p)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!m)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!u&&typeof e.open!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e.open}`);if(typeof e.onClose!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);return(i!==void 0||r)&&!a.static?A.createElement(am,null,A.createElement(bS,{show:i,transition:r,unmount:a.unmount},A.createElement(sm,{ref:t,...a}))):A.createElement(am,null,A.createElement(sm,{ref:t,open:i,...a}))}let RS="div";function PS(e,t){let r=A.useId(),{id:i=`headlessui-dialog-panel-${r}`,transition:a=!1,...u}=e,[{dialogState:p,unmount:m},h]=af("Dialog.Panel"),v=sr(t,h.panelRef),C=A.useMemo(()=>({open:p===0}),[p]),x=tt(T=>{T.stopPropagation()}),F={ref:v,id:i,onClick:x},I=a?qp:A.Fragment,L=a?{unmount:m}:{},D=en();return A.createElement(I,{...L},D({ourProps:F,theirProps:u,slot:C,defaultTag:RS,name:"Dialog.Panel"}))}let AS="div";function OS(e,t){let{transition:r=!1,...i}=e,[{dialogState:a,unmount:u}]=af("Dialog.Backdrop"),p=A.useMemo(()=>({open:a===0}),[a]),m={ref:t,"aria-hidden":!0},h=r?qp:A.Fragment,v=r?{unmount:u}:{},C=en();return A.createElement(h,{...v},C({ourProps:m,theirProps:i,slot:p,defaultTag:AS,name:"Dialog.Backdrop"}))}let IS="h2";function FS(e,t){let r=A.useId(),{id:i=`headlessui-dialog-title-${r}`,...a}=e,[{dialogState:u,setTitleId:p}]=af("Dialog.Title"),m=sr(t);A.useEffect(()=>(p(i),()=>p(null)),[i,p]);let h=A.useMemo(()=>({open:u===0}),[u]),v={ref:m,id:i};return en()({ourProps:v,theirProps:a,slot:h,defaultTag:IS,name:"Dialog.Title"})}let MS=Dt(TS),Wv=Dt(PS),DS=Dt(OS),Vv=Dt(FS),_S=Object.assign(MS,{Panel:Wv,Title:Vv,Description:ov}),LS="div";function $S(e,t){let r=`headlessui-control-${A.useId()}`,[i,a]=Sw(),[u,p]=rv(),m=Gu(),{disabled:h=m||!1,...v}=e,C=A.useMemo(()=>({disabled:h}),[h]),x={ref:t,disabled:h||void 0,"aria-disabled":h||void 0},F=en();return A.createElement(rw,{value:h},A.createElement(a,{value:i},A.createElement(p,{value:u},A.createElement(pw,{id:r},F({ourProps:x,theirProps:{...v,children:A.createElement(dw,null,typeof v.children=="function"?v.children(C):v.children)},slot:C,defaultTag:LS,name:"Field"})))))}let jS=Dt($S),NS="input";function zS(e,t){let r=A.useId(),i=Jg(),a=Gu(),{id:u=i||`headlessui-input-${r}`,disabled:p=a||!1,autoFocus:m=!1,invalid:h=!1,...v}=e,C=sv(),x=yw(),{isFocused:F,focusProps:I}=Z0({autoFocus:m}),{isHovered:L,hoverProps:D}=J0({isDisabled:p}),T=sw({ref:t,id:u,"aria-labelledby":C,"aria-describedby":x,"aria-invalid":h?"true":void 0,disabled:p||void 0,autoFocus:m},I,D),O=A.useMemo(()=>({disabled:p,invalid:h,hover:L,focus:F,autofocus:m}),[p,h,L,F,m]);return en()({ourProps:T,theirProps:v,slot:O,defaultTag:NS,name:"Input"})}let BS=Dt(zS);const US="whitespace-nowrap font-normal flex items-center justify-center",HS="focus:outline focus:outline-3 focus:outline-primary-500/[.3]",WS="disabled:opacity-15 disabled:pointer-events-none",Gv=e=>e==="grayLight"||e==="warning",Yv=(e,t)=>!t||t==="none"?"":e(),VS=(e,t)=>Yv(()=>{const r=e==="gray400"?"gray":e,i=Gv(r)?"active:text-black":"active:text-white";return e==="primary"?t?`bg-${r}-800 text-white`:`hover:bg-${r}-800 active:bg-${r}-800 hover:text-white ${i}`:r==="grayDark"?t?"bg-gray-800 text-white":`hover:bg-gray-800 active:bg-gray-800 hover:text-white ${i}`:r==="grayLight"?t?"bg-gray-50 text-black":`hover:bg-gray-50 active:bg-gray-50 hover:text-black ${i}`:e==="gray400"?t?`bg-${r}-500 text-white`:`hover:bg-${r}-500 active:bg-${r}-500 hover:text-white ${i}`:t?`bg-${r}-700 text-white`:`hover:bg-${r}-600 active:bg-${r}-700 hover:text-white ${i}`},e),GS=e=>Yv(()=>{const t=Gv(e)?"text-black":"text-white";return e==="primary"?`bg-primary-600 ${t}`:e==="gray400"?`bg-gray-400 ${t}`:`bg-${e}-500 ${t}`},e),YS=e=>e&&{dark:"text-dark hover:text-dark",yellow:"text-yellow hover:text-yellow",gray:"text-gray-500 hover:text-gray-800",primary:"text-primary-600 hover:text-primary-800",secondary:"text-secondary-500 hover:text-secondary-800",success:"text-success-500 hover:text-success-800",info:"text-info-500 hover:text-info-800",warning:"text-warning-500 hover:text-warning-800",danger:"text-danger-500 hover:text-danger-800",steel:"text-steel-500 hover:text-steel-800",orange:"text-orange-500 hover:text-orange-800",purple:"text-purple-500 hover:text-purple-800","fiserv-orange":"text-fiserv-orange-500 hover:text-fiserv-orange-800",grayDark:"text-gray-800 hover:text-gray-900",grayLight:"text-gray-50 hover:text-gray-400",gray400:"text-gray-400 hover:text-gray-700"}[e]||"",XS=(e,t)=>e&&{dark:t?"bg-dark text-white":"text-dark hover:bg-dark hover:text-white",yellow:t?"bg-yellow text-white":"text-yellow hover:bg-yellow hover:text-white",gray:t?"bg-gray-500 text-white":"text-gray-500 hover:bg-gray-500 hover:text-white",primary:t?"bg-primary-800 text-white":"text-primary-600 hover:bg-primary-800 hover:text-white",secondary:t?"bg-secondary-500 text-white":"text-secondary-500 hover:bg-secondary-500 hover:text-white",success:t?"bg-success-500 text-white":"text-success-500 hover:bg-success-500 hover:text-white",info:t?"bg-info-500 text-white":"text-info-500 hover:bg-info-500 hover:text-white",warning:t?"bg-warning-500 text-white":"text-warning-500 hover:bg-warning-500 hover:text-white",danger:t?"bg-danger-500 text-white":"text-danger-500 hover:bg-danger-500 hover:text-white",steel:t?"bg-steel-500 text-white":"text-steel-500 hover:bg-steel-500 hover:text-white",orange:t?"bg-orange-500 text-white":"text-orange-500 hover:bg-orange-500 hover:text-white",purple:t?"bg-purple-500 text-white":"text-purple-500 hover:bg-purple-500 hover:text-white","fiserv-orange":t?"bg-fiserv-orange-500 text-white":"text-fiserv-orange-500 hover:bg-fiserv-orange-500 hover:text-white",grayDark:t?"bg-gray-900 text-white":"text-gray-800 hover:bg-gray-900 hover:text-white",grayLight:t?"bg-gray-400 text-white":"text-gray-50 hover:bg-gray-400 hover:text-white",gray400:t?"bg-gray-500 text-white":"text-gray-400 hover:bg-gray-500 hover:text-white"}[e]||"",QS=(e,t)=>!e||e==="none"?"":e==="primary"?`border border-primary-600 ${t?"":"text-primary-600"}`:e==="grayDark"?`border border-gray-800 ${t?"":"text-gray-800"}`:e==="grayLight"?`border border-gray-50 ${t?"":"text-gray-400"}`:e==="gray400"?`border border-gray-400 ${t?"":"text-gray-400"}`:`border border-${e}-500 ${t?"":`text-${e}-500`}`,qS=(e,t)=>({solid:GS(e),link:YS(e),linkHoverSolid:XS(e,t),outline:QS(e,t)}),KS={none:"",default:"min-w-fit h-[40px] text-base px-3",base:"w-full md:min-w-fit h-[40px] text-base px-3",small:"min-w-[106px] h-[30px] text-sm px-2",normal:"min-w-[140px] h-[38px] text-base px-3",large:"min-w-[160px] h-[40px] text-lg px-3",NormalBlock:"w-full h-[40px] text-lg px-3",box:"w-[38px] h-[38px]",smallCollapse:"h-[30px] text-sm px-2",normalCollapse:"h-[38px] text-base px-3"},JS={none:"",default:"rounded",pill:"rounded-pill"},ZS=({active:e=!1,children:t,color:r="primary",size:i="normal",category:a="solid",className:u,type:p="button",rounded:m="default",style:h={},primaryColor:v,...C},x)=>{var j;const F=WS,I=/link/.test(a)?null:VS(r,e),L=HS,D=KS[i],T=(j=qS(r,e))==null?void 0:j[a],O=Fs(I,T),U=JS[m];return q.jsx("button",{...C,style:{...h,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",backgroundColor:v?v+"!important":void 0},type:p,ref:x,className:Fs(US,L,F,D,O,U,u,"cursor-pointer"),children:t})},fc=A.forwardRef(ZS),ek=({isOpen:e,close:t,title:r,dismissOptions:i,confirmOptions:a,children:u,className:p})=>q.jsxs(_S,{open:e,onClose:t,className:wt("relative z-50 transition duration-300 ease-out data-closed:opacity-0 confidence-ui",p),transition:!0,children:[q.jsx(DS,{className:"fixed inset-0 bg-black/30"}),q.jsx("div",{className:"fixed inset-0 flex w-screen items-center justify-center p-4",children:q.jsxs(Wv,{className:"max-w-lg divide-y divide-gray-100 bg-white rounded-sm shadow-xl",children:[r&&q.jsx(Vv,{className:" text-gray-900 p-4",children:r}),q.jsx("div",{className:"p-4",children:u}),i||a?q.jsxs("div",{className:"flex gap-4 p-4",children:[i?q.jsx(fc,{className:"flex-1",onClick:()=>{i.onClick(),t()},size:"small",color:"secondary",children:i.label}):q.jsx(q.Fragment,{}),a?q.jsx(fc,{className:"flex-1",disabled:a.disabled,onClick:()=>{a.onClick(),t()},size:"small",color:"primary",children:a.label}):q.jsx(q.Fragment,{})]}):q.jsx(q.Fragment,{})]})})]}),tk=({type:e="text",className:t,label:r,description:i,error:a,...u})=>q.jsx("div",{className:"w-full max-w-md px-4",children:q.jsxs(jS,{children:[r&&q.jsx(Tw,{className:"font-medium text-gray-900",children:r}),i&&q.jsx(ov,{className:"text-sm text-secondary",children:i}),q.jsx(BS,{type:e,className:wt("mt-3 block w-full rounded-lg border border-gray-200 px-3 py-1.5 text-sm/6 text-gray-800","focus:not-data-focus:outline-none data-focus:outline-2 data-focus:-outline-offset-2 data-focus:outline-primary-500",t,a&&"border-red-500 focus:border-red-500"),...u})]})}),nk=({onConfirm:e,onClose:t,isOpen:r,title:i})=>{const[a,u]=A.useState(""),[p,m]=A.useState(!1),[h,v]=A.useState(!1),C=async()=>{if(a)try{m(!0),await e(a),u("")}catch{v(!0)}finally{m(!1)}else alert("Please enter a valid email address.")};return q.jsx(ek,{isOpen:r,close:t,dismissOptions:{label:"Cancel",onClick:t},confirmOptions:{label:"Initiate",onClick:C,disabled:p||!a||h},children:q.jsxs("div",{className:"flex flex-col items-center gap-4 w-[400px]",children:[q.jsxs("div",{children:[q.jsx("div",{className:"text-center text-2xl font-medium",children:h?"User already has access":i||"Access Playbook"}),q.jsx("div",{className:"text-center",children:h?q.jsxs(q.Fragment,{children:[q.jsx("b",{children:a})," has already accessed a playbook. Contact Confidence to speak to representative."]}):q.jsx(q.Fragment,{children:"Please enter your company email address to access this playbook."})})]}),q.jsx(tk,{disabled:p||h,placeholder:"Enter company email address",onChange:x=>u(x.target.value)})]})})},Xv="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAYCAYAAADpnJ2CAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGpSURBVHgBpVbRdYMwDDR9/S8jeARGYIRuUDpBuwHJBGQDskG6ASOQDcwGdANVLnJRHdmIRO/dI8D5zgIhpTAbAQAlHiqEJUyEa1EU30YRqFHj4Q1xzJIQF8QMSziGEAPi1eTNPhi/lwglomOCDWUZc/yGzkEIYQWtlpnNNxwSGimL2ijCi7DMLbveR2aVtHiMFypN/UZPlLUlHR6iWXuPWaQRsuXRpIjyTb1ZDWuBQVaPnvfAzLs9mcL/SoTNzXMCLJ9CiFZh1glmh9yCmkhldB7CgVzyvlCGlBlEnxJf+IkYo2uNINSy+1JxcDOv2acMD0DvT2HqSCxpRmt9Q/iS/J5NIrBP+kX+J9+pRXQC/Yj8Q3TtReCZJ7M0YpsyxcO7yUfKbBLZmEUFrGgSHOnx+jgn+M4/epMRnLME8/euNWYhgSondpIKJ2HqclxYmsi4JRRaW3a2KTakb5FU7rczS29WUvb9nkUD3D+e9o82WNuVA+XkgKUVOnhktLGK/DWOK4421sDaSy+5z0praqlF8Rnn2PlMhvUe3UJDogwtImRxRUzav4k8fgCQHVaVoXL9RAAAAABJRU5ErkJggg==",rk=({btnClassName:e,buttonNode:t,size:r,playbookId:i,onInitiated:a,disabled:u,btnLabel:p="Run Playbook",btnColor:m="primary"})=>{const[h,v]=A.useState(!1),[C,x]=A.useState(!1);function F(){v(!0)}function I(){v(!1)}const L=async D=>{try{x(!0);const{playbookInstanceId:T,errorCode:O,details:U,message:j}=await Tg({bank:"public-sdk",email:D,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone||"America/Los_Angeles",playbookUid:i})||{};if(O)throw new Error(`Error initiating playbook: ${j} (Code: ${O}) - Details: ${U}`);a(T)}finally{x(!1)}};return q.jsxs(q.Fragment,{children:[t?{buttonNode:t}:q.jsxs(fc,{onClick:F,className:wt(e,"flex items-center gap-1"),color:m,size:r,disabled:u||C,children:[q.jsx("img",{src:Xv,alt:"Confidence Logo",className:"size-4 object-contain text-white"}),p]}),q.jsx(nk,{isOpen:h,onClose:I,onConfirm:async D=>{await L(D),I()}})]})};/*!
|
|
22
146
|
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
|
23
147
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
24
148
|
* Copyright 2024 Fonticons, Inc.
|
|
25
|
-
*/const
|
|
149
|
+
*/const ok={prefix:"fas",iconName:"square-check",icon:[448,512,[9745,9989,61510,"check-square"],"f14a","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM337 209L209 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L303 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},ik=ok,ak={prefix:"fas",iconName:"arrow-right",icon:[448,512,[8594],"f061","M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"]},Qv={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]};/*!
|
|
26
150
|
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
|
27
151
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
28
152
|
* Copyright 2024 Fonticons, Inc.
|
|
29
|
-
*/function km(e,t,n){return(t=Rm(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ka(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ka(Object(n),!0).forEach(function(r){km(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ka(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Am(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Rm(e){var t=Am(e,"string");return typeof t=="symbol"?t:t+""}const Qa=()=>{};let Zs={},Uc={},Bc=null,Wc={mark:Qa,measure:Qa};try{typeof window<"u"&&(Zs=window),typeof document<"u"&&(Uc=document),typeof MutationObserver<"u"&&(Bc=MutationObserver),typeof performance<"u"&&(Wc=performance)}catch{}const{userAgent:Xa=""}=Zs.navigator||{},$t=Zs,de=Uc,Ja=Bc,wr=Wc;$t.document;const dt=!!de.documentElement&&!!de.head&&typeof de.addEventListener=="function"&&typeof de.createElement=="function",qc=~Xa.indexOf("MSIE")||~Xa.indexOf("Trident/");var $m=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,Fm=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,Vc={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},Im={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},Gc=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],Ce="classic",so="duotone",Mm="sharp",Nm="sharp-duotone",Yc=[Ce,so,Mm,Nm],Lm={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}},_m={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}},Dm=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),jm={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}},zm=["fak","fa-kit","fakd","fa-kit-duotone"],Za={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},Hm=["kit"],Um={kit:{"fa-kit":"fak"}},Bm=["fak","fakd"],Wm={kit:{fak:"fa-kit"}},ei={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},Er={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},qm=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],Vm=["fak","fa-kit","fakd","fa-kit-duotone"],Gm={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},Ym={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}},Km={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},ms={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},Qm=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],gs=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",...qm,...Qm],Xm=["solid","regular","light","thin","duotone","brands"],Kc=[1,2,3,4,5,6,7,8,9,10],Jm=Kc.concat([11,12,13,14,15,16,17,18,19,20]),Zm=[...Object.keys(Km),...Xm,"2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Er.GROUP,Er.SWAP_OPACITY,Er.PRIMARY,Er.SECONDARY].concat(Kc.map(e=>"".concat(e,"x"))).concat(Jm.map(e=>"w-".concat(e))),eg={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}};const it="___FONT_AWESOME___",bs=16,Qc="fa",Xc="svg-inline--fa",en="data-fa-i2svg",ys="data-fa-pseudo-element",tg="data-fa-pseudo-element-pending",ea="data-prefix",ta="data-icon",ti="fontawesome-i2svg",ng="async",rg=["HTML","HEAD","STYLE","SCRIPT"],Jc=(()=>{try{return process.env.NODE_ENV==="production"}catch{return!1}})();function fr(e){return new Proxy(e,{get(t,n){return n in t?t[n]:t[Ce]}})}const Zc=T({},Vc);Zc[Ce]=T(T(T(T({},{"fa-duotone":"duotone"}),Vc[Ce]),Za.kit),Za["kit-duotone"]);const og=fr(Zc),vs=T({},jm);vs[Ce]=T(T(T(T({},{duotone:"fad"}),vs[Ce]),ei.kit),ei["kit-duotone"]);const ni=fr(vs),xs=T({},ms);xs[Ce]=T(T({},xs[Ce]),Wm.kit);const na=fr(xs),ws=T({},Ym);ws[Ce]=T(T({},ws[Ce]),Um.kit);fr(ws);const sg=$m,eu="fa-layers-text",ag=Fm,ig=T({},Lm);fr(ig);const lg=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Oo=Im,cg=[...Hm,...Zm],Gn=$t.FontAwesomeConfig||{};function ug(e){var t=de.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function fg(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}de&&typeof de.querySelector=="function"&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(t=>{let[n,r]=t;const o=fg(ug(n));o!=null&&(Gn[r]=o)});const tu={styleDefault:"solid",familyDefault:Ce,cssPrefix:Qc,replacementClass:Xc,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Gn.familyPrefix&&(Gn.cssPrefix=Gn.familyPrefix);const kn=T(T({},tu),Gn);kn.autoReplaceSvg||(kn.observeMutations=!1);const j={};Object.keys(tu).forEach(e=>{Object.defineProperty(j,e,{enumerable:!0,set:function(t){kn[e]=t,Yn.forEach(n=>n(j))},get:function(){return kn[e]}})});Object.defineProperty(j,"familyPrefix",{enumerable:!0,set:function(e){kn.cssPrefix=e,Yn.forEach(t=>t(j))},get:function(){return kn.cssPrefix}});$t.FontAwesomeConfig=j;const Yn=[];function dg(e){return Yn.push(e),()=>{Yn.splice(Yn.indexOf(e),1)}}const pt=bs,Ge={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function hg(e){if(!e||!dt)return;const t=de.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;const n=de.head.childNodes;let r=null;for(let o=n.length-1;o>-1;o--){const s=n[o],a=(s.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=s)}return de.head.insertBefore(t,r),e}const pg="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function er(){let e=12,t="";for(;e-- >0;)t+=pg[Math.random()*62|0];return t}function Mn(e){const t=[];for(let n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function ra(e){return e.classList?Mn(e.classList):(e.getAttribute("class")||"").split(" ").filter(t=>t)}function nu(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function mg(e){return Object.keys(e||{}).reduce((t,n)=>t+"".concat(n,'="').concat(nu(e[n]),'" '),"").trim()}function ao(e){return Object.keys(e||{}).reduce((t,n)=>t+"".concat(n,": ").concat(e[n].trim(),";"),"")}function oa(e){return e.size!==Ge.size||e.x!==Ge.x||e.y!==Ge.y||e.rotate!==Ge.rotate||e.flipX||e.flipY}function gg(e){let{transform:t,containerWidth:n,iconWidth:r}=e;const o={transform:"translate(".concat(n/2," 256)")},s="translate(".concat(t.x*32,", ").concat(t.y*32,") "),a="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),i="rotate(".concat(t.rotate," 0 0)"),l={transform:"".concat(s," ").concat(a," ").concat(i)},c={transform:"translate(".concat(r/2*-1," -256)")};return{outer:o,inner:l,path:c}}function bg(e){let{transform:t,width:n=bs,height:r=bs,startCentered:o=!1}=e,s="";return o&&qc?s+="translate(".concat(t.x/pt-n/2,"em, ").concat(t.y/pt-r/2,"em) "):o?s+="translate(calc(-50% + ".concat(t.x/pt,"em), calc(-50% + ").concat(t.y/pt,"em)) "):s+="translate(".concat(t.x/pt,"em, ").concat(t.y/pt,"em) "),s+="scale(".concat(t.size/pt*(t.flipX?-1:1),", ").concat(t.size/pt*(t.flipY?-1:1),") "),s+="rotate(".concat(t.rotate,"deg) "),s}var yg=`:root, :host {
|
|
153
|
+
*/function sk(e,t,r){return(t=ck(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,i)}return r}function ie(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?lm(Object(r),!0).forEach(function(i){sk(e,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):lm(Object(r)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i))})}return e}function lk(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ck(e){var t=lk(e,"string");return typeof t=="symbol"?t:t+""}const cm=()=>{};let Jp={},qv={},Kv=null,Jv={mark:cm,measure:cm};try{typeof window<"u"&&(Jp=window),typeof document<"u"&&(qv=document),typeof MutationObserver<"u"&&(Kv=MutationObserver),typeof performance<"u"&&(Jv=performance)}catch{}const{userAgent:um=""}=Jp.navigator||{},bi=Jp,at=qv,fm=Kv,ku=Jv;bi.document;const wo=!!at.documentElement&&!!at.head&&typeof at.addEventListener=="function"&&typeof at.createElement=="function",Zv=~um.indexOf("MSIE")||~um.indexOf("Trident/");var uk=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,fk=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,ey={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},dk={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},ty=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],jt="classic",sf="duotone",pk="sharp",hk="sharp-duotone",ny=[jt,sf,pk,hk],mk={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}},gk={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}},vk=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),yk={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}},bk=["fak","fa-kit","fakd","fa-kit-duotone"],dm={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},wk=["kit"],xk={kit:{"fa-kit":"fak"}},Sk=["fak","fakd"],kk={kit:{fak:"fa-kit"}},pm={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},Eu={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Ek=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],Ck=["fak","fa-kit","fakd","fa-kit-duotone"],Tk={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},Rk={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}},Pk={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},pp={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},Ak=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],hp=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",...Ek,...Ak],Ok=["solid","regular","light","thin","duotone","brands"],ry=[1,2,3,4,5,6,7,8,9,10],Ik=ry.concat([11,12,13,14,15,16,17,18,19,20]),Fk=[...Object.keys(Pk),...Ok,"2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Eu.GROUP,Eu.SWAP_OPACITY,Eu.PRIMARY,Eu.SECONDARY].concat(ry.map(e=>"".concat(e,"x"))).concat(Ik.map(e=>"w-".concat(e))),Mk={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}};const mo="___FONT_AWESOME___",mp=16,oy="fa",iy="svg-inline--fa",Ca="data-fa-i2svg",gp="data-fa-pseudo-element",Dk="data-fa-pseudo-element-pending",Zp="data-prefix",eh="data-icon",hm="fontawesome-i2svg",_k="async",Lk=["HTML","HEAD","STYLE","SCRIPT"],ay=(()=>{try{return process.env.NODE_ENV==="production"}catch{return!1}})();function kc(e){return new Proxy(e,{get(t,r){return r in t?t[r]:t[jt]}})}const sy=ie({},ey);sy[jt]=ie(ie(ie(ie({},{"fa-duotone":"duotone"}),ey[jt]),dm.kit),dm["kit-duotone"]);const $k=kc(sy),vp=ie({},yk);vp[jt]=ie(ie(ie(ie({},{duotone:"fad"}),vp[jt]),pm.kit),pm["kit-duotone"]);const mm=kc(vp),yp=ie({},pp);yp[jt]=ie(ie({},yp[jt]),kk.kit);const th=kc(yp),bp=ie({},Rk);bp[jt]=ie(ie({},bp[jt]),xk.kit);kc(bp);const jk=uk,ly="fa-layers-text",Nk=fk,zk=ie({},mk);kc(zk);const Bk=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Pd=dk,Uk=[...wk,...Fk],ic=bi.FontAwesomeConfig||{};function Hk(e){var t=at.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function Wk(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}at&&typeof at.querySelector=="function"&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(t=>{let[r,i]=t;const a=Wk(Hk(r));a!=null&&(ic[i]=a)});const cy={styleDefault:"solid",familyDefault:jt,cssPrefix:oy,replacementClass:iy,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};ic.familyPrefix&&(ic.cssPrefix=ic.familyPrefix);const Qs=ie(ie({},cy),ic);Qs.autoReplaceSvg||(Qs.observeMutations=!1);const Te={};Object.keys(cy).forEach(e=>{Object.defineProperty(Te,e,{enumerable:!0,set:function(t){Qs[e]=t,ac.forEach(r=>r(Te))},get:function(){return Qs[e]}})});Object.defineProperty(Te,"familyPrefix",{enumerable:!0,set:function(e){Qs.cssPrefix=e,ac.forEach(t=>t(Te))},get:function(){return Qs.cssPrefix}});bi.FontAwesomeConfig=Te;const ac=[];function Vk(e){return ac.push(e),()=>{ac.splice(ac.indexOf(e),1)}}const ni=mp,Pr={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Gk(e){if(!e||!wo)return;const t=at.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;const r=at.head.childNodes;let i=null;for(let a=r.length-1;a>-1;a--){const u=r[a],p=(u.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(p)>-1&&(i=u)}return at.head.insertBefore(t,i),e}const Yk="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function dc(){let e=12,t="";for(;e-- >0;)t+=Yk[Math.random()*62|0];return t}function tl(e){const t=[];for(let r=(e||[]).length>>>0;r--;)t[r]=e[r];return t}function nh(e){return e.classList?tl(e.classList):(e.getAttribute("class")||"").split(" ").filter(t=>t)}function uy(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Xk(e){return Object.keys(e||{}).reduce((t,r)=>t+"".concat(r,'="').concat(uy(e[r]),'" '),"").trim()}function lf(e){return Object.keys(e||{}).reduce((t,r)=>t+"".concat(r,": ").concat(e[r].trim(),";"),"")}function rh(e){return e.size!==Pr.size||e.x!==Pr.x||e.y!==Pr.y||e.rotate!==Pr.rotate||e.flipX||e.flipY}function Qk(e){let{transform:t,containerWidth:r,iconWidth:i}=e;const a={transform:"translate(".concat(r/2," 256)")},u="translate(".concat(t.x*32,", ").concat(t.y*32,") "),p="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),m="rotate(".concat(t.rotate," 0 0)"),h={transform:"".concat(u," ").concat(p," ").concat(m)},v={transform:"translate(".concat(i/2*-1," -256)")};return{outer:a,inner:h,path:v}}function qk(e){let{transform:t,width:r=mp,height:i=mp,startCentered:a=!1}=e,u="";return a&&Zv?u+="translate(".concat(t.x/ni-r/2,"em, ").concat(t.y/ni-i/2,"em) "):a?u+="translate(calc(-50% + ".concat(t.x/ni,"em), calc(-50% + ").concat(t.y/ni,"em)) "):u+="translate(".concat(t.x/ni,"em, ").concat(t.y/ni,"em) "),u+="scale(".concat(t.size/ni*(t.flipX?-1:1),", ").concat(t.size/ni*(t.flipY?-1:1),") "),u+="rotate(".concat(t.rotate,"deg) "),u}var Kk=`:root, :host {
|
|
30
154
|
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
|
|
31
155
|
--fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";
|
|
32
156
|
--fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";
|
|
@@ -579,26 +703,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
579
703
|
.svg-inline--fa mask .fa-primary,
|
|
580
704
|
.svg-inline--fa mask .fa-secondary {
|
|
581
705
|
fill: black;
|
|
582
|
-
}`;function ru(){const e=Qc,t=Xc,n=j.cssPrefix,r=j.replacementClass;let o=yg;if(n!==e||r!==t){const s=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),i=new RegExp("\\.".concat(t),"g");o=o.replace(s,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(i,".".concat(r))}return o}let ri=!1;function So(){j.autoAddCss&&!ri&&(hg(ru()),ri=!0)}var vg={mixout(){return{dom:{css:ru,insertCss:So}}},hooks(){return{beforeDOMElementCreation(){So()},beforeI2svg(){So()}}}};const lt=$t||{};lt[it]||(lt[it]={});lt[it].styles||(lt[it].styles={});lt[it].hooks||(lt[it].hooks={});lt[it].shims||(lt[it].shims=[]);var Ye=lt[it];const ou=[],su=function(){de.removeEventListener("DOMContentLoaded",su),jr=1,ou.map(e=>e())};let jr=!1;dt&&(jr=(de.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(de.readyState),jr||de.addEventListener("DOMContentLoaded",su));function xg(e){dt&&(jr?setTimeout(e,0):ou.push(e))}function dr(e){const{tag:t,attributes:n={},children:r=[]}=e;return typeof e=="string"?nu(e):"<".concat(t," ").concat(mg(n),">").concat(r.map(dr).join(""),"</").concat(t,">")}function oi(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var To=function(t,n,r,o){var s=Object.keys(t),a=s.length,i=n,l,c,u;for(r===void 0?(l=1,u=t[s[0]]):(l=0,u=r);l<a;l++)c=s[l],u=i(u,t[c],c,t);return u};function wg(e){const t=[];let n=0;const r=e.length;for(;n<r;){const o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){const s=e.charCodeAt(n++);(s&64512)==56320?t.push(((o&1023)<<10)+(s&1023)+65536):(t.push(o),n--)}else t.push(o)}return t}function Es(e){const t=wg(e);return t.length===1?t[0].toString(16):null}function Eg(e,t){const n=e.length;let r=e.charCodeAt(t),o;return r>=55296&&r<=56319&&n>t+1&&(o=e.charCodeAt(t+1),o>=56320&&o<=57343)?(r-55296)*1024+o-56320+65536:r}function si(e){return Object.keys(e).reduce((t,n)=>{const r=e[n];return!!r.icon?t[r.iconName]=r.icon:t[n]=r,t},{})}function Cs(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:r=!1}=n,o=si(t);typeof Ye.hooks.addPack=="function"&&!r?Ye.hooks.addPack(e,si(t)):Ye.styles[e]=T(T({},Ye.styles[e]||{}),o),e==="fas"&&Cs("fa",t)}const{styles:tr,shims:Cg}=Ye,au=Object.keys(na),Og=au.reduce((e,t)=>(e[t]=Object.keys(na[t]),e),{});let sa=null,iu={},lu={},cu={},uu={},fu={};function Sg(e){return~cg.indexOf(e)}function Tg(e,t){const n=t.split("-"),r=n[0],o=n.slice(1).join("-");return r===e&&o!==""&&!Sg(o)?o:null}const du=()=>{const e=r=>To(tr,(o,s,a)=>(o[a]=To(s,r,{}),o),{});iu=e((r,o,s)=>(o[3]&&(r[o[3]]=s),o[2]&&o[2].filter(i=>typeof i=="number").forEach(i=>{r[i.toString(16)]=s}),r)),lu=e((r,o,s)=>(r[s]=s,o[2]&&o[2].filter(i=>typeof i=="string").forEach(i=>{r[i]=s}),r)),fu=e((r,o,s)=>{const a=o[2];return r[s]=s,a.forEach(i=>{r[i]=s}),r});const t="far"in tr||j.autoFetchSvg,n=To(Cg,(r,o)=>{const s=o[0];let a=o[1];const i=o[2];return a==="far"&&!t&&(a="fas"),typeof s=="string"&&(r.names[s]={prefix:a,iconName:i}),typeof s=="number"&&(r.unicodes[s.toString(16)]={prefix:a,iconName:i}),r},{names:{},unicodes:{}});cu=n.names,uu=n.unicodes,sa=io(j.styleDefault,{family:j.familyDefault})};dg(e=>{sa=io(e.styleDefault,{family:j.familyDefault})});du();function aa(e,t){return(iu[e]||{})[t]}function Pg(e,t){return(lu[e]||{})[t]}function Ht(e,t){return(fu[e]||{})[t]}function hu(e){return cu[e]||{prefix:null,iconName:null}}function kg(e){const t=uu[e],n=aa("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function Ft(){return sa}const pu=()=>({prefix:null,iconName:null,rest:[]});function Ag(e){let t=Ce;const n=au.reduce((r,o)=>(r[o]="".concat(j.cssPrefix,"-").concat(o),r),{});return Yc.forEach(r=>{(e.includes(n[r])||e.some(o=>Og[r].includes(o)))&&(t=r)}),t}function io(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:n=Ce}=t,r=og[n][e];if(n===so&&!e)return"fad";const o=ni[n][e]||ni[n][r],s=e in Ye.styles?e:null;return o||s||null}function Rg(e){let t=[],n=null;return e.forEach(r=>{const o=Tg(j.cssPrefix,r);o?n=o:r&&t.push(r)}),{iconName:n,rest:t}}function ai(e){return e.sort().filter((t,n,r)=>r.indexOf(t)===n)}function lo(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:n=!1}=t;let r=null;const o=gs.concat(Vm),s=ai(e.filter(f=>o.includes(f))),a=ai(e.filter(f=>!gs.includes(f))),i=s.filter(f=>(r=f,!Gc.includes(f))),[l=null]=i,c=Ag(s),u=T(T({},Rg(a)),{},{prefix:io(l,{family:c})});return T(T(T({},u),Mg({values:e,family:c,styles:tr,config:j,canonical:u,givenPrefix:r})),$g(n,r,u))}function $g(e,t,n){let{prefix:r,iconName:o}=n;if(e||!r||!o)return{prefix:r,iconName:o};const s=t==="fa"?hu(o):{},a=Ht(r,o);return o=s.iconName||a||o,r=s.prefix||r,r==="far"&&!tr.far&&tr.fas&&!j.autoFetchSvg&&(r="fas"),{prefix:r,iconName:o}}const Fg=Yc.filter(e=>e!==Ce||e!==so),Ig=Object.keys(ms).filter(e=>e!==Ce).map(e=>Object.keys(ms[e])).flat();function Mg(e){const{values:t,family:n,canonical:r,givenPrefix:o="",styles:s={},config:a={}}=e,i=n===so,l=t.includes("fa-duotone")||t.includes("fad"),c=a.familyDefault==="duotone",u=r.prefix==="fad"||r.prefix==="fa-duotone";if(!i&&(l||c||u)&&(r.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(r.prefix="fab"),!r.prefix&&Fg.includes(n)&&(Object.keys(s).find(p=>Ig.includes(p))||a.autoFetchSvg)){const p=Dm.get(n).defaultShortPrefixId;r.prefix=p,r.iconName=Ht(r.prefix,r.iconName)||r.iconName}return(r.prefix==="fa"||o==="fa")&&(r.prefix=Ft()||"fas"),r}class Ng{constructor(){this.definitions={}}add(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o=n.reduce(this._pullDefinitions,{});Object.keys(o).forEach(s=>{this.definitions[s]=T(T({},this.definitions[s]||{}),o[s]),Cs(s,o[s]);const a=na[Ce][s];a&&Cs(a,o[s]),du()})}reset(){this.definitions={}}_pullDefinitions(t,n){const r=n.prefix&&n.iconName&&n.icon?{0:n}:n;return Object.keys(r).map(o=>{const{prefix:s,iconName:a,icon:i}=r[o],l=i[2];t[s]||(t[s]={}),l.length>0&&l.forEach(c=>{typeof c=="string"&&(t[s][c]=i)}),t[s][a]=i}),t}}let ii=[],ln={};const pn={},Lg=Object.keys(pn);function _g(e,t){let{mixoutsTo:n}=t;return ii=e,ln={},Object.keys(pn).forEach(r=>{Lg.indexOf(r)===-1&&delete pn[r]}),ii.forEach(r=>{const o=r.mixout?r.mixout():{};if(Object.keys(o).forEach(s=>{typeof o[s]=="function"&&(n[s]=o[s]),typeof o[s]=="object"&&Object.keys(o[s]).forEach(a=>{n[s]||(n[s]={}),n[s][a]=o[s][a]})}),r.hooks){const s=r.hooks();Object.keys(s).forEach(a=>{ln[a]||(ln[a]=[]),ln[a].push(s[a])})}r.provides&&r.provides(pn)}),n}function Os(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return(ln[e]||[]).forEach(a=>{t=a.apply(null,[t,...r])}),t}function tn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(ln[e]||[]).forEach(s=>{s.apply(null,n)})}function It(){const e=arguments[0],t=Array.prototype.slice.call(arguments,1);return pn[e]?pn[e].apply(null,t):void 0}function Ss(e){e.prefix==="fa"&&(e.prefix="fas");let{iconName:t}=e;const n=e.prefix||Ft();if(t)return t=Ht(n,t)||t,oi(mu.definitions,n,t)||oi(Ye.styles,n,t)}const mu=new Ng,Dg=()=>{j.autoReplaceSvg=!1,j.observeMutations=!1,tn("noAuto")},jg={i2svg:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return dt?(tn("beforeI2svg",e),It("pseudoElements2svg",e),It("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t}=e;j.autoReplaceSvg===!1&&(j.autoReplaceSvg=!0),j.observeMutations=!0,xg(()=>{Hg({autoReplaceSvgRoot:t}),tn("watch",e)})}},zg={icon:e=>{if(e===null)return null;if(typeof e=="object"&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Ht(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&e.length===2){const t=e[1].indexOf("fa-")===0?e[1].slice(3):e[1],n=io(e[0]);return{prefix:n,iconName:Ht(n,t)||t}}if(typeof e=="string"&&(e.indexOf("".concat(j.cssPrefix,"-"))>-1||e.match(sg))){const t=lo(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||Ft(),iconName:Ht(t.prefix,t.iconName)||t.iconName}}if(typeof e=="string"){const t=Ft();return{prefix:t,iconName:Ht(t,e)||e}}}},$e={noAuto:Dg,config:j,dom:jg,parse:zg,library:mu,findIconDefinition:Ss,toHtml:dr},Hg=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t=de}=e;(Object.keys(Ye.styles).length>0||j.autoFetchSvg)&&dt&&j.autoReplaceSvg&&$e.dom.i2svg({node:t})};function co(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(n=>dr(n))}}),Object.defineProperty(e,"node",{get:function(){if(!dt)return;const n=de.createElement("div");return n.innerHTML=e.html,n.children}}),e}function Ug(e){let{children:t,main:n,mask:r,attributes:o,styles:s,transform:a}=e;if(oa(a)&&n.found&&!r.found){const{width:i,height:l}=n,c={x:i/l/2,y:.5};o.style=ao(T(T({},s),{},{"transform-origin":"".concat(c.x+a.x/16,"em ").concat(c.y+a.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}function Bg(e){let{prefix:t,iconName:n,children:r,attributes:o,symbol:s}=e;const a=s===!0?"".concat(t,"-").concat(j.cssPrefix,"-").concat(n):s;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:T(T({},o),{},{id:a}),children:r}]}]}function ia(e){const{icons:{main:t,mask:n},prefix:r,iconName:o,transform:s,symbol:a,title:i,maskId:l,titleId:c,extra:u,watchable:f=!1}=e,{width:p,height:h}=n.found?n:t,y=Bm.includes(r),g=[j.replacementClass,o?"".concat(j.cssPrefix,"-").concat(o):""].filter(v=>u.classes.indexOf(v)===-1).filter(v=>v!==""||!!v).concat(u.classes).join(" ");let b={children:[],attributes:T(T({},u.attributes),{},{"data-prefix":r,"data-icon":o,class:g,role:u.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(p," ").concat(h)})};const w=y&&!~u.classes.indexOf("fa-fw")?{width:"".concat(p/h*16*.0625,"em")}:{};f&&(b.attributes[en]=""),i&&(b.children.push({tag:"title",attributes:{id:b.attributes["aria-labelledby"]||"title-".concat(c||er())},children:[i]}),delete b.attributes.title);const C=T(T({},b),{},{prefix:r,iconName:o,main:t,mask:n,maskId:l,transform:s,symbol:a,styles:T(T({},w),u.styles)}),{children:x,attributes:E}=n.found&&t.found?It("generateAbstractMask",C)||{children:[],attributes:{}}:It("generateAbstractIcon",C)||{children:[],attributes:{}};return C.children=x,C.attributes=E,a?Bg(C):Ug(C)}function li(e){const{content:t,width:n,height:r,transform:o,title:s,extra:a,watchable:i=!1}=e,l=T(T(T({},a.attributes),s?{title:s}:{}),{},{class:a.classes.join(" ")});i&&(l[en]="");const c=T({},a.styles);oa(o)&&(c.transform=bg({transform:o,startCentered:!0,width:n,height:r}),c["-webkit-transform"]=c.transform);const u=ao(c);u.length>0&&(l.style=u);const f=[];return f.push({tag:"span",attributes:l,children:[t]}),s&&f.push({tag:"span",attributes:{class:"sr-only"},children:[s]}),f}function Wg(e){const{content:t,title:n,extra:r}=e,o=T(T(T({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),s=ao(r.styles);s.length>0&&(o.style=s);const a=[];return a.push({tag:"span",attributes:o,children:[t]}),n&&a.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),a}const{styles:Po}=Ye;function Ts(e){const t=e[0],n=e[1],[r]=e.slice(4);let o=null;return Array.isArray(r)?o={tag:"g",attributes:{class:"".concat(j.cssPrefix,"-").concat(Oo.GROUP)},children:[{tag:"path",attributes:{class:"".concat(j.cssPrefix,"-").concat(Oo.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(j.cssPrefix,"-").concat(Oo.PRIMARY),fill:"currentColor",d:r[1]}}]}:o={tag:"path",attributes:{fill:"currentColor",d:r}},{found:!0,width:t,height:n,icon:o}}const qg={found:!1,width:512,height:512};function Vg(e,t){!Jc&&!j.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Ps(e,t){let n=t;return t==="fa"&&j.styleDefault!==null&&(t=Ft()),new Promise((r,o)=>{if(n==="fa"){const s=hu(e)||{};e=s.iconName||e,t=s.prefix||t}if(e&&t&&Po[t]&&Po[t][e]){const s=Po[t][e];return r(Ts(s))}Vg(e,t),r(T(T({},qg),{},{icon:j.showMissingIcons&&e?It("missingIconAbstract")||{}:{}}))})}const ci=()=>{},ks=j.measurePerformance&&wr&&wr.mark&&wr.measure?wr:{mark:ci,measure:ci},Hn='FA "6.7.2"',Gg=e=>(ks.mark("".concat(Hn," ").concat(e," begins")),()=>gu(e)),gu=e=>{ks.mark("".concat(Hn," ").concat(e," ends")),ks.measure("".concat(Hn," ").concat(e),"".concat(Hn," ").concat(e," begins"),"".concat(Hn," ").concat(e," ends"))};var la={begin:Gg,end:gu};const Pr=()=>{};function ui(e){return typeof(e.getAttribute?e.getAttribute(en):null)=="string"}function Yg(e){const t=e.getAttribute?e.getAttribute(ea):null,n=e.getAttribute?e.getAttribute(ta):null;return t&&n}function Kg(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(j.replacementClass)}function Qg(){return j.autoReplaceSvg===!0?kr.replace:kr[j.autoReplaceSvg]||kr.replace}function Xg(e){return de.createElementNS("http://www.w3.org/2000/svg",e)}function Jg(e){return de.createElement(e)}function bu(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:n=e.tag==="svg"?Xg:Jg}=t;if(typeof e=="string")return de.createTextNode(e);const r=n(e.tag);return Object.keys(e.attributes||[]).forEach(function(s){r.setAttribute(s,e.attributes[s])}),(e.children||[]).forEach(function(s){r.appendChild(bu(s,{ceFn:n}))}),r}function Zg(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}const kr={replace:function(e){const t=e[0];if(t.parentNode)if(e[1].forEach(n=>{t.parentNode.insertBefore(bu(n),t)}),t.getAttribute(en)===null&&j.keepOriginalSource){let n=de.createComment(Zg(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){const t=e[0],n=e[1];if(~ra(t).indexOf(j.replacementClass))return kr.replace(e);const r=new RegExp("".concat(j.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){const s=n[0].attributes.class.split(" ").reduce((a,i)=>(i===j.replacementClass||i.match(r)?a.toSvg.push(i):a.toNode.push(i),a),{toNode:[],toSvg:[]});n[0].attributes.class=s.toSvg.join(" "),s.toNode.length===0?t.removeAttribute("class"):t.setAttribute("class",s.toNode.join(" "))}const o=n.map(s=>dr(s)).join(`
|
|
583
|
-
`);t.setAttribute(
|
|
584
|
-
`),e.removeAttribute(
|
|
585
|
-
* react-is.production.min.js
|
|
586
|
-
*
|
|
587
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
588
|
-
*
|
|
589
|
-
* This source code is licensed under the MIT license found in the
|
|
590
|
-
* LICENSE file in the root directory of this source tree.
|
|
591
|
-
*/var Ei;function Ab(){if(Ei)return se;Ei=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,i=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,w=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function x(v){if(typeof v=="object"&&v!==null){var $=v.$$typeof;switch($){case t:switch(v=v.type,v){case l:case c:case r:case s:case o:case f:return v;default:switch(v=v&&v.$$typeof,v){case i:case u:case y:case h:case a:return v;default:return $}}case n:return $}}}function E(v){return x(v)===c}return se.AsyncMode=l,se.ConcurrentMode=c,se.ContextConsumer=i,se.ContextProvider=a,se.Element=t,se.ForwardRef=u,se.Fragment=r,se.Lazy=y,se.Memo=h,se.Portal=n,se.Profiler=s,se.StrictMode=o,se.Suspense=f,se.isAsyncMode=function(v){return E(v)||x(v)===l},se.isConcurrentMode=E,se.isContextConsumer=function(v){return x(v)===i},se.isContextProvider=function(v){return x(v)===a},se.isElement=function(v){return typeof v=="object"&&v!==null&&v.$$typeof===t},se.isForwardRef=function(v){return x(v)===u},se.isFragment=function(v){return x(v)===r},se.isLazy=function(v){return x(v)===y},se.isMemo=function(v){return x(v)===h},se.isPortal=function(v){return x(v)===n},se.isProfiler=function(v){return x(v)===s},se.isStrictMode=function(v){return x(v)===o},se.isSuspense=function(v){return x(v)===f},se.isValidElementType=function(v){return typeof v=="string"||typeof v=="function"||v===r||v===c||v===s||v===o||v===f||v===p||typeof v=="object"&&v!==null&&(v.$$typeof===y||v.$$typeof===h||v.$$typeof===a||v.$$typeof===i||v.$$typeof===u||v.$$typeof===b||v.$$typeof===w||v.$$typeof===C||v.$$typeof===g)},se.typeOf=x,se}var ae={};/** @license React v16.13.1
|
|
592
|
-
* react-is.development.js
|
|
593
|
-
*
|
|
594
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
595
|
-
*
|
|
596
|
-
* This source code is licensed under the MIT license found in the
|
|
597
|
-
* LICENSE file in the root directory of this source tree.
|
|
598
|
-
*/var Ci;function Rb(){return Ci||(Ci=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,i=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,w=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function x(F){return typeof F=="string"||typeof F=="function"||F===r||F===c||F===s||F===o||F===f||F===p||typeof F=="object"&&F!==null&&(F.$$typeof===y||F.$$typeof===h||F.$$typeof===a||F.$$typeof===i||F.$$typeof===u||F.$$typeof===b||F.$$typeof===w||F.$$typeof===C||F.$$typeof===g)}function E(F){if(typeof F=="object"&&F!==null){var Fe=F.$$typeof;switch(Fe){case t:var on=F.type;switch(on){case l:case c:case r:case s:case o:case f:return on;default:var hr=on&&on.$$typeof;switch(hr){case i:case u:case y:case h:case a:return hr;default:return Fe}}case n:return Fe}}}var v=l,$=c,H=i,R=a,W=t,G=u,le=r,ue=y,oe=h,fe=n,q=s,Y=o,ne=f,P=!1;function V(F){return P||(P=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),O(F)||E(F)===l}function O(F){return E(F)===c}function k(F){return E(F)===i}function B(F){return E(F)===a}function A(F){return typeof F=="object"&&F!==null&&F.$$typeof===t}function D(F){return E(F)===u}function K(F){return E(F)===r}function z(F){return E(F)===y}function M(F){return E(F)===h}function Q(F){return E(F)===n}function X(F){return E(F)===s}function Z(F){return E(F)===o}function ge(F){return E(F)===f}ae.AsyncMode=v,ae.ConcurrentMode=$,ae.ContextConsumer=H,ae.ContextProvider=R,ae.Element=W,ae.ForwardRef=G,ae.Fragment=le,ae.Lazy=ue,ae.Memo=oe,ae.Portal=fe,ae.Profiler=q,ae.StrictMode=Y,ae.Suspense=ne,ae.isAsyncMode=V,ae.isConcurrentMode=O,ae.isContextConsumer=k,ae.isContextProvider=B,ae.isElement=A,ae.isForwardRef=D,ae.isFragment=K,ae.isLazy=z,ae.isMemo=M,ae.isPortal=Q,ae.isProfiler=X,ae.isStrictMode=Z,ae.isSuspense=ge,ae.isValidElementType=x,ae.typeOf=E}()),ae}var Oi;function wu(){return Oi||(Oi=1,process.env.NODE_ENV==="production"?Or.exports=Ab():Or.exports=Rb()),Or.exports}/*
|
|
599
|
-
object-assign
|
|
600
|
-
(c) Sindre Sorhus
|
|
601
|
-
@license MIT
|
|
602
|
-
*/var Ao,Si;function $b(){if(Si)return Ao;Si=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(s){if(s==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(s)}function o(){try{if(!Object.assign)return!1;var s=new String("abc");if(s[5]="de",Object.getOwnPropertyNames(s)[0]==="5")return!1;for(var a={},i=0;i<10;i++)a["_"+String.fromCharCode(i)]=i;var l=Object.getOwnPropertyNames(a).map(function(u){return a[u]});if(l.join("")!=="0123456789")return!1;var c={};return"abcdefghijklmnopqrst".split("").forEach(function(u){c[u]=u}),Object.keys(Object.assign({},c)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Ao=o()?Object.assign:function(s,a){for(var i,l=r(s),c,u=1;u<arguments.length;u++){i=Object(arguments[u]);for(var f in i)t.call(i,f)&&(l[f]=i[f]);if(e){c=e(i);for(var p=0;p<c.length;p++)n.call(i,c[p])&&(l[c[p]]=i[c[p]])}}return l},Ao}var Ro,Ti;function ua(){if(Ti)return Ro;Ti=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Ro=e,Ro}var $o,Pi;function Eu(){return Pi||(Pi=1,$o=Function.call.bind(Object.prototype.hasOwnProperty)),$o}var Fo,ki;function Fb(){if(ki)return Fo;ki=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=ua(),n={},r=Eu();e=function(s){var a="Warning: "+s;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function o(s,a,i,l,c){if(process.env.NODE_ENV!=="production"){for(var u in s)if(r(s,u)){var f;try{if(typeof s[u]!="function"){var p=Error((l||"React class")+": "+i+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw p.name="Invariant Violation",p}f=s[u](a,u,l,i,null,t)}catch(y){f=y}if(f&&!(f instanceof Error)&&e((l||"React class")+": type specification of "+i+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof f+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),f instanceof Error&&!(f.message in n)){n[f.message]=!0;var h=c?c():"";e("Failed "+i+" type: "+f.message+(h??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},Fo=o,Fo}var Io,Ai;function Ib(){if(Ai)return Io;Ai=1;var e=wu(),t=$b(),n=ua(),r=Eu(),o=Fb(),s=function(){};process.env.NODE_ENV!=="production"&&(s=function(i){var l="Warning: "+i;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function a(){return null}return Io=function(i,l){var c=typeof Symbol=="function"&&Symbol.iterator,u="@@iterator";function f(O){var k=O&&(c&&O[c]||O[u]);if(typeof k=="function")return k}var p="<<anonymous>>",h={array:w("array"),bigint:w("bigint"),bool:w("boolean"),func:w("function"),number:w("number"),object:w("object"),string:w("string"),symbol:w("symbol"),any:C(),arrayOf:x,element:E(),elementType:v(),instanceOf:$,node:G(),objectOf:R,oneOf:H,oneOfType:W,shape:ue,exact:oe};function y(O,k){return O===k?O!==0||1/O===1/k:O!==O&&k!==k}function g(O,k){this.message=O,this.data=k&&typeof k=="object"?k:{},this.stack=""}g.prototype=Error.prototype;function b(O){if(process.env.NODE_ENV!=="production")var k={},B=0;function A(K,z,M,Q,X,Z,ge){if(Q=Q||p,Z=Z||M,ge!==n){if(l){var F=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw F.name="Invariant Violation",F}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Fe=Q+":"+M;!k[Fe]&&B<3&&(s("You are manually calling a React.PropTypes validation function for the `"+Z+"` prop on `"+Q+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),k[Fe]=!0,B++)}}return z[M]==null?K?z[M]===null?new g("The "+X+" `"+Z+"` is marked as required "+("in `"+Q+"`, but its value is `null`.")):new g("The "+X+" `"+Z+"` is marked as required in "+("`"+Q+"`, but its value is `undefined`.")):null:O(z,M,Q,X,Z)}var D=A.bind(null,!1);return D.isRequired=A.bind(null,!0),D}function w(O){function k(B,A,D,K,z,M){var Q=B[A],X=Y(Q);if(X!==O){var Z=ne(Q);return new g("Invalid "+K+" `"+z+"` of type "+("`"+Z+"` supplied to `"+D+"`, expected ")+("`"+O+"`."),{expectedType:O})}return null}return b(k)}function C(){return b(a)}function x(O){function k(B,A,D,K,z){if(typeof O!="function")return new g("Property `"+z+"` of component `"+D+"` has invalid PropType notation inside arrayOf.");var M=B[A];if(!Array.isArray(M)){var Q=Y(M);return new g("Invalid "+K+" `"+z+"` of type "+("`"+Q+"` supplied to `"+D+"`, expected an array."))}for(var X=0;X<M.length;X++){var Z=O(M,X,D,K,z+"["+X+"]",n);if(Z instanceof Error)return Z}return null}return b(k)}function E(){function O(k,B,A,D,K){var z=k[B];if(!i(z)){var M=Y(z);return new g("Invalid "+D+" `"+K+"` of type "+("`"+M+"` supplied to `"+A+"`, expected a single ReactElement."))}return null}return b(O)}function v(){function O(k,B,A,D,K){var z=k[B];if(!e.isValidElementType(z)){var M=Y(z);return new g("Invalid "+D+" `"+K+"` of type "+("`"+M+"` supplied to `"+A+"`, expected a single ReactElement type."))}return null}return b(O)}function $(O){function k(B,A,D,K,z){if(!(B[A]instanceof O)){var M=O.name||p,Q=V(B[A]);return new g("Invalid "+K+" `"+z+"` of type "+("`"+Q+"` supplied to `"+D+"`, expected ")+("instance of `"+M+"`."))}return null}return b(k)}function H(O){if(!Array.isArray(O))return process.env.NODE_ENV!=="production"&&(arguments.length>1?s("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):s("Invalid argument supplied to oneOf, expected an array.")),a;function k(B,A,D,K,z){for(var M=B[A],Q=0;Q<O.length;Q++)if(y(M,O[Q]))return null;var X=JSON.stringify(O,function(ge,F){var Fe=ne(F);return Fe==="symbol"?String(F):F});return new g("Invalid "+K+" `"+z+"` of value `"+String(M)+"` "+("supplied to `"+D+"`, expected one of "+X+"."))}return b(k)}function R(O){function k(B,A,D,K,z){if(typeof O!="function")return new g("Property `"+z+"` of component `"+D+"` has invalid PropType notation inside objectOf.");var M=B[A],Q=Y(M);if(Q!=="object")return new g("Invalid "+K+" `"+z+"` of type "+("`"+Q+"` supplied to `"+D+"`, expected an object."));for(var X in M)if(r(M,X)){var Z=O(M,X,D,K,z+"."+X,n);if(Z instanceof Error)return Z}return null}return b(k)}function W(O){if(!Array.isArray(O))return process.env.NODE_ENV!=="production"&&s("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var k=0;k<O.length;k++){var B=O[k];if(typeof B!="function")return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+P(B)+" at index "+k+"."),a}function A(D,K,z,M,Q){for(var X=[],Z=0;Z<O.length;Z++){var ge=O[Z],F=ge(D,K,z,M,Q,n);if(F==null)return null;F.data&&r(F.data,"expectedType")&&X.push(F.data.expectedType)}var Fe=X.length>0?", expected one of type ["+X.join(", ")+"]":"";return new g("Invalid "+M+" `"+Q+"` supplied to "+("`"+z+"`"+Fe+"."))}return b(A)}function G(){function O(k,B,A,D,K){return fe(k[B])?null:new g("Invalid "+D+" `"+K+"` supplied to "+("`"+A+"`, expected a ReactNode."))}return b(O)}function le(O,k,B,A,D){return new g((O||"React class")+": "+k+" type `"+B+"."+A+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+D+"`.")}function ue(O){function k(B,A,D,K,z){var M=B[A],Q=Y(M);if(Q!=="object")return new g("Invalid "+K+" `"+z+"` of type `"+Q+"` "+("supplied to `"+D+"`, expected `object`."));for(var X in O){var Z=O[X];if(typeof Z!="function")return le(D,K,z,X,ne(Z));var ge=Z(M,X,D,K,z+"."+X,n);if(ge)return ge}return null}return b(k)}function oe(O){function k(B,A,D,K,z){var M=B[A],Q=Y(M);if(Q!=="object")return new g("Invalid "+K+" `"+z+"` of type `"+Q+"` "+("supplied to `"+D+"`, expected `object`."));var X=t({},B[A],O);for(var Z in X){var ge=O[Z];if(r(O,Z)&&typeof ge!="function")return le(D,K,z,Z,ne(ge));if(!ge)return new g("Invalid "+K+" `"+z+"` key `"+Z+"` supplied to `"+D+"`.\nBad object: "+JSON.stringify(B[A],null," ")+`
|
|
603
|
-
Valid keys: `+JSON.stringify(Object.keys(O),null," "));var F=ge(M,Z,D,K,z+"."+Z,n);if(F)return F}return null}return b(k)}function fe(O){switch(typeof O){case"number":case"string":case"undefined":return!0;case"boolean":return!O;case"object":if(Array.isArray(O))return O.every(fe);if(O===null||i(O))return!0;var k=f(O);if(k){var B=k.call(O),A;if(k!==O.entries){for(;!(A=B.next()).done;)if(!fe(A.value))return!1}else for(;!(A=B.next()).done;){var D=A.value;if(D&&!fe(D[1]))return!1}}else return!1;return!0;default:return!1}}function q(O,k){return O==="symbol"?!0:k?k["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&k instanceof Symbol:!1}function Y(O){var k=typeof O;return Array.isArray(O)?"array":O instanceof RegExp?"object":q(k,O)?"symbol":k}function ne(O){if(typeof O>"u"||O===null)return""+O;var k=Y(O);if(k==="object"){if(O instanceof Date)return"date";if(O instanceof RegExp)return"regexp"}return k}function P(O){var k=ne(O);switch(k){case"array":case"object":return"an "+k;case"boolean":case"date":case"regexp":return"a "+k;default:return k}}function V(O){return!O.constructor||!O.constructor.name?p:O.constructor.name}return h.checkPropTypes=o,h.resetWarningCache=o.resetWarningCache,h.PropTypes=h,h},Io}var Mo,Ri;function Mb(){if(Ri)return Mo;Ri=1;var e=ua();function t(){}function n(){}return n.resetWarningCache=t,Mo=function(){function r(a,i,l,c,u,f){if(f!==e){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}}r.isRequired=r;function o(){return r}var s={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return s.PropTypes=s,s},Mo}var $i;function Nb(){if($i)return Cr.exports;if($i=1,process.env.NODE_ENV!=="production"){var e=wu(),t=!0;Cr.exports=Ib()(e.isElement,t)}else Cr.exports=Mb()();return Cr.exports}var Lb=Nb();const te=sh(Lb);function Fi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function At(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Fi(Object(n),!0).forEach(function(r){cn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fi(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Hr(e){"@babel/helpers - typeof";return Hr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Hr(e)}function cn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _b(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,s;for(s=0;s<r.length;s++)o=r[s],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function Cu(e,t){if(e==null)return{};var n=_b(e,t),r,o;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o<s.length;o++)r=s[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Fs(e){return Db(e)||jb(e)||zb(e)||Hb()}function Db(e){if(Array.isArray(e))return Is(e)}function jb(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function zb(e,t){if(e){if(typeof e=="string")return Is(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Is(e,t)}}function Is(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Hb(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
604
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ub(e){var t,n=e.beat,r=e.fade,o=e.beatFade,s=e.bounce,a=e.shake,i=e.flash,l=e.spin,c=e.spinPulse,u=e.spinReverse,f=e.pulse,p=e.fixedWidth,h=e.inverse,y=e.border,g=e.listItem,b=e.flip,w=e.size,C=e.rotation,x=e.pull,E=(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":o,"fa-bounce":s,"fa-shake":a,"fa-flash":i,"fa-spin":l,"fa-spin-reverse":u,"fa-spin-pulse":c,"fa-pulse":f,"fa-fw":p,"fa-inverse":h,"fa-border":y,"fa-li":g,"fa-flip":b===!0,"fa-flip-horizontal":b==="horizontal"||b==="both","fa-flip-vertical":b==="vertical"||b==="both"},cn(t,"fa-".concat(w),typeof w<"u"&&w!==null),cn(t,"fa-rotate-".concat(C),typeof C<"u"&&C!==null&&C!==0),cn(t,"fa-pull-".concat(x),typeof x<"u"&&x!==null),cn(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(E).map(function(v){return E[v]?v:null}).filter(function(v){return v})}function Bb(e){return e=e-0,e===e}function Ou(e){return Bb(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,n){return n?n.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var Wb=["style"];function qb(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Vb(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var r=n.indexOf(":"),o=Ou(n.slice(0,r)),s=n.slice(r+1).trim();return o.startsWith("webkit")?t[qb(o)]=s:t[o]=s,t},{})}function Su(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t=="string")return t;var r=(t.children||[]).map(function(l){return Su(e,l)}),o=Object.keys(t.attributes||{}).reduce(function(l,c){var u=t.attributes[c];switch(c){case"class":l.attrs.className=u,delete t.attributes.class;break;case"style":l.attrs.style=Vb(u);break;default:c.indexOf("aria-")===0||c.indexOf("data-")===0?l.attrs[c.toLowerCase()]=u:l.attrs[Ou(c)]=u}return l},{attrs:{}}),s=n.style,a=s===void 0?{}:s,i=Cu(n,Wb);return o.attrs.style=At(At({},o.attrs.style),a),e.apply(void 0,[t.tag,At(At({},o.attrs),i)].concat(Fs(r)))}var Tu=!1;try{Tu=process.env.NODE_ENV==="production"}catch{}function Gb(){if(!Tu&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function Ii(e){if(e&&Hr(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if($s.icon)return $s.icon(e);if(e===null)return null;if(e&&Hr(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}function No(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?cn({},e,t):{}}var Yb=["forwardedRef"];function Mt(e){var t=e.forwardedRef,n=Cu(e,Yb),r=n.icon,o=n.mask,s=n.symbol,a=n.className,i=n.title,l=n.titleId,c=n.maskId,u=Ii(r),f=No("classes",[].concat(Fs(Ub(n)),Fs(a.split(" ")))),p=No("transform",typeof n.transform=="string"?$s.transform(n.transform):n.transform),h=No("mask",Ii(o)),y=kb(u,At(At(At(At({},f),p),h),{},{symbol:s,title:i,titleId:l,maskId:c}));if(!y)return Gb("Could not find icon",u),null;var g=y.abstract,b={ref:t};return Object.keys(n).forEach(function(w){Mt.defaultProps.hasOwnProperty(w)||(b[w]=n[w])}),Kb(g[0],b)}Mt.displayName="FontAwesomeIcon";Mt.propTypes={beat:te.bool,border:te.bool,beatFade:te.bool,bounce:te.bool,className:te.string,fade:te.bool,flash:te.bool,mask:te.oneOfType([te.object,te.array,te.string]),maskId:te.string,fixedWidth:te.bool,inverse:te.bool,flip:te.oneOf([!0,!1,"horizontal","vertical","both"]),icon:te.oneOfType([te.object,te.array,te.string]),listItem:te.bool,pull:te.oneOf(["right","left"]),pulse:te.bool,rotation:te.oneOf([0,90,180,270]),shake:te.bool,size:te.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:te.bool,spinPulse:te.bool,spinReverse:te.bool,symbol:te.oneOfType([te.bool,te.string]),title:te.string,titleId:te.string,transform:te.oneOfType([te.string,te.object]),swapOpacity:te.bool};Mt.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var Kb=Su.bind(null,d.createElement);const Qb=async e=>await(await fetch(`${ar}/playbook-task-details`,{method:"POST",body:JSON.stringify(e)})).json(),Xb=({taskId:e,playbookId:t,enabled:n})=>{const{queryClient:r}=Rn(),o=async()=>Qb({taskId:+e,templateId:t.toString()}),s=["taskDetails",+e,t],a=js({queryKey:s,queryFn:o,enabled:n},r),i=()=>{r.prefetchQuery({queryFn:o,queryKey:s})};return{taskDetails:a.data,prefetchQuery:i,...a}},Jb=({buttons:e,onButtonClick:t,disabled:n})=>S.jsx("div",{className:"flex items-center justify-end",children:e.map(r=>S.jsx(Zn,{size:"smallCollapse",className:"ml-2",disabled:n,onClick:()=>{t(r)},children:bf[r]},r))});function Mi(e,t){if(!e||!t)return!1;const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&fs(n)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function Ln(e){return"composedPath"in e?e.composedPath()[0]:e.target}function Lo(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return n.target!=null&&t.contains(n.target)}function Zb(e){return e.matches("html,body")}function Ni(e){return(e==null?void 0:e.ownerDocument)||document}function _o(e,t){let n=e.filter(o=>{var s;return o.parentId===t&&((s=o.context)==null?void 0:s.open)}),r=n;for(;r.length;)r=e.filter(o=>{var s;return(s=r)==null?void 0:s.some(a=>{var i;return o.parentId===a.id&&((i=o.context)==null?void 0:i.open)})}),n=n.concat(r);return n}function ey(e){return"nativeEvent"in e}var ty=typeof document<"u",ny=function(){},Ms=ty?d.useLayoutEffect:ny;const ry={...I},oy=ry.useInsertionEffect,sy=oy||(e=>e());function an(e){const t=I.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return sy(()=>{t.current=e}),I.useCallback(function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t.current==null?void 0:t.current(...r)},[])}const ay="data-floating-ui-focusable",Li="active",_i="selected",iy={...I};let Di=!1,ly=0;const ji=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+ly++;function cy(){const[e,t]=I.useState(()=>Di?ji():void 0);return Ms(()=>{e==null&&t(ji())},[]),I.useEffect(()=>{Di=!0},[]),e}const uy=iy.useId,fy=uy||cy;let Ns;process.env.NODE_ENV!=="production"&&(Ns=new Set);function dy(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o="Floating UI: "+n.join(" ");if(!((e=Ns)!=null&&e.has(o))){var s;(s=Ns)==null||s.add(o),console.error(o)}}function hy(){const e=new Map;return{emit(t,n){var r;(r=e.get(t))==null||r.forEach(o=>o(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){var r;(r=e.get(t))==null||r.delete(n)}}}const py=I.createContext(null),my=I.createContext(null),gy=()=>{var e;return((e=I.useContext(py))==null?void 0:e.id)||null},Pu=()=>I.useContext(my);function by(e){return"data-floating-ui-"+e}function yy(e){e.current!==-1&&(clearTimeout(e.current),e.current=-1)}const vy={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},xy={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},zi=e=>{var t,n;return{escapeKey:typeof e=="boolean"?e:(t=e==null?void 0:e.escapeKey)!=null?t:!1,outsidePress:typeof e=="boolean"?e:(n=e==null?void 0:e.outsidePress)!=null?n:!0}};function wy(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,elements:o,dataRef:s}=e,{enabled:a=!0,escapeKey:i=!0,outsidePress:l=!0,outsidePressEvent:c="pointerdown",referencePress:u=!1,referencePressEvent:f="pointerdown",ancestorScroll:p=!1,bubbles:h,capture:y}=t,g=Pu(),b=an(typeof l=="function"?l:()=>!1),w=typeof l=="function"?b:l,C=I.useRef(!1),{escapeKey:x,outsidePress:E}=zi(h),{escapeKey:v,outsidePress:$}=zi(y),H=I.useRef(!1),R=I.useRef(-1),W=an(q=>{var Y;if(!n||!a||!i||q.key!=="Escape"||H.current)return;const ne=(Y=s.current.floatingContext)==null?void 0:Y.nodeId,P=g?_o(g.nodesRef.current,ne):[];if(!x&&(q.stopPropagation(),P.length>0)){let V=!0;if(P.forEach(O=>{var k;if((k=O.context)!=null&&k.open&&!O.context.dataRef.current.__escapeKeyBubbles){V=!1;return}}),!V)return}r(!1,ey(q)?q.nativeEvent:q,"escape-key")}),G=an(q=>{var Y;const ne=()=>{var P;W(q),(P=Ln(q))==null||P.removeEventListener("keydown",ne)};(Y=Ln(q))==null||Y.addEventListener("keydown",ne)}),le=an(q=>{var Y;const ne=s.current.insideReactTree;s.current.insideReactTree=!1;const P=C.current;if(C.current=!1,c==="click"&&P||ne||typeof w=="function"&&!w(q))return;const V=Ln(q),O="["+by("inert")+"]",k=Ni(o.floating).querySelectorAll(O);let B=me(V)?V:null;for(;B&&!rt(B);){const z=at(B);if(rt(z)||!me(z))break;B=z}if(k.length&&me(V)&&!Zb(V)&&!Mi(V,o.floating)&&Array.from(k).every(z=>!Mi(B,z)))return;if(He(V)&&fe){const z=rt(V),M=Le(V),Q=/auto|scroll/,X=z||Q.test(M.overflowX),Z=z||Q.test(M.overflowY),ge=X&&V.clientWidth>0&&V.scrollWidth>V.clientWidth,F=Z&&V.clientHeight>0&&V.scrollHeight>V.clientHeight,Fe=M.direction==="rtl",on=F&&(Fe?q.offsetX<=V.offsetWidth-V.clientWidth:q.offsetX>V.clientWidth),hr=ge&&q.offsetY>V.clientHeight;if(on||hr)return}const A=(Y=s.current.floatingContext)==null?void 0:Y.nodeId,D=g&&_o(g.nodesRef.current,A).some(z=>{var M;return Lo(q,(M=z.context)==null?void 0:M.elements.floating)});if(Lo(q,o.floating)||Lo(q,o.domReference)||D)return;const K=g?_o(g.nodesRef.current,A):[];if(K.length>0){let z=!0;if(K.forEach(M=>{var Q;if((Q=M.context)!=null&&Q.open&&!M.context.dataRef.current.__outsidePressBubbles){z=!1;return}}),!z)return}r(!1,q,"outside-press")}),ue=an(q=>{var Y;const ne=()=>{var P;le(q),(P=Ln(q))==null||P.removeEventListener(c,ne)};(Y=Ln(q))==null||Y.addEventListener(c,ne)});I.useEffect(()=>{if(!n||!a)return;s.current.__escapeKeyBubbles=x,s.current.__outsidePressBubbles=E;let q=-1;function Y(k){r(!1,k,"ancestor-scroll")}function ne(){window.clearTimeout(q),H.current=!0}function P(){q=window.setTimeout(()=>{H.current=!1},Xr()?5:0)}const V=Ni(o.floating);i&&(V.addEventListener("keydown",v?G:W,v),V.addEventListener("compositionstart",ne),V.addEventListener("compositionend",P)),w&&V.addEventListener(c,$?ue:le,$);let O=[];return p&&(me(o.domReference)&&(O=dn(o.domReference)),me(o.floating)&&(O=O.concat(dn(o.floating))),!me(o.reference)&&o.reference&&o.reference.contextElement&&(O=O.concat(dn(o.reference.contextElement)))),O=O.filter(k=>{var B;return k!==((B=V.defaultView)==null?void 0:B.visualViewport)}),O.forEach(k=>{k.addEventListener("scroll",Y,{passive:!0})}),()=>{i&&(V.removeEventListener("keydown",v?G:W,v),V.removeEventListener("compositionstart",ne),V.removeEventListener("compositionend",P)),w&&V.removeEventListener(c,$?ue:le,$),O.forEach(k=>{k.removeEventListener("scroll",Y)}),window.clearTimeout(q)}},[s,o,i,w,c,n,r,p,a,x,E,W,v,G,le,$,ue]),I.useEffect(()=>{s.current.insideReactTree=!1},[s,w,c]);const oe=I.useMemo(()=>({onKeyDown:W,...u&&{[vy[f]]:q=>{r(!1,q.nativeEvent,"reference-press")},...f!=="click"&&{onClick(q){r(!1,q.nativeEvent,"reference-press")}}}}),[W,r,u,f]),fe=I.useMemo(()=>({onKeyDown:W,onMouseDown(){C.current=!0},onMouseUp(){C.current=!0},[xy[c]]:()=>{s.current.insideReactTree=!0},onBlurCapture(){g||(yy(R),s.current.insideReactTree=!0,R.current=window.setTimeout(()=>{s.current.insideReactTree=!1}))}}),[W,c,s,g]);return I.useMemo(()=>a?{reference:oe,floating:fe}:{},[a,oe,fe])}function Ey(e){const{open:t=!1,onOpenChange:n,elements:r}=e,o=fy(),s=I.useRef({}),[a]=I.useState(()=>hy()),i=gy()!=null;if(process.env.NODE_ENV!=="production"){const h=r.reference;h&&!me(h)&&dy("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[l,c]=I.useState(r.reference),u=an((h,y,g)=>{s.current.openEvent=h?y:void 0,a.emit("openchange",{open:h,event:y,reason:g,nested:i}),n==null||n(h,y,g)}),f=I.useMemo(()=>({setPositionReference:c}),[]),p=I.useMemo(()=>({reference:l||r.reference||null,floating:r.floating||null,domReference:r.reference}),[l,r.reference,r.floating]);return I.useMemo(()=>({dataRef:s,open:t,onOpenChange:u,elements:p,events:a,floatingId:o,refs:f}),[t,u,p,a,o,f])}function Cy(e){e===void 0&&(e={});const{nodeId:t}=e,n=Ey({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,o=r.elements,[s,a]=I.useState(null),[i,l]=I.useState(null),u=(o==null?void 0:o.domReference)||s,f=I.useRef(null),p=Pu();Ms(()=>{u&&(f.current=u)},[u]);const h=cp({...e,elements:{...o,...i&&{reference:i}}}),y=I.useCallback(x=>{const E=me(x)?{getBoundingClientRect:()=>x.getBoundingClientRect(),getClientRects:()=>x.getClientRects(),contextElement:x}:x;l(E),h.refs.setReference(E)},[h.refs]),g=I.useCallback(x=>{(me(x)||x===null)&&(f.current=x,a(x)),(me(h.refs.reference.current)||h.refs.reference.current===null||x!==null&&!me(x))&&h.refs.setReference(x)},[h.refs]),b=I.useMemo(()=>({...h.refs,setReference:g,setPositionReference:y,domReference:f}),[h.refs,g,y]),w=I.useMemo(()=>({...h.elements,domReference:u}),[h.elements,u]),C=I.useMemo(()=>({...h,...r,refs:b,elements:w,nodeId:t}),[h,b,w,t,r]);return Ms(()=>{r.dataRef.current.floatingContext=C;const x=p==null?void 0:p.nodesRef.current.find(E=>E.id===t);x&&(x.context=C)}),I.useMemo(()=>({...h,context:C,refs:b,elements:w}),[h,b,w,C])}function Do(e,t,n){const r=new Map,o=n==="item";let s=e;if(o&&e){const{[Li]:a,[_i]:i,...l}=e;s=l}return{...n==="floating"&&{tabIndex:-1,[ay]:""},...s,...t.map(a=>{const i=a?a[n]:null;return typeof i=="function"?e?i(e):null:i}).concat(e).reduce((a,i)=>(i&&Object.entries(i).forEach(l=>{let[c,u]=l;if(!(o&&[Li,_i].includes(c)))if(c.indexOf("on")===0){if(r.has(c)||r.set(c,[]),typeof u=="function"){var f;(f=r.get(c))==null||f.push(u),a[c]=function(){for(var p,h=arguments.length,y=new Array(h),g=0;g<h;g++)y[g]=arguments[g];return(p=r.get(c))==null?void 0:p.map(b=>b(...y)).find(b=>b!==void 0)}}}else a[c]=u}),a),{})}}function Oy(e){e===void 0&&(e=[]);const t=e.map(i=>i==null?void 0:i.reference),n=e.map(i=>i==null?void 0:i.floating),r=e.map(i=>i==null?void 0:i.item),o=I.useCallback(i=>Do(i,e,"reference"),t),s=I.useCallback(i=>Do(i,e,"floating"),n),a=I.useCallback(i=>Do(i,e,"item"),r);return I.useMemo(()=>({getReferenceProps:o,getFloatingProps:s,getItemProps:a}),[o,s,a])}const Sy={white:"bg-white text-dark-300 border border-gray-300",primary:"bg-primary-600",secondary:"bg-secondary-500",success:"bg-success-600",info:"bg-info-500",warning:"bg-warning-500 text-gray-800",danger:"bg-danger-500",steel:"bg-steel-500",orange:"bg-orange-500",purple:"bg-purple-500",grayDark:"bg-gray-900",grayLight:"bg-gray-100 text-gray-800"},Ty={white:"text-white border border-white",primary:"text-primary-600 border border-primary-600",secondary:"text-secondary-500 border border-secondary-500",success:"text-success-600 border border-success-600",info:"text-info-500 border border-info-500",warning:"text-warning-500 border border-warning-500",danger:"text-danger-500 border border-danger-500",steel:"text-steel-500 border border-steel-500",orange:"text-orange-500 border border-orange-500",purple:"text-purple-500 border border-purple-500",grayDark:"text-gray-700 border border-gray-700",grayLight:"text-gray-500 border border-gray-100"},Py={white:"text-dark-300",primary:"text-white",secondary:"text-white",success:"text-white",info:"text-black",warning:"text-gray-800",danger:"text-white",steel:"text-white",orange:"text-black",purple:"text-white",grayDark:"text-white",grayLight:"text-gray-800"},ky={normal:"rounded",pill:"rounded-pill"},Ay={big:"h-[24px] leading-[24px] text-md px-1",medium:"h-[22px] leading-[22px] text-sm px-[2px]",small:"h-[18px] leading-[18px] text-xs px-[2px]"},ku=({category:e="solid",color:t="primary",roundness:n="normal",size:r="medium",textClassName:o="uppercase",children:s,className:a,...i})=>{const l=d.useMemo(()=>Py[t]??"text-white",[t]),c=d.useMemo(()=>fn(l,e==="outline"?Ty[t]:Sy[t],ky[n],Ay[r]),[l,e,t,r,n]);return S.jsx("div",{className:fn("ui-badge flex items-center font-bold",c,a),style:i==null?void 0:i.style,"data-testid":"badge","data-category":e,"data-color":t,...i,children:S.jsx("p",{className:fn("mx-1",o),children:s})})},Ry={default:"text-secondary-600 border-secondary-600",primary:"text-primary-600 border-primary-600",success:"text-success-600 border-success-600"},$y=({transition:e,onClick:t})=>S.jsxs("div",{className:"py-1 px-3 space-x-2 flex items-center hover:bg-gray-100 cursor-pointer",onClick:n=>{n.stopPropagation(),t()},children:[S.jsx("span",{className:"text-base text-dark flex-1",children:e.action}),S.jsx(Mt,{icon:Pm,className:"text-gray-400 size-4"}),S.jsx(ku,{category:"outline",color:e.color,children:e.to})]}),Fy=({title:e,variant:t="default",transitions:n,onClick:r})=>{const[o,s]=d.useState(!1),{refs:a,floatingStyles:i,context:l}=Cy({strategy:"fixed",placement:"bottom-end",open:o,onOpenChange:s}),c=wy(l,{outsidePress:!0}),{getReferenceProps:u,getFloatingProps:f}=Oy([c]);return S.jsxs(S.Fragment,{children:[S.jsxs("div",{onClick:n!=null&&n.length?()=>s(p=>!p):void 0,ref:a.setReference,className:ve("px-1 uppercase border rounded-sm flex items-center space-x-1",n.length?"cursor-pointer":"pointer-events-none",Ry[t]),...u(),children:[S.jsx("span",{className:"text-sm font-bold",children:e}),n.length>0?S.jsx(Mt,{icon:Hc,className:"size-4"}):S.jsx(S.Fragment,{})]}),o&&n.length&&S.jsx("div",{ref:a.setFloating,style:i,className:ve("border border-gray-200 py-1.5 rounded-sm min-w-[172px] bg-white shadow-dark/50"),...f(),children:n.map((p,h)=>S.jsx($y,{transition:p,onClick:()=>{r==null||r(p.id),s(!1)}},h))})]})},Hi=({description:e})=>{const t=d.useMemo(()=>{const n=/https:\/\/[^/]+\/api\/files/g,r=e==null?void 0:e.replaceAll(n,`${Ea}`),o=r==null?void 0:r.replaceAll('src="/api/files',`src="${Ea}`),i=new DOMParser().parseFromString(o,"text/html").querySelectorAll("img");return i==null||i.forEach(l=>{const c=l.getAttribute("src");c&&(new Image().src=c)}),o},[e]);return d.useEffect(()=>{},[t]),S.jsx("div",{className:"flex flex-col gap-4",children:S.jsx("div",{style:{display:"unset"},className:"lexical-view-mode",dangerouslySetInnerHTML:{__html:t}})})},Iy={SEQUENTIAL:"Sequential"},My={[he.IN_REVIEW]:"In Review"},Ny={[he.OPEN]:"bg-secondary-500",[he.IN_PROGRESS]:"bg-primary-600",[he.IN_REVIEW]:"bg-success-600",[he.COMPLETED]:"bg-success-600"},Ly=({playbookType:e,status:t,step:n,isSelected:r,onSelect:o})=>S.jsx("div",{className:Qn("flex flex-col items-center justify-center",r?"bg-[#FFE600]":Ny[t],o&&"cursor-pointer"),onClick:s=>{s.stopPropagation(),o==null||o(s.shiftKey)},children:S.jsx("span",{className:Qn("text-orientation-mixed w-[27px] flex items-center whitespace-nowrap px-2 text-sm font-bold [writing-mode:vertical-lr]",r?"text-black":"text-white"),children:e===Iy.SEQUENTIAL?`STEP ${n}`:(My[t]||t).toUpperCase()})}),_y={[he.OPEN]:"secondary",[he.IN_PROGRESS]:"primary",[he.IN_REVIEW]:"success",[he.COMPLETED]:"success"},Dy=({status:e})=>S.jsx(ku,{category:"outline",color:_y[e],children:e}),jy={[he.OPEN]:"border-[#C1C5C8] bg-[#F0F1F2]",[he.IN_PROGRESS]:"bg-[#E6F2FF] border-[#94C8FF]",[he.IN_REVIEW]:"bg-[#EAF6EC] border-[#A5DAB1]",[he.COMPLETED]:"bg-[#EAF6EC] border-[#A5DAB1]"},jo={PHOTO:"photo",SCREENSHOT:"screenshot"},zy=({task:e,step:t,playbookType:n,onButtonClick:r,viewMode:o="card",canStart:s=!1,isExpanded:a=!1,toggleExpanded:i,playbookId:l,taskStyle:c,listStickyTopBase:u})=>{const[f,p]=d.useState(!1),{taskDetails:h,prefetchQuery:y}=Xb({taskId:e.taskId,playbookId:l,enabled:a}),{buttons:g}=yf({taskStatus:e.workflowStatus,canStart:s}),b=d.useMemo(()=>e.imageRequired===0?null:e.imageRequired===1?jo.SCREENSHOT:e.imageRequired===2?jo.PHOTO:null,[e.imageRequired]),w=async C=>{try{p(!0),await r(C)}finally{p(!1)}};if(o==="list"){const C=d.useMemo(()=>e.workflowStatus===he.COMPLETED?"success":e.workflowStatus===he.IN_PROGRESS?"primary":"default",[e.workflowStatus]),x=d.useMemo(()=>{const E=[];return g.forEach(v=>{v==="START"&&E.push({id:"START",color:"primary",action:"Start",to:he.IN_PROGRESS}),v==="COMPLETE"&&E.push({id:"COMPLETE",color:"success",action:"Complete",to:he.COMPLETED})}),E},[g]);return S.jsxs("div",{className:ve("flex flex-col"),children:[S.jsxs("div",{className:ve("flex gap-3 p-2 border-gray-200",e.sequenceOrder>0&&"border-t",a&&"bg-white rounded-md border border-t-none shadow-sm sticky"),style:{top:a?u:0},children:[S.jsx("div",{className:"text-gray-200 text-base",children:e.sequenceOrder+1}),S.jsx("div",{onClick:()=>{i==null||i(!a)},onMouseOver:y,className:ve("flex-1 truncate cursor-pointer",a&&"font-medium",e.workflowStatus===he.COMPLETED&&"text-secondary-400 line-through"),style:{color:e.workflowStatus===he.IN_PROGRESS&&(c==null?void 0:c.titleColor)||"#1C232D"},children:e.taskInstanceName}),S.jsx(Fy,{title:e.workflowStatus,variant:C,transitions:x,onClick:E=>{r(E)}})]}),(h==null?void 0:h.description)&&S.jsx("div",{className:ve(!a&&"hidden","border-gray-200 border p-2 mx-4 mb-4 border-t-none -mt-[1px] bg-gray-100 rounded-b-md"),children:S.jsx(Hi,{description:(h==null?void 0:h.description)||""})})]})}return S.jsxs("div",{className:Qn("flex items-stretch rounded-sm overflow-hidden border",jy[e.workflowStatus]),children:[S.jsx(Ly,{playbookType:n,status:e.workflowStatus,step:t}),S.jsxs("div",{className:"flex w-full flex-col overflow-x-hidden flex-1 p-2",children:[n==="Sequential"&&S.jsx("div",{className:"-mb-3 self-end pr-2 pt-2",children:S.jsx(Dy,{status:e.workflowStatus})}),S.jsxs("div",{className:"space-y-2 divide-y divide-black/10 flex flex-col flex-1",children:[S.jsx("div",{className:ve("text-lg font-medium flex-1 pb-1"),style:{color:e.workflowStatus==="Completed"?"#1C232D":(c==null?void 0:c.titleColor)||"#1C232D"},children:e.taskInstanceName}),b?S.jsxs("div",{className:"flex items-center gap-2 text-sm pb-2",children:[S.jsx(Mt,{icon:Tm,className:"size-4"}),S.jsxs("div",{children:[S.jsx("span",{className:"font-medium",children:b===jo.PHOTO?"Photo":"Screenshot"})," ","required"]})]}):S.jsx(S.Fragment,{})]}),(h==null?void 0:h.description)&&S.jsx("div",{className:ve(!a&&"hidden"),children:S.jsx(Hi,{description:(h==null?void 0:h.description)||""})}),(g.length>0||e.hasDescription)&&S.jsxs("div",{className:"flex items-center justify-end gap-4 border-t border-black/10 pt-2",children:[S.jsx("div",{className:"flex-1",children:S.jsx(Jb,{buttons:g,onButtonClick:w,disabled:f})}),i&&S.jsx(Zn,{size:"smallCollapse",onMouseOver:y,category:"link",onClick:()=>{i()},title:a?"Hide task description":"Show task description",children:S.jsx(Mt,{icon:Hc,className:Qn("cursor-pointer text-[#0069D9]",a?"rotate-180":"")})})]})]})]})},Au=d.forwardRef(({title:e,className:t,playbookStyle:n,...r},o)=>{var s,a;return S.jsx("div",{ref:o,className:ve("border-b border-gray-200 flex items-center",t),style:{backgroundColor:((s=n==null?void 0:n.whiteLabel)==null?void 0:s.titleBackgroundColor)||"#f8f9fa"},...r,children:S.jsx("div",{className:"text-xl min-h-16 p-4",style:{color:(a=n==null?void 0:n.whiteLabel)==null?void 0:a.titleTextColor},children:e})})});Au.displayName="PlaybookHeader";const fa=({children:e})=>S.jsx("div",{className:"confidence-ui",style:{display:"unset"},children:e}),Hy=({playbookInstanceId:e,playbookMode:t,playbookStyle:n})=>{const{playbook:r,actions:o}=gf(e);if(!r)return S.jsx("div",{});const s=async(a,i)=>{var l;if(a===Un.COMPLETE){const c=(l=r.tasks.find(u=>u.taskInstanceId===i))==null?void 0:l.sequenceOrder;if(c===void 0){console.error("Task not found in playbook");return}return o.completeTask(i,c)}if(a===Un.START)return o.startTask(i)};return S.jsx(Ru,{playbook:r,playbookMode:t,onTaskButtonClick:s,playbookStyle:n})},Uy=({className:e,children:t,numberOfTasks:n,playbookMode:r})=>S.jsxs("div",{className:ve("w-full p-4",e),children:[n&&S.jsxs("div",{className:ve(r==="card"&&"mb-4"),children:[S.jsx("span",{className:"font-medium",children:"Tasks"})," (",n,")"]}),S.jsx("div",{className:ve(r==="card"&&"space-y-4"),children:t})]}),Ru=({playbook:e,playbookMode:t,onTaskButtonClick:n,playbookStyle:r})=>{var g,b,w,C,x;const{playbookInstanceName:o,tasks:s}=e,a=d.useRef(null),[i,l]=d.useState(0),[c,u]=d.useState(!1),f=()=>{u(!c)},{isTaskExpanded:p,toggleTaskExpanded:h}=gl(e.playbookInstanceId,{onTaskExpanded:()=>{var E,v;console.log("Header height before update:",(E=a.current)==null?void 0:E.offsetHeight),l(((v=a.current)==null?void 0:v.offsetHeight)||0)}});d.useEffect(()=>(a.current&&new ResizeObserver(v=>{var $;for(const H of v)console.log("ResizeObserver entry:",H),H.contentRect&&l((($=a.current)==null?void 0:$.offsetHeight)||0)}).observe(a.current),()=>{a.current&&new ResizeObserver(()=>{}).unobserve(a.current)}),[a]);const y=d.useMemo(()=>{const E=s.filter(v=>v.workflowStatus===he.COMPLETED).sort((v,$)=>$.sequenceOrder-v.sequenceOrder)[0];return console.log({lastCompletedTask:E}),E?E.sequenceOrder+1:0},[s]);return S.jsxs("div",{className:ve(!(r!=null&&r.overlay)&&"min-h-screen",(r==null?void 0:r.overlay)&&"fixed bottom-0 z-[99999999999999] flex","transition-all duration-300 ease-in-out"),...(r==null?void 0:r.overlay)&&{style:{width:"100%",maxWidth:c?((g=r.overlay.size)==null?void 0:g.width)||450:"2.25rem",height:((b=r.overlay.size)==null?void 0:b.height)||"calc(100vh - 4rem)",maxHeight:"calc(100vh - 4rem)",right:((w=r.overlay.offset)==null?void 0:w.right)!==void 0?r.overlay.offset.right:r.overlay.position==="right"?32:void 0,left:((C=r.overlay.offset)==null?void 0:C.left)!==void 0?r.overlay.offset.left:r.overlay.position==="left"?32:void 0}},children:[(r==null?void 0:r.overlay)&&S.jsx("div",{onClick:f,className:ve("size-9 relative p-1 top-3 z-[99999999999999] border-none rounded-l-sm cursor-pointer"),style:{backgroundColor:((x=r==null?void 0:r.whiteLabel)==null?void 0:x.primaryColor)||"#007BFF",boxShadow:"0px 3px 3px 0px #00000040"},children:S.jsx("img",{src:jc,alt:"Confidence Logo",className:"w-full h-full object-contain"})}),S.jsxs("div",{className:ve("flex flex-col flex-1 bg-gray-50",(r==null?void 0:r.overlay)&&"border border-gray-200 shadow-2xl rounded-t-sm overflow-y-auto"),children:[S.jsx(Au,{title:o,className:ve("top-0 sticky z-2"),playbookStyle:r,ref:a}),S.jsx(Uy,{playbookMode:t,numberOfTasks:e.numberofTasks,children:s.map((E,v)=>{var $;return S.jsx(zy,{task:E,step:v+1,viewMode:t,playbookId:e.playbookId,canStart:E.sequenceOrder===y,onButtonClick:H=>n(H,E.taskInstanceId),playbookType:"Non-Sequential",taskStyle:{titleColor:($=r==null?void 0:r.whiteLabel)==null?void 0:$.primaryColor},isExpanded:p(E.taskInstanceId),toggleExpanded:()=>h(E.taskInstanceId),listStickyTopBase:i||104},v)})})]})]})},By=({email:e,playbookId:t,playbookMode:n,playbookStyle:r})=>{const[o,s]=d.useState(null);return d.useEffect(()=>{(async()=>{const{playbookInstanceId:a,errorCode:i,details:l,message:c}=await bl({bank:"public-sdk",email:e,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone||"America/Los_Angeles",playbookUid:t})||{};if(i)throw new Error(`Error initiating playbook: ${c} (Code: ${i}) - Details: ${l}`);s(a)})()},[]),o?S.jsx(fa,{children:S.jsx(rn,{playbookInstanceId:o,playbookMode:n,playbookStyle:r})}):S.jsx("div",{children:"Loading..."})},Wy=({playbookId:e,playbookMode:t="list",playbookStyle:n,btnLabel:r="Start Playbook",btnColor:o="primary"})=>{const[s,a]=d.useState(null);return S.jsxs(fa,{children:[S.jsx(zc,{playbookId:e,disabled:!!s,onInitiated:a,btnLabel:r,btnColor:o}),s&&S.jsx(rn,{playbookInstanceId:s,playbookMode:t,playbookStyle:n})]})},rn=({playbookInstanceId:e,playbookMode:t,playbookStyle:n})=>S.jsx(pl,{children:S.jsx(Hy,{playbookInstanceId:e,playbookMode:t,playbookStyle:n})});rn.Context=pl;rn.View=Ru;rn.AutoInstantiated=By;rn.WithInstantiateButton=Wy;exports.ConfidencePlaybook=rn;exports.ConfidencePlaybookButton=zc;exports.ConfidenceUIWrapper=fa;
|
|
706
|
+
}`;function fy(){const e=oy,t=iy,r=Te.cssPrefix,i=Te.replacementClass;let a=Kk;if(r!==e||i!==t){const u=new RegExp("\\.".concat(e,"\\-"),"g"),p=new RegExp("\\--".concat(e,"\\-"),"g"),m=new RegExp("\\.".concat(t),"g");a=a.replace(u,".".concat(r,"-")).replace(p,"--".concat(r,"-")).replace(m,".".concat(i))}return a}let gm=!1;function Ad(){Te.autoAddCss&&!gm&&(Gk(fy()),gm=!0)}var Jk={mixout(){return{dom:{css:fy,insertCss:Ad}}},hooks(){return{beforeDOMElementCreation(){Ad()},beforeI2svg(){Ad()}}}};const go=bi||{};go[mo]||(go[mo]={});go[mo].styles||(go[mo].styles={});go[mo].hooks||(go[mo].hooks={});go[mo].shims||(go[mo].shims=[]);var Ar=go[mo];const dy=[],py=function(){at.removeEventListener("DOMContentLoaded",py),Nu=1,dy.map(e=>e())};let Nu=!1;wo&&(Nu=(at.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(at.readyState),Nu||at.addEventListener("DOMContentLoaded",py));function Zk(e){wo&&(Nu?setTimeout(e,0):dy.push(e))}function Ec(e){const{tag:t,attributes:r={},children:i=[]}=e;return typeof e=="string"?uy(e):"<".concat(t," ").concat(Xk(r),">").concat(i.map(Ec).join(""),"</").concat(t,">")}function vm(e,t,r){if(e&&e[t]&&e[t][r])return{prefix:t,iconName:r,icon:e[t][r]}}var Od=function(t,r,i,a){var u=Object.keys(t),p=u.length,m=r,h,v,C;for(i===void 0?(h=1,C=t[u[0]]):(h=0,C=i);h<p;h++)v=u[h],C=m(C,t[v],v,t);return C};function eE(e){const t=[];let r=0;const i=e.length;for(;r<i;){const a=e.charCodeAt(r++);if(a>=55296&&a<=56319&&r<i){const u=e.charCodeAt(r++);(u&64512)==56320?t.push(((a&1023)<<10)+(u&1023)+65536):(t.push(a),r--)}else t.push(a)}return t}function wp(e){const t=eE(e);return t.length===1?t[0].toString(16):null}function tE(e,t){const r=e.length;let i=e.charCodeAt(t),a;return i>=55296&&i<=56319&&r>t+1&&(a=e.charCodeAt(t+1),a>=56320&&a<=57343)?(i-55296)*1024+a-56320+65536:i}function ym(e){return Object.keys(e).reduce((t,r)=>{const i=e[r];return!!i.icon?t[i.iconName]=i.icon:t[r]=i,t},{})}function xp(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:i=!1}=r,a=ym(t);typeof Ar.hooks.addPack=="function"&&!i?Ar.hooks.addPack(e,ym(t)):Ar.styles[e]=ie(ie({},Ar.styles[e]||{}),a),e==="fas"&&xp("fa",t)}const{styles:pc,shims:nE}=Ar,hy=Object.keys(th),rE=hy.reduce((e,t)=>(e[t]=Object.keys(th[t]),e),{});let oh=null,my={},gy={},vy={},yy={},by={};function oE(e){return~Uk.indexOf(e)}function iE(e,t){const r=t.split("-"),i=r[0],a=r.slice(1).join("-");return i===e&&a!==""&&!oE(a)?a:null}const wy=()=>{const e=i=>Od(pc,(a,u,p)=>(a[p]=Od(u,i,{}),a),{});my=e((i,a,u)=>(a[3]&&(i[a[3]]=u),a[2]&&a[2].filter(m=>typeof m=="number").forEach(m=>{i[m.toString(16)]=u}),i)),gy=e((i,a,u)=>(i[u]=u,a[2]&&a[2].filter(m=>typeof m=="string").forEach(m=>{i[m]=u}),i)),by=e((i,a,u)=>{const p=a[2];return i[u]=u,p.forEach(m=>{i[m]=u}),i});const t="far"in pc||Te.autoFetchSvg,r=Od(nE,(i,a)=>{const u=a[0];let p=a[1];const m=a[2];return p==="far"&&!t&&(p="fas"),typeof u=="string"&&(i.names[u]={prefix:p,iconName:m}),typeof u=="number"&&(i.unicodes[u.toString(16)]={prefix:p,iconName:m}),i},{names:{},unicodes:{}});vy=r.names,yy=r.unicodes,oh=cf(Te.styleDefault,{family:Te.familyDefault})};Vk(e=>{oh=cf(e.styleDefault,{family:Te.familyDefault})});wy();function ih(e,t){return(my[e]||{})[t]}function aE(e,t){return(gy[e]||{})[t]}function da(e,t){return(by[e]||{})[t]}function xy(e){return vy[e]||{prefix:null,iconName:null}}function sE(e){const t=yy[e],r=ih("fas",e);return t||(r?{prefix:"fas",iconName:r}:null)||{prefix:null,iconName:null}}function wi(){return oh}const Sy=()=>({prefix:null,iconName:null,rest:[]});function lE(e){let t=jt;const r=hy.reduce((i,a)=>(i[a]="".concat(Te.cssPrefix,"-").concat(a),i),{});return ny.forEach(i=>{(e.includes(r[i])||e.some(a=>rE[i].includes(a)))&&(t=i)}),t}function cf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:r=jt}=t,i=$k[r][e];if(r===sf&&!e)return"fad";const a=mm[r][e]||mm[r][i],u=e in Ar.styles?e:null;return a||u||null}function cE(e){let t=[],r=null;return e.forEach(i=>{const a=iE(Te.cssPrefix,i);a?r=a:i&&t.push(i)}),{iconName:r,rest:t}}function bm(e){return e.sort().filter((t,r,i)=>i.indexOf(t)===r)}function uf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:r=!1}=t;let i=null;const a=hp.concat(Ck),u=bm(e.filter(x=>a.includes(x))),p=bm(e.filter(x=>!hp.includes(x))),m=u.filter(x=>(i=x,!ty.includes(x))),[h=null]=m,v=lE(u),C=ie(ie({},cE(p)),{},{prefix:cf(h,{family:v})});return ie(ie(ie({},C),pE({values:e,family:v,styles:pc,config:Te,canonical:C,givenPrefix:i})),uE(r,i,C))}function uE(e,t,r){let{prefix:i,iconName:a}=r;if(e||!i||!a)return{prefix:i,iconName:a};const u=t==="fa"?xy(a):{},p=da(i,a);return a=u.iconName||p||a,i=u.prefix||i,i==="far"&&!pc.far&&pc.fas&&!Te.autoFetchSvg&&(i="fas"),{prefix:i,iconName:a}}const fE=ny.filter(e=>e!==jt||e!==sf),dE=Object.keys(pp).filter(e=>e!==jt).map(e=>Object.keys(pp[e])).flat();function pE(e){const{values:t,family:r,canonical:i,givenPrefix:a="",styles:u={},config:p={}}=e,m=r===sf,h=t.includes("fa-duotone")||t.includes("fad"),v=p.familyDefault==="duotone",C=i.prefix==="fad"||i.prefix==="fa-duotone";if(!m&&(h||v||C)&&(i.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(i.prefix="fab"),!i.prefix&&fE.includes(r)&&(Object.keys(u).find(F=>dE.includes(F))||p.autoFetchSvg)){const F=vk.get(r).defaultShortPrefixId;i.prefix=F,i.iconName=da(i.prefix,i.iconName)||i.iconName}return(i.prefix==="fa"||a==="fa")&&(i.prefix=wi()||"fas"),i}class hE{constructor(){this.definitions={}}add(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];const a=r.reduce(this._pullDefinitions,{});Object.keys(a).forEach(u=>{this.definitions[u]=ie(ie({},this.definitions[u]||{}),a[u]),xp(u,a[u]);const p=th[jt][u];p&&xp(p,a[u]),wy()})}reset(){this.definitions={}}_pullDefinitions(t,r){const i=r.prefix&&r.iconName&&r.icon?{0:r}:r;return Object.keys(i).map(a=>{const{prefix:u,iconName:p,icon:m}=i[a],h=m[2];t[u]||(t[u]={}),h.length>0&&h.forEach(v=>{typeof v=="string"&&(t[u][v]=m)}),t[u][p]=m}),t}}let wm=[],As={};const _s={},mE=Object.keys(_s);function gE(e,t){let{mixoutsTo:r}=t;return wm=e,As={},Object.keys(_s).forEach(i=>{mE.indexOf(i)===-1&&delete _s[i]}),wm.forEach(i=>{const a=i.mixout?i.mixout():{};if(Object.keys(a).forEach(u=>{typeof a[u]=="function"&&(r[u]=a[u]),typeof a[u]=="object"&&Object.keys(a[u]).forEach(p=>{r[u]||(r[u]={}),r[u][p]=a[u][p]})}),i.hooks){const u=i.hooks();Object.keys(u).forEach(p=>{As[p]||(As[p]=[]),As[p].push(u[p])})}i.provides&&i.provides(_s)}),r}function Sp(e,t){for(var r=arguments.length,i=new Array(r>2?r-2:0),a=2;a<r;a++)i[a-2]=arguments[a];return(As[e]||[]).forEach(p=>{t=p.apply(null,[t,...i])}),t}function Ta(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];(As[e]||[]).forEach(u=>{u.apply(null,r)})}function xi(){const e=arguments[0],t=Array.prototype.slice.call(arguments,1);return _s[e]?_s[e].apply(null,t):void 0}function kp(e){e.prefix==="fa"&&(e.prefix="fas");let{iconName:t}=e;const r=e.prefix||wi();if(t)return t=da(r,t)||t,vm(ky.definitions,r,t)||vm(Ar.styles,r,t)}const ky=new hE,vE=()=>{Te.autoReplaceSvg=!1,Te.observeMutations=!1,Ta("noAuto")},yE={i2svg:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return wo?(Ta("beforeI2svg",e),xi("pseudoElements2svg",e),xi("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t}=e;Te.autoReplaceSvg===!1&&(Te.autoReplaceSvg=!0),Te.observeMutations=!0,Zk(()=>{wE({autoReplaceSvgRoot:t}),Ta("watch",e)})}},bE={icon:e=>{if(e===null)return null;if(typeof e=="object"&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:da(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&e.length===2){const t=e[1].indexOf("fa-")===0?e[1].slice(3):e[1],r=cf(e[0]);return{prefix:r,iconName:da(r,t)||t}}if(typeof e=="string"&&(e.indexOf("".concat(Te.cssPrefix,"-"))>-1||e.match(jk))){const t=uf(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||wi(),iconName:da(t.prefix,t.iconName)||t.iconName}}if(typeof e=="string"){const t=wi();return{prefix:t,iconName:da(t,e)||e}}}},Sn={noAuto:vE,config:Te,dom:yE,parse:bE,library:ky,findIconDefinition:kp,toHtml:Ec},wE=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t=at}=e;(Object.keys(Ar.styles).length>0||Te.autoFetchSvg)&&wo&&Te.autoReplaceSvg&&Sn.dom.i2svg({node:t})};function ff(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(r=>Ec(r))}}),Object.defineProperty(e,"node",{get:function(){if(!wo)return;const r=at.createElement("div");return r.innerHTML=e.html,r.children}}),e}function xE(e){let{children:t,main:r,mask:i,attributes:a,styles:u,transform:p}=e;if(rh(p)&&r.found&&!i.found){const{width:m,height:h}=r,v={x:m/h/2,y:.5};a.style=lf(ie(ie({},u),{},{"transform-origin":"".concat(v.x+p.x/16,"em ").concat(v.y+p.y/16,"em")}))}return[{tag:"svg",attributes:a,children:t}]}function SE(e){let{prefix:t,iconName:r,children:i,attributes:a,symbol:u}=e;const p=u===!0?"".concat(t,"-").concat(Te.cssPrefix,"-").concat(r):u;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:ie(ie({},a),{},{id:p}),children:i}]}]}function ah(e){const{icons:{main:t,mask:r},prefix:i,iconName:a,transform:u,symbol:p,title:m,maskId:h,titleId:v,extra:C,watchable:x=!1}=e,{width:F,height:I}=r.found?r:t,L=Sk.includes(i),D=[Te.replacementClass,a?"".concat(Te.cssPrefix,"-").concat(a):""].filter($=>C.classes.indexOf($)===-1).filter($=>$!==""||!!$).concat(C.classes).join(" ");let T={children:[],attributes:ie(ie({},C.attributes),{},{"data-prefix":i,"data-icon":a,class:D,role:C.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(F," ").concat(I)})};const O=L&&!~C.classes.indexOf("fa-fw")?{width:"".concat(F/I*16*.0625,"em")}:{};x&&(T.attributes[Ca]=""),m&&(T.children.push({tag:"title",attributes:{id:T.attributes["aria-labelledby"]||"title-".concat(v||dc())},children:[m]}),delete T.attributes.title);const U=ie(ie({},T),{},{prefix:i,iconName:a,main:t,mask:r,maskId:h,transform:u,symbol:p,styles:ie(ie({},O),C.styles)}),{children:j,attributes:V}=r.found&&t.found?xi("generateAbstractMask",U)||{children:[],attributes:{}}:xi("generateAbstractIcon",U)||{children:[],attributes:{}};return U.children=j,U.attributes=V,p?SE(U):xE(U)}function xm(e){const{content:t,width:r,height:i,transform:a,title:u,extra:p,watchable:m=!1}=e,h=ie(ie(ie({},p.attributes),u?{title:u}:{}),{},{class:p.classes.join(" ")});m&&(h[Ca]="");const v=ie({},p.styles);rh(a)&&(v.transform=qk({transform:a,startCentered:!0,width:r,height:i}),v["-webkit-transform"]=v.transform);const C=lf(v);C.length>0&&(h.style=C);const x=[];return x.push({tag:"span",attributes:h,children:[t]}),u&&x.push({tag:"span",attributes:{class:"sr-only"},children:[u]}),x}function kE(e){const{content:t,title:r,extra:i}=e,a=ie(ie(ie({},i.attributes),r?{title:r}:{}),{},{class:i.classes.join(" ")}),u=lf(i.styles);u.length>0&&(a.style=u);const p=[];return p.push({tag:"span",attributes:a,children:[t]}),r&&p.push({tag:"span",attributes:{class:"sr-only"},children:[r]}),p}const{styles:Id}=Ar;function Ep(e){const t=e[0],r=e[1],[i]=e.slice(4);let a=null;return Array.isArray(i)?a={tag:"g",attributes:{class:"".concat(Te.cssPrefix,"-").concat(Pd.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Te.cssPrefix,"-").concat(Pd.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(Te.cssPrefix,"-").concat(Pd.PRIMARY),fill:"currentColor",d:i[1]}}]}:a={tag:"path",attributes:{fill:"currentColor",d:i}},{found:!0,width:t,height:r,icon:a}}const EE={found:!1,width:512,height:512};function CE(e,t){!ay&&!Te.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Cp(e,t){let r=t;return t==="fa"&&Te.styleDefault!==null&&(t=wi()),new Promise((i,a)=>{if(r==="fa"){const u=xy(e)||{};e=u.iconName||e,t=u.prefix||t}if(e&&t&&Id[t]&&Id[t][e]){const u=Id[t][e];return i(Ep(u))}CE(e,t),i(ie(ie({},EE),{},{icon:Te.showMissingIcons&&e?xi("missingIconAbstract")||{}:{}}))})}const Sm=()=>{},Tp=Te.measurePerformance&&ku&&ku.mark&&ku.measure?ku:{mark:Sm,measure:Sm},Zl='FA "6.7.2"',TE=e=>(Tp.mark("".concat(Zl," ").concat(e," begins")),()=>Ey(e)),Ey=e=>{Tp.mark("".concat(Zl," ").concat(e," ends")),Tp.measure("".concat(Zl," ").concat(e),"".concat(Zl," ").concat(e," begins"),"".concat(Zl," ").concat(e," ends"))};var sh={begin:TE,end:Ey};const Ru=()=>{};function km(e){return typeof(e.getAttribute?e.getAttribute(Ca):null)=="string"}function RE(e){const t=e.getAttribute?e.getAttribute(Zp):null,r=e.getAttribute?e.getAttribute(eh):null;return t&&r}function PE(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(Te.replacementClass)}function AE(){return Te.autoReplaceSvg===!0?Pu.replace:Pu[Te.autoReplaceSvg]||Pu.replace}function OE(e){return at.createElementNS("http://www.w3.org/2000/svg",e)}function IE(e){return at.createElement(e)}function Cy(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:r=e.tag==="svg"?OE:IE}=t;if(typeof e=="string")return at.createTextNode(e);const i=r(e.tag);return Object.keys(e.attributes||[]).forEach(function(u){i.setAttribute(u,e.attributes[u])}),(e.children||[]).forEach(function(u){i.appendChild(Cy(u,{ceFn:r}))}),i}function FE(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}const Pu={replace:function(e){const t=e[0];if(t.parentNode)if(e[1].forEach(r=>{t.parentNode.insertBefore(Cy(r),t)}),t.getAttribute(Ca)===null&&Te.keepOriginalSource){let r=at.createComment(FE(t));t.parentNode.replaceChild(r,t)}else t.remove()},nest:function(e){const t=e[0],r=e[1];if(~nh(t).indexOf(Te.replacementClass))return Pu.replace(e);const i=new RegExp("".concat(Te.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){const u=r[0].attributes.class.split(" ").reduce((p,m)=>(m===Te.replacementClass||m.match(i)?p.toSvg.push(m):p.toNode.push(m),p),{toNode:[],toSvg:[]});r[0].attributes.class=u.toSvg.join(" "),u.toNode.length===0?t.removeAttribute("class"):t.setAttribute("class",u.toNode.join(" "))}const a=r.map(u=>Ec(u)).join(`
|
|
707
|
+
`);t.setAttribute(Ca,""),t.innerHTML=a}};function Em(e){e()}function Ty(e,t){const r=typeof t=="function"?t:Ru;if(e.length===0)r();else{let i=Em;Te.mutateApproach===_k&&(i=bi.requestAnimationFrame||Em),i(()=>{const a=AE(),u=sh.begin("mutate");e.map(a),u(),r()})}}let lh=!1;function Ry(){lh=!0}function Rp(){lh=!1}let zu=null;function Cm(e){if(!fm||!Te.observeMutations)return;const{treeCallback:t=Ru,nodeCallback:r=Ru,pseudoElementsCallback:i=Ru,observeMutationsRoot:a=at}=e;zu=new fm(u=>{if(lh)return;const p=wi();tl(u).forEach(m=>{if(m.type==="childList"&&m.addedNodes.length>0&&!km(m.addedNodes[0])&&(Te.searchPseudoElements&&i(m.target),t(m.target)),m.type==="attributes"&&m.target.parentNode&&Te.searchPseudoElements&&i(m.target.parentNode),m.type==="attributes"&&km(m.target)&&~Bk.indexOf(m.attributeName))if(m.attributeName==="class"&&RE(m.target)){const{prefix:h,iconName:v}=uf(nh(m.target));m.target.setAttribute(Zp,h||p),v&&m.target.setAttribute(eh,v)}else PE(m.target)&&r(m.target)})}),wo&&zu.observe(a,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function ME(){zu&&zu.disconnect()}function DE(e){const t=e.getAttribute("style");let r=[];return t&&(r=t.split(";").reduce((i,a)=>{const u=a.split(":"),p=u[0],m=u.slice(1);return p&&m.length>0&&(i[p]=m.join(":").trim()),i},{})),r}function _E(e){const t=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),i=e.innerText!==void 0?e.innerText.trim():"";let a=uf(nh(e));return a.prefix||(a.prefix=wi()),t&&r&&(a.prefix=t,a.iconName=r),a.iconName&&a.prefix||(a.prefix&&i.length>0&&(a.iconName=aE(a.prefix,e.innerText)||ih(a.prefix,wp(e.innerText))),!a.iconName&&Te.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}function LE(e){const t=tl(e.attributes).reduce((a,u)=>(a.name!=="class"&&a.name!=="style"&&(a[u.name]=u.value),a),{}),r=e.getAttribute("title"),i=e.getAttribute("data-fa-title-id");return Te.autoA11y&&(r?t["aria-labelledby"]="".concat(Te.replacementClass,"-title-").concat(i||dc()):(t["aria-hidden"]="true",t.focusable="false")),t}function $E(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Pr,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function Tm(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0};const{iconName:r,prefix:i,rest:a}=_E(e),u=LE(e),p=Sp("parseNodeAttributes",{},e);let m=t.styleParser?DE(e):[];return ie({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:Pr,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:m,attributes:u}},p)}const{styles:jE}=Ar;function Py(e){const t=Te.autoReplaceSvg==="nest"?Tm(e,{styleParser:!1}):Tm(e);return~t.extra.classes.indexOf(ly)?xi("generateLayersText",e,t):xi("generateSvgReplacementMutation",e,t)}function NE(){return[...bk,...hp]}function Rm(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!wo)return Promise.resolve();const r=at.documentElement.classList,i=C=>r.add("".concat(hm,"-").concat(C)),a=C=>r.remove("".concat(hm,"-").concat(C)),u=Te.autoFetchSvg?NE():ty.concat(Object.keys(jE));u.includes("fa")||u.push("fa");const p=[".".concat(ly,":not([").concat(Ca,"])")].concat(u.map(C=>".".concat(C,":not([").concat(Ca,"])"))).join(", ");if(p.length===0)return Promise.resolve();let m=[];try{m=tl(e.querySelectorAll(p))}catch{}if(m.length>0)i("pending"),a("complete");else return Promise.resolve();const h=sh.begin("onTree"),v=m.reduce((C,x)=>{try{const F=Py(x);F&&C.push(F)}catch(F){ay||F.name==="MissingIcon"&&console.error(F)}return C},[]);return new Promise((C,x)=>{Promise.all(v).then(F=>{Ty(F,()=>{i("active"),i("complete"),a("pending"),typeof t=="function"&&t(),h(),C()})}).catch(F=>{h(),x(F)})})}function zE(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;Py(e).then(r=>{r&&Ty([r],t)})}function BE(e){return function(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=(t||{}).icon?t:kp(t||{});let{mask:a}=r;return a&&(a=(a||{}).icon?a:kp(a||{})),e(i,ie(ie({},r),{},{mask:a}))}}const UE=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:r=Pr,symbol:i=!1,mask:a=null,maskId:u=null,title:p=null,titleId:m=null,classes:h=[],attributes:v={},styles:C={}}=t;if(!e)return;const{prefix:x,iconName:F,icon:I}=e;return ff(ie({type:"icon"},e),()=>(Ta("beforeDOMElementCreation",{iconDefinition:e,params:t}),Te.autoA11y&&(p?v["aria-labelledby"]="".concat(Te.replacementClass,"-title-").concat(m||dc()):(v["aria-hidden"]="true",v.focusable="false")),ah({icons:{main:Ep(I),mask:a?Ep(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:x,iconName:F,transform:ie(ie({},Pr),r),symbol:i,title:p,maskId:u,titleId:m,extra:{attributes:v,styles:C,classes:h}})))};var HE={mixout(){return{icon:BE(UE)}},hooks(){return{mutationObserverCallbacks(e){return e.treeCallback=Rm,e.nodeCallback=zE,e}}},provides(e){e.i2svg=function(t){const{node:r=at,callback:i=()=>{}}=t;return Rm(r,i)},e.generateSvgReplacementMutation=function(t,r){const{iconName:i,title:a,titleId:u,prefix:p,transform:m,symbol:h,mask:v,maskId:C,extra:x}=r;return new Promise((F,I)=>{Promise.all([Cp(i,p),v.iconName?Cp(v.iconName,v.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(L=>{let[D,T]=L;F([t,ah({icons:{main:D,mask:T},prefix:p,iconName:i,transform:m,symbol:h,maskId:C,title:a,titleId:u,extra:x,watchable:!0})])}).catch(I)})},e.generateAbstractIcon=function(t){let{children:r,attributes:i,main:a,transform:u,styles:p}=t;const m=lf(p);m.length>0&&(i.style=m);let h;return rh(u)&&(h=xi("generateAbstractTransformGrouping",{main:a,transform:u,containerWidth:a.width,iconWidth:a.width})),r.push(h||a.icon),{children:r,attributes:i}}}},WE={mixout(){return{layer(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{classes:r=[]}=t;return ff({type:"layer"},()=>{Ta("beforeDOMElementCreation",{assembler:e,params:t});let i=[];return e(a=>{Array.isArray(a)?a.map(u=>{i=i.concat(u.abstract)}):i=i.concat(a.abstract)}),[{tag:"span",attributes:{class:["".concat(Te.cssPrefix,"-layers"),...r].join(" ")},children:i}]})}}}},VE={mixout(){return{counter(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{title:r=null,classes:i=[],attributes:a={},styles:u={}}=t;return ff({type:"counter",content:e},()=>(Ta("beforeDOMElementCreation",{content:e,params:t}),kE({content:e.toString(),title:r,extra:{attributes:a,styles:u,classes:["".concat(Te.cssPrefix,"-layers-counter"),...i]}})))}}}},GE={mixout(){return{text(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:r=Pr,title:i=null,classes:a=[],attributes:u={},styles:p={}}=t;return ff({type:"text",content:e},()=>(Ta("beforeDOMElementCreation",{content:e,params:t}),xm({content:e,transform:ie(ie({},Pr),r),title:i,extra:{attributes:u,styles:p,classes:["".concat(Te.cssPrefix,"-layers-text"),...a]}})))}}},provides(e){e.generateLayersText=function(t,r){const{title:i,transform:a,extra:u}=r;let p=null,m=null;if(Zv){const h=parseInt(getComputedStyle(t).fontSize,10),v=t.getBoundingClientRect();p=v.width/h,m=v.height/h}return Te.autoA11y&&!i&&(u.attributes["aria-hidden"]="true"),Promise.resolve([t,xm({content:t.innerHTML,width:p,height:m,transform:a,title:i,extra:u,watchable:!0})])}}};const YE=new RegExp('"',"ug"),Pm=[1105920,1112319],Am=ie(ie(ie(ie({},{FontAwesome:{normal:"fas",400:"fas"}}),gk),Mk),Tk),Pp=Object.keys(Am).reduce((e,t)=>(e[t.toLowerCase()]=Am[t],e),{}),XE=Object.keys(Pp).reduce((e,t)=>{const r=Pp[t];return e[t]=r[900]||[...Object.entries(r)][0][1],e},{});function QE(e){const t=e.replace(YE,""),r=tE(t,0),i=r>=Pm[0]&&r<=Pm[1],a=t.length===2?t[0]===t[1]:!1;return{value:wp(a?t[0]:t),isSecondary:i||a}}function qE(e,t){const r=e.replace(/^['"]|['"]$/g,"").toLowerCase(),i=parseInt(t),a=isNaN(i)?"normal":i;return(Pp[r]||{})[a]||XE[r]}function Om(e,t){const r="".concat(Dk).concat(t.replace(":","-"));return new Promise((i,a)=>{if(e.getAttribute(r)!==null)return i();const p=tl(e.children).filter(F=>F.getAttribute(gp)===t)[0],m=bi.getComputedStyle(e,t),h=m.getPropertyValue("font-family"),v=h.match(Nk),C=m.getPropertyValue("font-weight"),x=m.getPropertyValue("content");if(p&&!v)return e.removeChild(p),i();if(v&&x!=="none"&&x!==""){const F=m.getPropertyValue("content");let I=qE(h,C);const{value:L,isSecondary:D}=QE(F),T=v[0].startsWith("FontAwesome");let O=ih(I,L),U=O;if(T){const j=sE(L);j.iconName&&j.prefix&&(O=j.iconName,I=j.prefix)}if(O&&!D&&(!p||p.getAttribute(Zp)!==I||p.getAttribute(eh)!==U)){e.setAttribute(r,U),p&&e.removeChild(p);const j=$E(),{extra:V}=j;V.attributes[gp]=t,Cp(O,I).then($=>{const J=ah(ie(ie({},j),{},{icons:{main:$,mask:Sy()},prefix:I,iconName:U,extra:V,watchable:!0})),ae=at.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(ae,e.firstChild):e.appendChild(ae),ae.outerHTML=J.map(ne=>Ec(ne)).join(`
|
|
708
|
+
`),e.removeAttribute(r),i()}).catch(a)}else i()}else i()})}function KE(e){return Promise.all([Om(e,"::before"),Om(e,"::after")])}function JE(e){return e.parentNode!==document.head&&!~Lk.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(gp)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function Im(e){if(wo)return new Promise((t,r)=>{const i=tl(e.querySelectorAll("*")).filter(JE).map(KE),a=sh.begin("searchPseudoElements");Ry(),Promise.all(i).then(()=>{a(),Rp(),t()}).catch(()=>{a(),Rp(),r()})})}var ZE={hooks(){return{mutationObserverCallbacks(e){return e.pseudoElementsCallback=Im,e}}},provides(e){e.pseudoElements2svg=function(t){const{node:r=at}=t;Te.searchPseudoElements&&Im(r)}}};let Fm=!1;var eC={mixout(){return{dom:{unwatch(){Ry(),Fm=!0}}}},hooks(){return{bootstrap(){Cm(Sp("mutationObserverCallbacks",{}))},noAuto(){ME()},watch(e){const{observeMutationsRoot:t}=e;Fm?Rp():Cm(Sp("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}};const Mm=e=>{let t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e.toLowerCase().split(" ").reduce((r,i)=>{const a=i.toLowerCase().split("-"),u=a[0];let p=a.slice(1).join("-");if(u&&p==="h")return r.flipX=!0,r;if(u&&p==="v")return r.flipY=!0,r;if(p=parseFloat(p),isNaN(p))return r;switch(u){case"grow":r.size=r.size+p;break;case"shrink":r.size=r.size-p;break;case"left":r.x=r.x-p;break;case"right":r.x=r.x+p;break;case"up":r.y=r.y-p;break;case"down":r.y=r.y+p;break;case"rotate":r.rotate=r.rotate+p;break}return r},t)};var tC={mixout(){return{parse:{transform:e=>Mm(e)}}},hooks(){return{parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-transform");return r&&(e.transform=Mm(r)),e}}},provides(e){e.generateAbstractTransformGrouping=function(t){let{main:r,transform:i,containerWidth:a,iconWidth:u}=t;const p={transform:"translate(".concat(a/2," 256)")},m="translate(".concat(i.x*32,", ").concat(i.y*32,") "),h="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),v="rotate(".concat(i.rotate," 0 0)"),C={transform:"".concat(m," ").concat(h," ").concat(v)},x={transform:"translate(".concat(u/2*-1," -256)")},F={outer:p,inner:C,path:x};return{tag:"g",attributes:ie({},F.outer),children:[{tag:"g",attributes:ie({},F.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:ie(ie({},r.icon.attributes),F.path)}]}]}}}};const Fd={x:0,y:0,width:"100%",height:"100%"};function Dm(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function nC(e){return e.tag==="g"?e.children:[e]}var rC={hooks(){return{parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-mask"),i=r?uf(r.split(" ").map(a=>a.trim())):Sy();return i.prefix||(i.prefix=wi()),e.mask=i,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides(e){e.generateAbstractMask=function(t){let{children:r,attributes:i,main:a,mask:u,maskId:p,transform:m}=t;const{width:h,icon:v}=a,{width:C,icon:x}=u,F=Qk({transform:m,containerWidth:C,iconWidth:h}),I={tag:"rect",attributes:ie(ie({},Fd),{},{fill:"white"})},L=v.children?{children:v.children.map(Dm)}:{},D={tag:"g",attributes:ie({},F.inner),children:[Dm(ie({tag:v.tag,attributes:ie(ie({},v.attributes),F.path)},L))]},T={tag:"g",attributes:ie({},F.outer),children:[D]},O="mask-".concat(p||dc()),U="clip-".concat(p||dc()),j={tag:"mask",attributes:ie(ie({},Fd),{},{id:O,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[I,T]},V={tag:"defs",children:[{tag:"clipPath",attributes:{id:U},children:nC(x)},j]};return r.push(V,{tag:"rect",attributes:ie({fill:"currentColor","clip-path":"url(#".concat(U,")"),mask:"url(#".concat(O,")")},Fd)}),{children:r,attributes:i}}}},oC={provides(e){let t=!1;bi.matchMedia&&(t=bi.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){const r=[],i={fill:"currentColor"},a={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:ie(ie({},i),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});const u=ie(ie({},a),{},{attributeName:"opacity"}),p={tag:"circle",attributes:ie(ie({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||p.children.push({tag:"animate",attributes:ie(ie({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:ie(ie({},u),{},{values:"1;0;1;1;0;1;"})}),r.push(p),r.push({tag:"path",attributes:ie(ie({},i),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:ie(ie({},u),{},{values:"1;0;0;0;0;1;"})}]}),t||r.push({tag:"path",attributes:ie(ie({},i),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:ie(ie({},u),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},iC={hooks(){return{parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-symbol"),i=r===null?!1:r===""?!0:r;return e.symbol=i,e}}}},aC=[Jk,HE,WE,VE,GE,ZE,eC,tC,rC,oC,iC];gE(aC,{mixoutsTo:Sn});Sn.noAuto;Sn.config;Sn.library;Sn.dom;const Ap=Sn.parse;Sn.findIconDefinition;Sn.toHtml;const sC=Sn.icon;Sn.layer;Sn.text;Sn.counter;function _m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,i)}return r}function vi(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?_m(Object(r),!0).forEach(function(i){Os(e,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_m(Object(r)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i))})}return e}function Bu(e){"@babel/helpers - typeof";return Bu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Bu(e)}function Os(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lC(e,t){if(e==null)return{};var r={},i=Object.keys(e),a,u;for(u=0;u<i.length;u++)a=i[u],!(t.indexOf(a)>=0)&&(r[a]=e[a]);return r}function Ay(e,t){if(e==null)return{};var r=lC(e,t),i,a;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(a=0;a<u.length;a++)i=u[a],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(r[i]=e[i])}return r}function Op(e){return cC(e)||uC(e)||fC(e)||dC()}function cC(e){if(Array.isArray(e))return Ip(e)}function uC(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function fC(e,t){if(e){if(typeof e=="string")return Ip(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ip(e,t)}}function Ip(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i}function dC(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
709
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pC(e){var t,r=e.beat,i=e.fade,a=e.beatFade,u=e.bounce,p=e.shake,m=e.flash,h=e.spin,v=e.spinPulse,C=e.spinReverse,x=e.pulse,F=e.fixedWidth,I=e.inverse,L=e.border,D=e.listItem,T=e.flip,O=e.size,U=e.rotation,j=e.pull,V=(t={"fa-beat":r,"fa-fade":i,"fa-beat-fade":a,"fa-bounce":u,"fa-shake":p,"fa-flash":m,"fa-spin":h,"fa-spin-reverse":C,"fa-spin-pulse":v,"fa-pulse":x,"fa-fw":F,"fa-inverse":I,"fa-border":L,"fa-li":D,"fa-flip":T===!0,"fa-flip-horizontal":T==="horizontal"||T==="both","fa-flip-vertical":T==="vertical"||T==="both"},Os(t,"fa-".concat(O),typeof O<"u"&&O!==null),Os(t,"fa-rotate-".concat(U),typeof U<"u"&&U!==null&&U!==0),Os(t,"fa-pull-".concat(j),typeof j<"u"&&j!==null),Os(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(V).map(function($){return V[$]?$:null}).filter(function($){return $})}function hC(e){return e=e-0,e===e}function Oy(e){return hC(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,r){return r?r.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var mC=["style"];function gC(e){return e.charAt(0).toUpperCase()+e.slice(1)}function vC(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,r){var i=r.indexOf(":"),a=Oy(r.slice(0,i)),u=r.slice(i+1).trim();return a.startsWith("webkit")?t[gC(a)]=u:t[a]=u,t},{})}function Iy(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t=="string")return t;var i=(t.children||[]).map(function(h){return Iy(e,h)}),a=Object.keys(t.attributes||{}).reduce(function(h,v){var C=t.attributes[v];switch(v){case"class":h.attrs.className=C,delete t.attributes.class;break;case"style":h.attrs.style=vC(C);break;default:v.indexOf("aria-")===0||v.indexOf("data-")===0?h.attrs[v.toLowerCase()]=C:h.attrs[Oy(v)]=C}return h},{attrs:{}}),u=r.style,p=u===void 0?{}:u,m=Ay(r,mC);return a.attrs.style=vi(vi({},a.attrs.style),p),e.apply(void 0,[t.tag,vi(vi({},a.attrs),m)].concat(Op(i)))}var Fy=!1;try{Fy=process.env.NODE_ENV==="production"}catch{}function yC(){if(!Fy&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function Lm(e){if(e&&Bu(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(Ap.icon)return Ap.icon(e);if(e===null)return null;if(e&&Bu(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}function Md(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Os({},e,t):{}}var bC=["forwardedRef"];function Si(e){var t=e.forwardedRef,r=Ay(e,bC),i=r.icon,a=r.mask,u=r.symbol,p=r.className,m=r.title,h=r.titleId,v=r.maskId,C=Lm(i),x=Md("classes",[].concat(Op(pC(r)),Op(p.split(" ")))),F=Md("transform",typeof r.transform=="string"?Ap.transform(r.transform):r.transform),I=Md("mask",Lm(a)),L=sC(C,vi(vi(vi(vi({},x),F),I),{},{symbol:u,title:m,titleId:h,maskId:v}));if(!L)return yC("Could not find icon",C),null;var D=L.abstract,T={ref:t};return Object.keys(r).forEach(function(O){Si.defaultProps.hasOwnProperty(O)||(T[O]=r[O])}),wC(D[0],T)}Si.displayName="FontAwesomeIcon";Si.propTypes={beat:_e.bool,border:_e.bool,beatFade:_e.bool,bounce:_e.bool,className:_e.string,fade:_e.bool,flash:_e.bool,mask:_e.oneOfType([_e.object,_e.array,_e.string]),maskId:_e.string,fixedWidth:_e.bool,inverse:_e.bool,flip:_e.oneOf([!0,!1,"horizontal","vertical","both"]),icon:_e.oneOfType([_e.object,_e.array,_e.string]),listItem:_e.bool,pull:_e.oneOf(["right","left"]),pulse:_e.bool,rotation:_e.oneOf([0,90,180,270]),shake:_e.bool,size:_e.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:_e.bool,spinPulse:_e.bool,spinReverse:_e.bool,symbol:_e.oneOfType([_e.bool,_e.string]),title:_e.string,titleId:_e.string,transform:_e.oneOfType([_e.string,_e.object]),swapOpacity:_e.bool};Si.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var wC=Iy.bind(null,A.createElement);const xC=async e=>await(await fetch(`${yc}/playbook-task-details`,{method:"POST",body:JSON.stringify(e)})).json(),SC=({taskId:e,playbookId:t,enabled:r})=>{const{queryClient:i}=Ks(),a=async()=>xC({taskId:+e,templateId:t.toString()}),u=["taskDetails",+e,t],p=jp({queryKey:u,queryFn:a,enabled:r},i),m=()=>{i.prefetchQuery({queryFn:a,queryKey:u})};return{taskDetails:p.data,prefetchQuery:m,...p}},kC=({buttons:e,onButtonClick:t,disabled:r})=>q.jsx("div",{className:"flex items-center justify-end",children:e.map(i=>q.jsx(fc,{size:"smallCollapse",className:"ml-2",disabled:r,onClick:()=>{t(i)},children:qb[i]},i))});function $m(e,t){if(!e||!t)return!1;const r=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(r&&cp(r)){let i=t;for(;i;){if(e===i)return!0;i=i.parentNode||i.host}}return!1}function Xl(e){return"composedPath"in e?e.composedPath()[0]:e.target}function Dd(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);const r=e;return r.target!=null&&t.contains(r.target)}function EC(e){return e.matches("html,body")}function jm(e){return(e==null?void 0:e.ownerDocument)||document}function _d(e,t){let r=e.filter(a=>{var u;return a.parentId===t&&((u=a.context)==null?void 0:u.open)}),i=r;for(;i.length;)i=e.filter(a=>{var u;return(u=i)==null?void 0:u.some(p=>{var m;return a.parentId===p.id&&((m=a.context)==null?void 0:m.open)})}),r=r.concat(i);return r}function CC(e){return"nativeEvent"in e}var TC=typeof document<"u",RC=function(){},Fp=TC?A.useLayoutEffect:RC;const PC={...pe},AC=PC.useInsertionEffect,OC=AC||(e=>e());function Ps(e){const t=pe.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return OC(()=>{t.current=e}),pe.useCallback(function(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return t.current==null?void 0:t.current(...i)},[])}const IC="data-floating-ui-focusable",Nm="active",zm="selected",FC={...pe};let Bm=!1,MC=0;const Um=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+MC++;function DC(){const[e,t]=pe.useState(()=>Bm?Um():void 0);return Fp(()=>{e==null&&t(Um())},[]),pe.useEffect(()=>{Bm=!0},[]),e}const _C=FC.useId,LC=_C||DC;let Mp;process.env.NODE_ENV!=="production"&&(Mp=new Set);function $C(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];const a="Floating UI: "+r.join(" ");if(!((e=Mp)!=null&&e.has(a))){var u;(u=Mp)==null||u.add(a),console.error(a)}}function jC(){const e=new Map;return{emit(t,r){var i;(i=e.get(t))==null||i.forEach(a=>a(r))},on(t,r){e.has(t)||e.set(t,new Set),e.get(t).add(r)},off(t,r){var i;(i=e.get(t))==null||i.delete(r)}}}const NC=pe.createContext(null),zC=pe.createContext(null),BC=()=>{var e;return((e=pe.useContext(NC))==null?void 0:e.id)||null},My=()=>pe.useContext(zC);function UC(e){return"data-floating-ui-"+e}function HC(e){e.current!==-1&&(clearTimeout(e.current),e.current=-1)}const WC={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},VC={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},Hm=e=>{var t,r;return{escapeKey:typeof e=="boolean"?e:(t=e==null?void 0:e.escapeKey)!=null?t:!1,outsidePress:typeof e=="boolean"?e:(r=e==null?void 0:e.outsidePress)!=null?r:!0}};function GC(e,t){t===void 0&&(t={});const{open:r,onOpenChange:i,elements:a,dataRef:u}=e,{enabled:p=!0,escapeKey:m=!0,outsidePress:h=!0,outsidePressEvent:v="pointerdown",referencePress:C=!1,referencePressEvent:x="pointerdown",ancestorScroll:F=!1,bubbles:I,capture:L}=t,D=My(),T=Ps(typeof h=="function"?h:()=>!1),O=typeof h=="function"?T:h,U=pe.useRef(!1),{escapeKey:j,outsidePress:V}=Hm(I),{escapeKey:$,outsidePress:J}=Hm(L),ae=pe.useRef(!1),ne=pe.useRef(-1),le=Ps(xe=>{var Re;if(!r||!p||!m||xe.key!=="Escape"||ae.current)return;const Le=(Re=u.current.floatingContext)==null?void 0:Re.nodeId,Z=D?_d(D.nodesRef.current,Le):[];if(!j&&(xe.stopPropagation(),Z.length>0)){let ve=!0;if(Z.forEach(Y=>{var K;if((K=Y.context)!=null&&K.open&&!Y.context.dataRef.current.__escapeKeyBubbles){ve=!1;return}}),!ve)return}i(!1,CC(xe)?xe.nativeEvent:xe,"escape-key")}),ye=Ps(xe=>{var Re;const Le=()=>{var Z;le(xe),(Z=Xl(xe))==null||Z.removeEventListener("keydown",Le)};(Re=Xl(xe))==null||Re.addEventListener("keydown",Le)}),De=Ps(xe=>{var Re;const Le=u.current.insideReactTree;u.current.insideReactTree=!1;const Z=U.current;if(U.current=!1,v==="click"&&Z||Le||typeof O=="function"&&!O(xe))return;const ve=Xl(xe),Y="["+UC("inert")+"]",K=jm(a.floating).querySelectorAll(Y);let fe=ht(ve)?ve:null;for(;fe&&!uo(fe);){const ce=ho(fe);if(uo(ce)||!ht(ce))break;fe=ce}if(K.length&&ht(ve)&&!EC(ve)&&!$m(ve,a.floating)&&Array.from(K).every(ce=>!$m(fe,ce)))return;if(ar(ve)&&ze){const ce=uo(ve),ue=Bn(ve),Ee=/auto|scroll/,Se=ce||Ee.test(ue.overflowX),Pe=ce||Ee.test(ue.overflowY),Be=Se&&ve.clientWidth>0&&ve.scrollWidth>ve.clientWidth,se=Pe&&ve.clientHeight>0&&ve.scrollHeight>ve.clientHeight,We=ue.direction==="rtl",ot=se&&(We?xe.offsetX<=ve.offsetWidth-ve.clientWidth:xe.offsetX>ve.clientWidth),Nt=Be&&xe.offsetY>ve.clientHeight;if(ot||Nt)return}const te=(Re=u.current.floatingContext)==null?void 0:Re.nodeId,he=D&&_d(D.nodesRef.current,te).some(ce=>{var ue;return Dd(xe,(ue=ce.context)==null?void 0:ue.elements.floating)});if(Dd(xe,a.floating)||Dd(xe,a.domReference)||he)return;const me=D?_d(D.nodesRef.current,te):[];if(me.length>0){let ce=!0;if(me.forEach(ue=>{var Ee;if((Ee=ue.context)!=null&&Ee.open&&!ue.context.dataRef.current.__outsidePressBubbles){ce=!1;return}}),!ce)return}i(!1,xe,"outside-press")}),Fe=Ps(xe=>{var Re;const Le=()=>{var Z;De(xe),(Z=Xl(xe))==null||Z.removeEventListener(v,Le)};(Re=Xl(xe))==null||Re.addEventListener(v,Le)});pe.useEffect(()=>{if(!r||!p)return;u.current.__escapeKeyBubbles=j,u.current.__outsidePressBubbles=V;let xe=-1;function Re(K){i(!1,K,"ancestor-scroll")}function Le(){window.clearTimeout(xe),ae.current=!0}function Z(){xe=window.setTimeout(()=>{ae.current=!1},Ju()?5:0)}const ve=jm(a.floating);m&&(ve.addEventListener("keydown",$?ye:le,$),ve.addEventListener("compositionstart",Le),ve.addEventListener("compositionend",Z)),O&&ve.addEventListener(v,J?Fe:De,J);let Y=[];return F&&(ht(a.domReference)&&(Y=Ms(a.domReference)),ht(a.floating)&&(Y=Y.concat(Ms(a.floating))),!ht(a.reference)&&a.reference&&a.reference.contextElement&&(Y=Y.concat(Ms(a.reference.contextElement)))),Y=Y.filter(K=>{var fe;return K!==((fe=ve.defaultView)==null?void 0:fe.visualViewport)}),Y.forEach(K=>{K.addEventListener("scroll",Re,{passive:!0})}),()=>{m&&(ve.removeEventListener("keydown",$?ye:le,$),ve.removeEventListener("compositionstart",Le),ve.removeEventListener("compositionend",Z)),O&&ve.removeEventListener(v,J?Fe:De,J),Y.forEach(K=>{K.removeEventListener("scroll",Re)}),window.clearTimeout(xe)}},[u,a,m,O,v,r,i,F,p,j,V,le,$,ye,De,J,Fe]),pe.useEffect(()=>{u.current.insideReactTree=!1},[u,O,v]);const $e=pe.useMemo(()=>({onKeyDown:le,...C&&{[WC[x]]:xe=>{i(!1,xe.nativeEvent,"reference-press")},...x!=="click"&&{onClick(xe){i(!1,xe.nativeEvent,"reference-press")}}}}),[le,i,C,x]),ze=pe.useMemo(()=>({onKeyDown:le,onMouseDown(){U.current=!0},onMouseUp(){U.current=!0},[VC[v]]:()=>{u.current.insideReactTree=!0},onBlurCapture(){D||(HC(ne),u.current.insideReactTree=!0,ne.current=window.setTimeout(()=>{u.current.insideReactTree=!1}))}}),[le,v,u,D]);return pe.useMemo(()=>p?{reference:$e,floating:ze}:{},[p,$e,ze])}function YC(e){const{open:t=!1,onOpenChange:r,elements:i}=e,a=LC(),u=pe.useRef({}),[p]=pe.useState(()=>jC()),m=BC()!=null;if(process.env.NODE_ENV!=="production"){const I=i.reference;I&&!ht(I)&&$C("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[h,v]=pe.useState(i.reference),C=Ps((I,L,D)=>{u.current.openEvent=I?L:void 0,p.emit("openchange",{open:I,event:L,reason:D,nested:m}),r==null||r(I,L,D)}),x=pe.useMemo(()=>({setPositionReference:v}),[]),F=pe.useMemo(()=>({reference:h||i.reference||null,floating:i.floating||null,domReference:i.reference}),[h,i.reference,i.floating]);return pe.useMemo(()=>({dataRef:u,open:t,onOpenChange:C,elements:F,events:p,floatingId:a,refs:x}),[t,C,F,p,a,x])}function XC(e){e===void 0&&(e={});const{nodeId:t}=e,r=YC({...e,elements:{reference:null,floating:null,...e.elements}}),i=e.rootContext||r,a=i.elements,[u,p]=pe.useState(null),[m,h]=pe.useState(null),C=(a==null?void 0:a.domReference)||u,x=pe.useRef(null),F=My();Fp(()=>{C&&(x.current=C)},[C]);const I=Bx({...e,elements:{...a,...m&&{reference:m}}}),L=pe.useCallback(j=>{const V=ht(j)?{getBoundingClientRect:()=>j.getBoundingClientRect(),getClientRects:()=>j.getClientRects(),contextElement:j}:j;h(V),I.refs.setReference(V)},[I.refs]),D=pe.useCallback(j=>{(ht(j)||j===null)&&(x.current=j,p(j)),(ht(I.refs.reference.current)||I.refs.reference.current===null||j!==null&&!ht(j))&&I.refs.setReference(j)},[I.refs]),T=pe.useMemo(()=>({...I.refs,setReference:D,setPositionReference:L,domReference:x}),[I.refs,D,L]),O=pe.useMemo(()=>({...I.elements,domReference:C}),[I.elements,C]),U=pe.useMemo(()=>({...I,...i,refs:T,elements:O,nodeId:t}),[I,T,O,t,i]);return Fp(()=>{i.dataRef.current.floatingContext=U;const j=F==null?void 0:F.nodesRef.current.find(V=>V.id===t);j&&(j.context=U)}),pe.useMemo(()=>({...I,context:U,refs:T,elements:O}),[I,T,O,U])}function Ld(e,t,r){const i=new Map,a=r==="item";let u=e;if(a&&e){const{[Nm]:p,[zm]:m,...h}=e;u=h}return{...r==="floating"&&{tabIndex:-1,[IC]:""},...u,...t.map(p=>{const m=p?p[r]:null;return typeof m=="function"?e?m(e):null:m}).concat(e).reduce((p,m)=>(m&&Object.entries(m).forEach(h=>{let[v,C]=h;if(!(a&&[Nm,zm].includes(v)))if(v.indexOf("on")===0){if(i.has(v)||i.set(v,[]),typeof C=="function"){var x;(x=i.get(v))==null||x.push(C),p[v]=function(){for(var F,I=arguments.length,L=new Array(I),D=0;D<I;D++)L[D]=arguments[D];return(F=i.get(v))==null?void 0:F.map(T=>T(...L)).find(T=>T!==void 0)}}}else p[v]=C}),p),{})}}function QC(e){e===void 0&&(e=[]);const t=e.map(m=>m==null?void 0:m.reference),r=e.map(m=>m==null?void 0:m.floating),i=e.map(m=>m==null?void 0:m.item),a=pe.useCallback(m=>Ld(m,e,"reference"),t),u=pe.useCallback(m=>Ld(m,e,"floating"),r),p=pe.useCallback(m=>Ld(m,e,"item"),i);return pe.useMemo(()=>({getReferenceProps:a,getFloatingProps:u,getItemProps:p}),[a,u,p])}const qC={white:"bg-white text-dark-300 border border-gray-300",primary:"bg-primary-600",secondary:"bg-secondary-500",success:"bg-success-600",info:"bg-info-500",warning:"bg-warning-500 text-gray-800",danger:"bg-danger-500",steel:"bg-steel-500",orange:"bg-orange-500",purple:"bg-purple-500",grayDark:"bg-gray-900",grayLight:"bg-gray-100 text-gray-800"},KC={white:"text-white border border-white",primary:"text-primary-600 border border-primary-600",secondary:"text-secondary-500 border border-secondary-500",success:"text-success-600 border border-success-600",info:"text-info-500 border border-info-500",warning:"text-warning-500 border border-warning-500",danger:"text-danger-500 border border-danger-500",steel:"text-steel-500 border border-steel-500",orange:"text-orange-500 border border-orange-500",purple:"text-purple-500 border border-purple-500",grayDark:"text-gray-700 border border-gray-700",grayLight:"text-gray-500 border border-gray-100"},JC={white:"text-dark-300",primary:"text-white",secondary:"text-white",success:"text-white",info:"text-black",warning:"text-gray-800",danger:"text-white",steel:"text-white",orange:"text-black",purple:"text-white",grayDark:"text-white",grayLight:"text-gray-800"},ZC={normal:"rounded",pill:"rounded-pill"},eT={big:"h-[24px] leading-[24px] text-md px-1",medium:"h-[22px] leading-[22px] text-sm px-[2px]",small:"h-[18px] leading-[18px] text-xs px-[2px]"},Dy=({category:e="solid",color:t="primary",roundness:r="normal",size:i="medium",textClassName:a="uppercase",children:u,className:p,...m})=>{const h=A.useMemo(()=>JC[t]??"text-white",[t]),v=A.useMemo(()=>Fs(h,e==="outline"?KC[t]:qC[t],ZC[r],eT[i]),[h,e,t,i,r]);return q.jsx("div",{className:Fs("ui-badge flex items-center font-bold",v,p),style:m==null?void 0:m.style,"data-testid":"badge","data-category":e,"data-color":t,...m,children:q.jsx("p",{className:Fs("mx-1",a),children:u})})},tT={default:"text-secondary-600 border-secondary-600",primary:"text-primary-600 border-primary-600",success:"text-success-600 border-success-600"},nT=({transition:e,onClick:t})=>q.jsxs("div",{className:"py-1 px-3 space-x-2 flex items-center hover:bg-gray-100 cursor-pointer",onClick:r=>{r.stopPropagation(),t()},children:[q.jsx("span",{className:"text-base text-dark flex-1",children:e.action}),q.jsx(Si,{icon:ak,className:"text-gray-400 size-4"}),q.jsx(Dy,{category:"outline",color:e.color,children:e.to})]}),rT=({title:e,variant:t="default",transitions:r,onClick:i})=>{const[a,u]=A.useState(!1),{refs:p,floatingStyles:m,context:h}=XC({strategy:"fixed",placement:"bottom-end",open:a,onOpenChange:u}),v=GC(h,{outsidePress:!0}),{getReferenceProps:C,getFloatingProps:x}=QC([v]);return q.jsxs(q.Fragment,{children:[q.jsxs("div",{onClick:r!=null&&r.length?()=>u(F=>!F):void 0,ref:p.setReference,className:wt("px-1 uppercase border rounded-sm flex items-center space-x-1",r.length?"cursor-pointer":"pointer-events-none",tT[t]),...C(),children:[q.jsx("span",{className:"text-sm font-bold",children:e}),r.length>0?q.jsx(Si,{icon:Qv,className:"size-4"}):q.jsx(q.Fragment,{})]}),a&&r.length&&q.jsx("div",{ref:p.setFloating,style:m,className:wt("border border-gray-200 py-1.5 rounded-sm min-w-[172px] bg-white shadow-dark/50"),...x(),children:r.map((F,I)=>q.jsx(nT,{transition:F,onClick:()=>{i==null||i(F.id),u(!1)}},I))})]})},Wm=({description:e})=>{const t=A.useMemo(()=>{const r=/https:\/\/[^/]+\/api\/files/g,i=e==null?void 0:e.replaceAll(r,`${_h}`),a=i==null?void 0:i.replaceAll('src="/api/files',`src="${_h}`),m=new DOMParser().parseFromString(a,"text/html").querySelectorAll("img");return m==null||m.forEach(h=>{const v=h.getAttribute("src");v&&(new Image().src=v)}),a},[e]);return A.useEffect(()=>{},[t]),q.jsx("div",{className:"flex flex-col gap-4",children:q.jsx("div",{style:{display:"unset"},className:"lexical-view-mode",dangerouslySetInnerHTML:{__html:t}})})},oT={SEQUENTIAL:"Sequential"},iT={[ut.IN_REVIEW]:"In Review"},aT={[ut.OPEN]:"bg-secondary-500",[ut.IN_PROGRESS]:"bg-primary-600",[ut.IN_REVIEW]:"bg-success-600",[ut.COMPLETED]:"bg-success-600"},sT=({playbookType:e,status:t,step:r,isSelected:i,onSelect:a})=>q.jsx("div",{className:lc("flex flex-col items-center justify-center",i?"bg-[#FFE600]":aT[t],a&&"cursor-pointer"),onClick:u=>{u.stopPropagation(),a==null||a(u.shiftKey)},children:q.jsx("span",{className:lc("text-orientation-mixed w-[27px] flex items-center whitespace-nowrap px-2 text-sm font-bold [writing-mode:vertical-lr]",i?"text-black":"text-white"),children:e===oT.SEQUENTIAL?`STEP ${r}`:(iT[t]||t).toUpperCase()})}),lT={[ut.OPEN]:"secondary",[ut.IN_PROGRESS]:"primary",[ut.IN_REVIEW]:"success",[ut.COMPLETED]:"success"},cT=({status:e})=>q.jsx(Dy,{category:"outline",color:lT[e],children:e}),uT={[ut.OPEN]:"border-[#C1C5C8] bg-[#F0F1F2]",[ut.IN_PROGRESS]:"bg-[#E6F2FF] border-[#94C8FF]",[ut.IN_REVIEW]:"bg-[#EAF6EC] border-[#A5DAB1]",[ut.COMPLETED]:"bg-[#EAF6EC] border-[#A5DAB1]"},$d={PHOTO:"photo",SCREENSHOT:"screenshot"},fT=({task:e,step:t,playbookType:r,onButtonClick:i,viewMode:a="card",canStart:u=!1,isExpanded:p=!1,toggleExpanded:m,playbookId:h,taskStyle:v,listStickyTopBase:C})=>{const[x,F]=A.useState(!1),{taskDetails:I,prefetchQuery:L}=SC({taskId:e.taskId,playbookId:h,enabled:p}),{buttons:D}=Kb({taskStatus:e.workflowStatus,canStart:u}),T=A.useMemo(()=>e.imageRequired===0?null:e.imageRequired===1?$d.SCREENSHOT:e.imageRequired===2?$d.PHOTO:null,[e.imageRequired]),O=async U=>{try{F(!0),await i(U)}finally{F(!1)}};if(a==="list"){const U=A.useMemo(()=>e.workflowStatus===ut.COMPLETED?"success":e.workflowStatus===ut.IN_PROGRESS?"primary":"default",[e.workflowStatus]),j=A.useMemo(()=>{const V=[];return D.forEach($=>{$==="START"&&V.push({id:"START",color:"primary",action:"Start",to:ut.IN_PROGRESS}),$==="COMPLETE"&&V.push({id:"COMPLETE",color:"success",action:"Complete",to:ut.COMPLETED})}),V},[D]);return q.jsxs("div",{className:wt("flex flex-col"),children:[q.jsxs("div",{className:wt("flex gap-3 p-2 border-gray-200",e.sequenceOrder>0&&"border-t",p&&"bg-white rounded-md border border-t-none shadow-sm sticky"),style:{top:p?C:0},children:[q.jsx("div",{className:"text-gray-200 text-base",children:e.sequenceOrder+1}),q.jsx("div",{onClick:()=>{m==null||m(!p)},onMouseOver:L,className:wt("flex-1 truncate cursor-pointer",p&&"font-medium",e.workflowStatus===ut.COMPLETED&&"text-secondary-400 line-through"),style:{color:e.workflowStatus===ut.IN_PROGRESS&&(v==null?void 0:v.titleColor)||"#1C232D"},children:e.taskInstanceName}),q.jsx(rT,{title:e.workflowStatus,variant:U,transitions:j,onClick:V=>{i(V)}})]}),(I==null?void 0:I.description)&&q.jsx("div",{className:wt(!p&&"hidden","border-gray-200 border p-2 mx-4 mb-4 border-t-none -mt-[1px] bg-gray-100 rounded-b-md"),children:q.jsx(Wm,{description:(I==null?void 0:I.description)||""})})]})}return q.jsxs("div",{className:lc("flex items-stretch rounded-sm overflow-hidden border",uT[e.workflowStatus]),children:[q.jsx(sT,{playbookType:r,status:e.workflowStatus,step:t}),q.jsxs("div",{className:"flex w-full flex-col overflow-x-hidden flex-1 p-2",children:[r==="Sequential"&&q.jsx("div",{className:"-mb-3 self-end pr-2 pt-2",children:q.jsx(cT,{status:e.workflowStatus})}),q.jsxs("div",{className:"space-y-2 divide-y divide-black/10 flex flex-col flex-1",children:[q.jsx("div",{className:wt("text-lg font-medium flex-1 pb-1"),style:{color:e.workflowStatus==="Completed"?"#1C232D":(v==null?void 0:v.titleColor)||"#1C232D"},children:e.taskInstanceName}),T?q.jsxs("div",{className:"flex items-center gap-2 text-sm pb-2",children:[q.jsx(Si,{icon:ik,className:"size-4"}),q.jsxs("div",{children:[q.jsx("span",{className:"font-medium",children:T===$d.PHOTO?"Photo":"Screenshot"})," ","required"]})]}):q.jsx(q.Fragment,{})]}),(I==null?void 0:I.description)&&q.jsx("div",{className:wt(!p&&"hidden"),children:q.jsx(Wm,{description:(I==null?void 0:I.description)||""})}),(D.length>0||e.hasDescription)&&q.jsxs("div",{className:"flex items-center justify-end gap-4 border-t border-black/10 pt-2",children:[q.jsx("div",{className:"flex-1",children:q.jsx(kC,{buttons:D,onButtonClick:O,disabled:x})}),m&&q.jsx(fc,{size:"smallCollapse",onMouseOver:L,category:"link",onClick:()=>{m()},title:p?"Hide task description":"Show task description",children:q.jsx(Si,{icon:Qv,className:lc("cursor-pointer text-[#0069D9]",p?"rotate-180":"")})})]})]})]})},_y=A.forwardRef(({title:e,className:t,playbookStyle:r,...i},a)=>{var u,p;return q.jsx("div",{ref:a,className:wt("border-b border-gray-200 flex items-center",t),style:{backgroundColor:((u=r==null?void 0:r.whiteLabel)==null?void 0:u.titleBackgroundColor)||"#f8f9fa"},...i,children:q.jsx("div",{className:"text-xl min-h-16 p-4",style:{color:(p=r==null?void 0:r.whiteLabel)==null?void 0:p.titleTextColor},children:e})})});_y.displayName="PlaybookHeader";const Cc=({children:e})=>q.jsx("div",{className:"confidence-ui",style:{display:"unset"},children:e}),dT='/*! tailwindcss v4.1.4 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-500:oklch(63.7% .237 25.331);--spacing:.25rem;--container-md:28rem;--container-lg:32rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--font-weight-normal:400;--font-weight-medium:500;--font-weight-bold:700;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer custom-base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer custom-components{:is(.confidence-ui,.confidence-ui *) .lexical-view-mode{word-break:break-word!important;width:100%!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul{list-style:revert!important}:is(.confidence-ui,.confidence-ui *) .editable .lexical-view-mode:hover{cursor:text!important;background-color:#00000012!important;border-radius:1px!important;outline:4px solid #00000012!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .Collapsible__container{width:fit-content!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .Collapsible__title{color:#007bff!important;cursor:pointer!important;background-color:#0000!important;align-items:center!important;margin-bottom:4px!important;padding:0!important;list-style:none!important;display:flex!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .Collapsible__title:hover{color:#0069d9!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .Collapsible__title:hover .editor-paragraph{text-decoration:underline!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .Collapsible__title::marker{display:none!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .Collapsible__title::-webkit-details-marker{display:none!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .Collapsible__title:before{content:""!important;-moz-osx-font-smoothing:grayscale!important;-webkit-font-smoothing:antialiased!important;display:var(--fa-display,inline-block)!important;font-variant:normal!important;text-rendering:auto!important;background:#fff!important;border-radius:30px!important;margin-right:4px!important;font-family:"Font Awesome 5 Pro"!important;font-style:normal!important;font-weight:900!important;line-height:1!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .Collapsible__title:hover:before{color:#0069d9!important;border:3px solid #fff!important;margin-left:-3px!important;margin-right:1px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode hr{border:none!important;margin:5px 0!important;padding:3px 0!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode hr:after{content:""!important;background-color:#0000001a!important;height:2px!important;line-height:2px!important;display:block!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-line-spacer{background:0 0!important;border:1px dashed #0000!important;line-height:6px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .other h2{margin-bottom:7px;color:#444!important;font-size:18px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .other a{font-size:14px;color:#777!important;text-decoration:underline!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .other ul{list-style-type:none;margin:0!important;padding:0!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ltr{text-align:left}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .rtl{text-align:right}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-shell{color:#1c232d!important;border-radius:4px!important;width:100%!important;font-weight:400!important;position:relative!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor{position:relative;background:#fff!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-input{caret-color:#444;resize:none!important;-moz-tab-size:1!important;tab-size:1!important;outline:0!important;min-height:150px!important;padding:12px!important;position:relative!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-placeholder{pointer-events:none;color:#999!important;text-overflow:ellipsis!important;-webkit-user-select:none!important;user-select:none!important;font-size:15px!important;display:inline-block!important;position:absolute!important;top:15px!important;left:10px!important;overflow:hidden!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-text-bold,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode strong{font-weight:700!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-text-italic{font-style:italic}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-text-code{color:#d70c69;background-color:#0000001a!important;border-radius:4px!important;padding:1px .25rem!important;font-family:Menlo,Consolas,Monaco,monospace!important;font-size:85%!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-link{word-break:break-word;color:#007bff!important;cursor:pointer!important;background-color:#0000!important;text-decoration:underline!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-link:hover{color:#0062cc!important;text-decoration:underline!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-code,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode pre{word-break:break-word;-moz-tab-size:2!important;tab-size:2!important;background-color:#f0f2f5!important;border-radius:4px!important;margin:8px 0!important;padding:8px 8px 8px 52px!important;font-family:Menlo,Consolas,Monaco,monospace!important;font-size:13px!important;line-height:1.53!important;display:block!important;position:relative!important;overflow-x:auto!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-code:before{min-width:25px;content:attr(data-gutter)!important;color:#777!important;white-space:pre-wrap!important;text-align:right!important;background-color:#eee!important;border-right:1px solid #ccc!important;padding:8px!important;position:absolute!important;top:0!important;left:0!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode pre{white-space:pre-wrap!important;padding-left:8px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode pre:before{border-right:0!important;width:100%!important;height:23px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-code:after,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode pre:after{color:#00000080;content:attr(data-highlight-language)!important;text-transform:uppercase!important;padding:3px!important;font-size:10px!important;position:absolute!important;top:0!important;right:3px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-tokenComment{color:#708090}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-tokenPunctuation{color:#999}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-tokenProperty{color:#905}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-tokenSelector{color:#690}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-tokenOperator{color:#9a6e3a}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-tokenAttr{color:#07a}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-tokenVariable{color:#e90}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-tokenFunction{color:#dd4a68}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-paragraph,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode p{word-break:break-word;margin:0 0 .3rem!important;padding:0!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-paragraph:last-child{margin-bottom:0}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-heading-h1,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode h1{line-height:100%;border-bottom:thin solid #0000001a!important;margin-top:1.2em!important;margin-bottom:.6em!important;padding-bottom:6px!important;font-size:24px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-heading-h2:first-child,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-heading-h1:first-child,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode h2:first-child,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode h1:first-child{margin-top:0}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-heading-h2,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode h2{line-height:100%;border-bottom:thin solid #0000001a!important;margin-top:1.2em!important;margin-bottom:.6em!important;padding-bottom:6px!important;font-size:20px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol{margin:0 0 .3rem 15px!important;padding:0 0 0 15px!important;list-style-type:decimal!important;list-style-position:outside!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode li ol{margin:0 0 0 20px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol2,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol3,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol4,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol5,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol6,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol7{list-style-position:outside;padding:0!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol2{list-style-type:lower-alpha}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol3{list-style-type:lower-roman}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol4{list-style-type:decimal}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol5{list-style-type:lower-alpha}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol6{list-style-type:lower-roman}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol7{list-style-type:decimal}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ul,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul{margin-bottom:.3rem;margin:0 0 0 15px!important;padding:0 0 0 5px!important;list-style-position:outside!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode li ul{margin:0 0 0 15px!important;padding:0 0 0 3px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-item{padding-left:0;vertical-align:top!important;margin-bottom:12px!important;line-height:1.3!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-nested-list-item{list-style-type:none}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode code{color:inherit!important;word-wrap:break-word!important;white-space:break-spaces!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode a>code{color:inherit}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode pre::-webkit-scrollbar{width:10px;background:0 0!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode pre::-webkit-scrollbar-thumb{background:#999}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode img{cursor:zoom-in!important;border:1px solid #ccc!important;border-radius:4px!important;width:auto!important;max-width:250px!important;height:auto!important;max-height:250px!important;display:block!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode img:hover,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode img:focus{outline:3px solid #007bff4d}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode iframe{background:#000!important;border:1px solid #ccc!important;width:fit-content!important;max-width:100%!important;height:fit-content!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-align-left{text-align:left!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-align-right{text-align:right!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-align-center{text-align:center!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-align-justify{text-align:justify!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-size-small{font-size:.75em!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode p>a,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode li>a{color:#007bff!important;cursor:pointer!important;background-color:#0000!important;text-decoration:underline!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode p>a:hover,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode li>a:hover{color:#0062cc!important;text-decoration:underline!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-size-large{font-size:1.25rem!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-indent-1{margin-left:20px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-indent-2{margin-left:40px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-indent-3{margin-left:60px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-indent-4{margin-left:80px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-indent-5{margin-left:100px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-indent-6{margin-left:120px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-indent-7{margin-left:140px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-indent-8{margin-left:160px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-1,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-2,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-3,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-4,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-5,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-6,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-7,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-8,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-1,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-2,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-3,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-4,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-5,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-6,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-7,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-8{margin-bottom:.3em!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9!important;counter-increment:list-1!important;margin-left:0!important;list-style-type:none!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-1::marker{display:none}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-1:before{content:counter(list-1,lower-alpha)". "!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9!important;counter-increment:list-2!important;margin-left:20px!important;list-style-type:none!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-2::marker{display:none}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-2:before{content:counter(list-2,lower-roman)". "!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9!important;counter-increment:list-3!important;margin-left:40px!important;list-style-type:none!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-3::marker{display:none}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-3:before{content:counter(list-3,decimal)". "!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9!important;counter-increment:list-4!important;margin-left:60px!important;list-style-type:none!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-4::marker{display:none}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-4:before{content:counter(list-4,lower-alpha)". "!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9!important;counter-increment:list-5!important;margin-left:80px!important;list-style-type:none!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-5::marker{display:none}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-5:before{content:counter(list-5,lower-roman)". "!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-6{counter-reset:list-7 list-8 list-9!important;counter-increment:list-6!important;margin-left:100px!important;list-style-type:none!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-6::marker{display:none}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-6:before{content:counter(list-6,decimal)". "!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-7{counter-reset:list-8 list-9!important;counter-increment:list-7!important;margin-left:120px!important;list-style-type:none!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-7::marker{display:none}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-7:before{content:counter(list-7,lower-alpha)". "!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-8{counter-reset:list-9!important;counter-increment:list-8!important;margin-left:140px!important;list-style-type:none!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-8::marker{display:none}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-8:before{content:counter(list-8,lower-roman)". "!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-3,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-6{list-style-type:disc}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-1,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-4,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-7{list-style-type:circle}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-2,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-5,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-8{list-style-type:square}}@layer custom-utilities{:is(.confidence-ui,.confidence-ui *) .pointer-events-none{pointer-events:none!important}:is(.confidence-ui,.confidence-ui *) .absolute{position:absolute!important}:is(.confidence-ui,.confidence-ui *) .fixed{position:fixed!important}:is(.confidence-ui,.confidence-ui *) .relative{position:relative!important}:is(.confidence-ui,.confidence-ui *) .sticky{position:sticky!important}:is(.confidence-ui,.confidence-ui *) .inset-0{inset:calc(var(--spacing)*0)!important}:is(.confidence-ui,.confidence-ui *) .top-0{top:calc(var(--spacing)*0)!important}:is(.confidence-ui,.confidence-ui *) .top-3{top:calc(var(--spacing)*3)!important}:is(.confidence-ui,.confidence-ui *) .bottom-0{bottom:calc(var(--spacing)*0)!important}:is(.confidence-ui,.confidence-ui *) .z-2{z-index:2!important}:is(.confidence-ui,.confidence-ui *) .z-50{z-index:50!important}:is(.confidence-ui,.confidence-ui *) .z-\\[99999999999999\\]{z-index:2147483647!important}:is(.confidence-ui,.confidence-ui *) .container{width:100%!important}@media (min-width:40rem){:is(.confidence-ui,.confidence-ui *) .container{max-width:40rem!important}}@media (min-width:48rem){:is(.confidence-ui,.confidence-ui *) .container{max-width:48rem!important}}@media (min-width:64rem){:is(.confidence-ui,.confidence-ui *) .container{max-width:64rem!important}}@media (min-width:80rem){:is(.confidence-ui,.confidence-ui *) .container{max-width:80rem!important}}@media (min-width:96rem){:is(.confidence-ui,.confidence-ui *) .container{max-width:96rem!important}}:is(.confidence-ui,.confidence-ui *) .mx-1{margin-inline:calc(var(--spacing)*1)!important}:is(.confidence-ui,.confidence-ui *) .mx-4{margin-inline:calc(var(--spacing)*4)!important}:is(.confidence-ui,.confidence-ui *) .-mt-\\[1px\\]{margin-top:-1px!important}:is(.confidence-ui,.confidence-ui *) .mt-3{margin-top:calc(var(--spacing)*3)!important}:is(.confidence-ui,.confidence-ui *) .-mb-3{margin-bottom:calc(var(--spacing)*-3)!important}:is(.confidence-ui,.confidence-ui *) .mb-4{margin-bottom:calc(var(--spacing)*4)!important}:is(.confidence-ui,.confidence-ui *) .ml-2{margin-left:calc(var(--spacing)*2)!important}:is(.confidence-ui,.confidence-ui *) .block{display:block!important}:is(.confidence-ui,.confidence-ui *) .flex{display:flex!important}:is(.confidence-ui,.confidence-ui *) .hidden{display:none!important}:is(.confidence-ui,.confidence-ui *) .size-4{width:calc(var(--spacing)*4)!important;height:calc(var(--spacing)*4)!important}:is(.confidence-ui,.confidence-ui *) .size-9{width:calc(var(--spacing)*9)!important;height:calc(var(--spacing)*9)!important}:is(.confidence-ui,.confidence-ui *) .h-\\[18px\\]{height:18px!important}:is(.confidence-ui,.confidence-ui *) .h-\\[22px\\]{height:22px!important}:is(.confidence-ui,.confidence-ui *) .h-\\[24px\\]{height:24px!important}:is(.confidence-ui,.confidence-ui *) .h-\\[30px\\]{height:30px!important}:is(.confidence-ui,.confidence-ui *) .h-\\[38px\\]{height:38px!important}:is(.confidence-ui,.confidence-ui *) .h-\\[40px\\]{height:40px!important}:is(.confidence-ui,.confidence-ui *) .h-full{height:100%!important}:is(.confidence-ui,.confidence-ui *) .min-h-16{min-height:calc(var(--spacing)*16)!important}:is(.confidence-ui,.confidence-ui *) .min-h-screen{min-height:100vh!important}:is(.confidence-ui,.confidence-ui *) .w-\\[27px\\]{width:27px!important}:is(.confidence-ui,.confidence-ui *) .w-\\[38px\\]{width:38px!important}:is(.confidence-ui,.confidence-ui *) .w-\\[400px\\]{width:400px!important}:is(.confidence-ui,.confidence-ui *) .w-full{width:100%!important}:is(.confidence-ui,.confidence-ui *) .w-screen{width:100vw!important}:is(.confidence-ui,.confidence-ui *) .max-w-lg{max-width:var(--container-lg)!important}:is(.confidence-ui,.confidence-ui *) .max-w-md{max-width:var(--container-md)!important}:is(.confidence-ui,.confidence-ui *) .min-w-\\[106px\\]{min-width:106px!important}:is(.confidence-ui,.confidence-ui *) .min-w-\\[140px\\]{min-width:140px!important}:is(.confidence-ui,.confidence-ui *) .min-w-\\[160px\\]{min-width:160px!important}:is(.confidence-ui,.confidence-ui *) .min-w-\\[172px\\]{min-width:172px!important}:is(.confidence-ui,.confidence-ui *) .min-w-fit{min-width:fit-content!important}:is(.confidence-ui,.confidence-ui *) .flex-1{flex:1!important}:is(.confidence-ui,.confidence-ui *) .rotate-180{rotate:180deg!important}:is(.confidence-ui,.confidence-ui *) .cursor-pointer{cursor:pointer!important}:is(.confidence-ui,.confidence-ui *) .resize{resize:both!important}:is(.confidence-ui,.confidence-ui *) .flex-col{flex-direction:column!important}:is(.confidence-ui,.confidence-ui *) .items-center{align-items:center!important}:is(.confidence-ui,.confidence-ui *) .items-stretch{align-items:stretch!important}:is(.confidence-ui,.confidence-ui *) .justify-center{justify-content:center!important}:is(.confidence-ui,.confidence-ui *) .justify-end{justify-content:flex-end!important}:is(.confidence-ui,.confidence-ui *) .gap-1{gap:calc(var(--spacing)*1)!important}:is(.confidence-ui,.confidence-ui *) .gap-2{gap:calc(var(--spacing)*2)!important}:is(.confidence-ui,.confidence-ui *) .gap-3{gap:calc(var(--spacing)*3)!important}:is(.confidence-ui,.confidence-ui *) .gap-4{gap:calc(var(--spacing)*4)!important}:where(:is(.confidence-ui,.confidence-ui *) .space-y-2>:not(:last-child)){--tw-space-y-reverse:0!important;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse))!important;margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))!important}:where(:is(.confidence-ui,.confidence-ui *) .space-y-4>:not(:last-child)){--tw-space-y-reverse:0!important;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse))!important;margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))!important}:where(:is(.confidence-ui,.confidence-ui *) .space-x-1>:not(:last-child)){--tw-space-x-reverse:0!important;margin-inline-start:calc(calc(var(--spacing)*1)*var(--tw-space-x-reverse))!important;margin-inline-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-x-reverse)))!important}:where(:is(.confidence-ui,.confidence-ui *) .space-x-2>:not(:last-child)){--tw-space-x-reverse:0!important;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse))!important;margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))!important}:where(:is(.confidence-ui,.confidence-ui *) .divide-y>:not(:last-child)){--tw-divide-y-reverse:0!important;border-bottom-style:var(--tw-border-style)!important;border-top-style:var(--tw-border-style)!important;border-top-width:calc(1px*var(--tw-divide-y-reverse))!important;border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))!important}:where(:is(.confidence-ui,.confidence-ui *) .divide-black\\/10>:not(:last-child)){border-color:oklab(0% none none/.1) oklab(0% none none/.1) oklab(0% none none/.1) oklab(0% none none/.1)!important}:where(:is(.confidence-ui,.confidence-ui *) .divide-gray-100>:not(:last-child)){border-color:#ebedef!important}:is(.confidence-ui,.confidence-ui *) .self-end{align-self:flex-end!important}:is(.confidence-ui,.confidence-ui *) .truncate{text-overflow:ellipsis!important;white-space:nowrap!important;overflow:hidden!important}:is(.confidence-ui,.confidence-ui *) .overflow-hidden{overflow:hidden!important}:is(.confidence-ui,.confidence-ui *) .overflow-x-hidden{overflow-x:hidden!important}:is(.confidence-ui,.confidence-ui *) .overflow-y-auto{overflow-y:auto!important}:is(.confidence-ui,.confidence-ui *) .rounded{border-radius:.25rem!important}:is(.confidence-ui,.confidence-ui *) .rounded-lg{border-radius:var(--radius-lg)!important}:is(.confidence-ui,.confidence-ui *) .rounded-md{border-radius:var(--radius-md)!important}:is(.confidence-ui,.confidence-ui *) .rounded-sm{border-radius:var(--radius-sm)!important}:is(.confidence-ui,.confidence-ui *) .rounded-t-sm{border-top-left-radius:var(--radius-sm)!important;border-top-right-radius:var(--radius-sm)!important}:is(.confidence-ui,.confidence-ui *) .rounded-l-sm{border-top-left-radius:var(--radius-sm)!important;border-bottom-left-radius:var(--radius-sm)!important}:is(.confidence-ui,.confidence-ui *) .rounded-b-md{border-bottom-right-radius:var(--radius-md)!important;border-bottom-left-radius:var(--radius-md)!important}:is(.confidence-ui,.confidence-ui *) .border{border-style:var(--tw-border-style)!important;border-width:1px!important}:is(.confidence-ui,.confidence-ui *) .border-t{border-top-style:var(--tw-border-style)!important;border-top-width:1px!important}:is(.confidence-ui,.confidence-ui *) .border-b{border-bottom-style:var(--tw-border-style)!important;border-bottom-width:1px!important}:is(.confidence-ui,.confidence-ui *) .border-none{--tw-border-style:none!important;border-style:none!important}:is(.confidence-ui,.confidence-ui *) .border-\\[\\#94C8FF\\]{border-color:#94c8ff!important}:is(.confidence-ui,.confidence-ui *) .border-\\[\\#A5DAB1\\]{border-color:#a5dab1!important}:is(.confidence-ui,.confidence-ui *) .border-\\[\\#C1C5C8\\]{border-color:#c1c5c8!important}:is(.confidence-ui,.confidence-ui *) .border-black\\/10{border-color:oklab(0% none none/.1) oklab(0% none none/.1) oklab(0% none none/.1) oklab(0% none none/.1)!important}:is(.confidence-ui,.confidence-ui *) .border-danger-500{border-color:#dc3545!important}:is(.confidence-ui,.confidence-ui *) .border-gray-50{border-color:#f5f6f7!important}:is(.confidence-ui,.confidence-ui *) .border-gray-100{border-color:#ebedef!important}:is(.confidence-ui,.confidence-ui *) .border-gray-200{border-color:#ced1d6!important}:is(.confidence-ui,.confidence-ui *) .border-gray-300{border-color:#b0b5bd!important}:is(.confidence-ui,.confidence-ui *) .border-gray-400{border-color:#757e8c!important}:is(.confidence-ui,.confidence-ui *) .border-gray-700{border-color:#2c3544!important}:is(.confidence-ui,.confidence-ui *) .border-gray-800{border-color:#232b37!important}:is(.confidence-ui,.confidence-ui *) .border-info-500{border-color:#17a2b8!important}:is(.confidence-ui,.confidence-ui *) .border-orange-500{border-color:#ff7800!important}:is(.confidence-ui,.confidence-ui *) .border-primary-600{border-color:#0069d9!important}:is(.confidence-ui,.confidence-ui *) .border-purple-500{border-color:#a855f7!important}:is(.confidence-ui,.confidence-ui *) .border-red-500{border-color:var(--color-red-500)!important}:is(.confidence-ui,.confidence-ui *) .border-secondary-500{border-color:#6c757d!important}:is(.confidence-ui,.confidence-ui *) .border-secondary-600{border-color:#5a6268!important}:is(.confidence-ui,.confidence-ui *) .border-steel-500{border-color:#556987!important}:is(.confidence-ui,.confidence-ui *) .border-success-600{border-color:#218838!important}:is(.confidence-ui,.confidence-ui *) .border-warning-500{border-color:#ffc107!important}:is(.confidence-ui,.confidence-ui *) .border-white{border-color:#fff!important}:is(.confidence-ui,.confidence-ui *) .bg-\\[\\#E6F2FF\\]{background-color:#e6f2ff!important}:is(.confidence-ui,.confidence-ui *) .bg-\\[\\#EAF6EC\\]{background-color:#eaf6ec!important}:is(.confidence-ui,.confidence-ui *) .bg-\\[\\#F0F1F2\\]{background-color:#f0f1f2!important}:is(.confidence-ui,.confidence-ui *) .bg-\\[\\#FFE600\\]{background-color:#ffe600!important}:is(.confidence-ui,.confidence-ui *) .bg-black\\/30{background-color:oklab(0% none none/.3)!important}:is(.confidence-ui,.confidence-ui *) .bg-danger-500{background-color:#dc3545!important}:is(.confidence-ui,.confidence-ui *) .bg-dark{background-color:#1c232d!important}:is(.confidence-ui,.confidence-ui *) .bg-fiserv-orange-500{background-color:#f60!important}:is(.confidence-ui,.confidence-ui *) .bg-gray-50{background-color:#f5f6f7!important}:is(.confidence-ui,.confidence-ui *) .bg-gray-100{background-color:#ebedef!important}:is(.confidence-ui,.confidence-ui *) .bg-gray-400{background-color:#757e8c!important}:is(.confidence-ui,.confidence-ui *) .bg-gray-500{background-color:#3a475b!important}:is(.confidence-ui,.confidence-ui *) .bg-gray-800{background-color:#232b37!important}:is(.confidence-ui,.confidence-ui *) .bg-gray-900{background-color:#1c232d!important}:is(.confidence-ui,.confidence-ui *) .bg-info-500{background-color:#17a2b8!important}:is(.confidence-ui,.confidence-ui *) .bg-orange-500{background-color:#ff7800!important}:is(.confidence-ui,.confidence-ui *) .bg-primary-600{background-color:#0069d9!important}:is(.confidence-ui,.confidence-ui *) .bg-primary-800{background-color:#0054af!important}:is(.confidence-ui,.confidence-ui *) .bg-purple-500{background-color:#a855f7!important}:is(.confidence-ui,.confidence-ui *) .bg-secondary-500{background-color:#6c757d!important}:is(.confidence-ui,.confidence-ui *) .bg-steel-500{background-color:#556987!important}:is(.confidence-ui,.confidence-ui *) .bg-success-500{background-color:#28a745!important}:is(.confidence-ui,.confidence-ui *) .bg-success-600{background-color:#218838!important}:is(.confidence-ui,.confidence-ui *) .bg-warning-500{background-color:#ffc107!important}:is(.confidence-ui,.confidence-ui *) .bg-white{background-color:#fff!important}:is(.confidence-ui,.confidence-ui *) .bg-yellow{background-color:#ffe600!important}:is(.confidence-ui,.confidence-ui *) .object-contain{object-fit:contain!important}:is(.confidence-ui,.confidence-ui *) .p-1{padding:calc(var(--spacing)*1)!important}:is(.confidence-ui,.confidence-ui *) .p-2{padding:calc(var(--spacing)*2)!important}:is(.confidence-ui,.confidence-ui *) .p-4{padding:calc(var(--spacing)*4)!important}:is(.confidence-ui,.confidence-ui *) .px-1{padding-inline:calc(var(--spacing)*1)!important}:is(.confidence-ui,.confidence-ui *) .px-2{padding-inline:calc(var(--spacing)*2)!important}:is(.confidence-ui,.confidence-ui *) .px-3{padding-inline:calc(var(--spacing)*3)!important}:is(.confidence-ui,.confidence-ui *) .px-4{padding-inline:calc(var(--spacing)*4)!important}:is(.confidence-ui,.confidence-ui *) .px-\\[2px\\]{padding-inline:2px!important}:is(.confidence-ui,.confidence-ui *) .py-1{padding-block:calc(var(--spacing)*1)!important}:is(.confidence-ui,.confidence-ui *) .py-1\\.5{padding-block:calc(var(--spacing)*1.5)!important}:is(.confidence-ui,.confidence-ui *) .pt-2{padding-top:calc(var(--spacing)*2)!important}:is(.confidence-ui,.confidence-ui *) .pr-2{padding-right:calc(var(--spacing)*2)!important}:is(.confidence-ui,.confidence-ui *) .pb-1{padding-bottom:calc(var(--spacing)*1)!important}:is(.confidence-ui,.confidence-ui *) .pb-2{padding-bottom:calc(var(--spacing)*2)!important}:is(.confidence-ui,.confidence-ui *) .text-center{text-align:center!important}:is(.confidence-ui,.confidence-ui *) .text-2xl{font-size:var(--text-2xl)!important;line-height:var(--tw-leading,var(--text-2xl--line-height))!important}:is(.confidence-ui,.confidence-ui *) .text-base{font-size:var(--text-base)!important;line-height:var(--tw-leading,var(--text-base--line-height))!important}:is(.confidence-ui,.confidence-ui *) .text-lg{font-size:var(--text-lg)!important;line-height:var(--tw-leading,var(--text-lg--line-height))!important}:is(.confidence-ui,.confidence-ui *) .text-sm{font-size:var(--text-sm)!important;line-height:var(--tw-leading,var(--text-sm--line-height))!important}:is(.confidence-ui,.confidence-ui *) .text-sm\\/6{font-size:var(--text-sm)!important;line-height:calc(var(--spacing)*6)!important}:is(.confidence-ui,.confidence-ui *) .text-xl{font-size:var(--text-xl)!important;line-height:var(--tw-leading,var(--text-xl--line-height))!important}:is(.confidence-ui,.confidence-ui *) .text-xs{font-size:var(--text-xs)!important;line-height:var(--tw-leading,var(--text-xs--line-height))!important}:is(.confidence-ui,.confidence-ui *) .leading-\\[18px\\]{--tw-leading:18px!important;line-height:18px!important}:is(.confidence-ui,.confidence-ui *) .leading-\\[22px\\]{--tw-leading:22px!important;line-height:22px!important}:is(.confidence-ui,.confidence-ui *) .leading-\\[24px\\]{--tw-leading:24px!important;line-height:24px!important}:is(.confidence-ui,.confidence-ui *) .font-bold{--tw-font-weight:var(--font-weight-bold)!important;font-weight:var(--font-weight-bold)!important}:is(.confidence-ui,.confidence-ui *) .font-medium{--tw-font-weight:var(--font-weight-medium)!important;font-weight:var(--font-weight-medium)!important}:is(.confidence-ui,.confidence-ui *) .font-normal{--tw-font-weight:var(--font-weight-normal)!important;font-weight:var(--font-weight-normal)!important}:is(.confidence-ui,.confidence-ui *) .whitespace-nowrap{white-space:nowrap!important}:is(.confidence-ui,.confidence-ui *) .text-\\[\\#0069D9\\]{color:#0069d9!important}:is(.confidence-ui,.confidence-ui *) .text-black{color:#000!important}:is(.confidence-ui,.confidence-ui *) .text-danger-500{color:#dc3545!important}:is(.confidence-ui,.confidence-ui *) .text-dark{color:#1c232d!important}:is(.confidence-ui,.confidence-ui *) .text-dark-300{color:#343a40!important}:is(.confidence-ui,.confidence-ui *) .text-fiserv-orange-500{color:#f60!important}:is(.confidence-ui,.confidence-ui *) .text-gray-50{color:#f5f6f7!important}:is(.confidence-ui,.confidence-ui *) .text-gray-200{color:#ced1d6!important}:is(.confidence-ui,.confidence-ui *) .text-gray-400{color:#757e8c!important}:is(.confidence-ui,.confidence-ui *) .text-gray-500{color:#3a475b!important}:is(.confidence-ui,.confidence-ui *) .text-gray-700{color:#2c3544!important}:is(.confidence-ui,.confidence-ui *) .text-gray-800{color:#232b37!important}:is(.confidence-ui,.confidence-ui *) .text-gray-900{color:#1c232d!important}:is(.confidence-ui,.confidence-ui *) .text-info-500{color:#17a2b8!important}:is(.confidence-ui,.confidence-ui *) .text-orange-500{color:#ff7800!important}:is(.confidence-ui,.confidence-ui *) .text-primary-600{color:#0069d9!important}:is(.confidence-ui,.confidence-ui *) .text-purple-500{color:#a855f7!important}:is(.confidence-ui,.confidence-ui *) .text-secondary{color:#6c757d!important}:is(.confidence-ui,.confidence-ui *) .text-secondary-400{color:#899197!important}:is(.confidence-ui,.confidence-ui *) .text-secondary-500{color:#6c757d!important}:is(.confidence-ui,.confidence-ui *) .text-secondary-600{color:#5a6268!important}:is(.confidence-ui,.confidence-ui *) .text-steel-500{color:#556987!important}:is(.confidence-ui,.confidence-ui *) .text-success-500{color:#28a745!important}:is(.confidence-ui,.confidence-ui *) .text-success-600{color:#218838!important}:is(.confidence-ui,.confidence-ui *) .text-warning-500{color:#ffc107!important}:is(.confidence-ui,.confidence-ui *) .text-white{color:#fff!important}:is(.confidence-ui,.confidence-ui *) .text-yellow{color:#ffe600!important}:is(.confidence-ui,.confidence-ui *) .uppercase{text-transform:uppercase!important}:is(.confidence-ui,.confidence-ui *) .line-through{text-decoration-line:line-through!important}:is(.confidence-ui,.confidence-ui *) .shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}:is(.confidence-ui,.confidence-ui *) .shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}:is(.confidence-ui,.confidence-ui *) .shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}:is(.confidence-ui,.confidence-ui *) .shadow-dark\\/50{--tw-shadow-color:#1c232d80!important}@supports (color:color-mix(in lab,red,red)){:is(.confidence-ui,.confidence-ui *) .shadow-dark\\/50{--tw-shadow-color:color-mix(in oklab,oklab(25.3864% -.0047446 -.0210213/.5) var(--tw-shadow-alpha),transparent)!important}}:is(.confidence-ui,.confidence-ui *) .outline{outline-style:var(--tw-outline-style)!important;outline-width:1px!important}:is(.confidence-ui,.confidence-ui *) .transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}:is(.confidence-ui,.confidence-ui *) .transition-all{transition-property:all!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}:is(.confidence-ui,.confidence-ui *) .duration-300{--tw-duration:.3s!important;transition-duration:.3s!important}:is(.confidence-ui,.confidence-ui *) .ease-in-out{--tw-ease:var(--ease-in-out)!important;transition-timing-function:var(--ease-in-out)!important}:is(.confidence-ui,.confidence-ui *) .ease-out{--tw-ease:var(--ease-out)!important;transition-timing-function:var(--ease-out)!important}:is(.confidence-ui,.confidence-ui *) .\\[writing-mode\\:vertical-lr\\]{writing-mode:vertical-lr!important}@media (hover:hover){:is(.confidence-ui,.confidence-ui *) .hover\\:bg-danger-500:hover{background-color:#dc3545!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-dark:hover{background-color:#1c232d!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-fiserv-orange-500:hover{background-color:#f60!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-gray-50:hover{background-color:#f5f6f7!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-gray-100:hover{background-color:#ebedef!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-gray-400:hover{background-color:#757e8c!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-gray-500:hover{background-color:#3a475b!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-gray-800:hover{background-color:#232b37!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-gray-900:hover{background-color:#1c232d!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-info-500:hover{background-color:#17a2b8!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-orange-500:hover{background-color:#ff7800!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-primary-800:hover{background-color:#0054af!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-purple-500:hover{background-color:#a855f7!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-secondary-500:hover{background-color:#6c757d!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-steel-500:hover{background-color:#556987!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-success-500:hover{background-color:#28a745!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-warning-500:hover{background-color:#ffc107!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-yellow:hover{background-color:#ffe600!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-black:hover{color:#000!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-danger-800:hover{color:#aa1927!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-dark:hover{color:#1c232d!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-fiserv-orange-800:hover{color:#bf4c00!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-gray-400:hover{color:#757e8c!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-gray-700:hover{color:#2c3544!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-gray-800:hover{color:#232b37!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-gray-900:hover{color:#1c232d!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-info-800:hover{color:#026777!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-orange-800:hover{color:#c75d00!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-primary-800:hover{color:#0054af!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-purple-800:hover{color:#6f33a7!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-secondary-800:hover{color:#444a50!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-steel-800:hover{color:#333f51!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-success-800:hover{color:#106c25!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-warning-800:hover{color:#b87708!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-white:hover{color:#fff!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-yellow:hover{color:#ffe600!important}}:is(.confidence-ui,.confidence-ui *) .focus\\:border-red-500:focus{border-color:var(--color-red-500)!important}:is(.confidence-ui,.confidence-ui *) .focus\\:outline:focus{outline-style:var(--tw-outline-style)!important;outline-width:1px!important}:is(.confidence-ui,.confidence-ui *) .focus\\:outline-3:focus{outline-style:var(--tw-outline-style)!important;outline-width:3px!important}:is(.confidence-ui,.confidence-ui *) .focus\\:outline-primary-500\\/\\[\\.3\\]:focus{outline-color:#007bff4d!important}:is(.confidence-ui,.confidence-ui *) .focus\\:not-data-focus\\:outline-none:focus:not([data-focus]){--tw-outline-style:none!important;outline-style:none!important}:is(.confidence-ui,.confidence-ui *) .active\\:bg-gray-50:active{background-color:#f5f6f7!important}:is(.confidence-ui,.confidence-ui *) .active\\:bg-gray-800:active{background-color:#232b37!important}:is(.confidence-ui,.confidence-ui *) .active\\:text-black:active{color:#000!important}:is(.confidence-ui,.confidence-ui *) .active\\:text-white:active{color:#fff!important}:is(.confidence-ui,.confidence-ui *) .disabled\\:pointer-events-none:disabled{pointer-events:none!important}:is(.confidence-ui,.confidence-ui *) .disabled\\:opacity-15:disabled{opacity:.15!important}:is(.confidence-ui,.confidence-ui *) .data-closed\\:opacity-0[data-closed]{opacity:0!important}:is(.confidence-ui,.confidence-ui *) .data-focus\\:outline-2[data-focus]{outline-style:var(--tw-outline-style)!important;outline-width:2px!important}:is(.confidence-ui,.confidence-ui *) .data-focus\\:-outline-offset-2[data-focus]{outline-offset:-2px!important}:is(.confidence-ui,.confidence-ui *) .data-focus\\:outline-primary-500[data-focus]{outline-color:#007bff!important}@media (min-width:48rem){:is(.confidence-ui,.confidence-ui *) .md\\:min-w-fit{min-width:fit-content!important}}}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}',pT=({playbookInstanceId:e,playbookMode:t,playbookStyle:r})=>{const{playbook:i,actions:a}=Qb(e);if(!i)return q.jsx("div",{});const u=async(p,m)=>{var h;if(p===ec.COMPLETE){const v=(h=i.tasks.find(C=>C.taskInstanceId===m))==null?void 0:h.sequenceOrder;if(v===void 0){console.error("Task not found in playbook");return}return a.completeTask(m,v)}if(p===ec.START)return a.startTask(m)};return q.jsx(Ly,{playbook:i,playbookMode:t,onTaskButtonClick:u,playbookStyle:r})},hT=({className:e,children:t,numberOfTasks:r,playbookMode:i})=>q.jsxs("div",{className:wt("w-full p-4",e),children:[r&&q.jsxs("div",{className:wt(i==="card"&&"mb-4"),children:[q.jsx("span",{className:"font-medium",children:"Tasks"})," (",r,")"]}),q.jsx("div",{className:wt(i==="card"&&"space-y-4"),children:t})]}),Ly=({playbook:e,playbookMode:t,onTaskButtonClick:r,playbookStyle:i})=>{var D,T,O,U,j;const{playbookInstanceName:a,tasks:u}=e,p=A.useRef(null),[m,h]=A.useState(0),[v,C]=A.useState(!1),x=()=>{C(!v)},{isTaskExpanded:F,toggleTaskExpanded:I}=Cg(e.playbookInstanceId,{onTaskExpanded:()=>{var V,$;console.log("Header height before update:",(V=p.current)==null?void 0:V.offsetHeight),h((($=p.current)==null?void 0:$.offsetHeight)||0)}});A.useEffect(()=>(p.current&&new ResizeObserver($=>{var J;for(const ae of $)console.log("ResizeObserver entry:",ae),ae.contentRect&&h(((J=p.current)==null?void 0:J.offsetHeight)||0)}).observe(p.current),()=>{p.current&&new ResizeObserver(()=>{}).unobserve(p.current)}),[p]);const L=A.useMemo(()=>{const V=u.filter($=>$.workflowStatus===ut.COMPLETED).sort(($,J)=>J.sequenceOrder-$.sequenceOrder)[0];return console.log({lastCompletedTask:V}),V?V.sequenceOrder+1:0},[u]);return Uu.createPortal(q.jsxs(fb.div,{children:[q.jsx(Cc,{children:q.jsxs("div",{className:wt(!(i!=null&&i.overlay)&&"min-h-screen",(i==null?void 0:i.overlay)&&"fixed bottom-0 z-[99999999999999] flex","transition-all duration-300 ease-in-out"),...(i==null?void 0:i.overlay)&&{style:{width:"100%",maxWidth:v?((D=i.overlay.size)==null?void 0:D.width)||450:"2.25rem",height:((T=i.overlay.size)==null?void 0:T.height)||"calc(100vh - 4rem)",maxHeight:"calc(100vh - 4rem)",right:((O=i.overlay.offset)==null?void 0:O.right)!==void 0?i.overlay.offset.right:i.overlay.position==="right"?32:void 0,left:((U=i.overlay.offset)==null?void 0:U.left)!==void 0?i.overlay.offset.left:i.overlay.position==="left"?32:void 0}},children:[(i==null?void 0:i.overlay)&&q.jsx("div",{onClick:x,className:wt("size-9 relative p-1 top-3 z-[99999999999999] border-none rounded-l-sm cursor-pointer"),style:{backgroundColor:((j=i==null?void 0:i.whiteLabel)==null?void 0:j.primaryColor)||"#007BFF",boxShadow:"0px 3px 3px 0px #00000040"},children:q.jsx("img",{src:Xv,alt:"Confidence Logo",className:"w-full h-full object-contain"})}),q.jsxs("div",{className:wt("flex flex-col flex-1 bg-gray-50",(i==null?void 0:i.overlay)&&"border border-gray-200 shadow-2xl rounded-t-sm overflow-y-auto"),children:[q.jsx(_y,{title:a,className:wt("top-0 sticky z-2"),playbookStyle:i,ref:p}),q.jsx(hT,{playbookMode:t,numberOfTasks:e.numberofTasks,children:u.map((V,$)=>{var J;return q.jsx(fT,{task:V,step:$+1,viewMode:t,playbookId:e.playbookId,canStart:V.sequenceOrder===L,onButtonClick:ae=>r(ae,V.taskInstanceId),playbookType:"Non-Sequential",taskStyle:{titleColor:(J=i==null?void 0:i.whiteLabel)==null?void 0:J.primaryColor},isExpanded:F(V.taskInstanceId),toggleExpanded:()=>I(V.taskInstanceId),listStickyTopBase:m||104},$)})})]})]})}),q.jsx("style",{type:"text/css",children:dT})]}),document.body,"confidence-playbook-portal")},mT=({email:e,playbookId:t,playbookMode:r,playbookStyle:i})=>{const[a,u]=A.useState(null);return A.useEffect(()=>{(async()=>{const{playbookInstanceId:p,errorCode:m,details:h,message:v}=await Tg({bank:"public-sdk",email:e,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone||"America/Los_Angeles",playbookUid:t})||{};if(m)throw new Error(`Error initiating playbook: ${v} (Code: ${m}) - Details: ${h}`);u(p)})()},[]),a?q.jsx(Cc,{children:q.jsx(Pa,{playbookInstanceId:a,playbookMode:r,playbookStyle:i})}):q.jsx("div",{children:"Loading..."})},gT=({playbookId:e,playbookMode:t="list",playbookStyle:r,btnLabel:i="Start Playbook",btnColor:a="primary"})=>{const[u,p]=A.useState(null);return q.jsxs(Cc,{children:[q.jsx(rk,{playbookId:e,disabled:!!u,onInitiated:p,btnLabel:i,btnColor:a}),u&&q.jsx(Pa,{playbookInstanceId:u,playbookMode:t,playbookStyle:r})]})},Pa=({playbookInstanceId:e,playbookMode:t,playbookStyle:r})=>q.jsx(Cc,{children:q.jsx(kg,{children:q.jsx(pT,{playbookInstanceId:e,playbookMode:t,playbookStyle:r})})});Pa.Context=kg;Pa.View=Ly;Pa.AutoInstantiated=mT;Pa.WithInstantiateButton=gT;exports.ConfidencePlaybook=Pa;exports.ConfidenceUIWrapper=Cc;
|