@kizenapps/cli 0.8.0 → 0.10.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 (88) hide show
  1. package/dist/index.js +388 -90
  2. package/dist/index.js.map +1 -1
  3. package/dist/viewer/assets/AppDetailPage-ObugMPkn.js +1 -0
  4. package/dist/viewer/assets/BootstrapContext-CEWgv2oI.js +1 -0
  5. package/dist/viewer/assets/Card-BSwG5koM.js +1 -0
  6. package/dist/viewer/assets/ConfigurationPage-SnFNzZgJ.js +1 -0
  7. package/dist/viewer/assets/CredentialsContext-BLZX6RwF.js +1 -0
  8. package/dist/viewer/assets/DevSidebar-BiROAoKF.js +1 -0
  9. package/dist/viewer/assets/SandboxPage-BFVVe-i3.js +1 -0
  10. package/dist/viewer/assets/SidebarContext-Byo6PYOF.js +1 -0
  11. package/dist/viewer/assets/VersionsPage-DOd2Hv8M.js +1 -0
  12. package/dist/viewer/assets/configStorage-Bb-A9Nvj.js +14 -0
  13. package/dist/viewer/assets/{fa-core-BU3ZZt7W.js → fa-core-mHW_3JUd.js} +1 -1
  14. package/dist/viewer/assets/index-B-4D4w_w.js +5 -0
  15. package/dist/viewer/assets/index-D6Un_G7k.css +2 -0
  16. package/dist/viewer/assets/{react-C90crogl.js → react-D_K8ni3_.js} +1 -1
  17. package/dist/viewer/assets/validIcons-TcFXfn-E.js +1 -0
  18. package/dist/viewer/index.html +8 -5
  19. package/package.json +8 -4
  20. package/dist/chromium-extension/manifest.json +0 -17
  21. package/dist/chromium-extension/rules.json +0 -17
  22. package/dist/chunk-4OYGMEFM.js +0 -3675
  23. package/dist/chunk-4OYGMEFM.js.map +0 -1
  24. package/dist/chunk-4Z6S6LWP.js +0 -6134
  25. package/dist/chunk-4Z6S6LWP.js.map +0 -1
  26. package/dist/chunk-5WPGAZLP.js +0 -6136
  27. package/dist/chunk-5WPGAZLP.js.map +0 -1
  28. package/dist/chunk-6XGFZ4W5.js +0 -3673
  29. package/dist/chunk-6XGFZ4W5.js.map +0 -1
  30. package/dist/chunk-HJPLDI45.js +0 -6134
  31. package/dist/chunk-HJPLDI45.js.map +0 -1
  32. package/dist/chunk-KMKDY2I6.js +0 -46
  33. package/dist/chunk-KMKDY2I6.js.map +0 -1
  34. package/dist/chunk-LSHHXCC6.js +0 -3639
  35. package/dist/chunk-LSHHXCC6.js.map +0 -1
  36. package/dist/chunk-NNDSADQG.js +0 -3641
  37. package/dist/chunk-NNDSADQG.js.map +0 -1
  38. package/dist/chunk-SEGVTWSK.js +0 -44
  39. package/dist/chunk-SEGVTWSK.js.map +0 -1
  40. package/dist/chunk-ZWE3DS7E.js +0 -39
  41. package/dist/chunk-ZWE3DS7E.js.map +0 -1
  42. package/dist/devtools-HNR7DD7Q.js +0 -68
  43. package/dist/devtools-HNR7DD7Q.js.map +0 -1
  44. package/dist/devtools-HW3UQAHH.js +0 -69
  45. package/dist/devtools-HW3UQAHH.js.map +0 -1
  46. package/dist/devtools-KXIXZGBY.js +0 -64
  47. package/dist/devtools-KXIXZGBY.js.map +0 -1
  48. package/dist/devtools-PDXM3L35.js +0 -67
  49. package/dist/devtools-PDXM3L35.js.map +0 -1
  50. package/dist/devtools-SDEASRYI.js +0 -66
  51. package/dist/devtools-SDEASRYI.js.map +0 -1
  52. package/dist/devtools-XBEEGBQ4.js +0 -66
  53. package/dist/devtools-XBEEGBQ4.js.map +0 -1
  54. package/dist/dist-4P5P64FK.js +0 -8474
  55. package/dist/dist-4P5P64FK.js.map +0 -1
  56. package/dist/dist-AVHDSU4X.js +0 -137
  57. package/dist/dist-AVHDSU4X.js.map +0 -1
  58. package/dist/dist-C3F6UOWF.js +0 -8472
  59. package/dist/dist-C3F6UOWF.js.map +0 -1
  60. package/dist/dist-NUJOSN7W.js +0 -8472
  61. package/dist/dist-NUJOSN7W.js.map +0 -1
  62. package/dist/dist-QHDMIBVE.js +0 -135
  63. package/dist/dist-QHDMIBVE.js.map +0 -1
  64. package/dist/dist-ZIZQOSY3.js +0 -135
  65. package/dist/dist-ZIZQOSY3.js.map +0 -1
  66. package/dist/electron/icon.png +0 -0
  67. package/dist/electron/main.js +0 -201
  68. package/dist/electron/main.js.map +0 -1
  69. package/dist/electron/preload.cjs +0 -9
  70. package/dist/gzip-size-K37OQCQ2.js +0 -137
  71. package/dist/gzip-size-K37OQCQ2.js.map +0 -1
  72. package/dist/gzip-size-QRGIYYEQ.js +0 -137
  73. package/dist/gzip-size-QRGIYYEQ.js.map +0 -1
  74. package/dist/gzip-size-SHZBT5GU.js +0 -139
  75. package/dist/gzip-size-SHZBT5GU.js.map +0 -1
  76. package/dist/viewer/assets/index-B09qenTV.js +0 -17
  77. package/dist/viewer/assets/index-CVd4BLit.js +0 -17
  78. package/dist/viewer/assets/index-C_gRcfsL.js +0 -17
  79. package/dist/viewer/assets/index-CcvbGL5I.js +0 -17
  80. package/dist/viewer/assets/index-Ci5up9QD.js +0 -17
  81. package/dist/viewer/assets/index-DOiSISo1.css +0 -2
  82. package/dist/viewer/assets/index-DSJAwx9Y.js +0 -17
  83. package/dist/viewer/assets/index-DUgUEouL.css +0 -2
  84. package/dist/viewer/assets/index-WnCF0zx3.js +0 -17
  85. package/dist/viewer/assets/index-_K33TupM.js +0 -17
  86. package/dist/viewer/assets/index-dPV4go8k.js +0 -17
  87. package/dist/viewer/assets/index-xFuxlPJA.js +0 -17
  88. /package/dist/viewer/assets/{fa-pro-icons-D4afj0tU.js → fa-pro-icons-CIQGXozY.js} +0 -0
