dealpos 25.41.2 → 25.41.3

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 (83) hide show
  1. package/browser/{chunk-O3HYW3PV.js → chunk-2DQBDX5E.js} +1 -1
  2. package/browser/{chunk-LDEAORXA.js → chunk-2E4PNSTT.js} +1 -1
  3. package/browser/{chunk-X4LYU5XA.js → chunk-3C6ELYCG.js} +1 -1
  4. package/browser/{chunk-FBH7LG5C.js → chunk-3HGQ6VA3.js} +1 -1
  5. package/browser/{chunk-5PE5X2VB.js → chunk-3XIXVYS4.js} +1 -1
  6. package/browser/{chunk-SO3422SX.js → chunk-4DT4J5SA.js} +1 -1
  7. package/browser/{chunk-NA7ZJQET.js → chunk-4VQWWUZQ.js} +1 -1
  8. package/browser/{chunk-RP636SRQ.js → chunk-5BY3OQNX.js} +1 -1
  9. package/browser/{chunk-V3YO2TDM.js → chunk-5FMYOBKP.js} +1 -1
  10. package/browser/{chunk-I45IV26L.js → chunk-5YEXNQCT.js} +1 -1
  11. package/browser/{chunk-XHAPRGGF.js → chunk-6LQ6DVZN.js} +1 -1
  12. package/browser/{chunk-Y4MHZTLF.js → chunk-6MYRWSZC.js} +1 -1
  13. package/browser/{chunk-KMA5VOEA.js → chunk-6WKUSM4P.js} +1 -1
  14. package/browser/{chunk-RZFAYPJW.js → chunk-6YPVUOD7.js} +1 -1
  15. package/browser/{chunk-YDXY6QHK.js → chunk-6ZRIMZHA.js} +1 -1
  16. package/browser/{chunk-AKTKAREU.js → chunk-7KSMBMSW.js} +1 -1
  17. package/browser/{chunk-D5LBI5TH.js → chunk-ABSSU2NG.js} +1 -1
  18. package/browser/{chunk-Z3OYXF5N.js → chunk-AMNMXSBW.js} +1 -1
  19. package/browser/{chunk-MFIRFGE2.js → chunk-BAXQFKT2.js} +1 -1
  20. package/browser/{chunk-FZNAOCWZ.js → chunk-BJQ54S6Z.js} +2 -2
  21. package/browser/{chunk-PPWXHE7X.js → chunk-BWWKUWPU.js} +1 -1
  22. package/browser/{chunk-M7G3WT32.js → chunk-BYDCQMR7.js} +1 -1
  23. package/browser/{chunk-AAR4B3HZ.js → chunk-C5J6BILV.js} +1 -1
  24. package/browser/{chunk-UBMYMSUW.js → chunk-CEWIZH2D.js} +1 -1
  25. package/browser/{chunk-QJWMNNK6.js → chunk-EHW56RWW.js} +2 -2
  26. package/browser/{chunk-QE22VQQ7.js → chunk-ET53BRO2.js} +1 -1
  27. package/browser/{chunk-FRO3O6SU.js → chunk-EUZWX7OP.js} +1 -1
  28. package/browser/{chunk-PZID6T4A.js → chunk-EV7CDK2S.js} +1 -1
  29. package/browser/{chunk-GZ2EJLH3.js → chunk-FUQBPPS7.js} +1 -1
  30. package/browser/{chunk-QHX74QID.js → chunk-G6ZQA47T.js} +1 -1
  31. package/browser/{chunk-65CKGM2C.js → chunk-GA554R72.js} +1 -1
  32. package/browser/{chunk-ZFNJGBST.js → chunk-GAZ6XT73.js} +1 -1
  33. package/browser/{chunk-DE2STA2G.js → chunk-GPCFKZB6.js} +2 -2
  34. package/browser/{chunk-BZHL4W7T.js → chunk-GYJUMROD.js} +1 -1
  35. package/browser/{chunk-BAL3IIDS.js → chunk-H4CCCG5S.js} +1 -1
  36. package/browser/{chunk-HBC5DBVS.js → chunk-HKHEVZ4F.js} +1 -1
  37. package/browser/{chunk-PQUVDF3D.js → chunk-ITQTUFNF.js} +1 -1
  38. package/browser/{chunk-VP42CBUF.js → chunk-IVUIJMPR.js} +1 -1
  39. package/browser/chunk-JQ5JMDRA.js +1 -0
  40. package/browser/{chunk-N22LFPQL.js → chunk-JSMI5ZR4.js} +2 -2
  41. package/browser/{chunk-LID6CN6L.js → chunk-JVR63RQB.js} +1 -1
  42. package/browser/{chunk-GVI4QM2F.js → chunk-KLNPXOJ5.js} +1 -1
  43. package/browser/{chunk-ZC4V4XIM.js → chunk-LCACDZMC.js} +1 -1
  44. package/browser/{chunk-IXHBD564.js → chunk-LDYXX7R3.js} +1 -1
  45. package/browser/{chunk-TNLZPCYK.js → chunk-M3WKPJ2B.js} +1 -1
  46. package/browser/{chunk-4VMXYBU3.js → chunk-MACI2QKN.js} +2 -2
  47. package/browser/{chunk-3MDUYQJU.js → chunk-MSKOV2RA.js} +1 -1
  48. package/browser/{chunk-ZIQAYIU4.js → chunk-MVI65ECT.js} +1 -1
  49. package/browser/{chunk-HVMUCZ5I.js → chunk-MWQQC4XE.js} +1 -1
  50. package/browser/{chunk-SQC25JWL.js → chunk-NHP3HQCR.js} +1 -1
  51. package/browser/{chunk-ZKRFSVUW.js → chunk-NKHFNNJE.js} +2 -2
  52. package/browser/{chunk-UERDXH3W.js → chunk-O3EERFQN.js} +1 -1
  53. package/browser/{chunk-SSE7KV5S.js → chunk-OGM24Q2D.js} +1 -1
  54. package/browser/{chunk-2EQ7Y56O.js → chunk-PVWFJKSW.js} +2 -2
  55. package/browser/{chunk-JY5XX3QX.js → chunk-PZRVUFEQ.js} +2 -2
  56. package/browser/chunk-Q3AG7LWW.js +1 -0
  57. package/browser/{chunk-EYV7AZ42.js → chunk-Q6WPU7FA.js} +1 -1
  58. package/browser/{chunk-5MZEP3D7.js → chunk-QTEEAYLA.js} +1 -1
  59. package/browser/{chunk-6BXO4MVU.js → chunk-RDWRQIJV.js} +1 -1
  60. package/browser/{chunk-H54MTXKN.js → chunk-SFCQJQF3.js} +1 -1
  61. package/browser/{chunk-W4BJ4JBG.js → chunk-SMW5YQZJ.js} +1 -1
  62. package/browser/{chunk-AFYPHUZX.js → chunk-SWF5BE5P.js} +1 -1
  63. package/browser/{chunk-6IIF7CKF.js → chunk-T4K6XLBG.js} +1 -1
  64. package/browser/{chunk-E4R5MW6J.js → chunk-UCIQAWIS.js} +1 -1
  65. package/browser/{chunk-G7VSP6EW.js → chunk-V7USIKBO.js} +1 -1
  66. package/browser/{chunk-LGCRFIIA.js → chunk-VFFCV3EX.js} +1 -1
  67. package/browser/{chunk-34DMF3QT.js → chunk-VV7L7X33.js} +1 -1
  68. package/browser/{chunk-QHYHGORX.js → chunk-WRHYTFLY.js} +1 -1
  69. package/browser/{chunk-OFGVLEEZ.js → chunk-X44SOZNW.js} +1 -1
  70. package/browser/{chunk-GMX2JWEW.js → chunk-XXCIMR5I.js} +1 -1
  71. package/browser/{chunk-7S5F6JOF.js → chunk-YAO3JFMU.js} +1 -1
  72. package/browser/{chunk-TLWH7QTW.js → chunk-YHDEAPG3.js} +1 -1
  73. package/browser/{chunk-GVSOBS5Q.js → chunk-YMA57E2M.js} +2 -2
  74. package/browser/{chunk-K3367VWX.js → chunk-Z2U7HIL5.js} +1 -1
  75. package/browser/{chunk-SDADDOK4.js → chunk-ZEDVQYXH.js} +1 -1
  76. package/browser/{chunk-F4FAZ5ZL.js → chunk-ZEYY4NI2.js} +1 -1
  77. package/browser/{chunk-GHLCUW72.js → chunk-ZKO7GVNO.js} +1 -1
  78. package/browser/{chunk-CIEDGY7H.js → chunk-ZUQOVN3G.js} +1 -1
  79. package/browser/index.html +2 -2
  80. package/browser/{main-6UNPCULN.js → main-JSZQET37.js} +2 -2
  81. package/package.json +1 -1
  82. package/browser/chunk-7E6SMB44.js +0 -1
  83. package/browser/chunk-EZCQYLCW.js +0 -1
@@ -1,3 +1,3 @@
1
- import{b as ko,c as vn}from"./chunk-7C4FPJKC.js";import{a as sn}from"./chunk-OHZN3Z7O.js";import{a as ln,b as pr,c as cn,d as dn,e as mr,f as un,g as hr,h as fn,i as $e,j as br,k as G}from"./chunk-M4TPGDOJ.js";import{a as Xt}from"./chunk-GHC4BCCW.js";import"./chunk-GIKR6Y2K.js";import{d as bn}from"./chunk-3GV7FUAX.js";import{d as gn,g as hn,n as yn}from"./chunk-6BL2JKZG.js";import"./chunk-REQUYIUO.js";import{pa as pn,wa as mn}from"./chunk-OE7PM4Y4.js";import{F as nn,G as an,c as Zt,h as Jt,i as en,k as on,o as rn,p as tn}from"./chunk-CB33ZMNF.js";import{c as vo}from"./chunk-TLWH7QTW.js";import"./chunk-TNLZPCYK.js";import{a as le}from"./chunk-TYBAV5LT.js";import{a as K}from"./chunk-O3HYW3PV.js";import{$a as x,Ab as wt,Ac as go,Ad as Ut,Bd as dr,Cd as qt,D as gt,Dd as Y,E as pt,Ed as Ht,Fd as ur,Ga as ye,Gc as St,Gd as fr,Hc as Tt,I as mt,Ib as T,Jb as S,Jc as Ve,Jd as Te,Kb as N,Kd as ho,Ld as Qe,Ob as Ne,Od as Kt,Pa as so,Pd as Vt,Qa as nr,Qb as Se,Qd as Oe,Rb as O,Rd as Qt,S as ht,Sc as Et,Td as gr,Ud as $t,Va as lo,Vb as Ct,Vd as bo,Wa as Ke,Wc as Mt,Wd as Yt,Xd as Gt,Y as or,Yc as At,Yd as yo,Zc as po,aa as ue,ba as rr,bb as vt,c as io,cd as Pt,d as ct,db as ae,ec as L,ed as Bt,fa as bt,fc as co,gc as De,gd as Rt,h as dt,ha as _,i as ut,ja as te,jc as sr,jd as It,ka as ne,kb as ve,kc as lr,l as Ue,la as ie,lb as se,lc as cr,ld as Nt,m as ao,ma as P,md as Dt,n as qe,na as Q,nd as Ot,o as He,ob as kt,od as Lt,p as ft,pa as yt,pd as mo,qb as pe,qc as uo,rc as _t,sa as tr,sc as xt,sd as zt,t as de,ub as ir,ud as Ft,va as fe,vb as M,vd as jt,wa as ge,wb as ar,wd as Wt,yd as v,zb as Ie,zc as fo,zd as $}from"./chunk-DJOHANFC.js";import{a as Re,b as st,d as lt,j as be}from"./chunk-7DCB7DB2.js";function kn(t){return new _(3e3,!1)}function xs(){return new _(3100,!1)}function Ss(){return new _(3101,!1)}function Ts(t){return new _(3001,!1)}function Es(t){return new _(3003,!1)}function Ms(t){return new _(3004,!1)}function Cn(t,e){return new _(3005,!1)}function _n(){return new _(3006,!1)}function xn(){return new _(3007,!1)}function Sn(t,e){return new _(3008,!1)}function Tn(t){return new _(3002,!1)}function En(t,e,o,r,n){return new _(3010,!1)}function Mn(){return new _(3011,!1)}function An(){return new _(3012,!1)}function Pn(){return new _(3200,!1)}function Bn(){return new _(3202,!1)}function Rn(){return new _(3013,!1)}function In(t){return new _(3014,!1)}function Nn(t){return new _(3015,!1)}function Dn(t){return new _(3016,!1)}function On(t,e){return new _(3404,!1)}function As(t){return new _(3502,!1)}function Ln(t){return new _(3503,!1)}function zn(){return new _(3300,!1)}function Fn(t){return new _(3504,!1)}function jn(t){return new _(3301,!1)}function Wn(t,e){return new _(3302,!1)}function Un(t){return new _(3303,!1)}function qn(t,e){return new _(3400,!1)}function Hn(t){return new _(3401,!1)}function Kn(t){return new _(3402,!1)}function Vn(t,e){return new _(3505,!1)}function me(t){switch(t.length){case 0:return new Te;case 1:return t[0];default:return new ho(t)}}function wr(t,e,o=new Map,r=new Map){let n=[],i=[],a=-1,s=null;if(e.forEach(l=>{let c=l.get("offset"),d=c==a,u=d&&s||new Map;l.forEach((y,p)=>{let g=p,h=y;if(p!=="offset")switch(g=t.normalizePropertyName(g,n),h){case Qe:h=o.get(p);break;case $:h=r.get(p);break;default:h=t.normalizeStyleValue(p,g,h,n);break}u.set(g,h)}),d||i.push(u),s=u,a=c}),n.length)throw As(n);return i}function wo(t,e,o,r){switch(e){case"start":t.onStart(()=>r(o&&yr(o,"start",t)));break;case"done":t.onDone(()=>r(o&&yr(o,"done",t)));break;case"destroy":t.onDestroy(()=>r(o&&yr(o,"destroy",t)));break}}function yr(t,e,o){let r=o.totalTime,n=!!o.disabled,i=Co(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,r??t.totalTime,n),a=t._data;return a!=null&&(i._data=a),i}function Co(t,e,o,r,n="",i=0,a){return{element:t,triggerName:e,fromState:o,toState:r,phaseName:n,totalTime:i,disabled:!!a}}function W(t,e,o){let r=t.get(e);return r||t.set(e,r=o),r}function Cr(t){let e=t.indexOf(":"),o=t.substring(1,e),r=t.slice(e+1);return[o,r]}var Ps=typeof document>"u"?null:document.documentElement;function _o(t){let e=t.parentNode||t.host||null;return e===Ps?null:e}function Bs(t){return t.substring(1,6)=="ebkit"}var Ee=null,wn=!1;function Qn(t){Ee||(Ee=Rs()||{},wn=Ee.style?"WebkitAppearance"in Ee.style:!1);let e=!0;return Ee.style&&!Bs(t)&&(e=t in Ee.style,!e&&wn&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Ee.style)),e}function Rs(){return typeof document<"u"?document.body:null}function _r(t,e){for(;e;){if(e===t)return!0;e=_o(e)}return!1}function xr(t,e,o){if(o)return Array.from(t.querySelectorAll(e));let r=t.querySelector(e);return r?[r]:[]}var Is=1e3,Sr="{{",Ns="}}",Tr="ng-enter",xo="ng-leave",Ye="ng-trigger",Ge=".ng-trigger",Er="ng-animating",So=".ng-animating";function ce(t){if(typeof t=="number")return t;let e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:vr(parseFloat(e[1]),e[2])}function vr(t,e){switch(e){case"s":return t*Is;default:return t}}function Xe(t,e,o){return t.hasOwnProperty("duration")?t:Ds(t,e,o)}function Ds(t,e,o){let r=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,n,i=0,a="";if(typeof t=="string"){let s=t.match(r);if(s===null)return e.push(kn(t)),{duration:0,delay:0,easing:""};n=vr(parseFloat(s[1]),s[2]);let l=s[3];l!=null&&(i=vr(parseFloat(l),s[4]));let c=s[5];c&&(a=c)}else n=t;if(!o){let s=!1,l=e.length;n<0&&(e.push(xs()),s=!0),i<0&&(e.push(Ss()),s=!0),s&&e.splice(l,0,kn(t))}return{duration:n,delay:i,easing:a}}function $n(t){return t.length?t[0]instanceof Map?t:t.map(e=>new Map(Object.entries(e))):[]}function X(t,e,o){e.forEach((r,n)=>{let i=To(n);o&&!o.has(n)&&o.set(n,t.style[i]),t.style[i]=r})}function ke(t,e){e.forEach((o,r)=>{let n=To(r);t.style[n]=""})}function Le(t){return Array.isArray(t)?t.length==1?t[0]:qt(t):t}function Yn(t,e,o){let r=e.params||{},n=Mr(t);n.length&&n.forEach(i=>{r.hasOwnProperty(i)||o.push(Ts(i))})}var kr=new RegExp(`${Sr}\\s*(.+?)\\s*${Ns}`,"g");function Mr(t){let e=[];if(typeof t=="string"){let o;for(;o=kr.exec(t);)e.push(o[1]);kr.lastIndex=0}return e}function ze(t,e,o){let r=`${t}`,n=r.replace(kr,(i,a)=>{let s=e[a];return s==null&&(o.push(Es(a)),s=""),s.toString()});return n==r?t:n}var Os=/-+([a-z0-9])/g;function To(t){return t.replace(Os,(...e)=>e[1].toUpperCase())}function Gn(t,e){return t===0||e===0}function Xn(t,e,o){if(o.size&&e.length){let r=e[0],n=[];if(o.forEach((i,a)=>{r.has(a)||n.push(a),r.set(a,i)}),n.length)for(let i=1;i<e.length;i++){let a=e[i];n.forEach(s=>a.set(s,Eo(t,s)))}}return e}function U(t,e,o){switch(e.type){case v.Trigger:return t.visitTrigger(e,o);case v.State:return t.visitState(e,o);case v.Transition:return t.visitTransition(e,o);case v.Sequence:return t.visitSequence(e,o);case v.Group:return t.visitGroup(e,o);case v.Animate:return t.visitAnimate(e,o);case v.Keyframes:return t.visitKeyframes(e,o);case v.Style:return t.visitStyle(e,o);case v.Reference:return t.visitReference(e,o);case v.AnimateChild:return t.visitAnimateChild(e,o);case v.AnimateRef:return t.visitAnimateRef(e,o);case v.Query:return t.visitQuery(e,o);case v.Stagger:return t.visitStagger(e,o);default:throw Ms(e.type)}}function Eo(t,e){return window.getComputedStyle(t)[e]}var Kr=(()=>{class t{validateStyleProperty(o){return Qn(o)}containsElement(o,r){return _r(o,r)}getParentElement(o){return _o(o)}query(o,r,n){return xr(o,r,n)}computeStyle(o,r,n){return n||""}animate(o,r,n,i,a,s=[],l){return new Te(n,i)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=te({token:t,factory:t.\u0275fac})}return t})(),Ae=class{static NOOP=new Kr},Pe=class{};var Ls=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Ro=class extends Pe{normalizePropertyName(e,o){return To(e)}normalizeStyleValue(e,o,r,n){let i="",a=r.toString().trim();if(Ls.has(o)&&r!==0&&r!=="0")if(typeof r=="number")i="px";else{let s=r.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&s[1].length==0&&n.push(Cn(e,r))}return a+i}};var Io="*";function zs(t,e){let o=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(r=>Fs(r,o,e)):o.push(t),o}function Fs(t,e,o){if(t[0]==":"){let l=js(t,o);if(typeof l=="function"){e.push(l);return}t=l}let r=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(r==null||r.length<4)return o.push(Nn(t)),e;let n=r[1],i=r[2],a=r[3];e.push(Zn(n,a));let s=n==Io&&a==Io;i[0]=="<"&&!s&&e.push(Zn(a,n))}function js(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(o,r)=>parseFloat(r)>parseFloat(o);case":decrement":return(o,r)=>parseFloat(r)<parseFloat(o);default:return e.push(Dn(t)),"* => *"}}var Mo=new Set(["true","1"]),Ao=new Set(["false","0"]);function Zn(t,e){let o=Mo.has(t)||Ao.has(t),r=Mo.has(e)||Ao.has(e);return(n,i)=>{let a=t==Io||t==n,s=e==Io||e==i;return!a&&o&&typeof n=="boolean"&&(a=n?Mo.has(t):Ao.has(t)),!s&&r&&typeof i=="boolean"&&(s=i?Mo.has(e):Ao.has(e)),a&&s}}var li=":self",Ws=new RegExp(`s*${li}s*,?`,"g");function ci(t,e,o,r){return new Nr(t).build(e,o,r)}var Jn="",Nr=class{_driver;constructor(e){this._driver=e}build(e,o,r){let n=new Dr(o);return this._resetContextStyleTimingState(n),U(this,Le(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=Jn,e.collectedStyles=new Map,e.collectedStyles.set(Jn,new Map),e.currentTime=0}visitTrigger(e,o){let r=o.queryCount=0,n=o.depCount=0,i=[],a=[];return e.name.charAt(0)=="@"&&o.errors.push(_n()),e.definitions.forEach(s=>{if(this._resetContextStyleTimingState(o),s.type==v.State){let l=s,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,i.push(this.visitState(l,o))}),l.name=c}else if(s.type==v.Transition){let l=this.visitTransition(s,o);r+=l.queryCount,n+=l.depCount,a.push(l)}else o.errors.push(xn())}),{type:v.Trigger,name:e.name,states:i,transitions:a,queryCount:r,depCount:n,options:null}}visitState(e,o){let r=this.visitStyle(e.styles,o),n=e.options&&e.options.params||null;if(r.containsDynamicStyles){let i=new Set,a=n||{};r.styles.forEach(s=>{s instanceof Map&&s.forEach(l=>{Mr(l).forEach(c=>{a.hasOwnProperty(c)||i.add(c)})})}),i.size&&o.errors.push(Sn(e.name,[...i.values()]))}return{type:v.State,name:e.name,style:r,options:n?{params:n}:null}}visitTransition(e,o){o.queryCount=0,o.depCount=0;let r=U(this,Le(e.animation),o),n=zs(e.expr,o.errors);return{type:v.Transition,matchers:n,animation:r,queryCount:o.queryCount,depCount:o.depCount,options:Me(e.options)}}visitSequence(e,o){return{type:v.Sequence,steps:e.steps.map(r=>U(this,r,o)),options:Me(e.options)}}visitGroup(e,o){let r=o.currentTime,n=0,i=e.steps.map(a=>{o.currentTime=r;let s=U(this,a,o);return n=Math.max(n,o.currentTime),s});return o.currentTime=n,{type:v.Group,steps:i,options:Me(e.options)}}visitAnimate(e,o){let r=Ks(e.timings,o.errors);o.currentAnimateTimings=r;let n,i=e.styles?e.styles:Y({});if(i.type==v.Keyframes)n=this.visitKeyframes(i,o);else{let a=e.styles,s=!1;if(!a){s=!0;let c={};r.easing&&(c.easing=r.easing),a=Y(c)}o.currentTime+=r.duration+r.delay;let l=this.visitStyle(a,o);l.isEmptyStep=s,n=l}return o.currentAnimateTimings=null,{type:v.Animate,timings:r,style:n,options:null}}visitStyle(e,o){let r=this._makeStyleAst(e,o);return this._validateStyleAst(r,o),r}_makeStyleAst(e,o){let r=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let s of n)typeof s=="string"?s===$?r.push(s):o.errors.push(Tn(s)):r.push(new Map(Object.entries(s)));let i=!1,a=null;return r.forEach(s=>{if(s instanceof Map&&(s.has("easing")&&(a=s.get("easing"),s.delete("easing")),!i)){for(let l of s.values())if(l.toString().indexOf(Sr)>=0){i=!0;break}}}),{type:v.Style,styles:r,easing:a,offset:e.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(e,o){let r=o.currentAnimateTimings,n=o.currentTime,i=o.currentTime;r&&i>0&&(i-=r.duration+r.delay),e.styles.forEach(a=>{typeof a!="string"&&a.forEach((s,l)=>{let c=o.collectedStyles.get(o.currentQuerySelector),d=c.get(l),u=!0;d&&(i!=n&&i>=d.startTime&&n<=d.endTime&&(o.errors.push(En(l,d.startTime,d.endTime,i,n)),u=!1),i=d.startTime),u&&c.set(l,{startTime:i,endTime:n}),o.options&&Yn(s,o.options,o.errors)})})}visitKeyframes(e,o){let r={type:v.Keyframes,styles:[],options:null};if(!o.currentAnimateTimings)return o.errors.push(Mn()),r;let n=1,i=0,a=[],s=!1,l=!1,c=0,d=e.steps.map(B=>{let R=this._makeStyleAst(B,o),k=R.offset!=null?R.offset:Hs(R.styles),E=0;return k!=null&&(i++,E=R.offset=k),l=l||E<0||E>1,s=s||E<c,c=E,a.push(E),R});l&&o.errors.push(An()),s&&o.errors.push(Pn());let u=e.steps.length,y=0;i>0&&i<u?o.errors.push(Bn()):i==0&&(y=n/(u-1));let p=u-1,g=o.currentTime,h=o.currentAnimateTimings,w=h.duration;return d.forEach((B,R)=>{let k=y>0?R==p?1:y*R:a[R],E=k*w;o.currentTime=g+h.delay+E,h.duration=E,this._validateStyleAst(B,o),B.offset=k,r.styles.push(B)}),r}visitReference(e,o){return{type:v.Reference,animation:U(this,Le(e.animation),o),options:Me(e.options)}}visitAnimateChild(e,o){return o.depCount++,{type:v.AnimateChild,options:Me(e.options)}}visitAnimateRef(e,o){return{type:v.AnimateRef,animation:this.visitReference(e.animation,o),options:Me(e.options)}}visitQuery(e,o){let r=o.currentQuerySelector,n=e.options||{};o.queryCount++,o.currentQuery=e;let[i,a]=Us(e.selector);o.currentQuerySelector=r.length?r+" "+i:i,W(o.collectedStyles,o.currentQuerySelector,new Map);let s=U(this,Le(e.animation),o);return o.currentQuery=null,o.currentQuerySelector=r,{type:v.Query,selector:i,limit:n.limit||0,optional:!!n.optional,includeSelf:a,animation:s,originalSelector:e.selector,options:Me(e.options)}}visitStagger(e,o){o.currentQuery||o.errors.push(Rn());let r=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Xe(e.timings,o.errors,!0);return{type:v.Stagger,animation:U(this,Le(e.animation),o),timings:r,options:null}}};function Us(t){let e=!!t.split(/\s*,\s*/).find(o=>o==li);return e&&(t=t.replace(Ws,"")),t=t.replace(/@\*/g,Ge).replace(/@\w+/g,o=>Ge+"-"+o.slice(1)).replace(/:animating/g,So),[t,e]}function qs(t){return t?Re({},t):null}var Dr=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(e){this.errors=e}};function Hs(t){if(typeof t=="string")return null;let e=null;if(Array.isArray(t))t.forEach(o=>{if(o instanceof Map&&o.has("offset")){let r=o;e=parseFloat(r.get("offset")),r.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let o=t;e=parseFloat(o.get("offset")),o.delete("offset")}return e}function Ks(t,e){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let i=Xe(t,e).duration;return Ar(i,0,"")}let o=t;if(o.split(/\s+/).some(i=>i.charAt(0)=="{"&&i.charAt(1)=="{")){let i=Ar(0,0,"");return i.dynamic=!0,i.strValue=o,i}let n=Xe(o,e);return Ar(n.duration,n.delay,n.easing)}function Me(t){return t?(t=Re({},t),t.params&&(t.params=qs(t.params))):t={},t}function Ar(t,e,o){return{duration:t,delay:e,easing:o}}function Vr(t,e,o,r,n,i,a=null,s=!1){return{type:1,element:t,keyframes:e,preStyleProps:o,postStyleProps:r,duration:n,delay:i,totalTime:n+i,easing:a,subTimeline:s}}var Je=class{_map=new Map;get(e){return this._map.get(e)||[]}append(e,o){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...o)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Vs=1,Qs=":enter",$s=new RegExp(Qs,"g"),Ys=":leave",Gs=new RegExp(Ys,"g");function di(t,e,o,r,n,i=new Map,a=new Map,s,l,c=[]){return new Or().buildKeyframes(t,e,o,r,n,i,a,s,l,c)}var Or=class{buildKeyframes(e,o,r,n,i,a,s,l,c,d=[]){c=c||new Je;let u=new Lr(e,o,c,n,i,d,[]);u.options=l;let y=l.delay?ce(l.delay):0;u.currentTimeline.delayNextStep(y),u.currentTimeline.setStyles([a],null,u.errors,l),U(this,r,u);let p=u.timelines.filter(g=>g.containsAnimation());if(p.length&&s.size){let g;for(let h=p.length-1;h>=0;h--){let w=p[h];if(w.element===o){g=w;break}}g&&!g.allowOnlyTimelineStyles()&&g.setStyles([s],null,u.errors,l)}return p.length?p.map(g=>g.buildKeyframes()):[Vr(o,[],[],[],0,y,"",!1)]}visitTrigger(e,o){}visitState(e,o){}visitTransition(e,o){}visitAnimateChild(e,o){let r=o.subInstructions.get(o.element);if(r){let n=o.createSubContext(e.options),i=o.currentTimeline.currentTime,a=this._visitSubInstructions(r,n,n.options);i!=a&&o.transformIntoNewTimeline(a)}o.previousNode=e}visitAnimateRef(e,o){let r=o.createSubContext(e.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],o,r),this.visitReference(e.animation,r),o.transformIntoNewTimeline(r.currentTimeline.currentTime),o.previousNode=e}_applyAnimationRefDelays(e,o,r){for(let n of e){let i=n?.delay;if(i){let a=typeof i=="number"?i:ce(ze(i,n?.params??{},o.errors));r.delayNextStep(a)}}}_visitSubInstructions(e,o,r){let i=o.currentTimeline.currentTime,a=r.duration!=null?ce(r.duration):null,s=r.delay!=null?ce(r.delay):null;return a!==0&&e.forEach(l=>{let c=o.appendInstructionToTimeline(l,a,s);i=Math.max(i,c.duration+c.delay)}),i}visitReference(e,o){o.updateOptions(e.options,!0),U(this,e.animation,o),o.previousNode=e}visitSequence(e,o){let r=o.subContextCount,n=o,i=e.options;if(i&&(i.params||i.delay)&&(n=o.createSubContext(i),n.transformIntoNewTimeline(),i.delay!=null)){n.previousNode.type==v.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=No);let a=ce(i.delay);n.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>U(this,a,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>r&&n.transformIntoNewTimeline()),o.previousNode=e}visitGroup(e,o){let r=[],n=o.currentTimeline.currentTime,i=e.options&&e.options.delay?ce(e.options.delay):0;e.steps.forEach(a=>{let s=o.createSubContext(e.options);i&&s.delayNextStep(i),U(this,a,s),n=Math.max(n,s.currentTimeline.currentTime),r.push(s.currentTimeline)}),r.forEach(a=>o.currentTimeline.mergeTimelineCollectedStyles(a)),o.transformIntoNewTimeline(n),o.previousNode=e}_visitTiming(e,o){if(e.dynamic){let r=e.strValue,n=o.params?ze(r,o.params,o.errors):r;return Xe(n,o.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,o){let r=o.currentAnimateTimings=this._visitTiming(e.timings,o),n=o.currentTimeline;r.delay&&(o.incrementTime(r.delay),n.snapshotCurrentStyles());let i=e.style;i.type==v.Keyframes?this.visitKeyframes(i,o):(o.incrementTime(r.duration),this.visitStyle(i,o),n.applyStylesToKeyframe()),o.currentAnimateTimings=null,o.previousNode=e}visitStyle(e,o){let r=o.currentTimeline,n=o.currentAnimateTimings;!n&&r.hasCurrentStyleProperties()&&r.forwardFrame();let i=n&&n.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(i):r.setStyles(e.styles,i,o.errors,o.options),o.previousNode=e}visitKeyframes(e,o){let r=o.currentAnimateTimings,n=o.currentTimeline.duration,i=r.duration,s=o.createSubContext().currentTimeline;s.easing=r.easing,e.styles.forEach(l=>{let c=l.offset||0;s.forwardTime(c*i),s.setStyles(l.styles,l.easing,o.errors,o.options),s.applyStylesToKeyframe()}),o.currentTimeline.mergeTimelineCollectedStyles(s),o.transformIntoNewTimeline(n+i),o.previousNode=e}visitQuery(e,o){let r=o.currentTimeline.currentTime,n=e.options||{},i=n.delay?ce(n.delay):0;i&&(o.previousNode.type===v.Style||r==0&&o.currentTimeline.hasCurrentStyleProperties())&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=No);let a=r,s=o.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,o.errors);o.currentQueryTotal=s.length;let l=null;s.forEach((c,d)=>{o.currentQueryIndex=d;let u=o.createSubContext(e.options,c);i&&u.delayNextStep(i),c===o.element&&(l=u.currentTimeline),U(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let y=u.currentTimeline.currentTime;a=Math.max(a,y)}),o.currentQueryIndex=0,o.currentQueryTotal=0,o.transformIntoNewTimeline(a),l&&(o.currentTimeline.mergeTimelineCollectedStyles(l),o.currentTimeline.snapshotCurrentStyles()),o.previousNode=e}visitStagger(e,o){let r=o.parentContext,n=o.currentTimeline,i=e.timings,a=Math.abs(i.duration),s=a*(o.currentQueryTotal-1),l=a*o.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":l=s-l;break;case"full":l=r.currentStaggerTime;break}let d=o.currentTimeline;l&&d.delayNextStep(l);let u=d.currentTime;U(this,e.animation,o),o.previousNode=e,r.currentStaggerTime=n.currentTime-u+(n.startTime-r.currentTimeline.startTime)}},No={},Lr=class t{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=No;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(e,o,r,n,i,a,s,l){this._driver=e,this.element=o,this.subInstructions=r,this._enterClassName=n,this._leaveClassName=i,this.errors=a,this.timelines=s,this.currentTimeline=l||new Do(this._driver,o,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,o){if(!e)return;let r=e,n=this.options;r.duration!=null&&(n.duration=ce(r.duration)),r.delay!=null&&(n.delay=ce(r.delay));let i=r.params;if(i){let a=n.params;a||(a=this.options.params={}),Object.keys(i).forEach(s=>{(!o||!a.hasOwnProperty(s))&&(a[s]=ze(i[s],a,this.errors))})}}_copyOptions(){let e={};if(this.options){let o=this.options.params;if(o){let r=e.params={};Object.keys(o).forEach(n=>{r[n]=o[n]})}}return e}createSubContext(e=null,o,r){let n=o||this.element,i=new t(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,r||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(e),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(e){return this.previousNode=No,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,o,r){let n={duration:o??e.duration,delay:this.currentTimeline.currentTime+(r??0)+e.delay,easing:""},i=new zr(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,n,e.stretchStartingKeyframe);return this.timelines.push(i),n}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,o,r,n,i,a){let s=[];if(n&&s.push(this.element),e.length>0){e=e.replace($s,"."+this._enterClassName),e=e.replace(Gs,"."+this._leaveClassName);let l=r!=1,c=this._driver.query(this.element,e,l);r!==0&&(c=r<0?c.slice(c.length+r,c.length):c.slice(0,r)),s.push(...c)}return!i&&s.length==0&&a.push(In(o)),s}},Do=class t{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(e,o,r,n){this._driver=e,this.element=o,this.startTime=r,this._elementTimelineStylesLookup=n,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(o),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(o,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let o=this._keyframes.size===1&&this._pendingStyles.size;this.duration||o?(this.forwardTime(this.currentTime+e),o&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,o){return this.applyStylesToKeyframe(),new t(this._driver,e,o||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Vs,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,o){this._localTimelineStyles.set(e,o),this._globalTimelineStyles.set(e,o),this._styleSummary.set(e,{time:this.currentTime,value:o})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[o,r]of this._globalTimelineStyles)this._backFill.set(o,r||$),this._currentKeyframe.set(o,$);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,o,r,n){o&&this._previousKeyframe.set("easing",o);let i=n&&n.params||{},a=Xs(e,this._globalTimelineStyles);for(let[s,l]of a){let c=ze(l,i,r);this._pendingStyles.set(s,c),this._localTimelineStyles.has(s)||this._backFill.set(s,this._globalTimelineStyles.get(s)??$),this._updateStyle(s,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,o)=>{this._currentKeyframe.set(o,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,o)=>{this._currentKeyframe.has(o)||this._currentKeyframe.set(o,e)}))}snapshotCurrentStyles(){for(let[e,o]of this._localTimelineStyles)this._pendingStyles.set(e,o),this._updateStyle(e,o)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let o in this._currentKeyframe)e.push(o);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((o,r)=>{let n=this._styleSummary.get(r);(!n||o.time>n.time)&&this._updateStyle(r,o.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,o=new Set,r=this._keyframes.size===1&&this.duration===0,n=[];this._keyframes.forEach((s,l)=>{let c=new Map([...this._backFill,...s]);c.forEach((d,u)=>{d===Qe?e.add(u):d===$&&o.add(u)}),r||c.set("offset",l/this.duration),n.push(c)});let i=[...e.values()],a=[...o.values()];if(r){let s=n[0],l=new Map(s);s.set("offset",0),l.set("offset",1),n=[s,l]}return Vr(this.element,n,i,a,this.duration,this.startTime,this.easing,!1)}},zr=class extends Do{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(e,o,r,n,i,a,s=!1){super(e,o,a.delay),this.keyframes=r,this.preStyleProps=n,this.postStyleProps=i,this._stretchStartingKeyframe=s,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:o,duration:r,easing:n}=this.timings;if(this._stretchStartingKeyframe&&o){let i=[],a=r+o,s=o/a,l=new Map(e[0]);l.set("offset",0),i.push(l);let c=new Map(e[0]);c.set("offset",ei(s)),i.push(c);let d=e.length-1;for(let u=1;u<=d;u++){let y=new Map(e[u]),p=y.get("offset"),g=o+p*r;y.set("offset",ei(g/a)),i.push(y)}r=a,o=0,n="",e=i}return Vr(this.element,e,this.preStyleProps,this.postStyleProps,r,o,n,!0)}};function ei(t,e=3){let o=Math.pow(10,e-1);return Math.round(t*o)/o}function Xs(t,e){let o=new Map,r;return t.forEach(n=>{if(n==="*"){r??=e.keys();for(let i of r)o.set(i,$)}else for(let[i,a]of n)o.set(i,a)}),o}function oi(t,e,o,r,n,i,a,s,l,c,d,u,y){return{type:0,element:t,triggerName:e,isRemovalTransition:n,fromState:o,fromStyles:i,toState:r,toStyles:a,timelines:s,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:y}}var Pr={},Oo=class{_triggerName;ast;_stateStyles;constructor(e,o,r){this._triggerName=e,this.ast=o,this._stateStyles=r}match(e,o,r,n){return Zs(this.ast.matchers,e,o,r,n)}buildStyles(e,o,r){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e?.toString())||n),n?n.buildStyles(o,r):new Map}build(e,o,r,n,i,a,s,l,c,d){let u=[],y=this.ast.options&&this.ast.options.params||Pr,p=s&&s.params||Pr,g=this.buildStyles(r,p,u),h=l&&l.params||Pr,w=this.buildStyles(n,h,u),B=new Set,R=new Map,k=new Map,E=n==="void",F={params:ui(h,y),delay:this.ast.options?.delay},oe=d?[]:di(e,o,this.ast.animation,i,a,g,w,F,c,u),z=0;return oe.forEach(j=>{z=Math.max(j.duration+j.delay,z)}),u.length?oi(o,this._triggerName,r,n,E,g,w,[],[],R,k,z,u):(oe.forEach(j=>{let Ce=j.element,Be=W(R,Ce,new Set);j.preStyleProps.forEach(_e=>Be.add(_e));let tt=W(k,Ce,new Set);j.postStyleProps.forEach(_e=>tt.add(_e)),Ce!==o&&B.add(Ce)}),oi(o,this._triggerName,r,n,E,g,w,oe,[...B.values()],R,k,z))}};function Zs(t,e,o,r,n){return t.some(i=>i(e,o,r,n))}function ui(t,e){let o=Re({},e);return Object.entries(t).forEach(([r,n])=>{n!=null&&(o[r]=n)}),o}var Fr=class{styles;defaultParams;normalizer;constructor(e,o,r){this.styles=e,this.defaultParams=o,this.normalizer=r}buildStyles(e,o){let r=new Map,n=ui(e,this.defaultParams);return this.styles.styles.forEach(i=>{typeof i!="string"&&i.forEach((a,s)=>{a&&(a=ze(a,n,o));let l=this.normalizer.normalizePropertyName(s,o);a=this.normalizer.normalizeStyleValue(s,l,a,o),r.set(s,a)})}),r}};function Js(t,e,o){return new jr(t,e,o)}var jr=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(e,o,r){this.name=e,this.ast=o,this._normalizer=r,o.states.forEach(n=>{let i=n.options&&n.options.params||{};this.states.set(n.name,new Fr(n.style,i,r))}),ri(this.states,"true","1"),ri(this.states,"false","0"),o.transitions.forEach(n=>{this.transitionFactories.push(new Oo(e,n,this.states))}),this.fallbackTransition=el(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,o,r,n){return this.transitionFactories.find(a=>a.match(e,o,r,n))||null}matchStyles(e,o,r){return this.fallbackTransition.buildStyles(e,o,r)}};function el(t,e,o){let r=[(a,s)=>!0],n={type:v.Sequence,steps:[],options:null},i={type:v.Transition,animation:n,matchers:r,options:null,queryCount:0,depCount:0};return new Oo(t,i,e)}function ri(t,e,o){t.has(e)?t.has(o)||t.set(o,t.get(e)):t.has(o)&&t.set(e,t.get(o))}var ol=new Je,Wr=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(e,o,r){this.bodyNode=e,this._driver=o,this._normalizer=r}register(e,o){let r=[],n=[],i=ci(this._driver,o,r,n);if(r.length)throw Ln(r);this._animations.set(e,i)}_buildPlayer(e,o,r){let n=e.element,i=wr(this._normalizer,e.keyframes,o,r);return this._driver.animate(n,i,e.duration,e.delay,e.easing,[],!0)}create(e,o,r={}){let n=[],i=this._animations.get(e),a,s=new Map;if(i?(a=di(this._driver,o,i,Tr,xo,new Map,new Map,r,ol,n),a.forEach(d=>{let u=W(s,d.element,new Map);d.postStyleProps.forEach(y=>u.set(y,null))})):(n.push(zn()),a=[]),n.length)throw Fn(n);s.forEach((d,u)=>{d.forEach((y,p)=>{d.set(p,this._driver.computeStyle(u,p,$))})});let l=a.map(d=>{let u=s.get(d.element);return this._buildPlayer(d,new Map,u)}),c=me(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let o=this._getPlayer(e);o.destroy(),this._playersById.delete(e);let r=this.players.indexOf(o);r>=0&&this.players.splice(r,1)}_getPlayer(e){let o=this._playersById.get(e);if(!o)throw jn(e);return o}listen(e,o,r,n){let i=Co(o,"","","");return wo(this._getPlayer(e),r,i,n),()=>{}}command(e,o,r,n){if(r=="register"){this.register(e,n[0]);return}if(r=="create"){let a=n[0]||{};this.create(e,o,a);return}let i=this._getPlayer(e);switch(r){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e);break}}},ti="ng-animate-queued",rl=".ng-animate-queued",Br="ng-animate-disabled",tl=".ng-animate-disabled",nl="ng-star-inserted",il=".ng-star-inserted",al=[],fi={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},sl={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Z="__ng_removed",eo=class{namespaceId;value;options;get params(){return this.options.params}constructor(e,o=""){this.namespaceId=o;let r=e&&e.hasOwnProperty("value"),n=r?e.value:e;if(this.value=cl(n),r){let i=e,{value:a}=i,s=lt(i,["value"]);this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let o=e.params;if(o){let r=this.options.params;Object.keys(o).forEach(n=>{r[n]==null&&(r[n]=o[n])})}}},Ze="void",Rr=new eo(Ze),Ur=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(e,o,r){this.id=e,this.hostElement=o,this._engine=r,this._hostClassName="ng-tns-"+e,V(o,this._hostClassName)}listen(e,o,r,n){if(!this._triggers.has(o))throw Wn(r,o);if(r==null||r.length==0)throw Un(o);if(!dl(r))throw qn(r,o);let i=W(this._elementListeners,e,[]),a={name:o,phase:r,callback:n};i.push(a);let s=W(this._engine.statesByElement,e,new Map);return s.has(o)||(V(e,Ye),V(e,Ye+"-"+o),s.set(o,Rr)),()=>{this._engine.afterFlush(()=>{let l=i.indexOf(a);l>=0&&i.splice(l,1),this._triggers.has(o)||s.delete(o)})}}register(e,o){return this._triggers.has(e)?!1:(this._triggers.set(e,o),!0)}_getTrigger(e){let o=this._triggers.get(e);if(!o)throw Hn(e);return o}trigger(e,o,r,n=!0){let i=this._getTrigger(o),a=new oo(this.id,o,e),s=this._engine.statesByElement.get(e);s||(V(e,Ye),V(e,Ye+"-"+o),this._engine.statesByElement.set(e,s=new Map));let l=s.get(o),c=new eo(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),s.set(o,c),l||(l=Rr),!(c.value===Ze)&&l.value===c.value){if(!gl(l.params,c.params)){let h=[],w=i.matchStyles(l.value,l.params,h),B=i.matchStyles(c.value,c.params,h);h.length?this._engine.reportError(h):this._engine.afterFlush(()=>{ke(e,w),X(e,B)})}return}let y=W(this._engine.playersByElement,e,[]);y.forEach(h=>{h.namespaceId==this.id&&h.triggerName==o&&h.queued&&h.destroy()});let p=i.matchTransition(l.value,c.value,e,c.params),g=!1;if(!p){if(!n)return;p=i.fallbackTransition,g=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:o,transition:p,fromState:l,toState:c,player:a,isFallbackTransition:g}),g||(V(e,ti),a.onStart(()=>{Fe(e,ti)})),a.onDone(()=>{let h=this.players.indexOf(a);h>=0&&this.players.splice(h,1);let w=this._engine.playersByElement.get(e);if(w){let B=w.indexOf(a);B>=0&&w.splice(B,1)}}),this.players.push(a),y.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(o=>o.delete(e)),this._elementListeners.forEach((o,r)=>{this._elementListeners.set(r,o.filter(n=>n.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let o=this._engine.playersByElement.get(e);o&&(o.forEach(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,o){let r=this._engine.driver.query(e,Ge,!0);r.forEach(n=>{if(n[Z])return;let i=this._engine.fetchNamespacesByElement(n);i.size?i.forEach(a=>a.triggerLeaveAnimation(n,o,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,o,r,n){let i=this._engine.statesByElement.get(e),a=new Map;if(i){let s=[];if(i.forEach((l,c)=>{if(a.set(c,l.value),this._triggers.has(c)){let d=this.trigger(e,c,Ze,n);d&&s.push(d)}}),s.length)return this._engine.markElementAsRemoved(this.id,e,!0,o,a),r&&me(s).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let o=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(o&&r){let n=new Set;o.forEach(i=>{let a=i.name;if(n.has(a))return;n.add(a);let l=this._triggers.get(a).fallbackTransition,c=r.get(a)||Rr,d=new eo(Ze),u=new oo(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(e,o){let r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,o),this.triggerLeaveAnimation(e,o,!0))return;let n=!1;if(r.totalAnimations){let i=r.players.length?r.playersByQueriedElement.get(e):[];if(i&&i.length)n=!0;else{let a=e;for(;a=a.parentNode;)if(r.statesByElement.get(a)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)r.markElementAsRemoved(this.id,e,!1,o);else{let i=e[Z];(!i||i===fi)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,o))}}insertNode(e,o){V(e,this._hostClassName)}drainQueuedTransitions(e){let o=[];return this._queue.forEach(r=>{let n=r.player;if(n.destroyed)return;let i=r.element,a=this._elementListeners.get(i);a&&a.forEach(s=>{if(s.name==r.triggerName){let l=Co(i,r.triggerName,r.fromState.value,r.toState.value);l._data=e,wo(r.player,s.phase,l,s.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):o.push(r)}),this._queue=[],o.sort((r,n)=>{let i=r.transition.ast.depCount,a=n.transition.ast.depCount;return i==0||a==0?i-a:this._engine.driver.containsElement(r.element,n.element)?1:-1})}destroy(e){this.players.forEach(o=>o.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},qr=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(e,o)=>{};_onRemovalComplete(e,o){this.onRemovalComplete(e,o)}constructor(e,o,r){this.bodyNode=e,this.driver=o,this._normalizer=r}get queuedPlayers(){let e=[];return this._namespaceList.forEach(o=>{o.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,o){let r=new Ur(e,o,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,o)?this._balanceNamespaceList(r,o):(this.newHostElements.set(o,r),this.collectEnterElement(o)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,o){let r=this._namespaceList,n=this.namespacesByHostElement;if(r.length-1>=0){let a=!1,s=this.driver.getParentElement(o);for(;s;){let l=n.get(s);if(l){let c=r.indexOf(l);r.splice(c+1,0,e),a=!0;break}s=this.driver.getParentElement(s)}a||r.unshift(e)}else r.push(e);return n.set(o,e),e}register(e,o){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,o)),r}registerTrigger(e,o,r){let n=this._namespaceLookup[e];n&&n.register(o,r)&&this.totalAnimations++}destroy(e,o){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(e);this.namespacesByHostElement.delete(r.hostElement);let n=this._namespaceList.indexOf(r);n>=0&&this._namespaceList.splice(n,1),r.destroy(o),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let o=new Set,r=this.statesByElement.get(e);if(r){for(let n of r.values())if(n.namespaceId){let i=this._fetchNamespace(n.namespaceId);i&&o.add(i)}}return o}trigger(e,o,r,n){if(Po(o)){let i=this._fetchNamespace(e);if(i)return i.trigger(o,r,n),!0}return!1}insertNode(e,o,r,n){if(!Po(o))return;let i=o[Z];if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;let a=this.collectedLeaveElements.indexOf(o);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){let a=this._fetchNamespace(e);a&&a.insertNode(o,r)}n&&this.collectEnterElement(o)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,o){o?this.disabledNodes.has(e)||(this.disabledNodes.add(e),V(e,Br)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Fe(e,Br))}removeNode(e,o,r){if(Po(o)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(o,r):this.markElementAsRemoved(e,o,!1,r);let i=this.namespacesByHostElement.get(o);i&&i.id!==e&&i.removeNode(o,r)}else this._onRemovalComplete(o,r)}markElementAsRemoved(e,o,r,n,i){this.collectedLeaveElements.push(o),o[Z]={namespaceId:e,setForRemoval:n,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:i}}listen(e,o,r,n,i){return Po(o)?this._fetchNamespace(e).listen(o,r,n,i):()=>{}}_buildInstruction(e,o,r,n,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,n,e.fromState.options,e.toState.options,o,i)}destroyInnerAnimations(e){let o=this.driver.query(e,Ge,!0);o.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(o=this.driver.query(e,So,!0),o.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){let o=this.playersByElement.get(e);o&&o.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){let o=this.playersByQueriedElement.get(e);o&&o.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return me(this.players).onDone(()=>e());e()})}processLeaveNode(e){let o=e[Z];if(o&&o.setForRemoval){if(e[Z]=fi,o.namespaceId){this.destroyInnerAnimations(e);let r=this._fetchNamespace(o.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,o.setForRemoval)}e.classList?.contains(Br)&&this.markElementAsDisabled(e,!1),this.driver.query(e,tl,!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(e=-1){let o=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,n)=>this._balanceNamespaceList(r,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++){let n=this.collectedEnterElements[r];V(n,nl)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let r=[];try{o=this._flushAnimations(r,e)}finally{for(let n=0;n<r.length;n++)r[n]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++){let n=this.collectedLeaveElements[r];this.processLeaveNode(n)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){let r=this._whenQuietFns;this._whenQuietFns=[],o.length?me(o).onDone(()=>{r.forEach(n=>n())}):r.forEach(n=>n())}}reportError(e){throw Kn(e)}_flushAnimations(e,o){let r=new Je,n=[],i=new Map,a=[],s=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(f=>{d.add(f);let m=this.driver.query(f,rl,!0);for(let b=0;b<m.length;b++)d.add(m[b])});let u=this.bodyNode,y=Array.from(this.statesByElement.keys()),p=ai(y,this.collectedEnterElements),g=new Map,h=0;p.forEach((f,m)=>{let b=Tr+h++;g.set(m,b),f.forEach(C=>V(C,b))});let w=[],B=new Set,R=new Set;for(let f=0;f<this.collectedLeaveElements.length;f++){let m=this.collectedLeaveElements[f],b=m[Z];b&&b.setForRemoval&&(w.push(m),B.add(m),b.hasAnimation?this.driver.query(m,il,!0).forEach(C=>B.add(C)):R.add(m))}let k=new Map,E=ai(y,Array.from(B));E.forEach((f,m)=>{let b=xo+h++;k.set(m,b),f.forEach(C=>V(C,b))}),e.push(()=>{p.forEach((f,m)=>{let b=g.get(m);f.forEach(C=>Fe(C,b))}),E.forEach((f,m)=>{let b=k.get(m);f.forEach(C=>Fe(C,b))}),w.forEach(f=>{this.processLeaveNode(f)})});let F=[],oe=[];for(let f=this._namespaceList.length-1;f>=0;f--)this._namespaceList[f].drainQueuedTransitions(o).forEach(b=>{let C=b.player,I=b.element;if(F.push(C),this.collectedEnterElements.length){let D=I[Z];if(D&&D.setForMove){if(D.previousTriggersValues&&D.previousTriggersValues.has(b.triggerName)){let xe=D.previousTriggersValues.get(b.triggerName),H=this.statesByElement.get(b.element);if(H&&H.has(b.triggerName)){let no=H.get(b.triggerName);no.value=xe,H.set(b.triggerName,no)}}C.destroy();return}}let re=!u||!this.driver.containsElement(u,I),q=k.get(I),he=g.get(I),A=this._buildInstruction(b,r,he,q,re);if(A.errors&&A.errors.length){oe.push(A);return}if(re){C.onStart(()=>ke(I,A.fromStyles)),C.onDestroy(()=>X(I,A.toStyles)),n.push(C);return}if(b.isFallbackTransition){C.onStart(()=>ke(I,A.fromStyles)),C.onDestroy(()=>X(I,A.toStyles)),n.push(C);return}let at=[];A.timelines.forEach(D=>{D.stretchStartingKeyframe=!0,this.disabledNodes.has(D.element)||at.push(D)}),A.timelines=at,r.append(I,A.timelines);let _s={instruction:A,player:C,element:I};a.push(_s),A.queriedElements.forEach(D=>W(s,D,[]).push(C)),A.preStyleProps.forEach((D,xe)=>{if(D.size){let H=l.get(xe);H||l.set(xe,H=new Set),D.forEach((no,er)=>H.add(er))}}),A.postStyleProps.forEach((D,xe)=>{let H=c.get(xe);H||c.set(xe,H=new Set),D.forEach((no,er)=>H.add(er))})});if(oe.length){let f=[];oe.forEach(m=>{f.push(Vn(m.triggerName,m.errors))}),F.forEach(m=>m.destroy()),this.reportError(f)}let z=new Map,j=new Map;a.forEach(f=>{let m=f.element;r.has(m)&&(j.set(m,m),this._beforeAnimationBuild(f.player.namespaceId,f.instruction,z))}),n.forEach(f=>{let m=f.element;this._getPreviousPlayers(m,!1,f.namespaceId,f.triggerName,null).forEach(C=>{W(z,m,[]).push(C),C.destroy()})});let Ce=w.filter(f=>si(f,l,c)),Be=new Map;ii(Be,this.driver,R,c,$).forEach(f=>{si(f,l,c)&&Ce.push(f)});let _e=new Map;p.forEach((f,m)=>{ii(_e,this.driver,new Set(f),l,Qe)}),Ce.forEach(f=>{let m=Be.get(f),b=_e.get(f);Be.set(f,new Map([...m?.entries()??[],...b?.entries()??[]]))});let Jo=[],nt=[],it={};a.forEach(f=>{let{element:m,player:b,instruction:C}=f;if(r.has(m)){if(d.has(m)){b.onDestroy(()=>X(m,C.toStyles)),b.disabled=!0,b.overrideTotalTime(C.totalTime),n.push(b);return}let I=it;if(j.size>1){let q=m,he=[];for(;q=q.parentNode;){let A=j.get(q);if(A){I=A;break}he.push(q)}he.forEach(A=>j.set(A,I))}let re=this._buildAnimation(b.namespaceId,C,z,i,_e,Be);if(b.setRealPlayer(re),I===it)Jo.push(b);else{let q=this.playersByElement.get(I);q&&q.length&&(b.parentPlayer=me(q)),n.push(b)}}else ke(m,C.fromStyles),b.onDestroy(()=>X(m,C.toStyles)),nt.push(b),d.has(m)&&n.push(b)}),nt.forEach(f=>{let m=i.get(f.element);if(m&&m.length){let b=me(m);f.setRealPlayer(b)}}),n.forEach(f=>{f.parentPlayer?f.syncPlayerEvents(f.parentPlayer):f.destroy()});for(let f=0;f<w.length;f++){let m=w[f],b=m[Z];if(Fe(m,xo),b&&b.hasAnimation)continue;let C=[];if(s.size){let re=s.get(m);re&&re.length&&C.push(...re);let q=this.driver.query(m,So,!0);for(let he=0;he<q.length;he++){let A=s.get(q[he]);A&&A.length&&C.push(...A)}}let I=C.filter(re=>!re.destroyed);I.length?ul(this,m,I):this.processLeaveNode(m)}return w.length=0,Jo.forEach(f=>{this.players.push(f),f.onDone(()=>{f.destroy();let m=this.players.indexOf(f);this.players.splice(m,1)}),f.play()}),Jo}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,o,r,n,i){let a=[];if(o){let s=this.playersByQueriedElement.get(e);s&&(a=s)}else{let s=this.playersByElement.get(e);if(s){let l=!i||i==Ze;s.forEach(c=>{c.queued||!l&&c.triggerName!=n||a.push(c)})}}return(r||n)&&(a=a.filter(s=>!(r&&r!=s.namespaceId||n&&n!=s.triggerName))),a}_beforeAnimationBuild(e,o,r){let n=o.triggerName,i=o.element,a=o.isRemovalTransition?void 0:e,s=o.isRemovalTransition?void 0:n;for(let l of o.timelines){let c=l.element,d=c!==i,u=W(r,c,[]);this._getPreviousPlayers(c,d,a,s,o.toState).forEach(p=>{let g=p.getRealPlayer();g.beforeDestroy&&g.beforeDestroy(),p.destroy(),u.push(p)})}ke(i,o.fromStyles)}_buildAnimation(e,o,r,n,i,a){let s=o.triggerName,l=o.element,c=[],d=new Set,u=new Set,y=o.timelines.map(g=>{let h=g.element;d.add(h);let w=h[Z];if(w&&w.removedBeforeQueried)return new Te(g.duration,g.delay);let B=h!==l,R=fl((r.get(h)||al).map(z=>z.getRealPlayer())).filter(z=>{let j=z;return j.element?j.element===h:!1}),k=i.get(h),E=a.get(h),F=wr(this._normalizer,g.keyframes,k,E),oe=this._buildPlayer(g,F,R);if(g.subTimeline&&n&&u.add(h),B){let z=new oo(e,s,h);z.setRealPlayer(oe),c.push(z)}return oe});c.forEach(g=>{W(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>ll(this.playersByQueriedElement,g.element,g))}),d.forEach(g=>V(g,Er));let p=me(y);return p.onDestroy(()=>{d.forEach(g=>Fe(g,Er)),X(l,o.toStyles)}),u.forEach(g=>{W(n,g,[]).push(p)}),p}_buildPlayer(e,o,r){return o.length>0?this.driver.animate(e.element,o,e.duration,e.delay,e.easing,r):new Te(e.duration,e.delay)}},oo=class{namespaceId;triggerName;element;_player=new Te;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(e,o,r){this.namespaceId=e,this.triggerName=o,this.element=r}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((o,r)=>{o.forEach(n=>wo(e,r,void 0,n))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let o=this._player;o.triggerCallback&&e.onStart(()=>o.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,o){W(this._queuedCallbacks,e,[]).push(o)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let o=this._player;o.triggerCallback&&o.triggerCallback(e)}};function ll(t,e,o){let r=t.get(e);if(r){if(r.length){let n=r.indexOf(o);r.splice(n,1)}r.length==0&&t.delete(e)}return r}function cl(t){return t??null}function Po(t){return t&&t.nodeType===1}function dl(t){return t=="start"||t=="done"}function ni(t,e){let o=t.style.display;return t.style.display=e??"none",o}function ii(t,e,o,r,n){let i=[];o.forEach(l=>i.push(ni(l)));let a=[];r.forEach((l,c)=>{let d=new Map;l.forEach(u=>{let y=e.computeStyle(c,u,n);d.set(u,y),(!y||y.length==0)&&(c[Z]=sl,a.push(c))}),t.set(c,d)});let s=0;return o.forEach(l=>ni(l,i[s++])),a}function ai(t,e){let o=new Map;if(t.forEach(s=>o.set(s,[])),e.length==0)return o;let r=1,n=new Set(e),i=new Map;function a(s){if(!s)return r;let l=i.get(s);if(l)return l;let c=s.parentNode;return o.has(c)?l=c:n.has(c)?l=r:l=a(c),i.set(s,l),l}return e.forEach(s=>{let l=a(s);l!==r&&o.get(l).push(s)}),o}function V(t,e){t.classList?.add(e)}function Fe(t,e){t.classList?.remove(e)}function ul(t,e,o){me(o).onDone(()=>t.processLeaveNode(e))}function fl(t){let e=[];return gi(t,e),e}function gi(t,e){for(let o=0;o<t.length;o++){let r=t[o];r instanceof ho?gi(r.players,e):e.push(r)}}function gl(t,e){let o=Object.keys(t),r=Object.keys(e);if(o.length!=r.length)return!1;for(let n=0;n<o.length;n++){let i=o[n];if(!e.hasOwnProperty(i)||t[i]!==e[i])return!1}return!0}function si(t,e,o){let r=o.get(t);if(!r)return!1;let n=e.get(t);return n?r.forEach(i=>n.add(i)):e.set(t,r),o.delete(t),!0}var je=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(e,o)=>{};constructor(e,o,r){this._driver=o,this._normalizer=r,this._transitionEngine=new qr(e.body,o,r),this._timelineEngine=new Wr(e.body,o,r),this._transitionEngine.onRemovalComplete=(n,i)=>this.onRemovalComplete(n,i)}registerTrigger(e,o,r,n,i){let a=e+"-"+n,s=this._triggerCache[a];if(!s){let l=[],c=[],d=ci(this._driver,i,l,c);if(l.length)throw On(n,l);s=Js(n,d,this._normalizer),this._triggerCache[a]=s}this._transitionEngine.registerTrigger(o,n,s)}register(e,o){this._transitionEngine.register(e,o)}destroy(e,o){this._transitionEngine.destroy(e,o)}onInsert(e,o,r,n){this._transitionEngine.insertNode(e,o,r,n)}onRemove(e,o,r){this._transitionEngine.removeNode(e,o,r)}disableAnimations(e,o){this._transitionEngine.markElementAsDisabled(e,o)}process(e,o,r,n){if(r.charAt(0)=="@"){let[i,a]=Cr(r),s=n;this._timelineEngine.command(i,o,a,s)}else this._transitionEngine.trigger(e,o,r,n)}listen(e,o,r,n,i){if(r.charAt(0)=="@"){let[a,s]=Cr(r);return this._timelineEngine.listen(a,o,s,i)}return this._transitionEngine.listen(e,o,r,n,i)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function pl(t,e){let o=null,r=null;return Array.isArray(e)&&e.length?(o=Ir(e[0]),e.length>1&&(r=Ir(e[e.length-1]))):e instanceof Map&&(o=Ir(e)),o||r?new ml(t,o,r):null}var ml=(()=>{class t{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(o,r,n){this._element=o,this._startStyles=r,this._endStyles=n;let i=t.initialStylesByElement.get(o);i||t.initialStylesByElement.set(o,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&X(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(X(this._element,this._initialStyles),this._endStyles&&(X(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(ke(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ke(this._element,this._endStyles),this._endStyles=null),X(this._element,this._initialStyles),this._state=3)}}return t})();function Ir(t){let e=null;return t.forEach((o,r)=>{hl(r)&&(e=e||new Map,e.set(r,o))}),e}function hl(t){return t==="display"||t==="position"}var Lo=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(e,o,r,n){this.element=e,this.keyframes=o,this.options=r,this._specialStyles=n,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let o=()=>this._onFinish();this.domPlayer.addEventListener("finish",o),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",o)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let o=[];return e.forEach(r=>{o.push(Object.fromEntries(r))}),o}_triggerWebAnimation(e,o,r){return e.animate(this._convertKeyframesToObject(o),r)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,n)=>{n!=="offset"&&e.set(n,this._finished?r:Eo(this.element,n))}),this.currentSnapshot=e}triggerCallback(e){let o=e==="start"?this._onStartFns:this._onDoneFns;o.forEach(r=>r()),o.length=0}},zo=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,o){return _r(e,o)}getParentElement(e){return _o(e)}query(e,o,r){return xr(e,o,r)}computeStyle(e,o,r){return Eo(e,o)}animate(e,o,r,n,i,a=[]){let s=n==0?"both":"forwards",l={duration:r,delay:n,fill:s};i&&(l.easing=i);let c=new Map,d=a.filter(p=>p instanceof Lo);Gn(r,n)&&d.forEach(p=>{p.currentSnapshot.forEach((g,h)=>c.set(h,g))});let u=$n(o).map(p=>new Map(p));u=Xn(e,u,c);let y=pl(e,u);return new Lo(e,u,l,y)}};var Bo="@",pi="@.disabled",Fo=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(e,o,r,n){this.namespaceId=e,this.delegate=o,this.engine=r,this._onDestroy=n}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,o){return this.delegate.createElement(e,o)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,o){this.delegate.appendChild(e,o),this.engine.onInsert(this.namespaceId,o,e,!1)}insertBefore(e,o,r,n=!0){this.delegate.insertBefore(e,o,r),this.engine.onInsert(this.namespaceId,o,e,n)}removeChild(e,o,r){this.parentNode(o)&&this.engine.onRemove(this.namespaceId,o,this.delegate)}selectRootElement(e,o){return this.delegate.selectRootElement(e,o)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,o,r,n){this.delegate.setAttribute(e,o,r,n)}removeAttribute(e,o,r){this.delegate.removeAttribute(e,o,r)}addClass(e,o){this.delegate.addClass(e,o)}removeClass(e,o){this.delegate.removeClass(e,o)}setStyle(e,o,r,n){this.delegate.setStyle(e,o,r,n)}removeStyle(e,o,r){this.delegate.removeStyle(e,o,r)}setProperty(e,o,r){o.charAt(0)==Bo&&o==pi?this.disableAnimations(e,!!r):this.delegate.setProperty(e,o,r)}setValue(e,o){this.delegate.setValue(e,o)}listen(e,o,r,n){return this.delegate.listen(e,o,r,n)}disableAnimations(e,o){this.engine.disableAnimations(e,o)}},Hr=class extends Fo{factory;constructor(e,o,r,n,i){super(o,r,n,i),this.factory=e,this.namespaceId=o}setProperty(e,o,r){o.charAt(0)==Bo?o.charAt(1)=="."&&o==pi?(r=r===void 0?!0:!!r,this.disableAnimations(e,r)):this.engine.process(this.namespaceId,e,o.slice(1),r):this.delegate.setProperty(e,o,r)}listen(e,o,r,n){if(o.charAt(0)==Bo){let i=bl(e),a=o.slice(1),s="";return a.charAt(0)!=Bo&&([a,s]=yl(a)),this.engine.listen(this.namespaceId,i,a,s,l=>{let c=l._data||-1;this.factory.scheduleListenerCallback(c,r,l)})}return this.delegate.listen(e,o,r,n)}};function bl(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function yl(t){let e=t.indexOf("."),o=t.substring(0,e),r=t.slice(e+1);return[o,r]}var jo=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(e,o,r){this.delegate=e,this.engine=o,this._zone=r,o.onRemovalComplete=(n,i)=>{i?.removeChild(null,n)}}createRenderer(e,o){let r="",n=this.delegate.createRenderer(e,o);if(!e||!o?.data?.animation){let c=this._rendererCache,d=c.get(n);if(!d){let u=()=>c.delete(n);d=new Fo(r,n,this.engine,u),c.set(n,d)}return d}let i=o.id,a=o.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);let s=c=>{Array.isArray(c)?c.forEach(s):this.engine.registerTrigger(i,a,e,c.name,c)};return o.data.animation.forEach(s),new Hr(this,a,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,o,r){if(e>=0&&e<this._microtaskId){this._zone.run(()=>o(r));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(i=>{let[a,s]=i;a(s)}),this._animationCallbacksBuffer=[]})}),n.push([o,r])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(e){this.engine.flush(),this.delegate.componentReplaced?.(e)}};var kl=(()=>{class t extends je{constructor(o,r,n){super(o,r,n)}ngOnDestroy(){this.flush()}static \u0275fac=function(r){return new(r||t)(P(Et),P(Ae),P(Pe))};static \u0275prov=te({token:t,factory:t.\u0275fac})}return t})();function wl(){return new Ro}function Cl(t,e,o){return new jo(t,e,o)}var hi=[{provide:Pe,useFactory:wl},{provide:je,useClass:kl},{provide:vt,useFactory:Cl,deps:[Ot,je,ye]}],_l=[{provide:Ae,useClass:Kr},{provide:nr,useValue:"NoopAnimations"},...hi],mi=[{provide:Ae,useFactory:()=>new zo},{provide:nr,useFactory:()=>"BrowserAnimations"},...hi],bi=(()=>{class t{static withConfig(o){return{ngModule:t,providers:o.disableAnimations?_l:mi}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=se({type:t});static \u0275inj=ne({providers:mi,imports:[mo]})}return t})();function xl(t,e){if(t&1&&(T(0,"swiper-slide")(1,"div")(2,"a",2),N(3,"img",3),S()(),T(4,"a",4),L(5),S(),N(6,"p",5),fo(7,"newlines"),S()),t&2){let o=e.$implicit;x(2),M("href",o.href,Ke),x(),M("ngSrc",o.imgSrc),x(),M("href",o.href,Ke),x(),co(o.title),x(),M("innerHTML",go(7,5,o.description),lo)}}var Wo=class t{newsList=[];static \u0275fac=function(o){return new(o||t)};static \u0275cmp=ve({type:t,selectors:[["POS-news-swiper"]],inputs:{newsList:"newsList"},decls:2,vars:1,consts:[["pagination","true","pagination-clickable","true","autoplay-delay","5000",2,"margin-top","30px"],[4,"ngFor","ngForOf"],["target","_blank",3,"href"],["width","252","height","152","priority","",1,"border","rounded-1","mb-8",3,"ngSrc"],["target","_blank",1,"fw-bold","h5","text-primary","header-title","fs-4",3,"href"],[1,"mt-3",2,"margin-bottom","3rem",3,"innerHTML"]],template:function(o,r){o&1&&(T(0,"swiper-container",0),pe(1,xl,8,7,"swiper-slide",1),S()),o&2&&(x(),M("ngForOf",r.newsList))},dependencies:[At,sn,Dt],encapsulation:2})};var Sl="firebase",Tl="11.8.1";$e(Sl,Tl,"app");var We=new St("ANGULARFIRE2_VERSION");var vi=(t,e)=>{let o=e?[e]:fn(),r=[];return o.forEach(n=>{n.container.getProvider(t).instances.forEach(a=>{r.includes(a)||r.push(a)})}),r},Qr=function(t){return t[t.SILENT=0]="SILENT",t[t.WARN=1]="WARN",t[t.VERBOSE=2]="VERBOSE",t}(Qr||{}),md=Ve()&&typeof Zone<"u"?Qr.WARN:Qr.SILENT;var Uo=class{zone;delegate;constructor(e,o=ut){this.zone=e,this.delegate=o}now(){return this.delegate.now()}schedule(e,o,r){let n=this.zone,i=function(a){n?n.runGuarded(()=>{e.apply(this,[a])}):e.apply(this,[a])};return this.delegate.schedule(i,o,r)}},$r=(()=>{class t{outsideAngular;insideAngular;constructor(){let o=Q(ye);this.outsideAngular=o.runOutsideAngular(()=>new Uo(typeof Zone>"u"?void 0:Zone.current)),this.insideAngular=o.run(()=>new Uo(typeof Zone>"u"?void 0:Zone.current,dt))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ml=new Map,Al={activated:!1,tokenObservers:[]},Pl={initialized:!1,enabled:!1};function ee(t){return Ml.get(t)||Object.assign({},Al)}function _i(){return Pl}var Bl="https://content-firebaseappcheck.googleapis.com/v1";var Rl="exchangeDebugToken",ki={OFFSET_DURATION:5*60*1e3,RETRIAL_MIN_WAIT:30*1e3,RETRIAL_MAX_WAIT:16*60*1e3},Td=24*60*60*1e3;var Xr=class{constructor(e,o,r,n,i){if(this.operation=e,this.retryPolicy=o,this.getWaitDuration=r,this.lowerBound=n,this.upperBound=i,this.pending=null,this.nextErrorWaitInterval=n,n>i)throw new Error("Proactive refresh lower bound greater than upper bound!")}start(){this.nextErrorWaitInterval=this.lowerBound,this.process(!0).catch(()=>{})}stop(){this.pending&&(this.pending.reject("cancelled"),this.pending=null)}isRunning(){return!!this.pending}process(e){return be(this,null,function*(){this.stop();try{this.pending=new pr,this.pending.promise.catch(o=>{}),yield Il(this.getNextRun(e)),this.pending.resolve(),yield this.pending.promise,this.pending=new pr,this.pending.promise.catch(o=>{}),yield this.operation(),this.pending.resolve(),yield this.pending.promise,this.process(!0).catch(()=>{})}catch(o){this.retryPolicy(o)?this.process(!1).catch(()=>{}):this.stop()}})}getNextRun(e){if(e)return this.nextErrorWaitInterval=this.lowerBound,this.getWaitDuration();{let o=this.nextErrorWaitInterval;return this.nextErrorWaitInterval*=2,this.nextErrorWaitInterval>this.upperBound&&(this.nextErrorWaitInterval=this.upperBound),o}}};function Il(t){return new Promise(e=>{setTimeout(e,t)})}var Nl={"already-initialized":"You have already called initializeAppCheck() for FirebaseApp {$appName} with different options. To avoid this error, call initializeAppCheck() with the same options as when it was originally called. This will return the already initialized instance.","use-before-activation":"App Check is being used before initializeAppCheck() is called for FirebaseApp {$appName}. Call initializeAppCheck() before instantiating other Firebase services.","fetch-network-error":"Fetch failed to connect to a network. Check Internet connection. Original error: {$originalErrorMessage}.","fetch-parse-error":"Fetch client could not parse response. Original error: {$originalErrorMessage}.","fetch-status-error":"Fetch server returned an HTTP error status. HTTP status: {$httpStatus}.","storage-open":"Error thrown when opening storage. Original error: {$originalErrorMessage}.","storage-get":"Error thrown when reading from storage. Original error: {$originalErrorMessage}.","storage-set":"Error thrown when writing to storage. Original error: {$originalErrorMessage}.","recaptcha-error":"ReCAPTCHA error.","initial-throttle":"{$httpStatus} error. Attempts allowed again after {$time}",throttled:"Requests throttled due to previous {$httpStatus} error. Attempts allowed again after {$time}"},we=new dn("appCheck","AppCheck",Nl);function xi(t){if(!ee(t).activated)throw we.create("use-before-activation",{appName:t.name})}function Si(r,n){return be(this,arguments,function*({url:t,body:e},o){let i={"Content-Type":"application/json"},a=o.getImmediate({optional:!0});if(a){let p=yield a.getHeartbeatsHeader();p&&(i["X-Firebase-Client"]=p)}let s={method:"POST",body:JSON.stringify(e),headers:i},l;try{l=yield fetch(t,s)}catch(p){throw we.create("fetch-network-error",{originalErrorMessage:p?.message})}if(l.status!==200)throw we.create("fetch-status-error",{httpStatus:l.status});let c;try{c=yield l.json()}catch(p){throw we.create("fetch-parse-error",{originalErrorMessage:p?.message})}let d=c.ttl.match(/^([\d.]+)(s)$/);if(!d||!d[2]||isNaN(Number(d[1])))throw we.create("fetch-parse-error",{originalErrorMessage:`ttl field (timeToLive) is not in standard Protobuf Duration format: ${c.ttl}`});let u=Number(d[1])*1e3,y=Date.now();return{token:c.token,expireTimeMillis:y+u,issuedAtTimeMillis:y}})}function Ti(t,e){let{projectId:o,appId:r,apiKey:n}=t.options;return{url:`${Bl}/projects/${o}/apps/${r}:${Rl}?key=${n}`,body:{debug_token:e}}}var Dl="firebase-app-check-database",Ol=1,Zr="firebase-app-check-store";var qo=null;function Ll(){return qo||(qo=new Promise((t,e)=>{try{let o=indexedDB.open(Dl,Ol);o.onsuccess=r=>{t(r.target.result)},o.onerror=r=>{var n;e(we.create("storage-open",{originalErrorMessage:(n=r.target.error)===null||n===void 0?void 0:n.message}))},o.onupgradeneeded=r=>{let n=r.target.result;switch(r.oldVersion){case 0:n.createObjectStore(Zr,{keyPath:"compositeKey"})}}}catch(o){e(we.create("storage-open",{originalErrorMessage:o?.message}))}}),qo)}function zl(t,e){return Fl(jl(t),e)}function Fl(t,e){return be(this,null,function*(){let r=(yield Ll()).transaction(Zr,"readwrite"),i=r.objectStore(Zr).put({compositeKey:t,value:e});return new Promise((a,s)=>{i.onsuccess=l=>{a()},r.onerror=l=>{var c;s(we.create("storage-set",{originalErrorMessage:(c=l.target.error)===null||c===void 0?void 0:c.message}))}})})}function jl(t){return`${t.options.appId}-${t.name}`}var ro=new un("@firebase/app-check");function Yr(t,e){return cn()?zl(t,e).catch(o=>{ro.warn(`Failed to write token to IndexedDB. Error: ${o}`)}):Promise.resolve()}function Ei(){return _i().enabled}function Mi(){return be(this,null,function*(){let t=_i();if(t.enabled&&t.token)return t.token.promise;throw Error(`
1
+ import{b as ko,c as vn}from"./chunk-7C4FPJKC.js";import{a as sn}from"./chunk-OHZN3Z7O.js";import{a as ln,b as pr,c as cn,d as dn,e as mr,f as un,g as hr,h as fn,i as $e,j as br,k as G}from"./chunk-M4TPGDOJ.js";import{a as Xt}from"./chunk-GHC4BCCW.js";import"./chunk-GIKR6Y2K.js";import{d as bn}from"./chunk-3GV7FUAX.js";import{d as gn,g as hn,n as yn}from"./chunk-6BL2JKZG.js";import"./chunk-REQUYIUO.js";import{pa as pn,wa as mn}from"./chunk-OE7PM4Y4.js";import{F as nn,G as an,c as Zt,h as Jt,i as en,k as on,o as rn,p as tn}from"./chunk-CB33ZMNF.js";import{c as vo}from"./chunk-YHDEAPG3.js";import"./chunk-M3WKPJ2B.js";import{a as le}from"./chunk-TYBAV5LT.js";import{a as K}from"./chunk-2DQBDX5E.js";import{$a as x,Ab as wt,Ac as go,Ad as Ut,Bd as dr,Cd as qt,D as gt,Dd as Y,E as pt,Ed as Ht,Fd as ur,Ga as ye,Gc as St,Gd as fr,Hc as Tt,I as mt,Ib as T,Jb as S,Jc as Ve,Jd as Te,Kb as N,Kd as ho,Ld as Qe,Ob as Ne,Od as Kt,Pa as so,Pd as Vt,Qa as nr,Qb as Se,Qd as Oe,Rb as O,Rd as Qt,S as ht,Sc as Et,Td as gr,Ud as $t,Va as lo,Vb as Ct,Vd as bo,Wa as Ke,Wc as Mt,Wd as Yt,Xd as Gt,Y as or,Yc as At,Yd as yo,Zc as po,aa as ue,ba as rr,bb as vt,c as io,cd as Pt,d as ct,db as ae,ec as L,ed as Bt,fa as bt,fc as co,gc as De,gd as Rt,h as dt,ha as _,i as ut,ja as te,jc as sr,jd as It,ka as ne,kb as ve,kc as lr,l as Ue,la as ie,lb as se,lc as cr,ld as Nt,m as ao,ma as P,md as Dt,n as qe,na as Q,nd as Ot,o as He,ob as kt,od as Lt,p as ft,pa as yt,pd as mo,qb as pe,qc as uo,rc as _t,sa as tr,sc as xt,sd as zt,t as de,ub as ir,ud as Ft,va as fe,vb as M,vd as jt,wa as ge,wb as ar,wd as Wt,yd as v,zb as Ie,zc as fo,zd as $}from"./chunk-DJOHANFC.js";import{a as Re,b as st,d as lt,j as be}from"./chunk-7DCB7DB2.js";function kn(t){return new _(3e3,!1)}function xs(){return new _(3100,!1)}function Ss(){return new _(3101,!1)}function Ts(t){return new _(3001,!1)}function Es(t){return new _(3003,!1)}function Ms(t){return new _(3004,!1)}function Cn(t,e){return new _(3005,!1)}function _n(){return new _(3006,!1)}function xn(){return new _(3007,!1)}function Sn(t,e){return new _(3008,!1)}function Tn(t){return new _(3002,!1)}function En(t,e,o,r,n){return new _(3010,!1)}function Mn(){return new _(3011,!1)}function An(){return new _(3012,!1)}function Pn(){return new _(3200,!1)}function Bn(){return new _(3202,!1)}function Rn(){return new _(3013,!1)}function In(t){return new _(3014,!1)}function Nn(t){return new _(3015,!1)}function Dn(t){return new _(3016,!1)}function On(t,e){return new _(3404,!1)}function As(t){return new _(3502,!1)}function Ln(t){return new _(3503,!1)}function zn(){return new _(3300,!1)}function Fn(t){return new _(3504,!1)}function jn(t){return new _(3301,!1)}function Wn(t,e){return new _(3302,!1)}function Un(t){return new _(3303,!1)}function qn(t,e){return new _(3400,!1)}function Hn(t){return new _(3401,!1)}function Kn(t){return new _(3402,!1)}function Vn(t,e){return new _(3505,!1)}function me(t){switch(t.length){case 0:return new Te;case 1:return t[0];default:return new ho(t)}}function wr(t,e,o=new Map,r=new Map){let n=[],i=[],a=-1,s=null;if(e.forEach(l=>{let c=l.get("offset"),d=c==a,u=d&&s||new Map;l.forEach((y,p)=>{let g=p,h=y;if(p!=="offset")switch(g=t.normalizePropertyName(g,n),h){case Qe:h=o.get(p);break;case $:h=r.get(p);break;default:h=t.normalizeStyleValue(p,g,h,n);break}u.set(g,h)}),d||i.push(u),s=u,a=c}),n.length)throw As(n);return i}function wo(t,e,o,r){switch(e){case"start":t.onStart(()=>r(o&&yr(o,"start",t)));break;case"done":t.onDone(()=>r(o&&yr(o,"done",t)));break;case"destroy":t.onDestroy(()=>r(o&&yr(o,"destroy",t)));break}}function yr(t,e,o){let r=o.totalTime,n=!!o.disabled,i=Co(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,r??t.totalTime,n),a=t._data;return a!=null&&(i._data=a),i}function Co(t,e,o,r,n="",i=0,a){return{element:t,triggerName:e,fromState:o,toState:r,phaseName:n,totalTime:i,disabled:!!a}}function W(t,e,o){let r=t.get(e);return r||t.set(e,r=o),r}function Cr(t){let e=t.indexOf(":"),o=t.substring(1,e),r=t.slice(e+1);return[o,r]}var Ps=typeof document>"u"?null:document.documentElement;function _o(t){let e=t.parentNode||t.host||null;return e===Ps?null:e}function Bs(t){return t.substring(1,6)=="ebkit"}var Ee=null,wn=!1;function Qn(t){Ee||(Ee=Rs()||{},wn=Ee.style?"WebkitAppearance"in Ee.style:!1);let e=!0;return Ee.style&&!Bs(t)&&(e=t in Ee.style,!e&&wn&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Ee.style)),e}function Rs(){return typeof document<"u"?document.body:null}function _r(t,e){for(;e;){if(e===t)return!0;e=_o(e)}return!1}function xr(t,e,o){if(o)return Array.from(t.querySelectorAll(e));let r=t.querySelector(e);return r?[r]:[]}var Is=1e3,Sr="{{",Ns="}}",Tr="ng-enter",xo="ng-leave",Ye="ng-trigger",Ge=".ng-trigger",Er="ng-animating",So=".ng-animating";function ce(t){if(typeof t=="number")return t;let e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:vr(parseFloat(e[1]),e[2])}function vr(t,e){switch(e){case"s":return t*Is;default:return t}}function Xe(t,e,o){return t.hasOwnProperty("duration")?t:Ds(t,e,o)}function Ds(t,e,o){let r=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,n,i=0,a="";if(typeof t=="string"){let s=t.match(r);if(s===null)return e.push(kn(t)),{duration:0,delay:0,easing:""};n=vr(parseFloat(s[1]),s[2]);let l=s[3];l!=null&&(i=vr(parseFloat(l),s[4]));let c=s[5];c&&(a=c)}else n=t;if(!o){let s=!1,l=e.length;n<0&&(e.push(xs()),s=!0),i<0&&(e.push(Ss()),s=!0),s&&e.splice(l,0,kn(t))}return{duration:n,delay:i,easing:a}}function $n(t){return t.length?t[0]instanceof Map?t:t.map(e=>new Map(Object.entries(e))):[]}function X(t,e,o){e.forEach((r,n)=>{let i=To(n);o&&!o.has(n)&&o.set(n,t.style[i]),t.style[i]=r})}function ke(t,e){e.forEach((o,r)=>{let n=To(r);t.style[n]=""})}function Le(t){return Array.isArray(t)?t.length==1?t[0]:qt(t):t}function Yn(t,e,o){let r=e.params||{},n=Mr(t);n.length&&n.forEach(i=>{r.hasOwnProperty(i)||o.push(Ts(i))})}var kr=new RegExp(`${Sr}\\s*(.+?)\\s*${Ns}`,"g");function Mr(t){let e=[];if(typeof t=="string"){let o;for(;o=kr.exec(t);)e.push(o[1]);kr.lastIndex=0}return e}function ze(t,e,o){let r=`${t}`,n=r.replace(kr,(i,a)=>{let s=e[a];return s==null&&(o.push(Es(a)),s=""),s.toString()});return n==r?t:n}var Os=/-+([a-z0-9])/g;function To(t){return t.replace(Os,(...e)=>e[1].toUpperCase())}function Gn(t,e){return t===0||e===0}function Xn(t,e,o){if(o.size&&e.length){let r=e[0],n=[];if(o.forEach((i,a)=>{r.has(a)||n.push(a),r.set(a,i)}),n.length)for(let i=1;i<e.length;i++){let a=e[i];n.forEach(s=>a.set(s,Eo(t,s)))}}return e}function U(t,e,o){switch(e.type){case v.Trigger:return t.visitTrigger(e,o);case v.State:return t.visitState(e,o);case v.Transition:return t.visitTransition(e,o);case v.Sequence:return t.visitSequence(e,o);case v.Group:return t.visitGroup(e,o);case v.Animate:return t.visitAnimate(e,o);case v.Keyframes:return t.visitKeyframes(e,o);case v.Style:return t.visitStyle(e,o);case v.Reference:return t.visitReference(e,o);case v.AnimateChild:return t.visitAnimateChild(e,o);case v.AnimateRef:return t.visitAnimateRef(e,o);case v.Query:return t.visitQuery(e,o);case v.Stagger:return t.visitStagger(e,o);default:throw Ms(e.type)}}function Eo(t,e){return window.getComputedStyle(t)[e]}var Kr=(()=>{class t{validateStyleProperty(o){return Qn(o)}containsElement(o,r){return _r(o,r)}getParentElement(o){return _o(o)}query(o,r,n){return xr(o,r,n)}computeStyle(o,r,n){return n||""}animate(o,r,n,i,a,s=[],l){return new Te(n,i)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=te({token:t,factory:t.\u0275fac})}return t})(),Ae=class{static NOOP=new Kr},Pe=class{};var Ls=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Ro=class extends Pe{normalizePropertyName(e,o){return To(e)}normalizeStyleValue(e,o,r,n){let i="",a=r.toString().trim();if(Ls.has(o)&&r!==0&&r!=="0")if(typeof r=="number")i="px";else{let s=r.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&s[1].length==0&&n.push(Cn(e,r))}return a+i}};var Io="*";function zs(t,e){let o=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(r=>Fs(r,o,e)):o.push(t),o}function Fs(t,e,o){if(t[0]==":"){let l=js(t,o);if(typeof l=="function"){e.push(l);return}t=l}let r=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(r==null||r.length<4)return o.push(Nn(t)),e;let n=r[1],i=r[2],a=r[3];e.push(Zn(n,a));let s=n==Io&&a==Io;i[0]=="<"&&!s&&e.push(Zn(a,n))}function js(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(o,r)=>parseFloat(r)>parseFloat(o);case":decrement":return(o,r)=>parseFloat(r)<parseFloat(o);default:return e.push(Dn(t)),"* => *"}}var Mo=new Set(["true","1"]),Ao=new Set(["false","0"]);function Zn(t,e){let o=Mo.has(t)||Ao.has(t),r=Mo.has(e)||Ao.has(e);return(n,i)=>{let a=t==Io||t==n,s=e==Io||e==i;return!a&&o&&typeof n=="boolean"&&(a=n?Mo.has(t):Ao.has(t)),!s&&r&&typeof i=="boolean"&&(s=i?Mo.has(e):Ao.has(e)),a&&s}}var li=":self",Ws=new RegExp(`s*${li}s*,?`,"g");function ci(t,e,o,r){return new Nr(t).build(e,o,r)}var Jn="",Nr=class{_driver;constructor(e){this._driver=e}build(e,o,r){let n=new Dr(o);return this._resetContextStyleTimingState(n),U(this,Le(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=Jn,e.collectedStyles=new Map,e.collectedStyles.set(Jn,new Map),e.currentTime=0}visitTrigger(e,o){let r=o.queryCount=0,n=o.depCount=0,i=[],a=[];return e.name.charAt(0)=="@"&&o.errors.push(_n()),e.definitions.forEach(s=>{if(this._resetContextStyleTimingState(o),s.type==v.State){let l=s,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,i.push(this.visitState(l,o))}),l.name=c}else if(s.type==v.Transition){let l=this.visitTransition(s,o);r+=l.queryCount,n+=l.depCount,a.push(l)}else o.errors.push(xn())}),{type:v.Trigger,name:e.name,states:i,transitions:a,queryCount:r,depCount:n,options:null}}visitState(e,o){let r=this.visitStyle(e.styles,o),n=e.options&&e.options.params||null;if(r.containsDynamicStyles){let i=new Set,a=n||{};r.styles.forEach(s=>{s instanceof Map&&s.forEach(l=>{Mr(l).forEach(c=>{a.hasOwnProperty(c)||i.add(c)})})}),i.size&&o.errors.push(Sn(e.name,[...i.values()]))}return{type:v.State,name:e.name,style:r,options:n?{params:n}:null}}visitTransition(e,o){o.queryCount=0,o.depCount=0;let r=U(this,Le(e.animation),o),n=zs(e.expr,o.errors);return{type:v.Transition,matchers:n,animation:r,queryCount:o.queryCount,depCount:o.depCount,options:Me(e.options)}}visitSequence(e,o){return{type:v.Sequence,steps:e.steps.map(r=>U(this,r,o)),options:Me(e.options)}}visitGroup(e,o){let r=o.currentTime,n=0,i=e.steps.map(a=>{o.currentTime=r;let s=U(this,a,o);return n=Math.max(n,o.currentTime),s});return o.currentTime=n,{type:v.Group,steps:i,options:Me(e.options)}}visitAnimate(e,o){let r=Ks(e.timings,o.errors);o.currentAnimateTimings=r;let n,i=e.styles?e.styles:Y({});if(i.type==v.Keyframes)n=this.visitKeyframes(i,o);else{let a=e.styles,s=!1;if(!a){s=!0;let c={};r.easing&&(c.easing=r.easing),a=Y(c)}o.currentTime+=r.duration+r.delay;let l=this.visitStyle(a,o);l.isEmptyStep=s,n=l}return o.currentAnimateTimings=null,{type:v.Animate,timings:r,style:n,options:null}}visitStyle(e,o){let r=this._makeStyleAst(e,o);return this._validateStyleAst(r,o),r}_makeStyleAst(e,o){let r=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let s of n)typeof s=="string"?s===$?r.push(s):o.errors.push(Tn(s)):r.push(new Map(Object.entries(s)));let i=!1,a=null;return r.forEach(s=>{if(s instanceof Map&&(s.has("easing")&&(a=s.get("easing"),s.delete("easing")),!i)){for(let l of s.values())if(l.toString().indexOf(Sr)>=0){i=!0;break}}}),{type:v.Style,styles:r,easing:a,offset:e.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(e,o){let r=o.currentAnimateTimings,n=o.currentTime,i=o.currentTime;r&&i>0&&(i-=r.duration+r.delay),e.styles.forEach(a=>{typeof a!="string"&&a.forEach((s,l)=>{let c=o.collectedStyles.get(o.currentQuerySelector),d=c.get(l),u=!0;d&&(i!=n&&i>=d.startTime&&n<=d.endTime&&(o.errors.push(En(l,d.startTime,d.endTime,i,n)),u=!1),i=d.startTime),u&&c.set(l,{startTime:i,endTime:n}),o.options&&Yn(s,o.options,o.errors)})})}visitKeyframes(e,o){let r={type:v.Keyframes,styles:[],options:null};if(!o.currentAnimateTimings)return o.errors.push(Mn()),r;let n=1,i=0,a=[],s=!1,l=!1,c=0,d=e.steps.map(B=>{let R=this._makeStyleAst(B,o),k=R.offset!=null?R.offset:Hs(R.styles),E=0;return k!=null&&(i++,E=R.offset=k),l=l||E<0||E>1,s=s||E<c,c=E,a.push(E),R});l&&o.errors.push(An()),s&&o.errors.push(Pn());let u=e.steps.length,y=0;i>0&&i<u?o.errors.push(Bn()):i==0&&(y=n/(u-1));let p=u-1,g=o.currentTime,h=o.currentAnimateTimings,w=h.duration;return d.forEach((B,R)=>{let k=y>0?R==p?1:y*R:a[R],E=k*w;o.currentTime=g+h.delay+E,h.duration=E,this._validateStyleAst(B,o),B.offset=k,r.styles.push(B)}),r}visitReference(e,o){return{type:v.Reference,animation:U(this,Le(e.animation),o),options:Me(e.options)}}visitAnimateChild(e,o){return o.depCount++,{type:v.AnimateChild,options:Me(e.options)}}visitAnimateRef(e,o){return{type:v.AnimateRef,animation:this.visitReference(e.animation,o),options:Me(e.options)}}visitQuery(e,o){let r=o.currentQuerySelector,n=e.options||{};o.queryCount++,o.currentQuery=e;let[i,a]=Us(e.selector);o.currentQuerySelector=r.length?r+" "+i:i,W(o.collectedStyles,o.currentQuerySelector,new Map);let s=U(this,Le(e.animation),o);return o.currentQuery=null,o.currentQuerySelector=r,{type:v.Query,selector:i,limit:n.limit||0,optional:!!n.optional,includeSelf:a,animation:s,originalSelector:e.selector,options:Me(e.options)}}visitStagger(e,o){o.currentQuery||o.errors.push(Rn());let r=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Xe(e.timings,o.errors,!0);return{type:v.Stagger,animation:U(this,Le(e.animation),o),timings:r,options:null}}};function Us(t){let e=!!t.split(/\s*,\s*/).find(o=>o==li);return e&&(t=t.replace(Ws,"")),t=t.replace(/@\*/g,Ge).replace(/@\w+/g,o=>Ge+"-"+o.slice(1)).replace(/:animating/g,So),[t,e]}function qs(t){return t?Re({},t):null}var Dr=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(e){this.errors=e}};function Hs(t){if(typeof t=="string")return null;let e=null;if(Array.isArray(t))t.forEach(o=>{if(o instanceof Map&&o.has("offset")){let r=o;e=parseFloat(r.get("offset")),r.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let o=t;e=parseFloat(o.get("offset")),o.delete("offset")}return e}function Ks(t,e){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let i=Xe(t,e).duration;return Ar(i,0,"")}let o=t;if(o.split(/\s+/).some(i=>i.charAt(0)=="{"&&i.charAt(1)=="{")){let i=Ar(0,0,"");return i.dynamic=!0,i.strValue=o,i}let n=Xe(o,e);return Ar(n.duration,n.delay,n.easing)}function Me(t){return t?(t=Re({},t),t.params&&(t.params=qs(t.params))):t={},t}function Ar(t,e,o){return{duration:t,delay:e,easing:o}}function Vr(t,e,o,r,n,i,a=null,s=!1){return{type:1,element:t,keyframes:e,preStyleProps:o,postStyleProps:r,duration:n,delay:i,totalTime:n+i,easing:a,subTimeline:s}}var Je=class{_map=new Map;get(e){return this._map.get(e)||[]}append(e,o){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...o)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Vs=1,Qs=":enter",$s=new RegExp(Qs,"g"),Ys=":leave",Gs=new RegExp(Ys,"g");function di(t,e,o,r,n,i=new Map,a=new Map,s,l,c=[]){return new Or().buildKeyframes(t,e,o,r,n,i,a,s,l,c)}var Or=class{buildKeyframes(e,o,r,n,i,a,s,l,c,d=[]){c=c||new Je;let u=new Lr(e,o,c,n,i,d,[]);u.options=l;let y=l.delay?ce(l.delay):0;u.currentTimeline.delayNextStep(y),u.currentTimeline.setStyles([a],null,u.errors,l),U(this,r,u);let p=u.timelines.filter(g=>g.containsAnimation());if(p.length&&s.size){let g;for(let h=p.length-1;h>=0;h--){let w=p[h];if(w.element===o){g=w;break}}g&&!g.allowOnlyTimelineStyles()&&g.setStyles([s],null,u.errors,l)}return p.length?p.map(g=>g.buildKeyframes()):[Vr(o,[],[],[],0,y,"",!1)]}visitTrigger(e,o){}visitState(e,o){}visitTransition(e,o){}visitAnimateChild(e,o){let r=o.subInstructions.get(o.element);if(r){let n=o.createSubContext(e.options),i=o.currentTimeline.currentTime,a=this._visitSubInstructions(r,n,n.options);i!=a&&o.transformIntoNewTimeline(a)}o.previousNode=e}visitAnimateRef(e,o){let r=o.createSubContext(e.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],o,r),this.visitReference(e.animation,r),o.transformIntoNewTimeline(r.currentTimeline.currentTime),o.previousNode=e}_applyAnimationRefDelays(e,o,r){for(let n of e){let i=n?.delay;if(i){let a=typeof i=="number"?i:ce(ze(i,n?.params??{},o.errors));r.delayNextStep(a)}}}_visitSubInstructions(e,o,r){let i=o.currentTimeline.currentTime,a=r.duration!=null?ce(r.duration):null,s=r.delay!=null?ce(r.delay):null;return a!==0&&e.forEach(l=>{let c=o.appendInstructionToTimeline(l,a,s);i=Math.max(i,c.duration+c.delay)}),i}visitReference(e,o){o.updateOptions(e.options,!0),U(this,e.animation,o),o.previousNode=e}visitSequence(e,o){let r=o.subContextCount,n=o,i=e.options;if(i&&(i.params||i.delay)&&(n=o.createSubContext(i),n.transformIntoNewTimeline(),i.delay!=null)){n.previousNode.type==v.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=No);let a=ce(i.delay);n.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>U(this,a,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>r&&n.transformIntoNewTimeline()),o.previousNode=e}visitGroup(e,o){let r=[],n=o.currentTimeline.currentTime,i=e.options&&e.options.delay?ce(e.options.delay):0;e.steps.forEach(a=>{let s=o.createSubContext(e.options);i&&s.delayNextStep(i),U(this,a,s),n=Math.max(n,s.currentTimeline.currentTime),r.push(s.currentTimeline)}),r.forEach(a=>o.currentTimeline.mergeTimelineCollectedStyles(a)),o.transformIntoNewTimeline(n),o.previousNode=e}_visitTiming(e,o){if(e.dynamic){let r=e.strValue,n=o.params?ze(r,o.params,o.errors):r;return Xe(n,o.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,o){let r=o.currentAnimateTimings=this._visitTiming(e.timings,o),n=o.currentTimeline;r.delay&&(o.incrementTime(r.delay),n.snapshotCurrentStyles());let i=e.style;i.type==v.Keyframes?this.visitKeyframes(i,o):(o.incrementTime(r.duration),this.visitStyle(i,o),n.applyStylesToKeyframe()),o.currentAnimateTimings=null,o.previousNode=e}visitStyle(e,o){let r=o.currentTimeline,n=o.currentAnimateTimings;!n&&r.hasCurrentStyleProperties()&&r.forwardFrame();let i=n&&n.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(i):r.setStyles(e.styles,i,o.errors,o.options),o.previousNode=e}visitKeyframes(e,o){let r=o.currentAnimateTimings,n=o.currentTimeline.duration,i=r.duration,s=o.createSubContext().currentTimeline;s.easing=r.easing,e.styles.forEach(l=>{let c=l.offset||0;s.forwardTime(c*i),s.setStyles(l.styles,l.easing,o.errors,o.options),s.applyStylesToKeyframe()}),o.currentTimeline.mergeTimelineCollectedStyles(s),o.transformIntoNewTimeline(n+i),o.previousNode=e}visitQuery(e,o){let r=o.currentTimeline.currentTime,n=e.options||{},i=n.delay?ce(n.delay):0;i&&(o.previousNode.type===v.Style||r==0&&o.currentTimeline.hasCurrentStyleProperties())&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=No);let a=r,s=o.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,o.errors);o.currentQueryTotal=s.length;let l=null;s.forEach((c,d)=>{o.currentQueryIndex=d;let u=o.createSubContext(e.options,c);i&&u.delayNextStep(i),c===o.element&&(l=u.currentTimeline),U(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let y=u.currentTimeline.currentTime;a=Math.max(a,y)}),o.currentQueryIndex=0,o.currentQueryTotal=0,o.transformIntoNewTimeline(a),l&&(o.currentTimeline.mergeTimelineCollectedStyles(l),o.currentTimeline.snapshotCurrentStyles()),o.previousNode=e}visitStagger(e,o){let r=o.parentContext,n=o.currentTimeline,i=e.timings,a=Math.abs(i.duration),s=a*(o.currentQueryTotal-1),l=a*o.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":l=s-l;break;case"full":l=r.currentStaggerTime;break}let d=o.currentTimeline;l&&d.delayNextStep(l);let u=d.currentTime;U(this,e.animation,o),o.previousNode=e,r.currentStaggerTime=n.currentTime-u+(n.startTime-r.currentTimeline.startTime)}},No={},Lr=class t{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=No;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(e,o,r,n,i,a,s,l){this._driver=e,this.element=o,this.subInstructions=r,this._enterClassName=n,this._leaveClassName=i,this.errors=a,this.timelines=s,this.currentTimeline=l||new Do(this._driver,o,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,o){if(!e)return;let r=e,n=this.options;r.duration!=null&&(n.duration=ce(r.duration)),r.delay!=null&&(n.delay=ce(r.delay));let i=r.params;if(i){let a=n.params;a||(a=this.options.params={}),Object.keys(i).forEach(s=>{(!o||!a.hasOwnProperty(s))&&(a[s]=ze(i[s],a,this.errors))})}}_copyOptions(){let e={};if(this.options){let o=this.options.params;if(o){let r=e.params={};Object.keys(o).forEach(n=>{r[n]=o[n]})}}return e}createSubContext(e=null,o,r){let n=o||this.element,i=new t(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,r||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(e),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(e){return this.previousNode=No,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,o,r){let n={duration:o??e.duration,delay:this.currentTimeline.currentTime+(r??0)+e.delay,easing:""},i=new zr(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,n,e.stretchStartingKeyframe);return this.timelines.push(i),n}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,o,r,n,i,a){let s=[];if(n&&s.push(this.element),e.length>0){e=e.replace($s,"."+this._enterClassName),e=e.replace(Gs,"."+this._leaveClassName);let l=r!=1,c=this._driver.query(this.element,e,l);r!==0&&(c=r<0?c.slice(c.length+r,c.length):c.slice(0,r)),s.push(...c)}return!i&&s.length==0&&a.push(In(o)),s}},Do=class t{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(e,o,r,n){this._driver=e,this.element=o,this.startTime=r,this._elementTimelineStylesLookup=n,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(o),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(o,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let o=this._keyframes.size===1&&this._pendingStyles.size;this.duration||o?(this.forwardTime(this.currentTime+e),o&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,o){return this.applyStylesToKeyframe(),new t(this._driver,e,o||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Vs,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,o){this._localTimelineStyles.set(e,o),this._globalTimelineStyles.set(e,o),this._styleSummary.set(e,{time:this.currentTime,value:o})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[o,r]of this._globalTimelineStyles)this._backFill.set(o,r||$),this._currentKeyframe.set(o,$);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,o,r,n){o&&this._previousKeyframe.set("easing",o);let i=n&&n.params||{},a=Xs(e,this._globalTimelineStyles);for(let[s,l]of a){let c=ze(l,i,r);this._pendingStyles.set(s,c),this._localTimelineStyles.has(s)||this._backFill.set(s,this._globalTimelineStyles.get(s)??$),this._updateStyle(s,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,o)=>{this._currentKeyframe.set(o,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,o)=>{this._currentKeyframe.has(o)||this._currentKeyframe.set(o,e)}))}snapshotCurrentStyles(){for(let[e,o]of this._localTimelineStyles)this._pendingStyles.set(e,o),this._updateStyle(e,o)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let o in this._currentKeyframe)e.push(o);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((o,r)=>{let n=this._styleSummary.get(r);(!n||o.time>n.time)&&this._updateStyle(r,o.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,o=new Set,r=this._keyframes.size===1&&this.duration===0,n=[];this._keyframes.forEach((s,l)=>{let c=new Map([...this._backFill,...s]);c.forEach((d,u)=>{d===Qe?e.add(u):d===$&&o.add(u)}),r||c.set("offset",l/this.duration),n.push(c)});let i=[...e.values()],a=[...o.values()];if(r){let s=n[0],l=new Map(s);s.set("offset",0),l.set("offset",1),n=[s,l]}return Vr(this.element,n,i,a,this.duration,this.startTime,this.easing,!1)}},zr=class extends Do{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(e,o,r,n,i,a,s=!1){super(e,o,a.delay),this.keyframes=r,this.preStyleProps=n,this.postStyleProps=i,this._stretchStartingKeyframe=s,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:o,duration:r,easing:n}=this.timings;if(this._stretchStartingKeyframe&&o){let i=[],a=r+o,s=o/a,l=new Map(e[0]);l.set("offset",0),i.push(l);let c=new Map(e[0]);c.set("offset",ei(s)),i.push(c);let d=e.length-1;for(let u=1;u<=d;u++){let y=new Map(e[u]),p=y.get("offset"),g=o+p*r;y.set("offset",ei(g/a)),i.push(y)}r=a,o=0,n="",e=i}return Vr(this.element,e,this.preStyleProps,this.postStyleProps,r,o,n,!0)}};function ei(t,e=3){let o=Math.pow(10,e-1);return Math.round(t*o)/o}function Xs(t,e){let o=new Map,r;return t.forEach(n=>{if(n==="*"){r??=e.keys();for(let i of r)o.set(i,$)}else for(let[i,a]of n)o.set(i,a)}),o}function oi(t,e,o,r,n,i,a,s,l,c,d,u,y){return{type:0,element:t,triggerName:e,isRemovalTransition:n,fromState:o,fromStyles:i,toState:r,toStyles:a,timelines:s,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:y}}var Pr={},Oo=class{_triggerName;ast;_stateStyles;constructor(e,o,r){this._triggerName=e,this.ast=o,this._stateStyles=r}match(e,o,r,n){return Zs(this.ast.matchers,e,o,r,n)}buildStyles(e,o,r){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e?.toString())||n),n?n.buildStyles(o,r):new Map}build(e,o,r,n,i,a,s,l,c,d){let u=[],y=this.ast.options&&this.ast.options.params||Pr,p=s&&s.params||Pr,g=this.buildStyles(r,p,u),h=l&&l.params||Pr,w=this.buildStyles(n,h,u),B=new Set,R=new Map,k=new Map,E=n==="void",F={params:ui(h,y),delay:this.ast.options?.delay},oe=d?[]:di(e,o,this.ast.animation,i,a,g,w,F,c,u),z=0;return oe.forEach(j=>{z=Math.max(j.duration+j.delay,z)}),u.length?oi(o,this._triggerName,r,n,E,g,w,[],[],R,k,z,u):(oe.forEach(j=>{let Ce=j.element,Be=W(R,Ce,new Set);j.preStyleProps.forEach(_e=>Be.add(_e));let tt=W(k,Ce,new Set);j.postStyleProps.forEach(_e=>tt.add(_e)),Ce!==o&&B.add(Ce)}),oi(o,this._triggerName,r,n,E,g,w,oe,[...B.values()],R,k,z))}};function Zs(t,e,o,r,n){return t.some(i=>i(e,o,r,n))}function ui(t,e){let o=Re({},e);return Object.entries(t).forEach(([r,n])=>{n!=null&&(o[r]=n)}),o}var Fr=class{styles;defaultParams;normalizer;constructor(e,o,r){this.styles=e,this.defaultParams=o,this.normalizer=r}buildStyles(e,o){let r=new Map,n=ui(e,this.defaultParams);return this.styles.styles.forEach(i=>{typeof i!="string"&&i.forEach((a,s)=>{a&&(a=ze(a,n,o));let l=this.normalizer.normalizePropertyName(s,o);a=this.normalizer.normalizeStyleValue(s,l,a,o),r.set(s,a)})}),r}};function Js(t,e,o){return new jr(t,e,o)}var jr=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(e,o,r){this.name=e,this.ast=o,this._normalizer=r,o.states.forEach(n=>{let i=n.options&&n.options.params||{};this.states.set(n.name,new Fr(n.style,i,r))}),ri(this.states,"true","1"),ri(this.states,"false","0"),o.transitions.forEach(n=>{this.transitionFactories.push(new Oo(e,n,this.states))}),this.fallbackTransition=el(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,o,r,n){return this.transitionFactories.find(a=>a.match(e,o,r,n))||null}matchStyles(e,o,r){return this.fallbackTransition.buildStyles(e,o,r)}};function el(t,e,o){let r=[(a,s)=>!0],n={type:v.Sequence,steps:[],options:null},i={type:v.Transition,animation:n,matchers:r,options:null,queryCount:0,depCount:0};return new Oo(t,i,e)}function ri(t,e,o){t.has(e)?t.has(o)||t.set(o,t.get(e)):t.has(o)&&t.set(e,t.get(o))}var ol=new Je,Wr=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(e,o,r){this.bodyNode=e,this._driver=o,this._normalizer=r}register(e,o){let r=[],n=[],i=ci(this._driver,o,r,n);if(r.length)throw Ln(r);this._animations.set(e,i)}_buildPlayer(e,o,r){let n=e.element,i=wr(this._normalizer,e.keyframes,o,r);return this._driver.animate(n,i,e.duration,e.delay,e.easing,[],!0)}create(e,o,r={}){let n=[],i=this._animations.get(e),a,s=new Map;if(i?(a=di(this._driver,o,i,Tr,xo,new Map,new Map,r,ol,n),a.forEach(d=>{let u=W(s,d.element,new Map);d.postStyleProps.forEach(y=>u.set(y,null))})):(n.push(zn()),a=[]),n.length)throw Fn(n);s.forEach((d,u)=>{d.forEach((y,p)=>{d.set(p,this._driver.computeStyle(u,p,$))})});let l=a.map(d=>{let u=s.get(d.element);return this._buildPlayer(d,new Map,u)}),c=me(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let o=this._getPlayer(e);o.destroy(),this._playersById.delete(e);let r=this.players.indexOf(o);r>=0&&this.players.splice(r,1)}_getPlayer(e){let o=this._playersById.get(e);if(!o)throw jn(e);return o}listen(e,o,r,n){let i=Co(o,"","","");return wo(this._getPlayer(e),r,i,n),()=>{}}command(e,o,r,n){if(r=="register"){this.register(e,n[0]);return}if(r=="create"){let a=n[0]||{};this.create(e,o,a);return}let i=this._getPlayer(e);switch(r){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e);break}}},ti="ng-animate-queued",rl=".ng-animate-queued",Br="ng-animate-disabled",tl=".ng-animate-disabled",nl="ng-star-inserted",il=".ng-star-inserted",al=[],fi={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},sl={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Z="__ng_removed",eo=class{namespaceId;value;options;get params(){return this.options.params}constructor(e,o=""){this.namespaceId=o;let r=e&&e.hasOwnProperty("value"),n=r?e.value:e;if(this.value=cl(n),r){let i=e,{value:a}=i,s=lt(i,["value"]);this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let o=e.params;if(o){let r=this.options.params;Object.keys(o).forEach(n=>{r[n]==null&&(r[n]=o[n])})}}},Ze="void",Rr=new eo(Ze),Ur=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(e,o,r){this.id=e,this.hostElement=o,this._engine=r,this._hostClassName="ng-tns-"+e,V(o,this._hostClassName)}listen(e,o,r,n){if(!this._triggers.has(o))throw Wn(r,o);if(r==null||r.length==0)throw Un(o);if(!dl(r))throw qn(r,o);let i=W(this._elementListeners,e,[]),a={name:o,phase:r,callback:n};i.push(a);let s=W(this._engine.statesByElement,e,new Map);return s.has(o)||(V(e,Ye),V(e,Ye+"-"+o),s.set(o,Rr)),()=>{this._engine.afterFlush(()=>{let l=i.indexOf(a);l>=0&&i.splice(l,1),this._triggers.has(o)||s.delete(o)})}}register(e,o){return this._triggers.has(e)?!1:(this._triggers.set(e,o),!0)}_getTrigger(e){let o=this._triggers.get(e);if(!o)throw Hn(e);return o}trigger(e,o,r,n=!0){let i=this._getTrigger(o),a=new oo(this.id,o,e),s=this._engine.statesByElement.get(e);s||(V(e,Ye),V(e,Ye+"-"+o),this._engine.statesByElement.set(e,s=new Map));let l=s.get(o),c=new eo(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),s.set(o,c),l||(l=Rr),!(c.value===Ze)&&l.value===c.value){if(!gl(l.params,c.params)){let h=[],w=i.matchStyles(l.value,l.params,h),B=i.matchStyles(c.value,c.params,h);h.length?this._engine.reportError(h):this._engine.afterFlush(()=>{ke(e,w),X(e,B)})}return}let y=W(this._engine.playersByElement,e,[]);y.forEach(h=>{h.namespaceId==this.id&&h.triggerName==o&&h.queued&&h.destroy()});let p=i.matchTransition(l.value,c.value,e,c.params),g=!1;if(!p){if(!n)return;p=i.fallbackTransition,g=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:o,transition:p,fromState:l,toState:c,player:a,isFallbackTransition:g}),g||(V(e,ti),a.onStart(()=>{Fe(e,ti)})),a.onDone(()=>{let h=this.players.indexOf(a);h>=0&&this.players.splice(h,1);let w=this._engine.playersByElement.get(e);if(w){let B=w.indexOf(a);B>=0&&w.splice(B,1)}}),this.players.push(a),y.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(o=>o.delete(e)),this._elementListeners.forEach((o,r)=>{this._elementListeners.set(r,o.filter(n=>n.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let o=this._engine.playersByElement.get(e);o&&(o.forEach(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,o){let r=this._engine.driver.query(e,Ge,!0);r.forEach(n=>{if(n[Z])return;let i=this._engine.fetchNamespacesByElement(n);i.size?i.forEach(a=>a.triggerLeaveAnimation(n,o,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,o,r,n){let i=this._engine.statesByElement.get(e),a=new Map;if(i){let s=[];if(i.forEach((l,c)=>{if(a.set(c,l.value),this._triggers.has(c)){let d=this.trigger(e,c,Ze,n);d&&s.push(d)}}),s.length)return this._engine.markElementAsRemoved(this.id,e,!0,o,a),r&&me(s).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let o=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(o&&r){let n=new Set;o.forEach(i=>{let a=i.name;if(n.has(a))return;n.add(a);let l=this._triggers.get(a).fallbackTransition,c=r.get(a)||Rr,d=new eo(Ze),u=new oo(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(e,o){let r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,o),this.triggerLeaveAnimation(e,o,!0))return;let n=!1;if(r.totalAnimations){let i=r.players.length?r.playersByQueriedElement.get(e):[];if(i&&i.length)n=!0;else{let a=e;for(;a=a.parentNode;)if(r.statesByElement.get(a)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)r.markElementAsRemoved(this.id,e,!1,o);else{let i=e[Z];(!i||i===fi)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,o))}}insertNode(e,o){V(e,this._hostClassName)}drainQueuedTransitions(e){let o=[];return this._queue.forEach(r=>{let n=r.player;if(n.destroyed)return;let i=r.element,a=this._elementListeners.get(i);a&&a.forEach(s=>{if(s.name==r.triggerName){let l=Co(i,r.triggerName,r.fromState.value,r.toState.value);l._data=e,wo(r.player,s.phase,l,s.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):o.push(r)}),this._queue=[],o.sort((r,n)=>{let i=r.transition.ast.depCount,a=n.transition.ast.depCount;return i==0||a==0?i-a:this._engine.driver.containsElement(r.element,n.element)?1:-1})}destroy(e){this.players.forEach(o=>o.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},qr=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(e,o)=>{};_onRemovalComplete(e,o){this.onRemovalComplete(e,o)}constructor(e,o,r){this.bodyNode=e,this.driver=o,this._normalizer=r}get queuedPlayers(){let e=[];return this._namespaceList.forEach(o=>{o.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,o){let r=new Ur(e,o,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,o)?this._balanceNamespaceList(r,o):(this.newHostElements.set(o,r),this.collectEnterElement(o)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,o){let r=this._namespaceList,n=this.namespacesByHostElement;if(r.length-1>=0){let a=!1,s=this.driver.getParentElement(o);for(;s;){let l=n.get(s);if(l){let c=r.indexOf(l);r.splice(c+1,0,e),a=!0;break}s=this.driver.getParentElement(s)}a||r.unshift(e)}else r.push(e);return n.set(o,e),e}register(e,o){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,o)),r}registerTrigger(e,o,r){let n=this._namespaceLookup[e];n&&n.register(o,r)&&this.totalAnimations++}destroy(e,o){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(e);this.namespacesByHostElement.delete(r.hostElement);let n=this._namespaceList.indexOf(r);n>=0&&this._namespaceList.splice(n,1),r.destroy(o),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let o=new Set,r=this.statesByElement.get(e);if(r){for(let n of r.values())if(n.namespaceId){let i=this._fetchNamespace(n.namespaceId);i&&o.add(i)}}return o}trigger(e,o,r,n){if(Po(o)){let i=this._fetchNamespace(e);if(i)return i.trigger(o,r,n),!0}return!1}insertNode(e,o,r,n){if(!Po(o))return;let i=o[Z];if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;let a=this.collectedLeaveElements.indexOf(o);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){let a=this._fetchNamespace(e);a&&a.insertNode(o,r)}n&&this.collectEnterElement(o)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,o){o?this.disabledNodes.has(e)||(this.disabledNodes.add(e),V(e,Br)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Fe(e,Br))}removeNode(e,o,r){if(Po(o)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(o,r):this.markElementAsRemoved(e,o,!1,r);let i=this.namespacesByHostElement.get(o);i&&i.id!==e&&i.removeNode(o,r)}else this._onRemovalComplete(o,r)}markElementAsRemoved(e,o,r,n,i){this.collectedLeaveElements.push(o),o[Z]={namespaceId:e,setForRemoval:n,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:i}}listen(e,o,r,n,i){return Po(o)?this._fetchNamespace(e).listen(o,r,n,i):()=>{}}_buildInstruction(e,o,r,n,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,n,e.fromState.options,e.toState.options,o,i)}destroyInnerAnimations(e){let o=this.driver.query(e,Ge,!0);o.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(o=this.driver.query(e,So,!0),o.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){let o=this.playersByElement.get(e);o&&o.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){let o=this.playersByQueriedElement.get(e);o&&o.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return me(this.players).onDone(()=>e());e()})}processLeaveNode(e){let o=e[Z];if(o&&o.setForRemoval){if(e[Z]=fi,o.namespaceId){this.destroyInnerAnimations(e);let r=this._fetchNamespace(o.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,o.setForRemoval)}e.classList?.contains(Br)&&this.markElementAsDisabled(e,!1),this.driver.query(e,tl,!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(e=-1){let o=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,n)=>this._balanceNamespaceList(r,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++){let n=this.collectedEnterElements[r];V(n,nl)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let r=[];try{o=this._flushAnimations(r,e)}finally{for(let n=0;n<r.length;n++)r[n]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++){let n=this.collectedLeaveElements[r];this.processLeaveNode(n)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){let r=this._whenQuietFns;this._whenQuietFns=[],o.length?me(o).onDone(()=>{r.forEach(n=>n())}):r.forEach(n=>n())}}reportError(e){throw Kn(e)}_flushAnimations(e,o){let r=new Je,n=[],i=new Map,a=[],s=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(f=>{d.add(f);let m=this.driver.query(f,rl,!0);for(let b=0;b<m.length;b++)d.add(m[b])});let u=this.bodyNode,y=Array.from(this.statesByElement.keys()),p=ai(y,this.collectedEnterElements),g=new Map,h=0;p.forEach((f,m)=>{let b=Tr+h++;g.set(m,b),f.forEach(C=>V(C,b))});let w=[],B=new Set,R=new Set;for(let f=0;f<this.collectedLeaveElements.length;f++){let m=this.collectedLeaveElements[f],b=m[Z];b&&b.setForRemoval&&(w.push(m),B.add(m),b.hasAnimation?this.driver.query(m,il,!0).forEach(C=>B.add(C)):R.add(m))}let k=new Map,E=ai(y,Array.from(B));E.forEach((f,m)=>{let b=xo+h++;k.set(m,b),f.forEach(C=>V(C,b))}),e.push(()=>{p.forEach((f,m)=>{let b=g.get(m);f.forEach(C=>Fe(C,b))}),E.forEach((f,m)=>{let b=k.get(m);f.forEach(C=>Fe(C,b))}),w.forEach(f=>{this.processLeaveNode(f)})});let F=[],oe=[];for(let f=this._namespaceList.length-1;f>=0;f--)this._namespaceList[f].drainQueuedTransitions(o).forEach(b=>{let C=b.player,I=b.element;if(F.push(C),this.collectedEnterElements.length){let D=I[Z];if(D&&D.setForMove){if(D.previousTriggersValues&&D.previousTriggersValues.has(b.triggerName)){let xe=D.previousTriggersValues.get(b.triggerName),H=this.statesByElement.get(b.element);if(H&&H.has(b.triggerName)){let no=H.get(b.triggerName);no.value=xe,H.set(b.triggerName,no)}}C.destroy();return}}let re=!u||!this.driver.containsElement(u,I),q=k.get(I),he=g.get(I),A=this._buildInstruction(b,r,he,q,re);if(A.errors&&A.errors.length){oe.push(A);return}if(re){C.onStart(()=>ke(I,A.fromStyles)),C.onDestroy(()=>X(I,A.toStyles)),n.push(C);return}if(b.isFallbackTransition){C.onStart(()=>ke(I,A.fromStyles)),C.onDestroy(()=>X(I,A.toStyles)),n.push(C);return}let at=[];A.timelines.forEach(D=>{D.stretchStartingKeyframe=!0,this.disabledNodes.has(D.element)||at.push(D)}),A.timelines=at,r.append(I,A.timelines);let _s={instruction:A,player:C,element:I};a.push(_s),A.queriedElements.forEach(D=>W(s,D,[]).push(C)),A.preStyleProps.forEach((D,xe)=>{if(D.size){let H=l.get(xe);H||l.set(xe,H=new Set),D.forEach((no,er)=>H.add(er))}}),A.postStyleProps.forEach((D,xe)=>{let H=c.get(xe);H||c.set(xe,H=new Set),D.forEach((no,er)=>H.add(er))})});if(oe.length){let f=[];oe.forEach(m=>{f.push(Vn(m.triggerName,m.errors))}),F.forEach(m=>m.destroy()),this.reportError(f)}let z=new Map,j=new Map;a.forEach(f=>{let m=f.element;r.has(m)&&(j.set(m,m),this._beforeAnimationBuild(f.player.namespaceId,f.instruction,z))}),n.forEach(f=>{let m=f.element;this._getPreviousPlayers(m,!1,f.namespaceId,f.triggerName,null).forEach(C=>{W(z,m,[]).push(C),C.destroy()})});let Ce=w.filter(f=>si(f,l,c)),Be=new Map;ii(Be,this.driver,R,c,$).forEach(f=>{si(f,l,c)&&Ce.push(f)});let _e=new Map;p.forEach((f,m)=>{ii(_e,this.driver,new Set(f),l,Qe)}),Ce.forEach(f=>{let m=Be.get(f),b=_e.get(f);Be.set(f,new Map([...m?.entries()??[],...b?.entries()??[]]))});let Jo=[],nt=[],it={};a.forEach(f=>{let{element:m,player:b,instruction:C}=f;if(r.has(m)){if(d.has(m)){b.onDestroy(()=>X(m,C.toStyles)),b.disabled=!0,b.overrideTotalTime(C.totalTime),n.push(b);return}let I=it;if(j.size>1){let q=m,he=[];for(;q=q.parentNode;){let A=j.get(q);if(A){I=A;break}he.push(q)}he.forEach(A=>j.set(A,I))}let re=this._buildAnimation(b.namespaceId,C,z,i,_e,Be);if(b.setRealPlayer(re),I===it)Jo.push(b);else{let q=this.playersByElement.get(I);q&&q.length&&(b.parentPlayer=me(q)),n.push(b)}}else ke(m,C.fromStyles),b.onDestroy(()=>X(m,C.toStyles)),nt.push(b),d.has(m)&&n.push(b)}),nt.forEach(f=>{let m=i.get(f.element);if(m&&m.length){let b=me(m);f.setRealPlayer(b)}}),n.forEach(f=>{f.parentPlayer?f.syncPlayerEvents(f.parentPlayer):f.destroy()});for(let f=0;f<w.length;f++){let m=w[f],b=m[Z];if(Fe(m,xo),b&&b.hasAnimation)continue;let C=[];if(s.size){let re=s.get(m);re&&re.length&&C.push(...re);let q=this.driver.query(m,So,!0);for(let he=0;he<q.length;he++){let A=s.get(q[he]);A&&A.length&&C.push(...A)}}let I=C.filter(re=>!re.destroyed);I.length?ul(this,m,I):this.processLeaveNode(m)}return w.length=0,Jo.forEach(f=>{this.players.push(f),f.onDone(()=>{f.destroy();let m=this.players.indexOf(f);this.players.splice(m,1)}),f.play()}),Jo}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,o,r,n,i){let a=[];if(o){let s=this.playersByQueriedElement.get(e);s&&(a=s)}else{let s=this.playersByElement.get(e);if(s){let l=!i||i==Ze;s.forEach(c=>{c.queued||!l&&c.triggerName!=n||a.push(c)})}}return(r||n)&&(a=a.filter(s=>!(r&&r!=s.namespaceId||n&&n!=s.triggerName))),a}_beforeAnimationBuild(e,o,r){let n=o.triggerName,i=o.element,a=o.isRemovalTransition?void 0:e,s=o.isRemovalTransition?void 0:n;for(let l of o.timelines){let c=l.element,d=c!==i,u=W(r,c,[]);this._getPreviousPlayers(c,d,a,s,o.toState).forEach(p=>{let g=p.getRealPlayer();g.beforeDestroy&&g.beforeDestroy(),p.destroy(),u.push(p)})}ke(i,o.fromStyles)}_buildAnimation(e,o,r,n,i,a){let s=o.triggerName,l=o.element,c=[],d=new Set,u=new Set,y=o.timelines.map(g=>{let h=g.element;d.add(h);let w=h[Z];if(w&&w.removedBeforeQueried)return new Te(g.duration,g.delay);let B=h!==l,R=fl((r.get(h)||al).map(z=>z.getRealPlayer())).filter(z=>{let j=z;return j.element?j.element===h:!1}),k=i.get(h),E=a.get(h),F=wr(this._normalizer,g.keyframes,k,E),oe=this._buildPlayer(g,F,R);if(g.subTimeline&&n&&u.add(h),B){let z=new oo(e,s,h);z.setRealPlayer(oe),c.push(z)}return oe});c.forEach(g=>{W(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>ll(this.playersByQueriedElement,g.element,g))}),d.forEach(g=>V(g,Er));let p=me(y);return p.onDestroy(()=>{d.forEach(g=>Fe(g,Er)),X(l,o.toStyles)}),u.forEach(g=>{W(n,g,[]).push(p)}),p}_buildPlayer(e,o,r){return o.length>0?this.driver.animate(e.element,o,e.duration,e.delay,e.easing,r):new Te(e.duration,e.delay)}},oo=class{namespaceId;triggerName;element;_player=new Te;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(e,o,r){this.namespaceId=e,this.triggerName=o,this.element=r}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((o,r)=>{o.forEach(n=>wo(e,r,void 0,n))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let o=this._player;o.triggerCallback&&e.onStart(()=>o.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,o){W(this._queuedCallbacks,e,[]).push(o)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let o=this._player;o.triggerCallback&&o.triggerCallback(e)}};function ll(t,e,o){let r=t.get(e);if(r){if(r.length){let n=r.indexOf(o);r.splice(n,1)}r.length==0&&t.delete(e)}return r}function cl(t){return t??null}function Po(t){return t&&t.nodeType===1}function dl(t){return t=="start"||t=="done"}function ni(t,e){let o=t.style.display;return t.style.display=e??"none",o}function ii(t,e,o,r,n){let i=[];o.forEach(l=>i.push(ni(l)));let a=[];r.forEach((l,c)=>{let d=new Map;l.forEach(u=>{let y=e.computeStyle(c,u,n);d.set(u,y),(!y||y.length==0)&&(c[Z]=sl,a.push(c))}),t.set(c,d)});let s=0;return o.forEach(l=>ni(l,i[s++])),a}function ai(t,e){let o=new Map;if(t.forEach(s=>o.set(s,[])),e.length==0)return o;let r=1,n=new Set(e),i=new Map;function a(s){if(!s)return r;let l=i.get(s);if(l)return l;let c=s.parentNode;return o.has(c)?l=c:n.has(c)?l=r:l=a(c),i.set(s,l),l}return e.forEach(s=>{let l=a(s);l!==r&&o.get(l).push(s)}),o}function V(t,e){t.classList?.add(e)}function Fe(t,e){t.classList?.remove(e)}function ul(t,e,o){me(o).onDone(()=>t.processLeaveNode(e))}function fl(t){let e=[];return gi(t,e),e}function gi(t,e){for(let o=0;o<t.length;o++){let r=t[o];r instanceof ho?gi(r.players,e):e.push(r)}}function gl(t,e){let o=Object.keys(t),r=Object.keys(e);if(o.length!=r.length)return!1;for(let n=0;n<o.length;n++){let i=o[n];if(!e.hasOwnProperty(i)||t[i]!==e[i])return!1}return!0}function si(t,e,o){let r=o.get(t);if(!r)return!1;let n=e.get(t);return n?r.forEach(i=>n.add(i)):e.set(t,r),o.delete(t),!0}var je=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(e,o)=>{};constructor(e,o,r){this._driver=o,this._normalizer=r,this._transitionEngine=new qr(e.body,o,r),this._timelineEngine=new Wr(e.body,o,r),this._transitionEngine.onRemovalComplete=(n,i)=>this.onRemovalComplete(n,i)}registerTrigger(e,o,r,n,i){let a=e+"-"+n,s=this._triggerCache[a];if(!s){let l=[],c=[],d=ci(this._driver,i,l,c);if(l.length)throw On(n,l);s=Js(n,d,this._normalizer),this._triggerCache[a]=s}this._transitionEngine.registerTrigger(o,n,s)}register(e,o){this._transitionEngine.register(e,o)}destroy(e,o){this._transitionEngine.destroy(e,o)}onInsert(e,o,r,n){this._transitionEngine.insertNode(e,o,r,n)}onRemove(e,o,r){this._transitionEngine.removeNode(e,o,r)}disableAnimations(e,o){this._transitionEngine.markElementAsDisabled(e,o)}process(e,o,r,n){if(r.charAt(0)=="@"){let[i,a]=Cr(r),s=n;this._timelineEngine.command(i,o,a,s)}else this._transitionEngine.trigger(e,o,r,n)}listen(e,o,r,n,i){if(r.charAt(0)=="@"){let[a,s]=Cr(r);return this._timelineEngine.listen(a,o,s,i)}return this._transitionEngine.listen(e,o,r,n,i)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function pl(t,e){let o=null,r=null;return Array.isArray(e)&&e.length?(o=Ir(e[0]),e.length>1&&(r=Ir(e[e.length-1]))):e instanceof Map&&(o=Ir(e)),o||r?new ml(t,o,r):null}var ml=(()=>{class t{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(o,r,n){this._element=o,this._startStyles=r,this._endStyles=n;let i=t.initialStylesByElement.get(o);i||t.initialStylesByElement.set(o,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&X(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(X(this._element,this._initialStyles),this._endStyles&&(X(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(ke(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ke(this._element,this._endStyles),this._endStyles=null),X(this._element,this._initialStyles),this._state=3)}}return t})();function Ir(t){let e=null;return t.forEach((o,r)=>{hl(r)&&(e=e||new Map,e.set(r,o))}),e}function hl(t){return t==="display"||t==="position"}var Lo=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(e,o,r,n){this.element=e,this.keyframes=o,this.options=r,this._specialStyles=n,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let o=()=>this._onFinish();this.domPlayer.addEventListener("finish",o),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",o)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let o=[];return e.forEach(r=>{o.push(Object.fromEntries(r))}),o}_triggerWebAnimation(e,o,r){return e.animate(this._convertKeyframesToObject(o),r)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,n)=>{n!=="offset"&&e.set(n,this._finished?r:Eo(this.element,n))}),this.currentSnapshot=e}triggerCallback(e){let o=e==="start"?this._onStartFns:this._onDoneFns;o.forEach(r=>r()),o.length=0}},zo=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,o){return _r(e,o)}getParentElement(e){return _o(e)}query(e,o,r){return xr(e,o,r)}computeStyle(e,o,r){return Eo(e,o)}animate(e,o,r,n,i,a=[]){let s=n==0?"both":"forwards",l={duration:r,delay:n,fill:s};i&&(l.easing=i);let c=new Map,d=a.filter(p=>p instanceof Lo);Gn(r,n)&&d.forEach(p=>{p.currentSnapshot.forEach((g,h)=>c.set(h,g))});let u=$n(o).map(p=>new Map(p));u=Xn(e,u,c);let y=pl(e,u);return new Lo(e,u,l,y)}};var Bo="@",pi="@.disabled",Fo=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(e,o,r,n){this.namespaceId=e,this.delegate=o,this.engine=r,this._onDestroy=n}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,o){return this.delegate.createElement(e,o)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,o){this.delegate.appendChild(e,o),this.engine.onInsert(this.namespaceId,o,e,!1)}insertBefore(e,o,r,n=!0){this.delegate.insertBefore(e,o,r),this.engine.onInsert(this.namespaceId,o,e,n)}removeChild(e,o,r){this.parentNode(o)&&this.engine.onRemove(this.namespaceId,o,this.delegate)}selectRootElement(e,o){return this.delegate.selectRootElement(e,o)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,o,r,n){this.delegate.setAttribute(e,o,r,n)}removeAttribute(e,o,r){this.delegate.removeAttribute(e,o,r)}addClass(e,o){this.delegate.addClass(e,o)}removeClass(e,o){this.delegate.removeClass(e,o)}setStyle(e,o,r,n){this.delegate.setStyle(e,o,r,n)}removeStyle(e,o,r){this.delegate.removeStyle(e,o,r)}setProperty(e,o,r){o.charAt(0)==Bo&&o==pi?this.disableAnimations(e,!!r):this.delegate.setProperty(e,o,r)}setValue(e,o){this.delegate.setValue(e,o)}listen(e,o,r,n){return this.delegate.listen(e,o,r,n)}disableAnimations(e,o){this.engine.disableAnimations(e,o)}},Hr=class extends Fo{factory;constructor(e,o,r,n,i){super(o,r,n,i),this.factory=e,this.namespaceId=o}setProperty(e,o,r){o.charAt(0)==Bo?o.charAt(1)=="."&&o==pi?(r=r===void 0?!0:!!r,this.disableAnimations(e,r)):this.engine.process(this.namespaceId,e,o.slice(1),r):this.delegate.setProperty(e,o,r)}listen(e,o,r,n){if(o.charAt(0)==Bo){let i=bl(e),a=o.slice(1),s="";return a.charAt(0)!=Bo&&([a,s]=yl(a)),this.engine.listen(this.namespaceId,i,a,s,l=>{let c=l._data||-1;this.factory.scheduleListenerCallback(c,r,l)})}return this.delegate.listen(e,o,r,n)}};function bl(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function yl(t){let e=t.indexOf("."),o=t.substring(0,e),r=t.slice(e+1);return[o,r]}var jo=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(e,o,r){this.delegate=e,this.engine=o,this._zone=r,o.onRemovalComplete=(n,i)=>{i?.removeChild(null,n)}}createRenderer(e,o){let r="",n=this.delegate.createRenderer(e,o);if(!e||!o?.data?.animation){let c=this._rendererCache,d=c.get(n);if(!d){let u=()=>c.delete(n);d=new Fo(r,n,this.engine,u),c.set(n,d)}return d}let i=o.id,a=o.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);let s=c=>{Array.isArray(c)?c.forEach(s):this.engine.registerTrigger(i,a,e,c.name,c)};return o.data.animation.forEach(s),new Hr(this,a,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,o,r){if(e>=0&&e<this._microtaskId){this._zone.run(()=>o(r));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(i=>{let[a,s]=i;a(s)}),this._animationCallbacksBuffer=[]})}),n.push([o,r])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(e){this.engine.flush(),this.delegate.componentReplaced?.(e)}};var kl=(()=>{class t extends je{constructor(o,r,n){super(o,r,n)}ngOnDestroy(){this.flush()}static \u0275fac=function(r){return new(r||t)(P(Et),P(Ae),P(Pe))};static \u0275prov=te({token:t,factory:t.\u0275fac})}return t})();function wl(){return new Ro}function Cl(t,e,o){return new jo(t,e,o)}var hi=[{provide:Pe,useFactory:wl},{provide:je,useClass:kl},{provide:vt,useFactory:Cl,deps:[Ot,je,ye]}],_l=[{provide:Ae,useClass:Kr},{provide:nr,useValue:"NoopAnimations"},...hi],mi=[{provide:Ae,useFactory:()=>new zo},{provide:nr,useFactory:()=>"BrowserAnimations"},...hi],bi=(()=>{class t{static withConfig(o){return{ngModule:t,providers:o.disableAnimations?_l:mi}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=se({type:t});static \u0275inj=ne({providers:mi,imports:[mo]})}return t})();function xl(t,e){if(t&1&&(T(0,"swiper-slide")(1,"div")(2,"a",2),N(3,"img",3),S()(),T(4,"a",4),L(5),S(),N(6,"p",5),fo(7,"newlines"),S()),t&2){let o=e.$implicit;x(2),M("href",o.href,Ke),x(),M("ngSrc",o.imgSrc),x(),M("href",o.href,Ke),x(),co(o.title),x(),M("innerHTML",go(7,5,o.description),lo)}}var Wo=class t{newsList=[];static \u0275fac=function(o){return new(o||t)};static \u0275cmp=ve({type:t,selectors:[["POS-news-swiper"]],inputs:{newsList:"newsList"},decls:2,vars:1,consts:[["pagination","true","pagination-clickable","true","autoplay-delay","5000",2,"margin-top","30px"],[4,"ngFor","ngForOf"],["target","_blank",3,"href"],["width","252","height","152","priority","",1,"border","rounded-1","mb-8",3,"ngSrc"],["target","_blank",1,"fw-bold","h5","text-primary","header-title","fs-4",3,"href"],[1,"mt-3",2,"margin-bottom","3rem",3,"innerHTML"]],template:function(o,r){o&1&&(T(0,"swiper-container",0),pe(1,xl,8,7,"swiper-slide",1),S()),o&2&&(x(),M("ngForOf",r.newsList))},dependencies:[At,sn,Dt],encapsulation:2})};var Sl="firebase",Tl="11.8.1";$e(Sl,Tl,"app");var We=new St("ANGULARFIRE2_VERSION");var vi=(t,e)=>{let o=e?[e]:fn(),r=[];return o.forEach(n=>{n.container.getProvider(t).instances.forEach(a=>{r.includes(a)||r.push(a)})}),r},Qr=function(t){return t[t.SILENT=0]="SILENT",t[t.WARN=1]="WARN",t[t.VERBOSE=2]="VERBOSE",t}(Qr||{}),md=Ve()&&typeof Zone<"u"?Qr.WARN:Qr.SILENT;var Uo=class{zone;delegate;constructor(e,o=ut){this.zone=e,this.delegate=o}now(){return this.delegate.now()}schedule(e,o,r){let n=this.zone,i=function(a){n?n.runGuarded(()=>{e.apply(this,[a])}):e.apply(this,[a])};return this.delegate.schedule(i,o,r)}},$r=(()=>{class t{outsideAngular;insideAngular;constructor(){let o=Q(ye);this.outsideAngular=o.runOutsideAngular(()=>new Uo(typeof Zone>"u"?void 0:Zone.current)),this.insideAngular=o.run(()=>new Uo(typeof Zone>"u"?void 0:Zone.current,dt))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ml=new Map,Al={activated:!1,tokenObservers:[]},Pl={initialized:!1,enabled:!1};function ee(t){return Ml.get(t)||Object.assign({},Al)}function _i(){return Pl}var Bl="https://content-firebaseappcheck.googleapis.com/v1";var Rl="exchangeDebugToken",ki={OFFSET_DURATION:5*60*1e3,RETRIAL_MIN_WAIT:30*1e3,RETRIAL_MAX_WAIT:16*60*1e3},Td=24*60*60*1e3;var Xr=class{constructor(e,o,r,n,i){if(this.operation=e,this.retryPolicy=o,this.getWaitDuration=r,this.lowerBound=n,this.upperBound=i,this.pending=null,this.nextErrorWaitInterval=n,n>i)throw new Error("Proactive refresh lower bound greater than upper bound!")}start(){this.nextErrorWaitInterval=this.lowerBound,this.process(!0).catch(()=>{})}stop(){this.pending&&(this.pending.reject("cancelled"),this.pending=null)}isRunning(){return!!this.pending}process(e){return be(this,null,function*(){this.stop();try{this.pending=new pr,this.pending.promise.catch(o=>{}),yield Il(this.getNextRun(e)),this.pending.resolve(),yield this.pending.promise,this.pending=new pr,this.pending.promise.catch(o=>{}),yield this.operation(),this.pending.resolve(),yield this.pending.promise,this.process(!0).catch(()=>{})}catch(o){this.retryPolicy(o)?this.process(!1).catch(()=>{}):this.stop()}})}getNextRun(e){if(e)return this.nextErrorWaitInterval=this.lowerBound,this.getWaitDuration();{let o=this.nextErrorWaitInterval;return this.nextErrorWaitInterval*=2,this.nextErrorWaitInterval>this.upperBound&&(this.nextErrorWaitInterval=this.upperBound),o}}};function Il(t){return new Promise(e=>{setTimeout(e,t)})}var Nl={"already-initialized":"You have already called initializeAppCheck() for FirebaseApp {$appName} with different options. To avoid this error, call initializeAppCheck() with the same options as when it was originally called. This will return the already initialized instance.","use-before-activation":"App Check is being used before initializeAppCheck() is called for FirebaseApp {$appName}. Call initializeAppCheck() before instantiating other Firebase services.","fetch-network-error":"Fetch failed to connect to a network. Check Internet connection. Original error: {$originalErrorMessage}.","fetch-parse-error":"Fetch client could not parse response. Original error: {$originalErrorMessage}.","fetch-status-error":"Fetch server returned an HTTP error status. HTTP status: {$httpStatus}.","storage-open":"Error thrown when opening storage. Original error: {$originalErrorMessage}.","storage-get":"Error thrown when reading from storage. Original error: {$originalErrorMessage}.","storage-set":"Error thrown when writing to storage. Original error: {$originalErrorMessage}.","recaptcha-error":"ReCAPTCHA error.","initial-throttle":"{$httpStatus} error. Attempts allowed again after {$time}",throttled:"Requests throttled due to previous {$httpStatus} error. Attempts allowed again after {$time}"},we=new dn("appCheck","AppCheck",Nl);function xi(t){if(!ee(t).activated)throw we.create("use-before-activation",{appName:t.name})}function Si(r,n){return be(this,arguments,function*({url:t,body:e},o){let i={"Content-Type":"application/json"},a=o.getImmediate({optional:!0});if(a){let p=yield a.getHeartbeatsHeader();p&&(i["X-Firebase-Client"]=p)}let s={method:"POST",body:JSON.stringify(e),headers:i},l;try{l=yield fetch(t,s)}catch(p){throw we.create("fetch-network-error",{originalErrorMessage:p?.message})}if(l.status!==200)throw we.create("fetch-status-error",{httpStatus:l.status});let c;try{c=yield l.json()}catch(p){throw we.create("fetch-parse-error",{originalErrorMessage:p?.message})}let d=c.ttl.match(/^([\d.]+)(s)$/);if(!d||!d[2]||isNaN(Number(d[1])))throw we.create("fetch-parse-error",{originalErrorMessage:`ttl field (timeToLive) is not in standard Protobuf Duration format: ${c.ttl}`});let u=Number(d[1])*1e3,y=Date.now();return{token:c.token,expireTimeMillis:y+u,issuedAtTimeMillis:y}})}function Ti(t,e){let{projectId:o,appId:r,apiKey:n}=t.options;return{url:`${Bl}/projects/${o}/apps/${r}:${Rl}?key=${n}`,body:{debug_token:e}}}var Dl="firebase-app-check-database",Ol=1,Zr="firebase-app-check-store";var qo=null;function Ll(){return qo||(qo=new Promise((t,e)=>{try{let o=indexedDB.open(Dl,Ol);o.onsuccess=r=>{t(r.target.result)},o.onerror=r=>{var n;e(we.create("storage-open",{originalErrorMessage:(n=r.target.error)===null||n===void 0?void 0:n.message}))},o.onupgradeneeded=r=>{let n=r.target.result;switch(r.oldVersion){case 0:n.createObjectStore(Zr,{keyPath:"compositeKey"})}}}catch(o){e(we.create("storage-open",{originalErrorMessage:o?.message}))}}),qo)}function zl(t,e){return Fl(jl(t),e)}function Fl(t,e){return be(this,null,function*(){let r=(yield Ll()).transaction(Zr,"readwrite"),i=r.objectStore(Zr).put({compositeKey:t,value:e});return new Promise((a,s)=>{i.onsuccess=l=>{a()},r.onerror=l=>{var c;s(we.create("storage-set",{originalErrorMessage:(c=l.target.error)===null||c===void 0?void 0:c.message}))}})})}function jl(t){return`${t.options.appId}-${t.name}`}var ro=new un("@firebase/app-check");function Yr(t,e){return cn()?zl(t,e).catch(o=>{ro.warn(`Failed to write token to IndexedDB. Error: ${o}`)}):Promise.resolve()}function Ei(){return _i().enabled}function Mi(){return be(this,null,function*(){let t=_i();if(t.enabled&&t.token)return t.token.promise;throw Error(`
2
2
  Can't get debug token in production mode.
3
- `)})}var Wl={error:"UNKNOWN_ERROR"};function Ul(t){return ln.encodeString(JSON.stringify(t),!1)}function Jr(t,e=!1,o=!1){return be(this,null,function*(){let r=t.app;xi(r);let n=ee(r),i=n.token,a;if(i&&!to(i)&&(n.token=void 0,i=void 0),!i){let c=yield n.cachedTokenPromise;c&&(to(c)?i=c:yield Yr(r,void 0))}if(!e&&i&&to(i))return{token:i.token};let s=!1;if(Ei())try{n.exchangeTokenPromise||(n.exchangeTokenPromise=Si(Ti(r,yield Mi()),t.heartbeatServiceProvider).finally(()=>{n.exchangeTokenPromise=void 0}),s=!0);let c=yield n.exchangeTokenPromise;return yield Yr(r,c),n.token=c,{token:c.token}}catch(c){return c.code==="appCheck/throttled"||c.code==="appCheck/initial-throttle"?ro.warn(c.message):o&&ro.error(c),Gr(c)}try{n.exchangeTokenPromise||(n.exchangeTokenPromise=n.provider.getToken().finally(()=>{n.exchangeTokenPromise=void 0}),s=!0),i=yield ee(r).exchangeTokenPromise}catch(c){c.code==="appCheck/throttled"||c.code==="appCheck/initial-throttle"?ro.warn(c.message):o&&ro.error(c),a=c}let l;return i?a?to(i)?l={token:i.token,internalError:a}:l=Gr(a):(l={token:i.token},n.token=i,yield Yr(r,i)):l=Gr(a),s&&Vl(r,l),l})}function ql(t){return be(this,null,function*(){let e=t.app;xi(e);let{provider:o}=ee(e);if(Ei()){let r=yield Mi(),{token:n}=yield Si(Ti(e,r),t.heartbeatServiceProvider);return{token:n}}else{let{token:r}=yield o.getToken();return{token:r}}})}function Hl(t,e,o,r){let{app:n}=t,i=ee(n),a={next:o,error:r,type:e};if(i.tokenObservers=[...i.tokenObservers,a],i.token&&to(i.token)){let s=i.token;Promise.resolve().then(()=>{o({token:s.token}),wi(t)}).catch(()=>{})}i.cachedTokenPromise.then(()=>wi(t))}function Ai(t,e){let o=ee(t),r=o.tokenObservers.filter(n=>n.next!==e);r.length===0&&o.tokenRefresher&&o.tokenRefresher.isRunning()&&o.tokenRefresher.stop(),o.tokenObservers=r}function wi(t){let{app:e}=t,o=ee(e),r=o.tokenRefresher;r||(r=Kl(t),o.tokenRefresher=r),!r.isRunning()&&o.isTokenAutoRefreshEnabled&&r.start()}function Kl(t){let{app:e}=t;return new Xr(()=>be(null,null,function*(){let o=ee(e),r;if(o.token?r=yield Jr(t,!0):r=yield Jr(t),r.error)throw r.error;if(r.internalError)throw r.internalError}),()=>!0,()=>{let o=ee(e);if(o.token){let r=o.token.issuedAtTimeMillis+(o.token.expireTimeMillis-o.token.issuedAtTimeMillis)*.5+3e5,n=o.token.expireTimeMillis-5*60*1e3;return r=Math.min(r,n),Math.max(0,r-Date.now())}else return 0},ki.RETRIAL_MIN_WAIT,ki.RETRIAL_MAX_WAIT)}function Vl(t,e){let o=ee(t).tokenObservers;for(let r of o)try{r.type==="EXTERNAL"&&e.error!=null?r.error(e.error):r.next(e)}catch{}}function to(t){return t.expireTimeMillis-Date.now()>0}function Gr(t){return{token:Ul(Wl),error:t}}var et=class{constructor(e,o){this.app=e,this.heartbeatServiceProvider=o}_delete(){let{tokenObservers:e}=ee(this.app);for(let o of e)Ai(this.app,o.next);return Promise.resolve()}};function Ql(t,e){return new et(t,e)}function $l(t){return{getToken:e=>Jr(t,e),getLimitedUseToken:()=>ql(t),addTokenListener:e=>Hl(t,"INTERNAL",e),removeTokenListener:e=>Ai(t.app,e)}}var Yl="@firebase/app-check",Gl="0.10.0";var Xl="app-check",Ci="app-check-internal";function Zl(){hr(new mr(Xl,t=>{let e=t.getProvider("app").getImmediate(),o=t.getProvider("heartbeat");return Ql(e,o)},"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((t,e,o)=>{t.getProvider(Ci).initialize()})),hr(new mr(Ci,t=>{let e=t.getProvider("app-check").getImmediate();return $l(e)},"PUBLIC").setInstantiationMode("EXPLICIT")),$e(Yl,Gl)}Zl();var Jl="app-check";var Ho=class{constructor(){return vi(Jl)}};var ec=["localhost","0.0.0.0","127.0.0.1"],Wd=typeof window<"u"&&ec.includes(window.location.hostname);var rc="firebase",tc="11.8.1";G.registerVersion(rc,tc,"app-compat");var nc=["ngOnDestroy"],Bi=(t,e,o,r={})=>new Proxy(t,{get:(n,i)=>o.runOutsideAngular(()=>{if(t[i])return r?.spy?.get&&r.spy.get(i,t[i]),t[i];if(nc.indexOf(i)>-1)return()=>{};let a=e.toPromise().then(s=>{let l=s?.[i];return typeof l=="function"?l.bind(s):l?.then?l.then(c=>o.run(()=>c)):o.run(()=>l)});return new Proxy(()=>{},{get:(s,l)=>a[l],apply:(s,l,c)=>a.then(d=>{let u=d?.(...c);return r?.spy?.apply&&r.spy.apply(i,c,u),u})})})});var Ko=class{constructor(e){return e}},Vo=new ie("angularfire2.app.options"),Qo=new ie("angularfire2.app.name");function ot(t,e,o){let r=typeof o=="string"&&o||"[DEFAULT]",n=typeof o=="object"&&o||{};n.name=n.name||r;let a=G.apps.filter(s=>s&&s.name===n.name)[0]||e.runOutsideAngular(()=>G.initializeApp(t,n));try{if(JSON.stringify(t)!==JSON.stringify(a.options)){let s=!!module.hot;ic("error",`${a.name} Firebase App already initialized with different options${s?", you may need to reload as Firebase is not HMR aware.":"."}`)}}catch{}return new Ko(a)}var ic=(t,...e)=>{Ve()&&typeof console<"u"&&console[t](...e)},ac={provide:Ko,useFactory:ot,deps:[Vo,ye,[new yt,Qo]]},Ri=(()=>{class t{static initializeApp(o,r){return{ngModule:t,providers:[{provide:Vo,useValue:o},{provide:Qo,useValue:r}]}}constructor(o){G.registerVersion("angularfire",We.full,"core"),G.registerVersion("angularfire",We.full,"app-compat"),G.registerVersion("angular",Tt.full,o.toString())}static \u0275fac=function(r){return new(r||t)(P(so))};static \u0275mod=se({type:t});static \u0275inj=ne({providers:[ac]})}return t})();function Ii(t,e,o,r,n){let[,i,a]=globalThis.\u0275AngularfireInstanceCache.find(s=>s[0]===t)||[];if(i)return sc(n,a)||(Pi("error",`${e} was already initialized on the ${o} Firebase App with different settings.${lc?" You may need to reload as Firebase is not HMR aware.":""}`),Pi("warn",{is:n,was:a})),i;{let s=r();return globalThis.\u0275AngularfireInstanceCache.push([t,s,n]),s}}function sc(t,e){try{return t.toString()===e.toString()}catch{return t===e}}var lc=typeof module<"u"&&!!module.hot,Pi=(t,...e)=>{Ve()&&typeof console<"u"&&console[t](...e)};globalThis.\u0275AngularfireInstanceCache||=[];var cc=new ie("angularfire2.auth.use-emulator"),dc=new ie("angularfire2.auth.settings"),uc=new ie("angularfire2.auth.tenant-id"),fc=new ie("angularfire2.auth.langugage-code"),gc=new ie("angularfire2.auth.use-device-language"),pc=new ie("angularfire.auth.persistence"),mc=(t,e,o,r,n,i,a,s)=>Ii(`${t.name}.auth`,"AngularFireAuth",t.name,()=>{let l=e.runOutsideAngular(()=>t.auth());if(o&&l.useEmulator(...o),r&&(l.tenantId=r),l.languageCode=n,i&&l.useDeviceLanguage(),a)for(let[c,d]of Object.entries(a))l.settings[c]=d;return s&&l.setPersistence(s),l},[o,r,n,i,a,s]),rt=(()=>{class t{injector=Q(tr);authState;idToken;user;idTokenResult;credential;constructor(o,r,n,i,a,s,l,c,d,u,y,p){let g=new ct,h=He(void 0).pipe(Ue(a.outsideAngular),ue(()=>i.runOutsideAngular(()=>import("./chunk-BQOD2C6M.js"))),de(()=>ot(o,i,r)),de(w=>mc(w,i,s,c,d,u,l,y)),or({bufferSize:1,refCount:!1}));if(Nt(n))this.authState=this.user=this.idToken=this.idTokenResult=this.credential=He(null);else{h.pipe(ht()).subscribe();let w=h.pipe(ue(k=>k.getRedirectResult().then(E=>E,()=>null)),gn(this.injector),or({bufferSize:1,refCount:!1})),B=h.pipe(ue(k=>new io(E=>({unsubscribe:i.runOutsideAngular(()=>k.onAuthStateChanged(F=>E.next(F),F=>E.error(F),()=>E.complete()))})))),R=h.pipe(ue(k=>new io(E=>({unsubscribe:i.runOutsideAngular(()=>k.onIdTokenChanged(F=>E.next(F),F=>E.error(F),()=>E.complete()))}))));this.authState=w.pipe(rr(B),ao(a.outsideAngular),Ue(a.insideAngular)),this.user=w.pipe(rr(R),ao(a.outsideAngular),Ue(a.insideAngular)),this.idToken=this.user.pipe(ue(k=>k?qe(k.getIdToken()):He(null))),this.idTokenResult=this.user.pipe(ue(k=>k?qe(k.getIdTokenResult()):He(null))),this.credential=gt(w,g,this.authState.pipe(pt(k=>!k))).pipe(de(k=>k?.user?k:null),ao(a.outsideAngular),Ue(a.insideAngular))}return Bi(this,h,i,{spy:{apply:(w,B,R)=>{(w.startsWith("signIn")||w.startsWith("createUser"))&&R.then(k=>g.next(k))}}})}static \u0275fac=function(r){return new(r||t)(P(Vo),P(Qo,8),P(so),P(ye),P($r),P(cc,8),P(dc,8),P(uc,8),P(fc,8),P(gc,8),P(pc,8),P(Ho,8))};static \u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"any"})}return t})(),Ni=(()=>{class t{constructor(){G.registerVersion("angularfire",We.full,"auth-compat")}static \u0275fac=function(r){return new(r||t)};static \u0275mod=se({type:t});static \u0275inj=ne({providers:[rt]})}return t})();var $o=class t{constructor(e,o,r){this.afAuth=e;this.http=o;this.router=r}loginWithGoogle(e){e.preventDefault();let o=new br;o.setCustomParameters({prompt:"select_account"}),qe(this.afAuth.signInWithPopup(o)).pipe(de(n=>n.credential),de(n=>n.idToken),ue(n=>this.http.post("/api/login/Google",{IDToken:n})),bt(n=>{localStorage.setItem("AccountInfo",JSON.stringify(n.AccountInfo)),localStorage.setItem("Token",n.Token),localStorage.setItem("TinyMCEPlugins",n.UIConfig.TinyMCE),localStorage.setItem("Roles",JSON.stringify(le.parseJwt(localStorage.getItem("Token"))["http://schemas.microsoft.com/ws/2008/06/identity/claims/role"])),localStorage.setItem("Intercom",JSON.stringify(n.Intercom)),localStorage.setItem("CloudinaryConfig",n.UIConfig.CloudinaryConfig),localStorage.setItem("DataDaysRange",n.UIConfig.DataDaysRange),localStorage.setItem("KeepSignIn",JSON.stringify(!0)),this.router.navigate(["/menu/Dashboard"])})).subscribe()}static \u0275fac=function(o){return new(o||t)(P(rt),P(yo),P(Oe))};static \u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})};var kc=t=>({border:t}),wc=(t,e)=>({"rounded-end":t,"border-end-0":e}),Cc=()=>["/ForgotPassword"];function _c(t,e){if(t&1){let o=Ne();T(0,"i",36),Se("click",function(){fe(o);let n=O(3);return ge(n.showPassword())}),S()}if(t&2){let o=O(3);wt("",o.showHideClass," fas")}}function xc(t,e){if(t&1&&(T(0,"span",34),pe(1,_c,1,3,"i",35),S()),t&2){let o=O(2);x(),M("ngIf",o.password)}}function Sc(t,e){if(t&1){let o=Ne();T(0,"div",1)(1,"div",2)(2,"div",3)(3,"h3",4),L(4,"New Features"),S(),N(5,"POS-news-swiper",5),fo(6,"async"),S(),T(7,"div",6)(8,"div",7)(9,"h3",8),L(10),S(),T(11,"div",9),L(12),S()(),T(13,"form",10),Se("submit",function(){fe(o);let n=O();return ge(n.submitLogin())}),T(14,"div",11)(15,"div",12)(16,"div",13)(17,"span"),N(18,"i",14),S()(),T(19,"input",15),cr("ngModelChange",function(n){fe(o);let i=O();return lr(i.username,n)||(i.username=n),ge(n)}),S()(),T(20,"div",16)(21,"div",13)(22,"span"),N(23,"i",17),S()(),T(24,"input",18),cr("ngModelChange",function(n){fe(o);let i=O();return lr(i.password,n)||(i.password=n),ge(n)}),S(),pe(25,xc,2,1,"span",19),S(),T(26,"div",20)(27,"div",21)(28,"a",22),L(29,"Forgot your password?"),S()()(),N(30,"input",23),T(31,"div",24),N(32,"hr"),T(33,"span",25),L(34,"or"),S(),N(35,"hr"),S(),T(36,"div")(37,"button",26),Se("click",function(n){fe(o);let i=O();return ge(i.fbService.loginWithGoogle(n))}),N(38,"i",27),L(39," Sign In with Google"),S()()()()()(),T(40,"div",28)(41,"span",29),L(42,"powered by :"),S(),N(43,"a",30),S(),T(44,"div",31)(45,"a",32),L(46),N(47,"i",33),S()()()}if(t&2){let o=O();x(5),M("newsList",go(6,15,o.news$)),x(5),De(" ",o.loginLoaderData.Brand," "),x(),Ie(o.subscriptionState==null?null:o.subscriptionState.class),M("ngClass",_t(17,kc,o.subscriptionState==null?null:o.subscriptionState.class)),x(),De(" ",o.subscriptionState==null?null:o.subscriptionState.message,""),x(7),sr("ngModel",o.username),x(5),M("type",o.inputType)("ngClass",xt(19,wc,o.browserType=="edge",o.browserType!="edge")),sr("ngModel",o.password),x(),M("ngIf",o.browserType!="edge"),x(3),M("routerLink",uo(22,Cc)),x(17),Ct("href","https://changelog.dealpos.com/?categories=cat_gAZdRhBYU7QVl&view=complete&v=",o.appVersion,"",Ke),x(),De("version ",o.loginLoaderData.V,"")}}var Yo=class t{constructor(e,o,r,n,i,a){this.httpService=e;this.authService=o;this.fbService=r;this.router=n;this.activatedRoute=i;this.title=a;this.initLogin(),this.news$=this.httpService.getNews(K.news).pipe(de(s=>s.items.map(l=>l.properties)))}signalRClient=Q(Xt);appVersion=K.version;showHideClass;inputType;browserType;loginLoaderData;username;password;news$;returnUrl;subscriptionStatus;subscriptionState;ngOnInit(){document.body.classList.add("login-body"),this.browserType=this.findname_browser(),this.initSubscriptionStatus()}initLogin(){this.returnUrl=this.authService.returnUrl;let e=this.activatedRoute.snapshot.queryParams,o=e?.OTT;le.IsNotEmpty(o)&&this.authService.login({OneTimeToken:o,GetMenu:!0}).subscribe({next:n=>{this.onLoginSuccess(n)}});let r={UserName:e.UserName,Password:e.Password};le.IsNotEmpty(r.UserName)&&le.IsNotEmpty(r.Password)?(this.username=r.UserName,this.password=r.Password,this.submitLogin(()=>this.loginLoader())):this.loginLoader()}initSubscriptionStatus(){this.subscriptionStatus=[{status:1,message:"Subscription overdue",class:"alert-warning"},{status:2,message:"Subscription partially suspended",class:"alert-danger"},{status:3,message:"Subscription suspended",class:"alert-danger"}]}loginLoader(){this.authService.loginLoader().subscribe(e=>{this.loginLoaderData=e;let o=`${e.Brand} | Login Form`;this.title.setTitle(o),this.initUserLogin(e),this.subscriptionState=this.subscriptionStatus.filter(r=>r.status==e.SubStatus)[0]}),this.inputType="password",this.showHideClass="fas fa-eye fas"}ngOnDestroy(){document.body.classList.remove("login-body")}initUserLogin(e){if(e.Auth)if(le.IsNotEmpty(this.returnUrl))this.router.navigateByUrl(this.returnUrl),this.authService.returnUrl=null;else{let o=this.authService.getRedirectUrl();this.router.navigate([o])}else le.IsNotEmpty(this.returnUrl)&&this.router.navigate([],{queryParamsHandling:"merge",queryParams:{ReturnUrl:this.returnUrl}})}submitLogin(e){let o={GetMenu:!0,Name:this.username,Password:this.password};this.authService.login(o).subscribe({next:r=>{this.onLoginSuccess(r)},error:r=>{e&&e()}})}onLoginSuccess(e){this.signalRClient._recacheOutlet.next(!0),e.Type=="totp"?this.router.navigate(["/verify-2fa"]):e.Type=="geo"?this.router.navigate(["/verify-geolocation"]):(le.IsEmpty(e.ReturnUrl)&&(e.ReturnUrl=this.authService.getRedirectUrl()),le.IsEmpty(this.returnUrl)?this.router.navigate([e.ReturnUrl]):(this.router.navigateByUrl(this.returnUrl),this.authService.returnUrl=null))}showPassword(){this.showHideClass=this.showHideClass=="fas fa-eye fas"?"fas fas fa-eye-slash":"fas fa-eye fas",this.inputType=this.showHideClass=="fas fa-eye fas"?"password":"text"}findname_browser(){var e=window.navigator.userAgent;if(e.indexOf("Edg/")>-1)return"edge";var o={chrome:/chrome/i,safari:/safari/i,firefox:/firefox/i,ie:/internet explorer/i,edge:/edg/i};for(var r in o)if(o[r].test(e))return r;return"unknown"}static \u0275fac=function(o){return new(o||t)(ae(yo),ae(vo),ae($o),ae(Oe),ae(Kt),ae(Wt))};static \u0275cmp=ve({type:t,selectors:[["POS-auth-login"]],decls:1,vars:1,consts:[["class","container-fluid d-md-flex align-items-center justify-content-center","style","height: 100vh;",4,"ngIf"],[1,"container-fluid","d-md-flex","align-items-center","justify-content-center",2,"height","100vh"],[1,"row","mx-auto","bg-white","login-pane"],[1,"col-md-5","order-md-first","order-last","border-end","border-secondary","features-pane","pt-12"],[1,"fw-normal","fs-2","header-title"],[3,"newsList"],[1,"col-md-7","order-md-last","order-first","py-12","sign-in-pane"],[1,"d-flex","align-items-center"],[1,"text-md-start","text-center","fw-normal","fs-2","header-title","me-2"],[1,"fs-6","fw-normal","mt-1","fst-italic","px-2","py-1","alert","rounded-0","mb-0",3,"ngClass"],[2,"margin-top","28px",3,"submit"],[1,"form-block","mt-5"],[1,"input-group","input-group-lg"],[1,"input-group-text","rounded-start","border-end-0",2,"width","52px"],[1,"fas","fa-user","fa-lg"],["id","txtUsername","type","text","data-cy","username","placeholder","Username / Email","aria-label","Username","aria-describedby","basic-addon1","autofocus","","name","username",1,"form-control","form-control-lg","rounded-end","border-start-0","ps-1",2,"height","50px",3,"ngModelChange","ngModel"],[1,"input-group","input-group-lg","mt-8"],[1,"fas","fa-key","fa-lg"],["id","txtPassword","data-cy","password","placeholder","Password","aria-label","Password","aria-describedby","basic-addon1","autofocus","","name","password",1,"form-control","form-control-lg","rounded-end","border-start-0","ps-1",2,"height","50px",3,"ngModelChange","type","ngClass","ngModel"],["class","input-group-text border-start-0 rounded-end",4,"ngIf"],[1,"text-end","mt-4"],[1,"me-2"],[1,"text-primary",3,"routerLink"],["id","btnSubmit","type","submit","value","Sign In","data-cy","loginBtn",1,"w-100","btn","fs-3","rounded-3","btn-login","text-white","mt-6","bg-primary"],[1,"divider","d-flex","align-items-center","justify-content-center"],[1,"mx-4","text-body-secondary"],[1,"btn","btn-social-login","text-primary","me-5","w-100","fw-bold",3,"click"],[1,"fa-brands","fa-google"],[1,"d-flex","copyright",2,"margin-left","20px"],[1,"align-self-center","me-5"],["target","_blank","href","http://www.dealpos.com"],[1,"version",2,"margin-right","18px"],["target","_blank",1,"text-dark","fst-italic",3,"href"],[1,"fa-solid","fa-circle-exclamation","ms-2",2,"font-size","16px"],[1,"input-group-text","border-start-0","rounded-end"],[3,"class","click",4,"ngIf"],[3,"click"]],template:function(o,r){o&1&&pe(0,Sc,48,23,"div",0),o&2&&M("ngIf",r.loginLoaderData)},dependencies:[po,Wo,Mt,an,tn,Zt,Jt,en,nn,rn,on,Qt,Pt],styles:[".login-pane[_ngcontent-%COMP%]{max-width:57rem;height:max-content}@media (min-width: 900px){.login-pane[_ngcontent-%COMP%]{width:57rem}}@media (max-width: 768px){.login-pane[_ngcontent-%COMP%]{margin-top:0}}@media only screen and (max-width: 1300px) and (min-width: 1024px){.login-pane[_ngcontent-%COMP%]{margin-top:30px}}.header-title[_ngcontent-%COMP%]{font-family:Roboto Slab}.carousel-inner[_ngcontent-%COMP%]{height:310px}.carousel-inner[_ngcontent-%COMP%] div.carousel-item[_ngcontent-%COMP%]{top:28px}@media (max-width: 820px){.carousel-indicators[_ngcontent-%COMP%]{bottom:-8px}}.carousel-indicators[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background-color:#ddd;width:1.25rem;height:.375rem;transition:.3s}.carousel-indicators[_ngcontent-%COMP%] button.active[_ngcontent-%COMP%]{background-color:var(--bs-primary)}.sign-in-pane[_ngcontent-%COMP%]{padding:0 3rem 0 3.5rem}@media (max-width: 768px){.sign-in-pane[_ngcontent-%COMP%]{padding:24px 12px}.sign-in-pane[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding-left:8px!important}}.subscription.danger[_ngcontent-%COMP%]{background-color:#f2dede;border-color:#eb415d;color:#a94442}.subscription.warning[_ngcontent-%COMP%]{background-color:#fcf8e3;border-color:#faebcc;color:#8a6d3b}@media (max-width: 768px){.features-pane[_ngcontent-%COMP%]{border-right:0px!important}}.copyright[_ngcontent-%COMP%]{position:absolute;bottom:1.25rem;left:1.25rem}.copyright[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:8.125rem;height:2.5rem;background-image:url(//res.cloudinary.com/pos/image/upload/POS/Images/Login/dealpos.png);background-position:left top;background-repeat:no-repeat;background-size:contain}.version[_ngcontent-%COMP%]{bottom:1.25rem;right:1.25rem;position:absolute}@media (max-width: 768px){.copyright[_ngcontent-%COMP%], .version[_ngcontent-%COMP%]{position:static;margin-top:10px}.copyright[_ngcontent-%COMP%]{justify-content:center}}div.divider[_ngcontent-%COMP%] > hr[_ngcontent-%COMP%]{margin-top:1.2rem;margin-bottom:1.2rem;border-top:1px solid rgba(0,0,0,.855);width:20%}button.btn-social-login[_ngcontent-%COMP%], .btn-login[_ngcontent-%COMP%]{border:1px solid var(--bs-primary)}.fa-google[_ngcontent-%COMP%]{background:conic-gradient(from -45deg,#ea4335 110deg,#4285f4 90deg 180deg,#34a853 180deg 270deg,#fbbc05 270deg) 73% 55%/150% 150% no-repeat;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}.version[_ngcontent-%COMP%] a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#fe3a00!important}.version[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited i[_ngcontent-%COMP%]{color:#f4f4f4!important}.version[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{margin-left:-10px}"]})};var Oi=[{path:"",component:Yo},{path:"ForgotPassword",loadComponent:()=>import("./chunk-LGCRFIIA.js").then(t=>t.AuthForgotPasswordComponent)},{path:"ResetPassword",loadComponent:()=>import("./chunk-IXEK3QVA.js").then(t=>t.AuthResetPasswordComponent)},{path:"verify-2fa",loadComponent:()=>import("./chunk-G7VSP6EW.js").then(t=>t.AuthTotpComponent)},{path:"verify-geolocation",loadComponent:()=>import("./chunk-D5LBI5TH.js").then(t=>t.AuthGeolocationComponent)},{path:"",redirectTo:"",pathMatch:"full"}];var Tc=[{path:"menu",loadChildren:()=>import("./chunk-FBH7LG5C.js").then(t=>t.MenuMasterModule)},{path:"print",loadChildren:()=>import("./chunk-YQEL63SF.js").then(t=>t.PrintModule)},...Oi],Go=class t{static \u0275fac=function(o){return new(o||t)};static \u0275mod=se({type:t});static \u0275inj=ne({imports:[gr.forRoot(Tc),gr]})};var Ec=()=>["/api/charge","changelog.dealpos.app"],Xo=class t{debounceDelay=K.ngHttpLoaderDebounceDelay;constructor(){Date.prototype.toJSON=function(){return this.getFullYear()+"-"+e(this.getMonth()+1)+"-"+e(this.getDate())+"T"+e(this.getHours())+":"+e(this.getMinutes())+":"+e(this.getSeconds())+".000"};function e(o){return o<10?"0"+o:o}this.compareAppVersion()}compareAppVersion(){let e=localStorage.getItem("appVersion"),o=K.version;e!==o&&(localStorage.setItem("appVersion",o),localStorage.setItem("mapRouteOpenChangelogDialog",JSON.stringify([])))}static \u0275fac=function(o){return new(o||t)};static \u0275cmp=ve({type:t,selectors:[["app-root"]],standalone:!1,decls:3,vars:3,consts:[[3,"filteredUrlPatterns","debounceDelay"],[1,"simple-keyboard"]],template:function(o,r){o&1&&N(0,"router-outlet")(1,"ng-http-loader",0)(2,"div",1),o&2&&(x(),M("filteredUrlPatterns",uo(2,Ec))("debounceDelay",r.debounceDelay))},dependencies:[Vt,ko],styles:[".toast-center-center[_ngcontent-%COMP%]{top:50%;left:50%;transform:translate(-50%,-50%)}.toast-top-center[_ngcontent-%COMP%]{top:0;right:0;width:100%}.toast-bottom-center[_ngcontent-%COMP%]{bottom:0;right:0;width:100%}.toast-top-full-width[_ngcontent-%COMP%]{top:0;right:0;width:100%}.toast-bottom-full-width[_ngcontent-%COMP%]{bottom:0;right:0;width:100%}.toast-top-left[_ngcontent-%COMP%]{top:12px;left:12px}.toast-top-right[_ngcontent-%COMP%]{top:12px;right:12px}.toast-bottom-right[_ngcontent-%COMP%]{right:12px;bottom:12px}.toast-bottom-left[_ngcontent-%COMP%]{bottom:12px;left:12px}.toast-title[_ngcontent-%COMP%]{font-weight:700}.toast-message[_ngcontent-%COMP%]{word-wrap:break-word}.toast-message[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .toast-message[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:#fff}.toast-message[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#ccc;text-decoration:none}.toast-close-button[_ngcontent-%COMP%]{position:relative;right:-.3em;top:-.3em;float:right;font-size:20px;font-weight:700;color:#fff;text-shadow:0 1px 0 #ffffff}.toast-close-button[_ngcontent-%COMP%]:hover, .toast-close-button[_ngcontent-%COMP%]:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.4}button.toast-close-button[_ngcontent-%COMP%]{padding:0;cursor:pointer;background:transparent;border:0}.toast-container[_ngcontent-%COMP%]{pointer-events:none;position:fixed;z-index:999999}.toast-container[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{box-sizing:border-box}.toast-container[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%]{position:relative;overflow:hidden;margin:0 0 6px;padding:15px 15px 15px 50px;width:300px;border-radius:3px;background-position:15px center;background-repeat:no-repeat;background-size:24px;box-shadow:0 0 12px #999;color:#fff}.toast-container[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%]:hover{box-shadow:0 0 12px #000;opacity:1;cursor:pointer}.toast-info[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOS4wNDMgOCA4IDExOS4wODMgOCAyNTZjMCAxMzYuOTk3IDExMS4wNDMgMjQ4IDI0OCAyNDhzMjQ4LTExMS4wMDMgMjQ4LTI0OEM1MDQgMTE5LjA4MyAzOTIuOTU3IDggMjU2IDh6bTAgMTEwYzIzLjE5NiAwIDQyIDE4LjgwNCA0MiA0MnMtMTguODA0IDQyLTQyIDQyLTQyLTE4LjgwNC00Mi00MiAxOC44MDQtNDIgNDItNDJ6bTU2IDI1NGMwIDYuNjI3LTUuMzczIDEyLTEyIDEyaC04OGMtNi42MjcgMC0xMi01LjM3My0xMi0xMnYtMjRjMC02LjYyNyA1LjM3My0xMiAxMi0xMmgxMnYtNjRoLTEyYy02LjYyNyAwLTEyLTUuMzczLTEyLTEydi0yNGMwLTYuNjI3IDUuMzczLTEyIDEyLTEyaDY0YzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MTAwaDEyYzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MjR6Jy8+PC9zdmc+)}.toast-error[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOSA4IDggMTE5IDggMjU2czExMSAyNDggMjQ4IDI0OCAyNDgtMTExIDI0OC0yNDhTMzkzIDggMjU2IDh6bTEyMS42IDMxMy4xYzQuNyA0LjcgNC43IDEyLjMgMCAxN0wzMzggMzc3LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwyNTYgMzEybC02NS4xIDY1LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwxMzQuNCAzMzhjLTQuNy00LjctNC43LTEyLjMgMC0xN2w2NS42LTY1LTY1LjYtNjUuMWMtNC43LTQuNy00LjctMTIuMyAwLTE3bDM5LjYtMzkuNmM0LjctNC43IDEyLjMtNC43IDE3IDBsNjUgNjUuNyA2NS4xLTY1LjZjNC43LTQuNyAxMi4zLTQuNyAxNyAwbDM5LjYgMzkuNmM0LjcgNC43IDQuNyAxMi4zIDAgMTdMMzEyIDI1Nmw2NS42IDY1LjF6Jy8+PC9zdmc+)}.toast-success[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTE3My44OTggNDM5LjQwNGwtMTY2LjQtMTY2LjRjLTkuOTk3LTkuOTk3LTkuOTk3LTI2LjIwNiAwLTM2LjIwNGwzNi4yMDMtMzYuMjA0YzkuOTk3LTkuOTk4IDI2LjIwNy05Ljk5OCAzNi4yMDQgMEwxOTIgMzEyLjY5IDQzMi4wOTUgNzIuNTk2YzkuOTk3LTkuOTk3IDI2LjIwNy05Ljk5NyAzNi4yMDQgMGwzNi4yMDMgMzYuMjA0YzkuOTk3IDkuOTk3IDkuOTk3IDI2LjIwNiAwIDM2LjIwNGwtMjk0LjQgMjk0LjQwMWMtOS45OTggOS45OTctMjYuMjA3IDkuOTk3LTM2LjIwNC0uMDAxeicvPjwvc3ZnPg==)}.toast-warning[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1NzYgNTEyJyB3aWR0aD0nNTc2JyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTU2OS41MTcgNDQwLjAxM0M1ODcuOTc1IDQ3Mi4wMDcgNTY0LjgwNiA1MTIgNTI3Ljk0IDUxMkg0OC4wNTRjLTM2LjkzNyAwLTU5Ljk5OS00MC4wNTUtNDEuNTc3LTcxLjk4N0wyNDYuNDIzIDIzLjk4NWMxOC40NjctMzIuMDA5IDY0LjcyLTMxLjk1MSA4My4xNTQgMGwyMzkuOTQgNDE2LjAyOHpNMjg4IDM1NGMtMjUuNDA1IDAtNDYgMjAuNTk1LTQ2IDQ2czIwLjU5NSA0NiA0NiA0NiA0Ni0yMC41OTUgNDYtNDYtMjAuNTk1LTQ2LTQ2LTQ2em0tNDMuNjczLTE2NS4zNDZsNy40MTggMTM2Yy4zNDcgNi4zNjQgNS42MDkgMTEuMzQ2IDExLjk4MiAxMS4zNDZoNDguNTQ2YzYuMzczIDAgMTEuNjM1LTQuOTgyIDExLjk4Mi0xMS4zNDZsNy40MTgtMTM2Yy4zNzUtNi44NzQtNS4wOTgtMTIuNjU0LTExLjk4Mi0xMi42NTRoLTYzLjM4M2MtNi44ODQgMC0xMi4zNTYgNS43OC0xMS45ODEgMTIuNjU0eicvPjwvc3ZnPg==)}.toast-container.toast-top-center[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%], .toast-container.toast-bottom-center[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%]{width:300px;margin-left:auto;margin-right:auto}.toast-container.toast-top-full-width[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%], .toast-container.toast-bottom-full-width[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%]{width:96%;margin-left:auto;margin-right:auto}.ngx-toastr[_ngcontent-%COMP%]{background-color:#030303;pointer-events:auto}.toast-success[_ngcontent-%COMP%]{background-color:#51a351}.toast-error[_ngcontent-%COMP%]{background-color:#bd362f}.toast-info[_ngcontent-%COMP%]{background-color:#2f96b4}.toast-warning[_ngcontent-%COMP%]{background-color:#f89406}.toast-progress[_ngcontent-%COMP%]{position:absolute;left:0;bottom:0;height:4px;background-color:#000;opacity:.4}@media all and (max-width: 240px){.toast-container[_ngcontent-%COMP%] .ngx-toastr.div[_ngcontent-%COMP%]{padding:8px 8px 8px 50px;width:11em}.toast-container[_ngcontent-%COMP%] .toast-close-button[_ngcontent-%COMP%]{right:-.2em;top:-.2em}}@media all and (min-width: 241px) and (max-width: 480px){.toast-container[_ngcontent-%COMP%] .ngx-toastr.div[_ngcontent-%COMP%]{padding:8px 8px 8px 50px;width:18em}.toast-container[_ngcontent-%COMP%] .toast-close-button[_ngcontent-%COMP%]{right:-.2em;top:-.2em}}@media all and (min-width: 481px) and (max-width: 768px){.toast-container[_ngcontent-%COMP%] .ngx-toastr.div[_ngcontent-%COMP%]{padding:15px 15px 15px 50px;width:25em}}"]})};var Mc=["custom-toast-component",""];function Ac(t,e){if(t&1){let o=Ne();T(0,"a",11),Se("click",function(){fe(o);let n=O(2);return ge(n.remove())}),L(1," x "),S()}}function Pc(t,e){if(t&1&&(T(0,"div",6)(1,"div",7)(2,"div",8)(3,"h4"),L(4),S()()(),T(5,"div",9),pe(6,Ac,2,0,"a",10),S()()),t&2){let o=O();ar("display",o.state().value==="inactive"?"none":""),x(2),Ie(o.options.titleClass),ir("aria-label",o.title),x(2),co(o.title),x(2),M("ngIf",o.options.closeButton)}}function Bc(t,e){if(t&1&&N(0,"div",12),t&2){let o=O();Ie(o.options.messageClass),M("innerHTML",o.message,lo)}}function Rc(t,e){if(t&1&&(T(0,"div",13),L(1),S()),t&2){let o=O();Ie(o.options.messageClass),ir("aria-label",o.message),x(),De(" ",o.message," ")}}function Ic(t,e){if(t&1){let o=Ne();T(0,"a",11),Se("click",function(){fe(o);let n=O();return ge(n.remove())}),L(1," x "),S()}}function Nc(t,e){if(t&1&&(T(0,"div"),N(1,"div",14),S()),t&2){let o=O();x(),ar("width",o.width+"%")}}var Li=(()=>{class t extends Yt{constructor(o,r){super(o,r),this.toastrService=o,this.toastPackage=r}ngOnInit(){}action(o){return o.stopPropagation(),this.toastPackage.triggerAction(),!1}static{this.\u0275fac=function(r){return new(r||t)(ae(bo),ae($t))}}static{this.\u0275cmp=ve({type:t,selectors:[["","custom-toast-component",""]],features:[kt],attrs:Mc,decls:6,vars:5,consts:[[1,"toast-case"],["class","row toast-header",3,"display",4,"ngIf"],["class","row toast-body text-start","role","alert","aria-live","polite",3,"class","innerHTML",4,"ngIf"],["class","row toast-body text-start","role","alert","aria-live","polite",3,"class",4,"ngIf"],["class","btn toast-close-button btn-sm ",3,"click",4,"ngIf"],[4,"ngIf"],[1,"row","toast-header"],[1,"col-9","px-0","text-start"],[1,"my-4"],[1,"col-auto","mt-5","pe-0"],["class","btn toast-close-button btn-sm",3,"click",4,"ngIf"],[1,"btn","toast-close-button","btn-sm",3,"click"],["role","alert","aria-live","polite",1,"row","toast-body","text-start",3,"innerHTML"],["role","alert","aria-live","polite",1,"row","toast-body","text-start"],[1,"toast-progress"]],template:function(r,n){r&1&&(T(0,"div",0),pe(1,Pc,7,7,"div",1)(2,Bc,1,3,"div",2)(3,Rc,2,4,"div",3)(4,Ic,2,0,"a",4)(5,Nc,2,2,"div",5),S()),r&2&&(x(),M("ngIf",n.title),x(),M("ngIf",n.message&&n.options.enableHtml),x(),M("ngIf",n.message&&!n.options.enableHtml),x(),M("ngIf",n.options.closeButton&&n.title==null),x(),M("ngIf",n.options.progressBar))},dependencies:[It,po],styles:["[_nghost-%COMP%]{background-color:#fff;position:relative;overflow:hidden;margin:0 0 6px;width:300px;border-radius:3px;color:#141414;pointer-events:all;cursor:pointer}.toast-success[_nghost-%COMP%]{border:1.8px solid rgb(81,163,81)}.toast-info[_nghost-%COMP%]{border:1.8px solid rgb(47,150,180)}.toast-error[_nghost-%COMP%]{border:1.8px solid rgb(189,54,47)}.toast-warning[_nghost-%COMP%]{border:1.8px solid rgb(248,148,6)}.toast-case[_ngcontent-%COMP%]{margin-left:10px}.toast-header[_ngcontent-%COMP%]{background-clip:padding-box;border-bottom:1px solid gainsboro;border-width:1px;padding-bottom:0rem;padding-top:0rem;padding-right:0}.toast-title[_ngcontent-%COMP%]{color:#000}.toast-body[_ngcontent-%COMP%]{padding:10px 15px 10px 0}.notitle[_ngcontent-%COMP%]{margin-bottom:-1rem}.toast-close-button[_ngcontent-%COMP%]{color:#dcdcdc!important}"],data:{animation:[Ut("flyInOut",[Ht("inactive",Y({opacity:0})),fr("inactive => active",dr("400ms ease-out",ur([Y({transform:"translate3d(100%, 0, 0) skewX(-30deg)",opacity:0}),Y({transform:"skewX(20deg)",opacity:1}),Y({transform:"skewX(-5deg)",opacity:1}),Y({transform:"none",opacity:1})]))),fr("active => removed",dr("400ms ease-out",ur([Y({opacity:1}),Y({transform:"translate3d(100%, 0, 0) skewX(30deg)",opacity:0})])))])]}})}}return t})();var zi={name:"pos-offline",version:K.pos.indexedDBVersion,objectStoresMeta:[{store:"Order",storeConfig:{keyPath:"id",autoIncrement:!0},storeSchema:[{name:"Action",options:{unique:!1},keypath:"Action"},{name:"Items",options:{unique:!1},keypath:"Items"},{name:"CartItems",options:{unique:!1},keypath:"CartItems"},{name:"Invoice",options:{unique:!1},keypath:"Invoice"},{name:"Order",options:{unique:!1},keypath:"Order"},{name:"Payments",options:{unique:!1},keypath:"Payments"},{name:"Shipping",options:{unique:!1},keypath:"Shipping"},{name:"ContactName",options:{unique:!1},keypath:"ContactName"}]},{store:"Outlet",storeConfig:{keyPath:"RegisterID",autoIncrement:!1},storeSchema:[{name:"DefaultSalesOrderTag",options:{unique:!1},keypath:"DefaultSalesOrderTag"},{name:"DefaultTaxType",options:{unique:!1},keypath:"DefaultTaxType"},{name:"DefaultWarehouse",options:{unique:!1},keypath:"DefaultWarehouse"},{name:"EntityID",options:{unique:!1},keypath:"EntityID"},{name:"EntityName",options:{unique:!1},keypath:"EntityName"},{name:"InvoiceNumberElement",options:{unique:!1},keypath:"InvoiceNumberElement"},{name:"ListSales",options:{unique:!1},keypath:"ListSales"},{name:"MemberPoint",options:{unique:!1},keypath:"MemberPoint"},{name:"NewOrderID",options:{unique:!1},keypath:"NewOrderID"},{name:"NumberElement",options:{unique:!1},keypath:"NumberElement"},{name:"ParkLayoutPack",options:{unique:!1},keypath:"ParkLayoutPack"},{name:"PrintTemplate",options:{unique:!1},keypath:"PrintTemplate"},{name:"QuickKeyPack",options:{unique:!1},keypath:"QuickKeyPack"},{name:"RegisterID",options:{unique:!1},keypath:"RegisterID"},{name:"ShippingDefault",options:{unique:!1},keypath:"ShippingDefault"}]},{store:"OutletPrice",storeConfig:{keyPath:"id",autoIncrement:!0},storeSchema:[{name:"EntityID",options:{unique:!1},keypath:"EntityID"},{name:"ExtraCost",options:{unique:!1},keypath:"ExtraCost"},{name:"PriceDiscount",options:{unique:!1},keypath:"PriceDiscount"},{name:"UnitCost",options:{unique:!1},keypath:"UnitCost"},{name:"UnitPrice",options:{unique:!1},keypath:"UnitPrice"},{name:"VariantID",options:{unique:!1},keypath:"VariantID"}]},{store:"POSStorage",storeConfig:{keyPath:"id",autoIncrement:!1},storeSchema:[{name:"AppConfigJSON",options:{unique:!1},keypath:"AppConfigJSON"},{name:"BINS",options:{unique:!1},keypath:"BINS"},{name:"Currencies",options:{unique:!1},keypath:"Currencies"},{name:"CustomerOptions",options:{unique:!1},keypath:"CustomerOptions"},{name:"Denomination",options:{unique:!1},keypath:"Denomination"},{name:"Entities",options:{unique:!1},keypath:"Entities"},{name:"PaymentTypes",options:{unique:!1},keypath:"PaymentTypes"},{name:"Payments",options:{unique:!1},keypath:"Payments"},{name:"PoTypes",options:{unique:!1},keypath:"PoTypes"},{name:"ProductCount",options:{unique:!1},keypath:"ProductCount"},{name:"Registers",options:{unique:!1},keypath:"Registers"},{name:"Restriction",options:{unique:!1},keypath:"Restriction"},{name:"Roles",options:{unique:!1},keypath:"Roles"},{name:"SalesID",options:{unique:!1},keypath:"SalesID"},{name:"ServerDateString",options:{unique:!1},keypath:"ServerDateString"},{name:"ServerTime",options:{unique:!1},keypath:"ServerTime"},{name:"Taxes",options:{unique:!1},keypath:"Taxes"},{name:"UserID",options:{unique:!1},keypath:"UserID"},{name:"UserName",options:{unique:!1},keypath:"UserName"},{name:"Version",options:{unique:!1},keypath:"Version"}]},{store:"Product",storeConfig:{keyPath:"ID",autoIncrement:!1},storeSchema:[{name:"BrandName",options:{unique:!1},keypath:"BrandName"},{name:"CategoryName",options:{unique:!1},keypath:"CategoryName"},{name:"CategoryTypeID",options:{unique:!1},keypath:"CategoryTypeID"},{name:"Code",options:{unique:!1},keypath:"Code"},{name:"Component",options:{unique:!1},keypath:"Component"},{name:"Created",options:{unique:!1},keypath:"Created"},{name:"Description",options:{unique:!1},keypath:"Description"},{name:"ExtraCost",options:{unique:!1},keypath:"ExtraCost"},{name:"ID",options:{unique:!1},keypath:"ID"},{name:"ImageUrl",options:{unique:!1},keypath:"ImageUrl"},{name:"LoyaltyPoint",options:{unique:!1},keypath:"LoyaltyPoint"},{name:"Name",options:{unique:!1},keypath:"Name"},{name:"OrderPrice",options:{unique:!1},keypath:"OrderPrice"},{name:"OrderPriceDiscount",options:{unique:!1},keypath:"OrderPriceDiscount"},{name:"Ordered",options:{unique:!1},keypath:"Ordered"},{name:"PaymentTypeID",options:{unique:!1},keypath:"PaymentTypeID"},{name:"PriceBook",options:{unique:!1},keypath:"PriceBook"},{name:"PriceDiscount",options:{unique:!1},keypath:"PriceDiscount"},{name:"PriceNote",options:{unique:!1},keypath:"PriceNote"},{name:"PriceTypeID",options:{unique:!1},keypath:"PriceTypeID"},{name:"ProductID",options:{unique:!1},keypath:"ProductID"},{name:"Taxable",options:{unique:!1},keypath:"Taxable"},{name:"ThumbnailUrl",options:{unique:!1},keypath:"ThumbnailUrl"},{name:"TypeID",options:{unique:!1},keypath:"TypeID"},{name:"UOM",options:{unique:!1},keypath:"UOM"},{name:"UnitCost",options:{unique:!1},keypath:"UnitCost"},{name:"UnitExpense",options:{unique:!1},keypath:"UnitExpense"},{name:"UnitPrice",options:{unique:!1},keypath:"UnitPrice"},{name:"UnitPriceOriginal",options:{unique:!1},keypath:"UnitPriceOriginal"},{name:"UnitQuantity",options:{unique:!1},keypath:"UnitQuantity"},{name:"OnHand",options:{unique:!1},keypath:"OnHand"}]},{store:"SyncTime",storeConfig:{keyPath:"id",autoIncrement:!1},storeSchema:[{name:"time",keypath:"time",options:{unique:!0}}]},{store:"FailedOrder",storeConfig:{keyPath:"id",autoIncrement:!0},storeSchema:[{name:"Action",options:{unique:!1},keypath:"Action"},{name:"Items",options:{unique:!1},keypath:"Items"},{name:"CartItems",options:{unique:!1},keypath:"CartItems"},{name:"Invoice",options:{unique:!1},keypath:"Invoice"},{name:"Order",options:{unique:!1},keypath:"Order"},{name:"Payments",options:{unique:!1},keypath:"Payments"},{name:"Shipping",options:{unique:!1},keypath:"Shipping"}]},{store:"SuccessOrder",storeConfig:{keyPath:"id",autoIncrement:!0},storeSchema:[{name:"Number",options:{unique:!1},keypath:"Order.Number"}]}]};var Fi=(t,e)=>{let o=Q(bo),r=Q(vo),n=localStorage.getItem("Token"),i=Q(Oe),a=Q(hn);return n&&(t.body instanceof FormData?t=t.clone({setHeaders:{Authorization:`Bearer ${n}`}}):t.url.includes("cloudflarestorage")?t=t.clone({setHeaders:{}}):t=t.clone({setHeaders:{Authorization:`Bearer ${n}`,"Content-Type":"application/json","Cache-Control":"no-cache"}})),e(t).pipe(mt(s=>{if(s instanceof zt){switch(console.log("error",s),s.status){case 401:o.error("You are forced to logout. Please relogin and contact administrator for more information!","Unauthorized"),a.closeAll(),r.logout();break;case 402:i.navigate(["/menu/Profile/Main/My_Subscription"]);break;case 403:i.navigate(["/menu/Unauthorized/Main/Unauthorized"],{state:{role:s?.error.Roles}});break}return ft(()=>s)}}))};var ji={root:{transitionDuration:"{transition.duration}"},panel:{borderWidth:"0 0 1px 0",borderColor:"{content.border.color}"},header:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",padding:"1.125rem",fontWeight:"600",borderRadius:"0",borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",hoverBackground:"{content.background}",activeBackground:"{content.background}",activeHoverBackground:"{content.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},toggleIcon:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",activeHoverColor:"{text.color}"},first:{topBorderRadius:"{content.border.radius}",borderWidth:"0"},last:{bottomBorderRadius:"{content.border.radius}",activeBottomBorderRadius:"0"}},content:{borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",color:"{text.color}",padding:"0 1.125rem 1.125rem 1.125rem"}};var Wi={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},list:{padding:"{list.padding}",gap:"{list.gap}"},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},optionGroup:{background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},dropdown:{width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},chip:{borderRadius:"{border.radius.sm}"},emptyMessage:{padding:"{list.option.padding}"},colorScheme:{light:{chip:{focusBackground:"{surface.200}",focusColor:"{surface.800}"},dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",focusColor:"{surface.0}"},dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"}}}};var Ui={root:{width:"2rem",height:"2rem",fontSize:"1rem",background:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},icon:{size:"1rem"},group:{borderColor:"{content.background}",offset:"-0.75rem"},lg:{width:"3rem",height:"3rem",fontSize:"1.5rem",icon:{size:"1.5rem"},group:{offset:"-1rem"}},xl:{width:"4rem",height:"4rem",fontSize:"2rem",icon:{size:"2rem"},group:{offset:"-1.5rem"}}};var qi={root:{borderRadius:"{border.radius.md}",padding:"0 0.5rem",fontSize:"0.75rem",fontWeight:"700",minWidth:"1.5rem",height:"1.5rem"},dot:{size:"0.5rem"},sm:{fontSize:"0.625rem",minWidth:"1.25rem",height:"1.25rem"},lg:{fontSize:"0.875rem",minWidth:"1.75rem",height:"1.75rem"},xl:{fontSize:"1rem",minWidth:"2rem",height:"2rem"},colorScheme:{light:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.500}",color:"{surface.0}"},info:{background:"{sky.500}",color:"{surface.0}"},warn:{background:"{orange.500}",color:"{surface.0}"},danger:{background:"{red.500}",color:"{surface.0}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"{green.400}",color:"{green.950}"},info:{background:"{sky.400}",color:"{sky.950}"},warn:{background:"{orange.400}",color:"{orange.950}"},danger:{background:"{red.400}",color:"{red.950}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}}};var Hi={primitive:{borderRadius:{none:"0",xs:"2px",sm:"4px",md:"6px",lg:"8px",xl:"12px"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"}},semantic:{transitionDuration:"0.2s",focusRing:{width:"1px",style:"solid",color:"{primary.color}",offset:"2px",shadow:"none"},disabledOpacity:"0.6",iconSize:"1rem",anchorGutter:"2px",primary:{50:"{emerald.50}",100:"{emerald.100}",200:"{emerald.200}",300:"{emerald.300}",400:"{emerald.400}",500:"{emerald.500}",600:"{emerald.600}",700:"{emerald.700}",800:"{emerald.800}",900:"{emerald.900}",950:"{emerald.950}"},formField:{paddingX:"0.75rem",paddingY:"0.5rem",sm:{fontSize:"0.875rem",paddingX:"0.625rem",paddingY:"0.375rem"},lg:{fontSize:"1.125rem",paddingX:"0.875rem",paddingY:"0.625rem"},borderRadius:"{border.radius.md}",focusRing:{width:"0",style:"none",color:"transparent",offset:"0",shadow:"none"},transitionDuration:"{transition.duration}"},list:{padding:"0.25rem 0.25rem",gap:"2px",header:{padding:"0.5rem 1rem 0.25rem 1rem"},option:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}"},optionGroup:{padding:"0.5rem 0.75rem",fontWeight:"600"}},content:{borderRadius:"{border.radius.md}"},mask:{transitionDuration:"0.15s"},navigation:{list:{padding:"0.25rem 0.25rem",gap:"2px"},item:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}",gap:"0.5rem"},submenuLabel:{padding:"0.5rem 0.75rem",fontWeight:"600"},submenuIcon:{size:"0.875rem"}},overlay:{select:{borderRadius:"{border.radius.md}",shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"},popover:{borderRadius:"{border.radius.md}",padding:"0.75rem",shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"},modal:{borderRadius:"{border.radius.xl}",padding:"1.25rem",shadow:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)"},navigation:{shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"}},colorScheme:{light:{surface:{0:"#ffffff",50:"{slate.50}",100:"{slate.100}",200:"{slate.200}",300:"{slate.300}",400:"{slate.400}",500:"{slate.500}",600:"{slate.600}",700:"{slate.700}",800:"{slate.800}",900:"{slate.900}",950:"{slate.950}"},primary:{color:"{primary.500}",contrastColor:"#ffffff",hoverColor:"{primary.600}",activeColor:"{primary.700}"},highlight:{background:"{primary.50}",focusBackground:"{primary.100}",color:"{primary.700}",focusColor:"{primary.800}"},mask:{background:"rgba(0,0,0,0.4)",color:"{surface.200}"},formField:{background:"{surface.0}",disabledBackground:"{surface.200}",filledBackground:"{surface.50}",filledHoverBackground:"{surface.50}",filledFocusBackground:"{surface.50}",borderColor:"{surface.300}",hoverBorderColor:"{surface.400}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.400}",color:"{surface.700}",disabledColor:"{surface.500}",placeholderColor:"{surface.500}",invalidPlaceholderColor:"{red.600}",floatLabelColor:"{surface.500}",floatLabelFocusColor:"{primary.600}",floatLabelActiveColor:"{surface.500}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)"},text:{color:"{surface.700}",hoverColor:"{surface.800}",mutedColor:"{surface.500}",hoverMutedColor:"{surface.600}"},content:{background:"{surface.0}",hoverBackground:"{surface.100}",borderColor:"{surface.200}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},popover:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},modal:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.100}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.100}",activeBackground:"{surface.100}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}}},dark:{surface:{0:"#ffffff",50:"{zinc.50}",100:"{zinc.100}",200:"{zinc.200}",300:"{zinc.300}",400:"{zinc.400}",500:"{zinc.500}",600:"{zinc.600}",700:"{zinc.700}",800:"{zinc.800}",900:"{zinc.900}",950:"{zinc.950}"},primary:{color:"{primary.400}",contrastColor:"{surface.900}",hoverColor:"{primary.300}",activeColor:"{primary.200}"},highlight:{background:"color-mix(in srgb, {primary.400}, transparent 84%)",focusBackground:"color-mix(in srgb, {primary.400}, transparent 76%)",color:"rgba(255,255,255,.87)",focusColor:"rgba(255,255,255,.87)"},mask:{background:"rgba(0,0,0,0.6)",color:"{surface.200}"},formField:{background:"{surface.950}",disabledBackground:"{surface.700}",filledBackground:"{surface.800}",filledHoverBackground:"{surface.800}",filledFocusBackground:"{surface.800}",borderColor:"{surface.600}",hoverBorderColor:"{surface.500}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.300}",color:"{surface.0}",disabledColor:"{surface.400}",placeholderColor:"{surface.400}",invalidPlaceholderColor:"{red.400}",floatLabelColor:"{surface.400}",floatLabelFocusColor:"{primary.color}",floatLabelActiveColor:"{surface.400}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)"},text:{color:"{surface.0}",hoverColor:"{surface.0}",mutedColor:"{surface.400}",hoverMutedColor:"{surface.300}"},content:{background:"{surface.900}",hoverBackground:"{surface.800}",borderColor:"{surface.700}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},popover:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},modal:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.800}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.800}",activeBackground:"{surface.800}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}}}}}};var Ki={root:{borderRadius:"{content.border.radius}"}};var Vi={root:{padding:"1rem",background:"{content.background}",gap:"0.5rem",transitionDuration:"{transition.duration}"},item:{color:"{text.muted.color}",hoverColor:"{text.color}",borderRadius:"{content.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",hoverColor:"{navigation.item.icon.focus.color}"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},separator:{color:"{navigation.item.icon.color}"}};var Qi={root:{borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",gap:"0.5rem",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",iconOnlyWidth:"2.5rem",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}",iconOnlyWidth:"2rem"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}",iconOnlyWidth:"3rem"},label:{fontWeight:"500"},raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"},badgeSize:"1rem",transitionDuration:"{form.field.transition.duration}"},colorScheme:{light:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",borderColor:"{surface.100}",hoverBorderColor:"{surface.200}",activeBorderColor:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}",focusRing:{color:"{surface.600}",shadow:"none"}},info:{background:"{sky.500}",hoverBackground:"{sky.600}",activeBackground:"{sky.700}",borderColor:"{sky.500}",hoverBorderColor:"{sky.600}",activeBorderColor:"{sky.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{sky.500}",shadow:"none"}},success:{background:"{green.500}",hoverBackground:"{green.600}",activeBackground:"{green.700}",borderColor:"{green.500}",hoverBorderColor:"{green.600}",activeBorderColor:"{green.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{green.500}",shadow:"none"}},warn:{background:"{orange.500}",hoverBackground:"{orange.600}",activeBackground:"{orange.700}",borderColor:"{orange.500}",hoverBorderColor:"{orange.600}",activeBorderColor:"{orange.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{orange.500}",shadow:"none"}},help:{background:"{purple.500}",hoverBackground:"{purple.600}",activeBackground:"{purple.700}",borderColor:"{purple.500}",hoverBorderColor:"{purple.600}",activeBorderColor:"{purple.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{purple.500}",shadow:"none"}},danger:{background:"{red.500}",hoverBackground:"{red.600}",activeBackground:"{red.700}",borderColor:"{red.500}",hoverBorderColor:"{red.600}",activeBorderColor:"{red.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{red.500}",shadow:"none"}},contrast:{background:"{surface.950}",hoverBackground:"{surface.900}",activeBackground:"{surface.800}",borderColor:"{surface.950}",hoverBorderColor:"{surface.900}",activeBorderColor:"{surface.800}",color:"{surface.0}",hoverColor:"{surface.0}",activeColor:"{surface.0}",focusRing:{color:"{surface.950}",shadow:"none"}}},outlined:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",borderColor:"{primary.200}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",borderColor:"{green.200}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",borderColor:"{sky.200}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",borderColor:"{orange.200}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",borderColor:"{purple.200}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",borderColor:"{red.200}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.700}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.700}"}},text:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.700}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}},dark:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",borderColor:"{surface.800}",hoverBorderColor:"{surface.700}",activeBorderColor:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}",focusRing:{color:"{surface.300}",shadow:"none"}},info:{background:"{sky.400}",hoverBackground:"{sky.300}",activeBackground:"{sky.200}",borderColor:"{sky.400}",hoverBorderColor:"{sky.300}",activeBorderColor:"{sky.200}",color:"{sky.950}",hoverColor:"{sky.950}",activeColor:"{sky.950}",focusRing:{color:"{sky.400}",shadow:"none"}},success:{background:"{green.400}",hoverBackground:"{green.300}",activeBackground:"{green.200}",borderColor:"{green.400}",hoverBorderColor:"{green.300}",activeBorderColor:"{green.200}",color:"{green.950}",hoverColor:"{green.950}",activeColor:"{green.950}",focusRing:{color:"{green.400}",shadow:"none"}},warn:{background:"{orange.400}",hoverBackground:"{orange.300}",activeBackground:"{orange.200}",borderColor:"{orange.400}",hoverBorderColor:"{orange.300}",activeBorderColor:"{orange.200}",color:"{orange.950}",hoverColor:"{orange.950}",activeColor:"{orange.950}",focusRing:{color:"{orange.400}",shadow:"none"}},help:{background:"{purple.400}",hoverBackground:"{purple.300}",activeBackground:"{purple.200}",borderColor:"{purple.400}",hoverBorderColor:"{purple.300}",activeBorderColor:"{purple.200}",color:"{purple.950}",hoverColor:"{purple.950}",activeColor:"{purple.950}",focusRing:{color:"{purple.400}",shadow:"none"}},danger:{background:"{red.400}",hoverBackground:"{red.300}",activeBackground:"{red.200}",borderColor:"{red.400}",hoverBorderColor:"{red.300}",activeBorderColor:"{red.200}",color:"{red.950}",hoverColor:"{red.950}",activeColor:"{red.950}",focusRing:{color:"{red.400}",shadow:"none"}},contrast:{background:"{surface.0}",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{surface.0}",hoverBorderColor:"{surface.100}",activeBorderColor:"{surface.200}",color:"{surface.950}",hoverColor:"{surface.950}",activeColor:"{surface.950}",focusRing:{color:"{surface.0}",shadow:"none"}}},outlined:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",borderColor:"{primary.700}",color:"{primary.color}"},secondary:{hoverBackground:"rgba(255,255,255,0.04)",activeBackground:"rgba(255,255,255,0.16)",borderColor:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",borderColor:"{green.700}",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",borderColor:"{sky.700}",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",borderColor:"{orange.700}",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",borderColor:"{purple.700}",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",borderColor:"{red.700}",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.500}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.600}",color:"{surface.0}"}},text:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",color:"{primary.color}"},secondary:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}}}};var $i={root:{background:"{content.background}",borderRadius:"{border.radius.xl}",color:"{content.color}",shadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},body:{padding:"1.25rem",gap:"0.5rem"},caption:{gap:"0.5rem"},title:{fontSize:"1.25rem",fontWeight:"500"},subtitle:{color:"{text.muted.color}"}};var Yi={root:{transitionDuration:"{transition.duration}"},content:{gap:"0.25rem"},indicatorList:{padding:"1rem",gap:"0.5rem"},indicator:{width:"2rem",height:"0.5rem",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},colorScheme:{light:{indicator:{background:"{surface.200}",hoverBackground:"{surface.300}",activeBackground:"{primary.color}"}},dark:{indicator:{background:"{surface.700}",hoverBackground:"{surface.600}",activeBackground:"{primary.color}"}}}};var Gi={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},dropdown:{width:"2.5rem",color:"{form.field.icon.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},list:{padding:"{list.padding}",gap:"{list.gap}",mobileIndent:"1rem"},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",icon:{color:"{list.option.icon.color}",focusColor:"{list.option.icon.focus.color}",size:"0.875rem"}},clearIcon:{color:"{form.field.icon.color}"}};var Xi={root:{borderRadius:"{border.radius.sm}",width:"1.25rem",height:"1.25rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1rem",height:"1rem"},lg:{width:"1.5rem",height:"1.5rem"}},icon:{size:"0.875rem",color:"{form.field.color}",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.75rem"},lg:{size:"1rem"}}};var Zi={root:{borderRadius:"16px",paddingX:"0.75rem",paddingY:"0.5rem",gap:"0.5rem",transitionDuration:"{transition.duration}"},image:{width:"2rem",height:"2rem"},icon:{size:"1rem"},removeIcon:{size:"1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"}},colorScheme:{light:{root:{background:"{surface.100}",color:"{surface.800}"},icon:{color:"{surface.800}"},removeIcon:{color:"{surface.800}"}},dark:{root:{background:"{surface.800}",color:"{surface.0}"},icon:{color:"{surface.0}"},removeIcon:{color:"{surface.0}"}}}};var Ji={root:{transitionDuration:"{transition.duration}"},preview:{width:"1.5rem",height:"1.5rem",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},panel:{shadow:"{overlay.popover.shadow}",borderRadius:"{overlay.popover.borderRadius}"},colorScheme:{light:{panel:{background:"{surface.800}",borderColor:"{surface.900}"},handle:{color:"{surface.0}"}},dark:{panel:{background:"{surface.900}",borderColor:"{surface.700}"},handle:{color:"{surface.0}"}}}};var ea={icon:{size:"2rem",color:"{overlay.modal.color}"},content:{gap:"1rem"}};var oa={root:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},content:{padding:"{overlay.popover.padding}",gap:"1rem"},icon:{size:"1.5rem",color:"{overlay.popover.color}"},footer:{gap:"0.5rem",padding:"0 {overlay.popover.padding} {overlay.popover.padding} {overlay.popover.padding}"}};var ra={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},list:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},item:{focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},submenu:{mobileIndent:"1rem"},submenuIcon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},separator:{borderColor:"{content.border.color}"}};var ta={root:{transitionDuration:"{transition.duration}"},header:{background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},headerCell:{background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{datatable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},columnTitle:{fontWeight:"600"},row:{background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},bodyCell:{borderColor:"{datatable.border.color}",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},footerCell:{background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},columnFooter:{fontWeight:"600"},footer:{background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},dropPoint:{color:"{primary.color}"},columnResizer:{width:"0.5rem"},resizeIndicator:{width:"1px",color:"{primary.color}"},sortIcon:{color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},loadingIcon:{size:"2rem"},rowToggleButton:{hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},filter:{inlineGap:"0.5rem",overlaySelect:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},overlayPopover:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}",gap:"0.5rem"},rule:{borderColor:"{content.border.color}"},constraintList:{padding:"{list.padding}",gap:"{list.gap}"},constraint:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",separator:{borderColor:"{content.border.color}"},padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"}},paginatorTop:{borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},paginatorBottom:{borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},colorScheme:{light:{root:{borderColor:"{content.border.color}"},row:{stripedBackground:"{surface.50}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},row:{stripedBackground:"{surface.950}"},bodyCell:{selectedBorderColor:"{primary.900}"}}}};var na={root:{borderColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0"},header:{background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",borderRadius:"0"},content:{background:"{content.background}",color:"{content.color}",borderColor:"transparent",borderWidth:"0",padding:"0",borderRadius:"0"},footer:{background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"1px 0 0 0",padding:"0.75rem 1rem",borderRadius:"0"},paginatorTop:{borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},paginatorBottom:{borderColor:"{content.border.color}",borderWidth:"1px 0 0 0"}};var ia={root:{transitionDuration:"{transition.duration}"},panel:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}"},header:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",padding:"0 0 0.5rem 0"},title:{gap:"0.5rem",fontWeight:"500"},dropdown:{width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},inputIcon:{color:"{form.field.icon.color}"},selectMonth:{hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},selectYear:{hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},group:{borderColor:"{content.border.color}",gap:"{overlay.popover.padding}"},dayView:{margin:"0.5rem 0 0 0"},weekDay:{padding:"0.25rem",fontWeight:"500",color:"{content.color}"},date:{hoverBackground:"{content.hover.background}",selectedBackground:"{primary.color}",rangeSelectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{primary.contrast.color}",rangeSelectedColor:"{highlight.color}",width:"2rem",height:"2rem",borderRadius:"50%",padding:"0.25rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},monthView:{margin:"0.5rem 0 0 0"},month:{padding:"0.375rem",borderRadius:"{content.border.radius}"},yearView:{margin:"0.5rem 0 0 0"},year:{padding:"0.375rem",borderRadius:"{content.border.radius}"},buttonbar:{padding:"0.5rem 0 0 0",borderColor:"{content.border.color}"},timePicker:{padding:"0.5rem 0 0 0",borderColor:"{content.border.color}",gap:"0.5rem",buttonGap:"0.25rem"},colorScheme:{light:{dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"},today:{background:"{surface.200}",color:"{surface.900}"}},dark:{dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"},today:{background:"{surface.700}",color:"{surface.0}"}}}};var aa={root:{background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",borderRadius:"{overlay.modal.border.radius}",shadow:"{overlay.modal.shadow}"},header:{padding:"{overlay.modal.padding}",gap:"0.5rem"},title:{fontSize:"1.25rem",fontWeight:"600"},content:{padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},footer:{padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}",gap:"0.5rem"}};var sa={root:{borderColor:"{content.border.color}"},content:{background:"{content.background}",color:"{text.color}"},horizontal:{margin:"1rem 0",padding:"0 1rem",content:{padding:"0 0.5rem"}},vertical:{margin:"0 1rem",padding:"0.5rem 0",content:{padding:"0.5rem 0"}}};var la={root:{background:"rgba(255, 255, 255, 0.1)",borderColor:"rgba(255, 255, 255, 0.2)",padding:"0.5rem",borderRadius:"{border.radius.xl}"},item:{borderRadius:"{content.border.radius}",padding:"0.5rem",size:"3rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}};var ca={root:{background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",shadow:"{overlay.modal.shadow}"},header:{padding:"{overlay.modal.padding}"},title:{fontSize:"1.5rem",fontWeight:"600"},content:{padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},footer:{padding:"{overlay.modal.padding}"}};var da={toolbar:{background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}"},toolbarItem:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}",padding:"{list.padding}"},overlayOption:{focusBackground:"{list.option.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},content:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"}};var ua={root:{background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",padding:"0 1.125rem 1.125rem 1.125rem",transitionDuration:"{transition.duration}"},legend:{background:"{content.background}",hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",borderRadius:"{content.border.radius}",borderWidth:"1px",borderColor:"transparent",padding:"0.5rem 0.75rem",gap:"0.5rem",fontWeight:"600",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},toggleIcon:{color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}"},content:{padding:"0"}};var fa={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},header:{background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"unset",borderWidth:"0",borderRadius:"0",gap:"0.5rem"},content:{highlightBorderColor:"{primary.color}",padding:"0 1.125rem 1.125rem 1.125rem",gap:"1rem"},file:{padding:"1rem",gap:"1rem",borderColor:"{content.border.color}",info:{gap:"0.5rem"}},fileList:{gap:"0.5rem"},progressbar:{height:"0.25rem"},basic:{gap:"0.5rem"}};var ga={root:{color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",activeColor:"{form.field.float.label.active.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",positionY:"{form.field.padding.y}",fontWeight:"500",active:{fontSize:"0.75rem",fontWeight:"400"}},over:{active:{top:"-1.25rem"}},in:{input:{paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},active:{top:"{form.field.padding.y}"}},on:{borderRadius:"{border.radius.xs}",active:{background:"{form.field.background}",padding:"0 0.125rem"}}};var pa={root:{borderWidth:"1px",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},navButton:{background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.100}",hoverColor:"{surface.0}",size:"3rem",gutter:"0.5rem",prev:{borderRadius:"50%"},next:{borderRadius:"50%"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},navIcon:{size:"1.5rem"},thumbnailsContent:{background:"{content.background}",padding:"1rem 0.25rem"},thumbnailNavButton:{size:"2rem",borderRadius:"{content.border.radius}",gutter:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},thumbnailNavButtonIcon:{size:"1rem"},caption:{background:"rgba(0, 0, 0, 0.5)",color:"{surface.100}",padding:"1rem"},indicatorList:{gap:"0.5rem",padding:"1rem"},indicatorButton:{width:"1rem",height:"1rem",activeBackground:"{primary.color}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},insetIndicatorList:{background:"rgba(0, 0, 0, 0.5)"},insetIndicatorButton:{background:"rgba(255, 255, 255, 0.4)",hoverBackground:"rgba(255, 255, 255, 0.6)",activeBackground:"rgba(255, 255, 255, 0.9)"},closeButton:{size:"3rem",gutter:"0.5rem",background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.50}",hoverColor:"{surface.0}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},closeButtonIcon:{size:"1.5rem"},colorScheme:{light:{thumbnailNavButton:{hoverBackground:"{surface.100}",color:"{surface.600}",hoverColor:"{surface.700}"},indicatorButton:{background:"{surface.200}",hoverBackground:"{surface.300}"}},dark:{thumbnailNavButton:{hoverBackground:"{surface.700}",color:"{surface.400}",hoverColor:"{surface.0}"},indicatorButton:{background:"{surface.700}",hoverBackground:"{surface.600}"}}}};var ma={icon:{color:"{form.field.icon.color}"}};var ha={root:{color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",top:"{form.field.padding.y}",fontSize:"0.75rem",fontWeight:"400"},input:{paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"}};var ba={root:{transitionDuration:"{transition.duration}"},preview:{icon:{size:"1.5rem"},mask:{background:"{mask.background}",color:"{mask.color}"}},toolbar:{position:{left:"auto",right:"1rem",top:"1rem",bottom:"auto"},blur:"8px",background:"rgba(255,255,255,0.1)",borderColor:"rgba(255,255,255,0.2)",borderWidth:"1px",borderRadius:"30px",padding:".5rem",gap:"0.5rem"},action:{hoverBackground:"rgba(255,255,255,0.1)",color:"{surface.50}",hoverColor:"{surface.0}",size:"3rem",iconSize:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}};var ya={handle:{size:"15px",hoverSize:"30px",background:"rgba(255,255,255,0.3)",hoverBackground:"rgba(255,255,255,0.3)",borderColor:"unset",hoverBorderColor:"unset",borderWidth:"0",borderRadius:"50%",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"rgba(255,255,255,0.3)",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}};var va={root:{padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",gap:"0.5rem"},text:{fontWeight:"500"},icon:{size:"1rem"},colorScheme:{light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}}}};var ka={root:{padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{transition.duration}"},display:{hoverBackground:"{content.hover.background}",hoverColor:"{content.hover.color}"}};var wa={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},chip:{borderRadius:"{border.radius.sm}"},colorScheme:{light:{chip:{focusBackground:"{surface.200}",color:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",color:"{surface.0}"}}}};var Ca={addon:{background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.icon.color}",borderRadius:"{form.field.border.radius}",padding:"0.5rem",minWidth:"2.5rem"}};var _a={root:{transitionDuration:"{transition.duration}"},button:{width:"2.5rem",borderRadius:"{form.field.border.radius}",verticalPadding:"{form.field.padding.y}"},colorScheme:{light:{button:{background:"transparent",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.500}",activeColor:"{surface.600}"}},dark:{button:{background:"transparent",hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.300}",activeColor:"{surface.200}"}}}};var xa={root:{gap:"0.5rem"},input:{width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"}}};var Sa={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}}};var Ta={root:{transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},value:{background:"{primary.color}"},range:{background:"{content.border.color}"},text:{color:"{text.muted.color}"}};var Ea={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",borderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",shadow:"{form.field.shadow}",borderRadius:"{form.field.border.radius}",transitionDuration:"{form.field.transition.duration}"},list:{padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},optionGroup:{background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},checkmark:{color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},emptyMessage:{padding:"{list.option.padding}"},colorScheme:{light:{option:{stripedBackground:"{surface.50}"}},dark:{option:{stripedBackground:"{surface.900}"}}}};var Ma={root:{background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",verticalOrientation:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},horizontalOrientation:{padding:"0.5rem 0.75rem",gap:"0.5rem"},transitionDuration:"{transition.duration}"},baseItem:{borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},item:{focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},overlay:{padding:"0",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",shadow:"{overlay.navigation.shadow}",gap:"0.5rem"},submenu:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},submenuLabel:{padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background.}",color:"{navigation.submenu.label.color}"},submenuIcon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},separator:{borderColor:"{content.border.color}"},mobileButton:{borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}};var Aa={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},list:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},item:{focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},submenuLabel:{padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background}",color:"{navigation.submenu.label.color}"},separator:{borderColor:"{content.border.color}"}};var Pa={root:{background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.5rem 0.75rem",transitionDuration:"{transition.duration}"},baseItem:{borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},item:{focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},submenu:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",mobileIndent:"1rem",icon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"}},separator:{borderColor:"{content.border.color}"},mobileButton:{borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}};var Ba={root:{borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},content:{padding:"0.5rem 0.75rem",gap:"0.5rem",sm:{padding:"0.375rem 0.625rem"},lg:{padding:"0.625rem 0.875rem"}},text:{fontSize:"1rem",fontWeight:"500",sm:{fontSize:"0.875rem"},lg:{fontSize:"1.125rem"}},icon:{size:"1.125rem",sm:{size:"1rem"},lg:{size:"1.25rem"}},closeButton:{width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},closeIcon:{size:"1rem",sm:{size:"0.875rem"},lg:{size:"1.125rem"}},outlined:{root:{borderWidth:"1px"}},simple:{content:{padding:"0"}},colorScheme:{light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}},outlined:{color:"{blue.600}",borderColor:"{blue.600}"},simple:{color:"{blue.600}"}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}},outlined:{color:"{green.600}",borderColor:"{green.600}"},simple:{color:"{green.600}"}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}},outlined:{color:"{yellow.600}",borderColor:"{yellow.600}"},simple:{color:"{yellow.600}"}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}},outlined:{color:"{red.600}",borderColor:"{red.600}"},simple:{color:"{red.600}"}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}},outlined:{color:"{surface.500}",borderColor:"{surface.500}"},simple:{color:"{surface.500}"}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}},outlined:{color:"{surface.950}",borderColor:"{surface.950}"},simple:{color:"{surface.950}"}}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}},outlined:{color:"{blue.500}",borderColor:"{blue.500}"},simple:{color:"{blue.500}"}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}},outlined:{color:"{green.500}",borderColor:"{green.500}"},simple:{color:"{green.500}"}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}},outlined:{color:"{yellow.500}",borderColor:"{yellow.500}"},simple:{color:"{yellow.500}"}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}},outlined:{color:"{red.500}",borderColor:"{red.500}"},simple:{color:"{red.500}"}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}},outlined:{color:"{surface.400}",borderColor:"{surface.400}"},simple:{color:"{surface.400}"}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}},outlined:{color:"{surface.0}",borderColor:"{surface.0}"},simple:{color:"{surface.0}"}}}}};var Ra={root:{borderRadius:"{content.border.radius}",gap:"1rem"},meters:{background:"{content.border.color}",size:"0.5rem"},label:{gap:"0.5rem"},labelMarker:{size:"0.5rem"},labelIcon:{size:"1rem"},labelList:{verticalGap:"0.5rem",horizontalGap:"1rem"}};var Ia={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},dropdown:{width:"2.5rem",color:"{form.field.icon.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},list:{padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",gap:"0.5rem"},optionGroup:{background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},clearIcon:{color:"{form.field.icon.color}"},chip:{borderRadius:"{border.radius.sm}"},emptyMessage:{padding:"{list.option.padding}"}};var Na={root:{gap:"1.125rem"},controls:{gap:"0.5rem"}};var Da={root:{gutter:"0.75rem",transitionDuration:"{transition.duration}"},node:{background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{content.border.color}",color:"{content.color}",selectedColor:"{highlight.color}",hoverColor:"{content.hover.color}",padding:"0.75rem 1rem",toggleablePadding:"0.75rem 1rem 1.25rem 1rem",borderRadius:"{content.border.radius}"},nodeToggleButton:{background:"{content.background}",hoverBackground:"{content.hover.background}",borderColor:"{content.border.color}",color:"{text.muted.color}",hoverColor:"{text.color}",size:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},connector:{color:"{content.border.color}",borderRadius:"{content.border.radius}",height:"24px"}};var Oa={root:{outline:{width:"2px",color:"{content.background}"}}};var La={root:{padding:"0.5rem 1rem",gap:"0.25rem",borderRadius:"{content.border.radius}",background:"{content.background}",color:"{content.color}",transitionDuration:"{transition.duration}"},navButton:{background:"transparent",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}",width:"2.5rem",height:"2.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},currentPageReport:{color:"{text.muted.color}"},jumpToPageInput:{maxWidth:"2.5rem"}};var za={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},header:{background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"{content.border.color}",borderWidth:"0",borderRadius:"0"},toggleableHeader:{padding:"0.375rem 1.125rem"},title:{fontWeight:"600"},content:{padding:"0 1.125rem 1.125rem 1.125rem"},footer:{padding:"0 1.125rem 1.125rem 1.125rem"}};var Fa={root:{gap:"0.5rem",transitionDuration:"{transition.duration}"},panel:{background:"{content.background}",borderColor:"{content.border.color}",borderWidth:"1px",color:"{content.color}",padding:"0.25rem 0.25rem",borderRadius:"{content.border.radius}",first:{borderWidth:"1px",topBorderRadius:"{content.border.radius}"},last:{borderWidth:"1px",bottomBorderRadius:"{content.border.radius}"}},item:{focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",gap:"0.5rem",padding:"{navigation.item.padding}",borderRadius:"{content.border.radius}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},submenu:{indent:"1rem"},submenuIcon:{color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}"}};var ja={meter:{background:"{content.border.color}",borderRadius:"{content.border.radius}",height:".75rem"},icon:{color:"{form.field.icon.color}"},overlay:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",padding:"{overlay.popover.padding}",shadow:"{overlay.popover.shadow}"},content:{gap:"0.5rem"},colorScheme:{light:{strength:{weakBackground:"{red.500}",mediumBackground:"{amber.500}",strongBackground:"{green.500}"}},dark:{strength:{weakBackground:"{red.400}",mediumBackground:"{amber.400}",strongBackground:"{green.400}"}}}};var Wa={root:{gap:"1.125rem"},controls:{gap:"0.5rem"}};var Ua={root:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},content:{padding:"{overlay.popover.padding}"}};var qa={root:{background:"{content.border.color}",borderRadius:"{content.border.radius}",height:"1.25rem"},value:{background:"{primary.color}"},label:{color:"{primary.contrast.color}",fontSize:"0.75rem",fontWeight:"600"}};var Ha={colorScheme:{light:{root:{colorOne:"{red.500}",colorTwo:"{blue.500}",colorThree:"{green.500}",colorFour:"{yellow.500}"}},dark:{root:{colorOne:"{red.400}",colorTwo:"{blue.400}",colorThree:"{green.400}",colorFour:"{yellow.400}"}}}};var Ka={root:{width:"1.25rem",height:"1.25rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1rem",height:"1rem"},lg:{width:"1.5rem",height:"1.5rem"}},icon:{size:"0.75rem",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.5rem"},lg:{size:"1rem"}}};var Va={root:{gap:"0.25rem",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},icon:{size:"1rem",color:"{text.muted.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}};var Qa={colorScheme:{light:{root:{background:"rgba(0,0,0,0.1)"}},dark:{root:{background:"rgba(255,255,255,0.3)"}}}};var $a={root:{transitionDuration:"{transition.duration}"},bar:{size:"9px",borderRadius:"{border.radius.sm}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},colorScheme:{light:{bar:{background:"{surface.100}"}},dark:{bar:{background:"{surface.800}"}}}};var Ya={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},dropdown:{width:"2.5rem",color:"{form.field.icon.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},list:{padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},optionGroup:{background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},clearIcon:{color:"{form.field.icon.color}"},checkmark:{color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},emptyMessage:{padding:"{list.option.padding}"}};var Ga={root:{borderRadius:"{form.field.border.radius}"},colorScheme:{light:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}},dark:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}}}};var Xa={root:{borderRadius:"{content.border.radius}"},colorScheme:{light:{root:{background:"{surface.200}",animationBackground:"rgba(255,255,255,0.4)"}},dark:{root:{background:"rgba(255, 255, 255, 0.06)",animationBackground:"rgba(255, 255, 255, 0.04)"}}}};var Za={root:{transitionDuration:"{transition.duration}"},track:{background:"{content.border.color}",borderRadius:"{content.border.radius}",size:"3px"},range:{background:"{primary.color}"},handle:{width:"20px",height:"20px",borderRadius:"50%",background:"{content.border.color}",hoverBackground:"{content.border.color}",content:{borderRadius:"50%",hoverBackground:"{content.background}",width:"16px",height:"16px",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.08), 0px 1px 1px 0px rgba(0, 0, 0, 0.14)"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},colorScheme:{light:{handle:{content:{background:"{surface.0}"}}},dark:{handle:{content:{background:"{surface.950}"}}}}};var Ja={root:{gap:"0.5rem",transitionDuration:"{transition.duration}"}};var es={root:{borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)"}};var os={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",transitionDuration:"{transition.duration}"},gutter:{background:"{content.border.color}"},handle:{size:"24px",background:"transparent",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}};var rs={root:{transitionDuration:"{transition.duration}"},separator:{background:"{content.border.color}",activeBackground:"{primary.color}",margin:"0 0 0 1.625rem",size:"2px"},step:{padding:"0.5rem",gap:"1rem"},stepHeader:{padding:"0",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},stepTitle:{color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},stepNumber:{background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"},steppanels:{padding:"0.875rem 0.5rem 1.125rem 0.5rem"},steppanel:{background:"{content.background}",color:"{content.color}",padding:"0",indent:"1rem"}};var ts={root:{transitionDuration:"{transition.duration}"},separator:{background:"{content.border.color}"},itemLink:{borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},itemLabel:{color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},itemNumber:{background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"}};var ns={root:{transitionDuration:"{transition.duration}"},tablist:{borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},item:{background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},itemIcon:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},activeBar:{height:"1px",bottom:"-1px",background:"{primary.color}"}};var is={root:{transitionDuration:"{transition.duration}"},tablist:{borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},tab:{background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},tabpanel:{background:"{content.background}",color:"{content.color}",padding:"0.875rem 1.125rem 1.125rem 1.125rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"inset {focus.ring.shadow}"}},navButton:{background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",width:"2.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},activeBar:{height:"1px",bottom:"-1px",background:"{primary.color}"},colorScheme:{light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}}};var as={root:{transitionDuration:"{transition.duration}"},tabList:{background:"{content.background}",borderColor:"{content.border.color}"},tab:{borderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},tabPanel:{background:"{content.background}",color:"{content.color}"},navButton:{background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}"},colorScheme:{light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}}};var ss={root:{fontSize:"0.875rem",fontWeight:"700",padding:"0.25rem 0.5rem",gap:"0.25rem",borderRadius:"{content.border.radius}",roundedBorderRadius:"{border.radius.xl}"},icon:{size:"0.75rem"},colorScheme:{light:{primary:{background:"{primary.100}",color:"{primary.700}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.100}",color:"{green.700}"},info:{background:"{sky.100}",color:"{sky.700}"},warn:{background:"{orange.100}",color:"{orange.700}"},danger:{background:"{red.100}",color:"{red.700}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"color-mix(in srgb, {primary.500}, transparent 84%)",color:"{primary.300}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",color:"{green.300}"},info:{background:"color-mix(in srgb, {sky.500}, transparent 84%)",color:"{sky.300}"},warn:{background:"color-mix(in srgb, {orange.500}, transparent 84%)",color:"{orange.300}"},danger:{background:"color-mix(in srgb, {red.500}, transparent 84%)",color:"{red.300}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}}};var ls={root:{background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.color}",height:"18rem",padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{form.field.border.radius}"},prompt:{gap:"0.25rem"},commandResponse:{margin:"2px 0"}};var cs={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}}};var ds={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},list:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},item:{focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},submenu:{mobileIndent:"1rem"},submenuIcon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},separator:{borderColor:"{content.border.color}"}};var us={event:{minHeight:"5rem"},horizontal:{eventContent:{padding:"1rem 0"}},vertical:{eventContent:{padding:"0 1rem"}},eventMarker:{size:"1.125rem",borderRadius:"50%",borderWidth:"2px",background:"{content.background}",borderColor:"{content.border.color}",content:{borderRadius:"50%",size:"0.375rem",background:"{primary.color}",insetShadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"}},eventConnector:{color:"{content.border.color}",size:"2px"}};var fs={root:{width:"25rem",borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},icon:{size:"1.125rem"},content:{padding:"{overlay.popover.padding}",gap:"0.5rem"},text:{gap:"0.5rem"},summary:{fontWeight:"500",fontSize:"1rem"},detail:{fontWeight:"500",fontSize:"0.875rem"},closeButton:{width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},closeIcon:{size:"1rem"},colorScheme:{light:{root:{blur:"1.5px"},info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}}}},dark:{root:{blur:"10px"},info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",detailColor:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}}}}}};var gs={root:{padding:"0.25rem",borderRadius:"{content.border.radius}",gap:"0.5rem",fontWeight:"500",disabledBackground:"{form.field.disabled.background}",disabledBorderColor:"{form.field.disabled.background}",disabledColor:"{form.field.disabled.color}",invalidBorderColor:"{form.field.invalid.border.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",padding:"0.25rem"},lg:{fontSize:"{form.field.lg.font.size}",padding:"0.25rem"}},icon:{disabledColor:"{form.field.disabled.color}"},content:{padding:"0.25rem 0.75rem",borderRadius:"{content.border.radius}",checkedShadow:"0px 1px 2px 0px rgba(0, 0, 0, 0.02), 0px 1px 2px 0px rgba(0, 0, 0, 0.04)",sm:{padding:"0.25rem 0.75rem"},lg:{padding:"0.25rem 0.75rem"}},colorScheme:{light:{root:{background:"{surface.100}",checkedBackground:"{surface.100}",hoverBackground:"{surface.100}",borderColor:"{surface.100}",color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}",checkedBorderColor:"{surface.100}"},content:{checkedBackground:"{surface.0}"},icon:{color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}"}},dark:{root:{background:"{surface.950}",checkedBackground:"{surface.950}",hoverBackground:"{surface.950}",borderColor:"{surface.950}",color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}",checkedBorderColor:"{surface.950}"},content:{checkedBackground:"{surface.800}"},icon:{color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}"}}}};var ps={root:{width:"2.5rem",height:"1.5rem",borderRadius:"30px",gap:"0.25rem",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},borderWidth:"1px",borderColor:"transparent",hoverBorderColor:"transparent",checkedBorderColor:"transparent",checkedHoverBorderColor:"transparent",invalidBorderColor:"{form.field.invalid.border.color}",transitionDuration:"{form.field.transition.duration}",slideDuration:"0.2s"},handle:{borderRadius:"50%",size:"1rem"},colorScheme:{light:{root:{background:"{surface.300}",disabledBackground:"{form.field.disabled.background}",hoverBackground:"{surface.400}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.0}",disabledBackground:"{form.field.disabled.color}",hoverBackground:"{surface.0}",checkedBackground:"{surface.0}",checkedHoverBackground:"{surface.0}",color:"{text.muted.color}",hoverColor:"{text.color}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}},dark:{root:{background:"{surface.700}",disabledBackground:"{surface.600}",hoverBackground:"{surface.600}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.400}",disabledBackground:"{surface.900}",hoverBackground:"{surface.300}",checkedBackground:"{surface.900}",checkedHoverBackground:"{surface.900}",color:"{surface.900}",hoverColor:"{surface.800}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}}}};var ms={root:{background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.75rem"}};var hs={root:{maxWidth:"12.5rem",gutter:"0.25rem",shadow:"{overlay.popover.shadow}",padding:"0.5rem 0.75rem",borderRadius:"{overlay.popover.border.radius}"},colorScheme:{light:{root:{background:"{surface.700}",color:"{surface.0}"}},dark:{root:{background:"{surface.700}",color:"{surface.0}"}}}};var bs={root:{background:"{content.background}",color:"{content.color}",padding:"1rem",gap:"2px",indent:"1rem",transitionDuration:"{transition.duration}"},node:{padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.color}",hoverColor:"{text.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},gap:"0.25rem"},nodeIcon:{color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}"},nodeToggleButton:{borderRadius:"50%",size:"1.75rem",hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedHoverColor:"{primary.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},loadingIcon:{size:"2rem"},filter:{margin:"0 0 0.5rem 0"}};var ys={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},dropdown:{width:"2.5rem",color:"{form.field.icon.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},tree:{padding:"{list.padding}"},clearIcon:{color:"{form.field.icon.color}"},emptyMessage:{padding:"{list.option.padding}"},chip:{borderRadius:"{border.radius.sm}"}};var vs={root:{transitionDuration:"{transition.duration}"},header:{background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},headerCell:{background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{treetable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},columnTitle:{fontWeight:"600"},row:{background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},bodyCell:{borderColor:"{treetable.border.color}",padding:"0.75rem 1rem",gap:"0.5rem"},footerCell:{background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",padding:"0.75rem 1rem"},columnFooter:{fontWeight:"600"},footer:{background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},columnResizer:{width:"0.5rem"},resizeIndicator:{width:"1px",color:"{primary.color}"},sortIcon:{color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},loadingIcon:{size:"2rem"},nodeToggleButton:{hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},paginatorTop:{borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},paginatorBottom:{borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},colorScheme:{light:{root:{borderColor:"{content.border.color}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},bodyCell:{selectedBorderColor:"{primary.900}"}}}};var ks={loader:{mask:{background:"{content.background}",color:"{text.muted.color}"},icon:{size:"2rem"}}};var ws=st(Re({},Hi),{components:{accordion:ji,autocomplete:Wi,avatar:Ui,badge:qi,blockui:Ki,breadcrumb:Vi,button:Qi,datepicker:ia,card:$i,carousel:Yi,cascadeselect:Gi,checkbox:Xi,chip:Zi,colorpicker:Ji,confirmdialog:ea,confirmpopup:oa,contextmenu:ra,dataview:na,datatable:ta,dialog:aa,divider:sa,dock:la,drawer:ca,editor:da,fieldset:ua,fileupload:fa,iftalabel:ha,floatlabel:ga,galleria:pa,iconfield:ma,image:ba,imagecompare:ya,inlinemessage:va,inplace:ka,inputchips:wa,inputgroup:Ca,inputnumber:_a,inputotp:xa,inputtext:Sa,knob:Ta,listbox:Ea,megamenu:Ma,menu:Aa,menubar:Pa,message:Ba,metergroup:Ra,multiselect:Ia,orderlist:Na,organizationchart:Da,overlaybadge:Oa,popover:Ua,paginator:La,password:ja,panel:za,panelmenu:Fa,picklist:Wa,progressbar:qa,progressspinner:Ha,radiobutton:Ka,rating:Va,scrollpanel:$a,select:Ya,selectbutton:Ga,skeleton:Xa,slider:Za,speeddial:Ja,splitter:os,splitbutton:es,stepper:rs,steps:ts,tabmenu:ns,tabs:is,tabview:as,textarea:cs,tieredmenu:ds,tag:ss,terminal:ls,timeline:us,togglebutton:gs,toggleswitch:ps,tree:bs,treeselect:ys,treetable:vs,toast:fs,toolbar:ms,virtualscroller:ks,tooltip:hs,ripple:Qa}});var Cs=pn(ws,{semantic:{primary:{50:"#f3f8ff",100:"#c5dcff",200:"#97c1fe",300:"#69a5fe",400:"#3b8afd",500:"#0d6efd",600:"#0b5ed7",700:"#094db1",800:"#073d8b",900:"#052c65",950:"#031c3f"}}});var Dc=zi,Zo=class t{static \u0275fac=function(o){return new(o||t)};static \u0275mod=se({type:t,bootstrap:[Xo]});static \u0275inj=ne({providers:[Rt,Bt,Ft(jt([Fi,vn])),mn({theme:{preset:Cs,options:{darkModeSelector:!1}}})],imports:[mo,Go,bi,yn.forRoot(Dc),Ri.initializeApp(K.firebaseConfig),Ni,ko,Gt.forRoot({toastComponent:Li,positionClass:"toast-bottom-right",closeButton:!0}),bn]})};K.production&&void 0;Lt().bootstrapModule(Zo);
3
+ `)})}var Wl={error:"UNKNOWN_ERROR"};function Ul(t){return ln.encodeString(JSON.stringify(t),!1)}function Jr(t,e=!1,o=!1){return be(this,null,function*(){let r=t.app;xi(r);let n=ee(r),i=n.token,a;if(i&&!to(i)&&(n.token=void 0,i=void 0),!i){let c=yield n.cachedTokenPromise;c&&(to(c)?i=c:yield Yr(r,void 0))}if(!e&&i&&to(i))return{token:i.token};let s=!1;if(Ei())try{n.exchangeTokenPromise||(n.exchangeTokenPromise=Si(Ti(r,yield Mi()),t.heartbeatServiceProvider).finally(()=>{n.exchangeTokenPromise=void 0}),s=!0);let c=yield n.exchangeTokenPromise;return yield Yr(r,c),n.token=c,{token:c.token}}catch(c){return c.code==="appCheck/throttled"||c.code==="appCheck/initial-throttle"?ro.warn(c.message):o&&ro.error(c),Gr(c)}try{n.exchangeTokenPromise||(n.exchangeTokenPromise=n.provider.getToken().finally(()=>{n.exchangeTokenPromise=void 0}),s=!0),i=yield ee(r).exchangeTokenPromise}catch(c){c.code==="appCheck/throttled"||c.code==="appCheck/initial-throttle"?ro.warn(c.message):o&&ro.error(c),a=c}let l;return i?a?to(i)?l={token:i.token,internalError:a}:l=Gr(a):(l={token:i.token},n.token=i,yield Yr(r,i)):l=Gr(a),s&&Vl(r,l),l})}function ql(t){return be(this,null,function*(){let e=t.app;xi(e);let{provider:o}=ee(e);if(Ei()){let r=yield Mi(),{token:n}=yield Si(Ti(e,r),t.heartbeatServiceProvider);return{token:n}}else{let{token:r}=yield o.getToken();return{token:r}}})}function Hl(t,e,o,r){let{app:n}=t,i=ee(n),a={next:o,error:r,type:e};if(i.tokenObservers=[...i.tokenObservers,a],i.token&&to(i.token)){let s=i.token;Promise.resolve().then(()=>{o({token:s.token}),wi(t)}).catch(()=>{})}i.cachedTokenPromise.then(()=>wi(t))}function Ai(t,e){let o=ee(t),r=o.tokenObservers.filter(n=>n.next!==e);r.length===0&&o.tokenRefresher&&o.tokenRefresher.isRunning()&&o.tokenRefresher.stop(),o.tokenObservers=r}function wi(t){let{app:e}=t,o=ee(e),r=o.tokenRefresher;r||(r=Kl(t),o.tokenRefresher=r),!r.isRunning()&&o.isTokenAutoRefreshEnabled&&r.start()}function Kl(t){let{app:e}=t;return new Xr(()=>be(null,null,function*(){let o=ee(e),r;if(o.token?r=yield Jr(t,!0):r=yield Jr(t),r.error)throw r.error;if(r.internalError)throw r.internalError}),()=>!0,()=>{let o=ee(e);if(o.token){let r=o.token.issuedAtTimeMillis+(o.token.expireTimeMillis-o.token.issuedAtTimeMillis)*.5+3e5,n=o.token.expireTimeMillis-5*60*1e3;return r=Math.min(r,n),Math.max(0,r-Date.now())}else return 0},ki.RETRIAL_MIN_WAIT,ki.RETRIAL_MAX_WAIT)}function Vl(t,e){let o=ee(t).tokenObservers;for(let r of o)try{r.type==="EXTERNAL"&&e.error!=null?r.error(e.error):r.next(e)}catch{}}function to(t){return t.expireTimeMillis-Date.now()>0}function Gr(t){return{token:Ul(Wl),error:t}}var et=class{constructor(e,o){this.app=e,this.heartbeatServiceProvider=o}_delete(){let{tokenObservers:e}=ee(this.app);for(let o of e)Ai(this.app,o.next);return Promise.resolve()}};function Ql(t,e){return new et(t,e)}function $l(t){return{getToken:e=>Jr(t,e),getLimitedUseToken:()=>ql(t),addTokenListener:e=>Hl(t,"INTERNAL",e),removeTokenListener:e=>Ai(t.app,e)}}var Yl="@firebase/app-check",Gl="0.10.0";var Xl="app-check",Ci="app-check-internal";function Zl(){hr(new mr(Xl,t=>{let e=t.getProvider("app").getImmediate(),o=t.getProvider("heartbeat");return Ql(e,o)},"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((t,e,o)=>{t.getProvider(Ci).initialize()})),hr(new mr(Ci,t=>{let e=t.getProvider("app-check").getImmediate();return $l(e)},"PUBLIC").setInstantiationMode("EXPLICIT")),$e(Yl,Gl)}Zl();var Jl="app-check";var Ho=class{constructor(){return vi(Jl)}};var ec=["localhost","0.0.0.0","127.0.0.1"],Wd=typeof window<"u"&&ec.includes(window.location.hostname);var rc="firebase",tc="11.8.1";G.registerVersion(rc,tc,"app-compat");var nc=["ngOnDestroy"],Bi=(t,e,o,r={})=>new Proxy(t,{get:(n,i)=>o.runOutsideAngular(()=>{if(t[i])return r?.spy?.get&&r.spy.get(i,t[i]),t[i];if(nc.indexOf(i)>-1)return()=>{};let a=e.toPromise().then(s=>{let l=s?.[i];return typeof l=="function"?l.bind(s):l?.then?l.then(c=>o.run(()=>c)):o.run(()=>l)});return new Proxy(()=>{},{get:(s,l)=>a[l],apply:(s,l,c)=>a.then(d=>{let u=d?.(...c);return r?.spy?.apply&&r.spy.apply(i,c,u),u})})})});var Ko=class{constructor(e){return e}},Vo=new ie("angularfire2.app.options"),Qo=new ie("angularfire2.app.name");function ot(t,e,o){let r=typeof o=="string"&&o||"[DEFAULT]",n=typeof o=="object"&&o||{};n.name=n.name||r;let a=G.apps.filter(s=>s&&s.name===n.name)[0]||e.runOutsideAngular(()=>G.initializeApp(t,n));try{if(JSON.stringify(t)!==JSON.stringify(a.options)){let s=!!module.hot;ic("error",`${a.name} Firebase App already initialized with different options${s?", you may need to reload as Firebase is not HMR aware.":"."}`)}}catch{}return new Ko(a)}var ic=(t,...e)=>{Ve()&&typeof console<"u"&&console[t](...e)},ac={provide:Ko,useFactory:ot,deps:[Vo,ye,[new yt,Qo]]},Ri=(()=>{class t{static initializeApp(o,r){return{ngModule:t,providers:[{provide:Vo,useValue:o},{provide:Qo,useValue:r}]}}constructor(o){G.registerVersion("angularfire",We.full,"core"),G.registerVersion("angularfire",We.full,"app-compat"),G.registerVersion("angular",Tt.full,o.toString())}static \u0275fac=function(r){return new(r||t)(P(so))};static \u0275mod=se({type:t});static \u0275inj=ne({providers:[ac]})}return t})();function Ii(t,e,o,r,n){let[,i,a]=globalThis.\u0275AngularfireInstanceCache.find(s=>s[0]===t)||[];if(i)return sc(n,a)||(Pi("error",`${e} was already initialized on the ${o} Firebase App with different settings.${lc?" You may need to reload as Firebase is not HMR aware.":""}`),Pi("warn",{is:n,was:a})),i;{let s=r();return globalThis.\u0275AngularfireInstanceCache.push([t,s,n]),s}}function sc(t,e){try{return t.toString()===e.toString()}catch{return t===e}}var lc=typeof module<"u"&&!!module.hot,Pi=(t,...e)=>{Ve()&&typeof console<"u"&&console[t](...e)};globalThis.\u0275AngularfireInstanceCache||=[];var cc=new ie("angularfire2.auth.use-emulator"),dc=new ie("angularfire2.auth.settings"),uc=new ie("angularfire2.auth.tenant-id"),fc=new ie("angularfire2.auth.langugage-code"),gc=new ie("angularfire2.auth.use-device-language"),pc=new ie("angularfire.auth.persistence"),mc=(t,e,o,r,n,i,a,s)=>Ii(`${t.name}.auth`,"AngularFireAuth",t.name,()=>{let l=e.runOutsideAngular(()=>t.auth());if(o&&l.useEmulator(...o),r&&(l.tenantId=r),l.languageCode=n,i&&l.useDeviceLanguage(),a)for(let[c,d]of Object.entries(a))l.settings[c]=d;return s&&l.setPersistence(s),l},[o,r,n,i,a,s]),rt=(()=>{class t{injector=Q(tr);authState;idToken;user;idTokenResult;credential;constructor(o,r,n,i,a,s,l,c,d,u,y,p){let g=new ct,h=He(void 0).pipe(Ue(a.outsideAngular),ue(()=>i.runOutsideAngular(()=>import("./chunk-BQOD2C6M.js"))),de(()=>ot(o,i,r)),de(w=>mc(w,i,s,c,d,u,l,y)),or({bufferSize:1,refCount:!1}));if(Nt(n))this.authState=this.user=this.idToken=this.idTokenResult=this.credential=He(null);else{h.pipe(ht()).subscribe();let w=h.pipe(ue(k=>k.getRedirectResult().then(E=>E,()=>null)),gn(this.injector),or({bufferSize:1,refCount:!1})),B=h.pipe(ue(k=>new io(E=>({unsubscribe:i.runOutsideAngular(()=>k.onAuthStateChanged(F=>E.next(F),F=>E.error(F),()=>E.complete()))})))),R=h.pipe(ue(k=>new io(E=>({unsubscribe:i.runOutsideAngular(()=>k.onIdTokenChanged(F=>E.next(F),F=>E.error(F),()=>E.complete()))}))));this.authState=w.pipe(rr(B),ao(a.outsideAngular),Ue(a.insideAngular)),this.user=w.pipe(rr(R),ao(a.outsideAngular),Ue(a.insideAngular)),this.idToken=this.user.pipe(ue(k=>k?qe(k.getIdToken()):He(null))),this.idTokenResult=this.user.pipe(ue(k=>k?qe(k.getIdTokenResult()):He(null))),this.credential=gt(w,g,this.authState.pipe(pt(k=>!k))).pipe(de(k=>k?.user?k:null),ao(a.outsideAngular),Ue(a.insideAngular))}return Bi(this,h,i,{spy:{apply:(w,B,R)=>{(w.startsWith("signIn")||w.startsWith("createUser"))&&R.then(k=>g.next(k))}}})}static \u0275fac=function(r){return new(r||t)(P(Vo),P(Qo,8),P(so),P(ye),P($r),P(cc,8),P(dc,8),P(uc,8),P(fc,8),P(gc,8),P(pc,8),P(Ho,8))};static \u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"any"})}return t})(),Ni=(()=>{class t{constructor(){G.registerVersion("angularfire",We.full,"auth-compat")}static \u0275fac=function(r){return new(r||t)};static \u0275mod=se({type:t});static \u0275inj=ne({providers:[rt]})}return t})();var $o=class t{constructor(e,o,r){this.afAuth=e;this.http=o;this.router=r}loginWithGoogle(e){e.preventDefault();let o=new br;o.setCustomParameters({prompt:"select_account"}),qe(this.afAuth.signInWithPopup(o)).pipe(de(n=>n.credential),de(n=>n.idToken),ue(n=>this.http.post("/api/login/Google",{IDToken:n})),bt(n=>{localStorage.setItem("AccountInfo",JSON.stringify(n.AccountInfo)),localStorage.setItem("Token",n.Token),localStorage.setItem("TinyMCEPlugins",n.UIConfig.TinyMCE),localStorage.setItem("Roles",JSON.stringify(le.parseJwt(localStorage.getItem("Token"))["http://schemas.microsoft.com/ws/2008/06/identity/claims/role"])),localStorage.setItem("Intercom",JSON.stringify(n.Intercom)),localStorage.setItem("CloudinaryConfig",n.UIConfig.CloudinaryConfig),localStorage.setItem("DataDaysRange",n.UIConfig.DataDaysRange),localStorage.setItem("KeepSignIn",JSON.stringify(!0)),this.router.navigate(["/menu/Dashboard"])})).subscribe()}static \u0275fac=function(o){return new(o||t)(P(rt),P(yo),P(Oe))};static \u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})};var kc=t=>({border:t}),wc=(t,e)=>({"rounded-end":t,"border-end-0":e}),Cc=()=>["/ForgotPassword"];function _c(t,e){if(t&1){let o=Ne();T(0,"i",36),Se("click",function(){fe(o);let n=O(3);return ge(n.showPassword())}),S()}if(t&2){let o=O(3);wt("",o.showHideClass," fas")}}function xc(t,e){if(t&1&&(T(0,"span",34),pe(1,_c,1,3,"i",35),S()),t&2){let o=O(2);x(),M("ngIf",o.password)}}function Sc(t,e){if(t&1){let o=Ne();T(0,"div",1)(1,"div",2)(2,"div",3)(3,"h3",4),L(4,"New Features"),S(),N(5,"POS-news-swiper",5),fo(6,"async"),S(),T(7,"div",6)(8,"div",7)(9,"h3",8),L(10),S(),T(11,"div",9),L(12),S()(),T(13,"form",10),Se("submit",function(){fe(o);let n=O();return ge(n.submitLogin())}),T(14,"div",11)(15,"div",12)(16,"div",13)(17,"span"),N(18,"i",14),S()(),T(19,"input",15),cr("ngModelChange",function(n){fe(o);let i=O();return lr(i.username,n)||(i.username=n),ge(n)}),S()(),T(20,"div",16)(21,"div",13)(22,"span"),N(23,"i",17),S()(),T(24,"input",18),cr("ngModelChange",function(n){fe(o);let i=O();return lr(i.password,n)||(i.password=n),ge(n)}),S(),pe(25,xc,2,1,"span",19),S(),T(26,"div",20)(27,"div",21)(28,"a",22),L(29,"Forgot your password?"),S()()(),N(30,"input",23),T(31,"div",24),N(32,"hr"),T(33,"span",25),L(34,"or"),S(),N(35,"hr"),S(),T(36,"div")(37,"button",26),Se("click",function(n){fe(o);let i=O();return ge(i.fbService.loginWithGoogle(n))}),N(38,"i",27),L(39," Sign In with Google"),S()()()()()(),T(40,"div",28)(41,"span",29),L(42,"powered by :"),S(),N(43,"a",30),S(),T(44,"div",31)(45,"a",32),L(46),N(47,"i",33),S()()()}if(t&2){let o=O();x(5),M("newsList",go(6,15,o.news$)),x(5),De(" ",o.loginLoaderData.Brand," "),x(),Ie(o.subscriptionState==null?null:o.subscriptionState.class),M("ngClass",_t(17,kc,o.subscriptionState==null?null:o.subscriptionState.class)),x(),De(" ",o.subscriptionState==null?null:o.subscriptionState.message,""),x(7),sr("ngModel",o.username),x(5),M("type",o.inputType)("ngClass",xt(19,wc,o.browserType=="edge",o.browserType!="edge")),sr("ngModel",o.password),x(),M("ngIf",o.browserType!="edge"),x(3),M("routerLink",uo(22,Cc)),x(17),Ct("href","https://changelog.dealpos.com/?categories=cat_gAZdRhBYU7QVl&view=complete&v=",o.appVersion,"",Ke),x(),De("version ",o.loginLoaderData.V,"")}}var Yo=class t{constructor(e,o,r,n,i,a){this.httpService=e;this.authService=o;this.fbService=r;this.router=n;this.activatedRoute=i;this.title=a;this.initLogin(),this.news$=this.httpService.getNews(K.news).pipe(de(s=>s.items.map(l=>l.properties)))}signalRClient=Q(Xt);appVersion=K.version;showHideClass;inputType;browserType;loginLoaderData;username;password;news$;returnUrl;subscriptionStatus;subscriptionState;ngOnInit(){document.body.classList.add("login-body"),this.browserType=this.findname_browser(),this.initSubscriptionStatus()}initLogin(){this.returnUrl=this.authService.returnUrl;let e=this.activatedRoute.snapshot.queryParams,o=e?.OTT;le.IsNotEmpty(o)&&this.authService.login({OneTimeToken:o,GetMenu:!0}).subscribe({next:n=>{this.onLoginSuccess(n)}});let r={UserName:e.UserName,Password:e.Password};le.IsNotEmpty(r.UserName)&&le.IsNotEmpty(r.Password)?(this.username=r.UserName,this.password=r.Password,this.submitLogin(()=>this.loginLoader())):this.loginLoader()}initSubscriptionStatus(){this.subscriptionStatus=[{status:1,message:"Subscription overdue",class:"alert-warning"},{status:2,message:"Subscription partially suspended",class:"alert-danger"},{status:3,message:"Subscription suspended",class:"alert-danger"}]}loginLoader(){this.authService.loginLoader().subscribe(e=>{this.loginLoaderData=e;let o=`${e.Brand} | Login Form`;this.title.setTitle(o),this.initUserLogin(e),this.subscriptionState=this.subscriptionStatus.filter(r=>r.status==e.SubStatus)[0]}),this.inputType="password",this.showHideClass="fas fa-eye fas"}ngOnDestroy(){document.body.classList.remove("login-body")}initUserLogin(e){if(e.Auth)if(le.IsNotEmpty(this.returnUrl))this.router.navigateByUrl(this.returnUrl),this.authService.returnUrl=null;else{let o=this.authService.getRedirectUrl();this.router.navigate([o])}else le.IsNotEmpty(this.returnUrl)&&this.router.navigate([],{queryParamsHandling:"merge",queryParams:{ReturnUrl:this.returnUrl}})}submitLogin(e){let o={GetMenu:!0,Name:this.username,Password:this.password};this.authService.login(o).subscribe({next:r=>{this.onLoginSuccess(r)},error:r=>{e&&e()}})}onLoginSuccess(e){this.signalRClient._recacheOutlet.next(!0),e.Type=="totp"?this.router.navigate(["/verify-2fa"]):e.Type=="geo"?this.router.navigate(["/verify-geolocation"]):(le.IsEmpty(e.ReturnUrl)&&(e.ReturnUrl=this.authService.getRedirectUrl()),le.IsEmpty(this.returnUrl)?this.router.navigate([e.ReturnUrl]):(this.router.navigateByUrl(this.returnUrl),this.authService.returnUrl=null))}showPassword(){this.showHideClass=this.showHideClass=="fas fa-eye fas"?"fas fas fa-eye-slash":"fas fa-eye fas",this.inputType=this.showHideClass=="fas fa-eye fas"?"password":"text"}findname_browser(){var e=window.navigator.userAgent;if(e.indexOf("Edg/")>-1)return"edge";var o={chrome:/chrome/i,safari:/safari/i,firefox:/firefox/i,ie:/internet explorer/i,edge:/edg/i};for(var r in o)if(o[r].test(e))return r;return"unknown"}static \u0275fac=function(o){return new(o||t)(ae(yo),ae(vo),ae($o),ae(Oe),ae(Kt),ae(Wt))};static \u0275cmp=ve({type:t,selectors:[["POS-auth-login"]],decls:1,vars:1,consts:[["class","container-fluid d-md-flex align-items-center justify-content-center","style","height: 100vh;",4,"ngIf"],[1,"container-fluid","d-md-flex","align-items-center","justify-content-center",2,"height","100vh"],[1,"row","mx-auto","bg-white","login-pane"],[1,"col-md-5","order-md-first","order-last","border-end","border-secondary","features-pane","pt-12"],[1,"fw-normal","fs-2","header-title"],[3,"newsList"],[1,"col-md-7","order-md-last","order-first","py-12","sign-in-pane"],[1,"d-flex","align-items-center"],[1,"text-md-start","text-center","fw-normal","fs-2","header-title","me-2"],[1,"fs-6","fw-normal","mt-1","fst-italic","px-2","py-1","alert","rounded-0","mb-0",3,"ngClass"],[2,"margin-top","28px",3,"submit"],[1,"form-block","mt-5"],[1,"input-group","input-group-lg"],[1,"input-group-text","rounded-start","border-end-0",2,"width","52px"],[1,"fas","fa-user","fa-lg"],["id","txtUsername","type","text","data-cy","username","placeholder","Username / Email","aria-label","Username","aria-describedby","basic-addon1","autofocus","","name","username",1,"form-control","form-control-lg","rounded-end","border-start-0","ps-1",2,"height","50px",3,"ngModelChange","ngModel"],[1,"input-group","input-group-lg","mt-8"],[1,"fas","fa-key","fa-lg"],["id","txtPassword","data-cy","password","placeholder","Password","aria-label","Password","aria-describedby","basic-addon1","autofocus","","name","password",1,"form-control","form-control-lg","rounded-end","border-start-0","ps-1",2,"height","50px",3,"ngModelChange","type","ngClass","ngModel"],["class","input-group-text border-start-0 rounded-end",4,"ngIf"],[1,"text-end","mt-4"],[1,"me-2"],[1,"text-primary",3,"routerLink"],["id","btnSubmit","type","submit","value","Sign In","data-cy","loginBtn",1,"w-100","btn","fs-3","rounded-3","btn-login","text-white","mt-6","bg-primary"],[1,"divider","d-flex","align-items-center","justify-content-center"],[1,"mx-4","text-body-secondary"],[1,"btn","btn-social-login","text-primary","me-5","w-100","fw-bold",3,"click"],[1,"fa-brands","fa-google"],[1,"d-flex","copyright",2,"margin-left","20px"],[1,"align-self-center","me-5"],["target","_blank","href","http://www.dealpos.com"],[1,"version",2,"margin-right","18px"],["target","_blank",1,"text-dark","fst-italic",3,"href"],[1,"fa-solid","fa-circle-exclamation","ms-2",2,"font-size","16px"],[1,"input-group-text","border-start-0","rounded-end"],[3,"class","click",4,"ngIf"],[3,"click"]],template:function(o,r){o&1&&pe(0,Sc,48,23,"div",0),o&2&&M("ngIf",r.loginLoaderData)},dependencies:[po,Wo,Mt,an,tn,Zt,Jt,en,nn,rn,on,Qt,Pt],styles:[".login-pane[_ngcontent-%COMP%]{max-width:57rem;height:max-content}@media (min-width: 900px){.login-pane[_ngcontent-%COMP%]{width:57rem}}@media (max-width: 768px){.login-pane[_ngcontent-%COMP%]{margin-top:0}}@media only screen and (max-width: 1300px) and (min-width: 1024px){.login-pane[_ngcontent-%COMP%]{margin-top:30px}}.header-title[_ngcontent-%COMP%]{font-family:Roboto Slab}.carousel-inner[_ngcontent-%COMP%]{height:310px}.carousel-inner[_ngcontent-%COMP%] div.carousel-item[_ngcontent-%COMP%]{top:28px}@media (max-width: 820px){.carousel-indicators[_ngcontent-%COMP%]{bottom:-8px}}.carousel-indicators[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background-color:#ddd;width:1.25rem;height:.375rem;transition:.3s}.carousel-indicators[_ngcontent-%COMP%] button.active[_ngcontent-%COMP%]{background-color:var(--bs-primary)}.sign-in-pane[_ngcontent-%COMP%]{padding:0 3rem 0 3.5rem}@media (max-width: 768px){.sign-in-pane[_ngcontent-%COMP%]{padding:24px 12px}.sign-in-pane[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding-left:8px!important}}.subscription.danger[_ngcontent-%COMP%]{background-color:#f2dede;border-color:#eb415d;color:#a94442}.subscription.warning[_ngcontent-%COMP%]{background-color:#fcf8e3;border-color:#faebcc;color:#8a6d3b}@media (max-width: 768px){.features-pane[_ngcontent-%COMP%]{border-right:0px!important}}.copyright[_ngcontent-%COMP%]{position:absolute;bottom:1.25rem;left:1.25rem}.copyright[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:8.125rem;height:2.5rem;background-image:url(//res.cloudinary.com/pos/image/upload/POS/Images/Login/dealpos.png);background-position:left top;background-repeat:no-repeat;background-size:contain}.version[_ngcontent-%COMP%]{bottom:1.25rem;right:1.25rem;position:absolute}@media (max-width: 768px){.copyright[_ngcontent-%COMP%], .version[_ngcontent-%COMP%]{position:static;margin-top:10px}.copyright[_ngcontent-%COMP%]{justify-content:center}}div.divider[_ngcontent-%COMP%] > hr[_ngcontent-%COMP%]{margin-top:1.2rem;margin-bottom:1.2rem;border-top:1px solid rgba(0,0,0,.855);width:20%}button.btn-social-login[_ngcontent-%COMP%], .btn-login[_ngcontent-%COMP%]{border:1px solid var(--bs-primary)}.fa-google[_ngcontent-%COMP%]{background:conic-gradient(from -45deg,#ea4335 110deg,#4285f4 90deg 180deg,#34a853 180deg 270deg,#fbbc05 270deg) 73% 55%/150% 150% no-repeat;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}.version[_ngcontent-%COMP%] a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#fe3a00!important}.version[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited i[_ngcontent-%COMP%]{color:#f4f4f4!important}.version[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{margin-left:-10px}"]})};var Oi=[{path:"",component:Yo},{path:"ForgotPassword",loadComponent:()=>import("./chunk-VFFCV3EX.js").then(t=>t.AuthForgotPasswordComponent)},{path:"ResetPassword",loadComponent:()=>import("./chunk-IXEK3QVA.js").then(t=>t.AuthResetPasswordComponent)},{path:"verify-2fa",loadComponent:()=>import("./chunk-V7USIKBO.js").then(t=>t.AuthTotpComponent)},{path:"verify-geolocation",loadComponent:()=>import("./chunk-ABSSU2NG.js").then(t=>t.AuthGeolocationComponent)},{path:"",redirectTo:"",pathMatch:"full"}];var Tc=[{path:"menu",loadChildren:()=>import("./chunk-3HGQ6VA3.js").then(t=>t.MenuMasterModule)},{path:"print",loadChildren:()=>import("./chunk-YQEL63SF.js").then(t=>t.PrintModule)},...Oi],Go=class t{static \u0275fac=function(o){return new(o||t)};static \u0275mod=se({type:t});static \u0275inj=ne({imports:[gr.forRoot(Tc),gr]})};var Ec=()=>["/api/charge","changelog.dealpos.app"],Xo=class t{debounceDelay=K.ngHttpLoaderDebounceDelay;constructor(){Date.prototype.toJSON=function(){return this.getFullYear()+"-"+e(this.getMonth()+1)+"-"+e(this.getDate())+"T"+e(this.getHours())+":"+e(this.getMinutes())+":"+e(this.getSeconds())+".000"};function e(o){return o<10?"0"+o:o}this.compareAppVersion()}compareAppVersion(){let e=localStorage.getItem("appVersion"),o=K.version;e!==o&&(localStorage.setItem("appVersion",o),localStorage.setItem("mapRouteOpenChangelogDialog",JSON.stringify([])))}static \u0275fac=function(o){return new(o||t)};static \u0275cmp=ve({type:t,selectors:[["app-root"]],standalone:!1,decls:3,vars:3,consts:[[3,"filteredUrlPatterns","debounceDelay"],[1,"simple-keyboard"]],template:function(o,r){o&1&&N(0,"router-outlet")(1,"ng-http-loader",0)(2,"div",1),o&2&&(x(),M("filteredUrlPatterns",uo(2,Ec))("debounceDelay",r.debounceDelay))},dependencies:[Vt,ko],styles:[".toast-center-center[_ngcontent-%COMP%]{top:50%;left:50%;transform:translate(-50%,-50%)}.toast-top-center[_ngcontent-%COMP%]{top:0;right:0;width:100%}.toast-bottom-center[_ngcontent-%COMP%]{bottom:0;right:0;width:100%}.toast-top-full-width[_ngcontent-%COMP%]{top:0;right:0;width:100%}.toast-bottom-full-width[_ngcontent-%COMP%]{bottom:0;right:0;width:100%}.toast-top-left[_ngcontent-%COMP%]{top:12px;left:12px}.toast-top-right[_ngcontent-%COMP%]{top:12px;right:12px}.toast-bottom-right[_ngcontent-%COMP%]{right:12px;bottom:12px}.toast-bottom-left[_ngcontent-%COMP%]{bottom:12px;left:12px}.toast-title[_ngcontent-%COMP%]{font-weight:700}.toast-message[_ngcontent-%COMP%]{word-wrap:break-word}.toast-message[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .toast-message[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:#fff}.toast-message[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#ccc;text-decoration:none}.toast-close-button[_ngcontent-%COMP%]{position:relative;right:-.3em;top:-.3em;float:right;font-size:20px;font-weight:700;color:#fff;text-shadow:0 1px 0 #ffffff}.toast-close-button[_ngcontent-%COMP%]:hover, .toast-close-button[_ngcontent-%COMP%]:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.4}button.toast-close-button[_ngcontent-%COMP%]{padding:0;cursor:pointer;background:transparent;border:0}.toast-container[_ngcontent-%COMP%]{pointer-events:none;position:fixed;z-index:999999}.toast-container[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{box-sizing:border-box}.toast-container[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%]{position:relative;overflow:hidden;margin:0 0 6px;padding:15px 15px 15px 50px;width:300px;border-radius:3px;background-position:15px center;background-repeat:no-repeat;background-size:24px;box-shadow:0 0 12px #999;color:#fff}.toast-container[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%]:hover{box-shadow:0 0 12px #000;opacity:1;cursor:pointer}.toast-info[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOS4wNDMgOCA4IDExOS4wODMgOCAyNTZjMCAxMzYuOTk3IDExMS4wNDMgMjQ4IDI0OCAyNDhzMjQ4LTExMS4wMDMgMjQ4LTI0OEM1MDQgMTE5LjA4MyAzOTIuOTU3IDggMjU2IDh6bTAgMTEwYzIzLjE5NiAwIDQyIDE4LjgwNCA0MiA0MnMtMTguODA0IDQyLTQyIDQyLTQyLTE4LjgwNC00Mi00MiAxOC44MDQtNDIgNDItNDJ6bTU2IDI1NGMwIDYuNjI3LTUuMzczIDEyLTEyIDEyaC04OGMtNi42MjcgMC0xMi01LjM3My0xMi0xMnYtMjRjMC02LjYyNyA1LjM3My0xMiAxMi0xMmgxMnYtNjRoLTEyYy02LjYyNyAwLTEyLTUuMzczLTEyLTEydi0yNGMwLTYuNjI3IDUuMzczLTEyIDEyLTEyaDY0YzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MTAwaDEyYzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MjR6Jy8+PC9zdmc+)}.toast-error[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOSA4IDggMTE5IDggMjU2czExMSAyNDggMjQ4IDI0OCAyNDgtMTExIDI0OC0yNDhTMzkzIDggMjU2IDh6bTEyMS42IDMxMy4xYzQuNyA0LjcgNC43IDEyLjMgMCAxN0wzMzggMzc3LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwyNTYgMzEybC02NS4xIDY1LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwxMzQuNCAzMzhjLTQuNy00LjctNC43LTEyLjMgMC0xN2w2NS42LTY1LTY1LjYtNjUuMWMtNC43LTQuNy00LjctMTIuMyAwLTE3bDM5LjYtMzkuNmM0LjctNC43IDEyLjMtNC43IDE3IDBsNjUgNjUuNyA2NS4xLTY1LjZjNC43LTQuNyAxMi4zLTQuNyAxNyAwbDM5LjYgMzkuNmM0LjcgNC43IDQuNyAxMi4zIDAgMTdMMzEyIDI1Nmw2NS42IDY1LjF6Jy8+PC9zdmc+)}.toast-success[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTE3My44OTggNDM5LjQwNGwtMTY2LjQtMTY2LjRjLTkuOTk3LTkuOTk3LTkuOTk3LTI2LjIwNiAwLTM2LjIwNGwzNi4yMDMtMzYuMjA0YzkuOTk3LTkuOTk4IDI2LjIwNy05Ljk5OCAzNi4yMDQgMEwxOTIgMzEyLjY5IDQzMi4wOTUgNzIuNTk2YzkuOTk3LTkuOTk3IDI2LjIwNy05Ljk5NyAzNi4yMDQgMGwzNi4yMDMgMzYuMjA0YzkuOTk3IDkuOTk3IDkuOTk3IDI2LjIwNiAwIDM2LjIwNGwtMjk0LjQgMjk0LjQwMWMtOS45OTggOS45OTctMjYuMjA3IDkuOTk3LTM2LjIwNC0uMDAxeicvPjwvc3ZnPg==)}.toast-warning[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1NzYgNTEyJyB3aWR0aD0nNTc2JyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTU2OS41MTcgNDQwLjAxM0M1ODcuOTc1IDQ3Mi4wMDcgNTY0LjgwNiA1MTIgNTI3Ljk0IDUxMkg0OC4wNTRjLTM2LjkzNyAwLTU5Ljk5OS00MC4wNTUtNDEuNTc3LTcxLjk4N0wyNDYuNDIzIDIzLjk4NWMxOC40NjctMzIuMDA5IDY0LjcyLTMxLjk1MSA4My4xNTQgMGwyMzkuOTQgNDE2LjAyOHpNMjg4IDM1NGMtMjUuNDA1IDAtNDYgMjAuNTk1LTQ2IDQ2czIwLjU5NSA0NiA0NiA0NiA0Ni0yMC41OTUgNDYtNDYtMjAuNTk1LTQ2LTQ2LTQ2em0tNDMuNjczLTE2NS4zNDZsNy40MTggMTM2Yy4zNDcgNi4zNjQgNS42MDkgMTEuMzQ2IDExLjk4MiAxMS4zNDZoNDguNTQ2YzYuMzczIDAgMTEuNjM1LTQuOTgyIDExLjk4Mi0xMS4zNDZsNy40MTgtMTM2Yy4zNzUtNi44NzQtNS4wOTgtMTIuNjU0LTExLjk4Mi0xMi42NTRoLTYzLjM4M2MtNi44ODQgMC0xMi4zNTYgNS43OC0xMS45ODEgMTIuNjU0eicvPjwvc3ZnPg==)}.toast-container.toast-top-center[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%], .toast-container.toast-bottom-center[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%]{width:300px;margin-left:auto;margin-right:auto}.toast-container.toast-top-full-width[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%], .toast-container.toast-bottom-full-width[_ngcontent-%COMP%] .ngx-toastr[_ngcontent-%COMP%]{width:96%;margin-left:auto;margin-right:auto}.ngx-toastr[_ngcontent-%COMP%]{background-color:#030303;pointer-events:auto}.toast-success[_ngcontent-%COMP%]{background-color:#51a351}.toast-error[_ngcontent-%COMP%]{background-color:#bd362f}.toast-info[_ngcontent-%COMP%]{background-color:#2f96b4}.toast-warning[_ngcontent-%COMP%]{background-color:#f89406}.toast-progress[_ngcontent-%COMP%]{position:absolute;left:0;bottom:0;height:4px;background-color:#000;opacity:.4}@media all and (max-width: 240px){.toast-container[_ngcontent-%COMP%] .ngx-toastr.div[_ngcontent-%COMP%]{padding:8px 8px 8px 50px;width:11em}.toast-container[_ngcontent-%COMP%] .toast-close-button[_ngcontent-%COMP%]{right:-.2em;top:-.2em}}@media all and (min-width: 241px) and (max-width: 480px){.toast-container[_ngcontent-%COMP%] .ngx-toastr.div[_ngcontent-%COMP%]{padding:8px 8px 8px 50px;width:18em}.toast-container[_ngcontent-%COMP%] .toast-close-button[_ngcontent-%COMP%]{right:-.2em;top:-.2em}}@media all and (min-width: 481px) and (max-width: 768px){.toast-container[_ngcontent-%COMP%] .ngx-toastr.div[_ngcontent-%COMP%]{padding:15px 15px 15px 50px;width:25em}}"]})};var Mc=["custom-toast-component",""];function Ac(t,e){if(t&1){let o=Ne();T(0,"a",11),Se("click",function(){fe(o);let n=O(2);return ge(n.remove())}),L(1," x "),S()}}function Pc(t,e){if(t&1&&(T(0,"div",6)(1,"div",7)(2,"div",8)(3,"h4"),L(4),S()()(),T(5,"div",9),pe(6,Ac,2,0,"a",10),S()()),t&2){let o=O();ar("display",o.state().value==="inactive"?"none":""),x(2),Ie(o.options.titleClass),ir("aria-label",o.title),x(2),co(o.title),x(2),M("ngIf",o.options.closeButton)}}function Bc(t,e){if(t&1&&N(0,"div",12),t&2){let o=O();Ie(o.options.messageClass),M("innerHTML",o.message,lo)}}function Rc(t,e){if(t&1&&(T(0,"div",13),L(1),S()),t&2){let o=O();Ie(o.options.messageClass),ir("aria-label",o.message),x(),De(" ",o.message," ")}}function Ic(t,e){if(t&1){let o=Ne();T(0,"a",11),Se("click",function(){fe(o);let n=O();return ge(n.remove())}),L(1," x "),S()}}function Nc(t,e){if(t&1&&(T(0,"div"),N(1,"div",14),S()),t&2){let o=O();x(),ar("width",o.width+"%")}}var Li=(()=>{class t extends Yt{constructor(o,r){super(o,r),this.toastrService=o,this.toastPackage=r}ngOnInit(){}action(o){return o.stopPropagation(),this.toastPackage.triggerAction(),!1}static{this.\u0275fac=function(r){return new(r||t)(ae(bo),ae($t))}}static{this.\u0275cmp=ve({type:t,selectors:[["","custom-toast-component",""]],features:[kt],attrs:Mc,decls:6,vars:5,consts:[[1,"toast-case"],["class","row toast-header",3,"display",4,"ngIf"],["class","row toast-body text-start","role","alert","aria-live","polite",3,"class","innerHTML",4,"ngIf"],["class","row toast-body text-start","role","alert","aria-live","polite",3,"class",4,"ngIf"],["class","btn toast-close-button btn-sm ",3,"click",4,"ngIf"],[4,"ngIf"],[1,"row","toast-header"],[1,"col-9","px-0","text-start"],[1,"my-4"],[1,"col-auto","mt-5","pe-0"],["class","btn toast-close-button btn-sm",3,"click",4,"ngIf"],[1,"btn","toast-close-button","btn-sm",3,"click"],["role","alert","aria-live","polite",1,"row","toast-body","text-start",3,"innerHTML"],["role","alert","aria-live","polite",1,"row","toast-body","text-start"],[1,"toast-progress"]],template:function(r,n){r&1&&(T(0,"div",0),pe(1,Pc,7,7,"div",1)(2,Bc,1,3,"div",2)(3,Rc,2,4,"div",3)(4,Ic,2,0,"a",4)(5,Nc,2,2,"div",5),S()),r&2&&(x(),M("ngIf",n.title),x(),M("ngIf",n.message&&n.options.enableHtml),x(),M("ngIf",n.message&&!n.options.enableHtml),x(),M("ngIf",n.options.closeButton&&n.title==null),x(),M("ngIf",n.options.progressBar))},dependencies:[It,po],styles:["[_nghost-%COMP%]{background-color:#fff;position:relative;overflow:hidden;margin:0 0 6px;width:300px;border-radius:3px;color:#141414;pointer-events:all;cursor:pointer}.toast-success[_nghost-%COMP%]{border:1.8px solid rgb(81,163,81)}.toast-info[_nghost-%COMP%]{border:1.8px solid rgb(47,150,180)}.toast-error[_nghost-%COMP%]{border:1.8px solid rgb(189,54,47)}.toast-warning[_nghost-%COMP%]{border:1.8px solid rgb(248,148,6)}.toast-case[_ngcontent-%COMP%]{margin-left:10px}.toast-header[_ngcontent-%COMP%]{background-clip:padding-box;border-bottom:1px solid gainsboro;border-width:1px;padding-bottom:0rem;padding-top:0rem;padding-right:0}.toast-title[_ngcontent-%COMP%]{color:#000}.toast-body[_ngcontent-%COMP%]{padding:10px 15px 10px 0}.notitle[_ngcontent-%COMP%]{margin-bottom:-1rem}.toast-close-button[_ngcontent-%COMP%]{color:#dcdcdc!important}"],data:{animation:[Ut("flyInOut",[Ht("inactive",Y({opacity:0})),fr("inactive => active",dr("400ms ease-out",ur([Y({transform:"translate3d(100%, 0, 0) skewX(-30deg)",opacity:0}),Y({transform:"skewX(20deg)",opacity:1}),Y({transform:"skewX(-5deg)",opacity:1}),Y({transform:"none",opacity:1})]))),fr("active => removed",dr("400ms ease-out",ur([Y({opacity:1}),Y({transform:"translate3d(100%, 0, 0) skewX(30deg)",opacity:0})])))])]}})}}return t})();var zi={name:"pos-offline",version:K.pos.indexedDBVersion,objectStoresMeta:[{store:"Order",storeConfig:{keyPath:"id",autoIncrement:!0},storeSchema:[{name:"Action",options:{unique:!1},keypath:"Action"},{name:"Items",options:{unique:!1},keypath:"Items"},{name:"CartItems",options:{unique:!1},keypath:"CartItems"},{name:"Invoice",options:{unique:!1},keypath:"Invoice"},{name:"Order",options:{unique:!1},keypath:"Order"},{name:"Payments",options:{unique:!1},keypath:"Payments"},{name:"Shipping",options:{unique:!1},keypath:"Shipping"},{name:"ContactName",options:{unique:!1},keypath:"ContactName"}]},{store:"Outlet",storeConfig:{keyPath:"RegisterID",autoIncrement:!1},storeSchema:[{name:"DefaultSalesOrderTag",options:{unique:!1},keypath:"DefaultSalesOrderTag"},{name:"DefaultTaxType",options:{unique:!1},keypath:"DefaultTaxType"},{name:"DefaultWarehouse",options:{unique:!1},keypath:"DefaultWarehouse"},{name:"EntityID",options:{unique:!1},keypath:"EntityID"},{name:"EntityName",options:{unique:!1},keypath:"EntityName"},{name:"InvoiceNumberElement",options:{unique:!1},keypath:"InvoiceNumberElement"},{name:"ListSales",options:{unique:!1},keypath:"ListSales"},{name:"MemberPoint",options:{unique:!1},keypath:"MemberPoint"},{name:"NewOrderID",options:{unique:!1},keypath:"NewOrderID"},{name:"NumberElement",options:{unique:!1},keypath:"NumberElement"},{name:"ParkLayoutPack",options:{unique:!1},keypath:"ParkLayoutPack"},{name:"PrintTemplate",options:{unique:!1},keypath:"PrintTemplate"},{name:"QuickKeyPack",options:{unique:!1},keypath:"QuickKeyPack"},{name:"RegisterID",options:{unique:!1},keypath:"RegisterID"},{name:"ShippingDefault",options:{unique:!1},keypath:"ShippingDefault"}]},{store:"OutletPrice",storeConfig:{keyPath:"id",autoIncrement:!0},storeSchema:[{name:"EntityID",options:{unique:!1},keypath:"EntityID"},{name:"ExtraCost",options:{unique:!1},keypath:"ExtraCost"},{name:"PriceDiscount",options:{unique:!1},keypath:"PriceDiscount"},{name:"UnitCost",options:{unique:!1},keypath:"UnitCost"},{name:"UnitPrice",options:{unique:!1},keypath:"UnitPrice"},{name:"VariantID",options:{unique:!1},keypath:"VariantID"}]},{store:"POSStorage",storeConfig:{keyPath:"id",autoIncrement:!1},storeSchema:[{name:"AppConfigJSON",options:{unique:!1},keypath:"AppConfigJSON"},{name:"BINS",options:{unique:!1},keypath:"BINS"},{name:"Currencies",options:{unique:!1},keypath:"Currencies"},{name:"CustomerOptions",options:{unique:!1},keypath:"CustomerOptions"},{name:"Denomination",options:{unique:!1},keypath:"Denomination"},{name:"Entities",options:{unique:!1},keypath:"Entities"},{name:"PaymentTypes",options:{unique:!1},keypath:"PaymentTypes"},{name:"Payments",options:{unique:!1},keypath:"Payments"},{name:"PoTypes",options:{unique:!1},keypath:"PoTypes"},{name:"ProductCount",options:{unique:!1},keypath:"ProductCount"},{name:"Registers",options:{unique:!1},keypath:"Registers"},{name:"Restriction",options:{unique:!1},keypath:"Restriction"},{name:"Roles",options:{unique:!1},keypath:"Roles"},{name:"SalesID",options:{unique:!1},keypath:"SalesID"},{name:"ServerDateString",options:{unique:!1},keypath:"ServerDateString"},{name:"ServerTime",options:{unique:!1},keypath:"ServerTime"},{name:"Taxes",options:{unique:!1},keypath:"Taxes"},{name:"UserID",options:{unique:!1},keypath:"UserID"},{name:"UserName",options:{unique:!1},keypath:"UserName"},{name:"Version",options:{unique:!1},keypath:"Version"}]},{store:"Product",storeConfig:{keyPath:"ID",autoIncrement:!1},storeSchema:[{name:"BrandName",options:{unique:!1},keypath:"BrandName"},{name:"CategoryName",options:{unique:!1},keypath:"CategoryName"},{name:"CategoryTypeID",options:{unique:!1},keypath:"CategoryTypeID"},{name:"Code",options:{unique:!1},keypath:"Code"},{name:"Component",options:{unique:!1},keypath:"Component"},{name:"Created",options:{unique:!1},keypath:"Created"},{name:"Description",options:{unique:!1},keypath:"Description"},{name:"ExtraCost",options:{unique:!1},keypath:"ExtraCost"},{name:"ID",options:{unique:!1},keypath:"ID"},{name:"ImageUrl",options:{unique:!1},keypath:"ImageUrl"},{name:"LoyaltyPoint",options:{unique:!1},keypath:"LoyaltyPoint"},{name:"Name",options:{unique:!1},keypath:"Name"},{name:"OrderPrice",options:{unique:!1},keypath:"OrderPrice"},{name:"OrderPriceDiscount",options:{unique:!1},keypath:"OrderPriceDiscount"},{name:"Ordered",options:{unique:!1},keypath:"Ordered"},{name:"PaymentTypeID",options:{unique:!1},keypath:"PaymentTypeID"},{name:"PriceBook",options:{unique:!1},keypath:"PriceBook"},{name:"PriceDiscount",options:{unique:!1},keypath:"PriceDiscount"},{name:"PriceNote",options:{unique:!1},keypath:"PriceNote"},{name:"PriceTypeID",options:{unique:!1},keypath:"PriceTypeID"},{name:"ProductID",options:{unique:!1},keypath:"ProductID"},{name:"Taxable",options:{unique:!1},keypath:"Taxable"},{name:"ThumbnailUrl",options:{unique:!1},keypath:"ThumbnailUrl"},{name:"TypeID",options:{unique:!1},keypath:"TypeID"},{name:"UOM",options:{unique:!1},keypath:"UOM"},{name:"UnitCost",options:{unique:!1},keypath:"UnitCost"},{name:"UnitExpense",options:{unique:!1},keypath:"UnitExpense"},{name:"UnitPrice",options:{unique:!1},keypath:"UnitPrice"},{name:"UnitPriceOriginal",options:{unique:!1},keypath:"UnitPriceOriginal"},{name:"UnitQuantity",options:{unique:!1},keypath:"UnitQuantity"},{name:"OnHand",options:{unique:!1},keypath:"OnHand"}]},{store:"SyncTime",storeConfig:{keyPath:"id",autoIncrement:!1},storeSchema:[{name:"time",keypath:"time",options:{unique:!0}}]},{store:"FailedOrder",storeConfig:{keyPath:"id",autoIncrement:!0},storeSchema:[{name:"Action",options:{unique:!1},keypath:"Action"},{name:"Items",options:{unique:!1},keypath:"Items"},{name:"CartItems",options:{unique:!1},keypath:"CartItems"},{name:"Invoice",options:{unique:!1},keypath:"Invoice"},{name:"Order",options:{unique:!1},keypath:"Order"},{name:"Payments",options:{unique:!1},keypath:"Payments"},{name:"Shipping",options:{unique:!1},keypath:"Shipping"}]},{store:"SuccessOrder",storeConfig:{keyPath:"id",autoIncrement:!0},storeSchema:[{name:"Number",options:{unique:!1},keypath:"Order.Number"}]}]};var Fi=(t,e)=>{let o=Q(bo),r=Q(vo),n=localStorage.getItem("Token"),i=Q(Oe),a=Q(hn);return n&&(t.body instanceof FormData?t=t.clone({setHeaders:{Authorization:`Bearer ${n}`}}):t.url.includes("cloudflarestorage")?t=t.clone({setHeaders:{}}):t=t.clone({setHeaders:{Authorization:`Bearer ${n}`,"Content-Type":"application/json","Cache-Control":"no-cache"}})),e(t).pipe(mt(s=>{if(s instanceof zt){switch(console.log("error",s),s.status){case 401:o.error("You are forced to logout. Please relogin and contact administrator for more information!","Unauthorized"),a.closeAll(),r.logout();break;case 402:i.navigate(["/menu/Profile/Main/My_Subscription"]);break;case 403:i.navigate(["/menu/Unauthorized/Main/Unauthorized"],{state:{role:s?.error.Roles}});break}return ft(()=>s)}}))};var ji={root:{transitionDuration:"{transition.duration}"},panel:{borderWidth:"0 0 1px 0",borderColor:"{content.border.color}"},header:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",padding:"1.125rem",fontWeight:"600",borderRadius:"0",borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",hoverBackground:"{content.background}",activeBackground:"{content.background}",activeHoverBackground:"{content.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},toggleIcon:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",activeHoverColor:"{text.color}"},first:{topBorderRadius:"{content.border.radius}",borderWidth:"0"},last:{bottomBorderRadius:"{content.border.radius}",activeBottomBorderRadius:"0"}},content:{borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",color:"{text.color}",padding:"0 1.125rem 1.125rem 1.125rem"}};var Wi={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},list:{padding:"{list.padding}",gap:"{list.gap}"},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},optionGroup:{background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},dropdown:{width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},chip:{borderRadius:"{border.radius.sm}"},emptyMessage:{padding:"{list.option.padding}"},colorScheme:{light:{chip:{focusBackground:"{surface.200}",focusColor:"{surface.800}"},dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",focusColor:"{surface.0}"},dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"}}}};var Ui={root:{width:"2rem",height:"2rem",fontSize:"1rem",background:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},icon:{size:"1rem"},group:{borderColor:"{content.background}",offset:"-0.75rem"},lg:{width:"3rem",height:"3rem",fontSize:"1.5rem",icon:{size:"1.5rem"},group:{offset:"-1rem"}},xl:{width:"4rem",height:"4rem",fontSize:"2rem",icon:{size:"2rem"},group:{offset:"-1.5rem"}}};var qi={root:{borderRadius:"{border.radius.md}",padding:"0 0.5rem",fontSize:"0.75rem",fontWeight:"700",minWidth:"1.5rem",height:"1.5rem"},dot:{size:"0.5rem"},sm:{fontSize:"0.625rem",minWidth:"1.25rem",height:"1.25rem"},lg:{fontSize:"0.875rem",minWidth:"1.75rem",height:"1.75rem"},xl:{fontSize:"1rem",minWidth:"2rem",height:"2rem"},colorScheme:{light:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.500}",color:"{surface.0}"},info:{background:"{sky.500}",color:"{surface.0}"},warn:{background:"{orange.500}",color:"{surface.0}"},danger:{background:"{red.500}",color:"{surface.0}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"{green.400}",color:"{green.950}"},info:{background:"{sky.400}",color:"{sky.950}"},warn:{background:"{orange.400}",color:"{orange.950}"},danger:{background:"{red.400}",color:"{red.950}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}}};var Hi={primitive:{borderRadius:{none:"0",xs:"2px",sm:"4px",md:"6px",lg:"8px",xl:"12px"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"}},semantic:{transitionDuration:"0.2s",focusRing:{width:"1px",style:"solid",color:"{primary.color}",offset:"2px",shadow:"none"},disabledOpacity:"0.6",iconSize:"1rem",anchorGutter:"2px",primary:{50:"{emerald.50}",100:"{emerald.100}",200:"{emerald.200}",300:"{emerald.300}",400:"{emerald.400}",500:"{emerald.500}",600:"{emerald.600}",700:"{emerald.700}",800:"{emerald.800}",900:"{emerald.900}",950:"{emerald.950}"},formField:{paddingX:"0.75rem",paddingY:"0.5rem",sm:{fontSize:"0.875rem",paddingX:"0.625rem",paddingY:"0.375rem"},lg:{fontSize:"1.125rem",paddingX:"0.875rem",paddingY:"0.625rem"},borderRadius:"{border.radius.md}",focusRing:{width:"0",style:"none",color:"transparent",offset:"0",shadow:"none"},transitionDuration:"{transition.duration}"},list:{padding:"0.25rem 0.25rem",gap:"2px",header:{padding:"0.5rem 1rem 0.25rem 1rem"},option:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}"},optionGroup:{padding:"0.5rem 0.75rem",fontWeight:"600"}},content:{borderRadius:"{border.radius.md}"},mask:{transitionDuration:"0.15s"},navigation:{list:{padding:"0.25rem 0.25rem",gap:"2px"},item:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}",gap:"0.5rem"},submenuLabel:{padding:"0.5rem 0.75rem",fontWeight:"600"},submenuIcon:{size:"0.875rem"}},overlay:{select:{borderRadius:"{border.radius.md}",shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"},popover:{borderRadius:"{border.radius.md}",padding:"0.75rem",shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"},modal:{borderRadius:"{border.radius.xl}",padding:"1.25rem",shadow:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)"},navigation:{shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"}},colorScheme:{light:{surface:{0:"#ffffff",50:"{slate.50}",100:"{slate.100}",200:"{slate.200}",300:"{slate.300}",400:"{slate.400}",500:"{slate.500}",600:"{slate.600}",700:"{slate.700}",800:"{slate.800}",900:"{slate.900}",950:"{slate.950}"},primary:{color:"{primary.500}",contrastColor:"#ffffff",hoverColor:"{primary.600}",activeColor:"{primary.700}"},highlight:{background:"{primary.50}",focusBackground:"{primary.100}",color:"{primary.700}",focusColor:"{primary.800}"},mask:{background:"rgba(0,0,0,0.4)",color:"{surface.200}"},formField:{background:"{surface.0}",disabledBackground:"{surface.200}",filledBackground:"{surface.50}",filledHoverBackground:"{surface.50}",filledFocusBackground:"{surface.50}",borderColor:"{surface.300}",hoverBorderColor:"{surface.400}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.400}",color:"{surface.700}",disabledColor:"{surface.500}",placeholderColor:"{surface.500}",invalidPlaceholderColor:"{red.600}",floatLabelColor:"{surface.500}",floatLabelFocusColor:"{primary.600}",floatLabelActiveColor:"{surface.500}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)"},text:{color:"{surface.700}",hoverColor:"{surface.800}",mutedColor:"{surface.500}",hoverMutedColor:"{surface.600}"},content:{background:"{surface.0}",hoverBackground:"{surface.100}",borderColor:"{surface.200}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},popover:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},modal:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.100}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.100}",activeBackground:"{surface.100}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}}},dark:{surface:{0:"#ffffff",50:"{zinc.50}",100:"{zinc.100}",200:"{zinc.200}",300:"{zinc.300}",400:"{zinc.400}",500:"{zinc.500}",600:"{zinc.600}",700:"{zinc.700}",800:"{zinc.800}",900:"{zinc.900}",950:"{zinc.950}"},primary:{color:"{primary.400}",contrastColor:"{surface.900}",hoverColor:"{primary.300}",activeColor:"{primary.200}"},highlight:{background:"color-mix(in srgb, {primary.400}, transparent 84%)",focusBackground:"color-mix(in srgb, {primary.400}, transparent 76%)",color:"rgba(255,255,255,.87)",focusColor:"rgba(255,255,255,.87)"},mask:{background:"rgba(0,0,0,0.6)",color:"{surface.200}"},formField:{background:"{surface.950}",disabledBackground:"{surface.700}",filledBackground:"{surface.800}",filledHoverBackground:"{surface.800}",filledFocusBackground:"{surface.800}",borderColor:"{surface.600}",hoverBorderColor:"{surface.500}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.300}",color:"{surface.0}",disabledColor:"{surface.400}",placeholderColor:"{surface.400}",invalidPlaceholderColor:"{red.400}",floatLabelColor:"{surface.400}",floatLabelFocusColor:"{primary.color}",floatLabelActiveColor:"{surface.400}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)"},text:{color:"{surface.0}",hoverColor:"{surface.0}",mutedColor:"{surface.400}",hoverMutedColor:"{surface.300}"},content:{background:"{surface.900}",hoverBackground:"{surface.800}",borderColor:"{surface.700}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},popover:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},modal:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.800}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.800}",activeBackground:"{surface.800}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}}}}}};var Ki={root:{borderRadius:"{content.border.radius}"}};var Vi={root:{padding:"1rem",background:"{content.background}",gap:"0.5rem",transitionDuration:"{transition.duration}"},item:{color:"{text.muted.color}",hoverColor:"{text.color}",borderRadius:"{content.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",hoverColor:"{navigation.item.icon.focus.color}"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},separator:{color:"{navigation.item.icon.color}"}};var Qi={root:{borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",gap:"0.5rem",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",iconOnlyWidth:"2.5rem",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}",iconOnlyWidth:"2rem"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}",iconOnlyWidth:"3rem"},label:{fontWeight:"500"},raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"},badgeSize:"1rem",transitionDuration:"{form.field.transition.duration}"},colorScheme:{light:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",borderColor:"{surface.100}",hoverBorderColor:"{surface.200}",activeBorderColor:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}",focusRing:{color:"{surface.600}",shadow:"none"}},info:{background:"{sky.500}",hoverBackground:"{sky.600}",activeBackground:"{sky.700}",borderColor:"{sky.500}",hoverBorderColor:"{sky.600}",activeBorderColor:"{sky.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{sky.500}",shadow:"none"}},success:{background:"{green.500}",hoverBackground:"{green.600}",activeBackground:"{green.700}",borderColor:"{green.500}",hoverBorderColor:"{green.600}",activeBorderColor:"{green.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{green.500}",shadow:"none"}},warn:{background:"{orange.500}",hoverBackground:"{orange.600}",activeBackground:"{orange.700}",borderColor:"{orange.500}",hoverBorderColor:"{orange.600}",activeBorderColor:"{orange.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{orange.500}",shadow:"none"}},help:{background:"{purple.500}",hoverBackground:"{purple.600}",activeBackground:"{purple.700}",borderColor:"{purple.500}",hoverBorderColor:"{purple.600}",activeBorderColor:"{purple.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{purple.500}",shadow:"none"}},danger:{background:"{red.500}",hoverBackground:"{red.600}",activeBackground:"{red.700}",borderColor:"{red.500}",hoverBorderColor:"{red.600}",activeBorderColor:"{red.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{red.500}",shadow:"none"}},contrast:{background:"{surface.950}",hoverBackground:"{surface.900}",activeBackground:"{surface.800}",borderColor:"{surface.950}",hoverBorderColor:"{surface.900}",activeBorderColor:"{surface.800}",color:"{surface.0}",hoverColor:"{surface.0}",activeColor:"{surface.0}",focusRing:{color:"{surface.950}",shadow:"none"}}},outlined:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",borderColor:"{primary.200}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",borderColor:"{green.200}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",borderColor:"{sky.200}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",borderColor:"{orange.200}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",borderColor:"{purple.200}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",borderColor:"{red.200}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.700}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.700}"}},text:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.700}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}},dark:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",borderColor:"{surface.800}",hoverBorderColor:"{surface.700}",activeBorderColor:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}",focusRing:{color:"{surface.300}",shadow:"none"}},info:{background:"{sky.400}",hoverBackground:"{sky.300}",activeBackground:"{sky.200}",borderColor:"{sky.400}",hoverBorderColor:"{sky.300}",activeBorderColor:"{sky.200}",color:"{sky.950}",hoverColor:"{sky.950}",activeColor:"{sky.950}",focusRing:{color:"{sky.400}",shadow:"none"}},success:{background:"{green.400}",hoverBackground:"{green.300}",activeBackground:"{green.200}",borderColor:"{green.400}",hoverBorderColor:"{green.300}",activeBorderColor:"{green.200}",color:"{green.950}",hoverColor:"{green.950}",activeColor:"{green.950}",focusRing:{color:"{green.400}",shadow:"none"}},warn:{background:"{orange.400}",hoverBackground:"{orange.300}",activeBackground:"{orange.200}",borderColor:"{orange.400}",hoverBorderColor:"{orange.300}",activeBorderColor:"{orange.200}",color:"{orange.950}",hoverColor:"{orange.950}",activeColor:"{orange.950}",focusRing:{color:"{orange.400}",shadow:"none"}},help:{background:"{purple.400}",hoverBackground:"{purple.300}",activeBackground:"{purple.200}",borderColor:"{purple.400}",hoverBorderColor:"{purple.300}",activeBorderColor:"{purple.200}",color:"{purple.950}",hoverColor:"{purple.950}",activeColor:"{purple.950}",focusRing:{color:"{purple.400}",shadow:"none"}},danger:{background:"{red.400}",hoverBackground:"{red.300}",activeBackground:"{red.200}",borderColor:"{red.400}",hoverBorderColor:"{red.300}",activeBorderColor:"{red.200}",color:"{red.950}",hoverColor:"{red.950}",activeColor:"{red.950}",focusRing:{color:"{red.400}",shadow:"none"}},contrast:{background:"{surface.0}",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{surface.0}",hoverBorderColor:"{surface.100}",activeBorderColor:"{surface.200}",color:"{surface.950}",hoverColor:"{surface.950}",activeColor:"{surface.950}",focusRing:{color:"{surface.0}",shadow:"none"}}},outlined:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",borderColor:"{primary.700}",color:"{primary.color}"},secondary:{hoverBackground:"rgba(255,255,255,0.04)",activeBackground:"rgba(255,255,255,0.16)",borderColor:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",borderColor:"{green.700}",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",borderColor:"{sky.700}",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",borderColor:"{orange.700}",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",borderColor:"{purple.700}",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",borderColor:"{red.700}",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.500}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.600}",color:"{surface.0}"}},text:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",color:"{primary.color}"},secondary:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}}}};var $i={root:{background:"{content.background}",borderRadius:"{border.radius.xl}",color:"{content.color}",shadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},body:{padding:"1.25rem",gap:"0.5rem"},caption:{gap:"0.5rem"},title:{fontSize:"1.25rem",fontWeight:"500"},subtitle:{color:"{text.muted.color}"}};var Yi={root:{transitionDuration:"{transition.duration}"},content:{gap:"0.25rem"},indicatorList:{padding:"1rem",gap:"0.5rem"},indicator:{width:"2rem",height:"0.5rem",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},colorScheme:{light:{indicator:{background:"{surface.200}",hoverBackground:"{surface.300}",activeBackground:"{primary.color}"}},dark:{indicator:{background:"{surface.700}",hoverBackground:"{surface.600}",activeBackground:"{primary.color}"}}}};var Gi={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},dropdown:{width:"2.5rem",color:"{form.field.icon.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},list:{padding:"{list.padding}",gap:"{list.gap}",mobileIndent:"1rem"},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",icon:{color:"{list.option.icon.color}",focusColor:"{list.option.icon.focus.color}",size:"0.875rem"}},clearIcon:{color:"{form.field.icon.color}"}};var Xi={root:{borderRadius:"{border.radius.sm}",width:"1.25rem",height:"1.25rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1rem",height:"1rem"},lg:{width:"1.5rem",height:"1.5rem"}},icon:{size:"0.875rem",color:"{form.field.color}",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.75rem"},lg:{size:"1rem"}}};var Zi={root:{borderRadius:"16px",paddingX:"0.75rem",paddingY:"0.5rem",gap:"0.5rem",transitionDuration:"{transition.duration}"},image:{width:"2rem",height:"2rem"},icon:{size:"1rem"},removeIcon:{size:"1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"}},colorScheme:{light:{root:{background:"{surface.100}",color:"{surface.800}"},icon:{color:"{surface.800}"},removeIcon:{color:"{surface.800}"}},dark:{root:{background:"{surface.800}",color:"{surface.0}"},icon:{color:"{surface.0}"},removeIcon:{color:"{surface.0}"}}}};var Ji={root:{transitionDuration:"{transition.duration}"},preview:{width:"1.5rem",height:"1.5rem",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},panel:{shadow:"{overlay.popover.shadow}",borderRadius:"{overlay.popover.borderRadius}"},colorScheme:{light:{panel:{background:"{surface.800}",borderColor:"{surface.900}"},handle:{color:"{surface.0}"}},dark:{panel:{background:"{surface.900}",borderColor:"{surface.700}"},handle:{color:"{surface.0}"}}}};var ea={icon:{size:"2rem",color:"{overlay.modal.color}"},content:{gap:"1rem"}};var oa={root:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},content:{padding:"{overlay.popover.padding}",gap:"1rem"},icon:{size:"1.5rem",color:"{overlay.popover.color}"},footer:{gap:"0.5rem",padding:"0 {overlay.popover.padding} {overlay.popover.padding} {overlay.popover.padding}"}};var ra={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},list:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},item:{focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},submenu:{mobileIndent:"1rem"},submenuIcon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},separator:{borderColor:"{content.border.color}"}};var ta={root:{transitionDuration:"{transition.duration}"},header:{background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},headerCell:{background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{datatable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},columnTitle:{fontWeight:"600"},row:{background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},bodyCell:{borderColor:"{datatable.border.color}",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},footerCell:{background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},columnFooter:{fontWeight:"600"},footer:{background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},dropPoint:{color:"{primary.color}"},columnResizer:{width:"0.5rem"},resizeIndicator:{width:"1px",color:"{primary.color}"},sortIcon:{color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},loadingIcon:{size:"2rem"},rowToggleButton:{hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},filter:{inlineGap:"0.5rem",overlaySelect:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},overlayPopover:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}",gap:"0.5rem"},rule:{borderColor:"{content.border.color}"},constraintList:{padding:"{list.padding}",gap:"{list.gap}"},constraint:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",separator:{borderColor:"{content.border.color}"},padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"}},paginatorTop:{borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},paginatorBottom:{borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},colorScheme:{light:{root:{borderColor:"{content.border.color}"},row:{stripedBackground:"{surface.50}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},row:{stripedBackground:"{surface.950}"},bodyCell:{selectedBorderColor:"{primary.900}"}}}};var na={root:{borderColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0"},header:{background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",borderRadius:"0"},content:{background:"{content.background}",color:"{content.color}",borderColor:"transparent",borderWidth:"0",padding:"0",borderRadius:"0"},footer:{background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"1px 0 0 0",padding:"0.75rem 1rem",borderRadius:"0"},paginatorTop:{borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},paginatorBottom:{borderColor:"{content.border.color}",borderWidth:"1px 0 0 0"}};var ia={root:{transitionDuration:"{transition.duration}"},panel:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}"},header:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",padding:"0 0 0.5rem 0"},title:{gap:"0.5rem",fontWeight:"500"},dropdown:{width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},inputIcon:{color:"{form.field.icon.color}"},selectMonth:{hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},selectYear:{hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},group:{borderColor:"{content.border.color}",gap:"{overlay.popover.padding}"},dayView:{margin:"0.5rem 0 0 0"},weekDay:{padding:"0.25rem",fontWeight:"500",color:"{content.color}"},date:{hoverBackground:"{content.hover.background}",selectedBackground:"{primary.color}",rangeSelectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{primary.contrast.color}",rangeSelectedColor:"{highlight.color}",width:"2rem",height:"2rem",borderRadius:"50%",padding:"0.25rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},monthView:{margin:"0.5rem 0 0 0"},month:{padding:"0.375rem",borderRadius:"{content.border.radius}"},yearView:{margin:"0.5rem 0 0 0"},year:{padding:"0.375rem",borderRadius:"{content.border.radius}"},buttonbar:{padding:"0.5rem 0 0 0",borderColor:"{content.border.color}"},timePicker:{padding:"0.5rem 0 0 0",borderColor:"{content.border.color}",gap:"0.5rem",buttonGap:"0.25rem"},colorScheme:{light:{dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"},today:{background:"{surface.200}",color:"{surface.900}"}},dark:{dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"},today:{background:"{surface.700}",color:"{surface.0}"}}}};var aa={root:{background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",borderRadius:"{overlay.modal.border.radius}",shadow:"{overlay.modal.shadow}"},header:{padding:"{overlay.modal.padding}",gap:"0.5rem"},title:{fontSize:"1.25rem",fontWeight:"600"},content:{padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},footer:{padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}",gap:"0.5rem"}};var sa={root:{borderColor:"{content.border.color}"},content:{background:"{content.background}",color:"{text.color}"},horizontal:{margin:"1rem 0",padding:"0 1rem",content:{padding:"0 0.5rem"}},vertical:{margin:"0 1rem",padding:"0.5rem 0",content:{padding:"0.5rem 0"}}};var la={root:{background:"rgba(255, 255, 255, 0.1)",borderColor:"rgba(255, 255, 255, 0.2)",padding:"0.5rem",borderRadius:"{border.radius.xl}"},item:{borderRadius:"{content.border.radius}",padding:"0.5rem",size:"3rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}};var ca={root:{background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",shadow:"{overlay.modal.shadow}"},header:{padding:"{overlay.modal.padding}"},title:{fontSize:"1.5rem",fontWeight:"600"},content:{padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},footer:{padding:"{overlay.modal.padding}"}};var da={toolbar:{background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}"},toolbarItem:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}",padding:"{list.padding}"},overlayOption:{focusBackground:"{list.option.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},content:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"}};var ua={root:{background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",padding:"0 1.125rem 1.125rem 1.125rem",transitionDuration:"{transition.duration}"},legend:{background:"{content.background}",hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",borderRadius:"{content.border.radius}",borderWidth:"1px",borderColor:"transparent",padding:"0.5rem 0.75rem",gap:"0.5rem",fontWeight:"600",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},toggleIcon:{color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}"},content:{padding:"0"}};var fa={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},header:{background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"unset",borderWidth:"0",borderRadius:"0",gap:"0.5rem"},content:{highlightBorderColor:"{primary.color}",padding:"0 1.125rem 1.125rem 1.125rem",gap:"1rem"},file:{padding:"1rem",gap:"1rem",borderColor:"{content.border.color}",info:{gap:"0.5rem"}},fileList:{gap:"0.5rem"},progressbar:{height:"0.25rem"},basic:{gap:"0.5rem"}};var ga={root:{color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",activeColor:"{form.field.float.label.active.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",positionY:"{form.field.padding.y}",fontWeight:"500",active:{fontSize:"0.75rem",fontWeight:"400"}},over:{active:{top:"-1.25rem"}},in:{input:{paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},active:{top:"{form.field.padding.y}"}},on:{borderRadius:"{border.radius.xs}",active:{background:"{form.field.background}",padding:"0 0.125rem"}}};var pa={root:{borderWidth:"1px",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},navButton:{background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.100}",hoverColor:"{surface.0}",size:"3rem",gutter:"0.5rem",prev:{borderRadius:"50%"},next:{borderRadius:"50%"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},navIcon:{size:"1.5rem"},thumbnailsContent:{background:"{content.background}",padding:"1rem 0.25rem"},thumbnailNavButton:{size:"2rem",borderRadius:"{content.border.radius}",gutter:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},thumbnailNavButtonIcon:{size:"1rem"},caption:{background:"rgba(0, 0, 0, 0.5)",color:"{surface.100}",padding:"1rem"},indicatorList:{gap:"0.5rem",padding:"1rem"},indicatorButton:{width:"1rem",height:"1rem",activeBackground:"{primary.color}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},insetIndicatorList:{background:"rgba(0, 0, 0, 0.5)"},insetIndicatorButton:{background:"rgba(255, 255, 255, 0.4)",hoverBackground:"rgba(255, 255, 255, 0.6)",activeBackground:"rgba(255, 255, 255, 0.9)"},closeButton:{size:"3rem",gutter:"0.5rem",background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.50}",hoverColor:"{surface.0}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},closeButtonIcon:{size:"1.5rem"},colorScheme:{light:{thumbnailNavButton:{hoverBackground:"{surface.100}",color:"{surface.600}",hoverColor:"{surface.700}"},indicatorButton:{background:"{surface.200}",hoverBackground:"{surface.300}"}},dark:{thumbnailNavButton:{hoverBackground:"{surface.700}",color:"{surface.400}",hoverColor:"{surface.0}"},indicatorButton:{background:"{surface.700}",hoverBackground:"{surface.600}"}}}};var ma={icon:{color:"{form.field.icon.color}"}};var ha={root:{color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",top:"{form.field.padding.y}",fontSize:"0.75rem",fontWeight:"400"},input:{paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"}};var ba={root:{transitionDuration:"{transition.duration}"},preview:{icon:{size:"1.5rem"},mask:{background:"{mask.background}",color:"{mask.color}"}},toolbar:{position:{left:"auto",right:"1rem",top:"1rem",bottom:"auto"},blur:"8px",background:"rgba(255,255,255,0.1)",borderColor:"rgba(255,255,255,0.2)",borderWidth:"1px",borderRadius:"30px",padding:".5rem",gap:"0.5rem"},action:{hoverBackground:"rgba(255,255,255,0.1)",color:"{surface.50}",hoverColor:"{surface.0}",size:"3rem",iconSize:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}};var ya={handle:{size:"15px",hoverSize:"30px",background:"rgba(255,255,255,0.3)",hoverBackground:"rgba(255,255,255,0.3)",borderColor:"unset",hoverBorderColor:"unset",borderWidth:"0",borderRadius:"50%",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"rgba(255,255,255,0.3)",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}};var va={root:{padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",gap:"0.5rem"},text:{fontWeight:"500"},icon:{size:"1rem"},colorScheme:{light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}}}};var ka={root:{padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{transition.duration}"},display:{hoverBackground:"{content.hover.background}",hoverColor:"{content.hover.color}"}};var wa={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},chip:{borderRadius:"{border.radius.sm}"},colorScheme:{light:{chip:{focusBackground:"{surface.200}",color:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",color:"{surface.0}"}}}};var Ca={addon:{background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.icon.color}",borderRadius:"{form.field.border.radius}",padding:"0.5rem",minWidth:"2.5rem"}};var _a={root:{transitionDuration:"{transition.duration}"},button:{width:"2.5rem",borderRadius:"{form.field.border.radius}",verticalPadding:"{form.field.padding.y}"},colorScheme:{light:{button:{background:"transparent",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.500}",activeColor:"{surface.600}"}},dark:{button:{background:"transparent",hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.300}",activeColor:"{surface.200}"}}}};var xa={root:{gap:"0.5rem"},input:{width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"}}};var Sa={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}}};var Ta={root:{transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},value:{background:"{primary.color}"},range:{background:"{content.border.color}"},text:{color:"{text.muted.color}"}};var Ea={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",borderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",shadow:"{form.field.shadow}",borderRadius:"{form.field.border.radius}",transitionDuration:"{form.field.transition.duration}"},list:{padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},optionGroup:{background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},checkmark:{color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},emptyMessage:{padding:"{list.option.padding}"},colorScheme:{light:{option:{stripedBackground:"{surface.50}"}},dark:{option:{stripedBackground:"{surface.900}"}}}};var Ma={root:{background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",verticalOrientation:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},horizontalOrientation:{padding:"0.5rem 0.75rem",gap:"0.5rem"},transitionDuration:"{transition.duration}"},baseItem:{borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},item:{focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},overlay:{padding:"0",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",shadow:"{overlay.navigation.shadow}",gap:"0.5rem"},submenu:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},submenuLabel:{padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background.}",color:"{navigation.submenu.label.color}"},submenuIcon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},separator:{borderColor:"{content.border.color}"},mobileButton:{borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}};var Aa={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},list:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},item:{focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},submenuLabel:{padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background}",color:"{navigation.submenu.label.color}"},separator:{borderColor:"{content.border.color}"}};var Pa={root:{background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.5rem 0.75rem",transitionDuration:"{transition.duration}"},baseItem:{borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},item:{focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},submenu:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",mobileIndent:"1rem",icon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"}},separator:{borderColor:"{content.border.color}"},mobileButton:{borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}};var Ba={root:{borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},content:{padding:"0.5rem 0.75rem",gap:"0.5rem",sm:{padding:"0.375rem 0.625rem"},lg:{padding:"0.625rem 0.875rem"}},text:{fontSize:"1rem",fontWeight:"500",sm:{fontSize:"0.875rem"},lg:{fontSize:"1.125rem"}},icon:{size:"1.125rem",sm:{size:"1rem"},lg:{size:"1.25rem"}},closeButton:{width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},closeIcon:{size:"1rem",sm:{size:"0.875rem"},lg:{size:"1.125rem"}},outlined:{root:{borderWidth:"1px"}},simple:{content:{padding:"0"}},colorScheme:{light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}},outlined:{color:"{blue.600}",borderColor:"{blue.600}"},simple:{color:"{blue.600}"}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}},outlined:{color:"{green.600}",borderColor:"{green.600}"},simple:{color:"{green.600}"}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}},outlined:{color:"{yellow.600}",borderColor:"{yellow.600}"},simple:{color:"{yellow.600}"}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}},outlined:{color:"{red.600}",borderColor:"{red.600}"},simple:{color:"{red.600}"}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}},outlined:{color:"{surface.500}",borderColor:"{surface.500}"},simple:{color:"{surface.500}"}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}},outlined:{color:"{surface.950}",borderColor:"{surface.950}"},simple:{color:"{surface.950}"}}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}},outlined:{color:"{blue.500}",borderColor:"{blue.500}"},simple:{color:"{blue.500}"}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}},outlined:{color:"{green.500}",borderColor:"{green.500}"},simple:{color:"{green.500}"}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}},outlined:{color:"{yellow.500}",borderColor:"{yellow.500}"},simple:{color:"{yellow.500}"}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}},outlined:{color:"{red.500}",borderColor:"{red.500}"},simple:{color:"{red.500}"}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}},outlined:{color:"{surface.400}",borderColor:"{surface.400}"},simple:{color:"{surface.400}"}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}},outlined:{color:"{surface.0}",borderColor:"{surface.0}"},simple:{color:"{surface.0}"}}}}};var Ra={root:{borderRadius:"{content.border.radius}",gap:"1rem"},meters:{background:"{content.border.color}",size:"0.5rem"},label:{gap:"0.5rem"},labelMarker:{size:"0.5rem"},labelIcon:{size:"1rem"},labelList:{verticalGap:"0.5rem",horizontalGap:"1rem"}};var Ia={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},dropdown:{width:"2.5rem",color:"{form.field.icon.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},list:{padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",gap:"0.5rem"},optionGroup:{background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},clearIcon:{color:"{form.field.icon.color}"},chip:{borderRadius:"{border.radius.sm}"},emptyMessage:{padding:"{list.option.padding}"}};var Na={root:{gap:"1.125rem"},controls:{gap:"0.5rem"}};var Da={root:{gutter:"0.75rem",transitionDuration:"{transition.duration}"},node:{background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{content.border.color}",color:"{content.color}",selectedColor:"{highlight.color}",hoverColor:"{content.hover.color}",padding:"0.75rem 1rem",toggleablePadding:"0.75rem 1rem 1.25rem 1rem",borderRadius:"{content.border.radius}"},nodeToggleButton:{background:"{content.background}",hoverBackground:"{content.hover.background}",borderColor:"{content.border.color}",color:"{text.muted.color}",hoverColor:"{text.color}",size:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},connector:{color:"{content.border.color}",borderRadius:"{content.border.radius}",height:"24px"}};var Oa={root:{outline:{width:"2px",color:"{content.background}"}}};var La={root:{padding:"0.5rem 1rem",gap:"0.25rem",borderRadius:"{content.border.radius}",background:"{content.background}",color:"{content.color}",transitionDuration:"{transition.duration}"},navButton:{background:"transparent",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}",width:"2.5rem",height:"2.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},currentPageReport:{color:"{text.muted.color}"},jumpToPageInput:{maxWidth:"2.5rem"}};var za={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},header:{background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"{content.border.color}",borderWidth:"0",borderRadius:"0"},toggleableHeader:{padding:"0.375rem 1.125rem"},title:{fontWeight:"600"},content:{padding:"0 1.125rem 1.125rem 1.125rem"},footer:{padding:"0 1.125rem 1.125rem 1.125rem"}};var Fa={root:{gap:"0.5rem",transitionDuration:"{transition.duration}"},panel:{background:"{content.background}",borderColor:"{content.border.color}",borderWidth:"1px",color:"{content.color}",padding:"0.25rem 0.25rem",borderRadius:"{content.border.radius}",first:{borderWidth:"1px",topBorderRadius:"{content.border.radius}"},last:{borderWidth:"1px",bottomBorderRadius:"{content.border.radius}"}},item:{focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",gap:"0.5rem",padding:"{navigation.item.padding}",borderRadius:"{content.border.radius}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},submenu:{indent:"1rem"},submenuIcon:{color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}"}};var ja={meter:{background:"{content.border.color}",borderRadius:"{content.border.radius}",height:".75rem"},icon:{color:"{form.field.icon.color}"},overlay:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",padding:"{overlay.popover.padding}",shadow:"{overlay.popover.shadow}"},content:{gap:"0.5rem"},colorScheme:{light:{strength:{weakBackground:"{red.500}",mediumBackground:"{amber.500}",strongBackground:"{green.500}"}},dark:{strength:{weakBackground:"{red.400}",mediumBackground:"{amber.400}",strongBackground:"{green.400}"}}}};var Wa={root:{gap:"1.125rem"},controls:{gap:"0.5rem"}};var Ua={root:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},content:{padding:"{overlay.popover.padding}"}};var qa={root:{background:"{content.border.color}",borderRadius:"{content.border.radius}",height:"1.25rem"},value:{background:"{primary.color}"},label:{color:"{primary.contrast.color}",fontSize:"0.75rem",fontWeight:"600"}};var Ha={colorScheme:{light:{root:{colorOne:"{red.500}",colorTwo:"{blue.500}",colorThree:"{green.500}",colorFour:"{yellow.500}"}},dark:{root:{colorOne:"{red.400}",colorTwo:"{blue.400}",colorThree:"{green.400}",colorFour:"{yellow.400}"}}}};var Ka={root:{width:"1.25rem",height:"1.25rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1rem",height:"1rem"},lg:{width:"1.5rem",height:"1.5rem"}},icon:{size:"0.75rem",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.5rem"},lg:{size:"1rem"}}};var Va={root:{gap:"0.25rem",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},icon:{size:"1rem",color:"{text.muted.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}};var Qa={colorScheme:{light:{root:{background:"rgba(0,0,0,0.1)"}},dark:{root:{background:"rgba(255,255,255,0.3)"}}}};var $a={root:{transitionDuration:"{transition.duration}"},bar:{size:"9px",borderRadius:"{border.radius.sm}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},colorScheme:{light:{bar:{background:"{surface.100}"}},dark:{bar:{background:"{surface.800}"}}}};var Ya={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},dropdown:{width:"2.5rem",color:"{form.field.icon.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},list:{padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},optionGroup:{background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},clearIcon:{color:"{form.field.icon.color}"},checkmark:{color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},emptyMessage:{padding:"{list.option.padding}"}};var Ga={root:{borderRadius:"{form.field.border.radius}"},colorScheme:{light:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}},dark:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}}}};var Xa={root:{borderRadius:"{content.border.radius}"},colorScheme:{light:{root:{background:"{surface.200}",animationBackground:"rgba(255,255,255,0.4)"}},dark:{root:{background:"rgba(255, 255, 255, 0.06)",animationBackground:"rgba(255, 255, 255, 0.04)"}}}};var Za={root:{transitionDuration:"{transition.duration}"},track:{background:"{content.border.color}",borderRadius:"{content.border.radius}",size:"3px"},range:{background:"{primary.color}"},handle:{width:"20px",height:"20px",borderRadius:"50%",background:"{content.border.color}",hoverBackground:"{content.border.color}",content:{borderRadius:"50%",hoverBackground:"{content.background}",width:"16px",height:"16px",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.08), 0px 1px 1px 0px rgba(0, 0, 0, 0.14)"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},colorScheme:{light:{handle:{content:{background:"{surface.0}"}}},dark:{handle:{content:{background:"{surface.950}"}}}}};var Ja={root:{gap:"0.5rem",transitionDuration:"{transition.duration}"}};var es={root:{borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)"}};var os={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",transitionDuration:"{transition.duration}"},gutter:{background:"{content.border.color}"},handle:{size:"24px",background:"transparent",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}};var rs={root:{transitionDuration:"{transition.duration}"},separator:{background:"{content.border.color}",activeBackground:"{primary.color}",margin:"0 0 0 1.625rem",size:"2px"},step:{padding:"0.5rem",gap:"1rem"},stepHeader:{padding:"0",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},stepTitle:{color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},stepNumber:{background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"},steppanels:{padding:"0.875rem 0.5rem 1.125rem 0.5rem"},steppanel:{background:"{content.background}",color:"{content.color}",padding:"0",indent:"1rem"}};var ts={root:{transitionDuration:"{transition.duration}"},separator:{background:"{content.border.color}"},itemLink:{borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},itemLabel:{color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},itemNumber:{background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"}};var ns={root:{transitionDuration:"{transition.duration}"},tablist:{borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},item:{background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},itemIcon:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},activeBar:{height:"1px",bottom:"-1px",background:"{primary.color}"}};var is={root:{transitionDuration:"{transition.duration}"},tablist:{borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},tab:{background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},tabpanel:{background:"{content.background}",color:"{content.color}",padding:"0.875rem 1.125rem 1.125rem 1.125rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"inset {focus.ring.shadow}"}},navButton:{background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",width:"2.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},activeBar:{height:"1px",bottom:"-1px",background:"{primary.color}"},colorScheme:{light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}}};var as={root:{transitionDuration:"{transition.duration}"},tabList:{background:"{content.background}",borderColor:"{content.border.color}"},tab:{borderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},tabPanel:{background:"{content.background}",color:"{content.color}"},navButton:{background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}"},colorScheme:{light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}}};var ss={root:{fontSize:"0.875rem",fontWeight:"700",padding:"0.25rem 0.5rem",gap:"0.25rem",borderRadius:"{content.border.radius}",roundedBorderRadius:"{border.radius.xl}"},icon:{size:"0.75rem"},colorScheme:{light:{primary:{background:"{primary.100}",color:"{primary.700}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.100}",color:"{green.700}"},info:{background:"{sky.100}",color:"{sky.700}"},warn:{background:"{orange.100}",color:"{orange.700}"},danger:{background:"{red.100}",color:"{red.700}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"color-mix(in srgb, {primary.500}, transparent 84%)",color:"{primary.300}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",color:"{green.300}"},info:{background:"color-mix(in srgb, {sky.500}, transparent 84%)",color:"{sky.300}"},warn:{background:"color-mix(in srgb, {orange.500}, transparent 84%)",color:"{orange.300}"},danger:{background:"color-mix(in srgb, {red.500}, transparent 84%)",color:"{red.300}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}}};var ls={root:{background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.color}",height:"18rem",padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{form.field.border.radius}"},prompt:{gap:"0.25rem"},commandResponse:{margin:"2px 0"}};var cs={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}}};var ds={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},list:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},item:{focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},submenu:{mobileIndent:"1rem"},submenuIcon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},separator:{borderColor:"{content.border.color}"}};var us={event:{minHeight:"5rem"},horizontal:{eventContent:{padding:"1rem 0"}},vertical:{eventContent:{padding:"0 1rem"}},eventMarker:{size:"1.125rem",borderRadius:"50%",borderWidth:"2px",background:"{content.background}",borderColor:"{content.border.color}",content:{borderRadius:"50%",size:"0.375rem",background:"{primary.color}",insetShadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"}},eventConnector:{color:"{content.border.color}",size:"2px"}};var fs={root:{width:"25rem",borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},icon:{size:"1.125rem"},content:{padding:"{overlay.popover.padding}",gap:"0.5rem"},text:{gap:"0.5rem"},summary:{fontWeight:"500",fontSize:"1rem"},detail:{fontWeight:"500",fontSize:"0.875rem"},closeButton:{width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},closeIcon:{size:"1rem"},colorScheme:{light:{root:{blur:"1.5px"},info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}}}},dark:{root:{blur:"10px"},info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",detailColor:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}}}}}};var gs={root:{padding:"0.25rem",borderRadius:"{content.border.radius}",gap:"0.5rem",fontWeight:"500",disabledBackground:"{form.field.disabled.background}",disabledBorderColor:"{form.field.disabled.background}",disabledColor:"{form.field.disabled.color}",invalidBorderColor:"{form.field.invalid.border.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",padding:"0.25rem"},lg:{fontSize:"{form.field.lg.font.size}",padding:"0.25rem"}},icon:{disabledColor:"{form.field.disabled.color}"},content:{padding:"0.25rem 0.75rem",borderRadius:"{content.border.radius}",checkedShadow:"0px 1px 2px 0px rgba(0, 0, 0, 0.02), 0px 1px 2px 0px rgba(0, 0, 0, 0.04)",sm:{padding:"0.25rem 0.75rem"},lg:{padding:"0.25rem 0.75rem"}},colorScheme:{light:{root:{background:"{surface.100}",checkedBackground:"{surface.100}",hoverBackground:"{surface.100}",borderColor:"{surface.100}",color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}",checkedBorderColor:"{surface.100}"},content:{checkedBackground:"{surface.0}"},icon:{color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}"}},dark:{root:{background:"{surface.950}",checkedBackground:"{surface.950}",hoverBackground:"{surface.950}",borderColor:"{surface.950}",color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}",checkedBorderColor:"{surface.950}"},content:{checkedBackground:"{surface.800}"},icon:{color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}"}}}};var ps={root:{width:"2.5rem",height:"1.5rem",borderRadius:"30px",gap:"0.25rem",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},borderWidth:"1px",borderColor:"transparent",hoverBorderColor:"transparent",checkedBorderColor:"transparent",checkedHoverBorderColor:"transparent",invalidBorderColor:"{form.field.invalid.border.color}",transitionDuration:"{form.field.transition.duration}",slideDuration:"0.2s"},handle:{borderRadius:"50%",size:"1rem"},colorScheme:{light:{root:{background:"{surface.300}",disabledBackground:"{form.field.disabled.background}",hoverBackground:"{surface.400}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.0}",disabledBackground:"{form.field.disabled.color}",hoverBackground:"{surface.0}",checkedBackground:"{surface.0}",checkedHoverBackground:"{surface.0}",color:"{text.muted.color}",hoverColor:"{text.color}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}},dark:{root:{background:"{surface.700}",disabledBackground:"{surface.600}",hoverBackground:"{surface.600}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.400}",disabledBackground:"{surface.900}",hoverBackground:"{surface.300}",checkedBackground:"{surface.900}",checkedHoverBackground:"{surface.900}",color:"{surface.900}",hoverColor:"{surface.800}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}}}};var ms={root:{background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.75rem"}};var hs={root:{maxWidth:"12.5rem",gutter:"0.25rem",shadow:"{overlay.popover.shadow}",padding:"0.5rem 0.75rem",borderRadius:"{overlay.popover.border.radius}"},colorScheme:{light:{root:{background:"{surface.700}",color:"{surface.0}"}},dark:{root:{background:"{surface.700}",color:"{surface.0}"}}}};var bs={root:{background:"{content.background}",color:"{content.color}",padding:"1rem",gap:"2px",indent:"1rem",transitionDuration:"{transition.duration}"},node:{padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.color}",hoverColor:"{text.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},gap:"0.25rem"},nodeIcon:{color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}"},nodeToggleButton:{borderRadius:"50%",size:"1.75rem",hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedHoverColor:"{primary.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},loadingIcon:{size:"2rem"},filter:{margin:"0 0 0.5rem 0"}};var ys={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},dropdown:{width:"2.5rem",color:"{form.field.icon.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},tree:{padding:"{list.padding}"},clearIcon:{color:"{form.field.icon.color}"},emptyMessage:{padding:"{list.option.padding}"},chip:{borderRadius:"{border.radius.sm}"}};var vs={root:{transitionDuration:"{transition.duration}"},header:{background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},headerCell:{background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{treetable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},columnTitle:{fontWeight:"600"},row:{background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},bodyCell:{borderColor:"{treetable.border.color}",padding:"0.75rem 1rem",gap:"0.5rem"},footerCell:{background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",padding:"0.75rem 1rem"},columnFooter:{fontWeight:"600"},footer:{background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},columnResizer:{width:"0.5rem"},resizeIndicator:{width:"1px",color:"{primary.color}"},sortIcon:{color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},loadingIcon:{size:"2rem"},nodeToggleButton:{hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},paginatorTop:{borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},paginatorBottom:{borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},colorScheme:{light:{root:{borderColor:"{content.border.color}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},bodyCell:{selectedBorderColor:"{primary.900}"}}}};var ks={loader:{mask:{background:"{content.background}",color:"{text.muted.color}"},icon:{size:"2rem"}}};var ws=st(Re({},Hi),{components:{accordion:ji,autocomplete:Wi,avatar:Ui,badge:qi,blockui:Ki,breadcrumb:Vi,button:Qi,datepicker:ia,card:$i,carousel:Yi,cascadeselect:Gi,checkbox:Xi,chip:Zi,colorpicker:Ji,confirmdialog:ea,confirmpopup:oa,contextmenu:ra,dataview:na,datatable:ta,dialog:aa,divider:sa,dock:la,drawer:ca,editor:da,fieldset:ua,fileupload:fa,iftalabel:ha,floatlabel:ga,galleria:pa,iconfield:ma,image:ba,imagecompare:ya,inlinemessage:va,inplace:ka,inputchips:wa,inputgroup:Ca,inputnumber:_a,inputotp:xa,inputtext:Sa,knob:Ta,listbox:Ea,megamenu:Ma,menu:Aa,menubar:Pa,message:Ba,metergroup:Ra,multiselect:Ia,orderlist:Na,organizationchart:Da,overlaybadge:Oa,popover:Ua,paginator:La,password:ja,panel:za,panelmenu:Fa,picklist:Wa,progressbar:qa,progressspinner:Ha,radiobutton:Ka,rating:Va,scrollpanel:$a,select:Ya,selectbutton:Ga,skeleton:Xa,slider:Za,speeddial:Ja,splitter:os,splitbutton:es,stepper:rs,steps:ts,tabmenu:ns,tabs:is,tabview:as,textarea:cs,tieredmenu:ds,tag:ss,terminal:ls,timeline:us,togglebutton:gs,toggleswitch:ps,tree:bs,treeselect:ys,treetable:vs,toast:fs,toolbar:ms,virtualscroller:ks,tooltip:hs,ripple:Qa}});var Cs=pn(ws,{semantic:{primary:{50:"#f3f8ff",100:"#c5dcff",200:"#97c1fe",300:"#69a5fe",400:"#3b8afd",500:"#0d6efd",600:"#0b5ed7",700:"#094db1",800:"#073d8b",900:"#052c65",950:"#031c3f"}}});var Dc=zi,Zo=class t{static \u0275fac=function(o){return new(o||t)};static \u0275mod=se({type:t,bootstrap:[Xo]});static \u0275inj=ne({providers:[Rt,Bt,Ft(jt([Fi,vn])),mn({theme:{preset:Cs,options:{darkModeSelector:!1}}})],imports:[mo,Go,bi,yn.forRoot(Dc),Ri.initializeApp(K.firebaseConfig),Ni,ko,Gt.forRoot({toastComponent:Li,positionClass:"toast-bottom-right",closeButton:!0}),bn]})};K.production&&void 0;Lt().bootstrapModule(Zo);