@igamingcareer/igaming-components 1.0.57 → 1.0.58

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 +909 -890
  3. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("react"),oj=require("react-dom");function OL(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:()=>t[r]})}}return e.default=t,Object.freeze(e)}const k=OL(C),bb=OL(oj);function mT(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var jC={exports:{}},ec={};/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const j=require("react"),oj=require("react-dom");function OL(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:()=>t[r]})}}return e.default=t,Object.freeze(e)}const k=OL(j),bb=OL(oj);function mT(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var jC={exports:{}},ec={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.min.js
4
4
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var gS;function fT(){if(gS)return ec;gS=1;var t=C,e=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function c(l,d,h){var u,p={},y=null,m=null;h!==void 0&&(y=""+h),d.key!==void 0&&(y=""+d.key),d.ref!==void 0&&(m=d.ref);for(u in d)n.call(d,u)&&!i.hasOwnProperty(u)&&(p[u]=d[u]);if(l&&l.defaultProps)for(u in d=l.defaultProps,d)p[u]===void 0&&(p[u]=d[u]);return{$$typeof:e,type:l,key:y,ref:m,props:p,_owner:o.current}}return ec.Fragment=r,ec.jsx=c,ec.jsxs=c,ec}var tc={};/**
9
+ */var gS;function fT(){if(gS)return ec;gS=1;var t=j,e=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function c(l,d,h){var u,p={},y=null,m=null;h!==void 0&&(y=""+h),d.key!==void 0&&(y=""+d.key),d.ref!==void 0&&(m=d.ref);for(u in d)n.call(d,u)&&!i.hasOwnProperty(u)&&(p[u]=d[u]);if(l&&l.defaultProps)for(u in d=l.defaultProps,d)p[u]===void 0&&(p[u]=d[u]);return{$$typeof:e,type:l,key:y,ref:m,props:p,_owner:o.current}}return ec.Fragment=r,ec.jsx=c,ec.jsxs=c,ec}var tc={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,11 +14,11 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var vS;function xT(){return vS||(vS=1,process.env.NODE_ENV!=="production"&&function(){var t=C,e=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),l=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),v=Symbol.iterator,f="@@iterator";function x(L){if(L===null||typeof L!="object")return null;var q=v&&L[v]||L[f];return typeof q=="function"?q:null}var g=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function M(L){{for(var q=arguments.length,W=new Array(q>1?q-1:0),ne=1;ne<q;ne++)W[ne-1]=arguments[ne];w("error",L,W)}}function w(L,q,W){{var ne=g.ReactDebugCurrentFrame,Me=ne.getStackAddendum();Me!==""&&(q+="%s",W=W.concat([Me]));var Se=W.map(function(me){return String(me)});Se.unshift("Warning: "+q),Function.prototype.apply.call(console[L],console,Se)}}var j=!1,b=!1,I=!1,S=!1,A=!1,N;N=Symbol.for("react.module.reference");function R(L){return!!(typeof L=="string"||typeof L=="function"||L===n||L===i||A||L===o||L===h||L===u||S||L===m||j||b||I||typeof L=="object"&&L!==null&&(L.$$typeof===y||L.$$typeof===p||L.$$typeof===c||L.$$typeof===l||L.$$typeof===d||L.$$typeof===N||L.getModuleId!==void 0))}function P(L,q,W){var ne=L.displayName;if(ne)return ne;var Me=q.displayName||q.name||"";return Me!==""?W+"("+Me+")":W}function _(L){return L.displayName||"Context"}function T(L){if(L==null)return null;if(typeof L.tag=="number"&&M("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof L=="function")return L.displayName||L.name||null;if(typeof L=="string")return L;switch(L){case n:return"Fragment";case r:return"Portal";case i:return"Profiler";case o:return"StrictMode";case h:return"Suspense";case u:return"SuspenseList"}if(typeof L=="object")switch(L.$$typeof){case l:var q=L;return _(q)+".Consumer";case c:var W=L;return _(W._context)+".Provider";case d:return P(L,L.render,"ForwardRef");case p:var ne=L.displayName||null;return ne!==null?ne:T(L.type)||"Memo";case y:{var Me=L,Se=Me._payload,me=Me._init;try{return T(me(Se))}catch{return null}}}return null}var F=Object.assign,U=0,z,B,D,X,ie,ee,Re;function J(){}J.__reactDisabledLog=!0;function Y(){{if(U===0){z=console.log,B=console.info,D=console.warn,X=console.error,ie=console.group,ee=console.groupCollapsed,Re=console.groupEnd;var L={configurable:!0,enumerable:!0,value:J,writable:!0};Object.defineProperties(console,{info:L,log:L,warn:L,error:L,group:L,groupCollapsed:L,groupEnd:L})}U++}}function Q(){{if(U--,U===0){var L={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:F({},L,{value:z}),info:F({},L,{value:B}),warn:F({},L,{value:D}),error:F({},L,{value:X}),group:F({},L,{value:ie}),groupCollapsed:F({},L,{value:ee}),groupEnd:F({},L,{value:Re})})}U<0&&M("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var te=g.ReactCurrentDispatcher,G;function ae(L,q,W){{if(G===void 0)try{throw Error()}catch(Me){var ne=Me.stack.trim().match(/\n( *(at )?)/);G=ne&&ne[1]||""}return`
17
+ */var vS;function xT(){return vS||(vS=1,process.env.NODE_ENV!=="production"&&function(){var t=j,e=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),l=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),g=Symbol.iterator,f="@@iterator";function x(L){if(L===null||typeof L!="object")return null;var q=g&&L[g]||L[f];return typeof q=="function"?q:null}var v=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function M(L){{for(var q=arguments.length,W=new Array(q>1?q-1:0),ne=1;ne<q;ne++)W[ne-1]=arguments[ne];w("error",L,W)}}function w(L,q,W){{var ne=v.ReactDebugCurrentFrame,Me=ne.getStackAddendum();Me!==""&&(q+="%s",W=W.concat([Me]));var Se=W.map(function(me){return String(me)});Se.unshift("Warning: "+q),Function.prototype.apply.call(console[L],console,Se)}}var b=!1,C=!1,I=!1,S=!1,A=!1,N;N=Symbol.for("react.module.reference");function R(L){return!!(typeof L=="string"||typeof L=="function"||L===n||L===i||A||L===o||L===h||L===u||S||L===m||b||C||I||typeof L=="object"&&L!==null&&(L.$$typeof===y||L.$$typeof===p||L.$$typeof===c||L.$$typeof===l||L.$$typeof===d||L.$$typeof===N||L.getModuleId!==void 0))}function P(L,q,W){var ne=L.displayName;if(ne)return ne;var Me=q.displayName||q.name||"";return Me!==""?W+"("+Me+")":W}function _(L){return L.displayName||"Context"}function T(L){if(L==null)return null;if(typeof L.tag=="number"&&M("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof L=="function")return L.displayName||L.name||null;if(typeof L=="string")return L;switch(L){case n:return"Fragment";case r:return"Portal";case i:return"Profiler";case o:return"StrictMode";case h:return"Suspense";case u:return"SuspenseList"}if(typeof L=="object")switch(L.$$typeof){case l:var q=L;return _(q)+".Consumer";case c:var W=L;return _(W._context)+".Provider";case d:return P(L,L.render,"ForwardRef");case p:var ne=L.displayName||null;return ne!==null?ne:T(L.type)||"Memo";case y:{var Me=L,Se=Me._payload,me=Me._init;try{return T(me(Se))}catch{return null}}}return null}var F=Object.assign,U=0,z,B,D,X,ie,ee,Re;function J(){}J.__reactDisabledLog=!0;function Y(){{if(U===0){z=console.log,B=console.info,D=console.warn,X=console.error,ie=console.group,ee=console.groupCollapsed,Re=console.groupEnd;var L={configurable:!0,enumerable:!0,value:J,writable:!0};Object.defineProperties(console,{info:L,log:L,warn:L,error:L,group:L,groupCollapsed:L,groupEnd:L})}U++}}function Q(){{if(U--,U===0){var L={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:F({},L,{value:z}),info:F({},L,{value:B}),warn:F({},L,{value:D}),error:F({},L,{value:X}),group:F({},L,{value:ie}),groupCollapsed:F({},L,{value:ee}),groupEnd:F({},L,{value:Re})})}U<0&&M("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var te=v.ReactCurrentDispatcher,G;function ae(L,q,W){{if(G===void 0)try{throw Error()}catch(Me){var ne=Me.stack.trim().match(/\n( *(at )?)/);G=ne&&ne[1]||""}return`
18
18
  `+G+L}}var ve=!1,se;{var ue=typeof WeakMap=="function"?WeakMap:Map;se=new ue}function le(L,q){if(!L||ve)return"";{var W=se.get(L);if(W!==void 0)return W}var ne;ve=!0;var Me=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Se;Se=te.current,te.current=null,Y();try{if(q){var me=function(){throw Error()};if(Object.defineProperty(me.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(me,[])}catch(ut){ne=ut}Reflect.construct(L,[],me)}else{try{me.call()}catch(ut){ne=ut}L.call(me.prototype)}}else{try{throw Error()}catch(ut){ne=ut}L()}}catch(ut){if(ut&&ne&&typeof ut.stack=="string"){for(var pe=ut.stack.split(`
19
19
  `),dt=ne.stack.split(`
20
20
  `),$e=pe.length-1,Ge=dt.length-1;$e>=1&&Ge>=0&&pe[$e]!==dt[Ge];)Ge--;for(;$e>=1&&Ge>=0;$e--,Ge--)if(pe[$e]!==dt[Ge]){if($e!==1||Ge!==1)do if($e--,Ge--,Ge<0||pe[$e]!==dt[Ge]){var _t=`
21
- `+pe[$e].replace(" at new "," at ");return L.displayName&&_t.includes("<anonymous>")&&(_t=_t.replace("<anonymous>",L.displayName)),typeof L=="function"&&se.set(L,_t),_t}while($e>=1&&Ge>=0);break}}}finally{ve=!1,te.current=Se,Q(),Error.prepareStackTrace=Me}var os=L?L.displayName||L.name:"",ir=os?ae(os):"";return typeof L=="function"&&se.set(L,ir),ir}function He(L,q,W){return le(L,!1)}function Ie(L){var q=L.prototype;return!!(q&&q.isReactComponent)}function H(L,q,W){if(L==null)return"";if(typeof L=="function")return le(L,Ie(L));if(typeof L=="string")return ae(L);switch(L){case h:return ae("Suspense");case u:return ae("SuspenseList")}if(typeof L=="object")switch(L.$$typeof){case d:return He(L.render);case p:return H(L.type,q,W);case y:{var ne=L,Me=ne._payload,Se=ne._init;try{return H(Se(Me),q,W)}catch{}}}return""}var E=Object.prototype.hasOwnProperty,K={},je=g.ReactDebugCurrentFrame;function fe(L){if(L){var q=L._owner,W=H(L.type,L._source,q?q.type:null);je.setExtraStackFrame(W)}else je.setExtraStackFrame(null)}function qe(L,q,W,ne,Me){{var Se=Function.call.bind(E);for(var me in L)if(Se(L,me)){var pe=void 0;try{if(typeof L[me]!="function"){var dt=Error((ne||"React class")+": "+W+" type `"+me+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof L[me]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw dt.name="Invariant Violation",dt}pe=L[me](q,me,ne,W,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch($e){pe=$e}pe&&!(pe instanceof Error)&&(fe(Me),M("%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).",ne||"React class",W,me,typeof pe),fe(null)),pe instanceof Error&&!(pe.message in K)&&(K[pe.message]=!0,fe(Me),M("Failed %s type: %s",W,pe.message),fe(null))}}}var Ve=Array.isArray;function gt(L){return Ve(L)}function ts(L){{var q=typeof Symbol=="function"&&Symbol.toStringTag,W=q&&L[Symbol.toStringTag]||L.constructor.name||"Object";return W}}function Ys(L){try{return Pa(L),!1}catch{return!0}}function Pa(L){return""+L}function rr(L){if(Ys(L))return M("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ts(L)),Pa(L)}var Vt=g.ReactCurrentOwner,as={key:!0,ref:!0,__self:!0,__source:!0},rs,_a,nr;nr={};function $(L){if(E.call(L,"ref")){var q=Object.getOwnPropertyDescriptor(L,"ref").get;if(q&&q.isReactWarning)return!1}return L.ref!==void 0}function re(L){if(E.call(L,"key")){var q=Object.getOwnPropertyDescriptor(L,"key").get;if(q&&q.isReactWarning)return!1}return L.key!==void 0}function xe(L,q){if(typeof L.ref=="string"&&Vt.current&&q&&Vt.current.stateNode!==q){var W=T(Vt.current.type);nr[W]||(M('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',T(Vt.current.type),L.ref),nr[W]=!0)}}function ze(L,q){{var W=function(){rs||(rs=!0,M("%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)",q))};W.isReactWarning=!0,Object.defineProperty(L,"key",{get:W,configurable:!0})}}function ot(L,q){{var W=function(){_a||(_a=!0,M("%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)",q))};W.isReactWarning=!0,Object.defineProperty(L,"ref",{get:W,configurable:!0})}}var Ta=function(L,q,W,ne,Me,Se,me){var pe={$$typeof:e,type:L,key:q,ref:W,props:me,_owner:Se};return pe._store={},Object.defineProperty(pe._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(pe,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ne}),Object.defineProperty(pe,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Me}),Object.freeze&&(Object.freeze(pe.props),Object.freeze(pe)),pe};function Qe(L,q,W,ne,Me){{var Se,me={},pe=null,dt=null;W!==void 0&&(rr(W),pe=""+W),re(q)&&(rr(q.key),pe=""+q.key),$(q)&&(dt=q.ref,xe(q,Me));for(Se in q)E.call(q,Se)&&!as.hasOwnProperty(Se)&&(me[Se]=q[Se]);if(L&&L.defaultProps){var $e=L.defaultProps;for(Se in $e)me[Se]===void 0&&(me[Se]=$e[Se])}if(pe||dt){var Ge=typeof L=="function"?L.displayName||L.name||"Unknown":L;pe&&ze(me,Ge),dt&&ot(me,Ge)}return Ta(L,pe,dt,Me,ne,Vt.current,me)}}var et=g.ReactCurrentOwner,ya=g.ReactDebugCurrentFrame;function Ne(L){if(L){var q=L._owner,W=H(L.type,L._source,q?q.type:null);ya.setExtraStackFrame(W)}else ya.setExtraStackFrame(null)}var tt;tt=!1;function or(L){return typeof L=="object"&&L!==null&&L.$$typeof===e}function Ks(){{if(et.current){var L=T(et.current.type);if(L)return`
21
+ `+pe[$e].replace(" at new "," at ");return L.displayName&&_t.includes("<anonymous>")&&(_t=_t.replace("<anonymous>",L.displayName)),typeof L=="function"&&se.set(L,_t),_t}while($e>=1&&Ge>=0);break}}}finally{ve=!1,te.current=Se,Q(),Error.prepareStackTrace=Me}var os=L?L.displayName||L.name:"",ir=os?ae(os):"";return typeof L=="function"&&se.set(L,ir),ir}function He(L,q,W){return le(L,!1)}function Ie(L){var q=L.prototype;return!!(q&&q.isReactComponent)}function H(L,q,W){if(L==null)return"";if(typeof L=="function")return le(L,Ie(L));if(typeof L=="string")return ae(L);switch(L){case h:return ae("Suspense");case u:return ae("SuspenseList")}if(typeof L=="object")switch(L.$$typeof){case d:return He(L.render);case p:return H(L.type,q,W);case y:{var ne=L,Me=ne._payload,Se=ne._init;try{return H(Se(Me),q,W)}catch{}}}return""}var E=Object.prototype.hasOwnProperty,K={},je=v.ReactDebugCurrentFrame;function fe(L){if(L){var q=L._owner,W=H(L.type,L._source,q?q.type:null);je.setExtraStackFrame(W)}else je.setExtraStackFrame(null)}function qe(L,q,W,ne,Me){{var Se=Function.call.bind(E);for(var me in L)if(Se(L,me)){var pe=void 0;try{if(typeof L[me]!="function"){var dt=Error((ne||"React class")+": "+W+" type `"+me+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof L[me]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw dt.name="Invariant Violation",dt}pe=L[me](q,me,ne,W,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch($e){pe=$e}pe&&!(pe instanceof Error)&&(fe(Me),M("%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).",ne||"React class",W,me,typeof pe),fe(null)),pe instanceof Error&&!(pe.message in K)&&(K[pe.message]=!0,fe(Me),M("Failed %s type: %s",W,pe.message),fe(null))}}}var Ve=Array.isArray;function gt(L){return Ve(L)}function ts(L){{var q=typeof Symbol=="function"&&Symbol.toStringTag,W=q&&L[Symbol.toStringTag]||L.constructor.name||"Object";return W}}function Ys(L){try{return Pa(L),!1}catch{return!0}}function Pa(L){return""+L}function rr(L){if(Ys(L))return M("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ts(L)),Pa(L)}var Vt=v.ReactCurrentOwner,as={key:!0,ref:!0,__self:!0,__source:!0},rs,_a,nr;nr={};function $(L){if(E.call(L,"ref")){var q=Object.getOwnPropertyDescriptor(L,"ref").get;if(q&&q.isReactWarning)return!1}return L.ref!==void 0}function re(L){if(E.call(L,"key")){var q=Object.getOwnPropertyDescriptor(L,"key").get;if(q&&q.isReactWarning)return!1}return L.key!==void 0}function xe(L,q){if(typeof L.ref=="string"&&Vt.current&&q&&Vt.current.stateNode!==q){var W=T(Vt.current.type);nr[W]||(M('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',T(Vt.current.type),L.ref),nr[W]=!0)}}function ze(L,q){{var W=function(){rs||(rs=!0,M("%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)",q))};W.isReactWarning=!0,Object.defineProperty(L,"key",{get:W,configurable:!0})}}function ot(L,q){{var W=function(){_a||(_a=!0,M("%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)",q))};W.isReactWarning=!0,Object.defineProperty(L,"ref",{get:W,configurable:!0})}}var Ta=function(L,q,W,ne,Me,Se,me){var pe={$$typeof:e,type:L,key:q,ref:W,props:me,_owner:Se};return pe._store={},Object.defineProperty(pe._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(pe,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ne}),Object.defineProperty(pe,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Me}),Object.freeze&&(Object.freeze(pe.props),Object.freeze(pe)),pe};function Qe(L,q,W,ne,Me){{var Se,me={},pe=null,dt=null;W!==void 0&&(rr(W),pe=""+W),re(q)&&(rr(q.key),pe=""+q.key),$(q)&&(dt=q.ref,xe(q,Me));for(Se in q)E.call(q,Se)&&!as.hasOwnProperty(Se)&&(me[Se]=q[Se]);if(L&&L.defaultProps){var $e=L.defaultProps;for(Se in $e)me[Se]===void 0&&(me[Se]=$e[Se])}if(pe||dt){var Ge=typeof L=="function"?L.displayName||L.name||"Unknown":L;pe&&ze(me,Ge),dt&&ot(me,Ge)}return Ta(L,pe,dt,Me,ne,Vt.current,me)}}var et=v.ReactCurrentOwner,ya=v.ReactDebugCurrentFrame;function Ne(L){if(L){var q=L._owner,W=H(L.type,L._source,q?q.type:null);ya.setExtraStackFrame(W)}else ya.setExtraStackFrame(null)}var tt;tt=!1;function or(L){return typeof L=="object"&&L!==null&&L.$$typeof===e}function Ks(){{if(et.current){var L=T(et.current.type);if(L)return`
22
22
 
23
23
  Check the render method of \``+L+"`."}return""}}function V(L){return""}var Z={};function de(L){{var q=Ks();if(!q){var W=typeof L=="string"?L:L.displayName||L.name;W&&(q=`
24
24
 
@@ -27,7 +27,7 @@ Check the top-level render call using <`+W+">.")}return q}}function ke(L,q){{if(
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} />`,Kb,ir,pT,ir),ns[ir+Kb]=!0}}return L===n?Bt(Ge):at(Ge),Ge}}function lt(L,q,W){return Qs(L,q,W,!0)}function Pt(L,q,W){return Qs(L,q,W,!1)}var Kc=Pt,uT=lt;tc.Fragment=n,tc.jsx=Kc,tc.jsxs=uT}()),tc}process.env.NODE_ENV==="production"?jC.exports=fT():jC.exports=xT();var a=jC.exports;function MS(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function kT(...t){return e=>{let r=!1;const n=t.map(o=>{const i=MS(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():MS(t[o],null)}}}}function Ye(t){const e=vT(t),r=k.forwardRef((n,o)=>{const{children:i,...c}=n,l=k.Children.toArray(i),d=l.find(wT);if(d){const h=d.props.children,u=l.map(p=>p===d?k.Children.count(h)>1?k.Children.only(null):k.isValidElement(h)?h.props.children:null:p);return a.jsx(e,{...c,ref:o,children:k.isValidElement(h)?k.cloneElement(h,void 0,u):null})}return a.jsx(e,{...c,ref:o,children:i})});return r.displayName=`${t}.Slot`,r}var gT=Ye("Slot");function vT(t){const e=k.forwardRef((r,n)=>{const{children:o,...i}=r;if(k.isValidElement(o)){const c=CT(o),l=bT(i,o.props);return o.type!==k.Fragment&&(l.ref=n?kT(n,c):c),k.cloneElement(o,l)}return k.Children.count(o)>1?k.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var HL=Symbol("radix.slottable");function MT(t){const e=({children:r})=>a.jsx(a.Fragment,{children:r});return e.displayName=`${t}.Slottable`,e.__radixId=HL,e}function wT(t){return k.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===HL}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)=>{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 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)}function VL(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=VL(t[e]))&&(n&&(n+=" "),n+=r);else for(e in t)t[e]&&(n&&(n+=" "),n+=e);return n}function jT(){for(var t,e,r=0,n="";r<arguments.length;)(t=arguments[r++])&&(e=VL(t))&&(n&&(n+=" "),n+=e);return n}const wS=t=>typeof t=="boolean"?"".concat(t):t===0?"0":t,bS=jT,Cb=(t,e)=>r=>{var n;if((e==null?void 0:e.variants)==null)return bS(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=wS(u)||wS(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,...m}=u;return Object.entries(m).every(v=>{let[f,x]=v;return Array.isArray(x)?x.includes({...i,...l}[f]):{...i,...l}[f]===x})?[...h,p,y]:h},[]);return bS(t,c,d,r==null?void 0:r.class,r==null?void 0:r.className)};function BL(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=BL(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function ST(){for(var t,e,r=0,n="",o=arguments.length;r<o;r++)(t=arguments[r])&&(e=BL(t))&&(n&&(n+=" "),n+=e);return n}const ij="-",LT=t=>{const e=NT(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=t;return{getClassGroupId:c=>{const l=c.split(ij);return l[0]===""&&l.length!==1&&l.shift(),UL(l,e)||IT(c)},getConflictingClassGroupIds:(c,l)=>{const d=r[c]||[];return l&&n[c]?[...d,...n[c]]:d}}},UL=(t,e)=>{var c;if(t.length===0)return e.classGroupId;const r=t[0],n=e.nextPart.get(r),o=n?UL(t.slice(1),n):void 0;if(o)return o;if(e.validators.length===0)return;const i=t.join(ij);return(c=e.validators.find(({validator:l})=>l(i)))==null?void 0:c.classGroupId},CS=/^\[(.+)\]$/,IT=t=>{if(CS.test(t)){const e=CS.exec(t)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},NT=t=>{const{theme:e,prefix:r}=t,n={nextPart:new Map,validators:[]};return PT(Object.entries(t.classGroups),r).forEach(([i,c])=>{SC(c,n,i,e)}),n},SC=(t,e,r,n)=>{t.forEach(o=>{if(typeof o=="string"){const i=o===""?e:jS(e,o);i.classGroupId=r;return}if(typeof o=="function"){if(AT(o)){SC(o(n),e,r,n);return}e.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([i,c])=>{SC(c,jS(e,i),r,n)})})},jS=(t,e)=>{let r=t;return e.split(ij).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},AT=t=>t.isThemeGetter,PT=(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,_T=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)}}},$L="!",TT=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 g=l[x];if(h===0){if(g===o&&(n||l.slice(x,x+i)===e)){d.push(l.slice(u,x)),u=x+i;continue}if(g==="/"){p=x;continue}}g==="["?h++:g==="]"&&h--}const y=d.length===0?l:l.substring(u),m=y.startsWith($L),v=m?y.substring(1):y,f=p&&p>u?p-u:void 0;return{modifiers:d,hasImportantModifier:m,baseClassName:v,maybePostfixModifierPosition:f}};return r?l=>r({className:l,parseClassName:c}):c},RT=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},qT=t=>({cache:_T(t.cacheSize),parseClassName:TT(t),...LT(t)}),DT=/\s+/,zT=(t,e)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o}=e,i=[],c=t.trim().split(DT);let l="";for(let d=c.length-1;d>=0;d-=1){const h=c[d],{modifiers:u,hasImportantModifier:p,baseClassName:y,maybePostfixModifierPosition:m}=r(h);let v=!!m,f=n(v?y.substring(0,m):y);if(!f){if(!v){l=h+(l.length>0?" "+l:l);continue}if(f=n(y),!f){l=h+(l.length>0?" "+l:l);continue}v=!1}const x=RT(u).join(":"),g=p?x+$L:x,M=g+f;if(i.includes(M))continue;i.push(M);const w=o(f,v);for(let j=0;j<w.length;++j){const b=w[j];i.push(g+b)}l=h+(l.length>0?" "+l:l)}return l};function FT(){let t=0,e,r,n="";for(;t<arguments.length;)(e=arguments[t++])&&(r=WL(e))&&(n&&(n+=" "),n+=r);return n}const WL=t=>{if(typeof t=="string")return t;let e,r="";for(let n=0;n<t.length;n++)t[n]&&(e=WL(t[n]))&&(r&&(r+=" "),r+=e);return r};function ET(t,...e){let r,n,o,i=c;function c(d){const h=e.reduce((u,p)=>p(u),t());return r=qT(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=zT(d,r);return o(d,u),u}return function(){return i(FT.apply(null,arguments))}}const Pe=t=>{const e=r=>r[t]||[];return e.isThemeGetter=!0,e},GL=/^\[(?:([a-z-]+):)?(.+)\]$/i,OT=/^\d+\/\d+$/,HT=new Set(["px","full","screen"]),VT=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,BT=/\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$/,UT=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,$T=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,WT=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ma=t=>us(t)||HT.has(t)||OT.test(t),Ra=t=>$s(t,"length",eR),us=t=>!!t&&!Number.isNaN(Number(t)),Qb=t=>$s(t,"number",us),ac=t=>!!t&&Number.isInteger(Number(t)),GT=t=>t.endsWith("%")&&us(t.slice(0,-1)),ce=t=>GL.test(t),qa=t=>VT.test(t),ZT=new Set(["length","size","percentage"]),XT=t=>$s(t,ZT,ZL),JT=t=>$s(t,"position",ZL),YT=new Set(["image","url"]),KT=t=>$s(t,YT,aR),QT=t=>$s(t,"",tR),rc=()=>!0,$s=(t,e,r)=>{const n=GL.exec(t);return n?n[1]?typeof e=="string"?n[1]===e:e.has(n[1]):r(n[2]):!1},eR=t=>BT.test(t)&&!UT.test(t),ZL=()=>!1,tR=t=>$T.test(t),aR=t=>WT.test(t),rR=()=>{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"),m=Pe("gradientColorStops"),v=Pe("gradientColorStopPositions"),f=Pe("inset"),x=Pe("margin"),g=Pe("opacity"),M=Pe("padding"),w=Pe("saturate"),j=Pe("scale"),b=Pe("sepia"),I=Pe("skew"),S=Pe("space"),A=Pe("translate"),N=()=>["auto","contain","none"],R=()=>["auto","hidden","clip","visible","scroll"],P=()=>["auto",ce,e],_=()=>[ce,e],T=()=>["",ma,Ra],F=()=>["auto",us,ce],U=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],z=()=>["solid","dashed","dotted","double","none"],B=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],D=()=>["start","end","center","between","around","evenly","stretch"],X=()=>["","0",ce],ie=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ee=()=>[us,ce];return{cacheSize:500,separator:":",theme:{colors:[rc],spacing:[ma,Ra],blur:["none","",qa,ce],brightness:ee(),borderColor:[t],borderRadius:["none","","full",qa,ce],borderSpacing:_(),borderWidth:T(),contrast:ee(),grayscale:X(),hueRotate:ee(),invert:X(),gap:_(),gradientColorStops:[t],gradientColorStopPositions:[GT,Ra],inset:P(),margin:P(),opacity:ee(),padding:_(),saturate:ee(),scale:ee(),sepia:X(),skew:ee(),space:_(),translate:_()},classGroups:{aspect:[{aspect:["auto","square","video",ce]}],container:["container"],columns:[{columns:[qa]}],"break-after":[{"break-after":ie()}],"break-before":[{"break-before":ie()}],"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:[...U(),ce]}],overflow:[{overflow:R()}],"overflow-x":[{"overflow-x":R()}],"overflow-y":[{"overflow-y":R()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ac,ce]}],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",ce]}],grow:[{grow:X()}],shrink:[{shrink:X()}],order:[{order:["first","last","none",ac,ce]}],"grid-cols":[{"grid-cols":[rc]}],"col-start-end":[{col:["auto",{span:["full",ac,ce]},ce]}],"col-start":[{"col-start":F()}],"col-end":[{"col-end":F()}],"grid-rows":[{"grid-rows":[rc]}],"row-start-end":[{row:["auto",{span:[ac,ce]},ce]}],"row-start":[{"row-start":F()}],"row-end":[{"row-end":F()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ce]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ce]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...D()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...D(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...D(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[M]}],px:[{px:[M]}],py:[{py:[M]}],ps:[{ps:[M]}],pe:[{pe:[M]}],pt:[{pt:[M]}],pr:[{pr:[M]}],pb:[{pb:[M]}],pl:[{pl:[M]}],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":[S]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[S]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ce,e]}],"min-w":[{"min-w":[ce,e,"min","max","fit"]}],"max-w":[{"max-w":[ce,e,"none","full","min","max","fit","prose",{screen:[qa]},qa]}],h:[{h:[ce,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ce,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ce,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ce,e,"auto","min","max","fit"]}],"font-size":[{text:["base",qa,Ra]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Qb]}],"font-family":[{font:[rc]}],"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",ce]}],"line-clamp":[{"line-clamp":["none",us,Qb]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",ma,ce]}],"list-image":[{"list-image":["none",ce]}],"list-style-type":[{list:["none","disc","decimal",ce]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",ma,Ra]}],"underline-offset":[{"underline-offset":["auto",ma,ce]}],"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",ce]}],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",ce]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...U(),JT]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",XT]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},KT]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[v]}],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],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":[g]}],"border-style":[{border:[...z(),"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":[g]}],"divide-style":[{divide:z()}],"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:["",...z()]}],"outline-offset":[{"outline-offset":[ma,ce]}],"outline-w":[{outline:[ma,Ra]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:T()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[ma,Ra]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",qa,QT]}],"shadow-color":[{shadow:[rc]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...B(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":B()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",qa,ce]}],grayscale:[{grayscale:[h]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[p]}],saturate:[{saturate:[w]}],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":[g]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"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",ce]}],duration:[{duration:ee()}],ease:[{ease:["linear","in","out","in-out",ce]}],delay:[{delay:ee()}],animate:[{animate:["none","spin","ping","pulse","bounce",ce]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[j]}],"scale-x":[{"scale-x":[j]}],"scale-y":[{"scale-y":[j]}],rotate:[{rotate:[ac,ce]}],"translate-x":[{"translate-x":[A]}],"translate-y":[{"translate-y":[A]}],"skew-x":[{"skew-x":[I]}],"skew-y":[{"skew-y":[I]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ce]}],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",ce]}],"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",ce]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[ma,Ra,Qb]}],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"]}}},nR=ET(rR);function oe(...t){return nR(ST(t))}const sj=Cb("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"}}),O=k.forwardRef(({className:t,variant:e,size:r,asChild:n=!1,...o},i)=>{const c=n?gT:"button";return a.jsx(c,{className:oe(sj({variant:e,size:r,className:t})),ref:i,...o})});O.displayName="Button";const Xe=k.forwardRef(({className:t,type:e,...r},n)=>a.jsx("input",{type:e,className:oe("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}));Xe.displayName="Input";function wa(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 oR(t,e=[]){let r=[];function n(i,c){const l=k.createContext(c),d=r.length;r=[...r,c];const h=p=>{var g;const{scope:y,children:m,...v}=p,f=((g=y==null?void 0:y[t])==null?void 0:g[d])||l,x=k.useMemo(()=>v,Object.values(v));return a.jsx(f.Provider,{value:x,children:m})};h.displayName=i+"Provider";function u(p,y){var f;const m=((f=y==null?void 0:y[t])==null?void 0:f[d])||l,v=k.useContext(m);if(v)return v;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=>k.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return k.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,iR(o,...e)]}function iR(...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 k.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function sR(t,e=[]){let r=[];function n(i,c){const l=k.createContext(c),d=r.length;r=[...r,c];function h(p){const{scope:y,children:m,...v}=p,f=(y==null?void 0:y[t][d])||l,x=k.useMemo(()=>v,Object.values(v));return a.jsx(f.Provider,{value:x,children:m})}function u(p,y){const m=(y==null?void 0:y[t][d])||l,v=k.useContext(m);if(v)return v;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=>k.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return k.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,cR(o,...e)]}function cR(...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 k.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function lR(t,e){typeof t=="function"?t(e):t!=null&&(t.current=e)}function cj(...t){return e=>t.forEach(r=>lR(r,e))}function ib(...t){return k.useCallback(cj(...t),t)}var LC=k.forwardRef((t,e)=>{const{children:r,...n}=t,o=k.Children.toArray(r),i=o.find(hR);if(i){const c=i.props.children,l=o.map(d=>d===i?k.Children.count(c)>1?k.Children.only(null):k.isValidElement(c)?c.props.children:null:d);return a.jsx(IC,{...n,ref:e,children:k.isValidElement(c)?k.cloneElement(c,void 0,l):null})}return a.jsx(IC,{...n,ref:e,children:r})});LC.displayName="Slot";var IC=k.forwardRef((t,e)=>{const{children:r,...n}=t;if(k.isValidElement(r)){const o=pR(r);return k.cloneElement(r,{...uR(n,r.props),ref:e?cj(e,o):o})}return k.Children.count(r)>1?k.Children.only(null):null});IC.displayName="SlotClone";var dR=({children:t})=>a.jsx(a.Fragment,{children:t});function hR(t){return k.isValidElement(t)&&t.type===dR}function uR(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 pR(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 yR(t){const e=t+"CollectionProvider",[r,n]=sR(e),[o,i]=r(e,{collectionRef:{current:null},itemMap:new Map}),c=m=>{const{scope:v,children:f}=m,x=C.useRef(null),g=C.useRef(new Map).current;return a.jsx(o,{scope:v,itemMap:g,collectionRef:x,children:f})};c.displayName=e;const l=t+"CollectionSlot",d=C.forwardRef((m,v)=>{const{scope:f,children:x}=m,g=i(l,f),M=ib(v,g.collectionRef);return a.jsx(LC,{ref:M,children:x})});d.displayName=l;const h=t+"CollectionItemSlot",u="data-radix-collection-item",p=C.forwardRef((m,v)=>{const{scope:f,children:x,...g}=m,M=C.useRef(null),w=ib(v,M),j=i(h,f);return C.useEffect(()=>(j.itemMap.set(M,{ref:M,...g}),()=>void j.itemMap.delete(M))),a.jsx(LC,{[u]:"",ref:w,children:x})});p.displayName=h;function y(m){const v=i(t+"CollectionConsumer",m);return C.useCallback(()=>{const x=v.collectionRef.current;if(!x)return[];const g=Array.from(x.querySelectorAll(`[${u}]`));return Array.from(v.itemMap.values()).sort((j,b)=>g.indexOf(j.ref.current)-g.indexOf(b.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:c,Slot:d,ItemSlot:p},y,n]}function mR(t,e=[]){let r=[];function n(i,c){const l=k.createContext(c),d=r.length;r=[...r,c];function h(p){const{scope:y,children:m,...v}=p,f=(y==null?void 0:y[t][d])||l,x=k.useMemo(()=>v,Object.values(v));return a.jsx(f.Provider,{value:x,children:m})}function u(p,y){const m=(y==null?void 0:y[t][d])||l,v=k.useContext(m);if(v)return v;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=>k.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return k.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,fR(o,...e)]}function fR(...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 k.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var NC=globalThis!=null&&globalThis.document?k.useLayoutEffect:()=>{},xR=k.useId||(()=>{}),kR=0;function XL(t){const[e,r]=k.useState(xR());return NC(()=>{t||r(n=>n??String(kR++))},[t]),t||(e?`radix-${e}`:"")}var JL=k.forwardRef((t,e)=>{const{children:r,...n}=t,o=k.Children.toArray(r),i=o.find(vR);if(i){const c=i.props.children,l=o.map(d=>d===i?k.Children.count(c)>1?k.Children.only(null):k.isValidElement(c)?c.props.children:null:d);return a.jsx(AC,{...n,ref:e,children:k.isValidElement(c)?k.cloneElement(c,void 0,l):null})}return a.jsx(AC,{...n,ref:e,children:r})});JL.displayName="Slot";var AC=k.forwardRef((t,e)=>{const{children:r,...n}=t;if(k.isValidElement(r)){const o=wR(r);return k.cloneElement(r,{...MR(n,r.props),ref:e?cj(e,o):o})}return k.Children.count(r)>1?k.Children.only(null):null});AC.displayName="SlotClone";var gR=({children:t})=>a.jsx(a.Fragment,{children:t});function vR(t){return k.isValidElement(t)&&t.type===gR}function MR(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 wR(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 bR=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Xi=bR.reduce((t,e)=>{const r=k.forwardRef((n,o)=>{const{asChild:i,...c}=n,l=i?JL: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 lj(t){const e=k.useRef(t);return k.useEffect(()=>{e.current=t}),k.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}function YL({prop:t,defaultProp:e,onChange:r=()=>{}}){const[n,o]=CR({defaultProp:e,onChange:r}),i=t!==void 0,c=i?t:n,l=lj(r),d=k.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 CR({defaultProp:t,onChange:e}){const r=k.useState(t),[n]=r,o=k.useRef(n),i=lj(e);return k.useEffect(()=>{o.current!==n&&(i(n),o.current=n)},[n,o,i]),r}var jR=k.createContext(void 0);function KL(t){const e=k.useContext(jR);return t||e||"ltr"}var eC="rovingFocusGroup.onEntryFocus",SR={bubbles:!1,cancelable:!0},jb="RovingFocusGroup",[PC,QL,LR]=yR(jb),[IR,eI]=mR(jb,[LR]),[NR,AR]=IR(jb),tI=k.forwardRef((t,e)=>a.jsx(PC.Provider,{scope:t.__scopeRovingFocusGroup,children:a.jsx(PC.Slot,{scope:t.__scopeRovingFocusGroup,children:a.jsx(PR,{...t,ref:e})})}));tI.displayName=jb;var PR=k.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=k.useRef(null),m=ib(e,y),v=KL(i),[f=null,x]=YL({prop:c,defaultProp:l,onChange:d}),[g,M]=k.useState(!1),w=lj(h),j=QL(r),b=k.useRef(!1),[I,S]=k.useState(0);return k.useEffect(()=>{const A=y.current;if(A)return A.addEventListener(eC,w),()=>A.removeEventListener(eC,w)},[w]),a.jsx(NR,{scope:r,orientation:n,dir:v,loop:o,currentTabStopId:f,onItemFocus:k.useCallback(A=>x(A),[x]),onItemShiftTab:k.useCallback(()=>M(!0),[]),onFocusableItemAdd:k.useCallback(()=>S(A=>A+1),[]),onFocusableItemRemove:k.useCallback(()=>S(A=>A-1),[]),children:a.jsx(Xi.div,{tabIndex:g||I===0?-1:0,"data-orientation":n,...p,ref:m,style:{outline:"none",...t.style},onMouseDown:wa(t.onMouseDown,()=>{b.current=!0}),onFocus:wa(t.onFocus,A=>{const N=!b.current;if(A.target===A.currentTarget&&N&&!g){const R=new CustomEvent(eC,SR);if(A.currentTarget.dispatchEvent(R),!R.defaultPrevented){const P=j().filter(z=>z.focusable),_=P.find(z=>z.active),T=P.find(z=>z.id===f),U=[_,T,...P].filter(Boolean).map(z=>z.ref.current);nI(U,u)}}b.current=!1}),onBlur:wa(t.onBlur,()=>M(!1))})})}),aI="RovingFocusGroupItem",rI=k.forwardRef((t,e)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:i,...c}=t,l=XL(),d=i||l,h=AR(aI,r),u=h.currentTabStopId===d,p=QL(r),{onFocusableItemAdd:y,onFocusableItemRemove:m}=h;return k.useEffect(()=>{if(n)return y(),()=>m()},[n,y,m]),a.jsx(PC.ItemSlot,{scope:r,id:d,focusable:n,active:o,children:a.jsx(Xi.span,{tabIndex:u?0:-1,"data-orientation":h.orientation,...c,ref:e,onMouseDown:wa(t.onMouseDown,v=>{n?h.onItemFocus(d):v.preventDefault()}),onFocus:wa(t.onFocus,()=>h.onItemFocus(d)),onKeyDown:wa(t.onKeyDown,v=>{if(v.key==="Tab"&&v.shiftKey){h.onItemShiftTab();return}if(v.target!==v.currentTarget)return;const f=RR(v,h.orientation,h.dir);if(f!==void 0){if(v.metaKey||v.ctrlKey||v.altKey||v.shiftKey)return;v.preventDefault();let g=p().filter(M=>M.focusable).map(M=>M.ref.current);if(f==="last")g.reverse();else if(f==="prev"||f==="next"){f==="prev"&&g.reverse();const M=g.indexOf(v.currentTarget);g=h.loop?qR(g,M+1):g.slice(M+1)}setTimeout(()=>nI(g))}})})})});rI.displayName=aI;var _R={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function TR(t,e){return e!=="rtl"?t:t==="ArrowLeft"?"ArrowRight":t==="ArrowRight"?"ArrowLeft":t}function RR(t,e,r){const n=TR(t.key,r);if(!(e==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(e==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return _R[n]}function nI(t,e=!1){const r=document.activeElement;for(const n of t)if(n===r||(n.focus({preventScroll:e}),document.activeElement!==r))return}function qR(t,e){return t.map((r,n)=>t[(e+n)%t.length])}var DR=tI,zR=rI;function FR(t,e){return k.useReducer((r,n)=>e[r][n]??r,t)}var oI=t=>{const{present:e,children:r}=t,n=ER(e),o=typeof r=="function"?r({present:n.isPresent}):k.Children.only(r),i=ib(n.ref,OR(o));return typeof r=="function"||n.isPresent?k.cloneElement(o,{ref:i}):null};oI.displayName="Presence";function ER(t){const[e,r]=k.useState(),n=k.useRef({}),o=k.useRef(t),i=k.useRef("none"),c=t?"mounted":"unmounted",[l,d]=FR(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return k.useEffect(()=>{const h=Qc(n.current);i.current=l==="mounted"?h:"none"},[l]),NC(()=>{const h=n.current,u=o.current;if(u!==t){const y=i.current,m=Qc(h);t?d("MOUNT"):m==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&y!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,d]),NC(()=>{if(e){let h;const u=e.ownerDocument.defaultView??window,p=m=>{const f=Qc(n.current).includes(m.animationName);if(m.target===e&&f&&(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=m=>{m.target===e&&(i.current=Qc(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:k.useCallback(h=>{h&&(n.current=getComputedStyle(h)),r(h)},[])}}function Qc(t){return(t==null?void 0:t.animationName)||"none"}function OR(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 dj="Tabs",[HR,tU]=oR(dj,[eI]),iI=eI(),[VR,hj]=HR(dj),sI=k.forwardRef((t,e)=>{const{__scopeTabs:r,value:n,onValueChange:o,defaultValue:i,orientation:c="horizontal",dir:l,activationMode:d="automatic",...h}=t,u=KL(l),[p,y]=YL({prop:n,onChange:o,defaultProp:i});return a.jsx(VR,{scope:r,baseId:XL(),value:p,onValueChange:y,orientation:c,dir:u,activationMode:d,children:a.jsx(Xi.div,{dir:u,"data-orientation":c,...h,ref:e})})});sI.displayName=dj;var cI="TabsList",lI=k.forwardRef((t,e)=>{const{__scopeTabs:r,loop:n=!0,...o}=t,i=hj(cI,r),c=iI(r);return a.jsx(DR,{asChild:!0,...c,orientation:i.orientation,dir:i.dir,loop:n,children:a.jsx(Xi.div,{role:"tablist","aria-orientation":i.orientation,...o,ref:e})})});lI.displayName=cI;var dI="TabsTrigger",hI=k.forwardRef((t,e)=>{const{__scopeTabs:r,value:n,disabled:o=!1,...i}=t,c=hj(dI,r),l=iI(r),d=yI(c.baseId,n),h=mI(c.baseId,n),u=n===c.value;return a.jsx(zR,{asChild:!0,...l,focusable:!o,active:u,children:a.jsx(Xi.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:wa(t.onMouseDown,p=>{!o&&p.button===0&&p.ctrlKey===!1?c.onValueChange(n):p.preventDefault()}),onKeyDown:wa(t.onKeyDown,p=>{[" ","Enter"].includes(p.key)&&c.onValueChange(n)}),onFocus:wa(t.onFocus,()=>{const p=c.activationMode!=="manual";!u&&!o&&p&&c.onValueChange(n)})})})});hI.displayName=dI;var uI="TabsContent",pI=k.forwardRef((t,e)=>{const{__scopeTabs:r,value:n,forceMount:o,children:i,...c}=t,l=hj(uI,r),d=yI(l.baseId,n),h=mI(l.baseId,n),u=n===l.value,p=k.useRef(u);return k.useEffect(()=>{const y=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(y)},[]),a.jsx(oI,{present:o||u,children:({present:y})=>a.jsx(Xi.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})})});pI.displayName=uI;function yI(t,e){return`${t}-trigger-${e}`}function mI(t,e){return`${t}-content-${e}`}var BR=sI,fI=lI,xI=hI,kI=pI;const Ji=BR,Ka=k.forwardRef(({className:t,...e},r)=>a.jsx(fI,{ref:r,className:oe("inline-flex items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",t),...e}));Ka.displayName=fI.displayName;const be=k.forwardRef(({className:t,...e},r)=>a.jsx(xI,{ref:r,className:oe("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}));be.displayName=xI.displayName;const Ce=k.forwardRef(({className:t,...e},r)=>a.jsx(kI,{ref:r,className:oe("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",t),...e}));Ce.displayName=kI.displayName;const ge=k.forwardRef(({className:t,...e},r)=>a.jsx("div",{ref:r,className:oe("rounded-xl border bg-card text-card-foreground shadow",t),...e}));ge.displayName="Card";const _e=k.forwardRef(({className:t,...e},r)=>a.jsx("div",{ref:r,className:oe("flex flex-col space-y-1.5 p-6",t),...e}));_e.displayName="CardHeader";const Te=k.forwardRef(({className:t,...e},r)=>a.jsx("h3",{ref:r,className:oe("font-semibold leading-none tracking-tight",t),...e}));Te.displayName="CardTitle";const Be=k.forwardRef(({className:t,...e},r)=>a.jsx("p",{ref:r,className:oe("text-sm text-muted-foreground",t),...e}));Be.displayName="CardDescription";const we=k.forwardRef(({className:t,...e},r)=>a.jsx("div",{ref:r,className:oe("p-6 pt-0",t),...e}));we.displayName="CardContent";const Rs=k.forwardRef(({className:t,...e},r)=>a.jsx("div",{ref:r,className:oe("flex items-center p-6 pt-0",t),...e}));Rs.displayName="CardFooter";/**
30
+ <%s key={someKey} {...props} />`,Kb,ir,pT,ir),ns[ir+Kb]=!0}}return L===n?Bt(Ge):at(Ge),Ge}}function lt(L,q,W){return Qs(L,q,W,!0)}function Pt(L,q,W){return Qs(L,q,W,!1)}var Kc=Pt,uT=lt;tc.Fragment=n,tc.jsx=Kc,tc.jsxs=uT}()),tc}process.env.NODE_ENV==="production"?jC.exports=fT():jC.exports=xT();var a=jC.exports;function MS(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function kT(...t){return e=>{let r=!1;const n=t.map(o=>{const i=MS(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():MS(t[o],null)}}}}function Ye(t){const e=vT(t),r=k.forwardRef((n,o)=>{const{children:i,...c}=n,l=k.Children.toArray(i),d=l.find(wT);if(d){const h=d.props.children,u=l.map(p=>p===d?k.Children.count(h)>1?k.Children.only(null):k.isValidElement(h)?h.props.children:null:p);return a.jsx(e,{...c,ref:o,children:k.isValidElement(h)?k.cloneElement(h,void 0,u):null})}return a.jsx(e,{...c,ref:o,children:i})});return r.displayName=`${t}.Slot`,r}var gT=Ye("Slot");function vT(t){const e=k.forwardRef((r,n)=>{const{children:o,...i}=r;if(k.isValidElement(o)){const c=CT(o),l=bT(i,o.props);return o.type!==k.Fragment&&(l.ref=n?kT(n,c):c),k.cloneElement(o,l)}return k.Children.count(o)>1?k.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var HL=Symbol("radix.slottable");function MT(t){const e=({children:r})=>a.jsx(a.Fragment,{children:r});return e.displayName=`${t}.Slottable`,e.__radixId=HL,e}function wT(t){return k.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===HL}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)=>{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 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)}function VL(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=VL(t[e]))&&(n&&(n+=" "),n+=r);else for(e in t)t[e]&&(n&&(n+=" "),n+=e);return n}function jT(){for(var t,e,r=0,n="";r<arguments.length;)(t=arguments[r++])&&(e=VL(t))&&(n&&(n+=" "),n+=e);return n}const wS=t=>typeof t=="boolean"?"".concat(t):t===0?"0":t,bS=jT,Cb=(t,e)=>r=>{var n;if((e==null?void 0:e.variants)==null)return bS(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=wS(u)||wS(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,...m}=u;return Object.entries(m).every(g=>{let[f,x]=g;return Array.isArray(x)?x.includes({...i,...l}[f]):{...i,...l}[f]===x})?[...h,p,y]:h},[]);return bS(t,c,d,r==null?void 0:r.class,r==null?void 0:r.className)};function BL(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=BL(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function ST(){for(var t,e,r=0,n="",o=arguments.length;r<o;r++)(t=arguments[r])&&(e=BL(t))&&(n&&(n+=" "),n+=e);return n}const ij="-",LT=t=>{const e=NT(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=t;return{getClassGroupId:c=>{const l=c.split(ij);return l[0]===""&&l.length!==1&&l.shift(),UL(l,e)||IT(c)},getConflictingClassGroupIds:(c,l)=>{const d=r[c]||[];return l&&n[c]?[...d,...n[c]]:d}}},UL=(t,e)=>{var c;if(t.length===0)return e.classGroupId;const r=t[0],n=e.nextPart.get(r),o=n?UL(t.slice(1),n):void 0;if(o)return o;if(e.validators.length===0)return;const i=t.join(ij);return(c=e.validators.find(({validator:l})=>l(i)))==null?void 0:c.classGroupId},CS=/^\[(.+)\]$/,IT=t=>{if(CS.test(t)){const e=CS.exec(t)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},NT=t=>{const{theme:e,prefix:r}=t,n={nextPart:new Map,validators:[]};return PT(Object.entries(t.classGroups),r).forEach(([i,c])=>{SC(c,n,i,e)}),n},SC=(t,e,r,n)=>{t.forEach(o=>{if(typeof o=="string"){const i=o===""?e:jS(e,o);i.classGroupId=r;return}if(typeof o=="function"){if(AT(o)){SC(o(n),e,r,n);return}e.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([i,c])=>{SC(c,jS(e,i),r,n)})})},jS=(t,e)=>{let r=t;return e.split(ij).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},AT=t=>t.isThemeGetter,PT=(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,_T=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)}}},$L="!",TT=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),m=y.startsWith($L),g=m?y.substring(1):y,f=p&&p>u?p-u:void 0;return{modifiers:d,hasImportantModifier:m,baseClassName:g,maybePostfixModifierPosition:f}};return r?l=>r({className:l,parseClassName:c}):c},RT=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},qT=t=>({cache:_T(t.cacheSize),parseClassName:TT(t),...LT(t)}),DT=/\s+/,zT=(t,e)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o}=e,i=[],c=t.trim().split(DT);let l="";for(let d=c.length-1;d>=0;d-=1){const h=c[d],{modifiers:u,hasImportantModifier:p,baseClassName:y,maybePostfixModifierPosition:m}=r(h);let g=!!m,f=n(g?y.substring(0,m):y);if(!f){if(!g){l=h+(l.length>0?" "+l:l);continue}if(f=n(y),!f){l=h+(l.length>0?" "+l:l);continue}g=!1}const x=RT(u).join(":"),v=p?x+$L:x,M=v+f;if(i.includes(M))continue;i.push(M);const w=o(f,g);for(let b=0;b<w.length;++b){const C=w[b];i.push(v+C)}l=h+(l.length>0?" "+l:l)}return l};function FT(){let t=0,e,r,n="";for(;t<arguments.length;)(e=arguments[t++])&&(r=WL(e))&&(n&&(n+=" "),n+=r);return n}const WL=t=>{if(typeof t=="string")return t;let e,r="";for(let n=0;n<t.length;n++)t[n]&&(e=WL(t[n]))&&(r&&(r+=" "),r+=e);return r};function ET(t,...e){let r,n,o,i=c;function c(d){const h=e.reduce((u,p)=>p(u),t());return r=qT(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=zT(d,r);return o(d,u),u}return function(){return i(FT.apply(null,arguments))}}const Pe=t=>{const e=r=>r[t]||[];return e.isThemeGetter=!0,e},GL=/^\[(?:([a-z-]+):)?(.+)\]$/i,OT=/^\d+\/\d+$/,HT=new Set(["px","full","screen"]),VT=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,BT=/\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$/,UT=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,$T=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,WT=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ma=t=>us(t)||HT.has(t)||OT.test(t),Ra=t=>$s(t,"length",eR),us=t=>!!t&&!Number.isNaN(Number(t)),Qb=t=>$s(t,"number",us),ac=t=>!!t&&Number.isInteger(Number(t)),GT=t=>t.endsWith("%")&&us(t.slice(0,-1)),ce=t=>GL.test(t),qa=t=>VT.test(t),ZT=new Set(["length","size","percentage"]),XT=t=>$s(t,ZT,ZL),JT=t=>$s(t,"position",ZL),YT=new Set(["image","url"]),KT=t=>$s(t,YT,aR),QT=t=>$s(t,"",tR),rc=()=>!0,$s=(t,e,r)=>{const n=GL.exec(t);return n?n[1]?typeof e=="string"?n[1]===e:e.has(n[1]):r(n[2]):!1},eR=t=>BT.test(t)&&!UT.test(t),ZL=()=>!1,tR=t=>$T.test(t),aR=t=>WT.test(t),rR=()=>{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"),m=Pe("gradientColorStops"),g=Pe("gradientColorStopPositions"),f=Pe("inset"),x=Pe("margin"),v=Pe("opacity"),M=Pe("padding"),w=Pe("saturate"),b=Pe("scale"),C=Pe("sepia"),I=Pe("skew"),S=Pe("space"),A=Pe("translate"),N=()=>["auto","contain","none"],R=()=>["auto","hidden","clip","visible","scroll"],P=()=>["auto",ce,e],_=()=>[ce,e],T=()=>["",ma,Ra],F=()=>["auto",us,ce],U=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],z=()=>["solid","dashed","dotted","double","none"],B=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],D=()=>["start","end","center","between","around","evenly","stretch"],X=()=>["","0",ce],ie=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ee=()=>[us,ce];return{cacheSize:500,separator:":",theme:{colors:[rc],spacing:[ma,Ra],blur:["none","",qa,ce],brightness:ee(),borderColor:[t],borderRadius:["none","","full",qa,ce],borderSpacing:_(),borderWidth:T(),contrast:ee(),grayscale:X(),hueRotate:ee(),invert:X(),gap:_(),gradientColorStops:[t],gradientColorStopPositions:[GT,Ra],inset:P(),margin:P(),opacity:ee(),padding:_(),saturate:ee(),scale:ee(),sepia:X(),skew:ee(),space:_(),translate:_()},classGroups:{aspect:[{aspect:["auto","square","video",ce]}],container:["container"],columns:[{columns:[qa]}],"break-after":[{"break-after":ie()}],"break-before":[{"break-before":ie()}],"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:[...U(),ce]}],overflow:[{overflow:R()}],"overflow-x":[{"overflow-x":R()}],"overflow-y":[{"overflow-y":R()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ac,ce]}],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",ce]}],grow:[{grow:X()}],shrink:[{shrink:X()}],order:[{order:["first","last","none",ac,ce]}],"grid-cols":[{"grid-cols":[rc]}],"col-start-end":[{col:["auto",{span:["full",ac,ce]},ce]}],"col-start":[{"col-start":F()}],"col-end":[{"col-end":F()}],"grid-rows":[{"grid-rows":[rc]}],"row-start-end":[{row:["auto",{span:[ac,ce]},ce]}],"row-start":[{"row-start":F()}],"row-end":[{"row-end":F()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ce]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ce]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...D()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...D(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...D(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[M]}],px:[{px:[M]}],py:[{py:[M]}],ps:[{ps:[M]}],pe:[{pe:[M]}],pt:[{pt:[M]}],pr:[{pr:[M]}],pb:[{pb:[M]}],pl:[{pl:[M]}],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":[S]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[S]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ce,e]}],"min-w":[{"min-w":[ce,e,"min","max","fit"]}],"max-w":[{"max-w":[ce,e,"none","full","min","max","fit","prose",{screen:[qa]},qa]}],h:[{h:[ce,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ce,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ce,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ce,e,"auto","min","max","fit"]}],"font-size":[{text:["base",qa,Ra]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Qb]}],"font-family":[{font:[rc]}],"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",ce]}],"line-clamp":[{"line-clamp":["none",us,Qb]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",ma,ce]}],"list-image":[{"list-image":["none",ce]}],"list-style-type":[{list:["none","disc","decimal",ce]}],"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:[...z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",ma,Ra]}],"underline-offset":[{"underline-offset":["auto",ma,ce]}],"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",ce]}],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",ce]}],"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:[...U(),JT]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",XT]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},KT]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],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:[...z(),"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:z()}],"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:["",...z()]}],"outline-offset":[{"outline-offset":[ma,ce]}],"outline-w":[{outline:[ma,Ra]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:T()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[ma,Ra]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",qa,QT]}],"shadow-color":[{shadow:[rc]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...B(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":B()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",qa,ce]}],grayscale:[{grayscale:[h]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[p]}],saturate:[{saturate:[w]}],sepia:[{sepia:[C]}],"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":[w]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"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",ce]}],duration:[{duration:ee()}],ease:[{ease:["linear","in","out","in-out",ce]}],delay:[{delay:ee()}],animate:[{animate:["none","spin","ping","pulse","bounce",ce]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[b]}],"scale-x":[{"scale-x":[b]}],"scale-y":[{"scale-y":[b]}],rotate:[{rotate:[ac,ce]}],"translate-x":[{"translate-x":[A]}],"translate-y":[{"translate-y":[A]}],"skew-x":[{"skew-x":[I]}],"skew-y":[{"skew-y":[I]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ce]}],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",ce]}],"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",ce]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[ma,Ra,Qb]}],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"]}}},nR=ET(rR);function oe(...t){return nR(ST(t))}const sj=Cb("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"}}),O=k.forwardRef(({className:t,variant:e,size:r,asChild:n=!1,...o},i)=>{const c=n?gT:"button";return a.jsx(c,{className:oe(sj({variant:e,size:r,className:t})),ref:i,...o})});O.displayName="Button";const Xe=k.forwardRef(({className:t,type:e,...r},n)=>a.jsx("input",{type:e,className:oe("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}));Xe.displayName="Input";function wa(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 oR(t,e=[]){let r=[];function n(i,c){const l=k.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:m,...g}=p,f=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=k.useMemo(()=>g,Object.values(g));return a.jsx(f.Provider,{value:x,children:m})};h.displayName=i+"Provider";function u(p,y){var f;const m=((f=y==null?void 0:y[t])==null?void 0:f[d])||l,g=k.useContext(m);if(g)return g;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=>k.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return k.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,iR(o,...e)]}function iR(...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 k.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function sR(t,e=[]){let r=[];function n(i,c){const l=k.createContext(c),d=r.length;r=[...r,c];function h(p){const{scope:y,children:m,...g}=p,f=(y==null?void 0:y[t][d])||l,x=k.useMemo(()=>g,Object.values(g));return a.jsx(f.Provider,{value:x,children:m})}function u(p,y){const m=(y==null?void 0:y[t][d])||l,g=k.useContext(m);if(g)return g;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=>k.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return k.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,cR(o,...e)]}function cR(...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 k.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function lR(t,e){typeof t=="function"?t(e):t!=null&&(t.current=e)}function cj(...t){return e=>t.forEach(r=>lR(r,e))}function ib(...t){return k.useCallback(cj(...t),t)}var LC=k.forwardRef((t,e)=>{const{children:r,...n}=t,o=k.Children.toArray(r),i=o.find(hR);if(i){const c=i.props.children,l=o.map(d=>d===i?k.Children.count(c)>1?k.Children.only(null):k.isValidElement(c)?c.props.children:null:d);return a.jsx(IC,{...n,ref:e,children:k.isValidElement(c)?k.cloneElement(c,void 0,l):null})}return a.jsx(IC,{...n,ref:e,children:r})});LC.displayName="Slot";var IC=k.forwardRef((t,e)=>{const{children:r,...n}=t;if(k.isValidElement(r)){const o=pR(r);return k.cloneElement(r,{...uR(n,r.props),ref:e?cj(e,o):o})}return k.Children.count(r)>1?k.Children.only(null):null});IC.displayName="SlotClone";var dR=({children:t})=>a.jsx(a.Fragment,{children:t});function hR(t){return k.isValidElement(t)&&t.type===dR}function uR(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 pR(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 yR(t){const e=t+"CollectionProvider",[r,n]=sR(e),[o,i]=r(e,{collectionRef:{current:null},itemMap:new Map}),c=m=>{const{scope:g,children:f}=m,x=j.useRef(null),v=j.useRef(new Map).current;return a.jsx(o,{scope:g,itemMap:v,collectionRef:x,children:f})};c.displayName=e;const l=t+"CollectionSlot",d=j.forwardRef((m,g)=>{const{scope:f,children:x}=m,v=i(l,f),M=ib(g,v.collectionRef);return a.jsx(LC,{ref:M,children:x})});d.displayName=l;const h=t+"CollectionItemSlot",u="data-radix-collection-item",p=j.forwardRef((m,g)=>{const{scope:f,children:x,...v}=m,M=j.useRef(null),w=ib(g,M),b=i(h,f);return j.useEffect(()=>(b.itemMap.set(M,{ref:M,...v}),()=>void b.itemMap.delete(M))),a.jsx(LC,{[u]:"",ref:w,children:x})});p.displayName=h;function y(m){const g=i(t+"CollectionConsumer",m);return j.useCallback(()=>{const x=g.collectionRef.current;if(!x)return[];const v=Array.from(x.querySelectorAll(`[${u}]`));return Array.from(g.itemMap.values()).sort((b,C)=>v.indexOf(b.ref.current)-v.indexOf(C.ref.current))},[g.collectionRef,g.itemMap])}return[{Provider:c,Slot:d,ItemSlot:p},y,n]}function mR(t,e=[]){let r=[];function n(i,c){const l=k.createContext(c),d=r.length;r=[...r,c];function h(p){const{scope:y,children:m,...g}=p,f=(y==null?void 0:y[t][d])||l,x=k.useMemo(()=>g,Object.values(g));return a.jsx(f.Provider,{value:x,children:m})}function u(p,y){const m=(y==null?void 0:y[t][d])||l,g=k.useContext(m);if(g)return g;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=>k.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return k.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,fR(o,...e)]}function fR(...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 k.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var NC=globalThis!=null&&globalThis.document?k.useLayoutEffect:()=>{},xR=k.useId||(()=>{}),kR=0;function XL(t){const[e,r]=k.useState(xR());return NC(()=>{t||r(n=>n??String(kR++))},[t]),t||(e?`radix-${e}`:"")}var JL=k.forwardRef((t,e)=>{const{children:r,...n}=t,o=k.Children.toArray(r),i=o.find(vR);if(i){const c=i.props.children,l=o.map(d=>d===i?k.Children.count(c)>1?k.Children.only(null):k.isValidElement(c)?c.props.children:null:d);return a.jsx(AC,{...n,ref:e,children:k.isValidElement(c)?k.cloneElement(c,void 0,l):null})}return a.jsx(AC,{...n,ref:e,children:r})});JL.displayName="Slot";var AC=k.forwardRef((t,e)=>{const{children:r,...n}=t;if(k.isValidElement(r)){const o=wR(r);return k.cloneElement(r,{...MR(n,r.props),ref:e?cj(e,o):o})}return k.Children.count(r)>1?k.Children.only(null):null});AC.displayName="SlotClone";var gR=({children:t})=>a.jsx(a.Fragment,{children:t});function vR(t){return k.isValidElement(t)&&t.type===gR}function MR(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 wR(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 bR=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Xi=bR.reduce((t,e)=>{const r=k.forwardRef((n,o)=>{const{asChild:i,...c}=n,l=i?JL: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 lj(t){const e=k.useRef(t);return k.useEffect(()=>{e.current=t}),k.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}function YL({prop:t,defaultProp:e,onChange:r=()=>{}}){const[n,o]=CR({defaultProp:e,onChange:r}),i=t!==void 0,c=i?t:n,l=lj(r),d=k.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 CR({defaultProp:t,onChange:e}){const r=k.useState(t),[n]=r,o=k.useRef(n),i=lj(e);return k.useEffect(()=>{o.current!==n&&(i(n),o.current=n)},[n,o,i]),r}var jR=k.createContext(void 0);function KL(t){const e=k.useContext(jR);return t||e||"ltr"}var eC="rovingFocusGroup.onEntryFocus",SR={bubbles:!1,cancelable:!0},jb="RovingFocusGroup",[PC,QL,LR]=yR(jb),[IR,eI]=mR(jb,[LR]),[NR,AR]=IR(jb),tI=k.forwardRef((t,e)=>a.jsx(PC.Provider,{scope:t.__scopeRovingFocusGroup,children:a.jsx(PC.Slot,{scope:t.__scopeRovingFocusGroup,children:a.jsx(PR,{...t,ref:e})})}));tI.displayName=jb;var PR=k.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=k.useRef(null),m=ib(e,y),g=KL(i),[f=null,x]=YL({prop:c,defaultProp:l,onChange:d}),[v,M]=k.useState(!1),w=lj(h),b=QL(r),C=k.useRef(!1),[I,S]=k.useState(0);return k.useEffect(()=>{const A=y.current;if(A)return A.addEventListener(eC,w),()=>A.removeEventListener(eC,w)},[w]),a.jsx(NR,{scope:r,orientation:n,dir:g,loop:o,currentTabStopId:f,onItemFocus:k.useCallback(A=>x(A),[x]),onItemShiftTab:k.useCallback(()=>M(!0),[]),onFocusableItemAdd:k.useCallback(()=>S(A=>A+1),[]),onFocusableItemRemove:k.useCallback(()=>S(A=>A-1),[]),children:a.jsx(Xi.div,{tabIndex:v||I===0?-1:0,"data-orientation":n,...p,ref:m,style:{outline:"none",...t.style},onMouseDown:wa(t.onMouseDown,()=>{C.current=!0}),onFocus:wa(t.onFocus,A=>{const N=!C.current;if(A.target===A.currentTarget&&N&&!v){const R=new CustomEvent(eC,SR);if(A.currentTarget.dispatchEvent(R),!R.defaultPrevented){const P=b().filter(z=>z.focusable),_=P.find(z=>z.active),T=P.find(z=>z.id===f),U=[_,T,...P].filter(Boolean).map(z=>z.ref.current);nI(U,u)}}C.current=!1}),onBlur:wa(t.onBlur,()=>M(!1))})})}),aI="RovingFocusGroupItem",rI=k.forwardRef((t,e)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:i,...c}=t,l=XL(),d=i||l,h=AR(aI,r),u=h.currentTabStopId===d,p=QL(r),{onFocusableItemAdd:y,onFocusableItemRemove:m}=h;return k.useEffect(()=>{if(n)return y(),()=>m()},[n,y,m]),a.jsx(PC.ItemSlot,{scope:r,id:d,focusable:n,active:o,children:a.jsx(Xi.span,{tabIndex:u?0:-1,"data-orientation":h.orientation,...c,ref:e,onMouseDown:wa(t.onMouseDown,g=>{n?h.onItemFocus(d):g.preventDefault()}),onFocus:wa(t.onFocus,()=>h.onItemFocus(d)),onKeyDown:wa(t.onKeyDown,g=>{if(g.key==="Tab"&&g.shiftKey){h.onItemShiftTab();return}if(g.target!==g.currentTarget)return;const f=RR(g,h.orientation,h.dir);if(f!==void 0){if(g.metaKey||g.ctrlKey||g.altKey||g.shiftKey)return;g.preventDefault();let v=p().filter(M=>M.focusable).map(M=>M.ref.current);if(f==="last")v.reverse();else if(f==="prev"||f==="next"){f==="prev"&&v.reverse();const M=v.indexOf(g.currentTarget);v=h.loop?qR(v,M+1):v.slice(M+1)}setTimeout(()=>nI(v))}})})})});rI.displayName=aI;var _R={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function TR(t,e){return e!=="rtl"?t:t==="ArrowLeft"?"ArrowRight":t==="ArrowRight"?"ArrowLeft":t}function RR(t,e,r){const n=TR(t.key,r);if(!(e==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(e==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return _R[n]}function nI(t,e=!1){const r=document.activeElement;for(const n of t)if(n===r||(n.focus({preventScroll:e}),document.activeElement!==r))return}function qR(t,e){return t.map((r,n)=>t[(e+n)%t.length])}var DR=tI,zR=rI;function FR(t,e){return k.useReducer((r,n)=>e[r][n]??r,t)}var oI=t=>{const{present:e,children:r}=t,n=ER(e),o=typeof r=="function"?r({present:n.isPresent}):k.Children.only(r),i=ib(n.ref,OR(o));return typeof r=="function"||n.isPresent?k.cloneElement(o,{ref:i}):null};oI.displayName="Presence";function ER(t){const[e,r]=k.useState(),n=k.useRef({}),o=k.useRef(t),i=k.useRef("none"),c=t?"mounted":"unmounted",[l,d]=FR(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return k.useEffect(()=>{const h=Qc(n.current);i.current=l==="mounted"?h:"none"},[l]),NC(()=>{const h=n.current,u=o.current;if(u!==t){const y=i.current,m=Qc(h);t?d("MOUNT"):m==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&y!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,d]),NC(()=>{if(e){let h;const u=e.ownerDocument.defaultView??window,p=m=>{const f=Qc(n.current).includes(m.animationName);if(m.target===e&&f&&(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=m=>{m.target===e&&(i.current=Qc(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:k.useCallback(h=>{h&&(n.current=getComputedStyle(h)),r(h)},[])}}function Qc(t){return(t==null?void 0:t.animationName)||"none"}function OR(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 dj="Tabs",[HR,tU]=oR(dj,[eI]),iI=eI(),[VR,hj]=HR(dj),sI=k.forwardRef((t,e)=>{const{__scopeTabs:r,value:n,onValueChange:o,defaultValue:i,orientation:c="horizontal",dir:l,activationMode:d="automatic",...h}=t,u=KL(l),[p,y]=YL({prop:n,onChange:o,defaultProp:i});return a.jsx(VR,{scope:r,baseId:XL(),value:p,onValueChange:y,orientation:c,dir:u,activationMode:d,children:a.jsx(Xi.div,{dir:u,"data-orientation":c,...h,ref:e})})});sI.displayName=dj;var cI="TabsList",lI=k.forwardRef((t,e)=>{const{__scopeTabs:r,loop:n=!0,...o}=t,i=hj(cI,r),c=iI(r);return a.jsx(DR,{asChild:!0,...c,orientation:i.orientation,dir:i.dir,loop:n,children:a.jsx(Xi.div,{role:"tablist","aria-orientation":i.orientation,...o,ref:e})})});lI.displayName=cI;var dI="TabsTrigger",hI=k.forwardRef((t,e)=>{const{__scopeTabs:r,value:n,disabled:o=!1,...i}=t,c=hj(dI,r),l=iI(r),d=yI(c.baseId,n),h=mI(c.baseId,n),u=n===c.value;return a.jsx(zR,{asChild:!0,...l,focusable:!o,active:u,children:a.jsx(Xi.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:wa(t.onMouseDown,p=>{!o&&p.button===0&&p.ctrlKey===!1?c.onValueChange(n):p.preventDefault()}),onKeyDown:wa(t.onKeyDown,p=>{[" ","Enter"].includes(p.key)&&c.onValueChange(n)}),onFocus:wa(t.onFocus,()=>{const p=c.activationMode!=="manual";!u&&!o&&p&&c.onValueChange(n)})})})});hI.displayName=dI;var uI="TabsContent",pI=k.forwardRef((t,e)=>{const{__scopeTabs:r,value:n,forceMount:o,children:i,...c}=t,l=hj(uI,r),d=yI(l.baseId,n),h=mI(l.baseId,n),u=n===l.value,p=k.useRef(u);return k.useEffect(()=>{const y=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(y)},[]),a.jsx(oI,{present:o||u,children:({present:y})=>a.jsx(Xi.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})})});pI.displayName=uI;function yI(t,e){return`${t}-trigger-${e}`}function mI(t,e){return`${t}-content-${e}`}var BR=sI,fI=lI,xI=hI,kI=pI;const Ji=BR,Ka=k.forwardRef(({className:t,...e},r)=>a.jsx(fI,{ref:r,className:oe("inline-flex items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",t),...e}));Ka.displayName=fI.displayName;const be=k.forwardRef(({className:t,...e},r)=>a.jsx(xI,{ref:r,className:oe("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}));be.displayName=xI.displayName;const Ce=k.forwardRef(({className:t,...e},r)=>a.jsx(kI,{ref:r,className:oe("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",t),...e}));Ce.displayName=kI.displayName;const ge=k.forwardRef(({className:t,...e},r)=>a.jsx("div",{ref:r,className:oe("rounded-xl border bg-card text-card-foreground shadow",t),...e}));ge.displayName="Card";const _e=k.forwardRef(({className:t,...e},r)=>a.jsx("div",{ref:r,className:oe("flex flex-col space-y-1.5 p-6",t),...e}));_e.displayName="CardHeader";const Te=k.forwardRef(({className:t,...e},r)=>a.jsx("h3",{ref:r,className:oe("font-semibold leading-none tracking-tight",t),...e}));Te.displayName="CardTitle";const Be=k.forwardRef(({className:t,...e},r)=>a.jsx("p",{ref:r,className:oe("text-sm text-muted-foreground",t),...e}));Be.displayName="CardDescription";const we=k.forwardRef(({className:t,...e},r)=>a.jsx("div",{ref:r,className:oe("p-6 pt-0",t),...e}));we.displayName="CardContent";const Rs=k.forwardRef(({className:t,...e},r)=>a.jsx("div",{ref:r,className:oe("flex items-center p-6 pt-0",t),...e}));Rs.displayName="CardFooter";/**
31
31
  * @license lucide-react v0.451.0 - ISC
32
32
  *
33
33
  * This source code is licensed under the ISC license.
@@ -42,12 +42,12 @@ React keys must be passed directly to JSX without using spread:
42
42
  *
43
43
  * This source code is licensed under the ISC license.
44
44
  * See the LICENSE file in the root directory of this source tree.
45
- */const vI=C.forwardRef(({color:t="currentColor",size:e=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:o="",children:i,iconNode:c,...l},d)=>C.createElement("svg",{ref:d,...$R,width:e,height:e,stroke:t,strokeWidth:n?Number(r)*24/Number(e):r,className:gI("lucide",o),...l},[...c.map(([h,u])=>C.createElement(h,u)),...Array.isArray(i)?i:[i]]));/**
45
+ */const vI=j.forwardRef(({color:t="currentColor",size:e=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:o="",children:i,iconNode:c,...l},d)=>j.createElement("svg",{ref:d,...$R,width:e,height:e,stroke:t,strokeWidth:n?Number(r)*24/Number(e):r,className:gI("lucide",o),...l},[...c.map(([h,u])=>j.createElement(h,u)),...Array.isArray(i)?i:[i]]));/**
46
46
  * @license lucide-react v0.451.0 - ISC
47
47
  *
48
48
  * This source code is licensed under the ISC license.
49
49
  * See the LICENSE file in the root directory of this source tree.
50
- */const s=(t,e)=>{const r=C.forwardRef(({className:n,...o},i)=>C.createElement(vI,{ref:i,iconNode:e,className:gI(`lucide-${UR(t)}`,n),...o}));return r.displayName=`${t}`,r};/**
50
+ */const s=(t,e)=>{const r=j.forwardRef(({className:n,...o},i)=>j.createElement(vI,{ref:i,iconNode:e,className:gI(`lucide-${UR(t)}`,n),...o}));return r.displayName=`${t}`,r};/**
51
51
  * @license lucide-react v0.451.0 - ISC
52
52
  *
53
53
  * This source code is licensed under the ISC license.
@@ -7722,7 +7722,7 @@ React keys must be passed directly to JSX without using spread:
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 GR=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:u1,AArrowDownIcon:u1,AArrowUp:p1,AArrowUpIcon:p1,ALargeSmall:y1,ALargeSmallIcon:y1,Accessibility:m1,AccessibilityIcon:m1,Activity:f1,ActivityIcon:f1,ActivitySquare:xo,ActivitySquareIcon:xo,AirVent:x1,AirVentIcon:x1,Airplay:k1,AirplayIcon:k1,AlarmCheck:lr,AlarmCheckIcon:lr,AlarmClock:v1,AlarmClockCheck:lr,AlarmClockCheckIcon:lr,AlarmClockIcon:v1,AlarmClockMinus:dr,AlarmClockMinusIcon:dr,AlarmClockOff:g1,AlarmClockOffIcon:g1,AlarmClockPlus:hr,AlarmClockPlusIcon:hr,AlarmMinus:dr,AlarmMinusIcon:dr,AlarmPlus:hr,AlarmPlusIcon:hr,AlarmSmoke:M1,AlarmSmokeIcon:M1,Album:w1,AlbumIcon:w1,AlertCircle:Wt,AlertCircleIcon:Wt,AlertOctagon:Wn,AlertOctagonIcon:Wn,AlertTriangle:xi,AlertTriangleIcon:xi,AlignCenter:j1,AlignCenterHorizontal:b1,AlignCenterHorizontalIcon:b1,AlignCenterIcon:j1,AlignCenterVertical:C1,AlignCenterVerticalIcon:C1,AlignEndHorizontal:S1,AlignEndHorizontalIcon:S1,AlignEndVertical:L1,AlignEndVerticalIcon:L1,AlignHorizontalDistributeCenter:I1,AlignHorizontalDistributeCenterIcon:I1,AlignHorizontalDistributeEnd:N1,AlignHorizontalDistributeEndIcon:N1,AlignHorizontalDistributeStart:A1,AlignHorizontalDistributeStartIcon:A1,AlignHorizontalJustifyCenter:P1,AlignHorizontalJustifyCenterIcon:P1,AlignHorizontalJustifyEnd:_1,AlignHorizontalJustifyEndIcon:_1,AlignHorizontalJustifyStart:T1,AlignHorizontalJustifyStartIcon:T1,AlignHorizontalSpaceAround:R1,AlignHorizontalSpaceAroundIcon:R1,AlignHorizontalSpaceBetween:q1,AlignHorizontalSpaceBetweenIcon:q1,AlignJustify:D1,AlignJustifyIcon:D1,AlignLeft:z1,AlignLeftIcon:z1,AlignRight:F1,AlignRightIcon:F1,AlignStartHorizontal:E1,AlignStartHorizontalIcon:E1,AlignStartVertical:O1,AlignStartVerticalIcon:O1,AlignVerticalDistributeCenter:H1,AlignVerticalDistributeCenterIcon:H1,AlignVerticalDistributeEnd:V1,AlignVerticalDistributeEndIcon:V1,AlignVerticalDistributeStart:B1,AlignVerticalDistributeStartIcon:B1,AlignVerticalJustifyCenter:U1,AlignVerticalJustifyCenterIcon:U1,AlignVerticalJustifyEnd:$1,AlignVerticalJustifyEndIcon:$1,AlignVerticalJustifyStart:W1,AlignVerticalJustifyStartIcon:W1,AlignVerticalSpaceAround:G1,AlignVerticalSpaceAroundIcon:G1,AlignVerticalSpaceBetween:Z1,AlignVerticalSpaceBetweenIcon:Z1,Ambulance:X1,AmbulanceIcon:X1,Ampersand:J1,AmpersandIcon:J1,Ampersands:Y1,AmpersandsIcon:Y1,Amphora:K1,AmphoraIcon:K1,Anchor:Q1,AnchorIcon:Q1,Angry:el,AngryIcon:el,Annoyed:tl,AnnoyedIcon:tl,Antenna:al,AntennaIcon:al,Anvil:rl,AnvilIcon:rl,Aperture:nl,ApertureIcon:nl,AppWindow:il,AppWindowIcon:il,AppWindowMac:ol,AppWindowMacIcon:ol,Apple:sl,AppleIcon:sl,Archive:dl,ArchiveIcon:dl,ArchiveRestore:cl,ArchiveRestoreIcon:cl,ArchiveX:ll,ArchiveXIcon:ll,AreaChart:jr,AreaChartIcon:jr,Armchair:hl,ArmchairIcon:hl,ArrowBigDown:pl,ArrowBigDownDash:ul,ArrowBigDownDashIcon:ul,ArrowBigDownIcon:pl,ArrowBigLeft:ml,ArrowBigLeftDash:yl,ArrowBigLeftDashIcon:yl,ArrowBigLeftIcon:ml,ArrowBigRight:xl,ArrowBigRightDash:fl,ArrowBigRightDashIcon:fl,ArrowBigRightIcon:xl,ArrowBigUp:gl,ArrowBigUpDash:kl,ArrowBigUpDashIcon:kl,ArrowBigUpIcon:gl,ArrowDown:Nl,ArrowDown01:vl,ArrowDown01Icon:vl,ArrowDown10:Ml,ArrowDown10Icon:Ml,ArrowDownAZ:ur,ArrowDownAZIcon:ur,ArrowDownAz:ur,ArrowDownAzIcon:ur,ArrowDownCircle:zr,ArrowDownCircleIcon:zr,ArrowDownFromLine:wl,ArrowDownFromLineIcon:wl,ArrowDownIcon:Nl,ArrowDownLeft:bl,ArrowDownLeftFromCircle:Er,ArrowDownLeftFromCircleIcon:Er,ArrowDownLeftFromSquare:Mo,ArrowDownLeftFromSquareIcon:Mo,ArrowDownLeftIcon:bl,ArrowDownLeftSquare:ko,ArrowDownLeftSquareIcon:ko,ArrowDownNarrowWide:Cl,ArrowDownNarrowWideIcon:Cl,ArrowDownRight:jl,ArrowDownRightFromCircle:Or,ArrowDownRightFromCircleIcon:Or,ArrowDownRightFromSquare:wo,ArrowDownRightFromSquareIcon:wo,ArrowDownRightIcon:jl,ArrowDownRightSquare:go,ArrowDownRightSquareIcon:go,ArrowDownSquare:vo,ArrowDownSquareIcon:vo,ArrowDownToDot:Sl,ArrowDownToDotIcon:Sl,ArrowDownToLine:Ll,ArrowDownToLineIcon:Ll,ArrowDownUp:Il,ArrowDownUpIcon:Il,ArrowDownWideNarrow:pr,ArrowDownWideNarrowIcon:pr,ArrowDownZA:yr,ArrowDownZAIcon:yr,ArrowDownZa:yr,ArrowDownZaIcon:yr,ArrowLeft:Ti,ArrowLeftCircle:Fr,ArrowLeftCircleIcon:Fr,ArrowLeftFromLine:Al,ArrowLeftFromLineIcon:Al,ArrowLeftIcon:Ti,ArrowLeftRight:Pl,ArrowLeftRightIcon:Pl,ArrowLeftSquare:ka,ArrowLeftSquareIcon:ka,ArrowLeftToLine:_l,ArrowLeftToLineIcon:_l,ArrowRight:ps,ArrowRightCircle:Br,ArrowRightCircleIcon:Br,ArrowRightFromLine:Tl,ArrowRightFromLineIcon:Tl,ArrowRightIcon:ps,ArrowRightLeft:Rl,ArrowRightLeftIcon:Rl,ArrowRightSquare:ga,ArrowRightSquareIcon:ga,ArrowRightToLine:ql,ArrowRightToLineIcon:ql,ArrowUp:$l,ArrowUp01:Dl,ArrowUp01Icon:Dl,ArrowUp10:zl,ArrowUp10Icon:zl,ArrowUpAZ:mr,ArrowUpAZIcon:mr,ArrowUpAz:mr,ArrowUpAzIcon:mr,ArrowUpCircle:Ur,ArrowUpCircleIcon:Ur,ArrowUpDown:Fl,ArrowUpDownIcon:Fl,ArrowUpFromDot:El,ArrowUpFromDotIcon:El,ArrowUpFromLine:Ol,ArrowUpFromLineIcon:Ol,ArrowUpIcon:$l,ArrowUpLeft:Hl,ArrowUpLeftFromCircle:Hr,ArrowUpLeftFromCircleIcon:Hr,ArrowUpLeftFromSquare:bo,ArrowUpLeftFromSquareIcon:bo,ArrowUpLeftIcon:Hl,ArrowUpLeftSquare:jo,ArrowUpLeftSquareIcon:jo,ArrowUpNarrowWide:fr,ArrowUpNarrowWideIcon:fr,ArrowUpRight:Vl,ArrowUpRightFromCircle:Vr,ArrowUpRightFromCircleIcon:Vr,ArrowUpRightFromSquare:Co,ArrowUpRightFromSquareIcon:Co,ArrowUpRightIcon:Vl,ArrowUpRightSquare:So,ArrowUpRightSquareIcon:So,ArrowUpSquare:Lo,ArrowUpSquareIcon:Lo,ArrowUpToLine:Bl,ArrowUpToLineIcon:Bl,ArrowUpWideNarrow:Ul,ArrowUpWideNarrowIcon:Ul,ArrowUpZA:xr,ArrowUpZAIcon:xr,ArrowUpZa:xr,ArrowUpZaIcon:xr,ArrowsUpFromLine:Wl,ArrowsUpFromLineIcon:Wl,Asterisk:Gl,AsteriskIcon:Gl,AsteriskSquare:Io,AsteriskSquareIcon:Io,AtSign:Zl,AtSignIcon:Zl,Atom:Xl,AtomIcon:Xl,AudioLines:Jl,AudioLinesIcon:Jl,AudioWaveform:Yl,AudioWaveformIcon:Yl,Award:Ma,AwardIcon:Ma,Axe:Kl,AxeIcon:Kl,Axis3D:kr,Axis3DIcon:kr,Axis3d:kr,Axis3dIcon:kr,Baby:Ql,BabyIcon:Ql,Backpack:ed,BackpackIcon:ed,Badge:fd,BadgeAlert:td,BadgeAlertIcon:td,BadgeCent:ad,BadgeCentIcon:ad,BadgeCheck:gr,BadgeCheckIcon:gr,BadgeDollarSign:rd,BadgeDollarSignIcon:rd,BadgeEuro:nd,BadgeEuroIcon:nd,BadgeHelp:od,BadgeHelpIcon:od,BadgeIcon:fd,BadgeIndianRupee:id,BadgeIndianRupeeIcon:id,BadgeInfo:sd,BadgeInfoIcon:sd,BadgeJapaneseYen:cd,BadgeJapaneseYenIcon:cd,BadgeMinus:ld,BadgeMinusIcon:ld,BadgePercent:dd,BadgePercentIcon:dd,BadgePlus:hd,BadgePlusIcon:hd,BadgePoundSterling:ud,BadgePoundSterlingIcon:ud,BadgeRussianRuble:pd,BadgeRussianRubleIcon:pd,BadgeSwissFranc:yd,BadgeSwissFrancIcon:yd,BadgeX:md,BadgeXIcon:md,BaggageClaim:xd,BaggageClaimIcon:xd,Ban:kd,BanIcon:kd,Banana:gd,BananaIcon:gd,Bandage:vd,BandageIcon:vd,Banknote:Md,BanknoteIcon:Md,BarChart:Fa,BarChart2:Tr,BarChart2Icon:Tr,BarChart3:Pr,BarChart3Icon:Pr,BarChart4:Ar,BarChart4Icon:Ar,BarChartBig:Nr,BarChartBigIcon:Nr,BarChartHorizontal:Lr,BarChartHorizontalBig:Sr,BarChartHorizontalBigIcon:Sr,BarChartHorizontalIcon:Lr,BarChartIcon:Fa,Barcode:wd,BarcodeIcon:wd,Baseline:bd,BaselineIcon:bd,Bath:Cd,BathIcon:Cd,Battery:Ad,BatteryCharging:jd,BatteryChargingIcon:jd,BatteryFull:Sd,BatteryFullIcon:Sd,BatteryIcon:Ad,BatteryLow:Ld,BatteryLowIcon:Ld,BatteryMedium:Id,BatteryMediumIcon:Id,BatteryWarning:Nd,BatteryWarningIcon:Nd,Beaker:Pd,BeakerIcon:Pd,Bean:Td,BeanIcon:Td,BeanOff:_d,BeanOffIcon:_d,Bed:Dd,BedDouble:Rd,BedDoubleIcon:Rd,BedIcon:Dd,BedSingle:qd,BedSingleIcon:qd,Beef:zd,BeefIcon:zd,Beer:Ed,BeerIcon:Ed,BeerOff:Fd,BeerOffIcon:Fd,Bell:ys,BellDot:Od,BellDotIcon:Od,BellElectric:Hd,BellElectricIcon:Hd,BellIcon:ys,BellMinus:Vd,BellMinusIcon:Vd,BellOff:Bd,BellOffIcon:Bd,BellPlus:Ud,BellPlusIcon:Ud,BellRing:$d,BellRingIcon:$d,BetweenHorizonalEnd:vr,BetweenHorizonalEndIcon:vr,BetweenHorizonalStart:Mr,BetweenHorizonalStartIcon:Mr,BetweenHorizontalEnd:vr,BetweenHorizontalEndIcon:vr,BetweenHorizontalStart:Mr,BetweenHorizontalStartIcon:Mr,BetweenVerticalEnd:Wd,BetweenVerticalEndIcon:Wd,BetweenVerticalStart:Gd,BetweenVerticalStartIcon:Gd,BicepsFlexed:Zd,BicepsFlexedIcon:Zd,Bike:Xd,BikeIcon:Xd,Binary:Jd,BinaryIcon:Jd,Binoculars:Yd,BinocularsIcon:Yd,Biohazard:Kd,BiohazardIcon:Kd,Bird:Qd,BirdIcon:Qd,Bitcoin:e2,BitcoinIcon:e2,Blend:t2,BlendIcon:t2,Blinds:a2,BlindsIcon:a2,Blocks:r2,BlocksIcon:r2,Bluetooth:s2,BluetoothConnected:n2,BluetoothConnectedIcon:n2,BluetoothIcon:s2,BluetoothOff:o2,BluetoothOffIcon:o2,BluetoothSearching:i2,BluetoothSearchingIcon:i2,Bold:c2,BoldIcon:c2,Bolt:l2,BoltIcon:l2,Bomb:d2,BombIcon:d2,Bone:h2,BoneIcon:h2,Book:T2,BookA:u2,BookAIcon:u2,BookAudio:p2,BookAudioIcon:p2,BookCheck:y2,BookCheckIcon:y2,BookCopy:m2,BookCopyIcon:m2,BookDashed:wr,BookDashedIcon:wr,BookDown:f2,BookDownIcon:f2,BookHeadphones:x2,BookHeadphonesIcon:x2,BookHeart:k2,BookHeartIcon:k2,BookIcon:T2,BookImage:g2,BookImageIcon:g2,BookKey:v2,BookKeyIcon:v2,BookLock:M2,BookLockIcon:M2,BookMarked:w2,BookMarkedIcon:w2,BookMinus:b2,BookMinusIcon:b2,BookOpen:zt,BookOpenCheck:C2,BookOpenCheckIcon:C2,BookOpenIcon:zt,BookOpenText:j2,BookOpenTextIcon:j2,BookPlus:S2,BookPlusIcon:S2,BookTemplate:wr,BookTemplateIcon:wr,BookText:L2,BookTextIcon:L2,BookType:I2,BookTypeIcon:I2,BookUp:A2,BookUp2:N2,BookUp2Icon:N2,BookUpIcon:A2,BookUser:P2,BookUserIcon:P2,BookX:_2,BookXIcon:_2,Bookmark:ba,BookmarkCheck:ia,BookmarkCheckIcon:ia,BookmarkIcon:ba,BookmarkMinus:R2,BookmarkMinusIcon:R2,BookmarkPlus:cc,BookmarkPlusIcon:cc,BookmarkX:q2,BookmarkXIcon:q2,BoomBox:D2,BoomBoxIcon:D2,Bot:lc,BotIcon:lc,BotMessageSquare:z2,BotMessageSquareIcon:z2,BotOff:F2,BotOffIcon:F2,Box:E2,BoxIcon:E2,BoxSelect:Eo,BoxSelectIcon:Eo,Boxes:O2,BoxesIcon:O2,Braces:br,BracesIcon:br,Brackets:H2,BracketsIcon:H2,Brain:U2,BrainCircuit:V2,BrainCircuitIcon:V2,BrainCog:B2,BrainCogIcon:B2,BrainIcon:U2,BrickWall:$2,BrickWallIcon:$2,Briefcase:pt,BriefcaseBusiness:W2,BriefcaseBusinessIcon:W2,BriefcaseConveyorBelt:G2,BriefcaseConveyorBeltIcon:G2,BriefcaseIcon:pt,BriefcaseMedical:Z2,BriefcaseMedicalIcon:Z2,BringToFront:X2,BringToFrontIcon:X2,Brush:J2,BrushIcon:J2,Bug:Q2,BugIcon:Q2,BugOff:Y2,BugOffIcon:Y2,BugPlay:K2,BugPlayIcon:K2,Building:ms,Building2:dc,Building2Icon:dc,BuildingIcon:ms,Bus:t0,BusFront:e0,BusFrontIcon:e0,BusIcon:t0,Cable:r0,CableCar:a0,CableCarIcon:a0,CableIcon:r0,Cake:o0,CakeIcon:o0,CakeSlice:n0,CakeSliceIcon:n0,Calculator:i0,CalculatorIcon:i0,Calendar:hc,CalendarArrowDown:s0,CalendarArrowDownIcon:s0,CalendarArrowUp:c0,CalendarArrowUpIcon:c0,CalendarCheck:d0,CalendarCheck2:l0,CalendarCheck2Icon:l0,CalendarCheckIcon:d0,CalendarClock:h0,CalendarClockIcon:h0,CalendarCog:u0,CalendarCogIcon:u0,CalendarDays:p0,CalendarDaysIcon:p0,CalendarFold:y0,CalendarFoldIcon:y0,CalendarHeart:m0,CalendarHeartIcon:m0,CalendarIcon:hc,CalendarMinus:x0,CalendarMinus2:f0,CalendarMinus2Icon:f0,CalendarMinusIcon:x0,CalendarOff:k0,CalendarOffIcon:k0,CalendarPlus:v0,CalendarPlus2:g0,CalendarPlus2Icon:g0,CalendarPlusIcon:v0,CalendarRange:M0,CalendarRangeIcon:M0,CalendarSearch:w0,CalendarSearchIcon:w0,CalendarX:C0,CalendarX2:b0,CalendarX2Icon:b0,CalendarXIcon:C0,Camera:S0,CameraIcon:S0,CameraOff:j0,CameraOffIcon:j0,CandlestickChart:Ir,CandlestickChartIcon:Ir,Candy:N0,CandyCane:L0,CandyCaneIcon:L0,CandyIcon:N0,CandyOff:I0,CandyOffIcon:I0,Cannabis:A0,CannabisIcon:A0,Captions:Cr,CaptionsIcon:Cr,CaptionsOff:P0,CaptionsOffIcon:P0,Car:R0,CarFront:_0,CarFrontIcon:_0,CarIcon:R0,CarTaxiFront:T0,CarTaxiFrontIcon:T0,Caravan:q0,CaravanIcon:q0,Carrot:D0,CarrotIcon:D0,CaseLower:z0,CaseLowerIcon:z0,CaseSensitive:F0,CaseSensitiveIcon:F0,CaseUpper:E0,CaseUpperIcon:E0,CassetteTape:O0,CassetteTapeIcon:O0,Cast:H0,CastIcon:H0,Castle:V0,CastleIcon:V0,Cat:B0,CatIcon:B0,Cctv:U0,CctvIcon:U0,ChartArea:jr,ChartAreaIcon:jr,ChartBar:Lr,ChartBarBig:Sr,ChartBarBigIcon:Sr,ChartBarDecreasing:$0,ChartBarDecreasingIcon:$0,ChartBarIcon:Lr,ChartBarIncreasing:W0,ChartBarIncreasingIcon:W0,ChartBarStacked:G0,ChartBarStackedIcon:G0,ChartCandlestick:Ir,ChartCandlestickIcon:Ir,ChartColumn:Pr,ChartColumnBig:Nr,ChartColumnBigIcon:Nr,ChartColumnDecreasing:Z0,ChartColumnDecreasingIcon:Z0,ChartColumnIcon:Pr,ChartColumnIncreasing:Ar,ChartColumnIncreasingIcon:Ar,ChartColumnStacked:X0,ChartColumnStackedIcon:X0,ChartGantt:J0,ChartGanttIcon:J0,ChartLine:_r,ChartLineIcon:_r,ChartNetwork:Y0,ChartNetworkIcon:Y0,ChartNoAxesColumn:Tr,ChartNoAxesColumnDecreasing:K0,ChartNoAxesColumnDecreasingIcon:K0,ChartNoAxesColumnIcon:Tr,ChartNoAxesColumnIncreasing:Fa,ChartNoAxesColumnIncreasingIcon:Fa,ChartNoAxesCombined:Q0,ChartNoAxesCombinedIcon:Q0,ChartNoAxesGantt:Rr,ChartNoAxesGanttIcon:Rr,ChartPie:qr,ChartPieIcon:qr,ChartScatter:Dr,ChartScatterIcon:Dr,ChartSpline:eh,ChartSplineIcon:eh,Check:fs,CheckCheck:th,CheckCheckIcon:th,CheckCircle:bt,CheckCircle2:$r,CheckCircle2Icon:$r,CheckCircleIcon:bt,CheckIcon:fs,CheckSquare:Ao,CheckSquare2:Po,CheckSquare2Icon:Po,CheckSquareIcon:Ao,ChefHat:ah,ChefHatIcon:ah,Cherry:rh,CherryIcon:rh,ChevronDown:Ri,ChevronDownCircle:Wr,ChevronDownCircleIcon:Wr,ChevronDownIcon:Ri,ChevronDownSquare:_o,ChevronDownSquareIcon:_o,ChevronFirst:nh,ChevronFirstIcon:nh,ChevronLast:oh,ChevronLastIcon:oh,ChevronLeft:qi,ChevronLeftCircle:Gr,ChevronLeftCircleIcon:Gr,ChevronLeftIcon:qi,ChevronLeftSquare:To,ChevronLeftSquareIcon:To,ChevronRight:Ba,ChevronRightCircle:Zr,ChevronRightCircleIcon:Zr,ChevronRightIcon:Ba,ChevronRightSquare:Ro,ChevronRightSquareIcon:Ro,ChevronUp:uc,ChevronUpCircle:Xr,ChevronUpCircleIcon:Xr,ChevronUpIcon:uc,ChevronUpSquare:qo,ChevronUpSquareIcon:qo,ChevronsDown:sh,ChevronsDownIcon:sh,ChevronsDownUp:ih,ChevronsDownUpIcon:ih,ChevronsLeft:dh,ChevronsLeftIcon:dh,ChevronsLeftRight:lh,ChevronsLeftRightEllipsis:ch,ChevronsLeftRightEllipsisIcon:ch,ChevronsLeftRightIcon:lh,ChevronsRight:uh,ChevronsRightIcon:uh,ChevronsRightLeft:hh,ChevronsRightLeftIcon:hh,ChevronsUp:yh,ChevronsUpDown:ph,ChevronsUpDownIcon:ph,ChevronsUpIcon:yh,Chrome:mh,ChromeIcon:mh,Church:fh,ChurchIcon:fh,Cigarette:kh,CigaretteIcon:kh,CigaretteOff:xh,CigaretteOffIcon:xh,Circle:Nh,CircleAlert:Wt,CircleAlertIcon:Wt,CircleArrowDown:zr,CircleArrowDownIcon:zr,CircleArrowLeft:Fr,CircleArrowLeftIcon:Fr,CircleArrowOutDownLeft:Er,CircleArrowOutDownLeftIcon:Er,CircleArrowOutDownRight:Or,CircleArrowOutDownRightIcon:Or,CircleArrowOutUpLeft:Hr,CircleArrowOutUpLeftIcon:Hr,CircleArrowOutUpRight:Vr,CircleArrowOutUpRightIcon:Vr,CircleArrowRight:Br,CircleArrowRightIcon:Br,CircleArrowUp:Ur,CircleArrowUpIcon:Ur,CircleCheck:$r,CircleCheckBig:bt,CircleCheckBigIcon:bt,CircleCheckIcon:$r,CircleChevronDown:Wr,CircleChevronDownIcon:Wr,CircleChevronLeft:Gr,CircleChevronLeftIcon:Gr,CircleChevronRight:Zr,CircleChevronRightIcon:Zr,CircleChevronUp:Xr,CircleChevronUpIcon:Xr,CircleDashed:gh,CircleDashedIcon:gh,CircleDivide:Jr,CircleDivideIcon:Jr,CircleDollarSign:vh,CircleDollarSignIcon:vh,CircleDot:wh,CircleDotDashed:Mh,CircleDotDashedIcon:Mh,CircleDotIcon:wh,CircleEllipsis:bh,CircleEllipsisIcon:bh,CircleEqual:Ch,CircleEqualIcon:Ch,CircleFadingArrowUp:jh,CircleFadingArrowUpIcon:jh,CircleFadingPlus:Sh,CircleFadingPlusIcon:Sh,CircleGauge:Yr,CircleGaugeIcon:Yr,CircleHelp:Ea,CircleHelpIcon:Ea,CircleIcon:Nh,CircleMinus:Kr,CircleMinusIcon:Kr,CircleOff:Lh,CircleOffIcon:Lh,CircleParking:en,CircleParkingIcon:en,CircleParkingOff:Qr,CircleParkingOffIcon:Qr,CirclePause:tn,CirclePauseIcon:tn,CirclePercent:an,CirclePercentIcon:an,CirclePlay:rn,CirclePlayIcon:rn,CirclePlus:nn,CirclePlusIcon:nn,CirclePower:on,CirclePowerIcon:on,CircleSlash:Ih,CircleSlash2:sn,CircleSlash2Icon:sn,CircleSlashIcon:Ih,CircleSlashed:sn,CircleSlashedIcon:sn,CircleStop:cn,CircleStopIcon:cn,CircleUser:dn,CircleUserIcon:dn,CircleUserRound:ln,CircleUserRoundIcon:ln,CircleX:ta,CircleXIcon:ta,CircuitBoard:Ah,CircuitBoardIcon:Ah,Citrus:Ph,CitrusIcon:Ph,Clapperboard:_h,ClapperboardIcon:_h,Clipboard:Hh,ClipboardCheck:Th,ClipboardCheckIcon:Th,ClipboardCopy:Rh,ClipboardCopyIcon:Rh,ClipboardEdit:un,ClipboardEditIcon:un,ClipboardIcon:Hh,ClipboardList:qh,ClipboardListIcon:qh,ClipboardMinus:Dh,ClipboardMinusIcon:Dh,ClipboardPaste:zh,ClipboardPasteIcon:zh,ClipboardPen:un,ClipboardPenIcon:un,ClipboardPenLine:hn,ClipboardPenLineIcon:hn,ClipboardPlus:Fh,ClipboardPlusIcon:Fh,ClipboardSignature:hn,ClipboardSignatureIcon:hn,ClipboardType:Eh,ClipboardTypeIcon:Eh,ClipboardX:Oh,ClipboardXIcon:Oh,Clock:Zt,Clock1:Vh,Clock10:Bh,Clock10Icon:Bh,Clock11:Uh,Clock11Icon:Uh,Clock12:$h,Clock12Icon:$h,Clock1Icon:Vh,Clock2:Wh,Clock2Icon:Wh,Clock3:Gh,Clock3Icon:Gh,Clock4:Zh,Clock4Icon:Zh,Clock5:Xh,Clock5Icon:Xh,Clock6:Jh,Clock6Icon:Jh,Clock7:Yh,Clock7Icon:Yh,Clock8:Kh,Clock8Icon:Kh,Clock9:Qh,Clock9Icon:Qh,ClockAlert:eu,ClockAlertIcon:eu,ClockArrowDown:tu,ClockArrowDownIcon:tu,ClockArrowUp:au,ClockArrowUpIcon:au,ClockIcon:Zt,Cloud:fu,CloudCog:ru,CloudCogIcon:ru,CloudDownload:pn,CloudDownloadIcon:pn,CloudDrizzle:nu,CloudDrizzleIcon:nu,CloudFog:ou,CloudFogIcon:ou,CloudHail:iu,CloudHailIcon:iu,CloudIcon:fu,CloudLightning:su,CloudLightningIcon:su,CloudMoon:lu,CloudMoonIcon:lu,CloudMoonRain:cu,CloudMoonRainIcon:cu,CloudOff:du,CloudOffIcon:du,CloudRain:uu,CloudRainIcon:uu,CloudRainWind:hu,CloudRainWindIcon:hu,CloudSnow:pu,CloudSnowIcon:pu,CloudSun:mu,CloudSunIcon:mu,CloudSunRain:yu,CloudSunRainIcon:yu,CloudUpload:yn,CloudUploadIcon:yn,Cloudy:xu,CloudyIcon:xu,Clover:ku,CloverIcon:ku,Club:gu,ClubIcon:gu,Code:vu,Code2:mn,Code2Icon:mn,CodeIcon:vu,CodeSquare:Do,CodeSquareIcon:Do,CodeXml:mn,CodeXmlIcon:mn,Codepen:Mu,CodepenIcon:Mu,Codesandbox:wu,CodesandboxIcon:wu,Coffee:bu,CoffeeIcon:bu,Cog:Cu,CogIcon:Cu,Coins:ju,CoinsIcon:ju,Columns:fn,Columns2:fn,Columns2Icon:fn,Columns3:xn,Columns3Icon:xn,Columns4:Su,Columns4Icon:Su,ColumnsIcon:fn,Combine:Lu,CombineIcon:Lu,Command:Iu,CommandIcon:Iu,Compass:Nu,CompassIcon:Nu,Component:Au,ComponentIcon:Au,Computer:Pu,ComputerIcon:Pu,ConciergeBell:_u,ConciergeBellIcon:_u,Cone:Tu,ConeIcon:Tu,Construction:Ru,ConstructionIcon:Ru,Contact:qu,Contact2:kn,Contact2Icon:kn,ContactIcon:qu,ContactRound:kn,ContactRoundIcon:kn,Container:Du,ContainerIcon:Du,Contrast:zu,ContrastIcon:zu,Cookie:Fu,CookieIcon:Fu,CookingPot:Eu,CookingPotIcon:Eu,Copy:$u,CopyCheck:Ou,CopyCheckIcon:Ou,CopyIcon:$u,CopyMinus:Hu,CopyMinusIcon:Hu,CopyPlus:Vu,CopyPlusIcon:Vu,CopySlash:Bu,CopySlashIcon:Bu,CopyX:Uu,CopyXIcon:Uu,Copyleft:Wu,CopyleftIcon:Wu,Copyright:Gu,CopyrightIcon:Gu,CornerDownLeft:Zu,CornerDownLeftIcon:Zu,CornerDownRight:Xu,CornerDownRightIcon:Xu,CornerLeftDown:Ju,CornerLeftDownIcon:Ju,CornerLeftUp:Yu,CornerLeftUpIcon:Yu,CornerRightDown:Ku,CornerRightDownIcon:Ku,CornerRightUp:Qu,CornerRightUpIcon:Qu,CornerUpLeft:ep,CornerUpLeftIcon:ep,CornerUpRight:tp,CornerUpRightIcon:tp,Cpu:ap,CpuIcon:ap,CreativeCommons:rp,CreativeCommonsIcon:rp,CreditCard:pc,CreditCardIcon:pc,Croissant:np,CroissantIcon:np,Crop:op,CropIcon:op,Cross:ip,CrossIcon:ip,Crosshair:sp,CrosshairIcon:sp,Crown:cp,CrownIcon:cp,Cuboid:lp,CuboidIcon:lp,CupSoda:dp,CupSodaIcon:dp,CurlyBraces:br,CurlyBracesIcon:br,Currency:hp,CurrencyIcon:hp,Cylinder:up,CylinderIcon:up,Dam:pp,DamIcon:pp,Database:fp,DatabaseBackup:yp,DatabaseBackupIcon:yp,DatabaseIcon:fp,DatabaseZap:mp,DatabaseZapIcon:mp,Delete:xp,DeleteIcon:xp,Dessert:kp,DessertIcon:kp,Diameter:gp,DiameterIcon:gp,Diamond:wp,DiamondIcon:wp,DiamondMinus:vp,DiamondMinusIcon:vp,DiamondPercent:gn,DiamondPercentIcon:gn,DiamondPlus:Mp,DiamondPlusIcon:Mp,Dice1:bp,Dice1Icon:bp,Dice2:Cp,Dice2Icon:Cp,Dice3:jp,Dice3Icon:jp,Dice4:Sp,Dice4Icon:Sp,Dice5:Lp,Dice5Icon:Lp,Dice6:Ip,Dice6Icon:Ip,Dices:Np,DicesIcon:Np,Diff:Ap,DiffIcon:Ap,Disc:Rp,Disc2:Pp,Disc2Icon:Pp,Disc3:_p,Disc3Icon:_p,DiscAlbum:Tp,DiscAlbumIcon:Tp,DiscIcon:Rp,Divide:qp,DivideCircle:Jr,DivideCircleIcon:Jr,DivideIcon:qp,DivideSquare:Oo,DivideSquareIcon:Oo,Dna:zp,DnaIcon:zp,DnaOff:Dp,DnaOffIcon:Dp,Dock:Fp,DockIcon:Fp,Dog:Ep,DogIcon:Ep,DollarSign:yc,DollarSignIcon:yc,Donut:Op,DonutIcon:Op,DoorClosed:Hp,DoorClosedIcon:Hp,DoorOpen:Vp,DoorOpenIcon:Vp,Dot:Bp,DotIcon:Bp,DotSquare:Ho,DotSquareIcon:Ho,Download:Up,DownloadCloud:pn,DownloadCloudIcon:pn,DownloadIcon:Up,DraftingCompass:$p,DraftingCompassIcon:$p,Drama:Wp,DramaIcon:Wp,Dribbble:Gp,DribbbleIcon:Gp,Drill:Zp,DrillIcon:Zp,Droplet:Xp,DropletIcon:Xp,Droplets:Jp,DropletsIcon:Jp,Drum:Yp,DrumIcon:Yp,Drumstick:Kp,DrumstickIcon:Kp,Dumbbell:Qp,DumbbellIcon:Qp,Ear:ty,EarIcon:ty,EarOff:ey,EarOffIcon:ey,Earth:vn,EarthIcon:vn,EarthLock:ay,EarthLockIcon:ay,Eclipse:ry,EclipseIcon:ry,Edit:vt,Edit2:oo,Edit2Icon:oo,Edit3:no,Edit3Icon:no,EditIcon:vt,Egg:iy,EggFried:ny,EggFriedIcon:ny,EggIcon:iy,EggOff:oy,EggOffIcon:oy,Ellipsis:wn,EllipsisIcon:wn,EllipsisVertical:Mn,EllipsisVerticalIcon:Mn,Equal:cy,EqualIcon:cy,EqualNot:sy,EqualNotIcon:sy,EqualSquare:Vo,EqualSquareIcon:Vo,Eraser:ly,EraserIcon:ly,EthernetPort:dy,EthernetPortIcon:dy,Euro:hy,EuroIcon:hy,Expand:uy,ExpandIcon:uy,ExternalLink:Di,ExternalLinkIcon:Di,Eye:mc,EyeClosed:py,EyeClosedIcon:py,EyeIcon:mc,EyeOff:yy,EyeOffIcon:yy,Facebook:my,FacebookIcon:my,Factory:fy,FactoryIcon:fy,Fan:xy,FanIcon:xy,FastForward:ky,FastForwardIcon:ky,Feather:gy,FeatherIcon:gy,Fence:vy,FenceIcon:vy,FerrisWheel:My,FerrisWheelIcon:My,Figma:wy,FigmaIcon:wy,File:gm,FileArchive:by,FileArchiveIcon:by,FileAudio:jy,FileAudio2:Cy,FileAudio2Icon:Cy,FileAudioIcon:jy,FileAxis3D:bn,FileAxis3DIcon:bn,FileAxis3d:bn,FileAxis3dIcon:bn,FileBadge:Ly,FileBadge2:Sy,FileBadge2Icon:Sy,FileBadgeIcon:Ly,FileBarChart:Cn,FileBarChart2:jn,FileBarChart2Icon:jn,FileBarChartIcon:Cn,FileBox:Iy,FileBoxIcon:Iy,FileChartColumn:jn,FileChartColumnIcon:jn,FileChartColumnIncreasing:Cn,FileChartColumnIncreasingIcon:Cn,FileChartLine:Sn,FileChartLineIcon:Sn,FileChartPie:Ln,FileChartPieIcon:Ln,FileCheck:Ay,FileCheck2:Ny,FileCheck2Icon:Ny,FileCheckIcon:Ay,FileClock:Py,FileClockIcon:Py,FileCode:Ty,FileCode2:_y,FileCode2Icon:_y,FileCodeIcon:Ty,FileCog:In,FileCog2:In,FileCog2Icon:In,FileCogIcon:In,FileDiff:Ry,FileDiffIcon:Ry,FileDigit:qy,FileDigitIcon:qy,FileDown:Dy,FileDownIcon:Dy,FileEdit:An,FileEditIcon:An,FileHeart:zy,FileHeartIcon:zy,FileIcon:gm,FileImage:Fy,FileImageIcon:Fy,FileInput:Ey,FileInputIcon:Ey,FileJson:Hy,FileJson2:Oy,FileJson2Icon:Oy,FileJsonIcon:Hy,FileKey:By,FileKey2:Vy,FileKey2Icon:Vy,FileKeyIcon:By,FileLineChart:Sn,FileLineChartIcon:Sn,FileLock:$y,FileLock2:Uy,FileLock2Icon:Uy,FileLockIcon:$y,FileMinus:Gy,FileMinus2:Wy,FileMinus2Icon:Wy,FileMinusIcon:Gy,FileMusic:Zy,FileMusicIcon:Zy,FileOutput:Xy,FileOutputIcon:Xy,FilePen:An,FilePenIcon:An,FilePenLine:Nn,FilePenLineIcon:Nn,FilePieChart:Ln,FilePieChartIcon:Ln,FilePlus:Yy,FilePlus2:Jy,FilePlus2Icon:Jy,FilePlusIcon:Yy,FileQuestion:Ky,FileQuestionIcon:Ky,FileScan:Qy,FileScanIcon:Qy,FileSearch:tm,FileSearch2:em,FileSearch2Icon:em,FileSearchIcon:tm,FileSignature:Nn,FileSignatureIcon:Nn,FileSliders:am,FileSlidersIcon:am,FileSpreadsheet:rm,FileSpreadsheetIcon:rm,FileStack:nm,FileStackIcon:nm,FileSymlink:om,FileSymlinkIcon:om,FileTerminal:im,FileTerminalIcon:im,FileText:sm,FileTextIcon:sm,FileType:lm,FileType2:cm,FileType2Icon:cm,FileTypeIcon:lm,FileUp:dm,FileUpIcon:dm,FileUser:hm,FileUserIcon:hm,FileVideo:pm,FileVideo2:um,FileVideo2Icon:um,FileVideoIcon:pm,FileVolume:mm,FileVolume2:ym,FileVolume2Icon:ym,FileVolumeIcon:mm,FileWarning:fm,FileWarningIcon:fm,FileX:km,FileX2:xm,FileX2Icon:xm,FileXIcon:km,Files:vm,FilesIcon:vm,Film:Mm,FilmIcon:Mm,Filter:xs,FilterIcon:xs,FilterX:wm,FilterXIcon:wm,Fingerprint:bm,FingerprintIcon:bm,FireExtinguisher:Cm,FireExtinguisherIcon:Cm,Fish:Lm,FishIcon:Lm,FishOff:jm,FishOffIcon:jm,FishSymbol:Sm,FishSymbolIcon:Sm,Flag:fc,FlagIcon:fc,FlagOff:Im,FlagOffIcon:Im,FlagTriangleLeft:Nm,FlagTriangleLeftIcon:Nm,FlagTriangleRight:Am,FlagTriangleRightIcon:Am,Flame:_m,FlameIcon:_m,FlameKindling:Pm,FlameKindlingIcon:Pm,Flashlight:Rm,FlashlightIcon:Rm,FlashlightOff:Tm,FlashlightOffIcon:Tm,FlaskConical:Dm,FlaskConicalIcon:Dm,FlaskConicalOff:qm,FlaskConicalOffIcon:qm,FlaskRound:zm,FlaskRoundIcon:zm,FlipHorizontal:Em,FlipHorizontal2:Fm,FlipHorizontal2Icon:Fm,FlipHorizontalIcon:Em,FlipVertical:Hm,FlipVertical2:Om,FlipVertical2Icon:Om,FlipVerticalIcon:Hm,Flower:Bm,Flower2:Vm,Flower2Icon:Vm,FlowerIcon:Bm,Focus:Um,FocusIcon:Um,FoldHorizontal:$m,FoldHorizontalIcon:$m,FoldVertical:Wm,FoldVerticalIcon:Wm,Folder:Mf,FolderArchive:Gm,FolderArchiveIcon:Gm,FolderCheck:Zm,FolderCheckIcon:Zm,FolderClock:Xm,FolderClockIcon:Xm,FolderClosed:Jm,FolderClosedIcon:Jm,FolderCode:Ym,FolderCodeIcon:Ym,FolderCog:Pn,FolderCog2:Pn,FolderCog2Icon:Pn,FolderCogIcon:Pn,FolderDot:Km,FolderDotIcon:Km,FolderDown:Qm,FolderDownIcon:Qm,FolderEdit:_n,FolderEditIcon:_n,FolderGit:tf,FolderGit2:ef,FolderGit2Icon:ef,FolderGitIcon:tf,FolderHeart:af,FolderHeartIcon:af,FolderIcon:Mf,FolderInput:rf,FolderInputIcon:rf,FolderKanban:nf,FolderKanbanIcon:nf,FolderKey:of,FolderKeyIcon:of,FolderLock:sf,FolderLockIcon:sf,FolderMinus:cf,FolderMinusIcon:cf,FolderOpen:df,FolderOpenDot:lf,FolderOpenDotIcon:lf,FolderOpenIcon:df,FolderOutput:hf,FolderOutputIcon:hf,FolderPen:_n,FolderPenIcon:_n,FolderPlus:uf,FolderPlusIcon:uf,FolderRoot:pf,FolderRootIcon:pf,FolderSearch:mf,FolderSearch2:yf,FolderSearch2Icon:yf,FolderSearchIcon:mf,FolderSymlink:ff,FolderSymlinkIcon:ff,FolderSync:xf,FolderSyncIcon:xf,FolderTree:kf,FolderTreeIcon:kf,FolderUp:gf,FolderUpIcon:gf,FolderX:vf,FolderXIcon:vf,Folders:wf,FoldersIcon:wf,Footprints:bf,FootprintsIcon:bf,ForkKnife:Ii,ForkKnifeCrossed:Li,ForkKnifeCrossedIcon:Li,ForkKnifeIcon:Ii,Forklift:Cf,ForkliftIcon:Cf,FormInput:so,FormInputIcon:so,Forward:jf,ForwardIcon:jf,Frame:Sf,FrameIcon:Sf,Framer:Lf,FramerIcon:Lf,Frown:If,FrownIcon:If,Fuel:Nf,FuelIcon:Nf,Fullscreen:Af,FullscreenIcon:Af,FunctionSquare:Bo,FunctionSquareIcon:Bo,GalleryHorizontal:_f,GalleryHorizontalEnd:Pf,GalleryHorizontalEndIcon:Pf,GalleryHorizontalIcon:_f,GalleryThumbnails:Tf,GalleryThumbnailsIcon:Tf,GalleryVertical:qf,GalleryVerticalEnd:Rf,GalleryVerticalEndIcon:Rf,GalleryVerticalIcon:qf,Gamepad:zf,Gamepad2:Df,Gamepad2Icon:Df,GamepadIcon:zf,GanttChart:Rr,GanttChartIcon:Rr,GanttChartSquare:Qt,GanttChartSquareIcon:Qt,Gauge:Ff,GaugeCircle:Yr,GaugeCircleIcon:Yr,GaugeIcon:Ff,Gavel:Ef,GavelIcon:Ef,Gem:Of,GemIcon:Of,Ghost:Hf,GhostIcon:Hf,Gift:Vf,GiftIcon:Vf,GitBranch:Uf,GitBranchIcon:Uf,GitBranchPlus:Bf,GitBranchPlusIcon:Bf,GitCommit:Tn,GitCommitHorizontal:Tn,GitCommitHorizontalIcon:Tn,GitCommitIcon:Tn,GitCommitVertical:$f,GitCommitVerticalIcon:$f,GitCompare:Gf,GitCompareArrows:Wf,GitCompareArrowsIcon:Wf,GitCompareIcon:Gf,GitFork:Zf,GitForkIcon:Zf,GitGraph:Xf,GitGraphIcon:Xf,GitMerge:Jf,GitMergeIcon:Jf,GitPullRequest:a4,GitPullRequestArrow:Yf,GitPullRequestArrowIcon:Yf,GitPullRequestClosed:Kf,GitPullRequestClosedIcon:Kf,GitPullRequestCreate:e4,GitPullRequestCreateArrow:Qf,GitPullRequestCreateArrowIcon:Qf,GitPullRequestCreateIcon:e4,GitPullRequestDraft:t4,GitPullRequestDraftIcon:t4,GitPullRequestIcon:a4,Github:r4,GithubIcon:r4,Gitlab:n4,GitlabIcon:n4,GlassWater:o4,GlassWaterIcon:o4,Glasses:i4,GlassesIcon:i4,Globe:ks,Globe2:vn,Globe2Icon:vn,GlobeIcon:ks,GlobeLock:s4,GlobeLockIcon:s4,Goal:c4,GoalIcon:c4,Grab:l4,GrabIcon:l4,GraduationCap:gs,GraduationCapIcon:gs,Grape:d4,GrapeIcon:d4,Grid:Ut,Grid2X2:Rn,Grid2X2Icon:Rn,Grid2x2:Rn,Grid2x2Check:h4,Grid2x2CheckIcon:h4,Grid2x2Icon:Rn,Grid2x2Plus:u4,Grid2x2PlusIcon:u4,Grid2x2X:p4,Grid2x2XIcon:p4,Grid3X3:Ut,Grid3X3Icon:Ut,Grid3x3:Ut,Grid3x3Icon:Ut,GridIcon:Ut,Grip:f4,GripHorizontal:y4,GripHorizontalIcon:y4,GripIcon:f4,GripVertical:m4,GripVerticalIcon:m4,Group:x4,GroupIcon:x4,Guitar:k4,GuitarIcon:k4,Ham:g4,HamIcon:g4,Hammer:v4,HammerIcon:v4,Hand:j4,HandCoins:M4,HandCoinsIcon:M4,HandHeart:w4,HandHeartIcon:w4,HandHelping:qn,HandHelpingIcon:qn,HandIcon:j4,HandMetal:b4,HandMetalIcon:b4,HandPlatter:C4,HandPlatterIcon:C4,Handshake:S4,HandshakeIcon:S4,HardDrive:N4,HardDriveDownload:L4,HardDriveDownloadIcon:L4,HardDriveIcon:N4,HardDriveUpload:I4,HardDriveUploadIcon:I4,HardHat:A4,HardHatIcon:A4,Hash:P4,HashIcon:P4,Haze:_4,HazeIcon:_4,HdmiPort:T4,HdmiPortIcon:T4,Heading:O4,Heading1:R4,Heading1Icon:R4,Heading2:q4,Heading2Icon:q4,Heading3:D4,Heading3Icon:D4,Heading4:z4,Heading4Icon:z4,Heading5:F4,Heading5Icon:F4,Heading6:E4,Heading6Icon:E4,HeadingIcon:O4,HeadphoneOff:H4,HeadphoneOffIcon:H4,Headphones:V4,HeadphonesIcon:V4,Headset:B4,HeadsetIcon:B4,Heart:vs,HeartCrack:U4,HeartCrackIcon:U4,HeartHandshake:$4,HeartHandshakeIcon:$4,HeartIcon:vs,HeartOff:W4,HeartOffIcon:W4,HeartPulse:G4,HeartPulseIcon:G4,Heater:Z4,HeaterIcon:Z4,HelpCircle:Ea,HelpCircleIcon:Ea,HelpingHand:qn,HelpingHandIcon:qn,Hexagon:X4,HexagonIcon:X4,Highlighter:J4,HighlighterIcon:J4,History:Y4,HistoryIcon:Y4,Home:xa,HomeIcon:xa,Hop:Q4,HopIcon:Q4,HopOff:K4,HopOffIcon:K4,Hospital:ex,HospitalIcon:ex,Hotel:tx,HotelIcon:tx,Hourglass:ax,HourglassIcon:ax,House:xa,HouseIcon:xa,HousePlug:rx,HousePlugIcon:rx,HousePlus:nx,HousePlusIcon:nx,IceCream:zn,IceCream2:Dn,IceCream2Icon:Dn,IceCreamBowl:Dn,IceCreamBowlIcon:Dn,IceCreamCone:zn,IceCreamConeIcon:zn,IceCreamIcon:zn,Icon:vI,IdCard:ox,IdCardIcon:ox,Image:ux,ImageDown:ix,ImageDownIcon:ix,ImageIcon:ux,ImageMinus:sx,ImageMinusIcon:sx,ImageOff:cx,ImageOffIcon:cx,ImagePlay:lx,ImagePlayIcon:lx,ImagePlus:dx,ImagePlusIcon:dx,ImageUp:hx,ImageUpIcon:hx,Images:px,ImagesIcon:px,Import:yx,ImportIcon:yx,Inbox:mx,InboxIcon:mx,Indent:En,IndentDecrease:Fn,IndentDecreaseIcon:Fn,IndentIcon:En,IndentIncrease:En,IndentIncreaseIcon:En,IndianRupee:fx,IndianRupeeIcon:fx,Infinity:xx,InfinityIcon:xx,Info:kx,InfoIcon:kx,Inspect:Xo,InspectIcon:Xo,InspectionPanel:gx,InspectionPanelIcon:gx,Instagram:vx,InstagramIcon:vx,Italic:Mx,ItalicIcon:Mx,IterationCcw:wx,IterationCcwIcon:wx,IterationCw:bx,IterationCwIcon:bx,JapaneseYen:Cx,JapaneseYenIcon:Cx,Joystick:jx,JoystickIcon:jx,Kanban:Sx,KanbanIcon:Sx,KanbanSquare:Uo,KanbanSquareDashed:zo,KanbanSquareDashedIcon:zo,KanbanSquareIcon:Uo,Key:Nx,KeyIcon:Nx,KeyRound:Lx,KeyRoundIcon:Lx,KeySquare:Ix,KeySquareIcon:Ix,Keyboard:_x,KeyboardIcon:_x,KeyboardMusic:Ax,KeyboardMusicIcon:Ax,KeyboardOff:Px,KeyboardOffIcon:Px,Lamp:Fx,LampCeiling:Tx,LampCeilingIcon:Tx,LampDesk:Rx,LampDeskIcon:Rx,LampFloor:qx,LampFloorIcon:qx,LampIcon:Fx,LampWallDown:Dx,LampWallDownIcon:Dx,LampWallUp:zx,LampWallUpIcon:zx,LandPlot:Ex,LandPlotIcon:Ex,Landmark:Ox,LandmarkIcon:Ox,Languages:Hx,LanguagesIcon:Hx,Laptop:Vx,Laptop2:On,Laptop2Icon:On,LaptopIcon:Vx,LaptopMinimal:On,LaptopMinimalIcon:On,Lasso:Ux,LassoIcon:Ux,LassoSelect:Bx,LassoSelectIcon:Bx,Laugh:$x,LaughIcon:$x,Layers:Zx,Layers2:Wx,Layers2Icon:Wx,Layers3:Gx,Layers3Icon:Gx,LayersIcon:Zx,Layout:ro,LayoutDashboard:xc,LayoutDashboardIcon:xc,LayoutGrid:Xx,LayoutGridIcon:Xx,LayoutIcon:ro,LayoutList:Jx,LayoutListIcon:Jx,LayoutPanelLeft:Yx,LayoutPanelLeftIcon:Yx,LayoutPanelTop:Kx,LayoutPanelTopIcon:Kx,LayoutTemplate:Qx,LayoutTemplateIcon:Qx,Leaf:ek,LeafIcon:ek,LeafyGreen:tk,LeafyGreenIcon:tk,Lectern:ak,LecternIcon:ak,LetterText:rk,LetterTextIcon:rk,Library:ok,LibraryBig:nk,LibraryBigIcon:nk,LibraryIcon:ok,LibrarySquare:$o,LibrarySquareIcon:$o,LifeBuoy:ik,LifeBuoyIcon:ik,Ligature:sk,LigatureIcon:sk,Lightbulb:lk,LightbulbIcon:lk,LightbulbOff:ck,LightbulbOffIcon:ck,LineChart:_r,LineChartIcon:_r,Link:kc,Link2:hk,Link2Icon:hk,Link2Off:dk,Link2OffIcon:dk,LinkIcon:kc,Linkedin:uk,LinkedinIcon:uk,List:gc,ListCheck:pk,ListCheckIcon:pk,ListChecks:yk,ListChecksIcon:yk,ListCollapse:mk,ListCollapseIcon:mk,ListEnd:fk,ListEndIcon:fk,ListFilter:xk,ListFilterIcon:xk,ListIcon:gc,ListMinus:kk,ListMinusIcon:kk,ListMusic:gk,ListMusicIcon:gk,ListOrdered:vk,ListOrderedIcon:vk,ListPlus:Mk,ListPlusIcon:Mk,ListRestart:wk,ListRestartIcon:wk,ListStart:bk,ListStartIcon:bk,ListTodo:Ck,ListTodoIcon:Ck,ListTree:jk,ListTreeIcon:jk,ListVideo:Sk,ListVideoIcon:Sk,ListX:Lk,ListXIcon:Lk,Loader:Nk,Loader2:Hn,Loader2Icon:Hn,LoaderCircle:Hn,LoaderCircleIcon:Hn,LoaderIcon:Nk,LoaderPinwheel:Ik,LoaderPinwheelIcon:Ik,Locate:_k,LocateFixed:Ak,LocateFixedIcon:Ak,LocateIcon:_k,LocateOff:Pk,LocateOffIcon:Pk,Lock:vc,LockIcon:vc,LockKeyhole:Tk,LockKeyholeIcon:Tk,LockKeyholeOpen:Vn,LockKeyholeOpenIcon:Vn,LockOpen:Bn,LockOpenIcon:Bn,LogIn:Rk,LogInIcon:Rk,LogOut:Mc,LogOutIcon:Mc,Logs:qk,LogsIcon:qk,Lollipop:Dk,LollipopIcon:Dk,LucideAArrowDown:u1,LucideAArrowUp:p1,LucideALargeSmall:y1,LucideAccessibility:m1,LucideActivity:f1,LucideActivitySquare:xo,LucideAirVent:x1,LucideAirplay:k1,LucideAlarmCheck:lr,LucideAlarmClock:v1,LucideAlarmClockCheck:lr,LucideAlarmClockMinus:dr,LucideAlarmClockOff:g1,LucideAlarmClockPlus:hr,LucideAlarmMinus:dr,LucideAlarmPlus:hr,LucideAlarmSmoke:M1,LucideAlbum:w1,LucideAlertCircle:Wt,LucideAlertOctagon:Wn,LucideAlertTriangle:xi,LucideAlignCenter:j1,LucideAlignCenterHorizontal:b1,LucideAlignCenterVertical:C1,LucideAlignEndHorizontal:S1,LucideAlignEndVertical:L1,LucideAlignHorizontalDistributeCenter:I1,LucideAlignHorizontalDistributeEnd:N1,LucideAlignHorizontalDistributeStart:A1,LucideAlignHorizontalJustifyCenter:P1,LucideAlignHorizontalJustifyEnd:_1,LucideAlignHorizontalJustifyStart:T1,LucideAlignHorizontalSpaceAround:R1,LucideAlignHorizontalSpaceBetween:q1,LucideAlignJustify:D1,LucideAlignLeft:z1,LucideAlignRight:F1,LucideAlignStartHorizontal:E1,LucideAlignStartVertical:O1,LucideAlignVerticalDistributeCenter:H1,LucideAlignVerticalDistributeEnd:V1,LucideAlignVerticalDistributeStart:B1,LucideAlignVerticalJustifyCenter:U1,LucideAlignVerticalJustifyEnd:$1,LucideAlignVerticalJustifyStart:W1,LucideAlignVerticalSpaceAround:G1,LucideAlignVerticalSpaceBetween:Z1,LucideAmbulance:X1,LucideAmpersand:J1,LucideAmpersands:Y1,LucideAmphora:K1,LucideAnchor:Q1,LucideAngry:el,LucideAnnoyed:tl,LucideAntenna:al,LucideAnvil:rl,LucideAperture:nl,LucideAppWindow:il,LucideAppWindowMac:ol,LucideApple:sl,LucideArchive:dl,LucideArchiveRestore:cl,LucideArchiveX:ll,LucideAreaChart:jr,LucideArmchair:hl,LucideArrowBigDown:pl,LucideArrowBigDownDash:ul,LucideArrowBigLeft:ml,LucideArrowBigLeftDash:yl,LucideArrowBigRight:xl,LucideArrowBigRightDash:fl,LucideArrowBigUp:gl,LucideArrowBigUpDash:kl,LucideArrowDown:Nl,LucideArrowDown01:vl,LucideArrowDown10:Ml,LucideArrowDownAZ:ur,LucideArrowDownAz:ur,LucideArrowDownCircle:zr,LucideArrowDownFromLine:wl,LucideArrowDownLeft:bl,LucideArrowDownLeftFromCircle:Er,LucideArrowDownLeftFromSquare:Mo,LucideArrowDownLeftSquare:ko,LucideArrowDownNarrowWide:Cl,LucideArrowDownRight:jl,LucideArrowDownRightFromCircle:Or,LucideArrowDownRightFromSquare:wo,LucideArrowDownRightSquare:go,LucideArrowDownSquare:vo,LucideArrowDownToDot:Sl,LucideArrowDownToLine:Ll,LucideArrowDownUp:Il,LucideArrowDownWideNarrow:pr,LucideArrowDownZA:yr,LucideArrowDownZa:yr,LucideArrowLeft:Ti,LucideArrowLeftCircle:Fr,LucideArrowLeftFromLine:Al,LucideArrowLeftRight:Pl,LucideArrowLeftSquare:ka,LucideArrowLeftToLine:_l,LucideArrowRight:ps,LucideArrowRightCircle:Br,LucideArrowRightFromLine:Tl,LucideArrowRightLeft:Rl,LucideArrowRightSquare:ga,LucideArrowRightToLine:ql,LucideArrowUp:$l,LucideArrowUp01:Dl,LucideArrowUp10:zl,LucideArrowUpAZ:mr,LucideArrowUpAz:mr,LucideArrowUpCircle:Ur,LucideArrowUpDown:Fl,LucideArrowUpFromDot:El,LucideArrowUpFromLine:Ol,LucideArrowUpLeft:Hl,LucideArrowUpLeftFromCircle:Hr,LucideArrowUpLeftFromSquare:bo,LucideArrowUpLeftSquare:jo,LucideArrowUpNarrowWide:fr,LucideArrowUpRight:Vl,LucideArrowUpRightFromCircle:Vr,LucideArrowUpRightFromSquare:Co,LucideArrowUpRightSquare:So,LucideArrowUpSquare:Lo,LucideArrowUpToLine:Bl,LucideArrowUpWideNarrow:Ul,LucideArrowUpZA:xr,LucideArrowUpZa:xr,LucideArrowsUpFromLine:Wl,LucideAsterisk:Gl,LucideAsteriskSquare:Io,LucideAtSign:Zl,LucideAtom:Xl,LucideAudioLines:Jl,LucideAudioWaveform:Yl,LucideAward:Ma,LucideAxe:Kl,LucideAxis3D:kr,LucideAxis3d:kr,LucideBaby:Ql,LucideBackpack:ed,LucideBadge:fd,LucideBadgeAlert:td,LucideBadgeCent:ad,LucideBadgeCheck:gr,LucideBadgeDollarSign:rd,LucideBadgeEuro:nd,LucideBadgeHelp:od,LucideBadgeIndianRupee:id,LucideBadgeInfo:sd,LucideBadgeJapaneseYen:cd,LucideBadgeMinus:ld,LucideBadgePercent:dd,LucideBadgePlus:hd,LucideBadgePoundSterling:ud,LucideBadgeRussianRuble:pd,LucideBadgeSwissFranc:yd,LucideBadgeX:md,LucideBaggageClaim:xd,LucideBan:kd,LucideBanana:gd,LucideBandage:vd,LucideBanknote:Md,LucideBarChart:Fa,LucideBarChart2:Tr,LucideBarChart3:Pr,LucideBarChart4:Ar,LucideBarChartBig:Nr,LucideBarChartHorizontal:Lr,LucideBarChartHorizontalBig:Sr,LucideBarcode:wd,LucideBaseline:bd,LucideBath:Cd,LucideBattery:Ad,LucideBatteryCharging:jd,LucideBatteryFull:Sd,LucideBatteryLow:Ld,LucideBatteryMedium:Id,LucideBatteryWarning:Nd,LucideBeaker:Pd,LucideBean:Td,LucideBeanOff:_d,LucideBed:Dd,LucideBedDouble:Rd,LucideBedSingle:qd,LucideBeef:zd,LucideBeer:Ed,LucideBeerOff:Fd,LucideBell:ys,LucideBellDot:Od,LucideBellElectric:Hd,LucideBellMinus:Vd,LucideBellOff:Bd,LucideBellPlus:Ud,LucideBellRing:$d,LucideBetweenHorizonalEnd:vr,LucideBetweenHorizonalStart:Mr,LucideBetweenHorizontalEnd:vr,LucideBetweenHorizontalStart:Mr,LucideBetweenVerticalEnd:Wd,LucideBetweenVerticalStart:Gd,LucideBicepsFlexed:Zd,LucideBike:Xd,LucideBinary:Jd,LucideBinoculars:Yd,LucideBiohazard:Kd,LucideBird:Qd,LucideBitcoin:e2,LucideBlend:t2,LucideBlinds:a2,LucideBlocks:r2,LucideBluetooth:s2,LucideBluetoothConnected:n2,LucideBluetoothOff:o2,LucideBluetoothSearching:i2,LucideBold:c2,LucideBolt:l2,LucideBomb:d2,LucideBone:h2,LucideBook:T2,LucideBookA:u2,LucideBookAudio:p2,LucideBookCheck:y2,LucideBookCopy:m2,LucideBookDashed:wr,LucideBookDown:f2,LucideBookHeadphones:x2,LucideBookHeart:k2,LucideBookImage:g2,LucideBookKey:v2,LucideBookLock:M2,LucideBookMarked:w2,LucideBookMinus:b2,LucideBookOpen:zt,LucideBookOpenCheck:C2,LucideBookOpenText:j2,LucideBookPlus:S2,LucideBookTemplate:wr,LucideBookText:L2,LucideBookType:I2,LucideBookUp:A2,LucideBookUp2:N2,LucideBookUser:P2,LucideBookX:_2,LucideBookmark:ba,LucideBookmarkCheck:ia,LucideBookmarkMinus:R2,LucideBookmarkPlus:cc,LucideBookmarkX:q2,LucideBoomBox:D2,LucideBot:lc,LucideBotMessageSquare:z2,LucideBotOff:F2,LucideBox:E2,LucideBoxSelect:Eo,LucideBoxes:O2,LucideBraces:br,LucideBrackets:H2,LucideBrain:U2,LucideBrainCircuit:V2,LucideBrainCog:B2,LucideBrickWall:$2,LucideBriefcase:pt,LucideBriefcaseBusiness:W2,LucideBriefcaseConveyorBelt:G2,LucideBriefcaseMedical:Z2,LucideBringToFront:X2,LucideBrush:J2,LucideBug:Q2,LucideBugOff:Y2,LucideBugPlay:K2,LucideBuilding:ms,LucideBuilding2:dc,LucideBus:t0,LucideBusFront:e0,LucideCable:r0,LucideCableCar:a0,LucideCake:o0,LucideCakeSlice:n0,LucideCalculator:i0,LucideCalendar:hc,LucideCalendarArrowDown:s0,LucideCalendarArrowUp:c0,LucideCalendarCheck:d0,LucideCalendarCheck2:l0,LucideCalendarClock:h0,LucideCalendarCog:u0,LucideCalendarDays:p0,LucideCalendarFold:y0,LucideCalendarHeart:m0,LucideCalendarMinus:x0,LucideCalendarMinus2:f0,LucideCalendarOff:k0,LucideCalendarPlus:v0,LucideCalendarPlus2:g0,LucideCalendarRange:M0,LucideCalendarSearch:w0,LucideCalendarX:C0,LucideCalendarX2:b0,LucideCamera:S0,LucideCameraOff:j0,LucideCandlestickChart:Ir,LucideCandy:N0,LucideCandyCane:L0,LucideCandyOff:I0,LucideCannabis:A0,LucideCaptions:Cr,LucideCaptionsOff:P0,LucideCar:R0,LucideCarFront:_0,LucideCarTaxiFront:T0,LucideCaravan:q0,LucideCarrot:D0,LucideCaseLower:z0,LucideCaseSensitive:F0,LucideCaseUpper:E0,LucideCassetteTape:O0,LucideCast:H0,LucideCastle:V0,LucideCat:B0,LucideCctv:U0,LucideChartArea:jr,LucideChartBar:Lr,LucideChartBarBig:Sr,LucideChartBarDecreasing:$0,LucideChartBarIncreasing:W0,LucideChartBarStacked:G0,LucideChartCandlestick:Ir,LucideChartColumn:Pr,LucideChartColumnBig:Nr,LucideChartColumnDecreasing:Z0,LucideChartColumnIncreasing:Ar,LucideChartColumnStacked:X0,LucideChartGantt:J0,LucideChartLine:_r,LucideChartNetwork:Y0,LucideChartNoAxesColumn:Tr,LucideChartNoAxesColumnDecreasing:K0,LucideChartNoAxesColumnIncreasing:Fa,LucideChartNoAxesCombined:Q0,LucideChartNoAxesGantt:Rr,LucideChartPie:qr,LucideChartScatter:Dr,LucideChartSpline:eh,LucideCheck:fs,LucideCheckCheck:th,LucideCheckCircle:bt,LucideCheckCircle2:$r,LucideCheckSquare:Ao,LucideCheckSquare2:Po,LucideChefHat:ah,LucideCherry:rh,LucideChevronDown:Ri,LucideChevronDownCircle:Wr,LucideChevronDownSquare:_o,LucideChevronFirst:nh,LucideChevronLast:oh,LucideChevronLeft:qi,LucideChevronLeftCircle:Gr,LucideChevronLeftSquare:To,LucideChevronRight:Ba,LucideChevronRightCircle:Zr,LucideChevronRightSquare:Ro,LucideChevronUp:uc,LucideChevronUpCircle:Xr,LucideChevronUpSquare:qo,LucideChevronsDown:sh,LucideChevronsDownUp:ih,LucideChevronsLeft:dh,LucideChevronsLeftRight:lh,LucideChevronsLeftRightEllipsis:ch,LucideChevronsRight:uh,LucideChevronsRightLeft:hh,LucideChevronsUp:yh,LucideChevronsUpDown:ph,LucideChrome:mh,LucideChurch:fh,LucideCigarette:kh,LucideCigaretteOff:xh,LucideCircle:Nh,LucideCircleAlert:Wt,LucideCircleArrowDown:zr,LucideCircleArrowLeft:Fr,LucideCircleArrowOutDownLeft:Er,LucideCircleArrowOutDownRight:Or,LucideCircleArrowOutUpLeft:Hr,LucideCircleArrowOutUpRight:Vr,LucideCircleArrowRight:Br,LucideCircleArrowUp:Ur,LucideCircleCheck:$r,LucideCircleCheckBig:bt,LucideCircleChevronDown:Wr,LucideCircleChevronLeft:Gr,LucideCircleChevronRight:Zr,LucideCircleChevronUp:Xr,LucideCircleDashed:gh,LucideCircleDivide:Jr,LucideCircleDollarSign:vh,LucideCircleDot:wh,LucideCircleDotDashed:Mh,LucideCircleEllipsis:bh,LucideCircleEqual:Ch,LucideCircleFadingArrowUp:jh,LucideCircleFadingPlus:Sh,LucideCircleGauge:Yr,LucideCircleHelp:Ea,LucideCircleMinus:Kr,LucideCircleOff:Lh,LucideCircleParking:en,LucideCircleParkingOff:Qr,LucideCirclePause:tn,LucideCirclePercent:an,LucideCirclePlay:rn,LucideCirclePlus:nn,LucideCirclePower:on,LucideCircleSlash:Ih,LucideCircleSlash2:sn,LucideCircleSlashed:sn,LucideCircleStop:cn,LucideCircleUser:dn,LucideCircleUserRound:ln,LucideCircleX:ta,LucideCircuitBoard:Ah,LucideCitrus:Ph,LucideClapperboard:_h,LucideClipboard:Hh,LucideClipboardCheck:Th,LucideClipboardCopy:Rh,LucideClipboardEdit:un,LucideClipboardList:qh,LucideClipboardMinus:Dh,LucideClipboardPaste:zh,LucideClipboardPen:un,LucideClipboardPenLine:hn,LucideClipboardPlus:Fh,LucideClipboardSignature:hn,LucideClipboardType:Eh,LucideClipboardX:Oh,LucideClock:Zt,LucideClock1:Vh,LucideClock10:Bh,LucideClock11:Uh,LucideClock12:$h,LucideClock2:Wh,LucideClock3:Gh,LucideClock4:Zh,LucideClock5:Xh,LucideClock6:Jh,LucideClock7:Yh,LucideClock8:Kh,LucideClock9:Qh,LucideClockAlert:eu,LucideClockArrowDown:tu,LucideClockArrowUp:au,LucideCloud:fu,LucideCloudCog:ru,LucideCloudDownload:pn,LucideCloudDrizzle:nu,LucideCloudFog:ou,LucideCloudHail:iu,LucideCloudLightning:su,LucideCloudMoon:lu,LucideCloudMoonRain:cu,LucideCloudOff:du,LucideCloudRain:uu,LucideCloudRainWind:hu,LucideCloudSnow:pu,LucideCloudSun:mu,LucideCloudSunRain:yu,LucideCloudUpload:yn,LucideCloudy:xu,LucideClover:ku,LucideClub:gu,LucideCode:vu,LucideCode2:mn,LucideCodeSquare:Do,LucideCodeXml:mn,LucideCodepen:Mu,LucideCodesandbox:wu,LucideCoffee:bu,LucideCog:Cu,LucideCoins:ju,LucideColumns:fn,LucideColumns2:fn,LucideColumns3:xn,LucideColumns4:Su,LucideCombine:Lu,LucideCommand:Iu,LucideCompass:Nu,LucideComponent:Au,LucideComputer:Pu,LucideConciergeBell:_u,LucideCone:Tu,LucideConstruction:Ru,LucideContact:qu,LucideContact2:kn,LucideContactRound:kn,LucideContainer:Du,LucideContrast:zu,LucideCookie:Fu,LucideCookingPot:Eu,LucideCopy:$u,LucideCopyCheck:Ou,LucideCopyMinus:Hu,LucideCopyPlus:Vu,LucideCopySlash:Bu,LucideCopyX:Uu,LucideCopyleft:Wu,LucideCopyright:Gu,LucideCornerDownLeft:Zu,LucideCornerDownRight:Xu,LucideCornerLeftDown:Ju,LucideCornerLeftUp:Yu,LucideCornerRightDown:Ku,LucideCornerRightUp:Qu,LucideCornerUpLeft:ep,LucideCornerUpRight:tp,LucideCpu:ap,LucideCreativeCommons:rp,LucideCreditCard:pc,LucideCroissant:np,LucideCrop:op,LucideCross:ip,LucideCrosshair:sp,LucideCrown:cp,LucideCuboid:lp,LucideCupSoda:dp,LucideCurlyBraces:br,LucideCurrency:hp,LucideCylinder:up,LucideDam:pp,LucideDatabase:fp,LucideDatabaseBackup:yp,LucideDatabaseZap:mp,LucideDelete:xp,LucideDessert:kp,LucideDiameter:gp,LucideDiamond:wp,LucideDiamondMinus:vp,LucideDiamondPercent:gn,LucideDiamondPlus:Mp,LucideDice1:bp,LucideDice2:Cp,LucideDice3:jp,LucideDice4:Sp,LucideDice5:Lp,LucideDice6:Ip,LucideDices:Np,LucideDiff:Ap,LucideDisc:Rp,LucideDisc2:Pp,LucideDisc3:_p,LucideDiscAlbum:Tp,LucideDivide:qp,LucideDivideCircle:Jr,LucideDivideSquare:Oo,LucideDna:zp,LucideDnaOff:Dp,LucideDock:Fp,LucideDog:Ep,LucideDollarSign:yc,LucideDonut:Op,LucideDoorClosed:Hp,LucideDoorOpen:Vp,LucideDot:Bp,LucideDotSquare:Ho,LucideDownload:Up,LucideDownloadCloud:pn,LucideDraftingCompass:$p,LucideDrama:Wp,LucideDribbble:Gp,LucideDrill:Zp,LucideDroplet:Xp,LucideDroplets:Jp,LucideDrum:Yp,LucideDrumstick:Kp,LucideDumbbell:Qp,LucideEar:ty,LucideEarOff:ey,LucideEarth:vn,LucideEarthLock:ay,LucideEclipse:ry,LucideEdit:vt,LucideEdit2:oo,LucideEdit3:no,LucideEgg:iy,LucideEggFried:ny,LucideEggOff:oy,LucideEllipsis:wn,LucideEllipsisVertical:Mn,LucideEqual:cy,LucideEqualNot:sy,LucideEqualSquare:Vo,LucideEraser:ly,LucideEthernetPort:dy,LucideEuro:hy,LucideExpand:uy,LucideExternalLink:Di,LucideEye:mc,LucideEyeClosed:py,LucideEyeOff:yy,LucideFacebook:my,LucideFactory:fy,LucideFan:xy,LucideFastForward:ky,LucideFeather:gy,LucideFence:vy,LucideFerrisWheel:My,LucideFigma:wy,LucideFile:gm,LucideFileArchive:by,LucideFileAudio:jy,LucideFileAudio2:Cy,LucideFileAxis3D:bn,LucideFileAxis3d:bn,LucideFileBadge:Ly,LucideFileBadge2:Sy,LucideFileBarChart:Cn,LucideFileBarChart2:jn,LucideFileBox:Iy,LucideFileChartColumn:jn,LucideFileChartColumnIncreasing:Cn,LucideFileChartLine:Sn,LucideFileChartPie:Ln,LucideFileCheck:Ay,LucideFileCheck2:Ny,LucideFileClock:Py,LucideFileCode:Ty,LucideFileCode2:_y,LucideFileCog:In,LucideFileCog2:In,LucideFileDiff:Ry,LucideFileDigit:qy,LucideFileDown:Dy,LucideFileEdit:An,LucideFileHeart:zy,LucideFileImage:Fy,LucideFileInput:Ey,LucideFileJson:Hy,LucideFileJson2:Oy,LucideFileKey:By,LucideFileKey2:Vy,LucideFileLineChart:Sn,LucideFileLock:$y,LucideFileLock2:Uy,LucideFileMinus:Gy,LucideFileMinus2:Wy,LucideFileMusic:Zy,LucideFileOutput:Xy,LucideFilePen:An,LucideFilePenLine:Nn,LucideFilePieChart:Ln,LucideFilePlus:Yy,LucideFilePlus2:Jy,LucideFileQuestion:Ky,LucideFileScan:Qy,LucideFileSearch:tm,LucideFileSearch2:em,LucideFileSignature:Nn,LucideFileSliders:am,LucideFileSpreadsheet:rm,LucideFileStack:nm,LucideFileSymlink:om,LucideFileTerminal:im,LucideFileText:sm,LucideFileType:lm,LucideFileType2:cm,LucideFileUp:dm,LucideFileUser:hm,LucideFileVideo:pm,LucideFileVideo2:um,LucideFileVolume:mm,LucideFileVolume2:ym,LucideFileWarning:fm,LucideFileX:km,LucideFileX2:xm,LucideFiles:vm,LucideFilm:Mm,LucideFilter:xs,LucideFilterX:wm,LucideFingerprint:bm,LucideFireExtinguisher:Cm,LucideFish:Lm,LucideFishOff:jm,LucideFishSymbol:Sm,LucideFlag:fc,LucideFlagOff:Im,LucideFlagTriangleLeft:Nm,LucideFlagTriangleRight:Am,LucideFlame:_m,LucideFlameKindling:Pm,LucideFlashlight:Rm,LucideFlashlightOff:Tm,LucideFlaskConical:Dm,LucideFlaskConicalOff:qm,LucideFlaskRound:zm,LucideFlipHorizontal:Em,LucideFlipHorizontal2:Fm,LucideFlipVertical:Hm,LucideFlipVertical2:Om,LucideFlower:Bm,LucideFlower2:Vm,LucideFocus:Um,LucideFoldHorizontal:$m,LucideFoldVertical:Wm,LucideFolder:Mf,LucideFolderArchive:Gm,LucideFolderCheck:Zm,LucideFolderClock:Xm,LucideFolderClosed:Jm,LucideFolderCode:Ym,LucideFolderCog:Pn,LucideFolderCog2:Pn,LucideFolderDot:Km,LucideFolderDown:Qm,LucideFolderEdit:_n,LucideFolderGit:tf,LucideFolderGit2:ef,LucideFolderHeart:af,LucideFolderInput:rf,LucideFolderKanban:nf,LucideFolderKey:of,LucideFolderLock:sf,LucideFolderMinus:cf,LucideFolderOpen:df,LucideFolderOpenDot:lf,LucideFolderOutput:hf,LucideFolderPen:_n,LucideFolderPlus:uf,LucideFolderRoot:pf,LucideFolderSearch:mf,LucideFolderSearch2:yf,LucideFolderSymlink:ff,LucideFolderSync:xf,LucideFolderTree:kf,LucideFolderUp:gf,LucideFolderX:vf,LucideFolders:wf,LucideFootprints:bf,LucideForkKnife:Ii,LucideForkKnifeCrossed:Li,LucideForklift:Cf,LucideFormInput:so,LucideForward:jf,LucideFrame:Sf,LucideFramer:Lf,LucideFrown:If,LucideFuel:Nf,LucideFullscreen:Af,LucideFunctionSquare:Bo,LucideGalleryHorizontal:_f,LucideGalleryHorizontalEnd:Pf,LucideGalleryThumbnails:Tf,LucideGalleryVertical:qf,LucideGalleryVerticalEnd:Rf,LucideGamepad:zf,LucideGamepad2:Df,LucideGanttChart:Rr,LucideGanttChartSquare:Qt,LucideGauge:Ff,LucideGaugeCircle:Yr,LucideGavel:Ef,LucideGem:Of,LucideGhost:Hf,LucideGift:Vf,LucideGitBranch:Uf,LucideGitBranchPlus:Bf,LucideGitCommit:Tn,LucideGitCommitHorizontal:Tn,LucideGitCommitVertical:$f,LucideGitCompare:Gf,LucideGitCompareArrows:Wf,LucideGitFork:Zf,LucideGitGraph:Xf,LucideGitMerge:Jf,LucideGitPullRequest:a4,LucideGitPullRequestArrow:Yf,LucideGitPullRequestClosed:Kf,LucideGitPullRequestCreate:e4,LucideGitPullRequestCreateArrow:Qf,LucideGitPullRequestDraft:t4,LucideGithub:r4,LucideGitlab:n4,LucideGlassWater:o4,LucideGlasses:i4,LucideGlobe:ks,LucideGlobe2:vn,LucideGlobeLock:s4,LucideGoal:c4,LucideGrab:l4,LucideGraduationCap:gs,LucideGrape:d4,LucideGrid:Ut,LucideGrid2X2:Rn,LucideGrid2x2:Rn,LucideGrid2x2Check:h4,LucideGrid2x2Plus:u4,LucideGrid2x2X:p4,LucideGrid3X3:Ut,LucideGrid3x3:Ut,LucideGrip:f4,LucideGripHorizontal:y4,LucideGripVertical:m4,LucideGroup:x4,LucideGuitar:k4,LucideHam:g4,LucideHammer:v4,LucideHand:j4,LucideHandCoins:M4,LucideHandHeart:w4,LucideHandHelping:qn,LucideHandMetal:b4,LucideHandPlatter:C4,LucideHandshake:S4,LucideHardDrive:N4,LucideHardDriveDownload:L4,LucideHardDriveUpload:I4,LucideHardHat:A4,LucideHash:P4,LucideHaze:_4,LucideHdmiPort:T4,LucideHeading:O4,LucideHeading1:R4,LucideHeading2:q4,LucideHeading3:D4,LucideHeading4:z4,LucideHeading5:F4,LucideHeading6:E4,LucideHeadphoneOff:H4,LucideHeadphones:V4,LucideHeadset:B4,LucideHeart:vs,LucideHeartCrack:U4,LucideHeartHandshake:$4,LucideHeartOff:W4,LucideHeartPulse:G4,LucideHeater:Z4,LucideHelpCircle:Ea,LucideHelpingHand:qn,LucideHexagon:X4,LucideHighlighter:J4,LucideHistory:Y4,LucideHome:xa,LucideHop:Q4,LucideHopOff:K4,LucideHospital:ex,LucideHotel:tx,LucideHourglass:ax,LucideHouse:xa,LucideHousePlug:rx,LucideHousePlus:nx,LucideIceCream:zn,LucideIceCream2:Dn,LucideIceCreamBowl:Dn,LucideIceCreamCone:zn,LucideIdCard:ox,LucideImage:ux,LucideImageDown:ix,LucideImageMinus:sx,LucideImageOff:cx,LucideImagePlay:lx,LucideImagePlus:dx,LucideImageUp:hx,LucideImages:px,LucideImport:yx,LucideInbox:mx,LucideIndent:En,LucideIndentDecrease:Fn,LucideIndentIncrease:En,LucideIndianRupee:fx,LucideInfinity:xx,LucideInfo:kx,LucideInspect:Xo,LucideInspectionPanel:gx,LucideInstagram:vx,LucideItalic:Mx,LucideIterationCcw:wx,LucideIterationCw:bx,LucideJapaneseYen:Cx,LucideJoystick:jx,LucideKanban:Sx,LucideKanbanSquare:Uo,LucideKanbanSquareDashed:zo,LucideKey:Nx,LucideKeyRound:Lx,LucideKeySquare:Ix,LucideKeyboard:_x,LucideKeyboardMusic:Ax,LucideKeyboardOff:Px,LucideLamp:Fx,LucideLampCeiling:Tx,LucideLampDesk:Rx,LucideLampFloor:qx,LucideLampWallDown:Dx,LucideLampWallUp:zx,LucideLandPlot:Ex,LucideLandmark:Ox,LucideLanguages:Hx,LucideLaptop:Vx,LucideLaptop2:On,LucideLaptopMinimal:On,LucideLasso:Ux,LucideLassoSelect:Bx,LucideLaugh:$x,LucideLayers:Zx,LucideLayers2:Wx,LucideLayers3:Gx,LucideLayout:ro,LucideLayoutDashboard:xc,LucideLayoutGrid:Xx,LucideLayoutList:Jx,LucideLayoutPanelLeft:Yx,LucideLayoutPanelTop:Kx,LucideLayoutTemplate:Qx,LucideLeaf:ek,LucideLeafyGreen:tk,LucideLectern:ak,LucideLetterText:rk,LucideLibrary:ok,LucideLibraryBig:nk,LucideLibrarySquare:$o,LucideLifeBuoy:ik,LucideLigature:sk,LucideLightbulb:lk,LucideLightbulbOff:ck,LucideLineChart:_r,LucideLink:kc,LucideLink2:hk,LucideLink2Off:dk,LucideLinkedin:uk,LucideList:gc,LucideListCheck:pk,LucideListChecks:yk,LucideListCollapse:mk,LucideListEnd:fk,LucideListFilter:xk,LucideListMinus:kk,LucideListMusic:gk,LucideListOrdered:vk,LucideListPlus:Mk,LucideListRestart:wk,LucideListStart:bk,LucideListTodo:Ck,LucideListTree:jk,LucideListVideo:Sk,LucideListX:Lk,LucideLoader:Nk,LucideLoader2:Hn,LucideLoaderCircle:Hn,LucideLoaderPinwheel:Ik,LucideLocate:_k,LucideLocateFixed:Ak,LucideLocateOff:Pk,LucideLock:vc,LucideLockKeyhole:Tk,LucideLockKeyholeOpen:Vn,LucideLockOpen:Bn,LucideLogIn:Rk,LucideLogOut:Mc,LucideLogs:qk,LucideLollipop:Dk,LucideLuggage:zk,LucideMSquare:Wo,LucideMagnet:Fk,LucideMail:sa,LucideMailCheck:Ek,LucideMailMinus:Ok,LucideMailOpen:Hk,LucideMailPlus:Vk,LucideMailQuestion:Bk,LucideMailSearch:Uk,LucideMailWarning:$k,LucideMailX:Wk,LucideMailbox:Gk,LucideMails:Zk,LucideMap:ig,LucideMapPin:Ft,LucideMapPinCheck:Jk,LucideMapPinCheckInside:Xk,LucideMapPinHouse:Yk,LucideMapPinMinus:Qk,LucideMapPinMinusInside:Kk,LucideMapPinOff:eg,LucideMapPinPlus:ag,LucideMapPinPlusInside:tg,LucideMapPinX:ng,LucideMapPinXInside:rg,LucideMapPinned:og,LucideMartini:sg,LucideMaximize:lg,LucideMaximize2:cg,LucideMedal:dg,LucideMegaphone:ug,LucideMegaphoneOff:hg,LucideMeh:pg,LucideMemoryStick:yg,LucideMenu:Ms,LucideMenuSquare:Go,LucideMerge:mg,LucideMessageCircle:Sg,LucideMessageCircleCode:fg,LucideMessageCircleDashed:xg,LucideMessageCircleHeart:kg,LucideMessageCircleMore:gg,LucideMessageCircleOff:vg,LucideMessageCirclePlus:Mg,LucideMessageCircleQuestion:wg,LucideMessageCircleReply:bg,LucideMessageCircleWarning:Cg,LucideMessageCircleX:jg,LucideMessageSquare:ws,LucideMessageSquareCode:Lg,LucideMessageSquareDashed:Ig,LucideMessageSquareDiff:Ng,LucideMessageSquareDot:Ag,LucideMessageSquareHeart:Pg,LucideMessageSquareLock:_g,LucideMessageSquareMore:Tg,LucideMessageSquareOff:Rg,LucideMessageSquarePlus:qg,LucideMessageSquareQuote:Dg,LucideMessageSquareReply:zg,LucideMessageSquareShare:Fg,LucideMessageSquareText:Eg,LucideMessageSquareWarning:Og,LucideMessageSquareX:Hg,LucideMessagesSquare:Vg,LucideMic:Ug,LucideMic2:Un,LucideMicOff:Bg,LucideMicVocal:Un,LucideMicrochip:$g,LucideMicroscope:Wg,LucideMicrowave:Gg,LucideMilestone:Zg,LucideMilk:Jg,LucideMilkOff:Xg,LucideMinimize:Kg,LucideMinimize2:Yg,LucideMinus:wc,LucideMinusCircle:Kr,LucideMinusSquare:Zo,LucideMonitor:h5,LucideMonitorCheck:Qg,LucideMonitorCog:e5,LucideMonitorDot:t5,LucideMonitorDown:a5,LucideMonitorOff:r5,LucideMonitorPause:n5,LucideMonitorPlay:o5,LucideMonitorSmartphone:i5,LucideMonitorSpeaker:s5,LucideMonitorStop:c5,LucideMonitorUp:l5,LucideMonitorX:d5,LucideMoon:p5,LucideMoonStar:u5,LucideMoreHorizontal:wn,LucideMoreVertical:Mn,LucideMountain:m5,LucideMountainSnow:y5,LucideMouse:M5,LucideMouseOff:f5,LucideMousePointer:v5,LucideMousePointer2:x5,LucideMousePointerBan:k5,LucideMousePointerClick:g5,LucideMousePointerSquareDashed:Fo,LucideMove:R5,LucideMove3D:$n,LucideMove3d:$n,LucideMoveDiagonal:b5,LucideMoveDiagonal2:w5,LucideMoveDown:S5,LucideMoveDownLeft:C5,LucideMoveDownRight:j5,LucideMoveHorizontal:L5,LucideMoveLeft:I5,LucideMoveRight:N5,LucideMoveUp:_5,LucideMoveUpLeft:A5,LucideMoveUpRight:P5,LucideMoveVertical:T5,LucideMusic:F5,LucideMusic2:q5,LucideMusic3:D5,LucideMusic4:z5,LucideNavigation:V5,LucideNavigation2:O5,LucideNavigation2Off:E5,LucideNavigationOff:H5,LucideNetwork:B5,LucideNewspaper:Ca,LucideNfc:U5,LucideNotebook:Z5,LucideNotebookPen:$5,LucideNotebookTabs:W5,LucideNotebookText:G5,LucideNotepadText:J5,LucideNotepadTextDashed:X5,LucideNut:K5,LucideNutOff:Y5,LucideOctagon:e3,LucideOctagonAlert:Wn,LucideOctagonMinus:Q5,LucideOctagonPause:Gn,LucideOctagonX:Zn,LucideOmega:t3,LucideOption:a3,LucideOrbit:r3,LucideOrigami:n3,LucideOutdent:Fn,LucidePackage:u3,LucidePackage2:o3,LucidePackageCheck:i3,LucidePackageMinus:s3,LucidePackageOpen:c3,LucidePackagePlus:l3,LucidePackageSearch:d3,LucidePackageX:h3,LucidePaintBucket:p3,LucidePaintRoller:y3,LucidePaintbrush:m3,LucidePaintbrush2:Xn,LucidePaintbrushVertical:Xn,LucidePalette:f3,LucidePalmtree:fi,LucidePanelBottom:g3,LucidePanelBottomClose:x3,LucidePanelBottomDashed:Jn,LucidePanelBottomInactive:Jn,LucidePanelBottomOpen:k3,LucidePanelLeft:eo,LucidePanelLeftClose:Yn,LucidePanelLeftDashed:Kn,LucidePanelLeftInactive:Kn,LucidePanelLeftOpen:Qn,LucidePanelRight:w3,LucidePanelRightClose:v3,LucidePanelRightDashed:to,LucidePanelRightInactive:to,LucidePanelRightOpen:M3,LucidePanelTop:j3,LucidePanelTopClose:b3,LucidePanelTopDashed:ao,LucidePanelTopInactive:ao,LucidePanelTopOpen:C3,LucidePanelsLeftBottom:S3,LucidePanelsLeftRight:xn,LucidePanelsRightBottom:L3,LucidePanelsTopBottom:ho,LucidePanelsTopLeft:ro,LucidePaperclip:I3,LucideParentheses:N3,LucideParkingCircle:en,LucideParkingCircleOff:Qr,LucideParkingMeter:A3,LucideParkingSquare:Yo,LucideParkingSquareOff:Jo,LucidePartyPopper:P3,LucidePause:_3,LucidePauseCircle:tn,LucidePauseOctagon:Gn,LucidePawPrint:T3,LucidePcCase:R3,LucidePen:oo,LucidePenBox:vt,LucidePenLine:no,LucidePenOff:q3,LucidePenSquare:vt,LucidePenTool:D3,LucidePencil:O3,LucidePencilLine:z3,LucidePencilOff:F3,LucidePencilRuler:E3,LucidePentagon:H3,LucidePercent:V3,LucidePercentCircle:an,LucidePercentDiamond:gn,LucidePercentSquare:Ko,LucidePersonStanding:B3,LucidePhilippinePeso:U3,LucidePhone:zi,LucidePhoneCall:$3,LucidePhoneForwarded:W3,LucidePhoneIncoming:G3,LucidePhoneMissed:Z3,LucidePhoneOff:X3,LucidePhoneOutgoing:J3,LucidePi:Y3,LucidePiSquare:Qo,LucidePiano:K3,LucidePickaxe:Q3,LucidePictureInPicture:tv,LucidePictureInPicture2:ev,LucidePieChart:qr,LucidePiggyBank:av,LucidePilcrow:ov,LucidePilcrowLeft:rv,LucidePilcrowRight:nv,LucidePilcrowSquare:ei,LucidePill:sv,LucidePillBottle:iv,LucidePin:lv,LucidePinOff:cv,LucidePipette:dv,LucidePizza:hv,LucidePlane:yv,LucidePlaneLanding:uv,LucidePlaneTakeoff:pv,LucidePlay:bc,LucidePlayCircle:rn,LucidePlaySquare:ti,LucidePlug:fv,LucidePlug2:mv,LucidePlugZap:io,LucidePlugZap2:io,LucidePlus:Cc,LucidePlusCircle:nn,LucidePlusSquare:ai,LucidePocket:kv,LucidePocketKnife:xv,LucidePodcast:gv,LucidePointer:Mv,LucidePointerOff:vv,LucidePopcorn:wv,LucidePopsicle:bv,LucidePoundSterling:Cv,LucidePower:Sv,LucidePowerCircle:on,LucidePowerOff:jv,LucidePowerSquare:ri,LucidePresentation:Lv,LucidePrinter:Nv,LucidePrinterCheck:Iv,LucideProjector:Av,LucideProportions:Pv,LucidePuzzle:_v,LucidePyramid:Tv,LucideQrCode:Rv,LucideQuote:bs,LucideRabbit:qv,LucideRadar:Dv,LucideRadiation:zv,LucideRadical:Fv,LucideRadio:Hv,LucideRadioReceiver:Ev,LucideRadioTower:Ov,LucideRadius:Vv,LucideRailSymbol:Bv,LucideRainbow:Uv,LucideRat:$v,LucideRatio:Wv,LucideReceipt:t6,LucideReceiptCent:Gv,LucideReceiptEuro:Zv,LucideReceiptIndianRupee:Xv,LucideReceiptJapaneseYen:Jv,LucideReceiptPoundSterling:Yv,LucideReceiptRussianRuble:Kv,LucideReceiptSwissFranc:Qv,LucideReceiptText:e6,LucideRectangleEllipsis:so,LucideRectangleHorizontal:a6,LucideRectangleVertical:r6,LucideRecycle:n6,LucideRedo:s6,LucideRedo2:o6,LucideRedoDot:i6,LucideRefreshCcw:l6,LucideRefreshCcwDot:c6,LucideRefreshCw:h6,LucideRefreshCwOff:d6,LucideRefrigerator:u6,LucideRegex:p6,LucideRemoveFormatting:y6,LucideRepeat:x6,LucideRepeat1:m6,LucideRepeat2:f6,LucideReplace:g6,LucideReplaceAll:k6,LucideReply:M6,LucideReplyAll:v6,LucideRewind:w6,LucideRibbon:b6,LucideRocket:C6,LucideRockingChair:j6,LucideRollerCoaster:S6,LucideRotate3D:co,LucideRotate3d:co,LucideRotateCcw:I6,LucideRotateCcwSquare:L6,LucideRotateCw:A6,LucideRotateCwSquare:N6,LucideRoute:_6,LucideRouteOff:P6,LucideRouter:T6,LucideRows:lo,LucideRows2:lo,LucideRows3:ho,LucideRows4:R6,LucideRss:q6,LucideRuler:D6,LucideRussianRuble:z6,LucideSailboat:F6,LucideSalad:E6,LucideSandwich:O6,LucideSatellite:V6,LucideSatelliteDish:H6,LucideSave:$6,LucideSaveAll:B6,LucideSaveOff:U6,LucideScale:W6,LucideScale3D:uo,LucideScale3d:uo,LucideScaling:G6,LucideScan:t8,LucideScanBarcode:Z6,LucideScanEye:X6,LucideScanFace:J6,LucideScanLine:Y6,LucideScanQrCode:K6,LucideScanSearch:Q6,LucideScanText:e8,LucideScatterChart:Dr,LucideSchool:a8,LucideSchool2:gi,LucideScissors:n8,LucideScissorsLineDashed:r8,LucideScissorsSquare:ni,LucideScissorsSquareDashedBottom:No,LucideScreenShare:i8,LucideScreenShareOff:o8,LucideScroll:c8,LucideScrollText:s8,LucideSearch:Et,LucideSearchCheck:l8,LucideSearchCode:d8,LucideSearchSlash:h8,LucideSearchX:u8,LucideSection:p8,LucideSend:jc,LucideSendHorizonal:po,LucideSendHorizontal:po,LucideSendToBack:y8,LucideSeparatorHorizontal:m8,LucideSeparatorVertical:f8,LucideServer:v8,LucideServerCog:x8,LucideServerCrash:k8,LucideServerOff:g8,LucideSettings:Cs,LucideSettings2:M8,LucideShapes:w8,LucideShare:b8,LucideShare2:js,LucideSheet:C8,LucideShell:j8,LucideShield:Sc,LucideShieldAlert:S8,LucideShieldBan:L8,LucideShieldCheck:I8,LucideShieldClose:yo,LucideShieldEllipsis:N8,LucideShieldHalf:A8,LucideShieldMinus:P8,LucideShieldOff:_8,LucideShieldPlus:T8,LucideShieldQuestion:R8,LucideShieldX:yo,LucideShip:D8,LucideShipWheel:q8,LucideShirt:z8,LucideShoppingBag:F8,LucideShoppingBasket:E8,LucideShoppingCart:Ss,LucideShovel:O8,LucideShowerHead:H8,LucideShrink:V8,LucideShrub:B8,LucideShuffle:U8,LucideSidebar:eo,LucideSidebarClose:Yn,LucideSidebarOpen:Qn,LucideSigma:$8,LucideSigmaSquare:oi,LucideSignal:Lc,LucideSignalHigh:W8,LucideSignalLow:G8,LucideSignalMedium:Z8,LucideSignalZero:X8,LucideSignature:J8,LucideSignpost:K8,LucideSignpostBig:Y8,LucideSiren:Q8,LucideSkipBack:e7,LucideSkipForward:t7,LucideSkull:a7,LucideSlack:r7,LucideSlash:n7,LucideSlashSquare:ii,LucideSlice:o7,LucideSliders:mo,LucideSlidersHorizontal:Ua,LucideSlidersVertical:mo,LucideSmartphone:c7,LucideSmartphoneCharging:i7,LucideSmartphoneNfc:s7,LucideSmile:d7,LucideSmilePlus:l7,LucideSnail:h7,LucideSnowflake:u7,LucideSofa:p7,LucideSortAsc:fr,LucideSortDesc:pr,LucideSoup:y7,LucideSpace:m7,LucideSpade:f7,LucideSparkle:x7,LucideSparkles:fo,LucideSpeaker:k7,LucideSpeech:g7,LucideSpellCheck:M7,LucideSpellCheck2:v7,LucideSpline:w7,LucideSplit:b7,LucideSplitSquareHorizontal:si,LucideSplitSquareVertical:ci,LucideSprayCan:C7,LucideSprout:j7,LucideSquare:P7,LucideSquareActivity:xo,LucideSquareArrowDown:vo,LucideSquareArrowDownLeft:ko,LucideSquareArrowDownRight:go,LucideSquareArrowLeft:ka,LucideSquareArrowOutDownLeft:Mo,LucideSquareArrowOutDownRight:wo,LucideSquareArrowOutUpLeft:bo,LucideSquareArrowOutUpRight:Co,LucideSquareArrowRight:ga,LucideSquareArrowUp:Lo,LucideSquareArrowUpLeft:jo,LucideSquareArrowUpRight:So,LucideSquareAsterisk:Io,LucideSquareBottomDashedScissors:No,LucideSquareChartGantt:Qt,LucideSquareCheck:Po,LucideSquareCheckBig:Ao,LucideSquareChevronDown:_o,LucideSquareChevronLeft:To,LucideSquareChevronRight:Ro,LucideSquareChevronUp:qo,LucideSquareCode:Do,LucideSquareDashed:Eo,LucideSquareDashedBottom:L7,LucideSquareDashedBottomCode:S7,LucideSquareDashedKanban:zo,LucideSquareDashedMousePointer:Fo,LucideSquareDivide:Oo,LucideSquareDot:Ho,LucideSquareEqual:Vo,LucideSquareFunction:Bo,LucideSquareGanttChart:Qt,LucideSquareKanban:Uo,LucideSquareLibrary:$o,LucideSquareM:Wo,LucideSquareMenu:Go,LucideSquareMinus:Zo,LucideSquareMousePointer:Xo,LucideSquareParking:Yo,LucideSquareParkingOff:Jo,LucideSquarePen:vt,LucideSquarePercent:Ko,LucideSquarePi:Qo,LucideSquarePilcrow:ei,LucideSquarePlay:ti,LucideSquarePlus:ai,LucideSquarePower:ri,LucideSquareRadical:I7,LucideSquareScissors:ni,LucideSquareSigma:oi,LucideSquareSlash:ii,LucideSquareSplitHorizontal:si,LucideSquareSplitVertical:ci,LucideSquareSquare:N7,LucideSquareStack:A7,LucideSquareTerminal:li,LucideSquareUser:hi,LucideSquareUserRound:di,LucideSquareX:ui,LucideSquircle:_7,LucideSquirrel:T7,LucideStamp:R7,LucideStar:Rt,LucideStarHalf:q7,LucideStarOff:D7,LucideStars:fo,LucideStepBack:z7,LucideStepForward:F7,LucideStethoscope:E7,LucideSticker:O7,LucideStickyNote:H7,LucideStopCircle:cn,LucideStore:V7,LucideStretchHorizontal:B7,LucideStretchVertical:U7,LucideStrikethrough:$7,LucideSubscript:W7,LucideSubtitles:Cr,LucideSun:Y7,LucideSunDim:G7,LucideSunMedium:Z7,LucideSunMoon:X7,LucideSunSnow:J7,LucideSunrise:K7,LucideSunset:Q7,LucideSuperscript:eM,LucideSwatchBook:tM,LucideSwissFranc:aM,LucideSwitchCamera:rM,LucideSword:nM,LucideSwords:oM,LucideSyringe:iM,LucideTable:yM,LucideTable2:sM,LucideTableCellsMerge:cM,LucideTableCellsSplit:lM,LucideTableColumnsSplit:dM,LucideTableOfContents:hM,LucideTableProperties:uM,LucideTableRowsSplit:pM,LucideTablet:fM,LucideTabletSmartphone:mM,LucideTablets:xM,LucideTag:kM,LucideTags:gM,LucideTally1:vM,LucideTally2:MM,LucideTally3:wM,LucideTally4:bM,LucideTally5:CM,LucideTangent:jM,LucideTarget:SM,LucideTelescope:LM,LucideTent:NM,LucideTentTree:IM,LucideTerminal:AM,LucideTerminalSquare:li,LucideTestTube:PM,LucideTestTube2:pi,LucideTestTubeDiagonal:pi,LucideTestTubes:_M,LucideText:zM,LucideTextCursor:RM,LucideTextCursorInput:TM,LucideTextQuote:qM,LucideTextSearch:DM,LucideTextSelect:yi,LucideTextSelection:yi,LucideTheater:FM,LucideThermometer:HM,LucideThermometerSnowflake:EM,LucideThermometerSun:OM,LucideThumbsDown:VM,LucideThumbsUp:BM,LucideTicket:JM,LucideTicketCheck:UM,LucideTicketMinus:$M,LucideTicketPercent:WM,LucideTicketPlus:GM,LucideTicketSlash:ZM,LucideTicketX:XM,LucideTickets:KM,LucideTicketsPlane:YM,LucideTimer:tw,LucideTimerOff:QM,LucideTimerReset:ew,LucideToggleLeft:aw,LucideToggleRight:rw,LucideTornado:nw,LucideTorus:ow,LucideTouchpad:sw,LucideTouchpadOff:iw,LucideTowerControl:cw,LucideToyBrick:lw,LucideTractor:dw,LucideTrafficCone:hw,LucideTrain:mi,LucideTrainFront:pw,LucideTrainFrontTunnel:uw,LucideTrainTrack:yw,LucideTramFront:mi,LucideTrash:mw,LucideTrash2:Ic,LucideTreeDeciduous:fw,LucideTreePalm:fi,LucideTreePine:xw,LucideTrees:kw,LucideTrello:gw,LucideTrendingDown:vw,LucideTrendingUp:Fi,LucideTrendingUpDown:Mw,LucideTriangle:bw,LucideTriangleAlert:xi,LucideTriangleRight:ww,LucideTrophy:Cw,LucideTruck:jw,LucideTurtle:Sw,LucideTv:Iw,LucideTv2:ki,LucideTvMinimal:ki,LucideTvMinimalPlay:Lw,LucideTwitch:Nw,LucideTwitter:Aw,LucideType:_w,LucideTypeOutline:Pw,LucideUmbrella:Rw,LucideUmbrellaOff:Tw,LucideUnderline:qw,LucideUndo:Fw,LucideUndo2:Dw,LucideUndoDot:zw,LucideUnfoldHorizontal:Ew,LucideUnfoldVertical:Ow,LucideUngroup:Hw,LucideUniversity:gi,LucideUnlink:Bw,LucideUnlink2:Vw,LucideUnlock:Bn,LucideUnlockKeyhole:Vn,LucideUnplug:Uw,LucideUpload:Ls,LucideUploadCloud:yn,LucideUsb:$w,LucideUser:Nc,LucideUser2:ji,LucideUserCheck:Ww,LucideUserCheck2:vi,LucideUserCircle:dn,LucideUserCircle2:ln,LucideUserCog:Gw,LucideUserCog2:Mi,LucideUserMinus:Zw,LucideUserMinus2:wi,LucideUserPen:Xw,LucideUserPlus:Jw,LucideUserPlus2:bi,LucideUserRound:ji,LucideUserRoundCheck:vi,LucideUserRoundCog:Mi,LucideUserRoundMinus:wi,LucideUserRoundPen:Yw,LucideUserRoundPlus:bi,LucideUserRoundSearch:Kw,LucideUserRoundX:Ci,LucideUserSearch:Qw,LucideUserSquare:hi,LucideUserSquare2:di,LucideUserX:e9,LucideUserX2:Ci,LucideUsers:ja,LucideUsers2:Si,LucideUsersRound:Si,LucideUtensils:Ii,LucideUtensilsCrossed:Li,LucideUtilityPole:t9,LucideVariable:a9,LucideVault:r9,LucideVegan:n9,LucideVenetianMask:o9,LucideVerified:gr,LucideVibrate:s9,LucideVibrateOff:i9,LucideVideo:l9,LucideVideoOff:c9,LucideVideotape:d9,LucideView:h9,LucideVoicemail:u9,LucideVolleyball:p9,LucideVolume:k9,LucideVolume1:y9,LucideVolume2:m9,LucideVolumeOff:f9,LucideVolumeX:x9,LucideVote:g9,LucideWallet:M9,LucideWallet2:Ni,LucideWalletCards:v9,LucideWalletMinimal:Ni,LucideWallpaper:w9,LucideWand:b9,LucideWand2:Ai,LucideWandSparkles:Ai,LucideWarehouse:C9,LucideWashingMachine:j9,LucideWatch:S9,LucideWaves:L9,LucideWaypoints:I9,LucideWebcam:N9,LucideWebhook:P9,LucideWebhookOff:A9,LucideWeight:_9,LucideWheat:R9,LucideWheatOff:T9,LucideWholeWord:q9,LucideWifi:O9,LucideWifiHigh:D9,LucideWifiLow:z9,LucideWifiOff:F9,LucideWifiZero:E9,LucideWind:H9,LucideWine:B9,LucideWineOff:V9,LucideWorkflow:U9,LucideWorm:$9,LucideWrapText:W9,LucideWrench:G9,LucideX:Xt,LucideXCircle:ta,LucideXOctagon:Zn,LucideXSquare:ui,LucideYoutube:Z9,LucideZap:J9,LucideZapOff:X9,LucideZoomIn:Y9,LucideZoomOut:K9,Luggage:zk,LuggageIcon:zk,MSquare:Wo,MSquareIcon:Wo,Magnet:Fk,MagnetIcon:Fk,Mail:sa,MailCheck:Ek,MailCheckIcon:Ek,MailIcon:sa,MailMinus:Ok,MailMinusIcon:Ok,MailOpen:Hk,MailOpenIcon:Hk,MailPlus:Vk,MailPlusIcon:Vk,MailQuestion:Bk,MailQuestionIcon:Bk,MailSearch:Uk,MailSearchIcon:Uk,MailWarning:$k,MailWarningIcon:$k,MailX:Wk,MailXIcon:Wk,Mailbox:Gk,MailboxIcon:Gk,Mails:Zk,MailsIcon:Zk,Map:ig,MapIcon:ig,MapPin:Ft,MapPinCheck:Jk,MapPinCheckIcon:Jk,MapPinCheckInside:Xk,MapPinCheckInsideIcon:Xk,MapPinHouse:Yk,MapPinHouseIcon:Yk,MapPinIcon:Ft,MapPinMinus:Qk,MapPinMinusIcon:Qk,MapPinMinusInside:Kk,MapPinMinusInsideIcon:Kk,MapPinOff:eg,MapPinOffIcon:eg,MapPinPlus:ag,MapPinPlusIcon:ag,MapPinPlusInside:tg,MapPinPlusInsideIcon:tg,MapPinX:ng,MapPinXIcon:ng,MapPinXInside:rg,MapPinXInsideIcon:rg,MapPinned:og,MapPinnedIcon:og,Martini:sg,MartiniIcon:sg,Maximize:lg,Maximize2:cg,Maximize2Icon:cg,MaximizeIcon:lg,Medal:dg,MedalIcon:dg,Megaphone:ug,MegaphoneIcon:ug,MegaphoneOff:hg,MegaphoneOffIcon:hg,Meh:pg,MehIcon:pg,MemoryStick:yg,MemoryStickIcon:yg,Menu:Ms,MenuIcon:Ms,MenuSquare:Go,MenuSquareIcon:Go,Merge:mg,MergeIcon:mg,MessageCircle:Sg,MessageCircleCode:fg,MessageCircleCodeIcon:fg,MessageCircleDashed:xg,MessageCircleDashedIcon:xg,MessageCircleHeart:kg,MessageCircleHeartIcon:kg,MessageCircleIcon:Sg,MessageCircleMore:gg,MessageCircleMoreIcon:gg,MessageCircleOff:vg,MessageCircleOffIcon:vg,MessageCirclePlus:Mg,MessageCirclePlusIcon:Mg,MessageCircleQuestion:wg,MessageCircleQuestionIcon:wg,MessageCircleReply:bg,MessageCircleReplyIcon:bg,MessageCircleWarning:Cg,MessageCircleWarningIcon:Cg,MessageCircleX:jg,MessageCircleXIcon:jg,MessageSquare:ws,MessageSquareCode:Lg,MessageSquareCodeIcon:Lg,MessageSquareDashed:Ig,MessageSquareDashedIcon:Ig,MessageSquareDiff:Ng,MessageSquareDiffIcon:Ng,MessageSquareDot:Ag,MessageSquareDotIcon:Ag,MessageSquareHeart:Pg,MessageSquareHeartIcon:Pg,MessageSquareIcon:ws,MessageSquareLock:_g,MessageSquareLockIcon:_g,MessageSquareMore:Tg,MessageSquareMoreIcon:Tg,MessageSquareOff:Rg,MessageSquareOffIcon:Rg,MessageSquarePlus:qg,MessageSquarePlusIcon:qg,MessageSquareQuote:Dg,MessageSquareQuoteIcon:Dg,MessageSquareReply:zg,MessageSquareReplyIcon:zg,MessageSquareShare:Fg,MessageSquareShareIcon:Fg,MessageSquareText:Eg,MessageSquareTextIcon:Eg,MessageSquareWarning:Og,MessageSquareWarningIcon:Og,MessageSquareX:Hg,MessageSquareXIcon:Hg,MessagesSquare:Vg,MessagesSquareIcon:Vg,Mic:Ug,Mic2:Un,Mic2Icon:Un,MicIcon:Ug,MicOff:Bg,MicOffIcon:Bg,MicVocal:Un,MicVocalIcon:Un,Microchip:$g,MicrochipIcon:$g,Microscope:Wg,MicroscopeIcon:Wg,Microwave:Gg,MicrowaveIcon:Gg,Milestone:Zg,MilestoneIcon:Zg,Milk:Jg,MilkIcon:Jg,MilkOff:Xg,MilkOffIcon:Xg,Minimize:Kg,Minimize2:Yg,Minimize2Icon:Yg,MinimizeIcon:Kg,Minus:wc,MinusCircle:Kr,MinusCircleIcon:Kr,MinusIcon:wc,MinusSquare:Zo,MinusSquareIcon:Zo,Monitor:h5,MonitorCheck:Qg,MonitorCheckIcon:Qg,MonitorCog:e5,MonitorCogIcon:e5,MonitorDot:t5,MonitorDotIcon:t5,MonitorDown:a5,MonitorDownIcon:a5,MonitorIcon:h5,MonitorOff:r5,MonitorOffIcon:r5,MonitorPause:n5,MonitorPauseIcon:n5,MonitorPlay:o5,MonitorPlayIcon:o5,MonitorSmartphone:i5,MonitorSmartphoneIcon:i5,MonitorSpeaker:s5,MonitorSpeakerIcon:s5,MonitorStop:c5,MonitorStopIcon:c5,MonitorUp:l5,MonitorUpIcon:l5,MonitorX:d5,MonitorXIcon:d5,Moon:p5,MoonIcon:p5,MoonStar:u5,MoonStarIcon:u5,MoreHorizontal:wn,MoreHorizontalIcon:wn,MoreVertical:Mn,MoreVerticalIcon:Mn,Mountain:m5,MountainIcon:m5,MountainSnow:y5,MountainSnowIcon:y5,Mouse:M5,MouseIcon:M5,MouseOff:f5,MouseOffIcon:f5,MousePointer:v5,MousePointer2:x5,MousePointer2Icon:x5,MousePointerBan:k5,MousePointerBanIcon:k5,MousePointerClick:g5,MousePointerClickIcon:g5,MousePointerIcon:v5,MousePointerSquareDashed:Fo,MousePointerSquareDashedIcon:Fo,Move:R5,Move3D:$n,Move3DIcon:$n,Move3d:$n,Move3dIcon:$n,MoveDiagonal:b5,MoveDiagonal2:w5,MoveDiagonal2Icon:w5,MoveDiagonalIcon:b5,MoveDown:S5,MoveDownIcon:S5,MoveDownLeft:C5,MoveDownLeftIcon:C5,MoveDownRight:j5,MoveDownRightIcon:j5,MoveHorizontal:L5,MoveHorizontalIcon:L5,MoveIcon:R5,MoveLeft:I5,MoveLeftIcon:I5,MoveRight:N5,MoveRightIcon:N5,MoveUp:_5,MoveUpIcon:_5,MoveUpLeft:A5,MoveUpLeftIcon:A5,MoveUpRight:P5,MoveUpRightIcon:P5,MoveVertical:T5,MoveVerticalIcon:T5,Music:F5,Music2:q5,Music2Icon:q5,Music3:D5,Music3Icon:D5,Music4:z5,Music4Icon:z5,MusicIcon:F5,Navigation:V5,Navigation2:O5,Navigation2Icon:O5,Navigation2Off:E5,Navigation2OffIcon:E5,NavigationIcon:V5,NavigationOff:H5,NavigationOffIcon:H5,Network:B5,NetworkIcon:B5,Newspaper:Ca,NewspaperIcon:Ca,Nfc:U5,NfcIcon:U5,Notebook:Z5,NotebookIcon:Z5,NotebookPen:$5,NotebookPenIcon:$5,NotebookTabs:W5,NotebookTabsIcon:W5,NotebookText:G5,NotebookTextIcon:G5,NotepadText:J5,NotepadTextDashed:X5,NotepadTextDashedIcon:X5,NotepadTextIcon:J5,Nut:K5,NutIcon:K5,NutOff:Y5,NutOffIcon:Y5,Octagon:e3,OctagonAlert:Wn,OctagonAlertIcon:Wn,OctagonIcon:e3,OctagonMinus:Q5,OctagonMinusIcon:Q5,OctagonPause:Gn,OctagonPauseIcon:Gn,OctagonX:Zn,OctagonXIcon:Zn,Omega:t3,OmegaIcon:t3,Option:a3,OptionIcon:a3,Orbit:r3,OrbitIcon:r3,Origami:n3,OrigamiIcon:n3,Outdent:Fn,OutdentIcon:Fn,Package:u3,Package2:o3,Package2Icon:o3,PackageCheck:i3,PackageCheckIcon:i3,PackageIcon:u3,PackageMinus:s3,PackageMinusIcon:s3,PackageOpen:c3,PackageOpenIcon:c3,PackagePlus:l3,PackagePlusIcon:l3,PackageSearch:d3,PackageSearchIcon:d3,PackageX:h3,PackageXIcon:h3,PaintBucket:p3,PaintBucketIcon:p3,PaintRoller:y3,PaintRollerIcon:y3,Paintbrush:m3,Paintbrush2:Xn,Paintbrush2Icon:Xn,PaintbrushIcon:m3,PaintbrushVertical:Xn,PaintbrushVerticalIcon:Xn,Palette:f3,PaletteIcon:f3,Palmtree:fi,PalmtreeIcon:fi,PanelBottom:g3,PanelBottomClose:x3,PanelBottomCloseIcon:x3,PanelBottomDashed:Jn,PanelBottomDashedIcon:Jn,PanelBottomIcon:g3,PanelBottomInactive:Jn,PanelBottomInactiveIcon:Jn,PanelBottomOpen:k3,PanelBottomOpenIcon:k3,PanelLeft:eo,PanelLeftClose:Yn,PanelLeftCloseIcon:Yn,PanelLeftDashed:Kn,PanelLeftDashedIcon:Kn,PanelLeftIcon:eo,PanelLeftInactive:Kn,PanelLeftInactiveIcon:Kn,PanelLeftOpen:Qn,PanelLeftOpenIcon:Qn,PanelRight:w3,PanelRightClose:v3,PanelRightCloseIcon:v3,PanelRightDashed:to,PanelRightDashedIcon:to,PanelRightIcon:w3,PanelRightInactive:to,PanelRightInactiveIcon:to,PanelRightOpen:M3,PanelRightOpenIcon:M3,PanelTop:j3,PanelTopClose:b3,PanelTopCloseIcon:b3,PanelTopDashed:ao,PanelTopDashedIcon:ao,PanelTopIcon:j3,PanelTopInactive:ao,PanelTopInactiveIcon:ao,PanelTopOpen:C3,PanelTopOpenIcon:C3,PanelsLeftBottom:S3,PanelsLeftBottomIcon:S3,PanelsLeftRight:xn,PanelsLeftRightIcon:xn,PanelsRightBottom:L3,PanelsRightBottomIcon:L3,PanelsTopBottom:ho,PanelsTopBottomIcon:ho,PanelsTopLeft:ro,PanelsTopLeftIcon:ro,Paperclip:I3,PaperclipIcon:I3,Parentheses:N3,ParenthesesIcon:N3,ParkingCircle:en,ParkingCircleIcon:en,ParkingCircleOff:Qr,ParkingCircleOffIcon:Qr,ParkingMeter:A3,ParkingMeterIcon:A3,ParkingSquare:Yo,ParkingSquareIcon:Yo,ParkingSquareOff:Jo,ParkingSquareOffIcon:Jo,PartyPopper:P3,PartyPopperIcon:P3,Pause:_3,PauseCircle:tn,PauseCircleIcon:tn,PauseIcon:_3,PauseOctagon:Gn,PauseOctagonIcon:Gn,PawPrint:T3,PawPrintIcon:T3,PcCase:R3,PcCaseIcon:R3,Pen:oo,PenBox:vt,PenBoxIcon:vt,PenIcon:oo,PenLine:no,PenLineIcon:no,PenOff:q3,PenOffIcon:q3,PenSquare:vt,PenSquareIcon:vt,PenTool:D3,PenToolIcon:D3,Pencil:O3,PencilIcon:O3,PencilLine:z3,PencilLineIcon:z3,PencilOff:F3,PencilOffIcon:F3,PencilRuler:E3,PencilRulerIcon:E3,Pentagon:H3,PentagonIcon:H3,Percent:V3,PercentCircle:an,PercentCircleIcon:an,PercentDiamond:gn,PercentDiamondIcon:gn,PercentIcon:V3,PercentSquare:Ko,PercentSquareIcon:Ko,PersonStanding:B3,PersonStandingIcon:B3,PhilippinePeso:U3,PhilippinePesoIcon:U3,Phone:zi,PhoneCall:$3,PhoneCallIcon:$3,PhoneForwarded:W3,PhoneForwardedIcon:W3,PhoneIcon:zi,PhoneIncoming:G3,PhoneIncomingIcon:G3,PhoneMissed:Z3,PhoneMissedIcon:Z3,PhoneOff:X3,PhoneOffIcon:X3,PhoneOutgoing:J3,PhoneOutgoingIcon:J3,Pi:Y3,PiIcon:Y3,PiSquare:Qo,PiSquareIcon:Qo,Piano:K3,PianoIcon:K3,Pickaxe:Q3,PickaxeIcon:Q3,PictureInPicture:tv,PictureInPicture2:ev,PictureInPicture2Icon:ev,PictureInPictureIcon:tv,PieChart:qr,PieChartIcon:qr,PiggyBank:av,PiggyBankIcon:av,Pilcrow:ov,PilcrowIcon:ov,PilcrowLeft:rv,PilcrowLeftIcon:rv,PilcrowRight:nv,PilcrowRightIcon:nv,PilcrowSquare:ei,PilcrowSquareIcon:ei,Pill:sv,PillBottle:iv,PillBottleIcon:iv,PillIcon:sv,Pin:lv,PinIcon:lv,PinOff:cv,PinOffIcon:cv,Pipette:dv,PipetteIcon:dv,Pizza:hv,PizzaIcon:hv,Plane:yv,PlaneIcon:yv,PlaneLanding:uv,PlaneLandingIcon:uv,PlaneTakeoff:pv,PlaneTakeoffIcon:pv,Play:bc,PlayCircle:rn,PlayCircleIcon:rn,PlayIcon:bc,PlaySquare:ti,PlaySquareIcon:ti,Plug:fv,Plug2:mv,Plug2Icon:mv,PlugIcon:fv,PlugZap:io,PlugZap2:io,PlugZap2Icon:io,PlugZapIcon:io,Plus:Cc,PlusCircle:nn,PlusCircleIcon:nn,PlusIcon:Cc,PlusSquare:ai,PlusSquareIcon:ai,Pocket:kv,PocketIcon:kv,PocketKnife:xv,PocketKnifeIcon:xv,Podcast:gv,PodcastIcon:gv,Pointer:Mv,PointerIcon:Mv,PointerOff:vv,PointerOffIcon:vv,Popcorn:wv,PopcornIcon:wv,Popsicle:bv,PopsicleIcon:bv,PoundSterling:Cv,PoundSterlingIcon:Cv,Power:Sv,PowerCircle:on,PowerCircleIcon:on,PowerIcon:Sv,PowerOff:jv,PowerOffIcon:jv,PowerSquare:ri,PowerSquareIcon:ri,Presentation:Lv,PresentationIcon:Lv,Printer:Nv,PrinterCheck:Iv,PrinterCheckIcon:Iv,PrinterIcon:Nv,Projector:Av,ProjectorIcon:Av,Proportions:Pv,ProportionsIcon:Pv,Puzzle:_v,PuzzleIcon:_v,Pyramid:Tv,PyramidIcon:Tv,QrCode:Rv,QrCodeIcon:Rv,Quote:bs,QuoteIcon:bs,Rabbit:qv,RabbitIcon:qv,Radar:Dv,RadarIcon:Dv,Radiation:zv,RadiationIcon:zv,Radical:Fv,RadicalIcon:Fv,Radio:Hv,RadioIcon:Hv,RadioReceiver:Ev,RadioReceiverIcon:Ev,RadioTower:Ov,RadioTowerIcon:Ov,Radius:Vv,RadiusIcon:Vv,RailSymbol:Bv,RailSymbolIcon:Bv,Rainbow:Uv,RainbowIcon:Uv,Rat:$v,RatIcon:$v,Ratio:Wv,RatioIcon:Wv,Receipt:t6,ReceiptCent:Gv,ReceiptCentIcon:Gv,ReceiptEuro:Zv,ReceiptEuroIcon:Zv,ReceiptIcon:t6,ReceiptIndianRupee:Xv,ReceiptIndianRupeeIcon:Xv,ReceiptJapaneseYen:Jv,ReceiptJapaneseYenIcon:Jv,ReceiptPoundSterling:Yv,ReceiptPoundSterlingIcon:Yv,ReceiptRussianRuble:Kv,ReceiptRussianRubleIcon:Kv,ReceiptSwissFranc:Qv,ReceiptSwissFrancIcon:Qv,ReceiptText:e6,ReceiptTextIcon:e6,RectangleEllipsis:so,RectangleEllipsisIcon:so,RectangleHorizontal:a6,RectangleHorizontalIcon:a6,RectangleVertical:r6,RectangleVerticalIcon:r6,Recycle:n6,RecycleIcon:n6,Redo:s6,Redo2:o6,Redo2Icon:o6,RedoDot:i6,RedoDotIcon:i6,RedoIcon:s6,RefreshCcw:l6,RefreshCcwDot:c6,RefreshCcwDotIcon:c6,RefreshCcwIcon:l6,RefreshCw:h6,RefreshCwIcon:h6,RefreshCwOff:d6,RefreshCwOffIcon:d6,Refrigerator:u6,RefrigeratorIcon:u6,Regex:p6,RegexIcon:p6,RemoveFormatting:y6,RemoveFormattingIcon:y6,Repeat:x6,Repeat1:m6,Repeat1Icon:m6,Repeat2:f6,Repeat2Icon:f6,RepeatIcon:x6,Replace:g6,ReplaceAll:k6,ReplaceAllIcon:k6,ReplaceIcon:g6,Reply:M6,ReplyAll:v6,ReplyAllIcon:v6,ReplyIcon:M6,Rewind:w6,RewindIcon:w6,Ribbon:b6,RibbonIcon:b6,Rocket:C6,RocketIcon:C6,RockingChair:j6,RockingChairIcon:j6,RollerCoaster:S6,RollerCoasterIcon:S6,Rotate3D:co,Rotate3DIcon:co,Rotate3d:co,Rotate3dIcon:co,RotateCcw:I6,RotateCcwIcon:I6,RotateCcwSquare:L6,RotateCcwSquareIcon:L6,RotateCw:A6,RotateCwIcon:A6,RotateCwSquare:N6,RotateCwSquareIcon:N6,Route:_6,RouteIcon:_6,RouteOff:P6,RouteOffIcon:P6,Router:T6,RouterIcon:T6,Rows:lo,Rows2:lo,Rows2Icon:lo,Rows3:ho,Rows3Icon:ho,Rows4:R6,Rows4Icon:R6,RowsIcon:lo,Rss:q6,RssIcon:q6,Ruler:D6,RulerIcon:D6,RussianRuble:z6,RussianRubleIcon:z6,Sailboat:F6,SailboatIcon:F6,Salad:E6,SaladIcon:E6,Sandwich:O6,SandwichIcon:O6,Satellite:V6,SatelliteDish:H6,SatelliteDishIcon:H6,SatelliteIcon:V6,Save:$6,SaveAll:B6,SaveAllIcon:B6,SaveIcon:$6,SaveOff:U6,SaveOffIcon:U6,Scale:W6,Scale3D:uo,Scale3DIcon:uo,Scale3d:uo,Scale3dIcon:uo,ScaleIcon:W6,Scaling:G6,ScalingIcon:G6,Scan:t8,ScanBarcode:Z6,ScanBarcodeIcon:Z6,ScanEye:X6,ScanEyeIcon:X6,ScanFace:J6,ScanFaceIcon:J6,ScanIcon:t8,ScanLine:Y6,ScanLineIcon:Y6,ScanQrCode:K6,ScanQrCodeIcon:K6,ScanSearch:Q6,ScanSearchIcon:Q6,ScanText:e8,ScanTextIcon:e8,ScatterChart:Dr,ScatterChartIcon:Dr,School:a8,School2:gi,School2Icon:gi,SchoolIcon:a8,Scissors:n8,ScissorsIcon:n8,ScissorsLineDashed:r8,ScissorsLineDashedIcon:r8,ScissorsSquare:ni,ScissorsSquareDashedBottom:No,ScissorsSquareDashedBottomIcon:No,ScissorsSquareIcon:ni,ScreenShare:i8,ScreenShareIcon:i8,ScreenShareOff:o8,ScreenShareOffIcon:o8,Scroll:c8,ScrollIcon:c8,ScrollText:s8,ScrollTextIcon:s8,Search:Et,SearchCheck:l8,SearchCheckIcon:l8,SearchCode:d8,SearchCodeIcon:d8,SearchIcon:Et,SearchSlash:h8,SearchSlashIcon:h8,SearchX:u8,SearchXIcon:u8,Section:p8,SectionIcon:p8,Send:jc,SendHorizonal:po,SendHorizonalIcon:po,SendHorizontal:po,SendHorizontalIcon:po,SendIcon:jc,SendToBack:y8,SendToBackIcon:y8,SeparatorHorizontal:m8,SeparatorHorizontalIcon:m8,SeparatorVertical:f8,SeparatorVerticalIcon:f8,Server:v8,ServerCog:x8,ServerCogIcon:x8,ServerCrash:k8,ServerCrashIcon:k8,ServerIcon:v8,ServerOff:g8,ServerOffIcon:g8,Settings:Cs,Settings2:M8,Settings2Icon:M8,SettingsIcon:Cs,Shapes:w8,ShapesIcon:w8,Share:b8,Share2:js,Share2Icon:js,ShareIcon:b8,Sheet:C8,SheetIcon:C8,Shell:j8,ShellIcon:j8,Shield:Sc,ShieldAlert:S8,ShieldAlertIcon:S8,ShieldBan:L8,ShieldBanIcon:L8,ShieldCheck:I8,ShieldCheckIcon:I8,ShieldClose:yo,ShieldCloseIcon:yo,ShieldEllipsis:N8,ShieldEllipsisIcon:N8,ShieldHalf:A8,ShieldHalfIcon:A8,ShieldIcon:Sc,ShieldMinus:P8,ShieldMinusIcon:P8,ShieldOff:_8,ShieldOffIcon:_8,ShieldPlus:T8,ShieldPlusIcon:T8,ShieldQuestion:R8,ShieldQuestionIcon:R8,ShieldX:yo,ShieldXIcon:yo,Ship:D8,ShipIcon:D8,ShipWheel:q8,ShipWheelIcon:q8,Shirt:z8,ShirtIcon:z8,ShoppingBag:F8,ShoppingBagIcon:F8,ShoppingBasket:E8,ShoppingBasketIcon:E8,ShoppingCart:Ss,ShoppingCartIcon:Ss,Shovel:O8,ShovelIcon:O8,ShowerHead:H8,ShowerHeadIcon:H8,Shrink:V8,ShrinkIcon:V8,Shrub:B8,ShrubIcon:B8,Shuffle:U8,ShuffleIcon:U8,Sidebar:eo,SidebarClose:Yn,SidebarCloseIcon:Yn,SidebarIcon:eo,SidebarOpen:Qn,SidebarOpenIcon:Qn,Sigma:$8,SigmaIcon:$8,SigmaSquare:oi,SigmaSquareIcon:oi,Signal:Lc,SignalHigh:W8,SignalHighIcon:W8,SignalIcon:Lc,SignalLow:G8,SignalLowIcon:G8,SignalMedium:Z8,SignalMediumIcon:Z8,SignalZero:X8,SignalZeroIcon:X8,Signature:J8,SignatureIcon:J8,Signpost:K8,SignpostBig:Y8,SignpostBigIcon:Y8,SignpostIcon:K8,Siren:Q8,SirenIcon:Q8,SkipBack:e7,SkipBackIcon:e7,SkipForward:t7,SkipForwardIcon:t7,Skull:a7,SkullIcon:a7,Slack:r7,SlackIcon:r7,Slash:n7,SlashIcon:n7,SlashSquare:ii,SlashSquareIcon:ii,Slice:o7,SliceIcon:o7,Sliders:mo,SlidersHorizontal:Ua,SlidersHorizontalIcon:Ua,SlidersIcon:mo,SlidersVertical:mo,SlidersVerticalIcon:mo,Smartphone:c7,SmartphoneCharging:i7,SmartphoneChargingIcon:i7,SmartphoneIcon:c7,SmartphoneNfc:s7,SmartphoneNfcIcon:s7,Smile:d7,SmileIcon:d7,SmilePlus:l7,SmilePlusIcon:l7,Snail:h7,SnailIcon:h7,Snowflake:u7,SnowflakeIcon:u7,Sofa:p7,SofaIcon:p7,SortAsc:fr,SortAscIcon:fr,SortDesc:pr,SortDescIcon:pr,Soup:y7,SoupIcon:y7,Space:m7,SpaceIcon:m7,Spade:f7,SpadeIcon:f7,Sparkle:x7,SparkleIcon:x7,Sparkles:fo,SparklesIcon:fo,Speaker:k7,SpeakerIcon:k7,Speech:g7,SpeechIcon:g7,SpellCheck:M7,SpellCheck2:v7,SpellCheck2Icon:v7,SpellCheckIcon:M7,Spline:w7,SplineIcon:w7,Split:b7,SplitIcon:b7,SplitSquareHorizontal:si,SplitSquareHorizontalIcon:si,SplitSquareVertical:ci,SplitSquareVerticalIcon:ci,SprayCan:C7,SprayCanIcon:C7,Sprout:j7,SproutIcon:j7,Square:P7,SquareActivity:xo,SquareActivityIcon:xo,SquareArrowDown:vo,SquareArrowDownIcon:vo,SquareArrowDownLeft:ko,SquareArrowDownLeftIcon:ko,SquareArrowDownRight:go,SquareArrowDownRightIcon:go,SquareArrowLeft:ka,SquareArrowLeftIcon:ka,SquareArrowOutDownLeft:Mo,SquareArrowOutDownLeftIcon:Mo,SquareArrowOutDownRight:wo,SquareArrowOutDownRightIcon:wo,SquareArrowOutUpLeft:bo,SquareArrowOutUpLeftIcon:bo,SquareArrowOutUpRight:Co,SquareArrowOutUpRightIcon:Co,SquareArrowRight:ga,SquareArrowRightIcon:ga,SquareArrowUp:Lo,SquareArrowUpIcon:Lo,SquareArrowUpLeft:jo,SquareArrowUpLeftIcon:jo,SquareArrowUpRight:So,SquareArrowUpRightIcon:So,SquareAsterisk:Io,SquareAsteriskIcon:Io,SquareBottomDashedScissors:No,SquareBottomDashedScissorsIcon:No,SquareChartGantt:Qt,SquareChartGanttIcon:Qt,SquareCheck:Po,SquareCheckBig:Ao,SquareCheckBigIcon:Ao,SquareCheckIcon:Po,SquareChevronDown:_o,SquareChevronDownIcon:_o,SquareChevronLeft:To,SquareChevronLeftIcon:To,SquareChevronRight:Ro,SquareChevronRightIcon:Ro,SquareChevronUp:qo,SquareChevronUpIcon:qo,SquareCode:Do,SquareCodeIcon:Do,SquareDashed:Eo,SquareDashedBottom:L7,SquareDashedBottomCode:S7,SquareDashedBottomCodeIcon:S7,SquareDashedBottomIcon:L7,SquareDashedIcon:Eo,SquareDashedKanban:zo,SquareDashedKanbanIcon:zo,SquareDashedMousePointer:Fo,SquareDashedMousePointerIcon:Fo,SquareDivide:Oo,SquareDivideIcon:Oo,SquareDot:Ho,SquareDotIcon:Ho,SquareEqual:Vo,SquareEqualIcon:Vo,SquareFunction:Bo,SquareFunctionIcon:Bo,SquareGanttChart:Qt,SquareGanttChartIcon:Qt,SquareIcon:P7,SquareKanban:Uo,SquareKanbanIcon:Uo,SquareLibrary:$o,SquareLibraryIcon:$o,SquareM:Wo,SquareMIcon:Wo,SquareMenu:Go,SquareMenuIcon:Go,SquareMinus:Zo,SquareMinusIcon:Zo,SquareMousePointer:Xo,SquareMousePointerIcon:Xo,SquareParking:Yo,SquareParkingIcon:Yo,SquareParkingOff:Jo,SquareParkingOffIcon:Jo,SquarePen:vt,SquarePenIcon:vt,SquarePercent:Ko,SquarePercentIcon:Ko,SquarePi:Qo,SquarePiIcon:Qo,SquarePilcrow:ei,SquarePilcrowIcon:ei,SquarePlay:ti,SquarePlayIcon:ti,SquarePlus:ai,SquarePlusIcon:ai,SquarePower:ri,SquarePowerIcon:ri,SquareRadical:I7,SquareRadicalIcon:I7,SquareScissors:ni,SquareScissorsIcon:ni,SquareSigma:oi,SquareSigmaIcon:oi,SquareSlash:ii,SquareSlashIcon:ii,SquareSplitHorizontal:si,SquareSplitHorizontalIcon:si,SquareSplitVertical:ci,SquareSplitVerticalIcon:ci,SquareSquare:N7,SquareSquareIcon:N7,SquareStack:A7,SquareStackIcon:A7,SquareTerminal:li,SquareTerminalIcon:li,SquareUser:hi,SquareUserIcon:hi,SquareUserRound:di,SquareUserRoundIcon:di,SquareX:ui,SquareXIcon:ui,Squircle:_7,SquircleIcon:_7,Squirrel:T7,SquirrelIcon:T7,Stamp:R7,StampIcon:R7,Star:Rt,StarHalf:q7,StarHalfIcon:q7,StarIcon:Rt,StarOff:D7,StarOffIcon:D7,Stars:fo,StarsIcon:fo,StepBack:z7,StepBackIcon:z7,StepForward:F7,StepForwardIcon:F7,Stethoscope:E7,StethoscopeIcon:E7,Sticker:O7,StickerIcon:O7,StickyNote:H7,StickyNoteIcon:H7,StopCircle:cn,StopCircleIcon:cn,Store:V7,StoreIcon:V7,StretchHorizontal:B7,StretchHorizontalIcon:B7,StretchVertical:U7,StretchVerticalIcon:U7,Strikethrough:$7,StrikethroughIcon:$7,Subscript:W7,SubscriptIcon:W7,Subtitles:Cr,SubtitlesIcon:Cr,Sun:Y7,SunDim:G7,SunDimIcon:G7,SunIcon:Y7,SunMedium:Z7,SunMediumIcon:Z7,SunMoon:X7,SunMoonIcon:X7,SunSnow:J7,SunSnowIcon:J7,Sunrise:K7,SunriseIcon:K7,Sunset:Q7,SunsetIcon:Q7,Superscript:eM,SuperscriptIcon:eM,SwatchBook:tM,SwatchBookIcon:tM,SwissFranc:aM,SwissFrancIcon:aM,SwitchCamera:rM,SwitchCameraIcon:rM,Sword:nM,SwordIcon:nM,Swords:oM,SwordsIcon:oM,Syringe:iM,SyringeIcon:iM,Table:yM,Table2:sM,Table2Icon:sM,TableCellsMerge:cM,TableCellsMergeIcon:cM,TableCellsSplit:lM,TableCellsSplitIcon:lM,TableColumnsSplit:dM,TableColumnsSplitIcon:dM,TableIcon:yM,TableOfContents:hM,TableOfContentsIcon:hM,TableProperties:uM,TablePropertiesIcon:uM,TableRowsSplit:pM,TableRowsSplitIcon:pM,Tablet:fM,TabletIcon:fM,TabletSmartphone:mM,TabletSmartphoneIcon:mM,Tablets:xM,TabletsIcon:xM,Tag:kM,TagIcon:kM,Tags:gM,TagsIcon:gM,Tally1:vM,Tally1Icon:vM,Tally2:MM,Tally2Icon:MM,Tally3:wM,Tally3Icon:wM,Tally4:bM,Tally4Icon:bM,Tally5:CM,Tally5Icon:CM,Tangent:jM,TangentIcon:jM,Target:SM,TargetIcon:SM,Telescope:LM,TelescopeIcon:LM,Tent:NM,TentIcon:NM,TentTree:IM,TentTreeIcon:IM,Terminal:AM,TerminalIcon:AM,TerminalSquare:li,TerminalSquareIcon:li,TestTube:PM,TestTube2:pi,TestTube2Icon:pi,TestTubeDiagonal:pi,TestTubeDiagonalIcon:pi,TestTubeIcon:PM,TestTubes:_M,TestTubesIcon:_M,Text:zM,TextCursor:RM,TextCursorIcon:RM,TextCursorInput:TM,TextCursorInputIcon:TM,TextIcon:zM,TextQuote:qM,TextQuoteIcon:qM,TextSearch:DM,TextSearchIcon:DM,TextSelect:yi,TextSelectIcon:yi,TextSelection:yi,TextSelectionIcon:yi,Theater:FM,TheaterIcon:FM,Thermometer:HM,ThermometerIcon:HM,ThermometerSnowflake:EM,ThermometerSnowflakeIcon:EM,ThermometerSun:OM,ThermometerSunIcon:OM,ThumbsDown:VM,ThumbsDownIcon:VM,ThumbsUp:BM,ThumbsUpIcon:BM,Ticket:JM,TicketCheck:UM,TicketCheckIcon:UM,TicketIcon:JM,TicketMinus:$M,TicketMinusIcon:$M,TicketPercent:WM,TicketPercentIcon:WM,TicketPlus:GM,TicketPlusIcon:GM,TicketSlash:ZM,TicketSlashIcon:ZM,TicketX:XM,TicketXIcon:XM,Tickets:KM,TicketsIcon:KM,TicketsPlane:YM,TicketsPlaneIcon:YM,Timer:tw,TimerIcon:tw,TimerOff:QM,TimerOffIcon:QM,TimerReset:ew,TimerResetIcon:ew,ToggleLeft:aw,ToggleLeftIcon:aw,ToggleRight:rw,ToggleRightIcon:rw,Tornado:nw,TornadoIcon:nw,Torus:ow,TorusIcon:ow,Touchpad:sw,TouchpadIcon:sw,TouchpadOff:iw,TouchpadOffIcon:iw,TowerControl:cw,TowerControlIcon:cw,ToyBrick:lw,ToyBrickIcon:lw,Tractor:dw,TractorIcon:dw,TrafficCone:hw,TrafficConeIcon:hw,Train:mi,TrainFront:pw,TrainFrontIcon:pw,TrainFrontTunnel:uw,TrainFrontTunnelIcon:uw,TrainIcon:mi,TrainTrack:yw,TrainTrackIcon:yw,TramFront:mi,TramFrontIcon:mi,Trash:mw,Trash2:Ic,Trash2Icon:Ic,TrashIcon:mw,TreeDeciduous:fw,TreeDeciduousIcon:fw,TreePalm:fi,TreePalmIcon:fi,TreePine:xw,TreePineIcon:xw,Trees:kw,TreesIcon:kw,Trello:gw,TrelloIcon:gw,TrendingDown:vw,TrendingDownIcon:vw,TrendingUp:Fi,TrendingUpDown:Mw,TrendingUpDownIcon:Mw,TrendingUpIcon:Fi,Triangle:bw,TriangleAlert:xi,TriangleAlertIcon:xi,TriangleIcon:bw,TriangleRight:ww,TriangleRightIcon:ww,Trophy:Cw,TrophyIcon:Cw,Truck:jw,TruckIcon:jw,Turtle:Sw,TurtleIcon:Sw,Tv:Iw,Tv2:ki,Tv2Icon:ki,TvIcon:Iw,TvMinimal:ki,TvMinimalIcon:ki,TvMinimalPlay:Lw,TvMinimalPlayIcon:Lw,Twitch:Nw,TwitchIcon:Nw,Twitter:Aw,TwitterIcon:Aw,Type:_w,TypeIcon:_w,TypeOutline:Pw,TypeOutlineIcon:Pw,Umbrella:Rw,UmbrellaIcon:Rw,UmbrellaOff:Tw,UmbrellaOffIcon:Tw,Underline:qw,UnderlineIcon:qw,Undo:Fw,Undo2:Dw,Undo2Icon:Dw,UndoDot:zw,UndoDotIcon:zw,UndoIcon:Fw,UnfoldHorizontal:Ew,UnfoldHorizontalIcon:Ew,UnfoldVertical:Ow,UnfoldVerticalIcon:Ow,Ungroup:Hw,UngroupIcon:Hw,University:gi,UniversityIcon:gi,Unlink:Bw,Unlink2:Vw,Unlink2Icon:Vw,UnlinkIcon:Bw,Unlock:Bn,UnlockIcon:Bn,UnlockKeyhole:Vn,UnlockKeyholeIcon:Vn,Unplug:Uw,UnplugIcon:Uw,Upload:Ls,UploadCloud:yn,UploadCloudIcon:yn,UploadIcon:Ls,Usb:$w,UsbIcon:$w,User:Nc,User2:ji,User2Icon:ji,UserCheck:Ww,UserCheck2:vi,UserCheck2Icon:vi,UserCheckIcon:Ww,UserCircle:dn,UserCircle2:ln,UserCircle2Icon:ln,UserCircleIcon:dn,UserCog:Gw,UserCog2:Mi,UserCog2Icon:Mi,UserCogIcon:Gw,UserIcon:Nc,UserMinus:Zw,UserMinus2:wi,UserMinus2Icon:wi,UserMinusIcon:Zw,UserPen:Xw,UserPenIcon:Xw,UserPlus:Jw,UserPlus2:bi,UserPlus2Icon:bi,UserPlusIcon:Jw,UserRound:ji,UserRoundCheck:vi,UserRoundCheckIcon:vi,UserRoundCog:Mi,UserRoundCogIcon:Mi,UserRoundIcon:ji,UserRoundMinus:wi,UserRoundMinusIcon:wi,UserRoundPen:Yw,UserRoundPenIcon:Yw,UserRoundPlus:bi,UserRoundPlusIcon:bi,UserRoundSearch:Kw,UserRoundSearchIcon:Kw,UserRoundX:Ci,UserRoundXIcon:Ci,UserSearch:Qw,UserSearchIcon:Qw,UserSquare:hi,UserSquare2:di,UserSquare2Icon:di,UserSquareIcon:hi,UserX:e9,UserX2:Ci,UserX2Icon:Ci,UserXIcon:e9,Users:ja,Users2:Si,Users2Icon:Si,UsersIcon:ja,UsersRound:Si,UsersRoundIcon:Si,Utensils:Ii,UtensilsCrossed:Li,UtensilsCrossedIcon:Li,UtensilsIcon:Ii,UtilityPole:t9,UtilityPoleIcon:t9,Variable:a9,VariableIcon:a9,Vault:r9,VaultIcon:r9,Vegan:n9,VeganIcon:n9,VenetianMask:o9,VenetianMaskIcon:o9,Verified:gr,VerifiedIcon:gr,Vibrate:s9,VibrateIcon:s9,VibrateOff:i9,VibrateOffIcon:i9,Video:l9,VideoIcon:l9,VideoOff:c9,VideoOffIcon:c9,Videotape:d9,VideotapeIcon:d9,View:h9,ViewIcon:h9,Voicemail:u9,VoicemailIcon:u9,Volleyball:p9,VolleyballIcon:p9,Volume:k9,Volume1:y9,Volume1Icon:y9,Volume2:m9,Volume2Icon:m9,VolumeIcon:k9,VolumeOff:f9,VolumeOffIcon:f9,VolumeX:x9,VolumeXIcon:x9,Vote:g9,VoteIcon:g9,Wallet:M9,Wallet2:Ni,Wallet2Icon:Ni,WalletCards:v9,WalletCardsIcon:v9,WalletIcon:M9,WalletMinimal:Ni,WalletMinimalIcon:Ni,Wallpaper:w9,WallpaperIcon:w9,Wand:b9,Wand2:Ai,Wand2Icon:Ai,WandIcon:b9,WandSparkles:Ai,WandSparklesIcon:Ai,Warehouse:C9,WarehouseIcon:C9,WashingMachine:j9,WashingMachineIcon:j9,Watch:S9,WatchIcon:S9,Waves:L9,WavesIcon:L9,Waypoints:I9,WaypointsIcon:I9,Webcam:N9,WebcamIcon:N9,Webhook:P9,WebhookIcon:P9,WebhookOff:A9,WebhookOffIcon:A9,Weight:_9,WeightIcon:_9,Wheat:R9,WheatIcon:R9,WheatOff:T9,WheatOffIcon:T9,WholeWord:q9,WholeWordIcon:q9,Wifi:O9,WifiHigh:D9,WifiHighIcon:D9,WifiIcon:O9,WifiLow:z9,WifiLowIcon:z9,WifiOff:F9,WifiOffIcon:F9,WifiZero:E9,WifiZeroIcon:E9,Wind:H9,WindIcon:H9,Wine:B9,WineIcon:B9,WineOff:V9,WineOffIcon:V9,Workflow:U9,WorkflowIcon:U9,Worm:$9,WormIcon:$9,WrapText:W9,WrapTextIcon:W9,Wrench:G9,WrenchIcon:G9,X:Xt,XCircle:ta,XCircleIcon:ta,XIcon:Xt,XOctagon:Zn,XOctagonIcon:Zn,XSquare:ui,XSquareIcon:ui,Youtube:Z9,YoutubeIcon:Z9,Zap:J9,ZapIcon:J9,ZapOff:X9,ZapOffIcon:X9,ZoomIn:Y9,ZoomInIcon:Y9,ZoomOut:K9,ZoomOutIcon:K9,createLucideIcon:s,icons:WR},Symbol.toStringTag,{value:"Module"}));function ZR({groupedIds:t,tabTitles:e,lang:r,url:n,PromotionsTitle:o,buttonMsg:i="Select Plan"}){const[c,l]=C.useState([]),[d,h]=C.useState("tab-0"),u=n||window.location.origin||"http://localhost:8000";C.useEffect(()=>{(async()=>{try{const v=r??"en",f=t.map(async g=>(await fetch(`${u}/api/v1/promotions/?ids=${g}`,{method:"GET",headers:{"Accept-Language":v,"Content-Type":"application/json"}})).json()),x=await Promise.all(f);l(x)}catch{}})()},[t,u,r]);const p=m=>{const v=new CustomEvent("planSelected",{bubbles:!0,detail:{plan:m,tabType:d,timestamp:new Date().toISOString()}}),f=document.querySelector(".group-prices-component");f&&f.dispatchEvent(v)},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(Ji,{defaultValue:"tab-0",className:"w-full",onValueChange:m=>h(m),children:[a.jsx(Ka,{className:y,children:e.map((m,v)=>a.jsx(be,{value:`tab-${v}`,children:m},v))}),c.map((m,v)=>a.jsx(Ce,{value:`tab-${v}`,children:a.jsx("div",{className:"grid gap-8 sm:grid-cols-2 lg:grid-cols-3",children:m.map((f,x)=>a.jsxs(ge,{className:"flex flex-col",children:[a.jsxs(_e,{children:[a.jsx(Te,{children:f.title}),a.jsx(Be,{children:f.short_description})]}),a.jsxs(we,{className:"flex-1",children:[a.jsxs("p",{className:"text-3xl font-bold",children:["€",f.price]}),a.jsx("ul",{className:"mt-4 space-y-2",children:f.features&&f.features.map((g,M)=>a.jsxs("li",{className:"flex items-center",children:[a.jsx(fs,{className:"mr-2 h-4 w-4 text-primary"})," ",g]},M))})]}),a.jsx(Rs,{children:a.jsx(O,{onClick:()=>p(f),className:"w-full bg-primary text-primary-foreground hover:bg-primary/90",children:i})})]},x))})},v))]})]})})}function XR({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:oe("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(Xt,{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 fa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function MI(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}/*!
7725
+ */const GR=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:u1,AArrowDownIcon:u1,AArrowUp:p1,AArrowUpIcon:p1,ALargeSmall:y1,ALargeSmallIcon:y1,Accessibility:m1,AccessibilityIcon:m1,Activity:f1,ActivityIcon:f1,ActivitySquare:xo,ActivitySquareIcon:xo,AirVent:x1,AirVentIcon:x1,Airplay:k1,AirplayIcon:k1,AlarmCheck:lr,AlarmCheckIcon:lr,AlarmClock:v1,AlarmClockCheck:lr,AlarmClockCheckIcon:lr,AlarmClockIcon:v1,AlarmClockMinus:dr,AlarmClockMinusIcon:dr,AlarmClockOff:g1,AlarmClockOffIcon:g1,AlarmClockPlus:hr,AlarmClockPlusIcon:hr,AlarmMinus:dr,AlarmMinusIcon:dr,AlarmPlus:hr,AlarmPlusIcon:hr,AlarmSmoke:M1,AlarmSmokeIcon:M1,Album:w1,AlbumIcon:w1,AlertCircle:Wt,AlertCircleIcon:Wt,AlertOctagon:Wn,AlertOctagonIcon:Wn,AlertTriangle:xi,AlertTriangleIcon:xi,AlignCenter:j1,AlignCenterHorizontal:b1,AlignCenterHorizontalIcon:b1,AlignCenterIcon:j1,AlignCenterVertical:C1,AlignCenterVerticalIcon:C1,AlignEndHorizontal:S1,AlignEndHorizontalIcon:S1,AlignEndVertical:L1,AlignEndVerticalIcon:L1,AlignHorizontalDistributeCenter:I1,AlignHorizontalDistributeCenterIcon:I1,AlignHorizontalDistributeEnd:N1,AlignHorizontalDistributeEndIcon:N1,AlignHorizontalDistributeStart:A1,AlignHorizontalDistributeStartIcon:A1,AlignHorizontalJustifyCenter:P1,AlignHorizontalJustifyCenterIcon:P1,AlignHorizontalJustifyEnd:_1,AlignHorizontalJustifyEndIcon:_1,AlignHorizontalJustifyStart:T1,AlignHorizontalJustifyStartIcon:T1,AlignHorizontalSpaceAround:R1,AlignHorizontalSpaceAroundIcon:R1,AlignHorizontalSpaceBetween:q1,AlignHorizontalSpaceBetweenIcon:q1,AlignJustify:D1,AlignJustifyIcon:D1,AlignLeft:z1,AlignLeftIcon:z1,AlignRight:F1,AlignRightIcon:F1,AlignStartHorizontal:E1,AlignStartHorizontalIcon:E1,AlignStartVertical:O1,AlignStartVerticalIcon:O1,AlignVerticalDistributeCenter:H1,AlignVerticalDistributeCenterIcon:H1,AlignVerticalDistributeEnd:V1,AlignVerticalDistributeEndIcon:V1,AlignVerticalDistributeStart:B1,AlignVerticalDistributeStartIcon:B1,AlignVerticalJustifyCenter:U1,AlignVerticalJustifyCenterIcon:U1,AlignVerticalJustifyEnd:$1,AlignVerticalJustifyEndIcon:$1,AlignVerticalJustifyStart:W1,AlignVerticalJustifyStartIcon:W1,AlignVerticalSpaceAround:G1,AlignVerticalSpaceAroundIcon:G1,AlignVerticalSpaceBetween:Z1,AlignVerticalSpaceBetweenIcon:Z1,Ambulance:X1,AmbulanceIcon:X1,Ampersand:J1,AmpersandIcon:J1,Ampersands:Y1,AmpersandsIcon:Y1,Amphora:K1,AmphoraIcon:K1,Anchor:Q1,AnchorIcon:Q1,Angry:el,AngryIcon:el,Annoyed:tl,AnnoyedIcon:tl,Antenna:al,AntennaIcon:al,Anvil:rl,AnvilIcon:rl,Aperture:nl,ApertureIcon:nl,AppWindow:il,AppWindowIcon:il,AppWindowMac:ol,AppWindowMacIcon:ol,Apple:sl,AppleIcon:sl,Archive:dl,ArchiveIcon:dl,ArchiveRestore:cl,ArchiveRestoreIcon:cl,ArchiveX:ll,ArchiveXIcon:ll,AreaChart:jr,AreaChartIcon:jr,Armchair:hl,ArmchairIcon:hl,ArrowBigDown:pl,ArrowBigDownDash:ul,ArrowBigDownDashIcon:ul,ArrowBigDownIcon:pl,ArrowBigLeft:ml,ArrowBigLeftDash:yl,ArrowBigLeftDashIcon:yl,ArrowBigLeftIcon:ml,ArrowBigRight:xl,ArrowBigRightDash:fl,ArrowBigRightDashIcon:fl,ArrowBigRightIcon:xl,ArrowBigUp:gl,ArrowBigUpDash:kl,ArrowBigUpDashIcon:kl,ArrowBigUpIcon:gl,ArrowDown:Nl,ArrowDown01:vl,ArrowDown01Icon:vl,ArrowDown10:Ml,ArrowDown10Icon:Ml,ArrowDownAZ:ur,ArrowDownAZIcon:ur,ArrowDownAz:ur,ArrowDownAzIcon:ur,ArrowDownCircle:zr,ArrowDownCircleIcon:zr,ArrowDownFromLine:wl,ArrowDownFromLineIcon:wl,ArrowDownIcon:Nl,ArrowDownLeft:bl,ArrowDownLeftFromCircle:Er,ArrowDownLeftFromCircleIcon:Er,ArrowDownLeftFromSquare:Mo,ArrowDownLeftFromSquareIcon:Mo,ArrowDownLeftIcon:bl,ArrowDownLeftSquare:ko,ArrowDownLeftSquareIcon:ko,ArrowDownNarrowWide:Cl,ArrowDownNarrowWideIcon:Cl,ArrowDownRight:jl,ArrowDownRightFromCircle:Or,ArrowDownRightFromCircleIcon:Or,ArrowDownRightFromSquare:wo,ArrowDownRightFromSquareIcon:wo,ArrowDownRightIcon:jl,ArrowDownRightSquare:go,ArrowDownRightSquareIcon:go,ArrowDownSquare:vo,ArrowDownSquareIcon:vo,ArrowDownToDot:Sl,ArrowDownToDotIcon:Sl,ArrowDownToLine:Ll,ArrowDownToLineIcon:Ll,ArrowDownUp:Il,ArrowDownUpIcon:Il,ArrowDownWideNarrow:pr,ArrowDownWideNarrowIcon:pr,ArrowDownZA:yr,ArrowDownZAIcon:yr,ArrowDownZa:yr,ArrowDownZaIcon:yr,ArrowLeft:Ti,ArrowLeftCircle:Fr,ArrowLeftCircleIcon:Fr,ArrowLeftFromLine:Al,ArrowLeftFromLineIcon:Al,ArrowLeftIcon:Ti,ArrowLeftRight:Pl,ArrowLeftRightIcon:Pl,ArrowLeftSquare:ka,ArrowLeftSquareIcon:ka,ArrowLeftToLine:_l,ArrowLeftToLineIcon:_l,ArrowRight:ps,ArrowRightCircle:Br,ArrowRightCircleIcon:Br,ArrowRightFromLine:Tl,ArrowRightFromLineIcon:Tl,ArrowRightIcon:ps,ArrowRightLeft:Rl,ArrowRightLeftIcon:Rl,ArrowRightSquare:ga,ArrowRightSquareIcon:ga,ArrowRightToLine:ql,ArrowRightToLineIcon:ql,ArrowUp:$l,ArrowUp01:Dl,ArrowUp01Icon:Dl,ArrowUp10:zl,ArrowUp10Icon:zl,ArrowUpAZ:mr,ArrowUpAZIcon:mr,ArrowUpAz:mr,ArrowUpAzIcon:mr,ArrowUpCircle:Ur,ArrowUpCircleIcon:Ur,ArrowUpDown:Fl,ArrowUpDownIcon:Fl,ArrowUpFromDot:El,ArrowUpFromDotIcon:El,ArrowUpFromLine:Ol,ArrowUpFromLineIcon:Ol,ArrowUpIcon:$l,ArrowUpLeft:Hl,ArrowUpLeftFromCircle:Hr,ArrowUpLeftFromCircleIcon:Hr,ArrowUpLeftFromSquare:bo,ArrowUpLeftFromSquareIcon:bo,ArrowUpLeftIcon:Hl,ArrowUpLeftSquare:jo,ArrowUpLeftSquareIcon:jo,ArrowUpNarrowWide:fr,ArrowUpNarrowWideIcon:fr,ArrowUpRight:Vl,ArrowUpRightFromCircle:Vr,ArrowUpRightFromCircleIcon:Vr,ArrowUpRightFromSquare:Co,ArrowUpRightFromSquareIcon:Co,ArrowUpRightIcon:Vl,ArrowUpRightSquare:So,ArrowUpRightSquareIcon:So,ArrowUpSquare:Lo,ArrowUpSquareIcon:Lo,ArrowUpToLine:Bl,ArrowUpToLineIcon:Bl,ArrowUpWideNarrow:Ul,ArrowUpWideNarrowIcon:Ul,ArrowUpZA:xr,ArrowUpZAIcon:xr,ArrowUpZa:xr,ArrowUpZaIcon:xr,ArrowsUpFromLine:Wl,ArrowsUpFromLineIcon:Wl,Asterisk:Gl,AsteriskIcon:Gl,AsteriskSquare:Io,AsteriskSquareIcon:Io,AtSign:Zl,AtSignIcon:Zl,Atom:Xl,AtomIcon:Xl,AudioLines:Jl,AudioLinesIcon:Jl,AudioWaveform:Yl,AudioWaveformIcon:Yl,Award:Ma,AwardIcon:Ma,Axe:Kl,AxeIcon:Kl,Axis3D:kr,Axis3DIcon:kr,Axis3d:kr,Axis3dIcon:kr,Baby:Ql,BabyIcon:Ql,Backpack:ed,BackpackIcon:ed,Badge:fd,BadgeAlert:td,BadgeAlertIcon:td,BadgeCent:ad,BadgeCentIcon:ad,BadgeCheck:gr,BadgeCheckIcon:gr,BadgeDollarSign:rd,BadgeDollarSignIcon:rd,BadgeEuro:nd,BadgeEuroIcon:nd,BadgeHelp:od,BadgeHelpIcon:od,BadgeIcon:fd,BadgeIndianRupee:id,BadgeIndianRupeeIcon:id,BadgeInfo:sd,BadgeInfoIcon:sd,BadgeJapaneseYen:cd,BadgeJapaneseYenIcon:cd,BadgeMinus:ld,BadgeMinusIcon:ld,BadgePercent:dd,BadgePercentIcon:dd,BadgePlus:hd,BadgePlusIcon:hd,BadgePoundSterling:ud,BadgePoundSterlingIcon:ud,BadgeRussianRuble:pd,BadgeRussianRubleIcon:pd,BadgeSwissFranc:yd,BadgeSwissFrancIcon:yd,BadgeX:md,BadgeXIcon:md,BaggageClaim:xd,BaggageClaimIcon:xd,Ban:kd,BanIcon:kd,Banana:gd,BananaIcon:gd,Bandage:vd,BandageIcon:vd,Banknote:Md,BanknoteIcon:Md,BarChart:Fa,BarChart2:Tr,BarChart2Icon:Tr,BarChart3:Pr,BarChart3Icon:Pr,BarChart4:Ar,BarChart4Icon:Ar,BarChartBig:Nr,BarChartBigIcon:Nr,BarChartHorizontal:Lr,BarChartHorizontalBig:Sr,BarChartHorizontalBigIcon:Sr,BarChartHorizontalIcon:Lr,BarChartIcon:Fa,Barcode:wd,BarcodeIcon:wd,Baseline:bd,BaselineIcon:bd,Bath:Cd,BathIcon:Cd,Battery:Ad,BatteryCharging:jd,BatteryChargingIcon:jd,BatteryFull:Sd,BatteryFullIcon:Sd,BatteryIcon:Ad,BatteryLow:Ld,BatteryLowIcon:Ld,BatteryMedium:Id,BatteryMediumIcon:Id,BatteryWarning:Nd,BatteryWarningIcon:Nd,Beaker:Pd,BeakerIcon:Pd,Bean:Td,BeanIcon:Td,BeanOff:_d,BeanOffIcon:_d,Bed:Dd,BedDouble:Rd,BedDoubleIcon:Rd,BedIcon:Dd,BedSingle:qd,BedSingleIcon:qd,Beef:zd,BeefIcon:zd,Beer:Ed,BeerIcon:Ed,BeerOff:Fd,BeerOffIcon:Fd,Bell:ys,BellDot:Od,BellDotIcon:Od,BellElectric:Hd,BellElectricIcon:Hd,BellIcon:ys,BellMinus:Vd,BellMinusIcon:Vd,BellOff:Bd,BellOffIcon:Bd,BellPlus:Ud,BellPlusIcon:Ud,BellRing:$d,BellRingIcon:$d,BetweenHorizonalEnd:vr,BetweenHorizonalEndIcon:vr,BetweenHorizonalStart:Mr,BetweenHorizonalStartIcon:Mr,BetweenHorizontalEnd:vr,BetweenHorizontalEndIcon:vr,BetweenHorizontalStart:Mr,BetweenHorizontalStartIcon:Mr,BetweenVerticalEnd:Wd,BetweenVerticalEndIcon:Wd,BetweenVerticalStart:Gd,BetweenVerticalStartIcon:Gd,BicepsFlexed:Zd,BicepsFlexedIcon:Zd,Bike:Xd,BikeIcon:Xd,Binary:Jd,BinaryIcon:Jd,Binoculars:Yd,BinocularsIcon:Yd,Biohazard:Kd,BiohazardIcon:Kd,Bird:Qd,BirdIcon:Qd,Bitcoin:e2,BitcoinIcon:e2,Blend:t2,BlendIcon:t2,Blinds:a2,BlindsIcon:a2,Blocks:r2,BlocksIcon:r2,Bluetooth:s2,BluetoothConnected:n2,BluetoothConnectedIcon:n2,BluetoothIcon:s2,BluetoothOff:o2,BluetoothOffIcon:o2,BluetoothSearching:i2,BluetoothSearchingIcon:i2,Bold:c2,BoldIcon:c2,Bolt:l2,BoltIcon:l2,Bomb:d2,BombIcon:d2,Bone:h2,BoneIcon:h2,Book:T2,BookA:u2,BookAIcon:u2,BookAudio:p2,BookAudioIcon:p2,BookCheck:y2,BookCheckIcon:y2,BookCopy:m2,BookCopyIcon:m2,BookDashed:wr,BookDashedIcon:wr,BookDown:f2,BookDownIcon:f2,BookHeadphones:x2,BookHeadphonesIcon:x2,BookHeart:k2,BookHeartIcon:k2,BookIcon:T2,BookImage:g2,BookImageIcon:g2,BookKey:v2,BookKeyIcon:v2,BookLock:M2,BookLockIcon:M2,BookMarked:w2,BookMarkedIcon:w2,BookMinus:b2,BookMinusIcon:b2,BookOpen:zt,BookOpenCheck:C2,BookOpenCheckIcon:C2,BookOpenIcon:zt,BookOpenText:j2,BookOpenTextIcon:j2,BookPlus:S2,BookPlusIcon:S2,BookTemplate:wr,BookTemplateIcon:wr,BookText:L2,BookTextIcon:L2,BookType:I2,BookTypeIcon:I2,BookUp:A2,BookUp2:N2,BookUp2Icon:N2,BookUpIcon:A2,BookUser:P2,BookUserIcon:P2,BookX:_2,BookXIcon:_2,Bookmark:ba,BookmarkCheck:ia,BookmarkCheckIcon:ia,BookmarkIcon:ba,BookmarkMinus:R2,BookmarkMinusIcon:R2,BookmarkPlus:cc,BookmarkPlusIcon:cc,BookmarkX:q2,BookmarkXIcon:q2,BoomBox:D2,BoomBoxIcon:D2,Bot:lc,BotIcon:lc,BotMessageSquare:z2,BotMessageSquareIcon:z2,BotOff:F2,BotOffIcon:F2,Box:E2,BoxIcon:E2,BoxSelect:Eo,BoxSelectIcon:Eo,Boxes:O2,BoxesIcon:O2,Braces:br,BracesIcon:br,Brackets:H2,BracketsIcon:H2,Brain:U2,BrainCircuit:V2,BrainCircuitIcon:V2,BrainCog:B2,BrainCogIcon:B2,BrainIcon:U2,BrickWall:$2,BrickWallIcon:$2,Briefcase:pt,BriefcaseBusiness:W2,BriefcaseBusinessIcon:W2,BriefcaseConveyorBelt:G2,BriefcaseConveyorBeltIcon:G2,BriefcaseIcon:pt,BriefcaseMedical:Z2,BriefcaseMedicalIcon:Z2,BringToFront:X2,BringToFrontIcon:X2,Brush:J2,BrushIcon:J2,Bug:Q2,BugIcon:Q2,BugOff:Y2,BugOffIcon:Y2,BugPlay:K2,BugPlayIcon:K2,Building:ms,Building2:dc,Building2Icon:dc,BuildingIcon:ms,Bus:t0,BusFront:e0,BusFrontIcon:e0,BusIcon:t0,Cable:r0,CableCar:a0,CableCarIcon:a0,CableIcon:r0,Cake:o0,CakeIcon:o0,CakeSlice:n0,CakeSliceIcon:n0,Calculator:i0,CalculatorIcon:i0,Calendar:hc,CalendarArrowDown:s0,CalendarArrowDownIcon:s0,CalendarArrowUp:c0,CalendarArrowUpIcon:c0,CalendarCheck:d0,CalendarCheck2:l0,CalendarCheck2Icon:l0,CalendarCheckIcon:d0,CalendarClock:h0,CalendarClockIcon:h0,CalendarCog:u0,CalendarCogIcon:u0,CalendarDays:p0,CalendarDaysIcon:p0,CalendarFold:y0,CalendarFoldIcon:y0,CalendarHeart:m0,CalendarHeartIcon:m0,CalendarIcon:hc,CalendarMinus:x0,CalendarMinus2:f0,CalendarMinus2Icon:f0,CalendarMinusIcon:x0,CalendarOff:k0,CalendarOffIcon:k0,CalendarPlus:v0,CalendarPlus2:g0,CalendarPlus2Icon:g0,CalendarPlusIcon:v0,CalendarRange:M0,CalendarRangeIcon:M0,CalendarSearch:w0,CalendarSearchIcon:w0,CalendarX:C0,CalendarX2:b0,CalendarX2Icon:b0,CalendarXIcon:C0,Camera:S0,CameraIcon:S0,CameraOff:j0,CameraOffIcon:j0,CandlestickChart:Ir,CandlestickChartIcon:Ir,Candy:N0,CandyCane:L0,CandyCaneIcon:L0,CandyIcon:N0,CandyOff:I0,CandyOffIcon:I0,Cannabis:A0,CannabisIcon:A0,Captions:Cr,CaptionsIcon:Cr,CaptionsOff:P0,CaptionsOffIcon:P0,Car:R0,CarFront:_0,CarFrontIcon:_0,CarIcon:R0,CarTaxiFront:T0,CarTaxiFrontIcon:T0,Caravan:q0,CaravanIcon:q0,Carrot:D0,CarrotIcon:D0,CaseLower:z0,CaseLowerIcon:z0,CaseSensitive:F0,CaseSensitiveIcon:F0,CaseUpper:E0,CaseUpperIcon:E0,CassetteTape:O0,CassetteTapeIcon:O0,Cast:H0,CastIcon:H0,Castle:V0,CastleIcon:V0,Cat:B0,CatIcon:B0,Cctv:U0,CctvIcon:U0,ChartArea:jr,ChartAreaIcon:jr,ChartBar:Lr,ChartBarBig:Sr,ChartBarBigIcon:Sr,ChartBarDecreasing:$0,ChartBarDecreasingIcon:$0,ChartBarIcon:Lr,ChartBarIncreasing:W0,ChartBarIncreasingIcon:W0,ChartBarStacked:G0,ChartBarStackedIcon:G0,ChartCandlestick:Ir,ChartCandlestickIcon:Ir,ChartColumn:Pr,ChartColumnBig:Nr,ChartColumnBigIcon:Nr,ChartColumnDecreasing:Z0,ChartColumnDecreasingIcon:Z0,ChartColumnIcon:Pr,ChartColumnIncreasing:Ar,ChartColumnIncreasingIcon:Ar,ChartColumnStacked:X0,ChartColumnStackedIcon:X0,ChartGantt:J0,ChartGanttIcon:J0,ChartLine:_r,ChartLineIcon:_r,ChartNetwork:Y0,ChartNetworkIcon:Y0,ChartNoAxesColumn:Tr,ChartNoAxesColumnDecreasing:K0,ChartNoAxesColumnDecreasingIcon:K0,ChartNoAxesColumnIcon:Tr,ChartNoAxesColumnIncreasing:Fa,ChartNoAxesColumnIncreasingIcon:Fa,ChartNoAxesCombined:Q0,ChartNoAxesCombinedIcon:Q0,ChartNoAxesGantt:Rr,ChartNoAxesGanttIcon:Rr,ChartPie:qr,ChartPieIcon:qr,ChartScatter:Dr,ChartScatterIcon:Dr,ChartSpline:eh,ChartSplineIcon:eh,Check:fs,CheckCheck:th,CheckCheckIcon:th,CheckCircle:bt,CheckCircle2:$r,CheckCircle2Icon:$r,CheckCircleIcon:bt,CheckIcon:fs,CheckSquare:Ao,CheckSquare2:Po,CheckSquare2Icon:Po,CheckSquareIcon:Ao,ChefHat:ah,ChefHatIcon:ah,Cherry:rh,CherryIcon:rh,ChevronDown:Ri,ChevronDownCircle:Wr,ChevronDownCircleIcon:Wr,ChevronDownIcon:Ri,ChevronDownSquare:_o,ChevronDownSquareIcon:_o,ChevronFirst:nh,ChevronFirstIcon:nh,ChevronLast:oh,ChevronLastIcon:oh,ChevronLeft:qi,ChevronLeftCircle:Gr,ChevronLeftCircleIcon:Gr,ChevronLeftIcon:qi,ChevronLeftSquare:To,ChevronLeftSquareIcon:To,ChevronRight:Ba,ChevronRightCircle:Zr,ChevronRightCircleIcon:Zr,ChevronRightIcon:Ba,ChevronRightSquare:Ro,ChevronRightSquareIcon:Ro,ChevronUp:uc,ChevronUpCircle:Xr,ChevronUpCircleIcon:Xr,ChevronUpIcon:uc,ChevronUpSquare:qo,ChevronUpSquareIcon:qo,ChevronsDown:sh,ChevronsDownIcon:sh,ChevronsDownUp:ih,ChevronsDownUpIcon:ih,ChevronsLeft:dh,ChevronsLeftIcon:dh,ChevronsLeftRight:lh,ChevronsLeftRightEllipsis:ch,ChevronsLeftRightEllipsisIcon:ch,ChevronsLeftRightIcon:lh,ChevronsRight:uh,ChevronsRightIcon:uh,ChevronsRightLeft:hh,ChevronsRightLeftIcon:hh,ChevronsUp:yh,ChevronsUpDown:ph,ChevronsUpDownIcon:ph,ChevronsUpIcon:yh,Chrome:mh,ChromeIcon:mh,Church:fh,ChurchIcon:fh,Cigarette:kh,CigaretteIcon:kh,CigaretteOff:xh,CigaretteOffIcon:xh,Circle:Nh,CircleAlert:Wt,CircleAlertIcon:Wt,CircleArrowDown:zr,CircleArrowDownIcon:zr,CircleArrowLeft:Fr,CircleArrowLeftIcon:Fr,CircleArrowOutDownLeft:Er,CircleArrowOutDownLeftIcon:Er,CircleArrowOutDownRight:Or,CircleArrowOutDownRightIcon:Or,CircleArrowOutUpLeft:Hr,CircleArrowOutUpLeftIcon:Hr,CircleArrowOutUpRight:Vr,CircleArrowOutUpRightIcon:Vr,CircleArrowRight:Br,CircleArrowRightIcon:Br,CircleArrowUp:Ur,CircleArrowUpIcon:Ur,CircleCheck:$r,CircleCheckBig:bt,CircleCheckBigIcon:bt,CircleCheckIcon:$r,CircleChevronDown:Wr,CircleChevronDownIcon:Wr,CircleChevronLeft:Gr,CircleChevronLeftIcon:Gr,CircleChevronRight:Zr,CircleChevronRightIcon:Zr,CircleChevronUp:Xr,CircleChevronUpIcon:Xr,CircleDashed:gh,CircleDashedIcon:gh,CircleDivide:Jr,CircleDivideIcon:Jr,CircleDollarSign:vh,CircleDollarSignIcon:vh,CircleDot:wh,CircleDotDashed:Mh,CircleDotDashedIcon:Mh,CircleDotIcon:wh,CircleEllipsis:bh,CircleEllipsisIcon:bh,CircleEqual:Ch,CircleEqualIcon:Ch,CircleFadingArrowUp:jh,CircleFadingArrowUpIcon:jh,CircleFadingPlus:Sh,CircleFadingPlusIcon:Sh,CircleGauge:Yr,CircleGaugeIcon:Yr,CircleHelp:Ea,CircleHelpIcon:Ea,CircleIcon:Nh,CircleMinus:Kr,CircleMinusIcon:Kr,CircleOff:Lh,CircleOffIcon:Lh,CircleParking:en,CircleParkingIcon:en,CircleParkingOff:Qr,CircleParkingOffIcon:Qr,CirclePause:tn,CirclePauseIcon:tn,CirclePercent:an,CirclePercentIcon:an,CirclePlay:rn,CirclePlayIcon:rn,CirclePlus:nn,CirclePlusIcon:nn,CirclePower:on,CirclePowerIcon:on,CircleSlash:Ih,CircleSlash2:sn,CircleSlash2Icon:sn,CircleSlashIcon:Ih,CircleSlashed:sn,CircleSlashedIcon:sn,CircleStop:cn,CircleStopIcon:cn,CircleUser:dn,CircleUserIcon:dn,CircleUserRound:ln,CircleUserRoundIcon:ln,CircleX:ta,CircleXIcon:ta,CircuitBoard:Ah,CircuitBoardIcon:Ah,Citrus:Ph,CitrusIcon:Ph,Clapperboard:_h,ClapperboardIcon:_h,Clipboard:Hh,ClipboardCheck:Th,ClipboardCheckIcon:Th,ClipboardCopy:Rh,ClipboardCopyIcon:Rh,ClipboardEdit:un,ClipboardEditIcon:un,ClipboardIcon:Hh,ClipboardList:qh,ClipboardListIcon:qh,ClipboardMinus:Dh,ClipboardMinusIcon:Dh,ClipboardPaste:zh,ClipboardPasteIcon:zh,ClipboardPen:un,ClipboardPenIcon:un,ClipboardPenLine:hn,ClipboardPenLineIcon:hn,ClipboardPlus:Fh,ClipboardPlusIcon:Fh,ClipboardSignature:hn,ClipboardSignatureIcon:hn,ClipboardType:Eh,ClipboardTypeIcon:Eh,ClipboardX:Oh,ClipboardXIcon:Oh,Clock:Zt,Clock1:Vh,Clock10:Bh,Clock10Icon:Bh,Clock11:Uh,Clock11Icon:Uh,Clock12:$h,Clock12Icon:$h,Clock1Icon:Vh,Clock2:Wh,Clock2Icon:Wh,Clock3:Gh,Clock3Icon:Gh,Clock4:Zh,Clock4Icon:Zh,Clock5:Xh,Clock5Icon:Xh,Clock6:Jh,Clock6Icon:Jh,Clock7:Yh,Clock7Icon:Yh,Clock8:Kh,Clock8Icon:Kh,Clock9:Qh,Clock9Icon:Qh,ClockAlert:eu,ClockAlertIcon:eu,ClockArrowDown:tu,ClockArrowDownIcon:tu,ClockArrowUp:au,ClockArrowUpIcon:au,ClockIcon:Zt,Cloud:fu,CloudCog:ru,CloudCogIcon:ru,CloudDownload:pn,CloudDownloadIcon:pn,CloudDrizzle:nu,CloudDrizzleIcon:nu,CloudFog:ou,CloudFogIcon:ou,CloudHail:iu,CloudHailIcon:iu,CloudIcon:fu,CloudLightning:su,CloudLightningIcon:su,CloudMoon:lu,CloudMoonIcon:lu,CloudMoonRain:cu,CloudMoonRainIcon:cu,CloudOff:du,CloudOffIcon:du,CloudRain:uu,CloudRainIcon:uu,CloudRainWind:hu,CloudRainWindIcon:hu,CloudSnow:pu,CloudSnowIcon:pu,CloudSun:mu,CloudSunIcon:mu,CloudSunRain:yu,CloudSunRainIcon:yu,CloudUpload:yn,CloudUploadIcon:yn,Cloudy:xu,CloudyIcon:xu,Clover:ku,CloverIcon:ku,Club:gu,ClubIcon:gu,Code:vu,Code2:mn,Code2Icon:mn,CodeIcon:vu,CodeSquare:Do,CodeSquareIcon:Do,CodeXml:mn,CodeXmlIcon:mn,Codepen:Mu,CodepenIcon:Mu,Codesandbox:wu,CodesandboxIcon:wu,Coffee:bu,CoffeeIcon:bu,Cog:Cu,CogIcon:Cu,Coins:ju,CoinsIcon:ju,Columns:fn,Columns2:fn,Columns2Icon:fn,Columns3:xn,Columns3Icon:xn,Columns4:Su,Columns4Icon:Su,ColumnsIcon:fn,Combine:Lu,CombineIcon:Lu,Command:Iu,CommandIcon:Iu,Compass:Nu,CompassIcon:Nu,Component:Au,ComponentIcon:Au,Computer:Pu,ComputerIcon:Pu,ConciergeBell:_u,ConciergeBellIcon:_u,Cone:Tu,ConeIcon:Tu,Construction:Ru,ConstructionIcon:Ru,Contact:qu,Contact2:kn,Contact2Icon:kn,ContactIcon:qu,ContactRound:kn,ContactRoundIcon:kn,Container:Du,ContainerIcon:Du,Contrast:zu,ContrastIcon:zu,Cookie:Fu,CookieIcon:Fu,CookingPot:Eu,CookingPotIcon:Eu,Copy:$u,CopyCheck:Ou,CopyCheckIcon:Ou,CopyIcon:$u,CopyMinus:Hu,CopyMinusIcon:Hu,CopyPlus:Vu,CopyPlusIcon:Vu,CopySlash:Bu,CopySlashIcon:Bu,CopyX:Uu,CopyXIcon:Uu,Copyleft:Wu,CopyleftIcon:Wu,Copyright:Gu,CopyrightIcon:Gu,CornerDownLeft:Zu,CornerDownLeftIcon:Zu,CornerDownRight:Xu,CornerDownRightIcon:Xu,CornerLeftDown:Ju,CornerLeftDownIcon:Ju,CornerLeftUp:Yu,CornerLeftUpIcon:Yu,CornerRightDown:Ku,CornerRightDownIcon:Ku,CornerRightUp:Qu,CornerRightUpIcon:Qu,CornerUpLeft:ep,CornerUpLeftIcon:ep,CornerUpRight:tp,CornerUpRightIcon:tp,Cpu:ap,CpuIcon:ap,CreativeCommons:rp,CreativeCommonsIcon:rp,CreditCard:pc,CreditCardIcon:pc,Croissant:np,CroissantIcon:np,Crop:op,CropIcon:op,Cross:ip,CrossIcon:ip,Crosshair:sp,CrosshairIcon:sp,Crown:cp,CrownIcon:cp,Cuboid:lp,CuboidIcon:lp,CupSoda:dp,CupSodaIcon:dp,CurlyBraces:br,CurlyBracesIcon:br,Currency:hp,CurrencyIcon:hp,Cylinder:up,CylinderIcon:up,Dam:pp,DamIcon:pp,Database:fp,DatabaseBackup:yp,DatabaseBackupIcon:yp,DatabaseIcon:fp,DatabaseZap:mp,DatabaseZapIcon:mp,Delete:xp,DeleteIcon:xp,Dessert:kp,DessertIcon:kp,Diameter:gp,DiameterIcon:gp,Diamond:wp,DiamondIcon:wp,DiamondMinus:vp,DiamondMinusIcon:vp,DiamondPercent:gn,DiamondPercentIcon:gn,DiamondPlus:Mp,DiamondPlusIcon:Mp,Dice1:bp,Dice1Icon:bp,Dice2:Cp,Dice2Icon:Cp,Dice3:jp,Dice3Icon:jp,Dice4:Sp,Dice4Icon:Sp,Dice5:Lp,Dice5Icon:Lp,Dice6:Ip,Dice6Icon:Ip,Dices:Np,DicesIcon:Np,Diff:Ap,DiffIcon:Ap,Disc:Rp,Disc2:Pp,Disc2Icon:Pp,Disc3:_p,Disc3Icon:_p,DiscAlbum:Tp,DiscAlbumIcon:Tp,DiscIcon:Rp,Divide:qp,DivideCircle:Jr,DivideCircleIcon:Jr,DivideIcon:qp,DivideSquare:Oo,DivideSquareIcon:Oo,Dna:zp,DnaIcon:zp,DnaOff:Dp,DnaOffIcon:Dp,Dock:Fp,DockIcon:Fp,Dog:Ep,DogIcon:Ep,DollarSign:yc,DollarSignIcon:yc,Donut:Op,DonutIcon:Op,DoorClosed:Hp,DoorClosedIcon:Hp,DoorOpen:Vp,DoorOpenIcon:Vp,Dot:Bp,DotIcon:Bp,DotSquare:Ho,DotSquareIcon:Ho,Download:Up,DownloadCloud:pn,DownloadCloudIcon:pn,DownloadIcon:Up,DraftingCompass:$p,DraftingCompassIcon:$p,Drama:Wp,DramaIcon:Wp,Dribbble:Gp,DribbbleIcon:Gp,Drill:Zp,DrillIcon:Zp,Droplet:Xp,DropletIcon:Xp,Droplets:Jp,DropletsIcon:Jp,Drum:Yp,DrumIcon:Yp,Drumstick:Kp,DrumstickIcon:Kp,Dumbbell:Qp,DumbbellIcon:Qp,Ear:ty,EarIcon:ty,EarOff:ey,EarOffIcon:ey,Earth:vn,EarthIcon:vn,EarthLock:ay,EarthLockIcon:ay,Eclipse:ry,EclipseIcon:ry,Edit:vt,Edit2:oo,Edit2Icon:oo,Edit3:no,Edit3Icon:no,EditIcon:vt,Egg:iy,EggFried:ny,EggFriedIcon:ny,EggIcon:iy,EggOff:oy,EggOffIcon:oy,Ellipsis:wn,EllipsisIcon:wn,EllipsisVertical:Mn,EllipsisVerticalIcon:Mn,Equal:cy,EqualIcon:cy,EqualNot:sy,EqualNotIcon:sy,EqualSquare:Vo,EqualSquareIcon:Vo,Eraser:ly,EraserIcon:ly,EthernetPort:dy,EthernetPortIcon:dy,Euro:hy,EuroIcon:hy,Expand:uy,ExpandIcon:uy,ExternalLink:Di,ExternalLinkIcon:Di,Eye:mc,EyeClosed:py,EyeClosedIcon:py,EyeIcon:mc,EyeOff:yy,EyeOffIcon:yy,Facebook:my,FacebookIcon:my,Factory:fy,FactoryIcon:fy,Fan:xy,FanIcon:xy,FastForward:ky,FastForwardIcon:ky,Feather:gy,FeatherIcon:gy,Fence:vy,FenceIcon:vy,FerrisWheel:My,FerrisWheelIcon:My,Figma:wy,FigmaIcon:wy,File:gm,FileArchive:by,FileArchiveIcon:by,FileAudio:jy,FileAudio2:Cy,FileAudio2Icon:Cy,FileAudioIcon:jy,FileAxis3D:bn,FileAxis3DIcon:bn,FileAxis3d:bn,FileAxis3dIcon:bn,FileBadge:Ly,FileBadge2:Sy,FileBadge2Icon:Sy,FileBadgeIcon:Ly,FileBarChart:Cn,FileBarChart2:jn,FileBarChart2Icon:jn,FileBarChartIcon:Cn,FileBox:Iy,FileBoxIcon:Iy,FileChartColumn:jn,FileChartColumnIcon:jn,FileChartColumnIncreasing:Cn,FileChartColumnIncreasingIcon:Cn,FileChartLine:Sn,FileChartLineIcon:Sn,FileChartPie:Ln,FileChartPieIcon:Ln,FileCheck:Ay,FileCheck2:Ny,FileCheck2Icon:Ny,FileCheckIcon:Ay,FileClock:Py,FileClockIcon:Py,FileCode:Ty,FileCode2:_y,FileCode2Icon:_y,FileCodeIcon:Ty,FileCog:In,FileCog2:In,FileCog2Icon:In,FileCogIcon:In,FileDiff:Ry,FileDiffIcon:Ry,FileDigit:qy,FileDigitIcon:qy,FileDown:Dy,FileDownIcon:Dy,FileEdit:An,FileEditIcon:An,FileHeart:zy,FileHeartIcon:zy,FileIcon:gm,FileImage:Fy,FileImageIcon:Fy,FileInput:Ey,FileInputIcon:Ey,FileJson:Hy,FileJson2:Oy,FileJson2Icon:Oy,FileJsonIcon:Hy,FileKey:By,FileKey2:Vy,FileKey2Icon:Vy,FileKeyIcon:By,FileLineChart:Sn,FileLineChartIcon:Sn,FileLock:$y,FileLock2:Uy,FileLock2Icon:Uy,FileLockIcon:$y,FileMinus:Gy,FileMinus2:Wy,FileMinus2Icon:Wy,FileMinusIcon:Gy,FileMusic:Zy,FileMusicIcon:Zy,FileOutput:Xy,FileOutputIcon:Xy,FilePen:An,FilePenIcon:An,FilePenLine:Nn,FilePenLineIcon:Nn,FilePieChart:Ln,FilePieChartIcon:Ln,FilePlus:Yy,FilePlus2:Jy,FilePlus2Icon:Jy,FilePlusIcon:Yy,FileQuestion:Ky,FileQuestionIcon:Ky,FileScan:Qy,FileScanIcon:Qy,FileSearch:tm,FileSearch2:em,FileSearch2Icon:em,FileSearchIcon:tm,FileSignature:Nn,FileSignatureIcon:Nn,FileSliders:am,FileSlidersIcon:am,FileSpreadsheet:rm,FileSpreadsheetIcon:rm,FileStack:nm,FileStackIcon:nm,FileSymlink:om,FileSymlinkIcon:om,FileTerminal:im,FileTerminalIcon:im,FileText:sm,FileTextIcon:sm,FileType:lm,FileType2:cm,FileType2Icon:cm,FileTypeIcon:lm,FileUp:dm,FileUpIcon:dm,FileUser:hm,FileUserIcon:hm,FileVideo:pm,FileVideo2:um,FileVideo2Icon:um,FileVideoIcon:pm,FileVolume:mm,FileVolume2:ym,FileVolume2Icon:ym,FileVolumeIcon:mm,FileWarning:fm,FileWarningIcon:fm,FileX:km,FileX2:xm,FileX2Icon:xm,FileXIcon:km,Files:vm,FilesIcon:vm,Film:Mm,FilmIcon:Mm,Filter:xs,FilterIcon:xs,FilterX:wm,FilterXIcon:wm,Fingerprint:bm,FingerprintIcon:bm,FireExtinguisher:Cm,FireExtinguisherIcon:Cm,Fish:Lm,FishIcon:Lm,FishOff:jm,FishOffIcon:jm,FishSymbol:Sm,FishSymbolIcon:Sm,Flag:fc,FlagIcon:fc,FlagOff:Im,FlagOffIcon:Im,FlagTriangleLeft:Nm,FlagTriangleLeftIcon:Nm,FlagTriangleRight:Am,FlagTriangleRightIcon:Am,Flame:_m,FlameIcon:_m,FlameKindling:Pm,FlameKindlingIcon:Pm,Flashlight:Rm,FlashlightIcon:Rm,FlashlightOff:Tm,FlashlightOffIcon:Tm,FlaskConical:Dm,FlaskConicalIcon:Dm,FlaskConicalOff:qm,FlaskConicalOffIcon:qm,FlaskRound:zm,FlaskRoundIcon:zm,FlipHorizontal:Em,FlipHorizontal2:Fm,FlipHorizontal2Icon:Fm,FlipHorizontalIcon:Em,FlipVertical:Hm,FlipVertical2:Om,FlipVertical2Icon:Om,FlipVerticalIcon:Hm,Flower:Bm,Flower2:Vm,Flower2Icon:Vm,FlowerIcon:Bm,Focus:Um,FocusIcon:Um,FoldHorizontal:$m,FoldHorizontalIcon:$m,FoldVertical:Wm,FoldVerticalIcon:Wm,Folder:Mf,FolderArchive:Gm,FolderArchiveIcon:Gm,FolderCheck:Zm,FolderCheckIcon:Zm,FolderClock:Xm,FolderClockIcon:Xm,FolderClosed:Jm,FolderClosedIcon:Jm,FolderCode:Ym,FolderCodeIcon:Ym,FolderCog:Pn,FolderCog2:Pn,FolderCog2Icon:Pn,FolderCogIcon:Pn,FolderDot:Km,FolderDotIcon:Km,FolderDown:Qm,FolderDownIcon:Qm,FolderEdit:_n,FolderEditIcon:_n,FolderGit:tf,FolderGit2:ef,FolderGit2Icon:ef,FolderGitIcon:tf,FolderHeart:af,FolderHeartIcon:af,FolderIcon:Mf,FolderInput:rf,FolderInputIcon:rf,FolderKanban:nf,FolderKanbanIcon:nf,FolderKey:of,FolderKeyIcon:of,FolderLock:sf,FolderLockIcon:sf,FolderMinus:cf,FolderMinusIcon:cf,FolderOpen:df,FolderOpenDot:lf,FolderOpenDotIcon:lf,FolderOpenIcon:df,FolderOutput:hf,FolderOutputIcon:hf,FolderPen:_n,FolderPenIcon:_n,FolderPlus:uf,FolderPlusIcon:uf,FolderRoot:pf,FolderRootIcon:pf,FolderSearch:mf,FolderSearch2:yf,FolderSearch2Icon:yf,FolderSearchIcon:mf,FolderSymlink:ff,FolderSymlinkIcon:ff,FolderSync:xf,FolderSyncIcon:xf,FolderTree:kf,FolderTreeIcon:kf,FolderUp:gf,FolderUpIcon:gf,FolderX:vf,FolderXIcon:vf,Folders:wf,FoldersIcon:wf,Footprints:bf,FootprintsIcon:bf,ForkKnife:Ii,ForkKnifeCrossed:Li,ForkKnifeCrossedIcon:Li,ForkKnifeIcon:Ii,Forklift:Cf,ForkliftIcon:Cf,FormInput:so,FormInputIcon:so,Forward:jf,ForwardIcon:jf,Frame:Sf,FrameIcon:Sf,Framer:Lf,FramerIcon:Lf,Frown:If,FrownIcon:If,Fuel:Nf,FuelIcon:Nf,Fullscreen:Af,FullscreenIcon:Af,FunctionSquare:Bo,FunctionSquareIcon:Bo,GalleryHorizontal:_f,GalleryHorizontalEnd:Pf,GalleryHorizontalEndIcon:Pf,GalleryHorizontalIcon:_f,GalleryThumbnails:Tf,GalleryThumbnailsIcon:Tf,GalleryVertical:qf,GalleryVerticalEnd:Rf,GalleryVerticalEndIcon:Rf,GalleryVerticalIcon:qf,Gamepad:zf,Gamepad2:Df,Gamepad2Icon:Df,GamepadIcon:zf,GanttChart:Rr,GanttChartIcon:Rr,GanttChartSquare:Qt,GanttChartSquareIcon:Qt,Gauge:Ff,GaugeCircle:Yr,GaugeCircleIcon:Yr,GaugeIcon:Ff,Gavel:Ef,GavelIcon:Ef,Gem:Of,GemIcon:Of,Ghost:Hf,GhostIcon:Hf,Gift:Vf,GiftIcon:Vf,GitBranch:Uf,GitBranchIcon:Uf,GitBranchPlus:Bf,GitBranchPlusIcon:Bf,GitCommit:Tn,GitCommitHorizontal:Tn,GitCommitHorizontalIcon:Tn,GitCommitIcon:Tn,GitCommitVertical:$f,GitCommitVerticalIcon:$f,GitCompare:Gf,GitCompareArrows:Wf,GitCompareArrowsIcon:Wf,GitCompareIcon:Gf,GitFork:Zf,GitForkIcon:Zf,GitGraph:Xf,GitGraphIcon:Xf,GitMerge:Jf,GitMergeIcon:Jf,GitPullRequest:a4,GitPullRequestArrow:Yf,GitPullRequestArrowIcon:Yf,GitPullRequestClosed:Kf,GitPullRequestClosedIcon:Kf,GitPullRequestCreate:e4,GitPullRequestCreateArrow:Qf,GitPullRequestCreateArrowIcon:Qf,GitPullRequestCreateIcon:e4,GitPullRequestDraft:t4,GitPullRequestDraftIcon:t4,GitPullRequestIcon:a4,Github:r4,GithubIcon:r4,Gitlab:n4,GitlabIcon:n4,GlassWater:o4,GlassWaterIcon:o4,Glasses:i4,GlassesIcon:i4,Globe:ks,Globe2:vn,Globe2Icon:vn,GlobeIcon:ks,GlobeLock:s4,GlobeLockIcon:s4,Goal:c4,GoalIcon:c4,Grab:l4,GrabIcon:l4,GraduationCap:gs,GraduationCapIcon:gs,Grape:d4,GrapeIcon:d4,Grid:Ut,Grid2X2:Rn,Grid2X2Icon:Rn,Grid2x2:Rn,Grid2x2Check:h4,Grid2x2CheckIcon:h4,Grid2x2Icon:Rn,Grid2x2Plus:u4,Grid2x2PlusIcon:u4,Grid2x2X:p4,Grid2x2XIcon:p4,Grid3X3:Ut,Grid3X3Icon:Ut,Grid3x3:Ut,Grid3x3Icon:Ut,GridIcon:Ut,Grip:f4,GripHorizontal:y4,GripHorizontalIcon:y4,GripIcon:f4,GripVertical:m4,GripVerticalIcon:m4,Group:x4,GroupIcon:x4,Guitar:k4,GuitarIcon:k4,Ham:g4,HamIcon:g4,Hammer:v4,HammerIcon:v4,Hand:j4,HandCoins:M4,HandCoinsIcon:M4,HandHeart:w4,HandHeartIcon:w4,HandHelping:qn,HandHelpingIcon:qn,HandIcon:j4,HandMetal:b4,HandMetalIcon:b4,HandPlatter:C4,HandPlatterIcon:C4,Handshake:S4,HandshakeIcon:S4,HardDrive:N4,HardDriveDownload:L4,HardDriveDownloadIcon:L4,HardDriveIcon:N4,HardDriveUpload:I4,HardDriveUploadIcon:I4,HardHat:A4,HardHatIcon:A4,Hash:P4,HashIcon:P4,Haze:_4,HazeIcon:_4,HdmiPort:T4,HdmiPortIcon:T4,Heading:O4,Heading1:R4,Heading1Icon:R4,Heading2:q4,Heading2Icon:q4,Heading3:D4,Heading3Icon:D4,Heading4:z4,Heading4Icon:z4,Heading5:F4,Heading5Icon:F4,Heading6:E4,Heading6Icon:E4,HeadingIcon:O4,HeadphoneOff:H4,HeadphoneOffIcon:H4,Headphones:V4,HeadphonesIcon:V4,Headset:B4,HeadsetIcon:B4,Heart:vs,HeartCrack:U4,HeartCrackIcon:U4,HeartHandshake:$4,HeartHandshakeIcon:$4,HeartIcon:vs,HeartOff:W4,HeartOffIcon:W4,HeartPulse:G4,HeartPulseIcon:G4,Heater:Z4,HeaterIcon:Z4,HelpCircle:Ea,HelpCircleIcon:Ea,HelpingHand:qn,HelpingHandIcon:qn,Hexagon:X4,HexagonIcon:X4,Highlighter:J4,HighlighterIcon:J4,History:Y4,HistoryIcon:Y4,Home:xa,HomeIcon:xa,Hop:Q4,HopIcon:Q4,HopOff:K4,HopOffIcon:K4,Hospital:ex,HospitalIcon:ex,Hotel:tx,HotelIcon:tx,Hourglass:ax,HourglassIcon:ax,House:xa,HouseIcon:xa,HousePlug:rx,HousePlugIcon:rx,HousePlus:nx,HousePlusIcon:nx,IceCream:zn,IceCream2:Dn,IceCream2Icon:Dn,IceCreamBowl:Dn,IceCreamBowlIcon:Dn,IceCreamCone:zn,IceCreamConeIcon:zn,IceCreamIcon:zn,Icon:vI,IdCard:ox,IdCardIcon:ox,Image:ux,ImageDown:ix,ImageDownIcon:ix,ImageIcon:ux,ImageMinus:sx,ImageMinusIcon:sx,ImageOff:cx,ImageOffIcon:cx,ImagePlay:lx,ImagePlayIcon:lx,ImagePlus:dx,ImagePlusIcon:dx,ImageUp:hx,ImageUpIcon:hx,Images:px,ImagesIcon:px,Import:yx,ImportIcon:yx,Inbox:mx,InboxIcon:mx,Indent:En,IndentDecrease:Fn,IndentDecreaseIcon:Fn,IndentIcon:En,IndentIncrease:En,IndentIncreaseIcon:En,IndianRupee:fx,IndianRupeeIcon:fx,Infinity:xx,InfinityIcon:xx,Info:kx,InfoIcon:kx,Inspect:Xo,InspectIcon:Xo,InspectionPanel:gx,InspectionPanelIcon:gx,Instagram:vx,InstagramIcon:vx,Italic:Mx,ItalicIcon:Mx,IterationCcw:wx,IterationCcwIcon:wx,IterationCw:bx,IterationCwIcon:bx,JapaneseYen:Cx,JapaneseYenIcon:Cx,Joystick:jx,JoystickIcon:jx,Kanban:Sx,KanbanIcon:Sx,KanbanSquare:Uo,KanbanSquareDashed:zo,KanbanSquareDashedIcon:zo,KanbanSquareIcon:Uo,Key:Nx,KeyIcon:Nx,KeyRound:Lx,KeyRoundIcon:Lx,KeySquare:Ix,KeySquareIcon:Ix,Keyboard:_x,KeyboardIcon:_x,KeyboardMusic:Ax,KeyboardMusicIcon:Ax,KeyboardOff:Px,KeyboardOffIcon:Px,Lamp:Fx,LampCeiling:Tx,LampCeilingIcon:Tx,LampDesk:Rx,LampDeskIcon:Rx,LampFloor:qx,LampFloorIcon:qx,LampIcon:Fx,LampWallDown:Dx,LampWallDownIcon:Dx,LampWallUp:zx,LampWallUpIcon:zx,LandPlot:Ex,LandPlotIcon:Ex,Landmark:Ox,LandmarkIcon:Ox,Languages:Hx,LanguagesIcon:Hx,Laptop:Vx,Laptop2:On,Laptop2Icon:On,LaptopIcon:Vx,LaptopMinimal:On,LaptopMinimalIcon:On,Lasso:Ux,LassoIcon:Ux,LassoSelect:Bx,LassoSelectIcon:Bx,Laugh:$x,LaughIcon:$x,Layers:Zx,Layers2:Wx,Layers2Icon:Wx,Layers3:Gx,Layers3Icon:Gx,LayersIcon:Zx,Layout:ro,LayoutDashboard:xc,LayoutDashboardIcon:xc,LayoutGrid:Xx,LayoutGridIcon:Xx,LayoutIcon:ro,LayoutList:Jx,LayoutListIcon:Jx,LayoutPanelLeft:Yx,LayoutPanelLeftIcon:Yx,LayoutPanelTop:Kx,LayoutPanelTopIcon:Kx,LayoutTemplate:Qx,LayoutTemplateIcon:Qx,Leaf:ek,LeafIcon:ek,LeafyGreen:tk,LeafyGreenIcon:tk,Lectern:ak,LecternIcon:ak,LetterText:rk,LetterTextIcon:rk,Library:ok,LibraryBig:nk,LibraryBigIcon:nk,LibraryIcon:ok,LibrarySquare:$o,LibrarySquareIcon:$o,LifeBuoy:ik,LifeBuoyIcon:ik,Ligature:sk,LigatureIcon:sk,Lightbulb:lk,LightbulbIcon:lk,LightbulbOff:ck,LightbulbOffIcon:ck,LineChart:_r,LineChartIcon:_r,Link:kc,Link2:hk,Link2Icon:hk,Link2Off:dk,Link2OffIcon:dk,LinkIcon:kc,Linkedin:uk,LinkedinIcon:uk,List:gc,ListCheck:pk,ListCheckIcon:pk,ListChecks:yk,ListChecksIcon:yk,ListCollapse:mk,ListCollapseIcon:mk,ListEnd:fk,ListEndIcon:fk,ListFilter:xk,ListFilterIcon:xk,ListIcon:gc,ListMinus:kk,ListMinusIcon:kk,ListMusic:gk,ListMusicIcon:gk,ListOrdered:vk,ListOrderedIcon:vk,ListPlus:Mk,ListPlusIcon:Mk,ListRestart:wk,ListRestartIcon:wk,ListStart:bk,ListStartIcon:bk,ListTodo:Ck,ListTodoIcon:Ck,ListTree:jk,ListTreeIcon:jk,ListVideo:Sk,ListVideoIcon:Sk,ListX:Lk,ListXIcon:Lk,Loader:Nk,Loader2:Hn,Loader2Icon:Hn,LoaderCircle:Hn,LoaderCircleIcon:Hn,LoaderIcon:Nk,LoaderPinwheel:Ik,LoaderPinwheelIcon:Ik,Locate:_k,LocateFixed:Ak,LocateFixedIcon:Ak,LocateIcon:_k,LocateOff:Pk,LocateOffIcon:Pk,Lock:vc,LockIcon:vc,LockKeyhole:Tk,LockKeyholeIcon:Tk,LockKeyholeOpen:Vn,LockKeyholeOpenIcon:Vn,LockOpen:Bn,LockOpenIcon:Bn,LogIn:Rk,LogInIcon:Rk,LogOut:Mc,LogOutIcon:Mc,Logs:qk,LogsIcon:qk,Lollipop:Dk,LollipopIcon:Dk,LucideAArrowDown:u1,LucideAArrowUp:p1,LucideALargeSmall:y1,LucideAccessibility:m1,LucideActivity:f1,LucideActivitySquare:xo,LucideAirVent:x1,LucideAirplay:k1,LucideAlarmCheck:lr,LucideAlarmClock:v1,LucideAlarmClockCheck:lr,LucideAlarmClockMinus:dr,LucideAlarmClockOff:g1,LucideAlarmClockPlus:hr,LucideAlarmMinus:dr,LucideAlarmPlus:hr,LucideAlarmSmoke:M1,LucideAlbum:w1,LucideAlertCircle:Wt,LucideAlertOctagon:Wn,LucideAlertTriangle:xi,LucideAlignCenter:j1,LucideAlignCenterHorizontal:b1,LucideAlignCenterVertical:C1,LucideAlignEndHorizontal:S1,LucideAlignEndVertical:L1,LucideAlignHorizontalDistributeCenter:I1,LucideAlignHorizontalDistributeEnd:N1,LucideAlignHorizontalDistributeStart:A1,LucideAlignHorizontalJustifyCenter:P1,LucideAlignHorizontalJustifyEnd:_1,LucideAlignHorizontalJustifyStart:T1,LucideAlignHorizontalSpaceAround:R1,LucideAlignHorizontalSpaceBetween:q1,LucideAlignJustify:D1,LucideAlignLeft:z1,LucideAlignRight:F1,LucideAlignStartHorizontal:E1,LucideAlignStartVertical:O1,LucideAlignVerticalDistributeCenter:H1,LucideAlignVerticalDistributeEnd:V1,LucideAlignVerticalDistributeStart:B1,LucideAlignVerticalJustifyCenter:U1,LucideAlignVerticalJustifyEnd:$1,LucideAlignVerticalJustifyStart:W1,LucideAlignVerticalSpaceAround:G1,LucideAlignVerticalSpaceBetween:Z1,LucideAmbulance:X1,LucideAmpersand:J1,LucideAmpersands:Y1,LucideAmphora:K1,LucideAnchor:Q1,LucideAngry:el,LucideAnnoyed:tl,LucideAntenna:al,LucideAnvil:rl,LucideAperture:nl,LucideAppWindow:il,LucideAppWindowMac:ol,LucideApple:sl,LucideArchive:dl,LucideArchiveRestore:cl,LucideArchiveX:ll,LucideAreaChart:jr,LucideArmchair:hl,LucideArrowBigDown:pl,LucideArrowBigDownDash:ul,LucideArrowBigLeft:ml,LucideArrowBigLeftDash:yl,LucideArrowBigRight:xl,LucideArrowBigRightDash:fl,LucideArrowBigUp:gl,LucideArrowBigUpDash:kl,LucideArrowDown:Nl,LucideArrowDown01:vl,LucideArrowDown10:Ml,LucideArrowDownAZ:ur,LucideArrowDownAz:ur,LucideArrowDownCircle:zr,LucideArrowDownFromLine:wl,LucideArrowDownLeft:bl,LucideArrowDownLeftFromCircle:Er,LucideArrowDownLeftFromSquare:Mo,LucideArrowDownLeftSquare:ko,LucideArrowDownNarrowWide:Cl,LucideArrowDownRight:jl,LucideArrowDownRightFromCircle:Or,LucideArrowDownRightFromSquare:wo,LucideArrowDownRightSquare:go,LucideArrowDownSquare:vo,LucideArrowDownToDot:Sl,LucideArrowDownToLine:Ll,LucideArrowDownUp:Il,LucideArrowDownWideNarrow:pr,LucideArrowDownZA:yr,LucideArrowDownZa:yr,LucideArrowLeft:Ti,LucideArrowLeftCircle:Fr,LucideArrowLeftFromLine:Al,LucideArrowLeftRight:Pl,LucideArrowLeftSquare:ka,LucideArrowLeftToLine:_l,LucideArrowRight:ps,LucideArrowRightCircle:Br,LucideArrowRightFromLine:Tl,LucideArrowRightLeft:Rl,LucideArrowRightSquare:ga,LucideArrowRightToLine:ql,LucideArrowUp:$l,LucideArrowUp01:Dl,LucideArrowUp10:zl,LucideArrowUpAZ:mr,LucideArrowUpAz:mr,LucideArrowUpCircle:Ur,LucideArrowUpDown:Fl,LucideArrowUpFromDot:El,LucideArrowUpFromLine:Ol,LucideArrowUpLeft:Hl,LucideArrowUpLeftFromCircle:Hr,LucideArrowUpLeftFromSquare:bo,LucideArrowUpLeftSquare:jo,LucideArrowUpNarrowWide:fr,LucideArrowUpRight:Vl,LucideArrowUpRightFromCircle:Vr,LucideArrowUpRightFromSquare:Co,LucideArrowUpRightSquare:So,LucideArrowUpSquare:Lo,LucideArrowUpToLine:Bl,LucideArrowUpWideNarrow:Ul,LucideArrowUpZA:xr,LucideArrowUpZa:xr,LucideArrowsUpFromLine:Wl,LucideAsterisk:Gl,LucideAsteriskSquare:Io,LucideAtSign:Zl,LucideAtom:Xl,LucideAudioLines:Jl,LucideAudioWaveform:Yl,LucideAward:Ma,LucideAxe:Kl,LucideAxis3D:kr,LucideAxis3d:kr,LucideBaby:Ql,LucideBackpack:ed,LucideBadge:fd,LucideBadgeAlert:td,LucideBadgeCent:ad,LucideBadgeCheck:gr,LucideBadgeDollarSign:rd,LucideBadgeEuro:nd,LucideBadgeHelp:od,LucideBadgeIndianRupee:id,LucideBadgeInfo:sd,LucideBadgeJapaneseYen:cd,LucideBadgeMinus:ld,LucideBadgePercent:dd,LucideBadgePlus:hd,LucideBadgePoundSterling:ud,LucideBadgeRussianRuble:pd,LucideBadgeSwissFranc:yd,LucideBadgeX:md,LucideBaggageClaim:xd,LucideBan:kd,LucideBanana:gd,LucideBandage:vd,LucideBanknote:Md,LucideBarChart:Fa,LucideBarChart2:Tr,LucideBarChart3:Pr,LucideBarChart4:Ar,LucideBarChartBig:Nr,LucideBarChartHorizontal:Lr,LucideBarChartHorizontalBig:Sr,LucideBarcode:wd,LucideBaseline:bd,LucideBath:Cd,LucideBattery:Ad,LucideBatteryCharging:jd,LucideBatteryFull:Sd,LucideBatteryLow:Ld,LucideBatteryMedium:Id,LucideBatteryWarning:Nd,LucideBeaker:Pd,LucideBean:Td,LucideBeanOff:_d,LucideBed:Dd,LucideBedDouble:Rd,LucideBedSingle:qd,LucideBeef:zd,LucideBeer:Ed,LucideBeerOff:Fd,LucideBell:ys,LucideBellDot:Od,LucideBellElectric:Hd,LucideBellMinus:Vd,LucideBellOff:Bd,LucideBellPlus:Ud,LucideBellRing:$d,LucideBetweenHorizonalEnd:vr,LucideBetweenHorizonalStart:Mr,LucideBetweenHorizontalEnd:vr,LucideBetweenHorizontalStart:Mr,LucideBetweenVerticalEnd:Wd,LucideBetweenVerticalStart:Gd,LucideBicepsFlexed:Zd,LucideBike:Xd,LucideBinary:Jd,LucideBinoculars:Yd,LucideBiohazard:Kd,LucideBird:Qd,LucideBitcoin:e2,LucideBlend:t2,LucideBlinds:a2,LucideBlocks:r2,LucideBluetooth:s2,LucideBluetoothConnected:n2,LucideBluetoothOff:o2,LucideBluetoothSearching:i2,LucideBold:c2,LucideBolt:l2,LucideBomb:d2,LucideBone:h2,LucideBook:T2,LucideBookA:u2,LucideBookAudio:p2,LucideBookCheck:y2,LucideBookCopy:m2,LucideBookDashed:wr,LucideBookDown:f2,LucideBookHeadphones:x2,LucideBookHeart:k2,LucideBookImage:g2,LucideBookKey:v2,LucideBookLock:M2,LucideBookMarked:w2,LucideBookMinus:b2,LucideBookOpen:zt,LucideBookOpenCheck:C2,LucideBookOpenText:j2,LucideBookPlus:S2,LucideBookTemplate:wr,LucideBookText:L2,LucideBookType:I2,LucideBookUp:A2,LucideBookUp2:N2,LucideBookUser:P2,LucideBookX:_2,LucideBookmark:ba,LucideBookmarkCheck:ia,LucideBookmarkMinus:R2,LucideBookmarkPlus:cc,LucideBookmarkX:q2,LucideBoomBox:D2,LucideBot:lc,LucideBotMessageSquare:z2,LucideBotOff:F2,LucideBox:E2,LucideBoxSelect:Eo,LucideBoxes:O2,LucideBraces:br,LucideBrackets:H2,LucideBrain:U2,LucideBrainCircuit:V2,LucideBrainCog:B2,LucideBrickWall:$2,LucideBriefcase:pt,LucideBriefcaseBusiness:W2,LucideBriefcaseConveyorBelt:G2,LucideBriefcaseMedical:Z2,LucideBringToFront:X2,LucideBrush:J2,LucideBug:Q2,LucideBugOff:Y2,LucideBugPlay:K2,LucideBuilding:ms,LucideBuilding2:dc,LucideBus:t0,LucideBusFront:e0,LucideCable:r0,LucideCableCar:a0,LucideCake:o0,LucideCakeSlice:n0,LucideCalculator:i0,LucideCalendar:hc,LucideCalendarArrowDown:s0,LucideCalendarArrowUp:c0,LucideCalendarCheck:d0,LucideCalendarCheck2:l0,LucideCalendarClock:h0,LucideCalendarCog:u0,LucideCalendarDays:p0,LucideCalendarFold:y0,LucideCalendarHeart:m0,LucideCalendarMinus:x0,LucideCalendarMinus2:f0,LucideCalendarOff:k0,LucideCalendarPlus:v0,LucideCalendarPlus2:g0,LucideCalendarRange:M0,LucideCalendarSearch:w0,LucideCalendarX:C0,LucideCalendarX2:b0,LucideCamera:S0,LucideCameraOff:j0,LucideCandlestickChart:Ir,LucideCandy:N0,LucideCandyCane:L0,LucideCandyOff:I0,LucideCannabis:A0,LucideCaptions:Cr,LucideCaptionsOff:P0,LucideCar:R0,LucideCarFront:_0,LucideCarTaxiFront:T0,LucideCaravan:q0,LucideCarrot:D0,LucideCaseLower:z0,LucideCaseSensitive:F0,LucideCaseUpper:E0,LucideCassetteTape:O0,LucideCast:H0,LucideCastle:V0,LucideCat:B0,LucideCctv:U0,LucideChartArea:jr,LucideChartBar:Lr,LucideChartBarBig:Sr,LucideChartBarDecreasing:$0,LucideChartBarIncreasing:W0,LucideChartBarStacked:G0,LucideChartCandlestick:Ir,LucideChartColumn:Pr,LucideChartColumnBig:Nr,LucideChartColumnDecreasing:Z0,LucideChartColumnIncreasing:Ar,LucideChartColumnStacked:X0,LucideChartGantt:J0,LucideChartLine:_r,LucideChartNetwork:Y0,LucideChartNoAxesColumn:Tr,LucideChartNoAxesColumnDecreasing:K0,LucideChartNoAxesColumnIncreasing:Fa,LucideChartNoAxesCombined:Q0,LucideChartNoAxesGantt:Rr,LucideChartPie:qr,LucideChartScatter:Dr,LucideChartSpline:eh,LucideCheck:fs,LucideCheckCheck:th,LucideCheckCircle:bt,LucideCheckCircle2:$r,LucideCheckSquare:Ao,LucideCheckSquare2:Po,LucideChefHat:ah,LucideCherry:rh,LucideChevronDown:Ri,LucideChevronDownCircle:Wr,LucideChevronDownSquare:_o,LucideChevronFirst:nh,LucideChevronLast:oh,LucideChevronLeft:qi,LucideChevronLeftCircle:Gr,LucideChevronLeftSquare:To,LucideChevronRight:Ba,LucideChevronRightCircle:Zr,LucideChevronRightSquare:Ro,LucideChevronUp:uc,LucideChevronUpCircle:Xr,LucideChevronUpSquare:qo,LucideChevronsDown:sh,LucideChevronsDownUp:ih,LucideChevronsLeft:dh,LucideChevronsLeftRight:lh,LucideChevronsLeftRightEllipsis:ch,LucideChevronsRight:uh,LucideChevronsRightLeft:hh,LucideChevronsUp:yh,LucideChevronsUpDown:ph,LucideChrome:mh,LucideChurch:fh,LucideCigarette:kh,LucideCigaretteOff:xh,LucideCircle:Nh,LucideCircleAlert:Wt,LucideCircleArrowDown:zr,LucideCircleArrowLeft:Fr,LucideCircleArrowOutDownLeft:Er,LucideCircleArrowOutDownRight:Or,LucideCircleArrowOutUpLeft:Hr,LucideCircleArrowOutUpRight:Vr,LucideCircleArrowRight:Br,LucideCircleArrowUp:Ur,LucideCircleCheck:$r,LucideCircleCheckBig:bt,LucideCircleChevronDown:Wr,LucideCircleChevronLeft:Gr,LucideCircleChevronRight:Zr,LucideCircleChevronUp:Xr,LucideCircleDashed:gh,LucideCircleDivide:Jr,LucideCircleDollarSign:vh,LucideCircleDot:wh,LucideCircleDotDashed:Mh,LucideCircleEllipsis:bh,LucideCircleEqual:Ch,LucideCircleFadingArrowUp:jh,LucideCircleFadingPlus:Sh,LucideCircleGauge:Yr,LucideCircleHelp:Ea,LucideCircleMinus:Kr,LucideCircleOff:Lh,LucideCircleParking:en,LucideCircleParkingOff:Qr,LucideCirclePause:tn,LucideCirclePercent:an,LucideCirclePlay:rn,LucideCirclePlus:nn,LucideCirclePower:on,LucideCircleSlash:Ih,LucideCircleSlash2:sn,LucideCircleSlashed:sn,LucideCircleStop:cn,LucideCircleUser:dn,LucideCircleUserRound:ln,LucideCircleX:ta,LucideCircuitBoard:Ah,LucideCitrus:Ph,LucideClapperboard:_h,LucideClipboard:Hh,LucideClipboardCheck:Th,LucideClipboardCopy:Rh,LucideClipboardEdit:un,LucideClipboardList:qh,LucideClipboardMinus:Dh,LucideClipboardPaste:zh,LucideClipboardPen:un,LucideClipboardPenLine:hn,LucideClipboardPlus:Fh,LucideClipboardSignature:hn,LucideClipboardType:Eh,LucideClipboardX:Oh,LucideClock:Zt,LucideClock1:Vh,LucideClock10:Bh,LucideClock11:Uh,LucideClock12:$h,LucideClock2:Wh,LucideClock3:Gh,LucideClock4:Zh,LucideClock5:Xh,LucideClock6:Jh,LucideClock7:Yh,LucideClock8:Kh,LucideClock9:Qh,LucideClockAlert:eu,LucideClockArrowDown:tu,LucideClockArrowUp:au,LucideCloud:fu,LucideCloudCog:ru,LucideCloudDownload:pn,LucideCloudDrizzle:nu,LucideCloudFog:ou,LucideCloudHail:iu,LucideCloudLightning:su,LucideCloudMoon:lu,LucideCloudMoonRain:cu,LucideCloudOff:du,LucideCloudRain:uu,LucideCloudRainWind:hu,LucideCloudSnow:pu,LucideCloudSun:mu,LucideCloudSunRain:yu,LucideCloudUpload:yn,LucideCloudy:xu,LucideClover:ku,LucideClub:gu,LucideCode:vu,LucideCode2:mn,LucideCodeSquare:Do,LucideCodeXml:mn,LucideCodepen:Mu,LucideCodesandbox:wu,LucideCoffee:bu,LucideCog:Cu,LucideCoins:ju,LucideColumns:fn,LucideColumns2:fn,LucideColumns3:xn,LucideColumns4:Su,LucideCombine:Lu,LucideCommand:Iu,LucideCompass:Nu,LucideComponent:Au,LucideComputer:Pu,LucideConciergeBell:_u,LucideCone:Tu,LucideConstruction:Ru,LucideContact:qu,LucideContact2:kn,LucideContactRound:kn,LucideContainer:Du,LucideContrast:zu,LucideCookie:Fu,LucideCookingPot:Eu,LucideCopy:$u,LucideCopyCheck:Ou,LucideCopyMinus:Hu,LucideCopyPlus:Vu,LucideCopySlash:Bu,LucideCopyX:Uu,LucideCopyleft:Wu,LucideCopyright:Gu,LucideCornerDownLeft:Zu,LucideCornerDownRight:Xu,LucideCornerLeftDown:Ju,LucideCornerLeftUp:Yu,LucideCornerRightDown:Ku,LucideCornerRightUp:Qu,LucideCornerUpLeft:ep,LucideCornerUpRight:tp,LucideCpu:ap,LucideCreativeCommons:rp,LucideCreditCard:pc,LucideCroissant:np,LucideCrop:op,LucideCross:ip,LucideCrosshair:sp,LucideCrown:cp,LucideCuboid:lp,LucideCupSoda:dp,LucideCurlyBraces:br,LucideCurrency:hp,LucideCylinder:up,LucideDam:pp,LucideDatabase:fp,LucideDatabaseBackup:yp,LucideDatabaseZap:mp,LucideDelete:xp,LucideDessert:kp,LucideDiameter:gp,LucideDiamond:wp,LucideDiamondMinus:vp,LucideDiamondPercent:gn,LucideDiamondPlus:Mp,LucideDice1:bp,LucideDice2:Cp,LucideDice3:jp,LucideDice4:Sp,LucideDice5:Lp,LucideDice6:Ip,LucideDices:Np,LucideDiff:Ap,LucideDisc:Rp,LucideDisc2:Pp,LucideDisc3:_p,LucideDiscAlbum:Tp,LucideDivide:qp,LucideDivideCircle:Jr,LucideDivideSquare:Oo,LucideDna:zp,LucideDnaOff:Dp,LucideDock:Fp,LucideDog:Ep,LucideDollarSign:yc,LucideDonut:Op,LucideDoorClosed:Hp,LucideDoorOpen:Vp,LucideDot:Bp,LucideDotSquare:Ho,LucideDownload:Up,LucideDownloadCloud:pn,LucideDraftingCompass:$p,LucideDrama:Wp,LucideDribbble:Gp,LucideDrill:Zp,LucideDroplet:Xp,LucideDroplets:Jp,LucideDrum:Yp,LucideDrumstick:Kp,LucideDumbbell:Qp,LucideEar:ty,LucideEarOff:ey,LucideEarth:vn,LucideEarthLock:ay,LucideEclipse:ry,LucideEdit:vt,LucideEdit2:oo,LucideEdit3:no,LucideEgg:iy,LucideEggFried:ny,LucideEggOff:oy,LucideEllipsis:wn,LucideEllipsisVertical:Mn,LucideEqual:cy,LucideEqualNot:sy,LucideEqualSquare:Vo,LucideEraser:ly,LucideEthernetPort:dy,LucideEuro:hy,LucideExpand:uy,LucideExternalLink:Di,LucideEye:mc,LucideEyeClosed:py,LucideEyeOff:yy,LucideFacebook:my,LucideFactory:fy,LucideFan:xy,LucideFastForward:ky,LucideFeather:gy,LucideFence:vy,LucideFerrisWheel:My,LucideFigma:wy,LucideFile:gm,LucideFileArchive:by,LucideFileAudio:jy,LucideFileAudio2:Cy,LucideFileAxis3D:bn,LucideFileAxis3d:bn,LucideFileBadge:Ly,LucideFileBadge2:Sy,LucideFileBarChart:Cn,LucideFileBarChart2:jn,LucideFileBox:Iy,LucideFileChartColumn:jn,LucideFileChartColumnIncreasing:Cn,LucideFileChartLine:Sn,LucideFileChartPie:Ln,LucideFileCheck:Ay,LucideFileCheck2:Ny,LucideFileClock:Py,LucideFileCode:Ty,LucideFileCode2:_y,LucideFileCog:In,LucideFileCog2:In,LucideFileDiff:Ry,LucideFileDigit:qy,LucideFileDown:Dy,LucideFileEdit:An,LucideFileHeart:zy,LucideFileImage:Fy,LucideFileInput:Ey,LucideFileJson:Hy,LucideFileJson2:Oy,LucideFileKey:By,LucideFileKey2:Vy,LucideFileLineChart:Sn,LucideFileLock:$y,LucideFileLock2:Uy,LucideFileMinus:Gy,LucideFileMinus2:Wy,LucideFileMusic:Zy,LucideFileOutput:Xy,LucideFilePen:An,LucideFilePenLine:Nn,LucideFilePieChart:Ln,LucideFilePlus:Yy,LucideFilePlus2:Jy,LucideFileQuestion:Ky,LucideFileScan:Qy,LucideFileSearch:tm,LucideFileSearch2:em,LucideFileSignature:Nn,LucideFileSliders:am,LucideFileSpreadsheet:rm,LucideFileStack:nm,LucideFileSymlink:om,LucideFileTerminal:im,LucideFileText:sm,LucideFileType:lm,LucideFileType2:cm,LucideFileUp:dm,LucideFileUser:hm,LucideFileVideo:pm,LucideFileVideo2:um,LucideFileVolume:mm,LucideFileVolume2:ym,LucideFileWarning:fm,LucideFileX:km,LucideFileX2:xm,LucideFiles:vm,LucideFilm:Mm,LucideFilter:xs,LucideFilterX:wm,LucideFingerprint:bm,LucideFireExtinguisher:Cm,LucideFish:Lm,LucideFishOff:jm,LucideFishSymbol:Sm,LucideFlag:fc,LucideFlagOff:Im,LucideFlagTriangleLeft:Nm,LucideFlagTriangleRight:Am,LucideFlame:_m,LucideFlameKindling:Pm,LucideFlashlight:Rm,LucideFlashlightOff:Tm,LucideFlaskConical:Dm,LucideFlaskConicalOff:qm,LucideFlaskRound:zm,LucideFlipHorizontal:Em,LucideFlipHorizontal2:Fm,LucideFlipVertical:Hm,LucideFlipVertical2:Om,LucideFlower:Bm,LucideFlower2:Vm,LucideFocus:Um,LucideFoldHorizontal:$m,LucideFoldVertical:Wm,LucideFolder:Mf,LucideFolderArchive:Gm,LucideFolderCheck:Zm,LucideFolderClock:Xm,LucideFolderClosed:Jm,LucideFolderCode:Ym,LucideFolderCog:Pn,LucideFolderCog2:Pn,LucideFolderDot:Km,LucideFolderDown:Qm,LucideFolderEdit:_n,LucideFolderGit:tf,LucideFolderGit2:ef,LucideFolderHeart:af,LucideFolderInput:rf,LucideFolderKanban:nf,LucideFolderKey:of,LucideFolderLock:sf,LucideFolderMinus:cf,LucideFolderOpen:df,LucideFolderOpenDot:lf,LucideFolderOutput:hf,LucideFolderPen:_n,LucideFolderPlus:uf,LucideFolderRoot:pf,LucideFolderSearch:mf,LucideFolderSearch2:yf,LucideFolderSymlink:ff,LucideFolderSync:xf,LucideFolderTree:kf,LucideFolderUp:gf,LucideFolderX:vf,LucideFolders:wf,LucideFootprints:bf,LucideForkKnife:Ii,LucideForkKnifeCrossed:Li,LucideForklift:Cf,LucideFormInput:so,LucideForward:jf,LucideFrame:Sf,LucideFramer:Lf,LucideFrown:If,LucideFuel:Nf,LucideFullscreen:Af,LucideFunctionSquare:Bo,LucideGalleryHorizontal:_f,LucideGalleryHorizontalEnd:Pf,LucideGalleryThumbnails:Tf,LucideGalleryVertical:qf,LucideGalleryVerticalEnd:Rf,LucideGamepad:zf,LucideGamepad2:Df,LucideGanttChart:Rr,LucideGanttChartSquare:Qt,LucideGauge:Ff,LucideGaugeCircle:Yr,LucideGavel:Ef,LucideGem:Of,LucideGhost:Hf,LucideGift:Vf,LucideGitBranch:Uf,LucideGitBranchPlus:Bf,LucideGitCommit:Tn,LucideGitCommitHorizontal:Tn,LucideGitCommitVertical:$f,LucideGitCompare:Gf,LucideGitCompareArrows:Wf,LucideGitFork:Zf,LucideGitGraph:Xf,LucideGitMerge:Jf,LucideGitPullRequest:a4,LucideGitPullRequestArrow:Yf,LucideGitPullRequestClosed:Kf,LucideGitPullRequestCreate:e4,LucideGitPullRequestCreateArrow:Qf,LucideGitPullRequestDraft:t4,LucideGithub:r4,LucideGitlab:n4,LucideGlassWater:o4,LucideGlasses:i4,LucideGlobe:ks,LucideGlobe2:vn,LucideGlobeLock:s4,LucideGoal:c4,LucideGrab:l4,LucideGraduationCap:gs,LucideGrape:d4,LucideGrid:Ut,LucideGrid2X2:Rn,LucideGrid2x2:Rn,LucideGrid2x2Check:h4,LucideGrid2x2Plus:u4,LucideGrid2x2X:p4,LucideGrid3X3:Ut,LucideGrid3x3:Ut,LucideGrip:f4,LucideGripHorizontal:y4,LucideGripVertical:m4,LucideGroup:x4,LucideGuitar:k4,LucideHam:g4,LucideHammer:v4,LucideHand:j4,LucideHandCoins:M4,LucideHandHeart:w4,LucideHandHelping:qn,LucideHandMetal:b4,LucideHandPlatter:C4,LucideHandshake:S4,LucideHardDrive:N4,LucideHardDriveDownload:L4,LucideHardDriveUpload:I4,LucideHardHat:A4,LucideHash:P4,LucideHaze:_4,LucideHdmiPort:T4,LucideHeading:O4,LucideHeading1:R4,LucideHeading2:q4,LucideHeading3:D4,LucideHeading4:z4,LucideHeading5:F4,LucideHeading6:E4,LucideHeadphoneOff:H4,LucideHeadphones:V4,LucideHeadset:B4,LucideHeart:vs,LucideHeartCrack:U4,LucideHeartHandshake:$4,LucideHeartOff:W4,LucideHeartPulse:G4,LucideHeater:Z4,LucideHelpCircle:Ea,LucideHelpingHand:qn,LucideHexagon:X4,LucideHighlighter:J4,LucideHistory:Y4,LucideHome:xa,LucideHop:Q4,LucideHopOff:K4,LucideHospital:ex,LucideHotel:tx,LucideHourglass:ax,LucideHouse:xa,LucideHousePlug:rx,LucideHousePlus:nx,LucideIceCream:zn,LucideIceCream2:Dn,LucideIceCreamBowl:Dn,LucideIceCreamCone:zn,LucideIdCard:ox,LucideImage:ux,LucideImageDown:ix,LucideImageMinus:sx,LucideImageOff:cx,LucideImagePlay:lx,LucideImagePlus:dx,LucideImageUp:hx,LucideImages:px,LucideImport:yx,LucideInbox:mx,LucideIndent:En,LucideIndentDecrease:Fn,LucideIndentIncrease:En,LucideIndianRupee:fx,LucideInfinity:xx,LucideInfo:kx,LucideInspect:Xo,LucideInspectionPanel:gx,LucideInstagram:vx,LucideItalic:Mx,LucideIterationCcw:wx,LucideIterationCw:bx,LucideJapaneseYen:Cx,LucideJoystick:jx,LucideKanban:Sx,LucideKanbanSquare:Uo,LucideKanbanSquareDashed:zo,LucideKey:Nx,LucideKeyRound:Lx,LucideKeySquare:Ix,LucideKeyboard:_x,LucideKeyboardMusic:Ax,LucideKeyboardOff:Px,LucideLamp:Fx,LucideLampCeiling:Tx,LucideLampDesk:Rx,LucideLampFloor:qx,LucideLampWallDown:Dx,LucideLampWallUp:zx,LucideLandPlot:Ex,LucideLandmark:Ox,LucideLanguages:Hx,LucideLaptop:Vx,LucideLaptop2:On,LucideLaptopMinimal:On,LucideLasso:Ux,LucideLassoSelect:Bx,LucideLaugh:$x,LucideLayers:Zx,LucideLayers2:Wx,LucideLayers3:Gx,LucideLayout:ro,LucideLayoutDashboard:xc,LucideLayoutGrid:Xx,LucideLayoutList:Jx,LucideLayoutPanelLeft:Yx,LucideLayoutPanelTop:Kx,LucideLayoutTemplate:Qx,LucideLeaf:ek,LucideLeafyGreen:tk,LucideLectern:ak,LucideLetterText:rk,LucideLibrary:ok,LucideLibraryBig:nk,LucideLibrarySquare:$o,LucideLifeBuoy:ik,LucideLigature:sk,LucideLightbulb:lk,LucideLightbulbOff:ck,LucideLineChart:_r,LucideLink:kc,LucideLink2:hk,LucideLink2Off:dk,LucideLinkedin:uk,LucideList:gc,LucideListCheck:pk,LucideListChecks:yk,LucideListCollapse:mk,LucideListEnd:fk,LucideListFilter:xk,LucideListMinus:kk,LucideListMusic:gk,LucideListOrdered:vk,LucideListPlus:Mk,LucideListRestart:wk,LucideListStart:bk,LucideListTodo:Ck,LucideListTree:jk,LucideListVideo:Sk,LucideListX:Lk,LucideLoader:Nk,LucideLoader2:Hn,LucideLoaderCircle:Hn,LucideLoaderPinwheel:Ik,LucideLocate:_k,LucideLocateFixed:Ak,LucideLocateOff:Pk,LucideLock:vc,LucideLockKeyhole:Tk,LucideLockKeyholeOpen:Vn,LucideLockOpen:Bn,LucideLogIn:Rk,LucideLogOut:Mc,LucideLogs:qk,LucideLollipop:Dk,LucideLuggage:zk,LucideMSquare:Wo,LucideMagnet:Fk,LucideMail:sa,LucideMailCheck:Ek,LucideMailMinus:Ok,LucideMailOpen:Hk,LucideMailPlus:Vk,LucideMailQuestion:Bk,LucideMailSearch:Uk,LucideMailWarning:$k,LucideMailX:Wk,LucideMailbox:Gk,LucideMails:Zk,LucideMap:ig,LucideMapPin:Ft,LucideMapPinCheck:Jk,LucideMapPinCheckInside:Xk,LucideMapPinHouse:Yk,LucideMapPinMinus:Qk,LucideMapPinMinusInside:Kk,LucideMapPinOff:eg,LucideMapPinPlus:ag,LucideMapPinPlusInside:tg,LucideMapPinX:ng,LucideMapPinXInside:rg,LucideMapPinned:og,LucideMartini:sg,LucideMaximize:lg,LucideMaximize2:cg,LucideMedal:dg,LucideMegaphone:ug,LucideMegaphoneOff:hg,LucideMeh:pg,LucideMemoryStick:yg,LucideMenu:Ms,LucideMenuSquare:Go,LucideMerge:mg,LucideMessageCircle:Sg,LucideMessageCircleCode:fg,LucideMessageCircleDashed:xg,LucideMessageCircleHeart:kg,LucideMessageCircleMore:gg,LucideMessageCircleOff:vg,LucideMessageCirclePlus:Mg,LucideMessageCircleQuestion:wg,LucideMessageCircleReply:bg,LucideMessageCircleWarning:Cg,LucideMessageCircleX:jg,LucideMessageSquare:ws,LucideMessageSquareCode:Lg,LucideMessageSquareDashed:Ig,LucideMessageSquareDiff:Ng,LucideMessageSquareDot:Ag,LucideMessageSquareHeart:Pg,LucideMessageSquareLock:_g,LucideMessageSquareMore:Tg,LucideMessageSquareOff:Rg,LucideMessageSquarePlus:qg,LucideMessageSquareQuote:Dg,LucideMessageSquareReply:zg,LucideMessageSquareShare:Fg,LucideMessageSquareText:Eg,LucideMessageSquareWarning:Og,LucideMessageSquareX:Hg,LucideMessagesSquare:Vg,LucideMic:Ug,LucideMic2:Un,LucideMicOff:Bg,LucideMicVocal:Un,LucideMicrochip:$g,LucideMicroscope:Wg,LucideMicrowave:Gg,LucideMilestone:Zg,LucideMilk:Jg,LucideMilkOff:Xg,LucideMinimize:Kg,LucideMinimize2:Yg,LucideMinus:wc,LucideMinusCircle:Kr,LucideMinusSquare:Zo,LucideMonitor:h5,LucideMonitorCheck:Qg,LucideMonitorCog:e5,LucideMonitorDot:t5,LucideMonitorDown:a5,LucideMonitorOff:r5,LucideMonitorPause:n5,LucideMonitorPlay:o5,LucideMonitorSmartphone:i5,LucideMonitorSpeaker:s5,LucideMonitorStop:c5,LucideMonitorUp:l5,LucideMonitorX:d5,LucideMoon:p5,LucideMoonStar:u5,LucideMoreHorizontal:wn,LucideMoreVertical:Mn,LucideMountain:m5,LucideMountainSnow:y5,LucideMouse:M5,LucideMouseOff:f5,LucideMousePointer:v5,LucideMousePointer2:x5,LucideMousePointerBan:k5,LucideMousePointerClick:g5,LucideMousePointerSquareDashed:Fo,LucideMove:R5,LucideMove3D:$n,LucideMove3d:$n,LucideMoveDiagonal:b5,LucideMoveDiagonal2:w5,LucideMoveDown:S5,LucideMoveDownLeft:C5,LucideMoveDownRight:j5,LucideMoveHorizontal:L5,LucideMoveLeft:I5,LucideMoveRight:N5,LucideMoveUp:_5,LucideMoveUpLeft:A5,LucideMoveUpRight:P5,LucideMoveVertical:T5,LucideMusic:F5,LucideMusic2:q5,LucideMusic3:D5,LucideMusic4:z5,LucideNavigation:V5,LucideNavigation2:O5,LucideNavigation2Off:E5,LucideNavigationOff:H5,LucideNetwork:B5,LucideNewspaper:Ca,LucideNfc:U5,LucideNotebook:Z5,LucideNotebookPen:$5,LucideNotebookTabs:W5,LucideNotebookText:G5,LucideNotepadText:J5,LucideNotepadTextDashed:X5,LucideNut:K5,LucideNutOff:Y5,LucideOctagon:e3,LucideOctagonAlert:Wn,LucideOctagonMinus:Q5,LucideOctagonPause:Gn,LucideOctagonX:Zn,LucideOmega:t3,LucideOption:a3,LucideOrbit:r3,LucideOrigami:n3,LucideOutdent:Fn,LucidePackage:u3,LucidePackage2:o3,LucidePackageCheck:i3,LucidePackageMinus:s3,LucidePackageOpen:c3,LucidePackagePlus:l3,LucidePackageSearch:d3,LucidePackageX:h3,LucidePaintBucket:p3,LucidePaintRoller:y3,LucidePaintbrush:m3,LucidePaintbrush2:Xn,LucidePaintbrushVertical:Xn,LucidePalette:f3,LucidePalmtree:fi,LucidePanelBottom:g3,LucidePanelBottomClose:x3,LucidePanelBottomDashed:Jn,LucidePanelBottomInactive:Jn,LucidePanelBottomOpen:k3,LucidePanelLeft:eo,LucidePanelLeftClose:Yn,LucidePanelLeftDashed:Kn,LucidePanelLeftInactive:Kn,LucidePanelLeftOpen:Qn,LucidePanelRight:w3,LucidePanelRightClose:v3,LucidePanelRightDashed:to,LucidePanelRightInactive:to,LucidePanelRightOpen:M3,LucidePanelTop:j3,LucidePanelTopClose:b3,LucidePanelTopDashed:ao,LucidePanelTopInactive:ao,LucidePanelTopOpen:C3,LucidePanelsLeftBottom:S3,LucidePanelsLeftRight:xn,LucidePanelsRightBottom:L3,LucidePanelsTopBottom:ho,LucidePanelsTopLeft:ro,LucidePaperclip:I3,LucideParentheses:N3,LucideParkingCircle:en,LucideParkingCircleOff:Qr,LucideParkingMeter:A3,LucideParkingSquare:Yo,LucideParkingSquareOff:Jo,LucidePartyPopper:P3,LucidePause:_3,LucidePauseCircle:tn,LucidePauseOctagon:Gn,LucidePawPrint:T3,LucidePcCase:R3,LucidePen:oo,LucidePenBox:vt,LucidePenLine:no,LucidePenOff:q3,LucidePenSquare:vt,LucidePenTool:D3,LucidePencil:O3,LucidePencilLine:z3,LucidePencilOff:F3,LucidePencilRuler:E3,LucidePentagon:H3,LucidePercent:V3,LucidePercentCircle:an,LucidePercentDiamond:gn,LucidePercentSquare:Ko,LucidePersonStanding:B3,LucidePhilippinePeso:U3,LucidePhone:zi,LucidePhoneCall:$3,LucidePhoneForwarded:W3,LucidePhoneIncoming:G3,LucidePhoneMissed:Z3,LucidePhoneOff:X3,LucidePhoneOutgoing:J3,LucidePi:Y3,LucidePiSquare:Qo,LucidePiano:K3,LucidePickaxe:Q3,LucidePictureInPicture:tv,LucidePictureInPicture2:ev,LucidePieChart:qr,LucidePiggyBank:av,LucidePilcrow:ov,LucidePilcrowLeft:rv,LucidePilcrowRight:nv,LucidePilcrowSquare:ei,LucidePill:sv,LucidePillBottle:iv,LucidePin:lv,LucidePinOff:cv,LucidePipette:dv,LucidePizza:hv,LucidePlane:yv,LucidePlaneLanding:uv,LucidePlaneTakeoff:pv,LucidePlay:bc,LucidePlayCircle:rn,LucidePlaySquare:ti,LucidePlug:fv,LucidePlug2:mv,LucidePlugZap:io,LucidePlugZap2:io,LucidePlus:Cc,LucidePlusCircle:nn,LucidePlusSquare:ai,LucidePocket:kv,LucidePocketKnife:xv,LucidePodcast:gv,LucidePointer:Mv,LucidePointerOff:vv,LucidePopcorn:wv,LucidePopsicle:bv,LucidePoundSterling:Cv,LucidePower:Sv,LucidePowerCircle:on,LucidePowerOff:jv,LucidePowerSquare:ri,LucidePresentation:Lv,LucidePrinter:Nv,LucidePrinterCheck:Iv,LucideProjector:Av,LucideProportions:Pv,LucidePuzzle:_v,LucidePyramid:Tv,LucideQrCode:Rv,LucideQuote:bs,LucideRabbit:qv,LucideRadar:Dv,LucideRadiation:zv,LucideRadical:Fv,LucideRadio:Hv,LucideRadioReceiver:Ev,LucideRadioTower:Ov,LucideRadius:Vv,LucideRailSymbol:Bv,LucideRainbow:Uv,LucideRat:$v,LucideRatio:Wv,LucideReceipt:t6,LucideReceiptCent:Gv,LucideReceiptEuro:Zv,LucideReceiptIndianRupee:Xv,LucideReceiptJapaneseYen:Jv,LucideReceiptPoundSterling:Yv,LucideReceiptRussianRuble:Kv,LucideReceiptSwissFranc:Qv,LucideReceiptText:e6,LucideRectangleEllipsis:so,LucideRectangleHorizontal:a6,LucideRectangleVertical:r6,LucideRecycle:n6,LucideRedo:s6,LucideRedo2:o6,LucideRedoDot:i6,LucideRefreshCcw:l6,LucideRefreshCcwDot:c6,LucideRefreshCw:h6,LucideRefreshCwOff:d6,LucideRefrigerator:u6,LucideRegex:p6,LucideRemoveFormatting:y6,LucideRepeat:x6,LucideRepeat1:m6,LucideRepeat2:f6,LucideReplace:g6,LucideReplaceAll:k6,LucideReply:M6,LucideReplyAll:v6,LucideRewind:w6,LucideRibbon:b6,LucideRocket:C6,LucideRockingChair:j6,LucideRollerCoaster:S6,LucideRotate3D:co,LucideRotate3d:co,LucideRotateCcw:I6,LucideRotateCcwSquare:L6,LucideRotateCw:A6,LucideRotateCwSquare:N6,LucideRoute:_6,LucideRouteOff:P6,LucideRouter:T6,LucideRows:lo,LucideRows2:lo,LucideRows3:ho,LucideRows4:R6,LucideRss:q6,LucideRuler:D6,LucideRussianRuble:z6,LucideSailboat:F6,LucideSalad:E6,LucideSandwich:O6,LucideSatellite:V6,LucideSatelliteDish:H6,LucideSave:$6,LucideSaveAll:B6,LucideSaveOff:U6,LucideScale:W6,LucideScale3D:uo,LucideScale3d:uo,LucideScaling:G6,LucideScan:t8,LucideScanBarcode:Z6,LucideScanEye:X6,LucideScanFace:J6,LucideScanLine:Y6,LucideScanQrCode:K6,LucideScanSearch:Q6,LucideScanText:e8,LucideScatterChart:Dr,LucideSchool:a8,LucideSchool2:gi,LucideScissors:n8,LucideScissorsLineDashed:r8,LucideScissorsSquare:ni,LucideScissorsSquareDashedBottom:No,LucideScreenShare:i8,LucideScreenShareOff:o8,LucideScroll:c8,LucideScrollText:s8,LucideSearch:Et,LucideSearchCheck:l8,LucideSearchCode:d8,LucideSearchSlash:h8,LucideSearchX:u8,LucideSection:p8,LucideSend:jc,LucideSendHorizonal:po,LucideSendHorizontal:po,LucideSendToBack:y8,LucideSeparatorHorizontal:m8,LucideSeparatorVertical:f8,LucideServer:v8,LucideServerCog:x8,LucideServerCrash:k8,LucideServerOff:g8,LucideSettings:Cs,LucideSettings2:M8,LucideShapes:w8,LucideShare:b8,LucideShare2:js,LucideSheet:C8,LucideShell:j8,LucideShield:Sc,LucideShieldAlert:S8,LucideShieldBan:L8,LucideShieldCheck:I8,LucideShieldClose:yo,LucideShieldEllipsis:N8,LucideShieldHalf:A8,LucideShieldMinus:P8,LucideShieldOff:_8,LucideShieldPlus:T8,LucideShieldQuestion:R8,LucideShieldX:yo,LucideShip:D8,LucideShipWheel:q8,LucideShirt:z8,LucideShoppingBag:F8,LucideShoppingBasket:E8,LucideShoppingCart:Ss,LucideShovel:O8,LucideShowerHead:H8,LucideShrink:V8,LucideShrub:B8,LucideShuffle:U8,LucideSidebar:eo,LucideSidebarClose:Yn,LucideSidebarOpen:Qn,LucideSigma:$8,LucideSigmaSquare:oi,LucideSignal:Lc,LucideSignalHigh:W8,LucideSignalLow:G8,LucideSignalMedium:Z8,LucideSignalZero:X8,LucideSignature:J8,LucideSignpost:K8,LucideSignpostBig:Y8,LucideSiren:Q8,LucideSkipBack:e7,LucideSkipForward:t7,LucideSkull:a7,LucideSlack:r7,LucideSlash:n7,LucideSlashSquare:ii,LucideSlice:o7,LucideSliders:mo,LucideSlidersHorizontal:Ua,LucideSlidersVertical:mo,LucideSmartphone:c7,LucideSmartphoneCharging:i7,LucideSmartphoneNfc:s7,LucideSmile:d7,LucideSmilePlus:l7,LucideSnail:h7,LucideSnowflake:u7,LucideSofa:p7,LucideSortAsc:fr,LucideSortDesc:pr,LucideSoup:y7,LucideSpace:m7,LucideSpade:f7,LucideSparkle:x7,LucideSparkles:fo,LucideSpeaker:k7,LucideSpeech:g7,LucideSpellCheck:M7,LucideSpellCheck2:v7,LucideSpline:w7,LucideSplit:b7,LucideSplitSquareHorizontal:si,LucideSplitSquareVertical:ci,LucideSprayCan:C7,LucideSprout:j7,LucideSquare:P7,LucideSquareActivity:xo,LucideSquareArrowDown:vo,LucideSquareArrowDownLeft:ko,LucideSquareArrowDownRight:go,LucideSquareArrowLeft:ka,LucideSquareArrowOutDownLeft:Mo,LucideSquareArrowOutDownRight:wo,LucideSquareArrowOutUpLeft:bo,LucideSquareArrowOutUpRight:Co,LucideSquareArrowRight:ga,LucideSquareArrowUp:Lo,LucideSquareArrowUpLeft:jo,LucideSquareArrowUpRight:So,LucideSquareAsterisk:Io,LucideSquareBottomDashedScissors:No,LucideSquareChartGantt:Qt,LucideSquareCheck:Po,LucideSquareCheckBig:Ao,LucideSquareChevronDown:_o,LucideSquareChevronLeft:To,LucideSquareChevronRight:Ro,LucideSquareChevronUp:qo,LucideSquareCode:Do,LucideSquareDashed:Eo,LucideSquareDashedBottom:L7,LucideSquareDashedBottomCode:S7,LucideSquareDashedKanban:zo,LucideSquareDashedMousePointer:Fo,LucideSquareDivide:Oo,LucideSquareDot:Ho,LucideSquareEqual:Vo,LucideSquareFunction:Bo,LucideSquareGanttChart:Qt,LucideSquareKanban:Uo,LucideSquareLibrary:$o,LucideSquareM:Wo,LucideSquareMenu:Go,LucideSquareMinus:Zo,LucideSquareMousePointer:Xo,LucideSquareParking:Yo,LucideSquareParkingOff:Jo,LucideSquarePen:vt,LucideSquarePercent:Ko,LucideSquarePi:Qo,LucideSquarePilcrow:ei,LucideSquarePlay:ti,LucideSquarePlus:ai,LucideSquarePower:ri,LucideSquareRadical:I7,LucideSquareScissors:ni,LucideSquareSigma:oi,LucideSquareSlash:ii,LucideSquareSplitHorizontal:si,LucideSquareSplitVertical:ci,LucideSquareSquare:N7,LucideSquareStack:A7,LucideSquareTerminal:li,LucideSquareUser:hi,LucideSquareUserRound:di,LucideSquareX:ui,LucideSquircle:_7,LucideSquirrel:T7,LucideStamp:R7,LucideStar:Rt,LucideStarHalf:q7,LucideStarOff:D7,LucideStars:fo,LucideStepBack:z7,LucideStepForward:F7,LucideStethoscope:E7,LucideSticker:O7,LucideStickyNote:H7,LucideStopCircle:cn,LucideStore:V7,LucideStretchHorizontal:B7,LucideStretchVertical:U7,LucideStrikethrough:$7,LucideSubscript:W7,LucideSubtitles:Cr,LucideSun:Y7,LucideSunDim:G7,LucideSunMedium:Z7,LucideSunMoon:X7,LucideSunSnow:J7,LucideSunrise:K7,LucideSunset:Q7,LucideSuperscript:eM,LucideSwatchBook:tM,LucideSwissFranc:aM,LucideSwitchCamera:rM,LucideSword:nM,LucideSwords:oM,LucideSyringe:iM,LucideTable:yM,LucideTable2:sM,LucideTableCellsMerge:cM,LucideTableCellsSplit:lM,LucideTableColumnsSplit:dM,LucideTableOfContents:hM,LucideTableProperties:uM,LucideTableRowsSplit:pM,LucideTablet:fM,LucideTabletSmartphone:mM,LucideTablets:xM,LucideTag:kM,LucideTags:gM,LucideTally1:vM,LucideTally2:MM,LucideTally3:wM,LucideTally4:bM,LucideTally5:CM,LucideTangent:jM,LucideTarget:SM,LucideTelescope:LM,LucideTent:NM,LucideTentTree:IM,LucideTerminal:AM,LucideTerminalSquare:li,LucideTestTube:PM,LucideTestTube2:pi,LucideTestTubeDiagonal:pi,LucideTestTubes:_M,LucideText:zM,LucideTextCursor:RM,LucideTextCursorInput:TM,LucideTextQuote:qM,LucideTextSearch:DM,LucideTextSelect:yi,LucideTextSelection:yi,LucideTheater:FM,LucideThermometer:HM,LucideThermometerSnowflake:EM,LucideThermometerSun:OM,LucideThumbsDown:VM,LucideThumbsUp:BM,LucideTicket:JM,LucideTicketCheck:UM,LucideTicketMinus:$M,LucideTicketPercent:WM,LucideTicketPlus:GM,LucideTicketSlash:ZM,LucideTicketX:XM,LucideTickets:KM,LucideTicketsPlane:YM,LucideTimer:tw,LucideTimerOff:QM,LucideTimerReset:ew,LucideToggleLeft:aw,LucideToggleRight:rw,LucideTornado:nw,LucideTorus:ow,LucideTouchpad:sw,LucideTouchpadOff:iw,LucideTowerControl:cw,LucideToyBrick:lw,LucideTractor:dw,LucideTrafficCone:hw,LucideTrain:mi,LucideTrainFront:pw,LucideTrainFrontTunnel:uw,LucideTrainTrack:yw,LucideTramFront:mi,LucideTrash:mw,LucideTrash2:Ic,LucideTreeDeciduous:fw,LucideTreePalm:fi,LucideTreePine:xw,LucideTrees:kw,LucideTrello:gw,LucideTrendingDown:vw,LucideTrendingUp:Fi,LucideTrendingUpDown:Mw,LucideTriangle:bw,LucideTriangleAlert:xi,LucideTriangleRight:ww,LucideTrophy:Cw,LucideTruck:jw,LucideTurtle:Sw,LucideTv:Iw,LucideTv2:ki,LucideTvMinimal:ki,LucideTvMinimalPlay:Lw,LucideTwitch:Nw,LucideTwitter:Aw,LucideType:_w,LucideTypeOutline:Pw,LucideUmbrella:Rw,LucideUmbrellaOff:Tw,LucideUnderline:qw,LucideUndo:Fw,LucideUndo2:Dw,LucideUndoDot:zw,LucideUnfoldHorizontal:Ew,LucideUnfoldVertical:Ow,LucideUngroup:Hw,LucideUniversity:gi,LucideUnlink:Bw,LucideUnlink2:Vw,LucideUnlock:Bn,LucideUnlockKeyhole:Vn,LucideUnplug:Uw,LucideUpload:Ls,LucideUploadCloud:yn,LucideUsb:$w,LucideUser:Nc,LucideUser2:ji,LucideUserCheck:Ww,LucideUserCheck2:vi,LucideUserCircle:dn,LucideUserCircle2:ln,LucideUserCog:Gw,LucideUserCog2:Mi,LucideUserMinus:Zw,LucideUserMinus2:wi,LucideUserPen:Xw,LucideUserPlus:Jw,LucideUserPlus2:bi,LucideUserRound:ji,LucideUserRoundCheck:vi,LucideUserRoundCog:Mi,LucideUserRoundMinus:wi,LucideUserRoundPen:Yw,LucideUserRoundPlus:bi,LucideUserRoundSearch:Kw,LucideUserRoundX:Ci,LucideUserSearch:Qw,LucideUserSquare:hi,LucideUserSquare2:di,LucideUserX:e9,LucideUserX2:Ci,LucideUsers:ja,LucideUsers2:Si,LucideUsersRound:Si,LucideUtensils:Ii,LucideUtensilsCrossed:Li,LucideUtilityPole:t9,LucideVariable:a9,LucideVault:r9,LucideVegan:n9,LucideVenetianMask:o9,LucideVerified:gr,LucideVibrate:s9,LucideVibrateOff:i9,LucideVideo:l9,LucideVideoOff:c9,LucideVideotape:d9,LucideView:h9,LucideVoicemail:u9,LucideVolleyball:p9,LucideVolume:k9,LucideVolume1:y9,LucideVolume2:m9,LucideVolumeOff:f9,LucideVolumeX:x9,LucideVote:g9,LucideWallet:M9,LucideWallet2:Ni,LucideWalletCards:v9,LucideWalletMinimal:Ni,LucideWallpaper:w9,LucideWand:b9,LucideWand2:Ai,LucideWandSparkles:Ai,LucideWarehouse:C9,LucideWashingMachine:j9,LucideWatch:S9,LucideWaves:L9,LucideWaypoints:I9,LucideWebcam:N9,LucideWebhook:P9,LucideWebhookOff:A9,LucideWeight:_9,LucideWheat:R9,LucideWheatOff:T9,LucideWholeWord:q9,LucideWifi:O9,LucideWifiHigh:D9,LucideWifiLow:z9,LucideWifiOff:F9,LucideWifiZero:E9,LucideWind:H9,LucideWine:B9,LucideWineOff:V9,LucideWorkflow:U9,LucideWorm:$9,LucideWrapText:W9,LucideWrench:G9,LucideX:Xt,LucideXCircle:ta,LucideXOctagon:Zn,LucideXSquare:ui,LucideYoutube:Z9,LucideZap:J9,LucideZapOff:X9,LucideZoomIn:Y9,LucideZoomOut:K9,Luggage:zk,LuggageIcon:zk,MSquare:Wo,MSquareIcon:Wo,Magnet:Fk,MagnetIcon:Fk,Mail:sa,MailCheck:Ek,MailCheckIcon:Ek,MailIcon:sa,MailMinus:Ok,MailMinusIcon:Ok,MailOpen:Hk,MailOpenIcon:Hk,MailPlus:Vk,MailPlusIcon:Vk,MailQuestion:Bk,MailQuestionIcon:Bk,MailSearch:Uk,MailSearchIcon:Uk,MailWarning:$k,MailWarningIcon:$k,MailX:Wk,MailXIcon:Wk,Mailbox:Gk,MailboxIcon:Gk,Mails:Zk,MailsIcon:Zk,Map:ig,MapIcon:ig,MapPin:Ft,MapPinCheck:Jk,MapPinCheckIcon:Jk,MapPinCheckInside:Xk,MapPinCheckInsideIcon:Xk,MapPinHouse:Yk,MapPinHouseIcon:Yk,MapPinIcon:Ft,MapPinMinus:Qk,MapPinMinusIcon:Qk,MapPinMinusInside:Kk,MapPinMinusInsideIcon:Kk,MapPinOff:eg,MapPinOffIcon:eg,MapPinPlus:ag,MapPinPlusIcon:ag,MapPinPlusInside:tg,MapPinPlusInsideIcon:tg,MapPinX:ng,MapPinXIcon:ng,MapPinXInside:rg,MapPinXInsideIcon:rg,MapPinned:og,MapPinnedIcon:og,Martini:sg,MartiniIcon:sg,Maximize:lg,Maximize2:cg,Maximize2Icon:cg,MaximizeIcon:lg,Medal:dg,MedalIcon:dg,Megaphone:ug,MegaphoneIcon:ug,MegaphoneOff:hg,MegaphoneOffIcon:hg,Meh:pg,MehIcon:pg,MemoryStick:yg,MemoryStickIcon:yg,Menu:Ms,MenuIcon:Ms,MenuSquare:Go,MenuSquareIcon:Go,Merge:mg,MergeIcon:mg,MessageCircle:Sg,MessageCircleCode:fg,MessageCircleCodeIcon:fg,MessageCircleDashed:xg,MessageCircleDashedIcon:xg,MessageCircleHeart:kg,MessageCircleHeartIcon:kg,MessageCircleIcon:Sg,MessageCircleMore:gg,MessageCircleMoreIcon:gg,MessageCircleOff:vg,MessageCircleOffIcon:vg,MessageCirclePlus:Mg,MessageCirclePlusIcon:Mg,MessageCircleQuestion:wg,MessageCircleQuestionIcon:wg,MessageCircleReply:bg,MessageCircleReplyIcon:bg,MessageCircleWarning:Cg,MessageCircleWarningIcon:Cg,MessageCircleX:jg,MessageCircleXIcon:jg,MessageSquare:ws,MessageSquareCode:Lg,MessageSquareCodeIcon:Lg,MessageSquareDashed:Ig,MessageSquareDashedIcon:Ig,MessageSquareDiff:Ng,MessageSquareDiffIcon:Ng,MessageSquareDot:Ag,MessageSquareDotIcon:Ag,MessageSquareHeart:Pg,MessageSquareHeartIcon:Pg,MessageSquareIcon:ws,MessageSquareLock:_g,MessageSquareLockIcon:_g,MessageSquareMore:Tg,MessageSquareMoreIcon:Tg,MessageSquareOff:Rg,MessageSquareOffIcon:Rg,MessageSquarePlus:qg,MessageSquarePlusIcon:qg,MessageSquareQuote:Dg,MessageSquareQuoteIcon:Dg,MessageSquareReply:zg,MessageSquareReplyIcon:zg,MessageSquareShare:Fg,MessageSquareShareIcon:Fg,MessageSquareText:Eg,MessageSquareTextIcon:Eg,MessageSquareWarning:Og,MessageSquareWarningIcon:Og,MessageSquareX:Hg,MessageSquareXIcon:Hg,MessagesSquare:Vg,MessagesSquareIcon:Vg,Mic:Ug,Mic2:Un,Mic2Icon:Un,MicIcon:Ug,MicOff:Bg,MicOffIcon:Bg,MicVocal:Un,MicVocalIcon:Un,Microchip:$g,MicrochipIcon:$g,Microscope:Wg,MicroscopeIcon:Wg,Microwave:Gg,MicrowaveIcon:Gg,Milestone:Zg,MilestoneIcon:Zg,Milk:Jg,MilkIcon:Jg,MilkOff:Xg,MilkOffIcon:Xg,Minimize:Kg,Minimize2:Yg,Minimize2Icon:Yg,MinimizeIcon:Kg,Minus:wc,MinusCircle:Kr,MinusCircleIcon:Kr,MinusIcon:wc,MinusSquare:Zo,MinusSquareIcon:Zo,Monitor:h5,MonitorCheck:Qg,MonitorCheckIcon:Qg,MonitorCog:e5,MonitorCogIcon:e5,MonitorDot:t5,MonitorDotIcon:t5,MonitorDown:a5,MonitorDownIcon:a5,MonitorIcon:h5,MonitorOff:r5,MonitorOffIcon:r5,MonitorPause:n5,MonitorPauseIcon:n5,MonitorPlay:o5,MonitorPlayIcon:o5,MonitorSmartphone:i5,MonitorSmartphoneIcon:i5,MonitorSpeaker:s5,MonitorSpeakerIcon:s5,MonitorStop:c5,MonitorStopIcon:c5,MonitorUp:l5,MonitorUpIcon:l5,MonitorX:d5,MonitorXIcon:d5,Moon:p5,MoonIcon:p5,MoonStar:u5,MoonStarIcon:u5,MoreHorizontal:wn,MoreHorizontalIcon:wn,MoreVertical:Mn,MoreVerticalIcon:Mn,Mountain:m5,MountainIcon:m5,MountainSnow:y5,MountainSnowIcon:y5,Mouse:M5,MouseIcon:M5,MouseOff:f5,MouseOffIcon:f5,MousePointer:v5,MousePointer2:x5,MousePointer2Icon:x5,MousePointerBan:k5,MousePointerBanIcon:k5,MousePointerClick:g5,MousePointerClickIcon:g5,MousePointerIcon:v5,MousePointerSquareDashed:Fo,MousePointerSquareDashedIcon:Fo,Move:R5,Move3D:$n,Move3DIcon:$n,Move3d:$n,Move3dIcon:$n,MoveDiagonal:b5,MoveDiagonal2:w5,MoveDiagonal2Icon:w5,MoveDiagonalIcon:b5,MoveDown:S5,MoveDownIcon:S5,MoveDownLeft:C5,MoveDownLeftIcon:C5,MoveDownRight:j5,MoveDownRightIcon:j5,MoveHorizontal:L5,MoveHorizontalIcon:L5,MoveIcon:R5,MoveLeft:I5,MoveLeftIcon:I5,MoveRight:N5,MoveRightIcon:N5,MoveUp:_5,MoveUpIcon:_5,MoveUpLeft:A5,MoveUpLeftIcon:A5,MoveUpRight:P5,MoveUpRightIcon:P5,MoveVertical:T5,MoveVerticalIcon:T5,Music:F5,Music2:q5,Music2Icon:q5,Music3:D5,Music3Icon:D5,Music4:z5,Music4Icon:z5,MusicIcon:F5,Navigation:V5,Navigation2:O5,Navigation2Icon:O5,Navigation2Off:E5,Navigation2OffIcon:E5,NavigationIcon:V5,NavigationOff:H5,NavigationOffIcon:H5,Network:B5,NetworkIcon:B5,Newspaper:Ca,NewspaperIcon:Ca,Nfc:U5,NfcIcon:U5,Notebook:Z5,NotebookIcon:Z5,NotebookPen:$5,NotebookPenIcon:$5,NotebookTabs:W5,NotebookTabsIcon:W5,NotebookText:G5,NotebookTextIcon:G5,NotepadText:J5,NotepadTextDashed:X5,NotepadTextDashedIcon:X5,NotepadTextIcon:J5,Nut:K5,NutIcon:K5,NutOff:Y5,NutOffIcon:Y5,Octagon:e3,OctagonAlert:Wn,OctagonAlertIcon:Wn,OctagonIcon:e3,OctagonMinus:Q5,OctagonMinusIcon:Q5,OctagonPause:Gn,OctagonPauseIcon:Gn,OctagonX:Zn,OctagonXIcon:Zn,Omega:t3,OmegaIcon:t3,Option:a3,OptionIcon:a3,Orbit:r3,OrbitIcon:r3,Origami:n3,OrigamiIcon:n3,Outdent:Fn,OutdentIcon:Fn,Package:u3,Package2:o3,Package2Icon:o3,PackageCheck:i3,PackageCheckIcon:i3,PackageIcon:u3,PackageMinus:s3,PackageMinusIcon:s3,PackageOpen:c3,PackageOpenIcon:c3,PackagePlus:l3,PackagePlusIcon:l3,PackageSearch:d3,PackageSearchIcon:d3,PackageX:h3,PackageXIcon:h3,PaintBucket:p3,PaintBucketIcon:p3,PaintRoller:y3,PaintRollerIcon:y3,Paintbrush:m3,Paintbrush2:Xn,Paintbrush2Icon:Xn,PaintbrushIcon:m3,PaintbrushVertical:Xn,PaintbrushVerticalIcon:Xn,Palette:f3,PaletteIcon:f3,Palmtree:fi,PalmtreeIcon:fi,PanelBottom:g3,PanelBottomClose:x3,PanelBottomCloseIcon:x3,PanelBottomDashed:Jn,PanelBottomDashedIcon:Jn,PanelBottomIcon:g3,PanelBottomInactive:Jn,PanelBottomInactiveIcon:Jn,PanelBottomOpen:k3,PanelBottomOpenIcon:k3,PanelLeft:eo,PanelLeftClose:Yn,PanelLeftCloseIcon:Yn,PanelLeftDashed:Kn,PanelLeftDashedIcon:Kn,PanelLeftIcon:eo,PanelLeftInactive:Kn,PanelLeftInactiveIcon:Kn,PanelLeftOpen:Qn,PanelLeftOpenIcon:Qn,PanelRight:w3,PanelRightClose:v3,PanelRightCloseIcon:v3,PanelRightDashed:to,PanelRightDashedIcon:to,PanelRightIcon:w3,PanelRightInactive:to,PanelRightInactiveIcon:to,PanelRightOpen:M3,PanelRightOpenIcon:M3,PanelTop:j3,PanelTopClose:b3,PanelTopCloseIcon:b3,PanelTopDashed:ao,PanelTopDashedIcon:ao,PanelTopIcon:j3,PanelTopInactive:ao,PanelTopInactiveIcon:ao,PanelTopOpen:C3,PanelTopOpenIcon:C3,PanelsLeftBottom:S3,PanelsLeftBottomIcon:S3,PanelsLeftRight:xn,PanelsLeftRightIcon:xn,PanelsRightBottom:L3,PanelsRightBottomIcon:L3,PanelsTopBottom:ho,PanelsTopBottomIcon:ho,PanelsTopLeft:ro,PanelsTopLeftIcon:ro,Paperclip:I3,PaperclipIcon:I3,Parentheses:N3,ParenthesesIcon:N3,ParkingCircle:en,ParkingCircleIcon:en,ParkingCircleOff:Qr,ParkingCircleOffIcon:Qr,ParkingMeter:A3,ParkingMeterIcon:A3,ParkingSquare:Yo,ParkingSquareIcon:Yo,ParkingSquareOff:Jo,ParkingSquareOffIcon:Jo,PartyPopper:P3,PartyPopperIcon:P3,Pause:_3,PauseCircle:tn,PauseCircleIcon:tn,PauseIcon:_3,PauseOctagon:Gn,PauseOctagonIcon:Gn,PawPrint:T3,PawPrintIcon:T3,PcCase:R3,PcCaseIcon:R3,Pen:oo,PenBox:vt,PenBoxIcon:vt,PenIcon:oo,PenLine:no,PenLineIcon:no,PenOff:q3,PenOffIcon:q3,PenSquare:vt,PenSquareIcon:vt,PenTool:D3,PenToolIcon:D3,Pencil:O3,PencilIcon:O3,PencilLine:z3,PencilLineIcon:z3,PencilOff:F3,PencilOffIcon:F3,PencilRuler:E3,PencilRulerIcon:E3,Pentagon:H3,PentagonIcon:H3,Percent:V3,PercentCircle:an,PercentCircleIcon:an,PercentDiamond:gn,PercentDiamondIcon:gn,PercentIcon:V3,PercentSquare:Ko,PercentSquareIcon:Ko,PersonStanding:B3,PersonStandingIcon:B3,PhilippinePeso:U3,PhilippinePesoIcon:U3,Phone:zi,PhoneCall:$3,PhoneCallIcon:$3,PhoneForwarded:W3,PhoneForwardedIcon:W3,PhoneIcon:zi,PhoneIncoming:G3,PhoneIncomingIcon:G3,PhoneMissed:Z3,PhoneMissedIcon:Z3,PhoneOff:X3,PhoneOffIcon:X3,PhoneOutgoing:J3,PhoneOutgoingIcon:J3,Pi:Y3,PiIcon:Y3,PiSquare:Qo,PiSquareIcon:Qo,Piano:K3,PianoIcon:K3,Pickaxe:Q3,PickaxeIcon:Q3,PictureInPicture:tv,PictureInPicture2:ev,PictureInPicture2Icon:ev,PictureInPictureIcon:tv,PieChart:qr,PieChartIcon:qr,PiggyBank:av,PiggyBankIcon:av,Pilcrow:ov,PilcrowIcon:ov,PilcrowLeft:rv,PilcrowLeftIcon:rv,PilcrowRight:nv,PilcrowRightIcon:nv,PilcrowSquare:ei,PilcrowSquareIcon:ei,Pill:sv,PillBottle:iv,PillBottleIcon:iv,PillIcon:sv,Pin:lv,PinIcon:lv,PinOff:cv,PinOffIcon:cv,Pipette:dv,PipetteIcon:dv,Pizza:hv,PizzaIcon:hv,Plane:yv,PlaneIcon:yv,PlaneLanding:uv,PlaneLandingIcon:uv,PlaneTakeoff:pv,PlaneTakeoffIcon:pv,Play:bc,PlayCircle:rn,PlayCircleIcon:rn,PlayIcon:bc,PlaySquare:ti,PlaySquareIcon:ti,Plug:fv,Plug2:mv,Plug2Icon:mv,PlugIcon:fv,PlugZap:io,PlugZap2:io,PlugZap2Icon:io,PlugZapIcon:io,Plus:Cc,PlusCircle:nn,PlusCircleIcon:nn,PlusIcon:Cc,PlusSquare:ai,PlusSquareIcon:ai,Pocket:kv,PocketIcon:kv,PocketKnife:xv,PocketKnifeIcon:xv,Podcast:gv,PodcastIcon:gv,Pointer:Mv,PointerIcon:Mv,PointerOff:vv,PointerOffIcon:vv,Popcorn:wv,PopcornIcon:wv,Popsicle:bv,PopsicleIcon:bv,PoundSterling:Cv,PoundSterlingIcon:Cv,Power:Sv,PowerCircle:on,PowerCircleIcon:on,PowerIcon:Sv,PowerOff:jv,PowerOffIcon:jv,PowerSquare:ri,PowerSquareIcon:ri,Presentation:Lv,PresentationIcon:Lv,Printer:Nv,PrinterCheck:Iv,PrinterCheckIcon:Iv,PrinterIcon:Nv,Projector:Av,ProjectorIcon:Av,Proportions:Pv,ProportionsIcon:Pv,Puzzle:_v,PuzzleIcon:_v,Pyramid:Tv,PyramidIcon:Tv,QrCode:Rv,QrCodeIcon:Rv,Quote:bs,QuoteIcon:bs,Rabbit:qv,RabbitIcon:qv,Radar:Dv,RadarIcon:Dv,Radiation:zv,RadiationIcon:zv,Radical:Fv,RadicalIcon:Fv,Radio:Hv,RadioIcon:Hv,RadioReceiver:Ev,RadioReceiverIcon:Ev,RadioTower:Ov,RadioTowerIcon:Ov,Radius:Vv,RadiusIcon:Vv,RailSymbol:Bv,RailSymbolIcon:Bv,Rainbow:Uv,RainbowIcon:Uv,Rat:$v,RatIcon:$v,Ratio:Wv,RatioIcon:Wv,Receipt:t6,ReceiptCent:Gv,ReceiptCentIcon:Gv,ReceiptEuro:Zv,ReceiptEuroIcon:Zv,ReceiptIcon:t6,ReceiptIndianRupee:Xv,ReceiptIndianRupeeIcon:Xv,ReceiptJapaneseYen:Jv,ReceiptJapaneseYenIcon:Jv,ReceiptPoundSterling:Yv,ReceiptPoundSterlingIcon:Yv,ReceiptRussianRuble:Kv,ReceiptRussianRubleIcon:Kv,ReceiptSwissFranc:Qv,ReceiptSwissFrancIcon:Qv,ReceiptText:e6,ReceiptTextIcon:e6,RectangleEllipsis:so,RectangleEllipsisIcon:so,RectangleHorizontal:a6,RectangleHorizontalIcon:a6,RectangleVertical:r6,RectangleVerticalIcon:r6,Recycle:n6,RecycleIcon:n6,Redo:s6,Redo2:o6,Redo2Icon:o6,RedoDot:i6,RedoDotIcon:i6,RedoIcon:s6,RefreshCcw:l6,RefreshCcwDot:c6,RefreshCcwDotIcon:c6,RefreshCcwIcon:l6,RefreshCw:h6,RefreshCwIcon:h6,RefreshCwOff:d6,RefreshCwOffIcon:d6,Refrigerator:u6,RefrigeratorIcon:u6,Regex:p6,RegexIcon:p6,RemoveFormatting:y6,RemoveFormattingIcon:y6,Repeat:x6,Repeat1:m6,Repeat1Icon:m6,Repeat2:f6,Repeat2Icon:f6,RepeatIcon:x6,Replace:g6,ReplaceAll:k6,ReplaceAllIcon:k6,ReplaceIcon:g6,Reply:M6,ReplyAll:v6,ReplyAllIcon:v6,ReplyIcon:M6,Rewind:w6,RewindIcon:w6,Ribbon:b6,RibbonIcon:b6,Rocket:C6,RocketIcon:C6,RockingChair:j6,RockingChairIcon:j6,RollerCoaster:S6,RollerCoasterIcon:S6,Rotate3D:co,Rotate3DIcon:co,Rotate3d:co,Rotate3dIcon:co,RotateCcw:I6,RotateCcwIcon:I6,RotateCcwSquare:L6,RotateCcwSquareIcon:L6,RotateCw:A6,RotateCwIcon:A6,RotateCwSquare:N6,RotateCwSquareIcon:N6,Route:_6,RouteIcon:_6,RouteOff:P6,RouteOffIcon:P6,Router:T6,RouterIcon:T6,Rows:lo,Rows2:lo,Rows2Icon:lo,Rows3:ho,Rows3Icon:ho,Rows4:R6,Rows4Icon:R6,RowsIcon:lo,Rss:q6,RssIcon:q6,Ruler:D6,RulerIcon:D6,RussianRuble:z6,RussianRubleIcon:z6,Sailboat:F6,SailboatIcon:F6,Salad:E6,SaladIcon:E6,Sandwich:O6,SandwichIcon:O6,Satellite:V6,SatelliteDish:H6,SatelliteDishIcon:H6,SatelliteIcon:V6,Save:$6,SaveAll:B6,SaveAllIcon:B6,SaveIcon:$6,SaveOff:U6,SaveOffIcon:U6,Scale:W6,Scale3D:uo,Scale3DIcon:uo,Scale3d:uo,Scale3dIcon:uo,ScaleIcon:W6,Scaling:G6,ScalingIcon:G6,Scan:t8,ScanBarcode:Z6,ScanBarcodeIcon:Z6,ScanEye:X6,ScanEyeIcon:X6,ScanFace:J6,ScanFaceIcon:J6,ScanIcon:t8,ScanLine:Y6,ScanLineIcon:Y6,ScanQrCode:K6,ScanQrCodeIcon:K6,ScanSearch:Q6,ScanSearchIcon:Q6,ScanText:e8,ScanTextIcon:e8,ScatterChart:Dr,ScatterChartIcon:Dr,School:a8,School2:gi,School2Icon:gi,SchoolIcon:a8,Scissors:n8,ScissorsIcon:n8,ScissorsLineDashed:r8,ScissorsLineDashedIcon:r8,ScissorsSquare:ni,ScissorsSquareDashedBottom:No,ScissorsSquareDashedBottomIcon:No,ScissorsSquareIcon:ni,ScreenShare:i8,ScreenShareIcon:i8,ScreenShareOff:o8,ScreenShareOffIcon:o8,Scroll:c8,ScrollIcon:c8,ScrollText:s8,ScrollTextIcon:s8,Search:Et,SearchCheck:l8,SearchCheckIcon:l8,SearchCode:d8,SearchCodeIcon:d8,SearchIcon:Et,SearchSlash:h8,SearchSlashIcon:h8,SearchX:u8,SearchXIcon:u8,Section:p8,SectionIcon:p8,Send:jc,SendHorizonal:po,SendHorizonalIcon:po,SendHorizontal:po,SendHorizontalIcon:po,SendIcon:jc,SendToBack:y8,SendToBackIcon:y8,SeparatorHorizontal:m8,SeparatorHorizontalIcon:m8,SeparatorVertical:f8,SeparatorVerticalIcon:f8,Server:v8,ServerCog:x8,ServerCogIcon:x8,ServerCrash:k8,ServerCrashIcon:k8,ServerIcon:v8,ServerOff:g8,ServerOffIcon:g8,Settings:Cs,Settings2:M8,Settings2Icon:M8,SettingsIcon:Cs,Shapes:w8,ShapesIcon:w8,Share:b8,Share2:js,Share2Icon:js,ShareIcon:b8,Sheet:C8,SheetIcon:C8,Shell:j8,ShellIcon:j8,Shield:Sc,ShieldAlert:S8,ShieldAlertIcon:S8,ShieldBan:L8,ShieldBanIcon:L8,ShieldCheck:I8,ShieldCheckIcon:I8,ShieldClose:yo,ShieldCloseIcon:yo,ShieldEllipsis:N8,ShieldEllipsisIcon:N8,ShieldHalf:A8,ShieldHalfIcon:A8,ShieldIcon:Sc,ShieldMinus:P8,ShieldMinusIcon:P8,ShieldOff:_8,ShieldOffIcon:_8,ShieldPlus:T8,ShieldPlusIcon:T8,ShieldQuestion:R8,ShieldQuestionIcon:R8,ShieldX:yo,ShieldXIcon:yo,Ship:D8,ShipIcon:D8,ShipWheel:q8,ShipWheelIcon:q8,Shirt:z8,ShirtIcon:z8,ShoppingBag:F8,ShoppingBagIcon:F8,ShoppingBasket:E8,ShoppingBasketIcon:E8,ShoppingCart:Ss,ShoppingCartIcon:Ss,Shovel:O8,ShovelIcon:O8,ShowerHead:H8,ShowerHeadIcon:H8,Shrink:V8,ShrinkIcon:V8,Shrub:B8,ShrubIcon:B8,Shuffle:U8,ShuffleIcon:U8,Sidebar:eo,SidebarClose:Yn,SidebarCloseIcon:Yn,SidebarIcon:eo,SidebarOpen:Qn,SidebarOpenIcon:Qn,Sigma:$8,SigmaIcon:$8,SigmaSquare:oi,SigmaSquareIcon:oi,Signal:Lc,SignalHigh:W8,SignalHighIcon:W8,SignalIcon:Lc,SignalLow:G8,SignalLowIcon:G8,SignalMedium:Z8,SignalMediumIcon:Z8,SignalZero:X8,SignalZeroIcon:X8,Signature:J8,SignatureIcon:J8,Signpost:K8,SignpostBig:Y8,SignpostBigIcon:Y8,SignpostIcon:K8,Siren:Q8,SirenIcon:Q8,SkipBack:e7,SkipBackIcon:e7,SkipForward:t7,SkipForwardIcon:t7,Skull:a7,SkullIcon:a7,Slack:r7,SlackIcon:r7,Slash:n7,SlashIcon:n7,SlashSquare:ii,SlashSquareIcon:ii,Slice:o7,SliceIcon:o7,Sliders:mo,SlidersHorizontal:Ua,SlidersHorizontalIcon:Ua,SlidersIcon:mo,SlidersVertical:mo,SlidersVerticalIcon:mo,Smartphone:c7,SmartphoneCharging:i7,SmartphoneChargingIcon:i7,SmartphoneIcon:c7,SmartphoneNfc:s7,SmartphoneNfcIcon:s7,Smile:d7,SmileIcon:d7,SmilePlus:l7,SmilePlusIcon:l7,Snail:h7,SnailIcon:h7,Snowflake:u7,SnowflakeIcon:u7,Sofa:p7,SofaIcon:p7,SortAsc:fr,SortAscIcon:fr,SortDesc:pr,SortDescIcon:pr,Soup:y7,SoupIcon:y7,Space:m7,SpaceIcon:m7,Spade:f7,SpadeIcon:f7,Sparkle:x7,SparkleIcon:x7,Sparkles:fo,SparklesIcon:fo,Speaker:k7,SpeakerIcon:k7,Speech:g7,SpeechIcon:g7,SpellCheck:M7,SpellCheck2:v7,SpellCheck2Icon:v7,SpellCheckIcon:M7,Spline:w7,SplineIcon:w7,Split:b7,SplitIcon:b7,SplitSquareHorizontal:si,SplitSquareHorizontalIcon:si,SplitSquareVertical:ci,SplitSquareVerticalIcon:ci,SprayCan:C7,SprayCanIcon:C7,Sprout:j7,SproutIcon:j7,Square:P7,SquareActivity:xo,SquareActivityIcon:xo,SquareArrowDown:vo,SquareArrowDownIcon:vo,SquareArrowDownLeft:ko,SquareArrowDownLeftIcon:ko,SquareArrowDownRight:go,SquareArrowDownRightIcon:go,SquareArrowLeft:ka,SquareArrowLeftIcon:ka,SquareArrowOutDownLeft:Mo,SquareArrowOutDownLeftIcon:Mo,SquareArrowOutDownRight:wo,SquareArrowOutDownRightIcon:wo,SquareArrowOutUpLeft:bo,SquareArrowOutUpLeftIcon:bo,SquareArrowOutUpRight:Co,SquareArrowOutUpRightIcon:Co,SquareArrowRight:ga,SquareArrowRightIcon:ga,SquareArrowUp:Lo,SquareArrowUpIcon:Lo,SquareArrowUpLeft:jo,SquareArrowUpLeftIcon:jo,SquareArrowUpRight:So,SquareArrowUpRightIcon:So,SquareAsterisk:Io,SquareAsteriskIcon:Io,SquareBottomDashedScissors:No,SquareBottomDashedScissorsIcon:No,SquareChartGantt:Qt,SquareChartGanttIcon:Qt,SquareCheck:Po,SquareCheckBig:Ao,SquareCheckBigIcon:Ao,SquareCheckIcon:Po,SquareChevronDown:_o,SquareChevronDownIcon:_o,SquareChevronLeft:To,SquareChevronLeftIcon:To,SquareChevronRight:Ro,SquareChevronRightIcon:Ro,SquareChevronUp:qo,SquareChevronUpIcon:qo,SquareCode:Do,SquareCodeIcon:Do,SquareDashed:Eo,SquareDashedBottom:L7,SquareDashedBottomCode:S7,SquareDashedBottomCodeIcon:S7,SquareDashedBottomIcon:L7,SquareDashedIcon:Eo,SquareDashedKanban:zo,SquareDashedKanbanIcon:zo,SquareDashedMousePointer:Fo,SquareDashedMousePointerIcon:Fo,SquareDivide:Oo,SquareDivideIcon:Oo,SquareDot:Ho,SquareDotIcon:Ho,SquareEqual:Vo,SquareEqualIcon:Vo,SquareFunction:Bo,SquareFunctionIcon:Bo,SquareGanttChart:Qt,SquareGanttChartIcon:Qt,SquareIcon:P7,SquareKanban:Uo,SquareKanbanIcon:Uo,SquareLibrary:$o,SquareLibraryIcon:$o,SquareM:Wo,SquareMIcon:Wo,SquareMenu:Go,SquareMenuIcon:Go,SquareMinus:Zo,SquareMinusIcon:Zo,SquareMousePointer:Xo,SquareMousePointerIcon:Xo,SquareParking:Yo,SquareParkingIcon:Yo,SquareParkingOff:Jo,SquareParkingOffIcon:Jo,SquarePen:vt,SquarePenIcon:vt,SquarePercent:Ko,SquarePercentIcon:Ko,SquarePi:Qo,SquarePiIcon:Qo,SquarePilcrow:ei,SquarePilcrowIcon:ei,SquarePlay:ti,SquarePlayIcon:ti,SquarePlus:ai,SquarePlusIcon:ai,SquarePower:ri,SquarePowerIcon:ri,SquareRadical:I7,SquareRadicalIcon:I7,SquareScissors:ni,SquareScissorsIcon:ni,SquareSigma:oi,SquareSigmaIcon:oi,SquareSlash:ii,SquareSlashIcon:ii,SquareSplitHorizontal:si,SquareSplitHorizontalIcon:si,SquareSplitVertical:ci,SquareSplitVerticalIcon:ci,SquareSquare:N7,SquareSquareIcon:N7,SquareStack:A7,SquareStackIcon:A7,SquareTerminal:li,SquareTerminalIcon:li,SquareUser:hi,SquareUserIcon:hi,SquareUserRound:di,SquareUserRoundIcon:di,SquareX:ui,SquareXIcon:ui,Squircle:_7,SquircleIcon:_7,Squirrel:T7,SquirrelIcon:T7,Stamp:R7,StampIcon:R7,Star:Rt,StarHalf:q7,StarHalfIcon:q7,StarIcon:Rt,StarOff:D7,StarOffIcon:D7,Stars:fo,StarsIcon:fo,StepBack:z7,StepBackIcon:z7,StepForward:F7,StepForwardIcon:F7,Stethoscope:E7,StethoscopeIcon:E7,Sticker:O7,StickerIcon:O7,StickyNote:H7,StickyNoteIcon:H7,StopCircle:cn,StopCircleIcon:cn,Store:V7,StoreIcon:V7,StretchHorizontal:B7,StretchHorizontalIcon:B7,StretchVertical:U7,StretchVerticalIcon:U7,Strikethrough:$7,StrikethroughIcon:$7,Subscript:W7,SubscriptIcon:W7,Subtitles:Cr,SubtitlesIcon:Cr,Sun:Y7,SunDim:G7,SunDimIcon:G7,SunIcon:Y7,SunMedium:Z7,SunMediumIcon:Z7,SunMoon:X7,SunMoonIcon:X7,SunSnow:J7,SunSnowIcon:J7,Sunrise:K7,SunriseIcon:K7,Sunset:Q7,SunsetIcon:Q7,Superscript:eM,SuperscriptIcon:eM,SwatchBook:tM,SwatchBookIcon:tM,SwissFranc:aM,SwissFrancIcon:aM,SwitchCamera:rM,SwitchCameraIcon:rM,Sword:nM,SwordIcon:nM,Swords:oM,SwordsIcon:oM,Syringe:iM,SyringeIcon:iM,Table:yM,Table2:sM,Table2Icon:sM,TableCellsMerge:cM,TableCellsMergeIcon:cM,TableCellsSplit:lM,TableCellsSplitIcon:lM,TableColumnsSplit:dM,TableColumnsSplitIcon:dM,TableIcon:yM,TableOfContents:hM,TableOfContentsIcon:hM,TableProperties:uM,TablePropertiesIcon:uM,TableRowsSplit:pM,TableRowsSplitIcon:pM,Tablet:fM,TabletIcon:fM,TabletSmartphone:mM,TabletSmartphoneIcon:mM,Tablets:xM,TabletsIcon:xM,Tag:kM,TagIcon:kM,Tags:gM,TagsIcon:gM,Tally1:vM,Tally1Icon:vM,Tally2:MM,Tally2Icon:MM,Tally3:wM,Tally3Icon:wM,Tally4:bM,Tally4Icon:bM,Tally5:CM,Tally5Icon:CM,Tangent:jM,TangentIcon:jM,Target:SM,TargetIcon:SM,Telescope:LM,TelescopeIcon:LM,Tent:NM,TentIcon:NM,TentTree:IM,TentTreeIcon:IM,Terminal:AM,TerminalIcon:AM,TerminalSquare:li,TerminalSquareIcon:li,TestTube:PM,TestTube2:pi,TestTube2Icon:pi,TestTubeDiagonal:pi,TestTubeDiagonalIcon:pi,TestTubeIcon:PM,TestTubes:_M,TestTubesIcon:_M,Text:zM,TextCursor:RM,TextCursorIcon:RM,TextCursorInput:TM,TextCursorInputIcon:TM,TextIcon:zM,TextQuote:qM,TextQuoteIcon:qM,TextSearch:DM,TextSearchIcon:DM,TextSelect:yi,TextSelectIcon:yi,TextSelection:yi,TextSelectionIcon:yi,Theater:FM,TheaterIcon:FM,Thermometer:HM,ThermometerIcon:HM,ThermometerSnowflake:EM,ThermometerSnowflakeIcon:EM,ThermometerSun:OM,ThermometerSunIcon:OM,ThumbsDown:VM,ThumbsDownIcon:VM,ThumbsUp:BM,ThumbsUpIcon:BM,Ticket:JM,TicketCheck:UM,TicketCheckIcon:UM,TicketIcon:JM,TicketMinus:$M,TicketMinusIcon:$M,TicketPercent:WM,TicketPercentIcon:WM,TicketPlus:GM,TicketPlusIcon:GM,TicketSlash:ZM,TicketSlashIcon:ZM,TicketX:XM,TicketXIcon:XM,Tickets:KM,TicketsIcon:KM,TicketsPlane:YM,TicketsPlaneIcon:YM,Timer:tw,TimerIcon:tw,TimerOff:QM,TimerOffIcon:QM,TimerReset:ew,TimerResetIcon:ew,ToggleLeft:aw,ToggleLeftIcon:aw,ToggleRight:rw,ToggleRightIcon:rw,Tornado:nw,TornadoIcon:nw,Torus:ow,TorusIcon:ow,Touchpad:sw,TouchpadIcon:sw,TouchpadOff:iw,TouchpadOffIcon:iw,TowerControl:cw,TowerControlIcon:cw,ToyBrick:lw,ToyBrickIcon:lw,Tractor:dw,TractorIcon:dw,TrafficCone:hw,TrafficConeIcon:hw,Train:mi,TrainFront:pw,TrainFrontIcon:pw,TrainFrontTunnel:uw,TrainFrontTunnelIcon:uw,TrainIcon:mi,TrainTrack:yw,TrainTrackIcon:yw,TramFront:mi,TramFrontIcon:mi,Trash:mw,Trash2:Ic,Trash2Icon:Ic,TrashIcon:mw,TreeDeciduous:fw,TreeDeciduousIcon:fw,TreePalm:fi,TreePalmIcon:fi,TreePine:xw,TreePineIcon:xw,Trees:kw,TreesIcon:kw,Trello:gw,TrelloIcon:gw,TrendingDown:vw,TrendingDownIcon:vw,TrendingUp:Fi,TrendingUpDown:Mw,TrendingUpDownIcon:Mw,TrendingUpIcon:Fi,Triangle:bw,TriangleAlert:xi,TriangleAlertIcon:xi,TriangleIcon:bw,TriangleRight:ww,TriangleRightIcon:ww,Trophy:Cw,TrophyIcon:Cw,Truck:jw,TruckIcon:jw,Turtle:Sw,TurtleIcon:Sw,Tv:Iw,Tv2:ki,Tv2Icon:ki,TvIcon:Iw,TvMinimal:ki,TvMinimalIcon:ki,TvMinimalPlay:Lw,TvMinimalPlayIcon:Lw,Twitch:Nw,TwitchIcon:Nw,Twitter:Aw,TwitterIcon:Aw,Type:_w,TypeIcon:_w,TypeOutline:Pw,TypeOutlineIcon:Pw,Umbrella:Rw,UmbrellaIcon:Rw,UmbrellaOff:Tw,UmbrellaOffIcon:Tw,Underline:qw,UnderlineIcon:qw,Undo:Fw,Undo2:Dw,Undo2Icon:Dw,UndoDot:zw,UndoDotIcon:zw,UndoIcon:Fw,UnfoldHorizontal:Ew,UnfoldHorizontalIcon:Ew,UnfoldVertical:Ow,UnfoldVerticalIcon:Ow,Ungroup:Hw,UngroupIcon:Hw,University:gi,UniversityIcon:gi,Unlink:Bw,Unlink2:Vw,Unlink2Icon:Vw,UnlinkIcon:Bw,Unlock:Bn,UnlockIcon:Bn,UnlockKeyhole:Vn,UnlockKeyholeIcon:Vn,Unplug:Uw,UnplugIcon:Uw,Upload:Ls,UploadCloud:yn,UploadCloudIcon:yn,UploadIcon:Ls,Usb:$w,UsbIcon:$w,User:Nc,User2:ji,User2Icon:ji,UserCheck:Ww,UserCheck2:vi,UserCheck2Icon:vi,UserCheckIcon:Ww,UserCircle:dn,UserCircle2:ln,UserCircle2Icon:ln,UserCircleIcon:dn,UserCog:Gw,UserCog2:Mi,UserCog2Icon:Mi,UserCogIcon:Gw,UserIcon:Nc,UserMinus:Zw,UserMinus2:wi,UserMinus2Icon:wi,UserMinusIcon:Zw,UserPen:Xw,UserPenIcon:Xw,UserPlus:Jw,UserPlus2:bi,UserPlus2Icon:bi,UserPlusIcon:Jw,UserRound:ji,UserRoundCheck:vi,UserRoundCheckIcon:vi,UserRoundCog:Mi,UserRoundCogIcon:Mi,UserRoundIcon:ji,UserRoundMinus:wi,UserRoundMinusIcon:wi,UserRoundPen:Yw,UserRoundPenIcon:Yw,UserRoundPlus:bi,UserRoundPlusIcon:bi,UserRoundSearch:Kw,UserRoundSearchIcon:Kw,UserRoundX:Ci,UserRoundXIcon:Ci,UserSearch:Qw,UserSearchIcon:Qw,UserSquare:hi,UserSquare2:di,UserSquare2Icon:di,UserSquareIcon:hi,UserX:e9,UserX2:Ci,UserX2Icon:Ci,UserXIcon:e9,Users:ja,Users2:Si,Users2Icon:Si,UsersIcon:ja,UsersRound:Si,UsersRoundIcon:Si,Utensils:Ii,UtensilsCrossed:Li,UtensilsCrossedIcon:Li,UtensilsIcon:Ii,UtilityPole:t9,UtilityPoleIcon:t9,Variable:a9,VariableIcon:a9,Vault:r9,VaultIcon:r9,Vegan:n9,VeganIcon:n9,VenetianMask:o9,VenetianMaskIcon:o9,Verified:gr,VerifiedIcon:gr,Vibrate:s9,VibrateIcon:s9,VibrateOff:i9,VibrateOffIcon:i9,Video:l9,VideoIcon:l9,VideoOff:c9,VideoOffIcon:c9,Videotape:d9,VideotapeIcon:d9,View:h9,ViewIcon:h9,Voicemail:u9,VoicemailIcon:u9,Volleyball:p9,VolleyballIcon:p9,Volume:k9,Volume1:y9,Volume1Icon:y9,Volume2:m9,Volume2Icon:m9,VolumeIcon:k9,VolumeOff:f9,VolumeOffIcon:f9,VolumeX:x9,VolumeXIcon:x9,Vote:g9,VoteIcon:g9,Wallet:M9,Wallet2:Ni,Wallet2Icon:Ni,WalletCards:v9,WalletCardsIcon:v9,WalletIcon:M9,WalletMinimal:Ni,WalletMinimalIcon:Ni,Wallpaper:w9,WallpaperIcon:w9,Wand:b9,Wand2:Ai,Wand2Icon:Ai,WandIcon:b9,WandSparkles:Ai,WandSparklesIcon:Ai,Warehouse:C9,WarehouseIcon:C9,WashingMachine:j9,WashingMachineIcon:j9,Watch:S9,WatchIcon:S9,Waves:L9,WavesIcon:L9,Waypoints:I9,WaypointsIcon:I9,Webcam:N9,WebcamIcon:N9,Webhook:P9,WebhookIcon:P9,WebhookOff:A9,WebhookOffIcon:A9,Weight:_9,WeightIcon:_9,Wheat:R9,WheatIcon:R9,WheatOff:T9,WheatOffIcon:T9,WholeWord:q9,WholeWordIcon:q9,Wifi:O9,WifiHigh:D9,WifiHighIcon:D9,WifiIcon:O9,WifiLow:z9,WifiLowIcon:z9,WifiOff:F9,WifiOffIcon:F9,WifiZero:E9,WifiZeroIcon:E9,Wind:H9,WindIcon:H9,Wine:B9,WineIcon:B9,WineOff:V9,WineOffIcon:V9,Workflow:U9,WorkflowIcon:U9,Worm:$9,WormIcon:$9,WrapText:W9,WrapTextIcon:W9,Wrench:G9,WrenchIcon:G9,X:Xt,XCircle:ta,XCircleIcon:ta,XIcon:Xt,XOctagon:Zn,XOctagonIcon:Zn,XSquare:ui,XSquareIcon:ui,Youtube:Z9,YoutubeIcon:Z9,Zap:J9,ZapIcon:J9,ZapOff:X9,ZapOffIcon:X9,ZoomIn:Y9,ZoomInIcon:Y9,ZoomOut:K9,ZoomOutIcon:K9,createLucideIcon:s,icons:WR},Symbol.toStringTag,{value:"Module"}));function ZR({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 g=r??"en",f=t.map(async v=>(await fetch(`${u}/api/v1/promotions/?ids=${v}`,{method:"GET",headers:{"Accept-Language":g,"Content-Type":"application/json"}})).json()),x=await Promise.all(f);l(x)}catch{}})()},[t,u,r]);const p=m=>{const g=new CustomEvent("planSelected",{bubbles:!0,detail:{plan:m,tabType:d,timestamp:new Date().toISOString()}}),f=document.querySelector(".group-prices-component");f&&f.dispatchEvent(g)},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(Ji,{defaultValue:"tab-0",className:"w-full",onValueChange:m=>h(m),children:[a.jsx(Ka,{className:y,children:e.map((m,g)=>a.jsx(be,{value:`tab-${g}`,children:m},g))}),c.map((m,g)=>a.jsx(Ce,{value:`tab-${g}`,children:a.jsx("div",{className:"grid gap-8 sm:grid-cols-2 lg:grid-cols-3",children:m.map((f,x)=>a.jsxs(ge,{className:"flex flex-col",children:[a.jsxs(_e,{children:[a.jsx(Te,{children:f.title}),a.jsx(Be,{children:f.short_description})]}),a.jsxs(we,{className:"flex-1",children:[a.jsxs("p",{className:"text-3xl font-bold",children:["€",f.price]}),a.jsx("ul",{className:"mt-4 space-y-2",children:f.features&&f.features.map((v,M)=>a.jsxs("li",{className:"flex items-center",children:[a.jsx(fs,{className:"mr-2 h-4 w-4 text-primary"})," ",v]},M))})]}),a.jsx(Rs,{children:a.jsx(O,{onClick:()=>p(f),className:"w-full bg-primary text-primary-foreground hover:bg-primary/90",children:i})})]},x))})},g))]})]})})}function XR({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:oe("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(Xt,{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 fa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function MI(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 Lt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},qs={duration:.5,overwrite:!1,delay:0},uj,st,De,qt=1e8,Ae=1/qt,_C=Math.PI*2,JR=_C/4,YR=0,wI=Math.sqrt,KR=Math.cos,QR=Math.sin,Ke=function(e){return typeof e=="string"},Ue=function(e){return typeof e=="function"},Sa=function(e){return typeof e=="number"},pj=function(e){return typeof e>"u"},da=function(e){return typeof e=="object"},yt=function(e){return e!==!1},yj=function(){return typeof window<"u"},e1=function(e){return Ue(e)||Ke(e)},bI=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},ct=Array.isArray,TC=/(?:-?\.?\d|\.)+/gi,CI=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ds=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,tC=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,jI=/[+-]=-?[.\d]+/,SI=/[^,'"\[\]\s]+/gi,eq=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Ee,ea,RC,mj,Nt={},sb={},LI,II=function(e){return(sb=Bi(e,Nt))&&kt},fj=function(e,r){return console.warn("Invalid property",e,"set to",r,"Missing plugin? gsap.registerPlugin()")},Dc=function(e,r){return!r&&console.warn(e)},NI=function(e,r){return e&&(Nt[e]=r)&&sb&&(sb[e]=r)||Nt},zc=function(){return 0},tq={suppressEvents:!0,isStart:!0,kill:!1},Q9={suppressEvents:!0,kill:!1},aq={suppressEvents:!0},xj={},$a=[],qC={},AI,Mt={},aC={},SS=30,eb=[],kj="",gj=function(e){var r=e[0],n,o;if(da(r)||Ue(r)||(e=[e]),!(n=(r._gsap||{}).harness)){for(o=eb.length;o--&&!eb[o].targetTest(r););n=eb[o]}for(o=e.length;o--;)e[o]&&(e[o]._gsap||(e[o]._gsap=new eN(e[o],n)))||e.splice(o,1);return e},Ei=function(e){return e._gsap||gj(Dt(e))[0]._gsap},PI=function(e,r,n){return(n=e[r])&&Ue(n)?e[r]():pj(n)&&e.getAttribute&&e.getAttribute(r)||n},mt=function(e,r){return(e=e.split(",")).forEach(r)||e},We=function(e){return Math.round(e*1e5)/1e5||0},Je=function(e){return Math.round(e*1e7)/1e7||0},Is=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},rq=function(e,r){for(var n=r.length,o=0;e.indexOf(r[o])<0&&++o<n;);return o<n},cb=function(){var e=$a.length,r=$a.slice(0),n,o;for(qC={},$a.length=0,n=0;n<e;n++)o=r[n],o&&o._lazy&&(o.render(o._lazy[0],o._lazy[1],!0)._lazy=0)},_I=function(e,r,n,o){$a.length&&!st&&cb(),e.render(r,n,st&&r<0&&(e._initted||e._startAt)),$a.length&&!st&&cb()},TI=function(e){var r=parseFloat(e);return(r||r===0)&&(e+"").match(SI).length<2?r:Ke(e)?e.trim():e},RI=function(e){return e},Ot=function(e,r){for(var n in r)n in e||(e[n]=r[n]);return e},nq=function(e){return function(r,n){for(var o in n)o in r||o==="duration"&&e||o==="ease"||(r[o]=n[o])}},Bi=function(e,r){for(var n in r)e[n]=r[n];return e},LS=function t(e,r){for(var n in r)n!=="__proto__"&&n!=="constructor"&&n!=="prototype"&&(e[n]=da(r[n])?t(e[n]||(e[n]={}),r[n]):r[n]);return e},lb=function(e,r){var n={},o;for(o in e)o in r||(n[o]=e[o]);return n},Ac=function(e){var r=e.parent||Ee,n=e.keyframes?nq(ct(e.keyframes)):Ot;if(yt(e.inherit))for(;r;)n(e,r.vars.defaults),r=r.parent||r._dp;return e},oq=function(e,r){for(var n=e.length,o=n===r.length;o&&n--&&e[n]===r[n];);return n<0},qI=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},Sb=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},Za=function(e,r){e.parent&&(!r||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Oi=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},iq=function(e){for(var r=e.parent;r&&r.parent;)r._dirty=1,r.totalDuration(),r=r.parent;return e},DC=function(e,r,n,o){return e._startAt&&(st?e._startAt.revert(Q9):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(r,!0,o))},sq=function t(e){return!e||e._ts&&t(e.parent)},IS=function(e){return e._repeat?Ds(e._tTime,e=e.duration()+e._rDelay)*e:0},Ds=function(e,r){var n=Math.floor(e/=r);return e&&n===e?n-1:n},db=function(e,r){return(e-r._start)*r._ts+(r._ts>=0?0:r._dirty?r.totalDuration():r._tDur)},Lb=function(e){return e._end=Je(e._start+(e._tDur/Math.abs(e._ts||e._rts||Ae)||0))},Ib=function(e,r){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=Je(n._time-(e._ts>0?r/e._ts:((e._dirty?e.totalDuration():e._tDur)-r)/-e._ts)),Lb(e),n._dirty||Oi(n,e)),e},DI=function(e,r){var n;if((r._time||!r._dur&&r._initted||r._start<e._time&&(r._dur||!r.add))&&(n=db(e.rawTime(),r),(!r._dur||Zc(0,r.totalDuration(),n)-r._tTime>Ae)&&r.render(n,!0)),Oi(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=-Ae}},aa=function(e,r,n,o){return r.parent&&Za(r),r._start=Je((Sa(n)?n:n||e!==Ee?Tt(e,n,r):e._time)+r._delay),r._end=Je(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),qI(e,r,"_first","_last",e._sort?"_start":0),zC(r)||(e._recent=r),o||DI(e,r),e._ts<0&&Ib(e,e._tTime),e},zI=function(e,r){return(Nt.ScrollTrigger||fj("scrollTrigger",r))&&Nt.ScrollTrigger.create(r,e)},FI=function(e,r,n,o,i){if(Mj(e,r,i),!e._initted)return 1;if(!n&&e._pt&&!st&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&AI!==jt.frame)return $a.push(e),e._lazy=[i,o],1},cq=function t(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||t(r))},zC=function(e){var r=e.data;return r==="isFromStart"||r==="isStart"},lq=function(e,r,n,o){var i=e.ratio,c=r<0||!r&&(!e._start&&cq(e)&&!(!e._initted&&zC(e))||(e._ts<0||e._dp._ts<0)&&!zC(e))?0:1,l=e._rDelay,d=0,h,u,p;if(l&&e._repeat&&(d=Zc(0,e._tDur,r),u=Ds(d,l),e._yoyo&&u&1&&(c=1-c),u!==Ds(e._tTime,l)&&(i=1-c,e.vars.repeatRefresh&&e._initted&&e.invalidate())),c!==i||st||o||e._zTime===Ae||!r&&e._zTime){if(!e._initted&&FI(e,r,o,n,d))return;for(p=e._zTime,e._zTime=r||(n?Ae: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&&DC(e,r,n,!0),e._onUpdate&&!n&&St(e,"onUpdate"),d&&e._repeat&&!n&&e.parent&&St(e,"onRepeat"),(r>=e._tDur||r<0)&&e.ratio===c&&(c&&Za(e,1),!n&&!st&&(St(e,c?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=r)},dq=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}},zs=function(e,r,n,o){var i=e._repeat,c=Je(r)||0,l=e._tTime/e._tDur;return l&&!o&&(e._time*=c/e._dur),e._dur=c,e._tDur=i?i<0?1e10:Je(c*(i+1)+e._rDelay*i):c,l>0&&!o&&Ib(e,e._tTime=e._tDur*l),e.parent&&Lb(e),n||Oi(e.parent,e),e},NS=function(e){return e instanceof ht?Oi(e):zs(e,e._dur)},hq={_start:0,endTime:zc,totalDuration:zc},Tt=function t(e,r,n){var o=e.labels,i=e._recent||hq,c=e.duration()>=qt?i.endTime(!1):e._dur,l,d,h;return Ke(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*(ct(n)?n[0]:n).totalDuration()),l>1?t(e,r.substr(0,l-1),n)+d:c+d)):r==null?c:+r},Pc=function(e,r,n){var o=Sa(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=yt(d.vars.inherit)&&d.parent;c.immediateRender=yt(l.immediateRender),e<2?c.runBackwards=1:c.startAt=r[i-1]}return new Ze(r[0],c,r[i+1])},Qa=function(e,r){return e||e===0?r(e):r},Zc=function(e,r,n){return n<e?e:n>r?r:n},it=function(e,r){return!Ke(e)||!(r=eq.exec(e))?"":r[1]},uq=function(e,r,n){return Qa(n,function(o){return Zc(e,r,o)})},FC=[].slice,EI=function(e,r){return e&&da(e)&&"length"in e&&(!r&&!e.length||e.length-1 in e&&da(e[0]))&&!e.nodeType&&e!==ea},pq=function(e,r,n){return n===void 0&&(n=[]),e.forEach(function(o){var i;return Ke(o)&&!r||EI(o,1)?(i=n).push.apply(i,Dt(o)):n.push(o)})||n},Dt=function(e,r,n){return De&&!r&&De.selector?De.selector(e):Ke(e)&&!n&&(RC||!Fs())?FC.call((r||mj).querySelectorAll(e),0):ct(e)?pq(e,n):EI(e)?FC.call(e,0):e?[e]:[]},EC=function(e){return e=Dt(e)[0]||Dc("Invalid scope")||{},function(r){var n=e.current||e.nativeElement||e;return Dt(r,n.querySelectorAll?n:n===e?Dc("Invalid scope")||mj.createElement("div"):e)}},OI=function(e){return e.sort(function(){return .5-Math.random()})},HI=function(e){if(Ue(e))return e;var r=da(e)?e:{each:e},n=Hi(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 Ke(o)?u=p={center:.5,edges:.5,end:1}[o]||0:!l&&d&&(u=o[0],p=o[1]),function(y,m,v){var f=(v||r).length,x=c[f],g,M,w,j,b,I,S,A,N;if(!x){if(N=r.grid==="auto"?0:(r.grid||[1,qt])[1],!N){for(S=-qt;S<(S=v[N++].getBoundingClientRect().left)&&N<f;);N<f&&N--}for(x=c[f]=[],g=d?Math.min(N,f)*u-.5:o%N,M=N===qt?0:d?f*p/N-.5:o/N|0,S=0,A=qt,I=0;I<f;I++)w=I%N-g,j=M-(I/N|0),x[I]=b=h?Math.abs(h==="y"?j:w):wI(w*w+j*j),b>S&&(S=b),b<A&&(A=b);o==="random"&&OI(x),x.max=S-A,x.min=A,x.v=f=(parseFloat(r.amount)||parseFloat(r.each)*(N>f?f-1:h?h==="y"?f/N:N:Math.max(N,f/N))||0)*(o==="edges"?-1:1),x.b=f<0?i-f:i,x.u=it(r.amount||r.each)||0,n=n&&f<0?YI(n):n}return f=(x[y]-x.min)/x.max||0,Je(x.b+(n?n(f):f)*x.v)+x.u}},OC=function(e){var r=Math.pow(10,((e+"").split(".")[1]||"").length);return function(n){var o=Je(Math.round(parseFloat(n)/e)*e*r);return(o-o%1)/r+(Sa(n)?0:it(n))}},VI=function(e,r){var n=ct(e),o,i;return!n&&da(e)&&(o=n=e.radius||qt,e.values?(e=Dt(e.values),(i=!Sa(e[0]))&&(o*=o)):e=OC(e.increment)),Qa(r,n?Ue(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=qt,u=0,p=e.length,y,m;p--;)i?(y=e[p].x-l,m=e[p].y-d,y=y*y+m*m):y=Math.abs(e[p]-l),y<h&&(h=y,u=p);return u=!o||h<=o?e[u]:c,i||u===c||Sa(c)?u:u+it(c)}:OC(e))},BI=function(e,r,n,o){return Qa(ct(e)?!r:n===!0?!!(n=0):!o,function(){return ct(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})},yq=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)}},mq=function(e,r){return function(n){return e(parseFloat(n))+(r||it(n))}},fq=function(e,r,n){return $I(e,r,0,1,n)},UI=function(e,r,n){return Qa(n,function(o){return e[~~r(o)]})},xq=function t(e,r,n){var o=r-e;return ct(e)?UI(e,t(0,e.length),r):Qa(n,function(i){return(o+(i-e)%o)%o+e})},kq=function t(e,r,n){var o=r-e,i=o*2;return ct(e)?UI(e,t(0,e.length-1),r):Qa(n,function(c){return c=(i+(c-e)%i)%i||0,e+(c>o?i-c:c)})},Fc=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?SI:TC),n+=e.substr(r,o-r)+BI(l?i:+i[0],l?0:+i[1],+i[2]||1e-5),r=c+1;return n+e.substr(r,e.length-r)},$I=function(e,r,n,o,i){var c=r-e,l=o-n;return Qa(i,function(d){return n+((d-e)/c*l||0)})},gq=function t(e,r,n,o){var i=isNaN(e+r)?0:function(m){return(1-m)*e+m*r};if(!i){var c=Ke(e),l={},d,h,u,p,y;if(n===!0&&(o=1)&&(n=null),c)e={p:e},r={p:r};else if(ct(e)&&!ct(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(v){v*=p;var f=Math.min(y,~~v);return u[f](v-f)},n=r}else o||(e=Bi(ct(e)?[]:{},e));if(!u){for(d in r)vj.call(l,e,d,"get",r[d]);i=function(v){return Cj(v,l)||(c?e.p:e)}}}return Qa(n,i)},AS=function(e,r,n){var o=e.labels,i=qt,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},St=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&&$a.length&&cb(),l&&(De=l),u=d?i.apply(h,d):i.call(h),De=c,u},oc=function(e){return Za(e),e.scrollTrigger&&e.scrollTrigger.kill(!!st),e.progress()<1&&St(e,"onInterrupt"),e},hs,WI=[],GI=function(e){if(e)if(e=!e.name&&e.default||e,yj()||e.headless){var r=e.name,n=Ue(e),o=r&&!n&&e.init?function(){this._props=[]}:e,i={init:zc,render:Cj,add:vj,kill:qq,modifier:Rq,rawVars:0},c={targetTest:0,get:0,getSetter:bj,aliases:{},register:0};if(Fs(),e!==o){if(Mt[r])return;Ot(o,Ot(lb(e,i),c)),Bi(o.prototype,Bi(i,lb(e,c))),Mt[o.prop=r]=o,e.targetTest&&(eb.push(o),xj[r]=1),r=(r==="css"?"CSS":r.charAt(0).toUpperCase()+r.substr(1))+"Plugin"}NI(r,o),e.register&&e.register(kt,o,ft)}else WI.push(e)},Le=255,ic={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]},rC=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},ZI=function(e,r,n){var o=e?Sa(e)?[e>>16,e>>8&Le,e&Le]:0:ic.black,i,c,l,d,h,u,p,y,m,v;if(!o){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),ic[e])o=ic[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=v=e.match(TC),!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]=rC(d+1/3,i,c),o[1]=rC(d,i,c),o[2]=rC(d-1/3,i,c);else if(~e.indexOf("="))return o=e.match(CI),n&&o.length<4&&(o[3]=1),o}else o=e.match(TC)||ic.transparent;o=o.map(Number)}return r&&!v&&(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:(m=p-y,h=u>.5?m/(2-p-y):m/(p+y),d=p===i?(c-l)/m+(c<l?6:0):p===c?(l-i)/m+2:(i-c)/m+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},XI=function(e){var r=[],n=[],o=-1;return e.split(Wa).forEach(function(i){var c=i.match(ds)||[];r.push.apply(r,c),n.push(o+=c.length+1)}),r.c=n,r},PS=function(e,r,n){var o="",i=(e+o).match(Wa),c=r?"hsla(":"rgba(",l=0,d,h,u,p;if(!i)return e;if(i=i.map(function(y){return(y=ZI(y,r,1))&&c+(r?y[0]+","+y[1]+"%,"+y[2]+"%,"+y[3]:y.join(","))+")"}),n&&(u=XI(e),d=n.c,d.join(o)!==u.c.join(o)))for(h=e.replace(Wa,"1").split(ds),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(Wa),p=h.length-1;l<p;l++)o+=h[l]+i[l];return o+h[p]},Wa=function(){var t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in ic)t+="|"+e+"\\b";return new RegExp(t+")","gi")}(),vq=/hsl[a]?\(/,JI=function(e){var r=e.join(" "),n;if(Wa.lastIndex=0,Wa.test(r))return n=vq.test(r),e[1]=PS(e[1],n),e[0]=PS(e[0],n,XI(e[1])),!0},Ec,jt=function(){var t=Date.now,e=500,r=33,n=t(),o=n,i=1e3/240,c=i,l=[],d,h,u,p,y,m,v=function f(x){var g=t()-o,M=x===!0,w,j,b,I;if((g>e||g<0)&&(n+=g-r),o+=g,b=o-n,w=b-c,(w>0||M)&&(I=++p.frame,y=b-p.time*1e3,p.time=b=b/1e3,c+=w+(w>=i?4:i-w),j=1),M||(d=h(f)),j)for(m=0;m<l.length;m++)l[m](b,y,I,x)};return p={time:0,frame:0,tick:function(){v(!0)},deltaRatio:function(x){return y/(1e3/(x||60))},wake:function(){LI&&(!RC&&yj()&&(ea=RC=window,mj=ea.document||{},Nt.gsap=kt,(ea.gsapVersions||(ea.gsapVersions=[])).push(kt.version),II(sb||ea.GreenSockGlobals||!ea.gsap&&ea||{}),WI.forEach(GI)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,d&&p.sleep(),h=u||function(x){return setTimeout(x,c-p.time*1e3+1|0)},Ec=1,v(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(d),Ec=0,h=zc},lagSmoothing:function(x,g){e=x||1/0,r=Math.min(g||33,e)},fps:function(x){i=1e3/(x||240),c=p.time*1e3+i},add:function(x,g,M){var w=g?function(j,b,I,S){x(j,b,I,S),p.remove(w)}:x;return p.remove(x),l[M?"unshift":"push"](w),Fs(),w},remove:function(x,g){~(g=l.indexOf(x))&&l.splice(g,1)&&m>=g&&m--},_listeners:l},p}(),Fs=function(){return!Ec&&jt.wake()},ye={},Mq=/^[\d.\-M][\d.\-,\s]/,wq=/["']/g,bq=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(wq,"").trim():+h,o=d.substr(l+1).trim();return r},Cq=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)},jq=function(e){var r=(e+"").split("("),n=ye[r[0]];return n&&r.length>1&&n.config?n.config.apply(null,~e.indexOf("{")?[bq(r[1])]:Cq(e).split(",").map(TI)):ye._CE&&Mq.test(e)?ye._CE("",e):n},YI=function(e){return function(r){return 1-e(1-r)}},KI=function t(e,r){for(var n=e._first,o;n;)n instanceof ht?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},Hi=function(e,r){return e&&(Ue(e)?e:ye[e]||jq(e))||r},Yi=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 mt(e,function(l){ye[l]=Nt[l]=i,ye[c=l.toLowerCase()]=n;for(var d in i)ye[c+(d==="easeIn"?".in":d==="easeOut"?".out":".inOut")]=ye[l+"."+d]=i[d]}),i},QI=function(e){return function(r){return r<.5?(1-e(1-r*2))/2:.5+e((r-.5)*2)/2}},nC=function t(e,r,n){var o=r>=1?r:1,i=(n||(e?.3:.45))/(r<1?r:1),c=i/_C*(Math.asin(1/o)||0),l=function(u){return u===1?1:o*Math.pow(2,-10*u)*QR((u-c)*i)+1},d=e==="out"?l:e==="in"?function(h){return 1-l(1-h)}:QI(l);return i=_C/i,d.config=function(h,u){return t(e,h,u)},d},oC=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)}:QI(n);return o.config=function(i){return t(e,i)},o};mt("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var r=e<5?e+1:e;Yi(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})});ye.Linear.easeNone=ye.none=ye.Linear.easeIn;Yi("Elastic",nC("in"),nC("out"),nC());(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};Yi("Bounce",function(c){return 1-i(1-c)},i)})(7.5625,2.75);Yi("Expo",function(t){return t?Math.pow(2,10*(t-1)):0});Yi("Circ",function(t){return-(wI(1-t*t)-1)});Yi("Sine",function(t){return t===1?1:-KR(t*JR)+1});Yi("Back",oC("in"),oC("out"),oC());ye.SteppedEase=ye.steps=Nt.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-Ae;return function(l){return((o*Zc(0,c,l)|0)+i)*n}}};qs.ease=ye["quad.out"];mt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return kj+=t+","+t+"Params,"});var eN=function(e,r){this.id=YR++,e._gsap=this,this.target=e,this.harness=r,this.get=r?r.get:PI,this.set=r?r.getSetter:bj},Oc=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,zs(this,+r.duration,1,1),this.data=r.data,De&&(this._ctx=De,De.data.push(this)),Ec||jt.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,zs(this,this._repeat<0?n:(n-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(n,o){if(Fs(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(Ib(this,n),!i._dp||i.parent||DI(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)&&aa(this._dp,this,this._start-this._delay)}return(this._tTime!==n||!this._dur&&!o||this._initted&&Math.abs(this._zTime)===Ae||!n&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=n),_I(this,n,o)),this},e.time=function(n,o){return arguments.length?this.totalTime(Math.min(this.totalDuration(),n+IS(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)+IS(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?Ds(this._tTime,i)+1:1},e.timeScale=function(n,o){if(!arguments.length)return this._rts===-Ae?0:this._rts;if(this._rts===n)return this;var i=this.parent&&this._ts?db(this.parent._time,this):this._tTime;return this._rts=+n||0,this._ts=this._ps||n===-Ae?0:this._rts,this.totalTime(Zc(-Math.abs(this._delay),this._tDur,i),o!==!1),Lb(this),iq(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):(Fs(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==Ae&&(this._tTime-=Ae)))),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)&&aa(o,this,n-this._delay),this}return this._start},e.endTime=function(n){return this._start+(yt(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?db(o.rawTime(n),this):this._tTime:this._tTime},e.revert=function(n){n===void 0&&(n=aq);var o=st;return st=n,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(n),this.totalTime(-.01,n.suppressEvents)),this.data!=="nested"&&n.kill!==!1&&this.kill(),st=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,NS(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(n){if(arguments.length){var o=this._time;return this._rDelay=n,NS(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(Tt(this,n),yt(o))},e.restart=function(n,o){return this.play().totalTime(n?-this._delay:0,yt(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?-Ae:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-Ae,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)-Ae)},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=Ue(n)?n:RI,l=function(){var h=o.then;o.then=null,Ue(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(){oc(this)},t}();Ot(Oc.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:-Ae,_prom:0,_ps:!1,_rts:1});var ht=function(t){MI(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=yt(n.sortChildren),Ee&&aa(n.parent||Ee,fa(i),o),n.reversed&&i.reverse(),n.paused&&i.paused(!0),n.scrollTrigger&&zI(fa(i),n.scrollTrigger),i}var r=e.prototype;return r.to=function(o,i,c){return Pc(0,arguments,this),this},r.from=function(o,i,c){return Pc(1,arguments,this),this},r.fromTo=function(o,i,c,l){return Pc(2,arguments,this),this},r.set=function(o,i,c){return i.duration=0,i.parent=this,Ac(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new Ze(o,i,Tt(this,c),1),this},r.call=function(o,i,c){return aa(this,Ze.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 Ze(o,c,Tt(this,d)),this},r.staggerFrom=function(o,i,c,l,d,h,u){return c.runBackwards=1,Ac(c).immediateRender=yt(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,Ac(l).immediateRender=yt(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:Je(o),p=this._zTime<0!=o<0&&(this._initted||!h),y,m,v,f,x,g,M,w,j,b,I,S;if(this!==Ee&&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,j=this._start,w=this._ts,g=!w,p&&(h||(l=this._zTime),(o||!i)&&(this._zTime=o)),this._repeat){if(I=this._yoyo,x=h+this._rDelay,this._repeat<-1&&o<0)return this.totalTime(x*100+o,i,c);if(y=Je(u%x),u===d?(f=this._repeat,y=h):(f=~~(u/x),f&&f===u/x&&(y=h,f--),y>h&&(y=h)),b=Ds(this._tTime,x),!l&&this._tTime&&b!==f&&this._tTime-b*x-this._dur<=0&&(b=f),I&&f&1&&(y=h-y,S=1),f!==b&&!this._lock){var A=I&&b&1,N=A===(I&&f&1);if(f<b&&(A=!A),l=A?0:u%h?h:u,this._lock=1,this.render(l||(S?0:Je(f*x)),i,!h)._lock=0,this._tTime=u,!i&&this.parent&&St(this,"onRepeat"),this.vars.repeatRefresh&&!S&&(this.invalidate()._lock=1),l&&l!==this._time||g!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(h=this._dur,d=this._tDur,N&&(this._lock=2,l=A?h:-1e-4,this.render(l,!0),this.vars.repeatRefresh&&!S&&this.invalidate()),this._lock=0,!this._ts&&!g)return this;KI(this,S)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(M=dq(this,Je(l),Je(y)),M&&(u-=y-(y=M._start))),this._tTime=u,this._time=y,this._act=!w,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=o,l=0),!l&&y&&!i&&!f&&(St(this,"onStart"),this._tTime!==u))return this;if(y>=l&&o>=0)for(m=this._first;m;){if(v=m._next,(m._act||y>=m._start)&&m._ts&&M!==m){if(m.parent!==this)return this.render(o,i,c);if(m.render(m._ts>0?(y-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(y-m._start)*m._ts,i,c),y!==this._time||!this._ts&&!g){M=0,v&&(u+=this._zTime=-Ae);break}}m=v}else{m=this._last;for(var R=o<0?o:y;m;){if(v=m._prev,(m._act||R<=m._end)&&m._ts&&M!==m){if(m.parent!==this)return this.render(o,i,c);if(m.render(m._ts>0?(R-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(R-m._start)*m._ts,i,c||st&&(m._initted||m._startAt)),y!==this._time||!this._ts&&!g){M=0,v&&(u+=this._zTime=R?-Ae:Ae);break}}m=v}}if(M&&!i&&(this.pause(),M.render(y>=l?0:-Ae)._zTime=y>=l?1:-1,this._ts))return this._start=j,Lb(this),this.render(o,i,c);this._onUpdate&&!i&&St(this,"onUpdate",!0),(u===d&&this._tTime>=this.totalDuration()||!u&&l)&&(j===this._start||Math.abs(w)!==Math.abs(this._ts))&&(this._lock||((o||!h)&&(u===d&&this._ts>0||!u&&this._ts<0)&&Za(this,1),!i&&!(o<0&&!l)&&(u||l||!d)&&(St(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(Sa(i)||(i=Tt(this,i,o)),!(o instanceof Oc)){if(ct(o))return o.forEach(function(l){return c.add(l,i)}),this;if(Ke(o))return this.addLabel(o,i);if(Ue(o))o=Ze.delayedCall(0,o);else return this}return this!==o?aa(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=-qt);for(var d=[],h=this._first;h;)h._start>=l&&(h instanceof Ze?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 Ke(o)?this.removeLabel(o):Ue(o)?this.killTweensOf(o):(Sb(this,o),o===this._recent&&(this._recent=this._last),Oi(this))},r.totalTime=function(o,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Je(jt.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]=Tt(this,i),this},r.removeLabel=function(o){return delete this.labels[o],this},r.addPause=function(o,i,c){var l=Ze.delayedCall(0,i||zc,c);return l.data="isPause",this._hasPause=1,aa(this,l,Tt(this,o))},r.removePause=function(o){var i=this._first;for(o=Tt(this,o);i;)i._start===o&&i.data==="isPause"&&Za(i),i=i._next},r.killTweensOf=function(o,i,c){for(var l=this.getTweensOf(o,c),d=l.length;d--;)Oa!==l[d]&&l[d].kill(o,i);return this},r.getTweensOf=function(o,i){for(var c=[],l=Dt(o),d=this._first,h=Sa(i),u;d;)d instanceof Ze?rq(d._targets,l)&&(h?(!Oa||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=Tt(c,o),d=i,h=d.startAt,u=d.onStart,p=d.onStartParams,y=d.immediateRender,m,v=Ze.to(c,Ot({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())||Ae,onStart:function(){if(c.pause(),!m){var x=i.duration||Math.abs((l-(h&&"time"in h?h.time:c._time))/c.timeScale());v._dur!==x&&zs(v,x,0,1).render(v._time,!0,!0),m=1}u&&u.apply(v,p||[])}},i));return y?v.render(0):v},r.tweenFromTo=function(o,i,c){return this.tweenTo(i,Ot({startAt:{time:Tt(this,o)}},c))},r.recent=function(){return this._recent},r.nextLabel=function(o){return o===void 0&&(o=this._time),AS(this,Tt(this,o))},r.previousLabel=function(o){return o===void 0&&(o=this._time),AS(this,Tt(this,o),1)},r.currentLabel=function(o){return arguments.length?this.seek(o,!0):this.previousLabel(this._time+Ae)},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 Oi(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={}),Oi(this)},r.totalDuration=function(o){var i=0,c=this,l=c._last,d=qt,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,aa(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;zs(c,c===Ee&&c._time>i?c._time:i,1,1),c._dirty=0}return c._tDur},e.updateRoot=function(o){if(Ee._ts&&(_I(Ee,db(o,Ee)),AI=jt.frame),jt.frame>=SS){SS+=Lt.autoSleep||120;var i=Ee._first;if((!i||!i._ts)&&Lt.autoSleep&&jt._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||jt.sleep()}}},e}(Oc);Ot(ht.prototype,{_lock:0,_hasPause:0,_forcing:0});var Sq=function(e,r,n,o,i,c,l){var d=new ft(this._pt,e,r,0,1,iN,null,i),h=0,u=0,p,y,m,v,f,x,g,M;for(d.b=n,d.e=o,n+="",o+="",(g=~o.indexOf("random("))&&(o=Fc(o)),c&&(M=[n,o],c(M,e,r),n=M[0],o=M[1]),y=n.match(tC)||[];p=tC.exec(o);)v=p[0],f=o.substring(h,p.index),m?m=(m+1)%5:f.substr(-5)==="rgba("&&(m=1),v!==y[u++]&&(x=parseFloat(y[u-1])||0,d._pt={_next:d._pt,p:f||u===1?f:",",s:x,c:v.charAt(1)==="="?Is(x,v)-x:parseFloat(v)-x,m:m&&m<4?Math.round:0},h=tC.lastIndex);return d.c=h<o.length?o.substring(h,o.length):"",d.fp=l,(jI.test(o)||g)&&(d.e=0),this._pt=d,d},vj=function(e,r,n,o,i,c,l,d,h,u){Ue(o)&&(o=o(i||0,e,c));var p=e[r],y=n!=="get"?n:Ue(p)?h?e[r.indexOf("set")||!Ue(e["get"+r.substr(3)])?r:"get"+r.substr(3)](h):e[r]():p,m=Ue(p)?h?Pq:nN:wj,v;if(Ke(o)&&(~o.indexOf("random(")&&(o=Fc(o)),o.charAt(1)==="="&&(v=Is(y,o)+(it(y)||0),(v||v===0)&&(o=v))),!u||y!==o||HC)return!isNaN(y*o)&&o!==""?(v=new ft(this._pt,e,r,+y||0,o-(y||0),typeof p=="boolean"?Tq:oN,0,m),h&&(v.fp=h),l&&v.modifier(l,this,e),this._pt=v):(!p&&!(r in e)&&fj(r,o),Sq.call(this,e,r,y,o,m,d||Lt.stringFilter,h))},Lq=function(e,r,n,o,i){if(Ue(e)&&(e=_c(e,i,r,n,o)),!da(e)||e.style&&e.nodeType||ct(e)||bI(e))return Ke(e)?_c(e,i,r,n,o):e;var c={},l;for(l in e)c[l]=_c(e[l],i,r,n,o);return c},tN=function(e,r,n,o,i,c){var l,d,h,u;if(Mt[e]&&(l=new Mt[e]).init(i,l.rawVars?r[e]:Lq(r[e],o,i,c,n),n,o,c)!==!1&&(n._pt=d=new ft(n._pt,i,e,0,1,l.render,l,0,l.priority),n!==hs))for(h=n._ptLookup[n._targets.indexOf(i)],u=l._props.length;u--;)h[l._props[u]]=d;return l},Oa,HC,Mj=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,m=o.autoRevert,v=e._dur,f=e._startAt,x=e._targets,g=e.parent,M=g&&g.data==="nested"?g.vars.targets:x,w=e._overwrite==="auto"&&!uj,j=e.timeline,b,I,S,A,N,R,P,_,T,F,U,z,B;if(j&&(!y||!i)&&(i="none"),e._ease=Hi(i,qs.ease),e._yEase=p?YI(Hi(p===!0?i:p,qs.ease)):0,p&&e._yoyo&&!e._repeat&&(p=e._yEase,e._yEase=e._ease,e._ease=p),e._from=!j&&!!o.runBackwards,!j||y&&!o.stagger){if(_=x[0]?Ei(x[0]).harness:0,z=_&&o[_.prop],b=lb(o,xj),f&&(f._zTime<0&&f.progress(1),r<0&&u&&l&&!m?f.render(-1,!0):f.revert(u&&v?Q9:tq),f._lazy=0),c){if(Za(e._startAt=Ze.set(x,Ot({data:"isStart",overwrite:!1,parent:g,immediateRender:!0,lazy:!f&&yt(d),startAt:null,delay:0,onUpdate:h&&function(){return St(e,"onUpdate")},stagger:0},c))),e._startAt._dp=0,e._startAt._sat=e,r<0&&(st||!l&&!m)&&e._startAt.revert(Q9),l&&v&&r<=0&&n<=0){r&&(e._zTime=r);return}}else if(u&&v&&!f){if(r&&(l=!1),S=Ot({overwrite:!1,data:"isFromStart",lazy:l&&!f&&yt(d),immediateRender:l,stagger:0,parent:g},b),z&&(S[_.prop]=z),Za(e._startAt=Ze.set(x,S)),e._startAt._dp=0,e._startAt._sat=e,r<0&&(st?e._startAt.revert(Q9):e._startAt.render(-1,!0)),e._zTime=r,!l)t(e._startAt,Ae,Ae);else if(!r)return}for(e._pt=e._ptCache=0,d=v&&yt(d)||d&&!v,I=0;I<x.length;I++){if(N=x[I],P=N._gsap||gj(x)[I]._gsap,e._ptLookup[I]=F={},qC[P.id]&&$a.length&&cb(),U=M===x?I:M.indexOf(N),_&&(T=new _).init(N,z||b,e,U,M)!==!1&&(e._pt=A=new ft(e._pt,N,T.name,0,1,T.render,T,0,T.priority),T._props.forEach(function(D){F[D]=A}),T.priority&&(R=1)),!_||z)for(S in b)Mt[S]&&(T=tN(S,b,e,U,N,M))?T.priority&&(R=1):F[S]=A=vj.call(e,N,S,"get",b[S],U,M,0,o.stringFilter);e._op&&e._op[I]&&e.kill(N,e._op[I]),w&&e._pt&&(Oa=e,Ee.killTweensOf(N,F,e.globalTime(r)),B=!e.parent,Oa=0),e._pt&&d&&(qC[P.id]=1)}R&&sN(e),e._onInit&&e._onInit(e)}e._onUpdate=h,e._initted=(!e._op||e._pt)&&!B,y&&r<=0&&j.render(qt,!0,!0)},Iq=function(e,r,n,o,i,c,l,d){var h=(e._pt&&e._ptCache||(e._ptCache={}))[r],u,p,y,m;if(!h)for(h=e._ptCache[r]=[],y=e._ptLookup,m=e._targets.length;m--;){if(u=y[m][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 HC=1,e.vars[r]="+=0",Mj(e,l),HC=0,d?Dc(r+" not eligible for reset"):1;h.push(u)}for(m=h.length;m--;)p=h[m],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=We(n)+it(p.e)),p.b&&(p.b=u.s+it(p.b))},Nq=function(e,r){var n=e[0]?Ei(e[0]).harness:0,o=n&&n.aliases,i,c,l,d;if(!o)return r;i=Bi({},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},Aq=function(e,r,n,o){var i=r.ease||o||"power1.inOut",c,l;if(ct(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})},_c=function(e,r,n,o,i){return Ue(e)?e.call(r,n,o,i):Ke(e)&&~e.indexOf("random(")?Fc(e):e},aN=kj+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",rN={};mt(aN+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return rN[t]=1});var Ze=function(t){MI(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:Ac(o))||this;var d=l.vars,h=d.duration,u=d.delay,p=d.immediateRender,y=d.stagger,m=d.overwrite,v=d.keyframes,f=d.defaults,x=d.scrollTrigger,g=d.yoyoEase,M=o.parent||Ee,w=(ct(n)||bI(n)?Sa(n[0]):"length"in o)?[n]:Dt(n),j,b,I,S,A,N,R,P;if(l._targets=w.length?gj(w):Dc("GSAP target "+n+" not found. https://gsap.com",!Lt.nullTargetWarn)||[],l._ptLookup=[],l._overwrite=m,v||y||e1(h)||e1(u)){if(o=l.vars,j=l.timeline=new ht({data:"nested",defaults:f||{},targets:M&&M.data==="nested"?M.vars.targets:w}),j.kill(),j.parent=j._dp=fa(l),j._start=0,y||e1(h)||e1(u)){if(S=w.length,R=y&&HI(y),da(y))for(A in y)~aN.indexOf(A)&&(P||(P={}),P[A]=y[A]);for(b=0;b<S;b++)I=lb(o,rN),I.stagger=0,g&&(I.yoyoEase=g),P&&Bi(I,P),N=w[b],I.duration=+_c(h,fa(l),b,N,w),I.delay=(+_c(u,fa(l),b,N,w)||0)-l._delay,!y&&S===1&&I.delay&&(l._delay=u=I.delay,l._start+=u,I.delay=0),j.to(N,I,R?R(b,N,w):0),j._ease=ye.none;j.duration()?h=u=0:l.timeline=0}else if(v){Ac(Ot(j.vars.defaults,{ease:"none"})),j._ease=Hi(v.ease||o.ease||"none");var _=0,T,F,U;if(ct(v))v.forEach(function(z){return j.to(w,z,">")}),j.duration();else{I={};for(A in v)A==="ease"||A==="easeEach"||Aq(A,v[A],I,v.easeEach);for(A in I)for(T=I[A].sort(function(z,B){return z.t-B.t}),_=0,b=0;b<T.length;b++)F=T[b],U={ease:F.e,duration:(F.t-(b?T[b-1].t:0))/100*h},U[A]=F.v,j.to(w,U,_),_+=U.duration;j.duration()<h&&j.to({},{duration:h-j.duration()})}}h||l.duration(h=j.duration())}else l.timeline=0;return m===!0&&!uj&&(Oa=fa(l),Ee.killTweensOf(w),Oa=0),aa(M,fa(l),i),o.reversed&&l.reverse(),o.paused&&l.paused(!0),(p||!h&&!v&&l._start===Je(M._time)&&yt(p)&&sq(fa(l))&&M.data!=="nested")&&(l._tTime=-Ae,l.render(Math.max(0,-u)||0)),x&&zI(fa(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-Ae&&!u?d:o<Ae?0:o,y,m,v,f,x,g,M,w,j;if(!h)lq(this,o,i,c);else if(p!==this._tTime||!o||c||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u){if(y=p,w=this.timeline,this._repeat){if(f=h+this._rDelay,this._repeat<-1&&u)return this.totalTime(f*100+o,i,c);if(y=Je(p%f),p===d?(v=this._repeat,y=h):(v=~~(p/f),v&&v===Je(p/f)&&(y=h,v--),y>h&&(y=h)),g=this._yoyo&&v&1,g&&(j=this._yEase,y=h-y),x=Ds(this._tTime,f),y===l&&!c&&this._initted&&v===x)return this._tTime=p,this;v!==x&&(w&&this._yEase&&KI(w,g),this.vars.repeatRefresh&&!g&&!this._lock&&this._time!==f&&this._initted&&(this._lock=c=1,this.render(Je(f*v),!0).invalidate()._lock=0))}if(!this._initted){if(FI(this,u?o:y,c,i,p))return this._tTime=0,this;if(l!==this._time&&!(c&&this.vars.repeatRefresh&&v!==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=M=(j||this._ease)(y/h),this._from&&(this.ratio=M=1-M),y&&!l&&!i&&!v&&(St(this,"onStart"),this._tTime!==p))return this;for(m=this._pt;m;)m.r(M,m.d),m=m._next;w&&w.render(o<0?o:w._dur*w._ease(y/this._dur),i,c)||this._startAt&&(this._zTime=o),this._onUpdate&&!i&&(u&&DC(this,o,i,c),St(this,"onUpdate")),this._repeat&&v!==x&&this.vars.onRepeat&&!i&&this.parent&&St(this,"onRepeat"),(p===this._tDur||!p)&&this._tTime===p&&(u&&!this._onUpdate&&DC(this,o,!0,!0),(o||!h)&&(p===this._tDur&&this._ts>0||!p&&this._ts<0)&&Za(this,1),!i&&!(u&&!l)&&(p||l||g)&&(St(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){Ec||jt.wake(),this._ts||this.play();var h=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||Mj(this,h),u=this._ease(h/this._dur),Iq(this,o,i,c,l,u,h,d)?this.resetTo(o,i,c,l,1):(Ib(this,0),this.parent||qI(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?oc(this):this;if(this.timeline){var c=this.timeline.totalDuration();return this.timeline.killTweensOf(o,i,Oa&&Oa.vars.overwrite!==!0)._first||oc(this),this.parent&&c!==this.timeline.totalDuration()&&zs(this,this._dur*this.timeline._tDur/c,0,1),this}var l=this._targets,d=o?Dt(o):l,h=this._ptLookup,u=this._pt,p,y,m,v,f,x,g;if((!i||i==="all")&&oq(l,d))return i==="all"&&(this._pt=0),oc(this);for(p=this._op=this._op||[],i!=="all"&&(Ke(i)&&(f={},mt(i,function(M){return f[M]=1}),i=f),i=Nq(l,i)),g=l.length;g--;)if(~d.indexOf(l[g])){y=h[g],i==="all"?(p[g]=i,v=y,m={}):(m=p[g]=p[g]||{},v=i);for(f in v)x=y&&y[f],x&&((!("kill"in x.d)||x.d.kill(f)===!0)&&Sb(this,x,"_pt"),delete y[f]),m!=="all"&&(m[f]=1)}return this._initted&&!this._pt&&u&&oc(this),this},e.to=function(o,i){return new e(o,i,arguments[2])},e.from=function(o,i){return Pc(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 Pc(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 Ee.killTweensOf(o,i,c)},e}(Oc);Ot(Ze.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});mt("staggerTo,staggerFrom,staggerFromTo",function(t){Ze[t]=function(){var e=new ht,r=FC.call(arguments,0);return r.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,r)}});var wj=function(e,r,n){return e[r]=n},nN=function(e,r,n){return e[r](n)},Pq=function(e,r,n,o){return e[r](o.fp,n)},_q=function(e,r,n){return e.setAttribute(r,n)},bj=function(e,r){return Ue(e[r])?nN:pj(e[r])&&e.setAttribute?_q:wj},oN=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e6)/1e6,r)},Tq=function(e,r){return r.set(r.t,r.p,!!(r.s+r.c*e),r)},iN=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)},Cj=function(e,r){for(var n=r._pt;n;)n.r(e,n.d),n=n._next},Rq=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},qq=function(e){for(var r=this._pt,n,o;r;)o=r._next,r.p===e&&!r.op||r.op===e?Sb(this,r,"_pt"):r.dep||(n=1),r=o;return!n},Dq=function(e,r,n,o){o.mSet(e,r,o.m.call(o.tween,n,o.mt),o)},sN=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},ft=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||oN,this.d=d||this,this.set=h||wj,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=Dq,this.m=n,this.mt=i,this.tween=o},t}();mt(kj+"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 xj[t]=1});Nt.TweenMax=Nt.TweenLite=Ze;Nt.TimelineLite=Nt.TimelineMax=ht;Ee=new ht({sortChildren:!1,defaults:qs,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Lt.stringFilter=JI;var Vi=[],tb={},zq=[],_S=0,Fq=0,iC=function(e){return(tb[e]||zq).map(function(r){return r()})},VC=function(){var e=Date.now(),r=[];e-_S>2&&(iC("matchMediaInit"),Vi.forEach(function(n){var o=n.queries,i=n.conditions,c,l,d,h;for(l in o)c=ea.matchMedia(o[l]).matches,c&&(d=1),c!==i[l]&&(i[l]=c,h=1);h&&(n.revert(),d&&r.push(n))}),iC("matchMediaRevert"),r.forEach(function(n){return n.onMatch(n,function(o){return n.add(null,o)})}),_S=e,iC("matchMedia"))},cN=function(){function t(r,n){this.selector=n&&EC(n),this.data=[],this._r=[],this.isReverted=!1,this.id=Fq++,r&&this.add(r)}var e=t.prototype;return e.add=function(n,o,i){Ue(n)&&(i=o,o=n,n=Ue);var c=this,l=function(){var h=De,u=c.selector,p;return h&&h!==c&&h.data.push(c),i&&(c.selector=EC(i)),De=c,p=o.apply(c,arguments),Ue(p)&&c._r.push(p),De=h,c.selector=u,c.isReverted=!1,p};return c.last=l,n===Ue?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 Ze&&!(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 ht?h.data!=="nested"&&(h.scrollTrigger&&h.scrollTrigger.revert(),h.kill()):!(h instanceof Ze)&&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=Vi.length;c--;)Vi[c].id===this.id&&Vi.splice(c,1)},e.revert=function(n){this.kill(n||{})},t}(),Eq=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){da(n)||(n={matches:n});var c=new cN(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=ea.matchMedia(n[h]),d&&(Vi.indexOf(c)<0&&Vi.push(c),(l[h]=d.matches)&&(u=1),d.addListener?d.addListener(VC):d.addEventListener("change",VC)));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}(),hb={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 GI(o)})},timeline:function(e){return new ht(e)},getTweensOf:function(e,r){return Ee.getTweensOf(e,r)},getProperty:function(e,r,n,o){Ke(e)&&(e=Dt(e)[0]);var i=Ei(e||{}).get,c=n?RI:TI;return n==="native"&&(n=""),e&&(r?c((Mt[r]&&Mt[r].get||i)(e,r,n,o)):function(l,d,h){return c((Mt[l]&&Mt[l].get||i)(e,l,d,h))})},quickSetter:function(e,r,n){if(e=Dt(e),e.length>1){var o=e.map(function(u){return kt.quickSetter(u,r,n)}),i=o.length;return function(u){for(var p=i;p--;)o[p](u)}}e=e[0]||{};var c=Mt[r],l=Ei(e),d=l.harness&&(l.harness.aliases||{})[r]||r,h=c?function(u){var p=new c;hs._pt=0,p.init(e,n?u+n:u,hs,0,[e]),p.render(1,p),hs._pt&&Cj(1,hs)}: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=kt.to(e,Bi((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 Ee.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Hi(e.ease,qs.ease)),LS(qs,e||{})},config:function(e){return LS(Lt,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&&!Mt[l]&&!Nt[l]&&Dc(r+" effect requires "+l+" plugin.")}),aC[r]=function(l,d,h){return n(Dt(l),Ot(d||{},i),h)},c&&(ht.prototype[r]=function(l,d,h){return this.add(aC[r](l,da(d)?d:(h=d)&&{},this),h)})},registerEase:function(e,r){ye[e]=Hi(r)},parseEase:function(e,r){return arguments.length?Hi(e,r):ye},getById:function(e){return Ee.getById(e)},exportRoot:function(e,r){e===void 0&&(e={});var n=new ht(e),o,i;for(n.smoothChildTiming=yt(e.smoothChildTiming),Ee.remove(n),n._dp=0,n._time=n._tTime=Ee._time,o=Ee._first;o;)i=o._next,(r||!(!o._dur&&o instanceof Ze&&o.vars.onComplete===o._targets[0]))&&aa(n,o,o._start-o._delay),o=i;return aa(Ee,n,0),n},context:function(e,r){return e?new cN(e,r):De},matchMedia:function(e){return new Eq(e)},matchMediaRefresh:function(){return Vi.forEach(function(e){var r=e.conditions,n,o;for(o in r)r[o]&&(r[o]=!1,n=1);n&&e.revert()})||VC()},addEventListener:function(e,r){var n=tb[e]||(tb[e]=[]);~n.indexOf(r)||n.push(r)},removeEventListener:function(e,r){var n=tb[e],o=n&&n.indexOf(r);o>=0&&n.splice(o,1)},utils:{wrap:xq,wrapYoyo:kq,distribute:HI,random:BI,snap:VI,normalize:fq,getUnit:it,clamp:uq,splitColor:ZI,toArray:Dt,selector:EC,mapRange:$I,pipe:yq,unitize:mq,interpolate:gq,shuffle:OI},install:II,effects:aC,ticker:jt,updateRoot:ht.updateRoot,plugins:Mt,globalTimeline:Ee,core:{PropTween:ft,globals:NI,Tween:Ze,Timeline:ht,Animation:Oc,getCache:Ei,_removeLinkedListItem:Sb,reverting:function(){return st},context:function(e){return e&&De&&(De.data.push(e),e._ctx=De),De},suppressOverwrites:function(e){return uj=e}}};mt("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return hb[t]=Ze[t]});jt.add(ht.updateRoot);hs=hb.to({},{duration:0});var Oq=function(e,r){for(var n=e._pt;n&&n.p!==r&&n.op!==r&&n.fp!==r;)n=n._next;return n},Hq=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=Oq(c,o)),c&&c.modifier&&c.modifier(r[o],e,n[i],o))},sC=function(e,r){return{name:e,rawVars:1,init:function(o,i,c){c._onInit=function(l){var d,h;if(Ke(i)&&(d={},mt(i,function(u){return d[u]=1}),i=d),r){d={};for(h in i)d[h]=r(i[h]);i=d}Hq(l,i)}}}},kt=hb.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;)st?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)}},sC("roundProps",OC),sC("modifiers"),sC("snap",VI))||hb;Ze.version=ht.version=kt.version="3.12.5";LI=1;yj()&&Fs();ye.Power0;ye.Power1;ye.Power2;ye.Power3;ye.Power4;ye.Linear;ye.Quad;ye.Cubic;ye.Quart;ye.Quint;ye.Strong;ye.Elastic;ye.Back;ye.SteppedEase;ye.Bounce;ye.Sine;ye.Expo;ye.Circ;/*!
7733
+ */var Lt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},qs={duration:.5,overwrite:!1,delay:0},uj,st,De,qt=1e8,Ae=1/qt,_C=Math.PI*2,JR=_C/4,YR=0,wI=Math.sqrt,KR=Math.cos,QR=Math.sin,Ke=function(e){return typeof e=="string"},Ue=function(e){return typeof e=="function"},Sa=function(e){return typeof e=="number"},pj=function(e){return typeof e>"u"},da=function(e){return typeof e=="object"},yt=function(e){return e!==!1},yj=function(){return typeof window<"u"},e1=function(e){return Ue(e)||Ke(e)},bI=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},ct=Array.isArray,TC=/(?:-?\.?\d|\.)+/gi,CI=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ds=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,tC=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,jI=/[+-]=-?[.\d]+/,SI=/[^,'"\[\]\s]+/gi,eq=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Ee,ea,RC,mj,Nt={},sb={},LI,II=function(e){return(sb=Bi(e,Nt))&&kt},fj=function(e,r){return console.warn("Invalid property",e,"set to",r,"Missing plugin? gsap.registerPlugin()")},Dc=function(e,r){return!r&&console.warn(e)},NI=function(e,r){return e&&(Nt[e]=r)&&sb&&(sb[e]=r)||Nt},zc=function(){return 0},tq={suppressEvents:!0,isStart:!0,kill:!1},Q9={suppressEvents:!0,kill:!1},aq={suppressEvents:!0},xj={},$a=[],qC={},AI,Mt={},aC={},SS=30,eb=[],kj="",gj=function(e){var r=e[0],n,o;if(da(r)||Ue(r)||(e=[e]),!(n=(r._gsap||{}).harness)){for(o=eb.length;o--&&!eb[o].targetTest(r););n=eb[o]}for(o=e.length;o--;)e[o]&&(e[o]._gsap||(e[o]._gsap=new eN(e[o],n)))||e.splice(o,1);return e},Ei=function(e){return e._gsap||gj(Dt(e))[0]._gsap},PI=function(e,r,n){return(n=e[r])&&Ue(n)?e[r]():pj(n)&&e.getAttribute&&e.getAttribute(r)||n},mt=function(e,r){return(e=e.split(",")).forEach(r)||e},We=function(e){return Math.round(e*1e5)/1e5||0},Je=function(e){return Math.round(e*1e7)/1e7||0},Is=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},rq=function(e,r){for(var n=r.length,o=0;e.indexOf(r[o])<0&&++o<n;);return o<n},cb=function(){var e=$a.length,r=$a.slice(0),n,o;for(qC={},$a.length=0,n=0;n<e;n++)o=r[n],o&&o._lazy&&(o.render(o._lazy[0],o._lazy[1],!0)._lazy=0)},_I=function(e,r,n,o){$a.length&&!st&&cb(),e.render(r,n,st&&r<0&&(e._initted||e._startAt)),$a.length&&!st&&cb()},TI=function(e){var r=parseFloat(e);return(r||r===0)&&(e+"").match(SI).length<2?r:Ke(e)?e.trim():e},RI=function(e){return e},Ot=function(e,r){for(var n in r)n in e||(e[n]=r[n]);return e},nq=function(e){return function(r,n){for(var o in n)o in r||o==="duration"&&e||o==="ease"||(r[o]=n[o])}},Bi=function(e,r){for(var n in r)e[n]=r[n];return e},LS=function t(e,r){for(var n in r)n!=="__proto__"&&n!=="constructor"&&n!=="prototype"&&(e[n]=da(r[n])?t(e[n]||(e[n]={}),r[n]):r[n]);return e},lb=function(e,r){var n={},o;for(o in e)o in r||(n[o]=e[o]);return n},Ac=function(e){var r=e.parent||Ee,n=e.keyframes?nq(ct(e.keyframes)):Ot;if(yt(e.inherit))for(;r;)n(e,r.vars.defaults),r=r.parent||r._dp;return e},oq=function(e,r){for(var n=e.length,o=n===r.length;o&&n--&&e[n]===r[n];);return n<0},qI=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},Sb=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},Za=function(e,r){e.parent&&(!r||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Oi=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},iq=function(e){for(var r=e.parent;r&&r.parent;)r._dirty=1,r.totalDuration(),r=r.parent;return e},DC=function(e,r,n,o){return e._startAt&&(st?e._startAt.revert(Q9):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(r,!0,o))},sq=function t(e){return!e||e._ts&&t(e.parent)},IS=function(e){return e._repeat?Ds(e._tTime,e=e.duration()+e._rDelay)*e:0},Ds=function(e,r){var n=Math.floor(e/=r);return e&&n===e?n-1:n},db=function(e,r){return(e-r._start)*r._ts+(r._ts>=0?0:r._dirty?r.totalDuration():r._tDur)},Lb=function(e){return e._end=Je(e._start+(e._tDur/Math.abs(e._ts||e._rts||Ae)||0))},Ib=function(e,r){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=Je(n._time-(e._ts>0?r/e._ts:((e._dirty?e.totalDuration():e._tDur)-r)/-e._ts)),Lb(e),n._dirty||Oi(n,e)),e},DI=function(e,r){var n;if((r._time||!r._dur&&r._initted||r._start<e._time&&(r._dur||!r.add))&&(n=db(e.rawTime(),r),(!r._dur||Zc(0,r.totalDuration(),n)-r._tTime>Ae)&&r.render(n,!0)),Oi(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=-Ae}},aa=function(e,r,n,o){return r.parent&&Za(r),r._start=Je((Sa(n)?n:n||e!==Ee?Tt(e,n,r):e._time)+r._delay),r._end=Je(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),qI(e,r,"_first","_last",e._sort?"_start":0),zC(r)||(e._recent=r),o||DI(e,r),e._ts<0&&Ib(e,e._tTime),e},zI=function(e,r){return(Nt.ScrollTrigger||fj("scrollTrigger",r))&&Nt.ScrollTrigger.create(r,e)},FI=function(e,r,n,o,i){if(Mj(e,r,i),!e._initted)return 1;if(!n&&e._pt&&!st&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&AI!==jt.frame)return $a.push(e),e._lazy=[i,o],1},cq=function t(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||t(r))},zC=function(e){var r=e.data;return r==="isFromStart"||r==="isStart"},lq=function(e,r,n,o){var i=e.ratio,c=r<0||!r&&(!e._start&&cq(e)&&!(!e._initted&&zC(e))||(e._ts<0||e._dp._ts<0)&&!zC(e))?0:1,l=e._rDelay,d=0,h,u,p;if(l&&e._repeat&&(d=Zc(0,e._tDur,r),u=Ds(d,l),e._yoyo&&u&1&&(c=1-c),u!==Ds(e._tTime,l)&&(i=1-c,e.vars.repeatRefresh&&e._initted&&e.invalidate())),c!==i||st||o||e._zTime===Ae||!r&&e._zTime){if(!e._initted&&FI(e,r,o,n,d))return;for(p=e._zTime,e._zTime=r||(n?Ae: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&&DC(e,r,n,!0),e._onUpdate&&!n&&St(e,"onUpdate"),d&&e._repeat&&!n&&e.parent&&St(e,"onRepeat"),(r>=e._tDur||r<0)&&e.ratio===c&&(c&&Za(e,1),!n&&!st&&(St(e,c?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=r)},dq=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}},zs=function(e,r,n,o){var i=e._repeat,c=Je(r)||0,l=e._tTime/e._tDur;return l&&!o&&(e._time*=c/e._dur),e._dur=c,e._tDur=i?i<0?1e10:Je(c*(i+1)+e._rDelay*i):c,l>0&&!o&&Ib(e,e._tTime=e._tDur*l),e.parent&&Lb(e),n||Oi(e.parent,e),e},NS=function(e){return e instanceof ht?Oi(e):zs(e,e._dur)},hq={_start:0,endTime:zc,totalDuration:zc},Tt=function t(e,r,n){var o=e.labels,i=e._recent||hq,c=e.duration()>=qt?i.endTime(!1):e._dur,l,d,h;return Ke(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*(ct(n)?n[0]:n).totalDuration()),l>1?t(e,r.substr(0,l-1),n)+d:c+d)):r==null?c:+r},Pc=function(e,r,n){var o=Sa(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=yt(d.vars.inherit)&&d.parent;c.immediateRender=yt(l.immediateRender),e<2?c.runBackwards=1:c.startAt=r[i-1]}return new Ze(r[0],c,r[i+1])},Qa=function(e,r){return e||e===0?r(e):r},Zc=function(e,r,n){return n<e?e:n>r?r:n},it=function(e,r){return!Ke(e)||!(r=eq.exec(e))?"":r[1]},uq=function(e,r,n){return Qa(n,function(o){return Zc(e,r,o)})},FC=[].slice,EI=function(e,r){return e&&da(e)&&"length"in e&&(!r&&!e.length||e.length-1 in e&&da(e[0]))&&!e.nodeType&&e!==ea},pq=function(e,r,n){return n===void 0&&(n=[]),e.forEach(function(o){var i;return Ke(o)&&!r||EI(o,1)?(i=n).push.apply(i,Dt(o)):n.push(o)})||n},Dt=function(e,r,n){return De&&!r&&De.selector?De.selector(e):Ke(e)&&!n&&(RC||!Fs())?FC.call((r||mj).querySelectorAll(e),0):ct(e)?pq(e,n):EI(e)?FC.call(e,0):e?[e]:[]},EC=function(e){return e=Dt(e)[0]||Dc("Invalid scope")||{},function(r){var n=e.current||e.nativeElement||e;return Dt(r,n.querySelectorAll?n:n===e?Dc("Invalid scope")||mj.createElement("div"):e)}},OI=function(e){return e.sort(function(){return .5-Math.random()})},HI=function(e){if(Ue(e))return e;var r=da(e)?e:{each:e},n=Hi(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 Ke(o)?u=p={center:.5,edges:.5,end:1}[o]||0:!l&&d&&(u=o[0],p=o[1]),function(y,m,g){var f=(g||r).length,x=c[f],v,M,w,b,C,I,S,A,N;if(!x){if(N=r.grid==="auto"?0:(r.grid||[1,qt])[1],!N){for(S=-qt;S<(S=g[N++].getBoundingClientRect().left)&&N<f;);N<f&&N--}for(x=c[f]=[],v=d?Math.min(N,f)*u-.5:o%N,M=N===qt?0:d?f*p/N-.5:o/N|0,S=0,A=qt,I=0;I<f;I++)w=I%N-v,b=M-(I/N|0),x[I]=C=h?Math.abs(h==="y"?b:w):wI(w*w+b*b),C>S&&(S=C),C<A&&(A=C);o==="random"&&OI(x),x.max=S-A,x.min=A,x.v=f=(parseFloat(r.amount)||parseFloat(r.each)*(N>f?f-1:h?h==="y"?f/N:N:Math.max(N,f/N))||0)*(o==="edges"?-1:1),x.b=f<0?i-f:i,x.u=it(r.amount||r.each)||0,n=n&&f<0?YI(n):n}return f=(x[y]-x.min)/x.max||0,Je(x.b+(n?n(f):f)*x.v)+x.u}},OC=function(e){var r=Math.pow(10,((e+"").split(".")[1]||"").length);return function(n){var o=Je(Math.round(parseFloat(n)/e)*e*r);return(o-o%1)/r+(Sa(n)?0:it(n))}},VI=function(e,r){var n=ct(e),o,i;return!n&&da(e)&&(o=n=e.radius||qt,e.values?(e=Dt(e.values),(i=!Sa(e[0]))&&(o*=o)):e=OC(e.increment)),Qa(r,n?Ue(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=qt,u=0,p=e.length,y,m;p--;)i?(y=e[p].x-l,m=e[p].y-d,y=y*y+m*m):y=Math.abs(e[p]-l),y<h&&(h=y,u=p);return u=!o||h<=o?e[u]:c,i||u===c||Sa(c)?u:u+it(c)}:OC(e))},BI=function(e,r,n,o){return Qa(ct(e)?!r:n===!0?!!(n=0):!o,function(){return ct(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})},yq=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)}},mq=function(e,r){return function(n){return e(parseFloat(n))+(r||it(n))}},fq=function(e,r,n){return $I(e,r,0,1,n)},UI=function(e,r,n){return Qa(n,function(o){return e[~~r(o)]})},xq=function t(e,r,n){var o=r-e;return ct(e)?UI(e,t(0,e.length),r):Qa(n,function(i){return(o+(i-e)%o)%o+e})},kq=function t(e,r,n){var o=r-e,i=o*2;return ct(e)?UI(e,t(0,e.length-1),r):Qa(n,function(c){return c=(i+(c-e)%i)%i||0,e+(c>o?i-c:c)})},Fc=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?SI:TC),n+=e.substr(r,o-r)+BI(l?i:+i[0],l?0:+i[1],+i[2]||1e-5),r=c+1;return n+e.substr(r,e.length-r)},$I=function(e,r,n,o,i){var c=r-e,l=o-n;return Qa(i,function(d){return n+((d-e)/c*l||0)})},gq=function t(e,r,n,o){var i=isNaN(e+r)?0:function(m){return(1-m)*e+m*r};if(!i){var c=Ke(e),l={},d,h,u,p,y;if(n===!0&&(o=1)&&(n=null),c)e={p:e},r={p:r};else if(ct(e)&&!ct(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(g){g*=p;var f=Math.min(y,~~g);return u[f](g-f)},n=r}else o||(e=Bi(ct(e)?[]:{},e));if(!u){for(d in r)vj.call(l,e,d,"get",r[d]);i=function(g){return Cj(g,l)||(c?e.p:e)}}}return Qa(n,i)},AS=function(e,r,n){var o=e.labels,i=qt,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},St=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&&$a.length&&cb(),l&&(De=l),u=d?i.apply(h,d):i.call(h),De=c,u},oc=function(e){return Za(e),e.scrollTrigger&&e.scrollTrigger.kill(!!st),e.progress()<1&&St(e,"onInterrupt"),e},hs,WI=[],GI=function(e){if(e)if(e=!e.name&&e.default||e,yj()||e.headless){var r=e.name,n=Ue(e),o=r&&!n&&e.init?function(){this._props=[]}:e,i={init:zc,render:Cj,add:vj,kill:qq,modifier:Rq,rawVars:0},c={targetTest:0,get:0,getSetter:bj,aliases:{},register:0};if(Fs(),e!==o){if(Mt[r])return;Ot(o,Ot(lb(e,i),c)),Bi(o.prototype,Bi(i,lb(e,c))),Mt[o.prop=r]=o,e.targetTest&&(eb.push(o),xj[r]=1),r=(r==="css"?"CSS":r.charAt(0).toUpperCase()+r.substr(1))+"Plugin"}NI(r,o),e.register&&e.register(kt,o,ft)}else WI.push(e)},Le=255,ic={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]},rC=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},ZI=function(e,r,n){var o=e?Sa(e)?[e>>16,e>>8&Le,e&Le]:0:ic.black,i,c,l,d,h,u,p,y,m,g;if(!o){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),ic[e])o=ic[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=g=e.match(TC),!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]=rC(d+1/3,i,c),o[1]=rC(d,i,c),o[2]=rC(d-1/3,i,c);else if(~e.indexOf("="))return o=e.match(CI),n&&o.length<4&&(o[3]=1),o}else o=e.match(TC)||ic.transparent;o=o.map(Number)}return r&&!g&&(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:(m=p-y,h=u>.5?m/(2-p-y):m/(p+y),d=p===i?(c-l)/m+(c<l?6:0):p===c?(l-i)/m+2:(i-c)/m+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},XI=function(e){var r=[],n=[],o=-1;return e.split(Wa).forEach(function(i){var c=i.match(ds)||[];r.push.apply(r,c),n.push(o+=c.length+1)}),r.c=n,r},PS=function(e,r,n){var o="",i=(e+o).match(Wa),c=r?"hsla(":"rgba(",l=0,d,h,u,p;if(!i)return e;if(i=i.map(function(y){return(y=ZI(y,r,1))&&c+(r?y[0]+","+y[1]+"%,"+y[2]+"%,"+y[3]:y.join(","))+")"}),n&&(u=XI(e),d=n.c,d.join(o)!==u.c.join(o)))for(h=e.replace(Wa,"1").split(ds),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(Wa),p=h.length-1;l<p;l++)o+=h[l]+i[l];return o+h[p]},Wa=function(){var t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in ic)t+="|"+e+"\\b";return new RegExp(t+")","gi")}(),vq=/hsl[a]?\(/,JI=function(e){var r=e.join(" "),n;if(Wa.lastIndex=0,Wa.test(r))return n=vq.test(r),e[1]=PS(e[1],n),e[0]=PS(e[0],n,XI(e[1])),!0},Ec,jt=function(){var t=Date.now,e=500,r=33,n=t(),o=n,i=1e3/240,c=i,l=[],d,h,u,p,y,m,g=function f(x){var v=t()-o,M=x===!0,w,b,C,I;if((v>e||v<0)&&(n+=v-r),o+=v,C=o-n,w=C-c,(w>0||M)&&(I=++p.frame,y=C-p.time*1e3,p.time=C=C/1e3,c+=w+(w>=i?4:i-w),b=1),M||(d=h(f)),b)for(m=0;m<l.length;m++)l[m](C,y,I,x)};return p={time:0,frame:0,tick:function(){g(!0)},deltaRatio:function(x){return y/(1e3/(x||60))},wake:function(){LI&&(!RC&&yj()&&(ea=RC=window,mj=ea.document||{},Nt.gsap=kt,(ea.gsapVersions||(ea.gsapVersions=[])).push(kt.version),II(sb||ea.GreenSockGlobals||!ea.gsap&&ea||{}),WI.forEach(GI)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,d&&p.sleep(),h=u||function(x){return setTimeout(x,c-p.time*1e3+1|0)},Ec=1,g(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(d),Ec=0,h=zc},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,M){var w=v?function(b,C,I,S){x(b,C,I,S),p.remove(w)}:x;return p.remove(x),l[M?"unshift":"push"](w),Fs(),w},remove:function(x,v){~(v=l.indexOf(x))&&l.splice(v,1)&&m>=v&&m--},_listeners:l},p}(),Fs=function(){return!Ec&&jt.wake()},ye={},Mq=/^[\d.\-M][\d.\-,\s]/,wq=/["']/g,bq=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(wq,"").trim():+h,o=d.substr(l+1).trim();return r},Cq=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)},jq=function(e){var r=(e+"").split("("),n=ye[r[0]];return n&&r.length>1&&n.config?n.config.apply(null,~e.indexOf("{")?[bq(r[1])]:Cq(e).split(",").map(TI)):ye._CE&&Mq.test(e)?ye._CE("",e):n},YI=function(e){return function(r){return 1-e(1-r)}},KI=function t(e,r){for(var n=e._first,o;n;)n instanceof ht?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},Hi=function(e,r){return e&&(Ue(e)?e:ye[e]||jq(e))||r},Yi=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 mt(e,function(l){ye[l]=Nt[l]=i,ye[c=l.toLowerCase()]=n;for(var d in i)ye[c+(d==="easeIn"?".in":d==="easeOut"?".out":".inOut")]=ye[l+"."+d]=i[d]}),i},QI=function(e){return function(r){return r<.5?(1-e(1-r*2))/2:.5+e((r-.5)*2)/2}},nC=function t(e,r,n){var o=r>=1?r:1,i=(n||(e?.3:.45))/(r<1?r:1),c=i/_C*(Math.asin(1/o)||0),l=function(u){return u===1?1:o*Math.pow(2,-10*u)*QR((u-c)*i)+1},d=e==="out"?l:e==="in"?function(h){return 1-l(1-h)}:QI(l);return i=_C/i,d.config=function(h,u){return t(e,h,u)},d},oC=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)}:QI(n);return o.config=function(i){return t(e,i)},o};mt("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var r=e<5?e+1:e;Yi(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})});ye.Linear.easeNone=ye.none=ye.Linear.easeIn;Yi("Elastic",nC("in"),nC("out"),nC());(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};Yi("Bounce",function(c){return 1-i(1-c)},i)})(7.5625,2.75);Yi("Expo",function(t){return t?Math.pow(2,10*(t-1)):0});Yi("Circ",function(t){return-(wI(1-t*t)-1)});Yi("Sine",function(t){return t===1?1:-KR(t*JR)+1});Yi("Back",oC("in"),oC("out"),oC());ye.SteppedEase=ye.steps=Nt.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-Ae;return function(l){return((o*Zc(0,c,l)|0)+i)*n}}};qs.ease=ye["quad.out"];mt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return kj+=t+","+t+"Params,"});var eN=function(e,r){this.id=YR++,e._gsap=this,this.target=e,this.harness=r,this.get=r?r.get:PI,this.set=r?r.getSetter:bj},Oc=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,zs(this,+r.duration,1,1),this.data=r.data,De&&(this._ctx=De,De.data.push(this)),Ec||jt.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,zs(this,this._repeat<0?n:(n-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(n,o){if(Fs(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(Ib(this,n),!i._dp||i.parent||DI(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)&&aa(this._dp,this,this._start-this._delay)}return(this._tTime!==n||!this._dur&&!o||this._initted&&Math.abs(this._zTime)===Ae||!n&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=n),_I(this,n,o)),this},e.time=function(n,o){return arguments.length?this.totalTime(Math.min(this.totalDuration(),n+IS(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)+IS(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?Ds(this._tTime,i)+1:1},e.timeScale=function(n,o){if(!arguments.length)return this._rts===-Ae?0:this._rts;if(this._rts===n)return this;var i=this.parent&&this._ts?db(this.parent._time,this):this._tTime;return this._rts=+n||0,this._ts=this._ps||n===-Ae?0:this._rts,this.totalTime(Zc(-Math.abs(this._delay),this._tDur,i),o!==!1),Lb(this),iq(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):(Fs(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==Ae&&(this._tTime-=Ae)))),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)&&aa(o,this,n-this._delay),this}return this._start},e.endTime=function(n){return this._start+(yt(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?db(o.rawTime(n),this):this._tTime:this._tTime},e.revert=function(n){n===void 0&&(n=aq);var o=st;return st=n,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(n),this.totalTime(-.01,n.suppressEvents)),this.data!=="nested"&&n.kill!==!1&&this.kill(),st=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,NS(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(n){if(arguments.length){var o=this._time;return this._rDelay=n,NS(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(Tt(this,n),yt(o))},e.restart=function(n,o){return this.play().totalTime(n?-this._delay:0,yt(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?-Ae:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-Ae,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)-Ae)},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=Ue(n)?n:RI,l=function(){var h=o.then;o.then=null,Ue(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(){oc(this)},t}();Ot(Oc.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:-Ae,_prom:0,_ps:!1,_rts:1});var ht=function(t){MI(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=yt(n.sortChildren),Ee&&aa(n.parent||Ee,fa(i),o),n.reversed&&i.reverse(),n.paused&&i.paused(!0),n.scrollTrigger&&zI(fa(i),n.scrollTrigger),i}var r=e.prototype;return r.to=function(o,i,c){return Pc(0,arguments,this),this},r.from=function(o,i,c){return Pc(1,arguments,this),this},r.fromTo=function(o,i,c,l){return Pc(2,arguments,this),this},r.set=function(o,i,c){return i.duration=0,i.parent=this,Ac(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new Ze(o,i,Tt(this,c),1),this},r.call=function(o,i,c){return aa(this,Ze.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 Ze(o,c,Tt(this,d)),this},r.staggerFrom=function(o,i,c,l,d,h,u){return c.runBackwards=1,Ac(c).immediateRender=yt(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,Ac(l).immediateRender=yt(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:Je(o),p=this._zTime<0!=o<0&&(this._initted||!h),y,m,g,f,x,v,M,w,b,C,I,S;if(this!==Ee&&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,b=this._start,w=this._ts,v=!w,p&&(h||(l=this._zTime),(o||!i)&&(this._zTime=o)),this._repeat){if(I=this._yoyo,x=h+this._rDelay,this._repeat<-1&&o<0)return this.totalTime(x*100+o,i,c);if(y=Je(u%x),u===d?(f=this._repeat,y=h):(f=~~(u/x),f&&f===u/x&&(y=h,f--),y>h&&(y=h)),C=Ds(this._tTime,x),!l&&this._tTime&&C!==f&&this._tTime-C*x-this._dur<=0&&(C=f),I&&f&1&&(y=h-y,S=1),f!==C&&!this._lock){var A=I&&C&1,N=A===(I&&f&1);if(f<C&&(A=!A),l=A?0:u%h?h:u,this._lock=1,this.render(l||(S?0:Je(f*x)),i,!h)._lock=0,this._tTime=u,!i&&this.parent&&St(this,"onRepeat"),this.vars.repeatRefresh&&!S&&(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,N&&(this._lock=2,l=A?h:-1e-4,this.render(l,!0),this.vars.repeatRefresh&&!S&&this.invalidate()),this._lock=0,!this._ts&&!v)return this;KI(this,S)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(M=dq(this,Je(l),Je(y)),M&&(u-=y-(y=M._start))),this._tTime=u,this._time=y,this._act=!w,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=o,l=0),!l&&y&&!i&&!f&&(St(this,"onStart"),this._tTime!==u))return this;if(y>=l&&o>=0)for(m=this._first;m;){if(g=m._next,(m._act||y>=m._start)&&m._ts&&M!==m){if(m.parent!==this)return this.render(o,i,c);if(m.render(m._ts>0?(y-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(y-m._start)*m._ts,i,c),y!==this._time||!this._ts&&!v){M=0,g&&(u+=this._zTime=-Ae);break}}m=g}else{m=this._last;for(var R=o<0?o:y;m;){if(g=m._prev,(m._act||R<=m._end)&&m._ts&&M!==m){if(m.parent!==this)return this.render(o,i,c);if(m.render(m._ts>0?(R-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(R-m._start)*m._ts,i,c||st&&(m._initted||m._startAt)),y!==this._time||!this._ts&&!v){M=0,g&&(u+=this._zTime=R?-Ae:Ae);break}}m=g}}if(M&&!i&&(this.pause(),M.render(y>=l?0:-Ae)._zTime=y>=l?1:-1,this._ts))return this._start=b,Lb(this),this.render(o,i,c);this._onUpdate&&!i&&St(this,"onUpdate",!0),(u===d&&this._tTime>=this.totalDuration()||!u&&l)&&(b===this._start||Math.abs(w)!==Math.abs(this._ts))&&(this._lock||((o||!h)&&(u===d&&this._ts>0||!u&&this._ts<0)&&Za(this,1),!i&&!(o<0&&!l)&&(u||l||!d)&&(St(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(Sa(i)||(i=Tt(this,i,o)),!(o instanceof Oc)){if(ct(o))return o.forEach(function(l){return c.add(l,i)}),this;if(Ke(o))return this.addLabel(o,i);if(Ue(o))o=Ze.delayedCall(0,o);else return this}return this!==o?aa(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=-qt);for(var d=[],h=this._first;h;)h._start>=l&&(h instanceof Ze?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 Ke(o)?this.removeLabel(o):Ue(o)?this.killTweensOf(o):(Sb(this,o),o===this._recent&&(this._recent=this._last),Oi(this))},r.totalTime=function(o,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Je(jt.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]=Tt(this,i),this},r.removeLabel=function(o){return delete this.labels[o],this},r.addPause=function(o,i,c){var l=Ze.delayedCall(0,i||zc,c);return l.data="isPause",this._hasPause=1,aa(this,l,Tt(this,o))},r.removePause=function(o){var i=this._first;for(o=Tt(this,o);i;)i._start===o&&i.data==="isPause"&&Za(i),i=i._next},r.killTweensOf=function(o,i,c){for(var l=this.getTweensOf(o,c),d=l.length;d--;)Oa!==l[d]&&l[d].kill(o,i);return this},r.getTweensOf=function(o,i){for(var c=[],l=Dt(o),d=this._first,h=Sa(i),u;d;)d instanceof Ze?rq(d._targets,l)&&(h?(!Oa||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=Tt(c,o),d=i,h=d.startAt,u=d.onStart,p=d.onStartParams,y=d.immediateRender,m,g=Ze.to(c,Ot({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())||Ae,onStart:function(){if(c.pause(),!m){var x=i.duration||Math.abs((l-(h&&"time"in h?h.time:c._time))/c.timeScale());g._dur!==x&&zs(g,x,0,1).render(g._time,!0,!0),m=1}u&&u.apply(g,p||[])}},i));return y?g.render(0):g},r.tweenFromTo=function(o,i,c){return this.tweenTo(i,Ot({startAt:{time:Tt(this,o)}},c))},r.recent=function(){return this._recent},r.nextLabel=function(o){return o===void 0&&(o=this._time),AS(this,Tt(this,o))},r.previousLabel=function(o){return o===void 0&&(o=this._time),AS(this,Tt(this,o),1)},r.currentLabel=function(o){return arguments.length?this.seek(o,!0):this.previousLabel(this._time+Ae)},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 Oi(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={}),Oi(this)},r.totalDuration=function(o){var i=0,c=this,l=c._last,d=qt,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,aa(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;zs(c,c===Ee&&c._time>i?c._time:i,1,1),c._dirty=0}return c._tDur},e.updateRoot=function(o){if(Ee._ts&&(_I(Ee,db(o,Ee)),AI=jt.frame),jt.frame>=SS){SS+=Lt.autoSleep||120;var i=Ee._first;if((!i||!i._ts)&&Lt.autoSleep&&jt._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||jt.sleep()}}},e}(Oc);Ot(ht.prototype,{_lock:0,_hasPause:0,_forcing:0});var Sq=function(e,r,n,o,i,c,l){var d=new ft(this._pt,e,r,0,1,iN,null,i),h=0,u=0,p,y,m,g,f,x,v,M;for(d.b=n,d.e=o,n+="",o+="",(v=~o.indexOf("random("))&&(o=Fc(o)),c&&(M=[n,o],c(M,e,r),n=M[0],o=M[1]),y=n.match(tC)||[];p=tC.exec(o);)g=p[0],f=o.substring(h,p.index),m?m=(m+1)%5:f.substr(-5)==="rgba("&&(m=1),g!==y[u++]&&(x=parseFloat(y[u-1])||0,d._pt={_next:d._pt,p:f||u===1?f:",",s:x,c:g.charAt(1)==="="?Is(x,g)-x:parseFloat(g)-x,m:m&&m<4?Math.round:0},h=tC.lastIndex);return d.c=h<o.length?o.substring(h,o.length):"",d.fp=l,(jI.test(o)||v)&&(d.e=0),this._pt=d,d},vj=function(e,r,n,o,i,c,l,d,h,u){Ue(o)&&(o=o(i||0,e,c));var p=e[r],y=n!=="get"?n:Ue(p)?h?e[r.indexOf("set")||!Ue(e["get"+r.substr(3)])?r:"get"+r.substr(3)](h):e[r]():p,m=Ue(p)?h?Pq:nN:wj,g;if(Ke(o)&&(~o.indexOf("random(")&&(o=Fc(o)),o.charAt(1)==="="&&(g=Is(y,o)+(it(y)||0),(g||g===0)&&(o=g))),!u||y!==o||HC)return!isNaN(y*o)&&o!==""?(g=new ft(this._pt,e,r,+y||0,o-(y||0),typeof p=="boolean"?Tq:oN,0,m),h&&(g.fp=h),l&&g.modifier(l,this,e),this._pt=g):(!p&&!(r in e)&&fj(r,o),Sq.call(this,e,r,y,o,m,d||Lt.stringFilter,h))},Lq=function(e,r,n,o,i){if(Ue(e)&&(e=_c(e,i,r,n,o)),!da(e)||e.style&&e.nodeType||ct(e)||bI(e))return Ke(e)?_c(e,i,r,n,o):e;var c={},l;for(l in e)c[l]=_c(e[l],i,r,n,o);return c},tN=function(e,r,n,o,i,c){var l,d,h,u;if(Mt[e]&&(l=new Mt[e]).init(i,l.rawVars?r[e]:Lq(r[e],o,i,c,n),n,o,c)!==!1&&(n._pt=d=new ft(n._pt,i,e,0,1,l.render,l,0,l.priority),n!==hs))for(h=n._ptLookup[n._targets.indexOf(i)],u=l._props.length;u--;)h[l._props[u]]=d;return l},Oa,HC,Mj=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,m=o.autoRevert,g=e._dur,f=e._startAt,x=e._targets,v=e.parent,M=v&&v.data==="nested"?v.vars.targets:x,w=e._overwrite==="auto"&&!uj,b=e.timeline,C,I,S,A,N,R,P,_,T,F,U,z,B;if(b&&(!y||!i)&&(i="none"),e._ease=Hi(i,qs.ease),e._yEase=p?YI(Hi(p===!0?i:p,qs.ease)):0,p&&e._yoyo&&!e._repeat&&(p=e._yEase,e._yEase=e._ease,e._ease=p),e._from=!b&&!!o.runBackwards,!b||y&&!o.stagger){if(_=x[0]?Ei(x[0]).harness:0,z=_&&o[_.prop],C=lb(o,xj),f&&(f._zTime<0&&f.progress(1),r<0&&u&&l&&!m?f.render(-1,!0):f.revert(u&&g?Q9:tq),f._lazy=0),c){if(Za(e._startAt=Ze.set(x,Ot({data:"isStart",overwrite:!1,parent:v,immediateRender:!0,lazy:!f&&yt(d),startAt:null,delay:0,onUpdate:h&&function(){return St(e,"onUpdate")},stagger:0},c))),e._startAt._dp=0,e._startAt._sat=e,r<0&&(st||!l&&!m)&&e._startAt.revert(Q9),l&&g&&r<=0&&n<=0){r&&(e._zTime=r);return}}else if(u&&g&&!f){if(r&&(l=!1),S=Ot({overwrite:!1,data:"isFromStart",lazy:l&&!f&&yt(d),immediateRender:l,stagger:0,parent:v},C),z&&(S[_.prop]=z),Za(e._startAt=Ze.set(x,S)),e._startAt._dp=0,e._startAt._sat=e,r<0&&(st?e._startAt.revert(Q9):e._startAt.render(-1,!0)),e._zTime=r,!l)t(e._startAt,Ae,Ae);else if(!r)return}for(e._pt=e._ptCache=0,d=g&&yt(d)||d&&!g,I=0;I<x.length;I++){if(N=x[I],P=N._gsap||gj(x)[I]._gsap,e._ptLookup[I]=F={},qC[P.id]&&$a.length&&cb(),U=M===x?I:M.indexOf(N),_&&(T=new _).init(N,z||C,e,U,M)!==!1&&(e._pt=A=new ft(e._pt,N,T.name,0,1,T.render,T,0,T.priority),T._props.forEach(function(D){F[D]=A}),T.priority&&(R=1)),!_||z)for(S in C)Mt[S]&&(T=tN(S,C,e,U,N,M))?T.priority&&(R=1):F[S]=A=vj.call(e,N,S,"get",C[S],U,M,0,o.stringFilter);e._op&&e._op[I]&&e.kill(N,e._op[I]),w&&e._pt&&(Oa=e,Ee.killTweensOf(N,F,e.globalTime(r)),B=!e.parent,Oa=0),e._pt&&d&&(qC[P.id]=1)}R&&sN(e),e._onInit&&e._onInit(e)}e._onUpdate=h,e._initted=(!e._op||e._pt)&&!B,y&&r<=0&&b.render(qt,!0,!0)},Iq=function(e,r,n,o,i,c,l,d){var h=(e._pt&&e._ptCache||(e._ptCache={}))[r],u,p,y,m;if(!h)for(h=e._ptCache[r]=[],y=e._ptLookup,m=e._targets.length;m--;){if(u=y[m][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 HC=1,e.vars[r]="+=0",Mj(e,l),HC=0,d?Dc(r+" not eligible for reset"):1;h.push(u)}for(m=h.length;m--;)p=h[m],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=We(n)+it(p.e)),p.b&&(p.b=u.s+it(p.b))},Nq=function(e,r){var n=e[0]?Ei(e[0]).harness:0,o=n&&n.aliases,i,c,l,d;if(!o)return r;i=Bi({},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},Aq=function(e,r,n,o){var i=r.ease||o||"power1.inOut",c,l;if(ct(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})},_c=function(e,r,n,o,i){return Ue(e)?e.call(r,n,o,i):Ke(e)&&~e.indexOf("random(")?Fc(e):e},aN=kj+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",rN={};mt(aN+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return rN[t]=1});var Ze=function(t){MI(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:Ac(o))||this;var d=l.vars,h=d.duration,u=d.delay,p=d.immediateRender,y=d.stagger,m=d.overwrite,g=d.keyframes,f=d.defaults,x=d.scrollTrigger,v=d.yoyoEase,M=o.parent||Ee,w=(ct(n)||bI(n)?Sa(n[0]):"length"in o)?[n]:Dt(n),b,C,I,S,A,N,R,P;if(l._targets=w.length?gj(w):Dc("GSAP target "+n+" not found. https://gsap.com",!Lt.nullTargetWarn)||[],l._ptLookup=[],l._overwrite=m,g||y||e1(h)||e1(u)){if(o=l.vars,b=l.timeline=new ht({data:"nested",defaults:f||{},targets:M&&M.data==="nested"?M.vars.targets:w}),b.kill(),b.parent=b._dp=fa(l),b._start=0,y||e1(h)||e1(u)){if(S=w.length,R=y&&HI(y),da(y))for(A in y)~aN.indexOf(A)&&(P||(P={}),P[A]=y[A]);for(C=0;C<S;C++)I=lb(o,rN),I.stagger=0,v&&(I.yoyoEase=v),P&&Bi(I,P),N=w[C],I.duration=+_c(h,fa(l),C,N,w),I.delay=(+_c(u,fa(l),C,N,w)||0)-l._delay,!y&&S===1&&I.delay&&(l._delay=u=I.delay,l._start+=u,I.delay=0),b.to(N,I,R?R(C,N,w):0),b._ease=ye.none;b.duration()?h=u=0:l.timeline=0}else if(g){Ac(Ot(b.vars.defaults,{ease:"none"})),b._ease=Hi(g.ease||o.ease||"none");var _=0,T,F,U;if(ct(g))g.forEach(function(z){return b.to(w,z,">")}),b.duration();else{I={};for(A in g)A==="ease"||A==="easeEach"||Aq(A,g[A],I,g.easeEach);for(A in I)for(T=I[A].sort(function(z,B){return z.t-B.t}),_=0,C=0;C<T.length;C++)F=T[C],U={ease:F.e,duration:(F.t-(C?T[C-1].t:0))/100*h},U[A]=F.v,b.to(w,U,_),_+=U.duration;b.duration()<h&&b.to({},{duration:h-b.duration()})}}h||l.duration(h=b.duration())}else l.timeline=0;return m===!0&&!uj&&(Oa=fa(l),Ee.killTweensOf(w),Oa=0),aa(M,fa(l),i),o.reversed&&l.reverse(),o.paused&&l.paused(!0),(p||!h&&!g&&l._start===Je(M._time)&&yt(p)&&sq(fa(l))&&M.data!=="nested")&&(l._tTime=-Ae,l.render(Math.max(0,-u)||0)),x&&zI(fa(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-Ae&&!u?d:o<Ae?0:o,y,m,g,f,x,v,M,w,b;if(!h)lq(this,o,i,c);else if(p!==this._tTime||!o||c||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u){if(y=p,w=this.timeline,this._repeat){if(f=h+this._rDelay,this._repeat<-1&&u)return this.totalTime(f*100+o,i,c);if(y=Je(p%f),p===d?(g=this._repeat,y=h):(g=~~(p/f),g&&g===Je(p/f)&&(y=h,g--),y>h&&(y=h)),v=this._yoyo&&g&1,v&&(b=this._yEase,y=h-y),x=Ds(this._tTime,f),y===l&&!c&&this._initted&&g===x)return this._tTime=p,this;g!==x&&(w&&this._yEase&&KI(w,v),this.vars.repeatRefresh&&!v&&!this._lock&&this._time!==f&&this._initted&&(this._lock=c=1,this.render(Je(f*g),!0).invalidate()._lock=0))}if(!this._initted){if(FI(this,u?o:y,c,i,p))return this._tTime=0,this;if(l!==this._time&&!(c&&this.vars.repeatRefresh&&g!==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=M=(b||this._ease)(y/h),this._from&&(this.ratio=M=1-M),y&&!l&&!i&&!g&&(St(this,"onStart"),this._tTime!==p))return this;for(m=this._pt;m;)m.r(M,m.d),m=m._next;w&&w.render(o<0?o:w._dur*w._ease(y/this._dur),i,c)||this._startAt&&(this._zTime=o),this._onUpdate&&!i&&(u&&DC(this,o,i,c),St(this,"onUpdate")),this._repeat&&g!==x&&this.vars.onRepeat&&!i&&this.parent&&St(this,"onRepeat"),(p===this._tDur||!p)&&this._tTime===p&&(u&&!this._onUpdate&&DC(this,o,!0,!0),(o||!h)&&(p===this._tDur&&this._ts>0||!p&&this._ts<0)&&Za(this,1),!i&&!(u&&!l)&&(p||l||v)&&(St(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){Ec||jt.wake(),this._ts||this.play();var h=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||Mj(this,h),u=this._ease(h/this._dur),Iq(this,o,i,c,l,u,h,d)?this.resetTo(o,i,c,l,1):(Ib(this,0),this.parent||qI(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?oc(this):this;if(this.timeline){var c=this.timeline.totalDuration();return this.timeline.killTweensOf(o,i,Oa&&Oa.vars.overwrite!==!0)._first||oc(this),this.parent&&c!==this.timeline.totalDuration()&&zs(this,this._dur*this.timeline._tDur/c,0,1),this}var l=this._targets,d=o?Dt(o):l,h=this._ptLookup,u=this._pt,p,y,m,g,f,x,v;if((!i||i==="all")&&oq(l,d))return i==="all"&&(this._pt=0),oc(this);for(p=this._op=this._op||[],i!=="all"&&(Ke(i)&&(f={},mt(i,function(M){return f[M]=1}),i=f),i=Nq(l,i)),v=l.length;v--;)if(~d.indexOf(l[v])){y=h[v],i==="all"?(p[v]=i,g=y,m={}):(m=p[v]=p[v]||{},g=i);for(f in g)x=y&&y[f],x&&((!("kill"in x.d)||x.d.kill(f)===!0)&&Sb(this,x,"_pt"),delete y[f]),m!=="all"&&(m[f]=1)}return this._initted&&!this._pt&&u&&oc(this),this},e.to=function(o,i){return new e(o,i,arguments[2])},e.from=function(o,i){return Pc(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 Pc(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 Ee.killTweensOf(o,i,c)},e}(Oc);Ot(Ze.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});mt("staggerTo,staggerFrom,staggerFromTo",function(t){Ze[t]=function(){var e=new ht,r=FC.call(arguments,0);return r.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,r)}});var wj=function(e,r,n){return e[r]=n},nN=function(e,r,n){return e[r](n)},Pq=function(e,r,n,o){return e[r](o.fp,n)},_q=function(e,r,n){return e.setAttribute(r,n)},bj=function(e,r){return Ue(e[r])?nN:pj(e[r])&&e.setAttribute?_q:wj},oN=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e6)/1e6,r)},Tq=function(e,r){return r.set(r.t,r.p,!!(r.s+r.c*e),r)},iN=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)},Cj=function(e,r){for(var n=r._pt;n;)n.r(e,n.d),n=n._next},Rq=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},qq=function(e){for(var r=this._pt,n,o;r;)o=r._next,r.p===e&&!r.op||r.op===e?Sb(this,r,"_pt"):r.dep||(n=1),r=o;return!n},Dq=function(e,r,n,o){o.mSet(e,r,o.m.call(o.tween,n,o.mt),o)},sN=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},ft=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||oN,this.d=d||this,this.set=h||wj,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=Dq,this.m=n,this.mt=i,this.tween=o},t}();mt(kj+"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 xj[t]=1});Nt.TweenMax=Nt.TweenLite=Ze;Nt.TimelineLite=Nt.TimelineMax=ht;Ee=new ht({sortChildren:!1,defaults:qs,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Lt.stringFilter=JI;var Vi=[],tb={},zq=[],_S=0,Fq=0,iC=function(e){return(tb[e]||zq).map(function(r){return r()})},VC=function(){var e=Date.now(),r=[];e-_S>2&&(iC("matchMediaInit"),Vi.forEach(function(n){var o=n.queries,i=n.conditions,c,l,d,h;for(l in o)c=ea.matchMedia(o[l]).matches,c&&(d=1),c!==i[l]&&(i[l]=c,h=1);h&&(n.revert(),d&&r.push(n))}),iC("matchMediaRevert"),r.forEach(function(n){return n.onMatch(n,function(o){return n.add(null,o)})}),_S=e,iC("matchMedia"))},cN=function(){function t(r,n){this.selector=n&&EC(n),this.data=[],this._r=[],this.isReverted=!1,this.id=Fq++,r&&this.add(r)}var e=t.prototype;return e.add=function(n,o,i){Ue(n)&&(i=o,o=n,n=Ue);var c=this,l=function(){var h=De,u=c.selector,p;return h&&h!==c&&h.data.push(c),i&&(c.selector=EC(i)),De=c,p=o.apply(c,arguments),Ue(p)&&c._r.push(p),De=h,c.selector=u,c.isReverted=!1,p};return c.last=l,n===Ue?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 Ze&&!(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 ht?h.data!=="nested"&&(h.scrollTrigger&&h.scrollTrigger.revert(),h.kill()):!(h instanceof Ze)&&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=Vi.length;c--;)Vi[c].id===this.id&&Vi.splice(c,1)},e.revert=function(n){this.kill(n||{})},t}(),Eq=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){da(n)||(n={matches:n});var c=new cN(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=ea.matchMedia(n[h]),d&&(Vi.indexOf(c)<0&&Vi.push(c),(l[h]=d.matches)&&(u=1),d.addListener?d.addListener(VC):d.addEventListener("change",VC)));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}(),hb={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 GI(o)})},timeline:function(e){return new ht(e)},getTweensOf:function(e,r){return Ee.getTweensOf(e,r)},getProperty:function(e,r,n,o){Ke(e)&&(e=Dt(e)[0]);var i=Ei(e||{}).get,c=n?RI:TI;return n==="native"&&(n=""),e&&(r?c((Mt[r]&&Mt[r].get||i)(e,r,n,o)):function(l,d,h){return c((Mt[l]&&Mt[l].get||i)(e,l,d,h))})},quickSetter:function(e,r,n){if(e=Dt(e),e.length>1){var o=e.map(function(u){return kt.quickSetter(u,r,n)}),i=o.length;return function(u){for(var p=i;p--;)o[p](u)}}e=e[0]||{};var c=Mt[r],l=Ei(e),d=l.harness&&(l.harness.aliases||{})[r]||r,h=c?function(u){var p=new c;hs._pt=0,p.init(e,n?u+n:u,hs,0,[e]),p.render(1,p),hs._pt&&Cj(1,hs)}: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=kt.to(e,Bi((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 Ee.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Hi(e.ease,qs.ease)),LS(qs,e||{})},config:function(e){return LS(Lt,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&&!Mt[l]&&!Nt[l]&&Dc(r+" effect requires "+l+" plugin.")}),aC[r]=function(l,d,h){return n(Dt(l),Ot(d||{},i),h)},c&&(ht.prototype[r]=function(l,d,h){return this.add(aC[r](l,da(d)?d:(h=d)&&{},this),h)})},registerEase:function(e,r){ye[e]=Hi(r)},parseEase:function(e,r){return arguments.length?Hi(e,r):ye},getById:function(e){return Ee.getById(e)},exportRoot:function(e,r){e===void 0&&(e={});var n=new ht(e),o,i;for(n.smoothChildTiming=yt(e.smoothChildTiming),Ee.remove(n),n._dp=0,n._time=n._tTime=Ee._time,o=Ee._first;o;)i=o._next,(r||!(!o._dur&&o instanceof Ze&&o.vars.onComplete===o._targets[0]))&&aa(n,o,o._start-o._delay),o=i;return aa(Ee,n,0),n},context:function(e,r){return e?new cN(e,r):De},matchMedia:function(e){return new Eq(e)},matchMediaRefresh:function(){return Vi.forEach(function(e){var r=e.conditions,n,o;for(o in r)r[o]&&(r[o]=!1,n=1);n&&e.revert()})||VC()},addEventListener:function(e,r){var n=tb[e]||(tb[e]=[]);~n.indexOf(r)||n.push(r)},removeEventListener:function(e,r){var n=tb[e],o=n&&n.indexOf(r);o>=0&&n.splice(o,1)},utils:{wrap:xq,wrapYoyo:kq,distribute:HI,random:BI,snap:VI,normalize:fq,getUnit:it,clamp:uq,splitColor:ZI,toArray:Dt,selector:EC,mapRange:$I,pipe:yq,unitize:mq,interpolate:gq,shuffle:OI},install:II,effects:aC,ticker:jt,updateRoot:ht.updateRoot,plugins:Mt,globalTimeline:Ee,core:{PropTween:ft,globals:NI,Tween:Ze,Timeline:ht,Animation:Oc,getCache:Ei,_removeLinkedListItem:Sb,reverting:function(){return st},context:function(e){return e&&De&&(De.data.push(e),e._ctx=De),De},suppressOverwrites:function(e){return uj=e}}};mt("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return hb[t]=Ze[t]});jt.add(ht.updateRoot);hs=hb.to({},{duration:0});var Oq=function(e,r){for(var n=e._pt;n&&n.p!==r&&n.op!==r&&n.fp!==r;)n=n._next;return n},Hq=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=Oq(c,o)),c&&c.modifier&&c.modifier(r[o],e,n[i],o))},sC=function(e,r){return{name:e,rawVars:1,init:function(o,i,c){c._onInit=function(l){var d,h;if(Ke(i)&&(d={},mt(i,function(u){return d[u]=1}),i=d),r){d={};for(h in i)d[h]=r(i[h]);i=d}Hq(l,i)}}}},kt=hb.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;)st?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)}},sC("roundProps",OC),sC("modifiers"),sC("snap",VI))||hb;Ze.version=ht.version=kt.version="3.12.5";LI=1;yj()&&Fs();ye.Power0;ye.Power1;ye.Power2;ye.Power3;ye.Power4;ye.Linear;ye.Quad;ye.Cubic;ye.Quart;ye.Quint;ye.Strong;ye.Elastic;ye.Back;ye.SteppedEase;ye.Bounce;ye.Sine;ye.Expo;ye.Circ;/*!
7734
7734
  * CSSPlugin 3.12.5
7735
7735
  * https://gsap.com
7736
7736
  *
@@ -7738,22 +7738,22 @@ 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 TS,Ha,Ns,jj,_i,RS,Sj,Vq=function(){return typeof window<"u"},La={},Pi=180/Math.PI,As=Math.PI/180,is=Math.atan2,qS=1e8,Lj=/([A-Z])/g,Bq=/(left|right|width|margin|padding|x)/i,Uq=/[\s,\(]\S/,na={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},BC=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},$q=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)},Wq=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)},Gq=function(e,r){var n=r.s+r.c*e;r.set(r.t,r.p,~~(n+(n<0?-.5:.5))+r.u,r)},lN=function(e,r){return r.set(r.t,r.p,e?r.e:r.b,r)},dN=function(e,r){return r.set(r.t,r.p,e!==1?r.b:r.e,r)},Zq=function(e,r,n){return e.style[r]=n},Xq=function(e,r,n){return e.style.setProperty(r,n)},Jq=function(e,r,n){return e._gsap[r]=n},Yq=function(e,r,n){return e._gsap.scaleX=e._gsap.scaleY=n},Kq=function(e,r,n,o,i){var c=e._gsap;c.scaleX=c.scaleY=n,c.renderTransform(i,c)},Qq=function(e,r,n,o,i){var c=e._gsap;c[r]=n,c.renderTransform(i,c)},Oe="transform",xt=Oe+"Origin",eD=function t(e,r){var n=this,o=this.target,i=o.style,c=o._gsap;if(e in La&&i){if(this.tfm=this.tfm||{},e!=="transform")e=na[e]||e,~e.indexOf(",")?e.split(",").forEach(function(l){return n.tfm[l]=va(o,l)}):this.tfm[e]=c.x?c[e]:va(o,e),e===xt&&(this.tfm.zOrigin=c.zOrigin);else return na.transform.split(",").forEach(function(l){return t.call(n,l,r)});if(this.props.indexOf(Oe)>=0)return;c.svg&&(this.svgo=o.getAttribute("data-svg-origin"),this.props.push(xt,r,"")),e=Oe}(i||r)&&this.props.push(e,r,i[e])},hN=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},tD=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(Lj,"-$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=Sj(),(!i||!i.isStart)&&!n[Oe]&&(hN(n),o.zOrigin&&n[xt]&&(n[xt]+=" "+o.zOrigin+"px",o.zOrigin=0,o.renderTransform()),o.uncache=1)}},uN=function(e,r){var n={target:e,props:[],revert:tD,save:eD};return e._gsap||kt.core.getCache(e),r&&r.split(",").forEach(function(o){return n.save(o)}),n},pN,UC=function(e,r){var n=Ha.createElementNS?Ha.createElementNS((r||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Ha.createElement(e);return n&&n.style?n:Ha.createElement(e)},ca=function t(e,r,n){var o=getComputedStyle(e);return o[r]||o.getPropertyValue(r.replace(Lj,"-$1").toLowerCase())||o.getPropertyValue(r)||!n&&t(e,Es(r)||r,1)||""},DS="O,Moz,ms,Ms,Webkit".split(","),Es=function(e,r,n){var o=r||_i,i=o.style,c=5;if(e in i&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);c--&&!(DS[c]+e in i););return c<0?null:(c===3?"ms":c>=0?DS[c]:"")+e},$C=function(){Vq()&&window.document&&(TS=window,Ha=TS.document,Ns=Ha.documentElement,_i=UC("div")||{style:{}},UC("div"),Oe=Es(Oe),xt=Oe+"Origin",_i.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",pN=!!Es("perspective"),Sj=kt.core.reverting,jj=1)},cC=function t(e){var r=UC("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(Ns.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)),Ns.removeChild(r),this.style.cssText=i,c},zS=function(e,r){for(var n=r.length;n--;)if(e.hasAttribute(r[n]))return e.getAttribute(r[n])},yN=function(e){var r;try{r=e.getBBox()}catch{r=cC.call(e,!0)}return r&&(r.width||r.height)||e.getBBox===cC||(r=cC.call(e,!0)),r&&!r.width&&!r.x&&!r.y?{x:+zS(e,["x","cx","x1"])||0,y:+zS(e,["y","cy","y1"])||0,width:0,height:0}:r},mN=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&yN(e))},Ui=function(e,r){if(r){var n=e.style,o;r in La&&r!==xt&&(r=Oe),n.removeProperty?(o=r.substr(0,2),(o==="ms"||r.substr(0,6)==="webkit")&&(r="-"+r),n.removeProperty(o==="--"?r:r.replace(Lj,"-$1").toLowerCase())):n.removeAttribute(r)}},Va=function(e,r,n,o,i,c){var l=new ft(e._pt,r,n,0,1,c?dN:lN);return e._pt=l,l.b=o,l.e=i,e._props.push(n),l},FS={deg:1,rad:1,turn:1},aD={grid:1,flex:1},Xa=function t(e,r,n,o){var i=parseFloat(n)||0,c=(n+"").trim().substr((i+"").length)||"px",l=_i.style,d=Bq.test(r),h=e.tagName.toLowerCase()==="svg",u=(h?"client":"offset")+(d?"Width":"Height"),p=100,y=o==="px",m=o==="%",v,f,x,g;if(o===c||!i||FS[o]||FS[c])return i;if(c!=="px"&&!y&&(i=t(e,r,n,"px")),g=e.getCTM&&mN(e),(m||c==="%")&&(La[r]||~r.indexOf("adius")))return v=g?e.getBBox()[d?"width":"height"]:e[u],We(m?i/v*p:i/100*v);if(l[d?"width":"height"]=p+(y?c:o),f=~r.indexOf("adius")||o==="em"&&e.appendChild&&!h?e:e.parentNode,g&&(f=(e.ownerSVGElement||{}).parentNode),(!f||f===Ha||!f.appendChild)&&(f=Ha.body),x=f._gsap,x&&m&&x.width&&d&&x.time===jt.time&&!x.uncache)return We(i/x.width*p);if(m&&(r==="height"||r==="width")){var M=e.style[r];e.style[r]=p+o,v=e[u],M?e.style[r]=M:Ui(e,r)}else(m||c==="%")&&!aD[ca(f,"display")]&&(l.position=ca(e,"position")),f===e&&(l.position="static"),f.appendChild(_i),v=_i[u],f.removeChild(_i),l.position="absolute";return d&&m&&(x=Ei(f),x.time=jt.time,x.width=f[u]),We(y?v*i/p:v&&i?p/v*i:0)},va=function(e,r,n,o){var i;return jj||$C(),r in na&&r!=="transform"&&(r=na[r],~r.indexOf(",")&&(r=r.split(",")[0])),La[r]&&r!=="transform"?(i=Vc(e,o),i=r!=="transformOrigin"?i[r]:i.svg?i.origin:pb(ca(e,xt))+" "+i.zOrigin+"px"):(i=e.style[r],(!i||i==="auto"||o||~(i+"").indexOf("calc("))&&(i=ub[r]&&ub[r](e,r,n)||ca(e,r)||PI(e,r)||(r==="opacity"?1:0))),n&&!~(i+"").trim().indexOf(" ")?Xa(e,r,i,n)+n:i},rD=function(e,r,n,o){if(!n||n==="none"){var i=Es(r,e,1),c=i&&ca(e,i,1);c&&c!==n?(r=i,n=c):r==="borderColor"&&(n=ca(e,"borderTopColor"))}var l=new ft(this._pt,e.style,r,0,1,iN),d=0,h=0,u,p,y,m,v,f,x,g,M,w,j,b;if(l.b=n,l.e=o,n+="",o+="",o==="auto"&&(f=e.style[r],e.style[r]=o,o=ca(e,r)||o,f?e.style[r]=f:Ui(e,r)),u=[n,o],JI(u),n=u[0],o=u[1],y=n.match(ds)||[],b=o.match(ds)||[],b.length){for(;p=ds.exec(o);)x=p[0],M=o.substring(d,p.index),v?v=(v+1)%5:(M.substr(-5)==="rgba("||M.substr(-5)==="hsla(")&&(v=1),x!==(f=y[h++]||"")&&(m=parseFloat(f)||0,j=f.substr((m+"").length),x.charAt(1)==="="&&(x=Is(m,x)+j),g=parseFloat(x),w=x.substr((g+"").length),d=ds.lastIndex-w.length,w||(w=w||Lt.units[r]||j,d===o.length&&(o+=w,l.e+=w)),j!==w&&(m=Xa(e,r,f,w)||0),l._pt={_next:l._pt,p:M||h===1?M:",",s:m,c:g-m,m:v&&v<4||r==="zIndex"?Math.round:0});l.c=d<o.length?o.substring(d,o.length):""}else l.r=r==="display"&&o==="none"?dN:lN;return jI.test(o)&&(l.e=0),this._pt=l,l},ES={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},nD=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]=ES[n]||n,r[1]=ES[o]||o,r.join(" ")},oD=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],La[l]&&(d=1,l=l==="transformOrigin"?xt:Oe),Ui(n,l);d&&(Ui(n,Oe),c&&(c.svg&&n.removeAttribute("transform"),Vc(n,1),c.uncache=1,hN(o)))}},ub={clearProps:function(e,r,n,o,i){if(i.data!=="isFromStart"){var c=e._pt=new ft(e._pt,r,n,0,0,oD);return c.u=o,c.pr=-10,c.tween=i,e._props.push(n),1}}},Hc=[1,0,0,1,0,0],fN={},xN=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},OS=function(e){var r=ca(e,Oe);return xN(r)?Hc:r.substr(7).match(CI).map(We)},Ij=function(e,r){var n=e._gsap||Ei(e),o=e.style,i=OS(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"?Hc:i):(i===Hc&&!e.offsetParent&&e!==Ns&&!n.svg&&(d=o.display,o.display="block",c=e.parentNode,(!c||!e.offsetParent)&&(h=1,l=e.nextElementSibling,Ns.appendChild(e)),i=OS(e),d?o.display=d:Ui(e,"display"),h&&(l?c.insertBefore(e,l):c?c.appendChild(e):Ns.removeChild(e))),r&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},WC=function(e,r,n,o,i,c){var l=e._gsap,d=i||Ij(e,!0),h=l.xOrigin||0,u=l.yOrigin||0,p=l.xOffset||0,y=l.yOffset||0,m=d[0],v=d[1],f=d[2],x=d[3],g=d[4],M=d[5],w=r.split(" "),j=parseFloat(w[0])||0,b=parseFloat(w[1])||0,I,S,A,N;n?d!==Hc&&(S=m*x-v*f)&&(A=j*(x/S)+b*(-f/S)+(f*M-x*g)/S,N=j*(-v/S)+b*(m/S)-(m*M-v*g)/S,j=A,b=N):(I=yN(e),j=I.x+(~w[0].indexOf("%")?j/100*I.width:j),b=I.y+(~(w[1]||w[0]).indexOf("%")?b/100*I.height:b)),o||o!==!1&&l.smooth?(g=j-h,M=b-u,l.xOffset=p+(g*m+M*f)-g,l.yOffset=y+(g*v+M*x)-M):l.xOffset=l.yOffset=0,l.xOrigin=j,l.yOrigin=b,l.smooth=!!o,l.origin=r,l.originIsAbsolute=!!n,e.style[xt]="0px 0px",c&&(Va(c,l,"xOrigin",h,j),Va(c,l,"yOrigin",u,b),Va(c,l,"xOffset",p,l.xOffset),Va(c,l,"yOffset",y,l.yOffset)),e.setAttribute("data-svg-origin",j+" "+b)},Vc=function(e,r){var n=e._gsap||new eN(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=ca(e,xt)||"0",u,p,y,m,v,f,x,g,M,w,j,b,I,S,A,N,R,P,_,T,F,U,z,B,D,X,ie,ee,Re,J,Y,Q;return u=p=y=f=x=g=M=w=j=0,m=v=1,n.svg=!!(e.getCTM&&mN(e)),d.translate&&((d.translate!=="none"||d.scale!=="none"||d.rotate!=="none")&&(o[Oe]=(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[Oe]!=="none"?d[Oe]:"")),o.scale=o.rotate=o.translate="none"),S=Ij(e,n.svg),n.svg&&(n.uncache?(D=e.getBBox(),h=n.xOrigin-D.x+"px "+(n.yOrigin-D.y)+"px",B=""):B=!r&&e.getAttribute("data-svg-origin"),WC(e,B||h,!!B||n.originIsAbsolute,n.smooth!==!1,S)),b=n.xOrigin||0,I=n.yOrigin||0,S!==Hc&&(P=S[0],_=S[1],T=S[2],F=S[3],u=U=S[4],p=z=S[5],S.length===6?(m=Math.sqrt(P*P+_*_),v=Math.sqrt(F*F+T*T),f=P||_?is(_,P)*Pi:0,M=T||F?is(T,F)*Pi+f:0,M&&(v*=Math.abs(Math.cos(M*As))),n.svg&&(u-=b-(b*P+I*T),p-=I-(b*_+I*F))):(Q=S[6],J=S[7],ie=S[8],ee=S[9],Re=S[10],Y=S[11],u=S[12],p=S[13],y=S[14],A=is(Q,Re),x=A*Pi,A&&(N=Math.cos(-A),R=Math.sin(-A),B=U*N+ie*R,D=z*N+ee*R,X=Q*N+Re*R,ie=U*-R+ie*N,ee=z*-R+ee*N,Re=Q*-R+Re*N,Y=J*-R+Y*N,U=B,z=D,Q=X),A=is(-T,Re),g=A*Pi,A&&(N=Math.cos(-A),R=Math.sin(-A),B=P*N-ie*R,D=_*N-ee*R,X=T*N-Re*R,Y=F*R+Y*N,P=B,_=D,T=X),A=is(_,P),f=A*Pi,A&&(N=Math.cos(A),R=Math.sin(A),B=P*N+_*R,D=U*N+z*R,_=_*N-P*R,z=z*N-U*R,P=B,U=D),x&&Math.abs(x)+Math.abs(f)>359.9&&(x=f=0,g=180-g),m=We(Math.sqrt(P*P+_*_+T*T)),v=We(Math.sqrt(z*z+Q*Q)),A=is(U,z),M=Math.abs(A)>2e-4?A*Pi:0,j=Y?1/(Y<0?-Y:Y):0),n.svg&&(B=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!xN(ca(e,Oe)),B&&e.setAttribute("transform",B))),Math.abs(M)>90&&Math.abs(M)<270&&(i?(m*=-1,M+=f<=0?180:-180,f+=f<=0?180:-180):(v*=-1,M+=M<=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=We(m),n.scaleY=We(v),n.rotation=We(f)+l,n.rotationX=We(x)+l,n.rotationY=We(g)+l,n.skewX=M+l,n.skewY=w+l,n.transformPerspective=j+c,(n.zOrigin=parseFloat(h.split(" ")[2])||!r&&n.zOrigin||0)&&(o[xt]=pb(h)),n.xOffset=n.yOffset=0,n.force3D=Lt.force3D,n.renderTransform=n.svg?sD:pN?kN:iD,n.uncache=0,n},pb=function(e){return(e=e.split(" "))[0]+" "+e[1]},lC=function(e,r,n){var o=it(r);return We(parseFloat(r)+parseFloat(Xa(e,"x",n+"px",o)))+o},iD=function(e,r){r.z="0px",r.rotationY=r.rotationX="0deg",r.force3D=0,kN(e,r)},sr="0deg",nc="0px",cr=") ",kN=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,m=n.skewY,v=n.scaleX,f=n.scaleY,x=n.transformPerspective,g=n.force3D,M=n.target,w=n.zOrigin,j="",b=g==="auto"&&e&&e!==1||g===!0;if(w&&(p!==sr||u!==sr)){var I=parseFloat(u)*As,S=Math.sin(I),A=Math.cos(I),N;I=parseFloat(p)*As,N=Math.cos(I),c=lC(M,c,S*N*-w),l=lC(M,l,-Math.sin(I)*-w),d=lC(M,d,A*N*-w+w)}x!==nc&&(j+="perspective("+x+cr),(o||i)&&(j+="translate("+o+"%, "+i+"%) "),(b||c!==nc||l!==nc||d!==nc)&&(j+=d!==nc||b?"translate3d("+c+", "+l+", "+d+") ":"translate("+c+", "+l+cr),h!==sr&&(j+="rotate("+h+cr),u!==sr&&(j+="rotateY("+u+cr),p!==sr&&(j+="rotateX("+p+cr),(y!==sr||m!==sr)&&(j+="skew("+y+", "+m+cr),(v!==1||f!==1)&&(j+="scale("+v+", "+f+cr),M.style[Oe]=j||"translate(0, 0)"},sD=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,m=n.target,v=n.xOrigin,f=n.yOrigin,x=n.xOffset,g=n.yOffset,M=n.forceCSS,w=parseFloat(c),j=parseFloat(l),b,I,S,A,N;d=parseFloat(d),h=parseFloat(h),u=parseFloat(u),u&&(u=parseFloat(u),h+=u,d+=u),d||h?(d*=As,h*=As,b=Math.cos(d)*p,I=Math.sin(d)*p,S=Math.sin(d-h)*-y,A=Math.cos(d-h)*y,h&&(u*=As,N=Math.tan(h-u),N=Math.sqrt(1+N*N),S*=N,A*=N,u&&(N=Math.tan(u),N=Math.sqrt(1+N*N),b*=N,I*=N)),b=We(b),I=We(I),S=We(S),A=We(A)):(b=p,A=y,I=S=0),(w&&!~(c+"").indexOf("px")||j&&!~(l+"").indexOf("px"))&&(w=Xa(m,"x",c,"px"),j=Xa(m,"y",l,"px")),(v||f||x||g)&&(w=We(w+v-(v*b+f*S)+x),j=We(j+f-(v*I+f*A)+g)),(o||i)&&(N=m.getBBox(),w=We(w+o/100*N.width),j=We(j+i/100*N.height)),N="matrix("+b+","+I+","+S+","+A+","+w+","+j+")",m.setAttribute("transform",N),M&&(m.style[Oe]=N)},cD=function(e,r,n,o,i){var c=360,l=Ke(i),d=parseFloat(i)*(l&&~i.indexOf("rad")?Pi: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*qS)%c-~~(h/c)*c:p==="ccw"&&h>0&&(h=(h-c*qS)%c-~~(h/c)*c)),e._pt=y=new ft(e._pt,r,n,o,h,$q),y.e=u,y.u="deg",e._props.push(n),y},HS=function(e,r){for(var n in r)e[n]=r[n];return e},lD=function(e,r,n){var o=HS({},n._gsap),i="perspective,force3D,transformOrigin,svgOrigin",c=n.style,l,d,h,u,p,y,m,v;o.svg?(h=n.getAttribute("transform"),n.setAttribute("transform",""),c[Oe]=r,l=Vc(n,1),Ui(n,Oe),n.setAttribute("transform",h)):(h=getComputedStyle(n)[Oe],c[Oe]=r,l=Vc(n,1),c[Oe]=h);for(d in La)h=o[d],u=l[d],h!==u&&i.indexOf(d)<0&&(m=it(h),v=it(u),p=m!==v?Xa(n,d,h,v):parseFloat(h),y=parseFloat(u),e._pt=new ft(e._pt,l,d,p,y-p,BC),e._pt.u=v||0,e._props.push(d));HS(l,o)};mt("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});ub[e>1?"border"+t:t]=function(l,d,h,u,p){var y,m;if(arguments.length<4)return y=c.map(function(v){return va(l,v,h)}),m=y.join(" "),m.split(y[0]).length===5?y[0]:m;y=(u+"").split(" "),m={},c.forEach(function(v,f){return m[v]=y[f]=y[f]||y[(f-1)/2|0]}),l.init(d,m,p)}});var gN={name:"css",register:$C,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,m,v,f,x,g,M,w,j,b,I,S,A;jj||$C(),this.styles=this.styles||uN(e),A=this.styles.props,this.tween=n;for(f in r)if(f!=="autoRound"&&(u=r[f],!(Mt[f]&&tN(f,r,n,o,e,i)))){if(m=typeof u,v=ub[f],m==="function"&&(u=u.call(n,o,e,i),m=typeof u),m==="string"&&~u.indexOf("random(")&&(u=Fc(u)),v)v(this,e,f,u,n)&&(S=1);else if(f.substr(0,2)==="--")h=(getComputedStyle(e).getPropertyValue(f)+"").trim(),u+="",Wa.lastIndex=0,Wa.test(h)||(x=it(h),g=it(u)),g?x!==g&&(h=Xa(e,f,h,g)+g):x&&(u+=x),this.add(l,"setProperty",h,u,o,i,0,0,f),c.push(f),A.push(f,0,l[f]);else if(m!=="undefined"){if(d&&f in d?(h=typeof d[f]=="function"?d[f].call(n,o,e,i):d[f],Ke(h)&&~h.indexOf("random(")&&(h=Fc(h)),it(h+"")||h==="auto"||(h+=Lt.units[f]||it(va(e,f))||""),(h+"").charAt(1)==="="&&(h=va(e,f))):h=va(e,f),y=parseFloat(h),M=m==="string"&&u.charAt(1)==="="&&u.substr(0,2),M&&(u=u.substr(2)),p=parseFloat(u),f in na&&(f==="autoAlpha"&&(y===1&&va(e,"visibility")==="hidden"&&p&&(y=0),A.push("visibility",0,l.visibility),Va(this,l,"visibility",y?"inherit":"hidden",p?"inherit":"hidden",!p)),f!=="scale"&&f!=="transform"&&(f=na[f],~f.indexOf(",")&&(f=f.split(",")[0]))),w=f in La,w){if(this.styles.save(f),j||(b=e._gsap,b.renderTransform&&!r.parseTransform||Vc(e,r.parseTransform),I=r.smoothOrigin!==!1&&b.smooth,j=this._pt=new ft(this._pt,l,Oe,0,1,b.renderTransform,b,0,-1),j.dep=1),f==="scale")this._pt=new ft(this._pt,b,"scaleY",b.scaleY,(M?Is(b.scaleY,M+p):p)-b.scaleY||0,BC),this._pt.u=0,c.push("scaleY",f),f+="X";else if(f==="transformOrigin"){A.push(xt,0,l[xt]),u=nD(u),b.svg?WC(e,u,0,I,0,this):(g=parseFloat(u.split(" ")[2])||0,g!==b.zOrigin&&Va(this,b,"zOrigin",b.zOrigin,g),Va(this,l,f,pb(h),pb(u)));continue}else if(f==="svgOrigin"){WC(e,u,1,I,0,this);continue}else if(f in fN){cD(this,b,f,y,M?Is(y,M+u):u);continue}else if(f==="smoothOrigin"){Va(this,b,"smooth",b.smooth,u);continue}else if(f==="force3D"){b[f]=u;continue}else if(f==="transform"){lD(this,u,e);continue}}else f in l||(f=Es(f)||f);if(w||(p||p===0)&&(y||y===0)&&!Uq.test(u)&&f in l)x=(h+"").substr((y+"").length),p||(p=0),g=it(u)||(f in Lt.units?Lt.units[f]:x),x!==g&&(y=Xa(e,f,h,g)),this._pt=new ft(this._pt,w?b:l,f,y,(M?Is(y,M+p):p)-y,!w&&(g==="px"||f==="zIndex")&&r.autoRound!==!1?Gq:BC),this._pt.u=g||0,x!==g&&g!=="%"&&(this._pt.b=h,this._pt.r=Wq);else if(f in l)rD.call(this,e,f,h,M?M+u:u);else if(f in e)this.add(e,f,h||e[f],M?M+u:u,o,i);else if(f!=="parseTransform"){fj(f,u);continue}w||(f in l?A.push(f,0,l[f]):A.push(f,1,h||e[f])),c.push(f)}}S&&sN(this)},render:function(e,r){if(r.tween._time||!Sj())for(var n=r._pt;n;)n.r(e,n.d),n=n._next;else r.styles.revert()},get:va,aliases:na,getSetter:function(e,r,n){var o=na[r];return o&&o.indexOf(",")<0&&(r=o),r in La&&r!==xt&&(e._gsap.x||va(e,"x"))?n&&RS===n?r==="scale"?Yq:Jq:(RS=n||{})&&(r==="scale"?Kq:Qq):e.style&&!pj(e.style[r])?Zq:~r.indexOf("-")?Xq:bj(e,r)},core:{_removeProperty:Ui,_getMatrix:Ij}};kt.utils.checkPrefix=Es;kt.core.getStyleSaver=uN;(function(t,e,r,n){var o=mt(t+","+e+","+r,function(i){La[i]=1});mt(e,function(i){Lt.units[i]="deg",fN[i]=1}),na[o[13]]=t+","+e,mt(n,function(i){var c=i.split(":");na[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");mt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){Lt.units[t]="px"});kt.registerPlugin(gN);var vN=kt.registerPlugin(gN)||kt;vN.core.Tween;function Nj(t){return GR[t]||Ea}function MN({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=Nj(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(ps,{className:"ml-2 h-4 w-4 transform group-hover:translate-x-1 transition-transform"})]})}):""]},o)})})]})})}function dD({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:m=!0}){const v=f=>{f.preventDefault();const x=new FormData(f.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:v,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})]}),m&&a.jsxs("div",{className:"mt-12 space-y-4",children:[a.jsxs("div",{className:"flex items-center text-gray-600",children:[a.jsx(sa,{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(zi,{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(ws,{className:"h-6 w-6 mr-3"}),a.jsx("span",{children:p})]})]})]})]})})}const wN=C.createContext(void 0);function hD({children:t}){const[e,r]=C.useState([]),[n,o]=C.useState(!1),i=C.useCallback(u=>{r(p=>p.find(m=>m.id===u.id)?p.map(m=>m.id===u.id?{...m,quantity:m.quantity+1}:m):[...p,{...u,quantity:1}]),o(!0)},[]),c=C.useCallback(u=>{r(p=>p.filter(y=>y.id!==u))},[]),l=C.useCallback((u,p)=>{r(y=>y.map(m=>m.id===u?{...m,quantity:Math.max(0,p)}:m))},[]),d=C.useCallback(()=>{o(u=>!u)},[]),h=e.reduce((u,p)=>u+p.price*p.quantity,0);return a.jsx(wN.Provider,{value:{items:e,isOpen:n,addItem:i,removeItem:c,updateQuantity:l,toggleCart:d,total:h},children:t})}function bN(){const t=C.useContext(wN);if(t===void 0)throw new Error("useCart must be used within a CartProvider");return t}function CN({courses:t,title:e,description:r}){const{addItem:n}=bN();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(Zt,{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(ja,{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(Lc,{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(Ss,{className:"h-5 w-5"}),a.jsx("span",{children:"Add to Cart"})]})]},o.id))})]})})}function jN({destinations:t,title:e,description:r}){const[n,o]=C.useState(0),[i,c]=C.useState(!0),l=()=>typeof window<"u"?window.innerWidth<640?1:window.innerWidth<1024?2:4:4,[d,h]=C.useState(l());C.useEffect(()=>{const m=()=>{h(l())};return window.addEventListener("resize",m),()=>window.removeEventListener("resize",m)},[]),C.useEffect(()=>{let m;return i&&(m=setInterval(()=>{o(v=>(v+1)%(t.length-d+1))},5e3)),()=>clearInterval(m)},[i]);const u=()=>{o(m=>Math.max(0,m-1)),c(!1)},p=()=>{o(m=>Math.min(t.length-d,m+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((m,v)=>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:m.image,alt:m.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(Ft,{className:"h-5 w-5 mr-2"}),a.jsx("h3",{className:"text-lg font-semibold",children:m.name})]}),a.jsx("p",{className:"text-white/90 text-sm",children:m.description})]})})]},n+v))}),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(qi,{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(Ba,{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((m,v)=>a.jsx("button",{onClick:()=>{o(v*d),c(!1)},className:`w-2 h-2 rounded-full transition-all ${Math.floor(n/d)===v?"bg-yellow-600 w-4":"bg-gray-300 hover:bg-gray-400"}`},v))})]})})}const uD=[{label:"Destinations",href:"#destinations"},{label:"Courses",href:"#courses"},{label:"Services",href:"#services"}];function pD({title:t="GlobalEnglish",navItems:e=uD,ctaLabel:r="Contact Us",ctaHref:n="#contact",brandIcon:o=a.jsx(ks,{className:"h-8 w-8 text-yellow-600"}),defaultOpen:i=!1,isOpen:c,onToggleMenu:l,menuButtonAriaLabel:d="Toggle navigation"}){const[h,u]=C.useState(i),p=c??h,y=()=>{const v=!p;c===void 0&&u(v),l==null||l(v)},m=v=>a.jsx("a",{href:v.href,onClick:v.onClick,className:"text-gray-600 hover:text-yellow-600",children:v.label},v.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(m),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(Xt,{className:"h-6 w-6"}):a.jsx(Ms,{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(v=>a.jsx("a",{href:v.href,onClick:()=>{var f;(f=v.onClick)==null||f.call(v),y()},className:"block px-3 py-2 text-gray-600 hover:text-yellow-600",children:v.label},v.label)),a.jsx("a",{href:n,className:"block px-3 py-2 text-yellow-600 font-medium",children:r})]})})]})}function SN({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(ps,{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 LN({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=Nj(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 IN({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(bs,{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(Rt,{className:"h-5 w-5 fill-current"},c))})]},o))})]})})}function NN({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(bc,{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 AN({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 PN({faqs:t,title:e,description:r}){const[n,o]=C.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(uc,{className:"h-5 w-5 text-gray-500"}):a.jsx(Ri,{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 yD({images:t,autoPlayInterval:e=5e3}){const[r,n]=C.useState(0);C.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(qi,{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(Ba,{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 _N({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(yD,{images:t,autoPlayInterval:n})]})})}function TN({initialMessages:t}){const[e,r]=C.useState(!1),[n,o]=C.useState(t),[i,c]=C.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(m=>[...m,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(lc,{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(Xt,{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(jc,{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(ws,{className:"h-6 w-6"})})})}function RN({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:m}=bN(),v=()=>{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:v,className:"text-white hover:text-gray-200 transition-colors","aria-label":i,children:a.jsx(Xt,{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(f=>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:f.name}),a.jsx("p",{className:"text-sm text-gray-500",children:f.duration})]}),a.jsx("button",{onClick:()=>p(f.id),className:"text-red-500 hover:text-red-600","aria-label":`Remove ${f.name}`,children:a.jsx(Ic,{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(f.id,f.quantity-1),className:"p-1 rounded-md hover:bg-gray-100","aria-label":`Decrease quantity for ${f.name}`,children:a.jsx(wc,{className:"h-4 w-4"})}),a.jsx("span",{className:"w-8 text-center",children:f.quantity}),a.jsx("button",{onClick:()=>y(f.id,f.quantity+1),className:"p-1 rounded-md hover:bg-gray-100","aria-label":`Increase quantity for ${f.name}`,children:a.jsx(Cc,{className:"h-4 w-4"})})]}),a.jsxs("p",{className:"font-medium",children:[o,(f.price*f.quantity).toFixed(2)]})]})]},f.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,m.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:v,"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(Ss,{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 qN({services:t,title:e,description:r,showBtn:n="Show",hideBtn:o="Hide",featuresBtn:i="Features"}){const[c,l]=C.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 DN({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((m,v)=>a.jsx(Rt,{className:"w-5 h-5 text-yellow-400 fill-current"},`full-${v}`)),p>0&&a.jsxs("div",{className:"relative w-5 h-5",children:[a.jsx(Rt,{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(Rt,{className:"w-5 h-5 text-yellow-400 fill-current"})})]}),[...Array(y)].map((m,v)=>a.jsx(Rt,{className:"w-5 h-5 text-gray-300"},`empty-${v}`))]})};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=Nj(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 mD=[{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"]}],fD=[{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."}],xD=[{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"}],kD=[{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"}],gD=[{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"}],vD=[{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."}],MD=[{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}],wD=[{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"}],bD=[{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}],CD=[{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}],jD=[{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."}],SD=[{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"}]}],LD=()=>(C.useEffect(()=>{vN.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(hD,{children:a.jsxs("div",{className:"min-h-screen bg-white",children:[a.jsx(pD,{}),a.jsx(SN,{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(LN,{services:fD,title:"Nuestro Servicios",description:"Todo lo que necesitas para aprender inglés en el menor tiempo y al mejor costo"}),a.jsx(qN,{services:mD,title:"Why Choose GlobalEnglish?",description:"Discover what sets us apart from other language schools"}),a.jsx(MN,{advantages:kD,title:"Why Choose GlobalEnglish?",description:"Discover what sets us apart from other language schools"}),a.jsx(AN,{features:xD,title:"Titulo",description:"description"}),a.jsx(DN,{courses:SD,title:"Test",description:"test"}),a.jsx(_N,{images:gD,autoPlayInterval:5e3,title:"Campus Life Gallery",description:"Take a visual tour of our facilities and student activities"}),a.jsx(jN,{destinations:vD,title:"Popular Destinations",description:"Choose from our carefully selected locations worldwide"}),a.jsx(CN,{courses:MD,title:"Our Courses",description:"Find the perfect course to match your goals"}),a.jsx(NN,{videos:wD,title:"Our Courses",description:"Find the perfect course to match your goals"}),a.jsx(IN,{testimonials:bD,title:"Our Courses",description:"Find the perfect course to match your goals"}),a.jsx(PN,{faqs:jD,title:"Our Courses",description:"Find the perfect course to match your goals"}),a.jsx(dD,{}),a.jsx(TN,{initialMessages:CD}),a.jsx(RN,{})]})}),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 ID({title:t,icon:e,jobs:r,viewAllText:n,viewAllHref:o,apiUrl:i}){const[c,l]=C.useState(r||[]),[d,h]=C.useState(!r),[u,p]=C.useState(null);C.useEffect(()=>{if(r)return;(async()=>{h(!0),p(null);try{const f=await fetch(i||"/api/featured-jobs");if(!f.ok)throw new Error(`Failed to fetch jobs: ${f.status}`);const x=await f.json();if(!Array.isArray(x))throw new Error("Expected an array of jobs");l(x)}catch(v){console.error("Error fetching jobs:",v),p(v instanceof Error?v.message:"Failed to load jobs"),l(y())}finally{h(!1)}})()},[r,i]);const y=()=>{const m=["Bet365","Entain","Flutter","DraftKings","Pinnacle"],v=["Game Developer","CRM Manager","VIP Account Manager","Compliance Specialist","UX Designer"],f=["Malta","London","Gibraltar","Remote","New York"];return Array.from({length:6},(x,g)=>({id:`mock-job-${g}`,title:v[g%v.length],company:m[g%m.length],companyLogo:`/logos/${m[g%m.length].toLowerCase()}.png`,location:f[g%f.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((m,v)=>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"})]},v))})})}):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(O,{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(m=>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:m.companyLogo||"/placeholder.svg",alt:`${m.company} logo`,width:48,height:48,className:"rounded",onError:v=>{v.target.src="/placeholder.svg"}})}),a.jsxs("div",{children:[a.jsx("h3",{className:"font-bold",children:m.title}),a.jsx("p",{className:"text-gray-600 text-sm",children:m.company})]})]}),a.jsxs("div",{className:"flex items-center gap-2 text-sm text-gray-600 mb-2",children:[a.jsx(Ft,{size:16}),a.jsx("span",{children:m.location})]}),a.jsx("div",{className:"text-green-600 font-medium mb-4",children:m.salary}),a.jsx(O,{className:"w-full bg-[#0f1219] hover:bg-[#1a2236]",children:"Apply Now"})]},m.id))}),a.jsx("div",{className:"mt-8 text-center",children:a.jsx(O,{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 zN({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(O,{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(O,{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 FN({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 TS,Ha,Ns,jj,_i,RS,Sj,Vq=function(){return typeof window<"u"},La={},Pi=180/Math.PI,As=Math.PI/180,is=Math.atan2,qS=1e8,Lj=/([A-Z])/g,Bq=/(left|right|width|margin|padding|x)/i,Uq=/[\s,\(]\S/,na={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},BC=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},$q=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)},Wq=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)},Gq=function(e,r){var n=r.s+r.c*e;r.set(r.t,r.p,~~(n+(n<0?-.5:.5))+r.u,r)},lN=function(e,r){return r.set(r.t,r.p,e?r.e:r.b,r)},dN=function(e,r){return r.set(r.t,r.p,e!==1?r.b:r.e,r)},Zq=function(e,r,n){return e.style[r]=n},Xq=function(e,r,n){return e.style.setProperty(r,n)},Jq=function(e,r,n){return e._gsap[r]=n},Yq=function(e,r,n){return e._gsap.scaleX=e._gsap.scaleY=n},Kq=function(e,r,n,o,i){var c=e._gsap;c.scaleX=c.scaleY=n,c.renderTransform(i,c)},Qq=function(e,r,n,o,i){var c=e._gsap;c[r]=n,c.renderTransform(i,c)},Oe="transform",xt=Oe+"Origin",eD=function t(e,r){var n=this,o=this.target,i=o.style,c=o._gsap;if(e in La&&i){if(this.tfm=this.tfm||{},e!=="transform")e=na[e]||e,~e.indexOf(",")?e.split(",").forEach(function(l){return n.tfm[l]=va(o,l)}):this.tfm[e]=c.x?c[e]:va(o,e),e===xt&&(this.tfm.zOrigin=c.zOrigin);else return na.transform.split(",").forEach(function(l){return t.call(n,l,r)});if(this.props.indexOf(Oe)>=0)return;c.svg&&(this.svgo=o.getAttribute("data-svg-origin"),this.props.push(xt,r,"")),e=Oe}(i||r)&&this.props.push(e,r,i[e])},hN=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},tD=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(Lj,"-$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=Sj(),(!i||!i.isStart)&&!n[Oe]&&(hN(n),o.zOrigin&&n[xt]&&(n[xt]+=" "+o.zOrigin+"px",o.zOrigin=0,o.renderTransform()),o.uncache=1)}},uN=function(e,r){var n={target:e,props:[],revert:tD,save:eD};return e._gsap||kt.core.getCache(e),r&&r.split(",").forEach(function(o){return n.save(o)}),n},pN,UC=function(e,r){var n=Ha.createElementNS?Ha.createElementNS((r||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Ha.createElement(e);return n&&n.style?n:Ha.createElement(e)},ca=function t(e,r,n){var o=getComputedStyle(e);return o[r]||o.getPropertyValue(r.replace(Lj,"-$1").toLowerCase())||o.getPropertyValue(r)||!n&&t(e,Es(r)||r,1)||""},DS="O,Moz,ms,Ms,Webkit".split(","),Es=function(e,r,n){var o=r||_i,i=o.style,c=5;if(e in i&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);c--&&!(DS[c]+e in i););return c<0?null:(c===3?"ms":c>=0?DS[c]:"")+e},$C=function(){Vq()&&window.document&&(TS=window,Ha=TS.document,Ns=Ha.documentElement,_i=UC("div")||{style:{}},UC("div"),Oe=Es(Oe),xt=Oe+"Origin",_i.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",pN=!!Es("perspective"),Sj=kt.core.reverting,jj=1)},cC=function t(e){var r=UC("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(Ns.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)),Ns.removeChild(r),this.style.cssText=i,c},zS=function(e,r){for(var n=r.length;n--;)if(e.hasAttribute(r[n]))return e.getAttribute(r[n])},yN=function(e){var r;try{r=e.getBBox()}catch{r=cC.call(e,!0)}return r&&(r.width||r.height)||e.getBBox===cC||(r=cC.call(e,!0)),r&&!r.width&&!r.x&&!r.y?{x:+zS(e,["x","cx","x1"])||0,y:+zS(e,["y","cy","y1"])||0,width:0,height:0}:r},mN=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&yN(e))},Ui=function(e,r){if(r){var n=e.style,o;r in La&&r!==xt&&(r=Oe),n.removeProperty?(o=r.substr(0,2),(o==="ms"||r.substr(0,6)==="webkit")&&(r="-"+r),n.removeProperty(o==="--"?r:r.replace(Lj,"-$1").toLowerCase())):n.removeAttribute(r)}},Va=function(e,r,n,o,i,c){var l=new ft(e._pt,r,n,0,1,c?dN:lN);return e._pt=l,l.b=o,l.e=i,e._props.push(n),l},FS={deg:1,rad:1,turn:1},aD={grid:1,flex:1},Xa=function t(e,r,n,o){var i=parseFloat(n)||0,c=(n+"").trim().substr((i+"").length)||"px",l=_i.style,d=Bq.test(r),h=e.tagName.toLowerCase()==="svg",u=(h?"client":"offset")+(d?"Width":"Height"),p=100,y=o==="px",m=o==="%",g,f,x,v;if(o===c||!i||FS[o]||FS[c])return i;if(c!=="px"&&!y&&(i=t(e,r,n,"px")),v=e.getCTM&&mN(e),(m||c==="%")&&(La[r]||~r.indexOf("adius")))return g=v?e.getBBox()[d?"width":"height"]:e[u],We(m?i/g*p:i/100*g);if(l[d?"width":"height"]=p+(y?c:o),f=~r.indexOf("adius")||o==="em"&&e.appendChild&&!h?e:e.parentNode,v&&(f=(e.ownerSVGElement||{}).parentNode),(!f||f===Ha||!f.appendChild)&&(f=Ha.body),x=f._gsap,x&&m&&x.width&&d&&x.time===jt.time&&!x.uncache)return We(i/x.width*p);if(m&&(r==="height"||r==="width")){var M=e.style[r];e.style[r]=p+o,g=e[u],M?e.style[r]=M:Ui(e,r)}else(m||c==="%")&&!aD[ca(f,"display")]&&(l.position=ca(e,"position")),f===e&&(l.position="static"),f.appendChild(_i),g=_i[u],f.removeChild(_i),l.position="absolute";return d&&m&&(x=Ei(f),x.time=jt.time,x.width=f[u]),We(y?g*i/p:g&&i?p/g*i:0)},va=function(e,r,n,o){var i;return jj||$C(),r in na&&r!=="transform"&&(r=na[r],~r.indexOf(",")&&(r=r.split(",")[0])),La[r]&&r!=="transform"?(i=Vc(e,o),i=r!=="transformOrigin"?i[r]:i.svg?i.origin:pb(ca(e,xt))+" "+i.zOrigin+"px"):(i=e.style[r],(!i||i==="auto"||o||~(i+"").indexOf("calc("))&&(i=ub[r]&&ub[r](e,r,n)||ca(e,r)||PI(e,r)||(r==="opacity"?1:0))),n&&!~(i+"").trim().indexOf(" ")?Xa(e,r,i,n)+n:i},rD=function(e,r,n,o){if(!n||n==="none"){var i=Es(r,e,1),c=i&&ca(e,i,1);c&&c!==n?(r=i,n=c):r==="borderColor"&&(n=ca(e,"borderTopColor"))}var l=new ft(this._pt,e.style,r,0,1,iN),d=0,h=0,u,p,y,m,g,f,x,v,M,w,b,C;if(l.b=n,l.e=o,n+="",o+="",o==="auto"&&(f=e.style[r],e.style[r]=o,o=ca(e,r)||o,f?e.style[r]=f:Ui(e,r)),u=[n,o],JI(u),n=u[0],o=u[1],y=n.match(ds)||[],C=o.match(ds)||[],C.length){for(;p=ds.exec(o);)x=p[0],M=o.substring(d,p.index),g?g=(g+1)%5:(M.substr(-5)==="rgba("||M.substr(-5)==="hsla(")&&(g=1),x!==(f=y[h++]||"")&&(m=parseFloat(f)||0,b=f.substr((m+"").length),x.charAt(1)==="="&&(x=Is(m,x)+b),v=parseFloat(x),w=x.substr((v+"").length),d=ds.lastIndex-w.length,w||(w=w||Lt.units[r]||b,d===o.length&&(o+=w,l.e+=w)),b!==w&&(m=Xa(e,r,f,w)||0),l._pt={_next:l._pt,p:M||h===1?M:",",s:m,c:v-m,m:g&&g<4||r==="zIndex"?Math.round:0});l.c=d<o.length?o.substring(d,o.length):""}else l.r=r==="display"&&o==="none"?dN:lN;return jI.test(o)&&(l.e=0),this._pt=l,l},ES={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},nD=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]=ES[n]||n,r[1]=ES[o]||o,r.join(" ")},oD=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],La[l]&&(d=1,l=l==="transformOrigin"?xt:Oe),Ui(n,l);d&&(Ui(n,Oe),c&&(c.svg&&n.removeAttribute("transform"),Vc(n,1),c.uncache=1,hN(o)))}},ub={clearProps:function(e,r,n,o,i){if(i.data!=="isFromStart"){var c=e._pt=new ft(e._pt,r,n,0,0,oD);return c.u=o,c.pr=-10,c.tween=i,e._props.push(n),1}}},Hc=[1,0,0,1,0,0],fN={},xN=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},OS=function(e){var r=ca(e,Oe);return xN(r)?Hc:r.substr(7).match(CI).map(We)},Ij=function(e,r){var n=e._gsap||Ei(e),o=e.style,i=OS(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"?Hc:i):(i===Hc&&!e.offsetParent&&e!==Ns&&!n.svg&&(d=o.display,o.display="block",c=e.parentNode,(!c||!e.offsetParent)&&(h=1,l=e.nextElementSibling,Ns.appendChild(e)),i=OS(e),d?o.display=d:Ui(e,"display"),h&&(l?c.insertBefore(e,l):c?c.appendChild(e):Ns.removeChild(e))),r&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},WC=function(e,r,n,o,i,c){var l=e._gsap,d=i||Ij(e,!0),h=l.xOrigin||0,u=l.yOrigin||0,p=l.xOffset||0,y=l.yOffset||0,m=d[0],g=d[1],f=d[2],x=d[3],v=d[4],M=d[5],w=r.split(" "),b=parseFloat(w[0])||0,C=parseFloat(w[1])||0,I,S,A,N;n?d!==Hc&&(S=m*x-g*f)&&(A=b*(x/S)+C*(-f/S)+(f*M-x*v)/S,N=b*(-g/S)+C*(m/S)-(m*M-g*v)/S,b=A,C=N):(I=yN(e),b=I.x+(~w[0].indexOf("%")?b/100*I.width:b),C=I.y+(~(w[1]||w[0]).indexOf("%")?C/100*I.height:C)),o||o!==!1&&l.smooth?(v=b-h,M=C-u,l.xOffset=p+(v*m+M*f)-v,l.yOffset=y+(v*g+M*x)-M):l.xOffset=l.yOffset=0,l.xOrigin=b,l.yOrigin=C,l.smooth=!!o,l.origin=r,l.originIsAbsolute=!!n,e.style[xt]="0px 0px",c&&(Va(c,l,"xOrigin",h,b),Va(c,l,"yOrigin",u,C),Va(c,l,"xOffset",p,l.xOffset),Va(c,l,"yOffset",y,l.yOffset)),e.setAttribute("data-svg-origin",b+" "+C)},Vc=function(e,r){var n=e._gsap||new eN(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=ca(e,xt)||"0",u,p,y,m,g,f,x,v,M,w,b,C,I,S,A,N,R,P,_,T,F,U,z,B,D,X,ie,ee,Re,J,Y,Q;return u=p=y=f=x=v=M=w=b=0,m=g=1,n.svg=!!(e.getCTM&&mN(e)),d.translate&&((d.translate!=="none"||d.scale!=="none"||d.rotate!=="none")&&(o[Oe]=(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[Oe]!=="none"?d[Oe]:"")),o.scale=o.rotate=o.translate="none"),S=Ij(e,n.svg),n.svg&&(n.uncache?(D=e.getBBox(),h=n.xOrigin-D.x+"px "+(n.yOrigin-D.y)+"px",B=""):B=!r&&e.getAttribute("data-svg-origin"),WC(e,B||h,!!B||n.originIsAbsolute,n.smooth!==!1,S)),C=n.xOrigin||0,I=n.yOrigin||0,S!==Hc&&(P=S[0],_=S[1],T=S[2],F=S[3],u=U=S[4],p=z=S[5],S.length===6?(m=Math.sqrt(P*P+_*_),g=Math.sqrt(F*F+T*T),f=P||_?is(_,P)*Pi:0,M=T||F?is(T,F)*Pi+f:0,M&&(g*=Math.abs(Math.cos(M*As))),n.svg&&(u-=C-(C*P+I*T),p-=I-(C*_+I*F))):(Q=S[6],J=S[7],ie=S[8],ee=S[9],Re=S[10],Y=S[11],u=S[12],p=S[13],y=S[14],A=is(Q,Re),x=A*Pi,A&&(N=Math.cos(-A),R=Math.sin(-A),B=U*N+ie*R,D=z*N+ee*R,X=Q*N+Re*R,ie=U*-R+ie*N,ee=z*-R+ee*N,Re=Q*-R+Re*N,Y=J*-R+Y*N,U=B,z=D,Q=X),A=is(-T,Re),v=A*Pi,A&&(N=Math.cos(-A),R=Math.sin(-A),B=P*N-ie*R,D=_*N-ee*R,X=T*N-Re*R,Y=F*R+Y*N,P=B,_=D,T=X),A=is(_,P),f=A*Pi,A&&(N=Math.cos(A),R=Math.sin(A),B=P*N+_*R,D=U*N+z*R,_=_*N-P*R,z=z*N-U*R,P=B,U=D),x&&Math.abs(x)+Math.abs(f)>359.9&&(x=f=0,v=180-v),m=We(Math.sqrt(P*P+_*_+T*T)),g=We(Math.sqrt(z*z+Q*Q)),A=is(U,z),M=Math.abs(A)>2e-4?A*Pi:0,b=Y?1/(Y<0?-Y:Y):0),n.svg&&(B=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!xN(ca(e,Oe)),B&&e.setAttribute("transform",B))),Math.abs(M)>90&&Math.abs(M)<270&&(i?(m*=-1,M+=f<=0?180:-180,f+=f<=0?180:-180):(g*=-1,M+=M<=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=We(m),n.scaleY=We(g),n.rotation=We(f)+l,n.rotationX=We(x)+l,n.rotationY=We(v)+l,n.skewX=M+l,n.skewY=w+l,n.transformPerspective=b+c,(n.zOrigin=parseFloat(h.split(" ")[2])||!r&&n.zOrigin||0)&&(o[xt]=pb(h)),n.xOffset=n.yOffset=0,n.force3D=Lt.force3D,n.renderTransform=n.svg?sD:pN?kN:iD,n.uncache=0,n},pb=function(e){return(e=e.split(" "))[0]+" "+e[1]},lC=function(e,r,n){var o=it(r);return We(parseFloat(r)+parseFloat(Xa(e,"x",n+"px",o)))+o},iD=function(e,r){r.z="0px",r.rotationY=r.rotationX="0deg",r.force3D=0,kN(e,r)},sr="0deg",nc="0px",cr=") ",kN=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,m=n.skewY,g=n.scaleX,f=n.scaleY,x=n.transformPerspective,v=n.force3D,M=n.target,w=n.zOrigin,b="",C=v==="auto"&&e&&e!==1||v===!0;if(w&&(p!==sr||u!==sr)){var I=parseFloat(u)*As,S=Math.sin(I),A=Math.cos(I),N;I=parseFloat(p)*As,N=Math.cos(I),c=lC(M,c,S*N*-w),l=lC(M,l,-Math.sin(I)*-w),d=lC(M,d,A*N*-w+w)}x!==nc&&(b+="perspective("+x+cr),(o||i)&&(b+="translate("+o+"%, "+i+"%) "),(C||c!==nc||l!==nc||d!==nc)&&(b+=d!==nc||C?"translate3d("+c+", "+l+", "+d+") ":"translate("+c+", "+l+cr),h!==sr&&(b+="rotate("+h+cr),u!==sr&&(b+="rotateY("+u+cr),p!==sr&&(b+="rotateX("+p+cr),(y!==sr||m!==sr)&&(b+="skew("+y+", "+m+cr),(g!==1||f!==1)&&(b+="scale("+g+", "+f+cr),M.style[Oe]=b||"translate(0, 0)"},sD=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,m=n.target,g=n.xOrigin,f=n.yOrigin,x=n.xOffset,v=n.yOffset,M=n.forceCSS,w=parseFloat(c),b=parseFloat(l),C,I,S,A,N;d=parseFloat(d),h=parseFloat(h),u=parseFloat(u),u&&(u=parseFloat(u),h+=u,d+=u),d||h?(d*=As,h*=As,C=Math.cos(d)*p,I=Math.sin(d)*p,S=Math.sin(d-h)*-y,A=Math.cos(d-h)*y,h&&(u*=As,N=Math.tan(h-u),N=Math.sqrt(1+N*N),S*=N,A*=N,u&&(N=Math.tan(u),N=Math.sqrt(1+N*N),C*=N,I*=N)),C=We(C),I=We(I),S=We(S),A=We(A)):(C=p,A=y,I=S=0),(w&&!~(c+"").indexOf("px")||b&&!~(l+"").indexOf("px"))&&(w=Xa(m,"x",c,"px"),b=Xa(m,"y",l,"px")),(g||f||x||v)&&(w=We(w+g-(g*C+f*S)+x),b=We(b+f-(g*I+f*A)+v)),(o||i)&&(N=m.getBBox(),w=We(w+o/100*N.width),b=We(b+i/100*N.height)),N="matrix("+C+","+I+","+S+","+A+","+w+","+b+")",m.setAttribute("transform",N),M&&(m.style[Oe]=N)},cD=function(e,r,n,o,i){var c=360,l=Ke(i),d=parseFloat(i)*(l&&~i.indexOf("rad")?Pi: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*qS)%c-~~(h/c)*c:p==="ccw"&&h>0&&(h=(h-c*qS)%c-~~(h/c)*c)),e._pt=y=new ft(e._pt,r,n,o,h,$q),y.e=u,y.u="deg",e._props.push(n),y},HS=function(e,r){for(var n in r)e[n]=r[n];return e},lD=function(e,r,n){var o=HS({},n._gsap),i="perspective,force3D,transformOrigin,svgOrigin",c=n.style,l,d,h,u,p,y,m,g;o.svg?(h=n.getAttribute("transform"),n.setAttribute("transform",""),c[Oe]=r,l=Vc(n,1),Ui(n,Oe),n.setAttribute("transform",h)):(h=getComputedStyle(n)[Oe],c[Oe]=r,l=Vc(n,1),c[Oe]=h);for(d in La)h=o[d],u=l[d],h!==u&&i.indexOf(d)<0&&(m=it(h),g=it(u),p=m!==g?Xa(n,d,h,g):parseFloat(h),y=parseFloat(u),e._pt=new ft(e._pt,l,d,p,y-p,BC),e._pt.u=g||0,e._props.push(d));HS(l,o)};mt("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});ub[e>1?"border"+t:t]=function(l,d,h,u,p){var y,m;if(arguments.length<4)return y=c.map(function(g){return va(l,g,h)}),m=y.join(" "),m.split(y[0]).length===5?y[0]:m;y=(u+"").split(" "),m={},c.forEach(function(g,f){return m[g]=y[f]=y[f]||y[(f-1)/2|0]}),l.init(d,m,p)}});var gN={name:"css",register:$C,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,m,g,f,x,v,M,w,b,C,I,S,A;jj||$C(),this.styles=this.styles||uN(e),A=this.styles.props,this.tween=n;for(f in r)if(f!=="autoRound"&&(u=r[f],!(Mt[f]&&tN(f,r,n,o,e,i)))){if(m=typeof u,g=ub[f],m==="function"&&(u=u.call(n,o,e,i),m=typeof u),m==="string"&&~u.indexOf("random(")&&(u=Fc(u)),g)g(this,e,f,u,n)&&(S=1);else if(f.substr(0,2)==="--")h=(getComputedStyle(e).getPropertyValue(f)+"").trim(),u+="",Wa.lastIndex=0,Wa.test(h)||(x=it(h),v=it(u)),v?x!==v&&(h=Xa(e,f,h,v)+v):x&&(u+=x),this.add(l,"setProperty",h,u,o,i,0,0,f),c.push(f),A.push(f,0,l[f]);else if(m!=="undefined"){if(d&&f in d?(h=typeof d[f]=="function"?d[f].call(n,o,e,i):d[f],Ke(h)&&~h.indexOf("random(")&&(h=Fc(h)),it(h+"")||h==="auto"||(h+=Lt.units[f]||it(va(e,f))||""),(h+"").charAt(1)==="="&&(h=va(e,f))):h=va(e,f),y=parseFloat(h),M=m==="string"&&u.charAt(1)==="="&&u.substr(0,2),M&&(u=u.substr(2)),p=parseFloat(u),f in na&&(f==="autoAlpha"&&(y===1&&va(e,"visibility")==="hidden"&&p&&(y=0),A.push("visibility",0,l.visibility),Va(this,l,"visibility",y?"inherit":"hidden",p?"inherit":"hidden",!p)),f!=="scale"&&f!=="transform"&&(f=na[f],~f.indexOf(",")&&(f=f.split(",")[0]))),w=f in La,w){if(this.styles.save(f),b||(C=e._gsap,C.renderTransform&&!r.parseTransform||Vc(e,r.parseTransform),I=r.smoothOrigin!==!1&&C.smooth,b=this._pt=new ft(this._pt,l,Oe,0,1,C.renderTransform,C,0,-1),b.dep=1),f==="scale")this._pt=new ft(this._pt,C,"scaleY",C.scaleY,(M?Is(C.scaleY,M+p):p)-C.scaleY||0,BC),this._pt.u=0,c.push("scaleY",f),f+="X";else if(f==="transformOrigin"){A.push(xt,0,l[xt]),u=nD(u),C.svg?WC(e,u,0,I,0,this):(v=parseFloat(u.split(" ")[2])||0,v!==C.zOrigin&&Va(this,C,"zOrigin",C.zOrigin,v),Va(this,l,f,pb(h),pb(u)));continue}else if(f==="svgOrigin"){WC(e,u,1,I,0,this);continue}else if(f in fN){cD(this,C,f,y,M?Is(y,M+u):u);continue}else if(f==="smoothOrigin"){Va(this,C,"smooth",C.smooth,u);continue}else if(f==="force3D"){C[f]=u;continue}else if(f==="transform"){lD(this,u,e);continue}}else f in l||(f=Es(f)||f);if(w||(p||p===0)&&(y||y===0)&&!Uq.test(u)&&f in l)x=(h+"").substr((y+"").length),p||(p=0),v=it(u)||(f in Lt.units?Lt.units[f]:x),x!==v&&(y=Xa(e,f,h,v)),this._pt=new ft(this._pt,w?C:l,f,y,(M?Is(y,M+p):p)-y,!w&&(v==="px"||f==="zIndex")&&r.autoRound!==!1?Gq:BC),this._pt.u=v||0,x!==v&&v!=="%"&&(this._pt.b=h,this._pt.r=Wq);else if(f in l)rD.call(this,e,f,h,M?M+u:u);else if(f in e)this.add(e,f,h||e[f],M?M+u:u,o,i);else if(f!=="parseTransform"){fj(f,u);continue}w||(f in l?A.push(f,0,l[f]):A.push(f,1,h||e[f])),c.push(f)}}S&&sN(this)},render:function(e,r){if(r.tween._time||!Sj())for(var n=r._pt;n;)n.r(e,n.d),n=n._next;else r.styles.revert()},get:va,aliases:na,getSetter:function(e,r,n){var o=na[r];return o&&o.indexOf(",")<0&&(r=o),r in La&&r!==xt&&(e._gsap.x||va(e,"x"))?n&&RS===n?r==="scale"?Yq:Jq:(RS=n||{})&&(r==="scale"?Kq:Qq):e.style&&!pj(e.style[r])?Zq:~r.indexOf("-")?Xq:bj(e,r)},core:{_removeProperty:Ui,_getMatrix:Ij}};kt.utils.checkPrefix=Es;kt.core.getStyleSaver=uN;(function(t,e,r,n){var o=mt(t+","+e+","+r,function(i){La[i]=1});mt(e,function(i){Lt.units[i]="deg",fN[i]=1}),na[o[13]]=t+","+e,mt(n,function(i){var c=i.split(":");na[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");mt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){Lt.units[t]="px"});kt.registerPlugin(gN);var vN=kt.registerPlugin(gN)||kt;vN.core.Tween;function Nj(t){return GR[t]||Ea}function MN({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=Nj(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(ps,{className:"ml-2 h-4 w-4 transform group-hover:translate-x-1 transition-transform"})]})}):""]},o)})})]})})}function dD({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:m=!0}){const g=f=>{f.preventDefault();const x=new FormData(f.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:g,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})]}),m&&a.jsxs("div",{className:"mt-12 space-y-4",children:[a.jsxs("div",{className:"flex items-center text-gray-600",children:[a.jsx(sa,{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(zi,{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(ws,{className:"h-6 w-6 mr-3"}),a.jsx("span",{children:p})]})]})]})]})})}const wN=j.createContext(void 0);function hD({children:t}){const[e,r]=j.useState([]),[n,o]=j.useState(!1),i=j.useCallback(u=>{r(p=>p.find(m=>m.id===u.id)?p.map(m=>m.id===u.id?{...m,quantity:m.quantity+1}:m):[...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(m=>m.id===u?{...m,quantity:Math.max(0,p)}:m))},[]),d=j.useCallback(()=>{o(u=>!u)},[]),h=e.reduce((u,p)=>u+p.price*p.quantity,0);return a.jsx(wN.Provider,{value:{items:e,isOpen:n,addItem:i,removeItem:c,updateQuantity:l,toggleCart:d,total:h},children:t})}function bN(){const t=j.useContext(wN);if(t===void 0)throw new Error("useCart must be used within a CartProvider");return t}function CN({courses:t,title:e,description:r}){const{addItem:n}=bN();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(Zt,{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(ja,{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(Lc,{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(Ss,{className:"h-5 w-5"}),a.jsx("span",{children:"Add to Cart"})]})]},o.id))})]})})}function jN({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 m=()=>{h(l())};return window.addEventListener("resize",m),()=>window.removeEventListener("resize",m)},[]),j.useEffect(()=>{let m;return i&&(m=setInterval(()=>{o(g=>(g+1)%(t.length-d+1))},5e3)),()=>clearInterval(m)},[i]);const u=()=>{o(m=>Math.max(0,m-1)),c(!1)},p=()=>{o(m=>Math.min(t.length-d,m+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((m,g)=>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:m.image,alt:m.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(Ft,{className:"h-5 w-5 mr-2"}),a.jsx("h3",{className:"text-lg font-semibold",children:m.name})]}),a.jsx("p",{className:"text-white/90 text-sm",children:m.description})]})})]},n+g))}),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(qi,{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(Ba,{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((m,g)=>a.jsx("button",{onClick:()=>{o(g*d),c(!1)},className:`w-2 h-2 rounded-full transition-all ${Math.floor(n/d)===g?"bg-yellow-600 w-4":"bg-gray-300 hover:bg-gray-400"}`},g))})]})})}const uD=[{label:"Destinations",href:"#destinations"},{label:"Courses",href:"#courses"},{label:"Services",href:"#services"}];function pD({title:t="GlobalEnglish",navItems:e=uD,ctaLabel:r="Contact Us",ctaHref:n="#contact",brandIcon:o=a.jsx(ks,{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 g=!p;c===void 0&&u(g),l==null||l(g)},m=g=>a.jsx("a",{href:g.href,onClick:g.onClick,className:"text-gray-600 hover:text-yellow-600",children:g.label},g.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(m),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(Xt,{className:"h-6 w-6"}):a.jsx(Ms,{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(g=>a.jsx("a",{href:g.href,onClick:()=>{var f;(f=g.onClick)==null||f.call(g),y()},className:"block px-3 py-2 text-gray-600 hover:text-yellow-600",children:g.label},g.label)),a.jsx("a",{href:n,className:"block px-3 py-2 text-yellow-600 font-medium",children:r})]})})]})}function SN({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(ps,{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 LN({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=Nj(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 IN({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(bs,{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(Rt,{className:"h-5 w-5 fill-current"},c))})]},o))})]})})}function NN({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(bc,{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 AN({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 PN({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(uc,{className:"h-5 w-5 text-gray-500"}):a.jsx(Ri,{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 yD({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(qi,{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(Ba,{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 _N({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(yD,{images:t,autoPlayInterval:n})]})})}function TN({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(m=>[...m,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(lc,{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(Xt,{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(jc,{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(ws,{className:"h-6 w-6"})})})}function RN({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:m}=bN(),g=()=>{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:g,className:"text-white hover:text-gray-200 transition-colors","aria-label":i,children:a.jsx(Xt,{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(f=>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:f.name}),a.jsx("p",{className:"text-sm text-gray-500",children:f.duration})]}),a.jsx("button",{onClick:()=>p(f.id),className:"text-red-500 hover:text-red-600","aria-label":`Remove ${f.name}`,children:a.jsx(Ic,{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(f.id,f.quantity-1),className:"p-1 rounded-md hover:bg-gray-100","aria-label":`Decrease quantity for ${f.name}`,children:a.jsx(wc,{className:"h-4 w-4"})}),a.jsx("span",{className:"w-8 text-center",children:f.quantity}),a.jsx("button",{onClick:()=>y(f.id,f.quantity+1),className:"p-1 rounded-md hover:bg-gray-100","aria-label":`Increase quantity for ${f.name}`,children:a.jsx(Cc,{className:"h-4 w-4"})})]}),a.jsxs("p",{className:"font-medium",children:[o,(f.price*f.quantity).toFixed(2)]})]})]},f.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,m.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:g,"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(Ss,{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 qN({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 DN({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((m,g)=>a.jsx(Rt,{className:"w-5 h-5 text-yellow-400 fill-current"},`full-${g}`)),p>0&&a.jsxs("div",{className:"relative w-5 h-5",children:[a.jsx(Rt,{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(Rt,{className:"w-5 h-5 text-yellow-400 fill-current"})})]}),[...Array(y)].map((m,g)=>a.jsx(Rt,{className:"w-5 h-5 text-gray-300"},`empty-${g}`))]})};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=Nj(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 mD=[{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"]}],fD=[{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."}],xD=[{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"}],kD=[{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"}],gD=[{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"}],vD=[{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."}],MD=[{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}],wD=[{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"}],bD=[{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}],CD=[{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}],jD=[{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."}],SD=[{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"}]}],LD=()=>(j.useEffect(()=>{vN.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(hD,{children:a.jsxs("div",{className:"min-h-screen bg-white",children:[a.jsx(pD,{}),a.jsx(SN,{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(LN,{services:fD,title:"Nuestro Servicios",description:"Todo lo que necesitas para aprender inglés en el menor tiempo y al mejor costo"}),a.jsx(qN,{services:mD,title:"Why Choose GlobalEnglish?",description:"Discover what sets us apart from other language schools"}),a.jsx(MN,{advantages:kD,title:"Why Choose GlobalEnglish?",description:"Discover what sets us apart from other language schools"}),a.jsx(AN,{features:xD,title:"Titulo",description:"description"}),a.jsx(DN,{courses:SD,title:"Test",description:"test"}),a.jsx(_N,{images:gD,autoPlayInterval:5e3,title:"Campus Life Gallery",description:"Take a visual tour of our facilities and student activities"}),a.jsx(jN,{destinations:vD,title:"Popular Destinations",description:"Choose from our carefully selected locations worldwide"}),a.jsx(CN,{courses:MD,title:"Our Courses",description:"Find the perfect course to match your goals"}),a.jsx(NN,{videos:wD,title:"Our Courses",description:"Find the perfect course to match your goals"}),a.jsx(IN,{testimonials:bD,title:"Our Courses",description:"Find the perfect course to match your goals"}),a.jsx(PN,{faqs:jD,title:"Our Courses",description:"Find the perfect course to match your goals"}),a.jsx(dD,{}),a.jsx(TN,{initialMessages:CD}),a.jsx(RN,{})]})}),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 ID({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 f=await fetch(i||"/api/featured-jobs");if(!f.ok)throw new Error(`Failed to fetch jobs: ${f.status}`);const x=await f.json();if(!Array.isArray(x))throw new Error("Expected an array of jobs");l(x)}catch(g){console.error("Error fetching jobs:",g),p(g instanceof Error?g.message:"Failed to load jobs"),l(y())}finally{h(!1)}})()},[r,i]);const y=()=>{const m=["Bet365","Entain","Flutter","DraftKings","Pinnacle"],g=["Game Developer","CRM Manager","VIP Account Manager","Compliance Specialist","UX Designer"],f=["Malta","London","Gibraltar","Remote","New York"];return Array.from({length:6},(x,v)=>({id:`mock-job-${v}`,title:g[v%g.length],company:m[v%m.length],companyLogo:`/logos/${m[v%m.length].toLowerCase()}.png`,location:f[v%f.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((m,g)=>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"})]},g))})})}):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(O,{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(m=>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:m.companyLogo||"/placeholder.svg",alt:`${m.company} logo`,width:48,height:48,className:"rounded",onError:g=>{g.target.src="/placeholder.svg"}})}),a.jsxs("div",{children:[a.jsx("h3",{className:"font-bold",children:m.title}),a.jsx("p",{className:"text-gray-600 text-sm",children:m.company})]})]}),a.jsxs("div",{className:"flex items-center gap-2 text-sm text-gray-600 mb-2",children:[a.jsx(Ft,{size:16}),a.jsx("span",{children:m.location})]}),a.jsx("div",{className:"text-green-600 font-medium mb-4",children:m.salary}),a.jsx(O,{className:"w-full bg-[#0f1219] hover:bg-[#1a2236]",children:"Apply Now"})]},m.id))}),a.jsx("div",{className:"mt-8 text-center",children:a.jsx(O,{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 zN({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(O,{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(O,{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 FN({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(Et,{size:18}),n]}),a.jsxs("a",{href:c,className:`justify-center whitespace-nowrap text-sm transition-colors focus-visible:outline-none
7745
7745
  focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none
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
- px-6 py-2 rounded flex items-center gap-2`,children:[a.jsx(Ls,{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 EN({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 ON({title:t,testimonial:e,stats:r,partnerLogos:n}){const[o,i]=C.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"}];C.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(bs,{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(Rt,{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(O,{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(qi,{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(O,{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(Ba,{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 HN({title:t,description:e,inputPlaceholder:r,api_url:n="http://localhost:5147",buttonText:o,isSubscribed:i=!1,email:c=null}){const[l,d]=C.useState(c??""),[h,u]=C.useState(!1),[p,y]=C.useState(!1);C.useEffect(()=>{if(i){y(!0),c&&d(c);return}try{const x=localStorage.getItem("email"),g=localStorage.getItem("leadId");x&&g&&(y(!0),d(x))}catch{}},[i,c]);const m=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 g=await x.json();localStorage.setItem("leadId",g.id),localStorage.setItem("email",l),y(!0)}else{const g=await x.text();alert("Submission failed: "+g)}}catch{alert("Network error while submitting")}finally{u(!1)}},v=p||i,f=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}),v?a.jsxs("p",{className:"text-green-400 font-semibold",children:["✅ Thanks! You’re subscribed",f?` as ${f}`:"","."]}):a.jsxs("div",{className:"flex flex-col sm:flex-row gap-2 max-w-lg mx-auto",children:[a.jsx(Xe,{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(O,{onClick:m,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 VN({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]=C.useState(""),[y,m]=C.useState(""),[v,f]=C.useState([]),[x,g]=C.useState(!1),M="Browse 3,500+ iGaming Jobs",w=[{id:"malta",name:"Malta"},{id:"remote",name:"Remote"},{id:"uk",name:"United Kingdom"},{id:"gibraltar",name:"Gibraltar"}],j=[{label:"CRM Manager",href:"/jobs?q=crm-manager"},{label:"Game Developer",href:"/jobs?q=game-developer"},{label:"Compliance Specialist",href:"/jobs?q=compliance-specialist"}];C.useEffect(()=>{const N=new URLSearchParams(window.location.search),R=N.get("q")||"",P=N.get("location")||"";p(R),m(P)},[]),C.useEffect(()=>{if(u.length<3){f([]);return}const N=setTimeout(()=>{b(u)},300);return()=>clearTimeout(N)},[u]);const b=async N=>{if(!o||d){f([`${N} Developer`,`${N} Manager`,`${N} Specialist`,`${N} Coordinator`,`${N} Agent`]);return}try{g(!0);const R=await fetch(`${o}/suggestions?q=${encodeURIComponent(N)}`);if(!R.ok)throw new Error("Failed to fetch suggestions");const P=await R.json();f(P.suggestions||[])}catch(R){console.error("Error fetching suggestions:",R),f([])}finally{g(!1)}},I=N=>p(N),S=N=>{N.key==="Enter"&&A()},A=()=>{if(d){console.log(`Mock Search - Term: ${u}, Location: ${y}`);return}const N=new URLSearchParams;u&&N.set("q",u),y&&N.set("location",y),window.location.href=`/jobs?${N.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||M}),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(Et,{className:"h-5 w-5 text-gray-400"})}),a.jsx(Xe,{type:"text",placeholder:"Search by role, company, or keyword",className:"w-full pl-10 border-gray-300",value:u,onChange:N=>I(N.target.value),onKeyDown:S,list:"job-suggestions"}),a.jsx("datalist",{id:"job-suggestions",children:v.map((N,R)=>a.jsx("option",{value:N},R))}),u&&a.jsx("button",{onClick:()=>p(""),className:"absolute inset-y-0 right-0 pr-3 flex items-center",children:a.jsx(ta,{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:N=>m(N.target.value),children:[a.jsx("option",{value:"",children:"All Locations"}),(e||w).map(N=>a.jsx("option",{value:N.id,children:N.name},N.id))]})}),a.jsxs(O,{className:"bg-yellow-500 hover:bg-yellow-400 text-black font-medium",onClick:A,disabled:x,children:[a.jsx(Et,{size:18}),x?"Searching...":n||"Search"]})]}),c&&(r||j).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||j).map((N,R)=>a.jsx("a",{href:N.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:N.label},R))]})]})})]})}function BN({logo:t,navItems:e}){const[r,n]=C.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(Xt,{size:24}):a.jsx(Ms,{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 UN({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(sa,{size:16}),a.jsx("span",{children:o.email})]}),a.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[a.jsx(zi,{size:16}),a.jsx("span",{children:o.phone})]}),a.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[a.jsx(Ft,{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 $N=()=>{const[t,e]=C.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 ND(){const[t,e]=C.useState(null);return C.useEffect(()=>{try{const r=localStorage.getItem("email");r&&e(r)}catch{}},[]),{isSubscribed:!!t,email:t}}const WN=C.createContext({consent:{analytics:!1,marketing:!1,preferences:!1},ready:!1,update:async()=>{console.log("ConsentContext not initialized")}});function GN({notification_url:t="http://localhost:5147",children:e}){const[r,n]=C.useState({analytics:!1,marketing:!1,preferences:!1}),[o,i]=C.useState(!1),l=(p=>p.replace(/\/+$/,""))(t??"http://localhost:5147"),[d,h]=C.useState(null);C.useEffect(()=>{try{const p=localStorage.getItem("leadId");p&&h(p)}catch{}},[]),C.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 m={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(m)}):await fetch(`${l}/api/consents`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(m)})}catch(v){console.warn("Consent API unavailable, kept only locally",v)}};return a.jsx(WN.Provider,{value:{consent:r,ready:o,update:u},children:e})}const Aj=()=>C.useContext(WN);function AD({allow:t,children:e}){const{consent:r,ready:n}=Aj();return!n||!r[t]?null:a.jsx(a.Fragment,{children:e})}function ZN({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}=Aj(),[p,y]=C.useState(o);C.useEffect(()=>{i===void 0&&u&&!d.timestamp&&y(!0)},[d.timestamp,i,u]);const m=C.useMemo(()=>i??p,[i,p]),v=()=>{i===void 0&&y(!1)};if(!m)return null;const f=()=>{h({analytics:!0,marketing:!0,preferences:!0}),v(),c==null||c()},x=()=>{h({analytics:!1,marketing:!1,preferences:!1}),v(),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:f,children:r})]})]})}const PD={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"}]},_D={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"},TD={title:"Why Choose Us?",values:[{icon:pt,title:"Niche Expertise",description:"Dedicated solely to iGaming jobs worldwide."},{icon:ja,title:"Recruiter Network",description:"Direct access to hiring managers at top brands."},{icon:Fa,title:"Salary Insights",description:"Transparent data to negotiate your best offer."},{icon:gs,title:"Career Growth",description:"Courses and certifications to level up your skills."}]},RD={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"},qD={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")},DD={title:"Get Exclusive iGaming Job Alerts",description:"Weekly openings + salary reports. Unsubscribe anytime.",inputPlaceholder:"Your email address",buttonText:"Subscribe"},zD={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"},FD={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"},Da=(t,e)=>({...t,...e??{}});function ED({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:m=!0,showConsentBanner:v=!0,consentNotificationUrl:f="http://localhost:5147",consentBannerProps:x}){const{isSubscribed:g,email:M}=ND(),w=Da(PD,t),j=Da(_D,e),b=Da(TD,r),I=Da(RD,n),S=Da(qD,o),A=Da(DD,i),N=Da(zD,c),R=Da(FD,l),P={...A,isSubscribed:(i==null?void 0:i.isSubscribed)??g,email:(i==null?void 0:i.email)??M};return a.jsx(GN,{notification_url:f,children:a.jsxs("div",{className:"flex flex-col min-h-screen",children:[a.jsx(BN,{...w}),a.jsxs("main",{className:"flex-grow",children:[a.jsx(FN,{...j}),d&&a.jsx(EN,{...b}),h&&a.jsx(VN,{...I}),u&&a.jsx(ON,{...S}),p&&a.jsx($N,{}),y&&a.jsx(HN,{...P}),m&&a.jsx(zN,{...N})]}),a.jsx(UN,{...R}),v&&a.jsx(ZN,{...x})]})})}function Pj({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]=C.useState(""),[l,d]=C.useState(!1),[h,u]=C.useState(!1);C.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 m=await y.json();localStorage.setItem("leadId",m.id),localStorage.setItem("email",i),u(!0)}else{const m=await y.text();alert("Submission failed: "+m)}}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(Xe,{type:"email",value:i,onChange:y=>c(y.target.value),placeholder:r,className:"mb-3"}),a.jsx(O,{type:"button",onClick:p,disabled:l,className:"bg-yellow-600 text-white hover:bg-yellow-700 transition-colors",children:l?"Subscribing...":n})]})]})}function XN({open:t,type:e,message:r,onClose:n}){if(C.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(ta,{className:"w-5 h-5"})})]})})}const Bc=({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`})})})},Nb=({options:t,value:e,onChange:r,placeholder:n,className:o=""})=>{const[i,c]=C.useState(!1),[l,d]=C.useState(""),h=C.useRef(null),u=t.filter(p=>p.toLowerCase().includes(l.toLowerCase()));return C.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"})]})]})]})},OD=({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(Nb,{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,m)=>typeof y!="string"?null:a.jsx("option",{value:y,children:y},`${d}-${m}`))]},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"})]})]}),HD=({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))})]})}),JN=({job:t,onSaveJob:e,onViewJob:r,isSaved:n,layout:o="grid"})=>{var y;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 i=m=>{r(t)},c=m=>{m.preventDefault(),m.stopPropagation(),e(t.id||t.slug||t.link||"")};t.published_at||t.created_at||t.scraped_at;const l=t.min_salary||0,d=t.max_salary||0,h=`$${l.toLocaleString()} - $${d.toLocaleString()}`,p=(m=>{if(!m)return"Recently posted";try{const v=new Date(m),x=Math.abs(new Date().getTime()-v.getTime()),g=Math.floor(x/(1e3*60*60*24));return g===0?"Today":g===1?"Yesterday":g<7?`${g} days ago`:g<30?`${Math.floor(g/7)} weeks ago`:g<365?`${Math.floor(g/30)} months ago`:`${Math.floor(g/365)} years ago`}catch{return"Recently posted"}})(t.published_at||t.created_at||t.scraped_at);return a.jsxs("div",{className:`bg-white rounded-lg shadow-sm border border-gray-200 p-3 hover:shadow-md transition-shadow
7748
+ px-6 py-2 rounded flex items-center gap-2`,children:[a.jsx(Ls,{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 EN({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 ON({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(bs,{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(Rt,{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(O,{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(qi,{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(O,{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(Ba,{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 HN({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 m=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)}},g=p||i,f=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}),g?a.jsxs("p",{className:"text-green-400 font-semibold",children:["✅ Thanks! You’re subscribed",f?` as ${f}`:"","."]}):a.jsxs("div",{className:"flex flex-col sm:flex-row gap-2 max-w-lg mx-auto",children:[a.jsx(Xe,{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(O,{onClick:m,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 VN({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,m]=j.useState(""),[g,f]=j.useState([]),[x,v]=j.useState(!1),M="Browse 3,500+ iGaming Jobs",w=[{id:"malta",name:"Malta"},{id:"remote",name:"Remote"},{id:"uk",name:"United Kingdom"},{id:"gibraltar",name:"Gibraltar"}],b=[{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 N=new URLSearchParams(window.location.search),R=N.get("q")||"",P=N.get("location")||"";p(R),m(P)},[]),j.useEffect(()=>{if(u.length<3){f([]);return}const N=setTimeout(()=>{C(u)},300);return()=>clearTimeout(N)},[u]);const C=async N=>{if(!o||d){f([`${N} Developer`,`${N} Manager`,`${N} Specialist`,`${N} Coordinator`,`${N} Agent`]);return}try{v(!0);const R=await fetch(`${o}/suggestions?q=${encodeURIComponent(N)}`);if(!R.ok)throw new Error("Failed to fetch suggestions");const P=await R.json();f(P.suggestions||[])}catch(R){console.error("Error fetching suggestions:",R),f([])}finally{v(!1)}},I=N=>p(N),S=N=>{N.key==="Enter"&&A()},A=()=>{if(d){console.log(`Mock Search - Term: ${u}, Location: ${y}`);return}const N=new URLSearchParams;u&&N.set("q",u),y&&N.set("location",y),window.location.href=`/jobs?${N.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||M}),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(Et,{className:"h-5 w-5 text-gray-400"})}),a.jsx(Xe,{type:"text",placeholder:"Search by role, company, or keyword",className:"w-full pl-10 border-gray-300",value:u,onChange:N=>I(N.target.value),onKeyDown:S,list:"job-suggestions"}),a.jsx("datalist",{id:"job-suggestions",children:g.map((N,R)=>a.jsx("option",{value:N},R))}),u&&a.jsx("button",{onClick:()=>p(""),className:"absolute inset-y-0 right-0 pr-3 flex items-center",children:a.jsx(ta,{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:N=>m(N.target.value),children:[a.jsx("option",{value:"",children:"All Locations"}),(e||w).map(N=>a.jsx("option",{value:N.id,children:N.name},N.id))]})}),a.jsxs(O,{className:"bg-yellow-500 hover:bg-yellow-400 text-black font-medium",onClick:A,disabled:x,children:[a.jsx(Et,{size:18}),x?"Searching...":n||"Search"]})]}),c&&(r||b).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||b).map((N,R)=>a.jsx("a",{href:N.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:N.label},R))]})]})})]})}function BN({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(Xt,{size:24}):a.jsx(Ms,{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 UN({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(sa,{size:16}),a.jsx("span",{children:o.email})]}),a.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[a.jsx(zi,{size:16}),a.jsx("span",{children:o.phone})]}),a.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[a.jsx(Ft,{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 $N=()=>{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 ND(){const[t,e]=j.useState(null);return j.useEffect(()=>{try{const r=localStorage.getItem("email");r&&e(r)}catch{}},[]),{isSubscribed:!!t,email:t}}const WN=j.createContext({consent:{analytics:!1,marketing:!1,preferences:!1},ready:!1,update:async()=>{console.log("ConsentContext not initialized")}});function GN({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 m={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(m)}):await fetch(`${l}/api/consents`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(m)})}catch(g){console.warn("Consent API unavailable, kept only locally",g)}};return a.jsx(WN.Provider,{value:{consent:r,ready:o,update:u},children:e})}const Aj=()=>j.useContext(WN);function AD({allow:t,children:e}){const{consent:r,ready:n}=Aj();return!n||!r[t]?null:a.jsx(a.Fragment,{children:e})}function ZN({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}=Aj(),[p,y]=j.useState(o);j.useEffect(()=>{i===void 0&&u&&!d.timestamp&&y(!0)},[d.timestamp,i,u]);const m=j.useMemo(()=>i??p,[i,p]),g=()=>{i===void 0&&y(!1)};if(!m)return null;const f=()=>{h({analytics:!0,marketing:!0,preferences:!0}),g(),c==null||c()},x=()=>{h({analytics:!1,marketing:!1,preferences:!1}),g(),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:f,children:r})]})]})}const PD={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"}]},_D={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"},TD={title:"Why Choose Us?",values:[{icon:pt,title:"Niche Expertise",description:"Dedicated solely to iGaming jobs worldwide."},{icon:ja,title:"Recruiter Network",description:"Direct access to hiring managers at top brands."},{icon:Fa,title:"Salary Insights",description:"Transparent data to negotiate your best offer."},{icon:gs,title:"Career Growth",description:"Courses and certifications to level up your skills."}]},RD={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"},qD={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")},DD={title:"Get Exclusive iGaming Job Alerts",description:"Weekly openings + salary reports. Unsubscribe anytime.",inputPlaceholder:"Your email address",buttonText:"Subscribe"},zD={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"},FD={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"},Da=(t,e)=>({...t,...e??{}});function ED({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:m=!0,showConsentBanner:g=!0,consentNotificationUrl:f="http://localhost:5147",consentBannerProps:x}){const{isSubscribed:v,email:M}=ND(),w=Da(PD,t),b=Da(_D,e),C=Da(TD,r),I=Da(RD,n),S=Da(qD,o),A=Da(DD,i),N=Da(zD,c),R=Da(FD,l),P={...A,isSubscribed:(i==null?void 0:i.isSubscribed)??v,email:(i==null?void 0:i.email)??M};return a.jsx(GN,{notification_url:f,children:a.jsxs("div",{className:"flex flex-col min-h-screen",children:[a.jsx(BN,{...w}),a.jsxs("main",{className:"flex-grow",children:[a.jsx(FN,{...b}),d&&a.jsx(EN,{...C}),h&&a.jsx(VN,{...I}),u&&a.jsx(ON,{...S}),p&&a.jsx($N,{}),y&&a.jsx(HN,{...P}),m&&a.jsx(zN,{...N})]}),a.jsx(UN,{...R}),g&&a.jsx(ZN,{...x})]})})}function Pj({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 m=await y.json();localStorage.setItem("leadId",m.id),localStorage.setItem("email",i),u(!0)}else{const m=await y.text();alert("Submission failed: "+m)}}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(Xe,{type:"email",value:i,onChange:y=>c(y.target.value),placeholder:r,className:"mb-3"}),a.jsx(O,{type:"button",onClick:p,disabled:l,className:"bg-yellow-600 text-white hover:bg-yellow-700 transition-colors",children:l?"Subscribing...":n})]})]})}function XN({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(ta,{className:"w-5 h-5"})})]})})}const Bc=({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`})})})},Nb=({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"})]})]})]})},OD=({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(Nb,{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,m)=>typeof y!="string"?null:a.jsx("option",{value:y,children:y},`${d}-${m}`))]},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"})]})]}),HD=({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))})]})}),JN=({job:t,onSaveJob:e,onViewJob:r,isSaved:n,layout:o="grid"})=>{var y;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 i=m=>{r(t)},c=m=>{m.preventDefault(),m.stopPropagation(),e(t.id||t.slug||t.link||"")};t.published_at||t.created_at||t.scraped_at;const l=t.min_salary||0,d=t.max_salary||0,h=`$${l.toLocaleString()} - $${d.toLocaleString()}`,p=(m=>{if(!m)return"Recently posted";try{const g=new Date(m),x=Math.abs(new Date().getTime()-g.getTime()),v=Math.floor(x/(1e3*60*60*24));return v===0?"Today":v===1?"Yesterday":v<7?`${v} days ago`:v<30?`${Math.floor(v/7)} weeks ago`:v<365?`${Math.floor(v/30)} months ago`:`${Math.floor(v/365)} years ago`}catch{return"Recently posted"}})(t.published_at||t.created_at||t.scraped_at);return a.jsxs("div",{className:`bg-white rounded-lg shadow-sm border border-gray-200 p-3 hover:shadow-md transition-shadow
7750
7750
  ${o==="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=${((y=t.company)==null?void 0:y.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:`
7751
7751
  mt-4 ${o==="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(Ft,{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(pt,{className:"w-4 h-4 mr-1"}),t.department||"Full-time"]}),a.jsxs("div",{className:"flex items-center",children:[a.jsx(Zt,{className:"h-3.5 w-3.5 mr-1.5"}),a.jsx("span",{children:p})]})]}),a.jsx("div",{className:"hidden mt-2 text-xs text-gray-500",children:h})]}),a.jsxs("div",{className:`mt-auto pt-4 flex items-center space-x-3 ${o==="list"?"md:mt-0 md:ml-4":""}`,children:[a.jsx("button",{onClick:c,className:`
7753
7753
  p-2 rounded-lg transition-colors
7754
7754
  ${n?"text-yellow-600 bg-yellow-50 hover:bg-yellow-100":"text-gray-400 hover:text-gray-600 hover:bg-gray-100"}
7755
7755
  `,"aria-label":n?"Unsave job":"Save job",children:a.jsx(ba,{size:20,className:`transition-colors ${n?"fill-blue-600 text-yellow-600":""}`})}),a.jsx("a",{href:t.description&&t.description!=""?"/jobs/"+(t.slug||t.id):t.link,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:i,children:"Apply Now"})]})]})},VD=({jobs:t,onSaveJob:e,onViewJob:r,isJobSaved:n})=>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(o=>a.jsx(JN,{job:o,onSaveJob:e,onViewJob:r,isSaved:n(o)},o.link))}),BD=({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(ka,{})}),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(ga,{})})]})},UD=({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:m=>i(p,m.target.value),value:o[p]||"",children:[a.jsxs("option",{value:"",children:["Select ",p.replace(/_/g," ")]}),(y=n[p])==null?void 0:y.map(m=>a.jsx("option",{value:m,children:m},m))]})]},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"})]})]})})}),$D=({apiUrl:t,itemsPerPage:e,filterKeys:r,enableSearch:n,enablePagination:o,enableMobileFilter:i,banners:c})=>{const[l,d]=C.useState([]),[h,u]=C.useState([]),[p,y]=C.useState(1),[m,v]=C.useState({}),[f,x]=C.useState([]),[g,M]=C.useState({}),[w,j]=C.useState(""),[b,I]=C.useState([]),[S,A]=C.useState(!1);C.useEffect(()=>{fetch(`${t}/items`).then(J=>J.json()).then(J=>{d(J),u(J);const Y=N(J);M(Y)}).catch(J=>console.error("Error fetching items:",J))},[t]);const N=J=>{const Y={};J.forEach(te=>{r.forEach(G=>{Y[G]||(Y[G]=new Set);const ae=te[G];ae!=null&&Y[G].add(String(ae))})});const Q={};return Object.keys(Y).forEach(te=>{Q[te]=Array.from(Y[te])}),Q},R=J=>{const Y=N(J);M(Y)},P=(J,Y)=>{v(Q=>{const te=Y?{...Q,[J]:Y}:{...Q};Y||delete te[J];const G=U(l,te,f);return u(G),y(1),R(G),te})},_=J=>{if(j(J),J){const Y=l.map(Q=>Q.title).filter((Q,te,G)=>Q&&Q.toLowerCase().includes(J.toLowerCase())&&G.indexOf(Q)===te).slice(0,5);I(Y)}else I([])},T=J=>{if(J.key==="Enter"&&w.trim()){J.preventDefault();const Y=[...f,w.trim()];x(Y);const Q=U(l,m,Y);u(Q),y(1),R(Q),j("")}},F=J=>{const Y=f.filter(te=>te!==J);x(Y);const Q=U(l,m,Y);u(Q),y(1),R(Q)},U=(J,Y,Q)=>{let te=J.filter(G=>Object.entries(Y).every(([ae,ve])=>{const se=G[ae];return typeof se=="string"&&se.toLowerCase()===ve.toLowerCase()}));return Q.length>0&&(te=te.filter(G=>Q.every(ae=>G.title.toLowerCase().includes(ae.toLowerCase())))),te},z=()=>{v({}),x([]),u(l),y(1),R(l)},B=()=>{A(!S)},D=J=>{},X=J=>{},ie=J=>!1,ee=Math.ceil(h.length/e),Re=h.slice((p-1)*e,p*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:h.length})]})]})}),a.jsx("button",{className:"md:hidden w-full mb-4 px-4 py-2 bg-yellow-600 text-white rounded-md",onClick:B,children:S?"Close Filters":"Open Filters"}),a.jsxs("div",{className:"hidden md:block filters-container",children:[a.jsx(HD,{searchTerm:w,handleSearchChange:_,handleSearchKeyDown:T,suggestions:b}),a.jsx(OD,{filterKeys:r,filtersData:g,activeFilters:m,handleFilterChange:P,searchFilters:f,removeSearchFilter:F,clearAllFilters:z,searchableFilters:["company"]})]}),a.jsx(UD,{isOpen:S,onClose:B,filterKeys:r,filtersData:g,activeFilters:m,handleFilterChange:P,handleSearchChange:_,searchTerm:w,clearAllFilters:z,handleSearchKeyDown:T,searchFilters:f,removeSearchFilter:F}),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(VD,{jobs:Re,onSaveJob:D,onViewJob:X,isJobSaved:ie}),a.jsx(BD,{currentPage:p,totalPages:ee,setCurrentPage:y})]}),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(Bc,{position:"sidebar",url:c.sidebar.url,link:c.sidebar.link,alt:c.sidebar.alt})})})]})]})}),c.bottom.enabled&&c.bottom.url&&a.jsx(Bc,{position:"top",url:c.bottom.url,link:c.bottom.link,alt:c.bottom.alt})]})},WD=({title:t="Subscribe to our newsletter",description:e="The latest job opportunities and career tips, weekly in your inbox.",links:r=[]})=>{const[n,o]=C.useState(!1),[i,c]=C.useState(null);C.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."]})})]})})},GD=({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})})]})})}),YN=({savedJobsCount:t})=>{const[e,r]=C.useState("");C.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(xa,{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(pt,{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(cc,{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(zt,{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(Ca,{className:"w-6 h-6"}),a.jsx("span",{className:"text-xs mt-1",children:"News"})]})]})})},ZD=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}})},KN=({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))})]}),QN=({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:m=[{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(KN,{activeDateFilter:t,onDateFilterChange:e,dateFieldLabel:"",options:m})]}),r.map(v=>{var f;return a.jsxs("div",{className:"mb-6",children:[a.jsx("h3",{className:"text-sm font-medium text-gray-900 mb-2",children:v.replace(/_/g," ")}),n.includes(v)?a.jsx(Nb,{options:d[v]||[],value:i[v]||"",onChange:x=>c(v,x),placeholder:`Select ${v.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[v]||"",onChange:x=>c(v,x.target.value),children:[a.jsxs("option",{value:"",children:["Select ",v.replace(/_/g," ")]}),(f=d[v])==null?void 0:f.map(x=>a.jsx("option",{value:x,children:x},x))]})]},v)}),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(ba,{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"})})]})]})]})}),_j=({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))})]})})}),Tj=({data:t,onSelect:e,placeholder:r="Search...",debounceMs:n=250,onTyping:o,className:i="",showSubmitButton:c=!1})=>{const[l,d]=C.useState(""),[h,u]=C.useState([]),[p,y]=C.useState(!1),m=C.useRef(null),v=g=>{d(g),y(!0),o&&o(g)},f=()=>{d(""),u([]),y(!1),o==null||o("")},x=g=>{e(g),d(""),u([]),y(!1)};return C.useEffect(()=>{m.current&&clearTimeout(m.current),m.current=setTimeout(()=>{if(!l){u([]);return}const g=t.filter(M=>M.toLowerCase().includes(l.toLowerCase())).filter((M,w,j)=>j.indexOf(M)===w).slice(0,5);u(g)},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(Et,{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:g=>v(g.target.value),onFocus:()=>y(h.length>0),onBlur:()=>setTimeout(()=>y(!1),200),onKeyDown:g=>{g.key==="Enter"&&l.trim()&&(g.preventDefault(),x(l.trim()))}}),l&&!c&&a.jsx("button",{onClick:f,className:"absolute inset-y-0 right-2 flex items-center",children:a.jsx(Xt,{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(Et,{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((g,M)=>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(g),children:a.jsxs("div",{className:"flex items-center",children:[a.jsx(Et,{className:"h-4 w-4 mr-2 text-gray-400"}),g]})})},M))})]})},Rj=({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)}`})=>(C.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))]})})})})]})),XD=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 qj(t){const e=XD(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 JD(t){const e=qj(t);return e||YD(t)}function YD(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 Dj=({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(ta,{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"})]}),KD=({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(Ut,{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(gc,{size:16,className:"mr-1.5"}),a.jsx("span",{className:"text-sm font-medium",children:"List"})]})]}),QD=({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))})]}),zj=({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(KD,{viewMode:t,onToggle:e}),a.jsx(QD,{value:r,onChange:n})]})]})}),ez=({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})]})}),tz=({items:t,cardType:e,viewMode:r,savedJobs:n,onSaveJob:o,onViewJob:i,firstItemRef:c=null})=>{const[l,d]=C.useState([]),[h,u]=C.useState(null);C.useEffect(()=>{try{if(!Array.isArray(t)){console.error("❌ Items is not an array:",t),u("Invalid data format received"),d([]);return}const y=[...t];t.length>5&&y.splice(5,0,{id:"promo-1",title:"Promo",isPromo:!0}),d(y),u(null)}catch(y){console.error("Error processing items:",y),u(`Error processing items: ${y instanceof Error?y.message:String(y)}`),d([])}},[t]);const p=(y,m)=>{const f=m===0&&!y.isPromo?{ref:c}:{};try{if(y.isPromo)return a.jsx("div",{className:"col-span-full my-4",children:a.jsx(ez,{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(!y||typeof y!="object")return console.error("❌ Invalid item detected:",y),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 x=y.id?`${y._id}-${m}`:y.slug?`${y.slug}-${m}`:`item-${m}`;switch(e){case"job":return a.jsx("div",{...f,children:a.jsx(JN,{job:y,onSaveJob:o,onViewJob:i,isSaved:n.includes(y.id||y.slug||y.link)})},x);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(x){return console.error("Error rendering card:",x),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:x instanceof Error?x.message:String(x)})]})}};return h?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:h})]}):l.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:l.map((y,m)=>p(y,m))})},Fj=({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(ka,{})}),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(ga,{})})]})})},az=({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=>a.jsxs("div",{className:"p-3 border rounded-md hover:shadow-md transition-shadow cursor-pointer",onClick:()=>e(r),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))})]}),rz=(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}})},nz=(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()))}),Tc=(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)]))},eA=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)},wt=(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=rz(i,n),i},tA=({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(KN,{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(Nb,{options:i[p]||[],value:c[p]||"",onChange:m=>l(p,m),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:m=>l(p,m.target.value),children:[a.jsxs("option",{value:"",children:["Select ",p.replace(/_/g," ")]}),(y=i[p])==null?void 0:y.map(m=>a.jsx("option",{value:m,children:m},m))]})]},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(ba,{size:16,className:"mr-2"}),a.jsxs("span",{children:["Saved Jobs (",u.length,")"]})]})})]})});function Rc(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 VS(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function oz(...t){return e=>{let r=!1;const n=t.map(o=>{const i=VS(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():VS(t[o],null)}}}}function Ab(...t){return k.useCallback(oz(...t),t)}function iz(t,e){const r=k.createContext(e),n=i=>{const{children:c,...l}=i,d=k.useMemo(()=>l,Object.values(l));return a.jsx(r.Provider,{value:d,children:c})};n.displayName=t+"Provider";function o(i){const c=k.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 sz(t,e=[]){let r=[];function n(i,c){const l=k.createContext(c),d=r.length;r=[...r,c];const h=p=>{var g;const{scope:y,children:m,...v}=p,f=((g=y==null?void 0:y[t])==null?void 0:g[d])||l,x=k.useMemo(()=>v,Object.values(v));return a.jsx(f.Provider,{value:x,children:m})};h.displayName=i+"Provider";function u(p,y){var f;const m=((f=y==null?void 0:y[t])==null?void 0:f[d])||l,v=k.useContext(m);if(v)return v;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=>k.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return k.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,cz(o,...e)]}function cz(...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 k.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var yb=globalThis!=null&&globalThis.document?k.useLayoutEffect:()=>{},lz=k[" useId ".trim().toString()]||(()=>{}),dz=0;function dC(t){const[e,r]=k.useState(lz());return yb(()=>{t||r(n=>n??String(dz++))},[t]),t||(e?`radix-${e}`:"")}var hz=k[" useInsertionEffect ".trim().toString()]||yb;function uz({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[o,i,c]=pz({defaultProp:e,onChange:r}),l=t!==void 0,d=l?t:o;{const u=k.useRef(t!==void 0);k.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=k.useCallback(u=>{var p;if(l){const y=yz(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 pz({defaultProp:t,onChange:e}){const[r,n]=k.useState(t),o=k.useRef(r),i=k.useRef(e);return hz(()=>{i.current=e},[e]),k.useEffect(()=>{var c;o.current!==r&&((c=i.current)==null||c.call(i,r),o.current=r)},[r,o]),[r,n,i]}function yz(t){return typeof t=="function"}function hC(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 mz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],aA=mz.reduce((t,e)=>{const r=Ye(`Primitive.${e}`),n=k.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 fz(t,e){t&&bb.flushSync(()=>t.dispatchEvent(e))}function BS(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function xz(...t){return e=>{let r=!1;const n=t.map(o=>{const i=BS(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():BS(t[o],null)}}}}function rA(...t){return k.useCallback(xz(...t),t)}function nA(t){const e=k.useRef(t);return k.useEffect(()=>{e.current=t}),k.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}function kz(t){const e=k.useRef(t);return k.useEffect(()=>{e.current=t}),k.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}function gz(t,e=globalThis==null?void 0:globalThis.document){const r=kz(t);k.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 vz="DismissableLayer",GC="dismissableLayer.update",Mz="dismissableLayer.pointerDownOutside",wz="dismissableLayer.focusOutside",US,oA=k.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Pb=k.forwardRef((t,e)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:c,onDismiss:l,...d}=t,h=k.useContext(oA),[u,p]=k.useState(null),y=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,m]=k.useState({}),v=rA(e,S=>p(S)),f=Array.from(h.layers),[x]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),g=f.indexOf(x),M=u?f.indexOf(u):-1,w=h.layersWithOutsidePointerEventsDisabled.size>0,j=M>=g,b=jz(S=>{const A=S.target,N=[...h.branches].some(R=>R.contains(A));!j||N||(o==null||o(S),c==null||c(S),S.defaultPrevented||l==null||l())},y),I=Sz(S=>{const A=S.target;[...h.branches].some(R=>R.contains(A))||(i==null||i(S),c==null||c(S),S.defaultPrevented||l==null||l())},y);return gz(S=>{M===h.layers.size-1&&(n==null||n(S),!S.defaultPrevented&&l&&(S.preventDefault(),l()))},y),k.useEffect(()=>{if(u)return r&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(US=y.body.style.pointerEvents,y.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(u)),h.layers.add(u),$S(),()=>{r&&h.layersWithOutsidePointerEventsDisabled.size===1&&(y.body.style.pointerEvents=US)}},[u,y,r,h]),k.useEffect(()=>()=>{u&&(h.layers.delete(u),h.layersWithOutsidePointerEventsDisabled.delete(u),$S())},[u,h]),k.useEffect(()=>{const S=()=>m({});return document.addEventListener(GC,S),()=>document.removeEventListener(GC,S)},[]),a.jsx(aA.div,{...d,ref:v,style:{pointerEvents:w?j?"auto":"none":void 0,...t.style},onFocusCapture:hC(t.onFocusCapture,I.onFocusCapture),onBlurCapture:hC(t.onBlurCapture,I.onBlurCapture),onPointerDownCapture:hC(t.onPointerDownCapture,b.onPointerDownCapture)})});Pb.displayName=vz;var bz="DismissableLayerBranch",Cz=k.forwardRef((t,e)=>{const r=k.useContext(oA),n=k.useRef(null),o=rA(e,n);return k.useEffect(()=>{const i=n.current;if(i)return r.branches.add(i),()=>{r.branches.delete(i)}},[r.branches]),a.jsx(aA.div,{...t,ref:o})});Cz.displayName=bz;function jz(t,e=globalThis==null?void 0:globalThis.document){const r=nA(t),n=k.useRef(!1),o=k.useRef(()=>{});return k.useEffect(()=>{const i=l=>{if(l.target&&!n.current){let d=function(){iA(Mz,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 Sz(t,e=globalThis==null?void 0:globalThis.document){const r=nA(t),n=k.useRef(!1);return k.useEffect(()=>{const o=i=>{i.target&&!n.current&&iA(wz,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 $S(){const t=new CustomEvent(GC);document.dispatchEvent(t)}function iA(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?fz(o,i):o.dispatchEvent(i)}function WS(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function Lz(...t){return e=>{let r=!1;const n=t.map(o=>{const i=WS(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():WS(t[o],null)}}}}function Iz(...t){return k.useCallback(Lz(...t),t)}var Nz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Az=Nz.reduce((t,e)=>{const r=Ye(`Primitive.${e}`),n=k.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 GS(t){const e=k.useRef(t);return k.useEffect(()=>{e.current=t}),k.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}var uC="focusScope.autoFocusOnMount",pC="focusScope.autoFocusOnUnmount",ZS={bubbles:!1,cancelable:!0},Pz="FocusScope",_b=k.forwardRef((t,e)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...c}=t,[l,d]=k.useState(null),h=GS(o),u=GS(i),p=k.useRef(null),y=Iz(e,f=>d(f)),m=k.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;k.useEffect(()=>{if(n){let f=function(w){if(m.paused||!l)return;const j=w.target;l.contains(j)?p.current=j:za(p.current,{select:!0})},x=function(w){if(m.paused||!l)return;const j=w.relatedTarget;j!==null&&(l.contains(j)||za(p.current,{select:!0}))},g=function(w){if(document.activeElement===document.body)for(const b of w)b.removedNodes.length>0&&za(l)};document.addEventListener("focusin",f),document.addEventListener("focusout",x);const M=new MutationObserver(g);return l&&M.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",f),document.removeEventListener("focusout",x),M.disconnect()}}},[n,l,m.paused]),k.useEffect(()=>{if(l){JS.add(m);const f=document.activeElement;if(!l.contains(f)){const g=new CustomEvent(uC,ZS);l.addEventListener(uC,h),l.dispatchEvent(g),g.defaultPrevented||(_z(zz(sA(l)),{select:!0}),document.activeElement===f&&za(l))}return()=>{l.removeEventListener(uC,h),setTimeout(()=>{const g=new CustomEvent(pC,ZS);l.addEventListener(pC,u),l.dispatchEvent(g),g.defaultPrevented||za(f??document.body,{select:!0}),l.removeEventListener(pC,u),JS.remove(m)},0)}}},[l,h,u,m]);const v=k.useCallback(f=>{if(!r&&!n||m.paused)return;const x=f.key==="Tab"&&!f.altKey&&!f.ctrlKey&&!f.metaKey,g=document.activeElement;if(x&&g){const M=f.currentTarget,[w,j]=Tz(M);w&&j?!f.shiftKey&&g===j?(f.preventDefault(),r&&za(w,{select:!0})):f.shiftKey&&g===w&&(f.preventDefault(),r&&za(j,{select:!0})):g===M&&f.preventDefault()}},[r,n,m.paused]);return a.jsx(Az.div,{tabIndex:-1,...c,ref:y,onKeyDown:v})});_b.displayName=Pz;function _z(t,{select:e=!1}={}){const r=document.activeElement;for(const n of t)if(za(n,{select:e}),document.activeElement!==r)return}function Tz(t){const e=sA(t),r=XS(e,t),n=XS(e.reverse(),t);return[r,n]}function sA(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 XS(t,e){for(const r of t)if(!Rz(r,{upTo:e}))return r}function Rz(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 qz(t){return t instanceof HTMLInputElement&&"select"in t}function za(t,{select:e=!1}={}){if(t&&t.focus){const r=document.activeElement;t.focus({preventScroll:!0}),t!==r&&qz(t)&&e&&t.select()}}var JS=Dz();function Dz(){let t=[];return{add(e){const r=t[0];e!==r&&(r==null||r.pause()),t=YS(t,e),t.unshift(e)},remove(e){var r;t=YS(t,e),(r=t[0])==null||r.resume()}}}function YS(t,e){const r=[...t],n=r.indexOf(e);return n!==-1&&r.splice(n,1),r}function zz(t){return t.filter(e=>e.tagName!=="A")}var Fz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ez=Fz.reduce((t,e)=>{const r=Ye(`Primitive.${e}`),n=k.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}},{}),Oz=globalThis!=null&&globalThis.document?k.useLayoutEffect:()=>{},Hz="Portal",Tb=k.forwardRef((t,e)=>{var l;const{container:r,...n}=t,[o,i]=k.useState(!1);Oz(()=>i(!0),[]);const c=r||o&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return c?oj.createPortal(a.jsx(Ez.div,{...n,ref:e}),c):null});Tb.displayName=Hz;function Vz(t,e){return k.useReducer((r,n)=>e[r][n]??r,t)}var Rb=t=>{const{present:e,children:r}=t,n=Bz(e),o=typeof r=="function"?r({present:n.isPresent}):k.Children.only(r),i=Ab(n.ref,Uz(o));return typeof r=="function"||n.isPresent?k.cloneElement(o,{ref:i}):null};Rb.displayName="Presence";function Bz(t){const[e,r]=k.useState(),n=k.useRef(null),o=k.useRef(t),i=k.useRef("none"),c=t?"mounted":"unmounted",[l,d]=Vz(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return k.useEffect(()=>{const h=t1(n.current);i.current=l==="mounted"?h:"none"},[l]),yb(()=>{const h=n.current,u=o.current;if(u!==t){const y=i.current,m=t1(h);t?d("MOUNT"):m==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&y!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,d]),yb(()=>{if(e){let h;const u=e.ownerDocument.defaultView??window,p=m=>{const f=t1(n.current).includes(CSS.escape(m.animationName));if(m.target===e&&f&&(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=m=>{m.target===e&&(i.current=t1(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:k.useCallback(h=>{n.current=h?getComputedStyle(h):null,r(h)},[])}}function t1(t){return(t==null?void 0:t.animationName)||"none"}function Uz(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 $z=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Xc=$z.reduce((t,e)=>{const r=Ye(`Primitive.${e}`),n=k.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}},{}),yC=0;function Ej(){k.useEffect(()=>{const t=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",t[0]??KS()),document.body.insertAdjacentElement("beforeend",t[1]??KS()),yC++,()=>{yC===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),yC--}},[])}function KS(){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 ra=function(){return ra=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},ra.apply(this,arguments)};function cA(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 Wz(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 ab="right-scroll-bar-position",rb="width-before-scroll-bar",Gz="with-scroll-bars-hidden",Zz="--removed-body-scroll-bar-size";function mC(t,e){return typeof t=="function"?t(e):t&&(t.current=e),t}function Xz(t,e){var r=C.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 Jz=typeof window<"u"?k.useLayoutEffect:k.useEffect,QS=new WeakMap;function Yz(t,e){var r=Xz(null,function(n){return t.forEach(function(o){return mC(o,n)})});return Jz(function(){var n=QS.get(r);if(n){var o=new Set(n),i=new Set(t),c=r.current;o.forEach(function(l){i.has(l)||mC(l,null)}),i.forEach(function(l){o.has(l)||mC(l,c)})}QS.set(r,t)},[t]),r}function Kz(t){return t}function Qz(t,e){e===void 0&&(e=Kz);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 eF(t){t===void 0&&(t={});var e=Qz(null);return e.options=ra({async:!0,ssr:!1},t),e}var lA=function(t){var e=t.sideCar,r=cA(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 k.createElement(n,ra({},r))};lA.isSideCarExport=!0;function tF(t,e){return t.useMedium(e),lA}var dA=eF(),fC=function(){},qb=k.forwardRef(function(t,e){var r=k.useRef(null),n=k.useState({onScrollCapture:fC,onWheelCapture:fC,onTouchMoveCapture:fC}),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,m=t.noRelative,v=t.noIsolation,f=t.inert,x=t.allowPinchZoom,g=t.as,M=g===void 0?"div":g,w=t.gapMode,j=cA(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),b=y,I=Yz([r,e]),S=ra(ra({},j),o);return k.createElement(k.Fragment,null,u&&k.createElement(b,{sideCar:dA,removeScrollBar:h,shards:p,noRelative:m,noIsolation:v,inert:f,setCallbacks:i,allowPinchZoom:!!x,lockRef:r,gapMode:w}),c?k.cloneElement(k.Children.only(l),ra(ra({},S),{ref:I})):k.createElement(M,ra({},S,{className:d,ref:I}),l))});qb.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};qb.classNames={fullWidth:rb,zeroRight:ab};var aF=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function rF(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=aF();return e&&t.setAttribute("nonce",e),t}function nF(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function oF(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var iF=function(){var t=0,e=null;return{add:function(r){t==0&&(e=rF())&&(nF(e,r),oF(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},sF=function(){var t=iF();return function(e,r){k.useEffect(function(){return t.add(e),function(){t.remove()}},[e&&r])}},hA=function(){var t=sF(),e=function(r){var n=r.styles,o=r.dynamic;return t(n,o),null};return e},cF={left:0,top:0,right:0,gap:0},xC=function(t){return parseInt(t||"",10)||0},lF=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[xC(r),xC(n),xC(o)]},dF=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return cF;var e=lF(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])}},hF=hA(),Ps="data-scroll-locked",uF=function(t,e,r,n){var o=t.left,i=t.top,c=t.right,l=t.gap;return r===void 0&&(r="margin"),`
7756
+ transition-colors text-sm font-medium text-center`,onClick:i,children:"Apply Now"})]})]})},VD=({jobs:t,onSaveJob:e,onViewJob:r,isJobSaved:n})=>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(o=>a.jsx(JN,{job:o,onSaveJob:e,onViewJob:r,isSaved:n(o)},o.link))}),BD=({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(ka,{})}),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(ga,{})})]})},UD=({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:m=>i(p,m.target.value),value:o[p]||"",children:[a.jsxs("option",{value:"",children:["Select ",p.replace(/_/g," ")]}),(y=n[p])==null?void 0:y.map(m=>a.jsx("option",{value:m,children:m},m))]})]},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"})]})]})})}),$D=({apiUrl:t,itemsPerPage:e,filterKeys:r,enableSearch:n,enablePagination:o,enableMobileFilter:i,banners:c})=>{const[l,d]=j.useState([]),[h,u]=j.useState([]),[p,y]=j.useState(1),[m,g]=j.useState({}),[f,x]=j.useState([]),[v,M]=j.useState({}),[w,b]=j.useState(""),[C,I]=j.useState([]),[S,A]=j.useState(!1);j.useEffect(()=>{fetch(`${t}/items`).then(J=>J.json()).then(J=>{d(J),u(J);const Y=N(J);M(Y)}).catch(J=>console.error("Error fetching items:",J))},[t]);const N=J=>{const Y={};J.forEach(te=>{r.forEach(G=>{Y[G]||(Y[G]=new Set);const ae=te[G];ae!=null&&Y[G].add(String(ae))})});const Q={};return Object.keys(Y).forEach(te=>{Q[te]=Array.from(Y[te])}),Q},R=J=>{const Y=N(J);M(Y)},P=(J,Y)=>{g(Q=>{const te=Y?{...Q,[J]:Y}:{...Q};Y||delete te[J];const G=U(l,te,f);return u(G),y(1),R(G),te})},_=J=>{if(b(J),J){const Y=l.map(Q=>Q.title).filter((Q,te,G)=>Q&&Q.toLowerCase().includes(J.toLowerCase())&&G.indexOf(Q)===te).slice(0,5);I(Y)}else I([])},T=J=>{if(J.key==="Enter"&&w.trim()){J.preventDefault();const Y=[...f,w.trim()];x(Y);const Q=U(l,m,Y);u(Q),y(1),R(Q),b("")}},F=J=>{const Y=f.filter(te=>te!==J);x(Y);const Q=U(l,m,Y);u(Q),y(1),R(Q)},U=(J,Y,Q)=>{let te=J.filter(G=>Object.entries(Y).every(([ae,ve])=>{const se=G[ae];return typeof se=="string"&&se.toLowerCase()===ve.toLowerCase()}));return Q.length>0&&(te=te.filter(G=>Q.every(ae=>G.title.toLowerCase().includes(ae.toLowerCase())))),te},z=()=>{g({}),x([]),u(l),y(1),R(l)},B=()=>{A(!S)},D=J=>{},X=J=>{},ie=J=>!1,ee=Math.ceil(h.length/e),Re=h.slice((p-1)*e,p*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:h.length})]})]})}),a.jsx("button",{className:"md:hidden w-full mb-4 px-4 py-2 bg-yellow-600 text-white rounded-md",onClick:B,children:S?"Close Filters":"Open Filters"}),a.jsxs("div",{className:"hidden md:block filters-container",children:[a.jsx(HD,{searchTerm:w,handleSearchChange:_,handleSearchKeyDown:T,suggestions:C}),a.jsx(OD,{filterKeys:r,filtersData:v,activeFilters:m,handleFilterChange:P,searchFilters:f,removeSearchFilter:F,clearAllFilters:z,searchableFilters:["company"]})]}),a.jsx(UD,{isOpen:S,onClose:B,filterKeys:r,filtersData:v,activeFilters:m,handleFilterChange:P,handleSearchChange:_,searchTerm:w,clearAllFilters:z,handleSearchKeyDown:T,searchFilters:f,removeSearchFilter:F}),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(VD,{jobs:Re,onSaveJob:D,onViewJob:X,isJobSaved:ie}),a.jsx(BD,{currentPage:p,totalPages:ee,setCurrentPage:y})]}),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(Bc,{position:"sidebar",url:c.sidebar.url,link:c.sidebar.link,alt:c.sidebar.alt})})})]})]})}),c.bottom.enabled&&c.bottom.url&&a.jsx(Bc,{position:"top",url:c.bottom.url,link:c.bottom.link,alt:c.bottom.alt})]})},WD=({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."]})})]})})},GD=({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})})]})})}),YN=({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(xa,{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(pt,{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(cc,{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(zt,{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(Ca,{className:"w-6 h-6"}),a.jsx("span",{className:"text-xs mt-1",children:"News"})]})]})})},ZD=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}})},KN=({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))})]}),QN=({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:m=[{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(KN,{activeDateFilter:t,onDateFilterChange:e,dateFieldLabel:"",options:m})]}),r.map(g=>{var f;return a.jsxs("div",{className:"mb-6",children:[a.jsx("h3",{className:"text-sm font-medium text-gray-900 mb-2",children:g.replace(/_/g," ")}),n.includes(g)?a.jsx(Nb,{options:d[g]||[],value:i[g]||"",onChange:x=>c(g,x),placeholder:`Select ${g.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[g]||"",onChange:x=>c(g,x.target.value),children:[a.jsxs("option",{value:"",children:["Select ",g.replace(/_/g," ")]}),(f=d[g])==null?void 0:f.map(x=>a.jsx("option",{value:x,children:x},x))]})]},g)}),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(ba,{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"})})]})]})]})}),_j=({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))})]})})}),Tj=({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),m=j.useRef(null),g=v=>{d(v),y(!0),o&&o(v)},f=()=>{d(""),u([]),y(!1),o==null||o("")},x=v=>{e(v),d(""),u([]),y(!1)};return j.useEffect(()=>{m.current&&clearTimeout(m.current),m.current=setTimeout(()=>{if(!l){u([]);return}const v=t.filter(M=>M.toLowerCase().includes(l.toLowerCase())).filter((M,w,b)=>b.indexOf(M)===w).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(Et,{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=>g(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:f,className:"absolute inset-y-0 right-2 flex items-center",children:a.jsx(Xt,{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(Et,{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,M)=>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(Et,{className:"h-4 w-4 mr-2 text-gray-400"}),v]})})},M))})]})},Rj=({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))]})})})})]})),XD=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 qj(t){const e=XD(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 JD(t){const e=qj(t);return e||YD(t)}function YD(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 Dj=({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(ta,{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"})]}),KD=({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(Ut,{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(gc,{size:16,className:"mr-1.5"}),a.jsx("span",{className:"text-sm font-medium",children:"List"})]})]}),QD=({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))})]}),zj=({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(KD,{viewMode:t,onToggle:e}),a.jsx(QD,{value:r,onChange:n})]})]})}),ez=({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})]})}),tz=({items:t,cardType:e,viewMode:r,savedJobs:n,onSaveJob:o,onViewJob:i,firstItemRef:c=null})=>{const[l,d]=j.useState([]),[h,u]=j.useState(null);j.useEffect(()=>{try{if(!Array.isArray(t)){console.error("❌ Items is not an array:",t),u("Invalid data format received"),d([]);return}const y=[...t];t.length>5&&y.splice(5,0,{id:"promo-1",title:"Promo",isPromo:!0}),d(y),u(null)}catch(y){console.error("Error processing items:",y),u(`Error processing items: ${y instanceof Error?y.message:String(y)}`),d([])}},[t]);const p=(y,m)=>{const f=m===0&&!y.isPromo?{ref:c}:{};try{if(y.isPromo)return a.jsx("div",{className:"col-span-full my-4",children:a.jsx(ez,{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(!y||typeof y!="object")return console.error("❌ Invalid item detected:",y),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 x=y.id?`${y._id}-${m}`:y.slug?`${y.slug}-${m}`:`item-${m}`;switch(e){case"job":return a.jsx("div",{...f,children:a.jsx(JN,{job:y,onSaveJob:o,onViewJob:i,isSaved:n.includes(y.id||y.slug||y.link)})},x);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(x){return console.error("Error rendering card:",x),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:x instanceof Error?x.message:String(x)})]})}};return h?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:h})]}):l.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:l.map((y,m)=>p(y,m))})},Fj=({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(ka,{})}),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(ga,{})})]})})},az=({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=>a.jsxs("div",{className:"p-3 border rounded-md hover:shadow-md transition-shadow cursor-pointer",onClick:()=>e(r),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))})]}),rz=(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}})},nz=(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()))}),Tc=(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)]))},eA=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)},wt=(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=rz(i,n),i},tA=({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(KN,{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(Nb,{options:i[p]||[],value:c[p]||"",onChange:m=>l(p,m),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:m=>l(p,m.target.value),children:[a.jsxs("option",{value:"",children:["Select ",p.replace(/_/g," ")]}),(y=i[p])==null?void 0:y.map(m=>a.jsx("option",{value:m,children:m},m))]})]},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(ba,{size:16,className:"mr-2"}),a.jsxs("span",{children:["Saved Jobs (",u.length,")"]})]})})]})});function Rc(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 VS(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function oz(...t){return e=>{let r=!1;const n=t.map(o=>{const i=VS(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():VS(t[o],null)}}}}function Ab(...t){return k.useCallback(oz(...t),t)}function iz(t,e){const r=k.createContext(e),n=i=>{const{children:c,...l}=i,d=k.useMemo(()=>l,Object.values(l));return a.jsx(r.Provider,{value:d,children:c})};n.displayName=t+"Provider";function o(i){const c=k.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 sz(t,e=[]){let r=[];function n(i,c){const l=k.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:m,...g}=p,f=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=k.useMemo(()=>g,Object.values(g));return a.jsx(f.Provider,{value:x,children:m})};h.displayName=i+"Provider";function u(p,y){var f;const m=((f=y==null?void 0:y[t])==null?void 0:f[d])||l,g=k.useContext(m);if(g)return g;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=>k.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return k.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,cz(o,...e)]}function cz(...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 k.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var yb=globalThis!=null&&globalThis.document?k.useLayoutEffect:()=>{},lz=k[" useId ".trim().toString()]||(()=>{}),dz=0;function dC(t){const[e,r]=k.useState(lz());return yb(()=>{t||r(n=>n??String(dz++))},[t]),t||(e?`radix-${e}`:"")}var hz=k[" useInsertionEffect ".trim().toString()]||yb;function uz({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[o,i,c]=pz({defaultProp:e,onChange:r}),l=t!==void 0,d=l?t:o;{const u=k.useRef(t!==void 0);k.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=k.useCallback(u=>{var p;if(l){const y=yz(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 pz({defaultProp:t,onChange:e}){const[r,n]=k.useState(t),o=k.useRef(r),i=k.useRef(e);return hz(()=>{i.current=e},[e]),k.useEffect(()=>{var c;o.current!==r&&((c=i.current)==null||c.call(i,r),o.current=r)},[r,o]),[r,n,i]}function yz(t){return typeof t=="function"}function hC(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 mz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],aA=mz.reduce((t,e)=>{const r=Ye(`Primitive.${e}`),n=k.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 fz(t,e){t&&bb.flushSync(()=>t.dispatchEvent(e))}function BS(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function xz(...t){return e=>{let r=!1;const n=t.map(o=>{const i=BS(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():BS(t[o],null)}}}}function rA(...t){return k.useCallback(xz(...t),t)}function nA(t){const e=k.useRef(t);return k.useEffect(()=>{e.current=t}),k.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}function kz(t){const e=k.useRef(t);return k.useEffect(()=>{e.current=t}),k.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}function gz(t,e=globalThis==null?void 0:globalThis.document){const r=kz(t);k.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 vz="DismissableLayer",GC="dismissableLayer.update",Mz="dismissableLayer.pointerDownOutside",wz="dismissableLayer.focusOutside",US,oA=k.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Pb=k.forwardRef((t,e)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:c,onDismiss:l,...d}=t,h=k.useContext(oA),[u,p]=k.useState(null),y=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,m]=k.useState({}),g=rA(e,S=>p(S)),f=Array.from(h.layers),[x]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),v=f.indexOf(x),M=u?f.indexOf(u):-1,w=h.layersWithOutsidePointerEventsDisabled.size>0,b=M>=v,C=jz(S=>{const A=S.target,N=[...h.branches].some(R=>R.contains(A));!b||N||(o==null||o(S),c==null||c(S),S.defaultPrevented||l==null||l())},y),I=Sz(S=>{const A=S.target;[...h.branches].some(R=>R.contains(A))||(i==null||i(S),c==null||c(S),S.defaultPrevented||l==null||l())},y);return gz(S=>{M===h.layers.size-1&&(n==null||n(S),!S.defaultPrevented&&l&&(S.preventDefault(),l()))},y),k.useEffect(()=>{if(u)return r&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(US=y.body.style.pointerEvents,y.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(u)),h.layers.add(u),$S(),()=>{r&&h.layersWithOutsidePointerEventsDisabled.size===1&&(y.body.style.pointerEvents=US)}},[u,y,r,h]),k.useEffect(()=>()=>{u&&(h.layers.delete(u),h.layersWithOutsidePointerEventsDisabled.delete(u),$S())},[u,h]),k.useEffect(()=>{const S=()=>m({});return document.addEventListener(GC,S),()=>document.removeEventListener(GC,S)},[]),a.jsx(aA.div,{...d,ref:g,style:{pointerEvents:w?b?"auto":"none":void 0,...t.style},onFocusCapture:hC(t.onFocusCapture,I.onFocusCapture),onBlurCapture:hC(t.onBlurCapture,I.onBlurCapture),onPointerDownCapture:hC(t.onPointerDownCapture,C.onPointerDownCapture)})});Pb.displayName=vz;var bz="DismissableLayerBranch",Cz=k.forwardRef((t,e)=>{const r=k.useContext(oA),n=k.useRef(null),o=rA(e,n);return k.useEffect(()=>{const i=n.current;if(i)return r.branches.add(i),()=>{r.branches.delete(i)}},[r.branches]),a.jsx(aA.div,{...t,ref:o})});Cz.displayName=bz;function jz(t,e=globalThis==null?void 0:globalThis.document){const r=nA(t),n=k.useRef(!1),o=k.useRef(()=>{});return k.useEffect(()=>{const i=l=>{if(l.target&&!n.current){let d=function(){iA(Mz,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 Sz(t,e=globalThis==null?void 0:globalThis.document){const r=nA(t),n=k.useRef(!1);return k.useEffect(()=>{const o=i=>{i.target&&!n.current&&iA(wz,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 $S(){const t=new CustomEvent(GC);document.dispatchEvent(t)}function iA(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?fz(o,i):o.dispatchEvent(i)}function WS(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function Lz(...t){return e=>{let r=!1;const n=t.map(o=>{const i=WS(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():WS(t[o],null)}}}}function Iz(...t){return k.useCallback(Lz(...t),t)}var Nz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Az=Nz.reduce((t,e)=>{const r=Ye(`Primitive.${e}`),n=k.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 GS(t){const e=k.useRef(t);return k.useEffect(()=>{e.current=t}),k.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}var uC="focusScope.autoFocusOnMount",pC="focusScope.autoFocusOnUnmount",ZS={bubbles:!1,cancelable:!0},Pz="FocusScope",_b=k.forwardRef((t,e)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...c}=t,[l,d]=k.useState(null),h=GS(o),u=GS(i),p=k.useRef(null),y=Iz(e,f=>d(f)),m=k.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;k.useEffect(()=>{if(n){let f=function(w){if(m.paused||!l)return;const b=w.target;l.contains(b)?p.current=b:za(p.current,{select:!0})},x=function(w){if(m.paused||!l)return;const b=w.relatedTarget;b!==null&&(l.contains(b)||za(p.current,{select:!0}))},v=function(w){if(document.activeElement===document.body)for(const C of w)C.removedNodes.length>0&&za(l)};document.addEventListener("focusin",f),document.addEventListener("focusout",x);const M=new MutationObserver(v);return l&&M.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",f),document.removeEventListener("focusout",x),M.disconnect()}}},[n,l,m.paused]),k.useEffect(()=>{if(l){JS.add(m);const f=document.activeElement;if(!l.contains(f)){const v=new CustomEvent(uC,ZS);l.addEventListener(uC,h),l.dispatchEvent(v),v.defaultPrevented||(_z(zz(sA(l)),{select:!0}),document.activeElement===f&&za(l))}return()=>{l.removeEventListener(uC,h),setTimeout(()=>{const v=new CustomEvent(pC,ZS);l.addEventListener(pC,u),l.dispatchEvent(v),v.defaultPrevented||za(f??document.body,{select:!0}),l.removeEventListener(pC,u),JS.remove(m)},0)}}},[l,h,u,m]);const g=k.useCallback(f=>{if(!r&&!n||m.paused)return;const x=f.key==="Tab"&&!f.altKey&&!f.ctrlKey&&!f.metaKey,v=document.activeElement;if(x&&v){const M=f.currentTarget,[w,b]=Tz(M);w&&b?!f.shiftKey&&v===b?(f.preventDefault(),r&&za(w,{select:!0})):f.shiftKey&&v===w&&(f.preventDefault(),r&&za(b,{select:!0})):v===M&&f.preventDefault()}},[r,n,m.paused]);return a.jsx(Az.div,{tabIndex:-1,...c,ref:y,onKeyDown:g})});_b.displayName=Pz;function _z(t,{select:e=!1}={}){const r=document.activeElement;for(const n of t)if(za(n,{select:e}),document.activeElement!==r)return}function Tz(t){const e=sA(t),r=XS(e,t),n=XS(e.reverse(),t);return[r,n]}function sA(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 XS(t,e){for(const r of t)if(!Rz(r,{upTo:e}))return r}function Rz(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 qz(t){return t instanceof HTMLInputElement&&"select"in t}function za(t,{select:e=!1}={}){if(t&&t.focus){const r=document.activeElement;t.focus({preventScroll:!0}),t!==r&&qz(t)&&e&&t.select()}}var JS=Dz();function Dz(){let t=[];return{add(e){const r=t[0];e!==r&&(r==null||r.pause()),t=YS(t,e),t.unshift(e)},remove(e){var r;t=YS(t,e),(r=t[0])==null||r.resume()}}}function YS(t,e){const r=[...t],n=r.indexOf(e);return n!==-1&&r.splice(n,1),r}function zz(t){return t.filter(e=>e.tagName!=="A")}var Fz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ez=Fz.reduce((t,e)=>{const r=Ye(`Primitive.${e}`),n=k.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}},{}),Oz=globalThis!=null&&globalThis.document?k.useLayoutEffect:()=>{},Hz="Portal",Tb=k.forwardRef((t,e)=>{var l;const{container:r,...n}=t,[o,i]=k.useState(!1);Oz(()=>i(!0),[]);const c=r||o&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return c?oj.createPortal(a.jsx(Ez.div,{...n,ref:e}),c):null});Tb.displayName=Hz;function Vz(t,e){return k.useReducer((r,n)=>e[r][n]??r,t)}var Rb=t=>{const{present:e,children:r}=t,n=Bz(e),o=typeof r=="function"?r({present:n.isPresent}):k.Children.only(r),i=Ab(n.ref,Uz(o));return typeof r=="function"||n.isPresent?k.cloneElement(o,{ref:i}):null};Rb.displayName="Presence";function Bz(t){const[e,r]=k.useState(),n=k.useRef(null),o=k.useRef(t),i=k.useRef("none"),c=t?"mounted":"unmounted",[l,d]=Vz(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return k.useEffect(()=>{const h=t1(n.current);i.current=l==="mounted"?h:"none"},[l]),yb(()=>{const h=n.current,u=o.current;if(u!==t){const y=i.current,m=t1(h);t?d("MOUNT"):m==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&y!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,d]),yb(()=>{if(e){let h;const u=e.ownerDocument.defaultView??window,p=m=>{const f=t1(n.current).includes(CSS.escape(m.animationName));if(m.target===e&&f&&(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=m=>{m.target===e&&(i.current=t1(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:k.useCallback(h=>{n.current=h?getComputedStyle(h):null,r(h)},[])}}function t1(t){return(t==null?void 0:t.animationName)||"none"}function Uz(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 $z=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Xc=$z.reduce((t,e)=>{const r=Ye(`Primitive.${e}`),n=k.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}},{}),yC=0;function Ej(){k.useEffect(()=>{const t=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",t[0]??KS()),document.body.insertAdjacentElement("beforeend",t[1]??KS()),yC++,()=>{yC===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),yC--}},[])}function KS(){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 ra=function(){return ra=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},ra.apply(this,arguments)};function cA(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 Wz(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 ab="right-scroll-bar-position",rb="width-before-scroll-bar",Gz="with-scroll-bars-hidden",Zz="--removed-body-scroll-bar-size";function mC(t,e){return typeof t=="function"?t(e):t&&(t.current=e),t}function Xz(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 Jz=typeof window<"u"?k.useLayoutEffect:k.useEffect,QS=new WeakMap;function Yz(t,e){var r=Xz(null,function(n){return t.forEach(function(o){return mC(o,n)})});return Jz(function(){var n=QS.get(r);if(n){var o=new Set(n),i=new Set(t),c=r.current;o.forEach(function(l){i.has(l)||mC(l,null)}),i.forEach(function(l){o.has(l)||mC(l,c)})}QS.set(r,t)},[t]),r}function Kz(t){return t}function Qz(t,e){e===void 0&&(e=Kz);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 eF(t){t===void 0&&(t={});var e=Qz(null);return e.options=ra({async:!0,ssr:!1},t),e}var lA=function(t){var e=t.sideCar,r=cA(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 k.createElement(n,ra({},r))};lA.isSideCarExport=!0;function tF(t,e){return t.useMedium(e),lA}var dA=eF(),fC=function(){},qb=k.forwardRef(function(t,e){var r=k.useRef(null),n=k.useState({onScrollCapture:fC,onWheelCapture:fC,onTouchMoveCapture:fC}),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,m=t.noRelative,g=t.noIsolation,f=t.inert,x=t.allowPinchZoom,v=t.as,M=v===void 0?"div":v,w=t.gapMode,b=cA(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=y,I=Yz([r,e]),S=ra(ra({},b),o);return k.createElement(k.Fragment,null,u&&k.createElement(C,{sideCar:dA,removeScrollBar:h,shards:p,noRelative:m,noIsolation:g,inert:f,setCallbacks:i,allowPinchZoom:!!x,lockRef:r,gapMode:w}),c?k.cloneElement(k.Children.only(l),ra(ra({},S),{ref:I})):k.createElement(M,ra({},S,{className:d,ref:I}),l))});qb.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};qb.classNames={fullWidth:rb,zeroRight:ab};var aF=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function rF(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=aF();return e&&t.setAttribute("nonce",e),t}function nF(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function oF(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var iF=function(){var t=0,e=null;return{add:function(r){t==0&&(e=rF())&&(nF(e,r),oF(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},sF=function(){var t=iF();return function(e,r){k.useEffect(function(){return t.add(e),function(){t.remove()}},[e&&r])}},hA=function(){var t=sF(),e=function(r){var n=r.styles,o=r.dynamic;return t(n,o),null};return e},cF={left:0,top:0,right:0,gap:0},xC=function(t){return parseInt(t||"",10)||0},lF=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[xC(r),xC(n),xC(o)]},dF=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return cF;var e=lF(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])}},hF=hA(),Ps="data-scroll-locked",uF=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(Gz,` {
7758
7758
  overflow: hidden `).concat(n,`;
7759
7759
  padding-right: `).concat(l,"px ").concat(n,`;
@@ -7790,35 +7790,35 @@ React keys must be passed directly to JSX without using spread:
7790
7790
  body[`).concat(Ps,`] {
7791
7791
  `).concat(Zz,": ").concat(l,`px;
7792
7792
  }
7793
- `)},eL=function(){var t=parseInt(document.body.getAttribute(Ps)||"0",10);return isFinite(t)?t:0},pF=function(){k.useEffect(function(){return document.body.setAttribute(Ps,(eL()+1).toString()),function(){var t=eL()-1;t<=0?document.body.removeAttribute(Ps):document.body.setAttribute(Ps,t.toString())}},[])},yF=function(t){var e=t.noRelative,r=t.noImportant,n=t.gapMode,o=n===void 0?"margin":n;pF();var i=k.useMemo(function(){return dF(o)},[o]);return k.createElement(hF,{styles:uF(i,!e,o,r?"":"!important")})},ZC=!1;if(typeof window<"u")try{var a1=Object.defineProperty({},"passive",{get:function(){return ZC=!0,!0}});window.addEventListener("test",a1,a1),window.removeEventListener("test",a1,a1)}catch{ZC=!1}var ss=ZC?{passive:!1}:!1,mF=function(t){return t.tagName==="TEXTAREA"},uA=function(t,e){if(!(t instanceof Element))return!1;var r=window.getComputedStyle(t);return r[e]!=="hidden"&&!(r.overflowY===r.overflowX&&!mF(t)&&r[e]==="visible")},fF=function(t){return uA(t,"overflowY")},xF=function(t){return uA(t,"overflowX")},tL=function(t,e){var r=e.ownerDocument,n=e;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var o=pA(t,n);if(o){var i=yA(t,n),c=i[1],l=i[2];if(c>l)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},kF=function(t){var e=t.scrollTop,r=t.scrollHeight,n=t.clientHeight;return[e,r,n]},gF=function(t){var e=t.scrollLeft,r=t.scrollWidth,n=t.clientWidth;return[e,r,n]},pA=function(t,e){return t==="v"?fF(e):xF(e)},yA=function(t,e){return t==="v"?kF(e):gF(e)},vF=function(t,e){return t==="h"&&e==="rtl"?-1:1},MF=function(t,e,r,n,o){var i=vF(t,window.getComputedStyle(e).direction),c=i*n,l=r.target,d=e.contains(l),h=!1,u=c>0,p=0,y=0;do{if(!l)break;var m=yA(t,l),v=m[0],f=m[1],x=m[2],g=f-x-i*v;(v||g)&&pA(t,l)&&(p+=g,y+=v);var M=l.parentNode;l=M&&M.nodeType===Node.DOCUMENT_FRAGMENT_NODE?M.host:M}while(!d&&l!==document.body||d&&(e.contains(l)||e===l));return(u&&(Math.abs(p)<1||!o)||!u&&(Math.abs(y)<1||!o))&&(h=!0),h},r1=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},aL=function(t){return[t.deltaX,t.deltaY]},rL=function(t){return t&&"current"in t?t.current:t},wF=function(t,e){return t[0]===e[0]&&t[1]===e[1]},bF=function(t){return`
7793
+ `)},eL=function(){var t=parseInt(document.body.getAttribute(Ps)||"0",10);return isFinite(t)?t:0},pF=function(){k.useEffect(function(){return document.body.setAttribute(Ps,(eL()+1).toString()),function(){var t=eL()-1;t<=0?document.body.removeAttribute(Ps):document.body.setAttribute(Ps,t.toString())}},[])},yF=function(t){var e=t.noRelative,r=t.noImportant,n=t.gapMode,o=n===void 0?"margin":n;pF();var i=k.useMemo(function(){return dF(o)},[o]);return k.createElement(hF,{styles:uF(i,!e,o,r?"":"!important")})},ZC=!1;if(typeof window<"u")try{var a1=Object.defineProperty({},"passive",{get:function(){return ZC=!0,!0}});window.addEventListener("test",a1,a1),window.removeEventListener("test",a1,a1)}catch{ZC=!1}var ss=ZC?{passive:!1}:!1,mF=function(t){return t.tagName==="TEXTAREA"},uA=function(t,e){if(!(t instanceof Element))return!1;var r=window.getComputedStyle(t);return r[e]!=="hidden"&&!(r.overflowY===r.overflowX&&!mF(t)&&r[e]==="visible")},fF=function(t){return uA(t,"overflowY")},xF=function(t){return uA(t,"overflowX")},tL=function(t,e){var r=e.ownerDocument,n=e;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var o=pA(t,n);if(o){var i=yA(t,n),c=i[1],l=i[2];if(c>l)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},kF=function(t){var e=t.scrollTop,r=t.scrollHeight,n=t.clientHeight;return[e,r,n]},gF=function(t){var e=t.scrollLeft,r=t.scrollWidth,n=t.clientWidth;return[e,r,n]},pA=function(t,e){return t==="v"?fF(e):xF(e)},yA=function(t,e){return t==="v"?kF(e):gF(e)},vF=function(t,e){return t==="h"&&e==="rtl"?-1:1},MF=function(t,e,r,n,o){var i=vF(t,window.getComputedStyle(e).direction),c=i*n,l=r.target,d=e.contains(l),h=!1,u=c>0,p=0,y=0;do{if(!l)break;var m=yA(t,l),g=m[0],f=m[1],x=m[2],v=f-x-i*g;(g||v)&&pA(t,l)&&(p+=v,y+=g);var M=l.parentNode;l=M&&M.nodeType===Node.DOCUMENT_FRAGMENT_NODE?M.host:M}while(!d&&l!==document.body||d&&(e.contains(l)||e===l));return(u&&(Math.abs(p)<1||!o)||!u&&(Math.abs(y)<1||!o))&&(h=!0),h},r1=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},aL=function(t){return[t.deltaX,t.deltaY]},rL=function(t){return t&&"current"in t?t.current:t},wF=function(t,e){return t[0]===e[0]&&t[1]===e[1]},bF=function(t){return`
7794
7794
  .block-interactivity-`.concat(t,` {pointer-events: none;}
7795
7795
  .allow-interactivity-`).concat(t,` {pointer-events: all;}
7796
- `)},CF=0,cs=[];function jF(t){var e=k.useRef([]),r=k.useRef([0,0]),n=k.useRef(),o=k.useState(CF++)[0],i=k.useState(hA)[0],c=k.useRef(t);k.useEffect(function(){c.current=t},[t]),k.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(o));var f=Wz([t.lockRef.current],(t.shards||[]).map(rL),!0).filter(Boolean);return f.forEach(function(x){return x.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),f.forEach(function(x){return x.classList.remove("allow-interactivity-".concat(o))})}}},[t.inert,t.lockRef.current,t.shards]);var l=k.useCallback(function(f,x){if("touches"in f&&f.touches.length===2||f.type==="wheel"&&f.ctrlKey)return!c.current.allowPinchZoom;var g=r1(f),M=r.current,w="deltaX"in f?f.deltaX:M[0]-g[0],j="deltaY"in f?f.deltaY:M[1]-g[1],b,I=f.target,S=Math.abs(w)>Math.abs(j)?"h":"v";if("touches"in f&&S==="h"&&I.type==="range")return!1;var A=tL(S,I);if(!A)return!0;if(A?b=S:(b=S==="v"?"h":"v",A=tL(S,I)),!A)return!1;if(!n.current&&"changedTouches"in f&&(w||j)&&(n.current=b),!b)return!0;var N=n.current||b;return MF(N,x,f,N==="h"?w:j,!0)},[]),d=k.useCallback(function(f){var x=f;if(!(!cs.length||cs[cs.length-1]!==i)){var g="deltaY"in x?aL(x):r1(x),M=e.current.filter(function(b){return b.name===x.type&&(b.target===x.target||x.target===b.shadowParent)&&wF(b.delta,g)})[0];if(M&&M.should){x.cancelable&&x.preventDefault();return}if(!M){var w=(c.current.shards||[]).map(rL).filter(Boolean).filter(function(b){return b.contains(x.target)}),j=w.length>0?l(x,w[0]):!c.current.noIsolation;j&&x.cancelable&&x.preventDefault()}}},[]),h=k.useCallback(function(f,x,g,M){var w={name:f,delta:x,target:g,should:M,shadowParent:SF(g)};e.current.push(w),setTimeout(function(){e.current=e.current.filter(function(j){return j!==w})},1)},[]),u=k.useCallback(function(f){r.current=r1(f),n.current=void 0},[]),p=k.useCallback(function(f){h(f.type,aL(f),f.target,l(f,t.lockRef.current))},[]),y=k.useCallback(function(f){h(f.type,r1(f),f.target,l(f,t.lockRef.current))},[]);k.useEffect(function(){return cs.push(i),t.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:y}),document.addEventListener("wheel",d,ss),document.addEventListener("touchmove",d,ss),document.addEventListener("touchstart",u,ss),function(){cs=cs.filter(function(f){return f!==i}),document.removeEventListener("wheel",d,ss),document.removeEventListener("touchmove",d,ss),document.removeEventListener("touchstart",u,ss)}},[]);var m=t.removeScrollBar,v=t.inert;return k.createElement(k.Fragment,null,v?k.createElement(i,{styles:bF(o)}):null,m?k.createElement(yF,{noRelative:t.noRelative,gapMode:t.gapMode}):null)}function SF(t){for(var e=null;t!==null;)t instanceof ShadowRoot&&(e=t.host,t=t.host),t=t.parentNode;return e}const LF=tF(dA,jF);var Db=k.forwardRef(function(t,e){return k.createElement(qb,ra({},t,{ref:e,sideCar:LF}))});Db.classNames=qb.classNames;var IF=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},ls=new WeakMap,n1=new WeakMap,o1={},kC=0,mA=function(t){return t&&(t.host||mA(t.parentNode))},NF=function(t,e){return e.map(function(r){if(t.contains(r))return r;var n=mA(r);return n&&t.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",t,". Doing nothing"),null)}).filter(function(r){return!!r})},AF=function(t,e,r,n){var o=NF(e,Array.isArray(t)?t:[t]);o1[r]||(o1[r]=new WeakMap);var i=o1[r],c=[],l=new Set,d=new Set(o),h=function(p){!p||l.has(p)||(l.add(p),h(p.parentNode))};o.forEach(h);var u=function(p){!p||d.has(p)||Array.prototype.forEach.call(p.children,function(y){if(l.has(y))u(y);else try{var m=y.getAttribute(n),v=m!==null&&m!=="false",f=(ls.get(y)||0)+1,x=(i.get(y)||0)+1;ls.set(y,f),i.set(y,x),c.push(y),f===1&&v&&n1.set(y,!0),x===1&&y.setAttribute(r,"true"),v||y.setAttribute(n,"true")}catch(g){console.error("aria-hidden: cannot operate on ",y,g)}})};return u(e),l.clear(),kC++,function(){c.forEach(function(p){var y=ls.get(p)-1,m=i.get(p)-1;ls.set(p,y),i.set(p,m),y||(n1.has(p)||p.removeAttribute(n),n1.delete(p)),m||p.removeAttribute(r)}),kC--,kC||(ls=new WeakMap,ls=new WeakMap,n1=new WeakMap,o1={})}},Oj=function(t,e,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(t)?t:[t]),o=IF(t);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),AF(n,o,r,"aria-hidden")):function(){return null}},zb="Dialog",[fA,xA]=sz(zb),[PF,Kt]=fA(zb),kA=t=>{const{__scopeDialog:e,children:r,open:n,defaultOpen:o,onOpenChange:i,modal:c=!0}=t,l=k.useRef(null),d=k.useRef(null),[h,u]=uz({prop:n,defaultProp:o??!1,onChange:i,caller:zb});return a.jsx(PF,{scope:e,triggerRef:l,contentRef:d,contentId:dC(),titleId:dC(),descriptionId:dC(),open:h,onOpenChange:u,onOpenToggle:k.useCallback(()=>u(p=>!p),[u]),modal:c,children:r})};kA.displayName=zb;var gA="DialogTrigger",vA=k.forwardRef((t,e)=>{const{__scopeDialog:r,...n}=t,o=Kt(gA,r),i=Ab(e,o.triggerRef);return a.jsx(Xc.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Bj(o.open),...n,ref:i,onClick:Rc(t.onClick,o.onOpenToggle)})});vA.displayName=gA;var Hj="DialogPortal",[_F,MA]=fA(Hj,{forceMount:void 0}),wA=t=>{const{__scopeDialog:e,forceMount:r,children:n,container:o}=t,i=Kt(Hj,e);return a.jsx(_F,{scope:e,forceMount:r,children:k.Children.map(n,c=>a.jsx(Rb,{present:r||i.open,children:a.jsx(Tb,{asChild:!0,container:o,children:c})}))})};wA.displayName=Hj;var mb="DialogOverlay",bA=k.forwardRef((t,e)=>{const r=MA(mb,t.__scopeDialog),{forceMount:n=r.forceMount,...o}=t,i=Kt(mb,t.__scopeDialog);return i.modal?a.jsx(Rb,{present:n||i.open,children:a.jsx(RF,{...o,ref:e})}):null});bA.displayName=mb;var TF=Ye("DialogOverlay.RemoveScroll"),RF=k.forwardRef((t,e)=>{const{__scopeDialog:r,...n}=t,o=Kt(mb,r);return a.jsx(Db,{as:TF,allowPinchZoom:!0,shards:[o.contentRef],children:a.jsx(Xc.div,{"data-state":Bj(o.open),...n,ref:e,style:{pointerEvents:"auto",...n.style}})})}),$i="DialogContent",CA=k.forwardRef((t,e)=>{const r=MA($i,t.__scopeDialog),{forceMount:n=r.forceMount,...o}=t,i=Kt($i,t.__scopeDialog);return a.jsx(Rb,{present:n||i.open,children:i.modal?a.jsx(qF,{...o,ref:e}):a.jsx(DF,{...o,ref:e})})});CA.displayName=$i;var qF=k.forwardRef((t,e)=>{const r=Kt($i,t.__scopeDialog),n=k.useRef(null),o=Ab(e,r.contentRef,n);return k.useEffect(()=>{const i=n.current;if(i)return Oj(i)},[]),a.jsx(jA,{...t,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Rc(t.onCloseAutoFocus,i=>{var c;i.preventDefault(),(c=r.triggerRef.current)==null||c.focus()}),onPointerDownOutside:Rc(t.onPointerDownOutside,i=>{const c=i.detail.originalEvent,l=c.button===0&&c.ctrlKey===!0;(c.button===2||l)&&i.preventDefault()}),onFocusOutside:Rc(t.onFocusOutside,i=>i.preventDefault())})}),DF=k.forwardRef((t,e)=>{const r=Kt($i,t.__scopeDialog),n=k.useRef(!1),o=k.useRef(!1);return a.jsx(jA,{...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()}})}),jA=k.forwardRef((t,e)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:i,...c}=t,l=Kt($i,r),d=k.useRef(null),h=Ab(e,d);return Ej(),a.jsxs(a.Fragment,{children:[a.jsx(_b,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:i,children:a.jsx(Pb,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":Bj(l.open),...c,ref:h,onDismiss:()=>l.onOpenChange(!1)})}),a.jsxs(a.Fragment,{children:[a.jsx(FF,{titleId:l.titleId}),a.jsx(OF,{contentRef:d,descriptionId:l.descriptionId})]})]})}),Vj="DialogTitle",SA=k.forwardRef((t,e)=>{const{__scopeDialog:r,...n}=t,o=Kt(Vj,r);return a.jsx(Xc.h2,{id:o.titleId,...n,ref:e})});SA.displayName=Vj;var LA="DialogDescription",IA=k.forwardRef((t,e)=>{const{__scopeDialog:r,...n}=t,o=Kt(LA,r);return a.jsx(Xc.p,{id:o.descriptionId,...n,ref:e})});IA.displayName=LA;var NA="DialogClose",AA=k.forwardRef((t,e)=>{const{__scopeDialog:r,...n}=t,o=Kt(NA,r);return a.jsx(Xc.button,{type:"button",...n,ref:e,onClick:Rc(t.onClick,()=>o.onOpenChange(!1))})});AA.displayName=NA;function Bj(t){return t?"open":"closed"}var PA="DialogTitleWarning",[zF,_A]=iz(PA,{contentName:$i,titleName:Vj,docsSlug:"dialog"}),FF=({titleId:t})=>{const e=_A(PA),r=`\`${e.contentName}\` requires a \`${e.titleName}\` for the component to be accessible for screen reader users.
7796
+ `)},CF=0,cs=[];function jF(t){var e=k.useRef([]),r=k.useRef([0,0]),n=k.useRef(),o=k.useState(CF++)[0],i=k.useState(hA)[0],c=k.useRef(t);k.useEffect(function(){c.current=t},[t]),k.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(o));var f=Wz([t.lockRef.current],(t.shards||[]).map(rL),!0).filter(Boolean);return f.forEach(function(x){return x.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),f.forEach(function(x){return x.classList.remove("allow-interactivity-".concat(o))})}}},[t.inert,t.lockRef.current,t.shards]);var l=k.useCallback(function(f,x){if("touches"in f&&f.touches.length===2||f.type==="wheel"&&f.ctrlKey)return!c.current.allowPinchZoom;var v=r1(f),M=r.current,w="deltaX"in f?f.deltaX:M[0]-v[0],b="deltaY"in f?f.deltaY:M[1]-v[1],C,I=f.target,S=Math.abs(w)>Math.abs(b)?"h":"v";if("touches"in f&&S==="h"&&I.type==="range")return!1;var A=tL(S,I);if(!A)return!0;if(A?C=S:(C=S==="v"?"h":"v",A=tL(S,I)),!A)return!1;if(!n.current&&"changedTouches"in f&&(w||b)&&(n.current=C),!C)return!0;var N=n.current||C;return MF(N,x,f,N==="h"?w:b,!0)},[]),d=k.useCallback(function(f){var x=f;if(!(!cs.length||cs[cs.length-1]!==i)){var v="deltaY"in x?aL(x):r1(x),M=e.current.filter(function(C){return C.name===x.type&&(C.target===x.target||x.target===C.shadowParent)&&wF(C.delta,v)})[0];if(M&&M.should){x.cancelable&&x.preventDefault();return}if(!M){var w=(c.current.shards||[]).map(rL).filter(Boolean).filter(function(C){return C.contains(x.target)}),b=w.length>0?l(x,w[0]):!c.current.noIsolation;b&&x.cancelable&&x.preventDefault()}}},[]),h=k.useCallback(function(f,x,v,M){var w={name:f,delta:x,target:v,should:M,shadowParent:SF(v)};e.current.push(w),setTimeout(function(){e.current=e.current.filter(function(b){return b!==w})},1)},[]),u=k.useCallback(function(f){r.current=r1(f),n.current=void 0},[]),p=k.useCallback(function(f){h(f.type,aL(f),f.target,l(f,t.lockRef.current))},[]),y=k.useCallback(function(f){h(f.type,r1(f),f.target,l(f,t.lockRef.current))},[]);k.useEffect(function(){return cs.push(i),t.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:y}),document.addEventListener("wheel",d,ss),document.addEventListener("touchmove",d,ss),document.addEventListener("touchstart",u,ss),function(){cs=cs.filter(function(f){return f!==i}),document.removeEventListener("wheel",d,ss),document.removeEventListener("touchmove",d,ss),document.removeEventListener("touchstart",u,ss)}},[]);var m=t.removeScrollBar,g=t.inert;return k.createElement(k.Fragment,null,g?k.createElement(i,{styles:bF(o)}):null,m?k.createElement(yF,{noRelative:t.noRelative,gapMode:t.gapMode}):null)}function SF(t){for(var e=null;t!==null;)t instanceof ShadowRoot&&(e=t.host,t=t.host),t=t.parentNode;return e}const LF=tF(dA,jF);var Db=k.forwardRef(function(t,e){return k.createElement(qb,ra({},t,{ref:e,sideCar:LF}))});Db.classNames=qb.classNames;var IF=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},ls=new WeakMap,n1=new WeakMap,o1={},kC=0,mA=function(t){return t&&(t.host||mA(t.parentNode))},NF=function(t,e){return e.map(function(r){if(t.contains(r))return r;var n=mA(r);return n&&t.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",t,". Doing nothing"),null)}).filter(function(r){return!!r})},AF=function(t,e,r,n){var o=NF(e,Array.isArray(t)?t:[t]);o1[r]||(o1[r]=new WeakMap);var i=o1[r],c=[],l=new Set,d=new Set(o),h=function(p){!p||l.has(p)||(l.add(p),h(p.parentNode))};o.forEach(h);var u=function(p){!p||d.has(p)||Array.prototype.forEach.call(p.children,function(y){if(l.has(y))u(y);else try{var m=y.getAttribute(n),g=m!==null&&m!=="false",f=(ls.get(y)||0)+1,x=(i.get(y)||0)+1;ls.set(y,f),i.set(y,x),c.push(y),f===1&&g&&n1.set(y,!0),x===1&&y.setAttribute(r,"true"),g||y.setAttribute(n,"true")}catch(v){console.error("aria-hidden: cannot operate on ",y,v)}})};return u(e),l.clear(),kC++,function(){c.forEach(function(p){var y=ls.get(p)-1,m=i.get(p)-1;ls.set(p,y),i.set(p,m),y||(n1.has(p)||p.removeAttribute(n),n1.delete(p)),m||p.removeAttribute(r)}),kC--,kC||(ls=new WeakMap,ls=new WeakMap,n1=new WeakMap,o1={})}},Oj=function(t,e,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(t)?t:[t]),o=IF(t);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),AF(n,o,r,"aria-hidden")):function(){return null}},zb="Dialog",[fA,xA]=sz(zb),[PF,Kt]=fA(zb),kA=t=>{const{__scopeDialog:e,children:r,open:n,defaultOpen:o,onOpenChange:i,modal:c=!0}=t,l=k.useRef(null),d=k.useRef(null),[h,u]=uz({prop:n,defaultProp:o??!1,onChange:i,caller:zb});return a.jsx(PF,{scope:e,triggerRef:l,contentRef:d,contentId:dC(),titleId:dC(),descriptionId:dC(),open:h,onOpenChange:u,onOpenToggle:k.useCallback(()=>u(p=>!p),[u]),modal:c,children:r})};kA.displayName=zb;var gA="DialogTrigger",vA=k.forwardRef((t,e)=>{const{__scopeDialog:r,...n}=t,o=Kt(gA,r),i=Ab(e,o.triggerRef);return a.jsx(Xc.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Bj(o.open),...n,ref:i,onClick:Rc(t.onClick,o.onOpenToggle)})});vA.displayName=gA;var Hj="DialogPortal",[_F,MA]=fA(Hj,{forceMount:void 0}),wA=t=>{const{__scopeDialog:e,forceMount:r,children:n,container:o}=t,i=Kt(Hj,e);return a.jsx(_F,{scope:e,forceMount:r,children:k.Children.map(n,c=>a.jsx(Rb,{present:r||i.open,children:a.jsx(Tb,{asChild:!0,container:o,children:c})}))})};wA.displayName=Hj;var mb="DialogOverlay",bA=k.forwardRef((t,e)=>{const r=MA(mb,t.__scopeDialog),{forceMount:n=r.forceMount,...o}=t,i=Kt(mb,t.__scopeDialog);return i.modal?a.jsx(Rb,{present:n||i.open,children:a.jsx(RF,{...o,ref:e})}):null});bA.displayName=mb;var TF=Ye("DialogOverlay.RemoveScroll"),RF=k.forwardRef((t,e)=>{const{__scopeDialog:r,...n}=t,o=Kt(mb,r);return a.jsx(Db,{as:TF,allowPinchZoom:!0,shards:[o.contentRef],children:a.jsx(Xc.div,{"data-state":Bj(o.open),...n,ref:e,style:{pointerEvents:"auto",...n.style}})})}),$i="DialogContent",CA=k.forwardRef((t,e)=>{const r=MA($i,t.__scopeDialog),{forceMount:n=r.forceMount,...o}=t,i=Kt($i,t.__scopeDialog);return a.jsx(Rb,{present:n||i.open,children:i.modal?a.jsx(qF,{...o,ref:e}):a.jsx(DF,{...o,ref:e})})});CA.displayName=$i;var qF=k.forwardRef((t,e)=>{const r=Kt($i,t.__scopeDialog),n=k.useRef(null),o=Ab(e,r.contentRef,n);return k.useEffect(()=>{const i=n.current;if(i)return Oj(i)},[]),a.jsx(jA,{...t,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Rc(t.onCloseAutoFocus,i=>{var c;i.preventDefault(),(c=r.triggerRef.current)==null||c.focus()}),onPointerDownOutside:Rc(t.onPointerDownOutside,i=>{const c=i.detail.originalEvent,l=c.button===0&&c.ctrlKey===!0;(c.button===2||l)&&i.preventDefault()}),onFocusOutside:Rc(t.onFocusOutside,i=>i.preventDefault())})}),DF=k.forwardRef((t,e)=>{const r=Kt($i,t.__scopeDialog),n=k.useRef(!1),o=k.useRef(!1);return a.jsx(jA,{...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()}})}),jA=k.forwardRef((t,e)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:i,...c}=t,l=Kt($i,r),d=k.useRef(null),h=Ab(e,d);return Ej(),a.jsxs(a.Fragment,{children:[a.jsx(_b,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:i,children:a.jsx(Pb,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":Bj(l.open),...c,ref:h,onDismiss:()=>l.onOpenChange(!1)})}),a.jsxs(a.Fragment,{children:[a.jsx(FF,{titleId:l.titleId}),a.jsx(OF,{contentRef:d,descriptionId:l.descriptionId})]})]})}),Vj="DialogTitle",SA=k.forwardRef((t,e)=>{const{__scopeDialog:r,...n}=t,o=Kt(Vj,r);return a.jsx(Xc.h2,{id:o.titleId,...n,ref:e})});SA.displayName=Vj;var LA="DialogDescription",IA=k.forwardRef((t,e)=>{const{__scopeDialog:r,...n}=t,o=Kt(LA,r);return a.jsx(Xc.p,{id:o.descriptionId,...n,ref:e})});IA.displayName=LA;var NA="DialogClose",AA=k.forwardRef((t,e)=>{const{__scopeDialog:r,...n}=t,o=Kt(NA,r);return a.jsx(Xc.button,{type:"button",...n,ref:e,onClick:Rc(t.onClick,()=>o.onOpenChange(!1))})});AA.displayName=NA;function Bj(t){return t?"open":"closed"}var PA="DialogTitleWarning",[zF,_A]=iz(PA,{contentName:$i,titleName:Vj,docsSlug:"dialog"}),FF=({titleId:t})=>{const e=_A(PA),r=`\`${e.contentName}\` requires a \`${e.titleName}\` for the component to be accessible for screen reader users.
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 k.useEffect(()=>{t&&(document.getElementById(t)||console.error(r))},[r,t]),null},EF="DialogDescriptionWarning",OF=({contentRef:t,descriptionId:e})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${_A(EF).contentName}}.`;return k.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},TA=kA,HF=vA,RA=wA,Uj=bA,$j=CA,Wj=SA,Gj=IA,Zj=AA;function Fb(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 VF=["color"],BF=C.forwardRef(function(t,e){var r=t.color,n=r===void 0?"currentColor":r,o=Fb(t,VF);return C.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}),C.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"}))}),UF=["color"],qA=C.forwardRef(function(t,e){var r=t.color,n=r===void 0?"currentColor":r,o=Fb(t,UF);return C.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}),C.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"}))}),$F=["color"],WF=C.forwardRef(function(t,e){var r=t.color,n=r===void 0?"currentColor":r,o=Fb(t,$F);return C.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}),C.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"}))}),GF=["color"],ZF=C.forwardRef(function(t,e){var r=t.color,n=r===void 0?"currentColor":r,o=Fb(t,GF);return C.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}),C.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 Ws=TA,XF=RA,DA=k.forwardRef(({className:t,...e},r)=>a.jsx(Uj,{ref:r,className:oe("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}));DA.displayName=Uj.displayName;const Ki=k.forwardRef(({className:t,children:e,...r},n)=>a.jsxs(XF,{children:[a.jsx(DA,{}),a.jsxs($j,{ref:n,className:oe("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(Zj,{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(ZF,{className:"h-4 w-4"}),a.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Ki.displayName=$j.displayName;const Gs=({className:t,...e})=>a.jsx("div",{className:oe("flex flex-col space-y-1.5 text-center sm:text-left",t),...e});Gs.displayName="DialogHeader";const Qi=({className:t,...e})=>a.jsx("div",{className:oe("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...e});Qi.displayName="DialogFooter";const es=k.forwardRef(({className:t,...e},r)=>a.jsx(Wj,{ref:r,className:oe("text-lg font-semibold leading-none tracking-tight",t),...e}));es.displayName=Wj.displayName;const zA=k.forwardRef(({className:t,...e},r)=>a.jsx(Gj,{ref:r,className:oe("text-sm text-muted-foreground",t),...e}));zA.displayName=Gj.displayName;var JF="Label",FA=k.forwardRef((t,e)=>a.jsx(Xi.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())}}));FA.displayName=JF;var EA=FA;const YF=Cb("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),he=k.forwardRef(({className:t,...e},r)=>a.jsx(EA,{ref:r,className:oe(YF(),t),...e}));he.displayName=EA.displayName;const KF=1,QF=1e6;let gC=0;function eE(){return gC=(gC+1)%Number.MAX_SAFE_INTEGER,gC.toString()}const vC=new Map,nL=t=>{if(vC.has(t))return;const e=setTimeout(()=>{vC.delete(t),nb({type:"REMOVE_TOAST",toastId:t})},QF);vC.set(t,e)},tE=(t,e)=>{switch(e.type){case"ADD_TOAST":return{...t,toasts:[e.toast,...t.toasts].slice(0,KF)};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?nL(r):t.toasts.forEach(n=>{nL(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)}}},aE=[];let MC={toasts:[]};function nb(t){MC=tE(MC,t),aE.forEach(e=>{e(MC)})}function oL({...t}){const e=eE(),r=o=>nb({type:"UPDATE_TOAST",toast:{...o,id:e}}),n=()=>nb({type:"DISMISS_TOAST",toastId:e});return nb({type:"ADD_TOAST",toast:{...t,id:e,open:!0,onOpenChange:o=>{o||n()}}}),{id:e,dismiss:n,update:r}}const rE=new Set([200,201,202,204]);function nE(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 oE(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 iE(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(rE.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:nE(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 sE({open:t,onOpenChange:e,onSubscriptionSuccess:r,searchQuery:n,filters:o,apiUrl:i="http://localhost:5147"}){const[c,l]=C.useState(""),[d,h]=C.useState(!1),[u,p]=C.useState(null),y=async m=>{if(m.preventDefault(),p(null),!c||!c.includes("@")){p("Please enter a valid email address.");return}h(!0);try{const v=await iE(`${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(!v.ok){p(oE(v.error)),oL({title:"Subscription failed",description:v.error.message});return}localStorage.setItem("leadId",v.data.id),localStorage.setItem("email",c),oL({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(Ws,{open:t,onOpenChange:e,children:a.jsxs(Ki,{className:"sm:max-w-md",children:[a.jsxs(Gs,{children:[a.jsxs(es,{className:"flex items-center gap-2",children:[a.jsx(ys,{className:"h-5 w-5 text-orange-500"}),"Create Job Alert"]}),a.jsx(zA,{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(he,{htmlFor:"email",children:"Email address"}),a.jsxs("div",{className:"relative",children:[a.jsx(sa,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),a.jsx(Xe,{id:"email",type:"email",placeholder:"Enter your email address",value:c,onChange:m=>l(m.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(Qi,{className:"gap-2 sm:gap-0",children:[a.jsx(O,{type:"button",variant:"outline",onClick:()=>e(!1),disabled:d,children:"Cancel"}),a.jsx(O,{type:"submit",disabled:d,children:d?"Creating Alert...":"Create Alert"})]})]})]})})}function OA(){const t="savedJobs",[e,r]=C.useState([]);return C.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 cE=6,lE=({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"})=>{var Ks;const[u,p]=C.useState([]),[y,m]=C.useState([]),[v,f]=C.useState([]),[x,g]=C.useState(1),[M,w]=C.useState({}),[j,b]=C.useState([]),[I,S]=C.useState({}),[A,N]=C.useState(""),[R,P]=C.useState([]),[_,T]=C.useState(!1),[F,U]=C.useState(e),[z,B]=C.useState("grid"),[D,X]=C.useState(!1),[ie,ee]=C.useState([]),[Re,J]=C.useState(!0),[Y,Q]=C.useState(null),[te,G]=C.useState("all"),[ae,ve]=C.useState(!1),[se,ue]=C.useState(!1),[le,He]=C.useState({jobTypes:[],experienceLevels:[],country:"",minSalary:"",maxSalary:"",city:""}),[Ie,H]=C.useState({open:!1,type:"info",message:""}),{savedJobs:E,toggleJob:K,isSaved:je}=OA(),fe=(V,Z)=>{H({open:!0,type:V,message:Z})};C.useEffect(()=>{try{const V=localStorage.getItem("lastVisitedJobs");V&&ee(JSON.parse(V));try{localStorage.getItem("email")&&ue(!0)}catch(Z){console.error("Error checking subscription state:",Z)}}catch(V){console.error("Error loading data from localStorage:",V)}},[]),C.useEffect(()=>{const Z=new URLSearchParams(window.location.search).get("date_filter");if(Z&&Z!=="all"){G(Z);const de=wt(u,M,j,Z);m(de),g(1),qe(de)}},[u]),C.useEffect(()=>{if(!t){Q("❌ Missing API URL for Listing component!"),J(!1);return}J(!0),Q(null),(async()=>{try{const Z=await fetch(t);if(!Z.ok)throw new Error(`API responded with status: ${Z.status}`);const de=await Z.json();if(!Array.isArray(de))throw new Error("Expected an array but received: "+typeof de);const ke=de.map((Bt,ns)=>({...Bt,sponsored:ns%7===0,topTag:qj(Bt.title||"")})),Fe=Array.from(new Set(ke.map(Bt=>Bt.topTag).filter(Bt=>typeof Bt=="string"))).slice(0,10);f(Fe),p(ke),m(ke);const at=Tc(ke,r);S(at)}catch(Z){console.error("Error fetching data:",Z),Q(`Failed to load data: ${Z instanceof Error?Z.message:String(Z)}`);const de=ZD(20);p(de),m(de);const ke=Tc(de,r);S(ke)}finally{J(!1)}})()},[t]),C.useEffect(()=>{const V=new URLSearchParams(window.location.search),Z={};r.forEach(Fe=>{const at=V.get(Fe);at&&(Z[Fe]=at)}),w(Z);const de=V.get("q")||V.get("searchTerm")||"";de&&(N(de),as(de));const ke={};r.forEach(Fe=>{const at=V.get(Fe);at&&(ke[Fe]=at)}),w(ke)},[]),C.useEffect(()=>{if(D){const V=u.filter(Z=>E.includes(Z.id||Z.slug||Z.link));m(V),g(1)}else{let V=u;V=wt(V,M,j,te),V=nz(V,le),m(V)}},[D,E,u,M,j,te,le]);const qe=V=>{const Z=Tc(V,r);S(Z)},Ve=(V,Z)=>{w(de=>{const ke={...de};Z?ke[V]=Z:delete ke[V],D&&X(!1);const Fe=wt(u,ke,j,te);return m(Fe),g(1),qe(Fe),ke})},gt=()=>{ue(!0),xe().then(()=>ve(!1))},ts=C.useRef(null),Ys=V=>{g(V),setTimeout(()=>{var Z;(Z=ts.current)==null||Z.scrollIntoView({behavior:"smooth",block:"start"})},100)},Pa=V=>{D&&X(!1),G(V),rr(V),eA(V)},rr=V=>{const Z=wt(u,M,j,V);m(Z),g(1),qe(Z)},Vt=V=>{if(N(V),V){const Z=u.map(de=>de.title).filter((de,ke,Fe)=>de&&de.toLowerCase().includes(V.toLowerCase())&&Fe.indexOf(de)===ke).slice(0,5);P(Z)}else P([])},as=V=>{if(!V.trim())return;D&&X(!1);const Z=[...j,V.trim()];b(Z);const de=wt(u,M,Z,te);m(de),g(1),qe(de),N("")},rs=V=>{const Z=j.filter(ke=>ke!==V);b(Z);const de=wt(u,M,Z,te);m(de),g(1),qe(de)},_a=()=>{He({jobTypes:[],experienceLevels:[],country:"",minSalary:"",maxSalary:"",city:""});const V=wt(u,M,j,te);m(V),g(1),qe(V)},nr=()=>{w({}),b([]),X(!1),G("all"),_a(),m(u),g(1),qe(u)},$=V=>{const Z=new Set,de=[];for(const ke of V){const Fe=`${ke.key??""}|${ke.value.toLowerCase()}`;Z.has(Fe)||(Z.add(Fe),de.push(ke))}return de},re=V=>V.replace(/\/+$/,""),xe=async()=>{if(!se)ve(!0);else{const V=localStorage.getItem("email"),Z=localStorage.getItem("leadId");if(!V||!Z){fe("info","Please subscribe first to create alerts.");return}const de="keyword",ke=(lt,Pt)=>Pt&&Pt.trim()?{key:lt.toLowerCase(),value:Pt.trim()}:null,Fe=Object.entries(M).map(([lt,Pt])=>ke(lt,Pt)).filter(lt=>lt!==null),at=j.map(lt=>ke(de,lt)).filter(lt=>lt!==null),Bt=ke(de,A),ns=Bt?[Bt]:[],Qs=$([...Fe,...at,...ns]);if(Qs.length===0){fe("info","No filters/keywords to save.");return}try{const lt=re(h??"http://localhost:5147"),Pt=await fetch(`${lt}/api/leads/${Z}/preferences/bulk`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(Qs)});if(!Pt.ok){let Kc="";try{Kc=await Pt.text()}catch{}throw new Error(`${Pt.status} ${Pt.statusText} ${Kc}`.trim())}fe("success","Alert saved. We’ll notify you about new matching jobs."),N("")}catch(lt){console.error("Create alert failed:",lt),fe("error","Failed to save alert.")}}},ze=()=>{T(!_)},ot=y.length===0?0:(x-1)*F+1,Ta=Math.min(x*F,y.length),Qe=V=>{U(V),g(1)},et=()=>{B(z==="grid"?"list":"grid")},ya=V=>{const Z=V.id||V.slug||V.link;ee(de=>{const ke=de.filter(at=>(at.id||at.slug||at.link)!==Z),Fe=[V,...ke].slice(0,cE);try{localStorage.setItem("lastVisitedJobs",JSON.stringify(Fe))}catch(at){console.error("Error saving to localStorage:",at)}return Fe})},Ne=()=>{X(!D)},tt=Math.ceil(y.length/F),or=y.slice((x-1)*F,x*F);return Y&&!u.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:Y}),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(Rj,{onSearchChange:Vt,searchPlaceholder:"Search jobs, companies, or keywords...",title:"Job Listings",description:"",popularTags:v,generateHref:V=>`/jobs?q=${V.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(Tj,{data:u.map(V=>V.title).filter(Boolean),onSelect:V=>{as(V)},onTyping:V=>{N(V),Vt(V)},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:ze,children:a.jsx(Ua,{size:16,className:"mr-1.5"})})]}),a.jsx("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:a.jsx(Dj,{filters:[...te!=="all"?[{key:"date",label:l,value:te.replace(/_/g," "),onRemove:()=>Pa("all")}]:[],...j.map(V=>({key:"search",label:"",value:V,onRemove:()=>rs(V)})),...Object.entries(M).map(([V,Z])=>({key:V,label:V.replace(/_/g," "),value:Z,onRemove:()=>Ve(V,"")}))],onClearAll:nr,handleCreateAlert:xe})})]}),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:ze,"aria-expanded":_,children:[a.jsx(Ua,{className:"w-4 h-4 mr-2"}),_?"Close Filters":"Filters"]}),a.jsxs("div",{className:"flex flex-col lg:flex-row lg:gap-6",children:[a.jsx(tA,{dateFieldLabel:"Date",activeDateFilter:te,onDateFilterChange:Pa,filterKeys:r,searchableFilters:d,filtersData:I,activeFilters:M,handleFilterChange:Ve,toggleSavedJobsFilter:Ne,showOnlySaved:D,savedJobs:E}),Re?a.jsx(_j,{}):a.jsxs("div",{className:"lg:gap-6",children:[a.jsx(zj,{viewMode:z,onToggleViewMode:et,selectedItemsPerPage:F,onItemsPerPageChange:Qe,totalCount:y.length,startIndex:ot,endIndex:Ta,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:[D?"Saved Jobs":"Open Positions",te!=="all"&&!D&&a.jsxs("span",{className:"text-sm font-normal text-gray-500 ml-2",children:["(",te.replace(/_/g," "),")"]})]}),a.jsxs("p",{className:"text-sm text-gray-600",children:[a.jsx("span",{className:"font-semibold text-gray-900",children:y.length})," found"]})]})}),a.jsx(tz,{items:or,cardType:i,viewMode:z,savedJobs:E,onSaveJob:K,onViewJob:ya,firstItemRef:ts}),y.length>0&&a.jsx("div",{className:"mt-6",children:a.jsx(Fj,{currentPage:x,totalPages:tt,onPageChange:Ys})})]}),ie.length>0&&a.jsx("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:a.jsx(az,{jobs:ie,onViewJob:ya})})]}),a.jsx("div",{className:"hidden lg:block lg:w-1/4 space-y-6",children:((Ks=n==null?void 0:n.sidebar)==null?void 0:Ks.enabled)&&a.jsxs("div",{className:"sticky top-4",children:[a.jsx(Bc,{position:"sidebar",url:n.sidebar.url,link:n.sidebar.link,alt:n.sidebar.alt}),a.jsx(Pj,{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((V,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(QN,{activeDateFilter:te,handleDateFilterChange:Pa,filterKeys:r,searchableFilters:d,dateFieldLabel:l,activeFilters:M,handleFilterChange:Ve,toggleSavedJobsFilter:Ne,filtersData:I,savedJobs:E,showOnlySaved:D,isMobileFilterOpen:_,toggleMobileFilter:ze}),a.jsx(YN,{savedJobsCount:E.length}),a.jsx(XN,{open:Ie.open,type:Ie.type,message:Ie.message,onClose:()=>H(V=>({...V,open:!1}))}),a.jsx(sE,{open:ae,onOpenChange:ve,onSubscriptionSuccess:gt,apiUrl:h})]})};function iL(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 dE(){const[t,e]=C.useState(()=>iL());return C.useEffect(()=>{const r=()=>e(iL());return window.addEventListener("popstate",r),()=>window.removeEventListener("popstate",r)},[]),t}function sL(t){window.location.assign(t)}function cL(t){window.history.length>1?window.history.back():window.location.assign(t)}function hE(t){const e=HA,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 uE(t){return!Array.isArray(t)||t.length===0?VA: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 HA={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},VA=[{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"}],pE=({job:t=HA,similarJobs:e=VA})=>{var I;const r=dE(),[n,o]=C.useState(()=>uE(e)),[i,c]=C.useState(!1),[l,d]=C.useState(null),[h,u]=C.useState(!1),[p,y]=C.useState(!1),{savedJobs:m,toggleJob:v,isSaved:f}=OA(),x=hE(t);C.useEffect(()=>{(async()=>{c(!0);try{if(await new Promise(N=>setTimeout(N,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 g=()=>{r&&v(r)},M=()=>{if(!r)return;x!=null&&x.applicationUrl?window.open(x.applicationUrl,"_blank","noopener,noreferrer"):u(!0);const S=JSON.parse(localStorage.getItem("appliedJobs")||"[]");S.includes(r)||(S.push(r),localStorage.setItem("appliedJobs",JSON.stringify(S)),y(!0))},w=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(S){console.log("Error sharing:",S)}else navigator.clipboard.writeText(window.location.href),alert("Job URL copied to clipboard!")},j=S=>new Date(S).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),b=S=>{const A=new Date(S),R=Math.abs(new Date().getTime()-A.getTime());return Math.ceil(R/(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(Wt,{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:()=>cL("/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:()=>cL("/jobs"),className:"flex items-center text-gray-600 hover:text-gray-900 mb-4",children:[a.jsx(Ti,{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(dc,{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(Ft,{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(yc,{className:"h-4 w-4 mr-1"}),a.jsx("span",{children:x.salary})]}),a.jsxs("div",{className:"flex items-center",children:[a.jsx(Zt,{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:g,className:`flex items-center px-4 py-2 rounded-lg border transition-colors ${f(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(vs,{className:`h-4 w-4 mr-2 ${f(x.id)?"fill-current":""}`}),f(x.id)?"Saved":"Save Job"]}),a.jsxs("button",{onClick:w,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(js,{className:"h-4 w-4 mr-2"}),"Share"]}),a.jsx("button",{onClick:M,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(bt,{className:"h-4 w-4 mr-2"}),"Applied"]}):a.jsxs(a.Fragment,{children:[a.jsx(Di,{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(pt,{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(gs,{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(ja,{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(hc,{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?j(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(Rt,{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:(I=x.responsibilities)==null?void 0:I.map((S,A)=>a.jsxs("li",{className:"flex items-start",children:[a.jsx(bt,{className:"h-5 w-5 text-green-500 mr-3 mt-0.5 flex-shrink-0"}),a.jsx("span",{className:"text-gray-700",children:S})]},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((S,A)=>a.jsxs("li",{className:"flex items-start",children:[a.jsx(bt,{className:"h-5 w-5 text-blue-500 mr-3 mt-0.5 flex-shrink-0"}),a.jsx("span",{className:"text-gray-700",children:S})]},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((S,A)=>a.jsx("span",{className:"bg-blue-100 text-blue-800 text-sm font-medium px-3 py-1 rounded-full",children:S},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((S,A)=>a.jsxs("li",{className:"flex items-start",children:[a.jsx(bt,{className:"h-5 w-5 text-green-500 mr-3 mt-0.5 flex-shrink-0"}),a.jsx("span",{className:"text-gray-700",children:S})]},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(ja,{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(ks,{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(sa,{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(zi,{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:M,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(bt,{className:"h-5 w-5 mr-2"}),"Application Submitted"]}):a.jsxs(a.Fragment,{children:[a.jsx(Di,{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:g,className:`flex-1 flex items-center justify-center px-4 py-2 rounded-lg border transition-colors ${f(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(ba,{className:`h-4 w-4 mr-2 ${f(x.id)?"fill-current":""}`}),f(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(fc,{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(S=>a.jsxs("div",{className:"border border-gray-200 rounded-lg p-4 hover:bg-gray-50 cursor-pointer transition-colors",onClick:()=>sL(`/jobs/${S.id}`),children:[a.jsx("h4",{className:"font-medium text-gray-900 mb-1",children:S.title}),a.jsx("p",{className:"text-sm text-gray-600 mb-2",children:S.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(Ft,{className:"h-3 w-3 mr-1"}),a.jsx("span",{children:S.location})]}),a.jsxs("span",{children:[b(S.postedDate),"d ago"]})]}),S.salary&&a.jsx("p",{className:"text-sm font-medium text-blue-600 mt-2",children:S.salary})]},S.id))}),a.jsx("button",{onClick:()=>sL("/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"})]})]})})]})},yE=()=>a.jsx("div",{children:a.jsx("h2",{children:"Welcome to the Header!"})}),mE=({article:t,isBookmarked:e,onToggleBookmark:r,onShare:n,layout:o="card"})=>{const[i,c]=C.useState(!1),l=y=>{const m=new Date(y),f=Math.floor((new Date().getTime()-m.getTime())/(1e3*60*60));return f<1?"Just now":f<24?`${f}h ago`:f<48?"Yesterday":m.toLocaleDateString("en-US",{month:"short",day:"numeric"})},d=y=>y>=1e3?`${(y/1e3).toFixed(1)}k`:y.toString(),h=y=>y.length>1?y[1]:y[0],u=(y,m)=>y.length<=m?y:y.substring(0,m).trim()+"...",p=o==="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 k.useEffect(()=>{t&&(document.getElementById(t)||console.error(r))},[r,t]),null},EF="DialogDescriptionWarning",OF=({contentRef:t,descriptionId:e})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${_A(EF).contentName}}.`;return k.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},TA=kA,HF=vA,RA=wA,Uj=bA,$j=CA,Wj=SA,Gj=IA,Zj=AA;function Fb(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 VF=["color"],BF=j.forwardRef(function(t,e){var r=t.color,n=r===void 0?"currentColor":r,o=Fb(t,VF);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"}))}),UF=["color"],qA=j.forwardRef(function(t,e){var r=t.color,n=r===void 0?"currentColor":r,o=Fb(t,UF);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"}))}),$F=["color"],WF=j.forwardRef(function(t,e){var r=t.color,n=r===void 0?"currentColor":r,o=Fb(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:"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"}))}),GF=["color"],ZF=j.forwardRef(function(t,e){var r=t.color,n=r===void 0?"currentColor":r,o=Fb(t,GF);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 Ws=TA,XF=RA,DA=k.forwardRef(({className:t,...e},r)=>a.jsx(Uj,{ref:r,className:oe("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}));DA.displayName=Uj.displayName;const Ki=k.forwardRef(({className:t,children:e,...r},n)=>a.jsxs(XF,{children:[a.jsx(DA,{}),a.jsxs($j,{ref:n,className:oe("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(Zj,{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(ZF,{className:"h-4 w-4"}),a.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Ki.displayName=$j.displayName;const Gs=({className:t,...e})=>a.jsx("div",{className:oe("flex flex-col space-y-1.5 text-center sm:text-left",t),...e});Gs.displayName="DialogHeader";const Qi=({className:t,...e})=>a.jsx("div",{className:oe("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...e});Qi.displayName="DialogFooter";const es=k.forwardRef(({className:t,...e},r)=>a.jsx(Wj,{ref:r,className:oe("text-lg font-semibold leading-none tracking-tight",t),...e}));es.displayName=Wj.displayName;const zA=k.forwardRef(({className:t,...e},r)=>a.jsx(Gj,{ref:r,className:oe("text-sm text-muted-foreground",t),...e}));zA.displayName=Gj.displayName;var JF="Label",FA=k.forwardRef((t,e)=>a.jsx(Xi.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())}}));FA.displayName=JF;var EA=FA;const YF=Cb("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),he=k.forwardRef(({className:t,...e},r)=>a.jsx(EA,{ref:r,className:oe(YF(),t),...e}));he.displayName=EA.displayName;const KF=1,QF=1e6;let gC=0;function eE(){return gC=(gC+1)%Number.MAX_SAFE_INTEGER,gC.toString()}const vC=new Map,nL=t=>{if(vC.has(t))return;const e=setTimeout(()=>{vC.delete(t),nb({type:"REMOVE_TOAST",toastId:t})},QF);vC.set(t,e)},tE=(t,e)=>{switch(e.type){case"ADD_TOAST":return{...t,toasts:[e.toast,...t.toasts].slice(0,KF)};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?nL(r):t.toasts.forEach(n=>{nL(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)}}},aE=[];let MC={toasts:[]};function nb(t){MC=tE(MC,t),aE.forEach(e=>{e(MC)})}function oL({...t}){const e=eE(),r=o=>nb({type:"UPDATE_TOAST",toast:{...o,id:e}}),n=()=>nb({type:"DISMISS_TOAST",toastId:e});return nb({type:"ADD_TOAST",toast:{...t,id:e,open:!0,onOpenChange:o=>{o||n()}}}),{id:e,dismiss:n,update:r}}const rE=new Set([200,201,202,204]);function nE(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 oE(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 iE(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(rE.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:nE(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 sE({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 m=>{if(m.preventDefault(),p(null),!c||!c.includes("@")){p("Please enter a valid email address.");return}h(!0);try{const g=await iE(`${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(!g.ok){p(oE(g.error)),oL({title:"Subscription failed",description:g.error.message});return}localStorage.setItem("leadId",g.data.id),localStorage.setItem("email",c),oL({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(Ws,{open:t,onOpenChange:e,children:a.jsxs(Ki,{className:"sm:max-w-md",children:[a.jsxs(Gs,{children:[a.jsxs(es,{className:"flex items-center gap-2",children:[a.jsx(ys,{className:"h-5 w-5 text-orange-500"}),"Create Job Alert"]}),a.jsx(zA,{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(he,{htmlFor:"email",children:"Email address"}),a.jsxs("div",{className:"relative",children:[a.jsx(sa,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),a.jsx(Xe,{id:"email",type:"email",placeholder:"Enter your email address",value:c,onChange:m=>l(m.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(Qi,{className:"gap-2 sm:gap-0",children:[a.jsx(O,{type:"button",variant:"outline",onClick:()=>e(!1),disabled:d,children:"Cancel"}),a.jsx(O,{type:"submit",disabled:d,children:d?"Creating Alert...":"Create Alert"})]})]})]})})}function OA(){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 cE=6,lE=({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"})=>{var Ks;const[u,p]=j.useState([]),[y,m]=j.useState([]),[g,f]=j.useState([]),[x,v]=j.useState(1),[M,w]=j.useState({}),[b,C]=j.useState([]),[I,S]=j.useState({}),[A,N]=j.useState(""),[R,P]=j.useState([]),[_,T]=j.useState(!1),[F,U]=j.useState(e),[z,B]=j.useState("grid"),[D,X]=j.useState(!1),[ie,ee]=j.useState([]),[Re,J]=j.useState(!0),[Y,Q]=j.useState(null),[te,G]=j.useState("all"),[ae,ve]=j.useState(!1),[se,ue]=j.useState(!1),[le,He]=j.useState({jobTypes:[],experienceLevels:[],country:"",minSalary:"",maxSalary:"",city:""}),[Ie,H]=j.useState({open:!1,type:"info",message:""}),{savedJobs:E,toggleJob:K,isSaved:je}=OA(),fe=(V,Z)=>{H({open:!0,type:V,message:Z})};j.useEffect(()=>{try{const V=localStorage.getItem("lastVisitedJobs");V&&ee(JSON.parse(V));try{localStorage.getItem("email")&&ue(!0)}catch(Z){console.error("Error checking subscription state:",Z)}}catch(V){console.error("Error loading data from localStorage:",V)}},[]),j.useEffect(()=>{const Z=new URLSearchParams(window.location.search).get("date_filter");if(Z&&Z!=="all"){G(Z);const de=wt(u,M,b,Z);m(de),v(1),qe(de)}},[u]),j.useEffect(()=>{if(!t){Q("❌ Missing API URL for Listing component!"),J(!1);return}J(!0),Q(null),(async()=>{try{const Z=await fetch(t);if(!Z.ok)throw new Error(`API responded with status: ${Z.status}`);const de=await Z.json();if(!Array.isArray(de))throw new Error("Expected an array but received: "+typeof de);const ke=de.map((Bt,ns)=>({...Bt,sponsored:ns%7===0,topTag:qj(Bt.title||"")})),Fe=Array.from(new Set(ke.map(Bt=>Bt.topTag).filter(Bt=>typeof Bt=="string"))).slice(0,10);f(Fe),p(ke),m(ke);const at=Tc(ke,r);S(at)}catch(Z){console.error("Error fetching data:",Z),Q(`Failed to load data: ${Z instanceof Error?Z.message:String(Z)}`);const de=ZD(20);p(de),m(de);const ke=Tc(de,r);S(ke)}finally{J(!1)}})()},[t]),j.useEffect(()=>{const V=new URLSearchParams(window.location.search),Z={};r.forEach(Fe=>{const at=V.get(Fe);at&&(Z[Fe]=at)}),w(Z);const de=V.get("q")||V.get("searchTerm")||"";de&&(N(de),as(de));const ke={};r.forEach(Fe=>{const at=V.get(Fe);at&&(ke[Fe]=at)}),w(ke)},[]),j.useEffect(()=>{if(D){const V=u.filter(Z=>E.includes(Z.id||Z.slug||Z.link));m(V),v(1)}else{let V=u;V=wt(V,M,b,te),V=nz(V,le),m(V)}},[D,E,u,M,b,te,le]);const qe=V=>{const Z=Tc(V,r);S(Z)},Ve=(V,Z)=>{w(de=>{const ke={...de};Z?ke[V]=Z:delete ke[V],D&&X(!1);const Fe=wt(u,ke,b,te);return m(Fe),v(1),qe(Fe),ke})},gt=()=>{ue(!0),xe().then(()=>ve(!1))},ts=j.useRef(null),Ys=V=>{v(V),setTimeout(()=>{var Z;(Z=ts.current)==null||Z.scrollIntoView({behavior:"smooth",block:"start"})},100)},Pa=V=>{D&&X(!1),G(V),rr(V),eA(V)},rr=V=>{const Z=wt(u,M,b,V);m(Z),v(1),qe(Z)},Vt=V=>{if(N(V),V){const Z=u.map(de=>de.title).filter((de,ke,Fe)=>de&&de.toLowerCase().includes(V.toLowerCase())&&Fe.indexOf(de)===ke).slice(0,5);P(Z)}else P([])},as=V=>{if(!V.trim())return;D&&X(!1);const Z=[...b,V.trim()];C(Z);const de=wt(u,M,Z,te);m(de),v(1),qe(de),N("")},rs=V=>{const Z=b.filter(ke=>ke!==V);C(Z);const de=wt(u,M,Z,te);m(de),v(1),qe(de)},_a=()=>{He({jobTypes:[],experienceLevels:[],country:"",minSalary:"",maxSalary:"",city:""});const V=wt(u,M,b,te);m(V),v(1),qe(V)},nr=()=>{w({}),C([]),X(!1),G("all"),_a(),m(u),v(1),qe(u)},$=V=>{const Z=new Set,de=[];for(const ke of V){const Fe=`${ke.key??""}|${ke.value.toLowerCase()}`;Z.has(Fe)||(Z.add(Fe),de.push(ke))}return de},re=V=>V.replace(/\/+$/,""),xe=async()=>{if(!se)ve(!0);else{const V=localStorage.getItem("email"),Z=localStorage.getItem("leadId");if(!V||!Z){fe("info","Please subscribe first to create alerts.");return}const de="keyword",ke=(lt,Pt)=>Pt&&Pt.trim()?{key:lt.toLowerCase(),value:Pt.trim()}:null,Fe=Object.entries(M).map(([lt,Pt])=>ke(lt,Pt)).filter(lt=>lt!==null),at=b.map(lt=>ke(de,lt)).filter(lt=>lt!==null),Bt=ke(de,A),ns=Bt?[Bt]:[],Qs=$([...Fe,...at,...ns]);if(Qs.length===0){fe("info","No filters/keywords to save.");return}try{const lt=re(h??"http://localhost:5147"),Pt=await fetch(`${lt}/api/leads/${Z}/preferences/bulk`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(Qs)});if(!Pt.ok){let Kc="";try{Kc=await Pt.text()}catch{}throw new Error(`${Pt.status} ${Pt.statusText} ${Kc}`.trim())}fe("success","Alert saved. We’ll notify you about new matching jobs."),N("")}catch(lt){console.error("Create alert failed:",lt),fe("error","Failed to save alert.")}}},ze=()=>{T(!_)},ot=y.length===0?0:(x-1)*F+1,Ta=Math.min(x*F,y.length),Qe=V=>{U(V),v(1)},et=()=>{B(z==="grid"?"list":"grid")},ya=V=>{const Z=V.id||V.slug||V.link;ee(de=>{const ke=de.filter(at=>(at.id||at.slug||at.link)!==Z),Fe=[V,...ke].slice(0,cE);try{localStorage.setItem("lastVisitedJobs",JSON.stringify(Fe))}catch(at){console.error("Error saving to localStorage:",at)}return Fe})},Ne=()=>{X(!D)},tt=Math.ceil(y.length/F),or=y.slice((x-1)*F,x*F);return Y&&!u.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:Y}),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(Rj,{onSearchChange:Vt,searchPlaceholder:"Search jobs, companies, or keywords...",title:"Job Listings",description:"",popularTags:g,generateHref:V=>`/jobs?q=${V.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(Tj,{data:u.map(V=>V.title).filter(Boolean),onSelect:V=>{as(V)},onTyping:V=>{N(V),Vt(V)},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:ze,children:a.jsx(Ua,{size:16,className:"mr-1.5"})})]}),a.jsx("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:a.jsx(Dj,{filters:[...te!=="all"?[{key:"date",label:l,value:te.replace(/_/g," "),onRemove:()=>Pa("all")}]:[],...b.map(V=>({key:"search",label:"",value:V,onRemove:()=>rs(V)})),...Object.entries(M).map(([V,Z])=>({key:V,label:V.replace(/_/g," "),value:Z,onRemove:()=>Ve(V,"")}))],onClearAll:nr,handleCreateAlert:xe})})]}),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:ze,"aria-expanded":_,children:[a.jsx(Ua,{className:"w-4 h-4 mr-2"}),_?"Close Filters":"Filters"]}),a.jsxs("div",{className:"flex flex-col lg:flex-row lg:gap-6",children:[a.jsx(tA,{dateFieldLabel:"Date",activeDateFilter:te,onDateFilterChange:Pa,filterKeys:r,searchableFilters:d,filtersData:I,activeFilters:M,handleFilterChange:Ve,toggleSavedJobsFilter:Ne,showOnlySaved:D,savedJobs:E}),Re?a.jsx(_j,{}):a.jsxs("div",{className:"lg:gap-6",children:[a.jsx(zj,{viewMode:z,onToggleViewMode:et,selectedItemsPerPage:F,onItemsPerPageChange:Qe,totalCount:y.length,startIndex:ot,endIndex:Ta,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:[D?"Saved Jobs":"Open Positions",te!=="all"&&!D&&a.jsxs("span",{className:"text-sm font-normal text-gray-500 ml-2",children:["(",te.replace(/_/g," "),")"]})]}),a.jsxs("p",{className:"text-sm text-gray-600",children:[a.jsx("span",{className:"font-semibold text-gray-900",children:y.length})," found"]})]})}),a.jsx(tz,{items:or,cardType:i,viewMode:z,savedJobs:E,onSaveJob:K,onViewJob:ya,firstItemRef:ts}),y.length>0&&a.jsx("div",{className:"mt-6",children:a.jsx(Fj,{currentPage:x,totalPages:tt,onPageChange:Ys})})]}),ie.length>0&&a.jsx("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:a.jsx(az,{jobs:ie,onViewJob:ya})})]}),a.jsx("div",{className:"hidden lg:block lg:w-1/4 space-y-6",children:((Ks=n==null?void 0:n.sidebar)==null?void 0:Ks.enabled)&&a.jsxs("div",{className:"sticky top-4",children:[a.jsx(Bc,{position:"sidebar",url:n.sidebar.url,link:n.sidebar.link,alt:n.sidebar.alt}),a.jsx(Pj,{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((V,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(QN,{activeDateFilter:te,handleDateFilterChange:Pa,filterKeys:r,searchableFilters:d,dateFieldLabel:l,activeFilters:M,handleFilterChange:Ve,toggleSavedJobsFilter:Ne,filtersData:I,savedJobs:E,showOnlySaved:D,isMobileFilterOpen:_,toggleMobileFilter:ze}),a.jsx(YN,{savedJobsCount:E.length}),a.jsx(XN,{open:Ie.open,type:Ie.type,message:Ie.message,onClose:()=>H(V=>({...V,open:!1}))}),a.jsx(sE,{open:ae,onOpenChange:ve,onSubscriptionSuccess:gt,apiUrl:h})]})};function iL(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 dE(){const[t,e]=j.useState(()=>iL());return j.useEffect(()=>{const r=()=>e(iL());return window.addEventListener("popstate",r),()=>window.removeEventListener("popstate",r)},[]),t}function sL(t){window.location.assign(t)}function cL(t){window.history.length>1?window.history.back():window.location.assign(t)}function hE(t){const e=HA,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 uE(t){return!Array.isArray(t)||t.length===0?VA: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 HA={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},VA=[{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"}],pE=({job:t=HA,similarJobs:e=VA})=>{var I;const r=dE(),[n,o]=j.useState(()=>uE(e)),[i,c]=j.useState(!1),[l,d]=j.useState(null),[h,u]=j.useState(!1),[p,y]=j.useState(!1),{savedJobs:m,toggleJob:g,isSaved:f}=OA(),x=hE(t);j.useEffect(()=>{(async()=>{c(!0);try{if(await new Promise(N=>setTimeout(N,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&&g(r)},M=()=>{if(!r)return;x!=null&&x.applicationUrl?window.open(x.applicationUrl,"_blank","noopener,noreferrer"):u(!0);const S=JSON.parse(localStorage.getItem("appliedJobs")||"[]");S.includes(r)||(S.push(r),localStorage.setItem("appliedJobs",JSON.stringify(S)),y(!0))},w=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(S){console.log("Error sharing:",S)}else navigator.clipboard.writeText(window.location.href),alert("Job URL copied to clipboard!")},b=S=>new Date(S).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),C=S=>{const A=new Date(S),R=Math.abs(new Date().getTime()-A.getTime());return Math.ceil(R/(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(Wt,{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:()=>cL("/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:()=>cL("/jobs"),className:"flex items-center text-gray-600 hover:text-gray-900 mb-4",children:[a.jsx(Ti,{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(dc,{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(Ft,{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(yc,{className:"h-4 w-4 mr-1"}),a.jsx("span",{children:x.salary})]}),a.jsxs("div",{className:"flex items-center",children:[a.jsx(Zt,{className:"h-4 w-4 mr-1"}),a.jsxs("span",{children:[C(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 ${f(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(vs,{className:`h-4 w-4 mr-2 ${f(x.id)?"fill-current":""}`}),f(x.id)?"Saved":"Save Job"]}),a.jsxs("button",{onClick:w,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(js,{className:"h-4 w-4 mr-2"}),"Share"]}),a.jsx("button",{onClick:M,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(bt,{className:"h-4 w-4 mr-2"}),"Applied"]}):a.jsxs(a.Fragment,{children:[a.jsx(Di,{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(pt,{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(gs,{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(ja,{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(hc,{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?b(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(Rt,{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:(I=x.responsibilities)==null?void 0:I.map((S,A)=>a.jsxs("li",{className:"flex items-start",children:[a.jsx(bt,{className:"h-5 w-5 text-green-500 mr-3 mt-0.5 flex-shrink-0"}),a.jsx("span",{className:"text-gray-700",children:S})]},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((S,A)=>a.jsxs("li",{className:"flex items-start",children:[a.jsx(bt,{className:"h-5 w-5 text-blue-500 mr-3 mt-0.5 flex-shrink-0"}),a.jsx("span",{className:"text-gray-700",children:S})]},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((S,A)=>a.jsx("span",{className:"bg-blue-100 text-blue-800 text-sm font-medium px-3 py-1 rounded-full",children:S},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((S,A)=>a.jsxs("li",{className:"flex items-start",children:[a.jsx(bt,{className:"h-5 w-5 text-green-500 mr-3 mt-0.5 flex-shrink-0"}),a.jsx("span",{className:"text-gray-700",children:S})]},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(ja,{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(ks,{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(sa,{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(zi,{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:M,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(bt,{className:"h-5 w-5 mr-2"}),"Application Submitted"]}):a.jsxs(a.Fragment,{children:[a.jsx(Di,{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 ${f(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(ba,{className:`h-4 w-4 mr-2 ${f(x.id)?"fill-current":""}`}),f(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(fc,{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(S=>a.jsxs("div",{className:"border border-gray-200 rounded-lg p-4 hover:bg-gray-50 cursor-pointer transition-colors",onClick:()=>sL(`/jobs/${S.id}`),children:[a.jsx("h4",{className:"font-medium text-gray-900 mb-1",children:S.title}),a.jsx("p",{className:"text-sm text-gray-600 mb-2",children:S.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(Ft,{className:"h-3 w-3 mr-1"}),a.jsx("span",{children:S.location})]}),a.jsxs("span",{children:[C(S.postedDate),"d ago"]})]}),S.salary&&a.jsx("p",{className:"text-sm font-medium text-blue-600 mt-2",children:S.salary})]},S.id))}),a.jsx("button",{onClick:()=>sL("/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"})]})]})})]})},yE=()=>a.jsx("div",{children:a.jsx("h2",{children:"Welcome to the Header!"})}),mE=({article:t,isBookmarked:e,onToggleBookmark:r,onShare:n,layout:o="card"})=>{const[i,c]=j.useState(!1),l=y=>{const m=new Date(y),f=Math.floor((new Date().getTime()-m.getTime())/(1e3*60*60));return f<1?"Just now":f<24?`${f}h ago`:f<48?"Yesterday":m.toLocaleDateString("en-US",{month:"short",day:"numeric"})},d=y=>y>=1e3?`${(y/1e3).toFixed(1)}k`:y.toString(),h=y=>y.length>1?y[1]:y[0],u=(y,m)=>y.length<=m?y:y.substring(0,m).trim()+"...",p=o==="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 ${p}
7803
- `,children:[a.jsxs("div",{className:`relative ${o==="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 ${i?"opacity-100":"opacity-0"} ${o==="list"?"md:h-32":""}`,onLoad:()=>c(!0)}),!i&&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(Fi,{className:"w-3 h-3 mr-1"}),"TRENDING"]})]}),a.jsx("button",{onClick:()=>r(t._id),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"}`,"aria-label":e?"Remove bookmark":"Add bookmark",children:a.jsx(ba,{className:`w-4 h-4 ${e?"fill-current":""}`})})]}),a.jsxs("div",{className:`p-4 ${o==="list"?"md:w-2/3":""}`,children:[a.jsx("div",{className:"flex flex-wrap gap-2 mb-2",children:t.categories.slice(0,2).map((y,m)=>a.jsx("a",{href:`?category=${y}`,children:a.jsx("span",{className:"px-2 py-1 bg-yellow-100 text-yellow-800 text-xs font-medium rounded-full",children:y},m)}))}),a.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-2 line-clamp-2 hover:text-yellow-600 transition-colors",children:a.jsx("a",{href:t.link,target:"_blank",rel:"noopener noreferrer",children:t.title})}),a.jsx("p",{className:"text-sm text-gray-700 mb-3 line-clamp-3",children:u(t.content,o==="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 ",h(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(Zt,{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(mc,{className:"w-4 h-4 mr-1"}),a.jsx("span",{children:d(t.viewCount||0)})]})]})]}),a.jsx("div",{className:"flex flex-wrap gap-1 mb-3",children:t.tags.slice(0,3).map((y,m)=>a.jsxs("span",{className:"px-2 py-1 bg-gray-100 text-gray-600 text-xs rounded",children:["#",y]},m))}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsx("span",{className:"text-sm text-gray-500",children:l(t.date)}),a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx("button",{onClick:()=>n(t),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(js,{className:"w-4 h-4"})}),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",children:["Read More",a.jsx(Di,{className:"w-3 h-3 ml-1"})]})]})]})]})]})},fE=({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"})=>{const[d,h]=C.useState([]),[u,p]=C.useState([]),[y,m]=C.useState([]),[v,f]=C.useState({}),[x,g]=C.useState(""),[M,w]=C.useState({}),[j,b]=C.useState(!1),[I,S]=C.useState(c),[A,N]=C.useState(new Set);C.useState(o);const[R,P]=C.useState("grid"),[_,T]=C.useState(1),[F,U]=C.useState([]),[z,B]=C.useState(!1),[D,X]=C.useState([]),[ie,ee]=C.useState([]),[Re,J]=C.useState(!0),[Y,Q]=C.useState("all"),[te,G]=C.useState(""),ae=$=>$.trim().toLowerCase().replace(/\s+/g,"-"),[ve,se]=C.useState(n),[ue,le]=C.useState(null);C.useEffect(()=>{const $=localStorage.getItem(i);$&&N(new Set(JSON.parse($)))},[i]),C.useEffect(()=>{const $=new URLSearchParams(window.location.search),re={};e.forEach(Qe=>{const et=$.get(Qe);et&&(re[Qe]=et)}),w(re);const xe=$.get("q"),ze=$.get("categories");let ot=[...d];if(xe&&(ot=ot.filter(Qe=>Qe.title.toLowerCase().includes(xe.toLowerCase())),g(xe),He(xe)),ze){const Qe=ze.trim().toLowerCase().replace(/\s+/g,"-");se(et=>({...et,categories:[Qe]})),ot=ot.filter(et=>et.categories.some(ya=>ae(ya)===Qe))}m(ot);const Ta={};e.forEach(Qe=>{const et=$.get(Qe);et&&(Ta[Qe]=et)}),w(Ta)},[d]),C.useEffect(()=>{const re=new URLSearchParams(window.location.search).get("date_filter");if(re&&re!=="all"){Q(re);const xe=wt(d,M,D,re);p(xe),T(1),Ie(xe)}},[d]);const He=$=>{if(!$.trim())return;const re=[...D,$.trim()];X(re);const xe=wt(d,M,re,Y);p(xe),T(1),Ie(xe),g("")},Ie=$=>{const re=Tc($,e);f(re)},H=$=>{Q($),E($),eA($)},E=$=>{const re=wt(d,M,D,$);p(re),T(1),Ie(re)};C.useEffect(()=>{localStorage.setItem(i,JSON.stringify(Array.from(A)))},[A,i]),C.useEffect(()=>{J(!0),le(null),(async()=>{try{const re=await fetch(t);if(!re.ok)throw new Error(`API responded with status: ${re.status}`);const xe=await re.json();if(!Array.isArray(xe))throw new Error("Expected an array but received: "+typeof xe);const ze=xe.map(Ne=>({...Ne,categories:Array.isArray(Ne.categories)?Ne.categories:[],topTag:JD(Ne.title||"")})),ot={};for(const Ne of ze){const tt=Ne.topTag;tt&&(ot[tt]=(ot[tt]||0)+1)}const Ta=Object.entries(ot).sort((Ne,tt)=>tt[1]-Ne[1]).slice(0,10).map(([Ne])=>Ne);ee(Ta);const Qe=new Set;ze.forEach(Ne=>{Ne.categories.forEach(tt=>{Qe.add(ae(tt))})});const et=Array.from(Qe).map(Ne=>({id:Ne,name:Ne.replace(/-/g," ").replace(/\b\w/g,tt=>tt.toUpperCase()),icon:"📰",count:ze.filter(tt=>tt.categories.some(or=>ae(or)===Ne)).length,color:"bg-gray-100 text-gray-800"}));h(ze),p(ze),m(ze),U(et);const ya=Tc(ze,e);f(ya)}catch(re){console.error("Failed to fetch articles",re)}finally{J(!1)}})()},[t]);const K=()=>{P(R==="grid"?"list":"grid")};C.useMemo(()=>d.filter($=>$.isTrending).slice(0,6),[d]),C.useMemo(()=>d.filter($=>$.isBreaking),[d]);const je=Math.ceil(u.length/c),fe=u.slice((_-1)*I,_*I),qe=$=>{N(re=>{const xe=new Set(re);return xe.has($)?xe.delete($):xe.add($),xe})},Ve=$=>{navigator.share?navigator.share({title:$.title,text:$.title,url:$.link}):(navigator.clipboard.writeText($.link),alert("Article link copied to clipboard!"))},gt=()=>{B(!z)},ts=u.length===0?0:(_-1)*I+1,Ys=Math.min(_*I,u.length),Pa=()=>{se({categories:[],tags:[],authors:[],companies:[],dateRange:["",""],readTime:[0,999]}),T(1);const $=wt(d,M,D,Y);p($),T(1),Ie($)},rr=()=>{w({}),X([]),Q("all"),Pa(),p(d),T(1),Ie(d)},Vt=C.useRef(null),as=$=>{T($),setTimeout(()=>{var re;(re=Vt.current)==null||re.scrollIntoView({behavior:"smooth",block:"start"})},100)},rs=$=>{S($),T(1)},_a=($,re)=>{w(xe=>{const ze={...xe};re?ze[$]=re:delete ze[$];const ot=wt(d,ze,D,Y);return p(ot),T(1),Ie(ot),ze})},nr=$=>{const re=D.filter(ze=>ze!==$);X(re);const xe=wt(d,M,re,Y);p(xe),T(1),Ie(xe)};return 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(Rj,{onSearchChange:$=>{const re=d.filter(xe=>xe.title.toLowerCase().includes($.toLowerCase()));m(re),g($)},title:"Latest News",popularTags:ie,generateHref:$=>`/news?q=${$.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(Tj,{data:d.map($=>$.title),onSelect:$=>{He($)},onTyping:$=>{b(!!$),$||(m(d),g(""))},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:gt,children:a.jsx(Ua,{size:16,className:"mr-1.5"})}),x&&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:[x,a.jsx("button",{onClick:()=>{m(d),g("")},className:"ml-2 text-indigo-600 hover:text-indigo-800",children:"×"})]}),a.jsx("button",{className:"text-sm text-gray-600 hover:underline",onClick:()=>{m(d),g("")},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(Dj,{filters:[...te?[{key:"categories",label:"Categories",value:te.replace(/-/g," "),onRemove:()=>G("")}]:[],...D.map($=>({key:"search",label:"",value:$,onRemove:()=>nr($)})),...Object.entries(M).map(([$,re])=>({key:$,label:$.replace(/_/g," "),value:re,onRemove:()=>_a($,"")}))],onClearAll:rr})})})})]}),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(tA,{dateFieldLabel:"Date",activeDateFilter:Y,onDateFilterChange:H,filterKeys:e,searchableFilters:r,filtersData:v,activeFilters:M,handleFilterChange:_a,toggleSavedJobsFilter:()=>console.log("toggle saved jobs filter"),showOnlySaved:!1,savedJobs:[]}),Re?a.jsx(_j,{}):a.jsx(a.Fragment,{children:a.jsxs("div",{className:"lg:w-2/4",children:[a.jsx(zj,{viewMode:R,onToggleViewMode:K,selectedItemsPerPage:I,onItemsPerPageChange:rs,totalCount:u.length,startIndex:ts,endIndex:Ys,title:"Latest News"}),u.length>0?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:R==="grid"?"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-2 gap-6":"space-y-6",children:fe.map(($,re)=>a.jsx("div",{ref:re===0?Vt:null,children:a.jsx(mE,{article:$,isBookmarked:A.has($._id),onToggleBookmark:qe,onShare:Ve,layout:R})},$._id))}),je>1&&a.jsx("div",{className:"mt-8 flex justify-center",children:a.jsx(Fj,{currentPage:_,totalPages:je,onPageChange:as})})]}):a.jsxs("div",{className:"text-center py-12",children:[a.jsx(Ca,{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:rr,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(Bc,{position:"sidebar",url:"https://video-previews.elements.envatousercontent.com/h264-video-previews/e08912ad-6856-4e36-89b5-cf1465cc79cb/32651312.mp4",link:"",alt:""}),a.jsx(Pj,{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(($,re)=>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+re)}`,alt:`Featured employer ${re+1}`,className:"w-10 h-10 object-contain"})},re))})]})]})})]})})]})]}),a.jsx(QN,{activeDateFilter:Y,handleDateFilterChange:H,filterKeys:e,searchableFilters:r,dateFieldLabel:l,activeFilters:M,handleFilterChange:_a,filtersData:v,isMobileFilterOpen:z,toggleMobileFilter:gt})]})},i1=[{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}],xE=({courses:t,onSearchResults:e,onTyping:r,placeholder:n="Search courses, instructors, or topics..."})=>{const[o,i]=C.useState(""),[c,l]=C.useState([]),[d,h]=C.useState(!1);C.useEffect(()=>{if(o.length>0){const m=t.filter(g=>{var w,j,b,I,S;const M=o.toLowerCase();return g.title.toLowerCase().includes(M)||((w=g.description)==null?void 0:w.toLowerCase().includes(M))||((j=g.instructor)==null?void 0:j.toLowerCase().includes(M))||((b=g.tags)==null?void 0:b.some(A=>A.toLowerCase().includes(M)))||((I=g.category)==null?void 0:I.toLowerCase().includes(M))||((S=g.subcategory)==null?void 0:S.toLowerCase().includes(M))});e(m);const v=t.filter(g=>g.title.toLowerCase().includes(o.toLowerCase())).map(g=>g.title).slice(0,3),f=t.flatMap(g=>g.tags??[]).filter(g=>g.toLowerCase().includes(o.toLowerCase())).filter((g,M,w)=>w.indexOf(g)===M).slice(0,3),x=t.filter(g=>g.instructor?g.instructor.toLowerCase().includes(o.toLowerCase()):!1).map(g=>g.instructor).filter((g,M,w)=>w.indexOf(g)===M).slice(0,2);l([...v,...f,...x]),h(!0)}else e(t),l([]),h(!1)},[o,t,e]);const u=m=>{i(m),r==null||r(m.length>0,m)},p=m=>{i(m),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(Et,{className:"h-5 w-5 text-gray-400"})}),a.jsx("input",{type:"text",value:o,onChange:m=>u(m.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(Xt,{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((m,v)=>a.jsx("li",{children:a.jsx("button",{onClick:()=>p(m),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(Et,{className:"h-4 w-4 text-gray-400 mr-2"}),m]})})},v))})}),o&&a.jsxs("div",{className:"mt-2 text-sm text-gray-600",children:['Search results for "',o,'"']})]})},kE=({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(xE,{courses:n,onSearchResults:o,placeholder:r||"Search IGaming courses, instructors, or topics..."})})]})}),gE=({categories:t,selectedCategory:e,selectedSubcategory:r,onCategorySelect:n,onSubcategorySelect:o})=>{const[i,c]=C.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 ${o==="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 ${i?"opacity-100":"opacity-0"} ${o==="list"?"md:h-32":""}`,onLoad:()=>c(!0)}),!i&&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(Fi,{className:"w-3 h-3 mr-1"}),"TRENDING"]})]}),a.jsx("button",{onClick:()=>r(t._id),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"}`,"aria-label":e?"Remove bookmark":"Add bookmark",children:a.jsx(ba,{className:`w-4 h-4 ${e?"fill-current":""}`})})]}),a.jsxs("div",{className:`p-4 ${o==="list"?"md:w-2/3":""}`,children:[a.jsx("div",{className:"flex flex-wrap gap-2 mb-2",children:t.categories.slice(0,2).map((y,m)=>a.jsx("a",{href:`?category=${y}`,children:a.jsx("span",{className:"px-2 py-1 bg-yellow-100 text-yellow-800 text-xs font-medium rounded-full",children:y},m)}))}),a.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-2 line-clamp-2 hover:text-yellow-600 transition-colors",children:a.jsx("a",{href:t.link,target:"_blank",rel:"noopener noreferrer",children:t.title})}),a.jsx("p",{className:"text-sm text-gray-700 mb-3 line-clamp-3",children:u(t.content,o==="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 ",h(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(Zt,{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(mc,{className:"w-4 h-4 mr-1"}),a.jsx("span",{children:d(t.viewCount||0)})]})]})]}),a.jsx("div",{className:"flex flex-wrap gap-1 mb-3",children:t.tags.slice(0,3).map((y,m)=>a.jsxs("span",{className:"px-2 py-1 bg-gray-100 text-gray-600 text-xs rounded",children:["#",y]},m))}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsx("span",{className:"text-sm text-gray-500",children:l(t.date)}),a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx("button",{onClick:()=>n(t),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(js,{className:"w-4 h-4"})}),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",children:["Read More",a.jsx(Di,{className:"w-3 h-3 ml-1"})]})]})]})]})]})},fE=({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"})=>{const[d,h]=j.useState([]),[u,p]=j.useState([]),[y,m]=j.useState([]),[g,f]=j.useState({}),[x,v]=j.useState(""),[M,w]=j.useState({}),[b,C]=j.useState(!1),[I,S]=j.useState(c),[A,N]=j.useState(new Set);j.useState(o);const[R,P]=j.useState("grid"),[_,T]=j.useState(1),[F,U]=j.useState([]),[z,B]=j.useState(!1),[D,X]=j.useState([]),[ie,ee]=j.useState([]),[Re,J]=j.useState(!0),[Y,Q]=j.useState("all"),[te,G]=j.useState(""),ae=$=>$.trim().toLowerCase().replace(/\s+/g,"-"),[ve,se]=j.useState(n),[ue,le]=j.useState(null);j.useEffect(()=>{const $=localStorage.getItem(i);$&&N(new Set(JSON.parse($)))},[i]),j.useEffect(()=>{const $=new URLSearchParams(window.location.search),re={};e.forEach(Qe=>{const et=$.get(Qe);et&&(re[Qe]=et)}),w(re);const xe=$.get("q"),ze=$.get("categories");let ot=[...d];if(xe&&(ot=ot.filter(Qe=>Qe.title.toLowerCase().includes(xe.toLowerCase())),v(xe),He(xe)),ze){const Qe=ze.trim().toLowerCase().replace(/\s+/g,"-");se(et=>({...et,categories:[Qe]})),ot=ot.filter(et=>et.categories.some(ya=>ae(ya)===Qe))}m(ot);const Ta={};e.forEach(Qe=>{const et=$.get(Qe);et&&(Ta[Qe]=et)}),w(Ta)},[d]),j.useEffect(()=>{const re=new URLSearchParams(window.location.search).get("date_filter");if(re&&re!=="all"){Q(re);const xe=wt(d,M,D,re);p(xe),T(1),Ie(xe)}},[d]);const He=$=>{if(!$.trim())return;const re=[...D,$.trim()];X(re);const xe=wt(d,M,re,Y);p(xe),T(1),Ie(xe),v("")},Ie=$=>{const re=Tc($,e);f(re)},H=$=>{Q($),E($),eA($)},E=$=>{const re=wt(d,M,D,$);p(re),T(1),Ie(re)};j.useEffect(()=>{localStorage.setItem(i,JSON.stringify(Array.from(A)))},[A,i]),j.useEffect(()=>{J(!0),le(null),(async()=>{try{const re=await fetch(t);if(!re.ok)throw new Error(`API responded with status: ${re.status}`);const xe=await re.json();if(!Array.isArray(xe))throw new Error("Expected an array but received: "+typeof xe);const ze=xe.map(Ne=>({...Ne,categories:Array.isArray(Ne.categories)?Ne.categories:[],topTag:JD(Ne.title||"")})),ot={};for(const Ne of ze){const tt=Ne.topTag;tt&&(ot[tt]=(ot[tt]||0)+1)}const Ta=Object.entries(ot).sort((Ne,tt)=>tt[1]-Ne[1]).slice(0,10).map(([Ne])=>Ne);ee(Ta);const Qe=new Set;ze.forEach(Ne=>{Ne.categories.forEach(tt=>{Qe.add(ae(tt))})});const et=Array.from(Qe).map(Ne=>({id:Ne,name:Ne.replace(/-/g," ").replace(/\b\w/g,tt=>tt.toUpperCase()),icon:"📰",count:ze.filter(tt=>tt.categories.some(or=>ae(or)===Ne)).length,color:"bg-gray-100 text-gray-800"}));h(ze),p(ze),m(ze),U(et);const ya=Tc(ze,e);f(ya)}catch(re){console.error("Failed to fetch articles",re)}finally{J(!1)}})()},[t]);const K=()=>{P(R==="grid"?"list":"grid")};j.useMemo(()=>d.filter($=>$.isTrending).slice(0,6),[d]),j.useMemo(()=>d.filter($=>$.isBreaking),[d]);const je=Math.ceil(u.length/c),fe=u.slice((_-1)*I,_*I),qe=$=>{N(re=>{const xe=new Set(re);return xe.has($)?xe.delete($):xe.add($),xe})},Ve=$=>{navigator.share?navigator.share({title:$.title,text:$.title,url:$.link}):(navigator.clipboard.writeText($.link),alert("Article link copied to clipboard!"))},gt=()=>{B(!z)},ts=u.length===0?0:(_-1)*I+1,Ys=Math.min(_*I,u.length),Pa=()=>{se({categories:[],tags:[],authors:[],companies:[],dateRange:["",""],readTime:[0,999]}),T(1);const $=wt(d,M,D,Y);p($),T(1),Ie($)},rr=()=>{w({}),X([]),Q("all"),Pa(),p(d),T(1),Ie(d)},Vt=j.useRef(null),as=$=>{T($),setTimeout(()=>{var re;(re=Vt.current)==null||re.scrollIntoView({behavior:"smooth",block:"start"})},100)},rs=$=>{S($),T(1)},_a=($,re)=>{w(xe=>{const ze={...xe};re?ze[$]=re:delete ze[$];const ot=wt(d,ze,D,Y);return p(ot),T(1),Ie(ot),ze})},nr=$=>{const re=D.filter(ze=>ze!==$);X(re);const xe=wt(d,M,re,Y);p(xe),T(1),Ie(xe)};return 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(Rj,{onSearchChange:$=>{const re=d.filter(xe=>xe.title.toLowerCase().includes($.toLowerCase()));m(re),v($)},title:"Latest News",popularTags:ie,generateHref:$=>`/news?q=${$.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(Tj,{data:d.map($=>$.title),onSelect:$=>{He($)},onTyping:$=>{C(!!$),$||(m(d),v(""))},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:gt,children:a.jsx(Ua,{size:16,className:"mr-1.5"})}),x&&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:[x,a.jsx("button",{onClick:()=>{m(d),v("")},className:"ml-2 text-indigo-600 hover:text-indigo-800",children:"×"})]}),a.jsx("button",{className:"text-sm text-gray-600 hover:underline",onClick:()=>{m(d),v("")},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(Dj,{filters:[...te?[{key:"categories",label:"Categories",value:te.replace(/-/g," "),onRemove:()=>G("")}]:[],...D.map($=>({key:"search",label:"",value:$,onRemove:()=>nr($)})),...Object.entries(M).map(([$,re])=>({key:$,label:$.replace(/_/g," "),value:re,onRemove:()=>_a($,"")}))],onClearAll:rr})})})})]}),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(tA,{dateFieldLabel:"Date",activeDateFilter:Y,onDateFilterChange:H,filterKeys:e,searchableFilters:r,filtersData:g,activeFilters:M,handleFilterChange:_a,toggleSavedJobsFilter:()=>console.log("toggle saved jobs filter"),showOnlySaved:!1,savedJobs:[]}),Re?a.jsx(_j,{}):a.jsx(a.Fragment,{children:a.jsxs("div",{className:"lg:w-2/4",children:[a.jsx(zj,{viewMode:R,onToggleViewMode:K,selectedItemsPerPage:I,onItemsPerPageChange:rs,totalCount:u.length,startIndex:ts,endIndex:Ys,title:"Latest News"}),u.length>0?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:R==="grid"?"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-2 gap-6":"space-y-6",children:fe.map(($,re)=>a.jsx("div",{ref:re===0?Vt:null,children:a.jsx(mE,{article:$,isBookmarked:A.has($._id),onToggleBookmark:qe,onShare:Ve,layout:R})},$._id))}),je>1&&a.jsx("div",{className:"mt-8 flex justify-center",children:a.jsx(Fj,{currentPage:_,totalPages:je,onPageChange:as})})]}):a.jsxs("div",{className:"text-center py-12",children:[a.jsx(Ca,{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:rr,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(Bc,{position:"sidebar",url:"https://video-previews.elements.envatousercontent.com/h264-video-previews/e08912ad-6856-4e36-89b5-cf1465cc79cb/32651312.mp4",link:"",alt:""}),a.jsx(Pj,{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(($,re)=>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+re)}`,alt:`Featured employer ${re+1}`,className:"w-10 h-10 object-contain"})},re))})]})]})})]})})]})]}),a.jsx(QN,{activeDateFilter:Y,handleDateFilterChange:H,filterKeys:e,searchableFilters:r,dateFieldLabel:l,activeFilters:M,handleFilterChange:_a,filtersData:g,isMobileFilterOpen:z,toggleMobileFilter:gt})]})},i1=[{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}],xE=({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 m=t.filter(v=>{var w,b,C,I,S;const M=o.toLowerCase();return v.title.toLowerCase().includes(M)||((w=v.description)==null?void 0:w.toLowerCase().includes(M))||((b=v.instructor)==null?void 0:b.toLowerCase().includes(M))||((C=v.tags)==null?void 0:C.some(A=>A.toLowerCase().includes(M)))||((I=v.category)==null?void 0:I.toLowerCase().includes(M))||((S=v.subcategory)==null?void 0:S.toLowerCase().includes(M))});e(m);const g=t.filter(v=>v.title.toLowerCase().includes(o.toLowerCase())).map(v=>v.title).slice(0,3),f=t.flatMap(v=>v.tags??[]).filter(v=>v.toLowerCase().includes(o.toLowerCase())).filter((v,M,w)=>w.indexOf(v)===M).slice(0,3),x=t.filter(v=>v.instructor?v.instructor.toLowerCase().includes(o.toLowerCase()):!1).map(v=>v.instructor).filter((v,M,w)=>w.indexOf(v)===M).slice(0,2);l([...g,...f,...x]),h(!0)}else e(t),l([]),h(!1)},[o,t,e]);const u=m=>{i(m),r==null||r(m.length>0,m)},p=m=>{i(m),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(Et,{className:"h-5 w-5 text-gray-400"})}),a.jsx("input",{type:"text",value:o,onChange:m=>u(m.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(Xt,{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((m,g)=>a.jsx("li",{children:a.jsx("button",{onClick:()=>p(m),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(Et,{className:"h-4 w-4 text-gray-400 mr-2"}),m]})})},g))})}),o&&a.jsxs("div",{className:"mt-2 text-sm text-gray-600",children:['Search results for "',o,'"']})]})},kE=({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(xE,{courses:n,onSearchResults:o,placeholder:r||"Search IGaming courses, instructors, or topics..."})})]})}),gE=({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(Ri,{className:"w-4 h-4"}):a.jsx(Ba,{className:"w-4 h-4"})]}),u&&a.jsx("div",{className:"mt-2 ml-6 space-y-1",children:h.subcategories.map(y=>{const m=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
  ${m?"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)})})]})},lL=({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[m,v]=C.useState(!1),f=[{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"],g=["Lifetime Access","Certificate","Mobile Access","Expert Support"],M=b=>{const I=t.languages.includes(b)?t.languages.filter(S=>S!==b):[...t.languages,b];r({...t,languages:I})},w=b=>{const I=t.features.includes(b)?t.features.filter(S=>S!==b):[...t.features,b];r({...t,features:I})},j=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(xs,{className:"w-5 h-5 text-gray-600 mr-2"}),a.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:"Filters"}),j&&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:[j&&a.jsx("button",{onClick:o,className:"text-sm text-indigo-600 hover:text-indigo-800",children:"Clear All"}),a.jsx("button",{onClick:()=>v(!m),className:"lg:hidden p-1 rounded-md hover:bg-gray-100",children:a.jsx(Ri,{className:`w-4 h-4 transition-transform ${m?"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:f.map(b=>a.jsx("option",{value:b.value,children:b.label},b.value))})]}),a.jsxs("div",{className:"block",children:[a.jsx(gE,{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:()=>M(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:g.map(b=>a.jsxs("label",{className:"flex items-center",children:[a.jsx("input",{type:"checkbox",checked:t.features.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))})]})]})]})},vE=({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,dL=({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:m,enableMobileFilter:v,showFilterName:f=!0,isMobile:x=!1})=>a.jsxs("aside",{className:x?"lg:w-1/4 space-y-6":"w-full space-y-6",children:[v&&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:m,"aria-expanded":y,children:a.jsx(Ua,{className:"w-4 h-4 flex justify-center items-center"})}),a.jsx("div",{className:"hidden md:block",children:a.jsx(lL,{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(vE,{isOpen:y,onClose:m,title:"Filters",children:a.jsx(lL,{filters:t,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:o,totalCourses:i,filteredCourses:c,showFilterName:f,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p})})]}),ME=({course:t,isFavorite:e,onToggleFavorite:r,onEnroll:n})=>{const[o,i]=C.useState(!1),c=(d,h)=>new Intl.NumberFormat("en-EU",{style:"currency",currency:h}).format(d),l=d=>d>=1e3?`${(d/1e3).toFixed(1)}k`:d.toString();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 ${o?"opacity-100":"opacity-0"}`,onLoad:()=>i(!0)}),!o&&a.jsx("div",{className:"absolute inset-0 bg-gray-200 animate-pulse flex items-center justify-center",children:a.jsx(zt,{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"}`,"aria-label":e?"Remove from favorites":"Add to favorites",children:a.jsx(vs,{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("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(Rt,{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(Zt,{className:"w-4 h-4 mr-1"}),a.jsx("span",{children:t.duration})]}),a.jsxs("div",{className:"flex items-center",children:[a.jsx(ja,{className:"w-4 h-4 mr-1"}),typeof t.enrollmentCount=="number"&&a.jsxs("span",{children:[l(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(Ma,{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:c(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:c(t.originalPrice,t.currency)})]}),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"})]})]})]})},wE=({processedCourses:t,favorites:e,handleToggleFavorite:r,handleEnroll:n,itemsPerPage:o=9,handleClearFilters:i,currentPage:c=1,setCurrentPage:l=()=>{},viewMode:d="grid"})=>{const h=Math.ceil(t.length/o),u=t.slice((c-1)*o,c*o),p=C.useRef(null),y=m=>{l(m),setTimeout(()=>{var v;(v=p.current)==null||v.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:u.map((m,v)=>a.jsx("div",{ref:v===0?p:null,children:a.jsx(ME,{course:m,isFavorite:e.has(m.id),onToggleFavorite:r,onEnroll:n},`${m.id}-${m.title}`)},m.id))}),h>1&&a.jsx("div",{className:"mt-8 flex justify-center",children:a.jsx(Fj,{currentPage:c,totalPages:h,onPageChange:y})})]}):a.jsxs("div",{className:"text-center py-12",children:[a.jsx(zt,{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"})]})},bE=({apiUrl:t,enableMobileFilter:e=!0,itemsPerPage:r=9})=>{const[n,o]=C.useState([]),[i,c]=C.useState([]),[l,d]=C.useState(new Set),[h,u]=C.useState(""),[p,y]=C.useState(""),[m,v]=C.useState("relevance"),[f,x]=C.useState(!1),[g,M]=C.useState(1),[w,j]=C.useState(!1),[b,I]=C.useState(!1),[S,A]=C.useState(!0),[N,R]=C.useState(""),[P,_]=C.useState([]),[T,F]=C.useState([]),[U,z]=C.useState("grid"),[B,D]=C.useState(r),X=()=>{z(H=>H==="grid"?"list":"grid")},ie=H=>(H??"").trim().toLowerCase().replace(/\s+/g,"-"),ee=C.useMemo(()=>{const H=new Map;return n.forEach(E=>{const K=E.category,je=E.subcategory,fe=ie(K),qe=ie(je);if(!fe)return;H.has(fe)||H.set(fe,new Map);const Ve=H.get(fe);qe&&Ve.set(qe,(Ve.get(qe)??0)+1)}),Array.from(H.entries()).map(([E,K])=>({id:E,name:E.replace(/-/g," ").replace(/\b\w/g,je=>je.toUpperCase()),icon:"🎯",subcategories:Array.from(K.entries()).map(([je,fe])=>({id:je,name:je.replace(/-/g," ").replace(/\b\w/g,qe=>qe.toUpperCase()),courseCount:fe}))}))},[n]),Re=H=>{D(H),M(1)},[J,Y]=C.useState({categories:[],subcategories:[],priceRange:[0,2e3],levels:[],languages:[],features:[],rating:0});C.useEffect(()=>{(async()=>{try{if(!t){o(i1),c(i1),A(!1);return}A(!0);const E=await fetch(t);if(!E.ok)throw new Error(`Failed to fetch courses from ${t}`);const K=await E.json();o(K),c(K);const fe=K.map(Ve=>qj(Ve.title||"")).filter(Ve=>!!Ve).reduce((Ve,gt)=>(Ve[gt]=(Ve[gt]||0)+1,Ve),{}),qe=Object.entries(fe).sort((Ve,gt)=>gt[1]-Ve[1]).slice(0,10).map(([Ve])=>Ve);_(qe)}catch(E){console.error("[Courses] Error loading data:",E),o(i1),c(i1)}finally{A(!1)}})()},[t]),C.useEffect(()=>{var K;const E=(K=new URLSearchParams(window.location.search).get("q"))==null?void 0:K.trim();if(E){R(E);const je=n.filter(fe=>{var qe;return fe.title.toLowerCase().includes(E.toLowerCase())||((qe=fe.description)==null?void 0:qe.toLowerCase().includes(E.toLowerCase()))});c(je)}},[n]),C.useEffect(()=>{const H=localStorage.getItem("course-favorites");H&&d(new Set(JSON.parse(H)))},[]),C.useEffect(()=>{localStorage.setItem("course-favorites",JSON.stringify(Array.from(l)))},[l]);const Q=C.useMemo(()=>{let H=[...i];switch(h&&(H=H.filter(E=>ie(E.category)===h)),p&&(H=H.filter(E=>ie(E.subcategory)===p)),J.levels.length>0&&(H=H.filter(E=>J.levels.includes(E.level))),J.languages.length>0&&(H=H.filter(E=>J.languages.includes(E.language))),J.features.length>0&&(H=H.filter(E=>J.features.some(K=>E.features.includes(K)))),J.rating>0&&(H=H.filter(E=>E.rating>=J.rating)),f&&(H=H.filter(E=>l.has(E.id))),m){case"price-low-high":H.sort((E,K)=>E.price-K.price);break;case"price-high-low":H.sort((E,K)=>K.price-E.price);break;case"rating":H.sort((E,K)=>K.rating-E.rating);break;case"newest":H.sort((E,K)=>new Date(K.lastUpdated).getTime()-new Date(E.lastUpdated).getTime());break;case"most-enrolled":H.sort((E,K)=>K.enrollmentCount-E.enrollmentCount);break;default:H.sort((E,K)=>E.isFeatured&&!K.isFeatured?-1:!E.isFeatured&&K.isFeatured?1:E.isBestseller&&!K.isBestseller?-1:!E.isBestseller&&K.isBestseller?1:K.rating-E.rating)}return H},[i,h,p,J,l,f,m]),te=H=>{d(E=>{const K=new Set(E);return K.has(H)?K.delete(H):K.add(H),K})},G=H=>{const E=n.find(K=>K.id===H);E!=null&&E.link&&window.open(E.link,"_blank","noopener,noreferrer")},ae=H=>{const E=ie(H);u(E===h?"":E),y("")},ve=H=>{const E=ie(H);y(E===p?"":E)},se=()=>{Y({categories:[],subcategories:[],priceRange:[0,2e3],levels:[],languages:[],features:[],rating:0}),u(""),y(""),x(!1),R(""),c(n)},ue=()=>{j(!w)},le=Q.length===0?0:(g-1)*B+1,He=Math.min(g*B,Q.length),Ie=H=>{if(R(H),!H){c(n),F([]);return}const E=n.filter(je=>{var fe;return je.title.toLowerCase().includes(H.toLowerCase())||((fe=je.description)==null?void 0:fe.toLowerCase().includes(H.toLowerCase()))});c(E);const K=E.map(je=>je.title).filter((je,fe,qe)=>je&&je.toLowerCase().includes(H.toLowerCase())&&qe.indexOf(je)===fe).slice(0,5);F(K)};return a.jsxs("div",{className:"min-h-screen bg-gray-50",children:[a.jsx(Rj,{onSearchChange:Ie,title:"Courses",description:"Browse and enroll in industry-relevant gaming courses",searchPlaceholder:"Search courses",popularTags:P,generateHref:H=>`/courses?q=${H.toLowerCase().replace(/\s+/g,"+")}`}),a.jsx(kE,{courses:n,onSearchResults:c}),a.jsxs("main",{className:"max-w-7xl mx-auto sm:px-6 lg:px-8 py-8",children:[a.jsx(Dj,{filters:[...h?[{key:"category",label:"Category",value:h.replace(/-/g," "),onRemove:()=>u("")}]:[],...p?[{key:"subcategory",label:"Subcategory",value:p.replace(/-/g," "),onRemove:()=>y("")}]:[],...J.levels.map(H=>({key:"level",label:"",value:H,onRemove:()=>Y(E=>({...E,levels:E.levels.filter(K=>K!==H)}))})),...N?[{key:"search",label:"Search",value:N,onRemove:()=>{R(""),c(n)}}]:[]],onClearAll:se}),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(Tj,{data:n.map(H=>H.title),onSelect:H=>{const E=n.filter(K=>K.title.toLowerCase().includes(H.toLowerCase()));c(E),R(H)},onTyping:H=>{I(!!H),H||(c(n),R(""))}}),a.jsx(dL,{sortBy:m,onFiltersChange:Y,onSortChange:v,onClearFilters:se,totalCourses:n.length,filteredCourses:Q.length,categories:ee,selectedCategory:h,selectedSubcategory:p,filters:J,onCategorySelect:ae,onSubcategorySelect:ve,isMobileFilterOpen:w,toggleMobileFilter:ue,enableMobileFilter:e,showFilterName:!b,isMobile:!0})]})}),a.jsx("div",{className:"hidden lg:block lg:w-1/4",children:a.jsx(dL,{filters:J,sortBy:m,onFiltersChange:Y,onSortChange:v,onClearFilters:se,totalCourses:n.length,filteredCourses:Q.length,categories:ee,selectedCategory:h,selectedSubcategory:p,onCategorySelect:ae,onSubcategorySelect:ve,isMobileFilterOpen:w,toggleMobileFilter:ue,enableMobileFilter:e,showFilterName:!0})}),a.jsxs("div",{className:"lg:w-3/4",children:[a.jsx(zj,{viewMode:U,onToggleViewMode:X,selectedItemsPerPage:B,onItemsPerPageChange:Re,totalCount:Q.length,startIndex:le,endIndex:He,title:"All Courses"}),S?a.jsx(_j,{totalColumns:3}):a.jsx(wE,{processedCourses:Q,favorites:l,handleToggleFavorite:te,handleClearFilters:se,itemsPerPage:r,handleEnroll:G,currentPage:g,setCurrentPage:M,viewMode:U})]})]})]})]})};var XC={exports:{}},Xj={};function CE(t){return t&&t.__esModule?t:{default:t}}Xj._=CE;var BA={};function UA(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,r=new WeakMap;return(UA=function(n){return n?r:e})(t)}function jE(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var r=UA(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}BA._=jE;var wC={},hL;function SE(){return hL||(hL=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return n}});const n=Xj._(C).default.createContext({});process.env.NODE_ENV!=="production"&&(n.displayName="HeadManagerContext")}(wC)),wC}var s1={exports:{}},uL;function LE(){return uL||(uL=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)}(s1,s1.exports)),s1.exports}var c1={exports:{}},pL;function IE(){return pL||(pL=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)}(c1,c1.exports)),c1.exports}(function(t,e){"use client";Object.defineProperty(e,"__esModule",{value:!0});function r(b,I){for(var S in I)Object.defineProperty(b,S,{enumerable:!0,get:I[S]})}r(e,{default:function(){return j},handleClientScriptLoad:function(){return f},initScriptLoader:function(){return M}});const n=Xj,o=BA,i=a,c=n._(oj),l=o._(C),d=SE(),h=LE(),u=IE(),p=new Map,y=new Set,m=b=>{if(c.default.preinit){b.forEach(I=>{c.default.preinit(I,{as:"style"})});return}if(typeof window<"u"){let I=document.head;b.forEach(S=>{let A=document.createElement("link");A.type="text/css",A.rel="stylesheet",A.href=S,I.appendChild(A)})}},v=b=>{const{src:I,id:S,onLoad:A=()=>{},onReady:N=null,dangerouslySetInnerHTML:R,children:P="",strategy:_="afterInteractive",onError:T,stylesheets:F}=b,U=S||I;if(U&&y.has(U))return;if(p.has(I)){y.add(U),p.get(I).then(A,T);return}const z=()=>{N&&N(),y.add(U)},B=document.createElement("script"),D=new Promise((X,ie)=>{B.addEventListener("load",function(ee){X(),A&&A.call(this,ee),z()}),B.addEventListener("error",function(ee){ie(ee)})}).catch(function(X){T&&T(X)});R?(B.innerHTML=R.__html||"",z()):P?(B.textContent=typeof P=="string"?P:Array.isArray(P)?P.join(""):"",z()):I&&(B.src=I,p.set(I,D)),(0,h.setAttributesFromProps)(B,b),_==="worker"&&B.setAttribute("type","text/partytown"),B.setAttribute("data-nscript",_),F&&m(F),document.body.appendChild(B)};function f(b){const{strategy:I="afterInteractive"}=b;I==="lazyOnload"?window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>v(b))}):v(b)}function x(b){document.readyState==="complete"?(0,u.requestIdleCallback)(()=>v(b)):window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>v(b))})}function g(){[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(I=>{const S=I.id||I.getAttribute("src");y.add(S)})}function M(b){b.forEach(f),g()}function w(b){const{id:I,src:S="",onLoad:A=()=>{},onReady:N=null,strategy:R="afterInteractive",onError:P,stylesheets:_,...T}=b,{updateScripts:F,scripts:U,getIsSsr:z,appDir:B,nonce:D}=(0,l.useContext)(d.HeadManagerContext),X=(0,l.useRef)(!1);(0,l.useEffect)(()=>{const ee=I||S;X.current||(N&&ee&&y.has(ee)&&N(),X.current=!0)},[N,I,S]);const ie=(0,l.useRef)(!1);if((0,l.useEffect)(()=>{ie.current||(R==="afterInteractive"?v(b):R==="lazyOnload"&&x(b),ie.current=!0)},[b,R]),(R==="beforeInteractive"||R==="worker")&&(F?(U[R]=(U[R]||[]).concat([{id:I,src:S,onLoad:A,onReady:N,onError:P,...T}]),F(U)):z&&z()?y.add(I||S):z&&!z()&&v(b)),B){if(_&&_.forEach(ee=>{c.default.preinit(ee,{as:"style"})}),R==="beforeInteractive")return S?(c.default.preload(S,T.integrity?{as:"script",integrity:T.integrity,nonce:D,crossOrigin:T.crossOrigin}:{as:"script",nonce:D,crossOrigin:T.crossOrigin}),(0,i.jsx)("script",{nonce:D,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([S,{...T,id:I}])+")"}})):(T.dangerouslySetInnerHTML&&(T.children=T.dangerouslySetInnerHTML.__html,delete T.dangerouslySetInnerHTML),(0,i.jsx)("script",{nonce:D,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...T,id:I}])+")"}}));R==="afterInteractive"&&S&&c.default.preload(S,T.integrity?{as:"script",integrity:T.integrity,nonce:D,crossOrigin:T.crossOrigin}:{as:"script",nonce:D,crossOrigin:T.crossOrigin})}return null}Object.defineProperty(w,"__nextScript",{value:!0});const j=w;(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)})(XC,XC.exports);var NE=XC.exports,AE=NE;const PE=mT(AE),_E=`
7809
+ `,children:[a.jsx("span",{children:y.name}),a.jsx("span",{className:"text-xs text-gray-500",children:y.courseCount})]},y.id)})})]},h.id)})})]})},lL=({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[m,g]=j.useState(!1),f=[{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"],M=C=>{const I=t.languages.includes(C)?t.languages.filter(S=>S!==C):[...t.languages,C];r({...t,languages:I})},w=C=>{const I=t.features.includes(C)?t.features.filter(S=>S!==C):[...t.features,C];r({...t,features:I})},b=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(xs,{className:"w-5 h-5 text-gray-600 mr-2"}),a.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:"Filters"}),b&&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:[b&&a.jsx("button",{onClick:o,className:"text-sm text-indigo-600 hover:text-indigo-800",children:"Clear All"}),a.jsx("button",{onClick:()=>g(!m),className:"lg:hidden p-1 rounded-md hover:bg-gray-100",children:a.jsx(Ri,{className:`w-4 h-4 transition-transform ${m?"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:C=>n(C.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow--500 focus:border-yellow--500",children:f.map(C=>a.jsx("option",{value:C.value,children:C.label},C.value))})]}),a.jsxs("div",{className:"block",children:[a.jsx(gE,{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(C=>a.jsxs("label",{className:"flex items-center",children:[a.jsx("input",{type:"checkbox",checked:t.languages.includes(C),onChange:()=>M(C),className:"mr-2 text-indigo-600 focus:ring-yellow--500 rounded"}),a.jsx("span",{className:"text-sm text-gray-700",children:C})]},C))})]}),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(C=>a.jsxs("label",{className:"flex items-center",children:[a.jsx("input",{type:"checkbox",checked:t.features.includes(C),onChange:()=>w(C),className:"mr-2 text-indigo-600 focus:ring-yellow--500 rounded"}),a.jsx("span",{className:"text-sm text-gray-700",children:C})]},C))})]})]})]})},vE=({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,dL=({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:m,enableMobileFilter:g,showFilterName:f=!0,isMobile:x=!1})=>a.jsxs("aside",{className:x?"lg:w-1/4 space-y-6":"w-full space-y-6",children:[g&&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:m,"aria-expanded":y,children:a.jsx(Ua,{className:"w-4 h-4 flex justify-center items-center"})}),a.jsx("div",{className:"hidden md:block",children:a.jsx(lL,{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(vE,{isOpen:y,onClose:m,title:"Filters",children:a.jsx(lL,{filters:t,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:o,totalCourses:i,filteredCourses:c,showFilterName:f,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p})})]}),ME=({course:t,isFavorite:e,onToggleFavorite:r,onEnroll:n})=>{const[o,i]=j.useState(!1),c=(d,h)=>new Intl.NumberFormat("en-EU",{style:"currency",currency:h}).format(d),l=d=>d>=1e3?`${(d/1e3).toFixed(1)}k`:d.toString();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 ${o?"opacity-100":"opacity-0"}`,onLoad:()=>i(!0)}),!o&&a.jsx("div",{className:"absolute inset-0 bg-gray-200 animate-pulse flex items-center justify-center",children:a.jsx(zt,{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"}`,"aria-label":e?"Remove from favorites":"Add to favorites",children:a.jsx(vs,{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("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(Rt,{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(Zt,{className:"w-4 h-4 mr-1"}),a.jsx("span",{children:t.duration})]}),a.jsxs("div",{className:"flex items-center",children:[a.jsx(ja,{className:"w-4 h-4 mr-1"}),typeof t.enrollmentCount=="number"&&a.jsxs("span",{children:[l(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(Ma,{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:c(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:c(t.originalPrice,t.currency)})]}),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"})]})]})]})},wE=({processedCourses:t,favorites:e,handleToggleFavorite:r,handleEnroll:n,itemsPerPage:o=9,handleClearFilters:i,currentPage:c=1,setCurrentPage:l=()=>{},viewMode:d="grid"})=>{const h=Math.ceil(t.length/o),u=t.slice((c-1)*o,c*o),p=j.useRef(null),y=m=>{l(m),setTimeout(()=>{var g;(g=p.current)==null||g.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:u.map((m,g)=>a.jsx("div",{ref:g===0?p:null,children:a.jsx(ME,{course:m,isFavorite:e.has(m.id),onToggleFavorite:r,onEnroll:n},`${m.id}-${m.title}`)},m.id))}),h>1&&a.jsx("div",{className:"mt-8 flex justify-center",children:a.jsx(Fj,{currentPage:c,totalPages:h,onPageChange:y})})]}):a.jsxs("div",{className:"text-center py-12",children:[a.jsx(zt,{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"})]})},bE=({apiUrl:t,enableMobileFilter:e=!0,itemsPerPage:r=9})=>{const[n,o]=j.useState([]),[i,c]=j.useState([]),[l,d]=j.useState(new Set),[h,u]=j.useState(""),[p,y]=j.useState(""),[m,g]=j.useState("relevance"),[f,x]=j.useState(!1),[v,M]=j.useState(1),[w,b]=j.useState(!1),[C,I]=j.useState(!1),[S,A]=j.useState(!0),[N,R]=j.useState(""),[P,_]=j.useState([]),[T,F]=j.useState([]),[U,z]=j.useState("grid"),[B,D]=j.useState(r),X=()=>{z(H=>H==="grid"?"list":"grid")},ie=H=>(H??"").trim().toLowerCase().replace(/\s+/g,"-"),ee=j.useMemo(()=>{const H=new Map;return n.forEach(E=>{const K=E.category,je=E.subcategory,fe=ie(K),qe=ie(je);if(!fe)return;H.has(fe)||H.set(fe,new Map);const Ve=H.get(fe);qe&&Ve.set(qe,(Ve.get(qe)??0)+1)}),Array.from(H.entries()).map(([E,K])=>({id:E,name:E.replace(/-/g," ").replace(/\b\w/g,je=>je.toUpperCase()),icon:"🎯",subcategories:Array.from(K.entries()).map(([je,fe])=>({id:je,name:je.replace(/-/g," ").replace(/\b\w/g,qe=>qe.toUpperCase()),courseCount:fe}))}))},[n]),Re=H=>{D(H),M(1)},[J,Y]=j.useState({categories:[],subcategories:[],priceRange:[0,2e3],levels:[],languages:[],features:[],rating:0});j.useEffect(()=>{(async()=>{try{if(!t){o(i1),c(i1),A(!1);return}A(!0);const E=await fetch(t);if(!E.ok)throw new Error(`Failed to fetch courses from ${t}`);const K=await E.json();o(K),c(K);const fe=K.map(Ve=>qj(Ve.title||"")).filter(Ve=>!!Ve).reduce((Ve,gt)=>(Ve[gt]=(Ve[gt]||0)+1,Ve),{}),qe=Object.entries(fe).sort((Ve,gt)=>gt[1]-Ve[1]).slice(0,10).map(([Ve])=>Ve);_(qe)}catch(E){console.error("[Courses] Error loading data:",E),o(i1),c(i1)}finally{A(!1)}})()},[t]),j.useEffect(()=>{var K;const E=(K=new URLSearchParams(window.location.search).get("q"))==null?void 0:K.trim();if(E){R(E);const je=n.filter(fe=>{var qe;return fe.title.toLowerCase().includes(E.toLowerCase())||((qe=fe.description)==null?void 0:qe.toLowerCase().includes(E.toLowerCase()))});c(je)}},[n]),j.useEffect(()=>{const H=localStorage.getItem("course-favorites");H&&d(new Set(JSON.parse(H)))},[]),j.useEffect(()=>{localStorage.setItem("course-favorites",JSON.stringify(Array.from(l)))},[l]);const Q=j.useMemo(()=>{let H=[...i];switch(h&&(H=H.filter(E=>ie(E.category)===h)),p&&(H=H.filter(E=>ie(E.subcategory)===p)),J.levels.length>0&&(H=H.filter(E=>J.levels.includes(E.level))),J.languages.length>0&&(H=H.filter(E=>J.languages.includes(E.language))),J.features.length>0&&(H=H.filter(E=>J.features.some(K=>E.features.includes(K)))),J.rating>0&&(H=H.filter(E=>E.rating>=J.rating)),f&&(H=H.filter(E=>l.has(E.id))),m){case"price-low-high":H.sort((E,K)=>E.price-K.price);break;case"price-high-low":H.sort((E,K)=>K.price-E.price);break;case"rating":H.sort((E,K)=>K.rating-E.rating);break;case"newest":H.sort((E,K)=>new Date(K.lastUpdated).getTime()-new Date(E.lastUpdated).getTime());break;case"most-enrolled":H.sort((E,K)=>K.enrollmentCount-E.enrollmentCount);break;default:H.sort((E,K)=>E.isFeatured&&!K.isFeatured?-1:!E.isFeatured&&K.isFeatured?1:E.isBestseller&&!K.isBestseller?-1:!E.isBestseller&&K.isBestseller?1:K.rating-E.rating)}return H},[i,h,p,J,l,f,m]),te=H=>{d(E=>{const K=new Set(E);return K.has(H)?K.delete(H):K.add(H),K})},G=H=>{const E=n.find(K=>K.id===H);E!=null&&E.link&&window.open(E.link,"_blank","noopener,noreferrer")},ae=H=>{const E=ie(H);u(E===h?"":E),y("")},ve=H=>{const E=ie(H);y(E===p?"":E)},se=()=>{Y({categories:[],subcategories:[],priceRange:[0,2e3],levels:[],languages:[],features:[],rating:0}),u(""),y(""),x(!1),R(""),c(n)},ue=()=>{b(!w)},le=Q.length===0?0:(v-1)*B+1,He=Math.min(v*B,Q.length),Ie=H=>{if(R(H),!H){c(n),F([]);return}const E=n.filter(je=>{var fe;return je.title.toLowerCase().includes(H.toLowerCase())||((fe=je.description)==null?void 0:fe.toLowerCase().includes(H.toLowerCase()))});c(E);const K=E.map(je=>je.title).filter((je,fe,qe)=>je&&je.toLowerCase().includes(H.toLowerCase())&&qe.indexOf(je)===fe).slice(0,5);F(K)};return a.jsxs("div",{className:"min-h-screen bg-gray-50",children:[a.jsx(Rj,{onSearchChange:Ie,title:"Courses",description:"Browse and enroll in industry-relevant gaming courses",searchPlaceholder:"Search courses",popularTags:P,generateHref:H=>`/courses?q=${H.toLowerCase().replace(/\s+/g,"+")}`}),a.jsx(kE,{courses:n,onSearchResults:c}),a.jsxs("main",{className:"max-w-7xl mx-auto sm:px-6 lg:px-8 py-8",children:[a.jsx(Dj,{filters:[...h?[{key:"category",label:"Category",value:h.replace(/-/g," "),onRemove:()=>u("")}]:[],...p?[{key:"subcategory",label:"Subcategory",value:p.replace(/-/g," "),onRemove:()=>y("")}]:[],...J.levels.map(H=>({key:"level",label:"",value:H,onRemove:()=>Y(E=>({...E,levels:E.levels.filter(K=>K!==H)}))})),...N?[{key:"search",label:"Search",value:N,onRemove:()=>{R(""),c(n)}}]:[]],onClearAll:se}),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(Tj,{data:n.map(H=>H.title),onSelect:H=>{const E=n.filter(K=>K.title.toLowerCase().includes(H.toLowerCase()));c(E),R(H)},onTyping:H=>{I(!!H),H||(c(n),R(""))}}),a.jsx(dL,{sortBy:m,onFiltersChange:Y,onSortChange:g,onClearFilters:se,totalCourses:n.length,filteredCourses:Q.length,categories:ee,selectedCategory:h,selectedSubcategory:p,filters:J,onCategorySelect:ae,onSubcategorySelect:ve,isMobileFilterOpen:w,toggleMobileFilter:ue,enableMobileFilter:e,showFilterName:!C,isMobile:!0})]})}),a.jsx("div",{className:"hidden lg:block lg:w-1/4",children:a.jsx(dL,{filters:J,sortBy:m,onFiltersChange:Y,onSortChange:g,onClearFilters:se,totalCourses:n.length,filteredCourses:Q.length,categories:ee,selectedCategory:h,selectedSubcategory:p,onCategorySelect:ae,onSubcategorySelect:ve,isMobileFilterOpen:w,toggleMobileFilter:ue,enableMobileFilter:e,showFilterName:!0})}),a.jsxs("div",{className:"lg:w-3/4",children:[a.jsx(zj,{viewMode:U,onToggleViewMode:X,selectedItemsPerPage:B,onItemsPerPageChange:Re,totalCount:Q.length,startIndex:le,endIndex:He,title:"All Courses"}),S?a.jsx(_j,{totalColumns:3}):a.jsx(wE,{processedCourses:Q,favorites:l,handleToggleFavorite:te,handleClearFilters:se,itemsPerPage:r,handleEnroll:G,currentPage:v,setCurrentPage:M,viewMode:U})]})]})]})]})};var XC={exports:{}},Xj={};function CE(t){return t&&t.__esModule?t:{default:t}}Xj._=CE;var BA={};function UA(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,r=new WeakMap;return(UA=function(n){return n?r:e})(t)}function jE(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var r=UA(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}BA._=jE;var wC={},hL;function SE(){return hL||(hL=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return n}});const n=Xj._(j).default.createContext({});process.env.NODE_ENV!=="production"&&(n.displayName="HeadManagerContext")}(wC)),wC}var s1={exports:{}},uL;function LE(){return uL||(uL=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)}(s1,s1.exports)),s1.exports}var c1={exports:{}},pL;function IE(){return pL||(pL=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)}(c1,c1.exports)),c1.exports}(function(t,e){"use client";Object.defineProperty(e,"__esModule",{value:!0});function r(C,I){for(var S in I)Object.defineProperty(C,S,{enumerable:!0,get:I[S]})}r(e,{default:function(){return b},handleClientScriptLoad:function(){return f},initScriptLoader:function(){return M}});const n=Xj,o=BA,i=a,c=n._(oj),l=o._(j),d=SE(),h=LE(),u=IE(),p=new Map,y=new Set,m=C=>{if(c.default.preinit){C.forEach(I=>{c.default.preinit(I,{as:"style"})});return}if(typeof window<"u"){let I=document.head;C.forEach(S=>{let A=document.createElement("link");A.type="text/css",A.rel="stylesheet",A.href=S,I.appendChild(A)})}},g=C=>{const{src:I,id:S,onLoad:A=()=>{},onReady:N=null,dangerouslySetInnerHTML:R,children:P="",strategy:_="afterInteractive",onError:T,stylesheets:F}=C,U=S||I;if(U&&y.has(U))return;if(p.has(I)){y.add(U),p.get(I).then(A,T);return}const z=()=>{N&&N(),y.add(U)},B=document.createElement("script"),D=new Promise((X,ie)=>{B.addEventListener("load",function(ee){X(),A&&A.call(this,ee),z()}),B.addEventListener("error",function(ee){ie(ee)})}).catch(function(X){T&&T(X)});R?(B.innerHTML=R.__html||"",z()):P?(B.textContent=typeof P=="string"?P:Array.isArray(P)?P.join(""):"",z()):I&&(B.src=I,p.set(I,D)),(0,h.setAttributesFromProps)(B,C),_==="worker"&&B.setAttribute("type","text/partytown"),B.setAttribute("data-nscript",_),F&&m(F),document.body.appendChild(B)};function f(C){const{strategy:I="afterInteractive"}=C;I==="lazyOnload"?window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>g(C))}):g(C)}function x(C){document.readyState==="complete"?(0,u.requestIdleCallback)(()=>g(C)):window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>g(C))})}function v(){[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(I=>{const S=I.id||I.getAttribute("src");y.add(S)})}function M(C){C.forEach(f),v()}function w(C){const{id:I,src:S="",onLoad:A=()=>{},onReady:N=null,strategy:R="afterInteractive",onError:P,stylesheets:_,...T}=C,{updateScripts:F,scripts:U,getIsSsr:z,appDir:B,nonce:D}=(0,l.useContext)(d.HeadManagerContext),X=(0,l.useRef)(!1);(0,l.useEffect)(()=>{const ee=I||S;X.current||(N&&ee&&y.has(ee)&&N(),X.current=!0)},[N,I,S]);const ie=(0,l.useRef)(!1);if((0,l.useEffect)(()=>{ie.current||(R==="afterInteractive"?g(C):R==="lazyOnload"&&x(C),ie.current=!0)},[C,R]),(R==="beforeInteractive"||R==="worker")&&(F?(U[R]=(U[R]||[]).concat([{id:I,src:S,onLoad:A,onReady:N,onError:P,...T}]),F(U)):z&&z()?y.add(I||S):z&&!z()&&g(C)),B){if(_&&_.forEach(ee=>{c.default.preinit(ee,{as:"style"})}),R==="beforeInteractive")return S?(c.default.preload(S,T.integrity?{as:"script",integrity:T.integrity,nonce:D,crossOrigin:T.crossOrigin}:{as:"script",nonce:D,crossOrigin:T.crossOrigin}),(0,i.jsx)("script",{nonce:D,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([S,{...T,id:I}])+")"}})):(T.dangerouslySetInnerHTML&&(T.children=T.dangerouslySetInnerHTML.__html,delete T.dangerouslySetInnerHTML),(0,i.jsx)("script",{nonce:D,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...T,id:I}])+")"}}));R==="afterInteractive"&&S&&c.default.preload(S,T.integrity?{as:"script",integrity:T.integrity,nonce:D,crossOrigin:T.crossOrigin}:{as:"script",nonce:D,crossOrigin:T.crossOrigin})}return null}Object.defineProperty(w,"__nextScript",{value:!0});const b=w;(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)})(XC,XC.exports);var NE=XC.exports,AE=NE;const PE=mT(AE),_E=`
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 TE({allow:t="analytics",scriptId:e="ga",scriptStrategy:r="afterInteractive",scriptContent:n=_E}){return a.jsx(AD,{allow:t,children:a.jsx(PE,{id:e,strategy:r,children:n})})}function yL(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function RE(...t){return e=>{let r=!1;const n=t.map(o=>{const i=yL(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():yL(t[o],null)}}}}function Jj(...t){return k.useCallback(RE(...t),t)}function qE(t,e=[]){let r=[];function n(i,c){const l=k.createContext(c),d=r.length;r=[...r,c];const h=p=>{var g;const{scope:y,children:m,...v}=p,f=((g=y==null?void 0:y[t])==null?void 0:g[d])||l,x=k.useMemo(()=>v,Object.values(v));return a.jsx(f.Provider,{value:x,children:m})};h.displayName=i+"Provider";function u(p,y){var f;const m=((f=y==null?void 0:y[t])==null?void 0:f[d])||l,v=k.useContext(m);if(v)return v;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=>k.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return k.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,DE(o,...e)]}function DE(...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 k.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function mL(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 JC=globalThis!=null&&globalThis.document?k.useLayoutEffect:()=>{},zE=k[" useInsertionEffect ".trim().toString()]||JC;function FE({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[o,i,c]=EE({defaultProp:e,onChange:r}),l=t!==void 0,d=l?t:o;{const u=k.useRef(t!==void 0);k.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=k.useCallback(u=>{var p;if(l){const y=OE(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 EE({defaultProp:t,onChange:e}){const[r,n]=k.useState(t),o=k.useRef(r),i=k.useRef(e);return zE(()=>{i.current=e},[e]),k.useEffect(()=>{var c;o.current!==r&&((c=i.current)==null||c.call(i,r),o.current=r)},[r,o]),[r,n,i]}function OE(t){return typeof t=="function"}function Yj(t){const e=k.useRef({value:t,previous:t});return k.useMemo(()=>(e.current.value!==t&&(e.current.previous=e.current.value,e.current.value=t),e.current.previous),[t])}var HE=globalThis!=null&&globalThis.document?k.useLayoutEffect:()=>{};function Kj(t){const[e,r]=k.useState(void 0);return HE(()=>{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 VE(t,e){return k.useReducer((r,n)=>e[r][n]??r,t)}var $A=t=>{const{present:e,children:r}=t,n=BE(e),o=typeof r=="function"?r({present:n.isPresent}):k.Children.only(r),i=Jj(n.ref,UE(o));return typeof r=="function"||n.isPresent?k.cloneElement(o,{ref:i}):null};$A.displayName="Presence";function BE(t){const[e,r]=k.useState(),n=k.useRef(null),o=k.useRef(t),i=k.useRef("none"),c=t?"mounted":"unmounted",[l,d]=VE(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return k.useEffect(()=>{const h=l1(n.current);i.current=l==="mounted"?h:"none"},[l]),JC(()=>{const h=n.current,u=o.current;if(u!==t){const y=i.current,m=l1(h);t?d("MOUNT"):m==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&y!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,d]),JC(()=>{if(e){let h;const u=e.ownerDocument.defaultView??window,p=m=>{const f=l1(n.current).includes(CSS.escape(m.animationName));if(m.target===e&&f&&(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=m=>{m.target===e&&(i.current=l1(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:k.useCallback(h=>{n.current=h?getComputedStyle(h):null,r(h)},[])}}function l1(t){return(t==null?void 0:t.animationName)||"none"}function UE(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 $E=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Qj=$E.reduce((t,e)=>{const r=Ye(`Primitive.${e}`),n=k.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}},{}),Eb="Checkbox",[WE,aU]=qE(Eb),[GE,eS]=WE(Eb);function ZE(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,m]=FE({prop:r,defaultProp:o??!1,onChange:d,caller:Eb}),[v,f]=k.useState(null),[x,g]=k.useState(null),M=k.useRef(!1),w=v?!!c||!!v.closest("form"):!0,j={checked:y,disabled:i,setChecked:m,control:v,setControl:f,name:l,form:c,value:u,hasConsumerStoppedPropagationRef:M,required:h,defaultChecked:Ga(o)?!1:o,isFormControl:w,bubbleInput:x,setBubbleInput:g};return a.jsx(GE,{scope:e,...j,children:XE(p)?p(j):n})}var WA="CheckboxTrigger",GA=k.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:m,bubbleInput:v}=eS(WA,t),f=Jj(o,u),x=k.useRef(d);return k.useEffect(()=>{const g=i==null?void 0:i.form;if(g){const M=()=>p(x.current);return g.addEventListener("reset",M),()=>g.removeEventListener("reset",M)}},[i,p]),a.jsx(Qj.button,{type:"button",role:"checkbox","aria-checked":Ga(d)?"mixed":d,"aria-required":h,"data-state":KA(d),"data-disabled":l?"":void 0,disabled:l,value:c,...n,ref:f,onKeyDown:mL(e,g=>{g.key==="Enter"&&g.preventDefault()}),onClick:mL(r,g=>{p(M=>Ga(M)?!0:!M),v&&m&&(y.current=g.isPropagationStopped(),y.current||g.stopPropagation())})})});GA.displayName=WA;var tS=k.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(ZE,{__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(GA,{...p,ref:e,__scopeCheckbox:r}),y&&a.jsx(YA,{__scopeCheckbox:r})]})})});tS.displayName=Eb;var ZA="CheckboxIndicator",XA=k.forwardRef((t,e)=>{const{__scopeCheckbox:r,forceMount:n,...o}=t,i=eS(ZA,r);return a.jsx($A,{present:n||Ga(i.checked)||i.checked===!0,children:a.jsx(Qj.span,{"data-state":KA(i.checked),"data-disabled":i.disabled?"":void 0,...o,ref:e,style:{pointerEvents:"none",...t.style}})})});XA.displayName=ZA;var JA="CheckboxBubbleInput",YA=k.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:m}=eS(JA,t),v=Jj(r,m),f=Yj(i),x=Kj(n);k.useEffect(()=>{const M=y;if(!M)return;const w=window.HTMLInputElement.prototype,b=Object.getOwnPropertyDescriptor(w,"checked").set,I=!o.current;if(f!==i&&b){const S=new Event("click",{bubbles:I});M.indeterminate=Ga(i),b.call(M,Ga(i)?!1:i),M.dispatchEvent(S)}},[y,f,i,o]);const g=k.useRef(Ga(i)?!1:i);return a.jsx(Qj.input,{type:"checkbox","aria-hidden":!0,defaultChecked:c??g.current,required:l,disabled:d,name:h,value:u,form:p,...e,tabIndex:-1,ref:v,style:{...e.style,...x,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});YA.displayName=JA;function XE(t){return typeof t=="function"}function Ga(t){return t==="indeterminate"}function KA(t){return Ga(t)?"indeterminate":t?"checked":"unchecked"}const aS=k.forwardRef(({className:t,...e},r)=>a.jsx(tS,{ref:r,className:oe("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(XA,{className:oe("flex items-center justify-center text-current"),children:a.jsx(fs,{className:"h-4 w-4"})})}));aS.displayName=tS.displayName;const JE=Cb("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"}}),Ob=k.forwardRef(({className:t,variant:e,...r},n)=>a.jsx("div",{ref:n,role:"alert",className:oe(JE({variant:e}),t),...r}));Ob.displayName="Alert";const YE=k.forwardRef(({className:t,...e},r)=>a.jsx("h5",{ref:r,className:oe("mb-1 font-medium leading-none tracking-tight",t),...e}));YE.displayName="AlertTitle";const Hb=k.forwardRef(({className:t,...e},r)=>a.jsx("div",{ref:r,className:oe("text-sm [&_p]:leading-relaxed",t),...e}));Hb.displayName="AlertDescription";function KE({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]=C.useState(""),[p,y]=C.useState(""),[m,v]=C.useState(!1),f=x=>{x.preventDefault(),t(h,p,m)};return a.jsxs(ge,{className:"w-full max-w-md",children:[a.jsxs(_e,{className:"space-y-1",children:[a.jsx(Te,{className:"text-2xl font-bold",children:i}),a.jsx(Be,{children:c})]}),a.jsxs("form",{onSubmit:f,children:[a.jsxs(we,{className:"space-y-4",children:[o&&a.jsxs(Ob,{variant:"destructive",children:[a.jsx(Wt,{className:"h-4 w-4"}),a.jsx(Hb,{children:o})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(he,{htmlFor:"identifier",children:l}),a.jsxs("div",{className:"relative",children:[a.jsx(sa,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),a.jsx(Xe,{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(he,{htmlFor:"password",children:"Password"}),a.jsxs("div",{className:"relative",children:[a.jsx(vc,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),a.jsx(Xe,{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(aS,{id:"remember",checked:m,onCheckedChange:x=>v(x),disabled:n}),a.jsx(he,{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(Rs,{className:"flex flex-col space-y-4",children:[a.jsx(O,{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 QE=({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(KE,{onSubmit:t,onForgotPassword:e,onRegisterClick:r,isLoading:n,error:o,identifierLabel:l,identifierPlaceholder:d})]})});function eO({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]=C.useState({}),[h,u]=C.useState(""),p=(m,v)=>d(f=>({...f,[m]:v})),y=m=>{if(m.preventDefault(),u(""),"password"in l&&"confirmPassword"in l&&l.password!==l.confirmPassword){u("Passwords do not match");return}t(l)};return a.jsxs(ge,{className:"w-full max-w-md",children:[a.jsxs(_e,{className:"space-y-1",children:[a.jsx(Te,{className:"text-2xl font-bold",children:i}),a.jsx(Be,{children:c})]}),a.jsxs("form",{onSubmit:y,children:[a.jsxs(we,{className:"space-y-4",children:[(o||h)&&a.jsxs(Ob,{variant:"destructive",children:[a.jsx(Wt,{className:"h-4 w-4"}),a.jsx(Hb,{children:o||h})]}),e.map(m=>a.jsxs("div",{className:"space-y-2",children:[a.jsx(he,{htmlFor:m.name,children:m.label}),a.jsx(Xe,{id:m.name,type:m.type||"text",placeholder:m.placeholder,required:m.required,disabled:n,value:l[m.name]||"",onChange:v=>p(m.name,v.target.value)})]},m.name))]}),a.jsxs(Rs,{className:"flex flex-col space-y-4",children:[a.jsx(O,{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 tO=({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(eO,{onSubmit:t,fields:e,onLoginClick:r,isLoading:n,error:o,title:l,description:d})]})});function aO({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]=C.useState(""),u=p=>{p.preventDefault(),t(d)};return o?a.jsxs(ge,{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(bt,{className:"h-6 w-6 text-green-600"})})}),a.jsx(Te,{className:"text-2xl font-bold text-center",children:"Check Your Email"}),a.jsx(Be,{className:"text-center",children:l})]}),a.jsx(Rs,{className:"flex flex-col space-y-4",children:e&&a.jsxs(O,{type:"button",variant:"outline",className:"w-full",onClick:e,children:[a.jsx(Ti,{className:"mr-2 h-4 w-4"}),"Back to Login"]})})]}):a.jsxs(ge,{className:"w-full max-w-md",children:[a.jsxs(_e,{className:"space-y-1",children:[a.jsx(Te,{className:"text-2xl font-bold",children:i}),a.jsx(Be,{children:c})]}),a.jsxs("form",{onSubmit:u,children:[a.jsxs(we,{className:"space-y-4",children:[n&&a.jsxs(Ob,{variant:"destructive",children:[a.jsx(Wt,{className:"h-4 w-4"}),a.jsx(Hb,{children:n})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(he,{htmlFor:"email",children:"Email Address"}),a.jsxs("div",{className:"relative",children:[a.jsx(sa,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),a.jsx(Xe,{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(Rs,{className:"flex flex-col space-y-4",children:[a.jsx(O,{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(O,{type:"button",variant:"ghost",className:"w-full",onClick:e,disabled:r,children:[a.jsx(Ti,{className:"mr-2 h-4 w-4"}),"Back to Login"]})]})]})]})}const rO=({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(aO,{onSubmit:t,onBackToLogin:e,isLoading:r,error:n,success:o})]})}),nO=[{icon:xc,label:"Dashboard",path:"/dashboard"},{icon:pt,label:"My Jobs",path:"/dashboard/jobs"},{icon:zt,label:"Courses",path:"/dashboard/courses"},{icon:Cs,label:"Settings",path:"/dashboard/settings"}];function oO({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:nO.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(O,{variant:"ghost",className:"w-full justify-start text-muted-foreground hover:text-foreground",onClick:r,children:[a.jsx(Mc,{className:"mr-3 h-4 w-4"}),"Logout"]})})]}),a.jsx("main",{className:"flex-1 p-6 md:p-8",children:t})]})})}const iO=Cb("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 nt({className:t,variant:e,...r}){return a.jsx("div",{className:oe(iO({variant:e}),t),...r})}function sO({userName:t,feedItems:e,alerts:r,snapshot:n,onSave:o,onApply:i,onEnroll:c,onRead:l}){const d=u=>{switch(u){case"job":return pt;case"course":return zt;case"news":return Ca;default:return pt}},h=u=>{switch(u.type){case"job":return a.jsxs(a.Fragment,{children:[a.jsx(O,{variant:"outline",size:"sm",onClick:()=>o(u.id),children:"Save"}),a.jsx(O,{size:"sm",onClick:()=>i(u.id),children:"Apply"})]});case"course":return a.jsxs(a.Fragment,{children:[a.jsx(O,{variant:"outline",size:"sm",onClick:()=>o(u.id),children:"Save"}),a.jsx(O,{size:"sm",onClick:()=>c(u.id),children:"Enroll"})]});case"news":return a.jsx(O,{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(ge,{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(nt,{variant:"secondary",children:u.type})]}),a.jsx("span",{className:"text-xs text-muted-foreground",children:u.timestamp})]}),a.jsx(Te,{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(ms,{className:"h-4 w-4"}),u.company]}),u.location&&a.jsxs("span",{className:"flex items-center gap-1",children:[a.jsx(Ft,{className:"h-4 w-4"}),u.location]})]}),a.jsx(Be,{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(nt,{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(ge,{children:[a.jsx(_e,{children:a.jsxs(Te,{className:"flex items-center gap-2",children:[a.jsx(Fi,{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(ge,{children:[a.jsx(_e,{children:a.jsxs(Te,{className:"flex items-center gap-2",children:[a.jsx(Zt,{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(nt,{variant:"outline",className:"mb-2",children:u.type}),a.jsx("p",{children:u.message})]},u.id))})]})]})]})]})}function cO(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 fL(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function lO(...t){return e=>{let r=!1;const n=t.map(o=>{const i=fL(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():fL(t[o],null)}}}}function QA(...t){return k.useCallback(lO(...t),t)}function dO(t,e=[]){let r=[];function n(i,c){const l=k.createContext(c),d=r.length;r=[...r,c];const h=p=>{var g;const{scope:y,children:m,...v}=p,f=((g=y==null?void 0:y[t])==null?void 0:g[d])||l,x=k.useMemo(()=>v,Object.values(v));return a.jsx(f.Provider,{value:x,children:m})};h.displayName=i+"Provider";function u(p,y){var f;const m=((f=y==null?void 0:y[t])==null?void 0:f[d])||l,v=k.useContext(m);if(v)return v;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=>k.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return k.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,hO(o,...e)]}function hO(...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 k.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var uO=globalThis!=null&&globalThis.document?k.useLayoutEffect:()=>{},pO=k[" useInsertionEffect ".trim().toString()]||uO;function yO({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[o,i,c]=mO({defaultProp:e,onChange:r}),l=t!==void 0,d=l?t:o;{const u=k.useRef(t!==void 0);k.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=k.useCallback(u=>{var p;if(l){const y=fO(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 mO({defaultProp:t,onChange:e}){const[r,n]=k.useState(t),o=k.useRef(r),i=k.useRef(e);return pO(()=>{i.current=e},[e]),k.useEffect(()=>{var c;o.current!==r&&((c=i.current)==null||c.call(i,r),o.current=r)},[r,o]),[r,n,i]}function fO(t){return typeof t=="function"}var xO=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],eP=xO.reduce((t,e)=>{const r=Ye(`Primitive.${e}`),n=k.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}},{}),Vb="Switch",[kO,rU]=dO(Vb),[gO,vO]=kO(Vb),tP=k.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,m]=k.useState(null),v=QA(e,w=>m(w)),f=k.useRef(!1),x=y?u||!!y.closest("form"):!0,[g,M]=yO({prop:o,defaultProp:i??!1,onChange:h,caller:Vb});return a.jsxs(gO,{scope:r,checked:g,disabled:l,children:[a.jsx(eP.button,{type:"button",role:"switch","aria-checked":g,"aria-required":c,"data-state":oP(g),"data-disabled":l?"":void 0,disabled:l,value:d,...p,ref:v,onClick:cO(t.onClick,w=>{M(j=>!j),x&&(f.current=w.isPropagationStopped(),f.current||w.stopPropagation())})}),x&&a.jsx(nP,{control:y,bubbles:!f.current,name:n,value:d,checked:g,required:c,disabled:l,form:u,style:{transform:"translateX(-100%)"}})]})});tP.displayName=Vb;var aP="SwitchThumb",rP=k.forwardRef((t,e)=>{const{__scopeSwitch:r,...n}=t,o=vO(aP,r);return a.jsx(eP.span,{"data-state":oP(o.checked),"data-disabled":o.disabled?"":void 0,...n,ref:e})});rP.displayName=aP;var MO="SwitchBubbleInput",nP=k.forwardRef(({__scopeSwitch:t,control:e,checked:r,bubbles:n=!0,...o},i)=>{const c=k.useRef(null),l=QA(c,i),d=Yj(r),h=Kj(e);return k.useEffect(()=>{const u=c.current;if(!u)return;const p=window.HTMLInputElement.prototype,m=Object.getOwnPropertyDescriptor(p,"checked").set;if(d!==r&&m){const v=new Event("click",{bubbles:n});m.call(u,r),u.dispatchEvent(v)}},[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}})});nP.displayName=MO;function oP(t){return t?"checked":"unchecked"}var iP=tP,wO=rP;const Gt=k.forwardRef(({className:t,...e},r)=>a.jsx(iP,{className:oe("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(wO,{className:oe("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")})}));Gt.displayName=iP.displayName;function qc(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 xL(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function bO(...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 rS(...t){return k.useCallback(bO(...t),t)}function CO(t,e=[]){let r=[];function n(i,c){const l=k.createContext(c),d=r.length;r=[...r,c];const h=p=>{var g;const{scope:y,children:m,...v}=p,f=((g=y==null?void 0:y[t])==null?void 0:g[d])||l,x=k.useMemo(()=>v,Object.values(v));return a.jsx(f.Provider,{value:x,children:m})};h.displayName=i+"Provider";function u(p,y){var f;const m=((f=y==null?void 0:y[t])==null?void 0:f[d])||l,v=k.useContext(m);if(v)return v;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=>k.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return k.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,jO(o,...e)]}function jO(...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 k.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var fb=globalThis!=null&&globalThis.document?k.useLayoutEffect:()=>{},SO=k[" useId ".trim().toString()]||(()=>{}),LO=0;function IO(t){const[e,r]=k.useState(SO());return fb(()=>{t||r(n=>n??String(LO++))},[t]),t||(e?`radix-${e}`:"")}const NO=["top","right","bottom","left"],Ja=Math.min,Ct=Math.max,xb=Math.round,d1=Math.floor,la=t=>({x:t,y:t}),AO={left:"right",right:"left",bottom:"top",top:"bottom"},PO={start:"end",end:"start"};function YC(t,e,r){return Ct(t,Ja(e,r))}function Ia(t,e){return typeof t=="function"?t(e):t}function Na(t){return t.split("-")[0]}function Zs(t){return t.split("-")[1]}function nS(t){return t==="x"?"y":"x"}function oS(t){return t==="y"?"height":"width"}const _O=new Set(["top","bottom"]);function oa(t){return _O.has(Na(t))?"y":"x"}function iS(t){return nS(oa(t))}function TO(t,e,r){r===void 0&&(r=!1);const n=Zs(t),o=iS(t),i=oS(o);let c=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(c=kb(c)),[c,kb(c)]}function RO(t){const e=kb(t);return[KC(t),e,KC(e)]}function KC(t){return t.replace(/start|end/g,e=>PO[e])}const kL=["left","right"],gL=["right","left"],qO=["top","bottom"],DO=["bottom","top"];function zO(t,e,r){switch(t){case"top":case"bottom":return r?e?gL:kL:e?kL:gL;case"left":case"right":return e?qO:DO;default:return[]}}function FO(t,e,r,n){const o=Zs(t);let i=zO(Na(t),r==="start",n);return o&&(i=i.map(c=>c+"-"+o),e&&(i=i.concat(i.map(KC)))),i}function kb(t){return t.replace(/left|right|bottom|top/g,e=>AO[e])}function EO(t){return{top:0,right:0,bottom:0,left:0,...t}}function sP(t){return typeof t!="number"?EO(t):{top:t,right:t,bottom:t,left:t}}function gb(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 vL(t,e,r){let{reference:n,floating:o}=t;const i=oa(e),c=iS(e),l=oS(c),d=Na(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 m;switch(d){case"top":m={x:u,y:n.y-o.height};break;case"bottom":m={x:u,y:n.y+n.height};break;case"right":m={x:n.x+n.width,y:p};break;case"left":m={x:n.x-o.width,y:p};break;default:m={x:n.x,y:n.y}}switch(Zs(e)){case"start":m[c]-=y*(r&&h?-1:1);break;case"end":m[c]+=y*(r&&h?-1:1);break}return m}const OO=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}=vL(h,n,d),y=n,m={},v=0;for(let f=0;f<l.length;f++){const{name:x,fn:g}=l[f],{x:M,y:w,data:j,reset:b}=await g({x:u,y:p,initialPlacement:n,placement:y,strategy:o,middlewareData:m,rects:h,platform:c,elements:{reference:t,floating:e}});u=M??u,p=w??p,m={...m,[x]:{...m[x],...j}},b&&v<=50&&(v++,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}=vL(h,y,d)),f=-1)}return{x:u,y:p,placement:y,strategy:o,middlewareData:m}};async function Uc(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:m=0}=Ia(e,t),v=sP(m),x=l[y?p==="floating"?"reference":"floating":p],g=gb(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})),M=p==="floating"?{x:n,y:o,width:c.floating.width,height:c.floating.height}:c.reference,w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),j=await(i.isElement==null?void 0:i.isElement(w))?await(i.getScale==null?void 0:i.getScale(w))||{x:1,y:1}:{x:1,y:1},b=gb(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:M,offsetParent:w,strategy:d}):M);return{top:(g.top-b.top+v.top)/j.y,bottom:(b.bottom-g.bottom+v.bottom)/j.y,left:(g.left-b.left+v.left)/j.x,right:(b.right-g.right+v.right)/j.x}}const HO=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}=Ia(t,e)||{};if(h==null)return{};const p=sP(u),y={x:r,y:n},m=iS(o),v=oS(m),f=await c.getDimensions(h),x=m==="y",g=x?"top":"left",M=x?"bottom":"right",w=x?"clientHeight":"clientWidth",j=i.reference[v]+i.reference[m]-y[m]-i.floating[v],b=y[m]-i.reference[m],I=await(c.getOffsetParent==null?void 0:c.getOffsetParent(h));let S=I?I[w]:0;(!S||!await(c.isElement==null?void 0:c.isElement(I)))&&(S=l.floating[w]||i.floating[v]);const A=j/2-b/2,N=S/2-f[v]/2-1,R=Ja(p[g],N),P=Ja(p[M],N),_=R,T=S-f[v]-P,F=S/2-f[v]/2+A,U=YC(_,F,T),z=!d.arrow&&Zs(o)!=null&&F!==U&&i.reference[v]/2-(F<_?R:P)-f[v]/2<0,B=z?F<_?F-_:F-T:0;return{[m]:y[m]+B,data:{[m]:U,centerOffset:F-U-B,...z&&{alignmentOffset:B}},reset:z}}}),VO=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:m="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:f=!0,...x}=Ia(t,e);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const g=Na(o),M=oa(l),w=Na(l)===l,j=await(d.isRTL==null?void 0:d.isRTL(h.floating)),b=y||(w||!f?[kb(l)]:RO(l)),I=v!=="none";!y&&I&&b.push(...FO(l,f,v,j));const S=[l,...b],A=await Uc(e,x),N=[];let R=((n=i.flip)==null?void 0:n.overflows)||[];if(u&&N.push(A[g]),p){const F=TO(o,c,j);N.push(A[F[0]],A[F[1]])}if(R=[...R,{placement:o,overflows:N}],!N.every(F=>F<=0)){var P,_;const F=(((P=i.flip)==null?void 0:P.index)||0)+1,U=S[F];if(U&&(!(p==="alignment"?M!==oa(U):!1)||R.every(D=>oa(D.placement)===M?D.overflows[0]>0:!0)))return{data:{index:F,overflows:R},reset:{placement:U}};let z=(_=R.filter(B=>B.overflows[0]<=0).sort((B,D)=>B.overflows[1]-D.overflows[1])[0])==null?void 0:_.placement;if(!z)switch(m){case"bestFit":{var T;const B=(T=R.filter(D=>{if(I){const X=oa(D.placement);return X===M||X==="y"}return!0}).map(D=>[D.placement,D.overflows.filter(X=>X>0).reduce((X,ie)=>X+ie,0)]).sort((D,X)=>D[1]-X[1])[0])==null?void 0:T[0];B&&(z=B);break}case"initialPlacement":z=l;break}if(o!==z)return{reset:{placement:z}}}return{}}}};function ML(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function wL(t){return NO.some(e=>t[e]>=0)}const BO=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:r}=e,{strategy:n="referenceHidden",...o}=Ia(t,e);switch(n){case"referenceHidden":{const i=await Uc(e,{...o,elementContext:"reference"}),c=ML(i,r.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:wL(c)}}}case"escaped":{const i=await Uc(e,{...o,altBoundary:!0}),c=ML(i,r.floating);return{data:{escapedOffsets:c,escaped:wL(c)}}}default:return{}}}}},cP=new Set(["left","top"]);async function UO(t,e){const{placement:r,platform:n,elements:o}=t,i=await(n.isRTL==null?void 0:n.isRTL(o.floating)),c=Na(r),l=Zs(r),d=oa(r)==="y",h=cP.has(c)?-1:1,u=i&&d?-1:1,p=Ia(e,t);let{mainAxis:y,crossAxis:m,alignmentAxis:v}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&typeof v=="number"&&(m=l==="end"?v*-1:v),d?{x:m*u,y:y*h}:{x:y*h,y:m*u}}const $O=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 UO(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}}}}},WO=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:g,y:M}=x;return{x:g,y:M}}},...d}=Ia(t,e),h={x:r,y:n},u=await Uc(e,d),p=oa(Na(o)),y=nS(p);let m=h[y],v=h[p];if(i){const x=y==="y"?"top":"left",g=y==="y"?"bottom":"right",M=m+u[x],w=m-u[g];m=YC(M,m,w)}if(c){const x=p==="y"?"top":"left",g=p==="y"?"bottom":"right",M=v+u[x],w=v-u[g];v=YC(M,v,w)}const f=l.fn({...e,[y]:m,[p]:v});return{...f,data:{x:f.x-r,y:f.y-n,enabled:{[y]:i,[p]:c}}}}}},GO=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}=Ia(t,e),u={x:r,y:n},p=oa(o),y=nS(p);let m=u[y],v=u[p];const f=Ia(l,e),x=typeof f=="number"?{mainAxis:f,crossAxis:0}:{mainAxis:0,crossAxis:0,...f};if(d){const w=y==="y"?"height":"width",j=i.reference[y]-i.floating[w]+x.mainAxis,b=i.reference[y]+i.reference[w]-x.mainAxis;m<j?m=j:m>b&&(m=b)}if(h){var g,M;const w=y==="y"?"width":"height",j=cP.has(Na(o)),b=i.reference[p]-i.floating[w]+(j&&((g=c.offset)==null?void 0:g[p])||0)+(j?0:x.crossAxis),I=i.reference[p]+i.reference[w]+(j?0:((M=c.offset)==null?void 0:M[p])||0)-(j?x.crossAxis:0);v<b?v=b:v>I&&(v=I)}return{[y]:m,[p]:v}}}},ZO=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}=Ia(t,e),u=await Uc(e,h),p=Na(o),y=Zs(o),m=oa(o)==="y",{width:v,height:f}=i.floating;let x,g;p==="top"||p==="bottom"?(x=p,g=y===(await(c.isRTL==null?void 0:c.isRTL(l.floating))?"start":"end")?"left":"right"):(g=p,x=y==="end"?"top":"bottom");const M=f-u.top-u.bottom,w=v-u.left-u.right,j=Ja(f-u[x],M),b=Ja(v-u[g],w),I=!e.middlewareData.shift;let S=j,A=b;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(A=w),(n=e.middlewareData.shift)!=null&&n.enabled.y&&(S=M),I&&!y){const R=Ct(u.left,0),P=Ct(u.right,0),_=Ct(u.top,0),T=Ct(u.bottom,0);m?A=v-2*(R!==0||P!==0?R+P:Ct(u.left,u.right)):S=f-2*(_!==0||T!==0?_+T:Ct(u.top,u.bottom))}await d({...e,availableWidth:A,availableHeight:S});const N=await c.getDimensions(l.floating);return v!==N.width||f!==N.height?{reset:{rects:!0}}:{}}}};function Bb(){return typeof window<"u"}function Xs(t){return lP(t)?(t.nodeName||"").toLowerCase():"#document"}function It(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function pa(t){var e;return(e=(lP(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function lP(t){return Bb()?t instanceof Node||t instanceof It(t).Node:!1}function Jt(t){return Bb()?t instanceof Element||t instanceof It(t).Element:!1}function ha(t){return Bb()?t instanceof HTMLElement||t instanceof It(t).HTMLElement:!1}function bL(t){return!Bb()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof It(t).ShadowRoot}const XO=new Set(["inline","contents"]);function Jc(t){const{overflow:e,overflowX:r,overflowY:n,display:o}=Yt(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!XO.has(o)}const JO=new Set(["table","td","th"]);function YO(t){return JO.has(Xs(t))}const KO=[":popover-open",":modal"];function Ub(t){return KO.some(e=>{try{return t.matches(e)}catch{return!1}})}const QO=["transform","translate","scale","rotate","perspective"],eH=["transform","translate","scale","rotate","perspective","filter"],tH=["paint","layout","strict","content"];function sS(t){const e=cS(),r=Jt(t)?Yt(t):t;return QO.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)||eH.some(n=>(r.willChange||"").includes(n))||tH.some(n=>(r.contain||"").includes(n))}function aH(t){let e=Ya(t);for(;ha(e)&&!Os(e);){if(sS(e))return e;if(Ub(e))return null;e=Ya(e)}return null}function cS(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const rH=new Set(["html","body","#document"]);function Os(t){return rH.has(Xs(t))}function Yt(t){return It(t).getComputedStyle(t)}function $b(t){return Jt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Ya(t){if(Xs(t)==="html")return t;const e=t.assignedSlot||t.parentNode||bL(t)&&t.host||pa(t);return bL(e)?e.host:e}function dP(t){const e=Ya(t);return Os(e)?t.ownerDocument?t.ownerDocument.body:t.body:ha(e)&&Jc(e)?e:dP(e)}function $c(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);const o=dP(t),i=o===((n=t.ownerDocument)==null?void 0:n.body),c=It(o);if(i){const l=QC(c);return e.concat(c,c.visualViewport||[],Jc(o)?o:[],l&&r?$c(l):[])}return e.concat(o,$c(o,[],r))}function QC(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function hP(t){const e=Yt(t);let r=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const o=ha(t),i=o?t.offsetWidth:r,c=o?t.offsetHeight:n,l=xb(r)!==i||xb(n)!==c;return l&&(r=i,n=c),{width:r,height:n,$:l}}function lS(t){return Jt(t)?t:t.contextElement}function _s(t){const e=lS(t);if(!ha(e))return la(1);const r=e.getBoundingClientRect(),{width:n,height:o,$:i}=hP(e);let c=(i?xb(r.width):r.width)/n,l=(i?xb(r.height):r.height)/o;return(!c||!Number.isFinite(c))&&(c=1),(!l||!Number.isFinite(l))&&(l=1),{x:c,y:l}}const nH=la(0);function uP(t){const e=It(t);return!cS()||!e.visualViewport?nH:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function oH(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==It(t)?!1:e}function Wi(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);const o=t.getBoundingClientRect(),i=lS(t);let c=la(1);e&&(n?Jt(n)&&(c=_s(n)):c=_s(t));const l=oH(i,r,n)?uP(i):la(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=It(i),m=n&&Jt(n)?It(n):n;let v=y,f=QC(v);for(;f&&n&&m!==v;){const x=_s(f),g=f.getBoundingClientRect(),M=Yt(f),w=g.left+(f.clientLeft+parseFloat(M.paddingLeft))*x.x,j=g.top+(f.clientTop+parseFloat(M.paddingTop))*x.y;d*=x.x,h*=x.y,u*=x.x,p*=x.y,d+=w,h+=j,v=It(f),f=QC(v)}}return gb({width:u,height:p,x:d,y:h})}function Wb(t,e){const r=$b(t).scrollLeft;return e?e.left+r:Wi(pa(t)).left+r}function pP(t,e){const r=t.getBoundingClientRect(),n=r.left+e.scrollLeft-Wb(t,r),o=r.top+e.scrollTop;return{x:n,y:o}}function iH(t){let{elements:e,rect:r,offsetParent:n,strategy:o}=t;const i=o==="fixed",c=pa(n),l=e?Ub(e.floating):!1;if(n===c||l&&i)return r;let d={scrollLeft:0,scrollTop:0},h=la(1);const u=la(0),p=ha(n);if((p||!p&&!i)&&((Xs(n)!=="body"||Jc(c))&&(d=$b(n)),ha(n))){const m=Wi(n);h=_s(n),u.x=m.x+n.clientLeft,u.y=m.y+n.clientTop}const y=c&&!p&&!i?pP(c,d):la(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 sH(t){return Array.from(t.getClientRects())}function cH(t){const e=pa(t),r=$b(t),n=t.ownerDocument.body,o=Ct(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=Ct(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let c=-r.scrollLeft+Wb(t);const l=-r.scrollTop;return Yt(n).direction==="rtl"&&(c+=Ct(e.clientWidth,n.clientWidth)-o),{width:o,height:i,x:c,y:l}}const CL=25;function lH(t,e){const r=It(t),n=pa(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=cS();(!u||u&&e==="fixed")&&(l=o.offsetLeft,d=o.offsetTop)}const h=Wb(n);if(h<=0){const u=n.ownerDocument,p=u.body,y=getComputedStyle(p),m=u.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,v=Math.abs(n.clientWidth-p.clientWidth-m);v<=CL&&(i-=v)}else h<=CL&&(i+=h);return{width:i,height:c,x:l,y:d}}const dH=new Set(["absolute","fixed"]);function hH(t,e){const r=Wi(t,!0,e==="fixed"),n=r.top+t.clientTop,o=r.left+t.clientLeft,i=ha(t)?_s(t):la(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 jL(t,e,r){let n;if(e==="viewport")n=lH(t,r);else if(e==="document")n=cH(pa(t));else if(Jt(e))n=hH(e,r);else{const o=uP(t);n={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return gb(n)}function yP(t,e){const r=Ya(t);return r===e||!Jt(r)||Os(r)?!1:Yt(r).position==="fixed"||yP(r,e)}function uH(t,e){const r=e.get(t);if(r)return r;let n=$c(t,[],!1).filter(l=>Jt(l)&&Xs(l)!=="body"),o=null;const i=Yt(t).position==="fixed";let c=i?Ya(t):t;for(;Jt(c)&&!Os(c);){const l=Yt(c),d=sS(c);!d&&l.position==="fixed"&&(o=null),(i?!d&&!o:!d&&l.position==="static"&&!!o&&dH.has(o.position)||Jc(c)&&!d&&yP(t,c))?n=n.filter(u=>u!==c):o=l,c=Ya(c)}return e.set(t,n),n}function pH(t){let{element:e,boundary:r,rootBoundary:n,strategy:o}=t;const c=[...r==="clippingAncestors"?Ub(e)?[]:uH(e,this._c):[].concat(r),n],l=c[0],d=c.reduce((h,u)=>{const p=jL(e,u,o);return h.top=Ct(p.top,h.top),h.right=Ja(p.right,h.right),h.bottom=Ja(p.bottom,h.bottom),h.left=Ct(p.left,h.left),h},jL(e,l,o));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function yH(t){const{width:e,height:r}=hP(t);return{width:e,height:r}}function mH(t,e,r){const n=ha(e),o=pa(e),i=r==="fixed",c=Wi(t,!0,i,e);let l={scrollLeft:0,scrollTop:0};const d=la(0);function h(){d.x=Wb(o)}if(n||!n&&!i)if((Xs(e)!=="body"||Jc(o))&&(l=$b(e)),n){const m=Wi(e,!0,i,e);d.x=m.x+e.clientLeft,d.y=m.y+e.clientTop}else o&&h();i&&!n&&o&&h();const u=o&&!n&&!i?pP(o,l):la(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 bC(t){return Yt(t).position==="static"}function SL(t,e){if(!ha(t)||Yt(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return pa(t)===r&&(r=r.ownerDocument.body),r}function mP(t,e){const r=It(t);if(Ub(t))return r;if(!ha(t)){let o=Ya(t);for(;o&&!Os(o);){if(Jt(o)&&!bC(o))return o;o=Ya(o)}return r}let n=SL(t,e);for(;n&&YO(n)&&bC(n);)n=SL(n,e);return n&&Os(n)&&bC(n)&&!sS(n)?r:n||aH(t)||r}const fH=async function(t){const e=this.getOffsetParent||mP,r=this.getDimensions,n=await r(t.floating);return{reference:mH(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function xH(t){return Yt(t).direction==="rtl"}const kH={convertOffsetParentRelativeRectToViewportRelativeRect:iH,getDocumentElement:pa,getClippingRect:pH,getOffsetParent:mP,getElementRects:fH,getClientRects:sH,getDimensions:yH,getScale:_s,isElement:Jt,isRTL:xH};function fP(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function gH(t,e){let r=null,n;const o=pa(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:m}=h;if(l||e(),!y||!m)return;const v=d1(p),f=d1(o.clientWidth-(u+y)),x=d1(o.clientHeight-(p+m)),g=d1(u),w={rootMargin:-v+"px "+-f+"px "+-x+"px "+-g+"px",threshold:Ct(0,Ja(1,d))||1};let j=!0;function b(I){const S=I[0].intersectionRatio;if(S!==d){if(!j)return c();S?c(!1,S):n=setTimeout(()=>{c(!1,1e-7)},1e3)}S===1&&!fP(h,t.getBoundingClientRect())&&c(),j=!1}try{r=new IntersectionObserver(b,{...w,root:o.ownerDocument})}catch{r=new IntersectionObserver(b,w)}r.observe(t)}return c(!0),i}function vH(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=lS(t),u=o||i?[...h?$c(h):[],...$c(e)]:[];u.forEach(g=>{o&&g.addEventListener("scroll",r,{passive:!0}),i&&g.addEventListener("resize",r)});const p=h&&l?gH(h,r):null;let y=-1,m=null;c&&(m=new ResizeObserver(g=>{let[M]=g;M&&M.target===h&&m&&(m.unobserve(e),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var w;(w=m)==null||w.observe(e)})),r()}),h&&!d&&m.observe(h),m.observe(e));let v,f=d?Wi(t):null;d&&x();function x(){const g=Wi(t);f&&!fP(f,g)&&r(),f=g,v=requestAnimationFrame(x)}return r(),()=>{var g;u.forEach(M=>{o&&M.removeEventListener("scroll",r),i&&M.removeEventListener("resize",r)}),p==null||p(),(g=m)==null||g.disconnect(),m=null,d&&cancelAnimationFrame(v)}}const MH=$O,wH=WO,bH=VO,CH=ZO,jH=BO,LL=HO,SH=GO,LH=(t,e,r)=>{const n=new Map,o={platform:kH,...r},i={...o.platform,_c:n};return OO(t,e,{...o,platform:i})};var IH=typeof document<"u",NH=function(){},ob=IH?C.useLayoutEffect:NH;function vb(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(!vb(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)&&!vb(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function xP(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function IL(t,e){const r=xP(t);return Math.round(e*r)/r}function CC(t){const e=k.useRef(t);return ob(()=>{e.current=t}),e}function AH(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]=k.useState({x:0,y:0,strategy:r,placement:e,middlewareData:{},isPositioned:!1}),[y,m]=k.useState(n);vb(y,n)||m(n);const[v,f]=k.useState(null),[x,g]=k.useState(null),M=k.useCallback(D=>{D!==I.current&&(I.current=D,f(D))},[]),w=k.useCallback(D=>{D!==S.current&&(S.current=D,g(D))},[]),j=i||v,b=c||x,I=k.useRef(null),S=k.useRef(null),A=k.useRef(u),N=d!=null,R=CC(d),P=CC(o),_=CC(h),T=k.useCallback(()=>{if(!I.current||!S.current)return;const D={placement:e,strategy:r,middleware:y};P.current&&(D.platform=P.current),LH(I.current,S.current,D).then(X=>{const ie={...X,isPositioned:_.current!==!1};F.current&&!vb(A.current,ie)&&(A.current=ie,bb.flushSync(()=>{p(ie)}))})},[y,e,r,P,_]);ob(()=>{h===!1&&A.current.isPositioned&&(A.current.isPositioned=!1,p(D=>({...D,isPositioned:!1})))},[h]);const F=k.useRef(!1);ob(()=>(F.current=!0,()=>{F.current=!1}),[]),ob(()=>{if(j&&(I.current=j),b&&(S.current=b),j&&b){if(R.current)return R.current(j,b,T);T()}},[j,b,T,R,N]);const U=k.useMemo(()=>({reference:I,floating:S,setReference:M,setFloating:w}),[M,w]),z=k.useMemo(()=>({reference:j,floating:b}),[j,b]),B=k.useMemo(()=>{const D={position:r,left:0,top:0};if(!z.floating)return D;const X=IL(z.floating,u.x),ie=IL(z.floating,u.y);return l?{...D,transform:"translate("+X+"px, "+ie+"px)",...xP(z.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:X,top:ie}},[r,l,z.floating,u.x,u.y]);return k.useMemo(()=>({...u,update:T,refs:U,elements:z,floatingStyles:B}),[u,T,U,z,B])}const PH=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?LL({element:n.current,padding:o}).fn(r):{}:n?LL({element:n,padding:o}).fn(r):{}}}},_H=(t,e)=>({...MH(t),options:[t,e]}),TH=(t,e)=>({...wH(t),options:[t,e]}),RH=(t,e)=>({...SH(t),options:[t,e]}),qH=(t,e)=>({...bH(t),options:[t,e]}),DH=(t,e)=>({...CH(t),options:[t,e]}),zH=(t,e)=>({...jH(t),options:[t,e]}),FH=(t,e)=>({...PH(t),options:[t,e]});var EH=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],OH=EH.reduce((t,e)=>{const r=Ye(`Primitive.${e}`),n=k.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}},{}),HH="Arrow",kP=k.forwardRef((t,e)=>{const{children:r,width:n=10,height:o=5,...i}=t;return a.jsx(OH.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"})})});kP.displayName=HH;var VH=kP;function NL(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function BH(...t){return e=>{let r=!1;const n=t.map(o=>{const i=NL(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():NL(t[o],null)}}}}function gP(...t){return k.useCallback(BH(...t),t)}function UH(t,e=[]){let r=[];function n(i,c){const l=k.createContext(c),d=r.length;r=[...r,c];const h=p=>{var g;const{scope:y,children:m,...v}=p,f=((g=y==null?void 0:y[t])==null?void 0:g[d])||l,x=k.useMemo(()=>v,Object.values(v));return a.jsx(f.Provider,{value:x,children:m})};h.displayName=i+"Provider";function u(p,y){var f;const m=((f=y==null?void 0:y[t])==null?void 0:f[d])||l,v=k.useContext(m);if(v)return v;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=>k.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return k.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,$H(o,...e)]}function $H(...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 k.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var WH=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],vP=WH.reduce((t,e)=>{const r=Ye(`Primitive.${e}`),n=k.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 GH(t){const e=k.useRef(t);return k.useEffect(()=>{e.current=t}),k.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}var AL=globalThis!=null&&globalThis.document?k.useLayoutEffect:()=>{},dS="Popper",[MP,Gb]=UH(dS),[ZH,wP]=MP(dS),bP=t=>{const{__scopePopper:e,children:r}=t,[n,o]=k.useState(null);return a.jsx(ZH,{scope:e,anchor:n,onAnchorChange:o,children:r})};bP.displayName=dS;var CP="PopperAnchor",jP=k.forwardRef((t,e)=>{const{__scopePopper:r,virtualRef:n,...o}=t,i=wP(CP,r),c=k.useRef(null),l=gP(e,c),d=k.useRef(null);return k.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(vP.div,{...o,ref:l})});jP.displayName=CP;var hS="PopperContent",[XH,JH]=MP(hS),SP=k.forwardRef((t,e)=>{var G,ae,ve,se,ue,le;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:m="optimized",onPlaced:v,...f}=t,x=wP(hS,r),[g,M]=k.useState(null),w=gP(e,He=>M(He)),[j,b]=k.useState(null),I=Kj(j),S=(I==null?void 0:I.width)??0,A=(I==null?void 0:I.height)??0,N=n+(i!=="center"?"-"+i:""),R=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},P=Array.isArray(h)?h:[h],_=P.length>0,T={padding:R,boundary:P.filter(KH),altBoundary:_},{refs:F,floatingStyles:U,placement:z,isPositioned:B,middlewareData:D}=AH({strategy:"fixed",placement:N,whileElementsMounted:(...He)=>vH(...He,{animationFrame:m==="always"}),elements:{reference:x.anchor},middleware:[_H({mainAxis:o+A,alignmentAxis:c}),d&&TH({mainAxis:!0,crossAxis:!1,limiter:p==="partial"?RH():void 0,...T}),d&&qH({...T}),DH({...T,apply:({elements:He,rects:Ie,availableWidth:H,availableHeight:E})=>{const{width:K,height:je}=Ie.reference,fe=He.floating.style;fe.setProperty("--radix-popper-available-width",`${H}px`),fe.setProperty("--radix-popper-available-height",`${E}px`),fe.setProperty("--radix-popper-anchor-width",`${K}px`),fe.setProperty("--radix-popper-anchor-height",`${je}px`)}}),j&&FH({element:j,padding:l}),QH({arrowWidth:S,arrowHeight:A}),y&&zH({strategy:"referenceHidden",...T})]}),[X,ie]=NP(z),ee=GH(v);AL(()=>{B&&(ee==null||ee())},[B,ee]);const Re=(G=D.arrow)==null?void 0:G.x,J=(ae=D.arrow)==null?void 0:ae.y,Y=((ve=D.arrow)==null?void 0:ve.centerOffset)!==0,[Q,te]=k.useState();return AL(()=>{g&&te(window.getComputedStyle(g).zIndex)},[g]),a.jsx("div",{ref:F.setFloating,"data-radix-popper-content-wrapper":"",style:{...U,transform:B?U.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Q,"--radix-popper-transform-origin":[(se=D.transformOrigin)==null?void 0:se.x,(ue=D.transformOrigin)==null?void 0:ue.y].join(" "),...((le=D.hide)==null?void 0:le.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:a.jsx(XH,{scope:r,placedSide:X,onArrowChange:b,arrowX:Re,arrowY:J,shouldHideArrow:Y,children:a.jsx(vP.div,{"data-side":X,"data-align":ie,...f,ref:w,style:{...f.style,animation:B?void 0:"none"}})})})});SP.displayName=hS;var LP="PopperArrow",YH={top:"bottom",right:"left",bottom:"top",left:"right"},IP=k.forwardRef(function(e,r){const{__scopePopper:n,...o}=e,i=JH(LP,n),c=YH[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(VH,{...o,ref:r,style:{...o.style,display:"block"}})})});IP.displayName=LP;function KH(t){return t!==null}var QH=t=>({name:"transformOrigin",options:t,fn(e){var x,g,M;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]=NP(r),p={start:"0%",center:"50%",end:"100%"}[u],y=(((g=o.arrow)==null?void 0:g.x)??0)+l/2,m=(((M=o.arrow)==null?void 0:M.y)??0)+d/2;let v="",f="";return h==="bottom"?(v=c?p:`${y}px`,f=`${-d}px`):h==="top"?(v=c?p:`${y}px`,f=`${n.floating.height+d}px`):h==="right"?(v=`${-d}px`,f=c?p:`${m}px`):h==="left"&&(v=`${n.floating.width+d}px`,f=c?p:`${m}px`),{data:{x:v,y:f}}}});function NP(t){const[e,r="center"]=t.split("-");return[e,r]}var AP=bP,uS=jP,PP=SP,_P=IP;function eV(t,e){return k.useReducer((r,n)=>e[r][n]??r,t)}var pS=t=>{const{present:e,children:r}=t,n=tV(e),o=typeof r=="function"?r({present:n.isPresent}):k.Children.only(r),i=rS(n.ref,aV(o));return typeof r=="function"||n.isPresent?k.cloneElement(o,{ref:i}):null};pS.displayName="Presence";function tV(t){const[e,r]=k.useState(),n=k.useRef(null),o=k.useRef(t),i=k.useRef("none"),c=t?"mounted":"unmounted",[l,d]=eV(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return k.useEffect(()=>{const h=h1(n.current);i.current=l==="mounted"?h:"none"},[l]),fb(()=>{const h=n.current,u=o.current;if(u!==t){const y=i.current,m=h1(h);t?d("MOUNT"):m==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&y!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,d]),fb(()=>{if(e){let h;const u=e.ownerDocument.defaultView??window,p=m=>{const f=h1(n.current).includes(CSS.escape(m.animationName));if(m.target===e&&f&&(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=m=>{m.target===e&&(i.current=h1(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:k.useCallback(h=>{n.current=h?getComputedStyle(h):null,r(h)},[])}}function h1(t){return(t==null?void 0:t.animationName)||"none"}function aV(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 rV=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],TP=rV.reduce((t,e)=>{const r=Ye(`Primitive.${e}`),n=k.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}},{}),nV=k[" useInsertionEffect ".trim().toString()]||fb;function oV({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[o,i,c]=iV({defaultProp:e,onChange:r}),l=t!==void 0,d=l?t:o;{const u=k.useRef(t!==void 0);k.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=k.useCallback(u=>{var p;if(l){const y=sV(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 iV({defaultProp:t,onChange:e}){const[r,n]=k.useState(t),o=k.useRef(r),i=k.useRef(e);return nV(()=>{i.current=e},[e]),k.useEffect(()=>{var c;o.current!==r&&((c=i.current)==null||c.call(i,r),o.current=r)},[r,o]),[r,n,i]}function sV(t){return typeof t=="function"}var Zb="Popover",[RP,nU]=CO(Zb,[Gb]),Yc=Gb(),[cV,er]=RP(Zb),qP=t=>{const{__scopePopover:e,children:r,open:n,defaultOpen:o,onOpenChange:i,modal:c=!1}=t,l=Yc(e),d=k.useRef(null),[h,u]=k.useState(!1),[p,y]=oV({prop:n,defaultProp:o??!1,onChange:i,caller:Zb});return a.jsx(AP,{...l,children:a.jsx(cV,{scope:e,contentId:IO(),triggerRef:d,open:p,onOpenChange:y,onOpenToggle:k.useCallback(()=>y(m=>!m),[y]),hasCustomAnchor:h,onCustomAnchorAdd:k.useCallback(()=>u(!0),[]),onCustomAnchorRemove:k.useCallback(()=>u(!1),[]),modal:c,children:r})})};qP.displayName=Zb;var DP="PopoverAnchor",lV=k.forwardRef((t,e)=>{const{__scopePopover:r,...n}=t,o=er(DP,r),i=Yc(r),{onCustomAnchorAdd:c,onCustomAnchorRemove:l}=o;return k.useEffect(()=>(c(),()=>l()),[c,l]),a.jsx(uS,{...i,...n,ref:e})});lV.displayName=DP;var zP="PopoverTrigger",FP=k.forwardRef((t,e)=>{const{__scopePopover:r,...n}=t,o=er(zP,r),i=Yc(r),c=rS(e,o.triggerRef),l=a.jsx(TP.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":BP(o.open),...n,ref:c,onClick:qc(t.onClick,o.onOpenToggle)});return o.hasCustomAnchor?l:a.jsx(uS,{asChild:!0,...i,children:l})});FP.displayName=zP;var yS="PopoverPortal",[dV,hV]=RP(yS,{forceMount:void 0}),EP=t=>{const{__scopePopover:e,forceMount:r,children:n,container:o}=t,i=er(yS,e);return a.jsx(dV,{scope:e,forceMount:r,children:a.jsx(pS,{present:r||i.open,children:a.jsx(Tb,{asChild:!0,container:o,children:n})})})};EP.displayName=yS;var Hs="PopoverContent",OP=k.forwardRef((t,e)=>{const r=hV(Hs,t.__scopePopover),{forceMount:n=r.forceMount,...o}=t,i=er(Hs,t.__scopePopover);return a.jsx(pS,{present:n||i.open,children:i.modal?a.jsx(pV,{...o,ref:e}):a.jsx(yV,{...o,ref:e})})});OP.displayName=Hs;var uV=Ye("PopoverContent.RemoveScroll"),pV=k.forwardRef((t,e)=>{const r=er(Hs,t.__scopePopover),n=k.useRef(null),o=rS(e,n),i=k.useRef(!1);return k.useEffect(()=>{const c=n.current;if(c)return Oj(c)},[]),a.jsx(Db,{as:uV,allowPinchZoom:!0,children:a.jsx(HP,{...t,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:qc(t.onCloseAutoFocus,c=>{var l;c.preventDefault(),i.current||(l=r.triggerRef.current)==null||l.focus()}),onPointerDownOutside:qc(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:qc(t.onFocusOutside,c=>c.preventDefault(),{checkForDefaultPrevented:!1})})})}),yV=k.forwardRef((t,e)=>{const r=er(Hs,t.__scopePopover),n=k.useRef(!1),o=k.useRef(!1);return a.jsx(HP,{...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()}})}),HP=k.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=er(Hs,r),m=Yc(r);return Ej(),a.jsx(_b,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:i,children:a.jsx(Pb,{asChild:!0,disableOutsidePointerEvents:c,onInteractOutside:u,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:h,onDismiss:()=>y.onOpenChange(!1),children:a.jsx(PP,{"data-state":BP(y.open),role:"dialog",id:y.contentId,...m,...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)"}})})})}),VP="PopoverClose",mV=k.forwardRef((t,e)=>{const{__scopePopover:r,...n}=t,o=er(VP,r);return a.jsx(TP.button,{type:"button",...n,ref:e,onClick:qc(t.onClick,()=>o.onOpenChange(!1))})});mV.displayName=VP;var fV="PopoverArrow",xV=k.forwardRef((t,e)=>{const{__scopePopover:r,...n}=t,o=Yc(r);return a.jsx(_P,{...o,...n,ref:e})});xV.displayName=fV;function BP(t){return t?"open":"closed"}var kV=qP,gV=FP,vV=EP,UP=OP;const MV=kV,wV=gV,$P=k.forwardRef(({className:t,align:e="center",sideOffset:r=4,...n},o)=>a.jsx(vV,{children:a.jsx(UP,{ref:o,align:e,sideOffset:r,className:oe("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})}));$P.displayName=UP.displayName;const WP=k.forwardRef(({className:t,...e},r)=>a.jsx("textarea",{className:oe("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}));WP.displayName="Textarea";function PL(t,[e,r]){return Math.min(r,Math.max(e,t))}function rt(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 GP(t,e=[]){let r=[];function n(i,c){const l=k.createContext(c),d=r.length;r=[...r,c];const h=p=>{var g;const{scope:y,children:m,...v}=p,f=((g=y==null?void 0:y[t])==null?void 0:g[d])||l,x=k.useMemo(()=>v,Object.values(v));return a.jsx(f.Provider,{value:x,children:m})};h.displayName=i+"Provider";function u(p,y){var f;const m=((f=y==null?void 0:y[t])==null?void 0:f[d])||l,v=k.useContext(m);if(v)return v;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=>k.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return k.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,bV(o,...e)]}function bV(...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 k.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function _L(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function CV(...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 Ht(...t){return k.useCallback(CV(...t),t)}function jV(t){const e=t+"CollectionProvider",[r,n]=GP(e),[o,i]=r(e,{collectionRef:{current:null},itemMap:new Map}),c=f=>{const{scope:x,children:g}=f,M=C.useRef(null),w=C.useRef(new Map).current;return a.jsx(o,{scope:x,itemMap:w,collectionRef:M,children:g})};c.displayName=e;const l=t+"CollectionSlot",d=Ye(l),h=C.forwardRef((f,x)=>{const{scope:g,children:M}=f,w=i(l,g),j=Ht(x,w.collectionRef);return a.jsx(d,{ref:j,children:M})});h.displayName=l;const u=t+"CollectionItemSlot",p="data-radix-collection-item",y=Ye(u),m=C.forwardRef((f,x)=>{const{scope:g,children:M,...w}=f,j=C.useRef(null),b=Ht(x,j),I=i(u,g);return C.useEffect(()=>(I.itemMap.set(j,{ref:j,...w}),()=>void I.itemMap.delete(j))),a.jsx(y,{[p]:"",ref:b,children:M})});m.displayName=u;function v(f){const x=i(t+"CollectionConsumer",f);return C.useCallback(()=>{const M=x.collectionRef.current;if(!M)return[];const w=Array.from(M.querySelectorAll(`[${p}]`));return Array.from(x.itemMap.values()).sort((I,S)=>w.indexOf(I.ref.current)-w.indexOf(S.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:c,Slot:h,ItemSlot:m},v,n]}var SV=k.createContext(void 0);function LV(t){const e=k.useContext(SV);return t||e||"ltr"}var ua=globalThis!=null&&globalThis.document?k.useLayoutEffect:()=>{},IV=k[" useId ".trim().toString()]||(()=>{}),NV=0;function mS(t){const[e,r]=k.useState(IV());return ua(()=>{r(n=>n??String(NV++))},[t]),e?`radix-${e}`:""}var AV=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],At=AV.reduce((t,e)=>{const r=Ye(`Primitive.${e}`),n=k.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 PV(t){const e=k.useRef(t);return k.useEffect(()=>{e.current=t}),k.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}var _V=k[" useInsertionEffect ".trim().toString()]||ua;function TL({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[o,i,c]=TV({defaultProp:e,onChange:r}),l=t!==void 0,d=l?t:o;{const u=k.useRef(t!==void 0);k.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=k.useCallback(u=>{var p;if(l){const y=RV(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 TV({defaultProp:t,onChange:e}){const[r,n]=k.useState(t),o=k.useRef(r),i=k.useRef(e);return _V(()=>{i.current=e},[e]),k.useEffect(()=>{var c;o.current!==r&&((c=i.current)==null||c.call(i,r),o.current=r)},[r,o]),[r,n,i]}function RV(t){return typeof t=="function"}var qV=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],DV=qV.reduce((t,e)=>{const r=Ye(`Primitive.${e}`),n=k.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}},{}),ZP=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"}),zV="VisuallyHidden",FV=k.forwardRef((t,e)=>a.jsx(DV.span,{...t,ref:e,style:{...ZP,...t.style}}));FV.displayName=zV;var EV=[" ","Enter","ArrowUp","ArrowDown"],OV=[" ","Enter"],Gi="Select",[Xb,Jb,HV]=jV(Gi),[Js,oU]=GP(Gi,[HV,Gb]),Yb=Gb(),[VV,tr]=Js(Gi),[BV,UV]=Js(Gi),XP=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:m,form:v}=t,f=Yb(e),[x,g]=k.useState(null),[M,w]=k.useState(null),[j,b]=k.useState(!1),I=LV(h),[S,A]=TL({prop:n,defaultProp:o??!1,onChange:i,caller:Gi}),[N,R]=TL({prop:c,defaultProp:l,onChange:d,caller:Gi}),P=k.useRef(null),_=x?v||!!x.closest("form"):!0,[T,F]=k.useState(new Set),U=Array.from(T).map(z=>z.props.value).join(";");return a.jsx(AP,{...f,children:a.jsxs(VV,{required:m,scope:e,trigger:x,onTriggerChange:g,valueNode:M,onValueNodeChange:w,valueNodeHasChildren:j,onValueNodeHasChildrenChange:b,contentId:mS(),value:N,onValueChange:R,open:S,onOpenChange:A,dir:I,triggerPointerDownPosRef:P,disabled:y,children:[a.jsx(Xb.Provider,{scope:e,children:a.jsx(BV,{scope:t.__scopeSelect,onNativeOptionAdd:k.useCallback(z=>{F(B=>new Set(B).add(z))},[]),onNativeOptionRemove:k.useCallback(z=>{F(B=>{const D=new Set(B);return D.delete(z),D})},[]),children:r})}),_?a.jsxs(g_,{"aria-hidden":!0,required:m,tabIndex:-1,name:u,autoComplete:p,value:N,onChange:z=>R(z.target.value),disabled:y,form:v,children:[N===void 0?a.jsx("option",{value:""}):null,Array.from(T)]},U):null]})})};XP.displayName=Gi;var JP="SelectTrigger",YP=k.forwardRef((t,e)=>{const{__scopeSelect:r,disabled:n=!1,...o}=t,i=Yb(r),c=tr(JP,r),l=c.disabled||n,d=Ht(e,c.onTriggerChange),h=Jb(r),u=k.useRef("touch"),[p,y,m]=M_(f=>{const x=h().filter(w=>!w.disabled),g=x.find(w=>w.value===c.value),M=w_(x,f,g);M!==void 0&&c.onValueChange(M.value)}),v=f=>{l||(c.onOpenChange(!0),m()),f&&(c.triggerPointerDownPosRef.current={x:Math.round(f.pageX),y:Math.round(f.pageY)})};return a.jsx(uS,{asChild:!0,...i,children:a.jsx(At.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":v_(c.value)?"":void 0,...o,ref:d,onClick:rt(o.onClick,f=>{f.currentTarget.focus(),u.current!=="mouse"&&v(f)}),onPointerDown:rt(o.onPointerDown,f=>{u.current=f.pointerType;const x=f.target;x.hasPointerCapture(f.pointerId)&&x.releasePointerCapture(f.pointerId),f.button===0&&f.ctrlKey===!1&&f.pointerType==="mouse"&&(v(f),f.preventDefault())}),onKeyDown:rt(o.onKeyDown,f=>{const x=p.current!=="";!(f.ctrlKey||f.altKey||f.metaKey)&&f.key.length===1&&y(f.key),!(x&&f.key===" ")&&EV.includes(f.key)&&(v(),f.preventDefault())})})})});YP.displayName=JP;var KP="SelectValue",QP=k.forwardRef((t,e)=>{const{__scopeSelect:r,className:n,style:o,children:i,placeholder:c="",...l}=t,d=tr(KP,r),{onValueNodeHasChildrenChange:h}=d,u=i!==void 0,p=Ht(e,d.onValueNodeChange);return ua(()=>{h(u)},[h,u]),a.jsx(At.span,{...l,ref:p,style:{pointerEvents:"none"},children:v_(d.value)?a.jsx(a.Fragment,{children:c}):i})});QP.displayName=KP;var $V="SelectIcon",e_=k.forwardRef((t,e)=>{const{__scopeSelect:r,children:n,...o}=t;return a.jsx(At.span,{"aria-hidden":!0,...o,ref:e,children:n||"▼"})});e_.displayName=$V;var WV="SelectPortal",t_=t=>a.jsx(Tb,{asChild:!0,...t});t_.displayName=WV;var Zi="SelectContent",a_=k.forwardRef((t,e)=>{const r=tr(Zi,t.__scopeSelect),[n,o]=k.useState();if(ua(()=>{o(new DocumentFragment)},[]),!r.open){const i=n;return i?bb.createPortal(a.jsx(r_,{scope:t.__scopeSelect,children:a.jsx(Xb.Slot,{scope:t.__scopeSelect,children:a.jsx("div",{children:t.children})})}),i):null}return a.jsx(n_,{...t,ref:e})});a_.displayName=Zi;var $t=10,[r_,ar]=Js(Zi),GV="SelectContentImpl",ZV=Ye("SelectContent.RemoveScroll"),n_=k.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:m,sticky:v,hideWhenDetached:f,avoidCollisions:x,...g}=t,M=tr(Zi,r),[w,j]=k.useState(null),[b,I]=k.useState(null),S=Ht(e,G=>j(G)),[A,N]=k.useState(null),[R,P]=k.useState(null),_=Jb(r),[T,F]=k.useState(!1),U=k.useRef(!1);k.useEffect(()=>{if(w)return Oj(w)},[w]),Ej();const z=k.useCallback(G=>{const[ae,...ve]=_().map(le=>le.ref.current),[se]=ve.slice(-1),ue=document.activeElement;for(const le of G)if(le===ue||(le==null||le.scrollIntoView({block:"nearest"}),le===ae&&b&&(b.scrollTop=0),le===se&&b&&(b.scrollTop=b.scrollHeight),le==null||le.focus(),document.activeElement!==ue))return},[_,b]),B=k.useCallback(()=>z([A,w]),[z,A,w]);k.useEffect(()=>{T&&B()},[T,B]);const{onOpenChange:D,triggerPointerDownPosRef:X}=M;k.useEffect(()=>{if(w){let G={x:0,y:0};const ae=se=>{var ue,le;G={x:Math.abs(Math.round(se.pageX)-(((ue=X.current)==null?void 0:ue.x)??0)),y:Math.abs(Math.round(se.pageY)-(((le=X.current)==null?void 0:le.y)??0))}},ve=se=>{G.x<=10&&G.y<=10?se.preventDefault():w.contains(se.target)||D(!1),document.removeEventListener("pointermove",ae),X.current=null};return X.current!==null&&(document.addEventListener("pointermove",ae),document.addEventListener("pointerup",ve,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",ae),document.removeEventListener("pointerup",ve,{capture:!0})}}},[w,D,X]),k.useEffect(()=>{const G=()=>D(!1);return window.addEventListener("blur",G),window.addEventListener("resize",G),()=>{window.removeEventListener("blur",G),window.removeEventListener("resize",G)}},[D]);const[ie,ee]=M_(G=>{const ae=_().filter(ue=>!ue.disabled),ve=ae.find(ue=>ue.ref.current===document.activeElement),se=w_(ae,G,ve);se&&setTimeout(()=>se.ref.current.focus())}),Re=k.useCallback((G,ae,ve)=>{const se=!U.current&&!ve;(M.value!==void 0&&M.value===ae||se)&&(N(G),se&&(U.current=!0))},[M.value]),J=k.useCallback(()=>w==null?void 0:w.focus(),[w]),Y=k.useCallback((G,ae,ve)=>{const se=!U.current&&!ve;(M.value!==void 0&&M.value===ae||se)&&P(G)},[M.value]),Q=n==="popper"?ej:o_,te=Q===ej?{side:l,sideOffset:d,align:h,alignOffset:u,arrowPadding:p,collisionBoundary:y,collisionPadding:m,sticky:v,hideWhenDetached:f,avoidCollisions:x}:{};return a.jsx(r_,{scope:r,content:w,viewport:b,onViewportChange:I,itemRefCallback:Re,selectedItem:A,onItemLeave:J,itemTextRefCallback:Y,focusSelectedItem:B,selectedItemText:R,position:n,isPositioned:T,searchRef:ie,children:a.jsx(Db,{as:ZV,allowPinchZoom:!0,children:a.jsx(_b,{asChild:!0,trapped:M.open,onMountAutoFocus:G=>{G.preventDefault()},onUnmountAutoFocus:rt(o,G=>{var ae;(ae=M.trigger)==null||ae.focus({preventScroll:!0}),G.preventDefault()}),children:a.jsx(Pb,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:c,onFocusOutside:G=>G.preventDefault(),onDismiss:()=>M.onOpenChange(!1),children:a.jsx(Q,{role:"listbox",id:M.contentId,"data-state":M.open?"open":"closed",dir:M.dir,onContextMenu:G=>G.preventDefault(),...g,...te,onPlaced:()=>F(!0),ref:S,style:{display:"flex",flexDirection:"column",outline:"none",...g.style},onKeyDown:rt(g.onKeyDown,G=>{const ae=G.ctrlKey||G.altKey||G.metaKey;if(G.key==="Tab"&&G.preventDefault(),!ae&&G.key.length===1&&ee(G.key),["ArrowUp","ArrowDown","Home","End"].includes(G.key)){let se=_().filter(ue=>!ue.disabled).map(ue=>ue.ref.current);if(["ArrowUp","End"].includes(G.key)&&(se=se.slice().reverse()),["ArrowUp","ArrowDown"].includes(G.key)){const ue=G.target,le=se.indexOf(ue);se=se.slice(le+1)}setTimeout(()=>z(se)),G.preventDefault()}})})})})})})});n_.displayName=GV;var XV="SelectItemAlignedPosition",o_=k.forwardRef((t,e)=>{const{__scopeSelect:r,onPlaced:n,...o}=t,i=tr(Zi,r),c=ar(Zi,r),[l,d]=k.useState(null),[h,u]=k.useState(null),p=Ht(e,S=>u(S)),y=Jb(r),m=k.useRef(!1),v=k.useRef(!0),{viewport:f,selectedItem:x,selectedItemText:g,focusSelectedItem:M}=c,w=k.useCallback(()=>{if(i.trigger&&i.valueNode&&l&&h&&f&&x&&g){const S=i.trigger.getBoundingClientRect(),A=h.getBoundingClientRect(),N=i.valueNode.getBoundingClientRect(),R=g.getBoundingClientRect();if(i.dir!=="rtl"){const ue=R.left-A.left,le=N.left-ue,He=S.left-le,Ie=S.width+He,H=Math.max(Ie,A.width),E=window.innerWidth-$t,K=PL(le,[$t,Math.max($t,E-H)]);l.style.minWidth=Ie+"px",l.style.left=K+"px"}else{const ue=A.right-R.right,le=window.innerWidth-N.right-ue,He=window.innerWidth-S.right-le,Ie=S.width+He,H=Math.max(Ie,A.width),E=window.innerWidth-$t,K=PL(le,[$t,Math.max($t,E-H)]);l.style.minWidth=Ie+"px",l.style.right=K+"px"}const P=y(),_=window.innerHeight-$t*2,T=f.scrollHeight,F=window.getComputedStyle(h),U=parseInt(F.borderTopWidth,10),z=parseInt(F.paddingTop,10),B=parseInt(F.borderBottomWidth,10),D=parseInt(F.paddingBottom,10),X=U+z+T+D+B,ie=Math.min(x.offsetHeight*5,X),ee=window.getComputedStyle(f),Re=parseInt(ee.paddingTop,10),J=parseInt(ee.paddingBottom,10),Y=S.top+S.height/2-$t,Q=_-Y,te=x.offsetHeight/2,G=x.offsetTop+te,ae=U+z+G,ve=X-ae;if(ae<=Y){const ue=P.length>0&&x===P[P.length-1].ref.current;l.style.bottom="0px";const le=h.clientHeight-f.offsetTop-f.offsetHeight,He=Math.max(Q,te+(ue?J:0)+le+B),Ie=ae+He;l.style.height=Ie+"px"}else{const ue=P.length>0&&x===P[0].ref.current;l.style.top="0px";const He=Math.max(Y,U+f.offsetTop+(ue?Re:0)+te)+ve;l.style.height=He+"px",f.scrollTop=ae-Y+f.offsetTop}l.style.margin=`${$t}px 0`,l.style.minHeight=ie+"px",l.style.maxHeight=_+"px",n==null||n(),requestAnimationFrame(()=>m.current=!0)}},[y,i.trigger,i.valueNode,l,h,f,x,g,i.dir,n]);ua(()=>w(),[w]);const[j,b]=k.useState();ua(()=>{h&&b(window.getComputedStyle(h).zIndex)},[h]);const I=k.useCallback(S=>{S&&v.current===!0&&(w(),M==null||M(),v.current=!1)},[w,M]);return a.jsx(YV,{scope:r,contentWrapper:l,shouldExpandOnScrollRef:m,onScrollButtonChange:I,children:a.jsx("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:j},children:a.jsx(At.div,{...o,ref:p,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});o_.displayName=XV;var JV="SelectPopperPosition",ej=k.forwardRef((t,e)=>{const{__scopeSelect:r,align:n="start",collisionPadding:o=$t,...i}=t,c=Yb(r);return a.jsx(PP,{...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)"}})});ej.displayName=JV;var[YV,fS]=Js(Zi,{}),tj="SelectViewport",i_=k.forwardRef((t,e)=>{const{__scopeSelect:r,nonce:n,...o}=t,i=ar(tj,r),c=fS(tj,r),l=Ht(e,i.onViewportChange),d=k.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(Xb.Slot,{scope:r,children:a.jsx(At.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:l,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:rt(o.onScroll,h=>{const u=h.currentTarget,{contentWrapper:p,shouldExpandOnScrollRef:y}=c;if(y!=null&&y.current&&p){const m=Math.abs(d.current-u.scrollTop);if(m>0){const v=window.innerHeight-$t*2,f=parseFloat(p.style.minHeight),x=parseFloat(p.style.height),g=Math.max(f,x);if(g<v){const M=g+m,w=Math.min(v,M),j=M-w;p.style.height=w+"px",p.style.bottom==="0px"&&(u.scrollTop=j>0?j:0,p.style.justifyContent="flex-end")}}}d.current=u.scrollTop})})})]})});i_.displayName=tj;var s_="SelectGroup",[KV,QV]=Js(s_),eB=k.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t,o=mS();return a.jsx(KV,{scope:r,id:o,children:a.jsx(At.div,{role:"group","aria-labelledby":o,...n,ref:e})})});eB.displayName=s_;var c_="SelectLabel",l_=k.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t,o=QV(c_,r);return a.jsx(At.div,{id:o.id,...n,ref:e})});l_.displayName=c_;var Mb="SelectItem",[tB,d_]=Js(Mb),h_=k.forwardRef((t,e)=>{const{__scopeSelect:r,value:n,disabled:o=!1,textValue:i,...c}=t,l=tr(Mb,r),d=ar(Mb,r),h=l.value===n,[u,p]=k.useState(i??""),[y,m]=k.useState(!1),v=Ht(e,M=>{var w;return(w=d.itemRefCallback)==null?void 0:w.call(d,M,n,o)}),f=mS(),x=k.useRef("touch"),g=()=>{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(tB,{scope:r,value:n,disabled:o,textId:f,isSelected:h,onItemTextChange:k.useCallback(M=>{p(w=>w||((M==null?void 0:M.textContent)??"").trim())},[]),children:a.jsx(Xb.ItemSlot,{scope:r,value:n,disabled:o,textValue:u,children:a.jsx(At.div,{role:"option","aria-labelledby":f,"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:v,onFocus:rt(c.onFocus,()=>m(!0)),onBlur:rt(c.onBlur,()=>m(!1)),onClick:rt(c.onClick,()=>{x.current!=="mouse"&&g()}),onPointerUp:rt(c.onPointerUp,()=>{x.current==="mouse"&&g()}),onPointerDown:rt(c.onPointerDown,M=>{x.current=M.pointerType}),onPointerMove:rt(c.onPointerMove,M=>{var w;x.current=M.pointerType,o?(w=d.onItemLeave)==null||w.call(d):x.current==="mouse"&&M.currentTarget.focus({preventScroll:!0})}),onPointerLeave:rt(c.onPointerLeave,M=>{var w;M.currentTarget===document.activeElement&&((w=d.onItemLeave)==null||w.call(d))}),onKeyDown:rt(c.onKeyDown,M=>{var j;((j=d.searchRef)==null?void 0:j.current)!==""&&M.key===" "||(OV.includes(M.key)&&g(),M.key===" "&&M.preventDefault())})})})})});h_.displayName=Mb;var sc="SelectItemText",u_=k.forwardRef((t,e)=>{const{__scopeSelect:r,className:n,style:o,...i}=t,c=tr(sc,r),l=ar(sc,r),d=d_(sc,r),h=UV(sc,r),[u,p]=k.useState(null),y=Ht(e,g=>p(g),d.onItemTextChange,g=>{var M;return(M=l.itemTextRefCallback)==null?void 0:M.call(l,g,d.value,d.disabled)}),m=u==null?void 0:u.textContent,v=k.useMemo(()=>a.jsx("option",{value:d.value,disabled:d.disabled,children:m},d.value),[d.disabled,d.value,m]),{onNativeOptionAdd:f,onNativeOptionRemove:x}=h;return ua(()=>(f(v),()=>x(v)),[f,x,v]),a.jsxs(a.Fragment,{children:[a.jsx(At.span,{id:d.textId,...i,ref:y}),d.isSelected&&c.valueNode&&!c.valueNodeHasChildren?bb.createPortal(i.children,c.valueNode):null]})});u_.displayName=sc;var p_="SelectItemIndicator",y_=k.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t;return d_(p_,r).isSelected?a.jsx(At.span,{"aria-hidden":!0,...n,ref:e}):null});y_.displayName=p_;var aj="SelectScrollUpButton",m_=k.forwardRef((t,e)=>{const r=ar(aj,t.__scopeSelect),n=fS(aj,t.__scopeSelect),[o,i]=k.useState(!1),c=Ht(e,n.onScrollButtonChange);return ua(()=>{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(x_,{...t,ref:c,onAutoScroll:()=>{const{viewport:l,selectedItem:d}=r;l&&d&&(l.scrollTop=l.scrollTop-d.offsetHeight)}}):null});m_.displayName=aj;var rj="SelectScrollDownButton",f_=k.forwardRef((t,e)=>{const r=ar(rj,t.__scopeSelect),n=fS(rj,t.__scopeSelect),[o,i]=k.useState(!1),c=Ht(e,n.onScrollButtonChange);return ua(()=>{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(x_,{...t,ref:c,onAutoScroll:()=>{const{viewport:l,selectedItem:d}=r;l&&d&&(l.scrollTop=l.scrollTop+d.offsetHeight)}}):null});f_.displayName=rj;var x_=k.forwardRef((t,e)=>{const{__scopeSelect:r,onAutoScroll:n,...o}=t,i=ar("SelectScrollButton",r),c=k.useRef(null),l=Jb(r),d=k.useCallback(()=>{c.current!==null&&(window.clearInterval(c.current),c.current=null)},[]);return k.useEffect(()=>()=>d(),[d]),ua(()=>{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(At.div,{"aria-hidden":!0,...o,ref:e,style:{flexShrink:0,...o.style},onPointerDown:rt(o.onPointerDown,()=>{c.current===null&&(c.current=window.setInterval(n,50))}),onPointerMove:rt(o.onPointerMove,()=>{var h;(h=i.onItemLeave)==null||h.call(i),c.current===null&&(c.current=window.setInterval(n,50))}),onPointerLeave:rt(o.onPointerLeave,()=>{d()})})}),aB="SelectSeparator",k_=k.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t;return a.jsx(At.div,{"aria-hidden":!0,...n,ref:e})});k_.displayName=aB;var nj="SelectArrow",rB=k.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t,o=Yb(r),i=tr(nj,r),c=ar(nj,r);return i.open&&c.position==="popper"?a.jsx(_P,{...o,...n,ref:e}):null});rB.displayName=nj;var nB="SelectBubbleInput",g_=k.forwardRef(({__scopeSelect:t,value:e,...r},n)=>{const o=k.useRef(null),i=Ht(n,o),c=Yj(e);return k.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(At.select,{...r,style:{...ZP,...r.style},ref:i,defaultValue:e})});g_.displayName=nB;function v_(t){return t===""||t===void 0}function M_(t){const e=PV(t),r=k.useRef(""),n=k.useRef(0),o=k.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=k.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return k.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,o,i]}function w_(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=oB(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 oB(t,e){return t.map((r,n)=>t[(e+n)%t.length])}var iB=XP,b_=YP,sB=QP,cB=e_,lB=t_,C_=a_,dB=i_,j_=l_,S_=h_,hB=u_,uB=y_,L_=m_,I_=f_,N_=k_;const Wc=iB,Gc=sB,Vs=k.forwardRef(({className:t,children:e,...r},n)=>a.jsxs(b_,{ref:n,className:oe("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(cB,{asChild:!0,children:a.jsx(qA,{className:"h-4 w-4 opacity-50"})})]}));Vs.displayName=b_.displayName;const A_=k.forwardRef(({className:t,...e},r)=>a.jsx(L_,{ref:r,className:oe("flex cursor-default items-center justify-center py-1",t),...e,children:a.jsx(WF,{className:"h-4 w-4"})}));A_.displayName=L_.displayName;const P_=k.forwardRef(({className:t,...e},r)=>a.jsx(I_,{ref:r,className:oe("flex cursor-default items-center justify-center py-1",t),...e,children:a.jsx(qA,{className:"h-4 w-4"})}));P_.displayName=I_.displayName;const Bs=k.forwardRef(({className:t,children:e,position:r="popper",...n},o)=>a.jsx(lB,{children:a.jsxs(C_,{ref:o,className:oe("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(A_,{}),a.jsx(dB,{className:oe("p-1",r==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),a.jsx(P_,{})]})}));Bs.displayName=C_.displayName;const pB=k.forwardRef(({className:t,...e},r)=>a.jsx(j_,{ref:r,className:oe("px-2 py-1.5 text-sm font-semibold",t),...e}));pB.displayName=j_.displayName;const Us=k.forwardRef(({className:t,children:e,...r},n)=>a.jsxs(S_,{ref:n,className:oe("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(uB,{children:a.jsx(BF,{className:"h-4 w-4"})})}),a.jsx(hB,{children:e})]}));Us.displayName=S_.displayName;const yB=k.forwardRef(({className:t,...e},r)=>a.jsx(N_,{ref:r,className:oe("-mx-1 my-1 h-px bg-muted",t),...e}));yB.displayName=N_.displayName;function mB({open:t,onClose:e,onAdded:r,existingExperience:n,onUpdated:o}){const i=new Date().getFullYear(),c=Array.from({length:40},(m,v)=>`${i-v}`),[l,d]=C.useState({title:"",company:"",startYear:"",endYear:"",isPresent:!1,tags:""});C.useEffect(()=>{if(n){const[m,v]=n.period.split(" - ");d({title:n.title,company:n.company,startYear:m||"",endYear:v==="Present"?"":v||"",isPresent:v==="Present",tags:n.tags.join(", ")})}else d({title:"",company:"",startYear:"",endYear:"",isPresent:!1,tags:""})},[n,t]);const[h,u]=C.useState(!1),p=(m,v)=>d(f=>({...f,[m]:v})),y=()=>{const m=l.isPresent?`${l.startYear} - Present`:`${l.startYear} - ${l.endYear}`,v={id:(n==null?void 0:n.id)||`temp-${Date.now()}`,title:l.title,company:l.company,period:m,tags:l.tags.split(",").map(f=>f.trim()).filter(Boolean)};n?o==null||o(v):r(v),d({title:"",company:"",startYear:"",endYear:"",isPresent:!1,tags:""}),e()};return a.jsx(Ws,{open:t,onOpenChange:e,children:a.jsxs(Ki,{children:[a.jsx(es,{children:n?"Edit Work Experience":"Add Work Experience"}),a.jsxs("div",{className:"space-y-4 py-2",children:[a.jsxs("div",{children:[a.jsx(he,{children:"Title"}),a.jsx(Xe,{value:l.title,onChange:m=>p("title",m.target.value)})]}),a.jsxs("div",{children:[a.jsx(he,{children:"Company"}),a.jsx(Xe,{value:l.company,onChange:m=>p("company",m.target.value)})]}),a.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[a.jsxs("div",{children:[a.jsx(he,{children:"Start Year"}),a.jsxs(Wc,{onValueChange:m=>p("startYear",m),value:l.startYear,children:[a.jsx(Vs,{children:a.jsx(Gc,{placeholder:"Select year"})}),a.jsx(Bs,{children:c.map(m=>a.jsx(Us,{value:m,children:m},m))})]})]}),!l.isPresent&&a.jsxs("div",{children:[a.jsx(he,{children:"End Year"}),a.jsxs(Wc,{onValueChange:m=>p("endYear",m),value:l.endYear,children:[a.jsx(Vs,{children:a.jsx(Gc,{placeholder:"Select year"})}),a.jsx(Bs,{children:c.map(m=>a.jsx(Us,{value:m,children:m},m))})]})]})]}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx("input",{id:"present",type:"checkbox",checked:l.isPresent,onChange:m=>p("isPresent",m.target.checked),className:"w-4 h-4 accent-primary"}),a.jsx(he,{htmlFor:"present",children:"I currently work here"})]}),a.jsxs("div",{children:[a.jsx(he,{children:"Tags (comma-separated)"}),a.jsx(WP,{placeholder:"e.g., Product Strategy, iGaming, Agile",value:l.tags,onChange:m=>p("tags",m.target.value)})]})]}),a.jsxs(Qi,{children:[a.jsx(O,{variant:"outline",onClick:e,children:"Cancel"}),a.jsx(O,{onClick:y,disabled:h||!l.title||!l.company||!l.startYear||!l.isPresent&&!l.endYear,children:h?"Saving...":n?"Save Changes":"Add Experience"})]})]})})}function fB(t,e=[]){let r=[];function n(i,c){const l=k.createContext(c),d=r.length;r=[...r,c];const h=p=>{var g;const{scope:y,children:m,...v}=p,f=((g=y==null?void 0:y[t])==null?void 0:g[d])||l,x=k.useMemo(()=>v,Object.values(v));return a.jsx(f.Provider,{value:x,children:m})};h.displayName=i+"Provider";function u(p,y){var f;const m=((f=y==null?void 0:y[t])==null?void 0:f[d])||l,v=k.useContext(m);if(v)return v;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=>k.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return k.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,xB(o,...e)]}function xB(...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 k.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function RL(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function kB(...t){return e=>{let r=!1;const n=t.map(o=>{const i=RL(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():RL(t[o],null)}}}}function __(...t){return k.useCallback(kB(...t),t)}function gB(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 T_="AlertDialog",[vB,iU]=fB(T_,[xA]),Aa=xA(),R_=t=>{const{__scopeAlertDialog:e,...r}=t,n=Aa(e);return a.jsx(TA,{...n,...r,modal:!0})};R_.displayName=T_;var MB="AlertDialogTrigger",wB=k.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,o=Aa(r);return a.jsx(HF,{...o,...n,ref:e})});wB.displayName=MB;var bB="AlertDialogPortal",q_=t=>{const{__scopeAlertDialog:e,...r}=t,n=Aa(e);return a.jsx(RA,{...n,...r})};q_.displayName=bB;var CB="AlertDialogOverlay",D_=k.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,o=Aa(r);return a.jsx(Uj,{...o,...n,ref:e})});D_.displayName=CB;var Ts="AlertDialogContent",[jB,SB]=vB(Ts),LB=MT("AlertDialogContent"),z_=k.forwardRef((t,e)=>{const{__scopeAlertDialog:r,children:n,...o}=t,i=Aa(r),c=k.useRef(null),l=__(e,c),d=k.useRef(null);return a.jsx(zF,{contentName:Ts,titleName:F_,docsSlug:"alert-dialog",children:a.jsx(jB,{scope:r,cancelRef:d,children:a.jsxs($j,{role:"alertdialog",...i,...o,ref:l,onOpenAutoFocus:gB(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(LB,{children:n}),a.jsx(NB,{contentRef:c})]})})})});z_.displayName=Ts;var F_="AlertDialogTitle",E_=k.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,o=Aa(r);return a.jsx(Wj,{...o,...n,ref:e})});E_.displayName=F_;var O_="AlertDialogDescription",H_=k.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,o=Aa(r);return a.jsx(Gj,{...o,...n,ref:e})});H_.displayName=O_;var IB="AlertDialogAction",V_=k.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,o=Aa(r);return a.jsx(Zj,{...o,...n,ref:e})});V_.displayName=IB;var B_="AlertDialogCancel",U_=k.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,{cancelRef:o}=SB(B_,r),i=Aa(r),c=__(e,o);return a.jsx(Zj,{...i,...n,ref:c})});U_.displayName=B_;var NB=({contentRef:t})=>{const e=`\`${Ts}\` requires a description for the component to be accessible for screen reader users.
7813
+ `;function TE({allow:t="analytics",scriptId:e="ga",scriptStrategy:r="afterInteractive",scriptContent:n=_E}){return a.jsx(AD,{allow:t,children:a.jsx(PE,{id:e,strategy:r,children:n})})}function yL(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function RE(...t){return e=>{let r=!1;const n=t.map(o=>{const i=yL(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():yL(t[o],null)}}}}function Jj(...t){return k.useCallback(RE(...t),t)}function qE(t,e=[]){let r=[];function n(i,c){const l=k.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:m,...g}=p,f=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=k.useMemo(()=>g,Object.values(g));return a.jsx(f.Provider,{value:x,children:m})};h.displayName=i+"Provider";function u(p,y){var f;const m=((f=y==null?void 0:y[t])==null?void 0:f[d])||l,g=k.useContext(m);if(g)return g;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=>k.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return k.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,DE(o,...e)]}function DE(...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 k.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function mL(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 JC=globalThis!=null&&globalThis.document?k.useLayoutEffect:()=>{},zE=k[" useInsertionEffect ".trim().toString()]||JC;function FE({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[o,i,c]=EE({defaultProp:e,onChange:r}),l=t!==void 0,d=l?t:o;{const u=k.useRef(t!==void 0);k.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=k.useCallback(u=>{var p;if(l){const y=OE(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 EE({defaultProp:t,onChange:e}){const[r,n]=k.useState(t),o=k.useRef(r),i=k.useRef(e);return zE(()=>{i.current=e},[e]),k.useEffect(()=>{var c;o.current!==r&&((c=i.current)==null||c.call(i,r),o.current=r)},[r,o]),[r,n,i]}function OE(t){return typeof t=="function"}function Yj(t){const e=k.useRef({value:t,previous:t});return k.useMemo(()=>(e.current.value!==t&&(e.current.previous=e.current.value,e.current.value=t),e.current.previous),[t])}var HE=globalThis!=null&&globalThis.document?k.useLayoutEffect:()=>{};function Kj(t){const[e,r]=k.useState(void 0);return HE(()=>{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 VE(t,e){return k.useReducer((r,n)=>e[r][n]??r,t)}var $A=t=>{const{present:e,children:r}=t,n=BE(e),o=typeof r=="function"?r({present:n.isPresent}):k.Children.only(r),i=Jj(n.ref,UE(o));return typeof r=="function"||n.isPresent?k.cloneElement(o,{ref:i}):null};$A.displayName="Presence";function BE(t){const[e,r]=k.useState(),n=k.useRef(null),o=k.useRef(t),i=k.useRef("none"),c=t?"mounted":"unmounted",[l,d]=VE(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return k.useEffect(()=>{const h=l1(n.current);i.current=l==="mounted"?h:"none"},[l]),JC(()=>{const h=n.current,u=o.current;if(u!==t){const y=i.current,m=l1(h);t?d("MOUNT"):m==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&y!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,d]),JC(()=>{if(e){let h;const u=e.ownerDocument.defaultView??window,p=m=>{const f=l1(n.current).includes(CSS.escape(m.animationName));if(m.target===e&&f&&(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=m=>{m.target===e&&(i.current=l1(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:k.useCallback(h=>{n.current=h?getComputedStyle(h):null,r(h)},[])}}function l1(t){return(t==null?void 0:t.animationName)||"none"}function UE(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 $E=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Qj=$E.reduce((t,e)=>{const r=Ye(`Primitive.${e}`),n=k.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}},{}),Eb="Checkbox",[WE,aU]=qE(Eb),[GE,eS]=WE(Eb);function ZE(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,m]=FE({prop:r,defaultProp:o??!1,onChange:d,caller:Eb}),[g,f]=k.useState(null),[x,v]=k.useState(null),M=k.useRef(!1),w=g?!!c||!!g.closest("form"):!0,b={checked:y,disabled:i,setChecked:m,control:g,setControl:f,name:l,form:c,value:u,hasConsumerStoppedPropagationRef:M,required:h,defaultChecked:Ga(o)?!1:o,isFormControl:w,bubbleInput:x,setBubbleInput:v};return a.jsx(GE,{scope:e,...b,children:XE(p)?p(b):n})}var WA="CheckboxTrigger",GA=k.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:m,bubbleInput:g}=eS(WA,t),f=Jj(o,u),x=k.useRef(d);return k.useEffect(()=>{const v=i==null?void 0:i.form;if(v){const M=()=>p(x.current);return v.addEventListener("reset",M),()=>v.removeEventListener("reset",M)}},[i,p]),a.jsx(Qj.button,{type:"button",role:"checkbox","aria-checked":Ga(d)?"mixed":d,"aria-required":h,"data-state":KA(d),"data-disabled":l?"":void 0,disabled:l,value:c,...n,ref:f,onKeyDown:mL(e,v=>{v.key==="Enter"&&v.preventDefault()}),onClick:mL(r,v=>{p(M=>Ga(M)?!0:!M),g&&m&&(y.current=v.isPropagationStopped(),y.current||v.stopPropagation())})})});GA.displayName=WA;var tS=k.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(ZE,{__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(GA,{...p,ref:e,__scopeCheckbox:r}),y&&a.jsx(YA,{__scopeCheckbox:r})]})})});tS.displayName=Eb;var ZA="CheckboxIndicator",XA=k.forwardRef((t,e)=>{const{__scopeCheckbox:r,forceMount:n,...o}=t,i=eS(ZA,r);return a.jsx($A,{present:n||Ga(i.checked)||i.checked===!0,children:a.jsx(Qj.span,{"data-state":KA(i.checked),"data-disabled":i.disabled?"":void 0,...o,ref:e,style:{pointerEvents:"none",...t.style}})})});XA.displayName=ZA;var JA="CheckboxBubbleInput",YA=k.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:m}=eS(JA,t),g=Jj(r,m),f=Yj(i),x=Kj(n);k.useEffect(()=>{const M=y;if(!M)return;const w=window.HTMLInputElement.prototype,C=Object.getOwnPropertyDescriptor(w,"checked").set,I=!o.current;if(f!==i&&C){const S=new Event("click",{bubbles:I});M.indeterminate=Ga(i),C.call(M,Ga(i)?!1:i),M.dispatchEvent(S)}},[y,f,i,o]);const v=k.useRef(Ga(i)?!1:i);return a.jsx(Qj.input,{type:"checkbox","aria-hidden":!0,defaultChecked:c??v.current,required:l,disabled:d,name:h,value:u,form:p,...e,tabIndex:-1,ref:g,style:{...e.style,...x,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});YA.displayName=JA;function XE(t){return typeof t=="function"}function Ga(t){return t==="indeterminate"}function KA(t){return Ga(t)?"indeterminate":t?"checked":"unchecked"}const aS=k.forwardRef(({className:t,...e},r)=>a.jsx(tS,{ref:r,className:oe("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(XA,{className:oe("flex items-center justify-center text-current"),children:a.jsx(fs,{className:"h-4 w-4"})})}));aS.displayName=tS.displayName;const JE=Cb("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"}}),Ob=k.forwardRef(({className:t,variant:e,...r},n)=>a.jsx("div",{ref:n,role:"alert",className:oe(JE({variant:e}),t),...r}));Ob.displayName="Alert";const YE=k.forwardRef(({className:t,...e},r)=>a.jsx("h5",{ref:r,className:oe("mb-1 font-medium leading-none tracking-tight",t),...e}));YE.displayName="AlertTitle";const Hb=k.forwardRef(({className:t,...e},r)=>a.jsx("div",{ref:r,className:oe("text-sm [&_p]:leading-relaxed",t),...e}));Hb.displayName="AlertDescription";function KE({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(""),[m,g]=j.useState(!1),f=x=>{x.preventDefault(),t(h,p,m)};return a.jsxs(ge,{className:"w-full max-w-md",children:[a.jsxs(_e,{className:"space-y-1",children:[a.jsx(Te,{className:"text-2xl font-bold",children:i}),a.jsx(Be,{children:c})]}),a.jsxs("form",{onSubmit:f,children:[a.jsxs(we,{className:"space-y-4",children:[o&&a.jsxs(Ob,{variant:"destructive",children:[a.jsx(Wt,{className:"h-4 w-4"}),a.jsx(Hb,{children:o})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(he,{htmlFor:"identifier",children:l}),a.jsxs("div",{className:"relative",children:[a.jsx(sa,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),a.jsx(Xe,{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(he,{htmlFor:"password",children:"Password"}),a.jsxs("div",{className:"relative",children:[a.jsx(vc,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),a.jsx(Xe,{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(aS,{id:"remember",checked:m,onCheckedChange:x=>g(x),disabled:n}),a.jsx(he,{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(Rs,{className:"flex flex-col space-y-4",children:[a.jsx(O,{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 QE=({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(KE,{onSubmit:t,onForgotPassword:e,onRegisterClick:r,isLoading:n,error:o,identifierLabel:l,identifierPlaceholder:d})]})});function eO({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=(m,g)=>d(f=>({...f,[m]:g})),y=m=>{if(m.preventDefault(),u(""),"password"in l&&"confirmPassword"in l&&l.password!==l.confirmPassword){u("Passwords do not match");return}t(l)};return a.jsxs(ge,{className:"w-full max-w-md",children:[a.jsxs(_e,{className:"space-y-1",children:[a.jsx(Te,{className:"text-2xl font-bold",children:i}),a.jsx(Be,{children:c})]}),a.jsxs("form",{onSubmit:y,children:[a.jsxs(we,{className:"space-y-4",children:[(o||h)&&a.jsxs(Ob,{variant:"destructive",children:[a.jsx(Wt,{className:"h-4 w-4"}),a.jsx(Hb,{children:o||h})]}),e.map(m=>a.jsxs("div",{className:"space-y-2",children:[a.jsx(he,{htmlFor:m.name,children:m.label}),a.jsx(Xe,{id:m.name,type:m.type||"text",placeholder:m.placeholder,required:m.required,disabled:n,value:l[m.name]||"",onChange:g=>p(m.name,g.target.value)})]},m.name))]}),a.jsxs(Rs,{className:"flex flex-col space-y-4",children:[a.jsx(O,{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 tO=({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(eO,{onSubmit:t,fields:e,onLoginClick:r,isLoading:n,error:o,title:l,description:d})]})});function aO({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(ge,{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(bt,{className:"h-6 w-6 text-green-600"})})}),a.jsx(Te,{className:"text-2xl font-bold text-center",children:"Check Your Email"}),a.jsx(Be,{className:"text-center",children:l})]}),a.jsx(Rs,{className:"flex flex-col space-y-4",children:e&&a.jsxs(O,{type:"button",variant:"outline",className:"w-full",onClick:e,children:[a.jsx(Ti,{className:"mr-2 h-4 w-4"}),"Back to Login"]})})]}):a.jsxs(ge,{className:"w-full max-w-md",children:[a.jsxs(_e,{className:"space-y-1",children:[a.jsx(Te,{className:"text-2xl font-bold",children:i}),a.jsx(Be,{children:c})]}),a.jsxs("form",{onSubmit:u,children:[a.jsxs(we,{className:"space-y-4",children:[n&&a.jsxs(Ob,{variant:"destructive",children:[a.jsx(Wt,{className:"h-4 w-4"}),a.jsx(Hb,{children:n})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(he,{htmlFor:"email",children:"Email Address"}),a.jsxs("div",{className:"relative",children:[a.jsx(sa,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),a.jsx(Xe,{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(Rs,{className:"flex flex-col space-y-4",children:[a.jsx(O,{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(O,{type:"button",variant:"ghost",className:"w-full",onClick:e,disabled:r,children:[a.jsx(Ti,{className:"mr-2 h-4 w-4"}),"Back to Login"]})]})]})]})}const rO=({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(aO,{onSubmit:t,onBackToLogin:e,isLoading:r,error:n,success:o})]})}),nO=[{icon:xc,label:"Dashboard",path:"/dashboard"},{icon:pt,label:"My Jobs",path:"/dashboard/jobs"},{icon:zt,label:"Courses",path:"/dashboard/courses"},{icon:Cs,label:"Settings",path:"/dashboard/settings"}];function oO({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:nO.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(O,{variant:"ghost",className:"w-full justify-start text-muted-foreground hover:text-foreground",onClick:r,children:[a.jsx(Mc,{className:"mr-3 h-4 w-4"}),"Logout"]})})]}),a.jsx("main",{className:"flex-1 p-6 md:p-8",children:t})]})})}const iO=Cb("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 nt({className:t,variant:e,...r}){return a.jsx("div",{className:oe(iO({variant:e}),t),...r})}function sO({userName:t,feedItems:e,alerts:r,snapshot:n,onSave:o,onApply:i,onEnroll:c,onRead:l}){const d=u=>{switch(u){case"job":return pt;case"course":return zt;case"news":return Ca;default:return pt}},h=u=>{switch(u.type){case"job":return a.jsxs(a.Fragment,{children:[a.jsx(O,{variant:"outline",size:"sm",onClick:()=>o(u.id),children:"Save"}),a.jsx(O,{size:"sm",onClick:()=>i(u.id),children:"Apply"})]});case"course":return a.jsxs(a.Fragment,{children:[a.jsx(O,{variant:"outline",size:"sm",onClick:()=>o(u.id),children:"Save"}),a.jsx(O,{size:"sm",onClick:()=>c(u.id),children:"Enroll"})]});case"news":return a.jsx(O,{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(ge,{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(nt,{variant:"secondary",children:u.type})]}),a.jsx("span",{className:"text-xs text-muted-foreground",children:u.timestamp})]}),a.jsx(Te,{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(ms,{className:"h-4 w-4"}),u.company]}),u.location&&a.jsxs("span",{className:"flex items-center gap-1",children:[a.jsx(Ft,{className:"h-4 w-4"}),u.location]})]}),a.jsx(Be,{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(nt,{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(ge,{children:[a.jsx(_e,{children:a.jsxs(Te,{className:"flex items-center gap-2",children:[a.jsx(Fi,{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(ge,{children:[a.jsx(_e,{children:a.jsxs(Te,{className:"flex items-center gap-2",children:[a.jsx(Zt,{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(nt,{variant:"outline",className:"mb-2",children:u.type}),a.jsx("p",{children:u.message})]},u.id))})]})]})]})]})}function cO(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 fL(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function lO(...t){return e=>{let r=!1;const n=t.map(o=>{const i=fL(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():fL(t[o],null)}}}}function QA(...t){return k.useCallback(lO(...t),t)}function dO(t,e=[]){let r=[];function n(i,c){const l=k.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:m,...g}=p,f=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=k.useMemo(()=>g,Object.values(g));return a.jsx(f.Provider,{value:x,children:m})};h.displayName=i+"Provider";function u(p,y){var f;const m=((f=y==null?void 0:y[t])==null?void 0:f[d])||l,g=k.useContext(m);if(g)return g;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=>k.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return k.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,hO(o,...e)]}function hO(...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 k.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var uO=globalThis!=null&&globalThis.document?k.useLayoutEffect:()=>{},pO=k[" useInsertionEffect ".trim().toString()]||uO;function yO({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[o,i,c]=mO({defaultProp:e,onChange:r}),l=t!==void 0,d=l?t:o;{const u=k.useRef(t!==void 0);k.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=k.useCallback(u=>{var p;if(l){const y=fO(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 mO({defaultProp:t,onChange:e}){const[r,n]=k.useState(t),o=k.useRef(r),i=k.useRef(e);return pO(()=>{i.current=e},[e]),k.useEffect(()=>{var c;o.current!==r&&((c=i.current)==null||c.call(i,r),o.current=r)},[r,o]),[r,n,i]}function fO(t){return typeof t=="function"}var xO=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],eP=xO.reduce((t,e)=>{const r=Ye(`Primitive.${e}`),n=k.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}},{}),Vb="Switch",[kO,rU]=dO(Vb),[gO,vO]=kO(Vb),tP=k.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,m]=k.useState(null),g=QA(e,w=>m(w)),f=k.useRef(!1),x=y?u||!!y.closest("form"):!0,[v,M]=yO({prop:o,defaultProp:i??!1,onChange:h,caller:Vb});return a.jsxs(gO,{scope:r,checked:v,disabled:l,children:[a.jsx(eP.button,{type:"button",role:"switch","aria-checked":v,"aria-required":c,"data-state":oP(v),"data-disabled":l?"":void 0,disabled:l,value:d,...p,ref:g,onClick:cO(t.onClick,w=>{M(b=>!b),x&&(f.current=w.isPropagationStopped(),f.current||w.stopPropagation())})}),x&&a.jsx(nP,{control:y,bubbles:!f.current,name:n,value:d,checked:v,required:c,disabled:l,form:u,style:{transform:"translateX(-100%)"}})]})});tP.displayName=Vb;var aP="SwitchThumb",rP=k.forwardRef((t,e)=>{const{__scopeSwitch:r,...n}=t,o=vO(aP,r);return a.jsx(eP.span,{"data-state":oP(o.checked),"data-disabled":o.disabled?"":void 0,...n,ref:e})});rP.displayName=aP;var MO="SwitchBubbleInput",nP=k.forwardRef(({__scopeSwitch:t,control:e,checked:r,bubbles:n=!0,...o},i)=>{const c=k.useRef(null),l=QA(c,i),d=Yj(r),h=Kj(e);return k.useEffect(()=>{const u=c.current;if(!u)return;const p=window.HTMLInputElement.prototype,m=Object.getOwnPropertyDescriptor(p,"checked").set;if(d!==r&&m){const g=new Event("click",{bubbles:n});m.call(u,r),u.dispatchEvent(g)}},[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}})});nP.displayName=MO;function oP(t){return t?"checked":"unchecked"}var iP=tP,wO=rP;const Gt=k.forwardRef(({className:t,...e},r)=>a.jsx(iP,{className:oe("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(wO,{className:oe("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")})}));Gt.displayName=iP.displayName;function qc(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 xL(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function bO(...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 rS(...t){return k.useCallback(bO(...t),t)}function CO(t,e=[]){let r=[];function n(i,c){const l=k.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:m,...g}=p,f=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=k.useMemo(()=>g,Object.values(g));return a.jsx(f.Provider,{value:x,children:m})};h.displayName=i+"Provider";function u(p,y){var f;const m=((f=y==null?void 0:y[t])==null?void 0:f[d])||l,g=k.useContext(m);if(g)return g;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=>k.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return k.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,jO(o,...e)]}function jO(...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 k.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var fb=globalThis!=null&&globalThis.document?k.useLayoutEffect:()=>{},SO=k[" useId ".trim().toString()]||(()=>{}),LO=0;function IO(t){const[e,r]=k.useState(SO());return fb(()=>{t||r(n=>n??String(LO++))},[t]),t||(e?`radix-${e}`:"")}const NO=["top","right","bottom","left"],Ja=Math.min,Ct=Math.max,xb=Math.round,d1=Math.floor,la=t=>({x:t,y:t}),AO={left:"right",right:"left",bottom:"top",top:"bottom"},PO={start:"end",end:"start"};function YC(t,e,r){return Ct(t,Ja(e,r))}function Ia(t,e){return typeof t=="function"?t(e):t}function Na(t){return t.split("-")[0]}function Zs(t){return t.split("-")[1]}function nS(t){return t==="x"?"y":"x"}function oS(t){return t==="y"?"height":"width"}const _O=new Set(["top","bottom"]);function oa(t){return _O.has(Na(t))?"y":"x"}function iS(t){return nS(oa(t))}function TO(t,e,r){r===void 0&&(r=!1);const n=Zs(t),o=iS(t),i=oS(o);let c=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(c=kb(c)),[c,kb(c)]}function RO(t){const e=kb(t);return[KC(t),e,KC(e)]}function KC(t){return t.replace(/start|end/g,e=>PO[e])}const kL=["left","right"],gL=["right","left"],qO=["top","bottom"],DO=["bottom","top"];function zO(t,e,r){switch(t){case"top":case"bottom":return r?e?gL:kL:e?kL:gL;case"left":case"right":return e?qO:DO;default:return[]}}function FO(t,e,r,n){const o=Zs(t);let i=zO(Na(t),r==="start",n);return o&&(i=i.map(c=>c+"-"+o),e&&(i=i.concat(i.map(KC)))),i}function kb(t){return t.replace(/left|right|bottom|top/g,e=>AO[e])}function EO(t){return{top:0,right:0,bottom:0,left:0,...t}}function sP(t){return typeof t!="number"?EO(t):{top:t,right:t,bottom:t,left:t}}function gb(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 vL(t,e,r){let{reference:n,floating:o}=t;const i=oa(e),c=iS(e),l=oS(c),d=Na(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 m;switch(d){case"top":m={x:u,y:n.y-o.height};break;case"bottom":m={x:u,y:n.y+n.height};break;case"right":m={x:n.x+n.width,y:p};break;case"left":m={x:n.x-o.width,y:p};break;default:m={x:n.x,y:n.y}}switch(Zs(e)){case"start":m[c]-=y*(r&&h?-1:1);break;case"end":m[c]+=y*(r&&h?-1:1);break}return m}const OO=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}=vL(h,n,d),y=n,m={},g=0;for(let f=0;f<l.length;f++){const{name:x,fn:v}=l[f],{x:M,y:w,data:b,reset:C}=await v({x:u,y:p,initialPlacement:n,placement:y,strategy:o,middlewareData:m,rects:h,platform:c,elements:{reference:t,floating:e}});u=M??u,p=w??p,m={...m,[x]:{...m[x],...b}},C&&g<=50&&(g++,typeof C=="object"&&(C.placement&&(y=C.placement),C.rects&&(h=C.rects===!0?await c.getElementRects({reference:t,floating:e,strategy:o}):C.rects),{x:u,y:p}=vL(h,y,d)),f=-1)}return{x:u,y:p,placement:y,strategy:o,middlewareData:m}};async function Uc(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:m=0}=Ia(e,t),g=sP(m),x=l[y?p==="floating"?"reference":"floating":p],v=gb(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})),M=p==="floating"?{x:n,y:o,width:c.floating.width,height:c.floating.height}:c.reference,w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),b=await(i.isElement==null?void 0:i.isElement(w))?await(i.getScale==null?void 0:i.getScale(w))||{x:1,y:1}:{x:1,y:1},C=gb(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:M,offsetParent:w,strategy:d}):M);return{top:(v.top-C.top+g.top)/b.y,bottom:(C.bottom-v.bottom+g.bottom)/b.y,left:(v.left-C.left+g.left)/b.x,right:(C.right-v.right+g.right)/b.x}}const HO=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}=Ia(t,e)||{};if(h==null)return{};const p=sP(u),y={x:r,y:n},m=iS(o),g=oS(m),f=await c.getDimensions(h),x=m==="y",v=x?"top":"left",M=x?"bottom":"right",w=x?"clientHeight":"clientWidth",b=i.reference[g]+i.reference[m]-y[m]-i.floating[g],C=y[m]-i.reference[m],I=await(c.getOffsetParent==null?void 0:c.getOffsetParent(h));let S=I?I[w]:0;(!S||!await(c.isElement==null?void 0:c.isElement(I)))&&(S=l.floating[w]||i.floating[g]);const A=b/2-C/2,N=S/2-f[g]/2-1,R=Ja(p[v],N),P=Ja(p[M],N),_=R,T=S-f[g]-P,F=S/2-f[g]/2+A,U=YC(_,F,T),z=!d.arrow&&Zs(o)!=null&&F!==U&&i.reference[g]/2-(F<_?R:P)-f[g]/2<0,B=z?F<_?F-_:F-T:0;return{[m]:y[m]+B,data:{[m]:U,centerOffset:F-U-B,...z&&{alignmentOffset:B}},reset:z}}}),VO=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:m="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:f=!0,...x}=Ia(t,e);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const v=Na(o),M=oa(l),w=Na(l)===l,b=await(d.isRTL==null?void 0:d.isRTL(h.floating)),C=y||(w||!f?[kb(l)]:RO(l)),I=g!=="none";!y&&I&&C.push(...FO(l,f,g,b));const S=[l,...C],A=await Uc(e,x),N=[];let R=((n=i.flip)==null?void 0:n.overflows)||[];if(u&&N.push(A[v]),p){const F=TO(o,c,b);N.push(A[F[0]],A[F[1]])}if(R=[...R,{placement:o,overflows:N}],!N.every(F=>F<=0)){var P,_;const F=(((P=i.flip)==null?void 0:P.index)||0)+1,U=S[F];if(U&&(!(p==="alignment"?M!==oa(U):!1)||R.every(D=>oa(D.placement)===M?D.overflows[0]>0:!0)))return{data:{index:F,overflows:R},reset:{placement:U}};let z=(_=R.filter(B=>B.overflows[0]<=0).sort((B,D)=>B.overflows[1]-D.overflows[1])[0])==null?void 0:_.placement;if(!z)switch(m){case"bestFit":{var T;const B=(T=R.filter(D=>{if(I){const X=oa(D.placement);return X===M||X==="y"}return!0}).map(D=>[D.placement,D.overflows.filter(X=>X>0).reduce((X,ie)=>X+ie,0)]).sort((D,X)=>D[1]-X[1])[0])==null?void 0:T[0];B&&(z=B);break}case"initialPlacement":z=l;break}if(o!==z)return{reset:{placement:z}}}return{}}}};function ML(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function wL(t){return NO.some(e=>t[e]>=0)}const BO=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:r}=e,{strategy:n="referenceHidden",...o}=Ia(t,e);switch(n){case"referenceHidden":{const i=await Uc(e,{...o,elementContext:"reference"}),c=ML(i,r.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:wL(c)}}}case"escaped":{const i=await Uc(e,{...o,altBoundary:!0}),c=ML(i,r.floating);return{data:{escapedOffsets:c,escaped:wL(c)}}}default:return{}}}}},cP=new Set(["left","top"]);async function UO(t,e){const{placement:r,platform:n,elements:o}=t,i=await(n.isRTL==null?void 0:n.isRTL(o.floating)),c=Na(r),l=Zs(r),d=oa(r)==="y",h=cP.has(c)?-1:1,u=i&&d?-1:1,p=Ia(e,t);let{mainAxis:y,crossAxis:m,alignmentAxis:g}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&typeof g=="number"&&(m=l==="end"?g*-1:g),d?{x:m*u,y:y*h}:{x:y*h,y:m*u}}const $O=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 UO(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}}}}},WO=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:M}=x;return{x:v,y:M}}},...d}=Ia(t,e),h={x:r,y:n},u=await Uc(e,d),p=oa(Na(o)),y=nS(p);let m=h[y],g=h[p];if(i){const x=y==="y"?"top":"left",v=y==="y"?"bottom":"right",M=m+u[x],w=m-u[v];m=YC(M,m,w)}if(c){const x=p==="y"?"top":"left",v=p==="y"?"bottom":"right",M=g+u[x],w=g-u[v];g=YC(M,g,w)}const f=l.fn({...e,[y]:m,[p]:g});return{...f,data:{x:f.x-r,y:f.y-n,enabled:{[y]:i,[p]:c}}}}}},GO=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}=Ia(t,e),u={x:r,y:n},p=oa(o),y=nS(p);let m=u[y],g=u[p];const f=Ia(l,e),x=typeof f=="number"?{mainAxis:f,crossAxis:0}:{mainAxis:0,crossAxis:0,...f};if(d){const w=y==="y"?"height":"width",b=i.reference[y]-i.floating[w]+x.mainAxis,C=i.reference[y]+i.reference[w]-x.mainAxis;m<b?m=b:m>C&&(m=C)}if(h){var v,M;const w=y==="y"?"width":"height",b=cP.has(Na(o)),C=i.reference[p]-i.floating[w]+(b&&((v=c.offset)==null?void 0:v[p])||0)+(b?0:x.crossAxis),I=i.reference[p]+i.reference[w]+(b?0:((M=c.offset)==null?void 0:M[p])||0)-(b?x.crossAxis:0);g<C?g=C:g>I&&(g=I)}return{[y]:m,[p]:g}}}},ZO=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}=Ia(t,e),u=await Uc(e,h),p=Na(o),y=Zs(o),m=oa(o)==="y",{width:g,height:f}=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 M=f-u.top-u.bottom,w=g-u.left-u.right,b=Ja(f-u[x],M),C=Ja(g-u[v],w),I=!e.middlewareData.shift;let S=b,A=C;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(A=w),(n=e.middlewareData.shift)!=null&&n.enabled.y&&(S=M),I&&!y){const R=Ct(u.left,0),P=Ct(u.right,0),_=Ct(u.top,0),T=Ct(u.bottom,0);m?A=g-2*(R!==0||P!==0?R+P:Ct(u.left,u.right)):S=f-2*(_!==0||T!==0?_+T:Ct(u.top,u.bottom))}await d({...e,availableWidth:A,availableHeight:S});const N=await c.getDimensions(l.floating);return g!==N.width||f!==N.height?{reset:{rects:!0}}:{}}}};function Bb(){return typeof window<"u"}function Xs(t){return lP(t)?(t.nodeName||"").toLowerCase():"#document"}function It(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function pa(t){var e;return(e=(lP(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function lP(t){return Bb()?t instanceof Node||t instanceof It(t).Node:!1}function Jt(t){return Bb()?t instanceof Element||t instanceof It(t).Element:!1}function ha(t){return Bb()?t instanceof HTMLElement||t instanceof It(t).HTMLElement:!1}function bL(t){return!Bb()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof It(t).ShadowRoot}const XO=new Set(["inline","contents"]);function Jc(t){const{overflow:e,overflowX:r,overflowY:n,display:o}=Yt(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!XO.has(o)}const JO=new Set(["table","td","th"]);function YO(t){return JO.has(Xs(t))}const KO=[":popover-open",":modal"];function Ub(t){return KO.some(e=>{try{return t.matches(e)}catch{return!1}})}const QO=["transform","translate","scale","rotate","perspective"],eH=["transform","translate","scale","rotate","perspective","filter"],tH=["paint","layout","strict","content"];function sS(t){const e=cS(),r=Jt(t)?Yt(t):t;return QO.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)||eH.some(n=>(r.willChange||"").includes(n))||tH.some(n=>(r.contain||"").includes(n))}function aH(t){let e=Ya(t);for(;ha(e)&&!Os(e);){if(sS(e))return e;if(Ub(e))return null;e=Ya(e)}return null}function cS(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const rH=new Set(["html","body","#document"]);function Os(t){return rH.has(Xs(t))}function Yt(t){return It(t).getComputedStyle(t)}function $b(t){return Jt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Ya(t){if(Xs(t)==="html")return t;const e=t.assignedSlot||t.parentNode||bL(t)&&t.host||pa(t);return bL(e)?e.host:e}function dP(t){const e=Ya(t);return Os(e)?t.ownerDocument?t.ownerDocument.body:t.body:ha(e)&&Jc(e)?e:dP(e)}function $c(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);const o=dP(t),i=o===((n=t.ownerDocument)==null?void 0:n.body),c=It(o);if(i){const l=QC(c);return e.concat(c,c.visualViewport||[],Jc(o)?o:[],l&&r?$c(l):[])}return e.concat(o,$c(o,[],r))}function QC(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function hP(t){const e=Yt(t);let r=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const o=ha(t),i=o?t.offsetWidth:r,c=o?t.offsetHeight:n,l=xb(r)!==i||xb(n)!==c;return l&&(r=i,n=c),{width:r,height:n,$:l}}function lS(t){return Jt(t)?t:t.contextElement}function _s(t){const e=lS(t);if(!ha(e))return la(1);const r=e.getBoundingClientRect(),{width:n,height:o,$:i}=hP(e);let c=(i?xb(r.width):r.width)/n,l=(i?xb(r.height):r.height)/o;return(!c||!Number.isFinite(c))&&(c=1),(!l||!Number.isFinite(l))&&(l=1),{x:c,y:l}}const nH=la(0);function uP(t){const e=It(t);return!cS()||!e.visualViewport?nH:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function oH(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==It(t)?!1:e}function Wi(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);const o=t.getBoundingClientRect(),i=lS(t);let c=la(1);e&&(n?Jt(n)&&(c=_s(n)):c=_s(t));const l=oH(i,r,n)?uP(i):la(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=It(i),m=n&&Jt(n)?It(n):n;let g=y,f=QC(g);for(;f&&n&&m!==g;){const x=_s(f),v=f.getBoundingClientRect(),M=Yt(f),w=v.left+(f.clientLeft+parseFloat(M.paddingLeft))*x.x,b=v.top+(f.clientTop+parseFloat(M.paddingTop))*x.y;d*=x.x,h*=x.y,u*=x.x,p*=x.y,d+=w,h+=b,g=It(f),f=QC(g)}}return gb({width:u,height:p,x:d,y:h})}function Wb(t,e){const r=$b(t).scrollLeft;return e?e.left+r:Wi(pa(t)).left+r}function pP(t,e){const r=t.getBoundingClientRect(),n=r.left+e.scrollLeft-Wb(t,r),o=r.top+e.scrollTop;return{x:n,y:o}}function iH(t){let{elements:e,rect:r,offsetParent:n,strategy:o}=t;const i=o==="fixed",c=pa(n),l=e?Ub(e.floating):!1;if(n===c||l&&i)return r;let d={scrollLeft:0,scrollTop:0},h=la(1);const u=la(0),p=ha(n);if((p||!p&&!i)&&((Xs(n)!=="body"||Jc(c))&&(d=$b(n)),ha(n))){const m=Wi(n);h=_s(n),u.x=m.x+n.clientLeft,u.y=m.y+n.clientTop}const y=c&&!p&&!i?pP(c,d):la(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 sH(t){return Array.from(t.getClientRects())}function cH(t){const e=pa(t),r=$b(t),n=t.ownerDocument.body,o=Ct(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=Ct(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let c=-r.scrollLeft+Wb(t);const l=-r.scrollTop;return Yt(n).direction==="rtl"&&(c+=Ct(e.clientWidth,n.clientWidth)-o),{width:o,height:i,x:c,y:l}}const CL=25;function lH(t,e){const r=It(t),n=pa(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=cS();(!u||u&&e==="fixed")&&(l=o.offsetLeft,d=o.offsetTop)}const h=Wb(n);if(h<=0){const u=n.ownerDocument,p=u.body,y=getComputedStyle(p),m=u.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,g=Math.abs(n.clientWidth-p.clientWidth-m);g<=CL&&(i-=g)}else h<=CL&&(i+=h);return{width:i,height:c,x:l,y:d}}const dH=new Set(["absolute","fixed"]);function hH(t,e){const r=Wi(t,!0,e==="fixed"),n=r.top+t.clientTop,o=r.left+t.clientLeft,i=ha(t)?_s(t):la(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 jL(t,e,r){let n;if(e==="viewport")n=lH(t,r);else if(e==="document")n=cH(pa(t));else if(Jt(e))n=hH(e,r);else{const o=uP(t);n={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return gb(n)}function yP(t,e){const r=Ya(t);return r===e||!Jt(r)||Os(r)?!1:Yt(r).position==="fixed"||yP(r,e)}function uH(t,e){const r=e.get(t);if(r)return r;let n=$c(t,[],!1).filter(l=>Jt(l)&&Xs(l)!=="body"),o=null;const i=Yt(t).position==="fixed";let c=i?Ya(t):t;for(;Jt(c)&&!Os(c);){const l=Yt(c),d=sS(c);!d&&l.position==="fixed"&&(o=null),(i?!d&&!o:!d&&l.position==="static"&&!!o&&dH.has(o.position)||Jc(c)&&!d&&yP(t,c))?n=n.filter(u=>u!==c):o=l,c=Ya(c)}return e.set(t,n),n}function pH(t){let{element:e,boundary:r,rootBoundary:n,strategy:o}=t;const c=[...r==="clippingAncestors"?Ub(e)?[]:uH(e,this._c):[].concat(r),n],l=c[0],d=c.reduce((h,u)=>{const p=jL(e,u,o);return h.top=Ct(p.top,h.top),h.right=Ja(p.right,h.right),h.bottom=Ja(p.bottom,h.bottom),h.left=Ct(p.left,h.left),h},jL(e,l,o));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function yH(t){const{width:e,height:r}=hP(t);return{width:e,height:r}}function mH(t,e,r){const n=ha(e),o=pa(e),i=r==="fixed",c=Wi(t,!0,i,e);let l={scrollLeft:0,scrollTop:0};const d=la(0);function h(){d.x=Wb(o)}if(n||!n&&!i)if((Xs(e)!=="body"||Jc(o))&&(l=$b(e)),n){const m=Wi(e,!0,i,e);d.x=m.x+e.clientLeft,d.y=m.y+e.clientTop}else o&&h();i&&!n&&o&&h();const u=o&&!n&&!i?pP(o,l):la(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 bC(t){return Yt(t).position==="static"}function SL(t,e){if(!ha(t)||Yt(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return pa(t)===r&&(r=r.ownerDocument.body),r}function mP(t,e){const r=It(t);if(Ub(t))return r;if(!ha(t)){let o=Ya(t);for(;o&&!Os(o);){if(Jt(o)&&!bC(o))return o;o=Ya(o)}return r}let n=SL(t,e);for(;n&&YO(n)&&bC(n);)n=SL(n,e);return n&&Os(n)&&bC(n)&&!sS(n)?r:n||aH(t)||r}const fH=async function(t){const e=this.getOffsetParent||mP,r=this.getDimensions,n=await r(t.floating);return{reference:mH(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function xH(t){return Yt(t).direction==="rtl"}const kH={convertOffsetParentRelativeRectToViewportRelativeRect:iH,getDocumentElement:pa,getClippingRect:pH,getOffsetParent:mP,getElementRects:fH,getClientRects:sH,getDimensions:yH,getScale:_s,isElement:Jt,isRTL:xH};function fP(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function gH(t,e){let r=null,n;const o=pa(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:m}=h;if(l||e(),!y||!m)return;const g=d1(p),f=d1(o.clientWidth-(u+y)),x=d1(o.clientHeight-(p+m)),v=d1(u),w={rootMargin:-g+"px "+-f+"px "+-x+"px "+-v+"px",threshold:Ct(0,Ja(1,d))||1};let b=!0;function C(I){const S=I[0].intersectionRatio;if(S!==d){if(!b)return c();S?c(!1,S):n=setTimeout(()=>{c(!1,1e-7)},1e3)}S===1&&!fP(h,t.getBoundingClientRect())&&c(),b=!1}try{r=new IntersectionObserver(C,{...w,root:o.ownerDocument})}catch{r=new IntersectionObserver(C,w)}r.observe(t)}return c(!0),i}function vH(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=lS(t),u=o||i?[...h?$c(h):[],...$c(e)]:[];u.forEach(v=>{o&&v.addEventListener("scroll",r,{passive:!0}),i&&v.addEventListener("resize",r)});const p=h&&l?gH(h,r):null;let y=-1,m=null;c&&(m=new ResizeObserver(v=>{let[M]=v;M&&M.target===h&&m&&(m.unobserve(e),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var w;(w=m)==null||w.observe(e)})),r()}),h&&!d&&m.observe(h),m.observe(e));let g,f=d?Wi(t):null;d&&x();function x(){const v=Wi(t);f&&!fP(f,v)&&r(),f=v,g=requestAnimationFrame(x)}return r(),()=>{var v;u.forEach(M=>{o&&M.removeEventListener("scroll",r),i&&M.removeEventListener("resize",r)}),p==null||p(),(v=m)==null||v.disconnect(),m=null,d&&cancelAnimationFrame(g)}}const MH=$O,wH=WO,bH=VO,CH=ZO,jH=BO,LL=HO,SH=GO,LH=(t,e,r)=>{const n=new Map,o={platform:kH,...r},i={...o.platform,_c:n};return OO(t,e,{...o,platform:i})};var IH=typeof document<"u",NH=function(){},ob=IH?j.useLayoutEffect:NH;function vb(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(!vb(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)&&!vb(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function xP(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function IL(t,e){const r=xP(t);return Math.round(e*r)/r}function CC(t){const e=k.useRef(t);return ob(()=>{e.current=t}),e}function AH(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]=k.useState({x:0,y:0,strategy:r,placement:e,middlewareData:{},isPositioned:!1}),[y,m]=k.useState(n);vb(y,n)||m(n);const[g,f]=k.useState(null),[x,v]=k.useState(null),M=k.useCallback(D=>{D!==I.current&&(I.current=D,f(D))},[]),w=k.useCallback(D=>{D!==S.current&&(S.current=D,v(D))},[]),b=i||g,C=c||x,I=k.useRef(null),S=k.useRef(null),A=k.useRef(u),N=d!=null,R=CC(d),P=CC(o),_=CC(h),T=k.useCallback(()=>{if(!I.current||!S.current)return;const D={placement:e,strategy:r,middleware:y};P.current&&(D.platform=P.current),LH(I.current,S.current,D).then(X=>{const ie={...X,isPositioned:_.current!==!1};F.current&&!vb(A.current,ie)&&(A.current=ie,bb.flushSync(()=>{p(ie)}))})},[y,e,r,P,_]);ob(()=>{h===!1&&A.current.isPositioned&&(A.current.isPositioned=!1,p(D=>({...D,isPositioned:!1})))},[h]);const F=k.useRef(!1);ob(()=>(F.current=!0,()=>{F.current=!1}),[]),ob(()=>{if(b&&(I.current=b),C&&(S.current=C),b&&C){if(R.current)return R.current(b,C,T);T()}},[b,C,T,R,N]);const U=k.useMemo(()=>({reference:I,floating:S,setReference:M,setFloating:w}),[M,w]),z=k.useMemo(()=>({reference:b,floating:C}),[b,C]),B=k.useMemo(()=>{const D={position:r,left:0,top:0};if(!z.floating)return D;const X=IL(z.floating,u.x),ie=IL(z.floating,u.y);return l?{...D,transform:"translate("+X+"px, "+ie+"px)",...xP(z.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:X,top:ie}},[r,l,z.floating,u.x,u.y]);return k.useMemo(()=>({...u,update:T,refs:U,elements:z,floatingStyles:B}),[u,T,U,z,B])}const PH=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?LL({element:n.current,padding:o}).fn(r):{}:n?LL({element:n,padding:o}).fn(r):{}}}},_H=(t,e)=>({...MH(t),options:[t,e]}),TH=(t,e)=>({...wH(t),options:[t,e]}),RH=(t,e)=>({...SH(t),options:[t,e]}),qH=(t,e)=>({...bH(t),options:[t,e]}),DH=(t,e)=>({...CH(t),options:[t,e]}),zH=(t,e)=>({...jH(t),options:[t,e]}),FH=(t,e)=>({...PH(t),options:[t,e]});var EH=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],OH=EH.reduce((t,e)=>{const r=Ye(`Primitive.${e}`),n=k.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}},{}),HH="Arrow",kP=k.forwardRef((t,e)=>{const{children:r,width:n=10,height:o=5,...i}=t;return a.jsx(OH.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"})})});kP.displayName=HH;var VH=kP;function NL(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function BH(...t){return e=>{let r=!1;const n=t.map(o=>{const i=NL(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():NL(t[o],null)}}}}function gP(...t){return k.useCallback(BH(...t),t)}function UH(t,e=[]){let r=[];function n(i,c){const l=k.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:m,...g}=p,f=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=k.useMemo(()=>g,Object.values(g));return a.jsx(f.Provider,{value:x,children:m})};h.displayName=i+"Provider";function u(p,y){var f;const m=((f=y==null?void 0:y[t])==null?void 0:f[d])||l,g=k.useContext(m);if(g)return g;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=>k.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return k.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,$H(o,...e)]}function $H(...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 k.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var WH=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],vP=WH.reduce((t,e)=>{const r=Ye(`Primitive.${e}`),n=k.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 GH(t){const e=k.useRef(t);return k.useEffect(()=>{e.current=t}),k.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}var AL=globalThis!=null&&globalThis.document?k.useLayoutEffect:()=>{},dS="Popper",[MP,Gb]=UH(dS),[ZH,wP]=MP(dS),bP=t=>{const{__scopePopper:e,children:r}=t,[n,o]=k.useState(null);return a.jsx(ZH,{scope:e,anchor:n,onAnchorChange:o,children:r})};bP.displayName=dS;var CP="PopperAnchor",jP=k.forwardRef((t,e)=>{const{__scopePopper:r,virtualRef:n,...o}=t,i=wP(CP,r),c=k.useRef(null),l=gP(e,c),d=k.useRef(null);return k.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(vP.div,{...o,ref:l})});jP.displayName=CP;var hS="PopperContent",[XH,JH]=MP(hS),SP=k.forwardRef((t,e)=>{var G,ae,ve,se,ue,le;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:m="optimized",onPlaced:g,...f}=t,x=wP(hS,r),[v,M]=k.useState(null),w=gP(e,He=>M(He)),[b,C]=k.useState(null),I=Kj(b),S=(I==null?void 0:I.width)??0,A=(I==null?void 0:I.height)??0,N=n+(i!=="center"?"-"+i:""),R=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},P=Array.isArray(h)?h:[h],_=P.length>0,T={padding:R,boundary:P.filter(KH),altBoundary:_},{refs:F,floatingStyles:U,placement:z,isPositioned:B,middlewareData:D}=AH({strategy:"fixed",placement:N,whileElementsMounted:(...He)=>vH(...He,{animationFrame:m==="always"}),elements:{reference:x.anchor},middleware:[_H({mainAxis:o+A,alignmentAxis:c}),d&&TH({mainAxis:!0,crossAxis:!1,limiter:p==="partial"?RH():void 0,...T}),d&&qH({...T}),DH({...T,apply:({elements:He,rects:Ie,availableWidth:H,availableHeight:E})=>{const{width:K,height:je}=Ie.reference,fe=He.floating.style;fe.setProperty("--radix-popper-available-width",`${H}px`),fe.setProperty("--radix-popper-available-height",`${E}px`),fe.setProperty("--radix-popper-anchor-width",`${K}px`),fe.setProperty("--radix-popper-anchor-height",`${je}px`)}}),b&&FH({element:b,padding:l}),QH({arrowWidth:S,arrowHeight:A}),y&&zH({strategy:"referenceHidden",...T})]}),[X,ie]=NP(z),ee=GH(g);AL(()=>{B&&(ee==null||ee())},[B,ee]);const Re=(G=D.arrow)==null?void 0:G.x,J=(ae=D.arrow)==null?void 0:ae.y,Y=((ve=D.arrow)==null?void 0:ve.centerOffset)!==0,[Q,te]=k.useState();return AL(()=>{v&&te(window.getComputedStyle(v).zIndex)},[v]),a.jsx("div",{ref:F.setFloating,"data-radix-popper-content-wrapper":"",style:{...U,transform:B?U.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Q,"--radix-popper-transform-origin":[(se=D.transformOrigin)==null?void 0:se.x,(ue=D.transformOrigin)==null?void 0:ue.y].join(" "),...((le=D.hide)==null?void 0:le.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:a.jsx(XH,{scope:r,placedSide:X,onArrowChange:C,arrowX:Re,arrowY:J,shouldHideArrow:Y,children:a.jsx(vP.div,{"data-side":X,"data-align":ie,...f,ref:w,style:{...f.style,animation:B?void 0:"none"}})})})});SP.displayName=hS;var LP="PopperArrow",YH={top:"bottom",right:"left",bottom:"top",left:"right"},IP=k.forwardRef(function(e,r){const{__scopePopper:n,...o}=e,i=JH(LP,n),c=YH[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(VH,{...o,ref:r,style:{...o.style,display:"block"}})})});IP.displayName=LP;function KH(t){return t!==null}var QH=t=>({name:"transformOrigin",options:t,fn(e){var x,v,M;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]=NP(r),p={start:"0%",center:"50%",end:"100%"}[u],y=(((v=o.arrow)==null?void 0:v.x)??0)+l/2,m=(((M=o.arrow)==null?void 0:M.y)??0)+d/2;let g="",f="";return h==="bottom"?(g=c?p:`${y}px`,f=`${-d}px`):h==="top"?(g=c?p:`${y}px`,f=`${n.floating.height+d}px`):h==="right"?(g=`${-d}px`,f=c?p:`${m}px`):h==="left"&&(g=`${n.floating.width+d}px`,f=c?p:`${m}px`),{data:{x:g,y:f}}}});function NP(t){const[e,r="center"]=t.split("-");return[e,r]}var AP=bP,uS=jP,PP=SP,_P=IP;function eV(t,e){return k.useReducer((r,n)=>e[r][n]??r,t)}var pS=t=>{const{present:e,children:r}=t,n=tV(e),o=typeof r=="function"?r({present:n.isPresent}):k.Children.only(r),i=rS(n.ref,aV(o));return typeof r=="function"||n.isPresent?k.cloneElement(o,{ref:i}):null};pS.displayName="Presence";function tV(t){const[e,r]=k.useState(),n=k.useRef(null),o=k.useRef(t),i=k.useRef("none"),c=t?"mounted":"unmounted",[l,d]=eV(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return k.useEffect(()=>{const h=h1(n.current);i.current=l==="mounted"?h:"none"},[l]),fb(()=>{const h=n.current,u=o.current;if(u!==t){const y=i.current,m=h1(h);t?d("MOUNT"):m==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&y!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,d]),fb(()=>{if(e){let h;const u=e.ownerDocument.defaultView??window,p=m=>{const f=h1(n.current).includes(CSS.escape(m.animationName));if(m.target===e&&f&&(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=m=>{m.target===e&&(i.current=h1(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:k.useCallback(h=>{n.current=h?getComputedStyle(h):null,r(h)},[])}}function h1(t){return(t==null?void 0:t.animationName)||"none"}function aV(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 rV=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],TP=rV.reduce((t,e)=>{const r=Ye(`Primitive.${e}`),n=k.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}},{}),nV=k[" useInsertionEffect ".trim().toString()]||fb;function oV({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[o,i,c]=iV({defaultProp:e,onChange:r}),l=t!==void 0,d=l?t:o;{const u=k.useRef(t!==void 0);k.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=k.useCallback(u=>{var p;if(l){const y=sV(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 iV({defaultProp:t,onChange:e}){const[r,n]=k.useState(t),o=k.useRef(r),i=k.useRef(e);return nV(()=>{i.current=e},[e]),k.useEffect(()=>{var c;o.current!==r&&((c=i.current)==null||c.call(i,r),o.current=r)},[r,o]),[r,n,i]}function sV(t){return typeof t=="function"}var Zb="Popover",[RP,nU]=CO(Zb,[Gb]),Yc=Gb(),[cV,er]=RP(Zb),qP=t=>{const{__scopePopover:e,children:r,open:n,defaultOpen:o,onOpenChange:i,modal:c=!1}=t,l=Yc(e),d=k.useRef(null),[h,u]=k.useState(!1),[p,y]=oV({prop:n,defaultProp:o??!1,onChange:i,caller:Zb});return a.jsx(AP,{...l,children:a.jsx(cV,{scope:e,contentId:IO(),triggerRef:d,open:p,onOpenChange:y,onOpenToggle:k.useCallback(()=>y(m=>!m),[y]),hasCustomAnchor:h,onCustomAnchorAdd:k.useCallback(()=>u(!0),[]),onCustomAnchorRemove:k.useCallback(()=>u(!1),[]),modal:c,children:r})})};qP.displayName=Zb;var DP="PopoverAnchor",lV=k.forwardRef((t,e)=>{const{__scopePopover:r,...n}=t,o=er(DP,r),i=Yc(r),{onCustomAnchorAdd:c,onCustomAnchorRemove:l}=o;return k.useEffect(()=>(c(),()=>l()),[c,l]),a.jsx(uS,{...i,...n,ref:e})});lV.displayName=DP;var zP="PopoverTrigger",FP=k.forwardRef((t,e)=>{const{__scopePopover:r,...n}=t,o=er(zP,r),i=Yc(r),c=rS(e,o.triggerRef),l=a.jsx(TP.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":BP(o.open),...n,ref:c,onClick:qc(t.onClick,o.onOpenToggle)});return o.hasCustomAnchor?l:a.jsx(uS,{asChild:!0,...i,children:l})});FP.displayName=zP;var yS="PopoverPortal",[dV,hV]=RP(yS,{forceMount:void 0}),EP=t=>{const{__scopePopover:e,forceMount:r,children:n,container:o}=t,i=er(yS,e);return a.jsx(dV,{scope:e,forceMount:r,children:a.jsx(pS,{present:r||i.open,children:a.jsx(Tb,{asChild:!0,container:o,children:n})})})};EP.displayName=yS;var Hs="PopoverContent",OP=k.forwardRef((t,e)=>{const r=hV(Hs,t.__scopePopover),{forceMount:n=r.forceMount,...o}=t,i=er(Hs,t.__scopePopover);return a.jsx(pS,{present:n||i.open,children:i.modal?a.jsx(pV,{...o,ref:e}):a.jsx(yV,{...o,ref:e})})});OP.displayName=Hs;var uV=Ye("PopoverContent.RemoveScroll"),pV=k.forwardRef((t,e)=>{const r=er(Hs,t.__scopePopover),n=k.useRef(null),o=rS(e,n),i=k.useRef(!1);return k.useEffect(()=>{const c=n.current;if(c)return Oj(c)},[]),a.jsx(Db,{as:uV,allowPinchZoom:!0,children:a.jsx(HP,{...t,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:qc(t.onCloseAutoFocus,c=>{var l;c.preventDefault(),i.current||(l=r.triggerRef.current)==null||l.focus()}),onPointerDownOutside:qc(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:qc(t.onFocusOutside,c=>c.preventDefault(),{checkForDefaultPrevented:!1})})})}),yV=k.forwardRef((t,e)=>{const r=er(Hs,t.__scopePopover),n=k.useRef(!1),o=k.useRef(!1);return a.jsx(HP,{...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()}})}),HP=k.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=er(Hs,r),m=Yc(r);return Ej(),a.jsx(_b,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:i,children:a.jsx(Pb,{asChild:!0,disableOutsidePointerEvents:c,onInteractOutside:u,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:h,onDismiss:()=>y.onOpenChange(!1),children:a.jsx(PP,{"data-state":BP(y.open),role:"dialog",id:y.contentId,...m,...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)"}})})})}),VP="PopoverClose",mV=k.forwardRef((t,e)=>{const{__scopePopover:r,...n}=t,o=er(VP,r);return a.jsx(TP.button,{type:"button",...n,ref:e,onClick:qc(t.onClick,()=>o.onOpenChange(!1))})});mV.displayName=VP;var fV="PopoverArrow",xV=k.forwardRef((t,e)=>{const{__scopePopover:r,...n}=t,o=Yc(r);return a.jsx(_P,{...o,...n,ref:e})});xV.displayName=fV;function BP(t){return t?"open":"closed"}var kV=qP,gV=FP,vV=EP,UP=OP;const MV=kV,wV=gV,$P=k.forwardRef(({className:t,align:e="center",sideOffset:r=4,...n},o)=>a.jsx(vV,{children:a.jsx(UP,{ref:o,align:e,sideOffset:r,className:oe("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})}));$P.displayName=UP.displayName;const WP=k.forwardRef(({className:t,...e},r)=>a.jsx("textarea",{className:oe("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}));WP.displayName="Textarea";function PL(t,[e,r]){return Math.min(r,Math.max(e,t))}function rt(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 GP(t,e=[]){let r=[];function n(i,c){const l=k.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:m,...g}=p,f=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=k.useMemo(()=>g,Object.values(g));return a.jsx(f.Provider,{value:x,children:m})};h.displayName=i+"Provider";function u(p,y){var f;const m=((f=y==null?void 0:y[t])==null?void 0:f[d])||l,g=k.useContext(m);if(g)return g;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=>k.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return k.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,bV(o,...e)]}function bV(...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 k.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function _L(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function CV(...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 Ht(...t){return k.useCallback(CV(...t),t)}function jV(t){const e=t+"CollectionProvider",[r,n]=GP(e),[o,i]=r(e,{collectionRef:{current:null},itemMap:new Map}),c=f=>{const{scope:x,children:v}=f,M=j.useRef(null),w=j.useRef(new Map).current;return a.jsx(o,{scope:x,itemMap:w,collectionRef:M,children:v})};c.displayName=e;const l=t+"CollectionSlot",d=Ye(l),h=j.forwardRef((f,x)=>{const{scope:v,children:M}=f,w=i(l,v),b=Ht(x,w.collectionRef);return a.jsx(d,{ref:b,children:M})});h.displayName=l;const u=t+"CollectionItemSlot",p="data-radix-collection-item",y=Ye(u),m=j.forwardRef((f,x)=>{const{scope:v,children:M,...w}=f,b=j.useRef(null),C=Ht(x,b),I=i(u,v);return j.useEffect(()=>(I.itemMap.set(b,{ref:b,...w}),()=>void I.itemMap.delete(b))),a.jsx(y,{[p]:"",ref:C,children:M})});m.displayName=u;function g(f){const x=i(t+"CollectionConsumer",f);return j.useCallback(()=>{const M=x.collectionRef.current;if(!M)return[];const w=Array.from(M.querySelectorAll(`[${p}]`));return Array.from(x.itemMap.values()).sort((I,S)=>w.indexOf(I.ref.current)-w.indexOf(S.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:c,Slot:h,ItemSlot:m},g,n]}var SV=k.createContext(void 0);function LV(t){const e=k.useContext(SV);return t||e||"ltr"}var ua=globalThis!=null&&globalThis.document?k.useLayoutEffect:()=>{},IV=k[" useId ".trim().toString()]||(()=>{}),NV=0;function mS(t){const[e,r]=k.useState(IV());return ua(()=>{r(n=>n??String(NV++))},[t]),e?`radix-${e}`:""}var AV=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],At=AV.reduce((t,e)=>{const r=Ye(`Primitive.${e}`),n=k.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 PV(t){const e=k.useRef(t);return k.useEffect(()=>{e.current=t}),k.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}var _V=k[" useInsertionEffect ".trim().toString()]||ua;function TL({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[o,i,c]=TV({defaultProp:e,onChange:r}),l=t!==void 0,d=l?t:o;{const u=k.useRef(t!==void 0);k.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=k.useCallback(u=>{var p;if(l){const y=RV(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 TV({defaultProp:t,onChange:e}){const[r,n]=k.useState(t),o=k.useRef(r),i=k.useRef(e);return _V(()=>{i.current=e},[e]),k.useEffect(()=>{var c;o.current!==r&&((c=i.current)==null||c.call(i,r),o.current=r)},[r,o]),[r,n,i]}function RV(t){return typeof t=="function"}var qV=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],DV=qV.reduce((t,e)=>{const r=Ye(`Primitive.${e}`),n=k.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}},{}),ZP=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"}),zV="VisuallyHidden",FV=k.forwardRef((t,e)=>a.jsx(DV.span,{...t,ref:e,style:{...ZP,...t.style}}));FV.displayName=zV;var EV=[" ","Enter","ArrowUp","ArrowDown"],OV=[" ","Enter"],Gi="Select",[Xb,Jb,HV]=jV(Gi),[Js,oU]=GP(Gi,[HV,Gb]),Yb=Gb(),[VV,tr]=Js(Gi),[BV,UV]=Js(Gi),XP=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:m,form:g}=t,f=Yb(e),[x,v]=k.useState(null),[M,w]=k.useState(null),[b,C]=k.useState(!1),I=LV(h),[S,A]=TL({prop:n,defaultProp:o??!1,onChange:i,caller:Gi}),[N,R]=TL({prop:c,defaultProp:l,onChange:d,caller:Gi}),P=k.useRef(null),_=x?g||!!x.closest("form"):!0,[T,F]=k.useState(new Set),U=Array.from(T).map(z=>z.props.value).join(";");return a.jsx(AP,{...f,children:a.jsxs(VV,{required:m,scope:e,trigger:x,onTriggerChange:v,valueNode:M,onValueNodeChange:w,valueNodeHasChildren:b,onValueNodeHasChildrenChange:C,contentId:mS(),value:N,onValueChange:R,open:S,onOpenChange:A,dir:I,triggerPointerDownPosRef:P,disabled:y,children:[a.jsx(Xb.Provider,{scope:e,children:a.jsx(BV,{scope:t.__scopeSelect,onNativeOptionAdd:k.useCallback(z=>{F(B=>new Set(B).add(z))},[]),onNativeOptionRemove:k.useCallback(z=>{F(B=>{const D=new Set(B);return D.delete(z),D})},[]),children:r})}),_?a.jsxs(g_,{"aria-hidden":!0,required:m,tabIndex:-1,name:u,autoComplete:p,value:N,onChange:z=>R(z.target.value),disabled:y,form:g,children:[N===void 0?a.jsx("option",{value:""}):null,Array.from(T)]},U):null]})})};XP.displayName=Gi;var JP="SelectTrigger",YP=k.forwardRef((t,e)=>{const{__scopeSelect:r,disabled:n=!1,...o}=t,i=Yb(r),c=tr(JP,r),l=c.disabled||n,d=Ht(e,c.onTriggerChange),h=Jb(r),u=k.useRef("touch"),[p,y,m]=M_(f=>{const x=h().filter(w=>!w.disabled),v=x.find(w=>w.value===c.value),M=w_(x,f,v);M!==void 0&&c.onValueChange(M.value)}),g=f=>{l||(c.onOpenChange(!0),m()),f&&(c.triggerPointerDownPosRef.current={x:Math.round(f.pageX),y:Math.round(f.pageY)})};return a.jsx(uS,{asChild:!0,...i,children:a.jsx(At.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":v_(c.value)?"":void 0,...o,ref:d,onClick:rt(o.onClick,f=>{f.currentTarget.focus(),u.current!=="mouse"&&g(f)}),onPointerDown:rt(o.onPointerDown,f=>{u.current=f.pointerType;const x=f.target;x.hasPointerCapture(f.pointerId)&&x.releasePointerCapture(f.pointerId),f.button===0&&f.ctrlKey===!1&&f.pointerType==="mouse"&&(g(f),f.preventDefault())}),onKeyDown:rt(o.onKeyDown,f=>{const x=p.current!=="";!(f.ctrlKey||f.altKey||f.metaKey)&&f.key.length===1&&y(f.key),!(x&&f.key===" ")&&EV.includes(f.key)&&(g(),f.preventDefault())})})})});YP.displayName=JP;var KP="SelectValue",QP=k.forwardRef((t,e)=>{const{__scopeSelect:r,className:n,style:o,children:i,placeholder:c="",...l}=t,d=tr(KP,r),{onValueNodeHasChildrenChange:h}=d,u=i!==void 0,p=Ht(e,d.onValueNodeChange);return ua(()=>{h(u)},[h,u]),a.jsx(At.span,{...l,ref:p,style:{pointerEvents:"none"},children:v_(d.value)?a.jsx(a.Fragment,{children:c}):i})});QP.displayName=KP;var $V="SelectIcon",e_=k.forwardRef((t,e)=>{const{__scopeSelect:r,children:n,...o}=t;return a.jsx(At.span,{"aria-hidden":!0,...o,ref:e,children:n||"▼"})});e_.displayName=$V;var WV="SelectPortal",t_=t=>a.jsx(Tb,{asChild:!0,...t});t_.displayName=WV;var Zi="SelectContent",a_=k.forwardRef((t,e)=>{const r=tr(Zi,t.__scopeSelect),[n,o]=k.useState();if(ua(()=>{o(new DocumentFragment)},[]),!r.open){const i=n;return i?bb.createPortal(a.jsx(r_,{scope:t.__scopeSelect,children:a.jsx(Xb.Slot,{scope:t.__scopeSelect,children:a.jsx("div",{children:t.children})})}),i):null}return a.jsx(n_,{...t,ref:e})});a_.displayName=Zi;var $t=10,[r_,ar]=Js(Zi),GV="SelectContentImpl",ZV=Ye("SelectContent.RemoveScroll"),n_=k.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:m,sticky:g,hideWhenDetached:f,avoidCollisions:x,...v}=t,M=tr(Zi,r),[w,b]=k.useState(null),[C,I]=k.useState(null),S=Ht(e,G=>b(G)),[A,N]=k.useState(null),[R,P]=k.useState(null),_=Jb(r),[T,F]=k.useState(!1),U=k.useRef(!1);k.useEffect(()=>{if(w)return Oj(w)},[w]),Ej();const z=k.useCallback(G=>{const[ae,...ve]=_().map(le=>le.ref.current),[se]=ve.slice(-1),ue=document.activeElement;for(const le of G)if(le===ue||(le==null||le.scrollIntoView({block:"nearest"}),le===ae&&C&&(C.scrollTop=0),le===se&&C&&(C.scrollTop=C.scrollHeight),le==null||le.focus(),document.activeElement!==ue))return},[_,C]),B=k.useCallback(()=>z([A,w]),[z,A,w]);k.useEffect(()=>{T&&B()},[T,B]);const{onOpenChange:D,triggerPointerDownPosRef:X}=M;k.useEffect(()=>{if(w){let G={x:0,y:0};const ae=se=>{var ue,le;G={x:Math.abs(Math.round(se.pageX)-(((ue=X.current)==null?void 0:ue.x)??0)),y:Math.abs(Math.round(se.pageY)-(((le=X.current)==null?void 0:le.y)??0))}},ve=se=>{G.x<=10&&G.y<=10?se.preventDefault():w.contains(se.target)||D(!1),document.removeEventListener("pointermove",ae),X.current=null};return X.current!==null&&(document.addEventListener("pointermove",ae),document.addEventListener("pointerup",ve,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",ae),document.removeEventListener("pointerup",ve,{capture:!0})}}},[w,D,X]),k.useEffect(()=>{const G=()=>D(!1);return window.addEventListener("blur",G),window.addEventListener("resize",G),()=>{window.removeEventListener("blur",G),window.removeEventListener("resize",G)}},[D]);const[ie,ee]=M_(G=>{const ae=_().filter(ue=>!ue.disabled),ve=ae.find(ue=>ue.ref.current===document.activeElement),se=w_(ae,G,ve);se&&setTimeout(()=>se.ref.current.focus())}),Re=k.useCallback((G,ae,ve)=>{const se=!U.current&&!ve;(M.value!==void 0&&M.value===ae||se)&&(N(G),se&&(U.current=!0))},[M.value]),J=k.useCallback(()=>w==null?void 0:w.focus(),[w]),Y=k.useCallback((G,ae,ve)=>{const se=!U.current&&!ve;(M.value!==void 0&&M.value===ae||se)&&P(G)},[M.value]),Q=n==="popper"?ej:o_,te=Q===ej?{side:l,sideOffset:d,align:h,alignOffset:u,arrowPadding:p,collisionBoundary:y,collisionPadding:m,sticky:g,hideWhenDetached:f,avoidCollisions:x}:{};return a.jsx(r_,{scope:r,content:w,viewport:C,onViewportChange:I,itemRefCallback:Re,selectedItem:A,onItemLeave:J,itemTextRefCallback:Y,focusSelectedItem:B,selectedItemText:R,position:n,isPositioned:T,searchRef:ie,children:a.jsx(Db,{as:ZV,allowPinchZoom:!0,children:a.jsx(_b,{asChild:!0,trapped:M.open,onMountAutoFocus:G=>{G.preventDefault()},onUnmountAutoFocus:rt(o,G=>{var ae;(ae=M.trigger)==null||ae.focus({preventScroll:!0}),G.preventDefault()}),children:a.jsx(Pb,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:c,onFocusOutside:G=>G.preventDefault(),onDismiss:()=>M.onOpenChange(!1),children:a.jsx(Q,{role:"listbox",id:M.contentId,"data-state":M.open?"open":"closed",dir:M.dir,onContextMenu:G=>G.preventDefault(),...v,...te,onPlaced:()=>F(!0),ref:S,style:{display:"flex",flexDirection:"column",outline:"none",...v.style},onKeyDown:rt(v.onKeyDown,G=>{const ae=G.ctrlKey||G.altKey||G.metaKey;if(G.key==="Tab"&&G.preventDefault(),!ae&&G.key.length===1&&ee(G.key),["ArrowUp","ArrowDown","Home","End"].includes(G.key)){let se=_().filter(ue=>!ue.disabled).map(ue=>ue.ref.current);if(["ArrowUp","End"].includes(G.key)&&(se=se.slice().reverse()),["ArrowUp","ArrowDown"].includes(G.key)){const ue=G.target,le=se.indexOf(ue);se=se.slice(le+1)}setTimeout(()=>z(se)),G.preventDefault()}})})})})})})});n_.displayName=GV;var XV="SelectItemAlignedPosition",o_=k.forwardRef((t,e)=>{const{__scopeSelect:r,onPlaced:n,...o}=t,i=tr(Zi,r),c=ar(Zi,r),[l,d]=k.useState(null),[h,u]=k.useState(null),p=Ht(e,S=>u(S)),y=Jb(r),m=k.useRef(!1),g=k.useRef(!0),{viewport:f,selectedItem:x,selectedItemText:v,focusSelectedItem:M}=c,w=k.useCallback(()=>{if(i.trigger&&i.valueNode&&l&&h&&f&&x&&v){const S=i.trigger.getBoundingClientRect(),A=h.getBoundingClientRect(),N=i.valueNode.getBoundingClientRect(),R=v.getBoundingClientRect();if(i.dir!=="rtl"){const ue=R.left-A.left,le=N.left-ue,He=S.left-le,Ie=S.width+He,H=Math.max(Ie,A.width),E=window.innerWidth-$t,K=PL(le,[$t,Math.max($t,E-H)]);l.style.minWidth=Ie+"px",l.style.left=K+"px"}else{const ue=A.right-R.right,le=window.innerWidth-N.right-ue,He=window.innerWidth-S.right-le,Ie=S.width+He,H=Math.max(Ie,A.width),E=window.innerWidth-$t,K=PL(le,[$t,Math.max($t,E-H)]);l.style.minWidth=Ie+"px",l.style.right=K+"px"}const P=y(),_=window.innerHeight-$t*2,T=f.scrollHeight,F=window.getComputedStyle(h),U=parseInt(F.borderTopWidth,10),z=parseInt(F.paddingTop,10),B=parseInt(F.borderBottomWidth,10),D=parseInt(F.paddingBottom,10),X=U+z+T+D+B,ie=Math.min(x.offsetHeight*5,X),ee=window.getComputedStyle(f),Re=parseInt(ee.paddingTop,10),J=parseInt(ee.paddingBottom,10),Y=S.top+S.height/2-$t,Q=_-Y,te=x.offsetHeight/2,G=x.offsetTop+te,ae=U+z+G,ve=X-ae;if(ae<=Y){const ue=P.length>0&&x===P[P.length-1].ref.current;l.style.bottom="0px";const le=h.clientHeight-f.offsetTop-f.offsetHeight,He=Math.max(Q,te+(ue?J:0)+le+B),Ie=ae+He;l.style.height=Ie+"px"}else{const ue=P.length>0&&x===P[0].ref.current;l.style.top="0px";const He=Math.max(Y,U+f.offsetTop+(ue?Re:0)+te)+ve;l.style.height=He+"px",f.scrollTop=ae-Y+f.offsetTop}l.style.margin=`${$t}px 0`,l.style.minHeight=ie+"px",l.style.maxHeight=_+"px",n==null||n(),requestAnimationFrame(()=>m.current=!0)}},[y,i.trigger,i.valueNode,l,h,f,x,v,i.dir,n]);ua(()=>w(),[w]);const[b,C]=k.useState();ua(()=>{h&&C(window.getComputedStyle(h).zIndex)},[h]);const I=k.useCallback(S=>{S&&g.current===!0&&(w(),M==null||M(),g.current=!1)},[w,M]);return a.jsx(YV,{scope:r,contentWrapper:l,shouldExpandOnScrollRef:m,onScrollButtonChange:I,children:a.jsx("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:b},children:a.jsx(At.div,{...o,ref:p,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});o_.displayName=XV;var JV="SelectPopperPosition",ej=k.forwardRef((t,e)=>{const{__scopeSelect:r,align:n="start",collisionPadding:o=$t,...i}=t,c=Yb(r);return a.jsx(PP,{...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)"}})});ej.displayName=JV;var[YV,fS]=Js(Zi,{}),tj="SelectViewport",i_=k.forwardRef((t,e)=>{const{__scopeSelect:r,nonce:n,...o}=t,i=ar(tj,r),c=fS(tj,r),l=Ht(e,i.onViewportChange),d=k.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(Xb.Slot,{scope:r,children:a.jsx(At.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:l,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:rt(o.onScroll,h=>{const u=h.currentTarget,{contentWrapper:p,shouldExpandOnScrollRef:y}=c;if(y!=null&&y.current&&p){const m=Math.abs(d.current-u.scrollTop);if(m>0){const g=window.innerHeight-$t*2,f=parseFloat(p.style.minHeight),x=parseFloat(p.style.height),v=Math.max(f,x);if(v<g){const M=v+m,w=Math.min(g,M),b=M-w;p.style.height=w+"px",p.style.bottom==="0px"&&(u.scrollTop=b>0?b:0,p.style.justifyContent="flex-end")}}}d.current=u.scrollTop})})})]})});i_.displayName=tj;var s_="SelectGroup",[KV,QV]=Js(s_),eB=k.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t,o=mS();return a.jsx(KV,{scope:r,id:o,children:a.jsx(At.div,{role:"group","aria-labelledby":o,...n,ref:e})})});eB.displayName=s_;var c_="SelectLabel",l_=k.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t,o=QV(c_,r);return a.jsx(At.div,{id:o.id,...n,ref:e})});l_.displayName=c_;var Mb="SelectItem",[tB,d_]=Js(Mb),h_=k.forwardRef((t,e)=>{const{__scopeSelect:r,value:n,disabled:o=!1,textValue:i,...c}=t,l=tr(Mb,r),d=ar(Mb,r),h=l.value===n,[u,p]=k.useState(i??""),[y,m]=k.useState(!1),g=Ht(e,M=>{var w;return(w=d.itemRefCallback)==null?void 0:w.call(d,M,n,o)}),f=mS(),x=k.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(tB,{scope:r,value:n,disabled:o,textId:f,isSelected:h,onItemTextChange:k.useCallback(M=>{p(w=>w||((M==null?void 0:M.textContent)??"").trim())},[]),children:a.jsx(Xb.ItemSlot,{scope:r,value:n,disabled:o,textValue:u,children:a.jsx(At.div,{role:"option","aria-labelledby":f,"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:g,onFocus:rt(c.onFocus,()=>m(!0)),onBlur:rt(c.onBlur,()=>m(!1)),onClick:rt(c.onClick,()=>{x.current!=="mouse"&&v()}),onPointerUp:rt(c.onPointerUp,()=>{x.current==="mouse"&&v()}),onPointerDown:rt(c.onPointerDown,M=>{x.current=M.pointerType}),onPointerMove:rt(c.onPointerMove,M=>{var w;x.current=M.pointerType,o?(w=d.onItemLeave)==null||w.call(d):x.current==="mouse"&&M.currentTarget.focus({preventScroll:!0})}),onPointerLeave:rt(c.onPointerLeave,M=>{var w;M.currentTarget===document.activeElement&&((w=d.onItemLeave)==null||w.call(d))}),onKeyDown:rt(c.onKeyDown,M=>{var b;((b=d.searchRef)==null?void 0:b.current)!==""&&M.key===" "||(OV.includes(M.key)&&v(),M.key===" "&&M.preventDefault())})})})})});h_.displayName=Mb;var sc="SelectItemText",u_=k.forwardRef((t,e)=>{const{__scopeSelect:r,className:n,style:o,...i}=t,c=tr(sc,r),l=ar(sc,r),d=d_(sc,r),h=UV(sc,r),[u,p]=k.useState(null),y=Ht(e,v=>p(v),d.onItemTextChange,v=>{var M;return(M=l.itemTextRefCallback)==null?void 0:M.call(l,v,d.value,d.disabled)}),m=u==null?void 0:u.textContent,g=k.useMemo(()=>a.jsx("option",{value:d.value,disabled:d.disabled,children:m},d.value),[d.disabled,d.value,m]),{onNativeOptionAdd:f,onNativeOptionRemove:x}=h;return ua(()=>(f(g),()=>x(g)),[f,x,g]),a.jsxs(a.Fragment,{children:[a.jsx(At.span,{id:d.textId,...i,ref:y}),d.isSelected&&c.valueNode&&!c.valueNodeHasChildren?bb.createPortal(i.children,c.valueNode):null]})});u_.displayName=sc;var p_="SelectItemIndicator",y_=k.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t;return d_(p_,r).isSelected?a.jsx(At.span,{"aria-hidden":!0,...n,ref:e}):null});y_.displayName=p_;var aj="SelectScrollUpButton",m_=k.forwardRef((t,e)=>{const r=ar(aj,t.__scopeSelect),n=fS(aj,t.__scopeSelect),[o,i]=k.useState(!1),c=Ht(e,n.onScrollButtonChange);return ua(()=>{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(x_,{...t,ref:c,onAutoScroll:()=>{const{viewport:l,selectedItem:d}=r;l&&d&&(l.scrollTop=l.scrollTop-d.offsetHeight)}}):null});m_.displayName=aj;var rj="SelectScrollDownButton",f_=k.forwardRef((t,e)=>{const r=ar(rj,t.__scopeSelect),n=fS(rj,t.__scopeSelect),[o,i]=k.useState(!1),c=Ht(e,n.onScrollButtonChange);return ua(()=>{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(x_,{...t,ref:c,onAutoScroll:()=>{const{viewport:l,selectedItem:d}=r;l&&d&&(l.scrollTop=l.scrollTop+d.offsetHeight)}}):null});f_.displayName=rj;var x_=k.forwardRef((t,e)=>{const{__scopeSelect:r,onAutoScroll:n,...o}=t,i=ar("SelectScrollButton",r),c=k.useRef(null),l=Jb(r),d=k.useCallback(()=>{c.current!==null&&(window.clearInterval(c.current),c.current=null)},[]);return k.useEffect(()=>()=>d(),[d]),ua(()=>{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(At.div,{"aria-hidden":!0,...o,ref:e,style:{flexShrink:0,...o.style},onPointerDown:rt(o.onPointerDown,()=>{c.current===null&&(c.current=window.setInterval(n,50))}),onPointerMove:rt(o.onPointerMove,()=>{var h;(h=i.onItemLeave)==null||h.call(i),c.current===null&&(c.current=window.setInterval(n,50))}),onPointerLeave:rt(o.onPointerLeave,()=>{d()})})}),aB="SelectSeparator",k_=k.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t;return a.jsx(At.div,{"aria-hidden":!0,...n,ref:e})});k_.displayName=aB;var nj="SelectArrow",rB=k.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t,o=Yb(r),i=tr(nj,r),c=ar(nj,r);return i.open&&c.position==="popper"?a.jsx(_P,{...o,...n,ref:e}):null});rB.displayName=nj;var nB="SelectBubbleInput",g_=k.forwardRef(({__scopeSelect:t,value:e,...r},n)=>{const o=k.useRef(null),i=Ht(n,o),c=Yj(e);return k.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(At.select,{...r,style:{...ZP,...r.style},ref:i,defaultValue:e})});g_.displayName=nB;function v_(t){return t===""||t===void 0}function M_(t){const e=PV(t),r=k.useRef(""),n=k.useRef(0),o=k.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=k.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return k.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,o,i]}function w_(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=oB(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 oB(t,e){return t.map((r,n)=>t[(e+n)%t.length])}var iB=XP,b_=YP,sB=QP,cB=e_,lB=t_,C_=a_,dB=i_,j_=l_,S_=h_,hB=u_,uB=y_,L_=m_,I_=f_,N_=k_;const Wc=iB,Gc=sB,Vs=k.forwardRef(({className:t,children:e,...r},n)=>a.jsxs(b_,{ref:n,className:oe("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(cB,{asChild:!0,children:a.jsx(qA,{className:"h-4 w-4 opacity-50"})})]}));Vs.displayName=b_.displayName;const A_=k.forwardRef(({className:t,...e},r)=>a.jsx(L_,{ref:r,className:oe("flex cursor-default items-center justify-center py-1",t),...e,children:a.jsx(WF,{className:"h-4 w-4"})}));A_.displayName=L_.displayName;const P_=k.forwardRef(({className:t,...e},r)=>a.jsx(I_,{ref:r,className:oe("flex cursor-default items-center justify-center py-1",t),...e,children:a.jsx(qA,{className:"h-4 w-4"})}));P_.displayName=I_.displayName;const Bs=k.forwardRef(({className:t,children:e,position:r="popper",...n},o)=>a.jsx(lB,{children:a.jsxs(C_,{ref:o,className:oe("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(A_,{}),a.jsx(dB,{className:oe("p-1",r==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),a.jsx(P_,{})]})}));Bs.displayName=C_.displayName;const pB=k.forwardRef(({className:t,...e},r)=>a.jsx(j_,{ref:r,className:oe("px-2 py-1.5 text-sm font-semibold",t),...e}));pB.displayName=j_.displayName;const Us=k.forwardRef(({className:t,children:e,...r},n)=>a.jsxs(S_,{ref:n,className:oe("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(uB,{children:a.jsx(BF,{className:"h-4 w-4"})})}),a.jsx(hB,{children:e})]}));Us.displayName=S_.displayName;const yB=k.forwardRef(({className:t,...e},r)=>a.jsx(N_,{ref:r,className:oe("-mx-1 my-1 h-px bg-muted",t),...e}));yB.displayName=N_.displayName;function mB({open:t,onClose:e,onAdded:r,existingExperience:n,onUpdated:o}){const i=new Date().getFullYear(),c=Array.from({length:40},(m,g)=>`${i-g}`),[l,d]=j.useState({title:"",company:"",startYear:"",endYear:"",isPresent:!1,tags:""});j.useEffect(()=>{if(n){const[m,g]=n.period.split(" - ");d({title:n.title,company:n.company,startYear:m||"",endYear:g==="Present"?"":g||"",isPresent:g==="Present",tags:n.tags.join(", ")})}else d({title:"",company:"",startYear:"",endYear:"",isPresent:!1,tags:""})},[n,t]);const[h,u]=j.useState(!1),p=(m,g)=>d(f=>({...f,[m]:g})),y=()=>{const m=l.isPresent?`${l.startYear} - Present`:`${l.startYear} - ${l.endYear}`,g={id:(n==null?void 0:n.id)||`temp-${Date.now()}`,title:l.title,company:l.company,period:m,tags:l.tags.split(",").map(f=>f.trim()).filter(Boolean)};n?o==null||o(g):r(g),d({title:"",company:"",startYear:"",endYear:"",isPresent:!1,tags:""}),e()};return a.jsx(Ws,{open:t,onOpenChange:e,children:a.jsxs(Ki,{children:[a.jsx(es,{children:n?"Edit Work Experience":"Add Work Experience"}),a.jsxs("div",{className:"space-y-4 py-2",children:[a.jsxs("div",{children:[a.jsx(he,{children:"Title"}),a.jsx(Xe,{value:l.title,onChange:m=>p("title",m.target.value)})]}),a.jsxs("div",{children:[a.jsx(he,{children:"Company"}),a.jsx(Xe,{value:l.company,onChange:m=>p("company",m.target.value)})]}),a.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[a.jsxs("div",{children:[a.jsx(he,{children:"Start Year"}),a.jsxs(Wc,{onValueChange:m=>p("startYear",m),value:l.startYear,children:[a.jsx(Vs,{children:a.jsx(Gc,{placeholder:"Select year"})}),a.jsx(Bs,{children:c.map(m=>a.jsx(Us,{value:m,children:m},m))})]})]}),!l.isPresent&&a.jsxs("div",{children:[a.jsx(he,{children:"End Year"}),a.jsxs(Wc,{onValueChange:m=>p("endYear",m),value:l.endYear,children:[a.jsx(Vs,{children:a.jsx(Gc,{placeholder:"Select year"})}),a.jsx(Bs,{children:c.map(m=>a.jsx(Us,{value:m,children:m},m))})]})]})]}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx("input",{id:"present",type:"checkbox",checked:l.isPresent,onChange:m=>p("isPresent",m.target.checked),className:"w-4 h-4 accent-primary"}),a.jsx(he,{htmlFor:"present",children:"I currently work here"})]}),a.jsxs("div",{children:[a.jsx(he,{children:"Tags (comma-separated)"}),a.jsx(WP,{placeholder:"e.g., Product Strategy, iGaming, Agile",value:l.tags,onChange:m=>p("tags",m.target.value)})]})]}),a.jsxs(Qi,{children:[a.jsx(O,{variant:"outline",onClick:e,children:"Cancel"}),a.jsx(O,{onClick:y,disabled:h||!l.title||!l.company||!l.startYear||!l.isPresent&&!l.endYear,children:h?"Saving...":n?"Save Changes":"Add Experience"})]})]})})}function fB(t,e=[]){let r=[];function n(i,c){const l=k.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:m,...g}=p,f=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=k.useMemo(()=>g,Object.values(g));return a.jsx(f.Provider,{value:x,children:m})};h.displayName=i+"Provider";function u(p,y){var f;const m=((f=y==null?void 0:y[t])==null?void 0:f[d])||l,g=k.useContext(m);if(g)return g;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=>k.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return k.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,xB(o,...e)]}function xB(...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 k.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function RL(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function kB(...t){return e=>{let r=!1;const n=t.map(o=>{const i=RL(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():RL(t[o],null)}}}}function __(...t){return k.useCallback(kB(...t),t)}function gB(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 T_="AlertDialog",[vB,iU]=fB(T_,[xA]),Aa=xA(),R_=t=>{const{__scopeAlertDialog:e,...r}=t,n=Aa(e);return a.jsx(TA,{...n,...r,modal:!0})};R_.displayName=T_;var MB="AlertDialogTrigger",wB=k.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,o=Aa(r);return a.jsx(HF,{...o,...n,ref:e})});wB.displayName=MB;var bB="AlertDialogPortal",q_=t=>{const{__scopeAlertDialog:e,...r}=t,n=Aa(e);return a.jsx(RA,{...n,...r})};q_.displayName=bB;var CB="AlertDialogOverlay",D_=k.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,o=Aa(r);return a.jsx(Uj,{...o,...n,ref:e})});D_.displayName=CB;var Ts="AlertDialogContent",[jB,SB]=vB(Ts),LB=MT("AlertDialogContent"),z_=k.forwardRef((t,e)=>{const{__scopeAlertDialog:r,children:n,...o}=t,i=Aa(r),c=k.useRef(null),l=__(e,c),d=k.useRef(null);return a.jsx(zF,{contentName:Ts,titleName:F_,docsSlug:"alert-dialog",children:a.jsx(jB,{scope:r,cancelRef:d,children:a.jsxs($j,{role:"alertdialog",...i,...o,ref:l,onOpenAutoFocus:gB(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(LB,{children:n}),a.jsx(NB,{contentRef:c})]})})})});z_.displayName=Ts;var F_="AlertDialogTitle",E_=k.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,o=Aa(r);return a.jsx(Wj,{...o,...n,ref:e})});E_.displayName=F_;var O_="AlertDialogDescription",H_=k.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,o=Aa(r);return a.jsx(Gj,{...o,...n,ref:e})});H_.displayName=O_;var IB="AlertDialogAction",V_=k.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,o=Aa(r);return a.jsx(Zj,{...o,...n,ref:e})});V_.displayName=IB;var B_="AlertDialogCancel",U_=k.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,{cancelRef:o}=SB(B_,r),i=Aa(r),c=__(e,o);return a.jsx(Zj,{...i,...n,ref:c})});U_.displayName=B_;var NB=({contentRef:t})=>{const e=`\`${Ts}\` requires a description for the component to be accessible for screen reader users.
7814
7814
 
7815
7815
  You can add a description to the \`${Ts}\` by passing a \`${O_}\` 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 \`${Ts}\`. 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 k.useEffect(()=>{var n;document.getElementById((n=t.current)==null?void 0:n.getAttribute("aria-describedby"))||console.warn(e)},[e,t]),null},AB=R_,PB=q_,$_=D_,W_=z_,G_=V_,Z_=U_,X_=E_,J_=H_;const _B=AB,TB=PB,Y_=k.forwardRef(({className:t,...e},r)=>a.jsx($_,{className:oe("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}));Y_.displayName=$_.displayName;const K_=k.forwardRef(({className:t,...e},r)=>a.jsxs(TB,{children:[a.jsx(Y_,{}),a.jsx(W_,{ref:r,className:oe("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})]}));K_.displayName=W_.displayName;const Q_=({className:t,...e})=>a.jsx("div",{className:oe("flex flex-col space-y-2 text-center sm:text-left",t),...e});Q_.displayName="AlertDialogHeader";const eT=({className:t,...e})=>a.jsx("div",{className:oe("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...e});eT.displayName="AlertDialogFooter";const tT=k.forwardRef(({className:t,...e},r)=>a.jsx(X_,{ref:r,className:oe("text-lg font-semibold",t),...e}));tT.displayName=X_.displayName;const aT=k.forwardRef(({className:t,...e},r)=>a.jsx(J_,{ref:r,className:oe("text-sm text-muted-foreground",t),...e}));aT.displayName=J_.displayName;const rT=k.forwardRef(({className:t,...e},r)=>a.jsx(G_,{ref:r,className:oe(sj(),t),...e}));rT.displayName=G_.displayName;const nT=k.forwardRef(({className:t,...e},r)=>a.jsx(Z_,{ref:r,className:oe(sj({variant:"outline"}),"mt-2 sm:mt-0",t),...e}));nT.displayName=Z_.displayName;function qL({open:t,onClose:e,onAdded:r,title:n,placeholder:o}){const[i,c]=C.useState("");C.useEffect(()=>{t||c("")},[t]);const l=()=>{i.trim()&&(r(i.trim()),c(""),e())};return a.jsx(Ws,{open:t,onOpenChange:e,children:a.jsxs(Ki,{children:[a.jsx(Gs,{children:a.jsx(es,{children:n})}),a.jsx("div",{className:"space-y-4 py-2",children:a.jsxs("div",{children:[a.jsx(he,{children:n}),a.jsx(Xe,{value:i,onChange:d=>c(d.target.value),placeholder:o||"Type and save"})]})}),a.jsxs(Qi,{children:[a.jsx(O,{variant:"outline",onClick:e,children:"Cancel"}),a.jsx(O,{onClick:l,disabled:!i.trim(),children:"Add"})]})]})})}const DL=["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 RB({open:t,onClose:e,onAdded:r}){const[n,o]=C.useState(""),[i,c]=C.useState(DL),l=()=>{n.trim()&&(r(n.trim()),o(""),e())},d=h=>{o(h);const u=DL.filter(p=>p.toLowerCase().includes(h.toLowerCase()));c(u)};return a.jsx(Ws,{open:t,onOpenChange:e,children:a.jsxs(Ki,{children:[a.jsx(Gs,{children:a.jsx(es,{children:"Add Skill"})}),a.jsxs("div",{className:"space-y-4 py-2",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(he,{htmlFor:"skill",children:"Skill Name"}),a.jsx(Xe,{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(Qi,{children:[a.jsx(O,{variant:"outline",onClick:e,children:"Cancel"}),a.jsx(O,{onClick:l,disabled:!n.trim(),children:"Add Skill"})]})]})})}const zL=["Regulation","Technology","Market Trends","Responsible Gaming","Game Design","Payments","Marketing","AI in iGaming","Player Retention","Security"];function qB({open:t,onClose:e,onAdded:r}){const[n,o]=C.useState(""),[i,c]=C.useState(zL),l=()=>{n.trim()&&(r(n.trim()),o(""),e())},d=h=>{o(h),c(zL.filter(u=>u.toLowerCase().includes(h.toLowerCase())))};return a.jsx(Ws,{open:t,onOpenChange:e,children:a.jsxs(Ki,{children:[a.jsx(Gs,{children:a.jsx(es,{children:"Add Interested Topic"})}),a.jsxs("div",{className:"space-y-4 py-2",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(he,{htmlFor:"topic",children:"Topic"}),a.jsx(Xe,{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(Qi,{children:[a.jsx(O,{variant:"outline",onClick:e,children:"Cancel"}),a.jsx(O,{onClick:l,disabled:!n.trim(),children:"Add Topic"})]})]})})}const DB=["English","Spanish","French","German","Italian","Portuguese","Polish","Turkish","Swedish","Norwegian","Finnish","Danish","Dutch","Japanese","Chinese","Korean"],zB=["Native","Fluent","Intermediate","Basic"];function FB({open:t,onClose:e,onAdded:r}){const[n,o]=C.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(Ws,{open:t,onOpenChange:e,children:a.jsxs(Ki,{children:[a.jsx(Gs,{children:a.jsx(es,{children:"Add Language"})}),a.jsxs("div",{className:"space-y-4 py-2",children:[a.jsxs("div",{children:[a.jsx(he,{children:"Language"}),a.jsxs(Wc,{value:n.name,onValueChange:c=>o(l=>({...l,name:c})),children:[a.jsx(Vs,{children:a.jsx(Gc,{placeholder:"Select a language"})}),a.jsx(Bs,{children:DB.map(c=>a.jsx(Us,{value:c,children:c},c))})]})]}),a.jsxs("div",{children:[a.jsx(he,{children:"Proficiency"}),a.jsxs(Wc,{value:n.proficiency,onValueChange:c=>o(l=>({...l,proficiency:c})),children:[a.jsx(Vs,{children:a.jsx(Gc,{placeholder:"Select proficiency"})}),a.jsx(Bs,{children:zB.map(c=>a.jsx(Us,{value:c,children:c},c))})]})]})]}),a.jsxs(Qi,{children:[a.jsx(O,{variant:"outline",onClick:e,children:"Cancel"}),a.jsx(O,{onClick:i,disabled:!n.name||!n.proficiency,children:"Add"})]})]})})}function EB({profile:t,onUpdate:e,isSaving:r=!1}){const[n,o]=C.useState(t),[i,c]=C.useState(!1),[l,d]=C.useState(null);C.useState(null);const[h,u]=C.useState(null),[p,y]=C.useState(!1),[m,v]=C.useState(!1),[f,x]=C.useState(!1),[g,M]=C.useState(!1),[w,j]=C.useState(!1),b=["Full-time","Part-time","Contract","Freelance","Internship","Temporary"],I=["English","Spanish","French","German","Italian","Portuguese","Polish","Turkish","Swedish","Norwegian","Finnish","Danish","Dutch","Japanese","Chinese","Korean"],S=()=>{l&&(o(P=>{const _={...P,workExperience:P.workExperience.filter(T=>T.id!==l)};return e({type:"profile",payload:_}),_}),d(null))},A=(P,_,T)=>{o(F=>({...F,[P]:{...F[P],[_]:T}}))},N=(P,_,T)=>{o(F=>({...F,[P]:{...F[P],[_]:T}}))},R=()=>{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(O,{onClick:R,disabled:r,children:r?"Saving...":"Save Changes"})]}),a.jsxs(Ji,{defaultValue:"personal",className:"w-full",children:[a.jsxs(Ka,{className:"grid w-full grid-cols-3 lg:grid-cols-7",children:[a.jsx(be,{value:"personal",children:"Personal"}),a.jsx(be,{value:"experience",children:"Experience"}),a.jsx(be,{value:"job-search",children:"Job Search"}),a.jsx(be,{value:"skills",children:"Skills"}),a.jsx(be,{value:"languages",children:"Languages"}),a.jsx(be,{value:"alerts",children:"Alerts"}),a.jsx(be,{value:"preferences",children:"Preferences"})]}),a.jsx(Ce,{value:"personal",children:a.jsxs(ge,{children:[a.jsxs(_e,{children:[a.jsx(Te,{children:"Personal Details"}),a.jsx(Be,{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(he,{htmlFor:"fullName",children:"Full Name"}),a.jsx(Xe,{id:"fullName",value:n.personalDetails.fullName,onChange:P=>A("personalDetails","fullName",P.target.value)})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(he,{htmlFor:"email",children:"Email"}),a.jsx(Xe,{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(he,{htmlFor:"phone",children:"Phone"}),a.jsx(Xe,{id:"phone",value:n.personalDetails.phone,onChange:P=>A("personalDetails","phone",P.target.value)})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(he,{htmlFor:"location",children:"Location"}),a.jsx(Xe,{id:"location",value:n.personalDetails.location,onChange:P=>A("personalDetails","location",P.target.value)})]})]})})]})}),a.jsx(Ce,{value:"experience",children:a.jsxs(ge,{children:[a.jsxs(_e,{children:[a.jsx(Te,{children:"Work Experience"}),a.jsx(Be,{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(O,{variant:"outline",size:"sm",onClick:()=>{const _=n.workExperience.find(T=>T.id===P.id);u(_||null),c(!0)},children:"Edit"}),a.jsx(O,{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(nt,{variant:"secondary",children:_},_))})]},P.id)),a.jsx(O,{variant:"outline",className:"w-full",onClick:()=>c(!0),children:"Add Experience"})]})]})}),a.jsx(mB,{open:i,onClose:()=>{c(!1),u(null)},existingExperience:h,onAdded:P=>{o(_=>({..._,workExperience:[..._.workExperience,P]}))},onUpdated:P=>{o(_=>({..._,workExperience:_.workExperience.map(T=>T.id===P.id?P:T)}))}}),a.jsx(_B,{open:!!l,onOpenChange:()=>d(null),children:a.jsxs(K_,{children:[a.jsxs(Q_,{children:[a.jsx(tT,{children:"Delete Experience"}),a.jsx(aT,{children:"Are you sure you want to delete this work experience? This action cannot be undone."})]}),a.jsxs(eT,{children:[a.jsx(nT,{children:"Cancel"}),a.jsx(rT,{onClick:S,className:"bg-destructive text-white",children:"Delete"})]})]})}),a.jsxs(Ce,{value:"job-search",children:[a.jsxs(ge,{children:[a.jsxs(_e,{children:[a.jsx(Te,{children:"Job Search Details"}),a.jsx(Be,{children:"Define your ideal job preferences"})]}),a.jsxs(we,{className:"space-y-6",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(he,{children:"Desired Roles"}),a.jsx("div",{className:"flex flex-wrap gap-2",children:n.jobSearchDetails.desiredRoles.map(P=>a.jsxs(nt,{variant:"secondary",children:[P,a.jsx(O,{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(O,{variant:"outline",size:"sm",onClick:()=>y(!0),children:"Add Role"})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(he,{children:"Preferred Locations"}),a.jsx("div",{className:"flex flex-wrap gap-2",children:n.jobSearchDetails.locations.map(P=>a.jsxs(nt,{variant:"secondary",children:[P,a.jsx(O,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>o(_=>({..._,jobSearchDetails:{..._.jobSearchDetails,locations:_.jobSearchDetails.locations.filter(T=>T!==P)}})),children:"✕"})]},P))}),a.jsx(O,{variant:"outline",size:"sm",onClick:()=>v(!0),children:"Add Location"})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(he,{children:"Employment Type"}),a.jsxs(MV,{children:[a.jsx(wV,{asChild:!0,children:a.jsx(O,{variant:"outline",className:"w-full justify-between",children:n.jobSearchDetails.employmentType.length>0?n.jobSearchDetails.employmentType.join(", "):"Select Employment Type"})}),a.jsx($P,{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(T=>{const U=T.jobSearchDetails.employmentType.includes(P)?T.jobSearchDetails.employmentType.filter(z=>z!==P):[...T.jobSearchDetails.employmentType,P];return{...T,jobSearchDetails:{...T.jobSearchDetails,employmentType:U}}}),children:[a.jsx(aS,{checked:_}),a.jsx(he,{className:"text-sm",children:P})]},P)})})]})]})]})]}),a.jsx(qL,{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(qL,{open:m,onClose:()=>v(!1),title:"Add Preferred Location",placeholder:"e.g. Malta or Remote",onAdded:P=>o(_=>({..._,jobSearchDetails:{..._.jobSearchDetails,locations:[..._.jobSearchDetails.locations,P]}}))})]}),a.jsxs(Ce,{value:"skills",children:[a.jsxs(ge,{children:[a.jsxs(_e,{children:[a.jsx(Te,{children:"Skill Set"}),a.jsx(Be,{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(nt,{variant:"secondary",className:"flex items-center gap-1",children:[P,a.jsx(O,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>o(_=>({..._,skills:_.skills.filter(T=>T!==P)})),children:"✕"})]},P))}),a.jsx(O,{variant:"outline",onClick:()=>x(!0),children:"Add Skill"})]})]}),a.jsx(RB,{open:f,onClose:()=>x(!1),onAdded:P=>o(_=>({..._,skills:Array.from(new Set([..._.skills,P]))}))})]}),a.jsxs(Ce,{value:"languages",children:[a.jsxs(ge,{children:[a.jsxs(_e,{children:[a.jsx(Te,{children:"Languages"}),a.jsx(Be,{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(nt,{variant:"secondary",className:"flex items-center gap-1",children:[P.name," — ",P.proficiency,a.jsx(O,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>o(T=>({...T,languages:T.languages.filter((F,U)=>U!==_)})),children:"✕"})]},`${P.name}-${_}`))}),a.jsx(O,{variant:"outline",onClick:()=>j(!0),children:"Add Language"})]})]}),a.jsx(FB,{open:w,onClose:()=>j(!1),onAdded:P=>o(_=>({..._,languages:[..._.languages,P]}))})]}),a.jsx(Ce,{value:"alerts",children:a.jsxs(ge,{children:[a.jsxs(_e,{children:[a.jsx(Te,{children:"Alerts & Subscriptions"}),a.jsx(Be,{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(he,{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(Gt,{id:"job-alerts",checked:n.alerts.jobAlerts,onCheckedChange:P=>N("alerts","jobAlerts",P)})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(he,{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(Gt,{id:"course-alerts",checked:n.alerts.courseAlerts,onCheckedChange:P=>N("alerts","courseAlerts",P)})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(he,{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(Gt,{id:"news-alerts",checked:n.alerts.newsAlerts,onCheckedChange:P=>N("alerts","newsAlerts",P)})]})]})]})}),a.jsxs(Ce,{value:"preferences",children:[a.jsxs(ge,{children:[a.jsxs(_e,{children:[a.jsx(Te,{children:"Preferences"}),a.jsx(Be,{children:"Customize your platform experience"})]}),a.jsxs(we,{className:"space-y-6",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(he,{children:"Interested Topics"}),a.jsx("div",{className:"flex flex-wrap gap-2",children:n.preferences.topics.map(P=>a.jsxs(nt,{variant:"secondary",className:"flex items-center gap-1",children:[P,a.jsx(O,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>o(_=>({..._,preferences:{..._.preferences,topics:_.preferences.topics.filter(T=>T!==P)}})),children:"✕"})]},P))}),a.jsx(O,{variant:"outline",size:"sm",onClick:()=>M(!0),children:"Manage Topics"})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(he,{htmlFor:"language",children:"Language"}),a.jsxs(Wc,{value:n.preferences.language,onValueChange:P=>A("preferences","language",P),children:[a.jsx(Vs,{id:"language",children:a.jsx(Gc,{placeholder:"Select your preferred language"})}),a.jsx(Bs,{children:I.map(P=>a.jsx(Us,{value:P,children:P},P))})]})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(he,{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(Gt,{id:"email-notif",checked:n.preferences.emailNotifications,onCheckedChange:P=>N("preferences","emailNotifications",P)})]})]})]}),a.jsx(qB,{open:g,onClose:()=>M(!1),onAdded:P=>o(_=>({..._,preferences:{..._.preferences,topics:Array.from(new Set([..._.preferences.topics,P]))}}))})]})]})]})}function OB({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]=C.useState({saved:t||[],recommended:r||[],applications:e||[]});C.useEffect(()=>{u({saved:t||[],recommended:r||[],applications:e||[]})},[t,r,e]);const p=x=>{u(g=>{if(g.saved.some(j=>j.id===x.id))return g;const w={...g,saved:[...g.saved,x]};return l==null||l({type:"jobs",payload:d(w)}),w})},y=x=>{u(g=>{const M={...g,saved:g.saved.filter(w=>w.id!==x)};return l==null||l({type:"jobs",payload:d(M)}),M})},m=x=>{u(g=>{const M={...g,recommended:g.recommended.filter(w=>w.id!==x)};return l==null||l({type:"jobs",payload:d(M)}),M})},v=x=>{const g=h.recommended.find(M=>M.id===x);g&&(u(M=>{const w={...M,applications:[...M.applications,{...g,status:"Applied",appliedDate:new Date().toLocaleDateString()}]};return l==null||l({type:"jobs",payload:d(w)}),w}),n(x))},f=({job:x,view:g})=>{var b;const M=h.saved.some(I=>I.id===x.id),w=x.city?`${x.city}, ${x.country}`:x.location,j=x.salaryMin&&x.salaryMax?`${x.salaryMin}–${x.salaryMax} ${x.salaryCurrency||""}`:void 0;return a.jsxs(ge,{children:[a.jsxs(_e,{children:[a.jsxs("div",{className:"flex justify-between items-start",children:[a.jsxs("div",{className:"flex-1",children:[a.jsx(Te,{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(ms,{className:"h-4 w-4"})," ",x.company]}),a.jsxs("span",{className:"flex items-center gap-1",children:[a.jsx(Ft,{className:"h-4 w-4"})," ",w]})]})]}),g==="applications"&&x.status&&a.jsx(nt,{variant:"secondary",children:x.status})]}),j&&a.jsx("p",{className:"text-sm font-semibold text-accent mt-1",children:j})]}),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(nt,{variant:"outline",children:x.department}),(b=x.skills)==null?void 0:b.slice(0,6).map(I=>a.jsx(nt,{variant:"secondary",children:I},I))]}),g==="applications"&&x.appliedDate&&a.jsxs("p",{className:"text-xs text-muted-foreground flex items-center gap-1",children:[a.jsx(Zt,{className:"h-3 w-3"}),"Applied ",x.appliedDate]}),a.jsxs("div",{className:"flex gap-2",children:[g==="recommended"&&a.jsxs(a.Fragment,{children:[a.jsx(O,{size:"sm",onClick:()=>v(x.id),children:"Apply Now"}),a.jsx(O,{variant:M?"secondary":"outline",size:"sm",disabled:M,onClick:()=>p(x),children:M?"Saved":"Save Job"}),a.jsx(O,{variant:"destructive",size:"sm",onClick:()=>m(x.id),children:"Remove"})]}),g==="saved"&&a.jsx(O,{variant:"destructive",size:"sm",onClick:()=>y(x.id),children:"Remove"}),g==="applications"&&a.jsx(O,{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(O,{variant:"outline",onClick:c,children:"Set Job Alerts"}),a.jsxs(O,{onClick:i,children:[a.jsx(Ls,{className:"h-4 w-4 mr-2"}),"Upload CV"]})]})]}),a.jsxs(Ji,{defaultValue:"recommended",className:"w-full",children:[a.jsxs(Ka,{children:[a.jsxs(be,{value:"recommended",children:["Recommended (",h.recommended.length,")"]}),a.jsxs(be,{value:"saved",children:[a.jsx(ia,{className:"h-4 w-4 mr-2"}),"Saved (",h.saved.length,")"]}),a.jsxs(be,{value:"applications",children:[a.jsx(pt,{className:"h-4 w-4 mr-2"}),"Applications (",h.applications.length,")"]})]}),a.jsx(Ce,{value:"recommended",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4",children:h.recommended.map(x=>a.jsx(f,{job:x,view:"recommended"},x.id))})}),a.jsx(Ce,{value:"saved",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4",children:h.saved.length===0?a.jsx(ge,{children:a.jsxs(we,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(ia,{className:"h-12 w-12 text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No saved jobs yet"}),a.jsx(O,{variant:"link",className:"mt-2",children:"Browse Jobs"})]})}):h.saved.map(x=>a.jsx(f,{job:x,view:"saved"},x.id))})}),a.jsx(Ce,{value:"applications",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4",children:h.applications.length===0?a.jsx(ge,{children:a.jsxs(we,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(pt,{className:"h-12 w-12 text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No applications yet"}),a.jsx(O,{variant:"link",className:"mt-2",children:"Start Applying"})]})}):h.applications.map(x=>a.jsx(f,{job:x,view:"applications"},x.id))})})]})]})}function HB(t,e=[]){let r=[];function n(i,c){const l=k.createContext(c),d=r.length;r=[...r,c];const h=p=>{var g;const{scope:y,children:m,...v}=p,f=((g=y==null?void 0:y[t])==null?void 0:g[d])||l,x=k.useMemo(()=>v,Object.values(v));return a.jsx(f.Provider,{value:x,children:m})};h.displayName=i+"Provider";function u(p,y){var f;const m=((f=y==null?void 0:y[t])==null?void 0:f[d])||l,v=k.useContext(m);if(v)return v;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=>k.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return k.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 k.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var BB=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],oT=BB.reduce((t,e)=>{const r=Ye(`Primitive.${e}`),n=k.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}},{}),xS="Progress",kS=100,[UB,sU]=HB(xS),[$B,WB]=UB(xS),iT=k.forwardRef((t,e)=>{const{__scopeProgress:r,value:n=null,max:o,getValueLabel:i=GB,...c}=t;(o||o===0)&&!FL(o)&&console.error(ZB(`${o}`,"Progress"));const l=FL(o)?o:kS;n!==null&&!EL(n,l)&&console.error(XB(`${n}`,"Progress"));const d=EL(n,l)?n:null,h=wb(d)?i(d,l):void 0;return a.jsx($B,{scope:r,value:d,max:l,children:a.jsx(oT.div,{"aria-valuemax":l,"aria-valuemin":0,"aria-valuenow":wb(d)?d:void 0,"aria-valuetext":h,role:"progressbar","data-state":lT(d,l),"data-value":d??void 0,"data-max":l,...c,ref:e})})});iT.displayName=xS;var sT="ProgressIndicator",cT=k.forwardRef((t,e)=>{const{__scopeProgress:r,...n}=t,o=WB(sT,r);return a.jsx(oT.div,{"data-state":lT(o.value,o.max),"data-value":o.value??void 0,"data-max":o.max,...n,ref:e})});cT.displayName=sT;function GB(t,e){return`${Math.round(t/e*100)}%`}function lT(t,e){return t==null?"indeterminate":t===e?"complete":"loading"}function wb(t){return typeof t=="number"}function FL(t){return wb(t)&&!isNaN(t)&&t>0}function EL(t,e){return wb(t)&&!isNaN(t)&&t<=e&&t>=0}function ZB(t,e){return`Invalid prop \`max\` of value \`${t}\` supplied to \`${e}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${kS}\`.`}function XB(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 k.useEffect(()=>{var n;document.getElementById((n=t.current)==null?void 0:n.getAttribute("aria-describedby"))||console.warn(e)},[e,t]),null},AB=R_,PB=q_,$_=D_,W_=z_,G_=V_,Z_=U_,X_=E_,J_=H_;const _B=AB,TB=PB,Y_=k.forwardRef(({className:t,...e},r)=>a.jsx($_,{className:oe("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}));Y_.displayName=$_.displayName;const K_=k.forwardRef(({className:t,...e},r)=>a.jsxs(TB,{children:[a.jsx(Y_,{}),a.jsx(W_,{ref:r,className:oe("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})]}));K_.displayName=W_.displayName;const Q_=({className:t,...e})=>a.jsx("div",{className:oe("flex flex-col space-y-2 text-center sm:text-left",t),...e});Q_.displayName="AlertDialogHeader";const eT=({className:t,...e})=>a.jsx("div",{className:oe("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...e});eT.displayName="AlertDialogFooter";const tT=k.forwardRef(({className:t,...e},r)=>a.jsx(X_,{ref:r,className:oe("text-lg font-semibold",t),...e}));tT.displayName=X_.displayName;const aT=k.forwardRef(({className:t,...e},r)=>a.jsx(J_,{ref:r,className:oe("text-sm text-muted-foreground",t),...e}));aT.displayName=J_.displayName;const rT=k.forwardRef(({className:t,...e},r)=>a.jsx(G_,{ref:r,className:oe(sj(),t),...e}));rT.displayName=G_.displayName;const nT=k.forwardRef(({className:t,...e},r)=>a.jsx(Z_,{ref:r,className:oe(sj({variant:"outline"}),"mt-2 sm:mt-0",t),...e}));nT.displayName=Z_.displayName;function qL({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(Ws,{open:t,onOpenChange:e,children:a.jsxs(Ki,{children:[a.jsx(Gs,{children:a.jsx(es,{children:n})}),a.jsx("div",{className:"space-y-4 py-2",children:a.jsxs("div",{children:[a.jsx(he,{children:n}),a.jsx(Xe,{value:i,onChange:d=>c(d.target.value),placeholder:o||"Type and save"})]})}),a.jsxs(Qi,{children:[a.jsx(O,{variant:"outline",onClick:e,children:"Cancel"}),a.jsx(O,{onClick:l,disabled:!i.trim(),children:"Add"})]})]})})}const DL=["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 RB({open:t,onClose:e,onAdded:r}){const[n,o]=j.useState(""),[i,c]=j.useState(DL),l=()=>{n.trim()&&(r(n.trim()),o(""),e())},d=h=>{o(h);const u=DL.filter(p=>p.toLowerCase().includes(h.toLowerCase()));c(u)};return a.jsx(Ws,{open:t,onOpenChange:e,children:a.jsxs(Ki,{children:[a.jsx(Gs,{children:a.jsx(es,{children:"Add Skill"})}),a.jsxs("div",{className:"space-y-4 py-2",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(he,{htmlFor:"skill",children:"Skill Name"}),a.jsx(Xe,{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(Qi,{children:[a.jsx(O,{variant:"outline",onClick:e,children:"Cancel"}),a.jsx(O,{onClick:l,disabled:!n.trim(),children:"Add Skill"})]})]})})}const zL=["Regulation","Technology","Market Trends","Responsible Gaming","Game Design","Payments","Marketing","AI in iGaming","Player Retention","Security"];function qB({open:t,onClose:e,onAdded:r}){const[n,o]=j.useState(""),[i,c]=j.useState(zL),l=()=>{n.trim()&&(r(n.trim()),o(""),e())},d=h=>{o(h),c(zL.filter(u=>u.toLowerCase().includes(h.toLowerCase())))};return a.jsx(Ws,{open:t,onOpenChange:e,children:a.jsxs(Ki,{children:[a.jsx(Gs,{children:a.jsx(es,{children:"Add Interested Topic"})}),a.jsxs("div",{className:"space-y-4 py-2",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(he,{htmlFor:"topic",children:"Topic"}),a.jsx(Xe,{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(Qi,{children:[a.jsx(O,{variant:"outline",onClick:e,children:"Cancel"}),a.jsx(O,{onClick:l,disabled:!n.trim(),children:"Add Topic"})]})]})})}const DB=["English","Spanish","French","German","Italian","Portuguese","Polish","Turkish","Swedish","Norwegian","Finnish","Danish","Dutch","Japanese","Chinese","Korean"],zB=["Native","Fluent","Intermediate","Basic"];function FB({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(Ws,{open:t,onOpenChange:e,children:a.jsxs(Ki,{children:[a.jsx(Gs,{children:a.jsx(es,{children:"Add Language"})}),a.jsxs("div",{className:"space-y-4 py-2",children:[a.jsxs("div",{children:[a.jsx(he,{children:"Language"}),a.jsxs(Wc,{value:n.name,onValueChange:c=>o(l=>({...l,name:c})),children:[a.jsx(Vs,{children:a.jsx(Gc,{placeholder:"Select a language"})}),a.jsx(Bs,{children:DB.map(c=>a.jsx(Us,{value:c,children:c},c))})]})]}),a.jsxs("div",{children:[a.jsx(he,{children:"Proficiency"}),a.jsxs(Wc,{value:n.proficiency,onValueChange:c=>o(l=>({...l,proficiency:c})),children:[a.jsx(Vs,{children:a.jsx(Gc,{placeholder:"Select proficiency"})}),a.jsx(Bs,{children:zB.map(c=>a.jsx(Us,{value:c,children:c},c))})]})]})]}),a.jsxs(Qi,{children:[a.jsx(O,{variant:"outline",onClick:e,children:"Cancel"}),a.jsx(O,{onClick:i,disabled:!n.name||!n.proficiency,children:"Add"})]})]})})}function EB({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),[m,g]=j.useState(!1),[f,x]=j.useState(!1),[v,M]=j.useState(!1),[w,b]=j.useState(!1),C=["Full-time","Part-time","Contract","Freelance","Internship","Temporary"],I=["English","Spanish","French","German","Italian","Portuguese","Polish","Turkish","Swedish","Norwegian","Finnish","Danish","Dutch","Japanese","Chinese","Korean"],S=()=>{l&&(o(P=>{const _={...P,workExperience:P.workExperience.filter(T=>T.id!==l)};return e({type:"profile",payload:_}),_}),d(null))},A=(P,_,T)=>{o(F=>({...F,[P]:{...F[P],[_]:T}}))},N=(P,_,T)=>{o(F=>({...F,[P]:{...F[P],[_]:T}}))},R=()=>{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(O,{onClick:R,disabled:r,children:r?"Saving...":"Save Changes"})]}),a.jsxs(Ji,{defaultValue:"personal",className:"w-full",children:[a.jsxs(Ka,{className:"grid w-full grid-cols-3 lg:grid-cols-7",children:[a.jsx(be,{value:"personal",children:"Personal"}),a.jsx(be,{value:"experience",children:"Experience"}),a.jsx(be,{value:"job-search",children:"Job Search"}),a.jsx(be,{value:"skills",children:"Skills"}),a.jsx(be,{value:"languages",children:"Languages"}),a.jsx(be,{value:"alerts",children:"Alerts"}),a.jsx(be,{value:"preferences",children:"Preferences"})]}),a.jsx(Ce,{value:"personal",children:a.jsxs(ge,{children:[a.jsxs(_e,{children:[a.jsx(Te,{children:"Personal Details"}),a.jsx(Be,{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(he,{htmlFor:"fullName",children:"Full Name"}),a.jsx(Xe,{id:"fullName",value:n.personalDetails.fullName,onChange:P=>A("personalDetails","fullName",P.target.value)})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(he,{htmlFor:"email",children:"Email"}),a.jsx(Xe,{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(he,{htmlFor:"phone",children:"Phone"}),a.jsx(Xe,{id:"phone",value:n.personalDetails.phone,onChange:P=>A("personalDetails","phone",P.target.value)})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(he,{htmlFor:"location",children:"Location"}),a.jsx(Xe,{id:"location",value:n.personalDetails.location,onChange:P=>A("personalDetails","location",P.target.value)})]})]})})]})}),a.jsx(Ce,{value:"experience",children:a.jsxs(ge,{children:[a.jsxs(_e,{children:[a.jsx(Te,{children:"Work Experience"}),a.jsx(Be,{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(O,{variant:"outline",size:"sm",onClick:()=>{const _=n.workExperience.find(T=>T.id===P.id);u(_||null),c(!0)},children:"Edit"}),a.jsx(O,{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(nt,{variant:"secondary",children:_},_))})]},P.id)),a.jsx(O,{variant:"outline",className:"w-full",onClick:()=>c(!0),children:"Add Experience"})]})]})}),a.jsx(mB,{open:i,onClose:()=>{c(!1),u(null)},existingExperience:h,onAdded:P=>{o(_=>({..._,workExperience:[..._.workExperience,P]}))},onUpdated:P=>{o(_=>({..._,workExperience:_.workExperience.map(T=>T.id===P.id?P:T)}))}}),a.jsx(_B,{open:!!l,onOpenChange:()=>d(null),children:a.jsxs(K_,{children:[a.jsxs(Q_,{children:[a.jsx(tT,{children:"Delete Experience"}),a.jsx(aT,{children:"Are you sure you want to delete this work experience? This action cannot be undone."})]}),a.jsxs(eT,{children:[a.jsx(nT,{children:"Cancel"}),a.jsx(rT,{onClick:S,className:"bg-destructive text-white",children:"Delete"})]})]})}),a.jsxs(Ce,{value:"job-search",children:[a.jsxs(ge,{children:[a.jsxs(_e,{children:[a.jsx(Te,{children:"Job Search Details"}),a.jsx(Be,{children:"Define your ideal job preferences"})]}),a.jsxs(we,{className:"space-y-6",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(he,{children:"Desired Roles"}),a.jsx("div",{className:"flex flex-wrap gap-2",children:n.jobSearchDetails.desiredRoles.map(P=>a.jsxs(nt,{variant:"secondary",children:[P,a.jsx(O,{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(O,{variant:"outline",size:"sm",onClick:()=>y(!0),children:"Add Role"})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(he,{children:"Preferred Locations"}),a.jsx("div",{className:"flex flex-wrap gap-2",children:n.jobSearchDetails.locations.map(P=>a.jsxs(nt,{variant:"secondary",children:[P,a.jsx(O,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>o(_=>({..._,jobSearchDetails:{..._.jobSearchDetails,locations:_.jobSearchDetails.locations.filter(T=>T!==P)}})),children:"✕"})]},P))}),a.jsx(O,{variant:"outline",size:"sm",onClick:()=>g(!0),children:"Add Location"})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(he,{children:"Employment Type"}),a.jsxs(MV,{children:[a.jsx(wV,{asChild:!0,children:a.jsx(O,{variant:"outline",className:"w-full justify-between",children:n.jobSearchDetails.employmentType.length>0?n.jobSearchDetails.employmentType.join(", "):"Select Employment Type"})}),a.jsx($P,{className:"w-64 p-2 space-y-2",children:C.map(P=>{const _=n.jobSearchDetails.employmentType.includes(P);return a.jsxs("div",{className:"flex items-center space-x-2",onClick:()=>o(T=>{const U=T.jobSearchDetails.employmentType.includes(P)?T.jobSearchDetails.employmentType.filter(z=>z!==P):[...T.jobSearchDetails.employmentType,P];return{...T,jobSearchDetails:{...T.jobSearchDetails,employmentType:U}}}),children:[a.jsx(aS,{checked:_}),a.jsx(he,{className:"text-sm",children:P})]},P)})})]})]})]})]}),a.jsx(qL,{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(qL,{open:m,onClose:()=>g(!1),title:"Add Preferred Location",placeholder:"e.g. Malta or Remote",onAdded:P=>o(_=>({..._,jobSearchDetails:{..._.jobSearchDetails,locations:[..._.jobSearchDetails.locations,P]}}))})]}),a.jsxs(Ce,{value:"skills",children:[a.jsxs(ge,{children:[a.jsxs(_e,{children:[a.jsx(Te,{children:"Skill Set"}),a.jsx(Be,{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(nt,{variant:"secondary",className:"flex items-center gap-1",children:[P,a.jsx(O,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>o(_=>({..._,skills:_.skills.filter(T=>T!==P)})),children:"✕"})]},P))}),a.jsx(O,{variant:"outline",onClick:()=>x(!0),children:"Add Skill"})]})]}),a.jsx(RB,{open:f,onClose:()=>x(!1),onAdded:P=>o(_=>({..._,skills:Array.from(new Set([..._.skills,P]))}))})]}),a.jsxs(Ce,{value:"languages",children:[a.jsxs(ge,{children:[a.jsxs(_e,{children:[a.jsx(Te,{children:"Languages"}),a.jsx(Be,{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(nt,{variant:"secondary",className:"flex items-center gap-1",children:[P.name," — ",P.proficiency,a.jsx(O,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>o(T=>({...T,languages:T.languages.filter((F,U)=>U!==_)})),children:"✕"})]},`${P.name}-${_}`))}),a.jsx(O,{variant:"outline",onClick:()=>b(!0),children:"Add Language"})]})]}),a.jsx(FB,{open:w,onClose:()=>b(!1),onAdded:P=>o(_=>({..._,languages:[..._.languages,P]}))})]}),a.jsx(Ce,{value:"alerts",children:a.jsxs(ge,{children:[a.jsxs(_e,{children:[a.jsx(Te,{children:"Alerts & Subscriptions"}),a.jsx(Be,{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(he,{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(Gt,{id:"job-alerts",checked:n.alerts.jobAlerts,onCheckedChange:P=>N("alerts","jobAlerts",P)})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(he,{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(Gt,{id:"course-alerts",checked:n.alerts.courseAlerts,onCheckedChange:P=>N("alerts","courseAlerts",P)})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(he,{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(Gt,{id:"news-alerts",checked:n.alerts.newsAlerts,onCheckedChange:P=>N("alerts","newsAlerts",P)})]})]})]})}),a.jsxs(Ce,{value:"preferences",children:[a.jsxs(ge,{children:[a.jsxs(_e,{children:[a.jsx(Te,{children:"Preferences"}),a.jsx(Be,{children:"Customize your platform experience"})]}),a.jsxs(we,{className:"space-y-6",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(he,{children:"Interested Topics"}),a.jsx("div",{className:"flex flex-wrap gap-2",children:n.preferences.topics.map(P=>a.jsxs(nt,{variant:"secondary",className:"flex items-center gap-1",children:[P,a.jsx(O,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>o(_=>({..._,preferences:{..._.preferences,topics:_.preferences.topics.filter(T=>T!==P)}})),children:"✕"})]},P))}),a.jsx(O,{variant:"outline",size:"sm",onClick:()=>M(!0),children:"Manage Topics"})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(he,{htmlFor:"language",children:"Language"}),a.jsxs(Wc,{value:n.preferences.language,onValueChange:P=>A("preferences","language",P),children:[a.jsx(Vs,{id:"language",children:a.jsx(Gc,{placeholder:"Select your preferred language"})}),a.jsx(Bs,{children:I.map(P=>a.jsx(Us,{value:P,children:P},P))})]})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(he,{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(Gt,{id:"email-notif",checked:n.preferences.emailNotifications,onCheckedChange:P=>N("preferences","emailNotifications",P)})]})]})]}),a.jsx(qB,{open:v,onClose:()=>M(!1),onAdded:P=>o(_=>({..._,preferences:{..._.preferences,topics:Array.from(new Set([..._.preferences.topics,P]))}}))})]})]})]})}function OB({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(b=>b.id===x.id))return v;const w={...v,saved:[...v.saved,x]};return l==null||l({type:"jobs",payload:d(w)}),w})},y=x=>{u(v=>{const M={...v,saved:v.saved.filter(w=>w.id!==x)};return l==null||l({type:"jobs",payload:d(M)}),M})},m=x=>{u(v=>{const M={...v,recommended:v.recommended.filter(w=>w.id!==x)};return l==null||l({type:"jobs",payload:d(M)}),M})},g=x=>{const v=h.recommended.find(M=>M.id===x);v&&(u(M=>{const w={...M,applications:[...M.applications,{...v,status:"Applied",appliedDate:new Date().toLocaleDateString()}]};return l==null||l({type:"jobs",payload:d(w)}),w}),n(x))},f=({job:x,view:v})=>{var C;const M=h.saved.some(I=>I.id===x.id),w=x.city?`${x.city}, ${x.country}`:x.location,b=x.salaryMin&&x.salaryMax?`${x.salaryMin}–${x.salaryMax} ${x.salaryCurrency||""}`:void 0;return a.jsxs(ge,{children:[a.jsxs(_e,{children:[a.jsxs("div",{className:"flex justify-between items-start",children:[a.jsxs("div",{className:"flex-1",children:[a.jsx(Te,{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(ms,{className:"h-4 w-4"})," ",x.company]}),a.jsxs("span",{className:"flex items-center gap-1",children:[a.jsx(Ft,{className:"h-4 w-4"})," ",w]})]})]}),v==="applications"&&x.status&&a.jsx(nt,{variant:"secondary",children:x.status})]}),b&&a.jsx("p",{className:"text-sm font-semibold text-accent mt-1",children:b})]}),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(nt,{variant:"outline",children:x.department}),(C=x.skills)==null?void 0:C.slice(0,6).map(I=>a.jsx(nt,{variant:"secondary",children:I},I))]}),v==="applications"&&x.appliedDate&&a.jsxs("p",{className:"text-xs text-muted-foreground flex items-center gap-1",children:[a.jsx(Zt,{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(O,{size:"sm",onClick:()=>g(x.id),children:"Apply Now"}),a.jsx(O,{variant:M?"secondary":"outline",size:"sm",disabled:M,onClick:()=>p(x),children:M?"Saved":"Save Job"}),a.jsx(O,{variant:"destructive",size:"sm",onClick:()=>m(x.id),children:"Remove"})]}),v==="saved"&&a.jsx(O,{variant:"destructive",size:"sm",onClick:()=>y(x.id),children:"Remove"}),v==="applications"&&a.jsx(O,{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(O,{variant:"outline",onClick:c,children:"Set Job Alerts"}),a.jsxs(O,{onClick:i,children:[a.jsx(Ls,{className:"h-4 w-4 mr-2"}),"Upload CV"]})]})]}),a.jsxs(Ji,{defaultValue:"recommended",className:"w-full",children:[a.jsxs(Ka,{children:[a.jsxs(be,{value:"recommended",children:["Recommended (",h.recommended.length,")"]}),a.jsxs(be,{value:"saved",children:[a.jsx(ia,{className:"h-4 w-4 mr-2"}),"Saved (",h.saved.length,")"]}),a.jsxs(be,{value:"applications",children:[a.jsx(pt,{className:"h-4 w-4 mr-2"}),"Applications (",h.applications.length,")"]})]}),a.jsx(Ce,{value:"recommended",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4",children:h.recommended.map(x=>a.jsx(f,{job:x,view:"recommended"},x.id))})}),a.jsx(Ce,{value:"saved",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4",children:h.saved.length===0?a.jsx(ge,{children:a.jsxs(we,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(ia,{className:"h-12 w-12 text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No saved jobs yet"}),a.jsx(O,{variant:"link",className:"mt-2",children:"Browse Jobs"})]})}):h.saved.map(x=>a.jsx(f,{job:x,view:"saved"},x.id))})}),a.jsx(Ce,{value:"applications",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4",children:h.applications.length===0?a.jsx(ge,{children:a.jsxs(we,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(pt,{className:"h-12 w-12 text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No applications yet"}),a.jsx(O,{variant:"link",className:"mt-2",children:"Start Applying"})]})}):h.applications.map(x=>a.jsx(f,{job:x,view:"applications"},x.id))})})]})]})}function HB(t,e=[]){let r=[];function n(i,c){const l=k.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:m,...g}=p,f=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=k.useMemo(()=>g,Object.values(g));return a.jsx(f.Provider,{value:x,children:m})};h.displayName=i+"Provider";function u(p,y){var f;const m=((f=y==null?void 0:y[t])==null?void 0:f[d])||l,g=k.useContext(m);if(g)return g;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=>k.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return k.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 k.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var BB=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],oT=BB.reduce((t,e)=>{const r=Ye(`Primitive.${e}`),n=k.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}},{}),xS="Progress",kS=100,[UB,sU]=HB(xS),[$B,WB]=UB(xS),iT=k.forwardRef((t,e)=>{const{__scopeProgress:r,value:n=null,max:o,getValueLabel:i=GB,...c}=t;(o||o===0)&&!FL(o)&&console.error(ZB(`${o}`,"Progress"));const l=FL(o)?o:kS;n!==null&&!EL(n,l)&&console.error(XB(`${n}`,"Progress"));const d=EL(n,l)?n:null,h=wb(d)?i(d,l):void 0;return a.jsx($B,{scope:r,value:d,max:l,children:a.jsx(oT.div,{"aria-valuemax":l,"aria-valuemin":0,"aria-valuenow":wb(d)?d:void 0,"aria-valuetext":h,role:"progressbar","data-state":lT(d,l),"data-value":d??void 0,"data-max":l,...c,ref:e})})});iT.displayName=xS;var sT="ProgressIndicator",cT=k.forwardRef((t,e)=>{const{__scopeProgress:r,...n}=t,o=WB(sT,r);return a.jsx(oT.div,{"data-state":lT(o.value,o.max),"data-value":o.value??void 0,"data-max":o.max,...n,ref:e})});cT.displayName=sT;function GB(t,e){return`${Math.round(t/e*100)}%`}function lT(t,e){return t==null?"indeterminate":t===e?"complete":"loading"}function wb(t){return typeof t=="number"}function FL(t){return wb(t)&&!isNaN(t)&&t>0}function EL(t,e){return wb(t)&&!isNaN(t)&&t<=e&&t>=0}function ZB(t,e){return`Invalid prop \`max\` of value \`${t}\` supplied to \`${e}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${kS}\`.`}function XB(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 ${kS} if no \`max\` prop is set)
7822
7822
  - \`null\` or \`undefined\` if the progress is indeterminate.
7823
7823
 
7824
- Defaulting to \`null\`.`}var dT=iT,JB=cT;const hT=k.forwardRef(({className:t,value:e,...r},n)=>a.jsx(dT,{ref:n,className:oe("relative h-4 w-full overflow-hidden rounded-full bg-secondary",t),...r,children:a.jsx(JB,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(e||0)}%)`}})}));hT.displayName=dT.displayName;function YB({enrolledCourses:t,savedCourses:e,recommendedCourses:r,certificates:n,onEnroll:o,onContinue:i,onExplore:c,onSave:l,onRemoveSaved:d,onRemoveRecommended:h}){const[u,p]=C.useState({enrolled:t||[],recommended:r||[],saved:e||[]});C.useEffect(()=>{p({enrolled:t||[],recommended:r||[],saved:e||[]})},[t,r,e]);const y=g=>o(g),m=g=>{p(M=>{if(M.saved.some(b=>b.id===g.id))return M;const j={...M,saved:[...M.saved,{...g,saved:!0}],recommended:M.recommended.map(b=>b.id===g.id?{...b,saved:!0}:b)};return l==null||l(g.id),j})},v=g=>{p(M=>{const w={...M,saved:M.saved.filter(j=>j.id!==g),recommended:M.recommended.map(j=>j.id===g?{...j,saved:!1}:j)};return d==null||d(g),w})},f=g=>{p(M=>{const w={...M,recommended:M.recommended.filter(j=>j.id!==g)};return h==null||h(g),w})},x=({course:g,view:M})=>{const w=u.saved.some(j=>j.id===g.id);return a.jsxs(ge,{children:[a.jsx(_e,{children:a.jsxs("div",{className:"flex justify-between items-start",children:[a.jsxs("div",{className:"flex-1",children:[a.jsx(Te,{className:"text-lg",children:g.title}),a.jsx(Be,{children:g.provider})]}),a.jsx(nt,{variant:"outline",children:g.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:g.duration}),g.certificate&&a.jsxs("span",{className:"flex items-center gap-1",children:[a.jsx(Ma,{className:"h-4 w-4"}),"Certificate"]})]}),a.jsx("div",{className:"flex flex-wrap gap-2",children:g.tags.map(j=>a.jsx(nt,{variant:"secondary",children:j},j))}),M==="enrolled"&&g.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:[g.progress,"%"]})]}),a.jsx(hT,{value:g.progress})]}),M==="recommended"&&g.reason&&a.jsxs("p",{className:"text-xs text-muted-foreground italic",children:["💡 ",g.reason]}),a.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:flex-wrap",children:[M==="enrolled"&&a.jsx(O,{className:"sm:w-auto w-full",onClick:()=>i(g.id),children:"Continue Learning"}),M==="recommended"&&a.jsxs(a.Fragment,{children:[a.jsx(O,{className:"sm:w-auto w-full",onClick:()=>y(g.id),children:"Enroll Now"}),a.jsx(O,{variant:w?"secondary":"outline",className:"sm:w-auto w-full",size:"sm",disabled:w,onClick:()=>m(g),children:w?"Saved":"Save Course"}),a.jsx(O,{variant:"destructive",size:"sm",className:"sm:w-auto w-full",onClick:()=>f(g.id),children:"Remove"}),!h&&a.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove not available yet"})]}),M==="saved"&&a.jsxs(a.Fragment,{children:[a.jsx(O,{className:"sm:w-auto w-full",size:"sm",onClick:()=>y(g.id),children:"Start Course"}),a.jsx(O,{variant:"destructive",size:"sm",className:"sm:w-auto w-full",onClick:()=>v(g.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(O,{onClick:c,children:"Explore All Courses"})]}),a.jsxs(Ji,{defaultValue:"enrolled",className:"w-full",children:[a.jsxs(Ka,{children:[a.jsxs(be,{value:"enrolled",children:[a.jsx(zt,{className:"h-4 w-4 mr-2"}),"Enrolled (",u.enrolled.length,")"]}),a.jsxs(be,{value:"recommended",children:[a.jsx(Fi,{className:"h-4 w-4 mr-2"}),"Recommended (",u.recommended.length,")"]}),a.jsxs(be,{value:"saved",children:[a.jsx(ia,{className:"h-4 w-4 mr-2"}),"Saved (",u.saved.length,")"]}),a.jsxs(be,{value:"certificates",children:[a.jsx(Ma,{className:"h-4 w-4 mr-2"}),"Certificates (",n.length,")"]})]}),a.jsx(Ce,{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(ge,{className:"md:col-span-2",children:a.jsxs(we,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(zt,{className:"h-12 w-12 text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No enrolled courses yet"}),a.jsx(O,{variant:"link",className:"mt-2",onClick:c,children:"Browse Courses"})]})}):u.enrolled.map(g=>a.jsx(x,{course:g,view:"enrolled"},g.id))})}),a.jsx(Ce,{value:"recommended",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.recommended.map(g=>a.jsx(x,{course:g,view:"recommended"},g.id))})}),a.jsx(Ce,{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(ge,{className:"md:col-span-2",children:a.jsxs(we,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(ia,{className:"h-12 w-12 text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No saved courses yet"}),a.jsx(O,{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(g=>a.jsx(x,{course:g,view:"saved"},g.id))})}),a.jsx(Ce,{value:"certificates",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:n.length===0?a.jsx(ge,{className:"md:col-span-2",children:a.jsxs(we,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(Ma,{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(g=>a.jsxs(ge,{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(Ma,{className:"h-6 w-6 text-accent"})}),a.jsxs("div",{className:"flex-1",children:[a.jsx(Te,{className:"text-base",children:g.title}),a.jsx(Be,{children:g.issuer}),a.jsxs("p",{className:"text-xs text-muted-foreground mt-1",children:["Issued: ",g.date]})]})]})}),a.jsx(we,{children:a.jsx(O,{variant:"outline",size:"sm",className:"w-full",children:"Download Certificate"})})]},g.id))})})]})]})}function KB({recommendedNews:t,savedArticles:e,categories:r,selectedCategory:n,onRead:o,onSave:i,onRemoveSaved:c,onRemoveRecommended:l,onCategoryChange:d,onManagePreferences:h}){const[u,p]=C.useState({recommended:t||[],saved:e||[]});C.useEffect(()=>{p({recommended:t||[],saved:e||[]})},[t,e]);const y=x=>{p(g=>{if(g.saved.some(j=>j.id===x.id))return g;const w={recommended:g.recommended.map(j=>j.id===x.id?{...j,saved:!0}:j),saved:[...g.saved,{...x,saved:!0}]};return i(x.id),w})},m=x=>{p(g=>{const M={recommended:g.recommended.map(w=>w.id===x?{...w,saved:!1}:w),saved:g.saved.filter(w=>w.id!==x)};return c==null||c(x),M})},v=x=>{p(g=>{const M={...g,recommended:g.recommended.filter(w=>w.id!==x)};return l==null||l(x),M})},f=({article:x,view:g})=>{const M=u.saved.some(w=>w.id===x.id);return a.jsxs(ge,{children:[a.jsxs(_e,{children:[a.jsxs("div",{className:"flex justify-between items-start mb-2",children:[a.jsx(nt,{variant:"secondary",children:x.category}),a.jsx("span",{className:"text-xs text-muted-foreground",children:x.publishedDate})]}),a.jsx(Te,{className:"text-lg",children:x.title}),a.jsxs(Be,{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(w=>a.jsx(nt,{variant:"outline",className:"text-xs",children:w},w))}),a.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:flex-wrap",children:[a.jsx(O,{size:"sm",onClick:()=>o(x.id),children:"Read Article"}),g==="recommended"&&a.jsxs(a.Fragment,{children:[a.jsx(O,{variant:M?"secondary":"outline",size:"sm",disabled:M,onClick:()=>y(x),children:M?"Saved":"Save"}),a.jsx(O,{variant:"destructive",size:"sm",onClick:()=>v(x.id),children:"Remove"}),!l&&a.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove not available yet"})]}),g==="saved"&&a.jsxs(a.Fragment,{children:[a.jsx(O,{variant:"destructive",size:"sm",onClick:()=>m(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(O,{variant:"outline",onClick:h,children:[a.jsx(xs,{className:"h-4 w-4 mr-2"}),"Preferences"]})]}),a.jsxs(Ji,{defaultValue:"recommended",className:"w-full",children:[a.jsxs(Ka,{children:[a.jsxs(be,{value:"recommended",children:[a.jsx(Ca,{className:"h-4 w-4 mr-2"}),"Recommended (",u.recommended.length,")"]}),a.jsxs(be,{value:"saved",children:[a.jsx(ia,{className:"h-4 w-4 mr-2"}),"Saved (",u.saved.length,")"]})]}),a.jsxs(Ce,{value:"recommended",className:"space-y-4",children:[a.jsxs("div",{className:"flex flex-wrap gap-2 mb-4",children:[a.jsx(O,{variant:n==="all"?"default":"outline",size:"sm",onClick:()=>d("all"),children:"All"}),r.map(x=>a.jsx(O,{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(f,{article:x,view:"recommended"},x.id))})]}),a.jsx(Ce,{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(ge,{className:"md:col-span-2",children:a.jsxs(we,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(ia,{className:"h-12 w-12 text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No saved articles yet"}),a.jsx(O,{variant:"link",className:"mt-2",onClick:h,children:"Browse News"})]})}):u.saved.map(x=>a.jsx(f,{article:x,view:"saved"},x.id))})})]})]})}function QB({notifications:t,connectedAccounts:e,isPremium:r,onUpdateNotifications:n,onConnectAccount:o,onDisconnectAccount:i,onChangePassword:c,onDeleteAccount:l,onUpgradePremium: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(Ji,{defaultValue:"notifications",className:"w-full",children:[a.jsxs(Ka,{children:[a.jsxs(be,{value:"notifications",children:[a.jsx(ys,{className:"h-4 w-4 mr-2"}),"Notifications"]}),a.jsxs(be,{value:"account",children:[a.jsx(Sc,{className:"h-4 w-4 mr-2"}),"Account"]}),a.jsxs(be,{value:"subscription",children:[a.jsx(pc,{className:"h-4 w-4 mr-2"}),"Subscription"]}),a.jsxs(be,{value:"connected",children:[a.jsx(kc,{className:"h-4 w-4 mr-2"}),"Connected"]})]}),a.jsx(Ce,{value:"notifications",children:a.jsxs(ge,{children:[a.jsxs(_e,{children:[a.jsx(Te,{children:"Notification Preferences"}),a.jsx(Be,{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(he,{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(Gt,{id:"email-notif",checked:t.emailNotifications,onCheckedChange:h=>n({emailNotifications:h})})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(he,{htmlFor:"push-notif",className:"text-base",children:"Push Notifications"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Browser push notifications"})]}),a.jsx(Gt,{id:"push-notif",checked:t.pushNotifications,onCheckedChange:h=>n({pushNotifications:h})})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(he,{htmlFor:"weekly-digest",className:"text-base",children:"Weekly Digest"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Summary of activities"})]}),a.jsx(Gt,{id:"weekly-digest",checked:t.weeklyDigest,onCheckedChange:h=>n({weeklyDigest:h})})]}),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(he,{htmlFor:"job-alerts-set",children:"Job Alerts"}),a.jsx(Gt,{id:"job-alerts-set",checked:t.jobAlerts,onCheckedChange:h=>n({jobAlerts:h})})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsx(he,{htmlFor:"course-updates",children:"Course Updates"}),a.jsx(Gt,{id:"course-updates",checked:t.courseUpdates,onCheckedChange:h=>n({courseUpdates:h})})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsx(he,{htmlFor:"news-digest",children:"News Digest"}),a.jsx(Gt,{id:"news-digest",checked:t.newsDigest,onCheckedChange:h=>n({newsDigest:h})})]})]})]})]})}),a.jsx(Ce,{value:"account",children:a.jsxs("div",{className:"space-y-4",children:[a.jsxs(ge,{children:[a.jsxs(_e,{children:[a.jsx(Te,{children:"Password"}),a.jsx(Be,{children:"Change your account password"})]}),a.jsx(we,{children:a.jsx(O,{onClick:c,children:"Change Password"})})]}),a.jsxs(ge,{children:[a.jsxs(_e,{children:[a.jsx(Te,{children:"Delete Account"}),a.jsx(Be,{children:"Permanently delete your account and all data"})]}),a.jsx(we,{children:a.jsx(O,{variant:"destructive",onClick:l,children:"Delete Account"})})]})]})}),a.jsx(Ce,{value:"subscription",children:a.jsxs(ge,{children:[a.jsx(_e,{children:a.jsxs("div",{className:"flex justify-between items-start",children:[a.jsxs("div",{children:[a.jsx(Te,{children:"Subscription Plan"}),a.jsx(Be,{children:"Manage your membership"})]}),r&&a.jsx(nt,{children:"Premium"})]})}),a.jsx(we,{className:"space-y-4",children:r?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(O,{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(O,{onClick:d,children:"Upgrade to Premium"})]})})]})}),a.jsx(Ce,{value:"connected",children:a.jsxs(ge,{children:[a.jsxs(_e,{children:[a.jsx(Te,{children:"Connected Accounts"}),a.jsx(Be,{children:"Manage linked accounts and integrations"})]}),a.jsx(we,{className:"space-y-4",children:e.map(h=>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:h.platform}),h.connected&&h.email&&a.jsx("p",{className:"text-sm text-muted-foreground",children:h.email})]}),h.connected?a.jsx(O,{variant:"outline",size:"sm",onClick:()=>i(h.id),children:"Disconnect"}):a.jsx(O,{size:"sm",onClick:()=>o(h.platform),children:"Connect"})]},h.id))})]})})]})]})}function eU({user:t,profileData:e,jobsDashboard:r,alerts:n,snapshot:o,feedItems:i,coursesData:c,newsData:l,onUpdateProfile:d}){const[h,u]=C.useState("overview"),p=r||(e==null?void 0:e.jobsDashboard)||{savedJobs:[],recommendedJobs:[],applications:[]},y=()=>console.log("/logout"),m=g=>console.log(g),v=async g=>{await d({type:"courses",payload:g})},f=(...g)=>console.log("Action:",...g),x=async g=>{await d({type:"news",payload:g})};return a.jsx(oO,{user:t,onLogout:y,onNavigate:m,currentPath:"/dashboard",notificationCount:n.length,children:a.jsxs(Ji,{value:h,onValueChange:u,className:"w-full",children:[a.jsxs(Ka,{className:"grid w-full grid-cols-3 lg:grid-cols-6",children:[a.jsxs(be,{value:"overview",className:"flex items-center gap-2",children:[a.jsx(xa,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"Overview"})]}),a.jsxs(be,{value:"profile",className:"flex items-center gap-2",children:[a.jsx(Nc,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"Profile"})]}),a.jsxs(be,{value:"jobs",className:"flex items-center gap-2",children:[a.jsx(pt,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"Jobs"})]}),a.jsxs(be,{value:"courses",className:"flex items-center gap-2",children:[a.jsx(zt,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"Courses"})]}),a.jsxs(be,{value:"news",className:"flex items-center gap-2",children:[a.jsx(Ca,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"News"})]}),a.jsxs(be,{value:"settings",className:"flex items-center gap-2",children:[a.jsx(Cs,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"Settings"})]})]}),a.jsx(Ce,{value:"overview",className:"mt-6",children:a.jsx(sO,{userName:t.name,feedItems:i,alerts:n,snapshot:o,onSave:f,onApply:f,onEnroll:g=>v({action:"enroll",courseId:g}),onRead:g=>x({action:"read",articleId:g})})}),a.jsx(Ce,{value:"profile",className:"mt-6",children:a.jsx(EB,{profile:e,onUpdate:g=>d(g)})}),a.jsx(Ce,{value:"jobs",className:"mt-6",children:a.jsx(OB,{savedJobs:p.savedJobs,applications:p.applications,recommendedJobs:p.recommendedJobs,onApply:g=>console.log("Applied:",g),onRemove:g=>console.log("Removed:",g),onUploadCV:()=>console.log("Upload CV clicked"),onSetAlert:()=>console.log("Set alerts clicked"),onUpdateProfile:async g=>{await d({type:"jobs",payload:g.payload})}})}),a.jsx(Ce,{value:"courses",className:"mt-6",children:a.jsx(YB,{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:g=>v({action:"enroll",courseId:g}),onContinue:g=>v({action:"continue",courseId:g}),onExplore:()=>v({action:"explore"}),onSave:g=>v({action:"save",courseId:g}),onRemoveSaved:g=>v({action:"remove-saved",courseId:g}),onRemoveRecommended:g=>v({action:"remove-recommended",courseId:g})})}),a.jsx(Ce,{value:"news",className:"mt-6",children:a.jsx(KB,{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:g=>x({action:"read",articleId:g}),onSave:g=>x({action:"save",articleId:g}),onRemoveSaved:g=>x({action:"remove-saved",articleId:g}),onRemoveRecommended:g=>x({action:"remove-recommended",articleId:g}),onCategoryChange:g=>x({action:"category",category:g}),onManagePreferences:()=>x({action:"manage-preferences"})})}),a.jsx(Ce,{value:"settings",className:"mt-6",children:a.jsx(QB,{notifications:{emailNotifications:!0,pushNotifications:!1,weeklyDigest:!0,jobAlerts:!0,courseUpdates:!0,newsDigest:!1},connectedAccounts:[],isPremium:!1,onUpdateNotifications:f,onConnectAccount:f,onDisconnectAccount:f,onChangePassword:f,onDeleteAccount:f,onUpgradePremium:f})})]})})}exports.Advantages=MN;exports.Analytics=TE;exports.Banner=Bc;exports.Button=O;exports.Cart=RN;exports.Chatbot=TN;exports.ConsentBanner=ZN;exports.ConsentProvider=GN;exports.CourseTypes=DN;exports.Courses=CN;exports.CoursesPage=bE;exports.Dashboard=eU;exports.Destinations=jN;exports.FAQ=PN;exports.FeatureJobs=ID;exports.Features=AN;exports.Footer=WD;exports.FooterLib=UN;exports.ForEmployers=zN;exports.ForgotPassword=rO;exports.Gallery=_N;exports.GroupPrices=ZR;exports.Header=yE;exports.HeaderAlternative=BN;exports.Hero=SN;exports.HeroAlternative=FN;exports.HomePage=LD;exports.IgamingCareerHome=ED;exports.Input=Xe;exports.JobDetailPage=pE;exports.JobListings=$D;exports.JobSearchWidget=VN;exports.Listing=lE;exports.Login=QE;exports.MobileNav=YN;exports.Navbar=GD;exports.NewsPage=fE;exports.Newsletter=HN;exports.NotificationModal=XN;exports.Partners=$N;exports.Register=tO;exports.SearchableSelect=Nb;exports.Services=LN;exports.ServicesNoIcons=qN;exports.SidebarNewsletter=Pj;exports.SlidingSummary=XR;exports.Testimonials=IN;exports.TrustSignals=ON;exports.ValueProposition=EN;exports.Videos=NN;exports.useConsent=Aj;
7824
+ Defaulting to \`null\`.`}var dT=iT,JB=cT;const hT=k.forwardRef(({className:t,value:e,...r},n)=>a.jsx(dT,{ref:n,className:oe("relative h-4 w-full overflow-hidden rounded-full bg-secondary",t),...r,children:a.jsx(JB,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(e||0)}%)`}})}));hT.displayName=dT.displayName;function YB({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),m=v=>{p(M=>{if(M.saved.some(C=>C.id===v.id))return M;const b={...M,saved:[...M.saved,{...v,saved:!0}],recommended:M.recommended.map(C=>C.id===v.id?{...C,saved:!0}:C)};return l==null||l(v.id),b})},g=v=>{p(M=>{const w={...M,saved:M.saved.filter(b=>b.id!==v),recommended:M.recommended.map(b=>b.id===v?{...b,saved:!1}:b)};return d==null||d(v),w})},f=v=>{p(M=>{const w={...M,recommended:M.recommended.filter(b=>b.id!==v)};return h==null||h(v),w})},x=({course:v,view:M})=>{const w=u.saved.some(b=>b.id===v.id);return a.jsxs(ge,{children:[a.jsx(_e,{children:a.jsxs("div",{className:"flex justify-between items-start",children:[a.jsxs("div",{className:"flex-1",children:[a.jsx(Te,{className:"text-lg",children:v.title}),a.jsx(Be,{children:v.provider})]}),a.jsx(nt,{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(Ma,{className:"h-4 w-4"}),"Certificate"]})]}),a.jsx("div",{className:"flex flex-wrap gap-2",children:v.tags.map(b=>a.jsx(nt,{variant:"secondary",children:b},b))}),M==="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(hT,{value:v.progress})]}),M==="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:[M==="enrolled"&&a.jsx(O,{className:"sm:w-auto w-full",onClick:()=>i(v.id),children:"Continue Learning"}),M==="recommended"&&a.jsxs(a.Fragment,{children:[a.jsx(O,{className:"sm:w-auto w-full",onClick:()=>y(v.id),children:"Enroll Now"}),a.jsx(O,{variant:w?"secondary":"outline",className:"sm:w-auto w-full",size:"sm",disabled:w,onClick:()=>m(v),children:w?"Saved":"Save Course"}),a.jsx(O,{variant:"destructive",size:"sm",className:"sm:w-auto w-full",onClick:()=>f(v.id),children:"Remove"}),!h&&a.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove not available yet"})]}),M==="saved"&&a.jsxs(a.Fragment,{children:[a.jsx(O,{className:"sm:w-auto w-full",size:"sm",onClick:()=>y(v.id),children:"Start Course"}),a.jsx(O,{variant:"destructive",size:"sm",className:"sm:w-auto w-full",onClick:()=>g(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(O,{onClick:c,children:"Explore All Courses"})]}),a.jsxs(Ji,{defaultValue:"enrolled",className:"w-full",children:[a.jsxs(Ka,{children:[a.jsxs(be,{value:"enrolled",children:[a.jsx(zt,{className:"h-4 w-4 mr-2"}),"Enrolled (",u.enrolled.length,")"]}),a.jsxs(be,{value:"recommended",children:[a.jsx(Fi,{className:"h-4 w-4 mr-2"}),"Recommended (",u.recommended.length,")"]}),a.jsxs(be,{value:"saved",children:[a.jsx(ia,{className:"h-4 w-4 mr-2"}),"Saved (",u.saved.length,")"]}),a.jsxs(be,{value:"certificates",children:[a.jsx(Ma,{className:"h-4 w-4 mr-2"}),"Certificates (",n.length,")"]})]}),a.jsx(Ce,{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(ge,{className:"md:col-span-2",children:a.jsxs(we,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(zt,{className:"h-12 w-12 text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No enrolled courses yet"}),a.jsx(O,{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(Ce,{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(Ce,{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(ge,{className:"md:col-span-2",children:a.jsxs(we,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(ia,{className:"h-12 w-12 text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No saved courses yet"}),a.jsx(O,{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(Ce,{value:"certificates",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:n.length===0?a.jsx(ge,{className:"md:col-span-2",children:a.jsxs(we,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(Ma,{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(ge,{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(Ma,{className:"h-6 w-6 text-accent"})}),a.jsxs("div",{className:"flex-1",children:[a.jsx(Te,{className:"text-base",children:v.title}),a.jsx(Be,{children:v.issuer}),a.jsxs("p",{className:"text-xs text-muted-foreground mt-1",children:["Issued: ",v.date]})]})]})}),a.jsx(we,{children:a.jsx(O,{variant:"outline",size:"sm",className:"w-full",children:"Download Certificate"})})]},v.id))})})]})]})}function KB({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(b=>b.id===x.id))return v;const w={recommended:v.recommended.map(b=>b.id===x.id?{...b,saved:!0}:b),saved:[...v.saved,{...x,saved:!0}]};return i(x.id),w})},m=x=>{p(v=>{const M={recommended:v.recommended.map(w=>w.id===x?{...w,saved:!1}:w),saved:v.saved.filter(w=>w.id!==x)};return c==null||c(x),M})},g=x=>{p(v=>{const M={...v,recommended:v.recommended.filter(w=>w.id!==x)};return l==null||l(x),M})},f=({article:x,view:v})=>{const M=u.saved.some(w=>w.id===x.id);return a.jsxs(ge,{children:[a.jsxs(_e,{children:[a.jsxs("div",{className:"flex justify-between items-start mb-2",children:[a.jsx(nt,{variant:"secondary",children:x.category}),a.jsx("span",{className:"text-xs text-muted-foreground",children:x.publishedDate})]}),a.jsx(Te,{className:"text-lg",children:x.title}),a.jsxs(Be,{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(w=>a.jsx(nt,{variant:"outline",className:"text-xs",children:w},w))}),a.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:flex-wrap",children:[a.jsx(O,{size:"sm",onClick:()=>o(x.id),children:"Read Article"}),v==="recommended"&&a.jsxs(a.Fragment,{children:[a.jsx(O,{variant:M?"secondary":"outline",size:"sm",disabled:M,onClick:()=>y(x),children:M?"Saved":"Save"}),a.jsx(O,{variant:"destructive",size:"sm",onClick:()=>g(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(O,{variant:"destructive",size:"sm",onClick:()=>m(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(O,{variant:"outline",onClick:h,children:[a.jsx(xs,{className:"h-4 w-4 mr-2"}),"Preferences"]})]}),a.jsxs(Ji,{defaultValue:"recommended",className:"w-full",children:[a.jsxs(Ka,{children:[a.jsxs(be,{value:"recommended",children:[a.jsx(Ca,{className:"h-4 w-4 mr-2"}),"Recommended (",u.recommended.length,")"]}),a.jsxs(be,{value:"saved",children:[a.jsx(ia,{className:"h-4 w-4 mr-2"}),"Saved (",u.saved.length,")"]})]}),a.jsxs(Ce,{value:"recommended",className:"space-y-4",children:[a.jsxs("div",{className:"flex flex-wrap gap-2 mb-4",children:[a.jsx(O,{variant:n==="all"?"default":"outline",size:"sm",onClick:()=>d("all"),children:"All"}),r.map(x=>a.jsx(O,{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(f,{article:x,view:"recommended"},x.id))})]}),a.jsx(Ce,{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(ge,{className:"md:col-span-2",children:a.jsxs(we,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(ia,{className:"h-12 w-12 text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No saved articles yet"}),a.jsx(O,{variant:"link",className:"mt-2",onClick:h,children:"Browse News"})]})}):u.saved.map(x=>a.jsx(f,{article:x,view:"saved"},x.id))})})]})]})}function QB({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(Ji,{defaultValue:"notifications",className:"w-full",children:[a.jsxs(Ka,{children:[a.jsxs(be,{value:"notifications",children:[a.jsx(ys,{className:"h-4 w-4 mr-2"}),"Notifications"]}),a.jsxs(be,{value:"account",children:[a.jsx(Sc,{className:"h-4 w-4 mr-2"}),"Account"]}),a.jsxs(be,{value:"subscription",children:[a.jsx(pc,{className:"h-4 w-4 mr-2"}),"Subscription"]}),a.jsxs(be,{value:"connected",children:[a.jsx(kc,{className:"h-4 w-4 mr-2"}),"Connected"]})]}),a.jsx(Ce,{value:"notifications",children:a.jsxs(ge,{children:[a.jsxs(_e,{children:[a.jsx(Te,{children:"Notification Preferences"}),a.jsx(Be,{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(he,{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(Gt,{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(he,{htmlFor:"push-notif",className:"text-base",children:"Push Notifications"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Browser push notifications"})]}),a.jsx(Gt,{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(he,{htmlFor:"weekly-digest",className:"text-base",children:"Weekly Digest"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Summary of activities"})]}),a.jsx(Gt,{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(he,{htmlFor:"job-alerts-set",children:"Job Alerts"}),a.jsx(Gt,{id:"job-alerts-set",checked:r.jobAlerts,onCheckedChange:d=>i({jobAlerts:d})})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsx(he,{htmlFor:"course-updates",children:"Course Updates"}),a.jsx(Gt,{id:"course-updates",checked:r.courseUpdates,onCheckedChange:d=>i({courseUpdates:d})})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsx(he,{htmlFor:"news-digest",children:"News Digest"}),a.jsx(Gt,{id:"news-digest",checked:r.newsDigest,onCheckedChange:d=>i({newsDigest:d})})]})]})]})]})}),a.jsx(Ce,{value:"account",children:a.jsxs("div",{className:"space-y-4",children:[a.jsxs(ge,{children:[a.jsxs(_e,{children:[a.jsx(Te,{children:"Password"}),a.jsx(Be,{children:"Change your account password"})]}),a.jsx(we,{children:a.jsx(O,{onClick:()=>e({action:"change-password"}),children:"Change Password"})})]}),a.jsxs(ge,{children:[a.jsxs(_e,{children:[a.jsx(Te,{children:"Delete Account"}),a.jsx(Be,{children:"Permanently delete your account and all data"})]}),a.jsx(we,{children:a.jsx(O,{variant:"destructive",onClick:()=>e({action:"delete-account"}),children:"Delete Account"})})]})]})}),a.jsx(Ce,{value:"subscription",children:a.jsxs(ge,{children:[a.jsx(_e,{children:a.jsxs("div",{className:"flex justify-between items-start",children:[a.jsxs("div",{children:[a.jsx(Te,{children:"Subscription Plan"}),a.jsx(Be,{children:"Manage your membership"})]}),o.isPremium&&a.jsx(nt,{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(O,{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(O,{onClick:()=>e({action:"upgrade",plan:"premium"}),children:"Upgrade to Premium"})]})})]})}),a.jsx(Ce,{value:"connected",children:a.jsxs(ge,{children:[a.jsxs(_e,{children:[a.jsx(Te,{children:"Connected Accounts"}),a.jsx(Be,{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(O,{variant:"outline",size:"sm",onClick:()=>l(d.id),children:"Disconnect"}):a.jsx(O,{size:"sm",onClick:()=>c(d.platform),children:"Connect"})]},d.id))})]})})]})]})}function eU({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:[]},m=()=>console.log("/logout"),g=b=>console.log(b),f=async b=>{await h({type:"courses",payload:b})},x=(...b)=>console.log("Action:",...b),v=async b=>{await h({type:"news",payload:b})},M=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}},w=async b=>{await h({type:"settings",payload:b})};return a.jsx(oO,{user:t,onLogout:m,onNavigate:g,currentPath:"/dashboard",notificationCount:n.length,children:a.jsxs(Ji,{value:u,onValueChange:p,className:"w-full",children:[a.jsxs(Ka,{className:"grid w-full grid-cols-3 lg:grid-cols-6",children:[a.jsxs(be,{value:"overview",className:"flex items-center gap-2",children:[a.jsx(xa,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"Overview"})]}),a.jsxs(be,{value:"profile",className:"flex items-center gap-2",children:[a.jsx(Nc,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"Profile"})]}),a.jsxs(be,{value:"jobs",className:"flex items-center gap-2",children:[a.jsx(pt,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"Jobs"})]}),a.jsxs(be,{value:"courses",className:"flex items-center gap-2",children:[a.jsx(zt,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"Courses"})]}),a.jsxs(be,{value:"news",className:"flex items-center gap-2",children:[a.jsx(Ca,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"News"})]}),a.jsxs(be,{value:"settings",className:"flex items-center gap-2",children:[a.jsx(Cs,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"Settings"})]})]}),a.jsx(Ce,{value:"overview",className:"mt-6",children:a.jsx(sO,{userName:t.name,feedItems:i,alerts:n,snapshot:o,onSave:x,onApply:x,onEnroll:b=>f({action:"enroll",courseId:b}),onRead:b=>v({action:"read",articleId:b})})}),a.jsx(Ce,{value:"profile",className:"mt-6",children:a.jsx(EB,{profile:e,onUpdate:b=>h(b)})}),a.jsx(Ce,{value:"jobs",className:"mt-6",children:a.jsx(OB,{savedJobs:y.savedJobs,applications:y.applications,recommendedJobs:y.recommendedJobs,onApply:b=>console.log("Applied:",b),onRemove:b=>console.log("Removed:",b),onUploadCV:()=>console.log("Upload CV clicked"),onSetAlert:()=>console.log("Set alerts clicked"),onUpdateProfile:async b=>{await h({type:"jobs",payload:b.payload})}})}),a.jsx(Ce,{value:"courses",className:"mt-6",children:a.jsx(YB,{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:b=>f({action:"enroll",courseId:b}),onContinue:b=>f({action:"continue",courseId:b}),onExplore:()=>f({action:"explore"}),onSave:b=>f({action:"save",courseId:b}),onRemoveSaved:b=>f({action:"remove-saved",courseId:b}),onRemoveRecommended:b=>f({action:"remove-recommended",courseId:b})})}),a.jsx(Ce,{value:"news",className:"mt-6",children:a.jsx(KB,{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:b=>v({action:"read",articleId:b}),onSave:b=>v({action:"save",articleId:b}),onRemoveSaved:b=>v({action:"remove-saved",articleId:b}),onRemoveRecommended:b=>v({action:"remove-recommended",articleId:b}),onCategoryChange:b=>v({action:"category",category:b}),onManagePreferences:()=>v({action:"manage-preferences"})})}),a.jsx(Ce,{value:"settings",className:"mt-6",children:a.jsx(QB,{settings:M,onUpdate:w})})]})})}exports.Advantages=MN;exports.Analytics=TE;exports.Banner=Bc;exports.Button=O;exports.Cart=RN;exports.Chatbot=TN;exports.ConsentBanner=ZN;exports.ConsentProvider=GN;exports.CourseTypes=DN;exports.Courses=CN;exports.CoursesPage=bE;exports.Dashboard=eU;exports.Destinations=jN;exports.FAQ=PN;exports.FeatureJobs=ID;exports.Features=AN;exports.Footer=WD;exports.FooterLib=UN;exports.ForEmployers=zN;exports.ForgotPassword=rO;exports.Gallery=_N;exports.GroupPrices=ZR;exports.Header=yE;exports.HeaderAlternative=BN;exports.Hero=SN;exports.HeroAlternative=FN;exports.HomePage=LD;exports.IgamingCareerHome=ED;exports.Input=Xe;exports.JobDetailPage=pE;exports.JobListings=$D;exports.JobSearchWidget=VN;exports.Listing=lE;exports.Login=QE;exports.MobileNav=YN;exports.Navbar=GD;exports.NewsPage=fE;exports.Newsletter=HN;exports.NotificationModal=XN;exports.Partners=$N;exports.Register=tO;exports.SearchableSelect=Nb;exports.Services=LN;exports.ServicesNoIcons=qN;exports.SidebarNewsletter=Pj;exports.SlidingSummary=XR;exports.Testimonials=IN;exports.TrustSignals=ON;exports.ValueProposition=EN;exports.Videos=NN;exports.useConsent=Aj;