wurk 1.0.7 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/app/controllers/wurk/api/serializers.rb +1 -1
  4. data/app/controllers/wurk/api_controller.rb +2 -1
  5. data/app/controllers/wurk/extensions_controller.rb +1 -1
  6. data/config/routes.rb +1 -1
  7. data/lib/wurk/version.rb +1 -1
  8. data/lib/wurk/web/extension.rb +1 -1
  9. data/vendor/assets/dashboard/assets/ArgsValue-BUqJa-eG.js +1 -0
  10. data/vendor/assets/dashboard/assets/BatchDetail-C5dkqAzp.js +1 -0
  11. data/vendor/assets/dashboard/assets/Batches-bgkXn8tc.js +1 -0
  12. data/vendor/assets/dashboard/assets/Busy-QSHBFXhy.js +1 -0
  13. data/vendor/assets/dashboard/assets/Cron-CUHppvTA.js +1 -0
  14. data/vendor/assets/dashboard/assets/Dashboard-CzPudckV.js +1 -0
  15. data/vendor/assets/dashboard/assets/Dead-BIq4Nz_i.js +1 -0
  16. data/vendor/assets/dashboard/assets/Extension-CW36i9R1.js +1 -0
  17. data/vendor/assets/dashboard/assets/JobDetailModal-BhNdWSp7.js +2 -0
  18. data/vendor/assets/dashboard/assets/Limiters-CiI_DfUK.js +1 -0
  19. data/vendor/assets/dashboard/assets/Metrics-BzZ8ugms.js +1 -0
  20. data/vendor/assets/dashboard/assets/Modal-DzVfgsSF.js +1 -0
  21. data/vendor/assets/dashboard/assets/PageHeader-Dp3qhX3e.js +1 -0
  22. data/vendor/assets/dashboard/assets/Profiles-BTtIlTdR.js +1 -0
  23. data/vendor/assets/dashboard/assets/Queues-BuXoxQ4W.js +1 -0
  24. data/vendor/assets/dashboard/assets/Retries-D4HAPaOQ.js +1 -0
  25. data/vendor/assets/dashboard/assets/Scheduled-6NCZYVJh.js +1 -0
  26. data/vendor/assets/dashboard/assets/Search-JaB_-52c.js +1 -0
  27. data/vendor/assets/dashboard/assets/charts-6uvCyY0x.js +1 -0
  28. data/vendor/assets/dashboard/assets/i18n-gIeA5VLo.js +1 -0
  29. data/vendor/assets/dashboard/assets/index-BDG9tvBA.css +1 -0
  30. data/vendor/assets/dashboard/assets/index-DWfWAGBc.js +141 -0
  31. data/vendor/assets/dashboard/assets/useJobSetActions-DTDaAoWr.js +1 -0
  32. data/vendor/assets/dashboard/assets/usePageParam-BcAvRko-.js +1 -0
  33. data/vendor/assets/dashboard/assets/useSort-D5Am4bGq.js +1 -0
  34. data/vendor/assets/dashboard/index.html +3 -2
  35. data/vendor/assets/dashboard/wurk-manifest.json +2 -2
  36. metadata +27 -27
  37. data/vendor/assets/dashboard/assets/AreaChart-BrEBs9bV.js +0 -53
  38. data/vendor/assets/dashboard/assets/ArgsValue-CiJzEwxS.js +0 -1
  39. data/vendor/assets/dashboard/assets/BatchDetail-Cu1LFfNV.js +0 -1
  40. data/vendor/assets/dashboard/assets/Batches-pf4zKSuU.js +0 -1
  41. data/vendor/assets/dashboard/assets/Busy-Lv6K2ZkR.js +0 -1
  42. data/vendor/assets/dashboard/assets/Cron-BcnQ2Kev.js +0 -1
  43. data/vendor/assets/dashboard/assets/Dashboard-DMO-cH6d.js +0 -1
  44. data/vendor/assets/dashboard/assets/Dead-o9K-1fo2.js +0 -1
  45. data/vendor/assets/dashboard/assets/Extension-MTUtXQuK.js +0 -1
  46. data/vendor/assets/dashboard/assets/JobDetailModal-DKYvp6QS.js +0 -2
  47. data/vendor/assets/dashboard/assets/Limiters-Bv9WgiHP.js +0 -1
  48. data/vendor/assets/dashboard/assets/Metrics-DnAsLwWl.js +0 -7
  49. data/vendor/assets/dashboard/assets/Modal-CvD-1IKA.js +0 -1
  50. data/vendor/assets/dashboard/assets/PageHeader-B-0cTQeM.js +0 -1
  51. data/vendor/assets/dashboard/assets/Profiles-S_WCoS6S.js +0 -1
  52. data/vendor/assets/dashboard/assets/Queues-B6qQmaoY.js +0 -1
  53. data/vendor/assets/dashboard/assets/Retries-BagJsqI0.js +0 -1
  54. data/vendor/assets/dashboard/assets/Scheduled-DPzzoJkC.js +0 -1
  55. data/vendor/assets/dashboard/assets/Search-jWG793ku.js +0 -1
  56. data/vendor/assets/dashboard/assets/index-DcfzJOIq.js +0 -126
  57. data/vendor/assets/dashboard/assets/index-DdkkU3x4.css +0 -1
  58. data/vendor/assets/dashboard/assets/useJobSetActions-BCW6DHSe.js +0 -1
  59. data/vendor/assets/dashboard/assets/useMutation-NUbe15ar.js +0 -1
  60. data/vendor/assets/dashboard/assets/usePageParam-BDV1DCDQ.js +0 -1
  61. data/vendor/assets/dashboard/assets/useSort-BPPxnBBo.js +0 -1
