@igamingcareer/igaming-components 1.0.60 → 1.0.61

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 (3) hide show
  1. package/dist/index.js +21 -21
  2. package/dist/index.mjs +665 -680
  3. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -18,16 +18,16 @@
18
18
  `+B+S}}var J=!1,ne;{var pe=typeof WeakMap=="function"?WeakMap:Map;ne=new pe}function se(S,T){if(!S||J)return"";{var G=ne.get(S);if(G!==void 0)return G}var K;J=!0;var fe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var xe;xe=he.current,he.current=null,ge();try{if(T){var ie=function(){throw Error()};if(Object.defineProperty(ie.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ie,[])}catch(mt){K=mt}Reflect.construct(S,[],ie)}else{try{ie.call()}catch(mt){K=mt}S.call(ie.prototype)}}else{try{throw Error()}catch(mt){K=mt}S()}}catch(mt){if(mt&&K&&typeof mt.stack=="string"){for(var ce=mt.stack.split(`
19
19
  `),Xe=K.stack.split(`
20
20
  `),$e=ce.length-1,Je=Xe.length-1;$e>=1&&Je>=0&&ce[$e]!==Xe[Je];)Je--;for(;$e>=1&&Je>=0;$e--,Je--)if(ce[$e]!==Xe[Je]){if($e!==1||Je!==1)do if($e--,Je--,Je<0||ce[$e]!==Xe[Je]){var zt=`
21
- `+ce[$e].replace(" at new "," at ");return S.displayName&&zt.includes("<anonymous>")&&(zt=zt.replace("<anonymous>",S.displayName)),typeof S=="function"&&ne.set(S,zt),zt}while($e>=1&&Je>=0);break}}}finally{J=!1,he.current=xe,ae(),Error.prepareStackTrace=fe}var ls=S?S.displayName||S.name:"",dr=ls?X(ls):"";return typeof S=="function"&&ne.set(S,dr),dr}function Te(S,T,G){return se(S,!1)}function Se(S){var T=S.prototype;return!!(T&&T.isReactComponent)}function We(S,T,G){if(S==null)return"";if(typeof S=="function")return se(S,Se(S));if(typeof S=="string")return X(S);switch(S){case h:return X("Suspense");case u:return X("SuspenseList")}if(typeof S=="object")switch(S.$$typeof){case d:return Te(S.render);case p:return We(S.type,T,G);case y:{var K=S,fe=K._payload,xe=K._init;try{return We(xe(fe),T,G)}catch{}}}return""}var rt=Object.prototype.hasOwnProperty,st={},Tt=v.ReactDebugCurrentFrame;function ze(S){if(S){var T=S._owner,G=We(S.type,S._source,T?T.type:null);Tt.setExtraStackFrame(G)}else Tt.setExtraStackFrame(null)}function Ze(S,T,G,K,fe){{var xe=Function.call.bind(rt);for(var ie in S)if(xe(S,ie)){var ce=void 0;try{if(typeof S[ie]!="function"){var Xe=Error((K||"React class")+": "+G+" type `"+ie+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof S[ie]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Xe.name="Invariant Violation",Xe}ce=S[ie](T,ie,K,G,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch($e){ce=$e}ce&&!(ce instanceof Error)&&(ze(fe),w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",K||"React class",G,ie,typeof ce),ze(null)),ce instanceof Error&&!(ce.message in st)&&(st[ce.message]=!0,ze(fe),w("Failed %s type: %s",G,ce.message),ze(null))}}}var Mt=Array.isArray;function qt(S){return Mt(S)}function qe(S){{var T=typeof Symbol=="function"&&Symbol.toStringTag,G=T&&S[Symbol.toStringTag]||S.constructor.name||"Object";return G}}function Dt(S){try{return pt(S),!1}catch{return!0}}function pt(S){return""+S}function ra(S){if(Dt(S))return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",qe(S)),pt(S)}var D=v.ReactCurrentOwner,F={key:!0,ref:!0,__self:!0,__source:!0},re,be,Ae;Ae={};function Qe(S){if(rt.call(S,"ref")){var T=Object.getOwnPropertyDescriptor(S,"ref").get;if(T&&T.isReactWarning)return!1}return S.ref!==void 0}function Oe(S){if(rt.call(S,"key")){var T=Object.getOwnPropertyDescriptor(S,"key").get;if(T&&T.isReactWarning)return!1}return S.key!==void 0}function Wt(S,T){if(typeof S.ref=="string"&&D.current&&T&&D.current.stateNode!==T){var G=R(D.current.type);Ae[G]||(w('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',R(D.current.type),S.ref),Ae[G]=!0)}}function os(S,T){{var G=function(){re||(re=!0,w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",T))};G.isReactWarning=!0,Object.defineProperty(S,"key",{get:G,configurable:!0})}}function is(S,T){{var G=function(){be||(be=!0,w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",T))};G.isReactWarning=!0,Object.defineProperty(S,"ref",{get:G,configurable:!0})}}var tc=function(S,T,G,K,fe,xe,ie){var ce={$$typeof:e,type:S,key:T,ref:G,props:ie,_owner:xe};return ce._store={},Object.defineProperty(ce._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ce,"_self",{configurable:!1,enumerable:!1,writable:!1,value:K}),Object.defineProperty(ce,"_source",{configurable:!1,enumerable:!1,writable:!1,value:fe}),Object.freeze&&(Object.freeze(ce.props),Object.freeze(ce)),ce};function ss(S,T,G,K,fe){{var xe,ie={},ce=null,Xe=null;G!==void 0&&(ra(G),ce=""+G),Oe(T)&&(ra(T.key),ce=""+T.key),Qe(T)&&(Xe=T.ref,Wt(T,fe));for(xe in T)rt.call(T,xe)&&!F.hasOwnProperty(xe)&&(ie[xe]=T[xe]);if(S&&S.defaultProps){var $e=S.defaultProps;for(xe in $e)ie[xe]===void 0&&(ie[xe]=$e[xe])}if(ce||Xe){var Je=typeof S=="function"?S.displayName||S.name||"Unknown":S;ce&&os(ie,Je),Xe&&is(ie,Je)}return tc(S,ce,Xe,fe,K,D.current,ie)}}var Ea=v.ReactCurrentOwner,cs=v.ReactDebugCurrentFrame;function na(S){if(S){var T=S._owner,G=We(S.type,S._source,T?T.type:null);cs.setExtraStackFrame(G)}else cs.setExtraStackFrame(null)}var oa;oa=!1;function wa(S){return typeof S=="object"&&S!==null&&S.$$typeof===e}function H(){{if(Ea.current){var S=R(Ea.current.type);if(S)return`
21
+ `+ce[$e].replace(" at new "," at ");return S.displayName&&zt.includes("<anonymous>")&&(zt=zt.replace("<anonymous>",S.displayName)),typeof S=="function"&&ne.set(S,zt),zt}while($e>=1&&Je>=0);break}}}finally{J=!1,he.current=xe,ae(),Error.prepareStackTrace=fe}var ls=S?S.displayName||S.name:"",dr=ls?X(ls):"";return typeof S=="function"&&ne.set(S,dr),dr}function Te(S,T,G){return se(S,!1)}function Se(S){var T=S.prototype;return!!(T&&T.isReactComponent)}function We(S,T,G){if(S==null)return"";if(typeof S=="function")return se(S,Se(S));if(typeof S=="string")return X(S);switch(S){case h:return X("Suspense");case u:return X("SuspenseList")}if(typeof S=="object")switch(S.$$typeof){case d:return Te(S.render);case p:return We(S.type,T,G);case y:{var K=S,fe=K._payload,xe=K._init;try{return We(xe(fe),T,G)}catch{}}}return""}var rt=Object.prototype.hasOwnProperty,st={},Tt=v.ReactDebugCurrentFrame;function ze(S){if(S){var T=S._owner,G=We(S.type,S._source,T?T.type:null);Tt.setExtraStackFrame(G)}else Tt.setExtraStackFrame(null)}function Ze(S,T,G,K,fe){{var xe=Function.call.bind(rt);for(var ie in S)if(xe(S,ie)){var ce=void 0;try{if(typeof S[ie]!="function"){var Xe=Error((K||"React class")+": "+G+" type `"+ie+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof S[ie]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Xe.name="Invariant Violation",Xe}ce=S[ie](T,ie,K,G,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch($e){ce=$e}ce&&!(ce instanceof Error)&&(ze(fe),w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",K||"React class",G,ie,typeof ce),ze(null)),ce instanceof Error&&!(ce.message in st)&&(st[ce.message]=!0,ze(fe),w("Failed %s type: %s",G,ce.message),ze(null))}}}var Mt=Array.isArray;function qt(S){return Mt(S)}function qe(S){{var T=typeof Symbol=="function"&&Symbol.toStringTag,G=T&&S[Symbol.toStringTag]||S.constructor.name||"Object";return G}}function Dt(S){try{return pt(S),!1}catch{return!0}}function pt(S){return""+S}function ra(S){if(Dt(S))return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",qe(S)),pt(S)}var D=v.ReactCurrentOwner,F={key:!0,ref:!0,__self:!0,__source:!0},re,be,Ae;Ae={};function Qe(S){if(rt.call(S,"ref")){var T=Object.getOwnPropertyDescriptor(S,"ref").get;if(T&&T.isReactWarning)return!1}return S.ref!==void 0}function Oe(S){if(rt.call(S,"key")){var T=Object.getOwnPropertyDescriptor(S,"key").get;if(T&&T.isReactWarning)return!1}return S.key!==void 0}function Wt(S,T){if(typeof S.ref=="string"&&D.current&&T&&D.current.stateNode!==T){var G=R(D.current.type);Ae[G]||(w('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',R(D.current.type),S.ref),Ae[G]=!0)}}function os(S,T){{var G=function(){re||(re=!0,w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",T))};G.isReactWarning=!0,Object.defineProperty(S,"key",{get:G,configurable:!0})}}function is(S,T){{var G=function(){be||(be=!0,w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",T))};G.isReactWarning=!0,Object.defineProperty(S,"ref",{get:G,configurable:!0})}}var tc=function(S,T,G,K,fe,xe,ie){var ce={$$typeof:e,type:S,key:T,ref:G,props:ie,_owner:xe};return ce._store={},Object.defineProperty(ce._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ce,"_self",{configurable:!1,enumerable:!1,writable:!1,value:K}),Object.defineProperty(ce,"_source",{configurable:!1,enumerable:!1,writable:!1,value:fe}),Object.freeze&&(Object.freeze(ce.props),Object.freeze(ce)),ce};function ss(S,T,G,K,fe){{var xe,ie={},ce=null,Xe=null;G!==void 0&&(ra(G),ce=""+G),Oe(T)&&(ra(T.key),ce=""+T.key),Qe(T)&&(Xe=T.ref,Wt(T,fe));for(xe in T)rt.call(T,xe)&&!F.hasOwnProperty(xe)&&(ie[xe]=T[xe]);if(S&&S.defaultProps){var $e=S.defaultProps;for(xe in $e)ie[xe]===void 0&&(ie[xe]=$e[xe])}if(ce||Xe){var Je=typeof S=="function"?S.displayName||S.name||"Unknown":S;ce&&os(ie,Je),Xe&&is(ie,Je)}return tc(S,ce,Xe,fe,K,D.current,ie)}}var Fa=v.ReactCurrentOwner,cs=v.ReactDebugCurrentFrame;function na(S){if(S){var T=S._owner,G=We(S.type,S._source,T?T.type:null);cs.setExtraStackFrame(G)}else cs.setExtraStackFrame(null)}var oa;oa=!1;function wa(S){return typeof S=="object"&&S!==null&&S.$$typeof===e}function H(){{if(Fa.current){var S=R(Fa.current.type);if(S)return`
22
22
 
23
23
  Check the render method of \``+S+"`."}return""}}function Y(S){return""}var me={};function Ie(S){{var T=H();if(!T){var G=typeof S=="string"?S:S.displayName||S.name;G&&(T=`
24
24
 
25
- Check the top-level render call using <`+G+">.")}return T}}function Be(S,T){{if(!S._store||S._store.validated||S.key!=null)return;S._store.validated=!0;var G=Ie(T);if(me[G])return;me[G]=!0;var K="";S&&S._owner&&S._owner!==Ea.current&&(K=" It was passed a child from "+R(S._owner.type)+"."),na(S),w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',G,K),na(null)}}function Ma(S,T){{if(typeof S!="object")return;if(qt(S))for(var G=0;G<S.length;G++){var K=S[G];wa(K)&&Be(K,T)}else if(wa(S))S._store&&(S._store.validated=!0);else if(S){var fe=x(S);if(typeof fe=="function"&&fe!==S.entries)for(var xe=fe.call(S),ie;!(ie=xe.next()).done;)wa(ie.value)&&Be(ie.value,T)}}}function nt(S){{var T=S.type;if(T==null||typeof T=="string")return;var G;if(typeof T=="function")G=T.propTypes;else if(typeof T=="object"&&(T.$$typeof===d||T.$$typeof===p))G=T.propTypes;else return;if(G){var K=R(T);Ze(G,S.props,"prop",K,S)}else if(T.PropTypes!==void 0&&!oa){oa=!0;var fe=R(T);w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",fe||"Unknown")}typeof T.getDefaultProps=="function"&&!T.getDefaultProps.isReactClassApproved&&w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ct(S){{for(var T=Object.keys(S.props),G=0;G<T.length;G++){var K=T[G];if(K!=="children"&&K!=="key"){na(S),w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",K),na(null);break}}S.ref!==null&&(na(S),w("Invalid attribute `ref` supplied to `React.Fragment`."),na(null))}}var Oa={};function Ue(S,T,G,K,fe,xe){{var ie=q(S);if(!ie){var ce="";(S===void 0||typeof S=="object"&&S!==null&&Object.keys(S).length===0)&&(ce+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Xe=Y();Xe?ce+=Xe:ce+=H();var $e;S===null?$e="null":qt(S)?$e="array":S!==void 0&&S.$$typeof===e?($e="<"+(R(S.type)||"Unknown")+" />",ce=" Did you accidentally export a JSX literal instead of a component?"):$e=typeof S,w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",$e,ce)}var Je=ss(S,T,G,fe,xe);if(Je==null)return Je;if(ie){var zt=T.children;if(zt!==void 0)if(K)if(qt(zt)){for(var ls=0;ls<zt.length;ls++)Ma(zt[ls],S);Object.freeze&&Object.freeze(zt)}else w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ma(zt,S)}if(rt.call(T,"key")){var dr=R(S),mt=Object.keys(T).filter(function(fR){return fR!=="key"}),eC=mt.length>0?"{key: someKey, "+mt.join(": ..., ")+": ...}":"{key: someKey}";if(!Oa[dr+eC]){var mR=mt.length>0?"{"+mt.join(": ..., ")+": ...}":"{}";w(`A props object containing a "key" prop is being spread into JSX:
25
+ Check the top-level render call using <`+G+">.")}return T}}function Be(S,T){{if(!S._store||S._store.validated||S.key!=null)return;S._store.validated=!0;var G=Ie(T);if(me[G])return;me[G]=!0;var K="";S&&S._owner&&S._owner!==Fa.current&&(K=" It was passed a child from "+R(S._owner.type)+"."),na(S),w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',G,K),na(null)}}function Ma(S,T){{if(typeof S!="object")return;if(qt(S))for(var G=0;G<S.length;G++){var K=S[G];wa(K)&&Be(K,T)}else if(wa(S))S._store&&(S._store.validated=!0);else if(S){var fe=x(S);if(typeof fe=="function"&&fe!==S.entries)for(var xe=fe.call(S),ie;!(ie=xe.next()).done;)wa(ie.value)&&Be(ie.value,T)}}}function nt(S){{var T=S.type;if(T==null||typeof T=="string")return;var G;if(typeof T=="function")G=T.propTypes;else if(typeof T=="object"&&(T.$$typeof===d||T.$$typeof===p))G=T.propTypes;else return;if(G){var K=R(T);Ze(G,S.props,"prop",K,S)}else if(T.PropTypes!==void 0&&!oa){oa=!0;var fe=R(T);w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",fe||"Unknown")}typeof T.getDefaultProps=="function"&&!T.getDefaultProps.isReactClassApproved&&w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ct(S){{for(var T=Object.keys(S.props),G=0;G<T.length;G++){var K=T[G];if(K!=="children"&&K!=="key"){na(S),w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",K),na(null);break}}S.ref!==null&&(na(S),w("Invalid attribute `ref` supplied to `React.Fragment`."),na(null))}}var Ea={};function Ue(S,T,G,K,fe,xe){{var ie=q(S);if(!ie){var ce="";(S===void 0||typeof S=="object"&&S!==null&&Object.keys(S).length===0)&&(ce+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Xe=Y();Xe?ce+=Xe:ce+=H();var $e;S===null?$e="null":qt(S)?$e="array":S!==void 0&&S.$$typeof===e?($e="<"+(R(S.type)||"Unknown")+" />",ce=" Did you accidentally export a JSX literal instead of a component?"):$e=typeof S,w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",$e,ce)}var Je=ss(S,T,G,fe,xe);if(Je==null)return Je;if(ie){var zt=T.children;if(zt!==void 0)if(K)if(qt(zt)){for(var ls=0;ls<zt.length;ls++)Ma(zt[ls],S);Object.freeze&&Object.freeze(zt)}else w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ma(zt,S)}if(rt.call(T,"key")){var dr=R(S),mt=Object.keys(T).filter(function(fR){return fR!=="key"}),eC=mt.length>0?"{key: someKey, "+mt.join(": ..., ")+": ...}":"{key: someKey}";if(!Ea[dr+eC]){var mR=mt.length>0?"{"+mt.join(": ..., ")+": ...}":"{}";w(`A props object containing a "key" prop is being spread into JSX:
26
26
  let props = %s;
27
27
  <%s {...props} />
28
28
  React keys must be passed directly to JSX without using spread:
29
29
  let props = %s;
30
- <%s key={someKey} {...props} />`,eC,dr,mR,dr),Oa[dr+eC]=!0}}return S===n?ct(Je):nt(Je),Je}}function lt(S,T,G){return Ue(S,T,G,!0)}function z(S,T,G){return Ue(S,T,G,!1)}var Z=z,oe=lt;rc.Fragment=n,rc.jsx=Z,rc.jsxs=oe}()),rc}process.env.NODE_ENV==="production"?LC.exports=kR():LC.exports=gR();var a=LC.exports;function CS(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function vR(...t){return e=>{let r=!1;const n=t.map(o=>{const i=CS(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():CS(t[o],null)}}}}function tt(t){const e=MR(t),r=g.forwardRef((n,o)=>{const{children:i,...c}=n,l=g.Children.toArray(i),d=l.find(CR);if(d){const h=d.props.children,u=l.map(p=>p===d?g.Children.count(h)>1?g.Children.only(null):g.isValidElement(h)?h.props.children:null:p);return a.jsx(e,{...c,ref:o,children:g.isValidElement(h)?g.cloneElement(h,void 0,u):null})}return a.jsx(e,{...c,ref:o,children:i})});return r.displayName=`${t}.Slot`,r}var wR=tt("Slot");function MR(t){const e=g.forwardRef((r,n)=>{const{children:o,...i}=r;if(g.isValidElement(o)){const c=SR(o),l=jR(i,o.props);return o.type!==g.Fragment&&(l.ref=n?vR(n,c):c),g.cloneElement(o,l)}return g.Children.count(o)>1?g.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var UL=Symbol("radix.slottable");function bR(t){const e=({children:r})=>a.jsx(a.Fragment,{children:r});return e.displayName=`${t}.Slottable`,e.__radixId=UL,e}function CR(t){return g.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===UL}function jR(t,e){const r={...e};for(const n in e){const o=t[n],i=e[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...l)=>{const d=i(...l);return o(...l),d}:o&&(r[n]=o):n==="style"?r[n]={...o,...i}:n==="className"&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...t,...r}}function SR(t){var n,o;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(o=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:o.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}function $L(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(r=$L(t[e]))&&(n&&(n+=" "),n+=r);else for(e in t)t[e]&&(n&&(n+=" "),n+=e);return n}function LR(){for(var t,e,r=0,n="";r<arguments.length;)(t=arguments[r++])&&(e=$L(t))&&(n&&(n+=" "),n+=e);return n}const jS=t=>typeof t=="boolean"?"".concat(t):t===0?"0":t,SS=LR,j9=(t,e)=>r=>{var n;if((e==null?void 0:e.variants)==null)return SS(t,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:o,defaultVariants:i}=e,c=Object.keys(o).map(h=>{const u=r==null?void 0:r[h],p=i==null?void 0:i[h];if(u===null)return null;const y=jS(u)||jS(p);return o[h][y]}),l=r&&Object.entries(r).reduce((h,u)=>{let[p,y]=u;return y===void 0||(h[p]=y),h},{}),d=e==null||(n=e.compoundVariants)===null||n===void 0?void 0:n.reduce((h,u)=>{let{class:p,className:y,...f}=u;return Object.entries(f).every(k=>{let[m,x]=k;return Array.isArray(x)?x.includes({...i,...l}[m]):{...i,...l}[m]===x})?[...h,p,y]:h},[]);return SS(t,c,d,r==null?void 0:r.class,r==null?void 0:r.className)};function GL(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t)){var o=t.length;for(e=0;e<o;e++)t[e]&&(r=GL(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function IR(){for(var t,e,r=0,n="",o=arguments.length;r<o;r++)(t=arguments[r])&&(e=GL(t))&&(n&&(n+=" "),n+=e);return n}const cj="-",NR=t=>{const e=PR(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=t;return{getClassGroupId:c=>{const l=c.split(cj);return l[0]===""&&l.length!==1&&l.shift(),WL(l,e)||AR(c)},getConflictingClassGroupIds:(c,l)=>{const d=r[c]||[];return l&&n[c]?[...d,...n[c]]:d}}},WL=(t,e)=>{var c;if(t.length===0)return e.classGroupId;const r=t[0],n=e.nextPart.get(r),o=n?WL(t.slice(1),n):void 0;if(o)return o;if(e.validators.length===0)return;const i=t.join(cj);return(c=e.validators.find(({validator:l})=>l(i)))==null?void 0:c.classGroupId},LS=/^\[(.+)\]$/,AR=t=>{if(LS.test(t)){const e=LS.exec(t)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},PR=t=>{const{theme:e,prefix:r}=t,n={nextPart:new Map,validators:[]};return RR(Object.entries(t.classGroups),r).forEach(([i,c])=>{IC(c,n,i,e)}),n},IC=(t,e,r,n)=>{t.forEach(o=>{if(typeof o=="string"){const i=o===""?e:IS(e,o);i.classGroupId=r;return}if(typeof o=="function"){if(_R(o)){IC(o(n),e,r,n);return}e.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([i,c])=>{IC(c,IS(e,i),r,n)})})},IS=(t,e)=>{let r=t;return e.split(cj).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},_R=t=>t.isThemeGetter,RR=(t,e)=>e?t.map(([r,n])=>{const o=n.map(i=>typeof i=="string"?e+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([c,l])=>[e+c,l])):i);return[r,o]}):t,TR=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,n=new Map;const o=(i,c)=>{r.set(i,c),e++,e>t&&(e=0,n=r,r=new Map)};return{get(i){let c=r.get(i);if(c!==void 0)return c;if((c=n.get(i))!==void 0)return o(i,c),c},set(i,c){r.has(i)?r.set(i,c):o(i,c)}}},ZL="!",qR=t=>{const{separator:e,experimentalParseClassName:r}=t,n=e.length===1,o=e[0],i=e.length,c=l=>{const d=[];let h=0,u=0,p;for(let x=0;x<l.length;x++){let v=l[x];if(h===0){if(v===o&&(n||l.slice(x,x+i)===e)){d.push(l.slice(u,x)),u=x+i;continue}if(v==="/"){p=x;continue}}v==="["?h++:v==="]"&&h--}const y=d.length===0?l:l.substring(u),f=y.startsWith(ZL),k=f?y.substring(1):y,m=p&&p>u?p-u:void 0;return{modifiers:d,hasImportantModifier:f,baseClassName:k,maybePostfixModifierPosition:m}};return r?l=>r({className:l,parseClassName:c}):c},DR=t=>{if(t.length<=1)return t;const e=[];let r=[];return t.forEach(n=>{n[0]==="["?(e.push(...r.sort(),n),r=[]):r.push(n)}),e.push(...r.sort()),e},zR=t=>({cache:TR(t.cacheSize),parseClassName:qR(t),...NR(t)}),FR=/\s+/,ER=(t,e)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o}=e,i=[],c=t.trim().split(FR);let l="";for(let d=c.length-1;d>=0;d-=1){const h=c[d],{modifiers:u,hasImportantModifier:p,baseClassName:y,maybePostfixModifierPosition:f}=r(h);let k=!!f,m=n(k?y.substring(0,f):y);if(!m){if(!k){l=h+(l.length>0?" "+l:l);continue}if(m=n(y),!m){l=h+(l.length>0?" "+l:l);continue}k=!1}const x=DR(u).join(":"),v=p?x+ZL:x,w=v+m;if(i.includes(w))continue;i.push(w);const C=o(m,k);for(let M=0;M<C.length;++M){const b=C[M];i.push(v+b)}l=h+(l.length>0?" "+l:l)}return l};function OR(){let t=0,e,r,n="";for(;t<arguments.length;)(e=arguments[t++])&&(r=XL(e))&&(n&&(n+=" "),n+=r);return n}const XL=t=>{if(typeof t=="string")return t;let e,r="";for(let n=0;n<t.length;n++)t[n]&&(e=XL(t[n]))&&(r&&(r+=" "),r+=e);return r};function HR(t,...e){let r,n,o,i=c;function c(d){const h=e.reduce((u,p)=>p(u),t());return r=zR(h),n=r.cache.get,o=r.cache.set,i=l,l(d)}function l(d){const h=n(d);if(h)return h;const u=ER(d,r);return o(d,u),u}return function(){return i(OR.apply(null,arguments))}}const Pe=t=>{const e=r=>r[t]||[];return e.isThemeGetter=!0,e},JL=/^\[(?:([a-z-]+):)?(.+)\]$/i,VR=/^\d+\/\d+$/,BR=new Set(["px","full","screen"]),UR=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,$R=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,GR=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,WR=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ZR=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ba=t=>fs(t)||BR.has(t)||VR.test(t),Ha=t=>Xs(t,"length",aT),fs=t=>!!t&&!Number.isNaN(Number(t)),tC=t=>Xs(t,"number",fs),nc=t=>!!t&&Number.isInteger(Number(t)),XR=t=>t.endsWith("%")&&fs(t.slice(0,-1)),ue=t=>JL.test(t),Va=t=>UR.test(t),JR=new Set(["length","size","percentage"]),YR=t=>Xs(t,JR,YL),KR=t=>Xs(t,"position",YL),QR=new Set(["image","url"]),eT=t=>Xs(t,QR,nT),tT=t=>Xs(t,"",rT),oc=()=>!0,Xs=(t,e,r)=>{const n=JL.exec(t);return n?n[1]?typeof e=="string"?n[1]===e:e.has(n[1]):r(n[2]):!1},aT=t=>$R.test(t)&&!GR.test(t),YL=()=>!1,rT=t=>WR.test(t),nT=t=>ZR.test(t),oT=()=>{const t=Pe("colors"),e=Pe("spacing"),r=Pe("blur"),n=Pe("brightness"),o=Pe("borderColor"),i=Pe("borderRadius"),c=Pe("borderSpacing"),l=Pe("borderWidth"),d=Pe("contrast"),h=Pe("grayscale"),u=Pe("hueRotate"),p=Pe("invert"),y=Pe("gap"),f=Pe("gradientColorStops"),k=Pe("gradientColorStopPositions"),m=Pe("inset"),x=Pe("margin"),v=Pe("opacity"),w=Pe("padding"),C=Pe("saturate"),M=Pe("scale"),b=Pe("sepia"),N=Pe("skew"),L=Pe("space"),A=Pe("translate"),I=()=>["auto","contain","none"],q=()=>["auto","hidden","clip","visible","scroll"],P=()=>["auto",ue,e],_=()=>[ue,e],R=()=>["",ba,Ha],U=()=>["auto",fs,ue],W=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],V=()=>["solid","dashed","dotted","double","none"],O=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],E=()=>["start","end","center","between","around","evenly","stretch"],Q=()=>["","0",ue],de=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ee=()=>[fs,ue];return{cacheSize:500,separator:":",theme:{colors:[oc],spacing:[ba,Ha],blur:["none","",Va,ue],brightness:ee(),borderColor:[t],borderRadius:["none","","full",Va,ue],borderSpacing:_(),borderWidth:R(),contrast:ee(),grayscale:Q(),hueRotate:ee(),invert:Q(),gap:_(),gradientColorStops:[t],gradientColorStopPositions:[XR,Ha],inset:P(),margin:P(),opacity:ee(),padding:_(),saturate:ee(),scale:ee(),sepia:Q(),skew:ee(),space:_(),translate:_()},classGroups:{aspect:[{aspect:["auto","square","video",ue]}],container:["container"],columns:[{columns:[Va]}],"break-after":[{"break-after":de()}],"break-before":[{"break-before":de()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...W(),ue]}],overflow:[{overflow:q()}],"overflow-x":[{"overflow-x":q()}],"overflow-y":[{"overflow-y":q()}],overscroll:[{overscroll:I()}],"overscroll-x":[{"overscroll-x":I()}],"overscroll-y":[{"overscroll-y":I()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",nc,ue]}],basis:[{basis:P()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ue]}],grow:[{grow:Q()}],shrink:[{shrink:Q()}],order:[{order:["first","last","none",nc,ue]}],"grid-cols":[{"grid-cols":[oc]}],"col-start-end":[{col:["auto",{span:["full",nc,ue]},ue]}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":[oc]}],"row-start-end":[{row:["auto",{span:[nc,ue]},ue]}],"row-start":[{"row-start":U()}],"row-end":[{"row-end":U()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ue]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ue]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...E()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...E(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...E(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[L]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[L]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ue,e]}],"min-w":[{"min-w":[ue,e,"min","max","fit"]}],"max-w":[{"max-w":[ue,e,"none","full","min","max","fit","prose",{screen:[Va]},Va]}],h:[{h:[ue,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ue,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ue,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ue,e,"auto","min","max","fit"]}],"font-size":[{text:["base",Va,Ha]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",tC]}],"font-family":[{font:[oc]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ue]}],"line-clamp":[{"line-clamp":["none",fs,tC]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",ba,ue]}],"list-image":[{"list-image":["none",ue]}],"list-style-type":[{list:["none","disc","decimal",ue]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...V(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",ba,Ha]}],"underline-offset":[{"underline-offset":["auto",ba,ue]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:_()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ue]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ue]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...W(),KR]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",YR]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},eT]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...V(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:V()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...V()]}],"outline-offset":[{"outline-offset":[ba,ue]}],"outline-w":[{outline:[ba,Ha]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:R()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[ba,Ha]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",Va,tT]}],"shadow-color":[{shadow:[oc]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...O(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":O()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",Va,ue]}],grayscale:[{grayscale:[h]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[p]}],saturate:[{saturate:[C]}],sepia:[{sepia:[b]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[h]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[C]}],"backdrop-sepia":[{"backdrop-sepia":[b]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[c]}],"border-spacing-x":[{"border-spacing-x":[c]}],"border-spacing-y":[{"border-spacing-y":[c]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ue]}],duration:[{duration:ee()}],ease:[{ease:["linear","in","out","in-out",ue]}],delay:[{delay:ee()}],animate:[{animate:["none","spin","ping","pulse","bounce",ue]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[nc,ue]}],"translate-x":[{"translate-x":[A]}],"translate-y":[{"translate-y":[A]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ue]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ue]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":_()}],"scroll-mx":[{"scroll-mx":_()}],"scroll-my":[{"scroll-my":_()}],"scroll-ms":[{"scroll-ms":_()}],"scroll-me":[{"scroll-me":_()}],"scroll-mt":[{"scroll-mt":_()}],"scroll-mr":[{"scroll-mr":_()}],"scroll-mb":[{"scroll-mb":_()}],"scroll-ml":[{"scroll-ml":_()}],"scroll-p":[{"scroll-p":_()}],"scroll-px":[{"scroll-px":_()}],"scroll-py":[{"scroll-py":_()}],"scroll-ps":[{"scroll-ps":_()}],"scroll-pe":[{"scroll-pe":_()}],"scroll-pt":[{"scroll-pt":_()}],"scroll-pr":[{"scroll-pr":_()}],"scroll-pb":[{"scroll-pb":_()}],"scroll-pl":[{"scroll-pl":_()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ue]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[ba,Ha,tC]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},iT=HR(oT);function le(...t){return iT(IR(t))}const lj=j9("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline",accent:"bg-accent text-accent-foreground hover:bg-accent-hover shadow-accent transform hover:scale-[1.02] hover:shadow-lg",hero:"bg-gradient-accent text-accent-foreground hover:opacity-90 shadow-accent transform hover:scale-[1.05] px-8 py-3 text-base font-bold",gaming:"bg-gaming-gold text-primary hover:bg-gaming-gold/90 shadow-accent transform hover:scale-[1.02]"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),$=g.forwardRef(({className:t,variant:e,size:r,asChild:n=!1,...o},i)=>{const c=n?wR:"button";return a.jsx(c,{className:le(lj({variant:e,size:r,className:t})),ref:i,...o})});$.displayName="Button";const Ke=g.forwardRef(({className:t,type:e,...r},n)=>a.jsx("input",{type:e,className:le("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",t),ref:n,...r}));Ke.displayName="Input";function Aa(t,e,{checkForDefaultPrevented:r=!0}={}){return function(o){if(t==null||t(o),r===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}function sT(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,cT(o,...e)]}function cT(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function lT(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];function h(p){const{scope:y,children:f,...k}=p,m=(y==null?void 0:y[t][d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})}function u(p,y){const f=(y==null?void 0:y[t][d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return h.displayName=i+"Provider",[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,dT(o,...e)]}function dT(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function hT(t,e){typeof t=="function"?t(e):t!=null&&(t.current=e)}function dj(...t){return e=>t.forEach(r=>hT(r,e))}function s9(...t){return g.useCallback(dj(...t),t)}var NC=g.forwardRef((t,e)=>{const{children:r,...n}=t,o=g.Children.toArray(r),i=o.find(pT);if(i){const c=i.props.children,l=o.map(d=>d===i?g.Children.count(c)>1?g.Children.only(null):g.isValidElement(c)?c.props.children:null:d);return a.jsx(AC,{...n,ref:e,children:g.isValidElement(c)?g.cloneElement(c,void 0,l):null})}return a.jsx(AC,{...n,ref:e,children:r})});NC.displayName="Slot";var AC=g.forwardRef((t,e)=>{const{children:r,...n}=t;if(g.isValidElement(r)){const o=mT(r);return g.cloneElement(r,{...yT(n,r.props),ref:e?dj(e,o):o})}return g.Children.count(r)>1?g.Children.only(null):null});AC.displayName="SlotClone";var uT=({children:t})=>a.jsx(a.Fragment,{children:t});function pT(t){return g.isValidElement(t)&&t.type===uT}function yT(t,e){const r={...e};for(const n in e){const o=t[n],i=e[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...l)=>{i(...l),o(...l)}:o&&(r[n]=o):n==="style"?r[n]={...o,...i}:n==="className"&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...t,...r}}function mT(t){var n,o;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(o=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:o.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}function fT(t){const e=t+"CollectionProvider",[r,n]=lT(e),[o,i]=r(e,{collectionRef:{current:null},itemMap:new Map}),c=f=>{const{scope:k,children:m}=f,x=j.useRef(null),v=j.useRef(new Map).current;return a.jsx(o,{scope:k,itemMap:v,collectionRef:x,children:m})};c.displayName=e;const l=t+"CollectionSlot",d=j.forwardRef((f,k)=>{const{scope:m,children:x}=f,v=i(l,m),w=s9(k,v.collectionRef);return a.jsx(NC,{ref:w,children:x})});d.displayName=l;const h=t+"CollectionItemSlot",u="data-radix-collection-item",p=j.forwardRef((f,k)=>{const{scope:m,children:x,...v}=f,w=j.useRef(null),C=s9(k,w),M=i(h,m);return j.useEffect(()=>(M.itemMap.set(w,{ref:w,...v}),()=>void M.itemMap.delete(w))),a.jsx(NC,{[u]:"",ref:C,children:x})});p.displayName=h;function y(f){const k=i(t+"CollectionConsumer",f);return j.useCallback(()=>{const x=k.collectionRef.current;if(!x)return[];const v=Array.from(x.querySelectorAll(`[${u}]`));return Array.from(k.itemMap.values()).sort((M,b)=>v.indexOf(M.ref.current)-v.indexOf(b.ref.current))},[k.collectionRef,k.itemMap])}return[{Provider:c,Slot:d,ItemSlot:p},y,n]}function xT(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];function h(p){const{scope:y,children:f,...k}=p,m=(y==null?void 0:y[t][d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})}function u(p,y){const f=(y==null?void 0:y[t][d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return h.displayName=i+"Provider",[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,kT(o,...e)]}function kT(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var PC=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},gT=g.useId||(()=>{}),vT=0;function KL(t){const[e,r]=g.useState(gT());return PC(()=>{t||r(n=>n??String(vT++))},[t]),t||(e?`radix-${e}`:"")}var QL=g.forwardRef((t,e)=>{const{children:r,...n}=t,o=g.Children.toArray(r),i=o.find(MT);if(i){const c=i.props.children,l=o.map(d=>d===i?g.Children.count(c)>1?g.Children.only(null):g.isValidElement(c)?c.props.children:null:d);return a.jsx(_C,{...n,ref:e,children:g.isValidElement(c)?g.cloneElement(c,void 0,l):null})}return a.jsx(_C,{...n,ref:e,children:r})});QL.displayName="Slot";var _C=g.forwardRef((t,e)=>{const{children:r,...n}=t;if(g.isValidElement(r)){const o=CT(r);return g.cloneElement(r,{...bT(n,r.props),ref:e?dj(e,o):o})}return g.Children.count(r)>1?g.Children.only(null):null});_C.displayName="SlotClone";var wT=({children:t})=>a.jsx(a.Fragment,{children:t});function MT(t){return g.isValidElement(t)&&t.type===wT}function bT(t,e){const r={...e};for(const n in e){const o=t[n],i=e[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...l)=>{i(...l),o(...l)}:o&&(r[n]=o):n==="style"?r[n]={...o,...i}:n==="className"&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...t,...r}}function CT(t){var n,o;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(o=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:o.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var jT=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Qi=jT.reduce((t,e)=>{const r=g.forwardRef((n,o)=>{const{asChild:i,...c}=n,l=i?QL:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(l,{...c,ref:o})});return r.displayName=`Primitive.${e}`,{...t,[e]:r}},{});function hj(t){const e=g.useRef(t);return g.useEffect(()=>{e.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}function eI({prop:t,defaultProp:e,onChange:r=()=>{}}){const[n,o]=ST({defaultProp:e,onChange:r}),i=t!==void 0,c=i?t:n,l=hj(r),d=g.useCallback(h=>{if(i){const p=typeof h=="function"?h(t):h;p!==t&&l(p)}else o(h)},[i,t,o,l]);return[c,d]}function ST({defaultProp:t,onChange:e}){const r=g.useState(t),[n]=r,o=g.useRef(n),i=hj(e);return g.useEffect(()=>{o.current!==n&&(i(n),o.current=n)},[n,o,i]),r}var LT=g.createContext(void 0);function tI(t){const e=g.useContext(LT);return t||e||"ltr"}var aC="rovingFocusGroup.onEntryFocus",IT={bubbles:!1,cancelable:!0},S9="RovingFocusGroup",[RC,aI,NT]=fT(S9),[AT,rI]=xT(S9,[NT]),[PT,_T]=AT(S9),nI=g.forwardRef((t,e)=>a.jsx(RC.Provider,{scope:t.__scopeRovingFocusGroup,children:a.jsx(RC.Slot,{scope:t.__scopeRovingFocusGroup,children:a.jsx(RT,{...t,ref:e})})}));nI.displayName=S9;var RT=g.forwardRef((t,e)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:i,currentTabStopId:c,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:d,onEntryFocus:h,preventScrollOnEntryFocus:u=!1,...p}=t,y=g.useRef(null),f=s9(e,y),k=tI(i),[m=null,x]=eI({prop:c,defaultProp:l,onChange:d}),[v,w]=g.useState(!1),C=hj(h),M=aI(r),b=g.useRef(!1),[N,L]=g.useState(0);return g.useEffect(()=>{const A=y.current;if(A)return A.addEventListener(aC,C),()=>A.removeEventListener(aC,C)},[C]),a.jsx(PT,{scope:r,orientation:n,dir:k,loop:o,currentTabStopId:m,onItemFocus:g.useCallback(A=>x(A),[x]),onItemShiftTab:g.useCallback(()=>w(!0),[]),onFocusableItemAdd:g.useCallback(()=>L(A=>A+1),[]),onFocusableItemRemove:g.useCallback(()=>L(A=>A-1),[]),children:a.jsx(Qi.div,{tabIndex:v||N===0?-1:0,"data-orientation":n,...p,ref:f,style:{outline:"none",...t.style},onMouseDown:Aa(t.onMouseDown,()=>{b.current=!0}),onFocus:Aa(t.onFocus,A=>{const I=!b.current;if(A.target===A.currentTarget&&I&&!v){const q=new CustomEvent(aC,IT);if(A.currentTarget.dispatchEvent(q),!q.defaultPrevented){const P=M().filter(V=>V.focusable),_=P.find(V=>V.active),R=P.find(V=>V.id===m),W=[_,R,...P].filter(Boolean).map(V=>V.ref.current);sI(W,u)}}b.current=!1}),onBlur:Aa(t.onBlur,()=>w(!1))})})}),oI="RovingFocusGroupItem",iI=g.forwardRef((t,e)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:i,...c}=t,l=KL(),d=i||l,h=_T(oI,r),u=h.currentTabStopId===d,p=aI(r),{onFocusableItemAdd:y,onFocusableItemRemove:f}=h;return g.useEffect(()=>{if(n)return y(),()=>f()},[n,y,f]),a.jsx(RC.ItemSlot,{scope:r,id:d,focusable:n,active:o,children:a.jsx(Qi.span,{tabIndex:u?0:-1,"data-orientation":h.orientation,...c,ref:e,onMouseDown:Aa(t.onMouseDown,k=>{n?h.onItemFocus(d):k.preventDefault()}),onFocus:Aa(t.onFocus,()=>h.onItemFocus(d)),onKeyDown:Aa(t.onKeyDown,k=>{if(k.key==="Tab"&&k.shiftKey){h.onItemShiftTab();return}if(k.target!==k.currentTarget)return;const m=DT(k,h.orientation,h.dir);if(m!==void 0){if(k.metaKey||k.ctrlKey||k.altKey||k.shiftKey)return;k.preventDefault();let v=p().filter(w=>w.focusable).map(w=>w.ref.current);if(m==="last")v.reverse();else if(m==="prev"||m==="next"){m==="prev"&&v.reverse();const w=v.indexOf(k.currentTarget);v=h.loop?zT(v,w+1):v.slice(w+1)}setTimeout(()=>sI(v))}})})})});iI.displayName=oI;var TT={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function qT(t,e){return e!=="rtl"?t:t==="ArrowLeft"?"ArrowRight":t==="ArrowRight"?"ArrowLeft":t}function DT(t,e,r){const n=qT(t.key,r);if(!(e==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(e==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return TT[n]}function sI(t,e=!1){const r=document.activeElement;for(const n of t)if(n===r||(n.focus({preventScroll:e}),document.activeElement!==r))return}function zT(t,e){return t.map((r,n)=>t[(e+n)%t.length])}var FT=nI,ET=iI;function OT(t,e){return g.useReducer((r,n)=>e[r][n]??r,t)}var cI=t=>{const{present:e,children:r}=t,n=HT(e),o=typeof r=="function"?r({present:n.isPresent}):g.Children.only(r),i=s9(n.ref,VT(o));return typeof r=="function"||n.isPresent?g.cloneElement(o,{ref:i}):null};cI.displayName="Presence";function HT(t){const[e,r]=g.useState(),n=g.useRef({}),o=g.useRef(t),i=g.useRef("none"),c=t?"mounted":"unmounted",[l,d]=OT(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const h=e1(n.current);i.current=l==="mounted"?h:"none"},[l]),PC(()=>{const h=n.current,u=o.current;if(u!==t){const y=i.current,f=e1(h);t?d("MOUNT"):f==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&y!==f?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,d]),PC(()=>{if(e){let h;const u=e.ownerDocument.defaultView??window,p=f=>{const m=e1(n.current).includes(f.animationName);if(f.target===e&&m&&(d("ANIMATION_END"),!o.current)){const x=e.style.animationFillMode;e.style.animationFillMode="forwards",h=u.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=x)})}},y=f=>{f.target===e&&(i.current=e1(n.current))};return e.addEventListener("animationstart",y),e.addEventListener("animationcancel",p),e.addEventListener("animationend",p),()=>{u.clearTimeout(h),e.removeEventListener("animationstart",y),e.removeEventListener("animationcancel",p),e.removeEventListener("animationend",p)}}else d("ANIMATION_END")},[e,d]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:g.useCallback(h=>{h&&(n.current=getComputedStyle(h)),r(h)},[])}}function e1(t){return(t==null?void 0:t.animationName)||"none"}function VT(t){var n,o;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(o=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:o.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var uj="Tabs",[BT,nU]=sT(uj,[rI]),lI=rI(),[UT,pj]=BT(uj),dI=g.forwardRef((t,e)=>{const{__scopeTabs:r,value:n,onValueChange:o,defaultValue:i,orientation:c="horizontal",dir:l,activationMode:d="automatic",...h}=t,u=tI(l),[p,y]=eI({prop:n,onChange:o,defaultProp:i});return a.jsx(UT,{scope:r,baseId:KL(),value:p,onValueChange:y,orientation:c,dir:u,activationMode:d,children:a.jsx(Qi.div,{dir:u,"data-orientation":c,...h,ref:e})})});dI.displayName=uj;var hI="TabsList",uI=g.forwardRef((t,e)=>{const{__scopeTabs:r,loop:n=!0,...o}=t,i=pj(hI,r),c=lI(r);return a.jsx(FT,{asChild:!0,...c,orientation:i.orientation,dir:i.dir,loop:n,children:a.jsx(Qi.div,{role:"tablist","aria-orientation":i.orientation,...o,ref:e})})});uI.displayName=hI;var pI="TabsTrigger",yI=g.forwardRef((t,e)=>{const{__scopeTabs:r,value:n,disabled:o=!1,...i}=t,c=pj(pI,r),l=lI(r),d=xI(c.baseId,n),h=kI(c.baseId,n),u=n===c.value;return a.jsx(ET,{asChild:!0,...l,focusable:!o,active:u,children:a.jsx(Qi.button,{type:"button",role:"tab","aria-selected":u,"aria-controls":h,"data-state":u?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:d,...i,ref:e,onMouseDown:Aa(t.onMouseDown,p=>{!o&&p.button===0&&p.ctrlKey===!1?c.onValueChange(n):p.preventDefault()}),onKeyDown:Aa(t.onKeyDown,p=>{[" ","Enter"].includes(p.key)&&c.onValueChange(n)}),onFocus:Aa(t.onFocus,()=>{const p=c.activationMode!=="manual";!u&&!o&&p&&c.onValueChange(n)})})})});yI.displayName=pI;var mI="TabsContent",fI=g.forwardRef((t,e)=>{const{__scopeTabs:r,value:n,forceMount:o,children:i,...c}=t,l=pj(mI,r),d=xI(l.baseId,n),h=kI(l.baseId,n),u=n===l.value,p=g.useRef(u);return g.useEffect(()=>{const y=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(y)},[]),a.jsx(cI,{present:o||u,children:({present:y})=>a.jsx(Qi.div,{"data-state":u?"active":"inactive","data-orientation":l.orientation,role:"tabpanel","aria-labelledby":d,hidden:!y,id:h,tabIndex:0,...c,ref:e,style:{...t.style,animationDuration:p.current?"0s":void 0},children:y&&i})})});fI.displayName=mI;function xI(t,e){return`${t}-trigger-${e}`}function kI(t,e){return`${t}-content-${e}`}var $T=dI,gI=uI,vI=yI,wI=fI;const es=$T,or=g.forwardRef(({className:t,...e},r)=>a.jsx(gI,{ref:r,className:le("inline-flex items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",t),...e}));or.displayName=gI.displayName;const Ce=g.forwardRef(({className:t,...e},r)=>a.jsx(vI,{ref:r,className:le("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",t),...e}));Ce.displayName=vI.displayName;const je=g.forwardRef(({className:t,...e},r)=>a.jsx(wI,{ref:r,className:le("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",t),...e}));je.displayName=wI.displayName;const ve=g.forwardRef(({className:t,...e},r)=>a.jsx("div",{ref:r,className:le("rounded-xl border bg-card text-card-foreground shadow",t),...e}));ve.displayName="Card";const _e=g.forwardRef(({className:t,...e},r)=>a.jsx("div",{ref:r,className:le("flex flex-col space-y-1.5 p-6",t),...e}));_e.displayName="CardHeader";const Re=g.forwardRef(({className:t,...e},r)=>a.jsx("h3",{ref:r,className:le("font-semibold leading-none tracking-tight",t),...e}));Re.displayName="CardTitle";const He=g.forwardRef(({className:t,...e},r)=>a.jsx("p",{ref:r,className:le("text-sm text-muted-foreground",t),...e}));He.displayName="CardDescription";const we=g.forwardRef(({className:t,...e},r)=>a.jsx("div",{ref:r,className:le("p-6 pt-0",t),...e}));we.displayName="CardContent";const Fs=g.forwardRef(({className:t,...e},r)=>a.jsx("div",{ref:r,className:le("flex items-center p-6 pt-0",t),...e}));Fs.displayName="CardFooter";/**
30
+ <%s key={someKey} {...props} />`,eC,dr,mR,dr),Ea[dr+eC]=!0}}return S===n?ct(Je):nt(Je),Je}}function lt(S,T,G){return Ue(S,T,G,!0)}function z(S,T,G){return Ue(S,T,G,!1)}var Z=z,oe=lt;rc.Fragment=n,rc.jsx=Z,rc.jsxs=oe}()),rc}process.env.NODE_ENV==="production"?LC.exports=kR():LC.exports=gR();var a=LC.exports;function CS(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function vR(...t){return e=>{let r=!1;const n=t.map(o=>{const i=CS(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():CS(t[o],null)}}}}function tt(t){const e=MR(t),r=g.forwardRef((n,o)=>{const{children:i,...c}=n,l=g.Children.toArray(i),d=l.find(CR);if(d){const h=d.props.children,u=l.map(p=>p===d?g.Children.count(h)>1?g.Children.only(null):g.isValidElement(h)?h.props.children:null:p);return a.jsx(e,{...c,ref:o,children:g.isValidElement(h)?g.cloneElement(h,void 0,u):null})}return a.jsx(e,{...c,ref:o,children:i})});return r.displayName=`${t}.Slot`,r}var wR=tt("Slot");function MR(t){const e=g.forwardRef((r,n)=>{const{children:o,...i}=r;if(g.isValidElement(o)){const c=SR(o),l=jR(i,o.props);return o.type!==g.Fragment&&(l.ref=n?vR(n,c):c),g.cloneElement(o,l)}return g.Children.count(o)>1?g.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var UL=Symbol("radix.slottable");function bR(t){const e=({children:r})=>a.jsx(a.Fragment,{children:r});return e.displayName=`${t}.Slottable`,e.__radixId=UL,e}function CR(t){return g.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===UL}function jR(t,e){const r={...e};for(const n in e){const o=t[n],i=e[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...l)=>{const d=i(...l);return o(...l),d}:o&&(r[n]=o):n==="style"?r[n]={...o,...i}:n==="className"&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...t,...r}}function SR(t){var n,o;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(o=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:o.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}function $L(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(r=$L(t[e]))&&(n&&(n+=" "),n+=r);else for(e in t)t[e]&&(n&&(n+=" "),n+=e);return n}function LR(){for(var t,e,r=0,n="";r<arguments.length;)(t=arguments[r++])&&(e=$L(t))&&(n&&(n+=" "),n+=e);return n}const jS=t=>typeof t=="boolean"?"".concat(t):t===0?"0":t,SS=LR,j9=(t,e)=>r=>{var n;if((e==null?void 0:e.variants)==null)return SS(t,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:o,defaultVariants:i}=e,c=Object.keys(o).map(h=>{const u=r==null?void 0:r[h],p=i==null?void 0:i[h];if(u===null)return null;const y=jS(u)||jS(p);return o[h][y]}),l=r&&Object.entries(r).reduce((h,u)=>{let[p,y]=u;return y===void 0||(h[p]=y),h},{}),d=e==null||(n=e.compoundVariants)===null||n===void 0?void 0:n.reduce((h,u)=>{let{class:p,className:y,...f}=u;return Object.entries(f).every(k=>{let[m,x]=k;return Array.isArray(x)?x.includes({...i,...l}[m]):{...i,...l}[m]===x})?[...h,p,y]:h},[]);return SS(t,c,d,r==null?void 0:r.class,r==null?void 0:r.className)};function GL(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t)){var o=t.length;for(e=0;e<o;e++)t[e]&&(r=GL(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function IR(){for(var t,e,r=0,n="",o=arguments.length;r<o;r++)(t=arguments[r])&&(e=GL(t))&&(n&&(n+=" "),n+=e);return n}const cj="-",NR=t=>{const e=PR(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=t;return{getClassGroupId:c=>{const l=c.split(cj);return l[0]===""&&l.length!==1&&l.shift(),WL(l,e)||AR(c)},getConflictingClassGroupIds:(c,l)=>{const d=r[c]||[];return l&&n[c]?[...d,...n[c]]:d}}},WL=(t,e)=>{var c;if(t.length===0)return e.classGroupId;const r=t[0],n=e.nextPart.get(r),o=n?WL(t.slice(1),n):void 0;if(o)return o;if(e.validators.length===0)return;const i=t.join(cj);return(c=e.validators.find(({validator:l})=>l(i)))==null?void 0:c.classGroupId},LS=/^\[(.+)\]$/,AR=t=>{if(LS.test(t)){const e=LS.exec(t)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},PR=t=>{const{theme:e,prefix:r}=t,n={nextPart:new Map,validators:[]};return RR(Object.entries(t.classGroups),r).forEach(([i,c])=>{IC(c,n,i,e)}),n},IC=(t,e,r,n)=>{t.forEach(o=>{if(typeof o=="string"){const i=o===""?e:IS(e,o);i.classGroupId=r;return}if(typeof o=="function"){if(_R(o)){IC(o(n),e,r,n);return}e.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([i,c])=>{IC(c,IS(e,i),r,n)})})},IS=(t,e)=>{let r=t;return e.split(cj).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},_R=t=>t.isThemeGetter,RR=(t,e)=>e?t.map(([r,n])=>{const o=n.map(i=>typeof i=="string"?e+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([c,l])=>[e+c,l])):i);return[r,o]}):t,TR=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,n=new Map;const o=(i,c)=>{r.set(i,c),e++,e>t&&(e=0,n=r,r=new Map)};return{get(i){let c=r.get(i);if(c!==void 0)return c;if((c=n.get(i))!==void 0)return o(i,c),c},set(i,c){r.has(i)?r.set(i,c):o(i,c)}}},ZL="!",qR=t=>{const{separator:e,experimentalParseClassName:r}=t,n=e.length===1,o=e[0],i=e.length,c=l=>{const d=[];let h=0,u=0,p;for(let x=0;x<l.length;x++){let v=l[x];if(h===0){if(v===o&&(n||l.slice(x,x+i)===e)){d.push(l.slice(u,x)),u=x+i;continue}if(v==="/"){p=x;continue}}v==="["?h++:v==="]"&&h--}const y=d.length===0?l:l.substring(u),f=y.startsWith(ZL),k=f?y.substring(1):y,m=p&&p>u?p-u:void 0;return{modifiers:d,hasImportantModifier:f,baseClassName:k,maybePostfixModifierPosition:m}};return r?l=>r({className:l,parseClassName:c}):c},DR=t=>{if(t.length<=1)return t;const e=[];let r=[];return t.forEach(n=>{n[0]==="["?(e.push(...r.sort(),n),r=[]):r.push(n)}),e.push(...r.sort()),e},zR=t=>({cache:TR(t.cacheSize),parseClassName:qR(t),...NR(t)}),FR=/\s+/,ER=(t,e)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o}=e,i=[],c=t.trim().split(FR);let l="";for(let d=c.length-1;d>=0;d-=1){const h=c[d],{modifiers:u,hasImportantModifier:p,baseClassName:y,maybePostfixModifierPosition:f}=r(h);let k=!!f,m=n(k?y.substring(0,f):y);if(!m){if(!k){l=h+(l.length>0?" "+l:l);continue}if(m=n(y),!m){l=h+(l.length>0?" "+l:l);continue}k=!1}const x=DR(u).join(":"),v=p?x+ZL:x,w=v+m;if(i.includes(w))continue;i.push(w);const C=o(m,k);for(let M=0;M<C.length;++M){const b=C[M];i.push(v+b)}l=h+(l.length>0?" "+l:l)}return l};function OR(){let t=0,e,r,n="";for(;t<arguments.length;)(e=arguments[t++])&&(r=XL(e))&&(n&&(n+=" "),n+=r);return n}const XL=t=>{if(typeof t=="string")return t;let e,r="";for(let n=0;n<t.length;n++)t[n]&&(e=XL(t[n]))&&(r&&(r+=" "),r+=e);return r};function HR(t,...e){let r,n,o,i=c;function c(d){const h=e.reduce((u,p)=>p(u),t());return r=zR(h),n=r.cache.get,o=r.cache.set,i=l,l(d)}function l(d){const h=n(d);if(h)return h;const u=ER(d,r);return o(d,u),u}return function(){return i(OR.apply(null,arguments))}}const Pe=t=>{const e=r=>r[t]||[];return e.isThemeGetter=!0,e},JL=/^\[(?:([a-z-]+):)?(.+)\]$/i,VR=/^\d+\/\d+$/,BR=new Set(["px","full","screen"]),UR=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,$R=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,GR=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,WR=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ZR=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ba=t=>fs(t)||BR.has(t)||VR.test(t),Oa=t=>Xs(t,"length",aT),fs=t=>!!t&&!Number.isNaN(Number(t)),tC=t=>Xs(t,"number",fs),nc=t=>!!t&&Number.isInteger(Number(t)),XR=t=>t.endsWith("%")&&fs(t.slice(0,-1)),ue=t=>JL.test(t),Ha=t=>UR.test(t),JR=new Set(["length","size","percentage"]),YR=t=>Xs(t,JR,YL),KR=t=>Xs(t,"position",YL),QR=new Set(["image","url"]),eT=t=>Xs(t,QR,nT),tT=t=>Xs(t,"",rT),oc=()=>!0,Xs=(t,e,r)=>{const n=JL.exec(t);return n?n[1]?typeof e=="string"?n[1]===e:e.has(n[1]):r(n[2]):!1},aT=t=>$R.test(t)&&!GR.test(t),YL=()=>!1,rT=t=>WR.test(t),nT=t=>ZR.test(t),oT=()=>{const t=Pe("colors"),e=Pe("spacing"),r=Pe("blur"),n=Pe("brightness"),o=Pe("borderColor"),i=Pe("borderRadius"),c=Pe("borderSpacing"),l=Pe("borderWidth"),d=Pe("contrast"),h=Pe("grayscale"),u=Pe("hueRotate"),p=Pe("invert"),y=Pe("gap"),f=Pe("gradientColorStops"),k=Pe("gradientColorStopPositions"),m=Pe("inset"),x=Pe("margin"),v=Pe("opacity"),w=Pe("padding"),C=Pe("saturate"),M=Pe("scale"),b=Pe("sepia"),N=Pe("skew"),L=Pe("space"),A=Pe("translate"),I=()=>["auto","contain","none"],q=()=>["auto","hidden","clip","visible","scroll"],P=()=>["auto",ue,e],_=()=>[ue,e],R=()=>["",ba,Oa],U=()=>["auto",fs,ue],W=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],V=()=>["solid","dashed","dotted","double","none"],O=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],E=()=>["start","end","center","between","around","evenly","stretch"],Q=()=>["","0",ue],de=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ee=()=>[fs,ue];return{cacheSize:500,separator:":",theme:{colors:[oc],spacing:[ba,Oa],blur:["none","",Ha,ue],brightness:ee(),borderColor:[t],borderRadius:["none","","full",Ha,ue],borderSpacing:_(),borderWidth:R(),contrast:ee(),grayscale:Q(),hueRotate:ee(),invert:Q(),gap:_(),gradientColorStops:[t],gradientColorStopPositions:[XR,Oa],inset:P(),margin:P(),opacity:ee(),padding:_(),saturate:ee(),scale:ee(),sepia:Q(),skew:ee(),space:_(),translate:_()},classGroups:{aspect:[{aspect:["auto","square","video",ue]}],container:["container"],columns:[{columns:[Ha]}],"break-after":[{"break-after":de()}],"break-before":[{"break-before":de()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...W(),ue]}],overflow:[{overflow:q()}],"overflow-x":[{"overflow-x":q()}],"overflow-y":[{"overflow-y":q()}],overscroll:[{overscroll:I()}],"overscroll-x":[{"overscroll-x":I()}],"overscroll-y":[{"overscroll-y":I()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",nc,ue]}],basis:[{basis:P()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ue]}],grow:[{grow:Q()}],shrink:[{shrink:Q()}],order:[{order:["first","last","none",nc,ue]}],"grid-cols":[{"grid-cols":[oc]}],"col-start-end":[{col:["auto",{span:["full",nc,ue]},ue]}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":[oc]}],"row-start-end":[{row:["auto",{span:[nc,ue]},ue]}],"row-start":[{"row-start":U()}],"row-end":[{"row-end":U()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ue]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ue]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...E()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...E(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...E(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[L]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[L]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ue,e]}],"min-w":[{"min-w":[ue,e,"min","max","fit"]}],"max-w":[{"max-w":[ue,e,"none","full","min","max","fit","prose",{screen:[Ha]},Ha]}],h:[{h:[ue,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ue,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ue,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ue,e,"auto","min","max","fit"]}],"font-size":[{text:["base",Ha,Oa]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",tC]}],"font-family":[{font:[oc]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ue]}],"line-clamp":[{"line-clamp":["none",fs,tC]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",ba,ue]}],"list-image":[{"list-image":["none",ue]}],"list-style-type":[{list:["none","disc","decimal",ue]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...V(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",ba,Oa]}],"underline-offset":[{"underline-offset":["auto",ba,ue]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:_()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ue]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ue]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...W(),KR]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",YR]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},eT]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...V(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:V()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...V()]}],"outline-offset":[{"outline-offset":[ba,ue]}],"outline-w":[{outline:[ba,Oa]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:R()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[ba,Oa]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",Ha,tT]}],"shadow-color":[{shadow:[oc]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...O(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":O()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",Ha,ue]}],grayscale:[{grayscale:[h]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[p]}],saturate:[{saturate:[C]}],sepia:[{sepia:[b]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[h]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[C]}],"backdrop-sepia":[{"backdrop-sepia":[b]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[c]}],"border-spacing-x":[{"border-spacing-x":[c]}],"border-spacing-y":[{"border-spacing-y":[c]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ue]}],duration:[{duration:ee()}],ease:[{ease:["linear","in","out","in-out",ue]}],delay:[{delay:ee()}],animate:[{animate:["none","spin","ping","pulse","bounce",ue]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[nc,ue]}],"translate-x":[{"translate-x":[A]}],"translate-y":[{"translate-y":[A]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ue]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ue]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":_()}],"scroll-mx":[{"scroll-mx":_()}],"scroll-my":[{"scroll-my":_()}],"scroll-ms":[{"scroll-ms":_()}],"scroll-me":[{"scroll-me":_()}],"scroll-mt":[{"scroll-mt":_()}],"scroll-mr":[{"scroll-mr":_()}],"scroll-mb":[{"scroll-mb":_()}],"scroll-ml":[{"scroll-ml":_()}],"scroll-p":[{"scroll-p":_()}],"scroll-px":[{"scroll-px":_()}],"scroll-py":[{"scroll-py":_()}],"scroll-ps":[{"scroll-ps":_()}],"scroll-pe":[{"scroll-pe":_()}],"scroll-pt":[{"scroll-pt":_()}],"scroll-pr":[{"scroll-pr":_()}],"scroll-pb":[{"scroll-pb":_()}],"scroll-pl":[{"scroll-pl":_()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ue]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[ba,Oa,tC]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},iT=HR(oT);function le(...t){return iT(IR(t))}const lj=j9("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline",accent:"bg-accent text-accent-foreground hover:bg-accent-hover shadow-accent transform hover:scale-[1.02] hover:shadow-lg",hero:"bg-gradient-accent text-accent-foreground hover:opacity-90 shadow-accent transform hover:scale-[1.05] px-8 py-3 text-base font-bold",gaming:"bg-gaming-gold text-primary hover:bg-gaming-gold/90 shadow-accent transform hover:scale-[1.02]"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),$=g.forwardRef(({className:t,variant:e,size:r,asChild:n=!1,...o},i)=>{const c=n?wR:"button";return a.jsx(c,{className:le(lj({variant:e,size:r,className:t})),ref:i,...o})});$.displayName="Button";const Ke=g.forwardRef(({className:t,type:e,...r},n)=>a.jsx("input",{type:e,className:le("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",t),ref:n,...r}));Ke.displayName="Input";function Aa(t,e,{checkForDefaultPrevented:r=!0}={}){return function(o){if(t==null||t(o),r===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}function sT(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,cT(o,...e)]}function cT(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function lT(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];function h(p){const{scope:y,children:f,...k}=p,m=(y==null?void 0:y[t][d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})}function u(p,y){const f=(y==null?void 0:y[t][d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return h.displayName=i+"Provider",[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,dT(o,...e)]}function dT(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function hT(t,e){typeof t=="function"?t(e):t!=null&&(t.current=e)}function dj(...t){return e=>t.forEach(r=>hT(r,e))}function s9(...t){return g.useCallback(dj(...t),t)}var NC=g.forwardRef((t,e)=>{const{children:r,...n}=t,o=g.Children.toArray(r),i=o.find(pT);if(i){const c=i.props.children,l=o.map(d=>d===i?g.Children.count(c)>1?g.Children.only(null):g.isValidElement(c)?c.props.children:null:d);return a.jsx(AC,{...n,ref:e,children:g.isValidElement(c)?g.cloneElement(c,void 0,l):null})}return a.jsx(AC,{...n,ref:e,children:r})});NC.displayName="Slot";var AC=g.forwardRef((t,e)=>{const{children:r,...n}=t;if(g.isValidElement(r)){const o=mT(r);return g.cloneElement(r,{...yT(n,r.props),ref:e?dj(e,o):o})}return g.Children.count(r)>1?g.Children.only(null):null});AC.displayName="SlotClone";var uT=({children:t})=>a.jsx(a.Fragment,{children:t});function pT(t){return g.isValidElement(t)&&t.type===uT}function yT(t,e){const r={...e};for(const n in e){const o=t[n],i=e[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...l)=>{i(...l),o(...l)}:o&&(r[n]=o):n==="style"?r[n]={...o,...i}:n==="className"&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...t,...r}}function mT(t){var n,o;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(o=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:o.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}function fT(t){const e=t+"CollectionProvider",[r,n]=lT(e),[o,i]=r(e,{collectionRef:{current:null},itemMap:new Map}),c=f=>{const{scope:k,children:m}=f,x=j.useRef(null),v=j.useRef(new Map).current;return a.jsx(o,{scope:k,itemMap:v,collectionRef:x,children:m})};c.displayName=e;const l=t+"CollectionSlot",d=j.forwardRef((f,k)=>{const{scope:m,children:x}=f,v=i(l,m),w=s9(k,v.collectionRef);return a.jsx(NC,{ref:w,children:x})});d.displayName=l;const h=t+"CollectionItemSlot",u="data-radix-collection-item",p=j.forwardRef((f,k)=>{const{scope:m,children:x,...v}=f,w=j.useRef(null),C=s9(k,w),M=i(h,m);return j.useEffect(()=>(M.itemMap.set(w,{ref:w,...v}),()=>void M.itemMap.delete(w))),a.jsx(NC,{[u]:"",ref:C,children:x})});p.displayName=h;function y(f){const k=i(t+"CollectionConsumer",f);return j.useCallback(()=>{const x=k.collectionRef.current;if(!x)return[];const v=Array.from(x.querySelectorAll(`[${u}]`));return Array.from(k.itemMap.values()).sort((M,b)=>v.indexOf(M.ref.current)-v.indexOf(b.ref.current))},[k.collectionRef,k.itemMap])}return[{Provider:c,Slot:d,ItemSlot:p},y,n]}function xT(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];function h(p){const{scope:y,children:f,...k}=p,m=(y==null?void 0:y[t][d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})}function u(p,y){const f=(y==null?void 0:y[t][d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return h.displayName=i+"Provider",[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,kT(o,...e)]}function kT(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var PC=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},gT=g.useId||(()=>{}),vT=0;function KL(t){const[e,r]=g.useState(gT());return PC(()=>{t||r(n=>n??String(vT++))},[t]),t||(e?`radix-${e}`:"")}var QL=g.forwardRef((t,e)=>{const{children:r,...n}=t,o=g.Children.toArray(r),i=o.find(MT);if(i){const c=i.props.children,l=o.map(d=>d===i?g.Children.count(c)>1?g.Children.only(null):g.isValidElement(c)?c.props.children:null:d);return a.jsx(_C,{...n,ref:e,children:g.isValidElement(c)?g.cloneElement(c,void 0,l):null})}return a.jsx(_C,{...n,ref:e,children:r})});QL.displayName="Slot";var _C=g.forwardRef((t,e)=>{const{children:r,...n}=t;if(g.isValidElement(r)){const o=CT(r);return g.cloneElement(r,{...bT(n,r.props),ref:e?dj(e,o):o})}return g.Children.count(r)>1?g.Children.only(null):null});_C.displayName="SlotClone";var wT=({children:t})=>a.jsx(a.Fragment,{children:t});function MT(t){return g.isValidElement(t)&&t.type===wT}function bT(t,e){const r={...e};for(const n in e){const o=t[n],i=e[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...l)=>{i(...l),o(...l)}:o&&(r[n]=o):n==="style"?r[n]={...o,...i}:n==="className"&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...t,...r}}function CT(t){var n,o;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(o=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:o.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var jT=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Qi=jT.reduce((t,e)=>{const r=g.forwardRef((n,o)=>{const{asChild:i,...c}=n,l=i?QL:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(l,{...c,ref:o})});return r.displayName=`Primitive.${e}`,{...t,[e]:r}},{});function hj(t){const e=g.useRef(t);return g.useEffect(()=>{e.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}function eI({prop:t,defaultProp:e,onChange:r=()=>{}}){const[n,o]=ST({defaultProp:e,onChange:r}),i=t!==void 0,c=i?t:n,l=hj(r),d=g.useCallback(h=>{if(i){const p=typeof h=="function"?h(t):h;p!==t&&l(p)}else o(h)},[i,t,o,l]);return[c,d]}function ST({defaultProp:t,onChange:e}){const r=g.useState(t),[n]=r,o=g.useRef(n),i=hj(e);return g.useEffect(()=>{o.current!==n&&(i(n),o.current=n)},[n,o,i]),r}var LT=g.createContext(void 0);function tI(t){const e=g.useContext(LT);return t||e||"ltr"}var aC="rovingFocusGroup.onEntryFocus",IT={bubbles:!1,cancelable:!0},S9="RovingFocusGroup",[RC,aI,NT]=fT(S9),[AT,rI]=xT(S9,[NT]),[PT,_T]=AT(S9),nI=g.forwardRef((t,e)=>a.jsx(RC.Provider,{scope:t.__scopeRovingFocusGroup,children:a.jsx(RC.Slot,{scope:t.__scopeRovingFocusGroup,children:a.jsx(RT,{...t,ref:e})})}));nI.displayName=S9;var RT=g.forwardRef((t,e)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:i,currentTabStopId:c,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:d,onEntryFocus:h,preventScrollOnEntryFocus:u=!1,...p}=t,y=g.useRef(null),f=s9(e,y),k=tI(i),[m=null,x]=eI({prop:c,defaultProp:l,onChange:d}),[v,w]=g.useState(!1),C=hj(h),M=aI(r),b=g.useRef(!1),[N,L]=g.useState(0);return g.useEffect(()=>{const A=y.current;if(A)return A.addEventListener(aC,C),()=>A.removeEventListener(aC,C)},[C]),a.jsx(PT,{scope:r,orientation:n,dir:k,loop:o,currentTabStopId:m,onItemFocus:g.useCallback(A=>x(A),[x]),onItemShiftTab:g.useCallback(()=>w(!0),[]),onFocusableItemAdd:g.useCallback(()=>L(A=>A+1),[]),onFocusableItemRemove:g.useCallback(()=>L(A=>A-1),[]),children:a.jsx(Qi.div,{tabIndex:v||N===0?-1:0,"data-orientation":n,...p,ref:f,style:{outline:"none",...t.style},onMouseDown:Aa(t.onMouseDown,()=>{b.current=!0}),onFocus:Aa(t.onFocus,A=>{const I=!b.current;if(A.target===A.currentTarget&&I&&!v){const q=new CustomEvent(aC,IT);if(A.currentTarget.dispatchEvent(q),!q.defaultPrevented){const P=M().filter(V=>V.focusable),_=P.find(V=>V.active),R=P.find(V=>V.id===m),W=[_,R,...P].filter(Boolean).map(V=>V.ref.current);sI(W,u)}}b.current=!1}),onBlur:Aa(t.onBlur,()=>w(!1))})})}),oI="RovingFocusGroupItem",iI=g.forwardRef((t,e)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:i,...c}=t,l=KL(),d=i||l,h=_T(oI,r),u=h.currentTabStopId===d,p=aI(r),{onFocusableItemAdd:y,onFocusableItemRemove:f}=h;return g.useEffect(()=>{if(n)return y(),()=>f()},[n,y,f]),a.jsx(RC.ItemSlot,{scope:r,id:d,focusable:n,active:o,children:a.jsx(Qi.span,{tabIndex:u?0:-1,"data-orientation":h.orientation,...c,ref:e,onMouseDown:Aa(t.onMouseDown,k=>{n?h.onItemFocus(d):k.preventDefault()}),onFocus:Aa(t.onFocus,()=>h.onItemFocus(d)),onKeyDown:Aa(t.onKeyDown,k=>{if(k.key==="Tab"&&k.shiftKey){h.onItemShiftTab();return}if(k.target!==k.currentTarget)return;const m=DT(k,h.orientation,h.dir);if(m!==void 0){if(k.metaKey||k.ctrlKey||k.altKey||k.shiftKey)return;k.preventDefault();let v=p().filter(w=>w.focusable).map(w=>w.ref.current);if(m==="last")v.reverse();else if(m==="prev"||m==="next"){m==="prev"&&v.reverse();const w=v.indexOf(k.currentTarget);v=h.loop?zT(v,w+1):v.slice(w+1)}setTimeout(()=>sI(v))}})})})});iI.displayName=oI;var TT={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function qT(t,e){return e!=="rtl"?t:t==="ArrowLeft"?"ArrowRight":t==="ArrowRight"?"ArrowLeft":t}function DT(t,e,r){const n=qT(t.key,r);if(!(e==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(e==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return TT[n]}function sI(t,e=!1){const r=document.activeElement;for(const n of t)if(n===r||(n.focus({preventScroll:e}),document.activeElement!==r))return}function zT(t,e){return t.map((r,n)=>t[(e+n)%t.length])}var FT=nI,ET=iI;function OT(t,e){return g.useReducer((r,n)=>e[r][n]??r,t)}var cI=t=>{const{present:e,children:r}=t,n=HT(e),o=typeof r=="function"?r({present:n.isPresent}):g.Children.only(r),i=s9(n.ref,VT(o));return typeof r=="function"||n.isPresent?g.cloneElement(o,{ref:i}):null};cI.displayName="Presence";function HT(t){const[e,r]=g.useState(),n=g.useRef({}),o=g.useRef(t),i=g.useRef("none"),c=t?"mounted":"unmounted",[l,d]=OT(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const h=e1(n.current);i.current=l==="mounted"?h:"none"},[l]),PC(()=>{const h=n.current,u=o.current;if(u!==t){const y=i.current,f=e1(h);t?d("MOUNT"):f==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&y!==f?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,d]),PC(()=>{if(e){let h;const u=e.ownerDocument.defaultView??window,p=f=>{const m=e1(n.current).includes(f.animationName);if(f.target===e&&m&&(d("ANIMATION_END"),!o.current)){const x=e.style.animationFillMode;e.style.animationFillMode="forwards",h=u.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=x)})}},y=f=>{f.target===e&&(i.current=e1(n.current))};return e.addEventListener("animationstart",y),e.addEventListener("animationcancel",p),e.addEventListener("animationend",p),()=>{u.clearTimeout(h),e.removeEventListener("animationstart",y),e.removeEventListener("animationcancel",p),e.removeEventListener("animationend",p)}}else d("ANIMATION_END")},[e,d]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:g.useCallback(h=>{h&&(n.current=getComputedStyle(h)),r(h)},[])}}function e1(t){return(t==null?void 0:t.animationName)||"none"}function VT(t){var n,o;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(o=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:o.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var uj="Tabs",[BT,nU]=sT(uj,[rI]),lI=rI(),[UT,pj]=BT(uj),dI=g.forwardRef((t,e)=>{const{__scopeTabs:r,value:n,onValueChange:o,defaultValue:i,orientation:c="horizontal",dir:l,activationMode:d="automatic",...h}=t,u=tI(l),[p,y]=eI({prop:n,onChange:o,defaultProp:i});return a.jsx(UT,{scope:r,baseId:KL(),value:p,onValueChange:y,orientation:c,dir:u,activationMode:d,children:a.jsx(Qi.div,{dir:u,"data-orientation":c,...h,ref:e})})});dI.displayName=uj;var hI="TabsList",uI=g.forwardRef((t,e)=>{const{__scopeTabs:r,loop:n=!0,...o}=t,i=pj(hI,r),c=lI(r);return a.jsx(FT,{asChild:!0,...c,orientation:i.orientation,dir:i.dir,loop:n,children:a.jsx(Qi.div,{role:"tablist","aria-orientation":i.orientation,...o,ref:e})})});uI.displayName=hI;var pI="TabsTrigger",yI=g.forwardRef((t,e)=>{const{__scopeTabs:r,value:n,disabled:o=!1,...i}=t,c=pj(pI,r),l=lI(r),d=xI(c.baseId,n),h=kI(c.baseId,n),u=n===c.value;return a.jsx(ET,{asChild:!0,...l,focusable:!o,active:u,children:a.jsx(Qi.button,{type:"button",role:"tab","aria-selected":u,"aria-controls":h,"data-state":u?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:d,...i,ref:e,onMouseDown:Aa(t.onMouseDown,p=>{!o&&p.button===0&&p.ctrlKey===!1?c.onValueChange(n):p.preventDefault()}),onKeyDown:Aa(t.onKeyDown,p=>{[" ","Enter"].includes(p.key)&&c.onValueChange(n)}),onFocus:Aa(t.onFocus,()=>{const p=c.activationMode!=="manual";!u&&!o&&p&&c.onValueChange(n)})})})});yI.displayName=pI;var mI="TabsContent",fI=g.forwardRef((t,e)=>{const{__scopeTabs:r,value:n,forceMount:o,children:i,...c}=t,l=pj(mI,r),d=xI(l.baseId,n),h=kI(l.baseId,n),u=n===l.value,p=g.useRef(u);return g.useEffect(()=>{const y=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(y)},[]),a.jsx(cI,{present:o||u,children:({present:y})=>a.jsx(Qi.div,{"data-state":u?"active":"inactive","data-orientation":l.orientation,role:"tabpanel","aria-labelledby":d,hidden:!y,id:h,tabIndex:0,...c,ref:e,style:{...t.style,animationDuration:p.current?"0s":void 0},children:y&&i})})});fI.displayName=mI;function xI(t,e){return`${t}-trigger-${e}`}function kI(t,e){return`${t}-content-${e}`}var $T=dI,gI=uI,vI=yI,wI=fI;const es=$T,or=g.forwardRef(({className:t,...e},r)=>a.jsx(gI,{ref:r,className:le("inline-flex items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",t),...e}));or.displayName=gI.displayName;const Ce=g.forwardRef(({className:t,...e},r)=>a.jsx(vI,{ref:r,className:le("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",t),...e}));Ce.displayName=vI.displayName;const je=g.forwardRef(({className:t,...e},r)=>a.jsx(wI,{ref:r,className:le("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",t),...e}));je.displayName=wI.displayName;const ve=g.forwardRef(({className:t,...e},r)=>a.jsx("div",{ref:r,className:le("rounded-xl border bg-card text-card-foreground shadow",t),...e}));ve.displayName="Card";const _e=g.forwardRef(({className:t,...e},r)=>a.jsx("div",{ref:r,className:le("flex flex-col space-y-1.5 p-6",t),...e}));_e.displayName="CardHeader";const Re=g.forwardRef(({className:t,...e},r)=>a.jsx("h3",{ref:r,className:le("font-semibold leading-none tracking-tight",t),...e}));Re.displayName="CardTitle";const He=g.forwardRef(({className:t,...e},r)=>a.jsx("p",{ref:r,className:le("text-sm text-muted-foreground",t),...e}));He.displayName="CardDescription";const we=g.forwardRef(({className:t,...e},r)=>a.jsx("div",{ref:r,className:le("p-6 pt-0",t),...e}));we.displayName="CardContent";const Fs=g.forwardRef(({className:t,...e},r)=>a.jsx("div",{ref:r,className:le("flex items-center p-6 pt-0",t),...e}));Fs.displayName="CardFooter";/**
31
31
  * @license lucide-react v0.451.0 - ISC
32
32
  *
33
33
  * This source code is licensed under the ISC license.
@@ -1087,7 +1087,7 @@ React keys must be passed directly to JSX without using spread:
1087
1087
  *
1088
1088
  * This source code is licensed under the ISC license.
1089
1089
  * See the LICENSE file in the root directory of this source tree.
1090
- */const Pa=s("Bookmark",[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}]]);/**
1090
+ */const Xa=s("Bookmark",[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}]]);/**
1091
1091
  * @license lucide-react v0.451.0 - ISC
1092
1092
  *
1093
1093
  * This source code is licensed under the ISC license.
@@ -1522,7 +1522,7 @@ React keys must be passed directly to JSX without using spread:
1522
1522
  *
1523
1523
  * This source code is licensed under the ISC license.
1524
1524
  * See the LICENSE file in the root directory of this source tree.
1525
- */const $a=s("ChartNoAxesColumnIncreasing",[["line",{x1:"12",x2:"12",y1:"20",y2:"10",key:"1vz5eb"}],["line",{x1:"18",x2:"18",y1:"20",y2:"4",key:"cun8e5"}],["line",{x1:"6",x2:"6",y1:"20",y2:"16",key:"hq0ia6"}]]);/**
1525
+ */const Ua=s("ChartNoAxesColumnIncreasing",[["line",{x1:"12",x2:"12",y1:"20",y2:"10",key:"1vz5eb"}],["line",{x1:"18",x2:"18",y1:"20",y2:"4",key:"cun8e5"}],["line",{x1:"6",x2:"6",y1:"20",y2:"16",key:"hq0ia6"}]]);/**
1526
1526
  * @license lucide-react v0.451.0 - ISC
1527
1527
  *
1528
1528
  * This source code is licensed under the ISC license.
@@ -1797,7 +1797,7 @@ React keys must be passed directly to JSX without using spread:
1797
1797
  *
1798
1798
  * This source code is licensed under the ISC license.
1799
1799
  * See the LICENSE file in the root directory of this source tree.
1800
- */const Ga=s("CircleHelp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
1800
+ */const $a=s("CircleHelp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
1801
1801
  * @license lucide-react v0.451.0 - ISC
1802
1802
  *
1803
1803
  * This source code is licensed under the ISC license.
@@ -4932,7 +4932,7 @@ React keys must be passed directly to JSX without using spread:
4932
4932
  *
4933
4933
  * This source code is licensed under the ISC license.
4934
4934
  * See the LICENSE file in the root directory of this source tree.
4935
- */const _a=s("Newspaper",[["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2",key:"7pis2x"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M10 6h8v4h-8V6Z",key:"smlsk5"}]]);/**
4935
+ */const Pa=s("Newspaper",[["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2",key:"7pis2x"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M10 6h8v4h-8V6Z",key:"smlsk5"}]]);/**
4936
4936
  * @license lucide-react v0.451.0 - ISC
4937
4937
  *
4938
4938
  * This source code is licensed under the ISC license.
@@ -7427,7 +7427,7 @@ React keys must be passed directly to JSX without using spread:
7427
7427
  *
7428
7428
  * This source code is licensed under the ISC license.
7429
7429
  * See the LICENSE file in the root directory of this source tree.
7430
- */const Ra=s("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
7430
+ */const _a=s("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
7431
7431
  * @license lucide-react v0.451.0 - ISC
7432
7432
  *
7433
7433
  * This source code is licensed under the ISC license.
@@ -7717,12 +7717,12 @@ React keys must be passed directly to JSX without using spread:
7717
7717
  *
7718
7718
  * This source code is licensed under the ISC license.
7719
7719
  * See the LICENSE file in the root directory of this source tree.
7720
- */const ZT=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:p1,AArrowUp:y1,ALargeSmall:m1,Accessibility:f1,Activity:x1,AirVent:k1,Airplay:g1,AlarmClock:w1,AlarmClockCheck:pr,AlarmClockMinus:yr,AlarmClockOff:v1,AlarmClockPlus:mr,AlarmSmoke:M1,Album:b1,AlignCenter:S1,AlignCenterHorizontal:C1,AlignCenterVertical:j1,AlignEndHorizontal:L1,AlignEndVertical:I1,AlignHorizontalDistributeCenter:N1,AlignHorizontalDistributeEnd:A1,AlignHorizontalDistributeStart:P1,AlignHorizontalJustifyCenter:_1,AlignHorizontalJustifyEnd:R1,AlignHorizontalJustifyStart:T1,AlignHorizontalSpaceAround:q1,AlignHorizontalSpaceBetween:D1,AlignJustify:z1,AlignLeft:F1,AlignRight:E1,AlignStartHorizontal:O1,AlignStartVertical:H1,AlignVerticalDistributeCenter:V1,AlignVerticalDistributeEnd:B1,AlignVerticalDistributeStart:U1,AlignVerticalJustifyCenter:$1,AlignVerticalJustifyEnd:G1,AlignVerticalJustifyStart:W1,AlignVerticalSpaceAround:Z1,AlignVerticalSpaceBetween:X1,Ambulance:J1,Ampersand:Y1,Ampersands:K1,Amphora:Q1,Anchor:el,Angry:tl,Annoyed:al,Antenna:rl,Anvil:nl,Aperture:ol,AppWindow:sl,AppWindowMac:il,Apple:cl,Archive:hl,ArchiveRestore:ll,ArchiveX:dl,Armchair:ul,ArrowBigDown:yl,ArrowBigDownDash:pl,ArrowBigLeft:fl,ArrowBigLeftDash:ml,ArrowBigRight:kl,ArrowBigRightDash:xl,ArrowBigUp:vl,ArrowBigUpDash:gl,ArrowDown:Al,ArrowDown01:wl,ArrowDown10:Ml,ArrowDownAZ:fr,ArrowDownFromLine:bl,ArrowDownLeft:Cl,ArrowDownNarrowWide:jl,ArrowDownRight:Sl,ArrowDownToDot:Ll,ArrowDownToLine:Il,ArrowDownUp:Nl,ArrowDownWideNarrow:xr,ArrowDownZA:kr,ArrowLeft:zi,ArrowLeftFromLine:Pl,ArrowLeftRight:_l,ArrowLeftToLine:Rl,ArrowRight:xs,ArrowRightFromLine:Tl,ArrowRightLeft:ql,ArrowRightToLine:Dl,ArrowUp:Gl,ArrowUp01:zl,ArrowUp10:Fl,ArrowUpAZ:gr,ArrowUpDown:El,ArrowUpFromDot:Ol,ArrowUpFromLine:Hl,ArrowUpLeft:Vl,ArrowUpNarrowWide:vr,ArrowUpRight:Bl,ArrowUpToLine:Ul,ArrowUpWideNarrow:$l,ArrowUpZA:wr,ArrowsUpFromLine:Wl,Asterisk:Zl,AtSign:Xl,Atom:Jl,AudioLines:Yl,AudioWaveform:Kl,Award:Na,Axe:Ql,Axis3d:Mr,Baby:ed,Backpack:td,Badge:xd,BadgeAlert:ad,BadgeCent:rd,BadgeCheck:br,BadgeDollarSign:nd,BadgeEuro:od,BadgeHelp:id,BadgeIndianRupee:sd,BadgeInfo:cd,BadgeJapaneseYen:ld,BadgeMinus:dd,BadgePercent:hd,BadgePlus:ud,BadgePoundSterling:pd,BadgeRussianRuble:yd,BadgeSwissFranc:md,BadgeX:fd,BaggageClaim:kd,Ban:gd,Banana:vd,Bandage:wd,Banknote:Md,Barcode:bd,Baseline:Cd,Bath:jd,Battery:Pd,BatteryCharging:Sd,BatteryFull:Ld,BatteryLow:Id,BatteryMedium:Nd,BatteryWarning:Ad,Beaker:_d,Bean:Td,BeanOff:Rd,Bed:zd,BedDouble:qd,BedSingle:Dd,Beef:Fd,Beer:Od,BeerOff:Ed,Bell:ks,BellDot:Hd,BellElectric:Vd,BellMinus:Bd,BellOff:Ud,BellPlus:$d,BellRing:Gd,BetweenHorizontalEnd:Cr,BetweenHorizontalStart:jr,BetweenVerticalEnd:Wd,BetweenVerticalStart:Zd,BicepsFlexed:Xd,Bike:Jd,Binary:Yd,Binoculars:Kd,Biohazard:Qd,Bird:e2,Bitcoin:t2,Blend:a2,Blinds:r2,Blocks:n2,Bluetooth:c2,BluetoothConnected:o2,BluetoothOff:i2,BluetoothSearching:s2,Bold:l2,Bolt:d2,Bomb:h2,Bone:u2,Book:T2,BookA:p2,BookAudio:y2,BookCheck:m2,BookCopy:f2,BookDashed:Sr,BookDown:x2,BookHeadphones:k2,BookHeart:g2,BookImage:v2,BookKey:w2,BookLock:M2,BookMarked:b2,BookMinus:C2,BookOpen:Vt,BookOpenCheck:j2,BookOpenText:S2,BookPlus:L2,BookText:I2,BookType:N2,BookUp:P2,BookUp2:A2,BookUser:_2,BookX:R2,Bookmark:Pa,BookmarkCheck:pa,BookmarkMinus:q2,BookmarkPlus:dc,BookmarkX:D2,BoomBox:z2,Bot:hc,BotMessageSquare:F2,BotOff:E2,Box:O2,Boxes:H2,Braces:Lr,Brackets:V2,Brain:$2,BrainCircuit:B2,BrainCog:U2,BrickWall:G2,Briefcase:ft,BriefcaseBusiness:W2,BriefcaseConveyorBelt:Z2,BriefcaseMedical:X2,BringToFront:J2,Brush:Y2,Bug:e0,BugOff:K2,BugPlay:Q2,Building:gs,Building2:uc,Bus:a0,BusFront:t0,Cable:n0,CableCar:r0,Cake:i0,CakeSlice:o0,Calculator:s0,Calendar:pc,CalendarArrowDown:c0,CalendarArrowUp:l0,CalendarCheck:h0,CalendarCheck2:d0,CalendarClock:u0,CalendarCog:p0,CalendarDays:y0,CalendarFold:m0,CalendarHeart:f0,CalendarMinus:k0,CalendarMinus2:x0,CalendarOff:g0,CalendarPlus:w0,CalendarPlus2:v0,CalendarRange:M0,CalendarSearch:b0,CalendarX:j0,CalendarX2:C0,Camera:L0,CameraOff:S0,Candy:A0,CandyCane:I0,CandyOff:N0,Cannabis:P0,Captions:Ir,CaptionsOff:_0,Car:q0,CarFront:R0,CarTaxiFront:T0,Caravan:D0,Carrot:z0,CaseLower:F0,CaseSensitive:E0,CaseUpper:O0,CassetteTape:H0,Cast:V0,Castle:B0,Cat:U0,Cctv:$0,ChartArea:Nr,ChartBar:Pr,ChartBarBig:Ar,ChartBarDecreasing:G0,ChartBarIncreasing:W0,ChartBarStacked:Z0,ChartCandlestick:_r,ChartColumn:qr,ChartColumnBig:Rr,ChartColumnDecreasing:X0,ChartColumnIncreasing:Tr,ChartColumnStacked:J0,ChartGantt:Y0,ChartLine:Dr,ChartNetwork:K0,ChartNoAxesColumn:zr,ChartNoAxesColumnDecreasing:Q0,ChartNoAxesColumnIncreasing:$a,ChartNoAxesCombined:eh,ChartNoAxesGantt:Fr,ChartPie:Er,ChartScatter:Or,ChartSpline:th,Check:vs,CheckCheck:ah,ChefHat:rh,Cherry:nh,ChevronDown:Fi,ChevronFirst:oh,ChevronLast:ih,ChevronLeft:Ei,ChevronRight:Ja,ChevronUp:yc,ChevronsDown:ch,ChevronsDownUp:sh,ChevronsLeft:hh,ChevronsLeftRight:dh,ChevronsLeftRightEllipsis:lh,ChevronsRight:ph,ChevronsRightLeft:uh,ChevronsUp:mh,ChevronsUpDown:yh,Chrome:fh,Church:xh,Cigarette:gh,CigaretteOff:kh,Circle:Ah,CircleAlert:Jt,CircleArrowDown:Hr,CircleArrowLeft:Vr,CircleArrowOutDownLeft:Br,CircleArrowOutDownRight:Ur,CircleArrowOutUpLeft:$r,CircleArrowOutUpRight:Gr,CircleArrowRight:Wr,CircleArrowUp:Zr,CircleCheck:Xr,CircleCheckBig:St,CircleChevronDown:Jr,CircleChevronLeft:Yr,CircleChevronRight:Kr,CircleChevronUp:Qr,CircleDashed:vh,CircleDivide:en,CircleDollarSign:wh,CircleDot:bh,CircleDotDashed:Mh,CircleEllipsis:Ch,CircleEqual:jh,CircleFadingArrowUp:Sh,CircleFadingPlus:Lh,CircleGauge:tn,CircleHelp:Ga,CircleMinus:an,CircleOff:Ih,CircleParking:nn,CircleParkingOff:rn,CirclePause:on,CirclePercent:sn,CirclePlay:cn,CirclePlus:ln,CirclePower:dn,CircleSlash:Nh,CircleSlash2:hn,CircleStop:un,CircleUser:yn,CircleUserRound:pn,CircleX:ca,CircuitBoard:Ph,Citrus:_h,Clapperboard:Rh,Clipboard:Vh,ClipboardCheck:Th,ClipboardCopy:qh,ClipboardList:Dh,ClipboardMinus:zh,ClipboardPaste:Fh,ClipboardPen:fn,ClipboardPenLine:mn,ClipboardPlus:Eh,ClipboardType:Oh,ClipboardX:Hh,Clock:Kt,Clock1:Bh,Clock10:Uh,Clock11:$h,Clock12:Gh,Clock2:Wh,Clock3:Zh,Clock4:Xh,Clock5:Jh,Clock6:Yh,Clock7:Kh,Clock8:Qh,Clock9:eu,ClockAlert:tu,ClockArrowDown:au,ClockArrowUp:ru,Cloud:xu,CloudCog:nu,CloudDownload:xn,CloudDrizzle:ou,CloudFog:iu,CloudHail:su,CloudLightning:cu,CloudMoon:du,CloudMoonRain:lu,CloudOff:hu,CloudRain:pu,CloudRainWind:uu,CloudSnow:yu,CloudSun:fu,CloudSunRain:mu,CloudUpload:kn,Cloudy:ku,Clover:gu,Club:vu,Code:wu,CodeXml:gn,Codepen:Mu,Codesandbox:bu,Coffee:Cu,Cog:ju,Coins:Su,Columns2:vn,Columns3:wn,Columns4:Lu,Combine:Iu,Command:Nu,Compass:Au,Component:Pu,Computer:_u,ConciergeBell:Ru,Cone:Tu,Construction:qu,Contact:Du,ContactRound:Mn,Container:zu,Contrast:Fu,Cookie:Eu,CookingPot:Ou,Copy:Gu,CopyCheck:Hu,CopyMinus:Vu,CopyPlus:Bu,CopySlash:Uu,CopyX:$u,Copyleft:Wu,Copyright:Zu,CornerDownLeft:Xu,CornerDownRight:Ju,CornerLeftDown:Yu,CornerLeftUp:Ku,CornerRightDown:Qu,CornerRightUp:ep,CornerUpLeft:tp,CornerUpRight:ap,Cpu:rp,CreativeCommons:np,CreditCard:mc,Croissant:op,Crop:ip,Cross:sp,Crosshair:cp,Crown:lp,Cuboid:dp,CupSoda:hp,Currency:up,Cylinder:pp,Dam:yp,Database:xp,DatabaseBackup:mp,DatabaseZap:fp,Delete:kp,Dessert:gp,Diameter:vp,Diamond:bp,DiamondMinus:wp,DiamondPercent:bn,DiamondPlus:Mp,Dice1:Cp,Dice2:jp,Dice3:Sp,Dice4:Lp,Dice5:Ip,Dice6:Np,Dices:Ap,Diff:Pp,Disc:qp,Disc2:_p,Disc3:Rp,DiscAlbum:Tp,Divide:Dp,Dna:Fp,DnaOff:zp,Dock:Ep,Dog:Op,DollarSign:fc,Donut:Hp,DoorClosed:Vp,DoorOpen:Bp,Dot:Up,Download:$p,DraftingCompass:Gp,Drama:Wp,Dribbble:Zp,Drill:Xp,Droplet:Jp,Droplets:Yp,Drum:Kp,Drumstick:Qp,Dumbbell:ey,Ear:ay,EarOff:ty,Earth:Cn,EarthLock:ry,Eclipse:ny,Egg:sy,EggFried:oy,EggOff:iy,Ellipsis:Sn,EllipsisVertical:jn,Equal:ly,EqualNot:cy,Eraser:dy,EthernetPort:hy,Euro:uy,Expand:py,ExternalLink:Oi,Eye:xc,EyeClosed:yy,EyeOff:my,Facebook:fy,Factory:xy,Fan:ky,FastForward:gy,Feather:vy,Fence:wy,FerrisWheel:My,Figma:by,File:vm,FileArchive:Cy,FileAudio:Sy,FileAudio2:jy,FileAxis3d:Ln,FileBadge:Iy,FileBadge2:Ly,FileBox:Ny,FileChartColumn:Nn,FileChartColumnIncreasing:In,FileChartLine:An,FileChartPie:Pn,FileCheck:Py,FileCheck2:Ay,FileClock:_y,FileCode:Ty,FileCode2:Ry,FileCog:_n,FileDiff:qy,FileDigit:Dy,FileDown:zy,FileHeart:Fy,FileImage:Ey,FileInput:Oy,FileJson:Vy,FileJson2:Hy,FileKey:Uy,FileKey2:By,FileLock:Gy,FileLock2:$y,FileMinus:Zy,FileMinus2:Wy,FileMusic:Xy,FileOutput:Jy,FilePen:Tn,FilePenLine:Rn,FilePlus:Ky,FilePlus2:Yy,FileQuestion:Qy,FileScan:em,FileSearch:am,FileSearch2:tm,FileSliders:rm,FileSpreadsheet:nm,FileStack:om,FileSymlink:im,FileTerminal:sm,FileText:cm,FileType:dm,FileType2:lm,FileUp:hm,FileUser:um,FileVideo:ym,FileVideo2:pm,FileVolume:fm,FileVolume2:mm,FileWarning:xm,FileX:gm,FileX2:km,Files:wm,Film:Mm,Filter:ws,FilterX:bm,Fingerprint:Cm,FireExtinguisher:jm,Fish:Im,FishOff:Sm,FishSymbol:Lm,Flag:kc,FlagOff:Nm,FlagTriangleLeft:Am,FlagTriangleRight:Pm,Flame:Rm,FlameKindling:_m,Flashlight:qm,FlashlightOff:Tm,FlaskConical:zm,FlaskConicalOff:Dm,FlaskRound:Fm,FlipHorizontal:Om,FlipHorizontal2:Em,FlipVertical:Vm,FlipVertical2:Hm,Flower:Um,Flower2:Bm,Focus:$m,FoldHorizontal:Gm,FoldVertical:Wm,Folder:Mf,FolderArchive:Zm,FolderCheck:Xm,FolderClock:Jm,FolderClosed:Ym,FolderCode:Km,FolderCog:qn,FolderDot:Qm,FolderDown:ef,FolderGit:af,FolderGit2:tf,FolderHeart:rf,FolderInput:nf,FolderKanban:of,FolderKey:sf,FolderLock:cf,FolderMinus:lf,FolderOpen:hf,FolderOpenDot:df,FolderOutput:uf,FolderPen:Dn,FolderPlus:pf,FolderRoot:yf,FolderSearch:ff,FolderSearch2:mf,FolderSymlink:xf,FolderSync:kf,FolderTree:gf,FolderUp:vf,FolderX:wf,Folders:bf,Footprints:Cf,Forklift:jf,Forward:Sf,Frame:Lf,Framer:If,Frown:Nf,Fuel:Af,Fullscreen:Pf,GalleryHorizontal:Rf,GalleryHorizontalEnd:_f,GalleryThumbnails:Tf,GalleryVertical:Df,GalleryVerticalEnd:qf,Gamepad:Ff,Gamepad2:zf,Gauge:Ef,Gavel:Of,Gem:Hf,Ghost:Vf,Gift:Bf,GitBranch:$f,GitBranchPlus:Uf,GitCommitHorizontal:zn,GitCommitVertical:Gf,GitCompare:Zf,GitCompareArrows:Wf,GitFork:Xf,GitGraph:Jf,GitMerge:Yf,GitPullRequest:r4,GitPullRequestArrow:Kf,GitPullRequestClosed:Qf,GitPullRequestCreate:t4,GitPullRequestCreateArrow:e4,GitPullRequestDraft:a4,Github:n4,Gitlab:o4,GlassWater:i4,Glasses:s4,Globe:Ms,GlobeLock:c4,Goal:l4,Grab:d4,GraduationCap:bs,Grape:h4,Grid2x2:Fn,Grid2x2Check:u4,Grid2x2Plus:p4,Grid2x2X:y4,Grid3x3:Zt,Grip:x4,GripHorizontal:m4,GripVertical:f4,Group:k4,Guitar:g4,Ham:v4,Hammer:w4,Hand:S4,HandCoins:M4,HandHeart:b4,HandHelping:En,HandMetal:C4,HandPlatter:j4,Handshake:L4,HardDrive:A4,HardDriveDownload:I4,HardDriveUpload:N4,HardHat:P4,Hash:_4,Haze:R4,HdmiPort:T4,Heading:H4,Heading1:q4,Heading2:D4,Heading3:z4,Heading4:F4,Heading5:E4,Heading6:O4,HeadphoneOff:V4,Headphones:B4,Headset:U4,Heart:Cs,HeartCrack:$4,HeartHandshake:G4,HeartOff:W4,HeartPulse:Z4,Heater:X4,Hexagon:J4,Highlighter:Y4,History:K4,Hop:ex,HopOff:Q4,Hospital:tx,Hotel:ax,Hourglass:rx,House:ja,HousePlug:nx,HousePlus:ox,IceCreamBowl:On,IceCreamCone:Hn,IdCard:ix,Image:px,ImageDown:sx,ImageMinus:cx,ImageOff:lx,ImagePlay:dx,ImagePlus:hx,ImageUp:ux,Images:yx,Import:mx,Inbox:fx,IndentDecrease:Vn,IndentIncrease:Bn,IndianRupee:xx,Infinity:kx,Info:gx,InspectionPanel:vx,Instagram:wx,Italic:Mx,IterationCcw:bx,IterationCw:Cx,JapaneseYen:jx,Joystick:Sx,Kanban:Lx,Key:Ax,KeyRound:Ix,KeySquare:Nx,Keyboard:Rx,KeyboardMusic:Px,KeyboardOff:_x,Lamp:Ex,LampCeiling:Tx,LampDesk:qx,LampFloor:Dx,LampWallDown:zx,LampWallUp:Fx,LandPlot:Ox,Landmark:Hx,Languages:Vx,Laptop:Bx,LaptopMinimal:Un,Lasso:$x,LassoSelect:Ux,Laugh:Gx,Layers:Xx,Layers2:Wx,Layers3:Zx,LayoutDashboard:gc,LayoutGrid:Jx,LayoutList:Yx,LayoutPanelLeft:Kx,LayoutPanelTop:Qx,LayoutTemplate:ek,Leaf:tk,LeafyGreen:ak,Lectern:rk,LetterText:nk,Library:ik,LibraryBig:ok,LifeBuoy:sk,Ligature:ck,Lightbulb:dk,LightbulbOff:lk,Link:vc,Link2:uk,Link2Off:hk,Linkedin:pk,List:wc,ListCheck:yk,ListChecks:mk,ListCollapse:fk,ListEnd:xk,ListFilter:kk,ListMinus:gk,ListMusic:vk,ListOrdered:wk,ListPlus:Mk,ListRestart:bk,ListStart:Ck,ListTodo:jk,ListTree:Sk,ListVideo:Lk,ListX:Ik,Loader:Ak,LoaderCircle:$n,LoaderPinwheel:Nk,Locate:Rk,LocateFixed:Pk,LocateOff:_k,Lock:Mc,LockKeyhole:Tk,LockKeyholeOpen:Gn,LockOpen:Wn,LogIn:qk,LogOut:bc,Logs:Dk,Lollipop:zk,Luggage:Fk,Magnet:Ek,Mail:ya,MailCheck:Ok,MailMinus:Hk,MailOpen:Vk,MailPlus:Bk,MailQuestion:Uk,MailSearch:$k,MailWarning:Gk,MailX:Wk,Mailbox:Zk,Mails:Xk,Map:sg,MapPin:Bt,MapPinCheck:Yk,MapPinCheckInside:Jk,MapPinHouse:Kk,MapPinMinus:eg,MapPinMinusInside:Qk,MapPinOff:tg,MapPinPlus:rg,MapPinPlusInside:ag,MapPinX:og,MapPinXInside:ng,MapPinned:ig,Martini:cg,Maximize:dg,Maximize2:lg,Medal:hg,Megaphone:pg,MegaphoneOff:ug,Meh:yg,MemoryStick:mg,Menu:js,Merge:fg,MessageCircle:Lg,MessageCircleCode:xg,MessageCircleDashed:kg,MessageCircleHeart:gg,MessageCircleMore:vg,MessageCircleOff:wg,MessageCirclePlus:Mg,MessageCircleQuestion:bg,MessageCircleReply:Cg,MessageCircleWarning:jg,MessageCircleX:Sg,MessageSquare:Ss,MessageSquareCode:Ig,MessageSquareDashed:Ng,MessageSquareDiff:Ag,MessageSquareDot:Pg,MessageSquareHeart:_g,MessageSquareLock:Rg,MessageSquareMore:Tg,MessageSquareOff:qg,MessageSquarePlus:Dg,MessageSquareQuote:zg,MessageSquareReply:Fg,MessageSquareShare:Eg,MessageSquareText:Og,MessageSquareWarning:Hg,MessageSquareX:Vg,MessagesSquare:Bg,Mic:$g,MicOff:Ug,MicVocal:Zn,Microchip:Gg,Microscope:Wg,Microwave:Zg,Milestone:Xg,Milk:Yg,MilkOff:Jg,Minimize:Qg,Minimize2:Kg,Minus:Cc,Monitor:u5,MonitorCheck:e5,MonitorCog:t5,MonitorDot:a5,MonitorDown:r5,MonitorOff:n5,MonitorPause:o5,MonitorPlay:i5,MonitorSmartphone:s5,MonitorSpeaker:c5,MonitorStop:l5,MonitorUp:d5,MonitorX:h5,Moon:y5,MoonStar:p5,Mountain:f5,MountainSnow:m5,Mouse:M5,MouseOff:x5,MousePointer:w5,MousePointer2:k5,MousePointerBan:g5,MousePointerClick:v5,Move:q5,Move3d:Xn,MoveDiagonal:C5,MoveDiagonal2:b5,MoveDown:L5,MoveDownLeft:j5,MoveDownRight:S5,MoveHorizontal:I5,MoveLeft:N5,MoveRight:A5,MoveUp:R5,MoveUpLeft:P5,MoveUpRight:_5,MoveVertical:T5,Music:E5,Music2:D5,Music3:z5,Music4:F5,Navigation:B5,Navigation2:H5,Navigation2Off:O5,NavigationOff:V5,Network:U5,Newspaper:_a,Nfc:$5,Notebook:X5,NotebookPen:G5,NotebookTabs:W5,NotebookText:Z5,NotepadText:Y5,NotepadTextDashed:J5,Nut:Q5,NutOff:K5,Octagon:t3,OctagonAlert:Jn,OctagonMinus:e3,OctagonPause:Yn,OctagonX:Kn,Omega:a3,Option:r3,Orbit:n3,Origami:o3,Package:p3,Package2:i3,PackageCheck:s3,PackageMinus:c3,PackageOpen:l3,PackagePlus:d3,PackageSearch:h3,PackageX:u3,PaintBucket:y3,PaintRoller:m3,Paintbrush:f3,PaintbrushVertical:Qn,Palette:x3,PanelBottom:v3,PanelBottomClose:k3,PanelBottomDashed:eo,PanelBottomOpen:g3,PanelLeft:no,PanelLeftClose:to,PanelLeftDashed:ao,PanelLeftOpen:ro,PanelRight:b3,PanelRightClose:w3,PanelRightDashed:oo,PanelRightOpen:M3,PanelTop:S3,PanelTopClose:C3,PanelTopDashed:io,PanelTopOpen:j3,PanelsLeftBottom:L3,PanelsRightBottom:I3,PanelsTopLeft:so,Paperclip:N3,Parentheses:A3,ParkingMeter:P3,PartyPopper:_3,Pause:R3,PawPrint:T3,PcCase:q3,Pen:lo,PenLine:co,PenOff:D3,PenTool:z3,Pencil:H3,PencilLine:F3,PencilOff:E3,PencilRuler:O3,Pentagon:V3,Percent:B3,PersonStanding:U3,PhilippinePeso:$3,Phone:Hi,PhoneCall:G3,PhoneForwarded:W3,PhoneIncoming:Z3,PhoneMissed:X3,PhoneOff:J3,PhoneOutgoing:Y3,Pi:K3,Piano:Q3,Pickaxe:ev,PictureInPicture:av,PictureInPicture2:tv,PiggyBank:rv,Pilcrow:iv,PilcrowLeft:nv,PilcrowRight:ov,Pill:cv,PillBottle:sv,Pin:dv,PinOff:lv,Pipette:hv,Pizza:uv,Plane:mv,PlaneLanding:pv,PlaneTakeoff:yv,Play:jc,Plug:xv,Plug2:fv,PlugZap:ho,Plus:Sc,Pocket:gv,PocketKnife:kv,Podcast:vv,Pointer:Mv,PointerOff:wv,Popcorn:bv,Popsicle:Cv,PoundSterling:jv,Power:Lv,PowerOff:Sv,Presentation:Iv,Printer:Av,PrinterCheck:Nv,Projector:Pv,Proportions:_v,Puzzle:Rv,Pyramid:Tv,QrCode:qv,Quote:Ls,Rabbit:Dv,Radar:zv,Radiation:Fv,Radical:Ev,Radio:Vv,RadioReceiver:Ov,RadioTower:Hv,Radius:Bv,RailSymbol:Uv,Rainbow:$v,Rat:Gv,Ratio:Wv,Receipt:a6,ReceiptCent:Zv,ReceiptEuro:Xv,ReceiptIndianRupee:Jv,ReceiptJapaneseYen:Yv,ReceiptPoundSterling:Kv,ReceiptRussianRuble:Qv,ReceiptSwissFranc:e6,ReceiptText:t6,RectangleEllipsis:uo,RectangleHorizontal:r6,RectangleVertical:n6,Recycle:o6,Redo:c6,Redo2:i6,RedoDot:s6,RefreshCcw:d6,RefreshCcwDot:l6,RefreshCw:u6,RefreshCwOff:h6,Refrigerator:p6,Regex:y6,RemoveFormatting:m6,Repeat:k6,Repeat1:f6,Repeat2:x6,Replace:v6,ReplaceAll:g6,Reply:M6,ReplyAll:w6,Rewind:b6,Ribbon:C6,Rocket:j6,RockingChair:S6,RollerCoaster:L6,Rotate3d:po,RotateCcw:N6,RotateCcwSquare:I6,RotateCw:P6,RotateCwSquare:A6,Route:R6,RouteOff:_6,Router:T6,Rows2:yo,Rows3:mo,Rows4:q6,Rss:D6,Ruler:z6,RussianRuble:F6,Sailboat:E6,Salad:O6,Sandwich:H6,Satellite:B6,SatelliteDish:V6,Save:G6,SaveAll:U6,SaveOff:$6,Scale:W6,Scale3d:fo,Scaling:Z6,Scan:a8,ScanBarcode:X6,ScanEye:J6,ScanFace:Y6,ScanLine:K6,ScanQrCode:Q6,ScanSearch:e8,ScanText:t8,School:r8,Scissors:o8,ScissorsLineDashed:n8,ScreenShare:s8,ScreenShareOff:i8,Scroll:l8,ScrollText:c8,Search:Ut,SearchCheck:d8,SearchCode:h8,SearchSlash:u8,SearchX:p8,Section:y8,Send:Lc,SendHorizontal:xo,SendToBack:m8,SeparatorHorizontal:f8,SeparatorVertical:x8,Server:w8,ServerCog:k8,ServerCrash:g8,ServerOff:v8,Settings:Is,Settings2:M8,Shapes:b8,Share:C8,Share2:Ns,Sheet:j8,Shell:S8,Shield:Ic,ShieldAlert:L8,ShieldBan:I8,ShieldCheck:N8,ShieldEllipsis:A8,ShieldHalf:P8,ShieldMinus:_8,ShieldOff:R8,ShieldPlus:T8,ShieldQuestion:q8,ShieldX:ko,Ship:z8,ShipWheel:D8,Shirt:F8,ShoppingBag:E8,ShoppingBasket:O8,ShoppingCart:As,Shovel:H8,ShowerHead:V8,Shrink:B8,Shrub:U8,Shuffle:$8,Sigma:G8,Signal:Nc,SignalHigh:W8,SignalLow:Z8,SignalMedium:X8,SignalZero:J8,Signature:Y8,Signpost:Q8,SignpostBig:K8,Siren:e7,SkipBack:t7,SkipForward:a7,Skull:r7,Slack:n7,Slash:o7,Slice:i7,SlidersHorizontal:Ya,SlidersVertical:go,Smartphone:l7,SmartphoneCharging:s7,SmartphoneNfc:c7,Smile:h7,SmilePlus:d7,Snail:u7,Snowflake:p7,Sofa:y7,Soup:m7,Space:f7,Spade:x7,Sparkle:k7,Sparkles:vo,Speaker:g7,Speech:v7,SpellCheck:M7,SpellCheck2:w7,Spline:b7,Split:C7,SprayCan:j7,Sprout:S7,Square:_7,SquareActivity:wo,SquareArrowDown:Co,SquareArrowDownLeft:Mo,SquareArrowDownRight:bo,SquareArrowLeft:Sa,SquareArrowOutDownLeft:jo,SquareArrowOutDownRight:So,SquareArrowOutUpLeft:Lo,SquareArrowOutUpRight:Io,SquareArrowRight:La,SquareArrowUp:Po,SquareArrowUpLeft:No,SquareArrowUpRight:Ao,SquareAsterisk:_o,SquareBottomDashedScissors:Ro,SquareChartGantt:ia,SquareCheck:qo,SquareCheckBig:To,SquareChevronDown:Do,SquareChevronLeft:zo,SquareChevronRight:Fo,SquareChevronUp:Eo,SquareCode:Oo,SquareDashed:Bo,SquareDashedBottom:I7,SquareDashedBottomCode:L7,SquareDashedKanban:Ho,SquareDashedMousePointer:Vo,SquareDivide:Uo,SquareDot:$o,SquareEqual:Go,SquareFunction:Wo,SquareKanban:Zo,SquareLibrary:Xo,SquareM:Jo,SquareMenu:Yo,SquareMinus:Ko,SquareMousePointer:Qo,SquareParking:ti,SquareParkingOff:ei,SquarePen:bt,SquarePercent:ai,SquarePi:ri,SquarePilcrow:ni,SquarePlay:oi,SquarePlus:ii,SquarePower:si,SquareRadical:N7,SquareScissors:ci,SquareSigma:li,SquareSlash:di,SquareSplitHorizontal:hi,SquareSplitVertical:ui,SquareSquare:A7,SquareStack:P7,SquareTerminal:pi,SquareUser:mi,SquareUserRound:yi,SquareX:fi,Squircle:R7,Squirrel:T7,Stamp:q7,Star:Et,StarHalf:D7,StarOff:z7,StepBack:F7,StepForward:E7,Stethoscope:O7,Sticker:H7,StickyNote:V7,Store:B7,StretchHorizontal:U7,StretchVertical:$7,Strikethrough:G7,Subscript:W7,Sun:K7,SunDim:Z7,SunMedium:X7,SunMoon:J7,SunSnow:Y7,Sunrise:Q7,Sunset:ew,Superscript:tw,SwatchBook:aw,SwissFranc:rw,SwitchCamera:nw,Sword:ow,Swords:iw,Syringe:sw,Table:mw,Table2:cw,TableCellsMerge:lw,TableCellsSplit:dw,TableColumnsSplit:hw,TableOfContents:uw,TableProperties:pw,TableRowsSplit:yw,Tablet:xw,TabletSmartphone:fw,Tablets:kw,Tag:gw,Tags:vw,Tally1:ww,Tally2:Mw,Tally3:bw,Tally4:Cw,Tally5:jw,Tangent:Sw,Target:Lw,Telescope:Iw,Tent:Aw,TentTree:Nw,Terminal:Pw,TestTube:_w,TestTubeDiagonal:xi,TestTubes:Rw,Text:Fw,TextCursor:qw,TextCursorInput:Tw,TextQuote:Dw,TextSearch:zw,TextSelect:ki,Theater:Ew,Thermometer:Vw,ThermometerSnowflake:Ow,ThermometerSun:Hw,ThumbsDown:Bw,ThumbsUp:Uw,Ticket:Yw,TicketCheck:$w,TicketMinus:Gw,TicketPercent:Ww,TicketPlus:Zw,TicketSlash:Xw,TicketX:Jw,Tickets:Qw,TicketsPlane:Kw,Timer:aM,TimerOff:eM,TimerReset:tM,ToggleLeft:rM,ToggleRight:nM,Tornado:oM,Torus:iM,Touchpad:cM,TouchpadOff:sM,TowerControl:lM,ToyBrick:dM,Tractor:hM,TrafficCone:uM,TrainFront:yM,TrainFrontTunnel:pM,TrainTrack:mM,TramFront:gi,Trash:fM,Trash2:Ac,TreeDeciduous:xM,TreePalm:vi,TreePine:kM,Trees:gM,Trello:vM,TrendingDown:wM,TrendingUp:Vi,TrendingUpDown:MM,Triangle:CM,TriangleAlert:wi,TriangleRight:bM,Trophy:jM,Truck:SM,Turtle:LM,Tv:NM,TvMinimal:Mi,TvMinimalPlay:IM,Twitch:AM,Twitter:PM,Type:RM,TypeOutline:_M,Umbrella:qM,UmbrellaOff:TM,Underline:DM,Undo:EM,Undo2:zM,UndoDot:FM,UnfoldHorizontal:OM,UnfoldVertical:HM,Ungroup:VM,University:bi,Unlink:UM,Unlink2:BM,Unplug:$M,Upload:Ps,Usb:GM,User:Pc,UserCheck:WM,UserCog:ZM,UserMinus:XM,UserPen:JM,UserPlus:YM,UserRound:Ni,UserRoundCheck:Ci,UserRoundCog:ji,UserRoundMinus:Si,UserRoundPen:KM,UserRoundPlus:Li,UserRoundSearch:QM,UserRoundX:Ii,UserSearch:eb,UserX:tb,Users:Ra,UsersRound:Ai,Utensils:_i,UtensilsCrossed:Pi,UtilityPole:ab,Variable:rb,Vault:nb,Vegan:ob,VenetianMask:ib,Vibrate:cb,VibrateOff:sb,Video:db,VideoOff:lb,Videotape:hb,View:ub,Voicemail:pb,Volleyball:yb,Volume:gb,Volume1:mb,Volume2:fb,VolumeOff:xb,VolumeX:kb,Vote:vb,Wallet:Mb,WalletCards:wb,WalletMinimal:Ri,Wallpaper:bb,Wand:Cb,WandSparkles:Ti,Warehouse:jb,WashingMachine:Sb,Watch:Lb,Waves:Ib,Waypoints:Nb,Webcam:Ab,Webhook:_b,WebhookOff:Pb,Weight:Rb,Wheat:qb,WheatOff:Tb,WholeWord:Db,Wifi:Hb,WifiHigh:zb,WifiLow:Fb,WifiOff:Eb,WifiZero:Ob,Wind:Vb,Wine:Ub,WineOff:Bb,Workflow:$b,Worm:Gb,WrapText:Wb,Wrench:Zb,X:Qt,Youtube:Xb,Zap:Yb,ZapOff:Jb,ZoomIn:Kb,ZoomOut:Qb},Symbol.toStringTag,{value:"Module"}));/**
7720
+ */const ZT=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:p1,AArrowUp:y1,ALargeSmall:m1,Accessibility:f1,Activity:x1,AirVent:k1,Airplay:g1,AlarmClock:w1,AlarmClockCheck:pr,AlarmClockMinus:yr,AlarmClockOff:v1,AlarmClockPlus:mr,AlarmSmoke:M1,Album:b1,AlignCenter:S1,AlignCenterHorizontal:C1,AlignCenterVertical:j1,AlignEndHorizontal:L1,AlignEndVertical:I1,AlignHorizontalDistributeCenter:N1,AlignHorizontalDistributeEnd:A1,AlignHorizontalDistributeStart:P1,AlignHorizontalJustifyCenter:_1,AlignHorizontalJustifyEnd:R1,AlignHorizontalJustifyStart:T1,AlignHorizontalSpaceAround:q1,AlignHorizontalSpaceBetween:D1,AlignJustify:z1,AlignLeft:F1,AlignRight:E1,AlignStartHorizontal:O1,AlignStartVertical:H1,AlignVerticalDistributeCenter:V1,AlignVerticalDistributeEnd:B1,AlignVerticalDistributeStart:U1,AlignVerticalJustifyCenter:$1,AlignVerticalJustifyEnd:G1,AlignVerticalJustifyStart:W1,AlignVerticalSpaceAround:Z1,AlignVerticalSpaceBetween:X1,Ambulance:J1,Ampersand:Y1,Ampersands:K1,Amphora:Q1,Anchor:el,Angry:tl,Annoyed:al,Antenna:rl,Anvil:nl,Aperture:ol,AppWindow:sl,AppWindowMac:il,Apple:cl,Archive:hl,ArchiveRestore:ll,ArchiveX:dl,Armchair:ul,ArrowBigDown:yl,ArrowBigDownDash:pl,ArrowBigLeft:fl,ArrowBigLeftDash:ml,ArrowBigRight:kl,ArrowBigRightDash:xl,ArrowBigUp:vl,ArrowBigUpDash:gl,ArrowDown:Al,ArrowDown01:wl,ArrowDown10:Ml,ArrowDownAZ:fr,ArrowDownFromLine:bl,ArrowDownLeft:Cl,ArrowDownNarrowWide:jl,ArrowDownRight:Sl,ArrowDownToDot:Ll,ArrowDownToLine:Il,ArrowDownUp:Nl,ArrowDownWideNarrow:xr,ArrowDownZA:kr,ArrowLeft:zi,ArrowLeftFromLine:Pl,ArrowLeftRight:_l,ArrowLeftToLine:Rl,ArrowRight:xs,ArrowRightFromLine:Tl,ArrowRightLeft:ql,ArrowRightToLine:Dl,ArrowUp:Gl,ArrowUp01:zl,ArrowUp10:Fl,ArrowUpAZ:gr,ArrowUpDown:El,ArrowUpFromDot:Ol,ArrowUpFromLine:Hl,ArrowUpLeft:Vl,ArrowUpNarrowWide:vr,ArrowUpRight:Bl,ArrowUpToLine:Ul,ArrowUpWideNarrow:$l,ArrowUpZA:wr,ArrowsUpFromLine:Wl,Asterisk:Zl,AtSign:Xl,Atom:Jl,AudioLines:Yl,AudioWaveform:Kl,Award:Na,Axe:Ql,Axis3d:Mr,Baby:ed,Backpack:td,Badge:xd,BadgeAlert:ad,BadgeCent:rd,BadgeCheck:br,BadgeDollarSign:nd,BadgeEuro:od,BadgeHelp:id,BadgeIndianRupee:sd,BadgeInfo:cd,BadgeJapaneseYen:ld,BadgeMinus:dd,BadgePercent:hd,BadgePlus:ud,BadgePoundSterling:pd,BadgeRussianRuble:yd,BadgeSwissFranc:md,BadgeX:fd,BaggageClaim:kd,Ban:gd,Banana:vd,Bandage:wd,Banknote:Md,Barcode:bd,Baseline:Cd,Bath:jd,Battery:Pd,BatteryCharging:Sd,BatteryFull:Ld,BatteryLow:Id,BatteryMedium:Nd,BatteryWarning:Ad,Beaker:_d,Bean:Td,BeanOff:Rd,Bed:zd,BedDouble:qd,BedSingle:Dd,Beef:Fd,Beer:Od,BeerOff:Ed,Bell:ks,BellDot:Hd,BellElectric:Vd,BellMinus:Bd,BellOff:Ud,BellPlus:$d,BellRing:Gd,BetweenHorizontalEnd:Cr,BetweenHorizontalStart:jr,BetweenVerticalEnd:Wd,BetweenVerticalStart:Zd,BicepsFlexed:Xd,Bike:Jd,Binary:Yd,Binoculars:Kd,Biohazard:Qd,Bird:e2,Bitcoin:t2,Blend:a2,Blinds:r2,Blocks:n2,Bluetooth:c2,BluetoothConnected:o2,BluetoothOff:i2,BluetoothSearching:s2,Bold:l2,Bolt:d2,Bomb:h2,Bone:u2,Book:T2,BookA:p2,BookAudio:y2,BookCheck:m2,BookCopy:f2,BookDashed:Sr,BookDown:x2,BookHeadphones:k2,BookHeart:g2,BookImage:v2,BookKey:w2,BookLock:M2,BookMarked:b2,BookMinus:C2,BookOpen:Vt,BookOpenCheck:j2,BookOpenText:S2,BookPlus:L2,BookText:I2,BookType:N2,BookUp:P2,BookUp2:A2,BookUser:_2,BookX:R2,Bookmark:Xa,BookmarkCheck:pa,BookmarkMinus:q2,BookmarkPlus:dc,BookmarkX:D2,BoomBox:z2,Bot:hc,BotMessageSquare:F2,BotOff:E2,Box:O2,Boxes:H2,Braces:Lr,Brackets:V2,Brain:$2,BrainCircuit:B2,BrainCog:U2,BrickWall:G2,Briefcase:ft,BriefcaseBusiness:W2,BriefcaseConveyorBelt:Z2,BriefcaseMedical:X2,BringToFront:J2,Brush:Y2,Bug:e0,BugOff:K2,BugPlay:Q2,Building:gs,Building2:uc,Bus:a0,BusFront:t0,Cable:n0,CableCar:r0,Cake:i0,CakeSlice:o0,Calculator:s0,Calendar:pc,CalendarArrowDown:c0,CalendarArrowUp:l0,CalendarCheck:h0,CalendarCheck2:d0,CalendarClock:u0,CalendarCog:p0,CalendarDays:y0,CalendarFold:m0,CalendarHeart:f0,CalendarMinus:k0,CalendarMinus2:x0,CalendarOff:g0,CalendarPlus:w0,CalendarPlus2:v0,CalendarRange:M0,CalendarSearch:b0,CalendarX:j0,CalendarX2:C0,Camera:L0,CameraOff:S0,Candy:A0,CandyCane:I0,CandyOff:N0,Cannabis:P0,Captions:Ir,CaptionsOff:_0,Car:q0,CarFront:R0,CarTaxiFront:T0,Caravan:D0,Carrot:z0,CaseLower:F0,CaseSensitive:E0,CaseUpper:O0,CassetteTape:H0,Cast:V0,Castle:B0,Cat:U0,Cctv:$0,ChartArea:Nr,ChartBar:Pr,ChartBarBig:Ar,ChartBarDecreasing:G0,ChartBarIncreasing:W0,ChartBarStacked:Z0,ChartCandlestick:_r,ChartColumn:qr,ChartColumnBig:Rr,ChartColumnDecreasing:X0,ChartColumnIncreasing:Tr,ChartColumnStacked:J0,ChartGantt:Y0,ChartLine:Dr,ChartNetwork:K0,ChartNoAxesColumn:zr,ChartNoAxesColumnDecreasing:Q0,ChartNoAxesColumnIncreasing:Ua,ChartNoAxesCombined:eh,ChartNoAxesGantt:Fr,ChartPie:Er,ChartScatter:Or,ChartSpline:th,Check:vs,CheckCheck:ah,ChefHat:rh,Cherry:nh,ChevronDown:Fi,ChevronFirst:oh,ChevronLast:ih,ChevronLeft:Ei,ChevronRight:Ja,ChevronUp:yc,ChevronsDown:ch,ChevronsDownUp:sh,ChevronsLeft:hh,ChevronsLeftRight:dh,ChevronsLeftRightEllipsis:lh,ChevronsRight:ph,ChevronsRightLeft:uh,ChevronsUp:mh,ChevronsUpDown:yh,Chrome:fh,Church:xh,Cigarette:gh,CigaretteOff:kh,Circle:Ah,CircleAlert:Jt,CircleArrowDown:Hr,CircleArrowLeft:Vr,CircleArrowOutDownLeft:Br,CircleArrowOutDownRight:Ur,CircleArrowOutUpLeft:$r,CircleArrowOutUpRight:Gr,CircleArrowRight:Wr,CircleArrowUp:Zr,CircleCheck:Xr,CircleCheckBig:St,CircleChevronDown:Jr,CircleChevronLeft:Yr,CircleChevronRight:Kr,CircleChevronUp:Qr,CircleDashed:vh,CircleDivide:en,CircleDollarSign:wh,CircleDot:bh,CircleDotDashed:Mh,CircleEllipsis:Ch,CircleEqual:jh,CircleFadingArrowUp:Sh,CircleFadingPlus:Lh,CircleGauge:tn,CircleHelp:$a,CircleMinus:an,CircleOff:Ih,CircleParking:nn,CircleParkingOff:rn,CirclePause:on,CirclePercent:sn,CirclePlay:cn,CirclePlus:ln,CirclePower:dn,CircleSlash:Nh,CircleSlash2:hn,CircleStop:un,CircleUser:yn,CircleUserRound:pn,CircleX:ca,CircuitBoard:Ph,Citrus:_h,Clapperboard:Rh,Clipboard:Vh,ClipboardCheck:Th,ClipboardCopy:qh,ClipboardList:Dh,ClipboardMinus:zh,ClipboardPaste:Fh,ClipboardPen:fn,ClipboardPenLine:mn,ClipboardPlus:Eh,ClipboardType:Oh,ClipboardX:Hh,Clock:Kt,Clock1:Bh,Clock10:Uh,Clock11:$h,Clock12:Gh,Clock2:Wh,Clock3:Zh,Clock4:Xh,Clock5:Jh,Clock6:Yh,Clock7:Kh,Clock8:Qh,Clock9:eu,ClockAlert:tu,ClockArrowDown:au,ClockArrowUp:ru,Cloud:xu,CloudCog:nu,CloudDownload:xn,CloudDrizzle:ou,CloudFog:iu,CloudHail:su,CloudLightning:cu,CloudMoon:du,CloudMoonRain:lu,CloudOff:hu,CloudRain:pu,CloudRainWind:uu,CloudSnow:yu,CloudSun:fu,CloudSunRain:mu,CloudUpload:kn,Cloudy:ku,Clover:gu,Club:vu,Code:wu,CodeXml:gn,Codepen:Mu,Codesandbox:bu,Coffee:Cu,Cog:ju,Coins:Su,Columns2:vn,Columns3:wn,Columns4:Lu,Combine:Iu,Command:Nu,Compass:Au,Component:Pu,Computer:_u,ConciergeBell:Ru,Cone:Tu,Construction:qu,Contact:Du,ContactRound:Mn,Container:zu,Contrast:Fu,Cookie:Eu,CookingPot:Ou,Copy:Gu,CopyCheck:Hu,CopyMinus:Vu,CopyPlus:Bu,CopySlash:Uu,CopyX:$u,Copyleft:Wu,Copyright:Zu,CornerDownLeft:Xu,CornerDownRight:Ju,CornerLeftDown:Yu,CornerLeftUp:Ku,CornerRightDown:Qu,CornerRightUp:ep,CornerUpLeft:tp,CornerUpRight:ap,Cpu:rp,CreativeCommons:np,CreditCard:mc,Croissant:op,Crop:ip,Cross:sp,Crosshair:cp,Crown:lp,Cuboid:dp,CupSoda:hp,Currency:up,Cylinder:pp,Dam:yp,Database:xp,DatabaseBackup:mp,DatabaseZap:fp,Delete:kp,Dessert:gp,Diameter:vp,Diamond:bp,DiamondMinus:wp,DiamondPercent:bn,DiamondPlus:Mp,Dice1:Cp,Dice2:jp,Dice3:Sp,Dice4:Lp,Dice5:Ip,Dice6:Np,Dices:Ap,Diff:Pp,Disc:qp,Disc2:_p,Disc3:Rp,DiscAlbum:Tp,Divide:Dp,Dna:Fp,DnaOff:zp,Dock:Ep,Dog:Op,DollarSign:fc,Donut:Hp,DoorClosed:Vp,DoorOpen:Bp,Dot:Up,Download:$p,DraftingCompass:Gp,Drama:Wp,Dribbble:Zp,Drill:Xp,Droplet:Jp,Droplets:Yp,Drum:Kp,Drumstick:Qp,Dumbbell:ey,Ear:ay,EarOff:ty,Earth:Cn,EarthLock:ry,Eclipse:ny,Egg:sy,EggFried:oy,EggOff:iy,Ellipsis:Sn,EllipsisVertical:jn,Equal:ly,EqualNot:cy,Eraser:dy,EthernetPort:hy,Euro:uy,Expand:py,ExternalLink:Oi,Eye:xc,EyeClosed:yy,EyeOff:my,Facebook:fy,Factory:xy,Fan:ky,FastForward:gy,Feather:vy,Fence:wy,FerrisWheel:My,Figma:by,File:vm,FileArchive:Cy,FileAudio:Sy,FileAudio2:jy,FileAxis3d:Ln,FileBadge:Iy,FileBadge2:Ly,FileBox:Ny,FileChartColumn:Nn,FileChartColumnIncreasing:In,FileChartLine:An,FileChartPie:Pn,FileCheck:Py,FileCheck2:Ay,FileClock:_y,FileCode:Ty,FileCode2:Ry,FileCog:_n,FileDiff:qy,FileDigit:Dy,FileDown:zy,FileHeart:Fy,FileImage:Ey,FileInput:Oy,FileJson:Vy,FileJson2:Hy,FileKey:Uy,FileKey2:By,FileLock:Gy,FileLock2:$y,FileMinus:Zy,FileMinus2:Wy,FileMusic:Xy,FileOutput:Jy,FilePen:Tn,FilePenLine:Rn,FilePlus:Ky,FilePlus2:Yy,FileQuestion:Qy,FileScan:em,FileSearch:am,FileSearch2:tm,FileSliders:rm,FileSpreadsheet:nm,FileStack:om,FileSymlink:im,FileTerminal:sm,FileText:cm,FileType:dm,FileType2:lm,FileUp:hm,FileUser:um,FileVideo:ym,FileVideo2:pm,FileVolume:fm,FileVolume2:mm,FileWarning:xm,FileX:gm,FileX2:km,Files:wm,Film:Mm,Filter:ws,FilterX:bm,Fingerprint:Cm,FireExtinguisher:jm,Fish:Im,FishOff:Sm,FishSymbol:Lm,Flag:kc,FlagOff:Nm,FlagTriangleLeft:Am,FlagTriangleRight:Pm,Flame:Rm,FlameKindling:_m,Flashlight:qm,FlashlightOff:Tm,FlaskConical:zm,FlaskConicalOff:Dm,FlaskRound:Fm,FlipHorizontal:Om,FlipHorizontal2:Em,FlipVertical:Vm,FlipVertical2:Hm,Flower:Um,Flower2:Bm,Focus:$m,FoldHorizontal:Gm,FoldVertical:Wm,Folder:Mf,FolderArchive:Zm,FolderCheck:Xm,FolderClock:Jm,FolderClosed:Ym,FolderCode:Km,FolderCog:qn,FolderDot:Qm,FolderDown:ef,FolderGit:af,FolderGit2:tf,FolderHeart:rf,FolderInput:nf,FolderKanban:of,FolderKey:sf,FolderLock:cf,FolderMinus:lf,FolderOpen:hf,FolderOpenDot:df,FolderOutput:uf,FolderPen:Dn,FolderPlus:pf,FolderRoot:yf,FolderSearch:ff,FolderSearch2:mf,FolderSymlink:xf,FolderSync:kf,FolderTree:gf,FolderUp:vf,FolderX:wf,Folders:bf,Footprints:Cf,Forklift:jf,Forward:Sf,Frame:Lf,Framer:If,Frown:Nf,Fuel:Af,Fullscreen:Pf,GalleryHorizontal:Rf,GalleryHorizontalEnd:_f,GalleryThumbnails:Tf,GalleryVertical:Df,GalleryVerticalEnd:qf,Gamepad:Ff,Gamepad2:zf,Gauge:Ef,Gavel:Of,Gem:Hf,Ghost:Vf,Gift:Bf,GitBranch:$f,GitBranchPlus:Uf,GitCommitHorizontal:zn,GitCommitVertical:Gf,GitCompare:Zf,GitCompareArrows:Wf,GitFork:Xf,GitGraph:Jf,GitMerge:Yf,GitPullRequest:r4,GitPullRequestArrow:Kf,GitPullRequestClosed:Qf,GitPullRequestCreate:t4,GitPullRequestCreateArrow:e4,GitPullRequestDraft:a4,Github:n4,Gitlab:o4,GlassWater:i4,Glasses:s4,Globe:Ms,GlobeLock:c4,Goal:l4,Grab:d4,GraduationCap:bs,Grape:h4,Grid2x2:Fn,Grid2x2Check:u4,Grid2x2Plus:p4,Grid2x2X:y4,Grid3x3:Zt,Grip:x4,GripHorizontal:m4,GripVertical:f4,Group:k4,Guitar:g4,Ham:v4,Hammer:w4,Hand:S4,HandCoins:M4,HandHeart:b4,HandHelping:En,HandMetal:C4,HandPlatter:j4,Handshake:L4,HardDrive:A4,HardDriveDownload:I4,HardDriveUpload:N4,HardHat:P4,Hash:_4,Haze:R4,HdmiPort:T4,Heading:H4,Heading1:q4,Heading2:D4,Heading3:z4,Heading4:F4,Heading5:E4,Heading6:O4,HeadphoneOff:V4,Headphones:B4,Headset:U4,Heart:Cs,HeartCrack:$4,HeartHandshake:G4,HeartOff:W4,HeartPulse:Z4,Heater:X4,Hexagon:J4,Highlighter:Y4,History:K4,Hop:ex,HopOff:Q4,Hospital:tx,Hotel:ax,Hourglass:rx,House:ja,HousePlug:nx,HousePlus:ox,IceCreamBowl:On,IceCreamCone:Hn,IdCard:ix,Image:px,ImageDown:sx,ImageMinus:cx,ImageOff:lx,ImagePlay:dx,ImagePlus:hx,ImageUp:ux,Images:yx,Import:mx,Inbox:fx,IndentDecrease:Vn,IndentIncrease:Bn,IndianRupee:xx,Infinity:kx,Info:gx,InspectionPanel:vx,Instagram:wx,Italic:Mx,IterationCcw:bx,IterationCw:Cx,JapaneseYen:jx,Joystick:Sx,Kanban:Lx,Key:Ax,KeyRound:Ix,KeySquare:Nx,Keyboard:Rx,KeyboardMusic:Px,KeyboardOff:_x,Lamp:Ex,LampCeiling:Tx,LampDesk:qx,LampFloor:Dx,LampWallDown:zx,LampWallUp:Fx,LandPlot:Ox,Landmark:Hx,Languages:Vx,Laptop:Bx,LaptopMinimal:Un,Lasso:$x,LassoSelect:Ux,Laugh:Gx,Layers:Xx,Layers2:Wx,Layers3:Zx,LayoutDashboard:gc,LayoutGrid:Jx,LayoutList:Yx,LayoutPanelLeft:Kx,LayoutPanelTop:Qx,LayoutTemplate:ek,Leaf:tk,LeafyGreen:ak,Lectern:rk,LetterText:nk,Library:ik,LibraryBig:ok,LifeBuoy:sk,Ligature:ck,Lightbulb:dk,LightbulbOff:lk,Link:vc,Link2:uk,Link2Off:hk,Linkedin:pk,List:wc,ListCheck:yk,ListChecks:mk,ListCollapse:fk,ListEnd:xk,ListFilter:kk,ListMinus:gk,ListMusic:vk,ListOrdered:wk,ListPlus:Mk,ListRestart:bk,ListStart:Ck,ListTodo:jk,ListTree:Sk,ListVideo:Lk,ListX:Ik,Loader:Ak,LoaderCircle:$n,LoaderPinwheel:Nk,Locate:Rk,LocateFixed:Pk,LocateOff:_k,Lock:Mc,LockKeyhole:Tk,LockKeyholeOpen:Gn,LockOpen:Wn,LogIn:qk,LogOut:bc,Logs:Dk,Lollipop:zk,Luggage:Fk,Magnet:Ek,Mail:ya,MailCheck:Ok,MailMinus:Hk,MailOpen:Vk,MailPlus:Bk,MailQuestion:Uk,MailSearch:$k,MailWarning:Gk,MailX:Wk,Mailbox:Zk,Mails:Xk,Map:sg,MapPin:Bt,MapPinCheck:Yk,MapPinCheckInside:Jk,MapPinHouse:Kk,MapPinMinus:eg,MapPinMinusInside:Qk,MapPinOff:tg,MapPinPlus:rg,MapPinPlusInside:ag,MapPinX:og,MapPinXInside:ng,MapPinned:ig,Martini:cg,Maximize:dg,Maximize2:lg,Medal:hg,Megaphone:pg,MegaphoneOff:ug,Meh:yg,MemoryStick:mg,Menu:js,Merge:fg,MessageCircle:Lg,MessageCircleCode:xg,MessageCircleDashed:kg,MessageCircleHeart:gg,MessageCircleMore:vg,MessageCircleOff:wg,MessageCirclePlus:Mg,MessageCircleQuestion:bg,MessageCircleReply:Cg,MessageCircleWarning:jg,MessageCircleX:Sg,MessageSquare:Ss,MessageSquareCode:Ig,MessageSquareDashed:Ng,MessageSquareDiff:Ag,MessageSquareDot:Pg,MessageSquareHeart:_g,MessageSquareLock:Rg,MessageSquareMore:Tg,MessageSquareOff:qg,MessageSquarePlus:Dg,MessageSquareQuote:zg,MessageSquareReply:Fg,MessageSquareShare:Eg,MessageSquareText:Og,MessageSquareWarning:Hg,MessageSquareX:Vg,MessagesSquare:Bg,Mic:$g,MicOff:Ug,MicVocal:Zn,Microchip:Gg,Microscope:Wg,Microwave:Zg,Milestone:Xg,Milk:Yg,MilkOff:Jg,Minimize:Qg,Minimize2:Kg,Minus:Cc,Monitor:u5,MonitorCheck:e5,MonitorCog:t5,MonitorDot:a5,MonitorDown:r5,MonitorOff:n5,MonitorPause:o5,MonitorPlay:i5,MonitorSmartphone:s5,MonitorSpeaker:c5,MonitorStop:l5,MonitorUp:d5,MonitorX:h5,Moon:y5,MoonStar:p5,Mountain:f5,MountainSnow:m5,Mouse:M5,MouseOff:x5,MousePointer:w5,MousePointer2:k5,MousePointerBan:g5,MousePointerClick:v5,Move:q5,Move3d:Xn,MoveDiagonal:C5,MoveDiagonal2:b5,MoveDown:L5,MoveDownLeft:j5,MoveDownRight:S5,MoveHorizontal:I5,MoveLeft:N5,MoveRight:A5,MoveUp:R5,MoveUpLeft:P5,MoveUpRight:_5,MoveVertical:T5,Music:E5,Music2:D5,Music3:z5,Music4:F5,Navigation:B5,Navigation2:H5,Navigation2Off:O5,NavigationOff:V5,Network:U5,Newspaper:Pa,Nfc:$5,Notebook:X5,NotebookPen:G5,NotebookTabs:W5,NotebookText:Z5,NotepadText:Y5,NotepadTextDashed:J5,Nut:Q5,NutOff:K5,Octagon:t3,OctagonAlert:Jn,OctagonMinus:e3,OctagonPause:Yn,OctagonX:Kn,Omega:a3,Option:r3,Orbit:n3,Origami:o3,Package:p3,Package2:i3,PackageCheck:s3,PackageMinus:c3,PackageOpen:l3,PackagePlus:d3,PackageSearch:h3,PackageX:u3,PaintBucket:y3,PaintRoller:m3,Paintbrush:f3,PaintbrushVertical:Qn,Palette:x3,PanelBottom:v3,PanelBottomClose:k3,PanelBottomDashed:eo,PanelBottomOpen:g3,PanelLeft:no,PanelLeftClose:to,PanelLeftDashed:ao,PanelLeftOpen:ro,PanelRight:b3,PanelRightClose:w3,PanelRightDashed:oo,PanelRightOpen:M3,PanelTop:S3,PanelTopClose:C3,PanelTopDashed:io,PanelTopOpen:j3,PanelsLeftBottom:L3,PanelsRightBottom:I3,PanelsTopLeft:so,Paperclip:N3,Parentheses:A3,ParkingMeter:P3,PartyPopper:_3,Pause:R3,PawPrint:T3,PcCase:q3,Pen:lo,PenLine:co,PenOff:D3,PenTool:z3,Pencil:H3,PencilLine:F3,PencilOff:E3,PencilRuler:O3,Pentagon:V3,Percent:B3,PersonStanding:U3,PhilippinePeso:$3,Phone:Hi,PhoneCall:G3,PhoneForwarded:W3,PhoneIncoming:Z3,PhoneMissed:X3,PhoneOff:J3,PhoneOutgoing:Y3,Pi:K3,Piano:Q3,Pickaxe:ev,PictureInPicture:av,PictureInPicture2:tv,PiggyBank:rv,Pilcrow:iv,PilcrowLeft:nv,PilcrowRight:ov,Pill:cv,PillBottle:sv,Pin:dv,PinOff:lv,Pipette:hv,Pizza:uv,Plane:mv,PlaneLanding:pv,PlaneTakeoff:yv,Play:jc,Plug:xv,Plug2:fv,PlugZap:ho,Plus:Sc,Pocket:gv,PocketKnife:kv,Podcast:vv,Pointer:Mv,PointerOff:wv,Popcorn:bv,Popsicle:Cv,PoundSterling:jv,Power:Lv,PowerOff:Sv,Presentation:Iv,Printer:Av,PrinterCheck:Nv,Projector:Pv,Proportions:_v,Puzzle:Rv,Pyramid:Tv,QrCode:qv,Quote:Ls,Rabbit:Dv,Radar:zv,Radiation:Fv,Radical:Ev,Radio:Vv,RadioReceiver:Ov,RadioTower:Hv,Radius:Bv,RailSymbol:Uv,Rainbow:$v,Rat:Gv,Ratio:Wv,Receipt:a6,ReceiptCent:Zv,ReceiptEuro:Xv,ReceiptIndianRupee:Jv,ReceiptJapaneseYen:Yv,ReceiptPoundSterling:Kv,ReceiptRussianRuble:Qv,ReceiptSwissFranc:e6,ReceiptText:t6,RectangleEllipsis:uo,RectangleHorizontal:r6,RectangleVertical:n6,Recycle:o6,Redo:c6,Redo2:i6,RedoDot:s6,RefreshCcw:d6,RefreshCcwDot:l6,RefreshCw:u6,RefreshCwOff:h6,Refrigerator:p6,Regex:y6,RemoveFormatting:m6,Repeat:k6,Repeat1:f6,Repeat2:x6,Replace:v6,ReplaceAll:g6,Reply:M6,ReplyAll:w6,Rewind:b6,Ribbon:C6,Rocket:j6,RockingChair:S6,RollerCoaster:L6,Rotate3d:po,RotateCcw:N6,RotateCcwSquare:I6,RotateCw:P6,RotateCwSquare:A6,Route:R6,RouteOff:_6,Router:T6,Rows2:yo,Rows3:mo,Rows4:q6,Rss:D6,Ruler:z6,RussianRuble:F6,Sailboat:E6,Salad:O6,Sandwich:H6,Satellite:B6,SatelliteDish:V6,Save:G6,SaveAll:U6,SaveOff:$6,Scale:W6,Scale3d:fo,Scaling:Z6,Scan:a8,ScanBarcode:X6,ScanEye:J6,ScanFace:Y6,ScanLine:K6,ScanQrCode:Q6,ScanSearch:e8,ScanText:t8,School:r8,Scissors:o8,ScissorsLineDashed:n8,ScreenShare:s8,ScreenShareOff:i8,Scroll:l8,ScrollText:c8,Search:Ut,SearchCheck:d8,SearchCode:h8,SearchSlash:u8,SearchX:p8,Section:y8,Send:Lc,SendHorizontal:xo,SendToBack:m8,SeparatorHorizontal:f8,SeparatorVertical:x8,Server:w8,ServerCog:k8,ServerCrash:g8,ServerOff:v8,Settings:Is,Settings2:M8,Shapes:b8,Share:C8,Share2:Ns,Sheet:j8,Shell:S8,Shield:Ic,ShieldAlert:L8,ShieldBan:I8,ShieldCheck:N8,ShieldEllipsis:A8,ShieldHalf:P8,ShieldMinus:_8,ShieldOff:R8,ShieldPlus:T8,ShieldQuestion:q8,ShieldX:ko,Ship:z8,ShipWheel:D8,Shirt:F8,ShoppingBag:E8,ShoppingBasket:O8,ShoppingCart:As,Shovel:H8,ShowerHead:V8,Shrink:B8,Shrub:U8,Shuffle:$8,Sigma:G8,Signal:Nc,SignalHigh:W8,SignalLow:Z8,SignalMedium:X8,SignalZero:J8,Signature:Y8,Signpost:Q8,SignpostBig:K8,Siren:e7,SkipBack:t7,SkipForward:a7,Skull:r7,Slack:n7,Slash:o7,Slice:i7,SlidersHorizontal:Ya,SlidersVertical:go,Smartphone:l7,SmartphoneCharging:s7,SmartphoneNfc:c7,Smile:h7,SmilePlus:d7,Snail:u7,Snowflake:p7,Sofa:y7,Soup:m7,Space:f7,Spade:x7,Sparkle:k7,Sparkles:vo,Speaker:g7,Speech:v7,SpellCheck:M7,SpellCheck2:w7,Spline:b7,Split:C7,SprayCan:j7,Sprout:S7,Square:_7,SquareActivity:wo,SquareArrowDown:Co,SquareArrowDownLeft:Mo,SquareArrowDownRight:bo,SquareArrowLeft:Sa,SquareArrowOutDownLeft:jo,SquareArrowOutDownRight:So,SquareArrowOutUpLeft:Lo,SquareArrowOutUpRight:Io,SquareArrowRight:La,SquareArrowUp:Po,SquareArrowUpLeft:No,SquareArrowUpRight:Ao,SquareAsterisk:_o,SquareBottomDashedScissors:Ro,SquareChartGantt:ia,SquareCheck:qo,SquareCheckBig:To,SquareChevronDown:Do,SquareChevronLeft:zo,SquareChevronRight:Fo,SquareChevronUp:Eo,SquareCode:Oo,SquareDashed:Bo,SquareDashedBottom:I7,SquareDashedBottomCode:L7,SquareDashedKanban:Ho,SquareDashedMousePointer:Vo,SquareDivide:Uo,SquareDot:$o,SquareEqual:Go,SquareFunction:Wo,SquareKanban:Zo,SquareLibrary:Xo,SquareM:Jo,SquareMenu:Yo,SquareMinus:Ko,SquareMousePointer:Qo,SquareParking:ti,SquareParkingOff:ei,SquarePen:bt,SquarePercent:ai,SquarePi:ri,SquarePilcrow:ni,SquarePlay:oi,SquarePlus:ii,SquarePower:si,SquareRadical:N7,SquareScissors:ci,SquareSigma:li,SquareSlash:di,SquareSplitHorizontal:hi,SquareSplitVertical:ui,SquareSquare:A7,SquareStack:P7,SquareTerminal:pi,SquareUser:mi,SquareUserRound:yi,SquareX:fi,Squircle:R7,Squirrel:T7,Stamp:q7,Star:Et,StarHalf:D7,StarOff:z7,StepBack:F7,StepForward:E7,Stethoscope:O7,Sticker:H7,StickyNote:V7,Store:B7,StretchHorizontal:U7,StretchVertical:$7,Strikethrough:G7,Subscript:W7,Sun:K7,SunDim:Z7,SunMedium:X7,SunMoon:J7,SunSnow:Y7,Sunrise:Q7,Sunset:ew,Superscript:tw,SwatchBook:aw,SwissFranc:rw,SwitchCamera:nw,Sword:ow,Swords:iw,Syringe:sw,Table:mw,Table2:cw,TableCellsMerge:lw,TableCellsSplit:dw,TableColumnsSplit:hw,TableOfContents:uw,TableProperties:pw,TableRowsSplit:yw,Tablet:xw,TabletSmartphone:fw,Tablets:kw,Tag:gw,Tags:vw,Tally1:ww,Tally2:Mw,Tally3:bw,Tally4:Cw,Tally5:jw,Tangent:Sw,Target:Lw,Telescope:Iw,Tent:Aw,TentTree:Nw,Terminal:Pw,TestTube:_w,TestTubeDiagonal:xi,TestTubes:Rw,Text:Fw,TextCursor:qw,TextCursorInput:Tw,TextQuote:Dw,TextSearch:zw,TextSelect:ki,Theater:Ew,Thermometer:Vw,ThermometerSnowflake:Ow,ThermometerSun:Hw,ThumbsDown:Bw,ThumbsUp:Uw,Ticket:Yw,TicketCheck:$w,TicketMinus:Gw,TicketPercent:Ww,TicketPlus:Zw,TicketSlash:Xw,TicketX:Jw,Tickets:Qw,TicketsPlane:Kw,Timer:aM,TimerOff:eM,TimerReset:tM,ToggleLeft:rM,ToggleRight:nM,Tornado:oM,Torus:iM,Touchpad:cM,TouchpadOff:sM,TowerControl:lM,ToyBrick:dM,Tractor:hM,TrafficCone:uM,TrainFront:yM,TrainFrontTunnel:pM,TrainTrack:mM,TramFront:gi,Trash:fM,Trash2:Ac,TreeDeciduous:xM,TreePalm:vi,TreePine:kM,Trees:gM,Trello:vM,TrendingDown:wM,TrendingUp:Vi,TrendingUpDown:MM,Triangle:CM,TriangleAlert:wi,TriangleRight:bM,Trophy:jM,Truck:SM,Turtle:LM,Tv:NM,TvMinimal:Mi,TvMinimalPlay:IM,Twitch:AM,Twitter:PM,Type:RM,TypeOutline:_M,Umbrella:qM,UmbrellaOff:TM,Underline:DM,Undo:EM,Undo2:zM,UndoDot:FM,UnfoldHorizontal:OM,UnfoldVertical:HM,Ungroup:VM,University:bi,Unlink:UM,Unlink2:BM,Unplug:$M,Upload:Ps,Usb:GM,User:Pc,UserCheck:WM,UserCog:ZM,UserMinus:XM,UserPen:JM,UserPlus:YM,UserRound:Ni,UserRoundCheck:Ci,UserRoundCog:ji,UserRoundMinus:Si,UserRoundPen:KM,UserRoundPlus:Li,UserRoundSearch:QM,UserRoundX:Ii,UserSearch:eb,UserX:tb,Users:_a,UsersRound:Ai,Utensils:_i,UtensilsCrossed:Pi,UtilityPole:ab,Variable:rb,Vault:nb,Vegan:ob,VenetianMask:ib,Vibrate:cb,VibrateOff:sb,Video:db,VideoOff:lb,Videotape:hb,View:ub,Voicemail:pb,Volleyball:yb,Volume:gb,Volume1:mb,Volume2:fb,VolumeOff:xb,VolumeX:kb,Vote:vb,Wallet:Mb,WalletCards:wb,WalletMinimal:Ri,Wallpaper:bb,Wand:Cb,WandSparkles:Ti,Warehouse:jb,WashingMachine:Sb,Watch:Lb,Waves:Ib,Waypoints:Nb,Webcam:Ab,Webhook:_b,WebhookOff:Pb,Weight:Rb,Wheat:qb,WheatOff:Tb,WholeWord:Db,Wifi:Hb,WifiHigh:zb,WifiLow:Fb,WifiOff:Eb,WifiZero:Ob,Wind:Vb,Wine:Ub,WineOff:Bb,Workflow:$b,Worm:Gb,WrapText:Wb,Wrench:Zb,X:Qt,Youtube:Xb,Zap:Yb,ZapOff:Jb,ZoomIn:Kb,ZoomOut:Qb},Symbol.toStringTag,{value:"Module"}));/**
7721
7721
  * @license lucide-react v0.451.0 - ISC
7722
7722
  *
7723
7723
  * This source code is licensed under the ISC license.
7724
7724
  * See the LICENSE file in the root directory of this source tree.
7725
- */const XT=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:p1,AArrowDownIcon:p1,AArrowUp:y1,AArrowUpIcon:y1,ALargeSmall:m1,ALargeSmallIcon:m1,Accessibility:f1,AccessibilityIcon:f1,Activity:x1,ActivityIcon:x1,ActivitySquare:wo,ActivitySquareIcon:wo,AirVent:k1,AirVentIcon:k1,Airplay:g1,AirplayIcon:g1,AlarmCheck:pr,AlarmCheckIcon:pr,AlarmClock:w1,AlarmClockCheck:pr,AlarmClockCheckIcon:pr,AlarmClockIcon:w1,AlarmClockMinus:yr,AlarmClockMinusIcon:yr,AlarmClockOff:v1,AlarmClockOffIcon:v1,AlarmClockPlus:mr,AlarmClockPlusIcon:mr,AlarmMinus:yr,AlarmMinusIcon:yr,AlarmPlus:mr,AlarmPlusIcon:mr,AlarmSmoke:M1,AlarmSmokeIcon:M1,Album:b1,AlbumIcon:b1,AlertCircle:Jt,AlertCircleIcon:Jt,AlertOctagon:Jn,AlertOctagonIcon:Jn,AlertTriangle:wi,AlertTriangleIcon:wi,AlignCenter:S1,AlignCenterHorizontal:C1,AlignCenterHorizontalIcon:C1,AlignCenterIcon:S1,AlignCenterVertical:j1,AlignCenterVerticalIcon:j1,AlignEndHorizontal:L1,AlignEndHorizontalIcon:L1,AlignEndVertical:I1,AlignEndVerticalIcon:I1,AlignHorizontalDistributeCenter:N1,AlignHorizontalDistributeCenterIcon:N1,AlignHorizontalDistributeEnd:A1,AlignHorizontalDistributeEndIcon:A1,AlignHorizontalDistributeStart:P1,AlignHorizontalDistributeStartIcon:P1,AlignHorizontalJustifyCenter:_1,AlignHorizontalJustifyCenterIcon:_1,AlignHorizontalJustifyEnd:R1,AlignHorizontalJustifyEndIcon:R1,AlignHorizontalJustifyStart:T1,AlignHorizontalJustifyStartIcon:T1,AlignHorizontalSpaceAround:q1,AlignHorizontalSpaceAroundIcon:q1,AlignHorizontalSpaceBetween:D1,AlignHorizontalSpaceBetweenIcon:D1,AlignJustify:z1,AlignJustifyIcon:z1,AlignLeft:F1,AlignLeftIcon:F1,AlignRight:E1,AlignRightIcon:E1,AlignStartHorizontal:O1,AlignStartHorizontalIcon:O1,AlignStartVertical:H1,AlignStartVerticalIcon:H1,AlignVerticalDistributeCenter:V1,AlignVerticalDistributeCenterIcon:V1,AlignVerticalDistributeEnd:B1,AlignVerticalDistributeEndIcon:B1,AlignVerticalDistributeStart:U1,AlignVerticalDistributeStartIcon:U1,AlignVerticalJustifyCenter:$1,AlignVerticalJustifyCenterIcon:$1,AlignVerticalJustifyEnd:G1,AlignVerticalJustifyEndIcon:G1,AlignVerticalJustifyStart:W1,AlignVerticalJustifyStartIcon:W1,AlignVerticalSpaceAround:Z1,AlignVerticalSpaceAroundIcon:Z1,AlignVerticalSpaceBetween:X1,AlignVerticalSpaceBetweenIcon:X1,Ambulance:J1,AmbulanceIcon:J1,Ampersand:Y1,AmpersandIcon:Y1,Ampersands:K1,AmpersandsIcon:K1,Amphora:Q1,AmphoraIcon:Q1,Anchor:el,AnchorIcon:el,Angry:tl,AngryIcon:tl,Annoyed:al,AnnoyedIcon:al,Antenna:rl,AntennaIcon:rl,Anvil:nl,AnvilIcon:nl,Aperture:ol,ApertureIcon:ol,AppWindow:sl,AppWindowIcon:sl,AppWindowMac:il,AppWindowMacIcon:il,Apple:cl,AppleIcon:cl,Archive:hl,ArchiveIcon:hl,ArchiveRestore:ll,ArchiveRestoreIcon:ll,ArchiveX:dl,ArchiveXIcon:dl,AreaChart:Nr,AreaChartIcon:Nr,Armchair:ul,ArmchairIcon:ul,ArrowBigDown:yl,ArrowBigDownDash:pl,ArrowBigDownDashIcon:pl,ArrowBigDownIcon:yl,ArrowBigLeft:fl,ArrowBigLeftDash:ml,ArrowBigLeftDashIcon:ml,ArrowBigLeftIcon:fl,ArrowBigRight:kl,ArrowBigRightDash:xl,ArrowBigRightDashIcon:xl,ArrowBigRightIcon:kl,ArrowBigUp:vl,ArrowBigUpDash:gl,ArrowBigUpDashIcon:gl,ArrowBigUpIcon:vl,ArrowDown:Al,ArrowDown01:wl,ArrowDown01Icon:wl,ArrowDown10:Ml,ArrowDown10Icon:Ml,ArrowDownAZ:fr,ArrowDownAZIcon:fr,ArrowDownAz:fr,ArrowDownAzIcon:fr,ArrowDownCircle:Hr,ArrowDownCircleIcon:Hr,ArrowDownFromLine:bl,ArrowDownFromLineIcon:bl,ArrowDownIcon:Al,ArrowDownLeft:Cl,ArrowDownLeftFromCircle:Br,ArrowDownLeftFromCircleIcon:Br,ArrowDownLeftFromSquare:jo,ArrowDownLeftFromSquareIcon:jo,ArrowDownLeftIcon:Cl,ArrowDownLeftSquare:Mo,ArrowDownLeftSquareIcon:Mo,ArrowDownNarrowWide:jl,ArrowDownNarrowWideIcon:jl,ArrowDownRight:Sl,ArrowDownRightFromCircle:Ur,ArrowDownRightFromCircleIcon:Ur,ArrowDownRightFromSquare:So,ArrowDownRightFromSquareIcon:So,ArrowDownRightIcon:Sl,ArrowDownRightSquare:bo,ArrowDownRightSquareIcon:bo,ArrowDownSquare:Co,ArrowDownSquareIcon:Co,ArrowDownToDot:Ll,ArrowDownToDotIcon:Ll,ArrowDownToLine:Il,ArrowDownToLineIcon:Il,ArrowDownUp:Nl,ArrowDownUpIcon:Nl,ArrowDownWideNarrow:xr,ArrowDownWideNarrowIcon:xr,ArrowDownZA:kr,ArrowDownZAIcon:kr,ArrowDownZa:kr,ArrowDownZaIcon:kr,ArrowLeft:zi,ArrowLeftCircle:Vr,ArrowLeftCircleIcon:Vr,ArrowLeftFromLine:Pl,ArrowLeftFromLineIcon:Pl,ArrowLeftIcon:zi,ArrowLeftRight:_l,ArrowLeftRightIcon:_l,ArrowLeftSquare:Sa,ArrowLeftSquareIcon:Sa,ArrowLeftToLine:Rl,ArrowLeftToLineIcon:Rl,ArrowRight:xs,ArrowRightCircle:Wr,ArrowRightCircleIcon:Wr,ArrowRightFromLine:Tl,ArrowRightFromLineIcon:Tl,ArrowRightIcon:xs,ArrowRightLeft:ql,ArrowRightLeftIcon:ql,ArrowRightSquare:La,ArrowRightSquareIcon:La,ArrowRightToLine:Dl,ArrowRightToLineIcon:Dl,ArrowUp:Gl,ArrowUp01:zl,ArrowUp01Icon:zl,ArrowUp10:Fl,ArrowUp10Icon:Fl,ArrowUpAZ:gr,ArrowUpAZIcon:gr,ArrowUpAz:gr,ArrowUpAzIcon:gr,ArrowUpCircle:Zr,ArrowUpCircleIcon:Zr,ArrowUpDown:El,ArrowUpDownIcon:El,ArrowUpFromDot:Ol,ArrowUpFromDotIcon:Ol,ArrowUpFromLine:Hl,ArrowUpFromLineIcon:Hl,ArrowUpIcon:Gl,ArrowUpLeft:Vl,ArrowUpLeftFromCircle:$r,ArrowUpLeftFromCircleIcon:$r,ArrowUpLeftFromSquare:Lo,ArrowUpLeftFromSquareIcon:Lo,ArrowUpLeftIcon:Vl,ArrowUpLeftSquare:No,ArrowUpLeftSquareIcon:No,ArrowUpNarrowWide:vr,ArrowUpNarrowWideIcon:vr,ArrowUpRight:Bl,ArrowUpRightFromCircle:Gr,ArrowUpRightFromCircleIcon:Gr,ArrowUpRightFromSquare:Io,ArrowUpRightFromSquareIcon:Io,ArrowUpRightIcon:Bl,ArrowUpRightSquare:Ao,ArrowUpRightSquareIcon:Ao,ArrowUpSquare:Po,ArrowUpSquareIcon:Po,ArrowUpToLine:Ul,ArrowUpToLineIcon:Ul,ArrowUpWideNarrow:$l,ArrowUpWideNarrowIcon:$l,ArrowUpZA:wr,ArrowUpZAIcon:wr,ArrowUpZa:wr,ArrowUpZaIcon:wr,ArrowsUpFromLine:Wl,ArrowsUpFromLineIcon:Wl,Asterisk:Zl,AsteriskIcon:Zl,AsteriskSquare:_o,AsteriskSquareIcon:_o,AtSign:Xl,AtSignIcon:Xl,Atom:Jl,AtomIcon:Jl,AudioLines:Yl,AudioLinesIcon:Yl,AudioWaveform:Kl,AudioWaveformIcon:Kl,Award:Na,AwardIcon:Na,Axe:Ql,AxeIcon:Ql,Axis3D:Mr,Axis3DIcon:Mr,Axis3d:Mr,Axis3dIcon:Mr,Baby:ed,BabyIcon:ed,Backpack:td,BackpackIcon:td,Badge:xd,BadgeAlert:ad,BadgeAlertIcon:ad,BadgeCent:rd,BadgeCentIcon:rd,BadgeCheck:br,BadgeCheckIcon:br,BadgeDollarSign:nd,BadgeDollarSignIcon:nd,BadgeEuro:od,BadgeEuroIcon:od,BadgeHelp:id,BadgeHelpIcon:id,BadgeIcon:xd,BadgeIndianRupee:sd,BadgeIndianRupeeIcon:sd,BadgeInfo:cd,BadgeInfoIcon:cd,BadgeJapaneseYen:ld,BadgeJapaneseYenIcon:ld,BadgeMinus:dd,BadgeMinusIcon:dd,BadgePercent:hd,BadgePercentIcon:hd,BadgePlus:ud,BadgePlusIcon:ud,BadgePoundSterling:pd,BadgePoundSterlingIcon:pd,BadgeRussianRuble:yd,BadgeRussianRubleIcon:yd,BadgeSwissFranc:md,BadgeSwissFrancIcon:md,BadgeX:fd,BadgeXIcon:fd,BaggageClaim:kd,BaggageClaimIcon:kd,Ban:gd,BanIcon:gd,Banana:vd,BananaIcon:vd,Bandage:wd,BandageIcon:wd,Banknote:Md,BanknoteIcon:Md,BarChart:$a,BarChart2:zr,BarChart2Icon:zr,BarChart3:qr,BarChart3Icon:qr,BarChart4:Tr,BarChart4Icon:Tr,BarChartBig:Rr,BarChartBigIcon:Rr,BarChartHorizontal:Pr,BarChartHorizontalBig:Ar,BarChartHorizontalBigIcon:Ar,BarChartHorizontalIcon:Pr,BarChartIcon:$a,Barcode:bd,BarcodeIcon:bd,Baseline:Cd,BaselineIcon:Cd,Bath:jd,BathIcon:jd,Battery:Pd,BatteryCharging:Sd,BatteryChargingIcon:Sd,BatteryFull:Ld,BatteryFullIcon:Ld,BatteryIcon:Pd,BatteryLow:Id,BatteryLowIcon:Id,BatteryMedium:Nd,BatteryMediumIcon:Nd,BatteryWarning:Ad,BatteryWarningIcon:Ad,Beaker:_d,BeakerIcon:_d,Bean:Td,BeanIcon:Td,BeanOff:Rd,BeanOffIcon:Rd,Bed:zd,BedDouble:qd,BedDoubleIcon:qd,BedIcon:zd,BedSingle:Dd,BedSingleIcon:Dd,Beef:Fd,BeefIcon:Fd,Beer:Od,BeerIcon:Od,BeerOff:Ed,BeerOffIcon:Ed,Bell:ks,BellDot:Hd,BellDotIcon:Hd,BellElectric:Vd,BellElectricIcon:Vd,BellIcon:ks,BellMinus:Bd,BellMinusIcon:Bd,BellOff:Ud,BellOffIcon:Ud,BellPlus:$d,BellPlusIcon:$d,BellRing:Gd,BellRingIcon:Gd,BetweenHorizonalEnd:Cr,BetweenHorizonalEndIcon:Cr,BetweenHorizonalStart:jr,BetweenHorizonalStartIcon:jr,BetweenHorizontalEnd:Cr,BetweenHorizontalEndIcon:Cr,BetweenHorizontalStart:jr,BetweenHorizontalStartIcon:jr,BetweenVerticalEnd:Wd,BetweenVerticalEndIcon:Wd,BetweenVerticalStart:Zd,BetweenVerticalStartIcon:Zd,BicepsFlexed:Xd,BicepsFlexedIcon:Xd,Bike:Jd,BikeIcon:Jd,Binary:Yd,BinaryIcon:Yd,Binoculars:Kd,BinocularsIcon:Kd,Biohazard:Qd,BiohazardIcon:Qd,Bird:e2,BirdIcon:e2,Bitcoin:t2,BitcoinIcon:t2,Blend:a2,BlendIcon:a2,Blinds:r2,BlindsIcon:r2,Blocks:n2,BlocksIcon:n2,Bluetooth:c2,BluetoothConnected:o2,BluetoothConnectedIcon:o2,BluetoothIcon:c2,BluetoothOff:i2,BluetoothOffIcon:i2,BluetoothSearching:s2,BluetoothSearchingIcon:s2,Bold:l2,BoldIcon:l2,Bolt:d2,BoltIcon:d2,Bomb:h2,BombIcon:h2,Bone:u2,BoneIcon:u2,Book:T2,BookA:p2,BookAIcon:p2,BookAudio:y2,BookAudioIcon:y2,BookCheck:m2,BookCheckIcon:m2,BookCopy:f2,BookCopyIcon:f2,BookDashed:Sr,BookDashedIcon:Sr,BookDown:x2,BookDownIcon:x2,BookHeadphones:k2,BookHeadphonesIcon:k2,BookHeart:g2,BookHeartIcon:g2,BookIcon:T2,BookImage:v2,BookImageIcon:v2,BookKey:w2,BookKeyIcon:w2,BookLock:M2,BookLockIcon:M2,BookMarked:b2,BookMarkedIcon:b2,BookMinus:C2,BookMinusIcon:C2,BookOpen:Vt,BookOpenCheck:j2,BookOpenCheckIcon:j2,BookOpenIcon:Vt,BookOpenText:S2,BookOpenTextIcon:S2,BookPlus:L2,BookPlusIcon:L2,BookTemplate:Sr,BookTemplateIcon:Sr,BookText:I2,BookTextIcon:I2,BookType:N2,BookTypeIcon:N2,BookUp:P2,BookUp2:A2,BookUp2Icon:A2,BookUpIcon:P2,BookUser:_2,BookUserIcon:_2,BookX:R2,BookXIcon:R2,Bookmark:Pa,BookmarkCheck:pa,BookmarkCheckIcon:pa,BookmarkIcon:Pa,BookmarkMinus:q2,BookmarkMinusIcon:q2,BookmarkPlus:dc,BookmarkPlusIcon:dc,BookmarkX:D2,BookmarkXIcon:D2,BoomBox:z2,BoomBoxIcon:z2,Bot:hc,BotIcon:hc,BotMessageSquare:F2,BotMessageSquareIcon:F2,BotOff:E2,BotOffIcon:E2,Box:O2,BoxIcon:O2,BoxSelect:Bo,BoxSelectIcon:Bo,Boxes:H2,BoxesIcon:H2,Braces:Lr,BracesIcon:Lr,Brackets:V2,BracketsIcon:V2,Brain:$2,BrainCircuit:B2,BrainCircuitIcon:B2,BrainCog:U2,BrainCogIcon:U2,BrainIcon:$2,BrickWall:G2,BrickWallIcon:G2,Briefcase:ft,BriefcaseBusiness:W2,BriefcaseBusinessIcon:W2,BriefcaseConveyorBelt:Z2,BriefcaseConveyorBeltIcon:Z2,BriefcaseIcon:ft,BriefcaseMedical:X2,BriefcaseMedicalIcon:X2,BringToFront:J2,BringToFrontIcon:J2,Brush:Y2,BrushIcon:Y2,Bug:e0,BugIcon:e0,BugOff:K2,BugOffIcon:K2,BugPlay:Q2,BugPlayIcon:Q2,Building:gs,Building2:uc,Building2Icon:uc,BuildingIcon:gs,Bus:a0,BusFront:t0,BusFrontIcon:t0,BusIcon:a0,Cable:n0,CableCar:r0,CableCarIcon:r0,CableIcon:n0,Cake:i0,CakeIcon:i0,CakeSlice:o0,CakeSliceIcon:o0,Calculator:s0,CalculatorIcon:s0,Calendar:pc,CalendarArrowDown:c0,CalendarArrowDownIcon:c0,CalendarArrowUp:l0,CalendarArrowUpIcon:l0,CalendarCheck:h0,CalendarCheck2:d0,CalendarCheck2Icon:d0,CalendarCheckIcon:h0,CalendarClock:u0,CalendarClockIcon:u0,CalendarCog:p0,CalendarCogIcon:p0,CalendarDays:y0,CalendarDaysIcon:y0,CalendarFold:m0,CalendarFoldIcon:m0,CalendarHeart:f0,CalendarHeartIcon:f0,CalendarIcon:pc,CalendarMinus:k0,CalendarMinus2:x0,CalendarMinus2Icon:x0,CalendarMinusIcon:k0,CalendarOff:g0,CalendarOffIcon:g0,CalendarPlus:w0,CalendarPlus2:v0,CalendarPlus2Icon:v0,CalendarPlusIcon:w0,CalendarRange:M0,CalendarRangeIcon:M0,CalendarSearch:b0,CalendarSearchIcon:b0,CalendarX:j0,CalendarX2:C0,CalendarX2Icon:C0,CalendarXIcon:j0,Camera:L0,CameraIcon:L0,CameraOff:S0,CameraOffIcon:S0,CandlestickChart:_r,CandlestickChartIcon:_r,Candy:A0,CandyCane:I0,CandyCaneIcon:I0,CandyIcon:A0,CandyOff:N0,CandyOffIcon:N0,Cannabis:P0,CannabisIcon:P0,Captions:Ir,CaptionsIcon:Ir,CaptionsOff:_0,CaptionsOffIcon:_0,Car:q0,CarFront:R0,CarFrontIcon:R0,CarIcon:q0,CarTaxiFront:T0,CarTaxiFrontIcon:T0,Caravan:D0,CaravanIcon:D0,Carrot:z0,CarrotIcon:z0,CaseLower:F0,CaseLowerIcon:F0,CaseSensitive:E0,CaseSensitiveIcon:E0,CaseUpper:O0,CaseUpperIcon:O0,CassetteTape:H0,CassetteTapeIcon:H0,Cast:V0,CastIcon:V0,Castle:B0,CastleIcon:B0,Cat:U0,CatIcon:U0,Cctv:$0,CctvIcon:$0,ChartArea:Nr,ChartAreaIcon:Nr,ChartBar:Pr,ChartBarBig:Ar,ChartBarBigIcon:Ar,ChartBarDecreasing:G0,ChartBarDecreasingIcon:G0,ChartBarIcon:Pr,ChartBarIncreasing:W0,ChartBarIncreasingIcon:W0,ChartBarStacked:Z0,ChartBarStackedIcon:Z0,ChartCandlestick:_r,ChartCandlestickIcon:_r,ChartColumn:qr,ChartColumnBig:Rr,ChartColumnBigIcon:Rr,ChartColumnDecreasing:X0,ChartColumnDecreasingIcon:X0,ChartColumnIcon:qr,ChartColumnIncreasing:Tr,ChartColumnIncreasingIcon:Tr,ChartColumnStacked:J0,ChartColumnStackedIcon:J0,ChartGantt:Y0,ChartGanttIcon:Y0,ChartLine:Dr,ChartLineIcon:Dr,ChartNetwork:K0,ChartNetworkIcon:K0,ChartNoAxesColumn:zr,ChartNoAxesColumnDecreasing:Q0,ChartNoAxesColumnDecreasingIcon:Q0,ChartNoAxesColumnIcon:zr,ChartNoAxesColumnIncreasing:$a,ChartNoAxesColumnIncreasingIcon:$a,ChartNoAxesCombined:eh,ChartNoAxesCombinedIcon:eh,ChartNoAxesGantt:Fr,ChartNoAxesGanttIcon:Fr,ChartPie:Er,ChartPieIcon:Er,ChartScatter:Or,ChartScatterIcon:Or,ChartSpline:th,ChartSplineIcon:th,Check:vs,CheckCheck:ah,CheckCheckIcon:ah,CheckCircle:St,CheckCircle2:Xr,CheckCircle2Icon:Xr,CheckCircleIcon:St,CheckIcon:vs,CheckSquare:To,CheckSquare2:qo,CheckSquare2Icon:qo,CheckSquareIcon:To,ChefHat:rh,ChefHatIcon:rh,Cherry:nh,CherryIcon:nh,ChevronDown:Fi,ChevronDownCircle:Jr,ChevronDownCircleIcon:Jr,ChevronDownIcon:Fi,ChevronDownSquare:Do,ChevronDownSquareIcon:Do,ChevronFirst:oh,ChevronFirstIcon:oh,ChevronLast:ih,ChevronLastIcon:ih,ChevronLeft:Ei,ChevronLeftCircle:Yr,ChevronLeftCircleIcon:Yr,ChevronLeftIcon:Ei,ChevronLeftSquare:zo,ChevronLeftSquareIcon:zo,ChevronRight:Ja,ChevronRightCircle:Kr,ChevronRightCircleIcon:Kr,ChevronRightIcon:Ja,ChevronRightSquare:Fo,ChevronRightSquareIcon:Fo,ChevronUp:yc,ChevronUpCircle:Qr,ChevronUpCircleIcon:Qr,ChevronUpIcon:yc,ChevronUpSquare:Eo,ChevronUpSquareIcon:Eo,ChevronsDown:ch,ChevronsDownIcon:ch,ChevronsDownUp:sh,ChevronsDownUpIcon:sh,ChevronsLeft:hh,ChevronsLeftIcon:hh,ChevronsLeftRight:dh,ChevronsLeftRightEllipsis:lh,ChevronsLeftRightEllipsisIcon:lh,ChevronsLeftRightIcon:dh,ChevronsRight:ph,ChevronsRightIcon:ph,ChevronsRightLeft:uh,ChevronsRightLeftIcon:uh,ChevronsUp:mh,ChevronsUpDown:yh,ChevronsUpDownIcon:yh,ChevronsUpIcon:mh,Chrome:fh,ChromeIcon:fh,Church:xh,ChurchIcon:xh,Cigarette:gh,CigaretteIcon:gh,CigaretteOff:kh,CigaretteOffIcon:kh,Circle:Ah,CircleAlert:Jt,CircleAlertIcon:Jt,CircleArrowDown:Hr,CircleArrowDownIcon:Hr,CircleArrowLeft:Vr,CircleArrowLeftIcon:Vr,CircleArrowOutDownLeft:Br,CircleArrowOutDownLeftIcon:Br,CircleArrowOutDownRight:Ur,CircleArrowOutDownRightIcon:Ur,CircleArrowOutUpLeft:$r,CircleArrowOutUpLeftIcon:$r,CircleArrowOutUpRight:Gr,CircleArrowOutUpRightIcon:Gr,CircleArrowRight:Wr,CircleArrowRightIcon:Wr,CircleArrowUp:Zr,CircleArrowUpIcon:Zr,CircleCheck:Xr,CircleCheckBig:St,CircleCheckBigIcon:St,CircleCheckIcon:Xr,CircleChevronDown:Jr,CircleChevronDownIcon:Jr,CircleChevronLeft:Yr,CircleChevronLeftIcon:Yr,CircleChevronRight:Kr,CircleChevronRightIcon:Kr,CircleChevronUp:Qr,CircleChevronUpIcon:Qr,CircleDashed:vh,CircleDashedIcon:vh,CircleDivide:en,CircleDivideIcon:en,CircleDollarSign:wh,CircleDollarSignIcon:wh,CircleDot:bh,CircleDotDashed:Mh,CircleDotDashedIcon:Mh,CircleDotIcon:bh,CircleEllipsis:Ch,CircleEllipsisIcon:Ch,CircleEqual:jh,CircleEqualIcon:jh,CircleFadingArrowUp:Sh,CircleFadingArrowUpIcon:Sh,CircleFadingPlus:Lh,CircleFadingPlusIcon:Lh,CircleGauge:tn,CircleGaugeIcon:tn,CircleHelp:Ga,CircleHelpIcon:Ga,CircleIcon:Ah,CircleMinus:an,CircleMinusIcon:an,CircleOff:Ih,CircleOffIcon:Ih,CircleParking:nn,CircleParkingIcon:nn,CircleParkingOff:rn,CircleParkingOffIcon:rn,CirclePause:on,CirclePauseIcon:on,CirclePercent:sn,CirclePercentIcon:sn,CirclePlay:cn,CirclePlayIcon:cn,CirclePlus:ln,CirclePlusIcon:ln,CirclePower:dn,CirclePowerIcon:dn,CircleSlash:Nh,CircleSlash2:hn,CircleSlash2Icon:hn,CircleSlashIcon:Nh,CircleSlashed:hn,CircleSlashedIcon:hn,CircleStop:un,CircleStopIcon:un,CircleUser:yn,CircleUserIcon:yn,CircleUserRound:pn,CircleUserRoundIcon:pn,CircleX:ca,CircleXIcon:ca,CircuitBoard:Ph,CircuitBoardIcon:Ph,Citrus:_h,CitrusIcon:_h,Clapperboard:Rh,ClapperboardIcon:Rh,Clipboard:Vh,ClipboardCheck:Th,ClipboardCheckIcon:Th,ClipboardCopy:qh,ClipboardCopyIcon:qh,ClipboardEdit:fn,ClipboardEditIcon:fn,ClipboardIcon:Vh,ClipboardList:Dh,ClipboardListIcon:Dh,ClipboardMinus:zh,ClipboardMinusIcon:zh,ClipboardPaste:Fh,ClipboardPasteIcon:Fh,ClipboardPen:fn,ClipboardPenIcon:fn,ClipboardPenLine:mn,ClipboardPenLineIcon:mn,ClipboardPlus:Eh,ClipboardPlusIcon:Eh,ClipboardSignature:mn,ClipboardSignatureIcon:mn,ClipboardType:Oh,ClipboardTypeIcon:Oh,ClipboardX:Hh,ClipboardXIcon:Hh,Clock:Kt,Clock1:Bh,Clock10:Uh,Clock10Icon:Uh,Clock11:$h,Clock11Icon:$h,Clock12:Gh,Clock12Icon:Gh,Clock1Icon:Bh,Clock2:Wh,Clock2Icon:Wh,Clock3:Zh,Clock3Icon:Zh,Clock4:Xh,Clock4Icon:Xh,Clock5:Jh,Clock5Icon:Jh,Clock6:Yh,Clock6Icon:Yh,Clock7:Kh,Clock7Icon:Kh,Clock8:Qh,Clock8Icon:Qh,Clock9:eu,Clock9Icon:eu,ClockAlert:tu,ClockAlertIcon:tu,ClockArrowDown:au,ClockArrowDownIcon:au,ClockArrowUp:ru,ClockArrowUpIcon:ru,ClockIcon:Kt,Cloud:xu,CloudCog:nu,CloudCogIcon:nu,CloudDownload:xn,CloudDownloadIcon:xn,CloudDrizzle:ou,CloudDrizzleIcon:ou,CloudFog:iu,CloudFogIcon:iu,CloudHail:su,CloudHailIcon:su,CloudIcon:xu,CloudLightning:cu,CloudLightningIcon:cu,CloudMoon:du,CloudMoonIcon:du,CloudMoonRain:lu,CloudMoonRainIcon:lu,CloudOff:hu,CloudOffIcon:hu,CloudRain:pu,CloudRainIcon:pu,CloudRainWind:uu,CloudRainWindIcon:uu,CloudSnow:yu,CloudSnowIcon:yu,CloudSun:fu,CloudSunIcon:fu,CloudSunRain:mu,CloudSunRainIcon:mu,CloudUpload:kn,CloudUploadIcon:kn,Cloudy:ku,CloudyIcon:ku,Clover:gu,CloverIcon:gu,Club:vu,ClubIcon:vu,Code:wu,Code2:gn,Code2Icon:gn,CodeIcon:wu,CodeSquare:Oo,CodeSquareIcon:Oo,CodeXml:gn,CodeXmlIcon:gn,Codepen:Mu,CodepenIcon:Mu,Codesandbox:bu,CodesandboxIcon:bu,Coffee:Cu,CoffeeIcon:Cu,Cog:ju,CogIcon:ju,Coins:Su,CoinsIcon:Su,Columns:vn,Columns2:vn,Columns2Icon:vn,Columns3:wn,Columns3Icon:wn,Columns4:Lu,Columns4Icon:Lu,ColumnsIcon:vn,Combine:Iu,CombineIcon:Iu,Command:Nu,CommandIcon:Nu,Compass:Au,CompassIcon:Au,Component:Pu,ComponentIcon:Pu,Computer:_u,ComputerIcon:_u,ConciergeBell:Ru,ConciergeBellIcon:Ru,Cone:Tu,ConeIcon:Tu,Construction:qu,ConstructionIcon:qu,Contact:Du,Contact2:Mn,Contact2Icon:Mn,ContactIcon:Du,ContactRound:Mn,ContactRoundIcon:Mn,Container:zu,ContainerIcon:zu,Contrast:Fu,ContrastIcon:Fu,Cookie:Eu,CookieIcon:Eu,CookingPot:Ou,CookingPotIcon:Ou,Copy:Gu,CopyCheck:Hu,CopyCheckIcon:Hu,CopyIcon:Gu,CopyMinus:Vu,CopyMinusIcon:Vu,CopyPlus:Bu,CopyPlusIcon:Bu,CopySlash:Uu,CopySlashIcon:Uu,CopyX:$u,CopyXIcon:$u,Copyleft:Wu,CopyleftIcon:Wu,Copyright:Zu,CopyrightIcon:Zu,CornerDownLeft:Xu,CornerDownLeftIcon:Xu,CornerDownRight:Ju,CornerDownRightIcon:Ju,CornerLeftDown:Yu,CornerLeftDownIcon:Yu,CornerLeftUp:Ku,CornerLeftUpIcon:Ku,CornerRightDown:Qu,CornerRightDownIcon:Qu,CornerRightUp:ep,CornerRightUpIcon:ep,CornerUpLeft:tp,CornerUpLeftIcon:tp,CornerUpRight:ap,CornerUpRightIcon:ap,Cpu:rp,CpuIcon:rp,CreativeCommons:np,CreativeCommonsIcon:np,CreditCard:mc,CreditCardIcon:mc,Croissant:op,CroissantIcon:op,Crop:ip,CropIcon:ip,Cross:sp,CrossIcon:sp,Crosshair:cp,CrosshairIcon:cp,Crown:lp,CrownIcon:lp,Cuboid:dp,CuboidIcon:dp,CupSoda:hp,CupSodaIcon:hp,CurlyBraces:Lr,CurlyBracesIcon:Lr,Currency:up,CurrencyIcon:up,Cylinder:pp,CylinderIcon:pp,Dam:yp,DamIcon:yp,Database:xp,DatabaseBackup:mp,DatabaseBackupIcon:mp,DatabaseIcon:xp,DatabaseZap:fp,DatabaseZapIcon:fp,Delete:kp,DeleteIcon:kp,Dessert:gp,DessertIcon:gp,Diameter:vp,DiameterIcon:vp,Diamond:bp,DiamondIcon:bp,DiamondMinus:wp,DiamondMinusIcon:wp,DiamondPercent:bn,DiamondPercentIcon:bn,DiamondPlus:Mp,DiamondPlusIcon:Mp,Dice1:Cp,Dice1Icon:Cp,Dice2:jp,Dice2Icon:jp,Dice3:Sp,Dice3Icon:Sp,Dice4:Lp,Dice4Icon:Lp,Dice5:Ip,Dice5Icon:Ip,Dice6:Np,Dice6Icon:Np,Dices:Ap,DicesIcon:Ap,Diff:Pp,DiffIcon:Pp,Disc:qp,Disc2:_p,Disc2Icon:_p,Disc3:Rp,Disc3Icon:Rp,DiscAlbum:Tp,DiscAlbumIcon:Tp,DiscIcon:qp,Divide:Dp,DivideCircle:en,DivideCircleIcon:en,DivideIcon:Dp,DivideSquare:Uo,DivideSquareIcon:Uo,Dna:Fp,DnaIcon:Fp,DnaOff:zp,DnaOffIcon:zp,Dock:Ep,DockIcon:Ep,Dog:Op,DogIcon:Op,DollarSign:fc,DollarSignIcon:fc,Donut:Hp,DonutIcon:Hp,DoorClosed:Vp,DoorClosedIcon:Vp,DoorOpen:Bp,DoorOpenIcon:Bp,Dot:Up,DotIcon:Up,DotSquare:$o,DotSquareIcon:$o,Download:$p,DownloadCloud:xn,DownloadCloudIcon:xn,DownloadIcon:$p,DraftingCompass:Gp,DraftingCompassIcon:Gp,Drama:Wp,DramaIcon:Wp,Dribbble:Zp,DribbbleIcon:Zp,Drill:Xp,DrillIcon:Xp,Droplet:Jp,DropletIcon:Jp,Droplets:Yp,DropletsIcon:Yp,Drum:Kp,DrumIcon:Kp,Drumstick:Qp,DrumstickIcon:Qp,Dumbbell:ey,DumbbellIcon:ey,Ear:ay,EarIcon:ay,EarOff:ty,EarOffIcon:ty,Earth:Cn,EarthIcon:Cn,EarthLock:ry,EarthLockIcon:ry,Eclipse:ny,EclipseIcon:ny,Edit:bt,Edit2:lo,Edit2Icon:lo,Edit3:co,Edit3Icon:co,EditIcon:bt,Egg:sy,EggFried:oy,EggFriedIcon:oy,EggIcon:sy,EggOff:iy,EggOffIcon:iy,Ellipsis:Sn,EllipsisIcon:Sn,EllipsisVertical:jn,EllipsisVerticalIcon:jn,Equal:ly,EqualIcon:ly,EqualNot:cy,EqualNotIcon:cy,EqualSquare:Go,EqualSquareIcon:Go,Eraser:dy,EraserIcon:dy,EthernetPort:hy,EthernetPortIcon:hy,Euro:uy,EuroIcon:uy,Expand:py,ExpandIcon:py,ExternalLink:Oi,ExternalLinkIcon:Oi,Eye:xc,EyeClosed:yy,EyeClosedIcon:yy,EyeIcon:xc,EyeOff:my,EyeOffIcon:my,Facebook:fy,FacebookIcon:fy,Factory:xy,FactoryIcon:xy,Fan:ky,FanIcon:ky,FastForward:gy,FastForwardIcon:gy,Feather:vy,FeatherIcon:vy,Fence:wy,FenceIcon:wy,FerrisWheel:My,FerrisWheelIcon:My,Figma:by,FigmaIcon:by,File:vm,FileArchive:Cy,FileArchiveIcon:Cy,FileAudio:Sy,FileAudio2:jy,FileAudio2Icon:jy,FileAudioIcon:Sy,FileAxis3D:Ln,FileAxis3DIcon:Ln,FileAxis3d:Ln,FileAxis3dIcon:Ln,FileBadge:Iy,FileBadge2:Ly,FileBadge2Icon:Ly,FileBadgeIcon:Iy,FileBarChart:In,FileBarChart2:Nn,FileBarChart2Icon:Nn,FileBarChartIcon:In,FileBox:Ny,FileBoxIcon:Ny,FileChartColumn:Nn,FileChartColumnIcon:Nn,FileChartColumnIncreasing:In,FileChartColumnIncreasingIcon:In,FileChartLine:An,FileChartLineIcon:An,FileChartPie:Pn,FileChartPieIcon:Pn,FileCheck:Py,FileCheck2:Ay,FileCheck2Icon:Ay,FileCheckIcon:Py,FileClock:_y,FileClockIcon:_y,FileCode:Ty,FileCode2:Ry,FileCode2Icon:Ry,FileCodeIcon:Ty,FileCog:_n,FileCog2:_n,FileCog2Icon:_n,FileCogIcon:_n,FileDiff:qy,FileDiffIcon:qy,FileDigit:Dy,FileDigitIcon:Dy,FileDown:zy,FileDownIcon:zy,FileEdit:Tn,FileEditIcon:Tn,FileHeart:Fy,FileHeartIcon:Fy,FileIcon:vm,FileImage:Ey,FileImageIcon:Ey,FileInput:Oy,FileInputIcon:Oy,FileJson:Vy,FileJson2:Hy,FileJson2Icon:Hy,FileJsonIcon:Vy,FileKey:Uy,FileKey2:By,FileKey2Icon:By,FileKeyIcon:Uy,FileLineChart:An,FileLineChartIcon:An,FileLock:Gy,FileLock2:$y,FileLock2Icon:$y,FileLockIcon:Gy,FileMinus:Zy,FileMinus2:Wy,FileMinus2Icon:Wy,FileMinusIcon:Zy,FileMusic:Xy,FileMusicIcon:Xy,FileOutput:Jy,FileOutputIcon:Jy,FilePen:Tn,FilePenIcon:Tn,FilePenLine:Rn,FilePenLineIcon:Rn,FilePieChart:Pn,FilePieChartIcon:Pn,FilePlus:Ky,FilePlus2:Yy,FilePlus2Icon:Yy,FilePlusIcon:Ky,FileQuestion:Qy,FileQuestionIcon:Qy,FileScan:em,FileScanIcon:em,FileSearch:am,FileSearch2:tm,FileSearch2Icon:tm,FileSearchIcon:am,FileSignature:Rn,FileSignatureIcon:Rn,FileSliders:rm,FileSlidersIcon:rm,FileSpreadsheet:nm,FileSpreadsheetIcon:nm,FileStack:om,FileStackIcon:om,FileSymlink:im,FileSymlinkIcon:im,FileTerminal:sm,FileTerminalIcon:sm,FileText:cm,FileTextIcon:cm,FileType:dm,FileType2:lm,FileType2Icon:lm,FileTypeIcon:dm,FileUp:hm,FileUpIcon:hm,FileUser:um,FileUserIcon:um,FileVideo:ym,FileVideo2:pm,FileVideo2Icon:pm,FileVideoIcon:ym,FileVolume:fm,FileVolume2:mm,FileVolume2Icon:mm,FileVolumeIcon:fm,FileWarning:xm,FileWarningIcon:xm,FileX:gm,FileX2:km,FileX2Icon:km,FileXIcon:gm,Files:wm,FilesIcon:wm,Film:Mm,FilmIcon:Mm,Filter:ws,FilterIcon:ws,FilterX:bm,FilterXIcon:bm,Fingerprint:Cm,FingerprintIcon:Cm,FireExtinguisher:jm,FireExtinguisherIcon:jm,Fish:Im,FishIcon:Im,FishOff:Sm,FishOffIcon:Sm,FishSymbol:Lm,FishSymbolIcon:Lm,Flag:kc,FlagIcon:kc,FlagOff:Nm,FlagOffIcon:Nm,FlagTriangleLeft:Am,FlagTriangleLeftIcon:Am,FlagTriangleRight:Pm,FlagTriangleRightIcon:Pm,Flame:Rm,FlameIcon:Rm,FlameKindling:_m,FlameKindlingIcon:_m,Flashlight:qm,FlashlightIcon:qm,FlashlightOff:Tm,FlashlightOffIcon:Tm,FlaskConical:zm,FlaskConicalIcon:zm,FlaskConicalOff:Dm,FlaskConicalOffIcon:Dm,FlaskRound:Fm,FlaskRoundIcon:Fm,FlipHorizontal:Om,FlipHorizontal2:Em,FlipHorizontal2Icon:Em,FlipHorizontalIcon:Om,FlipVertical:Vm,FlipVertical2:Hm,FlipVertical2Icon:Hm,FlipVerticalIcon:Vm,Flower:Um,Flower2:Bm,Flower2Icon:Bm,FlowerIcon:Um,Focus:$m,FocusIcon:$m,FoldHorizontal:Gm,FoldHorizontalIcon:Gm,FoldVertical:Wm,FoldVerticalIcon:Wm,Folder:Mf,FolderArchive:Zm,FolderArchiveIcon:Zm,FolderCheck:Xm,FolderCheckIcon:Xm,FolderClock:Jm,FolderClockIcon:Jm,FolderClosed:Ym,FolderClosedIcon:Ym,FolderCode:Km,FolderCodeIcon:Km,FolderCog:qn,FolderCog2:qn,FolderCog2Icon:qn,FolderCogIcon:qn,FolderDot:Qm,FolderDotIcon:Qm,FolderDown:ef,FolderDownIcon:ef,FolderEdit:Dn,FolderEditIcon:Dn,FolderGit:af,FolderGit2:tf,FolderGit2Icon:tf,FolderGitIcon:af,FolderHeart:rf,FolderHeartIcon:rf,FolderIcon:Mf,FolderInput:nf,FolderInputIcon:nf,FolderKanban:of,FolderKanbanIcon:of,FolderKey:sf,FolderKeyIcon:sf,FolderLock:cf,FolderLockIcon:cf,FolderMinus:lf,FolderMinusIcon:lf,FolderOpen:hf,FolderOpenDot:df,FolderOpenDotIcon:df,FolderOpenIcon:hf,FolderOutput:uf,FolderOutputIcon:uf,FolderPen:Dn,FolderPenIcon:Dn,FolderPlus:pf,FolderPlusIcon:pf,FolderRoot:yf,FolderRootIcon:yf,FolderSearch:ff,FolderSearch2:mf,FolderSearch2Icon:mf,FolderSearchIcon:ff,FolderSymlink:xf,FolderSymlinkIcon:xf,FolderSync:kf,FolderSyncIcon:kf,FolderTree:gf,FolderTreeIcon:gf,FolderUp:vf,FolderUpIcon:vf,FolderX:wf,FolderXIcon:wf,Folders:bf,FoldersIcon:bf,Footprints:Cf,FootprintsIcon:Cf,ForkKnife:_i,ForkKnifeCrossed:Pi,ForkKnifeCrossedIcon:Pi,ForkKnifeIcon:_i,Forklift:jf,ForkliftIcon:jf,FormInput:uo,FormInputIcon:uo,Forward:Sf,ForwardIcon:Sf,Frame:Lf,FrameIcon:Lf,Framer:If,FramerIcon:If,Frown:Nf,FrownIcon:Nf,Fuel:Af,FuelIcon:Af,Fullscreen:Pf,FullscreenIcon:Pf,FunctionSquare:Wo,FunctionSquareIcon:Wo,GalleryHorizontal:Rf,GalleryHorizontalEnd:_f,GalleryHorizontalEndIcon:_f,GalleryHorizontalIcon:Rf,GalleryThumbnails:Tf,GalleryThumbnailsIcon:Tf,GalleryVertical:Df,GalleryVerticalEnd:qf,GalleryVerticalEndIcon:qf,GalleryVerticalIcon:Df,Gamepad:Ff,Gamepad2:zf,Gamepad2Icon:zf,GamepadIcon:Ff,GanttChart:Fr,GanttChartIcon:Fr,GanttChartSquare:ia,GanttChartSquareIcon:ia,Gauge:Ef,GaugeCircle:tn,GaugeCircleIcon:tn,GaugeIcon:Ef,Gavel:Of,GavelIcon:Of,Gem:Hf,GemIcon:Hf,Ghost:Vf,GhostIcon:Vf,Gift:Bf,GiftIcon:Bf,GitBranch:$f,GitBranchIcon:$f,GitBranchPlus:Uf,GitBranchPlusIcon:Uf,GitCommit:zn,GitCommitHorizontal:zn,GitCommitHorizontalIcon:zn,GitCommitIcon:zn,GitCommitVertical:Gf,GitCommitVerticalIcon:Gf,GitCompare:Zf,GitCompareArrows:Wf,GitCompareArrowsIcon:Wf,GitCompareIcon:Zf,GitFork:Xf,GitForkIcon:Xf,GitGraph:Jf,GitGraphIcon:Jf,GitMerge:Yf,GitMergeIcon:Yf,GitPullRequest:r4,GitPullRequestArrow:Kf,GitPullRequestArrowIcon:Kf,GitPullRequestClosed:Qf,GitPullRequestClosedIcon:Qf,GitPullRequestCreate:t4,GitPullRequestCreateArrow:e4,GitPullRequestCreateArrowIcon:e4,GitPullRequestCreateIcon:t4,GitPullRequestDraft:a4,GitPullRequestDraftIcon:a4,GitPullRequestIcon:r4,Github:n4,GithubIcon:n4,Gitlab:o4,GitlabIcon:o4,GlassWater:i4,GlassWaterIcon:i4,Glasses:s4,GlassesIcon:s4,Globe:Ms,Globe2:Cn,Globe2Icon:Cn,GlobeIcon:Ms,GlobeLock:c4,GlobeLockIcon:c4,Goal:l4,GoalIcon:l4,Grab:d4,GrabIcon:d4,GraduationCap:bs,GraduationCapIcon:bs,Grape:h4,GrapeIcon:h4,Grid:Zt,Grid2X2:Fn,Grid2X2Icon:Fn,Grid2x2:Fn,Grid2x2Check:u4,Grid2x2CheckIcon:u4,Grid2x2Icon:Fn,Grid2x2Plus:p4,Grid2x2PlusIcon:p4,Grid2x2X:y4,Grid2x2XIcon:y4,Grid3X3:Zt,Grid3X3Icon:Zt,Grid3x3:Zt,Grid3x3Icon:Zt,GridIcon:Zt,Grip:x4,GripHorizontal:m4,GripHorizontalIcon:m4,GripIcon:x4,GripVertical:f4,GripVerticalIcon:f4,Group:k4,GroupIcon:k4,Guitar:g4,GuitarIcon:g4,Ham:v4,HamIcon:v4,Hammer:w4,HammerIcon:w4,Hand:S4,HandCoins:M4,HandCoinsIcon:M4,HandHeart:b4,HandHeartIcon:b4,HandHelping:En,HandHelpingIcon:En,HandIcon:S4,HandMetal:C4,HandMetalIcon:C4,HandPlatter:j4,HandPlatterIcon:j4,Handshake:L4,HandshakeIcon:L4,HardDrive:A4,HardDriveDownload:I4,HardDriveDownloadIcon:I4,HardDriveIcon:A4,HardDriveUpload:N4,HardDriveUploadIcon:N4,HardHat:P4,HardHatIcon:P4,Hash:_4,HashIcon:_4,Haze:R4,HazeIcon:R4,HdmiPort:T4,HdmiPortIcon:T4,Heading:H4,Heading1:q4,Heading1Icon:q4,Heading2:D4,Heading2Icon:D4,Heading3:z4,Heading3Icon:z4,Heading4:F4,Heading4Icon:F4,Heading5:E4,Heading5Icon:E4,Heading6:O4,Heading6Icon:O4,HeadingIcon:H4,HeadphoneOff:V4,HeadphoneOffIcon:V4,Headphones:B4,HeadphonesIcon:B4,Headset:U4,HeadsetIcon:U4,Heart:Cs,HeartCrack:$4,HeartCrackIcon:$4,HeartHandshake:G4,HeartHandshakeIcon:G4,HeartIcon:Cs,HeartOff:W4,HeartOffIcon:W4,HeartPulse:Z4,HeartPulseIcon:Z4,Heater:X4,HeaterIcon:X4,HelpCircle:Ga,HelpCircleIcon:Ga,HelpingHand:En,HelpingHandIcon:En,Hexagon:J4,HexagonIcon:J4,Highlighter:Y4,HighlighterIcon:Y4,History:K4,HistoryIcon:K4,Home:ja,HomeIcon:ja,Hop:ex,HopIcon:ex,HopOff:Q4,HopOffIcon:Q4,Hospital:tx,HospitalIcon:tx,Hotel:ax,HotelIcon:ax,Hourglass:rx,HourglassIcon:rx,House:ja,HouseIcon:ja,HousePlug:nx,HousePlugIcon:nx,HousePlus:ox,HousePlusIcon:ox,IceCream:Hn,IceCream2:On,IceCream2Icon:On,IceCreamBowl:On,IceCreamBowlIcon:On,IceCreamCone:Hn,IceCreamConeIcon:Hn,IceCreamIcon:Hn,Icon:bI,IdCard:ix,IdCardIcon:ix,Image:px,ImageDown:sx,ImageDownIcon:sx,ImageIcon:px,ImageMinus:cx,ImageMinusIcon:cx,ImageOff:lx,ImageOffIcon:lx,ImagePlay:dx,ImagePlayIcon:dx,ImagePlus:hx,ImagePlusIcon:hx,ImageUp:ux,ImageUpIcon:ux,Images:yx,ImagesIcon:yx,Import:mx,ImportIcon:mx,Inbox:fx,InboxIcon:fx,Indent:Bn,IndentDecrease:Vn,IndentDecreaseIcon:Vn,IndentIcon:Bn,IndentIncrease:Bn,IndentIncreaseIcon:Bn,IndianRupee:xx,IndianRupeeIcon:xx,Infinity:kx,InfinityIcon:kx,Info:gx,InfoIcon:gx,Inspect:Qo,InspectIcon:Qo,InspectionPanel:vx,InspectionPanelIcon:vx,Instagram:wx,InstagramIcon:wx,Italic:Mx,ItalicIcon:Mx,IterationCcw:bx,IterationCcwIcon:bx,IterationCw:Cx,IterationCwIcon:Cx,JapaneseYen:jx,JapaneseYenIcon:jx,Joystick:Sx,JoystickIcon:Sx,Kanban:Lx,KanbanIcon:Lx,KanbanSquare:Zo,KanbanSquareDashed:Ho,KanbanSquareDashedIcon:Ho,KanbanSquareIcon:Zo,Key:Ax,KeyIcon:Ax,KeyRound:Ix,KeyRoundIcon:Ix,KeySquare:Nx,KeySquareIcon:Nx,Keyboard:Rx,KeyboardIcon:Rx,KeyboardMusic:Px,KeyboardMusicIcon:Px,KeyboardOff:_x,KeyboardOffIcon:_x,Lamp:Ex,LampCeiling:Tx,LampCeilingIcon:Tx,LampDesk:qx,LampDeskIcon:qx,LampFloor:Dx,LampFloorIcon:Dx,LampIcon:Ex,LampWallDown:zx,LampWallDownIcon:zx,LampWallUp:Fx,LampWallUpIcon:Fx,LandPlot:Ox,LandPlotIcon:Ox,Landmark:Hx,LandmarkIcon:Hx,Languages:Vx,LanguagesIcon:Vx,Laptop:Bx,Laptop2:Un,Laptop2Icon:Un,LaptopIcon:Bx,LaptopMinimal:Un,LaptopMinimalIcon:Un,Lasso:$x,LassoIcon:$x,LassoSelect:Ux,LassoSelectIcon:Ux,Laugh:Gx,LaughIcon:Gx,Layers:Xx,Layers2:Wx,Layers2Icon:Wx,Layers3:Zx,Layers3Icon:Zx,LayersIcon:Xx,Layout:so,LayoutDashboard:gc,LayoutDashboardIcon:gc,LayoutGrid:Jx,LayoutGridIcon:Jx,LayoutIcon:so,LayoutList:Yx,LayoutListIcon:Yx,LayoutPanelLeft:Kx,LayoutPanelLeftIcon:Kx,LayoutPanelTop:Qx,LayoutPanelTopIcon:Qx,LayoutTemplate:ek,LayoutTemplateIcon:ek,Leaf:tk,LeafIcon:tk,LeafyGreen:ak,LeafyGreenIcon:ak,Lectern:rk,LecternIcon:rk,LetterText:nk,LetterTextIcon:nk,Library:ik,LibraryBig:ok,LibraryBigIcon:ok,LibraryIcon:ik,LibrarySquare:Xo,LibrarySquareIcon:Xo,LifeBuoy:sk,LifeBuoyIcon:sk,Ligature:ck,LigatureIcon:ck,Lightbulb:dk,LightbulbIcon:dk,LightbulbOff:lk,LightbulbOffIcon:lk,LineChart:Dr,LineChartIcon:Dr,Link:vc,Link2:uk,Link2Icon:uk,Link2Off:hk,Link2OffIcon:hk,LinkIcon:vc,Linkedin:pk,LinkedinIcon:pk,List:wc,ListCheck:yk,ListCheckIcon:yk,ListChecks:mk,ListChecksIcon:mk,ListCollapse:fk,ListCollapseIcon:fk,ListEnd:xk,ListEndIcon:xk,ListFilter:kk,ListFilterIcon:kk,ListIcon:wc,ListMinus:gk,ListMinusIcon:gk,ListMusic:vk,ListMusicIcon:vk,ListOrdered:wk,ListOrderedIcon:wk,ListPlus:Mk,ListPlusIcon:Mk,ListRestart:bk,ListRestartIcon:bk,ListStart:Ck,ListStartIcon:Ck,ListTodo:jk,ListTodoIcon:jk,ListTree:Sk,ListTreeIcon:Sk,ListVideo:Lk,ListVideoIcon:Lk,ListX:Ik,ListXIcon:Ik,Loader:Ak,Loader2:$n,Loader2Icon:$n,LoaderCircle:$n,LoaderCircleIcon:$n,LoaderIcon:Ak,LoaderPinwheel:Nk,LoaderPinwheelIcon:Nk,Locate:Rk,LocateFixed:Pk,LocateFixedIcon:Pk,LocateIcon:Rk,LocateOff:_k,LocateOffIcon:_k,Lock:Mc,LockIcon:Mc,LockKeyhole:Tk,LockKeyholeIcon:Tk,LockKeyholeOpen:Gn,LockKeyholeOpenIcon:Gn,LockOpen:Wn,LockOpenIcon:Wn,LogIn:qk,LogInIcon:qk,LogOut:bc,LogOutIcon:bc,Logs:Dk,LogsIcon:Dk,Lollipop:zk,LollipopIcon:zk,LucideAArrowDown:p1,LucideAArrowUp:y1,LucideALargeSmall:m1,LucideAccessibility:f1,LucideActivity:x1,LucideActivitySquare:wo,LucideAirVent:k1,LucideAirplay:g1,LucideAlarmCheck:pr,LucideAlarmClock:w1,LucideAlarmClockCheck:pr,LucideAlarmClockMinus:yr,LucideAlarmClockOff:v1,LucideAlarmClockPlus:mr,LucideAlarmMinus:yr,LucideAlarmPlus:mr,LucideAlarmSmoke:M1,LucideAlbum:b1,LucideAlertCircle:Jt,LucideAlertOctagon:Jn,LucideAlertTriangle:wi,LucideAlignCenter:S1,LucideAlignCenterHorizontal:C1,LucideAlignCenterVertical:j1,LucideAlignEndHorizontal:L1,LucideAlignEndVertical:I1,LucideAlignHorizontalDistributeCenter:N1,LucideAlignHorizontalDistributeEnd:A1,LucideAlignHorizontalDistributeStart:P1,LucideAlignHorizontalJustifyCenter:_1,LucideAlignHorizontalJustifyEnd:R1,LucideAlignHorizontalJustifyStart:T1,LucideAlignHorizontalSpaceAround:q1,LucideAlignHorizontalSpaceBetween:D1,LucideAlignJustify:z1,LucideAlignLeft:F1,LucideAlignRight:E1,LucideAlignStartHorizontal:O1,LucideAlignStartVertical:H1,LucideAlignVerticalDistributeCenter:V1,LucideAlignVerticalDistributeEnd:B1,LucideAlignVerticalDistributeStart:U1,LucideAlignVerticalJustifyCenter:$1,LucideAlignVerticalJustifyEnd:G1,LucideAlignVerticalJustifyStart:W1,LucideAlignVerticalSpaceAround:Z1,LucideAlignVerticalSpaceBetween:X1,LucideAmbulance:J1,LucideAmpersand:Y1,LucideAmpersands:K1,LucideAmphora:Q1,LucideAnchor:el,LucideAngry:tl,LucideAnnoyed:al,LucideAntenna:rl,LucideAnvil:nl,LucideAperture:ol,LucideAppWindow:sl,LucideAppWindowMac:il,LucideApple:cl,LucideArchive:hl,LucideArchiveRestore:ll,LucideArchiveX:dl,LucideAreaChart:Nr,LucideArmchair:ul,LucideArrowBigDown:yl,LucideArrowBigDownDash:pl,LucideArrowBigLeft:fl,LucideArrowBigLeftDash:ml,LucideArrowBigRight:kl,LucideArrowBigRightDash:xl,LucideArrowBigUp:vl,LucideArrowBigUpDash:gl,LucideArrowDown:Al,LucideArrowDown01:wl,LucideArrowDown10:Ml,LucideArrowDownAZ:fr,LucideArrowDownAz:fr,LucideArrowDownCircle:Hr,LucideArrowDownFromLine:bl,LucideArrowDownLeft:Cl,LucideArrowDownLeftFromCircle:Br,LucideArrowDownLeftFromSquare:jo,LucideArrowDownLeftSquare:Mo,LucideArrowDownNarrowWide:jl,LucideArrowDownRight:Sl,LucideArrowDownRightFromCircle:Ur,LucideArrowDownRightFromSquare:So,LucideArrowDownRightSquare:bo,LucideArrowDownSquare:Co,LucideArrowDownToDot:Ll,LucideArrowDownToLine:Il,LucideArrowDownUp:Nl,LucideArrowDownWideNarrow:xr,LucideArrowDownZA:kr,LucideArrowDownZa:kr,LucideArrowLeft:zi,LucideArrowLeftCircle:Vr,LucideArrowLeftFromLine:Pl,LucideArrowLeftRight:_l,LucideArrowLeftSquare:Sa,LucideArrowLeftToLine:Rl,LucideArrowRight:xs,LucideArrowRightCircle:Wr,LucideArrowRightFromLine:Tl,LucideArrowRightLeft:ql,LucideArrowRightSquare:La,LucideArrowRightToLine:Dl,LucideArrowUp:Gl,LucideArrowUp01:zl,LucideArrowUp10:Fl,LucideArrowUpAZ:gr,LucideArrowUpAz:gr,LucideArrowUpCircle:Zr,LucideArrowUpDown:El,LucideArrowUpFromDot:Ol,LucideArrowUpFromLine:Hl,LucideArrowUpLeft:Vl,LucideArrowUpLeftFromCircle:$r,LucideArrowUpLeftFromSquare:Lo,LucideArrowUpLeftSquare:No,LucideArrowUpNarrowWide:vr,LucideArrowUpRight:Bl,LucideArrowUpRightFromCircle:Gr,LucideArrowUpRightFromSquare:Io,LucideArrowUpRightSquare:Ao,LucideArrowUpSquare:Po,LucideArrowUpToLine:Ul,LucideArrowUpWideNarrow:$l,LucideArrowUpZA:wr,LucideArrowUpZa:wr,LucideArrowsUpFromLine:Wl,LucideAsterisk:Zl,LucideAsteriskSquare:_o,LucideAtSign:Xl,LucideAtom:Jl,LucideAudioLines:Yl,LucideAudioWaveform:Kl,LucideAward:Na,LucideAxe:Ql,LucideAxis3D:Mr,LucideAxis3d:Mr,LucideBaby:ed,LucideBackpack:td,LucideBadge:xd,LucideBadgeAlert:ad,LucideBadgeCent:rd,LucideBadgeCheck:br,LucideBadgeDollarSign:nd,LucideBadgeEuro:od,LucideBadgeHelp:id,LucideBadgeIndianRupee:sd,LucideBadgeInfo:cd,LucideBadgeJapaneseYen:ld,LucideBadgeMinus:dd,LucideBadgePercent:hd,LucideBadgePlus:ud,LucideBadgePoundSterling:pd,LucideBadgeRussianRuble:yd,LucideBadgeSwissFranc:md,LucideBadgeX:fd,LucideBaggageClaim:kd,LucideBan:gd,LucideBanana:vd,LucideBandage:wd,LucideBanknote:Md,LucideBarChart:$a,LucideBarChart2:zr,LucideBarChart3:qr,LucideBarChart4:Tr,LucideBarChartBig:Rr,LucideBarChartHorizontal:Pr,LucideBarChartHorizontalBig:Ar,LucideBarcode:bd,LucideBaseline:Cd,LucideBath:jd,LucideBattery:Pd,LucideBatteryCharging:Sd,LucideBatteryFull:Ld,LucideBatteryLow:Id,LucideBatteryMedium:Nd,LucideBatteryWarning:Ad,LucideBeaker:_d,LucideBean:Td,LucideBeanOff:Rd,LucideBed:zd,LucideBedDouble:qd,LucideBedSingle:Dd,LucideBeef:Fd,LucideBeer:Od,LucideBeerOff:Ed,LucideBell:ks,LucideBellDot:Hd,LucideBellElectric:Vd,LucideBellMinus:Bd,LucideBellOff:Ud,LucideBellPlus:$d,LucideBellRing:Gd,LucideBetweenHorizonalEnd:Cr,LucideBetweenHorizonalStart:jr,LucideBetweenHorizontalEnd:Cr,LucideBetweenHorizontalStart:jr,LucideBetweenVerticalEnd:Wd,LucideBetweenVerticalStart:Zd,LucideBicepsFlexed:Xd,LucideBike:Jd,LucideBinary:Yd,LucideBinoculars:Kd,LucideBiohazard:Qd,LucideBird:e2,LucideBitcoin:t2,LucideBlend:a2,LucideBlinds:r2,LucideBlocks:n2,LucideBluetooth:c2,LucideBluetoothConnected:o2,LucideBluetoothOff:i2,LucideBluetoothSearching:s2,LucideBold:l2,LucideBolt:d2,LucideBomb:h2,LucideBone:u2,LucideBook:T2,LucideBookA:p2,LucideBookAudio:y2,LucideBookCheck:m2,LucideBookCopy:f2,LucideBookDashed:Sr,LucideBookDown:x2,LucideBookHeadphones:k2,LucideBookHeart:g2,LucideBookImage:v2,LucideBookKey:w2,LucideBookLock:M2,LucideBookMarked:b2,LucideBookMinus:C2,LucideBookOpen:Vt,LucideBookOpenCheck:j2,LucideBookOpenText:S2,LucideBookPlus:L2,LucideBookTemplate:Sr,LucideBookText:I2,LucideBookType:N2,LucideBookUp:P2,LucideBookUp2:A2,LucideBookUser:_2,LucideBookX:R2,LucideBookmark:Pa,LucideBookmarkCheck:pa,LucideBookmarkMinus:q2,LucideBookmarkPlus:dc,LucideBookmarkX:D2,LucideBoomBox:z2,LucideBot:hc,LucideBotMessageSquare:F2,LucideBotOff:E2,LucideBox:O2,LucideBoxSelect:Bo,LucideBoxes:H2,LucideBraces:Lr,LucideBrackets:V2,LucideBrain:$2,LucideBrainCircuit:B2,LucideBrainCog:U2,LucideBrickWall:G2,LucideBriefcase:ft,LucideBriefcaseBusiness:W2,LucideBriefcaseConveyorBelt:Z2,LucideBriefcaseMedical:X2,LucideBringToFront:J2,LucideBrush:Y2,LucideBug:e0,LucideBugOff:K2,LucideBugPlay:Q2,LucideBuilding:gs,LucideBuilding2:uc,LucideBus:a0,LucideBusFront:t0,LucideCable:n0,LucideCableCar:r0,LucideCake:i0,LucideCakeSlice:o0,LucideCalculator:s0,LucideCalendar:pc,LucideCalendarArrowDown:c0,LucideCalendarArrowUp:l0,LucideCalendarCheck:h0,LucideCalendarCheck2:d0,LucideCalendarClock:u0,LucideCalendarCog:p0,LucideCalendarDays:y0,LucideCalendarFold:m0,LucideCalendarHeart:f0,LucideCalendarMinus:k0,LucideCalendarMinus2:x0,LucideCalendarOff:g0,LucideCalendarPlus:w0,LucideCalendarPlus2:v0,LucideCalendarRange:M0,LucideCalendarSearch:b0,LucideCalendarX:j0,LucideCalendarX2:C0,LucideCamera:L0,LucideCameraOff:S0,LucideCandlestickChart:_r,LucideCandy:A0,LucideCandyCane:I0,LucideCandyOff:N0,LucideCannabis:P0,LucideCaptions:Ir,LucideCaptionsOff:_0,LucideCar:q0,LucideCarFront:R0,LucideCarTaxiFront:T0,LucideCaravan:D0,LucideCarrot:z0,LucideCaseLower:F0,LucideCaseSensitive:E0,LucideCaseUpper:O0,LucideCassetteTape:H0,LucideCast:V0,LucideCastle:B0,LucideCat:U0,LucideCctv:$0,LucideChartArea:Nr,LucideChartBar:Pr,LucideChartBarBig:Ar,LucideChartBarDecreasing:G0,LucideChartBarIncreasing:W0,LucideChartBarStacked:Z0,LucideChartCandlestick:_r,LucideChartColumn:qr,LucideChartColumnBig:Rr,LucideChartColumnDecreasing:X0,LucideChartColumnIncreasing:Tr,LucideChartColumnStacked:J0,LucideChartGantt:Y0,LucideChartLine:Dr,LucideChartNetwork:K0,LucideChartNoAxesColumn:zr,LucideChartNoAxesColumnDecreasing:Q0,LucideChartNoAxesColumnIncreasing:$a,LucideChartNoAxesCombined:eh,LucideChartNoAxesGantt:Fr,LucideChartPie:Er,LucideChartScatter:Or,LucideChartSpline:th,LucideCheck:vs,LucideCheckCheck:ah,LucideCheckCircle:St,LucideCheckCircle2:Xr,LucideCheckSquare:To,LucideCheckSquare2:qo,LucideChefHat:rh,LucideCherry:nh,LucideChevronDown:Fi,LucideChevronDownCircle:Jr,LucideChevronDownSquare:Do,LucideChevronFirst:oh,LucideChevronLast:ih,LucideChevronLeft:Ei,LucideChevronLeftCircle:Yr,LucideChevronLeftSquare:zo,LucideChevronRight:Ja,LucideChevronRightCircle:Kr,LucideChevronRightSquare:Fo,LucideChevronUp:yc,LucideChevronUpCircle:Qr,LucideChevronUpSquare:Eo,LucideChevronsDown:ch,LucideChevronsDownUp:sh,LucideChevronsLeft:hh,LucideChevronsLeftRight:dh,LucideChevronsLeftRightEllipsis:lh,LucideChevronsRight:ph,LucideChevronsRightLeft:uh,LucideChevronsUp:mh,LucideChevronsUpDown:yh,LucideChrome:fh,LucideChurch:xh,LucideCigarette:gh,LucideCigaretteOff:kh,LucideCircle:Ah,LucideCircleAlert:Jt,LucideCircleArrowDown:Hr,LucideCircleArrowLeft:Vr,LucideCircleArrowOutDownLeft:Br,LucideCircleArrowOutDownRight:Ur,LucideCircleArrowOutUpLeft:$r,LucideCircleArrowOutUpRight:Gr,LucideCircleArrowRight:Wr,LucideCircleArrowUp:Zr,LucideCircleCheck:Xr,LucideCircleCheckBig:St,LucideCircleChevronDown:Jr,LucideCircleChevronLeft:Yr,LucideCircleChevronRight:Kr,LucideCircleChevronUp:Qr,LucideCircleDashed:vh,LucideCircleDivide:en,LucideCircleDollarSign:wh,LucideCircleDot:bh,LucideCircleDotDashed:Mh,LucideCircleEllipsis:Ch,LucideCircleEqual:jh,LucideCircleFadingArrowUp:Sh,LucideCircleFadingPlus:Lh,LucideCircleGauge:tn,LucideCircleHelp:Ga,LucideCircleMinus:an,LucideCircleOff:Ih,LucideCircleParking:nn,LucideCircleParkingOff:rn,LucideCirclePause:on,LucideCirclePercent:sn,LucideCirclePlay:cn,LucideCirclePlus:ln,LucideCirclePower:dn,LucideCircleSlash:Nh,LucideCircleSlash2:hn,LucideCircleSlashed:hn,LucideCircleStop:un,LucideCircleUser:yn,LucideCircleUserRound:pn,LucideCircleX:ca,LucideCircuitBoard:Ph,LucideCitrus:_h,LucideClapperboard:Rh,LucideClipboard:Vh,LucideClipboardCheck:Th,LucideClipboardCopy:qh,LucideClipboardEdit:fn,LucideClipboardList:Dh,LucideClipboardMinus:zh,LucideClipboardPaste:Fh,LucideClipboardPen:fn,LucideClipboardPenLine:mn,LucideClipboardPlus:Eh,LucideClipboardSignature:mn,LucideClipboardType:Oh,LucideClipboardX:Hh,LucideClock:Kt,LucideClock1:Bh,LucideClock10:Uh,LucideClock11:$h,LucideClock12:Gh,LucideClock2:Wh,LucideClock3:Zh,LucideClock4:Xh,LucideClock5:Jh,LucideClock6:Yh,LucideClock7:Kh,LucideClock8:Qh,LucideClock9:eu,LucideClockAlert:tu,LucideClockArrowDown:au,LucideClockArrowUp:ru,LucideCloud:xu,LucideCloudCog:nu,LucideCloudDownload:xn,LucideCloudDrizzle:ou,LucideCloudFog:iu,LucideCloudHail:su,LucideCloudLightning:cu,LucideCloudMoon:du,LucideCloudMoonRain:lu,LucideCloudOff:hu,LucideCloudRain:pu,LucideCloudRainWind:uu,LucideCloudSnow:yu,LucideCloudSun:fu,LucideCloudSunRain:mu,LucideCloudUpload:kn,LucideCloudy:ku,LucideClover:gu,LucideClub:vu,LucideCode:wu,LucideCode2:gn,LucideCodeSquare:Oo,LucideCodeXml:gn,LucideCodepen:Mu,LucideCodesandbox:bu,LucideCoffee:Cu,LucideCog:ju,LucideCoins:Su,LucideColumns:vn,LucideColumns2:vn,LucideColumns3:wn,LucideColumns4:Lu,LucideCombine:Iu,LucideCommand:Nu,LucideCompass:Au,LucideComponent:Pu,LucideComputer:_u,LucideConciergeBell:Ru,LucideCone:Tu,LucideConstruction:qu,LucideContact:Du,LucideContact2:Mn,LucideContactRound:Mn,LucideContainer:zu,LucideContrast:Fu,LucideCookie:Eu,LucideCookingPot:Ou,LucideCopy:Gu,LucideCopyCheck:Hu,LucideCopyMinus:Vu,LucideCopyPlus:Bu,LucideCopySlash:Uu,LucideCopyX:$u,LucideCopyleft:Wu,LucideCopyright:Zu,LucideCornerDownLeft:Xu,LucideCornerDownRight:Ju,LucideCornerLeftDown:Yu,LucideCornerLeftUp:Ku,LucideCornerRightDown:Qu,LucideCornerRightUp:ep,LucideCornerUpLeft:tp,LucideCornerUpRight:ap,LucideCpu:rp,LucideCreativeCommons:np,LucideCreditCard:mc,LucideCroissant:op,LucideCrop:ip,LucideCross:sp,LucideCrosshair:cp,LucideCrown:lp,LucideCuboid:dp,LucideCupSoda:hp,LucideCurlyBraces:Lr,LucideCurrency:up,LucideCylinder:pp,LucideDam:yp,LucideDatabase:xp,LucideDatabaseBackup:mp,LucideDatabaseZap:fp,LucideDelete:kp,LucideDessert:gp,LucideDiameter:vp,LucideDiamond:bp,LucideDiamondMinus:wp,LucideDiamondPercent:bn,LucideDiamondPlus:Mp,LucideDice1:Cp,LucideDice2:jp,LucideDice3:Sp,LucideDice4:Lp,LucideDice5:Ip,LucideDice6:Np,LucideDices:Ap,LucideDiff:Pp,LucideDisc:qp,LucideDisc2:_p,LucideDisc3:Rp,LucideDiscAlbum:Tp,LucideDivide:Dp,LucideDivideCircle:en,LucideDivideSquare:Uo,LucideDna:Fp,LucideDnaOff:zp,LucideDock:Ep,LucideDog:Op,LucideDollarSign:fc,LucideDonut:Hp,LucideDoorClosed:Vp,LucideDoorOpen:Bp,LucideDot:Up,LucideDotSquare:$o,LucideDownload:$p,LucideDownloadCloud:xn,LucideDraftingCompass:Gp,LucideDrama:Wp,LucideDribbble:Zp,LucideDrill:Xp,LucideDroplet:Jp,LucideDroplets:Yp,LucideDrum:Kp,LucideDrumstick:Qp,LucideDumbbell:ey,LucideEar:ay,LucideEarOff:ty,LucideEarth:Cn,LucideEarthLock:ry,LucideEclipse:ny,LucideEdit:bt,LucideEdit2:lo,LucideEdit3:co,LucideEgg:sy,LucideEggFried:oy,LucideEggOff:iy,LucideEllipsis:Sn,LucideEllipsisVertical:jn,LucideEqual:ly,LucideEqualNot:cy,LucideEqualSquare:Go,LucideEraser:dy,LucideEthernetPort:hy,LucideEuro:uy,LucideExpand:py,LucideExternalLink:Oi,LucideEye:xc,LucideEyeClosed:yy,LucideEyeOff:my,LucideFacebook:fy,LucideFactory:xy,LucideFan:ky,LucideFastForward:gy,LucideFeather:vy,LucideFence:wy,LucideFerrisWheel:My,LucideFigma:by,LucideFile:vm,LucideFileArchive:Cy,LucideFileAudio:Sy,LucideFileAudio2:jy,LucideFileAxis3D:Ln,LucideFileAxis3d:Ln,LucideFileBadge:Iy,LucideFileBadge2:Ly,LucideFileBarChart:In,LucideFileBarChart2:Nn,LucideFileBox:Ny,LucideFileChartColumn:Nn,LucideFileChartColumnIncreasing:In,LucideFileChartLine:An,LucideFileChartPie:Pn,LucideFileCheck:Py,LucideFileCheck2:Ay,LucideFileClock:_y,LucideFileCode:Ty,LucideFileCode2:Ry,LucideFileCog:_n,LucideFileCog2:_n,LucideFileDiff:qy,LucideFileDigit:Dy,LucideFileDown:zy,LucideFileEdit:Tn,LucideFileHeart:Fy,LucideFileImage:Ey,LucideFileInput:Oy,LucideFileJson:Vy,LucideFileJson2:Hy,LucideFileKey:Uy,LucideFileKey2:By,LucideFileLineChart:An,LucideFileLock:Gy,LucideFileLock2:$y,LucideFileMinus:Zy,LucideFileMinus2:Wy,LucideFileMusic:Xy,LucideFileOutput:Jy,LucideFilePen:Tn,LucideFilePenLine:Rn,LucideFilePieChart:Pn,LucideFilePlus:Ky,LucideFilePlus2:Yy,LucideFileQuestion:Qy,LucideFileScan:em,LucideFileSearch:am,LucideFileSearch2:tm,LucideFileSignature:Rn,LucideFileSliders:rm,LucideFileSpreadsheet:nm,LucideFileStack:om,LucideFileSymlink:im,LucideFileTerminal:sm,LucideFileText:cm,LucideFileType:dm,LucideFileType2:lm,LucideFileUp:hm,LucideFileUser:um,LucideFileVideo:ym,LucideFileVideo2:pm,LucideFileVolume:fm,LucideFileVolume2:mm,LucideFileWarning:xm,LucideFileX:gm,LucideFileX2:km,LucideFiles:wm,LucideFilm:Mm,LucideFilter:ws,LucideFilterX:bm,LucideFingerprint:Cm,LucideFireExtinguisher:jm,LucideFish:Im,LucideFishOff:Sm,LucideFishSymbol:Lm,LucideFlag:kc,LucideFlagOff:Nm,LucideFlagTriangleLeft:Am,LucideFlagTriangleRight:Pm,LucideFlame:Rm,LucideFlameKindling:_m,LucideFlashlight:qm,LucideFlashlightOff:Tm,LucideFlaskConical:zm,LucideFlaskConicalOff:Dm,LucideFlaskRound:Fm,LucideFlipHorizontal:Om,LucideFlipHorizontal2:Em,LucideFlipVertical:Vm,LucideFlipVertical2:Hm,LucideFlower:Um,LucideFlower2:Bm,LucideFocus:$m,LucideFoldHorizontal:Gm,LucideFoldVertical:Wm,LucideFolder:Mf,LucideFolderArchive:Zm,LucideFolderCheck:Xm,LucideFolderClock:Jm,LucideFolderClosed:Ym,LucideFolderCode:Km,LucideFolderCog:qn,LucideFolderCog2:qn,LucideFolderDot:Qm,LucideFolderDown:ef,LucideFolderEdit:Dn,LucideFolderGit:af,LucideFolderGit2:tf,LucideFolderHeart:rf,LucideFolderInput:nf,LucideFolderKanban:of,LucideFolderKey:sf,LucideFolderLock:cf,LucideFolderMinus:lf,LucideFolderOpen:hf,LucideFolderOpenDot:df,LucideFolderOutput:uf,LucideFolderPen:Dn,LucideFolderPlus:pf,LucideFolderRoot:yf,LucideFolderSearch:ff,LucideFolderSearch2:mf,LucideFolderSymlink:xf,LucideFolderSync:kf,LucideFolderTree:gf,LucideFolderUp:vf,LucideFolderX:wf,LucideFolders:bf,LucideFootprints:Cf,LucideForkKnife:_i,LucideForkKnifeCrossed:Pi,LucideForklift:jf,LucideFormInput:uo,LucideForward:Sf,LucideFrame:Lf,LucideFramer:If,LucideFrown:Nf,LucideFuel:Af,LucideFullscreen:Pf,LucideFunctionSquare:Wo,LucideGalleryHorizontal:Rf,LucideGalleryHorizontalEnd:_f,LucideGalleryThumbnails:Tf,LucideGalleryVertical:Df,LucideGalleryVerticalEnd:qf,LucideGamepad:Ff,LucideGamepad2:zf,LucideGanttChart:Fr,LucideGanttChartSquare:ia,LucideGauge:Ef,LucideGaugeCircle:tn,LucideGavel:Of,LucideGem:Hf,LucideGhost:Vf,LucideGift:Bf,LucideGitBranch:$f,LucideGitBranchPlus:Uf,LucideGitCommit:zn,LucideGitCommitHorizontal:zn,LucideGitCommitVertical:Gf,LucideGitCompare:Zf,LucideGitCompareArrows:Wf,LucideGitFork:Xf,LucideGitGraph:Jf,LucideGitMerge:Yf,LucideGitPullRequest:r4,LucideGitPullRequestArrow:Kf,LucideGitPullRequestClosed:Qf,LucideGitPullRequestCreate:t4,LucideGitPullRequestCreateArrow:e4,LucideGitPullRequestDraft:a4,LucideGithub:n4,LucideGitlab:o4,LucideGlassWater:i4,LucideGlasses:s4,LucideGlobe:Ms,LucideGlobe2:Cn,LucideGlobeLock:c4,LucideGoal:l4,LucideGrab:d4,LucideGraduationCap:bs,LucideGrape:h4,LucideGrid:Zt,LucideGrid2X2:Fn,LucideGrid2x2:Fn,LucideGrid2x2Check:u4,LucideGrid2x2Plus:p4,LucideGrid2x2X:y4,LucideGrid3X3:Zt,LucideGrid3x3:Zt,LucideGrip:x4,LucideGripHorizontal:m4,LucideGripVertical:f4,LucideGroup:k4,LucideGuitar:g4,LucideHam:v4,LucideHammer:w4,LucideHand:S4,LucideHandCoins:M4,LucideHandHeart:b4,LucideHandHelping:En,LucideHandMetal:C4,LucideHandPlatter:j4,LucideHandshake:L4,LucideHardDrive:A4,LucideHardDriveDownload:I4,LucideHardDriveUpload:N4,LucideHardHat:P4,LucideHash:_4,LucideHaze:R4,LucideHdmiPort:T4,LucideHeading:H4,LucideHeading1:q4,LucideHeading2:D4,LucideHeading3:z4,LucideHeading4:F4,LucideHeading5:E4,LucideHeading6:O4,LucideHeadphoneOff:V4,LucideHeadphones:B4,LucideHeadset:U4,LucideHeart:Cs,LucideHeartCrack:$4,LucideHeartHandshake:G4,LucideHeartOff:W4,LucideHeartPulse:Z4,LucideHeater:X4,LucideHelpCircle:Ga,LucideHelpingHand:En,LucideHexagon:J4,LucideHighlighter:Y4,LucideHistory:K4,LucideHome:ja,LucideHop:ex,LucideHopOff:Q4,LucideHospital:tx,LucideHotel:ax,LucideHourglass:rx,LucideHouse:ja,LucideHousePlug:nx,LucideHousePlus:ox,LucideIceCream:Hn,LucideIceCream2:On,LucideIceCreamBowl:On,LucideIceCreamCone:Hn,LucideIdCard:ix,LucideImage:px,LucideImageDown:sx,LucideImageMinus:cx,LucideImageOff:lx,LucideImagePlay:dx,LucideImagePlus:hx,LucideImageUp:ux,LucideImages:yx,LucideImport:mx,LucideInbox:fx,LucideIndent:Bn,LucideIndentDecrease:Vn,LucideIndentIncrease:Bn,LucideIndianRupee:xx,LucideInfinity:kx,LucideInfo:gx,LucideInspect:Qo,LucideInspectionPanel:vx,LucideInstagram:wx,LucideItalic:Mx,LucideIterationCcw:bx,LucideIterationCw:Cx,LucideJapaneseYen:jx,LucideJoystick:Sx,LucideKanban:Lx,LucideKanbanSquare:Zo,LucideKanbanSquareDashed:Ho,LucideKey:Ax,LucideKeyRound:Ix,LucideKeySquare:Nx,LucideKeyboard:Rx,LucideKeyboardMusic:Px,LucideKeyboardOff:_x,LucideLamp:Ex,LucideLampCeiling:Tx,LucideLampDesk:qx,LucideLampFloor:Dx,LucideLampWallDown:zx,LucideLampWallUp:Fx,LucideLandPlot:Ox,LucideLandmark:Hx,LucideLanguages:Vx,LucideLaptop:Bx,LucideLaptop2:Un,LucideLaptopMinimal:Un,LucideLasso:$x,LucideLassoSelect:Ux,LucideLaugh:Gx,LucideLayers:Xx,LucideLayers2:Wx,LucideLayers3:Zx,LucideLayout:so,LucideLayoutDashboard:gc,LucideLayoutGrid:Jx,LucideLayoutList:Yx,LucideLayoutPanelLeft:Kx,LucideLayoutPanelTop:Qx,LucideLayoutTemplate:ek,LucideLeaf:tk,LucideLeafyGreen:ak,LucideLectern:rk,LucideLetterText:nk,LucideLibrary:ik,LucideLibraryBig:ok,LucideLibrarySquare:Xo,LucideLifeBuoy:sk,LucideLigature:ck,LucideLightbulb:dk,LucideLightbulbOff:lk,LucideLineChart:Dr,LucideLink:vc,LucideLink2:uk,LucideLink2Off:hk,LucideLinkedin:pk,LucideList:wc,LucideListCheck:yk,LucideListChecks:mk,LucideListCollapse:fk,LucideListEnd:xk,LucideListFilter:kk,LucideListMinus:gk,LucideListMusic:vk,LucideListOrdered:wk,LucideListPlus:Mk,LucideListRestart:bk,LucideListStart:Ck,LucideListTodo:jk,LucideListTree:Sk,LucideListVideo:Lk,LucideListX:Ik,LucideLoader:Ak,LucideLoader2:$n,LucideLoaderCircle:$n,LucideLoaderPinwheel:Nk,LucideLocate:Rk,LucideLocateFixed:Pk,LucideLocateOff:_k,LucideLock:Mc,LucideLockKeyhole:Tk,LucideLockKeyholeOpen:Gn,LucideLockOpen:Wn,LucideLogIn:qk,LucideLogOut:bc,LucideLogs:Dk,LucideLollipop:zk,LucideLuggage:Fk,LucideMSquare:Jo,LucideMagnet:Ek,LucideMail:ya,LucideMailCheck:Ok,LucideMailMinus:Hk,LucideMailOpen:Vk,LucideMailPlus:Bk,LucideMailQuestion:Uk,LucideMailSearch:$k,LucideMailWarning:Gk,LucideMailX:Wk,LucideMailbox:Zk,LucideMails:Xk,LucideMap:sg,LucideMapPin:Bt,LucideMapPinCheck:Yk,LucideMapPinCheckInside:Jk,LucideMapPinHouse:Kk,LucideMapPinMinus:eg,LucideMapPinMinusInside:Qk,LucideMapPinOff:tg,LucideMapPinPlus:rg,LucideMapPinPlusInside:ag,LucideMapPinX:og,LucideMapPinXInside:ng,LucideMapPinned:ig,LucideMartini:cg,LucideMaximize:dg,LucideMaximize2:lg,LucideMedal:hg,LucideMegaphone:pg,LucideMegaphoneOff:ug,LucideMeh:yg,LucideMemoryStick:mg,LucideMenu:js,LucideMenuSquare:Yo,LucideMerge:fg,LucideMessageCircle:Lg,LucideMessageCircleCode:xg,LucideMessageCircleDashed:kg,LucideMessageCircleHeart:gg,LucideMessageCircleMore:vg,LucideMessageCircleOff:wg,LucideMessageCirclePlus:Mg,LucideMessageCircleQuestion:bg,LucideMessageCircleReply:Cg,LucideMessageCircleWarning:jg,LucideMessageCircleX:Sg,LucideMessageSquare:Ss,LucideMessageSquareCode:Ig,LucideMessageSquareDashed:Ng,LucideMessageSquareDiff:Ag,LucideMessageSquareDot:Pg,LucideMessageSquareHeart:_g,LucideMessageSquareLock:Rg,LucideMessageSquareMore:Tg,LucideMessageSquareOff:qg,LucideMessageSquarePlus:Dg,LucideMessageSquareQuote:zg,LucideMessageSquareReply:Fg,LucideMessageSquareShare:Eg,LucideMessageSquareText:Og,LucideMessageSquareWarning:Hg,LucideMessageSquareX:Vg,LucideMessagesSquare:Bg,LucideMic:$g,LucideMic2:Zn,LucideMicOff:Ug,LucideMicVocal:Zn,LucideMicrochip:Gg,LucideMicroscope:Wg,LucideMicrowave:Zg,LucideMilestone:Xg,LucideMilk:Yg,LucideMilkOff:Jg,LucideMinimize:Qg,LucideMinimize2:Kg,LucideMinus:Cc,LucideMinusCircle:an,LucideMinusSquare:Ko,LucideMonitor:u5,LucideMonitorCheck:e5,LucideMonitorCog:t5,LucideMonitorDot:a5,LucideMonitorDown:r5,LucideMonitorOff:n5,LucideMonitorPause:o5,LucideMonitorPlay:i5,LucideMonitorSmartphone:s5,LucideMonitorSpeaker:c5,LucideMonitorStop:l5,LucideMonitorUp:d5,LucideMonitorX:h5,LucideMoon:y5,LucideMoonStar:p5,LucideMoreHorizontal:Sn,LucideMoreVertical:jn,LucideMountain:f5,LucideMountainSnow:m5,LucideMouse:M5,LucideMouseOff:x5,LucideMousePointer:w5,LucideMousePointer2:k5,LucideMousePointerBan:g5,LucideMousePointerClick:v5,LucideMousePointerSquareDashed:Vo,LucideMove:q5,LucideMove3D:Xn,LucideMove3d:Xn,LucideMoveDiagonal:C5,LucideMoveDiagonal2:b5,LucideMoveDown:L5,LucideMoveDownLeft:j5,LucideMoveDownRight:S5,LucideMoveHorizontal:I5,LucideMoveLeft:N5,LucideMoveRight:A5,LucideMoveUp:R5,LucideMoveUpLeft:P5,LucideMoveUpRight:_5,LucideMoveVertical:T5,LucideMusic:E5,LucideMusic2:D5,LucideMusic3:z5,LucideMusic4:F5,LucideNavigation:B5,LucideNavigation2:H5,LucideNavigation2Off:O5,LucideNavigationOff:V5,LucideNetwork:U5,LucideNewspaper:_a,LucideNfc:$5,LucideNotebook:X5,LucideNotebookPen:G5,LucideNotebookTabs:W5,LucideNotebookText:Z5,LucideNotepadText:Y5,LucideNotepadTextDashed:J5,LucideNut:Q5,LucideNutOff:K5,LucideOctagon:t3,LucideOctagonAlert:Jn,LucideOctagonMinus:e3,LucideOctagonPause:Yn,LucideOctagonX:Kn,LucideOmega:a3,LucideOption:r3,LucideOrbit:n3,LucideOrigami:o3,LucideOutdent:Vn,LucidePackage:p3,LucidePackage2:i3,LucidePackageCheck:s3,LucidePackageMinus:c3,LucidePackageOpen:l3,LucidePackagePlus:d3,LucidePackageSearch:h3,LucidePackageX:u3,LucidePaintBucket:y3,LucidePaintRoller:m3,LucidePaintbrush:f3,LucidePaintbrush2:Qn,LucidePaintbrushVertical:Qn,LucidePalette:x3,LucidePalmtree:vi,LucidePanelBottom:v3,LucidePanelBottomClose:k3,LucidePanelBottomDashed:eo,LucidePanelBottomInactive:eo,LucidePanelBottomOpen:g3,LucidePanelLeft:no,LucidePanelLeftClose:to,LucidePanelLeftDashed:ao,LucidePanelLeftInactive:ao,LucidePanelLeftOpen:ro,LucidePanelRight:b3,LucidePanelRightClose:w3,LucidePanelRightDashed:oo,LucidePanelRightInactive:oo,LucidePanelRightOpen:M3,LucidePanelTop:S3,LucidePanelTopClose:C3,LucidePanelTopDashed:io,LucidePanelTopInactive:io,LucidePanelTopOpen:j3,LucidePanelsLeftBottom:L3,LucidePanelsLeftRight:wn,LucidePanelsRightBottom:I3,LucidePanelsTopBottom:mo,LucidePanelsTopLeft:so,LucidePaperclip:N3,LucideParentheses:A3,LucideParkingCircle:nn,LucideParkingCircleOff:rn,LucideParkingMeter:P3,LucideParkingSquare:ti,LucideParkingSquareOff:ei,LucidePartyPopper:_3,LucidePause:R3,LucidePauseCircle:on,LucidePauseOctagon:Yn,LucidePawPrint:T3,LucidePcCase:q3,LucidePen:lo,LucidePenBox:bt,LucidePenLine:co,LucidePenOff:D3,LucidePenSquare:bt,LucidePenTool:z3,LucidePencil:H3,LucidePencilLine:F3,LucidePencilOff:E3,LucidePencilRuler:O3,LucidePentagon:V3,LucidePercent:B3,LucidePercentCircle:sn,LucidePercentDiamond:bn,LucidePercentSquare:ai,LucidePersonStanding:U3,LucidePhilippinePeso:$3,LucidePhone:Hi,LucidePhoneCall:G3,LucidePhoneForwarded:W3,LucidePhoneIncoming:Z3,LucidePhoneMissed:X3,LucidePhoneOff:J3,LucidePhoneOutgoing:Y3,LucidePi:K3,LucidePiSquare:ri,LucidePiano:Q3,LucidePickaxe:ev,LucidePictureInPicture:av,LucidePictureInPicture2:tv,LucidePieChart:Er,LucidePiggyBank:rv,LucidePilcrow:iv,LucidePilcrowLeft:nv,LucidePilcrowRight:ov,LucidePilcrowSquare:ni,LucidePill:cv,LucidePillBottle:sv,LucidePin:dv,LucidePinOff:lv,LucidePipette:hv,LucidePizza:uv,LucidePlane:mv,LucidePlaneLanding:pv,LucidePlaneTakeoff:yv,LucidePlay:jc,LucidePlayCircle:cn,LucidePlaySquare:oi,LucidePlug:xv,LucidePlug2:fv,LucidePlugZap:ho,LucidePlugZap2:ho,LucidePlus:Sc,LucidePlusCircle:ln,LucidePlusSquare:ii,LucidePocket:gv,LucidePocketKnife:kv,LucidePodcast:vv,LucidePointer:Mv,LucidePointerOff:wv,LucidePopcorn:bv,LucidePopsicle:Cv,LucidePoundSterling:jv,LucidePower:Lv,LucidePowerCircle:dn,LucidePowerOff:Sv,LucidePowerSquare:si,LucidePresentation:Iv,LucidePrinter:Av,LucidePrinterCheck:Nv,LucideProjector:Pv,LucideProportions:_v,LucidePuzzle:Rv,LucidePyramid:Tv,LucideQrCode:qv,LucideQuote:Ls,LucideRabbit:Dv,LucideRadar:zv,LucideRadiation:Fv,LucideRadical:Ev,LucideRadio:Vv,LucideRadioReceiver:Ov,LucideRadioTower:Hv,LucideRadius:Bv,LucideRailSymbol:Uv,LucideRainbow:$v,LucideRat:Gv,LucideRatio:Wv,LucideReceipt:a6,LucideReceiptCent:Zv,LucideReceiptEuro:Xv,LucideReceiptIndianRupee:Jv,LucideReceiptJapaneseYen:Yv,LucideReceiptPoundSterling:Kv,LucideReceiptRussianRuble:Qv,LucideReceiptSwissFranc:e6,LucideReceiptText:t6,LucideRectangleEllipsis:uo,LucideRectangleHorizontal:r6,LucideRectangleVertical:n6,LucideRecycle:o6,LucideRedo:c6,LucideRedo2:i6,LucideRedoDot:s6,LucideRefreshCcw:d6,LucideRefreshCcwDot:l6,LucideRefreshCw:u6,LucideRefreshCwOff:h6,LucideRefrigerator:p6,LucideRegex:y6,LucideRemoveFormatting:m6,LucideRepeat:k6,LucideRepeat1:f6,LucideRepeat2:x6,LucideReplace:v6,LucideReplaceAll:g6,LucideReply:M6,LucideReplyAll:w6,LucideRewind:b6,LucideRibbon:C6,LucideRocket:j6,LucideRockingChair:S6,LucideRollerCoaster:L6,LucideRotate3D:po,LucideRotate3d:po,LucideRotateCcw:N6,LucideRotateCcwSquare:I6,LucideRotateCw:P6,LucideRotateCwSquare:A6,LucideRoute:R6,LucideRouteOff:_6,LucideRouter:T6,LucideRows:yo,LucideRows2:yo,LucideRows3:mo,LucideRows4:q6,LucideRss:D6,LucideRuler:z6,LucideRussianRuble:F6,LucideSailboat:E6,LucideSalad:O6,LucideSandwich:H6,LucideSatellite:B6,LucideSatelliteDish:V6,LucideSave:G6,LucideSaveAll:U6,LucideSaveOff:$6,LucideScale:W6,LucideScale3D:fo,LucideScale3d:fo,LucideScaling:Z6,LucideScan:a8,LucideScanBarcode:X6,LucideScanEye:J6,LucideScanFace:Y6,LucideScanLine:K6,LucideScanQrCode:Q6,LucideScanSearch:e8,LucideScanText:t8,LucideScatterChart:Or,LucideSchool:r8,LucideSchool2:bi,LucideScissors:o8,LucideScissorsLineDashed:n8,LucideScissorsSquare:ci,LucideScissorsSquareDashedBottom:Ro,LucideScreenShare:s8,LucideScreenShareOff:i8,LucideScroll:l8,LucideScrollText:c8,LucideSearch:Ut,LucideSearchCheck:d8,LucideSearchCode:h8,LucideSearchSlash:u8,LucideSearchX:p8,LucideSection:y8,LucideSend:Lc,LucideSendHorizonal:xo,LucideSendHorizontal:xo,LucideSendToBack:m8,LucideSeparatorHorizontal:f8,LucideSeparatorVertical:x8,LucideServer:w8,LucideServerCog:k8,LucideServerCrash:g8,LucideServerOff:v8,LucideSettings:Is,LucideSettings2:M8,LucideShapes:b8,LucideShare:C8,LucideShare2:Ns,LucideSheet:j8,LucideShell:S8,LucideShield:Ic,LucideShieldAlert:L8,LucideShieldBan:I8,LucideShieldCheck:N8,LucideShieldClose:ko,LucideShieldEllipsis:A8,LucideShieldHalf:P8,LucideShieldMinus:_8,LucideShieldOff:R8,LucideShieldPlus:T8,LucideShieldQuestion:q8,LucideShieldX:ko,LucideShip:z8,LucideShipWheel:D8,LucideShirt:F8,LucideShoppingBag:E8,LucideShoppingBasket:O8,LucideShoppingCart:As,LucideShovel:H8,LucideShowerHead:V8,LucideShrink:B8,LucideShrub:U8,LucideShuffle:$8,LucideSidebar:no,LucideSidebarClose:to,LucideSidebarOpen:ro,LucideSigma:G8,LucideSigmaSquare:li,LucideSignal:Nc,LucideSignalHigh:W8,LucideSignalLow:Z8,LucideSignalMedium:X8,LucideSignalZero:J8,LucideSignature:Y8,LucideSignpost:Q8,LucideSignpostBig:K8,LucideSiren:e7,LucideSkipBack:t7,LucideSkipForward:a7,LucideSkull:r7,LucideSlack:n7,LucideSlash:o7,LucideSlashSquare:di,LucideSlice:i7,LucideSliders:go,LucideSlidersHorizontal:Ya,LucideSlidersVertical:go,LucideSmartphone:l7,LucideSmartphoneCharging:s7,LucideSmartphoneNfc:c7,LucideSmile:h7,LucideSmilePlus:d7,LucideSnail:u7,LucideSnowflake:p7,LucideSofa:y7,LucideSortAsc:vr,LucideSortDesc:xr,LucideSoup:m7,LucideSpace:f7,LucideSpade:x7,LucideSparkle:k7,LucideSparkles:vo,LucideSpeaker:g7,LucideSpeech:v7,LucideSpellCheck:M7,LucideSpellCheck2:w7,LucideSpline:b7,LucideSplit:C7,LucideSplitSquareHorizontal:hi,LucideSplitSquareVertical:ui,LucideSprayCan:j7,LucideSprout:S7,LucideSquare:_7,LucideSquareActivity:wo,LucideSquareArrowDown:Co,LucideSquareArrowDownLeft:Mo,LucideSquareArrowDownRight:bo,LucideSquareArrowLeft:Sa,LucideSquareArrowOutDownLeft:jo,LucideSquareArrowOutDownRight:So,LucideSquareArrowOutUpLeft:Lo,LucideSquareArrowOutUpRight:Io,LucideSquareArrowRight:La,LucideSquareArrowUp:Po,LucideSquareArrowUpLeft:No,LucideSquareArrowUpRight:Ao,LucideSquareAsterisk:_o,LucideSquareBottomDashedScissors:Ro,LucideSquareChartGantt:ia,LucideSquareCheck:qo,LucideSquareCheckBig:To,LucideSquareChevronDown:Do,LucideSquareChevronLeft:zo,LucideSquareChevronRight:Fo,LucideSquareChevronUp:Eo,LucideSquareCode:Oo,LucideSquareDashed:Bo,LucideSquareDashedBottom:I7,LucideSquareDashedBottomCode:L7,LucideSquareDashedKanban:Ho,LucideSquareDashedMousePointer:Vo,LucideSquareDivide:Uo,LucideSquareDot:$o,LucideSquareEqual:Go,LucideSquareFunction:Wo,LucideSquareGanttChart:ia,LucideSquareKanban:Zo,LucideSquareLibrary:Xo,LucideSquareM:Jo,LucideSquareMenu:Yo,LucideSquareMinus:Ko,LucideSquareMousePointer:Qo,LucideSquareParking:ti,LucideSquareParkingOff:ei,LucideSquarePen:bt,LucideSquarePercent:ai,LucideSquarePi:ri,LucideSquarePilcrow:ni,LucideSquarePlay:oi,LucideSquarePlus:ii,LucideSquarePower:si,LucideSquareRadical:N7,LucideSquareScissors:ci,LucideSquareSigma:li,LucideSquareSlash:di,LucideSquareSplitHorizontal:hi,LucideSquareSplitVertical:ui,LucideSquareSquare:A7,LucideSquareStack:P7,LucideSquareTerminal:pi,LucideSquareUser:mi,LucideSquareUserRound:yi,LucideSquareX:fi,LucideSquircle:R7,LucideSquirrel:T7,LucideStamp:q7,LucideStar:Et,LucideStarHalf:D7,LucideStarOff:z7,LucideStars:vo,LucideStepBack:F7,LucideStepForward:E7,LucideStethoscope:O7,LucideSticker:H7,LucideStickyNote:V7,LucideStopCircle:un,LucideStore:B7,LucideStretchHorizontal:U7,LucideStretchVertical:$7,LucideStrikethrough:G7,LucideSubscript:W7,LucideSubtitles:Ir,LucideSun:K7,LucideSunDim:Z7,LucideSunMedium:X7,LucideSunMoon:J7,LucideSunSnow:Y7,LucideSunrise:Q7,LucideSunset:ew,LucideSuperscript:tw,LucideSwatchBook:aw,LucideSwissFranc:rw,LucideSwitchCamera:nw,LucideSword:ow,LucideSwords:iw,LucideSyringe:sw,LucideTable:mw,LucideTable2:cw,LucideTableCellsMerge:lw,LucideTableCellsSplit:dw,LucideTableColumnsSplit:hw,LucideTableOfContents:uw,LucideTableProperties:pw,LucideTableRowsSplit:yw,LucideTablet:xw,LucideTabletSmartphone:fw,LucideTablets:kw,LucideTag:gw,LucideTags:vw,LucideTally1:ww,LucideTally2:Mw,LucideTally3:bw,LucideTally4:Cw,LucideTally5:jw,LucideTangent:Sw,LucideTarget:Lw,LucideTelescope:Iw,LucideTent:Aw,LucideTentTree:Nw,LucideTerminal:Pw,LucideTerminalSquare:pi,LucideTestTube:_w,LucideTestTube2:xi,LucideTestTubeDiagonal:xi,LucideTestTubes:Rw,LucideText:Fw,LucideTextCursor:qw,LucideTextCursorInput:Tw,LucideTextQuote:Dw,LucideTextSearch:zw,LucideTextSelect:ki,LucideTextSelection:ki,LucideTheater:Ew,LucideThermometer:Vw,LucideThermometerSnowflake:Ow,LucideThermometerSun:Hw,LucideThumbsDown:Bw,LucideThumbsUp:Uw,LucideTicket:Yw,LucideTicketCheck:$w,LucideTicketMinus:Gw,LucideTicketPercent:Ww,LucideTicketPlus:Zw,LucideTicketSlash:Xw,LucideTicketX:Jw,LucideTickets:Qw,LucideTicketsPlane:Kw,LucideTimer:aM,LucideTimerOff:eM,LucideTimerReset:tM,LucideToggleLeft:rM,LucideToggleRight:nM,LucideTornado:oM,LucideTorus:iM,LucideTouchpad:cM,LucideTouchpadOff:sM,LucideTowerControl:lM,LucideToyBrick:dM,LucideTractor:hM,LucideTrafficCone:uM,LucideTrain:gi,LucideTrainFront:yM,LucideTrainFrontTunnel:pM,LucideTrainTrack:mM,LucideTramFront:gi,LucideTrash:fM,LucideTrash2:Ac,LucideTreeDeciduous:xM,LucideTreePalm:vi,LucideTreePine:kM,LucideTrees:gM,LucideTrello:vM,LucideTrendingDown:wM,LucideTrendingUp:Vi,LucideTrendingUpDown:MM,LucideTriangle:CM,LucideTriangleAlert:wi,LucideTriangleRight:bM,LucideTrophy:jM,LucideTruck:SM,LucideTurtle:LM,LucideTv:NM,LucideTv2:Mi,LucideTvMinimal:Mi,LucideTvMinimalPlay:IM,LucideTwitch:AM,LucideTwitter:PM,LucideType:RM,LucideTypeOutline:_M,LucideUmbrella:qM,LucideUmbrellaOff:TM,LucideUnderline:DM,LucideUndo:EM,LucideUndo2:zM,LucideUndoDot:FM,LucideUnfoldHorizontal:OM,LucideUnfoldVertical:HM,LucideUngroup:VM,LucideUniversity:bi,LucideUnlink:UM,LucideUnlink2:BM,LucideUnlock:Wn,LucideUnlockKeyhole:Gn,LucideUnplug:$M,LucideUpload:Ps,LucideUploadCloud:kn,LucideUsb:GM,LucideUser:Pc,LucideUser2:Ni,LucideUserCheck:WM,LucideUserCheck2:Ci,LucideUserCircle:yn,LucideUserCircle2:pn,LucideUserCog:ZM,LucideUserCog2:ji,LucideUserMinus:XM,LucideUserMinus2:Si,LucideUserPen:JM,LucideUserPlus:YM,LucideUserPlus2:Li,LucideUserRound:Ni,LucideUserRoundCheck:Ci,LucideUserRoundCog:ji,LucideUserRoundMinus:Si,LucideUserRoundPen:KM,LucideUserRoundPlus:Li,LucideUserRoundSearch:QM,LucideUserRoundX:Ii,LucideUserSearch:eb,LucideUserSquare:mi,LucideUserSquare2:yi,LucideUserX:tb,LucideUserX2:Ii,LucideUsers:Ra,LucideUsers2:Ai,LucideUsersRound:Ai,LucideUtensils:_i,LucideUtensilsCrossed:Pi,LucideUtilityPole:ab,LucideVariable:rb,LucideVault:nb,LucideVegan:ob,LucideVenetianMask:ib,LucideVerified:br,LucideVibrate:cb,LucideVibrateOff:sb,LucideVideo:db,LucideVideoOff:lb,LucideVideotape:hb,LucideView:ub,LucideVoicemail:pb,LucideVolleyball:yb,LucideVolume:gb,LucideVolume1:mb,LucideVolume2:fb,LucideVolumeOff:xb,LucideVolumeX:kb,LucideVote:vb,LucideWallet:Mb,LucideWallet2:Ri,LucideWalletCards:wb,LucideWalletMinimal:Ri,LucideWallpaper:bb,LucideWand:Cb,LucideWand2:Ti,LucideWandSparkles:Ti,LucideWarehouse:jb,LucideWashingMachine:Sb,LucideWatch:Lb,LucideWaves:Ib,LucideWaypoints:Nb,LucideWebcam:Ab,LucideWebhook:_b,LucideWebhookOff:Pb,LucideWeight:Rb,LucideWheat:qb,LucideWheatOff:Tb,LucideWholeWord:Db,LucideWifi:Hb,LucideWifiHigh:zb,LucideWifiLow:Fb,LucideWifiOff:Eb,LucideWifiZero:Ob,LucideWind:Vb,LucideWine:Ub,LucideWineOff:Bb,LucideWorkflow:$b,LucideWorm:Gb,LucideWrapText:Wb,LucideWrench:Zb,LucideX:Qt,LucideXCircle:ca,LucideXOctagon:Kn,LucideXSquare:fi,LucideYoutube:Xb,LucideZap:Yb,LucideZapOff:Jb,LucideZoomIn:Kb,LucideZoomOut:Qb,Luggage:Fk,LuggageIcon:Fk,MSquare:Jo,MSquareIcon:Jo,Magnet:Ek,MagnetIcon:Ek,Mail:ya,MailCheck:Ok,MailCheckIcon:Ok,MailIcon:ya,MailMinus:Hk,MailMinusIcon:Hk,MailOpen:Vk,MailOpenIcon:Vk,MailPlus:Bk,MailPlusIcon:Bk,MailQuestion:Uk,MailQuestionIcon:Uk,MailSearch:$k,MailSearchIcon:$k,MailWarning:Gk,MailWarningIcon:Gk,MailX:Wk,MailXIcon:Wk,Mailbox:Zk,MailboxIcon:Zk,Mails:Xk,MailsIcon:Xk,Map:sg,MapIcon:sg,MapPin:Bt,MapPinCheck:Yk,MapPinCheckIcon:Yk,MapPinCheckInside:Jk,MapPinCheckInsideIcon:Jk,MapPinHouse:Kk,MapPinHouseIcon:Kk,MapPinIcon:Bt,MapPinMinus:eg,MapPinMinusIcon:eg,MapPinMinusInside:Qk,MapPinMinusInsideIcon:Qk,MapPinOff:tg,MapPinOffIcon:tg,MapPinPlus:rg,MapPinPlusIcon:rg,MapPinPlusInside:ag,MapPinPlusInsideIcon:ag,MapPinX:og,MapPinXIcon:og,MapPinXInside:ng,MapPinXInsideIcon:ng,MapPinned:ig,MapPinnedIcon:ig,Martini:cg,MartiniIcon:cg,Maximize:dg,Maximize2:lg,Maximize2Icon:lg,MaximizeIcon:dg,Medal:hg,MedalIcon:hg,Megaphone:pg,MegaphoneIcon:pg,MegaphoneOff:ug,MegaphoneOffIcon:ug,Meh:yg,MehIcon:yg,MemoryStick:mg,MemoryStickIcon:mg,Menu:js,MenuIcon:js,MenuSquare:Yo,MenuSquareIcon:Yo,Merge:fg,MergeIcon:fg,MessageCircle:Lg,MessageCircleCode:xg,MessageCircleCodeIcon:xg,MessageCircleDashed:kg,MessageCircleDashedIcon:kg,MessageCircleHeart:gg,MessageCircleHeartIcon:gg,MessageCircleIcon:Lg,MessageCircleMore:vg,MessageCircleMoreIcon:vg,MessageCircleOff:wg,MessageCircleOffIcon:wg,MessageCirclePlus:Mg,MessageCirclePlusIcon:Mg,MessageCircleQuestion:bg,MessageCircleQuestionIcon:bg,MessageCircleReply:Cg,MessageCircleReplyIcon:Cg,MessageCircleWarning:jg,MessageCircleWarningIcon:jg,MessageCircleX:Sg,MessageCircleXIcon:Sg,MessageSquare:Ss,MessageSquareCode:Ig,MessageSquareCodeIcon:Ig,MessageSquareDashed:Ng,MessageSquareDashedIcon:Ng,MessageSquareDiff:Ag,MessageSquareDiffIcon:Ag,MessageSquareDot:Pg,MessageSquareDotIcon:Pg,MessageSquareHeart:_g,MessageSquareHeartIcon:_g,MessageSquareIcon:Ss,MessageSquareLock:Rg,MessageSquareLockIcon:Rg,MessageSquareMore:Tg,MessageSquareMoreIcon:Tg,MessageSquareOff:qg,MessageSquareOffIcon:qg,MessageSquarePlus:Dg,MessageSquarePlusIcon:Dg,MessageSquareQuote:zg,MessageSquareQuoteIcon:zg,MessageSquareReply:Fg,MessageSquareReplyIcon:Fg,MessageSquareShare:Eg,MessageSquareShareIcon:Eg,MessageSquareText:Og,MessageSquareTextIcon:Og,MessageSquareWarning:Hg,MessageSquareWarningIcon:Hg,MessageSquareX:Vg,MessageSquareXIcon:Vg,MessagesSquare:Bg,MessagesSquareIcon:Bg,Mic:$g,Mic2:Zn,Mic2Icon:Zn,MicIcon:$g,MicOff:Ug,MicOffIcon:Ug,MicVocal:Zn,MicVocalIcon:Zn,Microchip:Gg,MicrochipIcon:Gg,Microscope:Wg,MicroscopeIcon:Wg,Microwave:Zg,MicrowaveIcon:Zg,Milestone:Xg,MilestoneIcon:Xg,Milk:Yg,MilkIcon:Yg,MilkOff:Jg,MilkOffIcon:Jg,Minimize:Qg,Minimize2:Kg,Minimize2Icon:Kg,MinimizeIcon:Qg,Minus:Cc,MinusCircle:an,MinusCircleIcon:an,MinusIcon:Cc,MinusSquare:Ko,MinusSquareIcon:Ko,Monitor:u5,MonitorCheck:e5,MonitorCheckIcon:e5,MonitorCog:t5,MonitorCogIcon:t5,MonitorDot:a5,MonitorDotIcon:a5,MonitorDown:r5,MonitorDownIcon:r5,MonitorIcon:u5,MonitorOff:n5,MonitorOffIcon:n5,MonitorPause:o5,MonitorPauseIcon:o5,MonitorPlay:i5,MonitorPlayIcon:i5,MonitorSmartphone:s5,MonitorSmartphoneIcon:s5,MonitorSpeaker:c5,MonitorSpeakerIcon:c5,MonitorStop:l5,MonitorStopIcon:l5,MonitorUp:d5,MonitorUpIcon:d5,MonitorX:h5,MonitorXIcon:h5,Moon:y5,MoonIcon:y5,MoonStar:p5,MoonStarIcon:p5,MoreHorizontal:Sn,MoreHorizontalIcon:Sn,MoreVertical:jn,MoreVerticalIcon:jn,Mountain:f5,MountainIcon:f5,MountainSnow:m5,MountainSnowIcon:m5,Mouse:M5,MouseIcon:M5,MouseOff:x5,MouseOffIcon:x5,MousePointer:w5,MousePointer2:k5,MousePointer2Icon:k5,MousePointerBan:g5,MousePointerBanIcon:g5,MousePointerClick:v5,MousePointerClickIcon:v5,MousePointerIcon:w5,MousePointerSquareDashed:Vo,MousePointerSquareDashedIcon:Vo,Move:q5,Move3D:Xn,Move3DIcon:Xn,Move3d:Xn,Move3dIcon:Xn,MoveDiagonal:C5,MoveDiagonal2:b5,MoveDiagonal2Icon:b5,MoveDiagonalIcon:C5,MoveDown:L5,MoveDownIcon:L5,MoveDownLeft:j5,MoveDownLeftIcon:j5,MoveDownRight:S5,MoveDownRightIcon:S5,MoveHorizontal:I5,MoveHorizontalIcon:I5,MoveIcon:q5,MoveLeft:N5,MoveLeftIcon:N5,MoveRight:A5,MoveRightIcon:A5,MoveUp:R5,MoveUpIcon:R5,MoveUpLeft:P5,MoveUpLeftIcon:P5,MoveUpRight:_5,MoveUpRightIcon:_5,MoveVertical:T5,MoveVerticalIcon:T5,Music:E5,Music2:D5,Music2Icon:D5,Music3:z5,Music3Icon:z5,Music4:F5,Music4Icon:F5,MusicIcon:E5,Navigation:B5,Navigation2:H5,Navigation2Icon:H5,Navigation2Off:O5,Navigation2OffIcon:O5,NavigationIcon:B5,NavigationOff:V5,NavigationOffIcon:V5,Network:U5,NetworkIcon:U5,Newspaper:_a,NewspaperIcon:_a,Nfc:$5,NfcIcon:$5,Notebook:X5,NotebookIcon:X5,NotebookPen:G5,NotebookPenIcon:G5,NotebookTabs:W5,NotebookTabsIcon:W5,NotebookText:Z5,NotebookTextIcon:Z5,NotepadText:Y5,NotepadTextDashed:J5,NotepadTextDashedIcon:J5,NotepadTextIcon:Y5,Nut:Q5,NutIcon:Q5,NutOff:K5,NutOffIcon:K5,Octagon:t3,OctagonAlert:Jn,OctagonAlertIcon:Jn,OctagonIcon:t3,OctagonMinus:e3,OctagonMinusIcon:e3,OctagonPause:Yn,OctagonPauseIcon:Yn,OctagonX:Kn,OctagonXIcon:Kn,Omega:a3,OmegaIcon:a3,Option:r3,OptionIcon:r3,Orbit:n3,OrbitIcon:n3,Origami:o3,OrigamiIcon:o3,Outdent:Vn,OutdentIcon:Vn,Package:p3,Package2:i3,Package2Icon:i3,PackageCheck:s3,PackageCheckIcon:s3,PackageIcon:p3,PackageMinus:c3,PackageMinusIcon:c3,PackageOpen:l3,PackageOpenIcon:l3,PackagePlus:d3,PackagePlusIcon:d3,PackageSearch:h3,PackageSearchIcon:h3,PackageX:u3,PackageXIcon:u3,PaintBucket:y3,PaintBucketIcon:y3,PaintRoller:m3,PaintRollerIcon:m3,Paintbrush:f3,Paintbrush2:Qn,Paintbrush2Icon:Qn,PaintbrushIcon:f3,PaintbrushVertical:Qn,PaintbrushVerticalIcon:Qn,Palette:x3,PaletteIcon:x3,Palmtree:vi,PalmtreeIcon:vi,PanelBottom:v3,PanelBottomClose:k3,PanelBottomCloseIcon:k3,PanelBottomDashed:eo,PanelBottomDashedIcon:eo,PanelBottomIcon:v3,PanelBottomInactive:eo,PanelBottomInactiveIcon:eo,PanelBottomOpen:g3,PanelBottomOpenIcon:g3,PanelLeft:no,PanelLeftClose:to,PanelLeftCloseIcon:to,PanelLeftDashed:ao,PanelLeftDashedIcon:ao,PanelLeftIcon:no,PanelLeftInactive:ao,PanelLeftInactiveIcon:ao,PanelLeftOpen:ro,PanelLeftOpenIcon:ro,PanelRight:b3,PanelRightClose:w3,PanelRightCloseIcon:w3,PanelRightDashed:oo,PanelRightDashedIcon:oo,PanelRightIcon:b3,PanelRightInactive:oo,PanelRightInactiveIcon:oo,PanelRightOpen:M3,PanelRightOpenIcon:M3,PanelTop:S3,PanelTopClose:C3,PanelTopCloseIcon:C3,PanelTopDashed:io,PanelTopDashedIcon:io,PanelTopIcon:S3,PanelTopInactive:io,PanelTopInactiveIcon:io,PanelTopOpen:j3,PanelTopOpenIcon:j3,PanelsLeftBottom:L3,PanelsLeftBottomIcon:L3,PanelsLeftRight:wn,PanelsLeftRightIcon:wn,PanelsRightBottom:I3,PanelsRightBottomIcon:I3,PanelsTopBottom:mo,PanelsTopBottomIcon:mo,PanelsTopLeft:so,PanelsTopLeftIcon:so,Paperclip:N3,PaperclipIcon:N3,Parentheses:A3,ParenthesesIcon:A3,ParkingCircle:nn,ParkingCircleIcon:nn,ParkingCircleOff:rn,ParkingCircleOffIcon:rn,ParkingMeter:P3,ParkingMeterIcon:P3,ParkingSquare:ti,ParkingSquareIcon:ti,ParkingSquareOff:ei,ParkingSquareOffIcon:ei,PartyPopper:_3,PartyPopperIcon:_3,Pause:R3,PauseCircle:on,PauseCircleIcon:on,PauseIcon:R3,PauseOctagon:Yn,PauseOctagonIcon:Yn,PawPrint:T3,PawPrintIcon:T3,PcCase:q3,PcCaseIcon:q3,Pen:lo,PenBox:bt,PenBoxIcon:bt,PenIcon:lo,PenLine:co,PenLineIcon:co,PenOff:D3,PenOffIcon:D3,PenSquare:bt,PenSquareIcon:bt,PenTool:z3,PenToolIcon:z3,Pencil:H3,PencilIcon:H3,PencilLine:F3,PencilLineIcon:F3,PencilOff:E3,PencilOffIcon:E3,PencilRuler:O3,PencilRulerIcon:O3,Pentagon:V3,PentagonIcon:V3,Percent:B3,PercentCircle:sn,PercentCircleIcon:sn,PercentDiamond:bn,PercentDiamondIcon:bn,PercentIcon:B3,PercentSquare:ai,PercentSquareIcon:ai,PersonStanding:U3,PersonStandingIcon:U3,PhilippinePeso:$3,PhilippinePesoIcon:$3,Phone:Hi,PhoneCall:G3,PhoneCallIcon:G3,PhoneForwarded:W3,PhoneForwardedIcon:W3,PhoneIcon:Hi,PhoneIncoming:Z3,PhoneIncomingIcon:Z3,PhoneMissed:X3,PhoneMissedIcon:X3,PhoneOff:J3,PhoneOffIcon:J3,PhoneOutgoing:Y3,PhoneOutgoingIcon:Y3,Pi:K3,PiIcon:K3,PiSquare:ri,PiSquareIcon:ri,Piano:Q3,PianoIcon:Q3,Pickaxe:ev,PickaxeIcon:ev,PictureInPicture:av,PictureInPicture2:tv,PictureInPicture2Icon:tv,PictureInPictureIcon:av,PieChart:Er,PieChartIcon:Er,PiggyBank:rv,PiggyBankIcon:rv,Pilcrow:iv,PilcrowIcon:iv,PilcrowLeft:nv,PilcrowLeftIcon:nv,PilcrowRight:ov,PilcrowRightIcon:ov,PilcrowSquare:ni,PilcrowSquareIcon:ni,Pill:cv,PillBottle:sv,PillBottleIcon:sv,PillIcon:cv,Pin:dv,PinIcon:dv,PinOff:lv,PinOffIcon:lv,Pipette:hv,PipetteIcon:hv,Pizza:uv,PizzaIcon:uv,Plane:mv,PlaneIcon:mv,PlaneLanding:pv,PlaneLandingIcon:pv,PlaneTakeoff:yv,PlaneTakeoffIcon:yv,Play:jc,PlayCircle:cn,PlayCircleIcon:cn,PlayIcon:jc,PlaySquare:oi,PlaySquareIcon:oi,Plug:xv,Plug2:fv,Plug2Icon:fv,PlugIcon:xv,PlugZap:ho,PlugZap2:ho,PlugZap2Icon:ho,PlugZapIcon:ho,Plus:Sc,PlusCircle:ln,PlusCircleIcon:ln,PlusIcon:Sc,PlusSquare:ii,PlusSquareIcon:ii,Pocket:gv,PocketIcon:gv,PocketKnife:kv,PocketKnifeIcon:kv,Podcast:vv,PodcastIcon:vv,Pointer:Mv,PointerIcon:Mv,PointerOff:wv,PointerOffIcon:wv,Popcorn:bv,PopcornIcon:bv,Popsicle:Cv,PopsicleIcon:Cv,PoundSterling:jv,PoundSterlingIcon:jv,Power:Lv,PowerCircle:dn,PowerCircleIcon:dn,PowerIcon:Lv,PowerOff:Sv,PowerOffIcon:Sv,PowerSquare:si,PowerSquareIcon:si,Presentation:Iv,PresentationIcon:Iv,Printer:Av,PrinterCheck:Nv,PrinterCheckIcon:Nv,PrinterIcon:Av,Projector:Pv,ProjectorIcon:Pv,Proportions:_v,ProportionsIcon:_v,Puzzle:Rv,PuzzleIcon:Rv,Pyramid:Tv,PyramidIcon:Tv,QrCode:qv,QrCodeIcon:qv,Quote:Ls,QuoteIcon:Ls,Rabbit:Dv,RabbitIcon:Dv,Radar:zv,RadarIcon:zv,Radiation:Fv,RadiationIcon:Fv,Radical:Ev,RadicalIcon:Ev,Radio:Vv,RadioIcon:Vv,RadioReceiver:Ov,RadioReceiverIcon:Ov,RadioTower:Hv,RadioTowerIcon:Hv,Radius:Bv,RadiusIcon:Bv,RailSymbol:Uv,RailSymbolIcon:Uv,Rainbow:$v,RainbowIcon:$v,Rat:Gv,RatIcon:Gv,Ratio:Wv,RatioIcon:Wv,Receipt:a6,ReceiptCent:Zv,ReceiptCentIcon:Zv,ReceiptEuro:Xv,ReceiptEuroIcon:Xv,ReceiptIcon:a6,ReceiptIndianRupee:Jv,ReceiptIndianRupeeIcon:Jv,ReceiptJapaneseYen:Yv,ReceiptJapaneseYenIcon:Yv,ReceiptPoundSterling:Kv,ReceiptPoundSterlingIcon:Kv,ReceiptRussianRuble:Qv,ReceiptRussianRubleIcon:Qv,ReceiptSwissFranc:e6,ReceiptSwissFrancIcon:e6,ReceiptText:t6,ReceiptTextIcon:t6,RectangleEllipsis:uo,RectangleEllipsisIcon:uo,RectangleHorizontal:r6,RectangleHorizontalIcon:r6,RectangleVertical:n6,RectangleVerticalIcon:n6,Recycle:o6,RecycleIcon:o6,Redo:c6,Redo2:i6,Redo2Icon:i6,RedoDot:s6,RedoDotIcon:s6,RedoIcon:c6,RefreshCcw:d6,RefreshCcwDot:l6,RefreshCcwDotIcon:l6,RefreshCcwIcon:d6,RefreshCw:u6,RefreshCwIcon:u6,RefreshCwOff:h6,RefreshCwOffIcon:h6,Refrigerator:p6,RefrigeratorIcon:p6,Regex:y6,RegexIcon:y6,RemoveFormatting:m6,RemoveFormattingIcon:m6,Repeat:k6,Repeat1:f6,Repeat1Icon:f6,Repeat2:x6,Repeat2Icon:x6,RepeatIcon:k6,Replace:v6,ReplaceAll:g6,ReplaceAllIcon:g6,ReplaceIcon:v6,Reply:M6,ReplyAll:w6,ReplyAllIcon:w6,ReplyIcon:M6,Rewind:b6,RewindIcon:b6,Ribbon:C6,RibbonIcon:C6,Rocket:j6,RocketIcon:j6,RockingChair:S6,RockingChairIcon:S6,RollerCoaster:L6,RollerCoasterIcon:L6,Rotate3D:po,Rotate3DIcon:po,Rotate3d:po,Rotate3dIcon:po,RotateCcw:N6,RotateCcwIcon:N6,RotateCcwSquare:I6,RotateCcwSquareIcon:I6,RotateCw:P6,RotateCwIcon:P6,RotateCwSquare:A6,RotateCwSquareIcon:A6,Route:R6,RouteIcon:R6,RouteOff:_6,RouteOffIcon:_6,Router:T6,RouterIcon:T6,Rows:yo,Rows2:yo,Rows2Icon:yo,Rows3:mo,Rows3Icon:mo,Rows4:q6,Rows4Icon:q6,RowsIcon:yo,Rss:D6,RssIcon:D6,Ruler:z6,RulerIcon:z6,RussianRuble:F6,RussianRubleIcon:F6,Sailboat:E6,SailboatIcon:E6,Salad:O6,SaladIcon:O6,Sandwich:H6,SandwichIcon:H6,Satellite:B6,SatelliteDish:V6,SatelliteDishIcon:V6,SatelliteIcon:B6,Save:G6,SaveAll:U6,SaveAllIcon:U6,SaveIcon:G6,SaveOff:$6,SaveOffIcon:$6,Scale:W6,Scale3D:fo,Scale3DIcon:fo,Scale3d:fo,Scale3dIcon:fo,ScaleIcon:W6,Scaling:Z6,ScalingIcon:Z6,Scan:a8,ScanBarcode:X6,ScanBarcodeIcon:X6,ScanEye:J6,ScanEyeIcon:J6,ScanFace:Y6,ScanFaceIcon:Y6,ScanIcon:a8,ScanLine:K6,ScanLineIcon:K6,ScanQrCode:Q6,ScanQrCodeIcon:Q6,ScanSearch:e8,ScanSearchIcon:e8,ScanText:t8,ScanTextIcon:t8,ScatterChart:Or,ScatterChartIcon:Or,School:r8,School2:bi,School2Icon:bi,SchoolIcon:r8,Scissors:o8,ScissorsIcon:o8,ScissorsLineDashed:n8,ScissorsLineDashedIcon:n8,ScissorsSquare:ci,ScissorsSquareDashedBottom:Ro,ScissorsSquareDashedBottomIcon:Ro,ScissorsSquareIcon:ci,ScreenShare:s8,ScreenShareIcon:s8,ScreenShareOff:i8,ScreenShareOffIcon:i8,Scroll:l8,ScrollIcon:l8,ScrollText:c8,ScrollTextIcon:c8,Search:Ut,SearchCheck:d8,SearchCheckIcon:d8,SearchCode:h8,SearchCodeIcon:h8,SearchIcon:Ut,SearchSlash:u8,SearchSlashIcon:u8,SearchX:p8,SearchXIcon:p8,Section:y8,SectionIcon:y8,Send:Lc,SendHorizonal:xo,SendHorizonalIcon:xo,SendHorizontal:xo,SendHorizontalIcon:xo,SendIcon:Lc,SendToBack:m8,SendToBackIcon:m8,SeparatorHorizontal:f8,SeparatorHorizontalIcon:f8,SeparatorVertical:x8,SeparatorVerticalIcon:x8,Server:w8,ServerCog:k8,ServerCogIcon:k8,ServerCrash:g8,ServerCrashIcon:g8,ServerIcon:w8,ServerOff:v8,ServerOffIcon:v8,Settings:Is,Settings2:M8,Settings2Icon:M8,SettingsIcon:Is,Shapes:b8,ShapesIcon:b8,Share:C8,Share2:Ns,Share2Icon:Ns,ShareIcon:C8,Sheet:j8,SheetIcon:j8,Shell:S8,ShellIcon:S8,Shield:Ic,ShieldAlert:L8,ShieldAlertIcon:L8,ShieldBan:I8,ShieldBanIcon:I8,ShieldCheck:N8,ShieldCheckIcon:N8,ShieldClose:ko,ShieldCloseIcon:ko,ShieldEllipsis:A8,ShieldEllipsisIcon:A8,ShieldHalf:P8,ShieldHalfIcon:P8,ShieldIcon:Ic,ShieldMinus:_8,ShieldMinusIcon:_8,ShieldOff:R8,ShieldOffIcon:R8,ShieldPlus:T8,ShieldPlusIcon:T8,ShieldQuestion:q8,ShieldQuestionIcon:q8,ShieldX:ko,ShieldXIcon:ko,Ship:z8,ShipIcon:z8,ShipWheel:D8,ShipWheelIcon:D8,Shirt:F8,ShirtIcon:F8,ShoppingBag:E8,ShoppingBagIcon:E8,ShoppingBasket:O8,ShoppingBasketIcon:O8,ShoppingCart:As,ShoppingCartIcon:As,Shovel:H8,ShovelIcon:H8,ShowerHead:V8,ShowerHeadIcon:V8,Shrink:B8,ShrinkIcon:B8,Shrub:U8,ShrubIcon:U8,Shuffle:$8,ShuffleIcon:$8,Sidebar:no,SidebarClose:to,SidebarCloseIcon:to,SidebarIcon:no,SidebarOpen:ro,SidebarOpenIcon:ro,Sigma:G8,SigmaIcon:G8,SigmaSquare:li,SigmaSquareIcon:li,Signal:Nc,SignalHigh:W8,SignalHighIcon:W8,SignalIcon:Nc,SignalLow:Z8,SignalLowIcon:Z8,SignalMedium:X8,SignalMediumIcon:X8,SignalZero:J8,SignalZeroIcon:J8,Signature:Y8,SignatureIcon:Y8,Signpost:Q8,SignpostBig:K8,SignpostBigIcon:K8,SignpostIcon:Q8,Siren:e7,SirenIcon:e7,SkipBack:t7,SkipBackIcon:t7,SkipForward:a7,SkipForwardIcon:a7,Skull:r7,SkullIcon:r7,Slack:n7,SlackIcon:n7,Slash:o7,SlashIcon:o7,SlashSquare:di,SlashSquareIcon:di,Slice:i7,SliceIcon:i7,Sliders:go,SlidersHorizontal:Ya,SlidersHorizontalIcon:Ya,SlidersIcon:go,SlidersVertical:go,SlidersVerticalIcon:go,Smartphone:l7,SmartphoneCharging:s7,SmartphoneChargingIcon:s7,SmartphoneIcon:l7,SmartphoneNfc:c7,SmartphoneNfcIcon:c7,Smile:h7,SmileIcon:h7,SmilePlus:d7,SmilePlusIcon:d7,Snail:u7,SnailIcon:u7,Snowflake:p7,SnowflakeIcon:p7,Sofa:y7,SofaIcon:y7,SortAsc:vr,SortAscIcon:vr,SortDesc:xr,SortDescIcon:xr,Soup:m7,SoupIcon:m7,Space:f7,SpaceIcon:f7,Spade:x7,SpadeIcon:x7,Sparkle:k7,SparkleIcon:k7,Sparkles:vo,SparklesIcon:vo,Speaker:g7,SpeakerIcon:g7,Speech:v7,SpeechIcon:v7,SpellCheck:M7,SpellCheck2:w7,SpellCheck2Icon:w7,SpellCheckIcon:M7,Spline:b7,SplineIcon:b7,Split:C7,SplitIcon:C7,SplitSquareHorizontal:hi,SplitSquareHorizontalIcon:hi,SplitSquareVertical:ui,SplitSquareVerticalIcon:ui,SprayCan:j7,SprayCanIcon:j7,Sprout:S7,SproutIcon:S7,Square:_7,SquareActivity:wo,SquareActivityIcon:wo,SquareArrowDown:Co,SquareArrowDownIcon:Co,SquareArrowDownLeft:Mo,SquareArrowDownLeftIcon:Mo,SquareArrowDownRight:bo,SquareArrowDownRightIcon:bo,SquareArrowLeft:Sa,SquareArrowLeftIcon:Sa,SquareArrowOutDownLeft:jo,SquareArrowOutDownLeftIcon:jo,SquareArrowOutDownRight:So,SquareArrowOutDownRightIcon:So,SquareArrowOutUpLeft:Lo,SquareArrowOutUpLeftIcon:Lo,SquareArrowOutUpRight:Io,SquareArrowOutUpRightIcon:Io,SquareArrowRight:La,SquareArrowRightIcon:La,SquareArrowUp:Po,SquareArrowUpIcon:Po,SquareArrowUpLeft:No,SquareArrowUpLeftIcon:No,SquareArrowUpRight:Ao,SquareArrowUpRightIcon:Ao,SquareAsterisk:_o,SquareAsteriskIcon:_o,SquareBottomDashedScissors:Ro,SquareBottomDashedScissorsIcon:Ro,SquareChartGantt:ia,SquareChartGanttIcon:ia,SquareCheck:qo,SquareCheckBig:To,SquareCheckBigIcon:To,SquareCheckIcon:qo,SquareChevronDown:Do,SquareChevronDownIcon:Do,SquareChevronLeft:zo,SquareChevronLeftIcon:zo,SquareChevronRight:Fo,SquareChevronRightIcon:Fo,SquareChevronUp:Eo,SquareChevronUpIcon:Eo,SquareCode:Oo,SquareCodeIcon:Oo,SquareDashed:Bo,SquareDashedBottom:I7,SquareDashedBottomCode:L7,SquareDashedBottomCodeIcon:L7,SquareDashedBottomIcon:I7,SquareDashedIcon:Bo,SquareDashedKanban:Ho,SquareDashedKanbanIcon:Ho,SquareDashedMousePointer:Vo,SquareDashedMousePointerIcon:Vo,SquareDivide:Uo,SquareDivideIcon:Uo,SquareDot:$o,SquareDotIcon:$o,SquareEqual:Go,SquareEqualIcon:Go,SquareFunction:Wo,SquareFunctionIcon:Wo,SquareGanttChart:ia,SquareGanttChartIcon:ia,SquareIcon:_7,SquareKanban:Zo,SquareKanbanIcon:Zo,SquareLibrary:Xo,SquareLibraryIcon:Xo,SquareM:Jo,SquareMIcon:Jo,SquareMenu:Yo,SquareMenuIcon:Yo,SquareMinus:Ko,SquareMinusIcon:Ko,SquareMousePointer:Qo,SquareMousePointerIcon:Qo,SquareParking:ti,SquareParkingIcon:ti,SquareParkingOff:ei,SquareParkingOffIcon:ei,SquarePen:bt,SquarePenIcon:bt,SquarePercent:ai,SquarePercentIcon:ai,SquarePi:ri,SquarePiIcon:ri,SquarePilcrow:ni,SquarePilcrowIcon:ni,SquarePlay:oi,SquarePlayIcon:oi,SquarePlus:ii,SquarePlusIcon:ii,SquarePower:si,SquarePowerIcon:si,SquareRadical:N7,SquareRadicalIcon:N7,SquareScissors:ci,SquareScissorsIcon:ci,SquareSigma:li,SquareSigmaIcon:li,SquareSlash:di,SquareSlashIcon:di,SquareSplitHorizontal:hi,SquareSplitHorizontalIcon:hi,SquareSplitVertical:ui,SquareSplitVerticalIcon:ui,SquareSquare:A7,SquareSquareIcon:A7,SquareStack:P7,SquareStackIcon:P7,SquareTerminal:pi,SquareTerminalIcon:pi,SquareUser:mi,SquareUserIcon:mi,SquareUserRound:yi,SquareUserRoundIcon:yi,SquareX:fi,SquareXIcon:fi,Squircle:R7,SquircleIcon:R7,Squirrel:T7,SquirrelIcon:T7,Stamp:q7,StampIcon:q7,Star:Et,StarHalf:D7,StarHalfIcon:D7,StarIcon:Et,StarOff:z7,StarOffIcon:z7,Stars:vo,StarsIcon:vo,StepBack:F7,StepBackIcon:F7,StepForward:E7,StepForwardIcon:E7,Stethoscope:O7,StethoscopeIcon:O7,Sticker:H7,StickerIcon:H7,StickyNote:V7,StickyNoteIcon:V7,StopCircle:un,StopCircleIcon:un,Store:B7,StoreIcon:B7,StretchHorizontal:U7,StretchHorizontalIcon:U7,StretchVertical:$7,StretchVerticalIcon:$7,Strikethrough:G7,StrikethroughIcon:G7,Subscript:W7,SubscriptIcon:W7,Subtitles:Ir,SubtitlesIcon:Ir,Sun:K7,SunDim:Z7,SunDimIcon:Z7,SunIcon:K7,SunMedium:X7,SunMediumIcon:X7,SunMoon:J7,SunMoonIcon:J7,SunSnow:Y7,SunSnowIcon:Y7,Sunrise:Q7,SunriseIcon:Q7,Sunset:ew,SunsetIcon:ew,Superscript:tw,SuperscriptIcon:tw,SwatchBook:aw,SwatchBookIcon:aw,SwissFranc:rw,SwissFrancIcon:rw,SwitchCamera:nw,SwitchCameraIcon:nw,Sword:ow,SwordIcon:ow,Swords:iw,SwordsIcon:iw,Syringe:sw,SyringeIcon:sw,Table:mw,Table2:cw,Table2Icon:cw,TableCellsMerge:lw,TableCellsMergeIcon:lw,TableCellsSplit:dw,TableCellsSplitIcon:dw,TableColumnsSplit:hw,TableColumnsSplitIcon:hw,TableIcon:mw,TableOfContents:uw,TableOfContentsIcon:uw,TableProperties:pw,TablePropertiesIcon:pw,TableRowsSplit:yw,TableRowsSplitIcon:yw,Tablet:xw,TabletIcon:xw,TabletSmartphone:fw,TabletSmartphoneIcon:fw,Tablets:kw,TabletsIcon:kw,Tag:gw,TagIcon:gw,Tags:vw,TagsIcon:vw,Tally1:ww,Tally1Icon:ww,Tally2:Mw,Tally2Icon:Mw,Tally3:bw,Tally3Icon:bw,Tally4:Cw,Tally4Icon:Cw,Tally5:jw,Tally5Icon:jw,Tangent:Sw,TangentIcon:Sw,Target:Lw,TargetIcon:Lw,Telescope:Iw,TelescopeIcon:Iw,Tent:Aw,TentIcon:Aw,TentTree:Nw,TentTreeIcon:Nw,Terminal:Pw,TerminalIcon:Pw,TerminalSquare:pi,TerminalSquareIcon:pi,TestTube:_w,TestTube2:xi,TestTube2Icon:xi,TestTubeDiagonal:xi,TestTubeDiagonalIcon:xi,TestTubeIcon:_w,TestTubes:Rw,TestTubesIcon:Rw,Text:Fw,TextCursor:qw,TextCursorIcon:qw,TextCursorInput:Tw,TextCursorInputIcon:Tw,TextIcon:Fw,TextQuote:Dw,TextQuoteIcon:Dw,TextSearch:zw,TextSearchIcon:zw,TextSelect:ki,TextSelectIcon:ki,TextSelection:ki,TextSelectionIcon:ki,Theater:Ew,TheaterIcon:Ew,Thermometer:Vw,ThermometerIcon:Vw,ThermometerSnowflake:Ow,ThermometerSnowflakeIcon:Ow,ThermometerSun:Hw,ThermometerSunIcon:Hw,ThumbsDown:Bw,ThumbsDownIcon:Bw,ThumbsUp:Uw,ThumbsUpIcon:Uw,Ticket:Yw,TicketCheck:$w,TicketCheckIcon:$w,TicketIcon:Yw,TicketMinus:Gw,TicketMinusIcon:Gw,TicketPercent:Ww,TicketPercentIcon:Ww,TicketPlus:Zw,TicketPlusIcon:Zw,TicketSlash:Xw,TicketSlashIcon:Xw,TicketX:Jw,TicketXIcon:Jw,Tickets:Qw,TicketsIcon:Qw,TicketsPlane:Kw,TicketsPlaneIcon:Kw,Timer:aM,TimerIcon:aM,TimerOff:eM,TimerOffIcon:eM,TimerReset:tM,TimerResetIcon:tM,ToggleLeft:rM,ToggleLeftIcon:rM,ToggleRight:nM,ToggleRightIcon:nM,Tornado:oM,TornadoIcon:oM,Torus:iM,TorusIcon:iM,Touchpad:cM,TouchpadIcon:cM,TouchpadOff:sM,TouchpadOffIcon:sM,TowerControl:lM,TowerControlIcon:lM,ToyBrick:dM,ToyBrickIcon:dM,Tractor:hM,TractorIcon:hM,TrafficCone:uM,TrafficConeIcon:uM,Train:gi,TrainFront:yM,TrainFrontIcon:yM,TrainFrontTunnel:pM,TrainFrontTunnelIcon:pM,TrainIcon:gi,TrainTrack:mM,TrainTrackIcon:mM,TramFront:gi,TramFrontIcon:gi,Trash:fM,Trash2:Ac,Trash2Icon:Ac,TrashIcon:fM,TreeDeciduous:xM,TreeDeciduousIcon:xM,TreePalm:vi,TreePalmIcon:vi,TreePine:kM,TreePineIcon:kM,Trees:gM,TreesIcon:gM,Trello:vM,TrelloIcon:vM,TrendingDown:wM,TrendingDownIcon:wM,TrendingUp:Vi,TrendingUpDown:MM,TrendingUpDownIcon:MM,TrendingUpIcon:Vi,Triangle:CM,TriangleAlert:wi,TriangleAlertIcon:wi,TriangleIcon:CM,TriangleRight:bM,TriangleRightIcon:bM,Trophy:jM,TrophyIcon:jM,Truck:SM,TruckIcon:SM,Turtle:LM,TurtleIcon:LM,Tv:NM,Tv2:Mi,Tv2Icon:Mi,TvIcon:NM,TvMinimal:Mi,TvMinimalIcon:Mi,TvMinimalPlay:IM,TvMinimalPlayIcon:IM,Twitch:AM,TwitchIcon:AM,Twitter:PM,TwitterIcon:PM,Type:RM,TypeIcon:RM,TypeOutline:_M,TypeOutlineIcon:_M,Umbrella:qM,UmbrellaIcon:qM,UmbrellaOff:TM,UmbrellaOffIcon:TM,Underline:DM,UnderlineIcon:DM,Undo:EM,Undo2:zM,Undo2Icon:zM,UndoDot:FM,UndoDotIcon:FM,UndoIcon:EM,UnfoldHorizontal:OM,UnfoldHorizontalIcon:OM,UnfoldVertical:HM,UnfoldVerticalIcon:HM,Ungroup:VM,UngroupIcon:VM,University:bi,UniversityIcon:bi,Unlink:UM,Unlink2:BM,Unlink2Icon:BM,UnlinkIcon:UM,Unlock:Wn,UnlockIcon:Wn,UnlockKeyhole:Gn,UnlockKeyholeIcon:Gn,Unplug:$M,UnplugIcon:$M,Upload:Ps,UploadCloud:kn,UploadCloudIcon:kn,UploadIcon:Ps,Usb:GM,UsbIcon:GM,User:Pc,User2:Ni,User2Icon:Ni,UserCheck:WM,UserCheck2:Ci,UserCheck2Icon:Ci,UserCheckIcon:WM,UserCircle:yn,UserCircle2:pn,UserCircle2Icon:pn,UserCircleIcon:yn,UserCog:ZM,UserCog2:ji,UserCog2Icon:ji,UserCogIcon:ZM,UserIcon:Pc,UserMinus:XM,UserMinus2:Si,UserMinus2Icon:Si,UserMinusIcon:XM,UserPen:JM,UserPenIcon:JM,UserPlus:YM,UserPlus2:Li,UserPlus2Icon:Li,UserPlusIcon:YM,UserRound:Ni,UserRoundCheck:Ci,UserRoundCheckIcon:Ci,UserRoundCog:ji,UserRoundCogIcon:ji,UserRoundIcon:Ni,UserRoundMinus:Si,UserRoundMinusIcon:Si,UserRoundPen:KM,UserRoundPenIcon:KM,UserRoundPlus:Li,UserRoundPlusIcon:Li,UserRoundSearch:QM,UserRoundSearchIcon:QM,UserRoundX:Ii,UserRoundXIcon:Ii,UserSearch:eb,UserSearchIcon:eb,UserSquare:mi,UserSquare2:yi,UserSquare2Icon:yi,UserSquareIcon:mi,UserX:tb,UserX2:Ii,UserX2Icon:Ii,UserXIcon:tb,Users:Ra,Users2:Ai,Users2Icon:Ai,UsersIcon:Ra,UsersRound:Ai,UsersRoundIcon:Ai,Utensils:_i,UtensilsCrossed:Pi,UtensilsCrossedIcon:Pi,UtensilsIcon:_i,UtilityPole:ab,UtilityPoleIcon:ab,Variable:rb,VariableIcon:rb,Vault:nb,VaultIcon:nb,Vegan:ob,VeganIcon:ob,VenetianMask:ib,VenetianMaskIcon:ib,Verified:br,VerifiedIcon:br,Vibrate:cb,VibrateIcon:cb,VibrateOff:sb,VibrateOffIcon:sb,Video:db,VideoIcon:db,VideoOff:lb,VideoOffIcon:lb,Videotape:hb,VideotapeIcon:hb,View:ub,ViewIcon:ub,Voicemail:pb,VoicemailIcon:pb,Volleyball:yb,VolleyballIcon:yb,Volume:gb,Volume1:mb,Volume1Icon:mb,Volume2:fb,Volume2Icon:fb,VolumeIcon:gb,VolumeOff:xb,VolumeOffIcon:xb,VolumeX:kb,VolumeXIcon:kb,Vote:vb,VoteIcon:vb,Wallet:Mb,Wallet2:Ri,Wallet2Icon:Ri,WalletCards:wb,WalletCardsIcon:wb,WalletIcon:Mb,WalletMinimal:Ri,WalletMinimalIcon:Ri,Wallpaper:bb,WallpaperIcon:bb,Wand:Cb,Wand2:Ti,Wand2Icon:Ti,WandIcon:Cb,WandSparkles:Ti,WandSparklesIcon:Ti,Warehouse:jb,WarehouseIcon:jb,WashingMachine:Sb,WashingMachineIcon:Sb,Watch:Lb,WatchIcon:Lb,Waves:Ib,WavesIcon:Ib,Waypoints:Nb,WaypointsIcon:Nb,Webcam:Ab,WebcamIcon:Ab,Webhook:_b,WebhookIcon:_b,WebhookOff:Pb,WebhookOffIcon:Pb,Weight:Rb,WeightIcon:Rb,Wheat:qb,WheatIcon:qb,WheatOff:Tb,WheatOffIcon:Tb,WholeWord:Db,WholeWordIcon:Db,Wifi:Hb,WifiHigh:zb,WifiHighIcon:zb,WifiIcon:Hb,WifiLow:Fb,WifiLowIcon:Fb,WifiOff:Eb,WifiOffIcon:Eb,WifiZero:Ob,WifiZeroIcon:Ob,Wind:Vb,WindIcon:Vb,Wine:Ub,WineIcon:Ub,WineOff:Bb,WineOffIcon:Bb,Workflow:$b,WorkflowIcon:$b,Worm:Gb,WormIcon:Gb,WrapText:Wb,WrapTextIcon:Wb,Wrench:Zb,WrenchIcon:Zb,X:Qt,XCircle:ca,XCircleIcon:ca,XIcon:Qt,XOctagon:Kn,XOctagonIcon:Kn,XSquare:fi,XSquareIcon:fi,Youtube:Xb,YoutubeIcon:Xb,Zap:Yb,ZapIcon:Yb,ZapOff:Jb,ZapOffIcon:Jb,ZoomIn:Kb,ZoomInIcon:Kb,ZoomOut:Qb,ZoomOutIcon:Qb,createLucideIcon:s,icons:ZT},Symbol.toStringTag,{value:"Module"}));function JT({groupedIds:t,tabTitles:e,lang:r,url:n,PromotionsTitle:o,buttonMsg:i="Select Plan"}){const[c,l]=j.useState([]),[d,h]=j.useState("tab-0"),u=n||window.location.origin||"http://localhost:8000";j.useEffect(()=>{(async()=>{try{const k=r??"en",m=t.map(async v=>(await fetch(`${u}/api/v1/promotions/?ids=${v}`,{method:"GET",headers:{"Accept-Language":k,"Content-Type":"application/json"}})).json()),x=await Promise.all(m);l(x)}catch{}})()},[t,u,r]);const p=f=>{const k=new CustomEvent("planSelected",{bubbles:!0,detail:{plan:f,tabType:d,timestamp:new Date().toISOString()}}),m=document.querySelector(".group-prices-component");m&&m.dispatchEvent(k)},y=`grid sm:grid-cols-2 lg:grid-cols-${e.length} mb-8`;return a.jsx("section",{id:"pricing",className:"w-full py-12 md:py-24 lg:py-32",children:a.jsxs("div",{className:"container px-4 md:px-6",children:[o??a.jsx("h2",{className:"text-3xl font-bold tracking-tighter sm:text-4xl md:text-5xl text-center mb-8",children:o}),a.jsxs(es,{defaultValue:"tab-0",className:"w-full",onValueChange:f=>h(f),children:[a.jsx(or,{className:y,children:e.map((f,k)=>a.jsx(Ce,{value:`tab-${k}`,children:f},k))}),c.map((f,k)=>a.jsx(je,{value:`tab-${k}`,children:a.jsx("div",{className:"grid gap-8 sm:grid-cols-2 lg:grid-cols-3",children:f.map((m,x)=>a.jsxs(ve,{className:"flex flex-col",children:[a.jsxs(_e,{children:[a.jsx(Re,{children:m.title}),a.jsx(He,{children:m.short_description})]}),a.jsxs(we,{className:"flex-1",children:[a.jsxs("p",{className:"text-3xl font-bold",children:["€",m.price]}),a.jsx("ul",{className:"mt-4 space-y-2",children:m.features&&m.features.map((v,w)=>a.jsxs("li",{className:"flex items-center",children:[a.jsx(vs,{className:"mr-2 h-4 w-4 text-primary"})," ",v]},w))})]}),a.jsx(Fs,{children:a.jsx($,{onClick:()=>p(m),className:"w-full bg-primary text-primary-foreground hover:bg-primary/90",children:i})})]},x))})},k))]})]})})}function YT({isOpen:t,items:e}){const r=e.reduce((n,o)=>n+o.price,0);return a.jsxs("div",{className:"relative",children:[a.jsx("div",{className:le("fixed inset-y-0 right-0 w-80 bg-white shadow-lg transform transition-transform duration-300 ease-in-out z-30",t?"translate-x-0":"translate-x-full"),children:a.jsxs("div",{className:"h-full flex flex-col",children:[a.jsxs("div",{className:"p-4 border-b flex items-center justify-between",children:[a.jsx("h2",{className:"text-xl font-semibold",children:"Summary"}),a.jsxs("button",{onClick:()=>{const n=document.querySelector('.sliding-summary-component[data-open="true"]');n&&n.setAttribute("data-open","false")},className:"hover:bg-gray-100 rounded p-2",children:[a.jsx(Qt,{className:"h-4 w-4"}),a.jsx("span",{className:"sr-only",children:"Close panel"})]})]}),a.jsx("div",{className:"flex-1 overflow-auto p-4",children:e.map(n=>a.jsxs("div",{className:"mb-4 p-3 border rounded-lg",children:[a.jsxs("div",{className:"flex justify-between items-start mb-1",children:[a.jsx("span",{className:"font-medium",children:n.name}),a.jsxs("span",{className:"text-sm",children:["$",n.price.toFixed(2)]})]}),a.jsx("p",{className:"text-sm text-gray-600",children:n.description})]},n.id))}),a.jsx("div",{className:"p-4 border-t",children:a.jsxs("div",{className:"flex justify-between items-center",children:[a.jsx("span",{className:"font-semibold",children:"Total:"}),a.jsxs("span",{className:"font-semibold",children:["$",r.toFixed(2)]})]})})]})}),t&&a.jsx("div",{className:"fixed inset-0 bg-black/20 z-20",onClick:()=>{const n=document.querySelector('.sliding-summary-component[data-open="true"]');n&&n.setAttribute("data-open","false")}})]})}function Ca(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function CI(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}/*!
7725
+ */const XT=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:p1,AArrowDownIcon:p1,AArrowUp:y1,AArrowUpIcon:y1,ALargeSmall:m1,ALargeSmallIcon:m1,Accessibility:f1,AccessibilityIcon:f1,Activity:x1,ActivityIcon:x1,ActivitySquare:wo,ActivitySquareIcon:wo,AirVent:k1,AirVentIcon:k1,Airplay:g1,AirplayIcon:g1,AlarmCheck:pr,AlarmCheckIcon:pr,AlarmClock:w1,AlarmClockCheck:pr,AlarmClockCheckIcon:pr,AlarmClockIcon:w1,AlarmClockMinus:yr,AlarmClockMinusIcon:yr,AlarmClockOff:v1,AlarmClockOffIcon:v1,AlarmClockPlus:mr,AlarmClockPlusIcon:mr,AlarmMinus:yr,AlarmMinusIcon:yr,AlarmPlus:mr,AlarmPlusIcon:mr,AlarmSmoke:M1,AlarmSmokeIcon:M1,Album:b1,AlbumIcon:b1,AlertCircle:Jt,AlertCircleIcon:Jt,AlertOctagon:Jn,AlertOctagonIcon:Jn,AlertTriangle:wi,AlertTriangleIcon:wi,AlignCenter:S1,AlignCenterHorizontal:C1,AlignCenterHorizontalIcon:C1,AlignCenterIcon:S1,AlignCenterVertical:j1,AlignCenterVerticalIcon:j1,AlignEndHorizontal:L1,AlignEndHorizontalIcon:L1,AlignEndVertical:I1,AlignEndVerticalIcon:I1,AlignHorizontalDistributeCenter:N1,AlignHorizontalDistributeCenterIcon:N1,AlignHorizontalDistributeEnd:A1,AlignHorizontalDistributeEndIcon:A1,AlignHorizontalDistributeStart:P1,AlignHorizontalDistributeStartIcon:P1,AlignHorizontalJustifyCenter:_1,AlignHorizontalJustifyCenterIcon:_1,AlignHorizontalJustifyEnd:R1,AlignHorizontalJustifyEndIcon:R1,AlignHorizontalJustifyStart:T1,AlignHorizontalJustifyStartIcon:T1,AlignHorizontalSpaceAround:q1,AlignHorizontalSpaceAroundIcon:q1,AlignHorizontalSpaceBetween:D1,AlignHorizontalSpaceBetweenIcon:D1,AlignJustify:z1,AlignJustifyIcon:z1,AlignLeft:F1,AlignLeftIcon:F1,AlignRight:E1,AlignRightIcon:E1,AlignStartHorizontal:O1,AlignStartHorizontalIcon:O1,AlignStartVertical:H1,AlignStartVerticalIcon:H1,AlignVerticalDistributeCenter:V1,AlignVerticalDistributeCenterIcon:V1,AlignVerticalDistributeEnd:B1,AlignVerticalDistributeEndIcon:B1,AlignVerticalDistributeStart:U1,AlignVerticalDistributeStartIcon:U1,AlignVerticalJustifyCenter:$1,AlignVerticalJustifyCenterIcon:$1,AlignVerticalJustifyEnd:G1,AlignVerticalJustifyEndIcon:G1,AlignVerticalJustifyStart:W1,AlignVerticalJustifyStartIcon:W1,AlignVerticalSpaceAround:Z1,AlignVerticalSpaceAroundIcon:Z1,AlignVerticalSpaceBetween:X1,AlignVerticalSpaceBetweenIcon:X1,Ambulance:J1,AmbulanceIcon:J1,Ampersand:Y1,AmpersandIcon:Y1,Ampersands:K1,AmpersandsIcon:K1,Amphora:Q1,AmphoraIcon:Q1,Anchor:el,AnchorIcon:el,Angry:tl,AngryIcon:tl,Annoyed:al,AnnoyedIcon:al,Antenna:rl,AntennaIcon:rl,Anvil:nl,AnvilIcon:nl,Aperture:ol,ApertureIcon:ol,AppWindow:sl,AppWindowIcon:sl,AppWindowMac:il,AppWindowMacIcon:il,Apple:cl,AppleIcon:cl,Archive:hl,ArchiveIcon:hl,ArchiveRestore:ll,ArchiveRestoreIcon:ll,ArchiveX:dl,ArchiveXIcon:dl,AreaChart:Nr,AreaChartIcon:Nr,Armchair:ul,ArmchairIcon:ul,ArrowBigDown:yl,ArrowBigDownDash:pl,ArrowBigDownDashIcon:pl,ArrowBigDownIcon:yl,ArrowBigLeft:fl,ArrowBigLeftDash:ml,ArrowBigLeftDashIcon:ml,ArrowBigLeftIcon:fl,ArrowBigRight:kl,ArrowBigRightDash:xl,ArrowBigRightDashIcon:xl,ArrowBigRightIcon:kl,ArrowBigUp:vl,ArrowBigUpDash:gl,ArrowBigUpDashIcon:gl,ArrowBigUpIcon:vl,ArrowDown:Al,ArrowDown01:wl,ArrowDown01Icon:wl,ArrowDown10:Ml,ArrowDown10Icon:Ml,ArrowDownAZ:fr,ArrowDownAZIcon:fr,ArrowDownAz:fr,ArrowDownAzIcon:fr,ArrowDownCircle:Hr,ArrowDownCircleIcon:Hr,ArrowDownFromLine:bl,ArrowDownFromLineIcon:bl,ArrowDownIcon:Al,ArrowDownLeft:Cl,ArrowDownLeftFromCircle:Br,ArrowDownLeftFromCircleIcon:Br,ArrowDownLeftFromSquare:jo,ArrowDownLeftFromSquareIcon:jo,ArrowDownLeftIcon:Cl,ArrowDownLeftSquare:Mo,ArrowDownLeftSquareIcon:Mo,ArrowDownNarrowWide:jl,ArrowDownNarrowWideIcon:jl,ArrowDownRight:Sl,ArrowDownRightFromCircle:Ur,ArrowDownRightFromCircleIcon:Ur,ArrowDownRightFromSquare:So,ArrowDownRightFromSquareIcon:So,ArrowDownRightIcon:Sl,ArrowDownRightSquare:bo,ArrowDownRightSquareIcon:bo,ArrowDownSquare:Co,ArrowDownSquareIcon:Co,ArrowDownToDot:Ll,ArrowDownToDotIcon:Ll,ArrowDownToLine:Il,ArrowDownToLineIcon:Il,ArrowDownUp:Nl,ArrowDownUpIcon:Nl,ArrowDownWideNarrow:xr,ArrowDownWideNarrowIcon:xr,ArrowDownZA:kr,ArrowDownZAIcon:kr,ArrowDownZa:kr,ArrowDownZaIcon:kr,ArrowLeft:zi,ArrowLeftCircle:Vr,ArrowLeftCircleIcon:Vr,ArrowLeftFromLine:Pl,ArrowLeftFromLineIcon:Pl,ArrowLeftIcon:zi,ArrowLeftRight:_l,ArrowLeftRightIcon:_l,ArrowLeftSquare:Sa,ArrowLeftSquareIcon:Sa,ArrowLeftToLine:Rl,ArrowLeftToLineIcon:Rl,ArrowRight:xs,ArrowRightCircle:Wr,ArrowRightCircleIcon:Wr,ArrowRightFromLine:Tl,ArrowRightFromLineIcon:Tl,ArrowRightIcon:xs,ArrowRightLeft:ql,ArrowRightLeftIcon:ql,ArrowRightSquare:La,ArrowRightSquareIcon:La,ArrowRightToLine:Dl,ArrowRightToLineIcon:Dl,ArrowUp:Gl,ArrowUp01:zl,ArrowUp01Icon:zl,ArrowUp10:Fl,ArrowUp10Icon:Fl,ArrowUpAZ:gr,ArrowUpAZIcon:gr,ArrowUpAz:gr,ArrowUpAzIcon:gr,ArrowUpCircle:Zr,ArrowUpCircleIcon:Zr,ArrowUpDown:El,ArrowUpDownIcon:El,ArrowUpFromDot:Ol,ArrowUpFromDotIcon:Ol,ArrowUpFromLine:Hl,ArrowUpFromLineIcon:Hl,ArrowUpIcon:Gl,ArrowUpLeft:Vl,ArrowUpLeftFromCircle:$r,ArrowUpLeftFromCircleIcon:$r,ArrowUpLeftFromSquare:Lo,ArrowUpLeftFromSquareIcon:Lo,ArrowUpLeftIcon:Vl,ArrowUpLeftSquare:No,ArrowUpLeftSquareIcon:No,ArrowUpNarrowWide:vr,ArrowUpNarrowWideIcon:vr,ArrowUpRight:Bl,ArrowUpRightFromCircle:Gr,ArrowUpRightFromCircleIcon:Gr,ArrowUpRightFromSquare:Io,ArrowUpRightFromSquareIcon:Io,ArrowUpRightIcon:Bl,ArrowUpRightSquare:Ao,ArrowUpRightSquareIcon:Ao,ArrowUpSquare:Po,ArrowUpSquareIcon:Po,ArrowUpToLine:Ul,ArrowUpToLineIcon:Ul,ArrowUpWideNarrow:$l,ArrowUpWideNarrowIcon:$l,ArrowUpZA:wr,ArrowUpZAIcon:wr,ArrowUpZa:wr,ArrowUpZaIcon:wr,ArrowsUpFromLine:Wl,ArrowsUpFromLineIcon:Wl,Asterisk:Zl,AsteriskIcon:Zl,AsteriskSquare:_o,AsteriskSquareIcon:_o,AtSign:Xl,AtSignIcon:Xl,Atom:Jl,AtomIcon:Jl,AudioLines:Yl,AudioLinesIcon:Yl,AudioWaveform:Kl,AudioWaveformIcon:Kl,Award:Na,AwardIcon:Na,Axe:Ql,AxeIcon:Ql,Axis3D:Mr,Axis3DIcon:Mr,Axis3d:Mr,Axis3dIcon:Mr,Baby:ed,BabyIcon:ed,Backpack:td,BackpackIcon:td,Badge:xd,BadgeAlert:ad,BadgeAlertIcon:ad,BadgeCent:rd,BadgeCentIcon:rd,BadgeCheck:br,BadgeCheckIcon:br,BadgeDollarSign:nd,BadgeDollarSignIcon:nd,BadgeEuro:od,BadgeEuroIcon:od,BadgeHelp:id,BadgeHelpIcon:id,BadgeIcon:xd,BadgeIndianRupee:sd,BadgeIndianRupeeIcon:sd,BadgeInfo:cd,BadgeInfoIcon:cd,BadgeJapaneseYen:ld,BadgeJapaneseYenIcon:ld,BadgeMinus:dd,BadgeMinusIcon:dd,BadgePercent:hd,BadgePercentIcon:hd,BadgePlus:ud,BadgePlusIcon:ud,BadgePoundSterling:pd,BadgePoundSterlingIcon:pd,BadgeRussianRuble:yd,BadgeRussianRubleIcon:yd,BadgeSwissFranc:md,BadgeSwissFrancIcon:md,BadgeX:fd,BadgeXIcon:fd,BaggageClaim:kd,BaggageClaimIcon:kd,Ban:gd,BanIcon:gd,Banana:vd,BananaIcon:vd,Bandage:wd,BandageIcon:wd,Banknote:Md,BanknoteIcon:Md,BarChart:Ua,BarChart2:zr,BarChart2Icon:zr,BarChart3:qr,BarChart3Icon:qr,BarChart4:Tr,BarChart4Icon:Tr,BarChartBig:Rr,BarChartBigIcon:Rr,BarChartHorizontal:Pr,BarChartHorizontalBig:Ar,BarChartHorizontalBigIcon:Ar,BarChartHorizontalIcon:Pr,BarChartIcon:Ua,Barcode:bd,BarcodeIcon:bd,Baseline:Cd,BaselineIcon:Cd,Bath:jd,BathIcon:jd,Battery:Pd,BatteryCharging:Sd,BatteryChargingIcon:Sd,BatteryFull:Ld,BatteryFullIcon:Ld,BatteryIcon:Pd,BatteryLow:Id,BatteryLowIcon:Id,BatteryMedium:Nd,BatteryMediumIcon:Nd,BatteryWarning:Ad,BatteryWarningIcon:Ad,Beaker:_d,BeakerIcon:_d,Bean:Td,BeanIcon:Td,BeanOff:Rd,BeanOffIcon:Rd,Bed:zd,BedDouble:qd,BedDoubleIcon:qd,BedIcon:zd,BedSingle:Dd,BedSingleIcon:Dd,Beef:Fd,BeefIcon:Fd,Beer:Od,BeerIcon:Od,BeerOff:Ed,BeerOffIcon:Ed,Bell:ks,BellDot:Hd,BellDotIcon:Hd,BellElectric:Vd,BellElectricIcon:Vd,BellIcon:ks,BellMinus:Bd,BellMinusIcon:Bd,BellOff:Ud,BellOffIcon:Ud,BellPlus:$d,BellPlusIcon:$d,BellRing:Gd,BellRingIcon:Gd,BetweenHorizonalEnd:Cr,BetweenHorizonalEndIcon:Cr,BetweenHorizonalStart:jr,BetweenHorizonalStartIcon:jr,BetweenHorizontalEnd:Cr,BetweenHorizontalEndIcon:Cr,BetweenHorizontalStart:jr,BetweenHorizontalStartIcon:jr,BetweenVerticalEnd:Wd,BetweenVerticalEndIcon:Wd,BetweenVerticalStart:Zd,BetweenVerticalStartIcon:Zd,BicepsFlexed:Xd,BicepsFlexedIcon:Xd,Bike:Jd,BikeIcon:Jd,Binary:Yd,BinaryIcon:Yd,Binoculars:Kd,BinocularsIcon:Kd,Biohazard:Qd,BiohazardIcon:Qd,Bird:e2,BirdIcon:e2,Bitcoin:t2,BitcoinIcon:t2,Blend:a2,BlendIcon:a2,Blinds:r2,BlindsIcon:r2,Blocks:n2,BlocksIcon:n2,Bluetooth:c2,BluetoothConnected:o2,BluetoothConnectedIcon:o2,BluetoothIcon:c2,BluetoothOff:i2,BluetoothOffIcon:i2,BluetoothSearching:s2,BluetoothSearchingIcon:s2,Bold:l2,BoldIcon:l2,Bolt:d2,BoltIcon:d2,Bomb:h2,BombIcon:h2,Bone:u2,BoneIcon:u2,Book:T2,BookA:p2,BookAIcon:p2,BookAudio:y2,BookAudioIcon:y2,BookCheck:m2,BookCheckIcon:m2,BookCopy:f2,BookCopyIcon:f2,BookDashed:Sr,BookDashedIcon:Sr,BookDown:x2,BookDownIcon:x2,BookHeadphones:k2,BookHeadphonesIcon:k2,BookHeart:g2,BookHeartIcon:g2,BookIcon:T2,BookImage:v2,BookImageIcon:v2,BookKey:w2,BookKeyIcon:w2,BookLock:M2,BookLockIcon:M2,BookMarked:b2,BookMarkedIcon:b2,BookMinus:C2,BookMinusIcon:C2,BookOpen:Vt,BookOpenCheck:j2,BookOpenCheckIcon:j2,BookOpenIcon:Vt,BookOpenText:S2,BookOpenTextIcon:S2,BookPlus:L2,BookPlusIcon:L2,BookTemplate:Sr,BookTemplateIcon:Sr,BookText:I2,BookTextIcon:I2,BookType:N2,BookTypeIcon:N2,BookUp:P2,BookUp2:A2,BookUp2Icon:A2,BookUpIcon:P2,BookUser:_2,BookUserIcon:_2,BookX:R2,BookXIcon:R2,Bookmark:Xa,BookmarkCheck:pa,BookmarkCheckIcon:pa,BookmarkIcon:Xa,BookmarkMinus:q2,BookmarkMinusIcon:q2,BookmarkPlus:dc,BookmarkPlusIcon:dc,BookmarkX:D2,BookmarkXIcon:D2,BoomBox:z2,BoomBoxIcon:z2,Bot:hc,BotIcon:hc,BotMessageSquare:F2,BotMessageSquareIcon:F2,BotOff:E2,BotOffIcon:E2,Box:O2,BoxIcon:O2,BoxSelect:Bo,BoxSelectIcon:Bo,Boxes:H2,BoxesIcon:H2,Braces:Lr,BracesIcon:Lr,Brackets:V2,BracketsIcon:V2,Brain:$2,BrainCircuit:B2,BrainCircuitIcon:B2,BrainCog:U2,BrainCogIcon:U2,BrainIcon:$2,BrickWall:G2,BrickWallIcon:G2,Briefcase:ft,BriefcaseBusiness:W2,BriefcaseBusinessIcon:W2,BriefcaseConveyorBelt:Z2,BriefcaseConveyorBeltIcon:Z2,BriefcaseIcon:ft,BriefcaseMedical:X2,BriefcaseMedicalIcon:X2,BringToFront:J2,BringToFrontIcon:J2,Brush:Y2,BrushIcon:Y2,Bug:e0,BugIcon:e0,BugOff:K2,BugOffIcon:K2,BugPlay:Q2,BugPlayIcon:Q2,Building:gs,Building2:uc,Building2Icon:uc,BuildingIcon:gs,Bus:a0,BusFront:t0,BusFrontIcon:t0,BusIcon:a0,Cable:n0,CableCar:r0,CableCarIcon:r0,CableIcon:n0,Cake:i0,CakeIcon:i0,CakeSlice:o0,CakeSliceIcon:o0,Calculator:s0,CalculatorIcon:s0,Calendar:pc,CalendarArrowDown:c0,CalendarArrowDownIcon:c0,CalendarArrowUp:l0,CalendarArrowUpIcon:l0,CalendarCheck:h0,CalendarCheck2:d0,CalendarCheck2Icon:d0,CalendarCheckIcon:h0,CalendarClock:u0,CalendarClockIcon:u0,CalendarCog:p0,CalendarCogIcon:p0,CalendarDays:y0,CalendarDaysIcon:y0,CalendarFold:m0,CalendarFoldIcon:m0,CalendarHeart:f0,CalendarHeartIcon:f0,CalendarIcon:pc,CalendarMinus:k0,CalendarMinus2:x0,CalendarMinus2Icon:x0,CalendarMinusIcon:k0,CalendarOff:g0,CalendarOffIcon:g0,CalendarPlus:w0,CalendarPlus2:v0,CalendarPlus2Icon:v0,CalendarPlusIcon:w0,CalendarRange:M0,CalendarRangeIcon:M0,CalendarSearch:b0,CalendarSearchIcon:b0,CalendarX:j0,CalendarX2:C0,CalendarX2Icon:C0,CalendarXIcon:j0,Camera:L0,CameraIcon:L0,CameraOff:S0,CameraOffIcon:S0,CandlestickChart:_r,CandlestickChartIcon:_r,Candy:A0,CandyCane:I0,CandyCaneIcon:I0,CandyIcon:A0,CandyOff:N0,CandyOffIcon:N0,Cannabis:P0,CannabisIcon:P0,Captions:Ir,CaptionsIcon:Ir,CaptionsOff:_0,CaptionsOffIcon:_0,Car:q0,CarFront:R0,CarFrontIcon:R0,CarIcon:q0,CarTaxiFront:T0,CarTaxiFrontIcon:T0,Caravan:D0,CaravanIcon:D0,Carrot:z0,CarrotIcon:z0,CaseLower:F0,CaseLowerIcon:F0,CaseSensitive:E0,CaseSensitiveIcon:E0,CaseUpper:O0,CaseUpperIcon:O0,CassetteTape:H0,CassetteTapeIcon:H0,Cast:V0,CastIcon:V0,Castle:B0,CastleIcon:B0,Cat:U0,CatIcon:U0,Cctv:$0,CctvIcon:$0,ChartArea:Nr,ChartAreaIcon:Nr,ChartBar:Pr,ChartBarBig:Ar,ChartBarBigIcon:Ar,ChartBarDecreasing:G0,ChartBarDecreasingIcon:G0,ChartBarIcon:Pr,ChartBarIncreasing:W0,ChartBarIncreasingIcon:W0,ChartBarStacked:Z0,ChartBarStackedIcon:Z0,ChartCandlestick:_r,ChartCandlestickIcon:_r,ChartColumn:qr,ChartColumnBig:Rr,ChartColumnBigIcon:Rr,ChartColumnDecreasing:X0,ChartColumnDecreasingIcon:X0,ChartColumnIcon:qr,ChartColumnIncreasing:Tr,ChartColumnIncreasingIcon:Tr,ChartColumnStacked:J0,ChartColumnStackedIcon:J0,ChartGantt:Y0,ChartGanttIcon:Y0,ChartLine:Dr,ChartLineIcon:Dr,ChartNetwork:K0,ChartNetworkIcon:K0,ChartNoAxesColumn:zr,ChartNoAxesColumnDecreasing:Q0,ChartNoAxesColumnDecreasingIcon:Q0,ChartNoAxesColumnIcon:zr,ChartNoAxesColumnIncreasing:Ua,ChartNoAxesColumnIncreasingIcon:Ua,ChartNoAxesCombined:eh,ChartNoAxesCombinedIcon:eh,ChartNoAxesGantt:Fr,ChartNoAxesGanttIcon:Fr,ChartPie:Er,ChartPieIcon:Er,ChartScatter:Or,ChartScatterIcon:Or,ChartSpline:th,ChartSplineIcon:th,Check:vs,CheckCheck:ah,CheckCheckIcon:ah,CheckCircle:St,CheckCircle2:Xr,CheckCircle2Icon:Xr,CheckCircleIcon:St,CheckIcon:vs,CheckSquare:To,CheckSquare2:qo,CheckSquare2Icon:qo,CheckSquareIcon:To,ChefHat:rh,ChefHatIcon:rh,Cherry:nh,CherryIcon:nh,ChevronDown:Fi,ChevronDownCircle:Jr,ChevronDownCircleIcon:Jr,ChevronDownIcon:Fi,ChevronDownSquare:Do,ChevronDownSquareIcon:Do,ChevronFirst:oh,ChevronFirstIcon:oh,ChevronLast:ih,ChevronLastIcon:ih,ChevronLeft:Ei,ChevronLeftCircle:Yr,ChevronLeftCircleIcon:Yr,ChevronLeftIcon:Ei,ChevronLeftSquare:zo,ChevronLeftSquareIcon:zo,ChevronRight:Ja,ChevronRightCircle:Kr,ChevronRightCircleIcon:Kr,ChevronRightIcon:Ja,ChevronRightSquare:Fo,ChevronRightSquareIcon:Fo,ChevronUp:yc,ChevronUpCircle:Qr,ChevronUpCircleIcon:Qr,ChevronUpIcon:yc,ChevronUpSquare:Eo,ChevronUpSquareIcon:Eo,ChevronsDown:ch,ChevronsDownIcon:ch,ChevronsDownUp:sh,ChevronsDownUpIcon:sh,ChevronsLeft:hh,ChevronsLeftIcon:hh,ChevronsLeftRight:dh,ChevronsLeftRightEllipsis:lh,ChevronsLeftRightEllipsisIcon:lh,ChevronsLeftRightIcon:dh,ChevronsRight:ph,ChevronsRightIcon:ph,ChevronsRightLeft:uh,ChevronsRightLeftIcon:uh,ChevronsUp:mh,ChevronsUpDown:yh,ChevronsUpDownIcon:yh,ChevronsUpIcon:mh,Chrome:fh,ChromeIcon:fh,Church:xh,ChurchIcon:xh,Cigarette:gh,CigaretteIcon:gh,CigaretteOff:kh,CigaretteOffIcon:kh,Circle:Ah,CircleAlert:Jt,CircleAlertIcon:Jt,CircleArrowDown:Hr,CircleArrowDownIcon:Hr,CircleArrowLeft:Vr,CircleArrowLeftIcon:Vr,CircleArrowOutDownLeft:Br,CircleArrowOutDownLeftIcon:Br,CircleArrowOutDownRight:Ur,CircleArrowOutDownRightIcon:Ur,CircleArrowOutUpLeft:$r,CircleArrowOutUpLeftIcon:$r,CircleArrowOutUpRight:Gr,CircleArrowOutUpRightIcon:Gr,CircleArrowRight:Wr,CircleArrowRightIcon:Wr,CircleArrowUp:Zr,CircleArrowUpIcon:Zr,CircleCheck:Xr,CircleCheckBig:St,CircleCheckBigIcon:St,CircleCheckIcon:Xr,CircleChevronDown:Jr,CircleChevronDownIcon:Jr,CircleChevronLeft:Yr,CircleChevronLeftIcon:Yr,CircleChevronRight:Kr,CircleChevronRightIcon:Kr,CircleChevronUp:Qr,CircleChevronUpIcon:Qr,CircleDashed:vh,CircleDashedIcon:vh,CircleDivide:en,CircleDivideIcon:en,CircleDollarSign:wh,CircleDollarSignIcon:wh,CircleDot:bh,CircleDotDashed:Mh,CircleDotDashedIcon:Mh,CircleDotIcon:bh,CircleEllipsis:Ch,CircleEllipsisIcon:Ch,CircleEqual:jh,CircleEqualIcon:jh,CircleFadingArrowUp:Sh,CircleFadingArrowUpIcon:Sh,CircleFadingPlus:Lh,CircleFadingPlusIcon:Lh,CircleGauge:tn,CircleGaugeIcon:tn,CircleHelp:$a,CircleHelpIcon:$a,CircleIcon:Ah,CircleMinus:an,CircleMinusIcon:an,CircleOff:Ih,CircleOffIcon:Ih,CircleParking:nn,CircleParkingIcon:nn,CircleParkingOff:rn,CircleParkingOffIcon:rn,CirclePause:on,CirclePauseIcon:on,CirclePercent:sn,CirclePercentIcon:sn,CirclePlay:cn,CirclePlayIcon:cn,CirclePlus:ln,CirclePlusIcon:ln,CirclePower:dn,CirclePowerIcon:dn,CircleSlash:Nh,CircleSlash2:hn,CircleSlash2Icon:hn,CircleSlashIcon:Nh,CircleSlashed:hn,CircleSlashedIcon:hn,CircleStop:un,CircleStopIcon:un,CircleUser:yn,CircleUserIcon:yn,CircleUserRound:pn,CircleUserRoundIcon:pn,CircleX:ca,CircleXIcon:ca,CircuitBoard:Ph,CircuitBoardIcon:Ph,Citrus:_h,CitrusIcon:_h,Clapperboard:Rh,ClapperboardIcon:Rh,Clipboard:Vh,ClipboardCheck:Th,ClipboardCheckIcon:Th,ClipboardCopy:qh,ClipboardCopyIcon:qh,ClipboardEdit:fn,ClipboardEditIcon:fn,ClipboardIcon:Vh,ClipboardList:Dh,ClipboardListIcon:Dh,ClipboardMinus:zh,ClipboardMinusIcon:zh,ClipboardPaste:Fh,ClipboardPasteIcon:Fh,ClipboardPen:fn,ClipboardPenIcon:fn,ClipboardPenLine:mn,ClipboardPenLineIcon:mn,ClipboardPlus:Eh,ClipboardPlusIcon:Eh,ClipboardSignature:mn,ClipboardSignatureIcon:mn,ClipboardType:Oh,ClipboardTypeIcon:Oh,ClipboardX:Hh,ClipboardXIcon:Hh,Clock:Kt,Clock1:Bh,Clock10:Uh,Clock10Icon:Uh,Clock11:$h,Clock11Icon:$h,Clock12:Gh,Clock12Icon:Gh,Clock1Icon:Bh,Clock2:Wh,Clock2Icon:Wh,Clock3:Zh,Clock3Icon:Zh,Clock4:Xh,Clock4Icon:Xh,Clock5:Jh,Clock5Icon:Jh,Clock6:Yh,Clock6Icon:Yh,Clock7:Kh,Clock7Icon:Kh,Clock8:Qh,Clock8Icon:Qh,Clock9:eu,Clock9Icon:eu,ClockAlert:tu,ClockAlertIcon:tu,ClockArrowDown:au,ClockArrowDownIcon:au,ClockArrowUp:ru,ClockArrowUpIcon:ru,ClockIcon:Kt,Cloud:xu,CloudCog:nu,CloudCogIcon:nu,CloudDownload:xn,CloudDownloadIcon:xn,CloudDrizzle:ou,CloudDrizzleIcon:ou,CloudFog:iu,CloudFogIcon:iu,CloudHail:su,CloudHailIcon:su,CloudIcon:xu,CloudLightning:cu,CloudLightningIcon:cu,CloudMoon:du,CloudMoonIcon:du,CloudMoonRain:lu,CloudMoonRainIcon:lu,CloudOff:hu,CloudOffIcon:hu,CloudRain:pu,CloudRainIcon:pu,CloudRainWind:uu,CloudRainWindIcon:uu,CloudSnow:yu,CloudSnowIcon:yu,CloudSun:fu,CloudSunIcon:fu,CloudSunRain:mu,CloudSunRainIcon:mu,CloudUpload:kn,CloudUploadIcon:kn,Cloudy:ku,CloudyIcon:ku,Clover:gu,CloverIcon:gu,Club:vu,ClubIcon:vu,Code:wu,Code2:gn,Code2Icon:gn,CodeIcon:wu,CodeSquare:Oo,CodeSquareIcon:Oo,CodeXml:gn,CodeXmlIcon:gn,Codepen:Mu,CodepenIcon:Mu,Codesandbox:bu,CodesandboxIcon:bu,Coffee:Cu,CoffeeIcon:Cu,Cog:ju,CogIcon:ju,Coins:Su,CoinsIcon:Su,Columns:vn,Columns2:vn,Columns2Icon:vn,Columns3:wn,Columns3Icon:wn,Columns4:Lu,Columns4Icon:Lu,ColumnsIcon:vn,Combine:Iu,CombineIcon:Iu,Command:Nu,CommandIcon:Nu,Compass:Au,CompassIcon:Au,Component:Pu,ComponentIcon:Pu,Computer:_u,ComputerIcon:_u,ConciergeBell:Ru,ConciergeBellIcon:Ru,Cone:Tu,ConeIcon:Tu,Construction:qu,ConstructionIcon:qu,Contact:Du,Contact2:Mn,Contact2Icon:Mn,ContactIcon:Du,ContactRound:Mn,ContactRoundIcon:Mn,Container:zu,ContainerIcon:zu,Contrast:Fu,ContrastIcon:Fu,Cookie:Eu,CookieIcon:Eu,CookingPot:Ou,CookingPotIcon:Ou,Copy:Gu,CopyCheck:Hu,CopyCheckIcon:Hu,CopyIcon:Gu,CopyMinus:Vu,CopyMinusIcon:Vu,CopyPlus:Bu,CopyPlusIcon:Bu,CopySlash:Uu,CopySlashIcon:Uu,CopyX:$u,CopyXIcon:$u,Copyleft:Wu,CopyleftIcon:Wu,Copyright:Zu,CopyrightIcon:Zu,CornerDownLeft:Xu,CornerDownLeftIcon:Xu,CornerDownRight:Ju,CornerDownRightIcon:Ju,CornerLeftDown:Yu,CornerLeftDownIcon:Yu,CornerLeftUp:Ku,CornerLeftUpIcon:Ku,CornerRightDown:Qu,CornerRightDownIcon:Qu,CornerRightUp:ep,CornerRightUpIcon:ep,CornerUpLeft:tp,CornerUpLeftIcon:tp,CornerUpRight:ap,CornerUpRightIcon:ap,Cpu:rp,CpuIcon:rp,CreativeCommons:np,CreativeCommonsIcon:np,CreditCard:mc,CreditCardIcon:mc,Croissant:op,CroissantIcon:op,Crop:ip,CropIcon:ip,Cross:sp,CrossIcon:sp,Crosshair:cp,CrosshairIcon:cp,Crown:lp,CrownIcon:lp,Cuboid:dp,CuboidIcon:dp,CupSoda:hp,CupSodaIcon:hp,CurlyBraces:Lr,CurlyBracesIcon:Lr,Currency:up,CurrencyIcon:up,Cylinder:pp,CylinderIcon:pp,Dam:yp,DamIcon:yp,Database:xp,DatabaseBackup:mp,DatabaseBackupIcon:mp,DatabaseIcon:xp,DatabaseZap:fp,DatabaseZapIcon:fp,Delete:kp,DeleteIcon:kp,Dessert:gp,DessertIcon:gp,Diameter:vp,DiameterIcon:vp,Diamond:bp,DiamondIcon:bp,DiamondMinus:wp,DiamondMinusIcon:wp,DiamondPercent:bn,DiamondPercentIcon:bn,DiamondPlus:Mp,DiamondPlusIcon:Mp,Dice1:Cp,Dice1Icon:Cp,Dice2:jp,Dice2Icon:jp,Dice3:Sp,Dice3Icon:Sp,Dice4:Lp,Dice4Icon:Lp,Dice5:Ip,Dice5Icon:Ip,Dice6:Np,Dice6Icon:Np,Dices:Ap,DicesIcon:Ap,Diff:Pp,DiffIcon:Pp,Disc:qp,Disc2:_p,Disc2Icon:_p,Disc3:Rp,Disc3Icon:Rp,DiscAlbum:Tp,DiscAlbumIcon:Tp,DiscIcon:qp,Divide:Dp,DivideCircle:en,DivideCircleIcon:en,DivideIcon:Dp,DivideSquare:Uo,DivideSquareIcon:Uo,Dna:Fp,DnaIcon:Fp,DnaOff:zp,DnaOffIcon:zp,Dock:Ep,DockIcon:Ep,Dog:Op,DogIcon:Op,DollarSign:fc,DollarSignIcon:fc,Donut:Hp,DonutIcon:Hp,DoorClosed:Vp,DoorClosedIcon:Vp,DoorOpen:Bp,DoorOpenIcon:Bp,Dot:Up,DotIcon:Up,DotSquare:$o,DotSquareIcon:$o,Download:$p,DownloadCloud:xn,DownloadCloudIcon:xn,DownloadIcon:$p,DraftingCompass:Gp,DraftingCompassIcon:Gp,Drama:Wp,DramaIcon:Wp,Dribbble:Zp,DribbbleIcon:Zp,Drill:Xp,DrillIcon:Xp,Droplet:Jp,DropletIcon:Jp,Droplets:Yp,DropletsIcon:Yp,Drum:Kp,DrumIcon:Kp,Drumstick:Qp,DrumstickIcon:Qp,Dumbbell:ey,DumbbellIcon:ey,Ear:ay,EarIcon:ay,EarOff:ty,EarOffIcon:ty,Earth:Cn,EarthIcon:Cn,EarthLock:ry,EarthLockIcon:ry,Eclipse:ny,EclipseIcon:ny,Edit:bt,Edit2:lo,Edit2Icon:lo,Edit3:co,Edit3Icon:co,EditIcon:bt,Egg:sy,EggFried:oy,EggFriedIcon:oy,EggIcon:sy,EggOff:iy,EggOffIcon:iy,Ellipsis:Sn,EllipsisIcon:Sn,EllipsisVertical:jn,EllipsisVerticalIcon:jn,Equal:ly,EqualIcon:ly,EqualNot:cy,EqualNotIcon:cy,EqualSquare:Go,EqualSquareIcon:Go,Eraser:dy,EraserIcon:dy,EthernetPort:hy,EthernetPortIcon:hy,Euro:uy,EuroIcon:uy,Expand:py,ExpandIcon:py,ExternalLink:Oi,ExternalLinkIcon:Oi,Eye:xc,EyeClosed:yy,EyeClosedIcon:yy,EyeIcon:xc,EyeOff:my,EyeOffIcon:my,Facebook:fy,FacebookIcon:fy,Factory:xy,FactoryIcon:xy,Fan:ky,FanIcon:ky,FastForward:gy,FastForwardIcon:gy,Feather:vy,FeatherIcon:vy,Fence:wy,FenceIcon:wy,FerrisWheel:My,FerrisWheelIcon:My,Figma:by,FigmaIcon:by,File:vm,FileArchive:Cy,FileArchiveIcon:Cy,FileAudio:Sy,FileAudio2:jy,FileAudio2Icon:jy,FileAudioIcon:Sy,FileAxis3D:Ln,FileAxis3DIcon:Ln,FileAxis3d:Ln,FileAxis3dIcon:Ln,FileBadge:Iy,FileBadge2:Ly,FileBadge2Icon:Ly,FileBadgeIcon:Iy,FileBarChart:In,FileBarChart2:Nn,FileBarChart2Icon:Nn,FileBarChartIcon:In,FileBox:Ny,FileBoxIcon:Ny,FileChartColumn:Nn,FileChartColumnIcon:Nn,FileChartColumnIncreasing:In,FileChartColumnIncreasingIcon:In,FileChartLine:An,FileChartLineIcon:An,FileChartPie:Pn,FileChartPieIcon:Pn,FileCheck:Py,FileCheck2:Ay,FileCheck2Icon:Ay,FileCheckIcon:Py,FileClock:_y,FileClockIcon:_y,FileCode:Ty,FileCode2:Ry,FileCode2Icon:Ry,FileCodeIcon:Ty,FileCog:_n,FileCog2:_n,FileCog2Icon:_n,FileCogIcon:_n,FileDiff:qy,FileDiffIcon:qy,FileDigit:Dy,FileDigitIcon:Dy,FileDown:zy,FileDownIcon:zy,FileEdit:Tn,FileEditIcon:Tn,FileHeart:Fy,FileHeartIcon:Fy,FileIcon:vm,FileImage:Ey,FileImageIcon:Ey,FileInput:Oy,FileInputIcon:Oy,FileJson:Vy,FileJson2:Hy,FileJson2Icon:Hy,FileJsonIcon:Vy,FileKey:Uy,FileKey2:By,FileKey2Icon:By,FileKeyIcon:Uy,FileLineChart:An,FileLineChartIcon:An,FileLock:Gy,FileLock2:$y,FileLock2Icon:$y,FileLockIcon:Gy,FileMinus:Zy,FileMinus2:Wy,FileMinus2Icon:Wy,FileMinusIcon:Zy,FileMusic:Xy,FileMusicIcon:Xy,FileOutput:Jy,FileOutputIcon:Jy,FilePen:Tn,FilePenIcon:Tn,FilePenLine:Rn,FilePenLineIcon:Rn,FilePieChart:Pn,FilePieChartIcon:Pn,FilePlus:Ky,FilePlus2:Yy,FilePlus2Icon:Yy,FilePlusIcon:Ky,FileQuestion:Qy,FileQuestionIcon:Qy,FileScan:em,FileScanIcon:em,FileSearch:am,FileSearch2:tm,FileSearch2Icon:tm,FileSearchIcon:am,FileSignature:Rn,FileSignatureIcon:Rn,FileSliders:rm,FileSlidersIcon:rm,FileSpreadsheet:nm,FileSpreadsheetIcon:nm,FileStack:om,FileStackIcon:om,FileSymlink:im,FileSymlinkIcon:im,FileTerminal:sm,FileTerminalIcon:sm,FileText:cm,FileTextIcon:cm,FileType:dm,FileType2:lm,FileType2Icon:lm,FileTypeIcon:dm,FileUp:hm,FileUpIcon:hm,FileUser:um,FileUserIcon:um,FileVideo:ym,FileVideo2:pm,FileVideo2Icon:pm,FileVideoIcon:ym,FileVolume:fm,FileVolume2:mm,FileVolume2Icon:mm,FileVolumeIcon:fm,FileWarning:xm,FileWarningIcon:xm,FileX:gm,FileX2:km,FileX2Icon:km,FileXIcon:gm,Files:wm,FilesIcon:wm,Film:Mm,FilmIcon:Mm,Filter:ws,FilterIcon:ws,FilterX:bm,FilterXIcon:bm,Fingerprint:Cm,FingerprintIcon:Cm,FireExtinguisher:jm,FireExtinguisherIcon:jm,Fish:Im,FishIcon:Im,FishOff:Sm,FishOffIcon:Sm,FishSymbol:Lm,FishSymbolIcon:Lm,Flag:kc,FlagIcon:kc,FlagOff:Nm,FlagOffIcon:Nm,FlagTriangleLeft:Am,FlagTriangleLeftIcon:Am,FlagTriangleRight:Pm,FlagTriangleRightIcon:Pm,Flame:Rm,FlameIcon:Rm,FlameKindling:_m,FlameKindlingIcon:_m,Flashlight:qm,FlashlightIcon:qm,FlashlightOff:Tm,FlashlightOffIcon:Tm,FlaskConical:zm,FlaskConicalIcon:zm,FlaskConicalOff:Dm,FlaskConicalOffIcon:Dm,FlaskRound:Fm,FlaskRoundIcon:Fm,FlipHorizontal:Om,FlipHorizontal2:Em,FlipHorizontal2Icon:Em,FlipHorizontalIcon:Om,FlipVertical:Vm,FlipVertical2:Hm,FlipVertical2Icon:Hm,FlipVerticalIcon:Vm,Flower:Um,Flower2:Bm,Flower2Icon:Bm,FlowerIcon:Um,Focus:$m,FocusIcon:$m,FoldHorizontal:Gm,FoldHorizontalIcon:Gm,FoldVertical:Wm,FoldVerticalIcon:Wm,Folder:Mf,FolderArchive:Zm,FolderArchiveIcon:Zm,FolderCheck:Xm,FolderCheckIcon:Xm,FolderClock:Jm,FolderClockIcon:Jm,FolderClosed:Ym,FolderClosedIcon:Ym,FolderCode:Km,FolderCodeIcon:Km,FolderCog:qn,FolderCog2:qn,FolderCog2Icon:qn,FolderCogIcon:qn,FolderDot:Qm,FolderDotIcon:Qm,FolderDown:ef,FolderDownIcon:ef,FolderEdit:Dn,FolderEditIcon:Dn,FolderGit:af,FolderGit2:tf,FolderGit2Icon:tf,FolderGitIcon:af,FolderHeart:rf,FolderHeartIcon:rf,FolderIcon:Mf,FolderInput:nf,FolderInputIcon:nf,FolderKanban:of,FolderKanbanIcon:of,FolderKey:sf,FolderKeyIcon:sf,FolderLock:cf,FolderLockIcon:cf,FolderMinus:lf,FolderMinusIcon:lf,FolderOpen:hf,FolderOpenDot:df,FolderOpenDotIcon:df,FolderOpenIcon:hf,FolderOutput:uf,FolderOutputIcon:uf,FolderPen:Dn,FolderPenIcon:Dn,FolderPlus:pf,FolderPlusIcon:pf,FolderRoot:yf,FolderRootIcon:yf,FolderSearch:ff,FolderSearch2:mf,FolderSearch2Icon:mf,FolderSearchIcon:ff,FolderSymlink:xf,FolderSymlinkIcon:xf,FolderSync:kf,FolderSyncIcon:kf,FolderTree:gf,FolderTreeIcon:gf,FolderUp:vf,FolderUpIcon:vf,FolderX:wf,FolderXIcon:wf,Folders:bf,FoldersIcon:bf,Footprints:Cf,FootprintsIcon:Cf,ForkKnife:_i,ForkKnifeCrossed:Pi,ForkKnifeCrossedIcon:Pi,ForkKnifeIcon:_i,Forklift:jf,ForkliftIcon:jf,FormInput:uo,FormInputIcon:uo,Forward:Sf,ForwardIcon:Sf,Frame:Lf,FrameIcon:Lf,Framer:If,FramerIcon:If,Frown:Nf,FrownIcon:Nf,Fuel:Af,FuelIcon:Af,Fullscreen:Pf,FullscreenIcon:Pf,FunctionSquare:Wo,FunctionSquareIcon:Wo,GalleryHorizontal:Rf,GalleryHorizontalEnd:_f,GalleryHorizontalEndIcon:_f,GalleryHorizontalIcon:Rf,GalleryThumbnails:Tf,GalleryThumbnailsIcon:Tf,GalleryVertical:Df,GalleryVerticalEnd:qf,GalleryVerticalEndIcon:qf,GalleryVerticalIcon:Df,Gamepad:Ff,Gamepad2:zf,Gamepad2Icon:zf,GamepadIcon:Ff,GanttChart:Fr,GanttChartIcon:Fr,GanttChartSquare:ia,GanttChartSquareIcon:ia,Gauge:Ef,GaugeCircle:tn,GaugeCircleIcon:tn,GaugeIcon:Ef,Gavel:Of,GavelIcon:Of,Gem:Hf,GemIcon:Hf,Ghost:Vf,GhostIcon:Vf,Gift:Bf,GiftIcon:Bf,GitBranch:$f,GitBranchIcon:$f,GitBranchPlus:Uf,GitBranchPlusIcon:Uf,GitCommit:zn,GitCommitHorizontal:zn,GitCommitHorizontalIcon:zn,GitCommitIcon:zn,GitCommitVertical:Gf,GitCommitVerticalIcon:Gf,GitCompare:Zf,GitCompareArrows:Wf,GitCompareArrowsIcon:Wf,GitCompareIcon:Zf,GitFork:Xf,GitForkIcon:Xf,GitGraph:Jf,GitGraphIcon:Jf,GitMerge:Yf,GitMergeIcon:Yf,GitPullRequest:r4,GitPullRequestArrow:Kf,GitPullRequestArrowIcon:Kf,GitPullRequestClosed:Qf,GitPullRequestClosedIcon:Qf,GitPullRequestCreate:t4,GitPullRequestCreateArrow:e4,GitPullRequestCreateArrowIcon:e4,GitPullRequestCreateIcon:t4,GitPullRequestDraft:a4,GitPullRequestDraftIcon:a4,GitPullRequestIcon:r4,Github:n4,GithubIcon:n4,Gitlab:o4,GitlabIcon:o4,GlassWater:i4,GlassWaterIcon:i4,Glasses:s4,GlassesIcon:s4,Globe:Ms,Globe2:Cn,Globe2Icon:Cn,GlobeIcon:Ms,GlobeLock:c4,GlobeLockIcon:c4,Goal:l4,GoalIcon:l4,Grab:d4,GrabIcon:d4,GraduationCap:bs,GraduationCapIcon:bs,Grape:h4,GrapeIcon:h4,Grid:Zt,Grid2X2:Fn,Grid2X2Icon:Fn,Grid2x2:Fn,Grid2x2Check:u4,Grid2x2CheckIcon:u4,Grid2x2Icon:Fn,Grid2x2Plus:p4,Grid2x2PlusIcon:p4,Grid2x2X:y4,Grid2x2XIcon:y4,Grid3X3:Zt,Grid3X3Icon:Zt,Grid3x3:Zt,Grid3x3Icon:Zt,GridIcon:Zt,Grip:x4,GripHorizontal:m4,GripHorizontalIcon:m4,GripIcon:x4,GripVertical:f4,GripVerticalIcon:f4,Group:k4,GroupIcon:k4,Guitar:g4,GuitarIcon:g4,Ham:v4,HamIcon:v4,Hammer:w4,HammerIcon:w4,Hand:S4,HandCoins:M4,HandCoinsIcon:M4,HandHeart:b4,HandHeartIcon:b4,HandHelping:En,HandHelpingIcon:En,HandIcon:S4,HandMetal:C4,HandMetalIcon:C4,HandPlatter:j4,HandPlatterIcon:j4,Handshake:L4,HandshakeIcon:L4,HardDrive:A4,HardDriveDownload:I4,HardDriveDownloadIcon:I4,HardDriveIcon:A4,HardDriveUpload:N4,HardDriveUploadIcon:N4,HardHat:P4,HardHatIcon:P4,Hash:_4,HashIcon:_4,Haze:R4,HazeIcon:R4,HdmiPort:T4,HdmiPortIcon:T4,Heading:H4,Heading1:q4,Heading1Icon:q4,Heading2:D4,Heading2Icon:D4,Heading3:z4,Heading3Icon:z4,Heading4:F4,Heading4Icon:F4,Heading5:E4,Heading5Icon:E4,Heading6:O4,Heading6Icon:O4,HeadingIcon:H4,HeadphoneOff:V4,HeadphoneOffIcon:V4,Headphones:B4,HeadphonesIcon:B4,Headset:U4,HeadsetIcon:U4,Heart:Cs,HeartCrack:$4,HeartCrackIcon:$4,HeartHandshake:G4,HeartHandshakeIcon:G4,HeartIcon:Cs,HeartOff:W4,HeartOffIcon:W4,HeartPulse:Z4,HeartPulseIcon:Z4,Heater:X4,HeaterIcon:X4,HelpCircle:$a,HelpCircleIcon:$a,HelpingHand:En,HelpingHandIcon:En,Hexagon:J4,HexagonIcon:J4,Highlighter:Y4,HighlighterIcon:Y4,History:K4,HistoryIcon:K4,Home:ja,HomeIcon:ja,Hop:ex,HopIcon:ex,HopOff:Q4,HopOffIcon:Q4,Hospital:tx,HospitalIcon:tx,Hotel:ax,HotelIcon:ax,Hourglass:rx,HourglassIcon:rx,House:ja,HouseIcon:ja,HousePlug:nx,HousePlugIcon:nx,HousePlus:ox,HousePlusIcon:ox,IceCream:Hn,IceCream2:On,IceCream2Icon:On,IceCreamBowl:On,IceCreamBowlIcon:On,IceCreamCone:Hn,IceCreamConeIcon:Hn,IceCreamIcon:Hn,Icon:bI,IdCard:ix,IdCardIcon:ix,Image:px,ImageDown:sx,ImageDownIcon:sx,ImageIcon:px,ImageMinus:cx,ImageMinusIcon:cx,ImageOff:lx,ImageOffIcon:lx,ImagePlay:dx,ImagePlayIcon:dx,ImagePlus:hx,ImagePlusIcon:hx,ImageUp:ux,ImageUpIcon:ux,Images:yx,ImagesIcon:yx,Import:mx,ImportIcon:mx,Inbox:fx,InboxIcon:fx,Indent:Bn,IndentDecrease:Vn,IndentDecreaseIcon:Vn,IndentIcon:Bn,IndentIncrease:Bn,IndentIncreaseIcon:Bn,IndianRupee:xx,IndianRupeeIcon:xx,Infinity:kx,InfinityIcon:kx,Info:gx,InfoIcon:gx,Inspect:Qo,InspectIcon:Qo,InspectionPanel:vx,InspectionPanelIcon:vx,Instagram:wx,InstagramIcon:wx,Italic:Mx,ItalicIcon:Mx,IterationCcw:bx,IterationCcwIcon:bx,IterationCw:Cx,IterationCwIcon:Cx,JapaneseYen:jx,JapaneseYenIcon:jx,Joystick:Sx,JoystickIcon:Sx,Kanban:Lx,KanbanIcon:Lx,KanbanSquare:Zo,KanbanSquareDashed:Ho,KanbanSquareDashedIcon:Ho,KanbanSquareIcon:Zo,Key:Ax,KeyIcon:Ax,KeyRound:Ix,KeyRoundIcon:Ix,KeySquare:Nx,KeySquareIcon:Nx,Keyboard:Rx,KeyboardIcon:Rx,KeyboardMusic:Px,KeyboardMusicIcon:Px,KeyboardOff:_x,KeyboardOffIcon:_x,Lamp:Ex,LampCeiling:Tx,LampCeilingIcon:Tx,LampDesk:qx,LampDeskIcon:qx,LampFloor:Dx,LampFloorIcon:Dx,LampIcon:Ex,LampWallDown:zx,LampWallDownIcon:zx,LampWallUp:Fx,LampWallUpIcon:Fx,LandPlot:Ox,LandPlotIcon:Ox,Landmark:Hx,LandmarkIcon:Hx,Languages:Vx,LanguagesIcon:Vx,Laptop:Bx,Laptop2:Un,Laptop2Icon:Un,LaptopIcon:Bx,LaptopMinimal:Un,LaptopMinimalIcon:Un,Lasso:$x,LassoIcon:$x,LassoSelect:Ux,LassoSelectIcon:Ux,Laugh:Gx,LaughIcon:Gx,Layers:Xx,Layers2:Wx,Layers2Icon:Wx,Layers3:Zx,Layers3Icon:Zx,LayersIcon:Xx,Layout:so,LayoutDashboard:gc,LayoutDashboardIcon:gc,LayoutGrid:Jx,LayoutGridIcon:Jx,LayoutIcon:so,LayoutList:Yx,LayoutListIcon:Yx,LayoutPanelLeft:Kx,LayoutPanelLeftIcon:Kx,LayoutPanelTop:Qx,LayoutPanelTopIcon:Qx,LayoutTemplate:ek,LayoutTemplateIcon:ek,Leaf:tk,LeafIcon:tk,LeafyGreen:ak,LeafyGreenIcon:ak,Lectern:rk,LecternIcon:rk,LetterText:nk,LetterTextIcon:nk,Library:ik,LibraryBig:ok,LibraryBigIcon:ok,LibraryIcon:ik,LibrarySquare:Xo,LibrarySquareIcon:Xo,LifeBuoy:sk,LifeBuoyIcon:sk,Ligature:ck,LigatureIcon:ck,Lightbulb:dk,LightbulbIcon:dk,LightbulbOff:lk,LightbulbOffIcon:lk,LineChart:Dr,LineChartIcon:Dr,Link:vc,Link2:uk,Link2Icon:uk,Link2Off:hk,Link2OffIcon:hk,LinkIcon:vc,Linkedin:pk,LinkedinIcon:pk,List:wc,ListCheck:yk,ListCheckIcon:yk,ListChecks:mk,ListChecksIcon:mk,ListCollapse:fk,ListCollapseIcon:fk,ListEnd:xk,ListEndIcon:xk,ListFilter:kk,ListFilterIcon:kk,ListIcon:wc,ListMinus:gk,ListMinusIcon:gk,ListMusic:vk,ListMusicIcon:vk,ListOrdered:wk,ListOrderedIcon:wk,ListPlus:Mk,ListPlusIcon:Mk,ListRestart:bk,ListRestartIcon:bk,ListStart:Ck,ListStartIcon:Ck,ListTodo:jk,ListTodoIcon:jk,ListTree:Sk,ListTreeIcon:Sk,ListVideo:Lk,ListVideoIcon:Lk,ListX:Ik,ListXIcon:Ik,Loader:Ak,Loader2:$n,Loader2Icon:$n,LoaderCircle:$n,LoaderCircleIcon:$n,LoaderIcon:Ak,LoaderPinwheel:Nk,LoaderPinwheelIcon:Nk,Locate:Rk,LocateFixed:Pk,LocateFixedIcon:Pk,LocateIcon:Rk,LocateOff:_k,LocateOffIcon:_k,Lock:Mc,LockIcon:Mc,LockKeyhole:Tk,LockKeyholeIcon:Tk,LockKeyholeOpen:Gn,LockKeyholeOpenIcon:Gn,LockOpen:Wn,LockOpenIcon:Wn,LogIn:qk,LogInIcon:qk,LogOut:bc,LogOutIcon:bc,Logs:Dk,LogsIcon:Dk,Lollipop:zk,LollipopIcon:zk,LucideAArrowDown:p1,LucideAArrowUp:y1,LucideALargeSmall:m1,LucideAccessibility:f1,LucideActivity:x1,LucideActivitySquare:wo,LucideAirVent:k1,LucideAirplay:g1,LucideAlarmCheck:pr,LucideAlarmClock:w1,LucideAlarmClockCheck:pr,LucideAlarmClockMinus:yr,LucideAlarmClockOff:v1,LucideAlarmClockPlus:mr,LucideAlarmMinus:yr,LucideAlarmPlus:mr,LucideAlarmSmoke:M1,LucideAlbum:b1,LucideAlertCircle:Jt,LucideAlertOctagon:Jn,LucideAlertTriangle:wi,LucideAlignCenter:S1,LucideAlignCenterHorizontal:C1,LucideAlignCenterVertical:j1,LucideAlignEndHorizontal:L1,LucideAlignEndVertical:I1,LucideAlignHorizontalDistributeCenter:N1,LucideAlignHorizontalDistributeEnd:A1,LucideAlignHorizontalDistributeStart:P1,LucideAlignHorizontalJustifyCenter:_1,LucideAlignHorizontalJustifyEnd:R1,LucideAlignHorizontalJustifyStart:T1,LucideAlignHorizontalSpaceAround:q1,LucideAlignHorizontalSpaceBetween:D1,LucideAlignJustify:z1,LucideAlignLeft:F1,LucideAlignRight:E1,LucideAlignStartHorizontal:O1,LucideAlignStartVertical:H1,LucideAlignVerticalDistributeCenter:V1,LucideAlignVerticalDistributeEnd:B1,LucideAlignVerticalDistributeStart:U1,LucideAlignVerticalJustifyCenter:$1,LucideAlignVerticalJustifyEnd:G1,LucideAlignVerticalJustifyStart:W1,LucideAlignVerticalSpaceAround:Z1,LucideAlignVerticalSpaceBetween:X1,LucideAmbulance:J1,LucideAmpersand:Y1,LucideAmpersands:K1,LucideAmphora:Q1,LucideAnchor:el,LucideAngry:tl,LucideAnnoyed:al,LucideAntenna:rl,LucideAnvil:nl,LucideAperture:ol,LucideAppWindow:sl,LucideAppWindowMac:il,LucideApple:cl,LucideArchive:hl,LucideArchiveRestore:ll,LucideArchiveX:dl,LucideAreaChart:Nr,LucideArmchair:ul,LucideArrowBigDown:yl,LucideArrowBigDownDash:pl,LucideArrowBigLeft:fl,LucideArrowBigLeftDash:ml,LucideArrowBigRight:kl,LucideArrowBigRightDash:xl,LucideArrowBigUp:vl,LucideArrowBigUpDash:gl,LucideArrowDown:Al,LucideArrowDown01:wl,LucideArrowDown10:Ml,LucideArrowDownAZ:fr,LucideArrowDownAz:fr,LucideArrowDownCircle:Hr,LucideArrowDownFromLine:bl,LucideArrowDownLeft:Cl,LucideArrowDownLeftFromCircle:Br,LucideArrowDownLeftFromSquare:jo,LucideArrowDownLeftSquare:Mo,LucideArrowDownNarrowWide:jl,LucideArrowDownRight:Sl,LucideArrowDownRightFromCircle:Ur,LucideArrowDownRightFromSquare:So,LucideArrowDownRightSquare:bo,LucideArrowDownSquare:Co,LucideArrowDownToDot:Ll,LucideArrowDownToLine:Il,LucideArrowDownUp:Nl,LucideArrowDownWideNarrow:xr,LucideArrowDownZA:kr,LucideArrowDownZa:kr,LucideArrowLeft:zi,LucideArrowLeftCircle:Vr,LucideArrowLeftFromLine:Pl,LucideArrowLeftRight:_l,LucideArrowLeftSquare:Sa,LucideArrowLeftToLine:Rl,LucideArrowRight:xs,LucideArrowRightCircle:Wr,LucideArrowRightFromLine:Tl,LucideArrowRightLeft:ql,LucideArrowRightSquare:La,LucideArrowRightToLine:Dl,LucideArrowUp:Gl,LucideArrowUp01:zl,LucideArrowUp10:Fl,LucideArrowUpAZ:gr,LucideArrowUpAz:gr,LucideArrowUpCircle:Zr,LucideArrowUpDown:El,LucideArrowUpFromDot:Ol,LucideArrowUpFromLine:Hl,LucideArrowUpLeft:Vl,LucideArrowUpLeftFromCircle:$r,LucideArrowUpLeftFromSquare:Lo,LucideArrowUpLeftSquare:No,LucideArrowUpNarrowWide:vr,LucideArrowUpRight:Bl,LucideArrowUpRightFromCircle:Gr,LucideArrowUpRightFromSquare:Io,LucideArrowUpRightSquare:Ao,LucideArrowUpSquare:Po,LucideArrowUpToLine:Ul,LucideArrowUpWideNarrow:$l,LucideArrowUpZA:wr,LucideArrowUpZa:wr,LucideArrowsUpFromLine:Wl,LucideAsterisk:Zl,LucideAsteriskSquare:_o,LucideAtSign:Xl,LucideAtom:Jl,LucideAudioLines:Yl,LucideAudioWaveform:Kl,LucideAward:Na,LucideAxe:Ql,LucideAxis3D:Mr,LucideAxis3d:Mr,LucideBaby:ed,LucideBackpack:td,LucideBadge:xd,LucideBadgeAlert:ad,LucideBadgeCent:rd,LucideBadgeCheck:br,LucideBadgeDollarSign:nd,LucideBadgeEuro:od,LucideBadgeHelp:id,LucideBadgeIndianRupee:sd,LucideBadgeInfo:cd,LucideBadgeJapaneseYen:ld,LucideBadgeMinus:dd,LucideBadgePercent:hd,LucideBadgePlus:ud,LucideBadgePoundSterling:pd,LucideBadgeRussianRuble:yd,LucideBadgeSwissFranc:md,LucideBadgeX:fd,LucideBaggageClaim:kd,LucideBan:gd,LucideBanana:vd,LucideBandage:wd,LucideBanknote:Md,LucideBarChart:Ua,LucideBarChart2:zr,LucideBarChart3:qr,LucideBarChart4:Tr,LucideBarChartBig:Rr,LucideBarChartHorizontal:Pr,LucideBarChartHorizontalBig:Ar,LucideBarcode:bd,LucideBaseline:Cd,LucideBath:jd,LucideBattery:Pd,LucideBatteryCharging:Sd,LucideBatteryFull:Ld,LucideBatteryLow:Id,LucideBatteryMedium:Nd,LucideBatteryWarning:Ad,LucideBeaker:_d,LucideBean:Td,LucideBeanOff:Rd,LucideBed:zd,LucideBedDouble:qd,LucideBedSingle:Dd,LucideBeef:Fd,LucideBeer:Od,LucideBeerOff:Ed,LucideBell:ks,LucideBellDot:Hd,LucideBellElectric:Vd,LucideBellMinus:Bd,LucideBellOff:Ud,LucideBellPlus:$d,LucideBellRing:Gd,LucideBetweenHorizonalEnd:Cr,LucideBetweenHorizonalStart:jr,LucideBetweenHorizontalEnd:Cr,LucideBetweenHorizontalStart:jr,LucideBetweenVerticalEnd:Wd,LucideBetweenVerticalStart:Zd,LucideBicepsFlexed:Xd,LucideBike:Jd,LucideBinary:Yd,LucideBinoculars:Kd,LucideBiohazard:Qd,LucideBird:e2,LucideBitcoin:t2,LucideBlend:a2,LucideBlinds:r2,LucideBlocks:n2,LucideBluetooth:c2,LucideBluetoothConnected:o2,LucideBluetoothOff:i2,LucideBluetoothSearching:s2,LucideBold:l2,LucideBolt:d2,LucideBomb:h2,LucideBone:u2,LucideBook:T2,LucideBookA:p2,LucideBookAudio:y2,LucideBookCheck:m2,LucideBookCopy:f2,LucideBookDashed:Sr,LucideBookDown:x2,LucideBookHeadphones:k2,LucideBookHeart:g2,LucideBookImage:v2,LucideBookKey:w2,LucideBookLock:M2,LucideBookMarked:b2,LucideBookMinus:C2,LucideBookOpen:Vt,LucideBookOpenCheck:j2,LucideBookOpenText:S2,LucideBookPlus:L2,LucideBookTemplate:Sr,LucideBookText:I2,LucideBookType:N2,LucideBookUp:P2,LucideBookUp2:A2,LucideBookUser:_2,LucideBookX:R2,LucideBookmark:Xa,LucideBookmarkCheck:pa,LucideBookmarkMinus:q2,LucideBookmarkPlus:dc,LucideBookmarkX:D2,LucideBoomBox:z2,LucideBot:hc,LucideBotMessageSquare:F2,LucideBotOff:E2,LucideBox:O2,LucideBoxSelect:Bo,LucideBoxes:H2,LucideBraces:Lr,LucideBrackets:V2,LucideBrain:$2,LucideBrainCircuit:B2,LucideBrainCog:U2,LucideBrickWall:G2,LucideBriefcase:ft,LucideBriefcaseBusiness:W2,LucideBriefcaseConveyorBelt:Z2,LucideBriefcaseMedical:X2,LucideBringToFront:J2,LucideBrush:Y2,LucideBug:e0,LucideBugOff:K2,LucideBugPlay:Q2,LucideBuilding:gs,LucideBuilding2:uc,LucideBus:a0,LucideBusFront:t0,LucideCable:n0,LucideCableCar:r0,LucideCake:i0,LucideCakeSlice:o0,LucideCalculator:s0,LucideCalendar:pc,LucideCalendarArrowDown:c0,LucideCalendarArrowUp:l0,LucideCalendarCheck:h0,LucideCalendarCheck2:d0,LucideCalendarClock:u0,LucideCalendarCog:p0,LucideCalendarDays:y0,LucideCalendarFold:m0,LucideCalendarHeart:f0,LucideCalendarMinus:k0,LucideCalendarMinus2:x0,LucideCalendarOff:g0,LucideCalendarPlus:w0,LucideCalendarPlus2:v0,LucideCalendarRange:M0,LucideCalendarSearch:b0,LucideCalendarX:j0,LucideCalendarX2:C0,LucideCamera:L0,LucideCameraOff:S0,LucideCandlestickChart:_r,LucideCandy:A0,LucideCandyCane:I0,LucideCandyOff:N0,LucideCannabis:P0,LucideCaptions:Ir,LucideCaptionsOff:_0,LucideCar:q0,LucideCarFront:R0,LucideCarTaxiFront:T0,LucideCaravan:D0,LucideCarrot:z0,LucideCaseLower:F0,LucideCaseSensitive:E0,LucideCaseUpper:O0,LucideCassetteTape:H0,LucideCast:V0,LucideCastle:B0,LucideCat:U0,LucideCctv:$0,LucideChartArea:Nr,LucideChartBar:Pr,LucideChartBarBig:Ar,LucideChartBarDecreasing:G0,LucideChartBarIncreasing:W0,LucideChartBarStacked:Z0,LucideChartCandlestick:_r,LucideChartColumn:qr,LucideChartColumnBig:Rr,LucideChartColumnDecreasing:X0,LucideChartColumnIncreasing:Tr,LucideChartColumnStacked:J0,LucideChartGantt:Y0,LucideChartLine:Dr,LucideChartNetwork:K0,LucideChartNoAxesColumn:zr,LucideChartNoAxesColumnDecreasing:Q0,LucideChartNoAxesColumnIncreasing:Ua,LucideChartNoAxesCombined:eh,LucideChartNoAxesGantt:Fr,LucideChartPie:Er,LucideChartScatter:Or,LucideChartSpline:th,LucideCheck:vs,LucideCheckCheck:ah,LucideCheckCircle:St,LucideCheckCircle2:Xr,LucideCheckSquare:To,LucideCheckSquare2:qo,LucideChefHat:rh,LucideCherry:nh,LucideChevronDown:Fi,LucideChevronDownCircle:Jr,LucideChevronDownSquare:Do,LucideChevronFirst:oh,LucideChevronLast:ih,LucideChevronLeft:Ei,LucideChevronLeftCircle:Yr,LucideChevronLeftSquare:zo,LucideChevronRight:Ja,LucideChevronRightCircle:Kr,LucideChevronRightSquare:Fo,LucideChevronUp:yc,LucideChevronUpCircle:Qr,LucideChevronUpSquare:Eo,LucideChevronsDown:ch,LucideChevronsDownUp:sh,LucideChevronsLeft:hh,LucideChevronsLeftRight:dh,LucideChevronsLeftRightEllipsis:lh,LucideChevronsRight:ph,LucideChevronsRightLeft:uh,LucideChevronsUp:mh,LucideChevronsUpDown:yh,LucideChrome:fh,LucideChurch:xh,LucideCigarette:gh,LucideCigaretteOff:kh,LucideCircle:Ah,LucideCircleAlert:Jt,LucideCircleArrowDown:Hr,LucideCircleArrowLeft:Vr,LucideCircleArrowOutDownLeft:Br,LucideCircleArrowOutDownRight:Ur,LucideCircleArrowOutUpLeft:$r,LucideCircleArrowOutUpRight:Gr,LucideCircleArrowRight:Wr,LucideCircleArrowUp:Zr,LucideCircleCheck:Xr,LucideCircleCheckBig:St,LucideCircleChevronDown:Jr,LucideCircleChevronLeft:Yr,LucideCircleChevronRight:Kr,LucideCircleChevronUp:Qr,LucideCircleDashed:vh,LucideCircleDivide:en,LucideCircleDollarSign:wh,LucideCircleDot:bh,LucideCircleDotDashed:Mh,LucideCircleEllipsis:Ch,LucideCircleEqual:jh,LucideCircleFadingArrowUp:Sh,LucideCircleFadingPlus:Lh,LucideCircleGauge:tn,LucideCircleHelp:$a,LucideCircleMinus:an,LucideCircleOff:Ih,LucideCircleParking:nn,LucideCircleParkingOff:rn,LucideCirclePause:on,LucideCirclePercent:sn,LucideCirclePlay:cn,LucideCirclePlus:ln,LucideCirclePower:dn,LucideCircleSlash:Nh,LucideCircleSlash2:hn,LucideCircleSlashed:hn,LucideCircleStop:un,LucideCircleUser:yn,LucideCircleUserRound:pn,LucideCircleX:ca,LucideCircuitBoard:Ph,LucideCitrus:_h,LucideClapperboard:Rh,LucideClipboard:Vh,LucideClipboardCheck:Th,LucideClipboardCopy:qh,LucideClipboardEdit:fn,LucideClipboardList:Dh,LucideClipboardMinus:zh,LucideClipboardPaste:Fh,LucideClipboardPen:fn,LucideClipboardPenLine:mn,LucideClipboardPlus:Eh,LucideClipboardSignature:mn,LucideClipboardType:Oh,LucideClipboardX:Hh,LucideClock:Kt,LucideClock1:Bh,LucideClock10:Uh,LucideClock11:$h,LucideClock12:Gh,LucideClock2:Wh,LucideClock3:Zh,LucideClock4:Xh,LucideClock5:Jh,LucideClock6:Yh,LucideClock7:Kh,LucideClock8:Qh,LucideClock9:eu,LucideClockAlert:tu,LucideClockArrowDown:au,LucideClockArrowUp:ru,LucideCloud:xu,LucideCloudCog:nu,LucideCloudDownload:xn,LucideCloudDrizzle:ou,LucideCloudFog:iu,LucideCloudHail:su,LucideCloudLightning:cu,LucideCloudMoon:du,LucideCloudMoonRain:lu,LucideCloudOff:hu,LucideCloudRain:pu,LucideCloudRainWind:uu,LucideCloudSnow:yu,LucideCloudSun:fu,LucideCloudSunRain:mu,LucideCloudUpload:kn,LucideCloudy:ku,LucideClover:gu,LucideClub:vu,LucideCode:wu,LucideCode2:gn,LucideCodeSquare:Oo,LucideCodeXml:gn,LucideCodepen:Mu,LucideCodesandbox:bu,LucideCoffee:Cu,LucideCog:ju,LucideCoins:Su,LucideColumns:vn,LucideColumns2:vn,LucideColumns3:wn,LucideColumns4:Lu,LucideCombine:Iu,LucideCommand:Nu,LucideCompass:Au,LucideComponent:Pu,LucideComputer:_u,LucideConciergeBell:Ru,LucideCone:Tu,LucideConstruction:qu,LucideContact:Du,LucideContact2:Mn,LucideContactRound:Mn,LucideContainer:zu,LucideContrast:Fu,LucideCookie:Eu,LucideCookingPot:Ou,LucideCopy:Gu,LucideCopyCheck:Hu,LucideCopyMinus:Vu,LucideCopyPlus:Bu,LucideCopySlash:Uu,LucideCopyX:$u,LucideCopyleft:Wu,LucideCopyright:Zu,LucideCornerDownLeft:Xu,LucideCornerDownRight:Ju,LucideCornerLeftDown:Yu,LucideCornerLeftUp:Ku,LucideCornerRightDown:Qu,LucideCornerRightUp:ep,LucideCornerUpLeft:tp,LucideCornerUpRight:ap,LucideCpu:rp,LucideCreativeCommons:np,LucideCreditCard:mc,LucideCroissant:op,LucideCrop:ip,LucideCross:sp,LucideCrosshair:cp,LucideCrown:lp,LucideCuboid:dp,LucideCupSoda:hp,LucideCurlyBraces:Lr,LucideCurrency:up,LucideCylinder:pp,LucideDam:yp,LucideDatabase:xp,LucideDatabaseBackup:mp,LucideDatabaseZap:fp,LucideDelete:kp,LucideDessert:gp,LucideDiameter:vp,LucideDiamond:bp,LucideDiamondMinus:wp,LucideDiamondPercent:bn,LucideDiamondPlus:Mp,LucideDice1:Cp,LucideDice2:jp,LucideDice3:Sp,LucideDice4:Lp,LucideDice5:Ip,LucideDice6:Np,LucideDices:Ap,LucideDiff:Pp,LucideDisc:qp,LucideDisc2:_p,LucideDisc3:Rp,LucideDiscAlbum:Tp,LucideDivide:Dp,LucideDivideCircle:en,LucideDivideSquare:Uo,LucideDna:Fp,LucideDnaOff:zp,LucideDock:Ep,LucideDog:Op,LucideDollarSign:fc,LucideDonut:Hp,LucideDoorClosed:Vp,LucideDoorOpen:Bp,LucideDot:Up,LucideDotSquare:$o,LucideDownload:$p,LucideDownloadCloud:xn,LucideDraftingCompass:Gp,LucideDrama:Wp,LucideDribbble:Zp,LucideDrill:Xp,LucideDroplet:Jp,LucideDroplets:Yp,LucideDrum:Kp,LucideDrumstick:Qp,LucideDumbbell:ey,LucideEar:ay,LucideEarOff:ty,LucideEarth:Cn,LucideEarthLock:ry,LucideEclipse:ny,LucideEdit:bt,LucideEdit2:lo,LucideEdit3:co,LucideEgg:sy,LucideEggFried:oy,LucideEggOff:iy,LucideEllipsis:Sn,LucideEllipsisVertical:jn,LucideEqual:ly,LucideEqualNot:cy,LucideEqualSquare:Go,LucideEraser:dy,LucideEthernetPort:hy,LucideEuro:uy,LucideExpand:py,LucideExternalLink:Oi,LucideEye:xc,LucideEyeClosed:yy,LucideEyeOff:my,LucideFacebook:fy,LucideFactory:xy,LucideFan:ky,LucideFastForward:gy,LucideFeather:vy,LucideFence:wy,LucideFerrisWheel:My,LucideFigma:by,LucideFile:vm,LucideFileArchive:Cy,LucideFileAudio:Sy,LucideFileAudio2:jy,LucideFileAxis3D:Ln,LucideFileAxis3d:Ln,LucideFileBadge:Iy,LucideFileBadge2:Ly,LucideFileBarChart:In,LucideFileBarChart2:Nn,LucideFileBox:Ny,LucideFileChartColumn:Nn,LucideFileChartColumnIncreasing:In,LucideFileChartLine:An,LucideFileChartPie:Pn,LucideFileCheck:Py,LucideFileCheck2:Ay,LucideFileClock:_y,LucideFileCode:Ty,LucideFileCode2:Ry,LucideFileCog:_n,LucideFileCog2:_n,LucideFileDiff:qy,LucideFileDigit:Dy,LucideFileDown:zy,LucideFileEdit:Tn,LucideFileHeart:Fy,LucideFileImage:Ey,LucideFileInput:Oy,LucideFileJson:Vy,LucideFileJson2:Hy,LucideFileKey:Uy,LucideFileKey2:By,LucideFileLineChart:An,LucideFileLock:Gy,LucideFileLock2:$y,LucideFileMinus:Zy,LucideFileMinus2:Wy,LucideFileMusic:Xy,LucideFileOutput:Jy,LucideFilePen:Tn,LucideFilePenLine:Rn,LucideFilePieChart:Pn,LucideFilePlus:Ky,LucideFilePlus2:Yy,LucideFileQuestion:Qy,LucideFileScan:em,LucideFileSearch:am,LucideFileSearch2:tm,LucideFileSignature:Rn,LucideFileSliders:rm,LucideFileSpreadsheet:nm,LucideFileStack:om,LucideFileSymlink:im,LucideFileTerminal:sm,LucideFileText:cm,LucideFileType:dm,LucideFileType2:lm,LucideFileUp:hm,LucideFileUser:um,LucideFileVideo:ym,LucideFileVideo2:pm,LucideFileVolume:fm,LucideFileVolume2:mm,LucideFileWarning:xm,LucideFileX:gm,LucideFileX2:km,LucideFiles:wm,LucideFilm:Mm,LucideFilter:ws,LucideFilterX:bm,LucideFingerprint:Cm,LucideFireExtinguisher:jm,LucideFish:Im,LucideFishOff:Sm,LucideFishSymbol:Lm,LucideFlag:kc,LucideFlagOff:Nm,LucideFlagTriangleLeft:Am,LucideFlagTriangleRight:Pm,LucideFlame:Rm,LucideFlameKindling:_m,LucideFlashlight:qm,LucideFlashlightOff:Tm,LucideFlaskConical:zm,LucideFlaskConicalOff:Dm,LucideFlaskRound:Fm,LucideFlipHorizontal:Om,LucideFlipHorizontal2:Em,LucideFlipVertical:Vm,LucideFlipVertical2:Hm,LucideFlower:Um,LucideFlower2:Bm,LucideFocus:$m,LucideFoldHorizontal:Gm,LucideFoldVertical:Wm,LucideFolder:Mf,LucideFolderArchive:Zm,LucideFolderCheck:Xm,LucideFolderClock:Jm,LucideFolderClosed:Ym,LucideFolderCode:Km,LucideFolderCog:qn,LucideFolderCog2:qn,LucideFolderDot:Qm,LucideFolderDown:ef,LucideFolderEdit:Dn,LucideFolderGit:af,LucideFolderGit2:tf,LucideFolderHeart:rf,LucideFolderInput:nf,LucideFolderKanban:of,LucideFolderKey:sf,LucideFolderLock:cf,LucideFolderMinus:lf,LucideFolderOpen:hf,LucideFolderOpenDot:df,LucideFolderOutput:uf,LucideFolderPen:Dn,LucideFolderPlus:pf,LucideFolderRoot:yf,LucideFolderSearch:ff,LucideFolderSearch2:mf,LucideFolderSymlink:xf,LucideFolderSync:kf,LucideFolderTree:gf,LucideFolderUp:vf,LucideFolderX:wf,LucideFolders:bf,LucideFootprints:Cf,LucideForkKnife:_i,LucideForkKnifeCrossed:Pi,LucideForklift:jf,LucideFormInput:uo,LucideForward:Sf,LucideFrame:Lf,LucideFramer:If,LucideFrown:Nf,LucideFuel:Af,LucideFullscreen:Pf,LucideFunctionSquare:Wo,LucideGalleryHorizontal:Rf,LucideGalleryHorizontalEnd:_f,LucideGalleryThumbnails:Tf,LucideGalleryVertical:Df,LucideGalleryVerticalEnd:qf,LucideGamepad:Ff,LucideGamepad2:zf,LucideGanttChart:Fr,LucideGanttChartSquare:ia,LucideGauge:Ef,LucideGaugeCircle:tn,LucideGavel:Of,LucideGem:Hf,LucideGhost:Vf,LucideGift:Bf,LucideGitBranch:$f,LucideGitBranchPlus:Uf,LucideGitCommit:zn,LucideGitCommitHorizontal:zn,LucideGitCommitVertical:Gf,LucideGitCompare:Zf,LucideGitCompareArrows:Wf,LucideGitFork:Xf,LucideGitGraph:Jf,LucideGitMerge:Yf,LucideGitPullRequest:r4,LucideGitPullRequestArrow:Kf,LucideGitPullRequestClosed:Qf,LucideGitPullRequestCreate:t4,LucideGitPullRequestCreateArrow:e4,LucideGitPullRequestDraft:a4,LucideGithub:n4,LucideGitlab:o4,LucideGlassWater:i4,LucideGlasses:s4,LucideGlobe:Ms,LucideGlobe2:Cn,LucideGlobeLock:c4,LucideGoal:l4,LucideGrab:d4,LucideGraduationCap:bs,LucideGrape:h4,LucideGrid:Zt,LucideGrid2X2:Fn,LucideGrid2x2:Fn,LucideGrid2x2Check:u4,LucideGrid2x2Plus:p4,LucideGrid2x2X:y4,LucideGrid3X3:Zt,LucideGrid3x3:Zt,LucideGrip:x4,LucideGripHorizontal:m4,LucideGripVertical:f4,LucideGroup:k4,LucideGuitar:g4,LucideHam:v4,LucideHammer:w4,LucideHand:S4,LucideHandCoins:M4,LucideHandHeart:b4,LucideHandHelping:En,LucideHandMetal:C4,LucideHandPlatter:j4,LucideHandshake:L4,LucideHardDrive:A4,LucideHardDriveDownload:I4,LucideHardDriveUpload:N4,LucideHardHat:P4,LucideHash:_4,LucideHaze:R4,LucideHdmiPort:T4,LucideHeading:H4,LucideHeading1:q4,LucideHeading2:D4,LucideHeading3:z4,LucideHeading4:F4,LucideHeading5:E4,LucideHeading6:O4,LucideHeadphoneOff:V4,LucideHeadphones:B4,LucideHeadset:U4,LucideHeart:Cs,LucideHeartCrack:$4,LucideHeartHandshake:G4,LucideHeartOff:W4,LucideHeartPulse:Z4,LucideHeater:X4,LucideHelpCircle:$a,LucideHelpingHand:En,LucideHexagon:J4,LucideHighlighter:Y4,LucideHistory:K4,LucideHome:ja,LucideHop:ex,LucideHopOff:Q4,LucideHospital:tx,LucideHotel:ax,LucideHourglass:rx,LucideHouse:ja,LucideHousePlug:nx,LucideHousePlus:ox,LucideIceCream:Hn,LucideIceCream2:On,LucideIceCreamBowl:On,LucideIceCreamCone:Hn,LucideIdCard:ix,LucideImage:px,LucideImageDown:sx,LucideImageMinus:cx,LucideImageOff:lx,LucideImagePlay:dx,LucideImagePlus:hx,LucideImageUp:ux,LucideImages:yx,LucideImport:mx,LucideInbox:fx,LucideIndent:Bn,LucideIndentDecrease:Vn,LucideIndentIncrease:Bn,LucideIndianRupee:xx,LucideInfinity:kx,LucideInfo:gx,LucideInspect:Qo,LucideInspectionPanel:vx,LucideInstagram:wx,LucideItalic:Mx,LucideIterationCcw:bx,LucideIterationCw:Cx,LucideJapaneseYen:jx,LucideJoystick:Sx,LucideKanban:Lx,LucideKanbanSquare:Zo,LucideKanbanSquareDashed:Ho,LucideKey:Ax,LucideKeyRound:Ix,LucideKeySquare:Nx,LucideKeyboard:Rx,LucideKeyboardMusic:Px,LucideKeyboardOff:_x,LucideLamp:Ex,LucideLampCeiling:Tx,LucideLampDesk:qx,LucideLampFloor:Dx,LucideLampWallDown:zx,LucideLampWallUp:Fx,LucideLandPlot:Ox,LucideLandmark:Hx,LucideLanguages:Vx,LucideLaptop:Bx,LucideLaptop2:Un,LucideLaptopMinimal:Un,LucideLasso:$x,LucideLassoSelect:Ux,LucideLaugh:Gx,LucideLayers:Xx,LucideLayers2:Wx,LucideLayers3:Zx,LucideLayout:so,LucideLayoutDashboard:gc,LucideLayoutGrid:Jx,LucideLayoutList:Yx,LucideLayoutPanelLeft:Kx,LucideLayoutPanelTop:Qx,LucideLayoutTemplate:ek,LucideLeaf:tk,LucideLeafyGreen:ak,LucideLectern:rk,LucideLetterText:nk,LucideLibrary:ik,LucideLibraryBig:ok,LucideLibrarySquare:Xo,LucideLifeBuoy:sk,LucideLigature:ck,LucideLightbulb:dk,LucideLightbulbOff:lk,LucideLineChart:Dr,LucideLink:vc,LucideLink2:uk,LucideLink2Off:hk,LucideLinkedin:pk,LucideList:wc,LucideListCheck:yk,LucideListChecks:mk,LucideListCollapse:fk,LucideListEnd:xk,LucideListFilter:kk,LucideListMinus:gk,LucideListMusic:vk,LucideListOrdered:wk,LucideListPlus:Mk,LucideListRestart:bk,LucideListStart:Ck,LucideListTodo:jk,LucideListTree:Sk,LucideListVideo:Lk,LucideListX:Ik,LucideLoader:Ak,LucideLoader2:$n,LucideLoaderCircle:$n,LucideLoaderPinwheel:Nk,LucideLocate:Rk,LucideLocateFixed:Pk,LucideLocateOff:_k,LucideLock:Mc,LucideLockKeyhole:Tk,LucideLockKeyholeOpen:Gn,LucideLockOpen:Wn,LucideLogIn:qk,LucideLogOut:bc,LucideLogs:Dk,LucideLollipop:zk,LucideLuggage:Fk,LucideMSquare:Jo,LucideMagnet:Ek,LucideMail:ya,LucideMailCheck:Ok,LucideMailMinus:Hk,LucideMailOpen:Vk,LucideMailPlus:Bk,LucideMailQuestion:Uk,LucideMailSearch:$k,LucideMailWarning:Gk,LucideMailX:Wk,LucideMailbox:Zk,LucideMails:Xk,LucideMap:sg,LucideMapPin:Bt,LucideMapPinCheck:Yk,LucideMapPinCheckInside:Jk,LucideMapPinHouse:Kk,LucideMapPinMinus:eg,LucideMapPinMinusInside:Qk,LucideMapPinOff:tg,LucideMapPinPlus:rg,LucideMapPinPlusInside:ag,LucideMapPinX:og,LucideMapPinXInside:ng,LucideMapPinned:ig,LucideMartini:cg,LucideMaximize:dg,LucideMaximize2:lg,LucideMedal:hg,LucideMegaphone:pg,LucideMegaphoneOff:ug,LucideMeh:yg,LucideMemoryStick:mg,LucideMenu:js,LucideMenuSquare:Yo,LucideMerge:fg,LucideMessageCircle:Lg,LucideMessageCircleCode:xg,LucideMessageCircleDashed:kg,LucideMessageCircleHeart:gg,LucideMessageCircleMore:vg,LucideMessageCircleOff:wg,LucideMessageCirclePlus:Mg,LucideMessageCircleQuestion:bg,LucideMessageCircleReply:Cg,LucideMessageCircleWarning:jg,LucideMessageCircleX:Sg,LucideMessageSquare:Ss,LucideMessageSquareCode:Ig,LucideMessageSquareDashed:Ng,LucideMessageSquareDiff:Ag,LucideMessageSquareDot:Pg,LucideMessageSquareHeart:_g,LucideMessageSquareLock:Rg,LucideMessageSquareMore:Tg,LucideMessageSquareOff:qg,LucideMessageSquarePlus:Dg,LucideMessageSquareQuote:zg,LucideMessageSquareReply:Fg,LucideMessageSquareShare:Eg,LucideMessageSquareText:Og,LucideMessageSquareWarning:Hg,LucideMessageSquareX:Vg,LucideMessagesSquare:Bg,LucideMic:$g,LucideMic2:Zn,LucideMicOff:Ug,LucideMicVocal:Zn,LucideMicrochip:Gg,LucideMicroscope:Wg,LucideMicrowave:Zg,LucideMilestone:Xg,LucideMilk:Yg,LucideMilkOff:Jg,LucideMinimize:Qg,LucideMinimize2:Kg,LucideMinus:Cc,LucideMinusCircle:an,LucideMinusSquare:Ko,LucideMonitor:u5,LucideMonitorCheck:e5,LucideMonitorCog:t5,LucideMonitorDot:a5,LucideMonitorDown:r5,LucideMonitorOff:n5,LucideMonitorPause:o5,LucideMonitorPlay:i5,LucideMonitorSmartphone:s5,LucideMonitorSpeaker:c5,LucideMonitorStop:l5,LucideMonitorUp:d5,LucideMonitorX:h5,LucideMoon:y5,LucideMoonStar:p5,LucideMoreHorizontal:Sn,LucideMoreVertical:jn,LucideMountain:f5,LucideMountainSnow:m5,LucideMouse:M5,LucideMouseOff:x5,LucideMousePointer:w5,LucideMousePointer2:k5,LucideMousePointerBan:g5,LucideMousePointerClick:v5,LucideMousePointerSquareDashed:Vo,LucideMove:q5,LucideMove3D:Xn,LucideMove3d:Xn,LucideMoveDiagonal:C5,LucideMoveDiagonal2:b5,LucideMoveDown:L5,LucideMoveDownLeft:j5,LucideMoveDownRight:S5,LucideMoveHorizontal:I5,LucideMoveLeft:N5,LucideMoveRight:A5,LucideMoveUp:R5,LucideMoveUpLeft:P5,LucideMoveUpRight:_5,LucideMoveVertical:T5,LucideMusic:E5,LucideMusic2:D5,LucideMusic3:z5,LucideMusic4:F5,LucideNavigation:B5,LucideNavigation2:H5,LucideNavigation2Off:O5,LucideNavigationOff:V5,LucideNetwork:U5,LucideNewspaper:Pa,LucideNfc:$5,LucideNotebook:X5,LucideNotebookPen:G5,LucideNotebookTabs:W5,LucideNotebookText:Z5,LucideNotepadText:Y5,LucideNotepadTextDashed:J5,LucideNut:Q5,LucideNutOff:K5,LucideOctagon:t3,LucideOctagonAlert:Jn,LucideOctagonMinus:e3,LucideOctagonPause:Yn,LucideOctagonX:Kn,LucideOmega:a3,LucideOption:r3,LucideOrbit:n3,LucideOrigami:o3,LucideOutdent:Vn,LucidePackage:p3,LucidePackage2:i3,LucidePackageCheck:s3,LucidePackageMinus:c3,LucidePackageOpen:l3,LucidePackagePlus:d3,LucidePackageSearch:h3,LucidePackageX:u3,LucidePaintBucket:y3,LucidePaintRoller:m3,LucidePaintbrush:f3,LucidePaintbrush2:Qn,LucidePaintbrushVertical:Qn,LucidePalette:x3,LucidePalmtree:vi,LucidePanelBottom:v3,LucidePanelBottomClose:k3,LucidePanelBottomDashed:eo,LucidePanelBottomInactive:eo,LucidePanelBottomOpen:g3,LucidePanelLeft:no,LucidePanelLeftClose:to,LucidePanelLeftDashed:ao,LucidePanelLeftInactive:ao,LucidePanelLeftOpen:ro,LucidePanelRight:b3,LucidePanelRightClose:w3,LucidePanelRightDashed:oo,LucidePanelRightInactive:oo,LucidePanelRightOpen:M3,LucidePanelTop:S3,LucidePanelTopClose:C3,LucidePanelTopDashed:io,LucidePanelTopInactive:io,LucidePanelTopOpen:j3,LucidePanelsLeftBottom:L3,LucidePanelsLeftRight:wn,LucidePanelsRightBottom:I3,LucidePanelsTopBottom:mo,LucidePanelsTopLeft:so,LucidePaperclip:N3,LucideParentheses:A3,LucideParkingCircle:nn,LucideParkingCircleOff:rn,LucideParkingMeter:P3,LucideParkingSquare:ti,LucideParkingSquareOff:ei,LucidePartyPopper:_3,LucidePause:R3,LucidePauseCircle:on,LucidePauseOctagon:Yn,LucidePawPrint:T3,LucidePcCase:q3,LucidePen:lo,LucidePenBox:bt,LucidePenLine:co,LucidePenOff:D3,LucidePenSquare:bt,LucidePenTool:z3,LucidePencil:H3,LucidePencilLine:F3,LucidePencilOff:E3,LucidePencilRuler:O3,LucidePentagon:V3,LucidePercent:B3,LucidePercentCircle:sn,LucidePercentDiamond:bn,LucidePercentSquare:ai,LucidePersonStanding:U3,LucidePhilippinePeso:$3,LucidePhone:Hi,LucidePhoneCall:G3,LucidePhoneForwarded:W3,LucidePhoneIncoming:Z3,LucidePhoneMissed:X3,LucidePhoneOff:J3,LucidePhoneOutgoing:Y3,LucidePi:K3,LucidePiSquare:ri,LucidePiano:Q3,LucidePickaxe:ev,LucidePictureInPicture:av,LucidePictureInPicture2:tv,LucidePieChart:Er,LucidePiggyBank:rv,LucidePilcrow:iv,LucidePilcrowLeft:nv,LucidePilcrowRight:ov,LucidePilcrowSquare:ni,LucidePill:cv,LucidePillBottle:sv,LucidePin:dv,LucidePinOff:lv,LucidePipette:hv,LucidePizza:uv,LucidePlane:mv,LucidePlaneLanding:pv,LucidePlaneTakeoff:yv,LucidePlay:jc,LucidePlayCircle:cn,LucidePlaySquare:oi,LucidePlug:xv,LucidePlug2:fv,LucidePlugZap:ho,LucidePlugZap2:ho,LucidePlus:Sc,LucidePlusCircle:ln,LucidePlusSquare:ii,LucidePocket:gv,LucidePocketKnife:kv,LucidePodcast:vv,LucidePointer:Mv,LucidePointerOff:wv,LucidePopcorn:bv,LucidePopsicle:Cv,LucidePoundSterling:jv,LucidePower:Lv,LucidePowerCircle:dn,LucidePowerOff:Sv,LucidePowerSquare:si,LucidePresentation:Iv,LucidePrinter:Av,LucidePrinterCheck:Nv,LucideProjector:Pv,LucideProportions:_v,LucidePuzzle:Rv,LucidePyramid:Tv,LucideQrCode:qv,LucideQuote:Ls,LucideRabbit:Dv,LucideRadar:zv,LucideRadiation:Fv,LucideRadical:Ev,LucideRadio:Vv,LucideRadioReceiver:Ov,LucideRadioTower:Hv,LucideRadius:Bv,LucideRailSymbol:Uv,LucideRainbow:$v,LucideRat:Gv,LucideRatio:Wv,LucideReceipt:a6,LucideReceiptCent:Zv,LucideReceiptEuro:Xv,LucideReceiptIndianRupee:Jv,LucideReceiptJapaneseYen:Yv,LucideReceiptPoundSterling:Kv,LucideReceiptRussianRuble:Qv,LucideReceiptSwissFranc:e6,LucideReceiptText:t6,LucideRectangleEllipsis:uo,LucideRectangleHorizontal:r6,LucideRectangleVertical:n6,LucideRecycle:o6,LucideRedo:c6,LucideRedo2:i6,LucideRedoDot:s6,LucideRefreshCcw:d6,LucideRefreshCcwDot:l6,LucideRefreshCw:u6,LucideRefreshCwOff:h6,LucideRefrigerator:p6,LucideRegex:y6,LucideRemoveFormatting:m6,LucideRepeat:k6,LucideRepeat1:f6,LucideRepeat2:x6,LucideReplace:v6,LucideReplaceAll:g6,LucideReply:M6,LucideReplyAll:w6,LucideRewind:b6,LucideRibbon:C6,LucideRocket:j6,LucideRockingChair:S6,LucideRollerCoaster:L6,LucideRotate3D:po,LucideRotate3d:po,LucideRotateCcw:N6,LucideRotateCcwSquare:I6,LucideRotateCw:P6,LucideRotateCwSquare:A6,LucideRoute:R6,LucideRouteOff:_6,LucideRouter:T6,LucideRows:yo,LucideRows2:yo,LucideRows3:mo,LucideRows4:q6,LucideRss:D6,LucideRuler:z6,LucideRussianRuble:F6,LucideSailboat:E6,LucideSalad:O6,LucideSandwich:H6,LucideSatellite:B6,LucideSatelliteDish:V6,LucideSave:G6,LucideSaveAll:U6,LucideSaveOff:$6,LucideScale:W6,LucideScale3D:fo,LucideScale3d:fo,LucideScaling:Z6,LucideScan:a8,LucideScanBarcode:X6,LucideScanEye:J6,LucideScanFace:Y6,LucideScanLine:K6,LucideScanQrCode:Q6,LucideScanSearch:e8,LucideScanText:t8,LucideScatterChart:Or,LucideSchool:r8,LucideSchool2:bi,LucideScissors:o8,LucideScissorsLineDashed:n8,LucideScissorsSquare:ci,LucideScissorsSquareDashedBottom:Ro,LucideScreenShare:s8,LucideScreenShareOff:i8,LucideScroll:l8,LucideScrollText:c8,LucideSearch:Ut,LucideSearchCheck:d8,LucideSearchCode:h8,LucideSearchSlash:u8,LucideSearchX:p8,LucideSection:y8,LucideSend:Lc,LucideSendHorizonal:xo,LucideSendHorizontal:xo,LucideSendToBack:m8,LucideSeparatorHorizontal:f8,LucideSeparatorVertical:x8,LucideServer:w8,LucideServerCog:k8,LucideServerCrash:g8,LucideServerOff:v8,LucideSettings:Is,LucideSettings2:M8,LucideShapes:b8,LucideShare:C8,LucideShare2:Ns,LucideSheet:j8,LucideShell:S8,LucideShield:Ic,LucideShieldAlert:L8,LucideShieldBan:I8,LucideShieldCheck:N8,LucideShieldClose:ko,LucideShieldEllipsis:A8,LucideShieldHalf:P8,LucideShieldMinus:_8,LucideShieldOff:R8,LucideShieldPlus:T8,LucideShieldQuestion:q8,LucideShieldX:ko,LucideShip:z8,LucideShipWheel:D8,LucideShirt:F8,LucideShoppingBag:E8,LucideShoppingBasket:O8,LucideShoppingCart:As,LucideShovel:H8,LucideShowerHead:V8,LucideShrink:B8,LucideShrub:U8,LucideShuffle:$8,LucideSidebar:no,LucideSidebarClose:to,LucideSidebarOpen:ro,LucideSigma:G8,LucideSigmaSquare:li,LucideSignal:Nc,LucideSignalHigh:W8,LucideSignalLow:Z8,LucideSignalMedium:X8,LucideSignalZero:J8,LucideSignature:Y8,LucideSignpost:Q8,LucideSignpostBig:K8,LucideSiren:e7,LucideSkipBack:t7,LucideSkipForward:a7,LucideSkull:r7,LucideSlack:n7,LucideSlash:o7,LucideSlashSquare:di,LucideSlice:i7,LucideSliders:go,LucideSlidersHorizontal:Ya,LucideSlidersVertical:go,LucideSmartphone:l7,LucideSmartphoneCharging:s7,LucideSmartphoneNfc:c7,LucideSmile:h7,LucideSmilePlus:d7,LucideSnail:u7,LucideSnowflake:p7,LucideSofa:y7,LucideSortAsc:vr,LucideSortDesc:xr,LucideSoup:m7,LucideSpace:f7,LucideSpade:x7,LucideSparkle:k7,LucideSparkles:vo,LucideSpeaker:g7,LucideSpeech:v7,LucideSpellCheck:M7,LucideSpellCheck2:w7,LucideSpline:b7,LucideSplit:C7,LucideSplitSquareHorizontal:hi,LucideSplitSquareVertical:ui,LucideSprayCan:j7,LucideSprout:S7,LucideSquare:_7,LucideSquareActivity:wo,LucideSquareArrowDown:Co,LucideSquareArrowDownLeft:Mo,LucideSquareArrowDownRight:bo,LucideSquareArrowLeft:Sa,LucideSquareArrowOutDownLeft:jo,LucideSquareArrowOutDownRight:So,LucideSquareArrowOutUpLeft:Lo,LucideSquareArrowOutUpRight:Io,LucideSquareArrowRight:La,LucideSquareArrowUp:Po,LucideSquareArrowUpLeft:No,LucideSquareArrowUpRight:Ao,LucideSquareAsterisk:_o,LucideSquareBottomDashedScissors:Ro,LucideSquareChartGantt:ia,LucideSquareCheck:qo,LucideSquareCheckBig:To,LucideSquareChevronDown:Do,LucideSquareChevronLeft:zo,LucideSquareChevronRight:Fo,LucideSquareChevronUp:Eo,LucideSquareCode:Oo,LucideSquareDashed:Bo,LucideSquareDashedBottom:I7,LucideSquareDashedBottomCode:L7,LucideSquareDashedKanban:Ho,LucideSquareDashedMousePointer:Vo,LucideSquareDivide:Uo,LucideSquareDot:$o,LucideSquareEqual:Go,LucideSquareFunction:Wo,LucideSquareGanttChart:ia,LucideSquareKanban:Zo,LucideSquareLibrary:Xo,LucideSquareM:Jo,LucideSquareMenu:Yo,LucideSquareMinus:Ko,LucideSquareMousePointer:Qo,LucideSquareParking:ti,LucideSquareParkingOff:ei,LucideSquarePen:bt,LucideSquarePercent:ai,LucideSquarePi:ri,LucideSquarePilcrow:ni,LucideSquarePlay:oi,LucideSquarePlus:ii,LucideSquarePower:si,LucideSquareRadical:N7,LucideSquareScissors:ci,LucideSquareSigma:li,LucideSquareSlash:di,LucideSquareSplitHorizontal:hi,LucideSquareSplitVertical:ui,LucideSquareSquare:A7,LucideSquareStack:P7,LucideSquareTerminal:pi,LucideSquareUser:mi,LucideSquareUserRound:yi,LucideSquareX:fi,LucideSquircle:R7,LucideSquirrel:T7,LucideStamp:q7,LucideStar:Et,LucideStarHalf:D7,LucideStarOff:z7,LucideStars:vo,LucideStepBack:F7,LucideStepForward:E7,LucideStethoscope:O7,LucideSticker:H7,LucideStickyNote:V7,LucideStopCircle:un,LucideStore:B7,LucideStretchHorizontal:U7,LucideStretchVertical:$7,LucideStrikethrough:G7,LucideSubscript:W7,LucideSubtitles:Ir,LucideSun:K7,LucideSunDim:Z7,LucideSunMedium:X7,LucideSunMoon:J7,LucideSunSnow:Y7,LucideSunrise:Q7,LucideSunset:ew,LucideSuperscript:tw,LucideSwatchBook:aw,LucideSwissFranc:rw,LucideSwitchCamera:nw,LucideSword:ow,LucideSwords:iw,LucideSyringe:sw,LucideTable:mw,LucideTable2:cw,LucideTableCellsMerge:lw,LucideTableCellsSplit:dw,LucideTableColumnsSplit:hw,LucideTableOfContents:uw,LucideTableProperties:pw,LucideTableRowsSplit:yw,LucideTablet:xw,LucideTabletSmartphone:fw,LucideTablets:kw,LucideTag:gw,LucideTags:vw,LucideTally1:ww,LucideTally2:Mw,LucideTally3:bw,LucideTally4:Cw,LucideTally5:jw,LucideTangent:Sw,LucideTarget:Lw,LucideTelescope:Iw,LucideTent:Aw,LucideTentTree:Nw,LucideTerminal:Pw,LucideTerminalSquare:pi,LucideTestTube:_w,LucideTestTube2:xi,LucideTestTubeDiagonal:xi,LucideTestTubes:Rw,LucideText:Fw,LucideTextCursor:qw,LucideTextCursorInput:Tw,LucideTextQuote:Dw,LucideTextSearch:zw,LucideTextSelect:ki,LucideTextSelection:ki,LucideTheater:Ew,LucideThermometer:Vw,LucideThermometerSnowflake:Ow,LucideThermometerSun:Hw,LucideThumbsDown:Bw,LucideThumbsUp:Uw,LucideTicket:Yw,LucideTicketCheck:$w,LucideTicketMinus:Gw,LucideTicketPercent:Ww,LucideTicketPlus:Zw,LucideTicketSlash:Xw,LucideTicketX:Jw,LucideTickets:Qw,LucideTicketsPlane:Kw,LucideTimer:aM,LucideTimerOff:eM,LucideTimerReset:tM,LucideToggleLeft:rM,LucideToggleRight:nM,LucideTornado:oM,LucideTorus:iM,LucideTouchpad:cM,LucideTouchpadOff:sM,LucideTowerControl:lM,LucideToyBrick:dM,LucideTractor:hM,LucideTrafficCone:uM,LucideTrain:gi,LucideTrainFront:yM,LucideTrainFrontTunnel:pM,LucideTrainTrack:mM,LucideTramFront:gi,LucideTrash:fM,LucideTrash2:Ac,LucideTreeDeciduous:xM,LucideTreePalm:vi,LucideTreePine:kM,LucideTrees:gM,LucideTrello:vM,LucideTrendingDown:wM,LucideTrendingUp:Vi,LucideTrendingUpDown:MM,LucideTriangle:CM,LucideTriangleAlert:wi,LucideTriangleRight:bM,LucideTrophy:jM,LucideTruck:SM,LucideTurtle:LM,LucideTv:NM,LucideTv2:Mi,LucideTvMinimal:Mi,LucideTvMinimalPlay:IM,LucideTwitch:AM,LucideTwitter:PM,LucideType:RM,LucideTypeOutline:_M,LucideUmbrella:qM,LucideUmbrellaOff:TM,LucideUnderline:DM,LucideUndo:EM,LucideUndo2:zM,LucideUndoDot:FM,LucideUnfoldHorizontal:OM,LucideUnfoldVertical:HM,LucideUngroup:VM,LucideUniversity:bi,LucideUnlink:UM,LucideUnlink2:BM,LucideUnlock:Wn,LucideUnlockKeyhole:Gn,LucideUnplug:$M,LucideUpload:Ps,LucideUploadCloud:kn,LucideUsb:GM,LucideUser:Pc,LucideUser2:Ni,LucideUserCheck:WM,LucideUserCheck2:Ci,LucideUserCircle:yn,LucideUserCircle2:pn,LucideUserCog:ZM,LucideUserCog2:ji,LucideUserMinus:XM,LucideUserMinus2:Si,LucideUserPen:JM,LucideUserPlus:YM,LucideUserPlus2:Li,LucideUserRound:Ni,LucideUserRoundCheck:Ci,LucideUserRoundCog:ji,LucideUserRoundMinus:Si,LucideUserRoundPen:KM,LucideUserRoundPlus:Li,LucideUserRoundSearch:QM,LucideUserRoundX:Ii,LucideUserSearch:eb,LucideUserSquare:mi,LucideUserSquare2:yi,LucideUserX:tb,LucideUserX2:Ii,LucideUsers:_a,LucideUsers2:Ai,LucideUsersRound:Ai,LucideUtensils:_i,LucideUtensilsCrossed:Pi,LucideUtilityPole:ab,LucideVariable:rb,LucideVault:nb,LucideVegan:ob,LucideVenetianMask:ib,LucideVerified:br,LucideVibrate:cb,LucideVibrateOff:sb,LucideVideo:db,LucideVideoOff:lb,LucideVideotape:hb,LucideView:ub,LucideVoicemail:pb,LucideVolleyball:yb,LucideVolume:gb,LucideVolume1:mb,LucideVolume2:fb,LucideVolumeOff:xb,LucideVolumeX:kb,LucideVote:vb,LucideWallet:Mb,LucideWallet2:Ri,LucideWalletCards:wb,LucideWalletMinimal:Ri,LucideWallpaper:bb,LucideWand:Cb,LucideWand2:Ti,LucideWandSparkles:Ti,LucideWarehouse:jb,LucideWashingMachine:Sb,LucideWatch:Lb,LucideWaves:Ib,LucideWaypoints:Nb,LucideWebcam:Ab,LucideWebhook:_b,LucideWebhookOff:Pb,LucideWeight:Rb,LucideWheat:qb,LucideWheatOff:Tb,LucideWholeWord:Db,LucideWifi:Hb,LucideWifiHigh:zb,LucideWifiLow:Fb,LucideWifiOff:Eb,LucideWifiZero:Ob,LucideWind:Vb,LucideWine:Ub,LucideWineOff:Bb,LucideWorkflow:$b,LucideWorm:Gb,LucideWrapText:Wb,LucideWrench:Zb,LucideX:Qt,LucideXCircle:ca,LucideXOctagon:Kn,LucideXSquare:fi,LucideYoutube:Xb,LucideZap:Yb,LucideZapOff:Jb,LucideZoomIn:Kb,LucideZoomOut:Qb,Luggage:Fk,LuggageIcon:Fk,MSquare:Jo,MSquareIcon:Jo,Magnet:Ek,MagnetIcon:Ek,Mail:ya,MailCheck:Ok,MailCheckIcon:Ok,MailIcon:ya,MailMinus:Hk,MailMinusIcon:Hk,MailOpen:Vk,MailOpenIcon:Vk,MailPlus:Bk,MailPlusIcon:Bk,MailQuestion:Uk,MailQuestionIcon:Uk,MailSearch:$k,MailSearchIcon:$k,MailWarning:Gk,MailWarningIcon:Gk,MailX:Wk,MailXIcon:Wk,Mailbox:Zk,MailboxIcon:Zk,Mails:Xk,MailsIcon:Xk,Map:sg,MapIcon:sg,MapPin:Bt,MapPinCheck:Yk,MapPinCheckIcon:Yk,MapPinCheckInside:Jk,MapPinCheckInsideIcon:Jk,MapPinHouse:Kk,MapPinHouseIcon:Kk,MapPinIcon:Bt,MapPinMinus:eg,MapPinMinusIcon:eg,MapPinMinusInside:Qk,MapPinMinusInsideIcon:Qk,MapPinOff:tg,MapPinOffIcon:tg,MapPinPlus:rg,MapPinPlusIcon:rg,MapPinPlusInside:ag,MapPinPlusInsideIcon:ag,MapPinX:og,MapPinXIcon:og,MapPinXInside:ng,MapPinXInsideIcon:ng,MapPinned:ig,MapPinnedIcon:ig,Martini:cg,MartiniIcon:cg,Maximize:dg,Maximize2:lg,Maximize2Icon:lg,MaximizeIcon:dg,Medal:hg,MedalIcon:hg,Megaphone:pg,MegaphoneIcon:pg,MegaphoneOff:ug,MegaphoneOffIcon:ug,Meh:yg,MehIcon:yg,MemoryStick:mg,MemoryStickIcon:mg,Menu:js,MenuIcon:js,MenuSquare:Yo,MenuSquareIcon:Yo,Merge:fg,MergeIcon:fg,MessageCircle:Lg,MessageCircleCode:xg,MessageCircleCodeIcon:xg,MessageCircleDashed:kg,MessageCircleDashedIcon:kg,MessageCircleHeart:gg,MessageCircleHeartIcon:gg,MessageCircleIcon:Lg,MessageCircleMore:vg,MessageCircleMoreIcon:vg,MessageCircleOff:wg,MessageCircleOffIcon:wg,MessageCirclePlus:Mg,MessageCirclePlusIcon:Mg,MessageCircleQuestion:bg,MessageCircleQuestionIcon:bg,MessageCircleReply:Cg,MessageCircleReplyIcon:Cg,MessageCircleWarning:jg,MessageCircleWarningIcon:jg,MessageCircleX:Sg,MessageCircleXIcon:Sg,MessageSquare:Ss,MessageSquareCode:Ig,MessageSquareCodeIcon:Ig,MessageSquareDashed:Ng,MessageSquareDashedIcon:Ng,MessageSquareDiff:Ag,MessageSquareDiffIcon:Ag,MessageSquareDot:Pg,MessageSquareDotIcon:Pg,MessageSquareHeart:_g,MessageSquareHeartIcon:_g,MessageSquareIcon:Ss,MessageSquareLock:Rg,MessageSquareLockIcon:Rg,MessageSquareMore:Tg,MessageSquareMoreIcon:Tg,MessageSquareOff:qg,MessageSquareOffIcon:qg,MessageSquarePlus:Dg,MessageSquarePlusIcon:Dg,MessageSquareQuote:zg,MessageSquareQuoteIcon:zg,MessageSquareReply:Fg,MessageSquareReplyIcon:Fg,MessageSquareShare:Eg,MessageSquareShareIcon:Eg,MessageSquareText:Og,MessageSquareTextIcon:Og,MessageSquareWarning:Hg,MessageSquareWarningIcon:Hg,MessageSquareX:Vg,MessageSquareXIcon:Vg,MessagesSquare:Bg,MessagesSquareIcon:Bg,Mic:$g,Mic2:Zn,Mic2Icon:Zn,MicIcon:$g,MicOff:Ug,MicOffIcon:Ug,MicVocal:Zn,MicVocalIcon:Zn,Microchip:Gg,MicrochipIcon:Gg,Microscope:Wg,MicroscopeIcon:Wg,Microwave:Zg,MicrowaveIcon:Zg,Milestone:Xg,MilestoneIcon:Xg,Milk:Yg,MilkIcon:Yg,MilkOff:Jg,MilkOffIcon:Jg,Minimize:Qg,Minimize2:Kg,Minimize2Icon:Kg,MinimizeIcon:Qg,Minus:Cc,MinusCircle:an,MinusCircleIcon:an,MinusIcon:Cc,MinusSquare:Ko,MinusSquareIcon:Ko,Monitor:u5,MonitorCheck:e5,MonitorCheckIcon:e5,MonitorCog:t5,MonitorCogIcon:t5,MonitorDot:a5,MonitorDotIcon:a5,MonitorDown:r5,MonitorDownIcon:r5,MonitorIcon:u5,MonitorOff:n5,MonitorOffIcon:n5,MonitorPause:o5,MonitorPauseIcon:o5,MonitorPlay:i5,MonitorPlayIcon:i5,MonitorSmartphone:s5,MonitorSmartphoneIcon:s5,MonitorSpeaker:c5,MonitorSpeakerIcon:c5,MonitorStop:l5,MonitorStopIcon:l5,MonitorUp:d5,MonitorUpIcon:d5,MonitorX:h5,MonitorXIcon:h5,Moon:y5,MoonIcon:y5,MoonStar:p5,MoonStarIcon:p5,MoreHorizontal:Sn,MoreHorizontalIcon:Sn,MoreVertical:jn,MoreVerticalIcon:jn,Mountain:f5,MountainIcon:f5,MountainSnow:m5,MountainSnowIcon:m5,Mouse:M5,MouseIcon:M5,MouseOff:x5,MouseOffIcon:x5,MousePointer:w5,MousePointer2:k5,MousePointer2Icon:k5,MousePointerBan:g5,MousePointerBanIcon:g5,MousePointerClick:v5,MousePointerClickIcon:v5,MousePointerIcon:w5,MousePointerSquareDashed:Vo,MousePointerSquareDashedIcon:Vo,Move:q5,Move3D:Xn,Move3DIcon:Xn,Move3d:Xn,Move3dIcon:Xn,MoveDiagonal:C5,MoveDiagonal2:b5,MoveDiagonal2Icon:b5,MoveDiagonalIcon:C5,MoveDown:L5,MoveDownIcon:L5,MoveDownLeft:j5,MoveDownLeftIcon:j5,MoveDownRight:S5,MoveDownRightIcon:S5,MoveHorizontal:I5,MoveHorizontalIcon:I5,MoveIcon:q5,MoveLeft:N5,MoveLeftIcon:N5,MoveRight:A5,MoveRightIcon:A5,MoveUp:R5,MoveUpIcon:R5,MoveUpLeft:P5,MoveUpLeftIcon:P5,MoveUpRight:_5,MoveUpRightIcon:_5,MoveVertical:T5,MoveVerticalIcon:T5,Music:E5,Music2:D5,Music2Icon:D5,Music3:z5,Music3Icon:z5,Music4:F5,Music4Icon:F5,MusicIcon:E5,Navigation:B5,Navigation2:H5,Navigation2Icon:H5,Navigation2Off:O5,Navigation2OffIcon:O5,NavigationIcon:B5,NavigationOff:V5,NavigationOffIcon:V5,Network:U5,NetworkIcon:U5,Newspaper:Pa,NewspaperIcon:Pa,Nfc:$5,NfcIcon:$5,Notebook:X5,NotebookIcon:X5,NotebookPen:G5,NotebookPenIcon:G5,NotebookTabs:W5,NotebookTabsIcon:W5,NotebookText:Z5,NotebookTextIcon:Z5,NotepadText:Y5,NotepadTextDashed:J5,NotepadTextDashedIcon:J5,NotepadTextIcon:Y5,Nut:Q5,NutIcon:Q5,NutOff:K5,NutOffIcon:K5,Octagon:t3,OctagonAlert:Jn,OctagonAlertIcon:Jn,OctagonIcon:t3,OctagonMinus:e3,OctagonMinusIcon:e3,OctagonPause:Yn,OctagonPauseIcon:Yn,OctagonX:Kn,OctagonXIcon:Kn,Omega:a3,OmegaIcon:a3,Option:r3,OptionIcon:r3,Orbit:n3,OrbitIcon:n3,Origami:o3,OrigamiIcon:o3,Outdent:Vn,OutdentIcon:Vn,Package:p3,Package2:i3,Package2Icon:i3,PackageCheck:s3,PackageCheckIcon:s3,PackageIcon:p3,PackageMinus:c3,PackageMinusIcon:c3,PackageOpen:l3,PackageOpenIcon:l3,PackagePlus:d3,PackagePlusIcon:d3,PackageSearch:h3,PackageSearchIcon:h3,PackageX:u3,PackageXIcon:u3,PaintBucket:y3,PaintBucketIcon:y3,PaintRoller:m3,PaintRollerIcon:m3,Paintbrush:f3,Paintbrush2:Qn,Paintbrush2Icon:Qn,PaintbrushIcon:f3,PaintbrushVertical:Qn,PaintbrushVerticalIcon:Qn,Palette:x3,PaletteIcon:x3,Palmtree:vi,PalmtreeIcon:vi,PanelBottom:v3,PanelBottomClose:k3,PanelBottomCloseIcon:k3,PanelBottomDashed:eo,PanelBottomDashedIcon:eo,PanelBottomIcon:v3,PanelBottomInactive:eo,PanelBottomInactiveIcon:eo,PanelBottomOpen:g3,PanelBottomOpenIcon:g3,PanelLeft:no,PanelLeftClose:to,PanelLeftCloseIcon:to,PanelLeftDashed:ao,PanelLeftDashedIcon:ao,PanelLeftIcon:no,PanelLeftInactive:ao,PanelLeftInactiveIcon:ao,PanelLeftOpen:ro,PanelLeftOpenIcon:ro,PanelRight:b3,PanelRightClose:w3,PanelRightCloseIcon:w3,PanelRightDashed:oo,PanelRightDashedIcon:oo,PanelRightIcon:b3,PanelRightInactive:oo,PanelRightInactiveIcon:oo,PanelRightOpen:M3,PanelRightOpenIcon:M3,PanelTop:S3,PanelTopClose:C3,PanelTopCloseIcon:C3,PanelTopDashed:io,PanelTopDashedIcon:io,PanelTopIcon:S3,PanelTopInactive:io,PanelTopInactiveIcon:io,PanelTopOpen:j3,PanelTopOpenIcon:j3,PanelsLeftBottom:L3,PanelsLeftBottomIcon:L3,PanelsLeftRight:wn,PanelsLeftRightIcon:wn,PanelsRightBottom:I3,PanelsRightBottomIcon:I3,PanelsTopBottom:mo,PanelsTopBottomIcon:mo,PanelsTopLeft:so,PanelsTopLeftIcon:so,Paperclip:N3,PaperclipIcon:N3,Parentheses:A3,ParenthesesIcon:A3,ParkingCircle:nn,ParkingCircleIcon:nn,ParkingCircleOff:rn,ParkingCircleOffIcon:rn,ParkingMeter:P3,ParkingMeterIcon:P3,ParkingSquare:ti,ParkingSquareIcon:ti,ParkingSquareOff:ei,ParkingSquareOffIcon:ei,PartyPopper:_3,PartyPopperIcon:_3,Pause:R3,PauseCircle:on,PauseCircleIcon:on,PauseIcon:R3,PauseOctagon:Yn,PauseOctagonIcon:Yn,PawPrint:T3,PawPrintIcon:T3,PcCase:q3,PcCaseIcon:q3,Pen:lo,PenBox:bt,PenBoxIcon:bt,PenIcon:lo,PenLine:co,PenLineIcon:co,PenOff:D3,PenOffIcon:D3,PenSquare:bt,PenSquareIcon:bt,PenTool:z3,PenToolIcon:z3,Pencil:H3,PencilIcon:H3,PencilLine:F3,PencilLineIcon:F3,PencilOff:E3,PencilOffIcon:E3,PencilRuler:O3,PencilRulerIcon:O3,Pentagon:V3,PentagonIcon:V3,Percent:B3,PercentCircle:sn,PercentCircleIcon:sn,PercentDiamond:bn,PercentDiamondIcon:bn,PercentIcon:B3,PercentSquare:ai,PercentSquareIcon:ai,PersonStanding:U3,PersonStandingIcon:U3,PhilippinePeso:$3,PhilippinePesoIcon:$3,Phone:Hi,PhoneCall:G3,PhoneCallIcon:G3,PhoneForwarded:W3,PhoneForwardedIcon:W3,PhoneIcon:Hi,PhoneIncoming:Z3,PhoneIncomingIcon:Z3,PhoneMissed:X3,PhoneMissedIcon:X3,PhoneOff:J3,PhoneOffIcon:J3,PhoneOutgoing:Y3,PhoneOutgoingIcon:Y3,Pi:K3,PiIcon:K3,PiSquare:ri,PiSquareIcon:ri,Piano:Q3,PianoIcon:Q3,Pickaxe:ev,PickaxeIcon:ev,PictureInPicture:av,PictureInPicture2:tv,PictureInPicture2Icon:tv,PictureInPictureIcon:av,PieChart:Er,PieChartIcon:Er,PiggyBank:rv,PiggyBankIcon:rv,Pilcrow:iv,PilcrowIcon:iv,PilcrowLeft:nv,PilcrowLeftIcon:nv,PilcrowRight:ov,PilcrowRightIcon:ov,PilcrowSquare:ni,PilcrowSquareIcon:ni,Pill:cv,PillBottle:sv,PillBottleIcon:sv,PillIcon:cv,Pin:dv,PinIcon:dv,PinOff:lv,PinOffIcon:lv,Pipette:hv,PipetteIcon:hv,Pizza:uv,PizzaIcon:uv,Plane:mv,PlaneIcon:mv,PlaneLanding:pv,PlaneLandingIcon:pv,PlaneTakeoff:yv,PlaneTakeoffIcon:yv,Play:jc,PlayCircle:cn,PlayCircleIcon:cn,PlayIcon:jc,PlaySquare:oi,PlaySquareIcon:oi,Plug:xv,Plug2:fv,Plug2Icon:fv,PlugIcon:xv,PlugZap:ho,PlugZap2:ho,PlugZap2Icon:ho,PlugZapIcon:ho,Plus:Sc,PlusCircle:ln,PlusCircleIcon:ln,PlusIcon:Sc,PlusSquare:ii,PlusSquareIcon:ii,Pocket:gv,PocketIcon:gv,PocketKnife:kv,PocketKnifeIcon:kv,Podcast:vv,PodcastIcon:vv,Pointer:Mv,PointerIcon:Mv,PointerOff:wv,PointerOffIcon:wv,Popcorn:bv,PopcornIcon:bv,Popsicle:Cv,PopsicleIcon:Cv,PoundSterling:jv,PoundSterlingIcon:jv,Power:Lv,PowerCircle:dn,PowerCircleIcon:dn,PowerIcon:Lv,PowerOff:Sv,PowerOffIcon:Sv,PowerSquare:si,PowerSquareIcon:si,Presentation:Iv,PresentationIcon:Iv,Printer:Av,PrinterCheck:Nv,PrinterCheckIcon:Nv,PrinterIcon:Av,Projector:Pv,ProjectorIcon:Pv,Proportions:_v,ProportionsIcon:_v,Puzzle:Rv,PuzzleIcon:Rv,Pyramid:Tv,PyramidIcon:Tv,QrCode:qv,QrCodeIcon:qv,Quote:Ls,QuoteIcon:Ls,Rabbit:Dv,RabbitIcon:Dv,Radar:zv,RadarIcon:zv,Radiation:Fv,RadiationIcon:Fv,Radical:Ev,RadicalIcon:Ev,Radio:Vv,RadioIcon:Vv,RadioReceiver:Ov,RadioReceiverIcon:Ov,RadioTower:Hv,RadioTowerIcon:Hv,Radius:Bv,RadiusIcon:Bv,RailSymbol:Uv,RailSymbolIcon:Uv,Rainbow:$v,RainbowIcon:$v,Rat:Gv,RatIcon:Gv,Ratio:Wv,RatioIcon:Wv,Receipt:a6,ReceiptCent:Zv,ReceiptCentIcon:Zv,ReceiptEuro:Xv,ReceiptEuroIcon:Xv,ReceiptIcon:a6,ReceiptIndianRupee:Jv,ReceiptIndianRupeeIcon:Jv,ReceiptJapaneseYen:Yv,ReceiptJapaneseYenIcon:Yv,ReceiptPoundSterling:Kv,ReceiptPoundSterlingIcon:Kv,ReceiptRussianRuble:Qv,ReceiptRussianRubleIcon:Qv,ReceiptSwissFranc:e6,ReceiptSwissFrancIcon:e6,ReceiptText:t6,ReceiptTextIcon:t6,RectangleEllipsis:uo,RectangleEllipsisIcon:uo,RectangleHorizontal:r6,RectangleHorizontalIcon:r6,RectangleVertical:n6,RectangleVerticalIcon:n6,Recycle:o6,RecycleIcon:o6,Redo:c6,Redo2:i6,Redo2Icon:i6,RedoDot:s6,RedoDotIcon:s6,RedoIcon:c6,RefreshCcw:d6,RefreshCcwDot:l6,RefreshCcwDotIcon:l6,RefreshCcwIcon:d6,RefreshCw:u6,RefreshCwIcon:u6,RefreshCwOff:h6,RefreshCwOffIcon:h6,Refrigerator:p6,RefrigeratorIcon:p6,Regex:y6,RegexIcon:y6,RemoveFormatting:m6,RemoveFormattingIcon:m6,Repeat:k6,Repeat1:f6,Repeat1Icon:f6,Repeat2:x6,Repeat2Icon:x6,RepeatIcon:k6,Replace:v6,ReplaceAll:g6,ReplaceAllIcon:g6,ReplaceIcon:v6,Reply:M6,ReplyAll:w6,ReplyAllIcon:w6,ReplyIcon:M6,Rewind:b6,RewindIcon:b6,Ribbon:C6,RibbonIcon:C6,Rocket:j6,RocketIcon:j6,RockingChair:S6,RockingChairIcon:S6,RollerCoaster:L6,RollerCoasterIcon:L6,Rotate3D:po,Rotate3DIcon:po,Rotate3d:po,Rotate3dIcon:po,RotateCcw:N6,RotateCcwIcon:N6,RotateCcwSquare:I6,RotateCcwSquareIcon:I6,RotateCw:P6,RotateCwIcon:P6,RotateCwSquare:A6,RotateCwSquareIcon:A6,Route:R6,RouteIcon:R6,RouteOff:_6,RouteOffIcon:_6,Router:T6,RouterIcon:T6,Rows:yo,Rows2:yo,Rows2Icon:yo,Rows3:mo,Rows3Icon:mo,Rows4:q6,Rows4Icon:q6,RowsIcon:yo,Rss:D6,RssIcon:D6,Ruler:z6,RulerIcon:z6,RussianRuble:F6,RussianRubleIcon:F6,Sailboat:E6,SailboatIcon:E6,Salad:O6,SaladIcon:O6,Sandwich:H6,SandwichIcon:H6,Satellite:B6,SatelliteDish:V6,SatelliteDishIcon:V6,SatelliteIcon:B6,Save:G6,SaveAll:U6,SaveAllIcon:U6,SaveIcon:G6,SaveOff:$6,SaveOffIcon:$6,Scale:W6,Scale3D:fo,Scale3DIcon:fo,Scale3d:fo,Scale3dIcon:fo,ScaleIcon:W6,Scaling:Z6,ScalingIcon:Z6,Scan:a8,ScanBarcode:X6,ScanBarcodeIcon:X6,ScanEye:J6,ScanEyeIcon:J6,ScanFace:Y6,ScanFaceIcon:Y6,ScanIcon:a8,ScanLine:K6,ScanLineIcon:K6,ScanQrCode:Q6,ScanQrCodeIcon:Q6,ScanSearch:e8,ScanSearchIcon:e8,ScanText:t8,ScanTextIcon:t8,ScatterChart:Or,ScatterChartIcon:Or,School:r8,School2:bi,School2Icon:bi,SchoolIcon:r8,Scissors:o8,ScissorsIcon:o8,ScissorsLineDashed:n8,ScissorsLineDashedIcon:n8,ScissorsSquare:ci,ScissorsSquareDashedBottom:Ro,ScissorsSquareDashedBottomIcon:Ro,ScissorsSquareIcon:ci,ScreenShare:s8,ScreenShareIcon:s8,ScreenShareOff:i8,ScreenShareOffIcon:i8,Scroll:l8,ScrollIcon:l8,ScrollText:c8,ScrollTextIcon:c8,Search:Ut,SearchCheck:d8,SearchCheckIcon:d8,SearchCode:h8,SearchCodeIcon:h8,SearchIcon:Ut,SearchSlash:u8,SearchSlashIcon:u8,SearchX:p8,SearchXIcon:p8,Section:y8,SectionIcon:y8,Send:Lc,SendHorizonal:xo,SendHorizonalIcon:xo,SendHorizontal:xo,SendHorizontalIcon:xo,SendIcon:Lc,SendToBack:m8,SendToBackIcon:m8,SeparatorHorizontal:f8,SeparatorHorizontalIcon:f8,SeparatorVertical:x8,SeparatorVerticalIcon:x8,Server:w8,ServerCog:k8,ServerCogIcon:k8,ServerCrash:g8,ServerCrashIcon:g8,ServerIcon:w8,ServerOff:v8,ServerOffIcon:v8,Settings:Is,Settings2:M8,Settings2Icon:M8,SettingsIcon:Is,Shapes:b8,ShapesIcon:b8,Share:C8,Share2:Ns,Share2Icon:Ns,ShareIcon:C8,Sheet:j8,SheetIcon:j8,Shell:S8,ShellIcon:S8,Shield:Ic,ShieldAlert:L8,ShieldAlertIcon:L8,ShieldBan:I8,ShieldBanIcon:I8,ShieldCheck:N8,ShieldCheckIcon:N8,ShieldClose:ko,ShieldCloseIcon:ko,ShieldEllipsis:A8,ShieldEllipsisIcon:A8,ShieldHalf:P8,ShieldHalfIcon:P8,ShieldIcon:Ic,ShieldMinus:_8,ShieldMinusIcon:_8,ShieldOff:R8,ShieldOffIcon:R8,ShieldPlus:T8,ShieldPlusIcon:T8,ShieldQuestion:q8,ShieldQuestionIcon:q8,ShieldX:ko,ShieldXIcon:ko,Ship:z8,ShipIcon:z8,ShipWheel:D8,ShipWheelIcon:D8,Shirt:F8,ShirtIcon:F8,ShoppingBag:E8,ShoppingBagIcon:E8,ShoppingBasket:O8,ShoppingBasketIcon:O8,ShoppingCart:As,ShoppingCartIcon:As,Shovel:H8,ShovelIcon:H8,ShowerHead:V8,ShowerHeadIcon:V8,Shrink:B8,ShrinkIcon:B8,Shrub:U8,ShrubIcon:U8,Shuffle:$8,ShuffleIcon:$8,Sidebar:no,SidebarClose:to,SidebarCloseIcon:to,SidebarIcon:no,SidebarOpen:ro,SidebarOpenIcon:ro,Sigma:G8,SigmaIcon:G8,SigmaSquare:li,SigmaSquareIcon:li,Signal:Nc,SignalHigh:W8,SignalHighIcon:W8,SignalIcon:Nc,SignalLow:Z8,SignalLowIcon:Z8,SignalMedium:X8,SignalMediumIcon:X8,SignalZero:J8,SignalZeroIcon:J8,Signature:Y8,SignatureIcon:Y8,Signpost:Q8,SignpostBig:K8,SignpostBigIcon:K8,SignpostIcon:Q8,Siren:e7,SirenIcon:e7,SkipBack:t7,SkipBackIcon:t7,SkipForward:a7,SkipForwardIcon:a7,Skull:r7,SkullIcon:r7,Slack:n7,SlackIcon:n7,Slash:o7,SlashIcon:o7,SlashSquare:di,SlashSquareIcon:di,Slice:i7,SliceIcon:i7,Sliders:go,SlidersHorizontal:Ya,SlidersHorizontalIcon:Ya,SlidersIcon:go,SlidersVertical:go,SlidersVerticalIcon:go,Smartphone:l7,SmartphoneCharging:s7,SmartphoneChargingIcon:s7,SmartphoneIcon:l7,SmartphoneNfc:c7,SmartphoneNfcIcon:c7,Smile:h7,SmileIcon:h7,SmilePlus:d7,SmilePlusIcon:d7,Snail:u7,SnailIcon:u7,Snowflake:p7,SnowflakeIcon:p7,Sofa:y7,SofaIcon:y7,SortAsc:vr,SortAscIcon:vr,SortDesc:xr,SortDescIcon:xr,Soup:m7,SoupIcon:m7,Space:f7,SpaceIcon:f7,Spade:x7,SpadeIcon:x7,Sparkle:k7,SparkleIcon:k7,Sparkles:vo,SparklesIcon:vo,Speaker:g7,SpeakerIcon:g7,Speech:v7,SpeechIcon:v7,SpellCheck:M7,SpellCheck2:w7,SpellCheck2Icon:w7,SpellCheckIcon:M7,Spline:b7,SplineIcon:b7,Split:C7,SplitIcon:C7,SplitSquareHorizontal:hi,SplitSquareHorizontalIcon:hi,SplitSquareVertical:ui,SplitSquareVerticalIcon:ui,SprayCan:j7,SprayCanIcon:j7,Sprout:S7,SproutIcon:S7,Square:_7,SquareActivity:wo,SquareActivityIcon:wo,SquareArrowDown:Co,SquareArrowDownIcon:Co,SquareArrowDownLeft:Mo,SquareArrowDownLeftIcon:Mo,SquareArrowDownRight:bo,SquareArrowDownRightIcon:bo,SquareArrowLeft:Sa,SquareArrowLeftIcon:Sa,SquareArrowOutDownLeft:jo,SquareArrowOutDownLeftIcon:jo,SquareArrowOutDownRight:So,SquareArrowOutDownRightIcon:So,SquareArrowOutUpLeft:Lo,SquareArrowOutUpLeftIcon:Lo,SquareArrowOutUpRight:Io,SquareArrowOutUpRightIcon:Io,SquareArrowRight:La,SquareArrowRightIcon:La,SquareArrowUp:Po,SquareArrowUpIcon:Po,SquareArrowUpLeft:No,SquareArrowUpLeftIcon:No,SquareArrowUpRight:Ao,SquareArrowUpRightIcon:Ao,SquareAsterisk:_o,SquareAsteriskIcon:_o,SquareBottomDashedScissors:Ro,SquareBottomDashedScissorsIcon:Ro,SquareChartGantt:ia,SquareChartGanttIcon:ia,SquareCheck:qo,SquareCheckBig:To,SquareCheckBigIcon:To,SquareCheckIcon:qo,SquareChevronDown:Do,SquareChevronDownIcon:Do,SquareChevronLeft:zo,SquareChevronLeftIcon:zo,SquareChevronRight:Fo,SquareChevronRightIcon:Fo,SquareChevronUp:Eo,SquareChevronUpIcon:Eo,SquareCode:Oo,SquareCodeIcon:Oo,SquareDashed:Bo,SquareDashedBottom:I7,SquareDashedBottomCode:L7,SquareDashedBottomCodeIcon:L7,SquareDashedBottomIcon:I7,SquareDashedIcon:Bo,SquareDashedKanban:Ho,SquareDashedKanbanIcon:Ho,SquareDashedMousePointer:Vo,SquareDashedMousePointerIcon:Vo,SquareDivide:Uo,SquareDivideIcon:Uo,SquareDot:$o,SquareDotIcon:$o,SquareEqual:Go,SquareEqualIcon:Go,SquareFunction:Wo,SquareFunctionIcon:Wo,SquareGanttChart:ia,SquareGanttChartIcon:ia,SquareIcon:_7,SquareKanban:Zo,SquareKanbanIcon:Zo,SquareLibrary:Xo,SquareLibraryIcon:Xo,SquareM:Jo,SquareMIcon:Jo,SquareMenu:Yo,SquareMenuIcon:Yo,SquareMinus:Ko,SquareMinusIcon:Ko,SquareMousePointer:Qo,SquareMousePointerIcon:Qo,SquareParking:ti,SquareParkingIcon:ti,SquareParkingOff:ei,SquareParkingOffIcon:ei,SquarePen:bt,SquarePenIcon:bt,SquarePercent:ai,SquarePercentIcon:ai,SquarePi:ri,SquarePiIcon:ri,SquarePilcrow:ni,SquarePilcrowIcon:ni,SquarePlay:oi,SquarePlayIcon:oi,SquarePlus:ii,SquarePlusIcon:ii,SquarePower:si,SquarePowerIcon:si,SquareRadical:N7,SquareRadicalIcon:N7,SquareScissors:ci,SquareScissorsIcon:ci,SquareSigma:li,SquareSigmaIcon:li,SquareSlash:di,SquareSlashIcon:di,SquareSplitHorizontal:hi,SquareSplitHorizontalIcon:hi,SquareSplitVertical:ui,SquareSplitVerticalIcon:ui,SquareSquare:A7,SquareSquareIcon:A7,SquareStack:P7,SquareStackIcon:P7,SquareTerminal:pi,SquareTerminalIcon:pi,SquareUser:mi,SquareUserIcon:mi,SquareUserRound:yi,SquareUserRoundIcon:yi,SquareX:fi,SquareXIcon:fi,Squircle:R7,SquircleIcon:R7,Squirrel:T7,SquirrelIcon:T7,Stamp:q7,StampIcon:q7,Star:Et,StarHalf:D7,StarHalfIcon:D7,StarIcon:Et,StarOff:z7,StarOffIcon:z7,Stars:vo,StarsIcon:vo,StepBack:F7,StepBackIcon:F7,StepForward:E7,StepForwardIcon:E7,Stethoscope:O7,StethoscopeIcon:O7,Sticker:H7,StickerIcon:H7,StickyNote:V7,StickyNoteIcon:V7,StopCircle:un,StopCircleIcon:un,Store:B7,StoreIcon:B7,StretchHorizontal:U7,StretchHorizontalIcon:U7,StretchVertical:$7,StretchVerticalIcon:$7,Strikethrough:G7,StrikethroughIcon:G7,Subscript:W7,SubscriptIcon:W7,Subtitles:Ir,SubtitlesIcon:Ir,Sun:K7,SunDim:Z7,SunDimIcon:Z7,SunIcon:K7,SunMedium:X7,SunMediumIcon:X7,SunMoon:J7,SunMoonIcon:J7,SunSnow:Y7,SunSnowIcon:Y7,Sunrise:Q7,SunriseIcon:Q7,Sunset:ew,SunsetIcon:ew,Superscript:tw,SuperscriptIcon:tw,SwatchBook:aw,SwatchBookIcon:aw,SwissFranc:rw,SwissFrancIcon:rw,SwitchCamera:nw,SwitchCameraIcon:nw,Sword:ow,SwordIcon:ow,Swords:iw,SwordsIcon:iw,Syringe:sw,SyringeIcon:sw,Table:mw,Table2:cw,Table2Icon:cw,TableCellsMerge:lw,TableCellsMergeIcon:lw,TableCellsSplit:dw,TableCellsSplitIcon:dw,TableColumnsSplit:hw,TableColumnsSplitIcon:hw,TableIcon:mw,TableOfContents:uw,TableOfContentsIcon:uw,TableProperties:pw,TablePropertiesIcon:pw,TableRowsSplit:yw,TableRowsSplitIcon:yw,Tablet:xw,TabletIcon:xw,TabletSmartphone:fw,TabletSmartphoneIcon:fw,Tablets:kw,TabletsIcon:kw,Tag:gw,TagIcon:gw,Tags:vw,TagsIcon:vw,Tally1:ww,Tally1Icon:ww,Tally2:Mw,Tally2Icon:Mw,Tally3:bw,Tally3Icon:bw,Tally4:Cw,Tally4Icon:Cw,Tally5:jw,Tally5Icon:jw,Tangent:Sw,TangentIcon:Sw,Target:Lw,TargetIcon:Lw,Telescope:Iw,TelescopeIcon:Iw,Tent:Aw,TentIcon:Aw,TentTree:Nw,TentTreeIcon:Nw,Terminal:Pw,TerminalIcon:Pw,TerminalSquare:pi,TerminalSquareIcon:pi,TestTube:_w,TestTube2:xi,TestTube2Icon:xi,TestTubeDiagonal:xi,TestTubeDiagonalIcon:xi,TestTubeIcon:_w,TestTubes:Rw,TestTubesIcon:Rw,Text:Fw,TextCursor:qw,TextCursorIcon:qw,TextCursorInput:Tw,TextCursorInputIcon:Tw,TextIcon:Fw,TextQuote:Dw,TextQuoteIcon:Dw,TextSearch:zw,TextSearchIcon:zw,TextSelect:ki,TextSelectIcon:ki,TextSelection:ki,TextSelectionIcon:ki,Theater:Ew,TheaterIcon:Ew,Thermometer:Vw,ThermometerIcon:Vw,ThermometerSnowflake:Ow,ThermometerSnowflakeIcon:Ow,ThermometerSun:Hw,ThermometerSunIcon:Hw,ThumbsDown:Bw,ThumbsDownIcon:Bw,ThumbsUp:Uw,ThumbsUpIcon:Uw,Ticket:Yw,TicketCheck:$w,TicketCheckIcon:$w,TicketIcon:Yw,TicketMinus:Gw,TicketMinusIcon:Gw,TicketPercent:Ww,TicketPercentIcon:Ww,TicketPlus:Zw,TicketPlusIcon:Zw,TicketSlash:Xw,TicketSlashIcon:Xw,TicketX:Jw,TicketXIcon:Jw,Tickets:Qw,TicketsIcon:Qw,TicketsPlane:Kw,TicketsPlaneIcon:Kw,Timer:aM,TimerIcon:aM,TimerOff:eM,TimerOffIcon:eM,TimerReset:tM,TimerResetIcon:tM,ToggleLeft:rM,ToggleLeftIcon:rM,ToggleRight:nM,ToggleRightIcon:nM,Tornado:oM,TornadoIcon:oM,Torus:iM,TorusIcon:iM,Touchpad:cM,TouchpadIcon:cM,TouchpadOff:sM,TouchpadOffIcon:sM,TowerControl:lM,TowerControlIcon:lM,ToyBrick:dM,ToyBrickIcon:dM,Tractor:hM,TractorIcon:hM,TrafficCone:uM,TrafficConeIcon:uM,Train:gi,TrainFront:yM,TrainFrontIcon:yM,TrainFrontTunnel:pM,TrainFrontTunnelIcon:pM,TrainIcon:gi,TrainTrack:mM,TrainTrackIcon:mM,TramFront:gi,TramFrontIcon:gi,Trash:fM,Trash2:Ac,Trash2Icon:Ac,TrashIcon:fM,TreeDeciduous:xM,TreeDeciduousIcon:xM,TreePalm:vi,TreePalmIcon:vi,TreePine:kM,TreePineIcon:kM,Trees:gM,TreesIcon:gM,Trello:vM,TrelloIcon:vM,TrendingDown:wM,TrendingDownIcon:wM,TrendingUp:Vi,TrendingUpDown:MM,TrendingUpDownIcon:MM,TrendingUpIcon:Vi,Triangle:CM,TriangleAlert:wi,TriangleAlertIcon:wi,TriangleIcon:CM,TriangleRight:bM,TriangleRightIcon:bM,Trophy:jM,TrophyIcon:jM,Truck:SM,TruckIcon:SM,Turtle:LM,TurtleIcon:LM,Tv:NM,Tv2:Mi,Tv2Icon:Mi,TvIcon:NM,TvMinimal:Mi,TvMinimalIcon:Mi,TvMinimalPlay:IM,TvMinimalPlayIcon:IM,Twitch:AM,TwitchIcon:AM,Twitter:PM,TwitterIcon:PM,Type:RM,TypeIcon:RM,TypeOutline:_M,TypeOutlineIcon:_M,Umbrella:qM,UmbrellaIcon:qM,UmbrellaOff:TM,UmbrellaOffIcon:TM,Underline:DM,UnderlineIcon:DM,Undo:EM,Undo2:zM,Undo2Icon:zM,UndoDot:FM,UndoDotIcon:FM,UndoIcon:EM,UnfoldHorizontal:OM,UnfoldHorizontalIcon:OM,UnfoldVertical:HM,UnfoldVerticalIcon:HM,Ungroup:VM,UngroupIcon:VM,University:bi,UniversityIcon:bi,Unlink:UM,Unlink2:BM,Unlink2Icon:BM,UnlinkIcon:UM,Unlock:Wn,UnlockIcon:Wn,UnlockKeyhole:Gn,UnlockKeyholeIcon:Gn,Unplug:$M,UnplugIcon:$M,Upload:Ps,UploadCloud:kn,UploadCloudIcon:kn,UploadIcon:Ps,Usb:GM,UsbIcon:GM,User:Pc,User2:Ni,User2Icon:Ni,UserCheck:WM,UserCheck2:Ci,UserCheck2Icon:Ci,UserCheckIcon:WM,UserCircle:yn,UserCircle2:pn,UserCircle2Icon:pn,UserCircleIcon:yn,UserCog:ZM,UserCog2:ji,UserCog2Icon:ji,UserCogIcon:ZM,UserIcon:Pc,UserMinus:XM,UserMinus2:Si,UserMinus2Icon:Si,UserMinusIcon:XM,UserPen:JM,UserPenIcon:JM,UserPlus:YM,UserPlus2:Li,UserPlus2Icon:Li,UserPlusIcon:YM,UserRound:Ni,UserRoundCheck:Ci,UserRoundCheckIcon:Ci,UserRoundCog:ji,UserRoundCogIcon:ji,UserRoundIcon:Ni,UserRoundMinus:Si,UserRoundMinusIcon:Si,UserRoundPen:KM,UserRoundPenIcon:KM,UserRoundPlus:Li,UserRoundPlusIcon:Li,UserRoundSearch:QM,UserRoundSearchIcon:QM,UserRoundX:Ii,UserRoundXIcon:Ii,UserSearch:eb,UserSearchIcon:eb,UserSquare:mi,UserSquare2:yi,UserSquare2Icon:yi,UserSquareIcon:mi,UserX:tb,UserX2:Ii,UserX2Icon:Ii,UserXIcon:tb,Users:_a,Users2:Ai,Users2Icon:Ai,UsersIcon:_a,UsersRound:Ai,UsersRoundIcon:Ai,Utensils:_i,UtensilsCrossed:Pi,UtensilsCrossedIcon:Pi,UtensilsIcon:_i,UtilityPole:ab,UtilityPoleIcon:ab,Variable:rb,VariableIcon:rb,Vault:nb,VaultIcon:nb,Vegan:ob,VeganIcon:ob,VenetianMask:ib,VenetianMaskIcon:ib,Verified:br,VerifiedIcon:br,Vibrate:cb,VibrateIcon:cb,VibrateOff:sb,VibrateOffIcon:sb,Video:db,VideoIcon:db,VideoOff:lb,VideoOffIcon:lb,Videotape:hb,VideotapeIcon:hb,View:ub,ViewIcon:ub,Voicemail:pb,VoicemailIcon:pb,Volleyball:yb,VolleyballIcon:yb,Volume:gb,Volume1:mb,Volume1Icon:mb,Volume2:fb,Volume2Icon:fb,VolumeIcon:gb,VolumeOff:xb,VolumeOffIcon:xb,VolumeX:kb,VolumeXIcon:kb,Vote:vb,VoteIcon:vb,Wallet:Mb,Wallet2:Ri,Wallet2Icon:Ri,WalletCards:wb,WalletCardsIcon:wb,WalletIcon:Mb,WalletMinimal:Ri,WalletMinimalIcon:Ri,Wallpaper:bb,WallpaperIcon:bb,Wand:Cb,Wand2:Ti,Wand2Icon:Ti,WandIcon:Cb,WandSparkles:Ti,WandSparklesIcon:Ti,Warehouse:jb,WarehouseIcon:jb,WashingMachine:Sb,WashingMachineIcon:Sb,Watch:Lb,WatchIcon:Lb,Waves:Ib,WavesIcon:Ib,Waypoints:Nb,WaypointsIcon:Nb,Webcam:Ab,WebcamIcon:Ab,Webhook:_b,WebhookIcon:_b,WebhookOff:Pb,WebhookOffIcon:Pb,Weight:Rb,WeightIcon:Rb,Wheat:qb,WheatIcon:qb,WheatOff:Tb,WheatOffIcon:Tb,WholeWord:Db,WholeWordIcon:Db,Wifi:Hb,WifiHigh:zb,WifiHighIcon:zb,WifiIcon:Hb,WifiLow:Fb,WifiLowIcon:Fb,WifiOff:Eb,WifiOffIcon:Eb,WifiZero:Ob,WifiZeroIcon:Ob,Wind:Vb,WindIcon:Vb,Wine:Ub,WineIcon:Ub,WineOff:Bb,WineOffIcon:Bb,Workflow:$b,WorkflowIcon:$b,Worm:Gb,WormIcon:Gb,WrapText:Wb,WrapTextIcon:Wb,Wrench:Zb,WrenchIcon:Zb,X:Qt,XCircle:ca,XCircleIcon:ca,XIcon:Qt,XOctagon:Kn,XOctagonIcon:Kn,XSquare:fi,XSquareIcon:fi,Youtube:Xb,YoutubeIcon:Xb,Zap:Yb,ZapIcon:Yb,ZapOff:Jb,ZapOffIcon:Jb,ZoomIn:Kb,ZoomInIcon:Kb,ZoomOut:Qb,ZoomOutIcon:Qb,createLucideIcon:s,icons:ZT},Symbol.toStringTag,{value:"Module"}));function JT({groupedIds:t,tabTitles:e,lang:r,url:n,PromotionsTitle:o,buttonMsg:i="Select Plan"}){const[c,l]=j.useState([]),[d,h]=j.useState("tab-0"),u=n||window.location.origin||"http://localhost:8000";j.useEffect(()=>{(async()=>{try{const k=r??"en",m=t.map(async v=>(await fetch(`${u}/api/v1/promotions/?ids=${v}`,{method:"GET",headers:{"Accept-Language":k,"Content-Type":"application/json"}})).json()),x=await Promise.all(m);l(x)}catch{}})()},[t,u,r]);const p=f=>{const k=new CustomEvent("planSelected",{bubbles:!0,detail:{plan:f,tabType:d,timestamp:new Date().toISOString()}}),m=document.querySelector(".group-prices-component");m&&m.dispatchEvent(k)},y=`grid sm:grid-cols-2 lg:grid-cols-${e.length} mb-8`;return a.jsx("section",{id:"pricing",className:"w-full py-12 md:py-24 lg:py-32",children:a.jsxs("div",{className:"container px-4 md:px-6",children:[o??a.jsx("h2",{className:"text-3xl font-bold tracking-tighter sm:text-4xl md:text-5xl text-center mb-8",children:o}),a.jsxs(es,{defaultValue:"tab-0",className:"w-full",onValueChange:f=>h(f),children:[a.jsx(or,{className:y,children:e.map((f,k)=>a.jsx(Ce,{value:`tab-${k}`,children:f},k))}),c.map((f,k)=>a.jsx(je,{value:`tab-${k}`,children:a.jsx("div",{className:"grid gap-8 sm:grid-cols-2 lg:grid-cols-3",children:f.map((m,x)=>a.jsxs(ve,{className:"flex flex-col",children:[a.jsxs(_e,{children:[a.jsx(Re,{children:m.title}),a.jsx(He,{children:m.short_description})]}),a.jsxs(we,{className:"flex-1",children:[a.jsxs("p",{className:"text-3xl font-bold",children:["€",m.price]}),a.jsx("ul",{className:"mt-4 space-y-2",children:m.features&&m.features.map((v,w)=>a.jsxs("li",{className:"flex items-center",children:[a.jsx(vs,{className:"mr-2 h-4 w-4 text-primary"})," ",v]},w))})]}),a.jsx(Fs,{children:a.jsx($,{onClick:()=>p(m),className:"w-full bg-primary text-primary-foreground hover:bg-primary/90",children:i})})]},x))})},k))]})]})})}function YT({isOpen:t,items:e}){const r=e.reduce((n,o)=>n+o.price,0);return a.jsxs("div",{className:"relative",children:[a.jsx("div",{className:le("fixed inset-y-0 right-0 w-80 bg-white shadow-lg transform transition-transform duration-300 ease-in-out z-30",t?"translate-x-0":"translate-x-full"),children:a.jsxs("div",{className:"h-full flex flex-col",children:[a.jsxs("div",{className:"p-4 border-b flex items-center justify-between",children:[a.jsx("h2",{className:"text-xl font-semibold",children:"Summary"}),a.jsxs("button",{onClick:()=>{const n=document.querySelector('.sliding-summary-component[data-open="true"]');n&&n.setAttribute("data-open","false")},className:"hover:bg-gray-100 rounded p-2",children:[a.jsx(Qt,{className:"h-4 w-4"}),a.jsx("span",{className:"sr-only",children:"Close panel"})]})]}),a.jsx("div",{className:"flex-1 overflow-auto p-4",children:e.map(n=>a.jsxs("div",{className:"mb-4 p-3 border rounded-lg",children:[a.jsxs("div",{className:"flex justify-between items-start mb-1",children:[a.jsx("span",{className:"font-medium",children:n.name}),a.jsxs("span",{className:"text-sm",children:["$",n.price.toFixed(2)]})]}),a.jsx("p",{className:"text-sm text-gray-600",children:n.description})]},n.id))}),a.jsx("div",{className:"p-4 border-t",children:a.jsxs("div",{className:"flex justify-between items-center",children:[a.jsx("span",{className:"font-semibold",children:"Total:"}),a.jsxs("span",{className:"font-semibold",children:["$",r.toFixed(2)]})]})})]})}),t&&a.jsx("div",{className:"fixed inset-0 bg-black/20 z-20",onClick:()=>{const n=document.querySelector('.sliding-summary-component[data-open="true"]');n&&n.setAttribute("data-open","false")}})]})}function Ca(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function CI(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}/*!
7726
7726
  * GSAP 3.12.5
7727
7727
  * https://gsap.com
7728
7728
  *
@@ -7730,7 +7730,7 @@ React keys must be passed directly to JSX without using spread:
7730
7730
  * Subject to the terms at https://gsap.com/standard-license or for
7731
7731
  * Club GSAP members, the agreement issued with that membership.
7732
7732
  * @author: Jack Doyle, jack@greensock.com
7733
- */var At={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Es={duration:.5,overwrite:!1,delay:0},yj,ht,De,Ot=1e8,Ne=1/Ot,TC=Math.PI*2,KT=TC/4,QT=0,jI=Math.sqrt,eq=Math.cos,tq=Math.sin,at=function(e){return typeof e=="string"},Ve=function(e){return typeof e=="function"},Ta=function(e){return typeof e=="number"},mj=function(e){return typeof e>"u"},xa=function(e){return typeof e=="object"},xt=function(e){return e!==!1},fj=function(){return typeof window<"u"},t1=function(e){return Ve(e)||at(e)},SI=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},ut=Array.isArray,qC=/(?:-?\.?\d|\.)+/gi,LI=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ys=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,rC=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,II=/[+-]=-?[.\d]+/,NI=/[^,'"\[\]\s]+/gi,aq=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Fe,sa,DC,xj,_t={},c9={},AI,PI=function(e){return(c9=Wi(e,_t))&&wt},kj=function(e,r){return console.warn("Invalid property",e,"set to",r,"Missing plugin? gsap.registerPlugin()")},Fc=function(e,r){return!r&&console.warn(e)},_I=function(e,r){return e&&(_t[e]=r)&&c9&&(c9[e]=r)||_t},Ec=function(){return 0},rq={suppressEvents:!0,isStart:!0,kill:!1},e9={suppressEvents:!0,kill:!1},nq={suppressEvents:!0},gj={},Ka=[],zC={},RI,Ct={},nC={},NS=30,t9=[],vj="",wj=function(e){var r=e[0],n,o;if(xa(r)||Ve(r)||(e=[e]),!(n=(r._gsap||{}).harness)){for(o=t9.length;o--&&!t9[o].targetTest(r););n=t9[o]}for(o=e.length;o--;)e[o]&&(e[o]._gsap||(e[o]._gsap=new rN(e[o],n)))||e.splice(o,1);return e},Bi=function(e){return e._gsap||wj(Ht(e))[0]._gsap},TI=function(e,r,n){return(n=e[r])&&Ve(n)?e[r]():mj(n)&&e.getAttribute&&e.getAttribute(r)||n},kt=function(e,r){return(e=e.split(",")).forEach(r)||e},Ge=function(e){return Math.round(e*1e5)/1e5||0},et=function(e){return Math.round(e*1e7)/1e7||0},_s=function(e,r){var n=r.charAt(0),o=parseFloat(r.substr(2));return e=parseFloat(e),n==="+"?e+o:n==="-"?e-o:n==="*"?e*o:e/o},oq=function(e,r){for(var n=r.length,o=0;e.indexOf(r[o])<0&&++o<n;);return o<n},l9=function(){var e=Ka.length,r=Ka.slice(0),n,o;for(zC={},Ka.length=0,n=0;n<e;n++)o=r[n],o&&o._lazy&&(o.render(o._lazy[0],o._lazy[1],!0)._lazy=0)},qI=function(e,r,n,o){Ka.length&&!ht&&l9(),e.render(r,n,ht&&r<0&&(e._initted||e._startAt)),Ka.length&&!ht&&l9()},DI=function(e){var r=parseFloat(e);return(r||r===0)&&(e+"").match(NI).length<2?r:at(e)?e.trim():e},zI=function(e){return e},$t=function(e,r){for(var n in r)n in e||(e[n]=r[n]);return e},iq=function(e){return function(r,n){for(var o in n)o in r||o==="duration"&&e||o==="ease"||(r[o]=n[o])}},Wi=function(e,r){for(var n in r)e[n]=r[n];return e},AS=function t(e,r){for(var n in r)n!=="__proto__"&&n!=="constructor"&&n!=="prototype"&&(e[n]=xa(r[n])?t(e[n]||(e[n]={}),r[n]):r[n]);return e},d9=function(e,r){var n={},o;for(o in e)o in r||(n[o]=e[o]);return n},_c=function(e){var r=e.parent||Fe,n=e.keyframes?iq(ut(e.keyframes)):$t;if(xt(e.inherit))for(;r;)n(e,r.vars.defaults),r=r.parent||r._dp;return e},sq=function(e,r){for(var n=e.length,o=n===r.length;o&&n--&&e[n]===r[n];);return n<0},FI=function(e,r,n,o,i){var c=e[o],l;if(i)for(l=r[i];c&&c[i]>l;)c=c._prev;return c?(r._next=c._next,c._next=r):(r._next=e[n],e[n]=r),r._next?r._next._prev=r:e[o]=r,r._prev=c,r.parent=r._dp=e,r},L9=function(e,r,n,o){n===void 0&&(n="_first"),o===void 0&&(o="_last");var i=r._prev,c=r._next;i?i._next=c:e[n]===r&&(e[n]=c),c?c._prev=i:e[o]===r&&(e[o]=i),r._next=r._prev=r.parent=null},tr=function(e,r){e.parent&&(!r||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Ui=function(e,r){if(e&&(!r||r._end>e._dur||r._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},cq=function(e){for(var r=e.parent;r&&r.parent;)r._dirty=1,r.totalDuration(),r=r.parent;return e},FC=function(e,r,n,o){return e._startAt&&(ht?e._startAt.revert(e9):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(r,!0,o))},lq=function t(e){return!e||e._ts&&t(e.parent)},PS=function(e){return e._repeat?Os(e._tTime,e=e.duration()+e._rDelay)*e:0},Os=function(e,r){var n=Math.floor(e/=r);return e&&n===e?n-1:n},h9=function(e,r){return(e-r._start)*r._ts+(r._ts>=0?0:r._dirty?r.totalDuration():r._tDur)},I9=function(e){return e._end=et(e._start+(e._tDur/Math.abs(e._ts||e._rts||Ne)||0))},N9=function(e,r){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=et(n._time-(e._ts>0?r/e._ts:((e._dirty?e.totalDuration():e._tDur)-r)/-e._ts)),I9(e),n._dirty||Ui(n,e)),e},EI=function(e,r){var n;if((r._time||!r._dur&&r._initted||r._start<e._time&&(r._dur||!r.add))&&(n=h9(e.rawTime(),r),(!r._dur||Jc(0,r.totalDuration(),n)-r._tTime>Ne)&&r.render(n,!0)),Ui(e,r)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-Ne}},la=function(e,r,n,o){return r.parent&&tr(r),r._start=et((Ta(n)?n:n||e!==Fe?Ft(e,n,r):e._time)+r._delay),r._end=et(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),FI(e,r,"_first","_last",e._sort?"_start":0),EC(r)||(e._recent=r),o||EI(e,r),e._ts<0&&N9(e,e._tTime),e},OI=function(e,r){return(_t.ScrollTrigger||kj("scrollTrigger",r))&&_t.ScrollTrigger.create(r,e)},HI=function(e,r,n,o,i){if(bj(e,r,i),!e._initted)return 1;if(!n&&e._pt&&!ht&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&RI!==It.frame)return Ka.push(e),e._lazy=[i,o],1},dq=function t(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||t(r))},EC=function(e){var r=e.data;return r==="isFromStart"||r==="isStart"},hq=function(e,r,n,o){var i=e.ratio,c=r<0||!r&&(!e._start&&dq(e)&&!(!e._initted&&EC(e))||(e._ts<0||e._dp._ts<0)&&!EC(e))?0:1,l=e._rDelay,d=0,h,u,p;if(l&&e._repeat&&(d=Jc(0,e._tDur,r),u=Os(d,l),e._yoyo&&u&1&&(c=1-c),u!==Os(e._tTime,l)&&(i=1-c,e.vars.repeatRefresh&&e._initted&&e.invalidate())),c!==i||ht||o||e._zTime===Ne||!r&&e._zTime){if(!e._initted&&HI(e,r,o,n,d))return;for(p=e._zTime,e._zTime=r||(n?Ne:0),n||(n=r&&!p),e.ratio=c,e._from&&(c=1-c),e._time=0,e._tTime=d,h=e._pt;h;)h.r(c,h.d),h=h._next;r<0&&FC(e,r,n,!0),e._onUpdate&&!n&&Nt(e,"onUpdate"),d&&e._repeat&&!n&&e.parent&&Nt(e,"onRepeat"),(r>=e._tDur||r<0)&&e.ratio===c&&(c&&tr(e,1),!n&&!ht&&(Nt(e,c?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=r)},uq=function(e,r,n){var o;if(n>r)for(o=e._first;o&&o._start<=n;){if(o.data==="isPause"&&o._start>r)return o;o=o._next}else for(o=e._last;o&&o._start>=n;){if(o.data==="isPause"&&o._start<r)return o;o=o._prev}},Hs=function(e,r,n,o){var i=e._repeat,c=et(r)||0,l=e._tTime/e._tDur;return l&&!o&&(e._time*=c/e._dur),e._dur=c,e._tDur=i?i<0?1e10:et(c*(i+1)+e._rDelay*i):c,l>0&&!o&&N9(e,e._tTime=e._tDur*l),e.parent&&I9(e),n||Ui(e.parent,e),e},_S=function(e){return e instanceof yt?Ui(e):Hs(e,e._dur)},pq={_start:0,endTime:Ec,totalDuration:Ec},Ft=function t(e,r,n){var o=e.labels,i=e._recent||pq,c=e.duration()>=Ot?i.endTime(!1):e._dur,l,d,h;return at(r)&&(isNaN(r)||r in o)?(d=r.charAt(0),h=r.substr(-1)==="%",l=r.indexOf("="),d==="<"||d===">"?(l>=0&&(r=r.replace(/=/,"")),(d==="<"?i._start:i.endTime(i._repeat>=0))+(parseFloat(r.substr(1))||0)*(h?(l<0?i:n).totalDuration()/100:1)):l<0?(r in o||(o[r]=c),o[r]):(d=parseFloat(r.charAt(l-1)+r.substr(l+1)),h&&n&&(d=d/100*(ut(n)?n[0]:n).totalDuration()),l>1?t(e,r.substr(0,l-1),n)+d:c+d)):r==null?c:+r},Rc=function(e,r,n){var o=Ta(r[1]),i=(o?2:1)+(e<2?0:1),c=r[i],l,d;if(o&&(c.duration=r[1]),c.parent=n,e){for(l=c,d=n;d&&!("immediateRender"in l);)l=d.vars.defaults||{},d=xt(d.vars.inherit)&&d.parent;c.immediateRender=xt(l.immediateRender),e<2?c.runBackwards=1:c.startAt=r[i-1]}return new Ye(r[0],c,r[i+1])},ir=function(e,r){return e||e===0?r(e):r},Jc=function(e,r,n){return n<e?e:n>r?r:n},dt=function(e,r){return!at(e)||!(r=aq.exec(e))?"":r[1]},yq=function(e,r,n){return ir(n,function(o){return Jc(e,r,o)})},OC=[].slice,VI=function(e,r){return e&&xa(e)&&"length"in e&&(!r&&!e.length||e.length-1 in e&&xa(e[0]))&&!e.nodeType&&e!==sa},mq=function(e,r,n){return n===void 0&&(n=[]),e.forEach(function(o){var i;return at(o)&&!r||VI(o,1)?(i=n).push.apply(i,Ht(o)):n.push(o)})||n},Ht=function(e,r,n){return De&&!r&&De.selector?De.selector(e):at(e)&&!n&&(DC||!Vs())?OC.call((r||xj).querySelectorAll(e),0):ut(e)?mq(e,n):VI(e)?OC.call(e,0):e?[e]:[]},HC=function(e){return e=Ht(e)[0]||Fc("Invalid scope")||{},function(r){var n=e.current||e.nativeElement||e;return Ht(r,n.querySelectorAll?n:n===e?Fc("Invalid scope")||xj.createElement("div"):e)}},BI=function(e){return e.sort(function(){return .5-Math.random()})},UI=function(e){if(Ve(e))return e;var r=xa(e)?e:{each:e},n=$i(r.ease),o=r.from||0,i=parseFloat(r.base)||0,c={},l=o>0&&o<1,d=isNaN(o)||l,h=r.axis,u=o,p=o;return at(o)?u=p={center:.5,edges:.5,end:1}[o]||0:!l&&d&&(u=o[0],p=o[1]),function(y,f,k){var m=(k||r).length,x=c[m],v,w,C,M,b,N,L,A,I;if(!x){if(I=r.grid==="auto"?0:(r.grid||[1,Ot])[1],!I){for(L=-Ot;L<(L=k[I++].getBoundingClientRect().left)&&I<m;);I<m&&I--}for(x=c[m]=[],v=d?Math.min(I,m)*u-.5:o%I,w=I===Ot?0:d?m*p/I-.5:o/I|0,L=0,A=Ot,N=0;N<m;N++)C=N%I-v,M=w-(N/I|0),x[N]=b=h?Math.abs(h==="y"?M:C):jI(C*C+M*M),b>L&&(L=b),b<A&&(A=b);o==="random"&&BI(x),x.max=L-A,x.min=A,x.v=m=(parseFloat(r.amount)||parseFloat(r.each)*(I>m?m-1:h?h==="y"?m/I:I:Math.max(I,m/I))||0)*(o==="edges"?-1:1),x.b=m<0?i-m:i,x.u=dt(r.amount||r.each)||0,n=n&&m<0?eN(n):n}return m=(x[y]-x.min)/x.max||0,et(x.b+(n?n(m):m)*x.v)+x.u}},VC=function(e){var r=Math.pow(10,((e+"").split(".")[1]||"").length);return function(n){var o=et(Math.round(parseFloat(n)/e)*e*r);return(o-o%1)/r+(Ta(n)?0:dt(n))}},$I=function(e,r){var n=ut(e),o,i;return!n&&xa(e)&&(o=n=e.radius||Ot,e.values?(e=Ht(e.values),(i=!Ta(e[0]))&&(o*=o)):e=VC(e.increment)),ir(r,n?Ve(e)?function(c){return i=e(c),Math.abs(i-c)<=o?i:c}:function(c){for(var l=parseFloat(i?c.x:c),d=parseFloat(i?c.y:0),h=Ot,u=0,p=e.length,y,f;p--;)i?(y=e[p].x-l,f=e[p].y-d,y=y*y+f*f):y=Math.abs(e[p]-l),y<h&&(h=y,u=p);return u=!o||h<=o?e[u]:c,i||u===c||Ta(c)?u:u+dt(c)}:VC(e))},GI=function(e,r,n,o){return ir(ut(e)?!r:n===!0?!!(n=0):!o,function(){return ut(e)?e[~~(Math.random()*e.length)]:(n=n||1e-5)&&(o=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(r-e+n*.99))/n)*n*o)/o})},fq=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return function(o){return r.reduce(function(i,c){return c(i)},o)}},xq=function(e,r){return function(n){return e(parseFloat(n))+(r||dt(n))}},kq=function(e,r,n){return ZI(e,r,0,1,n)},WI=function(e,r,n){return ir(n,function(o){return e[~~r(o)]})},gq=function t(e,r,n){var o=r-e;return ut(e)?WI(e,t(0,e.length),r):ir(n,function(i){return(o+(i-e)%o)%o+e})},vq=function t(e,r,n){var o=r-e,i=o*2;return ut(e)?WI(e,t(0,e.length-1),r):ir(n,function(c){return c=(i+(c-e)%i)%i||0,e+(c>o?i-c:c)})},Oc=function(e){for(var r=0,n="",o,i,c,l;~(o=e.indexOf("random(",r));)c=e.indexOf(")",o),l=e.charAt(o+7)==="[",i=e.substr(o+7,c-o-7).match(l?NI:qC),n+=e.substr(r,o-r)+GI(l?i:+i[0],l?0:+i[1],+i[2]||1e-5),r=c+1;return n+e.substr(r,e.length-r)},ZI=function(e,r,n,o,i){var c=r-e,l=o-n;return ir(i,function(d){return n+((d-e)/c*l||0)})},wq=function t(e,r,n,o){var i=isNaN(e+r)?0:function(f){return(1-f)*e+f*r};if(!i){var c=at(e),l={},d,h,u,p,y;if(n===!0&&(o=1)&&(n=null),c)e={p:e},r={p:r};else if(ut(e)&&!ut(r)){for(u=[],p=e.length,y=p-2,h=1;h<p;h++)u.push(t(e[h-1],e[h]));p--,i=function(k){k*=p;var m=Math.min(y,~~k);return u[m](k-m)},n=r}else o||(e=Wi(ut(e)?[]:{},e));if(!u){for(d in r)Mj.call(l,e,d,"get",r[d]);i=function(k){return Sj(k,l)||(c?e.p:e)}}}return ir(n,i)},RS=function(e,r,n){var o=e.labels,i=Ot,c,l,d;for(c in o)l=o[c]-r,l<0==!!n&&l&&i>(l=Math.abs(l))&&(d=c,i=l);return d},Nt=function(e,r,n){var o=e.vars,i=o[r],c=De,l=e._ctx,d,h,u;if(i)return d=o[r+"Params"],h=o.callbackScope||e,n&&Ka.length&&l9(),l&&(De=l),u=d?i.apply(h,d):i.call(h),De=c,u},sc=function(e){return tr(e),e.scrollTrigger&&e.scrollTrigger.kill(!!ht),e.progress()<1&&Nt(e,"onInterrupt"),e},ms,XI=[],JI=function(e){if(e)if(e=!e.name&&e.default||e,fj()||e.headless){var r=e.name,n=Ve(e),o=r&&!n&&e.init?function(){this._props=[]}:e,i={init:Ec,render:Sj,add:Mj,kill:zq,modifier:Dq,rawVars:0},c={targetTest:0,get:0,getSetter:jj,aliases:{},register:0};if(Vs(),e!==o){if(Ct[r])return;$t(o,$t(d9(e,i),c)),Wi(o.prototype,Wi(i,d9(e,c))),Ct[o.prop=r]=o,e.targetTest&&(t9.push(o),gj[r]=1),r=(r==="css"?"CSS":r.charAt(0).toUpperCase()+r.substr(1))+"Plugin"}_I(r,o),e.register&&e.register(wt,o,gt)}else XI.push(e)},Le=255,cc={aqua:[0,Le,Le],lime:[0,Le,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Le],navy:[0,0,128],white:[Le,Le,Le],olive:[128,128,0],yellow:[Le,Le,0],orange:[Le,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Le,0,0],pink:[Le,192,203],cyan:[0,Le,Le],transparent:[Le,Le,Le,0]},oC=function(e,r,n){return e+=e<0?1:e>1?-1:0,(e*6<1?r+(n-r)*e*6:e<.5?n:e*3<2?r+(n-r)*(2/3-e)*6:r)*Le+.5|0},YI=function(e,r,n){var o=e?Ta(e)?[e>>16,e>>8&Le,e&Le]:0:cc.black,i,c,l,d,h,u,p,y,f,k;if(!o){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),cc[e])o=cc[e];else if(e.charAt(0)==="#"){if(e.length<6&&(i=e.charAt(1),c=e.charAt(2),l=e.charAt(3),e="#"+i+i+c+c+l+l+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return o=parseInt(e.substr(1,6),16),[o>>16,o>>8&Le,o&Le,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),o=[e>>16,e>>8&Le,e&Le]}else if(e.substr(0,3)==="hsl"){if(o=k=e.match(qC),!r)d=+o[0]%360/360,h=+o[1]/100,u=+o[2]/100,c=u<=.5?u*(h+1):u+h-u*h,i=u*2-c,o.length>3&&(o[3]*=1),o[0]=oC(d+1/3,i,c),o[1]=oC(d,i,c),o[2]=oC(d-1/3,i,c);else if(~e.indexOf("="))return o=e.match(LI),n&&o.length<4&&(o[3]=1),o}else o=e.match(qC)||cc.transparent;o=o.map(Number)}return r&&!k&&(i=o[0]/Le,c=o[1]/Le,l=o[2]/Le,p=Math.max(i,c,l),y=Math.min(i,c,l),u=(p+y)/2,p===y?d=h=0:(f=p-y,h=u>.5?f/(2-p-y):f/(p+y),d=p===i?(c-l)/f+(c<l?6:0):p===c?(l-i)/f+2:(i-c)/f+4,d*=60),o[0]=~~(d+.5),o[1]=~~(h*100+.5),o[2]=~~(u*100+.5)),n&&o.length<4&&(o[3]=1),o},KI=function(e){var r=[],n=[],o=-1;return e.split(Qa).forEach(function(i){var c=i.match(ys)||[];r.push.apply(r,c),n.push(o+=c.length+1)}),r.c=n,r},TS=function(e,r,n){var o="",i=(e+o).match(Qa),c=r?"hsla(":"rgba(",l=0,d,h,u,p;if(!i)return e;if(i=i.map(function(y){return(y=YI(y,r,1))&&c+(r?y[0]+","+y[1]+"%,"+y[2]+"%,"+y[3]:y.join(","))+")"}),n&&(u=KI(e),d=n.c,d.join(o)!==u.c.join(o)))for(h=e.replace(Qa,"1").split(ys),p=h.length-1;l<p;l++)o+=h[l]+(~d.indexOf(l)?i.shift()||c+"0,0,0,0)":(u.length?u:i.length?i:n).shift());if(!h)for(h=e.split(Qa),p=h.length-1;l<p;l++)o+=h[l]+i[l];return o+h[p]},Qa=function(){var t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in cc)t+="|"+e+"\\b";return new RegExp(t+")","gi")}(),Mq=/hsl[a]?\(/,QI=function(e){var r=e.join(" "),n;if(Qa.lastIndex=0,Qa.test(r))return n=Mq.test(r),e[1]=TS(e[1],n),e[0]=TS(e[0],n,KI(e[1])),!0},Hc,It=function(){var t=Date.now,e=500,r=33,n=t(),o=n,i=1e3/240,c=i,l=[],d,h,u,p,y,f,k=function m(x){var v=t()-o,w=x===!0,C,M,b,N;if((v>e||v<0)&&(n+=v-r),o+=v,b=o-n,C=b-c,(C>0||w)&&(N=++p.frame,y=b-p.time*1e3,p.time=b=b/1e3,c+=C+(C>=i?4:i-C),M=1),w||(d=h(m)),M)for(f=0;f<l.length;f++)l[f](b,y,N,x)};return p={time:0,frame:0,tick:function(){k(!0)},deltaRatio:function(x){return y/(1e3/(x||60))},wake:function(){AI&&(!DC&&fj()&&(sa=DC=window,xj=sa.document||{},_t.gsap=wt,(sa.gsapVersions||(sa.gsapVersions=[])).push(wt.version),PI(c9||sa.GreenSockGlobals||!sa.gsap&&sa||{}),XI.forEach(JI)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,d&&p.sleep(),h=u||function(x){return setTimeout(x,c-p.time*1e3+1|0)},Hc=1,k(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(d),Hc=0,h=Ec},lagSmoothing:function(x,v){e=x||1/0,r=Math.min(v||33,e)},fps:function(x){i=1e3/(x||240),c=p.time*1e3+i},add:function(x,v,w){var C=v?function(M,b,N,L){x(M,b,N,L),p.remove(C)}:x;return p.remove(x),l[w?"unshift":"push"](C),Vs(),C},remove:function(x,v){~(v=l.indexOf(x))&&l.splice(v,1)&&f>=v&&f--},_listeners:l},p}(),Vs=function(){return!Hc&&It.wake()},ke={},bq=/^[\d.\-M][\d.\-,\s]/,Cq=/["']/g,jq=function(e){for(var r={},n=e.substr(1,e.length-3).split(":"),o=n[0],i=1,c=n.length,l,d,h;i<c;i++)d=n[i],l=i!==c-1?d.lastIndexOf(","):d.length,h=d.substr(0,l),r[o]=isNaN(h)?h.replace(Cq,"").trim():+h,o=d.substr(l+1).trim();return r},Sq=function(e){var r=e.indexOf("(")+1,n=e.indexOf(")"),o=e.indexOf("(",r);return e.substring(r,~o&&o<n?e.indexOf(")",n+1):n)},Lq=function(e){var r=(e+"").split("("),n=ke[r[0]];return n&&r.length>1&&n.config?n.config.apply(null,~e.indexOf("{")?[jq(r[1])]:Sq(e).split(",").map(DI)):ke._CE&&bq.test(e)?ke._CE("",e):n},eN=function(e){return function(r){return 1-e(1-r)}},tN=function t(e,r){for(var n=e._first,o;n;)n instanceof yt?t(n,r):n.vars.yoyoEase&&(!n._yoyo||!n._repeat)&&n._yoyo!==r&&(n.timeline?t(n.timeline,r):(o=n._ease,n._ease=n._yEase,n._yEase=o,n._yoyo=r)),n=n._next},$i=function(e,r){return e&&(Ve(e)?e:ke[e]||Lq(e))||r},ts=function(e,r,n,o){n===void 0&&(n=function(d){return 1-r(1-d)}),o===void 0&&(o=function(d){return d<.5?r(d*2)/2:1-r((1-d)*2)/2});var i={easeIn:r,easeOut:n,easeInOut:o},c;return kt(e,function(l){ke[l]=_t[l]=i,ke[c=l.toLowerCase()]=n;for(var d in i)ke[c+(d==="easeIn"?".in":d==="easeOut"?".out":".inOut")]=ke[l+"."+d]=i[d]}),i},aN=function(e){return function(r){return r<.5?(1-e(1-r*2))/2:.5+e((r-.5)*2)/2}},iC=function t(e,r,n){var o=r>=1?r:1,i=(n||(e?.3:.45))/(r<1?r:1),c=i/TC*(Math.asin(1/o)||0),l=function(u){return u===1?1:o*Math.pow(2,-10*u)*tq((u-c)*i)+1},d=e==="out"?l:e==="in"?function(h){return 1-l(1-h)}:aN(l);return i=TC/i,d.config=function(h,u){return t(e,h,u)},d},sC=function t(e,r){r===void 0&&(r=1.70158);var n=function(c){return c?--c*c*((r+1)*c+r)+1:0},o=e==="out"?n:e==="in"?function(i){return 1-n(1-i)}:aN(n);return o.config=function(i){return t(e,i)},o};kt("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var r=e<5?e+1:e;ts(t+",Power"+(r-1),e?function(n){return Math.pow(n,r)}:function(n){return n},function(n){return 1-Math.pow(1-n,r)},function(n){return n<.5?Math.pow(n*2,r)/2:1-Math.pow((1-n)*2,r)/2})});ke.Linear.easeNone=ke.none=ke.Linear.easeIn;ts("Elastic",iC("in"),iC("out"),iC());(function(t,e){var r=1/e,n=2*r,o=2.5*r,i=function(l){return l<r?t*l*l:l<n?t*Math.pow(l-1.5/e,2)+.75:l<o?t*(l-=2.25/e)*l+.9375:t*Math.pow(l-2.625/e,2)+.984375};ts("Bounce",function(c){return 1-i(1-c)},i)})(7.5625,2.75);ts("Expo",function(t){return t?Math.pow(2,10*(t-1)):0});ts("Circ",function(t){return-(jI(1-t*t)-1)});ts("Sine",function(t){return t===1?1:-eq(t*KT)+1});ts("Back",sC("in"),sC("out"),sC());ke.SteppedEase=ke.steps=_t.SteppedEase={config:function(e,r){e===void 0&&(e=1);var n=1/e,o=e+(r?0:1),i=r?1:0,c=1-Ne;return function(l){return((o*Jc(0,c,l)|0)+i)*n}}};Es.ease=ke["quad.out"];kt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return vj+=t+","+t+"Params,"});var rN=function(e,r){this.id=QT++,e._gsap=this,this.target=e,this.harness=r,this.get=r?r.get:TI,this.set=r?r.getSetter:jj},Vc=function(){function t(r){this.vars=r,this._delay=+r.delay||0,(this._repeat=r.repeat===1/0?-2:r.repeat||0)&&(this._rDelay=r.repeatDelay||0,this._yoyo=!!r.yoyo||!!r.yoyoEase),this._ts=1,Hs(this,+r.duration,1,1),this.data=r.data,De&&(this._ctx=De,De.data.push(this)),Hc||It.wake()}var e=t.prototype;return e.delay=function(n){return n||n===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+n-this._delay),this._delay=n,this):this._delay},e.duration=function(n){return arguments.length?this.totalDuration(this._repeat>0?n+(n+this._rDelay)*this._repeat:n):this.totalDuration()&&this._dur},e.totalDuration=function(n){return arguments.length?(this._dirty=0,Hs(this,this._repeat<0?n:(n-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(n,o){if(Vs(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(N9(this,n),!i._dp||i.parent||EI(i,this);i&&i.parent;)i.parent._time!==i._start+(i._ts>=0?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&n<this._tDur||this._ts<0&&n>0||!this._tDur&&!n)&&la(this._dp,this,this._start-this._delay)}return(this._tTime!==n||!this._dur&&!o||this._initted&&Math.abs(this._zTime)===Ne||!n&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=n),qI(this,n,o)),this},e.time=function(n,o){return arguments.length?this.totalTime(Math.min(this.totalDuration(),n+PS(this))%(this._dur+this._rDelay)||(n?this._dur:0),o):this._time},e.totalProgress=function(n,o){return arguments.length?this.totalTime(this.totalDuration()*n,o):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},e.progress=function(n,o){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-n:n)+PS(this),o):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(n,o){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(n-1)*i,o):this._repeat?Os(this._tTime,i)+1:1},e.timeScale=function(n,o){if(!arguments.length)return this._rts===-Ne?0:this._rts;if(this._rts===n)return this;var i=this.parent&&this._ts?h9(this.parent._time,this):this._tTime;return this._rts=+n||0,this._ts=this._ps||n===-Ne?0:this._rts,this.totalTime(Jc(-Math.abs(this._delay),this._tDur,i),o!==!1),I9(this),cq(this)},e.paused=function(n){return arguments.length?(this._ps!==n&&(this._ps=n,n?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Vs(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==Ne&&(this._tTime-=Ne)))),this):this._ps},e.startTime=function(n){if(arguments.length){this._start=n;var o=this.parent||this._dp;return o&&(o._sort||!this.parent)&&la(o,this,n-this._delay),this}return this._start},e.endTime=function(n){return this._start+(xt(n)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(n){var o=this.parent||this._dp;return o?n&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?h9(o.rawTime(n),this):this._tTime:this._tTime},e.revert=function(n){n===void 0&&(n=nq);var o=ht;return ht=n,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(n),this.totalTime(-.01,n.suppressEvents)),this.data!=="nested"&&n.kill!==!1&&this.kill(),ht=o,this},e.globalTime=function(n){for(var o=this,i=arguments.length?n:o.rawTime();o;)i=o._start+i/(Math.abs(o._ts)||1),o=o._dp;return!this.parent&&this._sat?this._sat.globalTime(n):i},e.repeat=function(n){return arguments.length?(this._repeat=n===1/0?-2:n,_S(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(n){if(arguments.length){var o=this._time;return this._rDelay=n,_S(this),o?this.time(o):this}return this._rDelay},e.yoyo=function(n){return arguments.length?(this._yoyo=n,this):this._yoyo},e.seek=function(n,o){return this.totalTime(Ft(this,n),xt(o))},e.restart=function(n,o){return this.play().totalTime(n?-this._delay:0,xt(o))},e.play=function(n,o){return n!=null&&this.seek(n,o),this.reversed(!1).paused(!1)},e.reverse=function(n,o){return n!=null&&this.seek(n||this.totalDuration(),o),this.reversed(!0).paused(!1)},e.pause=function(n,o){return n!=null&&this.seek(n,o),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(n){return arguments.length?(!!n!==this.reversed()&&this.timeScale(-this._rts||(n?-Ne:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-Ne,this},e.isActive=function(){var n=this.parent||this._dp,o=this._start,i;return!!(!n||this._ts&&this._initted&&n.isActive()&&(i=n.rawTime(!0))>=o&&i<this.endTime(!0)-Ne)},e.eventCallback=function(n,o,i){var c=this.vars;return arguments.length>1?(o?(c[n]=o,i&&(c[n+"Params"]=i),n==="onUpdate"&&(this._onUpdate=o)):delete c[n],this):c[n]},e.then=function(n){var o=this;return new Promise(function(i){var c=Ve(n)?n:zI,l=function(){var h=o.then;o.then=null,Ve(c)&&(c=c(o))&&(c.then||c===o)&&(o.then=h),i(c),o.then=h};o._initted&&o.totalProgress()===1&&o._ts>=0||!o._tTime&&o._ts<0?l():o._prom=l})},e.kill=function(){sc(this)},t}();$t(Vc.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-Ne,_prom:0,_ps:!1,_rts:1});var yt=function(t){CI(e,t);function e(n,o){var i;return n===void 0&&(n={}),i=t.call(this,n)||this,i.labels={},i.smoothChildTiming=!!n.smoothChildTiming,i.autoRemoveChildren=!!n.autoRemoveChildren,i._sort=xt(n.sortChildren),Fe&&la(n.parent||Fe,Ca(i),o),n.reversed&&i.reverse(),n.paused&&i.paused(!0),n.scrollTrigger&&OI(Ca(i),n.scrollTrigger),i}var r=e.prototype;return r.to=function(o,i,c){return Rc(0,arguments,this),this},r.from=function(o,i,c){return Rc(1,arguments,this),this},r.fromTo=function(o,i,c,l){return Rc(2,arguments,this),this},r.set=function(o,i,c){return i.duration=0,i.parent=this,_c(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new Ye(o,i,Ft(this,c),1),this},r.call=function(o,i,c){return la(this,Ye.delayedCall(0,o,i),c)},r.staggerTo=function(o,i,c,l,d,h,u){return c.duration=i,c.stagger=c.stagger||l,c.onComplete=h,c.onCompleteParams=u,c.parent=this,new Ye(o,c,Ft(this,d)),this},r.staggerFrom=function(o,i,c,l,d,h,u){return c.runBackwards=1,_c(c).immediateRender=xt(c.immediateRender),this.staggerTo(o,i,c,l,d,h,u)},r.staggerFromTo=function(o,i,c,l,d,h,u,p){return l.startAt=c,_c(l).immediateRender=xt(l.immediateRender),this.staggerTo(o,i,l,d,h,u,p)},r.render=function(o,i,c){var l=this._time,d=this._dirty?this.totalDuration():this._tDur,h=this._dur,u=o<=0?0:et(o),p=this._zTime<0!=o<0&&(this._initted||!h),y,f,k,m,x,v,w,C,M,b,N,L;if(this!==Fe&&u>d&&o>=0&&(u=d),u!==this._tTime||c||p){if(l!==this._time&&h&&(u+=this._time-l,o+=this._time-l),y=u,M=this._start,C=this._ts,v=!C,p&&(h||(l=this._zTime),(o||!i)&&(this._zTime=o)),this._repeat){if(N=this._yoyo,x=h+this._rDelay,this._repeat<-1&&o<0)return this.totalTime(x*100+o,i,c);if(y=et(u%x),u===d?(m=this._repeat,y=h):(m=~~(u/x),m&&m===u/x&&(y=h,m--),y>h&&(y=h)),b=Os(this._tTime,x),!l&&this._tTime&&b!==m&&this._tTime-b*x-this._dur<=0&&(b=m),N&&m&1&&(y=h-y,L=1),m!==b&&!this._lock){var A=N&&b&1,I=A===(N&&m&1);if(m<b&&(A=!A),l=A?0:u%h?h:u,this._lock=1,this.render(l||(L?0:et(m*x)),i,!h)._lock=0,this._tTime=u,!i&&this.parent&&Nt(this,"onRepeat"),this.vars.repeatRefresh&&!L&&(this.invalidate()._lock=1),l&&l!==this._time||v!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(h=this._dur,d=this._tDur,I&&(this._lock=2,l=A?h:-1e-4,this.render(l,!0),this.vars.repeatRefresh&&!L&&this.invalidate()),this._lock=0,!this._ts&&!v)return this;tN(this,L)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(w=uq(this,et(l),et(y)),w&&(u-=y-(y=w._start))),this._tTime=u,this._time=y,this._act=!C,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=o,l=0),!l&&y&&!i&&!m&&(Nt(this,"onStart"),this._tTime!==u))return this;if(y>=l&&o>=0)for(f=this._first;f;){if(k=f._next,(f._act||y>=f._start)&&f._ts&&w!==f){if(f.parent!==this)return this.render(o,i,c);if(f.render(f._ts>0?(y-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(y-f._start)*f._ts,i,c),y!==this._time||!this._ts&&!v){w=0,k&&(u+=this._zTime=-Ne);break}}f=k}else{f=this._last;for(var q=o<0?o:y;f;){if(k=f._prev,(f._act||q<=f._end)&&f._ts&&w!==f){if(f.parent!==this)return this.render(o,i,c);if(f.render(f._ts>0?(q-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(q-f._start)*f._ts,i,c||ht&&(f._initted||f._startAt)),y!==this._time||!this._ts&&!v){w=0,k&&(u+=this._zTime=q?-Ne:Ne);break}}f=k}}if(w&&!i&&(this.pause(),w.render(y>=l?0:-Ne)._zTime=y>=l?1:-1,this._ts))return this._start=M,I9(this),this.render(o,i,c);this._onUpdate&&!i&&Nt(this,"onUpdate",!0),(u===d&&this._tTime>=this.totalDuration()||!u&&l)&&(M===this._start||Math.abs(C)!==Math.abs(this._ts))&&(this._lock||((o||!h)&&(u===d&&this._ts>0||!u&&this._ts<0)&&tr(this,1),!i&&!(o<0&&!l)&&(u||l||!d)&&(Nt(this,u===d&&o>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<d&&this.timeScale()>0)&&this._prom())))}return this},r.add=function(o,i){var c=this;if(Ta(i)||(i=Ft(this,i,o)),!(o instanceof Vc)){if(ut(o))return o.forEach(function(l){return c.add(l,i)}),this;if(at(o))return this.addLabel(o,i);if(Ve(o))o=Ye.delayedCall(0,o);else return this}return this!==o?la(this,o,i):this},r.getChildren=function(o,i,c,l){o===void 0&&(o=!0),i===void 0&&(i=!0),c===void 0&&(c=!0),l===void 0&&(l=-Ot);for(var d=[],h=this._first;h;)h._start>=l&&(h instanceof Ye?i&&d.push(h):(c&&d.push(h),o&&d.push.apply(d,h.getChildren(!0,i,c)))),h=h._next;return d},r.getById=function(o){for(var i=this.getChildren(1,1,1),c=i.length;c--;)if(i[c].vars.id===o)return i[c]},r.remove=function(o){return at(o)?this.removeLabel(o):Ve(o)?this.killTweensOf(o):(L9(this,o),o===this._recent&&(this._recent=this._last),Ui(this))},r.totalTime=function(o,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=et(It.time-(this._ts>0?o/this._ts:(this.totalDuration()-o)/-this._ts))),t.prototype.totalTime.call(this,o,i),this._forcing=0,this):this._tTime},r.addLabel=function(o,i){return this.labels[o]=Ft(this,i),this},r.removeLabel=function(o){return delete this.labels[o],this},r.addPause=function(o,i,c){var l=Ye.delayedCall(0,i||Ec,c);return l.data="isPause",this._hasPause=1,la(this,l,Ft(this,o))},r.removePause=function(o){var i=this._first;for(o=Ft(this,o);i;)i._start===o&&i.data==="isPause"&&tr(i),i=i._next},r.killTweensOf=function(o,i,c){for(var l=this.getTweensOf(o,c),d=l.length;d--;)Wa!==l[d]&&l[d].kill(o,i);return this},r.getTweensOf=function(o,i){for(var c=[],l=Ht(o),d=this._first,h=Ta(i),u;d;)d instanceof Ye?oq(d._targets,l)&&(h?(!Wa||d._initted&&d._ts)&&d.globalTime(0)<=i&&d.globalTime(d.totalDuration())>i:!i||d.isActive())&&c.push(d):(u=d.getTweensOf(l,i)).length&&c.push.apply(c,u),d=d._next;return c},r.tweenTo=function(o,i){i=i||{};var c=this,l=Ft(c,o),d=i,h=d.startAt,u=d.onStart,p=d.onStartParams,y=d.immediateRender,f,k=Ye.to(c,$t({ease:i.ease||"none",lazy:!1,immediateRender:!1,time:l,overwrite:"auto",duration:i.duration||Math.abs((l-(h&&"time"in h?h.time:c._time))/c.timeScale())||Ne,onStart:function(){if(c.pause(),!f){var x=i.duration||Math.abs((l-(h&&"time"in h?h.time:c._time))/c.timeScale());k._dur!==x&&Hs(k,x,0,1).render(k._time,!0,!0),f=1}u&&u.apply(k,p||[])}},i));return y?k.render(0):k},r.tweenFromTo=function(o,i,c){return this.tweenTo(i,$t({startAt:{time:Ft(this,o)}},c))},r.recent=function(){return this._recent},r.nextLabel=function(o){return o===void 0&&(o=this._time),RS(this,Ft(this,o))},r.previousLabel=function(o){return o===void 0&&(o=this._time),RS(this,Ft(this,o),1)},r.currentLabel=function(o){return arguments.length?this.seek(o,!0):this.previousLabel(this._time+Ne)},r.shiftChildren=function(o,i,c){c===void 0&&(c=0);for(var l=this._first,d=this.labels,h;l;)l._start>=c&&(l._start+=o,l._end+=o),l=l._next;if(i)for(h in d)d[h]>=c&&(d[h]+=o);return Ui(this)},r.invalidate=function(o){var i=this._first;for(this._lock=0;i;)i.invalidate(o),i=i._next;return t.prototype.invalidate.call(this,o)},r.clear=function(o){o===void 0&&(o=!0);for(var i=this._first,c;i;)c=i._next,this.remove(i),i=c;return this._dp&&(this._time=this._tTime=this._pTime=0),o&&(this.labels={}),Ui(this)},r.totalDuration=function(o){var i=0,c=this,l=c._last,d=Ot,h,u,p;if(arguments.length)return c.timeScale((c._repeat<0?c.duration():c.totalDuration())/(c.reversed()?-o:o));if(c._dirty){for(p=c.parent;l;)h=l._prev,l._dirty&&l.totalDuration(),u=l._start,u>d&&c._sort&&l._ts&&!c._lock?(c._lock=1,la(c,l,u-l._delay,1)._lock=0):d=u,u<0&&l._ts&&(i-=u,(!p&&!c._dp||p&&p.smoothChildTiming)&&(c._start+=u/c._ts,c._time-=u,c._tTime-=u),c.shiftChildren(-u,!1,-1/0),d=0),l._end>i&&l._ts&&(i=l._end),l=h;Hs(c,c===Fe&&c._time>i?c._time:i,1,1),c._dirty=0}return c._tDur},e.updateRoot=function(o){if(Fe._ts&&(qI(Fe,h9(o,Fe)),RI=It.frame),It.frame>=NS){NS+=At.autoSleep||120;var i=Fe._first;if((!i||!i._ts)&&At.autoSleep&&It._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||It.sleep()}}},e}(Vc);$t(yt.prototype,{_lock:0,_hasPause:0,_forcing:0});var Iq=function(e,r,n,o,i,c,l){var d=new gt(this._pt,e,r,0,1,lN,null,i),h=0,u=0,p,y,f,k,m,x,v,w;for(d.b=n,d.e=o,n+="",o+="",(v=~o.indexOf("random("))&&(o=Oc(o)),c&&(w=[n,o],c(w,e,r),n=w[0],o=w[1]),y=n.match(rC)||[];p=rC.exec(o);)k=p[0],m=o.substring(h,p.index),f?f=(f+1)%5:m.substr(-5)==="rgba("&&(f=1),k!==y[u++]&&(x=parseFloat(y[u-1])||0,d._pt={_next:d._pt,p:m||u===1?m:",",s:x,c:k.charAt(1)==="="?_s(x,k)-x:parseFloat(k)-x,m:f&&f<4?Math.round:0},h=rC.lastIndex);return d.c=h<o.length?o.substring(h,o.length):"",d.fp=l,(II.test(o)||v)&&(d.e=0),this._pt=d,d},Mj=function(e,r,n,o,i,c,l,d,h,u){Ve(o)&&(o=o(i||0,e,c));var p=e[r],y=n!=="get"?n:Ve(p)?h?e[r.indexOf("set")||!Ve(e["get"+r.substr(3)])?r:"get"+r.substr(3)](h):e[r]():p,f=Ve(p)?h?Rq:sN:Cj,k;if(at(o)&&(~o.indexOf("random(")&&(o=Oc(o)),o.charAt(1)==="="&&(k=_s(y,o)+(dt(y)||0),(k||k===0)&&(o=k))),!u||y!==o||BC)return!isNaN(y*o)&&o!==""?(k=new gt(this._pt,e,r,+y||0,o-(y||0),typeof p=="boolean"?qq:cN,0,f),h&&(k.fp=h),l&&k.modifier(l,this,e),this._pt=k):(!p&&!(r in e)&&kj(r,o),Iq.call(this,e,r,y,o,f,d||At.stringFilter,h))},Nq=function(e,r,n,o,i){if(Ve(e)&&(e=Tc(e,i,r,n,o)),!xa(e)||e.style&&e.nodeType||ut(e)||SI(e))return at(e)?Tc(e,i,r,n,o):e;var c={},l;for(l in e)c[l]=Tc(e[l],i,r,n,o);return c},nN=function(e,r,n,o,i,c){var l,d,h,u;if(Ct[e]&&(l=new Ct[e]).init(i,l.rawVars?r[e]:Nq(r[e],o,i,c,n),n,o,c)!==!1&&(n._pt=d=new gt(n._pt,i,e,0,1,l.render,l,0,l.priority),n!==ms))for(h=n._ptLookup[n._targets.indexOf(i)],u=l._props.length;u--;)h[l._props[u]]=d;return l},Wa,BC,bj=function t(e,r,n){var o=e.vars,i=o.ease,c=o.startAt,l=o.immediateRender,d=o.lazy,h=o.onUpdate,u=o.runBackwards,p=o.yoyoEase,y=o.keyframes,f=o.autoRevert,k=e._dur,m=e._startAt,x=e._targets,v=e.parent,w=v&&v.data==="nested"?v.vars.targets:x,C=e._overwrite==="auto"&&!yj,M=e.timeline,b,N,L,A,I,q,P,_,R,U,W,V,O;if(M&&(!y||!i)&&(i="none"),e._ease=$i(i,Es.ease),e._yEase=p?eN($i(p===!0?i:p,Es.ease)):0,p&&e._yoyo&&!e._repeat&&(p=e._yEase,e._yEase=e._ease,e._ease=p),e._from=!M&&!!o.runBackwards,!M||y&&!o.stagger){if(_=x[0]?Bi(x[0]).harness:0,V=_&&o[_.prop],b=d9(o,gj),m&&(m._zTime<0&&m.progress(1),r<0&&u&&l&&!f?m.render(-1,!0):m.revert(u&&k?e9:rq),m._lazy=0),c){if(tr(e._startAt=Ye.set(x,$t({data:"isStart",overwrite:!1,parent:v,immediateRender:!0,lazy:!m&&xt(d),startAt:null,delay:0,onUpdate:h&&function(){return Nt(e,"onUpdate")},stagger:0},c))),e._startAt._dp=0,e._startAt._sat=e,r<0&&(ht||!l&&!f)&&e._startAt.revert(e9),l&&k&&r<=0&&n<=0){r&&(e._zTime=r);return}}else if(u&&k&&!m){if(r&&(l=!1),L=$t({overwrite:!1,data:"isFromStart",lazy:l&&!m&&xt(d),immediateRender:l,stagger:0,parent:v},b),V&&(L[_.prop]=V),tr(e._startAt=Ye.set(x,L)),e._startAt._dp=0,e._startAt._sat=e,r<0&&(ht?e._startAt.revert(e9):e._startAt.render(-1,!0)),e._zTime=r,!l)t(e._startAt,Ne,Ne);else if(!r)return}for(e._pt=e._ptCache=0,d=k&&xt(d)||d&&!k,N=0;N<x.length;N++){if(I=x[N],P=I._gsap||wj(x)[N]._gsap,e._ptLookup[N]=U={},zC[P.id]&&Ka.length&&l9(),W=w===x?N:w.indexOf(I),_&&(R=new _).init(I,V||b,e,W,w)!==!1&&(e._pt=A=new gt(e._pt,I,R.name,0,1,R.render,R,0,R.priority),R._props.forEach(function(E){U[E]=A}),R.priority&&(q=1)),!_||V)for(L in b)Ct[L]&&(R=nN(L,b,e,W,I,w))?R.priority&&(q=1):U[L]=A=Mj.call(e,I,L,"get",b[L],W,w,0,o.stringFilter);e._op&&e._op[N]&&e.kill(I,e._op[N]),C&&e._pt&&(Wa=e,Fe.killTweensOf(I,U,e.globalTime(r)),O=!e.parent,Wa=0),e._pt&&d&&(zC[P.id]=1)}q&&dN(e),e._onInit&&e._onInit(e)}e._onUpdate=h,e._initted=(!e._op||e._pt)&&!O,y&&r<=0&&M.render(Ot,!0,!0)},Aq=function(e,r,n,o,i,c,l,d){var h=(e._pt&&e._ptCache||(e._ptCache={}))[r],u,p,y,f;if(!h)for(h=e._ptCache[r]=[],y=e._ptLookup,f=e._targets.length;f--;){if(u=y[f][r],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==r&&u.fp!==r;)u=u._next;if(!u)return BC=1,e.vars[r]="+=0",bj(e,l),BC=0,d?Fc(r+" not eligible for reset"):1;h.push(u)}for(f=h.length;f--;)p=h[f],u=p._pt||p,u.s=(o||o===0)&&!i?o:u.s+(o||0)+c*u.c,u.c=n-u.s,p.e&&(p.e=Ge(n)+dt(p.e)),p.b&&(p.b=u.s+dt(p.b))},Pq=function(e,r){var n=e[0]?Bi(e[0]).harness:0,o=n&&n.aliases,i,c,l,d;if(!o)return r;i=Wi({},r);for(c in o)if(c in i)for(d=o[c].split(","),l=d.length;l--;)i[d[l]]=i[c];return i},_q=function(e,r,n,o){var i=r.ease||o||"power1.inOut",c,l;if(ut(r))l=n[e]||(n[e]=[]),r.forEach(function(d,h){return l.push({t:h/(r.length-1)*100,v:d,e:i})});else for(c in r)l=n[c]||(n[c]=[]),c==="ease"||l.push({t:parseFloat(e),v:r[c],e:i})},Tc=function(e,r,n,o,i){return Ve(e)?e.call(r,n,o,i):at(e)&&~e.indexOf("random(")?Oc(e):e},oN=vj+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",iN={};kt(oN+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return iN[t]=1});var Ye=function(t){CI(e,t);function e(n,o,i,c){var l;typeof o=="number"&&(i.duration=o,o=i,i=null),l=t.call(this,c?o:_c(o))||this;var d=l.vars,h=d.duration,u=d.delay,p=d.immediateRender,y=d.stagger,f=d.overwrite,k=d.keyframes,m=d.defaults,x=d.scrollTrigger,v=d.yoyoEase,w=o.parent||Fe,C=(ut(n)||SI(n)?Ta(n[0]):"length"in o)?[n]:Ht(n),M,b,N,L,A,I,q,P;if(l._targets=C.length?wj(C):Fc("GSAP target "+n+" not found. https://gsap.com",!At.nullTargetWarn)||[],l._ptLookup=[],l._overwrite=f,k||y||t1(h)||t1(u)){if(o=l.vars,M=l.timeline=new yt({data:"nested",defaults:m||{},targets:w&&w.data==="nested"?w.vars.targets:C}),M.kill(),M.parent=M._dp=Ca(l),M._start=0,y||t1(h)||t1(u)){if(L=C.length,q=y&&UI(y),xa(y))for(A in y)~oN.indexOf(A)&&(P||(P={}),P[A]=y[A]);for(b=0;b<L;b++)N=d9(o,iN),N.stagger=0,v&&(N.yoyoEase=v),P&&Wi(N,P),I=C[b],N.duration=+Tc(h,Ca(l),b,I,C),N.delay=(+Tc(u,Ca(l),b,I,C)||0)-l._delay,!y&&L===1&&N.delay&&(l._delay=u=N.delay,l._start+=u,N.delay=0),M.to(I,N,q?q(b,I,C):0),M._ease=ke.none;M.duration()?h=u=0:l.timeline=0}else if(k){_c($t(M.vars.defaults,{ease:"none"})),M._ease=$i(k.ease||o.ease||"none");var _=0,R,U,W;if(ut(k))k.forEach(function(V){return M.to(C,V,">")}),M.duration();else{N={};for(A in k)A==="ease"||A==="easeEach"||_q(A,k[A],N,k.easeEach);for(A in N)for(R=N[A].sort(function(V,O){return V.t-O.t}),_=0,b=0;b<R.length;b++)U=R[b],W={ease:U.e,duration:(U.t-(b?R[b-1].t:0))/100*h},W[A]=U.v,M.to(C,W,_),_+=W.duration;M.duration()<h&&M.to({},{duration:h-M.duration()})}}h||l.duration(h=M.duration())}else l.timeline=0;return f===!0&&!yj&&(Wa=Ca(l),Fe.killTweensOf(C),Wa=0),la(w,Ca(l),i),o.reversed&&l.reverse(),o.paused&&l.paused(!0),(p||!h&&!k&&l._start===et(w._time)&&xt(p)&&lq(Ca(l))&&w.data!=="nested")&&(l._tTime=-Ne,l.render(Math.max(0,-u)||0)),x&&OI(Ca(l),x),l}var r=e.prototype;return r.render=function(o,i,c){var l=this._time,d=this._tDur,h=this._dur,u=o<0,p=o>d-Ne&&!u?d:o<Ne?0:o,y,f,k,m,x,v,w,C,M;if(!h)hq(this,o,i,c);else if(p!==this._tTime||!o||c||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u){if(y=p,C=this.timeline,this._repeat){if(m=h+this._rDelay,this._repeat<-1&&u)return this.totalTime(m*100+o,i,c);if(y=et(p%m),p===d?(k=this._repeat,y=h):(k=~~(p/m),k&&k===et(p/m)&&(y=h,k--),y>h&&(y=h)),v=this._yoyo&&k&1,v&&(M=this._yEase,y=h-y),x=Os(this._tTime,m),y===l&&!c&&this._initted&&k===x)return this._tTime=p,this;k!==x&&(C&&this._yEase&&tN(C,v),this.vars.repeatRefresh&&!v&&!this._lock&&this._time!==m&&this._initted&&(this._lock=c=1,this.render(et(m*k),!0).invalidate()._lock=0))}if(!this._initted){if(HI(this,u?o:y,c,i,p))return this._tTime=0,this;if(l!==this._time&&!(c&&this.vars.repeatRefresh&&k!==x))return this;if(h!==this._dur)return this.render(o,i,c)}if(this._tTime=p,this._time=y,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=w=(M||this._ease)(y/h),this._from&&(this.ratio=w=1-w),y&&!l&&!i&&!k&&(Nt(this,"onStart"),this._tTime!==p))return this;for(f=this._pt;f;)f.r(w,f.d),f=f._next;C&&C.render(o<0?o:C._dur*C._ease(y/this._dur),i,c)||this._startAt&&(this._zTime=o),this._onUpdate&&!i&&(u&&FC(this,o,i,c),Nt(this,"onUpdate")),this._repeat&&k!==x&&this.vars.onRepeat&&!i&&this.parent&&Nt(this,"onRepeat"),(p===this._tDur||!p)&&this._tTime===p&&(u&&!this._onUpdate&&FC(this,o,!0,!0),(o||!h)&&(p===this._tDur&&this._ts>0||!p&&this._ts<0)&&tr(this,1),!i&&!(u&&!l)&&(p||l||v)&&(Nt(this,p===d?"onComplete":"onReverseComplete",!0),this._prom&&!(p<d&&this.timeScale()>0)&&this._prom()))}return this},r.targets=function(){return this._targets},r.invalidate=function(o){return(!o||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(o),t.prototype.invalidate.call(this,o)},r.resetTo=function(o,i,c,l,d){Hc||It.wake(),this._ts||this.play();var h=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||bj(this,h),u=this._ease(h/this._dur),Aq(this,o,i,c,l,u,h,d)?this.resetTo(o,i,c,l,1):(N9(this,0),this.parent||FI(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(o,i){if(i===void 0&&(i="all"),!o&&(!i||i==="all"))return this._lazy=this._pt=0,this.parent?sc(this):this;if(this.timeline){var c=this.timeline.totalDuration();return this.timeline.killTweensOf(o,i,Wa&&Wa.vars.overwrite!==!0)._first||sc(this),this.parent&&c!==this.timeline.totalDuration()&&Hs(this,this._dur*this.timeline._tDur/c,0,1),this}var l=this._targets,d=o?Ht(o):l,h=this._ptLookup,u=this._pt,p,y,f,k,m,x,v;if((!i||i==="all")&&sq(l,d))return i==="all"&&(this._pt=0),sc(this);for(p=this._op=this._op||[],i!=="all"&&(at(i)&&(m={},kt(i,function(w){return m[w]=1}),i=m),i=Pq(l,i)),v=l.length;v--;)if(~d.indexOf(l[v])){y=h[v],i==="all"?(p[v]=i,k=y,f={}):(f=p[v]=p[v]||{},k=i);for(m in k)x=y&&y[m],x&&((!("kill"in x.d)||x.d.kill(m)===!0)&&L9(this,x,"_pt"),delete y[m]),f!=="all"&&(f[m]=1)}return this._initted&&!this._pt&&u&&sc(this),this},e.to=function(o,i){return new e(o,i,arguments[2])},e.from=function(o,i){return Rc(1,arguments)},e.delayedCall=function(o,i,c,l){return new e(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:o,onComplete:i,onReverseComplete:i,onCompleteParams:c,onReverseCompleteParams:c,callbackScope:l})},e.fromTo=function(o,i,c){return Rc(2,arguments)},e.set=function(o,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new e(o,i)},e.killTweensOf=function(o,i,c){return Fe.killTweensOf(o,i,c)},e}(Vc);$t(Ye.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});kt("staggerTo,staggerFrom,staggerFromTo",function(t){Ye[t]=function(){var e=new yt,r=OC.call(arguments,0);return r.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,r)}});var Cj=function(e,r,n){return e[r]=n},sN=function(e,r,n){return e[r](n)},Rq=function(e,r,n,o){return e[r](o.fp,n)},Tq=function(e,r,n){return e.setAttribute(r,n)},jj=function(e,r){return Ve(e[r])?sN:mj(e[r])&&e.setAttribute?Tq:Cj},cN=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e6)/1e6,r)},qq=function(e,r){return r.set(r.t,r.p,!!(r.s+r.c*e),r)},lN=function(e,r){var n=r._pt,o="";if(!e&&r.b)o=r.b;else if(e===1&&r.e)o=r.e;else{for(;n;)o=n.p+(n.m?n.m(n.s+n.c*e):Math.round((n.s+n.c*e)*1e4)/1e4)+o,n=n._next;o+=r.c}r.set(r.t,r.p,o,r)},Sj=function(e,r){for(var n=r._pt;n;)n.r(e,n.d),n=n._next},Dq=function(e,r,n,o){for(var i=this._pt,c;i;)c=i._next,i.p===o&&i.modifier(e,r,n),i=c},zq=function(e){for(var r=this._pt,n,o;r;)o=r._next,r.p===e&&!r.op||r.op===e?L9(this,r,"_pt"):r.dep||(n=1),r=o;return!n},Fq=function(e,r,n,o){o.mSet(e,r,o.m.call(o.tween,n,o.mt),o)},dN=function(e){for(var r=e._pt,n,o,i,c;r;){for(n=r._next,o=i;o&&o.pr>r.pr;)o=o._next;(r._prev=o?o._prev:c)?r._prev._next=r:i=r,(r._next=o)?o._prev=r:c=r,r=n}e._pt=i},gt=function(){function t(r,n,o,i,c,l,d,h,u){this.t=n,this.s=i,this.c=c,this.p=o,this.r=l||cN,this.d=d||this,this.set=h||Cj,this.pr=u||0,this._next=r,r&&(r._prev=this)}var e=t.prototype;return e.modifier=function(n,o,i){this.mSet=this.mSet||this.set,this.set=Fq,this.m=n,this.mt=i,this.tween=o},t}();kt(vj+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(t){return gj[t]=1});_t.TweenMax=_t.TweenLite=Ye;_t.TimelineLite=_t.TimelineMax=yt;Fe=new yt({sortChildren:!1,defaults:Es,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});At.stringFilter=QI;var Gi=[],a9={},Eq=[],qS=0,Oq=0,cC=function(e){return(a9[e]||Eq).map(function(r){return r()})},UC=function(){var e=Date.now(),r=[];e-qS>2&&(cC("matchMediaInit"),Gi.forEach(function(n){var o=n.queries,i=n.conditions,c,l,d,h;for(l in o)c=sa.matchMedia(o[l]).matches,c&&(d=1),c!==i[l]&&(i[l]=c,h=1);h&&(n.revert(),d&&r.push(n))}),cC("matchMediaRevert"),r.forEach(function(n){return n.onMatch(n,function(o){return n.add(null,o)})}),qS=e,cC("matchMedia"))},hN=function(){function t(r,n){this.selector=n&&HC(n),this.data=[],this._r=[],this.isReverted=!1,this.id=Oq++,r&&this.add(r)}var e=t.prototype;return e.add=function(n,o,i){Ve(n)&&(i=o,o=n,n=Ve);var c=this,l=function(){var h=De,u=c.selector,p;return h&&h!==c&&h.data.push(c),i&&(c.selector=HC(i)),De=c,p=o.apply(c,arguments),Ve(p)&&c._r.push(p),De=h,c.selector=u,c.isReverted=!1,p};return c.last=l,n===Ve?l(c,function(d){return c.add(null,d)}):n?c[n]=l:l},e.ignore=function(n){var o=De;De=null,n(this),De=o},e.getTweens=function(){var n=[];return this.data.forEach(function(o){return o instanceof t?n.push.apply(n,o.getTweens()):o instanceof Ye&&!(o.parent&&o.parent.data==="nested")&&n.push(o)}),n},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(n,o){var i=this;if(n?function(){for(var l=i.getTweens(),d=i.data.length,h;d--;)h=i.data[d],h.data==="isFlip"&&(h.revert(),h.getChildren(!0,!0,!1).forEach(function(u){return l.splice(l.indexOf(u),1)}));for(l.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,p){return p.g-u.g||-1/0}).forEach(function(u){return u.t.revert(n)}),d=i.data.length;d--;)h=i.data[d],h instanceof yt?h.data!=="nested"&&(h.scrollTrigger&&h.scrollTrigger.revert(),h.kill()):!(h instanceof Ye)&&h.revert&&h.revert(n);i._r.forEach(function(u){return u(n,i)}),i.isReverted=!0}():this.data.forEach(function(l){return l.kill&&l.kill()}),this.clear(),o)for(var c=Gi.length;c--;)Gi[c].id===this.id&&Gi.splice(c,1)},e.revert=function(n){this.kill(n||{})},t}(),Hq=function(){function t(r){this.contexts=[],this.scope=r,De&&De.data.push(this)}var e=t.prototype;return e.add=function(n,o,i){xa(n)||(n={matches:n});var c=new hN(0,i||this.scope),l=c.conditions={},d,h,u;De&&!c.selector&&(c.selector=De.selector),this.contexts.push(c),o=c.add("onMatch",o),c.queries=n;for(h in n)h==="all"?u=1:(d=sa.matchMedia(n[h]),d&&(Gi.indexOf(c)<0&&Gi.push(c),(l[h]=d.matches)&&(u=1),d.addListener?d.addListener(UC):d.addEventListener("change",UC)));return u&&o(c,function(p){return c.add(null,p)}),this},e.revert=function(n){this.kill(n||{})},e.kill=function(n){this.contexts.forEach(function(o){return o.kill(n,!0)})},t}(),u9={registerPlugin:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];r.forEach(function(o){return JI(o)})},timeline:function(e){return new yt(e)},getTweensOf:function(e,r){return Fe.getTweensOf(e,r)},getProperty:function(e,r,n,o){at(e)&&(e=Ht(e)[0]);var i=Bi(e||{}).get,c=n?zI:DI;return n==="native"&&(n=""),e&&(r?c((Ct[r]&&Ct[r].get||i)(e,r,n,o)):function(l,d,h){return c((Ct[l]&&Ct[l].get||i)(e,l,d,h))})},quickSetter:function(e,r,n){if(e=Ht(e),e.length>1){var o=e.map(function(u){return wt.quickSetter(u,r,n)}),i=o.length;return function(u){for(var p=i;p--;)o[p](u)}}e=e[0]||{};var c=Ct[r],l=Bi(e),d=l.harness&&(l.harness.aliases||{})[r]||r,h=c?function(u){var p=new c;ms._pt=0,p.init(e,n?u+n:u,ms,0,[e]),p.render(1,p),ms._pt&&Sj(1,ms)}:l.set(e,d);return c?h:function(u){return h(e,d,n?u+n:u,l,1)}},quickTo:function(e,r,n){var o,i=wt.to(e,Wi((o={},o[r]="+=0.1",o.paused=!0,o),n||{})),c=function(d,h,u){return i.resetTo(r,d,h,u)};return c.tween=i,c},isTweening:function(e){return Fe.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=$i(e.ease,Es.ease)),AS(Es,e||{})},config:function(e){return AS(At,e||{})},registerEffect:function(e){var r=e.name,n=e.effect,o=e.plugins,i=e.defaults,c=e.extendTimeline;(o||"").split(",").forEach(function(l){return l&&!Ct[l]&&!_t[l]&&Fc(r+" effect requires "+l+" plugin.")}),nC[r]=function(l,d,h){return n(Ht(l),$t(d||{},i),h)},c&&(yt.prototype[r]=function(l,d,h){return this.add(nC[r](l,xa(d)?d:(h=d)&&{},this),h)})},registerEase:function(e,r){ke[e]=$i(r)},parseEase:function(e,r){return arguments.length?$i(e,r):ke},getById:function(e){return Fe.getById(e)},exportRoot:function(e,r){e===void 0&&(e={});var n=new yt(e),o,i;for(n.smoothChildTiming=xt(e.smoothChildTiming),Fe.remove(n),n._dp=0,n._time=n._tTime=Fe._time,o=Fe._first;o;)i=o._next,(r||!(!o._dur&&o instanceof Ye&&o.vars.onComplete===o._targets[0]))&&la(n,o,o._start-o._delay),o=i;return la(Fe,n,0),n},context:function(e,r){return e?new hN(e,r):De},matchMedia:function(e){return new Hq(e)},matchMediaRefresh:function(){return Gi.forEach(function(e){var r=e.conditions,n,o;for(o in r)r[o]&&(r[o]=!1,n=1);n&&e.revert()})||UC()},addEventListener:function(e,r){var n=a9[e]||(a9[e]=[]);~n.indexOf(r)||n.push(r)},removeEventListener:function(e,r){var n=a9[e],o=n&&n.indexOf(r);o>=0&&n.splice(o,1)},utils:{wrap:gq,wrapYoyo:vq,distribute:UI,random:GI,snap:$I,normalize:kq,getUnit:dt,clamp:yq,splitColor:YI,toArray:Ht,selector:HC,mapRange:ZI,pipe:fq,unitize:xq,interpolate:wq,shuffle:BI},install:PI,effects:nC,ticker:It,updateRoot:yt.updateRoot,plugins:Ct,globalTimeline:Fe,core:{PropTween:gt,globals:_I,Tween:Ye,Timeline:yt,Animation:Vc,getCache:Bi,_removeLinkedListItem:L9,reverting:function(){return ht},context:function(e){return e&&De&&(De.data.push(e),e._ctx=De),De},suppressOverwrites:function(e){return yj=e}}};kt("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return u9[t]=Ye[t]});It.add(yt.updateRoot);ms=u9.to({},{duration:0});var Vq=function(e,r){for(var n=e._pt;n&&n.p!==r&&n.op!==r&&n.fp!==r;)n=n._next;return n},Bq=function(e,r){var n=e._targets,o,i,c;for(o in r)for(i=n.length;i--;)c=e._ptLookup[i][o],c&&(c=c.d)&&(c._pt&&(c=Vq(c,o)),c&&c.modifier&&c.modifier(r[o],e,n[i],o))},lC=function(e,r){return{name:e,rawVars:1,init:function(o,i,c){c._onInit=function(l){var d,h;if(at(i)&&(d={},kt(i,function(u){return d[u]=1}),i=d),r){d={};for(h in i)d[h]=r(i[h]);i=d}Bq(l,i)}}}},wt=u9.registerPlugin({name:"attr",init:function(e,r,n,o,i){var c,l,d;this.tween=n;for(c in r)d=e.getAttribute(c)||"",l=this.add(e,"setAttribute",(d||0)+"",r[c],o,i,0,0,c),l.op=c,l.b=d,this._props.push(c)},render:function(e,r){for(var n=r._pt;n;)ht?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:"endArray",init:function(e,r){for(var n=r.length;n--;)this.add(e,n,e[n]||0,r[n],0,0,0,0,0,1)}},lC("roundProps",VC),lC("modifiers"),lC("snap",$I))||u9;Ye.version=yt.version=wt.version="3.12.5";AI=1;fj()&&Vs();ke.Power0;ke.Power1;ke.Power2;ke.Power3;ke.Power4;ke.Linear;ke.Quad;ke.Cubic;ke.Quart;ke.Quint;ke.Strong;ke.Elastic;ke.Back;ke.SteppedEase;ke.Bounce;ke.Sine;ke.Expo;ke.Circ;/*!
7733
+ */var At={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Es={duration:.5,overwrite:!1,delay:0},yj,ht,De,Ot=1e8,Ne=1/Ot,TC=Math.PI*2,KT=TC/4,QT=0,jI=Math.sqrt,eq=Math.cos,tq=Math.sin,at=function(e){return typeof e=="string"},Ve=function(e){return typeof e=="function"},Ra=function(e){return typeof e=="number"},mj=function(e){return typeof e>"u"},xa=function(e){return typeof e=="object"},xt=function(e){return e!==!1},fj=function(){return typeof window<"u"},t1=function(e){return Ve(e)||at(e)},SI=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},ut=Array.isArray,qC=/(?:-?\.?\d|\.)+/gi,LI=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ys=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,rC=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,II=/[+-]=-?[.\d]+/,NI=/[^,'"\[\]\s]+/gi,aq=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Fe,sa,DC,xj,_t={},c9={},AI,PI=function(e){return(c9=Wi(e,_t))&&wt},kj=function(e,r){return console.warn("Invalid property",e,"set to",r,"Missing plugin? gsap.registerPlugin()")},Fc=function(e,r){return!r&&console.warn(e)},_I=function(e,r){return e&&(_t[e]=r)&&c9&&(c9[e]=r)||_t},Ec=function(){return 0},rq={suppressEvents:!0,isStart:!0,kill:!1},e9={suppressEvents:!0,kill:!1},nq={suppressEvents:!0},gj={},Ka=[],zC={},RI,Ct={},nC={},NS=30,t9=[],vj="",wj=function(e){var r=e[0],n,o;if(xa(r)||Ve(r)||(e=[e]),!(n=(r._gsap||{}).harness)){for(o=t9.length;o--&&!t9[o].targetTest(r););n=t9[o]}for(o=e.length;o--;)e[o]&&(e[o]._gsap||(e[o]._gsap=new rN(e[o],n)))||e.splice(o,1);return e},Bi=function(e){return e._gsap||wj(Ht(e))[0]._gsap},TI=function(e,r,n){return(n=e[r])&&Ve(n)?e[r]():mj(n)&&e.getAttribute&&e.getAttribute(r)||n},kt=function(e,r){return(e=e.split(",")).forEach(r)||e},Ge=function(e){return Math.round(e*1e5)/1e5||0},et=function(e){return Math.round(e*1e7)/1e7||0},_s=function(e,r){var n=r.charAt(0),o=parseFloat(r.substr(2));return e=parseFloat(e),n==="+"?e+o:n==="-"?e-o:n==="*"?e*o:e/o},oq=function(e,r){for(var n=r.length,o=0;e.indexOf(r[o])<0&&++o<n;);return o<n},l9=function(){var e=Ka.length,r=Ka.slice(0),n,o;for(zC={},Ka.length=0,n=0;n<e;n++)o=r[n],o&&o._lazy&&(o.render(o._lazy[0],o._lazy[1],!0)._lazy=0)},qI=function(e,r,n,o){Ka.length&&!ht&&l9(),e.render(r,n,ht&&r<0&&(e._initted||e._startAt)),Ka.length&&!ht&&l9()},DI=function(e){var r=parseFloat(e);return(r||r===0)&&(e+"").match(NI).length<2?r:at(e)?e.trim():e},zI=function(e){return e},$t=function(e,r){for(var n in r)n in e||(e[n]=r[n]);return e},iq=function(e){return function(r,n){for(var o in n)o in r||o==="duration"&&e||o==="ease"||(r[o]=n[o])}},Wi=function(e,r){for(var n in r)e[n]=r[n];return e},AS=function t(e,r){for(var n in r)n!=="__proto__"&&n!=="constructor"&&n!=="prototype"&&(e[n]=xa(r[n])?t(e[n]||(e[n]={}),r[n]):r[n]);return e},d9=function(e,r){var n={},o;for(o in e)o in r||(n[o]=e[o]);return n},_c=function(e){var r=e.parent||Fe,n=e.keyframes?iq(ut(e.keyframes)):$t;if(xt(e.inherit))for(;r;)n(e,r.vars.defaults),r=r.parent||r._dp;return e},sq=function(e,r){for(var n=e.length,o=n===r.length;o&&n--&&e[n]===r[n];);return n<0},FI=function(e,r,n,o,i){var c=e[o],l;if(i)for(l=r[i];c&&c[i]>l;)c=c._prev;return c?(r._next=c._next,c._next=r):(r._next=e[n],e[n]=r),r._next?r._next._prev=r:e[o]=r,r._prev=c,r.parent=r._dp=e,r},L9=function(e,r,n,o){n===void 0&&(n="_first"),o===void 0&&(o="_last");var i=r._prev,c=r._next;i?i._next=c:e[n]===r&&(e[n]=c),c?c._prev=i:e[o]===r&&(e[o]=i),r._next=r._prev=r.parent=null},tr=function(e,r){e.parent&&(!r||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Ui=function(e,r){if(e&&(!r||r._end>e._dur||r._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},cq=function(e){for(var r=e.parent;r&&r.parent;)r._dirty=1,r.totalDuration(),r=r.parent;return e},FC=function(e,r,n,o){return e._startAt&&(ht?e._startAt.revert(e9):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(r,!0,o))},lq=function t(e){return!e||e._ts&&t(e.parent)},PS=function(e){return e._repeat?Os(e._tTime,e=e.duration()+e._rDelay)*e:0},Os=function(e,r){var n=Math.floor(e/=r);return e&&n===e?n-1:n},h9=function(e,r){return(e-r._start)*r._ts+(r._ts>=0?0:r._dirty?r.totalDuration():r._tDur)},I9=function(e){return e._end=et(e._start+(e._tDur/Math.abs(e._ts||e._rts||Ne)||0))},N9=function(e,r){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=et(n._time-(e._ts>0?r/e._ts:((e._dirty?e.totalDuration():e._tDur)-r)/-e._ts)),I9(e),n._dirty||Ui(n,e)),e},EI=function(e,r){var n;if((r._time||!r._dur&&r._initted||r._start<e._time&&(r._dur||!r.add))&&(n=h9(e.rawTime(),r),(!r._dur||Jc(0,r.totalDuration(),n)-r._tTime>Ne)&&r.render(n,!0)),Ui(e,r)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-Ne}},la=function(e,r,n,o){return r.parent&&tr(r),r._start=et((Ra(n)?n:n||e!==Fe?Ft(e,n,r):e._time)+r._delay),r._end=et(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),FI(e,r,"_first","_last",e._sort?"_start":0),EC(r)||(e._recent=r),o||EI(e,r),e._ts<0&&N9(e,e._tTime),e},OI=function(e,r){return(_t.ScrollTrigger||kj("scrollTrigger",r))&&_t.ScrollTrigger.create(r,e)},HI=function(e,r,n,o,i){if(bj(e,r,i),!e._initted)return 1;if(!n&&e._pt&&!ht&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&RI!==It.frame)return Ka.push(e),e._lazy=[i,o],1},dq=function t(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||t(r))},EC=function(e){var r=e.data;return r==="isFromStart"||r==="isStart"},hq=function(e,r,n,o){var i=e.ratio,c=r<0||!r&&(!e._start&&dq(e)&&!(!e._initted&&EC(e))||(e._ts<0||e._dp._ts<0)&&!EC(e))?0:1,l=e._rDelay,d=0,h,u,p;if(l&&e._repeat&&(d=Jc(0,e._tDur,r),u=Os(d,l),e._yoyo&&u&1&&(c=1-c),u!==Os(e._tTime,l)&&(i=1-c,e.vars.repeatRefresh&&e._initted&&e.invalidate())),c!==i||ht||o||e._zTime===Ne||!r&&e._zTime){if(!e._initted&&HI(e,r,o,n,d))return;for(p=e._zTime,e._zTime=r||(n?Ne:0),n||(n=r&&!p),e.ratio=c,e._from&&(c=1-c),e._time=0,e._tTime=d,h=e._pt;h;)h.r(c,h.d),h=h._next;r<0&&FC(e,r,n,!0),e._onUpdate&&!n&&Nt(e,"onUpdate"),d&&e._repeat&&!n&&e.parent&&Nt(e,"onRepeat"),(r>=e._tDur||r<0)&&e.ratio===c&&(c&&tr(e,1),!n&&!ht&&(Nt(e,c?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=r)},uq=function(e,r,n){var o;if(n>r)for(o=e._first;o&&o._start<=n;){if(o.data==="isPause"&&o._start>r)return o;o=o._next}else for(o=e._last;o&&o._start>=n;){if(o.data==="isPause"&&o._start<r)return o;o=o._prev}},Hs=function(e,r,n,o){var i=e._repeat,c=et(r)||0,l=e._tTime/e._tDur;return l&&!o&&(e._time*=c/e._dur),e._dur=c,e._tDur=i?i<0?1e10:et(c*(i+1)+e._rDelay*i):c,l>0&&!o&&N9(e,e._tTime=e._tDur*l),e.parent&&I9(e),n||Ui(e.parent,e),e},_S=function(e){return e instanceof yt?Ui(e):Hs(e,e._dur)},pq={_start:0,endTime:Ec,totalDuration:Ec},Ft=function t(e,r,n){var o=e.labels,i=e._recent||pq,c=e.duration()>=Ot?i.endTime(!1):e._dur,l,d,h;return at(r)&&(isNaN(r)||r in o)?(d=r.charAt(0),h=r.substr(-1)==="%",l=r.indexOf("="),d==="<"||d===">"?(l>=0&&(r=r.replace(/=/,"")),(d==="<"?i._start:i.endTime(i._repeat>=0))+(parseFloat(r.substr(1))||0)*(h?(l<0?i:n).totalDuration()/100:1)):l<0?(r in o||(o[r]=c),o[r]):(d=parseFloat(r.charAt(l-1)+r.substr(l+1)),h&&n&&(d=d/100*(ut(n)?n[0]:n).totalDuration()),l>1?t(e,r.substr(0,l-1),n)+d:c+d)):r==null?c:+r},Rc=function(e,r,n){var o=Ra(r[1]),i=(o?2:1)+(e<2?0:1),c=r[i],l,d;if(o&&(c.duration=r[1]),c.parent=n,e){for(l=c,d=n;d&&!("immediateRender"in l);)l=d.vars.defaults||{},d=xt(d.vars.inherit)&&d.parent;c.immediateRender=xt(l.immediateRender),e<2?c.runBackwards=1:c.startAt=r[i-1]}return new Ye(r[0],c,r[i+1])},ir=function(e,r){return e||e===0?r(e):r},Jc=function(e,r,n){return n<e?e:n>r?r:n},dt=function(e,r){return!at(e)||!(r=aq.exec(e))?"":r[1]},yq=function(e,r,n){return ir(n,function(o){return Jc(e,r,o)})},OC=[].slice,VI=function(e,r){return e&&xa(e)&&"length"in e&&(!r&&!e.length||e.length-1 in e&&xa(e[0]))&&!e.nodeType&&e!==sa},mq=function(e,r,n){return n===void 0&&(n=[]),e.forEach(function(o){var i;return at(o)&&!r||VI(o,1)?(i=n).push.apply(i,Ht(o)):n.push(o)})||n},Ht=function(e,r,n){return De&&!r&&De.selector?De.selector(e):at(e)&&!n&&(DC||!Vs())?OC.call((r||xj).querySelectorAll(e),0):ut(e)?mq(e,n):VI(e)?OC.call(e,0):e?[e]:[]},HC=function(e){return e=Ht(e)[0]||Fc("Invalid scope")||{},function(r){var n=e.current||e.nativeElement||e;return Ht(r,n.querySelectorAll?n:n===e?Fc("Invalid scope")||xj.createElement("div"):e)}},BI=function(e){return e.sort(function(){return .5-Math.random()})},UI=function(e){if(Ve(e))return e;var r=xa(e)?e:{each:e},n=$i(r.ease),o=r.from||0,i=parseFloat(r.base)||0,c={},l=o>0&&o<1,d=isNaN(o)||l,h=r.axis,u=o,p=o;return at(o)?u=p={center:.5,edges:.5,end:1}[o]||0:!l&&d&&(u=o[0],p=o[1]),function(y,f,k){var m=(k||r).length,x=c[m],v,w,C,M,b,N,L,A,I;if(!x){if(I=r.grid==="auto"?0:(r.grid||[1,Ot])[1],!I){for(L=-Ot;L<(L=k[I++].getBoundingClientRect().left)&&I<m;);I<m&&I--}for(x=c[m]=[],v=d?Math.min(I,m)*u-.5:o%I,w=I===Ot?0:d?m*p/I-.5:o/I|0,L=0,A=Ot,N=0;N<m;N++)C=N%I-v,M=w-(N/I|0),x[N]=b=h?Math.abs(h==="y"?M:C):jI(C*C+M*M),b>L&&(L=b),b<A&&(A=b);o==="random"&&BI(x),x.max=L-A,x.min=A,x.v=m=(parseFloat(r.amount)||parseFloat(r.each)*(I>m?m-1:h?h==="y"?m/I:I:Math.max(I,m/I))||0)*(o==="edges"?-1:1),x.b=m<0?i-m:i,x.u=dt(r.amount||r.each)||0,n=n&&m<0?eN(n):n}return m=(x[y]-x.min)/x.max||0,et(x.b+(n?n(m):m)*x.v)+x.u}},VC=function(e){var r=Math.pow(10,((e+"").split(".")[1]||"").length);return function(n){var o=et(Math.round(parseFloat(n)/e)*e*r);return(o-o%1)/r+(Ra(n)?0:dt(n))}},$I=function(e,r){var n=ut(e),o,i;return!n&&xa(e)&&(o=n=e.radius||Ot,e.values?(e=Ht(e.values),(i=!Ra(e[0]))&&(o*=o)):e=VC(e.increment)),ir(r,n?Ve(e)?function(c){return i=e(c),Math.abs(i-c)<=o?i:c}:function(c){for(var l=parseFloat(i?c.x:c),d=parseFloat(i?c.y:0),h=Ot,u=0,p=e.length,y,f;p--;)i?(y=e[p].x-l,f=e[p].y-d,y=y*y+f*f):y=Math.abs(e[p]-l),y<h&&(h=y,u=p);return u=!o||h<=o?e[u]:c,i||u===c||Ra(c)?u:u+dt(c)}:VC(e))},GI=function(e,r,n,o){return ir(ut(e)?!r:n===!0?!!(n=0):!o,function(){return ut(e)?e[~~(Math.random()*e.length)]:(n=n||1e-5)&&(o=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(r-e+n*.99))/n)*n*o)/o})},fq=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return function(o){return r.reduce(function(i,c){return c(i)},o)}},xq=function(e,r){return function(n){return e(parseFloat(n))+(r||dt(n))}},kq=function(e,r,n){return ZI(e,r,0,1,n)},WI=function(e,r,n){return ir(n,function(o){return e[~~r(o)]})},gq=function t(e,r,n){var o=r-e;return ut(e)?WI(e,t(0,e.length),r):ir(n,function(i){return(o+(i-e)%o)%o+e})},vq=function t(e,r,n){var o=r-e,i=o*2;return ut(e)?WI(e,t(0,e.length-1),r):ir(n,function(c){return c=(i+(c-e)%i)%i||0,e+(c>o?i-c:c)})},Oc=function(e){for(var r=0,n="",o,i,c,l;~(o=e.indexOf("random(",r));)c=e.indexOf(")",o),l=e.charAt(o+7)==="[",i=e.substr(o+7,c-o-7).match(l?NI:qC),n+=e.substr(r,o-r)+GI(l?i:+i[0],l?0:+i[1],+i[2]||1e-5),r=c+1;return n+e.substr(r,e.length-r)},ZI=function(e,r,n,o,i){var c=r-e,l=o-n;return ir(i,function(d){return n+((d-e)/c*l||0)})},wq=function t(e,r,n,o){var i=isNaN(e+r)?0:function(f){return(1-f)*e+f*r};if(!i){var c=at(e),l={},d,h,u,p,y;if(n===!0&&(o=1)&&(n=null),c)e={p:e},r={p:r};else if(ut(e)&&!ut(r)){for(u=[],p=e.length,y=p-2,h=1;h<p;h++)u.push(t(e[h-1],e[h]));p--,i=function(k){k*=p;var m=Math.min(y,~~k);return u[m](k-m)},n=r}else o||(e=Wi(ut(e)?[]:{},e));if(!u){for(d in r)Mj.call(l,e,d,"get",r[d]);i=function(k){return Sj(k,l)||(c?e.p:e)}}}return ir(n,i)},RS=function(e,r,n){var o=e.labels,i=Ot,c,l,d;for(c in o)l=o[c]-r,l<0==!!n&&l&&i>(l=Math.abs(l))&&(d=c,i=l);return d},Nt=function(e,r,n){var o=e.vars,i=o[r],c=De,l=e._ctx,d,h,u;if(i)return d=o[r+"Params"],h=o.callbackScope||e,n&&Ka.length&&l9(),l&&(De=l),u=d?i.apply(h,d):i.call(h),De=c,u},sc=function(e){return tr(e),e.scrollTrigger&&e.scrollTrigger.kill(!!ht),e.progress()<1&&Nt(e,"onInterrupt"),e},ms,XI=[],JI=function(e){if(e)if(e=!e.name&&e.default||e,fj()||e.headless){var r=e.name,n=Ve(e),o=r&&!n&&e.init?function(){this._props=[]}:e,i={init:Ec,render:Sj,add:Mj,kill:zq,modifier:Dq,rawVars:0},c={targetTest:0,get:0,getSetter:jj,aliases:{},register:0};if(Vs(),e!==o){if(Ct[r])return;$t(o,$t(d9(e,i),c)),Wi(o.prototype,Wi(i,d9(e,c))),Ct[o.prop=r]=o,e.targetTest&&(t9.push(o),gj[r]=1),r=(r==="css"?"CSS":r.charAt(0).toUpperCase()+r.substr(1))+"Plugin"}_I(r,o),e.register&&e.register(wt,o,gt)}else XI.push(e)},Le=255,cc={aqua:[0,Le,Le],lime:[0,Le,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Le],navy:[0,0,128],white:[Le,Le,Le],olive:[128,128,0],yellow:[Le,Le,0],orange:[Le,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Le,0,0],pink:[Le,192,203],cyan:[0,Le,Le],transparent:[Le,Le,Le,0]},oC=function(e,r,n){return e+=e<0?1:e>1?-1:0,(e*6<1?r+(n-r)*e*6:e<.5?n:e*3<2?r+(n-r)*(2/3-e)*6:r)*Le+.5|0},YI=function(e,r,n){var o=e?Ra(e)?[e>>16,e>>8&Le,e&Le]:0:cc.black,i,c,l,d,h,u,p,y,f,k;if(!o){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),cc[e])o=cc[e];else if(e.charAt(0)==="#"){if(e.length<6&&(i=e.charAt(1),c=e.charAt(2),l=e.charAt(3),e="#"+i+i+c+c+l+l+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return o=parseInt(e.substr(1,6),16),[o>>16,o>>8&Le,o&Le,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),o=[e>>16,e>>8&Le,e&Le]}else if(e.substr(0,3)==="hsl"){if(o=k=e.match(qC),!r)d=+o[0]%360/360,h=+o[1]/100,u=+o[2]/100,c=u<=.5?u*(h+1):u+h-u*h,i=u*2-c,o.length>3&&(o[3]*=1),o[0]=oC(d+1/3,i,c),o[1]=oC(d,i,c),o[2]=oC(d-1/3,i,c);else if(~e.indexOf("="))return o=e.match(LI),n&&o.length<4&&(o[3]=1),o}else o=e.match(qC)||cc.transparent;o=o.map(Number)}return r&&!k&&(i=o[0]/Le,c=o[1]/Le,l=o[2]/Le,p=Math.max(i,c,l),y=Math.min(i,c,l),u=(p+y)/2,p===y?d=h=0:(f=p-y,h=u>.5?f/(2-p-y):f/(p+y),d=p===i?(c-l)/f+(c<l?6:0):p===c?(l-i)/f+2:(i-c)/f+4,d*=60),o[0]=~~(d+.5),o[1]=~~(h*100+.5),o[2]=~~(u*100+.5)),n&&o.length<4&&(o[3]=1),o},KI=function(e){var r=[],n=[],o=-1;return e.split(Qa).forEach(function(i){var c=i.match(ys)||[];r.push.apply(r,c),n.push(o+=c.length+1)}),r.c=n,r},TS=function(e,r,n){var o="",i=(e+o).match(Qa),c=r?"hsla(":"rgba(",l=0,d,h,u,p;if(!i)return e;if(i=i.map(function(y){return(y=YI(y,r,1))&&c+(r?y[0]+","+y[1]+"%,"+y[2]+"%,"+y[3]:y.join(","))+")"}),n&&(u=KI(e),d=n.c,d.join(o)!==u.c.join(o)))for(h=e.replace(Qa,"1").split(ys),p=h.length-1;l<p;l++)o+=h[l]+(~d.indexOf(l)?i.shift()||c+"0,0,0,0)":(u.length?u:i.length?i:n).shift());if(!h)for(h=e.split(Qa),p=h.length-1;l<p;l++)o+=h[l]+i[l];return o+h[p]},Qa=function(){var t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in cc)t+="|"+e+"\\b";return new RegExp(t+")","gi")}(),Mq=/hsl[a]?\(/,QI=function(e){var r=e.join(" "),n;if(Qa.lastIndex=0,Qa.test(r))return n=Mq.test(r),e[1]=TS(e[1],n),e[0]=TS(e[0],n,KI(e[1])),!0},Hc,It=function(){var t=Date.now,e=500,r=33,n=t(),o=n,i=1e3/240,c=i,l=[],d,h,u,p,y,f,k=function m(x){var v=t()-o,w=x===!0,C,M,b,N;if((v>e||v<0)&&(n+=v-r),o+=v,b=o-n,C=b-c,(C>0||w)&&(N=++p.frame,y=b-p.time*1e3,p.time=b=b/1e3,c+=C+(C>=i?4:i-C),M=1),w||(d=h(m)),M)for(f=0;f<l.length;f++)l[f](b,y,N,x)};return p={time:0,frame:0,tick:function(){k(!0)},deltaRatio:function(x){return y/(1e3/(x||60))},wake:function(){AI&&(!DC&&fj()&&(sa=DC=window,xj=sa.document||{},_t.gsap=wt,(sa.gsapVersions||(sa.gsapVersions=[])).push(wt.version),PI(c9||sa.GreenSockGlobals||!sa.gsap&&sa||{}),XI.forEach(JI)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,d&&p.sleep(),h=u||function(x){return setTimeout(x,c-p.time*1e3+1|0)},Hc=1,k(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(d),Hc=0,h=Ec},lagSmoothing:function(x,v){e=x||1/0,r=Math.min(v||33,e)},fps:function(x){i=1e3/(x||240),c=p.time*1e3+i},add:function(x,v,w){var C=v?function(M,b,N,L){x(M,b,N,L),p.remove(C)}:x;return p.remove(x),l[w?"unshift":"push"](C),Vs(),C},remove:function(x,v){~(v=l.indexOf(x))&&l.splice(v,1)&&f>=v&&f--},_listeners:l},p}(),Vs=function(){return!Hc&&It.wake()},ke={},bq=/^[\d.\-M][\d.\-,\s]/,Cq=/["']/g,jq=function(e){for(var r={},n=e.substr(1,e.length-3).split(":"),o=n[0],i=1,c=n.length,l,d,h;i<c;i++)d=n[i],l=i!==c-1?d.lastIndexOf(","):d.length,h=d.substr(0,l),r[o]=isNaN(h)?h.replace(Cq,"").trim():+h,o=d.substr(l+1).trim();return r},Sq=function(e){var r=e.indexOf("(")+1,n=e.indexOf(")"),o=e.indexOf("(",r);return e.substring(r,~o&&o<n?e.indexOf(")",n+1):n)},Lq=function(e){var r=(e+"").split("("),n=ke[r[0]];return n&&r.length>1&&n.config?n.config.apply(null,~e.indexOf("{")?[jq(r[1])]:Sq(e).split(",").map(DI)):ke._CE&&bq.test(e)?ke._CE("",e):n},eN=function(e){return function(r){return 1-e(1-r)}},tN=function t(e,r){for(var n=e._first,o;n;)n instanceof yt?t(n,r):n.vars.yoyoEase&&(!n._yoyo||!n._repeat)&&n._yoyo!==r&&(n.timeline?t(n.timeline,r):(o=n._ease,n._ease=n._yEase,n._yEase=o,n._yoyo=r)),n=n._next},$i=function(e,r){return e&&(Ve(e)?e:ke[e]||Lq(e))||r},ts=function(e,r,n,o){n===void 0&&(n=function(d){return 1-r(1-d)}),o===void 0&&(o=function(d){return d<.5?r(d*2)/2:1-r((1-d)*2)/2});var i={easeIn:r,easeOut:n,easeInOut:o},c;return kt(e,function(l){ke[l]=_t[l]=i,ke[c=l.toLowerCase()]=n;for(var d in i)ke[c+(d==="easeIn"?".in":d==="easeOut"?".out":".inOut")]=ke[l+"."+d]=i[d]}),i},aN=function(e){return function(r){return r<.5?(1-e(1-r*2))/2:.5+e((r-.5)*2)/2}},iC=function t(e,r,n){var o=r>=1?r:1,i=(n||(e?.3:.45))/(r<1?r:1),c=i/TC*(Math.asin(1/o)||0),l=function(u){return u===1?1:o*Math.pow(2,-10*u)*tq((u-c)*i)+1},d=e==="out"?l:e==="in"?function(h){return 1-l(1-h)}:aN(l);return i=TC/i,d.config=function(h,u){return t(e,h,u)},d},sC=function t(e,r){r===void 0&&(r=1.70158);var n=function(c){return c?--c*c*((r+1)*c+r)+1:0},o=e==="out"?n:e==="in"?function(i){return 1-n(1-i)}:aN(n);return o.config=function(i){return t(e,i)},o};kt("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var r=e<5?e+1:e;ts(t+",Power"+(r-1),e?function(n){return Math.pow(n,r)}:function(n){return n},function(n){return 1-Math.pow(1-n,r)},function(n){return n<.5?Math.pow(n*2,r)/2:1-Math.pow((1-n)*2,r)/2})});ke.Linear.easeNone=ke.none=ke.Linear.easeIn;ts("Elastic",iC("in"),iC("out"),iC());(function(t,e){var r=1/e,n=2*r,o=2.5*r,i=function(l){return l<r?t*l*l:l<n?t*Math.pow(l-1.5/e,2)+.75:l<o?t*(l-=2.25/e)*l+.9375:t*Math.pow(l-2.625/e,2)+.984375};ts("Bounce",function(c){return 1-i(1-c)},i)})(7.5625,2.75);ts("Expo",function(t){return t?Math.pow(2,10*(t-1)):0});ts("Circ",function(t){return-(jI(1-t*t)-1)});ts("Sine",function(t){return t===1?1:-eq(t*KT)+1});ts("Back",sC("in"),sC("out"),sC());ke.SteppedEase=ke.steps=_t.SteppedEase={config:function(e,r){e===void 0&&(e=1);var n=1/e,o=e+(r?0:1),i=r?1:0,c=1-Ne;return function(l){return((o*Jc(0,c,l)|0)+i)*n}}};Es.ease=ke["quad.out"];kt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return vj+=t+","+t+"Params,"});var rN=function(e,r){this.id=QT++,e._gsap=this,this.target=e,this.harness=r,this.get=r?r.get:TI,this.set=r?r.getSetter:jj},Vc=function(){function t(r){this.vars=r,this._delay=+r.delay||0,(this._repeat=r.repeat===1/0?-2:r.repeat||0)&&(this._rDelay=r.repeatDelay||0,this._yoyo=!!r.yoyo||!!r.yoyoEase),this._ts=1,Hs(this,+r.duration,1,1),this.data=r.data,De&&(this._ctx=De,De.data.push(this)),Hc||It.wake()}var e=t.prototype;return e.delay=function(n){return n||n===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+n-this._delay),this._delay=n,this):this._delay},e.duration=function(n){return arguments.length?this.totalDuration(this._repeat>0?n+(n+this._rDelay)*this._repeat:n):this.totalDuration()&&this._dur},e.totalDuration=function(n){return arguments.length?(this._dirty=0,Hs(this,this._repeat<0?n:(n-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(n,o){if(Vs(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(N9(this,n),!i._dp||i.parent||EI(i,this);i&&i.parent;)i.parent._time!==i._start+(i._ts>=0?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&n<this._tDur||this._ts<0&&n>0||!this._tDur&&!n)&&la(this._dp,this,this._start-this._delay)}return(this._tTime!==n||!this._dur&&!o||this._initted&&Math.abs(this._zTime)===Ne||!n&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=n),qI(this,n,o)),this},e.time=function(n,o){return arguments.length?this.totalTime(Math.min(this.totalDuration(),n+PS(this))%(this._dur+this._rDelay)||(n?this._dur:0),o):this._time},e.totalProgress=function(n,o){return arguments.length?this.totalTime(this.totalDuration()*n,o):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},e.progress=function(n,o){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-n:n)+PS(this),o):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(n,o){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(n-1)*i,o):this._repeat?Os(this._tTime,i)+1:1},e.timeScale=function(n,o){if(!arguments.length)return this._rts===-Ne?0:this._rts;if(this._rts===n)return this;var i=this.parent&&this._ts?h9(this.parent._time,this):this._tTime;return this._rts=+n||0,this._ts=this._ps||n===-Ne?0:this._rts,this.totalTime(Jc(-Math.abs(this._delay),this._tDur,i),o!==!1),I9(this),cq(this)},e.paused=function(n){return arguments.length?(this._ps!==n&&(this._ps=n,n?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Vs(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==Ne&&(this._tTime-=Ne)))),this):this._ps},e.startTime=function(n){if(arguments.length){this._start=n;var o=this.parent||this._dp;return o&&(o._sort||!this.parent)&&la(o,this,n-this._delay),this}return this._start},e.endTime=function(n){return this._start+(xt(n)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(n){var o=this.parent||this._dp;return o?n&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?h9(o.rawTime(n),this):this._tTime:this._tTime},e.revert=function(n){n===void 0&&(n=nq);var o=ht;return ht=n,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(n),this.totalTime(-.01,n.suppressEvents)),this.data!=="nested"&&n.kill!==!1&&this.kill(),ht=o,this},e.globalTime=function(n){for(var o=this,i=arguments.length?n:o.rawTime();o;)i=o._start+i/(Math.abs(o._ts)||1),o=o._dp;return!this.parent&&this._sat?this._sat.globalTime(n):i},e.repeat=function(n){return arguments.length?(this._repeat=n===1/0?-2:n,_S(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(n){if(arguments.length){var o=this._time;return this._rDelay=n,_S(this),o?this.time(o):this}return this._rDelay},e.yoyo=function(n){return arguments.length?(this._yoyo=n,this):this._yoyo},e.seek=function(n,o){return this.totalTime(Ft(this,n),xt(o))},e.restart=function(n,o){return this.play().totalTime(n?-this._delay:0,xt(o))},e.play=function(n,o){return n!=null&&this.seek(n,o),this.reversed(!1).paused(!1)},e.reverse=function(n,o){return n!=null&&this.seek(n||this.totalDuration(),o),this.reversed(!0).paused(!1)},e.pause=function(n,o){return n!=null&&this.seek(n,o),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(n){return arguments.length?(!!n!==this.reversed()&&this.timeScale(-this._rts||(n?-Ne:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-Ne,this},e.isActive=function(){var n=this.parent||this._dp,o=this._start,i;return!!(!n||this._ts&&this._initted&&n.isActive()&&(i=n.rawTime(!0))>=o&&i<this.endTime(!0)-Ne)},e.eventCallback=function(n,o,i){var c=this.vars;return arguments.length>1?(o?(c[n]=o,i&&(c[n+"Params"]=i),n==="onUpdate"&&(this._onUpdate=o)):delete c[n],this):c[n]},e.then=function(n){var o=this;return new Promise(function(i){var c=Ve(n)?n:zI,l=function(){var h=o.then;o.then=null,Ve(c)&&(c=c(o))&&(c.then||c===o)&&(o.then=h),i(c),o.then=h};o._initted&&o.totalProgress()===1&&o._ts>=0||!o._tTime&&o._ts<0?l():o._prom=l})},e.kill=function(){sc(this)},t}();$t(Vc.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-Ne,_prom:0,_ps:!1,_rts:1});var yt=function(t){CI(e,t);function e(n,o){var i;return n===void 0&&(n={}),i=t.call(this,n)||this,i.labels={},i.smoothChildTiming=!!n.smoothChildTiming,i.autoRemoveChildren=!!n.autoRemoveChildren,i._sort=xt(n.sortChildren),Fe&&la(n.parent||Fe,Ca(i),o),n.reversed&&i.reverse(),n.paused&&i.paused(!0),n.scrollTrigger&&OI(Ca(i),n.scrollTrigger),i}var r=e.prototype;return r.to=function(o,i,c){return Rc(0,arguments,this),this},r.from=function(o,i,c){return Rc(1,arguments,this),this},r.fromTo=function(o,i,c,l){return Rc(2,arguments,this),this},r.set=function(o,i,c){return i.duration=0,i.parent=this,_c(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new Ye(o,i,Ft(this,c),1),this},r.call=function(o,i,c){return la(this,Ye.delayedCall(0,o,i),c)},r.staggerTo=function(o,i,c,l,d,h,u){return c.duration=i,c.stagger=c.stagger||l,c.onComplete=h,c.onCompleteParams=u,c.parent=this,new Ye(o,c,Ft(this,d)),this},r.staggerFrom=function(o,i,c,l,d,h,u){return c.runBackwards=1,_c(c).immediateRender=xt(c.immediateRender),this.staggerTo(o,i,c,l,d,h,u)},r.staggerFromTo=function(o,i,c,l,d,h,u,p){return l.startAt=c,_c(l).immediateRender=xt(l.immediateRender),this.staggerTo(o,i,l,d,h,u,p)},r.render=function(o,i,c){var l=this._time,d=this._dirty?this.totalDuration():this._tDur,h=this._dur,u=o<=0?0:et(o),p=this._zTime<0!=o<0&&(this._initted||!h),y,f,k,m,x,v,w,C,M,b,N,L;if(this!==Fe&&u>d&&o>=0&&(u=d),u!==this._tTime||c||p){if(l!==this._time&&h&&(u+=this._time-l,o+=this._time-l),y=u,M=this._start,C=this._ts,v=!C,p&&(h||(l=this._zTime),(o||!i)&&(this._zTime=o)),this._repeat){if(N=this._yoyo,x=h+this._rDelay,this._repeat<-1&&o<0)return this.totalTime(x*100+o,i,c);if(y=et(u%x),u===d?(m=this._repeat,y=h):(m=~~(u/x),m&&m===u/x&&(y=h,m--),y>h&&(y=h)),b=Os(this._tTime,x),!l&&this._tTime&&b!==m&&this._tTime-b*x-this._dur<=0&&(b=m),N&&m&1&&(y=h-y,L=1),m!==b&&!this._lock){var A=N&&b&1,I=A===(N&&m&1);if(m<b&&(A=!A),l=A?0:u%h?h:u,this._lock=1,this.render(l||(L?0:et(m*x)),i,!h)._lock=0,this._tTime=u,!i&&this.parent&&Nt(this,"onRepeat"),this.vars.repeatRefresh&&!L&&(this.invalidate()._lock=1),l&&l!==this._time||v!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(h=this._dur,d=this._tDur,I&&(this._lock=2,l=A?h:-1e-4,this.render(l,!0),this.vars.repeatRefresh&&!L&&this.invalidate()),this._lock=0,!this._ts&&!v)return this;tN(this,L)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(w=uq(this,et(l),et(y)),w&&(u-=y-(y=w._start))),this._tTime=u,this._time=y,this._act=!C,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=o,l=0),!l&&y&&!i&&!m&&(Nt(this,"onStart"),this._tTime!==u))return this;if(y>=l&&o>=0)for(f=this._first;f;){if(k=f._next,(f._act||y>=f._start)&&f._ts&&w!==f){if(f.parent!==this)return this.render(o,i,c);if(f.render(f._ts>0?(y-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(y-f._start)*f._ts,i,c),y!==this._time||!this._ts&&!v){w=0,k&&(u+=this._zTime=-Ne);break}}f=k}else{f=this._last;for(var q=o<0?o:y;f;){if(k=f._prev,(f._act||q<=f._end)&&f._ts&&w!==f){if(f.parent!==this)return this.render(o,i,c);if(f.render(f._ts>0?(q-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(q-f._start)*f._ts,i,c||ht&&(f._initted||f._startAt)),y!==this._time||!this._ts&&!v){w=0,k&&(u+=this._zTime=q?-Ne:Ne);break}}f=k}}if(w&&!i&&(this.pause(),w.render(y>=l?0:-Ne)._zTime=y>=l?1:-1,this._ts))return this._start=M,I9(this),this.render(o,i,c);this._onUpdate&&!i&&Nt(this,"onUpdate",!0),(u===d&&this._tTime>=this.totalDuration()||!u&&l)&&(M===this._start||Math.abs(C)!==Math.abs(this._ts))&&(this._lock||((o||!h)&&(u===d&&this._ts>0||!u&&this._ts<0)&&tr(this,1),!i&&!(o<0&&!l)&&(u||l||!d)&&(Nt(this,u===d&&o>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<d&&this.timeScale()>0)&&this._prom())))}return this},r.add=function(o,i){var c=this;if(Ra(i)||(i=Ft(this,i,o)),!(o instanceof Vc)){if(ut(o))return o.forEach(function(l){return c.add(l,i)}),this;if(at(o))return this.addLabel(o,i);if(Ve(o))o=Ye.delayedCall(0,o);else return this}return this!==o?la(this,o,i):this},r.getChildren=function(o,i,c,l){o===void 0&&(o=!0),i===void 0&&(i=!0),c===void 0&&(c=!0),l===void 0&&(l=-Ot);for(var d=[],h=this._first;h;)h._start>=l&&(h instanceof Ye?i&&d.push(h):(c&&d.push(h),o&&d.push.apply(d,h.getChildren(!0,i,c)))),h=h._next;return d},r.getById=function(o){for(var i=this.getChildren(1,1,1),c=i.length;c--;)if(i[c].vars.id===o)return i[c]},r.remove=function(o){return at(o)?this.removeLabel(o):Ve(o)?this.killTweensOf(o):(L9(this,o),o===this._recent&&(this._recent=this._last),Ui(this))},r.totalTime=function(o,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=et(It.time-(this._ts>0?o/this._ts:(this.totalDuration()-o)/-this._ts))),t.prototype.totalTime.call(this,o,i),this._forcing=0,this):this._tTime},r.addLabel=function(o,i){return this.labels[o]=Ft(this,i),this},r.removeLabel=function(o){return delete this.labels[o],this},r.addPause=function(o,i,c){var l=Ye.delayedCall(0,i||Ec,c);return l.data="isPause",this._hasPause=1,la(this,l,Ft(this,o))},r.removePause=function(o){var i=this._first;for(o=Ft(this,o);i;)i._start===o&&i.data==="isPause"&&tr(i),i=i._next},r.killTweensOf=function(o,i,c){for(var l=this.getTweensOf(o,c),d=l.length;d--;)Ga!==l[d]&&l[d].kill(o,i);return this},r.getTweensOf=function(o,i){for(var c=[],l=Ht(o),d=this._first,h=Ra(i),u;d;)d instanceof Ye?oq(d._targets,l)&&(h?(!Ga||d._initted&&d._ts)&&d.globalTime(0)<=i&&d.globalTime(d.totalDuration())>i:!i||d.isActive())&&c.push(d):(u=d.getTweensOf(l,i)).length&&c.push.apply(c,u),d=d._next;return c},r.tweenTo=function(o,i){i=i||{};var c=this,l=Ft(c,o),d=i,h=d.startAt,u=d.onStart,p=d.onStartParams,y=d.immediateRender,f,k=Ye.to(c,$t({ease:i.ease||"none",lazy:!1,immediateRender:!1,time:l,overwrite:"auto",duration:i.duration||Math.abs((l-(h&&"time"in h?h.time:c._time))/c.timeScale())||Ne,onStart:function(){if(c.pause(),!f){var x=i.duration||Math.abs((l-(h&&"time"in h?h.time:c._time))/c.timeScale());k._dur!==x&&Hs(k,x,0,1).render(k._time,!0,!0),f=1}u&&u.apply(k,p||[])}},i));return y?k.render(0):k},r.tweenFromTo=function(o,i,c){return this.tweenTo(i,$t({startAt:{time:Ft(this,o)}},c))},r.recent=function(){return this._recent},r.nextLabel=function(o){return o===void 0&&(o=this._time),RS(this,Ft(this,o))},r.previousLabel=function(o){return o===void 0&&(o=this._time),RS(this,Ft(this,o),1)},r.currentLabel=function(o){return arguments.length?this.seek(o,!0):this.previousLabel(this._time+Ne)},r.shiftChildren=function(o,i,c){c===void 0&&(c=0);for(var l=this._first,d=this.labels,h;l;)l._start>=c&&(l._start+=o,l._end+=o),l=l._next;if(i)for(h in d)d[h]>=c&&(d[h]+=o);return Ui(this)},r.invalidate=function(o){var i=this._first;for(this._lock=0;i;)i.invalidate(o),i=i._next;return t.prototype.invalidate.call(this,o)},r.clear=function(o){o===void 0&&(o=!0);for(var i=this._first,c;i;)c=i._next,this.remove(i),i=c;return this._dp&&(this._time=this._tTime=this._pTime=0),o&&(this.labels={}),Ui(this)},r.totalDuration=function(o){var i=0,c=this,l=c._last,d=Ot,h,u,p;if(arguments.length)return c.timeScale((c._repeat<0?c.duration():c.totalDuration())/(c.reversed()?-o:o));if(c._dirty){for(p=c.parent;l;)h=l._prev,l._dirty&&l.totalDuration(),u=l._start,u>d&&c._sort&&l._ts&&!c._lock?(c._lock=1,la(c,l,u-l._delay,1)._lock=0):d=u,u<0&&l._ts&&(i-=u,(!p&&!c._dp||p&&p.smoothChildTiming)&&(c._start+=u/c._ts,c._time-=u,c._tTime-=u),c.shiftChildren(-u,!1,-1/0),d=0),l._end>i&&l._ts&&(i=l._end),l=h;Hs(c,c===Fe&&c._time>i?c._time:i,1,1),c._dirty=0}return c._tDur},e.updateRoot=function(o){if(Fe._ts&&(qI(Fe,h9(o,Fe)),RI=It.frame),It.frame>=NS){NS+=At.autoSleep||120;var i=Fe._first;if((!i||!i._ts)&&At.autoSleep&&It._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||It.sleep()}}},e}(Vc);$t(yt.prototype,{_lock:0,_hasPause:0,_forcing:0});var Iq=function(e,r,n,o,i,c,l){var d=new gt(this._pt,e,r,0,1,lN,null,i),h=0,u=0,p,y,f,k,m,x,v,w;for(d.b=n,d.e=o,n+="",o+="",(v=~o.indexOf("random("))&&(o=Oc(o)),c&&(w=[n,o],c(w,e,r),n=w[0],o=w[1]),y=n.match(rC)||[];p=rC.exec(o);)k=p[0],m=o.substring(h,p.index),f?f=(f+1)%5:m.substr(-5)==="rgba("&&(f=1),k!==y[u++]&&(x=parseFloat(y[u-1])||0,d._pt={_next:d._pt,p:m||u===1?m:",",s:x,c:k.charAt(1)==="="?_s(x,k)-x:parseFloat(k)-x,m:f&&f<4?Math.round:0},h=rC.lastIndex);return d.c=h<o.length?o.substring(h,o.length):"",d.fp=l,(II.test(o)||v)&&(d.e=0),this._pt=d,d},Mj=function(e,r,n,o,i,c,l,d,h,u){Ve(o)&&(o=o(i||0,e,c));var p=e[r],y=n!=="get"?n:Ve(p)?h?e[r.indexOf("set")||!Ve(e["get"+r.substr(3)])?r:"get"+r.substr(3)](h):e[r]():p,f=Ve(p)?h?Rq:sN:Cj,k;if(at(o)&&(~o.indexOf("random(")&&(o=Oc(o)),o.charAt(1)==="="&&(k=_s(y,o)+(dt(y)||0),(k||k===0)&&(o=k))),!u||y!==o||BC)return!isNaN(y*o)&&o!==""?(k=new gt(this._pt,e,r,+y||0,o-(y||0),typeof p=="boolean"?qq:cN,0,f),h&&(k.fp=h),l&&k.modifier(l,this,e),this._pt=k):(!p&&!(r in e)&&kj(r,o),Iq.call(this,e,r,y,o,f,d||At.stringFilter,h))},Nq=function(e,r,n,o,i){if(Ve(e)&&(e=Tc(e,i,r,n,o)),!xa(e)||e.style&&e.nodeType||ut(e)||SI(e))return at(e)?Tc(e,i,r,n,o):e;var c={},l;for(l in e)c[l]=Tc(e[l],i,r,n,o);return c},nN=function(e,r,n,o,i,c){var l,d,h,u;if(Ct[e]&&(l=new Ct[e]).init(i,l.rawVars?r[e]:Nq(r[e],o,i,c,n),n,o,c)!==!1&&(n._pt=d=new gt(n._pt,i,e,0,1,l.render,l,0,l.priority),n!==ms))for(h=n._ptLookup[n._targets.indexOf(i)],u=l._props.length;u--;)h[l._props[u]]=d;return l},Ga,BC,bj=function t(e,r,n){var o=e.vars,i=o.ease,c=o.startAt,l=o.immediateRender,d=o.lazy,h=o.onUpdate,u=o.runBackwards,p=o.yoyoEase,y=o.keyframes,f=o.autoRevert,k=e._dur,m=e._startAt,x=e._targets,v=e.parent,w=v&&v.data==="nested"?v.vars.targets:x,C=e._overwrite==="auto"&&!yj,M=e.timeline,b,N,L,A,I,q,P,_,R,U,W,V,O;if(M&&(!y||!i)&&(i="none"),e._ease=$i(i,Es.ease),e._yEase=p?eN($i(p===!0?i:p,Es.ease)):0,p&&e._yoyo&&!e._repeat&&(p=e._yEase,e._yEase=e._ease,e._ease=p),e._from=!M&&!!o.runBackwards,!M||y&&!o.stagger){if(_=x[0]?Bi(x[0]).harness:0,V=_&&o[_.prop],b=d9(o,gj),m&&(m._zTime<0&&m.progress(1),r<0&&u&&l&&!f?m.render(-1,!0):m.revert(u&&k?e9:rq),m._lazy=0),c){if(tr(e._startAt=Ye.set(x,$t({data:"isStart",overwrite:!1,parent:v,immediateRender:!0,lazy:!m&&xt(d),startAt:null,delay:0,onUpdate:h&&function(){return Nt(e,"onUpdate")},stagger:0},c))),e._startAt._dp=0,e._startAt._sat=e,r<0&&(ht||!l&&!f)&&e._startAt.revert(e9),l&&k&&r<=0&&n<=0){r&&(e._zTime=r);return}}else if(u&&k&&!m){if(r&&(l=!1),L=$t({overwrite:!1,data:"isFromStart",lazy:l&&!m&&xt(d),immediateRender:l,stagger:0,parent:v},b),V&&(L[_.prop]=V),tr(e._startAt=Ye.set(x,L)),e._startAt._dp=0,e._startAt._sat=e,r<0&&(ht?e._startAt.revert(e9):e._startAt.render(-1,!0)),e._zTime=r,!l)t(e._startAt,Ne,Ne);else if(!r)return}for(e._pt=e._ptCache=0,d=k&&xt(d)||d&&!k,N=0;N<x.length;N++){if(I=x[N],P=I._gsap||wj(x)[N]._gsap,e._ptLookup[N]=U={},zC[P.id]&&Ka.length&&l9(),W=w===x?N:w.indexOf(I),_&&(R=new _).init(I,V||b,e,W,w)!==!1&&(e._pt=A=new gt(e._pt,I,R.name,0,1,R.render,R,0,R.priority),R._props.forEach(function(E){U[E]=A}),R.priority&&(q=1)),!_||V)for(L in b)Ct[L]&&(R=nN(L,b,e,W,I,w))?R.priority&&(q=1):U[L]=A=Mj.call(e,I,L,"get",b[L],W,w,0,o.stringFilter);e._op&&e._op[N]&&e.kill(I,e._op[N]),C&&e._pt&&(Ga=e,Fe.killTweensOf(I,U,e.globalTime(r)),O=!e.parent,Ga=0),e._pt&&d&&(zC[P.id]=1)}q&&dN(e),e._onInit&&e._onInit(e)}e._onUpdate=h,e._initted=(!e._op||e._pt)&&!O,y&&r<=0&&M.render(Ot,!0,!0)},Aq=function(e,r,n,o,i,c,l,d){var h=(e._pt&&e._ptCache||(e._ptCache={}))[r],u,p,y,f;if(!h)for(h=e._ptCache[r]=[],y=e._ptLookup,f=e._targets.length;f--;){if(u=y[f][r],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==r&&u.fp!==r;)u=u._next;if(!u)return BC=1,e.vars[r]="+=0",bj(e,l),BC=0,d?Fc(r+" not eligible for reset"):1;h.push(u)}for(f=h.length;f--;)p=h[f],u=p._pt||p,u.s=(o||o===0)&&!i?o:u.s+(o||0)+c*u.c,u.c=n-u.s,p.e&&(p.e=Ge(n)+dt(p.e)),p.b&&(p.b=u.s+dt(p.b))},Pq=function(e,r){var n=e[0]?Bi(e[0]).harness:0,o=n&&n.aliases,i,c,l,d;if(!o)return r;i=Wi({},r);for(c in o)if(c in i)for(d=o[c].split(","),l=d.length;l--;)i[d[l]]=i[c];return i},_q=function(e,r,n,o){var i=r.ease||o||"power1.inOut",c,l;if(ut(r))l=n[e]||(n[e]=[]),r.forEach(function(d,h){return l.push({t:h/(r.length-1)*100,v:d,e:i})});else for(c in r)l=n[c]||(n[c]=[]),c==="ease"||l.push({t:parseFloat(e),v:r[c],e:i})},Tc=function(e,r,n,o,i){return Ve(e)?e.call(r,n,o,i):at(e)&&~e.indexOf("random(")?Oc(e):e},oN=vj+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",iN={};kt(oN+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return iN[t]=1});var Ye=function(t){CI(e,t);function e(n,o,i,c){var l;typeof o=="number"&&(i.duration=o,o=i,i=null),l=t.call(this,c?o:_c(o))||this;var d=l.vars,h=d.duration,u=d.delay,p=d.immediateRender,y=d.stagger,f=d.overwrite,k=d.keyframes,m=d.defaults,x=d.scrollTrigger,v=d.yoyoEase,w=o.parent||Fe,C=(ut(n)||SI(n)?Ra(n[0]):"length"in o)?[n]:Ht(n),M,b,N,L,A,I,q,P;if(l._targets=C.length?wj(C):Fc("GSAP target "+n+" not found. https://gsap.com",!At.nullTargetWarn)||[],l._ptLookup=[],l._overwrite=f,k||y||t1(h)||t1(u)){if(o=l.vars,M=l.timeline=new yt({data:"nested",defaults:m||{},targets:w&&w.data==="nested"?w.vars.targets:C}),M.kill(),M.parent=M._dp=Ca(l),M._start=0,y||t1(h)||t1(u)){if(L=C.length,q=y&&UI(y),xa(y))for(A in y)~oN.indexOf(A)&&(P||(P={}),P[A]=y[A]);for(b=0;b<L;b++)N=d9(o,iN),N.stagger=0,v&&(N.yoyoEase=v),P&&Wi(N,P),I=C[b],N.duration=+Tc(h,Ca(l),b,I,C),N.delay=(+Tc(u,Ca(l),b,I,C)||0)-l._delay,!y&&L===1&&N.delay&&(l._delay=u=N.delay,l._start+=u,N.delay=0),M.to(I,N,q?q(b,I,C):0),M._ease=ke.none;M.duration()?h=u=0:l.timeline=0}else if(k){_c($t(M.vars.defaults,{ease:"none"})),M._ease=$i(k.ease||o.ease||"none");var _=0,R,U,W;if(ut(k))k.forEach(function(V){return M.to(C,V,">")}),M.duration();else{N={};for(A in k)A==="ease"||A==="easeEach"||_q(A,k[A],N,k.easeEach);for(A in N)for(R=N[A].sort(function(V,O){return V.t-O.t}),_=0,b=0;b<R.length;b++)U=R[b],W={ease:U.e,duration:(U.t-(b?R[b-1].t:0))/100*h},W[A]=U.v,M.to(C,W,_),_+=W.duration;M.duration()<h&&M.to({},{duration:h-M.duration()})}}h||l.duration(h=M.duration())}else l.timeline=0;return f===!0&&!yj&&(Ga=Ca(l),Fe.killTweensOf(C),Ga=0),la(w,Ca(l),i),o.reversed&&l.reverse(),o.paused&&l.paused(!0),(p||!h&&!k&&l._start===et(w._time)&&xt(p)&&lq(Ca(l))&&w.data!=="nested")&&(l._tTime=-Ne,l.render(Math.max(0,-u)||0)),x&&OI(Ca(l),x),l}var r=e.prototype;return r.render=function(o,i,c){var l=this._time,d=this._tDur,h=this._dur,u=o<0,p=o>d-Ne&&!u?d:o<Ne?0:o,y,f,k,m,x,v,w,C,M;if(!h)hq(this,o,i,c);else if(p!==this._tTime||!o||c||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u){if(y=p,C=this.timeline,this._repeat){if(m=h+this._rDelay,this._repeat<-1&&u)return this.totalTime(m*100+o,i,c);if(y=et(p%m),p===d?(k=this._repeat,y=h):(k=~~(p/m),k&&k===et(p/m)&&(y=h,k--),y>h&&(y=h)),v=this._yoyo&&k&1,v&&(M=this._yEase,y=h-y),x=Os(this._tTime,m),y===l&&!c&&this._initted&&k===x)return this._tTime=p,this;k!==x&&(C&&this._yEase&&tN(C,v),this.vars.repeatRefresh&&!v&&!this._lock&&this._time!==m&&this._initted&&(this._lock=c=1,this.render(et(m*k),!0).invalidate()._lock=0))}if(!this._initted){if(HI(this,u?o:y,c,i,p))return this._tTime=0,this;if(l!==this._time&&!(c&&this.vars.repeatRefresh&&k!==x))return this;if(h!==this._dur)return this.render(o,i,c)}if(this._tTime=p,this._time=y,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=w=(M||this._ease)(y/h),this._from&&(this.ratio=w=1-w),y&&!l&&!i&&!k&&(Nt(this,"onStart"),this._tTime!==p))return this;for(f=this._pt;f;)f.r(w,f.d),f=f._next;C&&C.render(o<0?o:C._dur*C._ease(y/this._dur),i,c)||this._startAt&&(this._zTime=o),this._onUpdate&&!i&&(u&&FC(this,o,i,c),Nt(this,"onUpdate")),this._repeat&&k!==x&&this.vars.onRepeat&&!i&&this.parent&&Nt(this,"onRepeat"),(p===this._tDur||!p)&&this._tTime===p&&(u&&!this._onUpdate&&FC(this,o,!0,!0),(o||!h)&&(p===this._tDur&&this._ts>0||!p&&this._ts<0)&&tr(this,1),!i&&!(u&&!l)&&(p||l||v)&&(Nt(this,p===d?"onComplete":"onReverseComplete",!0),this._prom&&!(p<d&&this.timeScale()>0)&&this._prom()))}return this},r.targets=function(){return this._targets},r.invalidate=function(o){return(!o||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(o),t.prototype.invalidate.call(this,o)},r.resetTo=function(o,i,c,l,d){Hc||It.wake(),this._ts||this.play();var h=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||bj(this,h),u=this._ease(h/this._dur),Aq(this,o,i,c,l,u,h,d)?this.resetTo(o,i,c,l,1):(N9(this,0),this.parent||FI(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(o,i){if(i===void 0&&(i="all"),!o&&(!i||i==="all"))return this._lazy=this._pt=0,this.parent?sc(this):this;if(this.timeline){var c=this.timeline.totalDuration();return this.timeline.killTweensOf(o,i,Ga&&Ga.vars.overwrite!==!0)._first||sc(this),this.parent&&c!==this.timeline.totalDuration()&&Hs(this,this._dur*this.timeline._tDur/c,0,1),this}var l=this._targets,d=o?Ht(o):l,h=this._ptLookup,u=this._pt,p,y,f,k,m,x,v;if((!i||i==="all")&&sq(l,d))return i==="all"&&(this._pt=0),sc(this);for(p=this._op=this._op||[],i!=="all"&&(at(i)&&(m={},kt(i,function(w){return m[w]=1}),i=m),i=Pq(l,i)),v=l.length;v--;)if(~d.indexOf(l[v])){y=h[v],i==="all"?(p[v]=i,k=y,f={}):(f=p[v]=p[v]||{},k=i);for(m in k)x=y&&y[m],x&&((!("kill"in x.d)||x.d.kill(m)===!0)&&L9(this,x,"_pt"),delete y[m]),f!=="all"&&(f[m]=1)}return this._initted&&!this._pt&&u&&sc(this),this},e.to=function(o,i){return new e(o,i,arguments[2])},e.from=function(o,i){return Rc(1,arguments)},e.delayedCall=function(o,i,c,l){return new e(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:o,onComplete:i,onReverseComplete:i,onCompleteParams:c,onReverseCompleteParams:c,callbackScope:l})},e.fromTo=function(o,i,c){return Rc(2,arguments)},e.set=function(o,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new e(o,i)},e.killTweensOf=function(o,i,c){return Fe.killTweensOf(o,i,c)},e}(Vc);$t(Ye.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});kt("staggerTo,staggerFrom,staggerFromTo",function(t){Ye[t]=function(){var e=new yt,r=OC.call(arguments,0);return r.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,r)}});var Cj=function(e,r,n){return e[r]=n},sN=function(e,r,n){return e[r](n)},Rq=function(e,r,n,o){return e[r](o.fp,n)},Tq=function(e,r,n){return e.setAttribute(r,n)},jj=function(e,r){return Ve(e[r])?sN:mj(e[r])&&e.setAttribute?Tq:Cj},cN=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e6)/1e6,r)},qq=function(e,r){return r.set(r.t,r.p,!!(r.s+r.c*e),r)},lN=function(e,r){var n=r._pt,o="";if(!e&&r.b)o=r.b;else if(e===1&&r.e)o=r.e;else{for(;n;)o=n.p+(n.m?n.m(n.s+n.c*e):Math.round((n.s+n.c*e)*1e4)/1e4)+o,n=n._next;o+=r.c}r.set(r.t,r.p,o,r)},Sj=function(e,r){for(var n=r._pt;n;)n.r(e,n.d),n=n._next},Dq=function(e,r,n,o){for(var i=this._pt,c;i;)c=i._next,i.p===o&&i.modifier(e,r,n),i=c},zq=function(e){for(var r=this._pt,n,o;r;)o=r._next,r.p===e&&!r.op||r.op===e?L9(this,r,"_pt"):r.dep||(n=1),r=o;return!n},Fq=function(e,r,n,o){o.mSet(e,r,o.m.call(o.tween,n,o.mt),o)},dN=function(e){for(var r=e._pt,n,o,i,c;r;){for(n=r._next,o=i;o&&o.pr>r.pr;)o=o._next;(r._prev=o?o._prev:c)?r._prev._next=r:i=r,(r._next=o)?o._prev=r:c=r,r=n}e._pt=i},gt=function(){function t(r,n,o,i,c,l,d,h,u){this.t=n,this.s=i,this.c=c,this.p=o,this.r=l||cN,this.d=d||this,this.set=h||Cj,this.pr=u||0,this._next=r,r&&(r._prev=this)}var e=t.prototype;return e.modifier=function(n,o,i){this.mSet=this.mSet||this.set,this.set=Fq,this.m=n,this.mt=i,this.tween=o},t}();kt(vj+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(t){return gj[t]=1});_t.TweenMax=_t.TweenLite=Ye;_t.TimelineLite=_t.TimelineMax=yt;Fe=new yt({sortChildren:!1,defaults:Es,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});At.stringFilter=QI;var Gi=[],a9={},Eq=[],qS=0,Oq=0,cC=function(e){return(a9[e]||Eq).map(function(r){return r()})},UC=function(){var e=Date.now(),r=[];e-qS>2&&(cC("matchMediaInit"),Gi.forEach(function(n){var o=n.queries,i=n.conditions,c,l,d,h;for(l in o)c=sa.matchMedia(o[l]).matches,c&&(d=1),c!==i[l]&&(i[l]=c,h=1);h&&(n.revert(),d&&r.push(n))}),cC("matchMediaRevert"),r.forEach(function(n){return n.onMatch(n,function(o){return n.add(null,o)})}),qS=e,cC("matchMedia"))},hN=function(){function t(r,n){this.selector=n&&HC(n),this.data=[],this._r=[],this.isReverted=!1,this.id=Oq++,r&&this.add(r)}var e=t.prototype;return e.add=function(n,o,i){Ve(n)&&(i=o,o=n,n=Ve);var c=this,l=function(){var h=De,u=c.selector,p;return h&&h!==c&&h.data.push(c),i&&(c.selector=HC(i)),De=c,p=o.apply(c,arguments),Ve(p)&&c._r.push(p),De=h,c.selector=u,c.isReverted=!1,p};return c.last=l,n===Ve?l(c,function(d){return c.add(null,d)}):n?c[n]=l:l},e.ignore=function(n){var o=De;De=null,n(this),De=o},e.getTweens=function(){var n=[];return this.data.forEach(function(o){return o instanceof t?n.push.apply(n,o.getTweens()):o instanceof Ye&&!(o.parent&&o.parent.data==="nested")&&n.push(o)}),n},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(n,o){var i=this;if(n?function(){for(var l=i.getTweens(),d=i.data.length,h;d--;)h=i.data[d],h.data==="isFlip"&&(h.revert(),h.getChildren(!0,!0,!1).forEach(function(u){return l.splice(l.indexOf(u),1)}));for(l.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,p){return p.g-u.g||-1/0}).forEach(function(u){return u.t.revert(n)}),d=i.data.length;d--;)h=i.data[d],h instanceof yt?h.data!=="nested"&&(h.scrollTrigger&&h.scrollTrigger.revert(),h.kill()):!(h instanceof Ye)&&h.revert&&h.revert(n);i._r.forEach(function(u){return u(n,i)}),i.isReverted=!0}():this.data.forEach(function(l){return l.kill&&l.kill()}),this.clear(),o)for(var c=Gi.length;c--;)Gi[c].id===this.id&&Gi.splice(c,1)},e.revert=function(n){this.kill(n||{})},t}(),Hq=function(){function t(r){this.contexts=[],this.scope=r,De&&De.data.push(this)}var e=t.prototype;return e.add=function(n,o,i){xa(n)||(n={matches:n});var c=new hN(0,i||this.scope),l=c.conditions={},d,h,u;De&&!c.selector&&(c.selector=De.selector),this.contexts.push(c),o=c.add("onMatch",o),c.queries=n;for(h in n)h==="all"?u=1:(d=sa.matchMedia(n[h]),d&&(Gi.indexOf(c)<0&&Gi.push(c),(l[h]=d.matches)&&(u=1),d.addListener?d.addListener(UC):d.addEventListener("change",UC)));return u&&o(c,function(p){return c.add(null,p)}),this},e.revert=function(n){this.kill(n||{})},e.kill=function(n){this.contexts.forEach(function(o){return o.kill(n,!0)})},t}(),u9={registerPlugin:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];r.forEach(function(o){return JI(o)})},timeline:function(e){return new yt(e)},getTweensOf:function(e,r){return Fe.getTweensOf(e,r)},getProperty:function(e,r,n,o){at(e)&&(e=Ht(e)[0]);var i=Bi(e||{}).get,c=n?zI:DI;return n==="native"&&(n=""),e&&(r?c((Ct[r]&&Ct[r].get||i)(e,r,n,o)):function(l,d,h){return c((Ct[l]&&Ct[l].get||i)(e,l,d,h))})},quickSetter:function(e,r,n){if(e=Ht(e),e.length>1){var o=e.map(function(u){return wt.quickSetter(u,r,n)}),i=o.length;return function(u){for(var p=i;p--;)o[p](u)}}e=e[0]||{};var c=Ct[r],l=Bi(e),d=l.harness&&(l.harness.aliases||{})[r]||r,h=c?function(u){var p=new c;ms._pt=0,p.init(e,n?u+n:u,ms,0,[e]),p.render(1,p),ms._pt&&Sj(1,ms)}:l.set(e,d);return c?h:function(u){return h(e,d,n?u+n:u,l,1)}},quickTo:function(e,r,n){var o,i=wt.to(e,Wi((o={},o[r]="+=0.1",o.paused=!0,o),n||{})),c=function(d,h,u){return i.resetTo(r,d,h,u)};return c.tween=i,c},isTweening:function(e){return Fe.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=$i(e.ease,Es.ease)),AS(Es,e||{})},config:function(e){return AS(At,e||{})},registerEffect:function(e){var r=e.name,n=e.effect,o=e.plugins,i=e.defaults,c=e.extendTimeline;(o||"").split(",").forEach(function(l){return l&&!Ct[l]&&!_t[l]&&Fc(r+" effect requires "+l+" plugin.")}),nC[r]=function(l,d,h){return n(Ht(l),$t(d||{},i),h)},c&&(yt.prototype[r]=function(l,d,h){return this.add(nC[r](l,xa(d)?d:(h=d)&&{},this),h)})},registerEase:function(e,r){ke[e]=$i(r)},parseEase:function(e,r){return arguments.length?$i(e,r):ke},getById:function(e){return Fe.getById(e)},exportRoot:function(e,r){e===void 0&&(e={});var n=new yt(e),o,i;for(n.smoothChildTiming=xt(e.smoothChildTiming),Fe.remove(n),n._dp=0,n._time=n._tTime=Fe._time,o=Fe._first;o;)i=o._next,(r||!(!o._dur&&o instanceof Ye&&o.vars.onComplete===o._targets[0]))&&la(n,o,o._start-o._delay),o=i;return la(Fe,n,0),n},context:function(e,r){return e?new hN(e,r):De},matchMedia:function(e){return new Hq(e)},matchMediaRefresh:function(){return Gi.forEach(function(e){var r=e.conditions,n,o;for(o in r)r[o]&&(r[o]=!1,n=1);n&&e.revert()})||UC()},addEventListener:function(e,r){var n=a9[e]||(a9[e]=[]);~n.indexOf(r)||n.push(r)},removeEventListener:function(e,r){var n=a9[e],o=n&&n.indexOf(r);o>=0&&n.splice(o,1)},utils:{wrap:gq,wrapYoyo:vq,distribute:UI,random:GI,snap:$I,normalize:kq,getUnit:dt,clamp:yq,splitColor:YI,toArray:Ht,selector:HC,mapRange:ZI,pipe:fq,unitize:xq,interpolate:wq,shuffle:BI},install:PI,effects:nC,ticker:It,updateRoot:yt.updateRoot,plugins:Ct,globalTimeline:Fe,core:{PropTween:gt,globals:_I,Tween:Ye,Timeline:yt,Animation:Vc,getCache:Bi,_removeLinkedListItem:L9,reverting:function(){return ht},context:function(e){return e&&De&&(De.data.push(e),e._ctx=De),De},suppressOverwrites:function(e){return yj=e}}};kt("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return u9[t]=Ye[t]});It.add(yt.updateRoot);ms=u9.to({},{duration:0});var Vq=function(e,r){for(var n=e._pt;n&&n.p!==r&&n.op!==r&&n.fp!==r;)n=n._next;return n},Bq=function(e,r){var n=e._targets,o,i,c;for(o in r)for(i=n.length;i--;)c=e._ptLookup[i][o],c&&(c=c.d)&&(c._pt&&(c=Vq(c,o)),c&&c.modifier&&c.modifier(r[o],e,n[i],o))},lC=function(e,r){return{name:e,rawVars:1,init:function(o,i,c){c._onInit=function(l){var d,h;if(at(i)&&(d={},kt(i,function(u){return d[u]=1}),i=d),r){d={};for(h in i)d[h]=r(i[h]);i=d}Bq(l,i)}}}},wt=u9.registerPlugin({name:"attr",init:function(e,r,n,o,i){var c,l,d;this.tween=n;for(c in r)d=e.getAttribute(c)||"",l=this.add(e,"setAttribute",(d||0)+"",r[c],o,i,0,0,c),l.op=c,l.b=d,this._props.push(c)},render:function(e,r){for(var n=r._pt;n;)ht?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:"endArray",init:function(e,r){for(var n=r.length;n--;)this.add(e,n,e[n]||0,r[n],0,0,0,0,0,1)}},lC("roundProps",VC),lC("modifiers"),lC("snap",$I))||u9;Ye.version=yt.version=wt.version="3.12.5";AI=1;fj()&&Vs();ke.Power0;ke.Power1;ke.Power2;ke.Power3;ke.Power4;ke.Linear;ke.Quad;ke.Cubic;ke.Quart;ke.Quint;ke.Strong;ke.Elastic;ke.Back;ke.SteppedEase;ke.Bounce;ke.Sine;ke.Expo;ke.Circ;/*!
7734
7734
  * CSSPlugin 3.12.5
7735
7735
  * https://gsap.com
7736
7736
  *
@@ -7738,7 +7738,7 @@ React keys must be passed directly to JSX without using spread:
7738
7738
  * Subject to the terms at https://gsap.com/standard-license or for
7739
7739
  * Club GSAP members, the agreement issued with that membership.
7740
7740
  * @author: Jack Doyle, jack@greensock.com
7741
- */var DS,Za,Rs,Lj,Di,zS,Ij,Uq=function(){return typeof window<"u"},qa={},qi=180/Math.PI,Ts=Math.PI/180,ds=Math.atan2,FS=1e8,Nj=/([A-Z])/g,$q=/(left|right|width|margin|padding|x)/i,Gq=/[\s,\(]\S/,ha={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},$C=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},Wq=function(e,r){return r.set(r.t,r.p,e===1?r.e:Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},Zq=function(e,r){return r.set(r.t,r.p,e?Math.round((r.s+r.c*e)*1e4)/1e4+r.u:r.b,r)},Xq=function(e,r){var n=r.s+r.c*e;r.set(r.t,r.p,~~(n+(n<0?-.5:.5))+r.u,r)},uN=function(e,r){return r.set(r.t,r.p,e?r.e:r.b,r)},pN=function(e,r){return r.set(r.t,r.p,e!==1?r.b:r.e,r)},Jq=function(e,r,n){return e.style[r]=n},Yq=function(e,r,n){return e.style.setProperty(r,n)},Kq=function(e,r,n){return e._gsap[r]=n},Qq=function(e,r,n){return e._gsap.scaleX=e._gsap.scaleY=n},eD=function(e,r,n,o,i){var c=e._gsap;c.scaleX=c.scaleY=n,c.renderTransform(i,c)},tD=function(e,r,n,o,i){var c=e._gsap;c[r]=n,c.renderTransform(i,c)},Ee="transform",vt=Ee+"Origin",aD=function t(e,r){var n=this,o=this.target,i=o.style,c=o._gsap;if(e in qa&&i){if(this.tfm=this.tfm||{},e!=="transform")e=ha[e]||e,~e.indexOf(",")?e.split(",").forEach(function(l){return n.tfm[l]=Ia(o,l)}):this.tfm[e]=c.x?c[e]:Ia(o,e),e===vt&&(this.tfm.zOrigin=c.zOrigin);else return ha.transform.split(",").forEach(function(l){return t.call(n,l,r)});if(this.props.indexOf(Ee)>=0)return;c.svg&&(this.svgo=o.getAttribute("data-svg-origin"),this.props.push(vt,r,"")),e=Ee}(i||r)&&this.props.push(e,r,i[e])},yN=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},rD=function(){var e=this.props,r=this.target,n=r.style,o=r._gsap,i,c;for(i=0;i<e.length;i+=3)e[i+1]?r[e[i]]=e[i+2]:e[i+2]?n[e[i]]=e[i+2]:n.removeProperty(e[i].substr(0,2)==="--"?e[i]:e[i].replace(Nj,"-$1").toLowerCase());if(this.tfm){for(c in this.tfm)o[c]=this.tfm[c];o.svg&&(o.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),i=Ij(),(!i||!i.isStart)&&!n[Ee]&&(yN(n),o.zOrigin&&n[vt]&&(n[vt]+=" "+o.zOrigin+"px",o.zOrigin=0,o.renderTransform()),o.uncache=1)}},mN=function(e,r){var n={target:e,props:[],revert:rD,save:aD};return e._gsap||wt.core.getCache(e),r&&r.split(",").forEach(function(o){return n.save(o)}),n},fN,GC=function(e,r){var n=Za.createElementNS?Za.createElementNS((r||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Za.createElement(e);return n&&n.style?n:Za.createElement(e)},ma=function t(e,r,n){var o=getComputedStyle(e);return o[r]||o.getPropertyValue(r.replace(Nj,"-$1").toLowerCase())||o.getPropertyValue(r)||!n&&t(e,Bs(r)||r,1)||""},ES="O,Moz,ms,Ms,Webkit".split(","),Bs=function(e,r,n){var o=r||Di,i=o.style,c=5;if(e in i&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);c--&&!(ES[c]+e in i););return c<0?null:(c===3?"ms":c>=0?ES[c]:"")+e},WC=function(){Uq()&&window.document&&(DS=window,Za=DS.document,Rs=Za.documentElement,Di=GC("div")||{style:{}},GC("div"),Ee=Bs(Ee),vt=Ee+"Origin",Di.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",fN=!!Bs("perspective"),Ij=wt.core.reverting,Lj=1)},dC=function t(e){var r=GC("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,o=this.nextSibling,i=this.style.cssText,c;if(Rs.appendChild(r),r.appendChild(this),this.style.display="block",e)try{c=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch{}else this._gsapBBox&&(c=this._gsapBBox());return n&&(o?n.insertBefore(this,o):n.appendChild(this)),Rs.removeChild(r),this.style.cssText=i,c},OS=function(e,r){for(var n=r.length;n--;)if(e.hasAttribute(r[n]))return e.getAttribute(r[n])},xN=function(e){var r;try{r=e.getBBox()}catch{r=dC.call(e,!0)}return r&&(r.width||r.height)||e.getBBox===dC||(r=dC.call(e,!0)),r&&!r.width&&!r.x&&!r.y?{x:+OS(e,["x","cx","x1"])||0,y:+OS(e,["y","cy","y1"])||0,width:0,height:0}:r},kN=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&xN(e))},Zi=function(e,r){if(r){var n=e.style,o;r in qa&&r!==vt&&(r=Ee),n.removeProperty?(o=r.substr(0,2),(o==="ms"||r.substr(0,6)==="webkit")&&(r="-"+r),n.removeProperty(o==="--"?r:r.replace(Nj,"-$1").toLowerCase())):n.removeAttribute(r)}},Xa=function(e,r,n,o,i,c){var l=new gt(e._pt,r,n,0,1,c?pN:uN);return e._pt=l,l.b=o,l.e=i,e._props.push(n),l},HS={deg:1,rad:1,turn:1},nD={grid:1,flex:1},ar=function t(e,r,n,o){var i=parseFloat(n)||0,c=(n+"").trim().substr((i+"").length)||"px",l=Di.style,d=$q.test(r),h=e.tagName.toLowerCase()==="svg",u=(h?"client":"offset")+(d?"Width":"Height"),p=100,y=o==="px",f=o==="%",k,m,x,v;if(o===c||!i||HS[o]||HS[c])return i;if(c!=="px"&&!y&&(i=t(e,r,n,"px")),v=e.getCTM&&kN(e),(f||c==="%")&&(qa[r]||~r.indexOf("adius")))return k=v?e.getBBox()[d?"width":"height"]:e[u],Ge(f?i/k*p:i/100*k);if(l[d?"width":"height"]=p+(y?c:o),m=~r.indexOf("adius")||o==="em"&&e.appendChild&&!h?e:e.parentNode,v&&(m=(e.ownerSVGElement||{}).parentNode),(!m||m===Za||!m.appendChild)&&(m=Za.body),x=m._gsap,x&&f&&x.width&&d&&x.time===It.time&&!x.uncache)return Ge(i/x.width*p);if(f&&(r==="height"||r==="width")){var w=e.style[r];e.style[r]=p+o,k=e[u],w?e.style[r]=w:Zi(e,r)}else(f||c==="%")&&!nD[ma(m,"display")]&&(l.position=ma(e,"position")),m===e&&(l.position="static"),m.appendChild(Di),k=Di[u],m.removeChild(Di),l.position="absolute";return d&&f&&(x=Bi(m),x.time=It.time,x.width=m[u]),Ge(y?k*i/p:k&&i?p/k*i:0)},Ia=function(e,r,n,o){var i;return Lj||WC(),r in ha&&r!=="transform"&&(r=ha[r],~r.indexOf(",")&&(r=r.split(",")[0])),qa[r]&&r!=="transform"?(i=Uc(e,o),i=r!=="transformOrigin"?i[r]:i.svg?i.origin:y9(ma(e,vt))+" "+i.zOrigin+"px"):(i=e.style[r],(!i||i==="auto"||o||~(i+"").indexOf("calc("))&&(i=p9[r]&&p9[r](e,r,n)||ma(e,r)||TI(e,r)||(r==="opacity"?1:0))),n&&!~(i+"").trim().indexOf(" ")?ar(e,r,i,n)+n:i},oD=function(e,r,n,o){if(!n||n==="none"){var i=Bs(r,e,1),c=i&&ma(e,i,1);c&&c!==n?(r=i,n=c):r==="borderColor"&&(n=ma(e,"borderTopColor"))}var l=new gt(this._pt,e.style,r,0,1,lN),d=0,h=0,u,p,y,f,k,m,x,v,w,C,M,b;if(l.b=n,l.e=o,n+="",o+="",o==="auto"&&(m=e.style[r],e.style[r]=o,o=ma(e,r)||o,m?e.style[r]=m:Zi(e,r)),u=[n,o],QI(u),n=u[0],o=u[1],y=n.match(ys)||[],b=o.match(ys)||[],b.length){for(;p=ys.exec(o);)x=p[0],w=o.substring(d,p.index),k?k=(k+1)%5:(w.substr(-5)==="rgba("||w.substr(-5)==="hsla(")&&(k=1),x!==(m=y[h++]||"")&&(f=parseFloat(m)||0,M=m.substr((f+"").length),x.charAt(1)==="="&&(x=_s(f,x)+M),v=parseFloat(x),C=x.substr((v+"").length),d=ys.lastIndex-C.length,C||(C=C||At.units[r]||M,d===o.length&&(o+=C,l.e+=C)),M!==C&&(f=ar(e,r,m,C)||0),l._pt={_next:l._pt,p:w||h===1?w:",",s:f,c:v-f,m:k&&k<4||r==="zIndex"?Math.round:0});l.c=d<o.length?o.substring(d,o.length):""}else l.r=r==="display"&&o==="none"?pN:uN;return II.test(o)&&(l.e=0),this._pt=l,l},VS={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},iD=function(e){var r=e.split(" "),n=r[0],o=r[1]||"50%";return(n==="top"||n==="bottom"||o==="left"||o==="right")&&(e=n,n=o,o=e),r[0]=VS[n]||n,r[1]=VS[o]||o,r.join(" ")},sD=function(e,r){if(r.tween&&r.tween._time===r.tween._dur){var n=r.t,o=n.style,i=r.u,c=n._gsap,l,d,h;if(i==="all"||i===!0)o.cssText="",d=1;else for(i=i.split(","),h=i.length;--h>-1;)l=i[h],qa[l]&&(d=1,l=l==="transformOrigin"?vt:Ee),Zi(n,l);d&&(Zi(n,Ee),c&&(c.svg&&n.removeAttribute("transform"),Uc(n,1),c.uncache=1,yN(o)))}},p9={clearProps:function(e,r,n,o,i){if(i.data!=="isFromStart"){var c=e._pt=new gt(e._pt,r,n,0,0,sD);return c.u=o,c.pr=-10,c.tween=i,e._props.push(n),1}}},Bc=[1,0,0,1,0,0],gN={},vN=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},BS=function(e){var r=ma(e,Ee);return vN(r)?Bc:r.substr(7).match(LI).map(Ge)},Aj=function(e,r){var n=e._gsap||Bi(e),o=e.style,i=BS(e),c,l,d,h;return n.svg&&e.getAttribute("transform")?(d=e.transform.baseVal.consolidate().matrix,i=[d.a,d.b,d.c,d.d,d.e,d.f],i.join(",")==="1,0,0,1,0,0"?Bc:i):(i===Bc&&!e.offsetParent&&e!==Rs&&!n.svg&&(d=o.display,o.display="block",c=e.parentNode,(!c||!e.offsetParent)&&(h=1,l=e.nextElementSibling,Rs.appendChild(e)),i=BS(e),d?o.display=d:Zi(e,"display"),h&&(l?c.insertBefore(e,l):c?c.appendChild(e):Rs.removeChild(e))),r&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},ZC=function(e,r,n,o,i,c){var l=e._gsap,d=i||Aj(e,!0),h=l.xOrigin||0,u=l.yOrigin||0,p=l.xOffset||0,y=l.yOffset||0,f=d[0],k=d[1],m=d[2],x=d[3],v=d[4],w=d[5],C=r.split(" "),M=parseFloat(C[0])||0,b=parseFloat(C[1])||0,N,L,A,I;n?d!==Bc&&(L=f*x-k*m)&&(A=M*(x/L)+b*(-m/L)+(m*w-x*v)/L,I=M*(-k/L)+b*(f/L)-(f*w-k*v)/L,M=A,b=I):(N=xN(e),M=N.x+(~C[0].indexOf("%")?M/100*N.width:M),b=N.y+(~(C[1]||C[0]).indexOf("%")?b/100*N.height:b)),o||o!==!1&&l.smooth?(v=M-h,w=b-u,l.xOffset=p+(v*f+w*m)-v,l.yOffset=y+(v*k+w*x)-w):l.xOffset=l.yOffset=0,l.xOrigin=M,l.yOrigin=b,l.smooth=!!o,l.origin=r,l.originIsAbsolute=!!n,e.style[vt]="0px 0px",c&&(Xa(c,l,"xOrigin",h,M),Xa(c,l,"yOrigin",u,b),Xa(c,l,"xOffset",p,l.xOffset),Xa(c,l,"yOffset",y,l.yOffset)),e.setAttribute("data-svg-origin",M+" "+b)},Uc=function(e,r){var n=e._gsap||new rN(e);if("x"in n&&!r&&!n.uncache)return n;var o=e.style,i=n.scaleX<0,c="px",l="deg",d=getComputedStyle(e),h=ma(e,vt)||"0",u,p,y,f,k,m,x,v,w,C,M,b,N,L,A,I,q,P,_,R,U,W,V,O,E,Q,de,ee,te,Me,ge,ae;return u=p=y=m=x=v=w=C=M=0,f=k=1,n.svg=!!(e.getCTM&&kN(e)),d.translate&&((d.translate!=="none"||d.scale!=="none"||d.rotate!=="none")&&(o[Ee]=(d.translate!=="none"?"translate3d("+(d.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(d.rotate!=="none"?"rotate("+d.rotate+") ":"")+(d.scale!=="none"?"scale("+d.scale.split(" ").join(",")+") ":"")+(d[Ee]!=="none"?d[Ee]:"")),o.scale=o.rotate=o.translate="none"),L=Aj(e,n.svg),n.svg&&(n.uncache?(E=e.getBBox(),h=n.xOrigin-E.x+"px "+(n.yOrigin-E.y)+"px",O=""):O=!r&&e.getAttribute("data-svg-origin"),ZC(e,O||h,!!O||n.originIsAbsolute,n.smooth!==!1,L)),b=n.xOrigin||0,N=n.yOrigin||0,L!==Bc&&(P=L[0],_=L[1],R=L[2],U=L[3],u=W=L[4],p=V=L[5],L.length===6?(f=Math.sqrt(P*P+_*_),k=Math.sqrt(U*U+R*R),m=P||_?ds(_,P)*qi:0,w=R||U?ds(R,U)*qi+m:0,w&&(k*=Math.abs(Math.cos(w*Ts))),n.svg&&(u-=b-(b*P+N*R),p-=N-(b*_+N*U))):(ae=L[6],Me=L[7],de=L[8],ee=L[9],te=L[10],ge=L[11],u=L[12],p=L[13],y=L[14],A=ds(ae,te),x=A*qi,A&&(I=Math.cos(-A),q=Math.sin(-A),O=W*I+de*q,E=V*I+ee*q,Q=ae*I+te*q,de=W*-q+de*I,ee=V*-q+ee*I,te=ae*-q+te*I,ge=Me*-q+ge*I,W=O,V=E,ae=Q),A=ds(-R,te),v=A*qi,A&&(I=Math.cos(-A),q=Math.sin(-A),O=P*I-de*q,E=_*I-ee*q,Q=R*I-te*q,ge=U*q+ge*I,P=O,_=E,R=Q),A=ds(_,P),m=A*qi,A&&(I=Math.cos(A),q=Math.sin(A),O=P*I+_*q,E=W*I+V*q,_=_*I-P*q,V=V*I-W*q,P=O,W=E),x&&Math.abs(x)+Math.abs(m)>359.9&&(x=m=0,v=180-v),f=Ge(Math.sqrt(P*P+_*_+R*R)),k=Ge(Math.sqrt(V*V+ae*ae)),A=ds(W,V),w=Math.abs(A)>2e-4?A*qi:0,M=ge?1/(ge<0?-ge:ge):0),n.svg&&(O=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!vN(ma(e,Ee)),O&&e.setAttribute("transform",O))),Math.abs(w)>90&&Math.abs(w)<270&&(i?(f*=-1,w+=m<=0?180:-180,m+=m<=0?180:-180):(k*=-1,w+=w<=0?180:-180)),r=r||n.uncache,n.x=u-((n.xPercent=u&&(!r&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+c,n.y=p-((n.yPercent=p&&(!r&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-p)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+c,n.z=y+c,n.scaleX=Ge(f),n.scaleY=Ge(k),n.rotation=Ge(m)+l,n.rotationX=Ge(x)+l,n.rotationY=Ge(v)+l,n.skewX=w+l,n.skewY=C+l,n.transformPerspective=M+c,(n.zOrigin=parseFloat(h.split(" ")[2])||!r&&n.zOrigin||0)&&(o[vt]=y9(h)),n.xOffset=n.yOffset=0,n.force3D=At.force3D,n.renderTransform=n.svg?lD:fN?wN:cD,n.uncache=0,n},y9=function(e){return(e=e.split(" "))[0]+" "+e[1]},hC=function(e,r,n){var o=dt(r);return Ge(parseFloat(r)+parseFloat(ar(e,"x",n+"px",o)))+o},cD=function(e,r){r.z="0px",r.rotationY=r.rotationX="0deg",r.force3D=0,wN(e,r)},hr="0deg",ic="0px",ur=") ",wN=function(e,r){var n=r||this,o=n.xPercent,i=n.yPercent,c=n.x,l=n.y,d=n.z,h=n.rotation,u=n.rotationY,p=n.rotationX,y=n.skewX,f=n.skewY,k=n.scaleX,m=n.scaleY,x=n.transformPerspective,v=n.force3D,w=n.target,C=n.zOrigin,M="",b=v==="auto"&&e&&e!==1||v===!0;if(C&&(p!==hr||u!==hr)){var N=parseFloat(u)*Ts,L=Math.sin(N),A=Math.cos(N),I;N=parseFloat(p)*Ts,I=Math.cos(N),c=hC(w,c,L*I*-C),l=hC(w,l,-Math.sin(N)*-C),d=hC(w,d,A*I*-C+C)}x!==ic&&(M+="perspective("+x+ur),(o||i)&&(M+="translate("+o+"%, "+i+"%) "),(b||c!==ic||l!==ic||d!==ic)&&(M+=d!==ic||b?"translate3d("+c+", "+l+", "+d+") ":"translate("+c+", "+l+ur),h!==hr&&(M+="rotate("+h+ur),u!==hr&&(M+="rotateY("+u+ur),p!==hr&&(M+="rotateX("+p+ur),(y!==hr||f!==hr)&&(M+="skew("+y+", "+f+ur),(k!==1||m!==1)&&(M+="scale("+k+", "+m+ur),w.style[Ee]=M||"translate(0, 0)"},lD=function(e,r){var n=r||this,o=n.xPercent,i=n.yPercent,c=n.x,l=n.y,d=n.rotation,h=n.skewX,u=n.skewY,p=n.scaleX,y=n.scaleY,f=n.target,k=n.xOrigin,m=n.yOrigin,x=n.xOffset,v=n.yOffset,w=n.forceCSS,C=parseFloat(c),M=parseFloat(l),b,N,L,A,I;d=parseFloat(d),h=parseFloat(h),u=parseFloat(u),u&&(u=parseFloat(u),h+=u,d+=u),d||h?(d*=Ts,h*=Ts,b=Math.cos(d)*p,N=Math.sin(d)*p,L=Math.sin(d-h)*-y,A=Math.cos(d-h)*y,h&&(u*=Ts,I=Math.tan(h-u),I=Math.sqrt(1+I*I),L*=I,A*=I,u&&(I=Math.tan(u),I=Math.sqrt(1+I*I),b*=I,N*=I)),b=Ge(b),N=Ge(N),L=Ge(L),A=Ge(A)):(b=p,A=y,N=L=0),(C&&!~(c+"").indexOf("px")||M&&!~(l+"").indexOf("px"))&&(C=ar(f,"x",c,"px"),M=ar(f,"y",l,"px")),(k||m||x||v)&&(C=Ge(C+k-(k*b+m*L)+x),M=Ge(M+m-(k*N+m*A)+v)),(o||i)&&(I=f.getBBox(),C=Ge(C+o/100*I.width),M=Ge(M+i/100*I.height)),I="matrix("+b+","+N+","+L+","+A+","+C+","+M+")",f.setAttribute("transform",I),w&&(f.style[Ee]=I)},dD=function(e,r,n,o,i){var c=360,l=at(i),d=parseFloat(i)*(l&&~i.indexOf("rad")?qi:1),h=d-o,u=o+h+"deg",p,y;return l&&(p=i.split("_")[1],p==="short"&&(h%=c,h!==h%(c/2)&&(h+=h<0?c:-c)),p==="cw"&&h<0?h=(h+c*FS)%c-~~(h/c)*c:p==="ccw"&&h>0&&(h=(h-c*FS)%c-~~(h/c)*c)),e._pt=y=new gt(e._pt,r,n,o,h,Wq),y.e=u,y.u="deg",e._props.push(n),y},US=function(e,r){for(var n in r)e[n]=r[n];return e},hD=function(e,r,n){var o=US({},n._gsap),i="perspective,force3D,transformOrigin,svgOrigin",c=n.style,l,d,h,u,p,y,f,k;o.svg?(h=n.getAttribute("transform"),n.setAttribute("transform",""),c[Ee]=r,l=Uc(n,1),Zi(n,Ee),n.setAttribute("transform",h)):(h=getComputedStyle(n)[Ee],c[Ee]=r,l=Uc(n,1),c[Ee]=h);for(d in qa)h=o[d],u=l[d],h!==u&&i.indexOf(d)<0&&(f=dt(h),k=dt(u),p=f!==k?ar(n,d,h,k):parseFloat(h),y=parseFloat(u),e._pt=new gt(e._pt,l,d,p,y-p,$C),e._pt.u=k||0,e._props.push(d));US(l,o)};kt("padding,margin,Width,Radius",function(t,e){var r="Top",n="Right",o="Bottom",i="Left",c=(e<3?[r,n,o,i]:[r+i,r+n,o+n,o+i]).map(function(l){return e<2?t+l:"border"+l+t});p9[e>1?"border"+t:t]=function(l,d,h,u,p){var y,f;if(arguments.length<4)return y=c.map(function(k){return Ia(l,k,h)}),f=y.join(" "),f.split(y[0]).length===5?y[0]:f;y=(u+"").split(" "),f={},c.forEach(function(k,m){return f[k]=y[m]=y[m]||y[(m-1)/2|0]}),l.init(d,f,p)}});var MN={name:"css",register:WC,targetTest:function(e){return e.style&&e.nodeType},init:function(e,r,n,o,i){var c=this._props,l=e.style,d=n.vars.startAt,h,u,p,y,f,k,m,x,v,w,C,M,b,N,L,A;Lj||WC(),this.styles=this.styles||mN(e),A=this.styles.props,this.tween=n;for(m in r)if(m!=="autoRound"&&(u=r[m],!(Ct[m]&&nN(m,r,n,o,e,i)))){if(f=typeof u,k=p9[m],f==="function"&&(u=u.call(n,o,e,i),f=typeof u),f==="string"&&~u.indexOf("random(")&&(u=Oc(u)),k)k(this,e,m,u,n)&&(L=1);else if(m.substr(0,2)==="--")h=(getComputedStyle(e).getPropertyValue(m)+"").trim(),u+="",Qa.lastIndex=0,Qa.test(h)||(x=dt(h),v=dt(u)),v?x!==v&&(h=ar(e,m,h,v)+v):x&&(u+=x),this.add(l,"setProperty",h,u,o,i,0,0,m),c.push(m),A.push(m,0,l[m]);else if(f!=="undefined"){if(d&&m in d?(h=typeof d[m]=="function"?d[m].call(n,o,e,i):d[m],at(h)&&~h.indexOf("random(")&&(h=Oc(h)),dt(h+"")||h==="auto"||(h+=At.units[m]||dt(Ia(e,m))||""),(h+"").charAt(1)==="="&&(h=Ia(e,m))):h=Ia(e,m),y=parseFloat(h),w=f==="string"&&u.charAt(1)==="="&&u.substr(0,2),w&&(u=u.substr(2)),p=parseFloat(u),m in ha&&(m==="autoAlpha"&&(y===1&&Ia(e,"visibility")==="hidden"&&p&&(y=0),A.push("visibility",0,l.visibility),Xa(this,l,"visibility",y?"inherit":"hidden",p?"inherit":"hidden",!p)),m!=="scale"&&m!=="transform"&&(m=ha[m],~m.indexOf(",")&&(m=m.split(",")[0]))),C=m in qa,C){if(this.styles.save(m),M||(b=e._gsap,b.renderTransform&&!r.parseTransform||Uc(e,r.parseTransform),N=r.smoothOrigin!==!1&&b.smooth,M=this._pt=new gt(this._pt,l,Ee,0,1,b.renderTransform,b,0,-1),M.dep=1),m==="scale")this._pt=new gt(this._pt,b,"scaleY",b.scaleY,(w?_s(b.scaleY,w+p):p)-b.scaleY||0,$C),this._pt.u=0,c.push("scaleY",m),m+="X";else if(m==="transformOrigin"){A.push(vt,0,l[vt]),u=iD(u),b.svg?ZC(e,u,0,N,0,this):(v=parseFloat(u.split(" ")[2])||0,v!==b.zOrigin&&Xa(this,b,"zOrigin",b.zOrigin,v),Xa(this,l,m,y9(h),y9(u)));continue}else if(m==="svgOrigin"){ZC(e,u,1,N,0,this);continue}else if(m in gN){dD(this,b,m,y,w?_s(y,w+u):u);continue}else if(m==="smoothOrigin"){Xa(this,b,"smooth",b.smooth,u);continue}else if(m==="force3D"){b[m]=u;continue}else if(m==="transform"){hD(this,u,e);continue}}else m in l||(m=Bs(m)||m);if(C||(p||p===0)&&(y||y===0)&&!Gq.test(u)&&m in l)x=(h+"").substr((y+"").length),p||(p=0),v=dt(u)||(m in At.units?At.units[m]:x),x!==v&&(y=ar(e,m,h,v)),this._pt=new gt(this._pt,C?b:l,m,y,(w?_s(y,w+p):p)-y,!C&&(v==="px"||m==="zIndex")&&r.autoRound!==!1?Xq:$C),this._pt.u=v||0,x!==v&&v!=="%"&&(this._pt.b=h,this._pt.r=Zq);else if(m in l)oD.call(this,e,m,h,w?w+u:u);else if(m in e)this.add(e,m,h||e[m],w?w+u:u,o,i);else if(m!=="parseTransform"){kj(m,u);continue}C||(m in l?A.push(m,0,l[m]):A.push(m,1,h||e[m])),c.push(m)}}L&&dN(this)},render:function(e,r){if(r.tween._time||!Ij())for(var n=r._pt;n;)n.r(e,n.d),n=n._next;else r.styles.revert()},get:Ia,aliases:ha,getSetter:function(e,r,n){var o=ha[r];return o&&o.indexOf(",")<0&&(r=o),r in qa&&r!==vt&&(e._gsap.x||Ia(e,"x"))?n&&zS===n?r==="scale"?Qq:Kq:(zS=n||{})&&(r==="scale"?eD:tD):e.style&&!mj(e.style[r])?Jq:~r.indexOf("-")?Yq:jj(e,r)},core:{_removeProperty:Zi,_getMatrix:Aj}};wt.utils.checkPrefix=Bs;wt.core.getStyleSaver=mN;(function(t,e,r,n){var o=kt(t+","+e+","+r,function(i){qa[i]=1});kt(e,function(i){At.units[i]="deg",gN[i]=1}),ha[o[13]]=t+","+e,kt(n,function(i){var c=i.split(":");ha[c[1]]=o[c[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");kt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){At.units[t]="px"});wt.registerPlugin(MN);var bN=wt.registerPlugin(MN)||wt;bN.core.Tween;function Pj(t){return XT[t]||Ga}function CN({advantages:t,title:e,description:r}){return a.jsx("section",{className:"py-20 bg-gradient-to-b from-white to-gray-50",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3",children:t.map((n,o)=>{const i=Pj(n.icon);return a.jsxs("div",{className:"relative bg-white p-6 rounded-xl shadow-md hover:shadow-lg transition-shadow flex flex-col",children:[a.jsxs("div",{className:"w-12 h-12 flex items-center justify-center bg-yellow-50 rounded-lg text-yellow-600 mb-4",children:[i?a.jsx(i,{className:"h-8 w-8"}):null," "]}),a.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:n.title}),a.jsx("p",{className:"text-gray-600 mb-6",children:n.description}),n.ctaLink&&n.ctaText?a.jsx("div",{className:"mt-auto",children:a.jsxs("a",{href:n.ctaLink,className:"inline-flex items-center text-yellow-600 hover:text-yellow-700 font-medium group",children:[n.ctaText,a.jsx(xs,{className:"ml-2 h-4 w-4 transform group-hover:translate-x-1 transition-transform"})]})}):""]},o)})})]})})}function uD({title:t="Get in Touch",description:e="Have questions? We're here to help you start your journey",nameLabel:r="Full Name",emailLabel:n="Email",messageLabel:o="Message",namePlaceholder:i="Your full name",emailPlaceholder:c="you@example.com",messagePlaceholder:l="How can we help?",submitButtonLabel:d="Send Message",contactEmail:h="contact@globalenglish.com",contactPhone:u="+1 (555) 123-4567",contactMessage:p="Live chat available 24/7",onSubmit:y,showContactDetails:f=!0}){const k=m=>{m.preventDefault();const x=new FormData(m.currentTarget);y==null||y({name:String(x.get("name")??""),email:String(x.get("email")??""),message:String(x.get("message")??"")})};return a.jsx("section",{id:"contact",className:"py-20 bg-gray-50",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:t}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:e})]}),a.jsxs("div",{className:"mt-16 max-w-lg mx-auto",children:[a.jsxs("form",{className:"space-y-6",onSubmit:k,children:[a.jsxs("div",{children:[a.jsx("label",{htmlFor:"name",className:"block text-sm font-medium text-gray-700",children:r}),a.jsx("input",{type:"text",id:"name",name:"name",placeholder:i,className:"mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-yellow-500 focus:ring-blue-500"})]}),a.jsxs("div",{children:[a.jsx("label",{htmlFor:"email",className:"block text-sm font-medium text-gray-700",children:n}),a.jsx("input",{type:"email",id:"email",name:"email",placeholder:c,className:"mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-yellow-500 focus:ring-blue-500"})]}),a.jsxs("div",{children:[a.jsx("label",{htmlFor:"message",className:"block text-sm font-medium text-gray-700",children:o}),a.jsx("textarea",{id:"message",name:"message",rows:4,placeholder:l,className:"mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-yellow-500 focus:ring-blue-500"})]}),a.jsx("button",{type:"submit",className:"w-full bg-yellow-600 text-white py-3 px-4 rounded-md hover:bg-yellow-700 transition-colors",children:d})]}),f&&a.jsxs("div",{className:"mt-12 space-y-4",children:[a.jsxs("div",{className:"flex items-center text-gray-600",children:[a.jsx(ya,{className:"h-6 w-6 mr-3"}),a.jsx("span",{children:h})]}),a.jsxs("div",{className:"flex items-center text-gray-600",children:[a.jsx(Hi,{className:"h-6 w-6 mr-3"}),a.jsx("span",{children:u})]}),a.jsxs("div",{className:"flex items-center text-gray-600",children:[a.jsx(Ss,{className:"h-6 w-6 mr-3"}),a.jsx("span",{children:p})]})]})]})]})})}const jN=j.createContext(void 0);function pD({children:t}){const[e,r]=j.useState([]),[n,o]=j.useState(!1),i=j.useCallback(u=>{r(p=>p.find(f=>f.id===u.id)?p.map(f=>f.id===u.id?{...f,quantity:f.quantity+1}:f):[...p,{...u,quantity:1}]),o(!0)},[]),c=j.useCallback(u=>{r(p=>p.filter(y=>y.id!==u))},[]),l=j.useCallback((u,p)=>{r(y=>y.map(f=>f.id===u?{...f,quantity:Math.max(0,p)}:f))},[]),d=j.useCallback(()=>{o(u=>!u)},[]),h=e.reduce((u,p)=>u+p.price*p.quantity,0);return a.jsx(jN.Provider,{value:{items:e,isOpen:n,addItem:i,removeItem:c,updateQuantity:l,toggleCart:d,total:h},children:t})}function SN(){const t=j.useContext(jN);if(t===void 0)throw new Error("useCart must be used within a CartProvider");return t}function LN({courses:t,title:e,description:r}){const{addItem:n}=SN();return a.jsx("section",{id:"courses",className:"py-20 bg-white",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-4",children:t.map(o=>a.jsxs("div",{className:"bg-white border border-gray-200 rounded-lg p-6 hover:border-yellow-500 transition-colors",children:[a.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-4",children:o.title}),a.jsxs("div",{className:"space-y-3 mb-6",children:[a.jsxs("div",{className:"flex items-center text-gray-600",children:[a.jsx(Kt,{className:"h-5 w-5 mr-2"}),a.jsx("span",{children:o.duration})]}),a.jsxs("div",{className:"flex items-center text-gray-600",children:[a.jsx(Ra,{className:"h-5 w-5 mr-2"}),a.jsx("span",{children:o.type})]}),a.jsxs("div",{className:"flex items-center text-gray-600",children:[a.jsx(Nc,{className:"h-5 w-5 mr-2"}),a.jsx("span",{children:o.level})]})]}),a.jsx("p",{className:"text-gray-600 mb-6",children:o.description}),a.jsx("div",{className:"flex items-center justify-between mb-4",children:a.jsxs("span",{className:"text-2xl font-bold text-gray-900",children:["$",o.price]})}),a.jsxs("button",{onClick:()=>n({id:o.id,name:o.title,price:o.price,duration:o.duration}),className:"w-full bg-yellow-600 text-white py-2 px-4 rounded-md hover:bg-yellow-700 transition-colors flex items-center justify-center space-x-2",children:[a.jsx(As,{className:"h-5 w-5"}),a.jsx("span",{children:"Add to Cart"})]})]},o.id))})]})})}function IN({destinations:t,title:e,description:r}){const[n,o]=j.useState(0),[i,c]=j.useState(!0),l=()=>typeof window<"u"?window.innerWidth<640?1:window.innerWidth<1024?2:4:4,[d,h]=j.useState(l());j.useEffect(()=>{const f=()=>{h(l())};return window.addEventListener("resize",f),()=>window.removeEventListener("resize",f)},[]),j.useEffect(()=>{let f;return i&&(f=setInterval(()=>{o(k=>(k+1)%(t.length-d+1))},5e3)),()=>clearInterval(f)},[i]);const u=()=>{o(f=>Math.max(0,f-1)),c(!1)},p=()=>{o(f=>Math.min(t.length-d,f+1)),c(!1)},y=t.slice(n,n+d);return a.jsx("section",{id:"destinations",className:"py-20",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsxs("div",{className:"mt-16 relative",children:[a.jsx("div",{className:"flex gap-4 md:gap-6 lg:gap-8",children:y.map((f,k)=>a.jsxs("div",{className:"w-full md:w-1/2 lg:w-1/4 relative group overflow-hidden rounded-lg shadow-lg hover:shadow-xl transition-all",children:[a.jsx("img",{src:f.image,alt:f.name,className:"w-full h-64 object-cover group-hover:scale-110 transition-transform duration-300"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/70 to-transparent",children:a.jsxs("div",{className:"absolute bottom-0 p-6",children:[a.jsxs("div",{className:"flex items-center text-white mb-2",children:[a.jsx(Bt,{className:"h-5 w-5 mr-2"}),a.jsx("h3",{className:"text-lg font-semibold",children:f.name})]}),a.jsx("p",{className:"text-white/90 text-sm",children:f.description})]})})]},n+k))}),a.jsx("button",{onClick:u,disabled:n===0,className:`absolute left-0 top-1/2 -translate-y-1/2 -translate-x-4 bg-white/90 p-2 rounded-full shadow-lg transition-opacity ${n===0?"opacity-50 cursor-not-allowed":"hover:bg-white"}`,children:a.jsx(Ei,{className:"h-6 w-6 text-gray-800"})}),a.jsx("button",{onClick:p,disabled:n>=t.length-d,className:`absolute right-0 top-1/2 -translate-y-1/2 translate-x-4 bg-white/90 p-2 rounded-full shadow-lg transition-opacity ${n>=t.length-d?"opacity-50 cursor-not-allowed":"hover:bg-white"}`,children:a.jsx(Ja,{className:"h-6 w-6 text-gray-800"})})]}),a.jsx("div",{className:"flex justify-center mt-8 space-x-2",children:Array.from({length:Math.ceil(t.length/d)}).map((f,k)=>a.jsx("button",{onClick:()=>{o(k*d),c(!1)},className:`w-2 h-2 rounded-full transition-all ${Math.floor(n/d)===k?"bg-yellow-600 w-4":"bg-gray-300 hover:bg-gray-400"}`},k))})]})})}const yD=[{label:"Destinations",href:"#destinations"},{label:"Courses",href:"#courses"},{label:"Services",href:"#services"}];function mD({title:t="GlobalEnglish",navItems:e=yD,ctaLabel:r="Contact Us",ctaHref:n="#contact",brandIcon:o=a.jsx(Ms,{className:"h-8 w-8 text-yellow-600"}),defaultOpen:i=!1,isOpen:c,onToggleMenu:l,menuButtonAriaLabel:d="Toggle navigation"}){const[h,u]=j.useState(i),p=c??h,y=()=>{const k=!p;c===void 0&&u(k),l==null||l(k)},f=k=>a.jsx("a",{href:k.href,onClick:k.onClick,className:"text-gray-600 hover:text-yellow-600",children:k.label},k.label);return a.jsxs("nav",{className:"bg-white shadow-lg fixed w-full z-50",children:[a.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:a.jsxs("div",{className:"flex justify-between h-16",children:[a.jsxs("div",{className:"flex items-center",children:[o,a.jsx("span",{className:"ml-2 text-xl font-bold text-gray-800",children:t})]}),a.jsxs("div",{className:"hidden md:flex items-center space-x-8",children:[e.map(f),a.jsx("a",{href:n,className:"bg-yellow-600 text-white px-4 py-2 rounded-md hover:bg-yellow-700",children:r})]}),a.jsx("div",{className:"md:hidden flex items-center",children:a.jsx("button",{onClick:y,className:"text-gray-600 hover:text-gray-900 focus:outline-none","aria-label":d,children:p?a.jsx(Qt,{className:"h-6 w-6"}):a.jsx(js,{className:"h-6 w-6"})})})]})}),p&&a.jsx("div",{className:"md:hidden",children:a.jsxs("div",{className:"px-2 pt-2 pb-3 space-y-1 sm:px-3",children:[e.map(k=>a.jsx("a",{href:k.href,onClick:()=>{var m;(m=k.onClick)==null||m.call(k),y()},className:"block px-3 py-2 text-gray-600 hover:text-yellow-600",children:k.label},k.label)),a.jsx("a",{href:n,className:"block px-3 py-2 text-yellow-600 font-medium",children:r})]})})]})}function NN({title:t,subtitle:e,bg_img:r,main_btn_text:n,main_btn_link:o,secondary_btn_text:i,secondary_btn_link:c}){return a.jsxs("div",{className:"relative bg-yellow-600 h-screen flex items-center justify-center",children:[a.jsx("div",{className:"absolute inset-0",children:a.jsx("img",{src:r,alt:"Students studying",className:"w-full h-full object-cover opacity-20"})}),a.jsxs("div",{className:"relative max-w-7xl mx-auto py-24 px-4 sm:py-32 sm:px-6 lg:px-8",children:[a.jsx("h1",{className:"text-4xl md:text-6xl font-bold text-white mb-8",children:t}),a.jsx("p",{className:"text-xl text-white mb-12 max-w-3xl",children:e}),a.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[o&&n?a.jsxs("a",{href:o,className:"inline-flex items-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-yellow-600 bg-white hover:bg-gray-50",children:[n,a.jsx(xs,{className:"ml-2 h-5 w-5"})]}):"",c&&i?a.jsx("a",{href:c,className:"inline-flex items-center px-8 py-3 border border-white text-base font-medium rounded-md text-white hover:bg-yellow-700",children:i}):""]})]})]})}function AN({title:t,description:e,services:r}){return a.jsx("section",{id:"services",className:"py-20 bg-gray-50",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:t}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:e})]}),a.jsx("div",{className:"mt-20 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3",children:r.map((n,o)=>{const i=Pj(n.icon);return a.jsxs("div",{className:"relative group bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition-all",children:[a.jsxs("div",{className:"text-yellow-600 mb-4",children:[i?a.jsx(i,{className:"h-8 w-8"}):null," "]}),a.jsx("h3",{className:"text-lg font-medium text-gray-900",children:n.title}),a.jsx("p",{className:"mt-2 text-gray-500",children:n.description})]},o)})})]})})}function PN({testimonials:t,title:e,description:r}){return a.jsx("section",{className:"py-20 bg-white",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 lg:grid-cols-3",children:t.map((n,o)=>a.jsxs("div",{className:"relative bg-white p-8 rounded-xl shadow-lg",children:[a.jsx("div",{className:"absolute -top-4 -left-4",children:a.jsx(Ls,{className:"h-8 w-8 text-yellow-600"})}),a.jsxs("div",{className:"flex items-center mb-6",children:[a.jsx("img",{src:n.image,alt:n.name,className:"h-14 w-14 rounded-full object-cover"}),a.jsxs("div",{className:"ml-4",children:[a.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:n.name}),a.jsx("p",{className:"text-gray-600",children:n.from})]})]}),a.jsx("p",{className:"text-gray-600 mb-6",children:n.text}),a.jsx("div",{className:"flex text-yellow-400",children:[...Array(n.rating)].map((i,c)=>a.jsx(Et,{className:"h-5 w-5 fill-current"},c))})]},o))})]})})}function _N({videos:t,title:e,description:r}){return a.jsx("section",{className:"py-20 bg-gray-50",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3",children:t.map((n,o)=>a.jsxs("div",{className:"relative group",children:[a.jsxs("div",{className:"relative overflow-hidden rounded-lg",children:[a.jsx("img",{src:n.thumbnail,alt:n.title,className:"w-full h-64 object-cover group-hover:scale-105 transition-transform duration-300"}),a.jsx("div",{className:"absolute inset-0 bg-black/40 group-hover:bg-black/50 transition-colors",children:a.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:a.jsx("button",{className:"bg-white/90 p-4 rounded-full group-hover:bg-white transition-colors",children:a.jsx(jc,{className:"h-8 w-8 text-yellow-600"})})})}),a.jsx("div",{className:"absolute bottom-4 right-4 bg-black/70 px-2 py-1 rounded text-white text-sm",children:n.duration})]}),a.jsx("h3",{className:"mt-4 text-xl font-semibold text-gray-900",children:n.title}),a.jsx("p",{className:"mt-2 text-gray-600",children:n.description})]},o))})]})})}function RN({features:t,title:e,description:r}){return a.jsx("section",{className:"py-20 bg-white",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center mb-16",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx("div",{className:"space-y-24",children:t.map((n,o)=>a.jsxs("div",{className:`flex flex-col gap-8 items-center ${o%2===0?"lg:flex-row":"lg:flex-row-reverse"}`,children:[a.jsx("div",{className:"w-full lg:w-1/2",children:a.jsx("div",{className:"relative h-[400px] overflow-hidden rounded-xl shadow-lg",children:a.jsx("img",{src:n.image,alt:n.imageAlt,className:"absolute inset-0 w-full h-full object-cover"})})}),a.jsxs("div",{className:"w-full lg:w-1/2 lg:px-8",children:[a.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-4",children:n.title}),a.jsx("p",{className:"text-lg text-gray-600 leading-relaxed",children:n.description}),a.jsx("button",{className:"mt-8 inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md text-white bg-yellow-600 hover:bg-yellow-700 transition-colors",children:"Learn More"})]})]},o))})]})})}function TN({faqs:t,title:e,description:r}){const[n,o]=j.useState(null),i=c=>{o(l=>l===c?null:c)};return a.jsx("section",{className:"py-20 bg-white",children:a.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center mb-16",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx("div",{className:"space-y-4",children:t.map((c,l)=>a.jsxs("div",{className:"border border-gray-200 rounded-lg overflow-hidden",children:[a.jsxs("button",{className:"w-full px-6 py-4 flex items-center justify-between bg-white hover:bg-gray-50 transition-colors",onClick:()=>i(l),children:[a.jsx("span",{className:"text-lg font-medium text-gray-900 text-left",children:c.question}),n===l?a.jsx(yc,{className:"h-5 w-5 text-gray-500"}):a.jsx(Fi,{className:"h-5 w-5 text-gray-500"})]}),a.jsx("div",{className:`px-6 overflow-hidden transition-all duration-300 ease-in-out ${n===l?"max-h-96 py-4":"max-h-0"}`,children:a.jsx("p",{className:"text-gray-600 leading-relaxed",children:c.answer})})]},l))})]})})}function fD({images:t,autoPlayInterval:e=5e3}){const[r,n]=j.useState(0);j.useEffect(()=>{const l=setInterval(()=>{n(d=>(d+1)%t.length)},e);return()=>clearInterval(l)},[t.length,e]);const o=l=>{n(l)},i=()=>{n(l=>(l-1+t.length)%t.length)},c=()=>{n(l=>(l+1)%t.length)};return a.jsxs("div",{className:"relative w-full h-[600px] group",children:[a.jsx("div",{className:"relative h-full overflow-hidden rounded-xl",children:t.map((l,d)=>a.jsxs("div",{className:`absolute w-full h-full transition-transform duration-500 ease-out ${d===r?"translate-x-0":"translate-x-full"}`,style:{transform:`translateX(${100*(d-r)}%)`},children:[a.jsx("img",{src:l.url,alt:l.alt,className:"absolute w-full h-full object-cover"}),l.caption&&a.jsx("div",{className:"absolute bottom-0 left-0 right-0 bg-black/50 text-white p-4",children:a.jsx("p",{className:"text-lg",children:l.caption})})]},d))}),a.jsx("button",{onClick:i,className:"absolute left-4 top-1/2 -translate-y-1/2 bg-white/80 hover:bg-white p-2 rounded-full shadow-lg opacity-0 group-hover:opacity-100 transition-opacity",children:a.jsx(Ei,{className:"h-6 w-6 text-gray-800"})}),a.jsx("button",{onClick:c,className:"absolute right-4 top-1/2 -translate-y-1/2 bg-white/80 hover:bg-white p-2 rounded-full shadow-lg opacity-0 group-hover:opacity-100 transition-opacity",children:a.jsx(Ja,{className:"h-6 w-6 text-gray-800"})}),a.jsx("div",{className:"absolute bottom-4 left-1/2 -translate-x-1/2 flex space-x-2",children:t.map((l,d)=>a.jsx("button",{onClick:()=>o(d),className:`w-2 h-2 rounded-full transition-all ${d===r?"bg-white w-4":"bg-white/50 hover:bg-white/80"}`},d))})]})}function qN({images:t,title:e,description:r,autoPlayInterval:n=5e3}){return a.jsx("section",{className:"py-20 bg-gray-50",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center mb-12",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx(fD,{images:t,autoPlayInterval:n})]})})}function DN({initialMessages:t}){const[e,r]=j.useState(!1),[n,o]=j.useState(t),[i,c]=j.useState(""),l=d=>{if(d.preventDefault(),!i.trim())return;const h={text:i,isBot:!1,timestamp:new Date},u=["I'll help you find the perfect English course for your needs. Could you tell me your current English level?","That's a great question! Our courses are available in multiple locations. Would you like to know more about a specific destination?","We offer flexible course durations ranging from 2 weeks to 12 months. When would you like to start?","I can help you with visa requirements. Which country are you from?"],y={text:u[Math.floor(Math.random()*u.length)],isBot:!0,timestamp:new Date};o(f=>[...f,h,y]),c("")};return a.jsx("div",{className:"fixed bottom-4 right-4 z-50",children:e?a.jsxs("div",{className:"bg-white rounded-lg shadow-xl w-96 max-h-[600px] flex flex-col",children:[a.jsxs("div",{className:"p-4 bg-yellow-600 rounded-t-lg flex justify-between items-center",children:[a.jsxs("div",{className:"flex items-center text-white",children:[a.jsx(hc,{className:"h-6 w-6 mr-2"}),a.jsx("span",{className:"font-medium",children:"GlobalEnglish Assistant"})]}),a.jsx("button",{onClick:()=>r(!1),className:"text-white hover:text-gray-200 transition-colors",children:a.jsx(Qt,{className:"h-5 w-5"})})]}),a.jsx("div",{className:"flex-1 overflow-y-auto p-4 space-y-4",children:n.map((d,h)=>a.jsx("div",{className:`flex ${d.isBot?"justify-start":"justify-end"}`,children:a.jsxs("div",{className:`max-w-[80%] rounded-lg p-3 ${d.isBot?"bg-gray-100 text-gray-800":"bg-yellow-600 text-white"}`,children:[a.jsx("p",{className:"text-sm",children:d.text}),a.jsx("span",{className:"text-xs opacity-75 mt-1 block",children:d.timestamp.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})})]})},h))}),a.jsx("form",{onSubmit:l,className:"p-4 border-t",children:a.jsxs("div",{className:"flex space-x-2",children:[a.jsx("input",{type:"text",value:i,onChange:d=>c(d.target.value),placeholder:"Type your message...",className:"flex-1 border rounded-lg px-4 py-2 focus:outline-none focus:border-yellow-500"}),a.jsx("button",{type:"submit",className:"bg-yellow-600 text-white p-2 rounded-lg hover:bg-yellow-700 transition-colors",children:a.jsx(Lc,{className:"h-5 w-5"})})]})})]}):a.jsx("button",{onClick:()=>r(!0),className:"bg-yellow-600 text-white p-4 rounded-full shadow-lg hover:bg-yellow-700 transition-colors",children:a.jsx(Ss,{className:"h-6 w-6"})})})}function zN({title:t="Your Cart",emptyMessage:e="Your cart is empty",totalLabel:r="Total:",checkoutButtonLabel:n="Proceed to Checkout",currencySymbol:o="$",floatingButtonAriaLabel:i="Toggle cart",onCheckout:c,onToggleCart:l}){const{items:d,isOpen:h,toggleCart:u,removeItem:p,updateQuantity:y,total:f}=SN(),k=()=>{l==null||l(!h),u()};return h?a.jsxs("div",{className:"fixed right-0 top-0 h-full w-96 bg-white shadow-xl z-50 flex flex-col",children:[a.jsxs("div",{className:"p-4 bg-yellow-600 text-white flex justify-between items-center",children:[a.jsx("h2",{className:"text-xl font-semibold",children:t}),a.jsx("button",{onClick:k,className:"text-white hover:text-gray-200 transition-colors","aria-label":i,children:a.jsx(Qt,{className:"h-6 w-6"})})]}),a.jsx("div",{className:"flex-1 overflow-y-auto p-4",children:d.length===0?a.jsx("p",{className:"text-gray-500 text-center mt-8",children:e}):a.jsx("div",{className:"space-y-4",children:d.map(m=>a.jsxs("div",{className:"border rounded-lg p-4 flex flex-col space-y-2",children:[a.jsxs("div",{className:"flex justify-between items-start",children:[a.jsxs("div",{children:[a.jsx("h3",{className:"font-medium",children:m.name}),a.jsx("p",{className:"text-sm text-gray-500",children:m.duration})]}),a.jsx("button",{onClick:()=>p(m.id),className:"text-red-500 hover:text-red-600","aria-label":`Remove ${m.name}`,children:a.jsx(Ac,{className:"h-5 w-5"})})]}),a.jsxs("div",{className:"flex justify-between items-center",children:[a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx("button",{onClick:()=>y(m.id,m.quantity-1),className:"p-1 rounded-md hover:bg-gray-100","aria-label":`Decrease quantity for ${m.name}`,children:a.jsx(Cc,{className:"h-4 w-4"})}),a.jsx("span",{className:"w-8 text-center",children:m.quantity}),a.jsx("button",{onClick:()=>y(m.id,m.quantity+1),className:"p-1 rounded-md hover:bg-gray-100","aria-label":`Increase quantity for ${m.name}`,children:a.jsx(Sc,{className:"h-4 w-4"})})]}),a.jsxs("p",{className:"font-medium",children:[o,(m.price*m.quantity).toFixed(2)]})]})]},m.id))})}),a.jsxs("div",{className:"border-t p-4 bg-gray-50",children:[a.jsxs("div",{className:"flex justify-between items-center mb-4",children:[a.jsx("span",{className:"font-medium",children:r}),a.jsxs("span",{className:"text-xl font-bold",children:[o,f.toFixed(2)]})]}),a.jsx("button",{className:"w-full bg-yellow-600 text-white py-3 px-4 rounded-lg hover:bg-yellow-700 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",disabled:d.length===0,onClick:c,children:n})]})]}):a.jsx("button",{onClick:k,"aria-label":i,className:"fixed bottom-20 right-4 z-40 bg-yellow-600 text-white p-4 rounded-full shadow-lg hover:bg-yellow-700 transition-colors",children:a.jsxs("div",{className:"relative",children:[a.jsx(As,{className:"h-6 w-6"}),d.length>0&&a.jsx("span",{className:"absolute -top-2 -right-2 bg-red-500 text-white text-xs rounded-full h-5 w-5 flex items-center justify-center",children:d.length})]})})}function FN({services:t,title:e,description:r,showBtn:n="Show",hideBtn:o="Hide",featuresBtn:i="Features"}){const[c,l]=j.useState(null),d=h=>{l(c===h?null:h)};return a.jsx("section",{id:"services",className:"py-20 bg-gray-50",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 lg:grid-cols-2",children:t.map((h,u)=>a.jsx("div",{className:"bg-white rounded-lg shadow-md overflow-hidden transition-all duration-300",children:a.jsxs("div",{className:"p-6",children:[a.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-3",children:h.title}),a.jsx("p",{className:"text-gray-600 mb-4",children:h.shortDescription}),a.jsx("div",{className:`transition-all duration-300 overflow-hidden ${c===u?"max-h-[500px]":"max-h-0"}`,children:a.jsxs("div",{className:"mt-4 space-y-4",children:[a.jsx("p",{className:"text-gray-700",children:h.fullDescription}),a.jsxs("div",{className:"border-t pt-4",children:[a.jsx("h4",{className:"font-medium text-gray-900 mb-2",children:i}),a.jsx("ul",{className:"grid grid-cols-1 sm:grid-cols-2 gap-2",children:h.features.map((p,y)=>a.jsxs("li",{className:"text-gray-600",children:["• ",p]},y))})]})]})}),a.jsx("button",{onClick:()=>d(u),className:"mt-4 text-yellow-600 hover:text-yellow-700 font-medium focus:outline-none",children:c===u?o:n})]})},u))})]})})}function EN({courses:t=[],title:e="Available Courses",description:r="Choose the best course for you.",priceLabel:n="From",currencySymbol:o="€",perDurationLabel:i="/week",reviewsText:c="reviews"}){const l=d=>{const h=d/10*5,u=Math.floor(h),p=h%1,y=5-Math.ceil(h);return a.jsxs("div",{className:"flex items-center",children:[[...Array(u)].map((f,k)=>a.jsx(Et,{className:"w-5 h-5 text-yellow-400 fill-current"},`full-${k}`)),p>0&&a.jsxs("div",{className:"relative w-5 h-5",children:[a.jsx(Et,{className:"absolute w-5 h-5 text-gray-300 fill-current"}),a.jsx("div",{className:"absolute overflow-hidden",style:{width:`${p*100}%`},children:a.jsx(Et,{className:"w-5 h-5 text-yellow-400 fill-current"})})]}),[...Array(y)].map((f,k)=>a.jsx(Et,{className:"w-5 h-5 text-gray-300"},`empty-${k}`))]})};return a.jsx("section",{className:"py-20 bg-gray-50",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center mb-16",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:t.map((d,h)=>a.jsxs("div",{className:"bg-white rounded-xl p-8 shadow-sm hover:shadow-md transition-shadow flex flex-col h-full",children:[a.jsxs("div",{className:"flex-grow",children:[a.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-2",children:d.title}),a.jsxs("div",{className:"flex items-center mb-4",children:[l(d.rating),a.jsxs("span",{className:"ml-2 text-gray-600",children:[d.rating,"/10 (",d.reviews," ",c,")"]})]}),a.jsxs("div",{className:"mb-4",children:[a.jsxs("span",{className:"text-2xl font-bold text-gray-900",children:[n," ",d.pricePerWeek,o]}),a.jsxs("span",{className:"text-gray-600",children:["/",i]})]}),a.jsx("p",{className:"text-gray-600 mb-6",children:d.description}),a.jsx("div",{className:"space-y-4",children:d.features.map((u,p)=>{const y=Pj(u.icon);return a.jsxs("div",{className:"flex items-center text-gray-700",children:[y?a.jsx(y,{className:"w-5 h-5"}):null,a.jsx("span",{className:"ml-3",children:u.text})]},p)})})]}),d.ctaLink&&d.ctaText?a.jsx("div",{className:"mt-8",children:a.jsx("a",{href:d.ctaLink,className:"w-full bg-black text-white py-3 px-6 rounded-lg hover:bg-gray-800 transition-colors",children:d.ctaText})}):""]},h))})]})})}const xD=[{title:"Asistencia con el Visado",shortDescription:"Orientación experta durante todo el proceso de solicitud de visado para tu experiencia de estudio en el extranjero.",fullDescription:"Nuestro equipo dedicado a soporte de visados ofrece asistencia integral durante todo el proceso de solicitud. Te ayudamos a comprender los requisitos, preparar la documentación y asegurarnos de que tu solicitud cumpla con todos los criterios necesarios.",features:["Preparación y verificación de documentos","Asistencia con el formulario de solicitud","Orientación para la preparación de entrevistas","Consulta sobre los requisitos del visado","Soporte de seguimiento","Asistencia de emergencia"]},{title:"Servicios de Alojamiento",shortDescription:"Encuentra tu hogar perfecto lejos de casa con nuestras opciones de alojamiento cuidadosamente seleccionadas.",fullDescription:"Ofrecemos una amplia variedad de opciones de alojamiento previamente inspeccionadas para adaptarse a cada preferencia y presupuesto. Nuestro equipo de vivienda inspecciona personalmente todas las propiedades para garantizar que cumplan con nuestros estándares de calidad.",features:["Alojamiento en familia local","Residencias estudiantiles","Apartamentos compartidos","Estudios privados","Opciones a corto y largo plazo","Todos los servicios incluidos"]},{title:"Selección en Cursos de Idiomas",shortDescription:"Selección de cursos personalizada para adaptarse a tus objetivos de aprendizaje y nivel de competencia actual.",fullDescription:"Nuestros asesores académicos trabajan contigo para crear un plan de estudio personalizado basado en tus metas, horario y nivel actual de inglés. Nos aseguramos de que estés en el curso adecuado para maximizar tu potencial de aprendizaje.",features:["Evaluación de nivel gratuita","Planes de estudio personalizados","Monitoreo regular del progreso","Opciones de horario flexibles","Cursos especializados disponibles","Preparación para certificaciones"]},{title:"Seguro para Estudiantes",shortDescription:"Cobertura de seguro integral para una experiencia de estudio sin preocupaciones en el extranjero.",fullDescription:"Colaboramos con proveedores de seguros líderes para ofrecer coberturas integrales diseñadas específicamente para estudiantes internacionales. Nuestros paquetes incluyen protección de salud, viajes y bienes personales.",features:["Cobertura de seguro médico","Seguro de viajes","Protección de bienes personales","Asistencia de emergencia","Línea de soporte 24/7","Facturación directa con hospitales"]},{title:"Programa de Integración Cultural",shortDescription:"Sumérgete en la cultura local con actividades y eventos organizados.",fullDescription:"Nuestro programa de integración cultural te ayuda a adaptarte a tu nuevo entorno y a aprovechar al máximo tu experiencia de estudio en el extranjero. Organizamos actividades regulares, eventos y excursiones para que explores y comprendas la cultura local.",features:["Actividades sociales semanales","Talleres culturales","Sistema de compañeros locales","Eventos de intercambio de idiomas","Recorridos por la ciudad y excursiones","Celebraciones de festivales"]},{title:"Soporte para el Desarrollo Profesional",shortDescription:"Mejora tus perspectivas profesionales con nuestros servicios integrales de desarrollo profesional.",fullDescription:"Nuestro equipo de desarrollo profesional brinda orientación y apoyo para ayudarte a alcanzar tus metas laborales. Desde la redacción de CV hasta la preparación para entrevistas, te ayudamos a prepararte para tu carrera futura.",features:["Redacción de CV y cartas de presentación","Preparación para entrevistas","Asistencia en la búsqueda de empleo","Eventos de networking","Talleres de la industria","Colocación en prácticas profesionales"]}],kD=[{icon:"Plane",title:"Visa Assistance",description:"Complete support with visa applications and documentation."},{icon:"Home",title:"Accommodation",description:"Find the perfect place to stay with our accommodation services."},{icon:"BookOpen",title:"Language Courses",description:"Comprehensive English courses for all levels."},{icon:"Shield",title:"Travel Insurance",description:"Stay protected with our travel insurance packages."},{icon:"Map",title:"Local Activities",description:"Explore the local culture with organized activities."},{icon:"Briefcase",title:"Job Opportunities",description:"Access to job markets and career guidance."}],gD=[{title:"Learn in World-Class Facilities",description:"Our modern campuses are equipped with state-of-the-art technology and comfortable learning spaces. Each classroom is designed to facilitate interactive learning with smart boards, multimedia equipment, and flexible seating arrangements. Students also have access to self-study areas, a library with extensive English learning resources, and comfortable student lounges.",image:"https://images.unsplash.com/photo-1592280771190-3e2e4d571952?auto=format&fit=crop&q=80",imageAlt:"Modern classroom facility"},{title:"Cultural Immersion Programs",description:"Go beyond traditional language learning with our immersive cultural programs. Participate in local events, join conversation clubs with native speakers, and engage in cultural workshops. Our programs include guided city tours, cooking classes featuring local cuisine, and regular social activities where you can practice English in real-world situations.",image:"https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&q=80",imageAlt:"Students engaging in cultural activities"},{title:"Career Development Support",description:"Launch your international career with our comprehensive career support services. We offer professional development workshops, CV writing assistance, and interview preparation in English. Our partnerships with local businesses provide internship opportunities, and our career counselors help you navigate the job market in English-speaking countries.",image:"https://images.unsplash.com/photo-1552581234-26160f608093?auto=format&fit=crop&q=80",imageAlt:"Career counseling session"}],vD=[{icon:"Users",title:"Small Class Sizes",description:"Maximum of 12 students per class ensures personalized attention"},{icon:"Trophy",title:"Certified Teachers",description:"Native speakers with CELTA/DELTA qualifications"},{icon:"Calendar",title:"Flexible Schedule",description:"Morning, afternoon, and evening classes available"},{icon:"GraduationCap",title:"Recognized Certificates",description:"Internationally recognized certifications upon completion"},{icon:"Globe2",title:"Cultural Exchange",description:"Regular events and activities with international students"},{icon:"CheckCircle",title:"Job Support",description:"CV workshops and job placement assistance"}],wD=[{url:"https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&q=80",alt:"Students studying together",caption:"Collaborative learning environment"},{url:"https://images.unsplash.com/photo-1541339907198-e08756dedf3f?auto=format&fit=crop&q=80",alt:"Modern campus library",caption:"State-of-the-art study facilities"},{url:"https://images.unsplash.com/photo-1524178232363-1fb2b075b655?auto=format&fit=crop&q=80",alt:"Student accommodation",caption:"Comfortable student residences"},{url:"https://images.unsplash.com/photo-1517486808906-6ca8b3f04846?auto=format&fit=crop&q=80",alt:"Group activity",caption:"Engaging extracurricular activities"},{url:"https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&q=80",alt:"Student life",caption:"Vibrant campus community"}],MD=[{name:"London, UK",image:"https://images.unsplash.com/photo-1513635269975-59663e0ac1ad?auto=format&fit=crop&q=80",description:"Study English in the heart of the UK with access to world-class institutions."},{name:"New York, USA",image:"https://images.unsplash.com/photo-1496442226666-8d4d0e62e6e9?auto=format&fit=crop&q=80",description:"Experience American English while living in the most vibrant city in the world."},{name:"Sydney, Australia",image:"https://images.unsplash.com/photo-1506973035872-a4ec16b8e8d9?auto=format&fit=crop&q=80",description:"Combine English studies with an amazing lifestyle in beautiful Sydney."},{name:"Toronto, Canada",image:"https://images.unsplash.com/photo-1517935706615-2717063c2225?auto=format&fit=crop&q=80",description:"Study in one of the most multicultural cities with excellent quality of life."},{name:"Dublin, Ireland",image:"https://images.unsplash.com/photo-1590089415225-401ed6f9db8e?auto=format&fit=crop&q=80",description:"Experience Irish hospitality while studying in this historic and vibrant city."},{name:"Vancouver, Canada",image:"https://images.unsplash.com/photo-1559511260-66a654ae982a?auto=format&fit=crop&q=80",description:"Study surrounded by stunning nature and a high quality of life."},{name:"Melbourne, Australia",image:"https://images.unsplash.com/photo-1514395462725-fb4566210144?auto=format&fit=crop&q=80",description:"Join the world's most liveable city with excellent educational opportunities."},{name:"Edinburgh, UK",image:"https://images.unsplash.com/photo-1506377585622-bedcbb027afc?auto=format&fit=crop&q=80",description:"Study in Scotland's historic capital surrounded by stunning architecture."},{name:"San Francisco, USA",image:"https://images.unsplash.com/photo-1501594907352-04cda38ebc29?auto=format&fit=crop&q=80",description:"Learn English in the tech capital of the world."},{name:"Auckland, New Zealand",image:"https://images.unsplash.com/photo-1507699622108-4be3abd695ad?auto=format&fit=crop&q=80",description:"Study in New Zealand's largest city surrounded by natural beauty."},{name:"Manchester, UK",image:"https://images.unsplash.com/photo-1519677100203-a0e668c92439?auto=format&fit=crop&q=80",description:"Experience northern English culture in this vibrant student city."},{name:"Boston, USA",image:"https://images.unsplash.com/photo-1501979376754-f1e8d89c7fe0?auto=format&fit=crop&q=80",description:"Study in America's premier educational hub."},{name:"Brisbane, Australia",image:"https://images.unsplash.com/photo-1452859030917-45a0de82ef4c?auto=format&fit=crop&q=80",description:"Enjoy subtropical climate while studying in this growing city."},{name:"Montreal, Canada",image:"https://images.unsplash.com/photo-1519178614-68673b201f36?auto=format&fit=crop&q=80",description:"Experience bilingual culture in this historic Canadian city."},{name:"Oxford, UK",image:"https://images.unsplash.com/photo-1590510616176-67c87a688639?auto=format&fit=crop&q=80",description:"Study in one of the world's most prestigious academic cities."},{name:"Seattle, USA",image:"https://images.unsplash.com/photo-1502175353174-a7a70e73b362?auto=format&fit=crop&q=80",description:"Learn English in the innovative Pacific Northwest."},{name:"Perth, Australia",image:"https://images.unsplash.com/photo-1573935448851-e0a5d7507f4e?auto=format&fit=crop&q=80",description:"Study in Australia's sunniest capital city."},{name:"Cambridge, UK",image:"https://images.unsplash.com/photo-1579619002916-88cd4c81a70c?auto=format&fit=crop&q=80",description:"Experience academic excellence in this historic university city."},{name:"Wellington, New Zealand",image:"https://images.unsplash.com/photo-1589871973318-9ca1258faa5d?auto=format&fit=crop&q=80",description:"Study in New Zealand's cultural capital."},{name:"Chicago, USA",image:"https://images.unsplash.com/photo-1494522855154-9297ac14b55f?auto=format&fit=crop&q=80",description:"Experience American culture in the heart of the Midwest."}],bD=[{id:"1",title:"Intensive English",type:"in-person",duration:"4-12 weeks",level:"All levels",description:"Accelerated learning with focused daily classes.",price:1299},{id:"2",title:"Business English",type:"in-person",duration:"8-16 weeks",level:"Intermediate to Advanced",description:"Specialized English for professional environments.",price:1599},{id:"3",title:"Online Live Classes",type:"online",duration:"Flexible",level:"All levels",description:"Interactive online classes with expert teachers.",price:799},{id:"4",title:"IELTS Preparation",type:"in-person",duration:"12 weeks",level:"Intermediate to Advanced",description:"Comprehensive preparation for IELTS exam.",price:1499}],CD=[{thumbnail:"https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&q=80",title:"Campus Life in London",duration:"3:45",description:"Experience a day in the life of our London students"},{thumbnail:"https://images.unsplash.com/photo-1571260899304-425eee4c7efc?auto=format&fit=crop&q=80",title:"Student Success Stories",duration:"5:20",description:"See how our students achieved their English learning goals"},{thumbnail:"https://images.unsplash.com/photo-1517486808906-6ca8b3f04846?auto=format&fit=crop&q=80",title:"Virtual Campus Tour",duration:"4:15",description:"Take a tour of our modern facilities and classrooms"}],jD=[{name:"Sarah Chen",from:"Singapore",image:"https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&q=80",text:"The support I received from GlobalEnglish was exceptional. From visa assistance to finding accommodation, everything was handled professionally.",rating:5},{name:"Carlos Rodriguez",from:"Spain",image:"https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?auto=format&fit=crop&q=80",text:"The Business English course helped me secure a job at an international company. The teachers were experienced and the course material was practical.",rating:5},{name:"Maria Kowalski",from:"Poland",image:"https://images.unsplash.com/photo-1438761681033-6461ffad8d80?auto=format&fit=crop&q=80",text:"Studying in London through GlobalEnglish was a life-changing experience. The cultural immersion and quality of education exceeded my expectations.",rating:5}],SD=[{text:"👋 Hi! I'm here to help you with any questions about our English courses. How can I assist you today?",isBot:!0,timestamp:new Date}],LD=[{question:"What visa requirements are needed to study English abroad?",answer:"Requirements vary by destination. Generally, you'll need: a valid passport, proof of enrollment in an accredited language school, proof of sufficient funds (usually 3-6 months of living expenses), and health insurance. We provide comprehensive visa assistance to ensure a smooth application process."},{question:"How long are the English courses?",answer:"We offer flexible course durations ranging from 2 weeks to 12 months. Intensive courses typically run for 4-12 weeks, while standard courses can be taken for any duration. Business English and exam preparation courses usually require a minimum commitment of 8-12 weeks for optimal results."},{question:"What accommodation options are available?",answer:"We offer various accommodation options including: homestays with local families, student residences, shared apartments, and private studios. All options are carefully vetted and located within easy reach of our schools. Homestays are particularly popular for full language immersion."},{question:"Can I work while studying?",answer:"Work possibilities depend on your visa type and destination country. Many student visas allow part-time work (usually 20 hours per week). Our student services team can provide detailed information about work rights and help with job searching in your chosen destination."},{question:"What level of English do I need to start?",answer:"We accept students at all levels, from complete beginners to advanced speakers. Before starting, you'll take a placement test to ensure you're placed in the appropriate level. Our courses follow the Common European Framework of Reference (CEFR) from A1 to C2 levels."}],ID=[{title:"General English",rating:9.5,reviews:226,pricePerWeek:95,description:"Learn English at your own pace while making the most of your stay in Malta.",features:[{icon:"Clock",text:"20 classes of 45 min per week"},{icon:"Calendar",text:"You choose the number of weeks"},{icon:"Users",text:"15 students maximum per class"},{icon:"LineChart",text:"All levels"},{icon:"User",text:"From 16 to 99 years"}]},{title:"Intensive English",rating:9.2,reviews:229,pricePerWeek:189,description:"For those who want to learn faster. Combine exclusive Speaking classes with your General English course.",features:[{icon:"Clock",text:"30 classes of 45 min per week"},{icon:"Calendar",text:"You choose the number of weeks"},{icon:"Users",text:"15 students maximum per class"},{icon:"LineChart",text:"All levels"},{icon:"User",text:"From 16 to 99 years"}]},{title:"English 30+",rating:9.5,reviews:190,pricePerWeek:180,description:"For those who want to study with people of a similar age.",features:[{icon:"Clock",text:"20 or 30 classes per week"},{icon:"Calendar",text:"You choose the duration"},{icon:"Users",text:"15 students maximum per class"},{icon:"LineChart",text:"All levels"},{icon:"User",text:"From 30 years onwards"}]},{title:"Business English",rating:9.2,reviews:195,pricePerWeek:190,description:"For those looking to boost their professional career and access job opportunities worldwide.",features:[{icon:"Clock",text:"10, 20 or 30 classes per week"},{icon:"Calendar",text:"You choose the duration"},{icon:"Users",text:"Reduced groups"},{icon:"LineChart",text:"B1 level or higher"},{icon:"User",text:"From 18 years"}]}],ND=()=>(j.useEffect(()=>{bN.fromTo(".animated-text",{opacity:0,y:30},{opacity:1,y:0,duration:1,stagger:.2})},[]),a.jsxs("div",{className:"relative min-h-screen flex flex-col bg-gray-50",children:[a.jsx(pD,{children:a.jsxs("div",{className:"min-h-screen bg-white",children:[a.jsx(mD,{}),a.jsx(NN,{title:"Estudia inglés en Malta: Vive, Aprende trabaja y Crece",subtitle:"Tu aventura comienza aquí: Te ayudamos con visado, viaje, estadía, trabajo y más para que aprendas inglés en Malta.",bg_img:"https://maltalovers.com/wp-content/uploads/2017/05/cropped-Valletta2-2.jpg",main_btn_text:"Explore Courses",main_btn_link:"#courses",secondary_btn_text:"View Destinations",secondary_btn_link:"#destinations"}),a.jsx(AN,{services:kD,title:"Nuestro Servicios",description:"Todo lo que necesitas para aprender inglés en el menor tiempo y al mejor costo"}),a.jsx(FN,{services:xD,title:"Why Choose GlobalEnglish?",description:"Discover what sets us apart from other language schools"}),a.jsx(CN,{advantages:vD,title:"Why Choose GlobalEnglish?",description:"Discover what sets us apart from other language schools"}),a.jsx(RN,{features:gD,title:"Titulo",description:"description"}),a.jsx(EN,{courses:ID,title:"Test",description:"test"}),a.jsx(qN,{images:wD,autoPlayInterval:5e3,title:"Campus Life Gallery",description:"Take a visual tour of our facilities and student activities"}),a.jsx(IN,{destinations:MD,title:"Popular Destinations",description:"Choose from our carefully selected locations worldwide"}),a.jsx(LN,{courses:bD,title:"Our Courses",description:"Find the perfect course to match your goals"}),a.jsx(_N,{videos:CD,title:"Our Courses",description:"Find the perfect course to match your goals"}),a.jsx(PN,{testimonials:jD,title:"Our Courses",description:"Find the perfect course to match your goals"}),a.jsx(TN,{faqs:LD,title:"Our Courses",description:"Find the perfect course to match your goals"}),a.jsx(uD,{}),a.jsx(DN,{initialMessages:SD}),a.jsx(zN,{})]})}),a.jsx("footer",{className:"bg-gray-800 text-white py-8",children:a.jsxs("div",{className:"max-w-7xl mx-auto text-center space-y-4",children:[a.jsx("p",{className:"text-sm",children:"© 2024 Learn English. All Rights Reserved."}),a.jsxs("nav",{className:"flex justify-center space-x-6",children:[a.jsx("a",{href:"#home",className:"hover:text-yellow-400",children:"Home"}),a.jsx("a",{href:"#courses",className:"hover:text-yellow-400",children:"Courses"}),a.jsx("a",{href:"#contact",className:"hover:text-yellow-400",children:"Contact Us"})]})]})})]}));function AD({title:t,icon:e,jobs:r,viewAllText:n,viewAllHref:o,apiUrl:i}){const[c,l]=j.useState(r||[]),[d,h]=j.useState(!r),[u,p]=j.useState(null);j.useEffect(()=>{if(r)return;(async()=>{h(!0),p(null);try{const m=await fetch(i||"/api/featured-jobs");if(!m.ok)throw new Error(`Failed to fetch jobs: ${m.status}`);const x=await m.json();if(!Array.isArray(x))throw new Error("Expected an array of jobs");l(x)}catch(k){console.error("Error fetching jobs:",k),p(k instanceof Error?k.message:"Failed to load jobs"),l(y())}finally{h(!1)}})()},[r,i]);const y=()=>{const f=["Bet365","Entain","Flutter","DraftKings","Pinnacle"],k=["Game Developer","CRM Manager","VIP Account Manager","Compliance Specialist","UX Designer"],m=["Malta","London","Gibraltar","Remote","New York"];return Array.from({length:6},(x,v)=>({id:`mock-job-${v}`,title:k[v%k.length],company:f[v%f.length],companyLogo:`/logos/${f[v%f.length].toLowerCase()}.png`,location:m[v%m.length],salary:`€${Math.floor(Math.random()*30)+40},000`}))};return d?a.jsx("section",{className:"py-16 bg-white",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:[...Array(3)].map((f,k)=>a.jsxs("div",{className:"border border-gray-200 rounded-lg p-6 animate-pulse",children:[a.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[a.jsx("div",{className:"w-12 h-12 bg-gray-200 rounded"}),a.jsxs("div",{className:"space-y-2",children:[a.jsx("div",{className:"h-4 bg-gray-200 rounded w-3/4"}),a.jsx("div",{className:"h-3 bg-gray-200 rounded w-1/2"})]})]}),a.jsx("div",{className:"h-3 bg-gray-200 rounded w-1/2 mb-4"}),a.jsx("div",{className:"h-3 bg-gray-200 rounded w-1/4 mb-4"}),a.jsx("div",{className:"h-10 bg-gray-200 rounded"})]},k))})})}):u&&c.length===0?a.jsx("section",{className:"py-16 bg-white",children:a.jsx("div",{className:"container mx-auto px-4 text-center",children:a.jsxs("div",{className:"bg-red-50 border border-red-200 text-red-800 rounded-lg p-6 inline-block",children:[a.jsx("p",{children:u}),a.jsx($,{variant:"outline",className:"mt-4 border-red-300 text-red-800",onClick:()=>window.location.reload(),children:"Try Again"})]})})}):a.jsx("section",{className:"py-16 bg-white",children:a.jsxs("div",{className:"container mx-auto px-4",children:[a.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[e&&a.jsx("div",{children:e}),a.jsx("h2",{className:"text-2xl font-bold",children:t})]}),c.length>0?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:c.map(f=>a.jsxs("div",{className:"border border-gray-200 rounded-lg p-6 hover:shadow-md transition-shadow",children:[a.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[a.jsx("div",{className:"w-12 h-12 bg-gray-100 rounded flex items-center justify-center",children:a.jsx("img",{src:f.companyLogo||"/placeholder.svg",alt:`${f.company} logo`,width:48,height:48,className:"rounded",onError:k=>{k.target.src="/placeholder.svg"}})}),a.jsxs("div",{children:[a.jsx("h3",{className:"font-bold",children:f.title}),a.jsx("p",{className:"text-gray-600 text-sm",children:f.company})]})]}),a.jsxs("div",{className:"flex items-center gap-2 text-sm text-gray-600 mb-2",children:[a.jsx(Bt,{size:16}),a.jsx("span",{children:f.location})]}),a.jsx("div",{className:"text-green-600 font-medium mb-4",children:f.salary}),a.jsx($,{className:"w-full bg-[#0f1219] hover:bg-[#1a2236]",children:"Apply Now"})]},f.id))}),a.jsx("div",{className:"mt-8 text-center",children:a.jsx($,{variant:"outline",className:"border-[#0f1219] text-[#0f1219] hover:bg-[#0f1219] hover:text-white",onClick:()=>window.location.href=o,children:n})})]}):a.jsx("div",{className:"text-center py-8",children:a.jsx("p",{className:"text-gray-500",children:"No featured jobs available at the moment."})})]})})}function ON({title:t,description:e,primaryButtonText:r,primaryButtonHref:n,secondaryButtonText:o,secondaryButtonHref:i}){return a.jsx("section",{className:"py-16 bg-gradient-to-r from-[#1a2236] to-[#0f1219] text-white",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[a.jsx("h2",{className:"text-3xl font-bold mb-4",children:t}),a.jsx("p",{className:"text-xl text-gray-300 mb-8",children:e}),a.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[a.jsx($,{className:"bg-yellow-500 hover:bg-yellow-400 text-black font-medium px-6 py-2 rounded",onClick:()=>window.location.href=n,children:r}),a.jsx($,{variant:"outline",className:"bg-transparent border-white hover:bg-white/10 text-white font-medium px-6 py-2 rounded",onClick:()=>window.location.href=i,children:o})]})]})})})}function HN({title:t,subtitle:e,backgroundImage:r="/placeholder.svg?height=800&width=1600",primaryButtonText:n,primaryButtonLink:o="#",secondaryButtonText:i,secondaryButtonLink:c="#"}){return a.jsx("section",{className:"py-16 bg-gradient-to-r from-[#0f1219] to-[#1a2236] text-white relative overflow-hidden",children:a.jsx("div",{className:"container mx-auto px-4 relative z-10",children:a.jsx("div",{className:"relative z-10 container mx-auto px-4 text-center",children:a.jsxs("div",{className:"max-w-4xl mx-auto animate-fade-in",children:[a.jsxs("h1",{className:"text-4xl md:text-6xl font-bold text-primary-foreground mb-6 leading-tight",children:[t," ",a.jsx("span",{className:"bg-gradient-accent bg-clip-text text-transparent",children:"iGaming"})]}),a.jsx("p",{className:"text-xl md:text-2xl text-primary-foreground/80 mb-8 leading-relaxed",children:e}),a.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center items-center animate-slide-in",children:[a.jsxs("a",{href:o,className:`justify-center whitespace-nowrap text-sm transition-colors
7741
+ */var DS,Wa,Rs,Lj,Di,zS,Ij,Uq=function(){return typeof window<"u"},Ta={},qi=180/Math.PI,Ts=Math.PI/180,ds=Math.atan2,FS=1e8,Nj=/([A-Z])/g,$q=/(left|right|width|margin|padding|x)/i,Gq=/[\s,\(]\S/,ha={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},$C=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},Wq=function(e,r){return r.set(r.t,r.p,e===1?r.e:Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},Zq=function(e,r){return r.set(r.t,r.p,e?Math.round((r.s+r.c*e)*1e4)/1e4+r.u:r.b,r)},Xq=function(e,r){var n=r.s+r.c*e;r.set(r.t,r.p,~~(n+(n<0?-.5:.5))+r.u,r)},uN=function(e,r){return r.set(r.t,r.p,e?r.e:r.b,r)},pN=function(e,r){return r.set(r.t,r.p,e!==1?r.b:r.e,r)},Jq=function(e,r,n){return e.style[r]=n},Yq=function(e,r,n){return e.style.setProperty(r,n)},Kq=function(e,r,n){return e._gsap[r]=n},Qq=function(e,r,n){return e._gsap.scaleX=e._gsap.scaleY=n},eD=function(e,r,n,o,i){var c=e._gsap;c.scaleX=c.scaleY=n,c.renderTransform(i,c)},tD=function(e,r,n,o,i){var c=e._gsap;c[r]=n,c.renderTransform(i,c)},Ee="transform",vt=Ee+"Origin",aD=function t(e,r){var n=this,o=this.target,i=o.style,c=o._gsap;if(e in Ta&&i){if(this.tfm=this.tfm||{},e!=="transform")e=ha[e]||e,~e.indexOf(",")?e.split(",").forEach(function(l){return n.tfm[l]=Ia(o,l)}):this.tfm[e]=c.x?c[e]:Ia(o,e),e===vt&&(this.tfm.zOrigin=c.zOrigin);else return ha.transform.split(",").forEach(function(l){return t.call(n,l,r)});if(this.props.indexOf(Ee)>=0)return;c.svg&&(this.svgo=o.getAttribute("data-svg-origin"),this.props.push(vt,r,"")),e=Ee}(i||r)&&this.props.push(e,r,i[e])},yN=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},rD=function(){var e=this.props,r=this.target,n=r.style,o=r._gsap,i,c;for(i=0;i<e.length;i+=3)e[i+1]?r[e[i]]=e[i+2]:e[i+2]?n[e[i]]=e[i+2]:n.removeProperty(e[i].substr(0,2)==="--"?e[i]:e[i].replace(Nj,"-$1").toLowerCase());if(this.tfm){for(c in this.tfm)o[c]=this.tfm[c];o.svg&&(o.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),i=Ij(),(!i||!i.isStart)&&!n[Ee]&&(yN(n),o.zOrigin&&n[vt]&&(n[vt]+=" "+o.zOrigin+"px",o.zOrigin=0,o.renderTransform()),o.uncache=1)}},mN=function(e,r){var n={target:e,props:[],revert:rD,save:aD};return e._gsap||wt.core.getCache(e),r&&r.split(",").forEach(function(o){return n.save(o)}),n},fN,GC=function(e,r){var n=Wa.createElementNS?Wa.createElementNS((r||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Wa.createElement(e);return n&&n.style?n:Wa.createElement(e)},ma=function t(e,r,n){var o=getComputedStyle(e);return o[r]||o.getPropertyValue(r.replace(Nj,"-$1").toLowerCase())||o.getPropertyValue(r)||!n&&t(e,Bs(r)||r,1)||""},ES="O,Moz,ms,Ms,Webkit".split(","),Bs=function(e,r,n){var o=r||Di,i=o.style,c=5;if(e in i&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);c--&&!(ES[c]+e in i););return c<0?null:(c===3?"ms":c>=0?ES[c]:"")+e},WC=function(){Uq()&&window.document&&(DS=window,Wa=DS.document,Rs=Wa.documentElement,Di=GC("div")||{style:{}},GC("div"),Ee=Bs(Ee),vt=Ee+"Origin",Di.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",fN=!!Bs("perspective"),Ij=wt.core.reverting,Lj=1)},dC=function t(e){var r=GC("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,o=this.nextSibling,i=this.style.cssText,c;if(Rs.appendChild(r),r.appendChild(this),this.style.display="block",e)try{c=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch{}else this._gsapBBox&&(c=this._gsapBBox());return n&&(o?n.insertBefore(this,o):n.appendChild(this)),Rs.removeChild(r),this.style.cssText=i,c},OS=function(e,r){for(var n=r.length;n--;)if(e.hasAttribute(r[n]))return e.getAttribute(r[n])},xN=function(e){var r;try{r=e.getBBox()}catch{r=dC.call(e,!0)}return r&&(r.width||r.height)||e.getBBox===dC||(r=dC.call(e,!0)),r&&!r.width&&!r.x&&!r.y?{x:+OS(e,["x","cx","x1"])||0,y:+OS(e,["y","cy","y1"])||0,width:0,height:0}:r},kN=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&xN(e))},Zi=function(e,r){if(r){var n=e.style,o;r in Ta&&r!==vt&&(r=Ee),n.removeProperty?(o=r.substr(0,2),(o==="ms"||r.substr(0,6)==="webkit")&&(r="-"+r),n.removeProperty(o==="--"?r:r.replace(Nj,"-$1").toLowerCase())):n.removeAttribute(r)}},Za=function(e,r,n,o,i,c){var l=new gt(e._pt,r,n,0,1,c?pN:uN);return e._pt=l,l.b=o,l.e=i,e._props.push(n),l},HS={deg:1,rad:1,turn:1},nD={grid:1,flex:1},ar=function t(e,r,n,o){var i=parseFloat(n)||0,c=(n+"").trim().substr((i+"").length)||"px",l=Di.style,d=$q.test(r),h=e.tagName.toLowerCase()==="svg",u=(h?"client":"offset")+(d?"Width":"Height"),p=100,y=o==="px",f=o==="%",k,m,x,v;if(o===c||!i||HS[o]||HS[c])return i;if(c!=="px"&&!y&&(i=t(e,r,n,"px")),v=e.getCTM&&kN(e),(f||c==="%")&&(Ta[r]||~r.indexOf("adius")))return k=v?e.getBBox()[d?"width":"height"]:e[u],Ge(f?i/k*p:i/100*k);if(l[d?"width":"height"]=p+(y?c:o),m=~r.indexOf("adius")||o==="em"&&e.appendChild&&!h?e:e.parentNode,v&&(m=(e.ownerSVGElement||{}).parentNode),(!m||m===Wa||!m.appendChild)&&(m=Wa.body),x=m._gsap,x&&f&&x.width&&d&&x.time===It.time&&!x.uncache)return Ge(i/x.width*p);if(f&&(r==="height"||r==="width")){var w=e.style[r];e.style[r]=p+o,k=e[u],w?e.style[r]=w:Zi(e,r)}else(f||c==="%")&&!nD[ma(m,"display")]&&(l.position=ma(e,"position")),m===e&&(l.position="static"),m.appendChild(Di),k=Di[u],m.removeChild(Di),l.position="absolute";return d&&f&&(x=Bi(m),x.time=It.time,x.width=m[u]),Ge(y?k*i/p:k&&i?p/k*i:0)},Ia=function(e,r,n,o){var i;return Lj||WC(),r in ha&&r!=="transform"&&(r=ha[r],~r.indexOf(",")&&(r=r.split(",")[0])),Ta[r]&&r!=="transform"?(i=Uc(e,o),i=r!=="transformOrigin"?i[r]:i.svg?i.origin:y9(ma(e,vt))+" "+i.zOrigin+"px"):(i=e.style[r],(!i||i==="auto"||o||~(i+"").indexOf("calc("))&&(i=p9[r]&&p9[r](e,r,n)||ma(e,r)||TI(e,r)||(r==="opacity"?1:0))),n&&!~(i+"").trim().indexOf(" ")?ar(e,r,i,n)+n:i},oD=function(e,r,n,o){if(!n||n==="none"){var i=Bs(r,e,1),c=i&&ma(e,i,1);c&&c!==n?(r=i,n=c):r==="borderColor"&&(n=ma(e,"borderTopColor"))}var l=new gt(this._pt,e.style,r,0,1,lN),d=0,h=0,u,p,y,f,k,m,x,v,w,C,M,b;if(l.b=n,l.e=o,n+="",o+="",o==="auto"&&(m=e.style[r],e.style[r]=o,o=ma(e,r)||o,m?e.style[r]=m:Zi(e,r)),u=[n,o],QI(u),n=u[0],o=u[1],y=n.match(ys)||[],b=o.match(ys)||[],b.length){for(;p=ys.exec(o);)x=p[0],w=o.substring(d,p.index),k?k=(k+1)%5:(w.substr(-5)==="rgba("||w.substr(-5)==="hsla(")&&(k=1),x!==(m=y[h++]||"")&&(f=parseFloat(m)||0,M=m.substr((f+"").length),x.charAt(1)==="="&&(x=_s(f,x)+M),v=parseFloat(x),C=x.substr((v+"").length),d=ys.lastIndex-C.length,C||(C=C||At.units[r]||M,d===o.length&&(o+=C,l.e+=C)),M!==C&&(f=ar(e,r,m,C)||0),l._pt={_next:l._pt,p:w||h===1?w:",",s:f,c:v-f,m:k&&k<4||r==="zIndex"?Math.round:0});l.c=d<o.length?o.substring(d,o.length):""}else l.r=r==="display"&&o==="none"?pN:uN;return II.test(o)&&(l.e=0),this._pt=l,l},VS={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},iD=function(e){var r=e.split(" "),n=r[0],o=r[1]||"50%";return(n==="top"||n==="bottom"||o==="left"||o==="right")&&(e=n,n=o,o=e),r[0]=VS[n]||n,r[1]=VS[o]||o,r.join(" ")},sD=function(e,r){if(r.tween&&r.tween._time===r.tween._dur){var n=r.t,o=n.style,i=r.u,c=n._gsap,l,d,h;if(i==="all"||i===!0)o.cssText="",d=1;else for(i=i.split(","),h=i.length;--h>-1;)l=i[h],Ta[l]&&(d=1,l=l==="transformOrigin"?vt:Ee),Zi(n,l);d&&(Zi(n,Ee),c&&(c.svg&&n.removeAttribute("transform"),Uc(n,1),c.uncache=1,yN(o)))}},p9={clearProps:function(e,r,n,o,i){if(i.data!=="isFromStart"){var c=e._pt=new gt(e._pt,r,n,0,0,sD);return c.u=o,c.pr=-10,c.tween=i,e._props.push(n),1}}},Bc=[1,0,0,1,0,0],gN={},vN=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},BS=function(e){var r=ma(e,Ee);return vN(r)?Bc:r.substr(7).match(LI).map(Ge)},Aj=function(e,r){var n=e._gsap||Bi(e),o=e.style,i=BS(e),c,l,d,h;return n.svg&&e.getAttribute("transform")?(d=e.transform.baseVal.consolidate().matrix,i=[d.a,d.b,d.c,d.d,d.e,d.f],i.join(",")==="1,0,0,1,0,0"?Bc:i):(i===Bc&&!e.offsetParent&&e!==Rs&&!n.svg&&(d=o.display,o.display="block",c=e.parentNode,(!c||!e.offsetParent)&&(h=1,l=e.nextElementSibling,Rs.appendChild(e)),i=BS(e),d?o.display=d:Zi(e,"display"),h&&(l?c.insertBefore(e,l):c?c.appendChild(e):Rs.removeChild(e))),r&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},ZC=function(e,r,n,o,i,c){var l=e._gsap,d=i||Aj(e,!0),h=l.xOrigin||0,u=l.yOrigin||0,p=l.xOffset||0,y=l.yOffset||0,f=d[0],k=d[1],m=d[2],x=d[3],v=d[4],w=d[5],C=r.split(" "),M=parseFloat(C[0])||0,b=parseFloat(C[1])||0,N,L,A,I;n?d!==Bc&&(L=f*x-k*m)&&(A=M*(x/L)+b*(-m/L)+(m*w-x*v)/L,I=M*(-k/L)+b*(f/L)-(f*w-k*v)/L,M=A,b=I):(N=xN(e),M=N.x+(~C[0].indexOf("%")?M/100*N.width:M),b=N.y+(~(C[1]||C[0]).indexOf("%")?b/100*N.height:b)),o||o!==!1&&l.smooth?(v=M-h,w=b-u,l.xOffset=p+(v*f+w*m)-v,l.yOffset=y+(v*k+w*x)-w):l.xOffset=l.yOffset=0,l.xOrigin=M,l.yOrigin=b,l.smooth=!!o,l.origin=r,l.originIsAbsolute=!!n,e.style[vt]="0px 0px",c&&(Za(c,l,"xOrigin",h,M),Za(c,l,"yOrigin",u,b),Za(c,l,"xOffset",p,l.xOffset),Za(c,l,"yOffset",y,l.yOffset)),e.setAttribute("data-svg-origin",M+" "+b)},Uc=function(e,r){var n=e._gsap||new rN(e);if("x"in n&&!r&&!n.uncache)return n;var o=e.style,i=n.scaleX<0,c="px",l="deg",d=getComputedStyle(e),h=ma(e,vt)||"0",u,p,y,f,k,m,x,v,w,C,M,b,N,L,A,I,q,P,_,R,U,W,V,O,E,Q,de,ee,te,Me,ge,ae;return u=p=y=m=x=v=w=C=M=0,f=k=1,n.svg=!!(e.getCTM&&kN(e)),d.translate&&((d.translate!=="none"||d.scale!=="none"||d.rotate!=="none")&&(o[Ee]=(d.translate!=="none"?"translate3d("+(d.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(d.rotate!=="none"?"rotate("+d.rotate+") ":"")+(d.scale!=="none"?"scale("+d.scale.split(" ").join(",")+") ":"")+(d[Ee]!=="none"?d[Ee]:"")),o.scale=o.rotate=o.translate="none"),L=Aj(e,n.svg),n.svg&&(n.uncache?(E=e.getBBox(),h=n.xOrigin-E.x+"px "+(n.yOrigin-E.y)+"px",O=""):O=!r&&e.getAttribute("data-svg-origin"),ZC(e,O||h,!!O||n.originIsAbsolute,n.smooth!==!1,L)),b=n.xOrigin||0,N=n.yOrigin||0,L!==Bc&&(P=L[0],_=L[1],R=L[2],U=L[3],u=W=L[4],p=V=L[5],L.length===6?(f=Math.sqrt(P*P+_*_),k=Math.sqrt(U*U+R*R),m=P||_?ds(_,P)*qi:0,w=R||U?ds(R,U)*qi+m:0,w&&(k*=Math.abs(Math.cos(w*Ts))),n.svg&&(u-=b-(b*P+N*R),p-=N-(b*_+N*U))):(ae=L[6],Me=L[7],de=L[8],ee=L[9],te=L[10],ge=L[11],u=L[12],p=L[13],y=L[14],A=ds(ae,te),x=A*qi,A&&(I=Math.cos(-A),q=Math.sin(-A),O=W*I+de*q,E=V*I+ee*q,Q=ae*I+te*q,de=W*-q+de*I,ee=V*-q+ee*I,te=ae*-q+te*I,ge=Me*-q+ge*I,W=O,V=E,ae=Q),A=ds(-R,te),v=A*qi,A&&(I=Math.cos(-A),q=Math.sin(-A),O=P*I-de*q,E=_*I-ee*q,Q=R*I-te*q,ge=U*q+ge*I,P=O,_=E,R=Q),A=ds(_,P),m=A*qi,A&&(I=Math.cos(A),q=Math.sin(A),O=P*I+_*q,E=W*I+V*q,_=_*I-P*q,V=V*I-W*q,P=O,W=E),x&&Math.abs(x)+Math.abs(m)>359.9&&(x=m=0,v=180-v),f=Ge(Math.sqrt(P*P+_*_+R*R)),k=Ge(Math.sqrt(V*V+ae*ae)),A=ds(W,V),w=Math.abs(A)>2e-4?A*qi:0,M=ge?1/(ge<0?-ge:ge):0),n.svg&&(O=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!vN(ma(e,Ee)),O&&e.setAttribute("transform",O))),Math.abs(w)>90&&Math.abs(w)<270&&(i?(f*=-1,w+=m<=0?180:-180,m+=m<=0?180:-180):(k*=-1,w+=w<=0?180:-180)),r=r||n.uncache,n.x=u-((n.xPercent=u&&(!r&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+c,n.y=p-((n.yPercent=p&&(!r&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-p)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+c,n.z=y+c,n.scaleX=Ge(f),n.scaleY=Ge(k),n.rotation=Ge(m)+l,n.rotationX=Ge(x)+l,n.rotationY=Ge(v)+l,n.skewX=w+l,n.skewY=C+l,n.transformPerspective=M+c,(n.zOrigin=parseFloat(h.split(" ")[2])||!r&&n.zOrigin||0)&&(o[vt]=y9(h)),n.xOffset=n.yOffset=0,n.force3D=At.force3D,n.renderTransform=n.svg?lD:fN?wN:cD,n.uncache=0,n},y9=function(e){return(e=e.split(" "))[0]+" "+e[1]},hC=function(e,r,n){var o=dt(r);return Ge(parseFloat(r)+parseFloat(ar(e,"x",n+"px",o)))+o},cD=function(e,r){r.z="0px",r.rotationY=r.rotationX="0deg",r.force3D=0,wN(e,r)},hr="0deg",ic="0px",ur=") ",wN=function(e,r){var n=r||this,o=n.xPercent,i=n.yPercent,c=n.x,l=n.y,d=n.z,h=n.rotation,u=n.rotationY,p=n.rotationX,y=n.skewX,f=n.skewY,k=n.scaleX,m=n.scaleY,x=n.transformPerspective,v=n.force3D,w=n.target,C=n.zOrigin,M="",b=v==="auto"&&e&&e!==1||v===!0;if(C&&(p!==hr||u!==hr)){var N=parseFloat(u)*Ts,L=Math.sin(N),A=Math.cos(N),I;N=parseFloat(p)*Ts,I=Math.cos(N),c=hC(w,c,L*I*-C),l=hC(w,l,-Math.sin(N)*-C),d=hC(w,d,A*I*-C+C)}x!==ic&&(M+="perspective("+x+ur),(o||i)&&(M+="translate("+o+"%, "+i+"%) "),(b||c!==ic||l!==ic||d!==ic)&&(M+=d!==ic||b?"translate3d("+c+", "+l+", "+d+") ":"translate("+c+", "+l+ur),h!==hr&&(M+="rotate("+h+ur),u!==hr&&(M+="rotateY("+u+ur),p!==hr&&(M+="rotateX("+p+ur),(y!==hr||f!==hr)&&(M+="skew("+y+", "+f+ur),(k!==1||m!==1)&&(M+="scale("+k+", "+m+ur),w.style[Ee]=M||"translate(0, 0)"},lD=function(e,r){var n=r||this,o=n.xPercent,i=n.yPercent,c=n.x,l=n.y,d=n.rotation,h=n.skewX,u=n.skewY,p=n.scaleX,y=n.scaleY,f=n.target,k=n.xOrigin,m=n.yOrigin,x=n.xOffset,v=n.yOffset,w=n.forceCSS,C=parseFloat(c),M=parseFloat(l),b,N,L,A,I;d=parseFloat(d),h=parseFloat(h),u=parseFloat(u),u&&(u=parseFloat(u),h+=u,d+=u),d||h?(d*=Ts,h*=Ts,b=Math.cos(d)*p,N=Math.sin(d)*p,L=Math.sin(d-h)*-y,A=Math.cos(d-h)*y,h&&(u*=Ts,I=Math.tan(h-u),I=Math.sqrt(1+I*I),L*=I,A*=I,u&&(I=Math.tan(u),I=Math.sqrt(1+I*I),b*=I,N*=I)),b=Ge(b),N=Ge(N),L=Ge(L),A=Ge(A)):(b=p,A=y,N=L=0),(C&&!~(c+"").indexOf("px")||M&&!~(l+"").indexOf("px"))&&(C=ar(f,"x",c,"px"),M=ar(f,"y",l,"px")),(k||m||x||v)&&(C=Ge(C+k-(k*b+m*L)+x),M=Ge(M+m-(k*N+m*A)+v)),(o||i)&&(I=f.getBBox(),C=Ge(C+o/100*I.width),M=Ge(M+i/100*I.height)),I="matrix("+b+","+N+","+L+","+A+","+C+","+M+")",f.setAttribute("transform",I),w&&(f.style[Ee]=I)},dD=function(e,r,n,o,i){var c=360,l=at(i),d=parseFloat(i)*(l&&~i.indexOf("rad")?qi:1),h=d-o,u=o+h+"deg",p,y;return l&&(p=i.split("_")[1],p==="short"&&(h%=c,h!==h%(c/2)&&(h+=h<0?c:-c)),p==="cw"&&h<0?h=(h+c*FS)%c-~~(h/c)*c:p==="ccw"&&h>0&&(h=(h-c*FS)%c-~~(h/c)*c)),e._pt=y=new gt(e._pt,r,n,o,h,Wq),y.e=u,y.u="deg",e._props.push(n),y},US=function(e,r){for(var n in r)e[n]=r[n];return e},hD=function(e,r,n){var o=US({},n._gsap),i="perspective,force3D,transformOrigin,svgOrigin",c=n.style,l,d,h,u,p,y,f,k;o.svg?(h=n.getAttribute("transform"),n.setAttribute("transform",""),c[Ee]=r,l=Uc(n,1),Zi(n,Ee),n.setAttribute("transform",h)):(h=getComputedStyle(n)[Ee],c[Ee]=r,l=Uc(n,1),c[Ee]=h);for(d in Ta)h=o[d],u=l[d],h!==u&&i.indexOf(d)<0&&(f=dt(h),k=dt(u),p=f!==k?ar(n,d,h,k):parseFloat(h),y=parseFloat(u),e._pt=new gt(e._pt,l,d,p,y-p,$C),e._pt.u=k||0,e._props.push(d));US(l,o)};kt("padding,margin,Width,Radius",function(t,e){var r="Top",n="Right",o="Bottom",i="Left",c=(e<3?[r,n,o,i]:[r+i,r+n,o+n,o+i]).map(function(l){return e<2?t+l:"border"+l+t});p9[e>1?"border"+t:t]=function(l,d,h,u,p){var y,f;if(arguments.length<4)return y=c.map(function(k){return Ia(l,k,h)}),f=y.join(" "),f.split(y[0]).length===5?y[0]:f;y=(u+"").split(" "),f={},c.forEach(function(k,m){return f[k]=y[m]=y[m]||y[(m-1)/2|0]}),l.init(d,f,p)}});var MN={name:"css",register:WC,targetTest:function(e){return e.style&&e.nodeType},init:function(e,r,n,o,i){var c=this._props,l=e.style,d=n.vars.startAt,h,u,p,y,f,k,m,x,v,w,C,M,b,N,L,A;Lj||WC(),this.styles=this.styles||mN(e),A=this.styles.props,this.tween=n;for(m in r)if(m!=="autoRound"&&(u=r[m],!(Ct[m]&&nN(m,r,n,o,e,i)))){if(f=typeof u,k=p9[m],f==="function"&&(u=u.call(n,o,e,i),f=typeof u),f==="string"&&~u.indexOf("random(")&&(u=Oc(u)),k)k(this,e,m,u,n)&&(L=1);else if(m.substr(0,2)==="--")h=(getComputedStyle(e).getPropertyValue(m)+"").trim(),u+="",Qa.lastIndex=0,Qa.test(h)||(x=dt(h),v=dt(u)),v?x!==v&&(h=ar(e,m,h,v)+v):x&&(u+=x),this.add(l,"setProperty",h,u,o,i,0,0,m),c.push(m),A.push(m,0,l[m]);else if(f!=="undefined"){if(d&&m in d?(h=typeof d[m]=="function"?d[m].call(n,o,e,i):d[m],at(h)&&~h.indexOf("random(")&&(h=Oc(h)),dt(h+"")||h==="auto"||(h+=At.units[m]||dt(Ia(e,m))||""),(h+"").charAt(1)==="="&&(h=Ia(e,m))):h=Ia(e,m),y=parseFloat(h),w=f==="string"&&u.charAt(1)==="="&&u.substr(0,2),w&&(u=u.substr(2)),p=parseFloat(u),m in ha&&(m==="autoAlpha"&&(y===1&&Ia(e,"visibility")==="hidden"&&p&&(y=0),A.push("visibility",0,l.visibility),Za(this,l,"visibility",y?"inherit":"hidden",p?"inherit":"hidden",!p)),m!=="scale"&&m!=="transform"&&(m=ha[m],~m.indexOf(",")&&(m=m.split(",")[0]))),C=m in Ta,C){if(this.styles.save(m),M||(b=e._gsap,b.renderTransform&&!r.parseTransform||Uc(e,r.parseTransform),N=r.smoothOrigin!==!1&&b.smooth,M=this._pt=new gt(this._pt,l,Ee,0,1,b.renderTransform,b,0,-1),M.dep=1),m==="scale")this._pt=new gt(this._pt,b,"scaleY",b.scaleY,(w?_s(b.scaleY,w+p):p)-b.scaleY||0,$C),this._pt.u=0,c.push("scaleY",m),m+="X";else if(m==="transformOrigin"){A.push(vt,0,l[vt]),u=iD(u),b.svg?ZC(e,u,0,N,0,this):(v=parseFloat(u.split(" ")[2])||0,v!==b.zOrigin&&Za(this,b,"zOrigin",b.zOrigin,v),Za(this,l,m,y9(h),y9(u)));continue}else if(m==="svgOrigin"){ZC(e,u,1,N,0,this);continue}else if(m in gN){dD(this,b,m,y,w?_s(y,w+u):u);continue}else if(m==="smoothOrigin"){Za(this,b,"smooth",b.smooth,u);continue}else if(m==="force3D"){b[m]=u;continue}else if(m==="transform"){hD(this,u,e);continue}}else m in l||(m=Bs(m)||m);if(C||(p||p===0)&&(y||y===0)&&!Gq.test(u)&&m in l)x=(h+"").substr((y+"").length),p||(p=0),v=dt(u)||(m in At.units?At.units[m]:x),x!==v&&(y=ar(e,m,h,v)),this._pt=new gt(this._pt,C?b:l,m,y,(w?_s(y,w+p):p)-y,!C&&(v==="px"||m==="zIndex")&&r.autoRound!==!1?Xq:$C),this._pt.u=v||0,x!==v&&v!=="%"&&(this._pt.b=h,this._pt.r=Zq);else if(m in l)oD.call(this,e,m,h,w?w+u:u);else if(m in e)this.add(e,m,h||e[m],w?w+u:u,o,i);else if(m!=="parseTransform"){kj(m,u);continue}C||(m in l?A.push(m,0,l[m]):A.push(m,1,h||e[m])),c.push(m)}}L&&dN(this)},render:function(e,r){if(r.tween._time||!Ij())for(var n=r._pt;n;)n.r(e,n.d),n=n._next;else r.styles.revert()},get:Ia,aliases:ha,getSetter:function(e,r,n){var o=ha[r];return o&&o.indexOf(",")<0&&(r=o),r in Ta&&r!==vt&&(e._gsap.x||Ia(e,"x"))?n&&zS===n?r==="scale"?Qq:Kq:(zS=n||{})&&(r==="scale"?eD:tD):e.style&&!mj(e.style[r])?Jq:~r.indexOf("-")?Yq:jj(e,r)},core:{_removeProperty:Zi,_getMatrix:Aj}};wt.utils.checkPrefix=Bs;wt.core.getStyleSaver=mN;(function(t,e,r,n){var o=kt(t+","+e+","+r,function(i){Ta[i]=1});kt(e,function(i){At.units[i]="deg",gN[i]=1}),ha[o[13]]=t+","+e,kt(n,function(i){var c=i.split(":");ha[c[1]]=o[c[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");kt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){At.units[t]="px"});wt.registerPlugin(MN);var bN=wt.registerPlugin(MN)||wt;bN.core.Tween;function Pj(t){return XT[t]||$a}function CN({advantages:t,title:e,description:r}){return a.jsx("section",{className:"py-20 bg-gradient-to-b from-white to-gray-50",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3",children:t.map((n,o)=>{const i=Pj(n.icon);return a.jsxs("div",{className:"relative bg-white p-6 rounded-xl shadow-md hover:shadow-lg transition-shadow flex flex-col",children:[a.jsxs("div",{className:"w-12 h-12 flex items-center justify-center bg-yellow-50 rounded-lg text-yellow-600 mb-4",children:[i?a.jsx(i,{className:"h-8 w-8"}):null," "]}),a.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:n.title}),a.jsx("p",{className:"text-gray-600 mb-6",children:n.description}),n.ctaLink&&n.ctaText?a.jsx("div",{className:"mt-auto",children:a.jsxs("a",{href:n.ctaLink,className:"inline-flex items-center text-yellow-600 hover:text-yellow-700 font-medium group",children:[n.ctaText,a.jsx(xs,{className:"ml-2 h-4 w-4 transform group-hover:translate-x-1 transition-transform"})]})}):""]},o)})})]})})}function uD({title:t="Get in Touch",description:e="Have questions? We're here to help you start your journey",nameLabel:r="Full Name",emailLabel:n="Email",messageLabel:o="Message",namePlaceholder:i="Your full name",emailPlaceholder:c="you@example.com",messagePlaceholder:l="How can we help?",submitButtonLabel:d="Send Message",contactEmail:h="contact@globalenglish.com",contactPhone:u="+1 (555) 123-4567",contactMessage:p="Live chat available 24/7",onSubmit:y,showContactDetails:f=!0}){const k=m=>{m.preventDefault();const x=new FormData(m.currentTarget);y==null||y({name:String(x.get("name")??""),email:String(x.get("email")??""),message:String(x.get("message")??"")})};return a.jsx("section",{id:"contact",className:"py-20 bg-gray-50",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:t}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:e})]}),a.jsxs("div",{className:"mt-16 max-w-lg mx-auto",children:[a.jsxs("form",{className:"space-y-6",onSubmit:k,children:[a.jsxs("div",{children:[a.jsx("label",{htmlFor:"name",className:"block text-sm font-medium text-gray-700",children:r}),a.jsx("input",{type:"text",id:"name",name:"name",placeholder:i,className:"mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-yellow-500 focus:ring-blue-500"})]}),a.jsxs("div",{children:[a.jsx("label",{htmlFor:"email",className:"block text-sm font-medium text-gray-700",children:n}),a.jsx("input",{type:"email",id:"email",name:"email",placeholder:c,className:"mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-yellow-500 focus:ring-blue-500"})]}),a.jsxs("div",{children:[a.jsx("label",{htmlFor:"message",className:"block text-sm font-medium text-gray-700",children:o}),a.jsx("textarea",{id:"message",name:"message",rows:4,placeholder:l,className:"mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-yellow-500 focus:ring-blue-500"})]}),a.jsx("button",{type:"submit",className:"w-full bg-yellow-600 text-white py-3 px-4 rounded-md hover:bg-yellow-700 transition-colors",children:d})]}),f&&a.jsxs("div",{className:"mt-12 space-y-4",children:[a.jsxs("div",{className:"flex items-center text-gray-600",children:[a.jsx(ya,{className:"h-6 w-6 mr-3"}),a.jsx("span",{children:h})]}),a.jsxs("div",{className:"flex items-center text-gray-600",children:[a.jsx(Hi,{className:"h-6 w-6 mr-3"}),a.jsx("span",{children:u})]}),a.jsxs("div",{className:"flex items-center text-gray-600",children:[a.jsx(Ss,{className:"h-6 w-6 mr-3"}),a.jsx("span",{children:p})]})]})]})]})})}const jN=j.createContext(void 0);function pD({children:t}){const[e,r]=j.useState([]),[n,o]=j.useState(!1),i=j.useCallback(u=>{r(p=>p.find(f=>f.id===u.id)?p.map(f=>f.id===u.id?{...f,quantity:f.quantity+1}:f):[...p,{...u,quantity:1}]),o(!0)},[]),c=j.useCallback(u=>{r(p=>p.filter(y=>y.id!==u))},[]),l=j.useCallback((u,p)=>{r(y=>y.map(f=>f.id===u?{...f,quantity:Math.max(0,p)}:f))},[]),d=j.useCallback(()=>{o(u=>!u)},[]),h=e.reduce((u,p)=>u+p.price*p.quantity,0);return a.jsx(jN.Provider,{value:{items:e,isOpen:n,addItem:i,removeItem:c,updateQuantity:l,toggleCart:d,total:h},children:t})}function SN(){const t=j.useContext(jN);if(t===void 0)throw new Error("useCart must be used within a CartProvider");return t}function LN({courses:t,title:e,description:r}){const{addItem:n}=SN();return a.jsx("section",{id:"courses",className:"py-20 bg-white",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-4",children:t.map(o=>a.jsxs("div",{className:"bg-white border border-gray-200 rounded-lg p-6 hover:border-yellow-500 transition-colors",children:[a.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-4",children:o.title}),a.jsxs("div",{className:"space-y-3 mb-6",children:[a.jsxs("div",{className:"flex items-center text-gray-600",children:[a.jsx(Kt,{className:"h-5 w-5 mr-2"}),a.jsx("span",{children:o.duration})]}),a.jsxs("div",{className:"flex items-center text-gray-600",children:[a.jsx(_a,{className:"h-5 w-5 mr-2"}),a.jsx("span",{children:o.type})]}),a.jsxs("div",{className:"flex items-center text-gray-600",children:[a.jsx(Nc,{className:"h-5 w-5 mr-2"}),a.jsx("span",{children:o.level})]})]}),a.jsx("p",{className:"text-gray-600 mb-6",children:o.description}),a.jsx("div",{className:"flex items-center justify-between mb-4",children:a.jsxs("span",{className:"text-2xl font-bold text-gray-900",children:["$",o.price]})}),a.jsxs("button",{onClick:()=>n({id:o.id,name:o.title,price:o.price,duration:o.duration}),className:"w-full bg-yellow-600 text-white py-2 px-4 rounded-md hover:bg-yellow-700 transition-colors flex items-center justify-center space-x-2",children:[a.jsx(As,{className:"h-5 w-5"}),a.jsx("span",{children:"Add to Cart"})]})]},o.id))})]})})}function IN({destinations:t,title:e,description:r}){const[n,o]=j.useState(0),[i,c]=j.useState(!0),l=()=>typeof window<"u"?window.innerWidth<640?1:window.innerWidth<1024?2:4:4,[d,h]=j.useState(l());j.useEffect(()=>{const f=()=>{h(l())};return window.addEventListener("resize",f),()=>window.removeEventListener("resize",f)},[]),j.useEffect(()=>{let f;return i&&(f=setInterval(()=>{o(k=>(k+1)%(t.length-d+1))},5e3)),()=>clearInterval(f)},[i]);const u=()=>{o(f=>Math.max(0,f-1)),c(!1)},p=()=>{o(f=>Math.min(t.length-d,f+1)),c(!1)},y=t.slice(n,n+d);return a.jsx("section",{id:"destinations",className:"py-20",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsxs("div",{className:"mt-16 relative",children:[a.jsx("div",{className:"flex gap-4 md:gap-6 lg:gap-8",children:y.map((f,k)=>a.jsxs("div",{className:"w-full md:w-1/2 lg:w-1/4 relative group overflow-hidden rounded-lg shadow-lg hover:shadow-xl transition-all",children:[a.jsx("img",{src:f.image,alt:f.name,className:"w-full h-64 object-cover group-hover:scale-110 transition-transform duration-300"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/70 to-transparent",children:a.jsxs("div",{className:"absolute bottom-0 p-6",children:[a.jsxs("div",{className:"flex items-center text-white mb-2",children:[a.jsx(Bt,{className:"h-5 w-5 mr-2"}),a.jsx("h3",{className:"text-lg font-semibold",children:f.name})]}),a.jsx("p",{className:"text-white/90 text-sm",children:f.description})]})})]},n+k))}),a.jsx("button",{onClick:u,disabled:n===0,className:`absolute left-0 top-1/2 -translate-y-1/2 -translate-x-4 bg-white/90 p-2 rounded-full shadow-lg transition-opacity ${n===0?"opacity-50 cursor-not-allowed":"hover:bg-white"}`,children:a.jsx(Ei,{className:"h-6 w-6 text-gray-800"})}),a.jsx("button",{onClick:p,disabled:n>=t.length-d,className:`absolute right-0 top-1/2 -translate-y-1/2 translate-x-4 bg-white/90 p-2 rounded-full shadow-lg transition-opacity ${n>=t.length-d?"opacity-50 cursor-not-allowed":"hover:bg-white"}`,children:a.jsx(Ja,{className:"h-6 w-6 text-gray-800"})})]}),a.jsx("div",{className:"flex justify-center mt-8 space-x-2",children:Array.from({length:Math.ceil(t.length/d)}).map((f,k)=>a.jsx("button",{onClick:()=>{o(k*d),c(!1)},className:`w-2 h-2 rounded-full transition-all ${Math.floor(n/d)===k?"bg-yellow-600 w-4":"bg-gray-300 hover:bg-gray-400"}`},k))})]})})}const yD=[{label:"Destinations",href:"#destinations"},{label:"Courses",href:"#courses"},{label:"Services",href:"#services"}];function mD({title:t="GlobalEnglish",navItems:e=yD,ctaLabel:r="Contact Us",ctaHref:n="#contact",brandIcon:o=a.jsx(Ms,{className:"h-8 w-8 text-yellow-600"}),defaultOpen:i=!1,isOpen:c,onToggleMenu:l,menuButtonAriaLabel:d="Toggle navigation"}){const[h,u]=j.useState(i),p=c??h,y=()=>{const k=!p;c===void 0&&u(k),l==null||l(k)},f=k=>a.jsx("a",{href:k.href,onClick:k.onClick,className:"text-gray-600 hover:text-yellow-600",children:k.label},k.label);return a.jsxs("nav",{className:"bg-white shadow-lg fixed w-full z-50",children:[a.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:a.jsxs("div",{className:"flex justify-between h-16",children:[a.jsxs("div",{className:"flex items-center",children:[o,a.jsx("span",{className:"ml-2 text-xl font-bold text-gray-800",children:t})]}),a.jsxs("div",{className:"hidden md:flex items-center space-x-8",children:[e.map(f),a.jsx("a",{href:n,className:"bg-yellow-600 text-white px-4 py-2 rounded-md hover:bg-yellow-700",children:r})]}),a.jsx("div",{className:"md:hidden flex items-center",children:a.jsx("button",{onClick:y,className:"text-gray-600 hover:text-gray-900 focus:outline-none","aria-label":d,children:p?a.jsx(Qt,{className:"h-6 w-6"}):a.jsx(js,{className:"h-6 w-6"})})})]})}),p&&a.jsx("div",{className:"md:hidden",children:a.jsxs("div",{className:"px-2 pt-2 pb-3 space-y-1 sm:px-3",children:[e.map(k=>a.jsx("a",{href:k.href,onClick:()=>{var m;(m=k.onClick)==null||m.call(k),y()},className:"block px-3 py-2 text-gray-600 hover:text-yellow-600",children:k.label},k.label)),a.jsx("a",{href:n,className:"block px-3 py-2 text-yellow-600 font-medium",children:r})]})})]})}function NN({title:t,subtitle:e,bg_img:r,main_btn_text:n,main_btn_link:o,secondary_btn_text:i,secondary_btn_link:c}){return a.jsxs("div",{className:"relative bg-yellow-600 h-screen flex items-center justify-center",children:[a.jsx("div",{className:"absolute inset-0",children:a.jsx("img",{src:r,alt:"Students studying",className:"w-full h-full object-cover opacity-20"})}),a.jsxs("div",{className:"relative max-w-7xl mx-auto py-24 px-4 sm:py-32 sm:px-6 lg:px-8",children:[a.jsx("h1",{className:"text-4xl md:text-6xl font-bold text-white mb-8",children:t}),a.jsx("p",{className:"text-xl text-white mb-12 max-w-3xl",children:e}),a.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[o&&n?a.jsxs("a",{href:o,className:"inline-flex items-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-yellow-600 bg-white hover:bg-gray-50",children:[n,a.jsx(xs,{className:"ml-2 h-5 w-5"})]}):"",c&&i?a.jsx("a",{href:c,className:"inline-flex items-center px-8 py-3 border border-white text-base font-medium rounded-md text-white hover:bg-yellow-700",children:i}):""]})]})]})}function AN({title:t,description:e,services:r}){return a.jsx("section",{id:"services",className:"py-20 bg-gray-50",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:t}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:e})]}),a.jsx("div",{className:"mt-20 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3",children:r.map((n,o)=>{const i=Pj(n.icon);return a.jsxs("div",{className:"relative group bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition-all",children:[a.jsxs("div",{className:"text-yellow-600 mb-4",children:[i?a.jsx(i,{className:"h-8 w-8"}):null," "]}),a.jsx("h3",{className:"text-lg font-medium text-gray-900",children:n.title}),a.jsx("p",{className:"mt-2 text-gray-500",children:n.description})]},o)})})]})})}function PN({testimonials:t,title:e,description:r}){return a.jsx("section",{className:"py-20 bg-white",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 lg:grid-cols-3",children:t.map((n,o)=>a.jsxs("div",{className:"relative bg-white p-8 rounded-xl shadow-lg",children:[a.jsx("div",{className:"absolute -top-4 -left-4",children:a.jsx(Ls,{className:"h-8 w-8 text-yellow-600"})}),a.jsxs("div",{className:"flex items-center mb-6",children:[a.jsx("img",{src:n.image,alt:n.name,className:"h-14 w-14 rounded-full object-cover"}),a.jsxs("div",{className:"ml-4",children:[a.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:n.name}),a.jsx("p",{className:"text-gray-600",children:n.from})]})]}),a.jsx("p",{className:"text-gray-600 mb-6",children:n.text}),a.jsx("div",{className:"flex text-yellow-400",children:[...Array(n.rating)].map((i,c)=>a.jsx(Et,{className:"h-5 w-5 fill-current"},c))})]},o))})]})})}function _N({videos:t,title:e,description:r}){return a.jsx("section",{className:"py-20 bg-gray-50",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3",children:t.map((n,o)=>a.jsxs("div",{className:"relative group",children:[a.jsxs("div",{className:"relative overflow-hidden rounded-lg",children:[a.jsx("img",{src:n.thumbnail,alt:n.title,className:"w-full h-64 object-cover group-hover:scale-105 transition-transform duration-300"}),a.jsx("div",{className:"absolute inset-0 bg-black/40 group-hover:bg-black/50 transition-colors",children:a.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:a.jsx("button",{className:"bg-white/90 p-4 rounded-full group-hover:bg-white transition-colors",children:a.jsx(jc,{className:"h-8 w-8 text-yellow-600"})})})}),a.jsx("div",{className:"absolute bottom-4 right-4 bg-black/70 px-2 py-1 rounded text-white text-sm",children:n.duration})]}),a.jsx("h3",{className:"mt-4 text-xl font-semibold text-gray-900",children:n.title}),a.jsx("p",{className:"mt-2 text-gray-600",children:n.description})]},o))})]})})}function RN({features:t,title:e,description:r}){return a.jsx("section",{className:"py-20 bg-white",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center mb-16",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx("div",{className:"space-y-24",children:t.map((n,o)=>a.jsxs("div",{className:`flex flex-col gap-8 items-center ${o%2===0?"lg:flex-row":"lg:flex-row-reverse"}`,children:[a.jsx("div",{className:"w-full lg:w-1/2",children:a.jsx("div",{className:"relative h-[400px] overflow-hidden rounded-xl shadow-lg",children:a.jsx("img",{src:n.image,alt:n.imageAlt,className:"absolute inset-0 w-full h-full object-cover"})})}),a.jsxs("div",{className:"w-full lg:w-1/2 lg:px-8",children:[a.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-4",children:n.title}),a.jsx("p",{className:"text-lg text-gray-600 leading-relaxed",children:n.description}),a.jsx("button",{className:"mt-8 inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md text-white bg-yellow-600 hover:bg-yellow-700 transition-colors",children:"Learn More"})]})]},o))})]})})}function TN({faqs:t,title:e,description:r}){const[n,o]=j.useState(null),i=c=>{o(l=>l===c?null:c)};return a.jsx("section",{className:"py-20 bg-white",children:a.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center mb-16",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx("div",{className:"space-y-4",children:t.map((c,l)=>a.jsxs("div",{className:"border border-gray-200 rounded-lg overflow-hidden",children:[a.jsxs("button",{className:"w-full px-6 py-4 flex items-center justify-between bg-white hover:bg-gray-50 transition-colors",onClick:()=>i(l),children:[a.jsx("span",{className:"text-lg font-medium text-gray-900 text-left",children:c.question}),n===l?a.jsx(yc,{className:"h-5 w-5 text-gray-500"}):a.jsx(Fi,{className:"h-5 w-5 text-gray-500"})]}),a.jsx("div",{className:`px-6 overflow-hidden transition-all duration-300 ease-in-out ${n===l?"max-h-96 py-4":"max-h-0"}`,children:a.jsx("p",{className:"text-gray-600 leading-relaxed",children:c.answer})})]},l))})]})})}function fD({images:t,autoPlayInterval:e=5e3}){const[r,n]=j.useState(0);j.useEffect(()=>{const l=setInterval(()=>{n(d=>(d+1)%t.length)},e);return()=>clearInterval(l)},[t.length,e]);const o=l=>{n(l)},i=()=>{n(l=>(l-1+t.length)%t.length)},c=()=>{n(l=>(l+1)%t.length)};return a.jsxs("div",{className:"relative w-full h-[600px] group",children:[a.jsx("div",{className:"relative h-full overflow-hidden rounded-xl",children:t.map((l,d)=>a.jsxs("div",{className:`absolute w-full h-full transition-transform duration-500 ease-out ${d===r?"translate-x-0":"translate-x-full"}`,style:{transform:`translateX(${100*(d-r)}%)`},children:[a.jsx("img",{src:l.url,alt:l.alt,className:"absolute w-full h-full object-cover"}),l.caption&&a.jsx("div",{className:"absolute bottom-0 left-0 right-0 bg-black/50 text-white p-4",children:a.jsx("p",{className:"text-lg",children:l.caption})})]},d))}),a.jsx("button",{onClick:i,className:"absolute left-4 top-1/2 -translate-y-1/2 bg-white/80 hover:bg-white p-2 rounded-full shadow-lg opacity-0 group-hover:opacity-100 transition-opacity",children:a.jsx(Ei,{className:"h-6 w-6 text-gray-800"})}),a.jsx("button",{onClick:c,className:"absolute right-4 top-1/2 -translate-y-1/2 bg-white/80 hover:bg-white p-2 rounded-full shadow-lg opacity-0 group-hover:opacity-100 transition-opacity",children:a.jsx(Ja,{className:"h-6 w-6 text-gray-800"})}),a.jsx("div",{className:"absolute bottom-4 left-1/2 -translate-x-1/2 flex space-x-2",children:t.map((l,d)=>a.jsx("button",{onClick:()=>o(d),className:`w-2 h-2 rounded-full transition-all ${d===r?"bg-white w-4":"bg-white/50 hover:bg-white/80"}`},d))})]})}function qN({images:t,title:e,description:r,autoPlayInterval:n=5e3}){return a.jsx("section",{className:"py-20 bg-gray-50",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center mb-12",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx(fD,{images:t,autoPlayInterval:n})]})})}function DN({initialMessages:t}){const[e,r]=j.useState(!1),[n,o]=j.useState(t),[i,c]=j.useState(""),l=d=>{if(d.preventDefault(),!i.trim())return;const h={text:i,isBot:!1,timestamp:new Date},u=["I'll help you find the perfect English course for your needs. Could you tell me your current English level?","That's a great question! Our courses are available in multiple locations. Would you like to know more about a specific destination?","We offer flexible course durations ranging from 2 weeks to 12 months. When would you like to start?","I can help you with visa requirements. Which country are you from?"],y={text:u[Math.floor(Math.random()*u.length)],isBot:!0,timestamp:new Date};o(f=>[...f,h,y]),c("")};return a.jsx("div",{className:"fixed bottom-4 right-4 z-50",children:e?a.jsxs("div",{className:"bg-white rounded-lg shadow-xl w-96 max-h-[600px] flex flex-col",children:[a.jsxs("div",{className:"p-4 bg-yellow-600 rounded-t-lg flex justify-between items-center",children:[a.jsxs("div",{className:"flex items-center text-white",children:[a.jsx(hc,{className:"h-6 w-6 mr-2"}),a.jsx("span",{className:"font-medium",children:"GlobalEnglish Assistant"})]}),a.jsx("button",{onClick:()=>r(!1),className:"text-white hover:text-gray-200 transition-colors",children:a.jsx(Qt,{className:"h-5 w-5"})})]}),a.jsx("div",{className:"flex-1 overflow-y-auto p-4 space-y-4",children:n.map((d,h)=>a.jsx("div",{className:`flex ${d.isBot?"justify-start":"justify-end"}`,children:a.jsxs("div",{className:`max-w-[80%] rounded-lg p-3 ${d.isBot?"bg-gray-100 text-gray-800":"bg-yellow-600 text-white"}`,children:[a.jsx("p",{className:"text-sm",children:d.text}),a.jsx("span",{className:"text-xs opacity-75 mt-1 block",children:d.timestamp.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})})]})},h))}),a.jsx("form",{onSubmit:l,className:"p-4 border-t",children:a.jsxs("div",{className:"flex space-x-2",children:[a.jsx("input",{type:"text",value:i,onChange:d=>c(d.target.value),placeholder:"Type your message...",className:"flex-1 border rounded-lg px-4 py-2 focus:outline-none focus:border-yellow-500"}),a.jsx("button",{type:"submit",className:"bg-yellow-600 text-white p-2 rounded-lg hover:bg-yellow-700 transition-colors",children:a.jsx(Lc,{className:"h-5 w-5"})})]})})]}):a.jsx("button",{onClick:()=>r(!0),className:"bg-yellow-600 text-white p-4 rounded-full shadow-lg hover:bg-yellow-700 transition-colors",children:a.jsx(Ss,{className:"h-6 w-6"})})})}function zN({title:t="Your Cart",emptyMessage:e="Your cart is empty",totalLabel:r="Total:",checkoutButtonLabel:n="Proceed to Checkout",currencySymbol:o="$",floatingButtonAriaLabel:i="Toggle cart",onCheckout:c,onToggleCart:l}){const{items:d,isOpen:h,toggleCart:u,removeItem:p,updateQuantity:y,total:f}=SN(),k=()=>{l==null||l(!h),u()};return h?a.jsxs("div",{className:"fixed right-0 top-0 h-full w-96 bg-white shadow-xl z-50 flex flex-col",children:[a.jsxs("div",{className:"p-4 bg-yellow-600 text-white flex justify-between items-center",children:[a.jsx("h2",{className:"text-xl font-semibold",children:t}),a.jsx("button",{onClick:k,className:"text-white hover:text-gray-200 transition-colors","aria-label":i,children:a.jsx(Qt,{className:"h-6 w-6"})})]}),a.jsx("div",{className:"flex-1 overflow-y-auto p-4",children:d.length===0?a.jsx("p",{className:"text-gray-500 text-center mt-8",children:e}):a.jsx("div",{className:"space-y-4",children:d.map(m=>a.jsxs("div",{className:"border rounded-lg p-4 flex flex-col space-y-2",children:[a.jsxs("div",{className:"flex justify-between items-start",children:[a.jsxs("div",{children:[a.jsx("h3",{className:"font-medium",children:m.name}),a.jsx("p",{className:"text-sm text-gray-500",children:m.duration})]}),a.jsx("button",{onClick:()=>p(m.id),className:"text-red-500 hover:text-red-600","aria-label":`Remove ${m.name}`,children:a.jsx(Ac,{className:"h-5 w-5"})})]}),a.jsxs("div",{className:"flex justify-between items-center",children:[a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx("button",{onClick:()=>y(m.id,m.quantity-1),className:"p-1 rounded-md hover:bg-gray-100","aria-label":`Decrease quantity for ${m.name}`,children:a.jsx(Cc,{className:"h-4 w-4"})}),a.jsx("span",{className:"w-8 text-center",children:m.quantity}),a.jsx("button",{onClick:()=>y(m.id,m.quantity+1),className:"p-1 rounded-md hover:bg-gray-100","aria-label":`Increase quantity for ${m.name}`,children:a.jsx(Sc,{className:"h-4 w-4"})})]}),a.jsxs("p",{className:"font-medium",children:[o,(m.price*m.quantity).toFixed(2)]})]})]},m.id))})}),a.jsxs("div",{className:"border-t p-4 bg-gray-50",children:[a.jsxs("div",{className:"flex justify-between items-center mb-4",children:[a.jsx("span",{className:"font-medium",children:r}),a.jsxs("span",{className:"text-xl font-bold",children:[o,f.toFixed(2)]})]}),a.jsx("button",{className:"w-full bg-yellow-600 text-white py-3 px-4 rounded-lg hover:bg-yellow-700 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",disabled:d.length===0,onClick:c,children:n})]})]}):a.jsx("button",{onClick:k,"aria-label":i,className:"fixed bottom-20 right-4 z-40 bg-yellow-600 text-white p-4 rounded-full shadow-lg hover:bg-yellow-700 transition-colors",children:a.jsxs("div",{className:"relative",children:[a.jsx(As,{className:"h-6 w-6"}),d.length>0&&a.jsx("span",{className:"absolute -top-2 -right-2 bg-red-500 text-white text-xs rounded-full h-5 w-5 flex items-center justify-center",children:d.length})]})})}function FN({services:t,title:e,description:r,showBtn:n="Show",hideBtn:o="Hide",featuresBtn:i="Features"}){const[c,l]=j.useState(null),d=h=>{l(c===h?null:h)};return a.jsx("section",{id:"services",className:"py-20 bg-gray-50",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 lg:grid-cols-2",children:t.map((h,u)=>a.jsx("div",{className:"bg-white rounded-lg shadow-md overflow-hidden transition-all duration-300",children:a.jsxs("div",{className:"p-6",children:[a.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-3",children:h.title}),a.jsx("p",{className:"text-gray-600 mb-4",children:h.shortDescription}),a.jsx("div",{className:`transition-all duration-300 overflow-hidden ${c===u?"max-h-[500px]":"max-h-0"}`,children:a.jsxs("div",{className:"mt-4 space-y-4",children:[a.jsx("p",{className:"text-gray-700",children:h.fullDescription}),a.jsxs("div",{className:"border-t pt-4",children:[a.jsx("h4",{className:"font-medium text-gray-900 mb-2",children:i}),a.jsx("ul",{className:"grid grid-cols-1 sm:grid-cols-2 gap-2",children:h.features.map((p,y)=>a.jsxs("li",{className:"text-gray-600",children:["• ",p]},y))})]})]})}),a.jsx("button",{onClick:()=>d(u),className:"mt-4 text-yellow-600 hover:text-yellow-700 font-medium focus:outline-none",children:c===u?o:n})]})},u))})]})})}function EN({courses:t=[],title:e="Available Courses",description:r="Choose the best course for you.",priceLabel:n="From",currencySymbol:o="€",perDurationLabel:i="/week",reviewsText:c="reviews"}){const l=d=>{const h=d/10*5,u=Math.floor(h),p=h%1,y=5-Math.ceil(h);return a.jsxs("div",{className:"flex items-center",children:[[...Array(u)].map((f,k)=>a.jsx(Et,{className:"w-5 h-5 text-yellow-400 fill-current"},`full-${k}`)),p>0&&a.jsxs("div",{className:"relative w-5 h-5",children:[a.jsx(Et,{className:"absolute w-5 h-5 text-gray-300 fill-current"}),a.jsx("div",{className:"absolute overflow-hidden",style:{width:`${p*100}%`},children:a.jsx(Et,{className:"w-5 h-5 text-yellow-400 fill-current"})})]}),[...Array(y)].map((f,k)=>a.jsx(Et,{className:"w-5 h-5 text-gray-300"},`empty-${k}`))]})};return a.jsx("section",{className:"py-20 bg-gray-50",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center mb-16",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:t.map((d,h)=>a.jsxs("div",{className:"bg-white rounded-xl p-8 shadow-sm hover:shadow-md transition-shadow flex flex-col h-full",children:[a.jsxs("div",{className:"flex-grow",children:[a.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-2",children:d.title}),a.jsxs("div",{className:"flex items-center mb-4",children:[l(d.rating),a.jsxs("span",{className:"ml-2 text-gray-600",children:[d.rating,"/10 (",d.reviews," ",c,")"]})]}),a.jsxs("div",{className:"mb-4",children:[a.jsxs("span",{className:"text-2xl font-bold text-gray-900",children:[n," ",d.pricePerWeek,o]}),a.jsxs("span",{className:"text-gray-600",children:["/",i]})]}),a.jsx("p",{className:"text-gray-600 mb-6",children:d.description}),a.jsx("div",{className:"space-y-4",children:d.features.map((u,p)=>{const y=Pj(u.icon);return a.jsxs("div",{className:"flex items-center text-gray-700",children:[y?a.jsx(y,{className:"w-5 h-5"}):null,a.jsx("span",{className:"ml-3",children:u.text})]},p)})})]}),d.ctaLink&&d.ctaText?a.jsx("div",{className:"mt-8",children:a.jsx("a",{href:d.ctaLink,className:"w-full bg-black text-white py-3 px-6 rounded-lg hover:bg-gray-800 transition-colors",children:d.ctaText})}):""]},h))})]})})}const xD=[{title:"Asistencia con el Visado",shortDescription:"Orientación experta durante todo el proceso de solicitud de visado para tu experiencia de estudio en el extranjero.",fullDescription:"Nuestro equipo dedicado a soporte de visados ofrece asistencia integral durante todo el proceso de solicitud. Te ayudamos a comprender los requisitos, preparar la documentación y asegurarnos de que tu solicitud cumpla con todos los criterios necesarios.",features:["Preparación y verificación de documentos","Asistencia con el formulario de solicitud","Orientación para la preparación de entrevistas","Consulta sobre los requisitos del visado","Soporte de seguimiento","Asistencia de emergencia"]},{title:"Servicios de Alojamiento",shortDescription:"Encuentra tu hogar perfecto lejos de casa con nuestras opciones de alojamiento cuidadosamente seleccionadas.",fullDescription:"Ofrecemos una amplia variedad de opciones de alojamiento previamente inspeccionadas para adaptarse a cada preferencia y presupuesto. Nuestro equipo de vivienda inspecciona personalmente todas las propiedades para garantizar que cumplan con nuestros estándares de calidad.",features:["Alojamiento en familia local","Residencias estudiantiles","Apartamentos compartidos","Estudios privados","Opciones a corto y largo plazo","Todos los servicios incluidos"]},{title:"Selección en Cursos de Idiomas",shortDescription:"Selección de cursos personalizada para adaptarse a tus objetivos de aprendizaje y nivel de competencia actual.",fullDescription:"Nuestros asesores académicos trabajan contigo para crear un plan de estudio personalizado basado en tus metas, horario y nivel actual de inglés. Nos aseguramos de que estés en el curso adecuado para maximizar tu potencial de aprendizaje.",features:["Evaluación de nivel gratuita","Planes de estudio personalizados","Monitoreo regular del progreso","Opciones de horario flexibles","Cursos especializados disponibles","Preparación para certificaciones"]},{title:"Seguro para Estudiantes",shortDescription:"Cobertura de seguro integral para una experiencia de estudio sin preocupaciones en el extranjero.",fullDescription:"Colaboramos con proveedores de seguros líderes para ofrecer coberturas integrales diseñadas específicamente para estudiantes internacionales. Nuestros paquetes incluyen protección de salud, viajes y bienes personales.",features:["Cobertura de seguro médico","Seguro de viajes","Protección de bienes personales","Asistencia de emergencia","Línea de soporte 24/7","Facturación directa con hospitales"]},{title:"Programa de Integración Cultural",shortDescription:"Sumérgete en la cultura local con actividades y eventos organizados.",fullDescription:"Nuestro programa de integración cultural te ayuda a adaptarte a tu nuevo entorno y a aprovechar al máximo tu experiencia de estudio en el extranjero. Organizamos actividades regulares, eventos y excursiones para que explores y comprendas la cultura local.",features:["Actividades sociales semanales","Talleres culturales","Sistema de compañeros locales","Eventos de intercambio de idiomas","Recorridos por la ciudad y excursiones","Celebraciones de festivales"]},{title:"Soporte para el Desarrollo Profesional",shortDescription:"Mejora tus perspectivas profesionales con nuestros servicios integrales de desarrollo profesional.",fullDescription:"Nuestro equipo de desarrollo profesional brinda orientación y apoyo para ayudarte a alcanzar tus metas laborales. Desde la redacción de CV hasta la preparación para entrevistas, te ayudamos a prepararte para tu carrera futura.",features:["Redacción de CV y cartas de presentación","Preparación para entrevistas","Asistencia en la búsqueda de empleo","Eventos de networking","Talleres de la industria","Colocación en prácticas profesionales"]}],kD=[{icon:"Plane",title:"Visa Assistance",description:"Complete support with visa applications and documentation."},{icon:"Home",title:"Accommodation",description:"Find the perfect place to stay with our accommodation services."},{icon:"BookOpen",title:"Language Courses",description:"Comprehensive English courses for all levels."},{icon:"Shield",title:"Travel Insurance",description:"Stay protected with our travel insurance packages."},{icon:"Map",title:"Local Activities",description:"Explore the local culture with organized activities."},{icon:"Briefcase",title:"Job Opportunities",description:"Access to job markets and career guidance."}],gD=[{title:"Learn in World-Class Facilities",description:"Our modern campuses are equipped with state-of-the-art technology and comfortable learning spaces. Each classroom is designed to facilitate interactive learning with smart boards, multimedia equipment, and flexible seating arrangements. Students also have access to self-study areas, a library with extensive English learning resources, and comfortable student lounges.",image:"https://images.unsplash.com/photo-1592280771190-3e2e4d571952?auto=format&fit=crop&q=80",imageAlt:"Modern classroom facility"},{title:"Cultural Immersion Programs",description:"Go beyond traditional language learning with our immersive cultural programs. Participate in local events, join conversation clubs with native speakers, and engage in cultural workshops. Our programs include guided city tours, cooking classes featuring local cuisine, and regular social activities where you can practice English in real-world situations.",image:"https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&q=80",imageAlt:"Students engaging in cultural activities"},{title:"Career Development Support",description:"Launch your international career with our comprehensive career support services. We offer professional development workshops, CV writing assistance, and interview preparation in English. Our partnerships with local businesses provide internship opportunities, and our career counselors help you navigate the job market in English-speaking countries.",image:"https://images.unsplash.com/photo-1552581234-26160f608093?auto=format&fit=crop&q=80",imageAlt:"Career counseling session"}],vD=[{icon:"Users",title:"Small Class Sizes",description:"Maximum of 12 students per class ensures personalized attention"},{icon:"Trophy",title:"Certified Teachers",description:"Native speakers with CELTA/DELTA qualifications"},{icon:"Calendar",title:"Flexible Schedule",description:"Morning, afternoon, and evening classes available"},{icon:"GraduationCap",title:"Recognized Certificates",description:"Internationally recognized certifications upon completion"},{icon:"Globe2",title:"Cultural Exchange",description:"Regular events and activities with international students"},{icon:"CheckCircle",title:"Job Support",description:"CV workshops and job placement assistance"}],wD=[{url:"https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&q=80",alt:"Students studying together",caption:"Collaborative learning environment"},{url:"https://images.unsplash.com/photo-1541339907198-e08756dedf3f?auto=format&fit=crop&q=80",alt:"Modern campus library",caption:"State-of-the-art study facilities"},{url:"https://images.unsplash.com/photo-1524178232363-1fb2b075b655?auto=format&fit=crop&q=80",alt:"Student accommodation",caption:"Comfortable student residences"},{url:"https://images.unsplash.com/photo-1517486808906-6ca8b3f04846?auto=format&fit=crop&q=80",alt:"Group activity",caption:"Engaging extracurricular activities"},{url:"https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&q=80",alt:"Student life",caption:"Vibrant campus community"}],MD=[{name:"London, UK",image:"https://images.unsplash.com/photo-1513635269975-59663e0ac1ad?auto=format&fit=crop&q=80",description:"Study English in the heart of the UK with access to world-class institutions."},{name:"New York, USA",image:"https://images.unsplash.com/photo-1496442226666-8d4d0e62e6e9?auto=format&fit=crop&q=80",description:"Experience American English while living in the most vibrant city in the world."},{name:"Sydney, Australia",image:"https://images.unsplash.com/photo-1506973035872-a4ec16b8e8d9?auto=format&fit=crop&q=80",description:"Combine English studies with an amazing lifestyle in beautiful Sydney."},{name:"Toronto, Canada",image:"https://images.unsplash.com/photo-1517935706615-2717063c2225?auto=format&fit=crop&q=80",description:"Study in one of the most multicultural cities with excellent quality of life."},{name:"Dublin, Ireland",image:"https://images.unsplash.com/photo-1590089415225-401ed6f9db8e?auto=format&fit=crop&q=80",description:"Experience Irish hospitality while studying in this historic and vibrant city."},{name:"Vancouver, Canada",image:"https://images.unsplash.com/photo-1559511260-66a654ae982a?auto=format&fit=crop&q=80",description:"Study surrounded by stunning nature and a high quality of life."},{name:"Melbourne, Australia",image:"https://images.unsplash.com/photo-1514395462725-fb4566210144?auto=format&fit=crop&q=80",description:"Join the world's most liveable city with excellent educational opportunities."},{name:"Edinburgh, UK",image:"https://images.unsplash.com/photo-1506377585622-bedcbb027afc?auto=format&fit=crop&q=80",description:"Study in Scotland's historic capital surrounded by stunning architecture."},{name:"San Francisco, USA",image:"https://images.unsplash.com/photo-1501594907352-04cda38ebc29?auto=format&fit=crop&q=80",description:"Learn English in the tech capital of the world."},{name:"Auckland, New Zealand",image:"https://images.unsplash.com/photo-1507699622108-4be3abd695ad?auto=format&fit=crop&q=80",description:"Study in New Zealand's largest city surrounded by natural beauty."},{name:"Manchester, UK",image:"https://images.unsplash.com/photo-1519677100203-a0e668c92439?auto=format&fit=crop&q=80",description:"Experience northern English culture in this vibrant student city."},{name:"Boston, USA",image:"https://images.unsplash.com/photo-1501979376754-f1e8d89c7fe0?auto=format&fit=crop&q=80",description:"Study in America's premier educational hub."},{name:"Brisbane, Australia",image:"https://images.unsplash.com/photo-1452859030917-45a0de82ef4c?auto=format&fit=crop&q=80",description:"Enjoy subtropical climate while studying in this growing city."},{name:"Montreal, Canada",image:"https://images.unsplash.com/photo-1519178614-68673b201f36?auto=format&fit=crop&q=80",description:"Experience bilingual culture in this historic Canadian city."},{name:"Oxford, UK",image:"https://images.unsplash.com/photo-1590510616176-67c87a688639?auto=format&fit=crop&q=80",description:"Study in one of the world's most prestigious academic cities."},{name:"Seattle, USA",image:"https://images.unsplash.com/photo-1502175353174-a7a70e73b362?auto=format&fit=crop&q=80",description:"Learn English in the innovative Pacific Northwest."},{name:"Perth, Australia",image:"https://images.unsplash.com/photo-1573935448851-e0a5d7507f4e?auto=format&fit=crop&q=80",description:"Study in Australia's sunniest capital city."},{name:"Cambridge, UK",image:"https://images.unsplash.com/photo-1579619002916-88cd4c81a70c?auto=format&fit=crop&q=80",description:"Experience academic excellence in this historic university city."},{name:"Wellington, New Zealand",image:"https://images.unsplash.com/photo-1589871973318-9ca1258faa5d?auto=format&fit=crop&q=80",description:"Study in New Zealand's cultural capital."},{name:"Chicago, USA",image:"https://images.unsplash.com/photo-1494522855154-9297ac14b55f?auto=format&fit=crop&q=80",description:"Experience American culture in the heart of the Midwest."}],bD=[{id:"1",title:"Intensive English",type:"in-person",duration:"4-12 weeks",level:"All levels",description:"Accelerated learning with focused daily classes.",price:1299},{id:"2",title:"Business English",type:"in-person",duration:"8-16 weeks",level:"Intermediate to Advanced",description:"Specialized English for professional environments.",price:1599},{id:"3",title:"Online Live Classes",type:"online",duration:"Flexible",level:"All levels",description:"Interactive online classes with expert teachers.",price:799},{id:"4",title:"IELTS Preparation",type:"in-person",duration:"12 weeks",level:"Intermediate to Advanced",description:"Comprehensive preparation for IELTS exam.",price:1499}],CD=[{thumbnail:"https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&q=80",title:"Campus Life in London",duration:"3:45",description:"Experience a day in the life of our London students"},{thumbnail:"https://images.unsplash.com/photo-1571260899304-425eee4c7efc?auto=format&fit=crop&q=80",title:"Student Success Stories",duration:"5:20",description:"See how our students achieved their English learning goals"},{thumbnail:"https://images.unsplash.com/photo-1517486808906-6ca8b3f04846?auto=format&fit=crop&q=80",title:"Virtual Campus Tour",duration:"4:15",description:"Take a tour of our modern facilities and classrooms"}],jD=[{name:"Sarah Chen",from:"Singapore",image:"https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&q=80",text:"The support I received from GlobalEnglish was exceptional. From visa assistance to finding accommodation, everything was handled professionally.",rating:5},{name:"Carlos Rodriguez",from:"Spain",image:"https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?auto=format&fit=crop&q=80",text:"The Business English course helped me secure a job at an international company. The teachers were experienced and the course material was practical.",rating:5},{name:"Maria Kowalski",from:"Poland",image:"https://images.unsplash.com/photo-1438761681033-6461ffad8d80?auto=format&fit=crop&q=80",text:"Studying in London through GlobalEnglish was a life-changing experience. The cultural immersion and quality of education exceeded my expectations.",rating:5}],SD=[{text:"👋 Hi! I'm here to help you with any questions about our English courses. How can I assist you today?",isBot:!0,timestamp:new Date}],LD=[{question:"What visa requirements are needed to study English abroad?",answer:"Requirements vary by destination. Generally, you'll need: a valid passport, proof of enrollment in an accredited language school, proof of sufficient funds (usually 3-6 months of living expenses), and health insurance. We provide comprehensive visa assistance to ensure a smooth application process."},{question:"How long are the English courses?",answer:"We offer flexible course durations ranging from 2 weeks to 12 months. Intensive courses typically run for 4-12 weeks, while standard courses can be taken for any duration. Business English and exam preparation courses usually require a minimum commitment of 8-12 weeks for optimal results."},{question:"What accommodation options are available?",answer:"We offer various accommodation options including: homestays with local families, student residences, shared apartments, and private studios. All options are carefully vetted and located within easy reach of our schools. Homestays are particularly popular for full language immersion."},{question:"Can I work while studying?",answer:"Work possibilities depend on your visa type and destination country. Many student visas allow part-time work (usually 20 hours per week). Our student services team can provide detailed information about work rights and help with job searching in your chosen destination."},{question:"What level of English do I need to start?",answer:"We accept students at all levels, from complete beginners to advanced speakers. Before starting, you'll take a placement test to ensure you're placed in the appropriate level. Our courses follow the Common European Framework of Reference (CEFR) from A1 to C2 levels."}],ID=[{title:"General English",rating:9.5,reviews:226,pricePerWeek:95,description:"Learn English at your own pace while making the most of your stay in Malta.",features:[{icon:"Clock",text:"20 classes of 45 min per week"},{icon:"Calendar",text:"You choose the number of weeks"},{icon:"Users",text:"15 students maximum per class"},{icon:"LineChart",text:"All levels"},{icon:"User",text:"From 16 to 99 years"}]},{title:"Intensive English",rating:9.2,reviews:229,pricePerWeek:189,description:"For those who want to learn faster. Combine exclusive Speaking classes with your General English course.",features:[{icon:"Clock",text:"30 classes of 45 min per week"},{icon:"Calendar",text:"You choose the number of weeks"},{icon:"Users",text:"15 students maximum per class"},{icon:"LineChart",text:"All levels"},{icon:"User",text:"From 16 to 99 years"}]},{title:"English 30+",rating:9.5,reviews:190,pricePerWeek:180,description:"For those who want to study with people of a similar age.",features:[{icon:"Clock",text:"20 or 30 classes per week"},{icon:"Calendar",text:"You choose the duration"},{icon:"Users",text:"15 students maximum per class"},{icon:"LineChart",text:"All levels"},{icon:"User",text:"From 30 years onwards"}]},{title:"Business English",rating:9.2,reviews:195,pricePerWeek:190,description:"For those looking to boost their professional career and access job opportunities worldwide.",features:[{icon:"Clock",text:"10, 20 or 30 classes per week"},{icon:"Calendar",text:"You choose the duration"},{icon:"Users",text:"Reduced groups"},{icon:"LineChart",text:"B1 level or higher"},{icon:"User",text:"From 18 years"}]}],ND=()=>(j.useEffect(()=>{bN.fromTo(".animated-text",{opacity:0,y:30},{opacity:1,y:0,duration:1,stagger:.2})},[]),a.jsxs("div",{className:"relative min-h-screen flex flex-col bg-gray-50",children:[a.jsx(pD,{children:a.jsxs("div",{className:"min-h-screen bg-white",children:[a.jsx(mD,{}),a.jsx(NN,{title:"Estudia inglés en Malta: Vive, Aprende trabaja y Crece",subtitle:"Tu aventura comienza aquí: Te ayudamos con visado, viaje, estadía, trabajo y más para que aprendas inglés en Malta.",bg_img:"https://maltalovers.com/wp-content/uploads/2017/05/cropped-Valletta2-2.jpg",main_btn_text:"Explore Courses",main_btn_link:"#courses",secondary_btn_text:"View Destinations",secondary_btn_link:"#destinations"}),a.jsx(AN,{services:kD,title:"Nuestro Servicios",description:"Todo lo que necesitas para aprender inglés en el menor tiempo y al mejor costo"}),a.jsx(FN,{services:xD,title:"Why Choose GlobalEnglish?",description:"Discover what sets us apart from other language schools"}),a.jsx(CN,{advantages:vD,title:"Why Choose GlobalEnglish?",description:"Discover what sets us apart from other language schools"}),a.jsx(RN,{features:gD,title:"Titulo",description:"description"}),a.jsx(EN,{courses:ID,title:"Test",description:"test"}),a.jsx(qN,{images:wD,autoPlayInterval:5e3,title:"Campus Life Gallery",description:"Take a visual tour of our facilities and student activities"}),a.jsx(IN,{destinations:MD,title:"Popular Destinations",description:"Choose from our carefully selected locations worldwide"}),a.jsx(LN,{courses:bD,title:"Our Courses",description:"Find the perfect course to match your goals"}),a.jsx(_N,{videos:CD,title:"Our Courses",description:"Find the perfect course to match your goals"}),a.jsx(PN,{testimonials:jD,title:"Our Courses",description:"Find the perfect course to match your goals"}),a.jsx(TN,{faqs:LD,title:"Our Courses",description:"Find the perfect course to match your goals"}),a.jsx(uD,{}),a.jsx(DN,{initialMessages:SD}),a.jsx(zN,{})]})}),a.jsx("footer",{className:"bg-gray-800 text-white py-8",children:a.jsxs("div",{className:"max-w-7xl mx-auto text-center space-y-4",children:[a.jsx("p",{className:"text-sm",children:"© 2024 Learn English. All Rights Reserved."}),a.jsxs("nav",{className:"flex justify-center space-x-6",children:[a.jsx("a",{href:"#home",className:"hover:text-yellow-400",children:"Home"}),a.jsx("a",{href:"#courses",className:"hover:text-yellow-400",children:"Courses"}),a.jsx("a",{href:"#contact",className:"hover:text-yellow-400",children:"Contact Us"})]})]})})]}));function AD({title:t,icon:e,jobs:r,viewAllText:n,viewAllHref:o,apiUrl:i}){const[c,l]=j.useState(r||[]),[d,h]=j.useState(!r),[u,p]=j.useState(null);j.useEffect(()=>{if(r)return;(async()=>{h(!0),p(null);try{const m=await fetch(i||"/api/featured-jobs");if(!m.ok)throw new Error(`Failed to fetch jobs: ${m.status}`);const x=await m.json();if(!Array.isArray(x))throw new Error("Expected an array of jobs");l(x)}catch(k){console.error("Error fetching jobs:",k),p(k instanceof Error?k.message:"Failed to load jobs"),l(y())}finally{h(!1)}})()},[r,i]);const y=()=>{const f=["Bet365","Entain","Flutter","DraftKings","Pinnacle"],k=["Game Developer","CRM Manager","VIP Account Manager","Compliance Specialist","UX Designer"],m=["Malta","London","Gibraltar","Remote","New York"];return Array.from({length:6},(x,v)=>({id:`mock-job-${v}`,title:k[v%k.length],company:f[v%f.length],companyLogo:`/logos/${f[v%f.length].toLowerCase()}.png`,location:m[v%m.length],salary:`€${Math.floor(Math.random()*30)+40},000`}))};return d?a.jsx("section",{className:"py-16 bg-white",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:[...Array(3)].map((f,k)=>a.jsxs("div",{className:"border border-gray-200 rounded-lg p-6 animate-pulse",children:[a.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[a.jsx("div",{className:"w-12 h-12 bg-gray-200 rounded"}),a.jsxs("div",{className:"space-y-2",children:[a.jsx("div",{className:"h-4 bg-gray-200 rounded w-3/4"}),a.jsx("div",{className:"h-3 bg-gray-200 rounded w-1/2"})]})]}),a.jsx("div",{className:"h-3 bg-gray-200 rounded w-1/2 mb-4"}),a.jsx("div",{className:"h-3 bg-gray-200 rounded w-1/4 mb-4"}),a.jsx("div",{className:"h-10 bg-gray-200 rounded"})]},k))})})}):u&&c.length===0?a.jsx("section",{className:"py-16 bg-white",children:a.jsx("div",{className:"container mx-auto px-4 text-center",children:a.jsxs("div",{className:"bg-red-50 border border-red-200 text-red-800 rounded-lg p-6 inline-block",children:[a.jsx("p",{children:u}),a.jsx($,{variant:"outline",className:"mt-4 border-red-300 text-red-800",onClick:()=>window.location.reload(),children:"Try Again"})]})})}):a.jsx("section",{className:"py-16 bg-white",children:a.jsxs("div",{className:"container mx-auto px-4",children:[a.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[e&&a.jsx("div",{children:e}),a.jsx("h2",{className:"text-2xl font-bold",children:t})]}),c.length>0?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:c.map(f=>a.jsxs("div",{className:"border border-gray-200 rounded-lg p-6 hover:shadow-md transition-shadow",children:[a.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[a.jsx("div",{className:"w-12 h-12 bg-gray-100 rounded flex items-center justify-center",children:a.jsx("img",{src:f.companyLogo||"/placeholder.svg",alt:`${f.company} logo`,width:48,height:48,className:"rounded",onError:k=>{k.target.src="/placeholder.svg"}})}),a.jsxs("div",{children:[a.jsx("h3",{className:"font-bold",children:f.title}),a.jsx("p",{className:"text-gray-600 text-sm",children:f.company})]})]}),a.jsxs("div",{className:"flex items-center gap-2 text-sm text-gray-600 mb-2",children:[a.jsx(Bt,{size:16}),a.jsx("span",{children:f.location})]}),a.jsx("div",{className:"text-green-600 font-medium mb-4",children:f.salary}),a.jsx($,{className:"w-full bg-[#0f1219] hover:bg-[#1a2236]",children:"Apply Now"})]},f.id))}),a.jsx("div",{className:"mt-8 text-center",children:a.jsx($,{variant:"outline",className:"border-[#0f1219] text-[#0f1219] hover:bg-[#0f1219] hover:text-white",onClick:()=>window.location.href=o,children:n})})]}):a.jsx("div",{className:"text-center py-8",children:a.jsx("p",{className:"text-gray-500",children:"No featured jobs available at the moment."})})]})})}function ON({title:t,description:e,primaryButtonText:r,primaryButtonHref:n,secondaryButtonText:o,secondaryButtonHref:i}){return a.jsx("section",{className:"py-16 bg-gradient-to-r from-[#1a2236] to-[#0f1219] text-white",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[a.jsx("h2",{className:"text-3xl font-bold mb-4",children:t}),a.jsx("p",{className:"text-xl text-gray-300 mb-8",children:e}),a.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[a.jsx($,{className:"bg-yellow-500 hover:bg-yellow-400 text-black font-medium px-6 py-2 rounded",onClick:()=>window.location.href=n,children:r}),a.jsx($,{variant:"outline",className:"bg-transparent border-white hover:bg-white/10 text-white font-medium px-6 py-2 rounded",onClick:()=>window.location.href=i,children:o})]})]})})})}function HN({title:t,subtitle:e,backgroundImage:r="/placeholder.svg?height=800&width=1600",primaryButtonText:n,primaryButtonLink:o="#",secondaryButtonText:i,secondaryButtonLink:c="#"}){return a.jsx("section",{className:"py-16 bg-gradient-to-r from-[#0f1219] to-[#1a2236] text-white relative overflow-hidden",children:a.jsx("div",{className:"container mx-auto px-4 relative z-10",children:a.jsx("div",{className:"relative z-10 container mx-auto px-4 text-center",children:a.jsxs("div",{className:"max-w-4xl mx-auto animate-fade-in",children:[a.jsxs("h1",{className:"text-4xl md:text-6xl font-bold text-primary-foreground mb-6 leading-tight",children:[t," ",a.jsx("span",{className:"bg-gradient-accent bg-clip-text text-transparent",children:"iGaming"})]}),a.jsx("p",{className:"text-xl md:text-2xl text-primary-foreground/80 mb-8 leading-relaxed",children:e}),a.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center items-center animate-slide-in",children:[a.jsxs("a",{href:o,className:`justify-center whitespace-nowrap text-sm transition-colors
7742
7742
  focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none
7743
7743
  disabled:opacity-50 shadow h-9 bg-yellow-500 hover:bg-yellow-400 text-black font-medium px-6
7744
7744
  py-2 rounded flex items-center gap-2`,children:[a.jsx(Ut,{size:18}),n]}),a.jsxs("a",{href:c,className:`justify-center whitespace-nowrap text-sm transition-colors focus-visible:outline-none
@@ -7746,14 +7746,14 @@ React keys must be passed directly to JSX without using spread:
7746
7746
  disabled:opacity-50 border shadow-sm hover:text-accent-foreground h-9
7747
7747
  bg-transparent border-white hover:bg-white/10 text-white font-medium
7748
7748
  px-6 py-2 rounded flex items-center gap-2`,children:[a.jsx(Ps,{size:18}),i]})]}),a.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6 mt-12 animate-fade-in",style:{animationDelay:"0.2s"},children:[a.jsxs("div",{className:"text-center",children:[a.jsx("div",{className:"text-2xl md:text-3xl font-bold text-primary-foreground",children:"10,000+"}),a.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Active Candidates"})]}),a.jsxs("div",{className:"text-center",children:[a.jsx("div",{className:"text-2xl md:text-3xl font-bold text-primary-foreground",children:"500+"}),a.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Partner Companies"})]}),a.jsxs("div",{className:"text-center",children:[a.jsx("div",{className:"text-2xl md:text-3xl font-bold text-primary-foreground",children:"25+"}),a.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Countries"})]}),a.jsxs("div",{className:"text-center",children:[a.jsx("div",{className:"text-2xl md:text-3xl font-bold text-accent",children:"95%"}),a.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Success Rate"})]})]})]})})})})}function VN({title:t,values:e}){return a.jsx("section",{className:"py-16 bg-white",children:a.jsxs("div",{className:"container mx-auto px-4",children:[a.jsx("h2",{className:"text-3xl font-bold text-center mb-12",children:t}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:e.map((r,n)=>{const o=r.icon;return a.jsxs("div",{className:"flex flex-col items-center text-center",children:[a.jsx("div",{className:"w-16 h-16 rounded-full bg-yellow-100 flex items-center justify-center mb-4",children:a.jsx(o,{className:"w-8 h-8 text-yellow-500"})}),a.jsx("h3",{className:"text-xl font-bold mb-2",children:r.title}),a.jsx("p",{className:"text-gray-600",children:r.description})]},n)})})]})})}function BN({title:t,testimonial:e,stats:r,partnerLogos:n}){const[o,i]=j.useState(0),c=[{id:1,name:"Sarah Mitchell",role:"Product Manager",company:"BetTech Gaming",image:"/placeholder.svg",rating:5,content:"Landed my dream job at DraftKings in 2 weeks! The platform was easy to use and the team provided great support throughout the process.",location:"Malta"},{id:2,name:"Marcus Chen",role:"Software Engineer",company:"Casino Solutions",image:"/placeholder.svg",rating:5,content:"The salary insights feature helped me negotiate a 25% increase. Best iGaming job platform I've used.",location:"London"},{id:3,name:"Elena Rodriguez",role:"UX Designer",company:"SportsBet Pro",image:"/placeholder.svg",rating:5,content:"Found multiple interview opportunities within days. The quality of companies on this platform is outstanding.",location:"Gibraltar"},{id:4,name:"James Wilson",role:"Data Analyst",company:"Gaming Analytics",image:"/placeholder.svg",rating:5,content:"Professional, efficient, and results-driven. Helped me transition from fintech to iGaming seamlessly.",location:"Remote"}];j.useEffect(()=>{const h=setInterval(()=>{i(u=>(u+1)%c.length)},5e3);return()=>clearInterval(h)},[c.length]);const l=()=>{i(h=>(h+1)%c.length)},d=()=>{i(h=>(h-1+c.length)%c.length)};return a.jsx("section",{className:"py-16 bg-gradient-to-r from-[#0f1219] to-[#1a2236]",children:a.jsxs("div",{className:"container mx-auto px-4",children:[a.jsxs("div",{className:"text-center mb-16 animate-fade-in",children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-primary-foreground mb-4",children:t}),a.jsx("p",{className:"text-xl text-primary-foreground/80 max-w-2xl mx-auto",children:"Join thousands of professionals who've found their dream careers through our platform"})]}),a.jsxs("div",{className:"max-w-4xl mx-auto relative animate-scale-in",children:[a.jsxs("div",{className:"bg-card/10 backdrop-blur-sm border border-primary-foreground/20 p-8 md:p-12 rounded-2xl shadow-accent",children:[a.jsx(Ls,{className:"h-12 w-12 text-yellow-500 mb-6"}),a.jsxs("blockquote",{className:"text-xl md:text-2xl text-primary-foreground mb-8 leading-relaxed font-medium",children:['"',c[o].content,'"']}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{className:"flex items-center gap-4",children:[a.jsx("div",{className:"w-16 h-16 bg-accent/20 rounded-full flex items-center justify-center",children:a.jsx("span",{className:"text-yellow-500 font-bold text-xl",children:c[o].name.charAt(0)})}),a.jsxs("div",{children:[a.jsx("div",{className:"text-primary-foreground font-bold text-lg",children:c[o].name}),a.jsxs("div",{className:"text-primary-foreground/70",children:[c[o].role," at ",c[o].company]}),a.jsx("div",{className:"text-primary-foreground/60 text-sm",children:c[o].location})]})]}),a.jsx("div",{className:"flex items-center gap-1",children:[...Array(c[o].rating)].map((h,u)=>a.jsx(Et,{className:"h-5 w-5 text-yellow-500 fill-current"},u))})]})]}),a.jsxs("div",{className:"flex items-center justify-between mt-8",children:[a.jsx($,{variant:"outline",size:"icon",onClick:d,className:"bg-card/20 border-primary-foreground/30 text-primary-foreground hover:bg-primary-foreground hover:text-primary",children:a.jsx(Ei,{className:"h-6 w-6"})}),a.jsx("div",{className:"flex gap-2",children:c.map((h,u)=>a.jsx("button",{onClick:()=>i(u),className:`w-3 h-3 rounded-full transition-all duration-300 ${u===o?"bg-accent scale-125":"bg-primary-foreground/30 hover:bg-primary-foreground/50"}`},u))}),a.jsx($,{variant:"outline",size:"icon",onClick:l,className:"bg-card/20 border-primary-foreground/30 text-primary-foreground hover:bg-primary-foreground hover:text-primary",children:a.jsx(Ja,{className:"h-6 w-6"})})]})]}),a.jsxs("div",{className:"mt-16 grid grid-cols-1 md:grid-cols-3 gap-8 animate-fade-in",style:{animationDelay:"0.2s"},children:[a.jsxs("div",{className:"text-center",children:[a.jsx("div",{className:"text-4xl font-bold text-yellow-500 mb-2",children:"95%"}),a.jsx("div",{className:"text-primary-foreground/80",children:"Success Rate"}),a.jsx("div",{className:"text-primary-foreground/60 text-sm",children:"Candidates placed successfully"})]}),a.jsxs("div",{className:"text-center",children:[a.jsx("div",{className:"text-4xl font-bold text-yellow-500 mb-2",children:"48h"}),a.jsx("div",{className:"text-primary-foreground/80",children:"Average Response"}),a.jsx("div",{className:"text-primary-foreground/60 text-sm",children:"From application to interview"})]}),a.jsxs("div",{className:"text-center",children:[a.jsx("div",{className:"text-4xl font-bold text-yellow-500 mb-2",children:"€15k"}),a.jsx("div",{className:"text-primary-foreground/80",children:"Avg. Salary Increase"}),a.jsx("div",{className:"text-primary-foreground/60 text-sm",children:"When switching through our platform"})]})]})]})})}function UN({title:t,description:e,inputPlaceholder:r,api_url:n="http://localhost:5147",buttonText:o,isSubscribed:i=!1,email:c=null}){const[l,d]=j.useState(c??""),[h,u]=j.useState(!1),[p,y]=j.useState(!1);j.useEffect(()=>{if(i){y(!0),c&&d(c);return}try{const x=localStorage.getItem("email"),v=localStorage.getItem("leadId");x&&v&&(y(!0),d(x))}catch{}},[i,c]);const f=async()=>{if(!l||!l.includes("@")){alert("Please enter a valid email");return}u(!0);try{const x=await fetch(`${n}/api/leads`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:l,source:"newsletter",utmCampaign:"general",utmMedium:"ui",utmSource:"newsletter_component"})});if(x.ok){const v=await x.json();localStorage.setItem("leadId",v.id),localStorage.setItem("email",l),y(!0)}else{const v=await x.text();alert("Submission failed: "+v)}}catch{alert("Network error while submitting")}finally{u(!1)}},k=p||i,m=c??l;return a.jsx("section",{className:"py-12 bg-[#0f1219] text-white",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[a.jsx("h2",{className:"text-2xl font-bold mb-4",children:t}),a.jsx("p",{className:"text-gray-300 mb-6",children:e}),k?a.jsxs("p",{className:"text-green-400 font-semibold",children:["✅ Thanks! You’re subscribed",m?` as ${m}`:"","."]}):a.jsxs("div",{className:"flex flex-col sm:flex-row gap-2 max-w-lg mx-auto",children:[a.jsx(Ke,{type:"email",placeholder:r,value:l,onChange:x=>d(x.target.value),className:"px-4 py-2 rounded bg-gray-800 border border-gray-700 text-white flex-grow"}),a.jsx($,{onClick:f,disabled:h,className:"px-6 py-2 bg-yellow-500 text-black font-medium rounded hover:bg-yellow-400 transition-colors",children:h?"Subscribing...":o})]})]})})})}function $N({title:t,locations:e,trendingKeywords:r,searchButtonText:n,apiUrl:o,className:i="",showTrending:c=!0,showLocationFilter:l=!0,mockMode:d=!1,searchPageUrl:h="#"}){const[u,p]=j.useState(""),[y,f]=j.useState(""),[k,m]=j.useState([]),[x,v]=j.useState(!1),w="Browse 3,500+ iGaming Jobs",C=[{id:"malta",name:"Malta"},{id:"remote",name:"Remote"},{id:"uk",name:"United Kingdom"},{id:"gibraltar",name:"Gibraltar"}],M=[{label:"CRM Manager",href:"/jobs?q=crm-manager"},{label:"Game Developer",href:"/jobs?q=game-developer"},{label:"Compliance Specialist",href:"/jobs?q=compliance-specialist"}];j.useEffect(()=>{const I=new URLSearchParams(window.location.search),q=I.get("q")||"",P=I.get("location")||"";p(q),f(P)},[]),j.useEffect(()=>{if(u.length<3){m([]);return}const I=setTimeout(()=>{b(u)},300);return()=>clearTimeout(I)},[u]);const b=async I=>{if(!o||d){m([`${I} Developer`,`${I} Manager`,`${I} Specialist`,`${I} Coordinator`,`${I} Agent`]);return}try{v(!0);const q=await fetch(`${o}/suggestions?q=${encodeURIComponent(I)}`);if(!q.ok)throw new Error("Failed to fetch suggestions");const P=await q.json();m(P.suggestions||[])}catch(q){console.error("Error fetching suggestions:",q),m([])}finally{v(!1)}},N=I=>p(I),L=I=>{I.key==="Enter"&&A()},A=()=>{if(d){console.log(`Mock Search - Term: ${u}, Location: ${y}`);return}const I=new URLSearchParams;u&&I.set("q",u),y&&I.set("location",y),window.location.href=`/jobs?${I.toString()}`};return a.jsxs("section",{className:`py-12 bg-gray-100 ${i}`,children:[a.jsxs("div",{className:"text-center mb-12 animate-fade-in",children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:t||w}),a.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto",children:"Find your next opportunity at the world's leading gaming companies"})]}),a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"bg-card p-6 rounded-2xl shadow-card mb-12 animate-scale-in",children:[a.jsxs("div",{className:"flex flex-col md:flex-row gap-4",children:[a.jsxs("div",{className:"flex-grow relative",children:[a.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:a.jsx(Ut,{className:"h-5 w-5 text-gray-400"})}),a.jsx(Ke,{type:"text",placeholder:"Search by role, company, or keyword",className:"w-full pl-10 border-gray-300",value:u,onChange:I=>N(I.target.value),onKeyDown:L,list:"job-suggestions"}),a.jsx("datalist",{id:"job-suggestions",children:k.map((I,q)=>a.jsx("option",{value:I},q))}),u&&a.jsx("button",{onClick:()=>p(""),className:"absolute inset-y-0 right-0 pr-3 flex items-center",children:a.jsx(ca,{className:"h-5 w-5 text-gray-400 hover:text-gray-600"})}),x&&a.jsx("div",{className:"absolute inset-y-0 right-0 pr-10 flex items-center",children:a.jsx("div",{className:"animate-spin rounded-full h-4 w-4 border-b-2 border-gray-400"})})]}),l&&a.jsx("div",{className:"w-full md:w-1/3",children:a.jsxs("select",{className:"w-full h-10 px-3 border border-gray-300 rounded-md",value:y,onChange:I=>f(I.target.value),children:[a.jsx("option",{value:"",children:"All Locations"}),(e||C).map(I=>a.jsx("option",{value:I.id,children:I.name},I.id))]})}),a.jsxs($,{className:"bg-yellow-500 hover:bg-yellow-400 text-black font-medium",onClick:A,disabled:x,children:[a.jsx(Ut,{size:18}),x?"Searching...":n||"Search"]})]}),c&&(r||M).length>0&&a.jsxs("div",{className:"mt-4 flex flex-wrap gap-2 items-center",children:[a.jsx("span",{className:"text-muted-foreground font-medium",children:"Trending:"}),(r||M).map((I,q)=>a.jsx("a",{href:I.href,className:"inline-flex items-center justify-center whitespace-nowrap font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 rounded-md text-xs h-8 px-3 text-yellow-600 hover:text-yellow-800-hover hover:bg-accent/10",children:I.label},q))]})]})})]})}function GN({logo:t,navItems:e}){const[r,n]=j.useState(!1);return a.jsxs("header",{className:"bg-[#0f1219] text-white py-4",children:[a.jsxs("div",{className:"container mx-auto px-4 flex justify-between items-center",children:[a.jsxs("a",{href:"/",className:"flex items-center gap-2",children:[a.jsx("div",{className:"w-10 h-10 rounded-full bg-yellow-500 flex items-center justify-center",children:a.jsx("span",{className:"text-black font-bold text-sm",children:t.initials})}),a.jsx("span",{className:"font-bold text-xl",children:t.text})]}),a.jsx("nav",{className:"hidden md:flex items-center gap-6",children:e.map((o,i)=>a.jsx("a",{href:o.href,className:"hover:text-yellow-400 transition-colors",children:o.label},i))}),a.jsx("button",{className:"md:hidden text-white",onClick:()=>n(!r),children:r?a.jsx(Qt,{size:24}):a.jsx(js,{size:24})})]}),r&&a.jsx("div",{className:"md:hidden bg-[#0f1219] py-4",children:a.jsx("nav",{className:"container mx-auto px-4 flex flex-col gap-4",children:e.map((o,i)=>a.jsx("a",{href:o.href,className:"hover:text-yellow-400 transition-colors py-2",onClick:()=>n(!1),children:o.label},i))})})]})}function WN({logo:t,tagline:e,socialLinks:r,columns:n,contactInfo:o,copyright:i,poweredBy:c}){return a.jsx("footer",{className:"bg-[#0f1219] text-white py-12 border-t border-gray-800",children:a.jsxs("div",{className:"container mx-auto px-4",children:[a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-8 mb-12",children:[a.jsxs("div",{className:"col-span-1",children:[a.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[a.jsx("div",{className:"w-10 h-10 rounded-full bg-yellow-500 flex items-center justify-center",children:a.jsx("span",{className:"text-black font-bold text-sm",children:t.initials})}),a.jsx("span",{className:"font-bold text-xl",children:t.text})]}),a.jsx("p",{className:"text-gray-400 mb-4",children:e}),a.jsx("div",{className:"flex gap-4",children:r.map((l,d)=>a.jsx("a",{href:l.href,className:"text-gray-400 hover:text-white",children:l.icon},d))})]}),n.map((l,d)=>a.jsxs("div",{className:"col-span-1",children:[a.jsx("h3",{className:"font-bold text-lg mb-4",children:l.title}),a.jsx("ul",{className:"space-y-2",children:l.links.map((h,u)=>a.jsx("li",{children:a.jsx("a",{href:h.href,className:"text-gray-400 hover:text-white",children:h.label})},u))})]},d))]}),a.jsx("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 py-6 border-t border-gray-800",children:a.jsxs("div",{className:"flex flex-col md:flex-row gap-6",children:[a.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[a.jsx(ya,{size:16}),a.jsx("span",{children:o.email})]}),a.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[a.jsx(Hi,{size:16}),a.jsx("span",{children:o.phone})]}),a.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[a.jsx(Bt,{size:16}),a.jsx("span",{children:o.location})]})]})}),a.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 pt-6 border-t border-gray-800 text-gray-400 text-sm",children:[a.jsx("p",{children:i}),a.jsx("p",{children:c})]})]})})}const ZN=()=>{const[t,e]=j.useState(null),r=[{id:1,name:"BetTech Gaming",logo:"BG",description:"Leading casino platform provider"},{id:2,name:"SportsBet Pro",logo:"SP",description:"Premier sportsbook solutions"},{id:3,name:"Casino Solutions",logo:"CS",description:"Innovative gaming technology"},{id:4,name:"Gaming Analytics",logo:"GA",description:"Data-driven gaming insights"},{id:5,name:"PokerTech",logo:"PT",description:"Advanced poker platforms"},{id:6,name:"SlotMaster",logo:"SM",description:"Premium slot game developer"},{id:7,name:"LiveCasino",logo:"LC",description:"Live dealer solutions"},{id:8,name:"BetSafe Tech",logo:"BT",description:"Secure betting infrastructure"},{id:9,name:"GameHub",logo:"GH",description:"Multi-game platform provider"},{id:10,name:"WinTech",logo:"WT",description:"Winning gaming solutions"}];return a.jsx("section",{className:"py-20 bg-gray-100",children:a.jsxs("div",{className:"container mx-auto px-4",children:[a.jsxs("div",{className:"text-center mb-16 animate-fade-in",children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"Our Partners"}),a.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto",children:"Trusted by 500+ leading iGaming companies worldwide"})]}),a.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-6 mb-12",children:r.map((n,o)=>a.jsxs("div",{className:"group relative bg-card p-6 rounded-xl shadow-card hover:shadow-elegant transition-all duration-300 transform hover:-translate-y-2 cursor-pointer animate-scale-in",style:{animationDelay:`${o*.05}s`},onMouseEnter:()=>e(n.id),onMouseLeave:()=>e(null),children:[a.jsx("div",{className:"aspect-square flex items-center justify-center mb-4",children:a.jsx("div",{className:"w-16 h-16 bg-gradient-accent rounded-xl flex items-center justify-center group-hover:scale-110 transition-transform duration-300",children:a.jsx("span",{className:"text-accent-foreground font-bold text-lg",children:n.logo})})}),a.jsx("h3",{className:"text-center font-bold text-card-foreground group-hover:text-accent transition-colors duration-300 text-sm",children:n.name}),t===n.id&&a.jsx("div",{className:"absolute inset-0 bg-primary/95 rounded-xl flex items-center justify-center p-4 animate-fade-in",children:a.jsxs("div",{className:"text-center",children:[a.jsx("div",{className:"text-primary-foreground font-bold mb-2",children:n.name}),a.jsx("div",{className:"text-primary-foreground/80 text-sm",children:n.description}),a.jsx("div",{className:"mt-3 text-yellow-500 text-sm font-medium",children:"View Jobs →"})]})}),a.jsx("div",{className:"absolute inset-0 border-2 border-transparent group-hover:border-accent/50 rounded-xl transition-colors duration-300"})]},n.id))}),a.jsx("div",{className:"bg-gradient-hero p-8 rounded-2xl shadow-accent animate-fade-in",style:{animationDelay:"0.5s"},children:a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-6 text-center text-primary-foreground",children:[a.jsxs("div",{children:[a.jsx("div",{className:"text-3xl font-bold mb-2",children:"500+"}),a.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Gaming Companies Trust Us"})]}),a.jsxs("div",{children:[a.jsx("div",{className:"text-3xl font-bold mb-2",children:"50+"}),a.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Countries Worldwide"})]}),a.jsxs("div",{children:[a.jsx("div",{className:"text-3xl font-bold mb-2",children:"€2B+"}),a.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Combined Revenue"})]}),a.jsxs("div",{children:[a.jsx("div",{className:"text-3xl font-bold mb-2",children:"10M+"}),a.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Players Served"})]})]})}),a.jsxs("div",{className:"text-center mt-12 animate-slide-in",style:{animationDelay:"0.6s"},children:[a.jsx("h3",{className:"text-2xl font-bold text-foreground mb-4",children:"Want to Partner with Us?"}),a.jsx("p",{className:"text-muted-foreground mb-6 max-w-lg mx-auto",children:"Join hundreds of leading iGaming companies finding top talent through our platform"}),a.jsx("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:a.jsx("a",{href:"/partners",className:"bg-yellow-500 hover:bg-accent-hover font-semibold py-3 px-8 rounded-lg transition-all duration-300 transform hover:scale-105 shadow-accent",children:"Become a Partner"})})]})]})})};function PD(){const[t,e]=j.useState(null);return j.useEffect(()=>{try{const r=localStorage.getItem("email");r&&e(r)}catch{}},[]),{isSubscribed:!!t,email:t}}const XN=j.createContext({consent:{analytics:!1,marketing:!1,preferences:!1},ready:!1,update:async()=>{console.log("ConsentContext not initialized")}});function JN({notification_url:t="http://localhost:5147",children:e}){const[r,n]=j.useState({analytics:!1,marketing:!1,preferences:!1}),[o,i]=j.useState(!1),l=(p=>p.replace(/\/+$/,""))(t??"http://localhost:5147"),[d,h]=j.useState(null);j.useEffect(()=>{try{const p=localStorage.getItem("leadId");p&&h(p)}catch{}},[]),j.useEffect(()=>{const p=localStorage.getItem("consent");if(p)try{n(JSON.parse(p)),i(!0);return}catch{}if(!d){i(!0);return}fetch(`${l}/api/leads/${d}/consents/latest`).then(y=>y.ok?y.json():null).then(y=>{y&&n({analytics:!!y.analytics,marketing:!!y.marketing,preferences:!!y.preferences,timestamp:y.createdAt})}).catch(()=>{}).finally(()=>i(!0))},[d]);const u=async p=>{const y={...r,...p,timestamp:new Date().toISOString()};n(y),localStorage.setItem("consent",JSON.stringify(y));const f={analytics:y.analytics,marketing:y.marketing,preferences:y.preferences,policyVersion:"cmp-v1.0",source:"web:banner"};try{d?await fetch(`${l}/api/leads/${d}/consents`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(f)}):await fetch(`${l}/api/consents`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(f)})}catch(k){console.warn("Consent API unavailable, kept only locally",k)}};return a.jsx(XN.Provider,{value:{consent:r,ready:o,update:u},children:e})}const _j=()=>j.useContext(XN);function _D({allow:t,children:e}){const{consent:r,ready:n}=_j();return!n||!r[t]?null:a.jsx(a.Fragment,{children:e})}function YN({title:t="Cookie consent",description:e="We use cookies to improve your experience. You can accept all or manage preferences. Non-essential cookies are off until you opt in.",buttonAcceptLabel:r="Accept all",buttonRejectLabel:n="Reject non-essential",defaultOpen:o=!1,isOpen:i,onAccept:c,onReject:l}){const{consent:d,update:h,ready:u}=_j(),[p,y]=j.useState(o);j.useEffect(()=>{i===void 0&&u&&!d.timestamp&&y(!0)},[d.timestamp,i,u]);const f=j.useMemo(()=>i??p,[i,p]),k=()=>{i===void 0&&y(!1)};if(!f)return null;const m=()=>{h({analytics:!0,marketing:!0,preferences:!0}),k(),c==null||c()},x=()=>{h({analytics:!1,marketing:!1,preferences:!1}),k(),l==null||l()};return a.jsxs("div",{role:"dialog","aria-label":t,className:"fixed bottom-4 left-4 right-4 z-50 rounded-2xl bg-white p-4 shadow-xl",children:[a.jsx("p",{className:"text-sm",children:e}),a.jsxs("div",{className:"mt-3 flex gap-2",children:[a.jsx("button",{className:"px-3 py-2 rounded-xl border",onClick:x,children:n}),a.jsx("button",{className:"px-3 py-2 rounded-xl bg-black text-white",onClick:m,children:r})]})]})}const RD={logo:{text:"iGamingCareer.com",initials:"iG"},navItems:[{label:"Home",href:"/"},{label:"iGaming Salaries 2025",href:"/salaries"},{label:"Jobs",href:"/jobs"},{label:"About Us",href:"/about"},{label:"Blog",href:"/blog"},{label:"Contact",href:"/contact"}]},TD={title:"Find Your Dream Job in",subtitle:`The #1 platform for iGaming careers—connecting top talent with leading casinos,
7749
- sportsbooks, and tech providers worldwide.`,backgroundImage:"/placeholder.svg?height=800&width=1600",primaryButtonText:"Search Jobs",secondaryButtonText:"Upload CV"},qD={title:"Why Choose Us?",values:[{icon:ft,title:"Niche Expertise",description:"Dedicated solely to iGaming jobs worldwide."},{icon:Ra,title:"Recruiter Network",description:"Direct access to hiring managers at top brands."},{icon:$a,title:"Salary Insights",description:"Transparent data to negotiate your best offer."},{icon:bs,title:"Career Growth",description:"Courses and certifications to level up your skills."}]},DD={title:"Browse 3,500+ iGaming Jobs",locations:[{id:"malta",name:"Malta"},{id:"remote",name:"Remote"},{id:"uk",name:"United Kingdom"},{id:"gibraltar",name:"Gibraltar"}],trendingKeywords:[{label:"CRM Manager",href:"/jobs?q=crm-manager"},{label:"Game Developer",href:"/jobs?q=game-developer"},{label:"Compliance Specialist",href:"/jobs?q=compliance-specialist"}],searchButtonText:"Search"},zD={title:"Trusted by Professionals & Companies",testimonial:{quote:"Landed my dream job at DraftKings in 2 weeks! The platform was easy to use and the team provided great support throughout the process.",name:"Sarah",title:"Product Manager",avatar:"/placeholder.svg?height=80&width=80"},stats:[{value:"10,000+",label:"Candidates hired through our platform"},{value:"500+",label:"iGaming companies trust us"},{value:"25+",label:"Countries with active job listings"}],partnerLogos:Array(5).fill("/placeholder.svg?height=60&width=120")},FD={title:"Get Exclusive iGaming Job Alerts",description:"Weekly openings + salary reports. Unsubscribe anytime.",inputPlaceholder:"Your email address",buttonText:"Subscribe"},ED={title:"Hire Top iGaming Talent",description:"Access 50,000+ skilled professionals. Post a job in 5 minutes.",primaryButtonText:"Post a Job",primaryButtonHref:"/employers/post-job",secondaryButtonText:"Learn More",secondaryButtonHref:"/employers"},OD={logo:{text:"iGamingCareer.com",initials:"iG"},tagline:"We bet on the people behind the game.",socialLinks:[{icon:a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-linkedin",children:[a.jsx("path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"}),a.jsx("rect",{width:"4",height:"12",x:"2",y:"9"}),a.jsx("circle",{cx:"4",cy:"4",r:"2"})]}),href:"#"},{icon:a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-instagram",children:[a.jsx("rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5"}),a.jsx("path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"}),a.jsx("line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5"})]}),href:"#"}],columns:[{title:"Company",links:[{label:"About Us",href:"/about"},{label:"Careers",href:"/careers"},{label:"Press",href:"/press"}]},{title:"Resources",links:[{label:"Job Board",href:"/jobs"},{label:"Courses",href:"/courses"},{label:"Salary Guide",href:"/salary-guide"}]},{title:"Legal",links:[{label:"Privacy Policy",href:"/privacy"},{label:"Terms of Service",href:"/terms"},{label:"Contact Us",href:"/contact"}]}],contactInfo:{email:"info@igamingcareer.com",phone:"+1 (234) 567-89",location:"Malta, Europe"},copyright:"© 2025 iGaming Career Finder. All rights reserved.",poweredBy:"Powered by iGamingCareer.com"},Ba=(t,e)=>({...t,...e??{}});function HD({headerData:t,heroData:e,valuePropositionData:r,jobSearchData:n,trustSignalsData:o,newsletterData:i,forEmployersData:c,footerData:l,showValueProposition:d=!0,showJobSearchWidget:h=!0,showTrustSignals:u=!0,showPartners:p=!0,showNewsletter:y=!0,showForEmployers:f=!0,showConsentBanner:k=!0,consentNotificationUrl:m="http://localhost:5147",consentBannerProps:x}){const{isSubscribed:v,email:w}=PD(),C=Ba(RD,t),M=Ba(TD,e),b=Ba(qD,r),N=Ba(DD,n),L=Ba(zD,o),A=Ba(FD,i),I=Ba(ED,c),q=Ba(OD,l),P={...A,isSubscribed:(i==null?void 0:i.isSubscribed)??v,email:(i==null?void 0:i.email)??w};return a.jsx(JN,{notification_url:m,children:a.jsxs("div",{className:"flex flex-col min-h-screen",children:[a.jsx(GN,{...C}),a.jsxs("main",{className:"flex-grow",children:[a.jsx(HN,{...M}),d&&a.jsx(VN,{...b}),h&&a.jsx($N,{...N}),u&&a.jsx(BN,{...L}),p&&a.jsx(ZN,{}),y&&a.jsx(UN,{...P}),f&&a.jsx(ON,{...I})]}),a.jsx(WN,{...q}),k&&a.jsx(YN,{...x})]})})}function Rj({title:t="Premium Job Alerts",description:e="Get notified about new jobs that match your skills and preferences.",inputPlaceholder:r="Your email address",buttonText:n="Subscribe",api_url:o="http://localhost:5147"}){const[i,c]=j.useState(""),[l,d]=j.useState(!1),[h,u]=j.useState(!1);j.useEffect(()=>{const y=localStorage.getItem("email");y&&(u(!0),c(y))},[]);const p=async()=>{if(!i||!i.includes("@")){alert("Please enter a valid email");return}d(!0);try{const y=await fetch(`${o}/api/leads`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:i,source:"sidebar_newsletter",utmCampaign:"jobs_sidebar",utmMedium:"ui",utmSource:"sidebar_component"})});if(y.ok){const f=await y.json();localStorage.setItem("leadId",f.id),localStorage.setItem("email",i),u(!0)}else{const f=await y.text();alert("Submission failed: "+f)}}catch{alert("Network error while submitting")}finally{d(!1)}};return a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[a.jsx("h3",{className:"font-semibold text-lg mb-3",children:t}),a.jsx("p",{className:"text-sm text-gray-600 mb-4",children:e}),h?a.jsxs("p",{className:"text-green-600 font-medium",children:["✅ You’re subscribed",i?` as ${i}`:"","!"]}):a.jsxs("form",{className:"flex flex-col",children:[a.jsx(Ke,{type:"email",value:i,onChange:y=>c(y.target.value),placeholder:r,className:"mb-3"}),a.jsx($,{type:"button",onClick:p,disabled:l,className:"bg-yellow-600 text-white hover:bg-yellow-700 transition-colors",children:l?"Subscribing...":n})]})]})}function KN({open:t,type:e,message:r,onClose:n}){if(j.useEffect(()=>{if(t){const i=setTimeout(n,5e3);return()=>clearTimeout(i)}},[t,n]),!t)return null;const o={success:"bg-green-100 text-green-800 border-green-300",error:"bg-red-100 text-red-800 border-red-300",info:"bg-yellow-100 text-yellow-800 border-yellow-300"};return a.jsx("div",{className:`fixed top-6 right-6 z-50 max-w-sm w-full p-4 rounded-lg border shadow-md ${o[e]}`,children:a.jsxs("div",{className:"flex items-start justify-between",children:[a.jsx("p",{className:"text-sm font-medium",children:r}),a.jsx("button",{onClick:n,className:"ml-4",children:a.jsx(ca,{className:"w-5 h-5"})})]})})}const $c=({position:t,url:e,alt:r,link:n})=>{let o="",i="";switch(t){case"top":o="w-screen h-[48px] md:h-[90px] flex justify-center items-center bg-yellow-100",i="w-[390px] h-[48px] md:w-[728px] md:h-[90px]";break;case"bottom":o="w-screen h-[48px] md:h-[90px] flex justify-center items-center bg-green-100 mt-8",i="w-[390px] h-[48px] md:w-[728px] md:h-[90px]";break;case"sidebar":o="w-[300px] h-[250px] flex justify-center items-center bg-yellow-100",i="w-[300px] h-[250px]";break}const c=e.match(/\.(mp4|webm|ogg)$/i);return a.jsx("div",{className:o,children:a.jsx("a",{href:n,target:"_blank",children:c?a.jsxs("video",{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:`${i} object-cover`,children:[a.jsx("source",{src:e,type:"video/mp4"}),"Your browser does not support the video tag."]}):a.jsx("img",{src:e,alt:r,className:`${i} object-cover`})})})},A9=({options:t,value:e,onChange:r,placeholder:n,className:o=""})=>{const[i,c]=j.useState(!1),[l,d]=j.useState(""),h=j.useRef(null),u=t.filter(p=>p.toLowerCase().includes(l.toLowerCase()));return j.useEffect(()=>{const p=y=>{h.current&&!h.current.contains(y.target)&&c(!1)};return document.addEventListener("mousedown",p),()=>document.removeEventListener("mousedown",p)},[]),a.jsxs("div",{className:`searchable-select-container relative ${o}`,ref:h,children:[a.jsxs("div",{className:"searchable-select-header px-3 py-2 border border-gray-300 rounded-lg bg-white cursor-pointer flex justify-between items-center",onClick:()=>c(!i),children:[a.jsx("span",{className:e?"text-gray-900":"text-gray-500",children:e||n}),a.jsx("svg",{className:`h-5 w-5 text-gray-400 transition-transform ${i?"transform rotate-180":""}`,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:a.jsx("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"})})]}),i&&a.jsxs("div",{className:"searchable-select-dropdown absolute z-10 mt-1 w-full bg-white border border-gray-300 rounded-lg shadow-lg",children:[a.jsx("div",{className:"p-2",children:a.jsx("input",{type:"text",className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow--500 focus:border-yellow--500",placeholder:"Search...",value:l,onChange:p=>d(p.target.value),onClick:p=>p.stopPropagation(),autoFocus:!0})}),a.jsxs("div",{className:"max-h-60 overflow-y-auto",children:[a.jsx("div",{className:"py-1 px-2 hover:bg-gray-100 cursor-pointer text-gray-500",onClick:()=>{r(""),c(!1),d("")},children:n}),u.length>0?u.map((p,y)=>a.jsx("div",{className:`py-1 px-2 cursor-pointer ${e===p?"bg-yellow-50 text-indigo-700":"hover:bg-gray-100 text-gray-900"}`,onClick:()=>{r(p),c(!1),d("")},children:p},y)):a.jsx("div",{className:"py-1 px-2 text-gray-500 italic",children:"No results found"})]})]})]})},VD=({filterKeys:t,filtersData:e,activeFilters:r,handleFilterChange:n,searchFilters:o,removeSearchFilter:i,clearAllFilters:c,searchableFilters:l})=>a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"filters-grid",children:t.map(d=>{var u,p;return(l==null?void 0:l.includes(d))?a.jsx(A9,{options:((u=e[d])==null?void 0:u.filter(y=>typeof y=="string"))||[],value:r[d]||"",onChange:y=>n(d,y),placeholder:`Select ${d.replace(/_/g," ")}`},d):a.jsxs("select",{className:"filter-select",onChange:y=>n(d,y.target.value),value:r[d]||"",children:[a.jsxs("option",{value:"",children:["Select ",d.replace(/_/g," ")]}),(p=e[d])==null?void 0:p.map((y,f)=>typeof y!="string"?null:a.jsx("option",{value:y,children:y},`${d}-${f}`))]},d)})}),a.jsxs("div",{className:"active-filters",children:[o.map(d=>a.jsxs("div",{className:"filter-badge search-filter-badge",children:[a.jsx("span",{className:"filter-value",children:d}),a.jsx("button",{className:"remove-filter",onClick:()=>i(d),"aria-label":`Remove search filter ${d}`,children:"×"})]},`search-${d}`)),Object.entries(r).map(([d,h])=>a.jsxs("div",{className:"filter-badge",children:[a.jsxs("span",{className:"filter-label",children:[d.replace(/_/g," "),":"]}),a.jsx("span",{className:"filter-value",children:h}),a.jsx("button",{className:"remove-filter",onClick:()=>n(d,""),"aria-label":`Remove ${d} filter`,children:"×"})]},d)),(Object.keys(r).length>0||o.length>0)&&a.jsx("button",{className:"clear-all-filters",onClick:c,children:"Clear All"})]})]}),BD=({searchTerm:t,handleSearchChange:e,handleSearchKeyDown:r,suggestions:n})=>a.jsx("div",{className:"search-container",children:a.jsxs("div",{className:"search-input-wrapper",children:[a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"search-icon",children:[a.jsx("circle",{cx:"11",cy:"11",r:"8"}),a.jsx("path",{d:"m21 21-4.3-4.3"})]}),a.jsx("input",{type:"text",className:"search-input",placeholder:"Search jobs and press Enter to add as filter...",value:t,onChange:o=>e(o.target.value),onKeyDown:r,list:"job-suggestions"}),a.jsx("datalist",{id:"job-suggestions",children:n.map((o,i)=>a.jsx("option",{value:o},i))})]})}),UD={not_registered:{status:"not_registered",allowSaving:!1,maskExternalLinks:!1},freemium:{status:"freemium",allowSaving:!0,maskExternalLinks:!1},premium:{status:"premium",allowSaving:!0,maskExternalLinks:!1}},P9=t=>{const e=(t==null?void 0:t.status)??"not_registered",r=UD[e];return{...r,allowSaving:(t==null?void 0:t.allowSaving)??r.allowSaving,maskExternalLinks:(t==null?void 0:t.maskExternalLinks)??r.maskExternalLinks,note:t==null?void 0:t.note}},Tj={not_registered:"Guest access",freemium:"Freemium member",premium:"Premium member"},QN=({job:t,positionInList:e,onSaveJob:r,onViewJob:n,onApplyJob:o,isSaved:i,layout:c="grid",userAccess:l})=>{var M;if(!t||typeof t!="object")return console.error("❌ Invalid job data:",t),a.jsx("div",{className:"job-card bg-red-50",children:a.jsxs("div",{className:"p-4",children:[a.jsx("p",{className:"text-red-800 font-medium",children:"Invalid Job Data"}),a.jsx("p",{className:"text-red-600 text-sm",children:"The job data is in an unexpected format."})]})});const d=b=>{if(x){b.preventDefault(),b.stopPropagation();return}const N=x?"external":t.description&&t.description!==""?"same_tab":"new_tab";o==null||o(t,e,"external"),n(t,e,N)},h=b=>{b.preventDefault(),b.stopPropagation(),m&&r(t,e)};t.published_at||t.created_at||t.scraped_at;const u=t.min_salary||0,p=t.max_salary||0,y=`$${u.toLocaleString()} - $${p.toLocaleString()}`,k=(b=>{if(!b)return"Recently posted";try{const N=new Date(b),A=Math.abs(new Date().getTime()-N.getTime()),I=Math.floor(A/(1e3*60*60*24));return I===0?"Today":I===1?"Yesterday":I<7?`${I} days ago`:I<30?`${Math.floor(I/7)} weeks ago`:I<365?`${Math.floor(I/30)} months ago`:`${Math.floor(I/365)} years ago`}catch{return"Recently posted"}})(t.published_at||t.created_at||t.scraped_at),m=l.allowSaving,x=l.maskExternalLinks,v=Tj[l.status],w=m?"Save job":"Log in to save this job",C=t.description&&t.description!==""?"/jobs/"+(t.slug||t.id):t.link;return a.jsxs("div",{className:`bg-white rounded-lg shadow-sm border border-gray-200 p-3 hover:shadow-md transition-shadow
7749
+ sportsbooks, and tech providers worldwide.`,backgroundImage:"/placeholder.svg?height=800&width=1600",primaryButtonText:"Search Jobs",secondaryButtonText:"Upload CV"},qD={title:"Why Choose Us?",values:[{icon:ft,title:"Niche Expertise",description:"Dedicated solely to iGaming jobs worldwide."},{icon:_a,title:"Recruiter Network",description:"Direct access to hiring managers at top brands."},{icon:Ua,title:"Salary Insights",description:"Transparent data to negotiate your best offer."},{icon:bs,title:"Career Growth",description:"Courses and certifications to level up your skills."}]},DD={title:"Browse 3,500+ iGaming Jobs",locations:[{id:"malta",name:"Malta"},{id:"remote",name:"Remote"},{id:"uk",name:"United Kingdom"},{id:"gibraltar",name:"Gibraltar"}],trendingKeywords:[{label:"CRM Manager",href:"/jobs?q=crm-manager"},{label:"Game Developer",href:"/jobs?q=game-developer"},{label:"Compliance Specialist",href:"/jobs?q=compliance-specialist"}],searchButtonText:"Search"},zD={title:"Trusted by Professionals & Companies",testimonial:{quote:"Landed my dream job at DraftKings in 2 weeks! The platform was easy to use and the team provided great support throughout the process.",name:"Sarah",title:"Product Manager",avatar:"/placeholder.svg?height=80&width=80"},stats:[{value:"10,000+",label:"Candidates hired through our platform"},{value:"500+",label:"iGaming companies trust us"},{value:"25+",label:"Countries with active job listings"}],partnerLogos:Array(5).fill("/placeholder.svg?height=60&width=120")},FD={title:"Get Exclusive iGaming Job Alerts",description:"Weekly openings + salary reports. Unsubscribe anytime.",inputPlaceholder:"Your email address",buttonText:"Subscribe"},ED={title:"Hire Top iGaming Talent",description:"Access 50,000+ skilled professionals. Post a job in 5 minutes.",primaryButtonText:"Post a Job",primaryButtonHref:"/employers/post-job",secondaryButtonText:"Learn More",secondaryButtonHref:"/employers"},OD={logo:{text:"iGamingCareer.com",initials:"iG"},tagline:"We bet on the people behind the game.",socialLinks:[{icon:a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-linkedin",children:[a.jsx("path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"}),a.jsx("rect",{width:"4",height:"12",x:"2",y:"9"}),a.jsx("circle",{cx:"4",cy:"4",r:"2"})]}),href:"#"},{icon:a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-instagram",children:[a.jsx("rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5"}),a.jsx("path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"}),a.jsx("line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5"})]}),href:"#"}],columns:[{title:"Company",links:[{label:"About Us",href:"/about"},{label:"Careers",href:"/careers"},{label:"Press",href:"/press"}]},{title:"Resources",links:[{label:"Job Board",href:"/jobs"},{label:"Courses",href:"/courses"},{label:"Salary Guide",href:"/salary-guide"}]},{title:"Legal",links:[{label:"Privacy Policy",href:"/privacy"},{label:"Terms of Service",href:"/terms"},{label:"Contact Us",href:"/contact"}]}],contactInfo:{email:"info@igamingcareer.com",phone:"+1 (234) 567-89",location:"Malta, Europe"},copyright:"© 2025 iGaming Career Finder. All rights reserved.",poweredBy:"Powered by iGamingCareer.com"},Va=(t,e)=>({...t,...e??{}});function HD({headerData:t,heroData:e,valuePropositionData:r,jobSearchData:n,trustSignalsData:o,newsletterData:i,forEmployersData:c,footerData:l,showValueProposition:d=!0,showJobSearchWidget:h=!0,showTrustSignals:u=!0,showPartners:p=!0,showNewsletter:y=!0,showForEmployers:f=!0,showConsentBanner:k=!0,consentNotificationUrl:m="http://localhost:5147",consentBannerProps:x}){const{isSubscribed:v,email:w}=PD(),C=Va(RD,t),M=Va(TD,e),b=Va(qD,r),N=Va(DD,n),L=Va(zD,o),A=Va(FD,i),I=Va(ED,c),q=Va(OD,l),P={...A,isSubscribed:(i==null?void 0:i.isSubscribed)??v,email:(i==null?void 0:i.email)??w};return a.jsx(JN,{notification_url:m,children:a.jsxs("div",{className:"flex flex-col min-h-screen",children:[a.jsx(GN,{...C}),a.jsxs("main",{className:"flex-grow",children:[a.jsx(HN,{...M}),d&&a.jsx(VN,{...b}),h&&a.jsx($N,{...N}),u&&a.jsx(BN,{...L}),p&&a.jsx(ZN,{}),y&&a.jsx(UN,{...P}),f&&a.jsx(ON,{...I})]}),a.jsx(WN,{...q}),k&&a.jsx(YN,{...x})]})})}function Rj({title:t="Premium Job Alerts",description:e="Get notified about new jobs that match your skills and preferences.",inputPlaceholder:r="Your email address",buttonText:n="Subscribe",api_url:o="http://localhost:5147"}){const[i,c]=j.useState(""),[l,d]=j.useState(!1),[h,u]=j.useState(!1);j.useEffect(()=>{const y=localStorage.getItem("email");y&&(u(!0),c(y))},[]);const p=async()=>{if(!i||!i.includes("@")){alert("Please enter a valid email");return}d(!0);try{const y=await fetch(`${o}/api/leads`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:i,source:"sidebar_newsletter",utmCampaign:"jobs_sidebar",utmMedium:"ui",utmSource:"sidebar_component"})});if(y.ok){const f=await y.json();localStorage.setItem("leadId",f.id),localStorage.setItem("email",i),u(!0)}else{const f=await y.text();alert("Submission failed: "+f)}}catch{alert("Network error while submitting")}finally{d(!1)}};return a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[a.jsx("h3",{className:"font-semibold text-lg mb-3",children:t}),a.jsx("p",{className:"text-sm text-gray-600 mb-4",children:e}),h?a.jsxs("p",{className:"text-green-600 font-medium",children:["✅ You’re subscribed",i?` as ${i}`:"","!"]}):a.jsxs("form",{className:"flex flex-col",children:[a.jsx(Ke,{type:"email",value:i,onChange:y=>c(y.target.value),placeholder:r,className:"mb-3"}),a.jsx($,{type:"button",onClick:p,disabled:l,className:"bg-yellow-600 text-white hover:bg-yellow-700 transition-colors",children:l?"Subscribing...":n})]})]})}function KN({open:t,type:e,message:r,onClose:n}){if(j.useEffect(()=>{if(t){const i=setTimeout(n,5e3);return()=>clearTimeout(i)}},[t,n]),!t)return null;const o={success:"bg-green-100 text-green-800 border-green-300",error:"bg-red-100 text-red-800 border-red-300",info:"bg-yellow-100 text-yellow-800 border-yellow-300"};return a.jsx("div",{className:`fixed top-6 right-6 z-50 max-w-sm w-full p-4 rounded-lg border shadow-md ${o[e]}`,children:a.jsxs("div",{className:"flex items-start justify-between",children:[a.jsx("p",{className:"text-sm font-medium",children:r}),a.jsx("button",{onClick:n,className:"ml-4",children:a.jsx(ca,{className:"w-5 h-5"})})]})})}const $c=({position:t,url:e,alt:r,link:n})=>{let o="",i="";switch(t){case"top":o="w-screen h-[48px] md:h-[90px] flex justify-center items-center bg-yellow-100",i="w-[390px] h-[48px] md:w-[728px] md:h-[90px]";break;case"bottom":o="w-screen h-[48px] md:h-[90px] flex justify-center items-center bg-green-100 mt-8",i="w-[390px] h-[48px] md:w-[728px] md:h-[90px]";break;case"sidebar":o="w-[300px] h-[250px] flex justify-center items-center bg-yellow-100",i="w-[300px] h-[250px]";break}const c=e.match(/\.(mp4|webm|ogg)$/i);return a.jsx("div",{className:o,children:a.jsx("a",{href:n,target:"_blank",children:c?a.jsxs("video",{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:`${i} object-cover`,children:[a.jsx("source",{src:e,type:"video/mp4"}),"Your browser does not support the video tag."]}):a.jsx("img",{src:e,alt:r,className:`${i} object-cover`})})})},A9=({options:t,value:e,onChange:r,placeholder:n,className:o=""})=>{const[i,c]=j.useState(!1),[l,d]=j.useState(""),h=j.useRef(null),u=t.filter(p=>p.toLowerCase().includes(l.toLowerCase()));return j.useEffect(()=>{const p=y=>{h.current&&!h.current.contains(y.target)&&c(!1)};return document.addEventListener("mousedown",p),()=>document.removeEventListener("mousedown",p)},[]),a.jsxs("div",{className:`searchable-select-container relative ${o}`,ref:h,children:[a.jsxs("div",{className:"searchable-select-header px-3 py-2 border border-gray-300 rounded-lg bg-white cursor-pointer flex justify-between items-center",onClick:()=>c(!i),children:[a.jsx("span",{className:e?"text-gray-900":"text-gray-500",children:e||n}),a.jsx("svg",{className:`h-5 w-5 text-gray-400 transition-transform ${i?"transform rotate-180":""}`,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:a.jsx("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"})})]}),i&&a.jsxs("div",{className:"searchable-select-dropdown absolute z-10 mt-1 w-full bg-white border border-gray-300 rounded-lg shadow-lg",children:[a.jsx("div",{className:"p-2",children:a.jsx("input",{type:"text",className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow--500 focus:border-yellow--500",placeholder:"Search...",value:l,onChange:p=>d(p.target.value),onClick:p=>p.stopPropagation(),autoFocus:!0})}),a.jsxs("div",{className:"max-h-60 overflow-y-auto",children:[a.jsx("div",{className:"py-1 px-2 hover:bg-gray-100 cursor-pointer text-gray-500",onClick:()=>{r(""),c(!1),d("")},children:n}),u.length>0?u.map((p,y)=>a.jsx("div",{className:`py-1 px-2 cursor-pointer ${e===p?"bg-yellow-50 text-indigo-700":"hover:bg-gray-100 text-gray-900"}`,onClick:()=>{r(p),c(!1),d("")},children:p},y)):a.jsx("div",{className:"py-1 px-2 text-gray-500 italic",children:"No results found"})]})]})]})},VD=({filterKeys:t,filtersData:e,activeFilters:r,handleFilterChange:n,searchFilters:o,removeSearchFilter:i,clearAllFilters:c,searchableFilters:l})=>a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"filters-grid",children:t.map(d=>{var u,p;return(l==null?void 0:l.includes(d))?a.jsx(A9,{options:((u=e[d])==null?void 0:u.filter(y=>typeof y=="string"))||[],value:r[d]||"",onChange:y=>n(d,y),placeholder:`Select ${d.replace(/_/g," ")}`},d):a.jsxs("select",{className:"filter-select",onChange:y=>n(d,y.target.value),value:r[d]||"",children:[a.jsxs("option",{value:"",children:["Select ",d.replace(/_/g," ")]}),(p=e[d])==null?void 0:p.map((y,f)=>typeof y!="string"?null:a.jsx("option",{value:y,children:y},`${d}-${f}`))]},d)})}),a.jsxs("div",{className:"active-filters",children:[o.map(d=>a.jsxs("div",{className:"filter-badge search-filter-badge",children:[a.jsx("span",{className:"filter-value",children:d}),a.jsx("button",{className:"remove-filter",onClick:()=>i(d),"aria-label":`Remove search filter ${d}`,children:"×"})]},`search-${d}`)),Object.entries(r).map(([d,h])=>a.jsxs("div",{className:"filter-badge",children:[a.jsxs("span",{className:"filter-label",children:[d.replace(/_/g," "),":"]}),a.jsx("span",{className:"filter-value",children:h}),a.jsx("button",{className:"remove-filter",onClick:()=>n(d,""),"aria-label":`Remove ${d} filter`,children:"×"})]},d)),(Object.keys(r).length>0||o.length>0)&&a.jsx("button",{className:"clear-all-filters",onClick:c,children:"Clear All"})]})]}),BD=({searchTerm:t,handleSearchChange:e,handleSearchKeyDown:r,suggestions:n})=>a.jsx("div",{className:"search-container",children:a.jsxs("div",{className:"search-input-wrapper",children:[a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"search-icon",children:[a.jsx("circle",{cx:"11",cy:"11",r:"8"}),a.jsx("path",{d:"m21 21-4.3-4.3"})]}),a.jsx("input",{type:"text",className:"search-input",placeholder:"Search jobs and press Enter to add as filter...",value:t,onChange:o=>e(o.target.value),onKeyDown:r,list:"job-suggestions"}),a.jsx("datalist",{id:"job-suggestions",children:n.map((o,i)=>a.jsx("option",{value:o},i))})]})}),UD={not_registered:{status:"not_registered",allowSaving:!1,maskExternalLinks:!1},freemium:{status:"freemium",allowSaving:!0,maskExternalLinks:!1},premium:{status:"premium",allowSaving:!0,maskExternalLinks:!1}},P9=t=>{const e=(t==null?void 0:t.status)??"not_registered",r=UD[e];return{...r,allowSaving:(t==null?void 0:t.allowSaving)??r.allowSaving,maskExternalLinks:(t==null?void 0:t.maskExternalLinks)??r.maskExternalLinks,note:t==null?void 0:t.note}},Tj={not_registered:"Guest access",freemium:"Freemium member",premium:"Premium member"},QN=({job:t,positionInList:e,onSaveJob:r,onViewJob:n,onApplyJob:o,isSaved:i,layout:c="grid",userAccess:l})=>{var M;if(!t||typeof t!="object")return console.error("❌ Invalid job data:",t),a.jsx("div",{className:"job-card bg-red-50",children:a.jsxs("div",{className:"p-4",children:[a.jsx("p",{className:"text-red-800 font-medium",children:"Invalid Job Data"}),a.jsx("p",{className:"text-red-600 text-sm",children:"The job data is in an unexpected format."})]})});const d=b=>{if(x){b.preventDefault(),b.stopPropagation();return}const N=x?"external":t.description&&t.description!==""?"same_tab":"new_tab";o==null||o(t,e,"external"),n(t,e,N)},h=b=>{b.preventDefault(),b.stopPropagation(),m&&r(t,e)};t.published_at||t.created_at||t.scraped_at;const u=t.min_salary||0,p=t.max_salary||0,y=`$${u.toLocaleString()} - $${p.toLocaleString()}`,k=(b=>{if(!b)return"Recently posted";try{const N=new Date(b),A=Math.abs(new Date().getTime()-N.getTime()),I=Math.floor(A/(1e3*60*60*24));return I===0?"Today":I===1?"Yesterday":I<7?`${I} days ago`:I<30?`${Math.floor(I/7)} weeks ago`:I<365?`${Math.floor(I/30)} months ago`:`${Math.floor(I/365)} years ago`}catch{return"Recently posted"}})(t.published_at||t.created_at||t.scraped_at),m=l.allowSaving,x=l.maskExternalLinks,v=Tj[l.status],w=m?"Save job":"Log in to save this job",C=t.description&&t.description!==""?"/jobs/"+(t.slug||t.id):t.link;return a.jsxs("div",{className:`bg-white rounded-lg shadow-sm border border-gray-200 p-3 hover:shadow-md transition-shadow
7750
7750
  ${c==="grid"?"flex flex-col h-full":"flex flex-col md:flex-row md:items-center md:space-x-4"}`,children:[a.jsxs("div",{className:"flex items-start space-x-4",children:[a.jsx("img",{src:t.logo||`/placeholder.svg?height=48&width=48&text=${((M=t.company)==null?void 0:M.charAt(0))||"C"}`,alt:`${t.company} logo`,className:"w-12 h-12 rounded-lg object-contain bg-gray-50"}),a.jsxs("div",{className:"flex-1",children:[a.jsx("h3",{className:"font-semibold text-gray-900",children:t.title||"No Title Available"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:t.company||"Unknown Company"}),a.jsxs("div",{className:"mt-2 flex items-center gap-2",children:[a.jsx("span",{className:"inline-flex items-center rounded-full bg-gray-100 px-2.5 py-0.5 text-xs font-medium text-gray-700",children:v}),l.note&&a.jsx("span",{className:"text-xs text-gray-500",children:l.note})]})]})]}),a.jsxs("div",{className:`
7751
7751
  mt-4 ${c==="list"?"md:mt-0 md:flex-1":""}
7752
7752
  `,children:[a.jsx("div",{className:"flex items-center space-x-4 text-xs text-gray-500 mb-3",children:a.jsxs("div",{className:"flex items-center",children:[a.jsx(Bt,{className:"w-4 h-4 mr-1"}),t.location||"Remote"]})}),a.jsxs("div",{className:"flex items-center space-x-4 text-xs text-gray-500 mb-3",children:[a.jsxs("div",{className:"flex items-center",children:[a.jsx(ft,{className:"w-4 h-4 mr-1"}),t.department||"Full-time"]}),a.jsxs("div",{className:"flex items-center",children:[a.jsx(Kt,{className:"h-3.5 w-3.5 mr-1.5"}),a.jsx("span",{children:k})]})]}),a.jsx("div",{className:"hidden mt-2 text-xs text-gray-500",children:y})]}),a.jsxs("div",{className:`mt-auto pt-4 flex items-center space-x-3 ${c==="list"?"md:mt-0 md:ml-4":""}`,children:[a.jsx("button",{onClick:h,disabled:!m,className:`
7753
7753
  p-2 rounded-lg transition-colors
7754
7754
  ${i?"text-yellow-600 bg-yellow-50 hover:bg-yellow-100":"text-gray-400 hover:text-gray-600 hover:bg-gray-100"}
7755
- `,"aria-label":i?"Unsave job":"Save job",title:w,children:a.jsx(Pa,{size:20,className:`transition-colors ${i?"fill-blue-600 text-yellow-600":""}`})}),x?a.jsx("button",{className:"flex-1 px-4 py-2 bg-gray-200 text-gray-600 rounded-lg cursor-not-allowed text-sm font-medium text-center","aria-disabled":"true",onClick:d,children:"Sign in to view links"}):a.jsx("a",{href:C,target:t.description&&t.description!=""?"_self":"_blank",rel:"noopener noreferrer",className:`flex-1 px-4 py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700
7756
- transition-colors text-sm font-medium text-center`,onClick:d,children:"Apply Now"})]}),!m&&a.jsx("p",{className:"mt-2 text-xs text-gray-500",children:"Create an account to save this item."})]})},$D=({jobs:t,onSaveJob:e,onViewJob:r,isJobSaved:n,userAccess:o})=>t.length===0?a.jsxs("div",{className:"no-results",children:[a.jsx("h3",{children:"No jobs found matching your criteria"}),a.jsx("p",{children:"Try adjusting your filters or search term"})]}):a.jsx("div",{className:"jobs-grid",children:t.map(i=>a.jsx(QN,{job:i,onSaveJob:e,onViewJob:r,isSaved:n(i),userAccess:o},i.link))}),GD=({currentPage:t,totalPages:e,setCurrentPage:r})=>{if(e<=1)return null;const n=[];if(e<=5)for(let i=1;i<=e;i++)n.push(i);else if(t<=3)for(let i=1;i<=5;i++)n.push(i);else if(t>=e-2)for(let i=e-4;i<=e;i++)n.push(i);else for(let i=t-2;i<=t+2;i++)n.push(i);return a.jsxs("div",{className:"pagination",children:[a.jsx("button",{className:"pagination-button prev-button",disabled:t===1,onClick:()=>r(t-1),children:a.jsx(Sa,{})}),n.map(i=>a.jsx("button",{className:`pagination-button ${t===i?"active":""}`,onClick:()=>r(i),children:i},i)),a.jsx("button",{className:"pagination-button next-button",disabled:t===e,onClick:()=>r(t+1),children:a.jsx(La,{})})]})},WD=({isOpen:t,onClose:e,filterKeys:r,filtersData:n,activeFilters:o,handleFilterChange:i,handleSearchChange:c,searchTerm:l,clearAllFilters:d,searchFilters:h,removeSearchFilter:u})=>a.jsx("div",{className:`fixed inset-0 bg-gray-600 bg-opacity-50 overflow-y-auto h-full w-full transition-opacity ${t?"opacity-100":"opacity-0 pointer-events-none"}`,children:a.jsx("div",{className:`fixed right-0 top-0 w-4/5 max-w-sm bg-white h-full shadow-xl transition-transform duration-300 ease-in-out ${t?"transform translate-x-0":"transform translate-x-full"}`,children:a.jsxs("div",{className:"p-4",children:[a.jsxs("div",{className:"flex justify-between items-center mb-4",children:[a.jsx("h2",{className:"text-lg font-semibold",children:"Filters"}),a.jsx("button",{onClick:e,className:"text-gray-500 hover:text-gray-700",children:a.jsx("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),a.jsx("div",{className:"mb-4",children:a.jsx("input",{type:"text",className:"w-full p-2 border border-gray-300 rounded-md",placeholder:"Search jobs...",value:l,onChange:p=>c(p.target.value)})}),r.map(p=>{var y;return a.jsxs("div",{className:"mb-4",children:[a.jsx("label",{htmlFor:`mobile-${p}`,className:"block text-sm font-medium text-gray-700 mb-1",children:p.replace(/_/g," ")}),a.jsxs("select",{id:`mobile-${p}`,className:"w-full p-2 border border-gray-300 rounded-md",onChange:f=>i(p,f.target.value),value:o[p]||"",children:[a.jsxs("option",{value:"",children:["Select ",p.replace(/_/g," ")]}),(y=n[p])==null?void 0:y.map(f=>a.jsx("option",{value:f,children:f},f))]})]},p)}),Object.keys(o).length>0&&a.jsxs("div",{className:"mt-4",children:[a.jsx("h3",{className:"text-sm font-semibold mb-2",children:"Active Filters:"}),Object.entries(o).map(([p,y])=>a.jsxs("div",{className:"inline-flex items-center bg-yellow-100 text-yellow-800 rounded-full px-3 py-1 text-sm mr-2 mb-2",children:[a.jsxs("span",{children:[p.replace(/_/g," "),": ",y]}),a.jsx("button",{className:"ml-2 text-yellow-600 hover:text-yellow-800",onClick:()=>i(p,""),children:"×"})]},p)),a.jsx("button",{className:"mt-2 w-full bg-red-100 text-red-800 rounded-md px-3 py-2 text-sm font-medium",onClick:d,children:"Clear All Filters"})]})]})})}),ZD=({apiUrl:t,itemsPerPage:e,filterKeys:r,enableSearch:n,enablePagination:o,enableMobileFilter:i,banners:c,userAccess:l})=>{const[d,h]=j.useState([]),[u,p]=j.useState([]),[y,f]=j.useState(1),[k,m]=j.useState({}),[x,v]=j.useState([]),[w,C]=j.useState({}),[M,b]=j.useState(""),[N,L]=j.useState([]),[A,I]=j.useState(!1),q=P9(l);j.useEffect(()=>{fetch(`${t}/items`).then(ae=>ae.json()).then(ae=>{h(ae),p(ae);const he=P(ae);C(he)}).catch(ae=>console.error("Error fetching items:",ae))},[t]);const P=ae=>{const he={};ae.forEach(X=>{r.forEach(J=>{he[J]||(he[J]=new Set);const ne=X[J];ne!=null&&he[J].add(String(ne))})});const B={};return Object.keys(he).forEach(X=>{B[X]=Array.from(he[X])}),B},_=ae=>{const he=P(ae);C(he)},R=(ae,he)=>{m(B=>{const X=he?{...B,[ae]:he}:{...B};he||delete X[ae];const J=O(d,X,x);return p(J),f(1),_(J),X})},U=ae=>{if(b(ae),ae){const he=d.map(B=>B.title).filter((B,X,J)=>B&&B.toLowerCase().includes(ae.toLowerCase())&&J.indexOf(B)===X).slice(0,5);L(he)}else L([])},W=ae=>{if(ae.key==="Enter"&&M.trim()){ae.preventDefault();const he=[...x,M.trim()];v(he);const B=O(d,k,he);p(B),f(1),_(B),b("")}},V=ae=>{const he=x.filter(X=>X!==ae);v(he);const B=O(d,k,he);p(B),f(1),_(B)},O=(ae,he,B)=>{let X=ae.filter(J=>Object.entries(he).every(([ne,pe])=>{const se=J[ne];return typeof se=="string"&&se.toLowerCase()===pe.toLowerCase()}));return B.length>0&&(X=X.filter(J=>B.every(ne=>J.title.toLowerCase().includes(ne.toLowerCase())))),X},E=()=>{m({}),v([]),p(d),f(1),_(d)},Q=()=>{I(!A)},de=(ae,he)=>{},ee=ae=>{},te=ae=>!1,Me=Math.ceil(u.length/e),ge=u.slice((y-1)*e,y*e);return a.jsxs("div",{className:"flex flex-col min-h-screen",children:[a.jsx("div",{className:"flex-grow",children:a.jsxs("div",{className:"job-listings-container",children:[a.jsx("div",{className:"header-container",children:a.jsxs("div",{className:"header-content",children:[a.jsx("h1",{className:"main-title",children:"Job Listings"}),a.jsxs("p",{className:"items-count",children:["Total: ",a.jsx("span",{className:"count-value",children:u.length})]})]})}),a.jsx("button",{className:"md:hidden w-full mb-4 px-4 py-2 bg-yellow-600 text-white rounded-md",onClick:Q,children:A?"Close Filters":"Open Filters"}),a.jsxs("div",{className:"hidden md:block filters-container",children:[a.jsx(BD,{searchTerm:M,handleSearchChange:U,handleSearchKeyDown:W,suggestions:N}),a.jsx(VD,{filterKeys:r,filtersData:w,activeFilters:k,handleFilterChange:R,searchFilters:x,removeSearchFilter:V,clearAllFilters:E,searchableFilters:["company"]})]}),a.jsx(WD,{isOpen:A,onClose:Q,filterKeys:r,filtersData:w,activeFilters:k,handleFilterChange:R,handleSearchChange:U,searchTerm:M,clearAllFilters:E,handleSearchKeyDown:W,searchFilters:x,removeSearchFilter:V}),a.jsxs("div",{className:"flex flex-col md:flex-row",children:[a.jsxs("div",{className:"w-full md:w-3/4 md:pr-4",children:[a.jsx("h2",{className:"section-title",children:"Open Positions"}),a.jsx($D,{jobs:ge,onSaveJob:de,onViewJob:ee,isJobSaved:te,userAccess:q}),a.jsx(GD,{currentPage:y,totalPages:Me,setCurrentPage:f})]}),a.jsx("div",{className:"w-full md:w-1/4 mt-4 md:mt-0",children:a.jsx("div",{className:"sticky top-4",children:c.sidebar.enabled&&c.sidebar.url&&a.jsx($c,{position:"sidebar",url:c.sidebar.url,link:c.sidebar.link,alt:c.sidebar.alt})})})]})]})}),c.bottom.enabled&&c.bottom.url&&a.jsx($c,{position:"top",url:c.bottom.url,link:c.bottom.link,alt:c.bottom.alt})]})},XD=({title:t="Subscribe to our newsletter",description:e="The latest job opportunities and career tips, weekly in your inbox.",links:r=[]})=>{const[n,o]=j.useState(!1),[i,c]=j.useState(null);j.useEffect(()=>{try{const d=localStorage.getItem("email");d&&(o(!0),c(d))}catch{}},[]);const l=d=>{d.preventDefault()};return a.jsx("footer",{className:"bg-gray-800 text-white",children:a.jsxs("div",{className:"max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:py-16 lg:px-8",children:[a.jsxs("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[a.jsx("div",{className:"grid grid-cols-2 gap-8 xl:col-span-2",children:a.jsx("div",{className:"md:grid md:grid-cols-2 md:gap-8",children:Array.isArray(r)&&r.map((d,h)=>{var u;return Array.isArray(d)&&d.length>0?a.jsxs("div",{className:"mt-12 md:mt-0",children:[a.jsx("h3",{className:"text-sm font-semibold text-gray-400 tracking-wider uppercase",children:((u=d[0])==null?void 0:u.text)||"Section"}),a.jsx("ul",{className:"mt-4 space-y-4",children:d.map((p,y)=>a.jsx("li",{children:a.jsx("a",{href:p.url,className:"hover:text-gray-300",children:p.text})},y))})]},h):null})})}),a.jsxs("div",{className:"mt-8 xl:mt-0",children:[a.jsx("h3",{className:"text-sm font-semibold text-gray-400 tracking-wider uppercase",children:t}),a.jsx("p",{className:"mt-4 text-base text-gray-300",children:e}),n?a.jsxs("p",{className:"mt-4 text-green-400 font-medium",children:["✅ You’re subscribed",i?` as ${i}`:"","!"]}):a.jsxs("form",{className:"mt-4 sm:flex sm:max-w-md",onSubmit:l,children:[a.jsx("label",{htmlFor:"email-address",className:"sr-only",children:"Email address"}),a.jsx("input",{type:"email",name:"email-address",id:"email-address",autoComplete:"email",required:!0,className:"appearance-none min-w-0 w-full bg-white border border-transparent rounded-md py-2 px-4 text-base text-gray-900 placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-800 focus:ring-white focus:border-white focus:placeholder-gray-400",placeholder:"Enter your email"}),a.jsx("div",{className:"mt-3 rounded-md sm:mt-0 sm:ml-3 sm:flex-shrink-0",children:a.jsx("button",{type:"submit",className:"w-full bg-yellow-600 border border-transparent rounded-md py-2 px-4 flex items-center justify-center text-base font-medium text-white hover:bg-yellow-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-800 focus:ring-blue-500",children:"Subscribe"})})]})]})]}),a.jsx("div",{className:"mt-8 border-t border-gray-700 pt-8",children:a.jsxs("p",{className:"text-base text-gray-400 xl:text-center",children:["© ",new Date().getFullYear()," JobBoard, Inc. All rights reserved."]})})]})})},JD=({logo:t="",links:e=[],buttonText:r="Post a Job",buttonUrl:n="/post-job"})=>a.jsx("nav",{className:"bg-white shadow-md",children:a.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:a.jsxs("div",{className:"flex justify-between h-16",children:[a.jsxs("div",{className:"flex",children:[a.jsx("div",{className:"flex-shrink-0 flex items-center",children:a.jsx("a",{href:"/",className:"text-xl font-bold text-yellow-600",children:t?a.jsx("img",{src:t,alt:"Logo",className:"h-6 w-6"}):a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"mercado-match h-6 w-6",focusable:"false",children:a.jsx("path",{d:"M20.5 2h-17A1.5 1.5 0 002 3.5v17A1.5 1.5 0 003.5 22h17a1.5 1.5 0 001.5-1.5v-17A1.5 1.5 0 0020.5 2zM8 19H5v-9h3zM6.5 8.25A1.75 1.75 0 118.3 6.5a1.78 1.78 0 01-1.8 1.75zM19 19h-3v-4.74c0-1.42-.6-1.93-1.38-1.93A1.74 1.74 0 0013 14.19a.66.66 0 000 .14V19h-3v-9h2.9v1.3a3.11 3.11 0 012.7-1.4c1.55 0 3.36.86 3.36 3.66z"})})})}),a.jsx("div",{className:"hidden sm:ml-6 sm:flex sm:space-x-8",children:e.map((o,i)=>a.jsx("a",{href:o.url,className:"border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium",children:o.text},i))})]}),a.jsx("div",{className:"hidden sm:ml-6 sm:flex sm:items-center",children:a.jsx("a",{href:n,className:"inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-yellow-600 hover:bg-yellow-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500",children:r})})]})})}),eA=({savedJobsCount:t})=>{const[e,r]=j.useState("");j.useEffect(()=>{typeof window<"u"&&r(window.location.pathname)},[]);const n=o=>e===o;return a.jsx("nav",{className:"fixed bottom-0 left-0 right-0 bg-white dark:bg-gray-800 border-t border-gray-200 dark:border-gray-700 md:hidden z-50",children:a.jsxs("div",{className:"grid grid-cols-5 h-16",children:[a.jsxs("a",{href:"/","aria-label":"Home",className:`flex flex-col items-center justify-center ${n("/")?"text-gray-900 font-semibold dark:text-white":"text-gray-500 dark:text-gray-500"} hover:text-primary-500`,children:[a.jsx(ja,{className:"w-6 h-6"}),a.jsx("span",{className:"text-xs mt-1",children:"Home"})]}),a.jsxs("a",{href:"/jobs","aria-label":"Jobs",className:`flex flex-col items-center justify-center ${n("/jobs")?"text-gray-900 font-semibold dark:text-white":"text-gray-500 dark:text-gray-500"} hover:text-primary-500`,children:[a.jsx(ft,{className:"w-6 h-6"}),a.jsx("span",{className:"text-xs mt-1",children:"Jobs"})]}),a.jsxs("a",{href:"/saved","aria-label":"Saved Jobs",className:`flex flex-col items-center justify-center relative ${n("/saved")?"text-gray-900 font-semibold dark:text-white":"text-gray-500 dark:text-gray-500"} hover:text-primary-500`,children:[a.jsx(dc,{className:"w-6 h-6"}),a.jsx("span",{className:"text-xs mt-1",children:"Saved"}),t>0&&a.jsx("span",{className:"absolute -top-1 -right-1 bg-primary-500 text-white rounded-full w-5 h-5 flex items-center justify-center text-xs",children:t})]}),a.jsxs("a",{href:"/courses","aria-label":"Courses",className:`flex flex-col items-center justify-center ${n("/courses")?"text-gray-900 font-semibold dark:text-white":"text-gray-500 dark:text-gray-500"} hover:text-primary-500`,children:[a.jsx(Vt,{className:"w-6 h-6"}),a.jsx("span",{className:"text-xs mt-1",children:"Courses"})]}),a.jsxs("a",{href:"/news","aria-label":"News",className:`flex flex-col items-center justify-center ${n("/news")?"text-gray-900 font-semibold dark:text-white":"text-gray-500 dark:text-gray-500"} hover:text-primary-500`,children:[a.jsx(_a,{className:"w-6 h-6"}),a.jsx("span",{className:"text-xs mt-1",children:"News"})]})]})})},YD=t=>{const e=["Acme Inc","TechCorp","Global Solutions","Innovate Labs","Future Tech"],r=["Engineering","Marketing","Sales","Design","Product","HR"],n=["New York, NY","San Francisco, CA","Austin, TX","Seattle, WA","Remote"],o=["New York","San Francisco","Austin","Seattle","Chicago"],i=["USA","Canada","UK","Germany","Australia"],c=["Startup","Enterprise","Agency","Nonprofit","Government"],l=d=>{const h=new Date;return h.setDate(h.getDate()-Math.floor(Math.random()*d)),h.toISOString()};return Array.from({length:t},(d,h)=>{const u=l(120);return{id:`job-${h}`,title:`${r[h%r.length]} ${h%3===0?"Senior":h%3===1?"Mid-level":"Junior"} Position`,company:e[h%e.length],department:r[h%r.length],location:n[h%n.length],city:o[h%o.length],country:i[h%i.length],company_type:c[h%c.length],link:"#job-link",logo:`/placeholder.svg?height=50&width=50&text=${e[h%e.length].charAt(0)}`,overview:"This is a mock job description for preview purposes. The actual job details would appear here with information about responsibilities, requirements, and company culture.",slug:`job-${h}`,scraped_at:new Date().toISOString(),published_at:u,created_at:u,sponsored:h%7===0}})},tA=({activeDateFilter:t,onDateFilterChange:e,dateFieldLabel:r="Published",options:n=[{value:"all",label:"All Time"},{value:"today",label:"Today"},{value:"this_week",label:"This Week"},{value:"this_month",label:"This Month"},{value:"last_30_days",label:"Last 30 Days"},{value:"last_90_days",label:"Last 90 Days"}]})=>a.jsxs("div",{className:"date-filter",children:[r&&a.jsxs("label",{htmlFor:"date-filter",className:"text-sm font-medium text-gray-700 mr-2",children:[r,":"]}),a.jsx("select",{id:"date-filter",value:t,onChange:o=>e(o.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow--500 focus:border-yellow--500 bg-white",children:n.map(o=>a.jsx("option",{value:o.value,children:o.label},o.value))})]}),aA=({activeDateFilter:t,handleDateFilterChange:e,filterKeys:r,searchableFilters:n,dateFieldLabel:o,activeFilters:i,handleFilterChange:c,toggleSavedJobsFilter:l,filtersData:d,savedJobs:h=[],showOnlySaved:u=!1,isMobileFilterOpen:p,toggleMobileFilter:y,dateOptions:f=[{value:"all",label:"All Time"},{value:"today",label:"Today"},{value:"this_week",label:"This Week"},{value:"this_month",label:"This Month"},{value:"last_30_days",label:"Last 30 Days"},{value:"last_90_days",label:"Last 90 Days"}]})=>a.jsx("div",{children:a.jsxs("div",{className:p?"block":"hidden",children:[a.jsx("div",{className:"fixed inset-0 bg-gray-600 bg-opacity-75 z-40",onClick:()=>y(!p)}),a.jsxs("div",{className:"fixed inset-y-0 right-0 max-w-xs w-full bg-white shadow-xl z-50 overflow-y-auto",children:[a.jsxs("div",{className:"p-4 border-b border-gray-200 flex items-center justify-between",children:[a.jsx("h2",{className:"text-lg font-semibold text-gray-900",children:"Filters"}),a.jsx("button",{onClick:()=>y(!p),className:"p-2 rounded-full hover:bg-gray-100","aria-label":"Close filters",children:a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 text-gray-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),a.jsxs("div",{className:"p-4",children:[a.jsxs("div",{className:"mb-6",children:[a.jsx("h3",{className:"text-sm font-medium text-gray-900 mb-2",children:o}),a.jsx(tA,{activeDateFilter:t,onDateFilterChange:e,dateFieldLabel:"",options:f})]}),r.map(k=>{var m;return a.jsxs("div",{className:"mb-6",children:[a.jsx("h3",{className:"text-sm font-medium text-gray-900 mb-2",children:k.replace(/_/g," ")}),n.includes(k)?a.jsx(A9,{options:d[k]||[],value:i[k]||"",onChange:x=>c(k,x),placeholder:`Select ${k.replace(/_/g," ")}`,className:"w-full"}):a.jsxs("select",{className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow--500 focus:border-yellow--500 bg-white",value:i[k]||"",onChange:x=>c(k,x.target.value),children:[a.jsxs("option",{value:"",children:["Select ",k.replace(/_/g," ")]}),(m=d[k])==null?void 0:m.map(x=>a.jsx("option",{value:x,children:x},x))]})]},k)}),a.jsx("div",{className:"mt-6",children:a.jsxs("button",{onClick:l,className:`w-full px-4 py-2 rounded-lg flex items-center justify-center ${u?"bg-yellow-100 text-indigo-800":"bg-gray-100 text-gray-800 hover:bg-gray-200"}`,children:[a.jsx(Pa,{size:16,className:"mr-2"}),a.jsxs("span",{children:["Saved Jobs (",h.length,")"]})]})}),a.jsx("div",{className:"mt-6 pt-6 border-t border-gray-200",children:a.jsx("button",{onClick:()=>y(!p),className:"w-full py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700 transition-colors",children:"Apply Filters"})})]})]})]})}),qj=({totalColumns:t=2})=>a.jsx("div",{className:"flex-grow p-8 animate-fade-in",children:a.jsx("div",{className:"max-w-7xl mx-auto",children:a.jsxs("div",{className:"animate-pulse",children:[a.jsx("div",{className:"h-8 bg-gray-200 rounded w-1/4 mb-6"}),a.jsx("div",{className:`grid grid-cols-1 md:grid-cols-${t} gap-6`,children:[...Array(4)].map((e,r)=>a.jsxs("div",{className:"bg-white rounded-lg shadow-sm p-6",children:[a.jsx("div",{className:"h-6 bg-gray-200 rounded w-3/4 mb-4"}),a.jsx("div",{className:"h-4 bg-gray-200 rounded w-1/2 mb-2"}),a.jsx("div",{className:"h-4 bg-gray-200 rounded w-1/3 mb-4"}),a.jsx("div",{className:"h-20 bg-gray-200 rounded mb-4"}),a.jsx("div",{className:"h-8 bg-gray-200 rounded w-full"})]},r))})]})})}),Dj=({data:t,onSelect:e,placeholder:r="Search...",debounceMs:n=250,onTyping:o,className:i="",showSubmitButton:c=!1})=>{const[l,d]=j.useState(""),[h,u]=j.useState([]),[p,y]=j.useState(!1),f=j.useRef(null),k=v=>{d(v),y(!0),o&&o(v)},m=()=>{d(""),u([]),y(!1),o==null||o("")},x=v=>{e(v),d(""),u([]),y(!1)};return j.useEffect(()=>{f.current&&clearTimeout(f.current),f.current=setTimeout(()=>{if(!l){u([]);return}const v=t.filter(w=>w.toLowerCase().includes(l.toLowerCase())).filter((w,C,M)=>M.indexOf(w)===C).slice(0,5);u(v)},n)},[l,t]),a.jsxs("div",{className:`relative w-full ${i}`,children:[a.jsxs("div",{className:"relative",children:[a.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:a.jsx(Ut,{className:"h-4 w-4 text-gray-400"})}),a.jsx("input",{type:"text",className:"w-full py-2 pl-9 pr-12 flex w-full rounded-md border border-input bg-background px-3 py-2 ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm pl-10 h-12 text-lg",placeholder:r,value:l,onChange:v=>k(v.target.value),onFocus:()=>y(h.length>0),onBlur:()=>setTimeout(()=>y(!1),200),onKeyDown:v=>{v.key==="Enter"&&l.trim()&&(v.preventDefault(),x(l.trim()))}}),l&&!c&&a.jsx("button",{onClick:m,className:"absolute inset-y-0 right-2 flex items-center",children:a.jsx(Qt,{className:"h-4 w-4 text-gray-400 hover:text-gray-600"})}),c&&a.jsx("button",{onClick:()=>l.trim()&&x(l.trim()),className:"absolute right-2 top-1/2 -translate-y-1/2 bg-yellow-500 text-white py-1.5 px-2 rounded-md hover:bg-yellow-600",children:a.jsx(Ut,{className:"h-4 w-4"})})]}),p&&h.length>0&&a.jsx("ul",{className:"absolute z-10 mt-1 w-full bg-white border border-gray-200 rounded-lg shadow-md",children:h.map((v,w)=>a.jsx("li",{children:a.jsx("button",{className:"w-full px-4 py-2 text-left text-sm text-gray-700 hover:bg-gray-100",onClick:()=>x(v),children:a.jsxs("div",{className:"flex items-center",children:[a.jsx(Ut,{className:"h-4 w-4 mr-2 text-gray-400"}),v]})})},w))})]})},zj=({onSearchChange:t,title:e="Gaming News",description:r="Latest news and insights from the gaming industry",searchPlaceholder:n="Search news...",popularTags:o=["AI Gaming","Esports","VR/AR","Mobile Gaming","Regulation","Market Analysis"],generateHref:i=c=>`?q=${encodeURIComponent(c)}`})=>(j.useState(""),a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"bg-white border-b",children:a.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4",children:a.jsx("div",{className:"flex items-center justify-between",children:a.jsxs("div",{children:[a.jsx("h1",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:e}),a.jsx("p",{className:"hidden lg:block text-gray-600",children:r})]})})})}),a.jsx("div",{className:"bg-white border-b",children:a.jsx("div",{className:"max-w-7xl mx-auto py-4 px-4 sm:px-6 lg:px-8",children:a.jsx("div",{className:"overflow-x-auto",children:a.jsxs("div",{className:"flex items-center space-x-6 py-2 text-sm",children:[a.jsx("span",{className:"text-gray-600 font-medium flex-shrink-0",children:"Popular:"}),o.map(c=>a.jsxs("a",{href:i(c),className:"inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 border-transparent text-yellow-600 bg-yellow-50 hover:bg-yellow-100 cursor-pointer",children:["#",c]},c))]})})})})]})),KD=t=>t.toLowerCase().replace(/anti[-\s]?money[-\s]?laundering/g,"aml").replace(/counter[-\s]?terrorist[-\s]?financing/g,"cft").replace(/personal management licence/g,"pml").replace(/general data protection regulation/g,"gdpr");function Fj(t){const e=KD(t),r={gambling:["igaming","casino","slot","slots","bingo","poker","blackjack","roulette","lottery","rgs","rng","rmg","betting","sportsbook","land based"],compliance:["aml","money laundering","gdpr","compliance","licence","mlro","data protection","responsible gaming","player protection","key function","pml","mga","cft"],business:["crm","vip","affiliate","payments","analytics","marketing","governance","leadership","strategy"],format:["course","tutorial","guide","webinar","workshop","lecture","series","academy","masterclass"],misc:["ai","blockchain","gamification","diversity","inclusion","metaverse","remote","advanced"]},n=[...r.gambling,...r.compliance,...r.business,...r.format,...r.misc];for(const o of n)if(new RegExp(`\\b${o.replace(/\s+/g,"\\s+")}\\b`,"i").test(e))return o;return null}function QD(t){const e=Fj(t);return e||ez(t)}function ez(t){const e=new Set(["the","of","and","to","a","in","for","with","on","at","by","is","from","as","it","that","this","how","new","you","your"]),r=t.toLowerCase().split(/\W+/).filter(i=>i.length>2&&!e.has(i)),n={};for(const i of r)n[i]=(n[i]||0)+1;const o=Object.entries(n).sort((i,c)=>c[1]-i[1]);return o.length>0?o[0][0]:null}const Ej=({filters:t,onClearAll:e,handleCreateAlert:r,className:n=""})=>t.length===0?null:a.jsxs("div",{className:`flex flex-wrap gap-2 ${n}`,children:[t.map(o=>a.jsxs("div",{className:"inline-flex items-center bg-yellow-100 text-indigo-800 rounded-full px-3 py-1 text-sm",children:[o.label&&a.jsxs("span",{className:"font-medium mr-1",children:[o.label,":"]}),a.jsx("span",{children:o.value}),a.jsx("button",{className:"ml-2 text-indigo-600 hover:text-indigo-800",onClick:o.onRemove,"aria-label":`Remove ${o.label||o.key} filter`,children:a.jsx(ca,{size:14})})]},`${o.key}-${o.value}`)),a.jsx("button",{className:"inline-flex items-center bg-gray-100 text-gray-800 hover:bg-gray-200 rounded-full px-3 py-1 text-sm",onClick:e,children:"Clear All"}),a.jsx("button",{onClick:r,className:"inline-flex items-center bg-indigo-100 text-indigo-800 hover:bg-indigo-200 rounded-full px-3 py-1 text-sm font-medium",children:"🔔 Create Alert"})]}),tz=({viewMode:t,onToggle:e,className:r=""})=>a.jsxs("div",{className:`view-mode-toggle flex bg-gray-100 p-1 rounded-lg ${r}`,children:[a.jsxs("button",{onClick:e,className:`px-3 py-1.5 rounded-md flex items-center justify-center transition-colors ${t==="grid"?"bg-yellow-600 text-white shadow-sm":"text-gray-700 hover:bg-gray-200"}`,"aria-label":"Grid view","aria-pressed":t==="grid",children:[a.jsx(Zt,{size:16,className:"mr-1.5"}),a.jsx("span",{className:"text-sm font-medium",children:"Grid"})]}),a.jsxs("button",{onClick:e,className:`px-3 py-1.5 rounded-md flex items-center justify-center transition-colors ${t==="list"?"bg-yellow-600 text-white shadow-sm":"text-gray-700 hover:bg-gray-200"}`,"aria-label":"List view","aria-pressed":t==="list",children:[a.jsx(wc,{size:16,className:"mr-1.5"}),a.jsx("span",{className:"text-sm font-medium",children:"List"})]})]}),az=({value:t,onChange:e,options:r=[5,10,20,50],className:n=""})=>a.jsxs("div",{className:`flex items-center ${n}`,children:[a.jsx("label",{htmlFor:"items-per-page",className:"mr-2 text-sm font-medium text-gray-700",children:"Show:"}),a.jsx("select",{id:"items-per-page",value:t,onChange:o=>e(Number(o.target.value)),className:"px-2 py-1.5 border border-gray-300 rounded-md text-sm bg-white",children:r.map(o=>a.jsx("option",{value:o,children:o},o))})]}),Oj=({viewMode:t,onToggleViewMode:e,selectedItemsPerPage:r,onItemsPerPageChange:n,totalCount:o,startIndex:i,endIndex:c,title:l})=>a.jsx("div",{className:"lg:block hidden bg-white rounded-lg shadow-sm border border-gray-200 p-4 mb-6",children:a.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4",children:[a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl font-semibold text-gray-900",children:l}),a.jsxs("p",{className:"text-sm text-gray-600",children:["Showing ",a.jsx("span",{className:"font-semibold text-gray-900",children:i}),"–",a.jsx("span",{className:"font-semibold text-gray-900",children:c})," of"," ",a.jsx("span",{className:"font-semibold text-gray-900",children:o})," articles"]})]}),a.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center gap-3",children:[a.jsx(tz,{viewMode:t,onToggle:e}),a.jsx(az,{value:r,onChange:n})]})]})}),rz=({title:t,description:e,ctaText:r,ctaLink:n,bgColor:o="bg-yellow-50",textColor:i="text-yellow-800"})=>a.jsx("div",{className:`promo-card ${o} p-4 rounded-lg shadow-sm hidden md:block`,children:a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx("h3",{className:`font-bold text-lg ${i}`,children:t}),a.jsx("p",{className:`text-sm mt-1 ${i} opacity-90`,children:e})]}),a.jsx("a",{href:n,className:"bg-white text-yellow-600 hover:bg-yellow-50 px-4 py-2 rounded-md text-sm font-medium shadow-sm transition-colors",children:r})]})}),nz=({items:t,cardType:e,viewMode:r,savedJobs:n,onSaveJob:o,onViewJob:i,onApplyJob:c,firstItemRef:l=null,userAccess:d})=>{const[h,u]=j.useState([]),[p,y]=j.useState(null);j.useEffect(()=>{try{if(!Array.isArray(t)){console.error("❌ Items is not an array:",t),y("Invalid data format received"),u([]);return}const k=[...t];t.length>5&&k.splice(5,0,{id:"promo-1",title:"Promo",isPromo:!0}),u(k),y(null)}catch(k){console.error("Error processing items:",k),y(`Error processing items: ${k instanceof Error?k.message:String(k)}`),u([])}},[t]);const f=(k,m)=>{const v=m===0&&!k.isPromo?{ref:l}:{};try{if(k.isPromo)return a.jsx("div",{className:"col-span-full my-4",children:a.jsx(rz,{title:"Upgrade Your Job Search",description:"Get personalized job recommendations and stand out to employers.",ctaText:"Learn More",ctaLink:"#premium-features",bgColor:"bg-yellow-50",textColor:"text-yellow-800"})},`promo-${m}`);if(!k||typeof k!="object")return console.error("❌ Invalid item detected:",k),a.jsxs("div",{className:"error-card bg-red-50 p-4 rounded-md border border-red-200",children:[a.jsx("p",{className:"text-red-800 font-medium",children:"Invalid Job Data"}),a.jsx("p",{className:"text-red-600 text-sm",children:"The job data is in an unexpected format."})]});const w=k.id?`${k._id}-${m}`:k.slug?`${k.slug}-${m}`:`item-${m}`;switch(e){case"job":return a.jsx("div",{...v,children:a.jsx(QN,{job:k,positionInList:m,onSaveJob:C=>o(C,m),onViewJob:(C,M,b)=>i(C,m,b),onApplyJob:c?(C,M,b)=>c(C,m,b):void 0,isSaved:n.includes(k.id||k.slug||k.link),userAccess:d})},w);default:return console.warn(`⚠️ Unknown cardType: ${e}`),a.jsxs("div",{className:"error-card bg-yellow-50 p-4 rounded-md border border-yellow-200",children:[a.jsx("p",{className:"text-yellow-800 font-medium",children:"Unknown Card Type"}),a.jsx("p",{className:"text-yellow-700 text-sm",children:"The specified card type is not supported."})]})}}catch(w){return console.error("Error rendering card:",w),a.jsxs("div",{className:"error-card bg-red-50 p-4 rounded-md border border-red-200",children:[a.jsx("p",{className:"text-red-800 font-medium",children:"Error Rendering Card"}),a.jsx("p",{className:"text-red-600 text-sm",children:w instanceof Error?w.message:String(w)})]})}};return p?a.jsxs("div",{className:"bg-red-50 border border-red-200 text-red-800 rounded-lg p-6",children:[a.jsx("h3",{className:"font-semibold mb-2",children:"Error Loading Items"}),a.jsx("p",{children:p})]}):h.length===0?a.jsxs("div",{className:"no-results",children:[a.jsx("h3",{children:"No items found matching your criteria"}),a.jsx("p",{children:"Try adjusting your filters or search term"})]}):a.jsx("div",{className:r==="grid"?"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4":"flex flex-col gap-4","data-view-mode":r,children:h.map((k,m)=>f(k,m))})},Hj=({currentPage:t,totalPages:e,onPageChange:r})=>{if(e<=1)return null;const n=5,o=Math.max(1,t-Math.floor(n/2)),i=Math.min(e,o+n-1),c=[];for(let l=o;l<=i;l++)c.push(l);return a.jsx("div",{className:"mt-6 flex justify-center",children:a.jsxs("nav",{className:"flex items-center space-x-2",children:[a.jsx("button",{onClick:()=>r(Math.max(1,t-1)),disabled:t===1,className:"px-3 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-md hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed",children:a.jsx(Sa,{})}),c.map(l=>a.jsx("button",{onClick:()=>r(l),className:`px-3 py-2 text-sm font-medium rounded-md ${t===l?"bg-yellow-600 text-white":"text-gray-700 bg-white border border-gray-300 hover:bg-gray-50"}`,children:l},l)),a.jsx("button",{onClick:()=>r(Math.min(e,t+1)),disabled:t===e,className:"px-3 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-md hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed",children:a.jsx(La,{})})]})})},oz=({jobs:t,onViewJob:e})=>!t||t.length===0?null:a.jsxs("div",{className:"last-visited-jobs mt-8 bg-white rounded-lg shadow p-4",children:[a.jsx("h2",{className:"text-lg font-semibold mb-4",children:"Recently Viewed Jobs"}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:t.map((r,n)=>a.jsxs("div",{className:"p-3 border rounded-md hover:shadow-md transition-shadow cursor-pointer",onClick:()=>e(r,n,"same_tab","last_visited"),children:[a.jsxs("div",{className:"flex items-center mb-2",children:[a.jsx("img",{src:r.logo||"/placeholder.svg?height=30&width=30",alt:`${r.company} logo`,className:"w-6 h-6 mr-2"}),a.jsx("h3",{className:"font-medium text-sm truncate",children:r.title})]}),a.jsx("p",{className:"text-xs text-gray-600 truncate",children:r.company}),a.jsx("p",{className:"text-xs text-gray-500 truncate",children:r.location})]},r._id||r.slug||r.link))})]}),iz=(t,e,r="date")=>{if(e==="all")return t;const n=new Date,o=new Date(n.getFullYear(),n.getMonth(),n.getDate());return t.filter(i=>{const c=i[r]||i.created_at||i.published_at||i.scraped_at;if(!c)return!1;const l=new Date(c);switch(e){case"today":return l>=o;case"this_week":{const d=new Date(n);return d.setDate(n.getDate()-n.getDay()),d.setHours(0,0,0,0),l>=d}case"this_month":{const d=new Date(n.getFullYear(),n.getMonth(),1);return l>=d}case"last_30_days":{const d=new Date(n);return d.setDate(n.getDate()-30),l>=d}case"last_90_days":{const d=new Date(n);return d.setDate(n.getDate()-90),l>=d}default:return!0}})},sz=(t,e)=>t.filter(r=>{var n,o,i,c,l;if(e.jobTypes.length>0){const d=((n=r.department)==null?void 0:n.toLowerCase())||"";if(!e.jobTypes.some(h=>d.includes(h)))return!1}if(e.experienceLevels.length>0){const d=((o=r.title)==null?void 0:o.toLowerCase())||"";if(!e.experienceLevels.some(h=>!!(h==="senior"&&d.includes("senior")||h==="mid"&&(d.includes("mid")||d.includes("mid-level"))||h==="entry"&&(d.includes("junior")||d.includes("entry")))))return!1}return!(e.country&&!(((i=r.location)==null?void 0:i.toLowerCase())||((c=r.city)==null?void 0:c.toLowerCase())||"").includes(e.country.toLowerCase())||e.city&&!(((l=r.company_type)==null?void 0:l.toLowerCase())||"").includes(e.city.toLowerCase()))}),qc=(t,e)=>{const r={};for(const n of t)for(const o of e){r[o]||(r[o]=new Set);const i=n[o];Array.isArray(i)?i.forEach(c=>{typeof c=="string"&&c.trim()&&r[o].add(c.trim())}):typeof i=="string"&&i.trim()&&r[o].add(i.trim())}return Object.fromEntries(Object.entries(r).map(([n,o])=>[n,Array.from(o)]))},rA=t=>{const e=new URLSearchParams(window.location.search);t==="all"?e.delete("date_filter"):e.set("date_filter",t);const r=`${window.location.pathname}?${e.toString()}`;window.history.replaceState({},"",r)},jt=(t,e,r,n,o="date")=>{let i=t.filter(c=>Object.entries(e).every(([l,d])=>{const h=c[l];return typeof h=="string"?h.toLowerCase()===d.toLowerCase():Array.isArray(h)?h.some(u=>typeof u=="string"&&u.toLowerCase()===d.toLowerCase()):!1}));return r.length>0&&(i=i.filter(c=>r.every(l=>{var d,h;return((d=c.title)==null?void 0:d.toLowerCase().includes(l.toLowerCase()))||((h=c.overview)==null?void 0:h.toLowerCase().includes(l.toLowerCase()))}))),i=iz(i,n),i},nA=({dateFieldLabel:t,activeDateFilter:e,onDateFilterChange:r,filterKeys:n,searchableFilters:o,filtersData:i,activeFilters:c,handleFilterChange:l,toggleSavedJobsFilter:d,showOnlySaved:h,savedJobs:u})=>a.jsx("div",{className:"hidden lg:block lg:w-1/4 space-y-6",children:a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[a.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Filters"}),a.jsxs("div",{className:"mb-6",children:[a.jsx("h3",{className:"text-sm font-medium text-gray-900 mb-2",children:t}),a.jsx(tA,{activeDateFilter:e,onDateFilterChange:r,dateFieldLabel:""})]}),n.map(p=>{var y;return a.jsxs("div",{className:"mb-6",children:[a.jsx("h3",{className:"text-sm font-medium text-gray-900 mb-2",children:p.replace(/_/g," ")}),o.includes(p)?a.jsx(A9,{options:i[p]||[],value:c[p]||"",onChange:f=>l(p,f),placeholder:`Select ${p.replace(/_/g," ")}`,className:"w-full"}):a.jsxs("select",{className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow--500 focus:border-yellow--500 bg-white",value:c[p]||"",onChange:f=>l(p,f.target.value),children:[a.jsxs("option",{value:"",children:["Select ",p.replace(/_/g," ")]}),(y=i[p])==null?void 0:y.map(f=>a.jsx("option",{value:f,children:f},f))]})]},p)}),a.jsx("div",{className:"mt-6",children:a.jsxs("button",{onClick:d,className:`w-full px-4 py-2 rounded-lg flex items-center justify-center ${h?"bg-yellow-100 text-indigo-800":"bg-gray-100 text-gray-800 hover:bg-gray-200"}`,children:[a.jsx(Pa,{size:16,className:"mr-2"}),a.jsxs("span",{children:["Saved Jobs (",u.length,")"]})]})})]})});function Dc(t,e,{checkForDefaultPrevented:r=!0}={}){return function(o){if(t==null||t(o),r===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}function $S(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function cz(...t){return e=>{let r=!1;const n=t.map(o=>{const i=$S(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():$S(t[o],null)}}}}function _9(...t){return g.useCallback(cz(...t),t)}function lz(t,e){const r=g.createContext(e),n=i=>{const{children:c,...l}=i,d=g.useMemo(()=>l,Object.values(l));return a.jsx(r.Provider,{value:d,children:c})};n.displayName=t+"Provider";function o(i){const c=g.useContext(r);if(c)return c;if(e!==void 0)return e;throw new Error(`\`${i}\` must be used within \`${t}\``)}return[n,o]}function dz(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,hz(o,...e)]}function hz(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var m9=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},uz=g[" useId ".trim().toString()]||(()=>{}),pz=0;function uC(t){const[e,r]=g.useState(uz());return m9(()=>{t||r(n=>n??String(pz++))},[t]),t||(e?`radix-${e}`:"")}var yz=g[" useInsertionEffect ".trim().toString()]||m9;function mz({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[o,i,c]=fz({defaultProp:e,onChange:r}),l=t!==void 0,d=l?t:o;{const u=g.useRef(t!==void 0);g.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${n} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=l},[l,n])}const h=g.useCallback(u=>{var p;if(l){const y=xz(u)?u(t):u;y!==t&&((p=c.current)==null||p.call(c,y))}else i(u)},[l,t,i,c]);return[d,h]}function fz({defaultProp:t,onChange:e}){const[r,n]=g.useState(t),o=g.useRef(r),i=g.useRef(e);return yz(()=>{i.current=e},[e]),g.useEffect(()=>{var c;o.current!==r&&((c=i.current)==null||c.call(i,r),o.current=r)},[r,o]),[r,n,i]}function xz(t){return typeof t=="function"}function pC(t,e,{checkForDefaultPrevented:r=!0}={}){return function(o){if(t==null||t(o),r===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}var kz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],oA=kz.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{});function gz(t,e){t&&C9.flushSync(()=>t.dispatchEvent(e))}function GS(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function vz(...t){return e=>{let r=!1;const n=t.map(o=>{const i=GS(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():GS(t[o],null)}}}}function iA(...t){return g.useCallback(vz(...t),t)}function sA(t){const e=g.useRef(t);return g.useEffect(()=>{e.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}function wz(t){const e=g.useRef(t);return g.useEffect(()=>{e.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}function Mz(t,e=globalThis==null?void 0:globalThis.document){const r=wz(t);g.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return e.addEventListener("keydown",n,{capture:!0}),()=>e.removeEventListener("keydown",n,{capture:!0})},[r,e])}var bz="DismissableLayer",XC="dismissableLayer.update",Cz="dismissableLayer.pointerDownOutside",jz="dismissableLayer.focusOutside",WS,cA=g.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),R9=g.forwardRef((t,e)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:c,onDismiss:l,...d}=t,h=g.useContext(cA),[u,p]=g.useState(null),y=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,f]=g.useState({}),k=iA(e,L=>p(L)),m=Array.from(h.layers),[x]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),v=m.indexOf(x),w=u?m.indexOf(u):-1,C=h.layersWithOutsidePointerEventsDisabled.size>0,M=w>=v,b=Iz(L=>{const A=L.target,I=[...h.branches].some(q=>q.contains(A));!M||I||(o==null||o(L),c==null||c(L),L.defaultPrevented||l==null||l())},y),N=Nz(L=>{const A=L.target;[...h.branches].some(q=>q.contains(A))||(i==null||i(L),c==null||c(L),L.defaultPrevented||l==null||l())},y);return Mz(L=>{w===h.layers.size-1&&(n==null||n(L),!L.defaultPrevented&&l&&(L.preventDefault(),l()))},y),g.useEffect(()=>{if(u)return r&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(WS=y.body.style.pointerEvents,y.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(u)),h.layers.add(u),ZS(),()=>{r&&h.layersWithOutsidePointerEventsDisabled.size===1&&(y.body.style.pointerEvents=WS)}},[u,y,r,h]),g.useEffect(()=>()=>{u&&(h.layers.delete(u),h.layersWithOutsidePointerEventsDisabled.delete(u),ZS())},[u,h]),g.useEffect(()=>{const L=()=>f({});return document.addEventListener(XC,L),()=>document.removeEventListener(XC,L)},[]),a.jsx(oA.div,{...d,ref:k,style:{pointerEvents:C?M?"auto":"none":void 0,...t.style},onFocusCapture:pC(t.onFocusCapture,N.onFocusCapture),onBlurCapture:pC(t.onBlurCapture,N.onBlurCapture),onPointerDownCapture:pC(t.onPointerDownCapture,b.onPointerDownCapture)})});R9.displayName=bz;var Sz="DismissableLayerBranch",Lz=g.forwardRef((t,e)=>{const r=g.useContext(cA),n=g.useRef(null),o=iA(e,n);return g.useEffect(()=>{const i=n.current;if(i)return r.branches.add(i),()=>{r.branches.delete(i)}},[r.branches]),a.jsx(oA.div,{...t,ref:o})});Lz.displayName=Sz;function Iz(t,e=globalThis==null?void 0:globalThis.document){const r=sA(t),n=g.useRef(!1),o=g.useRef(()=>{});return g.useEffect(()=>{const i=l=>{if(l.target&&!n.current){let d=function(){lA(Cz,r,h,{discrete:!0})};const h={originalEvent:l};l.pointerType==="touch"?(e.removeEventListener("click",o.current),o.current=d,e.addEventListener("click",o.current,{once:!0})):d()}else e.removeEventListener("click",o.current);n.current=!1},c=window.setTimeout(()=>{e.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(c),e.removeEventListener("pointerdown",i),e.removeEventListener("click",o.current)}},[e,r]),{onPointerDownCapture:()=>n.current=!0}}function Nz(t,e=globalThis==null?void 0:globalThis.document){const r=sA(t),n=g.useRef(!1);return g.useEffect(()=>{const o=i=>{i.target&&!n.current&&lA(jz,r,{originalEvent:i},{discrete:!1})};return e.addEventListener("focusin",o),()=>e.removeEventListener("focusin",o)},[e,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function ZS(){const t=new CustomEvent(XC);document.dispatchEvent(t)}function lA(t,e,r,{discrete:n}){const o=r.originalEvent.target,i=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:r});e&&o.addEventListener(t,e,{once:!0}),n?gz(o,i):o.dispatchEvent(i)}function XS(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function Az(...t){return e=>{let r=!1;const n=t.map(o=>{const i=XS(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():XS(t[o],null)}}}}function Pz(...t){return g.useCallback(Az(...t),t)}var _z=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Rz=_z.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{});function JS(t){const e=g.useRef(t);return g.useEffect(()=>{e.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}var yC="focusScope.autoFocusOnMount",mC="focusScope.autoFocusOnUnmount",YS={bubbles:!1,cancelable:!0},Tz="FocusScope",T9=g.forwardRef((t,e)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...c}=t,[l,d]=g.useState(null),h=JS(o),u=JS(i),p=g.useRef(null),y=Pz(e,m=>d(m)),f=g.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;g.useEffect(()=>{if(n){let m=function(C){if(f.paused||!l)return;const M=C.target;l.contains(M)?p.current=M:Ua(p.current,{select:!0})},x=function(C){if(f.paused||!l)return;const M=C.relatedTarget;M!==null&&(l.contains(M)||Ua(p.current,{select:!0}))},v=function(C){if(document.activeElement===document.body)for(const b of C)b.removedNodes.length>0&&Ua(l)};document.addEventListener("focusin",m),document.addEventListener("focusout",x);const w=new MutationObserver(v);return l&&w.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",x),w.disconnect()}}},[n,l,f.paused]),g.useEffect(()=>{if(l){QS.add(f);const m=document.activeElement;if(!l.contains(m)){const v=new CustomEvent(yC,YS);l.addEventListener(yC,h),l.dispatchEvent(v),v.defaultPrevented||(qz(Oz(dA(l)),{select:!0}),document.activeElement===m&&Ua(l))}return()=>{l.removeEventListener(yC,h),setTimeout(()=>{const v=new CustomEvent(mC,YS);l.addEventListener(mC,u),l.dispatchEvent(v),v.defaultPrevented||Ua(m??document.body,{select:!0}),l.removeEventListener(mC,u),QS.remove(f)},0)}}},[l,h,u,f]);const k=g.useCallback(m=>{if(!r&&!n||f.paused)return;const x=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,v=document.activeElement;if(x&&v){const w=m.currentTarget,[C,M]=Dz(w);C&&M?!m.shiftKey&&v===M?(m.preventDefault(),r&&Ua(C,{select:!0})):m.shiftKey&&v===C&&(m.preventDefault(),r&&Ua(M,{select:!0})):v===w&&m.preventDefault()}},[r,n,f.paused]);return a.jsx(Rz.div,{tabIndex:-1,...c,ref:y,onKeyDown:k})});T9.displayName=Tz;function qz(t,{select:e=!1}={}){const r=document.activeElement;for(const n of t)if(Ua(n,{select:e}),document.activeElement!==r)return}function Dz(t){const e=dA(t),r=KS(e,t),n=KS(e.reverse(),t);return[r,n]}function dA(t){const e=[],r=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)e.push(r.currentNode);return e}function KS(t,e){for(const r of t)if(!zz(r,{upTo:e}))return r}function zz(t,{upTo:e}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(e!==void 0&&t===e)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function Fz(t){return t instanceof HTMLInputElement&&"select"in t}function Ua(t,{select:e=!1}={}){if(t&&t.focus){const r=document.activeElement;t.focus({preventScroll:!0}),t!==r&&Fz(t)&&e&&t.select()}}var QS=Ez();function Ez(){let t=[];return{add(e){const r=t[0];e!==r&&(r==null||r.pause()),t=eL(t,e),t.unshift(e)},remove(e){var r;t=eL(t,e),(r=t[0])==null||r.resume()}}}function eL(t,e){const r=[...t],n=r.indexOf(e);return n!==-1&&r.splice(n,1),r}function Oz(t){return t.filter(e=>e.tagName!=="A")}var Hz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Vz=Hz.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),Bz=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},Uz="Portal",q9=g.forwardRef((t,e)=>{var l;const{container:r,...n}=t,[o,i]=g.useState(!1);Bz(()=>i(!0),[]);const c=r||o&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return c?sj.createPortal(a.jsx(Vz.div,{...n,ref:e}),c):null});q9.displayName=Uz;function $z(t,e){return g.useReducer((r,n)=>e[r][n]??r,t)}var D9=t=>{const{present:e,children:r}=t,n=Gz(e),o=typeof r=="function"?r({present:n.isPresent}):g.Children.only(r),i=_9(n.ref,Wz(o));return typeof r=="function"||n.isPresent?g.cloneElement(o,{ref:i}):null};D9.displayName="Presence";function Gz(t){const[e,r]=g.useState(),n=g.useRef(null),o=g.useRef(t),i=g.useRef("none"),c=t?"mounted":"unmounted",[l,d]=$z(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const h=a1(n.current);i.current=l==="mounted"?h:"none"},[l]),m9(()=>{const h=n.current,u=o.current;if(u!==t){const y=i.current,f=a1(h);t?d("MOUNT"):f==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&y!==f?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,d]),m9(()=>{if(e){let h;const u=e.ownerDocument.defaultView??window,p=f=>{const m=a1(n.current).includes(CSS.escape(f.animationName));if(f.target===e&&m&&(d("ANIMATION_END"),!o.current)){const x=e.style.animationFillMode;e.style.animationFillMode="forwards",h=u.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=x)})}},y=f=>{f.target===e&&(i.current=a1(n.current))};return e.addEventListener("animationstart",y),e.addEventListener("animationcancel",p),e.addEventListener("animationend",p),()=>{u.clearTimeout(h),e.removeEventListener("animationstart",y),e.removeEventListener("animationcancel",p),e.removeEventListener("animationend",p)}}else d("ANIMATION_END")},[e,d]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:g.useCallback(h=>{n.current=h?getComputedStyle(h):null,r(h)},[])}}function a1(t){return(t==null?void 0:t.animationName)||"none"}function Wz(t){var n,o;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(o=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:o.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var Zz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Yc=Zz.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),fC=0;function Vj(){g.useEffect(()=>{const t=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",t[0]??tL()),document.body.insertAdjacentElement("beforeend",t[1]??tL()),fC++,()=>{fC===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),fC--}},[])}function tL(){const t=document.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.outline="none",t.style.opacity="0",t.style.position="fixed",t.style.pointerEvents="none",t}var da=function(){return da=Object.assign||function(e){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},da.apply(this,arguments)};function hA(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]]);return r}function Xz(t,e,r){if(r||arguments.length===2)for(var n=0,o=e.length,i;n<o;n++)(i||!(n in e))&&(i||(i=Array.prototype.slice.call(e,0,n)),i[n]=e[n]);return t.concat(i||Array.prototype.slice.call(e))}var r9="right-scroll-bar-position",n9="width-before-scroll-bar",Jz="with-scroll-bars-hidden",Yz="--removed-body-scroll-bar-size";function xC(t,e){return typeof t=="function"?t(e):t&&(t.current=e),t}function Kz(t,e){var r=j.useState(function(){return{value:t,callback:e,facade:{get current(){return r.value},set current(n){var o=r.value;o!==n&&(r.value=n,r.callback(n,o))}}}})[0];return r.callback=e,r.facade}var Qz=typeof window<"u"?g.useLayoutEffect:g.useEffect,aL=new WeakMap;function eF(t,e){var r=Kz(null,function(n){return t.forEach(function(o){return xC(o,n)})});return Qz(function(){var n=aL.get(r);if(n){var o=new Set(n),i=new Set(t),c=r.current;o.forEach(function(l){i.has(l)||xC(l,null)}),i.forEach(function(l){o.has(l)||xC(l,c)})}aL.set(r,t)},[t]),r}function tF(t){return t}function aF(t,e){e===void 0&&(e=tF);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:t},useMedium:function(i){var c=e(i,n);return r.push(c),function(){r=r.filter(function(l){return l!==c})}},assignSyncMedium:function(i){for(n=!0;r.length;){var c=r;r=[],c.forEach(i)}r={push:function(l){return i(l)},filter:function(){return r}}},assignMedium:function(i){n=!0;var c=[];if(r.length){var l=r;r=[],l.forEach(i),c=r}var d=function(){var u=c;c=[],u.forEach(i)},h=function(){return Promise.resolve().then(d)};h(),r={push:function(u){c.push(u),h()},filter:function(u){return c=c.filter(u),r}}}};return o}function rF(t){t===void 0&&(t={});var e=aF(null);return e.options=da({async:!0,ssr:!1},t),e}var uA=function(t){var e=t.sideCar,r=hA(t,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=e.read();if(!n)throw new Error("Sidecar medium not found");return g.createElement(n,da({},r))};uA.isSideCarExport=!0;function nF(t,e){return t.useMedium(e),uA}var pA=rF(),kC=function(){},z9=g.forwardRef(function(t,e){var r=g.useRef(null),n=g.useState({onScrollCapture:kC,onWheelCapture:kC,onTouchMoveCapture:kC}),o=n[0],i=n[1],c=t.forwardProps,l=t.children,d=t.className,h=t.removeScrollBar,u=t.enabled,p=t.shards,y=t.sideCar,f=t.noRelative,k=t.noIsolation,m=t.inert,x=t.allowPinchZoom,v=t.as,w=v===void 0?"div":v,C=t.gapMode,M=hA(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),b=y,N=eF([r,e]),L=da(da({},M),o);return g.createElement(g.Fragment,null,u&&g.createElement(b,{sideCar:pA,removeScrollBar:h,shards:p,noRelative:f,noIsolation:k,inert:m,setCallbacks:i,allowPinchZoom:!!x,lockRef:r,gapMode:C}),c?g.cloneElement(g.Children.only(l),da(da({},L),{ref:N})):g.createElement(w,da({},L,{className:d,ref:N}),l))});z9.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};z9.classNames={fullWidth:n9,zeroRight:r9};var oF=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function iF(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=oF();return e&&t.setAttribute("nonce",e),t}function sF(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function cF(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var lF=function(){var t=0,e=null;return{add:function(r){t==0&&(e=iF())&&(sF(e,r),cF(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},dF=function(){var t=lF();return function(e,r){g.useEffect(function(){return t.add(e),function(){t.remove()}},[e&&r])}},yA=function(){var t=dF(),e=function(r){var n=r.styles,o=r.dynamic;return t(n,o),null};return e},hF={left:0,top:0,right:0,gap:0},gC=function(t){return parseInt(t||"",10)||0},uF=function(t){var e=window.getComputedStyle(document.body),r=e[t==="padding"?"paddingLeft":"marginLeft"],n=e[t==="padding"?"paddingTop":"marginTop"],o=e[t==="padding"?"paddingRight":"marginRight"];return[gC(r),gC(n),gC(o)]},pF=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return hF;var e=uF(t),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,n-r+e[2]-e[0])}},yF=yA(),qs="data-scroll-locked",mF=function(t,e,r,n){var o=t.left,i=t.top,c=t.right,l=t.gap;return r===void 0&&(r="margin"),`
7755
+ `,"aria-label":i?"Unsave job":"Save job",title:w,children:a.jsx(Xa,{size:20,className:`transition-colors ${i?"fill-blue-600 text-yellow-600":""}`})}),x?a.jsx("button",{className:"flex-1 px-4 py-2 bg-gray-200 text-gray-600 rounded-lg cursor-not-allowed text-sm font-medium text-center","aria-disabled":"true",onClick:d,children:"Sign in to view links"}):a.jsx("a",{href:C,target:t.description&&t.description!=""?"_self":"_blank",rel:"noopener noreferrer",className:`flex-1 px-4 py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700
7756
+ transition-colors text-sm font-medium text-center`,onClick:d,children:"Apply Now"})]}),!m&&a.jsx("p",{className:"mt-2 text-xs text-gray-500",children:"Create an account to save this item."})]})},$D=({jobs:t,onSaveJob:e,onViewJob:r,isJobSaved:n,userAccess:o})=>t.length===0?a.jsxs("div",{className:"no-results",children:[a.jsx("h3",{children:"No jobs found matching your criteria"}),a.jsx("p",{children:"Try adjusting your filters or search term"})]}):a.jsx("div",{className:"jobs-grid",children:t.map(i=>a.jsx(QN,{job:i,onSaveJob:e,onViewJob:r,isSaved:n(i),userAccess:o},i.link))}),GD=({currentPage:t,totalPages:e,setCurrentPage:r})=>{if(e<=1)return null;const n=[];if(e<=5)for(let i=1;i<=e;i++)n.push(i);else if(t<=3)for(let i=1;i<=5;i++)n.push(i);else if(t>=e-2)for(let i=e-4;i<=e;i++)n.push(i);else for(let i=t-2;i<=t+2;i++)n.push(i);return a.jsxs("div",{className:"pagination",children:[a.jsx("button",{className:"pagination-button prev-button",disabled:t===1,onClick:()=>r(t-1),children:a.jsx(Sa,{})}),n.map(i=>a.jsx("button",{className:`pagination-button ${t===i?"active":""}`,onClick:()=>r(i),children:i},i)),a.jsx("button",{className:"pagination-button next-button",disabled:t===e,onClick:()=>r(t+1),children:a.jsx(La,{})})]})},WD=({isOpen:t,onClose:e,filterKeys:r,filtersData:n,activeFilters:o,handleFilterChange:i,handleSearchChange:c,searchTerm:l,clearAllFilters:d,searchFilters:h,removeSearchFilter:u})=>a.jsx("div",{className:`fixed inset-0 bg-gray-600 bg-opacity-50 overflow-y-auto h-full w-full transition-opacity ${t?"opacity-100":"opacity-0 pointer-events-none"}`,children:a.jsx("div",{className:`fixed right-0 top-0 w-4/5 max-w-sm bg-white h-full shadow-xl transition-transform duration-300 ease-in-out ${t?"transform translate-x-0":"transform translate-x-full"}`,children:a.jsxs("div",{className:"p-4",children:[a.jsxs("div",{className:"flex justify-between items-center mb-4",children:[a.jsx("h2",{className:"text-lg font-semibold",children:"Filters"}),a.jsx("button",{onClick:e,className:"text-gray-500 hover:text-gray-700",children:a.jsx("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),a.jsx("div",{className:"mb-4",children:a.jsx("input",{type:"text",className:"w-full p-2 border border-gray-300 rounded-md",placeholder:"Search jobs...",value:l,onChange:p=>c(p.target.value)})}),r.map(p=>{var y;return a.jsxs("div",{className:"mb-4",children:[a.jsx("label",{htmlFor:`mobile-${p}`,className:"block text-sm font-medium text-gray-700 mb-1",children:p.replace(/_/g," ")}),a.jsxs("select",{id:`mobile-${p}`,className:"w-full p-2 border border-gray-300 rounded-md",onChange:f=>i(p,f.target.value),value:o[p]||"",children:[a.jsxs("option",{value:"",children:["Select ",p.replace(/_/g," ")]}),(y=n[p])==null?void 0:y.map(f=>a.jsx("option",{value:f,children:f},f))]})]},p)}),Object.keys(o).length>0&&a.jsxs("div",{className:"mt-4",children:[a.jsx("h3",{className:"text-sm font-semibold mb-2",children:"Active Filters:"}),Object.entries(o).map(([p,y])=>a.jsxs("div",{className:"inline-flex items-center bg-yellow-100 text-yellow-800 rounded-full px-3 py-1 text-sm mr-2 mb-2",children:[a.jsxs("span",{children:[p.replace(/_/g," "),": ",y]}),a.jsx("button",{className:"ml-2 text-yellow-600 hover:text-yellow-800",onClick:()=>i(p,""),children:"×"})]},p)),a.jsx("button",{className:"mt-2 w-full bg-red-100 text-red-800 rounded-md px-3 py-2 text-sm font-medium",onClick:d,children:"Clear All Filters"})]})]})})}),ZD=({apiUrl:t,itemsPerPage:e,filterKeys:r,enableSearch:n,enablePagination:o,enableMobileFilter:i,banners:c,userAccess:l})=>{const[d,h]=j.useState([]),[u,p]=j.useState([]),[y,f]=j.useState(1),[k,m]=j.useState({}),[x,v]=j.useState([]),[w,C]=j.useState({}),[M,b]=j.useState(""),[N,L]=j.useState([]),[A,I]=j.useState(!1),q=P9(l);j.useEffect(()=>{fetch(`${t}/items`).then(ae=>ae.json()).then(ae=>{h(ae),p(ae);const he=P(ae);C(he)}).catch(ae=>console.error("Error fetching items:",ae))},[t]);const P=ae=>{const he={};ae.forEach(X=>{r.forEach(J=>{he[J]||(he[J]=new Set);const ne=X[J];ne!=null&&he[J].add(String(ne))})});const B={};return Object.keys(he).forEach(X=>{B[X]=Array.from(he[X])}),B},_=ae=>{const he=P(ae);C(he)},R=(ae,he)=>{m(B=>{const X=he?{...B,[ae]:he}:{...B};he||delete X[ae];const J=O(d,X,x);return p(J),f(1),_(J),X})},U=ae=>{if(b(ae),ae){const he=d.map(B=>B.title).filter((B,X,J)=>B&&B.toLowerCase().includes(ae.toLowerCase())&&J.indexOf(B)===X).slice(0,5);L(he)}else L([])},W=ae=>{if(ae.key==="Enter"&&M.trim()){ae.preventDefault();const he=[...x,M.trim()];v(he);const B=O(d,k,he);p(B),f(1),_(B),b("")}},V=ae=>{const he=x.filter(X=>X!==ae);v(he);const B=O(d,k,he);p(B),f(1),_(B)},O=(ae,he,B)=>{let X=ae.filter(J=>Object.entries(he).every(([ne,pe])=>{const se=J[ne];return typeof se=="string"&&se.toLowerCase()===pe.toLowerCase()}));return B.length>0&&(X=X.filter(J=>B.every(ne=>J.title.toLowerCase().includes(ne.toLowerCase())))),X},E=()=>{m({}),v([]),p(d),f(1),_(d)},Q=()=>{I(!A)},de=(ae,he)=>{},ee=ae=>{},te=ae=>!1,Me=Math.ceil(u.length/e),ge=u.slice((y-1)*e,y*e);return a.jsxs("div",{className:"flex flex-col min-h-screen",children:[a.jsx("div",{className:"flex-grow",children:a.jsxs("div",{className:"job-listings-container",children:[a.jsx("div",{className:"header-container",children:a.jsxs("div",{className:"header-content",children:[a.jsx("h1",{className:"main-title",children:"Job Listings"}),a.jsxs("p",{className:"items-count",children:["Total: ",a.jsx("span",{className:"count-value",children:u.length})]})]})}),a.jsx("button",{className:"md:hidden w-full mb-4 px-4 py-2 bg-yellow-600 text-white rounded-md",onClick:Q,children:A?"Close Filters":"Open Filters"}),a.jsxs("div",{className:"hidden md:block filters-container",children:[a.jsx(BD,{searchTerm:M,handleSearchChange:U,handleSearchKeyDown:W,suggestions:N}),a.jsx(VD,{filterKeys:r,filtersData:w,activeFilters:k,handleFilterChange:R,searchFilters:x,removeSearchFilter:V,clearAllFilters:E,searchableFilters:["company"]})]}),a.jsx(WD,{isOpen:A,onClose:Q,filterKeys:r,filtersData:w,activeFilters:k,handleFilterChange:R,handleSearchChange:U,searchTerm:M,clearAllFilters:E,handleSearchKeyDown:W,searchFilters:x,removeSearchFilter:V}),a.jsxs("div",{className:"flex flex-col md:flex-row",children:[a.jsxs("div",{className:"w-full md:w-3/4 md:pr-4",children:[a.jsx("h2",{className:"section-title",children:"Open Positions"}),a.jsx($D,{jobs:ge,onSaveJob:de,onViewJob:ee,isJobSaved:te,userAccess:q}),a.jsx(GD,{currentPage:y,totalPages:Me,setCurrentPage:f})]}),a.jsx("div",{className:"w-full md:w-1/4 mt-4 md:mt-0",children:a.jsx("div",{className:"sticky top-4",children:c.sidebar.enabled&&c.sidebar.url&&a.jsx($c,{position:"sidebar",url:c.sidebar.url,link:c.sidebar.link,alt:c.sidebar.alt})})})]})]})}),c.bottom.enabled&&c.bottom.url&&a.jsx($c,{position:"top",url:c.bottom.url,link:c.bottom.link,alt:c.bottom.alt})]})},XD=({title:t="Subscribe to our newsletter",description:e="The latest job opportunities and career tips, weekly in your inbox.",links:r=[]})=>{const[n,o]=j.useState(!1),[i,c]=j.useState(null);j.useEffect(()=>{try{const d=localStorage.getItem("email");d&&(o(!0),c(d))}catch{}},[]);const l=d=>{d.preventDefault()};return a.jsx("footer",{className:"bg-gray-800 text-white",children:a.jsxs("div",{className:"max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:py-16 lg:px-8",children:[a.jsxs("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[a.jsx("div",{className:"grid grid-cols-2 gap-8 xl:col-span-2",children:a.jsx("div",{className:"md:grid md:grid-cols-2 md:gap-8",children:Array.isArray(r)&&r.map((d,h)=>{var u;return Array.isArray(d)&&d.length>0?a.jsxs("div",{className:"mt-12 md:mt-0",children:[a.jsx("h3",{className:"text-sm font-semibold text-gray-400 tracking-wider uppercase",children:((u=d[0])==null?void 0:u.text)||"Section"}),a.jsx("ul",{className:"mt-4 space-y-4",children:d.map((p,y)=>a.jsx("li",{children:a.jsx("a",{href:p.url,className:"hover:text-gray-300",children:p.text})},y))})]},h):null})})}),a.jsxs("div",{className:"mt-8 xl:mt-0",children:[a.jsx("h3",{className:"text-sm font-semibold text-gray-400 tracking-wider uppercase",children:t}),a.jsx("p",{className:"mt-4 text-base text-gray-300",children:e}),n?a.jsxs("p",{className:"mt-4 text-green-400 font-medium",children:["✅ You’re subscribed",i?` as ${i}`:"","!"]}):a.jsxs("form",{className:"mt-4 sm:flex sm:max-w-md",onSubmit:l,children:[a.jsx("label",{htmlFor:"email-address",className:"sr-only",children:"Email address"}),a.jsx("input",{type:"email",name:"email-address",id:"email-address",autoComplete:"email",required:!0,className:"appearance-none min-w-0 w-full bg-white border border-transparent rounded-md py-2 px-4 text-base text-gray-900 placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-800 focus:ring-white focus:border-white focus:placeholder-gray-400",placeholder:"Enter your email"}),a.jsx("div",{className:"mt-3 rounded-md sm:mt-0 sm:ml-3 sm:flex-shrink-0",children:a.jsx("button",{type:"submit",className:"w-full bg-yellow-600 border border-transparent rounded-md py-2 px-4 flex items-center justify-center text-base font-medium text-white hover:bg-yellow-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-800 focus:ring-blue-500",children:"Subscribe"})})]})]})]}),a.jsx("div",{className:"mt-8 border-t border-gray-700 pt-8",children:a.jsxs("p",{className:"text-base text-gray-400 xl:text-center",children:["© ",new Date().getFullYear()," JobBoard, Inc. All rights reserved."]})})]})})},JD=({logo:t="",links:e=[],buttonText:r="Post a Job",buttonUrl:n="/post-job"})=>a.jsx("nav",{className:"bg-white shadow-md",children:a.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:a.jsxs("div",{className:"flex justify-between h-16",children:[a.jsxs("div",{className:"flex",children:[a.jsx("div",{className:"flex-shrink-0 flex items-center",children:a.jsx("a",{href:"/",className:"text-xl font-bold text-yellow-600",children:t?a.jsx("img",{src:t,alt:"Logo",className:"h-6 w-6"}):a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"mercado-match h-6 w-6",focusable:"false",children:a.jsx("path",{d:"M20.5 2h-17A1.5 1.5 0 002 3.5v17A1.5 1.5 0 003.5 22h17a1.5 1.5 0 001.5-1.5v-17A1.5 1.5 0 0020.5 2zM8 19H5v-9h3zM6.5 8.25A1.75 1.75 0 118.3 6.5a1.78 1.78 0 01-1.8 1.75zM19 19h-3v-4.74c0-1.42-.6-1.93-1.38-1.93A1.74 1.74 0 0013 14.19a.66.66 0 000 .14V19h-3v-9h2.9v1.3a3.11 3.11 0 012.7-1.4c1.55 0 3.36.86 3.36 3.66z"})})})}),a.jsx("div",{className:"hidden sm:ml-6 sm:flex sm:space-x-8",children:e.map((o,i)=>a.jsx("a",{href:o.url,className:"border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium",children:o.text},i))})]}),a.jsx("div",{className:"hidden sm:ml-6 sm:flex sm:items-center",children:a.jsx("a",{href:n,className:"inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-yellow-600 hover:bg-yellow-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500",children:r})})]})})}),eA=({savedJobsCount:t})=>{const[e,r]=j.useState("");j.useEffect(()=>{typeof window<"u"&&r(window.location.pathname)},[]);const n=o=>e===o;return a.jsx("nav",{className:"fixed bottom-0 left-0 right-0 bg-white dark:bg-gray-800 border-t border-gray-200 dark:border-gray-700 md:hidden z-50",children:a.jsxs("div",{className:"grid grid-cols-5 h-16",children:[a.jsxs("a",{href:"/","aria-label":"Home",className:`flex flex-col items-center justify-center ${n("/")?"text-gray-900 font-semibold dark:text-white":"text-gray-500 dark:text-gray-500"} hover:text-primary-500`,children:[a.jsx(ja,{className:"w-6 h-6"}),a.jsx("span",{className:"text-xs mt-1",children:"Home"})]}),a.jsxs("a",{href:"/jobs","aria-label":"Jobs",className:`flex flex-col items-center justify-center ${n("/jobs")?"text-gray-900 font-semibold dark:text-white":"text-gray-500 dark:text-gray-500"} hover:text-primary-500`,children:[a.jsx(ft,{className:"w-6 h-6"}),a.jsx("span",{className:"text-xs mt-1",children:"Jobs"})]}),a.jsxs("a",{href:"/saved","aria-label":"Saved Jobs",className:`flex flex-col items-center justify-center relative ${n("/saved")?"text-gray-900 font-semibold dark:text-white":"text-gray-500 dark:text-gray-500"} hover:text-primary-500`,children:[a.jsx(dc,{className:"w-6 h-6"}),a.jsx("span",{className:"text-xs mt-1",children:"Saved"}),t>0&&a.jsx("span",{className:"absolute -top-1 -right-1 bg-primary-500 text-white rounded-full w-5 h-5 flex items-center justify-center text-xs",children:t})]}),a.jsxs("a",{href:"/courses","aria-label":"Courses",className:`flex flex-col items-center justify-center ${n("/courses")?"text-gray-900 font-semibold dark:text-white":"text-gray-500 dark:text-gray-500"} hover:text-primary-500`,children:[a.jsx(Vt,{className:"w-6 h-6"}),a.jsx("span",{className:"text-xs mt-1",children:"Courses"})]}),a.jsxs("a",{href:"/news","aria-label":"News",className:`flex flex-col items-center justify-center ${n("/news")?"text-gray-900 font-semibold dark:text-white":"text-gray-500 dark:text-gray-500"} hover:text-primary-500`,children:[a.jsx(Pa,{className:"w-6 h-6"}),a.jsx("span",{className:"text-xs mt-1",children:"News"})]})]})})},YD=t=>{const e=["Acme Inc","TechCorp","Global Solutions","Innovate Labs","Future Tech"],r=["Engineering","Marketing","Sales","Design","Product","HR"],n=["New York, NY","San Francisco, CA","Austin, TX","Seattle, WA","Remote"],o=["New York","San Francisco","Austin","Seattle","Chicago"],i=["USA","Canada","UK","Germany","Australia"],c=["Startup","Enterprise","Agency","Nonprofit","Government"],l=d=>{const h=new Date;return h.setDate(h.getDate()-Math.floor(Math.random()*d)),h.toISOString()};return Array.from({length:t},(d,h)=>{const u=l(120);return{id:`job-${h}`,title:`${r[h%r.length]} ${h%3===0?"Senior":h%3===1?"Mid-level":"Junior"} Position`,company:e[h%e.length],department:r[h%r.length],location:n[h%n.length],city:o[h%o.length],country:i[h%i.length],company_type:c[h%c.length],link:"#job-link",logo:`/placeholder.svg?height=50&width=50&text=${e[h%e.length].charAt(0)}`,overview:"This is a mock job description for preview purposes. The actual job details would appear here with information about responsibilities, requirements, and company culture.",slug:`job-${h}`,scraped_at:new Date().toISOString(),published_at:u,created_at:u,sponsored:h%7===0}})},tA=({activeDateFilter:t,onDateFilterChange:e,dateFieldLabel:r="Published",options:n=[{value:"all",label:"All Time"},{value:"today",label:"Today"},{value:"this_week",label:"This Week"},{value:"this_month",label:"This Month"},{value:"last_30_days",label:"Last 30 Days"},{value:"last_90_days",label:"Last 90 Days"}]})=>a.jsxs("div",{className:"date-filter",children:[r&&a.jsxs("label",{htmlFor:"date-filter",className:"text-sm font-medium text-gray-700 mr-2",children:[r,":"]}),a.jsx("select",{id:"date-filter",value:t,onChange:o=>e(o.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow--500 focus:border-yellow--500 bg-white",children:n.map(o=>a.jsx("option",{value:o.value,children:o.label},o.value))})]}),aA=({activeDateFilter:t,handleDateFilterChange:e,filterKeys:r,searchableFilters:n,dateFieldLabel:o,activeFilters:i,handleFilterChange:c,toggleSavedJobsFilter:l,filtersData:d,savedJobs:h=[],showOnlySaved:u=!1,isMobileFilterOpen:p,toggleMobileFilter:y,dateOptions:f=[{value:"all",label:"All Time"},{value:"today",label:"Today"},{value:"this_week",label:"This Week"},{value:"this_month",label:"This Month"},{value:"last_30_days",label:"Last 30 Days"},{value:"last_90_days",label:"Last 90 Days"}]})=>a.jsx("div",{children:a.jsxs("div",{className:p?"block":"hidden",children:[a.jsx("div",{className:"fixed inset-0 bg-gray-600 bg-opacity-75 z-40",onClick:()=>y(!p)}),a.jsxs("div",{className:"fixed inset-y-0 right-0 max-w-xs w-full bg-white shadow-xl z-50 overflow-y-auto",children:[a.jsxs("div",{className:"p-4 border-b border-gray-200 flex items-center justify-between",children:[a.jsx("h2",{className:"text-lg font-semibold text-gray-900",children:"Filters"}),a.jsx("button",{onClick:()=>y(!p),className:"p-2 rounded-full hover:bg-gray-100","aria-label":"Close filters",children:a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 text-gray-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),a.jsxs("div",{className:"p-4",children:[a.jsxs("div",{className:"mb-6",children:[a.jsx("h3",{className:"text-sm font-medium text-gray-900 mb-2",children:o}),a.jsx(tA,{activeDateFilter:t,onDateFilterChange:e,dateFieldLabel:"",options:f})]}),r.map(k=>{var m;return a.jsxs("div",{className:"mb-6",children:[a.jsx("h3",{className:"text-sm font-medium text-gray-900 mb-2",children:k.replace(/_/g," ")}),n.includes(k)?a.jsx(A9,{options:d[k]||[],value:i[k]||"",onChange:x=>c(k,x),placeholder:`Select ${k.replace(/_/g," ")}`,className:"w-full"}):a.jsxs("select",{className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow--500 focus:border-yellow--500 bg-white",value:i[k]||"",onChange:x=>c(k,x.target.value),children:[a.jsxs("option",{value:"",children:["Select ",k.replace(/_/g," ")]}),(m=d[k])==null?void 0:m.map(x=>a.jsx("option",{value:x,children:x},x))]})]},k)}),a.jsx("div",{className:"mt-6 pt-6 border-t border-gray-200",children:a.jsx("button",{onClick:()=>y(!p),className:"w-full py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700 transition-colors",children:"Apply Filters"})})]})]})]})}),qj=({totalColumns:t=2})=>a.jsx("div",{className:"flex-grow p-8 animate-fade-in",children:a.jsx("div",{className:"max-w-7xl mx-auto",children:a.jsxs("div",{className:"animate-pulse",children:[a.jsx("div",{className:"h-8 bg-gray-200 rounded w-1/4 mb-6"}),a.jsx("div",{className:`grid grid-cols-1 md:grid-cols-${t} gap-6`,children:[...Array(4)].map((e,r)=>a.jsxs("div",{className:"bg-white rounded-lg shadow-sm p-6",children:[a.jsx("div",{className:"h-6 bg-gray-200 rounded w-3/4 mb-4"}),a.jsx("div",{className:"h-4 bg-gray-200 rounded w-1/2 mb-2"}),a.jsx("div",{className:"h-4 bg-gray-200 rounded w-1/3 mb-4"}),a.jsx("div",{className:"h-20 bg-gray-200 rounded mb-4"}),a.jsx("div",{className:"h-8 bg-gray-200 rounded w-full"})]},r))})]})})}),Dj=({data:t,onSelect:e,placeholder:r="Search...",debounceMs:n=250,onTyping:o,className:i="",showSubmitButton:c=!1})=>{const[l,d]=j.useState(""),[h,u]=j.useState([]),[p,y]=j.useState(!1),f=j.useRef(null),k=v=>{d(v),y(!0),o&&o(v)},m=()=>{d(""),u([]),y(!1),o==null||o("")},x=v=>{e(v),d(""),u([]),y(!1)};return j.useEffect(()=>{f.current&&clearTimeout(f.current),f.current=setTimeout(()=>{if(!l){u([]);return}const v=t.filter(w=>w.toLowerCase().includes(l.toLowerCase())).filter((w,C,M)=>M.indexOf(w)===C).slice(0,5);u(v)},n)},[l,t]),a.jsxs("div",{className:`relative w-full ${i}`,children:[a.jsxs("div",{className:"relative",children:[a.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:a.jsx(Ut,{className:"h-4 w-4 text-gray-400"})}),a.jsx("input",{type:"text",className:"w-full py-2 pl-9 pr-12 flex w-full rounded-md border border-input bg-background px-3 py-2 ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm pl-10 h-12 text-lg",placeholder:r,value:l,onChange:v=>k(v.target.value),onFocus:()=>y(h.length>0),onBlur:()=>setTimeout(()=>y(!1),200),onKeyDown:v=>{v.key==="Enter"&&l.trim()&&(v.preventDefault(),x(l.trim()))}}),l&&!c&&a.jsx("button",{onClick:m,className:"absolute inset-y-0 right-2 flex items-center",children:a.jsx(Qt,{className:"h-4 w-4 text-gray-400 hover:text-gray-600"})}),c&&a.jsx("button",{onClick:()=>l.trim()&&x(l.trim()),className:"absolute right-2 top-1/2 -translate-y-1/2 bg-yellow-500 text-white py-1.5 px-2 rounded-md hover:bg-yellow-600",children:a.jsx(Ut,{className:"h-4 w-4"})})]}),p&&h.length>0&&a.jsx("ul",{className:"absolute z-10 mt-1 w-full bg-white border border-gray-200 rounded-lg shadow-md",children:h.map((v,w)=>a.jsx("li",{children:a.jsx("button",{className:"w-full px-4 py-2 text-left text-sm text-gray-700 hover:bg-gray-100",onClick:()=>x(v),children:a.jsxs("div",{className:"flex items-center",children:[a.jsx(Ut,{className:"h-4 w-4 mr-2 text-gray-400"}),v]})})},w))})]})},zj=({onSearchChange:t,title:e="Gaming News",description:r="Latest news and insights from the gaming industry",searchPlaceholder:n="Search news...",popularTags:o=["AI Gaming","Esports","VR/AR","Mobile Gaming","Regulation","Market Analysis"],generateHref:i=c=>`?q=${encodeURIComponent(c)}`})=>(j.useState(""),a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"bg-white border-b",children:a.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4",children:a.jsx("div",{className:"flex items-center justify-between",children:a.jsxs("div",{children:[a.jsx("h1",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:e}),a.jsx("p",{className:"hidden lg:block text-gray-600",children:r})]})})})}),a.jsx("div",{className:"bg-white border-b",children:a.jsx("div",{className:"max-w-7xl mx-auto py-4 px-4 sm:px-6 lg:px-8",children:a.jsx("div",{className:"overflow-x-auto",children:a.jsxs("div",{className:"flex items-center space-x-6 py-2 text-sm",children:[a.jsx("span",{className:"text-gray-600 font-medium flex-shrink-0",children:"Popular:"}),o.map(c=>a.jsxs("a",{href:i(c),className:"inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 border-transparent text-yellow-600 bg-yellow-50 hover:bg-yellow-100 cursor-pointer",children:["#",c]},c))]})})})})]})),KD=t=>t.toLowerCase().replace(/anti[-\s]?money[-\s]?laundering/g,"aml").replace(/counter[-\s]?terrorist[-\s]?financing/g,"cft").replace(/personal management licence/g,"pml").replace(/general data protection regulation/g,"gdpr");function Fj(t){const e=KD(t),r={gambling:["igaming","casino","slot","slots","bingo","poker","blackjack","roulette","lottery","rgs","rng","rmg","betting","sportsbook","land based"],compliance:["aml","money laundering","gdpr","compliance","licence","mlro","data protection","responsible gaming","player protection","key function","pml","mga","cft"],business:["crm","vip","affiliate","payments","analytics","marketing","governance","leadership","strategy"],format:["course","tutorial","guide","webinar","workshop","lecture","series","academy","masterclass"],misc:["ai","blockchain","gamification","diversity","inclusion","metaverse","remote","advanced"]},n=[...r.gambling,...r.compliance,...r.business,...r.format,...r.misc];for(const o of n)if(new RegExp(`\\b${o.replace(/\s+/g,"\\s+")}\\b`,"i").test(e))return o;return null}function QD(t){const e=Fj(t);return e||ez(t)}function ez(t){const e=new Set(["the","of","and","to","a","in","for","with","on","at","by","is","from","as","it","that","this","how","new","you","your"]),r=t.toLowerCase().split(/\W+/).filter(i=>i.length>2&&!e.has(i)),n={};for(const i of r)n[i]=(n[i]||0)+1;const o=Object.entries(n).sort((i,c)=>c[1]-i[1]);return o.length>0?o[0][0]:null}const Ej=({filters:t,onClearAll:e,handleCreateAlert:r,className:n=""})=>t.length===0?null:a.jsxs("div",{className:`flex flex-wrap gap-2 ${n}`,children:[t.map(o=>a.jsxs("div",{className:"inline-flex items-center bg-yellow-100 text-indigo-800 rounded-full px-3 py-1 text-sm",children:[o.label&&a.jsxs("span",{className:"font-medium mr-1",children:[o.label,":"]}),a.jsx("span",{children:o.value}),a.jsx("button",{className:"ml-2 text-indigo-600 hover:text-indigo-800",onClick:o.onRemove,"aria-label":`Remove ${o.label||o.key} filter`,children:a.jsx(ca,{size:14})})]},`${o.key}-${o.value}`)),a.jsx("button",{className:"inline-flex items-center bg-gray-100 text-gray-800 hover:bg-gray-200 rounded-full px-3 py-1 text-sm",onClick:e,children:"Clear All"}),a.jsx("button",{onClick:r,className:"inline-flex items-center bg-indigo-100 text-indigo-800 hover:bg-indigo-200 rounded-full px-3 py-1 text-sm font-medium",children:"🔔 Create Alert"})]}),tz=({viewMode:t,onToggle:e,className:r=""})=>a.jsxs("div",{className:`view-mode-toggle flex bg-gray-100 p-1 rounded-lg ${r}`,children:[a.jsxs("button",{onClick:e,className:`px-3 py-1.5 rounded-md flex items-center justify-center transition-colors ${t==="grid"?"bg-yellow-600 text-white shadow-sm":"text-gray-700 hover:bg-gray-200"}`,"aria-label":"Grid view","aria-pressed":t==="grid",children:[a.jsx(Zt,{size:16,className:"mr-1.5"}),a.jsx("span",{className:"text-sm font-medium",children:"Grid"})]}),a.jsxs("button",{onClick:e,className:`px-3 py-1.5 rounded-md flex items-center justify-center transition-colors ${t==="list"?"bg-yellow-600 text-white shadow-sm":"text-gray-700 hover:bg-gray-200"}`,"aria-label":"List view","aria-pressed":t==="list",children:[a.jsx(wc,{size:16,className:"mr-1.5"}),a.jsx("span",{className:"text-sm font-medium",children:"List"})]})]}),az=({value:t,onChange:e,options:r=[5,10,20,50],className:n=""})=>a.jsxs("div",{className:`flex items-center ${n}`,children:[a.jsx("label",{htmlFor:"items-per-page",className:"mr-2 text-sm font-medium text-gray-700",children:"Show:"}),a.jsx("select",{id:"items-per-page",value:t,onChange:o=>e(Number(o.target.value)),className:"px-2 py-1.5 border border-gray-300 rounded-md text-sm bg-white",children:r.map(o=>a.jsx("option",{value:o,children:o},o))})]}),Oj=({viewMode:t,onToggleViewMode:e,selectedItemsPerPage:r,onItemsPerPageChange:n,totalCount:o,startIndex:i,endIndex:c,title:l})=>a.jsx("div",{className:"lg:block hidden bg-white rounded-lg shadow-sm border border-gray-200 p-4 mb-6",children:a.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4",children:[a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl font-semibold text-gray-900",children:l}),a.jsxs("p",{className:"text-sm text-gray-600",children:["Showing ",a.jsx("span",{className:"font-semibold text-gray-900",children:i}),"–",a.jsx("span",{className:"font-semibold text-gray-900",children:c})," of"," ",a.jsx("span",{className:"font-semibold text-gray-900",children:o})," articles"]})]}),a.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center gap-3",children:[a.jsx(tz,{viewMode:t,onToggle:e}),a.jsx(az,{value:r,onChange:n})]})]})}),rz=({title:t,description:e,ctaText:r,ctaLink:n,bgColor:o="bg-yellow-50",textColor:i="text-yellow-800"})=>a.jsx("div",{className:`promo-card ${o} p-4 rounded-lg shadow-sm hidden md:block`,children:a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx("h3",{className:`font-bold text-lg ${i}`,children:t}),a.jsx("p",{className:`text-sm mt-1 ${i} opacity-90`,children:e})]}),a.jsx("a",{href:n,className:"bg-white text-yellow-600 hover:bg-yellow-50 px-4 py-2 rounded-md text-sm font-medium shadow-sm transition-colors",children:r})]})}),nz=({items:t,cardType:e,viewMode:r,savedJobs:n,onSaveJob:o,onViewJob:i,onApplyJob:c,firstItemRef:l=null,userAccess:d})=>{const[h,u]=j.useState([]),[p,y]=j.useState(null);j.useEffect(()=>{try{if(!Array.isArray(t)){console.error("❌ Items is not an array:",t),y("Invalid data format received"),u([]);return}const k=[...t];t.length>5&&k.splice(5,0,{id:"promo-1",title:"Promo",isPromo:!0}),u(k),y(null)}catch(k){console.error("Error processing items:",k),y(`Error processing items: ${k instanceof Error?k.message:String(k)}`),u([])}},[t]);const f=(k,m)=>{const v=m===0&&!k.isPromo?{ref:l}:{};try{if(k.isPromo)return a.jsx("div",{className:"col-span-full my-4",children:a.jsx(rz,{title:"Upgrade Your Job Search",description:"Get personalized job recommendations and stand out to employers.",ctaText:"Learn More",ctaLink:"#premium-features",bgColor:"bg-yellow-50",textColor:"text-yellow-800"})},`promo-${m}`);if(!k||typeof k!="object")return console.error("❌ Invalid item detected:",k),a.jsxs("div",{className:"error-card bg-red-50 p-4 rounded-md border border-red-200",children:[a.jsx("p",{className:"text-red-800 font-medium",children:"Invalid Job Data"}),a.jsx("p",{className:"text-red-600 text-sm",children:"The job data is in an unexpected format."})]});const w=k.id?`${k._id}-${m}`:k.slug?`${k.slug}-${m}`:`item-${m}`;switch(e){case"job":return a.jsx("div",{...v,children:a.jsx(QN,{job:k,positionInList:m,onSaveJob:C=>o(C,m),onViewJob:(C,M,b)=>i(C,m,b),onApplyJob:c?(C,M,b)=>c(C,m,b):void 0,isSaved:n.includes(k.id||k.slug||k.link),userAccess:d})},w);default:return console.warn(`⚠️ Unknown cardType: ${e}`),a.jsxs("div",{className:"error-card bg-yellow-50 p-4 rounded-md border border-yellow-200",children:[a.jsx("p",{className:"text-yellow-800 font-medium",children:"Unknown Card Type"}),a.jsx("p",{className:"text-yellow-700 text-sm",children:"The specified card type is not supported."})]})}}catch(w){return console.error("Error rendering card:",w),a.jsxs("div",{className:"error-card bg-red-50 p-4 rounded-md border border-red-200",children:[a.jsx("p",{className:"text-red-800 font-medium",children:"Error Rendering Card"}),a.jsx("p",{className:"text-red-600 text-sm",children:w instanceof Error?w.message:String(w)})]})}};return p?a.jsxs("div",{className:"bg-red-50 border border-red-200 text-red-800 rounded-lg p-6",children:[a.jsx("h3",{className:"font-semibold mb-2",children:"Error Loading Items"}),a.jsx("p",{children:p})]}):h.length===0?a.jsxs("div",{className:"no-results",children:[a.jsx("h3",{children:"No items found matching your criteria"}),a.jsx("p",{children:"Try adjusting your filters or search term"})]}):a.jsx("div",{className:r==="grid"?"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4":"flex flex-col gap-4","data-view-mode":r,children:h.map((k,m)=>f(k,m))})},Hj=({currentPage:t,totalPages:e,onPageChange:r})=>{if(e<=1)return null;const n=5,o=Math.max(1,t-Math.floor(n/2)),i=Math.min(e,o+n-1),c=[];for(let l=o;l<=i;l++)c.push(l);return a.jsx("div",{className:"mt-6 flex justify-center",children:a.jsxs("nav",{className:"flex items-center space-x-2",children:[a.jsx("button",{onClick:()=>r(Math.max(1,t-1)),disabled:t===1,className:"px-3 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-md hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed",children:a.jsx(Sa,{})}),c.map(l=>a.jsx("button",{onClick:()=>r(l),className:`px-3 py-2 text-sm font-medium rounded-md ${t===l?"bg-yellow-600 text-white":"text-gray-700 bg-white border border-gray-300 hover:bg-gray-50"}`,children:l},l)),a.jsx("button",{onClick:()=>r(Math.min(e,t+1)),disabled:t===e,className:"px-3 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-md hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed",children:a.jsx(La,{})})]})})},oz=({jobs:t,onViewJob:e})=>!t||t.length===0?null:a.jsxs("div",{className:"last-visited-jobs mt-8 bg-white rounded-lg shadow p-4",children:[a.jsx("h2",{className:"text-lg font-semibold mb-4",children:"Recently Viewed Jobs"}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:t.map((r,n)=>a.jsxs("div",{className:"p-3 border rounded-md hover:shadow-md transition-shadow cursor-pointer",onClick:()=>e(r,n,"same_tab","last_visited"),children:[a.jsxs("div",{className:"flex items-center mb-2",children:[a.jsx("img",{src:r.logo||"/placeholder.svg?height=30&width=30",alt:`${r.company} logo`,className:"w-6 h-6 mr-2"}),a.jsx("h3",{className:"font-medium text-sm truncate",children:r.title})]}),a.jsx("p",{className:"text-xs text-gray-600 truncate",children:r.company}),a.jsx("p",{className:"text-xs text-gray-500 truncate",children:r.location})]},r._id||r.slug||r.link))})]}),iz=(t,e,r="date")=>{if(e==="all")return t;const n=new Date,o=new Date(n.getFullYear(),n.getMonth(),n.getDate());return t.filter(i=>{const c=i[r]||i.created_at||i.published_at||i.scraped_at;if(!c)return!1;const l=new Date(c);switch(e){case"today":return l>=o;case"this_week":{const d=new Date(n);return d.setDate(n.getDate()-n.getDay()),d.setHours(0,0,0,0),l>=d}case"this_month":{const d=new Date(n.getFullYear(),n.getMonth(),1);return l>=d}case"last_30_days":{const d=new Date(n);return d.setDate(n.getDate()-30),l>=d}case"last_90_days":{const d=new Date(n);return d.setDate(n.getDate()-90),l>=d}default:return!0}})},sz=(t,e)=>t.filter(r=>{var n,o,i,c,l;if(e.jobTypes.length>0){const d=((n=r.department)==null?void 0:n.toLowerCase())||"";if(!e.jobTypes.some(h=>d.includes(h)))return!1}if(e.experienceLevels.length>0){const d=((o=r.title)==null?void 0:o.toLowerCase())||"";if(!e.experienceLevels.some(h=>!!(h==="senior"&&d.includes("senior")||h==="mid"&&(d.includes("mid")||d.includes("mid-level"))||h==="entry"&&(d.includes("junior")||d.includes("entry")))))return!1}return!(e.country&&!(((i=r.location)==null?void 0:i.toLowerCase())||((c=r.city)==null?void 0:c.toLowerCase())||"").includes(e.country.toLowerCase())||e.city&&!(((l=r.company_type)==null?void 0:l.toLowerCase())||"").includes(e.city.toLowerCase()))}),qc=(t,e)=>{const r={};for(const n of t)for(const o of e){r[o]||(r[o]=new Set);const i=n[o];Array.isArray(i)?i.forEach(c=>{typeof c=="string"&&c.trim()&&r[o].add(c.trim())}):typeof i=="string"&&i.trim()&&r[o].add(i.trim())}return Object.fromEntries(Object.entries(r).map(([n,o])=>[n,Array.from(o)]))},rA=t=>{const e=new URLSearchParams(window.location.search);t==="all"?e.delete("date_filter"):e.set("date_filter",t);const r=`${window.location.pathname}?${e.toString()}`;window.history.replaceState({},"",r)},jt=(t,e,r,n,o="date")=>{let i=t.filter(c=>Object.entries(e).every(([l,d])=>{const h=c[l];return typeof h=="string"?h.toLowerCase()===d.toLowerCase():Array.isArray(h)?h.some(u=>typeof u=="string"&&u.toLowerCase()===d.toLowerCase()):!1}));return r.length>0&&(i=i.filter(c=>r.every(l=>{var d,h;return((d=c.title)==null?void 0:d.toLowerCase().includes(l.toLowerCase()))||((h=c.overview)==null?void 0:h.toLowerCase().includes(l.toLowerCase()))}))),i=iz(i,n),i},nA=({dateFieldLabel:t,activeDateFilter:e,onDateFilterChange:r,filterKeys:n,searchableFilters:o,filtersData:i,activeFilters:c,handleFilterChange:l,toggleSavedJobsFilter:d,showOnlySaved:h,savedJobs:u})=>a.jsx("div",{className:"hidden lg:block lg:w-1/4 space-y-6",children:a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[a.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Filters"}),a.jsxs("div",{className:"mb-6",children:[a.jsx("h3",{className:"text-sm font-medium text-gray-900 mb-2",children:t}),a.jsx(tA,{activeDateFilter:e,onDateFilterChange:r,dateFieldLabel:""})]}),n.map(p=>{var y;return a.jsxs("div",{className:"mb-6",children:[a.jsx("h3",{className:"text-sm font-medium text-gray-900 mb-2",children:p.replace(/_/g," ")}),o.includes(p)?a.jsx(A9,{options:i[p]||[],value:c[p]||"",onChange:f=>l(p,f),placeholder:`Select ${p.replace(/_/g," ")}`,className:"w-full"}):a.jsxs("select",{className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow--500 focus:border-yellow--500 bg-white",value:c[p]||"",onChange:f=>l(p,f.target.value),children:[a.jsxs("option",{value:"",children:["Select ",p.replace(/_/g," ")]}),(y=i[p])==null?void 0:y.map(f=>a.jsx("option",{value:f,children:f},f))]})]},p)}),a.jsx("div",{className:"mt-6",children:a.jsxs("button",{onClick:d,className:`w-full px-4 py-2 rounded-lg flex items-center justify-center ${h?"bg-yellow-100 text-indigo-800":"bg-gray-100 text-gray-800 hover:bg-gray-200"}`,children:[a.jsx(Xa,{size:16,className:"mr-2"}),a.jsxs("span",{children:["Saved Jobs (",u.length,")"]})]})})]})});function Dc(t,e,{checkForDefaultPrevented:r=!0}={}){return function(o){if(t==null||t(o),r===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}function $S(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function cz(...t){return e=>{let r=!1;const n=t.map(o=>{const i=$S(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():$S(t[o],null)}}}}function _9(...t){return g.useCallback(cz(...t),t)}function lz(t,e){const r=g.createContext(e),n=i=>{const{children:c,...l}=i,d=g.useMemo(()=>l,Object.values(l));return a.jsx(r.Provider,{value:d,children:c})};n.displayName=t+"Provider";function o(i){const c=g.useContext(r);if(c)return c;if(e!==void 0)return e;throw new Error(`\`${i}\` must be used within \`${t}\``)}return[n,o]}function dz(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,hz(o,...e)]}function hz(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var m9=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},uz=g[" useId ".trim().toString()]||(()=>{}),pz=0;function uC(t){const[e,r]=g.useState(uz());return m9(()=>{t||r(n=>n??String(pz++))},[t]),t||(e?`radix-${e}`:"")}var yz=g[" useInsertionEffect ".trim().toString()]||m9;function mz({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[o,i,c]=fz({defaultProp:e,onChange:r}),l=t!==void 0,d=l?t:o;{const u=g.useRef(t!==void 0);g.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${n} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=l},[l,n])}const h=g.useCallback(u=>{var p;if(l){const y=xz(u)?u(t):u;y!==t&&((p=c.current)==null||p.call(c,y))}else i(u)},[l,t,i,c]);return[d,h]}function fz({defaultProp:t,onChange:e}){const[r,n]=g.useState(t),o=g.useRef(r),i=g.useRef(e);return yz(()=>{i.current=e},[e]),g.useEffect(()=>{var c;o.current!==r&&((c=i.current)==null||c.call(i,r),o.current=r)},[r,o]),[r,n,i]}function xz(t){return typeof t=="function"}function pC(t,e,{checkForDefaultPrevented:r=!0}={}){return function(o){if(t==null||t(o),r===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}var kz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],oA=kz.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{});function gz(t,e){t&&C9.flushSync(()=>t.dispatchEvent(e))}function GS(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function vz(...t){return e=>{let r=!1;const n=t.map(o=>{const i=GS(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():GS(t[o],null)}}}}function iA(...t){return g.useCallback(vz(...t),t)}function sA(t){const e=g.useRef(t);return g.useEffect(()=>{e.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}function wz(t){const e=g.useRef(t);return g.useEffect(()=>{e.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}function Mz(t,e=globalThis==null?void 0:globalThis.document){const r=wz(t);g.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return e.addEventListener("keydown",n,{capture:!0}),()=>e.removeEventListener("keydown",n,{capture:!0})},[r,e])}var bz="DismissableLayer",XC="dismissableLayer.update",Cz="dismissableLayer.pointerDownOutside",jz="dismissableLayer.focusOutside",WS,cA=g.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),R9=g.forwardRef((t,e)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:c,onDismiss:l,...d}=t,h=g.useContext(cA),[u,p]=g.useState(null),y=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,f]=g.useState({}),k=iA(e,L=>p(L)),m=Array.from(h.layers),[x]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),v=m.indexOf(x),w=u?m.indexOf(u):-1,C=h.layersWithOutsidePointerEventsDisabled.size>0,M=w>=v,b=Iz(L=>{const A=L.target,I=[...h.branches].some(q=>q.contains(A));!M||I||(o==null||o(L),c==null||c(L),L.defaultPrevented||l==null||l())},y),N=Nz(L=>{const A=L.target;[...h.branches].some(q=>q.contains(A))||(i==null||i(L),c==null||c(L),L.defaultPrevented||l==null||l())},y);return Mz(L=>{w===h.layers.size-1&&(n==null||n(L),!L.defaultPrevented&&l&&(L.preventDefault(),l()))},y),g.useEffect(()=>{if(u)return r&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(WS=y.body.style.pointerEvents,y.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(u)),h.layers.add(u),ZS(),()=>{r&&h.layersWithOutsidePointerEventsDisabled.size===1&&(y.body.style.pointerEvents=WS)}},[u,y,r,h]),g.useEffect(()=>()=>{u&&(h.layers.delete(u),h.layersWithOutsidePointerEventsDisabled.delete(u),ZS())},[u,h]),g.useEffect(()=>{const L=()=>f({});return document.addEventListener(XC,L),()=>document.removeEventListener(XC,L)},[]),a.jsx(oA.div,{...d,ref:k,style:{pointerEvents:C?M?"auto":"none":void 0,...t.style},onFocusCapture:pC(t.onFocusCapture,N.onFocusCapture),onBlurCapture:pC(t.onBlurCapture,N.onBlurCapture),onPointerDownCapture:pC(t.onPointerDownCapture,b.onPointerDownCapture)})});R9.displayName=bz;var Sz="DismissableLayerBranch",Lz=g.forwardRef((t,e)=>{const r=g.useContext(cA),n=g.useRef(null),o=iA(e,n);return g.useEffect(()=>{const i=n.current;if(i)return r.branches.add(i),()=>{r.branches.delete(i)}},[r.branches]),a.jsx(oA.div,{...t,ref:o})});Lz.displayName=Sz;function Iz(t,e=globalThis==null?void 0:globalThis.document){const r=sA(t),n=g.useRef(!1),o=g.useRef(()=>{});return g.useEffect(()=>{const i=l=>{if(l.target&&!n.current){let d=function(){lA(Cz,r,h,{discrete:!0})};const h={originalEvent:l};l.pointerType==="touch"?(e.removeEventListener("click",o.current),o.current=d,e.addEventListener("click",o.current,{once:!0})):d()}else e.removeEventListener("click",o.current);n.current=!1},c=window.setTimeout(()=>{e.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(c),e.removeEventListener("pointerdown",i),e.removeEventListener("click",o.current)}},[e,r]),{onPointerDownCapture:()=>n.current=!0}}function Nz(t,e=globalThis==null?void 0:globalThis.document){const r=sA(t),n=g.useRef(!1);return g.useEffect(()=>{const o=i=>{i.target&&!n.current&&lA(jz,r,{originalEvent:i},{discrete:!1})};return e.addEventListener("focusin",o),()=>e.removeEventListener("focusin",o)},[e,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function ZS(){const t=new CustomEvent(XC);document.dispatchEvent(t)}function lA(t,e,r,{discrete:n}){const o=r.originalEvent.target,i=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:r});e&&o.addEventListener(t,e,{once:!0}),n?gz(o,i):o.dispatchEvent(i)}function XS(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function Az(...t){return e=>{let r=!1;const n=t.map(o=>{const i=XS(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():XS(t[o],null)}}}}function Pz(...t){return g.useCallback(Az(...t),t)}var _z=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Rz=_z.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{});function JS(t){const e=g.useRef(t);return g.useEffect(()=>{e.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}var yC="focusScope.autoFocusOnMount",mC="focusScope.autoFocusOnUnmount",YS={bubbles:!1,cancelable:!0},Tz="FocusScope",T9=g.forwardRef((t,e)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...c}=t,[l,d]=g.useState(null),h=JS(o),u=JS(i),p=g.useRef(null),y=Pz(e,m=>d(m)),f=g.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;g.useEffect(()=>{if(n){let m=function(C){if(f.paused||!l)return;const M=C.target;l.contains(M)?p.current=M:Ba(p.current,{select:!0})},x=function(C){if(f.paused||!l)return;const M=C.relatedTarget;M!==null&&(l.contains(M)||Ba(p.current,{select:!0}))},v=function(C){if(document.activeElement===document.body)for(const b of C)b.removedNodes.length>0&&Ba(l)};document.addEventListener("focusin",m),document.addEventListener("focusout",x);const w=new MutationObserver(v);return l&&w.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",x),w.disconnect()}}},[n,l,f.paused]),g.useEffect(()=>{if(l){QS.add(f);const m=document.activeElement;if(!l.contains(m)){const v=new CustomEvent(yC,YS);l.addEventListener(yC,h),l.dispatchEvent(v),v.defaultPrevented||(qz(Oz(dA(l)),{select:!0}),document.activeElement===m&&Ba(l))}return()=>{l.removeEventListener(yC,h),setTimeout(()=>{const v=new CustomEvent(mC,YS);l.addEventListener(mC,u),l.dispatchEvent(v),v.defaultPrevented||Ba(m??document.body,{select:!0}),l.removeEventListener(mC,u),QS.remove(f)},0)}}},[l,h,u,f]);const k=g.useCallback(m=>{if(!r&&!n||f.paused)return;const x=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,v=document.activeElement;if(x&&v){const w=m.currentTarget,[C,M]=Dz(w);C&&M?!m.shiftKey&&v===M?(m.preventDefault(),r&&Ba(C,{select:!0})):m.shiftKey&&v===C&&(m.preventDefault(),r&&Ba(M,{select:!0})):v===w&&m.preventDefault()}},[r,n,f.paused]);return a.jsx(Rz.div,{tabIndex:-1,...c,ref:y,onKeyDown:k})});T9.displayName=Tz;function qz(t,{select:e=!1}={}){const r=document.activeElement;for(const n of t)if(Ba(n,{select:e}),document.activeElement!==r)return}function Dz(t){const e=dA(t),r=KS(e,t),n=KS(e.reverse(),t);return[r,n]}function dA(t){const e=[],r=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)e.push(r.currentNode);return e}function KS(t,e){for(const r of t)if(!zz(r,{upTo:e}))return r}function zz(t,{upTo:e}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(e!==void 0&&t===e)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function Fz(t){return t instanceof HTMLInputElement&&"select"in t}function Ba(t,{select:e=!1}={}){if(t&&t.focus){const r=document.activeElement;t.focus({preventScroll:!0}),t!==r&&Fz(t)&&e&&t.select()}}var QS=Ez();function Ez(){let t=[];return{add(e){const r=t[0];e!==r&&(r==null||r.pause()),t=eL(t,e),t.unshift(e)},remove(e){var r;t=eL(t,e),(r=t[0])==null||r.resume()}}}function eL(t,e){const r=[...t],n=r.indexOf(e);return n!==-1&&r.splice(n,1),r}function Oz(t){return t.filter(e=>e.tagName!=="A")}var Hz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Vz=Hz.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),Bz=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},Uz="Portal",q9=g.forwardRef((t,e)=>{var l;const{container:r,...n}=t,[o,i]=g.useState(!1);Bz(()=>i(!0),[]);const c=r||o&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return c?sj.createPortal(a.jsx(Vz.div,{...n,ref:e}),c):null});q9.displayName=Uz;function $z(t,e){return g.useReducer((r,n)=>e[r][n]??r,t)}var D9=t=>{const{present:e,children:r}=t,n=Gz(e),o=typeof r=="function"?r({present:n.isPresent}):g.Children.only(r),i=_9(n.ref,Wz(o));return typeof r=="function"||n.isPresent?g.cloneElement(o,{ref:i}):null};D9.displayName="Presence";function Gz(t){const[e,r]=g.useState(),n=g.useRef(null),o=g.useRef(t),i=g.useRef("none"),c=t?"mounted":"unmounted",[l,d]=$z(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const h=a1(n.current);i.current=l==="mounted"?h:"none"},[l]),m9(()=>{const h=n.current,u=o.current;if(u!==t){const y=i.current,f=a1(h);t?d("MOUNT"):f==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&y!==f?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,d]),m9(()=>{if(e){let h;const u=e.ownerDocument.defaultView??window,p=f=>{const m=a1(n.current).includes(CSS.escape(f.animationName));if(f.target===e&&m&&(d("ANIMATION_END"),!o.current)){const x=e.style.animationFillMode;e.style.animationFillMode="forwards",h=u.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=x)})}},y=f=>{f.target===e&&(i.current=a1(n.current))};return e.addEventListener("animationstart",y),e.addEventListener("animationcancel",p),e.addEventListener("animationend",p),()=>{u.clearTimeout(h),e.removeEventListener("animationstart",y),e.removeEventListener("animationcancel",p),e.removeEventListener("animationend",p)}}else d("ANIMATION_END")},[e,d]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:g.useCallback(h=>{n.current=h?getComputedStyle(h):null,r(h)},[])}}function a1(t){return(t==null?void 0:t.animationName)||"none"}function Wz(t){var n,o;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(o=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:o.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var Zz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Yc=Zz.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),fC=0;function Vj(){g.useEffect(()=>{const t=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",t[0]??tL()),document.body.insertAdjacentElement("beforeend",t[1]??tL()),fC++,()=>{fC===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),fC--}},[])}function tL(){const t=document.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.outline="none",t.style.opacity="0",t.style.position="fixed",t.style.pointerEvents="none",t}var da=function(){return da=Object.assign||function(e){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},da.apply(this,arguments)};function hA(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]]);return r}function Xz(t,e,r){if(r||arguments.length===2)for(var n=0,o=e.length,i;n<o;n++)(i||!(n in e))&&(i||(i=Array.prototype.slice.call(e,0,n)),i[n]=e[n]);return t.concat(i||Array.prototype.slice.call(e))}var r9="right-scroll-bar-position",n9="width-before-scroll-bar",Jz="with-scroll-bars-hidden",Yz="--removed-body-scroll-bar-size";function xC(t,e){return typeof t=="function"?t(e):t&&(t.current=e),t}function Kz(t,e){var r=j.useState(function(){return{value:t,callback:e,facade:{get current(){return r.value},set current(n){var o=r.value;o!==n&&(r.value=n,r.callback(n,o))}}}})[0];return r.callback=e,r.facade}var Qz=typeof window<"u"?g.useLayoutEffect:g.useEffect,aL=new WeakMap;function eF(t,e){var r=Kz(null,function(n){return t.forEach(function(o){return xC(o,n)})});return Qz(function(){var n=aL.get(r);if(n){var o=new Set(n),i=new Set(t),c=r.current;o.forEach(function(l){i.has(l)||xC(l,null)}),i.forEach(function(l){o.has(l)||xC(l,c)})}aL.set(r,t)},[t]),r}function tF(t){return t}function aF(t,e){e===void 0&&(e=tF);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:t},useMedium:function(i){var c=e(i,n);return r.push(c),function(){r=r.filter(function(l){return l!==c})}},assignSyncMedium:function(i){for(n=!0;r.length;){var c=r;r=[],c.forEach(i)}r={push:function(l){return i(l)},filter:function(){return r}}},assignMedium:function(i){n=!0;var c=[];if(r.length){var l=r;r=[],l.forEach(i),c=r}var d=function(){var u=c;c=[],u.forEach(i)},h=function(){return Promise.resolve().then(d)};h(),r={push:function(u){c.push(u),h()},filter:function(u){return c=c.filter(u),r}}}};return o}function rF(t){t===void 0&&(t={});var e=aF(null);return e.options=da({async:!0,ssr:!1},t),e}var uA=function(t){var e=t.sideCar,r=hA(t,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=e.read();if(!n)throw new Error("Sidecar medium not found");return g.createElement(n,da({},r))};uA.isSideCarExport=!0;function nF(t,e){return t.useMedium(e),uA}var pA=rF(),kC=function(){},z9=g.forwardRef(function(t,e){var r=g.useRef(null),n=g.useState({onScrollCapture:kC,onWheelCapture:kC,onTouchMoveCapture:kC}),o=n[0],i=n[1],c=t.forwardProps,l=t.children,d=t.className,h=t.removeScrollBar,u=t.enabled,p=t.shards,y=t.sideCar,f=t.noRelative,k=t.noIsolation,m=t.inert,x=t.allowPinchZoom,v=t.as,w=v===void 0?"div":v,C=t.gapMode,M=hA(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),b=y,N=eF([r,e]),L=da(da({},M),o);return g.createElement(g.Fragment,null,u&&g.createElement(b,{sideCar:pA,removeScrollBar:h,shards:p,noRelative:f,noIsolation:k,inert:m,setCallbacks:i,allowPinchZoom:!!x,lockRef:r,gapMode:C}),c?g.cloneElement(g.Children.only(l),da(da({},L),{ref:N})):g.createElement(w,da({},L,{className:d,ref:N}),l))});z9.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};z9.classNames={fullWidth:n9,zeroRight:r9};var oF=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function iF(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=oF();return e&&t.setAttribute("nonce",e),t}function sF(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function cF(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var lF=function(){var t=0,e=null;return{add:function(r){t==0&&(e=iF())&&(sF(e,r),cF(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},dF=function(){var t=lF();return function(e,r){g.useEffect(function(){return t.add(e),function(){t.remove()}},[e&&r])}},yA=function(){var t=dF(),e=function(r){var n=r.styles,o=r.dynamic;return t(n,o),null};return e},hF={left:0,top:0,right:0,gap:0},gC=function(t){return parseInt(t||"",10)||0},uF=function(t){var e=window.getComputedStyle(document.body),r=e[t==="padding"?"paddingLeft":"marginLeft"],n=e[t==="padding"?"paddingTop":"marginTop"],o=e[t==="padding"?"paddingRight":"marginRight"];return[gC(r),gC(n),gC(o)]},pF=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return hF;var e=uF(t),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,n-r+e[2]-e[0])}},yF=yA(),qs="data-scroll-locked",mF=function(t,e,r,n){var o=t.left,i=t.top,c=t.right,l=t.gap;return r===void 0&&(r="margin"),`
7757
7757
  .`.concat(Jz,` {
7758
7758
  overflow: hidden `).concat(n,`;
7759
7759
  padding-right: `).concat(l,"px ").concat(n,`;
@@ -7797,28 +7797,28 @@ React keys must be passed directly to JSX without using spread:
7797
7797
 
7798
7798
  If you want to hide the \`${e.titleName}\`, you can wrap it with our VisuallyHidden component.
7799
7799
 
7800
- For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return g.useEffect(()=>{t&&(document.getElementById(t)||console.error(r))},[r,t]),null},VF="DialogDescriptionWarning",BF=({contentRef:t,descriptionId:e})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${qA(VF).contentName}}.`;return g.useEffect(()=>{var i;const o=(i=t.current)==null?void 0:i.getAttribute("aria-describedby");e&&o&&(document.getElementById(e)||console.warn(n))},[n,t,e]),null},DA=wA,UF=bA,zA=jA,Wj=SA,Zj=LA,Xj=NA,Jj=PA,Yj=RA;function O9(t,e){if(t==null)return{};var r={},n=Object.keys(t),o,i;for(i=0;i<n.length;i++)o=n[i],!(e.indexOf(o)>=0)&&(r[o]=t[o]);return r}var $F=["color"],GF=j.forwardRef(function(t,e){var r=t.color,n=r===void 0?"currentColor":r,o=O9(t,$F);return j.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:e}),j.createElement("path",{d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))}),WF=["color"],FA=j.forwardRef(function(t,e){var r=t.color,n=r===void 0?"currentColor":r,o=O9(t,WF);return j.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:e}),j.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))}),ZF=["color"],XF=j.forwardRef(function(t,e){var r=t.color,n=r===void 0?"currentColor":r,o=O9(t,ZF);return j.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:e}),j.createElement("path",{d:"M3.13523 8.84197C3.3241 9.04343 3.64052 9.05363 3.84197 8.86477L7.5 5.43536L11.158 8.86477C11.3595 9.05363 11.6759 9.04343 11.8648 8.84197C12.0536 8.64051 12.0434 8.32409 11.842 8.13523L7.84197 4.38523C7.64964 4.20492 7.35036 4.20492 7.15803 4.38523L3.15803 8.13523C2.95657 8.32409 2.94637 8.64051 3.13523 8.84197Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))}),JF=["color"],YF=j.forwardRef(function(t,e){var r=t.color,n=r===void 0?"currentColor":r,o=O9(t,JF);return j.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:e}),j.createElement("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))});const Js=DA,KF=zA,EA=g.forwardRef(({className:t,...e},r)=>a.jsx(Wj,{ref:r,className:le("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...e}));EA.displayName=Wj.displayName;const as=g.forwardRef(({className:t,children:e,...r},n)=>a.jsxs(KF,{children:[a.jsx(EA,{}),a.jsxs(Zj,{ref:n,className:le("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t),...r,children:[e,a.jsxs(Yj,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[a.jsx(YF,{className:"h-4 w-4"}),a.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));as.displayName=Zj.displayName;const Ys=({className:t,...e})=>a.jsx("div",{className:le("flex flex-col space-y-1.5 text-center sm:text-left",t),...e});Ys.displayName="DialogHeader";const rs=({className:t,...e})=>a.jsx("div",{className:le("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...e});rs.displayName="DialogFooter";const ns=g.forwardRef(({className:t,...e},r)=>a.jsx(Xj,{ref:r,className:le("text-lg font-semibold leading-none tracking-tight",t),...e}));ns.displayName=Xj.displayName;const OA=g.forwardRef(({className:t,...e},r)=>a.jsx(Jj,{ref:r,className:le("text-sm text-muted-foreground",t),...e}));OA.displayName=Jj.displayName;var QF="Label",HA=g.forwardRef((t,e)=>a.jsx(Qi.label,{...t,ref:e,onMouseDown:r=>{var o;r.target.closest("button, input, select, textarea")||((o=t.onMouseDown)==null||o.call(t,r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));HA.displayName=QF;var VA=HA;const eE=j9("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ye=g.forwardRef(({className:t,...e},r)=>a.jsx(VA,{ref:r,className:le(eE(),t),...e}));ye.displayName=VA.displayName;const tE=1,aE=1e6;let wC=0;function rE(){return wC=(wC+1)%Number.MAX_SAFE_INTEGER,wC.toString()}const MC=new Map,sL=t=>{if(MC.has(t))return;const e=setTimeout(()=>{MC.delete(t),o9({type:"REMOVE_TOAST",toastId:t})},aE);MC.set(t,e)},nE=(t,e)=>{switch(e.type){case"ADD_TOAST":return{...t,toasts:[e.toast,...t.toasts].slice(0,tE)};case"UPDATE_TOAST":return{...t,toasts:t.toasts.map(r=>r.id===e.toast.id?{...r,...e.toast}:r)};case"DISMISS_TOAST":{const{toastId:r}=e;return r?sL(r):t.toasts.forEach(n=>{sL(n.id)}),{...t,toasts:t.toasts.map(n=>n.id===r||r===void 0?{...n,open:!1}:n)}}case"REMOVE_TOAST":return e.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(r=>r.id!==e.toastId)}}},oE=[];let bC={toasts:[]};function o9(t){bC=nE(bC,t),oE.forEach(e=>{e(bC)})}function cL({...t}){const e=rE(),r=o=>o9({type:"UPDATE_TOAST",toast:{...o,id:e}}),n=()=>o9({type:"DISMISS_TOAST",toastId:e});return o9({type:"ADD_TOAST",toast:{...t,id:e,open:!0,onOpenChange:o=>{o||n()}}}),{id:e,dismiss:n,update:r}}const iE=new Set([200,201,202,204]);function sE(t){return t===400?"BAD_REQUEST":t===401?"UNAUTHORIZED":t===403?"FORBIDDEN":t===404?"NOT_FOUND":t===409?"CONFLICT":t===429?"RATE_LIMITED":t>=500?"SERVER":"UNKNOWN"}function cE(t){if(t.friendly)return t.friendly;switch(t.code){case"TIMEOUT":return"The request took too long. Please try again.";case"NETWORK":return"You appear to be offline or the server can’t be reached.";case"RATE_LIMITED":return"Too many requests. Please wait a moment and try again.";case"SERVER":return"The server had an issue. Please try again shortly.";case"CONFLICT":return"This email may already be subscribed.";case"BAD_REQUEST":return"Please check your input and try again.";case"UNAUTHORIZED":return"Please sign in to continue.";default:return"Something went wrong. Please try again."}}async function lE(t,e){const{timeoutMs:r=12e3,...n}=e??{},o=new AbortController,i=setTimeout(()=>o.abort(),r);try{const c=await fetch(t,{...n,signal:o.signal});if(iE.has(c.status)){if(c.status===204)return{ok:!0,data:void 0};const u=await c.text();return{ok:!0,data:u?JSON.parse(u):void 0}}let l=null;try{l=await c.json()}catch{}return{ok:!1,error:{code:sE(c.status),status:c.status,message:(l==null?void 0:l.message)||`${c.status} ${c.statusText}`,details:l}}}catch(c){const l=(c==null?void 0:c.name)==="AbortError";return{ok:!1,error:{code:l?"TIMEOUT":"NETWORK",message:l?"Request aborted by timeout":(c==null?void 0:c.message)||"Network error"}}}finally{clearTimeout(i)}}function dE({open:t,onOpenChange:e,onSubscriptionSuccess:r,searchQuery:n,filters:o,apiUrl:i="http://localhost:5147"}){const[c,l]=j.useState(""),[d,h]=j.useState(!1),[u,p]=j.useState(null),y=async f=>{if(f.preventDefault(),p(null),!c||!c.includes("@")){p("Please enter a valid email address.");return}h(!0);try{const k=await lE(`${i}/api/leads`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:c,source:"filters_modal",utmCampaign:"jobs_filters",utmMedium:"ui",utmSource:"subscription_modal"}),timeoutMs:1e4});if(!k.ok){p(cE(k.error)),cL({title:"Subscription failed",description:k.error.message});return}localStorage.setItem("leadId",k.data.id),localStorage.setItem("email",c),cL({title:"You're subscribed",description:`We'll notify you at ${c} when new jobs match your criteria.`}),r==null||r(),l("")}finally{h(!1)}};return a.jsx(Js,{open:t,onOpenChange:e,children:a.jsxs(as,{className:"sm:max-w-md",children:[a.jsxs(Ys,{children:[a.jsxs(ns,{className:"flex items-center gap-2",children:[a.jsx(ks,{className:"h-5 w-5 text-orange-500"}),"Create Job Alert"]}),a.jsx(OA,{children:"Subscribe to get notified when new jobs matching your search criteria are posted."})]}),a.jsxs("form",{onSubmit:y,className:"space-y-4",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"email",children:"Email address"}),a.jsxs("div",{className:"relative",children:[a.jsx(ya,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),a.jsx(Ke,{id:"email",type:"email",placeholder:"Enter your email address",value:c,onChange:f=>l(f.target.value),className:"pl-10",required:!0,"aria-invalid":!!u,"aria-describedby":u?"email-error":void 0})]}),u&&a.jsx("p",{id:"email-error",role:"alert",className:"text-sm text-red-600",children:u})]}),n&&a.jsxs("div",{className:"rounded-lg bg-muted p-3 text-sm",children:[a.jsx("p",{className:"font-medium",children:"Alert criteria:"}),a.jsxs("p",{className:"text-muted-foreground",children:['"',n,'"']})]}),a.jsxs(rs,{className:"gap-2 sm:gap-0",children:[a.jsx($,{type:"button",variant:"outline",onClick:()=>e(!1),disabled:d,children:"Cancel"}),a.jsx($,{type:"submit",disabled:d,children:d?"Creating Alert...":"Create Alert"})]})]})]})})}function BA(){const t="savedJobs",[e,r]=j.useState([]);return j.useEffect(()=>{try{const i=localStorage.getItem(t);i&&r(JSON.parse(i))}catch(i){console.error("Failed to load saved jobs:",i)}},[]),{savedJobs:e,toggleJob:i=>{r(c=>{const d=c.includes(i)?c.filter(h=>h!==i):[...c,i];try{localStorage.setItem(t,JSON.stringify(d))}catch(h){console.error("Failed to persist saved jobs:",h)}return d})},isSaved:i=>i?e.includes(i):!1}}const hE=6,uE=({apiUrl:t,itemsPerPage:e=12,filterKeys:r,banner:n,enableMobileFilter:o=!0,cardType:i,dateField:c="created_at",dateFieldLabel:l="Published",searchableFilters:d=["companies"],notification_url:h="http://localhost:5147",userAccess:u,onEmitEvent:p,eventContext:y})=>{var lt;const[f,k]=j.useState([]),[m,x]=j.useState([]),[v,w]=j.useState([]),[C,M]=j.useState(1),[b,N]=j.useState({}),[L,A]=j.useState([]),[I,q]=j.useState({}),[P,_]=j.useState(""),[R,U]=j.useState([]),[W,V]=j.useState(!1),[O,E]=j.useState(e),[Q,de]=j.useState("grid"),[ee,te]=j.useState(!1),[Me,ge]=j.useState([]),[ae,he]=j.useState(!0),[B,X]=j.useState(null),[J,ne]=j.useState("all"),[pe,se]=j.useState(!1),[Te,Se]=j.useState(!1),[We,rt]=j.useState({jobTypes:[],experienceLevels:[],country:"",city:"",location:"",minSalary:"",maxSalary:"",industry:""}),[st,Tt]=j.useState({open:!1,type:"info",message:""}),{savedJobs:ze,toggleJob:Ze}=BA(),Mt=P9(u),qt=j.useMemo(()=>({component:"Listing",...y??{}}),[y]),qe=j.useCallback((z,Z)=>{p&&p({domain:"jobs",name:z,payload:Z,timestamp:new Date().toISOString(),context:qt})},[qt,p]),Dt=j.useCallback(()=>({filters:{...b},advancedFilters:We,dateFilter:J}),[b,J,We]),pt=j.useCallback(()=>({page:C,pageSize:O,totalResults:m.length,viewMode:Q,showOnlySaved:ee}),[C,m.length,O,ee,Q]),ra=j.useRef(!1),D=(z,Z)=>{Tt({open:!0,type:z,message:Z})};j.useEffect(()=>{try{const z=localStorage.getItem("lastVisitedJobs");z&&ge(JSON.parse(z));try{localStorage.getItem("email")&&Se(!0)}catch(Z){console.error("Error checking subscription state:",Z)}}catch(z){console.error("Error loading data from localStorage:",z)}},[]),j.useEffect(()=>{const Z=new URLSearchParams(window.location.search).get("date_filter");if(Z&&Z!=="all"){ne(Z);const oe=jt(f,b,L,Z);x(oe),M(1),F(oe)}},[f]),j.useEffect(()=>{if(!t){X("❌ Missing API URL for Listing component!"),he(!1);return}he(!0),X(null),(async()=>{try{const Z=await fetch(t);if(!Z.ok)throw new Error(`API responded with status: ${Z.status}`);const oe=await Z.json();if(!Array.isArray(oe))throw new Error("Expected an array but received: "+typeof oe);const S=oe.map((K,fe)=>({...K,sponsored:fe%7===0,topTag:Fj(K.title||"")})),T=Array.from(new Set(S.map(K=>K.topTag).filter(K=>typeof K=="string"))).slice(0,10);w(T),k(S),x(S);const G=qc(S,r);q(G)}catch(Z){console.error("Error fetching data:",Z),X(`Failed to load data: ${Z instanceof Error?Z.message:String(Z)}`);const oe=YD(20);k(oe),x(oe);const S=qc(oe,r);q(S)}finally{he(!1)}})()},[t]),j.useEffect(()=>{const z=new URLSearchParams(window.location.search),Z={};r.forEach(T=>{const G=z.get(T);G&&(Z[T]=G)}),N(Z);const oe=z.get("q")||z.get("searchTerm")||"";oe&&(_(oe),is(oe));const S={};r.forEach(T=>{const G=z.get(T);G&&(S[T]=G)}),N(S)},[]),j.useEffect(()=>{if(ee){const z=f.filter(Z=>ze.includes(Z.id||Z.slug||Z.link));x(z),M(1)}else{let z=f;z=jt(z,b,L,J),z=sz(z,We),x(z)}},[ee,ze,f,b,L,J,We]),j.useEffect(()=>{ra.current||ae||!m.length&&!f.length||(qe("jobs_listing_viewed",{...Dt(),...pt()}),ra.current=!0)},[f.length,qe,m.length,Dt,pt,ae]);const F=z=>{const Z=qc(z,r);q(Z)},re=(z,Z)=>{const oe={...b};Z?oe[z]=Z:delete oe[z],ee&&te(!1);const S=jt(f,oe,L,J);N(oe),x(S),M(1),F(S);const T={...Dt(),filters:oe};Z?qe("jobs_filter_selected",{key:z,value:Z,...T}):qe("jobs_filter_cleared",{key:z,...T})},be=()=>{Se(!0),oa().then(()=>se(!1))},Ae=j.useRef(null),Qe=z=>{M(z),qe("jobs_listing_page_changed",{page:z,pageSize:O,totalResults:m.length}),setTimeout(()=>{var Z;(Z=Ae.current)==null||Z.scrollIntoView({behavior:"smooth",block:"start"})},100)},Oe=z=>{ee&&te(!1),ne(z),Wt(z),rA(z),qe("jobs_date_filter_changed",{dateFilter:z})},Wt=z=>{const Z=jt(f,b,L,z);x(Z),M(1),F(Z)},os=z=>{if(_(z),z){const Z=f.map(oe=>oe.title).filter((oe,S,T)=>oe&&oe.toLowerCase().includes(z.toLowerCase())&&T.indexOf(oe)===S).slice(0,5);U(Z)}else U([])},is=z=>{if(!z.trim())return;ee&&te(!1);const Z=[...L,z.trim()];A(Z);const oe=jt(f,b,Z,J);x(oe),M(1),F(oe),_(""),qe("jobs_search_submitted",{searchKeywords:Z,query:z.trim(),...Dt()})},tc=z=>{const Z=L.filter(S=>S!==z);A(Z);const oe=jt(f,b,Z,J);x(oe),M(1),F(oe),qe("jobs_search_filter_removed",{removedKeyword:z,remainingKeywords:Z})},ss=()=>{rt({jobTypes:[],experienceLevels:[],country:"",city:"",location:"",minSalary:"",maxSalary:"",industry:""});const z=jt(f,b,L,J);x(z),M(1),F(z)},Ea=()=>{N({}),A([]),te(!1),ne("all"),ss(),x(f),M(1),F(f),qe("jobs_filters_cleared_all",{})},cs=z=>{const Z=new Set,oe=[];for(const S of z){const T=`${S.key??""}|${S.value.toLowerCase()}`;Z.has(T)||(Z.add(T),oe.push(S))}return oe},na=z=>z.replace(/\/+$/,""),oa=async()=>{if(qe("jobs_alert_cta_clicked",{searchKeywords:L,query:P.trim()||void 0,...Dt()}),!Te)se(!0),qe("jobs_subscription_modal_opened",{});else{const z=localStorage.getItem("email"),Z=localStorage.getItem("leadId");if(!z||!Z){D("info","Please subscribe first to create alerts.");return}const oe="keyword",S=(ie,ce)=>ce&&ce.trim()?{key:ie.toLowerCase(),value:ce.trim()}:null,T=Object.entries(b).map(([ie,ce])=>S(ie,ce)).filter(ie=>ie!==null),G=L.map(ie=>S(oe,ie)).filter(ie=>ie!==null),K=S(oe,P),fe=K?[K]:[],xe=cs([...T,...G,...fe]);if(xe.length===0){D("info","No filters/keywords to save.");return}try{const ie=na(h??"http://localhost:5147"),ce=await fetch(`${ie}/api/leads/${Z}/preferences/bulk`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(xe)});if(!ce.ok){let Xe="";try{Xe=await ce.text()}catch{}throw new Error(`${ce.status} ${ce.statusText} ${Xe}`.trim())}D("success","Alert saved. We’ll notify you about new matching jobs."),_(""),qe("jobs_alert_created",{preferences:xe.filter(Xe=>Xe!==null)})}catch(ie){console.error("Create alert failed:",ie),D("error","Failed to save alert.")}}},wa=()=>{V(!W)},H=m.length===0?0:(C-1)*O+1,Y=Math.min(C*O,m.length),me=z=>{E(z),M(1),qe("jobs_listing_items_per_page_changed",{pageSize:z})},Ie=()=>{de(z=>{const Z=z==="grid"?"list":"grid";return qe("jobs_listing_viewmode_changed",{viewMode:Z}),Z})},Be=(z,Z,oe="same_tab",S="listing")=>{const T=z.id||z.slug||z.link;T&&(ge(G=>{const K=G.filter(xe=>(xe.id||xe.slug||xe.link)!==T),fe=[z,...K].slice(0,hE);try{localStorage.setItem("lastVisitedJobs",JSON.stringify(fe))}catch(xe){console.error("Error saving to localStorage:",xe)}return fe}),qe("job_opened",{jobId:T,slug:z.slug,positionInList:Z,openedFrom:S,openedIn:oe}))},Ma=(z,Z)=>{const oe=z.id||z.slug||z.link;if(!oe)return;const S=ze.includes(oe);Ze(oe),qe(S?"job_unsaved":"job_saved",{jobId:oe,slug:z.slug,positionInList:Z})},nt=(z,Z,oe="external")=>{const S=z.id||z.slug||z.link;S&&qe("job_apply_clicked",{jobId:S,slug:z.slug,positionInList:Z,applyType:oe})},ct=()=>{te(!ee)},Oa=Math.ceil(m.length/O),Ue=m.slice((C-1)*O,C*O);return B&&!f.length?a.jsx("div",{className:"flex-grow p-8",children:a.jsx("div",{className:"max-w-7xl mx-auto",children:a.jsxs("div",{className:"bg-red-50 border border-red-200 text-red-800 rounded-lg p-6",children:[a.jsx("h2",{className:"text-lg font-semibold mb-2",children:"Error Loading Jobs"}),a.jsx("p",{className:"mb-4",children:B}),a.jsx("button",{onClick:()=>window.location.reload(),className:"bg-red-100 hover:bg-red-200 text-red-800 font-medium py-2 px-4 rounded",children:"Retry"})]})})}):a.jsxs("div",{className:"flex flex-col min-h-screen pb-16 md:pb-0",children:[a.jsxs("div",{className:"flex-grow",children:[a.jsx(zj,{onSearchChange:os,searchPlaceholder:"Search jobs, companies, or keywords...",title:"Job Listings",description:"",popularTags:v,generateHref:z=>`/jobs?q=${z.toLowerCase().replace(/\s+/g,"+")}`}),a.jsxs("div",{className:"container mx-auto py-8 pb-20 md:pb-8",children:[a.jsxs("div",{className:"relative",children:[a.jsxs("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:[a.jsx(Dj,{data:f.map(z=>z.title).filter(Boolean),onSelect:z=>{is(z)},onTyping:z=>{_(z),os(z)},placeholder:"Search for jobs, companies, or keywords...",className:"w-full",showSubmitButton:!0}),a.jsx("button",{className:"block md:hidden flex items-center justify-center p-3 bg-white border-2 border-gray-200 text-gray-700 rounded-xl hover:border-gray-300 hover:bg-gray-50 transition-all duration-200 focus:ring-4 focus:ring-gray-200 focus:outline-none hover:scale-105",onClick:wa,children:a.jsx(Ya,{size:16,className:"mr-1.5"})})]}),a.jsx("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:a.jsx(Ej,{filters:[...J!=="all"?[{key:"date",label:l,value:J.replace(/_/g," "),onRemove:()=>Oe("all")}]:[],...L.map(z=>({key:"search",label:"",value:z,onRemove:()=>tc(z)})),...Object.entries(b).map(([z,Z])=>({key:z,label:z.replace(/_/g," "),value:Z,onRemove:()=>re(z,"")}))],onClearAll:Ea,handleCreateAlert:oa})})]}),o&&a.jsxs("button",{className:"md:hidden w-full mb-6 px-4 py-3 bg-yellow-600 text-white rounded-lg flex items-center justify-center",onClick:wa,"aria-expanded":W,children:[a.jsx(Ya,{className:"w-4 h-4 mr-2"}),W?"Close Filters":"Filters"]}),a.jsxs("div",{className:"flex flex-col lg:flex-row lg:gap-6",children:[a.jsx(nA,{dateFieldLabel:"Date",activeDateFilter:J,onDateFilterChange:Oe,filterKeys:r,searchableFilters:d,filtersData:I,activeFilters:b,handleFilterChange:re,toggleSavedJobsFilter:ct,showOnlySaved:ee,savedJobs:ze}),ae?a.jsx(qj,{}):a.jsxs("div",{className:"lg:gap-6",children:[a.jsx(Oj,{viewMode:Q,onToggleViewMode:Ie,selectedItemsPerPage:O,onItemsPerPageChange:me,totalCount:m.length,startIndex:H,endIndex:Y,title:"Latest Jobs"}),a.jsxs("div",{className:"",children:[a.jsx("div",{className:"mb-6",children:a.jsxs("div",{className:"flex flex-row items-center justify-between",children:[a.jsxs("h3",{className:"text-xl font-semibold text-gray-900 flex items-center",children:[ee?"Saved Jobs":"Open Positions",J!=="all"&&!ee&&a.jsxs("span",{className:"text-sm font-normal text-gray-500 ml-2",children:["(",J.replace(/_/g," "),")"]})]}),a.jsxs("p",{className:"text-sm text-gray-600",children:[a.jsx("span",{className:"font-semibold text-gray-900",children:m.length})," found"]})]})}),a.jsx(nz,{items:Ue,cardType:i,viewMode:Q,savedJobs:ze,onSaveJob:Ma,onViewJob:Be,onApplyJob:nt,firstItemRef:Ae,userAccess:Mt}),m.length>0&&a.jsx("div",{className:"mt-6",children:a.jsx(Hj,{currentPage:C,totalPages:Oa,onPageChange:Qe})})]}),Me.length>0&&a.jsx("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:a.jsx(oz,{jobs:Me,onViewJob:Be})})]}),a.jsx("div",{className:"hidden lg:block lg:w-1/4 space-y-6",children:((lt=n==null?void 0:n.sidebar)==null?void 0:lt.enabled)&&a.jsxs("div",{className:"sticky top-4",children:[a.jsx($c,{position:"sidebar",url:n.sidebar.url,link:n.sidebar.link,alt:n.sidebar.alt}),a.jsx(Rj,{api_url:h}),a.jsxs("div",{className:"mt-6 bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[a.jsx("h3",{className:"font-semibold text-lg mb-3",children:"Featured Employers"}),a.jsx("div",{className:"grid grid-cols-3 gap-2",children:[...Array(6)].map((z,Z)=>a.jsx("div",{className:"flex items-center justify-center p-2 bg-gray-50 rounded-md",children:a.jsx("img",{src:`/placeholder.svg?height=40&width=40&text=${String.fromCharCode(65+Z)}`,alt:`Featured employer ${Z+1}`,className:"w-10 h-10 object-contain"})},Z))})]})]})})]})]})]}),a.jsx(aA,{activeDateFilter:J,handleDateFilterChange:Oe,filterKeys:r,searchableFilters:d,dateFieldLabel:l,activeFilters:b,handleFilterChange:re,toggleSavedJobsFilter:ct,filtersData:I,savedJobs:ze,showOnlySaved:ee,isMobileFilterOpen:W,toggleMobileFilter:wa}),a.jsx(eA,{savedJobsCount:ze.length}),a.jsx(KN,{open:st.open,type:st.type,message:st.message,onClose:()=>Tt(z=>({...z,open:!1}))}),a.jsx(dE,{open:pe,onOpenChange:se,onSubscriptionSuccess:be,apiUrl:h})]})};function lL(t=window.location.pathname){const e=t.replace(/^\/+|\/+$/g,"").split("/"),r=e.findIndex(o=>o.toLowerCase()==="jobs");if(r===-1)return null;const n=e[r+1];return n?decodeURIComponent(n):null}function pE(){const[t,e]=j.useState(()=>lL());return j.useEffect(()=>{const r=()=>e(lL());return window.addEventListener("popstate",r),()=>window.removeEventListener("popstate",r)},[]),t}function dL(t){window.location.assign(t)}function hL(t){window.history.length>1?window.history.back():window.location.assign(t)}function yE(t){const e=UA,r=t??{};return{id:r.id??e.id,title:r.title??e.title,company:r.company??e.company,companyLogo:r.companyLogo??e.companyLogo,location:r.location??e.location,salary:r.salary??void 0,jobType:r.jobType??e.jobType,experienceLevel:r.experienceLevel??e.experienceLevel,department:r.department??e.department,postedDate:r.postedDate??e.postedDate,applicationDeadline:r.applicationDeadline??void 0,description:r.description??e.description,requirements:Array.isArray(r.requirements)?r.requirements:[],responsibilities:Array.isArray(r.responsibilities)?r.responsibilities:[],benefits:Array.isArray(r.benefits)?r.benefits:[],skills:Array.isArray(r.skills)?r.skills:[],companyDescription:r.companyDescription??"",companySize:r.companySize??void 0,companyWebsite:r.companyWebsite??void 0,contactEmail:r.contactEmail??void 0,contactPhone:r.contactPhone??void 0,isRemote:r.isRemote??!1,isUrgent:r.isUrgent??!1,isFeatured:r.isFeatured??!1,applicationUrl:r.applicationUrl??void 0,viewCount:r.viewCount??void 0,applicantCount:r.applicantCount??void 0}}function mE(t){return!Array.isArray(t)||t.length===0?$A:t.map(e=>({id:e.id??"unknown",title:e.title??"Untitled",company:e.company??"",location:e.location??"",salary:e.salary??void 0,postedDate:e.postedDate??new Date().toISOString().slice(0,10)}))}const UA={id:"1",title:"Senior Game Developer",company:"Wazdan",companyLogo:"https://images.pexels.com/photos/3184291/pexels-photo-3184291.jpeg?auto=compress&cs=tinysrgb&w=100",location:"Malta",salary:"€80,000 - €120,000",jobType:"Full-time",experienceLevel:"Senior Level",department:"Engineering",postedDate:"2025-01-15",applicationDeadline:"2025-02-15",description:"We are seeking a talented Senior Game Developer to join our innovative team at Wazdan...",requirements:["5+ years of experience in game development","Strong proficiency in C# and Unity","Experience with HTML5 and JavaScript","Knowledge of casino game mechanics","Understanding of RNG and game mathematics","Experience with version control systems (Git)","Strong problem-solving skills","Excellent communication skills in English"],responsibilities:["Design and develop high-quality casino games","Implement game features and mechanics","Optimize game performance across multiple platforms","Collaborate with artists and designers on game assets","Write clean, maintainable, and well-documented code","Participate in code reviews and technical discussions","Debug and resolve technical issues","Stay updated with industry trends and technologies"],benefits:["Competitive salary and performance bonuses","Health insurance coverage","Flexible working hours","Remote work options","Professional development opportunities","25 days paid vacation","Modern office in Malta","Team building events and activities"],skills:["Unity","C#","JavaScript","HTML5","CSS3","Git","Agile","Game Design"],companyDescription:"Wazdan is a leading provider of innovative casino games...",companySize:"100-200 employees",companyWebsite:"https://wazdan.com",contactEmail:"careers@wazdan.com",contactPhone:"+356 2123 4567",isRemote:!1,isUrgent:!0,isFeatured:!0,applicationUrl:"https://wazdan.com/careers/apply",viewCount:1247,applicantCount:23},$A=[{id:"2",title:"Frontend Game Developer",company:"Pragmatic Play",location:"Malta",salary:"€60,000 - €80,000",postedDate:"2025-01-10"},{id:"3",title:"Unity Developer",company:"Evolution Gaming",location:"Remote",salary:"€70,000 - €90,000",postedDate:"2025-01-12"},{id:"4",title:"Game Developer",company:"NetEnt",location:"Stockholm",salary:"€65,000 - €85,000",postedDate:"2025-01-08"}],fE=({job:t=UA,similarJobs:e=$A})=>{var N;const r=pE(),[n,o]=j.useState(()=>mE(e)),[i,c]=j.useState(!1),[l,d]=j.useState(null),[h,u]=j.useState(!1),[p,y]=j.useState(!1),{savedJobs:f,toggleJob:k,isSaved:m}=BA(),x=yE(t);j.useEffect(()=>{(async()=>{c(!0);try{if(await new Promise(I=>setTimeout(I,300)),!r)throw new Error("Missing slug in URL.");o(n);const A=JSON.parse(localStorage.getItem("appliedJobs")||"[]");y(A.includes(r))}catch(A){d((A==null?void 0:A.message)||"Failed to load job details")}finally{c(!1)}})()},[r]);const v=()=>{r&&k(r)},w=()=>{if(!r)return;x!=null&&x.applicationUrl?window.open(x.applicationUrl,"_blank","noopener,noreferrer"):u(!0);const L=JSON.parse(localStorage.getItem("appliedJobs")||"[]");L.includes(r)||(L.push(r),localStorage.setItem("appliedJobs",JSON.stringify(L)),y(!0))},C=async()=>{if(navigator.share)try{await navigator.share({title:x==null?void 0:x.title,text:`Check out this job opportunity: ${x==null?void 0:x.title} at ${x==null?void 0:x.company}`,url:window.location.href})}catch(L){console.log("Error sharing:",L)}else navigator.clipboard.writeText(window.location.href),alert("Job URL copied to clipboard!")},M=L=>new Date(L).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),b=L=>{const A=new Date(L),q=Math.abs(new Date().getTime()-A.getTime());return Math.ceil(q/(1e3*60*60*24))};return i?a.jsx("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",children:a.jsxs("div",{className:"text-center",children:[a.jsx("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-blue-600 mx-auto"}),a.jsx("p",{className:"mt-4 text-gray-600",children:"Loading job details..."})]})}):l||!x?a.jsx("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",children:a.jsxs("div",{className:"text-center",children:[a.jsx(Jt,{className:"h-12 w-12 text-red-500 mx-auto mb-4"}),a.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-2",children:"Job Not Found"}),a.jsx("p",{className:"text-gray-600 mb-4",children:l||"The job you are looking for does not exist."}),a.jsx("button",{onClick:()=>hL("/jobs"),className:"bg-blue-600 text-white px-6 py-2 rounded-lg hover:bg-blue-700 transition-colors",children:"Back to Jobs"})]})}):a.jsxs("div",{className:"min-h-screen bg-gray-50",children:[a.jsx("div",{className:"bg-white border-b border-gray-200",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4",children:[a.jsxs("button",{onClick:()=>hL("/jobs"),className:"flex items-center text-gray-600 hover:text-gray-900 mb-4",children:[a.jsx(zi,{className:"h-4 w-4 mr-2"}),"Back to Jobs"]}),a.jsxs("div",{className:"flex flex-col lg:flex-row lg:items-start lg:justify-between",children:[a.jsx("div",{className:"flex-1",children:a.jsxs("div",{className:"flex items-start space-x-4",children:[x.companyLogo&&a.jsx("img",{src:x.companyLogo,alt:`${x.company} logo`,className:"w-16 h-16 rounded-lg object-cover border border-gray-200"}),a.jsxs("div",{className:"flex-1",children:[a.jsxs("div",{className:"flex items-center space-x-2 mb-2",children:[x.isUrgent&&a.jsx("span",{className:"bg-red-100 text-red-800 text-xs font-medium px-2 py-1 rounded-full",children:"Urgent"}),x.isFeatured&&a.jsx("span",{className:"bg-yellow-100 text-yellow-800 text-xs font-medium px-2 py-1 rounded-full",children:"Featured"})]}),a.jsx("h1",{className:"text-2xl lg:text-3xl font-bold text-gray-900 mb-2",children:x.title}),a.jsxs("div",{className:"flex flex-wrap items-center gap-4 text-gray-600",children:[a.jsxs("div",{className:"flex items-center",children:[a.jsx(uc,{className:"h-4 w-4 mr-1"}),a.jsx("span",{className:"font-medium",children:x.company})]}),a.jsxs("div",{className:"flex items-center",children:[a.jsx(Bt,{className:"h-4 w-4 mr-1"}),a.jsx("span",{children:x.location}),x.isRemote&&a.jsx("span",{className:"ml-1",children:"(Remote)"})]}),x.salary&&a.jsxs("div",{className:"flex items-center",children:[a.jsx(fc,{className:"h-4 w-4 mr-1"}),a.jsx("span",{children:x.salary})]}),a.jsxs("div",{className:"flex items-center",children:[a.jsx(Kt,{className:"h-4 w-4 mr-1"}),a.jsxs("span",{children:[b(x.postedDate)," days ago"]})]})]})]})]})}),a.jsxs("div",{className:"flex items-center space-x-3 mt-4 lg:mt-0",children:[a.jsxs("button",{onClick:v,className:`flex items-center px-4 py-2 rounded-lg border transition-colors ${m(x.id)?"bg-blue-50 border-blue-200 text-blue-700":"bg-white border-gray-300 text-gray-700 hover:bg-gray-50"}`,children:[a.jsx(Cs,{className:`h-4 w-4 mr-2 ${m(x.id)?"fill-current":""}`}),m(x.id)?"Saved":"Save Job"]}),a.jsxs("button",{onClick:C,className:"flex items-center px-4 py-2 bg-white border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 transition-colors",children:[a.jsx(Ns,{className:"h-4 w-4 mr-2"}),"Share"]}),a.jsx("button",{onClick:w,disabled:p,className:`flex items-center px-6 py-2 rounded-lg font-medium transition-colors ${p?"bg-green-100 text-green-800 cursor-not-allowed":"bg-blue-600 text-white hover:bg-blue-700"}`,children:p?a.jsxs(a.Fragment,{children:[a.jsx(St,{className:"h-4 w-4 mr-2"}),"Applied"]}):a.jsxs(a.Fragment,{children:[a.jsx(Oi,{className:"h-4 w-4 mr-2"}),"Apply Now"]})})]})]})]})}),a.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8",children:a.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:[a.jsxs("div",{className:"lg:col-span-2 space-y-8",children:[a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsxs("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-4 mb-6",children:[a.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[a.jsx(ft,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),a.jsx("p",{className:"text-sm text-gray-600",children:"Job Type"}),a.jsx("p",{className:"font-medium",children:x.jobType})]}),a.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[a.jsx(bs,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),a.jsx("p",{className:"text-sm text-gray-600",children:"Experience"}),a.jsx("p",{className:"font-medium",children:x.experienceLevel})]}),a.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[a.jsx(Ra,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),a.jsx("p",{className:"text-sm text-gray-600",children:"Department"}),a.jsx("p",{className:"font-medium",children:x.department})]}),a.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[a.jsx(pc,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),a.jsx("p",{className:"text-sm text-gray-600",children:"Deadline"}),a.jsx("p",{className:"font-medium text-sm",children:x.applicationDeadline?M(x.applicationDeadline):"Open"})]})]}),a.jsxs("div",{className:"flex items-center justify-between pt-4 border-t border-gray-200",children:[a.jsxs("div",{className:"flex items-center space-x-4 text-sm text-gray-600",children:[a.jsxs("span",{children:[x.viewCount," views"]}),a.jsxs("span",{children:[x.applicantCount," applicants"]})]}),a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx(Et,{className:"h-4 w-4 text-yellow-400 fill-current"}),a.jsx("span",{className:"text-sm text-gray-600",children:"4.8 company rating"})]})]})]}),a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Job Description"}),a.jsx("div",{className:"prose prose-gray max-w-none",children:a.jsx("p",{className:"text-gray-700 leading-relaxed whitespace-pre-line",children:x.description})})]}),a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Key Responsibilities"}),a.jsx("ul",{className:"space-y-3",children:(N=x.responsibilities)==null?void 0:N.map((L,A)=>a.jsxs("li",{className:"flex items-start",children:[a.jsx(St,{className:"h-5 w-5 text-green-500 mr-3 mt-0.5 flex-shrink-0"}),a.jsx("span",{className:"text-gray-700",children:L})]},A))})]}),a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Requirements"}),Array.isArray(x.requirements)?a.jsx("ul",{className:"space-y-3",children:x.requirements.map((L,A)=>a.jsxs("li",{className:"flex items-start",children:[a.jsx(St,{className:"h-5 w-5 text-blue-500 mr-3 mt-0.5 flex-shrink-0"}),a.jsx("span",{className:"text-gray-700",children:L})]},A))}):a.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:x.requirements})]}),a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Required Skills"}),Array.isArray(x.skills)?a.jsx("div",{className:"flex flex-wrap gap-2",children:x.skills.map((L,A)=>a.jsx("span",{className:"bg-blue-100 text-blue-800 text-sm font-medium px-3 py-1 rounded-full",children:L},A))}):a.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:x.skills})]}),a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Benefits & Perks"}),Array.isArray(x.benefits)?a.jsx("ul",{className:"space-y-3",children:x.benefits.map((L,A)=>a.jsxs("li",{className:"flex items-start",children:[a.jsx(St,{className:"h-5 w-5 text-green-500 mr-3 mt-0.5 flex-shrink-0"}),a.jsx("span",{className:"text-gray-700",children:L})]},A))}):a.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:x.benefits})]})]}),a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsxs("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:["About ",x.company]}),a.jsxs("div",{className:"space-y-4",children:[a.jsx("p",{className:"text-gray-700 text-sm leading-relaxed",children:x.companyDescription}),a.jsxs("div",{className:"space-y-2 text-sm",children:[x.companySize&&a.jsxs("div",{className:"flex items-center",children:[a.jsx(Ra,{className:"h-4 w-4 text-gray-400 mr-2"}),a.jsx("span",{className:"text-gray-600",children:x.companySize})]}),x.companyWebsite&&a.jsxs("div",{className:"flex items-center",children:[a.jsx(Ms,{className:"h-4 w-4 text-gray-400 mr-2"}),a.jsx("a",{href:x.companyWebsite,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:text-blue-800",children:"Visit Website"})]})]}),a.jsxs("div",{className:"pt-4 border-t border-gray-200",children:[a.jsx("h4",{className:"font-medium text-gray-900 mb-2",children:"Contact Information"}),a.jsxs("div",{className:"space-y-2 text-sm",children:[x.contactEmail&&a.jsxs("div",{className:"flex items-center",children:[a.jsx(ya,{className:"h-4 w-4 text-gray-400 mr-2"}),a.jsx("a",{href:`mailto:${x.contactEmail}`,className:"text-blue-600 hover:text-blue-800",children:x.contactEmail})]}),x.contactPhone&&a.jsxs("div",{className:"flex items-center",children:[a.jsx(Hi,{className:"h-4 w-4 text-gray-400 mr-2"}),a.jsx("a",{href:`tel:${x.contactPhone}`,className:"text-blue-600 hover:text-blue-800",children:x.contactPhone})]})]})]})]})]}),a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Ready to Apply?"}),a.jsxs("p",{className:"text-gray-600 text-sm mb-4",children:["Join ",x.company," and take your career to the next level in the exciting world of iGaming."]}),a.jsx("button",{onClick:w,disabled:p,className:`w-full flex items-center justify-center px-6 py-3 rounded-lg font-medium transition-colors ${p?"bg-green-100 text-green-800 cursor-not-allowed":"bg-blue-600 text-white hover:bg-blue-700"}`,children:p?a.jsxs(a.Fragment,{children:[a.jsx(St,{className:"h-5 w-5 mr-2"}),"Application Submitted"]}):a.jsxs(a.Fragment,{children:[a.jsx(Oi,{className:"h-5 w-5 mr-2"}),"Apply for this Position"]})}),!p&&a.jsxs("div",{className:"mt-4 flex items-center space-x-2",children:[a.jsxs("button",{onClick:v,className:`flex-1 flex items-center justify-center px-4 py-2 rounded-lg border transition-colors ${m(x.id)?"bg-blue-50 border-blue-200 text-blue-700":"bg-white border-gray-300 text-gray-700 hover:bg-gray-50"}`,children:[a.jsx(Pa,{className:`h-4 w-4 mr-2 ${m(x.id)?"fill-current":""}`}),m(x.id)?"Saved":"Save"]}),a.jsx("button",{className:"flex items-center justify-center p-2 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 transition-colors",children:a.jsx(kc,{className:"h-4 w-4"})})]})]}),a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Similar Jobs"}),a.jsx("div",{className:"space-y-4",children:n.map(L=>a.jsxs("div",{className:"border border-gray-200 rounded-lg p-4 hover:bg-gray-50 cursor-pointer transition-colors",onClick:()=>dL(`/jobs/${L.id}`),children:[a.jsx("h4",{className:"font-medium text-gray-900 mb-1",children:L.title}),a.jsx("p",{className:"text-sm text-gray-600 mb-2",children:L.company}),a.jsxs("div",{className:"flex items-center justify-between text-xs text-gray-500",children:[a.jsxs("div",{className:"flex items-center",children:[a.jsx(Bt,{className:"h-3 w-3 mr-1"}),a.jsx("span",{children:L.location})]}),a.jsxs("span",{children:[b(L.postedDate),"d ago"]})]}),L.salary&&a.jsx("p",{className:"text-sm font-medium text-blue-600 mt-2",children:L.salary})]},L.id))}),a.jsx("button",{onClick:()=>dL("/jobs"),className:"w-full mt-4 text-center text-blue-600 hover:text-blue-800 text-sm font-medium",children:"View All Jobs"})]})]})]})}),h&&a.jsx("div",{className:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center p-4 z-50",children:a.jsxs("div",{className:"bg-white rounded-lg max-w-md w-full p-6",children:[a.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Apply for this Position"}),a.jsx("p",{className:"text-gray-600 mb-4",children:"To apply for this position, please send your CV and cover letter to:"}),a.jsx("div",{className:"bg-gray-50 p-4 rounded-lg mb-4",children:a.jsx("p",{className:"font-medium",children:x.contactEmail})}),a.jsxs("div",{className:"flex space-x-3",children:[a.jsx("button",{onClick:()=>u(!1),className:"flex-1 px-4 py-2 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 transition-colors",children:"Close"}),a.jsx("button",{onClick:()=>{window.location.href=`mailto:${x.contactEmail}?subject=Application for ${x.title}&body=Dear Hiring Manager,%0D%0A%0D%0AI am interested in applying for the ${x.title} position at ${x.company}.%0D%0A%0D%0APlease find my CV attached.%0D%0A%0D%0ABest regards`,u(!1)},className:"flex-1 px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors",children:"Send Email"})]})]})})]})},xE=()=>a.jsx("div",{children:a.jsx("h2",{children:"Welcome to the Header!"})}),kE=({article:t,isBookmarked:e,onToggleBookmark:r,onShare:n,onOpenArticle:o,layout:i="card",userAccess:c,positionInList:l})=>{const[d,h]=j.useState(!1),u=m=>{const x=new Date(m),w=Math.floor((new Date().getTime()-x.getTime())/(1e3*60*60));return w<1?"Just now":w<24?`${w}h ago`:w<48?"Yesterday":x.toLocaleDateString("en-US",{month:"short",day:"numeric"})},p=m=>m>=1e3?`${(m/1e3).toFixed(1)}k`:m.toString(),y=m=>m.length>1?m[1]:m[0],f=(m,x)=>m.length<=x?m:m.substring(0,x).trim()+"...",k=i==="grid"?"flex flex-col":"flex flex-col md:flex-row md:items-center";return a.jsxs("article",{className:`
7800
+ For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return g.useEffect(()=>{t&&(document.getElementById(t)||console.error(r))},[r,t]),null},VF="DialogDescriptionWarning",BF=({contentRef:t,descriptionId:e})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${qA(VF).contentName}}.`;return g.useEffect(()=>{var i;const o=(i=t.current)==null?void 0:i.getAttribute("aria-describedby");e&&o&&(document.getElementById(e)||console.warn(n))},[n,t,e]),null},DA=wA,UF=bA,zA=jA,Wj=SA,Zj=LA,Xj=NA,Jj=PA,Yj=RA;function O9(t,e){if(t==null)return{};var r={},n=Object.keys(t),o,i;for(i=0;i<n.length;i++)o=n[i],!(e.indexOf(o)>=0)&&(r[o]=t[o]);return r}var $F=["color"],GF=j.forwardRef(function(t,e){var r=t.color,n=r===void 0?"currentColor":r,o=O9(t,$F);return j.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:e}),j.createElement("path",{d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))}),WF=["color"],FA=j.forwardRef(function(t,e){var r=t.color,n=r===void 0?"currentColor":r,o=O9(t,WF);return j.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:e}),j.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))}),ZF=["color"],XF=j.forwardRef(function(t,e){var r=t.color,n=r===void 0?"currentColor":r,o=O9(t,ZF);return j.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:e}),j.createElement("path",{d:"M3.13523 8.84197C3.3241 9.04343 3.64052 9.05363 3.84197 8.86477L7.5 5.43536L11.158 8.86477C11.3595 9.05363 11.6759 9.04343 11.8648 8.84197C12.0536 8.64051 12.0434 8.32409 11.842 8.13523L7.84197 4.38523C7.64964 4.20492 7.35036 4.20492 7.15803 4.38523L3.15803 8.13523C2.95657 8.32409 2.94637 8.64051 3.13523 8.84197Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))}),JF=["color"],YF=j.forwardRef(function(t,e){var r=t.color,n=r===void 0?"currentColor":r,o=O9(t,JF);return j.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:e}),j.createElement("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))});const Js=DA,KF=zA,EA=g.forwardRef(({className:t,...e},r)=>a.jsx(Wj,{ref:r,className:le("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...e}));EA.displayName=Wj.displayName;const as=g.forwardRef(({className:t,children:e,...r},n)=>a.jsxs(KF,{children:[a.jsx(EA,{}),a.jsxs(Zj,{ref:n,className:le("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t),...r,children:[e,a.jsxs(Yj,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[a.jsx(YF,{className:"h-4 w-4"}),a.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));as.displayName=Zj.displayName;const Ys=({className:t,...e})=>a.jsx("div",{className:le("flex flex-col space-y-1.5 text-center sm:text-left",t),...e});Ys.displayName="DialogHeader";const rs=({className:t,...e})=>a.jsx("div",{className:le("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...e});rs.displayName="DialogFooter";const ns=g.forwardRef(({className:t,...e},r)=>a.jsx(Xj,{ref:r,className:le("text-lg font-semibold leading-none tracking-tight",t),...e}));ns.displayName=Xj.displayName;const OA=g.forwardRef(({className:t,...e},r)=>a.jsx(Jj,{ref:r,className:le("text-sm text-muted-foreground",t),...e}));OA.displayName=Jj.displayName;var QF="Label",HA=g.forwardRef((t,e)=>a.jsx(Qi.label,{...t,ref:e,onMouseDown:r=>{var o;r.target.closest("button, input, select, textarea")||((o=t.onMouseDown)==null||o.call(t,r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));HA.displayName=QF;var VA=HA;const eE=j9("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ye=g.forwardRef(({className:t,...e},r)=>a.jsx(VA,{ref:r,className:le(eE(),t),...e}));ye.displayName=VA.displayName;const tE=1,aE=1e6;let wC=0;function rE(){return wC=(wC+1)%Number.MAX_SAFE_INTEGER,wC.toString()}const MC=new Map,sL=t=>{if(MC.has(t))return;const e=setTimeout(()=>{MC.delete(t),o9({type:"REMOVE_TOAST",toastId:t})},aE);MC.set(t,e)},nE=(t,e)=>{switch(e.type){case"ADD_TOAST":return{...t,toasts:[e.toast,...t.toasts].slice(0,tE)};case"UPDATE_TOAST":return{...t,toasts:t.toasts.map(r=>r.id===e.toast.id?{...r,...e.toast}:r)};case"DISMISS_TOAST":{const{toastId:r}=e;return r?sL(r):t.toasts.forEach(n=>{sL(n.id)}),{...t,toasts:t.toasts.map(n=>n.id===r||r===void 0?{...n,open:!1}:n)}}case"REMOVE_TOAST":return e.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(r=>r.id!==e.toastId)}}},oE=[];let bC={toasts:[]};function o9(t){bC=nE(bC,t),oE.forEach(e=>{e(bC)})}function cL({...t}){const e=rE(),r=o=>o9({type:"UPDATE_TOAST",toast:{...o,id:e}}),n=()=>o9({type:"DISMISS_TOAST",toastId:e});return o9({type:"ADD_TOAST",toast:{...t,id:e,open:!0,onOpenChange:o=>{o||n()}}}),{id:e,dismiss:n,update:r}}const iE=new Set([200,201,202,204]);function sE(t){return t===400?"BAD_REQUEST":t===401?"UNAUTHORIZED":t===403?"FORBIDDEN":t===404?"NOT_FOUND":t===409?"CONFLICT":t===429?"RATE_LIMITED":t>=500?"SERVER":"UNKNOWN"}function cE(t){if(t.friendly)return t.friendly;switch(t.code){case"TIMEOUT":return"The request took too long. Please try again.";case"NETWORK":return"You appear to be offline or the server can’t be reached.";case"RATE_LIMITED":return"Too many requests. Please wait a moment and try again.";case"SERVER":return"The server had an issue. Please try again shortly.";case"CONFLICT":return"This email may already be subscribed.";case"BAD_REQUEST":return"Please check your input and try again.";case"UNAUTHORIZED":return"Please sign in to continue.";default:return"Something went wrong. Please try again."}}async function lE(t,e){const{timeoutMs:r=12e3,...n}=e??{},o=new AbortController,i=setTimeout(()=>o.abort(),r);try{const c=await fetch(t,{...n,signal:o.signal});if(iE.has(c.status)){if(c.status===204)return{ok:!0,data:void 0};const u=await c.text();return{ok:!0,data:u?JSON.parse(u):void 0}}let l=null;try{l=await c.json()}catch{}return{ok:!1,error:{code:sE(c.status),status:c.status,message:(l==null?void 0:l.message)||`${c.status} ${c.statusText}`,details:l}}}catch(c){const l=(c==null?void 0:c.name)==="AbortError";return{ok:!1,error:{code:l?"TIMEOUT":"NETWORK",message:l?"Request aborted by timeout":(c==null?void 0:c.message)||"Network error"}}}finally{clearTimeout(i)}}function dE({open:t,onOpenChange:e,onSubscriptionSuccess:r,searchQuery:n,filters:o,apiUrl:i="http://localhost:5147"}){const[c,l]=j.useState(""),[d,h]=j.useState(!1),[u,p]=j.useState(null),y=async f=>{if(f.preventDefault(),p(null),!c||!c.includes("@")){p("Please enter a valid email address.");return}h(!0);try{const k=await lE(`${i}/api/leads`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:c,source:"filters_modal",utmCampaign:"jobs_filters",utmMedium:"ui",utmSource:"subscription_modal"}),timeoutMs:1e4});if(!k.ok){p(cE(k.error)),cL({title:"Subscription failed",description:k.error.message});return}localStorage.setItem("leadId",k.data.id),localStorage.setItem("email",c),cL({title:"You're subscribed",description:`We'll notify you at ${c} when new jobs match your criteria.`}),r==null||r(),l("")}finally{h(!1)}};return a.jsx(Js,{open:t,onOpenChange:e,children:a.jsxs(as,{className:"sm:max-w-md",children:[a.jsxs(Ys,{children:[a.jsxs(ns,{className:"flex items-center gap-2",children:[a.jsx(ks,{className:"h-5 w-5 text-orange-500"}),"Create Job Alert"]}),a.jsx(OA,{children:"Subscribe to get notified when new jobs matching your search criteria are posted."})]}),a.jsxs("form",{onSubmit:y,className:"space-y-4",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"email",children:"Email address"}),a.jsxs("div",{className:"relative",children:[a.jsx(ya,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),a.jsx(Ke,{id:"email",type:"email",placeholder:"Enter your email address",value:c,onChange:f=>l(f.target.value),className:"pl-10",required:!0,"aria-invalid":!!u,"aria-describedby":u?"email-error":void 0})]}),u&&a.jsx("p",{id:"email-error",role:"alert",className:"text-sm text-red-600",children:u})]}),n&&a.jsxs("div",{className:"rounded-lg bg-muted p-3 text-sm",children:[a.jsx("p",{className:"font-medium",children:"Alert criteria:"}),a.jsxs("p",{className:"text-muted-foreground",children:['"',n,'"']})]}),a.jsxs(rs,{className:"gap-2 sm:gap-0",children:[a.jsx($,{type:"button",variant:"outline",onClick:()=>e(!1),disabled:d,children:"Cancel"}),a.jsx($,{type:"submit",disabled:d,children:d?"Creating Alert...":"Create Alert"})]})]})]})})}function BA(){const t="savedJobs",[e,r]=j.useState([]);return j.useEffect(()=>{try{const i=localStorage.getItem(t);i&&r(JSON.parse(i))}catch(i){console.error("Failed to load saved jobs:",i)}},[]),{savedJobs:e,toggleJob:i=>{r(c=>{const d=c.includes(i)?c.filter(h=>h!==i):[...c,i];try{localStorage.setItem(t,JSON.stringify(d))}catch(h){console.error("Failed to persist saved jobs:",h)}return d})},isSaved:i=>i?e.includes(i):!1}}const hE=6,uE=({apiUrl:t,itemsPerPage:e=12,filterKeys:r,banner:n,enableMobileFilter:o=!0,cardType:i,dateField:c="created_at",dateFieldLabel:l="Published",searchableFilters:d=["companies"],notification_url:h="http://localhost:5147",userAccess:u,onEmitEvent:p,eventContext:y})=>{var lt;const[f,k]=j.useState([]),[m,x]=j.useState([]),[v,w]=j.useState([]),[C,M]=j.useState(1),[b,N]=j.useState({}),[L,A]=j.useState([]),[I,q]=j.useState({}),[P,_]=j.useState(""),[R,U]=j.useState([]),[W,V]=j.useState(!1),[O,E]=j.useState(e),[Q,de]=j.useState("grid"),[ee,te]=j.useState(!1),[Me,ge]=j.useState([]),[ae,he]=j.useState(!0),[B,X]=j.useState(null),[J,ne]=j.useState("all"),[pe,se]=j.useState(!1),[Te,Se]=j.useState(!1),[We,rt]=j.useState({jobTypes:[],experienceLevels:[],country:"",city:"",location:"",minSalary:"",maxSalary:"",industry:""}),[st,Tt]=j.useState({open:!1,type:"info",message:""}),{savedJobs:ze,toggleJob:Ze}=BA(),Mt=P9(u),qt=j.useMemo(()=>({component:"Listing",...y??{}}),[y]),qe=j.useCallback((z,Z)=>{p&&p({domain:"jobs",name:z,payload:Z,timestamp:new Date().toISOString(),context:qt})},[qt,p]),Dt=j.useCallback(()=>({filters:{...b},advancedFilters:We,dateFilter:J}),[b,J,We]),pt=j.useCallback(()=>({page:C,pageSize:O,totalResults:m.length,viewMode:Q,showOnlySaved:ee}),[C,m.length,O,ee,Q]),ra=j.useRef(!1),D=(z,Z)=>{Tt({open:!0,type:z,message:Z})};j.useEffect(()=>{try{const z=localStorage.getItem("lastVisitedJobs");z&&ge(JSON.parse(z));try{localStorage.getItem("email")&&Se(!0)}catch(Z){console.error("Error checking subscription state:",Z)}}catch(z){console.error("Error loading data from localStorage:",z)}},[]),j.useEffect(()=>{const Z=new URLSearchParams(window.location.search).get("date_filter");if(Z&&Z!=="all"){ne(Z);const oe=jt(f,b,L,Z);x(oe),M(1),F(oe)}},[f]),j.useEffect(()=>{if(!t){X("❌ Missing API URL for Listing component!"),he(!1);return}he(!0),X(null),(async()=>{try{const Z=await fetch(t);if(!Z.ok)throw new Error(`API responded with status: ${Z.status}`);const oe=await Z.json();if(!Array.isArray(oe))throw new Error("Expected an array but received: "+typeof oe);const S=oe.map((K,fe)=>({...K,sponsored:fe%7===0,topTag:Fj(K.title||"")})),T=Array.from(new Set(S.map(K=>K.topTag).filter(K=>typeof K=="string"))).slice(0,10);w(T),k(S),x(S);const G=qc(S,r);q(G)}catch(Z){console.error("Error fetching data:",Z),X(`Failed to load data: ${Z instanceof Error?Z.message:String(Z)}`);const oe=YD(20);k(oe),x(oe);const S=qc(oe,r);q(S)}finally{he(!1)}})()},[t]),j.useEffect(()=>{const z=new URLSearchParams(window.location.search),Z={};r.forEach(T=>{const G=z.get(T);G&&(Z[T]=G)}),N(Z);const oe=z.get("q")||z.get("searchTerm")||"";oe&&(_(oe),is(oe));const S={};r.forEach(T=>{const G=z.get(T);G&&(S[T]=G)}),N(S)},[]),j.useEffect(()=>{if(ee){const z=f.filter(Z=>ze.includes(Z.id||Z.slug||Z.link));x(z),M(1)}else{let z=f;z=jt(z,b,L,J),z=sz(z,We),x(z)}},[ee,ze,f,b,L,J,We]),j.useEffect(()=>{ra.current||ae||!m.length&&!f.length||(qe("jobs_listing_viewed",{...Dt(),...pt()}),ra.current=!0)},[f.length,qe,m.length,Dt,pt,ae]);const F=z=>{const Z=qc(z,r);q(Z)},re=(z,Z)=>{const oe={...b};Z?oe[z]=Z:delete oe[z],ee&&te(!1);const S=jt(f,oe,L,J);N(oe),x(S),M(1),F(S);const T={...Dt(),filters:oe};Z?qe("jobs_filter_selected",{key:z,value:Z,...T}):qe("jobs_filter_cleared",{key:z,...T})},be=()=>{Se(!0),oa().then(()=>se(!1))},Ae=j.useRef(null),Qe=z=>{M(z),qe("jobs_listing_page_changed",{page:z,pageSize:O,totalResults:m.length}),setTimeout(()=>{var Z;(Z=Ae.current)==null||Z.scrollIntoView({behavior:"smooth",block:"start"})},100)},Oe=z=>{ee&&te(!1),ne(z),Wt(z),rA(z),qe("jobs_date_filter_changed",{dateFilter:z})},Wt=z=>{const Z=jt(f,b,L,z);x(Z),M(1),F(Z)},os=z=>{if(_(z),z){const Z=f.map(oe=>oe.title).filter((oe,S,T)=>oe&&oe.toLowerCase().includes(z.toLowerCase())&&T.indexOf(oe)===S).slice(0,5);U(Z)}else U([])},is=z=>{if(!z.trim())return;ee&&te(!1);const Z=[...L,z.trim()];A(Z);const oe=jt(f,b,Z,J);x(oe),M(1),F(oe),_(""),qe("jobs_search_submitted",{searchKeywords:Z,query:z.trim(),...Dt()})},tc=z=>{const Z=L.filter(S=>S!==z);A(Z);const oe=jt(f,b,Z,J);x(oe),M(1),F(oe),qe("jobs_search_filter_removed",{removedKeyword:z,remainingKeywords:Z})},ss=()=>{rt({jobTypes:[],experienceLevels:[],country:"",city:"",location:"",minSalary:"",maxSalary:"",industry:""});const z=jt(f,b,L,J);x(z),M(1),F(z)},Fa=()=>{N({}),A([]),te(!1),ne("all"),ss(),x(f),M(1),F(f),qe("jobs_filters_cleared_all",{})},cs=z=>{const Z=new Set,oe=[];for(const S of z){const T=`${S.key??""}|${S.value.toLowerCase()}`;Z.has(T)||(Z.add(T),oe.push(S))}return oe},na=z=>z.replace(/\/+$/,""),oa=async()=>{if(qe("jobs_alert_cta_clicked",{searchKeywords:L,query:P.trim()||void 0,...Dt()}),!Te)se(!0),qe("jobs_subscription_modal_opened",{});else{const z=localStorage.getItem("email"),Z=localStorage.getItem("leadId");if(!z||!Z){D("info","Please subscribe first to create alerts.");return}const oe="keyword",S=(ie,ce)=>ce&&ce.trim()?{key:ie.toLowerCase(),value:ce.trim()}:null,T=Object.entries(b).map(([ie,ce])=>S(ie,ce)).filter(ie=>ie!==null),G=L.map(ie=>S(oe,ie)).filter(ie=>ie!==null),K=S(oe,P),fe=K?[K]:[],xe=cs([...T,...G,...fe]);if(xe.length===0){D("info","No filters/keywords to save.");return}try{const ie=na(h??"http://localhost:5147"),ce=await fetch(`${ie}/api/leads/${Z}/preferences/bulk`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(xe)});if(!ce.ok){let Xe="";try{Xe=await ce.text()}catch{}throw new Error(`${ce.status} ${ce.statusText} ${Xe}`.trim())}D("success","Alert saved. We’ll notify you about new matching jobs."),_(""),qe("jobs_alert_created",{preferences:xe.filter(Xe=>Xe!==null)})}catch(ie){console.error("Create alert failed:",ie),D("error","Failed to save alert.")}}},wa=()=>{V(!W)},H=m.length===0?0:(C-1)*O+1,Y=Math.min(C*O,m.length),me=z=>{E(z),M(1),qe("jobs_listing_items_per_page_changed",{pageSize:z})},Ie=()=>{de(z=>{const Z=z==="grid"?"list":"grid";return qe("jobs_listing_viewmode_changed",{viewMode:Z}),Z})},Be=(z,Z,oe="same_tab",S="listing")=>{const T=z.id||z.slug||z.link;T&&(ge(G=>{const K=G.filter(xe=>(xe.id||xe.slug||xe.link)!==T),fe=[z,...K].slice(0,hE);try{localStorage.setItem("lastVisitedJobs",JSON.stringify(fe))}catch(xe){console.error("Error saving to localStorage:",xe)}return fe}),qe("job_opened",{jobId:T,slug:z.slug,positionInList:Z,openedFrom:S,openedIn:oe}))},Ma=(z,Z)=>{const oe=z.id||z.slug||z.link;if(!oe)return;const S=ze.includes(oe);Ze(oe),qe(S?"job_unsaved":"job_saved",{jobId:oe,slug:z.slug,positionInList:Z})},nt=(z,Z,oe="external")=>{const S=z.id||z.slug||z.link;S&&qe("job_apply_clicked",{jobId:S,slug:z.slug,positionInList:Z,applyType:oe})},ct=()=>{te(!ee)},Ea=Math.ceil(m.length/O),Ue=m.slice((C-1)*O,C*O);return B&&!f.length?a.jsx("div",{className:"flex-grow p-8",children:a.jsx("div",{className:"max-w-7xl mx-auto",children:a.jsxs("div",{className:"bg-red-50 border border-red-200 text-red-800 rounded-lg p-6",children:[a.jsx("h2",{className:"text-lg font-semibold mb-2",children:"Error Loading Jobs"}),a.jsx("p",{className:"mb-4",children:B}),a.jsx("button",{onClick:()=>window.location.reload(),className:"bg-red-100 hover:bg-red-200 text-red-800 font-medium py-2 px-4 rounded",children:"Retry"})]})})}):a.jsxs("div",{className:"flex flex-col min-h-screen pb-16 md:pb-0",children:[a.jsxs("div",{className:"flex-grow",children:[a.jsx(zj,{onSearchChange:os,searchPlaceholder:"Search jobs, companies, or keywords...",title:"Job Listings",description:"",popularTags:v,generateHref:z=>`/jobs?q=${z.toLowerCase().replace(/\s+/g,"+")}`}),a.jsxs("div",{className:"container mx-auto py-8 pb-20 md:pb-8",children:[a.jsxs("div",{className:"relative",children:[a.jsxs("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:[a.jsx(Dj,{data:f.map(z=>z.title).filter(Boolean),onSelect:z=>{is(z)},onTyping:z=>{_(z),os(z)},placeholder:"Search for jobs, companies, or keywords...",className:"w-full",showSubmitButton:!0}),a.jsx("button",{className:"block md:hidden flex items-center justify-center p-3 bg-white border-2 border-gray-200 text-gray-700 rounded-xl hover:border-gray-300 hover:bg-gray-50 transition-all duration-200 focus:ring-4 focus:ring-gray-200 focus:outline-none hover:scale-105",onClick:wa,children:a.jsx(Ya,{size:16,className:"mr-1.5"})})]}),a.jsx("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:a.jsx(Ej,{filters:[...J!=="all"?[{key:"date",label:l,value:J.replace(/_/g," "),onRemove:()=>Oe("all")}]:[],...L.map(z=>({key:"search",label:"",value:z,onRemove:()=>tc(z)})),...Object.entries(b).map(([z,Z])=>({key:z,label:z.replace(/_/g," "),value:Z,onRemove:()=>re(z,"")}))],onClearAll:Fa,handleCreateAlert:oa})})]}),o&&a.jsxs("button",{className:"md:hidden w-full mb-6 px-4 py-3 bg-yellow-600 text-white rounded-lg flex items-center justify-center",onClick:wa,"aria-expanded":W,children:[a.jsx(Ya,{className:"w-4 h-4 mr-2"}),W?"Close Filters":"Filters"]}),a.jsxs("div",{className:"flex flex-col lg:flex-row lg:gap-6",children:[a.jsx(nA,{dateFieldLabel:"Date",activeDateFilter:J,onDateFilterChange:Oe,filterKeys:r,searchableFilters:d,filtersData:I,activeFilters:b,handleFilterChange:re,toggleSavedJobsFilter:ct,showOnlySaved:ee,savedJobs:ze}),ae?a.jsx(qj,{}):a.jsxs("div",{className:"lg:gap-6",children:[a.jsx(Oj,{viewMode:Q,onToggleViewMode:Ie,selectedItemsPerPage:O,onItemsPerPageChange:me,totalCount:m.length,startIndex:H,endIndex:Y,title:"Latest Jobs"}),a.jsxs("div",{className:"",children:[a.jsx("div",{className:"mb-6",children:a.jsxs("div",{className:"flex flex-row items-center justify-between",children:[a.jsxs("h3",{className:"text-xl font-semibold text-gray-900 flex items-center",children:[ee?"Saved Jobs":"Open Positions",J!=="all"&&!ee&&a.jsxs("span",{className:"text-sm font-normal text-gray-500 ml-2",children:["(",J.replace(/_/g," "),")"]})]}),a.jsxs("p",{className:"text-sm text-gray-600",children:[a.jsx("span",{className:"font-semibold text-gray-900",children:m.length})," found"]})]})}),a.jsx(nz,{items:Ue,cardType:i,viewMode:Q,savedJobs:ze,onSaveJob:Ma,onViewJob:Be,onApplyJob:nt,firstItemRef:Ae,userAccess:Mt}),m.length>0&&a.jsx("div",{className:"mt-6",children:a.jsx(Hj,{currentPage:C,totalPages:Ea,onPageChange:Qe})})]}),Me.length>0&&a.jsx("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:a.jsx(oz,{jobs:Me,onViewJob:Be})})]}),a.jsx("div",{className:"hidden lg:block lg:w-1/4 space-y-6",children:((lt=n==null?void 0:n.sidebar)==null?void 0:lt.enabled)&&a.jsxs("div",{className:"sticky top-4",children:[a.jsx($c,{position:"sidebar",url:n.sidebar.url,link:n.sidebar.link,alt:n.sidebar.alt}),a.jsx(Rj,{api_url:h}),a.jsxs("div",{className:"mt-6 bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[a.jsx("h3",{className:"font-semibold text-lg mb-3",children:"Featured Employers"}),a.jsx("div",{className:"grid grid-cols-3 gap-2",children:[...Array(6)].map((z,Z)=>a.jsx("div",{className:"flex items-center justify-center p-2 bg-gray-50 rounded-md",children:a.jsx("img",{src:`/placeholder.svg?height=40&width=40&text=${String.fromCharCode(65+Z)}`,alt:`Featured employer ${Z+1}`,className:"w-10 h-10 object-contain"})},Z))})]})]})})]})]})]}),a.jsx(aA,{activeDateFilter:J,handleDateFilterChange:Oe,filterKeys:r,searchableFilters:d,dateFieldLabel:l,activeFilters:b,handleFilterChange:re,toggleSavedJobsFilter:ct,filtersData:I,savedJobs:ze,showOnlySaved:ee,isMobileFilterOpen:W,toggleMobileFilter:wa}),a.jsx(eA,{savedJobsCount:ze.length}),a.jsx(KN,{open:st.open,type:st.type,message:st.message,onClose:()=>Tt(z=>({...z,open:!1}))}),a.jsx(dE,{open:pe,onOpenChange:se,onSubscriptionSuccess:be,apiUrl:h})]})};function lL(t=window.location.pathname){const e=t.replace(/^\/+|\/+$/g,"").split("/"),r=e.findIndex(o=>o.toLowerCase()==="jobs");if(r===-1)return null;const n=e[r+1];return n?decodeURIComponent(n):null}function pE(){const[t,e]=j.useState(()=>lL());return j.useEffect(()=>{const r=()=>e(lL());return window.addEventListener("popstate",r),()=>window.removeEventListener("popstate",r)},[]),t}function dL(t){window.location.assign(t)}function hL(t){window.history.length>1?window.history.back():window.location.assign(t)}function yE(t){const e=UA,r=t??{};return{id:r.id??e.id,title:r.title??e.title,company:r.company??e.company,companyLogo:r.companyLogo??e.companyLogo,location:r.location??e.location,salary:r.salary??void 0,jobType:r.jobType??e.jobType,experienceLevel:r.experienceLevel??e.experienceLevel,department:r.department??e.department,postedDate:r.postedDate??e.postedDate,applicationDeadline:r.applicationDeadline??void 0,description:r.description??e.description,requirements:Array.isArray(r.requirements)?r.requirements:[],responsibilities:Array.isArray(r.responsibilities)?r.responsibilities:[],benefits:Array.isArray(r.benefits)?r.benefits:[],skills:Array.isArray(r.skills)?r.skills:[],companyDescription:r.companyDescription??"",companySize:r.companySize??void 0,companyWebsite:r.companyWebsite??void 0,contactEmail:r.contactEmail??void 0,contactPhone:r.contactPhone??void 0,isRemote:r.isRemote??!1,isUrgent:r.isUrgent??!1,isFeatured:r.isFeatured??!1,applicationUrl:r.applicationUrl??void 0,viewCount:r.viewCount??void 0,applicantCount:r.applicantCount??void 0}}function mE(t){return!Array.isArray(t)||t.length===0?$A:t.map(e=>({id:e.id??"unknown",title:e.title??"Untitled",company:e.company??"",location:e.location??"",salary:e.salary??void 0,postedDate:e.postedDate??new Date().toISOString().slice(0,10)}))}const UA={id:"1",title:"Senior Game Developer",company:"Wazdan",companyLogo:"https://images.pexels.com/photos/3184291/pexels-photo-3184291.jpeg?auto=compress&cs=tinysrgb&w=100",location:"Malta",salary:"€80,000 - €120,000",jobType:"Full-time",experienceLevel:"Senior Level",department:"Engineering",postedDate:"2025-01-15",applicationDeadline:"2025-02-15",description:"We are seeking a talented Senior Game Developer to join our innovative team at Wazdan...",requirements:["5+ years of experience in game development","Strong proficiency in C# and Unity","Experience with HTML5 and JavaScript","Knowledge of casino game mechanics","Understanding of RNG and game mathematics","Experience with version control systems (Git)","Strong problem-solving skills","Excellent communication skills in English"],responsibilities:["Design and develop high-quality casino games","Implement game features and mechanics","Optimize game performance across multiple platforms","Collaborate with artists and designers on game assets","Write clean, maintainable, and well-documented code","Participate in code reviews and technical discussions","Debug and resolve technical issues","Stay updated with industry trends and technologies"],benefits:["Competitive salary and performance bonuses","Health insurance coverage","Flexible working hours","Remote work options","Professional development opportunities","25 days paid vacation","Modern office in Malta","Team building events and activities"],skills:["Unity","C#","JavaScript","HTML5","CSS3","Git","Agile","Game Design"],companyDescription:"Wazdan is a leading provider of innovative casino games...",companySize:"100-200 employees",companyWebsite:"https://wazdan.com",contactEmail:"careers@wazdan.com",contactPhone:"+356 2123 4567",isRemote:!1,isUrgent:!0,isFeatured:!0,applicationUrl:"https://wazdan.com/careers/apply",viewCount:1247,applicantCount:23},$A=[{id:"2",title:"Frontend Game Developer",company:"Pragmatic Play",location:"Malta",salary:"€60,000 - €80,000",postedDate:"2025-01-10"},{id:"3",title:"Unity Developer",company:"Evolution Gaming",location:"Remote",salary:"€70,000 - €90,000",postedDate:"2025-01-12"},{id:"4",title:"Game Developer",company:"NetEnt",location:"Stockholm",salary:"€65,000 - €85,000",postedDate:"2025-01-08"}],fE=({job:t=UA,similarJobs:e=$A})=>{var N;const r=pE(),[n,o]=j.useState(()=>mE(e)),[i,c]=j.useState(!1),[l,d]=j.useState(null),[h,u]=j.useState(!1),[p,y]=j.useState(!1),{savedJobs:f,toggleJob:k,isSaved:m}=BA(),x=yE(t);j.useEffect(()=>{(async()=>{c(!0);try{if(await new Promise(I=>setTimeout(I,300)),!r)throw new Error("Missing slug in URL.");o(n);const A=JSON.parse(localStorage.getItem("appliedJobs")||"[]");y(A.includes(r))}catch(A){d((A==null?void 0:A.message)||"Failed to load job details")}finally{c(!1)}})()},[r]);const v=()=>{r&&k(r)},w=()=>{if(!r)return;x!=null&&x.applicationUrl?window.open(x.applicationUrl,"_blank","noopener,noreferrer"):u(!0);const L=JSON.parse(localStorage.getItem("appliedJobs")||"[]");L.includes(r)||(L.push(r),localStorage.setItem("appliedJobs",JSON.stringify(L)),y(!0))},C=async()=>{if(navigator.share)try{await navigator.share({title:x==null?void 0:x.title,text:`Check out this job opportunity: ${x==null?void 0:x.title} at ${x==null?void 0:x.company}`,url:window.location.href})}catch(L){console.log("Error sharing:",L)}else navigator.clipboard.writeText(window.location.href),alert("Job URL copied to clipboard!")},M=L=>new Date(L).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),b=L=>{const A=new Date(L),q=Math.abs(new Date().getTime()-A.getTime());return Math.ceil(q/(1e3*60*60*24))};return i?a.jsx("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",children:a.jsxs("div",{className:"text-center",children:[a.jsx("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-blue-600 mx-auto"}),a.jsx("p",{className:"mt-4 text-gray-600",children:"Loading job details..."})]})}):l||!x?a.jsx("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",children:a.jsxs("div",{className:"text-center",children:[a.jsx(Jt,{className:"h-12 w-12 text-red-500 mx-auto mb-4"}),a.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-2",children:"Job Not Found"}),a.jsx("p",{className:"text-gray-600 mb-4",children:l||"The job you are looking for does not exist."}),a.jsx("button",{onClick:()=>hL("/jobs"),className:"bg-blue-600 text-white px-6 py-2 rounded-lg hover:bg-blue-700 transition-colors",children:"Back to Jobs"})]})}):a.jsxs("div",{className:"min-h-screen bg-gray-50",children:[a.jsx("div",{className:"bg-white border-b border-gray-200",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4",children:[a.jsxs("button",{onClick:()=>hL("/jobs"),className:"flex items-center text-gray-600 hover:text-gray-900 mb-4",children:[a.jsx(zi,{className:"h-4 w-4 mr-2"}),"Back to Jobs"]}),a.jsxs("div",{className:"flex flex-col lg:flex-row lg:items-start lg:justify-between",children:[a.jsx("div",{className:"flex-1",children:a.jsxs("div",{className:"flex items-start space-x-4",children:[x.companyLogo&&a.jsx("img",{src:x.companyLogo,alt:`${x.company} logo`,className:"w-16 h-16 rounded-lg object-cover border border-gray-200"}),a.jsxs("div",{className:"flex-1",children:[a.jsxs("div",{className:"flex items-center space-x-2 mb-2",children:[x.isUrgent&&a.jsx("span",{className:"bg-red-100 text-red-800 text-xs font-medium px-2 py-1 rounded-full",children:"Urgent"}),x.isFeatured&&a.jsx("span",{className:"bg-yellow-100 text-yellow-800 text-xs font-medium px-2 py-1 rounded-full",children:"Featured"})]}),a.jsx("h1",{className:"text-2xl lg:text-3xl font-bold text-gray-900 mb-2",children:x.title}),a.jsxs("div",{className:"flex flex-wrap items-center gap-4 text-gray-600",children:[a.jsxs("div",{className:"flex items-center",children:[a.jsx(uc,{className:"h-4 w-4 mr-1"}),a.jsx("span",{className:"font-medium",children:x.company})]}),a.jsxs("div",{className:"flex items-center",children:[a.jsx(Bt,{className:"h-4 w-4 mr-1"}),a.jsx("span",{children:x.location}),x.isRemote&&a.jsx("span",{className:"ml-1",children:"(Remote)"})]}),x.salary&&a.jsxs("div",{className:"flex items-center",children:[a.jsx(fc,{className:"h-4 w-4 mr-1"}),a.jsx("span",{children:x.salary})]}),a.jsxs("div",{className:"flex items-center",children:[a.jsx(Kt,{className:"h-4 w-4 mr-1"}),a.jsxs("span",{children:[b(x.postedDate)," days ago"]})]})]})]})]})}),a.jsxs("div",{className:"flex items-center space-x-3 mt-4 lg:mt-0",children:[a.jsxs("button",{onClick:v,className:`flex items-center px-4 py-2 rounded-lg border transition-colors ${m(x.id)?"bg-blue-50 border-blue-200 text-blue-700":"bg-white border-gray-300 text-gray-700 hover:bg-gray-50"}`,children:[a.jsx(Cs,{className:`h-4 w-4 mr-2 ${m(x.id)?"fill-current":""}`}),m(x.id)?"Saved":"Save Job"]}),a.jsxs("button",{onClick:C,className:"flex items-center px-4 py-2 bg-white border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 transition-colors",children:[a.jsx(Ns,{className:"h-4 w-4 mr-2"}),"Share"]}),a.jsx("button",{onClick:w,disabled:p,className:`flex items-center px-6 py-2 rounded-lg font-medium transition-colors ${p?"bg-green-100 text-green-800 cursor-not-allowed":"bg-blue-600 text-white hover:bg-blue-700"}`,children:p?a.jsxs(a.Fragment,{children:[a.jsx(St,{className:"h-4 w-4 mr-2"}),"Applied"]}):a.jsxs(a.Fragment,{children:[a.jsx(Oi,{className:"h-4 w-4 mr-2"}),"Apply Now"]})})]})]})]})}),a.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8",children:a.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:[a.jsxs("div",{className:"lg:col-span-2 space-y-8",children:[a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsxs("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-4 mb-6",children:[a.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[a.jsx(ft,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),a.jsx("p",{className:"text-sm text-gray-600",children:"Job Type"}),a.jsx("p",{className:"font-medium",children:x.jobType})]}),a.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[a.jsx(bs,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),a.jsx("p",{className:"text-sm text-gray-600",children:"Experience"}),a.jsx("p",{className:"font-medium",children:x.experienceLevel})]}),a.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[a.jsx(_a,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),a.jsx("p",{className:"text-sm text-gray-600",children:"Department"}),a.jsx("p",{className:"font-medium",children:x.department})]}),a.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[a.jsx(pc,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),a.jsx("p",{className:"text-sm text-gray-600",children:"Deadline"}),a.jsx("p",{className:"font-medium text-sm",children:x.applicationDeadline?M(x.applicationDeadline):"Open"})]})]}),a.jsxs("div",{className:"flex items-center justify-between pt-4 border-t border-gray-200",children:[a.jsxs("div",{className:"flex items-center space-x-4 text-sm text-gray-600",children:[a.jsxs("span",{children:[x.viewCount," views"]}),a.jsxs("span",{children:[x.applicantCount," applicants"]})]}),a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx(Et,{className:"h-4 w-4 text-yellow-400 fill-current"}),a.jsx("span",{className:"text-sm text-gray-600",children:"4.8 company rating"})]})]})]}),a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Job Description"}),a.jsx("div",{className:"prose prose-gray max-w-none",children:a.jsx("p",{className:"text-gray-700 leading-relaxed whitespace-pre-line",children:x.description})})]}),a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Key Responsibilities"}),a.jsx("ul",{className:"space-y-3",children:(N=x.responsibilities)==null?void 0:N.map((L,A)=>a.jsxs("li",{className:"flex items-start",children:[a.jsx(St,{className:"h-5 w-5 text-green-500 mr-3 mt-0.5 flex-shrink-0"}),a.jsx("span",{className:"text-gray-700",children:L})]},A))})]}),a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Requirements"}),Array.isArray(x.requirements)?a.jsx("ul",{className:"space-y-3",children:x.requirements.map((L,A)=>a.jsxs("li",{className:"flex items-start",children:[a.jsx(St,{className:"h-5 w-5 text-blue-500 mr-3 mt-0.5 flex-shrink-0"}),a.jsx("span",{className:"text-gray-700",children:L})]},A))}):a.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:x.requirements})]}),a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Required Skills"}),Array.isArray(x.skills)?a.jsx("div",{className:"flex flex-wrap gap-2",children:x.skills.map((L,A)=>a.jsx("span",{className:"bg-blue-100 text-blue-800 text-sm font-medium px-3 py-1 rounded-full",children:L},A))}):a.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:x.skills})]}),a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Benefits & Perks"}),Array.isArray(x.benefits)?a.jsx("ul",{className:"space-y-3",children:x.benefits.map((L,A)=>a.jsxs("li",{className:"flex items-start",children:[a.jsx(St,{className:"h-5 w-5 text-green-500 mr-3 mt-0.5 flex-shrink-0"}),a.jsx("span",{className:"text-gray-700",children:L})]},A))}):a.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:x.benefits})]})]}),a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsxs("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:["About ",x.company]}),a.jsxs("div",{className:"space-y-4",children:[a.jsx("p",{className:"text-gray-700 text-sm leading-relaxed",children:x.companyDescription}),a.jsxs("div",{className:"space-y-2 text-sm",children:[x.companySize&&a.jsxs("div",{className:"flex items-center",children:[a.jsx(_a,{className:"h-4 w-4 text-gray-400 mr-2"}),a.jsx("span",{className:"text-gray-600",children:x.companySize})]}),x.companyWebsite&&a.jsxs("div",{className:"flex items-center",children:[a.jsx(Ms,{className:"h-4 w-4 text-gray-400 mr-2"}),a.jsx("a",{href:x.companyWebsite,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:text-blue-800",children:"Visit Website"})]})]}),a.jsxs("div",{className:"pt-4 border-t border-gray-200",children:[a.jsx("h4",{className:"font-medium text-gray-900 mb-2",children:"Contact Information"}),a.jsxs("div",{className:"space-y-2 text-sm",children:[x.contactEmail&&a.jsxs("div",{className:"flex items-center",children:[a.jsx(ya,{className:"h-4 w-4 text-gray-400 mr-2"}),a.jsx("a",{href:`mailto:${x.contactEmail}`,className:"text-blue-600 hover:text-blue-800",children:x.contactEmail})]}),x.contactPhone&&a.jsxs("div",{className:"flex items-center",children:[a.jsx(Hi,{className:"h-4 w-4 text-gray-400 mr-2"}),a.jsx("a",{href:`tel:${x.contactPhone}`,className:"text-blue-600 hover:text-blue-800",children:x.contactPhone})]})]})]})]})]}),a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Ready to Apply?"}),a.jsxs("p",{className:"text-gray-600 text-sm mb-4",children:["Join ",x.company," and take your career to the next level in the exciting world of iGaming."]}),a.jsx("button",{onClick:w,disabled:p,className:`w-full flex items-center justify-center px-6 py-3 rounded-lg font-medium transition-colors ${p?"bg-green-100 text-green-800 cursor-not-allowed":"bg-blue-600 text-white hover:bg-blue-700"}`,children:p?a.jsxs(a.Fragment,{children:[a.jsx(St,{className:"h-5 w-5 mr-2"}),"Application Submitted"]}):a.jsxs(a.Fragment,{children:[a.jsx(Oi,{className:"h-5 w-5 mr-2"}),"Apply for this Position"]})}),!p&&a.jsxs("div",{className:"mt-4 flex items-center space-x-2",children:[a.jsxs("button",{onClick:v,className:`flex-1 flex items-center justify-center px-4 py-2 rounded-lg border transition-colors ${m(x.id)?"bg-blue-50 border-blue-200 text-blue-700":"bg-white border-gray-300 text-gray-700 hover:bg-gray-50"}`,children:[a.jsx(Xa,{className:`h-4 w-4 mr-2 ${m(x.id)?"fill-current":""}`}),m(x.id)?"Saved":"Save"]}),a.jsx("button",{className:"flex items-center justify-center p-2 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 transition-colors",children:a.jsx(kc,{className:"h-4 w-4"})})]})]}),a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Similar Jobs"}),a.jsx("div",{className:"space-y-4",children:n.map(L=>a.jsxs("div",{className:"border border-gray-200 rounded-lg p-4 hover:bg-gray-50 cursor-pointer transition-colors",onClick:()=>dL(`/jobs/${L.id}`),children:[a.jsx("h4",{className:"font-medium text-gray-900 mb-1",children:L.title}),a.jsx("p",{className:"text-sm text-gray-600 mb-2",children:L.company}),a.jsxs("div",{className:"flex items-center justify-between text-xs text-gray-500",children:[a.jsxs("div",{className:"flex items-center",children:[a.jsx(Bt,{className:"h-3 w-3 mr-1"}),a.jsx("span",{children:L.location})]}),a.jsxs("span",{children:[b(L.postedDate),"d ago"]})]}),L.salary&&a.jsx("p",{className:"text-sm font-medium text-blue-600 mt-2",children:L.salary})]},L.id))}),a.jsx("button",{onClick:()=>dL("/jobs"),className:"w-full mt-4 text-center text-blue-600 hover:text-blue-800 text-sm font-medium",children:"View All Jobs"})]})]})]})}),h&&a.jsx("div",{className:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center p-4 z-50",children:a.jsxs("div",{className:"bg-white rounded-lg max-w-md w-full p-6",children:[a.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Apply for this Position"}),a.jsx("p",{className:"text-gray-600 mb-4",children:"To apply for this position, please send your CV and cover letter to:"}),a.jsx("div",{className:"bg-gray-50 p-4 rounded-lg mb-4",children:a.jsx("p",{className:"font-medium",children:x.contactEmail})}),a.jsxs("div",{className:"flex space-x-3",children:[a.jsx("button",{onClick:()=>u(!1),className:"flex-1 px-4 py-2 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 transition-colors",children:"Close"}),a.jsx("button",{onClick:()=>{window.location.href=`mailto:${x.contactEmail}?subject=Application for ${x.title}&body=Dear Hiring Manager,%0D%0A%0D%0AI am interested in applying for the ${x.title} position at ${x.company}.%0D%0A%0D%0APlease find my CV attached.%0D%0A%0D%0ABest regards`,u(!1)},className:"flex-1 px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors",children:"Send Email"})]})]})})]})},xE=()=>a.jsx("div",{children:a.jsx("h2",{children:"Welcome to the Header!"})}),kE=({article:t,isBookmarked:e,onToggleBookmark:r,onShare:n,onOpenArticle:o,layout:i="card",userAccess:c,positionInList:l})=>{const[d,h]=j.useState(!1),u=m=>{const x=new Date(m),w=Math.floor((new Date().getTime()-x.getTime())/(1e3*60*60));return w<1?"Just now":w<24?`${w}h ago`:w<48?"Yesterday":x.toLocaleDateString("en-US",{month:"short",day:"numeric"})},p=m=>m>=1e3?`${(m/1e3).toFixed(1)}k`:m.toString(),y=m=>m.length>1?m[1]:m[0],f=(m,x)=>m.length<=x?m:m.substring(0,x).trim()+"...",k=i==="grid"?"flex flex-col":"flex flex-col md:flex-row md:items-center";return a.jsxs("article",{className:`
7801
7801
  news-grid bg-white rounded-lg shadow-sm border border-gray-200 overflow-hidden
7802
7802
  hover:shadow-md transition-shadow duration-300 ${k}
7803
- `,children:[a.jsxs("div",{className:`relative ${i==="list"?"md:w-1/3 md:flex-shrink-0":""}`,children:[a.jsx("img",{src:t.image||"/placeholder.svg?height=200&width=400&text=News",alt:t.title,className:`w-full h-48 object-cover transition-opacity duration-300 ${d?"opacity-100":"opacity-0"} ${i==="list"?"md:h-32":""}`,onLoad:()=>h(!0)}),!d&&a.jsx("div",{className:"absolute inset-0 bg-gray-200 animate-pulse flex items-center justify-center",children:a.jsx("div",{className:"w-12 h-12 text-gray-400",children:"📰"})}),a.jsxs("div",{className:"absolute top-3 left-3 flex flex-wrap gap-1",children:[t.isBreaking&&a.jsx("span",{className:"px-2 py-1 bg-red-500 text-white text-xs font-semibold rounded animate-pulse",children:"BREAKING"}),t.isTrending&&a.jsxs("span",{className:"px-2 py-1 bg-orange-500 text-white text-xs font-semibold rounded flex items-center",children:[a.jsx(Vi,{className:"w-3 h-3 mr-1"}),"TRENDING"]})]}),a.jsx("button",{onClick:()=>r(t._id,l),className:`absolute top-3 right-3 p-2 rounded-full transition-colors ${e?"bg-yellow-500 text-white":"bg-white text-gray-600 hover:bg-gray-100"} ${c.allowSaving?"":"opacity-60 cursor-not-allowed"}`,"aria-label":e?"Remove bookmark":"Add bookmark",disabled:!c.allowSaving,title:c.allowSaving?void 0:"Sign in to save articles",children:a.jsx(Pa,{className:`w-4 h-4 ${e?"fill-current":""}`})})]}),a.jsxs("div",{className:`p-4 ${i==="list"?"md:w-2/3":""}`,children:[a.jsx("div",{className:"flex flex-wrap gap-2 mb-2",children:t.categories.slice(0,2).map((m,x)=>a.jsx("a",{href:`?category=${m}`,children:a.jsx("span",{className:"px-2 py-1 bg-yellow-100 text-yellow-800 text-xs font-medium rounded-full",children:m},x)}))}),a.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-2 line-clamp-2 hover:text-yellow-600 transition-colors",children:c.maskExternalLinks?a.jsx("button",{className:"text-left w-full text-gray-700 cursor-not-allowed","aria-label":"Sign in to view article",title:"Sign in to view external article",children:t.title}):a.jsx("a",{href:t.link,target:"_blank",rel:"noopener noreferrer",onClick:()=>o==null?void 0:o(t,l,"new_tab",t.isTrending?"trending":t.isBreaking?"breaking":"listing"),children:t.title})}),a.jsx("p",{className:"text-sm text-gray-700 mb-3 line-clamp-3",children:f(t.content,i==="list"?150:200)}),a.jsxs("div",{className:"flex items-center justify-between text-xs text-gray-500 mb-3",children:[a.jsxs("div",{className:"flex items-center space-x-4",children:[a.jsxs("span",{children:["By ",y(t.author)]}),a.jsx("span",{children:t.company})]}),a.jsxs("div",{className:"flex items-center space-x-3",children:[a.jsxs("div",{className:"flex items-center",children:[a.jsx(Kt,{className:"w-4 h-4 mr-1"}),a.jsxs("span",{children:[t.readTime,"m read"]})]}),a.jsxs("div",{className:"flex items-center",children:[a.jsx(xc,{className:"w-4 h-4 mr-1"}),a.jsx("span",{children:p(t.viewCount||0)})]})]})]}),a.jsx("div",{className:"flex flex-wrap gap-1 mb-3",children:t.tags.slice(0,3).map((m,x)=>a.jsxs("span",{className:"px-2 py-1 bg-gray-100 text-gray-600 text-xs rounded",children:["#",m]},x))}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx("span",{className:"text-sm text-gray-500",children:u(t.date)}),a.jsx("span",{className:"inline-flex items-center rounded-full bg-gray-100 px-2.5 py-0.5 text-xs font-medium text-gray-700",children:Tj[c.status]}),c.note&&a.jsx("span",{className:"text-xs text-gray-500",children:c.note})]}),a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx("button",{onClick:()=>n(t,l),className:"p-2 text-gray-400 hover:text-gray-600 hover:bg-gray-100 rounded-full transition-colors","aria-label":"Share article",children:a.jsx(Ns,{className:"w-4 h-4"})}),c.maskExternalLinks?a.jsx("button",{className:"flex items-center px-3 py-1.5 bg-gray-200 text-gray-600 text-sm font-medium rounded-lg cursor-not-allowed","aria-label":"Sign in to read",children:"Sign in to read"}):a.jsxs("a",{href:t.link,target:"_blank",rel:"noopener noreferrer",className:"flex items-center px-3 py-1.5 bg-yellow-600 text-white text-sm font-medium rounded-lg hover:bg-yellow-700 transition-colors",onClick:()=>o==null?void 0:o(t,l,"new_tab",t.isTrending?"trending":t.isBreaking?"breaking":"listing"),children:["Read More",a.jsx(Oi,{className:"w-3 h-3 ml-1"})]})]})]})]})]})},gE=({apiUrl:t="http://localhost:5000/api/news",filterKeys:e=["categories","author","company"],searchableFilters:r=["company","author","categories"],defaultFilters:n={categories:[],tags:[],authors:[],companies:[],dateRange:["",""],readTime:[0,999]},defaultSort:o="latest",bookmarkStorageKey:i="news-bookmarks",itemsPerPage:c=12,dateFieldLabel:l="Published",userAccess:d,onEmitEvent:h,eventContext:u})=>{const[p,y]=j.useState([]),[f,k]=j.useState([]),[m,x]=j.useState([]),[v,w]=j.useState({}),[C,M]=j.useState(""),[b,N]=j.useState({}),[L,A]=j.useState(!1),[I,q]=j.useState(c),[P,_]=j.useState(new Set),[R,U]=j.useState(o),[W,V]=j.useState("grid"),[O,E]=j.useState(1),[Q,de]=j.useState([]),[ee,te]=j.useState(!1),[Me,ge]=j.useState([]),[ae,he]=j.useState([]),[B,X]=j.useState(!0),[J,ne]=j.useState("all"),[pe,se]=j.useState(""),Te=H=>H.trim().toLowerCase().replace(/\s+/g,"-"),[Se,We]=j.useState(n),[rt,st]=j.useState(null),Tt=P9(d),ze=j.useMemo(()=>({component:"NewsPage",...u??{}}),[u]),Ze=j.useCallback((H,Y)=>{h&&h({domain:"news",name:H,payload:Y,timestamp:new Date().toISOString(),context:ze})},[ze,h]),Mt=j.useCallback(()=>({filters:{...b},categories:Se.categories.length?Se.categories:b.categories?[b.categories]:[],tags:Se.tags,authors:Se.authors.length?Se.authors:b.author?[b.author]:[],companies:Se.companies.length?Se.companies:b.company?[b.company]:[],dateFilter:J,readTimeRange:Se.readTime}),[J,b,Se]),qt=j.useCallback(()=>({page:O,pageSize:I,totalResults:f.length,sortBy:R,viewMode:W}),[O,f.length,I,R,W]),qe=j.useRef(!1);j.useEffect(()=>{const H=localStorage.getItem(i);H&&_(new Set(JSON.parse(H)))},[i]),j.useEffect(()=>{const H=new URLSearchParams(window.location.search),Y={};e.forEach(nt=>{const ct=H.get(nt);ct&&(Y[nt]=ct)}),N(Y);const me=H.get("q"),Ie=H.get("categories");let Be=[...p];if(me&&(Be=Be.filter(nt=>nt.title.toLowerCase().includes(me.toLowerCase())),M(me),Dt(me)),Ie){const nt=Ie.trim().toLowerCase().replace(/\s+/g,"-");We(ct=>({...ct,categories:[nt]})),Be=Be.filter(ct=>ct.categories.some(Oa=>Te(Oa)===nt))}x(Be);const Ma={};e.forEach(nt=>{const ct=H.get(nt);ct&&(Ma[nt]=ct)}),N(Ma)},[p]),j.useEffect(()=>{const Y=new URLSearchParams(window.location.search).get("date_filter");if(Y&&Y!=="all"){ne(Y);const me=jt(p,b,Me,Y);k(me),E(1),pt(me)}},[p]);const Dt=H=>{if(!H.trim())return;const Y=[...Me,H.trim()];ge(Y);const me=jt(p,b,Y,J);k(me),E(1),pt(me),M(""),Ze("news_search_submitted",{query:H,searchFilters:Y,...Mt()})},pt=H=>{const Y=qc(H,e);w(Y)},ra=H=>{ne(H),D(H),rA(H)},D=H=>{const Y=jt(p,b,Me,H);k(Y),E(1),pt(Y)};j.useEffect(()=>{localStorage.setItem(i,JSON.stringify(Array.from(P)))},[P,i]),j.useEffect(()=>{X(!0),st(null),(async()=>{try{const Y=await fetch(t);if(!Y.ok)throw new Error(`API responded with status: ${Y.status}`);const me=await Y.json();if(!Array.isArray(me))throw new Error("Expected an array but received: "+typeof me);const Ie=me.map(Ue=>({...Ue,categories:Array.isArray(Ue.categories)?Ue.categories:[],topTag:QD(Ue.title||"")})),Be={};for(const Ue of Ie){const lt=Ue.topTag;lt&&(Be[lt]=(Be[lt]||0)+1)}const Ma=Object.entries(Be).sort((Ue,lt)=>lt[1]-Ue[1]).slice(0,10).map(([Ue])=>Ue);he(Ma);const nt=new Set;Ie.forEach(Ue=>{Ue.categories.forEach(lt=>{nt.add(Te(lt))})});const ct=Array.from(nt).map(Ue=>({id:Ue,name:Ue.replace(/-/g," ").replace(/\b\w/g,lt=>lt.toUpperCase()),icon:"📰",count:Ie.filter(lt=>lt.categories.some(z=>Te(z)===Ue)).length,color:"bg-gray-100 text-gray-800"}));y(Ie),k(Ie),x(Ie),de(ct);const Oa=qc(Ie,e);w(Oa)}catch(Y){console.error("Failed to fetch articles",Y)}finally{X(!1)}})()},[t]);const F=()=>{V(H=>{const Y=H==="grid"?"list":"grid";return Ze("news_listing_viewmode_changed",{viewMode:Y}),Y})};j.useMemo(()=>p.filter(H=>H.isTrending).slice(0,6),[p]),j.useMemo(()=>p.filter(H=>H.isBreaking),[p]);const re=Math.ceil(f.length/I),be=f.slice((O-1)*I,O*I),Ae=(H,Y)=>{Tt.allowSaving&&_(me=>{const Ie=new Set(me),Be=Ie.has(H);return Be?Ie.delete(H):Ie.add(H),Ze(Be?"news_article_unbookmarked":"news_article_bookmarked",{articleId:H,positionInList:Y}),Ie})},Qe=(H,Y)=>{navigator.share?navigator.share({title:H.title,text:H.title,url:H.link}):(navigator.clipboard.writeText(H.link),alert("Article link copied to clipboard!")),Ze("news_article_shared",{articleId:H._id,channel:"copy_link"})},Oe=(H,Y,me="new_tab",Ie="listing")=>{Ze("news_article_opened",{articleId:H._id,slug:H.slug,positionInList:Y,openedFrom:Ie,openedIn:me})},Wt=()=>{te(!ee)},os=f.length===0?0:(O-1)*I+1,is=Math.min(O*I,f.length),tc=()=>{We({categories:[],tags:[],authors:[],companies:[],dateRange:["",""],readTime:[0,999]}),E(1);const H=jt(p,b,Me,J);k(H),E(1),pt(H)},ss=()=>{N({}),ge([]),ne("all"),tc(),k(p),E(1),pt(p),Ze("news_filters_cleared_all",{})},Ea=j.useRef(null),cs=H=>{E(H),Ze("news_listing_page_changed",{page:H,pageSize:I,totalResults:f.length}),setTimeout(()=>{var Y;(Y=Ea.current)==null||Y.scrollIntoView({behavior:"smooth",block:"start"})},100)},na=H=>{q(H),E(1),Ze("news_listing_items_per_page_changed",{pageSize:H})},oa=(H,Y)=>{const me={...b};Y?me[H]=Y:delete me[H];const Ie=jt(p,me,Me,J);N(me),k(Ie),E(1),pt(Ie);const Be=Mt();Y?Ze("news_filter_selected",{key:H,value:Y,...Be}):Ze("news_filter_cleared",{key:H,...Be})},wa=H=>{const Y=Me.filter(Ie=>Ie!==H);ge(Y);const me=jt(p,b,Y,J);k(me),E(1),pt(me),Ze("news_search_filter_removed",{removedKeyword:H,remainingKeywords:Y})};return j.useEffect(()=>{qe.current||B||!f.length&&!p.length||(Ze("news_listing_viewed",{...Mt(),...qt()}),qe.current=!0)},[p.length,Ze,f.length,Mt,qt,B]),a.jsxs("div",{className:"flex flex-col min-h-screen pb-16 md:pb-0",children:[a.jsxs("div",{className:"flex-grow",children:[a.jsx(zj,{onSearchChange:H=>{const Y=p.filter(me=>me.title.toLowerCase().includes(H.toLowerCase()));x(Y),M(H)},title:"Latest News",popularTags:ae,generateHref:H=>`/news?q=${H.replace(/\s+/g,"+")}`}),a.jsxs("div",{className:"container mx-auto py-8 pb-20 md:pb-8",children:[a.jsxs("div",{className:"relative",children:[a.jsxs("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:[a.jsx(Dj,{data:p.map(H=>H.title),onSelect:H=>{Dt(H)},onTyping:H=>{A(!!H),H||(x(p),M(""))},placeholder:"Search news, topics, or authors...",showSubmitButton:!0,className:"w-full"}),a.jsx("button",{className:"block md:hidden flex items-center justify-center p-3 bg-white border-2 border-gray-200 text-gray-700 rounded-xl hover:border-gray-300 hover:bg-gray-50 transition-all duration-200 focus:ring-4 focus:ring-gray-200 focus:outline-none hover:scale-105",onClick:Wt,children:a.jsx(Ya,{size:16,className:"mr-1.5"})}),C&&a.jsxs("div",{className:"flex gap-2 mt-3 px-4 sm:px-6 lg:px-8",children:[a.jsxs("span",{className:"bg-yellow-100 text-indigo-800 rounded-full px-3 py-1 text-sm flex items-center",children:[C,a.jsx("button",{onClick:()=>{x(p),M("")},className:"ml-2 text-indigo-600 hover:text-indigo-800",children:"×"})]}),a.jsx("button",{className:"text-sm text-gray-600 hover:underline",onClick:()=>{x(p),M("")},children:"Clear Search"})]})]}),a.jsx("div",{className:"max-w-7xl mx-auto md:pb-8",children:a.jsx("div",{className:"block w-full",children:a.jsx("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:a.jsx(Ej,{filters:[...pe?[{key:"categories",label:"Categories",value:pe.replace(/-/g," "),onRemove:()=>se("")}]:[],...Me.map(H=>({key:"search",label:"",value:H,onRemove:()=>wa(H)})),...Object.entries(b).map(([H,Y])=>({key:H,label:H.replace(/_/g," "),value:Y,onRemove:()=>oa(H,"")}))],onClearAll:ss})})})})]}),a.jsx("main",{className:"max-w-7xl mx-auto px-4 pb-8 sm:px-6 lg:px-8",children:a.jsxs("div",{className:"flex flex-col lg:flex-row lg:gap-6",children:[a.jsx(nA,{dateFieldLabel:"Date",activeDateFilter:J,onDateFilterChange:ra,filterKeys:e,searchableFilters:r,filtersData:v,activeFilters:b,handleFilterChange:oa,toggleSavedJobsFilter:()=>console.log("toggle saved jobs filter"),showOnlySaved:!1,savedJobs:[]}),B?a.jsx(qj,{}):a.jsx(a.Fragment,{children:a.jsxs("div",{className:"lg:w-2/4",children:[a.jsx(Oj,{viewMode:W,onToggleViewMode:F,selectedItemsPerPage:I,onItemsPerPageChange:na,totalCount:f.length,startIndex:os,endIndex:is,title:"Latest News"}),f.length>0?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:W==="grid"?"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-2 gap-6":"space-y-6",children:be.map((H,Y)=>a.jsx("div",{ref:Y===0?Ea:null,children:a.jsx(kE,{article:H,isBookmarked:P.has(H._id),positionInList:Y,onToggleBookmark:me=>Ae(me,Y),onShare:me=>Qe(me),onOpenArticle:Oe,layout:W,userAccess:Tt})},H._id))}),re>1&&a.jsx("div",{className:"mt-8 flex justify-center",children:a.jsx(Hj,{currentPage:O,totalPages:re,onPageChange:cs})})]}):a.jsxs("div",{className:"text-center py-12",children:[a.jsx(_a,{className:"w-16 h-16 text-gray-400 mx-auto mb-4"}),a.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2",children:"No articles found"}),a.jsx("p",{className:"text-gray-600 mb-4",children:"Try adjusting your search criteria or filters to find more articles."}),a.jsx("button",{onClick:ss,className:"px-4 py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700 transition-colors",children:"Clear All Filters"})]})]})}),a.jsx("div",{className:"hidden lg:block lg:w-1/4 space-y-6",children:a.jsxs("div",{className:"sticky top-4",children:[a.jsx($c,{position:"sidebar",url:"https://video-previews.elements.envatousercontent.com/h264-video-previews/e08912ad-6856-4e36-89b5-cf1465cc79cb/32651312.mp4",link:"",alt:""}),a.jsx(Rj,{api_url:""}),a.jsxs("div",{className:"mt-6 bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[a.jsx("h3",{className:"font-semibold text-lg mb-3",children:"Featured Employers"}),a.jsx("div",{className:"grid grid-cols-3 gap-2",children:[...Array(6)].map((H,Y)=>a.jsx("div",{className:"flex items-center justify-center p-2 bg-gray-50 rounded-md",children:a.jsx("img",{src:`/placeholder.svg?height=40&width=40&text=${String.fromCharCode(65+Y)}`,alt:`Featured employer ${Y+1}`,className:"w-10 h-10 object-contain"})},Y))})]})]})})]})})]})]}),a.jsx(aA,{activeDateFilter:J,handleDateFilterChange:ra,filterKeys:e,searchableFilters:r,dateFieldLabel:l,activeFilters:b,handleFilterChange:oa,filtersData:v,isMobileFilterOpen:ee,toggleMobileFilter:Wt})]})},s1=[{id:"1",title:"Introduction to iGaming",description:"Gain a comprehensive and practical overview of the iGaming industry with this all-encompassing course. Perfect for beginners looking to understand the fundamentals.",instructor:"Sarah Johnson",price:299,originalPrice:399,currency:"EUR",duration:"8 hours",level:"Beginner",category:"fundamentals",subcategory:"intro-igaming",rating:4.8,reviewCount:1247,enrollmentCount:5420,thumbnail:"/placeholder.svg?height=200&width=300&text=iGaming+Intro",tags:["iGaming","Fundamentals","Industry Overview"],features:["Lifetime Access","Certificate","Mobile Access"],lastUpdated:"2024-01-15",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!0,isNew:!1,isBestseller:!0},{id:"2",title:"Payments & Banking in Gaming Masterclass",description:"Master the complex world of payment processing, banking regulations, and financial compliance in the iGaming industry.",instructor:"Michael Chen",price:699,currency:"EUR",duration:"12 hours",level:"Advanced",category:"fundamentals",subcategory:"payments-banking",rating:4.9,reviewCount:892,enrollmentCount:2156,thumbnail:"/placeholder.svg?height=200&width=300&text=Payments+Banking",tags:["Payments","Banking","Compliance","FinTech"],features:["Lifetime Access","Certificate","Expert Support"],lastUpdated:"2024-02-20",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!0,isNew:!0,isBestseller:!1},{id:"3",title:"The Psychology of Gambling Addiction",description:"Gain insight into the psychological reasons behind gambling, the nature of addiction, and the scientific aspects of the challenges players encounter.",instructor:"Dr. Emma Rodriguez",price:449,currency:"EUR",duration:"6 hours",level:"Intermediate",category:"responsible-gaming",subcategory:"addiction-psychology",rating:4.7,reviewCount:634,enrollmentCount:1890,thumbnail:"/placeholder.svg?height=200&width=300&text=Psychology+Addiction",tags:["Psychology","Addiction","Player Behavior","Mental Health"],features:["Lifetime Access","Certificate","Case Studies"],lastUpdated:"2024-01-30",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!1,isNew:!1,isBestseller:!0},{id:"4",title:"AI in Gaming & Betting",description:"Explore the cutting-edge applications of artificial intelligence in gaming platforms, player analytics, and betting algorithms.",instructor:"Alex Thompson",price:599,currency:"EUR",duration:"10 hours",level:"Advanced",category:"technology",subcategory:"game-development",rating:4.6,reviewCount:445,enrollmentCount:1234,thumbnail:"/placeholder.svg?height=200&width=300&text=AI+Gaming",tags:["AI","Machine Learning","Analytics","Technology"],features:["Lifetime Access","Certificate","Code Examples"],lastUpdated:"2024-03-01",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!0,isNew:!0,isBestseller:!1},{id:"5",title:"Slot Academy LIVE!",description:"Interactive live sessions covering slot game mechanics, RTP calculations, and game design principles with industry experts.",instructor:"Gaming Academy Team",price:1500,currency:"EUR",duration:"20 hours",level:"Advanced",category:"specialized",subcategory:"slot-mechanics",rating:4.9,reviewCount:156,enrollmentCount:423,thumbnail:"/placeholder.svg?height=200&width=300&text=Slot+Academy",tags:["Slots","Game Mechanics","Live Training","RTP"],features:["Live Sessions","Certificate","Expert Mentoring"],lastUpdated:"2024-02-15",language:"English",certificate:!0,accessType:"Limited",isFeatured:!0,isNew:!1,isBestseller:!1},{id:"6",title:"English Language for IGaming & Betting",description:"Specialized English language course designed for non-native speakers working in the iGaming and betting industry.",instructor:"Linda Parker",price:300,currency:"EUR",duration:"15 hours",level:"Beginner",category:"specialized",subcategory:"industry-overview",rating:4.5,reviewCount:789,enrollmentCount:2890,thumbnail:"/placeholder.svg?height=200&width=300&text=English+iGaming",tags:["English","Language","Communication","Industry Terms"],features:["Lifetime Access","Certificate","Audio Lessons"],lastUpdated:"2024-01-10",language:"Multiple",certificate:!0,accessType:"Lifetime",isFeatured:!1,isNew:!1,isBestseller:!0},{id:"7",title:"VIP and Premium Service Masterclass",description:"Learn how to deliver exceptional VIP experiences and premium customer service in the competitive iGaming landscape.",instructor:"Robert Williams",price:499,currency:"EUR",duration:"8 hours",level:"Intermediate",category:"business",subcategory:"vip-management",rating:4.8,reviewCount:567,enrollmentCount:1456,thumbnail:"/placeholder.svg?height=200&width=300&text=VIP+Service",tags:["VIP","Customer Service","Premium","Hospitality"],features:["Lifetime Access","Certificate","Templates"],lastUpdated:"2024-02-05",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!0,isNew:!1,isBestseller:!1},{id:"8",title:"Fundamentals of CRM for Online Gaming",description:"Master customer relationship management strategies specifically tailored for online gaming and betting platforms.",instructor:"Maria Garcia",price:425,currency:"EUR",duration:"9 hours",level:"Intermediate",category:"business",subcategory:"crm-customer-service",rating:4.7,reviewCount:423,enrollmentCount:1123,thumbnail:"/placeholder.svg?height=200&width=300&text=CRM+Gaming",tags:["CRM","Customer Management","Gaming","Analytics"],features:["Lifetime Access","Certificate","CRM Tools"],lastUpdated:"2024-01-25",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!1,isNew:!1,isBestseller:!0},{id:"introduction-to-igaming-iga",title:"Introduction to iGaming",description:"Gain a comprehensive and practical overview of the iGaming industry with this all-encompassing course, featuring real-world case studies from leading operators.",instructor:"Igaming Academy",price:200,originalPrice:250,currency:"EUR",duration:"3 hours",level:"Intermediate",category:"fundamentals",subcategory:"intro-igaming",rating:4.7,reviewCount:0,enrollmentCount:0,thumbnail:"https://igacademy.com/app/uploads/2019/02/Introduction-to-iGaming-800x628.png",link:"https://igacademy.com/courses/introduction-to-igaming/",tags:["iGaming Academy","eLearning"],features:["Certificate","Next date: Online Access Anytime"],lastUpdated:"2025-06-03",language:"English",certificate:!0,accessType:"Subscription",isFeatured:!0,isNew:!1,isBestseller:!0},{id:"compliance-roadmap-2025",title:"Global Compliance Roadmap 2025",description:"Stay ahead of emerging regulatory requirements across Europe, North America, and Asia with a practical roadmap for compliance teams and product managers.",instructor:"Priya Natarajan",price:540,originalPrice:620,currency:"EUR",duration:"7 hours",level:"Advanced",category:"fundamentals",subcategory:"regulations",rating:4.9,reviewCount:312,enrollmentCount:1840,thumbnail:"/placeholder.svg?height=200&width=300&text=Compliance+2025",link:"https://example.com/courses/compliance-roadmap-2025",tags:["Compliance","AML","Licensing","Legal"],features:["Certificate","Downloadable checklists","Quarterly updates"],lastUpdated:"2025-05-20",language:"English",certificate:!0,accessType:"Subscription",isFeatured:!0,isNew:!0,isBestseller:!1},{id:"data-driven-retention-lab",title:"Data-Driven Retention Lab",description:"Hands-on laboratory course where teams design, launch, and measure retention campaigns using cohort analysis and real-time segmentation tools.",instructor:"Dr. Kevin Müller",price:380,currency:"EUR",duration:"5.5 hours",level:"Intermediate",category:"marketing",subcategory:"retention-strategies",rating:4.6,reviewCount:154,enrollmentCount:920,thumbnail:"/placeholder.svg?height=200&width=300&text=Retention+Lab",link:"https://example.com/courses/data-driven-retention",tags:["Retention","Analytics","Lifecycle","CRM"],features:["Certificate","Workbook","Live coaching"],lastUpdated:"2025-04-28",language:"English",certificate:!0,accessType:"Limited",isFeatured:!1,isNew:!0,isBestseller:!0}],vE=({courses:t,onSearchResults:e,onTyping:r,placeholder:n="Search courses, instructors, or topics..."})=>{const[o,i]=j.useState(""),[c,l]=j.useState([]),[d,h]=j.useState(!1);j.useEffect(()=>{if(o.length>0){const f=t.filter(v=>{var C,M,b,N,L;const w=o.toLowerCase();return v.title.toLowerCase().includes(w)||((C=v.description)==null?void 0:C.toLowerCase().includes(w))||((M=v.instructor)==null?void 0:M.toLowerCase().includes(w))||((b=v.tags)==null?void 0:b.some(A=>A.toLowerCase().includes(w)))||((N=v.category)==null?void 0:N.toLowerCase().includes(w))||((L=v.subcategory)==null?void 0:L.toLowerCase().includes(w))});e(f);const k=t.filter(v=>v.title.toLowerCase().includes(o.toLowerCase())).map(v=>v.title).slice(0,3),m=t.flatMap(v=>v.tags??[]).filter(v=>v.toLowerCase().includes(o.toLowerCase())).filter((v,w,C)=>C.indexOf(v)===w).slice(0,3),x=t.filter(v=>v.instructor?v.instructor.toLowerCase().includes(o.toLowerCase()):!1).map(v=>v.instructor).filter((v,w,C)=>C.indexOf(v)===w).slice(0,2);l([...k,...m,...x]),h(!0)}else e(t),l([]),h(!1)},[o,t,e]);const u=f=>{i(f),r==null||r(f.length>0,f)},p=f=>{i(f),h(!1)},y=()=>{i(""),h(!1),r==null||r(!1,"")};return a.jsxs("div",{className:"course-search relative",children:[a.jsxs("div",{className:"relative",children:[a.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:a.jsx(Ut,{className:"h-5 w-5 text-gray-400"})}),a.jsx("input",{type:"text",value:o,onChange:f=>u(f.target.value),onFocus:()=>h(c.length>0),onBlur:()=>setTimeout(()=>h(!1),200),className:"block w-full pl-10 pr-10 py-3 border border-gray-300 rounded-lg bg-white shadow-sm focus:outline-none focus:ring-2 focus:ring-yellow--500 focus:border-yellow--500 text-gray-900 placeholder-gray-500",placeholder:n}),o&&a.jsx("button",{onClick:y,className:"absolute inset-y-0 right-0 pr-3 flex items-center",children:a.jsx(Qt,{className:"h-5 w-5 text-gray-400 hover:text-gray-600"})})]}),d&&c.length>0&&a.jsx("div",{className:"absolute z-10 w-full mt-1 bg-white border border-gray-200 rounded-lg shadow-lg",children:a.jsx("ul",{className:"py-1",children:c.map((f,k)=>a.jsx("li",{children:a.jsx("button",{onClick:()=>p(f),className:"w-full px-4 py-2 text-left text-sm text-gray-700 hover:bg-gray-100 focus:bg-gray-100 focus:outline-none",children:a.jsxs("div",{className:"flex items-center",children:[a.jsx(Ut,{className:"h-4 w-4 text-gray-400 mr-2"}),f]})})},k))})}),o&&a.jsxs("div",{className:"mt-2 text-sm text-gray-600",children:['Search results for "',o,'"']})]})},wE=({title:t,subtitle:e,placeholder:r,courses:n=[],onSearchResults:o})=>a.jsx("section",{className:"py-16 bg-gradient-to-r from-[#0f1219] to-[#1a2236] text-white relative overflow-hidden",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center mb-8",children:[a.jsxs("h2",{className:"text-4xl font-bold text-white mb-4",children:[t||"Master the ",a.jsx("span",{className:"bg-gradient-accent bg-clip-text text-transparent",children:"IGaming Industry"})]}),a.jsx("p",{className:"text-xl text-indigo-100 max-w-2xl mx-auto",children:e||"Learn from industry experts and advance your career with our comprehensive course catalog"})]}),a.jsx("div",{className:"hidden lg:block max-w-2xl mx-auto",children:n&&o&&a.jsx(vE,{courses:n,onSearchResults:o,placeholder:r||"Search IGaming courses, instructors, or topics..."})})]})}),ME=({categories:t,selectedCategory:e,selectedSubcategory:r,onCategorySelect:n,onSubcategorySelect:o})=>{const[i,c]=j.useState(new Set),l=h=>{const u=new Set(i);u.has(h)?u.delete(h):u.add(h),c(u)},d=h=>{l(h),n(h)};return a.jsxs("nav",{className:"course-navigation bg-white rounded-lg shadow-sm border border-gray-200 p-4",children:[a.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Course Categories"}),a.jsx("div",{className:"space-y-2",children:t.map(h=>{const u=i.has(h.id),p=e===h.id;return a.jsxs("div",{className:"category-group",children:[a.jsxs("button",{onClick:()=>d(h.id),className:`
7803
+ `,children:[a.jsxs("div",{className:`relative ${i==="list"?"md:w-1/3 md:flex-shrink-0":""}`,children:[a.jsx("img",{src:t.image||"/placeholder.svg?height=200&width=400&text=News",alt:t.title,className:`w-full h-48 object-cover transition-opacity duration-300 ${d?"opacity-100":"opacity-0"} ${i==="list"?"md:h-32":""}`,onLoad:()=>h(!0)}),!d&&a.jsx("div",{className:"absolute inset-0 bg-gray-200 animate-pulse flex items-center justify-center",children:a.jsx("div",{className:"w-12 h-12 text-gray-400",children:"📰"})}),a.jsxs("div",{className:"absolute top-3 left-3 flex flex-wrap gap-1",children:[t.isBreaking&&a.jsx("span",{className:"px-2 py-1 bg-red-500 text-white text-xs font-semibold rounded animate-pulse",children:"BREAKING"}),t.isTrending&&a.jsxs("span",{className:"px-2 py-1 bg-orange-500 text-white text-xs font-semibold rounded flex items-center",children:[a.jsx(Vi,{className:"w-3 h-3 mr-1"}),"TRENDING"]})]}),a.jsx("button",{onClick:()=>r(t._id,l),className:`absolute top-3 right-3 p-2 rounded-full transition-colors ${e?"bg-yellow-500 text-white":"bg-white text-gray-600 hover:bg-gray-100"} ${c.allowSaving?"":"opacity-60 cursor-not-allowed"}`,"aria-label":e?"Remove bookmark":"Add bookmark",disabled:!c.allowSaving,title:c.allowSaving?void 0:"Sign in to save articles",children:a.jsx(Xa,{className:`w-4 h-4 ${e?"fill-current":""}`})})]}),a.jsxs("div",{className:`p-4 ${i==="list"?"md:w-2/3":""}`,children:[a.jsx("div",{className:"flex flex-wrap gap-2 mb-2",children:t.categories.slice(0,2).map((m,x)=>a.jsx("a",{href:`?category=${m}`,children:a.jsx("span",{className:"px-2 py-1 bg-yellow-100 text-yellow-800 text-xs font-medium rounded-full",children:m},x)}))}),a.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-2 line-clamp-2 hover:text-yellow-600 transition-colors",children:c.maskExternalLinks?a.jsx("button",{className:"text-left w-full text-gray-700 cursor-not-allowed","aria-label":"Sign in to view article",title:"Sign in to view external article",children:t.title}):a.jsx("a",{href:t.link,target:"_blank",rel:"noopener noreferrer",onClick:()=>o==null?void 0:o(t,l,"new_tab",t.isTrending?"trending":t.isBreaking?"breaking":"listing"),children:t.title})}),a.jsx("p",{className:"text-sm text-gray-700 mb-3 line-clamp-3",children:f(t.content,i==="list"?150:200)}),a.jsxs("div",{className:"flex items-center justify-between text-xs text-gray-500 mb-3",children:[a.jsxs("div",{className:"flex items-center space-x-4",children:[a.jsxs("span",{children:["By ",y(t.author)]}),a.jsx("span",{children:t.company})]}),a.jsxs("div",{className:"flex items-center space-x-3",children:[a.jsxs("div",{className:"flex items-center",children:[a.jsx(Kt,{className:"w-4 h-4 mr-1"}),a.jsxs("span",{children:[t.readTime,"m read"]})]}),a.jsxs("div",{className:"flex items-center",children:[a.jsx(xc,{className:"w-4 h-4 mr-1"}),a.jsx("span",{children:p(t.viewCount||0)})]})]})]}),a.jsx("div",{className:"flex flex-wrap gap-1 mb-3",children:t.tags.slice(0,3).map((m,x)=>a.jsxs("span",{className:"px-2 py-1 bg-gray-100 text-gray-600 text-xs rounded",children:["#",m]},x))}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx("span",{className:"text-sm text-gray-500",children:u(t.date)}),a.jsx("span",{className:"inline-flex items-center rounded-full bg-gray-100 px-2.5 py-0.5 text-xs font-medium text-gray-700",children:Tj[c.status]}),c.note&&a.jsx("span",{className:"text-xs text-gray-500",children:c.note})]}),a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx("button",{onClick:()=>n(t,l),className:"p-2 text-gray-400 hover:text-gray-600 hover:bg-gray-100 rounded-full transition-colors","aria-label":"Share article",children:a.jsx(Ns,{className:"w-4 h-4"})}),c.maskExternalLinks?a.jsx("button",{className:"flex items-center px-3 py-1.5 bg-gray-200 text-gray-600 text-sm font-medium rounded-lg cursor-not-allowed","aria-label":"Sign in to read",children:"Sign in to read"}):a.jsxs("a",{href:t.link,target:"_blank",rel:"noopener noreferrer",className:"flex items-center px-3 py-1.5 bg-yellow-600 text-white text-sm font-medium rounded-lg hover:bg-yellow-700 transition-colors",onClick:()=>o==null?void 0:o(t,l,"new_tab",t.isTrending?"trending":t.isBreaking?"breaking":"listing"),children:["Read More",a.jsx(Oi,{className:"w-3 h-3 ml-1"})]})]})]})]})]})},gE=({apiUrl:t="http://localhost:5000/api/news",filterKeys:e=["categories","author","company"],searchableFilters:r=["company","author","categories"],defaultFilters:n={categories:[],tags:[],authors:[],companies:[],dateRange:["",""],readTime:[0,999]},defaultSort:o="latest",bookmarkStorageKey:i="news-bookmarks",itemsPerPage:c=12,dateFieldLabel:l="Published",userAccess:d,onEmitEvent:h,eventContext:u})=>{const[p,y]=j.useState([]),[f,k]=j.useState([]),[m,x]=j.useState([]),[v,w]=j.useState({}),[C,M]=j.useState(""),[b,N]=j.useState({}),[L,A]=j.useState(!1),[I,q]=j.useState(c),[P,_]=j.useState(new Set),[R,U]=j.useState(o),[W,V]=j.useState("grid"),[O,E]=j.useState(1),[Q,de]=j.useState([]),[ee,te]=j.useState(!1),[Me,ge]=j.useState([]),[ae,he]=j.useState([]),[B,X]=j.useState(!0),[J,ne]=j.useState("all"),[pe,se]=j.useState(""),Te=H=>H.trim().toLowerCase().replace(/\s+/g,"-"),[Se,We]=j.useState(n),[rt,st]=j.useState(null),Tt=P9(d),ze=j.useMemo(()=>({component:"NewsPage",...u??{}}),[u]),Ze=j.useCallback((H,Y)=>{h&&h({domain:"news",name:H,payload:Y,timestamp:new Date().toISOString(),context:ze})},[ze,h]),Mt=j.useCallback(()=>({filters:{...b},categories:Se.categories.length?Se.categories:b.categories?[b.categories]:[],tags:Se.tags,authors:Se.authors.length?Se.authors:b.author?[b.author]:[],companies:Se.companies.length?Se.companies:b.company?[b.company]:[],dateFilter:J,readTimeRange:Se.readTime}),[J,b,Se]),qt=j.useCallback(()=>({page:O,pageSize:I,totalResults:f.length,sortBy:R,viewMode:W}),[O,f.length,I,R,W]),qe=j.useRef(!1);j.useEffect(()=>{const H=localStorage.getItem(i);H&&_(new Set(JSON.parse(H)))},[i]),j.useEffect(()=>{const H=new URLSearchParams(window.location.search),Y={};e.forEach(nt=>{const ct=H.get(nt);ct&&(Y[nt]=ct)}),N(Y);const me=H.get("q"),Ie=H.get("categories");let Be=[...p];if(me&&(Be=Be.filter(nt=>nt.title.toLowerCase().includes(me.toLowerCase())),M(me),Dt(me)),Ie){const nt=Ie.trim().toLowerCase().replace(/\s+/g,"-");We(ct=>({...ct,categories:[nt]})),Be=Be.filter(ct=>ct.categories.some(Ea=>Te(Ea)===nt))}x(Be);const Ma={};e.forEach(nt=>{const ct=H.get(nt);ct&&(Ma[nt]=ct)}),N(Ma)},[p]),j.useEffect(()=>{const Y=new URLSearchParams(window.location.search).get("date_filter");if(Y&&Y!=="all"){ne(Y);const me=jt(p,b,Me,Y);k(me),E(1),pt(me)}},[p]);const Dt=H=>{if(!H.trim())return;const Y=[...Me,H.trim()];ge(Y);const me=jt(p,b,Y,J);k(me),E(1),pt(me),M(""),Ze("news_search_submitted",{query:H,searchFilters:Y,...Mt()})},pt=H=>{const Y=qc(H,e);w(Y)},ra=H=>{ne(H),D(H),rA(H)},D=H=>{const Y=jt(p,b,Me,H);k(Y),E(1),pt(Y)};j.useEffect(()=>{localStorage.setItem(i,JSON.stringify(Array.from(P)))},[P,i]),j.useEffect(()=>{X(!0),st(null),(async()=>{try{const Y=await fetch(t);if(!Y.ok)throw new Error(`API responded with status: ${Y.status}`);const me=await Y.json();if(!Array.isArray(me))throw new Error("Expected an array but received: "+typeof me);const Ie=me.map(Ue=>({...Ue,categories:Array.isArray(Ue.categories)?Ue.categories:[],topTag:QD(Ue.title||"")})),Be={};for(const Ue of Ie){const lt=Ue.topTag;lt&&(Be[lt]=(Be[lt]||0)+1)}const Ma=Object.entries(Be).sort((Ue,lt)=>lt[1]-Ue[1]).slice(0,10).map(([Ue])=>Ue);he(Ma);const nt=new Set;Ie.forEach(Ue=>{Ue.categories.forEach(lt=>{nt.add(Te(lt))})});const ct=Array.from(nt).map(Ue=>({id:Ue,name:Ue.replace(/-/g," ").replace(/\b\w/g,lt=>lt.toUpperCase()),icon:"📰",count:Ie.filter(lt=>lt.categories.some(z=>Te(z)===Ue)).length,color:"bg-gray-100 text-gray-800"}));y(Ie),k(Ie),x(Ie),de(ct);const Ea=qc(Ie,e);w(Ea)}catch(Y){console.error("Failed to fetch articles",Y)}finally{X(!1)}})()},[t]);const F=()=>{V(H=>{const Y=H==="grid"?"list":"grid";return Ze("news_listing_viewmode_changed",{viewMode:Y}),Y})};j.useMemo(()=>p.filter(H=>H.isTrending).slice(0,6),[p]),j.useMemo(()=>p.filter(H=>H.isBreaking),[p]);const re=Math.ceil(f.length/I),be=f.slice((O-1)*I,O*I),Ae=(H,Y)=>{Tt.allowSaving&&_(me=>{const Ie=new Set(me),Be=Ie.has(H);return Be?Ie.delete(H):Ie.add(H),Ze(Be?"news_article_unbookmarked":"news_article_bookmarked",{articleId:H,positionInList:Y}),Ie})},Qe=(H,Y)=>{navigator.share?navigator.share({title:H.title,text:H.title,url:H.link}):(navigator.clipboard.writeText(H.link),alert("Article link copied to clipboard!")),Ze("news_article_shared",{articleId:H._id,channel:"copy_link"})},Oe=(H,Y,me="new_tab",Ie="listing")=>{Ze("news_article_opened",{articleId:H._id,slug:H.slug,positionInList:Y,openedFrom:Ie,openedIn:me})},Wt=()=>{te(!ee)},os=f.length===0?0:(O-1)*I+1,is=Math.min(O*I,f.length),tc=()=>{We({categories:[],tags:[],authors:[],companies:[],dateRange:["",""],readTime:[0,999]}),E(1);const H=jt(p,b,Me,J);k(H),E(1),pt(H)},ss=()=>{N({}),ge([]),ne("all"),tc(),k(p),E(1),pt(p),Ze("news_filters_cleared_all",{})},Fa=j.useRef(null),cs=H=>{E(H),Ze("news_listing_page_changed",{page:H,pageSize:I,totalResults:f.length}),setTimeout(()=>{var Y;(Y=Fa.current)==null||Y.scrollIntoView({behavior:"smooth",block:"start"})},100)},na=H=>{q(H),E(1),Ze("news_listing_items_per_page_changed",{pageSize:H})},oa=(H,Y)=>{const me={...b};Y?me[H]=Y:delete me[H];const Ie=jt(p,me,Me,J);N(me),k(Ie),E(1),pt(Ie);const Be=Mt();Y?Ze("news_filter_selected",{key:H,value:Y,...Be}):Ze("news_filter_cleared",{key:H,...Be})},wa=H=>{const Y=Me.filter(Ie=>Ie!==H);ge(Y);const me=jt(p,b,Y,J);k(me),E(1),pt(me),Ze("news_search_filter_removed",{removedKeyword:H,remainingKeywords:Y})};return j.useEffect(()=>{qe.current||B||!f.length&&!p.length||(Ze("news_listing_viewed",{...Mt(),...qt()}),qe.current=!0)},[p.length,Ze,f.length,Mt,qt,B]),a.jsxs("div",{className:"flex flex-col min-h-screen pb-16 md:pb-0",children:[a.jsxs("div",{className:"flex-grow",children:[a.jsx(zj,{onSearchChange:H=>{const Y=p.filter(me=>me.title.toLowerCase().includes(H.toLowerCase()));x(Y),M(H)},title:"Latest News",popularTags:ae,generateHref:H=>`/news?q=${H.replace(/\s+/g,"+")}`}),a.jsxs("div",{className:"container mx-auto py-8 pb-20 md:pb-8",children:[a.jsxs("div",{className:"relative",children:[a.jsxs("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:[a.jsx(Dj,{data:p.map(H=>H.title),onSelect:H=>{Dt(H)},onTyping:H=>{A(!!H),H||(x(p),M(""))},placeholder:"Search news, topics, or authors...",showSubmitButton:!0,className:"w-full"}),a.jsx("button",{className:"block md:hidden flex items-center justify-center p-3 bg-white border-2 border-gray-200 text-gray-700 rounded-xl hover:border-gray-300 hover:bg-gray-50 transition-all duration-200 focus:ring-4 focus:ring-gray-200 focus:outline-none hover:scale-105",onClick:Wt,children:a.jsx(Ya,{size:16,className:"mr-1.5"})}),C&&a.jsxs("div",{className:"flex gap-2 mt-3 px-4 sm:px-6 lg:px-8",children:[a.jsxs("span",{className:"bg-yellow-100 text-indigo-800 rounded-full px-3 py-1 text-sm flex items-center",children:[C,a.jsx("button",{onClick:()=>{x(p),M("")},className:"ml-2 text-indigo-600 hover:text-indigo-800",children:"×"})]}),a.jsx("button",{className:"text-sm text-gray-600 hover:underline",onClick:()=>{x(p),M("")},children:"Clear Search"})]})]}),a.jsx("div",{className:"max-w-7xl mx-auto md:pb-8",children:a.jsx("div",{className:"block w-full",children:a.jsx("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:a.jsx(Ej,{filters:[...pe?[{key:"categories",label:"Categories",value:pe.replace(/-/g," "),onRemove:()=>se("")}]:[],...Me.map(H=>({key:"search",label:"",value:H,onRemove:()=>wa(H)})),...Object.entries(b).map(([H,Y])=>({key:H,label:H.replace(/_/g," "),value:Y,onRemove:()=>oa(H,"")}))],onClearAll:ss})})})})]}),a.jsx("main",{className:"max-w-7xl mx-auto px-4 pb-8 sm:px-6 lg:px-8",children:a.jsxs("div",{className:"flex flex-col lg:flex-row lg:gap-6",children:[a.jsx(nA,{dateFieldLabel:"Date",activeDateFilter:J,onDateFilterChange:ra,filterKeys:e,searchableFilters:r,filtersData:v,activeFilters:b,handleFilterChange:oa,toggleSavedJobsFilter:()=>console.log("toggle saved jobs filter"),showOnlySaved:!1,savedJobs:[]}),B?a.jsx(qj,{}):a.jsx(a.Fragment,{children:a.jsxs("div",{className:"lg:w-2/4",children:[a.jsx(Oj,{viewMode:W,onToggleViewMode:F,selectedItemsPerPage:I,onItemsPerPageChange:na,totalCount:f.length,startIndex:os,endIndex:is,title:"Latest News"}),f.length>0?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:W==="grid"?"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-2 gap-6":"space-y-6",children:be.map((H,Y)=>a.jsx("div",{ref:Y===0?Fa:null,children:a.jsx(kE,{article:H,isBookmarked:P.has(H._id),positionInList:Y,onToggleBookmark:me=>Ae(me,Y),onShare:me=>Qe(me),onOpenArticle:Oe,layout:W,userAccess:Tt})},H._id))}),re>1&&a.jsx("div",{className:"mt-8 flex justify-center",children:a.jsx(Hj,{currentPage:O,totalPages:re,onPageChange:cs})})]}):a.jsxs("div",{className:"text-center py-12",children:[a.jsx(Pa,{className:"w-16 h-16 text-gray-400 mx-auto mb-4"}),a.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2",children:"No articles found"}),a.jsx("p",{className:"text-gray-600 mb-4",children:"Try adjusting your search criteria or filters to find more articles."}),a.jsx("button",{onClick:ss,className:"px-4 py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700 transition-colors",children:"Clear All Filters"})]})]})}),a.jsx("div",{className:"hidden lg:block lg:w-1/4 space-y-6",children:a.jsxs("div",{className:"sticky top-4",children:[a.jsx($c,{position:"sidebar",url:"https://video-previews.elements.envatousercontent.com/h264-video-previews/e08912ad-6856-4e36-89b5-cf1465cc79cb/32651312.mp4",link:"",alt:""}),a.jsx(Rj,{api_url:""}),a.jsxs("div",{className:"mt-6 bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[a.jsx("h3",{className:"font-semibold text-lg mb-3",children:"Featured Employers"}),a.jsx("div",{className:"grid grid-cols-3 gap-2",children:[...Array(6)].map((H,Y)=>a.jsx("div",{className:"flex items-center justify-center p-2 bg-gray-50 rounded-md",children:a.jsx("img",{src:`/placeholder.svg?height=40&width=40&text=${String.fromCharCode(65+Y)}`,alt:`Featured employer ${Y+1}`,className:"w-10 h-10 object-contain"})},Y))})]})]})})]})})]})]}),a.jsx(aA,{activeDateFilter:J,handleDateFilterChange:ra,filterKeys:e,searchableFilters:r,dateFieldLabel:l,activeFilters:b,handleFilterChange:oa,filtersData:v,isMobileFilterOpen:ee,toggleMobileFilter:Wt})]})},s1=[{id:"1",title:"Introduction to iGaming",description:"Gain a comprehensive and practical overview of the iGaming industry with this all-encompassing course. Perfect for beginners looking to understand the fundamentals.",instructor:"Sarah Johnson",price:299,originalPrice:399,currency:"EUR",duration:"8 hours",level:"Beginner",category:"fundamentals",subcategory:"intro-igaming",rating:4.8,reviewCount:1247,enrollmentCount:5420,thumbnail:"/placeholder.svg?height=200&width=300&text=iGaming+Intro",tags:["iGaming","Fundamentals","Industry Overview"],features:["Lifetime Access","Certificate","Mobile Access"],lastUpdated:"2024-01-15",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!0,isNew:!1,isBestseller:!0},{id:"2",title:"Payments & Banking in Gaming Masterclass",description:"Master the complex world of payment processing, banking regulations, and financial compliance in the iGaming industry.",instructor:"Michael Chen",price:699,currency:"EUR",duration:"12 hours",level:"Advanced",category:"fundamentals",subcategory:"payments-banking",rating:4.9,reviewCount:892,enrollmentCount:2156,thumbnail:"/placeholder.svg?height=200&width=300&text=Payments+Banking",tags:["Payments","Banking","Compliance","FinTech"],features:["Lifetime Access","Certificate","Expert Support"],lastUpdated:"2024-02-20",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!0,isNew:!0,isBestseller:!1},{id:"3",title:"The Psychology of Gambling Addiction",description:"Gain insight into the psychological reasons behind gambling, the nature of addiction, and the scientific aspects of the challenges players encounter.",instructor:"Dr. Emma Rodriguez",price:449,currency:"EUR",duration:"6 hours",level:"Intermediate",category:"responsible-gaming",subcategory:"addiction-psychology",rating:4.7,reviewCount:634,enrollmentCount:1890,thumbnail:"/placeholder.svg?height=200&width=300&text=Psychology+Addiction",tags:["Psychology","Addiction","Player Behavior","Mental Health"],features:["Lifetime Access","Certificate","Case Studies"],lastUpdated:"2024-01-30",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!1,isNew:!1,isBestseller:!0},{id:"4",title:"AI in Gaming & Betting",description:"Explore the cutting-edge applications of artificial intelligence in gaming platforms, player analytics, and betting algorithms.",instructor:"Alex Thompson",price:599,currency:"EUR",duration:"10 hours",level:"Advanced",category:"technology",subcategory:"game-development",rating:4.6,reviewCount:445,enrollmentCount:1234,thumbnail:"/placeholder.svg?height=200&width=300&text=AI+Gaming",tags:["AI","Machine Learning","Analytics","Technology"],features:["Lifetime Access","Certificate","Code Examples"],lastUpdated:"2024-03-01",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!0,isNew:!0,isBestseller:!1},{id:"5",title:"Slot Academy LIVE!",description:"Interactive live sessions covering slot game mechanics, RTP calculations, and game design principles with industry experts.",instructor:"Gaming Academy Team",price:1500,currency:"EUR",duration:"20 hours",level:"Advanced",category:"specialized",subcategory:"slot-mechanics",rating:4.9,reviewCount:156,enrollmentCount:423,thumbnail:"/placeholder.svg?height=200&width=300&text=Slot+Academy",tags:["Slots","Game Mechanics","Live Training","RTP"],features:["Live Sessions","Certificate","Expert Mentoring"],lastUpdated:"2024-02-15",language:"English",certificate:!0,accessType:"Limited",isFeatured:!0,isNew:!1,isBestseller:!1},{id:"6",title:"English Language for IGaming & Betting",description:"Specialized English language course designed for non-native speakers working in the iGaming and betting industry.",instructor:"Linda Parker",price:300,currency:"EUR",duration:"15 hours",level:"Beginner",category:"specialized",subcategory:"industry-overview",rating:4.5,reviewCount:789,enrollmentCount:2890,thumbnail:"/placeholder.svg?height=200&width=300&text=English+iGaming",tags:["English","Language","Communication","Industry Terms"],features:["Lifetime Access","Certificate","Audio Lessons"],lastUpdated:"2024-01-10",language:"Multiple",certificate:!0,accessType:"Lifetime",isFeatured:!1,isNew:!1,isBestseller:!0},{id:"7",title:"VIP and Premium Service Masterclass",description:"Learn how to deliver exceptional VIP experiences and premium customer service in the competitive iGaming landscape.",instructor:"Robert Williams",price:499,currency:"EUR",duration:"8 hours",level:"Intermediate",category:"business",subcategory:"vip-management",rating:4.8,reviewCount:567,enrollmentCount:1456,thumbnail:"/placeholder.svg?height=200&width=300&text=VIP+Service",tags:["VIP","Customer Service","Premium","Hospitality"],features:["Lifetime Access","Certificate","Templates"],lastUpdated:"2024-02-05",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!0,isNew:!1,isBestseller:!1},{id:"8",title:"Fundamentals of CRM for Online Gaming",description:"Master customer relationship management strategies specifically tailored for online gaming and betting platforms.",instructor:"Maria Garcia",price:425,currency:"EUR",duration:"9 hours",level:"Intermediate",category:"business",subcategory:"crm-customer-service",rating:4.7,reviewCount:423,enrollmentCount:1123,thumbnail:"/placeholder.svg?height=200&width=300&text=CRM+Gaming",tags:["CRM","Customer Management","Gaming","Analytics"],features:["Lifetime Access","Certificate","CRM Tools"],lastUpdated:"2024-01-25",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!1,isNew:!1,isBestseller:!0},{id:"introduction-to-igaming-iga",title:"Introduction to iGaming",description:"Gain a comprehensive and practical overview of the iGaming industry with this all-encompassing course, featuring real-world case studies from leading operators.",instructor:"Igaming Academy",price:200,originalPrice:250,currency:"EUR",duration:"3 hours",level:"Intermediate",category:"fundamentals",subcategory:"intro-igaming",rating:4.7,reviewCount:0,enrollmentCount:0,thumbnail:"https://igacademy.com/app/uploads/2019/02/Introduction-to-iGaming-800x628.png",link:"https://igacademy.com/courses/introduction-to-igaming/",tags:["iGaming Academy","eLearning"],features:["Certificate","Next date: Online Access Anytime"],lastUpdated:"2025-06-03",language:"English",certificate:!0,accessType:"Subscription",isFeatured:!0,isNew:!1,isBestseller:!0},{id:"compliance-roadmap-2025",title:"Global Compliance Roadmap 2025",description:"Stay ahead of emerging regulatory requirements across Europe, North America, and Asia with a practical roadmap for compliance teams and product managers.",instructor:"Priya Natarajan",price:540,originalPrice:620,currency:"EUR",duration:"7 hours",level:"Advanced",category:"fundamentals",subcategory:"regulations",rating:4.9,reviewCount:312,enrollmentCount:1840,thumbnail:"/placeholder.svg?height=200&width=300&text=Compliance+2025",link:"https://example.com/courses/compliance-roadmap-2025",tags:["Compliance","AML","Licensing","Legal"],features:["Certificate","Downloadable checklists","Quarterly updates"],lastUpdated:"2025-05-20",language:"English",certificate:!0,accessType:"Subscription",isFeatured:!0,isNew:!0,isBestseller:!1},{id:"data-driven-retention-lab",title:"Data-Driven Retention Lab",description:"Hands-on laboratory course where teams design, launch, and measure retention campaigns using cohort analysis and real-time segmentation tools.",instructor:"Dr. Kevin Müller",price:380,currency:"EUR",duration:"5.5 hours",level:"Intermediate",category:"marketing",subcategory:"retention-strategies",rating:4.6,reviewCount:154,enrollmentCount:920,thumbnail:"/placeholder.svg?height=200&width=300&text=Retention+Lab",link:"https://example.com/courses/data-driven-retention",tags:["Retention","Analytics","Lifecycle","CRM"],features:["Certificate","Workbook","Live coaching"],lastUpdated:"2025-04-28",language:"English",certificate:!0,accessType:"Limited",isFeatured:!1,isNew:!0,isBestseller:!0}],vE=({courses:t,onSearchResults:e,onTyping:r,placeholder:n="Search courses, instructors, or topics..."})=>{const[o,i]=j.useState(""),[c,l]=j.useState([]),[d,h]=j.useState(!1);j.useEffect(()=>{if(o.length>0){const f=t.filter(v=>{var C,M,b,N,L;const w=o.toLowerCase();return v.title.toLowerCase().includes(w)||((C=v.description)==null?void 0:C.toLowerCase().includes(w))||((M=v.instructor)==null?void 0:M.toLowerCase().includes(w))||((b=v.tags)==null?void 0:b.some(A=>A.toLowerCase().includes(w)))||((N=v.category)==null?void 0:N.toLowerCase().includes(w))||((L=v.subcategory)==null?void 0:L.toLowerCase().includes(w))});e(f);const k=t.filter(v=>v.title.toLowerCase().includes(o.toLowerCase())).map(v=>v.title).slice(0,3),m=t.flatMap(v=>v.tags??[]).filter(v=>v.toLowerCase().includes(o.toLowerCase())).filter((v,w,C)=>C.indexOf(v)===w).slice(0,3),x=t.filter(v=>v.instructor?v.instructor.toLowerCase().includes(o.toLowerCase()):!1).map(v=>v.instructor).filter((v,w,C)=>C.indexOf(v)===w).slice(0,2);l([...k,...m,...x]),h(!0)}else e(t),l([]),h(!1)},[o,t,e]);const u=f=>{i(f),r==null||r(f.length>0,f)},p=f=>{i(f),h(!1)},y=()=>{i(""),h(!1),r==null||r(!1,"")};return a.jsxs("div",{className:"course-search relative",children:[a.jsxs("div",{className:"relative",children:[a.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:a.jsx(Ut,{className:"h-5 w-5 text-gray-400"})}),a.jsx("input",{type:"text",value:o,onChange:f=>u(f.target.value),onFocus:()=>h(c.length>0),onBlur:()=>setTimeout(()=>h(!1),200),className:"block w-full pl-10 pr-10 py-3 border border-gray-300 rounded-lg bg-white shadow-sm focus:outline-none focus:ring-2 focus:ring-yellow--500 focus:border-yellow--500 text-gray-900 placeholder-gray-500",placeholder:n}),o&&a.jsx("button",{onClick:y,className:"absolute inset-y-0 right-0 pr-3 flex items-center",children:a.jsx(Qt,{className:"h-5 w-5 text-gray-400 hover:text-gray-600"})})]}),d&&c.length>0&&a.jsx("div",{className:"absolute z-10 w-full mt-1 bg-white border border-gray-200 rounded-lg shadow-lg",children:a.jsx("ul",{className:"py-1",children:c.map((f,k)=>a.jsx("li",{children:a.jsx("button",{onClick:()=>p(f),className:"w-full px-4 py-2 text-left text-sm text-gray-700 hover:bg-gray-100 focus:bg-gray-100 focus:outline-none",children:a.jsxs("div",{className:"flex items-center",children:[a.jsx(Ut,{className:"h-4 w-4 text-gray-400 mr-2"}),f]})})},k))})}),o&&a.jsxs("div",{className:"mt-2 text-sm text-gray-600",children:['Search results for "',o,'"']})]})},wE=({title:t,subtitle:e,placeholder:r,courses:n=[],onSearchResults:o})=>a.jsx("section",{className:"py-16 bg-gradient-to-r from-[#0f1219] to-[#1a2236] text-white relative overflow-hidden",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center mb-8",children:[a.jsxs("h2",{className:"text-4xl font-bold text-white mb-4",children:[t||"Master the ",a.jsx("span",{className:"bg-gradient-accent bg-clip-text text-transparent",children:"IGaming Industry"})]}),a.jsx("p",{className:"text-xl text-indigo-100 max-w-2xl mx-auto",children:e||"Learn from industry experts and advance your career with our comprehensive course catalog"})]}),a.jsx("div",{className:"hidden lg:block max-w-2xl mx-auto",children:n&&o&&a.jsx(vE,{courses:n,onSearchResults:o,placeholder:r||"Search IGaming courses, instructors, or topics..."})})]})}),ME=({categories:t,selectedCategory:e,selectedSubcategory:r,onCategorySelect:n,onSubcategorySelect:o})=>{const[i,c]=j.useState(new Set),l=h=>{const u=new Set(i);u.has(h)?u.delete(h):u.add(h),c(u)},d=h=>{l(h),n(h)};return a.jsxs("nav",{className:"course-navigation bg-white rounded-lg shadow-sm border border-gray-200 p-4",children:[a.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Course Categories"}),a.jsx("div",{className:"space-y-2",children:t.map(h=>{const u=i.has(h.id),p=e===h.id;return a.jsxs("div",{className:"category-group",children:[a.jsxs("button",{onClick:()=>d(h.id),className:`
7804
7804
  w-full flex items-center justify-between p-3 rounded-lg text-left transition-colors
7805
7805
  ${p?"bg-yellow-50 text-indigo-700 border border-yellow--200":"hover:bg-gray-50 text-gray-700"}
7806
7806
  `,children:[a.jsxs("div",{className:"flex items-center",children:[a.jsx("span",{className:"text-lg mr-3",children:h.icon}),a.jsx("span",{className:"font-medium",children:h.name})]}),u?a.jsx(Fi,{className:"w-4 h-4"}):a.jsx(Ja,{className:"w-4 h-4"})]}),u&&a.jsx("div",{className:"mt-2 ml-6 space-y-1",children:h.subcategories.map(y=>{const f=r===y.id;return a.jsxs("button",{onClick:()=>o(y.id),className:`
7807
7807
  w-full flex items-center justify-between p-2 rounded-md text-left text-sm transition-colors
7808
7808
  ${f?"bg-yellow-100 text-indigo-800":"hover:bg-gray-100 text-gray-600"}
7809
- `,children:[a.jsx("span",{children:y.name}),a.jsx("span",{className:"text-xs text-gray-500",children:y.courseCount})]},y.id)})})]},h.id)})})]})},uL=({filters:t,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:o,totalCourses:i,filteredCourses:c,showFilterName:l=!0,categories:d,selectedCategory:h,selectedSubcategory:u,onCategorySelect:p,onSubcategorySelect:y})=>{const[f,k]=j.useState(!1),m=[{value:"relevance",label:"Most Relevant"},{value:"price-low-high",label:"Price: Low to High"},{value:"price-high-low",label:"Price: High to Low"},{value:"rating",label:"Highest Rated"},{value:"newest",label:"Newest"},{value:"most-enrolled",label:"Most Enrolled"}],x=["English","Spanish","French","German","Multiple"],v=["Lifetime Access","Certificate","Mobile Access","Expert Support"],w=b=>{const N=t.languages.includes(b)?t.languages.filter(L=>L!==b):[...t.languages,b];r({...t,languages:N})},C=b=>{const N=t.features.includes(b)?t.features.filter(L=>L!==b):[...t.features,b];r({...t,features:N})},M=t.levels.length>0||t.languages.length>0||t.features.length>0||t.rating>0||t.priceRange[0]>0||t.priceRange[1]<2e3;return a.jsxs("div",{className:"course-filters bg-white rounded-lg shadow-sm border border-gray-200",children:[a.jsxs("div",{className:"hidden lg:block p-4 border-b border-gray-200",children:[a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{className:"flex items-center",children:[a.jsx(ws,{className:"w-5 h-5 text-gray-600 mr-2"}),a.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:"Filters"}),M&&a.jsx("span",{className:"ml-2 px-2 py-1 bg-yellow-100 text-indigo-800 text-xs rounded-full",children:"Active"})]}),a.jsxs("div",{className:"flex items-center space-x-2",children:[M&&a.jsx("button",{onClick:o,className:"text-sm text-indigo-600 hover:text-indigo-800",children:"Clear All"}),a.jsx("button",{onClick:()=>k(!f),className:"lg:hidden p-1 rounded-md hover:bg-gray-100",children:a.jsx(Fi,{className:`w-4 h-4 transition-transform ${f?"rotate-180":""}`})})]})]}),a.jsxs("p",{className:"text-sm text-gray-600 mt-2",children:["Showing ",c," of ",i," courses"]})]}),a.jsxs("div",{className:"p-4 border-b border-gray-200",children:[a.jsx("label",{htmlFor:"sort-select",className:"block text-sm font-medium text-gray-700 mb-2",children:"Sort by"}),a.jsx("select",{id:"sort-select",value:e,onChange:b=>n(b.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow--500 focus:border-yellow--500",children:m.map(b=>a.jsx("option",{value:b.value,children:b.label},b.value))})]}),a.jsxs("div",{className:"block",children:[a.jsx(ME,{categories:d,selectedCategory:h,selectedSubcategory:u,onCategorySelect:p,onSubcategorySelect:y}),a.jsxs("div",{className:"p-4 border-b border-gray-200",children:[a.jsx("h4",{className:"text-sm font-medium text-gray-900 mb-3",children:"Language"}),a.jsx("div",{className:"space-y-2",children:x.map(b=>a.jsxs("label",{className:"flex items-center",children:[a.jsx("input",{type:"checkbox",checked:t.languages.includes(b),onChange:()=>w(b),className:"mr-2 text-indigo-600 focus:ring-yellow--500 rounded"}),a.jsx("span",{className:"text-sm text-gray-700",children:b})]},b))})]}),a.jsxs("div",{className:"p-4",children:[a.jsx("h4",{className:"text-sm font-medium text-gray-900 mb-3",children:"Features"}),a.jsx("div",{className:"space-y-2",children:v.map(b=>a.jsxs("label",{className:"flex items-center",children:[a.jsx("input",{type:"checkbox",checked:t.features.includes(b),onChange:()=>C(b),className:"mr-2 text-indigo-600 focus:ring-yellow--500 rounded"}),a.jsx("span",{className:"text-sm text-gray-700",children:b})]},b))})]})]})]})},bE=({isOpen:t,onClose:e,title:r="Filters",children:n})=>t?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"fixed inset-0 bg-gray-600 bg-opacity-75 z-40",onClick:e}),a.jsxs("div",{className:"fixed inset-y-0 right-0 max-w-xs w-full bg-white shadow-xl z-50 overflow-y-auto",children:[a.jsxs("div",{className:"px-4 py-2 border-b border-gray-200 flex items-center justify-between",children:[a.jsx("h2",{className:"text-lg font-semibold text-gray-900",children:r}),a.jsx("button",{onClick:e,className:"p-2 rounded-full hover:bg-gray-100","aria-label":"Close filters",children:a.jsx("svg",{className:"h-6 w-6 text-gray-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),a.jsx("div",{className:"p-4",children:n})]})]}):null,pL=({filters:t,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:o,totalCourses:i,filteredCourses:c,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p,isMobileFilterOpen:y,toggleMobileFilter:f,enableMobileFilter:k,showFilterName:m=!0,isMobile:x=!1})=>a.jsxs("aside",{className:x?"lg:w-1/4 space-y-6":"w-full space-y-6",children:[k&&a.jsx("button",{className:"block md:hidden flex items-center justify-center p-3 bg-white border-2 border-gray-200 text-gray-700 rounded-xl hover:border-gray-300 hover:bg-gray-50 transition-all duration-200 focus:ring-4 focus:ring-gray-200 focus:outline-none hover:scale-105",onClick:f,"aria-expanded":y,children:a.jsx(Ya,{className:"w-4 h-4 flex justify-center items-center"})}),a.jsx("div",{className:"hidden md:block",children:a.jsx(uL,{filters:t,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:o,totalCourses:i,filteredCourses:c,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p})}),a.jsx(bE,{isOpen:y,onClose:f,title:"Filters",children:a.jsx(uL,{filters:t,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:o,totalCourses:i,filteredCourses:c,showFilterName:m,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p})})]}),CE=({course:t,isFavorite:e,onToggleFavorite:r,onEnroll:n,userAccess:o})=>{const[i,c]=j.useState(!1),l=(p,y)=>new Intl.NumberFormat("en-EU",{style:"currency",currency:y}).format(p),d=p=>p>=1e3?`${(p/1e3).toFixed(1)}k`:p.toString(),h=o.allowSaving,u=o.maskExternalLinks;return a.jsxs("div",{className:"course-card bg-white rounded-lg shadow-sm border border-gray-200 overflow-hidden hover:shadow-lg transition-shadow duration-300",children:[a.jsxs("div",{className:"relative",children:[a.jsx("img",{src:t.thumbnail||"/placeholder.svg",alt:t.title,className:`w-full h-48 object-cover transition-opacity duration-300 ${i?"opacity-100":"opacity-0"}`,onLoad:()=>c(!0)}),!i&&a.jsx("div",{className:"absolute inset-0 bg-gray-200 animate-pulse flex items-center justify-center",children:a.jsx(Vt,{className:"w-12 h-12 text-gray-400"})}),a.jsxs("div",{className:"absolute top-3 left-3 flex flex-wrap gap-1",children:[t.isBestseller&&a.jsx("span",{className:"px-2 py-1 bg-orange-500 text-white text-xs font-semibold rounded",children:"Bestseller"}),t.isNew&&a.jsx("span",{className:"px-2 py-1 bg-green-500 text-white text-xs font-semibold rounded",children:"New"}),t.isFeatured&&a.jsx("span",{className:"px-2 py-1 bg-yellow-500 text-white text-xs font-semibold rounded",children:"Featured"})]}),a.jsx("button",{onClick:()=>r(t.id),className:`absolute top-3 right-3 p-2 rounded-full transition-colors ${e?"bg-red-500 text-white":"bg-white text-gray-600 hover:bg-gray-100"} ${h?"":"opacity-60 cursor-not-allowed"}`,"aria-label":e?"Remove from favorites":"Add to favorites",disabled:!h,title:h?void 0:"Sign in to save courses",children:a.jsx(Cs,{className:`w-4 h-4 ${e?"fill-current":""}`})})]}),a.jsxs("div",{className:"p-4",children:[a.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2 line-clamp-2",children:t.title}),a.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[a.jsx("span",{className:"inline-flex items-center rounded-full bg-gray-100 px-2.5 py-0.5 text-xs font-medium text-gray-700",children:Tj[o.status]}),o.note&&a.jsx("span",{className:"text-xs text-gray-500",children:o.note})]}),a.jsxs("p",{className:"text-sm text-gray-600 mb-2",children:["By ",t.instructor]}),a.jsx("p",{className:"text-sm text-gray-700 mb-3 line-clamp-2",children:t.description}),a.jsxs("div",{className:"flex items-center mb-3",children:[a.jsxs("div",{className:"flex items-center",children:[a.jsx(Et,{className:"w-4 h-4 text-yellow-400 fill-current"}),a.jsx("span",{className:"ml-1 text-sm font-medium text-gray-900",children:t.rating})]}),typeof t.reviewCount=="number"&&a.jsxs("span",{className:"ml-2 text-sm text-gray-500",children:["(",t.reviewCount.toLocaleString()," reviews)"]})]}),a.jsxs("div",{className:"flex items-center justify-between text-sm text-gray-600 mb-3",children:[a.jsxs("div",{className:"flex items-center",children:[a.jsx(Kt,{className:"w-4 h-4 mr-1"}),a.jsx("span",{children:t.duration})]}),a.jsxs("div",{className:"flex items-center",children:[a.jsx(Ra,{className:"w-4 h-4 mr-1"}),typeof t.enrollmentCount=="number"&&a.jsxs("span",{children:[d(t.enrollmentCount)," students"]})]})]}),a.jsxs("div",{className:"flex items-center justify-between text-sm mb-4",children:[a.jsx("span",{className:`px-2 py-1 rounded text-xs font-medium ${t.level==="Beginner"?"bg-green-100 text-green-800":t.level==="Intermediate"?"bg-yellow-100 text-yellow-800":"bg-red-100 text-red-800"}`,children:t.level}),t.certificate&&a.jsxs("div",{className:"flex items-center text-indigo-600",children:[a.jsx(Na,{className:"w-4 h-4 mr-1"}),a.jsx("span",{className:"text-xs",children:"Certificate"})]})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{className:"flex items-center",children:[typeof t.price=="number"&&t.currency&&a.jsx("span",{className:"text-xl font-bold text-gray-900",children:l(t.price,t.currency)}),typeof t.originalPrice=="number"&&!isNaN(t.originalPrice)&&a.jsx("span",{className:"ml-2 text-sm text-gray-500 line-through",children:l(t.originalPrice,t.currency)})]}),u?a.jsx("button",{className:"px-4 py-2 bg-gray-200 text-gray-600 text-sm font-medium rounded-lg cursor-not-allowed","aria-label":"Sign in to enroll",children:"Sign in to enroll"}):a.jsx("button",{onClick:()=>n(t.id),className:"px-4 py-2 bg-yellow-600 text-white text-sm font-medium rounded-lg hover:bg-yellow-700 transition-colors",children:"Enroll Now"})]})]})]})},jE=({processedCourses:t,favorites:e,handleToggleFavorite:r,handleEnroll:n,itemsPerPage:o=9,handleClearFilters:i,currentPage:c=1,setCurrentPage:l=()=>{},viewMode:d="grid",userAccess:h})=>{const u=Math.ceil(t.length/o),p=t.slice((c-1)*o,c*o),y=j.useRef(null),f=k=>{l(k),setTimeout(()=>{var m;(m=y.current)==null||m.scrollIntoView({behavior:"smooth",block:"start"})},100)};return t.length>0?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:d==="grid"?"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-6":"space-y-6",children:p.map((k,m)=>a.jsx("div",{ref:m===0?y:null,children:a.jsx(CE,{course:k,isFavorite:e.has(k.id),onToggleFavorite:r,onEnroll:n,userAccess:h},`${k.id}-${k.title}`)},k.id))}),u>1&&a.jsx("div",{className:"mt-8 flex justify-center",children:a.jsx(Hj,{currentPage:c,totalPages:u,onPageChange:f})})]}):a.jsxs("div",{className:"text-center py-12",children:[a.jsx(Vt,{className:"w-16 h-16 text-gray-400 mx-auto mb-4"}),a.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2",children:"No courses found"}),a.jsx("p",{className:"text-gray-600 mb-4",children:"Try adjusting your search criteria or filters to find more courses."}),a.jsx("button",{onClick:i,className:"px-4 py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700 transition-colors",children:"Clear All Filters"})]})},SE=({apiUrl:t,enableMobileFilter:e=!0,itemsPerPage:r=9,userAccess:n,onEmitEvent:o,eventContext:i})=>{const[c,l]=j.useState([]),[d,h]=j.useState([]),[u,p]=j.useState(new Set),[y,f]=j.useState(""),[k,m]=j.useState(""),[x,v]=j.useState("relevance"),[w,C]=j.useState(!1),[M,b]=j.useState(1),[N,L]=j.useState(!1),[A,I]=j.useState(!1),[q,P]=j.useState(!0),[_,R]=j.useState(""),[U,W]=j.useState([]),[V,O]=j.useState([]),[E,Q]=j.useState("grid"),[de,ee]=j.useState(r),[te,Me]=j.useState({categories:[],subcategories:[],priceRange:[0,2e3],levels:[],languages:[],features:[],rating:0}),ge=P9(n),ae=j.useMemo(()=>({component:"IGamingCoursePage",...i??{}}),[i]),he=j.useRef(!1),B=j.useMemo(()=>{let D=[...d];switch(y&&(D=D.filter(F=>se(F.category)===y)),k&&(D=D.filter(F=>se(F.subcategory)===k)),te.levels.length>0&&(D=D.filter(F=>te.levels.includes(F.level))),te.languages.length>0&&(D=D.filter(F=>te.languages.includes(F.language))),te.features.length>0&&(D=D.filter(F=>te.features.some(re=>F.features.includes(re)))),te.rating>0&&(D=D.filter(F=>F.rating>=te.rating)),w&&(D=D.filter(F=>u.has(F.id))),x){case"price-low-high":D.sort((F,re)=>F.price-re.price);break;case"price-high-low":D.sort((F,re)=>re.price-F.price);break;case"rating":D.sort((F,re)=>re.rating-F.rating);break;case"newest":D.sort((F,re)=>new Date(re.lastUpdated).getTime()-new Date(F.lastUpdated).getTime());break;case"most-enrolled":D.sort((F,re)=>re.enrollmentCount-F.enrollmentCount);break;default:D.sort((F,re)=>F.isFeatured&&!re.isFeatured?-1:!F.isFeatured&&re.isFeatured?1:F.isBestseller&&!re.isBestseller?-1:!F.isBestseller&&re.isBestseller?1:re.rating-F.rating)}return D},[d,y,k,te,u,w,x]),X=j.useCallback((D,F)=>{o&&o({domain:"courses",name:D,payload:F,timestamp:new Date().toISOString(),context:ae})},[ae,o]),J=j.useCallback(()=>({category:y||void 0,subcategory:k||void 0,levels:te.levels,languages:te.languages,features:te.features,rating:te.rating,priceRange:te.priceRange,favoritesOnly:w}),[te.features,te.languages,te.levels,te.priceRange,te.rating,y,k,w]),ne=j.useCallback(()=>({page:M,pageSize:de,totalResults:B.length,sortBy:x,viewMode:E}),[M,B.length,de,x,E]),pe=()=>{Q(D=>{const F=D==="grid"?"list":"grid";return X("courses_listing_viewmode_changed",{viewMode:F}),F})},se=D=>(D??"").trim().toLowerCase().replace(/\s+/g,"-"),Te=j.useMemo(()=>{const D=new Map;return c.forEach(F=>{const re=F.category,be=F.subcategory,Ae=se(re),Qe=se(be);if(!Ae)return;D.has(Ae)||D.set(Ae,new Map);const Oe=D.get(Ae);Qe&&Oe.set(Qe,(Oe.get(Qe)??0)+1)}),Array.from(D.entries()).map(([F,re])=>({id:F,name:F.replace(/-/g," ").replace(/\b\w/g,be=>be.toUpperCase()),icon:"🎯",subcategories:Array.from(re.entries()).map(([be,Ae])=>({id:be,name:be.replace(/-/g," ").replace(/\b\w/g,Qe=>Qe.toUpperCase()),courseCount:Ae}))}))},[c]),Se=D=>{ee(D),b(1),X("courses_listing_items_per_page_changed",{pageSize:D})},We=D=>{const F=re=>re.slice().sort().join("|");return F(D.categories)!==F(te.categories)?"category":F(D.subcategories)!==F(te.subcategories)?"subcategory":F(D.levels)!==F(te.levels)?"levels":F(D.languages)!==F(te.languages)?"languages":F(D.features)!==F(te.features)?"features":D.rating!==te.rating?"rating":D.priceRange[0]!==te.priceRange[0]||D.priceRange[1]!==te.priceRange[1]?"priceRange":"features"},rt=D=>{Me(D);const F={category:y||void 0,subcategory:k||void 0,levels:D.levels,languages:D.languages,features:D.features,rating:D.rating,priceRange:D.priceRange,favoritesOnly:w};X("courses_filter_changed",{changedKey:We(D),...F})};j.useEffect(()=>{(async()=>{try{if(!t){l(s1),h(s1),P(!1);return}P(!0);const F=await fetch(t);if(!F.ok)throw new Error(`Failed to fetch courses from ${t}`);const re=await F.json();l(re),h(re);const Ae=re.map(Oe=>Fj(Oe.title||"")).filter(Oe=>!!Oe).reduce((Oe,Wt)=>(Oe[Wt]=(Oe[Wt]||0)+1,Oe),{}),Qe=Object.entries(Ae).sort((Oe,Wt)=>Wt[1]-Oe[1]).slice(0,10).map(([Oe])=>Oe);W(Qe)}catch(F){console.error("[Courses] Error loading data:",F),l(s1),h(s1)}finally{P(!1)}})()},[t]),j.useEffect(()=>{var re;const F=(re=new URLSearchParams(window.location.search).get("q"))==null?void 0:re.trim();if(F){R(F);const be=c.filter(Ae=>{var Qe;return Ae.title.toLowerCase().includes(F.toLowerCase())||((Qe=Ae.description)==null?void 0:Qe.toLowerCase().includes(F.toLowerCase()))});h(be)}},[c]),j.useEffect(()=>{const D=localStorage.getItem("course-favorites");D&&p(new Set(JSON.parse(D)))},[]),j.useEffect(()=>{localStorage.setItem("course-favorites",JSON.stringify(Array.from(u)))},[u]);const st=D=>{ge.allowSaving&&p(F=>{const re=new Set(F),be=re.has(D);return be?re.delete(D):re.add(D),X(be?"course_unfavorited":"course_favorited",{courseId:D}),re})},Tt=D=>{if(ge.maskExternalLinks)return;const F=c.find(re=>re.id===D);F!=null&&F.link&&(X("course_enroll_clicked",{courseId:D}),X("course_opened",{courseId:D,openedFrom:"listing",openedIn:"new_tab"}),window.open(F.link,"_blank","noopener,noreferrer"))};j.useEffect(()=>{he.current||q||!B.length&&!c.length||(X("courses_listing_viewed",{...J(),...ne()}),he.current=!0)},[c.length,X,B.length,J,ne,q]);const ze=D=>{const F=se(D);f(F===y?"":F),m(""),X("courses_category_selected",{category:F===y?null:F}),X("courses_filter_changed",{changedKey:"category",...J()})},Ze=D=>{const F=se(D);m(F===k?"":F),X("courses_subcategory_selected",{subcategory:F===k?null:F}),X("courses_filter_changed",{changedKey:"subcategory",...J()})},Mt=()=>{Me({categories:[],subcategories:[],priceRange:[0,2e3],levels:[],languages:[],features:[],rating:0}),f(""),m(""),C(!1),R(""),h(c),X("courses_filters_cleared_all",{})},qt=()=>{L(!N)},qe=D=>{b(D),X("courses_listing_page_changed",{page:D,pageSize:de,totalResults:B.length})},Dt=B.length===0?0:(M-1)*de+1,pt=Math.min(M*de,B.length),ra=D=>{if(R(D),!D){h(c),O([]);return}const F=c.filter(be=>{var Ae;return be.title.toLowerCase().includes(D.toLowerCase())||((Ae=be.description)==null?void 0:Ae.toLowerCase().includes(D.toLowerCase()))});h(F);const re=F.map(be=>be.title).filter((be,Ae,Qe)=>be&&be.toLowerCase().includes(D.toLowerCase())&&Qe.indexOf(be)===Ae).slice(0,5);O(re),D.trim()&&X("courses_search_submitted",{query:D,...J()})};return a.jsxs("div",{className:"min-h-screen bg-gray-50",children:[a.jsx(zj,{onSearchChange:ra,title:"Courses",description:"Browse and enroll in industry-relevant gaming courses",searchPlaceholder:"Search courses",popularTags:U,generateHref:D=>`/courses?q=${D.toLowerCase().replace(/\s+/g,"+")}`}),a.jsx(wE,{courses:c,onSearchResults:h}),a.jsxs("main",{className:"max-w-7xl mx-auto sm:px-6 lg:px-8 py-8",children:[a.jsx(Ej,{filters:[...y?[{key:"category",label:"Category",value:y.replace(/-/g," "),onRemove:()=>f("")}]:[],...k?[{key:"subcategory",label:"Subcategory",value:k.replace(/-/g," "),onRemove:()=>m("")}]:[],...te.levels.map(D=>({key:"level",label:"",value:D,onRemove:()=>Me(F=>({...F,levels:F.levels.filter(re=>re!==D)}))})),..._?[{key:"search",label:"Search",value:_,onRemove:()=>{R(""),h(c)}}]:[]],onClearAll:Mt}),a.jsxs("div",{className:"flex flex-col lg:flex-row gap-8",children:[a.jsx("div",{className:"block lg:hidden w-full",children:a.jsxs("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:[a.jsx(Dj,{data:c.map(D=>D.title),onSelect:D=>{const F=c.filter(re=>re.title.toLowerCase().includes(D.toLowerCase()));h(F),R(D)},onTyping:D=>{I(!!D),D||(h(c),R(""))}}),a.jsx(pL,{sortBy:x,onFiltersChange:rt,onSortChange:v,onClearFilters:Mt,totalCourses:c.length,filteredCourses:B.length,categories:Te,selectedCategory:y,selectedSubcategory:k,filters:te,onCategorySelect:ze,onSubcategorySelect:Ze,isMobileFilterOpen:N,toggleMobileFilter:qt,enableMobileFilter:e,showFilterName:!A,isMobile:!0})]})}),a.jsx("div",{className:"hidden lg:block lg:w-1/4",children:a.jsx(pL,{filters:te,sortBy:x,onFiltersChange:rt,onSortChange:v,onClearFilters:Mt,totalCourses:c.length,filteredCourses:B.length,categories:Te,selectedCategory:y,selectedSubcategory:k,onCategorySelect:ze,onSubcategorySelect:Ze,isMobileFilterOpen:N,toggleMobileFilter:qt,enableMobileFilter:e,showFilterName:!0})}),a.jsxs("div",{className:"lg:w-3/4",children:[a.jsx(Oj,{viewMode:E,onToggleViewMode:pe,selectedItemsPerPage:de,onItemsPerPageChange:Se,totalCount:B.length,startIndex:Dt,endIndex:pt,title:"All Courses"}),q?a.jsx(qj,{totalColumns:3}):a.jsx(jE,{processedCourses:B,favorites:u,handleToggleFavorite:st,handleClearFilters:Mt,itemsPerPage:de,handleEnroll:Tt,currentPage:M,setCurrentPage:qe,viewMode:E,userAccess:ge})]})]})]})]})};var YC={exports:{}},Kj={};function LE(t){return t&&t.__esModule?t:{default:t}}Kj._=LE;var GA={};function WA(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,r=new WeakMap;return(WA=function(n){return n?r:e})(t)}function IE(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var r=WA(e);if(r&&r.has(t))return r.get(t);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(i!=="default"&&Object.prototype.hasOwnProperty.call(t,i)){var c=o?Object.getOwnPropertyDescriptor(t,i):null;c&&(c.get||c.set)?Object.defineProperty(n,i,c):n[i]=t[i]}return n.default=t,r&&r.set(t,n),n}GA._=IE;var CC={},yL;function NE(){return yL||(yL=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return n}});const n=Kj._(j).default.createContext({});process.env.NODE_ENV!=="production"&&(n.displayName="HeadManagerContext")}(CC)),CC}var c1={exports:{}},mL;function AE(){return mL||(mL=1,function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"setAttributesFromProps",{enumerable:!0,get:function(){return i}});const r={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"},n=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"];function o(c){return["async","defer","noModule"].includes(c)}function i(c,l){for(const[d,h]of Object.entries(l)){if(!l.hasOwnProperty(d)||n.includes(d)||h===void 0)continue;const u=r[d]||d.toLowerCase();c.tagName==="SCRIPT"&&o(u)?c[u]=!!h:c.setAttribute(u,String(h)),(h===!1||c.tagName==="SCRIPT"&&o(u)&&(!h||h==="false"))&&(c.setAttribute(u,""),c.removeAttribute(u))}}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)}(c1,c1.exports)),c1.exports}var l1={exports:{}},fL;function PE(){return fL||(fL=1,function(t,e){Object.defineProperty(e,"__esModule",{value:!0});function r(i,c){for(var l in c)Object.defineProperty(i,l,{enumerable:!0,get:c[l]})}r(e,{cancelIdleCallback:function(){return o},requestIdleCallback:function(){return n}});const n=typeof self<"u"&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(i){let c=Date.now();return self.setTimeout(function(){i({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-c))}})},1)},o=typeof self<"u"&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(i){return clearTimeout(i)};(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)}(l1,l1.exports)),l1.exports}(function(t,e){"use client";Object.defineProperty(e,"__esModule",{value:!0});function r(b,N){for(var L in N)Object.defineProperty(b,L,{enumerable:!0,get:N[L]})}r(e,{default:function(){return M},handleClientScriptLoad:function(){return m},initScriptLoader:function(){return w}});const n=Kj,o=GA,i=a,c=n._(sj),l=o._(j),d=NE(),h=AE(),u=PE(),p=new Map,y=new Set,f=b=>{if(c.default.preinit){b.forEach(N=>{c.default.preinit(N,{as:"style"})});return}if(typeof window<"u"){let N=document.head;b.forEach(L=>{let A=document.createElement("link");A.type="text/css",A.rel="stylesheet",A.href=L,N.appendChild(A)})}},k=b=>{const{src:N,id:L,onLoad:A=()=>{},onReady:I=null,dangerouslySetInnerHTML:q,children:P="",strategy:_="afterInteractive",onError:R,stylesheets:U}=b,W=L||N;if(W&&y.has(W))return;if(p.has(N)){y.add(W),p.get(N).then(A,R);return}const V=()=>{I&&I(),y.add(W)},O=document.createElement("script"),E=new Promise((Q,de)=>{O.addEventListener("load",function(ee){Q(),A&&A.call(this,ee),V()}),O.addEventListener("error",function(ee){de(ee)})}).catch(function(Q){R&&R(Q)});q?(O.innerHTML=q.__html||"",V()):P?(O.textContent=typeof P=="string"?P:Array.isArray(P)?P.join(""):"",V()):N&&(O.src=N,p.set(N,E)),(0,h.setAttributesFromProps)(O,b),_==="worker"&&O.setAttribute("type","text/partytown"),O.setAttribute("data-nscript",_),U&&f(U),document.body.appendChild(O)};function m(b){const{strategy:N="afterInteractive"}=b;N==="lazyOnload"?window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>k(b))}):k(b)}function x(b){document.readyState==="complete"?(0,u.requestIdleCallback)(()=>k(b)):window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>k(b))})}function v(){[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(N=>{const L=N.id||N.getAttribute("src");y.add(L)})}function w(b){b.forEach(m),v()}function C(b){const{id:N,src:L="",onLoad:A=()=>{},onReady:I=null,strategy:q="afterInteractive",onError:P,stylesheets:_,...R}=b,{updateScripts:U,scripts:W,getIsSsr:V,appDir:O,nonce:E}=(0,l.useContext)(d.HeadManagerContext),Q=(0,l.useRef)(!1);(0,l.useEffect)(()=>{const ee=N||L;Q.current||(I&&ee&&y.has(ee)&&I(),Q.current=!0)},[I,N,L]);const de=(0,l.useRef)(!1);if((0,l.useEffect)(()=>{de.current||(q==="afterInteractive"?k(b):q==="lazyOnload"&&x(b),de.current=!0)},[b,q]),(q==="beforeInteractive"||q==="worker")&&(U?(W[q]=(W[q]||[]).concat([{id:N,src:L,onLoad:A,onReady:I,onError:P,...R}]),U(W)):V&&V()?y.add(N||L):V&&!V()&&k(b)),O){if(_&&_.forEach(ee=>{c.default.preinit(ee,{as:"style"})}),q==="beforeInteractive")return L?(c.default.preload(L,R.integrity?{as:"script",integrity:R.integrity,nonce:E,crossOrigin:R.crossOrigin}:{as:"script",nonce:E,crossOrigin:R.crossOrigin}),(0,i.jsx)("script",{nonce:E,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([L,{...R,id:N}])+")"}})):(R.dangerouslySetInnerHTML&&(R.children=R.dangerouslySetInnerHTML.__html,delete R.dangerouslySetInnerHTML),(0,i.jsx)("script",{nonce:E,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...R,id:N}])+")"}}));q==="afterInteractive"&&L&&c.default.preload(L,R.integrity?{as:"script",integrity:R.integrity,nonce:E,crossOrigin:R.crossOrigin}:{as:"script",nonce:E,crossOrigin:R.crossOrigin})}return null}Object.defineProperty(C,"__nextScript",{value:!0});const M=C;(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)})(YC,YC.exports);var _E=YC.exports,RE=_E;const TE=xR(RE),qE=`
7809
+ `,children:[a.jsx("span",{children:y.name}),a.jsx("span",{className:"text-xs text-gray-500",children:y.courseCount})]},y.id)})})]},h.id)})})]})},uL=({filters:t,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:o,totalCourses:i,filteredCourses:c,showFilterName:l=!0,categories:d,selectedCategory:h,selectedSubcategory:u,onCategorySelect:p,onSubcategorySelect:y})=>{const[f,k]=j.useState(!1),m=[{value:"relevance",label:"Most Relevant"},{value:"price-low-high",label:"Price: Low to High"},{value:"price-high-low",label:"Price: High to Low"},{value:"rating",label:"Highest Rated"},{value:"newest",label:"Newest"},{value:"most-enrolled",label:"Most Enrolled"}],x=["English","Spanish","French","German","Multiple"],v=["Lifetime Access","Certificate","Mobile Access","Expert Support"],w=b=>{const N=t.languages.includes(b)?t.languages.filter(L=>L!==b):[...t.languages,b];r({...t,languages:N})},C=b=>{const N=t.features.includes(b)?t.features.filter(L=>L!==b):[...t.features,b];r({...t,features:N})},M=t.levels.length>0||t.languages.length>0||t.features.length>0||t.rating>0||t.priceRange[0]>0||t.priceRange[1]<2e3;return a.jsxs("div",{className:"course-filters bg-white rounded-lg shadow-sm border border-gray-200",children:[a.jsxs("div",{className:"hidden lg:block p-4 border-b border-gray-200",children:[a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{className:"flex items-center",children:[a.jsx(ws,{className:"w-5 h-5 text-gray-600 mr-2"}),a.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:"Filters"}),M&&a.jsx("span",{className:"ml-2 px-2 py-1 bg-yellow-100 text-indigo-800 text-xs rounded-full",children:"Active"})]}),a.jsxs("div",{className:"flex items-center space-x-2",children:[M&&a.jsx("button",{onClick:o,className:"text-sm text-indigo-600 hover:text-indigo-800",children:"Clear All"}),a.jsx("button",{onClick:()=>k(!f),className:"lg:hidden p-1 rounded-md hover:bg-gray-100",children:a.jsx(Fi,{className:`w-4 h-4 transition-transform ${f?"rotate-180":""}`})})]})]}),a.jsxs("p",{className:"text-sm text-gray-600 mt-2",children:["Showing ",c," of ",i," courses"]})]}),a.jsxs("div",{className:"p-4 border-b border-gray-200",children:[a.jsx("label",{htmlFor:"sort-select",className:"block text-sm font-medium text-gray-700 mb-2",children:"Sort by"}),a.jsx("select",{id:"sort-select",value:e,onChange:b=>n(b.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow--500 focus:border-yellow--500",children:m.map(b=>a.jsx("option",{value:b.value,children:b.label},b.value))})]}),a.jsxs("div",{className:"block",children:[a.jsx(ME,{categories:d,selectedCategory:h,selectedSubcategory:u,onCategorySelect:p,onSubcategorySelect:y}),a.jsxs("div",{className:"p-4 border-b border-gray-200",children:[a.jsx("h4",{className:"text-sm font-medium text-gray-900 mb-3",children:"Language"}),a.jsx("div",{className:"space-y-2",children:x.map(b=>a.jsxs("label",{className:"flex items-center",children:[a.jsx("input",{type:"checkbox",checked:t.languages.includes(b),onChange:()=>w(b),className:"mr-2 text-indigo-600 focus:ring-yellow--500 rounded"}),a.jsx("span",{className:"text-sm text-gray-700",children:b})]},b))})]}),a.jsxs("div",{className:"p-4",children:[a.jsx("h4",{className:"text-sm font-medium text-gray-900 mb-3",children:"Features"}),a.jsx("div",{className:"space-y-2",children:v.map(b=>a.jsxs("label",{className:"flex items-center",children:[a.jsx("input",{type:"checkbox",checked:t.features.includes(b),onChange:()=>C(b),className:"mr-2 text-indigo-600 focus:ring-yellow--500 rounded"}),a.jsx("span",{className:"text-sm text-gray-700",children:b})]},b))})]})]})]})},bE=({isOpen:t,onClose:e,title:r="Filters",children:n})=>t?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"fixed inset-0 bg-gray-600 bg-opacity-75 z-40",onClick:e}),a.jsxs("div",{className:"fixed inset-y-0 right-0 max-w-xs w-full bg-white shadow-xl z-50 overflow-y-auto",children:[a.jsxs("div",{className:"px-4 py-2 border-b border-gray-200 flex items-center justify-between",children:[a.jsx("h2",{className:"text-lg font-semibold text-gray-900",children:r}),a.jsx("button",{onClick:e,className:"p-2 rounded-full hover:bg-gray-100","aria-label":"Close filters",children:a.jsx("svg",{className:"h-6 w-6 text-gray-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),a.jsx("div",{className:"p-4",children:n})]})]}):null,pL=({filters:t,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:o,totalCourses:i,filteredCourses:c,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p,isMobileFilterOpen:y,toggleMobileFilter:f,enableMobileFilter:k,showFilterName:m=!0,isMobile:x=!1})=>a.jsxs("aside",{className:x?"lg:w-1/4 space-y-6":"w-full space-y-6",children:[k&&a.jsx("button",{className:"block md:hidden flex items-center justify-center p-3 bg-white border-2 border-gray-200 text-gray-700 rounded-xl hover:border-gray-300 hover:bg-gray-50 transition-all duration-200 focus:ring-4 focus:ring-gray-200 focus:outline-none hover:scale-105",onClick:f,"aria-expanded":y,children:a.jsx(Ya,{className:"w-4 h-4 flex justify-center items-center"})}),a.jsx("div",{className:"hidden md:block",children:a.jsx(uL,{filters:t,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:o,totalCourses:i,filteredCourses:c,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p})}),a.jsx(bE,{isOpen:y,onClose:f,title:"Filters",children:a.jsx(uL,{filters:t,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:o,totalCourses:i,filteredCourses:c,showFilterName:m,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p})})]}),CE=({course:t,isFavorite:e,onToggleFavorite:r,onEnroll:n,userAccess:o})=>{const[i,c]=j.useState(!1),l=(p,y)=>new Intl.NumberFormat("en-EU",{style:"currency",currency:y}).format(p),d=p=>p>=1e3?`${(p/1e3).toFixed(1)}k`:p.toString(),h=o.allowSaving,u=o.maskExternalLinks;return a.jsxs("div",{className:"course-card bg-white rounded-lg shadow-sm border border-gray-200 overflow-hidden hover:shadow-lg transition-shadow duration-300",children:[a.jsxs("div",{className:"relative",children:[a.jsx("img",{src:t.thumbnail||"/placeholder.svg",alt:t.title,className:`w-full h-48 object-cover transition-opacity duration-300 ${i?"opacity-100":"opacity-0"}`,onLoad:()=>c(!0)}),!i&&a.jsx("div",{className:"absolute inset-0 bg-gray-200 animate-pulse flex items-center justify-center",children:a.jsx(Vt,{className:"w-12 h-12 text-gray-400"})}),a.jsxs("div",{className:"absolute top-3 left-3 flex flex-wrap gap-1",children:[t.isBestseller&&a.jsx("span",{className:"px-2 py-1 bg-orange-500 text-white text-xs font-semibold rounded",children:"Bestseller"}),t.isNew&&a.jsx("span",{className:"px-2 py-1 bg-green-500 text-white text-xs font-semibold rounded",children:"New"}),t.isFeatured&&a.jsx("span",{className:"px-2 py-1 bg-yellow-500 text-white text-xs font-semibold rounded",children:"Featured"})]}),a.jsx("button",{onClick:()=>r(t.id),className:`absolute top-3 right-3 p-2 rounded-full transition-colors ${e?"bg-red-500 text-white":"bg-white text-gray-600 hover:bg-gray-100"} ${h?"":"opacity-60 cursor-not-allowed"}`,"aria-label":e?"Remove from favorites":"Add to favorites",disabled:!h,title:h?void 0:"Sign in to save courses",children:a.jsx(Cs,{className:`w-4 h-4 ${e?"fill-current":""}`})})]}),a.jsxs("div",{className:"p-4",children:[a.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2 line-clamp-2",children:t.title}),a.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[a.jsx("span",{className:"inline-flex items-center rounded-full bg-gray-100 px-2.5 py-0.5 text-xs font-medium text-gray-700",children:Tj[o.status]}),o.note&&a.jsx("span",{className:"text-xs text-gray-500",children:o.note})]}),a.jsxs("p",{className:"text-sm text-gray-600 mb-2",children:["By ",t.instructor]}),a.jsx("p",{className:"text-sm text-gray-700 mb-3 line-clamp-2",children:t.description}),a.jsxs("div",{className:"flex items-center mb-3",children:[a.jsxs("div",{className:"flex items-center",children:[a.jsx(Et,{className:"w-4 h-4 text-yellow-400 fill-current"}),a.jsx("span",{className:"ml-1 text-sm font-medium text-gray-900",children:t.rating})]}),typeof t.reviewCount=="number"&&a.jsxs("span",{className:"ml-2 text-sm text-gray-500",children:["(",t.reviewCount.toLocaleString()," reviews)"]})]}),a.jsxs("div",{className:"flex items-center justify-between text-sm text-gray-600 mb-3",children:[a.jsxs("div",{className:"flex items-center",children:[a.jsx(Kt,{className:"w-4 h-4 mr-1"}),a.jsx("span",{children:t.duration})]}),a.jsxs("div",{className:"flex items-center",children:[a.jsx(_a,{className:"w-4 h-4 mr-1"}),typeof t.enrollmentCount=="number"&&a.jsxs("span",{children:[d(t.enrollmentCount)," students"]})]})]}),a.jsxs("div",{className:"flex items-center justify-between text-sm mb-4",children:[a.jsx("span",{className:`px-2 py-1 rounded text-xs font-medium ${t.level==="Beginner"?"bg-green-100 text-green-800":t.level==="Intermediate"?"bg-yellow-100 text-yellow-800":"bg-red-100 text-red-800"}`,children:t.level}),t.certificate&&a.jsxs("div",{className:"flex items-center text-indigo-600",children:[a.jsx(Na,{className:"w-4 h-4 mr-1"}),a.jsx("span",{className:"text-xs",children:"Certificate"})]})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{className:"flex items-center",children:[typeof t.price=="number"&&t.currency&&a.jsx("span",{className:"text-xl font-bold text-gray-900",children:l(t.price,t.currency)}),typeof t.originalPrice=="number"&&!isNaN(t.originalPrice)&&a.jsx("span",{className:"ml-2 text-sm text-gray-500 line-through",children:l(t.originalPrice,t.currency)})]}),u?a.jsx("button",{className:"px-4 py-2 bg-gray-200 text-gray-600 text-sm font-medium rounded-lg cursor-not-allowed","aria-label":"Sign in to enroll",children:"Sign in to enroll"}):a.jsx("button",{onClick:()=>n(t.id),className:"px-4 py-2 bg-yellow-600 text-white text-sm font-medium rounded-lg hover:bg-yellow-700 transition-colors",children:"Enroll Now"})]})]})]})},jE=({processedCourses:t,favorites:e,handleToggleFavorite:r,handleEnroll:n,itemsPerPage:o=9,handleClearFilters:i,currentPage:c=1,setCurrentPage:l=()=>{},viewMode:d="grid",userAccess:h})=>{const u=Math.ceil(t.length/o),p=t.slice((c-1)*o,c*o),y=j.useRef(null),f=k=>{l(k),setTimeout(()=>{var m;(m=y.current)==null||m.scrollIntoView({behavior:"smooth",block:"start"})},100)};return t.length>0?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:d==="grid"?"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-6":"space-y-6",children:p.map((k,m)=>a.jsx("div",{ref:m===0?y:null,children:a.jsx(CE,{course:k,isFavorite:e.has(k.id),onToggleFavorite:r,onEnroll:n,userAccess:h},`${k.id}-${k.title}`)},k.id))}),u>1&&a.jsx("div",{className:"mt-8 flex justify-center",children:a.jsx(Hj,{currentPage:c,totalPages:u,onPageChange:f})})]}):a.jsxs("div",{className:"text-center py-12",children:[a.jsx(Vt,{className:"w-16 h-16 text-gray-400 mx-auto mb-4"}),a.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2",children:"No courses found"}),a.jsx("p",{className:"text-gray-600 mb-4",children:"Try adjusting your search criteria or filters to find more courses."}),a.jsx("button",{onClick:i,className:"px-4 py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700 transition-colors",children:"Clear All Filters"})]})},SE=({apiUrl:t,enableMobileFilter:e=!0,itemsPerPage:r=9,userAccess:n,onEmitEvent:o,eventContext:i})=>{const[c,l]=j.useState([]),[d,h]=j.useState([]),[u,p]=j.useState(new Set),[y,f]=j.useState(""),[k,m]=j.useState(""),[x,v]=j.useState("relevance"),[w,C]=j.useState(!1),[M,b]=j.useState(1),[N,L]=j.useState(!1),[A,I]=j.useState(!1),[q,P]=j.useState(!0),[_,R]=j.useState(""),[U,W]=j.useState([]),[V,O]=j.useState([]),[E,Q]=j.useState("grid"),[de,ee]=j.useState(r),[te,Me]=j.useState({categories:[],subcategories:[],priceRange:[0,2e3],levels:[],languages:[],features:[],rating:0}),ge=P9(n),ae=j.useMemo(()=>({component:"IGamingCoursePage",...i??{}}),[i]),he=j.useRef(!1),B=j.useMemo(()=>{let D=[...d];switch(y&&(D=D.filter(F=>se(F.category)===y)),k&&(D=D.filter(F=>se(F.subcategory)===k)),te.levels.length>0&&(D=D.filter(F=>te.levels.includes(F.level))),te.languages.length>0&&(D=D.filter(F=>te.languages.includes(F.language))),te.features.length>0&&(D=D.filter(F=>te.features.some(re=>F.features.includes(re)))),te.rating>0&&(D=D.filter(F=>F.rating>=te.rating)),w&&(D=D.filter(F=>u.has(F.id))),x){case"price-low-high":D.sort((F,re)=>F.price-re.price);break;case"price-high-low":D.sort((F,re)=>re.price-F.price);break;case"rating":D.sort((F,re)=>re.rating-F.rating);break;case"newest":D.sort((F,re)=>new Date(re.lastUpdated).getTime()-new Date(F.lastUpdated).getTime());break;case"most-enrolled":D.sort((F,re)=>re.enrollmentCount-F.enrollmentCount);break;default:D.sort((F,re)=>F.isFeatured&&!re.isFeatured?-1:!F.isFeatured&&re.isFeatured?1:F.isBestseller&&!re.isBestseller?-1:!F.isBestseller&&re.isBestseller?1:re.rating-F.rating)}return D},[d,y,k,te,u,w,x]),X=j.useCallback((D,F)=>{o&&o({domain:"courses",name:D,payload:F,timestamp:new Date().toISOString(),context:ae})},[ae,o]),J=j.useCallback(()=>({category:y||void 0,subcategory:k||void 0,levels:te.levels,languages:te.languages,features:te.features,rating:te.rating,priceRange:te.priceRange,favoritesOnly:w}),[te.features,te.languages,te.levels,te.priceRange,te.rating,y,k,w]),ne=j.useCallback(()=>({page:M,pageSize:de,totalResults:B.length,sortBy:x,viewMode:E}),[M,B.length,de,x,E]),pe=()=>{Q(D=>{const F=D==="grid"?"list":"grid";return X("courses_listing_viewmode_changed",{viewMode:F}),F})},se=D=>(D??"").trim().toLowerCase().replace(/\s+/g,"-"),Te=j.useMemo(()=>{const D=new Map;return c.forEach(F=>{const re=F.category,be=F.subcategory,Ae=se(re),Qe=se(be);if(!Ae)return;D.has(Ae)||D.set(Ae,new Map);const Oe=D.get(Ae);Qe&&Oe.set(Qe,(Oe.get(Qe)??0)+1)}),Array.from(D.entries()).map(([F,re])=>({id:F,name:F.replace(/-/g," ").replace(/\b\w/g,be=>be.toUpperCase()),icon:"🎯",subcategories:Array.from(re.entries()).map(([be,Ae])=>({id:be,name:be.replace(/-/g," ").replace(/\b\w/g,Qe=>Qe.toUpperCase()),courseCount:Ae}))}))},[c]),Se=D=>{ee(D),b(1),X("courses_listing_items_per_page_changed",{pageSize:D})},We=D=>{const F=re=>re.slice().sort().join("|");return F(D.categories)!==F(te.categories)?"category":F(D.subcategories)!==F(te.subcategories)?"subcategory":F(D.levels)!==F(te.levels)?"levels":F(D.languages)!==F(te.languages)?"languages":F(D.features)!==F(te.features)?"features":D.rating!==te.rating?"rating":D.priceRange[0]!==te.priceRange[0]||D.priceRange[1]!==te.priceRange[1]?"priceRange":"features"},rt=D=>{Me(D);const F={category:y||void 0,subcategory:k||void 0,levels:D.levels,languages:D.languages,features:D.features,rating:D.rating,priceRange:D.priceRange,favoritesOnly:w};X("courses_filter_changed",{changedKey:We(D),...F})};j.useEffect(()=>{(async()=>{try{if(!t){l(s1),h(s1),P(!1);return}P(!0);const F=await fetch(t);if(!F.ok)throw new Error(`Failed to fetch courses from ${t}`);const re=await F.json();l(re),h(re);const Ae=re.map(Oe=>Fj(Oe.title||"")).filter(Oe=>!!Oe).reduce((Oe,Wt)=>(Oe[Wt]=(Oe[Wt]||0)+1,Oe),{}),Qe=Object.entries(Ae).sort((Oe,Wt)=>Wt[1]-Oe[1]).slice(0,10).map(([Oe])=>Oe);W(Qe)}catch(F){console.error("[Courses] Error loading data:",F),l(s1),h(s1)}finally{P(!1)}})()},[t]),j.useEffect(()=>{var re;const F=(re=new URLSearchParams(window.location.search).get("q"))==null?void 0:re.trim();if(F){R(F);const be=c.filter(Ae=>{var Qe;return Ae.title.toLowerCase().includes(F.toLowerCase())||((Qe=Ae.description)==null?void 0:Qe.toLowerCase().includes(F.toLowerCase()))});h(be)}},[c]),j.useEffect(()=>{const D=localStorage.getItem("course-favorites");D&&p(new Set(JSON.parse(D)))},[]),j.useEffect(()=>{localStorage.setItem("course-favorites",JSON.stringify(Array.from(u)))},[u]);const st=D=>{ge.allowSaving&&p(F=>{const re=new Set(F),be=re.has(D);return be?re.delete(D):re.add(D),X(be?"course_unfavorited":"course_favorited",{courseId:D}),re})},Tt=D=>{if(ge.maskExternalLinks)return;const F=c.find(re=>re.id===D);F!=null&&F.link&&(X("course_enroll_clicked",{courseId:D}),X("course_opened",{courseId:D,openedFrom:"listing",openedIn:"new_tab"}),window.open(F.link,"_blank","noopener,noreferrer"))};j.useEffect(()=>{he.current||q||!B.length&&!c.length||(X("courses_listing_viewed",{...J(),...ne()}),he.current=!0)},[c.length,X,B.length,J,ne,q]);const ze=D=>{const F=se(D);f(F===y?"":F),m(""),X("courses_category_selected",{category:F===y?null:F}),X("courses_filter_changed",{changedKey:"category",...J()})},Ze=D=>{const F=se(D);m(F===k?"":F),X("courses_subcategory_selected",{subcategory:F===k?null:F}),X("courses_filter_changed",{changedKey:"subcategory",...J()})},Mt=()=>{Me({categories:[],subcategories:[],priceRange:[0,2e3],levels:[],languages:[],features:[],rating:0}),f(""),m(""),C(!1),R(""),h(c),X("courses_filters_cleared_all",{})},qt=()=>{L(!N)},qe=D=>{b(D),X("courses_listing_page_changed",{page:D,pageSize:de,totalResults:B.length})},Dt=B.length===0?0:(M-1)*de+1,pt=Math.min(M*de,B.length),ra=D=>{if(R(D),!D){h(c),O([]);return}const F=c.filter(be=>{var Ae;return be.title.toLowerCase().includes(D.toLowerCase())||((Ae=be.description)==null?void 0:Ae.toLowerCase().includes(D.toLowerCase()))});h(F);const re=F.map(be=>be.title).filter((be,Ae,Qe)=>be&&be.toLowerCase().includes(D.toLowerCase())&&Qe.indexOf(be)===Ae).slice(0,5);O(re),D.trim()&&X("courses_search_submitted",{query:D,...J()})};return a.jsxs("div",{className:"min-h-screen bg-gray-50",children:[a.jsx(zj,{onSearchChange:ra,title:"Courses",description:"Browse and enroll in industry-relevant gaming courses",searchPlaceholder:"Search courses",popularTags:U,generateHref:D=>`/courses?q=${D.toLowerCase().replace(/\s+/g,"+")}`}),a.jsx(wE,{courses:c,onSearchResults:h}),a.jsxs("main",{className:"max-w-7xl mx-auto sm:px-6 lg:px-8 py-8",children:[a.jsx(Ej,{filters:[...y?[{key:"category",label:"Category",value:y.replace(/-/g," "),onRemove:()=>f("")}]:[],...k?[{key:"subcategory",label:"Subcategory",value:k.replace(/-/g," "),onRemove:()=>m("")}]:[],...te.levels.map(D=>({key:"level",label:"",value:D,onRemove:()=>Me(F=>({...F,levels:F.levels.filter(re=>re!==D)}))})),..._?[{key:"search",label:"Search",value:_,onRemove:()=>{R(""),h(c)}}]:[]],onClearAll:Mt}),a.jsxs("div",{className:"flex flex-col lg:flex-row gap-8",children:[a.jsx("div",{className:"block lg:hidden w-full",children:a.jsxs("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:[a.jsx(Dj,{data:c.map(D=>D.title),onSelect:D=>{const F=c.filter(re=>re.title.toLowerCase().includes(D.toLowerCase()));h(F),R(D)},onTyping:D=>{I(!!D),D||(h(c),R(""))}}),a.jsx(pL,{sortBy:x,onFiltersChange:rt,onSortChange:v,onClearFilters:Mt,totalCourses:c.length,filteredCourses:B.length,categories:Te,selectedCategory:y,selectedSubcategory:k,filters:te,onCategorySelect:ze,onSubcategorySelect:Ze,isMobileFilterOpen:N,toggleMobileFilter:qt,enableMobileFilter:e,showFilterName:!A,isMobile:!0})]})}),a.jsx("div",{className:"hidden lg:block lg:w-1/4",children:a.jsx(pL,{filters:te,sortBy:x,onFiltersChange:rt,onSortChange:v,onClearFilters:Mt,totalCourses:c.length,filteredCourses:B.length,categories:Te,selectedCategory:y,selectedSubcategory:k,onCategorySelect:ze,onSubcategorySelect:Ze,isMobileFilterOpen:N,toggleMobileFilter:qt,enableMobileFilter:e,showFilterName:!0})}),a.jsxs("div",{className:"lg:w-3/4",children:[a.jsx(Oj,{viewMode:E,onToggleViewMode:pe,selectedItemsPerPage:de,onItemsPerPageChange:Se,totalCount:B.length,startIndex:Dt,endIndex:pt,title:"All Courses"}),q?a.jsx(qj,{totalColumns:3}):a.jsx(jE,{processedCourses:B,favorites:u,handleToggleFavorite:st,handleClearFilters:Mt,itemsPerPage:de,handleEnroll:Tt,currentPage:M,setCurrentPage:qe,viewMode:E,userAccess:ge})]})]})]})]})};var YC={exports:{}},Kj={};function LE(t){return t&&t.__esModule?t:{default:t}}Kj._=LE;var GA={};function WA(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,r=new WeakMap;return(WA=function(n){return n?r:e})(t)}function IE(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var r=WA(e);if(r&&r.has(t))return r.get(t);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(i!=="default"&&Object.prototype.hasOwnProperty.call(t,i)){var c=o?Object.getOwnPropertyDescriptor(t,i):null;c&&(c.get||c.set)?Object.defineProperty(n,i,c):n[i]=t[i]}return n.default=t,r&&r.set(t,n),n}GA._=IE;var CC={},yL;function NE(){return yL||(yL=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return n}});const n=Kj._(j).default.createContext({});process.env.NODE_ENV!=="production"&&(n.displayName="HeadManagerContext")}(CC)),CC}var c1={exports:{}},mL;function AE(){return mL||(mL=1,function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"setAttributesFromProps",{enumerable:!0,get:function(){return i}});const r={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"},n=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"];function o(c){return["async","defer","noModule"].includes(c)}function i(c,l){for(const[d,h]of Object.entries(l)){if(!l.hasOwnProperty(d)||n.includes(d)||h===void 0)continue;const u=r[d]||d.toLowerCase();c.tagName==="SCRIPT"&&o(u)?c[u]=!!h:c.setAttribute(u,String(h)),(h===!1||c.tagName==="SCRIPT"&&o(u)&&(!h||h==="false"))&&(c.setAttribute(u,""),c.removeAttribute(u))}}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)}(c1,c1.exports)),c1.exports}var l1={exports:{}},fL;function PE(){return fL||(fL=1,function(t,e){Object.defineProperty(e,"__esModule",{value:!0});function r(i,c){for(var l in c)Object.defineProperty(i,l,{enumerable:!0,get:c[l]})}r(e,{cancelIdleCallback:function(){return o},requestIdleCallback:function(){return n}});const n=typeof self<"u"&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(i){let c=Date.now();return self.setTimeout(function(){i({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-c))}})},1)},o=typeof self<"u"&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(i){return clearTimeout(i)};(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)}(l1,l1.exports)),l1.exports}(function(t,e){"use client";Object.defineProperty(e,"__esModule",{value:!0});function r(b,N){for(var L in N)Object.defineProperty(b,L,{enumerable:!0,get:N[L]})}r(e,{default:function(){return M},handleClientScriptLoad:function(){return m},initScriptLoader:function(){return w}});const n=Kj,o=GA,i=a,c=n._(sj),l=o._(j),d=NE(),h=AE(),u=PE(),p=new Map,y=new Set,f=b=>{if(c.default.preinit){b.forEach(N=>{c.default.preinit(N,{as:"style"})});return}if(typeof window<"u"){let N=document.head;b.forEach(L=>{let A=document.createElement("link");A.type="text/css",A.rel="stylesheet",A.href=L,N.appendChild(A)})}},k=b=>{const{src:N,id:L,onLoad:A=()=>{},onReady:I=null,dangerouslySetInnerHTML:q,children:P="",strategy:_="afterInteractive",onError:R,stylesheets:U}=b,W=L||N;if(W&&y.has(W))return;if(p.has(N)){y.add(W),p.get(N).then(A,R);return}const V=()=>{I&&I(),y.add(W)},O=document.createElement("script"),E=new Promise((Q,de)=>{O.addEventListener("load",function(ee){Q(),A&&A.call(this,ee),V()}),O.addEventListener("error",function(ee){de(ee)})}).catch(function(Q){R&&R(Q)});q?(O.innerHTML=q.__html||"",V()):P?(O.textContent=typeof P=="string"?P:Array.isArray(P)?P.join(""):"",V()):N&&(O.src=N,p.set(N,E)),(0,h.setAttributesFromProps)(O,b),_==="worker"&&O.setAttribute("type","text/partytown"),O.setAttribute("data-nscript",_),U&&f(U),document.body.appendChild(O)};function m(b){const{strategy:N="afterInteractive"}=b;N==="lazyOnload"?window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>k(b))}):k(b)}function x(b){document.readyState==="complete"?(0,u.requestIdleCallback)(()=>k(b)):window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>k(b))})}function v(){[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(N=>{const L=N.id||N.getAttribute("src");y.add(L)})}function w(b){b.forEach(m),v()}function C(b){const{id:N,src:L="",onLoad:A=()=>{},onReady:I=null,strategy:q="afterInteractive",onError:P,stylesheets:_,...R}=b,{updateScripts:U,scripts:W,getIsSsr:V,appDir:O,nonce:E}=(0,l.useContext)(d.HeadManagerContext),Q=(0,l.useRef)(!1);(0,l.useEffect)(()=>{const ee=N||L;Q.current||(I&&ee&&y.has(ee)&&I(),Q.current=!0)},[I,N,L]);const de=(0,l.useRef)(!1);if((0,l.useEffect)(()=>{de.current||(q==="afterInteractive"?k(b):q==="lazyOnload"&&x(b),de.current=!0)},[b,q]),(q==="beforeInteractive"||q==="worker")&&(U?(W[q]=(W[q]||[]).concat([{id:N,src:L,onLoad:A,onReady:I,onError:P,...R}]),U(W)):V&&V()?y.add(N||L):V&&!V()&&k(b)),O){if(_&&_.forEach(ee=>{c.default.preinit(ee,{as:"style"})}),q==="beforeInteractive")return L?(c.default.preload(L,R.integrity?{as:"script",integrity:R.integrity,nonce:E,crossOrigin:R.crossOrigin}:{as:"script",nonce:E,crossOrigin:R.crossOrigin}),(0,i.jsx)("script",{nonce:E,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([L,{...R,id:N}])+")"}})):(R.dangerouslySetInnerHTML&&(R.children=R.dangerouslySetInnerHTML.__html,delete R.dangerouslySetInnerHTML),(0,i.jsx)("script",{nonce:E,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...R,id:N}])+")"}}));q==="afterInteractive"&&L&&c.default.preload(L,R.integrity?{as:"script",integrity:R.integrity,nonce:E,crossOrigin:R.crossOrigin}:{as:"script",nonce:E,crossOrigin:R.crossOrigin})}return null}Object.defineProperty(C,"__nextScript",{value:!0});const M=C;(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)})(YC,YC.exports);var _E=YC.exports,RE=_E;const TE=xR(RE),qE=`
7810
7810
  window.dataLayer = window.dataLayer || [];
7811
7811
  window.dataLayer.push({ event: 'consent_granted' });
7812
7812
  // gtag('consent', 'update', { ad_storage: 'granted', analytics_storage: 'granted' });
7813
- `;function DE({allow:t="analytics",scriptId:e="ga",scriptStrategy:r="afterInteractive",scriptContent:n=qE}){return a.jsx(_D,{allow:t,children:a.jsx(TE,{id:e,strategy:r,children:n})})}function xL(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function zE(...t){return e=>{let r=!1;const n=t.map(o=>{const i=xL(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():xL(t[o],null)}}}}function Qj(...t){return g.useCallback(zE(...t),t)}function FE(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,EE(o,...e)]}function EE(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function kL(t,e,{checkForDefaultPrevented:r=!0}={}){return function(o){if(t==null||t(o),r===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}var KC=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},OE=g[" useInsertionEffect ".trim().toString()]||KC;function HE({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[o,i,c]=VE({defaultProp:e,onChange:r}),l=t!==void 0,d=l?t:o;{const u=g.useRef(t!==void 0);g.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${n} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=l},[l,n])}const h=g.useCallback(u=>{var p;if(l){const y=BE(u)?u(t):u;y!==t&&((p=c.current)==null||p.call(c,y))}else i(u)},[l,t,i,c]);return[d,h]}function VE({defaultProp:t,onChange:e}){const[r,n]=g.useState(t),o=g.useRef(r),i=g.useRef(e);return OE(()=>{i.current=e},[e]),g.useEffect(()=>{var c;o.current!==r&&((c=i.current)==null||c.call(i,r),o.current=r)},[r,o]),[r,n,i]}function BE(t){return typeof t=="function"}function eS(t){const e=g.useRef({value:t,previous:t});return g.useMemo(()=>(e.current.value!==t&&(e.current.previous=e.current.value,e.current.value=t),e.current.previous),[t])}var UE=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{};function tS(t){const[e,r]=g.useState(void 0);return UE(()=>{if(t){r({width:t.offsetWidth,height:t.offsetHeight});const n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let c,l;if("borderBoxSize"in i){const d=i.borderBoxSize,h=Array.isArray(d)?d[0]:d;c=h.inlineSize,l=h.blockSize}else c=t.offsetWidth,l=t.offsetHeight;r({width:c,height:l})});return n.observe(t,{box:"border-box"}),()=>n.unobserve(t)}else r(void 0)},[t]),e}function $E(t,e){return g.useReducer((r,n)=>e[r][n]??r,t)}var ZA=t=>{const{present:e,children:r}=t,n=GE(e),o=typeof r=="function"?r({present:n.isPresent}):g.Children.only(r),i=Qj(n.ref,WE(o));return typeof r=="function"||n.isPresent?g.cloneElement(o,{ref:i}):null};ZA.displayName="Presence";function GE(t){const[e,r]=g.useState(),n=g.useRef(null),o=g.useRef(t),i=g.useRef("none"),c=t?"mounted":"unmounted",[l,d]=$E(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const h=d1(n.current);i.current=l==="mounted"?h:"none"},[l]),KC(()=>{const h=n.current,u=o.current;if(u!==t){const y=i.current,f=d1(h);t?d("MOUNT"):f==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&y!==f?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,d]),KC(()=>{if(e){let h;const u=e.ownerDocument.defaultView??window,p=f=>{const m=d1(n.current).includes(CSS.escape(f.animationName));if(f.target===e&&m&&(d("ANIMATION_END"),!o.current)){const x=e.style.animationFillMode;e.style.animationFillMode="forwards",h=u.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=x)})}},y=f=>{f.target===e&&(i.current=d1(n.current))};return e.addEventListener("animationstart",y),e.addEventListener("animationcancel",p),e.addEventListener("animationend",p),()=>{u.clearTimeout(h),e.removeEventListener("animationstart",y),e.removeEventListener("animationcancel",p),e.removeEventListener("animationend",p)}}else d("ANIMATION_END")},[e,d]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:g.useCallback(h=>{n.current=h?getComputedStyle(h):null,r(h)},[])}}function d1(t){return(t==null?void 0:t.animationName)||"none"}function WE(t){var n,o;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(o=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:o.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var ZE=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],aS=ZE.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),H9="Checkbox",[XE,oU]=FE(H9),[JE,rS]=XE(H9);function YE(t){const{__scopeCheckbox:e,checked:r,children:n,defaultChecked:o,disabled:i,form:c,name:l,onCheckedChange:d,required:h,value:u="on",internal_do_not_use_render:p}=t,[y,f]=HE({prop:r,defaultProp:o??!1,onChange:d,caller:H9}),[k,m]=g.useState(null),[x,v]=g.useState(null),w=g.useRef(!1),C=k?!!c||!!k.closest("form"):!0,M={checked:y,disabled:i,setChecked:f,control:k,setControl:m,name:l,form:c,value:u,hasConsumerStoppedPropagationRef:w,required:h,defaultChecked:er(o)?!1:o,isFormControl:C,bubbleInput:x,setBubbleInput:v};return a.jsx(JE,{scope:e,...M,children:KE(p)?p(M):n})}var XA="CheckboxTrigger",JA=g.forwardRef(({__scopeCheckbox:t,onKeyDown:e,onClick:r,...n},o)=>{const{control:i,value:c,disabled:l,checked:d,required:h,setControl:u,setChecked:p,hasConsumerStoppedPropagationRef:y,isFormControl:f,bubbleInput:k}=rS(XA,t),m=Qj(o,u),x=g.useRef(d);return g.useEffect(()=>{const v=i==null?void 0:i.form;if(v){const w=()=>p(x.current);return v.addEventListener("reset",w),()=>v.removeEventListener("reset",w)}},[i,p]),a.jsx(aS.button,{type:"button",role:"checkbox","aria-checked":er(d)?"mixed":d,"aria-required":h,"data-state":tP(d),"data-disabled":l?"":void 0,disabled:l,value:c,...n,ref:m,onKeyDown:kL(e,v=>{v.key==="Enter"&&v.preventDefault()}),onClick:kL(r,v=>{p(w=>er(w)?!0:!w),k&&f&&(y.current=v.isPropagationStopped(),y.current||v.stopPropagation())})})});JA.displayName=XA;var nS=g.forwardRef((t,e)=>{const{__scopeCheckbox:r,name:n,checked:o,defaultChecked:i,required:c,disabled:l,value:d,onCheckedChange:h,form:u,...p}=t;return a.jsx(YE,{__scopeCheckbox:r,checked:o,defaultChecked:i,disabled:l,required:c,onCheckedChange:h,name:n,form:u,value:d,internal_do_not_use_render:({isFormControl:y})=>a.jsxs(a.Fragment,{children:[a.jsx(JA,{...p,ref:e,__scopeCheckbox:r}),y&&a.jsx(eP,{__scopeCheckbox:r})]})})});nS.displayName=H9;var YA="CheckboxIndicator",KA=g.forwardRef((t,e)=>{const{__scopeCheckbox:r,forceMount:n,...o}=t,i=rS(YA,r);return a.jsx(ZA,{present:n||er(i.checked)||i.checked===!0,children:a.jsx(aS.span,{"data-state":tP(i.checked),"data-disabled":i.disabled?"":void 0,...o,ref:e,style:{pointerEvents:"none",...t.style}})})});KA.displayName=YA;var QA="CheckboxBubbleInput",eP=g.forwardRef(({__scopeCheckbox:t,...e},r)=>{const{control:n,hasConsumerStoppedPropagationRef:o,checked:i,defaultChecked:c,required:l,disabled:d,name:h,value:u,form:p,bubbleInput:y,setBubbleInput:f}=rS(QA,t),k=Qj(r,f),m=eS(i),x=tS(n);g.useEffect(()=>{const w=y;if(!w)return;const C=window.HTMLInputElement.prototype,b=Object.getOwnPropertyDescriptor(C,"checked").set,N=!o.current;if(m!==i&&b){const L=new Event("click",{bubbles:N});w.indeterminate=er(i),b.call(w,er(i)?!1:i),w.dispatchEvent(L)}},[y,m,i,o]);const v=g.useRef(er(i)?!1:i);return a.jsx(aS.input,{type:"checkbox","aria-hidden":!0,defaultChecked:c??v.current,required:l,disabled:d,name:h,value:u,form:p,...e,tabIndex:-1,ref:k,style:{...e.style,...x,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});eP.displayName=QA;function KE(t){return typeof t=="function"}function er(t){return t==="indeterminate"}function tP(t){return er(t)?"indeterminate":t?"checked":"unchecked"}const oS=g.forwardRef(({className:t,...e},r)=>a.jsx(nS,{ref:r,className:le("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),...e,children:a.jsx(KA,{className:le("flex items-center justify-center text-current"),children:a.jsx(vs,{className:"h-4 w-4"})})}));oS.displayName=nS.displayName;const QE=j9("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),V9=g.forwardRef(({className:t,variant:e,...r},n)=>a.jsx("div",{ref:n,role:"alert",className:le(QE({variant:e}),t),...r}));V9.displayName="Alert";const eO=g.forwardRef(({className:t,...e},r)=>a.jsx("h5",{ref:r,className:le("mb-1 font-medium leading-none tracking-tight",t),...e}));eO.displayName="AlertTitle";const B9=g.forwardRef(({className:t,...e},r)=>a.jsx("div",{ref:r,className:le("text-sm [&_p]:leading-relaxed",t),...e}));B9.displayName="AlertDescription";function tO({onSubmit:t,onForgotPassword:e,onRegisterClick:r,isLoading:n=!1,error:o,title:i="Welcome Back",description:c="Sign in to your account to continue",identifierLabel:l="Email or Username",identifierPlaceholder:d="you@example.com"}){const[h,u]=j.useState(""),[p,y]=j.useState(""),[f,k]=j.useState(!1),m=x=>{x.preventDefault(),t(h,p,f)};return a.jsxs(ve,{className:"w-full max-w-md",children:[a.jsxs(_e,{className:"space-y-1",children:[a.jsx(Re,{className:"text-2xl font-bold",children:i}),a.jsx(He,{children:c})]}),a.jsxs("form",{onSubmit:m,children:[a.jsxs(we,{className:"space-y-4",children:[o&&a.jsxs(V9,{variant:"destructive",children:[a.jsx(Jt,{className:"h-4 w-4"}),a.jsx(B9,{children:o})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"identifier",children:l}),a.jsxs("div",{className:"relative",children:[a.jsx(ya,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),a.jsx(Ke,{id:"identifier",type:"text",placeholder:d,value:h,onChange:x=>u(x.target.value),className:"pl-10",required:!0,disabled:n})]})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"password",children:"Password"}),a.jsxs("div",{className:"relative",children:[a.jsx(Mc,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),a.jsx(Ke,{id:"password",type:"password",placeholder:"••••••••",value:p,onChange:x=>y(x.target.value),className:"pl-10",required:!0,disabled:n})]})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx(oS,{id:"remember",checked:f,onCheckedChange:x=>k(x),disabled:n}),a.jsx(ye,{htmlFor:"remember",className:"text-sm font-normal cursor-pointer",children:"Remember me"})]}),e&&a.jsx("button",{type:"button",onClick:e,className:"text-sm text-accent hover:underline",disabled:n,children:"Forgot password?"})]})]}),a.jsxs(Fs,{className:"flex flex-col space-y-4",children:[a.jsx($,{type:"submit",className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",disabled:n,children:n?"Signing in...":"Sign In"}),r&&a.jsxs("div",{className:"text-sm text-center text-muted-foreground",children:["Don't have an account?"," ",a.jsx("button",{type:"button",onClick:r,className:"text-accent hover:underline font-medium",disabled:n,children:"Create account"})]})]})]})]})}const aO=({onSubmit:t,onForgotPassword:e,onRegisterClick:r,isLoading:n=!1,error:o="",appName:i="Your App",logo:c,identifierLabel:l="Email or Username",identifierPlaceholder:d="you@example.com"})=>a.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-r from-[#0f1219] to-[#1a2236] p-4",children:a.jsxs("div",{className:"w-full max-w-md",children:[a.jsxs("div",{className:"mb-8 text-center",children:[a.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[c||a.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-accent",children:a.jsx("span",{className:"text-xl font-bold text-accent-foreground",children:"APP"})}),a.jsx("span",{className:"text-2xl font-bold text-white",children:i})]}),a.jsx("p",{className:"text-gray-300",children:"Access your dashboard"})]}),a.jsx(tO,{onSubmit:t,onForgotPassword:e,onRegisterClick:r,isLoading:n,error:o,identifierLabel:l,identifierPlaceholder:d})]})});function rO({onSubmit:t,fields:e,onLoginClick:r,isLoading:n=!1,error:o,title:i="Create Account",description:c="Join us to access exclusive opportunities"}){const[l,d]=j.useState({}),[h,u]=j.useState(""),p=(f,k)=>d(m=>({...m,[f]:k})),y=f=>{if(f.preventDefault(),u(""),"password"in l&&"confirmPassword"in l&&l.password!==l.confirmPassword){u("Passwords do not match");return}t(l)};return a.jsxs(ve,{className:"w-full max-w-md",children:[a.jsxs(_e,{className:"space-y-1",children:[a.jsx(Re,{className:"text-2xl font-bold",children:i}),a.jsx(He,{children:c})]}),a.jsxs("form",{onSubmit:y,children:[a.jsxs(we,{className:"space-y-4",children:[(o||h)&&a.jsxs(V9,{variant:"destructive",children:[a.jsx(Jt,{className:"h-4 w-4"}),a.jsx(B9,{children:o||h})]}),e.map(f=>a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:f.name,children:f.label}),a.jsx(Ke,{id:f.name,type:f.type||"text",placeholder:f.placeholder,required:f.required,disabled:n,value:l[f.name]||"",onChange:k=>p(f.name,k.target.value)})]},f.name))]}),a.jsxs(Fs,{className:"flex flex-col space-y-4",children:[a.jsx($,{type:"submit",className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",disabled:n,children:n?"Creating account...":"Create Account"}),r&&a.jsxs("div",{className:"text-sm text-center text-muted-foreground",children:["Already have an account?"," ",a.jsx("button",{type:"button",onClick:r,className:"text-accent hover:underline font-medium",disabled:n,children:"Sign in"})]})]})]})]})}const nO=({onSubmit:t,fields:e,onLoginClick:r,isLoading:n=!1,error:o="",appName:i="Your App",logo:c,title:l="Create Account",description:d="Join us to access exclusive opportunities"})=>a.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-r from-[#0f1219] to-[#1a2236] p-4",children:a.jsxs("div",{className:"w-full max-w-md",children:[a.jsxs("div",{className:"mb-8 text-center",children:[a.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[c||a.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-accent",children:a.jsx("span",{className:"text-xl font-bold text-accent-foreground",children:"APP"})}),a.jsx("span",{className:"text-2xl font-bold text-white",children:i})]}),a.jsx("p",{className:"text-gray-300",children:"Start your journey"})]}),a.jsx(rO,{onSubmit:t,fields:e,onLoginClick:r,isLoading:n,error:o,title:l,description:d})]})});function oO({onSubmit:t,onBackToLogin:e,isLoading:r=!1,error:n,success:o=!1,title:i="Reset Password",description:c="Enter your email address and we'll send you a link to reset your password",successMessage:l="If an account exists with that email, you will receive a password reset link shortly. Please check your inbox and spam folder."}){const[d,h]=j.useState(""),u=p=>{p.preventDefault(),t(d)};return o?a.jsxs(ve,{className:"w-full max-w-md",children:[a.jsxs(_e,{className:"space-y-1",children:[a.jsx("div",{className:"flex items-center justify-center mb-4",children:a.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-green-100",children:a.jsx(St,{className:"h-6 w-6 text-green-600"})})}),a.jsx(Re,{className:"text-2xl font-bold text-center",children:"Check Your Email"}),a.jsx(He,{className:"text-center",children:l})]}),a.jsx(Fs,{className:"flex flex-col space-y-4",children:e&&a.jsxs($,{type:"button",variant:"outline",className:"w-full",onClick:e,children:[a.jsx(zi,{className:"mr-2 h-4 w-4"}),"Back to Login"]})})]}):a.jsxs(ve,{className:"w-full max-w-md",children:[a.jsxs(_e,{className:"space-y-1",children:[a.jsx(Re,{className:"text-2xl font-bold",children:i}),a.jsx(He,{children:c})]}),a.jsxs("form",{onSubmit:u,children:[a.jsxs(we,{className:"space-y-4",children:[n&&a.jsxs(V9,{variant:"destructive",children:[a.jsx(Jt,{className:"h-4 w-4"}),a.jsx(B9,{children:n})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"email",children:"Email Address"}),a.jsxs("div",{className:"relative",children:[a.jsx(ya,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),a.jsx(Ke,{id:"email",type:"email",placeholder:"you@example.com",value:d,onChange:p=>h(p.target.value),className:"pl-10",required:!0,disabled:r})]}),a.jsx("p",{className:"text-xs text-muted-foreground",children:"We'll send you an email with instructions to reset your password"})]})]}),a.jsxs(Fs,{className:"flex flex-col space-y-4",children:[a.jsx($,{type:"submit",className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",disabled:r,children:r?"Sending...":"Send Reset Link"}),e&&a.jsxs($,{type:"button",variant:"ghost",className:"w-full",onClick:e,disabled:r,children:[a.jsx(zi,{className:"mr-2 h-4 w-4"}),"Back to Login"]})]})]})]})}const iO=({onSubmit:t,onBackToLogin:e,isLoading:r=!1,error:n="",success:o=!1,appName:i="Your App",logo:c})=>a.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-r from-[#0f1219] to-[#1a2236] p-4",children:a.jsxs("div",{className:"w-full max-w-md",children:[a.jsxs("div",{className:"mb-8 text-center",children:[a.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[c||a.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-accent",children:a.jsx("span",{className:"text-xl font-bold text-accent-foreground",children:"APP"})}),a.jsx("span",{className:"text-2xl font-bold text-white",children:i})]}),a.jsx("p",{className:"text-gray-300",children:"Recover your account access"})]}),a.jsx(oO,{onSubmit:t,onBackToLogin:e,isLoading:r,error:n,success:o})]})}),sO=[{icon:gc,label:"Dashboard",path:"/dashboard"},{icon:ft,label:"My Jobs",path:"/dashboard/jobs"},{icon:Vt,label:"Courses",path:"/dashboard/courses"},{icon:Is,label:"Settings",path:"/dashboard/settings"}];function cO({children:t,user:e={name:"User",email:"user@example.com"},onLogout:r,onNavigate:n,currentPath:o="/dashboard",notificationCount:i=0}){return a.jsx("div",{className:"min-h-screen bg-background",children:a.jsxs("div",{className:"flex",children:[a.jsxs("aside",{className:"hidden md:flex w-64 flex-col border-r bg-card h-[calc(100vh-4rem)]",children:[a.jsx("nav",{className:"flex-1 space-y-1 p-4",children:sO.map(c=>{const l=c.icon,d=o===c.path;return a.jsxs("button",{onClick:()=>n==null?void 0:n(c.path),className:`flex w-full items-center gap-3 rounded-lg px-3 py-2 text-sm font-medium transition-colors ${d?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-muted hover:text-foreground"}`,children:[a.jsx(l,{className:"h-4 w-4"}),c.label]},c.path)})}),r&&a.jsx("div",{className:"border-t p-4",children:a.jsxs($,{variant:"ghost",className:"w-full justify-start text-muted-foreground hover:text-foreground",onClick:r,children:[a.jsx(bc,{className:"mr-3 h-4 w-4"}),"Logout"]})})]}),a.jsx("main",{className:"flex-1 p-6 md:p-8",children:t})]})})}const lO=j9("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-yellow-200/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function it({className:t,variant:e,...r}){return a.jsx("div",{className:le(lO({variant:e}),t),...r})}function dO({userName:t,feedItems:e,alerts:r,snapshot:n,onSave:o,onApply:i,onEnroll:c,onRead:l}){const d=u=>{switch(u){case"job":return ft;case"course":return Vt;case"news":return _a;default:return ft}},h=u=>{switch(u.type){case"job":return a.jsxs(a.Fragment,{children:[a.jsx($,{variant:"outline",size:"sm",onClick:()=>o(u.id),children:"Save"}),a.jsx($,{size:"sm",onClick:()=>i(u.id),children:"Apply"})]});case"course":return a.jsxs(a.Fragment,{children:[a.jsx($,{variant:"outline",size:"sm",onClick:()=>o(u.id),children:"Save"}),a.jsx($,{size:"sm",onClick:()=>c(u.id),children:"Enroll"})]});case"news":return a.jsx($,{size:"sm",onClick:()=>l(u.id),children:"Read"});default:return null}};return a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{children:[a.jsxs("h2",{className:"text-3xl font-bold",children:["Welcome back, ",t," 👋"]}),a.jsx("p",{className:"text-muted-foreground mt-1",children:"Your personalized iGaming career hub"})]}),a.jsxs("div",{className:"grid gap-6 lg:grid-cols-3",children:[a.jsxs("div",{className:"lg:col-span-2 space-y-4",children:[a.jsx("h3",{className:"text-xl font-semibold",children:"Your Feed"}),e.map(u=>{const p=d(u.type);return a.jsxs(ve,{children:[a.jsxs(_e,{children:[a.jsxs("div",{className:"flex items-start justify-between",children:[a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(p,{className:"h-5 w-5 text-primary"}),a.jsx(it,{variant:"secondary",children:u.type})]}),a.jsx("span",{className:"text-xs text-muted-foreground",children:u.timestamp})]}),a.jsx(Re,{className:"text-lg mt-2",children:u.title}),u.company&&a.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground",children:[a.jsxs("span",{className:"flex items-center gap-1",children:[a.jsx(gs,{className:"h-4 w-4"}),u.company]}),u.location&&a.jsxs("span",{className:"flex items-center gap-1",children:[a.jsx(Bt,{className:"h-4 w-4"}),u.location]})]}),a.jsx(He,{children:u.description})]}),a.jsxs(we,{children:[a.jsx("div",{className:"flex flex-wrap gap-2 mb-4",children:u.tags.map(y=>a.jsx(it,{variant:"outline",children:y},y))}),u.reason&&a.jsxs("p",{className:"text-xs text-muted-foreground mb-3 italic",children:["💡 ",u.reason]}),a.jsx("div",{className:"flex gap-2",children:h(u)})]})]},u.id)})]}),a.jsxs("div",{className:"space-y-4",children:[a.jsxs(ve,{children:[a.jsx(_e,{children:a.jsxs(Re,{className:"flex items-center gap-2",children:[a.jsx(Vi,{className:"h-5 w-5"}),"Your iGaming Career Snapshot"]})}),a.jsx(we,{className:"space-y-3",children:n.map(u=>a.jsxs("div",{className:"flex justify-between items-center",children:[a.jsx("span",{className:"text-sm text-muted-foreground",children:u.label}),a.jsxs("div",{className:"text-right",children:[a.jsx("span",{className:"font-semibold",children:u.value}),u.trend&&a.jsx("span",{className:"text-xs text-green-600 ml-2",children:u.trend})]})]},u.label))})]}),a.jsxs(ve,{children:[a.jsx(_e,{children:a.jsxs(Re,{className:"flex items-center gap-2",children:[a.jsx(Kt,{className:"h-5 w-5"}),"Alerts & Notifications"]})}),a.jsx(we,{className:"space-y-3",children:r.length===0?a.jsx("p",{className:"text-sm text-muted-foreground",children:"No new alerts"}):r.map(u=>a.jsxs("div",{className:"p-3 rounded-lg bg-secondary/50 text-sm",children:[a.jsx(it,{variant:"outline",className:"mb-2",children:u.type}),a.jsx("p",{children:u.message})]},u.id))})]})]})]})]})}function hO(t,e,{checkForDefaultPrevented:r=!0}={}){return function(o){if(t==null||t(o),r===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}function gL(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function uO(...t){return e=>{let r=!1;const n=t.map(o=>{const i=gL(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():gL(t[o],null)}}}}function aP(...t){return g.useCallback(uO(...t),t)}function pO(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,yO(o,...e)]}function yO(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var mO=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},fO=g[" useInsertionEffect ".trim().toString()]||mO;function xO({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[o,i,c]=kO({defaultProp:e,onChange:r}),l=t!==void 0,d=l?t:o;{const u=g.useRef(t!==void 0);g.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${n} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=l},[l,n])}const h=g.useCallback(u=>{var p;if(l){const y=gO(u)?u(t):u;y!==t&&((p=c.current)==null||p.call(c,y))}else i(u)},[l,t,i,c]);return[d,h]}function kO({defaultProp:t,onChange:e}){const[r,n]=g.useState(t),o=g.useRef(r),i=g.useRef(e);return fO(()=>{i.current=e},[e]),g.useEffect(()=>{var c;o.current!==r&&((c=i.current)==null||c.call(i,r),o.current=r)},[r,o]),[r,n,i]}function gO(t){return typeof t=="function"}var vO=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],rP=vO.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),U9="Switch",[wO,iU]=pO(U9),[MO,bO]=wO(U9),nP=g.forwardRef((t,e)=>{const{__scopeSwitch:r,name:n,checked:o,defaultChecked:i,required:c,disabled:l,value:d="on",onCheckedChange:h,form:u,...p}=t,[y,f]=g.useState(null),k=aP(e,C=>f(C)),m=g.useRef(!1),x=y?u||!!y.closest("form"):!0,[v,w]=xO({prop:o,defaultProp:i??!1,onChange:h,caller:U9});return a.jsxs(MO,{scope:r,checked:v,disabled:l,children:[a.jsx(rP.button,{type:"button",role:"switch","aria-checked":v,"aria-required":c,"data-state":cP(v),"data-disabled":l?"":void 0,disabled:l,value:d,...p,ref:k,onClick:hO(t.onClick,C=>{w(M=>!M),x&&(m.current=C.isPropagationStopped(),m.current||C.stopPropagation())})}),x&&a.jsx(sP,{control:y,bubbles:!m.current,name:n,value:d,checked:v,required:c,disabled:l,form:u,style:{transform:"translateX(-100%)"}})]})});nP.displayName=U9;var oP="SwitchThumb",iP=g.forwardRef((t,e)=>{const{__scopeSwitch:r,...n}=t,o=bO(oP,r);return a.jsx(rP.span,{"data-state":cP(o.checked),"data-disabled":o.disabled?"":void 0,...n,ref:e})});iP.displayName=oP;var CO="SwitchBubbleInput",sP=g.forwardRef(({__scopeSwitch:t,control:e,checked:r,bubbles:n=!0,...o},i)=>{const c=g.useRef(null),l=aP(c,i),d=eS(r),h=tS(e);return g.useEffect(()=>{const u=c.current;if(!u)return;const p=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(p,"checked").set;if(d!==r&&f){const k=new Event("click",{bubbles:n});f.call(u,r),u.dispatchEvent(k)}},[d,r,n]),a.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...o,tabIndex:-1,ref:l,style:{...o.style,...h,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});sP.displayName=CO;function cP(t){return t?"checked":"unchecked"}var lP=nP,jO=iP;const Yt=g.forwardRef(({className:t,...e},r)=>a.jsx(lP,{className:le("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50",t),...e,ref:r,children:a.jsx(jO,{className:le("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})}));Yt.displayName=lP.displayName;function zc(t,e,{checkForDefaultPrevented:r=!0}={}){return function(o){if(t==null||t(o),r===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}function vL(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function SO(...t){return e=>{let r=!1;const n=t.map(o=>{const i=vL(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():vL(t[o],null)}}}}function iS(...t){return g.useCallback(SO(...t),t)}function LO(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,IO(o,...e)]}function IO(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var x9=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},NO=g[" useId ".trim().toString()]||(()=>{}),AO=0;function PO(t){const[e,r]=g.useState(NO());return x9(()=>{t||r(n=>n??String(AO++))},[t]),t||(e?`radix-${e}`:"")}const _O=["top","right","bottom","left"],rr=Math.min,Lt=Math.max,k9=Math.round,h1=Math.floor,fa=t=>({x:t,y:t}),RO={left:"right",right:"left",bottom:"top",top:"bottom"},TO={start:"end",end:"start"};function QC(t,e,r){return Lt(t,rr(e,r))}function Da(t,e){return typeof t=="function"?t(e):t}function za(t){return t.split("-")[0]}function Ks(t){return t.split("-")[1]}function sS(t){return t==="x"?"y":"x"}function cS(t){return t==="y"?"height":"width"}const qO=new Set(["top","bottom"]);function ua(t){return qO.has(za(t))?"y":"x"}function lS(t){return sS(ua(t))}function DO(t,e,r){r===void 0&&(r=!1);const n=Ks(t),o=lS(t),i=cS(o);let c=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(c=g9(c)),[c,g9(c)]}function zO(t){const e=g9(t);return[ej(t),e,ej(e)]}function ej(t){return t.replace(/start|end/g,e=>TO[e])}const wL=["left","right"],ML=["right","left"],FO=["top","bottom"],EO=["bottom","top"];function OO(t,e,r){switch(t){case"top":case"bottom":return r?e?ML:wL:e?wL:ML;case"left":case"right":return e?FO:EO;default:return[]}}function HO(t,e,r,n){const o=Ks(t);let i=OO(za(t),r==="start",n);return o&&(i=i.map(c=>c+"-"+o),e&&(i=i.concat(i.map(ej)))),i}function g9(t){return t.replace(/left|right|bottom|top/g,e=>RO[e])}function VO(t){return{top:0,right:0,bottom:0,left:0,...t}}function dP(t){return typeof t!="number"?VO(t):{top:t,right:t,bottom:t,left:t}}function v9(t){const{x:e,y:r,width:n,height:o}=t;return{width:n,height:o,top:r,left:e,right:e+n,bottom:r+o,x:e,y:r}}function bL(t,e,r){let{reference:n,floating:o}=t;const i=ua(e),c=lS(e),l=cS(c),d=za(e),h=i==="y",u=n.x+n.width/2-o.width/2,p=n.y+n.height/2-o.height/2,y=n[l]/2-o[l]/2;let f;switch(d){case"top":f={x:u,y:n.y-o.height};break;case"bottom":f={x:u,y:n.y+n.height};break;case"right":f={x:n.x+n.width,y:p};break;case"left":f={x:n.x-o.width,y:p};break;default:f={x:n.x,y:n.y}}switch(Ks(e)){case"start":f[c]-=y*(r&&h?-1:1);break;case"end":f[c]+=y*(r&&h?-1:1);break}return f}const BO=async(t,e,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:c}=r,l=i.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(e));let h=await c.getElementRects({reference:t,floating:e,strategy:o}),{x:u,y:p}=bL(h,n,d),y=n,f={},k=0;for(let m=0;m<l.length;m++){const{name:x,fn:v}=l[m],{x:w,y:C,data:M,reset:b}=await v({x:u,y:p,initialPlacement:n,placement:y,strategy:o,middlewareData:f,rects:h,platform:c,elements:{reference:t,floating:e}});u=w??u,p=C??p,f={...f,[x]:{...f[x],...M}},b&&k<=50&&(k++,typeof b=="object"&&(b.placement&&(y=b.placement),b.rects&&(h=b.rects===!0?await c.getElementRects({reference:t,floating:e,strategy:o}):b.rects),{x:u,y:p}=bL(h,y,d)),m=-1)}return{x:u,y:p,placement:y,strategy:o,middlewareData:f}};async function Gc(t,e){var r;e===void 0&&(e={});const{x:n,y:o,platform:i,rects:c,elements:l,strategy:d}=t,{boundary:h="clippingAncestors",rootBoundary:u="viewport",elementContext:p="floating",altBoundary:y=!1,padding:f=0}=Da(e,t),k=dP(f),x=l[y?p==="floating"?"reference":"floating":p],v=v9(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(x)))==null||r?x:x.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:h,rootBoundary:u,strategy:d})),w=p==="floating"?{x:n,y:o,width:c.floating.width,height:c.floating.height}:c.reference,C=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),M=await(i.isElement==null?void 0:i.isElement(C))?await(i.getScale==null?void 0:i.getScale(C))||{x:1,y:1}:{x:1,y:1},b=v9(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:w,offsetParent:C,strategy:d}):w);return{top:(v.top-b.top+k.top)/M.y,bottom:(b.bottom-v.bottom+k.bottom)/M.y,left:(v.left-b.left+k.left)/M.x,right:(b.right-v.right+k.right)/M.x}}const UO=t=>({name:"arrow",options:t,async fn(e){const{x:r,y:n,placement:o,rects:i,platform:c,elements:l,middlewareData:d}=e,{element:h,padding:u=0}=Da(t,e)||{};if(h==null)return{};const p=dP(u),y={x:r,y:n},f=lS(o),k=cS(f),m=await c.getDimensions(h),x=f==="y",v=x?"top":"left",w=x?"bottom":"right",C=x?"clientHeight":"clientWidth",M=i.reference[k]+i.reference[f]-y[f]-i.floating[k],b=y[f]-i.reference[f],N=await(c.getOffsetParent==null?void 0:c.getOffsetParent(h));let L=N?N[C]:0;(!L||!await(c.isElement==null?void 0:c.isElement(N)))&&(L=l.floating[C]||i.floating[k]);const A=M/2-b/2,I=L/2-m[k]/2-1,q=rr(p[v],I),P=rr(p[w],I),_=q,R=L-m[k]-P,U=L/2-m[k]/2+A,W=QC(_,U,R),V=!d.arrow&&Ks(o)!=null&&U!==W&&i.reference[k]/2-(U<_?q:P)-m[k]/2<0,O=V?U<_?U-_:U-R:0;return{[f]:y[f]+O,data:{[f]:W,centerOffset:U-W-O,...V&&{alignmentOffset:O}},reset:V}}}),$O=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r,n;const{placement:o,middlewareData:i,rects:c,initialPlacement:l,platform:d,elements:h}=e,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:y,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:m=!0,...x}=Da(t,e);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const v=za(o),w=ua(l),C=za(l)===l,M=await(d.isRTL==null?void 0:d.isRTL(h.floating)),b=y||(C||!m?[g9(l)]:zO(l)),N=k!=="none";!y&&N&&b.push(...HO(l,m,k,M));const L=[l,...b],A=await Gc(e,x),I=[];let q=((n=i.flip)==null?void 0:n.overflows)||[];if(u&&I.push(A[v]),p){const U=DO(o,c,M);I.push(A[U[0]],A[U[1]])}if(q=[...q,{placement:o,overflows:I}],!I.every(U=>U<=0)){var P,_;const U=(((P=i.flip)==null?void 0:P.index)||0)+1,W=L[U];if(W&&(!(p==="alignment"?w!==ua(W):!1)||q.every(E=>ua(E.placement)===w?E.overflows[0]>0:!0)))return{data:{index:U,overflows:q},reset:{placement:W}};let V=(_=q.filter(O=>O.overflows[0]<=0).sort((O,E)=>O.overflows[1]-E.overflows[1])[0])==null?void 0:_.placement;if(!V)switch(f){case"bestFit":{var R;const O=(R=q.filter(E=>{if(N){const Q=ua(E.placement);return Q===w||Q==="y"}return!0}).map(E=>[E.placement,E.overflows.filter(Q=>Q>0).reduce((Q,de)=>Q+de,0)]).sort((E,Q)=>E[1]-Q[1])[0])==null?void 0:R[0];O&&(V=O);break}case"initialPlacement":V=l;break}if(o!==V)return{reset:{placement:V}}}return{}}}};function CL(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function jL(t){return _O.some(e=>t[e]>=0)}const GO=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:r}=e,{strategy:n="referenceHidden",...o}=Da(t,e);switch(n){case"referenceHidden":{const i=await Gc(e,{...o,elementContext:"reference"}),c=CL(i,r.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:jL(c)}}}case"escaped":{const i=await Gc(e,{...o,altBoundary:!0}),c=CL(i,r.floating);return{data:{escapedOffsets:c,escaped:jL(c)}}}default:return{}}}}},hP=new Set(["left","top"]);async function WO(t,e){const{placement:r,platform:n,elements:o}=t,i=await(n.isRTL==null?void 0:n.isRTL(o.floating)),c=za(r),l=Ks(r),d=ua(r)==="y",h=hP.has(c)?-1:1,u=i&&d?-1:1,p=Da(e,t);let{mainAxis:y,crossAxis:f,alignmentAxis:k}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&typeof k=="number"&&(f=l==="end"?k*-1:k),d?{x:f*u,y:y*h}:{x:y*h,y:f*u}}const ZO=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;const{x:o,y:i,placement:c,middlewareData:l}=e,d=await WO(e,t);return c===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:o+d.x,y:i+d.y,data:{...d,placement:c}}}}},XO=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:r,y:n,placement:o}=e,{mainAxis:i=!0,crossAxis:c=!1,limiter:l={fn:x=>{let{x:v,y:w}=x;return{x:v,y:w}}},...d}=Da(t,e),h={x:r,y:n},u=await Gc(e,d),p=ua(za(o)),y=sS(p);let f=h[y],k=h[p];if(i){const x=y==="y"?"top":"left",v=y==="y"?"bottom":"right",w=f+u[x],C=f-u[v];f=QC(w,f,C)}if(c){const x=p==="y"?"top":"left",v=p==="y"?"bottom":"right",w=k+u[x],C=k-u[v];k=QC(w,k,C)}const m=l.fn({...e,[y]:f,[p]:k});return{...m,data:{x:m.x-r,y:m.y-n,enabled:{[y]:i,[p]:c}}}}}},JO=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:r,y:n,placement:o,rects:i,middlewareData:c}=e,{offset:l=0,mainAxis:d=!0,crossAxis:h=!0}=Da(t,e),u={x:r,y:n},p=ua(o),y=sS(p);let f=u[y],k=u[p];const m=Da(l,e),x=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(d){const C=y==="y"?"height":"width",M=i.reference[y]-i.floating[C]+x.mainAxis,b=i.reference[y]+i.reference[C]-x.mainAxis;f<M?f=M:f>b&&(f=b)}if(h){var v,w;const C=y==="y"?"width":"height",M=hP.has(za(o)),b=i.reference[p]-i.floating[C]+(M&&((v=c.offset)==null?void 0:v[p])||0)+(M?0:x.crossAxis),N=i.reference[p]+i.reference[C]+(M?0:((w=c.offset)==null?void 0:w[p])||0)-(M?x.crossAxis:0);k<b?k=b:k>N&&(k=N)}return{[y]:f,[p]:k}}}},YO=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r,n;const{placement:o,rects:i,platform:c,elements:l}=e,{apply:d=()=>{},...h}=Da(t,e),u=await Gc(e,h),p=za(o),y=Ks(o),f=ua(o)==="y",{width:k,height:m}=i.floating;let x,v;p==="top"||p==="bottom"?(x=p,v=y===(await(c.isRTL==null?void 0:c.isRTL(l.floating))?"start":"end")?"left":"right"):(v=p,x=y==="end"?"top":"bottom");const w=m-u.top-u.bottom,C=k-u.left-u.right,M=rr(m-u[x],w),b=rr(k-u[v],C),N=!e.middlewareData.shift;let L=M,A=b;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(A=C),(n=e.middlewareData.shift)!=null&&n.enabled.y&&(L=w),N&&!y){const q=Lt(u.left,0),P=Lt(u.right,0),_=Lt(u.top,0),R=Lt(u.bottom,0);f?A=k-2*(q!==0||P!==0?q+P:Lt(u.left,u.right)):L=m-2*(_!==0||R!==0?_+R:Lt(u.top,u.bottom))}await d({...e,availableWidth:A,availableHeight:L});const I=await c.getDimensions(l.floating);return k!==I.width||m!==I.height?{reset:{rects:!0}}:{}}}};function $9(){return typeof window<"u"}function Qs(t){return uP(t)?(t.nodeName||"").toLowerCase():"#document"}function Pt(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function va(t){var e;return(e=(uP(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function uP(t){return $9()?t instanceof Node||t instanceof Pt(t).Node:!1}function ea(t){return $9()?t instanceof Element||t instanceof Pt(t).Element:!1}function ka(t){return $9()?t instanceof HTMLElement||t instanceof Pt(t).HTMLElement:!1}function SL(t){return!$9()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Pt(t).ShadowRoot}const KO=new Set(["inline","contents"]);function Kc(t){const{overflow:e,overflowX:r,overflowY:n,display:o}=ta(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!KO.has(o)}const QO=new Set(["table","td","th"]);function eH(t){return QO.has(Qs(t))}const tH=[":popover-open",":modal"];function G9(t){return tH.some(e=>{try{return t.matches(e)}catch{return!1}})}const aH=["transform","translate","scale","rotate","perspective"],rH=["transform","translate","scale","rotate","perspective","filter"],nH=["paint","layout","strict","content"];function dS(t){const e=hS(),r=ea(t)?ta(t):t;return aH.some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||rH.some(n=>(r.willChange||"").includes(n))||nH.some(n=>(r.contain||"").includes(n))}function oH(t){let e=nr(t);for(;ka(e)&&!Us(e);){if(dS(e))return e;if(G9(e))return null;e=nr(e)}return null}function hS(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const iH=new Set(["html","body","#document"]);function Us(t){return iH.has(Qs(t))}function ta(t){return Pt(t).getComputedStyle(t)}function W9(t){return ea(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function nr(t){if(Qs(t)==="html")return t;const e=t.assignedSlot||t.parentNode||SL(t)&&t.host||va(t);return SL(e)?e.host:e}function pP(t){const e=nr(t);return Us(e)?t.ownerDocument?t.ownerDocument.body:t.body:ka(e)&&Kc(e)?e:pP(e)}function Wc(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);const o=pP(t),i=o===((n=t.ownerDocument)==null?void 0:n.body),c=Pt(o);if(i){const l=tj(c);return e.concat(c,c.visualViewport||[],Kc(o)?o:[],l&&r?Wc(l):[])}return e.concat(o,Wc(o,[],r))}function tj(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function yP(t){const e=ta(t);let r=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const o=ka(t),i=o?t.offsetWidth:r,c=o?t.offsetHeight:n,l=k9(r)!==i||k9(n)!==c;return l&&(r=i,n=c),{width:r,height:n,$:l}}function uS(t){return ea(t)?t:t.contextElement}function Ds(t){const e=uS(t);if(!ka(e))return fa(1);const r=e.getBoundingClientRect(),{width:n,height:o,$:i}=yP(e);let c=(i?k9(r.width):r.width)/n,l=(i?k9(r.height):r.height)/o;return(!c||!Number.isFinite(c))&&(c=1),(!l||!Number.isFinite(l))&&(l=1),{x:c,y:l}}const sH=fa(0);function mP(t){const e=Pt(t);return!hS()||!e.visualViewport?sH:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function cH(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Pt(t)?!1:e}function Ji(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);const o=t.getBoundingClientRect(),i=uS(t);let c=fa(1);e&&(n?ea(n)&&(c=Ds(n)):c=Ds(t));const l=cH(i,r,n)?mP(i):fa(0);let d=(o.left+l.x)/c.x,h=(o.top+l.y)/c.y,u=o.width/c.x,p=o.height/c.y;if(i){const y=Pt(i),f=n&&ea(n)?Pt(n):n;let k=y,m=tj(k);for(;m&&n&&f!==k;){const x=Ds(m),v=m.getBoundingClientRect(),w=ta(m),C=v.left+(m.clientLeft+parseFloat(w.paddingLeft))*x.x,M=v.top+(m.clientTop+parseFloat(w.paddingTop))*x.y;d*=x.x,h*=x.y,u*=x.x,p*=x.y,d+=C,h+=M,k=Pt(m),m=tj(k)}}return v9({width:u,height:p,x:d,y:h})}function Z9(t,e){const r=W9(t).scrollLeft;return e?e.left+r:Ji(va(t)).left+r}function fP(t,e){const r=t.getBoundingClientRect(),n=r.left+e.scrollLeft-Z9(t,r),o=r.top+e.scrollTop;return{x:n,y:o}}function lH(t){let{elements:e,rect:r,offsetParent:n,strategy:o}=t;const i=o==="fixed",c=va(n),l=e?G9(e.floating):!1;if(n===c||l&&i)return r;let d={scrollLeft:0,scrollTop:0},h=fa(1);const u=fa(0),p=ka(n);if((p||!p&&!i)&&((Qs(n)!=="body"||Kc(c))&&(d=W9(n)),ka(n))){const f=Ji(n);h=Ds(n),u.x=f.x+n.clientLeft,u.y=f.y+n.clientTop}const y=c&&!p&&!i?fP(c,d):fa(0);return{width:r.width*h.x,height:r.height*h.y,x:r.x*h.x-d.scrollLeft*h.x+u.x+y.x,y:r.y*h.y-d.scrollTop*h.y+u.y+y.y}}function dH(t){return Array.from(t.getClientRects())}function hH(t){const e=va(t),r=W9(t),n=t.ownerDocument.body,o=Lt(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=Lt(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let c=-r.scrollLeft+Z9(t);const l=-r.scrollTop;return ta(n).direction==="rtl"&&(c+=Lt(e.clientWidth,n.clientWidth)-o),{width:o,height:i,x:c,y:l}}const LL=25;function uH(t,e){const r=Pt(t),n=va(t),o=r.visualViewport;let i=n.clientWidth,c=n.clientHeight,l=0,d=0;if(o){i=o.width,c=o.height;const u=hS();(!u||u&&e==="fixed")&&(l=o.offsetLeft,d=o.offsetTop)}const h=Z9(n);if(h<=0){const u=n.ownerDocument,p=u.body,y=getComputedStyle(p),f=u.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,k=Math.abs(n.clientWidth-p.clientWidth-f);k<=LL&&(i-=k)}else h<=LL&&(i+=h);return{width:i,height:c,x:l,y:d}}const pH=new Set(["absolute","fixed"]);function yH(t,e){const r=Ji(t,!0,e==="fixed"),n=r.top+t.clientTop,o=r.left+t.clientLeft,i=ka(t)?Ds(t):fa(1),c=t.clientWidth*i.x,l=t.clientHeight*i.y,d=o*i.x,h=n*i.y;return{width:c,height:l,x:d,y:h}}function IL(t,e,r){let n;if(e==="viewport")n=uH(t,r);else if(e==="document")n=hH(va(t));else if(ea(e))n=yH(e,r);else{const o=mP(t);n={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return v9(n)}function xP(t,e){const r=nr(t);return r===e||!ea(r)||Us(r)?!1:ta(r).position==="fixed"||xP(r,e)}function mH(t,e){const r=e.get(t);if(r)return r;let n=Wc(t,[],!1).filter(l=>ea(l)&&Qs(l)!=="body"),o=null;const i=ta(t).position==="fixed";let c=i?nr(t):t;for(;ea(c)&&!Us(c);){const l=ta(c),d=dS(c);!d&&l.position==="fixed"&&(o=null),(i?!d&&!o:!d&&l.position==="static"&&!!o&&pH.has(o.position)||Kc(c)&&!d&&xP(t,c))?n=n.filter(u=>u!==c):o=l,c=nr(c)}return e.set(t,n),n}function fH(t){let{element:e,boundary:r,rootBoundary:n,strategy:o}=t;const c=[...r==="clippingAncestors"?G9(e)?[]:mH(e,this._c):[].concat(r),n],l=c[0],d=c.reduce((h,u)=>{const p=IL(e,u,o);return h.top=Lt(p.top,h.top),h.right=rr(p.right,h.right),h.bottom=rr(p.bottom,h.bottom),h.left=Lt(p.left,h.left),h},IL(e,l,o));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function xH(t){const{width:e,height:r}=yP(t);return{width:e,height:r}}function kH(t,e,r){const n=ka(e),o=va(e),i=r==="fixed",c=Ji(t,!0,i,e);let l={scrollLeft:0,scrollTop:0};const d=fa(0);function h(){d.x=Z9(o)}if(n||!n&&!i)if((Qs(e)!=="body"||Kc(o))&&(l=W9(e)),n){const f=Ji(e,!0,i,e);d.x=f.x+e.clientLeft,d.y=f.y+e.clientTop}else o&&h();i&&!n&&o&&h();const u=o&&!n&&!i?fP(o,l):fa(0),p=c.left+l.scrollLeft-d.x-u.x,y=c.top+l.scrollTop-d.y-u.y;return{x:p,y,width:c.width,height:c.height}}function jC(t){return ta(t).position==="static"}function NL(t,e){if(!ka(t)||ta(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return va(t)===r&&(r=r.ownerDocument.body),r}function kP(t,e){const r=Pt(t);if(G9(t))return r;if(!ka(t)){let o=nr(t);for(;o&&!Us(o);){if(ea(o)&&!jC(o))return o;o=nr(o)}return r}let n=NL(t,e);for(;n&&eH(n)&&jC(n);)n=NL(n,e);return n&&Us(n)&&jC(n)&&!dS(n)?r:n||oH(t)||r}const gH=async function(t){const e=this.getOffsetParent||kP,r=this.getDimensions,n=await r(t.floating);return{reference:kH(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function vH(t){return ta(t).direction==="rtl"}const wH={convertOffsetParentRelativeRectToViewportRelativeRect:lH,getDocumentElement:va,getClippingRect:fH,getOffsetParent:kP,getElementRects:gH,getClientRects:dH,getDimensions:xH,getScale:Ds,isElement:ea,isRTL:vH};function gP(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function MH(t,e){let r=null,n;const o=va(t);function i(){var l;clearTimeout(n),(l=r)==null||l.disconnect(),r=null}function c(l,d){l===void 0&&(l=!1),d===void 0&&(d=1),i();const h=t.getBoundingClientRect(),{left:u,top:p,width:y,height:f}=h;if(l||e(),!y||!f)return;const k=h1(p),m=h1(o.clientWidth-(u+y)),x=h1(o.clientHeight-(p+f)),v=h1(u),C={rootMargin:-k+"px "+-m+"px "+-x+"px "+-v+"px",threshold:Lt(0,rr(1,d))||1};let M=!0;function b(N){const L=N[0].intersectionRatio;if(L!==d){if(!M)return c();L?c(!1,L):n=setTimeout(()=>{c(!1,1e-7)},1e3)}L===1&&!gP(h,t.getBoundingClientRect())&&c(),M=!1}try{r=new IntersectionObserver(b,{...C,root:o.ownerDocument})}catch{r=new IntersectionObserver(b,C)}r.observe(t)}return c(!0),i}function bH(t,e,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:c=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:d=!1}=n,h=uS(t),u=o||i?[...h?Wc(h):[],...Wc(e)]:[];u.forEach(v=>{o&&v.addEventListener("scroll",r,{passive:!0}),i&&v.addEventListener("resize",r)});const p=h&&l?MH(h,r):null;let y=-1,f=null;c&&(f=new ResizeObserver(v=>{let[w]=v;w&&w.target===h&&f&&(f.unobserve(e),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var C;(C=f)==null||C.observe(e)})),r()}),h&&!d&&f.observe(h),f.observe(e));let k,m=d?Ji(t):null;d&&x();function x(){const v=Ji(t);m&&!gP(m,v)&&r(),m=v,k=requestAnimationFrame(x)}return r(),()=>{var v;u.forEach(w=>{o&&w.removeEventListener("scroll",r),i&&w.removeEventListener("resize",r)}),p==null||p(),(v=f)==null||v.disconnect(),f=null,d&&cancelAnimationFrame(k)}}const CH=ZO,jH=XO,SH=$O,LH=YO,IH=GO,AL=UO,NH=JO,AH=(t,e,r)=>{const n=new Map,o={platform:wH,...r},i={...o.platform,_c:n};return BO(t,e,{...o,platform:i})};var PH=typeof document<"u",_H=function(){},i9=PH?j.useLayoutEffect:_H;function w9(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let r,n,o;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(r=t.length,r!==e.length)return!1;for(n=r;n--!==0;)if(!w9(t[n],e[n]))return!1;return!0}if(o=Object.keys(t),r=o.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(e,o[n]))return!1;for(n=r;n--!==0;){const i=o[n];if(!(i==="_owner"&&t.$$typeof)&&!w9(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function vP(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function PL(t,e){const r=vP(t);return Math.round(e*r)/r}function SC(t){const e=g.useRef(t);return i9(()=>{e.current=t}),e}function RH(t){t===void 0&&(t={});const{placement:e="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:i,floating:c}={},transform:l=!0,whileElementsMounted:d,open:h}=t,[u,p]=g.useState({x:0,y:0,strategy:r,placement:e,middlewareData:{},isPositioned:!1}),[y,f]=g.useState(n);w9(y,n)||f(n);const[k,m]=g.useState(null),[x,v]=g.useState(null),w=g.useCallback(E=>{E!==N.current&&(N.current=E,m(E))},[]),C=g.useCallback(E=>{E!==L.current&&(L.current=E,v(E))},[]),M=i||k,b=c||x,N=g.useRef(null),L=g.useRef(null),A=g.useRef(u),I=d!=null,q=SC(d),P=SC(o),_=SC(h),R=g.useCallback(()=>{if(!N.current||!L.current)return;const E={placement:e,strategy:r,middleware:y};P.current&&(E.platform=P.current),AH(N.current,L.current,E).then(Q=>{const de={...Q,isPositioned:_.current!==!1};U.current&&!w9(A.current,de)&&(A.current=de,C9.flushSync(()=>{p(de)}))})},[y,e,r,P,_]);i9(()=>{h===!1&&A.current.isPositioned&&(A.current.isPositioned=!1,p(E=>({...E,isPositioned:!1})))},[h]);const U=g.useRef(!1);i9(()=>(U.current=!0,()=>{U.current=!1}),[]),i9(()=>{if(M&&(N.current=M),b&&(L.current=b),M&&b){if(q.current)return q.current(M,b,R);R()}},[M,b,R,q,I]);const W=g.useMemo(()=>({reference:N,floating:L,setReference:w,setFloating:C}),[w,C]),V=g.useMemo(()=>({reference:M,floating:b}),[M,b]),O=g.useMemo(()=>{const E={position:r,left:0,top:0};if(!V.floating)return E;const Q=PL(V.floating,u.x),de=PL(V.floating,u.y);return l?{...E,transform:"translate("+Q+"px, "+de+"px)",...vP(V.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:Q,top:de}},[r,l,V.floating,u.x,u.y]);return g.useMemo(()=>({...u,update:R,refs:W,elements:V,floatingStyles:O}),[u,R,W,V,O])}const TH=t=>{function e(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:t,fn(r){const{element:n,padding:o}=typeof t=="function"?t(r):t;return n&&e(n)?n.current!=null?AL({element:n.current,padding:o}).fn(r):{}:n?AL({element:n,padding:o}).fn(r):{}}}},qH=(t,e)=>({...CH(t),options:[t,e]}),DH=(t,e)=>({...jH(t),options:[t,e]}),zH=(t,e)=>({...NH(t),options:[t,e]}),FH=(t,e)=>({...SH(t),options:[t,e]}),EH=(t,e)=>({...LH(t),options:[t,e]}),OH=(t,e)=>({...IH(t),options:[t,e]}),HH=(t,e)=>({...TH(t),options:[t,e]});var VH=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],BH=VH.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),UH="Arrow",wP=g.forwardRef((t,e)=>{const{children:r,width:n=10,height:o=5,...i}=t;return a.jsx(BH.svg,{...i,ref:e,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?r:a.jsx("polygon",{points:"0,0 30,0 15,10"})})});wP.displayName=UH;var $H=wP;function _L(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function GH(...t){return e=>{let r=!1;const n=t.map(o=>{const i=_L(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():_L(t[o],null)}}}}function MP(...t){return g.useCallback(GH(...t),t)}function WH(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,ZH(o,...e)]}function ZH(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var XH=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],bP=XH.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{});function JH(t){const e=g.useRef(t);return g.useEffect(()=>{e.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}var RL=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},pS="Popper",[CP,X9]=WH(pS),[YH,jP]=CP(pS),SP=t=>{const{__scopePopper:e,children:r}=t,[n,o]=g.useState(null);return a.jsx(YH,{scope:e,anchor:n,onAnchorChange:o,children:r})};SP.displayName=pS;var LP="PopperAnchor",IP=g.forwardRef((t,e)=>{const{__scopePopper:r,virtualRef:n,...o}=t,i=jP(LP,r),c=g.useRef(null),l=MP(e,c),d=g.useRef(null);return g.useEffect(()=>{const h=d.current;d.current=(n==null?void 0:n.current)||c.current,h!==d.current&&i.onAnchorChange(d.current)}),n?null:a.jsx(bP.div,{...o,ref:l})});IP.displayName=LP;var yS="PopperContent",[KH,QH]=CP(yS),NP=g.forwardRef((t,e)=>{var B,X,J,ne,pe,se;const{__scopePopper:r,side:n="bottom",sideOffset:o=0,align:i="center",alignOffset:c=0,arrowPadding:l=0,avoidCollisions:d=!0,collisionBoundary:h=[],collisionPadding:u=0,sticky:p="partial",hideWhenDetached:y=!1,updatePositionStrategy:f="optimized",onPlaced:k,...m}=t,x=jP(yS,r),[v,w]=g.useState(null),C=MP(e,Te=>w(Te)),[M,b]=g.useState(null),N=tS(M),L=(N==null?void 0:N.width)??0,A=(N==null?void 0:N.height)??0,I=n+(i!=="center"?"-"+i:""),q=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},P=Array.isArray(h)?h:[h],_=P.length>0,R={padding:q,boundary:P.filter(tV),altBoundary:_},{refs:U,floatingStyles:W,placement:V,isPositioned:O,middlewareData:E}=RH({strategy:"fixed",placement:I,whileElementsMounted:(...Te)=>bH(...Te,{animationFrame:f==="always"}),elements:{reference:x.anchor},middleware:[qH({mainAxis:o+A,alignmentAxis:c}),d&&DH({mainAxis:!0,crossAxis:!1,limiter:p==="partial"?zH():void 0,...R}),d&&FH({...R}),EH({...R,apply:({elements:Te,rects:Se,availableWidth:We,availableHeight:rt})=>{const{width:st,height:Tt}=Se.reference,ze=Te.floating.style;ze.setProperty("--radix-popper-available-width",`${We}px`),ze.setProperty("--radix-popper-available-height",`${rt}px`),ze.setProperty("--radix-popper-anchor-width",`${st}px`),ze.setProperty("--radix-popper-anchor-height",`${Tt}px`)}}),M&&HH({element:M,padding:l}),aV({arrowWidth:L,arrowHeight:A}),y&&OH({strategy:"referenceHidden",...R})]}),[Q,de]=_P(V),ee=JH(k);RL(()=>{O&&(ee==null||ee())},[O,ee]);const te=(B=E.arrow)==null?void 0:B.x,Me=(X=E.arrow)==null?void 0:X.y,ge=((J=E.arrow)==null?void 0:J.centerOffset)!==0,[ae,he]=g.useState();return RL(()=>{v&&he(window.getComputedStyle(v).zIndex)},[v]),a.jsx("div",{ref:U.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:O?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ae,"--radix-popper-transform-origin":[(ne=E.transformOrigin)==null?void 0:ne.x,(pe=E.transformOrigin)==null?void 0:pe.y].join(" "),...((se=E.hide)==null?void 0:se.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:a.jsx(KH,{scope:r,placedSide:Q,onArrowChange:b,arrowX:te,arrowY:Me,shouldHideArrow:ge,children:a.jsx(bP.div,{"data-side":Q,"data-align":de,...m,ref:C,style:{...m.style,animation:O?void 0:"none"}})})})});NP.displayName=yS;var AP="PopperArrow",eV={top:"bottom",right:"left",bottom:"top",left:"right"},PP=g.forwardRef(function(e,r){const{__scopePopper:n,...o}=e,i=QH(AP,n),c=eV[i.placedSide];return a.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[c]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:a.jsx($H,{...o,ref:r,style:{...o.style,display:"block"}})})});PP.displayName=AP;function tV(t){return t!==null}var aV=t=>({name:"transformOrigin",options:t,fn(e){var x,v,w;const{placement:r,rects:n,middlewareData:o}=e,c=((x=o.arrow)==null?void 0:x.centerOffset)!==0,l=c?0:t.arrowWidth,d=c?0:t.arrowHeight,[h,u]=_P(r),p={start:"0%",center:"50%",end:"100%"}[u],y=(((v=o.arrow)==null?void 0:v.x)??0)+l/2,f=(((w=o.arrow)==null?void 0:w.y)??0)+d/2;let k="",m="";return h==="bottom"?(k=c?p:`${y}px`,m=`${-d}px`):h==="top"?(k=c?p:`${y}px`,m=`${n.floating.height+d}px`):h==="right"?(k=`${-d}px`,m=c?p:`${f}px`):h==="left"&&(k=`${n.floating.width+d}px`,m=c?p:`${f}px`),{data:{x:k,y:m}}}});function _P(t){const[e,r="center"]=t.split("-");return[e,r]}var RP=SP,mS=IP,TP=NP,qP=PP;function rV(t,e){return g.useReducer((r,n)=>e[r][n]??r,t)}var fS=t=>{const{present:e,children:r}=t,n=nV(e),o=typeof r=="function"?r({present:n.isPresent}):g.Children.only(r),i=iS(n.ref,oV(o));return typeof r=="function"||n.isPresent?g.cloneElement(o,{ref:i}):null};fS.displayName="Presence";function nV(t){const[e,r]=g.useState(),n=g.useRef(null),o=g.useRef(t),i=g.useRef("none"),c=t?"mounted":"unmounted",[l,d]=rV(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const h=u1(n.current);i.current=l==="mounted"?h:"none"},[l]),x9(()=>{const h=n.current,u=o.current;if(u!==t){const y=i.current,f=u1(h);t?d("MOUNT"):f==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&y!==f?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,d]),x9(()=>{if(e){let h;const u=e.ownerDocument.defaultView??window,p=f=>{const m=u1(n.current).includes(CSS.escape(f.animationName));if(f.target===e&&m&&(d("ANIMATION_END"),!o.current)){const x=e.style.animationFillMode;e.style.animationFillMode="forwards",h=u.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=x)})}},y=f=>{f.target===e&&(i.current=u1(n.current))};return e.addEventListener("animationstart",y),e.addEventListener("animationcancel",p),e.addEventListener("animationend",p),()=>{u.clearTimeout(h),e.removeEventListener("animationstart",y),e.removeEventListener("animationcancel",p),e.removeEventListener("animationend",p)}}else d("ANIMATION_END")},[e,d]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:g.useCallback(h=>{n.current=h?getComputedStyle(h):null,r(h)},[])}}function u1(t){return(t==null?void 0:t.animationName)||"none"}function oV(t){var n,o;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(o=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:o.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var iV=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],DP=iV.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),sV=g[" useInsertionEffect ".trim().toString()]||x9;function cV({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[o,i,c]=lV({defaultProp:e,onChange:r}),l=t!==void 0,d=l?t:o;{const u=g.useRef(t!==void 0);g.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${n} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=l},[l,n])}const h=g.useCallback(u=>{var p;if(l){const y=dV(u)?u(t):u;y!==t&&((p=c.current)==null||p.call(c,y))}else i(u)},[l,t,i,c]);return[d,h]}function lV({defaultProp:t,onChange:e}){const[r,n]=g.useState(t),o=g.useRef(r),i=g.useRef(e);return sV(()=>{i.current=e},[e]),g.useEffect(()=>{var c;o.current!==r&&((c=i.current)==null||c.call(i,r),o.current=r)},[r,o]),[r,n,i]}function dV(t){return typeof t=="function"}var J9="Popover",[zP,sU]=LO(J9,[X9]),Qc=X9(),[hV,sr]=zP(J9),FP=t=>{const{__scopePopover:e,children:r,open:n,defaultOpen:o,onOpenChange:i,modal:c=!1}=t,l=Qc(e),d=g.useRef(null),[h,u]=g.useState(!1),[p,y]=cV({prop:n,defaultProp:o??!1,onChange:i,caller:J9});return a.jsx(RP,{...l,children:a.jsx(hV,{scope:e,contentId:PO(),triggerRef:d,open:p,onOpenChange:y,onOpenToggle:g.useCallback(()=>y(f=>!f),[y]),hasCustomAnchor:h,onCustomAnchorAdd:g.useCallback(()=>u(!0),[]),onCustomAnchorRemove:g.useCallback(()=>u(!1),[]),modal:c,children:r})})};FP.displayName=J9;var EP="PopoverAnchor",uV=g.forwardRef((t,e)=>{const{__scopePopover:r,...n}=t,o=sr(EP,r),i=Qc(r),{onCustomAnchorAdd:c,onCustomAnchorRemove:l}=o;return g.useEffect(()=>(c(),()=>l()),[c,l]),a.jsx(mS,{...i,...n,ref:e})});uV.displayName=EP;var OP="PopoverTrigger",HP=g.forwardRef((t,e)=>{const{__scopePopover:r,...n}=t,o=sr(OP,r),i=Qc(r),c=iS(e,o.triggerRef),l=a.jsx(DP.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":GP(o.open),...n,ref:c,onClick:zc(t.onClick,o.onOpenToggle)});return o.hasCustomAnchor?l:a.jsx(mS,{asChild:!0,...i,children:l})});HP.displayName=OP;var xS="PopoverPortal",[pV,yV]=zP(xS,{forceMount:void 0}),VP=t=>{const{__scopePopover:e,forceMount:r,children:n,container:o}=t,i=sr(xS,e);return a.jsx(pV,{scope:e,forceMount:r,children:a.jsx(fS,{present:r||i.open,children:a.jsx(q9,{asChild:!0,container:o,children:n})})})};VP.displayName=xS;var $s="PopoverContent",BP=g.forwardRef((t,e)=>{const r=yV($s,t.__scopePopover),{forceMount:n=r.forceMount,...o}=t,i=sr($s,t.__scopePopover);return a.jsx(fS,{present:n||i.open,children:i.modal?a.jsx(fV,{...o,ref:e}):a.jsx(xV,{...o,ref:e})})});BP.displayName=$s;var mV=tt("PopoverContent.RemoveScroll"),fV=g.forwardRef((t,e)=>{const r=sr($s,t.__scopePopover),n=g.useRef(null),o=iS(e,n),i=g.useRef(!1);return g.useEffect(()=>{const c=n.current;if(c)return Bj(c)},[]),a.jsx(F9,{as:mV,allowPinchZoom:!0,children:a.jsx(UP,{...t,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:zc(t.onCloseAutoFocus,c=>{var l;c.preventDefault(),i.current||(l=r.triggerRef.current)==null||l.focus()}),onPointerDownOutside:zc(t.onPointerDownOutside,c=>{const l=c.detail.originalEvent,d=l.button===0&&l.ctrlKey===!0,h=l.button===2||d;i.current=h},{checkForDefaultPrevented:!1}),onFocusOutside:zc(t.onFocusOutside,c=>c.preventDefault(),{checkForDefaultPrevented:!1})})})}),xV=g.forwardRef((t,e)=>{const r=sr($s,t.__scopePopover),n=g.useRef(!1),o=g.useRef(!1);return a.jsx(UP,{...t,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var c,l;(c=t.onCloseAutoFocus)==null||c.call(t,i),i.defaultPrevented||(n.current||(l=r.triggerRef.current)==null||l.focus(),i.preventDefault()),n.current=!1,o.current=!1},onInteractOutside:i=>{var d,h;(d=t.onInteractOutside)==null||d.call(t,i),i.defaultPrevented||(n.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const c=i.target;((h=r.triggerRef.current)==null?void 0:h.contains(c))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}})}),UP=g.forwardRef((t,e)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:c,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:h,onInteractOutside:u,...p}=t,y=sr($s,r),f=Qc(r);return Vj(),a.jsx(T9,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:i,children:a.jsx(R9,{asChild:!0,disableOutsidePointerEvents:c,onInteractOutside:u,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:h,onDismiss:()=>y.onOpenChange(!1),children:a.jsx(TP,{"data-state":GP(y.open),role:"dialog",id:y.contentId,...f,...p,ref:e,style:{...p.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),$P="PopoverClose",kV=g.forwardRef((t,e)=>{const{__scopePopover:r,...n}=t,o=sr($P,r);return a.jsx(DP.button,{type:"button",...n,ref:e,onClick:zc(t.onClick,()=>o.onOpenChange(!1))})});kV.displayName=$P;var gV="PopoverArrow",vV=g.forwardRef((t,e)=>{const{__scopePopover:r,...n}=t,o=Qc(r);return a.jsx(qP,{...o,...n,ref:e})});vV.displayName=gV;function GP(t){return t?"open":"closed"}var wV=FP,MV=HP,bV=VP,WP=BP;const CV=wV,jV=MV,ZP=g.forwardRef(({className:t,align:e="center",sideOffset:r=4,...n},o)=>a.jsx(bV,{children:a.jsx(WP,{ref:o,align:e,sideOffset:r,className:le("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-popover-content-transform-origin]",t),...n})}));ZP.displayName=WP.displayName;const XP=g.forwardRef(({className:t,...e},r)=>a.jsx("textarea",{className:le("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:r,...e}));XP.displayName="Textarea";function TL(t,[e,r]){return Math.min(r,Math.max(e,t))}function ot(t,e,{checkForDefaultPrevented:r=!0}={}){return function(o){if(t==null||t(o),r===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}function JP(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,SV(o,...e)]}function SV(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function qL(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function LV(...t){return e=>{let r=!1;const n=t.map(o=>{const i=qL(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():qL(t[o],null)}}}}function Gt(...t){return g.useCallback(LV(...t),t)}function IV(t){const e=t+"CollectionProvider",[r,n]=JP(e),[o,i]=r(e,{collectionRef:{current:null},itemMap:new Map}),c=m=>{const{scope:x,children:v}=m,w=j.useRef(null),C=j.useRef(new Map).current;return a.jsx(o,{scope:x,itemMap:C,collectionRef:w,children:v})};c.displayName=e;const l=t+"CollectionSlot",d=tt(l),h=j.forwardRef((m,x)=>{const{scope:v,children:w}=m,C=i(l,v),M=Gt(x,C.collectionRef);return a.jsx(d,{ref:M,children:w})});h.displayName=l;const u=t+"CollectionItemSlot",p="data-radix-collection-item",y=tt(u),f=j.forwardRef((m,x)=>{const{scope:v,children:w,...C}=m,M=j.useRef(null),b=Gt(x,M),N=i(u,v);return j.useEffect(()=>(N.itemMap.set(M,{ref:M,...C}),()=>void N.itemMap.delete(M))),a.jsx(y,{[p]:"",ref:b,children:w})});f.displayName=u;function k(m){const x=i(t+"CollectionConsumer",m);return j.useCallback(()=>{const w=x.collectionRef.current;if(!w)return[];const C=Array.from(w.querySelectorAll(`[${p}]`));return Array.from(x.itemMap.values()).sort((N,L)=>C.indexOf(N.ref.current)-C.indexOf(L.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:c,Slot:h,ItemSlot:f},k,n]}var NV=g.createContext(void 0);function AV(t){const e=g.useContext(NV);return t||e||"ltr"}var ga=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},PV=g[" useId ".trim().toString()]||(()=>{}),_V=0;function kS(t){const[e,r]=g.useState(PV());return ga(()=>{r(n=>n??String(_V++))},[t]),e?`radix-${e}`:""}var RV=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Rt=RV.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{});function TV(t){const e=g.useRef(t);return g.useEffect(()=>{e.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}var qV=g[" useInsertionEffect ".trim().toString()]||ga;function DL({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[o,i,c]=DV({defaultProp:e,onChange:r}),l=t!==void 0,d=l?t:o;{const u=g.useRef(t!==void 0);g.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${n} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=l},[l,n])}const h=g.useCallback(u=>{var p;if(l){const y=zV(u)?u(t):u;y!==t&&((p=c.current)==null||p.call(c,y))}else i(u)},[l,t,i,c]);return[d,h]}function DV({defaultProp:t,onChange:e}){const[r,n]=g.useState(t),o=g.useRef(r),i=g.useRef(e);return qV(()=>{i.current=e},[e]),g.useEffect(()=>{var c;o.current!==r&&((c=i.current)==null||c.call(i,r),o.current=r)},[r,o]),[r,n,i]}function zV(t){return typeof t=="function"}var FV=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],EV=FV.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),YP=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),OV="VisuallyHidden",HV=g.forwardRef((t,e)=>a.jsx(EV.span,{...t,ref:e,style:{...YP,...t.style}}));HV.displayName=OV;var VV=[" ","Enter","ArrowUp","ArrowDown"],BV=[" ","Enter"],Yi="Select",[Y9,K9,UV]=IV(Yi),[ec,cU]=JP(Yi,[UV,X9]),Q9=X9(),[$V,cr]=ec(Yi),[GV,WV]=ec(Yi),KP=t=>{const{__scopeSelect:e,children:r,open:n,defaultOpen:o,onOpenChange:i,value:c,defaultValue:l,onValueChange:d,dir:h,name:u,autoComplete:p,disabled:y,required:f,form:k}=t,m=Q9(e),[x,v]=g.useState(null),[w,C]=g.useState(null),[M,b]=g.useState(!1),N=AV(h),[L,A]=DL({prop:n,defaultProp:o??!1,onChange:i,caller:Yi}),[I,q]=DL({prop:c,defaultProp:l,onChange:d,caller:Yi}),P=g.useRef(null),_=x?k||!!x.closest("form"):!0,[R,U]=g.useState(new Set),W=Array.from(R).map(V=>V.props.value).join(";");return a.jsx(RP,{...m,children:a.jsxs($V,{required:f,scope:e,trigger:x,onTriggerChange:v,valueNode:w,onValueNodeChange:C,valueNodeHasChildren:M,onValueNodeHasChildrenChange:b,contentId:kS(),value:I,onValueChange:q,open:L,onOpenChange:A,dir:N,triggerPointerDownPosRef:P,disabled:y,children:[a.jsx(Y9.Provider,{scope:e,children:a.jsx(GV,{scope:t.__scopeSelect,onNativeOptionAdd:g.useCallback(V=>{U(O=>new Set(O).add(V))},[]),onNativeOptionRemove:g.useCallback(V=>{U(O=>{const E=new Set(O);return E.delete(V),E})},[]),children:r})}),_?a.jsxs(M_,{"aria-hidden":!0,required:f,tabIndex:-1,name:u,autoComplete:p,value:I,onChange:V=>q(V.target.value),disabled:y,form:k,children:[I===void 0?a.jsx("option",{value:""}):null,Array.from(R)]},W):null]})})};KP.displayName=Yi;var QP="SelectTrigger",e_=g.forwardRef((t,e)=>{const{__scopeSelect:r,disabled:n=!1,...o}=t,i=Q9(r),c=cr(QP,r),l=c.disabled||n,d=Gt(e,c.onTriggerChange),h=K9(r),u=g.useRef("touch"),[p,y,f]=C_(m=>{const x=h().filter(C=>!C.disabled),v=x.find(C=>C.value===c.value),w=j_(x,m,v);w!==void 0&&c.onValueChange(w.value)}),k=m=>{l||(c.onOpenChange(!0),f()),m&&(c.triggerPointerDownPosRef.current={x:Math.round(m.pageX),y:Math.round(m.pageY)})};return a.jsx(mS,{asChild:!0,...i,children:a.jsx(Rt.button,{type:"button",role:"combobox","aria-controls":c.contentId,"aria-expanded":c.open,"aria-required":c.required,"aria-autocomplete":"none",dir:c.dir,"data-state":c.open?"open":"closed",disabled:l,"data-disabled":l?"":void 0,"data-placeholder":b_(c.value)?"":void 0,...o,ref:d,onClick:ot(o.onClick,m=>{m.currentTarget.focus(),u.current!=="mouse"&&k(m)}),onPointerDown:ot(o.onPointerDown,m=>{u.current=m.pointerType;const x=m.target;x.hasPointerCapture(m.pointerId)&&x.releasePointerCapture(m.pointerId),m.button===0&&m.ctrlKey===!1&&m.pointerType==="mouse"&&(k(m),m.preventDefault())}),onKeyDown:ot(o.onKeyDown,m=>{const x=p.current!=="";!(m.ctrlKey||m.altKey||m.metaKey)&&m.key.length===1&&y(m.key),!(x&&m.key===" ")&&VV.includes(m.key)&&(k(),m.preventDefault())})})})});e_.displayName=QP;var t_="SelectValue",a_=g.forwardRef((t,e)=>{const{__scopeSelect:r,className:n,style:o,children:i,placeholder:c="",...l}=t,d=cr(t_,r),{onValueNodeHasChildrenChange:h}=d,u=i!==void 0,p=Gt(e,d.onValueNodeChange);return ga(()=>{h(u)},[h,u]),a.jsx(Rt.span,{...l,ref:p,style:{pointerEvents:"none"},children:b_(d.value)?a.jsx(a.Fragment,{children:c}):i})});a_.displayName=t_;var ZV="SelectIcon",r_=g.forwardRef((t,e)=>{const{__scopeSelect:r,children:n,...o}=t;return a.jsx(Rt.span,{"aria-hidden":!0,...o,ref:e,children:n||"▼"})});r_.displayName=ZV;var XV="SelectPortal",n_=t=>a.jsx(q9,{asChild:!0,...t});n_.displayName=XV;var Ki="SelectContent",o_=g.forwardRef((t,e)=>{const r=cr(Ki,t.__scopeSelect),[n,o]=g.useState();if(ga(()=>{o(new DocumentFragment)},[]),!r.open){const i=n;return i?C9.createPortal(a.jsx(i_,{scope:t.__scopeSelect,children:a.jsx(Y9.Slot,{scope:t.__scopeSelect,children:a.jsx("div",{children:t.children})})}),i):null}return a.jsx(s_,{...t,ref:e})});o_.displayName=Ki;var Xt=10,[i_,lr]=ec(Ki),JV="SelectContentImpl",YV=tt("SelectContent.RemoveScroll"),s_=g.forwardRef((t,e)=>{const{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:i,onPointerDownOutside:c,side:l,sideOffset:d,align:h,alignOffset:u,arrowPadding:p,collisionBoundary:y,collisionPadding:f,sticky:k,hideWhenDetached:m,avoidCollisions:x,...v}=t,w=cr(Ki,r),[C,M]=g.useState(null),[b,N]=g.useState(null),L=Gt(e,B=>M(B)),[A,I]=g.useState(null),[q,P]=g.useState(null),_=K9(r),[R,U]=g.useState(!1),W=g.useRef(!1);g.useEffect(()=>{if(C)return Bj(C)},[C]),Vj();const V=g.useCallback(B=>{const[X,...J]=_().map(se=>se.ref.current),[ne]=J.slice(-1),pe=document.activeElement;for(const se of B)if(se===pe||(se==null||se.scrollIntoView({block:"nearest"}),se===X&&b&&(b.scrollTop=0),se===ne&&b&&(b.scrollTop=b.scrollHeight),se==null||se.focus(),document.activeElement!==pe))return},[_,b]),O=g.useCallback(()=>V([A,C]),[V,A,C]);g.useEffect(()=>{R&&O()},[R,O]);const{onOpenChange:E,triggerPointerDownPosRef:Q}=w;g.useEffect(()=>{if(C){let B={x:0,y:0};const X=ne=>{var pe,se;B={x:Math.abs(Math.round(ne.pageX)-(((pe=Q.current)==null?void 0:pe.x)??0)),y:Math.abs(Math.round(ne.pageY)-(((se=Q.current)==null?void 0:se.y)??0))}},J=ne=>{B.x<=10&&B.y<=10?ne.preventDefault():C.contains(ne.target)||E(!1),document.removeEventListener("pointermove",X),Q.current=null};return Q.current!==null&&(document.addEventListener("pointermove",X),document.addEventListener("pointerup",J,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",X),document.removeEventListener("pointerup",J,{capture:!0})}}},[C,E,Q]),g.useEffect(()=>{const B=()=>E(!1);return window.addEventListener("blur",B),window.addEventListener("resize",B),()=>{window.removeEventListener("blur",B),window.removeEventListener("resize",B)}},[E]);const[de,ee]=C_(B=>{const X=_().filter(pe=>!pe.disabled),J=X.find(pe=>pe.ref.current===document.activeElement),ne=j_(X,B,J);ne&&setTimeout(()=>ne.ref.current.focus())}),te=g.useCallback((B,X,J)=>{const ne=!W.current&&!J;(w.value!==void 0&&w.value===X||ne)&&(I(B),ne&&(W.current=!0))},[w.value]),Me=g.useCallback(()=>C==null?void 0:C.focus(),[C]),ge=g.useCallback((B,X,J)=>{const ne=!W.current&&!J;(w.value!==void 0&&w.value===X||ne)&&P(B)},[w.value]),ae=n==="popper"?aj:c_,he=ae===aj?{side:l,sideOffset:d,align:h,alignOffset:u,arrowPadding:p,collisionBoundary:y,collisionPadding:f,sticky:k,hideWhenDetached:m,avoidCollisions:x}:{};return a.jsx(i_,{scope:r,content:C,viewport:b,onViewportChange:N,itemRefCallback:te,selectedItem:A,onItemLeave:Me,itemTextRefCallback:ge,focusSelectedItem:O,selectedItemText:q,position:n,isPositioned:R,searchRef:de,children:a.jsx(F9,{as:YV,allowPinchZoom:!0,children:a.jsx(T9,{asChild:!0,trapped:w.open,onMountAutoFocus:B=>{B.preventDefault()},onUnmountAutoFocus:ot(o,B=>{var X;(X=w.trigger)==null||X.focus({preventScroll:!0}),B.preventDefault()}),children:a.jsx(R9,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:c,onFocusOutside:B=>B.preventDefault(),onDismiss:()=>w.onOpenChange(!1),children:a.jsx(ae,{role:"listbox",id:w.contentId,"data-state":w.open?"open":"closed",dir:w.dir,onContextMenu:B=>B.preventDefault(),...v,...he,onPlaced:()=>U(!0),ref:L,style:{display:"flex",flexDirection:"column",outline:"none",...v.style},onKeyDown:ot(v.onKeyDown,B=>{const X=B.ctrlKey||B.altKey||B.metaKey;if(B.key==="Tab"&&B.preventDefault(),!X&&B.key.length===1&&ee(B.key),["ArrowUp","ArrowDown","Home","End"].includes(B.key)){let ne=_().filter(pe=>!pe.disabled).map(pe=>pe.ref.current);if(["ArrowUp","End"].includes(B.key)&&(ne=ne.slice().reverse()),["ArrowUp","ArrowDown"].includes(B.key)){const pe=B.target,se=ne.indexOf(pe);ne=ne.slice(se+1)}setTimeout(()=>V(ne)),B.preventDefault()}})})})})})})});s_.displayName=JV;var KV="SelectItemAlignedPosition",c_=g.forwardRef((t,e)=>{const{__scopeSelect:r,onPlaced:n,...o}=t,i=cr(Ki,r),c=lr(Ki,r),[l,d]=g.useState(null),[h,u]=g.useState(null),p=Gt(e,L=>u(L)),y=K9(r),f=g.useRef(!1),k=g.useRef(!0),{viewport:m,selectedItem:x,selectedItemText:v,focusSelectedItem:w}=c,C=g.useCallback(()=>{if(i.trigger&&i.valueNode&&l&&h&&m&&x&&v){const L=i.trigger.getBoundingClientRect(),A=h.getBoundingClientRect(),I=i.valueNode.getBoundingClientRect(),q=v.getBoundingClientRect();if(i.dir!=="rtl"){const pe=q.left-A.left,se=I.left-pe,Te=L.left-se,Se=L.width+Te,We=Math.max(Se,A.width),rt=window.innerWidth-Xt,st=TL(se,[Xt,Math.max(Xt,rt-We)]);l.style.minWidth=Se+"px",l.style.left=st+"px"}else{const pe=A.right-q.right,se=window.innerWidth-I.right-pe,Te=window.innerWidth-L.right-se,Se=L.width+Te,We=Math.max(Se,A.width),rt=window.innerWidth-Xt,st=TL(se,[Xt,Math.max(Xt,rt-We)]);l.style.minWidth=Se+"px",l.style.right=st+"px"}const P=y(),_=window.innerHeight-Xt*2,R=m.scrollHeight,U=window.getComputedStyle(h),W=parseInt(U.borderTopWidth,10),V=parseInt(U.paddingTop,10),O=parseInt(U.borderBottomWidth,10),E=parseInt(U.paddingBottom,10),Q=W+V+R+E+O,de=Math.min(x.offsetHeight*5,Q),ee=window.getComputedStyle(m),te=parseInt(ee.paddingTop,10),Me=parseInt(ee.paddingBottom,10),ge=L.top+L.height/2-Xt,ae=_-ge,he=x.offsetHeight/2,B=x.offsetTop+he,X=W+V+B,J=Q-X;if(X<=ge){const pe=P.length>0&&x===P[P.length-1].ref.current;l.style.bottom="0px";const se=h.clientHeight-m.offsetTop-m.offsetHeight,Te=Math.max(ae,he+(pe?Me:0)+se+O),Se=X+Te;l.style.height=Se+"px"}else{const pe=P.length>0&&x===P[0].ref.current;l.style.top="0px";const Te=Math.max(ge,W+m.offsetTop+(pe?te:0)+he)+J;l.style.height=Te+"px",m.scrollTop=X-ge+m.offsetTop}l.style.margin=`${Xt}px 0`,l.style.minHeight=de+"px",l.style.maxHeight=_+"px",n==null||n(),requestAnimationFrame(()=>f.current=!0)}},[y,i.trigger,i.valueNode,l,h,m,x,v,i.dir,n]);ga(()=>C(),[C]);const[M,b]=g.useState();ga(()=>{h&&b(window.getComputedStyle(h).zIndex)},[h]);const N=g.useCallback(L=>{L&&k.current===!0&&(C(),w==null||w(),k.current=!1)},[C,w]);return a.jsx(eB,{scope:r,contentWrapper:l,shouldExpandOnScrollRef:f,onScrollButtonChange:N,children:a.jsx("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:M},children:a.jsx(Rt.div,{...o,ref:p,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});c_.displayName=KV;var QV="SelectPopperPosition",aj=g.forwardRef((t,e)=>{const{__scopeSelect:r,align:n="start",collisionPadding:o=Xt,...i}=t,c=Q9(r);return a.jsx(TP,{...c,...i,ref:e,align:n,collisionPadding:o,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});aj.displayName=QV;var[eB,gS]=ec(Ki,{}),rj="SelectViewport",l_=g.forwardRef((t,e)=>{const{__scopeSelect:r,nonce:n,...o}=t,i=lr(rj,r),c=gS(rj,r),l=Gt(e,i.onViewportChange),d=g.useRef(0);return a.jsxs(a.Fragment,{children:[a.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:n}),a.jsx(Y9.Slot,{scope:r,children:a.jsx(Rt.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:l,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:ot(o.onScroll,h=>{const u=h.currentTarget,{contentWrapper:p,shouldExpandOnScrollRef:y}=c;if(y!=null&&y.current&&p){const f=Math.abs(d.current-u.scrollTop);if(f>0){const k=window.innerHeight-Xt*2,m=parseFloat(p.style.minHeight),x=parseFloat(p.style.height),v=Math.max(m,x);if(v<k){const w=v+f,C=Math.min(k,w),M=w-C;p.style.height=C+"px",p.style.bottom==="0px"&&(u.scrollTop=M>0?M:0,p.style.justifyContent="flex-end")}}}d.current=u.scrollTop})})})]})});l_.displayName=rj;var d_="SelectGroup",[tB,aB]=ec(d_),rB=g.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t,o=kS();return a.jsx(tB,{scope:r,id:o,children:a.jsx(Rt.div,{role:"group","aria-labelledby":o,...n,ref:e})})});rB.displayName=d_;var h_="SelectLabel",u_=g.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t,o=aB(h_,r);return a.jsx(Rt.div,{id:o.id,...n,ref:e})});u_.displayName=h_;var M9="SelectItem",[nB,p_]=ec(M9),y_=g.forwardRef((t,e)=>{const{__scopeSelect:r,value:n,disabled:o=!1,textValue:i,...c}=t,l=cr(M9,r),d=lr(M9,r),h=l.value===n,[u,p]=g.useState(i??""),[y,f]=g.useState(!1),k=Gt(e,w=>{var C;return(C=d.itemRefCallback)==null?void 0:C.call(d,w,n,o)}),m=kS(),x=g.useRef("touch"),v=()=>{o||(l.onValueChange(n),l.onOpenChange(!1))};if(n==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return a.jsx(nB,{scope:r,value:n,disabled:o,textId:m,isSelected:h,onItemTextChange:g.useCallback(w=>{p(C=>C||((w==null?void 0:w.textContent)??"").trim())},[]),children:a.jsx(Y9.ItemSlot,{scope:r,value:n,disabled:o,textValue:u,children:a.jsx(Rt.div,{role:"option","aria-labelledby":m,"data-highlighted":y?"":void 0,"aria-selected":h&&y,"data-state":h?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...c,ref:k,onFocus:ot(c.onFocus,()=>f(!0)),onBlur:ot(c.onBlur,()=>f(!1)),onClick:ot(c.onClick,()=>{x.current!=="mouse"&&v()}),onPointerUp:ot(c.onPointerUp,()=>{x.current==="mouse"&&v()}),onPointerDown:ot(c.onPointerDown,w=>{x.current=w.pointerType}),onPointerMove:ot(c.onPointerMove,w=>{var C;x.current=w.pointerType,o?(C=d.onItemLeave)==null||C.call(d):x.current==="mouse"&&w.currentTarget.focus({preventScroll:!0})}),onPointerLeave:ot(c.onPointerLeave,w=>{var C;w.currentTarget===document.activeElement&&((C=d.onItemLeave)==null||C.call(d))}),onKeyDown:ot(c.onKeyDown,w=>{var M;((M=d.searchRef)==null?void 0:M.current)!==""&&w.key===" "||(BV.includes(w.key)&&v(),w.key===" "&&w.preventDefault())})})})})});y_.displayName=M9;var lc="SelectItemText",m_=g.forwardRef((t,e)=>{const{__scopeSelect:r,className:n,style:o,...i}=t,c=cr(lc,r),l=lr(lc,r),d=p_(lc,r),h=WV(lc,r),[u,p]=g.useState(null),y=Gt(e,v=>p(v),d.onItemTextChange,v=>{var w;return(w=l.itemTextRefCallback)==null?void 0:w.call(l,v,d.value,d.disabled)}),f=u==null?void 0:u.textContent,k=g.useMemo(()=>a.jsx("option",{value:d.value,disabled:d.disabled,children:f},d.value),[d.disabled,d.value,f]),{onNativeOptionAdd:m,onNativeOptionRemove:x}=h;return ga(()=>(m(k),()=>x(k)),[m,x,k]),a.jsxs(a.Fragment,{children:[a.jsx(Rt.span,{id:d.textId,...i,ref:y}),d.isSelected&&c.valueNode&&!c.valueNodeHasChildren?C9.createPortal(i.children,c.valueNode):null]})});m_.displayName=lc;var f_="SelectItemIndicator",x_=g.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t;return p_(f_,r).isSelected?a.jsx(Rt.span,{"aria-hidden":!0,...n,ref:e}):null});x_.displayName=f_;var nj="SelectScrollUpButton",k_=g.forwardRef((t,e)=>{const r=lr(nj,t.__scopeSelect),n=gS(nj,t.__scopeSelect),[o,i]=g.useState(!1),c=Gt(e,n.onScrollButtonChange);return ga(()=>{if(r.viewport&&r.isPositioned){let l=function(){const h=d.scrollTop>0;i(h)};const d=r.viewport;return l(),d.addEventListener("scroll",l),()=>d.removeEventListener("scroll",l)}},[r.viewport,r.isPositioned]),o?a.jsx(v_,{...t,ref:c,onAutoScroll:()=>{const{viewport:l,selectedItem:d}=r;l&&d&&(l.scrollTop=l.scrollTop-d.offsetHeight)}}):null});k_.displayName=nj;var oj="SelectScrollDownButton",g_=g.forwardRef((t,e)=>{const r=lr(oj,t.__scopeSelect),n=gS(oj,t.__scopeSelect),[o,i]=g.useState(!1),c=Gt(e,n.onScrollButtonChange);return ga(()=>{if(r.viewport&&r.isPositioned){let l=function(){const h=d.scrollHeight-d.clientHeight,u=Math.ceil(d.scrollTop)<h;i(u)};const d=r.viewport;return l(),d.addEventListener("scroll",l),()=>d.removeEventListener("scroll",l)}},[r.viewport,r.isPositioned]),o?a.jsx(v_,{...t,ref:c,onAutoScroll:()=>{const{viewport:l,selectedItem:d}=r;l&&d&&(l.scrollTop=l.scrollTop+d.offsetHeight)}}):null});g_.displayName=oj;var v_=g.forwardRef((t,e)=>{const{__scopeSelect:r,onAutoScroll:n,...o}=t,i=lr("SelectScrollButton",r),c=g.useRef(null),l=K9(r),d=g.useCallback(()=>{c.current!==null&&(window.clearInterval(c.current),c.current=null)},[]);return g.useEffect(()=>()=>d(),[d]),ga(()=>{var u;const h=l().find(p=>p.ref.current===document.activeElement);(u=h==null?void 0:h.ref.current)==null||u.scrollIntoView({block:"nearest"})},[l]),a.jsx(Rt.div,{"aria-hidden":!0,...o,ref:e,style:{flexShrink:0,...o.style},onPointerDown:ot(o.onPointerDown,()=>{c.current===null&&(c.current=window.setInterval(n,50))}),onPointerMove:ot(o.onPointerMove,()=>{var h;(h=i.onItemLeave)==null||h.call(i),c.current===null&&(c.current=window.setInterval(n,50))}),onPointerLeave:ot(o.onPointerLeave,()=>{d()})})}),oB="SelectSeparator",w_=g.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t;return a.jsx(Rt.div,{"aria-hidden":!0,...n,ref:e})});w_.displayName=oB;var ij="SelectArrow",iB=g.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t,o=Q9(r),i=cr(ij,r),c=lr(ij,r);return i.open&&c.position==="popper"?a.jsx(qP,{...o,...n,ref:e}):null});iB.displayName=ij;var sB="SelectBubbleInput",M_=g.forwardRef(({__scopeSelect:t,value:e,...r},n)=>{const o=g.useRef(null),i=Gt(n,o),c=eS(e);return g.useEffect(()=>{const l=o.current;if(!l)return;const d=window.HTMLSelectElement.prototype,u=Object.getOwnPropertyDescriptor(d,"value").set;if(c!==e&&u){const p=new Event("change",{bubbles:!0});u.call(l,e),l.dispatchEvent(p)}},[c,e]),a.jsx(Rt.select,{...r,style:{...YP,...r.style},ref:i,defaultValue:e})});M_.displayName=sB;function b_(t){return t===""||t===void 0}function C_(t){const e=TV(t),r=g.useRef(""),n=g.useRef(0),o=g.useCallback(c=>{const l=r.current+c;e(l),function d(h){r.current=h,window.clearTimeout(n.current),h!==""&&(n.current=window.setTimeout(()=>d(""),1e3))}(l)},[e]),i=g.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return g.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,o,i]}function j_(t,e,r){const o=e.length>1&&Array.from(e).every(h=>h===e[0])?e[0]:e,i=r?t.indexOf(r):-1;let c=cB(t,Math.max(i,0));o.length===1&&(c=c.filter(h=>h!==r));const d=c.find(h=>h.textValue.toLowerCase().startsWith(o.toLowerCase()));return d!==r?d:void 0}function cB(t,e){return t.map((r,n)=>t[(e+n)%t.length])}var lB=KP,S_=e_,dB=a_,hB=r_,uB=n_,L_=o_,pB=l_,I_=u_,N_=y_,yB=m_,mB=x_,A_=k_,P_=g_,__=w_;const Zc=lB,Xc=dB,Gs=g.forwardRef(({className:t,children:e,...r},n)=>a.jsxs(S_,{ref:n,className:le("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),...r,children:[e,a.jsx(hB,{asChild:!0,children:a.jsx(FA,{className:"h-4 w-4 opacity-50"})})]}));Gs.displayName=S_.displayName;const R_=g.forwardRef(({className:t,...e},r)=>a.jsx(A_,{ref:r,className:le("flex cursor-default items-center justify-center py-1",t),...e,children:a.jsx(XF,{className:"h-4 w-4"})}));R_.displayName=A_.displayName;const T_=g.forwardRef(({className:t,...e},r)=>a.jsx(P_,{ref:r,className:le("flex cursor-default items-center justify-center py-1",t),...e,children:a.jsx(FA,{className:"h-4 w-4"})}));T_.displayName=P_.displayName;const Ws=g.forwardRef(({className:t,children:e,position:r="popper",...n},o)=>a.jsx(uB,{children:a.jsxs(L_,{ref:o,className:le("relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-select-content-transform-origin]",r==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:r,...n,children:[a.jsx(R_,{}),a.jsx(pB,{className:le("p-1",r==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),a.jsx(T_,{})]})}));Ws.displayName=L_.displayName;const fB=g.forwardRef(({className:t,...e},r)=>a.jsx(I_,{ref:r,className:le("px-2 py-1.5 text-sm font-semibold",t),...e}));fB.displayName=I_.displayName;const Zs=g.forwardRef(({className:t,children:e,...r},n)=>a.jsxs(N_,{ref:n,className:le("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...r,children:[a.jsx("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:a.jsx(mB,{children:a.jsx(GF,{className:"h-4 w-4"})})}),a.jsx(yB,{children:e})]}));Zs.displayName=N_.displayName;const xB=g.forwardRef(({className:t,...e},r)=>a.jsx(__,{ref:r,className:le("-mx-1 my-1 h-px bg-muted",t),...e}));xB.displayName=__.displayName;function kB({open:t,onClose:e,onAdded:r,existingExperience:n,onUpdated:o}){const i=new Date().getFullYear(),c=Array.from({length:40},(f,k)=>`${i-k}`),[l,d]=j.useState({title:"",company:"",startYear:"",endYear:"",isPresent:!1,tags:""});j.useEffect(()=>{if(n){const[f,k]=n.period.split(" - ");d({title:n.title,company:n.company,startYear:f||"",endYear:k==="Present"?"":k||"",isPresent:k==="Present",tags:n.tags.join(", ")})}else d({title:"",company:"",startYear:"",endYear:"",isPresent:!1,tags:""})},[n,t]);const[h,u]=j.useState(!1),p=(f,k)=>d(m=>({...m,[f]:k})),y=()=>{const f=l.isPresent?`${l.startYear} - Present`:`${l.startYear} - ${l.endYear}`,k={id:(n==null?void 0:n.id)||`temp-${Date.now()}`,title:l.title,company:l.company,period:f,tags:l.tags.split(",").map(m=>m.trim()).filter(Boolean)};n?o==null||o(k):r(k),d({title:"",company:"",startYear:"",endYear:"",isPresent:!1,tags:""}),e()};return a.jsx(Js,{open:t,onOpenChange:e,children:a.jsxs(as,{children:[a.jsx(ns,{children:n?"Edit Work Experience":"Add Work Experience"}),a.jsxs("div",{className:"space-y-4 py-2",children:[a.jsxs("div",{children:[a.jsx(ye,{children:"Title"}),a.jsx(Ke,{value:l.title,onChange:f=>p("title",f.target.value)})]}),a.jsxs("div",{children:[a.jsx(ye,{children:"Company"}),a.jsx(Ke,{value:l.company,onChange:f=>p("company",f.target.value)})]}),a.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[a.jsxs("div",{children:[a.jsx(ye,{children:"Start Year"}),a.jsxs(Zc,{onValueChange:f=>p("startYear",f),value:l.startYear,children:[a.jsx(Gs,{children:a.jsx(Xc,{placeholder:"Select year"})}),a.jsx(Ws,{children:c.map(f=>a.jsx(Zs,{value:f,children:f},f))})]})]}),!l.isPresent&&a.jsxs("div",{children:[a.jsx(ye,{children:"End Year"}),a.jsxs(Zc,{onValueChange:f=>p("endYear",f),value:l.endYear,children:[a.jsx(Gs,{children:a.jsx(Xc,{placeholder:"Select year"})}),a.jsx(Ws,{children:c.map(f=>a.jsx(Zs,{value:f,children:f},f))})]})]})]}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx("input",{id:"present",type:"checkbox",checked:l.isPresent,onChange:f=>p("isPresent",f.target.checked),className:"w-4 h-4 accent-primary"}),a.jsx(ye,{htmlFor:"present",children:"I currently work here"})]}),a.jsxs("div",{children:[a.jsx(ye,{children:"Tags (comma-separated)"}),a.jsx(XP,{placeholder:"e.g., Product Strategy, iGaming, Agile",value:l.tags,onChange:f=>p("tags",f.target.value)})]})]}),a.jsxs(rs,{children:[a.jsx($,{variant:"outline",onClick:e,children:"Cancel"}),a.jsx($,{onClick:y,disabled:h||!l.title||!l.company||!l.startYear||!l.isPresent&&!l.endYear,children:h?"Saving...":n?"Save Changes":"Add Experience"})]})]})})}function gB(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,vB(o,...e)]}function vB(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function zL(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function wB(...t){return e=>{let r=!1;const n=t.map(o=>{const i=zL(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():zL(t[o],null)}}}}function q_(...t){return g.useCallback(wB(...t),t)}function MB(t,e,{checkForDefaultPrevented:r=!0}={}){return function(o){if(t==null||t(o),r===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}var D_="AlertDialog",[bB,lU]=gB(D_,[vA]),Fa=vA(),z_=t=>{const{__scopeAlertDialog:e,...r}=t,n=Fa(e);return a.jsx(DA,{...n,...r,modal:!0})};z_.displayName=D_;var CB="AlertDialogTrigger",jB=g.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,o=Fa(r);return a.jsx(UF,{...o,...n,ref:e})});jB.displayName=CB;var SB="AlertDialogPortal",F_=t=>{const{__scopeAlertDialog:e,...r}=t,n=Fa(e);return a.jsx(zA,{...n,...r})};F_.displayName=SB;var LB="AlertDialogOverlay",E_=g.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,o=Fa(r);return a.jsx(Wj,{...o,...n,ref:e})});E_.displayName=LB;var zs="AlertDialogContent",[IB,NB]=bB(zs),AB=bR("AlertDialogContent"),O_=g.forwardRef((t,e)=>{const{__scopeAlertDialog:r,children:n,...o}=t,i=Fa(r),c=g.useRef(null),l=q_(e,c),d=g.useRef(null);return a.jsx(OF,{contentName:zs,titleName:H_,docsSlug:"alert-dialog",children:a.jsx(IB,{scope:r,cancelRef:d,children:a.jsxs(Zj,{role:"alertdialog",...i,...o,ref:l,onOpenAutoFocus:MB(o.onOpenAutoFocus,h=>{var u;h.preventDefault(),(u=d.current)==null||u.focus({preventScroll:!0})}),onPointerDownOutside:h=>h.preventDefault(),onInteractOutside:h=>h.preventDefault(),children:[a.jsx(AB,{children:n}),a.jsx(_B,{contentRef:c})]})})})});O_.displayName=zs;var H_="AlertDialogTitle",V_=g.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,o=Fa(r);return a.jsx(Xj,{...o,...n,ref:e})});V_.displayName=H_;var B_="AlertDialogDescription",U_=g.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,o=Fa(r);return a.jsx(Jj,{...o,...n,ref:e})});U_.displayName=B_;var PB="AlertDialogAction",$_=g.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,o=Fa(r);return a.jsx(Yj,{...o,...n,ref:e})});$_.displayName=PB;var G_="AlertDialogCancel",W_=g.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,{cancelRef:o}=NB(G_,r),i=Fa(r),c=q_(e,o);return a.jsx(Yj,{...i,...n,ref:c})});W_.displayName=G_;var _B=({contentRef:t})=>{const e=`\`${zs}\` requires a description for the component to be accessible for screen reader users.
7813
+ `;function DE({allow:t="analytics",scriptId:e="ga",scriptStrategy:r="afterInteractive",scriptContent:n=qE}){return a.jsx(_D,{allow:t,children:a.jsx(TE,{id:e,strategy:r,children:n})})}function xL(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function zE(...t){return e=>{let r=!1;const n=t.map(o=>{const i=xL(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():xL(t[o],null)}}}}function Qj(...t){return g.useCallback(zE(...t),t)}function FE(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,EE(o,...e)]}function EE(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function kL(t,e,{checkForDefaultPrevented:r=!0}={}){return function(o){if(t==null||t(o),r===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}var KC=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},OE=g[" useInsertionEffect ".trim().toString()]||KC;function HE({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[o,i,c]=VE({defaultProp:e,onChange:r}),l=t!==void 0,d=l?t:o;{const u=g.useRef(t!==void 0);g.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${n} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=l},[l,n])}const h=g.useCallback(u=>{var p;if(l){const y=BE(u)?u(t):u;y!==t&&((p=c.current)==null||p.call(c,y))}else i(u)},[l,t,i,c]);return[d,h]}function VE({defaultProp:t,onChange:e}){const[r,n]=g.useState(t),o=g.useRef(r),i=g.useRef(e);return OE(()=>{i.current=e},[e]),g.useEffect(()=>{var c;o.current!==r&&((c=i.current)==null||c.call(i,r),o.current=r)},[r,o]),[r,n,i]}function BE(t){return typeof t=="function"}function eS(t){const e=g.useRef({value:t,previous:t});return g.useMemo(()=>(e.current.value!==t&&(e.current.previous=e.current.value,e.current.value=t),e.current.previous),[t])}var UE=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{};function tS(t){const[e,r]=g.useState(void 0);return UE(()=>{if(t){r({width:t.offsetWidth,height:t.offsetHeight});const n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let c,l;if("borderBoxSize"in i){const d=i.borderBoxSize,h=Array.isArray(d)?d[0]:d;c=h.inlineSize,l=h.blockSize}else c=t.offsetWidth,l=t.offsetHeight;r({width:c,height:l})});return n.observe(t,{box:"border-box"}),()=>n.unobserve(t)}else r(void 0)},[t]),e}function $E(t,e){return g.useReducer((r,n)=>e[r][n]??r,t)}var ZA=t=>{const{present:e,children:r}=t,n=GE(e),o=typeof r=="function"?r({present:n.isPresent}):g.Children.only(r),i=Qj(n.ref,WE(o));return typeof r=="function"||n.isPresent?g.cloneElement(o,{ref:i}):null};ZA.displayName="Presence";function GE(t){const[e,r]=g.useState(),n=g.useRef(null),o=g.useRef(t),i=g.useRef("none"),c=t?"mounted":"unmounted",[l,d]=$E(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const h=d1(n.current);i.current=l==="mounted"?h:"none"},[l]),KC(()=>{const h=n.current,u=o.current;if(u!==t){const y=i.current,f=d1(h);t?d("MOUNT"):f==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&y!==f?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,d]),KC(()=>{if(e){let h;const u=e.ownerDocument.defaultView??window,p=f=>{const m=d1(n.current).includes(CSS.escape(f.animationName));if(f.target===e&&m&&(d("ANIMATION_END"),!o.current)){const x=e.style.animationFillMode;e.style.animationFillMode="forwards",h=u.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=x)})}},y=f=>{f.target===e&&(i.current=d1(n.current))};return e.addEventListener("animationstart",y),e.addEventListener("animationcancel",p),e.addEventListener("animationend",p),()=>{u.clearTimeout(h),e.removeEventListener("animationstart",y),e.removeEventListener("animationcancel",p),e.removeEventListener("animationend",p)}}else d("ANIMATION_END")},[e,d]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:g.useCallback(h=>{n.current=h?getComputedStyle(h):null,r(h)},[])}}function d1(t){return(t==null?void 0:t.animationName)||"none"}function WE(t){var n,o;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(o=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:o.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var ZE=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],aS=ZE.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),H9="Checkbox",[XE,oU]=FE(H9),[JE,rS]=XE(H9);function YE(t){const{__scopeCheckbox:e,checked:r,children:n,defaultChecked:o,disabled:i,form:c,name:l,onCheckedChange:d,required:h,value:u="on",internal_do_not_use_render:p}=t,[y,f]=HE({prop:r,defaultProp:o??!1,onChange:d,caller:H9}),[k,m]=g.useState(null),[x,v]=g.useState(null),w=g.useRef(!1),C=k?!!c||!!k.closest("form"):!0,M={checked:y,disabled:i,setChecked:f,control:k,setControl:m,name:l,form:c,value:u,hasConsumerStoppedPropagationRef:w,required:h,defaultChecked:er(o)?!1:o,isFormControl:C,bubbleInput:x,setBubbleInput:v};return a.jsx(JE,{scope:e,...M,children:KE(p)?p(M):n})}var XA="CheckboxTrigger",JA=g.forwardRef(({__scopeCheckbox:t,onKeyDown:e,onClick:r,...n},o)=>{const{control:i,value:c,disabled:l,checked:d,required:h,setControl:u,setChecked:p,hasConsumerStoppedPropagationRef:y,isFormControl:f,bubbleInput:k}=rS(XA,t),m=Qj(o,u),x=g.useRef(d);return g.useEffect(()=>{const v=i==null?void 0:i.form;if(v){const w=()=>p(x.current);return v.addEventListener("reset",w),()=>v.removeEventListener("reset",w)}},[i,p]),a.jsx(aS.button,{type:"button",role:"checkbox","aria-checked":er(d)?"mixed":d,"aria-required":h,"data-state":tP(d),"data-disabled":l?"":void 0,disabled:l,value:c,...n,ref:m,onKeyDown:kL(e,v=>{v.key==="Enter"&&v.preventDefault()}),onClick:kL(r,v=>{p(w=>er(w)?!0:!w),k&&f&&(y.current=v.isPropagationStopped(),y.current||v.stopPropagation())})})});JA.displayName=XA;var nS=g.forwardRef((t,e)=>{const{__scopeCheckbox:r,name:n,checked:o,defaultChecked:i,required:c,disabled:l,value:d,onCheckedChange:h,form:u,...p}=t;return a.jsx(YE,{__scopeCheckbox:r,checked:o,defaultChecked:i,disabled:l,required:c,onCheckedChange:h,name:n,form:u,value:d,internal_do_not_use_render:({isFormControl:y})=>a.jsxs(a.Fragment,{children:[a.jsx(JA,{...p,ref:e,__scopeCheckbox:r}),y&&a.jsx(eP,{__scopeCheckbox:r})]})})});nS.displayName=H9;var YA="CheckboxIndicator",KA=g.forwardRef((t,e)=>{const{__scopeCheckbox:r,forceMount:n,...o}=t,i=rS(YA,r);return a.jsx(ZA,{present:n||er(i.checked)||i.checked===!0,children:a.jsx(aS.span,{"data-state":tP(i.checked),"data-disabled":i.disabled?"":void 0,...o,ref:e,style:{pointerEvents:"none",...t.style}})})});KA.displayName=YA;var QA="CheckboxBubbleInput",eP=g.forwardRef(({__scopeCheckbox:t,...e},r)=>{const{control:n,hasConsumerStoppedPropagationRef:o,checked:i,defaultChecked:c,required:l,disabled:d,name:h,value:u,form:p,bubbleInput:y,setBubbleInput:f}=rS(QA,t),k=Qj(r,f),m=eS(i),x=tS(n);g.useEffect(()=>{const w=y;if(!w)return;const C=window.HTMLInputElement.prototype,b=Object.getOwnPropertyDescriptor(C,"checked").set,N=!o.current;if(m!==i&&b){const L=new Event("click",{bubbles:N});w.indeterminate=er(i),b.call(w,er(i)?!1:i),w.dispatchEvent(L)}},[y,m,i,o]);const v=g.useRef(er(i)?!1:i);return a.jsx(aS.input,{type:"checkbox","aria-hidden":!0,defaultChecked:c??v.current,required:l,disabled:d,name:h,value:u,form:p,...e,tabIndex:-1,ref:k,style:{...e.style,...x,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});eP.displayName=QA;function KE(t){return typeof t=="function"}function er(t){return t==="indeterminate"}function tP(t){return er(t)?"indeterminate":t?"checked":"unchecked"}const oS=g.forwardRef(({className:t,...e},r)=>a.jsx(nS,{ref:r,className:le("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),...e,children:a.jsx(KA,{className:le("flex items-center justify-center text-current"),children:a.jsx(vs,{className:"h-4 w-4"})})}));oS.displayName=nS.displayName;const QE=j9("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),V9=g.forwardRef(({className:t,variant:e,...r},n)=>a.jsx("div",{ref:n,role:"alert",className:le(QE({variant:e}),t),...r}));V9.displayName="Alert";const eO=g.forwardRef(({className:t,...e},r)=>a.jsx("h5",{ref:r,className:le("mb-1 font-medium leading-none tracking-tight",t),...e}));eO.displayName="AlertTitle";const B9=g.forwardRef(({className:t,...e},r)=>a.jsx("div",{ref:r,className:le("text-sm [&_p]:leading-relaxed",t),...e}));B9.displayName="AlertDescription";function tO({onSubmit:t,onForgotPassword:e,onRegisterClick:r,isLoading:n=!1,error:o,title:i="Welcome Back",description:c="Sign in to your account to continue",identifierLabel:l="Email or Username",identifierPlaceholder:d="you@example.com"}){const[h,u]=j.useState(""),[p,y]=j.useState(""),[f,k]=j.useState(!1),m=x=>{x.preventDefault(),t(h,p,f)};return a.jsxs(ve,{className:"w-full max-w-md",children:[a.jsxs(_e,{className:"space-y-1",children:[a.jsx(Re,{className:"text-2xl font-bold",children:i}),a.jsx(He,{children:c})]}),a.jsxs("form",{onSubmit:m,children:[a.jsxs(we,{className:"space-y-4",children:[o&&a.jsxs(V9,{variant:"destructive",children:[a.jsx(Jt,{className:"h-4 w-4"}),a.jsx(B9,{children:o})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"identifier",children:l}),a.jsxs("div",{className:"relative",children:[a.jsx(ya,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),a.jsx(Ke,{id:"identifier",type:"text",placeholder:d,value:h,onChange:x=>u(x.target.value),className:"pl-10",required:!0,disabled:n})]})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"password",children:"Password"}),a.jsxs("div",{className:"relative",children:[a.jsx(Mc,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),a.jsx(Ke,{id:"password",type:"password",placeholder:"••••••••",value:p,onChange:x=>y(x.target.value),className:"pl-10",required:!0,disabled:n})]})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx(oS,{id:"remember",checked:f,onCheckedChange:x=>k(x),disabled:n}),a.jsx(ye,{htmlFor:"remember",className:"text-sm font-normal cursor-pointer",children:"Remember me"})]}),e&&a.jsx("button",{type:"button",onClick:e,className:"text-sm text-accent hover:underline",disabled:n,children:"Forgot password?"})]})]}),a.jsxs(Fs,{className:"flex flex-col space-y-4",children:[a.jsx($,{type:"submit",className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",disabled:n,children:n?"Signing in...":"Sign In"}),r&&a.jsxs("div",{className:"text-sm text-center text-muted-foreground",children:["Don't have an account?"," ",a.jsx("button",{type:"button",onClick:r,className:"text-accent hover:underline font-medium",disabled:n,children:"Create account"})]})]})]})]})}const aO=({onSubmit:t,onForgotPassword:e,onRegisterClick:r,isLoading:n=!1,error:o="",appName:i="Your App",logo:c,identifierLabel:l="Email or Username",identifierPlaceholder:d="you@example.com"})=>a.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-r from-[#0f1219] to-[#1a2236] p-4",children:a.jsxs("div",{className:"w-full max-w-md",children:[a.jsxs("div",{className:"mb-8 text-center",children:[a.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[c||a.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-accent",children:a.jsx("span",{className:"text-xl font-bold text-accent-foreground",children:"APP"})}),a.jsx("span",{className:"text-2xl font-bold text-white",children:i})]}),a.jsx("p",{className:"text-gray-300",children:"Access your dashboard"})]}),a.jsx(tO,{onSubmit:t,onForgotPassword:e,onRegisterClick:r,isLoading:n,error:o,identifierLabel:l,identifierPlaceholder:d})]})});function rO({onSubmit:t,fields:e,onLoginClick:r,isLoading:n=!1,error:o,title:i="Create Account",description:c="Join us to access exclusive opportunities"}){const[l,d]=j.useState({}),[h,u]=j.useState(""),p=(f,k)=>d(m=>({...m,[f]:k})),y=f=>{if(f.preventDefault(),u(""),"password"in l&&"confirmPassword"in l&&l.password!==l.confirmPassword){u("Passwords do not match");return}t(l)};return a.jsxs(ve,{className:"w-full max-w-md",children:[a.jsxs(_e,{className:"space-y-1",children:[a.jsx(Re,{className:"text-2xl font-bold",children:i}),a.jsx(He,{children:c})]}),a.jsxs("form",{onSubmit:y,children:[a.jsxs(we,{className:"space-y-4",children:[(o||h)&&a.jsxs(V9,{variant:"destructive",children:[a.jsx(Jt,{className:"h-4 w-4"}),a.jsx(B9,{children:o||h})]}),e.map(f=>a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:f.name,children:f.label}),a.jsx(Ke,{id:f.name,type:f.type||"text",placeholder:f.placeholder,required:f.required,disabled:n,value:l[f.name]||"",onChange:k=>p(f.name,k.target.value)})]},f.name))]}),a.jsxs(Fs,{className:"flex flex-col space-y-4",children:[a.jsx($,{type:"submit",className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",disabled:n,children:n?"Creating account...":"Create Account"}),r&&a.jsxs("div",{className:"text-sm text-center text-muted-foreground",children:["Already have an account?"," ",a.jsx("button",{type:"button",onClick:r,className:"text-accent hover:underline font-medium",disabled:n,children:"Sign in"})]})]})]})]})}const nO=({onSubmit:t,fields:e,onLoginClick:r,isLoading:n=!1,error:o="",appName:i="Your App",logo:c,title:l="Create Account",description:d="Join us to access exclusive opportunities"})=>a.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-r from-[#0f1219] to-[#1a2236] p-4",children:a.jsxs("div",{className:"w-full max-w-md",children:[a.jsxs("div",{className:"mb-8 text-center",children:[a.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[c||a.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-accent",children:a.jsx("span",{className:"text-xl font-bold text-accent-foreground",children:"APP"})}),a.jsx("span",{className:"text-2xl font-bold text-white",children:i})]}),a.jsx("p",{className:"text-gray-300",children:"Start your journey"})]}),a.jsx(rO,{onSubmit:t,fields:e,onLoginClick:r,isLoading:n,error:o,title:l,description:d})]})});function oO({onSubmit:t,onBackToLogin:e,isLoading:r=!1,error:n,success:o=!1,title:i="Reset Password",description:c="Enter your email address and we'll send you a link to reset your password",successMessage:l="If an account exists with that email, you will receive a password reset link shortly. Please check your inbox and spam folder."}){const[d,h]=j.useState(""),u=p=>{p.preventDefault(),t(d)};return o?a.jsxs(ve,{className:"w-full max-w-md",children:[a.jsxs(_e,{className:"space-y-1",children:[a.jsx("div",{className:"flex items-center justify-center mb-4",children:a.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-green-100",children:a.jsx(St,{className:"h-6 w-6 text-green-600"})})}),a.jsx(Re,{className:"text-2xl font-bold text-center",children:"Check Your Email"}),a.jsx(He,{className:"text-center",children:l})]}),a.jsx(Fs,{className:"flex flex-col space-y-4",children:e&&a.jsxs($,{type:"button",variant:"outline",className:"w-full",onClick:e,children:[a.jsx(zi,{className:"mr-2 h-4 w-4"}),"Back to Login"]})})]}):a.jsxs(ve,{className:"w-full max-w-md",children:[a.jsxs(_e,{className:"space-y-1",children:[a.jsx(Re,{className:"text-2xl font-bold",children:i}),a.jsx(He,{children:c})]}),a.jsxs("form",{onSubmit:u,children:[a.jsxs(we,{className:"space-y-4",children:[n&&a.jsxs(V9,{variant:"destructive",children:[a.jsx(Jt,{className:"h-4 w-4"}),a.jsx(B9,{children:n})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"email",children:"Email Address"}),a.jsxs("div",{className:"relative",children:[a.jsx(ya,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),a.jsx(Ke,{id:"email",type:"email",placeholder:"you@example.com",value:d,onChange:p=>h(p.target.value),className:"pl-10",required:!0,disabled:r})]}),a.jsx("p",{className:"text-xs text-muted-foreground",children:"We'll send you an email with instructions to reset your password"})]})]}),a.jsxs(Fs,{className:"flex flex-col space-y-4",children:[a.jsx($,{type:"submit",className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",disabled:r,children:r?"Sending...":"Send Reset Link"}),e&&a.jsxs($,{type:"button",variant:"ghost",className:"w-full",onClick:e,disabled:r,children:[a.jsx(zi,{className:"mr-2 h-4 w-4"}),"Back to Login"]})]})]})]})}const iO=({onSubmit:t,onBackToLogin:e,isLoading:r=!1,error:n="",success:o=!1,appName:i="Your App",logo:c})=>a.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-r from-[#0f1219] to-[#1a2236] p-4",children:a.jsxs("div",{className:"w-full max-w-md",children:[a.jsxs("div",{className:"mb-8 text-center",children:[a.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[c||a.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-accent",children:a.jsx("span",{className:"text-xl font-bold text-accent-foreground",children:"APP"})}),a.jsx("span",{className:"text-2xl font-bold text-white",children:i})]}),a.jsx("p",{className:"text-gray-300",children:"Recover your account access"})]}),a.jsx(oO,{onSubmit:t,onBackToLogin:e,isLoading:r,error:n,success:o})]})}),sO=[{icon:gc,label:"Dashboard",path:"/dashboard"},{icon:ft,label:"My Jobs",path:"/dashboard/jobs"},{icon:Vt,label:"Courses",path:"/dashboard/courses"},{icon:Is,label:"Settings",path:"/dashboard/settings"}];function cO({children:t,user:e={name:"User",email:"user@example.com"},onLogout:r,onNavigate:n,currentPath:o="/dashboard",notificationCount:i=0}){return a.jsx("div",{className:"min-h-screen bg-background",children:a.jsxs("div",{className:"flex",children:[a.jsxs("aside",{className:"hidden md:flex w-64 flex-col border-r bg-card h-[calc(100vh-4rem)]",children:[a.jsx("nav",{className:"flex-1 space-y-1 p-4",children:sO.map(c=>{const l=c.icon,d=o===c.path;return a.jsxs("button",{onClick:()=>n==null?void 0:n(c.path),className:`flex w-full items-center gap-3 rounded-lg px-3 py-2 text-sm font-medium transition-colors ${d?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-muted hover:text-foreground"}`,children:[a.jsx(l,{className:"h-4 w-4"}),c.label]},c.path)})}),r&&a.jsx("div",{className:"border-t p-4",children:a.jsxs($,{variant:"ghost",className:"w-full justify-start text-muted-foreground hover:text-foreground",onClick:r,children:[a.jsx(bc,{className:"mr-3 h-4 w-4"}),"Logout"]})})]}),a.jsx("main",{className:"flex-1 p-6 md:p-8",children:t})]})})}const lO=j9("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-yellow-200/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function it({className:t,variant:e,...r}){return a.jsx("div",{className:le(lO({variant:e}),t),...r})}function dO({userName:t,feedItems:e,alerts:r,snapshot:n,onSave:o,onApply:i,onEnroll:c,onRead:l}){const d=u=>{switch(u){case"job":return ft;case"course":return Vt;case"news":return Pa;default:return ft}},h=u=>{switch(u.type){case"job":return a.jsxs(a.Fragment,{children:[a.jsx($,{variant:"outline",size:"sm",onClick:()=>o(u.id),children:"Save"}),a.jsx($,{size:"sm",onClick:()=>i(u.id),children:"Apply"})]});case"course":return a.jsxs(a.Fragment,{children:[a.jsx($,{variant:"outline",size:"sm",onClick:()=>o(u.id),children:"Save"}),a.jsx($,{size:"sm",onClick:()=>c(u.id),children:"Enroll"})]});case"news":return a.jsx($,{size:"sm",onClick:()=>l(u.id),children:"Read"});default:return null}};return a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{children:[a.jsxs("h2",{className:"text-3xl font-bold",children:["Welcome back, ",t," 👋"]}),a.jsx("p",{className:"text-muted-foreground mt-1",children:"Your personalized iGaming career hub"})]}),a.jsxs("div",{className:"grid gap-6 lg:grid-cols-3",children:[a.jsxs("div",{className:"lg:col-span-2 space-y-4",children:[a.jsx("h3",{className:"text-xl font-semibold",children:"Your Feed"}),e.map(u=>{const p=d(u.type);return a.jsxs(ve,{children:[a.jsxs(_e,{children:[a.jsxs("div",{className:"flex items-start justify-between",children:[a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(p,{className:"h-5 w-5 text-primary"}),a.jsx(it,{variant:"secondary",children:u.type})]}),a.jsx("span",{className:"text-xs text-muted-foreground",children:u.timestamp})]}),a.jsx(Re,{className:"text-lg mt-2",children:u.title}),u.company&&a.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground",children:[a.jsxs("span",{className:"flex items-center gap-1",children:[a.jsx(gs,{className:"h-4 w-4"}),u.company]}),u.location&&a.jsxs("span",{className:"flex items-center gap-1",children:[a.jsx(Bt,{className:"h-4 w-4"}),u.location]})]}),a.jsx(He,{children:u.description})]}),a.jsxs(we,{children:[a.jsx("div",{className:"flex flex-wrap gap-2 mb-4",children:u.tags.map(y=>a.jsx(it,{variant:"outline",children:y},y))}),u.reason&&a.jsxs("p",{className:"text-xs text-muted-foreground mb-3 italic",children:["💡 ",u.reason]}),a.jsx("div",{className:"flex gap-2",children:h(u)})]})]},u.id)})]}),a.jsxs("div",{className:"space-y-4",children:[a.jsxs(ve,{children:[a.jsx(_e,{children:a.jsxs(Re,{className:"flex items-center gap-2",children:[a.jsx(Vi,{className:"h-5 w-5"}),"Your iGaming Career Snapshot"]})}),a.jsx(we,{className:"space-y-3",children:n.map(u=>a.jsxs("div",{className:"flex justify-between items-center",children:[a.jsx("span",{className:"text-sm text-muted-foreground",children:u.label}),a.jsxs("div",{className:"text-right",children:[a.jsx("span",{className:"font-semibold",children:u.value}),u.trend&&a.jsx("span",{className:"text-xs text-green-600 ml-2",children:u.trend})]})]},u.label))})]}),a.jsxs(ve,{children:[a.jsx(_e,{children:a.jsxs(Re,{className:"flex items-center gap-2",children:[a.jsx(Kt,{className:"h-5 w-5"}),"Alerts & Notifications"]})}),a.jsx(we,{className:"space-y-3",children:r.length===0?a.jsx("p",{className:"text-sm text-muted-foreground",children:"No new alerts"}):r.map(u=>a.jsxs("div",{className:"p-3 rounded-lg bg-secondary/50 text-sm",children:[a.jsx(it,{variant:"outline",className:"mb-2",children:u.type}),a.jsx("p",{children:u.message})]},u.id))})]})]})]})]})}function hO(t,e,{checkForDefaultPrevented:r=!0}={}){return function(o){if(t==null||t(o),r===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}function gL(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function uO(...t){return e=>{let r=!1;const n=t.map(o=>{const i=gL(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():gL(t[o],null)}}}}function aP(...t){return g.useCallback(uO(...t),t)}function pO(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,yO(o,...e)]}function yO(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var mO=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},fO=g[" useInsertionEffect ".trim().toString()]||mO;function xO({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[o,i,c]=kO({defaultProp:e,onChange:r}),l=t!==void 0,d=l?t:o;{const u=g.useRef(t!==void 0);g.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${n} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=l},[l,n])}const h=g.useCallback(u=>{var p;if(l){const y=gO(u)?u(t):u;y!==t&&((p=c.current)==null||p.call(c,y))}else i(u)},[l,t,i,c]);return[d,h]}function kO({defaultProp:t,onChange:e}){const[r,n]=g.useState(t),o=g.useRef(r),i=g.useRef(e);return fO(()=>{i.current=e},[e]),g.useEffect(()=>{var c;o.current!==r&&((c=i.current)==null||c.call(i,r),o.current=r)},[r,o]),[r,n,i]}function gO(t){return typeof t=="function"}var vO=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],rP=vO.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),U9="Switch",[wO,iU]=pO(U9),[MO,bO]=wO(U9),nP=g.forwardRef((t,e)=>{const{__scopeSwitch:r,name:n,checked:o,defaultChecked:i,required:c,disabled:l,value:d="on",onCheckedChange:h,form:u,...p}=t,[y,f]=g.useState(null),k=aP(e,C=>f(C)),m=g.useRef(!1),x=y?u||!!y.closest("form"):!0,[v,w]=xO({prop:o,defaultProp:i??!1,onChange:h,caller:U9});return a.jsxs(MO,{scope:r,checked:v,disabled:l,children:[a.jsx(rP.button,{type:"button",role:"switch","aria-checked":v,"aria-required":c,"data-state":cP(v),"data-disabled":l?"":void 0,disabled:l,value:d,...p,ref:k,onClick:hO(t.onClick,C=>{w(M=>!M),x&&(m.current=C.isPropagationStopped(),m.current||C.stopPropagation())})}),x&&a.jsx(sP,{control:y,bubbles:!m.current,name:n,value:d,checked:v,required:c,disabled:l,form:u,style:{transform:"translateX(-100%)"}})]})});nP.displayName=U9;var oP="SwitchThumb",iP=g.forwardRef((t,e)=>{const{__scopeSwitch:r,...n}=t,o=bO(oP,r);return a.jsx(rP.span,{"data-state":cP(o.checked),"data-disabled":o.disabled?"":void 0,...n,ref:e})});iP.displayName=oP;var CO="SwitchBubbleInput",sP=g.forwardRef(({__scopeSwitch:t,control:e,checked:r,bubbles:n=!0,...o},i)=>{const c=g.useRef(null),l=aP(c,i),d=eS(r),h=tS(e);return g.useEffect(()=>{const u=c.current;if(!u)return;const p=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(p,"checked").set;if(d!==r&&f){const k=new Event("click",{bubbles:n});f.call(u,r),u.dispatchEvent(k)}},[d,r,n]),a.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...o,tabIndex:-1,ref:l,style:{...o.style,...h,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});sP.displayName=CO;function cP(t){return t?"checked":"unchecked"}var lP=nP,jO=iP;const Yt=g.forwardRef(({className:t,...e},r)=>a.jsx(lP,{className:le("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50",t),...e,ref:r,children:a.jsx(jO,{className:le("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})}));Yt.displayName=lP.displayName;function zc(t,e,{checkForDefaultPrevented:r=!0}={}){return function(o){if(t==null||t(o),r===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}function vL(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function SO(...t){return e=>{let r=!1;const n=t.map(o=>{const i=vL(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():vL(t[o],null)}}}}function iS(...t){return g.useCallback(SO(...t),t)}function LO(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,IO(o,...e)]}function IO(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var x9=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},NO=g[" useId ".trim().toString()]||(()=>{}),AO=0;function PO(t){const[e,r]=g.useState(NO());return x9(()=>{t||r(n=>n??String(AO++))},[t]),t||(e?`radix-${e}`:"")}const _O=["top","right","bottom","left"],rr=Math.min,Lt=Math.max,k9=Math.round,h1=Math.floor,fa=t=>({x:t,y:t}),RO={left:"right",right:"left",bottom:"top",top:"bottom"},TO={start:"end",end:"start"};function QC(t,e,r){return Lt(t,rr(e,r))}function qa(t,e){return typeof t=="function"?t(e):t}function Da(t){return t.split("-")[0]}function Ks(t){return t.split("-")[1]}function sS(t){return t==="x"?"y":"x"}function cS(t){return t==="y"?"height":"width"}const qO=new Set(["top","bottom"]);function ua(t){return qO.has(Da(t))?"y":"x"}function lS(t){return sS(ua(t))}function DO(t,e,r){r===void 0&&(r=!1);const n=Ks(t),o=lS(t),i=cS(o);let c=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(c=g9(c)),[c,g9(c)]}function zO(t){const e=g9(t);return[ej(t),e,ej(e)]}function ej(t){return t.replace(/start|end/g,e=>TO[e])}const wL=["left","right"],ML=["right","left"],FO=["top","bottom"],EO=["bottom","top"];function OO(t,e,r){switch(t){case"top":case"bottom":return r?e?ML:wL:e?wL:ML;case"left":case"right":return e?FO:EO;default:return[]}}function HO(t,e,r,n){const o=Ks(t);let i=OO(Da(t),r==="start",n);return o&&(i=i.map(c=>c+"-"+o),e&&(i=i.concat(i.map(ej)))),i}function g9(t){return t.replace(/left|right|bottom|top/g,e=>RO[e])}function VO(t){return{top:0,right:0,bottom:0,left:0,...t}}function dP(t){return typeof t!="number"?VO(t):{top:t,right:t,bottom:t,left:t}}function v9(t){const{x:e,y:r,width:n,height:o}=t;return{width:n,height:o,top:r,left:e,right:e+n,bottom:r+o,x:e,y:r}}function bL(t,e,r){let{reference:n,floating:o}=t;const i=ua(e),c=lS(e),l=cS(c),d=Da(e),h=i==="y",u=n.x+n.width/2-o.width/2,p=n.y+n.height/2-o.height/2,y=n[l]/2-o[l]/2;let f;switch(d){case"top":f={x:u,y:n.y-o.height};break;case"bottom":f={x:u,y:n.y+n.height};break;case"right":f={x:n.x+n.width,y:p};break;case"left":f={x:n.x-o.width,y:p};break;default:f={x:n.x,y:n.y}}switch(Ks(e)){case"start":f[c]-=y*(r&&h?-1:1);break;case"end":f[c]+=y*(r&&h?-1:1);break}return f}const BO=async(t,e,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:c}=r,l=i.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(e));let h=await c.getElementRects({reference:t,floating:e,strategy:o}),{x:u,y:p}=bL(h,n,d),y=n,f={},k=0;for(let m=0;m<l.length;m++){const{name:x,fn:v}=l[m],{x:w,y:C,data:M,reset:b}=await v({x:u,y:p,initialPlacement:n,placement:y,strategy:o,middlewareData:f,rects:h,platform:c,elements:{reference:t,floating:e}});u=w??u,p=C??p,f={...f,[x]:{...f[x],...M}},b&&k<=50&&(k++,typeof b=="object"&&(b.placement&&(y=b.placement),b.rects&&(h=b.rects===!0?await c.getElementRects({reference:t,floating:e,strategy:o}):b.rects),{x:u,y:p}=bL(h,y,d)),m=-1)}return{x:u,y:p,placement:y,strategy:o,middlewareData:f}};async function Gc(t,e){var r;e===void 0&&(e={});const{x:n,y:o,platform:i,rects:c,elements:l,strategy:d}=t,{boundary:h="clippingAncestors",rootBoundary:u="viewport",elementContext:p="floating",altBoundary:y=!1,padding:f=0}=qa(e,t),k=dP(f),x=l[y?p==="floating"?"reference":"floating":p],v=v9(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(x)))==null||r?x:x.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:h,rootBoundary:u,strategy:d})),w=p==="floating"?{x:n,y:o,width:c.floating.width,height:c.floating.height}:c.reference,C=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),M=await(i.isElement==null?void 0:i.isElement(C))?await(i.getScale==null?void 0:i.getScale(C))||{x:1,y:1}:{x:1,y:1},b=v9(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:w,offsetParent:C,strategy:d}):w);return{top:(v.top-b.top+k.top)/M.y,bottom:(b.bottom-v.bottom+k.bottom)/M.y,left:(v.left-b.left+k.left)/M.x,right:(b.right-v.right+k.right)/M.x}}const UO=t=>({name:"arrow",options:t,async fn(e){const{x:r,y:n,placement:o,rects:i,platform:c,elements:l,middlewareData:d}=e,{element:h,padding:u=0}=qa(t,e)||{};if(h==null)return{};const p=dP(u),y={x:r,y:n},f=lS(o),k=cS(f),m=await c.getDimensions(h),x=f==="y",v=x?"top":"left",w=x?"bottom":"right",C=x?"clientHeight":"clientWidth",M=i.reference[k]+i.reference[f]-y[f]-i.floating[k],b=y[f]-i.reference[f],N=await(c.getOffsetParent==null?void 0:c.getOffsetParent(h));let L=N?N[C]:0;(!L||!await(c.isElement==null?void 0:c.isElement(N)))&&(L=l.floating[C]||i.floating[k]);const A=M/2-b/2,I=L/2-m[k]/2-1,q=rr(p[v],I),P=rr(p[w],I),_=q,R=L-m[k]-P,U=L/2-m[k]/2+A,W=QC(_,U,R),V=!d.arrow&&Ks(o)!=null&&U!==W&&i.reference[k]/2-(U<_?q:P)-m[k]/2<0,O=V?U<_?U-_:U-R:0;return{[f]:y[f]+O,data:{[f]:W,centerOffset:U-W-O,...V&&{alignmentOffset:O}},reset:V}}}),$O=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r,n;const{placement:o,middlewareData:i,rects:c,initialPlacement:l,platform:d,elements:h}=e,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:y,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:m=!0,...x}=qa(t,e);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const v=Da(o),w=ua(l),C=Da(l)===l,M=await(d.isRTL==null?void 0:d.isRTL(h.floating)),b=y||(C||!m?[g9(l)]:zO(l)),N=k!=="none";!y&&N&&b.push(...HO(l,m,k,M));const L=[l,...b],A=await Gc(e,x),I=[];let q=((n=i.flip)==null?void 0:n.overflows)||[];if(u&&I.push(A[v]),p){const U=DO(o,c,M);I.push(A[U[0]],A[U[1]])}if(q=[...q,{placement:o,overflows:I}],!I.every(U=>U<=0)){var P,_;const U=(((P=i.flip)==null?void 0:P.index)||0)+1,W=L[U];if(W&&(!(p==="alignment"?w!==ua(W):!1)||q.every(E=>ua(E.placement)===w?E.overflows[0]>0:!0)))return{data:{index:U,overflows:q},reset:{placement:W}};let V=(_=q.filter(O=>O.overflows[0]<=0).sort((O,E)=>O.overflows[1]-E.overflows[1])[0])==null?void 0:_.placement;if(!V)switch(f){case"bestFit":{var R;const O=(R=q.filter(E=>{if(N){const Q=ua(E.placement);return Q===w||Q==="y"}return!0}).map(E=>[E.placement,E.overflows.filter(Q=>Q>0).reduce((Q,de)=>Q+de,0)]).sort((E,Q)=>E[1]-Q[1])[0])==null?void 0:R[0];O&&(V=O);break}case"initialPlacement":V=l;break}if(o!==V)return{reset:{placement:V}}}return{}}}};function CL(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function jL(t){return _O.some(e=>t[e]>=0)}const GO=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:r}=e,{strategy:n="referenceHidden",...o}=qa(t,e);switch(n){case"referenceHidden":{const i=await Gc(e,{...o,elementContext:"reference"}),c=CL(i,r.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:jL(c)}}}case"escaped":{const i=await Gc(e,{...o,altBoundary:!0}),c=CL(i,r.floating);return{data:{escapedOffsets:c,escaped:jL(c)}}}default:return{}}}}},hP=new Set(["left","top"]);async function WO(t,e){const{placement:r,platform:n,elements:o}=t,i=await(n.isRTL==null?void 0:n.isRTL(o.floating)),c=Da(r),l=Ks(r),d=ua(r)==="y",h=hP.has(c)?-1:1,u=i&&d?-1:1,p=qa(e,t);let{mainAxis:y,crossAxis:f,alignmentAxis:k}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&typeof k=="number"&&(f=l==="end"?k*-1:k),d?{x:f*u,y:y*h}:{x:y*h,y:f*u}}const ZO=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;const{x:o,y:i,placement:c,middlewareData:l}=e,d=await WO(e,t);return c===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:o+d.x,y:i+d.y,data:{...d,placement:c}}}}},XO=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:r,y:n,placement:o}=e,{mainAxis:i=!0,crossAxis:c=!1,limiter:l={fn:x=>{let{x:v,y:w}=x;return{x:v,y:w}}},...d}=qa(t,e),h={x:r,y:n},u=await Gc(e,d),p=ua(Da(o)),y=sS(p);let f=h[y],k=h[p];if(i){const x=y==="y"?"top":"left",v=y==="y"?"bottom":"right",w=f+u[x],C=f-u[v];f=QC(w,f,C)}if(c){const x=p==="y"?"top":"left",v=p==="y"?"bottom":"right",w=k+u[x],C=k-u[v];k=QC(w,k,C)}const m=l.fn({...e,[y]:f,[p]:k});return{...m,data:{x:m.x-r,y:m.y-n,enabled:{[y]:i,[p]:c}}}}}},JO=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:r,y:n,placement:o,rects:i,middlewareData:c}=e,{offset:l=0,mainAxis:d=!0,crossAxis:h=!0}=qa(t,e),u={x:r,y:n},p=ua(o),y=sS(p);let f=u[y],k=u[p];const m=qa(l,e),x=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(d){const C=y==="y"?"height":"width",M=i.reference[y]-i.floating[C]+x.mainAxis,b=i.reference[y]+i.reference[C]-x.mainAxis;f<M?f=M:f>b&&(f=b)}if(h){var v,w;const C=y==="y"?"width":"height",M=hP.has(Da(o)),b=i.reference[p]-i.floating[C]+(M&&((v=c.offset)==null?void 0:v[p])||0)+(M?0:x.crossAxis),N=i.reference[p]+i.reference[C]+(M?0:((w=c.offset)==null?void 0:w[p])||0)-(M?x.crossAxis:0);k<b?k=b:k>N&&(k=N)}return{[y]:f,[p]:k}}}},YO=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r,n;const{placement:o,rects:i,platform:c,elements:l}=e,{apply:d=()=>{},...h}=qa(t,e),u=await Gc(e,h),p=Da(o),y=Ks(o),f=ua(o)==="y",{width:k,height:m}=i.floating;let x,v;p==="top"||p==="bottom"?(x=p,v=y===(await(c.isRTL==null?void 0:c.isRTL(l.floating))?"start":"end")?"left":"right"):(v=p,x=y==="end"?"top":"bottom");const w=m-u.top-u.bottom,C=k-u.left-u.right,M=rr(m-u[x],w),b=rr(k-u[v],C),N=!e.middlewareData.shift;let L=M,A=b;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(A=C),(n=e.middlewareData.shift)!=null&&n.enabled.y&&(L=w),N&&!y){const q=Lt(u.left,0),P=Lt(u.right,0),_=Lt(u.top,0),R=Lt(u.bottom,0);f?A=k-2*(q!==0||P!==0?q+P:Lt(u.left,u.right)):L=m-2*(_!==0||R!==0?_+R:Lt(u.top,u.bottom))}await d({...e,availableWidth:A,availableHeight:L});const I=await c.getDimensions(l.floating);return k!==I.width||m!==I.height?{reset:{rects:!0}}:{}}}};function $9(){return typeof window<"u"}function Qs(t){return uP(t)?(t.nodeName||"").toLowerCase():"#document"}function Pt(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function va(t){var e;return(e=(uP(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function uP(t){return $9()?t instanceof Node||t instanceof Pt(t).Node:!1}function ea(t){return $9()?t instanceof Element||t instanceof Pt(t).Element:!1}function ka(t){return $9()?t instanceof HTMLElement||t instanceof Pt(t).HTMLElement:!1}function SL(t){return!$9()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Pt(t).ShadowRoot}const KO=new Set(["inline","contents"]);function Kc(t){const{overflow:e,overflowX:r,overflowY:n,display:o}=ta(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!KO.has(o)}const QO=new Set(["table","td","th"]);function eH(t){return QO.has(Qs(t))}const tH=[":popover-open",":modal"];function G9(t){return tH.some(e=>{try{return t.matches(e)}catch{return!1}})}const aH=["transform","translate","scale","rotate","perspective"],rH=["transform","translate","scale","rotate","perspective","filter"],nH=["paint","layout","strict","content"];function dS(t){const e=hS(),r=ea(t)?ta(t):t;return aH.some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||rH.some(n=>(r.willChange||"").includes(n))||nH.some(n=>(r.contain||"").includes(n))}function oH(t){let e=nr(t);for(;ka(e)&&!Us(e);){if(dS(e))return e;if(G9(e))return null;e=nr(e)}return null}function hS(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const iH=new Set(["html","body","#document"]);function Us(t){return iH.has(Qs(t))}function ta(t){return Pt(t).getComputedStyle(t)}function W9(t){return ea(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function nr(t){if(Qs(t)==="html")return t;const e=t.assignedSlot||t.parentNode||SL(t)&&t.host||va(t);return SL(e)?e.host:e}function pP(t){const e=nr(t);return Us(e)?t.ownerDocument?t.ownerDocument.body:t.body:ka(e)&&Kc(e)?e:pP(e)}function Wc(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);const o=pP(t),i=o===((n=t.ownerDocument)==null?void 0:n.body),c=Pt(o);if(i){const l=tj(c);return e.concat(c,c.visualViewport||[],Kc(o)?o:[],l&&r?Wc(l):[])}return e.concat(o,Wc(o,[],r))}function tj(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function yP(t){const e=ta(t);let r=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const o=ka(t),i=o?t.offsetWidth:r,c=o?t.offsetHeight:n,l=k9(r)!==i||k9(n)!==c;return l&&(r=i,n=c),{width:r,height:n,$:l}}function uS(t){return ea(t)?t:t.contextElement}function Ds(t){const e=uS(t);if(!ka(e))return fa(1);const r=e.getBoundingClientRect(),{width:n,height:o,$:i}=yP(e);let c=(i?k9(r.width):r.width)/n,l=(i?k9(r.height):r.height)/o;return(!c||!Number.isFinite(c))&&(c=1),(!l||!Number.isFinite(l))&&(l=1),{x:c,y:l}}const sH=fa(0);function mP(t){const e=Pt(t);return!hS()||!e.visualViewport?sH:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function cH(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Pt(t)?!1:e}function Ji(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);const o=t.getBoundingClientRect(),i=uS(t);let c=fa(1);e&&(n?ea(n)&&(c=Ds(n)):c=Ds(t));const l=cH(i,r,n)?mP(i):fa(0);let d=(o.left+l.x)/c.x,h=(o.top+l.y)/c.y,u=o.width/c.x,p=o.height/c.y;if(i){const y=Pt(i),f=n&&ea(n)?Pt(n):n;let k=y,m=tj(k);for(;m&&n&&f!==k;){const x=Ds(m),v=m.getBoundingClientRect(),w=ta(m),C=v.left+(m.clientLeft+parseFloat(w.paddingLeft))*x.x,M=v.top+(m.clientTop+parseFloat(w.paddingTop))*x.y;d*=x.x,h*=x.y,u*=x.x,p*=x.y,d+=C,h+=M,k=Pt(m),m=tj(k)}}return v9({width:u,height:p,x:d,y:h})}function Z9(t,e){const r=W9(t).scrollLeft;return e?e.left+r:Ji(va(t)).left+r}function fP(t,e){const r=t.getBoundingClientRect(),n=r.left+e.scrollLeft-Z9(t,r),o=r.top+e.scrollTop;return{x:n,y:o}}function lH(t){let{elements:e,rect:r,offsetParent:n,strategy:o}=t;const i=o==="fixed",c=va(n),l=e?G9(e.floating):!1;if(n===c||l&&i)return r;let d={scrollLeft:0,scrollTop:0},h=fa(1);const u=fa(0),p=ka(n);if((p||!p&&!i)&&((Qs(n)!=="body"||Kc(c))&&(d=W9(n)),ka(n))){const f=Ji(n);h=Ds(n),u.x=f.x+n.clientLeft,u.y=f.y+n.clientTop}const y=c&&!p&&!i?fP(c,d):fa(0);return{width:r.width*h.x,height:r.height*h.y,x:r.x*h.x-d.scrollLeft*h.x+u.x+y.x,y:r.y*h.y-d.scrollTop*h.y+u.y+y.y}}function dH(t){return Array.from(t.getClientRects())}function hH(t){const e=va(t),r=W9(t),n=t.ownerDocument.body,o=Lt(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=Lt(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let c=-r.scrollLeft+Z9(t);const l=-r.scrollTop;return ta(n).direction==="rtl"&&(c+=Lt(e.clientWidth,n.clientWidth)-o),{width:o,height:i,x:c,y:l}}const LL=25;function uH(t,e){const r=Pt(t),n=va(t),o=r.visualViewport;let i=n.clientWidth,c=n.clientHeight,l=0,d=0;if(o){i=o.width,c=o.height;const u=hS();(!u||u&&e==="fixed")&&(l=o.offsetLeft,d=o.offsetTop)}const h=Z9(n);if(h<=0){const u=n.ownerDocument,p=u.body,y=getComputedStyle(p),f=u.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,k=Math.abs(n.clientWidth-p.clientWidth-f);k<=LL&&(i-=k)}else h<=LL&&(i+=h);return{width:i,height:c,x:l,y:d}}const pH=new Set(["absolute","fixed"]);function yH(t,e){const r=Ji(t,!0,e==="fixed"),n=r.top+t.clientTop,o=r.left+t.clientLeft,i=ka(t)?Ds(t):fa(1),c=t.clientWidth*i.x,l=t.clientHeight*i.y,d=o*i.x,h=n*i.y;return{width:c,height:l,x:d,y:h}}function IL(t,e,r){let n;if(e==="viewport")n=uH(t,r);else if(e==="document")n=hH(va(t));else if(ea(e))n=yH(e,r);else{const o=mP(t);n={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return v9(n)}function xP(t,e){const r=nr(t);return r===e||!ea(r)||Us(r)?!1:ta(r).position==="fixed"||xP(r,e)}function mH(t,e){const r=e.get(t);if(r)return r;let n=Wc(t,[],!1).filter(l=>ea(l)&&Qs(l)!=="body"),o=null;const i=ta(t).position==="fixed";let c=i?nr(t):t;for(;ea(c)&&!Us(c);){const l=ta(c),d=dS(c);!d&&l.position==="fixed"&&(o=null),(i?!d&&!o:!d&&l.position==="static"&&!!o&&pH.has(o.position)||Kc(c)&&!d&&xP(t,c))?n=n.filter(u=>u!==c):o=l,c=nr(c)}return e.set(t,n),n}function fH(t){let{element:e,boundary:r,rootBoundary:n,strategy:o}=t;const c=[...r==="clippingAncestors"?G9(e)?[]:mH(e,this._c):[].concat(r),n],l=c[0],d=c.reduce((h,u)=>{const p=IL(e,u,o);return h.top=Lt(p.top,h.top),h.right=rr(p.right,h.right),h.bottom=rr(p.bottom,h.bottom),h.left=Lt(p.left,h.left),h},IL(e,l,o));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function xH(t){const{width:e,height:r}=yP(t);return{width:e,height:r}}function kH(t,e,r){const n=ka(e),o=va(e),i=r==="fixed",c=Ji(t,!0,i,e);let l={scrollLeft:0,scrollTop:0};const d=fa(0);function h(){d.x=Z9(o)}if(n||!n&&!i)if((Qs(e)!=="body"||Kc(o))&&(l=W9(e)),n){const f=Ji(e,!0,i,e);d.x=f.x+e.clientLeft,d.y=f.y+e.clientTop}else o&&h();i&&!n&&o&&h();const u=o&&!n&&!i?fP(o,l):fa(0),p=c.left+l.scrollLeft-d.x-u.x,y=c.top+l.scrollTop-d.y-u.y;return{x:p,y,width:c.width,height:c.height}}function jC(t){return ta(t).position==="static"}function NL(t,e){if(!ka(t)||ta(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return va(t)===r&&(r=r.ownerDocument.body),r}function kP(t,e){const r=Pt(t);if(G9(t))return r;if(!ka(t)){let o=nr(t);for(;o&&!Us(o);){if(ea(o)&&!jC(o))return o;o=nr(o)}return r}let n=NL(t,e);for(;n&&eH(n)&&jC(n);)n=NL(n,e);return n&&Us(n)&&jC(n)&&!dS(n)?r:n||oH(t)||r}const gH=async function(t){const e=this.getOffsetParent||kP,r=this.getDimensions,n=await r(t.floating);return{reference:kH(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function vH(t){return ta(t).direction==="rtl"}const wH={convertOffsetParentRelativeRectToViewportRelativeRect:lH,getDocumentElement:va,getClippingRect:fH,getOffsetParent:kP,getElementRects:gH,getClientRects:dH,getDimensions:xH,getScale:Ds,isElement:ea,isRTL:vH};function gP(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function MH(t,e){let r=null,n;const o=va(t);function i(){var l;clearTimeout(n),(l=r)==null||l.disconnect(),r=null}function c(l,d){l===void 0&&(l=!1),d===void 0&&(d=1),i();const h=t.getBoundingClientRect(),{left:u,top:p,width:y,height:f}=h;if(l||e(),!y||!f)return;const k=h1(p),m=h1(o.clientWidth-(u+y)),x=h1(o.clientHeight-(p+f)),v=h1(u),C={rootMargin:-k+"px "+-m+"px "+-x+"px "+-v+"px",threshold:Lt(0,rr(1,d))||1};let M=!0;function b(N){const L=N[0].intersectionRatio;if(L!==d){if(!M)return c();L?c(!1,L):n=setTimeout(()=>{c(!1,1e-7)},1e3)}L===1&&!gP(h,t.getBoundingClientRect())&&c(),M=!1}try{r=new IntersectionObserver(b,{...C,root:o.ownerDocument})}catch{r=new IntersectionObserver(b,C)}r.observe(t)}return c(!0),i}function bH(t,e,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:c=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:d=!1}=n,h=uS(t),u=o||i?[...h?Wc(h):[],...Wc(e)]:[];u.forEach(v=>{o&&v.addEventListener("scroll",r,{passive:!0}),i&&v.addEventListener("resize",r)});const p=h&&l?MH(h,r):null;let y=-1,f=null;c&&(f=new ResizeObserver(v=>{let[w]=v;w&&w.target===h&&f&&(f.unobserve(e),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var C;(C=f)==null||C.observe(e)})),r()}),h&&!d&&f.observe(h),f.observe(e));let k,m=d?Ji(t):null;d&&x();function x(){const v=Ji(t);m&&!gP(m,v)&&r(),m=v,k=requestAnimationFrame(x)}return r(),()=>{var v;u.forEach(w=>{o&&w.removeEventListener("scroll",r),i&&w.removeEventListener("resize",r)}),p==null||p(),(v=f)==null||v.disconnect(),f=null,d&&cancelAnimationFrame(k)}}const CH=ZO,jH=XO,SH=$O,LH=YO,IH=GO,AL=UO,NH=JO,AH=(t,e,r)=>{const n=new Map,o={platform:wH,...r},i={...o.platform,_c:n};return BO(t,e,{...o,platform:i})};var PH=typeof document<"u",_H=function(){},i9=PH?j.useLayoutEffect:_H;function w9(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let r,n,o;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(r=t.length,r!==e.length)return!1;for(n=r;n--!==0;)if(!w9(t[n],e[n]))return!1;return!0}if(o=Object.keys(t),r=o.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(e,o[n]))return!1;for(n=r;n--!==0;){const i=o[n];if(!(i==="_owner"&&t.$$typeof)&&!w9(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function vP(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function PL(t,e){const r=vP(t);return Math.round(e*r)/r}function SC(t){const e=g.useRef(t);return i9(()=>{e.current=t}),e}function RH(t){t===void 0&&(t={});const{placement:e="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:i,floating:c}={},transform:l=!0,whileElementsMounted:d,open:h}=t,[u,p]=g.useState({x:0,y:0,strategy:r,placement:e,middlewareData:{},isPositioned:!1}),[y,f]=g.useState(n);w9(y,n)||f(n);const[k,m]=g.useState(null),[x,v]=g.useState(null),w=g.useCallback(E=>{E!==N.current&&(N.current=E,m(E))},[]),C=g.useCallback(E=>{E!==L.current&&(L.current=E,v(E))},[]),M=i||k,b=c||x,N=g.useRef(null),L=g.useRef(null),A=g.useRef(u),I=d!=null,q=SC(d),P=SC(o),_=SC(h),R=g.useCallback(()=>{if(!N.current||!L.current)return;const E={placement:e,strategy:r,middleware:y};P.current&&(E.platform=P.current),AH(N.current,L.current,E).then(Q=>{const de={...Q,isPositioned:_.current!==!1};U.current&&!w9(A.current,de)&&(A.current=de,C9.flushSync(()=>{p(de)}))})},[y,e,r,P,_]);i9(()=>{h===!1&&A.current.isPositioned&&(A.current.isPositioned=!1,p(E=>({...E,isPositioned:!1})))},[h]);const U=g.useRef(!1);i9(()=>(U.current=!0,()=>{U.current=!1}),[]),i9(()=>{if(M&&(N.current=M),b&&(L.current=b),M&&b){if(q.current)return q.current(M,b,R);R()}},[M,b,R,q,I]);const W=g.useMemo(()=>({reference:N,floating:L,setReference:w,setFloating:C}),[w,C]),V=g.useMemo(()=>({reference:M,floating:b}),[M,b]),O=g.useMemo(()=>{const E={position:r,left:0,top:0};if(!V.floating)return E;const Q=PL(V.floating,u.x),de=PL(V.floating,u.y);return l?{...E,transform:"translate("+Q+"px, "+de+"px)",...vP(V.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:Q,top:de}},[r,l,V.floating,u.x,u.y]);return g.useMemo(()=>({...u,update:R,refs:W,elements:V,floatingStyles:O}),[u,R,W,V,O])}const TH=t=>{function e(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:t,fn(r){const{element:n,padding:o}=typeof t=="function"?t(r):t;return n&&e(n)?n.current!=null?AL({element:n.current,padding:o}).fn(r):{}:n?AL({element:n,padding:o}).fn(r):{}}}},qH=(t,e)=>({...CH(t),options:[t,e]}),DH=(t,e)=>({...jH(t),options:[t,e]}),zH=(t,e)=>({...NH(t),options:[t,e]}),FH=(t,e)=>({...SH(t),options:[t,e]}),EH=(t,e)=>({...LH(t),options:[t,e]}),OH=(t,e)=>({...IH(t),options:[t,e]}),HH=(t,e)=>({...TH(t),options:[t,e]});var VH=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],BH=VH.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),UH="Arrow",wP=g.forwardRef((t,e)=>{const{children:r,width:n=10,height:o=5,...i}=t;return a.jsx(BH.svg,{...i,ref:e,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?r:a.jsx("polygon",{points:"0,0 30,0 15,10"})})});wP.displayName=UH;var $H=wP;function _L(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function GH(...t){return e=>{let r=!1;const n=t.map(o=>{const i=_L(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():_L(t[o],null)}}}}function MP(...t){return g.useCallback(GH(...t),t)}function WH(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,ZH(o,...e)]}function ZH(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var XH=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],bP=XH.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{});function JH(t){const e=g.useRef(t);return g.useEffect(()=>{e.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}var RL=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},pS="Popper",[CP,X9]=WH(pS),[YH,jP]=CP(pS),SP=t=>{const{__scopePopper:e,children:r}=t,[n,o]=g.useState(null);return a.jsx(YH,{scope:e,anchor:n,onAnchorChange:o,children:r})};SP.displayName=pS;var LP="PopperAnchor",IP=g.forwardRef((t,e)=>{const{__scopePopper:r,virtualRef:n,...o}=t,i=jP(LP,r),c=g.useRef(null),l=MP(e,c),d=g.useRef(null);return g.useEffect(()=>{const h=d.current;d.current=(n==null?void 0:n.current)||c.current,h!==d.current&&i.onAnchorChange(d.current)}),n?null:a.jsx(bP.div,{...o,ref:l})});IP.displayName=LP;var yS="PopperContent",[KH,QH]=CP(yS),NP=g.forwardRef((t,e)=>{var B,X,J,ne,pe,se;const{__scopePopper:r,side:n="bottom",sideOffset:o=0,align:i="center",alignOffset:c=0,arrowPadding:l=0,avoidCollisions:d=!0,collisionBoundary:h=[],collisionPadding:u=0,sticky:p="partial",hideWhenDetached:y=!1,updatePositionStrategy:f="optimized",onPlaced:k,...m}=t,x=jP(yS,r),[v,w]=g.useState(null),C=MP(e,Te=>w(Te)),[M,b]=g.useState(null),N=tS(M),L=(N==null?void 0:N.width)??0,A=(N==null?void 0:N.height)??0,I=n+(i!=="center"?"-"+i:""),q=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},P=Array.isArray(h)?h:[h],_=P.length>0,R={padding:q,boundary:P.filter(tV),altBoundary:_},{refs:U,floatingStyles:W,placement:V,isPositioned:O,middlewareData:E}=RH({strategy:"fixed",placement:I,whileElementsMounted:(...Te)=>bH(...Te,{animationFrame:f==="always"}),elements:{reference:x.anchor},middleware:[qH({mainAxis:o+A,alignmentAxis:c}),d&&DH({mainAxis:!0,crossAxis:!1,limiter:p==="partial"?zH():void 0,...R}),d&&FH({...R}),EH({...R,apply:({elements:Te,rects:Se,availableWidth:We,availableHeight:rt})=>{const{width:st,height:Tt}=Se.reference,ze=Te.floating.style;ze.setProperty("--radix-popper-available-width",`${We}px`),ze.setProperty("--radix-popper-available-height",`${rt}px`),ze.setProperty("--radix-popper-anchor-width",`${st}px`),ze.setProperty("--radix-popper-anchor-height",`${Tt}px`)}}),M&&HH({element:M,padding:l}),aV({arrowWidth:L,arrowHeight:A}),y&&OH({strategy:"referenceHidden",...R})]}),[Q,de]=_P(V),ee=JH(k);RL(()=>{O&&(ee==null||ee())},[O,ee]);const te=(B=E.arrow)==null?void 0:B.x,Me=(X=E.arrow)==null?void 0:X.y,ge=((J=E.arrow)==null?void 0:J.centerOffset)!==0,[ae,he]=g.useState();return RL(()=>{v&&he(window.getComputedStyle(v).zIndex)},[v]),a.jsx("div",{ref:U.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:O?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ae,"--radix-popper-transform-origin":[(ne=E.transformOrigin)==null?void 0:ne.x,(pe=E.transformOrigin)==null?void 0:pe.y].join(" "),...((se=E.hide)==null?void 0:se.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:a.jsx(KH,{scope:r,placedSide:Q,onArrowChange:b,arrowX:te,arrowY:Me,shouldHideArrow:ge,children:a.jsx(bP.div,{"data-side":Q,"data-align":de,...m,ref:C,style:{...m.style,animation:O?void 0:"none"}})})})});NP.displayName=yS;var AP="PopperArrow",eV={top:"bottom",right:"left",bottom:"top",left:"right"},PP=g.forwardRef(function(e,r){const{__scopePopper:n,...o}=e,i=QH(AP,n),c=eV[i.placedSide];return a.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[c]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:a.jsx($H,{...o,ref:r,style:{...o.style,display:"block"}})})});PP.displayName=AP;function tV(t){return t!==null}var aV=t=>({name:"transformOrigin",options:t,fn(e){var x,v,w;const{placement:r,rects:n,middlewareData:o}=e,c=((x=o.arrow)==null?void 0:x.centerOffset)!==0,l=c?0:t.arrowWidth,d=c?0:t.arrowHeight,[h,u]=_P(r),p={start:"0%",center:"50%",end:"100%"}[u],y=(((v=o.arrow)==null?void 0:v.x)??0)+l/2,f=(((w=o.arrow)==null?void 0:w.y)??0)+d/2;let k="",m="";return h==="bottom"?(k=c?p:`${y}px`,m=`${-d}px`):h==="top"?(k=c?p:`${y}px`,m=`${n.floating.height+d}px`):h==="right"?(k=`${-d}px`,m=c?p:`${f}px`):h==="left"&&(k=`${n.floating.width+d}px`,m=c?p:`${f}px`),{data:{x:k,y:m}}}});function _P(t){const[e,r="center"]=t.split("-");return[e,r]}var RP=SP,mS=IP,TP=NP,qP=PP;function rV(t,e){return g.useReducer((r,n)=>e[r][n]??r,t)}var fS=t=>{const{present:e,children:r}=t,n=nV(e),o=typeof r=="function"?r({present:n.isPresent}):g.Children.only(r),i=iS(n.ref,oV(o));return typeof r=="function"||n.isPresent?g.cloneElement(o,{ref:i}):null};fS.displayName="Presence";function nV(t){const[e,r]=g.useState(),n=g.useRef(null),o=g.useRef(t),i=g.useRef("none"),c=t?"mounted":"unmounted",[l,d]=rV(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const h=u1(n.current);i.current=l==="mounted"?h:"none"},[l]),x9(()=>{const h=n.current,u=o.current;if(u!==t){const y=i.current,f=u1(h);t?d("MOUNT"):f==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&y!==f?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,d]),x9(()=>{if(e){let h;const u=e.ownerDocument.defaultView??window,p=f=>{const m=u1(n.current).includes(CSS.escape(f.animationName));if(f.target===e&&m&&(d("ANIMATION_END"),!o.current)){const x=e.style.animationFillMode;e.style.animationFillMode="forwards",h=u.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=x)})}},y=f=>{f.target===e&&(i.current=u1(n.current))};return e.addEventListener("animationstart",y),e.addEventListener("animationcancel",p),e.addEventListener("animationend",p),()=>{u.clearTimeout(h),e.removeEventListener("animationstart",y),e.removeEventListener("animationcancel",p),e.removeEventListener("animationend",p)}}else d("ANIMATION_END")},[e,d]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:g.useCallback(h=>{n.current=h?getComputedStyle(h):null,r(h)},[])}}function u1(t){return(t==null?void 0:t.animationName)||"none"}function oV(t){var n,o;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(o=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:o.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var iV=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],DP=iV.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),sV=g[" useInsertionEffect ".trim().toString()]||x9;function cV({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[o,i,c]=lV({defaultProp:e,onChange:r}),l=t!==void 0,d=l?t:o;{const u=g.useRef(t!==void 0);g.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${n} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=l},[l,n])}const h=g.useCallback(u=>{var p;if(l){const y=dV(u)?u(t):u;y!==t&&((p=c.current)==null||p.call(c,y))}else i(u)},[l,t,i,c]);return[d,h]}function lV({defaultProp:t,onChange:e}){const[r,n]=g.useState(t),o=g.useRef(r),i=g.useRef(e);return sV(()=>{i.current=e},[e]),g.useEffect(()=>{var c;o.current!==r&&((c=i.current)==null||c.call(i,r),o.current=r)},[r,o]),[r,n,i]}function dV(t){return typeof t=="function"}var J9="Popover",[zP,sU]=LO(J9,[X9]),Qc=X9(),[hV,sr]=zP(J9),FP=t=>{const{__scopePopover:e,children:r,open:n,defaultOpen:o,onOpenChange:i,modal:c=!1}=t,l=Qc(e),d=g.useRef(null),[h,u]=g.useState(!1),[p,y]=cV({prop:n,defaultProp:o??!1,onChange:i,caller:J9});return a.jsx(RP,{...l,children:a.jsx(hV,{scope:e,contentId:PO(),triggerRef:d,open:p,onOpenChange:y,onOpenToggle:g.useCallback(()=>y(f=>!f),[y]),hasCustomAnchor:h,onCustomAnchorAdd:g.useCallback(()=>u(!0),[]),onCustomAnchorRemove:g.useCallback(()=>u(!1),[]),modal:c,children:r})})};FP.displayName=J9;var EP="PopoverAnchor",uV=g.forwardRef((t,e)=>{const{__scopePopover:r,...n}=t,o=sr(EP,r),i=Qc(r),{onCustomAnchorAdd:c,onCustomAnchorRemove:l}=o;return g.useEffect(()=>(c(),()=>l()),[c,l]),a.jsx(mS,{...i,...n,ref:e})});uV.displayName=EP;var OP="PopoverTrigger",HP=g.forwardRef((t,e)=>{const{__scopePopover:r,...n}=t,o=sr(OP,r),i=Qc(r),c=iS(e,o.triggerRef),l=a.jsx(DP.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":GP(o.open),...n,ref:c,onClick:zc(t.onClick,o.onOpenToggle)});return o.hasCustomAnchor?l:a.jsx(mS,{asChild:!0,...i,children:l})});HP.displayName=OP;var xS="PopoverPortal",[pV,yV]=zP(xS,{forceMount:void 0}),VP=t=>{const{__scopePopover:e,forceMount:r,children:n,container:o}=t,i=sr(xS,e);return a.jsx(pV,{scope:e,forceMount:r,children:a.jsx(fS,{present:r||i.open,children:a.jsx(q9,{asChild:!0,container:o,children:n})})})};VP.displayName=xS;var $s="PopoverContent",BP=g.forwardRef((t,e)=>{const r=yV($s,t.__scopePopover),{forceMount:n=r.forceMount,...o}=t,i=sr($s,t.__scopePopover);return a.jsx(fS,{present:n||i.open,children:i.modal?a.jsx(fV,{...o,ref:e}):a.jsx(xV,{...o,ref:e})})});BP.displayName=$s;var mV=tt("PopoverContent.RemoveScroll"),fV=g.forwardRef((t,e)=>{const r=sr($s,t.__scopePopover),n=g.useRef(null),o=iS(e,n),i=g.useRef(!1);return g.useEffect(()=>{const c=n.current;if(c)return Bj(c)},[]),a.jsx(F9,{as:mV,allowPinchZoom:!0,children:a.jsx(UP,{...t,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:zc(t.onCloseAutoFocus,c=>{var l;c.preventDefault(),i.current||(l=r.triggerRef.current)==null||l.focus()}),onPointerDownOutside:zc(t.onPointerDownOutside,c=>{const l=c.detail.originalEvent,d=l.button===0&&l.ctrlKey===!0,h=l.button===2||d;i.current=h},{checkForDefaultPrevented:!1}),onFocusOutside:zc(t.onFocusOutside,c=>c.preventDefault(),{checkForDefaultPrevented:!1})})})}),xV=g.forwardRef((t,e)=>{const r=sr($s,t.__scopePopover),n=g.useRef(!1),o=g.useRef(!1);return a.jsx(UP,{...t,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var c,l;(c=t.onCloseAutoFocus)==null||c.call(t,i),i.defaultPrevented||(n.current||(l=r.triggerRef.current)==null||l.focus(),i.preventDefault()),n.current=!1,o.current=!1},onInteractOutside:i=>{var d,h;(d=t.onInteractOutside)==null||d.call(t,i),i.defaultPrevented||(n.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const c=i.target;((h=r.triggerRef.current)==null?void 0:h.contains(c))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}})}),UP=g.forwardRef((t,e)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:c,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:h,onInteractOutside:u,...p}=t,y=sr($s,r),f=Qc(r);return Vj(),a.jsx(T9,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:i,children:a.jsx(R9,{asChild:!0,disableOutsidePointerEvents:c,onInteractOutside:u,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:h,onDismiss:()=>y.onOpenChange(!1),children:a.jsx(TP,{"data-state":GP(y.open),role:"dialog",id:y.contentId,...f,...p,ref:e,style:{...p.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),$P="PopoverClose",kV=g.forwardRef((t,e)=>{const{__scopePopover:r,...n}=t,o=sr($P,r);return a.jsx(DP.button,{type:"button",...n,ref:e,onClick:zc(t.onClick,()=>o.onOpenChange(!1))})});kV.displayName=$P;var gV="PopoverArrow",vV=g.forwardRef((t,e)=>{const{__scopePopover:r,...n}=t,o=Qc(r);return a.jsx(qP,{...o,...n,ref:e})});vV.displayName=gV;function GP(t){return t?"open":"closed"}var wV=FP,MV=HP,bV=VP,WP=BP;const CV=wV,jV=MV,ZP=g.forwardRef(({className:t,align:e="center",sideOffset:r=4,...n},o)=>a.jsx(bV,{children:a.jsx(WP,{ref:o,align:e,sideOffset:r,className:le("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-popover-content-transform-origin]",t),...n})}));ZP.displayName=WP.displayName;const XP=g.forwardRef(({className:t,...e},r)=>a.jsx("textarea",{className:le("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:r,...e}));XP.displayName="Textarea";function TL(t,[e,r]){return Math.min(r,Math.max(e,t))}function ot(t,e,{checkForDefaultPrevented:r=!0}={}){return function(o){if(t==null||t(o),r===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}function JP(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,SV(o,...e)]}function SV(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function qL(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function LV(...t){return e=>{let r=!1;const n=t.map(o=>{const i=qL(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():qL(t[o],null)}}}}function Gt(...t){return g.useCallback(LV(...t),t)}function IV(t){const e=t+"CollectionProvider",[r,n]=JP(e),[o,i]=r(e,{collectionRef:{current:null},itemMap:new Map}),c=m=>{const{scope:x,children:v}=m,w=j.useRef(null),C=j.useRef(new Map).current;return a.jsx(o,{scope:x,itemMap:C,collectionRef:w,children:v})};c.displayName=e;const l=t+"CollectionSlot",d=tt(l),h=j.forwardRef((m,x)=>{const{scope:v,children:w}=m,C=i(l,v),M=Gt(x,C.collectionRef);return a.jsx(d,{ref:M,children:w})});h.displayName=l;const u=t+"CollectionItemSlot",p="data-radix-collection-item",y=tt(u),f=j.forwardRef((m,x)=>{const{scope:v,children:w,...C}=m,M=j.useRef(null),b=Gt(x,M),N=i(u,v);return j.useEffect(()=>(N.itemMap.set(M,{ref:M,...C}),()=>void N.itemMap.delete(M))),a.jsx(y,{[p]:"",ref:b,children:w})});f.displayName=u;function k(m){const x=i(t+"CollectionConsumer",m);return j.useCallback(()=>{const w=x.collectionRef.current;if(!w)return[];const C=Array.from(w.querySelectorAll(`[${p}]`));return Array.from(x.itemMap.values()).sort((N,L)=>C.indexOf(N.ref.current)-C.indexOf(L.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:c,Slot:h,ItemSlot:f},k,n]}var NV=g.createContext(void 0);function AV(t){const e=g.useContext(NV);return t||e||"ltr"}var ga=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},PV=g[" useId ".trim().toString()]||(()=>{}),_V=0;function kS(t){const[e,r]=g.useState(PV());return ga(()=>{r(n=>n??String(_V++))},[t]),e?`radix-${e}`:""}var RV=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Rt=RV.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{});function TV(t){const e=g.useRef(t);return g.useEffect(()=>{e.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}var qV=g[" useInsertionEffect ".trim().toString()]||ga;function DL({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[o,i,c]=DV({defaultProp:e,onChange:r}),l=t!==void 0,d=l?t:o;{const u=g.useRef(t!==void 0);g.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${n} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=l},[l,n])}const h=g.useCallback(u=>{var p;if(l){const y=zV(u)?u(t):u;y!==t&&((p=c.current)==null||p.call(c,y))}else i(u)},[l,t,i,c]);return[d,h]}function DV({defaultProp:t,onChange:e}){const[r,n]=g.useState(t),o=g.useRef(r),i=g.useRef(e);return qV(()=>{i.current=e},[e]),g.useEffect(()=>{var c;o.current!==r&&((c=i.current)==null||c.call(i,r),o.current=r)},[r,o]),[r,n,i]}function zV(t){return typeof t=="function"}var FV=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],EV=FV.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),YP=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),OV="VisuallyHidden",HV=g.forwardRef((t,e)=>a.jsx(EV.span,{...t,ref:e,style:{...YP,...t.style}}));HV.displayName=OV;var VV=[" ","Enter","ArrowUp","ArrowDown"],BV=[" ","Enter"],Yi="Select",[Y9,K9,UV]=IV(Yi),[ec,cU]=JP(Yi,[UV,X9]),Q9=X9(),[$V,cr]=ec(Yi),[GV,WV]=ec(Yi),KP=t=>{const{__scopeSelect:e,children:r,open:n,defaultOpen:o,onOpenChange:i,value:c,defaultValue:l,onValueChange:d,dir:h,name:u,autoComplete:p,disabled:y,required:f,form:k}=t,m=Q9(e),[x,v]=g.useState(null),[w,C]=g.useState(null),[M,b]=g.useState(!1),N=AV(h),[L,A]=DL({prop:n,defaultProp:o??!1,onChange:i,caller:Yi}),[I,q]=DL({prop:c,defaultProp:l,onChange:d,caller:Yi}),P=g.useRef(null),_=x?k||!!x.closest("form"):!0,[R,U]=g.useState(new Set),W=Array.from(R).map(V=>V.props.value).join(";");return a.jsx(RP,{...m,children:a.jsxs($V,{required:f,scope:e,trigger:x,onTriggerChange:v,valueNode:w,onValueNodeChange:C,valueNodeHasChildren:M,onValueNodeHasChildrenChange:b,contentId:kS(),value:I,onValueChange:q,open:L,onOpenChange:A,dir:N,triggerPointerDownPosRef:P,disabled:y,children:[a.jsx(Y9.Provider,{scope:e,children:a.jsx(GV,{scope:t.__scopeSelect,onNativeOptionAdd:g.useCallback(V=>{U(O=>new Set(O).add(V))},[]),onNativeOptionRemove:g.useCallback(V=>{U(O=>{const E=new Set(O);return E.delete(V),E})},[]),children:r})}),_?a.jsxs(M_,{"aria-hidden":!0,required:f,tabIndex:-1,name:u,autoComplete:p,value:I,onChange:V=>q(V.target.value),disabled:y,form:k,children:[I===void 0?a.jsx("option",{value:""}):null,Array.from(R)]},W):null]})})};KP.displayName=Yi;var QP="SelectTrigger",e_=g.forwardRef((t,e)=>{const{__scopeSelect:r,disabled:n=!1,...o}=t,i=Q9(r),c=cr(QP,r),l=c.disabled||n,d=Gt(e,c.onTriggerChange),h=K9(r),u=g.useRef("touch"),[p,y,f]=C_(m=>{const x=h().filter(C=>!C.disabled),v=x.find(C=>C.value===c.value),w=j_(x,m,v);w!==void 0&&c.onValueChange(w.value)}),k=m=>{l||(c.onOpenChange(!0),f()),m&&(c.triggerPointerDownPosRef.current={x:Math.round(m.pageX),y:Math.round(m.pageY)})};return a.jsx(mS,{asChild:!0,...i,children:a.jsx(Rt.button,{type:"button",role:"combobox","aria-controls":c.contentId,"aria-expanded":c.open,"aria-required":c.required,"aria-autocomplete":"none",dir:c.dir,"data-state":c.open?"open":"closed",disabled:l,"data-disabled":l?"":void 0,"data-placeholder":b_(c.value)?"":void 0,...o,ref:d,onClick:ot(o.onClick,m=>{m.currentTarget.focus(),u.current!=="mouse"&&k(m)}),onPointerDown:ot(o.onPointerDown,m=>{u.current=m.pointerType;const x=m.target;x.hasPointerCapture(m.pointerId)&&x.releasePointerCapture(m.pointerId),m.button===0&&m.ctrlKey===!1&&m.pointerType==="mouse"&&(k(m),m.preventDefault())}),onKeyDown:ot(o.onKeyDown,m=>{const x=p.current!=="";!(m.ctrlKey||m.altKey||m.metaKey)&&m.key.length===1&&y(m.key),!(x&&m.key===" ")&&VV.includes(m.key)&&(k(),m.preventDefault())})})})});e_.displayName=QP;var t_="SelectValue",a_=g.forwardRef((t,e)=>{const{__scopeSelect:r,className:n,style:o,children:i,placeholder:c="",...l}=t,d=cr(t_,r),{onValueNodeHasChildrenChange:h}=d,u=i!==void 0,p=Gt(e,d.onValueNodeChange);return ga(()=>{h(u)},[h,u]),a.jsx(Rt.span,{...l,ref:p,style:{pointerEvents:"none"},children:b_(d.value)?a.jsx(a.Fragment,{children:c}):i})});a_.displayName=t_;var ZV="SelectIcon",r_=g.forwardRef((t,e)=>{const{__scopeSelect:r,children:n,...o}=t;return a.jsx(Rt.span,{"aria-hidden":!0,...o,ref:e,children:n||"▼"})});r_.displayName=ZV;var XV="SelectPortal",n_=t=>a.jsx(q9,{asChild:!0,...t});n_.displayName=XV;var Ki="SelectContent",o_=g.forwardRef((t,e)=>{const r=cr(Ki,t.__scopeSelect),[n,o]=g.useState();if(ga(()=>{o(new DocumentFragment)},[]),!r.open){const i=n;return i?C9.createPortal(a.jsx(i_,{scope:t.__scopeSelect,children:a.jsx(Y9.Slot,{scope:t.__scopeSelect,children:a.jsx("div",{children:t.children})})}),i):null}return a.jsx(s_,{...t,ref:e})});o_.displayName=Ki;var Xt=10,[i_,lr]=ec(Ki),JV="SelectContentImpl",YV=tt("SelectContent.RemoveScroll"),s_=g.forwardRef((t,e)=>{const{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:i,onPointerDownOutside:c,side:l,sideOffset:d,align:h,alignOffset:u,arrowPadding:p,collisionBoundary:y,collisionPadding:f,sticky:k,hideWhenDetached:m,avoidCollisions:x,...v}=t,w=cr(Ki,r),[C,M]=g.useState(null),[b,N]=g.useState(null),L=Gt(e,B=>M(B)),[A,I]=g.useState(null),[q,P]=g.useState(null),_=K9(r),[R,U]=g.useState(!1),W=g.useRef(!1);g.useEffect(()=>{if(C)return Bj(C)},[C]),Vj();const V=g.useCallback(B=>{const[X,...J]=_().map(se=>se.ref.current),[ne]=J.slice(-1),pe=document.activeElement;for(const se of B)if(se===pe||(se==null||se.scrollIntoView({block:"nearest"}),se===X&&b&&(b.scrollTop=0),se===ne&&b&&(b.scrollTop=b.scrollHeight),se==null||se.focus(),document.activeElement!==pe))return},[_,b]),O=g.useCallback(()=>V([A,C]),[V,A,C]);g.useEffect(()=>{R&&O()},[R,O]);const{onOpenChange:E,triggerPointerDownPosRef:Q}=w;g.useEffect(()=>{if(C){let B={x:0,y:0};const X=ne=>{var pe,se;B={x:Math.abs(Math.round(ne.pageX)-(((pe=Q.current)==null?void 0:pe.x)??0)),y:Math.abs(Math.round(ne.pageY)-(((se=Q.current)==null?void 0:se.y)??0))}},J=ne=>{B.x<=10&&B.y<=10?ne.preventDefault():C.contains(ne.target)||E(!1),document.removeEventListener("pointermove",X),Q.current=null};return Q.current!==null&&(document.addEventListener("pointermove",X),document.addEventListener("pointerup",J,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",X),document.removeEventListener("pointerup",J,{capture:!0})}}},[C,E,Q]),g.useEffect(()=>{const B=()=>E(!1);return window.addEventListener("blur",B),window.addEventListener("resize",B),()=>{window.removeEventListener("blur",B),window.removeEventListener("resize",B)}},[E]);const[de,ee]=C_(B=>{const X=_().filter(pe=>!pe.disabled),J=X.find(pe=>pe.ref.current===document.activeElement),ne=j_(X,B,J);ne&&setTimeout(()=>ne.ref.current.focus())}),te=g.useCallback((B,X,J)=>{const ne=!W.current&&!J;(w.value!==void 0&&w.value===X||ne)&&(I(B),ne&&(W.current=!0))},[w.value]),Me=g.useCallback(()=>C==null?void 0:C.focus(),[C]),ge=g.useCallback((B,X,J)=>{const ne=!W.current&&!J;(w.value!==void 0&&w.value===X||ne)&&P(B)},[w.value]),ae=n==="popper"?aj:c_,he=ae===aj?{side:l,sideOffset:d,align:h,alignOffset:u,arrowPadding:p,collisionBoundary:y,collisionPadding:f,sticky:k,hideWhenDetached:m,avoidCollisions:x}:{};return a.jsx(i_,{scope:r,content:C,viewport:b,onViewportChange:N,itemRefCallback:te,selectedItem:A,onItemLeave:Me,itemTextRefCallback:ge,focusSelectedItem:O,selectedItemText:q,position:n,isPositioned:R,searchRef:de,children:a.jsx(F9,{as:YV,allowPinchZoom:!0,children:a.jsx(T9,{asChild:!0,trapped:w.open,onMountAutoFocus:B=>{B.preventDefault()},onUnmountAutoFocus:ot(o,B=>{var X;(X=w.trigger)==null||X.focus({preventScroll:!0}),B.preventDefault()}),children:a.jsx(R9,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:c,onFocusOutside:B=>B.preventDefault(),onDismiss:()=>w.onOpenChange(!1),children:a.jsx(ae,{role:"listbox",id:w.contentId,"data-state":w.open?"open":"closed",dir:w.dir,onContextMenu:B=>B.preventDefault(),...v,...he,onPlaced:()=>U(!0),ref:L,style:{display:"flex",flexDirection:"column",outline:"none",...v.style},onKeyDown:ot(v.onKeyDown,B=>{const X=B.ctrlKey||B.altKey||B.metaKey;if(B.key==="Tab"&&B.preventDefault(),!X&&B.key.length===1&&ee(B.key),["ArrowUp","ArrowDown","Home","End"].includes(B.key)){let ne=_().filter(pe=>!pe.disabled).map(pe=>pe.ref.current);if(["ArrowUp","End"].includes(B.key)&&(ne=ne.slice().reverse()),["ArrowUp","ArrowDown"].includes(B.key)){const pe=B.target,se=ne.indexOf(pe);ne=ne.slice(se+1)}setTimeout(()=>V(ne)),B.preventDefault()}})})})})})})});s_.displayName=JV;var KV="SelectItemAlignedPosition",c_=g.forwardRef((t,e)=>{const{__scopeSelect:r,onPlaced:n,...o}=t,i=cr(Ki,r),c=lr(Ki,r),[l,d]=g.useState(null),[h,u]=g.useState(null),p=Gt(e,L=>u(L)),y=K9(r),f=g.useRef(!1),k=g.useRef(!0),{viewport:m,selectedItem:x,selectedItemText:v,focusSelectedItem:w}=c,C=g.useCallback(()=>{if(i.trigger&&i.valueNode&&l&&h&&m&&x&&v){const L=i.trigger.getBoundingClientRect(),A=h.getBoundingClientRect(),I=i.valueNode.getBoundingClientRect(),q=v.getBoundingClientRect();if(i.dir!=="rtl"){const pe=q.left-A.left,se=I.left-pe,Te=L.left-se,Se=L.width+Te,We=Math.max(Se,A.width),rt=window.innerWidth-Xt,st=TL(se,[Xt,Math.max(Xt,rt-We)]);l.style.minWidth=Se+"px",l.style.left=st+"px"}else{const pe=A.right-q.right,se=window.innerWidth-I.right-pe,Te=window.innerWidth-L.right-se,Se=L.width+Te,We=Math.max(Se,A.width),rt=window.innerWidth-Xt,st=TL(se,[Xt,Math.max(Xt,rt-We)]);l.style.minWidth=Se+"px",l.style.right=st+"px"}const P=y(),_=window.innerHeight-Xt*2,R=m.scrollHeight,U=window.getComputedStyle(h),W=parseInt(U.borderTopWidth,10),V=parseInt(U.paddingTop,10),O=parseInt(U.borderBottomWidth,10),E=parseInt(U.paddingBottom,10),Q=W+V+R+E+O,de=Math.min(x.offsetHeight*5,Q),ee=window.getComputedStyle(m),te=parseInt(ee.paddingTop,10),Me=parseInt(ee.paddingBottom,10),ge=L.top+L.height/2-Xt,ae=_-ge,he=x.offsetHeight/2,B=x.offsetTop+he,X=W+V+B,J=Q-X;if(X<=ge){const pe=P.length>0&&x===P[P.length-1].ref.current;l.style.bottom="0px";const se=h.clientHeight-m.offsetTop-m.offsetHeight,Te=Math.max(ae,he+(pe?Me:0)+se+O),Se=X+Te;l.style.height=Se+"px"}else{const pe=P.length>0&&x===P[0].ref.current;l.style.top="0px";const Te=Math.max(ge,W+m.offsetTop+(pe?te:0)+he)+J;l.style.height=Te+"px",m.scrollTop=X-ge+m.offsetTop}l.style.margin=`${Xt}px 0`,l.style.minHeight=de+"px",l.style.maxHeight=_+"px",n==null||n(),requestAnimationFrame(()=>f.current=!0)}},[y,i.trigger,i.valueNode,l,h,m,x,v,i.dir,n]);ga(()=>C(),[C]);const[M,b]=g.useState();ga(()=>{h&&b(window.getComputedStyle(h).zIndex)},[h]);const N=g.useCallback(L=>{L&&k.current===!0&&(C(),w==null||w(),k.current=!1)},[C,w]);return a.jsx(eB,{scope:r,contentWrapper:l,shouldExpandOnScrollRef:f,onScrollButtonChange:N,children:a.jsx("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:M},children:a.jsx(Rt.div,{...o,ref:p,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});c_.displayName=KV;var QV="SelectPopperPosition",aj=g.forwardRef((t,e)=>{const{__scopeSelect:r,align:n="start",collisionPadding:o=Xt,...i}=t,c=Q9(r);return a.jsx(TP,{...c,...i,ref:e,align:n,collisionPadding:o,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});aj.displayName=QV;var[eB,gS]=ec(Ki,{}),rj="SelectViewport",l_=g.forwardRef((t,e)=>{const{__scopeSelect:r,nonce:n,...o}=t,i=lr(rj,r),c=gS(rj,r),l=Gt(e,i.onViewportChange),d=g.useRef(0);return a.jsxs(a.Fragment,{children:[a.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:n}),a.jsx(Y9.Slot,{scope:r,children:a.jsx(Rt.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:l,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:ot(o.onScroll,h=>{const u=h.currentTarget,{contentWrapper:p,shouldExpandOnScrollRef:y}=c;if(y!=null&&y.current&&p){const f=Math.abs(d.current-u.scrollTop);if(f>0){const k=window.innerHeight-Xt*2,m=parseFloat(p.style.minHeight),x=parseFloat(p.style.height),v=Math.max(m,x);if(v<k){const w=v+f,C=Math.min(k,w),M=w-C;p.style.height=C+"px",p.style.bottom==="0px"&&(u.scrollTop=M>0?M:0,p.style.justifyContent="flex-end")}}}d.current=u.scrollTop})})})]})});l_.displayName=rj;var d_="SelectGroup",[tB,aB]=ec(d_),rB=g.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t,o=kS();return a.jsx(tB,{scope:r,id:o,children:a.jsx(Rt.div,{role:"group","aria-labelledby":o,...n,ref:e})})});rB.displayName=d_;var h_="SelectLabel",u_=g.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t,o=aB(h_,r);return a.jsx(Rt.div,{id:o.id,...n,ref:e})});u_.displayName=h_;var M9="SelectItem",[nB,p_]=ec(M9),y_=g.forwardRef((t,e)=>{const{__scopeSelect:r,value:n,disabled:o=!1,textValue:i,...c}=t,l=cr(M9,r),d=lr(M9,r),h=l.value===n,[u,p]=g.useState(i??""),[y,f]=g.useState(!1),k=Gt(e,w=>{var C;return(C=d.itemRefCallback)==null?void 0:C.call(d,w,n,o)}),m=kS(),x=g.useRef("touch"),v=()=>{o||(l.onValueChange(n),l.onOpenChange(!1))};if(n==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return a.jsx(nB,{scope:r,value:n,disabled:o,textId:m,isSelected:h,onItemTextChange:g.useCallback(w=>{p(C=>C||((w==null?void 0:w.textContent)??"").trim())},[]),children:a.jsx(Y9.ItemSlot,{scope:r,value:n,disabled:o,textValue:u,children:a.jsx(Rt.div,{role:"option","aria-labelledby":m,"data-highlighted":y?"":void 0,"aria-selected":h&&y,"data-state":h?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...c,ref:k,onFocus:ot(c.onFocus,()=>f(!0)),onBlur:ot(c.onBlur,()=>f(!1)),onClick:ot(c.onClick,()=>{x.current!=="mouse"&&v()}),onPointerUp:ot(c.onPointerUp,()=>{x.current==="mouse"&&v()}),onPointerDown:ot(c.onPointerDown,w=>{x.current=w.pointerType}),onPointerMove:ot(c.onPointerMove,w=>{var C;x.current=w.pointerType,o?(C=d.onItemLeave)==null||C.call(d):x.current==="mouse"&&w.currentTarget.focus({preventScroll:!0})}),onPointerLeave:ot(c.onPointerLeave,w=>{var C;w.currentTarget===document.activeElement&&((C=d.onItemLeave)==null||C.call(d))}),onKeyDown:ot(c.onKeyDown,w=>{var M;((M=d.searchRef)==null?void 0:M.current)!==""&&w.key===" "||(BV.includes(w.key)&&v(),w.key===" "&&w.preventDefault())})})})})});y_.displayName=M9;var lc="SelectItemText",m_=g.forwardRef((t,e)=>{const{__scopeSelect:r,className:n,style:o,...i}=t,c=cr(lc,r),l=lr(lc,r),d=p_(lc,r),h=WV(lc,r),[u,p]=g.useState(null),y=Gt(e,v=>p(v),d.onItemTextChange,v=>{var w;return(w=l.itemTextRefCallback)==null?void 0:w.call(l,v,d.value,d.disabled)}),f=u==null?void 0:u.textContent,k=g.useMemo(()=>a.jsx("option",{value:d.value,disabled:d.disabled,children:f},d.value),[d.disabled,d.value,f]),{onNativeOptionAdd:m,onNativeOptionRemove:x}=h;return ga(()=>(m(k),()=>x(k)),[m,x,k]),a.jsxs(a.Fragment,{children:[a.jsx(Rt.span,{id:d.textId,...i,ref:y}),d.isSelected&&c.valueNode&&!c.valueNodeHasChildren?C9.createPortal(i.children,c.valueNode):null]})});m_.displayName=lc;var f_="SelectItemIndicator",x_=g.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t;return p_(f_,r).isSelected?a.jsx(Rt.span,{"aria-hidden":!0,...n,ref:e}):null});x_.displayName=f_;var nj="SelectScrollUpButton",k_=g.forwardRef((t,e)=>{const r=lr(nj,t.__scopeSelect),n=gS(nj,t.__scopeSelect),[o,i]=g.useState(!1),c=Gt(e,n.onScrollButtonChange);return ga(()=>{if(r.viewport&&r.isPositioned){let l=function(){const h=d.scrollTop>0;i(h)};const d=r.viewport;return l(),d.addEventListener("scroll",l),()=>d.removeEventListener("scroll",l)}},[r.viewport,r.isPositioned]),o?a.jsx(v_,{...t,ref:c,onAutoScroll:()=>{const{viewport:l,selectedItem:d}=r;l&&d&&(l.scrollTop=l.scrollTop-d.offsetHeight)}}):null});k_.displayName=nj;var oj="SelectScrollDownButton",g_=g.forwardRef((t,e)=>{const r=lr(oj,t.__scopeSelect),n=gS(oj,t.__scopeSelect),[o,i]=g.useState(!1),c=Gt(e,n.onScrollButtonChange);return ga(()=>{if(r.viewport&&r.isPositioned){let l=function(){const h=d.scrollHeight-d.clientHeight,u=Math.ceil(d.scrollTop)<h;i(u)};const d=r.viewport;return l(),d.addEventListener("scroll",l),()=>d.removeEventListener("scroll",l)}},[r.viewport,r.isPositioned]),o?a.jsx(v_,{...t,ref:c,onAutoScroll:()=>{const{viewport:l,selectedItem:d}=r;l&&d&&(l.scrollTop=l.scrollTop+d.offsetHeight)}}):null});g_.displayName=oj;var v_=g.forwardRef((t,e)=>{const{__scopeSelect:r,onAutoScroll:n,...o}=t,i=lr("SelectScrollButton",r),c=g.useRef(null),l=K9(r),d=g.useCallback(()=>{c.current!==null&&(window.clearInterval(c.current),c.current=null)},[]);return g.useEffect(()=>()=>d(),[d]),ga(()=>{var u;const h=l().find(p=>p.ref.current===document.activeElement);(u=h==null?void 0:h.ref.current)==null||u.scrollIntoView({block:"nearest"})},[l]),a.jsx(Rt.div,{"aria-hidden":!0,...o,ref:e,style:{flexShrink:0,...o.style},onPointerDown:ot(o.onPointerDown,()=>{c.current===null&&(c.current=window.setInterval(n,50))}),onPointerMove:ot(o.onPointerMove,()=>{var h;(h=i.onItemLeave)==null||h.call(i),c.current===null&&(c.current=window.setInterval(n,50))}),onPointerLeave:ot(o.onPointerLeave,()=>{d()})})}),oB="SelectSeparator",w_=g.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t;return a.jsx(Rt.div,{"aria-hidden":!0,...n,ref:e})});w_.displayName=oB;var ij="SelectArrow",iB=g.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t,o=Q9(r),i=cr(ij,r),c=lr(ij,r);return i.open&&c.position==="popper"?a.jsx(qP,{...o,...n,ref:e}):null});iB.displayName=ij;var sB="SelectBubbleInput",M_=g.forwardRef(({__scopeSelect:t,value:e,...r},n)=>{const o=g.useRef(null),i=Gt(n,o),c=eS(e);return g.useEffect(()=>{const l=o.current;if(!l)return;const d=window.HTMLSelectElement.prototype,u=Object.getOwnPropertyDescriptor(d,"value").set;if(c!==e&&u){const p=new Event("change",{bubbles:!0});u.call(l,e),l.dispatchEvent(p)}},[c,e]),a.jsx(Rt.select,{...r,style:{...YP,...r.style},ref:i,defaultValue:e})});M_.displayName=sB;function b_(t){return t===""||t===void 0}function C_(t){const e=TV(t),r=g.useRef(""),n=g.useRef(0),o=g.useCallback(c=>{const l=r.current+c;e(l),function d(h){r.current=h,window.clearTimeout(n.current),h!==""&&(n.current=window.setTimeout(()=>d(""),1e3))}(l)},[e]),i=g.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return g.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,o,i]}function j_(t,e,r){const o=e.length>1&&Array.from(e).every(h=>h===e[0])?e[0]:e,i=r?t.indexOf(r):-1;let c=cB(t,Math.max(i,0));o.length===1&&(c=c.filter(h=>h!==r));const d=c.find(h=>h.textValue.toLowerCase().startsWith(o.toLowerCase()));return d!==r?d:void 0}function cB(t,e){return t.map((r,n)=>t[(e+n)%t.length])}var lB=KP,S_=e_,dB=a_,hB=r_,uB=n_,L_=o_,pB=l_,I_=u_,N_=y_,yB=m_,mB=x_,A_=k_,P_=g_,__=w_;const Zc=lB,Xc=dB,Gs=g.forwardRef(({className:t,children:e,...r},n)=>a.jsxs(S_,{ref:n,className:le("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),...r,children:[e,a.jsx(hB,{asChild:!0,children:a.jsx(FA,{className:"h-4 w-4 opacity-50"})})]}));Gs.displayName=S_.displayName;const R_=g.forwardRef(({className:t,...e},r)=>a.jsx(A_,{ref:r,className:le("flex cursor-default items-center justify-center py-1",t),...e,children:a.jsx(XF,{className:"h-4 w-4"})}));R_.displayName=A_.displayName;const T_=g.forwardRef(({className:t,...e},r)=>a.jsx(P_,{ref:r,className:le("flex cursor-default items-center justify-center py-1",t),...e,children:a.jsx(FA,{className:"h-4 w-4"})}));T_.displayName=P_.displayName;const Ws=g.forwardRef(({className:t,children:e,position:r="popper",...n},o)=>a.jsx(uB,{children:a.jsxs(L_,{ref:o,className:le("relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-select-content-transform-origin]",r==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:r,...n,children:[a.jsx(R_,{}),a.jsx(pB,{className:le("p-1",r==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),a.jsx(T_,{})]})}));Ws.displayName=L_.displayName;const fB=g.forwardRef(({className:t,...e},r)=>a.jsx(I_,{ref:r,className:le("px-2 py-1.5 text-sm font-semibold",t),...e}));fB.displayName=I_.displayName;const Zs=g.forwardRef(({className:t,children:e,...r},n)=>a.jsxs(N_,{ref:n,className:le("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...r,children:[a.jsx("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:a.jsx(mB,{children:a.jsx(GF,{className:"h-4 w-4"})})}),a.jsx(yB,{children:e})]}));Zs.displayName=N_.displayName;const xB=g.forwardRef(({className:t,...e},r)=>a.jsx(__,{ref:r,className:le("-mx-1 my-1 h-px bg-muted",t),...e}));xB.displayName=__.displayName;function kB({open:t,onClose:e,onAdded:r,existingExperience:n,onUpdated:o}){const i=new Date().getFullYear(),c=Array.from({length:40},(f,k)=>`${i-k}`),[l,d]=j.useState({title:"",company:"",startYear:"",endYear:"",isPresent:!1,tags:""});j.useEffect(()=>{if(n){const[f,k]=n.period.split(" - ");d({title:n.title,company:n.company,startYear:f||"",endYear:k==="Present"?"":k||"",isPresent:k==="Present",tags:n.tags.join(", ")})}else d({title:"",company:"",startYear:"",endYear:"",isPresent:!1,tags:""})},[n,t]);const[h,u]=j.useState(!1),p=(f,k)=>d(m=>({...m,[f]:k})),y=()=>{const f=l.isPresent?`${l.startYear} - Present`:`${l.startYear} - ${l.endYear}`,k={id:(n==null?void 0:n.id)||`temp-${Date.now()}`,title:l.title,company:l.company,period:f,tags:l.tags.split(",").map(m=>m.trim()).filter(Boolean)};n?o==null||o(k):r(k),d({title:"",company:"",startYear:"",endYear:"",isPresent:!1,tags:""}),e()};return a.jsx(Js,{open:t,onOpenChange:e,children:a.jsxs(as,{children:[a.jsx(ns,{children:n?"Edit Work Experience":"Add Work Experience"}),a.jsxs("div",{className:"space-y-4 py-2",children:[a.jsxs("div",{children:[a.jsx(ye,{children:"Title"}),a.jsx(Ke,{value:l.title,onChange:f=>p("title",f.target.value)})]}),a.jsxs("div",{children:[a.jsx(ye,{children:"Company"}),a.jsx(Ke,{value:l.company,onChange:f=>p("company",f.target.value)})]}),a.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[a.jsxs("div",{children:[a.jsx(ye,{children:"Start Year"}),a.jsxs(Zc,{onValueChange:f=>p("startYear",f),value:l.startYear,children:[a.jsx(Gs,{children:a.jsx(Xc,{placeholder:"Select year"})}),a.jsx(Ws,{children:c.map(f=>a.jsx(Zs,{value:f,children:f},f))})]})]}),!l.isPresent&&a.jsxs("div",{children:[a.jsx(ye,{children:"End Year"}),a.jsxs(Zc,{onValueChange:f=>p("endYear",f),value:l.endYear,children:[a.jsx(Gs,{children:a.jsx(Xc,{placeholder:"Select year"})}),a.jsx(Ws,{children:c.map(f=>a.jsx(Zs,{value:f,children:f},f))})]})]})]}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx("input",{id:"present",type:"checkbox",checked:l.isPresent,onChange:f=>p("isPresent",f.target.checked),className:"w-4 h-4 accent-primary"}),a.jsx(ye,{htmlFor:"present",children:"I currently work here"})]}),a.jsxs("div",{children:[a.jsx(ye,{children:"Tags (comma-separated)"}),a.jsx(XP,{placeholder:"e.g., Product Strategy, iGaming, Agile",value:l.tags,onChange:f=>p("tags",f.target.value)})]})]}),a.jsxs(rs,{children:[a.jsx($,{variant:"outline",onClick:e,children:"Cancel"}),a.jsx($,{onClick:y,disabled:h||!l.title||!l.company||!l.startYear||!l.isPresent&&!l.endYear,children:h?"Saving...":n?"Save Changes":"Add Experience"})]})]})})}function gB(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,vB(o,...e)]}function vB(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function zL(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function wB(...t){return e=>{let r=!1;const n=t.map(o=>{const i=zL(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():zL(t[o],null)}}}}function q_(...t){return g.useCallback(wB(...t),t)}function MB(t,e,{checkForDefaultPrevented:r=!0}={}){return function(o){if(t==null||t(o),r===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}var D_="AlertDialog",[bB,lU]=gB(D_,[vA]),za=vA(),z_=t=>{const{__scopeAlertDialog:e,...r}=t,n=za(e);return a.jsx(DA,{...n,...r,modal:!0})};z_.displayName=D_;var CB="AlertDialogTrigger",jB=g.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,o=za(r);return a.jsx(UF,{...o,...n,ref:e})});jB.displayName=CB;var SB="AlertDialogPortal",F_=t=>{const{__scopeAlertDialog:e,...r}=t,n=za(e);return a.jsx(zA,{...n,...r})};F_.displayName=SB;var LB="AlertDialogOverlay",E_=g.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,o=za(r);return a.jsx(Wj,{...o,...n,ref:e})});E_.displayName=LB;var zs="AlertDialogContent",[IB,NB]=bB(zs),AB=bR("AlertDialogContent"),O_=g.forwardRef((t,e)=>{const{__scopeAlertDialog:r,children:n,...o}=t,i=za(r),c=g.useRef(null),l=q_(e,c),d=g.useRef(null);return a.jsx(OF,{contentName:zs,titleName:H_,docsSlug:"alert-dialog",children:a.jsx(IB,{scope:r,cancelRef:d,children:a.jsxs(Zj,{role:"alertdialog",...i,...o,ref:l,onOpenAutoFocus:MB(o.onOpenAutoFocus,h=>{var u;h.preventDefault(),(u=d.current)==null||u.focus({preventScroll:!0})}),onPointerDownOutside:h=>h.preventDefault(),onInteractOutside:h=>h.preventDefault(),children:[a.jsx(AB,{children:n}),a.jsx(_B,{contentRef:c})]})})})});O_.displayName=zs;var H_="AlertDialogTitle",V_=g.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,o=za(r);return a.jsx(Xj,{...o,...n,ref:e})});V_.displayName=H_;var B_="AlertDialogDescription",U_=g.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,o=za(r);return a.jsx(Jj,{...o,...n,ref:e})});U_.displayName=B_;var PB="AlertDialogAction",$_=g.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,o=za(r);return a.jsx(Yj,{...o,...n,ref:e})});$_.displayName=PB;var G_="AlertDialogCancel",W_=g.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,{cancelRef:o}=NB(G_,r),i=za(r),c=q_(e,o);return a.jsx(Yj,{...i,...n,ref:c})});W_.displayName=G_;var _B=({contentRef:t})=>{const e=`\`${zs}\` requires a description for the component to be accessible for screen reader users.
7814
7814
 
7815
7815
  You can add a description to the \`${zs}\` by passing a \`${B_}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
7816
7816
 
7817
7817
  Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${zs}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.
7818
7818
 
7819
- For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return g.useEffect(()=>{var n;document.getElementById((n=t.current)==null?void 0:n.getAttribute("aria-describedby"))||console.warn(e)},[e,t]),null},RB=z_,TB=F_,Z_=E_,X_=O_,J_=$_,Y_=W_,K_=V_,Q_=U_;const qB=RB,DB=TB,eR=g.forwardRef(({className:t,...e},r)=>a.jsx(Z_,{className:le("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...e,ref:r}));eR.displayName=Z_.displayName;const tR=g.forwardRef(({className:t,...e},r)=>a.jsxs(DB,{children:[a.jsx(eR,{}),a.jsx(X_,{ref:r,className:le("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t),...e})]}));tR.displayName=X_.displayName;const aR=({className:t,...e})=>a.jsx("div",{className:le("flex flex-col space-y-2 text-center sm:text-left",t),...e});aR.displayName="AlertDialogHeader";const rR=({className:t,...e})=>a.jsx("div",{className:le("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...e});rR.displayName="AlertDialogFooter";const nR=g.forwardRef(({className:t,...e},r)=>a.jsx(K_,{ref:r,className:le("text-lg font-semibold",t),...e}));nR.displayName=K_.displayName;const oR=g.forwardRef(({className:t,...e},r)=>a.jsx(Q_,{ref:r,className:le("text-sm text-muted-foreground",t),...e}));oR.displayName=Q_.displayName;const iR=g.forwardRef(({className:t,...e},r)=>a.jsx(J_,{ref:r,className:le(lj(),t),...e}));iR.displayName=J_.displayName;const sR=g.forwardRef(({className:t,...e},r)=>a.jsx(Y_,{ref:r,className:le(lj({variant:"outline"}),"mt-2 sm:mt-0",t),...e}));sR.displayName=Y_.displayName;function FL({open:t,onClose:e,onAdded:r,title:n,placeholder:o}){const[i,c]=j.useState("");j.useEffect(()=>{t||c("")},[t]);const l=()=>{i.trim()&&(r(i.trim()),c(""),e())};return a.jsx(Js,{open:t,onOpenChange:e,children:a.jsxs(as,{children:[a.jsx(Ys,{children:a.jsx(ns,{children:n})}),a.jsx("div",{className:"space-y-4 py-2",children:a.jsxs("div",{children:[a.jsx(ye,{children:n}),a.jsx(Ke,{value:i,onChange:d=>c(d.target.value),placeholder:o||"Type and save"})]})}),a.jsxs(rs,{children:[a.jsx($,{variant:"outline",onClick:e,children:"Cancel"}),a.jsx($,{onClick:l,disabled:!i.trim(),children:"Add"})]})]})})}const EL=["Product Management","Project Management","Agile","Scrum","Leadership","Communication","Stakeholder Management","Game Design","Data Analysis","Marketing Strategy","UX/UI Design","Regulatory Compliance","Casino Operations","Sportsbook Operations","Frontend Development","Backend Development","React","TypeScript","Python","SQL","Kubernetes","Cloud Infrastructure"];function zB({open:t,onClose:e,onAdded:r}){const[n,o]=j.useState(""),[i,c]=j.useState(EL),l=()=>{n.trim()&&(r(n.trim()),o(""),e())},d=h=>{o(h);const u=EL.filter(p=>p.toLowerCase().includes(h.toLowerCase()));c(u)};return a.jsx(Js,{open:t,onOpenChange:e,children:a.jsxs(as,{children:[a.jsx(Ys,{children:a.jsx(ns,{children:"Add Skill"})}),a.jsxs("div",{className:"space-y-4 py-2",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"skill",children:"Skill Name"}),a.jsx(Ke,{id:"skill",placeholder:"e.g. Product Strategy",value:n,onChange:h=>d(h.target.value)})]}),n&&i.length>0&&a.jsx("div",{className:"border rounded-md p-2 space-y-1 max-h-40 overflow-y-auto",children:i.map(h=>a.jsx("div",{className:"cursor-pointer px-2 py-1 hover:bg-muted rounded-md text-sm",onClick:()=>{o(h)},children:h},h))})]}),a.jsxs(rs,{children:[a.jsx($,{variant:"outline",onClick:e,children:"Cancel"}),a.jsx($,{onClick:l,disabled:!n.trim(),children:"Add Skill"})]})]})})}const OL=["Regulation","Technology","Market Trends","Responsible Gaming","Game Design","Payments","Marketing","AI in iGaming","Player Retention","Security"];function FB({open:t,onClose:e,onAdded:r}){const[n,o]=j.useState(""),[i,c]=j.useState(OL),l=()=>{n.trim()&&(r(n.trim()),o(""),e())},d=h=>{o(h),c(OL.filter(u=>u.toLowerCase().includes(h.toLowerCase())))};return a.jsx(Js,{open:t,onOpenChange:e,children:a.jsxs(as,{children:[a.jsx(Ys,{children:a.jsx(ns,{children:"Add Interested Topic"})}),a.jsxs("div",{className:"space-y-4 py-2",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"topic",children:"Topic"}),a.jsx(Ke,{id:"topic",placeholder:"e.g. Game Design",value:n,onChange:h=>d(h.target.value)})]}),n&&i.length>0&&a.jsx("div",{className:"border rounded-md p-2 space-y-1 max-h-40 overflow-y-auto",children:i.map(h=>a.jsx("div",{className:"cursor-pointer px-2 py-1 hover:bg-muted rounded-md text-sm",onClick:()=>o(h),children:h},h))})]}),a.jsxs(rs,{children:[a.jsx($,{variant:"outline",onClick:e,children:"Cancel"}),a.jsx($,{onClick:l,disabled:!n.trim(),children:"Add Topic"})]})]})})}const EB=["English","Spanish","French","German","Italian","Portuguese","Polish","Turkish","Swedish","Norwegian","Finnish","Danish","Dutch","Japanese","Chinese","Korean"],OB=["Native","Fluent","Intermediate","Basic"];function HB({open:t,onClose:e,onAdded:r}){const[n,o]=j.useState({name:"",proficiency:""}),i=()=>{if(!n.name||!n.proficiency)return;const c={name:n.name,proficiency:n.proficiency};r(c),o({name:"",proficiency:""}),e()};return a.jsx(Js,{open:t,onOpenChange:e,children:a.jsxs(as,{children:[a.jsx(Ys,{children:a.jsx(ns,{children:"Add Language"})}),a.jsxs("div",{className:"space-y-4 py-2",children:[a.jsxs("div",{children:[a.jsx(ye,{children:"Language"}),a.jsxs(Zc,{value:n.name,onValueChange:c=>o(l=>({...l,name:c})),children:[a.jsx(Gs,{children:a.jsx(Xc,{placeholder:"Select a language"})}),a.jsx(Ws,{children:EB.map(c=>a.jsx(Zs,{value:c,children:c},c))})]})]}),a.jsxs("div",{children:[a.jsx(ye,{children:"Proficiency"}),a.jsxs(Zc,{value:n.proficiency,onValueChange:c=>o(l=>({...l,proficiency:c})),children:[a.jsx(Gs,{children:a.jsx(Xc,{placeholder:"Select proficiency"})}),a.jsx(Ws,{children:OB.map(c=>a.jsx(Zs,{value:c,children:c},c))})]})]})]}),a.jsxs(rs,{children:[a.jsx($,{variant:"outline",onClick:e,children:"Cancel"}),a.jsx($,{onClick:i,disabled:!n.name||!n.proficiency,children:"Add"})]})]})})}function VB({profile:t,onUpdate:e,isSaving:r=!1}){const[n,o]=j.useState(t),[i,c]=j.useState(!1),[l,d]=j.useState(null);j.useState(null);const[h,u]=j.useState(null),[p,y]=j.useState(!1),[f,k]=j.useState(!1),[m,x]=j.useState(!1),[v,w]=j.useState(!1),[C,M]=j.useState(!1),b=["Full-time","Part-time","Contract","Freelance","Internship","Temporary"],N=["English","Spanish","French","German","Italian","Portuguese","Polish","Turkish","Swedish","Norwegian","Finnish","Danish","Dutch","Japanese","Chinese","Korean"],L=()=>{l&&(o(P=>{const _={...P,workExperience:P.workExperience.filter(R=>R.id!==l)};return e({type:"profile",payload:_}),_}),d(null))},A=(P,_,R)=>{o(U=>({...U,[P]:{...U[P],[_]:R}}))},I=(P,_,R)=>{o(U=>({...U,[P]:{...U[P],[_]:R}}))},q=()=>{e({type:"profile",payload:n})};return a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{className:"flex justify-between items-center",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"text-3xl font-bold",children:"Your Profile"}),a.jsx("p",{className:"text-muted-foreground mt-1",children:"Manage your professional information"})]}),a.jsx($,{onClick:q,disabled:r,children:r?"Saving...":"Save Changes"})]}),a.jsxs(es,{defaultValue:"personal",className:"w-full",children:[a.jsxs(or,{className:"grid w-full grid-cols-3 lg:grid-cols-7",children:[a.jsx(Ce,{value:"personal",children:"Personal"}),a.jsx(Ce,{value:"experience",children:"Experience"}),a.jsx(Ce,{value:"job-search",children:"Job Search"}),a.jsx(Ce,{value:"skills",children:"Skills"}),a.jsx(Ce,{value:"languages",children:"Languages"}),a.jsx(Ce,{value:"alerts",children:"Alerts"}),a.jsx(Ce,{value:"preferences",children:"Preferences"})]}),a.jsx(je,{value:"personal",children:a.jsxs(ve,{children:[a.jsxs(_e,{children:[a.jsx(Re,{children:"Personal Details"}),a.jsx(He,{children:"Update your personal information"})]}),a.jsx(we,{className:"space-y-4",children:a.jsxs("div",{className:"grid gap-4 md:grid-cols-2",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"fullName",children:"Full Name"}),a.jsx(Ke,{id:"fullName",value:n.personalDetails.fullName,onChange:P=>A("personalDetails","fullName",P.target.value)})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"email",children:"Email"}),a.jsx(Ke,{id:"email",type:"email",value:n.personalDetails.email,onChange:P=>A("personalDetails","email",P.target.value)})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"phone",children:"Phone"}),a.jsx(Ke,{id:"phone",value:n.personalDetails.phone,onChange:P=>A("personalDetails","phone",P.target.value)})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"location",children:"Location"}),a.jsx(Ke,{id:"location",value:n.personalDetails.location,onChange:P=>A("personalDetails","location",P.target.value)})]})]})})]})}),a.jsx(je,{value:"experience",children:a.jsxs(ve,{children:[a.jsxs(_e,{children:[a.jsx(Re,{children:"Work Experience"}),a.jsx(He,{children:"Your iGaming industry experience"})]}),a.jsxs(we,{className:"space-y-4",children:[n.workExperience.map(P=>a.jsxs("div",{className:"p-4 border rounded-lg space-y-2 relative group",children:[a.jsxs("div",{className:"flex justify-between items-start",children:[a.jsxs("div",{children:[a.jsx("h4",{className:"font-semibold",children:P.title}),a.jsx("p",{className:"text-sm text-muted-foreground",children:P.company}),a.jsx("p",{className:"text-xs text-muted-foreground",children:P.period})]}),a.jsxs("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity flex gap-2",children:[a.jsx($,{variant:"outline",size:"sm",onClick:()=>{const _=n.workExperience.find(R=>R.id===P.id);u(_||null),c(!0)},children:"Edit"}),a.jsx($,{variant:"destructive",size:"sm",onClick:()=>d(P.id),children:"Delete"})]})]}),a.jsx("div",{className:"flex flex-wrap gap-2",children:P.tags.map(_=>a.jsx(it,{variant:"secondary",children:_},_))})]},P.id)),a.jsx($,{variant:"outline",className:"w-full",onClick:()=>c(!0),children:"Add Experience"})]})]})}),a.jsx(kB,{open:i,onClose:()=>{c(!1),u(null)},existingExperience:h,onAdded:P=>{o(_=>({..._,workExperience:[..._.workExperience,P]}))},onUpdated:P=>{o(_=>({..._,workExperience:_.workExperience.map(R=>R.id===P.id?P:R)}))}}),a.jsx(qB,{open:!!l,onOpenChange:()=>d(null),children:a.jsxs(tR,{children:[a.jsxs(aR,{children:[a.jsx(nR,{children:"Delete Experience"}),a.jsx(oR,{children:"Are you sure you want to delete this work experience? This action cannot be undone."})]}),a.jsxs(rR,{children:[a.jsx(sR,{children:"Cancel"}),a.jsx(iR,{onClick:L,className:"bg-destructive text-white",children:"Delete"})]})]})}),a.jsxs(je,{value:"job-search",children:[a.jsxs(ve,{children:[a.jsxs(_e,{children:[a.jsx(Re,{children:"Job Search Details"}),a.jsx(He,{children:"Define your ideal job preferences"})]}),a.jsxs(we,{className:"space-y-6",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{children:"Desired Roles"}),a.jsx("div",{className:"flex flex-wrap gap-2",children:n.jobSearchDetails.desiredRoles.map(P=>a.jsxs(it,{variant:"secondary",children:[P,a.jsx($,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>o(_=>({..._,jobSearchDetails:{..._.jobSearchDetails,desiredRoles:Array.from(new Set([..._.jobSearchDetails.desiredRoles,P]))}})),children:"✕"})]},P))}),a.jsx($,{variant:"outline",size:"sm",onClick:()=>y(!0),children:"Add Role"})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{children:"Preferred Locations"}),a.jsx("div",{className:"flex flex-wrap gap-2",children:n.jobSearchDetails.locations.map(P=>a.jsxs(it,{variant:"secondary",children:[P,a.jsx($,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>o(_=>({..._,jobSearchDetails:{..._.jobSearchDetails,locations:_.jobSearchDetails.locations.filter(R=>R!==P)}})),children:"✕"})]},P))}),a.jsx($,{variant:"outline",size:"sm",onClick:()=>k(!0),children:"Add Location"})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{children:"Employment Type"}),a.jsxs(CV,{children:[a.jsx(jV,{asChild:!0,children:a.jsx($,{variant:"outline",className:"w-full justify-between",children:n.jobSearchDetails.employmentType.length>0?n.jobSearchDetails.employmentType.join(", "):"Select Employment Type"})}),a.jsx(ZP,{className:"w-64 p-2 space-y-2",children:b.map(P=>{const _=n.jobSearchDetails.employmentType.includes(P);return a.jsxs("div",{className:"flex items-center space-x-2",onClick:()=>o(R=>{const W=R.jobSearchDetails.employmentType.includes(P)?R.jobSearchDetails.employmentType.filter(V=>V!==P):[...R.jobSearchDetails.employmentType,P];return{...R,jobSearchDetails:{...R.jobSearchDetails,employmentType:W}}}),children:[a.jsx(oS,{checked:_}),a.jsx(ye,{className:"text-sm",children:P})]},P)})})]})]})]})]}),a.jsx(FL,{open:p,onClose:()=>y(!1),title:"Add Desired Role",placeholder:"e.g. Senior Product Manager",onAdded:P=>o(_=>({..._,jobSearchDetails:{..._.jobSearchDetails,desiredRoles:[..._.jobSearchDetails.desiredRoles,P]}}))}),a.jsx(FL,{open:f,onClose:()=>k(!1),title:"Add Preferred Location",placeholder:"e.g. Malta or Remote",onAdded:P=>o(_=>({..._,jobSearchDetails:{..._.jobSearchDetails,locations:[..._.jobSearchDetails.locations,P]}}))})]}),a.jsxs(je,{value:"skills",children:[a.jsxs(ve,{children:[a.jsxs(_e,{children:[a.jsx(Re,{children:"Skill Set"}),a.jsx(He,{children:"Your professional skills and expertise"})]}),a.jsxs(we,{className:"space-y-4",children:[a.jsx("div",{className:"flex flex-wrap gap-2",children:n.skills.map(P=>a.jsxs(it,{variant:"secondary",className:"flex items-center gap-1",children:[P,a.jsx($,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>o(_=>({..._,skills:_.skills.filter(R=>R!==P)})),children:"✕"})]},P))}),a.jsx($,{variant:"outline",onClick:()=>x(!0),children:"Add Skill"})]})]}),a.jsx(zB,{open:m,onClose:()=>x(!1),onAdded:P=>o(_=>({..._,skills:Array.from(new Set([..._.skills,P]))}))})]}),a.jsxs(je,{value:"languages",children:[a.jsxs(ve,{children:[a.jsxs(_e,{children:[a.jsx(Re,{children:"Languages"}),a.jsx(He,{children:"Your spoken and professional languages"})]}),a.jsxs(we,{className:"space-y-4",children:[a.jsx("div",{className:"flex flex-wrap gap-2",children:n.languages.map((P,_)=>a.jsxs(it,{variant:"secondary",className:"flex items-center gap-1",children:[P.name," — ",P.proficiency,a.jsx($,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>o(R=>({...R,languages:R.languages.filter((U,W)=>W!==_)})),children:"✕"})]},`${P.name}-${_}`))}),a.jsx($,{variant:"outline",onClick:()=>M(!0),children:"Add Language"})]})]}),a.jsx(HB,{open:C,onClose:()=>M(!1),onAdded:P=>o(_=>({..._,languages:[..._.languages,P]}))})]}),a.jsx(je,{value:"alerts",children:a.jsxs(ve,{children:[a.jsxs(_e,{children:[a.jsx(Re,{children:"Alerts & Subscriptions"}),a.jsx(He,{children:"Manage your notification preferences"})]}),a.jsxs(we,{className:"space-y-6",children:[a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(ye,{htmlFor:"job-alerts",className:"text-base",children:"Job Alerts"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Get notified about new job matches"})]}),a.jsx(Yt,{id:"job-alerts",checked:n.alerts.jobAlerts,onCheckedChange:P=>I("alerts","jobAlerts",P)})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(ye,{htmlFor:"course-alerts",className:"text-base",children:"Course Alerts"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Updates on new courses and training"})]}),a.jsx(Yt,{id:"course-alerts",checked:n.alerts.courseAlerts,onCheckedChange:P=>I("alerts","courseAlerts",P)})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(ye,{htmlFor:"news-alerts",className:"text-base",children:"News Alerts"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Industry news and updates"})]}),a.jsx(Yt,{id:"news-alerts",checked:n.alerts.newsAlerts,onCheckedChange:P=>I("alerts","newsAlerts",P)})]})]})]})}),a.jsxs(je,{value:"preferences",children:[a.jsxs(ve,{children:[a.jsxs(_e,{children:[a.jsx(Re,{children:"Preferences"}),a.jsx(He,{children:"Customize your platform experience"})]}),a.jsxs(we,{className:"space-y-6",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{children:"Interested Topics"}),a.jsx("div",{className:"flex flex-wrap gap-2",children:n.preferences.topics.map(P=>a.jsxs(it,{variant:"secondary",className:"flex items-center gap-1",children:[P,a.jsx($,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>o(_=>({..._,preferences:{..._.preferences,topics:_.preferences.topics.filter(R=>R!==P)}})),children:"✕"})]},P))}),a.jsx($,{variant:"outline",size:"sm",onClick:()=>w(!0),children:"Manage Topics"})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"language",children:"Language"}),a.jsxs(Zc,{value:n.preferences.language,onValueChange:P=>A("preferences","language",P),children:[a.jsx(Gs,{id:"language",children:a.jsx(Xc,{placeholder:"Select your preferred language"})}),a.jsx(Ws,{children:N.map(P=>a.jsx(Zs,{value:P,children:P},P))})]})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(ye,{htmlFor:"email-notif",className:"text-base",children:"Email Notifications"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Receive updates via email"})]}),a.jsx(Yt,{id:"email-notif",checked:n.preferences.emailNotifications,onCheckedChange:P=>I("preferences","emailNotifications",P)})]})]})]}),a.jsx(FB,{open:v,onClose:()=>w(!1),onAdded:P=>o(_=>({..._,preferences:{..._.preferences,topics:Array.from(new Set([..._.preferences.topics,P]))}}))})]})]})]})}function BB({savedJobs:t,applications:e,recommendedJobs:r,onApply:n,onRemove:o,onUploadCV:i,onSetAlert:c,onUpdateProfile:l}){const d=x=>({savedJobs:x.saved,recommendedJobs:x.recommended,applications:x.applications}),[h,u]=j.useState({saved:t||[],recommended:r||[],applications:e||[]});j.useEffect(()=>{u({saved:t||[],recommended:r||[],applications:e||[]})},[t,r,e]);const p=x=>{u(v=>{if(v.saved.some(M=>M.id===x.id))return v;const C={...v,saved:[...v.saved,x]};return l==null||l({type:"jobs",payload:d(C)}),C})},y=x=>{u(v=>{const w={...v,saved:v.saved.filter(C=>C.id!==x)};return l==null||l({type:"jobs",payload:d(w)}),w})},f=x=>{u(v=>{const w={...v,recommended:v.recommended.filter(C=>C.id!==x)};return l==null||l({type:"jobs",payload:d(w)}),w})},k=x=>{const v=h.recommended.find(w=>w.id===x);v&&(u(w=>{const C={...w,applications:[...w.applications,{...v,status:"Applied",appliedDate:new Date().toLocaleDateString()}]};return l==null||l({type:"jobs",payload:d(C)}),C}),n(x))},m=({job:x,view:v})=>{var b;const w=h.saved.some(N=>N.id===x.id),C=x.city?`${x.city}, ${x.country}`:x.location,M=x.salaryMin&&x.salaryMax?`${x.salaryMin}–${x.salaryMax} ${x.salaryCurrency||""}`:void 0;return a.jsxs(ve,{children:[a.jsxs(_e,{children:[a.jsxs("div",{className:"flex justify-between items-start",children:[a.jsxs("div",{className:"flex-1",children:[a.jsx(Re,{className:"text-lg",children:x.title}),a.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground mt-2",children:[a.jsxs("span",{className:"flex items-center gap-1",children:[a.jsx(gs,{className:"h-4 w-4"})," ",x.company]}),a.jsxs("span",{className:"flex items-center gap-1",children:[a.jsx(Bt,{className:"h-4 w-4"})," ",C]})]})]}),v==="applications"&&x.status&&a.jsx(it,{variant:"secondary",children:x.status})]}),M&&a.jsx("p",{className:"text-sm font-semibold text-accent mt-1",children:M})]}),a.jsx(we,{children:a.jsxs("div",{className:"space-y-3",children:[a.jsxs("div",{className:"flex flex-wrap gap-2",children:[x.department&&a.jsx(it,{variant:"outline",children:x.department}),(b=x.skills)==null?void 0:b.slice(0,6).map(N=>a.jsx(it,{variant:"secondary",children:N},N))]}),v==="applications"&&x.appliedDate&&a.jsxs("p",{className:"text-xs text-muted-foreground flex items-center gap-1",children:[a.jsx(Kt,{className:"h-3 w-3"}),"Applied ",x.appliedDate]}),a.jsxs("div",{className:"flex gap-2",children:[v==="recommended"&&a.jsxs(a.Fragment,{children:[a.jsx($,{size:"sm",onClick:()=>k(x.id),children:"Apply Now"}),a.jsx($,{variant:w?"secondary":"outline",size:"sm",disabled:w,onClick:()=>p(x),children:w?"Saved":"Save Job"}),a.jsx($,{variant:"destructive",size:"sm",onClick:()=>f(x.id),children:"Remove"})]}),v==="saved"&&a.jsx($,{variant:"destructive",size:"sm",onClick:()=>y(x.id),children:"Remove"}),v==="applications"&&a.jsx($,{variant:"outline",size:"sm",children:"View Application"})]})]})})]})};return a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{className:"flex justify-between items-center",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"text-3xl font-bold",children:"Jobs"}),a.jsx("p",{className:"text-muted-foreground mt-1",children:"Manage your job search"})]}),a.jsxs("div",{className:"flex gap-2",children:[a.jsx($,{variant:"outline",onClick:c,children:"Set Job Alerts"}),a.jsxs($,{onClick:i,children:[a.jsx(Ps,{className:"h-4 w-4 mr-2"}),"Upload CV"]})]})]}),a.jsxs(es,{defaultValue:"recommended",className:"w-full",children:[a.jsxs(or,{children:[a.jsxs(Ce,{value:"recommended",children:["Recommended (",h.recommended.length,")"]}),a.jsxs(Ce,{value:"saved",children:[a.jsx(pa,{className:"h-4 w-4 mr-2"}),"Saved (",h.saved.length,")"]}),a.jsxs(Ce,{value:"applications",children:[a.jsx(ft,{className:"h-4 w-4 mr-2"}),"Applications (",h.applications.length,")"]})]}),a.jsx(je,{value:"recommended",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4",children:h.recommended.map(x=>a.jsx(m,{job:x,view:"recommended"},x.id))})}),a.jsx(je,{value:"saved",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4",children:h.saved.length===0?a.jsx(ve,{children:a.jsxs(we,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(pa,{className:"h-12 w-12 text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No saved jobs yet"}),a.jsx($,{variant:"link",className:"mt-2",children:"Browse Jobs"})]})}):h.saved.map(x=>a.jsx(m,{job:x,view:"saved"},x.id))})}),a.jsx(je,{value:"applications",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4",children:h.applications.length===0?a.jsx(ve,{children:a.jsxs(we,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(ft,{className:"h-12 w-12 text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No applications yet"}),a.jsx($,{variant:"link",className:"mt-2",children:"Start Applying"})]})}):h.applications.map(x=>a.jsx(m,{job:x,view:"applications"},x.id))})})]})]})}function UB(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,$B(o,...e)]}function $B(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var GB=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],cR=GB.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),vS="Progress",wS=100,[WB,dU]=UB(vS),[ZB,XB]=WB(vS),lR=g.forwardRef((t,e)=>{const{__scopeProgress:r,value:n=null,max:o,getValueLabel:i=JB,...c}=t;(o||o===0)&&!HL(o)&&console.error(YB(`${o}`,"Progress"));const l=HL(o)?o:wS;n!==null&&!VL(n,l)&&console.error(KB(`${n}`,"Progress"));const d=VL(n,l)?n:null,h=b9(d)?i(d,l):void 0;return a.jsx(ZB,{scope:r,value:d,max:l,children:a.jsx(cR.div,{"aria-valuemax":l,"aria-valuemin":0,"aria-valuenow":b9(d)?d:void 0,"aria-valuetext":h,role:"progressbar","data-state":uR(d,l),"data-value":d??void 0,"data-max":l,...c,ref:e})})});lR.displayName=vS;var dR="ProgressIndicator",hR=g.forwardRef((t,e)=>{const{__scopeProgress:r,...n}=t,o=XB(dR,r);return a.jsx(cR.div,{"data-state":uR(o.value,o.max),"data-value":o.value??void 0,"data-max":o.max,...n,ref:e})});hR.displayName=dR;function JB(t,e){return`${Math.round(t/e*100)}%`}function uR(t,e){return t==null?"indeterminate":t===e?"complete":"loading"}function b9(t){return typeof t=="number"}function HL(t){return b9(t)&&!isNaN(t)&&t>0}function VL(t,e){return b9(t)&&!isNaN(t)&&t<=e&&t>=0}function YB(t,e){return`Invalid prop \`max\` of value \`${t}\` supplied to \`${e}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${wS}\`.`}function KB(t,e){return`Invalid prop \`value\` of value \`${t}\` supplied to \`${e}\`. The \`value\` prop must be:
7819
+ For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return g.useEffect(()=>{var n;document.getElementById((n=t.current)==null?void 0:n.getAttribute("aria-describedby"))||console.warn(e)},[e,t]),null},RB=z_,TB=F_,Z_=E_,X_=O_,J_=$_,Y_=W_,K_=V_,Q_=U_;const qB=RB,DB=TB,eR=g.forwardRef(({className:t,...e},r)=>a.jsx(Z_,{className:le("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...e,ref:r}));eR.displayName=Z_.displayName;const tR=g.forwardRef(({className:t,...e},r)=>a.jsxs(DB,{children:[a.jsx(eR,{}),a.jsx(X_,{ref:r,className:le("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t),...e})]}));tR.displayName=X_.displayName;const aR=({className:t,...e})=>a.jsx("div",{className:le("flex flex-col space-y-2 text-center sm:text-left",t),...e});aR.displayName="AlertDialogHeader";const rR=({className:t,...e})=>a.jsx("div",{className:le("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...e});rR.displayName="AlertDialogFooter";const nR=g.forwardRef(({className:t,...e},r)=>a.jsx(K_,{ref:r,className:le("text-lg font-semibold",t),...e}));nR.displayName=K_.displayName;const oR=g.forwardRef(({className:t,...e},r)=>a.jsx(Q_,{ref:r,className:le("text-sm text-muted-foreground",t),...e}));oR.displayName=Q_.displayName;const iR=g.forwardRef(({className:t,...e},r)=>a.jsx(J_,{ref:r,className:le(lj(),t),...e}));iR.displayName=J_.displayName;const sR=g.forwardRef(({className:t,...e},r)=>a.jsx(Y_,{ref:r,className:le(lj({variant:"outline"}),"mt-2 sm:mt-0",t),...e}));sR.displayName=Y_.displayName;function FL({open:t,onClose:e,onAdded:r,title:n,placeholder:o}){const[i,c]=j.useState("");j.useEffect(()=>{t||c("")},[t]);const l=()=>{i.trim()&&(r(i.trim()),c(""),e())};return a.jsx(Js,{open:t,onOpenChange:e,children:a.jsxs(as,{children:[a.jsx(Ys,{children:a.jsx(ns,{children:n})}),a.jsx("div",{className:"space-y-4 py-2",children:a.jsxs("div",{children:[a.jsx(ye,{children:n}),a.jsx(Ke,{value:i,onChange:d=>c(d.target.value),placeholder:o||"Type and save"})]})}),a.jsxs(rs,{children:[a.jsx($,{variant:"outline",onClick:e,children:"Cancel"}),a.jsx($,{onClick:l,disabled:!i.trim(),children:"Add"})]})]})})}const EL=["Product Management","Project Management","Agile","Scrum","Leadership","Communication","Stakeholder Management","Game Design","Data Analysis","Marketing Strategy","UX/UI Design","Regulatory Compliance","Casino Operations","Sportsbook Operations","Frontend Development","Backend Development","React","TypeScript","Python","SQL","Kubernetes","Cloud Infrastructure"];function zB({open:t,onClose:e,onAdded:r}){const[n,o]=j.useState(""),[i,c]=j.useState(EL),l=()=>{n.trim()&&(r(n.trim()),o(""),e())},d=h=>{o(h);const u=EL.filter(p=>p.toLowerCase().includes(h.toLowerCase()));c(u)};return a.jsx(Js,{open:t,onOpenChange:e,children:a.jsxs(as,{children:[a.jsx(Ys,{children:a.jsx(ns,{children:"Add Skill"})}),a.jsxs("div",{className:"space-y-4 py-2",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"skill",children:"Skill Name"}),a.jsx(Ke,{id:"skill",placeholder:"e.g. Product Strategy",value:n,onChange:h=>d(h.target.value)})]}),n&&i.length>0&&a.jsx("div",{className:"border rounded-md p-2 space-y-1 max-h-40 overflow-y-auto",children:i.map(h=>a.jsx("div",{className:"cursor-pointer px-2 py-1 hover:bg-muted rounded-md text-sm",onClick:()=>{o(h)},children:h},h))})]}),a.jsxs(rs,{children:[a.jsx($,{variant:"outline",onClick:e,children:"Cancel"}),a.jsx($,{onClick:l,disabled:!n.trim(),children:"Add Skill"})]})]})})}const OL=["Regulation","Technology","Market Trends","Responsible Gaming","Game Design","Payments","Marketing","AI in iGaming","Player Retention","Security"];function FB({open:t,onClose:e,onAdded:r}){const[n,o]=j.useState(""),[i,c]=j.useState(OL),l=()=>{n.trim()&&(r(n.trim()),o(""),e())},d=h=>{o(h),c(OL.filter(u=>u.toLowerCase().includes(h.toLowerCase())))};return a.jsx(Js,{open:t,onOpenChange:e,children:a.jsxs(as,{children:[a.jsx(Ys,{children:a.jsx(ns,{children:"Add Interested Topic"})}),a.jsxs("div",{className:"space-y-4 py-2",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"topic",children:"Topic"}),a.jsx(Ke,{id:"topic",placeholder:"e.g. Game Design",value:n,onChange:h=>d(h.target.value)})]}),n&&i.length>0&&a.jsx("div",{className:"border rounded-md p-2 space-y-1 max-h-40 overflow-y-auto",children:i.map(h=>a.jsx("div",{className:"cursor-pointer px-2 py-1 hover:bg-muted rounded-md text-sm",onClick:()=>o(h),children:h},h))})]}),a.jsxs(rs,{children:[a.jsx($,{variant:"outline",onClick:e,children:"Cancel"}),a.jsx($,{onClick:l,disabled:!n.trim(),children:"Add Topic"})]})]})})}const EB=["English","Spanish","French","German","Italian","Portuguese","Polish","Turkish","Swedish","Norwegian","Finnish","Danish","Dutch","Japanese","Chinese","Korean"],OB=["Native","Fluent","Intermediate","Basic"];function HB({open:t,onClose:e,onAdded:r}){const[n,o]=j.useState({name:"",proficiency:""}),i=()=>{if(!n.name||!n.proficiency)return;const c={name:n.name,proficiency:n.proficiency};r(c),o({name:"",proficiency:""}),e()};return a.jsx(Js,{open:t,onOpenChange:e,children:a.jsxs(as,{children:[a.jsx(Ys,{children:a.jsx(ns,{children:"Add Language"})}),a.jsxs("div",{className:"space-y-4 py-2",children:[a.jsxs("div",{children:[a.jsx(ye,{children:"Language"}),a.jsxs(Zc,{value:n.name,onValueChange:c=>o(l=>({...l,name:c})),children:[a.jsx(Gs,{children:a.jsx(Xc,{placeholder:"Select a language"})}),a.jsx(Ws,{children:EB.map(c=>a.jsx(Zs,{value:c,children:c},c))})]})]}),a.jsxs("div",{children:[a.jsx(ye,{children:"Proficiency"}),a.jsxs(Zc,{value:n.proficiency,onValueChange:c=>o(l=>({...l,proficiency:c})),children:[a.jsx(Gs,{children:a.jsx(Xc,{placeholder:"Select proficiency"})}),a.jsx(Ws,{children:OB.map(c=>a.jsx(Zs,{value:c,children:c},c))})]})]})]}),a.jsxs(rs,{children:[a.jsx($,{variant:"outline",onClick:e,children:"Cancel"}),a.jsx($,{onClick:i,disabled:!n.name||!n.proficiency,children:"Add"})]})]})})}function VB({profile:t,onUpdate:e,isSaving:r=!1}){const[n,o]=j.useState(t),[i,c]=j.useState(!1),[l,d]=j.useState(null);j.useState(null);const[h,u]=j.useState(null),[p,y]=j.useState(!1),[f,k]=j.useState(!1),[m,x]=j.useState(!1),[v,w]=j.useState(!1),[C,M]=j.useState(!1),b=["Full-time","Part-time","Contract","Freelance","Internship","Temporary"],N=["English","Spanish","French","German","Italian","Portuguese","Polish","Turkish","Swedish","Norwegian","Finnish","Danish","Dutch","Japanese","Chinese","Korean"],L=()=>{l&&(o(P=>{const _={...P,workExperience:P.workExperience.filter(R=>R.id!==l)};return e({type:"profile",payload:_}),_}),d(null))},A=(P,_,R)=>{o(U=>({...U,[P]:{...U[P],[_]:R}}))},I=(P,_,R)=>{o(U=>({...U,[P]:{...U[P],[_]:R}}))},q=()=>{e({type:"profile",payload:n})};return a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{className:"flex justify-between items-center",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"text-3xl font-bold",children:"Your Profile"}),a.jsx("p",{className:"text-muted-foreground mt-1",children:"Manage your professional information"})]}),a.jsx($,{onClick:q,disabled:r,children:r?"Saving...":"Save Changes"})]}),a.jsxs(es,{defaultValue:"personal",className:"w-full",children:[a.jsxs(or,{className:"grid w-full grid-cols-3 lg:grid-cols-7",children:[a.jsx(Ce,{value:"personal",children:"Personal"}),a.jsx(Ce,{value:"experience",children:"Experience"}),a.jsx(Ce,{value:"job-search",children:"Job Search"}),a.jsx(Ce,{value:"skills",children:"Skills"}),a.jsx(Ce,{value:"languages",children:"Languages"}),a.jsx(Ce,{value:"alerts",children:"Alerts"}),a.jsx(Ce,{value:"preferences",children:"Preferences"})]}),a.jsx(je,{value:"personal",children:a.jsxs(ve,{children:[a.jsxs(_e,{children:[a.jsx(Re,{children:"Personal Details"}),a.jsx(He,{children:"Update your personal information"})]}),a.jsx(we,{className:"space-y-4",children:a.jsxs("div",{className:"grid gap-4 md:grid-cols-2",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"fullName",children:"Full Name"}),a.jsx(Ke,{id:"fullName",value:n.personalDetails.fullName,onChange:P=>A("personalDetails","fullName",P.target.value)})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"email",children:"Email"}),a.jsx(Ke,{id:"email",type:"email",value:n.personalDetails.email,onChange:P=>A("personalDetails","email",P.target.value)})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"phone",children:"Phone"}),a.jsx(Ke,{id:"phone",value:n.personalDetails.phone,onChange:P=>A("personalDetails","phone",P.target.value)})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"location",children:"Location"}),a.jsx(Ke,{id:"location",value:n.personalDetails.location,onChange:P=>A("personalDetails","location",P.target.value)})]})]})})]})}),a.jsx(je,{value:"experience",children:a.jsxs(ve,{children:[a.jsxs(_e,{children:[a.jsx(Re,{children:"Work Experience"}),a.jsx(He,{children:"Your iGaming industry experience"})]}),a.jsxs(we,{className:"space-y-4",children:[n.workExperience.map(P=>a.jsxs("div",{className:"p-4 border rounded-lg space-y-2 relative group",children:[a.jsxs("div",{className:"flex justify-between items-start",children:[a.jsxs("div",{children:[a.jsx("h4",{className:"font-semibold",children:P.title}),a.jsx("p",{className:"text-sm text-muted-foreground",children:P.company}),a.jsx("p",{className:"text-xs text-muted-foreground",children:P.period})]}),a.jsxs("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity flex gap-2",children:[a.jsx($,{variant:"outline",size:"sm",onClick:()=>{const _=n.workExperience.find(R=>R.id===P.id);u(_||null),c(!0)},children:"Edit"}),a.jsx($,{variant:"destructive",size:"sm",onClick:()=>d(P.id),children:"Delete"})]})]}),a.jsx("div",{className:"flex flex-wrap gap-2",children:P.tags.map(_=>a.jsx(it,{variant:"secondary",children:_},_))})]},P.id)),a.jsx($,{variant:"outline",className:"w-full",onClick:()=>c(!0),children:"Add Experience"})]})]})}),a.jsx(kB,{open:i,onClose:()=>{c(!1),u(null)},existingExperience:h,onAdded:P=>{o(_=>({..._,workExperience:[..._.workExperience,P]}))},onUpdated:P=>{o(_=>({..._,workExperience:_.workExperience.map(R=>R.id===P.id?P:R)}))}}),a.jsx(qB,{open:!!l,onOpenChange:()=>d(null),children:a.jsxs(tR,{children:[a.jsxs(aR,{children:[a.jsx(nR,{children:"Delete Experience"}),a.jsx(oR,{children:"Are you sure you want to delete this work experience? This action cannot be undone."})]}),a.jsxs(rR,{children:[a.jsx(sR,{children:"Cancel"}),a.jsx(iR,{onClick:L,className:"bg-destructive text-white",children:"Delete"})]})]})}),a.jsxs(je,{value:"job-search",children:[a.jsxs(ve,{children:[a.jsxs(_e,{children:[a.jsx(Re,{children:"Job Search Details"}),a.jsx(He,{children:"Define your ideal job preferences"})]}),a.jsxs(we,{className:"space-y-6",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{children:"Desired Roles"}),a.jsx("div",{className:"flex flex-wrap gap-2",children:n.jobSearchDetails.desiredRoles.map(P=>a.jsxs(it,{variant:"secondary",children:[P,a.jsx($,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>o(_=>({..._,jobSearchDetails:{..._.jobSearchDetails,desiredRoles:Array.from(new Set([..._.jobSearchDetails.desiredRoles,P]))}})),children:"✕"})]},P))}),a.jsx($,{variant:"outline",size:"sm",onClick:()=>y(!0),children:"Add Role"})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{children:"Preferred Locations"}),a.jsx("div",{className:"flex flex-wrap gap-2",children:n.jobSearchDetails.locations.map(P=>a.jsxs(it,{variant:"secondary",children:[P,a.jsx($,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>o(_=>({..._,jobSearchDetails:{..._.jobSearchDetails,locations:_.jobSearchDetails.locations.filter(R=>R!==P)}})),children:"✕"})]},P))}),a.jsx($,{variant:"outline",size:"sm",onClick:()=>k(!0),children:"Add Location"})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{children:"Employment Type"}),a.jsxs(CV,{children:[a.jsx(jV,{asChild:!0,children:a.jsx($,{variant:"outline",className:"w-full justify-between",children:n.jobSearchDetails.employmentType.length>0?n.jobSearchDetails.employmentType.join(", "):"Select Employment Type"})}),a.jsx(ZP,{className:"w-64 p-2 space-y-2",children:b.map(P=>{const _=n.jobSearchDetails.employmentType.includes(P);return a.jsxs("div",{className:"flex items-center space-x-2",onClick:()=>o(R=>{const W=R.jobSearchDetails.employmentType.includes(P)?R.jobSearchDetails.employmentType.filter(V=>V!==P):[...R.jobSearchDetails.employmentType,P];return{...R,jobSearchDetails:{...R.jobSearchDetails,employmentType:W}}}),children:[a.jsx(oS,{checked:_}),a.jsx(ye,{className:"text-sm",children:P})]},P)})})]})]})]})]}),a.jsx(FL,{open:p,onClose:()=>y(!1),title:"Add Desired Role",placeholder:"e.g. Senior Product Manager",onAdded:P=>o(_=>({..._,jobSearchDetails:{..._.jobSearchDetails,desiredRoles:[..._.jobSearchDetails.desiredRoles,P]}}))}),a.jsx(FL,{open:f,onClose:()=>k(!1),title:"Add Preferred Location",placeholder:"e.g. Malta or Remote",onAdded:P=>o(_=>({..._,jobSearchDetails:{..._.jobSearchDetails,locations:[..._.jobSearchDetails.locations,P]}}))})]}),a.jsxs(je,{value:"skills",children:[a.jsxs(ve,{children:[a.jsxs(_e,{children:[a.jsx(Re,{children:"Skill Set"}),a.jsx(He,{children:"Your professional skills and expertise"})]}),a.jsxs(we,{className:"space-y-4",children:[a.jsx("div",{className:"flex flex-wrap gap-2",children:n.skills.map(P=>a.jsxs(it,{variant:"secondary",className:"flex items-center gap-1",children:[P,a.jsx($,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>o(_=>({..._,skills:_.skills.filter(R=>R!==P)})),children:"✕"})]},P))}),a.jsx($,{variant:"outline",onClick:()=>x(!0),children:"Add Skill"})]})]}),a.jsx(zB,{open:m,onClose:()=>x(!1),onAdded:P=>o(_=>({..._,skills:Array.from(new Set([..._.skills,P]))}))})]}),a.jsxs(je,{value:"languages",children:[a.jsxs(ve,{children:[a.jsxs(_e,{children:[a.jsx(Re,{children:"Languages"}),a.jsx(He,{children:"Your spoken and professional languages"})]}),a.jsxs(we,{className:"space-y-4",children:[a.jsx("div",{className:"flex flex-wrap gap-2",children:n.languages.map((P,_)=>a.jsxs(it,{variant:"secondary",className:"flex items-center gap-1",children:[P.name," — ",P.proficiency,a.jsx($,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>o(R=>({...R,languages:R.languages.filter((U,W)=>W!==_)})),children:"✕"})]},`${P.name}-${_}`))}),a.jsx($,{variant:"outline",onClick:()=>M(!0),children:"Add Language"})]})]}),a.jsx(HB,{open:C,onClose:()=>M(!1),onAdded:P=>o(_=>({..._,languages:[..._.languages,P]}))})]}),a.jsx(je,{value:"alerts",children:a.jsxs(ve,{children:[a.jsxs(_e,{children:[a.jsx(Re,{children:"Alerts & Subscriptions"}),a.jsx(He,{children:"Manage your notification preferences"})]}),a.jsxs(we,{className:"space-y-6",children:[a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(ye,{htmlFor:"job-alerts",className:"text-base",children:"Job Alerts"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Get notified about new job matches"})]}),a.jsx(Yt,{id:"job-alerts",checked:n.alerts.jobAlerts,onCheckedChange:P=>I("alerts","jobAlerts",P)})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(ye,{htmlFor:"course-alerts",className:"text-base",children:"Course Alerts"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Updates on new courses and training"})]}),a.jsx(Yt,{id:"course-alerts",checked:n.alerts.courseAlerts,onCheckedChange:P=>I("alerts","courseAlerts",P)})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(ye,{htmlFor:"news-alerts",className:"text-base",children:"News Alerts"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Industry news and updates"})]}),a.jsx(Yt,{id:"news-alerts",checked:n.alerts.newsAlerts,onCheckedChange:P=>I("alerts","newsAlerts",P)})]})]})]})}),a.jsxs(je,{value:"preferences",children:[a.jsxs(ve,{children:[a.jsxs(_e,{children:[a.jsx(Re,{children:"Preferences"}),a.jsx(He,{children:"Customize your platform experience"})]}),a.jsxs(we,{className:"space-y-6",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{children:"Interested Topics"}),a.jsx("div",{className:"flex flex-wrap gap-2",children:n.preferences.topics.map(P=>a.jsxs(it,{variant:"secondary",className:"flex items-center gap-1",children:[P,a.jsx($,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>o(_=>({..._,preferences:{..._.preferences,topics:_.preferences.topics.filter(R=>R!==P)}})),children:"✕"})]},P))}),a.jsx($,{variant:"outline",size:"sm",onClick:()=>w(!0),children:"Manage Topics"})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"language",children:"Language"}),a.jsxs(Zc,{value:n.preferences.language,onValueChange:P=>A("preferences","language",P),children:[a.jsx(Gs,{id:"language",children:a.jsx(Xc,{placeholder:"Select your preferred language"})}),a.jsx(Ws,{children:N.map(P=>a.jsx(Zs,{value:P,children:P},P))})]})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(ye,{htmlFor:"email-notif",className:"text-base",children:"Email Notifications"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Receive updates via email"})]}),a.jsx(Yt,{id:"email-notif",checked:n.preferences.emailNotifications,onCheckedChange:P=>I("preferences","emailNotifications",P)})]})]})]}),a.jsx(FB,{open:v,onClose:()=>w(!1),onAdded:P=>o(_=>({..._,preferences:{..._.preferences,topics:Array.from(new Set([..._.preferences.topics,P]))}}))})]})]})]})}function BB({savedJobs:t,applications:e,recommendedJobs:r,onApply:n,onRemove:o,onUploadCV:i,onSetAlert:c,onUpdateProfile:l}){const d=x=>({savedJobs:x.saved,recommendedJobs:x.recommended,applications:x.applications}),[h,u]=j.useState({saved:t||[],recommended:r||[],applications:e||[]});j.useEffect(()=>{u({saved:t||[],recommended:r||[],applications:e||[]})},[t,r,e]);const p=x=>{u(v=>{if(v.saved.some(M=>M.id===x.id))return v;const C={...v,saved:[...v.saved,x]};return l==null||l({type:"jobs",payload:d(C)}),C})},y=x=>{u(v=>{const w={...v,saved:v.saved.filter(C=>C.id!==x)};return l==null||l({type:"jobs",payload:d(w)}),w})},f=x=>{u(v=>{const w={...v,recommended:v.recommended.filter(C=>C.id!==x)};return l==null||l({type:"jobs",payload:d(w)}),w})},k=x=>{const v=h.recommended.find(w=>w.id===x);v&&(u(w=>{const C={...w,applications:[...w.applications,{...v,status:"Applied",appliedDate:new Date().toLocaleDateString()}]};return l==null||l({type:"jobs",payload:d(C)}),C}),n(x))},m=({job:x,view:v})=>{var b;const w=h.saved.some(N=>N.id===x.id),C=x.city?`${x.city}, ${x.country}`:x.location,M=x.salaryMin&&x.salaryMax?`${x.salaryMin}–${x.salaryMax} ${x.salaryCurrency||""}`:void 0;return a.jsxs(ve,{children:[a.jsxs(_e,{children:[a.jsxs("div",{className:"flex justify-between items-start",children:[a.jsxs("div",{className:"flex-1",children:[a.jsx(Re,{className:"text-lg",children:x.title}),a.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground mt-2",children:[a.jsxs("span",{className:"flex items-center gap-1",children:[a.jsx(gs,{className:"h-4 w-4"})," ",x.company]}),a.jsxs("span",{className:"flex items-center gap-1",children:[a.jsx(Bt,{className:"h-4 w-4"})," ",C]})]})]}),v==="applications"&&x.status&&a.jsx(it,{variant:"secondary",children:x.status})]}),M&&a.jsx("p",{className:"text-sm font-semibold text-accent mt-1",children:M})]}),a.jsx(we,{children:a.jsxs("div",{className:"space-y-3",children:[a.jsxs("div",{className:"flex flex-wrap gap-2",children:[x.department&&a.jsx(it,{variant:"outline",children:x.department}),(b=x.skills)==null?void 0:b.slice(0,6).map(N=>a.jsx(it,{variant:"secondary",children:N},N))]}),v==="applications"&&x.appliedDate&&a.jsxs("p",{className:"text-xs text-muted-foreground flex items-center gap-1",children:[a.jsx(Kt,{className:"h-3 w-3"}),"Applied ",x.appliedDate]}),a.jsxs("div",{className:"flex gap-2",children:[v==="recommended"&&a.jsxs(a.Fragment,{children:[a.jsx($,{size:"sm",onClick:()=>k(x.id),children:"Apply Now"}),a.jsx($,{variant:w?"secondary":"outline",size:"sm",disabled:w,onClick:()=>p(x),children:w?"Saved":"Save Job"}),a.jsx($,{variant:"destructive",size:"sm",onClick:()=>f(x.id),children:"Remove"})]}),v==="saved"&&a.jsx($,{variant:"destructive",size:"sm",onClick:()=>y(x.id),children:"Remove"}),v==="applications"&&a.jsx($,{variant:"outline",size:"sm",children:"View Application"})]})]})})]})};return a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{className:"flex justify-between items-center",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"text-3xl font-bold",children:"Jobs"}),a.jsx("p",{className:"text-muted-foreground mt-1",children:"Manage your job search"})]}),a.jsxs("div",{className:"flex gap-2",children:[a.jsx($,{variant:"outline",onClick:c,children:"Set Job Alerts"}),a.jsxs($,{onClick:i,children:[a.jsx(Ps,{className:"h-4 w-4 mr-2"}),"Upload CV"]})]})]}),a.jsxs(es,{defaultValue:"recommended",className:"w-full",children:[a.jsxs(or,{className:"grid w-full grid-cols-3 lg:grid-cols-3",children:[a.jsxs(Ce,{value:"recommended",children:["Recommended (",h.recommended.length,")"]}),a.jsxs(Ce,{value:"saved",children:[a.jsx(pa,{className:"h-4 w-4 mr-2"}),"Saved (",h.saved.length,")"]}),a.jsxs(Ce,{value:"applications",children:[a.jsx(ft,{className:"h-4 w-4 mr-2"}),"Applications (",h.applications.length,")"]})]}),a.jsx(je,{value:"recommended",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4",children:h.recommended.map(x=>a.jsx(m,{job:x,view:"recommended"},x.id))})}),a.jsx(je,{value:"saved",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4",children:h.saved.length===0?a.jsx(ve,{children:a.jsxs(we,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(pa,{className:"h-12 w-12 text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No saved jobs yet"}),a.jsx($,{variant:"link",className:"mt-2",children:"Browse Jobs"})]})}):h.saved.map(x=>a.jsx(m,{job:x,view:"saved"},x.id))})}),a.jsx(je,{value:"applications",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4",children:h.applications.length===0?a.jsx(ve,{children:a.jsxs(we,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(ft,{className:"h-12 w-12 text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No applications yet"}),a.jsx($,{variant:"link",className:"mt-2",children:"Start Applying"})]})}):h.applications.map(x=>a.jsx(m,{job:x,view:"applications"},x.id))})})]})]})}function UB(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,$B(o,...e)]}function $B(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var GB=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],cR=GB.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),vS="Progress",wS=100,[WB,dU]=UB(vS),[ZB,XB]=WB(vS),lR=g.forwardRef((t,e)=>{const{__scopeProgress:r,value:n=null,max:o,getValueLabel:i=JB,...c}=t;(o||o===0)&&!HL(o)&&console.error(YB(`${o}`,"Progress"));const l=HL(o)?o:wS;n!==null&&!VL(n,l)&&console.error(KB(`${n}`,"Progress"));const d=VL(n,l)?n:null,h=b9(d)?i(d,l):void 0;return a.jsx(ZB,{scope:r,value:d,max:l,children:a.jsx(cR.div,{"aria-valuemax":l,"aria-valuemin":0,"aria-valuenow":b9(d)?d:void 0,"aria-valuetext":h,role:"progressbar","data-state":uR(d,l),"data-value":d??void 0,"data-max":l,...c,ref:e})})});lR.displayName=vS;var dR="ProgressIndicator",hR=g.forwardRef((t,e)=>{const{__scopeProgress:r,...n}=t,o=XB(dR,r);return a.jsx(cR.div,{"data-state":uR(o.value,o.max),"data-value":o.value??void 0,"data-max":o.max,...n,ref:e})});hR.displayName=dR;function JB(t,e){return`${Math.round(t/e*100)}%`}function uR(t,e){return t==null?"indeterminate":t===e?"complete":"loading"}function b9(t){return typeof t=="number"}function HL(t){return b9(t)&&!isNaN(t)&&t>0}function VL(t,e){return b9(t)&&!isNaN(t)&&t<=e&&t>=0}function YB(t,e){return`Invalid prop \`max\` of value \`${t}\` supplied to \`${e}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${wS}\`.`}function KB(t,e){return`Invalid prop \`value\` of value \`${t}\` supplied to \`${e}\`. The \`value\` prop must be:
7820
7820
  - a positive number
7821
7821
  - less than the value passed to \`max\` (or ${wS} if no \`max\` prop is set)
7822
7822
  - \`null\` or \`undefined\` if the progress is indeterminate.
7823
7823
 
7824
- Defaulting to \`null\`.`}var pR=lR,QB=hR;const yR=g.forwardRef(({className:t,value:e,...r},n)=>a.jsx(pR,{ref:n,className:le("relative h-4 w-full overflow-hidden rounded-full bg-secondary",t),...r,children:a.jsx(QB,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(e||0)}%)`}})}));yR.displayName=pR.displayName;function eU({enrolledCourses:t,savedCourses:e,recommendedCourses:r,certificates:n,onEnroll:o,onContinue:i,onExplore:c,onSave:l,onRemoveSaved:d,onRemoveRecommended:h}){const[u,p]=j.useState({enrolled:t||[],recommended:r||[],saved:e||[]});j.useEffect(()=>{p({enrolled:t||[],recommended:r||[],saved:e||[]})},[t,r,e]);const y=v=>o(v),f=v=>{p(w=>{if(w.saved.some(b=>b.id===v.id))return w;const M={...w,saved:[...w.saved,{...v,saved:!0}],recommended:w.recommended.map(b=>b.id===v.id?{...b,saved:!0}:b)};return l==null||l(v.id),M})},k=v=>{p(w=>{const C={...w,saved:w.saved.filter(M=>M.id!==v),recommended:w.recommended.map(M=>M.id===v?{...M,saved:!1}:M)};return d==null||d(v),C})},m=v=>{p(w=>{const C={...w,recommended:w.recommended.filter(M=>M.id!==v)};return h==null||h(v),C})},x=({course:v,view:w})=>{const C=u.saved.some(M=>M.id===v.id);return a.jsxs(ve,{children:[a.jsx(_e,{children:a.jsxs("div",{className:"flex justify-between items-start",children:[a.jsxs("div",{className:"flex-1",children:[a.jsx(Re,{className:"text-lg",children:v.title}),a.jsx(He,{children:v.provider})]}),a.jsx(it,{variant:"outline",children:v.level})]})}),a.jsx(we,{children:a.jsxs("div",{className:"space-y-3",children:[a.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground",children:[a.jsx("span",{children:v.duration}),v.certificate&&a.jsxs("span",{className:"flex items-center gap-1",children:[a.jsx(Na,{className:"h-4 w-4"}),"Certificate"]})]}),a.jsx("div",{className:"flex flex-wrap gap-2",children:v.tags.map(M=>a.jsx(it,{variant:"secondary",children:M},M))}),w==="enrolled"&&v.progress!==void 0&&a.jsxs("div",{className:"space-y-2",children:[a.jsxs("div",{className:"flex justify-between text-sm",children:[a.jsx("span",{className:"text-muted-foreground",children:"Progress"}),a.jsxs("span",{className:"font-medium",children:[v.progress,"%"]})]}),a.jsx(yR,{value:v.progress})]}),w==="recommended"&&v.reason&&a.jsxs("p",{className:"text-xs text-muted-foreground italic",children:["💡 ",v.reason]}),a.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:flex-wrap",children:[w==="enrolled"&&a.jsx($,{className:"sm:w-auto w-full",onClick:()=>i(v.id),children:"Continue Learning"}),w==="recommended"&&a.jsxs(a.Fragment,{children:[a.jsx($,{className:"sm:w-auto w-full",onClick:()=>y(v.id),children:"Enroll Now"}),a.jsx($,{variant:C?"secondary":"outline",className:"sm:w-auto w-full",size:"sm",disabled:C,onClick:()=>f(v),children:C?"Saved":"Save Course"}),a.jsx($,{variant:"destructive",size:"sm",className:"sm:w-auto w-full",onClick:()=>m(v.id),children:"Remove"}),!h&&a.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove not available yet"})]}),w==="saved"&&a.jsxs(a.Fragment,{children:[a.jsx($,{className:"sm:w-auto w-full",size:"sm",onClick:()=>y(v.id),children:"Start Course"}),a.jsx($,{variant:"destructive",size:"sm",className:"sm:w-auto w-full",onClick:()=>k(v.id),children:"Remove Saved"}),!d&&a.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove from saved not available yet"})]})]})]})})]})};return a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{className:"flex justify-between items-center",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"text-3xl font-bold",children:"Courses"}),a.jsx("p",{className:"text-muted-foreground mt-1",children:"Advance your iGaming career"})]}),a.jsx($,{onClick:c,children:"Explore All Courses"})]}),a.jsxs(es,{defaultValue:"enrolled",className:"w-full",children:[a.jsxs(or,{children:[a.jsxs(Ce,{value:"enrolled",children:[a.jsx(Vt,{className:"h-4 w-4 mr-2"}),"Enrolled (",u.enrolled.length,")"]}),a.jsxs(Ce,{value:"recommended",children:[a.jsx(Vi,{className:"h-4 w-4 mr-2"}),"Recommended (",u.recommended.length,")"]}),a.jsxs(Ce,{value:"saved",children:[a.jsx(pa,{className:"h-4 w-4 mr-2"}),"Saved (",u.saved.length,")"]}),a.jsxs(Ce,{value:"certificates",children:[a.jsx(Na,{className:"h-4 w-4 mr-2"}),"Certificates (",n.length,")"]})]}),a.jsx(je,{value:"enrolled",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.enrolled.length===0?a.jsx(ve,{className:"md:col-span-2",children:a.jsxs(we,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(Vt,{className:"h-12 w-12 text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No enrolled courses yet"}),a.jsx($,{variant:"link",className:"mt-2",onClick:c,children:"Browse Courses"})]})}):u.enrolled.map(v=>a.jsx(x,{course:v,view:"enrolled"},v.id))})}),a.jsx(je,{value:"recommended",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.recommended.map(v=>a.jsx(x,{course:v,view:"recommended"},v.id))})}),a.jsx(je,{value:"saved",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.saved.length===0?a.jsx(ve,{className:"md:col-span-2",children:a.jsxs(we,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(pa,{className:"h-12 w-12 text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No saved courses yet"}),a.jsx($,{variant:"link",className:"mt-2",onClick:c,children:"Browse Courses"}),!l&&a.jsx("p",{className:"text-[11px] text-muted-foreground mt-2",children:"Saving courses not available yet"})]})}):u.saved.map(v=>a.jsx(x,{course:v,view:"saved"},v.id))})}),a.jsx(je,{value:"certificates",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:n.length===0?a.jsx(ve,{className:"md:col-span-2",children:a.jsxs(we,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(Na,{className:"h-12 w-12 text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No certificates yet"}),a.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Complete courses to earn certificates"})]})}):n.map(v=>a.jsxs(ve,{children:[a.jsx(_e,{children:a.jsxs("div",{className:"flex items-start gap-3",children:[a.jsx("div",{className:"p-2 rounded-lg bg-accent/10",children:a.jsx(Na,{className:"h-6 w-6 text-accent"})}),a.jsxs("div",{className:"flex-1",children:[a.jsx(Re,{className:"text-base",children:v.title}),a.jsx(He,{children:v.issuer}),a.jsxs("p",{className:"text-xs text-muted-foreground mt-1",children:["Issued: ",v.date]})]})]})}),a.jsx(we,{children:a.jsx($,{variant:"outline",size:"sm",className:"w-full",children:"Download Certificate"})})]},v.id))})})]})]})}function tU({recommendedNews:t,savedArticles:e,categories:r,selectedCategory:n,onRead:o,onSave:i,onRemoveSaved:c,onRemoveRecommended:l,onCategoryChange:d,onManagePreferences:h}){const[u,p]=j.useState({recommended:t||[],saved:e||[]});j.useEffect(()=>{p({recommended:t||[],saved:e||[]})},[t,e]);const y=x=>{p(v=>{if(v.saved.some(M=>M.id===x.id))return v;const C={recommended:v.recommended.map(M=>M.id===x.id?{...M,saved:!0}:M),saved:[...v.saved,{...x,saved:!0}]};return i(x.id),C})},f=x=>{p(v=>{const w={recommended:v.recommended.map(C=>C.id===x?{...C,saved:!1}:C),saved:v.saved.filter(C=>C.id!==x)};return c==null||c(x),w})},k=x=>{p(v=>{const w={...v,recommended:v.recommended.filter(C=>C.id!==x)};return l==null||l(x),w})},m=({article:x,view:v})=>{const w=u.saved.some(C=>C.id===x.id);return a.jsxs(ve,{children:[a.jsxs(_e,{children:[a.jsxs("div",{className:"flex justify-between items-start mb-2",children:[a.jsx(it,{variant:"secondary",children:x.category}),a.jsx("span",{className:"text-xs text-muted-foreground",children:x.publishedDate})]}),a.jsx(Re,{className:"text-lg",children:x.title}),a.jsxs(He,{className:"text-xs",children:[x.source," • ",x.readTime]})]}),a.jsx(we,{children:a.jsxs("div",{className:"space-y-3",children:[a.jsx("p",{className:"text-sm text-muted-foreground line-clamp-2",children:x.excerpt}),a.jsx("div",{className:"flex flex-wrap gap-2",children:x.tags.map(C=>a.jsx(it,{variant:"outline",className:"text-xs",children:C},C))}),a.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:flex-wrap",children:[a.jsx($,{size:"sm",onClick:()=>o(x.id),children:"Read Article"}),v==="recommended"&&a.jsxs(a.Fragment,{children:[a.jsx($,{variant:w?"secondary":"outline",size:"sm",disabled:w,onClick:()=>y(x),children:w?"Saved":"Save"}),a.jsx($,{variant:"destructive",size:"sm",onClick:()=>k(x.id),children:"Remove"}),!l&&a.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove not available yet"})]}),v==="saved"&&a.jsxs(a.Fragment,{children:[a.jsx($,{variant:"destructive",size:"sm",onClick:()=>f(x.id),children:"Remove Saved"}),!c&&a.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove saved article not available yet"})]})]})]})})]})};return a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{className:"flex justify-between items-center",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"text-3xl font-bold",children:"News"}),a.jsx("p",{className:"text-muted-foreground mt-1",children:"Stay updated with iGaming industry"})]}),a.jsxs($,{variant:"outline",onClick:h,children:[a.jsx(ws,{className:"h-4 w-4 mr-2"}),"Preferences"]})]}),a.jsxs(es,{defaultValue:"recommended",className:"w-full",children:[a.jsxs(or,{children:[a.jsxs(Ce,{value:"recommended",children:[a.jsx(_a,{className:"h-4 w-4 mr-2"}),"Recommended (",u.recommended.length,")"]}),a.jsxs(Ce,{value:"saved",children:[a.jsx(pa,{className:"h-4 w-4 mr-2"}),"Saved (",u.saved.length,")"]})]}),a.jsxs(je,{value:"recommended",className:"space-y-4",children:[a.jsxs("div",{className:"flex flex-wrap gap-2 mb-4",children:[a.jsx($,{variant:n==="all"?"default":"outline",size:"sm",onClick:()=>d("all"),children:"All"}),r.map(x=>a.jsx($,{variant:n===x?"default":"outline",size:"sm",onClick:()=>d(x),children:x},x))]}),a.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.recommended.map(x=>a.jsx(m,{article:x,view:"recommended"},x.id))})]}),a.jsx(je,{value:"saved",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.saved.length===0?a.jsx(ve,{className:"md:col-span-2",children:a.jsxs(we,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(pa,{className:"h-12 w-12 text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No saved articles yet"}),a.jsx($,{variant:"link",className:"mt-2",onClick:h,children:"Browse News"})]})}):u.saved.map(x=>a.jsx(m,{article:x,view:"saved"},x.id))})})]})]})}function aU({settings:t,onUpdate:e}){const{notifications:r,connectedAccounts:n,subscription:o}=t,i=d=>{e({action:"notifications",updates:d})},c=d=>{e({action:"connect-account",platform:d})},l=d=>{e({action:"disconnect-account",accountId:d})};return a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"text-3xl font-bold",children:"Settings"}),a.jsx("p",{className:"text-muted-foreground mt-1",children:"Manage your account preferences"})]}),a.jsxs(es,{defaultValue:"notifications",className:"w-full",children:[a.jsxs(or,{children:[a.jsxs(Ce,{value:"notifications",children:[a.jsx(ks,{className:"h-4 w-4 mr-2"}),"Notifications"]}),a.jsxs(Ce,{value:"account",children:[a.jsx(Ic,{className:"h-4 w-4 mr-2"}),"Account"]}),a.jsxs(Ce,{value:"subscription",children:[a.jsx(mc,{className:"h-4 w-4 mr-2"}),"Subscription"]}),a.jsxs(Ce,{value:"connected",children:[a.jsx(vc,{className:"h-4 w-4 mr-2"}),"Connected"]})]}),a.jsx(je,{value:"notifications",children:a.jsxs(ve,{children:[a.jsxs(_e,{children:[a.jsx(Re,{children:"Notification Preferences"}),a.jsx(He,{children:"Choose how you want to be notified"})]}),a.jsxs(we,{className:"space-y-6",children:[a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(ye,{htmlFor:"email-notif",className:"text-base",children:"Email Notifications"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Receive updates via email"})]}),a.jsx(Yt,{id:"email-notif",checked:r.emailNotifications,onCheckedChange:d=>i({emailNotifications:d})})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(ye,{htmlFor:"push-notif",className:"text-base",children:"Push Notifications"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Browser push notifications"})]}),a.jsx(Yt,{id:"push-notif",checked:r.pushNotifications,onCheckedChange:d=>i({pushNotifications:d})})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(ye,{htmlFor:"weekly-digest",className:"text-base",children:"Weekly Digest"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Summary of activities"})]}),a.jsx(Yt,{id:"weekly-digest",checked:r.weeklyDigest,onCheckedChange:d=>i({weeklyDigest:d})})]}),a.jsxs("div",{className:"border-t pt-4 space-y-4",children:[a.jsx("h4",{className:"font-medium",children:"Content Alerts"}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsx(ye,{htmlFor:"job-alerts-set",children:"Job Alerts"}),a.jsx(Yt,{id:"job-alerts-set",checked:r.jobAlerts,onCheckedChange:d=>i({jobAlerts:d})})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsx(ye,{htmlFor:"course-updates",children:"Course Updates"}),a.jsx(Yt,{id:"course-updates",checked:r.courseUpdates,onCheckedChange:d=>i({courseUpdates:d})})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsx(ye,{htmlFor:"news-digest",children:"News Digest"}),a.jsx(Yt,{id:"news-digest",checked:r.newsDigest,onCheckedChange:d=>i({newsDigest:d})})]})]})]})]})}),a.jsx(je,{value:"account",children:a.jsxs("div",{className:"space-y-4",children:[a.jsxs(ve,{children:[a.jsxs(_e,{children:[a.jsx(Re,{children:"Password"}),a.jsx(He,{children:"Change your account password"})]}),a.jsx(we,{children:a.jsx($,{onClick:()=>e({action:"change-password"}),children:"Change Password"})})]}),a.jsxs(ve,{children:[a.jsxs(_e,{children:[a.jsx(Re,{children:"Delete Account"}),a.jsx(He,{children:"Permanently delete your account and all data"})]}),a.jsx(we,{children:a.jsx($,{variant:"destructive",onClick:()=>e({action:"delete-account"}),children:"Delete Account"})})]})]})}),a.jsx(je,{value:"subscription",children:a.jsxs(ve,{children:[a.jsx(_e,{children:a.jsxs("div",{className:"flex justify-between items-start",children:[a.jsxs("div",{children:[a.jsx(Re,{children:"Subscription Plan"}),a.jsx(He,{children:"Manage your membership"})]}),o.isPremium&&a.jsx(it,{children:"Premium"})]})}),a.jsx(we,{className:"space-y-4",children:o.isPremium?a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"p-4 border rounded-lg bg-accent/5",children:[a.jsx("h4",{className:"font-semibold mb-2",children:"Premium Benefits"}),a.jsxs("ul",{className:"space-y-1 text-sm text-muted-foreground",children:[a.jsx("li",{children:"✓ Unlimited job applications"}),a.jsx("li",{children:"✓ Access to all courses"}),a.jsx("li",{children:"✓ Priority support"}),a.jsx("li",{children:"✓ Advanced analytics"}),a.jsx("li",{children:"✓ Ad-free experience"})]})]}),a.jsx($,{variant:"outline",children:"Manage Subscription"})]}):a.jsxs(a.Fragment,{children:[a.jsx("p",{className:"text-sm text-muted-foreground",children:"Upgrade to Premium to unlock exclusive features"}),a.jsx($,{onClick:()=>e({action:"upgrade",plan:"premium"}),children:"Upgrade to Premium"})]})})]})}),a.jsx(je,{value:"connected",children:a.jsxs(ve,{children:[a.jsxs(_e,{children:[a.jsx(Re,{children:"Connected Accounts"}),a.jsx(He,{children:"Manage linked accounts and integrations"})]}),a.jsx(we,{className:"space-y-4",children:n.map(d=>a.jsxs("div",{className:"flex items-center justify-between p-4 border rounded-lg",children:[a.jsxs("div",{children:[a.jsx("h4",{className:"font-medium",children:d.platform}),d.connected&&d.email&&a.jsx("p",{className:"text-sm text-muted-foreground",children:d.email})]}),d.connected?a.jsx($,{variant:"outline",size:"sm",onClick:()=>l(d.id),children:"Disconnect"}):a.jsx($,{size:"sm",onClick:()=>c(d.platform),children:"Connect"})]},d.id))})]})})]})]})}function rU({user:t,profileData:e,jobsDashboard:r,alerts:n,snapshot:o,feedItems:i,coursesData:c,newsData:l,settingsData:d,onUpdateProfile:h}){const[u,p]=j.useState("overview"),y=r||(e==null?void 0:e.jobsDashboard)||{savedJobs:[],recommendedJobs:[],applications:[]},f=()=>console.log("/logout"),k=M=>console.log(M),m=async M=>{await h({type:"courses",payload:M})},x=(...M)=>console.log("Action:",...M),v=async M=>{await h({type:"news",payload:M})},w=d||{notifications:{emailNotifications:!0,pushNotifications:!1,weeklyDigest:!0,jobAlerts:!0,courseUpdates:!0,newsDigest:!1},connectedAccounts:[{id:"google_89213",platform:"Google",connected:!0,email:t.email},{id:"linkedin_55521",platform:"LinkedIn",connected:!1}],subscription:{isPremium:!1,plan:"free",renewalDate:null}},C=async M=>{await h({type:"settings",payload:M})};return a.jsx(cO,{user:t,onLogout:f,onNavigate:k,currentPath:"/dashboard",notificationCount:n.length,children:a.jsxs(es,{value:u,onValueChange:p,className:"w-full",children:[a.jsxs(or,{className:"grid w-full grid-cols-3 lg:grid-cols-6",children:[a.jsxs(Ce,{value:"overview",className:"flex items-center gap-2",children:[a.jsx(ja,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"Overview"})]}),a.jsxs(Ce,{value:"profile",className:"flex items-center gap-2",children:[a.jsx(Pc,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"Profile"})]}),a.jsxs(Ce,{value:"jobs",className:"flex items-center gap-2",children:[a.jsx(ft,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"Jobs"})]}),a.jsxs(Ce,{value:"courses",className:"flex items-center gap-2",children:[a.jsx(Vt,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"Courses"})]}),a.jsxs(Ce,{value:"news",className:"flex items-center gap-2",children:[a.jsx(_a,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"News"})]}),a.jsxs(Ce,{value:"settings",className:"flex items-center gap-2",children:[a.jsx(Is,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"Settings"})]})]}),a.jsx(je,{value:"overview",className:"mt-6",children:a.jsx(dO,{userName:t.name,feedItems:i,alerts:n,snapshot:o,onSave:x,onApply:x,onEnroll:M=>m({action:"enroll",courseId:M}),onRead:M=>v({action:"read",articleId:M})})}),a.jsx(je,{value:"profile",className:"mt-6",children:a.jsx(VB,{profile:e,onUpdate:M=>h(M)})}),a.jsx(je,{value:"jobs",className:"mt-6",children:a.jsx(BB,{savedJobs:y.savedJobs,applications:y.applications,recommendedJobs:y.recommendedJobs,onApply:M=>console.log("Applied:",M),onRemove:M=>console.log("Removed:",M),onUploadCV:()=>console.log("Upload CV clicked"),onSetAlert:()=>console.log("Set alerts clicked"),onUpdateProfile:async M=>{await h({type:"jobs",payload:M.payload})}})}),a.jsx(je,{value:"courses",className:"mt-6",children:a.jsx(eU,{enrolledCourses:(c==null?void 0:c.enrolledCourses)||[],savedCourses:(c==null?void 0:c.savedCourses)||[],recommendedCourses:(c==null?void 0:c.recommendedCourses)||[],certificates:(c==null?void 0:c.certificates)||[],onEnroll:M=>m({action:"enroll",courseId:M}),onContinue:M=>m({action:"continue",courseId:M}),onExplore:()=>m({action:"explore"}),onSave:M=>m({action:"save",courseId:M}),onRemoveSaved:M=>m({action:"remove-saved",courseId:M}),onRemoveRecommended:M=>m({action:"remove-recommended",courseId:M})})}),a.jsx(je,{value:"news",className:"mt-6",children:a.jsx(tU,{recommendedNews:(l==null?void 0:l.recommendedNews)||[],savedArticles:(l==null?void 0:l.savedArticles)||[],categories:(l==null?void 0:l.categories)||[],selectedCategory:(l==null?void 0:l.selectedCategory)||"all",onRead:M=>v({action:"read",articleId:M}),onSave:M=>v({action:"save",articleId:M}),onRemoveSaved:M=>v({action:"remove-saved",articleId:M}),onRemoveRecommended:M=>v({action:"remove-recommended",articleId:M}),onCategoryChange:M=>v({action:"category",category:M}),onManagePreferences:()=>v({action:"manage-preferences"})})}),a.jsx(je,{value:"settings",className:"mt-6",children:a.jsx(aU,{settings:w,onUpdate:C})})]})})}exports.Advantages=CN;exports.Analytics=DE;exports.Banner=$c;exports.Button=$;exports.Cart=zN;exports.Chatbot=DN;exports.ConsentBanner=YN;exports.ConsentProvider=JN;exports.CourseTypes=EN;exports.Courses=LN;exports.CoursesPage=SE;exports.Dashboard=rU;exports.Destinations=IN;exports.FAQ=TN;exports.FeatureJobs=AD;exports.Features=RN;exports.Footer=XD;exports.FooterLib=WN;exports.ForEmployers=ON;exports.ForgotPassword=iO;exports.Gallery=qN;exports.GroupPrices=JT;exports.Header=xE;exports.HeaderAlternative=GN;exports.Hero=NN;exports.HeroAlternative=HN;exports.HomePage=ND;exports.IgamingCareerHome=HD;exports.Input=Ke;exports.JobDetailPage=fE;exports.JobListings=ZD;exports.JobSearchWidget=$N;exports.Listing=uE;exports.Login=aO;exports.MobileNav=eA;exports.Navbar=JD;exports.NewsPage=gE;exports.Newsletter=UN;exports.NotificationModal=KN;exports.Partners=ZN;exports.Register=nO;exports.SearchableSelect=A9;exports.Services=AN;exports.ServicesNoIcons=FN;exports.SidebarNewsletter=Rj;exports.SlidingSummary=YT;exports.Testimonials=PN;exports.TrustSignals=BN;exports.ValueProposition=VN;exports.Videos=_N;exports.useConsent=_j;
7824
+ Defaulting to \`null\`.`}var pR=lR,QB=hR;const yR=g.forwardRef(({className:t,value:e,...r},n)=>a.jsx(pR,{ref:n,className:le("relative h-4 w-full overflow-hidden rounded-full bg-secondary",t),...r,children:a.jsx(QB,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(e||0)}%)`}})}));yR.displayName=pR.displayName;function eU({enrolledCourses:t,savedCourses:e,recommendedCourses:r,certificates:n,onEnroll:o,onContinue:i,onExplore:c,onSave:l,onRemoveSaved:d,onRemoveRecommended:h}){const[u,p]=j.useState({enrolled:t||[],recommended:r||[],saved:e||[]});j.useEffect(()=>{p({enrolled:t||[],recommended:r||[],saved:e||[]})},[t,r,e]);const y=v=>o(v),f=v=>{p(w=>{if(w.saved.some(b=>b.id===v.id))return w;const M={...w,saved:[...w.saved,{...v,saved:!0}],recommended:w.recommended.map(b=>b.id===v.id?{...b,saved:!0}:b)};return l==null||l(v.id),M})},k=v=>{p(w=>{const C={...w,saved:w.saved.filter(M=>M.id!==v),recommended:w.recommended.map(M=>M.id===v?{...M,saved:!1}:M)};return d==null||d(v),C})},m=v=>{p(w=>{const C={...w,recommended:w.recommended.filter(M=>M.id!==v)};return h==null||h(v),C})},x=({course:v,view:w})=>{const C=u.saved.some(M=>M.id===v.id);return a.jsxs(ve,{children:[a.jsx(_e,{children:a.jsxs("div",{className:"flex justify-between items-start",children:[a.jsxs("div",{className:"flex-1",children:[a.jsx(Re,{className:"text-lg",children:v.title}),a.jsx(He,{children:v.provider})]}),a.jsx(it,{variant:"outline",children:v.level})]})}),a.jsx(we,{children:a.jsxs("div",{className:"space-y-3",children:[a.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground",children:[a.jsx("span",{children:v.duration}),v.certificate&&a.jsxs("span",{className:"flex items-center gap-1",children:[a.jsx(Na,{className:"h-4 w-4"}),"Certificate"]})]}),a.jsx("div",{className:"flex flex-wrap gap-2",children:v.tags.map(M=>a.jsx(it,{variant:"secondary",children:M},M))}),w==="enrolled"&&v.progress!==void 0&&a.jsxs("div",{className:"space-y-2",children:[a.jsxs("div",{className:"flex justify-between text-sm",children:[a.jsx("span",{className:"text-muted-foreground",children:"Progress"}),a.jsxs("span",{className:"font-medium",children:[v.progress,"%"]})]}),a.jsx(yR,{value:v.progress})]}),w==="recommended"&&v.reason&&a.jsxs("p",{className:"text-xs text-muted-foreground italic",children:["💡 ",v.reason]}),a.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:flex-wrap",children:[w==="enrolled"&&a.jsx($,{className:"sm:w-auto w-full",onClick:()=>i(v.id),children:"Continue Learning"}),w==="recommended"&&a.jsxs(a.Fragment,{children:[a.jsx($,{className:"sm:w-auto w-full",onClick:()=>y(v.id),children:"Enroll Now"}),a.jsx($,{variant:C?"secondary":"outline",className:"sm:w-auto w-full",size:"sm",disabled:C,onClick:()=>f(v),children:C?"Saved":"Save Course"}),a.jsx($,{variant:"destructive",size:"sm",className:"sm:w-auto w-full",onClick:()=>m(v.id),children:"Remove"}),!h&&a.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove not available yet"})]}),w==="saved"&&a.jsxs(a.Fragment,{children:[a.jsx($,{className:"sm:w-auto w-full",size:"sm",onClick:()=>y(v.id),children:"Start Course"}),a.jsx($,{variant:"destructive",size:"sm",className:"sm:w-auto w-full",onClick:()=>k(v.id),children:"Remove Saved"}),!d&&a.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove from saved not available yet"})]})]})]})})]})};return a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{className:"flex justify-between items-center",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"text-3xl font-bold",children:"Courses"}),a.jsx("p",{className:"text-muted-foreground mt-1",children:"Advance your iGaming career"})]}),a.jsx($,{onClick:c,children:"Explore All Courses"})]}),a.jsxs(es,{defaultValue:"enrolled",className:"w-full",children:[a.jsxs(or,{className:"grid w-full grid-cols-3 lg:grid-cols-4",children:[a.jsxs(Ce,{value:"enrolled",children:[a.jsx(Vt,{className:"h-4 w-4 mr-2"}),"Enrolled (",u.enrolled.length,")"]}),a.jsxs(Ce,{value:"recommended",children:[a.jsx(Vi,{className:"h-4 w-4 mr-2"}),"Recommended (",u.recommended.length,")"]}),a.jsxs(Ce,{value:"saved",children:[a.jsx(pa,{className:"h-4 w-4 mr-2"}),"Saved (",u.saved.length,")"]}),a.jsxs(Ce,{value:"certificates",children:[a.jsx(Na,{className:"h-4 w-4 mr-2"}),"Certificates (",n.length,")"]})]}),a.jsx(je,{value:"enrolled",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.enrolled.length===0?a.jsx(ve,{className:"md:col-span-2",children:a.jsxs(we,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(Vt,{className:"h-12 w-12 text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No enrolled courses yet"}),a.jsx($,{variant:"link",className:"mt-2",onClick:c,children:"Browse Courses"})]})}):u.enrolled.map(v=>a.jsx(x,{course:v,view:"enrolled"},v.id))})}),a.jsx(je,{value:"recommended",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.recommended.map(v=>a.jsx(x,{course:v,view:"recommended"},v.id))})}),a.jsx(je,{value:"saved",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.saved.length===0?a.jsx(ve,{className:"md:col-span-2",children:a.jsxs(we,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(pa,{className:"h-12 w-12 text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No saved courses yet"}),a.jsx($,{variant:"link",className:"mt-2",onClick:c,children:"Browse Courses"}),!l&&a.jsx("p",{className:"text-[11px] text-muted-foreground mt-2",children:"Saving courses not available yet"})]})}):u.saved.map(v=>a.jsx(x,{course:v,view:"saved"},v.id))})}),a.jsx(je,{value:"certificates",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:n.length===0?a.jsx(ve,{className:"md:col-span-2",children:a.jsxs(we,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(Na,{className:"h-12 w-12 text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No certificates yet"}),a.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Complete courses to earn certificates"})]})}):n.map(v=>a.jsxs(ve,{children:[a.jsx(_e,{children:a.jsxs("div",{className:"flex items-start gap-3",children:[a.jsx("div",{className:"p-2 rounded-lg bg-accent/10",children:a.jsx(Na,{className:"h-6 w-6 text-accent"})}),a.jsxs("div",{className:"flex-1",children:[a.jsx(Re,{className:"text-base",children:v.title}),a.jsx(He,{children:v.issuer}),a.jsxs("p",{className:"text-xs text-muted-foreground mt-1",children:["Issued: ",v.date]})]})]})}),a.jsx(we,{children:a.jsx($,{variant:"outline",size:"sm",className:"w-full",children:"Download Certificate"})})]},v.id))})})]})]})}function tU({recommendedNews:t,savedArticles:e,categories:r,selectedCategory:n,onRead:o,onSave:i,onRemoveSaved:c,onRemoveRecommended:l,onCategoryChange:d,onManagePreferences:h}){const[u,p]=j.useState({recommended:t||[],saved:e||[]});j.useEffect(()=>{p({recommended:t||[],saved:e||[]})},[t,e]);const y=x=>{p(v=>{if(v.saved.some(M=>M.id===x.id))return v;const C={recommended:v.recommended.map(M=>M.id===x.id?{...M,saved:!0}:M),saved:[...v.saved,{...x,saved:!0}]};return i(x.id),C})},f=x=>{p(v=>{const w={recommended:v.recommended.map(C=>C.id===x?{...C,saved:!1}:C),saved:v.saved.filter(C=>C.id!==x)};return c==null||c(x),w})},k=x=>{p(v=>{const w={...v,recommended:v.recommended.filter(C=>C.id!==x)};return l==null||l(x),w})},m=({article:x,view:v})=>{const w=u.saved.some(C=>C.id===x.id);return a.jsxs(ve,{children:[a.jsxs(_e,{children:[a.jsxs("div",{className:"flex justify-between items-start mb-2",children:[a.jsx(it,{variant:"secondary",children:x.category}),a.jsx("span",{className:"text-xs text-muted-foreground",children:x.publishedDate})]}),a.jsx(Re,{className:"text-lg",children:x.title}),a.jsxs(He,{className:"text-xs",children:[x.source," • ",x.readTime]})]}),a.jsx(we,{children:a.jsxs("div",{className:"space-y-3",children:[a.jsx("p",{className:"text-sm text-muted-foreground line-clamp-2",children:x.excerpt}),a.jsx("div",{className:"flex flex-wrap gap-2",children:x.tags.map(C=>a.jsx(it,{variant:"outline",className:"text-xs",children:C},C))}),a.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:flex-wrap",children:[a.jsx($,{size:"sm",onClick:()=>o(x.id),children:"Read Article"}),v==="recommended"&&a.jsxs(a.Fragment,{children:[a.jsx($,{variant:w?"secondary":"outline",size:"sm",disabled:w,onClick:()=>y(x),children:w?"Saved":"Save"}),a.jsx($,{variant:"destructive",size:"sm",onClick:()=>k(x.id),children:"Remove"}),!l&&a.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove not available yet"})]}),v==="saved"&&a.jsxs(a.Fragment,{children:[a.jsx($,{variant:"destructive",size:"sm",onClick:()=>f(x.id),children:"Remove Saved"}),!c&&a.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove saved article not available yet"})]})]})]})})]})};return a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{className:"flex justify-between items-center",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"text-3xl font-bold",children:"News"}),a.jsx("p",{className:"text-muted-foreground mt-1",children:"Stay updated with iGaming industry"})]}),a.jsxs($,{variant:"outline",onClick:h,children:[a.jsx(ws,{className:"h-4 w-4 mr-2"}),"Preferences"]})]}),a.jsxs(es,{defaultValue:"recommended",className:"w-full",children:[a.jsxs(or,{children:[a.jsxs(Ce,{value:"recommended",children:[a.jsx(Pa,{className:"h-4 w-4 mr-2"}),"Recommended (",u.recommended.length,")"]}),a.jsxs(Ce,{value:"saved",children:[a.jsx(pa,{className:"h-4 w-4 mr-2"}),"Saved (",u.saved.length,")"]})]}),a.jsxs(je,{value:"recommended",className:"space-y-4",children:[a.jsxs("div",{className:"flex flex-wrap gap-2 mb-4",children:[a.jsx($,{variant:n==="all"?"default":"outline",size:"sm",onClick:()=>d("all"),children:"All"}),r.map(x=>a.jsx($,{variant:n===x?"default":"outline",size:"sm",onClick:()=>d(x),children:x},x))]}),a.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.recommended.map(x=>a.jsx(m,{article:x,view:"recommended"},x.id))})]}),a.jsx(je,{value:"saved",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.saved.length===0?a.jsx(ve,{className:"md:col-span-2",children:a.jsxs(we,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(pa,{className:"h-12 w-12 text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No saved articles yet"}),a.jsx($,{variant:"link",className:"mt-2",onClick:h,children:"Browse News"})]})}):u.saved.map(x=>a.jsx(m,{article:x,view:"saved"},x.id))})})]})]})}function aU({settings:t,onUpdate:e}){const{notifications:r,connectedAccounts:n,subscription:o}=t,i=d=>{e({action:"notifications",updates:d})},c=d=>{e({action:"connect-account",platform:d})},l=d=>{e({action:"disconnect-account",accountId:d})};return a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"text-3xl font-bold",children:"Settings"}),a.jsx("p",{className:"text-muted-foreground mt-1",children:"Manage your account preferences"})]}),a.jsxs(es,{defaultValue:"notifications",className:"w-full",children:[a.jsxs(or,{children:[a.jsxs(Ce,{value:"notifications",children:[a.jsx(ks,{className:"h-4 w-4 mr-2"}),"Notifications"]}),a.jsxs(Ce,{value:"account",children:[a.jsx(Ic,{className:"h-4 w-4 mr-2"}),"Account"]}),a.jsxs(Ce,{value:"subscription",children:[a.jsx(mc,{className:"h-4 w-4 mr-2"}),"Subscription"]}),a.jsxs(Ce,{value:"connected",children:[a.jsx(vc,{className:"h-4 w-4 mr-2"}),"Connected"]})]}),a.jsx(je,{value:"notifications",children:a.jsxs(ve,{children:[a.jsxs(_e,{children:[a.jsx(Re,{children:"Notification Preferences"}),a.jsx(He,{children:"Choose how you want to be notified"})]}),a.jsxs(we,{className:"space-y-6",children:[a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(ye,{htmlFor:"email-notif",className:"text-base",children:"Email Notifications"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Receive updates via email"})]}),a.jsx(Yt,{id:"email-notif",checked:r.emailNotifications,onCheckedChange:d=>i({emailNotifications:d})})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(ye,{htmlFor:"push-notif",className:"text-base",children:"Push Notifications"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Browser push notifications"})]}),a.jsx(Yt,{id:"push-notif",checked:r.pushNotifications,onCheckedChange:d=>i({pushNotifications:d})})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(ye,{htmlFor:"weekly-digest",className:"text-base",children:"Weekly Digest"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Summary of activities"})]}),a.jsx(Yt,{id:"weekly-digest",checked:r.weeklyDigest,onCheckedChange:d=>i({weeklyDigest:d})})]}),a.jsxs("div",{className:"border-t pt-4 space-y-4",children:[a.jsx("h4",{className:"font-medium",children:"Content Alerts"}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsx(ye,{htmlFor:"job-alerts-set",children:"Job Alerts"}),a.jsx(Yt,{id:"job-alerts-set",checked:r.jobAlerts,onCheckedChange:d=>i({jobAlerts:d})})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsx(ye,{htmlFor:"course-updates",children:"Course Updates"}),a.jsx(Yt,{id:"course-updates",checked:r.courseUpdates,onCheckedChange:d=>i({courseUpdates:d})})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsx(ye,{htmlFor:"news-digest",children:"News Digest"}),a.jsx(Yt,{id:"news-digest",checked:r.newsDigest,onCheckedChange:d=>i({newsDigest:d})})]})]})]})]})}),a.jsx(je,{value:"account",children:a.jsxs("div",{className:"space-y-4",children:[a.jsxs(ve,{children:[a.jsxs(_e,{children:[a.jsx(Re,{children:"Password"}),a.jsx(He,{children:"Change your account password"})]}),a.jsx(we,{children:a.jsx($,{onClick:()=>e({action:"change-password"}),children:"Change Password"})})]}),a.jsxs(ve,{children:[a.jsxs(_e,{children:[a.jsx(Re,{children:"Delete Account"}),a.jsx(He,{children:"Permanently delete your account and all data"})]}),a.jsx(we,{children:a.jsx($,{variant:"destructive",onClick:()=>e({action:"delete-account"}),children:"Delete Account"})})]})]})}),a.jsx(je,{value:"subscription",children:a.jsxs(ve,{children:[a.jsx(_e,{children:a.jsxs("div",{className:"flex justify-between items-start",children:[a.jsxs("div",{children:[a.jsx(Re,{children:"Subscription Plan"}),a.jsx(He,{children:"Manage your membership"})]}),o.isPremium&&a.jsx(it,{children:"Premium"})]})}),a.jsx(we,{className:"space-y-4",children:o.isPremium?a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"p-4 border rounded-lg bg-accent/5",children:[a.jsx("h4",{className:"font-semibold mb-2",children:"Premium Benefits"}),a.jsxs("ul",{className:"space-y-1 text-sm text-muted-foreground",children:[a.jsx("li",{children:"✓ Unlimited job applications"}),a.jsx("li",{children:"✓ Access to all courses"}),a.jsx("li",{children:"✓ Priority support"}),a.jsx("li",{children:"✓ Advanced analytics"}),a.jsx("li",{children:"✓ Ad-free experience"})]})]}),a.jsx($,{variant:"outline",children:"Manage Subscription"})]}):a.jsxs(a.Fragment,{children:[a.jsx("p",{className:"text-sm text-muted-foreground",children:"Upgrade to Premium to unlock exclusive features"}),a.jsx($,{onClick:()=>e({action:"upgrade",plan:"premium"}),children:"Upgrade to Premium"})]})})]})}),a.jsx(je,{value:"connected",children:a.jsxs(ve,{children:[a.jsxs(_e,{children:[a.jsx(Re,{children:"Connected Accounts"}),a.jsx(He,{children:"Manage linked accounts and integrations"})]}),a.jsx(we,{className:"space-y-4",children:n.map(d=>a.jsxs("div",{className:"flex items-center justify-between p-4 border rounded-lg",children:[a.jsxs("div",{children:[a.jsx("h4",{className:"font-medium",children:d.platform}),d.connected&&d.email&&a.jsx("p",{className:"text-sm text-muted-foreground",children:d.email})]}),d.connected?a.jsx($,{variant:"outline",size:"sm",onClick:()=>l(d.id),children:"Disconnect"}):a.jsx($,{size:"sm",onClick:()=>c(d.platform),children:"Connect"})]},d.id))})]})})]})]})}function rU({user:t,profileData:e,jobsDashboard:r,alerts:n,snapshot:o,feedItems:i,coursesData:c,newsData:l,settingsData:d,onUpdateProfile:h}){const[u,p]=j.useState("overview"),y=r||(e==null?void 0:e.jobsDashboard)||{savedJobs:[],recommendedJobs:[],applications:[]},f=()=>console.log("/logout"),k=M=>console.log(M),m=async M=>{await h({type:"courses",payload:M})},x=(...M)=>console.log("Action:",...M),v=async M=>{await h({type:"news",payload:M})},w=d||{notifications:{emailNotifications:!0,pushNotifications:!1,weeklyDigest:!0,jobAlerts:!0,courseUpdates:!0,newsDigest:!1},connectedAccounts:[{id:"google_89213",platform:"Google",connected:!0,email:t.email},{id:"linkedin_55521",platform:"LinkedIn",connected:!1}],subscription:{isPremium:!1,plan:"free",renewalDate:null}},C=async M=>{await h({type:"settings",payload:M})};return a.jsx(cO,{user:t,onLogout:f,onNavigate:k,currentPath:"/dashboard",notificationCount:n.length,children:a.jsxs(es,{value:u,onValueChange:p,className:"w-full",children:[a.jsxs(or,{className:"grid w-full grid-cols-3 lg:grid-cols-6",children:[a.jsxs(Ce,{value:"overview",className:"flex items-center gap-2",children:[a.jsx(ja,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"Overview"})]}),a.jsxs(Ce,{value:"profile",className:"flex items-center gap-2",children:[a.jsx(Pc,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"Profile"})]}),a.jsxs(Ce,{value:"jobs",className:"flex items-center gap-2",children:[a.jsx(ft,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"Jobs"})]}),a.jsxs(Ce,{value:"courses",className:"flex items-center gap-2",children:[a.jsx(Vt,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"Courses"})]}),a.jsxs(Ce,{value:"news",className:"flex items-center gap-2",children:[a.jsx(Pa,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"News"})]}),a.jsxs(Ce,{value:"settings",className:"flex items-center gap-2",children:[a.jsx(Is,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"Settings"})]})]}),a.jsx(je,{value:"overview",className:"mt-6",children:a.jsx(dO,{userName:t.name,feedItems:i,alerts:n,snapshot:o,onSave:x,onApply:x,onEnroll:M=>m({action:"enroll",courseId:M}),onRead:M=>v({action:"read",articleId:M})})}),a.jsx(je,{value:"profile",className:"mt-6",children:a.jsx(VB,{profile:e,onUpdate:M=>h(M)})}),a.jsx(je,{value:"jobs",className:"mt-6",children:a.jsx(BB,{savedJobs:y.savedJobs,applications:y.applications,recommendedJobs:y.recommendedJobs,onApply:M=>console.log("Applied:",M),onRemove:M=>console.log("Removed:",M),onUploadCV:()=>console.log("Upload CV clicked"),onSetAlert:()=>console.log("Set alerts clicked"),onUpdateProfile:async M=>{await h({type:"jobs",payload:M.payload})}})}),a.jsx(je,{value:"courses",className:"mt-6",children:a.jsx(eU,{enrolledCourses:(c==null?void 0:c.enrolledCourses)||[],savedCourses:(c==null?void 0:c.savedCourses)||[],recommendedCourses:(c==null?void 0:c.recommendedCourses)||[],certificates:(c==null?void 0:c.certificates)||[],onEnroll:M=>m({action:"enroll",courseId:M}),onContinue:M=>m({action:"continue",courseId:M}),onExplore:()=>m({action:"explore"}),onSave:M=>m({action:"save",courseId:M}),onRemoveSaved:M=>m({action:"remove-saved",courseId:M}),onRemoveRecommended:M=>m({action:"remove-recommended",courseId:M})})}),a.jsx(je,{value:"news",className:"mt-6",children:a.jsx(tU,{recommendedNews:(l==null?void 0:l.recommendedNews)||[],savedArticles:(l==null?void 0:l.savedArticles)||[],categories:(l==null?void 0:l.categories)||[],selectedCategory:(l==null?void 0:l.selectedCategory)||"all",onRead:M=>v({action:"read",articleId:M}),onSave:M=>v({action:"save",articleId:M}),onRemoveSaved:M=>v({action:"remove-saved",articleId:M}),onRemoveRecommended:M=>v({action:"remove-recommended",articleId:M}),onCategoryChange:M=>v({action:"category",category:M}),onManagePreferences:()=>v({action:"manage-preferences"})})}),a.jsx(je,{value:"settings",className:"mt-6",children:a.jsx(aU,{settings:w,onUpdate:C})})]})})}exports.Advantages=CN;exports.Analytics=DE;exports.Banner=$c;exports.Button=$;exports.Cart=zN;exports.Chatbot=DN;exports.ConsentBanner=YN;exports.ConsentProvider=JN;exports.CourseTypes=EN;exports.Courses=LN;exports.CoursesPage=SE;exports.Dashboard=rU;exports.Destinations=IN;exports.FAQ=TN;exports.FeatureJobs=AD;exports.Features=RN;exports.Footer=XD;exports.FooterLib=WN;exports.ForEmployers=ON;exports.ForgotPassword=iO;exports.Gallery=qN;exports.GroupPrices=JT;exports.Header=xE;exports.HeaderAlternative=GN;exports.Hero=NN;exports.HeroAlternative=HN;exports.HomePage=ND;exports.IgamingCareerHome=HD;exports.Input=Ke;exports.JobDetailPage=fE;exports.JobListings=ZD;exports.JobSearchWidget=$N;exports.Listing=uE;exports.Login=aO;exports.MobileNav=eA;exports.Navbar=JD;exports.NewsPage=gE;exports.Newsletter=UN;exports.NotificationModal=KN;exports.Partners=ZN;exports.Register=nO;exports.SearchableSelect=A9;exports.Services=AN;exports.ServicesNoIcons=FN;exports.SidebarNewsletter=Rj;exports.SlidingSummary=YT;exports.Testimonials=PN;exports.TrustSignals=BN;exports.ValueProposition=VN;exports.Videos=_N;exports.useConsent=_j;