@@ -0,0 +1,5 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/DevSidebar-BiROAoKF.js","assets/rolldown-runtime-DF2fYuay.js","assets/fa-core-mHW_3JUd.js","assets/CredentialsContext-BLZX6RwF.js","assets/AppDetailPage-ObugMPkn.js","assets/Card-BSwG5koM.js","assets/validIcons-TcFXfn-E.js","assets/fa-pro-icons-CIQGXozY.js","assets/SandboxPage-BFVVe-i3.js","assets/configStorage-Bb-A9Nvj.js","assets/BootstrapContext-CEWgv2oI.js","assets/react-D_K8ni3_.js","assets/SidebarContext-Byo6PYOF.js","assets/ConfigurationPage-SnFNzZgJ.js","assets/VersionsPage-DOd2Hv8M.js"])))=>i.map(i=>d[i]);
2
+ import{n as e}from"./rolldown-runtime-DF2fYuay.js";import{D as t,O as n,S as r,_ as i,k as a,p as o,t as s,y as c}from"./fa-core-mHW_3JUd.js";import{n as l,t as u}from"./react-D_K8ni3_.js";import{$ as d,A as f,B as p,E as m,F as h,G as g,H as _,J as v,K as y,P as b,Q as x,R as S,U as C,V as w,W as T,X as E,Y as D,Z as O,b as k,et as A,it as j,m as ee,n as te,nt as M,p as ne,q as N,r as re,rt as P,t as ie,tt as F,z as I}from"./Card-BSwG5koM.js";import{i as ae,o as oe,r as L,s as R,t as se}from"./BootstrapContext-CEWgv2oI.js";import{t as ce}from"./CredentialsContext-BLZX6RwF.js";import{t as le}from"./SidebarContext-Byo6PYOF.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var z=e(a(),1);z.use;var B=typeof window<`u`?z.useLayoutEffect:z.useEffect;function ue(e){let t=z.useRef({value:e,prev:null}),n=t.current.value;return e!==n&&(t.current={value:e,prev:n}),t.current.prev}function de(e,t,n={},r={}){z.useEffect(()=>{if(!e.current||r.disabled||typeof IntersectionObserver!=`function`)return;let i=new IntersectionObserver(([e])=>{t(e)},n);return i.observe(e.current),()=>{i.disconnect()}},[t,n,r.disabled,e])}function fe(e){let t=z.useRef(null);return z.useImperativeHandle(e,()=>t.current,[]),t}function V(e){let t=new Map,n,r,i=e=>{e.next&&(e.prev?(e.prev.next=e.next,e.next.prev=e.prev,e.next=void 0,r&&(r.next=e,e.prev=r)):(e.next.prev=void 0,n=e.next,e.next=void 0,r&&(e.prev=r,r.next=e)),r=e)};return{get(e){let n=t.get(e);if(n)return i(n),n.value},set(a,o){if(t.size>=e&&n){let e=n;t.delete(e.key),e.next&&(n=e.next,e.next.prev=void 0),e===r&&(r=void 0)}let s=t.get(a);if(s)s.value=o,i(s);else{let e={key:a,value:o,prev:r};r&&(r.next=e),r=e,n||=e,t.set(a,e)}},clear(){t.clear(),n=void 0,r=void 0}}}var H=4,pe=5;function me(e){let t=e.indexOf(`{`);if(t===-1)return null;let n=e.indexOf(`}`,t);return n===-1||t+1>=e.length?null:[t,n]}function he(e,t,n=new Uint16Array(6)){let r=e.indexOf(`/`,t),i=r===-1?e.length:r,a=e.substring(t,i);if(!a||!a.includes(`$`))return n[0]=0,n[1]=t,n[2]=t,n[3]=i,n[4]=i,n[5]=i,n;if(a===`$`){let r=e.length;return n[0]=2,n[1]=t,n[2]=t,n[3]=r,n[4]=r,n[5]=r,n}if(a.charCodeAt(0)===36)return n[0]=1,n[1]=t,n[2]=t+1,n[3]=i,n[4]=i,n[5]=i,n;let o=me(a);if(o){let[r,s]=o,c=a.charCodeAt(r+1);if(c===45){if(r+2<a.length&&a.charCodeAt(r+2)===36){let e=r+3,a=s;if(e<a)return n[0]=3,n[1]=t+r,n[2]=t+e,n[3]=t+a,n[4]=t+s+1,n[5]=i,n}}else if(c===36){let a=r+1,o=r+2;return o===s?(n[0]=2,n[1]=t+r,n[2]=t+a,n[3]=t+o,n[4]=t+s+1,n[5]=e.length,n):(n[0]=1,n[1]=t+r,n[2]=t+o,n[3]=t+s,n[4]=t+s+1,n[5]=i,n)}}return n[0]=0,n[1]=t,n[2]=t,n[3]=i,n[4]=i,n[5]=i,n}function ge(e,t,n,r,i,a,o){o?.(n);let s=r;{let r=n.fullPath??n.from,o=r.length,c=n.options?.caseSensitive??e,l=!!(n.options?.params?.parse&&n.options?.skipRouteOnParseError?.params);for(;s<o;){let e=he(r,s,t),o,u=s,d=e[5];switch(s=d+1,a++,e[0]){case 0:{let t=r.substring(e[2],e[3]);if(c){let e=i.static?.get(t);if(e)o=e;else{i.static??=new Map;let e=W(n.fullPath??n.from);e.parent=i,e.depth=a,o=e,i.static.set(t,e)}}else{let e=t.toLowerCase(),r=i.staticInsensitive?.get(e);if(r)o=r;else{i.staticInsensitive??=new Map;let t=W(n.fullPath??n.from);t.parent=i,t.depth=a,o=t,i.staticInsensitive.set(e,t)}}break}case 1:{let t=r.substring(u,e[1]),s=r.substring(e[4],d),f=c&&!!(t||s),p=t?f?t:t.toLowerCase():void 0,m=s?f?s:s.toLowerCase():void 0,h=!l&&i.dynamic?.find(e=>!e.skipOnParamError&&e.caseSensitive===f&&e.prefix===p&&e.suffix===m);if(h)o=h;else{let e=G(1,n.fullPath??n.from,f,p,m);o=e,e.depth=a,e.parent=i,i.dynamic??=[],i.dynamic.push(e)}break}case 3:{let t=r.substring(u,e[1]),s=r.substring(e[4],d),f=c&&!!(t||s),p=t?f?t:t.toLowerCase():void 0,m=s?f?s:s.toLowerCase():void 0,h=!l&&i.optional?.find(e=>!e.skipOnParamError&&e.caseSensitive===f&&e.prefix===p&&e.suffix===m);if(h)o=h;else{let e=G(3,n.fullPath??n.from,f,p,m);o=e,e.parent=i,e.depth=a,i.optional??=[],i.optional.push(e)}break}case 2:{let t=r.substring(u,e[1]),s=r.substring(e[4],d),l=c&&!!(t||s),f=t?l?t:t.toLowerCase():void 0,p=s?l?s:s.toLowerCase():void 0,m=G(2,n.fullPath??n.from,l,f,p);o=m,m.parent=i,m.depth=a,i.wildcard??=[],i.wildcard.push(m)}}i=o}if(l&&n.children&&!n.isRoot&&n.id&&n.id.charCodeAt(n.id.lastIndexOf(`/`)+1)===95){let e=W(n.fullPath??n.from);e.kind=pe,e.parent=i,a++,e.depth=a,i.pathless??=[],i.pathless.push(e),i=e}let u=(n.path||!n.children)&&!n.isRoot;if(u&&r.endsWith(`/`)){let e=W(n.fullPath??n.from);e.kind=H,e.parent=i,a++,e.depth=a,i.index=e,i=e}i.parse=n.options?.params?.parse??null,i.skipOnParamError=l,i.parsingPriority=n.options?.skipRouteOnParseError?.priority??0,u&&!i.route&&(i.route=n,i.fullPath=n.fullPath??n.from)}if(n.children)for(let r of n.children)ge(e,t,r,s,i,a,o)}function _e(e,t){if(e.skipOnParamError&&!t.skipOnParamError)return-1;if(!e.skipOnParamError&&t.skipOnParamError)return 1;if(e.skipOnParamError&&t.skipOnParamError&&(e.parsingPriority||t.parsingPriority))return t.parsingPriority-e.parsingPriority;if(e.prefix&&t.prefix&&e.prefix!==t.prefix){if(e.prefix.startsWith(t.prefix))return-1;if(t.prefix.startsWith(e.prefix))return 1}if(e.suffix&&t.suffix&&e.suffix!==t.suffix){if(e.suffix.endsWith(t.suffix))return-1;if(t.suffix.endsWith(e.suffix))return 1}return e.prefix&&!t.prefix?-1:!e.prefix&&t.prefix?1:e.suffix&&!t.suffix?-1:!e.suffix&&t.suffix?1:e.caseSensitive&&!t.caseSensitive?-1:!e.caseSensitive&&t.caseSensitive?1:0}function U(e){if(e.pathless)for(let t of e.pathless)U(t);if(e.static)for(let t of e.static.values())U(t);if(e.staticInsensitive)for(let t of e.staticInsensitive.values())U(t);if(e.dynamic?.length){e.dynamic.sort(_e);for(let t of e.dynamic)U(t)}if(e.optional?.length){e.optional.sort(_e);for(let t of e.optional)U(t)}if(e.wildcard?.length){e.wildcard.sort(_e);for(let t of e.wildcard)U(t)}}function W(e){return{kind:0,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:e,parent:null,parse:null,skipOnParamError:!1,parsingPriority:0}}function G(e,t,n,r,i){return{kind:e,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:t,parent:null,parse:null,skipOnParamError:!1,parsingPriority:0,caseSensitive:n,prefix:r,suffix:i}}function ve(e,t){let n=W(`/`),r=new Uint16Array(6);for(let t of e)ge(!1,r,t,1,n,0);U(n),t.masksTree=n,t.flatCache=V(1e3)}function ye(e,t){e||=`/`;let n=t.flatCache.get(e);if(n)return n;let r=we(e,t.masksTree);return t.flatCache.set(e,r),r}function be(e,t,n,r,i){e||=`/`,r||=`/`;let a=t?`case\0${e}`:e,o=i.singleCache.get(a);return o||(o=W(`/`),ge(t,new Uint16Array(6),{from:e},1,o,0),i.singleCache.set(a,o)),we(r,o,n)}function xe(e,t,n=!1){let r=n?e:`nofuzz\0${e}`,i=t.matchCache.get(r);if(i!==void 0)return i;e||=`/`;let a;try{a=we(e,t.segmentTree,n)}catch(e){if(e instanceof URIError)a=null;else throw e}return a&&(a.branch=Ee(a.route)),t.matchCache.set(r,a),a}function Se(e){return e===`/`?e:e.replace(/\/{1,}$/,``)}function Ce(e,t=!1,n){let r=W(e.fullPath),i=new Uint16Array(6),a={},o={},s=0;return ge(t,i,e,1,r,0,e=>{if(n?.(e,s),e.id in a&&g(),a[e.id]=e,s!==0&&e.path){let t=Se(e.fullPath);(!o[t]||e.fullPath.endsWith(`/`))&&(o[t]=e)}s++}),U(r),{processedTree:{segmentTree:r,singleCache:V(1e3),matchCache:V(1e3),flatCache:null,masksTree:null},routesById:a,routesByPath:o}}function we(e,t,n=!1){let r=e.split(`/`),i=Oe(e,r,t,n);if(!i)return null;let[a]=Te(e,r,i);return{route:i.node.route,rawParams:a,parsedParams:i.parsedParams}}function Te(e,t,n){let r=De(n.node),i=null,a=Object.create(null),o=n.extract?.part??0,s=n.extract?.node??0,c=n.extract?.path??0,l=n.extract?.segment??0;for(;s<r.length;o++,s++,c++,l++){let u=r[s];if(u.kind===H)break;if(u.kind===pe){l--,o--,c--;continue}let d=t[o],f=c;if(d&&(c+=d.length),u.kind===1){i??=n.node.fullPath.split(`/`);let e=i[l],t=u.prefix?.length??0;if(e.charCodeAt(t)===123){let n=u.suffix?.length??0,r=e.substring(t+2,e.length-n-1),i=d.substring(t,d.length-n);a[r]=decodeURIComponent(i)}else{let t=e.substring(1);a[t]=decodeURIComponent(d)}}else if(u.kind===3){if(n.skipped&1<<s){o--,c=f-1;continue}i??=n.node.fullPath.split(`/`);let e=i[l],t=u.prefix?.length??0,r=u.suffix?.length??0,p=e.substring(t+3,e.length-r-1),m=u.suffix||u.prefix?d.substring(t,d.length-r):d;m&&(a[p]=decodeURIComponent(m))}else if(u.kind===2){let t=u,n=e.substring(f+(t.prefix?.length??0),e.length-(t.suffix?.length??0)),r=decodeURIComponent(n);a[`*`]=r,a._splat=r;break}}return n.rawParams&&Object.assign(a,n.rawParams),[a,{part:o,node:s,path:c,segment:l}]}function Ee(e){let t=[e];for(;e.parentRoute;)e=e.parentRoute,t.push(e);return t.reverse(),t}function De(e){let t=Array(e.depth+1);do t[e.depth]=e,e=e.parent;while(e);return t}function Oe(e,t,n,r){if(e===`/`&&n.index)return{node:n.index,skipped:0};let i=!M(t),a=i&&e!==`/`,o=t.length-+!!i,s=[{node:n,index:1,skipped:0,depth:1,statics:1,dynamics:0,optionals:0}],c=null,l=null,u=null;for(;s.length;){let n=s.pop(),{node:i,index:d,skipped:f,depth:p,statics:m,dynamics:h,optionals:g}=n,{extract:_,rawParams:v,parsedParams:y}=n;if(i.skipOnParamError){if(!ke(e,t,n))continue;v=n.rawParams,_=n.extract,y=n.parsedParams}r&&i.route&&i.kind!==H&&Ae(l,n)&&(l=n);let b=d===o;if(b&&(i.route&&!a&&Ae(u,n)&&(u=n),!i.optional&&!i.wildcard&&!i.index&&!i.pathless))continue;let x=b?void 0:t[d],S;if(b&&i.index){let n={node:i.index,index:d,skipped:f,depth:p+1,statics:m,dynamics:h,optionals:g,extract:_,rawParams:v,parsedParams:y},r=!0;if(i.index.skipOnParamError&&(ke(e,t,n)||(r=!1)),r){if(m===o&&!h&&!g&&!f)return n;Ae(u,n)&&(u=n)}}if(i.wildcard&&Ae(c,n))for(let n of i.wildcard){let{prefix:r,suffix:i}=n;if(r&&(b||!(n.caseSensitive?x:S??=x.toLowerCase()).startsWith(r)))continue;if(i){if(b)continue;let e=t.slice(d).join(`/`).slice(-i.length);if((n.caseSensitive?e:e.toLowerCase())!==i)continue}let a={node:n,index:o,skipped:f,depth:p,statics:m,dynamics:h,optionals:g,extract:_,rawParams:v,parsedParams:y};if(!(n.skipOnParamError&&!ke(e,t,a))){c=a;break}}if(i.optional){let e=f|1<<p,t=p+1;for(let n=i.optional.length-1;n>=0;n--){let r=i.optional[n];s.push({node:r,index:d,skipped:e,depth:t,statics:m,dynamics:h,optionals:g,extract:_,rawParams:v,parsedParams:y})}if(!b)for(let e=i.optional.length-1;e>=0;e--){let n=i.optional[e],{prefix:r,suffix:a}=n;if(r||a){let e=n.caseSensitive?x:S??=x.toLowerCase();if(r&&!e.startsWith(r)||a&&!e.endsWith(a))continue}s.push({node:n,index:d+1,skipped:f,depth:t,statics:m,dynamics:h,optionals:g+1,extract:_,rawParams:v,parsedParams:y})}}if(!b&&i.dynamic&&x)for(let e=i.dynamic.length-1;e>=0;e--){let t=i.dynamic[e],{prefix:n,suffix:r}=t;if(n||r){let e=t.caseSensitive?x:S??=x.toLowerCase();if(n&&!e.startsWith(n)||r&&!e.endsWith(r))continue}s.push({node:t,index:d+1,skipped:f,depth:p+1,statics:m,dynamics:h+1,optionals:g,extract:_,rawParams:v,parsedParams:y})}if(!b&&i.staticInsensitive){let e=i.staticInsensitive.get(S??=x.toLowerCase());e&&s.push({node:e,index:d+1,skipped:f,depth:p+1,statics:m+1,dynamics:h,optionals:g,extract:_,rawParams:v,parsedParams:y})}if(!b&&i.static){let e=i.static.get(x);e&&s.push({node:e,index:d+1,skipped:f,depth:p+1,statics:m+1,dynamics:h,optionals:g,extract:_,rawParams:v,parsedParams:y})}if(i.pathless){let e=p+1;for(let t=i.pathless.length-1;t>=0;t--){let n=i.pathless[t];s.push({node:n,index:d,skipped:f,depth:e,statics:m,dynamics:h,optionals:g,extract:_,rawParams:v,parsedParams:y})}}}if(u&&c)return Ae(c,u)?u:c;if(u)return u;if(c)return c;if(r&&l){let n=l.index;for(let e=0;e<l.index;e++)n+=t[e].length;let r=n===e.length?`/`:e.slice(n);return l.rawParams??=Object.create(null),l.rawParams[`**`]=decodeURIComponent(r),l}return null}function ke(e,t,n){try{let[r,i]=Te(e,t,n);n.rawParams=r,n.extract=i;let a=n.node.parse(r);return n.parsedParams=Object.assign(Object.create(null),n.parsedParams,a),!0}catch{return null}}function Ae(e,t){return e?t.statics>e.statics||t.statics===e.statics&&(t.dynamics>e.dynamics||t.dynamics===e.dynamics&&(t.optionals>e.optionals||t.optionals===e.optionals&&((t.node.kind===H)>(e.node.kind===H)||t.node.kind===H==(e.node.kind===H)&&t.depth>e.depth))):!0}function je(e){return Me(e.filter(e=>e!==void 0).join(`/`))}function Me(e){return e.replace(/\/{2,}/g,`/`)}function Ne(e){return e===`/`?e:e.replace(/^\/{1,}/,``)}function K(e){let t=e.length;return t>1&&e[t-1]===`/`?e.replace(/\/{1,}$/,``):e}function Pe(e){return K(Ne(e))}function Fe(e,t){return e?.endsWith(`/`)&&e!==`/`&&e!==`${t}/`?e.slice(0,-1):e}function Ie(e,t,n){return Fe(e,n)===Fe(t,n)}function Le({base:e,to:t,trailingSlash:n=`never`,cache:r}){let i=t.startsWith(`/`),a=!i&&t===`.`,o;if(r){o=i?t:a?e:e+`\0`+t;let n=r.get(o);if(n)return n}let s;if(a)s=e.split(`/`);else if(i)s=t.split(`/`);else{for(s=e.split(`/`);s.length>1&&M(s)===``;)s.pop();let n=t.split(`/`);for(let e=0,t=n.length;e<t;e++){let r=n[e];r===``?e?e===t-1&&s.push(r):s=[r]:r===`..`?s.pop():r===`.`||s.push(r)}}s.length>1&&(M(s)===``?n===`never`&&s.pop():n===`always`&&s.push(``));let c,l=``;for(let e=0;e<s.length;e++){e>0&&(l+=`/`);let t=s[e];if(!t)continue;c=he(t,0,c);let n=c[0];if(n===0){l+=t;continue}let r=c[5],i=t.substring(0,c[1]),a=t.substring(c[4],r),o=t.substring(c[2],c[3]);n===1?l+=i||a?`${i}{$${o}}${a}`:`$${o}`:n===2?l+=i||a?`${i}{$}${a}`:`$`:l+=`${i}{-$${o}}${a}`}l=Me(l);let u=l||`/`;return o&&r&&r.set(o,u),u}function Re(e){let t=new Map(e.map(e=>[encodeURIComponent(e),e])),n=Array.from(t.keys()).map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)).join(`|`),r=new RegExp(n,`g`);return e=>e.replace(r,e=>t.get(e)??e)}function ze(e,t,n){let r=t[e];return typeof r==`string`?e===`_splat`?/^[a-zA-Z0-9\-._~!/]*$/.test(r)?r:r.split(`/`).map(e=>Ve(e,n)).join(`/`):Ve(r,n):r}function Be({path:e,params:t,decoder:n,...r}){let i=!1,a=Object.create(null);if(!e||e===`/`)return{interpolatedPath:`/`,usedParams:a,isMissingParams:i};if(!e.includes(`$`))return{interpolatedPath:e,usedParams:a,isMissingParams:i};let o=e.length,s=0,c,l=``;for(;s<o;){let r=s;c=he(e,r,c);let o=c[5];if(s=o+1,r===o)continue;let u=c[0];if(u===0){l+=`/`+e.substring(r,o);continue}if(u===2){let s=t._splat;a._splat=s,a[`*`]=s;let u=e.substring(r,c[1]),d=e.substring(c[4],o);if(!s){i=!0,(u||d)&&(l+=`/`+u+d);continue}let f=ze(`_splat`,t,n);l+=`/`+u+f+d;continue}if(u===1){let s=e.substring(c[2],c[3]);!i&&!(s in t)&&(i=!0),a[s]=t[s];let u=e.substring(r,c[1]),d=e.substring(c[4],o),f=ze(s,t,n)??`undefined`;l+=`/`+u+f+d;continue}if(u===3){let i=e.substring(c[2],c[3]),s=t[i];if(s==null)continue;a[i]=s;let u=e.substring(r,c[1]),d=e.substring(c[4],o),f=ze(i,t,n)??``;l+=`/`+u+f+d;continue}}return e.endsWith(`/`)&&(l+=`/`),{usedParams:a,interpolatedPath:l||`/`,isMissingParams:i}}function Ve(e,t){let n=encodeURIComponent(e);return t?.(n)??n}function q(e){return!!e?.isNotFound}function He(){try{return typeof window<`u`&&typeof window.sessionStorage==`object`?window.sessionStorage:void 0}catch{return}}var Ue=`tsr-scroll-restoration-v1_3`;function We(){let e=He();if(!e)return null;let t={};try{let n=JSON.parse(e.getItem(`tsr-scroll-restoration-v1_3`)||`{}`);A(n)&&(t=n)}catch{}return{get state(){return t},set:e=>{t=x(e,t)||t},persist:()=>{try{e.setItem(Ue,JSON.stringify(t))}catch{}}}}var Ge=We(),Ke=e=>e.state.__TSR_key||e.href;function qe(e){let t=[],n;for(;n=e.parentNode;)t.push(`${e.tagName}:nth-child(${Array.prototype.indexOf.call(n.children,e)+1})`),e=n;return`${t.reverse().join(` > `)}`.toLowerCase()}var Je=!1,Ye=`window`,Xe=`data-scroll-restoration-id`;function Ze(e,t){if(!Ge)return;let n=Ge;if((t??e.options.scrollRestoration??!1)&&(e.isScrollRestoring=!0),e.isScrollRestorationSetup||!n)return;e.isScrollRestorationSetup=!0,Je=!1;let r=e.options.getScrollRestorationKey||Ke,i=new Map;window.history.scrollRestoration=`manual`;let a=t=>{if(!(Je||!e.isScrollRestoring))if(t.target===document||t.target===window)i.set(Ye,{scrollX:window.scrollX||0,scrollY:window.scrollY||0});else{let e=t.target;i.set(e,{scrollX:e.scrollLeft||0,scrollY:e.scrollTop||0})}},o=t=>{if(!e.isScrollRestoring||!t||i.size===0||!n)return;let r=n.state[t]||={};for(let[e,t]of i){let n;if(e===Ye)n=Ye;else if(e.isConnected){let t=e.getAttribute(Xe);n=t?`[${Xe}="${t}"]`:qe(e)}n&&(r[n]=t)}};document.addEventListener(`scroll`,a,!0),e.subscribe(`onBeforeLoad`,e=>{o(e.fromLocation?r(e.fromLocation):void 0),i.clear()}),window.addEventListener(`pagehide`,()=>{o(r(e.stores.resolvedLocation.state??e.stores.location.state)),n.persist()}),e.subscribe(`onRendered`,t=>{let a=r(t.toLocation),o=e.options.scrollRestorationBehavior,s=e.options.scrollToTopSelectors;if(i.clear(),!e.resetNextScroll){e.resetNextScroll=!0;return}if(!(typeof e.options.scrollRestoration==`function`&&!e.options.scrollRestoration({location:e.latestLocation}))){Je=!0;try{let t=e.isScrollRestoring?n.state[a]:void 0,r=!1;if(t)for(let e in t){let n=t[e];if(!A(n))continue;let{scrollX:i,scrollY:a}=n;if(!(!Number.isFinite(i)||!Number.isFinite(a))){if(e===Ye)window.scrollTo({top:a,left:i,behavior:o}),r=!0;else if(e){let t;try{t=document.querySelector(e)}catch{continue}t&&(t.scrollLeft=i,t.scrollTop=a,r=!0)}}}if(!r){let t=e.history.location.hash.slice(1);if(t){let e=window.history.state?.__hashScrollIntoViewOptions??!0;if(e){let n=document.getElementById(t);n&&n.scrollIntoView(e)}}else{let e={top:0,left:0,behavior:o};if(window.scrollTo(e),s)for(let t of s){if(t===Ye)continue;let n=typeof t==`function`?t():document.querySelector(t);n&&n.scrollTo(e)}}}}finally{Je=!1}e.isScrollRestoring&&n.set(e=>(e[a]||={},e))}})}function Qe(e,t=String){let n=new URLSearchParams;for(let r in e){let i=e[r];i!==void 0&&n.set(r,t(i))}return n.toString()}function $e(e){return e?e===`false`?!1:e===`true`?!0:e*0==0&&+e+``===e?+e:e:``}function et(e){let t=new URLSearchParams(e),n=Object.create(null);for(let[e,r]of t.entries()){let t=n[e];t==null?n[e]=$e(r):Array.isArray(t)?t.push($e(r)):n[e]=[t,$e(r)]}return n}var tt=rt(JSON.parse),nt=it(JSON.stringify,JSON.parse);function rt(e){return t=>{t[0]===`?`&&(t=t.substring(1));let n=et(t);for(let t in n){let r=n[t];if(typeof r==`string`)try{n[t]=e(r)}catch{}}return n}}function it(e,t){let n=typeof t==`function`;function r(r){if(typeof r==`object`&&r)try{return e(r)}catch{}else if(n&&typeof r==`string`)try{return t(r),e(r)}catch{}return r}return e=>{let t=Qe(e,r);return t?`?${t}`:``}}var at=`__root__`;function ot(e){if(e.statusCode=e.statusCode||e.code||307,!e._builtLocation&&!e.reloadDocument&&typeof e.href==`string`)try{new URL(e.href),e.reloadDocument=!0}catch{}let t=new Headers(e.headers);e.href&&t.get(`Location`)===null&&t.set(`Location`,e.href);let n=new Response(null,{status:e.statusCode,headers:t});if(n.options=e,e.throw)throw n;return n}function J(e){return e instanceof Response&&!!e.options}function st(e){return{input:({url:t})=>{for(let n of e)t=lt(n,t);return t},output:({url:t})=>{for(let n=e.length-1;n>=0;n--)t=ut(e[n],t);return t}}}function ct(e){let t=Pe(e.basepath),n=`/${t}`,r=`${n}/`,i=e.caseSensitive?n:n.toLowerCase(),a=e.caseSensitive?r:r.toLowerCase();return{input:({url:t})=>{let r=e.caseSensitive?t.pathname:t.pathname.toLowerCase();return r===i?t.pathname=`/`:r.startsWith(a)&&(t.pathname=t.pathname.slice(n.length)),t},output:({url:e})=>(e.pathname=je([`/`,t,e.pathname]),e)}}function lt(e,t){let n=e?.input?.({url:t});if(n){if(typeof n==`string`)return new URL(n);if(n instanceof URL)return n}return t}function ut(e,t){let n=e?.output?.({url:t});if(n){if(typeof n==`string`)return new URL(n);if(n instanceof URL)return n}return t}function dt(e,t){let{createMutableStore:n,createReadonlyStore:r,batch:i,init:a}=t,o=new Map,s=new Map,c=new Map,l=n(e.status),u=n(e.loadedAt),d=n(e.isLoading),f=n(e.isTransitioning),p=n(e.location),m=n(e.resolvedLocation),h=n(e.statusCode),g=n(e.redirect),_=n([]),v=n([]),y=n([]),b=r(()=>ft(o,_.state)),x=r(()=>ft(s,v.state)),S=r(()=>ft(c,y.state)),C=r(()=>_.state[0]),w=r(()=>_.state.some(e=>o.get(e)?.state.status===`pending`)),T=r(()=>({locationHref:p.state.href,resolvedLocationHref:m.state?.href,status:l.state})),E=r(()=>({status:l.state,loadedAt:u.state,isLoading:d.state,isTransitioning:f.state,matches:b.state,location:p.state,resolvedLocation:m.state,statusCode:h.state,redirect:g.state})),D=V(64);function O(e){let t=D.get(e);return t||(t=r(()=>{let t=_.state;for(let n of t){let t=o.get(n);if(t&&t.routeId===e)return t.state}}),D.set(e,t)),t}let k={status:l,loadedAt:u,isLoading:d,isTransitioning:f,location:p,resolvedLocation:m,statusCode:h,redirect:g,matchesId:_,pendingMatchesId:v,cachedMatchesId:y,activeMatchesSnapshot:b,pendingMatchesSnapshot:x,cachedMatchesSnapshot:S,firstMatchId:C,hasPendingMatches:w,matchRouteReactivity:T,activeMatchStoresById:o,pendingMatchStoresById:s,cachedMatchStoresById:c,__store:E,getMatchStoreByRouteId:O,setActiveMatches:A,setPendingMatches:j,setCachedMatches:ee};A(e.matches),a?.(k);function A(e){pt(e,o,_,n,i)}function j(e){pt(e,s,v,n,i)}function ee(e){pt(e,c,y,n,i)}return k}function ft(e,t){let n=[];for(let r of t){let t=e.get(r);t&&n.push(t.state)}return n}function pt(e,t,n,r,i){let a=e.map(e=>e.id),o=new Set(a);i(()=>{for(let e of t.keys())o.has(e)||t.delete(e);for(let n of e){let e=t.get(n.id);if(!e){let e=r(n);e.routeId=n.routeId,t.set(n.id,e);continue}e.routeId=n.routeId,e.state!==n&&e.setState(()=>n)}N(n.state,a)||n.setState(()=>a)})}var mt=e=>{if(!e.rendered)return e.rendered=!0,e.onReady?.()},ht=e=>e.stores.matchesId.state.some(t=>e.stores.activeMatchStoresById.get(t)?.state._forcePending),gt=(e,t)=>!!(e.preload&&!e.router.stores.activeMatchStoresById.has(t)),_t=(e,t,n=!0)=>{let r={...e.router.options.context??{}},i=n?t:t-1;for(let t=0;t<=i;t++){let n=e.matches[t];if(!n)continue;let i=e.router.getMatch(n.id);i&&Object.assign(r,i.__routeContext,i.__beforeLoadContext)}return r},vt=(e,t)=>{if(!e.matches.length)return;let n=t.routeId,r=e.matches.findIndex(t=>t.routeId===e.router.routeTree.id),i=r>=0?r:0,a=n?e.matches.findIndex(e=>e.routeId===n):e.firstBadMatchIndex??e.matches.length-1;a<0&&(a=i);for(let t=a;t>=0;t--){let n=e.matches[t];if(e.router.looseRoutesById[n.routeId].options.notFoundComponent)return t}return n?a:i},Y=(e,t,n)=>{if(!(!J(n)&&!q(n)))throw J(n)&&n.redirectHandled&&!n.options.reloadDocument?n:(t&&(t._nonReactive.beforeLoadPromise?.resolve(),t._nonReactive.loaderPromise?.resolve(),t._nonReactive.beforeLoadPromise=void 0,t._nonReactive.loaderPromise=void 0,t._nonReactive.error=n,e.updateMatch(t.id,r=>({...r,status:J(n)?`redirected`:r.status===`pending`?`success`:r.status,context:_t(e,t.index),isFetching:!1,error:n})),q(n)&&!n.routeId&&(n.routeId=t.routeId),t._nonReactive.loadPromise?.resolve()),J(n)&&(e.rendered=!0,n.options._fromLocation=e.location,n.redirectHandled=!0,n=e.router.resolveRedirect(n)),n)},yt=(e,t)=>{let n=e.router.getMatch(t);return!!(!n||n._nonReactive.dehydrated)},bt=(e,t,n)=>{let r=_t(e,n);e.updateMatch(t,e=>({...e,context:r}))},xt=(e,t,n,r)=>{let{id:i,routeId:a}=e.matches[t],o=e.router.looseRoutesById[a];if(n instanceof Promise)throw n;n.routerCode=r,e.firstBadMatchIndex??=t,Y(e,e.router.getMatch(i),n);try{o.options.onError?.(n)}catch(t){n=t,Y(e,e.router.getMatch(i),n)}e.updateMatch(i,e=>(e._nonReactive.beforeLoadPromise?.resolve(),e._nonReactive.beforeLoadPromise=void 0,e._nonReactive.loadPromise?.resolve(),{...e,error:n,status:`error`,isFetching:!1,updatedAt:Date.now(),abortController:new AbortController})),!e.preload&&!J(n)&&!q(n)&&(e.serialError??=n)},St=(e,t,n,r)=>{if(r._nonReactive.pendingTimeout!==void 0)return;let i=n.options.pendingMs??e.router.options.defaultPendingMs;if(e.onReady&&!gt(e,t)&&(n.options.loader||n.options.beforeLoad||Nt(n))&&typeof i==`number`&&i!==1/0&&(n.options.pendingComponent??e.router.options?.defaultPendingComponent)){let t=setTimeout(()=>{mt(e)},i);r._nonReactive.pendingTimeout=t}},Ct=(e,t,n)=>{let r=e.router.getMatch(t);if(!r._nonReactive.beforeLoadPromise&&!r._nonReactive.loaderPromise)return;St(e,t,n,r);let i=()=>{let n=e.router.getMatch(t);n.preload&&(n.status===`redirected`||n.status===`notFound`)&&Y(e,n,n.error)};return r._nonReactive.beforeLoadPromise?r._nonReactive.beforeLoadPromise.then(i):i()},wt=(e,t,n,r)=>{let i=e.router.getMatch(t),a=i._nonReactive.loadPromise;i._nonReactive.loadPromise=v(()=>{a?.resolve(),a=void 0});let{paramsError:o,searchError:s}=i;o&&xt(e,n,o,`PARSE_PARAMS`),s&&xt(e,n,s,`VALIDATE_SEARCH`),St(e,t,r,i);let c=new AbortController,l=!1,u=()=>{l||(l=!0,e.updateMatch(t,e=>({...e,isFetching:`beforeLoad`,fetchCount:e.fetchCount+1,abortController:c})))},d=()=>{i._nonReactive.beforeLoadPromise?.resolve(),i._nonReactive.beforeLoadPromise=void 0,e.updateMatch(t,e=>({...e,isFetching:!1}))};if(!r.options.beforeLoad){e.router.batch(()=>{u(),d()});return}i._nonReactive.beforeLoadPromise=v();let f={..._t(e,n,!1),...i.__routeContext},{search:p,params:m,cause:h}=i,g=gt(e,t),_={search:p,abortController:c,params:m,preload:g,context:f,location:e.location,navigate:t=>e.router.navigate({...t,_fromLocation:e.location}),buildLocation:e.router.buildLocation,cause:g?`preload`:h,matches:e.matches,routeId:r.id,...e.router.options.additionalContext},y=r=>{if(r===void 0){e.router.batch(()=>{u(),d()});return}(J(r)||q(r))&&(u(),xt(e,n,r,`BEFORE_LOAD`)),e.router.batch(()=>{u(),e.updateMatch(t,e=>({...e,__beforeLoadContext:r})),d()})},b;try{if(b=r.options.beforeLoad(_),F(b))return u(),b.catch(t=>{xt(e,n,t,`BEFORE_LOAD`)}).then(y)}catch(t){u(),xt(e,n,t,`BEFORE_LOAD`)}y(b)},Tt=(e,t)=>{let{id:n,routeId:r}=e.matches[t],i=e.router.looseRoutesById[r],a=()=>s(),o=()=>wt(e,n,t,i),s=()=>{if(yt(e,n))return;let t=Ct(e,n,i);return F(t)?t.then(o):o()};return a()},Et=(e,t,n)=>{let r=e.router.getMatch(t);if(!r||!n.options.head&&!n.options.scripts&&!n.options.headers)return;let i={ssr:e.router.options.ssr,matches:e.matches,match:r,params:r.params,loaderData:r.loaderData};return Promise.all([n.options.head?.(i),n.options.scripts?.(i),n.options.headers?.(i)]).then(([e,t,n])=>({meta:e?.meta,links:e?.links,headScripts:e?.scripts,headers:n,scripts:t,styles:e?.styles}))},Dt=(e,t,n,r,i)=>{let a=t[r-1],{params:o,loaderDeps:s,abortController:c,cause:l}=e.router.getMatch(n),u=_t(e,r),d=gt(e,n);return{params:o,deps:s,preload:!!d,parentMatchPromise:a,abortController:c,context:u,location:e.location,navigate:t=>e.router.navigate({...t,_fromLocation:e.location}),cause:d?`preload`:l,route:i,...e.router.options.additionalContext}},Ot=async(e,t,n,r,i)=>{try{let a=e.router.getMatch(n);try{Mt(i);let o=i.options.loader,s=typeof o==`function`?o:o?.handler,c=s?.(Dt(e,t,n,r,i)),l=!!s&&F(c);if((l||i._lazyPromise||i._componentsPromise||i.options.head||i.options.scripts||i.options.headers||a._nonReactive.minPendingPromise)&&e.updateMatch(n,e=>({...e,isFetching:`loader`})),s){let t=l?await c:c;Y(e,e.router.getMatch(n),t),t!==void 0&&e.updateMatch(n,e=>({...e,loaderData:t}))}i._lazyPromise&&await i._lazyPromise;let u=a._nonReactive.minPendingPromise;u&&await u,i._componentsPromise&&await i._componentsPromise,e.updateMatch(n,t=>({...t,error:void 0,context:_t(e,r),status:`success`,isFetching:!1,updatedAt:Date.now()}))}catch(t){let o=t;if(o?.name===`AbortError`){if(a.abortController.signal.aborted){a._nonReactive.loaderPromise?.resolve(),a._nonReactive.loaderPromise=void 0;return}e.updateMatch(n,t=>({...t,status:t.status===`pending`?`success`:t.status,isFetching:!1,context:_t(e,r)}));return}let s=a._nonReactive.minPendingPromise;s&&await s,q(t)&&await i.options.notFoundComponent?.preload?.(),Y(e,e.router.getMatch(n),t);try{i.options.onError?.(t)}catch(t){o=t,Y(e,e.router.getMatch(n),t)}!J(o)&&!q(o)&&await Mt(i,[`errorComponent`]),e.updateMatch(n,t=>({...t,error:o,context:_t(e,r),status:`error`,isFetching:!1}))}}catch(t){let r=e.router.getMatch(n);r&&(r._nonReactive.loaderPromise=void 0),Y(e,r,t)}},kt=async(e,t,n)=>{async function r(r,a,c,l,d){let f=Date.now()-a.updatedAt,p=r?d.options.preloadStaleTime??e.router.options.defaultPreloadStaleTime??3e4:d.options.staleTime??e.router.options.defaultStaleTime??0,m=d.options.shouldReload,h=typeof m==`function`?m(Dt(e,t,i,n,d)):m,{status:g,invalid:_}=l,v=f>=p&&(!!e.forceStaleReload||l.cause===`enter`||c!==void 0&&c!==l.id);o=g===`success`&&(_||(h??v)),r&&d.options.preload===!1||(o&&!e.sync&&u?(s=!0,(async()=>{try{await Ot(e,t,i,n,d);let r=e.router.getMatch(i);r._nonReactive.loaderPromise?.resolve(),r._nonReactive.loadPromise?.resolve(),r._nonReactive.loaderPromise=void 0,r._nonReactive.loadPromise=void 0}catch(t){J(t)&&await e.router.navigate(t.options)}})()):g!==`success`||o?await Ot(e,t,i,n,d):bt(e,i,n))}let{id:i,routeId:a}=e.matches[n],o=!1,s=!1,c=e.router.looseRoutesById[a],l=c.options.loader,u=((typeof l==`function`?void 0:l?.staleReloadMode)??e.router.options.defaultStaleReloadMode)!==`blocking`;if(yt(e,i)){if(!e.router.getMatch(i))return e.matches[n];bt(e,i,n)}else{let t=e.router.getMatch(i),o=e.router.stores.matchesId.state[n],s=(o&&e.router.stores.activeMatchStoresById.get(o)||null)?.routeId===a?o:e.router.stores.activeMatchesSnapshot.state.find(e=>e.routeId===a)?.id,l=gt(e,i);if(t._nonReactive.loaderPromise){if(t.status===`success`&&!e.sync&&!t.preload&&u)return t;await t._nonReactive.loaderPromise;let n=e.router.getMatch(i),a=n._nonReactive.error||n.error;a&&Y(e,n,a),n.status===`pending`&&await r(l,t,s,n,c)}else{let n=l&&!e.router.stores.activeMatchStoresById.has(i),a=e.router.getMatch(i);a._nonReactive.loaderPromise=v(),n!==a.preload&&e.updateMatch(i,e=>({...e,preload:n})),await r(l,t,s,a,c)}}let d=e.router.getMatch(i);s||(d._nonReactive.loaderPromise?.resolve(),d._nonReactive.loadPromise?.resolve(),d._nonReactive.loadPromise=void 0),clearTimeout(d._nonReactive.pendingTimeout),d._nonReactive.pendingTimeout=void 0,s||(d._nonReactive.loaderPromise=void 0),d._nonReactive.dehydrated=void 0;let f=s?d.isFetching:!1;return f!==d.isFetching||d.invalid!==!1?(e.updateMatch(i,e=>({...e,isFetching:f,invalid:!1})),e.router.getMatch(i)):d};async function At(e){let t=e,n=[];ht(t.router)&&mt(t);let r;for(let e=0;e<t.matches.length;e++){try{let n=Tt(t,e);F(n)&&await n}catch(e){if(J(e))throw e;if(q(e))r=e;else if(!t.preload)throw e;break}if(t.serialError||t.firstBadMatchIndex!=null)break}let i=t.firstBadMatchIndex??t.matches.length,a=r&&!t.preload?vt(t,r):void 0,o=r&&t.preload?0:a===void 0?i:Math.min(a+1,i),s,c;for(let e=0;e<o;e++)n.push(kt(t,n,e));try{await Promise.all(n)}catch{let e=await Promise.allSettled(n);for(let t of e){if(t.status!==`rejected`)continue;let e=t.reason;if(J(e))throw e;q(e)?s??=e:c??=e}if(c!==void 0)throw c}let l=s??(r&&!t.preload?r:void 0),u=t.firstBadMatchIndex===void 0?t.matches.length-1:t.firstBadMatchIndex;if(!l&&r&&t.preload)return t.matches;if(l){let e=vt(t,l);e===void 0&&g();let n=t.matches[e],r=t.router.looseRoutesById[n.routeId],i=t.router.options?.defaultNotFoundComponent;!r.options.notFoundComponent&&i&&(r.options.notFoundComponent=i),l.routeId=n.routeId;let a=n.routeId===t.router.routeTree.id;t.updateMatch(n.id,e=>({...e,...a?{status:`success`,globalNotFound:!0,error:void 0}:{status:`notFound`,error:l},isFetching:!1})),u=e,await Mt(r,[`notFoundComponent`])}else if(!t.preload){let e=t.matches[0];e.globalNotFound||t.router.getMatch(e.id)?.globalNotFound&&t.updateMatch(e.id,e=>({...e,globalNotFound:!1,error:void 0}))}if(t.serialError&&t.firstBadMatchIndex!==void 0){let e=t.router.looseRoutesById[t.matches[t.firstBadMatchIndex].routeId];await Mt(e,[`errorComponent`])}for(let e=0;e<=u;e++){let{id:n,routeId:r}=t.matches[e],i=t.router.looseRoutesById[r];try{let e=Et(t,n,i);if(e){let r=await e;t.updateMatch(n,e=>({...e,...r}))}}catch(e){console.error(`Error executing head for route ${r}:`,e)}}let d=mt(t);if(F(d)&&await d,l)throw l;if(t.serialError&&!t.preload&&!t.onReady)throw t.serialError;return t.matches}function jt(e,t){let n=t.map(t=>e.options[t]?.preload?.()).filter(Boolean);if(n.length!==0)return Promise.all(n)}function Mt(e,t=Pt){!e._lazyLoaded&&e._lazyPromise===void 0&&(e.lazyFn?e._lazyPromise=e.lazyFn().then(t=>{let{id:n,...r}=t.options;Object.assign(e.options,r),e._lazyLoaded=!0,e._lazyPromise=void 0}):e._lazyLoaded=!0);let n=()=>e._componentsLoaded?void 0:t===Pt?(()=>{if(e._componentsPromise===void 0){let t=jt(e,Pt);t?e._componentsPromise=t.then(()=>{e._componentsLoaded=!0,e._componentsPromise=void 0}):e._componentsLoaded=!0}return e._componentsPromise})():jt(e,t);return e._lazyPromise?e._lazyPromise.then(n):n()}function Nt(e){for(let t of Pt)if(e.options[t]?.preload)return!0;return!1}var Pt=[`component`,`errorComponent`,`pendingComponent`,`notFoundComponent`],X=`__TSR_index`,Ft=`popstate`,It=`beforeunload`;function Lt(e){let t=e.getLocation(),n=new Set,r=r=>{t=e.getLocation(),n.forEach(e=>e({location:t,action:r}))},i=n=>{e.notifyOnIndexChange??!0?r(n):t=e.getLocation()},a=async({task:n,navigateOpts:r,...i})=>{if(r?.ignoreBlocker??!1){n();return}let a=e.getBlockers?.()??[],o=i.type===`PUSH`||i.type===`REPLACE`;if(typeof document<`u`&&a.length&&o)for(let n of a){let r=Vt(i.path,i.state);if(await n.blockerFn({currentLocation:t,nextLocation:r,action:i.type})){e.onBlocked?.();return}}n()};return{get location(){return t},get length(){return e.getLength()},subscribers:n,subscribe:e=>(n.add(e),()=>{n.delete(e)}),push:(n,i,o)=>{let s=t.state[X];i=Rt(s+1,i),a({task:()=>{e.pushState(n,i),r({type:`PUSH`})},navigateOpts:o,type:`PUSH`,path:n,state:i})},replace:(n,i,o)=>{let s=t.state[X];i=Rt(s,i),a({task:()=>{e.replaceState(n,i),r({type:`REPLACE`})},navigateOpts:o,type:`REPLACE`,path:n,state:i})},go:(t,n)=>{a({task:()=>{e.go(t),i({type:`GO`,index:t})},navigateOpts:n,type:`GO`})},back:t=>{a({task:()=>{e.back(t?.ignoreBlocker??!1),i({type:`BACK`})},navigateOpts:t,type:`BACK`})},forward:t=>{a({task:()=>{e.forward(t?.ignoreBlocker??!1),i({type:`FORWARD`})},navigateOpts:t,type:`FORWARD`})},canGoBack:()=>t.state[X]!==0,createHref:t=>e.createHref(t),block:t=>{if(!e.setBlockers)return()=>{};let n=e.getBlockers?.()??[];return e.setBlockers([...n,t]),()=>{let n=e.getBlockers?.()??[];e.setBlockers?.(n.filter(e=>e!==t))}},flush:()=>e.flush?.(),destroy:()=>e.destroy?.(),notify:r}}function Rt(e,t){t||={};let n=Ht();return{...t,key:n,__TSR_key:n,[X]:e}}function zt(e){let t=e?.window??(typeof document<`u`?window:void 0),n=t.history.pushState,r=t.history.replaceState,i=[],a=()=>i,o=e=>i=e,s=e?.createHref??(e=>e),c=e?.parseLocation??(()=>Vt(`${t.location.pathname}${t.location.search}${t.location.hash}`,t.history.state));if(!t.history.state?.__TSR_key&&!t.history.state?.key){let e=Ht();t.history.replaceState({[X]:0,key:e,__TSR_key:e},``)}let l=c(),u,d=!1,f=!1,p=!1,m=!1,h=()=>l,g,_,v=()=>{g&&(C._ignoreSubscribers=!0,(g.isPush?t.history.pushState:t.history.replaceState)(g.state,``,g.href),C._ignoreSubscribers=!1,g=void 0,_=void 0,u=void 0)},y=(e,t,n)=>{let r=s(t);_||(u=l),l=Vt(t,n),g={href:r,state:n,isPush:g?.isPush||e===`push`},_||=Promise.resolve().then(()=>v())},b=e=>{l=c(),C.notify({type:e})},x=async()=>{if(f){f=!1;return}let e=c(),n=e.state[X]-l.state[X],r=n===1,i=n===-1,o=!r&&!i||d;d=!1;let s=o?`GO`:i?`BACK`:`FORWARD`,u=o?{type:`GO`,index:n}:{type:i?`BACK`:`FORWARD`};if(p)p=!1;else{let n=a();if(typeof document<`u`&&n.length){for(let r of n)if(await r.blockerFn({currentLocation:l,nextLocation:e,action:s})){f=!0,t.history.go(1),C.notify(u);return}}}l=c(),C.notify(u)},S=e=>{if(m){m=!1;return}let t=!1,n=a();if(typeof document<`u`&&n.length)for(let e of n){let n=e.enableBeforeUnload??!0;if(n===!0){t=!0;break}if(typeof n==`function`&&n()===!0){t=!0;break}}if(t)return e.preventDefault(),e.returnValue=``},C=Lt({getLocation:h,getLength:()=>t.history.length,pushState:(e,t)=>y(`push`,e,t),replaceState:(e,t)=>y(`replace`,e,t),back:e=>(e&&(p=!0),m=!0,t.history.back()),forward:e=>{e&&(p=!0),m=!0,t.history.forward()},go:e=>{d=!0,t.history.go(e)},createHref:e=>s(e),flush:v,destroy:()=>{t.history.pushState=n,t.history.replaceState=r,t.removeEventListener(It,S,{capture:!0}),t.removeEventListener(Ft,x)},onBlocked:()=>{u&&l!==u&&(l=u)},getBlockers:a,setBlockers:o,notifyOnIndexChange:!1});return t.addEventListener(It,S,{capture:!0}),t.addEventListener(Ft,x),t.history.pushState=function(...e){let r=n.apply(t.history,e);return C._ignoreSubscribers||b(`PUSH`),r},t.history.replaceState=function(...e){let n=r.apply(t.history,e);return C._ignoreSubscribers||b(`REPLACE`),n},C}function Bt(e){let t=e.replace(/[\x00-\x1f\x7f]/g,``);return t.startsWith(`//`)&&(t=`/`+t.replace(/^\/+/,``)),t}function Vt(e,t){let n=Bt(e),r=n.indexOf(`#`),i=n.indexOf(`?`),a=Ht();return{href:n,pathname:n.substring(0,r>0?i>0?Math.min(r,i):r:i>0?i:n.length),hash:r>-1?n.substring(r):``,search:i>-1?n.slice(i,r===-1?void 0:r):``,state:t||{[X]:0,key:a,__TSR_key:a}}}function Ht(){return(Math.random()+1).toString(36).substring(7)}function Ut(e,t){let n=t,r=e;return{fromLocation:n,toLocation:r,pathChanged:n?.pathname!==r.pathname,hrefChanged:n?.href!==r.href,hashChanged:n?.hash!==r.hash}}var Wt=class{constructor(e,t){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this.resetNextScroll=!0,this.shouldViewTransition=void 0,this.isViewTransitionTypesSupported=void 0,this.subscribers=new Set,this.isScrollRestoring=!1,this.isScrollRestorationSetup=!1,this.startTransition=e=>e(),this.update=e=>{let t=this.options,n=this.basepath??t?.basepath??`/`,r=this.basepath===void 0,i=t?.rewrite;if(this.options={...t,...e},this.isServer=this.options.isServer??typeof document>`u`,this.protocolAllowlist=new Set(this.options.protocolAllowlist),this.options.pathParamsAllowedCharacters&&(this.pathParamsDecoder=Re(this.options.pathParamsAllowedCharacters)),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.history=zt()),this.origin=this.options.origin,this.origin||(window?.origin&&window.origin!==`null`?this.origin=window.origin:this.origin=`http://localhost`),this.history&&this.updateLatestLocation(),this.options.routeTree!==this.routeTree){this.routeTree=this.options.routeTree;let e;this.resolvePathCache=V(1e3),e=this.buildRouteTree(),this.setRoutes(e)}if(!this.stores&&this.latestLocation){let e=this.getStoreConfig(this);this.batch=e.batch,this.stores=dt(qt(this.latestLocation),e),Ze(this)}let a=!1,o=this.options.basepath??`/`,s=this.options.rewrite;if(r||n!==o||i!==s){this.basepath=o;let e=[],t=Pe(o);t&&t!==`/`&&e.push(ct({basepath:o})),s&&e.push(s),this.rewrite=e.length===0?void 0:e.length===1?e[0]:st(e),this.history&&this.updateLatestLocation(),a=!0}a&&this.stores&&this.stores.location.setState(()=>this.latestLocation),typeof window<`u`&&`CSS`in window&&typeof window.CSS?.supports==`function`&&(this.isViewTransitionTypesSupported=window.CSS.supports(`selector(:active-view-transition-type(a)`))},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{let e=Ce(this.routeTree,this.options.caseSensitive,(e,t)=>{e.init({originalIndex:t})});return this.options.routeMasks&&ve(this.options.routeMasks,e.processedTree),e},this.subscribe=(e,t)=>{let n={eventType:e,fn:t};return this.subscribers.add(n),()=>{this.subscribers.delete(n)}},this.emit=e=>{this.subscribers.forEach(t=>{t.eventType===e.type&&t.fn(e)})},this.parseLocation=(e,t)=>{let n=({pathname:e,search:n,hash:r,href:i,state:a})=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(e)){let i=this.options.parseSearch(n),o=this.options.stringifySearch(i);return{href:e+o+r,publicHref:e+o+r,pathname:D(e).path,external:!1,searchStr:o,search:P(t?.search,i),hash:D(r.slice(1)).path,state:j(t?.state,a)}}let o=new URL(i,this.origin),s=lt(this.rewrite,o),c=this.options.parseSearch(s.search),l=this.options.stringifySearch(c);return s.search=l,{href:s.href.replace(s.origin,``),publicHref:i,pathname:D(s.pathname).path,external:!!this.rewrite&&s.origin!==this.origin,searchStr:l,search:P(t?.search,c),hash:D(s.hash.slice(1)).path,state:j(t?.state,a)}},r=n(e),{__tempLocation:i,__tempKey:a}=r.state;if(i&&(!a||a===this.tempLocationKey)){let e=n(i);return e.state.key=r.state.key,e.state.__TSR_key=r.state.__TSR_key,delete e.state.__tempLocation,{...e,maskedLocation:r}}return r},this.resolvePathWithBase=(e,t)=>Le({base:e,to:Me(t),trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(e,t,n)=>typeof e==`string`?this.matchRoutesInternal({pathname:e,search:t},n):this.matchRoutesInternal(e,t),this.getMatchedRoutes=e=>Yt({pathname:e,routesById:this.routesById,processedTree:this.processedTree}),this.cancelMatch=e=>{let t=this.getMatch(e);t&&(t.abortController.abort(),clearTimeout(t._nonReactive.pendingTimeout),t._nonReactive.pendingTimeout=void 0)},this.cancelMatches=()=>{this.stores.pendingMatchesId.state.forEach(e=>{this.cancelMatch(e)}),this.stores.matchesId.state.forEach(e=>{if(this.stores.pendingMatchStoresById.has(e))return;let t=this.stores.activeMatchStoresById.get(e)?.state;t&&(t.status===`pending`||t.isFetching===`loader`)&&this.cancelMatch(e)})},this.buildLocation=e=>{let t=(t={})=>{let n=t._fromLocation||this.pendingBuiltLocation||this.latestLocation,r=this.matchRoutesLightweight(n);t.from;let i=t.unsafeRelative===`path`?n.pathname:t.from??r.fullPath,a=this.resolvePathWithBase(i,`.`),o=r.search,s=Object.assign(Object.create(null),r.params),c=t.to?this.resolvePathWithBase(a,`${t.to}`):this.resolvePathWithBase(a,`.`),l=t.params===!1||t.params===null?Object.create(null):(t.params??!0)===!0?s:Object.assign(s,x(t.params,s)),u=this.getMatchedRoutes(c),d=u.matchedRoutes;if((!u.foundRoute||u.foundRoute.path!==`/`&&u.routeParams[`**`])&&this.options.notFoundRoute&&(d=[...d,this.options.notFoundRoute]),Object.keys(l).length>0)for(let e of d){let t=e.options.params?.stringify??e.options.stringifyParams;if(t)try{Object.assign(l,t(l))}catch{}}let f=e.leaveParams?c:D(Be({path:c,params:l,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path,p=o;if(e._includeValidateSearch&&this.options.search?.strict){let e={};d.forEach(t=>{if(t.options.validateSearch)try{Object.assign(e,Jt(t.options.validateSearch,{...e,...p}))}catch{}}),p=e}p=Xt({search:p,dest:t,destRoutes:d,_includeValidateSearch:e._includeValidateSearch}),p=P(o,p);let m=this.options.stringifySearch(p),h=t.hash===!0?n.hash:t.hash?x(t.hash,n.hash):void 0,g=h?`#${h}`:``,_=t.state===!0?n.state:t.state?x(t.state,n.state):{};_=j(n.state,_);let v=`${f}${m}${g}`,y,b,S=!1;if(this.rewrite){let e=new URL(v,this.origin),t=ut(this.rewrite,e);y=e.href.replace(e.origin,``),t.origin===this.origin?b=t.pathname+t.search+t.hash:(b=t.href,S=!0)}else y=O(v),b=y;return{publicHref:b,href:y,pathname:f,search:p,searchStr:m,state:_,hash:h??``,external:S,unmaskOnReload:t.unmaskOnReload}},n=(n={},r)=>{let i=t(n),a=r?t(r):void 0;if(!a){let n=Object.create(null);if(this.options.routeMasks){let o=ye(i.pathname,this.processedTree);if(o){Object.assign(n,o.rawParams);let{from:i,params:s,...c}=o.route,l=s===!1||s===null?Object.create(null):(s??!0)===!0?n:Object.assign(n,x(s,n));r={from:e.from,...c,params:l},a=t(r)}}}return a&&(i.maskedLocation=a),i};return e.mask?n(e,{from:e.from,...e.mask}):n(e)},this.commitLocation=async({viewTransition:e,ignoreBlocker:t,...n})=>{let r=()=>{let e=[`key`,`__TSR_key`,`__TSR_index`,`__hashScrollIntoViewOptions`];e.forEach(e=>{n.state[e]=this.latestLocation.state[e]});let t=E(n.state,this.latestLocation.state);return e.forEach(e=>{delete n.state[e]}),t},i=K(this.latestLocation.href)===K(n.href),a=this.commitLocationPromise;if(this.commitLocationPromise=v(()=>{a?.resolve(),a=void 0}),i&&r())this.load();else{let{maskedLocation:r,hashScrollIntoView:i,...a}=n;r&&(a={...r,state:{...r.state,__tempKey:void 0,__tempLocation:{...a,search:a.searchStr,state:{...a.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},(a.unmaskOnReload??this.options.unmaskOnReload??!1)&&(a.state.__tempKey=this.tempLocationKey)),a.state.__hashScrollIntoViewOptions=i??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=e,this.history[n.replace?`replace`:`push`](a.publicHref,a.state,{ignoreBlocker:t})}return this.resetNextScroll=n.resetScroll??!0,this.history.subscribers.size||this.load(),this.commitLocationPromise},this.buildAndCommitLocation=({replace:e,resetScroll:t,hashScrollIntoView:n,viewTransition:r,ignoreBlocker:i,href:a,...o}={})=>{if(a){let t=this.history.location.state.__TSR_index,n=Vt(a,{__TSR_index:e?t:t+1}),r=new URL(n.pathname,this.origin);o.to=lt(this.rewrite,r).pathname,o.search=this.options.parseSearch(n.search),o.hash=n.hash.slice(1)}let s=this.buildLocation({...o,_includeValidateSearch:!0});this.pendingBuiltLocation=s;let c=this.commitLocation({...s,viewTransition:r,replace:e,resetScroll:t,hashScrollIntoView:n,ignoreBlocker:i});return Promise.resolve().then(()=>{this.pendingBuiltLocation===s&&(this.pendingBuiltLocation=void 0)}),c},this.navigate=async({to:e,reloadDocument:t,href:n,publicHref:r,...i})=>{let a=!1;if(n)try{new URL(`${n}`),a=!0}catch{}if(a&&!t&&(t=!0),t){if(e!==void 0||!n){let t=this.buildLocation({to:e,...i});n??=t.publicHref,r??=t.publicHref}let t=!a&&r?r:n;if(d(t,this.protocolAllowlist))return Promise.resolve();if(!i.ignoreBlocker){let e=this.history.getBlockers?.()??[];for(let t of e)if(t?.blockerFn&&await t.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:`PUSH`}))return Promise.resolve()}return i.replace?window.location.replace(t):window.location.href=t,Promise.resolve()}return this.buildAndCommitLocation({...i,href:n,to:e,_isNavigate:!0})},this.beforeLoad=()=>{this.cancelMatches(),this.updateLatestLocation();let e=this.matchRoutes(this.latestLocation),t=this.stores.cachedMatchesSnapshot.state.filter(t=>!e.some(e=>e.id===t.id));this.batch(()=>{this.stores.status.setState(()=>`pending`),this.stores.statusCode.setState(()=>200),this.stores.isLoading.setState(()=>!0),this.stores.location.setState(()=>this.latestLocation),this.stores.setPendingMatches(e),this.stores.setCachedMatches(t)})},this.load=async e=>{let t,n,r,i=this.stores.resolvedLocation.state??this.stores.location.state;for(r=new Promise(a=>{this.startTransition(async()=>{try{this.beforeLoad();let t=this.latestLocation,n=this.stores.resolvedLocation.state,r=Ut(t,n);this.stores.redirect.state||this.emit({type:`onBeforeNavigate`,...r}),this.emit({type:`onBeforeLoad`,...r}),await At({router:this,sync:e?.sync,forceStaleReload:i.href===t.href,matches:this.stores.pendingMatchesSnapshot.state,location:t,updateMatch:this.updateMatch,onReady:async()=>{this.startTransition(()=>{this.startViewTransition(async()=>{let e=null,t=null,n=null,r=null;this.batch(()=>{let i=this.stores.pendingMatchesSnapshot.state,a=i.length,o=this.stores.activeMatchesSnapshot.state;e=a?o.filter(e=>!this.stores.pendingMatchStoresById.has(e.id)):null;let s=new Set;for(let e of this.stores.pendingMatchStoresById.values())e.routeId&&s.add(e.routeId);let c=new Set;for(let e of this.stores.activeMatchStoresById.values())e.routeId&&c.add(e.routeId);t=a?o.filter(e=>!s.has(e.routeId)):null,n=a?i.filter(e=>!c.has(e.routeId)):null,r=a?i.filter(e=>c.has(e.routeId)):o,this.stores.isLoading.setState(()=>!1),this.stores.loadedAt.setState(()=>Date.now()),a&&(this.stores.setActiveMatches(i),this.stores.setPendingMatches([]),this.stores.setCachedMatches([...this.stores.cachedMatchesSnapshot.state,...e.filter(e=>e.status!==`error`&&e.status!==`notFound`&&e.status!==`redirected`)]),this.clearExpiredCache())});for(let[e,i]of[[t,`onLeave`],[n,`onEnter`],[r,`onStay`]])if(e)for(let t of e)this.looseRoutesById[t.routeId].options[i]?.(t)})})}})}catch(e){J(e)?(t=e,this.navigate({...t.options,replace:!0,ignoreBlocker:!0})):q(e)&&(n=e);let r=t?t.status:n?404:this.stores.activeMatchesSnapshot.state.some(e=>e.status===`error`)?500:200;this.batch(()=>{this.stores.statusCode.setState(()=>r),this.stores.redirect.setState(()=>t)})}this.latestLoadPromise===r&&(this.commitLocationPromise?.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0),a()})}),this.latestLoadPromise=r,await r;this.latestLoadPromise&&r!==this.latestLoadPromise;)await this.latestLoadPromise;let a;this.hasNotFoundMatch()?a=404:this.stores.activeMatchesSnapshot.state.some(e=>e.status===`error`)&&(a=500),a!==void 0&&this.stores.statusCode.setState(()=>a)},this.startViewTransition=e=>{let t=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,t&&typeof document<`u`&&`startViewTransition`in document&&typeof document.startViewTransition==`function`){let n;if(typeof t==`object`&&this.isViewTransitionTypesSupported){let r=this.latestLocation,i=this.stores.resolvedLocation.state,a=typeof t.types==`function`?t.types(Ut(r,i)):t.types;if(a===!1){e();return}n={update:e,types:a}}else n=e;document.startViewTransition(n)}else e()},this.updateMatch=(e,t)=>{this.startTransition(()=>{let n=this.stores.pendingMatchStoresById.get(e);if(n){n.setState(t);return}let r=this.stores.activeMatchStoresById.get(e);if(r){r.setState(t);return}let i=this.stores.cachedMatchStoresById.get(e);if(i){let n=t(i.state);n.status===`redirected`?this.stores.cachedMatchStoresById.delete(e)&&this.stores.cachedMatchesId.setState(t=>t.filter(t=>t!==e)):i.setState(()=>n)}})},this.getMatch=e=>this.stores.cachedMatchStoresById.get(e)?.state??this.stores.pendingMatchStoresById.get(e)?.state??this.stores.activeMatchStoresById.get(e)?.state,this.invalidate=e=>{let t=t=>e?.filter?.(t)??!0?{...t,invalid:!0,...e?.forcePending||t.status===`error`||t.status===`notFound`?{status:`pending`,error:void 0}:void 0}:t;return this.batch(()=>{this.stores.setActiveMatches(this.stores.activeMatchesSnapshot.state.map(t)),this.stores.setCachedMatches(this.stores.cachedMatchesSnapshot.state.map(t)),this.stores.setPendingMatches(this.stores.pendingMatchesSnapshot.state.map(t))}),this.shouldViewTransition=!1,this.load({sync:e?.sync})},this.getParsedLocationHref=e=>e.publicHref||`/`,this.resolveRedirect=e=>{let t=e.headers.get(`Location`);if(!e.options.href||e.options._builtLocation){let t=e.options._builtLocation??this.buildLocation(e.options),n=this.getParsedLocationHref(t);e.options.href=n,e.headers.set(`Location`,n)}else if(t)try{let n=new URL(t);if(this.origin&&n.origin===this.origin){let t=n.pathname+n.search+n.hash;e.options.href=t,e.headers.set(`Location`,t)}}catch{}if(e.options.href&&!e.options._builtLocation&&d(e.options.href,this.protocolAllowlist))throw Error(`Redirect blocked: unsafe protocol`);return e.headers.get(`Location`)||e.headers.set(`Location`,e.options.href),e},this.clearCache=e=>{let t=e?.filter;t===void 0?this.stores.setCachedMatches([]):this.stores.setCachedMatches(this.stores.cachedMatchesSnapshot.state.filter(e=>!t(e)))},this.clearExpiredCache=()=>{let e=Date.now();this.clearCache({filter:t=>{let n=this.looseRoutesById[t.routeId];if(!n.options.loader)return!0;let r=(t.preload?n.options.preloadGcTime??this.options.defaultPreloadGcTime:n.options.gcTime??this.options.defaultGcTime)??300*1e3;return t.status===`error`?!0:e-t.updatedAt>=r}})},this.loadRouteChunk=Mt,this.preloadRoute=async e=>{let t=e._builtLocation??this.buildLocation(e),n=this.matchRoutes(t,{throwOnError:!0,preload:!0,dest:e}),r=new Set([...this.stores.matchesId.state,...this.stores.pendingMatchesId.state]),i=new Set([...r,...this.stores.cachedMatchesId.state]),a=n.filter(e=>!i.has(e.id));if(a.length){let e=this.stores.cachedMatchesSnapshot.state;this.stores.setCachedMatches([...e,...a])}try{return n=await At({router:this,matches:n,location:t,preload:!0,updateMatch:(e,t)=>{r.has(e)?n=n.map(n=>n.id===e?t(n):n):this.updateMatch(e,t)}}),n}catch(e){if(J(e))return e.options.reloadDocument?void 0:await this.preloadRoute({...e.options,_fromLocation:t});q(e)||console.error(e);return}},this.matchRoute=(e,t)=>{let n={...e,to:e.to?this.resolvePathWithBase(e.from||``,e.to):void 0,params:e.params||{},leaveParams:!0},r=this.buildLocation(n);if(t?.pending&&this.stores.status.state!==`pending`)return!1;let i=(t?.pending===void 0?!this.stores.isLoading.state:t.pending)?this.latestLocation:this.stores.resolvedLocation.state||this.stores.location.state,a=be(r.pathname,t?.caseSensitive??!1,t?.fuzzy??!1,i.pathname,this.processedTree);return!a||e.params&&!E(a.rawParams,e.params,{partial:!0})?!1:t?.includeSearch??!0?E(i.search,r.search,{partial:!0})?a.rawParams:!1:a.rawParams},this.hasNotFoundMatch=()=>this.stores.activeMatchesSnapshot.state.some(e=>e.status===`notFound`||e.globalNotFound),this.getStoreConfig=t,this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...e,caseSensitive:e.caseSensitive??!1,notFoundMode:e.notFoundMode??`fuzzy`,stringifySearch:e.stringifySearch??nt,parseSearch:e.parseSearch??tt,protocolAllowlist:e.protocolAllowlist??y}),typeof document<`u`&&(self.__TSR_ROUTER__=this)}isShell(){return!!this.options.isShell}isPrerendering(){return!!this.options.isPrerendering}get state(){return this.stores.__store.state}setRoutes({routesById:e,routesByPath:t,processedTree:n}){this.routesById=e,this.routesByPath=t,this.processedTree=n;let r=this.options.notFoundRoute;r&&(r.init({originalIndex:99999999999}),this.routesById[r.id]=r)}get looseRoutesById(){return this.routesById}getParentContext(e){return e?.id?e.context??this.options.context??void 0:this.options.context??void 0}matchRoutesInternal(e,t){let n=this.getMatchedRoutes(e.pathname),{foundRoute:r,routeParams:i,parsedParams:a}=n,{matchedRoutes:o}=n,s=!1;(r?r.path!==`/`&&i[`**`]:K(e.pathname))&&(this.options.notFoundRoute?o=[...o,this.options.notFoundRoute]:s=!0);let c=s?Qt(this.options.notFoundMode,o):void 0,l=Array(o.length),u=new Map;for(let e of this.stores.activeMatchStoresById.values())e.routeId&&u.set(e.routeId,e.state);for(let n=0;n<o.length;n++){let r=o[n],s=l[n-1],d,f,p;{let n=s?.search??e.search,i=s?._strictSearch??void 0;try{let e=Jt(r.options.validateSearch,{...n})??void 0;d={...n,...e},f={...i,...e},p=void 0}catch(e){let r=e;if(e instanceof Gt||(r=new Gt(e.message,{cause:e})),t?.throwOnError)throw r;d=n,f={},p=r}}let m=r.options.loaderDeps?.({search:d})??``,h=m?JSON.stringify(m):``,{interpolatedPath:g,usedParams:_}=Be({path:r.fullPath,params:i,decoder:this.pathParamsDecoder,server:this.isServer}),y=r.id+g+h,b=this.getMatch(y),x=u.get(r.id),S=b?._strictParams??_,C;if(!b)try{$t(r,_,a,S)}catch(e){if(C=q(e)||J(e)?e:new Kt(e.message,{cause:e}),t?.throwOnError)throw C}Object.assign(i,S);let w=x?`stay`:`enter`,T;if(b)T={...b,cause:w,params:x?.params??i,_strictParams:S,search:P(x?x.search:b.search,d),_strictSearch:f};else{let e=r.options.loader||r.options.beforeLoad||r.lazyFn||Nt(r)?`pending`:`success`;T={id:y,ssr:r.options.ssr,index:n,routeId:r.id,params:x?.params??i,_strictParams:S,pathname:g,updatedAt:Date.now(),search:x?P(x.search,d):d,_strictSearch:f,searchError:void 0,status:e,isFetching:!1,error:void 0,paramsError:C,__routeContext:void 0,_nonReactive:{loadPromise:v()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:w,loaderDeps:x?j(x.loaderDeps,m):m,invalid:!1,preload:!1,links:void 0,scripts:void 0,headScripts:void 0,meta:void 0,staticData:r.options.staticData||{},fullPath:r.fullPath}}t?.preload||(T.globalNotFound=c===r.id),T.searchError=p;let E=this.getParentContext(s);T.context={...E,...T.__routeContext,...T.__beforeLoadContext},l[n]=T}for(let t=0;t<l.length;t++){let n=l[t],r=this.looseRoutesById[n.routeId],a=this.getMatch(n.id),o=u.get(n.routeId);if(n.params=o?P(o.params,i):i,!a){let i=l[t-1],a=this.getParentContext(i);if(r.options.context){let t={deps:n.loaderDeps,params:n.params,context:a??{},location:e,navigate:t=>this.navigate({...t,_fromLocation:e}),buildLocation:this.buildLocation,cause:n.cause,abortController:n.abortController,preload:!!n.preload,matches:l,routeId:r.id};n.__routeContext=r.options.context(t)??void 0}n.context={...a,...n.__routeContext,...n.__beforeLoadContext}}}return l}matchRoutesLightweight(e){let{matchedRoutes:t,routeParams:n,parsedParams:r}=this.getMatchedRoutes(e.pathname),i=M(t),a={...e.search};for(let e of t)try{Object.assign(a,Jt(e.options.validateSearch,a))}catch{}let o=M(this.stores.matchesId.state),s=o&&this.stores.activeMatchStoresById.get(o)?.state,c=s&&s.routeId===i.id&&s.pathname===e.pathname,l;if(c)l=s.params;else{let e=Object.assign(Object.create(null),n);for(let i of t)try{$t(i,n,r??{},e)}catch{}l=e}return{matchedRoutes:t,fullPath:i.fullPath,search:a,params:l}}},Gt=class extends Error{},Kt=class extends Error{};function qt(e){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:`idle`,resolvedLocation:void 0,location:e,matches:[],statusCode:200}}function Jt(e,t){if(e==null)return{};if(`~standard`in e){let n=e[`~standard`].validate(t);if(n instanceof Promise)throw new Gt(`Async validation not supported`);if(n.issues)throw new Gt(JSON.stringify(n.issues,void 0,2),{cause:n});return n.value}return`parse`in e?e.parse(t):typeof e==`function`?e(t):{}}function Yt({pathname:e,routesById:t,processedTree:n}){let r=Object.create(null),i=K(e),a,o,s=xe(i,n,!0);return s&&(a=s.route,Object.assign(r,s.rawParams),o=Object.assign(Object.create(null),s.parsedParams)),{matchedRoutes:s?.branch||[t.__root__],routeParams:r,foundRoute:a,parsedParams:o}}function Xt({search:e,dest:t,destRoutes:n,_includeValidateSearch:r}){return Zt(n)(e,t,r??!1)}function Zt(e){let t={dest:null,_includeValidateSearch:!1,middlewares:[]};for(let n of e)`search`in n.options?n.options.search?.middlewares&&t.middlewares.push(...n.options.search.middlewares):(n.options.preSearchFilters||n.options.postSearchFilters)&&t.middlewares.push(({search:e,next:t})=>{let r=e;`preSearchFilters`in n.options&&n.options.preSearchFilters&&(r=n.options.preSearchFilters.reduce((e,t)=>t(e),e));let i=t(r);return`postSearchFilters`in n.options&&n.options.postSearchFilters?n.options.postSearchFilters.reduce((e,t)=>t(e),i):i}),n.options.validateSearch&&t.middlewares.push(({search:e,next:r})=>{let i=r(e);if(!t._includeValidateSearch)return i;try{return{...i,...Jt(n.options.validateSearch,i)??void 0}}catch{return i}});t.middlewares.push(({search:e})=>{let n=t.dest;return n.search?n.search===!0?e:x(n.search,e):{}});let n=(e,t,r)=>{if(e>=r.length)return t;let i=r[e];return i({search:t,next:t=>n(e+1,t,r)})};return function(e,r,i){return t.dest=r,t._includeValidateSearch=i,n(0,e,t.middlewares)}}function Qt(e,t){if(e!==`root`)for(let e=t.length-1;e>=0;e--){let n=t[e];if(n.children)return n.id}return at}function $t(e,t,n,r){let i=e.options.params?.parse??e.options.parseParams;if(i)if(e.options.skipRouteOnParseError)for(let e in t)e in n&&(r[e]=n[e]);else{let e=i(r);Object.assign(r,e)}}var en=`Error preloading route! ☝️`,tn=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(e){if(this.init=e=>{this.originalIndex=e.originalIndex;let t=this.options,n=!t?.path&&!t?.id;this.parentRoute=this.options.getParentRoute?.(),n?this._path=at:this.parentRoute||g();let r=n?at:t?.path;r&&r!==`/`&&(r=Ne(r));let i=t?.id||r,a=n?at:je([this.parentRoute.id===`__root__`?``:this.parentRoute.id,i]);r===`__root__`&&(r=`/`),a!==`__root__`&&(a=je([`/`,a]));let o=a===`__root__`?`/`:je([this.parentRoute.fullPath,r]);this._path=r,this._id=a,this._fullPath=o,this._to=K(o)},this.addChildren=e=>this._addFileChildren(e),this._addFileChildren=e=>(Array.isArray(e)&&(this.children=e),typeof e==`object`&&e&&(this.children=Object.values(e)),this),this._addFileTypes=()=>this,this.updateLoader=e=>(Object.assign(this.options,e),this),this.update=e=>(Object.assign(this.options,e),this),this.lazy=e=>(this.lazyFn=e,this),this.redirect=e=>ot({from:this.fullPath,...e}),this.options=e||{},this.isRoot=!e?.getParentRoute,e?.id&&e?.path)throw Error(`Route cannot have both an 'id' and a 'path' option.`)}},nn=class extends tn{constructor(e){super(e)}};function rn(e){if(typeof document<`u`&&document.querySelector){let t=e.stores.location.state,n=t.state.__hashScrollIntoViewOptions??!0;if(n&&t.hash!==``){let e=document.getElementById(t.hash);e&&e.scrollIntoView(n)}}}var Z=n();function an(e){let t=e.errorComponent??sn;return(0,Z.jsx)(on,{getResetKey:e.getResetKey,onCatch:e.onCatch,children:({error:n,reset:r})=>n?z.createElement(t,{error:n,reset:r}):e.children})}var on=class extends z.Component{constructor(...e){super(...e),this.state={error:null}}static getDerivedStateFromProps(e){return{resetKey:e.getResetKey()}}static getDerivedStateFromError(e){return{error:e}}reset(){this.setState({error:null})}componentDidUpdate(e,t){t.error&&t.resetKey!==this.state.resetKey&&this.reset()}componentDidCatch(e,t){this.props.onCatch&&this.props.onCatch(e,t)}render(){return this.props.children({error:this.state.resetKey===this.props.getResetKey()?this.state.error:null,reset:()=>{this.reset()}})}};function sn({error:e}){let[t,n]=z.useState(!1);return(0,Z.jsxs)(`div`,{style:{padding:`.5rem`,maxWidth:`100%`},children:[(0,Z.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:`.5rem`},children:[(0,Z.jsx)(`strong`,{style:{fontSize:`1rem`},children:`Something went wrong!`}),(0,Z.jsx)(`button`,{style:{appearance:`none`,fontSize:`.6em`,border:`1px solid currentColor`,padding:`.1rem .2rem`,fontWeight:`bold`,borderRadius:`.25rem`},onClick:()=>n(e=>!e),children:t?`Hide Error`:`Show Error`})]}),(0,Z.jsx)(`div`,{style:{height:`.25rem`}}),t?(0,Z.jsx)(`div`,{children:(0,Z.jsx)(`pre`,{style:{fontSize:`.7em`,border:`1px solid red`,borderRadius:`.25rem`,padding:`.3rem`,color:`red`,overflow:`auto`},children:e.message?(0,Z.jsx)(`code`,{children:e.message}):null})}):null]})}function cn({children:e,fallback:t=null}){return ln()?(0,Z.jsx)(z.Fragment,{children:e}):(0,Z.jsx)(z.Fragment,{children:t})}function ln(){return z.useSyncExternalStore(un,()=>!0,()=>!1)}function un(){return()=>{}}var Q=(e=>(e[e.None=0]=`None`,e[e.Mutable=1]=`Mutable`,e[e.Watching=2]=`Watching`,e[e.RecursedCheck=4]=`RecursedCheck`,e[e.Recursed=8]=`Recursed`,e[e.Dirty=16]=`Dirty`,e[e.Pending=32]=`Pending`,e))(Q||{});function dn({update:e,notify:t,unwatched:n}){return{link:r,unlink:i,propagate:a,checkDirty:o,shallowPropagate:s};function r(e,t,n){let r=t.depsTail;if(r!==void 0&&r.dep===e)return;let i=r===void 0?t.deps:r.nextDep;if(i!==void 0&&i.dep===e){i.version=n,t.depsTail=i;return}let a=e.subsTail;if(a!==void 0&&a.version===n&&a.sub===t)return;let o=t.depsTail=e.subsTail={version:n,dep:e,sub:t,prevDep:r,nextDep:i,prevSub:a,nextSub:void 0};i!==void 0&&(i.prevDep=o),r===void 0?t.deps=o:r.nextDep=o,a===void 0?e.subs=o:a.nextSub=o}function i(e,t=e.sub){let r=e.dep,i=e.prevDep,a=e.nextDep,o=e.nextSub,s=e.prevSub;return a===void 0?t.depsTail=i:a.prevDep=i,i===void 0?t.deps=a:i.nextDep=a,o===void 0?r.subsTail=s:o.prevSub=s,s===void 0?(r.subs=o)===void 0&&n(r):s.nextSub=o,a}function a(e){let n=e.nextSub,r;top:do{let i=e.sub,a=i.flags;if(a&60?a&12?a&4?!(a&48)&&c(e,i)?(i.flags=a|40,a&=1):a=0:i.flags=a&-9|32:a=0:i.flags=a|32,a&2&&t(i),a&1){let t=i.subs;if(t!==void 0){let i=(e=t).nextSub;i!==void 0&&(r={value:n,prev:r},n=i);continue}}if((e=n)!==void 0){n=e.nextSub;continue}for(;r!==void 0;)if(e=r.value,r=r.prev,e!==void 0){n=e.nextSub;continue top}break}while(!0)}function o(t,n){let r,i=0,a=!1;top:do{let o=t.dep,c=o.flags;if(n.flags&16)a=!0;else if((c&17)==17){if(e(o)){let e=o.subs;e.nextSub!==void 0&&s(e),a=!0}}else if((c&33)==33){(t.nextSub!==void 0||t.prevSub!==void 0)&&(r={value:t,prev:r}),t=o.deps,n=o,++i;continue}if(!a){let e=t.nextDep;if(e!==void 0){t=e;continue}}for(;i--;){let i=n.subs,o=i.nextSub!==void 0;if(o?(t=r.value,r=r.prev):t=i,a){if(e(n)){o&&s(i),n=t.sub;continue}a=!1}else n.flags&=-33;n=t.sub;let c=t.nextDep;if(c!==void 0){t=c;continue top}}return a}while(!0)}function s(e){do{let n=e.sub,r=n.flags;(r&48)==32&&(n.flags=r|16,(r&6)==2&&t(n))}while((e=e.nextSub)!==void 0)}function c(e,t){let n=t.depsTail;for(;n!==void 0;){if(n===e)return!0;n=n.prevDep}return!1}}function fn(e,t,n){let r=typeof e==`object`,i=r?e:void 0;return{next:(r?e.next:e)?.bind(i),error:(r?e.error:t)?.bind(i),complete:(r?e.complete:n)?.bind(i)}}var pn=[],mn=0,{link:hn,unlink:gn,propagate:_n,checkDirty:vn,shallowPropagate:yn}=dn({update(e){return e._update()},notify(e){pn[xn++]=e,e.flags&=~Q.Watching},unwatched(e){e.depsTail!==void 0&&(e.depsTail=void 0,e.flags=Q.Mutable|Q.Dirty,wn(e))}}),bn=0,xn=0,$,Sn=0;function Cn(e){try{++Sn,e()}finally{--Sn||Tn()}}function wn(e){let t=e.depsTail,n=t===void 0?e.deps:t.nextDep;for(;n!==void 0;)n=gn(n,e)}function Tn(){if(!(Sn>0)){for(;bn<xn;){let e=pn[bn];pn[bn++]=void 0,e.notify()}bn=0,xn=0}}function En(e,t){let n=typeof e==`function`,r=e,i={_snapshot:n?void 0:e,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:n?Q.None:Q.Mutable,get(){return $!==void 0&&hn(i,$,mn),i._snapshot},subscribe(e){let t=fn(e),n={current:!1},r=Dn(()=>{i.get(),n.current?t.next?.(i._snapshot):n.current=!0});return{unsubscribe:()=>{r.stop()}}},_update(e){let a=$,o=t?.compare??Object.is;if(n)$=i,++mn,i.depsTail=void 0;else if(e===void 0)return!1;n&&(i.flags=Q.Mutable|Q.RecursedCheck);try{let t=i._snapshot,a=typeof e==`function`?e(t):e===void 0&&n?r(t):e;return t===void 0||!o(t,a)?(i._snapshot=a,!0):!1}finally{$=a,n&&(i.flags&=~Q.RecursedCheck),wn(i)}}};return n?(i.flags=Q.Mutable|Q.Dirty,i.get=function(){let e=i.flags;if(e&Q.Dirty||e&Q.Pending&&vn(i.deps,i)){if(i._update()){let e=i.subs;e!==void 0&&yn(e)}}else e&Q.Pending&&(i.flags=e&~Q.Pending);return $!==void 0&&hn(i,$,mn),i._snapshot}):i.set=function(e){if(i._update(e)){let e=i.subs;e!==void 0&&(_n(e),yn(e),Tn())}},i}function Dn(e){let t=()=>{let t=$;$=n,++mn,n.depsTail=void 0,n.flags=Q.Watching|Q.RecursedCheck;try{return e()}finally{$=t,n.flags&=~Q.RecursedCheck,wn(n)}},n={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:Q.Watching|Q.RecursedCheck,notify(){let e=this.flags;e&Q.Dirty||e&Q.Pending&&vn(this.deps,this)?t():this.flags=Q.Watching},stop(){this.flags=Q.None,this.depsTail=void 0,wn(this)}};return t(),n}var On=class{constructor(e){this.atom=En(e)}setState(e){this.atom.set(e)}get state(){return this.atom.get()}get(){return this.state}subscribe(e){return this.atom.subscribe(fn(e))}},kn=class{constructor(e){this.atom=En(e)}get state(){return this.atom.get()}get(){return this.state}subscribe(e){return this.atom.subscribe(fn(e))}};function An(e){return typeof e==`function`?new kn(e):new On(e)}function jn(e){return p({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.loaderData):t.loaderData})}function Mn(e){let{select:t,...n}=e;return p({...n,select:e=>t?t(e.loaderDeps):e.loaderDeps})}function Nn(e){return p({from:e.from,strict:e.strict,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.search):t.search})}function Pn(e){let t=C();return z.useCallback(n=>t.navigate({...n,from:n.from??e?.from}),[e?.from,t])}function Fn(e){return p({...e,select:t=>e.select?e.select(t.context):t.context})}var In=l();function Ln(e,t){let n=C(),r=fe(t),{activeProps:i,inactiveProps:a,activeOptions:o,to:s,preload:c,preloadDelay:l,hashScrollIntoView:u,replace:f,startTransition:p,resetScroll:m,viewTransition:h,children:g,target:_,disabled:v,style:y,className:b,onClick:S,onBlur:T,onFocus:D,onMouseEnter:O,onMouseLeave:k,onTouchStart:A,ignoreBlocker:j,params:ee,search:te,hash:M,state:ne,mask:N,reloadDocument:re,unsafeRelative:P,from:ie,_fromLocation:F,...I}=e,ae=ln(),oe=z.useMemo(()=>e,[n,e.from,e._fromLocation,e.hash,e.to,e.search,e.params,e.state,e.mask,e.unsafeRelative]),L=w(n.stores.location,e=>e,(e,t)=>e.href===t.href),R=z.useMemo(()=>{let e={_fromLocation:L,...oe};return n.buildLocation(e)},[n,L,oe]),se=R.maskedLocation?R.maskedLocation.publicHref:R.publicHref,ce=R.maskedLocation?R.maskedLocation.external:R.external,le=z.useMemo(()=>Kn(se,ce,n.history,v),[v,ce,se,n.history]),B=z.useMemo(()=>{if(le?.external)return d(le.href,n.protocolAllowlist)?void 0:le.href;if(!qn(s)&&!(typeof s!=`string`||s.indexOf(`:`)===-1))try{return new URL(s),d(s,n.protocolAllowlist)?void 0:s}catch{}},[s,le,n.protocolAllowlist]),ue=z.useMemo(()=>{if(B)return!1;if(o?.exact){if(!Ie(L.pathname,R.pathname,n.basepath))return!1}else{let e=Fe(L.pathname,n.basepath),t=Fe(R.pathname,n.basepath);if(!(e.startsWith(t)&&(e.length===t.length||e[t.length]===`/`)))return!1}return(o?.includeSearch??!0)&&!E(L.search,R.search,{partial:!o?.exact,ignoreUndefined:!o?.explicitUndefined})?!1:o?.includeHash?ae&&L.hash===R.hash:!0},[o?.exact,o?.explicitUndefined,o?.includeHash,o?.includeSearch,L,B,ae,R.hash,R.pathname,R.search,n.basepath]),V=ue?x(i,{})??zn:Rn,H=ue?Rn:x(a,{})??Rn,pe=[b,V.className,H.className].filter(Boolean).join(` `),me=(y||V.style||H.style)&&{...y,...V.style,...H.style},[he,ge]=z.useState(!1),_e=z.useRef(!1),U=e.reloadDocument||B?!1:c??n.options.defaultPreload,W=l??n.options.defaultPreloadDelay??0,G=z.useCallback(()=>{n.preloadRoute({...oe,_builtLocation:R}).catch(e=>{console.warn(e),console.warn(en)})},[n,oe,R]);de(r,z.useCallback(e=>{e?.isIntersecting&&G()},[G]),Wn,{disabled:!!v||U!==`viewport`}),z.useEffect(()=>{_e.current||!v&&U===`render`&&(G(),_e.current=!0)},[v,G,U]);let ve=e=>{let t=e.currentTarget.getAttribute(`target`),r=_===void 0?t:_;if(!v&&!Yn(e)&&!e.defaultPrevented&&(!r||r===`_self`)&&e.button===0){e.preventDefault(),(0,In.flushSync)(()=>{ge(!0)});let t=n.subscribe(`onResolved`,()=>{t(),ge(!1)});n.navigate({...oe,replace:f,resetScroll:m,hashScrollIntoView:u,startTransition:p,viewTransition:h,ignoreBlocker:j})}};if(B)return{...I,ref:r,href:B,...g&&{children:g},..._&&{target:_},...v&&{disabled:v},...y&&{style:y},...b&&{className:b},...S&&{onClick:S},...T&&{onBlur:T},...D&&{onFocus:D},...O&&{onMouseEnter:O},...k&&{onMouseLeave:k},...A&&{onTouchStart:A}};let ye=e=>{if(v||U!==`intent`)return;if(!W){G();return}let t=e.currentTarget;if(Un.has(t))return;let n=setTimeout(()=>{Un.delete(t),G()},W);Un.set(t,n)},be=e=>{v||U!==`intent`||G()},xe=e=>{if(v||!U||!W)return;let t=e.currentTarget,n=Un.get(t);n&&(clearTimeout(n),Un.delete(t))};return{...I,...V,...H,href:le?.href,ref:r,onClick:Gn([S,ve]),onBlur:Gn([T,xe]),onFocus:Gn([D,ye]),onMouseEnter:Gn([O,ye]),onMouseLeave:Gn([k,xe]),onTouchStart:Gn([A,be]),disabled:!!v,target:_,...me&&{style:me},...pe&&{className:pe},...v&&Bn,...ue&&Vn,...ae&&he&&Hn}}var Rn={},zn={className:`active`},Bn={role:`link`,"aria-disabled":!0},Vn={"data-status":`active`,"aria-current":`page`},Hn={"data-transitioning":`transitioning`},Un=new WeakMap,Wn={rootMargin:`100px`},Gn=e=>t=>{for(let n of e)if(n){if(t.defaultPrevented)return;n(t)}};function Kn(e,t,n,r){if(!r)return t?{href:e,external:!0}:{href:n.createHref(e)||`/`,external:!1}}function qn(e){if(typeof e!=`string`)return!1;let t=e.charCodeAt(0);return t===47?e.charCodeAt(1)!==47:t===46}var Jn=z.forwardRef((e,t)=>{let{_asChild:n,...r}=e,{type:i,...a}=Ln(r,t),o=typeof r.children==`function`?r.children({isActive:a[`data-status`]===`active`}):r.children;if(!n){let{disabled:e,...t}=a;return z.createElement(`a`,t,o)}return z.createElement(n,a,o)});function Yn(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}var Xn=class extends tn{constructor(e){super(e),this.useMatch=e=>p({select:e?.select,from:this.id,structuralSharing:e?.structuralSharing}),this.useRouteContext=e=>Fn({...e,from:this.id}),this.useSearch=e=>Nn({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useParams=e=>I({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useLoaderDeps=e=>Mn({...e,from:this.id}),this.useLoaderData=e=>jn({...e,from:this.id}),this.useNavigate=()=>Pn({from:this.fullPath}),this.Link=z.forwardRef((e,t)=>(0,Z.jsx)(Jn,{ref:t,from:this.fullPath,...e}))}};function Zn(e){return new Xn(e)}var Qn=class extends nn{constructor(e){super(e),this.useMatch=e=>p({select:e?.select,from:this.id,structuralSharing:e?.structuralSharing}),this.useRouteContext=e=>Fn({...e,from:this.id}),this.useSearch=e=>Nn({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useParams=e=>I({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useLoaderDeps=e=>Mn({...e,from:this.id}),this.useLoaderData=e=>jn({...e,from:this.id}),this.useNavigate=()=>Pn({from:this.fullPath}),this.Link=z.forwardRef((e,t)=>(0,Z.jsx)(Jn,{ref:t,from:this.fullPath,...e}))}};function $n(e){return new Qn(e)}function er(e){let t=C(),n=`not-found-${w(t.stores.location,e=>e.pathname)}-${w(t.stores.status,e=>e)}`;return(0,Z.jsx)(an,{getResetKey:()=>n,onCatch:(t,n)=>{if(q(t))e.onCatch?.(t,n);else throw t},errorComponent:({error:t})=>{if(q(t))return e.fallback?.(t);throw t},children:e.children})}function tr(){return(0,Z.jsx)(`p`,{children:`Not Found`})}function nr(e){return(0,Z.jsx)(Z.Fragment,{children:e.children})}function rr(e,t,n){return t.options.notFoundComponent?(0,Z.jsx)(t.options.notFoundComponent,{...n}):e.options.defaultNotFoundComponent?(0,Z.jsx)(e.options.defaultNotFoundComponent,{...n}):(0,Z.jsx)(tr,{})}var ir=z.memo(function({matchId:e}){let t=C(),n=t.stores.activeMatchStoresById.get(e);n||g();let r=w(t.stores.loadedAt,e=>e),i=w(n,e=>e);return(0,Z.jsx)(ar,{router:t,matchId:e,resetKey:r,matchState:z.useMemo(()=>{let e=i.routeId,n=t.routesById[e].parentRoute?.id;return{routeId:e,ssr:i.ssr,_displayPending:i._displayPending,parentRouteId:n}},[i._displayPending,i.routeId,i.ssr,t.routesById])})});function ar({router:e,matchId:t,resetKey:n,matchState:r}){let i=e.routesById[r.routeId],a=i.options.pendingComponent??e.options.defaultPendingComponent,o=a?(0,Z.jsx)(a,{}):null,s=i.options.errorComponent??e.options.defaultErrorComponent,c=i.options.onCatch??e.options.defaultOnCatch,l=i.isRoot?i.options.notFoundComponent??e.options.notFoundRoute?.options.component:i.options.notFoundComponent,u=r.ssr===!1||r.ssr===`data-only`,d=(!i.isRoot||i.options.wrapInSuspense||u)&&(i.options.wrapInSuspense??a??(i.options.errorComponent?.preload||u))?z.Suspense:nr,f=s?an:nr,p=l?er:nr;return(0,Z.jsxs)(i.isRoot?i.options.shellComponent??nr:nr,{children:[(0,Z.jsx)(_.Provider,{value:t,children:(0,Z.jsx)(d,{fallback:o,children:(0,Z.jsx)(f,{getResetKey:()=>n,errorComponent:s||sn,onCatch:(e,t)=>{if(q(e))throw e.routeId??=r.routeId,e;c?.(e,t)},children:(0,Z.jsx)(p,{fallback:e=>{if(e.routeId??=r.routeId,!l||e.routeId&&e.routeId!==r.routeId||!e.routeId&&!i.isRoot)throw e;return z.createElement(l,e)},children:u||r._displayPending?(0,Z.jsx)(cn,{fallback:o,children:(0,Z.jsx)(sr,{matchId:t})}):(0,Z.jsx)(sr,{matchId:t})})})})}),r.parentRouteId===`__root__`?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(or,{resetKey:n}),(e.options.scrollRestoration,null)]}):null]})}function or({resetKey:e}){let t=C(),n=z.useRef(void 0);return B(()=>{let e=t.latestLocation.href;(n.current===void 0||n.current!==e)&&(t.emit({type:`onRendered`,...Ut(t.stores.location.state,t.stores.resolvedLocation.state)}),n.current=e)},[t.latestLocation.state.__TSR_key,e,t]),null}var sr=z.memo(function({matchId:e}){let t=C(),n=t.stores.activeMatchStoresById.get(e);n||g();let r=w(n,e=>e),i=r.routeId,a=t.routesById[i],o=z.useMemo(()=>{let e=(t.routesById[i].options.remountDeps??t.options.defaultRemountDeps)?.({routeId:i,loaderDeps:r.loaderDeps,params:r._strictParams,search:r._strictSearch});return e?JSON.stringify(e):void 0},[i,r.loaderDeps,r._strictParams,r._strictSearch,t.options.defaultRemountDeps,t.routesById]),s=z.useMemo(()=>{let e=a.options.component??t.options.defaultComponent;return e?(0,Z.jsx)(e,{},o):(0,Z.jsx)(cr,{})},[o,a.options.component,t.options.defaultComponent]);if(r._displayPending)throw t.getMatch(r.id)?._nonReactive.displayPendingPromise;if(r._forcePending)throw t.getMatch(r.id)?._nonReactive.minPendingPromise;if(r.status===`pending`){let e=a.options.pendingMinMs??t.options.defaultPendingMinMs;if(e){let n=t.getMatch(r.id);if(n&&!n._nonReactive.minPendingPromise){let t=v();n._nonReactive.minPendingPromise=t,setTimeout(()=>{t.resolve(),n._nonReactive.minPendingPromise=void 0},e)}}throw t.getMatch(r.id)?._nonReactive.loadPromise}if(r.status===`notFound`)return q(r.error)||g(),rr(t,a,r.error);if(r.status===`redirected`)throw J(r.error)||g(),t.getMatch(r.id)?._nonReactive.loadPromise;if(r.status===`error`)throw r.error;return s}),cr=z.memo(function(){let e=C(),t=z.useContext(_),n,r=!1,i;{let a=t?e.stores.activeMatchStoresById.get(t):void 0;[n,r]=w(a,e=>[e?.routeId,e?.globalNotFound??!1]),i=w(e.stores.matchesId,e=>e[e.findIndex(e=>e===t)+1])}let a=n?e.routesById[n]:void 0,o=e.options.defaultPendingComponent?(0,Z.jsx)(e.options.defaultPendingComponent,{}):null;if(r)return a||g(),rr(e,a,void 0);if(!i)return null;let s=(0,Z.jsx)(ir,{matchId:i});return n===`__root__`?(0,Z.jsx)(z.Suspense,{fallback:o,children:s}):s});function lr(){let e=C(),t=z.useRef({router:e,mounted:!1}),[n,r]=z.useState(!1),i=w(e.stores.isLoading,e=>e),a=w(e.stores.hasPendingMatches,e=>e),o=ue(i),s=i||n||a,c=ue(s),l=i||a,u=ue(l);return e.startTransition=e=>{r(!0),z.startTransition(()=>{e(),r(!1)})},z.useEffect(()=>{let t=e.history.subscribe(e.load),n=e.buildLocation({to:e.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});return K(e.latestLocation.publicHref)!==K(n.publicHref)&&e.commitLocation({...n,replace:!0}),()=>{t()}},[e,e.history]),B(()=>{typeof window<`u`&&e.ssr||t.current.router===e&&t.current.mounted||(t.current={router:e,mounted:!0},(async()=>{try{await e.load()}catch(e){console.error(e)}})())},[e]),B(()=>{o&&!i&&e.emit({type:`onLoad`,...Ut(e.stores.location.state,e.stores.resolvedLocation.state)})},[o,e,i]),B(()=>{u&&!l&&e.emit({type:`onBeforeRouteMount`,...Ut(e.stores.location.state,e.stores.resolvedLocation.state)})},[l,u,e]),B(()=>{if(c&&!s){let t=Ut(e.stores.location.state,e.stores.resolvedLocation.state);e.emit({type:`onResolved`,...t}),Cn(()=>{e.stores.status.setState(()=>`idle`),e.stores.resolvedLocation.setState(()=>e.stores.location.state)}),t.hrefChanged&&rn(e)}},[s,c,e]),null}function ur(){let e=C(),t=e.routesById.__root__.options.pendingComponent??e.options.defaultPendingComponent,n=t?(0,Z.jsx)(t,{}):null,r=(0,Z.jsxs)(typeof document<`u`&&e.ssr?nr:z.Suspense,{fallback:n,children:[(0,Z.jsx)(lr,{}),(0,Z.jsx)(dr,{})]});return e.options.InnerWrap?(0,Z.jsx)(e.options.InnerWrap,{children:r}):r}function dr(){let e=C(),t=w(e.stores.firstMatchId,e=>e),n=w(e.stores.loadedAt,e=>e),r=t?(0,Z.jsx)(ir,{matchId:t}):null;return(0,Z.jsx)(_.Provider,{value:t,children:e.options.disableGlobalCatchBoundary?r:(0,Z.jsx)(an,{getResetKey:()=>n,errorComponent:sn,onCatch:void 0,children:r})})}var fr=e=>({createMutableStore:An,createReadonlyStore:An,batch:Cn}),pr=e=>new mr(e),mr=class extends Wt{constructor(e){super(e,fr)}};function hr({router:e,children:t,...n}){Object.keys(n).length>0&&e.update({...e.options,...n,context:{...e.options.context,...n.context}});let r=(0,Z.jsx)(T.Provider,{value:e,children:t});return e.options.Wrap?(0,Z.jsx)(e.options.Wrap,{children:r}):r}function gr({router:e,...t}){return(0,Z.jsx)(hr,{router:e,...t,children:(0,Z.jsx)(ur,{})})}function _r(e){let t=C({warn:e?.router===void 0}),n=e?.router||t,r=(0,z.useRef)(void 0);return w(n.stores.__store,t=>{if(e?.select){if(e.structuralSharing??n.options.defaultStructuralSharing){let n=j(r.current,e.select(t));return r.current=n,n}return e.select(t)}return t})}var vr=class extends S{#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),b(this.options,t)||this.#e.getMutationCache().notify({type:`observerOptionsUpdated`,mutation:this.#n,observer:this}),t?.mutationKey&&this.options.mutationKey&&m(t.mutationKey)!==m(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??R();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){k.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)})})}};function yr(e,t){let n=ee(t),[r]=z.useState(()=>new vr(n,e));z.useEffect(()=>{r.setOptions(e)},[r,e]);let i=z.useSyncExternalStore(z.useCallback(e=>r.subscribe(k.batchCalls(e)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),a=z.useCallback((e,t)=>{r.mutate(e,t).catch(f)},[r]);if(i.error&&h(r.options.throwOnError,[i.error]))throw i.error;return{...i,mutate:a,mutateAsync:i.mutate}}var br=u();function xr(e){let{apiKey:t,userId:n,businessId:r,environment:i}=e;return{queryKey:[`bootstrap`,i,t,n,r],enabled:!!(t&&n&&r),queryFn:async()=>{let e=await fetch(`/api/proxy/auth/bootstrap`,{headers:{"x-proxy-target":ae[i],"X-API-KEY":t,"X-USER-ID":n,"X-BUSINESS-ID":r}});if(!e.ok)throw Error(`Bootstrap failed: ${String(e.status)} ${e.statusText}`);return e.json()},retry:!1}}function Sr(e){let{apiKey:t,userId:n,businessId:r,environment:i}=e;return{queryKey:[`businessPluginApps`,i,t,n,r],enabled:!!(t&&n&&r),queryFn:async()=>{let e=await fetch(`/api/proxy/external-integrations/business-plugin-apps`,{headers:{"x-proxy-target":ae[i],"X-API-KEY":t,"X-USER-ID":n,"X-BUSINESS-ID":r}});if(!e.ok)throw Error(`businessPluginApps failed: ${String(e.status)} ${e.statusText}`);return e.json()},retry:!1}}function Cr(){let e=ee(),[t,n]=(0,z.useState)([]),[r,i]=(0,z.useState)([]),[a,o]=(0,z.useState)([]),[s,c]=(0,z.useState)(null);return(0,z.useEffect)(()=>{let t=window.location.protocol===`https:`?`wss:`:`ws:`,r=new WebSocket(`${t}//${window.location.host}`);return r.addEventListener(`message`,t=>{let r;try{r=JSON.parse(t.data)}catch{return}if(r.type===`rebuild`)e.invalidateQueries({queryKey:[`bundle`]});else if(r.type===`log`)n(e=>[...e,r.message]);else if(r.type===`proxy-log`){let e=r.entry??{kind:`info`,message:r.message??``};i(t=>[...t,e])}else if(r.type===`console-message`){let e=[`log`,`warn`,`error`,`info`].includes(r.level)?r.level:`log`;o(t=>[...t,{level:e,args:r.args}])}else c(r.credentials)}),()=>{r.close()}},[e]),{buildLogs:t,proxyLogs:r,consoleLogs:a,clearConsoleLogs:()=>{o([])},serverCredentials:s}}var wr=`modulepreload`,Tr=function(e){return`/`+e},Er={},Dr=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}r=o(t.map(t=>{if(t=Tr(t,n),t in Er)return;Er[t]=!0;let r=t.endsWith(`.css`),i=r?`[rel="stylesheet"]`:``;if(n)for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}else if(document.querySelector(`link[href="${t}"]${i}`))return;let o=document.createElement(`link`);if(o.rel=r?`stylesheet`:wr,r||(o.as=`script`),o.crossOrigin=``,o.href=t,a&&o.setAttribute(`nonce`,a),document.head.appendChild(o),r)return new Promise((e,n)=>{o.addEventListener(`load`,e),o.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},Or=(0,z.lazy)(()=>Dr(()=>import(`./DevSidebar-BiROAoKF.js`).then(e=>({default:e.DevSidebar})),__vite__mapDeps([0,1,2,3]))),kr=window.open.bind(window),Ar=416,jr=280,Mr=800,Nr={apiKey:``,userId:``,businessId:``,environment:`go`},Pr=()=>{let{buildLogs:e,proxyLogs:n,consoleLogs:a,clearConsoleLogs:l,serverCredentials:u}=Cr(),[d,f]=(0,z.useState)(()=>localStorage.getItem(`devtools-sidebar-open`)===`true`),[p,m]=(0,z.useState)(()=>localStorage.getItem(`kizen-flag-script-runner-logging`)===`true`),[h,g]=(0,z.useState)(()=>{let e=parseInt(localStorage.getItem(`devtools-sidebar-width`)??``,10);return isNaN(e)?Ar:Math.min(Mr,Math.max(jr,e))}),_=()=>{f(e=>{let t=!e;return localStorage.setItem(`devtools-sidebar-open`,String(t)),t})},v=()=>{m(e=>{let t=!e;return localStorage.setItem(`kizen-flag-script-runner-logging`,String(t)),t})},y=(0,z.useCallback)(e=>{g(e),localStorage.setItem(`devtools-sidebar-width`,String(e))},[]),[b,x]=(0,z.useState)(()=>{try{return{...Nr,...JSON.parse(localStorage.getItem(`devtools-credentials`)??`{}`)}}catch{return Nr}});(0,z.useEffect)(()=>{fetch(`/api/credentials`).then(e=>e.json()).then(e=>{if(e.apiKey){let t={...Nr,...e};x(t),localStorage.setItem(`devtools-credentials`,JSON.stringify(t))}}).catch(()=>{})},[]),(0,z.useEffect)(()=>{if(!u)return;let e={...Nr,...u};x(e),localStorage.setItem(`devtools-credentials`,JSON.stringify(e))},[u]);let S=e=>{x(e),localStorage.setItem(`devtools-credentials`,JSON.stringify(e))},{data:C,isLoading:w,isError:T}=re(te),{data:E,isError:D,isLoading:O}=re(xr(b)),{data:k}=re(Sr(b)),A=ee(),j=yr({mutationFn:async({apiName:e,hasExistingEntry:t,nextDisabled:n})=>{let r={"x-proxy-target":ae[b.environment],"X-API-KEY":b.apiKey,"X-USER-ID":b.userId,"X-BUSINESS-ID":b.businessId,"Content-Type":`application/json`},i=t?await fetch(`/api/proxy/external-integrations/business-plugin-apps/${e}`,{method:`PATCH`,headers:r,body:JSON.stringify({disabled:n})}):await fetch(`/api/proxy/external-integrations/business-plugin-apps`,{method:`POST`,headers:r,body:JSON.stringify({plugin_app_api_name:e,disabled:!1,config:{}})});if(!i.ok){let e=await i.text().catch(()=>``);throw Error(`${n?`uninstall`:`install`} failed: ${String(i.status)} ${i.statusText} ${e}`)}},onSuccess:async()=>{await fetch(`/api/proxy-cache/clear`).catch(()=>{}),await Promise.all([A.invalidateQueries({queryKey:[`bootstrap`]}),A.invalidateQueries({queryKey:[`businessPluginApps`]})])}}),M=Pn(),{location:ne}=_r(),N=/^\/([^/]+)\/.+/.exec(ne.pathname)?.[1],P=/^\/[^/]+\/([^/]+)$/.exec(ne.pathname)?.[1],ie=!!N&&!!C?.some(e=>e.api_name===N),F=N?k?.find(e=>e.plugin_app.api_name===N):void 0,I=!!F&&!F.disabled,oe=!!E&&!!k&&ie,R=j.isPending?I?`uninstalling…`:`installing…`:I?`Uninstall Plugin`:`Install Plugin`,B=j.isPending?`cursor-wait opacity-50`:``,ue=w?`loading`:T?`error`:C?`loaded`:`empty`,de=O?`authenticating`:D?`auth error`:E?`authenticated`:`no auth`,fe=w?`bg-neutral-100 text-neutral-400`:T?`bg-red-100 text-red-700`:C?`bg-green-100 text-green-700`:`bg-yellow-100 text-yellow-700`,V=O?`bg-neutral-100 text-neutral-400`:D?`bg-red-100 text-red-700`:E?`bg-green-100 text-green-700`:`bg-yellow-100 text-yellow-700`;return(0,Z.jsx)(ce.Provider,{value:b,children:(0,Z.jsx)(le.Provider,{value:d?h:0,children:(0,Z.jsx)(se.Provider,{value:E,children:(0,Z.jsxs)(`div`,{className:`flex h-screen flex-col overflow-hidden font-mono`,children:[(0,Z.jsxs)(`div`,{className:`sticky top-0 z-10 flex items-center gap-3 border-b border-black/10 bg-white/85 px-5 py-3 backdrop-blur-sm`,children:[(0,Z.jsx)(`span`,{className:`text-[13px] font-bold tracking-tight text-neutral-900`,children:`Kizen App Builder`}),C&&C.length>0&&(0,Z.jsx)(`select`,{value:N??``,onChange:e=>void M({to:`/$apiName/summary`,params:{apiName:e.target.value}}),className:`rounded border border-black/10 bg-transparent px-2 py-0.5 text-[13px] font-mono text-neutral-700 focus:outline-none`,children:C.map(e=>{let t=e.api_name;return(0,Z.jsx)(`option`,{value:t,children:e.name??t},t)})}),P&&N&&(0,Z.jsxs)(`select`,{value:P,onChange:e=>void M({to:`/${N}/${e.target.value}`}),className:`rounded border border-black/10 bg-transparent px-2 py-0.5 text-[13px] font-mono text-neutral-700 focus:outline-none`,children:[(0,Z.jsx)(`option`,{value:`summary`,children:`Summary`}),(0,Z.jsx)(`option`,{value:`sandbox`,children:`Sandbox`}),(0,Z.jsx)(`option`,{value:`configuration`,children:`Configuration`}),(0,Z.jsx)(`option`,{value:`versions`,children:`Versions`})]}),(0,Z.jsx)(`div`,{className:`flex-1`}),(0,Z.jsxs)(`button`,{onClick:()=>{window.location.reload()},className:`flex items-center gap-1.5 rounded-full border border-black/10 bg-white px-3 py-1 text-[11px] font-medium text-neutral-500 hover:border-black/20 hover:text-neutral-800`,"aria-label":`Refresh page`,children:[(0,Z.jsx)(t,{icon:c}),(0,Z.jsx)(`span`,{children:`Refresh`})]}),(0,Z.jsxs)(`button`,{onClick:()=>{kr(L[b.environment],`_blank`,`noopener,height=900`)},className:`flex items-center gap-1.5 rounded-full border border-black/10 bg-white px-3 py-1 text-[11px] font-medium text-neutral-500 hover:border-black/20 hover:text-neutral-800`,"aria-label":`Open Kizen`,children:[(0,Z.jsx)(t,{icon:o}),(0,Z.jsx)(`span`,{children:`Open Kizen`})]}),(0,Z.jsxs)(`button`,{onClick:v,className:`flex items-center gap-1.5 rounded-full border border-black/10 bg-white px-3 py-1 text-[11px] font-medium text-neutral-500 hover:border-black/20 hover:text-neutral-800`,"aria-label":`Toggle script runner debug logging`,children:[(0,Z.jsx)(t,{icon:s}),(0,Z.jsx)(`span`,{children:`Script Runner Logging`}),(0,Z.jsx)(`span`,{className:`h-1.5 w-1.5 rounded-full ${p?`bg-green-500`:`bg-neutral-300`}`})]}),(0,Z.jsxs)(`button`,{onClick:_,className:`flex items-center gap-1.5 rounded-full border border-black/10 bg-white px-3 py-1 text-[11px] font-medium text-neutral-500 hover:border-black/20 hover:text-neutral-800`,"aria-label":`Toggle dev tools`,children:[(0,Z.jsx)(t,{icon:r}),(0,Z.jsx)(`span`,{children:`DevTools`}),(0,Z.jsx)(`span`,{className:`h-1.5 w-1.5 rounded-full ${d?`bg-green-500`:`bg-neutral-300`}`})]}),oe&&N&&(0,Z.jsxs)(`button`,{type:`button`,disabled:j.isPending,onClick:()=>{j.mutate({apiName:N,hasExistingEntry:!!F,nextDisabled:I})},className:`flex items-center gap-1.5 rounded-full border border-black/10 bg-white px-3 py-1 text-[11px] font-medium text-neutral-500 transition-colors hover:border-black/20 hover:text-neutral-800 ${B}`,"aria-label":R,children:[(0,Z.jsx)(t,{icon:i}),(0,Z.jsx)(`span`,{children:R}),(0,Z.jsx)(`span`,{className:`h-1.5 w-1.5 rounded-full ${I?`bg-green-500`:`bg-neutral-300`}`})]}),(0,Z.jsx)(`span`,{className:`rounded px-2 py-0.5 text-[11px] font-semibold tracking-wide ${fe}`,children:ue}),(0,Z.jsx)(`span`,{className:`rounded px-2 py-0.5 text-[11px] font-semibold tracking-wide ${V}`,children:de})]}),(0,Z.jsxs)(`div`,{className:`flex min-h-0 flex-1`,children:[(0,Z.jsx)(`div`,{className:`flex-1 overflow-y-auto p-6`,style:{backgroundImage:`
3
+ linear-gradient(rgba(0,0,0,0.025) 1px, transparent 1px),
4
+ linear-gradient(90deg, rgba(0,0,0,0.025) 1px, transparent 1px)
5
+ `,backgroundSize:`24px 24px`},children:(0,Z.jsx)(z.Suspense,{fallback:null,children:(0,Z.jsx)(cr,{})})}),d&&(0,Z.jsx)(z.Suspense,{fallback:null,children:(0,Z.jsx)(Or,{onClose:_,buildLogs:e,proxyLogs:n,consoleLogs:a,onClearConsole:()=>{l()},credentials:b,onCredentialsChange:S,width:h,onWidthChange:y})})]})]})})})})},Fr=()=>{let{data:e,isLoading:t,isError:n}=re(te),r=Pn();return(0,z.useEffect)(()=>{e&&e.length>0&&r({to:`/$apiName/summary`,params:{apiName:e[0]?.api_name}})},[e,r]),t?(0,Z.jsx)(ie,{children:(0,Z.jsx)(`p`,{className:`m-0 text-[13px] text-neutral-400`,children:`Fetching bundle.json…`})}):n?(0,Z.jsx)(ie,{children:(0,Z.jsx)(`p`,{className:`m-0 text-[13px] text-red-700`,children:`Could not load bundle.json. Make sure the dev server is running from a plugin directory.`})}):!e||e.length===0?(0,Z.jsx)(ie,{children:(0,Z.jsxs)(`p`,{className:`m-0 text-[13px] text-yellow-700`,children:[`bundle.json is empty. Run`,` `,(0,Z.jsx)(`code`,{className:`rounded bg-neutral-100 px-1 py-0.5`,children:`appbuilder build`}),` to generate it.`]})}):null},Ir=(0,z.lazy)(()=>Dr(()=>import(`./AppDetailPage-ObugMPkn.js`).then(e=>({default:e.AppDetailPage})),__vite__mapDeps([4,2,1,5,6,7]))),Lr=(0,z.lazy)(()=>Dr(()=>import(`./SandboxPage-BFVVe-i3.js`).then(e=>({default:e.SandboxPage})),__vite__mapDeps([8,1,2,9,5,10,3,11,12,6,7]))),Rr=(0,z.lazy)(()=>Dr(()=>import(`./ConfigurationPage-SnFNzZgJ.js`).then(e=>({default:e.ConfigurationPage})),__vite__mapDeps([13,1,2,9,5,10,3,11]))),zr=(0,z.lazy)(()=>Dr(()=>import(`./VersionsPage-DOd2Hv8M.js`).then(e=>({default:e.VersionsPage})),__vite__mapDeps([14,1,2,5]))),Br=$n({component:Pr}),Vr=Zn({getParentRoute:()=>Br,path:`/`,component:Fr}),Hr=Zn({getParentRoute:()=>Br,path:`/$apiName/summary`,component:Ir}),Ur=Zn({getParentRoute:()=>Br,path:`/$apiName/sandbox`,component:Lr}),Wr=Zn({getParentRoute:()=>Br,path:`/$apiName/configuration`,component:Rr}),Gr=Zn({getParentRoute:()=>Br,path:`/$apiName/versions`,component:zr}),Kr=pr({routeTree:Br.addChildren([Vr,Hr,Ur,Wr,Gr])}),qr=document.getElementById(`root`),Jr=new oe;if(qr===null)throw Error(`Root element not found`);(0,br.createRoot)(qr).render((0,Z.jsx)(z.StrictMode,{children:(0,Z.jsx)(ne,{client:Jr,children:(0,Z.jsx)(gr,{router:Kr})})}));
@@ -0,0 +1,2 @@
1
+ /*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
2
+ @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-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking: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-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia: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, Menlo, Consolas, "Liberation Mono", monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-100:oklch(93.6% .032 17.717);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-orange-300:oklch(83.7% .128 66.29);--color-orange-900:oklch(40.8% .123 38.172);--color-amber-50:oklch(98.7% .022 95.277);--color-amber-100:oklch(96.2% .059 95.617);--color-amber-200:oklch(92.4% .12 95.746);--color-amber-300:oklch(87.9% .169 91.605);--color-amber-600:oklch(66.6% .179 58.318);--color-amber-700:oklch(55.5% .163 48.998);--color-amber-800:oklch(47.3% .137 46.201);--color-amber-900:oklch(41.4% .112 45.904);--color-yellow-50:oklch(98.7% .026 102.212);--color-yellow-100:oklch(97.3% .071 103.193);--color-yellow-300:oklch(90.5% .182 98.111);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-700:oklch(55.4% .135 66.442);--color-yellow-900:oklch(42.1% .095 57.708);--color-green-50:oklch(98.2% .018 155.826);--color-green-100:oklch(96.2% .044 156.743);--color-green-300:oklch(87.1% .15 154.449);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-600:oklch(62.7% .194 149.214);--color-green-700:oklch(52.7% .154 150.069);--color-green-900:oklch(39.3% .095 152.535);--color-blue-50:oklch(97% .014 254.604);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-violet-50:oklch(96.9% .016 293.756);--color-violet-300:oklch(81.1% .111 293.571);--color-violet-600:oklch(54.1% .281 293.009);--color-violet-900:oklch(38% .189 293.745);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-600:oklch(55.8% .288 302.321);--color-neutral-50:oklch(98.5% 0 0);--color-neutral-100:oklch(97% 0 0);--color-neutral-200:oklch(92.2% 0 0);--color-neutral-300:oklch(87% 0 0);--color-neutral-400:oklch(70.8% 0 0);--color-neutral-500:oklch(55.6% 0 0);--color-neutral-600:oklch(43.9% 0 0);--color-neutral-700:oklch(37.1% 0 0);--color-neutral-800:oklch(26.9% 0 0);--color-neutral-900:oklch(20.5% 0 0);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-xl:36rem;--container-2xl:42rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--tracking-wide:.025em;--tracking-wider:.05em;--tracking-widest:.1em;--leading-tight:1.25;--leading-relaxed:1.625;--radius-sm:.25rem;--radius-lg:.5rem;--radius-xl:.75rem;--animate-spin:spin 1s linear infinite;--blur-sm:8px;--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 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%;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;-webkit-text-decoration:inherit;-webkit-text-decoration: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}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-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 components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing) * 0)}.inset-y-0{inset-block:calc(var(--spacing) * 0)}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.top-0{top:calc(var(--spacing) * 0)}.top-1\/2{top:50%}.top-4{top:calc(var(--spacing) * 4)}.top-full{top:100%}.right-0{right:calc(var(--spacing) * 0)}.right-2{right:calc(var(--spacing) * 2)}.left-0{left:calc(var(--spacing) * 0)}.left-1\/2{left:50%}.left-2\.5{left:calc(var(--spacing) * 2.5)}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-\[99999\]{z-index:99999}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:calc(var(--spacing) * 0)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:calc(var(--spacing) * 1)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mr-1{margin-right:calc(var(--spacing) * 1)}.mb-1{margin-bottom:calc(var(--spacing) * 1)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.ml-0\.5{margin-left:calc(var(--spacing) * .5)}.ml-1{margin-left:calc(var(--spacing) * 1)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-2{margin-left:calc(var(--spacing) * 2)}.ml-auto{margin-left:auto}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.table{display:table}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-6{height:calc(var(--spacing) * 6)}.h-8{height:calc(var(--spacing) * 8)}.h-10{height:calc(var(--spacing) * 10)}.h-full{height:100%}.h-screen{height:100vh}.max-h-40{max-height:calc(var(--spacing) * 40)}.max-h-48{max-height:calc(var(--spacing) * 48)}.max-h-64{max-height:calc(var(--spacing) * 64)}.max-h-72{max-height:calc(var(--spacing) * 72)}.max-h-\[40vh\]{max-height:40vh}.max-h-\[60px\]{max-height:60px}.max-h-\[60vh\]{max-height:60vh}.max-h-\[70vh\]{max-height:70vh}.min-h-0{min-height:calc(var(--spacing) * 0)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-\[300px\]{min-height:300px}.min-h-\[380px\]{min-height:380px}.w-1{width:calc(var(--spacing) * 1)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-3{width:calc(var(--spacing) * 3)}.w-3\.5{width:calc(var(--spacing) * 3.5)}.w-4{width:calc(var(--spacing) * 4)}.w-6{width:calc(var(--spacing) * 6)}.w-8{width:calc(var(--spacing) * 8)}.w-10{width:calc(var(--spacing) * 10)}.w-12{width:calc(var(--spacing) * 12)}.w-14{width:calc(var(--spacing) * 14)}.w-28{width:calc(var(--spacing) * 28)}.w-32{width:calc(var(--spacing) * 32)}.w-64{width:calc(var(--spacing) * 64)}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-md{max-width:var(--container-md)}.max-w-sm{max-width:var(--container-sm)}.max-w-xl{max-width:var(--container-xl)}.max-w-xs{max-width:var(--container-xs)}.min-w-0{min-width:calc(var(--spacing) * 0)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.cursor-col-resize{cursor:col-resize}.cursor-default{cursor:default}.cursor-grab{cursor:grab}.cursor-help{cursor:help}.cursor-pointer{cursor:pointer}.cursor-wait{cursor:wait}.resize-y{resize:vertical}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-\[1fr_1fr_auto\]{grid-template-columns:1fr 1fr auto}.grid-cols-\[100px_1fr\]{grid-template-columns:100px 1fr}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:calc(var(--spacing) * 1)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-6{gap:calc(var(--spacing) * 6)}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)))}.gap-y-1\.5{row-gap:calc(var(--spacing) * 1.5)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-black\/5>:not(:last-child)){border-color:#0000000d}@supports (color:color-mix(in lab, red, red)){:where(.divide-black\/5>:not(:last-child)){border-color:color-mix(in oklab, var(--color-black) 5%, transparent)}}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-amber-200\/60{border-color:#fee68599}@supports (color:color-mix(in lab, red, red)){.border-amber-200\/60{border-color:color-mix(in oklab, var(--color-amber-200) 60%, transparent)}}.border-black\/5{border-color:#0000000d}@supports (color:color-mix(in lab, red, red)){.border-black\/5{border-color:color-mix(in oklab, var(--color-black) 5%, transparent)}}.border-black\/8{border-color:#00000014}@supports (color:color-mix(in lab, red, red)){.border-black\/8{border-color:color-mix(in oklab, var(--color-black) 8%, transparent)}}.border-black\/10{border-color:#0000001a}@supports (color:color-mix(in lab, red, red)){.border-black\/10{border-color:color-mix(in oklab, var(--color-black) 10%, transparent)}}.border-black\/20{border-color:#0003}@supports (color:color-mix(in lab, red, red)){.border-black\/20{border-color:color-mix(in oklab, var(--color-black) 20%, transparent)}}.border-neutral-300{border-color:var(--color-neutral-300)}.border-neutral-700{border-color:var(--color-neutral-700)}.border-neutral-800{border-color:var(--color-neutral-800)}.border-red-300{border-color:var(--color-red-300)}.border-transparent{border-color:#0000}.bg-amber-50{background-color:var(--color-amber-50)}.bg-amber-100{background-color:var(--color-amber-100)}.bg-amber-900\/60{background-color:#7b330699}@supports (color:color-mix(in lab, red, red)){.bg-amber-900\/60{background-color:color-mix(in oklab, var(--color-amber-900) 60%, transparent)}}.bg-black\/30{background-color:#0000004d}@supports (color:color-mix(in lab, red, red)){.bg-black\/30{background-color:color-mix(in oklab, var(--color-black) 30%, transparent)}}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-600{background-color:var(--color-blue-600)}.bg-blue-900\/60{background-color:#1c398e99}@supports (color:color-mix(in lab, red, red)){.bg-blue-900\/60{background-color:color-mix(in oklab, var(--color-blue-900) 60%, transparent)}}.bg-green-50{background-color:var(--color-green-50)}.bg-green-100{background-color:var(--color-green-100)}.bg-green-400\/60{background-color:#05df7299}@supports (color:color-mix(in lab, red, red)){.bg-green-400\/60{background-color:color-mix(in oklab, var(--color-green-400) 60%, transparent)}}.bg-green-500{background-color:var(--color-green-500)}.bg-green-900\/60{background-color:#0d542b99}@supports (color:color-mix(in lab, red, red)){.bg-green-900\/60{background-color:color-mix(in oklab, var(--color-green-900) 60%, transparent)}}.bg-neutral-50{background-color:var(--color-neutral-50)}.bg-neutral-50\/60{background-color:#fafafa99}@supports (color:color-mix(in lab, red, red)){.bg-neutral-50\/60{background-color:color-mix(in oklab, var(--color-neutral-50) 60%, transparent)}}.bg-neutral-100{background-color:var(--color-neutral-100)}.bg-neutral-200{background-color:var(--color-neutral-200)}.bg-neutral-300{background-color:var(--color-neutral-300)}.bg-neutral-700{background-color:var(--color-neutral-700)}.bg-neutral-800{background-color:var(--color-neutral-800)}.bg-neutral-800\/40{background-color:#26262666}@supports (color:color-mix(in lab, red, red)){.bg-neutral-800\/40{background-color:color-mix(in oklab, var(--color-neutral-800) 40%, transparent)}}.bg-neutral-900{background-color:var(--color-neutral-900)}.bg-orange-900\/60{background-color:#7e2a0c99}@supports (color:color-mix(in lab, red, red)){.bg-orange-900\/60{background-color:color-mix(in oklab, var(--color-orange-900) 60%, transparent)}}.bg-purple-100{background-color:var(--color-purple-100)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-100{background-color:var(--color-red-100)}.bg-red-400\/60{background-color:#ff656899}@supports (color:color-mix(in lab, red, red)){.bg-red-400\/60{background-color:color-mix(in oklab, var(--color-red-400) 60%, transparent)}}.bg-red-900\/60{background-color:#82181a99}@supports (color:color-mix(in lab, red, red)){.bg-red-900\/60{background-color:color-mix(in oklab, var(--color-red-900) 60%, transparent)}}.bg-transparent{background-color:#0000}.bg-violet-50{background-color:var(--color-violet-50)}.bg-violet-900\/60{background-color:#4d179a99}@supports (color:color-mix(in lab, red, red)){.bg-violet-900\/60{background-color:color-mix(in oklab, var(--color-violet-900) 60%, transparent)}}.bg-white{background-color:var(--color-white)}.bg-white\/60{background-color:#fff9}@supports (color:color-mix(in lab, red, red)){.bg-white\/60{background-color:color-mix(in oklab, var(--color-white) 60%, transparent)}}.bg-white\/70{background-color:#ffffffb3}@supports (color:color-mix(in lab, red, red)){.bg-white\/70{background-color:color-mix(in oklab, var(--color-white) 70%, transparent)}}.bg-white\/80{background-color:#fffc}@supports (color:color-mix(in lab, red, red)){.bg-white\/80{background-color:color-mix(in oklab, var(--color-white) 80%, transparent)}}.bg-white\/85{background-color:#ffffffd9}@supports (color:color-mix(in lab, red, red)){.bg-white\/85{background-color:color-mix(in oklab, var(--color-white) 85%, transparent)}}.bg-white\/90{background-color:#ffffffe6}@supports (color:color-mix(in lab, red, red)){.bg-white\/90{background-color:color-mix(in oklab, var(--color-white) 90%, transparent)}}.bg-yellow-50{background-color:var(--color-yellow-50)}.bg-yellow-100{background-color:var(--color-yellow-100)}.bg-yellow-400\/60{background-color:#fac80099}@supports (color:color-mix(in lab, red, red)){.bg-yellow-400\/60{background-color:color-mix(in oklab, var(--color-yellow-400) 60%, transparent)}}.bg-yellow-900\/60{background-color:#733e0a99}@supports (color:color-mix(in lab, red, red)){.bg-yellow-900\/60{background-color:color-mix(in oklab, var(--color-yellow-900) 60%, transparent)}}.object-cover{object-fit:cover}.\!p-0{padding:calc(var(--spacing) * 0)!important}.p-0\.5{padding:calc(var(--spacing) * .5)}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:calc(var(--spacing) * 1)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pt-2{padding-top:calc(var(--spacing) * 2)}.pr-1{padding-right:calc(var(--spacing) * 1)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-7{padding-left:calc(var(--spacing) * 7)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-\[8px\]{font-size:8px}.text-\[9px\]{font-size:9px}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-\[12px\]{font-size:12px}.text-\[13px\]{font-size:13px}.text-\[14px\]{font-size:14px}.text-\[15px\]{font-size:15px}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-none{--tw-leading:1;line-height:1}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.break-all{word-break:break-all}.whitespace-pre{white-space:pre}.whitespace-pre-wrap{white-space:pre-wrap}.text-amber-300{color:var(--color-amber-300)}.text-amber-600{color:var(--color-amber-600)}.text-amber-700{color:var(--color-amber-700)}.text-amber-800{color:var(--color-amber-800)}.text-blue-300{color:var(--color-blue-300)}.text-blue-400{color:var(--color-blue-400)}.text-blue-600{color:var(--color-blue-600)}.text-blue-700{color:var(--color-blue-700)}.text-green-300{color:var(--color-green-300)}.text-green-600{color:var(--color-green-600)}.text-green-700{color:var(--color-green-700)}.text-neutral-100{color:var(--color-neutral-100)}.text-neutral-200{color:var(--color-neutral-200)}.text-neutral-300{color:var(--color-neutral-300)}.text-neutral-400{color:var(--color-neutral-400)}.text-neutral-500{color:var(--color-neutral-500)}.text-neutral-600{color:var(--color-neutral-600)}.text-neutral-700{color:var(--color-neutral-700)}.text-neutral-800{color:var(--color-neutral-800)}.text-neutral-900{color:var(--color-neutral-900)}.text-orange-300{color:var(--color-orange-300)}.text-purple-600{color:var(--color-purple-600)}.text-red-300{color:var(--color-red-300)}.text-red-400{color:var(--color-red-400)}.text-red-500{color:var(--color-red-500)}.text-red-700{color:var(--color-red-700)}.text-violet-300{color:var(--color-violet-300)}.text-violet-600{color:var(--color-violet-600)}.text-white{color:var(--color-white)}.text-yellow-300{color:var(--color-yellow-300)}.text-yellow-400{color:var(--color-yellow-400)}.text-yellow-700{color:var(--color-yellow-700)}.uppercase{text-transform:uppercase}.italic{font-style:italic}.accent-blue-600{accent-color:var(--color-blue-600)}.accent-neutral-600{accent-color:var(--color-neutral-600)}.accent-neutral-800{accent-color:var(--color-neutral-800)}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.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,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.select-none{-webkit-user-select:none;user-select:none}@media (hover:hover){.hover\:border-black\/20:hover{border-color:#0003}@supports (color:color-mix(in lab, red, red)){.hover\:border-black\/20:hover{border-color:color-mix(in oklab, var(--color-black) 20%, transparent)}}.hover\:bg-black\/5:hover{background-color:#0000000d}@supports (color:color-mix(in lab, red, red)){.hover\:bg-black\/5:hover{background-color:color-mix(in oklab, var(--color-black) 5%, transparent)}}.hover\:bg-blue-700:hover{background-color:var(--color-blue-700)}.hover\:bg-neutral-50:hover{background-color:var(--color-neutral-50)}.hover\:bg-neutral-100:hover{background-color:var(--color-neutral-100)}.hover\:bg-neutral-600:hover{background-color:var(--color-neutral-600)}.hover\:bg-neutral-700:hover{background-color:var(--color-neutral-700)}.hover\:bg-neutral-800\/50:hover{background-color:#26262680}@supports (color:color-mix(in lab, red, red)){.hover\:bg-neutral-800\/50:hover{background-color:color-mix(in oklab, var(--color-neutral-800) 50%, transparent)}}.hover\:text-neutral-200:hover{color:var(--color-neutral-200)}.hover\:text-neutral-300:hover{color:var(--color-neutral-300)}.hover\:text-neutral-600:hover{color:var(--color-neutral-600)}.hover\:text-neutral-700:hover{color:var(--color-neutral-700)}.hover\:text-neutral-800:hover{color:var(--color-neutral-800)}.hover\:text-neutral-900:hover{color:var(--color-neutral-900)}.hover\:text-red-500:hover{color:var(--color-red-500)}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-70:hover{opacity:.7}}.focus\:border-neutral-400:focus{border-color:var(--color-neutral-400)}.focus\:border-neutral-500:focus{border-color:var(--color-neutral-500)}.focus\:ring-1:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus\:ring-blue-400:focus{--tw-ring-color:var(--color-blue-400)}.focus\:ring-neutral-400:focus{--tw-ring-color:var(--color-neutral-400)}.focus\:ring-red-400:focus{--tw-ring-color:var(--color-red-400)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.active\:cursor-grabbing:active{cursor:grabbing}.active\:bg-blue-800:active{background-color:var(--color-blue-800)}.active\:bg-neutral-100:active{background-color:var(--color-neutral-100)}.active\:bg-neutral-500:active{background-color:var(--color-neutral-500)}.disabled\:opacity-50:disabled{opacity:.5}@media (width>=48rem){.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width>=64rem){.lg\:min-w-0{min-width:calc(var(--spacing) * 0)}.lg\:flex-1{flex:1}.lg\:flex-row{flex-direction:row}.lg\:items-start{align-items:flex-start}}@media (width>=80rem){.xl\:min-w-0{min-width:calc(var(--spacing) * 0)}.xl\:flex-1{flex:1}.xl\:flex-row{flex-direction:row}.xl\:items-start{align-items:flex-start}}}.fc-kizen .fc-daygrid-more-link{color:#737373;font-family:ui-monospace,Menlo,Consolas,Liberation Mono,monospace;font-size:10px}.fc-kizen .fc-col-header-cell-cushion{text-transform:uppercase;letter-spacing:.1em;color:#a3a3a3;font-family:ui-monospace,Menlo,Consolas,Liberation Mono,monospace;font-size:10px;font-weight:600;text-decoration:none}.fc-kizen .fc-daygrid-day-number{color:#737373;font-family:ui-monospace,Menlo,Consolas,Liberation Mono,monospace;font-size:11px;text-decoration:none}.fc-kizen .fc-day-today .fc-daygrid-day-number{color:#171717;font-weight:700}.fc-kizen .fc-timegrid-slot-label-cushion,.fc-kizen .fc-timegrid-axis-cushion{color:#a3a3a3;text-transform:uppercase;font-family:ui-monospace,Menlo,Consolas,Liberation Mono,monospace;font-size:10px}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-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-tracking{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-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}
@@ -1,4 +1,4 @@
1
- import{t as e}from"./rolldown-runtime-DF2fYuay.js";import{C as t}from"./fa-core-BU3ZZt7W.js";var n=e((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m)if(n(c)!==null)m=!0,ee||(ee=!0,oe());else{var t=n(l);t!==null&&le(x,t.startTime-e)}}var ee=!1,te=-1,ne=5,re=-1;function ie(){return g?!0:!(e.unstable_now()-re<ne)}function ae(){if(g=!1,ee){var t=e.unstable_now();re=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(te),te=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&ie());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&le(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?oe():ee=!1}}}var oe;if(typeof y==`function`)oe=function(){y(ae)};else if(typeof MessageChannel<`u`){var se=new MessageChannel,ce=se.port2;se.port1.onmessage=ae,oe=function(){ce.postMessage(null)}}else oe=function(){_(ae,0)};function le(t,n){te=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):ne=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(te),te=-1):h=!0,le(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,ee||(ee=!0,oe()))),r},e.unstable_shouldYield=ie,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),r=e(((e,t)=>{t.exports=n()})),i=e((e=>{var n=t();function r(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function i(){}var a={d:{f:i,r:function(){throw Error(r(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},o=Symbol.for(`react.portal`);function s(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}var c=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function l(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,e.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(r(299));return s(e,t,null,n)},e.flushSync=function(e){var t=c.T,n=a.p;try{if(c.T=null,a.p=2,e)return e()}finally{c.T=t,a.p=n,a.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,a.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&a.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=l(n,t.crossOrigin),i=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?a.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:i,fetchPriority:o}):n===`script`&&a.d.X(e,{crossOrigin:r,integrity:i,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`)if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=l(t.as,t.crossOrigin);a.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})}}else t??a.d.M(e)},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=l(n,t.crossOrigin);a.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`)if(t){var n=l(t.as,t.crossOrigin);a.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})}else a.d.m(e)},e.requestFormReset=function(e){a.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return c.H.useFormState(e,t,n)},e.useFormStatus=function(){return c.H.useHostTransitionStatus()},e.version=`19.2.5`})),a=e(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=i()})),o=e((e=>{var n=r(),i=t(),o=a();function s(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function c(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function l(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function u(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function d(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function f(e){if(l(e)!==e)throw Error(s(188))}function p(e){var t=e.alternate;if(!t){if(t=l(e),t===null)throw Error(s(188));return t===e?e:null}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var a=i.alternate;if(a===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return f(i),e;if(a===r)return f(i),t;a=a.sibling}throw Error(s(188))}if(n.return!==r.return)n=i,r=a;else{for(var o=!1,c=i.child;c;){if(c===n){o=!0,n=i,r=a;break}if(c===r){o=!0,r=i,n=a;break}c=c.sibling}if(!o){for(c=a.child;c;){if(c===n){o=!0,n=a,r=i;break}if(c===r){o=!0,r=a,n=i;break}c=c.sibling}if(!o)throw Error(s(189))}}if(n.alternate!==r)throw Error(s(190))}if(n.tag!==3)throw Error(s(188));return n.stateNode.current===n?e:t}function m(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=m(e),t!==null)return t;e=e.sibling}return null}var h=Object.assign,g=Symbol.for(`react.element`),_=Symbol.for(`react.transitional.element`),v=Symbol.for(`react.portal`),y=Symbol.for(`react.fragment`),b=Symbol.for(`react.strict_mode`),x=Symbol.for(`react.profiler`),ee=Symbol.for(`react.consumer`),te=Symbol.for(`react.context`),ne=Symbol.for(`react.forward_ref`),re=Symbol.for(`react.suspense`),ie=Symbol.for(`react.suspense_list`),ae=Symbol.for(`react.memo`),oe=Symbol.for(`react.lazy`),se=Symbol.for(`react.activity`),ce=Symbol.for(`react.memo_cache_sentinel`),le=Symbol.iterator;function ue(e){return typeof e!=`object`||!e?null:(e=le&&e[le]||e[`@@iterator`],typeof e==`function`?e:null)}var de=Symbol.for(`react.client.reference`);function fe(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===de?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case y:return`Fragment`;case x:return`Profiler`;case b:return`StrictMode`;case re:return`Suspense`;case ie:return`SuspenseList`;case se:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case v:return`Portal`;case te:return e.displayName||`Context`;case ee:return(e._context.displayName||`Context`)+`.Consumer`;case ne:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case ae:return t=e.displayName||null,t===null?fe(e.type)||`Memo`:t;case oe:t=e._payload,e=e._init;try{return fe(e(t))}catch{}}return null}var pe=Array.isArray,S=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,me={pending:!1,data:null,method:null,action:null},he=[],ge=-1;function _e(e){return{current:e}}function w(e){0>ge||(e.current=he[ge],he[ge]=null,ge--)}function T(e,t){ge++,he[ge]=e.current,e.current=t}var ve=_e(null),ye=_e(null),be=_e(null),xe=_e(null);function Se(e,t){switch(T(be,t),T(ye,e),T(ve,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Vd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Vd(t),e=Hd(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}w(ve),T(ve,e)}function Ce(){w(ve),w(ye),w(be)}function we(e){e.memoizedState!==null&&T(xe,e);var t=ve.current,n=Hd(t,e.type);t!==n&&(T(ye,e),T(ve,n))}function Te(e){ye.current===e&&(w(ve),w(ye)),xe.current===e&&(w(xe),Qf._currentValue=me)}var Ee,De;function Oe(e){if(Ee===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Ee=t&&t[1]||``,De=-1<e.stack.indexOf(`
1
+ import{t as e}from"./rolldown-runtime-DF2fYuay.js";import{k as t}from"./fa-core-mHW_3JUd.js";var n=e((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m)if(n(c)!==null)m=!0,ee||(ee=!0,oe());else{var t=n(l);t!==null&&le(x,t.startTime-e)}}var ee=!1,te=-1,ne=5,re=-1;function ie(){return g?!0:!(e.unstable_now()-re<ne)}function ae(){if(g=!1,ee){var t=e.unstable_now();re=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(te),te=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&ie());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&le(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?oe():ee=!1}}}var oe;if(typeof y==`function`)oe=function(){y(ae)};else if(typeof MessageChannel<`u`){var se=new MessageChannel,ce=se.port2;se.port1.onmessage=ae,oe=function(){ce.postMessage(null)}}else oe=function(){_(ae,0)};function le(t,n){te=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):ne=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(te),te=-1):h=!0,le(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,ee||(ee=!0,oe()))),r},e.unstable_shouldYield=ie,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),r=e(((e,t)=>{t.exports=n()})),i=e((e=>{var n=t();function r(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function i(){}var a={d:{f:i,r:function(){throw Error(r(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},o=Symbol.for(`react.portal`);function s(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}var c=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function l(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,e.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(r(299));return s(e,t,null,n)},e.flushSync=function(e){var t=c.T,n=a.p;try{if(c.T=null,a.p=2,e)return e()}finally{c.T=t,a.p=n,a.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,a.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&a.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=l(n,t.crossOrigin),i=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?a.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:i,fetchPriority:o}):n===`script`&&a.d.X(e,{crossOrigin:r,integrity:i,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`)if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=l(t.as,t.crossOrigin);a.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})}}else t??a.d.M(e)},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=l(n,t.crossOrigin);a.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`)if(t){var n=l(t.as,t.crossOrigin);a.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})}else a.d.m(e)},e.requestFormReset=function(e){a.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return c.H.useFormState(e,t,n)},e.useFormStatus=function(){return c.H.useHostTransitionStatus()},e.version=`19.2.5`})),a=e(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=i()})),o=e((e=>{var n=r(),i=t(),o=a();function s(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function c(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function l(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function u(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function d(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function f(e){if(l(e)!==e)throw Error(s(188))}function p(e){var t=e.alternate;if(!t){if(t=l(e),t===null)throw Error(s(188));return t===e?e:null}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var a=i.alternate;if(a===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return f(i),e;if(a===r)return f(i),t;a=a.sibling}throw Error(s(188))}if(n.return!==r.return)n=i,r=a;else{for(var o=!1,c=i.child;c;){if(c===n){o=!0,n=i,r=a;break}if(c===r){o=!0,r=i,n=a;break}c=c.sibling}if(!o){for(c=a.child;c;){if(c===n){o=!0,n=a,r=i;break}if(c===r){o=!0,r=a,n=i;break}c=c.sibling}if(!o)throw Error(s(189))}}if(n.alternate!==r)throw Error(s(190))}if(n.tag!==3)throw Error(s(188));return n.stateNode.current===n?e:t}function m(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=m(e),t!==null)return t;e=e.sibling}return null}var h=Object.assign,g=Symbol.for(`react.element`),_=Symbol.for(`react.transitional.element`),v=Symbol.for(`react.portal`),y=Symbol.for(`react.fragment`),b=Symbol.for(`react.strict_mode`),x=Symbol.for(`react.profiler`),ee=Symbol.for(`react.consumer`),te=Symbol.for(`react.context`),ne=Symbol.for(`react.forward_ref`),re=Symbol.for(`react.suspense`),ie=Symbol.for(`react.suspense_list`),ae=Symbol.for(`react.memo`),oe=Symbol.for(`react.lazy`),se=Symbol.for(`react.activity`),ce=Symbol.for(`react.memo_cache_sentinel`),le=Symbol.iterator;function ue(e){return typeof e!=`object`||!e?null:(e=le&&e[le]||e[`@@iterator`],typeof e==`function`?e:null)}var de=Symbol.for(`react.client.reference`);function fe(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===de?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case y:return`Fragment`;case x:return`Profiler`;case b:return`StrictMode`;case re:return`Suspense`;case ie:return`SuspenseList`;case se:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case v:return`Portal`;case te:return e.displayName||`Context`;case ee:return(e._context.displayName||`Context`)+`.Consumer`;case ne:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case ae:return t=e.displayName||null,t===null?fe(e.type)||`Memo`:t;case oe:t=e._payload,e=e._init;try{return fe(e(t))}catch{}}return null}var pe=Array.isArray,S=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,me={pending:!1,data:null,method:null,action:null},he=[],ge=-1;function _e(e){return{current:e}}function w(e){0>ge||(e.current=he[ge],he[ge]=null,ge--)}function T(e,t){ge++,he[ge]=e.current,e.current=t}var ve=_e(null),ye=_e(null),be=_e(null),xe=_e(null);function Se(e,t){switch(T(be,t),T(ye,e),T(ve,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Vd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Vd(t),e=Hd(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}w(ve),T(ve,e)}function Ce(){w(ve),w(ye),w(be)}function we(e){e.memoizedState!==null&&T(xe,e);var t=ve.current,n=Hd(t,e.type);t!==n&&(T(ye,e),T(ve,n))}function Te(e){ye.current===e&&(w(ve),w(ye)),xe.current===e&&(w(xe),Qf._currentValue=me)}var Ee,De;function Oe(e){if(Ee===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Ee=t&&t[1]||``,De=-1<e.stack.indexOf(`
2
2
  at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
3
3
  `+Ee+e+De}var ke=!1;function Ae(e,t){if(!e||ke)return``;ke=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,`props`,{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,`name`,{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(`
4
4
  `),l=s.split(`
@@ -0,0 +1 @@
1
+ import{$ as ee,$i as te,$n as ne,$r as e,$t as t,A as n,Ai as r,An as i,Ar as a,At as o,B as s,Bi as c,Bn as l,Br as u,Bt as d,C as f,Ci as p,Cn as m,Cr as h,Ct as g,D as _,Di as v,Dn as y,Dr as b,Dt as x,E as S,Ei as C,En as w,Er as T,Et as E,F as D,Fi as O,Fn as k,Fr as A,Ft as j,G as M,Gi as N,Gn as P,Gr as F,Gt as I,H as L,Hi as R,Hn as z,Hr as B,Ht as V,I as H,Ii as U,In as W,Ir as G,It as K,J as q,Ji as J,Jn as Y,Jr as X,Jt as Z,K as re,Ki as ie,Kn as ae,Kr as oe,Kt as se,L as ce,Li as le,Ln as ue,Lr as de,Lt as fe,M as pe,Mi as me,Mn as he,Mr as ge,Mt as _e,N as ve,Ni as ye,Nn as be,Nr as xe,Nt as Se,O as Ce,Oi as we,On as Te,Or as Ee,Ot as De,P as Oe,Pi as ke,Pn as Ae,Pr as je,Pt as Me,Q as Ne,Qi as Pe,Qn as Fe,Qr as Ie,Qt as Le,R as Re,Ri as ze,Rn as Be,Rr as Ve,Rt as He,S as Ue,Sa as We,Si as Ge,Sn as Ke,Sr as qe,St as Je,T as Ye,Ti as Xe,Tn as Ze,Tr as Qe,Tt as $e,U as et,Ui as tt,Un as nt,Ur as rt,Ut as it,V as at,Vi as ot,Vn as st,Vr as ct,Vt as lt,W as ut,Wi as dt,Wn as ft,Wr as pt,Wt as mt,X as ht,Xi as gt,Xn as _t,Xr as vt,Xt as yt,Y as bt,Yi as xt,Yn as St,Yr as Ct,Yt as wt,Z as Tt,Zi as Et,Zn as Dt,Zr as Ot,Zt as kt,_ as At,_a as jt,_i as Mt,_n as Nt,_r as Pt,_t as Ft,a as It,aa as Lt,ai as Rt,an as zt,ar as Bt,at as Vt,b as Ht,ba as Ut,bi as Wt,bn as Gt,br as Kt,bt as qt,c as Jt,ca as Yt,ci as Xt,cn as Zt,cr as Qt,ct as $t,d as en,da as tn,di as nn,dn as rn,dr as an,dt as on,ea as sn,ei as cn,en as ln,er as un,et as dn,f as fn,fa as pn,fi as mn,fn as hn,fr as gn,ft as _n,g as vn,ga as yn,gi as bn,gn as xn,gr as Sn,gt as Cn,h as wn,ha as Tn,hi as En,hn as Dn,hr as On,ht as kn,i as An,ia as jn,ii as Mn,in as Nn,ir as Pn,it as Fn,j as In,ji as Ln,jn as Rn,jr as zn,jt as Bn,k as Vn,ki as Hn,kn as Un,kr as Wn,kt as Gn,l as Kn,la as qn,li as Jn,ln as Yn,lr as Xn,lt as Zn,m as Qn,ma as $n,mi as er,mn as tr,mr as nr,mt as rr,n as ir,na as ar,ni as or,nn as sr,nr as cr,nt as lr,o as ur,oa as dr,oi as fr,on as pr,or as mr,ot as hr,p as gr,pa as _r,pi as vr,pn as yr,pr as br,pt as xr,q as Sr,qi as Cr,qn as wr,qr as Tr,qt as Er,r as Dr,ra as Or,ri as kr,rn as Ar,rr as jr,rt as Mr,s as Nr,sa as Pr,si as Fr,sn as Ir,sr as Lr,st as Rr,t as zr,ta as Br,ti as Vr,tn as Hr,tr as Ur,tt as Wr,u as Gr,ua as Kr,ui as qr,un as Jr,ur as Yr,ut as Xr,v as Zr,va as Qr,vi as $r,vn as ei,vr as ti,vt as ni,w as ri,wi as ii,wn as ai,wr as oi,wt as si,x as ci,xa as li,xi as ui,xn as di,xr as fi,xt as pi,y as mi,ya as hi,yi as gi,yn as _i,yr as vi,yt as yi,z as bi,zi as xi,zn as Si,zr as Ci,zt as wi}from"./fa-pro-icons-CIQGXozY.js";var Ti=We(),Ei=li(),Di=Ut(),Oi=hi(),ki=Qr(),Ai=jt(),ji=yn(),Mi=Tn(),Ni=$n(),Pi=_r(),Fi=pn(),Ii=tn(),Li=Kr(),Ri=qn(),zi=Yt(),Bi=Pr(),Vi=dr(),Hi=Lt(),Ui=jn(),Wi=Or(),Gi=ar(),Ki=Br(),qi=sn(),Ji=te(),Yi=Pe(),Xi=Et(),Zi=gt(),Qi=xt(),$i=J(),ea=Cr(),ta=ie(),na=N(),ra=dt(),ia=tt(),aa=R(),oa=ot(),sa=c(),ca=xi(),la=ze(),ua=le(),Q=U(),da=O(),fa=ke(),pa=ye(),ma=me(),ha=Ln(),ga=r(),_a=Hn(),va=we(),ya=v(),ba=C(),xa=Xe(),Sa=ii(),Ca=p(),wa=Ge(),Ta=ui(),Ea=Wt(),Da=gi(),Oa=$r(),ka=Mt(),Aa=bn(),ja=En(),Ma=er(),Na=vr(),Pa=mn(),Fa=nn(),Ia=qr(),La=Jn(),Ra=Xt(),za=Fr(),Ba=fr(),Va=Rt(),Ha=Mn(),Ua=kr(),Wa=or(),Ga=Vr(),Ka=cn(),qa=e(),Ja=Ie(),Ya=Ot(),Xa=vt(),Za=Ct(),Qa=X(),$a=Tr(),eo=oe(),to=F(),no=pt(),ro=rt(),io=B(),ao=ct(),oo=u(),so=Ci(),co=Ve(),lo=de(),uo=G(),fo=A(),po=je(),mo=xe(),ho=ge(),go=zn(),_o=a(),vo=Wn(),yo=Ee(),bo=b(),xo=T(),So=Qe(),Co=oi(),wo=h(),To=qe(),Eo=fi(),Do=Kt(),Oo=vi(),ko=ti(),Ao=Pt(),jo=Sn(),Mo=On(),No=nr(),Po=br(),Fo=gn(),Io=an(),Lo=Yr(),Ro=Xn(),zo=Qt(),Bo=Lr(),Vo=mr(),Ho=Bt(),Uo=Pn(),Wo=jr(),Go=cr(),Ko=Ur(),qo=un(),Jo=ne(),Yo=Fe(),Xo=Dt(),Zo=_t(),Qo=St(),$o=Y(),es=wr(),ts=ae(),ns=P(),rs=ft(),is=nt(),as=z(),os=st(),ss=l(),cs=Si(),ls=Be(),us=ue(),ds=W(),fs=k(),ps=Ae(),ms=be(),hs=he(),gs=Rn(),_s=i(),vs=Un(),ys=Te(),bs=y(),xs=w(),Ss=Ze(),Cs=ai(),ws=m(),Ts=Ke(),Es=di(),Ds=Gt(),Os=_i(),ks=ei(),As=Nt(),js=xn(),Ms=Dn(),Ns=tr(),Ps=yr(),Fs=hn(),Is=rn(),Ls=Jr(),Rs=Yn(),zs=Zt(),Bs=Ir(),Vs=pr(),Hs=zt(),Us=Nn(),Ws=Ar(),Gs=sr(),Ks=Hr(),qs=ln(),Js=t(),Ys=Le(),Xs=kt(),Zs=yt(),Qs=wt(),$s=Z(),ec=Er(),tc=se(),nc=I(),rc=mt(),ic=it(),ac=V(),oc=lt(),sc=d(),cc=wi(),lc=He(),uc=fe(),dc=K(),fc=j(),pc=Me(),mc=Se(),hc=_e(),gc=Bn(),_c=o(),vc=Gn(),yc=De(),bc=x(),xc=E(),Sc=$e(),Cc=si(),wc=g(),Tc=Je(),Ec=pi(),Dc=qt(),Oc=yi(),kc=ni(),Ac=Ft(),jc=Cn(),Mc=kn(),Nc=rr(),Pc=xr(),Fc=_n(),Ic=on(),Lc=Xr(),Rc=Zn(),zc=$t(),Bc=Rr(),Vc=hr(),Hc=Vt(),Uc=Fn(),Wc=Mr(),Gc=lr(),Kc=Wr(),qc=dn(),Jc=ee(),Yc=Ne(),Xc=Tt(),Zc=ht(),Qc=bt(),$c=q(),el=Sr(),tl=re(),nl=M(),rl=ut(),il=et(),al=at(),ol=L(),sl=s(),cl=bi(),ll=Re(),ul=ce(),dl=H(),fl=D(),pl=Oe(),ml=ve(),hl=pe(),gl=In(),_l=n(),vl=Vn(),yl=Ce(),bl=_(),xl=S(),Sl=Ye(),Cl=ri(),wl=f(),Tl=Ue(),El=ci(),Dl=Ht(),Ol=mi(),kl=Zr(),Al=At(),jl=vn(),Ml=wn(),Nl=Qn(),Pl=gr(),Fl=fn(),Il=en(),Ll=Gr(),Rl=Kn(),zl=Jt(),Bl=Nr(),Vl=ur(),Hl=It(),Ul=An(),Wl=Dr(),Gl=ir(),Kl=zr(),ql=new Set([`kizen-k`,`form-entity`]),Jl={phone:Ti.faPhone,envelope:Ei.faEnvelope,"pen-nib":Di.faPenNib,"calendar-days":Oi.faCalendarDays,paperclip:ki.faPaperclip,file:Ai.faFile,clipboard:ji.faClipboard,pen:Mi.faPen,tag:Ni.faTag,book:Pi.faBook,print:Fi.faPrint,"pen-to-square":Ii.faPenToSquare,folder:Li.faFolder,"folder-open":Ri.faFolderOpen,thumbtack:zi.faThumbtack,globe:Bi.faGlobe,city:Vi.faCity,briefcase:Hi.faBriefcase,compass:Ui.faCompass,"address-book":Wi.faAddressBook,"business-time":Gi.faBusinessTime,"computer-classic":Ki.faComputerClassic,"pen-fancy":qi.faPenFancy,"badge-check":Ji.faBadgeCheck,"mug-saucer":Yi.faMugSaucer,landmark:Xi.faLandmark,"chart-simple":Zi.faChartSimple,envelopes:Qi.faEnvelopes,"diagram-venn":$i.faDiagramVenn,calendar:ea.faCalendar,pencil:ta.faPencil,"phone-volume":na.faPhoneVolume,copy:ra.faCopy,table:ia.faTable,building:aa.faBuilding,"network-wired":oa.faNetworkWired,"address-card":sa.faAddressCard,tags:ca.faTags,registered:la.faRegistered,signature:ua.faSignature,"phone-office":Q.faPhoneOffice,projector:da.faProjector,sitemap:fa.faSitemap,marker:pa.faMarker,badge:ma.faBadge,wallet:ha.faWallet,copyright:ga.faCopyright,bullseye:_a.faBullseye,calculator:va.faCalculator,certificate:ya.faCertificate,percent:ba.faPercent,eraser:xa.faEraser,"file-spreadsheet":Sa.faFileSpreadsheet,glasses:Ca.faGlasses,industry:wa.faIndustry,vault:Ta.faVault,"user-tie-hair-long":Ea.faUserTieHairLong,"user-tie-hair":Da.faUserTieHair,"user-hair-mullet":Oa.faUserHairMullet,trademark:ka.faTrademark,"timeline-arrow":Aa.faTimelineArrow,timeline:ja.faTimeline,"table-tree":Ma.faTableTree,"table-rows":Na.faTableRows,"table-pivot":Pa.faTablePivot,"table-layout":Fa.faTableLayout,"table-columns":Ia.faTableColumns,stapler:La.faStapler,"square-poll-vertical":Ra.faSquarePollVertical,"square-poll-horizontal":za.faSquarePollHorizontal,"square-phone-flip":Ba.faSquarePhoneFlip,"square-phone":Va.faSquarePhone,"square-pen":Ha.faSquarePen,"square-kanban":Ua.faSquareKanban,"square-envelope":Wa.faSquareEnvelope,socks:Ga.faSocks,"slot-machine":Ka.faSlotMachine,"signature-slash":qa.faSignatureSlash,"signature-lock":Ja.faSignatureLock,shredder:Ya.faShredder,scissors:Xa.faScissors,"scanner-image":Za.faScannerImage,"scale-unbalanced-flip":Qa.faScaleUnbalancedFlip,"scale-unbalanced":$a.faScaleUnbalanced,"scale-balanced":eo.faScaleBalanced,router:to.faRouter,"rectangle-pro":no.faRectanglePro,"print-slash":ro.faPrintSlash,"print-magnifying-glass":io.faPrintMagnifyingGlass,"presentation-screen":ao.faPresentationScreen,podium:oo.faPodium,"phone-slash":so.faPhoneSlash,"phone-intercom":co.faPhoneIntercom,"phone-flip":lo.faPhoneFlip,"person-chalkboard":uo.faPersonChalkboard,"pen-nib-slash":fo.faPenNibSlash,"pen-clip":po.faPenClip,paste:mo.faPaste,"paperclip-vertical":ho.faPaperclipVertical,notebook:go.faNotebook,"note-sticky":_o.faNoteSticky,"money-check-pen":vo.faMoneyCheckPen,"money-check-dollar-pen":yo.faMoneyCheckDollarPen,"magnifying-glass-chart":bo.faMagnifyingGlassChart,"magnifying-glass-arrow-right":xo.faMagnifyingGlassArrowRight,"list-tree":So.faListTree,"list-timeline":Co.faListTimeline,"list-radio":wo.faListRadio,"list-dropdown":To.faListDropdown,"list-check":Eo.faListCheck,"laptop-file":Do.faLaptopFile,"lamp-desk":Oo.faLampDesk,keynote:ko.faKeynote,"industry-windows":Ao.faIndustryWindows,inboxes:jo.faInboxes,"inbox-full":Mo.faInboxFull,"house-laptop":No.faHouseLaptop,highlighter:Po.faHighlighter,folders:Fo.faFolders,"folder-xmark":Io.faFolderXmark,"folder-tree":Lo.faFolderTree,"folder-plus":Ro.faFolderPlus,"folder-minus":zo.faFolderMinus,"folder-arrow-up":Bo.faFolderArrowUp,"folder-arrow-down":Vo.faFolderArrowDown,"floppy-disk-circle-xmark":Ho.faFloppyDiskCircleXmark,"floppy-disk-circle-arrow-right":Uo.faFloppyDiskCircleArrowRight,"floppy-disk":Wo.faFloppyDisk,"file-user":Go.faFileUser,"file-lines":Ko.faFileLines,"file-circle-plus":qo.faFileCirclePlus,"file-circle-info":Jo.faFileCircleInfo,"file-chart-pie":Yo.faFileChartPie,"file-chart-column":Xo.faFileChartColumn,fax:Zo.faFax,"envelope-open":Qo.faEnvelopeOpen,"envelope-dot":$o.faEnvelopeDot,"envelope-circle-check":es.faEnvelopeCircleCheck,"coffee-pot":ts.faCoffeePot,"cloud-word":ns.faCloudWord,"clipboard-question":rs.faClipboardQuestion,"chart-user":is.faChartUser,"chart-tree-map":as.faChartTreeMap,"chart-simple-horizontal":os.faChartSimpleHorizontal,"chart-pyramid":ss.faChartPyramid,"chart-pie-simple":cs.faChartPieSimple,"chart-pie":ls.faChartPie,"chart-line-up":us.faChartLineUp,"chart-line-down":ds.faChartLineDown,"chart-line":fs.faChartLine,"cake-candles":ps.faCakeCandles,"cabinet-filing":ms.faCabinetFiling,bullhorn:hs.faBullhorn,"briefcase-blank":gs.faBriefcaseBlank,"briefcase-arrow-right":_s.faBriefcaseArrowRight,"brain-arrow-curved-right":vs.faBrainArrowCurvedRight,"boxes-packing":ys.faBoxesPacking,"box-archive":bs.faBoxArchive,"book-section":xs.faBookSection,"bars-staggered":Ss.faBarsStaggered,"bars-progress":Cs.faBarsProgress,"badge-percent":ws.faBadgePercent,"badge-dollar":Ts.faBadgeDollar,"arrows-to-eye":Es.faArrowsToEye,"arrows-to-dot":Ds.faArrowsToDot,"arrows-spin":Os.faArrowsSpin,sparkles:ks.faSparkles,megaphone:As.faMegaphone,"block-question":js.faBlockQuestion,"lightbulb-slash":Ms.faLightbulbSlash,"comments-dollar":Ns.faCommentsDollar,comments:Bl.faComments,"bullseye-pointer":Ps.faBullseyePointer,lightbulb:Fs.faLightbulb,"user-group-crown":Is.faUserGroupCrown,"user-crown":Ls.faUserCrown,"signal-stream-slash":Rs.faSignalStreamSlash,"signal-stream":zs.faSignalStream,"rectangle-ad":Bs.faRectangleAd,"ranking-star":Vs.faRankingStar,"person-rays":Hs.faPersonRays,"people-group":Us.faPeopleGroup,"messages-dollar":Ws.faMessagesDollar,"message-dollar":Gs.faMessageDollar,"magnifying-glass-location":Ks.faMagnifyingGlassLocation,"magnifying-glass-dollar":qs.faMagnifyingGlassDollar,"lightbulb-on":Js.faLightbulbOn,"lightbulb-exclamation":Ys.faLightbulbExclamation,"lightbulb-dollar":Xs.faLightbulbDollar,"lightbulb-cfl-on":Zs.faLightbulbCflOn,"lightbulb-cfl":Qs.faLightbulbCfl,"hundred-points":$s.faHundredPoints,"group-arrows-rotate":ec.faGroupArrowsRotate,"gift-card":tc.faGiftCard,"filter-circle-dollar":nc.faFilterCircleDollar,"envelopes-bulk":rc.faEnvelopesBulk,"envelope-open-text":ic.faEnvelopeOpenText,"envelope-open-dollar":ac.faEnvelopeOpenDollar,"comment-dollar":oc.faCommentDollar,"chart-mixed":sc.faChartMixed,"bullseye-arrow":cc.faBullseyeArrow,star:lc.faStar,heart:uc.faHeart,"camera-retro":dc.faCameraRetro,"truck-fast":fc.faTruckFast,bell:pc.faBell,"cart-shopping":mc.faCartShopping,gift:hc.faGift,barcode:gc.faBarcode,bookmark:_c.faBookmark,camera:vc.faCamera,"thumbs-up":yc.faThumbsUp,"thumbs-down":bc.faThumbsDown,key:xc.faKey,truck:Sc.faTruck,balloons:Cc.faBalloons,handshake:wc.faHandshake,shop:Tc.faShop,shirt:Ec.faShirt,"bag-shopping":Dc.faBagShopping,moped:Oc.faMoped,"cart-plus":kc.faCartPlus,"credit-card":Ac.faCreditCard,store:jc.faStore,"cash-register":Mc.faCashRegister,"booth-curtain":Nc.faBoothCurtain,trophy:Pc.faTrophy,receipt:Fc.faReceipt,"truck-container":Ic.faTruckContainer,"truck-clock":Lc.faTruckClock,"truck-bolt":Rc.faTruckBolt,"trophy-star":zc.faTrophyStar,"store-slash":Bc.faStoreSlash,"store-lock":Vc.faStoreLock,"star-exclamation":Hc.faStarExclamation,"shop-slash":Uc.faShopSlash,"shop-lock":Wc.faShopLock,"rectangle-barcode":Gc.faRectangleBarcode,"person-booth":Kc.faPersonBooth,"nfc-trash":qc.faNfcTrash,"nfc-symbol":Jc.faNfcSymbol,"nfc-slash":Yc.faNfcSlash,"nfc-signal":Xc.faNfcSignal,"nfc-pen":Zc.faNfcPen,"nfc-magnifying-glass":Qc.faNfcMagnifyingGlass,"nfc-lock":$c.faNfcLock,nfc:el.faNfc,"money-check-dollar":tl.faMoneyCheckDollar,"money-check":nl.faMoneyCheck,"mobile-signal-out":rl.faMobileSignalOut,"mobile-signal":il.faMobileSignal,"hexagon-vertical-nft-slanted":al.faHexagonVerticalNftSlanted,"hexagon-vertical-nft":ol.faHexagonVerticalNft,"hexagon-image":sl.faHexagonImage,"hand-holding-box":cl.faHandHoldingBox,gifts:ll.faGifts,gem:ul.faGem,"credit-card-front":dl.faCreditCardFront,"credit-card-blank":fl.faCreditCardBlank,"cart-xmark":pl.faCartXmark,"cart-shopping-fast":ml.faCartShoppingFast,"cart-minus":hl.faCartMinus,"cart-circle-xmark":gl.faCartCircleXmark,"cart-circle-plus":_l.faCartCirclePlus,"cart-circle-exclamation":vl.faCartCircleExclamation,"cart-circle-check":yl.faCartCircleCheck,"cart-circle-arrow-up":bl.faCartCircleArrowUp,"cart-circle-arrow-down":xl.faCartCircleArrowDown,"cart-arrow-up":Sl.faCartArrowUp,"cart-arrow-down":Cl.faCartArrowDown,"box-open-full":wl.faBoxOpenFull,"basket-shopping-simple":Tl.faBasketShoppingSimple,"basket-shopping":El.faBasketShopping,"barcode-scan":Dl.faBarcodeScan,"barcode-read":Ol.faBarcodeRead,balloon:kl.faBalloon,"bags-shopping":Al.faBagsShopping,bars:jl.faBars,browser:Ml.faBrowser,"chart-bar":Nl.faChartBar,cog:Pl.faCog,database:Ll.faDatabase,"calendar-alt":Fl.faCalendarAlt,play:Il.faPlay,add:Rl.faAdd,"book-alt":zl.faBookAlt,"arrows-to-circle":Vl.faArrowsToCircle,"question-circle":Hl.faQuestionCircle,"chevron-down":Ul.faChevronDown,"chevron-up":Wl.faChevronUp,"window-restore":Gl.faWindowRestore,forward:Kl.faForward},$=new Set(`phone.envelope.pen-nib.calendar-days.paperclip.file.clipboard.pen.tag.book.print.pen-to-square.folder.folder-open.thumbtack.globe.city.briefcase.compass.address-book.business-time.computer-classic.pen-fancy.badge-check.mug-saucer.landmark.chart-simple.envelopes.diagram-venn.calendar.pencil.phone-volume.copy.table.building.network-wired.address-card.tags.registered.signature.phone-office.projector.sitemap.marker.badge.wallet.copyright.bullseye.calculator.certificate.percent.eraser.file-spreadsheet.glasses.industry.vault.user-tie-hair-long.user-tie-hair.user-hair-mullet.trademark.timeline-arrow.timeline.table-tree.table-rows.table-pivot.table-layout.table-columns.stapler.square-poll-vertical.square-poll-horizontal.square-phone-flip.square-phone.square-pen.square-kanban.square-envelope.socks.slot-machine.signature-slash.signature-lock.shredder.scissors.scanner-image.scale-unbalanced-flip.scale-unbalanced.scale-balanced.router.rectangle-pro.print-slash.print-magnifying-glass.presentation-screen.podium.phone-slash.phone-intercom.phone-flip.person-chalkboard.pen-nib-slash.pen-clip.paste.paperclip-vertical.notebook.note-sticky.money-check-pen.money-check-dollar-pen.magnifying-glass-chart.magnifying-glass-arrow-right.list-tree.list-timeline.list-radio.list-dropdown.list-check.laptop-file.lamp-desk.keynote.industry-windows.inboxes.inbox-full.house-laptop.highlighter.folders.folder-xmark.folder-tree.folder-plus.folder-minus.folder-arrow-up.folder-arrow-down.floppy-disk-circle-xmark.floppy-disk-circle-arrow-right.floppy-disk.file-user.file-lines.file-circle-plus.file-circle-info.file-chart-pie.file-chart-column.fax.envelope-open.envelope-dot.envelope-circle-check.coffee-pot.cloud-word.clipboard-question.chart-user.chart-tree-map.chart-simple-horizontal.chart-pyramid.chart-pie-simple.chart-pie.chart-line-up.chart-line-down.chart-line.cake-candles.cabinet-filing.bullhorn.briefcase-blank.briefcase-arrow-right.brain-arrow-curved-right.boxes-packing.box-archive.book-section.bars-staggered.bars-progress.badge-percent.badge-dollar.arrows-to-eye.arrows-to-dot.arrows-spin.sparkles.megaphone.block-question.lightbulb-slash.comments-dollar.comments.bullseye-pointer.lightbulb.user-group-crown.user-crown.signal-stream-slash.signal-stream.rectangle-ad.ranking-star.person-rays.people-group.messages-dollar.message-dollar.magnifying-glass-location.magnifying-glass-dollar.lightbulb-on.lightbulb-exclamation.lightbulb-dollar.lightbulb-cfl-on.lightbulb-cfl.hundred-points.group-arrows-rotate.gift-card.filter-circle-dollar.envelopes-bulk.envelope-open-text.envelope-open-dollar.comment-dollar.chart-mixed.bullseye-arrow.star.heart.camera-retro.truck-fast.bell.cart-shopping.gift.barcode.bookmark.camera.thumbs-up.thumbs-down.key.truck.balloons.handshake.shop.shirt.bag-shopping.moped.cart-plus.credit-card.store.cash-register.booth-curtain.trophy.receipt.truck-container.truck-clock.truck-bolt.trophy-star.store-slash.store-lock.star-exclamation.shop-slash.shop-lock.rectangle-barcode.person-booth.nfc-trash.nfc-symbol.nfc-slash.nfc-signal.nfc-pen.nfc-magnifying-glass.nfc-lock.nfc.money-check-dollar.money-check.mobile-signal-out.mobile-signal.hexagon-vertical-nft-slanted.hexagon-vertical-nft.hexagon-image.hand-holding-box.gifts.gem.credit-card-front.credit-card-blank.cart-xmark.cart-shopping-fast.cart-minus.cart-circle-xmark.cart-circle-plus.cart-circle-exclamation.cart-circle-check.cart-circle-arrow-up.cart-circle-arrow-down.cart-arrow-up.cart-arrow-down.box-open-full.basket-shopping-simple.basket-shopping.barcode-scan.barcode-read.balloon.bags-shopping.bars.browser.chart-bar.cog.database.calendar-alt.play.kizen-k.add.book-alt.form-entity.arrows-to-circle.question-circle.chevron-down.chevron-up.window-restore.forward`.split(`.`)),Yl=[...$].sort();export{Jl as i,Yl as n,ql as r,$ as t};
@@ -6,12 +6,15 @@
6
6
  <title>Kizen App Development Toolkit</title>
7
7
  <link rel="icon" href="/favicon.png" type="image/png" />
8
8
  <link rel="manifest" href="/manifest.json" />
9
- <script type="module" crossorigin src="/assets/index-Ci5up9QD.js"></script>
9
+ <script type="module" crossorigin src="/assets/index-B-4D4w_w.js"></script>
10
10
  <link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-DF2fYuay.js">
11
- <link rel="modulepreload" crossorigin href="/assets/fa-core-BU3ZZt7W.js">
12
- <link rel="modulepreload" crossorigin href="/assets/fa-pro-icons-D4afj0tU.js">
13
- <link rel="modulepreload" crossorigin href="/assets/react-C90crogl.js">
14
- <link rel="stylesheet" crossorigin href="/assets/index-DOiSISo1.css">
11
+ <link rel="modulepreload" crossorigin href="/assets/fa-core-mHW_3JUd.js">
12
+ <link rel="modulepreload" crossorigin href="/assets/Card-BSwG5koM.js">
13
+ <link rel="modulepreload" crossorigin href="/assets/CredentialsContext-BLZX6RwF.js">
14
+ <link rel="modulepreload" crossorigin href="/assets/BootstrapContext-CEWgv2oI.js">
15
+ <link rel="modulepreload" crossorigin href="/assets/react-D_K8ni3_.js">
16
+ <link rel="modulepreload" crossorigin href="/assets/SidebarContext-Byo6PYOF.js">
17
+ <link rel="stylesheet" crossorigin href="/assets/index-D6Un_G7k.css">
15
18
  </head>
16
19
  <body>
17
20
  <div id="root"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kizenapps/cli",
3
- "version": "0.8.0",
3
+ "version": "0.10.0",
4
4
  "description": "CLI tool for running Kizen plugin apps locally",
5
5
  "license": "GPL-3.0",
6
6
  "type": "module",
@@ -26,12 +26,17 @@
26
26
  "start": "appbuilder"
27
27
  },
28
28
  "dependencies": {
29
+ "@fullcalendar/core": "^6.1.20",
30
+ "@fullcalendar/daygrid": "^6.1.20",
31
+ "@fullcalendar/react": "^6.1.20",
32
+ "@fullcalendar/timegrid": "^6.1.20",
29
33
  "@kizenapps/engine": "^0.3.1",
30
34
  "@kizenapps/packager": "^0.1.0",
31
35
  "@tanstack/react-query": "^5.97.0",
32
36
  "@tanstack/react-router": "^1.168.10",
37
+ "chrome-launcher": "^1.2.1",
38
+ "chrome-remote-interface": "^0.34.0",
33
39
  "commander": "^14.0.3",
34
- "electron": "^41.2.0",
35
40
  "ink": "^7.0.0",
36
41
  "react": "^19.2.0",
37
42
  "react-dom": "^19.2.0",
@@ -39,8 +44,7 @@
39
44
  },
40
45
  "pnpm": {
41
46
  "onlyBuiltDependencies": [
42
- "esbuild",
43
- "electron"
47
+ "esbuild"
44
48
  ],
45
49
  "allowedDeprecatedVersions": {
46
50
  "boolean": "3.2.0"
@@ -1,17 +0,0 @@
1
- {
2
- "manifest_version": 3,
3
- "name": "App Builder CSP Override",
4
- "version": "1.0",
5
- "description": "Strips CSP and X-Frame-Options headers for local development",
6
- "permissions": ["declarativeNetRequestWithHostAccess"],
7
- "host_permissions": ["<all_urls>"],
8
- "declarative_net_request": {
9
- "rule_resources": [
10
- {
11
- "id": "ruleset",
12
- "enabled": true,
13
- "path": "rules.json"
14
- }
15
- ]
16
- }
17
- }
@@ -1,17 +0,0 @@
1
- [
2
- {
3
- "id": 1,
4
- "priority": 1,
5
- "action": {
6
- "type": "modifyHeaders",
7
- "responseHeaders": [
8
- { "header": "content-security-policy", "operation": "remove" },
9
- { "header": "content-security-policy-report-only", "operation": "remove" },
10
- { "header": "x-frame-options", "operation": "remove" }
11
- ]
12
- },
13
- "condition": {
14
- "resourceTypes": ["main_frame", "sub_frame"]
15
- }
16
- }
17
- ]