@@ -0,0 +1 @@
1
+ var e={context:void 0,registry:void 0,effects:void 0,done:!1,getContextId(){return t(this.context.count)},getNextContextId(){return t(this.context.count++)}};function t(t){let n=String(t),r=n.length-1;return e.context.id+(r?String.fromCharCode(96+r):``)+n}function n(t){e.context=t}var r=(e,t)=>e===t,i=Symbol(`solid-proxy`),a=typeof Proxy==`function`,o=Symbol(`solid-track`),s={equals:r},c=null,l=ye,u=1,d=2,f={owned:null,cleanups:null,context:null,owner:null},p={},m=null,h=null,g=null,_=null,v=null,y=0;function b(e,t){let n=g,r=m,i=e.length===0,a=t===void 0?r:t,o=i?f:{owned:null,cleanups:null,context:a?a.context:null,owner:a},s=i?e:()=>e(()=>T(()=>F(o)));m=o,g=null;try{return P(s,!0)}finally{g=n,m=r}}function x(e,t){t=t?Object.assign({},s,t):s;let n={value:e,observers:null,observerSlots:null,comparator:t.equals||void 0};return[me.bind(n),e=>(typeof e==`function`&&(e=h&&h.running&&h.sources.has(n)?e(n.tValue):e(n.value)),he(n,e))]}function S(e,t,n){M(N(e,t,!0,u))}function C(e,t,n){M(N(e,t,!1,u))}function ee(e,t,n){l=be;let r=N(e,t,!1,u),i=j&&A(j);i&&(r.suspense=i),(!n||!n.render)&&(r.user=!0),v?v.push(r):M(r)}function w(e,t,n){n=n?Object.assign({},s,n):s;let r=N(e,t,!0,0);return r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,M(r),me.bind(r)}function te(e){return e&&typeof e==`object`&&`then`in e}function ne(t,n,r){let i,a,o;typeof n==`function`?(i=t,a=n,o=r||{}):(i=!0,a=t,o=n||{});let s=null,c=p,l=null,u=!1,d=!1,f=`initialValue`in o,_=typeof i==`function`&&w(i),v=new Set,[y,b]=(o.storage||x)(o.initialValue),[C,ee]=x(void 0),[ne,re]=x(void 0,{equals:!1}),[E,ie]=x(f?`ready`:`unresolved`);e.context&&(l=e.getNextContextId(),o.ssrLoadFrom===`initial`?c=o.initialValue:e.load&&e.has(l)&&(c=e.load(l)));function D(e,t,n,r){return s===e&&(s=null,r!==void 0&&(f=!0),(e===c||t===c)&&o.onHydrated&&queueMicrotask(()=>o.onHydrated(r,{value:t})),c=p,h&&e&&u?(h.promises.delete(e),u=!1,P(()=>{h.running=!0,ae(t,n)},!1)):ae(t,n)),t}function ae(e,t){P(()=>{t===void 0&&b(()=>e),ie(t===void 0?f?`ready`:`unresolved`:`errored`),ee(t);for(let e of v.keys())e.decrement();v.clear()},!1)}function O(){let e=j&&A(j),t=y(),n=C();if(n!==void 0&&!s)throw n;return g&&!g.user&&e&&S(()=>{ne(),s&&(e.resolved&&h&&u?h.promises.add(s):v.has(e)||(e.increment(),v.add(e)))}),t}function k(e=!0){if(e!==!1&&d)return;d=!1;let t=_?_():i;if(u=h&&h.running,t==null||t===!1){D(s,T(y));return}h&&s&&h.promises.delete(s);let n,r=c===p?T(()=>{try{return a(t,{value:y(),refetching:e})}catch(e){n=e}}):c;if(n!==void 0){D(s,void 0,we(n),t);return}else if(!te(r))return D(s,r,void 0,t),r;return s=r,`v`in r?(r.s===1?D(s,r.v,void 0,t):D(s,void 0,we(r.v),t),r):(d=!0,queueMicrotask(()=>d=!1),P(()=>{ie(f?`refreshing`:`pending`),re()},!1),r.then(e=>D(r,e,void 0,t),e=>D(r,void 0,we(e),t)))}Object.defineProperties(O,{state:{get:()=>E()},error:{get:()=>C()},loading:{get(){let e=E();return e===`pending`||e===`refreshing`}},latest:{get(){if(!f)return O();let e=C();if(e&&!s)throw e;return y()}}});let se=m;return _?S(()=>(se=m,k(!1))):k(!1),[O,{refetch:e=>oe(se,()=>k(e)),mutate:b}]}function re(e){return P(e,!1)}function T(e){if(g===null)return e();let t=g;g=null;try{return e()}finally{g=t}}function E(e,t,n){let r=Array.isArray(e),i,a=n&&n.defer;return n=>{let o;if(r){o=Array(e.length);for(let t=0;t<e.length;t++)o[t]=e[t]()}else o=e();if(a)return a=!1,n;let s=T(()=>t(o,i,n));return i=o,s}}function ie(e){ee(()=>T(e))}function D(e){return m===null||(m.cleanups===null?m.cleanups=[e]:m.cleanups.push(e)),e}function ae(e,t){c||=Symbol(`error`),m=N(void 0,void 0,!0),m.context={...m.context,[c]:[t]},h&&h.running&&h.sources.add(m);try{return e()}catch(e){I(e)}finally{m=m.owner}}function O(){return g}function k(){return m}function oe(e,t){let n=m,r=g;m=e,g=null;try{return P(t,!0)}catch(e){I(e)}finally{m=n,g=r}}function se(e){if(h&&h.running)return e(),h.done;let t=g,n=m;return Promise.resolve().then(()=>{g=t,m=n;let r;return j&&(r=h||={sources:new Set,effects:[],promises:new Set,disposed:new Set,queue:new Set,running:!0},r.done||=new Promise(e=>r.resolve=e),r.running=!0),P(e,!1),g=m=null,r?r.done:void 0})}var[ce,le]=x(!1);function ue(e){v.push.apply(v,e),e.length=0}function de(e,t){let n=Symbol(`context`);return{id:n,Provider:De(n),defaultValue:e}}function A(e){let t;return m&&m.context&&(t=m.context[e.id])!==void 0?t:e.defaultValue}function fe(e){let t=w(e),n=w(()=>Ee(t()));return n.toArray=()=>{let e=n();return Array.isArray(e)?e:e==null?[]:[e]},n}var j;function pe(){return j||=de()}function me(){let e=h&&h.running;if(this.sources&&(e?this.tState:this.state))if((e?this.tState:this.state)===u)M(this);else{let e=_;_=null,P(()=>xe(this),!1),_=e}if(g){let e=this.observers;if(!e||e[e.length-1]!==g){let t=e?e.length:0;g.sources?(g.sources.push(this),g.sourceSlots.push(t)):(g.sources=[this],g.sourceSlots=[t]),e?(e.push(g),this.observerSlots.push(g.sources.length-1)):(this.observers=[g],this.observerSlots=[g.sources.length-1])}}return e&&h.sources.has(this)?this.tValue:this.value}function he(e,t,n){let r=h&&h.running&&h.sources.has(e)?e.tValue:e.value;if(!e.comparator||!e.comparator(r,t)){if(h){let r=h.running;(r||!n&&h.sources.has(e))&&(h.sources.add(e),e.tValue=t),r||(e.value=t)}else e.value=t;e.observers&&e.observers.length&&P(()=>{for(let t=0;t<e.observers.length;t+=1){let n=e.observers[t],r=h&&h.running;r&&h.disposed.has(n)||((r?!n.tState:!n.state)&&(n.pure?_.push(n):v.push(n),n.observers&&Se(n)),r?n.tState=u:n.state=u)}if(_.length>1e6)throw _=[],Error()},!1)}return t}function M(e){if(!e.fn)return;F(e);let t=y;ge(e,h&&h.running&&h.sources.has(e)?e.tValue:e.value,t),h&&!h.running&&h.sources.has(e)&&queueMicrotask(()=>{P(()=>{h&&(h.running=!0),g=m=e,ge(e,e.tValue,t),g=m=null},!1)})}function ge(e,t,n){let r,i=m,a=g;g=m=e;try{r=e.fn(t)}catch(t){return e.pure&&(h&&h.running?(e.tState=u,e.tOwned&&e.tOwned.forEach(F),e.tOwned=void 0):(e.state=u,e.owned&&e.owned.forEach(F),e.owned=null)),e.updatedAt=n+1,I(t)}finally{g=a,m=i}(!e.updatedAt||e.updatedAt<=n)&&(e.updatedAt!=null&&`observers`in e?he(e,r,!0):h&&h.running&&e.pure?(h.sources.has(e)||(e.value=r),h.sources.add(e),e.tValue=r):e.value=r,e.updatedAt=n)}function N(e,t,n,r=u,i){let a={fn:e,state:r,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:m,context:m?m.context:null,pure:n};return h&&h.running&&(a.state=0,a.tState=r),m===null||m!==f&&(h&&h.running&&m.pure?m.tOwned?m.tOwned.push(a):m.tOwned=[a]:m.owned?m.owned.push(a):m.owned=[a]),a}function _e(e){let t=h&&h.running;if((t?e.tState:e.state)===0)return;if((t?e.tState:e.state)===d)return xe(e);if(e.suspense&&T(e.suspense.inFallback))return e.suspense.effects.push(e);let n=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<y);){if(t&&h.disposed.has(e))return;(t?e.tState:e.state)&&n.push(e)}for(let r=n.length-1;r>=0;r--){if(e=n[r],t){let t=e,i=n[r+1];for(;(t=t.owner)&&t!==i;)if(h.disposed.has(t))return}if((t?e.tState:e.state)===u)M(e);else if((t?e.tState:e.state)===d){let t=_;_=null,P(()=>xe(e,n[0]),!1),_=t}}}function P(e,t){if(_)return e();let n=!1;t||(_=[]),v?n=!0:v=[],y++;try{let t=e();return ve(n),t}catch(e){n||(v=null),_=null,I(e)}}function ve(e){if(_&&=(ye(_),null),e)return;let t;if(h){if(!h.promises.size&&!h.queue.size){let e=h.sources,n=h.disposed;v.push.apply(v,h.effects),t=h.resolve;for(let e of v)`tState`in e&&(e.state=e.tState),delete e.tState;h=null,P(()=>{for(let e of n)F(e);for(let t of e){if(t.value=t.tValue,t.owned)for(let e=0,n=t.owned.length;e<n;e++)F(t.owned[e]);t.tOwned&&(t.owned=t.tOwned),delete t.tValue,delete t.tOwned,t.tState=0}le(!1)},!1)}else if(h.running){h.running=!1,h.effects.push.apply(h.effects,v),v=null,le(!0);return}}let n=v;v=null,n.length&&P(()=>l(n),!1),t&&t()}function ye(e){for(let t=0;t<e.length;t++)_e(e[t])}function be(t){let r,i=0;for(r=0;r<t.length;r++){let e=t[r];e.user?t[i++]=e:_e(e)}if(e.context){if(e.count){e.effects||=[],e.effects.push(...t.slice(0,i));return}n()}for(e.effects&&(e.done||!e.count)&&(t=[...e.effects,...t],i+=e.effects.length,delete e.effects),r=0;r<i;r++)_e(t[r])}function xe(e,t){let n=h&&h.running;n?e.tState=0:e.state=0;for(let r=0;r<e.sources.length;r+=1){let i=e.sources[r];if(i.sources){let e=n?i.tState:i.state;e===u?i!==t&&(!i.updatedAt||i.updatedAt<y)&&_e(i):e===d&&xe(i,t)}}}function Se(e){let t=h&&h.running;for(let n=0;n<e.observers.length;n+=1){let r=e.observers[n];(t?!r.tState:!r.state)&&(t?r.tState=d:r.state=d,r.pure?_.push(r):v.push(r),r.observers&&Se(r))}}function F(e){let t;if(e.sources)for(;e.sources.length;){let t=e.sources.pop(),n=e.sourceSlots.pop(),r=t.observers;if(r&&r.length){let e=r.pop(),i=t.observerSlots.pop();n<r.length&&(e.sourceSlots[i]=n,r[n]=e,t.observerSlots[n]=i)}}if(e.tOwned){for(t=e.tOwned.length-1;t>=0;t--)F(e.tOwned[t]);delete e.tOwned}if(h&&h.running&&e.pure)Ce(e,!0);else if(e.owned){for(t=e.owned.length-1;t>=0;t--)F(e.owned[t]);e.owned=null}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null}h&&h.running?e.tState=0:e.state=0}function Ce(e,t){if(t||(e.tState=0,h.disposed.add(e)),e.owned)for(let t=0;t<e.owned.length;t++)Ce(e.owned[t])}function we(e){return e instanceof Error?e:Error(typeof e==`string`?e:`Unknown error`,{cause:e})}function Te(e,t,n){try{for(let n of t)n(e)}catch(e){I(e,n&&n.owner||null)}}function I(e,t=m){let n=c&&t&&t.context&&t.context[c],r=we(e);if(!n)throw r;v?v.push({fn(){Te(r,n,t)},state:u}):Te(r,n,t)}function Ee(e){if(typeof e==`function`&&!e.length)return Ee(e());if(Array.isArray(e)){let t=[];for(let n=0;n<e.length;n++){let r=Ee(e[n]);if(Array.isArray(r))if(r.length<32768)t.push.apply(t,r);else for(let e=0;e<r.length;e++)t.push(r[e]);else t.push(r)}return t}return e}function De(e,t){return function(t){let n;return C(()=>n=T(()=>(m.context={...m.context,[e]:t.value},fe(()=>t.children))),void 0),n}}var Oe=Symbol(`fallback`);function ke(e){for(let t=0;t<e.length;t++)e[t]()}function Ae(e,t,n={}){let r=[],i=[],a=[],s=0,c=t.length>1?[]:null;return D(()=>ke(a)),()=>{let l=e()||[],u=l.length,d,f;return l[o],T(()=>{let e,t,o,m,h,g,_,v,y;if(u===0)s!==0&&(ke(a),a=[],r=[],i=[],s=0,c&&=[]),n.fallback&&(r=[Oe],i[0]=b(e=>(a[0]=e,n.fallback())),s=1);else if(s===0){for(i=Array(u),f=0;f<u;f++)r[f]=l[f],i[f]=b(p);s=u}else{for(o=Array(u),m=Array(u),c&&(h=Array(u)),g=0,_=Math.min(s,u);g<_&&r[g]===l[g];g++);for(_=s-1,v=u-1;_>=g&&v>=g&&r[_]===l[v];_--,v--)o[v]=i[_],m[v]=a[_],c&&(h[v]=c[_]);for(e=new Map,t=Array(v+1),f=v;f>=g;f--)y=l[f],d=e.get(y),t[f]=d===void 0?-1:d,e.set(y,f);for(d=g;d<=_;d++)y=r[d],f=e.get(y),f!==void 0&&f!==-1?(o[f]=i[d],m[f]=a[d],c&&(h[f]=c[d]),f=t[f],e.set(y,f)):a[d]();for(f=g;f<u;f++)f in o?(i[f]=o[f],a[f]=m[f],c&&(c[f]=h[f],c[f](f))):i[f]=b(p);i=i.slice(0,s=u),r=l.slice(0)}return i});function p(e){if(a[f]=e,c){let[e,n]=x(f);return c[f]=n,t(l[f],e)}return t(l[f])}}}function je(e,t,n={}){let r=[],i=[],a=[],s=[],c=0,l;return D(()=>ke(a)),()=>{let u=e()||[],d=u.length;return u[o],T(()=>{if(d===0)return c!==0&&(ke(a),a=[],r=[],i=[],c=0,s=[]),n.fallback&&(r=[Oe],i[0]=b(e=>(a[0]=e,n.fallback())),c=1),i;for(r[0]===Oe&&(a[0](),a=[],r=[],i=[],c=0),l=0;l<d;l++)l<r.length&&r[l]!==u[l]?s[l](()=>u[l]):l>=r.length&&(i[l]=b(f));for(;l<r.length;l++)a[l]();return c=s.length=a.length=d,r=u.slice(0),i=i.slice(0,c)});function f(e){a[l]=e;let[n,r]=x(u[l]);return s[l]=r,t(n,l)}}}function Me(e,t){return T(()=>e(t||{}))}function Ne(){return!0}var Pe={get(e,t,n){return t===i?n:e.get(t)},has(e,t){return t===i?!0:e.has(t)},set:Ne,deleteProperty:Ne,getOwnPropertyDescriptor(e,t){return{configurable:!0,enumerable:!0,get(){return e.get(t)},set:Ne,deleteProperty:Ne}},ownKeys(e){return e.keys()}};function Fe(e){return(e=typeof e==`function`?e():e)?e:{}}function Ie(){for(let e=0,t=this.length;e<t;++e){let t=this[e]();if(t!==void 0)return t}}function Le(...e){let t=!1;for(let n=0;n<e.length;n++){let r=e[n];t||=!!r&&i in r,e[n]=typeof r==`function`?(t=!0,w(r)):r}if(a&&t)return new Proxy({get(t){for(let n=e.length-1;n>=0;n--){let r=Fe(e[n])[t];if(r!==void 0)return r}},has(t){for(let n=e.length-1;n>=0;n--)if(t in Fe(e[n]))return!0;return!1},keys(){let t=[];for(let n=0;n<e.length;n++)t.push(...Object.keys(Fe(e[n])));return[...new Set(t)]}},Pe);let n={},r=Object.create(null);for(let t=e.length-1;t>=0;t--){let i=e[t];if(!i)continue;let a=Object.getOwnPropertyNames(i);for(let e=a.length-1;e>=0;e--){let t=a[e];if(t===`__proto__`||t===`constructor`)continue;let o=Object.getOwnPropertyDescriptor(i,t);if(!r[t])r[t]=o.get?{enumerable:!0,configurable:!0,get:Ie.bind(n[t]=[o.get.bind(i)])}:o.value===void 0?void 0:o;else{let e=n[t];e&&(o.get?e.push(o.get.bind(i)):o.value!==void 0&&e.push(()=>o.value))}}}let o={},s=Object.keys(r);for(let e=s.length-1;e>=0;e--){let t=s[e],n=r[t];n&&n.get?Object.defineProperty(o,t,n):o[t]=n?n.value:void 0}return o}function Re(e,...t){let n=t.length;if(a&&i in e){let r=n>1?t.flat():t[0],i=t.map(t=>new Proxy({get(n){return t.includes(n)?e[n]:void 0},has(n){return t.includes(n)&&n in e},keys(){return t.filter(t=>t in e)}},Pe));return i.push(new Proxy({get(t){return r.includes(t)?void 0:e[t]},has(t){return r.includes(t)?!1:t in e},keys(){return Object.keys(e).filter(e=>!r.includes(e))}},Pe)),i}let r=[];for(let e=0;e<=n;e++)r[e]={};for(let i of Object.getOwnPropertyNames(e)){let a=n;for(let e=0;e<t.length;e++)if(t[e].includes(i)){a=e;break}let o=Object.getOwnPropertyDescriptor(e,i);!o.get&&!o.set&&o.enumerable&&o.writable&&o.configurable?r[a][i]=o.value:Object.defineProperty(r[a],i,o)}return r}function ze(t){let r,i,a=a=>{let o=e.context;if(o){let[a,s]=x();e.count||=0,e.count++,(i||=t()).then(t=>{!e.done&&n(o),e.count--,s(()=>t.default),n()}),r=a}else if(!r){let[e]=ne(()=>(i||=t()).then(e=>e.default));r=e}let s;return w(()=>(s=r())?T(()=>{if(!o||e.done)return s(a);let t=e.context;n(o);let r=s(a);return n(t),r}):``)};return a.preload=()=>i||((i=t()).then(e=>r=()=>e.default),i),a}var Be=0;function Ve(){return e.context?e.getNextContextId():`cl-${Be++}`}var He=e=>`Stale read from <${e}>.`;function Ue(e){let t=`fallback`in e&&{fallback:()=>e.fallback};return w(Ae(()=>e.each,e.children,t||void 0))}function We(e){let t=`fallback`in e&&{fallback:()=>e.fallback};return w(je(()=>e.each,e.children,t||void 0))}function Ge(e){let t=e.keyed,n=w(()=>e.when,void 0,void 0),r=t?n:w(n,void 0,{equals:(e,t)=>!e==!t});return w(()=>{let i=r();if(i){let a=e.children;return typeof a==`function`&&a.length>0?T(()=>a(t?i:()=>{if(!T(r))throw He(`Show`);return n()})):a}return e.fallback},void 0,void 0)}function Ke(e){let t=fe(()=>e.children),n=w(()=>{let e=t(),n=Array.isArray(e)?e:[e],r=()=>void 0;for(let e=0;e<n.length;e++){let t=e,i=n[e],a=r,o=w(()=>a()?void 0:i.when,void 0,void 0),s=i.keyed?o:w(o,void 0,{equals:(e,t)=>!e==!t});r=()=>a()||(s()?[t,o,i]:void 0)}return r});return w(()=>{let t=n()();if(!t)return e.fallback;let[r,i,a]=t,o=a.children;return typeof o==`function`&&o.length>0?T(()=>o(a.keyed?i():()=>{if(T(n)()?.[0]!==r)throw He(`Match`);return i()})):o},void 0,void 0)}function qe(e){return e}var L;function Je(){L&&[...L].forEach(e=>e())}function Ye(t){let n;e.context&&e.load&&(n=e.load(e.getContextId()));let[r,i]=x(n,void 0);return L||=new Set,L.add(i),D(()=>L.delete(i)),w(()=>{let e;if(e=r()){let n=t.fallback;return typeof n==`function`&&n.length?T(()=>n(e,()=>i())):n}return ae(()=>t.children,i)},void 0,void 0)}var Xe=de();function Ze(t){let r=0,i,a,o,s,c,[l,u]=x(!1),d=pe(),f={increment:()=>{++r===1&&u(!0)},decrement:()=>{--r===0&&u(!1)},inFallback:l,effects:[],resolved:!1},p=k();if(e.context&&e.load){let t=e.getContextId(),r=e.load(t);if(r&&(typeof r!=`object`||r.s!==1?o=r:e.gather(t)),o&&o!==`$$f`){let[r,i]=x(void 0,{equals:!1});s=r,o.then(()=>{if(e.done)return i();e.gather(t),n(a),i(),n()},e=>{c=e,i()})}}let m=A(Xe);m&&(i=m.register(f.inFallback));let h;return D(()=>h&&h()),Me(d.Provider,{value:f,get children(){return w(()=>{if(c)throw c;if(a=e.context,s){s(),s=void 0;return}a&&o===`$$f`&&n();let r=w(()=>t.children);return w(e=>{let s=f.inFallback(),{showContent:c=!0,showFallback:l=!0}=i?i():{};if((!s||o&&o!==`$$f`)&&c)return f.resolved=!0,h&&h(),h=a=o=void 0,ue(f.effects),r();if(l)return h?e:b(e=>(h=e,a&&=(n({id:a.id+`F`,count:0}),void 0),t.fallback),p)})})}})}var Qe=new Set([`className`,`value`,`readOnly`,`noValidate`,`formNoValidate`,`isMap`,`noModule`,`playsInline`,`adAuctionHeaders`,`allowFullscreen`,`browsingTopics`,`defaultChecked`,`defaultMuted`,`defaultSelected`,`disablePictureInPicture`,`disableRemotePlayback`,`preservesPitch`,`shadowRootClonable`,`shadowRootCustomElementRegistry`,`shadowRootDelegatesFocus`,`shadowRootSerializable`,`sharedStorageWritable`,...`allowfullscreen.async.alpha.autofocus.autoplay.checked.controls.default.disabled.formnovalidate.hidden.indeterminate.inert.ismap.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.seamless.selected.adauctionheaders.browsingtopics.credentialless.defaultchecked.defaultmuted.defaultselected.defer.disablepictureinpicture.disableremoteplayback.preservespitch.shadowrootclonable.shadowrootcustomelementregistry.shadowrootdelegatesfocus.shadowrootserializable.sharedstoragewritable`.split(`.`)]),$e=new Set([`innerHTML`,`textContent`,`innerText`,`children`]),et=Object.assign(Object.create(null),{className:`class`,htmlFor:`for`}),tt=Object.assign(Object.create(null),{class:`className`,novalidate:{$:`noValidate`,FORM:1},formnovalidate:{$:`formNoValidate`,BUTTON:1,INPUT:1},ismap:{$:`isMap`,IMG:1},nomodule:{$:`noModule`,SCRIPT:1},playsinline:{$:`playsInline`,VIDEO:1},readonly:{$:`readOnly`,INPUT:1,TEXTAREA:1},adauctionheaders:{$:`adAuctionHeaders`,IFRAME:1},allowfullscreen:{$:`allowFullscreen`,IFRAME:1},browsingtopics:{$:`browsingTopics`,IMG:1},defaultchecked:{$:`defaultChecked`,INPUT:1},defaultmuted:{$:`defaultMuted`,AUDIO:1,VIDEO:1},defaultselected:{$:`defaultSelected`,OPTION:1},disablepictureinpicture:{$:`disablePictureInPicture`,VIDEO:1},disableremoteplayback:{$:`disableRemotePlayback`,AUDIO:1,VIDEO:1},preservespitch:{$:`preservesPitch`,AUDIO:1,VIDEO:1},shadowrootclonable:{$:`shadowRootClonable`,TEMPLATE:1},shadowrootdelegatesfocus:{$:`shadowRootDelegatesFocus`,TEMPLATE:1},shadowrootserializable:{$:`shadowRootSerializable`,TEMPLATE:1},sharedstoragewritable:{$:`sharedStorageWritable`,IFRAME:1,IMG:1}});function nt(e,t){let n=tt[e];return typeof n==`object`?n[t]?n.$:void 0:n}var rt=new Set([`beforeinput`,`click`,`dblclick`,`contextmenu`,`focusin`,`focusout`,`input`,`keydown`,`keyup`,`mousedown`,`mousemove`,`mouseout`,`mouseover`,`mouseup`,`pointerdown`,`pointermove`,`pointerout`,`pointerover`,`pointerup`,`touchend`,`touchmove`,`touchstart`]),it={xlink:`http://www.w3.org/1999/xlink`,xml:`http://www.w3.org/XML/1998/namespace`},at=e=>w(()=>e());function ot(e,t,n){let r=n.length,i=t.length,a=r,o=0,s=0,c=t[i-1].nextSibling,l=null;for(;o<i||s<a;){if(t[o]===n[s]){o++,s++;continue}for(;t[i-1]===n[a-1];)i--,a--;if(i===o){let t=a<r?s?n[s-1].nextSibling:n[a-s]:c;for(;s<a;)e.insertBefore(n[s++],t)}else if(a===s)for(;o<i;)(!l||!l.has(t[o]))&&t[o].remove(),o++;else if(t[o]===n[a-1]&&n[s]===t[i-1]){let r=t[--i].nextSibling;e.insertBefore(n[s++],t[o++].nextSibling),e.insertBefore(n[--a],r),t[i]=n[a]}else{if(!l){l=new Map;let e=s;for(;e<a;)l.set(n[e],e++)}let r=l.get(t[o]);if(r!=null)if(s<r&&r<a){let c=o,u=1,d;for(;++c<i&&c<a&&!((d=l.get(t[c]))==null||d!==r+u);)u++;if(u>r-s){let i=t[o];for(;s<r;)e.insertBefore(n[s++],i)}else e.replaceChild(n[s++],t[o++])}else o++;else t[o++].remove()}}}var st=`_$DX_DELEGATE`;function ct(e,t,n,r={}){let i;return b(r=>{i=r,t===document?e():xt(t,e(),t.firstChild?null:void 0,n)},r.owner),()=>{i(),t.textContent=``}}function lt(e,t,n,r){let i,a=()=>{let t=r?document.createElementNS(`http://www.w3.org/1998/Math/MathML`,`template`):document.createElement(`template`);return t.innerHTML=e,n?t.content.firstChild.firstChild:r?t.firstChild:t.content.firstChild},o=t?()=>T(()=>document.importNode(i||=a(),!0)):()=>(i||=a()).cloneNode(!0);return o.cloneNode=o,o}function ut(e,t=window.document){let n=t[st]||(t[st]=new Set);for(let r=0,i=e.length;r<i;r++){let i=e[r];n.has(i)||(n.add(i),t.addEventListener(i,Et))}}function dt(e,t,n){R(e)||(n==null?e.removeAttribute(t):e.setAttribute(t,n))}function ft(e,t,n,r){R(e)||(r==null?e.removeAttributeNS(t,n):e.setAttributeNS(t,n,r))}function pt(e,t,n){R(e)||(n?e.setAttribute(t,``):e.removeAttribute(t))}function mt(e,t){R(e)||(t==null?e.removeAttribute(`class`):e.className=t)}function ht(e,t,n,r){if(r)Array.isArray(n)?(e[`$$${t}`]=n[0],e[`$$${t}Data`]=n[1]):e[`$$${t}`]=n;else if(Array.isArray(n)){let r=n[0];e.addEventListener(t,n[0]=t=>r.call(e,n[1],t))}else e.addEventListener(t,n,typeof n!=`function`&&n)}function gt(e,t,n={}){let r=Object.keys(t||{}),i=Object.keys(n),a,o;for(a=0,o=i.length;a<o;a++){let r=i[a];!r||r===`undefined`||t[r]||(wt(e,r,!1),delete n[r])}for(a=0,o=r.length;a<o;a++){let i=r[a],o=!!t[i];!i||i===`undefined`||n[i]===o||!o||(wt(e,i,!0),n[i]=o)}return n}function _t(e,t,n){if(!t)return n?dt(e,`style`):t;let r=e.style;if(typeof t==`string`)return r.cssText=t;typeof n==`string`&&(r.cssText=n=void 0),n||={},t||={};let i,a;for(a in n)t[a]??r.removeProperty(a),delete n[a];for(a in t)i=t[a],i!==n[a]&&(r.setProperty(a,i),n[a]=i);return n}function vt(e,t,n){n==null?e.style.removeProperty(t):e.style.setProperty(t,n)}function yt(e,t={},n,r){let i={};return r||C(()=>i.children=z(e,t.children,i.children)),C(()=>typeof t.ref==`function`&&bt(t.ref,e)),C(()=>St(e,t,n,!0,i,!0)),i}function bt(e,t,n){return T(()=>e(t,n))}function xt(e,t,n,r){if(n!==void 0&&!r&&(r=[]),typeof t!=`function`)return z(e,t,r,n);C(r=>z(e,t(),r,n),r)}function St(e,t,n,r,i={},a=!1){t||={};for(let r in i)if(!(r in t)){if(r===`children`)continue;i[r]=Tt(e,r,null,i[r],n,a,t)}for(let o in t){if(o===`children`){r||z(e,t.children);continue}let s=t[o];i[o]=Tt(e,o,s,i[o],n,a,t)}}function R(t){return!!e.context&&!e.done&&(!t||t.isConnected)}function Ct(e){return e.toLowerCase().replace(/-([a-z])/g,(e,t)=>t.toUpperCase())}function wt(e,t,n){let r=t.trim().split(/\s+/);for(let t=0,i=r.length;t<i;t++)e.classList.toggle(r[t],n)}function Tt(e,t,n,r,i,a,o){let s,c,l,u,d;if(t===`style`)return _t(e,n,r);if(t===`classList`)return gt(e,n,r);if(n===r)return r;if(t===`ref`)a||n(e);else if(t.slice(0,3)===`on:`){let i=t.slice(3);r&&e.removeEventListener(i,r,typeof r!=`function`&&r),n&&e.addEventListener(i,n,typeof n!=`function`&&n)}else if(t.slice(0,10)===`oncapture:`){let i=t.slice(10);r&&e.removeEventListener(i,r,!0),n&&e.addEventListener(i,n,!0)}else if(t.slice(0,2)===`on`){let i=t.slice(2).toLowerCase(),a=rt.has(i);if(!a&&r){let t=Array.isArray(r)?r[0]:r;e.removeEventListener(i,t)}(a||n)&&(ht(e,i,n,a),a&&ut([i]))}else if(t.slice(0,5)===`attr:`)dt(e,t.slice(5),n);else if(t.slice(0,5)===`bool:`)pt(e,t.slice(5),n);else if((d=t.slice(0,5)===`prop:`)||(l=$e.has(t))||!i&&((u=nt(t,e.tagName))||(c=Qe.has(t)))||(s=e.nodeName.includes(`-`)||`is`in o)){if(d)t=t.slice(5),c=!0;else if(R(e))return n;t===`class`||t===`className`?mt(e,n):s&&!c&&!l?e[Ct(t)]=n:e[u||t]=n}else{let r=i&&t.indexOf(`:`)>-1&&it[t.split(`:`)[0]];r?ft(e,r,t,n):dt(e,et[t]||t,n)}return n}function Et(t){if(e.registry&&e.events&&e.events.find(([e,n])=>n===t))return;let n=t.target,r=`$$${t.type}`,i=t.target,a=t.currentTarget,o=e=>Object.defineProperty(t,"target",{configurable:!0,value:e}),s=()=>{let e=n[r];if(e&&!n.disabled){let i=n[`${r}Data`];if(i===void 0?e.call(n,t):e.call(n,i,t),t.cancelBubble)return}return n.host&&typeof n.host!=`string`&&!n.host._$host&&n.contains(t.target)&&o(n.host),!0},c=()=>{for(;s()&&(n=n._$host||n.parentNode||n.host););};if(Object.defineProperty(t,"currentTarget",{configurable:!0,get(){return n||document}}),e.registry&&!e.done&&(e.done=_$HY.done=!0),t.composedPath){let e=t.composedPath();o(e[0]);for(let t=0;t<e.length-2&&(n=e[t],s());t++){if(n._$host){n=n._$host,c();break}if(n.parentNode===a)break}}else c();o(i)}function z(e,t,n,r,i){let a=R(e);if(a){!n&&(n=[...e.childNodes]);let t=[];for(let e=0;e<n.length;e++){let r=n[e];r.nodeType===8&&r.data.slice(0,2)===`!$`?r.remove():t.push(r)}n=t}for(;typeof n==`function`;)n=n();if(t===n)return n;let o=typeof t,s=r!==void 0;if(e=s&&n[0]&&n[0].parentNode||e,o===`string`||o===`number`){if(a||o===`number`&&(t=t.toString(),t===n))return n;if(s){let i=n[0];i&&i.nodeType===3?i.data!==t&&(i.data=t):i=document.createTextNode(t),n=B(e,n,r,i)}else n=n!==``&&typeof n==`string`?e.firstChild.data=t:e.textContent=t}else if(t==null||o===`boolean`){if(a)return n;n=B(e,n,r)}else if(o===`function`)return C(()=>{let i=t();for(;typeof i==`function`;)i=i();n=z(e,i,n,r)}),()=>n;else if(Array.isArray(t)){let o=[],c=n&&Array.isArray(n);if(Dt(o,t,n,i))return C(()=>n=z(e,o,n,r,!0)),()=>n;if(a){if(!o.length)return n;if(r===void 0)return n=[...e.childNodes];let t=o[0];if(t.parentNode!==e)return n;let i=[t];for(;(t=t.nextSibling)!==r;)i.push(t);return n=i}if(o.length===0){if(n=B(e,n,r),s)return n}else c?n.length===0?Ot(e,o,r):ot(e,n,o):(n&&B(e),Ot(e,o));n=o}else if(t.nodeType){if(a&&t.parentNode)return n=s?[t]:t;if(Array.isArray(n)){if(s)return n=B(e,n,r,t);B(e,n,null,t)}else n==null||n===``||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);n=t}return n}function Dt(e,t,n,r){let i=!1;for(let a=0,o=t.length;a<o;a++){let o=t[a],s=n&&n[e.length],c;if(!(o==null||o===!0||o===!1))if((c=typeof o)==`object`&&o.nodeType)e.push(o);else if(Array.isArray(o))i=Dt(e,o,s)||i;else if(c===`function`)if(r){for(;typeof o==`function`;)o=o();i=Dt(e,Array.isArray(o)?o:[o],Array.isArray(s)?s:[s])||i}else e.push(o),i=!0;else{let t=String(o);s&&s.nodeType===3&&s.data===t?e.push(s):e.push(document.createTextNode(t))}}return i}function Ot(e,t,n=null){for(let r=0,i=t.length;r<i;r++)e.insertBefore(t[r],n)}function B(e,t,n,r){if(n===void 0)return e.textContent=``;let i=r||document.createTextNode(``);if(t.length){let r=!1;for(let a=t.length-1;a>=0;a--){let o=t[a];if(i!==o){let t=o.parentNode===e;!r&&!a?t?e.replaceChild(i,o):e.insertBefore(i,n):t&&o.remove()}else r=!0}}else e.insertBefore(i,n);return[i]}var kt=()=>void 0,At=`http://www.w3.org/2000/svg`;function jt(e,t=!1,n=void 0){return t?document.createElementNS(At,e):document.createElement(e,{is:n})}function Mt(t){let{useShadow:n}=t,r=document.createTextNode(``),i=()=>t.mount||document.body,a=k(),o,s=!!e.context;return ee(()=>{s&&(k().user=s=!1),o||=oe(a,()=>w(()=>t.children));let e=i();if(e instanceof HTMLHeadElement){let[t,n]=x(!1);b(n=>xt(e,()=>t()?n():o(),null)),D(()=>n(!0))}else{let i=jt(t.isSVG?`g`:`div`,t.isSVG),a=n&&i.attachShadow?i.attachShadow({mode:`open`}):i;Object.defineProperty(i,"_$host",{get(){return r.parentNode},configurable:!0}),xt(a,o),e.appendChild(i),t.ref&&t.ref(i),D(()=>e.removeChild(i))}},void 0,{render:!s}),r}var Nt=Symbol(`store-raw`),V=Symbol(`store-node`),H=Symbol(`store-has`),Pt=Symbol(`store-self`);function Ft(e){let t=e[i];if(!t&&(Object.defineProperty(e,i,{value:t=new Proxy(e,Vt)}),!Array.isArray(e))){let n=Object.keys(e),r=Object.getOwnPropertyDescriptors(e),i=Object.getPrototypeOf(e),a=i!==null&&typeof e==`object`&&!!e&&!Array.isArray(e)&&i!==Object.prototype;if(a){let e=Object.getOwnPropertyDescriptors(i);n.push(...Object.keys(e)),Object.assign(r,e)}for(let i=0,o=n.length;i<o;i++){let o=n[i];a&&o===`constructor`||r[o].get&&Object.defineProperty(e,o,{configurable:!0,enumerable:r[o].enumerable,get:r[o].get.bind(t)})}}return t}function U(e){let t;return typeof e==`object`&&!!e&&(e[i]||!(t=Object.getPrototypeOf(e))||t===Object.prototype||Array.isArray(e))}function W(e,t=new Set){let n,r,i,a;if(n=e!=null&&e[Nt])return n;if(!U(e)||t.has(e))return e;if(Array.isArray(e)){Object.isFrozen(e)?e=e.slice(0):t.add(e);for(let n=0,a=e.length;n<a;n++)i=e[n],(r=W(i,t))!==i&&(e[n]=r)}else{Object.isFrozen(e)?e=Object.assign({},e):t.add(e);let n=Object.keys(e),o=Object.getOwnPropertyDescriptors(e);for(let s=0,c=n.length;s<c;s++)a=n[s],!o[a].get&&(i=e[a],(r=W(i,t))!==i&&(e[a]=r))}return e}function It(e,t){let n=e[t];return n||Object.defineProperty(e,t,{value:n=Object.create(null)}),n}function Lt(e,t,n){if(e[t])return e[t];let[r,i]=x(n,{equals:!1,internal:!0});return r.$=i,e[t]=r}function Rt(e,t){let n=Reflect.getOwnPropertyDescriptor(e,t);return!n||n.get||!n.configurable||t===i||t===V?n:(delete n.value,delete n.writable,n.get=()=>e[i][t],n)}function zt(e){O()&&Lt(It(e,V),Pt)()}function Bt(e){return zt(e),Reflect.ownKeys(e)}var Vt={get(e,t,n){if(t===Nt)return e;if(t===i)return n;if(t===o)return zt(e),n;let r=It(e,V),a=r[t],s=a?a():e[t];if(t===V||t===H||t===`__proto__`)return s;if(!a){let n=Object.getOwnPropertyDescriptor(e,t);O()&&(typeof s!=`function`||e.hasOwnProperty(t))&&!(n&&n.get)&&(s=Lt(r,t,s)())}return U(s)?Ft(s):s},has(e,t){return t===Nt||t===i||t===o||t===V||t===H||t===`__proto__`?!0:(O()&&Lt(It(e,H),t)(),t in e)},set(){return!0},deleteProperty(){return!0},ownKeys:Bt,getOwnPropertyDescriptor:Rt};function G(e,t,n,r=!1){if(t===`__proto__`||!r&&e[t]===n)return;let i=e[t],a=e.length;n===void 0?(delete e[t],e[H]&&e[H][t]&&i!==void 0&&e[H][t].$()):(e[t]=n,e[H]&&e[H][t]&&i===void 0&&e[H][t].$());let o=It(e,V),s;if((s=Lt(o,t,i))&&s.$(()=>n),Array.isArray(e)&&e.length!==a){for(let t=e.length;t<a;t++)(s=o[t])&&s.$();(s=Lt(o,`length`,a))&&s.$(e.length)}(s=o[Pt])&&s.$()}function Ht(e,t){let n=Object.keys(t);for(let r=0;r<n.length;r+=1){let i=n[r];Ut(i)||G(e,i,t[i])}}function Ut(e){return e===`__proto__`||e===`constructor`||e===`prototype`}function Wt(e,t){if(typeof t==`function`&&(t=t(e)),t=W(t),Array.isArray(t)){if(e===t)return;let n=0,r=t.length;for(;n<r;n++){let r=t[n];e[n]!==r&&G(e,n,r)}G(e,`length`,r)}else Ht(e,t)}function Gt(e,t,n=[]){let r,i=e;if(t.length>1){r=t.shift();let a=typeof r,o=Array.isArray(e);if(a===`string`&&(r===`__proto__`||t.length>1&&Ut(r)))return;if(Array.isArray(r)){for(let i=0;i<r.length;i++)Gt(e,[r[i]].concat(t),n);return}else if(o&&a===`function`){for(let i=0;i<e.length;i++)r(e[i],i)&&Gt(e,[i].concat(t),n);return}else if(o&&a===`object`){let{from:i=0,to:a=e.length-1,by:o=1}=r;for(let r=i;r<=a;r+=o)Gt(e,[r].concat(t),n);return}else if(t.length>1){Gt(e[r],t,[r].concat(n));return}i=e[r],n=[r].concat(n)}let a=t[0];typeof a==`function`&&(a=a(i,n),a===i)||r===void 0&&a==null||(a=W(a),r===void 0||U(i)&&U(a)&&!Array.isArray(a)?Ht(i,a):G(e,r,a))}function Kt(...[e,t]){let n=W(e||{}),r=Array.isArray(n),i=Ft(n);function a(...e){re(()=>{r&&e.length===1?Wt(n,e[0]):Gt(n,e)})}return[i,a]}var qt=Symbol(`store-root`);function Jt(e){return e===`__proto__`||e===`constructor`||e===`prototype`}function K(e,t,n,r,i){if(Jt(n))return;let a=t[n];if(e===a)return;let o=Array.isArray(e);if(n!==qt&&(!U(e)||!U(a)||o!==Array.isArray(a)||i&&e[i]!==a[i])){G(t,n,e);return}if(o){if(e.length&&a.length&&(!r||i&&e[0]&&e[0][i]!=null)){let t,n,o,s,c,l,u,d;for(o=0,s=Math.min(a.length,e.length);o<s&&(a[o]===e[o]||i&&a[o]&&e[o]&&a[o][i]&&a[o][i]===e[o][i]);o++)K(e[o],a,o,r,i);let f=Array(e.length),p=new Map;for(s=a.length-1,c=e.length-1;s>=o&&c>=o&&(a[s]===e[c]||i&&a[s]&&e[c]&&a[s][i]&&a[s][i]===e[c][i]);s--,c--)f[c]=a[s];if(o>c||o>s){for(n=o;n<=c;n++)G(a,n,e[n]);for(;n<e.length;n++)G(a,n,f[n]),K(e[n],a,n,r,i);a.length>e.length&&G(a,`length`,e.length);return}for(u=Array(c+1),n=c;n>=o;n--)l=e[n],d=i&&l?l[i]:l,t=p.get(d),u[n]=t===void 0?-1:t,p.set(d,n);for(t=o;t<=s;t++)l=a[t],d=i&&l?l[i]:l,n=p.get(d),n!==void 0&&n!==-1&&(f[n]=a[t],n=u[n],p.set(d,n));for(n=o;n<e.length;n++)n in f?(G(a,n,f[n]),K(e[n],a,n,r,i)):G(a,n,e[n])}else for(let t=0,n=e.length;t<n;t++)K(e[t],a,t,r,i);a.length>e.length&&G(a,`length`,e.length);return}let s=Object.keys(e);for(let t=0,n=s.length;t<n;t++)Jt(s[t])||K(e[s[t]],a,s[t],r,i);let c=Object.keys(a);for(let t=0,n=c.length;t<n;t++)e[c[t]]===void 0&&G(a,c[t],void 0)}function Yt(e,t={}){let{merge:n,key:r=`id`}=t,i=W(e);return e=>{if(!U(e)||!U(i))return i;let t=K(i,{[qt]:e},qt,n,r);return t===void 0?e:t}}var q=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=new class extends q{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e();return window.addEventListener(`visibilitychange`,t,!1),()=>{window.removeEventListener(`visibilitychange`,t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(e=>{typeof e==`boolean`?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e==`boolean`?this.#e:globalThis.document?.visibilityState!==`hidden`}},Zt={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},J=new class{#e=Zt;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}};function Qt(e){setTimeout(e,0)}var $t=typeof window>`u`||`Deno`in globalThis;function Y(){}function en(e,t){return typeof e==`function`?e(t):e}function tn(e){return typeof e==`number`&&e>=0&&e!==1/0}function nn(e,t){return Math.max(e+(t||0)-Date.now(),0)}function X(e,t){return typeof e==`function`?e(t):e}function Z(e,t){return typeof e==`function`?e(t):e}function rn(e,t){let{type:n=`all`,exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(r){if(t.queryHash!==on(o,t.options))return!1}else if(!sn(t.queryKey,o))return!1}if(n!==`all`){let e=t.isActive();if(n===`active`&&!e||n===`inactive`&&e)return!1}return!(typeof s==`boolean`&&t.isStale()!==s||i&&i!==t.state.fetchStatus||a&&!a(t))}function an(e,t){let{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(Q(t.options.mutationKey)!==Q(a))return!1}else if(!sn(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function on(e,t){return(t?.queryKeyHashFn||Q)(e)}function Q(e){return JSON.stringify(e,(e,t)=>fn(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function sn(e,t){return e===t?!0:typeof e==typeof t&&e&&t&&typeof e==`object`&&typeof t==`object`?Object.keys(t).every(n=>sn(e[n],t[n])):!1}var cn=Object.prototype.hasOwnProperty;function ln(e,t,n=0){if(e===t)return e;if(n>500)return t;let r=dn(e)&&dn(t);if(!r&&!(fn(e)&&fn(t)))return t;let i=(r?e:Object.keys(e)).length,a=r?t:Object.keys(t),o=a.length,s=r?Array(o):{},c=0;for(let l=0;l<o;l++){let o=r?l:a[l],u=e[o],d=t[o];if(u===d){s[o]=u,(r?l<i:cn.call(e,o))&&c++;continue}if(u===null||d===null||typeof u!=`object`||typeof d!=`object`){s[o]=d;continue}let f=ln(u,d,n+1);s[o]=f,f===u&&c++}return i===o&&c===i?e:s}function un(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0}function dn(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function fn(e){if(!pn(e))return!1;let t=e.constructor;if(t===void 0)return!0;let n=t.prototype;return!(!pn(n)||!n.hasOwnProperty(`isPrototypeOf`)||Object.getPrototypeOf(e)!==Object.prototype)}function pn(e){return Object.prototype.toString.call(e)===`[object Object]`}function mn(e){return new Promise(t=>{J.setTimeout(t,e)})}function hn(e,t,n){return typeof n.structuralSharing==`function`?n.structuralSharing(e,t):n.structuralSharing===!1?t:ln(e,t)}function gn(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function _n(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var vn=Symbol();function yn(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===vn?()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function bn(e,t){return typeof e==`function`?e(...t):!!e}function xn(e,t,n){let r=!1,i;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(i??=t(),r?i:(r=!0,i.aborted?n():i.addEventListener(`abort`,n,{once:!0}),i))}),e}var Sn=(()=>{let e=()=>$t;return{isServer(){return e()},setIsServer(t){e=t}}})();function Cn(){let e,t,n=new Promise((n,r)=>{e=n,t=r});n.status=`pending`,n.catch(()=>{});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.resolve=t=>{r({status:`fulfilled`,value:t}),e(t)},n.reject=e=>{r({status:`rejected`,reason:e}),t(e)},n}function wn(e){let t;if(e.then(e=>(t=e,e),Y)?.catch(Y),t!==void 0)return{data:t}}function Tn(e){return e}function En(e,t,n){if(typeof t!=`object`||!t)return;let r=e.getMutationCache(),i=e.getQueryCache(),a=n?.defaultOptions?.deserializeData??e.getDefaultOptions().hydrate?.deserializeData??Tn,o=t.mutations||[],s=t.queries||[];o.forEach(({state:t,...i})=>{r.build(e,{...e.getDefaultOptions().hydrate?.mutations,...n?.defaultOptions?.mutations,...i},t)}),s.forEach(({queryKey:t,state:r,queryHash:o,meta:s,promise:c,dehydratedAt:l,queryType:u})=>{let d=c?wn(c):void 0,f=r.data===void 0?d?.data:r.data,p=f===void 0?f:a(f),m=i.get(o),h=m?.state.status===`pending`,g=m?.state.fetchStatus===`fetching`;if(m){let e=d&&l!==void 0&&l>m.state.dataUpdatedAt;if(r.dataUpdatedAt>m.state.dataUpdatedAt||e){let{fetchStatus:e,...t}=r;m.setState({...t,data:p,...r.status===`pending`&&p!==void 0&&{status:`success`,dataUpdatedAt:l??Date.now(),...!g&&{fetchStatus:`idle`}}})}}else m=i.build(e,{...e.getDefaultOptions().hydrate?.queries,...n?.defaultOptions?.queries,queryKey:t,queryHash:o,meta:s,_type:u},{...r,data:p,fetchStatus:`idle`,status:r.status===`pending`&&p!==void 0?`success`:r.status,...r.status===`pending`&&p!==void 0&&{dataUpdatedAt:l??Date.now()}});c&&!d&&!h&&!g&&(l===void 0||l>m.state.dataUpdatedAt)&&m.fetch(void 0,{initialPromise:Promise.resolve(c).then(a)}).catch(Y)})}var Dn=Qt;function On(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=Dn,a=r=>{t?e.push(r):i(()=>{n(r)})},o=()=>{let t=e;e=[],t.length&&i(()=>{r(()=>{t.forEach(e=>{n(e)})})})};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||o()}return n},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}var $=On(),kn=new class extends q{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener(`online`,t,!1),window.addEventListener(`offline`,n,!1),()=>{window.removeEventListener(`online`,t),window.removeEventListener(`offline`,n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#e}};function An(e){return Math.min(1e3*2**e,3e4)}function jn(e){return(e??`online`)===`online`?kn.isOnline():!0}var Mn=class extends Error{constructor(e){super(`CancelledError`),this.revert=e?.revert,this.silent=e?.silent}};function Nn(e){let t=!1,n=0,r,i=Cn(),a=()=>i.status!==`pending`,o=t=>{if(!a()){let n=new Mn(t);f(n),e.onCancel?.(n)}},s=()=>{t=!0},c=()=>{t=!1},l=()=>Xt.isFocused()&&(e.networkMode===`always`||kn.isOnline())&&e.canRun(),u=()=>jn(e.networkMode)&&e.canRun(),d=e=>{a()||(r?.(),i.resolve(e))},f=e=>{a()||(r?.(),i.reject(e))},p=()=>new Promise(t=>{r=e=>{(a()||l())&&t(e)},e.onPause?.()}).then(()=>{r=void 0,a()||e.onContinue?.()}),m=()=>{if(a())return;let r,i=n===0?e.initialPromise:void 0;try{r=i??e.fn()}catch(e){r=Promise.reject(e)}Promise.resolve(r).then(d).catch(r=>{if(a())return;let i=e.retry??(Sn.isServer()?0:3),o=e.retryDelay??An,s=typeof o==`function`?o(n,r):o,c=i===!0||typeof i==`number`&&n<i||typeof i==`function`&&i(n,r);if(t||!c){f(r);return}n++,e.onFail?.(n,r),mn(s).then(()=>l()?void 0:p()).then(()=>{t?f(r):m()})})};return{promise:i,status:()=>i.status,cancel:o,continue:()=>(r?.(),i),cancelRetry:s,continueRetry:c,canStart:u,start:()=>(u()?m():p().then(m),i)}}var Pn=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),tn(this.gcTime)&&(this.#e=J.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Sn.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(J.clearTimeout(this.#e),this.#e=void 0)}};function Fn(e){return{onFetch:(t,n)=>{let r=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[],s={pages:[],pageParams:[]},c=0,l=async()=>{let n=!1,l=e=>{xn(e,()=>t.signal,()=>n=!0)},u=yn(t.options,t.fetchOptions),d=async(e,r,i)=>{if(n)return Promise.reject(t.signal.reason);if(r==null&&e.pages.length)return Promise.resolve(e);let a=(()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?`backward`:`forward`,meta:t.options.meta};return l(e),e})(),o=await u(a),{maxPages:s}=t.options,c=i?_n:gn;return{pages:c(e.pages,o,s),pageParams:c(e.pageParams,r,s)}};if(i&&a.length){let e=i===`backward`,t=e?Ln:In,n={pages:a,pageParams:o};s=await d(n,t(r,n),e)}else{let t=e??a.length;do{let e=c===0?o[0]??r.initialPageParam:In(r,s);if(c>0&&e==null)break;s=await d(s,e),c++}while(c<t)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=l}}}function In(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Ln(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var Rn=class extends Pn{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e){super(),this.#s=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#i=e.client,this.#r=this.#i.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=Vn(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#a?.promise}setOptions(e){if(this.options={...this.#o,...e},e?._type&&(this.#e=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let e=Vn(this.options);e.data!==void 0&&(this.setState(Bn(e.data,e.dataUpdatedAt)),this.#t=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus===`idle`&&this.#r.remove(this)}setData(e,t){let n=hn(this.state.data,e,this.options);return this.#l({data:n,type:`success`,dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e){this.#l({type:`setState`,state:e})}cancel(e){let t=this.#a?.promise;return this.#a?.cancel(e),t?t.then(Y).catch(Y):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>Z(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===vn||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>X(e.options.staleTime,this)===`static`):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e===`static`?!1:this.state.isInvalidated?!0:!nn(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#r.notify({type:`observerAdded`,query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#a&&(this.#s||this.#c()?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#r.notify({type:`observerRemoved`,query:this,observer:e}))}getObserversCount(){return this.observers.length}#c(){return this.state.fetchStatus===`paused`&&this.state.status===`pending`}invalidate(){this.state.isInvalidated||this.#l({type:`invalidate`})}async fetch(e,t){if(this.state.fetchStatus!==`idle`&&this.#a?.status()!==`rejected`){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let n=new AbortController,r=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#s=!0,n.signal)})},i=()=>{let e=yn(this.options,t),n=(()=>{let e={client:this.#i,queryKey:this.queryKey,meta:this.meta};return r(e),e})();return this.#s=!1,this.options.persister?this.options.persister(e,n,this):e(n)},a=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:i};return r(e),e})();(this.#e===`infinite`?Fn(this.options.pages):this.options.behavior)?.onFetch(a,this),this.#n=this.state,(this.state.fetchStatus===`idle`||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#l({type:`fetch`,meta:a.fetchOptions?.meta}),this.#a=Nn({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof Mn&&e.revert&&this.setState({...this.#n,fetchStatus:`idle`}),n.abort()},onFail:(e,t)=>{this.#l({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#l({type:`pause`})},onContinue:()=>{this.#l({type:`continue`})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{let e=await this.#a.start();if(e===void 0)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#r.config.onSuccess?.(e,this),this.#r.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof Mn){if(e.silent)return this.#a.promise;if(e.revert){if(this.state.data===void 0)throw e;return this.state.data}}throw this.#l({type:`error`,error:e}),this.#r.config.onError?.(e,this),this.#r.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#l(e){let t=t=>{switch(e.type){case`failed`:return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case`pause`:return{...t,fetchStatus:`paused`};case`continue`:return{...t,fetchStatus:`fetching`};case`fetch`:return{...t,...zn(t.data,this.options),fetchMeta:e.meta??null};case`success`:let n={...t,...Bn(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:`idle`,fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?n:void 0,n;case`error`:let r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:`idle`,status:`error`,isInvalidated:!0};case`invalidate`:return{...t,isInvalidated:!0};case`setState`:return{...t,...e.state}}};this.state=t(this.state),$.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#r.notify({query:this,type:`updated`,action:e})})}};function zn(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:jn(t.networkMode)?`fetching`:`paused`,...e===void 0&&{error:null,status:`pending`}}}function Bn(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:`success`}}function Vn(e){let 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 Hn=class extends q{constructor(e,t){super(),this.options=t,this.#e=e,this.#s=null,this.#o=Cn(),this.bindMethods(),this.setOptions(t)}#e;#t=void 0;#n=void 0;#r=void 0;#i;#a;#o;#s;#c;#l;#u;#d;#f;#p;#m=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),Wn(this.#t,this.options)?this.#h():this.updateResult(),this.#y())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Gn(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Gn(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#b(),this.#x(),this.#t.removeObserver(this)}setOptions(e){let t=this.options,n=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!=`boolean`&&typeof this.options.enabled!=`function`&&typeof Z(this.options.enabled,this.#t)!=`boolean`)throw Error(`Expected enabled to be a boolean or a callback that returns a boolean`);this.#S(),this.#t.setOptions(this.options),t._defaulted&&!un(this.options,t)&&this.#e.getQueryCache().notify({type:`observerOptionsUpdated`,query:this.#t,observer:this});let r=this.hasListeners();r&&Kn(this.#t,n,this.options,t)&&this.#h(),this.updateResult(),r&&(this.#t!==n||Z(this.options.enabled,this.#t)!==Z(t.enabled,this.#t)||X(this.options.staleTime,this.#t)!==X(t.staleTime,this.#t))&&this.#g();let i=this.#_();r&&(this.#t!==n||Z(this.options.enabled,this.#t)!==Z(t.enabled,this.#t)||i!==this.#p)&&this.#v(i)}getOptimisticResult(e){let t=this.#e.getQueryCache().build(this.#e,e),n=this.createResult(t,e);return Jn(this,n)&&(this.#r=n,this.#a=this.options,this.#i=this.#t.state),n}getCurrentResult(){return this.#r}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),n===`promise`&&(this.trackProp(`data`),!this.options.experimental_prefetchInRender&&this.#o.status===`pending`&&this.#o.reject(Error(`experimental_prefetchInRender feature flag is not enabled`))),Reflect.get(e,n))})}trackProp(e){this.#m.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#h({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#h(e){this.#S();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(Y)),t}#g(){this.#b();let e=X(this.options.staleTime,this.#t);if(Sn.isServer()||this.#r.isStale||!tn(e))return;let t=nn(this.#r.dataUpdatedAt,e)+1;this.#d=J.setTimeout(()=>{this.#r.isStale||this.updateResult()},t)}#_(){return(typeof this.options.refetchInterval==`function`?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#v(e){this.#x(),this.#p=e,!(Sn.isServer()||Z(this.options.enabled,this.#t)===!1||!tn(this.#p)||this.#p===0)&&(this.#f=J.setInterval(()=>{(this.options.refetchIntervalInBackground||Xt.isFocused())&&this.#h()},this.#p))}#y(){this.#g(),this.#v(this.#_())}#b(){this.#d!==void 0&&(J.clearTimeout(this.#d),this.#d=void 0)}#x(){this.#f!==void 0&&(J.clearInterval(this.#f),this.#f=void 0)}createResult(e,t){let n=this.#t,r=this.options,i=this.#r,a=this.#i,o=this.#a,s=e===n?this.#n:e.state,{state:c}=e,l={...c},u=!1,d;if(t._optimisticResults){let i=this.hasListeners(),a=!i&&Wn(e,t),o=i&&Kn(e,n,t,r);(a||o)&&(l={...l,...zn(c.data,e.options)}),t._optimisticResults===`isRestoring`&&(l.fetchStatus=`idle`)}let{error:f,errorUpdatedAt:p,status:m}=l;d=l.data;let h=!1;if(t.placeholderData!==void 0&&d===void 0&&m===`pending`){let e;i?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(e=i.data,h=!0):e=typeof t.placeholderData==`function`?t.placeholderData(this.#u?.state.data,this.#u):t.placeholderData,e!==void 0&&(m=`success`,d=hn(i?.data,e,t),u=!0)}if(t.select&&d!==void 0&&!h)if(i&&d===a?.data&&t.select===this.#c)d=this.#l;else try{this.#c=t.select,d=t.select(d),d=hn(i?.data,d,t),this.#l=d,this.#s=null}catch(e){this.#s=e}this.#s&&(f=this.#s,d=this.#l,p=Date.now(),m=`error`);let g=l.fetchStatus===`fetching`,_=m===`pending`,v=m===`error`,y=_&&g,b=d!==void 0,x={status:m,fetchStatus:l.fetchStatus,isPending:_,isSuccess:m===`success`,isError:v,isInitialLoading:y,isLoading:y,data:d,dataUpdatedAt:l.dataUpdatedAt,error:f,errorUpdatedAt:p,failureCount:l.fetchFailureCount,failureReason:l.fetchFailureReason,errorUpdateCount:l.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:l.dataUpdateCount>s.dataUpdateCount||l.errorUpdateCount>s.errorUpdateCount,isFetching:g,isRefetching:g&&!_,isLoadingError:v&&!b,isPaused:l.fetchStatus===`paused`,isPlaceholderData:u,isRefetchError:v&&b,isStale:qn(e,t),refetch:this.refetch,promise:this.#o,isEnabled:Z(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){let t=x.data!==void 0,r=x.status===`error`&&!t,i=e=>{r?e.reject(x.error):t&&e.resolve(x.data)},a=()=>{let e=this.#o=x.promise=Cn();i(e)},o=this.#o;switch(o.status){case`pending`:e.queryHash===n.queryHash&&i(o);break;case`fulfilled`:(r||x.data!==o.value)&&a();break;case`rejected`:(!r||x.error!==o.reason)&&a();break}}return x}updateResult(){let e=this.#r,t=this.createResult(this.#t,this.options);this.#i=this.#t.state,this.#a=this.options,this.#i.data!==void 0&&(this.#u=this.#t),!un(t,e)&&(this.#r=t,this.#C({listeners:(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n=typeof t==`function`?t():t;if(n===`all`||!n&&!this.#m.size)return!0;let r=new Set(n??this.#m);return this.options.throwOnError&&r.add(`error`),Object.keys(this.#r).some(t=>{let n=t;return this.#r[n]!==e[n]&&r.has(n)})})()}))}#S(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;let t=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#y()}#C(e){$.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#r)}),this.#e.getQueryCache().notify({query:this.#t,type:`observerResultsUpdated`})})}};function Un(e,t){return Z(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status===`error`&&Z(t.retryOnMount,e)===!1)}function Wn(e,t){return Un(e,t)||e.state.data!==void 0&&Gn(e,t,t.refetchOnMount)}function Gn(e,t,n){if(Z(t.enabled,e)!==!1&&X(t.staleTime,e)!==`static`){let r=typeof n==`function`?n(e):n;return r===`always`||r!==!1&&qn(e,t)}return!1}function Kn(e,t,n,r){return(e!==t||Z(r.enabled,e)===!1)&&(!n.suspense||e.state.status!==`error`)&&qn(e,n)}function qn(e,t){return Z(t.enabled,e)!==!1&&e.isStaleByTime(X(t.staleTime,e))}function Jn(e,t){return!un(e.getCurrentResult(),t)}var Yn=class extends Pn{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||Xn(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:`observerAdded`,mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:`observerRemoved`,mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status===`pending`?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#i({type:`continue`})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=Nn({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error(`No mutationFn found`)),onFail:(e,t)=>{this.#i({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#i({type:`pause`})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});let r=this.state.status===`pending`,i=!this.#r.canStart();try{if(r)t();else{this.#i({type:`pending`,variables:e,isPaused:i}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#i({type:`pending`,context:t,variables:e,isPaused:i})}let a=await this.#r.start();return await this.#n.config.onSuccess?.(a,e,this.state.context,this,n),await this.options.onSuccess?.(a,e,this.state.context,n),await this.#n.config.onSettled?.(a,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(a,null,e,this.state.context,n),this.#i({type:`success`,data:a}),a}catch(t){try{await this.#n.config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await this.#n.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw this.#i({type:`error`,error:t}),t}finally{this.#n.runNext(this)}}#i(e){let t=t=>{switch(e.type){case`failed`:return{...t,failureCount:e.failureCount,failureReason:e.error};case`pause`:return{...t,isPaused:!0};case`continue`:return{...t,isPaused:!1};case`pending`:return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:`pending`,variables:e.variables,submittedAt:Date.now()};case`success`:return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:`success`,isPaused:!1};case`error`:return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:`error`}}};this.state=t(this.state),$.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:`updated`,action:e})})}};function Xn(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}var Zn=class extends q{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){let r=new Yn({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);let t=Qn(e);if(typeof t==`string`){let n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(this.#e.delete(e)){let t=Qn(e);if(typeof t==`string`){let n=this.#t.get(t);if(n)if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=Qn(e);if(typeof t==`string`){let n=this.#t.get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}else return!0}runNext(e){let t=Qn(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){$.batch(()=>{this.#e.forEach(e=>{this.notify({type:`removed`,mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>an(t,e))}findAll(e={}){return this.getAll().filter(t=>an(e,t))}notify(e){$.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return $.batch(()=>Promise.all(e.map(e=>e.continue().catch(Y))))}};function Qn(e){return e.options.scope?.id}var $n=class extends q{#e;#t=void 0;#n;#r;constructor(e,t){super(),this.#e=e,this.setOptions(t),this.bindMethods(),this.#i()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=this.#e.defaultMutationOptions(e),un(this.options,t)||this.#e.getMutationCache().notify({type:`observerOptionsUpdated`,mutation:this.#n,observer:this}),t?.mutationKey&&this.options.mutationKey&&Q(t.mutationKey)!==Q(this.options.mutationKey)?this.reset():this.#n?.state.status===`pending`&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(e){this.#i(),this.#a(e)}getCurrentResult(){return this.#t}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#i(),this.#a()}mutate(e,t){return this.#r=t,this.#n?.removeObserver(this),this.#n=this.#e.getMutationCache().build(this.#e,this.options),this.#n.addObserver(this),this.#n.execute(e)}#i(){let e=this.#n?.state??Xn();this.#t={...e,isPending:e.status===`pending`,isSuccess:e.status===`success`,isError:e.status===`error`,isIdle:e.status===`idle`,mutate:this.mutate,reset:this.reset}}#a(e){$.batch(()=>{if(this.#r&&this.hasListeners()){let t=this.#t.variables,n=this.#t.context,r={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(e?.type===`success`){try{this.#r.onSuccess?.(e.data,t,n,r)}catch(e){Promise.reject(e)}try{this.#r.onSettled?.(e.data,null,t,n,r)}catch(e){Promise.reject(e)}}else if(e?.type===`error`){try{this.#r.onError?.(e.error,t,n,r)}catch(e){Promise.reject(e)}try{this.#r.onSettled?.(void 0,e.error,t,n,r)}catch(e){Promise.reject(e)}}}this.listeners.forEach(e=>{e(this.#t)})})}},er=class extends q{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){let r=t.queryKey,i=t.queryHash??on(r,t),a=this.get(i);return a||(a=new Rn({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){$.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>rn(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>rn(e,t)):t}notify(e){$.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){$.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){$.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},tr=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new er,this.#t=e.mutationCache||new Zn,this.#n=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=Xt.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=kn.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return this.#t.findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(X(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=this.#e.get(r.queryHash)?.state.data,a=en(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return $.batch(()=>this.#e.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){let t=this.#e;$.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#e;return $.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t},r=$.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(Y).catch(Y)}invalidateQueries(e,t={}){return $.batch(()=>(this.#e.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},t)))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0},r=$.batch(()=>this.#e.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(Y)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(Y)}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(X(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Y).catch(Y)}fetchInfiniteQuery(e){return e._type=`infinite`,this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Y).catch(Y)}ensureInfiniteQueryData(e){return e._type=`infinite`,this.ensureQueryData(e)}resumePausedMutations(){return kn.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(Q(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{sn(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(Q(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{sn(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||=on(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===vn&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},nr=de(void 0),rr=e=>{if(e)return e;let t=A(nr);if(!t)throw Error(`No QueryClient set, use QueryClientProvider to set one`);return t()},ir=e=>(C(t=>(t?.(),e.client.mount(),e.client.unmount.bind(e.client))),D(()=>e.client.unmount()),Me(nr.Provider,{value:()=>e.client,get children(){return e.children}})),ar=de(()=>!1),or=()=>A(ar);ar.Provider;function sr(e,t,n,r){if(n===!1)return t;if(typeof n==`function`){let r=n(e.data,t.data);return{...t,data:r}}let i=t.data;if(e.data===void 0)try{i=structuredClone(i)}catch{}let a=Yt(i,{key:n})(e.data);return{...t,data:a}}var cr=(e,t)=>t;function lr(e,t,n){let r=w(()=>rr(n?.())),i=or(),a=w(()=>{let t=r().defaultQueryOptions(e());return t._optimisticResults=i()?`isRestoring`:`optimistic`,t.structuralSharing=!1,t}),o=a(),[s,c]=x(new t(r(),a())),l=s().getOptimisticResult(a()),[u,d]=Kt(l),f=()=>s().subscribe(e=>{l=e,queueMicrotask(()=>{h&&v()})});function p(e){let t=s().options,n=t.reconcile;d(r=>sr(r,e,n===void 0?!1:n,t.queryHash))}function m(){return[()=>u,e=>{let t=W(u);if(typeof e==`function`&&(e=e(t)),e?.hydrationData){let{hydrationData:t,...n}=e;e=n}p(e)}]}let h=null,g=null,[_,{refetch:v}]=ne(()=>{let e=s();return new Promise((t,n)=>{if(g=t,!h&&!i()&&(h=f()),e.updateResult(),l.isError&&!l.isFetching&&!i()&&bn(e.options.throwOnError,[l.error,e.getCurrentQuery()]))return p(l),n(l.error);if(!l.isLoading)return g=null,t(cr(e.getCurrentQuery(),l));p(l)})},{storage:m,get deferStream(){return e().deferStream},onHydrated(e,t){if(t.value&&`hydrationData`in t.value&&En(r(),{queries:[{...t.value.hydrationData}]}),h)return;let n={...o};(o.staleTime||!o.initialData)&&t.value&&(n.refetchOnMount=!1),s().setOptions(n),p(s().getOptimisticResult(n)),h=f()}});return S(E(r,e=>{h&&h();let n=new t(e,a());h=f(),c(n)},{defer:!0})),S(E(i,e=>{e||v()},{defer:!0})),D(()=>{h&&=(h(),null),g&&=(g(l),null)}),S(E([s,a],([e,t])=>{e.setOptions(t),p(e.getOptimisticResult(t)),v()},{defer:!0})),new Proxy(u,{get(e,t){return t===`data`?u.data===void 0?_()?.data:_.latest?.data:Reflect.get(e,t)}})}function ur(e,t){return lr(w(()=>e()),Hn,t)}function dr(e,t){let n=new $n(w(()=>rr(t?.()))(),e()),r=(e,t)=>{n.mutate(e,t).catch(Y)},[i,a]=Kt({...n.getCurrentResult(),mutate:r,mutateAsync:n.getCurrentResult().mutate});return S(()=>{n.setOptions(e())}),S(E(()=>i.status,()=>{if(i.isError&&bn(n.options.throwOnError,[i.error]))throw i.error})),D(n.subscribe(e=>{a({...e,mutate:r,mutateAsync:e.mutate})})),i}var fr=class extends tr{constructor(e={}){super(e)}},pr={nav:{dashboard:`Dashboard`,queues:`Queues`,retries:`Retries`,scheduled:`Scheduled`,dead:`Dead`,busy:`Busy`,batches:`Batches`,limiters:`Limiters`,cron:`Cron`,metrics:`Metrics`,profiles:`Profiles`,search:`Search`,extensions:`Extensions`,collapse:`Collapse`,expand:`Expand`},dashboard:{processed:`Processed`,failed:`Failed`,expired:`Expired`,busy:`Busy`,enqueued:`Enqueued`,retries:`Retries`,scheduled:`Scheduled`,dead:`Dead`,processes:`Processes`,latency:`Latency`,live:`Live`,paused:`Paused`,strapline:`Wurk, wurk. Ready to work. Zug zug.`,tagline:`A 100% drop-in replacement for Sidekiq + Sidekiq Pro + Sidekiq Enterprise. Free forever. Faster.`,install:`Install`,docs:`Documentation`,active:`Active`,vs_last_hour:`vs last hour`,stable_threshold:`Stable threshold`,above_threshold:`Above threshold`,system_idle:`System idle`,processing:`Processing`,performance_insight:`Performance Insight`,perf_subtitle:`Jobs Processed vs Failed over {range}`,no_history:`No history yet — the chart fills in as jobs run.`,range_1h_desc:`the last hour`,range_24h_desc:`the last 24 hours`,range_7d_desc:`the last 7 days`,range_30d_desc:`the last 30 days`},table:{class:`Class`,args:`Args`,jid:`JID`,queue:`Queue`,error:`Error`,retry_at:`Retry At`,failed_at:`Failed At`,scheduled_at:`Scheduled At`,enqueued_at:`Enqueued At`,message:`Message`,count:`Count`,score:`Score`,next_run:`Next Run`,last_run:`Last Run`,status:`Status`,total:`Total`,pending:`Pending`,size:`Size`,latency:`Latency`,concurrency:`Concurrency`,busy:`Busy`,queues:`Queues`,hostname:`Hostname`},summaries:{queues:`Active queues with their depth and latency — click a queue to inspect its jobs.`,retries:`Jobs that raised an error and are scheduled to run again — click one for the error and backtrace.`,scheduled:`Jobs enqueued to run at a future time.`,dead:`Jobs that exhausted every retry — click one to inspect the failure.`,busy:`Live worker processes and the jobs they're currently running.`,batches:`Batched jobs and their progress, successes, and failures.`,limiters:`Rate limiters and their current usage.`,cron:`Periodic (cron) jobs with their schedule and last run — click a loop to see its execution history.`,metrics:`Throughput and failure history, with per-job execution stats.`,profiles:`Captured job profiles — open one in the Firefox profiler to inspect its flame graph.`,search:`Find a job across retries, scheduled, and dead by JID or class name.`},busy:{hosts:`{n} hosts`,cores:`{n} cores`,of_total_ram:`of total RAM`,heartbeat:`Heartbeat`,rss:`RSS`,rtt:`Redis RTT`,version:`Version`,tag:`Tag`,labels:`Labels`,identity:`Identity`,started:`Started`,up_for:`up`,running_jobs:`Running jobs`,running_since:`Running Since`,no_running:`No jobs currently running on this process`},cron:{history_title:`Execution history`,fired:`Fired`,no_history:`No runs recorded yet`},job:{detail:`Job detail`,class:`Class`,queue:`Queue`,jid:`JID`,retries:`Retries`,enqueued:`Enqueued`,at:`Scheduled`,args:`Arguments`,error:`Error`,backtrace:`Backtrace`},search:{emptyTitle:`Search for a job`,emptyHint:`Enter a JID or class name (2+ characters) and hit Search. Results span retries, scheduled, and dead jobs.`,try:`Try:`},extension:{summary:`Provided by a third-party extension.`,open:`Open`,notRendered:`This tab is provided by a third-party extension. wurk surfaces it in the nav but doesn't render its view inside the dashboard.`},actions:{retry:`Retry`,delete:`Delete`,kill:`Kill`,add_to_queue:`Add to Queue`,clear:`Clear`,pause:`Pause`,unpause:`Resume`,pause_hint:`Stop fetching new jobs from this queue (in-flight jobs finish)`,unpause_hint:`Resume fetching jobs from this queue`,quiet:`Quiet`,stop:`Stop`,prev:`Previous`,next:`Next`,search:`Search`,refresh:`Refresh`,all_suffix:`All`,selected:`{n} selected`,select_hint:`Select jobs to act on`,scope_selected:`{n} selected job(s)`,scope_all:`every job in this set`,scope_this_job:`this job`,scope_this_process:`this process`,scope_all_processes:`all processes`,confirm:`{action} {scope}? This cannot be undone.`,confirm_clear_queue:`Clear all jobs from "{name}"? This cannot be undone.`},readonly:{banner:`Read-only mode`},common:{loading:`Loading…`,error:`Error loading data`,empty:`No items`,page:`Page`,of:`of`,ms:`ms`,ago:`ago`,in:`in`,load_failed:`Couldn't load this page`,load_failed_hint:`The app may have updated since you opened it. Reloading will fetch the latest version.`,reload:`Reload`}},mr={en:pr,es:{nav:{dashboard:`Panel`,queues:`Colas`,retries:`Reintentos`,scheduled:`Programados`,dead:`Muertos`,busy:`Ocupados`,batches:`Lotes`,limiters:`Limitadores`,cron:`Cron`,metrics:`Métricas`,search:`Buscar`},dashboard:{processed:`Procesados`,failed:`Fallidos`,expired:`Caducados`,busy:`Ocupados`,enqueued:`En cola`,retries:`Reintentos`,scheduled:`Programados`,dead:`Muertos`,processes:`Procesos`,latency:`Latencia`,live:`En vivo`,paused:`Pausado`},table:{class:`Clase`,args:`Args`,jid:`JID`,queue:`Cola`,error:`Error`,retry_at:`Reintentar en`,failed_at:`Falló en`,scheduled_at:`Programado en`,enqueued_at:`Encolado en`,message:`Mensaje`,count:`Recuento`,score:`Puntuación`,next_run:`Próxima ejecución`,last_run:`Última ejecución`,status:`Estado`,total:`Total`,pending:`Pendiente`,size:`Tamaño`,latency:`Latencia`,concurrency:`Concurrencia`,busy:`Ocupado`,queues:`Colas`,hostname:`Host`},actions:{retry:`Reintentar`,delete:`Eliminar`,kill:`Matar`,prev:`Anterior`,next:`Siguiente`,search:`Buscar`,refresh:`Actualizar`},common:{loading:`Cargando…`,error:`Error al cargar datos`,empty:`Sin elementos`,page:`Página`,of:`de`,ms:`ms`,ago:`hace`,in:`en`},busy:{hosts:`{n} hosts`,cores:`{n} núcleos`,of_total_ram:`de la RAM total`,heartbeat:`Latido`,rss:`RSS`,rtt:`RTT de Redis`,version:`Versión`,tag:`Etiqueta`,labels:`Etiquetas`,identity:`Identidad`,started:`Iniciado`,up_for:`activo`,running_jobs:`Trabajos en ejecución`,running_since:`En ejecución desde`,no_running:`No hay trabajos en ejecución en este proceso`}},fr:{nav:{dashboard:`Tableau de bord`,queues:`Files`,retries:`Relances`,scheduled:`Planifiés`,dead:`Morts`,busy:`Occupés`,batches:`Lots`,limiters:`Limiteurs`,cron:`Cron`,metrics:`Métriques`,search:`Rechercher`},dashboard:{processed:`Traités`,failed:`Échoués`,expired:`Expirés`,busy:`Occupés`,enqueued:`En file`,retries:`Relances`,scheduled:`Planifiés`,dead:`Morts`,processes:`Processus`,latency:`Latence`,live:`En direct`,paused:`En pause`},table:{class:`Classe`,args:`Args`,jid:`JID`,queue:`File`,error:`Erreur`,retry_at:`Relancer à`,failed_at:`Échoué à`,scheduled_at:`Planifié à`,enqueued_at:`Mis en file à`,message:`Message`,count:`Nombre`,score:`Score`,next_run:`Prochaine exécution`,last_run:`Dernière exécution`,status:`Statut`,total:`Total`,pending:`En attente`,size:`Taille`,latency:`Latence`,concurrency:`Concurrence`,busy:`Occupé`,queues:`Files`,hostname:`Hôte`},actions:{retry:`Relancer`,delete:`Supprimer`,kill:`Tuer`,prev:`Précédent`,next:`Suivant`,search:`Rechercher`,refresh:`Actualiser`},common:{loading:`Chargement…`,error:`Erreur de chargement`,empty:`Aucun élément`,page:`Page`,of:`sur`,ms:`ms`,ago:`il y a`,in:`dans`},busy:{hosts:`{n} hôtes`,cores:`{n} cœurs`,of_total_ram:`de la RAM totale`,heartbeat:`Battement`,rss:`RSS`,rtt:`RTT Redis`,version:`Version`,tag:`Tag`,labels:`Labels`,identity:`Identité`,started:`Démarré`,up_for:`depuis`,running_jobs:`Tâches en cours`,running_since:`En cours depuis`,no_running:`Aucune tâche en cours sur ce processus`}},de:{nav:{dashboard:`Dashboard`,queues:`Warteschlangen`,retries:`Wiederholungen`,scheduled:`Geplant`,dead:`Tot`,busy:`Beschäftigt`,batches:`Stapel`,limiters:`Begrenzer`,cron:`Cron`,metrics:`Metriken`,search:`Suche`},dashboard:{processed:`Verarbeitet`,failed:`Fehlgeschlagen`,expired:`Abgelaufen`,busy:`Beschäftigt`,enqueued:`In Warteschlange`,retries:`Wiederholungen`,scheduled:`Geplant`,dead:`Tot`,processes:`Prozesse`,latency:`Latenz`,live:`Live`,paused:`Pausiert`},table:{class:`Klasse`,args:`Args`,jid:`JID`,queue:`Warteschlange`,error:`Fehler`,retry_at:`Wiederholen um`,failed_at:`Fehlgeschlagen um`,scheduled_at:`Geplant um`,enqueued_at:`Eingereiht um`,message:`Nachricht`,count:`Anzahl`,score:`Bewertung`,next_run:`Nächste Ausführung`,last_run:`Letzte Ausführung`,status:`Status`,total:`Gesamt`,pending:`Ausstehend`,size:`Größe`,latency:`Latenz`,concurrency:`Nebenläufigkeit`,busy:`Beschäftigt`,queues:`Warteschlangen`,hostname:`Hostname`},actions:{retry:`Wiederholen`,delete:`Löschen`,kill:`Beenden`,prev:`Zurück`,next:`Weiter`,search:`Suchen`,refresh:`Aktualisieren`},common:{loading:`Lädt…`,error:`Fehler beim Laden`,empty:`Keine Einträge`,page:`Seite`,of:`von`,ms:`ms`,ago:`vor`,in:`in`},busy:{hosts:`{n} Hosts`,cores:`{n} Kerne`,of_total_ram:`des gesamten RAM`,heartbeat:`Heartbeat`,rss:`RSS`,rtt:`Redis-RTT`,version:`Version`,tag:`Tag`,labels:`Labels`,identity:`Identität`,started:`Gestartet`,up_for:`seit`,running_jobs:`Laufende Jobs`,running_since:`Läuft seit`,no_running:`Auf diesem Prozess laufen derzeit keine Jobs`}},"pt-BR":{nav:{dashboard:`Painel`,queues:`Filas`,retries:`Tentativas`,scheduled:`Agendados`,dead:`Mortos`,busy:`Ocupados`,batches:`Lotes`,limiters:`Limitadores`,cron:`Cron`,metrics:`Métricas`,search:`Buscar`},dashboard:{processed:`Processados`,failed:`Falhos`,expired:`Expirados`,busy:`Ocupados`,enqueued:`Na fila`,retries:`Tentativas`,scheduled:`Agendados`,dead:`Mortos`,processes:`Processos`,latency:`Latência`,live:`Ao vivo`,paused:`Pausado`},table:{class:`Classe`,args:`Args`,jid:`JID`,queue:`Fila`,error:`Erro`,retry_at:`Tentar em`,failed_at:`Falhou em`,scheduled_at:`Agendado em`,enqueued_at:`Enfileirado em`,message:`Mensagem`,count:`Contagem`,score:`Pontuação`,next_run:`Próxima execução`,last_run:`Última execução`,status:`Status`,total:`Total`,pending:`Pendente`,size:`Tamanho`,latency:`Latência`,concurrency:`Concorrência`,busy:`Ocupado`,queues:`Filas`,hostname:`Host`},actions:{retry:`Tentar novamente`,delete:`Excluir`,kill:`Matar`,prev:`Anterior`,next:`Próximo`,search:`Buscar`,refresh:`Atualizar`},common:{loading:`Carregando…`,error:`Erro ao carregar dados`,empty:`Nenhum item`,page:`Página`,of:`de`,ms:`ms`,ago:`atrás`,in:`em`},busy:{hosts:`{n} hosts`,cores:`{n} núcleos`,of_total_ram:`da RAM total`,heartbeat:`Batimento`,rss:`RSS`,rtt:`RTT do Redis`,version:`Versão`,tag:`Tag`,labels:`Rótulos`,identity:`Identidade`,started:`Iniciado`,up_for:`ativo há`,running_jobs:`Jobs em execução`,running_since:`Em execução desde`,no_running:`Nenhum job em execução neste processo`}},ja:{nav:{dashboard:`ダッシュボード`,queues:`キュー`,retries:`リトライ`,scheduled:`スケジュール済み`,dead:`デッド`,busy:`実行中`,batches:`バッチ`,limiters:`リミッター`,cron:`Cron`,metrics:`メトリクス`,search:`検索`},dashboard:{processed:`処理済み`,failed:`失敗`,expired:`期限切れ`,busy:`実行中`,enqueued:`キュー中`,retries:`リトライ`,scheduled:`スケジュール済み`,dead:`デッド`,processes:`プロセス`,latency:`レイテンシ`,live:`ライブ`,paused:`一時停止`},table:{class:`クラス`,args:`引数`,jid:`JID`,queue:`キュー`,error:`エラー`,retry_at:`リトライ時刻`,failed_at:`失敗時刻`,scheduled_at:`スケジュール時刻`,enqueued_at:`投入時刻`,message:`メッセージ`,count:`回数`,score:`スコア`,next_run:`次回実行`,last_run:`前回実行`,status:`状態`,total:`合計`,pending:`保留中`,size:`サイズ`,latency:`レイテンシ`,concurrency:`同時実行数`,busy:`実行中`,queues:`キュー`,hostname:`ホスト名`},actions:{retry:`リトライ`,delete:`削除`,kill:`強制終了`,prev:`前へ`,next:`次へ`,search:`検索`,refresh:`更新`},common:{loading:`読み込み中…`,error:`データの読み込みエラー`,empty:`アイテムなし`,page:`ページ`,of:`/`,ms:`ms`,ago:`前`,in:`後`},busy:{hosts:`{n} ホスト`,cores:`{n} コア`,of_total_ram:`全RAM中`,heartbeat:`ハートビート`,rss:`RSS`,rtt:`Redis RTT`,version:`バージョン`,tag:`タグ`,labels:`ラベル`,identity:`識別子`,started:`開始`,up_for:`稼働`,running_jobs:`実行中のジョブ`,running_since:`実行開始`,no_running:`このプロセスで実行中のジョブはありません`}},"zh-CN":{nav:{dashboard:`仪表盘`,queues:`队列`,retries:`重试`,scheduled:`计划任务`,dead:`死亡任务`,busy:`繁忙`,batches:`批次`,limiters:`限制器`,cron:`定时任务`,metrics:`指标`,search:`搜索`},dashboard:{processed:`已处理`,failed:`失败`,expired:`已过期`,busy:`繁忙`,enqueued:`排队中`,retries:`重试`,scheduled:`已计划`,dead:`死亡`,processes:`进程`,latency:`延迟`,live:`实时`,paused:`已暂停`},table:{class:`类`,args:`参数`,jid:`JID`,queue:`队列`,error:`错误`,retry_at:`重试时间`,failed_at:`失败时间`,scheduled_at:`计划时间`,enqueued_at:`入队时间`,message:`消息`,count:`次数`,score:`分数`,next_run:`下次运行`,last_run:`上次运行`,status:`状态`,total:`总计`,pending:`待处理`,size:`大小`,latency:`延迟`,concurrency:`并发数`,busy:`繁忙`,queues:`队列`,hostname:`主机名`},actions:{retry:`重试`,delete:`删除`,kill:`终止`,prev:`上一页`,next:`下一页`,search:`搜索`,refresh:`刷新`},common:{loading:`加载中…`,error:`加载数据出错`,empty:`暂无数据`,page:`第`,of:`共`,ms:`ms`,ago:`前`,in:`后`},busy:{hosts:`{n} 台主机`,cores:`{n} 核`,of_total_ram:`占总内存`,heartbeat:`心跳`,rss:`RSS`,rtt:`Redis 往返延迟`,version:`版本`,tag:`标签`,labels:`标签`,identity:`标识`,started:`启动时间`,up_for:`已运行`,running_jobs:`运行中的任务`,running_since:`开始运行于`,no_running:`此进程当前没有运行中的任务`}},ar:{nav:{dashboard:`لوحة التحكم`,queues:`الطوابير`,retries:`إعادة المحاولات`,scheduled:`المجدولة`,dead:`الميتة`,busy:`المشغولة`,batches:`الدفعات`,limiters:`المُحدِّدات`,cron:`المهام الدورية`,metrics:`المقاييس`,profiles:`ملفات الأداء`,search:`البحث`},dashboard:{processed:`تمت المعالجة`,failed:`فشلت`,expired:`منتهية الصلاحية`,busy:`مشغول`,enqueued:`في الطابور`,retries:`إعادة المحاولات`,scheduled:`مجدولة`,dead:`ميتة`,processes:`العمليات`,latency:`زمن الاستجابة`,live:`مباشر`,paused:`متوقّف مؤقتًا`,strapline:`وُرك، وُرك. جاهز للعمل. زوغ زوغ.`,tagline:`بديل متوافق 100% مع Sidekiq + Sidekiq Pro + Sidekiq Enterprise. مجاني للأبد. أسرع.`,install:`التثبيت`,docs:`التوثيق`,active:`نشط`,vs_last_hour:`مقارنة بآخر ساعة`,stable_threshold:`ضمن العتبة`,above_threshold:`فوق العتبة`,system_idle:`النظام خامل`,processing:`قيد المعالجة`,performance_insight:`رؤية الأداء`,perf_subtitle:`المهام المُعالَجة مقابل الفاشلة على مدى {range}`,no_history:`لا توجد بيانات بعد — يمتلئ الرسم البياني مع تشغيل المهام.`,range_1h_desc:`آخر ساعة`,range_24h_desc:`آخر 24 ساعة`,range_7d_desc:`آخر 7 أيام`,range_30d_desc:`آخر 30 يومًا`},table:{class:`الفئة`,args:`الوسائط`,jid:`المعرّف`,queue:`الطابور`,error:`الخطأ`,retry_at:`إعادة المحاولة في`,failed_at:`فشلت في`,scheduled_at:`مجدولة في`,enqueued_at:`أُدرجت في`,message:`الرسالة`,count:`العدد`,score:`النتيجة`,next_run:`التشغيل التالي`,last_run:`آخر تشغيل`,status:`الحالة`,total:`الإجمالي`,pending:`قيد الانتظار`,size:`الحجم`,latency:`زمن الاستجابة`,concurrency:`التزامن`,busy:`مشغول`,queues:`الطوابير`,hostname:`اسم المضيف`},summaries:{queues:`الطوابير النشطة مع عمقها وزمن استجابتها — انقر على طابور لفحص مهامه.`,retries:`المهام التي أثارت خطأً وستُعاد جدولتها — انقر على واحدة لعرض الخطأ والتتبّع.`,scheduled:`مهام مُدرجة للتشغيل في وقت لاحق.`,dead:`مهام استنفدت كل المحاولات — انقر على واحدة لفحص الفشل.`,busy:`عمليات العمل المباشرة والمهام التي تنفّذها حاليًا.`,batches:`المهام المُجمّعة وتقدّمها ونجاحاتها وإخفاقاتها.`,limiters:`محدِّدات المعدّل واستخدامها الحالي.`,cron:`المهام الدورية (cron) مع جدولها وآخر تشغيل.`,metrics:`سجل الإنتاجية والإخفاقات، مع إحصاءات تنفيذ لكل مهمة.`,profiles:`ملفات أداء مُلتقطة — افتح واحدًا في محلل Firefox لفحص مخطط اللهب.`,search:`ابحث عن مهمة عبر إعادة المحاولات والمجدولة والميتة بالمعرّف أو اسم الفئة.`},job:{detail:`تفاصيل المهمة`,class:`الفئة`,queue:`الطابور`,jid:`المعرّف`,retries:`إعادة المحاولات`,enqueued:`أُدرجت`,at:`مجدولة`,args:`الوسائط`,error:`الخطأ`,backtrace:`تتبّع الأخطاء`},search:{emptyTitle:`ابحث عن مهمة`,emptyHint:`أدخل معرّفًا (JID) أو اسم فئة (حرفان أو أكثر) واضغط بحث. تشمل النتائج مهام إعادة المحاولات والمجدولة والميتة.`,try:`جرّب:`},actions:{retry:`إعادة المحاولة`,delete:`حذف`,kill:`إنهاء`,add_to_queue:`إضافة إلى الطابور`,clear:`مسح`,pause:`إيقاف مؤقت`,unpause:`استئناف`,pause_hint:`إيقاف جلب مهام جديدة من هذا الطابور (تكتمل المهام الجارية)`,unpause_hint:`استئناف جلب المهام من هذا الطابور`,quiet:`تهدئة`,stop:`إيقاف`,prev:`السابق`,next:`التالي`,search:`بحث`,refresh:`تحديث`,all_suffix:`الكل`,selected:`{n} محدَّد`,select_hint:`حدّد مهامًا للعمل عليها`,scope_selected:`{n} مهمة محدَّدة`,scope_all:`كل مهمة في هذه المجموعة`,scope_this_job:`هذه المهمة`,scope_this_process:`هذه العملية`,scope_all_processes:`كل العمليات`,confirm:`{action} {scope}؟ لا يمكن التراجع عن هذا.`,confirm_clear_queue:`مسح كل المهام من "{name}"؟ لا يمكن التراجع عن هذا.`},readonly:{banner:`وضع القراءة فقط`},common:{loading:`جارٍ التحميل…`,error:`خطأ في تحميل البيانات`,empty:`لا توجد عناصر`,page:`صفحة`,of:`من`,ms:`مللي ثانية`,ago:`مضت`,in:`خلال`},busy:{hosts:`{n} مضيفًا`,cores:`{n} نواة`,of_total_ram:`من إجمالي الذاكرة`,heartbeat:`نبض`,rss:`RSS`,rtt:`زمن Redis`,version:`الإصدار`,tag:`الوسم`,labels:`التسميات`,identity:`الهوية`,started:`بدأ`,up_for:`يعمل منذ`,running_jobs:`المهام قيد التنفيذ`,running_since:`قيد التنفيذ منذ`,no_running:`لا توجد مهام قيد التنفيذ في هذه العملية`}}},hr=[`ar`,`he`,`fa`];function gr(e){return hr.includes(e.toLowerCase().split(`-`)[0])?`rtl`:`ltr`}function _r(){try{let e=document.getElementById(`wurk-i18n`);return e?JSON.parse(e.textContent??`{}`):{}}catch{return{}}}function vr(){let e=document.getElementById(`wurk-root`);return e?.dataset.locale?e.dataset.locale:navigator.language||`en`}function yr(e,t){let n={...e};for(let r of Object.keys(t)){let i=t[r],a=e[r];i&&typeof i==`object`&&!Array.isArray(i)&&a&&typeof a==`object`?n[r]=yr(a,i):i!==void 0&&(n[r]=i)}return n}var br=vr(),xr=gr(br),Sr=yr(yr(pr,mr[Object.keys(mr).find(e=>br.startsWith(e))??`en`]??{}),_r());function Cr(e,t){let n=e.split(`.`),r=Sr;for(let t of n)if(r&&typeof r==`object`)r=r[t];else return e;return typeof r==`string`?t?r.replace(/\{(\w+)\}/g,(e,n)=>String(t[n]??n)):r:e}export{fe as A,ze as B,Ue as C,Ze as D,Ge as E,C as F,Je as G,E as H,b as I,Re as J,oe as K,x as L,de as M,ee as N,Ke as O,w as P,Ve as R,Ye as S,qe as T,D as U,Le as V,ie as W,T as X,se as Y,A as Z,yt as _,ir as a,bt as b,rr as c,ut as d,xt as f,vt as g,dt as h,fr as i,Me as j,re as k,Mt as l,ct as m,br as n,dr as o,at as p,e as q,Cr as r,ur as s,xr as t,mt as u,_t as v,We as w,kt as x,lt as y,k as z};