@confidencesystemsinc/sdk 1.3.8 → 1.3.9
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/components/playbook/playbook-shadow-dom.d.ts +7 -0
- package/dist/index.cjs +136 -31
- package/dist/index.d.ts +2 -2
- package/dist/index.js +16347 -6436
- 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 By=Object.defineProperty;var uh=e=>{throw TypeError(e)};var Uy=(e,t,r)=>t in e?By(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var fh=(e,t,r)=>Uy(e,typeof t!="symbol"?t+"":t,r),cd=(e,t,r)=>t.has(e)||uh("Cannot "+r);var _=(e,t,r)=>(cd(e,t,"read from private field"),r?r.call(e):t.get(e)),Ie=(e,t,r)=>t.has(e)?uh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),ge=(e,t,r,i)=>(cd(e,t,"write to private field"),i?i.call(e,r):t.set(e,r),r),Ue=(e,t,r)=>(cd(e,t,"access private method"),r);var hu=(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"),O=require("react"),bc=require("react-dom");function og(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=og(O),Hy=og(bc);function Wy(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 dh;function Vy(){if(dh)return ia;dh=1;var e=O;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-/,A=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,Oe=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":Oe=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),A(G)){for(P=0;P<G.length;P++)if(""+G[P]===E){f.push(' selected=""');break}}else""+G===E&&f.push(' selected=""');else Oe&&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(A(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)&&(Oe=E[G],Oe!=null))switch(G){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":ke=Oe;break;case"defaultValue":re=Oe;break;case"checked":Ce=Oe;break;case"value":N=Oe;break;default:J(f,P,G,Oe)}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(Oe in E)if(r.call(E,Oe)&&(re=E[Oe],re!=null))switch(Oe){case"children":N=re;break;case"dangerouslySetInnerHTML":G=re;break;case"style":$(f,P,re);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:p(Oe)&&typeof re!="function"&&typeof re!="symbol"&&f.push(" ",Oe,'="',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 Oe=[],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:Oe,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),Oe.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 Oe=f.pingedTasks;Oe.push(ke),Oe.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 On(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 Oe=Pn(f,0,null,H.formatContext,!1,!1);Oe.parentFlushed=!0,b.blockedBoundary=re,b.blockedSegment=Oe;try{if(ln(f,b,P),f.responseState.generateStaticMarkup||Oe.lastPushedText&&Oe.textEmbedded&&Oe.chunks.push("<!-- -->"),Oe.status=1,Ut(re,Oe),re.pendingTasks===0)break e}catch(Ce){Oe.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(A(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 An(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(An,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 Oe=G.ping;Tt.then(Oe,Oe)}else{G.abortSet.delete(G),ke.status=4;var Ce=G.blockedBoundary,Ve=Tt,Et=an(re,Ve);if(Ce===null?On(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),On(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,Oe=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('"'),Oe||Ce||Ve){P.push(",");var Et=Z(Oe||"");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),On(f,P)}}function mt(){}function Ot(f,b,E,P){var H=!1,N=null,G="",re={push:function(Oe){return Oe!==null&&(G+=Oe),!0},destroy:function(Oe){H=!0,N=Oe}},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(Oe){an(f,Oe),On(f,Oe)}}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 Ot(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 Ot(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 mu={};/**
|
|
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 ph;function Gy(){if(ph)return mu;ph=1;var e=O;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 A={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(d){A[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];A[y]=new T(y,1,!1,d[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(d){A[d]=new T(d,2,!1,d.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(d){A[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){A[d]=new T(d,3,!1,d.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(d){A[d]=new T(d,3,!0,d,null,!1,!1)}),["capture","download"].forEach(function(d){A[d]=new T(d,4,!1,d,null,!1,!1)}),["cols","rows","size","span"].forEach(function(d){A[d]=new T(d,6,!1,d,null,!1,!1)}),["rowSpan","start"].forEach(function(d){A[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);A[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);A[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);A[y]=new T(y,1,!1,d,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(d){A[d]=new T(d,1,!1,d.toLowerCase(),null,!1,!1)}),A.xlinkHref=new T("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(d){A[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=A.hasOwnProperty(S)?A[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 Ae=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":Ae=et;default:We(d,R,B,et)}}if(X!=null)if(S=Ae!==null?""+Ae: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)&&(Ae=S[oe],Ae!=null))switch(oe){case"children":je=Ae;break;case"value":B=Ae;break;case"defaultValue":X=Ae;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:We(d,R,oe,Ae)}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")),Ae=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":Ae=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):Ae!==null&&We(d,R,"checked",Ae),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(Ae in S)if(x.call(S,Ae)&&(oe=S[Ae],oe!=null))switch(Ae){case"children":B=oe;break;case"dangerouslySetInnerHTML":X=oe;break;default:We(d,R,Ae,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>'),On=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>"),An=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"),Ot=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 Ot: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 Oe(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:Oo,rl=Math.log,ol=Math.LN2;function Oo(d){return d>>>=0,d===0?32:31-(rl(d)/ol|0)|0}function dn(d,y){return d===y&&(d!==0||1/d===1/y)||d!==d&&y!==y}var il=typeof Object.is=="function"?Object.is:dn,yn=null,Ri=null,Ao=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?Ao===null?(Qn=!1,Ao=qe=Ht()):(Qn=!0,qe=Ao):qe.next===null?(Qn=!1,qe=qe.next=Ht()):(Qn=!0,qe=qe.next),qe}function Ur(){Ri=yn=null,Io=!1,Ao=null,Fo=0,qe=Dn=null}function Oa(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===Oa?typeof y=="function"?y():y:S!==void 0?S(y):y,qe.memoizedState=d,d=qe.queue={last:null,dispatch:null},d=d.dispatch=al.bind(null,yn,d),[qe.memoizedState,d]}function Aa(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(!il(y[W],R[W])){R=!1;break e}R=!0}if(R)return S[0]}}return d=d(),qe.memoizedState=[d,y],d}function al(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 sl(){throw Error(t(394))}function Do(){}var Ia={readContext:function(d){return d._currentValue},useContext:function(d){return _n(),d._currentValue},useMemo:Aa,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(Oa,d)},useInsertionEffect:Do,useLayoutEffect:function(){},useCallback:function(d,y){return Aa(function(){return d},y)},useImperativeHandle:Do,useEffect:Do,useDebugValue:Do,useDeferredValue:function(d){return _n(),d},useTransition:function(){return _n(),[!1,sl]},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,Oi=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function ll(d){return console.error(d),null}function vr(){}function Ai(d,y,S,R,W,B,X,oe,Ae){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?ll:W,onAllReady:B===void 0?vr:B,onShellReady:X===void 0?vr:X,onShellError:oe===void 0?vr:oe,onFatalError:Ae===void 0?vr:Ae},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 Ae={node:y,ping:function(){var Ne=d.pingedTasks;Ne.push(Ae),Ne.length===1&&ja(d)},blockedBoundary:S,blockedSegment:R,abortSet:W,legacyContext:B,context:X,treeContext:oe};return W.add(Ae),Ae}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,At(d,y,W),y.legacyContext=X}else At(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=Oe(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=Oe(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{At(d,y,W)}finally{y.treeContext=R}}else At(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:At(d,y,R.children);return;case Ot:At(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},Ae=yr(d,W.chunks.length,oe,W.formatContext,!1,!1);W.children.push(Ae),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,Ae,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{At(d,y,R)}finally{y.treeContext=S}}else At(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,At(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),At(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 At(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),At(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 At(d,y,S)}catch(Ae){if(Ur(),typeof Ae=="object"&&Ae!==null&&typeof Ae.then=="function"){S=Ae;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),Ae}}function cl(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(cl,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=Oi.current;Oi.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,Ae=X.blockedSegment;if(Ae.status===0){fn(X.context);try{At(oe,X,X.node),Ae.lastPushedText&&Ae.textEmbedded&&Ae.chunks.push(fe),X.abortSet.delete(X),Ae.status=1,$a(oe,X.blockedBoundary,Ae)}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),Ae.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,Oi.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,On)),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,Ae=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)),Ae===null)throw Error(t(395));a(R,Ae),a(R,sn),(Ne||je||et)&&(a(R,An),a(R,h(Ut(Ne||"")))),(je||et)&&(a(R,An),a(R,h(Ut(je||"")))),et&&(a(R,An),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 mu.renderToReadableStream=function(d,y){return new Promise(function(S,R){var W,B,X=new Promise(function(je,et){B=je,W=et}),oe=Ai(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 Ae=y.signal,Ne=function(){Ua(oe,Ae.reason),Ae.removeEventListener("abort",Ne)};Ae.addEventListener("abort",Ne)}ja(oe)})},mu.version="18.3.1",mu}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 hh;function Yy(){return hh||(hh=1,process.env.NODE_ENV!=="production"&&function(){var e=O,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 A(n),!1}catch{return!0}}function A(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)),A(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)),A(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)),A(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,On=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(On,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 An(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 Ot=">",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 Oe(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),Oe(o,"value"),Oe(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(Ot),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(Ot),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(Ot),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(Ot),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(Ot);{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(Ot),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(Ot),b(n,w,g),g}var Xn=`
|
|
37
|
+
`;function rl(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(Ot),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 ol=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Oo=new Map;function dn(n){var o=Oo.get(n);if(o===void 0){if(!ol.test(n))throw new Error("Invalid tag: "+n);o="<"+n,Oo.set(n,o)}return o}var il="<!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 rl(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(il),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="</",Ao=">";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,Ao)}}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="<!--/$-->",Oa="<template",Mo='"',Aa=' data-dgst="',al=' data-msg="',sl=' 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 Oi(n,o,s,c,g){var w;return w=v(n,Pi),h(n,Oa),s&&(h(n,Aa),h(n,dt(s)),h(n,Mo)),c&&(h(n,al),h(n,dt(c)),h(n,Mo)),g&&(h(n,sl),h(n,dt(g)),h(n,Mo)),w=v(n,Do),w}function ll(n,o){return v(n,Ur)}function vr(n,o){return v(n,Ur)}function Ai(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='">',At="</math>",_a='<table hidden id="',$o='">',cl="</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 On: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,At);case Rn:return v(n,cl);case Pn:return v(n,$a);case an:return v(n,zo);case On: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 Ae=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,Ae)),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 pf(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,ul(c||""))),(g||w)&&(h(n,Vr),h(n,ul(g||""))),w&&(h(n,Vr),h(n,ul(w))),v(n,Ha)}var hf=/[<\u2028\u2029]/g;function ul(n){var o=JSON.stringify(n);return o.replace(hf,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 mf(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 gf(){return{insertionMode:Rt,selectedValue:null}}function Pc(n,o,s,c){return s.generateStaticMarkup?(n.push(dt(o)),!1):An(n,o,s,c)}function Oc(n,o,s,c){if(!o.generateStaticMarkup)return pr(n,o,s,c)}function vf(n,o){return o.generateStaticMarkup?!0:Ia(n)}function yf(n,o,s,c,g){return o.generateStaticMarkup?!0:Oi(n,o,s,c,g)}function bf(n,o){return o.generateStaticMarkup?!0:ll(n)}function wf(n,o){return o.generateStaticMarkup?!0:Ai(n)}var Lt=Object.assign,xf=Symbol.for("react.element"),Ac=Symbol.for("react.portal"),Wa=Symbol.for("react.fragment"),Gt=Symbol.for("react.strict_mode"),Ic=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"),fl=Symbol.for("react.scope"),dl=Symbol.for("react.debug_trace_mode"),pl=Symbol.for("react.legacy_hidden"),Qa=Symbol.for("react.default_value"),Fc=Symbol.iterator,Sf="@@iterator";function kf(n){if(n===null||typeof n!="object")return null;var o=Fc&&n[Fc]||n[Sf];return typeof o=="function"?o:null}function Ef(n,o,s){var c=n.displayName;if(c)return c;var g=o.displayName||o.name||"";return g!==""?s+"("+g+")":s}function hl(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 Ac:return"Portal";case Ic: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 hl(o)+".Consumer";case Va:var s=n;return hl(s._context)+".Provider";case Ya:return Ef(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,Mc,ml,rt,Ho,gl,vl,yl;function bl(){}bl.__reactDisabledLog=!0;function Dc(){{if(_i===0){Mc=console.log,ml=console.info,rt=console.warn,Ho=console.error,gl=console.group,vl=console.groupCollapsed,yl=console.groupEnd;var n={configurable:!0,enumerable:!0,value:bl,writable:!0};Object.defineProperties(console,{info:n,log:n,warn:n,error:n,group:n,groupCollapsed:n,groupEnd:n})}_i++}}function _c(){{if(_i--,_i===0){var n={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Lt({},n,{value:Mc}),info:Lt({},n,{value:ml}),warn:Lt({},n,{value:rt}),error:Lt({},n,{value:Ho}),group:Lt({},n,{value:gl}),groupCollapsed:Lt({},n,{value:vl}),groupEnd:Lt({},n,{value:yl})})}_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 wl=!1,Wo;{var xl=typeof WeakMap=="function"?WeakMap:Map;Wo=new xl}function Gr(n,o){if(!n||wl)return"";{var s=Wo.get(n);if(s!==void 0)return s}var c;wl=!0;var g=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var w;w=qa.current,qa.current=null,Dc();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{wl=!1,qa.current=w,_c(),Error.prepareStackTrace=g}var Me=n?n.displayName||n.name:"",Xe=Me?Li(Me):"";return typeof n=="function"&&Wo.set(n,Xe),Xe}function Sl(n,o,s){return Gr(n,!0)}function $i(n,o,s){return Gr(n,!1)}function Cf(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,Cf(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 Lc={},kl=r.ReactDebugCurrentFrame;function Ja(n){if(n){var o=n._owner,s=ji(n.type,n._source,o?o.type:null);kl.setExtraStackFrame(s)}else kl.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 Lc)&&(Lc[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 El(n){n.context._currentValue2=n.parentValue}function Xr(n){n.context._currentValue2=n.value}function ns(n,o){if(n!==o){El(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){El(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){El(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 jc(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 Nc(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 zc(){return br}function xr(n){var o=n._currentValue2;return o}function Cl(n){return n._reactInternals}function Tf(n,o){n._reactInternals=o}var Bc={},Vo={},Hi,Tl,is,as,ss,Go,Wi,Vi,ls;{Hi=new Set,Tl=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(Bc[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),Bc[g]=!0}}var us={isMounted:function(n){return!1},enqueueSetState:function(n,o,s){var c=Cl(n);c.queue===null?cs(n,"setState"):(c.queue.push(o),s!=null&&Go(s,"setState"))},enqueueReplaceState:function(n,o,s){var c=Cl(n);c.replace=!0,c.queue=[o],s!=null&&Go(s,"setState")},enqueueForceUpdate:function(n,o){var s=Cl(n);s.queue===null?cs(n,"forceUpdate"):o!=null&&Go(o,"setState")}};function Rl(n,o,s,c,g){var w=s(g,c);ss(o,w);var k=w==null?c:Lt({},c,w);return k}function Uc(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 Hc(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"&&!Tl.has(o)&&(Tl.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 Wc(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 Rf(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 Vc(n,o,s,c){Hc(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};Tf(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=Rl(n,o,z,g,s)),typeof o.getDerivedStateFromProps!="function"&&typeof n.getSnapshotBeforeUpdate!="function"&&(typeof n.UNSAFE_componentWillMount=="function"||typeof n.componentWillMount=="function")&&(Wc(o,n),Rf(w,n,s,c))}var Pf={id:1,overflow:""};function Of(n){var o=n.overflow,s=n.id,c=s&~Af(s);return c.toString(32)+o}function Pl(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,ld=Zo|k,zy=g;return{id:1<<z|ld,overflow:zy}}}function Yi(n){return 32-If(n)}function Af(n){return 1<<Yi(n)-1}var If=Math.clz32?Math.clz32:Ff,Ol=Math.log,fs=Math.LN2;function Ff(n){var o=n>>>0;return o===0?32:31-(Ol(o)/fs|0)|0}function Mf(n,o){return n===o&&(n!==0||1/n===1/o)||n!==n&&o!==o}var Df=typeof Object.is=="function"?Object.is:Mf,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 _f(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(!Df(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 Lf(n,o,s,c){for(;Yo;)Yo=!1,Qr=0,Sr+=1,nt=null,s=n(o,c);return Xi(),s}function Il(){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 $f(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 jf(n){return Qt="useContext",Ln(),xr(n)}function hs(n,o){return typeof o=="function"?o(n):o}function Fl(n){return Qt="useState",Gc(hs,n)}function Gc(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=Xc.bind(null,Kn,ee);return[nt.memoizedState,de]}}function Yc(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(_f(s,g))return c[0]}}Xt=!0;var w=n();return Xt=!1,nt.memoizedState=[w,s],w}function Ml(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 Nf(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 Xc(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 Qc(n,o){return Yc(function(){return n},o)}function zf(n,o,s){return Ln(),o(n._source)}function Bf(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 Uf(n){return Ln(),n}function Hf(){throw new Error("startTransition cannot be called during server rendering.")}function Wf(){return Ln(),[!1,Hf]}function Vf(){var n=Al,o=Of(n.treeContext),s=Dl;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 qc={readContext:$f,useContext:jf,useMemo:Yc,useReducer:Gc,useRef:Ml,useState:Fl,useInsertionEffect:ms,useLayoutEffect:Nf,useCallback:Qc,useImperativeHandle:ms,useEffect:ms,useDebugValue:ms,useDeferredValue:Uf,useTransition:Wf,useId:Vf,useMutableSource:zf,useSyncExternalStore:Bf},Dl=null;function Kc(n){Dl=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+=Sl(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,_l=1,Kr=2,Jc=12800;function Gf(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?Jc:c,status:Qo,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:ee,pingedTasks:Q,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:g===void 0?Gf: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,Pf);return Q.push(Xe),de}function Yf(n,o){var s=n.pingedTasks;s.push(o),s.length===1&&p(function(){return Vl(n)})}function Xf(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 Yf(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 Ll(){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||Ll();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=_l,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=Xf(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),Oc(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 $l(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 Lf(s,c,k,g)}function Zc(n,o,s,c,g){var w=s.render();s.props!==g&&(Nl||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"),Nl=!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 Qf(n,o,s,c){Zn(o,s);var g=zi(s,o.legacyContext),w=Uc(s,c,g);Vc(w,s,c,g),Zc(n,o,w,s,c),$n(o)}var eu={},ta={},jl={},tu={},Nl=!1,na={},zl=!1,Bl=!1,Ul=!1;function nu(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";eu[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),eu[w]=!0)}var k=ea(n,o,s,c,g),M=Il();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)}Vc(k,s,c,g),Zc(n,o,k,s,c)}else if(ru(s),M){var ee=o.treeContext,de=1,Me=0;o.treeContext=Pl(ee,de,Me);try{qt(n,o,k)}finally{o.treeContext=ee}}else qt(n,o,k);$n(o)}function ru(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";tu[s]||(a("%s: Function components do not support getDerivedStateFromProps.",s),tu[s]=!0)}if(typeof n.contextType=="object"&&n.contextType!==null){var c=it(n)||"Unknown";jl[c]||(a("%s: Function components do not support contextType.",c),jl[c]=!0)}}}function Hl(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 ou(n,o,s,c,g){qi(o,s.render);var w=ea(n,o,s.render,c,g),k=Il();if(k){var M=o.treeContext,z=1,Q=0;o.treeContext=Pl(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=Hl(w,c);Wl(n,o,w,k,g)}function Kf(n,o,s,c){s._context===void 0?s!==s.Consumer&&(Ul||(Ul=!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 iu(n,o,s,c){var g=s._context,w=c.value,k=c.children,M;M=o.context,o.context=jc(g,w),qt(n,o,k),o.context=Nc(g),M!==o.context&&a("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Jf(n,o,s,c,g){Zr(o,"Lazy");var w=s._payload,k=s._init,M=k(w),z=Hl(M,c);Wl(n,o,M,z,g),$n(o)}function Wl(n,o,s,c,g){if(typeof s=="function")if(Zi(s)){Qf(n,o,s,c);return}else{nu(n,o,s,c);return}if(typeof s=="string"){$l(n,o,s,c);return}switch(s){case pl:case dl:case Gt:case Ic:case Wa:{qt(n,o,c.children);return}case Mi:{Zr(o,"SuspenseList"),qt(n,o,c.children),$n(o);return}case fl: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:{ou(n,o,s,c,g);return}case Di:{qf(n,o,s,c,g);return}case Va:{iu(n,o,s,c);return}case Ga:{Kf(n,o,s,c);return}case Uo:{Jf(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 Zf(n,o){typeof Symbol=="function"&&n[Symbol.toStringTag]==="Generator"&&(zl||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."),zl=!0),n.entries===o&&(Bl||a("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Bl=!0)}function qt(n,o,s){try{return ed(n,o,s)}catch(c){throw typeof c=="object"&&c!==null&&typeof c.then=="function"||(er=er!==null?er:Ll()),c}}function ed(n,o,s){if(o.node=s,typeof s=="object"&&s!==null){switch(s.$$typeof){case xf:{var c=s,g=c.type,w=c.props,k=c.ref;Wl(n,o,g,w,k);return}case Ac: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=kf(s);if(de){Zf(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=Pc(o.blockedSegment.chunks,s,n.responseState,no.lastPushedText);return}if(typeof s=="number"){var tr=o.blockedSegment;tr.lastPushedText=Pc(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=Pl(w,c,g);try{Ft(n,o,s[g])}finally{o.treeContext=w}}}function td(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"){td(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 nd(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 au(n){var o=this,s=n.blockedBoundary,c=n.blockedSegment;c.status=ws,lu(o,s,c)}function su(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 su(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 lu(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(au,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 rd(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),Oc(s.chunks,n.responseState,s.lastPushedText,s.textEmbedded),o.abortSet.delete(o),s.status=Xo,lu(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,nd(n,o.blockedBoundary,s,w)}finally{Jn=c}}}function Vl(n){if(n.status!==Kr){var o=zc(),s=vs.current;vs.current=qc;var c;c=Qi.getCurrentStack,Qi.getCurrentStack=Ll;var g=Dl;Kc(n.responseState);try{var w=n.pingedTasks,k;for(k=0;k<w.length;k++){var M=w[k];rd(n,M)}w.splice(0,k),n.destination!==null&&Ts(n,n.destination)}catch(z){Ki(n,z),wn(n,z)}finally{Kc(g),vs.current=s,Qi.getCurrentStack=c,s===qc&&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 yf(o,n.responseState,c.errorDigest,c.errorMessage,c.errorComponentStack),eo(n,o,s),wf(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);vf(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),bf(o,n.responseState)}}function od(n,o,s){return pf(o,n.responseState,s.id,s.errorDigest,s.errorMessage,s.errorComponentStack)}function Gl(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];cu(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(!cu(n,o,s,w))return g++,c.splice(0,g),!1}return c.splice(0,g),!0}function cu(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 Gl(n,o,c)}else return Gl(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(!od(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 uu(n){p(function(){return Vl(n)})}function id(n,o){if(n.status===_l){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 fu(n,o){try{var s=n.abortableTasks;s.forEach(function(c){return su(c,n,o)}),s.clear(),n.destination!==null&&Ts(n,n.destination)}catch(c){Ki(n,c),wn(n,c)}}function Yl(){}function du(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,mf(s,o?o.identifierPrefix:void 0),gf(),1/0,Yl,void 0,Q);if(uu(ee),fu(ee,c),id(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 ad(n,o){return du(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 pu(n,o){return du(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 sd(){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=sd,aa.renderToStaticMarkup=pu,aa.renderToStaticNodeStream=l,aa.renderToString=ad,aa.version=t}()),aa}var gu={};/**
|
|
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 mh;function Xy(){return mh||(mh=1,process.env.NODE_ENV!=="production"&&function(){var e=O,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 A(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=A("<script>"),dr=A("<\/script>"),Rn=A('<script src="'),Pn=A('<script type="module" src="'),an=A('" async=""><\/script>');function On(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:A('<script nonce="'+lt(n)+'">'),k=[];if(o!==void 0&&k.push(w,T(On(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:A(g+"P:"),segmentPrefix:A(g+"S:"),boundaryPrefix:g+"B:",idPrefix:g,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var gn=0,ct=1,sn=2,ln=3,An=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(An,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>=An||l.insertionMode===gn?St(ct,null):l}var hr=null;function _t(l){var n=l.nextSuspenseID++;return A(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=A("<!-- -->");function mt(l,n,o,s){return n===""?s:(s&&l.push(mr),l.push(T(kt(n))),!0)}function Ot(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=A(lt(Ti(l)));return f.set(l,o),o}var E=A(' style="'),P=A(":"),H=A(";");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=A(" "),re=A('="'),ke=A('"'),Oe=A('=""');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,Oe);return;case ze:s===!0?l.push(G,w,Oe):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=A(">"),Et=A("/>");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 rl(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 ol(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 Oo=A(' 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=ol(g)),Rt(c))for(var de=0;de<c.length;de++){J(c[de],"value");var Me=""+c[de];if(Me===ee){l.push(Oo);break}}else J(c,"select.value"),""+c===ee&&l.push(Oo)}else k&&l.push(Oo);return l.push(Ve),Ct(l,M,g),g}function il(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 Ao(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=A(`
|
|
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=A("<"+l),_n.set(l,n)}return n}var Pi=A("<!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 rl(l,o,s);case"option":return dn(l,o,s,c);case"textarea":return yn(l,o,s);case"input":return il(l,o,s);case"menuitem":return Ao(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 Oa=A("</"),Mo=A(">");function Aa(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(Oa,T(n),Mo)}}function al(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 sl=A('<template id="'),Do=A('"></template>');function Ia(l,n,o){x(l,sl),x(l,n.placeholderPrefix);var s=T(o.toString(16));return x(l,s),F(l,Do)}var Hr=A("<!--$-->"),Oi=A('<!--$?--><template id="'),ll=A('"></template>'),vr=A("<!--$!-->"),Ai=A("<!--/$-->"),Ii=A("<template"),yr=A('"'),Wr=A(' data-dgst="'),_o=A(' data-msg="'),Fa=A(' data-stck="'),Ma=A("></template>");function Da(l,n){return F(l,Hr)}function Lo(l,n,o){if(x(l,Oi),o===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return x(l,o),F(l,ll)}function At(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,Ai)}function $o(l,n){return F(l,Ai)}function cl(l,n){return F(l,Ai)}var La=A('<div hidden id="'),jo=A('">'),$a=A("</div>"),ja=A('<svg aria-hidden="true" style="display:none" id="'),No=A('">'),zo=A("</svg>"),Na=A('<math aria-hidden="true" style="display:none" id="'),za=A('">'),Ba=A("</math>"),Fi=A('<table hidden id="'),Ua=A('">'),d=A("</table>"),y=A('<table hidden><tbody id="'),S=A('">'),R=A("</tbody></table>"),W=A('<table hidden><tr id="'),B=A('">'),X=A("</tr></table>"),oe=A('<table hidden><colgroup id="'),Ae=A('">'),Ne=A("</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 An: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,Ae);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 An: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=A(It+';$RS("'),Ha=A('$RS("'),Vr=A('","'),pf=A('")<\/script>');function hf(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,pf)}var ul=A(Wt+';$RC("'),mf=A('$RC("'),gf=A('","'),Pc=A('")<\/script>');function Oc(l,n,o,s){if(x(l,n.startInlineScript),n.sentCompleteBoundaryFunction?x(l,mf):(n.sentCompleteBoundaryFunction=!0,x(l,ul)),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,gf),x(l,n.segmentPrefix),x(l,c),F(l,Pc)}var vf=A(Vt+';$RX("'),yf=A('$RX("'),bf=A('"'),wf=A(")<\/script>"),Lt=A(",");function xf(l,n,o,s,c,g){if(x(l,n.startInlineScript),n.sentClientRenderFunction?x(l,yf):(n.sentClientRenderFunction=!0,x(l,vf)),o===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return x(l,o),x(l,bf),(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,wf)}var Ac=/[<\u2028\u2029]/g;function Wa(l){var n=JSON.stringify(l);return n.replace(Ac,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,Ic=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"),fl=Symbol.for("react.suspense"),dl=Symbol.for("react.suspense_list"),pl=Symbol.for("react.memo"),Qa=Symbol.for("react.lazy"),Fc=Symbol.for("react.scope"),Sf=Symbol.for("react.debug_trace_mode"),kf=Symbol.for("react.legacy_hidden"),Ef=Symbol.for("react.default_value"),hl=Symbol.iterator,it="@@iterator";function _i(l){if(l===null||typeof l!="object")return null;var n=hl&&l[hl]||l[it];return typeof n=="function"?n:null}function Mc(l,n,o){var s=l.displayName;if(s)return s;var c=n.displayName||n.name||"";return c!==""?o+"("+c+")":o}function ml(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 fl:return"Suspense";case dl:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case Di:var n=l;return ml(n)+".Consumer";case Mi:var o=l;return ml(o._context)+".Provider";case Uo:return Mc(l,l.render,"ForwardRef");case pl: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,gl,vl,yl,bl,Dc,_c,qa;function Ka(){}Ka.__reactDisabledLog=!0;function Li(){{if(Ho===0){gl=console.log,vl=console.info,yl=console.warn,bl=console.error,Dc=console.group,_c=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 wl(){{if(Ho--,Ho===0){var l={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Gt({},l,{value:gl}),info:Gt({},l,{value:vl}),warn:Gt({},l,{value:yl}),error:Gt({},l,{value:bl}),group:Gt({},l,{value:Dc}),groupCollapsed:Gt({},l,{value:_c}),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,xl;function Gr(l,n,o){{if(xl===void 0)try{throw Error()}catch(c){var s=c.stack.trim().match(/\n( *(at )?)/);xl=s&&s[1]||""}return`
|
|
79
|
+
`+xl+l}}var Sl=!1,$i;{var Cf=typeof WeakMap=="function"?WeakMap:Map;$i=new Cf}function ji(l,n){if(!l||Sl)return"";{var o=$i.get(l);if(o!==void 0)return o}var s;Sl=!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{Sl=!1,Wo.current=g,wl(),Error.prepareStackTrace=c}var de=l?l.displayName||l.name:"",Me=de?Gr(de):"";return typeof l=="function"&&$i.set(l,Me),Me}function Lc(l,n,o){return ji(l,!0)}function kl(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 fl:return Gr("Suspense");case dl:return Gr("SuspenseList")}if(typeof l=="object")switch(l.$$typeof){case Uo:return kl(l.render);case pl: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 El(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 jc(l){var n=l.parent;n!==null&&jc(n),os(l)}function Nc(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):Nc(o,n)}function zc(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):zc(l,o),os(n)}function xr(l){var n=wr,o=l;n!==o&&(n===null?jc(o):o===null?Ui(n):n.depth===o.depth?Bi(n,o):n.depth>o.depth?Nc(n,o):zc(n,o),wr=o)}function Cl(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 Tf(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===Ef?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 Bc(){return wr}function Vo(l){var n=l._currentValue;return n}function Hi(l){return l._reactInternals}function Tl(l,n){l._reactInternals=n}var is={},as={},ss,Go,Wi,Vi,ls,Gi,cs,us,Rl;{ss=new Set,Go=new Set,Wi=new Set,cs=new Set,Vi=new Set,us=new Set,Rl=new Set;var Uc=new Set;Gi=function(l,n){if(!(l===null||typeof l=="function")){var o=n+"_"+l;Uc.has(o)||(Uc.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 Hc(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 Wc={isMounted:function(l){return!1},enqueueSetState:function(l,n,o){var s=Hi(l);s.queue===null?Hc(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?Hc(l,"forceUpdate"):n!=null&&Gi(n,"setState")}};function Rf(l,n,o,s,c){var g=o(c,s);ls(n,g);var w=g==null?s:Gt({},s,g);return w}function Vc(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&&!Rl.has(l)){Rl.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 Pf(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 Of(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"),Wc.enqueueReplaceState(n,n.state,null))}function Pl(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){Pf(l,n,o);var c=l.state!==void 0?l.state:null;l.updater=Wc,l.props=o,l.state=c;var g={queue:[],replace:!1};Tl(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=Rf(l,n,M,c,o)),typeof n.getDerivedStateFromProps!="function"&&typeof l.getSnapshotBeforeUpdate!="function"&&(typeof l.UNSAFE_componentWillMount=="function"||typeof l.componentWillMount=="function")&&(Of(n,l),Pl(g,l,o,s))}var Af={id:1,overflow:""};function If(l){var n=l.overflow,o=l.id,s=o&~Ff(o);return s.toString(32)+n}function Ol(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,ld=c;return{id:1<<M|Zo,overflow:ld}}}function fs(l){return 32-Mf(l)}function Ff(l){return 1<<fs(l)-1}var Mf=Math.clz32?Math.clz32:Al,Df=Math.log,Kn=Math.LN2;function Al(l){var n=l>>>0;return n===0?32:31-(Df(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,_f=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 Lf(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 Il(){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=Il()):(Sr=!0,Ge=Qr):Ge.next===null?(Sr=!1,Ge=Ge.next=Il()):(Sr=!0,Ge=Ge.next),Ge}function $f(l,n){Yt=n,Yo=l,bn=!1,Xt=0}function jf(l,n,o,s){for(;ps;)ps=!1,Xt=0,Ln+=1,Ge=null,o=l(n,s);return Fl(),o}function hs(){var l=Xt!==0;return l}function Fl(){bn=!1,Yt=null,Yo=null,ps=!1,Qr=null,Ln=0,Qt=null,Ge=null}function Gc(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 Yc(l){return kr="useContext",qr(),Vo(l)}function Ml(l,n){return typeof n=="function"?n(l):n}function Nf(l){return kr="useState",Xc(Ml,l)}function Xc(l,n,o){if(l!==Ml&&(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===Ml?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=Uf.bind(null,Yt,Q);return[Ge.memoizedState,ee]}}function Qc(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(Lf(o,c))return s[0]}}bn=!0;var g=l();return bn=!1,Ge.memoizedState=[g,o],g}function zf(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 Bf(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 Uf(l,n,o){if(Ln>=_f)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 Hf(l,n){return Qc(function(){return l},n)}function Wf(l,n,o){return qr(),n(l._source)}function Vf(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 qc(){throw new Error("startTransition cannot be called during server rendering.")}function Dl(){return qr(),[!1,qc]}function Kc(){var l=Yo,n=If(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:Gc,useContext:Yc,useMemo:Qc,useReducer:Xc,useRef:zf,useState:Nf,useInsertionEffect:gs,useLayoutEffect:Bf,useCallback:Hf,useImperativeHandle:gs,useEffect:gs,useDebugValue:gs,useDeferredValue:ms,useTransition:Dl,useId:Kc,useMutableSource:Wf,useSyncExternalStore:Vf},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+=kl(o.type,null,null);break;case 2:n+=Lc(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,_l=2,Kr=3,Jc=4,Gf=0,qo=1,Ko=2,Yf=12800;function Xf(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?Yf:s,status:Gf,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Q,pingedTasks:z,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:c===void 0?Xf: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 Gl(l)})}function Ll(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 $l(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 Zc(l,n,o){er(n,"Suspense");var s=n.blockedBoundary,c=n.blockedSegment,g=o.fallback,w=o.children,k=new Set,M=Ll(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),Ot(ee.chunks,l.responseState,ee.lastPushedText,ee.textEmbedded),ee.status=Qo,eo(M,ee),M.pendingTasks===0){wn(n);return}}catch(Me){ee.status=Jc,M.forceClientRender=!0,M.errorDigest=Zi(l,Me),$l(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 Qf(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,Aa(c.chunks,o),c.lastPushedText=!1,wn(n)}function eu(l){return l.prototype&&l.prototype.isReactComponent}function ta(l,n,o,s,c){var g={};$f(n,g);var w=o(s,c);return jf(o,s,w,c)}function jl(l,n,o,s,c){var g=o.render();o.props!==c&&(Ul||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"),Ul=!0);{var w=s.childContextTypes;if(w!=null){var k=n.legacyContext,M=El(o,s,k,w);n.legacyContext=M,Ft(l,n,g),n.legacyContext=k;return}}Ft(l,n,g)}function tu(l,n,o,s){Ki(n,o);var c=br(o,n.legacyContext),g=Vc(o,s,c);Yi(g,o,s,c),jl(l,n,g,o,s),wn(n)}var Nl={},na={},zl={},Bl={},Ul=!1,nu={},ru=!1,Hl=!1,ou=!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";Nl[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),Nl[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),jl(l,n,w,o,s)}else if(Kf(o),k){var Q=n.treeContext,ee=1,de=0;n.treeContext=Ol(Q,ee,de);try{Ft(l,n,w)}finally{n.treeContext=Q}}else Ft(l,n,w);wn(n)}function Kf(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";nu[n]||(a("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",n),nu[n]=!0)}if(typeof l.getDerivedStateFromProps=="function"){var o=rt(l)||"Unknown";Bl[o]||(a("%s: Function components do not support getDerivedStateFromProps.",o),Bl[o]=!0)}if(typeof l.contextType=="object"&&l.contextType!==null){var s=rt(l)||"Unknown";zl[s]||(a("%s: Function components do not support contextType.",s),zl[s]=!0)}}}function iu(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 Jf(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=Ol(k,M,z);try{Ft(l,n,g)}finally{n.treeContext=k}}else Ft(l,n,g);wn(n)}function Wl(l,n,o,s,c){var g=o.type,w=iu(g,s);Es(l,n,g,w,c)}function Zf(l,n,o,s){o._context===void 0?o!==o.Consumer&&(ou||(ou=!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=Cl(c,g),Ft(l,n,w),n.context=Tf(c),k!==n.context&&a("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function ed(l,n,o,s,c){er(n,"Lazy");var g=o._payload,w=o._init,k=w(g),M=iu(k,s);Es(l,n,k,M,c),wn(n)}function Es(l,n,o,s,c){if(typeof o=="function")if(eu(o)){tu(l,n,o,s);return}else{qf(l,n,o,s);return}if(typeof o=="string"){Qf(l,n,o,s);return}switch(o){case kf:case Sf:case Ya:case Xa:case Ga:{Ft(l,n,s.children);return}case dl:{er(n,"SuspenseList"),Ft(l,n,s.children),wn(n);return}case Fc:throw new Error("ReactDOMServer does not yet support scope components.");case fl:{Zc(l,n,s);return}}if(typeof o=="object"&&o!==null)switch(o.$$typeof){case Uo:{Jf(l,n,o,s,c);return}case pl:{Wl(l,n,o,s,c);return}case Mi:{qt(l,n,o,s);return}case Di:{Zf(l,n,o,s);return}case Qa:{ed(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 td(l,n){typeof Symbol=="function"&&l[Symbol.toStringTag]==="Generator"&&(ru||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."),ru=!0),l.entries===n&&(Hl||a("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Hl=!0)}function Ft(l,n,o){try{return nd(l,n,o)}catch(s){throw typeof s=="object"&&s!==null&&typeof s.then=="function"||(Ji=Ji!==null?Ji:$n()),s}}function nd(l,n,o){if(n.node=o,typeof o=="object"&&o!==null){switch(o.$$typeof){case Ic:{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)){au(l,n,o);return}var ee=_i(o);if(ee){td(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);au(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 au(l,n,o){for(var s=o.length,c=0;c<s;c++){var g=n.treeContext;n.treeContext=Ol(g,s,c);try{Jo(l,n,o[c])}finally{n.treeContext=g}}}function su(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(Fl(),typeof k=="object"&&k!==null&&typeof k.then=="function"){su(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 lu(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,$l(n,s),n.parentFlushed&&l.clientRenderedBoundaries.push(n))),l.allPendingTasks--,l.allPendingTasks===0){var g=l.onAllReady;g()}}function rd(l){var n=this,o=l.blockedBoundary,s=l.blockedSegment;s.status=Kr,ra(n,o,s)}function Vl(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{$l(s,g)}finally{Zn=k}}s.parentFlushed&&n.clientRenderedBoundaries.push(s)}if(s.fallbackAbortableTasks.forEach(function(z){return Vl(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(rd,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 od(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),Ot(o.chunks,l.responseState,o.lastPushedText,o.textEmbedded),n.abortSet.delete(n),o.status=Qo,ra(l,n.blockedBoundary,o)}catch(g){if(Fl(),typeof g=="object"&&g!==null&&typeof g.then=="function"){var c=n.ping;g.then(c,c)}else n.abortSet.delete(n),o.status=Jc,lu(l,n.blockedBoundary,o,g)}finally{Zn=s}}}function Gl(l){if(l.status!==Ko){var n=Bc(),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];od(l,k)}g.splice(0,w),l.destination!==null&&Yl(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=_l;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 At(n,l.responseState,s.errorDigest,s.errorMessage,s.errorComponentStack),oa(l,n,o),cl(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 cu(l,n,o){return xf(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 uu(l,n,o){for(var s=o.completedSegments,c=0;c<s.length;c++){var g=s[c];fu(l,n,o,g)}return s.length=0,Oc(n,l.responseState,o.id,o.rootSegmentID)}function id(l,n,o){for(var s=o.completedSegments,c=0;c<s.length;c++){var g=s[c];if(!fu(l,n,o,g))return c++,s.splice(0,c),!1}return s.splice(0,c),!0}function fu(l,n,o,s){if(s.status===_l)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),hf(n,l.responseState,c)}function Yl(l,n){C();try{var o=l.completedRootSegment;o!==null&&l.pendingRootTasks===0&&(Cs(l,n,o),l.completedRootSegment=null,al(n,l.responseState));var s=l.clientRenderedBoundaries,c;for(c=0;c<s.length;c++){var g=s[c];cu(l,n,g)}s.splice(0,c);var w=l.completedBoundaries;for(c=0;c<w.length;c++){var k=w[c];uu(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(!id(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];uu(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 du(l){p(function(){return Gl(l)})}function ad(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{Yl(l,n)}catch(o){Zi(l,o),ea(l,o)}}}function pu(l,n){try{var o=l.abortableTasks;o.forEach(function(s){return Vl(s,l,n)}),o.clear(),l.destination!==null&&Yl(l,l.destination)}catch(s){Zi(l,s),ea(l,s)}}function sd(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){ad(z,Me)},cancel:function(Me){pu(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(){pu(z,Q.reason),Q.removeEventListener("abort",ee)};Q.addEventListener("abort",ee)}du(z)})}gu.renderToReadableStream=sd,gu.version=t}()),gu}var gh;function Qy(){if(gh)return ei;gh=1;var e,t;return process.env.NODE_ENV==="production"?(e=Vy(),t=Gy()):(e=Yy(),t=Xy()),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 qy=Qy(),vu={exports:{}},yu={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 vh;function Ky(){if(vh)return Ke;vh=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,A=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===A||$.$$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 yh;function Jy(){return yh||(yh=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,A=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===A||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 bh;function ig(){return bh||(bh=1,process.env.NODE_ENV==="production"?yu.exports=Ky():yu.exports=Jy()),yu.exports}/*
|
|
120
|
+
object-assign
|
|
121
|
+
(c) Sindre Sorhus
|
|
122
|
+
@license MIT
|
|
123
|
+
*/var ud,wh;function Zy(){if(wh)return ud;wh=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 ud=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},ud}var fd,xh;function _p(){if(xh)return fd;xh=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return fd=e,fd}var dd,Sh;function ag(){return Sh||(Sh=1,dd=Function.call.bind(Object.prototype.hasOwnProperty)),dd}var pd,kh;function eb(){if(kh)return pd;kh=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=_p(),r={},i=ag();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={})},pd=a,pd}var hd,Eh;function tb(){if(Eh)return hd;Eh=1;var e=ig(),t=Zy(),r=_p(),i=ag(),a=eb(),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 hd=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:A("array"),bigint:A("bigint"),bool:A("boolean"),func:A("function"),number:A("number"),object:A("object"),string:A("string"),symbol:A("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 A(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},hd}var md,Ch;function nb(){if(Ch)return md;Ch=1;var e=_p();function t(){}function r(){}return r.resetWarningCache=t,md=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},md}var Th;function rb(){if(Th)return vu.exports;if(Th=1,process.env.NODE_ENV!=="production"){var e=ig(),t=!0;vu.exports=tb()(e.isElement,t)}else vu.exports=nb()();return vu.exports}var ob=rb();const _e=Wy(ob);var ib=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function sg(e,t){return e(t={exports:{}},t.exports),t.exports}var ab=sg(function(e){(function(t){var r=function(T,A,U){if(!h(A)||C(A)||x(A)||F(A)||m(A))return A;var j,V=0,$=0;if(v(A))for(j=[],$=A.length;V<$;V++)j.push(r(T,A[V],U));else for(var J in j={},A)Object.prototype.hasOwnProperty.call(A,J)&&(j[T(J,U)]=r(T,A[J],U));return j},i=function(T){return I(T)?T:(T=T.replace(/[\-_\s]+(.)?/g,function(A,U){return U?U.toUpperCase():""})).substr(0,1).toLowerCase()+T.substr(1)},a=function(T){var A=i(T);return A.substr(0,1).toUpperCase()+A.substr(1)},u=function(T,A){return function(U,j){var V=(j=j||{}).separator||"_",$=j.split||/(?=[A-Z])/;return U.split($).join(V)}(T,A).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,A){var U=A&&"process"in A?A.process:A;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,A){return r(L(i,A),T)},decamelizeKeys:function(T,A){return r(L(u,A),T,A)},pascalizeKeys:function(T,A){return r(L(a,A),T)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=D:t.humps=D})(ib)}).decamelize,sb=function(e){if(Array.isArray(e))return e},lb=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}},Rh=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},cb=function(e,t){if(e){if(typeof e=="string")return Rh(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)?Rh(e,t):void 0}},ub=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.`)},fb=function(e,t){return sb(e)||lb(e,t)||cb(e,t)||ub()},lg=sg(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}),db=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},cg=function(e,t){if(e==null)return{};var r,i,a=db(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},pb=O.createContext(null);function ug(e){var t=e.children,r=t===void 0?"":t,i=cg(e,["children"]);return typeof r!="string"&&(r=qy.renderToString(r)),O.createElement("template",lg({},i,{dangerouslySetInnerHTML:{__html:r}}))}function fg(e){var t=e.root,r=e.children;return bc.createPortal(r===void 0?null:r,t)}function hb(e){var t=O.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=cg(r,["mode","delegatesFocus","styleSheets","ssr","children"]),T=(u=O.useRef((a=i)&&a.current),O.useEffect(function(){a&&(a.current=u.current)},[a]),u),A=O.useState(null),U=fb(A,2),j=U[0],V=U[1],$="node_".concat(m).concat(v);return O.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]),O.createElement(O.Fragment,null,O.createElement(e.tag,lg({key:$,ref:T},D),(j||I)&&O.createElement(pb.Provider,{value:j},I?O.createElement(ug,{shadowroot:m,shadowrootmode:m},e.render({root:j,ssr:I,children:L})):O.createElement(fg,{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}ug.propTypes={children:_e.oneOfType([_e.string,_e.node])},fg.propTypes={root:_e.object.isRequired,children:_e.node};var gd=new Map;function mb(){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=ab(a,{separator:"-"}),p="".concat(t,"-").concat(u);return gd.has(p)||gd.set(p,hb({tag:u,render:r})),gd.get(p)}})}var gb=mb(),Ks=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 vb(e,t){return typeof e=="function"?e(t):e}function Nd(e){return typeof e=="number"&&e>=0&&e!==1/0}function dg(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Fs(e,t){return typeof e=="function"?e(t):e}function or(e,t){return typeof e=="function"?e(t):e}function Ph(e,t){const{type:r="all",exact:i,fetchStatus:a,predicate:u,queryKey:p,stale:m}=e;if(p){if(i){if(t.queryHash!==Lp(p,t.options))return!1}else if(!lc(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 Oh(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(!lc(t.options.mutationKey,u))return!1}return!(i&&t.state.status!==i||a&&!a(t))}function Lp(e,t){return((t==null?void 0:t.queryKeyHashFn)||ka)(e)}function ka(e){return JSON.stringify(e,(t,r)=>Bd(r)?Object.keys(r).sort().reduce((i,a)=>(i[a]=r[a],i),{}):r)}function lc(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(r=>lc(e[r],t[r])):!1}function zd(e,t){if(e===t)return e;const r=Ah(e)&&Ah(t);if(r||Bd(e)&&Bd(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]=zd(e[C],t[C]),m[C]===e[C]&&e[C]!==void 0&&h++)}return a===p&&h===a?e:m}return t}function Iu(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 Ah(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Bd(e){if(!Ih(e))return!1;const t=e.constructor;if(t===void 0)return!0;const r=t.prototype;return!(!Ih(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Ih(e){return Object.prototype.toString.call(e)==="[object Object]"}function yb(e){return new Promise(t=>{setTimeout(t,e)})}function Ud(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 zd(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 zd(e,t)}return t}function bb(e,t,r=0){const i=[...e,t];return r&&i.length>r?i.slice(1):i}function wb(e,t,r=0){const i=[t,...e];return r&&i.length>r?i.slice(0,-1):i}var Fu=Symbol();function pg(e,t){return process.env.NODE_ENV!=="production"&&e.queryFn===Fu&&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===Fu?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function hg(e,t){return typeof e=="function"?e(...t):!!e}var pa,ii,$s,Xm,xb=(Xm=class extends Ks{constructor(){super();Ie(this,pa);Ie(this,ii);Ie(this,$s);ge(this,$s,t=>{if(!Sa&&window.addEventListener){const r=()=>t();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}})}onSubscribe(){_(this,ii)||this.setEventListener(_(this,$s))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,ii))==null||t.call(this),ge(this,ii,void 0))}setEventListener(t){var r;ge(this,$s,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,$s=new WeakMap,Xm),$p=new xb,js,ai,Ns,Qm,Sb=(Qm=class extends Ks{constructor(){super();Ie(this,js,!0);Ie(this,ai);Ie(this,Ns);ge(this,Ns,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,Ns))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,ai))==null||t.call(this),ge(this,ai,void 0))}setEventListener(t){var r;ge(this,Ns,t),(r=_(this,ai))==null||r.call(this),ge(this,ai,t(this.setOnline.bind(this)))}setOnline(t){_(this,js)!==t&&(ge(this,js,t),this.listeners.forEach(i=>{i(t)}))}isOnline(){return _(this,js)}},js=new WeakMap,ai=new WeakMap,Ns=new WeakMap,Qm),Mu=new Sb;function Hd(){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 kb(e){return Math.min(1e3*2**e,3e4)}function mg(e){return(e??"online")==="online"?Mu.isOnline():!0}var gg=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function vd(e){return e instanceof gg}function vg(e){let t=!1,r=0,i=!1,a;const u=Hd(),p=D=>{var T;i||(F(new gg(D)),(T=e.abort)==null||T.call(e))},m=()=>{t=!0},h=()=>{t=!1},v=()=>$p.isFocused()&&(e.networkMode==="always"||Mu.isOnline())&&e.canRun(),C=()=>mg(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=A=>{(i||v())&&D(A)},(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(A){D=Promise.reject(A)}Promise.resolve(D).then(x).catch(A=>{var J;if(i)return;const U=e.retry??(Sa?0:3),j=e.retryDelay??kb,V=typeof j=="function"?j(r,A):j,$=U===!0||typeof U=="number"&&r<U||typeof U=="function"&&U(r,A);if(t||!$){F(A);return}r++,(J=e.onFail)==null||J.call(e,r,A),yb(V).then(()=>v()?void 0:I()).then(()=>{t?F(A):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 Eb=e=>setTimeout(e,0);function Cb(){let e=[],t=0,r=m=>{m()},i=m=>{m()},a=Eb;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=Cb(),ha,qm,yg=(qm=class{constructor(){Ie(this,ha)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Nd(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,qm),zs,Bs,Nn,ma,$t,mc,ga,nr,oo,Km,Tb=(Km=class extends yg{constructor(t){super();Ie(this,nr);Ie(this,zs);Ie(this,Bs);Ie(this,Nn);Ie(this,ma);Ie(this,$t);Ie(this,mc);Ie(this,ga);ge(this,ga,!1),ge(this,mc,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,zs,Rb(this.options)),this.state=t.state??_(this,zs),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,mc),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&_(this,Nn).remove(this)}setData(t,r){const i=Ud(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,zs))}isActive(){return this.observers.some(t=>or(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Fu||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||!dg(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=pg(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,Bs,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;vd(x)&&x.silent||Ue(this,nr,oo).call(this,{type:"error",error:x}),vd(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,vg({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()}},zs=new WeakMap,Bs=new WeakMap,Nn=new WeakMap,ma=new WeakMap,$t=new WeakMap,mc=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,...bg(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 vd(a)&&a.revert&&_(this,Bs)?{..._(this,Bs),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})})},Km);function bg(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:mg(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Rb(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,Jm,Pb=(Jm=class extends Ks{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??Lp(a,r);let p=this.get(u);return p||(p=new Tb({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=>Ph(r,i))}findAll(t={}){const r=this.getAll();return Object.keys(t).length>0?r.filter(i=>Ph(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,Jm),Tr,Kt,va,Rr,ri,Zm,Ob=(Zm=class extends yg{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||wg(),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,A,U,j,V,$,J,ae,ne;const r=()=>{Ue(this,Rr,ri).call(this,{type:"continue"})};ge(this,va,vg({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=(A=_(this,Kt).config).onError)==null?void 0:U.call(A,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})})},Zm);function wg(){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,gc,eg,Ab=(eg=class extends Ks{constructor(t={}){super();Ie(this,io);Ie(this,rr);Ie(this,gc);this.config=t,ge(this,io,new Set),ge(this,rr,new Map),ge(this,gc,0)}build(t,r,i){const a=new Ob({mutationCache:this,mutationId:++hu(this,gc)._,options:t.defaultMutationOptions(r),state:i});return this.add(a),a}add(t){_(this,io).add(t);const r=bu(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=bu(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=bu(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=bu(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=>Oh(r,i))}findAll(t={}){return this.getAll().filter(r=>Oh(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,gc=new WeakMap,eg);function bu(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Fh(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)})},A=pg(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 A(J),{maxPages:ne}=t.options,le=$?wb:bb;return{pages:le(j.pages,ae,ne),pageParams:le(j.pageParams,V,ne)}};if(a&&u.length){const j=a==="backward",V=j?Ib:Mh,$={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:Mh(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 Mh(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 Ib(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,Us,Hs,ci,Ws,Vs,tg,Fb=(tg=class{constructor(e={}){Ie(this,pt);Ie(this,si);Ie(this,li);Ie(this,Us);Ie(this,Hs);Ie(this,ci);Ie(this,Ws);Ie(this,Vs);ge(this,pt,e.queryCache||new Pb),ge(this,si,e.mutationCache||new Ab),ge(this,li,e.defaultOptions||{}),ge(this,Us,new Map),ge(this,Hs,new Map),ge(this,ci,0)}mount(){hu(this,ci)._++,_(this,ci)===1&&(ge(this,Ws,$p.subscribe(async e=>{e&&(await this.resumePausedMutations(),_(this,pt).onFocus())})),ge(this,Vs,Mu.subscribe(async e=>{e&&(await this.resumePausedMutations(),_(this,pt).onOnline())})))}unmount(){var e,t;hu(this,ci)._--,_(this,ci)===0&&((e=_(this,Ws))==null||e.call(this),ge(this,Ws,void 0),(t=_(this,Vs))==null||t.call(this),ge(this,Vs,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(Fs(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=vb(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(Fs(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=Fh(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Zt).catch(Zt)}ensureInfiniteQueryData(e){return e.behavior=Fh(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Mu.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,Us).set(ka(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[..._(this,Us).values()],r={};return t.forEach(i=>{lc(e,i.queryKey)&&Object.assign(r,i.defaultOptions)}),r}setMutationDefaults(e,t){_(this,Hs).set(ka(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[..._(this,Hs).values()],r={};return t.forEach(i=>{lc(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=Lp(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===Fu&&(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,Us=new WeakMap,Hs=new WeakMap,ci=new WeakMap,Ws=new WeakMap,Vs=new WeakMap,tg),pn,Ye,vc,Jt,ya,Gs,ui,fi,yc,Ys,Xs,ba,wa,di,Qs,Ze,ql,Wd,Vd,Gd,Yd,Xd,Qd,qd,xg,ng,Mb=(ng=class extends Ks{constructor(t,r){super();Ie(this,Ze);Ie(this,pn);Ie(this,Ye);Ie(this,vc);Ie(this,Jt);Ie(this,ya);Ie(this,Gs);Ie(this,ui);Ie(this,fi);Ie(this,yc);Ie(this,Ys);Ie(this,Xs);Ie(this,ba);Ie(this,wa);Ie(this,di);Ie(this,Qs,new Set);this.options=r,ge(this,pn,t),ge(this,fi,null),ge(this,ui,Hd()),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),Dh(_(this,Ye),this.options)?Ue(this,Ze,ql).call(this):this.updateResult(),Ue(this,Ze,Yd).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Kd(_(this,Ye),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Kd(_(this,Ye),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Ue(this,Ze,Xd).call(this),Ue(this,Ze,Qd).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&&!Iu(this.options,r)&&_(this,pn).getQueryCache().notify({type:"observerOptionsUpdated",query:_(this,Ye),observer:this});const a=this.hasListeners();a&&_h(_(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))||Fs(this.options.staleTime,_(this,Ye))!==Fs(r.staleTime,_(this,Ye)))&&Ue(this,Ze,Wd).call(this);const u=Ue(this,Ze,Vd).call(this);a&&(_(this,Ye)!==i||or(this.options.enabled,_(this,Ye))!==or(r.enabled,_(this,Ye))||u!==_(this,di))&&Ue(this,Ze,Gd).call(this,u)}getOptimisticResult(t){const r=_(this,pn).getQueryCache().build(_(this,pn),t),i=this.createResult(r,t);return _b(this,i)&&(ge(this,Jt,i),ge(this,Gs,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,Qs).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,Gs),v=t!==i?t.state:_(this,vc),{state:C}=t;let x={...C},F=!1,I;if(r._optimisticResults){const ye=this.hasListeners(),De=!ye&&Dh(t,r),Fe=ye&&_h(t,i,r,a);(De||Fe)&&(x={...x,...bg(C.data,t.options)}),r._optimisticResults==="isRestoring"&&(x.fetchStatus="idle")}let{error:L,errorUpdatedAt:D,status:T}=x;I=x.data;let A=!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,A=!0):ye=typeof r.placeholderData=="function"?r.placeholderData((le=_(this,Xs))==null?void 0:le.state.data,_(this,Xs)):r.placeholderData,ye!==void 0&&(T="success",I=Ud(u==null?void 0:u.data,ye,r),F=!0)}if(r.select&&I!==void 0&&!A)if(u&&I===(p==null?void 0:p.data)&&r.select===_(this,yc))I=_(this,Ys);else try{ge(this,yc,r.select),I=r.select(I),I=Ud(u==null?void 0:u.data,I,r),ge(this,Ys,I),ge(this,fi,null)}catch(ye){ge(this,fi,ye)}_(this,fi)&&(L=_(this,fi),I=_(this,Ys),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:jp(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=Hd());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,Gs,this.options),_(this,ya).data!==void 0&&ge(this,Xs,_(this,Ye)),Iu(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,Qs).size)return!0;const p=new Set(u??_(this,Qs));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,xg).call(this,{listeners:i()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Ue(this,Ze,Yd).call(this)}},pn=new WeakMap,Ye=new WeakMap,vc=new WeakMap,Jt=new WeakMap,ya=new WeakMap,Gs=new WeakMap,ui=new WeakMap,fi=new WeakMap,yc=new WeakMap,Ys=new WeakMap,Xs=new WeakMap,ba=new WeakMap,wa=new WeakMap,di=new WeakMap,Qs=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},Wd=function(){Ue(this,Ze,Xd).call(this);const t=Fs(this.options.staleTime,_(this,Ye));if(Sa||_(this,Jt).isStale||!Nd(t))return;const i=dg(_(this,Jt).dataUpdatedAt,t)+1;ge(this,ba,setTimeout(()=>{_(this,Jt).isStale||this.updateResult()},i))},Vd=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(_(this,Ye)):this.options.refetchInterval)??!1},Gd=function(t){Ue(this,Ze,Qd).call(this),ge(this,di,t),!(Sa||or(this.options.enabled,_(this,Ye))===!1||!Nd(_(this,di))||_(this,di)===0)&&ge(this,wa,setInterval(()=>{(this.options.refetchIntervalInBackground||$p.isFocused())&&Ue(this,Ze,ql).call(this)},_(this,di)))},Yd=function(){Ue(this,Ze,Wd).call(this),Ue(this,Ze,Gd).call(this,Ue(this,Ze,Vd).call(this))},Xd=function(){_(this,ba)&&(clearTimeout(_(this,ba)),ge(this,ba,void 0))},Qd=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,vc,t.state),this.hasListeners()&&(r==null||r.removeObserver(this),t.addObserver(this))},xg=function(t){bt.batch(()=>{t.listeners&&this.listeners.forEach(r=>{r(_(this,Jt))}),_(this,pn).getQueryCache().notify({query:_(this,Ye),type:"observerResultsUpdated"})})},ng);function Db(e,t){return or(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Dh(e,t){return Db(e,t)||e.state.data!==void 0&&Kd(e,t,t.refetchOnMount)}function Kd(e,t,r){if(or(t.enabled,e)!==!1){const i=typeof r=="function"?r(e):r;return i==="always"||i!==!1&&jp(e,t)}return!1}function _h(e,t,r,i){return(e!==t||or(i.enabled,e)===!1)&&(!r.suspense||e.state.status!=="error")&&jp(e,r)}function jp(e,t){return or(t.enabled,e)!==!1&&e.isStaleByTime(Fs(t.staleTime,e))}function _b(e,t){return!Iu(e.getCurrentResult(),t)}var pi,hi,hn,ao,fo,Ru,Jd,rg,Lb=(rg=class extends Ks{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,Ru).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),Iu(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,Ru).call(this),Ue(this,fo,Jd).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,Ru).call(this),Ue(this,fo,Jd).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,Ru=function(){var i;const r=((i=_(this,hn))==null?void 0:i.state)??wg();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})},Jd=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))})})},rg),Sg=pe.createContext(void 0),kg=e=>{const t=pe.useContext(Sg);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},$b=({client:e,children:t})=>(pe.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),q.jsx(Sg.Provider,{value:e,children:t})),Eg=pe.createContext(!1),jb=()=>pe.useContext(Eg);Eg.Provider;function Nb(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var zb=pe.createContext(Nb()),Bb=()=>pe.useContext(zb),Ub=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},Hb=e=>{pe.useEffect(()=>{e.clearReset()},[e])},Wb=({result:e,errorResetBoundary:t,throwOnError:r,query:i,suspense:a})=>e.isError&&!t.isReset()&&!e.isFetching&&i&&(a&&e.data===void 0||hg(r,[e.error,i])),Vb=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)))},Gb=(e,t)=>e.isLoading&&e.isFetching&&!t,Yb=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,Lh=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()});function Xb(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=kg(r),a=jb(),u=Bb(),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",Vb(p),Ub(p,u),Hb(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 A=C?h.subscribe(bt.batchCalls(T)):Zt;return h.updateResult(),A},[h,C]),()=>h.getCurrentResult(),()=>h.getCurrentResult()),pe.useEffect(()=>{h.setOptions(p)},[p,h]),Yb(p,v))throw Lh(p,h,u);if(Wb({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&&Gb(v,a)){const T=m?Lh(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 Np(e,t){return Xb(e,Mb,t)}function Cg(e,t){const r=kg(t),[i]=pe.useState(()=>new Lb(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&&hg(i.options.throwOnError,[a.error]))throw a.error;return{...a,mutate:u,mutateAsync:a.mutate}}const zp=O.createContext(null);zp.Provider;const Js=()=>O.useContext(zp),Tg=({children:e})=>{const[t]=O.useState(new Fb);return console.log("Confidence Playbook Context Initialized"),q.jsx(zp.Provider,{value:{queryClient:t},children:q.jsx($b,{client:t,children:e})})},ut={OPEN:"Open",IN_PROGRESS:"In progress",IN_REVIEW:"In review",COMPLETED:"Completed"},Rg="https://marketplace.confidence.com/api",wc=Rg+"/confidence",$h=Rg+"/dropbox/prod",Qb=async e=>{const t={taskInstanceId:e},r=new Headers;return r.append("Content-Type","application/json"),await(await fetch(`${wc}/playbook-task-complete`,{method:"POST",headers:r,body:JSON.stringify(t)})).json()},qb=()=>{const{queryClient:e}=Js(),t=Cg({mutationFn:async i=>Qb(i)},e);return{completeTask:async i=>t.mutateAsync(i,{onSuccess:()=>{console.log("Task completed successfully")},onError:a=>{console.error("Error completing task:",a)}}),...t}},Kb=async e=>{const t={taskInstanceId:e},r=new Headers;r.append("Content-Type","application/json");const a=await(await fetch(`${wc}/playbook-task-start`,{method:"POST",headers:r,body:JSON.stringify(t)})).json();return console.log({data:a}),a},Jb=()=>{const{queryClient:e}=Js(),t=Cg({mutationFn:async i=>{const a=await Kb(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}},Pg=(e,t)=>{const{queryClient:r}=Js(),i=Np({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))}}},Zb=(e,t)=>{const{queryClient:r}=Js(),{completeTask:i}=qb(),{startTask:a}=Jb(),{toggleTaskExpanded:u}=Pg(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}}))}}},e0=e=>{var a;const{queryClient:t}=Js(),r=Np({queryFn:async()=>{const u=new Headers,p=await fetch(`${wc}/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=Zb(e,{quickComplete:(a=r.data)==null?void 0:a.quickComplete});return{playbook:r.data,isLoading:r.isLoading,error:r.error,actions:i}},tc={START:"START",PAUSE:"PAUSE",COMPLETE:"COMPLETE"},t0={START:"Start",PAUSE:"Pause",RESUME:"Resume",COMPLETE:"Complete"},n0=e=>{const{taskStatus:t,canStart:r}=e;return{buttons:O.useMemo(()=>t===ut.OPEN&&r?[tc.START]:t===ut.IN_PROGRESS?[tc.PAUSE,tc.COMPLETE]:t===ut.COMPLETED?[]:[],[e.taskStatus,e.canStart])}},Og=async e=>{const t=new Headers;t.append("Content-Type","application/json");const i=await(await fetch(`${wc}/playbook-initiate`,{method:"POST",headers:t,body:JSON.stringify(e)})).json();return console.log({data:i}),i},Bp="-",r0=e=>{const t=i0(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:p=>{const m=p.split(Bp);return m[0]===""&&m.length!==1&&m.shift(),Ag(m,t)||o0(p)},getConflictingClassGroupIds:(p,m)=>{const h=r[p]||[];return m&&i[p]?[...h,...i[p]]:h}}},Ag=(e,t)=>{var p;if(e.length===0)return t.classGroupId;const r=e[0],i=t.nextPart.get(r),a=i?Ag(e.slice(1),i):void 0;if(a)return a;if(t.validators.length===0)return;const u=e.join(Bp);return(p=t.validators.find(({validator:m})=>m(u)))==null?void 0:p.classGroupId},jh=/^\[(.+)\]$/,o0=e=>{if(jh.test(e)){const t=jh.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},i0=e=>{const{theme:t,classGroups:r}=e,i={nextPart:new Map,validators:[]};for(const a in r)Zd(r[a],i,a,t);return i},Zd=(e,t,r,i)=>{e.forEach(a=>{if(typeof a=="string"){const u=a===""?t:Nh(t,a);u.classGroupId=r;return}if(typeof a=="function"){if(a0(a)){Zd(a(i),t,r,i);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([u,p])=>{Zd(p,Nh(t,u),r,i)})})},Nh=(e,t)=>{let r=e;return t.split(Bp).forEach(i=>{r.nextPart.has(i)||r.nextPart.set(i,{nextPart:new Map,validators:[]}),r=r.nextPart.get(i)}),r},a0=e=>e.isThemeGetter,s0=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)}}},ep="!",tp=":",l0=tp.length,c0=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===tp){u.push(a.slice(h,L)),h=L+l0;continue}if(D==="/"){v=L;continue}}D==="["?p++:D==="]"?p--:D==="("?m++:D===")"&&m--}const C=u.length===0?a:a.substring(h),x=u0(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+tp,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},u0=e=>e.endsWith(ep)?e.substring(0,e.length-1):e.startsWith(ep)?e.substring(1):e,f0=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}},d0=e=>({cache:s0(e.cacheSize),parseClassName:c0(e),sortModifiers:f0(e),...r0(e)}),p0=/\s+/,h0=(e,t)=>{const{parseClassName:r,getClassGroupId:i,getConflictingClassGroupIds:a,sortModifiers:u}=t,p=[],m=e.trim().split(p0);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,A=i(T?L.substring(0,D):L);if(!A){if(!T){h=C+(h.length>0?" "+h:h);continue}if(A=i(L),!A){h=C+(h.length>0?" "+h:h);continue}T=!1}const U=u(F).join(":"),j=I?U+ep:U,V=j+A;if(p.includes(V))continue;p.push(V);const $=a(A,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 m0(){let e=0,t,r,i="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ig(t))&&(i&&(i+=" "),i+=r);return i}const Ig=e=>{if(typeof e=="string")return e;let t,r="";for(let i=0;i<e.length;i++)e[i]&&(t=Ig(e[i]))&&(r&&(r+=" "),r+=t);return r};function g0(e,...t){let r,i,a,u=p;function p(h){const v=t.reduce((C,x)=>x(C),e());return r=d0(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=h0(h,r);return a(h,C),C}return function(){return u(m0.apply(null,arguments))}}const yt=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},Fg=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Mg=/^\((?:(\w[\w-]*):)?(.+)\)$/i,v0=/^\d+\/\d+$/,y0=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,b0=/\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$/,w0=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,x0=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,S0=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Rs=e=>v0.test(e),He=e=>!!e&&!Number.isNaN(Number(e)),ti=e=>!!e&&Number.isInteger(Number(e)),yd=e=>e.endsWith("%")&&He(e.slice(0,-1)),ro=e=>y0.test(e),k0=()=>!0,E0=e=>b0.test(e)&&!w0.test(e),Dg=()=>!1,C0=e=>x0.test(e),T0=e=>S0.test(e),R0=e=>!be(e)&&!we(e),P0=e=>Zs(e,$g,Dg),be=e=>Fg.test(e),sa=e=>Zs(e,jg,E0),bd=e=>Zs(e,M0,He),zh=e=>Zs(e,_g,Dg),O0=e=>Zs(e,Lg,T0),wu=e=>Zs(e,Ng,C0),we=e=>Mg.test(e),Xl=e=>el(e,jg),A0=e=>el(e,D0),Bh=e=>el(e,_g),I0=e=>el(e,$g),F0=e=>el(e,Lg),xu=e=>el(e,Ng,!0),Zs=(e,t,r)=>{const i=Fg.exec(e);return i?i[1]?t(i[1]):r(i[2]):!1},el=(e,t,r=!1)=>{const i=Mg.exec(e);return i?i[1]?t(i[1]):r:!1},_g=e=>e==="position"||e==="percentage",Lg=e=>e==="image"||e==="url",$g=e=>e==="length"||e==="size"||e==="bg-size",jg=e=>e==="length",M0=e=>e==="number",D0=e=>e==="family-name",Ng=e=>e==="shadow",_0=()=>{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"),A=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(),Bh,zh,{position:[we,be]}],Y=()=>["no-repeat",{repeat:["","x","y","space","round"]}],K=()=>["auto","cover","contain",I0,P0,{size:[we,be]}],fe=()=>[yd,Xl,sa],te=()=>["","none","full",v,we,be],he=()=>["",He,Xl,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,yd,Bh,zh],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:[k0],container:[ro],"drop-shadow":[ro],ease:["in","out","in-out"],font:[R0],"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,Xl,sa]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,we,bd]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",yd,be]}],"font-family":[{font:[A0,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,bd]}],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]},F0,O0]}],"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,Xl,sa]}],"outline-color":[{outline:Z()}],shadow:[{shadow:["","none",C,xu,wu]}],"shadow-color":[{shadow:Z()}],"inset-shadow":[{"inset-shadow":["none",x,xu,wu]}],"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,xu,wu]}],"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,xu,wu]}],"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",A,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,Xl,sa,bd]}],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"]}},Ms=g0(_0);function zg(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=zg(e[t]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r);return i}function cc(){for(var e,t,r=0,i="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=zg(e))&&(i&&(i+=" "),i+=t);return i}function wt(...e){return Ms(cc(e))}const Bg=typeof document<"u"?O.useLayoutEffect:()=>{};function L0(e){const t=O.useRef(null);return Bg(()=>{t.current=e},[e]),O.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 $0(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function j0(e){return $0(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let N0=!1;function Up(){return N0}function Ug(e,t){if(!Up())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:j0(r)?r=r.host:r=r.parentNode}return!1}const np=(e=document)=>{var t;if(!Up())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 Hg(e){return Up()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}function Wu(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 Hp(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 Wp=vo(function(){return Hp(/^Mac/i)}),z0=vo(function(){return Hp(/^iPhone/i)}),B0=vo(function(){return Hp(/^iPad/i)||Wp()&&navigator.maxTouchPoints>1}),U0=vo(function(){return z0()||B0()});vo(function(){return Wp()||U0()});vo(function(){return Wu(/AppleWebKit/i)&&!H0()});const H0=vo(function(){return Wu(/Chrome/i)}),W0=vo(function(){return Wu(/Android/i)});vo(function(){return Wu(/Firefox/i)});function Wg(){let e=O.useRef(new Map),t=O.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=O.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=O.useCallback(()=>{e.current.forEach((a,u)=>{r(a.eventTarget,a.type,u,a.options)})},[r]);return O.useEffect(()=>i,[i]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:i}}function V0(e){return e.mozInputSource===0&&e.isTrusted?!0:W0()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function Vg(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function G0(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function Gg(e){let t=O.useRef({isFocused:!1,observer:null});Bg(()=>{const i=t.current;return()=>{i.observer&&(i.observer.disconnect(),i.observer=null)}},[]);let r=L0(i=>{e==null||e(i)});return O.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=Vg(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 Y0=!1,xc=null,rp=new Set,nc=new Map,Ea=!1,op=!1;const X0={Tab:!0,Escape:!0};function Vp(e,t){for(let r of rp)r(e,t)}function Q0(e){return!(e.metaKey||!Wp()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Du(e){Ea=!0,Q0(e)&&(xc="keyboard",Vp("keyboard",e))}function zn(e){xc="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Ea=!0,Vp("pointer",e))}function Yg(e){V0(e)&&(Ea=!0,xc="virtual")}function Xg(e){e.target===window||e.target===document||Y0||!e.isTrusted||(!Ea&&!op&&(xc="virtual",Vp("virtual",e)),Ea=!1,op=!1)}function Qg(){Ea=!1,op=!0}function ip(e){if(typeof window>"u"||typeof document>"u"||nc.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",Du,!0),r.addEventListener("keyup",Du,!0),r.addEventListener("click",Yg,!0),t.addEventListener("focus",Xg,!0),t.addEventListener("blur",Qg,!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",()=>{qg(e)},{once:!0}),nc.set(t,{focus:i})}const qg=(e,t)=>{const r=ua(e),i=ki(e);t&&i.removeEventListener("DOMContentLoaded",t),nc.has(r)&&(r.HTMLElement.prototype.focus=nc.get(r).focus,i.removeEventListener("keydown",Du,!0),i.removeEventListener("keyup",Du,!0),i.removeEventListener("click",Yg,!0),r.removeEventListener("focus",Xg,!0),r.removeEventListener("blur",Qg,!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)),nc.delete(r))};function q0(e){const t=ki(e);let r;return t.readyState!=="loading"?ip(e):(r=()=>{ip(e)},t.addEventListener("DOMContentLoaded",r)),()=>qg(e,r)}typeof document<"u"&&q0();function Kg(){return xc!=="pointer"}const K0=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function J0(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&&!K0.has(i.activeElement.type)||i.activeElement instanceof u||i.activeElement instanceof p&&i.activeElement.isContentEditable,!(e&&t==="keyboard"&&r instanceof m&&!X0[r.key])}function Z0(e,t,r){ip(),O.useEffect(()=>{let i=(a,u)=>{J0(!!(r!=null&&r.isTextInput),a,u)&&e(Kg())};return rp.add(i),()=>{rp.delete(i)}},t)}function ew(e){let{isDisabled:t,onFocus:r,onBlur:i,onFocusChange:a}=e;const u=O.useCallback(h=>{if(h.target===h.currentTarget)return i&&i(h),a&&a(!1),!0},[i,a]),p=Gg(u),m=O.useCallback(h=>{const v=ki(h.target),C=v?np(v):np();h.target===h.currentTarget&&C===Hg(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 tw(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:i,onFocusWithinChange:a}=e,u=O.useRef({isFocusWithin:!1}),{addGlobalListener:p,removeAllGlobalListeners:m}=Wg(),h=O.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=Gg(h),C=O.useCallback(x=>{if(!x.currentTarget.contains(x.target))return;const F=ki(x.target),I=np(F);if(!u.current.isFocusWithin&&I===Hg(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&&!Ug(L,D.target)){let T=new F.defaultView.FocusEvent("blur",{relatedTarget:D.target});G0(T,L);let A=Vg(T);h(A)}},{capture:!0})}},[i,a,v,p,h]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:C,onBlur:h}}}let _u=!1,wd=0;function ap(){_u=!0,setTimeout(()=>{_u=!1},50)}function Uh(e){e.pointerType==="touch"&&ap()}function nw(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",Uh):process.env.NODE_ENV==="test"&&document.addEventListener("touchend",ap),wd++,()=>{wd--,!(wd>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",Uh):process.env.NODE_ENV==="test"&&document.removeEventListener("touchend",ap))}}function rw(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:i,isDisabled:a}=e,[u,p]=O.useState(!1),m=O.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;O.useEffect(nw,[]);let{addGlobalListener:h,removeAllGlobalListeners:v}=Wg(),{hoverProps:C,triggerHoverEnd:x}=O.useMemo(()=>{let F=(D,T)=>{if(m.pointerType=T,a||T==="touch"||m.isHovered||!D.currentTarget.contains(D.target))return;m.isHovered=!0;let A=D.currentTarget;m.target=A,h(ki(D.target),"pointerover",U=>{m.isHovered&&m.target&&!Ug(m.target,U.target)&&I(U,U.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:A,pointerType:T}),r&&r(!0),p(!0)},I=(D,T)=>{let A=m.target;m.pointerType="",m.target=null,!(T==="touch"||!m.isHovered||!A)&&(m.isHovered=!1,v(),i&&i({type:"hoverend",target:A,pointerType:T}),r&&r(!1),p(!1))},L={};return typeof PointerEvent<"u"?(L.onPointerEnter=D=>{_u&&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&&!_u&&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 O.useEffect(()=>{a&&x({currentTarget:m.target},m.pointerType)},[a]),{hoverProps:C,isHovered:u}}function ow(e={}){let{autoFocus:t=!1,isTextInput:r,within:i}=e,a=O.useRef({isFocused:!1,isFocusVisible:t||Kg()}),[u,p]=O.useState(!1),[m,h]=O.useState(()=>a.current.isFocused&&a.current.isFocusVisible),v=O.useCallback(()=>h(a.current.isFocused&&a.current.isFocusVisible),[]),C=O.useCallback(I=>{a.current.isFocused=I,p(I),v()},[v]);Z0(I=>{a.current.isFocusVisible=I,v()},[],{isTextInput:r});let{focusProps:x}=ew({isDisabled:i,onFocusChange:C}),{focusWithinProps:F}=tw({isDisabled:!i,onFocusWithinChange:C});return{isFocused:u,isFocusVisible:m,focusProps:i?F:x}}var iw=Object.defineProperty,aw=(e,t,r)=>t in e?iw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,xd=(e,t,r)=>(aw(e,typeof t!="symbol"?t+"":t,r),r);let sw=class{constructor(){xd(this,"current",this.detect()),xd(this,"handoffState","pending"),xd(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 sw;function Vu(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 Gu(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 Gu(()=>{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 Gp(){let[e]=O.useState(yo);return O.useEffect(()=>()=>e.dispose(),[e]),e}let Mt=(e,t)=>{xa.isServer?O.useEffect(e,t):O.useLayoutEffect(e,t)};function Ra(e){let t=O.useRef(e);return Mt(()=>{t.current=e},[e]),t}let tt=function(e){let t=Ra(e);return O.useCallback((...r)=>t.current(...r),[t])},Jg=O.createContext(void 0);function Yu(){return O.useContext(Jg)}function lw({value:e,children:t}){return O.createElement(Jg.Provider,{value:e},t)}function sp(...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 Lu=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Lu||{}),mi=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(mi||{});function en(){let e=uw();return O.useCallback(t=>cw({mergeRefs:e,...t}),[e])}function cw({ourProps:e,theirProps:t,slot:r,defaultTag:i,features:a,visible:u=!0,name:p,mergeRefs:m}){m=m??fw;let h=Zg(t,e);if(u)return Su(h,r,i,p,m);let v=a??0;if(v&2){let{static:C=!1,...x}=h;if(C)return Su(x,r,i,p,m)}if(v&1){let{unmount:C=!0,...x}=h;return po(C?0:1,{0(){return null},1(){return Su({...x,hidden:!0,style:{display:"none"}},r,i,p,m)}})}return Su(h,r,i,p,m)}function Su(e,t={},r,i,a){let{as:u=r,children:p,refName:m="ref",...h}=Sd(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===O.Fragment&&(Object.keys(la(h)).length>0||Object.keys(la(x)).length>0))if(!O.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"?(...A)=>sp(I(...A),h.className):sp(I,h.className),D=L?{className:L}:{},T=Zg(C.props,la(Sd(h,["ref"])));for(let A in x)A in T&&delete x[A];return O.cloneElement(C,Object.assign({},T,x,v,{ref:a(pw(C),v.ref)},D))}return O.createElement(u,Object.assign({},Sd(h,["ref"]),u!==O.Fragment&&v,u!==O.Fragment&&x),C)}function uw(){let e=O.useRef([]),t=O.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 fw(...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 Zg(...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 dw(...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(O.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 Sd(e,t=[]){let r=Object.assign({},e);for(let i of t)i in r&&delete r[i];return r}function pw(e){return O.version.split(".")[0]>="19"?e.props.ref:e.ref}let hw="span";var uc=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(uc||{});function mw(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:hw,name:"Hidden"})}let $u=Dt(mw),gw=O.createContext(null);function vw(e){let[t,r]=O.useState(null);return O.createElement(gw.Provider,{value:{target:t}},e.children,O.createElement($u,{features:uc.Hidden,ref:r}))}let ev=O.createContext(void 0);function tv(){return O.useContext(ev)}function yw({id:e,children:t}){return O.createElement(ev.Provider,{value:e},t)}function nv(e){return typeof e!="object"||e===null?!1:"nodeType"in e}function lo(e){return nv(e)&&"tagName"in e}function yi(e){return lo(e)&&"accessKey"in e}function gi(e){return lo(e)&&"tabIndex"in e}function bw(e){return lo(e)&&"style"in e}function ww(e){return yi(e)&&e.nodeName==="IFRAME"}function rv(e){return yi(e)&&e.nodeName==="INPUT"}function Hh(e){return yi(e)&&e.nodeName==="LABEL"}function xw(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 ov=Symbol();function Sw(e,t=!0){return Object.assign(e,{[ov]:t})}function sr(...e){let t=O.useRef(e);O.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[ov]))?void 0:r}let Xu=O.createContext(null);Xu.displayName="DescriptionContext";function iv(){let e=O.useContext(Xu);if(e===null){let t=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,iv),t}return e}function kw(){var e,t;return(t=(e=O.useContext(Xu))==null?void 0:e.value)!=null?t:void 0}function av(){let[e,t]=O.useState([]);return[e.length>0?e.join(" "):void 0,O.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=O.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 O.createElement(Xu.Provider,{value:a},r.children)},[t])]}let Ew="p";function Cw(e,t){let r=O.useId(),i=Yu(),{id:a=`headlessui-description-${r}`,...u}=e,p=iv(),m=sr(t);Mt(()=>p.register(a),[a,p.register]);let h=i||!1,v=O.useMemo(()=>({...p.slot,disabled:h}),[p.slot,h]),C={ref:m,...p.props,id:a};return en()({ourProps:C,theirProps:u,slot:v,defaultTag:Ew,name:p.name||"Description"})}let Tw=Dt(Cw),sv=Object.assign(Tw,{});var lv=(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))(lv||{});let Qu=O.createContext(null);Qu.displayName="LabelContext";function cv(){let e=O.useContext(Qu);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,cv),t}return e}function uv(e){var t,r,i;let a=(r=(t=O.useContext(Qu))==null?void 0:t.value)!=null?r:void 0;return((i=void 0)!=null?i:0)>0?[a,...e].filter(Boolean).join(" "):a}function Rw({inherit:e=!1}={}){let t=uv(),[r,i]=O.useState([]),a=e?[t,...r].filter(Boolean):r;return[a.length>0?a.join(" "):void 0,O.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=O.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 O.createElement(Qu.Provider,{value:m},u.children)},[i])]}let Pw="label";function Ow(e,t){var r;let i=O.useId(),a=cv(),u=tv(),p=Yu(),{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 A=T.currentTarget;if(!(T.target!==T.currentTarget&&xw(T.target))&&(Hh(A)&&T.preventDefault(),a.props&&"onClick"in a.props&&typeof a.props.onClick=="function"&&a.props.onClick(T),Hh(A))){let U=document.getElementById(A.htmlFor);if(U){let j=U.getAttribute("disabled");if(j==="true"||j==="")return;let V=U.getAttribute("aria-disabled");if(V==="true"||V==="")return;(rv(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=O.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?Pw:"div",name:a.name||"Label"})}let Aw=Dt(Ow),Iw=Object.assign(Aw,{}),Fw=O.createContext(()=>{});function Mw({value:e,children:t}){return O.createElement(Fw.Provider,{value:e},t)}let fv=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 Dw=Object.defineProperty,_w=(e,t,r)=>t in e?Dw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Lw=(e,t,r)=>(_w(e,t+"",r),r),dv=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},jn=(e,t,r)=>(dv(e,t,"read from private field"),r?r.call(e):t.get(e)),kd=(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)},Wh=(e,t,r,i)=>(dv(e,t,"write to private field"),t.set(e,r),r),Er,Kl,Jl;let $w=class{constructor(t){kd(this,Er,{}),kd(this,Kl,new fv(()=>new Set)),kd(this,Jl,new Set),Lw(this,"disposables",yo()),Wh(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,Jl).add(i),this.disposables.add(()=>{jn(this,Jl).delete(i)})}on(t,r){return jn(this,Kl).get(t).add(r),this.disposables.add(()=>{jn(this,Kl).get(t).delete(r)})}send(t){let r=this.reduce(jn(this,Er),t);if(r!==jn(this,Er)){Wh(this,Er,r);for(let i of jn(this,Jl)){let a=i.selector(jn(this,Er));pv(i.current,a)||(i.current=a,i.callback(a))}for(let i of jn(this,Kl).get(t.type))i(jn(this,Er),t)}}};Er=new WeakMap,Kl=new WeakMap,Jl=new WeakMap;function pv(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:Ed(e[Symbol.iterator](),t[Symbol.iterator]()):e instanceof Map&&t instanceof Map||e instanceof Set&&t instanceof Set?e.size!==t.size?!1:Ed(e.entries(),t.entries()):Vh(e)&&Vh(t)?Ed(Object.entries(e)[Symbol.iterator](),Object.entries(t)[Symbol.iterator]()):!1}function Ed(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 Vh(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}var jw=Object.defineProperty,Nw=(e,t,r)=>t in e?jw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Gh=(e,t,r)=>(Nw(e,typeof t!="symbol"?t+"":t,r),r),zw=(e=>(e[e.Push=0]="Push",e[e.Pop=1]="Pop",e))(zw||{});let Bw={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}}},Uw=class hv extends $w{constructor(){super(...arguments),Gh(this,"actions",{push:t=>this.send({type:0,id:t}),pop:t=>this.send({type:1,id:t})}),Gh(this,"selectors",{isTop:(t,r)=>t.stack[t.stack.length-1]===r,inStack:(t,r)=>t.stack.includes(r)})}static new(){return new hv({stack:[]})}reduce(t,r){return po(r.type,Bw,t,r)}};const mv=new fv(()=>Uw.new());var ku={exports:{}},Cd={};/**
|
|
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 Yh;function Hw(){if(Yh)return Cd;Yh=1;var e=O;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 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(!A){if(A=!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 A=!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},Cd}var Td={};/**
|
|
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 Xh;function Ww(){return Xh||(Xh=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=O,r=typeof Object.is=="function"?Object.is:e,i=t.useSyncExternalStore,a=t.useRef,u=t.useEffect,p=t.useMemo,m=t.useDebugValue;Td.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(!A){if(A=!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 A=!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())}()),Td}var Qh;function Vw(){return Qh||(Qh=1,process.env.NODE_ENV==="production"?ku.exports=Hw():ku.exports=Ww()),ku.exports}var Gw=Vw();function gv(e,t,r=pv){return Gw.useSyncExternalStoreWithSelector(tt(i=>e.subscribe(Yw,i)),tt(()=>e.state),tt(()=>e.state),tt(t),r)}function Yw(e){return e}function Sc(e,t){let r=O.useId(),i=mv.get(t),[a,u]=gv(i,O.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 lp=new Map,rc=new Map;function qh(e){var t;let r=(t=rc.get(e))!=null?t:0;return rc.set(e,r+1),r!==0?()=>Kh(e):(lp.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0,()=>Kh(e))}function Kh(e){var t;let r=(t=rc.get(e))!=null?t:1;if(r===1?rc.delete(e):rc.set(e,r-1),r!==1)return;let i=lp.get(e);i&&(i["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",i["aria-hidden"]),e.inert=i.inert,lp.delete(e))}function Xw(e,{allowed:t,disallowed:r}={}){let i=Sc(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(qh(h));let m=(u=t==null?void 0:t())!=null?u:[];for(let h of m){if(!h)continue;let v=Vu(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(qh(x));C=C.parentElement}}return p.dispose},[i,t,r])}function Qw(e,t,r){let i=Ra(a=>{let u=a.getBoundingClientRect();u.x===0&&u.y===0&&u.width===0&&u.height===0&&r()});O.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 ju=["[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(","),qw=["[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||{}),cp=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(cp||{}),Kw=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Kw||{});function Jw(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(ju)).sort((t,r)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(r.tabIndex||Number.MAX_SAFE_INTEGER)))}function Zw(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(qw)).sort((t,r)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(r.tabIndex||Number.MAX_SAFE_INTEGER)))}var vv=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(vv||{});function ex(e,t=0){var r;return e===((r=Vu(e))==null?void 0:r.body)?!1:po(t,{0(){return e.matches(ju)},1(){let i=e;for(;i!==null;){if(i.matches(ju))return!0;i=i.parentElement}return!1}})}var tx=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(tx||{});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 nx=["textarea","input"].join(",");function rx(e){var t,r;return(r=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,nx))!=null?r:!1}function ox(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 oc(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?ox(e):e:t&64?Zw(e):Jw(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&&rx(F)&&F.select(),2}function yv(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function ix(){return/Android/gi.test(window.navigator.userAgent)}function Jh(){return yv()||ix()}function Eu(e,t,r,i){let a=Ra(r);O.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 bv(e,t,r,i){let a=Ra(r);O.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 Zh=30;function ax(e,t,r){let i=Ra(r),a=O.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!ex(v,vv.Loose)&&v.tabIndex!==-1&&m.preventDefault(),i.current(m,v)},[i,t]),u=O.useRef(null);Eu(e,"pointerdown",m=>{var h,v;Jh()||(u.current=((v=(h=m.composedPath)==null?void 0:h.call(m))==null?void 0:v[0])||m.target)},!0),Eu(e,"pointerup",m=>{if(Jh()||!u.current)return;let h=u.current;return u.current=null,a(m,()=>h)},!0);let p=O.useRef({x:0,y:0});Eu(e,"touchstart",m=>{p.current.x=m.touches[0].clientX,p.current.y=m.touches[0].clientY},!0),Eu(e,"touchend",m=>{let h={x:m.changedTouches[0].clientX,y:m.changedTouches[0].clientY};if(!(Math.abs(h.x-p.current.x)>=Zh||Math.abs(h.y-p.current.y)>=Zh))return a(m,()=>gi(m.target)?m.target:null)},!0),bv(e,"blur",m=>a(m,()=>ww(window.document.activeElement)?window.document.activeElement:null),!0)}function qu(...e){return O.useMemo(()=>Vu(...e),[...e])}function wv(e,t,r,i){let a=Ra(r);O.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 sx(e){return O.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot)}function lx(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 cx(){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 ux(){return yv()?{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)&&bw(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(rv(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 fx(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function dx(e){let t={};for(let r of e)Object.assign(t,r(t));return t}let fa=lx(()=>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:dx(r)},a=[ux(),cx(),fx()];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 px(e,t,r=()=>({containers:[]})){let i=sx(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 hx(e,t,r=()=>[document.body]){let i=Sc(e,"scroll-lock");px(i,t,a=>{var u;return{containers:[...(u=a.containers)!=null?u:[],r]}})}function mx(e=0){let[t,r]=O.useState(e),i=O.useCallback(h=>r(h),[t]),a=O.useCallback(h=>r(v=>v|h),[t]),u=O.useCallback(h=>(t&h)===h,[t]),p=O.useCallback(h=>r(v=>v&~h),[r]),m=O.useCallback(h=>r(v=>v^h),[r]);return{flags:t,setFlag:i,addFlag:a,hasFlag:u,removeFlag:p,toggleFlag:m}}var em,tm;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((em=process==null?void 0:process.env)==null?void 0:em.NODE_ENV)==="test"&&typeof((tm=Element==null?void 0:Element.prototype)==null?void 0:tm.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 gx=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(gx||{});function vx(e){let t={};for(let r in e)e[r]===!0&&(t[`data-${r}`]="");return t}function yx(e,t,r,i){let[a,u]=O.useState(r),{hasFlag:p,addFlag:m,removeFlag:h}=mx(e&&a?3:0),v=O.useRef(!1),C=O.useRef(!1),x=Gp();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),bx(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 bx(e,{prepare:t,run:r,done:i,inFlight:a}){let u=yo();return xx(e,{prepare:t,inFlight:a}),u.nextFrame(()=>{r(),u.requestAnimationFrame(()=>{u.add(wx(e,i))})}),u.dispose}function wx(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 xx(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 Yp(e,t){let r=O.useRef([]),i=tt(e);O.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 Ku(){return typeof window<"u"}function tl(e){return xv(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=(xv(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function xv(e){return Ku()?e instanceof Node||e instanceof xn(e).Node:!1}function ht(e){return Ku()?e instanceof Element||e instanceof xn(e).Element:!1}function ar(e){return Ku()?e instanceof HTMLElement||e instanceof xn(e).HTMLElement:!1}function up(e){return!Ku()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof xn(e).ShadowRoot}function kc(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 Sx(e){return["table","td","th"].includes(tl(e))}function Ju(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Xp(e){const t=Zu(),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 kx(e){let t=ho(e);for(;ar(t)&&!uo(t);){if(Xp(t))return t;if(Ju(t))return null;t=ho(t)}return null}function Zu(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function uo(e){return["html","body","#document"].includes(tl(e))}function Bn(e){return xn(e).getComputedStyle(e)}function ef(e){return ht(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ho(e){if(tl(e)==="html")return e;const t=e.assignedSlot||e.parentNode||up(e)&&e.host||bo(e);return up(t)?t.host:t}function Sv(e){const t=ho(e);return uo(t)?e.ownerDocument?e.ownerDocument.body:e.body:ar(t)&&kc(t)?t:Sv(t)}function Ds(e,t,r){var i;t===void 0&&(t=[]),r===void 0&&(r=!0);const a=Sv(e),u=a===((i=e.ownerDocument)==null?void 0:i.body),p=xn(a);if(u){const m=fp(p);return t.concat(p,p.visualViewport||[],kc(a)?a:[],m&&r?Ds(m):[])}return t.concat(a,Ds(a,[],r))}function fp(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}const nm=Math.min,ic=Math.max,Nu=Math.round,Ar=e=>({x:e,y:e});function kv(e){return e.split("-")[0]}function Ex(e){return e.split("-")[1]}function Cx(e){return e==="x"?"y":"x"}function Tx(e){return e==="y"?"height":"width"}function Ev(e){return["top","bottom"].includes(kv(e))?"y":"x"}function Rx(e){return Cx(Ev(e))}function Cv(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 rm(e,t,r){let{reference:i,floating:a}=e;const u=Ev(t),p=Rx(t),m=Tx(p),h=kv(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(Ex(t)){case"start":I[p]-=F*(r&&v?-1:1);break;case"end":I[p]+=F*(r&&v?-1:1);break}return I}const Px=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}=rm(v,i,h),F=i,I={},L=0;for(let D=0;D<m.length;D++){const{name:T,fn:A}=m[D],{x:U,y:j,data:V,reset:$}=await A({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}=rm(v,F,h)),D=-1)}return{x:C,y:x,placement:F,strategy:a,middlewareData:I}};function Tv(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=Nu(r)!==u||Nu(i)!==p;return m&&(r=u,i=p),{width:r,height:i,$:m}}function Rv(e){return ht(e)?e:e.contextElement}function _s(e){const t=Rv(e);if(!ar(t))return Ar(1);const r=t.getBoundingClientRect(),{width:i,height:a,$:u}=Tv(t);let p=(u?Nu(r.width):r.width)/i,m=(u?Nu(r.height):r.height)/a;return(!p||!Number.isFinite(p))&&(p=1),(!m||!Number.isFinite(m))&&(m=1),{x:p,y:m}}const Ox=Ar(0);function Pv(e){const t=xn(e);return!Zu()||!t.visualViewport?Ox:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ax(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==xn(e)?!1:t}function fc(e,t,r,i){t===void 0&&(t=!1),r===void 0&&(r=!1);const a=e.getBoundingClientRect(),u=Rv(e);let p=Ar(1);t&&(i?ht(i)&&(p=_s(i)):p=_s(e));const m=Ax(u,r,i)?Pv(u):Ar(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=fp(L);for(;D&&i&&I!==L;){const T=_s(D),A=D.getBoundingClientRect(),U=Bn(D),j=A.left+(D.clientLeft+parseFloat(U.paddingLeft))*T.x,V=A.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=fp(L)}}return Cv({width:C,height:x,x:h,y:v})}function Qp(e,t){const r=ef(e).scrollLeft;return t?t.left+r:fc(bo(e)).left+r}function Ov(e,t,r){r===void 0&&(r=!1);const i=e.getBoundingClientRect(),a=i.left+t.scrollLeft-(r?0:Qp(e,i)),u=i.top+t.scrollTop;return{x:a,y:u}}function Ix(e){let{elements:t,rect:r,offsetParent:i,strategy:a}=e;const u=a==="fixed",p=bo(i),m=t?Ju(t.floating):!1;if(i===p||m&&u)return r;let h={scrollLeft:0,scrollTop:0},v=Ar(1);const C=Ar(0),x=ar(i);if((x||!x&&!u)&&((tl(i)!=="body"||kc(p))&&(h=ef(i)),ar(i))){const I=fc(i);v=_s(i),C.x=I.x+i.clientLeft,C.y=I.y+i.clientTop}const F=p&&!x&&!u?Ov(p,h,!0):Ar(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 Fx(e){return Array.from(e.getClientRects())}function Mx(e){const t=bo(e),r=ef(e),i=e.ownerDocument.body,a=ic(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),u=ic(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let p=-r.scrollLeft+Qp(e);const m=-r.scrollTop;return Bn(i).direction==="rtl"&&(p+=ic(t.clientWidth,i.clientWidth)-a),{width:a,height:u,x:p,y:m}}function Dx(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=Zu();(!v||v&&t==="fixed")&&(m=a.offsetLeft,h=a.offsetTop)}return{width:u,height:p,x:m,y:h}}function _x(e,t){const r=fc(e,!0,t==="fixed"),i=r.top+e.clientTop,a=r.left+e.clientLeft,u=ar(e)?_s(e):Ar(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 om(e,t,r){let i;if(t==="viewport")i=Dx(e,r);else if(t==="document")i=Mx(bo(e));else if(ht(t))i=_x(t,r);else{const a=Pv(e);i={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return Cv(i)}function Av(e,t){const r=ho(e);return r===t||!ht(r)||uo(r)?!1:Bn(r).position==="fixed"||Av(r,t)}function Lx(e,t){const r=t.get(e);if(r)return r;let i=Ds(e,[],!1).filter(m=>ht(m)&&tl(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=Xp(p);!h&&m.position==="fixed"&&(a=null),(u?!h&&!a:!h&&m.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||kc(p)&&!h&&Av(e,p))?i=i.filter(C=>C!==p):a=m,p=ho(p)}return t.set(e,i),i}function $x(e){let{element:t,boundary:r,rootBoundary:i,strategy:a}=e;const p=[...r==="clippingAncestors"?Ju(t)?[]:Lx(t,this._c):[].concat(r),i],m=p[0],h=p.reduce((v,C)=>{const x=om(t,C,a);return v.top=ic(x.top,v.top),v.right=nm(x.right,v.right),v.bottom=nm(x.bottom,v.bottom),v.left=ic(x.left,v.left),v},om(t,m,a));return{width:h.right-h.left,height:h.bottom-h.top,x:h.left,y:h.top}}function jx(e){const{width:t,height:r}=Tv(e);return{width:t,height:r}}function Nx(e,t,r){const i=ar(t),a=bo(t),u=r==="fixed",p=fc(e,!0,u,t);let m={scrollLeft:0,scrollTop:0};const h=Ar(0);function v(){h.x=Qp(a)}if(i||!i&&!u)if((tl(t)!=="body"||kc(a))&&(m=ef(t)),i){const I=fc(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?Ov(a,m):Ar(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 Rd(e){return Bn(e).position==="static"}function im(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 Iv(e,t){const r=xn(e);if(Ju(e))return r;if(!ar(e)){let a=ho(e);for(;a&&!uo(a);){if(ht(a)&&!Rd(a))return a;a=ho(a)}return r}let i=im(e,t);for(;i&&Sx(i)&&Rd(i);)i=im(i,t);return i&&uo(i)&&Rd(i)&&!Xp(i)?r:i||kx(e)||r}const zx=async function(e){const t=this.getOffsetParent||Iv,r=this.getDimensions,i=await r(e.floating);return{reference:Nx(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function Bx(e){return Bn(e).direction==="rtl"}const Ux={convertOffsetParentRelativeRectToViewportRelativeRect:Ix,getDocumentElement:bo,getClippingRect:$x,getOffsetParent:Iv,getElementRects:zx,getClientRects:Fx,getDimensions:jx,getScale:_s,isElement:ht,isRTL:Bx},Hx=(e,t,r)=>{const i=new Map,a={platform:Ux,...r},u={...a.platform,_c:i};return Px(e,t,{...a,platform:u})};var Wx=typeof document<"u",Vx=function(){},Pu=Wx?O.useLayoutEffect:Vx;function zu(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(!zu(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)&&!zu(e[u],t[u]))return!1}return!0}return e!==e&&t!==t}function Fv(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function am(e,t){const r=Fv(e);return Math.round(t*r)/r}function Pd(e){const t=pe.useRef(e);return Pu(()=>{t.current=e}),t}function Gx(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);zu(F,i)||I(i);const[L,D]=pe.useState(null),[T,A]=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,A(Z))},[]),V=u||L,$=p||T,J=pe.useRef(null),ae=pe.useRef(null),ne=pe.useRef(C),le=h!=null,ye=Pd(h),De=Pd(a),Fe=Pd(v),$e=pe.useCallback(()=>{if(!J.current||!ae.current)return;const Z={placement:t,strategy:r,middleware:F};De.current&&(Z.platform=De.current),Hx(J.current,ae.current,Z).then(ve=>{const Y={...ve,isPositioned:Fe.current!==!1};ze.current&&!zu(ne.current,Y)&&(ne.current=Y,Hy.flushSync(()=>{x(Y)}))})},[F,t,r,De,Fe]);Pu(()=>{v===!1&&ne.current.isPositioned&&(ne.current.isPositioned=!1,x(Z=>({...Z,isPositioned:!1})))},[v]);const ze=pe.useRef(!1);Pu(()=>(ze.current=!0,()=>{ze.current=!1}),[]),Pu(()=>{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=am(Re.floating,C.x),Y=am(Re.floating,C.y);return m?{...Z,transform:"translate("+ve+"px, "+Y+"px)",...Fv(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 tf=O.createContext(null);tf.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 nf(){return O.useContext(tf)}function Yx({value:e,children:t}){return O.createElement(tf.Provider,{value:e},t)}function Xx({children:e}){return O.createElement(tf.Provider,{value:null},e)}function Qx(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let oi=[];Qx(()=>{function e(t){if(!gi(t.target)||t.target===document.body||oi[0]===t.target)return;let r=t.target;r=r.closest(ju),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 Mv(e){let t=tt(e),r=O.useRef(!1);O.useEffect(()=>(r.current=!1,()=>{r.current=!0,Gu(()=>{r.current&&t()})}),[t])}function qx(){let e=typeof document>"u";return"useSyncExternalStore"in pe?(t=>t.useSyncExternalStore)(pe)(()=>()=>{},()=>!1,()=>!e):!1}function Ec(){let e=qx(),[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 Dv=O.createContext(!1);function Kx(){return O.useContext(Dv)}function sm(e){return O.createElement(Dv.Provider,{value:e.force},e.children)}function Jx(e){let t=Kx(),r=O.useContext(Lv),[i,a]=O.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 O.useEffect(()=>{i!==null&&(e!=null&&e.body.contains(i)||e==null||e.body.appendChild(i))},[i,e]),O.useEffect(()=>{t||r!==null&&a(r.current)},[r,a,t]),i}let _v=O.Fragment,Zx=Dt(function(e,t){let{ownerDocument:r=null,...i}=e,a=O.useRef(null),u=sr(Sw(I=>{a.current=I}),t),p=qu(a),m=r??p,h=Jx(m),[v]=O.useState(()=>{var I;return xa.isServer?null:(I=m==null?void 0:m.createElement("div"))!=null?I:null}),C=O.useContext(dp),x=Ec();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]),Mv(()=>{var I;!h||!v||(nv(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:bc.createPortal(F({ourProps:{ref:u},theirProps:i,slot:{},defaultTag:_v,name:"Portal"}),v):null});function eS(e,t){let r=sr(t),{enabled:i=!0,ownerDocument:a,...u}=e,p=en();return i?O.createElement(Zx,{...u,ownerDocument:a,ref:r}):p({ourProps:{ref:r},theirProps:u,slot:{},defaultTag:_v,name:"Portal"})}let tS=O.Fragment,Lv=O.createContext(null);function nS(e,t){let{target:r,...i}=e,a={ref:sr(t)},u=en();return O.createElement(Lv.Provider,{value:r},u({ourProps:a,theirProps:i,defaultTag:tS,name:"Popover.Group"}))}let dp=O.createContext(null);function rS(){let e=O.useContext(dp),t=O.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=O.useMemo(()=>({register:r,unregister:i,portals:t}),[r,i,t]);return[t,O.useMemo(()=>function({children:u}){return O.createElement(dp.Provider,{value:a},u)},[a])]}let oS=Dt(eS),$v=Dt(nS),iS=Object.assign(oS,{Group:$v});function aS(e,t=typeof document<"u"?document.defaultView:null,r){let i=Sc(e,"escape");wv(t,"keydown",a=>{i&&(a.defaultPrevented||a.key===lv.Escape&&r(a))})}function sS(){var e;let[t]=O.useState(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia("(pointer: coarse)"):null),[r,i]=O.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 lS({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 jv=O.createContext(null);function lm({children:e,node:t}){let[r,i]=O.useState(null),a=Nv(t??r);return O.createElement(jv.Provider,{value:a},e,a===null&&O.createElement($u,{features:uc.Hidden,ref:u=>{var p,m;if(u){for(let h of(m=(p=Vu(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 Nv(e=null){var t;return(t=O.useContext(jv))!=null?t:e}function qp(){let e=O.useRef(!1);return Mt(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var Zl=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Zl||{});function cS(){let e=O.useRef(0);return bv(!0,"keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function zv(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 uS="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 fS(e,t){let r=O.useRef(null),i=sr(r,t),{initialFocus:a,initialFocusFallback:u,containers:p,features:m=15,...h}=e;Ec()||(m=0);let v=qu(r);mS(m,{ownerDocument:v});let C=gS(m,{ownerDocument:v,container:r,initialFocus:a,initialFocusFallback:u});vS(m,{ownerDocument:v,container:r,containers:p,previousActiveElement:C});let x=cS(),F=tt(U=>{if(!yi(r.current))return;let j=r.current;(V=>V())(()=>{po(x.current,{[Zl.Forwards]:()=>{oc(j,so.First,{skipElements:[U.relatedTarget,u]})},[Zl.Backwards]:()=>{oc(j,so.Last,{skipElements:[U.relatedTarget,u]})}})})}),I=Sc(!!(m&2),"focus-trap#tab-lock"),L=Gp(),D=O.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=zv(p);yi(r.current)&&j.add(r.current);let V=U.relatedTarget;gi(V)&&V.dataset.headlessuiFocusGuard!=="true"&&(Bv(j,V)||(D.current?oc(r.current,po(x.current,{[Zl.Forwards]:()=>so.Next,[Zl.Backwards]:()=>so.Previous})|so.WrapAround,{relativeTo:U.target}):gi(U.target)&&co(U.target)))}},A=en();return O.createElement(O.Fragment,null,I&&O.createElement($u,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:F,features:uc.Focusable}),A({ourProps:T,theirProps:h,defaultTag:uS,name:"FocusTrap"}),I&&O.createElement($u,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:F,features:uc.Focusable}))}let dS=Dt(fS),pS=Object.assign(dS,{features:ca});function hS(e=!0){let t=O.useRef(oi.slice());return Yp(([r],[i])=>{i===!0&&r===!1&&Gu(()=>{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 mS(e,{ownerDocument:t}){let r=!!(e&8),i=hS(r);Yp(()=>{r||(t==null?void 0:t.activeElement)===(t==null?void 0:t.body)&&co(i())},[r]),Mv(()=>{r&&co(i())})}function gS(e,{ownerDocument:t,container:r,initialFocus:i,initialFocusFallback:a}){let u=O.useRef(null),p=Sc(!!(e&1),"focus-trap#initial-focus"),m=qp();return Yp(()=>{if(e===0)return;if(!p){a!=null&&a.current&&co(a.current);return}let h=r.current;h&&Gu(()=>{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(oc(h,so.First|so.AutoFocus)!==cp.Error)return}else if(oc(h,so.First)!==cp.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 vS(e,{ownerDocument:t,container:r,containers:i,previousActiveElement:a}){let u=qp(),p=!!(e&4);wv(t==null?void 0:t.defaultView,"focus",m=>{if(!p||!u.current)return;let h=zv(i);yi(r.current)&&h.add(r.current);let v=a.current;if(!v)return;let C=m.target;yi(C)?Bv(h,C)?(a.current=C,co(C)):(m.preventDefault(),m.stopPropagation(),co(v)):co(a.current)},!0)}function Bv(e,t){for(let r of e)if(r.contains(t))return!0;return!1}function Uv(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||((t=e.as)!=null?t:Wv)!==O.Fragment||O.Children.count(e.children)===1}let rf=O.createContext(null);rf.displayName="TransitionContext";var yS=(e=>(e.Visible="visible",e.Hidden="hidden",e))(yS||{});function bS(){let e=O.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}function wS(){let e=O.useContext(of);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let of=O.createContext(null);of.displayName="NestingContext";function af(e){return"children"in e?af(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function Hv(e,t){let r=Ra(e),i=O.useRef([]),a=qp(),u=Gp(),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;!af(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=O.useRef([]),v=O.useRef(Promise.resolve()),C=O.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(([A,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,A])=>A)).then(()=>{var T;(T=h.current.shift())==null||T()}).then(()=>D(L))});return O.useMemo(()=>({children:i,register:m,unregister:p,onStart:x,onStop:F,wait:v,chains:C}),[m,p,i,x,F,C,v])}let Wv=O.Fragment,Vv=Lu.RenderStrategy;function xS(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,[A,U]=O.useState(null),j=O.useRef(null),V=Uv(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}=bS(),[ye,De]=O.useState(ae?"visible":"hidden"),Fe=wS(),{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=Ec();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=O.useRef(!1),ve=Hv(()=>{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"&&!af(ve)&&(De("hidden"),ze(j))});O.useEffect(()=>{V&&a||(Y(ae),K(ae))},[ae,V,a]);let fe=!(!a||!V||!xe||Re),[,te]=yx(fe,A,ae,{start:Y,end:K}),he=la({ref:$,className:((i=sp(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,...vx(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 O.createElement(of.Provider,{value:ve},O.createElement(Yx,{value:me},ce({ourProps:he,theirProps:T,defaultTag:Wv,features:Vv,visible:ye==="visible",name:"Transition.Child"})))}function SS(e,t){let{show:r,appear:i=!1,unmount:a=!0,...u}=e,p=O.useRef(null),m=Uv(e),h=sr(...m?[p,t]:t===null?[]:[t]);Ec();let v=nf();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]=O.useState(r?"visible":"hidden"),F=Hv(()=>{r||x("hidden")}),[I,L]=O.useState(!0),D=O.useRef([r]);Mt(()=>{I!==!1&&D.current[D.current.length-1]!==r&&(D.current.push(r),L(!1))},[D,r]);let T=O.useMemo(()=>({show:r,appear:i,initial:I}),[r,i,I]);Mt(()=>{r?x("visible"):!af(F)&&p.current!==null&&x("hidden")},[r,F]);let A={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 O.createElement(of.Provider,{value:F},O.createElement(rf.Provider,{value:T},V({ourProps:{...A,as:O.Fragment,children:O.createElement(Gv,{ref:h,...A,...u,beforeEnter:U,beforeLeave:j})},theirProps:{},defaultTag:O.Fragment,features:Vv,visible:C==="visible",name:"Transition"})))}function kS(e,t){let r=O.useContext(rf)!==null,i=nf()!==null;return O.createElement(O.Fragment,null,!r&&i?O.createElement(pp,{ref:t,...e}):O.createElement(Gv,{ref:t,...e}))}let pp=Dt(SS),Gv=Dt(xS),Kp=Dt(kS),ES=Object.assign(pp,{Child:Kp,Root:pp});var CS=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(CS||{}),TS=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(TS||{});let RS={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},Jp=O.createContext(null);Jp.displayName="DialogContext";function sf(e){let t=O.useContext(Jp);if(t===null){let r=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,sf),r}return t}function PS(e,t){return po(t.type,RS,e,t)}let cm=Dt(function(e,t){let r=O.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=O.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=nf();a===void 0&&I!==null&&(a=(I&ir.Open)===ir.Open);let L=O.useRef(null),D=sr(L,t),T=qu(L),A=a?0:1,[U,j]=O.useReducer(PS,{titleId:null,descriptionId:null,panelRef:O.createRef()}),V=tt(()=>u(!1)),$=tt(te=>j({type:0,id:te})),J=Ec()?A===0:!1,[ae,ne]=rS(),le={get current(){var te;return(te=U.panelRef.current)!=null?te:L.current}},ye=Nv(),{resolveContainers:De}=lS({mainTreeNode:ye,portals:ae,defaultContainers:[le]}),Fe=I!==null?(I&ir.Closing)===ir.Closing:!1;Xw(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=mv.get(null);Mt(()=>{if(J)return $e.actions.push(i),()=>$e.actions.pop(i)},[$e,i,J]);let ze=gv($e,O.useCallback(te=>$e.selectors.isTop(te,i),[$e,i]));ax(ze,De,te=>{te.preventDefault(),V()}),aS(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()}),hx(v||Fe?!1:J,T,De),Qw(J,L,V);let[xe,Re]=av(),Le=O.useMemo(()=>[{dialogState:A,close:V,setTitleId:$,unmount:C},U],[A,U,V,$,C]),Z=O.useMemo(()=>({open:A===0}),[A]),ve={ref:D,id:i,role:m,tabIndex:-1,"aria-modal":v?void 0:A===0?!0:void 0,"aria-labelledby":U.titleId,"aria-describedby":xe,unmount:C},Y=!sS(),K=ca.None;J&&!v&&(K|=ca.RestoreFocus,K|=ca.TabLock,h&&(K|=ca.AutoFocus),Y&&(K|=ca.InitialFocus));let fe=en();return O.createElement(Xx,null,O.createElement(sm,{force:!0},O.createElement(iS,null,O.createElement(Jp.Provider,{value:Le},O.createElement($v,{target:L},O.createElement(sm,{force:!1},O.createElement(Re,{slot:Z},O.createElement(ne,null,O.createElement(pS,{initialFocus:p,initialFocusFallback:L,containers:De,features:K},O.createElement(Mw,{value:V},fe({ourProps:ve,theirProps:x,slot:Z,defaultTag:OS,features:AS,visible:A===0,name:"Dialog"})))))))))))}),OS="div",AS=Lu.RenderStrategy|Lu.Static;function IS(e,t){let{transition:r=!1,open:i,...a}=e,u=nf(),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?O.createElement(lm,null,O.createElement(ES,{show:i,transition:r,unmount:a.unmount},O.createElement(cm,{ref:t,...a}))):O.createElement(lm,null,O.createElement(cm,{ref:t,open:i,...a}))}let FS="div";function MS(e,t){let r=O.useId(),{id:i=`headlessui-dialog-panel-${r}`,transition:a=!1,...u}=e,[{dialogState:p,unmount:m},h]=sf("Dialog.Panel"),v=sr(t,h.panelRef),C=O.useMemo(()=>({open:p===0}),[p]),x=tt(T=>{T.stopPropagation()}),F={ref:v,id:i,onClick:x},I=a?Kp:O.Fragment,L=a?{unmount:m}:{},D=en();return O.createElement(I,{...L},D({ourProps:F,theirProps:u,slot:C,defaultTag:FS,name:"Dialog.Panel"}))}let DS="div";function _S(e,t){let{transition:r=!1,...i}=e,[{dialogState:a,unmount:u}]=sf("Dialog.Backdrop"),p=O.useMemo(()=>({open:a===0}),[a]),m={ref:t,"aria-hidden":!0},h=r?Kp:O.Fragment,v=r?{unmount:u}:{},C=en();return O.createElement(h,{...v},C({ourProps:m,theirProps:i,slot:p,defaultTag:DS,name:"Dialog.Backdrop"}))}let LS="h2";function $S(e,t){let r=O.useId(),{id:i=`headlessui-dialog-title-${r}`,...a}=e,[{dialogState:u,setTitleId:p}]=sf("Dialog.Title"),m=sr(t);O.useEffect(()=>(p(i),()=>p(null)),[i,p]);let h=O.useMemo(()=>({open:u===0}),[u]),v={ref:m,id:i};return en()({ourProps:v,theirProps:a,slot:h,defaultTag:LS,name:"Dialog.Title"})}let jS=Dt(IS),Yv=Dt(MS),NS=Dt(_S),Xv=Dt($S),zS=Object.assign(jS,{Panel:Yv,Title:Xv,Description:sv}),BS="div";function US(e,t){let r=`headlessui-control-${O.useId()}`,[i,a]=Rw(),[u,p]=av(),m=Yu(),{disabled:h=m||!1,...v}=e,C=O.useMemo(()=>({disabled:h}),[h]),x={ref:t,disabled:h||void 0,"aria-disabled":h||void 0},F=en();return O.createElement(lw,{value:h},O.createElement(a,{value:i},O.createElement(p,{value:u},O.createElement(yw,{id:r},F({ourProps:x,theirProps:{...v,children:O.createElement(vw,null,typeof v.children=="function"?v.children(C):v.children)},slot:C,defaultTag:BS,name:"Field"})))))}let HS=Dt(US),WS="input";function VS(e,t){let r=O.useId(),i=tv(),a=Yu(),{id:u=i||`headlessui-input-${r}`,disabled:p=a||!1,autoFocus:m=!1,invalid:h=!1,...v}=e,C=uv(),x=kw(),{isFocused:F,focusProps:I}=ow({autoFocus:m}),{isHovered:L,hoverProps:D}=rw({isDisabled:p}),T=dw({ref:t,id:u,"aria-labelledby":C,"aria-describedby":x,"aria-invalid":h?"true":void 0,disabled:p||void 0,autoFocus:m},I,D),A=O.useMemo(()=>({disabled:p,invalid:h,hover:L,focus:F,autofocus:m}),[p,h,L,F,m]);return en()({ourProps:T,theirProps:v,slot:A,defaultTag:WS,name:"Input"})}let GS=Dt(VS);const YS="whitespace-nowrap font-normal flex items-center justify-center",XS="focus:outline focus:outline-3 focus:outline-primary-500/[.3]",QS="disabled:opacity-15 disabled:pointer-events-none",Qv=e=>e==="grayLight"||e==="warning",qv=(e,t)=>!t||t==="none"?"":e(),qS=(e,t)=>qv(()=>{const r=e==="gray400"?"gray":e,i=Qv(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),KS=e=>qv(()=>{const t=Qv(e)?"text-black":"text-white";return e==="primary"?`bg-primary-600 ${t}`:e==="gray400"?`bg-gray-400 ${t}`:`bg-${e}-500 ${t}`},e),JS=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]||"",ZS=(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]||"",ek=(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`}`,tk=(e,t)=>({solid:KS(e),link:JS(e),linkHoverSolid:ZS(e,t),outline:ek(e,t)}),nk={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"},rk={none:"",default:"rounded",pill:"rounded-pill"},ok=({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=QS,I=/link/.test(a)?null:qS(r,e),L=XS,D=nk[i],T=(j=tk(r,e))==null?void 0:j[a],A=Ms(I,T),U=rk[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:Ms(YS,L,F,D,A,U,u,"cursor-pointer"),children:t})},dc=O.forwardRef(ok),ik=({isOpen:e,close:t,title:r,dismissOptions:i,confirmOptions:a,children:u,className:p})=>q.jsxs(zS,{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(NS,{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(Yv,{className:"max-w-lg divide-y divide-gray-100 bg-white rounded-sm shadow-xl",children:[r&&q.jsx(Xv,{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(dc,{className:"flex-1",onClick:()=>{i.onClick(),t()},size:"small",color:"secondary",children:i.label}):q.jsx(q.Fragment,{}),a?q.jsx(dc,{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,{})]})})]}),ak=({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(HS,{children:[r&&q.jsx(Iw,{className:"font-medium text-gray-900",children:r}),i&&q.jsx(sv,{className:"text-sm text-secondary",children:i}),q.jsx(GS,{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})]})}),sk=({onConfirm:e,onClose:t,isOpen:r,title:i})=>{const[a,u]=O.useState(""),[p,m]=O.useState(!1),[h,v]=O.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(ik,{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(ak,{disabled:p||h,placeholder:"Enter company email address",onChange:x=>u(x.target.value)})]})})},Kv="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==",lk=({btnClassName:e,buttonNode:t,size:r,playbookId:i,onInitiated:a,disabled:u,btnLabel:p="Run Playbook",btnColor:m="primary"})=>{const[h,v]=O.useState(!1),[C,x]=O.useState(!1);function F(){v(!0)}function I(){v(!1)}const L=async D=>{try{x(!0);const{playbookInstanceId:T,errorCode:A,details:U,message:j}=await Og({bank:"public-sdk",email:D,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone||"America/Los_Angeles",playbookUid:i})||{};if(A)throw new Error(`Error initiating playbook: ${j} (Code: ${A}) - Details: ${U}`);a(T)}finally{x(!1)}};return q.jsxs(q.Fragment,{children:[t?{buttonNode:t}:q.jsxs(dc,{onClick:F,className:wt(e,"flex items-center gap-1"),color:m,size:r,disabled:u||C,children:[q.jsx("img",{src:Kv,alt:"Confidence Logo",className:"size-4 object-contain text-white"}),p]}),q.jsx(sk,{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 ck={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"]},uk=ck,fk={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"]},Jv={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 dk(e,t,r){return(t=hk(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function um(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?um(Object(r),!0).forEach(function(i){dk(e,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):um(Object(r)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i))})}return e}function pk(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 hk(e){var t=pk(e,"string");return typeof t=="symbol"?t:t+""}const fm=()=>{};let Zp={},Zv={},ey=null,ty={mark:fm,measure:fm};try{typeof window<"u"&&(Zp=window),typeof document<"u"&&(Zv=document),typeof MutationObserver<"u"&&(ey=MutationObserver),typeof performance<"u"&&(ty=performance)}catch{}const{userAgent:dm=""}=Zp.navigator||{},bi=Zp,at=Zv,pm=ey,Cu=ty;bi.document;const wo=!!at.documentElement&&!!at.head&&typeof at.addEventListener=="function"&&typeof at.createElement=="function",ny=~dm.indexOf("MSIE")||~dm.indexOf("Trident/");var mk=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,gk=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,ry={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"}},vk={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},oy=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],jt="classic",lf="duotone",yk="sharp",bk="sharp-duotone",iy=[jt,lf,yk,bk],wk={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"}},xk={"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"}},Sk=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}]]),kk={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"}},Ek=["fak","fa-kit","fakd","fa-kit-duotone"],hm={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},Ck=["kit"],Tk={kit:{"fa-kit":"fak"}},Rk=["fak","fakd"],Pk={kit:{fak:"fa-kit"}},mm={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},Tu={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Ok=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],Ak=["fak","fa-kit","fakd","fa-kit-duotone"],Ik={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},Fk={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"}},Mk={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},hp={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"}},Dk=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],mp=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",...Ok,...Dk],_k=["solid","regular","light","thin","duotone","brands"],ay=[1,2,3,4,5,6,7,8,9,10],Lk=ay.concat([11,12,13,14,15,16,17,18,19,20]),$k=[...Object.keys(Mk),..._k,"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",Tu.GROUP,Tu.SWAP_OPACITY,Tu.PRIMARY,Tu.SECONDARY].concat(ay.map(e=>"".concat(e,"x"))).concat(Lk.map(e=>"w-".concat(e))),jk={"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___",gp=16,sy="fa",ly="svg-inline--fa",Ca="data-fa-i2svg",vp="data-fa-pseudo-element",Nk="data-fa-pseudo-element-pending",eh="data-prefix",th="data-icon",gm="fontawesome-i2svg",zk="async",Bk=["HTML","HEAD","STYLE","SCRIPT"],cy=(()=>{try{return process.env.NODE_ENV==="production"}catch{return!1}})();function Cc(e){return new Proxy(e,{get(t,r){return r in t?t[r]:t[jt]}})}const uy=ie({},ry);uy[jt]=ie(ie(ie(ie({},{"fa-duotone":"duotone"}),ry[jt]),hm.kit),hm["kit-duotone"]);const Uk=Cc(uy),yp=ie({},kk);yp[jt]=ie(ie(ie(ie({},{duotone:"fad"}),yp[jt]),mm.kit),mm["kit-duotone"]);const vm=Cc(yp),bp=ie({},hp);bp[jt]=ie(ie({},bp[jt]),Pk.kit);const nh=Cc(bp),wp=ie({},Fk);wp[jt]=ie(ie({},wp[jt]),Tk.kit);Cc(wp);const Hk=mk,fy="fa-layers-text",Wk=gk,Vk=ie({},wk);Cc(Vk);const Gk=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Od=vk,Yk=[...Ck,...$k],ac=bi.FontAwesomeConfig||{};function Xk(e){var t=at.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function Qk(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=Qk(Xk(r));a!=null&&(ac[i]=a)});const dy={styleDefault:"solid",familyDefault:jt,cssPrefix:sy,replacementClass:ly,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};ac.familyPrefix&&(ac.cssPrefix=ac.familyPrefix);const qs=ie(ie({},dy),ac);qs.autoReplaceSvg||(qs.observeMutations=!1);const Te={};Object.keys(dy).forEach(e=>{Object.defineProperty(Te,e,{enumerable:!0,set:function(t){qs[e]=t,sc.forEach(r=>r(Te))},get:function(){return qs[e]}})});Object.defineProperty(Te,"familyPrefix",{enumerable:!0,set:function(e){qs.cssPrefix=e,sc.forEach(t=>t(Te))},get:function(){return qs.cssPrefix}});bi.FontAwesomeConfig=Te;const sc=[];function qk(e){return sc.push(e),()=>{sc.splice(sc.indexOf(e),1)}}const ni=gp,Pr={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Kk(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 Jk="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function pc(){let e=12,t="";for(;e-- >0;)t+=Jk[Math.random()*62|0];return t}function nl(e){const t=[];for(let r=(e||[]).length>>>0;r--;)t[r]=e[r];return t}function rh(e){return e.classList?nl(e.classList):(e.getAttribute("class")||"").split(" ").filter(t=>t)}function py(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Zk(e){return Object.keys(e||{}).reduce((t,r)=>t+"".concat(r,'="').concat(py(e[r]),'" '),"").trim()}function cf(e){return Object.keys(e||{}).reduce((t,r)=>t+"".concat(r,": ").concat(e[r].trim(),";"),"")}function oh(e){return e.size!==Pr.size||e.x!==Pr.x||e.y!==Pr.y||e.rotate!==Pr.rotate||e.flipX||e.flipY}function eE(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 tE(e){let{transform:t,width:r=gp,height:i=gp,startCentered:a=!1}=e,u="";return a&&ny?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 nE=`: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 hy(){const e=sy,t=ly,r=Te.cssPrefix,i=Te.replacementClass;let a=nE;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 ym=!1;function Ad(){Te.autoAddCss&&!ym&&(Kk(hy()),ym=!0)}var rE={mixout(){return{dom:{css:hy,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 Or=go[mo];const my=[],gy=function(){at.removeEventListener("DOMContentLoaded",gy),Bu=1,my.map(e=>e())};let Bu=!1;wo&&(Bu=(at.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(at.readyState),Bu||at.addEventListener("DOMContentLoaded",gy));function oE(e){wo&&(Bu?setTimeout(e,0):my.push(e))}function Tc(e){const{tag:t,attributes:r={},children:i=[]}=e;return typeof e=="string"?py(e):"<".concat(t," ").concat(Zk(r),">").concat(i.map(Tc).join(""),"</").concat(t,">")}function bm(e,t,r){if(e&&e[t]&&e[t][r])return{prefix:t,iconName:r,icon:e[t][r]}}var Id=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 iE(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 xp(e){const t=iE(e);return t.length===1?t[0].toString(16):null}function aE(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 wm(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 Sp(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:i=!1}=r,a=wm(t);typeof Or.hooks.addPack=="function"&&!i?Or.hooks.addPack(e,wm(t)):Or.styles[e]=ie(ie({},Or.styles[e]||{}),a),e==="fas"&&Sp("fa",t)}const{styles:hc,shims:sE}=Or,vy=Object.keys(nh),lE=vy.reduce((e,t)=>(e[t]=Object.keys(nh[t]),e),{});let ih=null,yy={},by={},wy={},xy={},Sy={};function cE(e){return~Yk.indexOf(e)}function uE(e,t){const r=t.split("-"),i=r[0],a=r.slice(1).join("-");return i===e&&a!==""&&!cE(a)?a:null}const ky=()=>{const e=i=>Id(hc,(a,u,p)=>(a[p]=Id(u,i,{}),a),{});yy=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)),by=e((i,a,u)=>(i[u]=u,a[2]&&a[2].filter(m=>typeof m=="string").forEach(m=>{i[m]=u}),i)),Sy=e((i,a,u)=>{const p=a[2];return i[u]=u,p.forEach(m=>{i[m]=u}),i});const t="far"in hc||Te.autoFetchSvg,r=Id(sE,(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:{}});wy=r.names,xy=r.unicodes,ih=uf(Te.styleDefault,{family:Te.familyDefault})};qk(e=>{ih=uf(e.styleDefault,{family:Te.familyDefault})});ky();function ah(e,t){return(yy[e]||{})[t]}function fE(e,t){return(by[e]||{})[t]}function da(e,t){return(Sy[e]||{})[t]}function Ey(e){return wy[e]||{prefix:null,iconName:null}}function dE(e){const t=xy[e],r=ah("fas",e);return t||(r?{prefix:"fas",iconName:r}:null)||{prefix:null,iconName:null}}function wi(){return ih}const Cy=()=>({prefix:null,iconName:null,rest:[]});function pE(e){let t=jt;const r=vy.reduce((i,a)=>(i[a]="".concat(Te.cssPrefix,"-").concat(a),i),{});return iy.forEach(i=>{(e.includes(r[i])||e.some(a=>lE[i].includes(a)))&&(t=i)}),t}function uf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:r=jt}=t,i=Uk[r][e];if(r===lf&&!e)return"fad";const a=vm[r][e]||vm[r][i],u=e in Or.styles?e:null;return a||u||null}function hE(e){let t=[],r=null;return e.forEach(i=>{const a=uE(Te.cssPrefix,i);a?r=a:i&&t.push(i)}),{iconName:r,rest:t}}function xm(e){return e.sort().filter((t,r,i)=>i.indexOf(t)===r)}function ff(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:r=!1}=t;let i=null;const a=mp.concat(Ak),u=xm(e.filter(x=>a.includes(x))),p=xm(e.filter(x=>!mp.includes(x))),m=u.filter(x=>(i=x,!oy.includes(x))),[h=null]=m,v=pE(u),C=ie(ie({},hE(p)),{},{prefix:uf(h,{family:v})});return ie(ie(ie({},C),yE({values:e,family:v,styles:hc,config:Te,canonical:C,givenPrefix:i})),mE(r,i,C))}function mE(e,t,r){let{prefix:i,iconName:a}=r;if(e||!i||!a)return{prefix:i,iconName:a};const u=t==="fa"?Ey(a):{},p=da(i,a);return a=u.iconName||p||a,i=u.prefix||i,i==="far"&&!hc.far&&hc.fas&&!Te.autoFetchSvg&&(i="fas"),{prefix:i,iconName:a}}const gE=iy.filter(e=>e!==jt||e!==lf),vE=Object.keys(hp).filter(e=>e!==jt).map(e=>Object.keys(hp[e])).flat();function yE(e){const{values:t,family:r,canonical:i,givenPrefix:a="",styles:u={},config:p={}}=e,m=r===lf,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&&gE.includes(r)&&(Object.keys(u).find(F=>vE.includes(F))||p.autoFetchSvg)){const F=Sk.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 bE{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]),Sp(u,a[u]);const p=nh[jt][u];p&&Sp(p,a[u]),ky()})}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 Sm=[],As={};const Ls={},wE=Object.keys(Ls);function xE(e,t){let{mixoutsTo:r}=t;return Sm=e,As={},Object.keys(Ls).forEach(i=>{wE.indexOf(i)===-1&&delete Ls[i]}),Sm.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(Ls)}),r}function kp(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 Ls[e]?Ls[e].apply(null,t):void 0}function Ep(e){e.prefix==="fa"&&(e.prefix="fas");let{iconName:t}=e;const r=e.prefix||wi();if(t)return t=da(r,t)||t,bm(Ty.definitions,r,t)||bm(Or.styles,r,t)}const Ty=new bE,SE=()=>{Te.autoReplaceSvg=!1,Te.observeMutations=!1,Ta("noAuto")},kE={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,oE(()=>{CE({autoReplaceSvgRoot:t}),Ta("watch",e)})}},EE={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=uf(e[0]);return{prefix:r,iconName:da(r,t)||t}}if(typeof e=="string"&&(e.indexOf("".concat(Te.cssPrefix,"-"))>-1||e.match(Hk))){const t=ff(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:SE,config:Te,dom:kE,parse:EE,library:Ty,findIconDefinition:Ep,toHtml:Tc},CE=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t=at}=e;(Object.keys(Or.styles).length>0||Te.autoFetchSvg)&&wo&&Te.autoReplaceSvg&&Sn.dom.i2svg({node:t})};function df(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(r=>Tc(r))}}),Object.defineProperty(e,"node",{get:function(){if(!wo)return;const r=at.createElement("div");return r.innerHTML=e.html,r.children}}),e}function TE(e){let{children:t,main:r,mask:i,attributes:a,styles:u,transform:p}=e;if(oh(p)&&r.found&&!i.found){const{width:m,height:h}=r,v={x:m/h/2,y:.5};a.style=cf(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 RE(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 sh(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=Rk.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 A=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||pc())},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({},A),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?RE(U):TE(U)}function km(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);oh(a)&&(v.transform=tE({transform:a,startCentered:!0,width:r,height:i}),v["-webkit-transform"]=v.transform);const C=cf(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 PE(e){const{content:t,title:r,extra:i}=e,a=ie(ie(ie({},i.attributes),r?{title:r}:{}),{},{class:i.classes.join(" ")}),u=cf(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:Fd}=Or;function Cp(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(Od.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Te.cssPrefix,"-").concat(Od.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(Te.cssPrefix,"-").concat(Od.PRIMARY),fill:"currentColor",d:i[1]}}]}:a={tag:"path",attributes:{fill:"currentColor",d:i}},{found:!0,width:t,height:r,icon:a}}const OE={found:!1,width:512,height:512};function AE(e,t){!cy&&!Te.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Tp(e,t){let r=t;return t==="fa"&&Te.styleDefault!==null&&(t=wi()),new Promise((i,a)=>{if(r==="fa"){const u=Ey(e)||{};e=u.iconName||e,t=u.prefix||t}if(e&&t&&Fd[t]&&Fd[t][e]){const u=Fd[t][e];return i(Cp(u))}AE(e,t),i(ie(ie({},OE),{},{icon:Te.showMissingIcons&&e?xi("missingIconAbstract")||{}:{}}))})}const Em=()=>{},Rp=Te.measurePerformance&&Cu&&Cu.mark&&Cu.measure?Cu:{mark:Em,measure:Em},ec='FA "6.7.2"',IE=e=>(Rp.mark("".concat(ec," ").concat(e," begins")),()=>Ry(e)),Ry=e=>{Rp.mark("".concat(ec," ").concat(e," ends")),Rp.measure("".concat(ec," ").concat(e),"".concat(ec," ").concat(e," begins"),"".concat(ec," ").concat(e," ends"))};var lh={begin:IE,end:Ry};const Ou=()=>{};function Cm(e){return typeof(e.getAttribute?e.getAttribute(Ca):null)=="string"}function FE(e){const t=e.getAttribute?e.getAttribute(eh):null,r=e.getAttribute?e.getAttribute(th):null;return t&&r}function ME(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(Te.replacementClass)}function DE(){return Te.autoReplaceSvg===!0?Au.replace:Au[Te.autoReplaceSvg]||Au.replace}function _E(e){return at.createElementNS("http://www.w3.org/2000/svg",e)}function LE(e){return at.createElement(e)}function Py(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:r=e.tag==="svg"?_E:LE}=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(Py(u,{ceFn:r}))}),i}function $E(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}const Au={replace:function(e){const t=e[0];if(t.parentNode)if(e[1].forEach(r=>{t.parentNode.insertBefore(Py(r),t)}),t.getAttribute(Ca)===null&&Te.keepOriginalSource){let r=at.createComment($E(t));t.parentNode.replaceChild(r,t)}else t.remove()},nest:function(e){const t=e[0],r=e[1];if(~rh(t).indexOf(Te.replacementClass))return Au.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=>Tc(u)).join(`
|
|
707
|
+
`);t.setAttribute(Ca,""),t.innerHTML=a}};function Tm(e){e()}function Oy(e,t){const r=typeof t=="function"?t:Ou;if(e.length===0)r();else{let i=Tm;Te.mutateApproach===zk&&(i=bi.requestAnimationFrame||Tm),i(()=>{const a=DE(),u=lh.begin("mutate");e.map(a),u(),r()})}}let ch=!1;function Ay(){ch=!0}function Pp(){ch=!1}let Uu=null;function Rm(e){if(!pm||!Te.observeMutations)return;const{treeCallback:t=Ou,nodeCallback:r=Ou,pseudoElementsCallback:i=Ou,observeMutationsRoot:a=at}=e;Uu=new pm(u=>{if(ch)return;const p=wi();nl(u).forEach(m=>{if(m.type==="childList"&&m.addedNodes.length>0&&!Cm(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"&&Cm(m.target)&&~Gk.indexOf(m.attributeName))if(m.attributeName==="class"&&FE(m.target)){const{prefix:h,iconName:v}=ff(rh(m.target));m.target.setAttribute(eh,h||p),v&&m.target.setAttribute(th,v)}else ME(m.target)&&r(m.target)})}),wo&&Uu.observe(a,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function jE(){Uu&&Uu.disconnect()}function NE(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 zE(e){const t=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),i=e.innerText!==void 0?e.innerText.trim():"";let a=ff(rh(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=fE(a.prefix,e.innerText)||ah(a.prefix,xp(e.innerText))),!a.iconName&&Te.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}function BE(e){const t=nl(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||pc()):(t["aria-hidden"]="true",t.focusable="false")),t}function UE(){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 Pm(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0};const{iconName:r,prefix:i,rest:a}=zE(e),u=BE(e),p=kp("parseNodeAttributes",{},e);let m=t.styleParser?NE(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:HE}=Or;function Iy(e){const t=Te.autoReplaceSvg==="nest"?Pm(e,{styleParser:!1}):Pm(e);return~t.extra.classes.indexOf(fy)?xi("generateLayersText",e,t):xi("generateSvgReplacementMutation",e,t)}function WE(){return[...Ek,...mp]}function Om(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(gm,"-").concat(C)),a=C=>r.remove("".concat(gm,"-").concat(C)),u=Te.autoFetchSvg?WE():oy.concat(Object.keys(HE));u.includes("fa")||u.push("fa");const p=[".".concat(fy,":not([").concat(Ca,"])")].concat(u.map(C=>".".concat(C,":not([").concat(Ca,"])"))).join(", ");if(p.length===0)return Promise.resolve();let m=[];try{m=nl(e.querySelectorAll(p))}catch{}if(m.length>0)i("pending"),a("complete");else return Promise.resolve();const h=lh.begin("onTree"),v=m.reduce((C,x)=>{try{const F=Iy(x);F&&C.push(F)}catch(F){cy||F.name==="MissingIcon"&&console.error(F)}return C},[]);return new Promise((C,x)=>{Promise.all(v).then(F=>{Oy(F,()=>{i("active"),i("complete"),a("pending"),typeof t=="function"&&t(),h(),C()})}).catch(F=>{h(),x(F)})})}function VE(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;Iy(e).then(r=>{r&&Oy([r],t)})}function GE(e){return function(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=(t||{}).icon?t:Ep(t||{});let{mask:a}=r;return a&&(a=(a||{}).icon?a:Ep(a||{})),e(i,ie(ie({},r),{},{mask:a}))}}const YE=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 df(ie({type:"icon"},e),()=>(Ta("beforeDOMElementCreation",{iconDefinition:e,params:t}),Te.autoA11y&&(p?v["aria-labelledby"]="".concat(Te.replacementClass,"-title-").concat(m||pc()):(v["aria-hidden"]="true",v.focusable="false")),sh({icons:{main:Cp(I),mask:a?Cp(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 XE={mixout(){return{icon:GE(YE)}},hooks(){return{mutationObserverCallbacks(e){return e.treeCallback=Om,e.nodeCallback=VE,e}}},provides(e){e.i2svg=function(t){const{node:r=at,callback:i=()=>{}}=t;return Om(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([Tp(i,p),v.iconName?Tp(v.iconName,v.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(L=>{let[D,T]=L;F([t,sh({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=cf(p);m.length>0&&(i.style=m);let h;return oh(u)&&(h=xi("generateAbstractTransformGrouping",{main:a,transform:u,containerWidth:a.width,iconWidth:a.width})),r.push(h||a.icon),{children:r,attributes:i}}}},QE={mixout(){return{layer(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{classes:r=[]}=t;return df({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}]})}}}},qE={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 df({type:"counter",content:e},()=>(Ta("beforeDOMElementCreation",{content:e,params:t}),PE({content:e.toString(),title:r,extra:{attributes:a,styles:u,classes:["".concat(Te.cssPrefix,"-layers-counter"),...i]}})))}}}},KE={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 df({type:"text",content:e},()=>(Ta("beforeDOMElementCreation",{content:e,params:t}),km({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(ny){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,km({content:t.innerHTML,width:p,height:m,transform:a,title:i,extra:u,watchable:!0})])}}};const JE=new RegExp('"',"ug"),Am=[1105920,1112319],Im=ie(ie(ie(ie({},{FontAwesome:{normal:"fas",400:"fas"}}),xk),jk),Ik),Op=Object.keys(Im).reduce((e,t)=>(e[t.toLowerCase()]=Im[t],e),{}),ZE=Object.keys(Op).reduce((e,t)=>{const r=Op[t];return e[t]=r[900]||[...Object.entries(r)][0][1],e},{});function eC(e){const t=e.replace(JE,""),r=aE(t,0),i=r>=Am[0]&&r<=Am[1],a=t.length===2?t[0]===t[1]:!1;return{value:xp(a?t[0]:t),isSecondary:i||a}}function tC(e,t){const r=e.replace(/^['"]|['"]$/g,"").toLowerCase(),i=parseInt(t),a=isNaN(i)?"normal":i;return(Op[r]||{})[a]||ZE[r]}function Fm(e,t){const r="".concat(Nk).concat(t.replace(":","-"));return new Promise((i,a)=>{if(e.getAttribute(r)!==null)return i();const p=nl(e.children).filter(F=>F.getAttribute(vp)===t)[0],m=bi.getComputedStyle(e,t),h=m.getPropertyValue("font-family"),v=h.match(Wk),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=tC(h,C);const{value:L,isSecondary:D}=eC(F),T=v[0].startsWith("FontAwesome");let A=ah(I,L),U=A;if(T){const j=dE(L);j.iconName&&j.prefix&&(A=j.iconName,I=j.prefix)}if(A&&!D&&(!p||p.getAttribute(eh)!==I||p.getAttribute(th)!==U)){e.setAttribute(r,U),p&&e.removeChild(p);const j=UE(),{extra:V}=j;V.attributes[vp]=t,Tp(A,I).then($=>{const J=sh(ie(ie({},j),{},{icons:{main:$,mask:Cy()},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=>Tc(ne)).join(`
|
|
708
|
+
`),e.removeAttribute(r),i()}).catch(a)}else i()}else i()})}function nC(e){return Promise.all([Fm(e,"::before"),Fm(e,"::after")])}function rC(e){return e.parentNode!==document.head&&!~Bk.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(vp)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function Mm(e){if(wo)return new Promise((t,r)=>{const i=nl(e.querySelectorAll("*")).filter(rC).map(nC),a=lh.begin("searchPseudoElements");Ay(),Promise.all(i).then(()=>{a(),Pp(),t()}).catch(()=>{a(),Pp(),r()})})}var oC={hooks(){return{mutationObserverCallbacks(e){return e.pseudoElementsCallback=Mm,e}}},provides(e){e.pseudoElements2svg=function(t){const{node:r=at}=t;Te.searchPseudoElements&&Mm(r)}}};let Dm=!1;var iC={mixout(){return{dom:{unwatch(){Ay(),Dm=!0}}}},hooks(){return{bootstrap(){Rm(kp("mutationObserverCallbacks",{}))},noAuto(){jE()},watch(e){const{observeMutationsRoot:t}=e;Dm?Pp():Rm(kp("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}};const _m=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 aC={mixout(){return{parse:{transform:e=>_m(e)}}},hooks(){return{parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-transform");return r&&(e.transform=_m(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 Md={x:0,y:0,width:"100%",height:"100%"};function Lm(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 sC(e){return e.tag==="g"?e.children:[e]}var lC={hooks(){return{parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-mask"),i=r?ff(r.split(" ").map(a=>a.trim())):Cy();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=eE({transform:m,containerWidth:C,iconWidth:h}),I={tag:"rect",attributes:ie(ie({},Md),{},{fill:"white"})},L=v.children?{children:v.children.map(Lm)}:{},D={tag:"g",attributes:ie({},F.inner),children:[Lm(ie({tag:v.tag,attributes:ie(ie({},v.attributes),F.path)},L))]},T={tag:"g",attributes:ie({},F.outer),children:[D]},A="mask-".concat(p||pc()),U="clip-".concat(p||pc()),j={tag:"mask",attributes:ie(ie({},Md),{},{id:A,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[I,T]},V={tag:"defs",children:[{tag:"clipPath",attributes:{id:U},children:sC(x)},j]};return r.push(V,{tag:"rect",attributes:ie({fill:"currentColor","clip-path":"url(#".concat(U,")"),mask:"url(#".concat(A,")")},Md)}),{children:r,attributes:i}}}},cC={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}}}},uC={hooks(){return{parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-symbol"),i=r===null?!1:r===""?!0:r;return e.symbol=i,e}}}},fC=[rE,XE,QE,qE,KE,oC,iC,aC,lC,cC,uC];xE(fC,{mixoutsTo:Sn});Sn.noAuto;Sn.config;Sn.library;Sn.dom;const Ap=Sn.parse;Sn.findIconDefinition;Sn.toHtml;const dC=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){Is(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 Hu(e){"@babel/helpers - typeof";return Hu=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},Hu(e)}function Is(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pC(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 Fy(e,t){if(e==null)return{};var r=pC(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 Ip(e){return hC(e)||mC(e)||gC(e)||vC()}function hC(e){if(Array.isArray(e))return Fp(e)}function mC(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function gC(e,t){if(e){if(typeof e=="string")return Fp(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 Fp(e,t)}}function Fp(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 vC(){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 yC(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,A=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"},Is(t,"fa-".concat(A),typeof A<"u"&&A!==null),Is(t,"fa-rotate-".concat(U),typeof U<"u"&&U!==null&&U!==0),Is(t,"fa-pull-".concat(j),typeof j<"u"&&j!==null),Is(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(V).map(function($){return V[$]?$:null}).filter(function($){return $})}function bC(e){return e=e-0,e===e}function My(e){return bC(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,r){return r?r.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var wC=["style"];function xC(e){return e.charAt(0).toUpperCase()+e.slice(1)}function SC(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,r){var i=r.indexOf(":"),a=My(r.slice(0,i)),u=r.slice(i+1).trim();return a.startsWith("webkit")?t[xC(a)]=u:t[a]=u,t},{})}function Dy(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 Dy(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=SC(C);break;default:v.indexOf("aria-")===0||v.indexOf("data-")===0?h.attrs[v.toLowerCase()]=C:h.attrs[My(v)]=C}return h},{attrs:{}}),u=r.style,p=u===void 0?{}:u,m=Fy(r,wC);return a.attrs.style=vi(vi({},a.attrs.style),p),e.apply(void 0,[t.tag,vi(vi({},a.attrs),m)].concat(Ip(i)))}var _y=!1;try{_y=process.env.NODE_ENV==="production"}catch{}function kC(){if(!_y&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function jm(e){if(e&&Hu(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(Ap.icon)return Ap.icon(e);if(e===null)return null;if(e&&Hu(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 Dd(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Is({},e,t):{}}var EC=["forwardedRef"];function Si(e){var t=e.forwardedRef,r=Fy(e,EC),i=r.icon,a=r.mask,u=r.symbol,p=r.className,m=r.title,h=r.titleId,v=r.maskId,C=jm(i),x=Dd("classes",[].concat(Ip(yC(r)),Ip(p.split(" ")))),F=Dd("transform",typeof r.transform=="string"?Ap.transform(r.transform):r.transform),I=Dd("mask",jm(a)),L=dC(C,vi(vi(vi(vi({},x),F),I),{},{symbol:u,title:m,titleId:h,maskId:v}));if(!L)return kC("Could not find icon",C),null;var D=L.abstract,T={ref:t};return Object.keys(r).forEach(function(A){Si.defaultProps.hasOwnProperty(A)||(T[A]=r[A])}),CC(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 CC=Dy.bind(null,O.createElement);const TC=async e=>await(await fetch(`${wc}/playbook-task-details`,{method:"POST",body:JSON.stringify(e)})).json(),RC=({taskId:e,playbookId:t,enabled:r})=>{const{queryClient:i}=Js(),a=async()=>TC({taskId:+e,templateId:t.toString()}),u=["taskDetails",+e,t],p=Np({queryKey:u,queryFn:a,enabled:r},i),m=()=>{i.prefetchQuery({queryFn:a,queryKey:u})};return{taskDetails:p.data,prefetchQuery:m,...p}},PC=({buttons:e,onButtonClick:t,disabled:r})=>q.jsx("div",{className:"flex items-center justify-end",children:e.map(i=>q.jsx(dc,{size:"smallCollapse",className:"ml-2",disabled:r,onClick:()=>{t(i)},children:t0[i]},i))});function Nm(e,t){if(!e||!t)return!1;const r=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(r&&up(r)){let i=t;for(;i;){if(e===i)return!0;i=i.parentNode||i.host}}return!1}function Ql(e){return"composedPath"in e?e.composedPath()[0]:e.target}function _d(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 OC(e){return e.matches("html,body")}function zm(e){return(e==null?void 0:e.ownerDocument)||document}function Ld(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 AC(e){return"nativeEvent"in e}var IC=typeof document<"u",FC=function(){},Mp=IC?O.useLayoutEffect:FC;const MC={...pe},DC=MC.useInsertionEffect,_C=DC||(e=>e());function Os(e){const t=pe.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return _C(()=>{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 LC="data-floating-ui-focusable",Bm="active",Um="selected",$C={...pe};let Hm=!1,jC=0;const Wm=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+jC++;function NC(){const[e,t]=pe.useState(()=>Hm?Wm():void 0);return Mp(()=>{e==null&&t(Wm())},[]),pe.useEffect(()=>{Hm=!0},[]),e}const zC=$C.useId,BC=zC||NC;let Dp;process.env.NODE_ENV!=="production"&&(Dp=new Set);function UC(){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=Dp)!=null&&e.has(a))){var u;(u=Dp)==null||u.add(a),console.error(a)}}function HC(){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 WC=pe.createContext(null),VC=pe.createContext(null),GC=()=>{var e;return((e=pe.useContext(WC))==null?void 0:e.id)||null},Ly=()=>pe.useContext(VC);function YC(e){return"data-floating-ui-"+e}function XC(e){e.current!==-1&&(clearTimeout(e.current),e.current=-1)}const QC={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},qC={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},Vm=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 KC(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=Ly(),T=Os(typeof h=="function"?h:()=>!1),A=typeof h=="function"?T:h,U=pe.useRef(!1),{escapeKey:j,outsidePress:V}=Vm(I),{escapeKey:$,outsidePress:J}=Vm(L),ae=pe.useRef(!1),ne=pe.useRef(-1),le=Os(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?Ld(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,AC(xe)?xe.nativeEvent:xe,"escape-key")}),ye=Os(xe=>{var Re;const Le=()=>{var Z;le(xe),(Z=Ql(xe))==null||Z.removeEventListener("keydown",Le)};(Re=Ql(xe))==null||Re.addEventListener("keydown",Le)}),De=Os(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 A=="function"&&!A(xe))return;const ve=Ql(xe),Y="["+YC("inert")+"]",K=zm(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)&&!OC(ve)&&!Nm(ve,a.floating)&&Array.from(K).every(ce=>!Nm(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&&Ld(D.nodesRef.current,te).some(ce=>{var ue;return _d(xe,(ue=ce.context)==null?void 0:ue.elements.floating)});if(_d(xe,a.floating)||_d(xe,a.domReference)||he)return;const me=D?Ld(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=Os(xe=>{var Re;const Le=()=>{var Z;De(xe),(Z=Ql(xe))==null||Z.removeEventListener(v,Le)};(Re=Ql(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},Zu()?5:0)}const ve=zm(a.floating);m&&(ve.addEventListener("keydown",$?ye:le,$),ve.addEventListener("compositionstart",Le),ve.addEventListener("compositionend",Z)),A&&ve.addEventListener(v,J?Fe:De,J);let Y=[];return F&&(ht(a.domReference)&&(Y=Ds(a.domReference)),ht(a.floating)&&(Y=Y.concat(Ds(a.floating))),!ht(a.reference)&&a.reference&&a.reference.contextElement&&(Y=Y.concat(Ds(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)),A&&ve.removeEventListener(v,J?Fe:De,J),Y.forEach(K=>{K.removeEventListener("scroll",Re)}),window.clearTimeout(xe)}},[u,a,m,A,v,r,i,F,p,j,V,le,$,ye,De,J,Fe]),pe.useEffect(()=>{u.current.insideReactTree=!1},[u,A,v]);const $e=pe.useMemo(()=>({onKeyDown:le,...C&&{[QC[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},[qC[v]]:()=>{u.current.insideReactTree=!0},onBlurCapture(){D||(XC(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 JC(e){const{open:t=!1,onOpenChange:r,elements:i}=e,a=BC(),u=pe.useRef({}),[p]=pe.useState(()=>HC()),m=GC()!=null;if(process.env.NODE_ENV!=="production"){const I=i.reference;I&&!ht(I)&&UC("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=Os((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 ZC(e){e===void 0&&(e={});const{nodeId:t}=e,r=JC({...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=Ly();Mp(()=>{C&&(x.current=C)},[C]);const I=Gx({...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]),A=pe.useMemo(()=>({...I.elements,domReference:C}),[I.elements,C]),U=pe.useMemo(()=>({...I,...i,refs:T,elements:A,nodeId:t}),[I,T,A,t,i]);return Mp(()=>{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:A}),[I,T,A,U])}function $d(e,t,r){const i=new Map,a=r==="item";let u=e;if(a&&e){const{[Bm]:p,[Um]:m,...h}=e;u=h}return{...r==="floating"&&{tabIndex:-1,[LC]:""},...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&&[Bm,Um].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 eT(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=>$d(m,e,"reference"),t),u=pe.useCallback(m=>$d(m,e,"floating"),r),p=pe.useCallback(m=>$d(m,e,"item"),i);return pe.useMemo(()=>({getReferenceProps:a,getFloatingProps:u,getItemProps:p}),[a,u,p])}const tT={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"},nT={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"},rT={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"},oT={normal:"rounded",pill:"rounded-pill"},iT={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]"},$y=({category:e="solid",color:t="primary",roundness:r="normal",size:i="medium",textClassName:a="uppercase",children:u,className:p,...m})=>{const h=O.useMemo(()=>rT[t]??"text-white",[t]),v=O.useMemo(()=>Ms(h,e==="outline"?nT[t]:tT[t],oT[r],iT[i]),[h,e,t,i,r]);return q.jsx("div",{className:Ms("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:Ms("mx-1",a),children:u})})},aT={default:"text-secondary-600 border-secondary-600",primary:"text-primary-600 border-primary-600",success:"text-success-600 border-success-600"},sT=({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:fk,className:"text-gray-400 size-4"}),q.jsx($y,{category:"outline",color:e.color,children:e.to})]}),lT=({title:e,variant:t="default",transitions:r,onClick:i})=>{const[a,u]=O.useState(!1),{refs:p,floatingStyles:m,context:h}=ZC({strategy:"fixed",placement:"bottom-end",open:a,onOpenChange:u}),v=KC(h,{outsidePress:!0}),{getReferenceProps:C,getFloatingProps:x}=eT([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",aT[t]),...C(),children:[q.jsx("span",{className:"text-sm font-bold",children:e}),r.length>0?q.jsx(Si,{icon:Jv,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(sT,{transition:F,onClick:()=>{i==null||i(F.id),u(!1)}},I))})]})},Gm=({description:e})=>{const t=O.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 O.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}})})},cT={SEQUENTIAL:"Sequential"},uT={[ut.IN_REVIEW]:"In Review"},fT={[ut.OPEN]:"bg-secondary-500",[ut.IN_PROGRESS]:"bg-primary-600",[ut.IN_REVIEW]:"bg-success-600",[ut.COMPLETED]:"bg-success-600"},dT=({playbookType:e,status:t,step:r,isSelected:i,onSelect:a})=>q.jsx("div",{className:cc("flex flex-col items-center justify-center",i?"bg-[#FFE600]":fT[t],a&&"cursor-pointer"),onClick:u=>{u.stopPropagation(),a==null||a(u.shiftKey)},children:q.jsx("span",{className:cc("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===cT.SEQUENTIAL?`STEP ${r}`:(uT[t]||t).toUpperCase()})}),pT={[ut.OPEN]:"secondary",[ut.IN_PROGRESS]:"primary",[ut.IN_REVIEW]:"success",[ut.COMPLETED]:"success"},hT=({status:e})=>q.jsx($y,{category:"outline",color:pT[e],children:e}),mT={[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]"},jd={PHOTO:"photo",SCREENSHOT:"screenshot"},gT=({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]=O.useState(!1),{taskDetails:I,prefetchQuery:L}=RC({taskId:e.taskId,playbookId:h,enabled:p}),{buttons:D}=n0({taskStatus:e.workflowStatus,canStart:u}),T=O.useMemo(()=>e.imageRequired===0?null:e.imageRequired===1?jd.SCREENSHOT:e.imageRequired===2?jd.PHOTO:null,[e.imageRequired]),A=async U=>{try{F(!0),await i(U)}finally{F(!1)}};if(a==="list"){const U=O.useMemo(()=>e.workflowStatus===ut.COMPLETED?"success":e.workflowStatus===ut.IN_PROGRESS?"primary":"default",[e.workflowStatus]),j=O.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(lT,{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(Gm,{description:(I==null?void 0:I.description)||""})})]})}return q.jsxs("div",{className:cc("flex items-stretch rounded-sm overflow-hidden border",mT[e.workflowStatus]),children:[q.jsx(dT,{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(hT,{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:uk,className:"size-4"}),q.jsxs("div",{children:[q.jsx("span",{className:"font-medium",children:T===jd.PHOTO?"Photo":"Screenshot"})," ","required"]})]}):q.jsx(q.Fragment,{})]}),(I==null?void 0:I.description)&&q.jsx("div",{className:wt(!p&&"hidden"),children:q.jsx(Gm,{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(PC,{buttons:D,onButtonClick:A,disabled:x})}),m&&q.jsx(dc,{size:"smallCollapse",onMouseOver:L,category:"link",onClick:()=>{m()},title:p?"Hide task description":"Show task description",children:q.jsx(Si,{icon:Jv,className:cc("cursor-pointer text-[#0069D9]",p?"rotate-180":"")})})]})]})]})},jy=O.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})})});jy.displayName="PlaybookHeader";const Rc=({children:e})=>q.jsx("div",{className:"confidence-ui",style:{display:"unset"},children:e}),vT='/*! 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}',yT=({playbookInstanceId:e,playbookMode:t,playbookStyle:r})=>{const{playbook:i,actions:a}=e0(e);if(!i)return q.jsx("div",{});const u=async(p,m)=>{var h;if(p===tc.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===tc.START)return a.startTask(m)};return q.jsx(Ny,{playbook:i,playbookMode:t,onTaskButtonClick:u,playbookStyle:r})},bT=({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})]}),Ny=({playbook:e,playbookMode:t,onTaskButtonClick:r,playbookStyle:i})=>{var D,T,A,U,j;const{playbookInstanceName:a,tasks:u}=e,p=O.useRef(null),[m,h]=O.useState(0),[v,C]=O.useState(!1),x=()=>{C(!v)},{isTaskExpanded:F,toggleTaskExpanded:I}=Pg(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)}});O.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=O.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 bc.createPortal(q.jsxs(gb.div,{children:[q.jsx(Rc,{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:((A=i.overlay.offset)==null?void 0:A.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:Kv,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(jy,{title:a,className:wt("top-0 sticky z-2"),playbookStyle:i,ref:p}),q.jsx(bT,{playbookMode:t,numberOfTasks:e.numberofTasks,children:u.map((V,$)=>{var J;return q.jsx(gT,{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:vT})]}),document.body,"confidence-playbook-portal")},wT=({email:e,playbookId:t,playbookMode:r,playbookStyle:i})=>{const[a,u]=O.useState(null);return O.useEffect(()=>{(async()=>{const{playbookInstanceId:p,errorCode:m,details:h,message:v}=await Og({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(Rc,{children:q.jsx(Pa,{playbookInstanceId:a,playbookMode:r,playbookStyle:i})}):q.jsx("div",{children:"Loading..."})},xT=({playbookId:e,playbookMode:t="list",playbookStyle:r,btnLabel:i="Start Playbook",btnColor:a="primary"})=>{const[u,p]=O.useState(null);return q.jsxs(Rc,{children:[q.jsx(lk,{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(Rc,{children:q.jsx(Tg,{children:q.jsx(yT,{playbookInstanceId:e,playbookMode:t,playbookStyle:r})})});Pa.Context=Tg;Pa.View=Ny;Pa.AutoInstantiated=wT;Pa.WithInstantiateButton=xT;var Ps={},Ym;function ST(){if(Ym)return Ps;Ym=1;var e=bc;if(process.env.NODE_ENV==="production")Ps.createRoot=e.createRoot,Ps.hydrateRoot=e.hydrateRoot;else{var t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Ps.createRoot=function(r,i){t.usingClientEntryPoint=!0;try{return e.createRoot(r,i)}finally{t.usingClientEntryPoint=!1}},Ps.hydrateRoot=function(r,i,a){t.usingClientEntryPoint=!0;try{return e.hydrateRoot(r,i,a)}finally{t.usingClientEntryPoint=!1}}}return Ps}var kT=ST();class ET extends HTMLElement{constructor(r){super();fh(this,"_root");this.component=r,this._root=this.attachShadow({mode:"open"})}async connectedCallback(){Promise.resolve().then(()=>require("./theme-B1YL3fxQ.cjs")).then(r=>{const i=document.createElement("style");i.textContent=r.default,this._root.appendChild(i),kT.createRoot(this._root).render(this.component)})}}exports.ConfidencePlaybook=Pa;exports.ConfidenceUIWrapper=Rc;exports.PlaybookShadowDOM=ET;
|