@igamingcareer/igaming-components 1.0.84 → 1.0.85

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.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const M=require("react"),LC=require("react-dom");function jN(t){const a=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(a,r,n.get?n:{enumerable:!0,get:()=>t[r]})}}return a.default=t,Object.freeze(a)}const g=jN(M),q9=jN(LC);function jT(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Bj={exports:{}},yc={};/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const M=require("react"),LC=require("react-dom");function jN(t){const a=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(a,r,n.get?n:{enumerable:!0,get:()=>t[r]})}}return a.default=t,Object.freeze(a)}const g=jN(M),q9=jN(LC);function CT(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Bj={exports:{}},yc={};/**
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 ZS;function CT(){if(ZS)return yc;ZS=1;var t=M,a=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,s=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={},m=null,y=null;h!==void 0&&(m=""+h),d.key!==void 0&&(m=""+d.key),d.ref!==void 0&&(y=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:a,type:l,key:m,ref:y,props:p,_owner:s.current}}return yc.Fragment=r,yc.jsx=c,yc.jsxs=c,yc}var mc={};/**
9
+ */var ZS;function ST(){if(ZS)return yc;ZS=1;var t=M,a=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,s=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={},m=null,y=null;h!==void 0&&(m=""+h),d.key!==void 0&&(m=""+d.key),d.ref!==void 0&&(y=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:a,type:l,key:m,ref:y,props:p,_owner:s.current}}return yc.Fragment=r,yc.jsx=c,yc.jsxs=c,yc}var mc={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,40 +14,40 @@
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 JS;function ST(){return JS||(JS=1,process.env.NODE_ENV!=="production"&&function(){var t=M,a=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),s=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"),m=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen"),x=Symbol.iterator,f="@@iterator";function v(I){if(I===null||typeof I!="object")return null;var H=x&&I[x]||I[f];return typeof H=="function"?H:null}var k=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function w(I){{for(var H=arguments.length,_=new Array(H>1?H-1:0),E=1;E<H;E++)_[E-1]=arguments[E];j("error",I,_)}}function j(I,H,_){{var E=k.ReactDebugCurrentFrame,Y=E.getStackAddendum();Y!==""&&(H+="%s",_=_.concat([Y]));var ce=_.map(function(he){return String(he)});ce.unshift("Warning: "+H),Function.prototype.apply.call(console[I],console,ce)}}var S=!1,C=!1,A=!1,L=!1,b=!1,N;N=Symbol.for("react.module.reference");function q(I){return!!(typeof I=="string"||typeof I=="function"||I===n||I===i||b||I===s||I===h||I===u||L||I===y||S||C||A||typeof I=="object"&&I!==null&&(I.$$typeof===m||I.$$typeof===p||I.$$typeof===c||I.$$typeof===l||I.$$typeof===d||I.$$typeof===N||I.getModuleId!==void 0))}function P(I,H,_){var E=I.displayName;if(E)return E;var Y=H.displayName||H.name||"";return Y!==""?_+"("+Y+")":_}function R(I){return I.displayName||"Context"}function T(I){if(I==null)return null;if(typeof I.tag=="number"&&w("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof I=="function")return I.displayName||I.name||null;if(typeof I=="string")return I;switch(I){case n:return"Fragment";case r:return"Portal";case i:return"Profiler";case s:return"StrictMode";case h:return"Suspense";case u:return"SuspenseList"}if(typeof I=="object")switch(I.$$typeof){case l:var H=I;return R(H)+".Consumer";case c:var _=I;return R(_._context)+".Provider";case d:return P(I,I.render,"ForwardRef");case p:var E=I.displayName||null;return E!==null?E:T(I.type)||"Memo";case m:{var Y=I,ce=Y._payload,he=Y._init;try{return T(he(ce))}catch{return null}}}return null}var $=Object.assign,W=0,B,U,O,le,re,X,J;function ae(){}ae.__reactDisabledLog=!0;function Q(){{if(W===0){B=console.log,U=console.info,O=console.warn,le=console.error,re=console.group,X=console.groupCollapsed,J=console.groupEnd;var I={configurable:!0,enumerable:!0,value:ae,writable:!0};Object.defineProperties(console,{info:I,log:I,warn:I,error:I,group:I,groupCollapsed:I,groupEnd:I})}W++}}function pe(){{if(W--,W===0){var I={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:$({},I,{value:B}),info:$({},I,{value:U}),warn:$({},I,{value:O}),error:$({},I,{value:le}),group:$({},I,{value:re}),groupCollapsed:$({},I,{value:X}),groupEnd:$({},I,{value:J})})}W<0&&w("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var we=k.ReactCurrentDispatcher,Z;function ee(I,H,_){{if(Z===void 0)try{throw Error()}catch(Y){var E=Y.stack.trim().match(/\n( *(at )?)/);Z=E&&E[1]||""}return`
18
- `+Z+I}}var ve=!1,fe;{var te=typeof WeakMap=="function"?WeakMap:Map;fe=new te}function ne(I,H){if(!I||ve)return"";{var _=fe.get(I);if(_!==void 0)return _}var E;ve=!0;var Y=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ce;ce=we.current,we.current=null,Q();try{if(H){var he=function(){throw Error()};if(Object.defineProperty(he.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(he,[])}catch(Ct){E=Ct}Reflect.construct(I,[],he)}else{try{he.call()}catch(Ct){E=Ct}I.call(he.prototype)}}else{try{throw Error()}catch(Ct){E=Ct}I()}}catch(Ct){if(Ct&&E&&typeof Ct.stack=="string"){for(var ye=Ct.stack.split(`
19
- `),ze=E.stack.split(`
20
- `),Ce=ye.length-1,_e=ze.length-1;Ce>=1&&_e>=0&&ye[Ce]!==ze[_e];)_e--;for(;Ce>=1&&_e>=0;Ce--,_e--)if(ye[Ce]!==ze[_e]){if(Ce!==1||_e!==1)do if(Ce--,_e--,_e<0||ye[Ce]!==ze[_e]){var Ee=`
21
- `+ye[Ce].replace(" at new "," at ");return I.displayName&&Ee.includes("<anonymous>")&&(Ee=Ee.replace("<anonymous>",I.displayName)),typeof I=="function"&&fe.set(I,Ee),Ee}while(Ce>=1&&_e>=0);break}}}finally{ve=!1,we.current=ce,pe(),Error.prepareStackTrace=Y}var ht=I?I.displayName||I.name:"",Jt=ht?ee(ht):"";return typeof I=="function"&&fe.set(I,Jt),Jt}function Ae(I,H,_){return ne(I,!1)}function Pe(I){var H=I.prototype;return!!(H&&H.isReactComponent)}function De(I,H,_){if(I==null)return"";if(typeof I=="function")return ne(I,Pe(I));if(typeof I=="string")return ee(I);switch(I){case h:return ee("Suspense");case u:return ee("SuspenseList")}if(typeof I=="object")switch(I.$$typeof){case d:return Ae(I.render);case p:return De(I.type,H,_);case m:{var E=I,Y=E._payload,ce=E._init;try{return De(ce(Y),H,_)}catch{}}}return""}var Qe=Object.prototype.hasOwnProperty,ot={},pt=k.ReactDebugCurrentFrame;function et(I){if(I){var H=I._owner,_=De(I.type,I._source,H?H.type:null);pt.setExtraStackFrame(_)}else pt.setExtraStackFrame(null)}function Oe(I,H,_,E,Y){{var ce=Function.call.bind(Qe);for(var he in I)if(ce(I,he)){var ye=void 0;try{if(typeof I[he]!="function"){var ze=Error((E||"React class")+": "+_+" type `"+he+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof I[he]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ze.name="Invariant Violation",ze}ye=I[he](H,he,E,_,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ce){ye=Ce}ye&&!(ye instanceof Error)&&(et(Y),w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",E||"React class",_,he,typeof ye),et(null)),ye instanceof Error&&!(ye.message in ot)&&(ot[ye.message]=!0,et(Y),w("Failed %s type: %s",_,ye.message),et(null))}}}var ct=Array.isArray;function Je(I){return ct(I)}function oa(I){{var H=typeof Symbol=="function"&&Symbol.toStringTag,_=H&&I[Symbol.toStringTag]||I.constructor.name||"Object";return _}}function yt(I){try{return lt(I),!1}catch{return!0}}function lt(I){return""+I}function Wt(I){if(yt(I))return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",oa(I)),lt(I)}var F=k.ReactCurrentOwner,V={key:!0,ref:!0,__self:!0,__source:!0},K,Ne,D;D={};function ie(I){if(Qe.call(I,"ref")){var H=Object.getOwnPropertyDescriptor(I,"ref").get;if(H&&H.isReactWarning)return!1}return I.ref!==void 0}function be(I){if(Qe.call(I,"key")){var H=Object.getOwnPropertyDescriptor(I,"key").get;if(H&&H.isReactWarning)return!1}return I.key!==void 0}function tt(I,H){if(typeof I.ref=="string"&&F.current&&H&&F.current.stateNode!==H){var _=T(F.current.type);D[_]||(w('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',T(F.current.type),I.ref),D[_]=!0)}}function mt(I,H){{var _=function(){K||(K=!0,w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",H))};_.isReactWarning=!0,Object.defineProperty(I,"key",{get:_,configurable:!0})}}function Zt(I,H){{var _=function(){Ne||(Ne=!0,w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",H))};_.isReactWarning=!0,Object.defineProperty(I,"ref",{get:_,configurable:!0})}}var za=function(I,H,_,E,Y,ce,he){var ye={$$typeof:a,type:I,key:H,ref:_,props:he,_owner:ce};return ye._store={},Object.defineProperty(ye._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ye,"_self",{configurable:!1,enumerable:!1,writable:!1,value:E}),Object.defineProperty(ye,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Y}),Object.freeze&&(Object.freeze(ye.props),Object.freeze(ye)),ye};function Er(I,H,_,E,Y){{var ce,he={},ye=null,ze=null;_!==void 0&&(Wt(_),ye=""+_),be(H)&&(Wt(H.key),ye=""+H.key),ie(H)&&(ze=H.ref,tt(H,Y));for(ce in H)Qe.call(H,ce)&&!V.hasOwnProperty(ce)&&(he[ce]=H[ce]);if(I&&I.defaultProps){var Ce=I.defaultProps;for(ce in Ce)he[ce]===void 0&&(he[ce]=Ce[ce])}if(ye||ze){var _e=typeof I=="function"?I.displayName||I.name||"Unknown":I;ye&&mt(he,_e),ze&&Zt(he,_e)}return za(I,ye,ze,Y,E,F.current,he)}}var tr=k.ReactCurrentOwner,ar=k.ReactDebugCurrentFrame;function ca(I){if(I){var H=I._owner,_=De(I.type,I._source,H?H.type:null);ar.setExtraStackFrame(_)}else ar.setExtraStackFrame(null)}var Ea;Ea=!1;function Fr(I){return typeof I=="object"&&I!==null&&I.$$typeof===a}function G(){{if(tr.current){var I=T(tr.current.type);if(I)return`
17
+ */var JS;function LT(){return JS||(JS=1,process.env.NODE_ENV!=="production"&&function(){var t=M,a=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),s=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"),m=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen"),x=Symbol.iterator,f="@@iterator";function v(I){if(I===null||typeof I!="object")return null;var H=x&&I[x]||I[f];return typeof H=="function"?H:null}var k=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function w(I){{for(var H=arguments.length,_=new Array(H>1?H-1:0),E=1;E<H;E++)_[E-1]=arguments[E];j("error",I,_)}}function j(I,H,_){{var E=k.ReactDebugCurrentFrame,X=E.getStackAddendum();X!==""&&(H+="%s",_=_.concat([X]));var ie=_.map(function(le){return String(le)});ie.unshift("Warning: "+H),Function.prototype.apply.call(console[I],console,ie)}}var S=!1,C=!1,A=!1,L=!1,b=!1,N;N=Symbol.for("react.module.reference");function q(I){return!!(typeof I=="string"||typeof I=="function"||I===n||I===i||b||I===s||I===h||I===u||L||I===y||S||C||A||typeof I=="object"&&I!==null&&(I.$$typeof===m||I.$$typeof===p||I.$$typeof===c||I.$$typeof===l||I.$$typeof===d||I.$$typeof===N||I.getModuleId!==void 0))}function P(I,H,_){var E=I.displayName;if(E)return E;var X=H.displayName||H.name||"";return X!==""?_+"("+X+")":_}function R(I){return I.displayName||"Context"}function T(I){if(I==null)return null;if(typeof I.tag=="number"&&w("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof I=="function")return I.displayName||I.name||null;if(typeof I=="string")return I;switch(I){case n:return"Fragment";case r:return"Portal";case i:return"Profiler";case s:return"StrictMode";case h:return"Suspense";case u:return"SuspenseList"}if(typeof I=="object")switch(I.$$typeof){case l:var H=I;return R(H)+".Consumer";case c:var _=I;return R(_._context)+".Provider";case d:return P(I,I.render,"ForwardRef");case p:var E=I.displayName||null;return E!==null?E:T(I.type)||"Memo";case m:{var X=I,ie=X._payload,le=X._init;try{return T(le(ie))}catch{return null}}}return null}var $=Object.assign,W=0,B,U,O,oe,ae,Y,J;function Q(){}Q.__reactDisabledLog=!0;function ee(){{if(W===0){B=console.log,U=console.info,O=console.warn,oe=console.error,ae=console.group,Y=console.groupCollapsed,J=console.groupEnd;var I={configurable:!0,enumerable:!0,value:Q,writable:!0};Object.defineProperties(console,{info:I,log:I,warn:I,error:I,group:I,groupCollapsed:I,groupEnd:I})}W++}}function ue(){{if(W--,W===0){var I={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:$({},I,{value:B}),info:$({},I,{value:U}),warn:$({},I,{value:O}),error:$({},I,{value:oe}),group:$({},I,{value:ae}),groupCollapsed:$({},I,{value:Y}),groupEnd:$({},I,{value:J})})}W<0&&w("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var we=k.ReactCurrentDispatcher,Z;function te(I,H,_){{if(Z===void 0)try{throw Error()}catch(X){var E=X.stack.trim().match(/\n( *(at )?)/);Z=E&&E[1]||""}return`
18
+ `+Z+I}}var ve=!1,fe;{var re=typeof WeakMap=="function"?WeakMap:Map;fe=new re}function he(I,H){if(!I||ve)return"";{var _=fe.get(I);if(_!==void 0)return _}var E;ve=!0;var X=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ie;ie=we.current,we.current=null,ee();try{if(H){var le=function(){throw Error()};if(Object.defineProperty(le.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(le,[])}catch(St){E=St}Reflect.construct(I,[],le)}else{try{le.call()}catch(St){E=St}I.call(le.prototype)}}else{try{throw Error()}catch(St){E=St}I()}}catch(St){if(St&&E&&typeof St.stack=="string"){for(var ye=St.stack.split(`
19
+ `),Ee=E.stack.split(`
20
+ `),je=ye.length-1,Ie=Ee.length-1;je>=1&&Ie>=0&&ye[je]!==Ee[Ie];)Ie--;for(;je>=1&&Ie>=0;je--,Ie--)if(ye[je]!==Ee[Ie]){if(je!==1||Ie!==1)do if(je--,Ie--,Ie<0||ye[je]!==Ee[Ie]){var Fe=`
21
+ `+ye[je].replace(" at new "," at ");return I.displayName&&Fe.includes("<anonymous>")&&(Fe=Fe.replace("<anonymous>",I.displayName)),typeof I=="function"&&fe.set(I,Fe),Fe}while(je>=1&&Ie>=0);break}}}finally{ve=!1,we.current=ie,ue(),Error.prepareStackTrace=X}var ut=I?I.displayName||I.name:"",Kt=ut?te(ut):"";return typeof I=="function"&&fe.set(I,Kt),Kt}function Ae(I,H,_){return he(I,!1)}function Pe(I){var H=I.prototype;return!!(H&&H.isReactComponent)}function _e(I,H,_){if(I==null)return"";if(typeof I=="function")return he(I,Pe(I));if(typeof I=="string")return te(I);switch(I){case h:return te("Suspense");case u:return te("SuspenseList")}if(typeof I=="object")switch(I.$$typeof){case d:return Ae(I.render);case p:return _e(I.type,H,_);case m:{var E=I,X=E._payload,ie=E._init;try{return _e(ie(X),H,_)}catch{}}}return""}var Qe=Object.prototype.hasOwnProperty,st={},yt=k.ReactDebugCurrentFrame;function rt(I){if(I){var H=I._owner,_=_e(I.type,I._source,H?H.type:null);yt.setExtraStackFrame(_)}else yt.setExtraStackFrame(null)}function Be(I,H,_,E,X){{var ie=Function.call.bind(Qe);for(var le in I)if(ie(I,le)){var ye=void 0;try{if(typeof I[le]!="function"){var Ee=Error((E||"React class")+": "+_+" type `"+le+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof I[le]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ee.name="Invariant Violation",Ee}ye=I[le](H,le,E,_,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(je){ye=je}ye&&!(ye instanceof Error)&&(rt(X),w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",E||"React class",_,le,typeof ye),rt(null)),ye instanceof Error&&!(ye.message in st)&&(st[ye.message]=!0,rt(X),w("Failed %s type: %s",_,ye.message),rt(null))}}}var mt=Array.isArray;function et(I){return mt(I)}function da(I){{var H=typeof Symbol=="function"&&Symbol.toStringTag,_=H&&I[Symbol.toStringTag]||I.constructor.name||"Object";return _}}function ft(I){try{return dt(I),!1}catch{return!0}}function dt(I){return""+I}function Jt(I){if(ft(I))return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",da(I)),dt(I)}var F=k.ReactCurrentOwner,V={key:!0,ref:!0,__self:!0,__source:!0},K,Le,Te;Te={};function Ze(I){if(Qe.call(I,"ref")){var H=Object.getOwnPropertyDescriptor(I,"ref").get;if(H&&H.isReactWarning)return!1}return I.ref!==void 0}function ze(I){if(Qe.call(I,"key")){var H=Object.getOwnPropertyDescriptor(I,"key").get;if(H&&H.isReactWarning)return!1}return I.key!==void 0}function z(I,H){if(typeof I.ref=="string"&&F.current&&H&&F.current.stateNode!==H){var _=T(F.current.type);Te[_]||(w('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',T(F.current.type),I.ref),Te[_]=!0)}}function pe(I,H){{var _=function(){K||(K=!0,w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",H))};_.isReactWarning=!0,Object.defineProperty(I,"key",{get:_,configurable:!0})}}function He(I,H){{var _=function(){Le||(Le=!0,w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",H))};_.isReactWarning=!0,Object.defineProperty(I,"ref",{get:_,configurable:!0})}}var Xt=function(I,H,_,E,X,ie,le){var ye={$$typeof:a,type:I,key:H,ref:_,props:le,_owner:ie};return ye._store={},Object.defineProperty(ye._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ye,"_self",{configurable:!1,enumerable:!1,writable:!1,value:E}),Object.defineProperty(ye,"_source",{configurable:!1,enumerable:!1,writable:!1,value:X}),Object.freeze&&(Object.freeze(ye.props),Object.freeze(ye)),ye};function ha(I,H,_,E,X){{var ie,le={},ye=null,Ee=null;_!==void 0&&(Jt(_),ye=""+_),ze(H)&&(Jt(H.key),ye=""+H.key),Ze(H)&&(Ee=H.ref,z(H,X));for(ie in H)Qe.call(H,ie)&&!V.hasOwnProperty(ie)&&(le[ie]=H[ie]);if(I&&I.defaultProps){var je=I.defaultProps;for(ie in je)le[ie]===void 0&&(le[ie]=je[ie])}if(ye||Ee){var Ie=typeof I=="function"?I.displayName||I.name||"Unknown":I;ye&&pe(le,Ie),Ee&&He(le,Ie)}return Xt(I,ye,Ee,X,E,F.current,le)}}var Tt=k.ReactCurrentOwner,Yt=k.ReactDebugCurrentFrame;function ua(I){if(I){var H=I._owner,_=_e(I.type,I._source,H?H.type:null);Yt.setExtraStackFrame(_)}else Yt.setExtraStackFrame(null)}var Ha;Ha=!1;function Fr(I){return typeof I=="object"&&I!==null&&I.$$typeof===a}function G(){{if(Tt.current){var I=T(Tt.current.type);if(I)return`
22
22
 
23
- Check the render method of \``+I+"`."}return""}}function oe(I){return""}var je={};function Te(I){{var H=G();if(!H){var _=typeof I=="string"?I:I.displayName||I.name;_&&(H=`
23
+ Check the render method of \``+I+"`."}return""}}function se(I){return""}var Me={};function qe(I){{var H=G();if(!H){var _=typeof I=="string"?I:I.displayName||I.name;_&&(H=`
24
24
 
25
- Check the top-level render call using <`+_+">.")}return H}}function Ge(I,H){{if(!I._store||I._store.validated||I.key!=null)return;I._store.validated=!0;var _=Te(H);if(je[_])return;je[_]=!0;var E="";I&&I._owner&&I._owner!==tr.current&&(E=" It was passed a child from "+T(I._owner.type)+"."),ca(I),w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',_,E),ca(null)}}function Fa(I,H){{if(typeof I!="object")return;if(Je(I))for(var _=0;_<I.length;_++){var E=I[_];Fr(E)&&Ge(E,H)}else if(Fr(I))I._store&&(I._store.validated=!0);else if(I){var Y=v(I);if(typeof Y=="function"&&Y!==I.entries)for(var ce=Y.call(I),he;!(he=ce.next()).done;)Fr(he.value)&&Ge(he.value,H)}}}function dt(I){{var H=I.type;if(H==null||typeof H=="string")return;var _;if(typeof H=="function")_=H.propTypes;else if(typeof H=="object"&&(H.$$typeof===d||H.$$typeof===p))_=H.propTypes;else return;if(_){var E=T(H);Oe(_,I.props,"prop",E,I)}else if(H.PropTypes!==void 0&&!Ea){Ea=!0;var Y=T(H);w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Y||"Unknown")}typeof H.getDefaultProps=="function"&&!H.getDefaultProps.isReactClassApproved&&w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function vt(I){{for(var H=Object.keys(I.props),_=0;_<H.length;_++){var E=H[_];if(E!=="children"&&E!=="key"){ca(I),w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",E),ca(null);break}}I.ref!==null&&(ca(I),w("Invalid attribute `ref` supplied to `React.Fragment`."),ca(null))}}var rr={};function We(I,H,_,E,Y,ce){{var he=q(I);if(!he){var ye="";(I===void 0||typeof I=="object"&&I!==null&&Object.keys(I).length===0)&&(ye+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var ze=oe();ze?ye+=ze:ye+=G();var Ce;I===null?Ce="null":Je(I)?Ce="array":I!==void 0&&I.$$typeof===a?(Ce="<"+(T(I.type)||"Unknown")+" />",ye=" Did you accidentally export a JSX literal instead of a component?"):Ce=typeof I,w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Ce,ye)}var _e=Er(I,H,_,Y,ce);if(_e==null)return _e;if(he){var Ee=H.children;if(Ee!==void 0)if(E)if(Je(Ee)){for(var ht=0;ht<Ee.length;ht++)Fa(Ee[ht],I);Object.freeze&&Object.freeze(Ee)}else w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Fa(Ee,I)}if(Qe.call(H,"key")){var Jt=T(I),Ct=Object.keys(H).filter(function(MT){return MT!=="key"}),uj=Ct.length>0?"{key: someKey, "+Ct.join(": ..., ")+": ...}":"{key: someKey}";if(!rr[Jt+uj]){var bT=Ct.length>0?"{"+Ct.join(": ..., ")+": ...}":"{}";w(`A props object containing a "key" prop is being spread into JSX:
25
+ Check the top-level render call using <`+_+">.")}return H}}function Je(I,H){{if(!I._store||I._store.validated||I.key!=null)return;I._store.validated=!0;var _=qe(H);if(Me[_])return;Me[_]=!0;var E="";I&&I._owner&&I._owner!==Tt.current&&(E=" It was passed a child from "+T(I._owner.type)+"."),ua(I),w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',_,E),ua(null)}}function Va(I,H){{if(typeof I!="object")return;if(et(I))for(var _=0;_<I.length;_++){var E=I[_];Fr(E)&&Je(E,H)}else if(Fr(I))I._store&&(I._store.validated=!0);else if(I){var X=v(I);if(typeof X=="function"&&X!==I.entries)for(var ie=X.call(I),le;!(le=ie.next()).done;)Fr(le.value)&&Je(le.value,H)}}}function ht(I){{var H=I.type;if(H==null||typeof H=="string")return;var _;if(typeof H=="function")_=H.propTypes;else if(typeof H=="object"&&(H.$$typeof===d||H.$$typeof===p))_=H.propTypes;else return;if(_){var E=T(H);Be(_,I.props,"prop",E,I)}else if(H.PropTypes!==void 0&&!Ha){Ha=!0;var X=T(H);w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",X||"Unknown")}typeof H.getDefaultProps=="function"&&!H.getDefaultProps.isReactClassApproved&&w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function wt(I){{for(var H=Object.keys(I.props),_=0;_<H.length;_++){var E=H[_];if(E!=="children"&&E!=="key"){ua(I),w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",E),ua(null);break}}I.ref!==null&&(ua(I),w("Invalid attribute `ref` supplied to `React.Fragment`."),ua(null))}}var nr={};function Xe(I,H,_,E,X,ie){{var le=q(I);if(!le){var ye="";(I===void 0||typeof I=="object"&&I!==null&&Object.keys(I).length===0)&&(ye+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Ee=se();Ee?ye+=Ee:ye+=G();var je;I===null?je="null":et(I)?je="array":I!==void 0&&I.$$typeof===a?(je="<"+(T(I.type)||"Unknown")+" />",ye=" Did you accidentally export a JSX literal instead of a component?"):je=typeof I,w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",je,ye)}var Ie=ha(I,H,_,X,ie);if(Ie==null)return Ie;if(le){var Fe=H.children;if(Fe!==void 0)if(E)if(et(Fe)){for(var ut=0;ut<Fe.length;ut++)Va(Fe[ut],I);Object.freeze&&Object.freeze(Fe)}else w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Va(Fe,I)}if(Qe.call(H,"key")){var Kt=T(I),St=Object.keys(H).filter(function(jT){return jT!=="key"}),uj=St.length>0?"{key: someKey, "+St.join(": ..., ")+": ...}":"{key: someKey}";if(!nr[Kt+uj]){var MT=St.length>0?"{"+St.join(": ..., ")+": ...}":"{}";w(`A props object containing a "key" prop is being spread into JSX:
26
26
  let props = %s;
27
27
  <%s {...props} />
28
28
  React keys must be passed directly to JSX without using spread:
29
29
  let props = %s;
30
- <%s key={someKey} {...props} />`,uj,Jt,bT,Jt),rr[Jt+uj]=!0}}return I===n?vt(_e):dt(_e),_e}}function wt(I,H,_){return We(I,H,_,!0)}function pc(I,H,_){return We(I,H,_,!1)}var xl=pc,hj=wt;mc.Fragment=n,mc.jsx=xl,mc.jsxs=hj}()),mc}process.env.NODE_ENV==="production"?Bj.exports=CT():Bj.exports=ST();var e=Bj.exports;function XS(t,a){if(typeof t=="function")return t(a);t!=null&&(t.current=a)}function LT(...t){return a=>{let r=!1;const n=t.map(s=>{const i=XS(s,a);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let s=0;s<n.length;s++){const i=n[s];typeof i=="function"?i():XS(t[s],null)}}}}function Ke(t){const a=IT(t),r=g.forwardRef((n,s)=>{const{children:i,...c}=n,l=g.Children.toArray(i),d=l.find(PT);if(d){const h=d.props.children,u=l.map(p=>p===d?g.Children.count(h)>1?g.Children.only(null):g.isValidElement(h)?h.props.children:null:p);return e.jsx(a,{...c,ref:s,children:g.isValidElement(h)?g.cloneElement(h,void 0,u):null})}return e.jsx(a,{...c,ref:s,children:i})});return r.displayName=`${t}.Slot`,r}var NT=Ke("Slot");function IT(t){const a=g.forwardRef((r,n)=>{const{children:s,...i}=r;if(g.isValidElement(s)){const c=RT(s),l=_T(i,s.props);return s.type!==g.Fragment&&(l.ref=n?LT(n,c):c),g.cloneElement(s,l)}return g.Children.count(s)>1?g.Children.only(null):null});return a.displayName=`${t}.SlotClone`,a}var CN=Symbol("radix.slottable");function AT(t){const a=({children:r})=>e.jsx(e.Fragment,{children:r});return a.displayName=`${t}.Slottable`,a.__radixId=CN,a}function PT(t){return g.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===CN}function _T(t,a){const r={...a};for(const n in a){const s=t[n],i=a[n];/^on[A-Z]/.test(n)?s&&i?r[n]=(...l)=>{const d=i(...l);return s(...l),d}:s&&(r[n]=s):n==="style"?r[n]={...s,...i}:n==="className"&&(r[n]=[s,i].filter(Boolean).join(" "))}return{...t,...r}}function RT(t){var n,s;let a=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=a&&"isReactWarning"in a&&a.isReactWarning;return r?t.ref:(a=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,r=a&&"isReactWarning"in a&&a.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}function SN(t){var a,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t))for(a=0;a<t.length;a++)t[a]&&(r=SN(t[a]))&&(n&&(n+=" "),n+=r);else for(a in t)t[a]&&(n&&(n+=" "),n+=a);return n}function TT(){for(var t,a,r=0,n="";r<arguments.length;)(t=arguments[r++])&&(a=SN(t))&&(n&&(n+=" "),n+=a);return n}const YS=t=>typeof t=="boolean"?"".concat(t):t===0?"0":t,KS=TT,D9=(t,a)=>r=>{var n;if((a==null?void 0:a.variants)==null)return KS(t,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:s,defaultVariants:i}=a,c=Object.keys(s).map(h=>{const u=r==null?void 0:r[h],p=i==null?void 0:i[h];if(u===null)return null;const m=YS(u)||YS(p);return s[h][m]}),l=r&&Object.entries(r).reduce((h,u)=>{let[p,m]=u;return m===void 0||(h[p]=m),h},{}),d=a==null||(n=a.compoundVariants)===null||n===void 0?void 0:n.reduce((h,u)=>{let{class:p,className:m,...y}=u;return Object.entries(y).every(x=>{let[f,v]=x;return Array.isArray(v)?v.includes({...i,...l}[f]):{...i,...l}[f]===v})?[...h,p,m]:h},[]);return KS(t,c,d,r==null?void 0:r.class,r==null?void 0:r.className)};function LN(t){var a,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t)){var s=t.length;for(a=0;a<s;a++)t[a]&&(r=LN(t[a]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function qT(){for(var t,a,r=0,n="",s=arguments.length;r<s;r++)(t=arguments[r])&&(a=LN(t))&&(n&&(n+=" "),n+=a);return n}const NC="-",DT=t=>{const a=ET(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=t;return{getClassGroupId:c=>{const l=c.split(NC);return l[0]===""&&l.length!==1&&l.shift(),NN(l,a)||zT(c)},getConflictingClassGroupIds:(c,l)=>{const d=r[c]||[];return l&&n[c]?[...d,...n[c]]:d}}},NN=(t,a)=>{var c;if(t.length===0)return a.classGroupId;const r=t[0],n=a.nextPart.get(r),s=n?NN(t.slice(1),n):void 0;if(s)return s;if(a.validators.length===0)return;const i=t.join(NC);return(c=a.validators.find(({validator:l})=>l(i)))==null?void 0:c.classGroupId},QS=/^\[(.+)\]$/,zT=t=>{if(QS.test(t)){const a=QS.exec(t)[1],r=a==null?void 0:a.substring(0,a.indexOf(":"));if(r)return"arbitrary.."+r}},ET=t=>{const{theme:a,prefix:r}=t,n={nextPart:new Map,validators:[]};return OT(Object.entries(t.classGroups),r).forEach(([i,c])=>{$j(c,n,i,a)}),n},$j=(t,a,r,n)=>{t.forEach(s=>{if(typeof s=="string"){const i=s===""?a:eL(a,s);i.classGroupId=r;return}if(typeof s=="function"){if(FT(s)){$j(s(n),a,r,n);return}a.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([i,c])=>{$j(c,eL(a,i),r,n)})})},eL=(t,a)=>{let r=t;return a.split(NC).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},FT=t=>t.isThemeGetter,OT=(t,a)=>a?t.map(([r,n])=>{const s=n.map(i=>typeof i=="string"?a+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([c,l])=>[a+c,l])):i);return[r,s]}):t,HT=t=>{if(t<1)return{get:()=>{},set:()=>{}};let a=0,r=new Map,n=new Map;const s=(i,c)=>{r.set(i,c),a++,a>t&&(a=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 s(i,c),c},set(i,c){r.has(i)?r.set(i,c):s(i,c)}}},IN="!",VT=t=>{const{separator:a,experimentalParseClassName:r}=t,n=a.length===1,s=a[0],i=a.length,c=l=>{const d=[];let h=0,u=0,p;for(let v=0;v<l.length;v++){let k=l[v];if(h===0){if(k===s&&(n||l.slice(v,v+i)===a)){d.push(l.slice(u,v)),u=v+i;continue}if(k==="/"){p=v;continue}}k==="["?h++:k==="]"&&h--}const m=d.length===0?l:l.substring(u),y=m.startsWith(IN),x=y?m.substring(1):m,f=p&&p>u?p-u:void 0;return{modifiers:d,hasImportantModifier:y,baseClassName:x,maybePostfixModifierPosition:f}};return r?l=>r({className:l,parseClassName:c}):c},BT=t=>{if(t.length<=1)return t;const a=[];let r=[];return t.forEach(n=>{n[0]==="["?(a.push(...r.sort(),n),r=[]):r.push(n)}),a.push(...r.sort()),a},$T=t=>({cache:HT(t.cacheSize),parseClassName:VT(t),...DT(t)}),UT=/\s+/,GT=(t,a)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:s}=a,i=[],c=t.trim().split(UT);let l="";for(let d=c.length-1;d>=0;d-=1){const h=c[d],{modifiers:u,hasImportantModifier:p,baseClassName:m,maybePostfixModifierPosition:y}=r(h);let x=!!y,f=n(x?m.substring(0,y):m);if(!f){if(!x){l=h+(l.length>0?" "+l:l);continue}if(f=n(m),!f){l=h+(l.length>0?" "+l:l);continue}x=!1}const v=BT(u).join(":"),k=p?v+IN:v,w=k+f;if(i.includes(w))continue;i.push(w);const j=s(f,x);for(let S=0;S<j.length;++S){const C=j[S];i.push(k+C)}l=h+(l.length>0?" "+l:l)}return l};function WT(){let t=0,a,r,n="";for(;t<arguments.length;)(a=arguments[t++])&&(r=AN(a))&&(n&&(n+=" "),n+=r);return n}const AN=t=>{if(typeof t=="string")return t;let a,r="";for(let n=0;n<t.length;n++)t[n]&&(a=AN(t[n]))&&(r&&(r+=" "),r+=a);return r};function ZT(t,...a){let r,n,s,i=c;function c(d){const h=a.reduce((u,p)=>p(u),t());return r=$T(h),n=r.cache.get,s=r.cache.set,i=l,l(d)}function l(d){const h=n(d);if(h)return h;const u=GT(d,r);return s(d,u),u}return function(){return i(WT.apply(null,arguments))}}const He=t=>{const a=r=>r[t]||[];return a.isThemeGetter=!0,a},PN=/^\[(?:([a-z-]+):)?(.+)\]$/i,JT=/^\d+\/\d+$/,XT=new Set(["px","full","screen"]),YT=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,KT=/\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$/,QT=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,eq=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,tq=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Oa=t=>Do(t)||XT.has(t)||JT.test(t),nr=t=>lc(t,"length",lq),Do=t=>!!t&&!Number.isNaN(Number(t)),pj=t=>lc(t,"number",Do),fc=t=>!!t&&Number.isInteger(Number(t)),aq=t=>t.endsWith("%")&&Do(t.slice(0,-1)),Me=t=>PN.test(t),sr=t=>YT.test(t),rq=new Set(["length","size","percentage"]),nq=t=>lc(t,rq,_N),sq=t=>lc(t,"position",_N),iq=new Set(["image","url"]),oq=t=>lc(t,iq,hq),cq=t=>lc(t,"",dq),xc=()=>!0,lc=(t,a,r)=>{const n=PN.exec(t);return n?n[1]?typeof a=="string"?n[1]===a:a.has(n[1]):r(n[2]):!1},lq=t=>KT.test(t)&&!QT.test(t),_N=()=>!1,dq=t=>eq.test(t),hq=t=>tq.test(t),uq=()=>{const t=He("colors"),a=He("spacing"),r=He("blur"),n=He("brightness"),s=He("borderColor"),i=He("borderRadius"),c=He("borderSpacing"),l=He("borderWidth"),d=He("contrast"),h=He("grayscale"),u=He("hueRotate"),p=He("invert"),m=He("gap"),y=He("gradientColorStops"),x=He("gradientColorStopPositions"),f=He("inset"),v=He("margin"),k=He("opacity"),w=He("padding"),j=He("saturate"),S=He("scale"),C=He("sepia"),A=He("skew"),L=He("space"),b=He("translate"),N=()=>["auto","contain","none"],q=()=>["auto","hidden","clip","visible","scroll"],P=()=>["auto",Me,a],R=()=>[Me,a],T=()=>["",Oa,nr],$=()=>["auto",Do,Me],W=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],B=()=>["solid","dashed","dotted","double","none"],U=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],O=()=>["start","end","center","between","around","evenly","stretch"],le=()=>["","0",Me],re=()=>["auto","avoid","all","avoid-page","page","left","right","column"],X=()=>[Do,Me];return{cacheSize:500,separator:":",theme:{colors:[xc],spacing:[Oa,nr],blur:["none","",sr,Me],brightness:X(),borderColor:[t],borderRadius:["none","","full",sr,Me],borderSpacing:R(),borderWidth:T(),contrast:X(),grayscale:le(),hueRotate:X(),invert:le(),gap:R(),gradientColorStops:[t],gradientColorStopPositions:[aq,nr],inset:P(),margin:P(),opacity:X(),padding:R(),saturate:X(),scale:X(),sepia:le(),skew:X(),space:R(),translate:R()},classGroups:{aspect:[{aspect:["auto","square","video",Me]}],container:["container"],columns:[{columns:[sr]}],"break-after":[{"break-after":re()}],"break-before":[{"break-before":re()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...W(),Me]}],overflow:[{overflow:q()}],"overflow-x":[{"overflow-x":q()}],"overflow-y":[{"overflow-y":q()}],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",fc,Me]}],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",Me]}],grow:[{grow:le()}],shrink:[{shrink:le()}],order:[{order:["first","last","none",fc,Me]}],"grid-cols":[{"grid-cols":[xc]}],"col-start-end":[{col:["auto",{span:["full",fc,Me]},Me]}],"col-start":[{"col-start":$()}],"col-end":[{"col-end":$()}],"grid-rows":[{"grid-rows":[xc]}],"row-start-end":[{row:["auto",{span:[fc,Me]},Me]}],"row-start":[{"row-start":$()}],"row-end":[{"row-end":$()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Me]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Me]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...O()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...O(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...O(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-x":[{"space-x":[L]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[L]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Me,a]}],"min-w":[{"min-w":[Me,a,"min","max","fit"]}],"max-w":[{"max-w":[Me,a,"none","full","min","max","fit","prose",{screen:[sr]},sr]}],h:[{h:[Me,a,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Me,a,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Me,a,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Me,a,"auto","min","max","fit"]}],"font-size":[{text:["base",sr,nr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",pj]}],"font-family":[{font:[xc]}],"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",Me]}],"line-clamp":[{"line-clamp":["none",Do,pj]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Oa,Me]}],"list-image":[{"list-image":["none",Me]}],"list-style-type":[{list:["none","disc","decimal",Me]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Oa,nr]}],"underline-offset":[{"underline-offset":["auto",Oa,Me]}],"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:R()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Me]}],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",Me]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...W(),sq]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",nq]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},oq]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[y]}],"gradient-via":[{via:[y]}],"gradient-to":[{to:[y]}],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":[k]}],"border-style":[{border:[...B(),"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":[k]}],"divide-style":[{divide:B()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...B()]}],"outline-offset":[{"outline-offset":[Oa,Me]}],"outline-w":[{outline:[Oa,nr]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:T()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[Oa,nr]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",sr,cq]}],"shadow-color":[{shadow:[xc]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...U(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":U()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",sr,Me]}],grayscale:[{grayscale:[h]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[p]}],saturate:[{saturate:[j]}],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":[k]}],"backdrop-saturate":[{"backdrop-saturate":[j]}],"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",Me]}],duration:[{duration:X()}],ease:[{ease:["linear","in","out","in-out",Me]}],delay:[{delay:X()}],animate:[{animate:["none","spin","ping","pulse","bounce",Me]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[fc,Me]}],"translate-x":[{"translate-x":[b]}],"translate-y":[{"translate-y":[b]}],"skew-x":[{"skew-x":[A]}],"skew-y":[{"skew-y":[A]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Me]}],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",Me]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":R()}],"scroll-mx":[{"scroll-mx":R()}],"scroll-my":[{"scroll-my":R()}],"scroll-ms":[{"scroll-ms":R()}],"scroll-me":[{"scroll-me":R()}],"scroll-mt":[{"scroll-mt":R()}],"scroll-mr":[{"scroll-mr":R()}],"scroll-mb":[{"scroll-mb":R()}],"scroll-ml":[{"scroll-ml":R()}],"scroll-p":[{"scroll-p":R()}],"scroll-px":[{"scroll-px":R()}],"scroll-py":[{"scroll-py":R()}],"scroll-ps":[{"scroll-ps":R()}],"scroll-pe":[{"scroll-pe":R()}],"scroll-pt":[{"scroll-pt":R()}],"scroll-pr":[{"scroll-pr":R()}],"scroll-pb":[{"scroll-pb":R()}],"scroll-pl":[{"scroll-pl":R()}],"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",Me]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[Oa,nr,pj]}],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"]}}},pq=ZT(uq);function me(...t){return pq(qT(t))}const IC=D9("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"}}),z=g.forwardRef(({className:t,variant:a,size:r,asChild:n=!1,...s},i)=>{const c=n?NT:"button";return e.jsx(c,{className:me(IC({variant:a,size:r,className:t})),ref:i,...s})});z.displayName="Button";const Re=g.forwardRef(({className:t,type:a,...r},n)=>e.jsx("input",{type:a,className:me("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}));Re.displayName="Input";/**
30
+ <%s key={someKey} {...props} />`,uj,Kt,MT,Kt),nr[Kt+uj]=!0}}return I===n?wt(Ie):ht(Ie),Ie}}function bt(I,H,_){return Xe(I,H,_,!0)}function pc(I,H,_){return Xe(I,H,_,!1)}var xl=pc,hj=bt;mc.Fragment=n,mc.jsx=xl,mc.jsxs=hj}()),mc}process.env.NODE_ENV==="production"?Bj.exports=ST():Bj.exports=LT();var e=Bj.exports;function XS(t,a){if(typeof t=="function")return t(a);t!=null&&(t.current=a)}function NT(...t){return a=>{let r=!1;const n=t.map(s=>{const i=XS(s,a);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let s=0;s<n.length;s++){const i=n[s];typeof i=="function"?i():XS(t[s],null)}}}}function at(t){const a=AT(t),r=g.forwardRef((n,s)=>{const{children:i,...c}=n,l=g.Children.toArray(i),d=l.find(_T);if(d){const h=d.props.children,u=l.map(p=>p===d?g.Children.count(h)>1?g.Children.only(null):g.isValidElement(h)?h.props.children:null:p);return e.jsx(a,{...c,ref:s,children:g.isValidElement(h)?g.cloneElement(h,void 0,u):null})}return e.jsx(a,{...c,ref:s,children:i})});return r.displayName=`${t}.Slot`,r}var IT=at("Slot");function AT(t){const a=g.forwardRef((r,n)=>{const{children:s,...i}=r;if(g.isValidElement(s)){const c=TT(s),l=RT(i,s.props);return s.type!==g.Fragment&&(l.ref=n?NT(n,c):c),g.cloneElement(s,l)}return g.Children.count(s)>1?g.Children.only(null):null});return a.displayName=`${t}.SlotClone`,a}var CN=Symbol("radix.slottable");function PT(t){const a=({children:r})=>e.jsx(e.Fragment,{children:r});return a.displayName=`${t}.Slottable`,a.__radixId=CN,a}function _T(t){return g.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===CN}function RT(t,a){const r={...a};for(const n in a){const s=t[n],i=a[n];/^on[A-Z]/.test(n)?s&&i?r[n]=(...l)=>{const d=i(...l);return s(...l),d}:s&&(r[n]=s):n==="style"?r[n]={...s,...i}:n==="className"&&(r[n]=[s,i].filter(Boolean).join(" "))}return{...t,...r}}function TT(t){var n,s;let a=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=a&&"isReactWarning"in a&&a.isReactWarning;return r?t.ref:(a=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,r=a&&"isReactWarning"in a&&a.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}function SN(t){var a,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t))for(a=0;a<t.length;a++)t[a]&&(r=SN(t[a]))&&(n&&(n+=" "),n+=r);else for(a in t)t[a]&&(n&&(n+=" "),n+=a);return n}function qT(){for(var t,a,r=0,n="";r<arguments.length;)(t=arguments[r++])&&(a=SN(t))&&(n&&(n+=" "),n+=a);return n}const YS=t=>typeof t=="boolean"?"".concat(t):t===0?"0":t,KS=qT,D9=(t,a)=>r=>{var n;if((a==null?void 0:a.variants)==null)return KS(t,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:s,defaultVariants:i}=a,c=Object.keys(s).map(h=>{const u=r==null?void 0:r[h],p=i==null?void 0:i[h];if(u===null)return null;const m=YS(u)||YS(p);return s[h][m]}),l=r&&Object.entries(r).reduce((h,u)=>{let[p,m]=u;return m===void 0||(h[p]=m),h},{}),d=a==null||(n=a.compoundVariants)===null||n===void 0?void 0:n.reduce((h,u)=>{let{class:p,className:m,...y}=u;return Object.entries(y).every(x=>{let[f,v]=x;return Array.isArray(v)?v.includes({...i,...l}[f]):{...i,...l}[f]===v})?[...h,p,m]:h},[]);return KS(t,c,d,r==null?void 0:r.class,r==null?void 0:r.className)};function LN(t){var a,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t)){var s=t.length;for(a=0;a<s;a++)t[a]&&(r=LN(t[a]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function DT(){for(var t,a,r=0,n="",s=arguments.length;r<s;r++)(t=arguments[r])&&(a=LN(t))&&(n&&(n+=" "),n+=a);return n}const NC="-",zT=t=>{const a=FT(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=t;return{getClassGroupId:c=>{const l=c.split(NC);return l[0]===""&&l.length!==1&&l.shift(),NN(l,a)||ET(c)},getConflictingClassGroupIds:(c,l)=>{const d=r[c]||[];return l&&n[c]?[...d,...n[c]]:d}}},NN=(t,a)=>{var c;if(t.length===0)return a.classGroupId;const r=t[0],n=a.nextPart.get(r),s=n?NN(t.slice(1),n):void 0;if(s)return s;if(a.validators.length===0)return;const i=t.join(NC);return(c=a.validators.find(({validator:l})=>l(i)))==null?void 0:c.classGroupId},QS=/^\[(.+)\]$/,ET=t=>{if(QS.test(t)){const a=QS.exec(t)[1],r=a==null?void 0:a.substring(0,a.indexOf(":"));if(r)return"arbitrary.."+r}},FT=t=>{const{theme:a,prefix:r}=t,n={nextPart:new Map,validators:[]};return HT(Object.entries(t.classGroups),r).forEach(([i,c])=>{$j(c,n,i,a)}),n},$j=(t,a,r,n)=>{t.forEach(s=>{if(typeof s=="string"){const i=s===""?a:eL(a,s);i.classGroupId=r;return}if(typeof s=="function"){if(OT(s)){$j(s(n),a,r,n);return}a.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([i,c])=>{$j(c,eL(a,i),r,n)})})},eL=(t,a)=>{let r=t;return a.split(NC).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},OT=t=>t.isThemeGetter,HT=(t,a)=>a?t.map(([r,n])=>{const s=n.map(i=>typeof i=="string"?a+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([c,l])=>[a+c,l])):i);return[r,s]}):t,VT=t=>{if(t<1)return{get:()=>{},set:()=>{}};let a=0,r=new Map,n=new Map;const s=(i,c)=>{r.set(i,c),a++,a>t&&(a=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 s(i,c),c},set(i,c){r.has(i)?r.set(i,c):s(i,c)}}},IN="!",BT=t=>{const{separator:a,experimentalParseClassName:r}=t,n=a.length===1,s=a[0],i=a.length,c=l=>{const d=[];let h=0,u=0,p;for(let v=0;v<l.length;v++){let k=l[v];if(h===0){if(k===s&&(n||l.slice(v,v+i)===a)){d.push(l.slice(u,v)),u=v+i;continue}if(k==="/"){p=v;continue}}k==="["?h++:k==="]"&&h--}const m=d.length===0?l:l.substring(u),y=m.startsWith(IN),x=y?m.substring(1):m,f=p&&p>u?p-u:void 0;return{modifiers:d,hasImportantModifier:y,baseClassName:x,maybePostfixModifierPosition:f}};return r?l=>r({className:l,parseClassName:c}):c},$T=t=>{if(t.length<=1)return t;const a=[];let r=[];return t.forEach(n=>{n[0]==="["?(a.push(...r.sort(),n),r=[]):r.push(n)}),a.push(...r.sort()),a},UT=t=>({cache:VT(t.cacheSize),parseClassName:BT(t),...zT(t)}),GT=/\s+/,WT=(t,a)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:s}=a,i=[],c=t.trim().split(GT);let l="";for(let d=c.length-1;d>=0;d-=1){const h=c[d],{modifiers:u,hasImportantModifier:p,baseClassName:m,maybePostfixModifierPosition:y}=r(h);let x=!!y,f=n(x?m.substring(0,y):m);if(!f){if(!x){l=h+(l.length>0?" "+l:l);continue}if(f=n(m),!f){l=h+(l.length>0?" "+l:l);continue}x=!1}const v=$T(u).join(":"),k=p?v+IN:v,w=k+f;if(i.includes(w))continue;i.push(w);const j=s(f,x);for(let S=0;S<j.length;++S){const C=j[S];i.push(k+C)}l=h+(l.length>0?" "+l:l)}return l};function ZT(){let t=0,a,r,n="";for(;t<arguments.length;)(a=arguments[t++])&&(r=AN(a))&&(n&&(n+=" "),n+=r);return n}const AN=t=>{if(typeof t=="string")return t;let a,r="";for(let n=0;n<t.length;n++)t[n]&&(a=AN(t[n]))&&(r&&(r+=" "),r+=a);return r};function JT(t,...a){let r,n,s,i=c;function c(d){const h=a.reduce((u,p)=>p(u),t());return r=UT(h),n=r.cache.get,s=r.cache.set,i=l,l(d)}function l(d){const h=n(d);if(h)return h;const u=WT(d,r);return s(d,u),u}return function(){return i(ZT.apply(null,arguments))}}const Ve=t=>{const a=r=>r[t]||[];return a.isThemeGetter=!0,a},PN=/^\[(?:([a-z-]+):)?(.+)\]$/i,XT=/^\d+\/\d+$/,YT=new Set(["px","full","screen"]),KT=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,QT=/\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$/,eq=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,tq=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,aq=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ba=t=>Do(t)||YT.has(t)||XT.test(t),sr=t=>lc(t,"length",dq),Do=t=>!!t&&!Number.isNaN(Number(t)),pj=t=>lc(t,"number",Do),fc=t=>!!t&&Number.isInteger(Number(t)),rq=t=>t.endsWith("%")&&Do(t.slice(0,-1)),be=t=>PN.test(t),ir=t=>KT.test(t),nq=new Set(["length","size","percentage"]),sq=t=>lc(t,nq,_N),iq=t=>lc(t,"position",_N),oq=new Set(["image","url"]),cq=t=>lc(t,oq,uq),lq=t=>lc(t,"",hq),xc=()=>!0,lc=(t,a,r)=>{const n=PN.exec(t);return n?n[1]?typeof a=="string"?n[1]===a:a.has(n[1]):r(n[2]):!1},dq=t=>QT.test(t)&&!eq.test(t),_N=()=>!1,hq=t=>tq.test(t),uq=t=>aq.test(t),pq=()=>{const t=Ve("colors"),a=Ve("spacing"),r=Ve("blur"),n=Ve("brightness"),s=Ve("borderColor"),i=Ve("borderRadius"),c=Ve("borderSpacing"),l=Ve("borderWidth"),d=Ve("contrast"),h=Ve("grayscale"),u=Ve("hueRotate"),p=Ve("invert"),m=Ve("gap"),y=Ve("gradientColorStops"),x=Ve("gradientColorStopPositions"),f=Ve("inset"),v=Ve("margin"),k=Ve("opacity"),w=Ve("padding"),j=Ve("saturate"),S=Ve("scale"),C=Ve("sepia"),A=Ve("skew"),L=Ve("space"),b=Ve("translate"),N=()=>["auto","contain","none"],q=()=>["auto","hidden","clip","visible","scroll"],P=()=>["auto",be,a],R=()=>[be,a],T=()=>["",Ba,sr],$=()=>["auto",Do,be],W=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],B=()=>["solid","dashed","dotted","double","none"],U=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],O=()=>["start","end","center","between","around","evenly","stretch"],oe=()=>["","0",be],ae=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Y=()=>[Do,be];return{cacheSize:500,separator:":",theme:{colors:[xc],spacing:[Ba,sr],blur:["none","",ir,be],brightness:Y(),borderColor:[t],borderRadius:["none","","full",ir,be],borderSpacing:R(),borderWidth:T(),contrast:Y(),grayscale:oe(),hueRotate:Y(),invert:oe(),gap:R(),gradientColorStops:[t],gradientColorStopPositions:[rq,sr],inset:P(),margin:P(),opacity:Y(),padding:R(),saturate:Y(),scale:Y(),sepia:oe(),skew:Y(),space:R(),translate:R()},classGroups:{aspect:[{aspect:["auto","square","video",be]}],container:["container"],columns:[{columns:[ir]}],"break-after":[{"break-after":ae()}],"break-before":[{"break-before":ae()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...W(),be]}],overflow:[{overflow:q()}],"overflow-x":[{"overflow-x":q()}],"overflow-y":[{"overflow-y":q()}],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",fc,be]}],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",be]}],grow:[{grow:oe()}],shrink:[{shrink:oe()}],order:[{order:["first","last","none",fc,be]}],"grid-cols":[{"grid-cols":[xc]}],"col-start-end":[{col:["auto",{span:["full",fc,be]},be]}],"col-start":[{"col-start":$()}],"col-end":[{"col-end":$()}],"grid-rows":[{"grid-rows":[xc]}],"row-start-end":[{row:["auto",{span:[fc,be]},be]}],"row-start":[{"row-start":$()}],"row-end":[{"row-end":$()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",be]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",be]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...O()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...O(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...O(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-x":[{"space-x":[L]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[L]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",be,a]}],"min-w":[{"min-w":[be,a,"min","max","fit"]}],"max-w":[{"max-w":[be,a,"none","full","min","max","fit","prose",{screen:[ir]},ir]}],h:[{h:[be,a,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[be,a,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[be,a,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[be,a,"auto","min","max","fit"]}],"font-size":[{text:["base",ir,sr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",pj]}],"font-family":[{font:[xc]}],"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",be]}],"line-clamp":[{"line-clamp":["none",Do,pj]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Ba,be]}],"list-image":[{"list-image":["none",be]}],"list-style-type":[{list:["none","disc","decimal",be]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Ba,sr]}],"underline-offset":[{"underline-offset":["auto",Ba,be]}],"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:R()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",be]}],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",be]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...W(),iq]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",sq]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},cq]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[y]}],"gradient-via":[{via:[y]}],"gradient-to":[{to:[y]}],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":[k]}],"border-style":[{border:[...B(),"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":[k]}],"divide-style":[{divide:B()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...B()]}],"outline-offset":[{"outline-offset":[Ba,be]}],"outline-w":[{outline:[Ba,sr]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:T()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[Ba,sr]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",ir,lq]}],"shadow-color":[{shadow:[xc]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...U(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":U()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",ir,be]}],grayscale:[{grayscale:[h]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[p]}],saturate:[{saturate:[j]}],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":[k]}],"backdrop-saturate":[{"backdrop-saturate":[j]}],"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",be]}],duration:[{duration:Y()}],ease:[{ease:["linear","in","out","in-out",be]}],delay:[{delay:Y()}],animate:[{animate:["none","spin","ping","pulse","bounce",be]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[fc,be]}],"translate-x":[{"translate-x":[b]}],"translate-y":[{"translate-y":[b]}],"skew-x":[{"skew-x":[A]}],"skew-y":[{"skew-y":[A]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",be]}],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",be]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":R()}],"scroll-mx":[{"scroll-mx":R()}],"scroll-my":[{"scroll-my":R()}],"scroll-ms":[{"scroll-ms":R()}],"scroll-me":[{"scroll-me":R()}],"scroll-mt":[{"scroll-mt":R()}],"scroll-mr":[{"scroll-mr":R()}],"scroll-mb":[{"scroll-mb":R()}],"scroll-ml":[{"scroll-ml":R()}],"scroll-p":[{"scroll-p":R()}],"scroll-px":[{"scroll-px":R()}],"scroll-py":[{"scroll-py":R()}],"scroll-ps":[{"scroll-ps":R()}],"scroll-pe":[{"scroll-pe":R()}],"scroll-pt":[{"scroll-pt":R()}],"scroll-pr":[{"scroll-pr":R()}],"scroll-pb":[{"scroll-pb":R()}],"scroll-pl":[{"scroll-pl":R()}],"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",be]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[Ba,sr,pj]}],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"]}}},yq=JT(pq);function me(...t){return yq(DT(t))}const IC=D9("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"}}),D=g.forwardRef(({className:t,variant:a,size:r,asChild:n=!1,...s},i)=>{const c=n?IT:"button";return e.jsx(c,{className:me(IC({variant:a,size:r,className:t})),ref:i,...s})});D.displayName="Button";const Re=g.forwardRef(({className:t,type:a,...r},n)=>e.jsx("input",{type:a,className:me("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}));Re.displayName="Input";/**
31
31
  * @license lucide-react v0.451.0 - ISC
32
32
  *
33
33
  * This source code is licensed under the ISC license.
34
34
  * See the LICENSE file in the root directory of this source tree.
35
- */const yq=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),RN=(...t)=>t.filter((a,r,n)=>!!a&&n.indexOf(a)===r).join(" ");/**
35
+ */const mq=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),RN=(...t)=>t.filter((a,r,n)=>!!a&&n.indexOf(a)===r).join(" ");/**
36
36
  * @license lucide-react v0.451.0 - ISC
37
37
  *
38
38
  * This source code is licensed under the ISC license.
39
39
  * See the LICENSE file in the root directory of this source tree.
40
- */var mq={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"};/**
40
+ */var fq={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"};/**
41
41
  * @license lucide-react v0.451.0 - ISC
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 TN=M.forwardRef(({color:t="currentColor",size:a=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:s="",children:i,iconNode:c,...l},d)=>M.createElement("svg",{ref:d,...mq,width:a,height:a,stroke:t,strokeWidth:n?Number(r)*24/Number(a):r,className:RN("lucide",s),...l},[...c.map(([h,u])=>M.createElement(h,u)),...Array.isArray(i)?i:[i]]));/**
45
+ */const TN=M.forwardRef(({color:t="currentColor",size:a=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:s="",children:i,iconNode:c,...l},d)=>M.createElement("svg",{ref:d,...fq,width:a,height:a,stroke:t,strokeWidth:n?Number(r)*24/Number(a):r,className:RN("lucide",s),...l},[...c.map(([h,u])=>M.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 o=(t,a)=>{const r=M.forwardRef(({className:n,...s},i)=>M.createElement(TN,{ref:i,iconNode:a,className:RN(`lucide-${yq(t)}`,n),...s}));return r.displayName=`${t}`,r};/**
50
+ */const o=(t,a)=>{const r=M.forwardRef(({className:n,...s},i)=>M.createElement(TN,{ref:i,iconNode:a,className:RN(`lucide-${mq(t)}`,n),...s}));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.
@@ -457,7 +457,7 @@ React keys must be passed directly to JSX without using spread:
457
457
  *
458
458
  * This source code is licensed under the ISC license.
459
459
  * See the LICENSE file in the root directory of this source tree.
460
- */const Ga=o("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
460
+ */const Ja=o("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
461
461
  * @license lucide-react v0.451.0 - ISC
462
462
  *
463
463
  * This source code is licensed under the ISC license.
@@ -577,7 +577,7 @@ React keys must be passed directly to JSX without using spread:
577
577
  *
578
578
  * This source code is licensed under the ISC license.
579
579
  * See the LICENSE file in the root directory of this source tree.
580
- */const Yt=o("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]);/**
580
+ */const ea=o("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]);/**
581
581
  * @license lucide-react v0.451.0 - ISC
582
582
  *
583
583
  * This source code is licensed under the ISC license.
@@ -1022,7 +1022,7 @@ React keys must be passed directly to JSX without using spread:
1022
1022
  *
1023
1023
  * This source code is licensed under the ISC license.
1024
1024
  * See the LICENSE file in the root directory of this source tree.
1025
- */const ea=o("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/**
1025
+ */const ra=o("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/**
1026
1026
  * @license lucide-react v0.451.0 - ISC
1027
1027
  *
1028
1028
  * This source code is licensed under the ISC license.
@@ -1067,7 +1067,7 @@ React keys must be passed directly to JSX without using spread:
1067
1067
  *
1068
1068
  * This source code is licensed under the ISC license.
1069
1069
  * See the LICENSE file in the root directory of this source tree.
1070
- */const pa=o("BookmarkCheck",[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2Z",key:"169p4p"}],["path",{d:"m9 10 2 2 4-4",key:"1gnqz4"}]]);/**
1070
+ */const xa=o("BookmarkCheck",[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2Z",key:"169p4p"}],["path",{d:"m9 10 2 2 4-4",key:"1gnqz4"}]]);/**
1071
1071
  * @license lucide-react v0.451.0 - ISC
1072
1072
  *
1073
1073
  * This source code is licensed under the ISC license.
@@ -1087,7 +1087,7 @@ React keys must be passed directly to JSX without using spread:
1087
1087
  *
1088
1088
  * This source code is licensed under the ISC license.
1089
1089
  * See the LICENSE file in the root directory of this source tree.
1090
- */const ya=o("Bookmark",[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}]]);/**
1090
+ */const ga=o("Bookmark",[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}]]);/**
1091
1091
  * @license lucide-react v0.451.0 - ISC
1092
1092
  *
1093
1093
  * This source code is licensed under the ISC license.
@@ -1167,7 +1167,7 @@ React keys must be passed directly to JSX without using spread:
1167
1167
  *
1168
1168
  * This source code is licensed under the ISC license.
1169
1169
  * See the LICENSE file in the root directory of this source tree.
1170
- */const at=o("Briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);/**
1170
+ */const nt=o("Briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);/**
1171
1171
  * @license lucide-react v0.451.0 - ISC
1172
1172
  *
1173
1173
  * This source code is licensed under the ISC license.
@@ -1197,7 +1197,7 @@ React keys must be passed directly to JSX without using spread:
1197
1197
  *
1198
1198
  * This source code is licensed under the ISC license.
1199
1199
  * See the LICENSE file in the root directory of this source tree.
1200
- */const xt=o("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/**
1200
+ */const gt=o("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/**
1201
1201
  * @license lucide-react v0.451.0 - ISC
1202
1202
  *
1203
1203
  * This source code is licensed under the ISC license.
@@ -1522,7 +1522,7 @@ React keys must be passed directly to JSX without using spread:
1522
1522
  *
1523
1523
  * This source code is licensed under the ISC license.
1524
1524
  * See the LICENSE file in the root directory of this source tree.
1525
- */const cr=o("ChartNoAxesColumnIncreasing",[["line",{x1:"12",x2:"12",y1:"20",y2:"10",key:"1vz5eb"}],["line",{x1:"18",x2:"18",y1:"20",y2:"4",key:"cun8e5"}],["line",{x1:"6",x2:"6",y1:"20",y2:"16",key:"hq0ia6"}]]);/**
1525
+ */const lr=o("ChartNoAxesColumnIncreasing",[["line",{x1:"12",x2:"12",y1:"20",y2:"10",key:"1vz5eb"}],["line",{x1:"18",x2:"18",y1:"20",y2:"4",key:"cun8e5"}],["line",{x1:"6",x2:"6",y1:"20",y2:"16",key:"hq0ia6"}]]);/**
1526
1526
  * @license lucide-react v0.451.0 - ISC
1527
1527
  *
1528
1528
  * This source code is licensed under the ISC license.
@@ -1577,7 +1577,7 @@ React keys must be passed directly to JSX without using spread:
1577
1577
  *
1578
1578
  * This source code is licensed under the ISC license.
1579
1579
  * See the LICENSE file in the root directory of this source tree.
1580
- */const yr=o("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
1580
+ */const mr=o("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
1581
1581
  * @license lucide-react v0.451.0 - ISC
1582
1582
  *
1583
1583
  * This source code is licensed under the ISC license.
@@ -1592,12 +1592,12 @@ React keys must be passed directly to JSX without using spread:
1592
1592
  *
1593
1593
  * This source code is licensed under the ISC license.
1594
1594
  * See the LICENSE file in the root directory of this source tree.
1595
- */const mr=o("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
1595
+ */const fr=o("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
1596
1596
  * @license lucide-react v0.451.0 - ISC
1597
1597
  *
1598
1598
  * This source code is licensed under the ISC license.
1599
1599
  * See the LICENSE file in the root directory of this source tree.
1600
- */const fr=o("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
1600
+ */const xr=o("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
1601
1601
  * @license lucide-react v0.451.0 - ISC
1602
1602
  *
1603
1603
  * This source code is licensed under the ISC license.
@@ -1672,7 +1672,7 @@ React keys must be passed directly to JSX without using spread:
1672
1672
  *
1673
1673
  * This source code is licensed under the ISC license.
1674
1674
  * See the LICENSE file in the root directory of this source tree.
1675
- */const Dt=o("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
1675
+ */const Et=o("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
1676
1676
  * @license lucide-react v0.451.0 - ISC
1677
1677
  *
1678
1678
  * This source code is licensed under the ISC license.
@@ -1717,12 +1717,12 @@ React keys must be passed directly to JSX without using spread:
1717
1717
  *
1718
1718
  * This source code is licensed under the ISC license.
1719
1719
  * See the LICENSE file in the root directory of this source tree.
1720
- */const zt=o("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
1720
+ */const Ft=o("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
1721
1721
  * @license lucide-react v0.451.0 - ISC
1722
1722
  *
1723
1723
  * This source code is licensed under the ISC license.
1724
1724
  * See the LICENSE file in the root directory of this source tree.
1725
- */const rt=o("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
1725
+ */const it=o("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
1726
1726
  * @license lucide-react v0.451.0 - ISC
1727
1727
  *
1728
1728
  * This source code is licensed under the ISC license.
@@ -1797,7 +1797,7 @@ React keys must be passed directly to JSX without using spread:
1797
1797
  *
1798
1798
  * This source code is licensed under the ISC license.
1799
1799
  * See the LICENSE file in the root directory of this source tree.
1800
- */const lr=o("CircleHelp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
1800
+ */const dr=o("CircleHelp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
1801
1801
  * @license lucide-react v0.451.0 - ISC
1802
1802
  *
1803
1803
  * This source code is licensed under the ISC license.
@@ -1872,7 +1872,7 @@ React keys must be passed directly to JSX without using spread:
1872
1872
  *
1873
1873
  * This source code is licensed under the ISC license.
1874
1874
  * See the LICENSE file in the root directory of this source tree.
1875
- */const ba=o("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/**
1875
+ */const Sa=o("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/**
1876
1876
  * @license lucide-react v0.451.0 - ISC
1877
1877
  *
1878
1878
  * This source code is licensed under the ISC license.
@@ -2027,7 +2027,7 @@ React keys must be passed directly to JSX without using spread:
2027
2027
  *
2028
2028
  * This source code is licensed under the ISC license.
2029
2029
  * See the LICENSE file in the root directory of this source tree.
2030
- */const ma=o("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
2030
+ */const ka=o("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
2031
2031
  * @license lucide-react v0.451.0 - ISC
2032
2032
  *
2033
2033
  * This source code is licensed under the ISC license.
@@ -2102,7 +2102,7 @@ React keys must be passed directly to JSX without using spread:
2102
2102
  *
2103
2103
  * This source code is licensed under the ISC license.
2104
2104
  * See the LICENSE file in the root directory of this source tree.
2105
- */const dr=o("CloudUpload",[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]]);/**
2105
+ */const hr=o("CloudUpload",[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]]);/**
2106
2106
  * @license lucide-react v0.451.0 - ISC
2107
2107
  *
2108
2108
  * This source code is licensed under the ISC license.
@@ -3052,7 +3052,7 @@ React keys must be passed directly to JSX without using spread:
3052
3052
  *
3053
3053
  * This source code is licensed under the ISC license.
3054
3054
  * See the LICENSE file in the root directory of this source tree.
3055
- */const xr=o("Filter",[["polygon",{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3",key:"1yg77f"}]]);/**
3055
+ */const gr=o("Filter",[["polygon",{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3",key:"1yg77f"}]]);/**
3056
3056
  * @license lucide-react v0.451.0 - ISC
3057
3057
  *
3058
3058
  * This source code is licensed under the ISC license.
@@ -3537,7 +3537,7 @@ React keys must be passed directly to JSX without using spread:
3537
3537
  *
3538
3538
  * This source code is licensed under the ISC license.
3539
3539
  * See the LICENSE file in the root directory of this source tree.
3540
- */const ta=o("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/**
3540
+ */const na=o("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/**
3541
3541
  * @license lucide-react v0.451.0 - ISC
3542
3542
  *
3543
3543
  * This source code is licensed under the ISC license.
@@ -3552,7 +3552,7 @@ React keys must be passed directly to JSX without using spread:
3552
3552
  *
3553
3553
  * This source code is licensed under the ISC license.
3554
3554
  * See the LICENSE file in the root directory of this source tree.
3555
- */const gr=o("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);/**
3555
+ */const kr=o("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);/**
3556
3556
  * @license lucide-react v0.451.0 - ISC
3557
3557
  *
3558
3558
  * This source code is licensed under the ISC license.
@@ -3582,7 +3582,7 @@ React keys must be passed directly to JSX without using spread:
3582
3582
  *
3583
3583
  * This source code is licensed under the ISC license.
3584
3584
  * See the LICENSE file in the root directory of this source tree.
3585
- */const la=o("Grid3x3",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]]);/**
3585
+ */const pa=o("Grid3x3",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]]);/**
3586
3586
  * @license lucide-react v0.451.0 - ISC
3587
3587
  *
3588
3588
  * This source code is licensed under the ISC license.
@@ -3762,7 +3762,7 @@ React keys must be passed directly to JSX without using spread:
3762
3762
  *
3763
3763
  * This source code is licensed under the ISC license.
3764
3764
  * See the LICENSE file in the root directory of this source tree.
3765
- */const kr=o("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/**
3765
+ */const vr=o("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/**
3766
3766
  * @license lucide-react v0.451.0 - ISC
3767
3767
  *
3768
3768
  * This source code is licensed under the ISC license.
@@ -3822,7 +3822,7 @@ React keys must be passed directly to JSX without using spread:
3822
3822
  *
3823
3823
  * This source code is licensed under the ISC license.
3824
3824
  * See the LICENSE file in the root directory of this source tree.
3825
- */const Va=o("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/**
3825
+ */const Ua=o("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/**
3826
3826
  * @license lucide-react v0.451.0 - ISC
3827
3827
  *
3828
3828
  * This source code is licensed under the ISC license.
@@ -4252,7 +4252,7 @@ React keys must be passed directly to JSX without using spread:
4252
4252
  *
4253
4253
  * This source code is licensed under the ISC license.
4254
4254
  * See the LICENSE file in the root directory of this source tree.
4255
- */const ha=o("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
4255
+ */const ma=o("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
4256
4256
  * @license lucide-react v0.451.0 - ISC
4257
4257
  *
4258
4258
  * This source code is licensed under the ISC license.
@@ -4372,7 +4372,7 @@ React keys must be passed directly to JSX without using spread:
4372
4372
  *
4373
4373
  * This source code is licensed under the ISC license.
4374
4374
  * See the LICENSE file in the root directory of this source tree.
4375
- */const aa=o("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
4375
+ */const sa=o("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
4376
4376
  * @license lucide-react v0.451.0 - ISC
4377
4377
  *
4378
4378
  * This source code is licensed under the ISC license.
@@ -4437,7 +4437,7 @@ React keys must be passed directly to JSX without using spread:
4437
4437
  *
4438
4438
  * This source code is licensed under the ISC license.
4439
4439
  * See the LICENSE file in the root directory of this source tree.
4440
- */const st=o("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/**
4440
+ */const ct=o("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/**
4441
4441
  * @license lucide-react v0.451.0 - ISC
4442
4442
  *
4443
4443
  * This source code is licensed under the ISC license.
@@ -4632,7 +4632,7 @@ React keys must be passed directly to JSX without using spread:
4632
4632
  *
4633
4633
  * This source code is licensed under the ISC license.
4634
4634
  * See the LICENSE file in the root directory of this source tree.
4635
- */const vr=o("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);/**
4635
+ */const wr=o("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);/**
4636
4636
  * @license lucide-react v0.451.0 - ISC
4637
4637
  *
4638
4638
  * This source code is licensed under the ISC license.
@@ -4932,7 +4932,7 @@ React keys must be passed directly to JSX without using spread:
4932
4932
  *
4933
4933
  * This source code is licensed under the ISC license.
4934
4934
  * See the LICENSE file in the root directory of this source tree.
4935
- */const Na=o("Newspaper",[["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2",key:"7pis2x"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M10 6h8v4h-8V6Z",key:"smlsk5"}]]);/**
4935
+ */const _a=o("Newspaper",[["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2",key:"7pis2x"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M10 6h8v4h-8V6Z",key:"smlsk5"}]]);/**
4936
4936
  * @license lucide-react v0.451.0 - ISC
4937
4937
  *
4938
4938
  * This source code is licensed under the ISC license.
@@ -5312,7 +5312,7 @@ React keys must be passed directly to JSX without using spread:
5312
5312
  *
5313
5313
  * This source code is licensed under the ISC license.
5314
5314
  * See the LICENSE file in the root directory of this source tree.
5315
- */const wr=o("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/**
5315
+ */const br=o("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/**
5316
5316
  * @license lucide-react v0.451.0 - ISC
5317
5317
  *
5318
5318
  * This source code is licensed under the ISC license.
@@ -5982,7 +5982,7 @@ React keys must be passed directly to JSX without using spread:
5982
5982
  *
5983
5983
  * This source code is licensed under the ISC license.
5984
5984
  * See the LICENSE file in the root directory of this source tree.
5985
- */const Vt=o("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
5985
+ */const $t=o("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
5986
5986
  * @license lucide-react v0.451.0 - ISC
5987
5987
  *
5988
5988
  * This source code is licensed under the ISC license.
@@ -6122,7 +6122,7 @@ React keys must be passed directly to JSX without using spread:
6122
6122
  *
6123
6123
  * This source code is licensed under the ISC license.
6124
6124
  * See the LICENSE file in the root directory of this source tree.
6125
- */const br=o("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/**
6125
+ */const Mr=o("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/**
6126
6126
  * @license lucide-react v0.451.0 - ISC
6127
6127
  *
6128
6128
  * This source code is licensed under the ISC license.
@@ -6262,7 +6262,7 @@ React keys must be passed directly to JSX without using spread:
6262
6262
  *
6263
6263
  * This source code is licensed under the ISC license.
6264
6264
  * See the LICENSE file in the root directory of this source tree.
6265
- */const Mr=o("SlidersHorizontal",[["line",{x1:"21",x2:"14",y1:"4",y2:"4",key:"obuewd"}],["line",{x1:"10",x2:"3",y1:"4",y2:"4",key:"1q6298"}],["line",{x1:"21",x2:"12",y1:"12",y2:"12",key:"1iu8h1"}],["line",{x1:"8",x2:"3",y1:"12",y2:"12",key:"ntss68"}],["line",{x1:"21",x2:"16",y1:"20",y2:"20",key:"14d8ph"}],["line",{x1:"12",x2:"3",y1:"20",y2:"20",key:"m0wm8r"}],["line",{x1:"14",x2:"14",y1:"2",y2:"6",key:"14e1ph"}],["line",{x1:"8",x2:"8",y1:"10",y2:"14",key:"1i6ji0"}],["line",{x1:"16",x2:"16",y1:"18",y2:"22",key:"1lctlv"}]]);/**
6265
+ */const jr=o("SlidersHorizontal",[["line",{x1:"21",x2:"14",y1:"4",y2:"4",key:"obuewd"}],["line",{x1:"10",x2:"3",y1:"4",y2:"4",key:"1q6298"}],["line",{x1:"21",x2:"12",y1:"12",y2:"12",key:"1iu8h1"}],["line",{x1:"8",x2:"3",y1:"12",y2:"12",key:"ntss68"}],["line",{x1:"21",x2:"16",y1:"20",y2:"20",key:"14d8ph"}],["line",{x1:"12",x2:"3",y1:"20",y2:"20",key:"m0wm8r"}],["line",{x1:"14",x2:"14",y1:"2",y2:"6",key:"14e1ph"}],["line",{x1:"8",x2:"8",y1:"10",y2:"14",key:"1i6ji0"}],["line",{x1:"16",x2:"16",y1:"18",y2:"22",key:"1lctlv"}]]);/**
6266
6266
  * @license lucide-react v0.451.0 - ISC
6267
6267
  *
6268
6268
  * This source code is licensed under the ISC license.
@@ -6332,7 +6332,7 @@ React keys must be passed directly to JSX without using spread:
6332
6332
  *
6333
6333
  * This source code is licensed under the ISC license.
6334
6334
  * See the LICENSE file in the root directory of this source tree.
6335
- */const Ma=o("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
6335
+ */const La=o("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
6336
6336
  * @license lucide-react v0.451.0 - ISC
6337
6337
  *
6338
6338
  * This source code is licensed under the ISC license.
@@ -6397,7 +6397,7 @@ React keys must be passed directly to JSX without using spread:
6397
6397
  *
6398
6398
  * This source code is licensed under the ISC license.
6399
6399
  * See the LICENSE file in the root directory of this source tree.
6400
- */const Ba=o("SquareArrowLeft",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m12 8-4 4 4 4",key:"15vm53"}],["path",{d:"M16 12H8",key:"1fr5h0"}]]);/**
6400
+ */const Ga=o("SquareArrowLeft",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m12 8-4 4 4 4",key:"15vm53"}],["path",{d:"M16 12H8",key:"1fr5h0"}]]);/**
6401
6401
  * @license lucide-react v0.451.0 - ISC
6402
6402
  *
6403
6403
  * This source code is licensed under the ISC license.
@@ -6422,7 +6422,7 @@ React keys must be passed directly to JSX without using spread:
6422
6422
  *
6423
6423
  * This source code is licensed under the ISC license.
6424
6424
  * See the LICENSE file in the root directory of this source tree.
6425
- */const $a=o("SquareArrowRight",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"m12 16 4-4-4-4",key:"1i9zcv"}]]);/**
6425
+ */const Wa=o("SquareArrowRight",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"m12 16 4-4-4-4",key:"1i9zcv"}]]);/**
6426
6426
  * @license lucide-react v0.451.0 - ISC
6427
6427
  *
6428
6428
  * This source code is licensed under the ISC license.
@@ -6452,7 +6452,7 @@ React keys must be passed directly to JSX without using spread:
6452
6452
  *
6453
6453
  * This source code is licensed under the ISC license.
6454
6454
  * See the LICENSE file in the root directory of this source tree.
6455
- */const va=o("SquareChartGantt",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 8h7",key:"kbo1nt"}],["path",{d:"M8 12h6",key:"ikassy"}],["path",{d:"M11 16h5",key:"oq65wt"}]]);/**
6455
+ */const ja=o("SquareChartGantt",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 8h7",key:"kbo1nt"}],["path",{d:"M8 12h6",key:"ikassy"}],["path",{d:"M11 16h5",key:"oq65wt"}]]);/**
6456
6456
  * @license lucide-react v0.451.0 - ISC
6457
6457
  *
6458
6458
  * This source code is licensed under the ISC license.
@@ -6577,7 +6577,7 @@ React keys must be passed directly to JSX without using spread:
6577
6577
  *
6578
6578
  * This source code is licensed under the ISC license.
6579
6579
  * See the LICENSE file in the root directory of this source tree.
6580
- */const Rt=o("SquarePen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]);/**
6580
+ */const qt=o("SquarePen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]);/**
6581
6581
  * @license lucide-react v0.451.0 - ISC
6582
6582
  *
6583
6583
  * This source code is licensed under the ISC license.
@@ -6702,7 +6702,7 @@ React keys must be passed directly to JSX without using spread:
6702
6702
  *
6703
6703
  * This source code is licensed under the ISC license.
6704
6704
  * See the LICENSE file in the root directory of this source tree.
6705
- */const St=o("Star",[["polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2",key:"8f66p6"}]]);/**
6705
+ */const Lt=o("Star",[["polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2",key:"8f66p6"}]]);/**
6706
6706
  * @license lucide-react v0.451.0 - ISC
6707
6707
  *
6708
6708
  * This source code is licensed under the ISC license.
@@ -7197,7 +7197,7 @@ React keys must be passed directly to JSX without using spread:
7197
7197
  *
7198
7198
  * This source code is licensed under the ISC license.
7199
7199
  * See the LICENSE file in the root directory of this source tree.
7200
- */const Ia=o("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);/**
7200
+ */const Ra=o("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);/**
7201
7201
  * @license lucide-react v0.451.0 - ISC
7202
7202
  *
7203
7203
  * This source code is licensed under the ISC license.
@@ -7427,7 +7427,7 @@ React keys must be passed directly to JSX without using spread:
7427
7427
  *
7428
7428
  * This source code is licensed under the ISC license.
7429
7429
  * See the LICENSE file in the root directory of this source tree.
7430
- */const Lt=o("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
7430
+ */const Nt=o("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
7431
7431
  * @license lucide-react v0.451.0 - ISC
7432
7432
  *
7433
7433
  * This source code is licensed under the ISC license.
@@ -7687,7 +7687,7 @@ React keys must be passed directly to JSX without using spread:
7687
7687
  *
7688
7688
  * This source code is licensed under the ISC license.
7689
7689
  * See the LICENSE file in the root directory of this source tree.
7690
- */const jt=o("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
7690
+ */const Ct=o("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
7691
7691
  * @license lucide-react v0.451.0 - ISC
7692
7692
  *
7693
7693
  * This source code is licensed under the ISC license.
@@ -7717,12 +7717,12 @@ React keys must be passed directly to JSX without using spread:
7717
7717
  *
7718
7718
  * This source code is licensed under the ISC license.
7719
7719
  * See the LICENSE file in the root directory of this source tree.
7720
- */const fq=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:Rl,AArrowUp:Tl,ALargeSmall:ql,Accessibility:Dl,Activity:zl,AirVent:El,Airplay:Fl,AlarmClock:Hl,AlarmClockCheck:Vr,AlarmClockMinus:Br,AlarmClockOff:Ol,AlarmClockPlus:$r,AlarmSmoke:Vl,Album:Bl,AlignCenter:Gl,AlignCenterHorizontal:$l,AlignCenterVertical:Ul,AlignEndHorizontal:Wl,AlignEndVertical:Zl,AlignHorizontalDistributeCenter:Jl,AlignHorizontalDistributeEnd:Xl,AlignHorizontalDistributeStart:Yl,AlignHorizontalJustifyCenter:Kl,AlignHorizontalJustifyEnd:Ql,AlignHorizontalJustifyStart:e1,AlignHorizontalSpaceAround:t1,AlignHorizontalSpaceBetween:a1,AlignJustify:r1,AlignLeft:n1,AlignRight:s1,AlignStartHorizontal:i1,AlignStartVertical:o1,AlignVerticalDistributeCenter:c1,AlignVerticalDistributeEnd:l1,AlignVerticalDistributeStart:d1,AlignVerticalJustifyCenter:h1,AlignVerticalJustifyEnd:u1,AlignVerticalJustifyStart:p1,AlignVerticalSpaceAround:y1,AlignVerticalSpaceBetween:m1,Ambulance:f1,Ampersand:x1,Ampersands:g1,Amphora:k1,Anchor:v1,Angry:w1,Annoyed:b1,Antenna:M1,Anvil:j1,Aperture:C1,AppWindow:L1,AppWindowMac:S1,Apple:N1,Archive:P1,ArchiveRestore:I1,ArchiveX:A1,Armchair:_1,ArrowBigDown:T1,ArrowBigDownDash:R1,ArrowBigLeft:D1,ArrowBigLeftDash:q1,ArrowBigRight:E1,ArrowBigRightDash:z1,ArrowBigUp:O1,ArrowBigUpDash:F1,ArrowDown:X1,ArrowDown01:H1,ArrowDown10:V1,ArrowDownAZ:Ur,ArrowDownFromLine:B1,ArrowDownLeft:$1,ArrowDownNarrowWide:U1,ArrowDownRight:G1,ArrowDownToDot:W1,ArrowDownToLine:Z1,ArrowDownUp:J1,ArrowDownWideNarrow:Gr,ArrowDownZA:Wr,ArrowLeft:Ga,ArrowLeftFromLine:Y1,ArrowLeftRight:K1,ArrowLeftToLine:Q1,ArrowRight:co,ArrowRightFromLine:ed,ArrowRightLeft:td,ArrowRightToLine:ad,ArrowUp:ud,ArrowUp01:rd,ArrowUp10:nd,ArrowUpAZ:Zr,ArrowUpDown:sd,ArrowUpFromDot:id,ArrowUpFromLine:od,ArrowUpLeft:cd,ArrowUpNarrowWide:Jr,ArrowUpRight:ld,ArrowUpToLine:dd,ArrowUpWideNarrow:hd,ArrowUpZA:Xr,ArrowsUpFromLine:pd,Asterisk:yd,AtSign:md,Atom:fd,AudioLines:xd,AudioWaveform:gd,Award:Yt,Axe:kd,Axis3d:Yr,Baby:vd,Backpack:wd,Badge:bc,BadgeAlert:bd,BadgeCent:Md,BadgeCheck:Kr,BadgeDollarSign:jd,BadgeEuro:Cd,BadgeHelp:Sd,BadgeIndianRupee:Ld,BadgeInfo:Nd,BadgeJapaneseYen:Id,BadgeMinus:Ad,BadgePercent:Pd,BadgePlus:_d,BadgePoundSterling:Rd,BadgeRussianRuble:Td,BadgeSwissFranc:qd,BadgeX:Dd,BaggageClaim:zd,Ban:Ed,Banana:Fd,Bandage:Od,Banknote:Hd,Barcode:Vd,Baseline:Bd,Bath:$d,Battery:Xd,BatteryCharging:Ud,BatteryFull:Gd,BatteryLow:Wd,BatteryMedium:Zd,BatteryWarning:Jd,Beaker:Yd,Bean:Qd,BeanOff:Kd,Bed:a2,BedDouble:e2,BedSingle:t2,Beef:r2,Beer:s2,BeerOff:n2,Bell:zo,BellDot:i2,BellElectric:o2,BellMinus:c2,BellOff:l2,BellPlus:d2,BellRing:h2,BetweenHorizontalEnd:Qr,BetweenHorizontalStart:en,BetweenVerticalEnd:u2,BetweenVerticalStart:p2,BicepsFlexed:y2,Bike:m2,Binary:f2,Binoculars:x2,Biohazard:g2,Bird:k2,Bitcoin:v2,Blend:w2,Blinds:b2,Blocks:M2,Bluetooth:L2,BluetoothConnected:j2,BluetoothOff:C2,BluetoothSearching:S2,Bold:N2,Bolt:I2,Bomb:A2,Bone:P2,Book:Q2,BookA:_2,BookAudio:R2,BookCheck:T2,BookCopy:q2,BookDashed:tn,BookDown:D2,BookHeadphones:z2,BookHeart:E2,BookImage:F2,BookKey:O2,BookLock:H2,BookMarked:V2,BookMinus:B2,BookOpen:ea,BookOpenCheck:$2,BookOpenText:U2,BookPlus:G2,BookText:W2,BookType:Z2,BookUp:X2,BookUp2:J2,BookUser:Y2,BookX:K2,Bookmark:ya,BookmarkCheck:pa,BookmarkMinus:eh,BookmarkPlus:Mc,BookmarkX:th,BoomBox:ah,Bot:jc,BotMessageSquare:rh,BotOff:nh,Box:sh,Boxes:ih,Braces:an,Brackets:oh,Brain:dh,BrainCircuit:ch,BrainCog:lh,BrickWall:hh,Briefcase:at,BriefcaseBusiness:uh,BriefcaseConveyorBelt:ph,BriefcaseMedical:yh,BringToFront:mh,Brush:fh,Bug:kh,BugOff:xh,BugPlay:gh,Building:Eo,Building2:xt,Bus:wh,BusFront:vh,Cable:Mh,CableCar:bh,Cake:Ch,CakeSlice:jh,Calculator:Sh,Calendar:lo,CalendarArrowDown:Lh,CalendarArrowUp:Nh,CalendarCheck:Ah,CalendarCheck2:Ih,CalendarClock:Ph,CalendarCog:_h,CalendarDays:Cc,CalendarFold:Rh,CalendarHeart:Th,CalendarMinus:Dh,CalendarMinus2:qh,CalendarOff:zh,CalendarPlus:Fh,CalendarPlus2:Eh,CalendarRange:Oh,CalendarSearch:Hh,CalendarX:Bh,CalendarX2:Vh,Camera:Uh,CameraOff:$h,Candy:Zh,CandyCane:Gh,CandyOff:Wh,Cannabis:Jh,Captions:rn,CaptionsOff:Xh,Car:Qh,CarFront:Yh,CarTaxiFront:Kh,Caravan:e0,Carrot:t0,CaseLower:a0,CaseSensitive:r0,CaseUpper:n0,CassetteTape:s0,Cast:i0,Castle:o0,Cat:c0,Cctv:l0,ChartArea:nn,ChartBar:on,ChartBarBig:sn,ChartBarDecreasing:d0,ChartBarIncreasing:h0,ChartBarStacked:u0,ChartCandlestick:cn,ChartColumn:hn,ChartColumnBig:ln,ChartColumnDecreasing:p0,ChartColumnIncreasing:dn,ChartColumnStacked:y0,ChartGantt:m0,ChartLine:un,ChartNetwork:f0,ChartNoAxesColumn:pn,ChartNoAxesColumnDecreasing:x0,ChartNoAxesColumnIncreasing:cr,ChartNoAxesCombined:g0,ChartNoAxesGantt:yn,ChartPie:mn,ChartScatter:fn,ChartSpline:k0,Check:Fo,CheckCheck:v0,ChefHat:w0,Cherry:b0,ChevronDown:yr,ChevronFirst:M0,ChevronLast:j0,ChevronLeft:mr,ChevronRight:fr,ChevronUp:Oo,ChevronsDown:S0,ChevronsDownUp:C0,ChevronsLeft:I0,ChevronsLeftRight:N0,ChevronsLeftRightEllipsis:L0,ChevronsRight:P0,ChevronsRightLeft:A0,ChevronsUp:R0,ChevronsUpDown:_0,Chrome:T0,Church:q0,Cigarette:z0,CigaretteOff:D0,Circle:Z0,CircleAlert:Dt,CircleArrowDown:xn,CircleArrowLeft:gn,CircleArrowOutDownLeft:kn,CircleArrowOutDownRight:vn,CircleArrowOutUpLeft:wn,CircleArrowOutUpRight:bn,CircleArrowRight:Mn,CircleArrowUp:jn,CircleCheck:rt,CircleCheckBig:zt,CircleChevronDown:Cn,CircleChevronLeft:Sn,CircleChevronRight:Ln,CircleChevronUp:Nn,CircleDashed:E0,CircleDivide:In,CircleDollarSign:F0,CircleDot:H0,CircleDotDashed:O0,CircleEllipsis:V0,CircleEqual:B0,CircleFadingArrowUp:$0,CircleFadingPlus:U0,CircleGauge:An,CircleHelp:lr,CircleMinus:Pn,CircleOff:G0,CircleParking:Rn,CircleParkingOff:_n,CirclePause:Tn,CirclePercent:qn,CirclePlay:Dn,CirclePlus:zn,CirclePower:En,CircleSlash:W0,CircleSlash2:Fn,CircleStop:On,CircleUser:Vn,CircleUserRound:Hn,CircleX:ba,CircuitBoard:J0,Citrus:X0,Clapperboard:Y0,Clipboard:iu,ClipboardCheck:K0,ClipboardCopy:Q0,ClipboardList:eu,ClipboardMinus:tu,ClipboardPaste:au,ClipboardPen:$n,ClipboardPenLine:Bn,ClipboardPlus:ru,ClipboardType:nu,ClipboardX:su,Clock:ma,Clock1:ou,Clock10:cu,Clock11:lu,Clock12:du,Clock2:hu,Clock3:uu,Clock4:pu,Clock5:yu,Clock6:mu,Clock7:fu,Clock8:xu,Clock9:gu,ClockAlert:ku,ClockArrowDown:vu,ClockArrowUp:wu,Cloud:qu,CloudCog:bu,CloudDownload:Un,CloudDrizzle:Mu,CloudFog:ju,CloudHail:Cu,CloudLightning:Su,CloudMoon:Nu,CloudMoonRain:Lu,CloudOff:Iu,CloudRain:Pu,CloudRainWind:Au,CloudSnow:_u,CloudSun:Tu,CloudSunRain:Ru,CloudUpload:dr,Cloudy:Du,Clover:zu,Club:Eu,Code:Fu,CodeXml:Gn,Codepen:Ou,Codesandbox:Hu,Coffee:Vu,Cog:Bu,Coins:$u,Columns2:Wn,Columns3:Zn,Columns4:Uu,Combine:Gu,Command:Wu,Compass:Zu,Component:Ju,Computer:Xu,ConciergeBell:Yu,Cone:Ku,Construction:Qu,Contact:ep,ContactRound:Jn,Container:tp,Contrast:ap,Cookie:rp,CookingPot:np,Copy:dp,CopyCheck:sp,CopyMinus:ip,CopyPlus:op,CopySlash:cp,CopyX:lp,Copyleft:hp,Copyright:up,CornerDownLeft:pp,CornerDownRight:yp,CornerLeftDown:mp,CornerLeftUp:fp,CornerRightDown:xp,CornerRightUp:gp,CornerUpLeft:kp,CornerUpRight:vp,Cpu:wp,CreativeCommons:bp,CreditCard:Sc,Croissant:Mp,Crop:jp,Cross:Cp,Crosshair:Sp,Crown:Lp,Cuboid:Np,CupSoda:Ip,Currency:Ap,Cylinder:Pp,Dam:_p,Database:qp,DatabaseBackup:Rp,DatabaseZap:Tp,Delete:Dp,Dessert:zp,Diameter:Ep,Diamond:Hp,DiamondMinus:Fp,DiamondPercent:Xn,DiamondPlus:Op,Dice1:Vp,Dice2:Bp,Dice3:$p,Dice4:Up,Dice5:Gp,Dice6:Wp,Dices:Zp,Diff:Jp,Disc:Qp,Disc2:Xp,Disc3:Yp,DiscAlbum:Kp,Divide:ey,Dna:ay,DnaOff:ty,Dock:ry,Dog:ny,DollarSign:Lc,Donut:sy,DoorClosed:iy,DoorOpen:oy,Dot:cy,Download:Nc,DraftingCompass:ly,Drama:dy,Dribbble:hy,Drill:uy,Droplet:py,Droplets:yy,Drum:my,Drumstick:fy,Dumbbell:xy,Ear:ky,EarOff:gy,Earth:Yn,EarthLock:vy,Eclipse:wy,Egg:jy,EggFried:by,EggOff:My,Ellipsis:Qn,EllipsisVertical:Kn,Equal:Sy,EqualNot:Cy,Eraser:Ly,EthernetPort:Ny,Euro:Iy,Expand:Ay,ExternalLink:ho,Eye:Ho,EyeClosed:Py,EyeOff:Ic,Facebook:_y,Factory:Ry,Fan:Ty,FastForward:qy,Feather:Dy,Fence:zy,FerrisWheel:Ey,Figma:Fy,File:qm,FileArchive:Oy,FileAudio:Vy,FileAudio2:Hy,FileAxis3d:es,FileBadge:$y,FileBadge2:By,FileBox:Uy,FileChartColumn:as,FileChartColumnIncreasing:ts,FileChartLine:rs,FileChartPie:ns,FileCheck:Wy,FileCheck2:Gy,FileClock:Zy,FileCode:Xy,FileCode2:Jy,FileCog:ss,FileDiff:Yy,FileDigit:Ky,FileDown:Qy,FileHeart:em,FileImage:tm,FileInput:am,FileJson:nm,FileJson2:rm,FileKey:im,FileKey2:sm,FileLock:cm,FileLock2:om,FileMinus:dm,FileMinus2:lm,FileMusic:hm,FileOutput:um,FilePen:os,FilePenLine:is,FilePlus:ym,FilePlus2:pm,FileQuestion:mm,FileScan:fm,FileSearch:gm,FileSearch2:xm,FileSliders:km,FileSpreadsheet:vm,FileStack:wm,FileSymlink:bm,FileTerminal:Mm,FileText:Vo,FileType:Cm,FileType2:jm,FileUp:Sm,FileUser:Lm,FileVideo:Im,FileVideo2:Nm,FileVolume:Pm,FileVolume2:Am,FileWarning:_m,FileX:Tm,FileX2:Rm,Files:Dm,Film:zm,Filter:xr,FilterX:Em,Fingerprint:Fm,FireExtinguisher:Om,Fish:Bm,FishOff:Hm,FishSymbol:Vm,Flag:Ac,FlagOff:$m,FlagTriangleLeft:Um,FlagTriangleRight:Gm,Flame:Zm,FlameKindling:Wm,Flashlight:Xm,FlashlightOff:Jm,FlaskConical:Km,FlaskConicalOff:Ym,FlaskRound:Qm,FlipHorizontal:tf,FlipHorizontal2:ef,FlipVertical:rf,FlipVertical2:af,Flower:sf,Flower2:nf,Focus:of,FoldHorizontal:cf,FoldVertical:lf,Folder:zf,FolderArchive:df,FolderCheck:hf,FolderClock:uf,FolderClosed:pf,FolderCode:yf,FolderCog:cs,FolderDot:mf,FolderDown:ff,FolderGit:gf,FolderGit2:xf,FolderHeart:kf,FolderInput:vf,FolderKanban:wf,FolderKey:bf,FolderLock:Mf,FolderMinus:jf,FolderOpen:Sf,FolderOpenDot:Cf,FolderOutput:Lf,FolderPen:ls,FolderPlus:Nf,FolderRoot:If,FolderSearch:Pf,FolderSearch2:Af,FolderSymlink:_f,FolderSync:Rf,FolderTree:Tf,FolderUp:qf,FolderX:Df,Folders:Ef,Footprints:Ff,Forklift:Of,Forward:Hf,Frame:Vf,Framer:Bf,Frown:$f,Fuel:Uf,Fullscreen:Gf,GalleryHorizontal:Zf,GalleryHorizontalEnd:Wf,GalleryThumbnails:Jf,GalleryVertical:Yf,GalleryVerticalEnd:Xf,Gamepad:Kf,Gamepad2:Pc,Gauge:Qf,Gavel:ex,Gem:tx,Ghost:ax,Gift:rx,GitBranch:sx,GitBranchPlus:nx,GitCommitHorizontal:ds,GitCommitVertical:ix,GitCompare:cx,GitCompareArrows:ox,GitFork:lx,GitGraph:dx,GitMerge:hx,GitPullRequest:xx,GitPullRequestArrow:ux,GitPullRequestClosed:px,GitPullRequestCreate:mx,GitPullRequestCreateArrow:yx,GitPullRequestDraft:fx,Github:gx,Gitlab:kx,GlassWater:vx,Glasses:wx,Globe:ta,GlobeLock:bx,Goal:Mx,Grab:jx,GraduationCap:gr,Grape:Cx,Grid2x2:hs,Grid2x2Check:Sx,Grid2x2Plus:Lx,Grid2x2X:Nx,Grid3x3:la,Grip:Px,GripHorizontal:Ix,GripVertical:Ax,Group:_x,Guitar:Rx,Ham:Tx,Hammer:qx,Hand:Ox,HandCoins:Dx,HandHeart:zx,HandHelping:us,HandMetal:Ex,HandPlatter:Fx,Handshake:Hx,HardDrive:$x,HardDriveDownload:Vx,HardDriveUpload:Bx,HardHat:Ux,Hash:Gx,Haze:Wx,HdmiPort:Zx,Heading:tg,Heading1:Jx,Heading2:Xx,Heading3:Yx,Heading4:Kx,Heading5:Qx,Heading6:eg,HeadphoneOff:ag,Headphones:rg,Headset:ng,Heart:kr,HeartCrack:sg,HeartHandshake:ig,HeartOff:og,HeartPulse:cg,Heater:lg,Hexagon:dg,Highlighter:hg,History:ug,Hop:yg,HopOff:pg,Hospital:mg,Hotel:fg,Hourglass:xg,House:Va,HousePlug:gg,HousePlus:kg,IceCreamBowl:ps,IceCreamCone:ys,IdCard:vg,Image:Lg,ImageDown:wg,ImageMinus:bg,ImageOff:Mg,ImagePlay:jg,ImagePlus:Cg,ImageUp:Sg,Images:Ng,Import:Ig,Inbox:Ag,IndentDecrease:ms,IndentIncrease:fs,IndianRupee:Pg,Infinity:_g,Info:Rg,InspectionPanel:Tg,Instagram:qg,Italic:Dg,IterationCcw:zg,IterationCw:Eg,JapaneseYen:Fg,Joystick:Og,Kanban:Hg,Key:$g,KeyRound:Vg,KeySquare:Bg,Keyboard:Wg,KeyboardMusic:Ug,KeyboardOff:Gg,Lamp:Qg,LampCeiling:Zg,LampDesk:Jg,LampFloor:Xg,LampWallDown:Yg,LampWallUp:Kg,LandPlot:e4,Landmark:t4,Languages:_c,Laptop:a4,LaptopMinimal:xs,Lasso:n4,LassoSelect:r4,Laugh:s4,Layers:c4,Layers2:i4,Layers3:o4,LayoutDashboard:Rc,LayoutGrid:l4,LayoutList:d4,LayoutPanelLeft:h4,LayoutPanelTop:u4,LayoutTemplate:p4,Leaf:y4,LeafyGreen:m4,Lectern:f4,LetterText:x4,Library:k4,LibraryBig:g4,LifeBuoy:v4,Ligature:w4,Lightbulb:M4,LightbulbOff:b4,Link:Tc,Link2:C4,Link2Off:j4,Linkedin:qc,List:Dc,ListCheck:S4,ListChecks:L4,ListCollapse:N4,ListEnd:I4,ListFilter:A4,ListMinus:P4,ListMusic:_4,ListOrdered:R4,ListPlus:T4,ListRestart:q4,ListStart:D4,ListTodo:z4,ListTree:E4,ListVideo:F4,ListX:O4,Loader:V4,LoaderCircle:ha,LoaderPinwheel:H4,Locate:U4,LocateFixed:B4,LocateOff:$4,Lock:uo,LockKeyhole:G4,LockKeyholeOpen:gs,LockOpen:ks,LogIn:W4,LogOut:zc,Logs:Z4,Lollipop:J4,Luggage:X4,Magnet:Y4,Mail:aa,MailCheck:K4,MailMinus:Q4,MailOpen:ek,MailPlus:tk,MailQuestion:ak,MailSearch:rk,MailWarning:nk,MailX:sk,Mailbox:ik,Mails:ok,Map:kk,MapPin:st,MapPinCheck:lk,MapPinCheckInside:ck,MapPinHouse:dk,MapPinMinus:uk,MapPinMinusInside:hk,MapPinOff:pk,MapPinPlus:mk,MapPinPlusInside:yk,MapPinX:xk,MapPinXInside:fk,MapPinned:gk,Martini:vk,Maximize:bk,Maximize2:wk,Medal:Mk,Megaphone:Ck,MegaphoneOff:jk,Meh:Sk,MemoryStick:Lk,Menu:Bo,Merge:Nk,MessageCircle:Fk,MessageCircleCode:Ik,MessageCircleDashed:Ak,MessageCircleHeart:Pk,MessageCircleMore:_k,MessageCircleOff:Rk,MessageCirclePlus:Tk,MessageCircleQuestion:qk,MessageCircleReply:Dk,MessageCircleWarning:zk,MessageCircleX:Ek,MessageSquare:vr,MessageSquareCode:Ok,MessageSquareDashed:Hk,MessageSquareDiff:Vk,MessageSquareDot:Bk,MessageSquareHeart:$k,MessageSquareLock:Uk,MessageSquareMore:Gk,MessageSquareOff:Wk,MessageSquarePlus:Zk,MessageSquareQuote:Jk,MessageSquareReply:Xk,MessageSquareShare:Yk,MessageSquareText:Kk,MessageSquareWarning:Qk,MessageSquareX:e5,MessagesSquare:t5,Mic:r5,MicOff:a5,MicVocal:vs,Microchip:n5,Microscope:s5,Microwave:i5,Milestone:o5,Milk:l5,MilkOff:c5,Minimize:h5,Minimize2:d5,Minus:Ec,Monitor:j5,MonitorCheck:u5,MonitorCog:p5,MonitorDot:y5,MonitorDown:m5,MonitorOff:f5,MonitorPause:x5,MonitorPlay:g5,MonitorSmartphone:k5,MonitorSpeaker:v5,MonitorStop:w5,MonitorUp:b5,MonitorX:M5,Moon:S5,MoonStar:C5,Mountain:N5,MountainSnow:L5,Mouse:T5,MouseOff:I5,MousePointer:R5,MousePointer2:A5,MousePointerBan:P5,MousePointerClick:_5,Move:W5,Move3d:ws,MoveDiagonal:D5,MoveDiagonal2:q5,MoveDown:F5,MoveDownLeft:z5,MoveDownRight:E5,MoveHorizontal:O5,MoveLeft:H5,MoveRight:V5,MoveUp:U5,MoveUpLeft:B5,MoveUpRight:$5,MoveVertical:G5,Music:Y5,Music2:Z5,Music3:J5,Music4:X5,Navigation:tv,Navigation2:Q5,Navigation2Off:K5,NavigationOff:ev,Network:av,Newspaper:Na,Nfc:rv,Notebook:ov,NotebookPen:nv,NotebookTabs:sv,NotebookText:iv,NotepadText:lv,NotepadTextDashed:cv,Nut:hv,NutOff:dv,Octagon:pv,OctagonAlert:bs,OctagonMinus:uv,OctagonPause:Ms,OctagonX:js,Omega:yv,Option:mv,Orbit:fv,Origami:xv,Package:Fc,Package2:gv,PackageCheck:kv,PackageMinus:vv,PackageOpen:wv,PackagePlus:bv,PackageSearch:Mv,PackageX:jv,PaintBucket:Cv,PaintRoller:Sv,Paintbrush:Lv,PaintbrushVertical:Cs,Palette:Nv,PanelBottom:Pv,PanelBottomClose:Iv,PanelBottomDashed:Ss,PanelBottomOpen:Av,PanelLeft:As,PanelLeftClose:Ls,PanelLeftDashed:Ns,PanelLeftOpen:Is,PanelRight:Tv,PanelRightClose:_v,PanelRightDashed:Ps,PanelRightOpen:Rv,PanelTop:zv,PanelTopClose:qv,PanelTopDashed:_s,PanelTopOpen:Dv,PanelsLeftBottom:Ev,PanelsRightBottom:Fv,PanelsTopLeft:Rs,Paperclip:Ov,Parentheses:Hv,ParkingMeter:Vv,PartyPopper:Bv,Pause:$v,PawPrint:Uv,PcCase:Gv,Pen:qs,PenLine:Ts,PenOff:Wv,PenTool:Zv,Pencil:Kv,PencilLine:Jv,PencilOff:Xv,PencilRuler:Yv,Pentagon:Qv,Percent:e3,PersonStanding:t3,PhilippinePeso:a3,Phone:wr,PhoneCall:r3,PhoneForwarded:n3,PhoneIncoming:s3,PhoneMissed:i3,PhoneOff:o3,PhoneOutgoing:c3,Pi:l3,Piano:d3,Pickaxe:h3,PictureInPicture:p3,PictureInPicture2:u3,PiggyBank:y3,Pilcrow:x3,PilcrowLeft:m3,PilcrowRight:f3,Pill:k3,PillBottle:g3,Pin:w3,PinOff:v3,Pipette:b3,Pizza:M3,Plane:S3,PlaneLanding:j3,PlaneTakeoff:C3,Play:Oc,Plug:N3,Plug2:L3,PlugZap:Ds,Plus:$o,Pocket:A3,PocketKnife:I3,Podcast:P3,Pointer:R3,PointerOff:_3,Popcorn:T3,Popsicle:q3,PoundSterling:D3,Power:E3,PowerOff:z3,Presentation:F3,Printer:H3,PrinterCheck:O3,Projector:V3,Proportions:B3,Puzzle:$3,Pyramid:U3,QrCode:G3,Quote:Uo,Rabbit:W3,Radar:Z3,Radiation:J3,Radical:X3,Radio:Q3,RadioReceiver:Y3,RadioTower:K3,Radius:e6,RailSymbol:t6,Rainbow:a6,Rat:r6,Ratio:n6,Receipt:p6,ReceiptCent:s6,ReceiptEuro:i6,ReceiptIndianRupee:o6,ReceiptJapaneseYen:c6,ReceiptPoundSterling:l6,ReceiptRussianRuble:d6,ReceiptSwissFranc:h6,ReceiptText:u6,RectangleEllipsis:zs,RectangleHorizontal:y6,RectangleVertical:m6,Recycle:f6,Redo:k6,Redo2:x6,RedoDot:g6,RefreshCcw:w6,RefreshCcwDot:v6,RefreshCw:M6,RefreshCwOff:b6,Refrigerator:j6,Regex:C6,RemoveFormatting:S6,Repeat:I6,Repeat1:L6,Repeat2:N6,Replace:P6,ReplaceAll:A6,Reply:R6,ReplyAll:_6,Rewind:T6,Ribbon:q6,Rocket:D6,RockingChair:z6,RollerCoaster:E6,Rotate3d:Es,RotateCcw:O6,RotateCcwSquare:F6,RotateCw:V6,RotateCwSquare:H6,Route:$6,RouteOff:B6,Router:U6,Rows2:Fs,Rows3:Os,Rows4:G6,Rss:W6,Ruler:Z6,RussianRuble:J6,Sailboat:X6,Salad:Y6,Sandwich:K6,Satellite:e8,SatelliteDish:Q6,Save:r8,SaveAll:t8,SaveOff:a8,Scale:n8,Scale3d:Hs,Scaling:s8,Scan:p8,ScanBarcode:i8,ScanEye:o8,ScanFace:c8,ScanLine:l8,ScanQrCode:d8,ScanSearch:h8,ScanText:u8,School:y8,Scissors:f8,ScissorsLineDashed:m8,ScreenShare:g8,ScreenShareOff:x8,Scroll:v8,ScrollText:k8,Search:Vt,SearchCheck:w8,SearchCode:b8,SearchSlash:M8,SearchX:j8,Section:C8,Send:Hc,SendHorizontal:Vs,SendToBack:S8,SeparatorHorizontal:L8,SeparatorVertical:N8,Server:_8,ServerCog:I8,ServerCrash:A8,ServerOff:P8,Settings:Go,Settings2:R8,Shapes:T8,Share:q8,Share2:po,Sheet:D8,Shell:z8,Shield:br,ShieldAlert:E8,ShieldBan:F8,ShieldCheck:Vc,ShieldEllipsis:O8,ShieldHalf:H8,ShieldMinus:V8,ShieldOff:B8,ShieldPlus:$8,ShieldQuestion:U8,ShieldX:Bs,Ship:W8,ShipWheel:G8,Shirt:Z8,ShoppingBag:J8,ShoppingBasket:X8,ShoppingCart:Wo,Shovel:Y8,ShowerHead:K8,Shrink:Q8,Shrub:ew,Shuffle:tw,Sigma:aw,Signal:Bc,SignalHigh:rw,SignalLow:nw,SignalMedium:sw,SignalZero:iw,Signature:ow,Signpost:lw,SignpostBig:cw,Siren:dw,SkipBack:hw,SkipForward:uw,Skull:pw,Slack:yw,Slash:mw,Slice:fw,SlidersHorizontal:Mr,SlidersVertical:$s,Smartphone:kw,SmartphoneCharging:xw,SmartphoneNfc:gw,Smile:ww,SmilePlus:vw,Snail:bw,Snowflake:Mw,Sofa:jw,Soup:Cw,Space:Sw,Spade:Lw,Sparkle:Nw,Sparkles:Ma,Speaker:Iw,Speech:Aw,SpellCheck:_w,SpellCheck2:Pw,Spline:Rw,Split:Tw,SprayCan:qw,Sprout:Dw,Square:Vw,SquareActivity:Us,SquareArrowDown:Zs,SquareArrowDownLeft:Gs,SquareArrowDownRight:Ws,SquareArrowLeft:Ba,SquareArrowOutDownLeft:Js,SquareArrowOutDownRight:Xs,SquareArrowOutUpLeft:Ys,SquareArrowOutUpRight:Ks,SquareArrowRight:$a,SquareArrowUp:ti,SquareArrowUpLeft:Qs,SquareArrowUpRight:ei,SquareAsterisk:ai,SquareBottomDashedScissors:ri,SquareChartGantt:va,SquareCheck:si,SquareCheckBig:ni,SquareChevronDown:ii,SquareChevronLeft:oi,SquareChevronRight:ci,SquareChevronUp:li,SquareCode:di,SquareDashed:pi,SquareDashedBottom:Ew,SquareDashedBottomCode:zw,SquareDashedKanban:hi,SquareDashedMousePointer:ui,SquareDivide:yi,SquareDot:mi,SquareEqual:fi,SquareFunction:xi,SquareKanban:gi,SquareLibrary:ki,SquareM:vi,SquareMenu:wi,SquareMinus:bi,SquareMousePointer:Mi,SquareParking:Ci,SquareParkingOff:ji,SquarePen:Rt,SquarePercent:Si,SquarePi:Li,SquarePilcrow:Ni,SquarePlay:Ii,SquarePlus:Ai,SquarePower:Pi,SquareRadical:Fw,SquareScissors:_i,SquareSigma:Ri,SquareSlash:Ti,SquareSplitHorizontal:qi,SquareSplitVertical:Di,SquareSquare:Ow,SquareStack:Hw,SquareTerminal:zi,SquareUser:Fi,SquareUserRound:Ei,SquareX:Oi,Squircle:Bw,Squirrel:$w,Stamp:Uw,Star:St,StarHalf:Gw,StarOff:Ww,StepBack:Zw,StepForward:Jw,Stethoscope:Xw,Sticker:Yw,StickyNote:Kw,Store:Qw,StretchHorizontal:e7,StretchVertical:t7,Strikethrough:a7,Subscript:r7,Sun:c7,SunDim:n7,SunMedium:s7,SunMoon:i7,SunSnow:o7,Sunrise:l7,Sunset:d7,Superscript:h7,SwatchBook:u7,SwissFranc:p7,SwitchCamera:y7,Sword:m7,Swords:f7,Syringe:x7,Table:C7,Table2:g7,TableCellsMerge:k7,TableCellsSplit:v7,TableColumnsSplit:w7,TableOfContents:b7,TableProperties:M7,TableRowsSplit:j7,Tablet:L7,TabletSmartphone:S7,Tablets:N7,Tag:$c,Tags:I7,Tally1:A7,Tally2:P7,Tally3:_7,Tally4:R7,Tally5:T7,Tangent:q7,Target:D7,Telescope:z7,Tent:F7,TentTree:E7,Terminal:O7,TestTube:H7,TestTubeDiagonal:Hi,TestTubes:V7,Text:W7,TextCursor:$7,TextCursorInput:B7,TextQuote:U7,TextSearch:G7,TextSelect:Vi,Theater:Z7,Thermometer:Y7,ThermometerSnowflake:J7,ThermometerSun:X7,ThumbsDown:K7,ThumbsUp:Q7,Ticket:ib,TicketCheck:eb,TicketMinus:tb,TicketPercent:ab,TicketPlus:rb,TicketSlash:nb,TicketX:sb,Tickets:cb,TicketsPlane:ob,Timer:hb,TimerOff:lb,TimerReset:db,ToggleLeft:ub,ToggleRight:pb,Tornado:yb,Torus:mb,Touchpad:xb,TouchpadOff:fb,TowerControl:gb,ToyBrick:kb,Tractor:vb,TrafficCone:wb,TrainFront:Mb,TrainFrontTunnel:bb,TrainTrack:jb,TramFront:Bi,Trash:Cb,Trash2:Zo,TreeDeciduous:Sb,TreePalm:$i,TreePine:Lb,Trees:Nb,Trello:Ib,TrendingDown:Ab,TrendingUp:Ia,TrendingUpDown:Pb,Triangle:Rb,TriangleAlert:Ui,TriangleRight:_b,Trophy:Tb,Truck:qb,Turtle:Db,Tv:Eb,TvMinimal:Gi,TvMinimalPlay:zb,Twitch:Fb,Twitter:Ob,Type:Vb,TypeOutline:Hb,Umbrella:$b,UmbrellaOff:Bb,Underline:Ub,Undo:Zb,Undo2:Gb,UndoDot:Wb,UnfoldHorizontal:Jb,UnfoldVertical:Xb,Ungroup:Yb,University:Wi,Unlink:Qb,Unlink2:Kb,Unplug:eM,Upload:Uc,Usb:tM,User:Jo,UserCheck:Gc,UserCog:aM,UserMinus:rM,UserPen:nM,UserPlus:sM,UserRound:Qi,UserRoundCheck:Zi,UserRoundCog:Ji,UserRoundMinus:Xi,UserRoundPen:iM,UserRoundPlus:Yi,UserRoundSearch:oM,UserRoundX:Ki,UserSearch:cM,UserX:lM,Users:Lt,UsersRound:eo,Utensils:ao,UtensilsCrossed:to,UtilityPole:dM,Variable:hM,Vault:uM,Vegan:pM,VenetianMask:yM,Vibrate:fM,VibrateOff:mM,Video:gM,VideoOff:xM,Videotape:kM,View:vM,Voicemail:wM,Volleyball:bM,Volume:LM,Volume1:MM,Volume2:jM,VolumeOff:CM,VolumeX:SM,Vote:NM,Wallet:AM,WalletCards:IM,WalletMinimal:ro,Wallpaper:PM,Wand:_M,WandSparkles:no,Warehouse:RM,WashingMachine:TM,Watch:qM,Waves:DM,Waypoints:zM,Webcam:EM,Webhook:OM,WebhookOff:FM,Weight:HM,Wheat:BM,WheatOff:VM,WholeWord:$M,Wifi:JM,WifiHigh:UM,WifiLow:GM,WifiOff:WM,WifiZero:ZM,Wind:XM,Wine:KM,WineOff:YM,Workflow:QM,Worm:e9,WrapText:t9,Wrench:a9,X:jt,Youtube:r9,Zap:Wc,ZapOff:n9,ZoomIn:s9,ZoomOut:i9},Symbol.toStringTag,{value:"Module"}));/**
7720
+ */const xq=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:Rl,AArrowUp:Tl,ALargeSmall:ql,Accessibility:Dl,Activity:zl,AirVent:El,Airplay:Fl,AlarmClock:Hl,AlarmClockCheck:Vr,AlarmClockMinus:Br,AlarmClockOff:Ol,AlarmClockPlus:$r,AlarmSmoke:Vl,Album:Bl,AlignCenter:Gl,AlignCenterHorizontal:$l,AlignCenterVertical:Ul,AlignEndHorizontal:Wl,AlignEndVertical:Zl,AlignHorizontalDistributeCenter:Jl,AlignHorizontalDistributeEnd:Xl,AlignHorizontalDistributeStart:Yl,AlignHorizontalJustifyCenter:Kl,AlignHorizontalJustifyEnd:Ql,AlignHorizontalJustifyStart:e1,AlignHorizontalSpaceAround:t1,AlignHorizontalSpaceBetween:a1,AlignJustify:r1,AlignLeft:n1,AlignRight:s1,AlignStartHorizontal:i1,AlignStartVertical:o1,AlignVerticalDistributeCenter:c1,AlignVerticalDistributeEnd:l1,AlignVerticalDistributeStart:d1,AlignVerticalJustifyCenter:h1,AlignVerticalJustifyEnd:u1,AlignVerticalJustifyStart:p1,AlignVerticalSpaceAround:y1,AlignVerticalSpaceBetween:m1,Ambulance:f1,Ampersand:x1,Ampersands:g1,Amphora:k1,Anchor:v1,Angry:w1,Annoyed:b1,Antenna:M1,Anvil:j1,Aperture:C1,AppWindow:L1,AppWindowMac:S1,Apple:N1,Archive:P1,ArchiveRestore:I1,ArchiveX:A1,Armchair:_1,ArrowBigDown:T1,ArrowBigDownDash:R1,ArrowBigLeft:D1,ArrowBigLeftDash:q1,ArrowBigRight:E1,ArrowBigRightDash:z1,ArrowBigUp:O1,ArrowBigUpDash:F1,ArrowDown:X1,ArrowDown01:H1,ArrowDown10:V1,ArrowDownAZ:Ur,ArrowDownFromLine:B1,ArrowDownLeft:$1,ArrowDownNarrowWide:U1,ArrowDownRight:G1,ArrowDownToDot:W1,ArrowDownToLine:Z1,ArrowDownUp:J1,ArrowDownWideNarrow:Gr,ArrowDownZA:Wr,ArrowLeft:Ja,ArrowLeftFromLine:Y1,ArrowLeftRight:K1,ArrowLeftToLine:Q1,ArrowRight:co,ArrowRightFromLine:ed,ArrowRightLeft:td,ArrowRightToLine:ad,ArrowUp:ud,ArrowUp01:rd,ArrowUp10:nd,ArrowUpAZ:Zr,ArrowUpDown:sd,ArrowUpFromDot:id,ArrowUpFromLine:od,ArrowUpLeft:cd,ArrowUpNarrowWide:Jr,ArrowUpRight:ld,ArrowUpToLine:dd,ArrowUpWideNarrow:hd,ArrowUpZA:Xr,ArrowsUpFromLine:pd,Asterisk:yd,AtSign:md,Atom:fd,AudioLines:xd,AudioWaveform:gd,Award:ea,Axe:kd,Axis3d:Yr,Baby:vd,Backpack:wd,Badge:bc,BadgeAlert:bd,BadgeCent:Md,BadgeCheck:Kr,BadgeDollarSign:jd,BadgeEuro:Cd,BadgeHelp:Sd,BadgeIndianRupee:Ld,BadgeInfo:Nd,BadgeJapaneseYen:Id,BadgeMinus:Ad,BadgePercent:Pd,BadgePlus:_d,BadgePoundSterling:Rd,BadgeRussianRuble:Td,BadgeSwissFranc:qd,BadgeX:Dd,BaggageClaim:zd,Ban:Ed,Banana:Fd,Bandage:Od,Banknote:Hd,Barcode:Vd,Baseline:Bd,Bath:$d,Battery:Xd,BatteryCharging:Ud,BatteryFull:Gd,BatteryLow:Wd,BatteryMedium:Zd,BatteryWarning:Jd,Beaker:Yd,Bean:Qd,BeanOff:Kd,Bed:a2,BedDouble:e2,BedSingle:t2,Beef:r2,Beer:s2,BeerOff:n2,Bell:zo,BellDot:i2,BellElectric:o2,BellMinus:c2,BellOff:l2,BellPlus:d2,BellRing:h2,BetweenHorizontalEnd:Qr,BetweenHorizontalStart:en,BetweenVerticalEnd:u2,BetweenVerticalStart:p2,BicepsFlexed:y2,Bike:m2,Binary:f2,Binoculars:x2,Biohazard:g2,Bird:k2,Bitcoin:v2,Blend:w2,Blinds:b2,Blocks:M2,Bluetooth:L2,BluetoothConnected:j2,BluetoothOff:C2,BluetoothSearching:S2,Bold:N2,Bolt:I2,Bomb:A2,Bone:P2,Book:Q2,BookA:_2,BookAudio:R2,BookCheck:T2,BookCopy:q2,BookDashed:tn,BookDown:D2,BookHeadphones:z2,BookHeart:E2,BookImage:F2,BookKey:O2,BookLock:H2,BookMarked:V2,BookMinus:B2,BookOpen:ra,BookOpenCheck:$2,BookOpenText:U2,BookPlus:G2,BookText:W2,BookType:Z2,BookUp:X2,BookUp2:J2,BookUser:Y2,BookX:K2,Bookmark:ga,BookmarkCheck:xa,BookmarkMinus:eh,BookmarkPlus:Mc,BookmarkX:th,BoomBox:ah,Bot:jc,BotMessageSquare:rh,BotOff:nh,Box:sh,Boxes:ih,Braces:an,Brackets:oh,Brain:dh,BrainCircuit:ch,BrainCog:lh,BrickWall:hh,Briefcase:nt,BriefcaseBusiness:uh,BriefcaseConveyorBelt:ph,BriefcaseMedical:yh,BringToFront:mh,Brush:fh,Bug:kh,BugOff:xh,BugPlay:gh,Building:Eo,Building2:gt,Bus:wh,BusFront:vh,Cable:Mh,CableCar:bh,Cake:Ch,CakeSlice:jh,Calculator:Sh,Calendar:lo,CalendarArrowDown:Lh,CalendarArrowUp:Nh,CalendarCheck:Ah,CalendarCheck2:Ih,CalendarClock:Ph,CalendarCog:_h,CalendarDays:Cc,CalendarFold:Rh,CalendarHeart:Th,CalendarMinus:Dh,CalendarMinus2:qh,CalendarOff:zh,CalendarPlus:Fh,CalendarPlus2:Eh,CalendarRange:Oh,CalendarSearch:Hh,CalendarX:Bh,CalendarX2:Vh,Camera:Uh,CameraOff:$h,Candy:Zh,CandyCane:Gh,CandyOff:Wh,Cannabis:Jh,Captions:rn,CaptionsOff:Xh,Car:Qh,CarFront:Yh,CarTaxiFront:Kh,Caravan:e0,Carrot:t0,CaseLower:a0,CaseSensitive:r0,CaseUpper:n0,CassetteTape:s0,Cast:i0,Castle:o0,Cat:c0,Cctv:l0,ChartArea:nn,ChartBar:on,ChartBarBig:sn,ChartBarDecreasing:d0,ChartBarIncreasing:h0,ChartBarStacked:u0,ChartCandlestick:cn,ChartColumn:hn,ChartColumnBig:ln,ChartColumnDecreasing:p0,ChartColumnIncreasing:dn,ChartColumnStacked:y0,ChartGantt:m0,ChartLine:un,ChartNetwork:f0,ChartNoAxesColumn:pn,ChartNoAxesColumnDecreasing:x0,ChartNoAxesColumnIncreasing:lr,ChartNoAxesCombined:g0,ChartNoAxesGantt:yn,ChartPie:mn,ChartScatter:fn,ChartSpline:k0,Check:Fo,CheckCheck:v0,ChefHat:w0,Cherry:b0,ChevronDown:mr,ChevronFirst:M0,ChevronLast:j0,ChevronLeft:fr,ChevronRight:xr,ChevronUp:Oo,ChevronsDown:S0,ChevronsDownUp:C0,ChevronsLeft:I0,ChevronsLeftRight:N0,ChevronsLeftRightEllipsis:L0,ChevronsRight:P0,ChevronsRightLeft:A0,ChevronsUp:R0,ChevronsUpDown:_0,Chrome:T0,Church:q0,Cigarette:z0,CigaretteOff:D0,Circle:Z0,CircleAlert:Et,CircleArrowDown:xn,CircleArrowLeft:gn,CircleArrowOutDownLeft:kn,CircleArrowOutDownRight:vn,CircleArrowOutUpLeft:wn,CircleArrowOutUpRight:bn,CircleArrowRight:Mn,CircleArrowUp:jn,CircleCheck:it,CircleCheckBig:Ft,CircleChevronDown:Cn,CircleChevronLeft:Sn,CircleChevronRight:Ln,CircleChevronUp:Nn,CircleDashed:E0,CircleDivide:In,CircleDollarSign:F0,CircleDot:H0,CircleDotDashed:O0,CircleEllipsis:V0,CircleEqual:B0,CircleFadingArrowUp:$0,CircleFadingPlus:U0,CircleGauge:An,CircleHelp:dr,CircleMinus:Pn,CircleOff:G0,CircleParking:Rn,CircleParkingOff:_n,CirclePause:Tn,CirclePercent:qn,CirclePlay:Dn,CirclePlus:zn,CirclePower:En,CircleSlash:W0,CircleSlash2:Fn,CircleStop:On,CircleUser:Vn,CircleUserRound:Hn,CircleX:Sa,CircuitBoard:J0,Citrus:X0,Clapperboard:Y0,Clipboard:iu,ClipboardCheck:K0,ClipboardCopy:Q0,ClipboardList:eu,ClipboardMinus:tu,ClipboardPaste:au,ClipboardPen:$n,ClipboardPenLine:Bn,ClipboardPlus:ru,ClipboardType:nu,ClipboardX:su,Clock:ka,Clock1:ou,Clock10:cu,Clock11:lu,Clock12:du,Clock2:hu,Clock3:uu,Clock4:pu,Clock5:yu,Clock6:mu,Clock7:fu,Clock8:xu,Clock9:gu,ClockAlert:ku,ClockArrowDown:vu,ClockArrowUp:wu,Cloud:qu,CloudCog:bu,CloudDownload:Un,CloudDrizzle:Mu,CloudFog:ju,CloudHail:Cu,CloudLightning:Su,CloudMoon:Nu,CloudMoonRain:Lu,CloudOff:Iu,CloudRain:Pu,CloudRainWind:Au,CloudSnow:_u,CloudSun:Tu,CloudSunRain:Ru,CloudUpload:hr,Cloudy:Du,Clover:zu,Club:Eu,Code:Fu,CodeXml:Gn,Codepen:Ou,Codesandbox:Hu,Coffee:Vu,Cog:Bu,Coins:$u,Columns2:Wn,Columns3:Zn,Columns4:Uu,Combine:Gu,Command:Wu,Compass:Zu,Component:Ju,Computer:Xu,ConciergeBell:Yu,Cone:Ku,Construction:Qu,Contact:ep,ContactRound:Jn,Container:tp,Contrast:ap,Cookie:rp,CookingPot:np,Copy:dp,CopyCheck:sp,CopyMinus:ip,CopyPlus:op,CopySlash:cp,CopyX:lp,Copyleft:hp,Copyright:up,CornerDownLeft:pp,CornerDownRight:yp,CornerLeftDown:mp,CornerLeftUp:fp,CornerRightDown:xp,CornerRightUp:gp,CornerUpLeft:kp,CornerUpRight:vp,Cpu:wp,CreativeCommons:bp,CreditCard:Sc,Croissant:Mp,Crop:jp,Cross:Cp,Crosshair:Sp,Crown:Lp,Cuboid:Np,CupSoda:Ip,Currency:Ap,Cylinder:Pp,Dam:_p,Database:qp,DatabaseBackup:Rp,DatabaseZap:Tp,Delete:Dp,Dessert:zp,Diameter:Ep,Diamond:Hp,DiamondMinus:Fp,DiamondPercent:Xn,DiamondPlus:Op,Dice1:Vp,Dice2:Bp,Dice3:$p,Dice4:Up,Dice5:Gp,Dice6:Wp,Dices:Zp,Diff:Jp,Disc:Qp,Disc2:Xp,Disc3:Yp,DiscAlbum:Kp,Divide:ey,Dna:ay,DnaOff:ty,Dock:ry,Dog:ny,DollarSign:Lc,Donut:sy,DoorClosed:iy,DoorOpen:oy,Dot:cy,Download:Nc,DraftingCompass:ly,Drama:dy,Dribbble:hy,Drill:uy,Droplet:py,Droplets:yy,Drum:my,Drumstick:fy,Dumbbell:xy,Ear:ky,EarOff:gy,Earth:Yn,EarthLock:vy,Eclipse:wy,Egg:jy,EggFried:by,EggOff:My,Ellipsis:Qn,EllipsisVertical:Kn,Equal:Sy,EqualNot:Cy,Eraser:Ly,EthernetPort:Ny,Euro:Iy,Expand:Ay,ExternalLink:ho,Eye:Ho,EyeClosed:Py,EyeOff:Ic,Facebook:_y,Factory:Ry,Fan:Ty,FastForward:qy,Feather:Dy,Fence:zy,FerrisWheel:Ey,Figma:Fy,File:qm,FileArchive:Oy,FileAudio:Vy,FileAudio2:Hy,FileAxis3d:es,FileBadge:$y,FileBadge2:By,FileBox:Uy,FileChartColumn:as,FileChartColumnIncreasing:ts,FileChartLine:rs,FileChartPie:ns,FileCheck:Wy,FileCheck2:Gy,FileClock:Zy,FileCode:Xy,FileCode2:Jy,FileCog:ss,FileDiff:Yy,FileDigit:Ky,FileDown:Qy,FileHeart:em,FileImage:tm,FileInput:am,FileJson:nm,FileJson2:rm,FileKey:im,FileKey2:sm,FileLock:cm,FileLock2:om,FileMinus:dm,FileMinus2:lm,FileMusic:hm,FileOutput:um,FilePen:os,FilePenLine:is,FilePlus:ym,FilePlus2:pm,FileQuestion:mm,FileScan:fm,FileSearch:gm,FileSearch2:xm,FileSliders:km,FileSpreadsheet:vm,FileStack:wm,FileSymlink:bm,FileTerminal:Mm,FileText:Vo,FileType:Cm,FileType2:jm,FileUp:Sm,FileUser:Lm,FileVideo:Im,FileVideo2:Nm,FileVolume:Pm,FileVolume2:Am,FileWarning:_m,FileX:Tm,FileX2:Rm,Files:Dm,Film:zm,Filter:gr,FilterX:Em,Fingerprint:Fm,FireExtinguisher:Om,Fish:Bm,FishOff:Hm,FishSymbol:Vm,Flag:Ac,FlagOff:$m,FlagTriangleLeft:Um,FlagTriangleRight:Gm,Flame:Zm,FlameKindling:Wm,Flashlight:Xm,FlashlightOff:Jm,FlaskConical:Km,FlaskConicalOff:Ym,FlaskRound:Qm,FlipHorizontal:tf,FlipHorizontal2:ef,FlipVertical:rf,FlipVertical2:af,Flower:sf,Flower2:nf,Focus:of,FoldHorizontal:cf,FoldVertical:lf,Folder:zf,FolderArchive:df,FolderCheck:hf,FolderClock:uf,FolderClosed:pf,FolderCode:yf,FolderCog:cs,FolderDot:mf,FolderDown:ff,FolderGit:gf,FolderGit2:xf,FolderHeart:kf,FolderInput:vf,FolderKanban:wf,FolderKey:bf,FolderLock:Mf,FolderMinus:jf,FolderOpen:Sf,FolderOpenDot:Cf,FolderOutput:Lf,FolderPen:ls,FolderPlus:Nf,FolderRoot:If,FolderSearch:Pf,FolderSearch2:Af,FolderSymlink:_f,FolderSync:Rf,FolderTree:Tf,FolderUp:qf,FolderX:Df,Folders:Ef,Footprints:Ff,Forklift:Of,Forward:Hf,Frame:Vf,Framer:Bf,Frown:$f,Fuel:Uf,Fullscreen:Gf,GalleryHorizontal:Zf,GalleryHorizontalEnd:Wf,GalleryThumbnails:Jf,GalleryVertical:Yf,GalleryVerticalEnd:Xf,Gamepad:Kf,Gamepad2:Pc,Gauge:Qf,Gavel:ex,Gem:tx,Ghost:ax,Gift:rx,GitBranch:sx,GitBranchPlus:nx,GitCommitHorizontal:ds,GitCommitVertical:ix,GitCompare:cx,GitCompareArrows:ox,GitFork:lx,GitGraph:dx,GitMerge:hx,GitPullRequest:xx,GitPullRequestArrow:ux,GitPullRequestClosed:px,GitPullRequestCreate:mx,GitPullRequestCreateArrow:yx,GitPullRequestDraft:fx,Github:gx,Gitlab:kx,GlassWater:vx,Glasses:wx,Globe:na,GlobeLock:bx,Goal:Mx,Grab:jx,GraduationCap:kr,Grape:Cx,Grid2x2:hs,Grid2x2Check:Sx,Grid2x2Plus:Lx,Grid2x2X:Nx,Grid3x3:pa,Grip:Px,GripHorizontal:Ix,GripVertical:Ax,Group:_x,Guitar:Rx,Ham:Tx,Hammer:qx,Hand:Ox,HandCoins:Dx,HandHeart:zx,HandHelping:us,HandMetal:Ex,HandPlatter:Fx,Handshake:Hx,HardDrive:$x,HardDriveDownload:Vx,HardDriveUpload:Bx,HardHat:Ux,Hash:Gx,Haze:Wx,HdmiPort:Zx,Heading:tg,Heading1:Jx,Heading2:Xx,Heading3:Yx,Heading4:Kx,Heading5:Qx,Heading6:eg,HeadphoneOff:ag,Headphones:rg,Headset:ng,Heart:vr,HeartCrack:sg,HeartHandshake:ig,HeartOff:og,HeartPulse:cg,Heater:lg,Hexagon:dg,Highlighter:hg,History:ug,Hop:yg,HopOff:pg,Hospital:mg,Hotel:fg,Hourglass:xg,House:Ua,HousePlug:gg,HousePlus:kg,IceCreamBowl:ps,IceCreamCone:ys,IdCard:vg,Image:Lg,ImageDown:wg,ImageMinus:bg,ImageOff:Mg,ImagePlay:jg,ImagePlus:Cg,ImageUp:Sg,Images:Ng,Import:Ig,Inbox:Ag,IndentDecrease:ms,IndentIncrease:fs,IndianRupee:Pg,Infinity:_g,Info:Rg,InspectionPanel:Tg,Instagram:qg,Italic:Dg,IterationCcw:zg,IterationCw:Eg,JapaneseYen:Fg,Joystick:Og,Kanban:Hg,Key:$g,KeyRound:Vg,KeySquare:Bg,Keyboard:Wg,KeyboardMusic:Ug,KeyboardOff:Gg,Lamp:Qg,LampCeiling:Zg,LampDesk:Jg,LampFloor:Xg,LampWallDown:Yg,LampWallUp:Kg,LandPlot:e4,Landmark:t4,Languages:_c,Laptop:a4,LaptopMinimal:xs,Lasso:n4,LassoSelect:r4,Laugh:s4,Layers:c4,Layers2:i4,Layers3:o4,LayoutDashboard:Rc,LayoutGrid:l4,LayoutList:d4,LayoutPanelLeft:h4,LayoutPanelTop:u4,LayoutTemplate:p4,Leaf:y4,LeafyGreen:m4,Lectern:f4,LetterText:x4,Library:k4,LibraryBig:g4,LifeBuoy:v4,Ligature:w4,Lightbulb:M4,LightbulbOff:b4,Link:Tc,Link2:C4,Link2Off:j4,Linkedin:qc,List:Dc,ListCheck:S4,ListChecks:L4,ListCollapse:N4,ListEnd:I4,ListFilter:A4,ListMinus:P4,ListMusic:_4,ListOrdered:R4,ListPlus:T4,ListRestart:q4,ListStart:D4,ListTodo:z4,ListTree:E4,ListVideo:F4,ListX:O4,Loader:V4,LoaderCircle:ma,LoaderPinwheel:H4,Locate:U4,LocateFixed:B4,LocateOff:$4,Lock:uo,LockKeyhole:G4,LockKeyholeOpen:gs,LockOpen:ks,LogIn:W4,LogOut:zc,Logs:Z4,Lollipop:J4,Luggage:X4,Magnet:Y4,Mail:sa,MailCheck:K4,MailMinus:Q4,MailOpen:ek,MailPlus:tk,MailQuestion:ak,MailSearch:rk,MailWarning:nk,MailX:sk,Mailbox:ik,Mails:ok,Map:kk,MapPin:ct,MapPinCheck:lk,MapPinCheckInside:ck,MapPinHouse:dk,MapPinMinus:uk,MapPinMinusInside:hk,MapPinOff:pk,MapPinPlus:mk,MapPinPlusInside:yk,MapPinX:xk,MapPinXInside:fk,MapPinned:gk,Martini:vk,Maximize:bk,Maximize2:wk,Medal:Mk,Megaphone:Ck,MegaphoneOff:jk,Meh:Sk,MemoryStick:Lk,Menu:Bo,Merge:Nk,MessageCircle:Fk,MessageCircleCode:Ik,MessageCircleDashed:Ak,MessageCircleHeart:Pk,MessageCircleMore:_k,MessageCircleOff:Rk,MessageCirclePlus:Tk,MessageCircleQuestion:qk,MessageCircleReply:Dk,MessageCircleWarning:zk,MessageCircleX:Ek,MessageSquare:wr,MessageSquareCode:Ok,MessageSquareDashed:Hk,MessageSquareDiff:Vk,MessageSquareDot:Bk,MessageSquareHeart:$k,MessageSquareLock:Uk,MessageSquareMore:Gk,MessageSquareOff:Wk,MessageSquarePlus:Zk,MessageSquareQuote:Jk,MessageSquareReply:Xk,MessageSquareShare:Yk,MessageSquareText:Kk,MessageSquareWarning:Qk,MessageSquareX:e5,MessagesSquare:t5,Mic:r5,MicOff:a5,MicVocal:vs,Microchip:n5,Microscope:s5,Microwave:i5,Milestone:o5,Milk:l5,MilkOff:c5,Minimize:h5,Minimize2:d5,Minus:Ec,Monitor:j5,MonitorCheck:u5,MonitorCog:p5,MonitorDot:y5,MonitorDown:m5,MonitorOff:f5,MonitorPause:x5,MonitorPlay:g5,MonitorSmartphone:k5,MonitorSpeaker:v5,MonitorStop:w5,MonitorUp:b5,MonitorX:M5,Moon:S5,MoonStar:C5,Mountain:N5,MountainSnow:L5,Mouse:T5,MouseOff:I5,MousePointer:R5,MousePointer2:A5,MousePointerBan:P5,MousePointerClick:_5,Move:W5,Move3d:ws,MoveDiagonal:D5,MoveDiagonal2:q5,MoveDown:F5,MoveDownLeft:z5,MoveDownRight:E5,MoveHorizontal:O5,MoveLeft:H5,MoveRight:V5,MoveUp:U5,MoveUpLeft:B5,MoveUpRight:$5,MoveVertical:G5,Music:Y5,Music2:Z5,Music3:J5,Music4:X5,Navigation:tv,Navigation2:Q5,Navigation2Off:K5,NavigationOff:ev,Network:av,Newspaper:_a,Nfc:rv,Notebook:ov,NotebookPen:nv,NotebookTabs:sv,NotebookText:iv,NotepadText:lv,NotepadTextDashed:cv,Nut:hv,NutOff:dv,Octagon:pv,OctagonAlert:bs,OctagonMinus:uv,OctagonPause:Ms,OctagonX:js,Omega:yv,Option:mv,Orbit:fv,Origami:xv,Package:Fc,Package2:gv,PackageCheck:kv,PackageMinus:vv,PackageOpen:wv,PackagePlus:bv,PackageSearch:Mv,PackageX:jv,PaintBucket:Cv,PaintRoller:Sv,Paintbrush:Lv,PaintbrushVertical:Cs,Palette:Nv,PanelBottom:Pv,PanelBottomClose:Iv,PanelBottomDashed:Ss,PanelBottomOpen:Av,PanelLeft:As,PanelLeftClose:Ls,PanelLeftDashed:Ns,PanelLeftOpen:Is,PanelRight:Tv,PanelRightClose:_v,PanelRightDashed:Ps,PanelRightOpen:Rv,PanelTop:zv,PanelTopClose:qv,PanelTopDashed:_s,PanelTopOpen:Dv,PanelsLeftBottom:Ev,PanelsRightBottom:Fv,PanelsTopLeft:Rs,Paperclip:Ov,Parentheses:Hv,ParkingMeter:Vv,PartyPopper:Bv,Pause:$v,PawPrint:Uv,PcCase:Gv,Pen:qs,PenLine:Ts,PenOff:Wv,PenTool:Zv,Pencil:Kv,PencilLine:Jv,PencilOff:Xv,PencilRuler:Yv,Pentagon:Qv,Percent:e3,PersonStanding:t3,PhilippinePeso:a3,Phone:br,PhoneCall:r3,PhoneForwarded:n3,PhoneIncoming:s3,PhoneMissed:i3,PhoneOff:o3,PhoneOutgoing:c3,Pi:l3,Piano:d3,Pickaxe:h3,PictureInPicture:p3,PictureInPicture2:u3,PiggyBank:y3,Pilcrow:x3,PilcrowLeft:m3,PilcrowRight:f3,Pill:k3,PillBottle:g3,Pin:w3,PinOff:v3,Pipette:b3,Pizza:M3,Plane:S3,PlaneLanding:j3,PlaneTakeoff:C3,Play:Oc,Plug:N3,Plug2:L3,PlugZap:Ds,Plus:$o,Pocket:A3,PocketKnife:I3,Podcast:P3,Pointer:R3,PointerOff:_3,Popcorn:T3,Popsicle:q3,PoundSterling:D3,Power:E3,PowerOff:z3,Presentation:F3,Printer:H3,PrinterCheck:O3,Projector:V3,Proportions:B3,Puzzle:$3,Pyramid:U3,QrCode:G3,Quote:Uo,Rabbit:W3,Radar:Z3,Radiation:J3,Radical:X3,Radio:Q3,RadioReceiver:Y3,RadioTower:K3,Radius:e6,RailSymbol:t6,Rainbow:a6,Rat:r6,Ratio:n6,Receipt:p6,ReceiptCent:s6,ReceiptEuro:i6,ReceiptIndianRupee:o6,ReceiptJapaneseYen:c6,ReceiptPoundSterling:l6,ReceiptRussianRuble:d6,ReceiptSwissFranc:h6,ReceiptText:u6,RectangleEllipsis:zs,RectangleHorizontal:y6,RectangleVertical:m6,Recycle:f6,Redo:k6,Redo2:x6,RedoDot:g6,RefreshCcw:w6,RefreshCcwDot:v6,RefreshCw:M6,RefreshCwOff:b6,Refrigerator:j6,Regex:C6,RemoveFormatting:S6,Repeat:I6,Repeat1:L6,Repeat2:N6,Replace:P6,ReplaceAll:A6,Reply:R6,ReplyAll:_6,Rewind:T6,Ribbon:q6,Rocket:D6,RockingChair:z6,RollerCoaster:E6,Rotate3d:Es,RotateCcw:O6,RotateCcwSquare:F6,RotateCw:V6,RotateCwSquare:H6,Route:$6,RouteOff:B6,Router:U6,Rows2:Fs,Rows3:Os,Rows4:G6,Rss:W6,Ruler:Z6,RussianRuble:J6,Sailboat:X6,Salad:Y6,Sandwich:K6,Satellite:e8,SatelliteDish:Q6,Save:r8,SaveAll:t8,SaveOff:a8,Scale:n8,Scale3d:Hs,Scaling:s8,Scan:p8,ScanBarcode:i8,ScanEye:o8,ScanFace:c8,ScanLine:l8,ScanQrCode:d8,ScanSearch:h8,ScanText:u8,School:y8,Scissors:f8,ScissorsLineDashed:m8,ScreenShare:g8,ScreenShareOff:x8,Scroll:v8,ScrollText:k8,Search:$t,SearchCheck:w8,SearchCode:b8,SearchSlash:M8,SearchX:j8,Section:C8,Send:Hc,SendHorizontal:Vs,SendToBack:S8,SeparatorHorizontal:L8,SeparatorVertical:N8,Server:_8,ServerCog:I8,ServerCrash:A8,ServerOff:P8,Settings:Go,Settings2:R8,Shapes:T8,Share:q8,Share2:po,Sheet:D8,Shell:z8,Shield:Mr,ShieldAlert:E8,ShieldBan:F8,ShieldCheck:Vc,ShieldEllipsis:O8,ShieldHalf:H8,ShieldMinus:V8,ShieldOff:B8,ShieldPlus:$8,ShieldQuestion:U8,ShieldX:Bs,Ship:W8,ShipWheel:G8,Shirt:Z8,ShoppingBag:J8,ShoppingBasket:X8,ShoppingCart:Wo,Shovel:Y8,ShowerHead:K8,Shrink:Q8,Shrub:ew,Shuffle:tw,Sigma:aw,Signal:Bc,SignalHigh:rw,SignalLow:nw,SignalMedium:sw,SignalZero:iw,Signature:ow,Signpost:lw,SignpostBig:cw,Siren:dw,SkipBack:hw,SkipForward:uw,Skull:pw,Slack:yw,Slash:mw,Slice:fw,SlidersHorizontal:jr,SlidersVertical:$s,Smartphone:kw,SmartphoneCharging:xw,SmartphoneNfc:gw,Smile:ww,SmilePlus:vw,Snail:bw,Snowflake:Mw,Sofa:jw,Soup:Cw,Space:Sw,Spade:Lw,Sparkle:Nw,Sparkles:La,Speaker:Iw,Speech:Aw,SpellCheck:_w,SpellCheck2:Pw,Spline:Rw,Split:Tw,SprayCan:qw,Sprout:Dw,Square:Vw,SquareActivity:Us,SquareArrowDown:Zs,SquareArrowDownLeft:Gs,SquareArrowDownRight:Ws,SquareArrowLeft:Ga,SquareArrowOutDownLeft:Js,SquareArrowOutDownRight:Xs,SquareArrowOutUpLeft:Ys,SquareArrowOutUpRight:Ks,SquareArrowRight:Wa,SquareArrowUp:ti,SquareArrowUpLeft:Qs,SquareArrowUpRight:ei,SquareAsterisk:ai,SquareBottomDashedScissors:ri,SquareChartGantt:ja,SquareCheck:si,SquareCheckBig:ni,SquareChevronDown:ii,SquareChevronLeft:oi,SquareChevronRight:ci,SquareChevronUp:li,SquareCode:di,SquareDashed:pi,SquareDashedBottom:Ew,SquareDashedBottomCode:zw,SquareDashedKanban:hi,SquareDashedMousePointer:ui,SquareDivide:yi,SquareDot:mi,SquareEqual:fi,SquareFunction:xi,SquareKanban:gi,SquareLibrary:ki,SquareM:vi,SquareMenu:wi,SquareMinus:bi,SquareMousePointer:Mi,SquareParking:Ci,SquareParkingOff:ji,SquarePen:qt,SquarePercent:Si,SquarePi:Li,SquarePilcrow:Ni,SquarePlay:Ii,SquarePlus:Ai,SquarePower:Pi,SquareRadical:Fw,SquareScissors:_i,SquareSigma:Ri,SquareSlash:Ti,SquareSplitHorizontal:qi,SquareSplitVertical:Di,SquareSquare:Ow,SquareStack:Hw,SquareTerminal:zi,SquareUser:Fi,SquareUserRound:Ei,SquareX:Oi,Squircle:Bw,Squirrel:$w,Stamp:Uw,Star:Lt,StarHalf:Gw,StarOff:Ww,StepBack:Zw,StepForward:Jw,Stethoscope:Xw,Sticker:Yw,StickyNote:Kw,Store:Qw,StretchHorizontal:e7,StretchVertical:t7,Strikethrough:a7,Subscript:r7,Sun:c7,SunDim:n7,SunMedium:s7,SunMoon:i7,SunSnow:o7,Sunrise:l7,Sunset:d7,Superscript:h7,SwatchBook:u7,SwissFranc:p7,SwitchCamera:y7,Sword:m7,Swords:f7,Syringe:x7,Table:C7,Table2:g7,TableCellsMerge:k7,TableCellsSplit:v7,TableColumnsSplit:w7,TableOfContents:b7,TableProperties:M7,TableRowsSplit:j7,Tablet:L7,TabletSmartphone:S7,Tablets:N7,Tag:$c,Tags:I7,Tally1:A7,Tally2:P7,Tally3:_7,Tally4:R7,Tally5:T7,Tangent:q7,Target:D7,Telescope:z7,Tent:F7,TentTree:E7,Terminal:O7,TestTube:H7,TestTubeDiagonal:Hi,TestTubes:V7,Text:W7,TextCursor:$7,TextCursorInput:B7,TextQuote:U7,TextSearch:G7,TextSelect:Vi,Theater:Z7,Thermometer:Y7,ThermometerSnowflake:J7,ThermometerSun:X7,ThumbsDown:K7,ThumbsUp:Q7,Ticket:ib,TicketCheck:eb,TicketMinus:tb,TicketPercent:ab,TicketPlus:rb,TicketSlash:nb,TicketX:sb,Tickets:cb,TicketsPlane:ob,Timer:hb,TimerOff:lb,TimerReset:db,ToggleLeft:ub,ToggleRight:pb,Tornado:yb,Torus:mb,Touchpad:xb,TouchpadOff:fb,TowerControl:gb,ToyBrick:kb,Tractor:vb,TrafficCone:wb,TrainFront:Mb,TrainFrontTunnel:bb,TrainTrack:jb,TramFront:Bi,Trash:Cb,Trash2:Zo,TreeDeciduous:Sb,TreePalm:$i,TreePine:Lb,Trees:Nb,Trello:Ib,TrendingDown:Ab,TrendingUp:Ra,TrendingUpDown:Pb,Triangle:Rb,TriangleAlert:Ui,TriangleRight:_b,Trophy:Tb,Truck:qb,Turtle:Db,Tv:Eb,TvMinimal:Gi,TvMinimalPlay:zb,Twitch:Fb,Twitter:Ob,Type:Vb,TypeOutline:Hb,Umbrella:$b,UmbrellaOff:Bb,Underline:Ub,Undo:Zb,Undo2:Gb,UndoDot:Wb,UnfoldHorizontal:Jb,UnfoldVertical:Xb,Ungroup:Yb,University:Wi,Unlink:Qb,Unlink2:Kb,Unplug:eM,Upload:Uc,Usb:tM,User:Jo,UserCheck:Gc,UserCog:aM,UserMinus:rM,UserPen:nM,UserPlus:sM,UserRound:Qi,UserRoundCheck:Zi,UserRoundCog:Ji,UserRoundMinus:Xi,UserRoundPen:iM,UserRoundPlus:Yi,UserRoundSearch:oM,UserRoundX:Ki,UserSearch:cM,UserX:lM,Users:Nt,UsersRound:eo,Utensils:ao,UtensilsCrossed:to,UtilityPole:dM,Variable:hM,Vault:uM,Vegan:pM,VenetianMask:yM,Vibrate:fM,VibrateOff:mM,Video:gM,VideoOff:xM,Videotape:kM,View:vM,Voicemail:wM,Volleyball:bM,Volume:LM,Volume1:MM,Volume2:jM,VolumeOff:CM,VolumeX:SM,Vote:NM,Wallet:AM,WalletCards:IM,WalletMinimal:ro,Wallpaper:PM,Wand:_M,WandSparkles:no,Warehouse:RM,WashingMachine:TM,Watch:qM,Waves:DM,Waypoints:zM,Webcam:EM,Webhook:OM,WebhookOff:FM,Weight:HM,Wheat:BM,WheatOff:VM,WholeWord:$M,Wifi:JM,WifiHigh:UM,WifiLow:GM,WifiOff:WM,WifiZero:ZM,Wind:XM,Wine:KM,WineOff:YM,Workflow:QM,Worm:e9,WrapText:t9,Wrench:a9,X:Ct,Youtube:r9,Zap:Wc,ZapOff:n9,ZoomIn:s9,ZoomOut:i9},Symbol.toStringTag,{value:"Module"}));/**
7721
7721
  * @license lucide-react v0.451.0 - ISC
7722
7722
  *
7723
7723
  * This source code is licensed under the ISC license.
7724
7724
  * See the LICENSE file in the root directory of this source tree.
7725
- */const xq=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:Rl,AArrowDownIcon:Rl,AArrowUp:Tl,AArrowUpIcon:Tl,ALargeSmall:ql,ALargeSmallIcon:ql,Accessibility:Dl,AccessibilityIcon:Dl,Activity:zl,ActivityIcon:zl,ActivitySquare:Us,ActivitySquareIcon:Us,AirVent:El,AirVentIcon:El,Airplay:Fl,AirplayIcon:Fl,AlarmCheck:Vr,AlarmCheckIcon:Vr,AlarmClock:Hl,AlarmClockCheck:Vr,AlarmClockCheckIcon:Vr,AlarmClockIcon:Hl,AlarmClockMinus:Br,AlarmClockMinusIcon:Br,AlarmClockOff:Ol,AlarmClockOffIcon:Ol,AlarmClockPlus:$r,AlarmClockPlusIcon:$r,AlarmMinus:Br,AlarmMinusIcon:Br,AlarmPlus:$r,AlarmPlusIcon:$r,AlarmSmoke:Vl,AlarmSmokeIcon:Vl,Album:Bl,AlbumIcon:Bl,AlertCircle:Dt,AlertCircleIcon:Dt,AlertOctagon:bs,AlertOctagonIcon:bs,AlertTriangle:Ui,AlertTriangleIcon:Ui,AlignCenter:Gl,AlignCenterHorizontal:$l,AlignCenterHorizontalIcon:$l,AlignCenterIcon:Gl,AlignCenterVertical:Ul,AlignCenterVerticalIcon:Ul,AlignEndHorizontal:Wl,AlignEndHorizontalIcon:Wl,AlignEndVertical:Zl,AlignEndVerticalIcon:Zl,AlignHorizontalDistributeCenter:Jl,AlignHorizontalDistributeCenterIcon:Jl,AlignHorizontalDistributeEnd:Xl,AlignHorizontalDistributeEndIcon:Xl,AlignHorizontalDistributeStart:Yl,AlignHorizontalDistributeStartIcon:Yl,AlignHorizontalJustifyCenter:Kl,AlignHorizontalJustifyCenterIcon:Kl,AlignHorizontalJustifyEnd:Ql,AlignHorizontalJustifyEndIcon:Ql,AlignHorizontalJustifyStart:e1,AlignHorizontalJustifyStartIcon:e1,AlignHorizontalSpaceAround:t1,AlignHorizontalSpaceAroundIcon:t1,AlignHorizontalSpaceBetween:a1,AlignHorizontalSpaceBetweenIcon:a1,AlignJustify:r1,AlignJustifyIcon:r1,AlignLeft:n1,AlignLeftIcon:n1,AlignRight:s1,AlignRightIcon:s1,AlignStartHorizontal:i1,AlignStartHorizontalIcon:i1,AlignStartVertical:o1,AlignStartVerticalIcon:o1,AlignVerticalDistributeCenter:c1,AlignVerticalDistributeCenterIcon:c1,AlignVerticalDistributeEnd:l1,AlignVerticalDistributeEndIcon:l1,AlignVerticalDistributeStart:d1,AlignVerticalDistributeStartIcon:d1,AlignVerticalJustifyCenter:h1,AlignVerticalJustifyCenterIcon:h1,AlignVerticalJustifyEnd:u1,AlignVerticalJustifyEndIcon:u1,AlignVerticalJustifyStart:p1,AlignVerticalJustifyStartIcon:p1,AlignVerticalSpaceAround:y1,AlignVerticalSpaceAroundIcon:y1,AlignVerticalSpaceBetween:m1,AlignVerticalSpaceBetweenIcon:m1,Ambulance:f1,AmbulanceIcon:f1,Ampersand:x1,AmpersandIcon:x1,Ampersands:g1,AmpersandsIcon:g1,Amphora:k1,AmphoraIcon:k1,Anchor:v1,AnchorIcon:v1,Angry:w1,AngryIcon:w1,Annoyed:b1,AnnoyedIcon:b1,Antenna:M1,AntennaIcon:M1,Anvil:j1,AnvilIcon:j1,Aperture:C1,ApertureIcon:C1,AppWindow:L1,AppWindowIcon:L1,AppWindowMac:S1,AppWindowMacIcon:S1,Apple:N1,AppleIcon:N1,Archive:P1,ArchiveIcon:P1,ArchiveRestore:I1,ArchiveRestoreIcon:I1,ArchiveX:A1,ArchiveXIcon:A1,AreaChart:nn,AreaChartIcon:nn,Armchair:_1,ArmchairIcon:_1,ArrowBigDown:T1,ArrowBigDownDash:R1,ArrowBigDownDashIcon:R1,ArrowBigDownIcon:T1,ArrowBigLeft:D1,ArrowBigLeftDash:q1,ArrowBigLeftDashIcon:q1,ArrowBigLeftIcon:D1,ArrowBigRight:E1,ArrowBigRightDash:z1,ArrowBigRightDashIcon:z1,ArrowBigRightIcon:E1,ArrowBigUp:O1,ArrowBigUpDash:F1,ArrowBigUpDashIcon:F1,ArrowBigUpIcon:O1,ArrowDown:X1,ArrowDown01:H1,ArrowDown01Icon:H1,ArrowDown10:V1,ArrowDown10Icon:V1,ArrowDownAZ:Ur,ArrowDownAZIcon:Ur,ArrowDownAz:Ur,ArrowDownAzIcon:Ur,ArrowDownCircle:xn,ArrowDownCircleIcon:xn,ArrowDownFromLine:B1,ArrowDownFromLineIcon:B1,ArrowDownIcon:X1,ArrowDownLeft:$1,ArrowDownLeftFromCircle:kn,ArrowDownLeftFromCircleIcon:kn,ArrowDownLeftFromSquare:Js,ArrowDownLeftFromSquareIcon:Js,ArrowDownLeftIcon:$1,ArrowDownLeftSquare:Gs,ArrowDownLeftSquareIcon:Gs,ArrowDownNarrowWide:U1,ArrowDownNarrowWideIcon:U1,ArrowDownRight:G1,ArrowDownRightFromCircle:vn,ArrowDownRightFromCircleIcon:vn,ArrowDownRightFromSquare:Xs,ArrowDownRightFromSquareIcon:Xs,ArrowDownRightIcon:G1,ArrowDownRightSquare:Ws,ArrowDownRightSquareIcon:Ws,ArrowDownSquare:Zs,ArrowDownSquareIcon:Zs,ArrowDownToDot:W1,ArrowDownToDotIcon:W1,ArrowDownToLine:Z1,ArrowDownToLineIcon:Z1,ArrowDownUp:J1,ArrowDownUpIcon:J1,ArrowDownWideNarrow:Gr,ArrowDownWideNarrowIcon:Gr,ArrowDownZA:Wr,ArrowDownZAIcon:Wr,ArrowDownZa:Wr,ArrowDownZaIcon:Wr,ArrowLeft:Ga,ArrowLeftCircle:gn,ArrowLeftCircleIcon:gn,ArrowLeftFromLine:Y1,ArrowLeftFromLineIcon:Y1,ArrowLeftIcon:Ga,ArrowLeftRight:K1,ArrowLeftRightIcon:K1,ArrowLeftSquare:Ba,ArrowLeftSquareIcon:Ba,ArrowLeftToLine:Q1,ArrowLeftToLineIcon:Q1,ArrowRight:co,ArrowRightCircle:Mn,ArrowRightCircleIcon:Mn,ArrowRightFromLine:ed,ArrowRightFromLineIcon:ed,ArrowRightIcon:co,ArrowRightLeft:td,ArrowRightLeftIcon:td,ArrowRightSquare:$a,ArrowRightSquareIcon:$a,ArrowRightToLine:ad,ArrowRightToLineIcon:ad,ArrowUp:ud,ArrowUp01:rd,ArrowUp01Icon:rd,ArrowUp10:nd,ArrowUp10Icon:nd,ArrowUpAZ:Zr,ArrowUpAZIcon:Zr,ArrowUpAz:Zr,ArrowUpAzIcon:Zr,ArrowUpCircle:jn,ArrowUpCircleIcon:jn,ArrowUpDown:sd,ArrowUpDownIcon:sd,ArrowUpFromDot:id,ArrowUpFromDotIcon:id,ArrowUpFromLine:od,ArrowUpFromLineIcon:od,ArrowUpIcon:ud,ArrowUpLeft:cd,ArrowUpLeftFromCircle:wn,ArrowUpLeftFromCircleIcon:wn,ArrowUpLeftFromSquare:Ys,ArrowUpLeftFromSquareIcon:Ys,ArrowUpLeftIcon:cd,ArrowUpLeftSquare:Qs,ArrowUpLeftSquareIcon:Qs,ArrowUpNarrowWide:Jr,ArrowUpNarrowWideIcon:Jr,ArrowUpRight:ld,ArrowUpRightFromCircle:bn,ArrowUpRightFromCircleIcon:bn,ArrowUpRightFromSquare:Ks,ArrowUpRightFromSquareIcon:Ks,ArrowUpRightIcon:ld,ArrowUpRightSquare:ei,ArrowUpRightSquareIcon:ei,ArrowUpSquare:ti,ArrowUpSquareIcon:ti,ArrowUpToLine:dd,ArrowUpToLineIcon:dd,ArrowUpWideNarrow:hd,ArrowUpWideNarrowIcon:hd,ArrowUpZA:Xr,ArrowUpZAIcon:Xr,ArrowUpZa:Xr,ArrowUpZaIcon:Xr,ArrowsUpFromLine:pd,ArrowsUpFromLineIcon:pd,Asterisk:yd,AsteriskIcon:yd,AsteriskSquare:ai,AsteriskSquareIcon:ai,AtSign:md,AtSignIcon:md,Atom:fd,AtomIcon:fd,AudioLines:xd,AudioLinesIcon:xd,AudioWaveform:gd,AudioWaveformIcon:gd,Award:Yt,AwardIcon:Yt,Axe:kd,AxeIcon:kd,Axis3D:Yr,Axis3DIcon:Yr,Axis3d:Yr,Axis3dIcon:Yr,Baby:vd,BabyIcon:vd,Backpack:wd,BackpackIcon:wd,Badge:bc,BadgeAlert:bd,BadgeAlertIcon:bd,BadgeCent:Md,BadgeCentIcon:Md,BadgeCheck:Kr,BadgeCheckIcon:Kr,BadgeDollarSign:jd,BadgeDollarSignIcon:jd,BadgeEuro:Cd,BadgeEuroIcon:Cd,BadgeHelp:Sd,BadgeHelpIcon:Sd,BadgeIcon:bc,BadgeIndianRupee:Ld,BadgeIndianRupeeIcon:Ld,BadgeInfo:Nd,BadgeInfoIcon:Nd,BadgeJapaneseYen:Id,BadgeJapaneseYenIcon:Id,BadgeMinus:Ad,BadgeMinusIcon:Ad,BadgePercent:Pd,BadgePercentIcon:Pd,BadgePlus:_d,BadgePlusIcon:_d,BadgePoundSterling:Rd,BadgePoundSterlingIcon:Rd,BadgeRussianRuble:Td,BadgeRussianRubleIcon:Td,BadgeSwissFranc:qd,BadgeSwissFrancIcon:qd,BadgeX:Dd,BadgeXIcon:Dd,BaggageClaim:zd,BaggageClaimIcon:zd,Ban:Ed,BanIcon:Ed,Banana:Fd,BananaIcon:Fd,Bandage:Od,BandageIcon:Od,Banknote:Hd,BanknoteIcon:Hd,BarChart:cr,BarChart2:pn,BarChart2Icon:pn,BarChart3:hn,BarChart3Icon:hn,BarChart4:dn,BarChart4Icon:dn,BarChartBig:ln,BarChartBigIcon:ln,BarChartHorizontal:on,BarChartHorizontalBig:sn,BarChartHorizontalBigIcon:sn,BarChartHorizontalIcon:on,BarChartIcon:cr,Barcode:Vd,BarcodeIcon:Vd,Baseline:Bd,BaselineIcon:Bd,Bath:$d,BathIcon:$d,Battery:Xd,BatteryCharging:Ud,BatteryChargingIcon:Ud,BatteryFull:Gd,BatteryFullIcon:Gd,BatteryIcon:Xd,BatteryLow:Wd,BatteryLowIcon:Wd,BatteryMedium:Zd,BatteryMediumIcon:Zd,BatteryWarning:Jd,BatteryWarningIcon:Jd,Beaker:Yd,BeakerIcon:Yd,Bean:Qd,BeanIcon:Qd,BeanOff:Kd,BeanOffIcon:Kd,Bed:a2,BedDouble:e2,BedDoubleIcon:e2,BedIcon:a2,BedSingle:t2,BedSingleIcon:t2,Beef:r2,BeefIcon:r2,Beer:s2,BeerIcon:s2,BeerOff:n2,BeerOffIcon:n2,Bell:zo,BellDot:i2,BellDotIcon:i2,BellElectric:o2,BellElectricIcon:o2,BellIcon:zo,BellMinus:c2,BellMinusIcon:c2,BellOff:l2,BellOffIcon:l2,BellPlus:d2,BellPlusIcon:d2,BellRing:h2,BellRingIcon:h2,BetweenHorizonalEnd:Qr,BetweenHorizonalEndIcon:Qr,BetweenHorizonalStart:en,BetweenHorizonalStartIcon:en,BetweenHorizontalEnd:Qr,BetweenHorizontalEndIcon:Qr,BetweenHorizontalStart:en,BetweenHorizontalStartIcon:en,BetweenVerticalEnd:u2,BetweenVerticalEndIcon:u2,BetweenVerticalStart:p2,BetweenVerticalStartIcon:p2,BicepsFlexed:y2,BicepsFlexedIcon:y2,Bike:m2,BikeIcon:m2,Binary:f2,BinaryIcon:f2,Binoculars:x2,BinocularsIcon:x2,Biohazard:g2,BiohazardIcon:g2,Bird:k2,BirdIcon:k2,Bitcoin:v2,BitcoinIcon:v2,Blend:w2,BlendIcon:w2,Blinds:b2,BlindsIcon:b2,Blocks:M2,BlocksIcon:M2,Bluetooth:L2,BluetoothConnected:j2,BluetoothConnectedIcon:j2,BluetoothIcon:L2,BluetoothOff:C2,BluetoothOffIcon:C2,BluetoothSearching:S2,BluetoothSearchingIcon:S2,Bold:N2,BoldIcon:N2,Bolt:I2,BoltIcon:I2,Bomb:A2,BombIcon:A2,Bone:P2,BoneIcon:P2,Book:Q2,BookA:_2,BookAIcon:_2,BookAudio:R2,BookAudioIcon:R2,BookCheck:T2,BookCheckIcon:T2,BookCopy:q2,BookCopyIcon:q2,BookDashed:tn,BookDashedIcon:tn,BookDown:D2,BookDownIcon:D2,BookHeadphones:z2,BookHeadphonesIcon:z2,BookHeart:E2,BookHeartIcon:E2,BookIcon:Q2,BookImage:F2,BookImageIcon:F2,BookKey:O2,BookKeyIcon:O2,BookLock:H2,BookLockIcon:H2,BookMarked:V2,BookMarkedIcon:V2,BookMinus:B2,BookMinusIcon:B2,BookOpen:ea,BookOpenCheck:$2,BookOpenCheckIcon:$2,BookOpenIcon:ea,BookOpenText:U2,BookOpenTextIcon:U2,BookPlus:G2,BookPlusIcon:G2,BookTemplate:tn,BookTemplateIcon:tn,BookText:W2,BookTextIcon:W2,BookType:Z2,BookTypeIcon:Z2,BookUp:X2,BookUp2:J2,BookUp2Icon:J2,BookUpIcon:X2,BookUser:Y2,BookUserIcon:Y2,BookX:K2,BookXIcon:K2,Bookmark:ya,BookmarkCheck:pa,BookmarkCheckIcon:pa,BookmarkIcon:ya,BookmarkMinus:eh,BookmarkMinusIcon:eh,BookmarkPlus:Mc,BookmarkPlusIcon:Mc,BookmarkX:th,BookmarkXIcon:th,BoomBox:ah,BoomBoxIcon:ah,Bot:jc,BotIcon:jc,BotMessageSquare:rh,BotMessageSquareIcon:rh,BotOff:nh,BotOffIcon:nh,Box:sh,BoxIcon:sh,BoxSelect:pi,BoxSelectIcon:pi,Boxes:ih,BoxesIcon:ih,Braces:an,BracesIcon:an,Brackets:oh,BracketsIcon:oh,Brain:dh,BrainCircuit:ch,BrainCircuitIcon:ch,BrainCog:lh,BrainCogIcon:lh,BrainIcon:dh,BrickWall:hh,BrickWallIcon:hh,Briefcase:at,BriefcaseBusiness:uh,BriefcaseBusinessIcon:uh,BriefcaseConveyorBelt:ph,BriefcaseConveyorBeltIcon:ph,BriefcaseIcon:at,BriefcaseMedical:yh,BriefcaseMedicalIcon:yh,BringToFront:mh,BringToFrontIcon:mh,Brush:fh,BrushIcon:fh,Bug:kh,BugIcon:kh,BugOff:xh,BugOffIcon:xh,BugPlay:gh,BugPlayIcon:gh,Building:Eo,Building2:xt,Building2Icon:xt,BuildingIcon:Eo,Bus:wh,BusFront:vh,BusFrontIcon:vh,BusIcon:wh,Cable:Mh,CableCar:bh,CableCarIcon:bh,CableIcon:Mh,Cake:Ch,CakeIcon:Ch,CakeSlice:jh,CakeSliceIcon:jh,Calculator:Sh,CalculatorIcon:Sh,Calendar:lo,CalendarArrowDown:Lh,CalendarArrowDownIcon:Lh,CalendarArrowUp:Nh,CalendarArrowUpIcon:Nh,CalendarCheck:Ah,CalendarCheck2:Ih,CalendarCheck2Icon:Ih,CalendarCheckIcon:Ah,CalendarClock:Ph,CalendarClockIcon:Ph,CalendarCog:_h,CalendarCogIcon:_h,CalendarDays:Cc,CalendarDaysIcon:Cc,CalendarFold:Rh,CalendarFoldIcon:Rh,CalendarHeart:Th,CalendarHeartIcon:Th,CalendarIcon:lo,CalendarMinus:Dh,CalendarMinus2:qh,CalendarMinus2Icon:qh,CalendarMinusIcon:Dh,CalendarOff:zh,CalendarOffIcon:zh,CalendarPlus:Fh,CalendarPlus2:Eh,CalendarPlus2Icon:Eh,CalendarPlusIcon:Fh,CalendarRange:Oh,CalendarRangeIcon:Oh,CalendarSearch:Hh,CalendarSearchIcon:Hh,CalendarX:Bh,CalendarX2:Vh,CalendarX2Icon:Vh,CalendarXIcon:Bh,Camera:Uh,CameraIcon:Uh,CameraOff:$h,CameraOffIcon:$h,CandlestickChart:cn,CandlestickChartIcon:cn,Candy:Zh,CandyCane:Gh,CandyCaneIcon:Gh,CandyIcon:Zh,CandyOff:Wh,CandyOffIcon:Wh,Cannabis:Jh,CannabisIcon:Jh,Captions:rn,CaptionsIcon:rn,CaptionsOff:Xh,CaptionsOffIcon:Xh,Car:Qh,CarFront:Yh,CarFrontIcon:Yh,CarIcon:Qh,CarTaxiFront:Kh,CarTaxiFrontIcon:Kh,Caravan:e0,CaravanIcon:e0,Carrot:t0,CarrotIcon:t0,CaseLower:a0,CaseLowerIcon:a0,CaseSensitive:r0,CaseSensitiveIcon:r0,CaseUpper:n0,CaseUpperIcon:n0,CassetteTape:s0,CassetteTapeIcon:s0,Cast:i0,CastIcon:i0,Castle:o0,CastleIcon:o0,Cat:c0,CatIcon:c0,Cctv:l0,CctvIcon:l0,ChartArea:nn,ChartAreaIcon:nn,ChartBar:on,ChartBarBig:sn,ChartBarBigIcon:sn,ChartBarDecreasing:d0,ChartBarDecreasingIcon:d0,ChartBarIcon:on,ChartBarIncreasing:h0,ChartBarIncreasingIcon:h0,ChartBarStacked:u0,ChartBarStackedIcon:u0,ChartCandlestick:cn,ChartCandlestickIcon:cn,ChartColumn:hn,ChartColumnBig:ln,ChartColumnBigIcon:ln,ChartColumnDecreasing:p0,ChartColumnDecreasingIcon:p0,ChartColumnIcon:hn,ChartColumnIncreasing:dn,ChartColumnIncreasingIcon:dn,ChartColumnStacked:y0,ChartColumnStackedIcon:y0,ChartGantt:m0,ChartGanttIcon:m0,ChartLine:un,ChartLineIcon:un,ChartNetwork:f0,ChartNetworkIcon:f0,ChartNoAxesColumn:pn,ChartNoAxesColumnDecreasing:x0,ChartNoAxesColumnDecreasingIcon:x0,ChartNoAxesColumnIcon:pn,ChartNoAxesColumnIncreasing:cr,ChartNoAxesColumnIncreasingIcon:cr,ChartNoAxesCombined:g0,ChartNoAxesCombinedIcon:g0,ChartNoAxesGantt:yn,ChartNoAxesGanttIcon:yn,ChartPie:mn,ChartPieIcon:mn,ChartScatter:fn,ChartScatterIcon:fn,ChartSpline:k0,ChartSplineIcon:k0,Check:Fo,CheckCheck:v0,CheckCheckIcon:v0,CheckCircle:zt,CheckCircle2:rt,CheckCircle2Icon:rt,CheckCircleIcon:zt,CheckIcon:Fo,CheckSquare:ni,CheckSquare2:si,CheckSquare2Icon:si,CheckSquareIcon:ni,ChefHat:w0,ChefHatIcon:w0,Cherry:b0,CherryIcon:b0,ChevronDown:yr,ChevronDownCircle:Cn,ChevronDownCircleIcon:Cn,ChevronDownIcon:yr,ChevronDownSquare:ii,ChevronDownSquareIcon:ii,ChevronFirst:M0,ChevronFirstIcon:M0,ChevronLast:j0,ChevronLastIcon:j0,ChevronLeft:mr,ChevronLeftCircle:Sn,ChevronLeftCircleIcon:Sn,ChevronLeftIcon:mr,ChevronLeftSquare:oi,ChevronLeftSquareIcon:oi,ChevronRight:fr,ChevronRightCircle:Ln,ChevronRightCircleIcon:Ln,ChevronRightIcon:fr,ChevronRightSquare:ci,ChevronRightSquareIcon:ci,ChevronUp:Oo,ChevronUpCircle:Nn,ChevronUpCircleIcon:Nn,ChevronUpIcon:Oo,ChevronUpSquare:li,ChevronUpSquareIcon:li,ChevronsDown:S0,ChevronsDownIcon:S0,ChevronsDownUp:C0,ChevronsDownUpIcon:C0,ChevronsLeft:I0,ChevronsLeftIcon:I0,ChevronsLeftRight:N0,ChevronsLeftRightEllipsis:L0,ChevronsLeftRightEllipsisIcon:L0,ChevronsLeftRightIcon:N0,ChevronsRight:P0,ChevronsRightIcon:P0,ChevronsRightLeft:A0,ChevronsRightLeftIcon:A0,ChevronsUp:R0,ChevronsUpDown:_0,ChevronsUpDownIcon:_0,ChevronsUpIcon:R0,Chrome:T0,ChromeIcon:T0,Church:q0,ChurchIcon:q0,Cigarette:z0,CigaretteIcon:z0,CigaretteOff:D0,CigaretteOffIcon:D0,Circle:Z0,CircleAlert:Dt,CircleAlertIcon:Dt,CircleArrowDown:xn,CircleArrowDownIcon:xn,CircleArrowLeft:gn,CircleArrowLeftIcon:gn,CircleArrowOutDownLeft:kn,CircleArrowOutDownLeftIcon:kn,CircleArrowOutDownRight:vn,CircleArrowOutDownRightIcon:vn,CircleArrowOutUpLeft:wn,CircleArrowOutUpLeftIcon:wn,CircleArrowOutUpRight:bn,CircleArrowOutUpRightIcon:bn,CircleArrowRight:Mn,CircleArrowRightIcon:Mn,CircleArrowUp:jn,CircleArrowUpIcon:jn,CircleCheck:rt,CircleCheckBig:zt,CircleCheckBigIcon:zt,CircleCheckIcon:rt,CircleChevronDown:Cn,CircleChevronDownIcon:Cn,CircleChevronLeft:Sn,CircleChevronLeftIcon:Sn,CircleChevronRight:Ln,CircleChevronRightIcon:Ln,CircleChevronUp:Nn,CircleChevronUpIcon:Nn,CircleDashed:E0,CircleDashedIcon:E0,CircleDivide:In,CircleDivideIcon:In,CircleDollarSign:F0,CircleDollarSignIcon:F0,CircleDot:H0,CircleDotDashed:O0,CircleDotDashedIcon:O0,CircleDotIcon:H0,CircleEllipsis:V0,CircleEllipsisIcon:V0,CircleEqual:B0,CircleEqualIcon:B0,CircleFadingArrowUp:$0,CircleFadingArrowUpIcon:$0,CircleFadingPlus:U0,CircleFadingPlusIcon:U0,CircleGauge:An,CircleGaugeIcon:An,CircleHelp:lr,CircleHelpIcon:lr,CircleIcon:Z0,CircleMinus:Pn,CircleMinusIcon:Pn,CircleOff:G0,CircleOffIcon:G0,CircleParking:Rn,CircleParkingIcon:Rn,CircleParkingOff:_n,CircleParkingOffIcon:_n,CirclePause:Tn,CirclePauseIcon:Tn,CirclePercent:qn,CirclePercentIcon:qn,CirclePlay:Dn,CirclePlayIcon:Dn,CirclePlus:zn,CirclePlusIcon:zn,CirclePower:En,CirclePowerIcon:En,CircleSlash:W0,CircleSlash2:Fn,CircleSlash2Icon:Fn,CircleSlashIcon:W0,CircleSlashed:Fn,CircleSlashedIcon:Fn,CircleStop:On,CircleStopIcon:On,CircleUser:Vn,CircleUserIcon:Vn,CircleUserRound:Hn,CircleUserRoundIcon:Hn,CircleX:ba,CircleXIcon:ba,CircuitBoard:J0,CircuitBoardIcon:J0,Citrus:X0,CitrusIcon:X0,Clapperboard:Y0,ClapperboardIcon:Y0,Clipboard:iu,ClipboardCheck:K0,ClipboardCheckIcon:K0,ClipboardCopy:Q0,ClipboardCopyIcon:Q0,ClipboardEdit:$n,ClipboardEditIcon:$n,ClipboardIcon:iu,ClipboardList:eu,ClipboardListIcon:eu,ClipboardMinus:tu,ClipboardMinusIcon:tu,ClipboardPaste:au,ClipboardPasteIcon:au,ClipboardPen:$n,ClipboardPenIcon:$n,ClipboardPenLine:Bn,ClipboardPenLineIcon:Bn,ClipboardPlus:ru,ClipboardPlusIcon:ru,ClipboardSignature:Bn,ClipboardSignatureIcon:Bn,ClipboardType:nu,ClipboardTypeIcon:nu,ClipboardX:su,ClipboardXIcon:su,Clock:ma,Clock1:ou,Clock10:cu,Clock10Icon:cu,Clock11:lu,Clock11Icon:lu,Clock12:du,Clock12Icon:du,Clock1Icon:ou,Clock2:hu,Clock2Icon:hu,Clock3:uu,Clock3Icon:uu,Clock4:pu,Clock4Icon:pu,Clock5:yu,Clock5Icon:yu,Clock6:mu,Clock6Icon:mu,Clock7:fu,Clock7Icon:fu,Clock8:xu,Clock8Icon:xu,Clock9:gu,Clock9Icon:gu,ClockAlert:ku,ClockAlertIcon:ku,ClockArrowDown:vu,ClockArrowDownIcon:vu,ClockArrowUp:wu,ClockArrowUpIcon:wu,ClockIcon:ma,Cloud:qu,CloudCog:bu,CloudCogIcon:bu,CloudDownload:Un,CloudDownloadIcon:Un,CloudDrizzle:Mu,CloudDrizzleIcon:Mu,CloudFog:ju,CloudFogIcon:ju,CloudHail:Cu,CloudHailIcon:Cu,CloudIcon:qu,CloudLightning:Su,CloudLightningIcon:Su,CloudMoon:Nu,CloudMoonIcon:Nu,CloudMoonRain:Lu,CloudMoonRainIcon:Lu,CloudOff:Iu,CloudOffIcon:Iu,CloudRain:Pu,CloudRainIcon:Pu,CloudRainWind:Au,CloudRainWindIcon:Au,CloudSnow:_u,CloudSnowIcon:_u,CloudSun:Tu,CloudSunIcon:Tu,CloudSunRain:Ru,CloudSunRainIcon:Ru,CloudUpload:dr,CloudUploadIcon:dr,Cloudy:Du,CloudyIcon:Du,Clover:zu,CloverIcon:zu,Club:Eu,ClubIcon:Eu,Code:Fu,Code2:Gn,Code2Icon:Gn,CodeIcon:Fu,CodeSquare:di,CodeSquareIcon:di,CodeXml:Gn,CodeXmlIcon:Gn,Codepen:Ou,CodepenIcon:Ou,Codesandbox:Hu,CodesandboxIcon:Hu,Coffee:Vu,CoffeeIcon:Vu,Cog:Bu,CogIcon:Bu,Coins:$u,CoinsIcon:$u,Columns:Wn,Columns2:Wn,Columns2Icon:Wn,Columns3:Zn,Columns3Icon:Zn,Columns4:Uu,Columns4Icon:Uu,ColumnsIcon:Wn,Combine:Gu,CombineIcon:Gu,Command:Wu,CommandIcon:Wu,Compass:Zu,CompassIcon:Zu,Component:Ju,ComponentIcon:Ju,Computer:Xu,ComputerIcon:Xu,ConciergeBell:Yu,ConciergeBellIcon:Yu,Cone:Ku,ConeIcon:Ku,Construction:Qu,ConstructionIcon:Qu,Contact:ep,Contact2:Jn,Contact2Icon:Jn,ContactIcon:ep,ContactRound:Jn,ContactRoundIcon:Jn,Container:tp,ContainerIcon:tp,Contrast:ap,ContrastIcon:ap,Cookie:rp,CookieIcon:rp,CookingPot:np,CookingPotIcon:np,Copy:dp,CopyCheck:sp,CopyCheckIcon:sp,CopyIcon:dp,CopyMinus:ip,CopyMinusIcon:ip,CopyPlus:op,CopyPlusIcon:op,CopySlash:cp,CopySlashIcon:cp,CopyX:lp,CopyXIcon:lp,Copyleft:hp,CopyleftIcon:hp,Copyright:up,CopyrightIcon:up,CornerDownLeft:pp,CornerDownLeftIcon:pp,CornerDownRight:yp,CornerDownRightIcon:yp,CornerLeftDown:mp,CornerLeftDownIcon:mp,CornerLeftUp:fp,CornerLeftUpIcon:fp,CornerRightDown:xp,CornerRightDownIcon:xp,CornerRightUp:gp,CornerRightUpIcon:gp,CornerUpLeft:kp,CornerUpLeftIcon:kp,CornerUpRight:vp,CornerUpRightIcon:vp,Cpu:wp,CpuIcon:wp,CreativeCommons:bp,CreativeCommonsIcon:bp,CreditCard:Sc,CreditCardIcon:Sc,Croissant:Mp,CroissantIcon:Mp,Crop:jp,CropIcon:jp,Cross:Cp,CrossIcon:Cp,Crosshair:Sp,CrosshairIcon:Sp,Crown:Lp,CrownIcon:Lp,Cuboid:Np,CuboidIcon:Np,CupSoda:Ip,CupSodaIcon:Ip,CurlyBraces:an,CurlyBracesIcon:an,Currency:Ap,CurrencyIcon:Ap,Cylinder:Pp,CylinderIcon:Pp,Dam:_p,DamIcon:_p,Database:qp,DatabaseBackup:Rp,DatabaseBackupIcon:Rp,DatabaseIcon:qp,DatabaseZap:Tp,DatabaseZapIcon:Tp,Delete:Dp,DeleteIcon:Dp,Dessert:zp,DessertIcon:zp,Diameter:Ep,DiameterIcon:Ep,Diamond:Hp,DiamondIcon:Hp,DiamondMinus:Fp,DiamondMinusIcon:Fp,DiamondPercent:Xn,DiamondPercentIcon:Xn,DiamondPlus:Op,DiamondPlusIcon:Op,Dice1:Vp,Dice1Icon:Vp,Dice2:Bp,Dice2Icon:Bp,Dice3:$p,Dice3Icon:$p,Dice4:Up,Dice4Icon:Up,Dice5:Gp,Dice5Icon:Gp,Dice6:Wp,Dice6Icon:Wp,Dices:Zp,DicesIcon:Zp,Diff:Jp,DiffIcon:Jp,Disc:Qp,Disc2:Xp,Disc2Icon:Xp,Disc3:Yp,Disc3Icon:Yp,DiscAlbum:Kp,DiscAlbumIcon:Kp,DiscIcon:Qp,Divide:ey,DivideCircle:In,DivideCircleIcon:In,DivideIcon:ey,DivideSquare:yi,DivideSquareIcon:yi,Dna:ay,DnaIcon:ay,DnaOff:ty,DnaOffIcon:ty,Dock:ry,DockIcon:ry,Dog:ny,DogIcon:ny,DollarSign:Lc,DollarSignIcon:Lc,Donut:sy,DonutIcon:sy,DoorClosed:iy,DoorClosedIcon:iy,DoorOpen:oy,DoorOpenIcon:oy,Dot:cy,DotIcon:cy,DotSquare:mi,DotSquareIcon:mi,Download:Nc,DownloadCloud:Un,DownloadCloudIcon:Un,DownloadIcon:Nc,DraftingCompass:ly,DraftingCompassIcon:ly,Drama:dy,DramaIcon:dy,Dribbble:hy,DribbbleIcon:hy,Drill:uy,DrillIcon:uy,Droplet:py,DropletIcon:py,Droplets:yy,DropletsIcon:yy,Drum:my,DrumIcon:my,Drumstick:fy,DrumstickIcon:fy,Dumbbell:xy,DumbbellIcon:xy,Ear:ky,EarIcon:ky,EarOff:gy,EarOffIcon:gy,Earth:Yn,EarthIcon:Yn,EarthLock:vy,EarthLockIcon:vy,Eclipse:wy,EclipseIcon:wy,Edit:Rt,Edit2:qs,Edit2Icon:qs,Edit3:Ts,Edit3Icon:Ts,EditIcon:Rt,Egg:jy,EggFried:by,EggFriedIcon:by,EggIcon:jy,EggOff:My,EggOffIcon:My,Ellipsis:Qn,EllipsisIcon:Qn,EllipsisVertical:Kn,EllipsisVerticalIcon:Kn,Equal:Sy,EqualIcon:Sy,EqualNot:Cy,EqualNotIcon:Cy,EqualSquare:fi,EqualSquareIcon:fi,Eraser:Ly,EraserIcon:Ly,EthernetPort:Ny,EthernetPortIcon:Ny,Euro:Iy,EuroIcon:Iy,Expand:Ay,ExpandIcon:Ay,ExternalLink:ho,ExternalLinkIcon:ho,Eye:Ho,EyeClosed:Py,EyeClosedIcon:Py,EyeIcon:Ho,EyeOff:Ic,EyeOffIcon:Ic,Facebook:_y,FacebookIcon:_y,Factory:Ry,FactoryIcon:Ry,Fan:Ty,FanIcon:Ty,FastForward:qy,FastForwardIcon:qy,Feather:Dy,FeatherIcon:Dy,Fence:zy,FenceIcon:zy,FerrisWheel:Ey,FerrisWheelIcon:Ey,Figma:Fy,FigmaIcon:Fy,File:qm,FileArchive:Oy,FileArchiveIcon:Oy,FileAudio:Vy,FileAudio2:Hy,FileAudio2Icon:Hy,FileAudioIcon:Vy,FileAxis3D:es,FileAxis3DIcon:es,FileAxis3d:es,FileAxis3dIcon:es,FileBadge:$y,FileBadge2:By,FileBadge2Icon:By,FileBadgeIcon:$y,FileBarChart:ts,FileBarChart2:as,FileBarChart2Icon:as,FileBarChartIcon:ts,FileBox:Uy,FileBoxIcon:Uy,FileChartColumn:as,FileChartColumnIcon:as,FileChartColumnIncreasing:ts,FileChartColumnIncreasingIcon:ts,FileChartLine:rs,FileChartLineIcon:rs,FileChartPie:ns,FileChartPieIcon:ns,FileCheck:Wy,FileCheck2:Gy,FileCheck2Icon:Gy,FileCheckIcon:Wy,FileClock:Zy,FileClockIcon:Zy,FileCode:Xy,FileCode2:Jy,FileCode2Icon:Jy,FileCodeIcon:Xy,FileCog:ss,FileCog2:ss,FileCog2Icon:ss,FileCogIcon:ss,FileDiff:Yy,FileDiffIcon:Yy,FileDigit:Ky,FileDigitIcon:Ky,FileDown:Qy,FileDownIcon:Qy,FileEdit:os,FileEditIcon:os,FileHeart:em,FileHeartIcon:em,FileIcon:qm,FileImage:tm,FileImageIcon:tm,FileInput:am,FileInputIcon:am,FileJson:nm,FileJson2:rm,FileJson2Icon:rm,FileJsonIcon:nm,FileKey:im,FileKey2:sm,FileKey2Icon:sm,FileKeyIcon:im,FileLineChart:rs,FileLineChartIcon:rs,FileLock:cm,FileLock2:om,FileLock2Icon:om,FileLockIcon:cm,FileMinus:dm,FileMinus2:lm,FileMinus2Icon:lm,FileMinusIcon:dm,FileMusic:hm,FileMusicIcon:hm,FileOutput:um,FileOutputIcon:um,FilePen:os,FilePenIcon:os,FilePenLine:is,FilePenLineIcon:is,FilePieChart:ns,FilePieChartIcon:ns,FilePlus:ym,FilePlus2:pm,FilePlus2Icon:pm,FilePlusIcon:ym,FileQuestion:mm,FileQuestionIcon:mm,FileScan:fm,FileScanIcon:fm,FileSearch:gm,FileSearch2:xm,FileSearch2Icon:xm,FileSearchIcon:gm,FileSignature:is,FileSignatureIcon:is,FileSliders:km,FileSlidersIcon:km,FileSpreadsheet:vm,FileSpreadsheetIcon:vm,FileStack:wm,FileStackIcon:wm,FileSymlink:bm,FileSymlinkIcon:bm,FileTerminal:Mm,FileTerminalIcon:Mm,FileText:Vo,FileTextIcon:Vo,FileType:Cm,FileType2:jm,FileType2Icon:jm,FileTypeIcon:Cm,FileUp:Sm,FileUpIcon:Sm,FileUser:Lm,FileUserIcon:Lm,FileVideo:Im,FileVideo2:Nm,FileVideo2Icon:Nm,FileVideoIcon:Im,FileVolume:Pm,FileVolume2:Am,FileVolume2Icon:Am,FileVolumeIcon:Pm,FileWarning:_m,FileWarningIcon:_m,FileX:Tm,FileX2:Rm,FileX2Icon:Rm,FileXIcon:Tm,Files:Dm,FilesIcon:Dm,Film:zm,FilmIcon:zm,Filter:xr,FilterIcon:xr,FilterX:Em,FilterXIcon:Em,Fingerprint:Fm,FingerprintIcon:Fm,FireExtinguisher:Om,FireExtinguisherIcon:Om,Fish:Bm,FishIcon:Bm,FishOff:Hm,FishOffIcon:Hm,FishSymbol:Vm,FishSymbolIcon:Vm,Flag:Ac,FlagIcon:Ac,FlagOff:$m,FlagOffIcon:$m,FlagTriangleLeft:Um,FlagTriangleLeftIcon:Um,FlagTriangleRight:Gm,FlagTriangleRightIcon:Gm,Flame:Zm,FlameIcon:Zm,FlameKindling:Wm,FlameKindlingIcon:Wm,Flashlight:Xm,FlashlightIcon:Xm,FlashlightOff:Jm,FlashlightOffIcon:Jm,FlaskConical:Km,FlaskConicalIcon:Km,FlaskConicalOff:Ym,FlaskConicalOffIcon:Ym,FlaskRound:Qm,FlaskRoundIcon:Qm,FlipHorizontal:tf,FlipHorizontal2:ef,FlipHorizontal2Icon:ef,FlipHorizontalIcon:tf,FlipVertical:rf,FlipVertical2:af,FlipVertical2Icon:af,FlipVerticalIcon:rf,Flower:sf,Flower2:nf,Flower2Icon:nf,FlowerIcon:sf,Focus:of,FocusIcon:of,FoldHorizontal:cf,FoldHorizontalIcon:cf,FoldVertical:lf,FoldVerticalIcon:lf,Folder:zf,FolderArchive:df,FolderArchiveIcon:df,FolderCheck:hf,FolderCheckIcon:hf,FolderClock:uf,FolderClockIcon:uf,FolderClosed:pf,FolderClosedIcon:pf,FolderCode:yf,FolderCodeIcon:yf,FolderCog:cs,FolderCog2:cs,FolderCog2Icon:cs,FolderCogIcon:cs,FolderDot:mf,FolderDotIcon:mf,FolderDown:ff,FolderDownIcon:ff,FolderEdit:ls,FolderEditIcon:ls,FolderGit:gf,FolderGit2:xf,FolderGit2Icon:xf,FolderGitIcon:gf,FolderHeart:kf,FolderHeartIcon:kf,FolderIcon:zf,FolderInput:vf,FolderInputIcon:vf,FolderKanban:wf,FolderKanbanIcon:wf,FolderKey:bf,FolderKeyIcon:bf,FolderLock:Mf,FolderLockIcon:Mf,FolderMinus:jf,FolderMinusIcon:jf,FolderOpen:Sf,FolderOpenDot:Cf,FolderOpenDotIcon:Cf,FolderOpenIcon:Sf,FolderOutput:Lf,FolderOutputIcon:Lf,FolderPen:ls,FolderPenIcon:ls,FolderPlus:Nf,FolderPlusIcon:Nf,FolderRoot:If,FolderRootIcon:If,FolderSearch:Pf,FolderSearch2:Af,FolderSearch2Icon:Af,FolderSearchIcon:Pf,FolderSymlink:_f,FolderSymlinkIcon:_f,FolderSync:Rf,FolderSyncIcon:Rf,FolderTree:Tf,FolderTreeIcon:Tf,FolderUp:qf,FolderUpIcon:qf,FolderX:Df,FolderXIcon:Df,Folders:Ef,FoldersIcon:Ef,Footprints:Ff,FootprintsIcon:Ff,ForkKnife:ao,ForkKnifeCrossed:to,ForkKnifeCrossedIcon:to,ForkKnifeIcon:ao,Forklift:Of,ForkliftIcon:Of,FormInput:zs,FormInputIcon:zs,Forward:Hf,ForwardIcon:Hf,Frame:Vf,FrameIcon:Vf,Framer:Bf,FramerIcon:Bf,Frown:$f,FrownIcon:$f,Fuel:Uf,FuelIcon:Uf,Fullscreen:Gf,FullscreenIcon:Gf,FunctionSquare:xi,FunctionSquareIcon:xi,GalleryHorizontal:Zf,GalleryHorizontalEnd:Wf,GalleryHorizontalEndIcon:Wf,GalleryHorizontalIcon:Zf,GalleryThumbnails:Jf,GalleryThumbnailsIcon:Jf,GalleryVertical:Yf,GalleryVerticalEnd:Xf,GalleryVerticalEndIcon:Xf,GalleryVerticalIcon:Yf,Gamepad:Kf,Gamepad2:Pc,Gamepad2Icon:Pc,GamepadIcon:Kf,GanttChart:yn,GanttChartIcon:yn,GanttChartSquare:va,GanttChartSquareIcon:va,Gauge:Qf,GaugeCircle:An,GaugeCircleIcon:An,GaugeIcon:Qf,Gavel:ex,GavelIcon:ex,Gem:tx,GemIcon:tx,Ghost:ax,GhostIcon:ax,Gift:rx,GiftIcon:rx,GitBranch:sx,GitBranchIcon:sx,GitBranchPlus:nx,GitBranchPlusIcon:nx,GitCommit:ds,GitCommitHorizontal:ds,GitCommitHorizontalIcon:ds,GitCommitIcon:ds,GitCommitVertical:ix,GitCommitVerticalIcon:ix,GitCompare:cx,GitCompareArrows:ox,GitCompareArrowsIcon:ox,GitCompareIcon:cx,GitFork:lx,GitForkIcon:lx,GitGraph:dx,GitGraphIcon:dx,GitMerge:hx,GitMergeIcon:hx,GitPullRequest:xx,GitPullRequestArrow:ux,GitPullRequestArrowIcon:ux,GitPullRequestClosed:px,GitPullRequestClosedIcon:px,GitPullRequestCreate:mx,GitPullRequestCreateArrow:yx,GitPullRequestCreateArrowIcon:yx,GitPullRequestCreateIcon:mx,GitPullRequestDraft:fx,GitPullRequestDraftIcon:fx,GitPullRequestIcon:xx,Github:gx,GithubIcon:gx,Gitlab:kx,GitlabIcon:kx,GlassWater:vx,GlassWaterIcon:vx,Glasses:wx,GlassesIcon:wx,Globe:ta,Globe2:Yn,Globe2Icon:Yn,GlobeIcon:ta,GlobeLock:bx,GlobeLockIcon:bx,Goal:Mx,GoalIcon:Mx,Grab:jx,GrabIcon:jx,GraduationCap:gr,GraduationCapIcon:gr,Grape:Cx,GrapeIcon:Cx,Grid:la,Grid2X2:hs,Grid2X2Icon:hs,Grid2x2:hs,Grid2x2Check:Sx,Grid2x2CheckIcon:Sx,Grid2x2Icon:hs,Grid2x2Plus:Lx,Grid2x2PlusIcon:Lx,Grid2x2X:Nx,Grid2x2XIcon:Nx,Grid3X3:la,Grid3X3Icon:la,Grid3x3:la,Grid3x3Icon:la,GridIcon:la,Grip:Px,GripHorizontal:Ix,GripHorizontalIcon:Ix,GripIcon:Px,GripVertical:Ax,GripVerticalIcon:Ax,Group:_x,GroupIcon:_x,Guitar:Rx,GuitarIcon:Rx,Ham:Tx,HamIcon:Tx,Hammer:qx,HammerIcon:qx,Hand:Ox,HandCoins:Dx,HandCoinsIcon:Dx,HandHeart:zx,HandHeartIcon:zx,HandHelping:us,HandHelpingIcon:us,HandIcon:Ox,HandMetal:Ex,HandMetalIcon:Ex,HandPlatter:Fx,HandPlatterIcon:Fx,Handshake:Hx,HandshakeIcon:Hx,HardDrive:$x,HardDriveDownload:Vx,HardDriveDownloadIcon:Vx,HardDriveIcon:$x,HardDriveUpload:Bx,HardDriveUploadIcon:Bx,HardHat:Ux,HardHatIcon:Ux,Hash:Gx,HashIcon:Gx,Haze:Wx,HazeIcon:Wx,HdmiPort:Zx,HdmiPortIcon:Zx,Heading:tg,Heading1:Jx,Heading1Icon:Jx,Heading2:Xx,Heading2Icon:Xx,Heading3:Yx,Heading3Icon:Yx,Heading4:Kx,Heading4Icon:Kx,Heading5:Qx,Heading5Icon:Qx,Heading6:eg,Heading6Icon:eg,HeadingIcon:tg,HeadphoneOff:ag,HeadphoneOffIcon:ag,Headphones:rg,HeadphonesIcon:rg,Headset:ng,HeadsetIcon:ng,Heart:kr,HeartCrack:sg,HeartCrackIcon:sg,HeartHandshake:ig,HeartHandshakeIcon:ig,HeartIcon:kr,HeartOff:og,HeartOffIcon:og,HeartPulse:cg,HeartPulseIcon:cg,Heater:lg,HeaterIcon:lg,HelpCircle:lr,HelpCircleIcon:lr,HelpingHand:us,HelpingHandIcon:us,Hexagon:dg,HexagonIcon:dg,Highlighter:hg,HighlighterIcon:hg,History:ug,HistoryIcon:ug,Home:Va,HomeIcon:Va,Hop:yg,HopIcon:yg,HopOff:pg,HopOffIcon:pg,Hospital:mg,HospitalIcon:mg,Hotel:fg,HotelIcon:fg,Hourglass:xg,HourglassIcon:xg,House:Va,HouseIcon:Va,HousePlug:gg,HousePlugIcon:gg,HousePlus:kg,HousePlusIcon:kg,IceCream:ys,IceCream2:ps,IceCream2Icon:ps,IceCreamBowl:ps,IceCreamBowlIcon:ps,IceCreamCone:ys,IceCreamConeIcon:ys,IceCreamIcon:ys,Icon:TN,IdCard:vg,IdCardIcon:vg,Image:Lg,ImageDown:wg,ImageDownIcon:wg,ImageIcon:Lg,ImageMinus:bg,ImageMinusIcon:bg,ImageOff:Mg,ImageOffIcon:Mg,ImagePlay:jg,ImagePlayIcon:jg,ImagePlus:Cg,ImagePlusIcon:Cg,ImageUp:Sg,ImageUpIcon:Sg,Images:Ng,ImagesIcon:Ng,Import:Ig,ImportIcon:Ig,Inbox:Ag,InboxIcon:Ag,Indent:fs,IndentDecrease:ms,IndentDecreaseIcon:ms,IndentIcon:fs,IndentIncrease:fs,IndentIncreaseIcon:fs,IndianRupee:Pg,IndianRupeeIcon:Pg,Infinity:_g,InfinityIcon:_g,Info:Rg,InfoIcon:Rg,Inspect:Mi,InspectIcon:Mi,InspectionPanel:Tg,InspectionPanelIcon:Tg,Instagram:qg,InstagramIcon:qg,Italic:Dg,ItalicIcon:Dg,IterationCcw:zg,IterationCcwIcon:zg,IterationCw:Eg,IterationCwIcon:Eg,JapaneseYen:Fg,JapaneseYenIcon:Fg,Joystick:Og,JoystickIcon:Og,Kanban:Hg,KanbanIcon:Hg,KanbanSquare:gi,KanbanSquareDashed:hi,KanbanSquareDashedIcon:hi,KanbanSquareIcon:gi,Key:$g,KeyIcon:$g,KeyRound:Vg,KeyRoundIcon:Vg,KeySquare:Bg,KeySquareIcon:Bg,Keyboard:Wg,KeyboardIcon:Wg,KeyboardMusic:Ug,KeyboardMusicIcon:Ug,KeyboardOff:Gg,KeyboardOffIcon:Gg,Lamp:Qg,LampCeiling:Zg,LampCeilingIcon:Zg,LampDesk:Jg,LampDeskIcon:Jg,LampFloor:Xg,LampFloorIcon:Xg,LampIcon:Qg,LampWallDown:Yg,LampWallDownIcon:Yg,LampWallUp:Kg,LampWallUpIcon:Kg,LandPlot:e4,LandPlotIcon:e4,Landmark:t4,LandmarkIcon:t4,Languages:_c,LanguagesIcon:_c,Laptop:a4,Laptop2:xs,Laptop2Icon:xs,LaptopIcon:a4,LaptopMinimal:xs,LaptopMinimalIcon:xs,Lasso:n4,LassoIcon:n4,LassoSelect:r4,LassoSelectIcon:r4,Laugh:s4,LaughIcon:s4,Layers:c4,Layers2:i4,Layers2Icon:i4,Layers3:o4,Layers3Icon:o4,LayersIcon:c4,Layout:Rs,LayoutDashboard:Rc,LayoutDashboardIcon:Rc,LayoutGrid:l4,LayoutGridIcon:l4,LayoutIcon:Rs,LayoutList:d4,LayoutListIcon:d4,LayoutPanelLeft:h4,LayoutPanelLeftIcon:h4,LayoutPanelTop:u4,LayoutPanelTopIcon:u4,LayoutTemplate:p4,LayoutTemplateIcon:p4,Leaf:y4,LeafIcon:y4,LeafyGreen:m4,LeafyGreenIcon:m4,Lectern:f4,LecternIcon:f4,LetterText:x4,LetterTextIcon:x4,Library:k4,LibraryBig:g4,LibraryBigIcon:g4,LibraryIcon:k4,LibrarySquare:ki,LibrarySquareIcon:ki,LifeBuoy:v4,LifeBuoyIcon:v4,Ligature:w4,LigatureIcon:w4,Lightbulb:M4,LightbulbIcon:M4,LightbulbOff:b4,LightbulbOffIcon:b4,LineChart:un,LineChartIcon:un,Link:Tc,Link2:C4,Link2Icon:C4,Link2Off:j4,Link2OffIcon:j4,LinkIcon:Tc,Linkedin:qc,LinkedinIcon:qc,List:Dc,ListCheck:S4,ListCheckIcon:S4,ListChecks:L4,ListChecksIcon:L4,ListCollapse:N4,ListCollapseIcon:N4,ListEnd:I4,ListEndIcon:I4,ListFilter:A4,ListFilterIcon:A4,ListIcon:Dc,ListMinus:P4,ListMinusIcon:P4,ListMusic:_4,ListMusicIcon:_4,ListOrdered:R4,ListOrderedIcon:R4,ListPlus:T4,ListPlusIcon:T4,ListRestart:q4,ListRestartIcon:q4,ListStart:D4,ListStartIcon:D4,ListTodo:z4,ListTodoIcon:z4,ListTree:E4,ListTreeIcon:E4,ListVideo:F4,ListVideoIcon:F4,ListX:O4,ListXIcon:O4,Loader:V4,Loader2:ha,Loader2Icon:ha,LoaderCircle:ha,LoaderCircleIcon:ha,LoaderIcon:V4,LoaderPinwheel:H4,LoaderPinwheelIcon:H4,Locate:U4,LocateFixed:B4,LocateFixedIcon:B4,LocateIcon:U4,LocateOff:$4,LocateOffIcon:$4,Lock:uo,LockIcon:uo,LockKeyhole:G4,LockKeyholeIcon:G4,LockKeyholeOpen:gs,LockKeyholeOpenIcon:gs,LockOpen:ks,LockOpenIcon:ks,LogIn:W4,LogInIcon:W4,LogOut:zc,LogOutIcon:zc,Logs:Z4,LogsIcon:Z4,Lollipop:J4,LollipopIcon:J4,LucideAArrowDown:Rl,LucideAArrowUp:Tl,LucideALargeSmall:ql,LucideAccessibility:Dl,LucideActivity:zl,LucideActivitySquare:Us,LucideAirVent:El,LucideAirplay:Fl,LucideAlarmCheck:Vr,LucideAlarmClock:Hl,LucideAlarmClockCheck:Vr,LucideAlarmClockMinus:Br,LucideAlarmClockOff:Ol,LucideAlarmClockPlus:$r,LucideAlarmMinus:Br,LucideAlarmPlus:$r,LucideAlarmSmoke:Vl,LucideAlbum:Bl,LucideAlertCircle:Dt,LucideAlertOctagon:bs,LucideAlertTriangle:Ui,LucideAlignCenter:Gl,LucideAlignCenterHorizontal:$l,LucideAlignCenterVertical:Ul,LucideAlignEndHorizontal:Wl,LucideAlignEndVertical:Zl,LucideAlignHorizontalDistributeCenter:Jl,LucideAlignHorizontalDistributeEnd:Xl,LucideAlignHorizontalDistributeStart:Yl,LucideAlignHorizontalJustifyCenter:Kl,LucideAlignHorizontalJustifyEnd:Ql,LucideAlignHorizontalJustifyStart:e1,LucideAlignHorizontalSpaceAround:t1,LucideAlignHorizontalSpaceBetween:a1,LucideAlignJustify:r1,LucideAlignLeft:n1,LucideAlignRight:s1,LucideAlignStartHorizontal:i1,LucideAlignStartVertical:o1,LucideAlignVerticalDistributeCenter:c1,LucideAlignVerticalDistributeEnd:l1,LucideAlignVerticalDistributeStart:d1,LucideAlignVerticalJustifyCenter:h1,LucideAlignVerticalJustifyEnd:u1,LucideAlignVerticalJustifyStart:p1,LucideAlignVerticalSpaceAround:y1,LucideAlignVerticalSpaceBetween:m1,LucideAmbulance:f1,LucideAmpersand:x1,LucideAmpersands:g1,LucideAmphora:k1,LucideAnchor:v1,LucideAngry:w1,LucideAnnoyed:b1,LucideAntenna:M1,LucideAnvil:j1,LucideAperture:C1,LucideAppWindow:L1,LucideAppWindowMac:S1,LucideApple:N1,LucideArchive:P1,LucideArchiveRestore:I1,LucideArchiveX:A1,LucideAreaChart:nn,LucideArmchair:_1,LucideArrowBigDown:T1,LucideArrowBigDownDash:R1,LucideArrowBigLeft:D1,LucideArrowBigLeftDash:q1,LucideArrowBigRight:E1,LucideArrowBigRightDash:z1,LucideArrowBigUp:O1,LucideArrowBigUpDash:F1,LucideArrowDown:X1,LucideArrowDown01:H1,LucideArrowDown10:V1,LucideArrowDownAZ:Ur,LucideArrowDownAz:Ur,LucideArrowDownCircle:xn,LucideArrowDownFromLine:B1,LucideArrowDownLeft:$1,LucideArrowDownLeftFromCircle:kn,LucideArrowDownLeftFromSquare:Js,LucideArrowDownLeftSquare:Gs,LucideArrowDownNarrowWide:U1,LucideArrowDownRight:G1,LucideArrowDownRightFromCircle:vn,LucideArrowDownRightFromSquare:Xs,LucideArrowDownRightSquare:Ws,LucideArrowDownSquare:Zs,LucideArrowDownToDot:W1,LucideArrowDownToLine:Z1,LucideArrowDownUp:J1,LucideArrowDownWideNarrow:Gr,LucideArrowDownZA:Wr,LucideArrowDownZa:Wr,LucideArrowLeft:Ga,LucideArrowLeftCircle:gn,LucideArrowLeftFromLine:Y1,LucideArrowLeftRight:K1,LucideArrowLeftSquare:Ba,LucideArrowLeftToLine:Q1,LucideArrowRight:co,LucideArrowRightCircle:Mn,LucideArrowRightFromLine:ed,LucideArrowRightLeft:td,LucideArrowRightSquare:$a,LucideArrowRightToLine:ad,LucideArrowUp:ud,LucideArrowUp01:rd,LucideArrowUp10:nd,LucideArrowUpAZ:Zr,LucideArrowUpAz:Zr,LucideArrowUpCircle:jn,LucideArrowUpDown:sd,LucideArrowUpFromDot:id,LucideArrowUpFromLine:od,LucideArrowUpLeft:cd,LucideArrowUpLeftFromCircle:wn,LucideArrowUpLeftFromSquare:Ys,LucideArrowUpLeftSquare:Qs,LucideArrowUpNarrowWide:Jr,LucideArrowUpRight:ld,LucideArrowUpRightFromCircle:bn,LucideArrowUpRightFromSquare:Ks,LucideArrowUpRightSquare:ei,LucideArrowUpSquare:ti,LucideArrowUpToLine:dd,LucideArrowUpWideNarrow:hd,LucideArrowUpZA:Xr,LucideArrowUpZa:Xr,LucideArrowsUpFromLine:pd,LucideAsterisk:yd,LucideAsteriskSquare:ai,LucideAtSign:md,LucideAtom:fd,LucideAudioLines:xd,LucideAudioWaveform:gd,LucideAward:Yt,LucideAxe:kd,LucideAxis3D:Yr,LucideAxis3d:Yr,LucideBaby:vd,LucideBackpack:wd,LucideBadge:bc,LucideBadgeAlert:bd,LucideBadgeCent:Md,LucideBadgeCheck:Kr,LucideBadgeDollarSign:jd,LucideBadgeEuro:Cd,LucideBadgeHelp:Sd,LucideBadgeIndianRupee:Ld,LucideBadgeInfo:Nd,LucideBadgeJapaneseYen:Id,LucideBadgeMinus:Ad,LucideBadgePercent:Pd,LucideBadgePlus:_d,LucideBadgePoundSterling:Rd,LucideBadgeRussianRuble:Td,LucideBadgeSwissFranc:qd,LucideBadgeX:Dd,LucideBaggageClaim:zd,LucideBan:Ed,LucideBanana:Fd,LucideBandage:Od,LucideBanknote:Hd,LucideBarChart:cr,LucideBarChart2:pn,LucideBarChart3:hn,LucideBarChart4:dn,LucideBarChartBig:ln,LucideBarChartHorizontal:on,LucideBarChartHorizontalBig:sn,LucideBarcode:Vd,LucideBaseline:Bd,LucideBath:$d,LucideBattery:Xd,LucideBatteryCharging:Ud,LucideBatteryFull:Gd,LucideBatteryLow:Wd,LucideBatteryMedium:Zd,LucideBatteryWarning:Jd,LucideBeaker:Yd,LucideBean:Qd,LucideBeanOff:Kd,LucideBed:a2,LucideBedDouble:e2,LucideBedSingle:t2,LucideBeef:r2,LucideBeer:s2,LucideBeerOff:n2,LucideBell:zo,LucideBellDot:i2,LucideBellElectric:o2,LucideBellMinus:c2,LucideBellOff:l2,LucideBellPlus:d2,LucideBellRing:h2,LucideBetweenHorizonalEnd:Qr,LucideBetweenHorizonalStart:en,LucideBetweenHorizontalEnd:Qr,LucideBetweenHorizontalStart:en,LucideBetweenVerticalEnd:u2,LucideBetweenVerticalStart:p2,LucideBicepsFlexed:y2,LucideBike:m2,LucideBinary:f2,LucideBinoculars:x2,LucideBiohazard:g2,LucideBird:k2,LucideBitcoin:v2,LucideBlend:w2,LucideBlinds:b2,LucideBlocks:M2,LucideBluetooth:L2,LucideBluetoothConnected:j2,LucideBluetoothOff:C2,LucideBluetoothSearching:S2,LucideBold:N2,LucideBolt:I2,LucideBomb:A2,LucideBone:P2,LucideBook:Q2,LucideBookA:_2,LucideBookAudio:R2,LucideBookCheck:T2,LucideBookCopy:q2,LucideBookDashed:tn,LucideBookDown:D2,LucideBookHeadphones:z2,LucideBookHeart:E2,LucideBookImage:F2,LucideBookKey:O2,LucideBookLock:H2,LucideBookMarked:V2,LucideBookMinus:B2,LucideBookOpen:ea,LucideBookOpenCheck:$2,LucideBookOpenText:U2,LucideBookPlus:G2,LucideBookTemplate:tn,LucideBookText:W2,LucideBookType:Z2,LucideBookUp:X2,LucideBookUp2:J2,LucideBookUser:Y2,LucideBookX:K2,LucideBookmark:ya,LucideBookmarkCheck:pa,LucideBookmarkMinus:eh,LucideBookmarkPlus:Mc,LucideBookmarkX:th,LucideBoomBox:ah,LucideBot:jc,LucideBotMessageSquare:rh,LucideBotOff:nh,LucideBox:sh,LucideBoxSelect:pi,LucideBoxes:ih,LucideBraces:an,LucideBrackets:oh,LucideBrain:dh,LucideBrainCircuit:ch,LucideBrainCog:lh,LucideBrickWall:hh,LucideBriefcase:at,LucideBriefcaseBusiness:uh,LucideBriefcaseConveyorBelt:ph,LucideBriefcaseMedical:yh,LucideBringToFront:mh,LucideBrush:fh,LucideBug:kh,LucideBugOff:xh,LucideBugPlay:gh,LucideBuilding:Eo,LucideBuilding2:xt,LucideBus:wh,LucideBusFront:vh,LucideCable:Mh,LucideCableCar:bh,LucideCake:Ch,LucideCakeSlice:jh,LucideCalculator:Sh,LucideCalendar:lo,LucideCalendarArrowDown:Lh,LucideCalendarArrowUp:Nh,LucideCalendarCheck:Ah,LucideCalendarCheck2:Ih,LucideCalendarClock:Ph,LucideCalendarCog:_h,LucideCalendarDays:Cc,LucideCalendarFold:Rh,LucideCalendarHeart:Th,LucideCalendarMinus:Dh,LucideCalendarMinus2:qh,LucideCalendarOff:zh,LucideCalendarPlus:Fh,LucideCalendarPlus2:Eh,LucideCalendarRange:Oh,LucideCalendarSearch:Hh,LucideCalendarX:Bh,LucideCalendarX2:Vh,LucideCamera:Uh,LucideCameraOff:$h,LucideCandlestickChart:cn,LucideCandy:Zh,LucideCandyCane:Gh,LucideCandyOff:Wh,LucideCannabis:Jh,LucideCaptions:rn,LucideCaptionsOff:Xh,LucideCar:Qh,LucideCarFront:Yh,LucideCarTaxiFront:Kh,LucideCaravan:e0,LucideCarrot:t0,LucideCaseLower:a0,LucideCaseSensitive:r0,LucideCaseUpper:n0,LucideCassetteTape:s0,LucideCast:i0,LucideCastle:o0,LucideCat:c0,LucideCctv:l0,LucideChartArea:nn,LucideChartBar:on,LucideChartBarBig:sn,LucideChartBarDecreasing:d0,LucideChartBarIncreasing:h0,LucideChartBarStacked:u0,LucideChartCandlestick:cn,LucideChartColumn:hn,LucideChartColumnBig:ln,LucideChartColumnDecreasing:p0,LucideChartColumnIncreasing:dn,LucideChartColumnStacked:y0,LucideChartGantt:m0,LucideChartLine:un,LucideChartNetwork:f0,LucideChartNoAxesColumn:pn,LucideChartNoAxesColumnDecreasing:x0,LucideChartNoAxesColumnIncreasing:cr,LucideChartNoAxesCombined:g0,LucideChartNoAxesGantt:yn,LucideChartPie:mn,LucideChartScatter:fn,LucideChartSpline:k0,LucideCheck:Fo,LucideCheckCheck:v0,LucideCheckCircle:zt,LucideCheckCircle2:rt,LucideCheckSquare:ni,LucideCheckSquare2:si,LucideChefHat:w0,LucideCherry:b0,LucideChevronDown:yr,LucideChevronDownCircle:Cn,LucideChevronDownSquare:ii,LucideChevronFirst:M0,LucideChevronLast:j0,LucideChevronLeft:mr,LucideChevronLeftCircle:Sn,LucideChevronLeftSquare:oi,LucideChevronRight:fr,LucideChevronRightCircle:Ln,LucideChevronRightSquare:ci,LucideChevronUp:Oo,LucideChevronUpCircle:Nn,LucideChevronUpSquare:li,LucideChevronsDown:S0,LucideChevronsDownUp:C0,LucideChevronsLeft:I0,LucideChevronsLeftRight:N0,LucideChevronsLeftRightEllipsis:L0,LucideChevronsRight:P0,LucideChevronsRightLeft:A0,LucideChevronsUp:R0,LucideChevronsUpDown:_0,LucideChrome:T0,LucideChurch:q0,LucideCigarette:z0,LucideCigaretteOff:D0,LucideCircle:Z0,LucideCircleAlert:Dt,LucideCircleArrowDown:xn,LucideCircleArrowLeft:gn,LucideCircleArrowOutDownLeft:kn,LucideCircleArrowOutDownRight:vn,LucideCircleArrowOutUpLeft:wn,LucideCircleArrowOutUpRight:bn,LucideCircleArrowRight:Mn,LucideCircleArrowUp:jn,LucideCircleCheck:rt,LucideCircleCheckBig:zt,LucideCircleChevronDown:Cn,LucideCircleChevronLeft:Sn,LucideCircleChevronRight:Ln,LucideCircleChevronUp:Nn,LucideCircleDashed:E0,LucideCircleDivide:In,LucideCircleDollarSign:F0,LucideCircleDot:H0,LucideCircleDotDashed:O0,LucideCircleEllipsis:V0,LucideCircleEqual:B0,LucideCircleFadingArrowUp:$0,LucideCircleFadingPlus:U0,LucideCircleGauge:An,LucideCircleHelp:lr,LucideCircleMinus:Pn,LucideCircleOff:G0,LucideCircleParking:Rn,LucideCircleParkingOff:_n,LucideCirclePause:Tn,LucideCirclePercent:qn,LucideCirclePlay:Dn,LucideCirclePlus:zn,LucideCirclePower:En,LucideCircleSlash:W0,LucideCircleSlash2:Fn,LucideCircleSlashed:Fn,LucideCircleStop:On,LucideCircleUser:Vn,LucideCircleUserRound:Hn,LucideCircleX:ba,LucideCircuitBoard:J0,LucideCitrus:X0,LucideClapperboard:Y0,LucideClipboard:iu,LucideClipboardCheck:K0,LucideClipboardCopy:Q0,LucideClipboardEdit:$n,LucideClipboardList:eu,LucideClipboardMinus:tu,LucideClipboardPaste:au,LucideClipboardPen:$n,LucideClipboardPenLine:Bn,LucideClipboardPlus:ru,LucideClipboardSignature:Bn,LucideClipboardType:nu,LucideClipboardX:su,LucideClock:ma,LucideClock1:ou,LucideClock10:cu,LucideClock11:lu,LucideClock12:du,LucideClock2:hu,LucideClock3:uu,LucideClock4:pu,LucideClock5:yu,LucideClock6:mu,LucideClock7:fu,LucideClock8:xu,LucideClock9:gu,LucideClockAlert:ku,LucideClockArrowDown:vu,LucideClockArrowUp:wu,LucideCloud:qu,LucideCloudCog:bu,LucideCloudDownload:Un,LucideCloudDrizzle:Mu,LucideCloudFog:ju,LucideCloudHail:Cu,LucideCloudLightning:Su,LucideCloudMoon:Nu,LucideCloudMoonRain:Lu,LucideCloudOff:Iu,LucideCloudRain:Pu,LucideCloudRainWind:Au,LucideCloudSnow:_u,LucideCloudSun:Tu,LucideCloudSunRain:Ru,LucideCloudUpload:dr,LucideCloudy:Du,LucideClover:zu,LucideClub:Eu,LucideCode:Fu,LucideCode2:Gn,LucideCodeSquare:di,LucideCodeXml:Gn,LucideCodepen:Ou,LucideCodesandbox:Hu,LucideCoffee:Vu,LucideCog:Bu,LucideCoins:$u,LucideColumns:Wn,LucideColumns2:Wn,LucideColumns3:Zn,LucideColumns4:Uu,LucideCombine:Gu,LucideCommand:Wu,LucideCompass:Zu,LucideComponent:Ju,LucideComputer:Xu,LucideConciergeBell:Yu,LucideCone:Ku,LucideConstruction:Qu,LucideContact:ep,LucideContact2:Jn,LucideContactRound:Jn,LucideContainer:tp,LucideContrast:ap,LucideCookie:rp,LucideCookingPot:np,LucideCopy:dp,LucideCopyCheck:sp,LucideCopyMinus:ip,LucideCopyPlus:op,LucideCopySlash:cp,LucideCopyX:lp,LucideCopyleft:hp,LucideCopyright:up,LucideCornerDownLeft:pp,LucideCornerDownRight:yp,LucideCornerLeftDown:mp,LucideCornerLeftUp:fp,LucideCornerRightDown:xp,LucideCornerRightUp:gp,LucideCornerUpLeft:kp,LucideCornerUpRight:vp,LucideCpu:wp,LucideCreativeCommons:bp,LucideCreditCard:Sc,LucideCroissant:Mp,LucideCrop:jp,LucideCross:Cp,LucideCrosshair:Sp,LucideCrown:Lp,LucideCuboid:Np,LucideCupSoda:Ip,LucideCurlyBraces:an,LucideCurrency:Ap,LucideCylinder:Pp,LucideDam:_p,LucideDatabase:qp,LucideDatabaseBackup:Rp,LucideDatabaseZap:Tp,LucideDelete:Dp,LucideDessert:zp,LucideDiameter:Ep,LucideDiamond:Hp,LucideDiamondMinus:Fp,LucideDiamondPercent:Xn,LucideDiamondPlus:Op,LucideDice1:Vp,LucideDice2:Bp,LucideDice3:$p,LucideDice4:Up,LucideDice5:Gp,LucideDice6:Wp,LucideDices:Zp,LucideDiff:Jp,LucideDisc:Qp,LucideDisc2:Xp,LucideDisc3:Yp,LucideDiscAlbum:Kp,LucideDivide:ey,LucideDivideCircle:In,LucideDivideSquare:yi,LucideDna:ay,LucideDnaOff:ty,LucideDock:ry,LucideDog:ny,LucideDollarSign:Lc,LucideDonut:sy,LucideDoorClosed:iy,LucideDoorOpen:oy,LucideDot:cy,LucideDotSquare:mi,LucideDownload:Nc,LucideDownloadCloud:Un,LucideDraftingCompass:ly,LucideDrama:dy,LucideDribbble:hy,LucideDrill:uy,LucideDroplet:py,LucideDroplets:yy,LucideDrum:my,LucideDrumstick:fy,LucideDumbbell:xy,LucideEar:ky,LucideEarOff:gy,LucideEarth:Yn,LucideEarthLock:vy,LucideEclipse:wy,LucideEdit:Rt,LucideEdit2:qs,LucideEdit3:Ts,LucideEgg:jy,LucideEggFried:by,LucideEggOff:My,LucideEllipsis:Qn,LucideEllipsisVertical:Kn,LucideEqual:Sy,LucideEqualNot:Cy,LucideEqualSquare:fi,LucideEraser:Ly,LucideEthernetPort:Ny,LucideEuro:Iy,LucideExpand:Ay,LucideExternalLink:ho,LucideEye:Ho,LucideEyeClosed:Py,LucideEyeOff:Ic,LucideFacebook:_y,LucideFactory:Ry,LucideFan:Ty,LucideFastForward:qy,LucideFeather:Dy,LucideFence:zy,LucideFerrisWheel:Ey,LucideFigma:Fy,LucideFile:qm,LucideFileArchive:Oy,LucideFileAudio:Vy,LucideFileAudio2:Hy,LucideFileAxis3D:es,LucideFileAxis3d:es,LucideFileBadge:$y,LucideFileBadge2:By,LucideFileBarChart:ts,LucideFileBarChart2:as,LucideFileBox:Uy,LucideFileChartColumn:as,LucideFileChartColumnIncreasing:ts,LucideFileChartLine:rs,LucideFileChartPie:ns,LucideFileCheck:Wy,LucideFileCheck2:Gy,LucideFileClock:Zy,LucideFileCode:Xy,LucideFileCode2:Jy,LucideFileCog:ss,LucideFileCog2:ss,LucideFileDiff:Yy,LucideFileDigit:Ky,LucideFileDown:Qy,LucideFileEdit:os,LucideFileHeart:em,LucideFileImage:tm,LucideFileInput:am,LucideFileJson:nm,LucideFileJson2:rm,LucideFileKey:im,LucideFileKey2:sm,LucideFileLineChart:rs,LucideFileLock:cm,LucideFileLock2:om,LucideFileMinus:dm,LucideFileMinus2:lm,LucideFileMusic:hm,LucideFileOutput:um,LucideFilePen:os,LucideFilePenLine:is,LucideFilePieChart:ns,LucideFilePlus:ym,LucideFilePlus2:pm,LucideFileQuestion:mm,LucideFileScan:fm,LucideFileSearch:gm,LucideFileSearch2:xm,LucideFileSignature:is,LucideFileSliders:km,LucideFileSpreadsheet:vm,LucideFileStack:wm,LucideFileSymlink:bm,LucideFileTerminal:Mm,LucideFileText:Vo,LucideFileType:Cm,LucideFileType2:jm,LucideFileUp:Sm,LucideFileUser:Lm,LucideFileVideo:Im,LucideFileVideo2:Nm,LucideFileVolume:Pm,LucideFileVolume2:Am,LucideFileWarning:_m,LucideFileX:Tm,LucideFileX2:Rm,LucideFiles:Dm,LucideFilm:zm,LucideFilter:xr,LucideFilterX:Em,LucideFingerprint:Fm,LucideFireExtinguisher:Om,LucideFish:Bm,LucideFishOff:Hm,LucideFishSymbol:Vm,LucideFlag:Ac,LucideFlagOff:$m,LucideFlagTriangleLeft:Um,LucideFlagTriangleRight:Gm,LucideFlame:Zm,LucideFlameKindling:Wm,LucideFlashlight:Xm,LucideFlashlightOff:Jm,LucideFlaskConical:Km,LucideFlaskConicalOff:Ym,LucideFlaskRound:Qm,LucideFlipHorizontal:tf,LucideFlipHorizontal2:ef,LucideFlipVertical:rf,LucideFlipVertical2:af,LucideFlower:sf,LucideFlower2:nf,LucideFocus:of,LucideFoldHorizontal:cf,LucideFoldVertical:lf,LucideFolder:zf,LucideFolderArchive:df,LucideFolderCheck:hf,LucideFolderClock:uf,LucideFolderClosed:pf,LucideFolderCode:yf,LucideFolderCog:cs,LucideFolderCog2:cs,LucideFolderDot:mf,LucideFolderDown:ff,LucideFolderEdit:ls,LucideFolderGit:gf,LucideFolderGit2:xf,LucideFolderHeart:kf,LucideFolderInput:vf,LucideFolderKanban:wf,LucideFolderKey:bf,LucideFolderLock:Mf,LucideFolderMinus:jf,LucideFolderOpen:Sf,LucideFolderOpenDot:Cf,LucideFolderOutput:Lf,LucideFolderPen:ls,LucideFolderPlus:Nf,LucideFolderRoot:If,LucideFolderSearch:Pf,LucideFolderSearch2:Af,LucideFolderSymlink:_f,LucideFolderSync:Rf,LucideFolderTree:Tf,LucideFolderUp:qf,LucideFolderX:Df,LucideFolders:Ef,LucideFootprints:Ff,LucideForkKnife:ao,LucideForkKnifeCrossed:to,LucideForklift:Of,LucideFormInput:zs,LucideForward:Hf,LucideFrame:Vf,LucideFramer:Bf,LucideFrown:$f,LucideFuel:Uf,LucideFullscreen:Gf,LucideFunctionSquare:xi,LucideGalleryHorizontal:Zf,LucideGalleryHorizontalEnd:Wf,LucideGalleryThumbnails:Jf,LucideGalleryVertical:Yf,LucideGalleryVerticalEnd:Xf,LucideGamepad:Kf,LucideGamepad2:Pc,LucideGanttChart:yn,LucideGanttChartSquare:va,LucideGauge:Qf,LucideGaugeCircle:An,LucideGavel:ex,LucideGem:tx,LucideGhost:ax,LucideGift:rx,LucideGitBranch:sx,LucideGitBranchPlus:nx,LucideGitCommit:ds,LucideGitCommitHorizontal:ds,LucideGitCommitVertical:ix,LucideGitCompare:cx,LucideGitCompareArrows:ox,LucideGitFork:lx,LucideGitGraph:dx,LucideGitMerge:hx,LucideGitPullRequest:xx,LucideGitPullRequestArrow:ux,LucideGitPullRequestClosed:px,LucideGitPullRequestCreate:mx,LucideGitPullRequestCreateArrow:yx,LucideGitPullRequestDraft:fx,LucideGithub:gx,LucideGitlab:kx,LucideGlassWater:vx,LucideGlasses:wx,LucideGlobe:ta,LucideGlobe2:Yn,LucideGlobeLock:bx,LucideGoal:Mx,LucideGrab:jx,LucideGraduationCap:gr,LucideGrape:Cx,LucideGrid:la,LucideGrid2X2:hs,LucideGrid2x2:hs,LucideGrid2x2Check:Sx,LucideGrid2x2Plus:Lx,LucideGrid2x2X:Nx,LucideGrid3X3:la,LucideGrid3x3:la,LucideGrip:Px,LucideGripHorizontal:Ix,LucideGripVertical:Ax,LucideGroup:_x,LucideGuitar:Rx,LucideHam:Tx,LucideHammer:qx,LucideHand:Ox,LucideHandCoins:Dx,LucideHandHeart:zx,LucideHandHelping:us,LucideHandMetal:Ex,LucideHandPlatter:Fx,LucideHandshake:Hx,LucideHardDrive:$x,LucideHardDriveDownload:Vx,LucideHardDriveUpload:Bx,LucideHardHat:Ux,LucideHash:Gx,LucideHaze:Wx,LucideHdmiPort:Zx,LucideHeading:tg,LucideHeading1:Jx,LucideHeading2:Xx,LucideHeading3:Yx,LucideHeading4:Kx,LucideHeading5:Qx,LucideHeading6:eg,LucideHeadphoneOff:ag,LucideHeadphones:rg,LucideHeadset:ng,LucideHeart:kr,LucideHeartCrack:sg,LucideHeartHandshake:ig,LucideHeartOff:og,LucideHeartPulse:cg,LucideHeater:lg,LucideHelpCircle:lr,LucideHelpingHand:us,LucideHexagon:dg,LucideHighlighter:hg,LucideHistory:ug,LucideHome:Va,LucideHop:yg,LucideHopOff:pg,LucideHospital:mg,LucideHotel:fg,LucideHourglass:xg,LucideHouse:Va,LucideHousePlug:gg,LucideHousePlus:kg,LucideIceCream:ys,LucideIceCream2:ps,LucideIceCreamBowl:ps,LucideIceCreamCone:ys,LucideIdCard:vg,LucideImage:Lg,LucideImageDown:wg,LucideImageMinus:bg,LucideImageOff:Mg,LucideImagePlay:jg,LucideImagePlus:Cg,LucideImageUp:Sg,LucideImages:Ng,LucideImport:Ig,LucideInbox:Ag,LucideIndent:fs,LucideIndentDecrease:ms,LucideIndentIncrease:fs,LucideIndianRupee:Pg,LucideInfinity:_g,LucideInfo:Rg,LucideInspect:Mi,LucideInspectionPanel:Tg,LucideInstagram:qg,LucideItalic:Dg,LucideIterationCcw:zg,LucideIterationCw:Eg,LucideJapaneseYen:Fg,LucideJoystick:Og,LucideKanban:Hg,LucideKanbanSquare:gi,LucideKanbanSquareDashed:hi,LucideKey:$g,LucideKeyRound:Vg,LucideKeySquare:Bg,LucideKeyboard:Wg,LucideKeyboardMusic:Ug,LucideKeyboardOff:Gg,LucideLamp:Qg,LucideLampCeiling:Zg,LucideLampDesk:Jg,LucideLampFloor:Xg,LucideLampWallDown:Yg,LucideLampWallUp:Kg,LucideLandPlot:e4,LucideLandmark:t4,LucideLanguages:_c,LucideLaptop:a4,LucideLaptop2:xs,LucideLaptopMinimal:xs,LucideLasso:n4,LucideLassoSelect:r4,LucideLaugh:s4,LucideLayers:c4,LucideLayers2:i4,LucideLayers3:o4,LucideLayout:Rs,LucideLayoutDashboard:Rc,LucideLayoutGrid:l4,LucideLayoutList:d4,LucideLayoutPanelLeft:h4,LucideLayoutPanelTop:u4,LucideLayoutTemplate:p4,LucideLeaf:y4,LucideLeafyGreen:m4,LucideLectern:f4,LucideLetterText:x4,LucideLibrary:k4,LucideLibraryBig:g4,LucideLibrarySquare:ki,LucideLifeBuoy:v4,LucideLigature:w4,LucideLightbulb:M4,LucideLightbulbOff:b4,LucideLineChart:un,LucideLink:Tc,LucideLink2:C4,LucideLink2Off:j4,LucideLinkedin:qc,LucideList:Dc,LucideListCheck:S4,LucideListChecks:L4,LucideListCollapse:N4,LucideListEnd:I4,LucideListFilter:A4,LucideListMinus:P4,LucideListMusic:_4,LucideListOrdered:R4,LucideListPlus:T4,LucideListRestart:q4,LucideListStart:D4,LucideListTodo:z4,LucideListTree:E4,LucideListVideo:F4,LucideListX:O4,LucideLoader:V4,LucideLoader2:ha,LucideLoaderCircle:ha,LucideLoaderPinwheel:H4,LucideLocate:U4,LucideLocateFixed:B4,LucideLocateOff:$4,LucideLock:uo,LucideLockKeyhole:G4,LucideLockKeyholeOpen:gs,LucideLockOpen:ks,LucideLogIn:W4,LucideLogOut:zc,LucideLogs:Z4,LucideLollipop:J4,LucideLuggage:X4,LucideMSquare:vi,LucideMagnet:Y4,LucideMail:aa,LucideMailCheck:K4,LucideMailMinus:Q4,LucideMailOpen:ek,LucideMailPlus:tk,LucideMailQuestion:ak,LucideMailSearch:rk,LucideMailWarning:nk,LucideMailX:sk,LucideMailbox:ik,LucideMails:ok,LucideMap:kk,LucideMapPin:st,LucideMapPinCheck:lk,LucideMapPinCheckInside:ck,LucideMapPinHouse:dk,LucideMapPinMinus:uk,LucideMapPinMinusInside:hk,LucideMapPinOff:pk,LucideMapPinPlus:mk,LucideMapPinPlusInside:yk,LucideMapPinX:xk,LucideMapPinXInside:fk,LucideMapPinned:gk,LucideMartini:vk,LucideMaximize:bk,LucideMaximize2:wk,LucideMedal:Mk,LucideMegaphone:Ck,LucideMegaphoneOff:jk,LucideMeh:Sk,LucideMemoryStick:Lk,LucideMenu:Bo,LucideMenuSquare:wi,LucideMerge:Nk,LucideMessageCircle:Fk,LucideMessageCircleCode:Ik,LucideMessageCircleDashed:Ak,LucideMessageCircleHeart:Pk,LucideMessageCircleMore:_k,LucideMessageCircleOff:Rk,LucideMessageCirclePlus:Tk,LucideMessageCircleQuestion:qk,LucideMessageCircleReply:Dk,LucideMessageCircleWarning:zk,LucideMessageCircleX:Ek,LucideMessageSquare:vr,LucideMessageSquareCode:Ok,LucideMessageSquareDashed:Hk,LucideMessageSquareDiff:Vk,LucideMessageSquareDot:Bk,LucideMessageSquareHeart:$k,LucideMessageSquareLock:Uk,LucideMessageSquareMore:Gk,LucideMessageSquareOff:Wk,LucideMessageSquarePlus:Zk,LucideMessageSquareQuote:Jk,LucideMessageSquareReply:Xk,LucideMessageSquareShare:Yk,LucideMessageSquareText:Kk,LucideMessageSquareWarning:Qk,LucideMessageSquareX:e5,LucideMessagesSquare:t5,LucideMic:r5,LucideMic2:vs,LucideMicOff:a5,LucideMicVocal:vs,LucideMicrochip:n5,LucideMicroscope:s5,LucideMicrowave:i5,LucideMilestone:o5,LucideMilk:l5,LucideMilkOff:c5,LucideMinimize:h5,LucideMinimize2:d5,LucideMinus:Ec,LucideMinusCircle:Pn,LucideMinusSquare:bi,LucideMonitor:j5,LucideMonitorCheck:u5,LucideMonitorCog:p5,LucideMonitorDot:y5,LucideMonitorDown:m5,LucideMonitorOff:f5,LucideMonitorPause:x5,LucideMonitorPlay:g5,LucideMonitorSmartphone:k5,LucideMonitorSpeaker:v5,LucideMonitorStop:w5,LucideMonitorUp:b5,LucideMonitorX:M5,LucideMoon:S5,LucideMoonStar:C5,LucideMoreHorizontal:Qn,LucideMoreVertical:Kn,LucideMountain:N5,LucideMountainSnow:L5,LucideMouse:T5,LucideMouseOff:I5,LucideMousePointer:R5,LucideMousePointer2:A5,LucideMousePointerBan:P5,LucideMousePointerClick:_5,LucideMousePointerSquareDashed:ui,LucideMove:W5,LucideMove3D:ws,LucideMove3d:ws,LucideMoveDiagonal:D5,LucideMoveDiagonal2:q5,LucideMoveDown:F5,LucideMoveDownLeft:z5,LucideMoveDownRight:E5,LucideMoveHorizontal:O5,LucideMoveLeft:H5,LucideMoveRight:V5,LucideMoveUp:U5,LucideMoveUpLeft:B5,LucideMoveUpRight:$5,LucideMoveVertical:G5,LucideMusic:Y5,LucideMusic2:Z5,LucideMusic3:J5,LucideMusic4:X5,LucideNavigation:tv,LucideNavigation2:Q5,LucideNavigation2Off:K5,LucideNavigationOff:ev,LucideNetwork:av,LucideNewspaper:Na,LucideNfc:rv,LucideNotebook:ov,LucideNotebookPen:nv,LucideNotebookTabs:sv,LucideNotebookText:iv,LucideNotepadText:lv,LucideNotepadTextDashed:cv,LucideNut:hv,LucideNutOff:dv,LucideOctagon:pv,LucideOctagonAlert:bs,LucideOctagonMinus:uv,LucideOctagonPause:Ms,LucideOctagonX:js,LucideOmega:yv,LucideOption:mv,LucideOrbit:fv,LucideOrigami:xv,LucideOutdent:ms,LucidePackage:Fc,LucidePackage2:gv,LucidePackageCheck:kv,LucidePackageMinus:vv,LucidePackageOpen:wv,LucidePackagePlus:bv,LucidePackageSearch:Mv,LucidePackageX:jv,LucidePaintBucket:Cv,LucidePaintRoller:Sv,LucidePaintbrush:Lv,LucidePaintbrush2:Cs,LucidePaintbrushVertical:Cs,LucidePalette:Nv,LucidePalmtree:$i,LucidePanelBottom:Pv,LucidePanelBottomClose:Iv,LucidePanelBottomDashed:Ss,LucidePanelBottomInactive:Ss,LucidePanelBottomOpen:Av,LucidePanelLeft:As,LucidePanelLeftClose:Ls,LucidePanelLeftDashed:Ns,LucidePanelLeftInactive:Ns,LucidePanelLeftOpen:Is,LucidePanelRight:Tv,LucidePanelRightClose:_v,LucidePanelRightDashed:Ps,LucidePanelRightInactive:Ps,LucidePanelRightOpen:Rv,LucidePanelTop:zv,LucidePanelTopClose:qv,LucidePanelTopDashed:_s,LucidePanelTopInactive:_s,LucidePanelTopOpen:Dv,LucidePanelsLeftBottom:Ev,LucidePanelsLeftRight:Zn,LucidePanelsRightBottom:Fv,LucidePanelsTopBottom:Os,LucidePanelsTopLeft:Rs,LucidePaperclip:Ov,LucideParentheses:Hv,LucideParkingCircle:Rn,LucideParkingCircleOff:_n,LucideParkingMeter:Vv,LucideParkingSquare:Ci,LucideParkingSquareOff:ji,LucidePartyPopper:Bv,LucidePause:$v,LucidePauseCircle:Tn,LucidePauseOctagon:Ms,LucidePawPrint:Uv,LucidePcCase:Gv,LucidePen:qs,LucidePenBox:Rt,LucidePenLine:Ts,LucidePenOff:Wv,LucidePenSquare:Rt,LucidePenTool:Zv,LucidePencil:Kv,LucidePencilLine:Jv,LucidePencilOff:Xv,LucidePencilRuler:Yv,LucidePentagon:Qv,LucidePercent:e3,LucidePercentCircle:qn,LucidePercentDiamond:Xn,LucidePercentSquare:Si,LucidePersonStanding:t3,LucidePhilippinePeso:a3,LucidePhone:wr,LucidePhoneCall:r3,LucidePhoneForwarded:n3,LucidePhoneIncoming:s3,LucidePhoneMissed:i3,LucidePhoneOff:o3,LucidePhoneOutgoing:c3,LucidePi:l3,LucidePiSquare:Li,LucidePiano:d3,LucidePickaxe:h3,LucidePictureInPicture:p3,LucidePictureInPicture2:u3,LucidePieChart:mn,LucidePiggyBank:y3,LucidePilcrow:x3,LucidePilcrowLeft:m3,LucidePilcrowRight:f3,LucidePilcrowSquare:Ni,LucidePill:k3,LucidePillBottle:g3,LucidePin:w3,LucidePinOff:v3,LucidePipette:b3,LucidePizza:M3,LucidePlane:S3,LucidePlaneLanding:j3,LucidePlaneTakeoff:C3,LucidePlay:Oc,LucidePlayCircle:Dn,LucidePlaySquare:Ii,LucidePlug:N3,LucidePlug2:L3,LucidePlugZap:Ds,LucidePlugZap2:Ds,LucidePlus:$o,LucidePlusCircle:zn,LucidePlusSquare:Ai,LucidePocket:A3,LucidePocketKnife:I3,LucidePodcast:P3,LucidePointer:R3,LucidePointerOff:_3,LucidePopcorn:T3,LucidePopsicle:q3,LucidePoundSterling:D3,LucidePower:E3,LucidePowerCircle:En,LucidePowerOff:z3,LucidePowerSquare:Pi,LucidePresentation:F3,LucidePrinter:H3,LucidePrinterCheck:O3,LucideProjector:V3,LucideProportions:B3,LucidePuzzle:$3,LucidePyramid:U3,LucideQrCode:G3,LucideQuote:Uo,LucideRabbit:W3,LucideRadar:Z3,LucideRadiation:J3,LucideRadical:X3,LucideRadio:Q3,LucideRadioReceiver:Y3,LucideRadioTower:K3,LucideRadius:e6,LucideRailSymbol:t6,LucideRainbow:a6,LucideRat:r6,LucideRatio:n6,LucideReceipt:p6,LucideReceiptCent:s6,LucideReceiptEuro:i6,LucideReceiptIndianRupee:o6,LucideReceiptJapaneseYen:c6,LucideReceiptPoundSterling:l6,LucideReceiptRussianRuble:d6,LucideReceiptSwissFranc:h6,LucideReceiptText:u6,LucideRectangleEllipsis:zs,LucideRectangleHorizontal:y6,LucideRectangleVertical:m6,LucideRecycle:f6,LucideRedo:k6,LucideRedo2:x6,LucideRedoDot:g6,LucideRefreshCcw:w6,LucideRefreshCcwDot:v6,LucideRefreshCw:M6,LucideRefreshCwOff:b6,LucideRefrigerator:j6,LucideRegex:C6,LucideRemoveFormatting:S6,LucideRepeat:I6,LucideRepeat1:L6,LucideRepeat2:N6,LucideReplace:P6,LucideReplaceAll:A6,LucideReply:R6,LucideReplyAll:_6,LucideRewind:T6,LucideRibbon:q6,LucideRocket:D6,LucideRockingChair:z6,LucideRollerCoaster:E6,LucideRotate3D:Es,LucideRotate3d:Es,LucideRotateCcw:O6,LucideRotateCcwSquare:F6,LucideRotateCw:V6,LucideRotateCwSquare:H6,LucideRoute:$6,LucideRouteOff:B6,LucideRouter:U6,LucideRows:Fs,LucideRows2:Fs,LucideRows3:Os,LucideRows4:G6,LucideRss:W6,LucideRuler:Z6,LucideRussianRuble:J6,LucideSailboat:X6,LucideSalad:Y6,LucideSandwich:K6,LucideSatellite:e8,LucideSatelliteDish:Q6,LucideSave:r8,LucideSaveAll:t8,LucideSaveOff:a8,LucideScale:n8,LucideScale3D:Hs,LucideScale3d:Hs,LucideScaling:s8,LucideScan:p8,LucideScanBarcode:i8,LucideScanEye:o8,LucideScanFace:c8,LucideScanLine:l8,LucideScanQrCode:d8,LucideScanSearch:h8,LucideScanText:u8,LucideScatterChart:fn,LucideSchool:y8,LucideSchool2:Wi,LucideScissors:f8,LucideScissorsLineDashed:m8,LucideScissorsSquare:_i,LucideScissorsSquareDashedBottom:ri,LucideScreenShare:g8,LucideScreenShareOff:x8,LucideScroll:v8,LucideScrollText:k8,LucideSearch:Vt,LucideSearchCheck:w8,LucideSearchCode:b8,LucideSearchSlash:M8,LucideSearchX:j8,LucideSection:C8,LucideSend:Hc,LucideSendHorizonal:Vs,LucideSendHorizontal:Vs,LucideSendToBack:S8,LucideSeparatorHorizontal:L8,LucideSeparatorVertical:N8,LucideServer:_8,LucideServerCog:I8,LucideServerCrash:A8,LucideServerOff:P8,LucideSettings:Go,LucideSettings2:R8,LucideShapes:T8,LucideShare:q8,LucideShare2:po,LucideSheet:D8,LucideShell:z8,LucideShield:br,LucideShieldAlert:E8,LucideShieldBan:F8,LucideShieldCheck:Vc,LucideShieldClose:Bs,LucideShieldEllipsis:O8,LucideShieldHalf:H8,LucideShieldMinus:V8,LucideShieldOff:B8,LucideShieldPlus:$8,LucideShieldQuestion:U8,LucideShieldX:Bs,LucideShip:W8,LucideShipWheel:G8,LucideShirt:Z8,LucideShoppingBag:J8,LucideShoppingBasket:X8,LucideShoppingCart:Wo,LucideShovel:Y8,LucideShowerHead:K8,LucideShrink:Q8,LucideShrub:ew,LucideShuffle:tw,LucideSidebar:As,LucideSidebarClose:Ls,LucideSidebarOpen:Is,LucideSigma:aw,LucideSigmaSquare:Ri,LucideSignal:Bc,LucideSignalHigh:rw,LucideSignalLow:nw,LucideSignalMedium:sw,LucideSignalZero:iw,LucideSignature:ow,LucideSignpost:lw,LucideSignpostBig:cw,LucideSiren:dw,LucideSkipBack:hw,LucideSkipForward:uw,LucideSkull:pw,LucideSlack:yw,LucideSlash:mw,LucideSlashSquare:Ti,LucideSlice:fw,LucideSliders:$s,LucideSlidersHorizontal:Mr,LucideSlidersVertical:$s,LucideSmartphone:kw,LucideSmartphoneCharging:xw,LucideSmartphoneNfc:gw,LucideSmile:ww,LucideSmilePlus:vw,LucideSnail:bw,LucideSnowflake:Mw,LucideSofa:jw,LucideSortAsc:Jr,LucideSortDesc:Gr,LucideSoup:Cw,LucideSpace:Sw,LucideSpade:Lw,LucideSparkle:Nw,LucideSparkles:Ma,LucideSpeaker:Iw,LucideSpeech:Aw,LucideSpellCheck:_w,LucideSpellCheck2:Pw,LucideSpline:Rw,LucideSplit:Tw,LucideSplitSquareHorizontal:qi,LucideSplitSquareVertical:Di,LucideSprayCan:qw,LucideSprout:Dw,LucideSquare:Vw,LucideSquareActivity:Us,LucideSquareArrowDown:Zs,LucideSquareArrowDownLeft:Gs,LucideSquareArrowDownRight:Ws,LucideSquareArrowLeft:Ba,LucideSquareArrowOutDownLeft:Js,LucideSquareArrowOutDownRight:Xs,LucideSquareArrowOutUpLeft:Ys,LucideSquareArrowOutUpRight:Ks,LucideSquareArrowRight:$a,LucideSquareArrowUp:ti,LucideSquareArrowUpLeft:Qs,LucideSquareArrowUpRight:ei,LucideSquareAsterisk:ai,LucideSquareBottomDashedScissors:ri,LucideSquareChartGantt:va,LucideSquareCheck:si,LucideSquareCheckBig:ni,LucideSquareChevronDown:ii,LucideSquareChevronLeft:oi,LucideSquareChevronRight:ci,LucideSquareChevronUp:li,LucideSquareCode:di,LucideSquareDashed:pi,LucideSquareDashedBottom:Ew,LucideSquareDashedBottomCode:zw,LucideSquareDashedKanban:hi,LucideSquareDashedMousePointer:ui,LucideSquareDivide:yi,LucideSquareDot:mi,LucideSquareEqual:fi,LucideSquareFunction:xi,LucideSquareGanttChart:va,LucideSquareKanban:gi,LucideSquareLibrary:ki,LucideSquareM:vi,LucideSquareMenu:wi,LucideSquareMinus:bi,LucideSquareMousePointer:Mi,LucideSquareParking:Ci,LucideSquareParkingOff:ji,LucideSquarePen:Rt,LucideSquarePercent:Si,LucideSquarePi:Li,LucideSquarePilcrow:Ni,LucideSquarePlay:Ii,LucideSquarePlus:Ai,LucideSquarePower:Pi,LucideSquareRadical:Fw,LucideSquareScissors:_i,LucideSquareSigma:Ri,LucideSquareSlash:Ti,LucideSquareSplitHorizontal:qi,LucideSquareSplitVertical:Di,LucideSquareSquare:Ow,LucideSquareStack:Hw,LucideSquareTerminal:zi,LucideSquareUser:Fi,LucideSquareUserRound:Ei,LucideSquareX:Oi,LucideSquircle:Bw,LucideSquirrel:$w,LucideStamp:Uw,LucideStar:St,LucideStarHalf:Gw,LucideStarOff:Ww,LucideStars:Ma,LucideStepBack:Zw,LucideStepForward:Jw,LucideStethoscope:Xw,LucideSticker:Yw,LucideStickyNote:Kw,LucideStopCircle:On,LucideStore:Qw,LucideStretchHorizontal:e7,LucideStretchVertical:t7,LucideStrikethrough:a7,LucideSubscript:r7,LucideSubtitles:rn,LucideSun:c7,LucideSunDim:n7,LucideSunMedium:s7,LucideSunMoon:i7,LucideSunSnow:o7,LucideSunrise:l7,LucideSunset:d7,LucideSuperscript:h7,LucideSwatchBook:u7,LucideSwissFranc:p7,LucideSwitchCamera:y7,LucideSword:m7,LucideSwords:f7,LucideSyringe:x7,LucideTable:C7,LucideTable2:g7,LucideTableCellsMerge:k7,LucideTableCellsSplit:v7,LucideTableColumnsSplit:w7,LucideTableOfContents:b7,LucideTableProperties:M7,LucideTableRowsSplit:j7,LucideTablet:L7,LucideTabletSmartphone:S7,LucideTablets:N7,LucideTag:$c,LucideTags:I7,LucideTally1:A7,LucideTally2:P7,LucideTally3:_7,LucideTally4:R7,LucideTally5:T7,LucideTangent:q7,LucideTarget:D7,LucideTelescope:z7,LucideTent:F7,LucideTentTree:E7,LucideTerminal:O7,LucideTerminalSquare:zi,LucideTestTube:H7,LucideTestTube2:Hi,LucideTestTubeDiagonal:Hi,LucideTestTubes:V7,LucideText:W7,LucideTextCursor:$7,LucideTextCursorInput:B7,LucideTextQuote:U7,LucideTextSearch:G7,LucideTextSelect:Vi,LucideTextSelection:Vi,LucideTheater:Z7,LucideThermometer:Y7,LucideThermometerSnowflake:J7,LucideThermometerSun:X7,LucideThumbsDown:K7,LucideThumbsUp:Q7,LucideTicket:ib,LucideTicketCheck:eb,LucideTicketMinus:tb,LucideTicketPercent:ab,LucideTicketPlus:rb,LucideTicketSlash:nb,LucideTicketX:sb,LucideTickets:cb,LucideTicketsPlane:ob,LucideTimer:hb,LucideTimerOff:lb,LucideTimerReset:db,LucideToggleLeft:ub,LucideToggleRight:pb,LucideTornado:yb,LucideTorus:mb,LucideTouchpad:xb,LucideTouchpadOff:fb,LucideTowerControl:gb,LucideToyBrick:kb,LucideTractor:vb,LucideTrafficCone:wb,LucideTrain:Bi,LucideTrainFront:Mb,LucideTrainFrontTunnel:bb,LucideTrainTrack:jb,LucideTramFront:Bi,LucideTrash:Cb,LucideTrash2:Zo,LucideTreeDeciduous:Sb,LucideTreePalm:$i,LucideTreePine:Lb,LucideTrees:Nb,LucideTrello:Ib,LucideTrendingDown:Ab,LucideTrendingUp:Ia,LucideTrendingUpDown:Pb,LucideTriangle:Rb,LucideTriangleAlert:Ui,LucideTriangleRight:_b,LucideTrophy:Tb,LucideTruck:qb,LucideTurtle:Db,LucideTv:Eb,LucideTv2:Gi,LucideTvMinimal:Gi,LucideTvMinimalPlay:zb,LucideTwitch:Fb,LucideTwitter:Ob,LucideType:Vb,LucideTypeOutline:Hb,LucideUmbrella:$b,LucideUmbrellaOff:Bb,LucideUnderline:Ub,LucideUndo:Zb,LucideUndo2:Gb,LucideUndoDot:Wb,LucideUnfoldHorizontal:Jb,LucideUnfoldVertical:Xb,LucideUngroup:Yb,LucideUniversity:Wi,LucideUnlink:Qb,LucideUnlink2:Kb,LucideUnlock:ks,LucideUnlockKeyhole:gs,LucideUnplug:eM,LucideUpload:Uc,LucideUploadCloud:dr,LucideUsb:tM,LucideUser:Jo,LucideUser2:Qi,LucideUserCheck:Gc,LucideUserCheck2:Zi,LucideUserCircle:Vn,LucideUserCircle2:Hn,LucideUserCog:aM,LucideUserCog2:Ji,LucideUserMinus:rM,LucideUserMinus2:Xi,LucideUserPen:nM,LucideUserPlus:sM,LucideUserPlus2:Yi,LucideUserRound:Qi,LucideUserRoundCheck:Zi,LucideUserRoundCog:Ji,LucideUserRoundMinus:Xi,LucideUserRoundPen:iM,LucideUserRoundPlus:Yi,LucideUserRoundSearch:oM,LucideUserRoundX:Ki,LucideUserSearch:cM,LucideUserSquare:Fi,LucideUserSquare2:Ei,LucideUserX:lM,LucideUserX2:Ki,LucideUsers:Lt,LucideUsers2:eo,LucideUsersRound:eo,LucideUtensils:ao,LucideUtensilsCrossed:to,LucideUtilityPole:dM,LucideVariable:hM,LucideVault:uM,LucideVegan:pM,LucideVenetianMask:yM,LucideVerified:Kr,LucideVibrate:fM,LucideVibrateOff:mM,LucideVideo:gM,LucideVideoOff:xM,LucideVideotape:kM,LucideView:vM,LucideVoicemail:wM,LucideVolleyball:bM,LucideVolume:LM,LucideVolume1:MM,LucideVolume2:jM,LucideVolumeOff:CM,LucideVolumeX:SM,LucideVote:NM,LucideWallet:AM,LucideWallet2:ro,LucideWalletCards:IM,LucideWalletMinimal:ro,LucideWallpaper:PM,LucideWand:_M,LucideWand2:no,LucideWandSparkles:no,LucideWarehouse:RM,LucideWashingMachine:TM,LucideWatch:qM,LucideWaves:DM,LucideWaypoints:zM,LucideWebcam:EM,LucideWebhook:OM,LucideWebhookOff:FM,LucideWeight:HM,LucideWheat:BM,LucideWheatOff:VM,LucideWholeWord:$M,LucideWifi:JM,LucideWifiHigh:UM,LucideWifiLow:GM,LucideWifiOff:WM,LucideWifiZero:ZM,LucideWind:XM,LucideWine:KM,LucideWineOff:YM,LucideWorkflow:QM,LucideWorm:e9,LucideWrapText:t9,LucideWrench:a9,LucideX:jt,LucideXCircle:ba,LucideXOctagon:js,LucideXSquare:Oi,LucideYoutube:r9,LucideZap:Wc,LucideZapOff:n9,LucideZoomIn:s9,LucideZoomOut:i9,Luggage:X4,LuggageIcon:X4,MSquare:vi,MSquareIcon:vi,Magnet:Y4,MagnetIcon:Y4,Mail:aa,MailCheck:K4,MailCheckIcon:K4,MailIcon:aa,MailMinus:Q4,MailMinusIcon:Q4,MailOpen:ek,MailOpenIcon:ek,MailPlus:tk,MailPlusIcon:tk,MailQuestion:ak,MailQuestionIcon:ak,MailSearch:rk,MailSearchIcon:rk,MailWarning:nk,MailWarningIcon:nk,MailX:sk,MailXIcon:sk,Mailbox:ik,MailboxIcon:ik,Mails:ok,MailsIcon:ok,Map:kk,MapIcon:kk,MapPin:st,MapPinCheck:lk,MapPinCheckIcon:lk,MapPinCheckInside:ck,MapPinCheckInsideIcon:ck,MapPinHouse:dk,MapPinHouseIcon:dk,MapPinIcon:st,MapPinMinus:uk,MapPinMinusIcon:uk,MapPinMinusInside:hk,MapPinMinusInsideIcon:hk,MapPinOff:pk,MapPinOffIcon:pk,MapPinPlus:mk,MapPinPlusIcon:mk,MapPinPlusInside:yk,MapPinPlusInsideIcon:yk,MapPinX:xk,MapPinXIcon:xk,MapPinXInside:fk,MapPinXInsideIcon:fk,MapPinned:gk,MapPinnedIcon:gk,Martini:vk,MartiniIcon:vk,Maximize:bk,Maximize2:wk,Maximize2Icon:wk,MaximizeIcon:bk,Medal:Mk,MedalIcon:Mk,Megaphone:Ck,MegaphoneIcon:Ck,MegaphoneOff:jk,MegaphoneOffIcon:jk,Meh:Sk,MehIcon:Sk,MemoryStick:Lk,MemoryStickIcon:Lk,Menu:Bo,MenuIcon:Bo,MenuSquare:wi,MenuSquareIcon:wi,Merge:Nk,MergeIcon:Nk,MessageCircle:Fk,MessageCircleCode:Ik,MessageCircleCodeIcon:Ik,MessageCircleDashed:Ak,MessageCircleDashedIcon:Ak,MessageCircleHeart:Pk,MessageCircleHeartIcon:Pk,MessageCircleIcon:Fk,MessageCircleMore:_k,MessageCircleMoreIcon:_k,MessageCircleOff:Rk,MessageCircleOffIcon:Rk,MessageCirclePlus:Tk,MessageCirclePlusIcon:Tk,MessageCircleQuestion:qk,MessageCircleQuestionIcon:qk,MessageCircleReply:Dk,MessageCircleReplyIcon:Dk,MessageCircleWarning:zk,MessageCircleWarningIcon:zk,MessageCircleX:Ek,MessageCircleXIcon:Ek,MessageSquare:vr,MessageSquareCode:Ok,MessageSquareCodeIcon:Ok,MessageSquareDashed:Hk,MessageSquareDashedIcon:Hk,MessageSquareDiff:Vk,MessageSquareDiffIcon:Vk,MessageSquareDot:Bk,MessageSquareDotIcon:Bk,MessageSquareHeart:$k,MessageSquareHeartIcon:$k,MessageSquareIcon:vr,MessageSquareLock:Uk,MessageSquareLockIcon:Uk,MessageSquareMore:Gk,MessageSquareMoreIcon:Gk,MessageSquareOff:Wk,MessageSquareOffIcon:Wk,MessageSquarePlus:Zk,MessageSquarePlusIcon:Zk,MessageSquareQuote:Jk,MessageSquareQuoteIcon:Jk,MessageSquareReply:Xk,MessageSquareReplyIcon:Xk,MessageSquareShare:Yk,MessageSquareShareIcon:Yk,MessageSquareText:Kk,MessageSquareTextIcon:Kk,MessageSquareWarning:Qk,MessageSquareWarningIcon:Qk,MessageSquareX:e5,MessageSquareXIcon:e5,MessagesSquare:t5,MessagesSquareIcon:t5,Mic:r5,Mic2:vs,Mic2Icon:vs,MicIcon:r5,MicOff:a5,MicOffIcon:a5,MicVocal:vs,MicVocalIcon:vs,Microchip:n5,MicrochipIcon:n5,Microscope:s5,MicroscopeIcon:s5,Microwave:i5,MicrowaveIcon:i5,Milestone:o5,MilestoneIcon:o5,Milk:l5,MilkIcon:l5,MilkOff:c5,MilkOffIcon:c5,Minimize:h5,Minimize2:d5,Minimize2Icon:d5,MinimizeIcon:h5,Minus:Ec,MinusCircle:Pn,MinusCircleIcon:Pn,MinusIcon:Ec,MinusSquare:bi,MinusSquareIcon:bi,Monitor:j5,MonitorCheck:u5,MonitorCheckIcon:u5,MonitorCog:p5,MonitorCogIcon:p5,MonitorDot:y5,MonitorDotIcon:y5,MonitorDown:m5,MonitorDownIcon:m5,MonitorIcon:j5,MonitorOff:f5,MonitorOffIcon:f5,MonitorPause:x5,MonitorPauseIcon:x5,MonitorPlay:g5,MonitorPlayIcon:g5,MonitorSmartphone:k5,MonitorSmartphoneIcon:k5,MonitorSpeaker:v5,MonitorSpeakerIcon:v5,MonitorStop:w5,MonitorStopIcon:w5,MonitorUp:b5,MonitorUpIcon:b5,MonitorX:M5,MonitorXIcon:M5,Moon:S5,MoonIcon:S5,MoonStar:C5,MoonStarIcon:C5,MoreHorizontal:Qn,MoreHorizontalIcon:Qn,MoreVertical:Kn,MoreVerticalIcon:Kn,Mountain:N5,MountainIcon:N5,MountainSnow:L5,MountainSnowIcon:L5,Mouse:T5,MouseIcon:T5,MouseOff:I5,MouseOffIcon:I5,MousePointer:R5,MousePointer2:A5,MousePointer2Icon:A5,MousePointerBan:P5,MousePointerBanIcon:P5,MousePointerClick:_5,MousePointerClickIcon:_5,MousePointerIcon:R5,MousePointerSquareDashed:ui,MousePointerSquareDashedIcon:ui,Move:W5,Move3D:ws,Move3DIcon:ws,Move3d:ws,Move3dIcon:ws,MoveDiagonal:D5,MoveDiagonal2:q5,MoveDiagonal2Icon:q5,MoveDiagonalIcon:D5,MoveDown:F5,MoveDownIcon:F5,MoveDownLeft:z5,MoveDownLeftIcon:z5,MoveDownRight:E5,MoveDownRightIcon:E5,MoveHorizontal:O5,MoveHorizontalIcon:O5,MoveIcon:W5,MoveLeft:H5,MoveLeftIcon:H5,MoveRight:V5,MoveRightIcon:V5,MoveUp:U5,MoveUpIcon:U5,MoveUpLeft:B5,MoveUpLeftIcon:B5,MoveUpRight:$5,MoveUpRightIcon:$5,MoveVertical:G5,MoveVerticalIcon:G5,Music:Y5,Music2:Z5,Music2Icon:Z5,Music3:J5,Music3Icon:J5,Music4:X5,Music4Icon:X5,MusicIcon:Y5,Navigation:tv,Navigation2:Q5,Navigation2Icon:Q5,Navigation2Off:K5,Navigation2OffIcon:K5,NavigationIcon:tv,NavigationOff:ev,NavigationOffIcon:ev,Network:av,NetworkIcon:av,Newspaper:Na,NewspaperIcon:Na,Nfc:rv,NfcIcon:rv,Notebook:ov,NotebookIcon:ov,NotebookPen:nv,NotebookPenIcon:nv,NotebookTabs:sv,NotebookTabsIcon:sv,NotebookText:iv,NotebookTextIcon:iv,NotepadText:lv,NotepadTextDashed:cv,NotepadTextDashedIcon:cv,NotepadTextIcon:lv,Nut:hv,NutIcon:hv,NutOff:dv,NutOffIcon:dv,Octagon:pv,OctagonAlert:bs,OctagonAlertIcon:bs,OctagonIcon:pv,OctagonMinus:uv,OctagonMinusIcon:uv,OctagonPause:Ms,OctagonPauseIcon:Ms,OctagonX:js,OctagonXIcon:js,Omega:yv,OmegaIcon:yv,Option:mv,OptionIcon:mv,Orbit:fv,OrbitIcon:fv,Origami:xv,OrigamiIcon:xv,Outdent:ms,OutdentIcon:ms,Package:Fc,Package2:gv,Package2Icon:gv,PackageCheck:kv,PackageCheckIcon:kv,PackageIcon:Fc,PackageMinus:vv,PackageMinusIcon:vv,PackageOpen:wv,PackageOpenIcon:wv,PackagePlus:bv,PackagePlusIcon:bv,PackageSearch:Mv,PackageSearchIcon:Mv,PackageX:jv,PackageXIcon:jv,PaintBucket:Cv,PaintBucketIcon:Cv,PaintRoller:Sv,PaintRollerIcon:Sv,Paintbrush:Lv,Paintbrush2:Cs,Paintbrush2Icon:Cs,PaintbrushIcon:Lv,PaintbrushVertical:Cs,PaintbrushVerticalIcon:Cs,Palette:Nv,PaletteIcon:Nv,Palmtree:$i,PalmtreeIcon:$i,PanelBottom:Pv,PanelBottomClose:Iv,PanelBottomCloseIcon:Iv,PanelBottomDashed:Ss,PanelBottomDashedIcon:Ss,PanelBottomIcon:Pv,PanelBottomInactive:Ss,PanelBottomInactiveIcon:Ss,PanelBottomOpen:Av,PanelBottomOpenIcon:Av,PanelLeft:As,PanelLeftClose:Ls,PanelLeftCloseIcon:Ls,PanelLeftDashed:Ns,PanelLeftDashedIcon:Ns,PanelLeftIcon:As,PanelLeftInactive:Ns,PanelLeftInactiveIcon:Ns,PanelLeftOpen:Is,PanelLeftOpenIcon:Is,PanelRight:Tv,PanelRightClose:_v,PanelRightCloseIcon:_v,PanelRightDashed:Ps,PanelRightDashedIcon:Ps,PanelRightIcon:Tv,PanelRightInactive:Ps,PanelRightInactiveIcon:Ps,PanelRightOpen:Rv,PanelRightOpenIcon:Rv,PanelTop:zv,PanelTopClose:qv,PanelTopCloseIcon:qv,PanelTopDashed:_s,PanelTopDashedIcon:_s,PanelTopIcon:zv,PanelTopInactive:_s,PanelTopInactiveIcon:_s,PanelTopOpen:Dv,PanelTopOpenIcon:Dv,PanelsLeftBottom:Ev,PanelsLeftBottomIcon:Ev,PanelsLeftRight:Zn,PanelsLeftRightIcon:Zn,PanelsRightBottom:Fv,PanelsRightBottomIcon:Fv,PanelsTopBottom:Os,PanelsTopBottomIcon:Os,PanelsTopLeft:Rs,PanelsTopLeftIcon:Rs,Paperclip:Ov,PaperclipIcon:Ov,Parentheses:Hv,ParenthesesIcon:Hv,ParkingCircle:Rn,ParkingCircleIcon:Rn,ParkingCircleOff:_n,ParkingCircleOffIcon:_n,ParkingMeter:Vv,ParkingMeterIcon:Vv,ParkingSquare:Ci,ParkingSquareIcon:Ci,ParkingSquareOff:ji,ParkingSquareOffIcon:ji,PartyPopper:Bv,PartyPopperIcon:Bv,Pause:$v,PauseCircle:Tn,PauseCircleIcon:Tn,PauseIcon:$v,PauseOctagon:Ms,PauseOctagonIcon:Ms,PawPrint:Uv,PawPrintIcon:Uv,PcCase:Gv,PcCaseIcon:Gv,Pen:qs,PenBox:Rt,PenBoxIcon:Rt,PenIcon:qs,PenLine:Ts,PenLineIcon:Ts,PenOff:Wv,PenOffIcon:Wv,PenSquare:Rt,PenSquareIcon:Rt,PenTool:Zv,PenToolIcon:Zv,Pencil:Kv,PencilIcon:Kv,PencilLine:Jv,PencilLineIcon:Jv,PencilOff:Xv,PencilOffIcon:Xv,PencilRuler:Yv,PencilRulerIcon:Yv,Pentagon:Qv,PentagonIcon:Qv,Percent:e3,PercentCircle:qn,PercentCircleIcon:qn,PercentDiamond:Xn,PercentDiamondIcon:Xn,PercentIcon:e3,PercentSquare:Si,PercentSquareIcon:Si,PersonStanding:t3,PersonStandingIcon:t3,PhilippinePeso:a3,PhilippinePesoIcon:a3,Phone:wr,PhoneCall:r3,PhoneCallIcon:r3,PhoneForwarded:n3,PhoneForwardedIcon:n3,PhoneIcon:wr,PhoneIncoming:s3,PhoneIncomingIcon:s3,PhoneMissed:i3,PhoneMissedIcon:i3,PhoneOff:o3,PhoneOffIcon:o3,PhoneOutgoing:c3,PhoneOutgoingIcon:c3,Pi:l3,PiIcon:l3,PiSquare:Li,PiSquareIcon:Li,Piano:d3,PianoIcon:d3,Pickaxe:h3,PickaxeIcon:h3,PictureInPicture:p3,PictureInPicture2:u3,PictureInPicture2Icon:u3,PictureInPictureIcon:p3,PieChart:mn,PieChartIcon:mn,PiggyBank:y3,PiggyBankIcon:y3,Pilcrow:x3,PilcrowIcon:x3,PilcrowLeft:m3,PilcrowLeftIcon:m3,PilcrowRight:f3,PilcrowRightIcon:f3,PilcrowSquare:Ni,PilcrowSquareIcon:Ni,Pill:k3,PillBottle:g3,PillBottleIcon:g3,PillIcon:k3,Pin:w3,PinIcon:w3,PinOff:v3,PinOffIcon:v3,Pipette:b3,PipetteIcon:b3,Pizza:M3,PizzaIcon:M3,Plane:S3,PlaneIcon:S3,PlaneLanding:j3,PlaneLandingIcon:j3,PlaneTakeoff:C3,PlaneTakeoffIcon:C3,Play:Oc,PlayCircle:Dn,PlayCircleIcon:Dn,PlayIcon:Oc,PlaySquare:Ii,PlaySquareIcon:Ii,Plug:N3,Plug2:L3,Plug2Icon:L3,PlugIcon:N3,PlugZap:Ds,PlugZap2:Ds,PlugZap2Icon:Ds,PlugZapIcon:Ds,Plus:$o,PlusCircle:zn,PlusCircleIcon:zn,PlusIcon:$o,PlusSquare:Ai,PlusSquareIcon:Ai,Pocket:A3,PocketIcon:A3,PocketKnife:I3,PocketKnifeIcon:I3,Podcast:P3,PodcastIcon:P3,Pointer:R3,PointerIcon:R3,PointerOff:_3,PointerOffIcon:_3,Popcorn:T3,PopcornIcon:T3,Popsicle:q3,PopsicleIcon:q3,PoundSterling:D3,PoundSterlingIcon:D3,Power:E3,PowerCircle:En,PowerCircleIcon:En,PowerIcon:E3,PowerOff:z3,PowerOffIcon:z3,PowerSquare:Pi,PowerSquareIcon:Pi,Presentation:F3,PresentationIcon:F3,Printer:H3,PrinterCheck:O3,PrinterCheckIcon:O3,PrinterIcon:H3,Projector:V3,ProjectorIcon:V3,Proportions:B3,ProportionsIcon:B3,Puzzle:$3,PuzzleIcon:$3,Pyramid:U3,PyramidIcon:U3,QrCode:G3,QrCodeIcon:G3,Quote:Uo,QuoteIcon:Uo,Rabbit:W3,RabbitIcon:W3,Radar:Z3,RadarIcon:Z3,Radiation:J3,RadiationIcon:J3,Radical:X3,RadicalIcon:X3,Radio:Q3,RadioIcon:Q3,RadioReceiver:Y3,RadioReceiverIcon:Y3,RadioTower:K3,RadioTowerIcon:K3,Radius:e6,RadiusIcon:e6,RailSymbol:t6,RailSymbolIcon:t6,Rainbow:a6,RainbowIcon:a6,Rat:r6,RatIcon:r6,Ratio:n6,RatioIcon:n6,Receipt:p6,ReceiptCent:s6,ReceiptCentIcon:s6,ReceiptEuro:i6,ReceiptEuroIcon:i6,ReceiptIcon:p6,ReceiptIndianRupee:o6,ReceiptIndianRupeeIcon:o6,ReceiptJapaneseYen:c6,ReceiptJapaneseYenIcon:c6,ReceiptPoundSterling:l6,ReceiptPoundSterlingIcon:l6,ReceiptRussianRuble:d6,ReceiptRussianRubleIcon:d6,ReceiptSwissFranc:h6,ReceiptSwissFrancIcon:h6,ReceiptText:u6,ReceiptTextIcon:u6,RectangleEllipsis:zs,RectangleEllipsisIcon:zs,RectangleHorizontal:y6,RectangleHorizontalIcon:y6,RectangleVertical:m6,RectangleVerticalIcon:m6,Recycle:f6,RecycleIcon:f6,Redo:k6,Redo2:x6,Redo2Icon:x6,RedoDot:g6,RedoDotIcon:g6,RedoIcon:k6,RefreshCcw:w6,RefreshCcwDot:v6,RefreshCcwDotIcon:v6,RefreshCcwIcon:w6,RefreshCw:M6,RefreshCwIcon:M6,RefreshCwOff:b6,RefreshCwOffIcon:b6,Refrigerator:j6,RefrigeratorIcon:j6,Regex:C6,RegexIcon:C6,RemoveFormatting:S6,RemoveFormattingIcon:S6,Repeat:I6,Repeat1:L6,Repeat1Icon:L6,Repeat2:N6,Repeat2Icon:N6,RepeatIcon:I6,Replace:P6,ReplaceAll:A6,ReplaceAllIcon:A6,ReplaceIcon:P6,Reply:R6,ReplyAll:_6,ReplyAllIcon:_6,ReplyIcon:R6,Rewind:T6,RewindIcon:T6,Ribbon:q6,RibbonIcon:q6,Rocket:D6,RocketIcon:D6,RockingChair:z6,RockingChairIcon:z6,RollerCoaster:E6,RollerCoasterIcon:E6,Rotate3D:Es,Rotate3DIcon:Es,Rotate3d:Es,Rotate3dIcon:Es,RotateCcw:O6,RotateCcwIcon:O6,RotateCcwSquare:F6,RotateCcwSquareIcon:F6,RotateCw:V6,RotateCwIcon:V6,RotateCwSquare:H6,RotateCwSquareIcon:H6,Route:$6,RouteIcon:$6,RouteOff:B6,RouteOffIcon:B6,Router:U6,RouterIcon:U6,Rows:Fs,Rows2:Fs,Rows2Icon:Fs,Rows3:Os,Rows3Icon:Os,Rows4:G6,Rows4Icon:G6,RowsIcon:Fs,Rss:W6,RssIcon:W6,Ruler:Z6,RulerIcon:Z6,RussianRuble:J6,RussianRubleIcon:J6,Sailboat:X6,SailboatIcon:X6,Salad:Y6,SaladIcon:Y6,Sandwich:K6,SandwichIcon:K6,Satellite:e8,SatelliteDish:Q6,SatelliteDishIcon:Q6,SatelliteIcon:e8,Save:r8,SaveAll:t8,SaveAllIcon:t8,SaveIcon:r8,SaveOff:a8,SaveOffIcon:a8,Scale:n8,Scale3D:Hs,Scale3DIcon:Hs,Scale3d:Hs,Scale3dIcon:Hs,ScaleIcon:n8,Scaling:s8,ScalingIcon:s8,Scan:p8,ScanBarcode:i8,ScanBarcodeIcon:i8,ScanEye:o8,ScanEyeIcon:o8,ScanFace:c8,ScanFaceIcon:c8,ScanIcon:p8,ScanLine:l8,ScanLineIcon:l8,ScanQrCode:d8,ScanQrCodeIcon:d8,ScanSearch:h8,ScanSearchIcon:h8,ScanText:u8,ScanTextIcon:u8,ScatterChart:fn,ScatterChartIcon:fn,School:y8,School2:Wi,School2Icon:Wi,SchoolIcon:y8,Scissors:f8,ScissorsIcon:f8,ScissorsLineDashed:m8,ScissorsLineDashedIcon:m8,ScissorsSquare:_i,ScissorsSquareDashedBottom:ri,ScissorsSquareDashedBottomIcon:ri,ScissorsSquareIcon:_i,ScreenShare:g8,ScreenShareIcon:g8,ScreenShareOff:x8,ScreenShareOffIcon:x8,Scroll:v8,ScrollIcon:v8,ScrollText:k8,ScrollTextIcon:k8,Search:Vt,SearchCheck:w8,SearchCheckIcon:w8,SearchCode:b8,SearchCodeIcon:b8,SearchIcon:Vt,SearchSlash:M8,SearchSlashIcon:M8,SearchX:j8,SearchXIcon:j8,Section:C8,SectionIcon:C8,Send:Hc,SendHorizonal:Vs,SendHorizonalIcon:Vs,SendHorizontal:Vs,SendHorizontalIcon:Vs,SendIcon:Hc,SendToBack:S8,SendToBackIcon:S8,SeparatorHorizontal:L8,SeparatorHorizontalIcon:L8,SeparatorVertical:N8,SeparatorVerticalIcon:N8,Server:_8,ServerCog:I8,ServerCogIcon:I8,ServerCrash:A8,ServerCrashIcon:A8,ServerIcon:_8,ServerOff:P8,ServerOffIcon:P8,Settings:Go,Settings2:R8,Settings2Icon:R8,SettingsIcon:Go,Shapes:T8,ShapesIcon:T8,Share:q8,Share2:po,Share2Icon:po,ShareIcon:q8,Sheet:D8,SheetIcon:D8,Shell:z8,ShellIcon:z8,Shield:br,ShieldAlert:E8,ShieldAlertIcon:E8,ShieldBan:F8,ShieldBanIcon:F8,ShieldCheck:Vc,ShieldCheckIcon:Vc,ShieldClose:Bs,ShieldCloseIcon:Bs,ShieldEllipsis:O8,ShieldEllipsisIcon:O8,ShieldHalf:H8,ShieldHalfIcon:H8,ShieldIcon:br,ShieldMinus:V8,ShieldMinusIcon:V8,ShieldOff:B8,ShieldOffIcon:B8,ShieldPlus:$8,ShieldPlusIcon:$8,ShieldQuestion:U8,ShieldQuestionIcon:U8,ShieldX:Bs,ShieldXIcon:Bs,Ship:W8,ShipIcon:W8,ShipWheel:G8,ShipWheelIcon:G8,Shirt:Z8,ShirtIcon:Z8,ShoppingBag:J8,ShoppingBagIcon:J8,ShoppingBasket:X8,ShoppingBasketIcon:X8,ShoppingCart:Wo,ShoppingCartIcon:Wo,Shovel:Y8,ShovelIcon:Y8,ShowerHead:K8,ShowerHeadIcon:K8,Shrink:Q8,ShrinkIcon:Q8,Shrub:ew,ShrubIcon:ew,Shuffle:tw,ShuffleIcon:tw,Sidebar:As,SidebarClose:Ls,SidebarCloseIcon:Ls,SidebarIcon:As,SidebarOpen:Is,SidebarOpenIcon:Is,Sigma:aw,SigmaIcon:aw,SigmaSquare:Ri,SigmaSquareIcon:Ri,Signal:Bc,SignalHigh:rw,SignalHighIcon:rw,SignalIcon:Bc,SignalLow:nw,SignalLowIcon:nw,SignalMedium:sw,SignalMediumIcon:sw,SignalZero:iw,SignalZeroIcon:iw,Signature:ow,SignatureIcon:ow,Signpost:lw,SignpostBig:cw,SignpostBigIcon:cw,SignpostIcon:lw,Siren:dw,SirenIcon:dw,SkipBack:hw,SkipBackIcon:hw,SkipForward:uw,SkipForwardIcon:uw,Skull:pw,SkullIcon:pw,Slack:yw,SlackIcon:yw,Slash:mw,SlashIcon:mw,SlashSquare:Ti,SlashSquareIcon:Ti,Slice:fw,SliceIcon:fw,Sliders:$s,SlidersHorizontal:Mr,SlidersHorizontalIcon:Mr,SlidersIcon:$s,SlidersVertical:$s,SlidersVerticalIcon:$s,Smartphone:kw,SmartphoneCharging:xw,SmartphoneChargingIcon:xw,SmartphoneIcon:kw,SmartphoneNfc:gw,SmartphoneNfcIcon:gw,Smile:ww,SmileIcon:ww,SmilePlus:vw,SmilePlusIcon:vw,Snail:bw,SnailIcon:bw,Snowflake:Mw,SnowflakeIcon:Mw,Sofa:jw,SofaIcon:jw,SortAsc:Jr,SortAscIcon:Jr,SortDesc:Gr,SortDescIcon:Gr,Soup:Cw,SoupIcon:Cw,Space:Sw,SpaceIcon:Sw,Spade:Lw,SpadeIcon:Lw,Sparkle:Nw,SparkleIcon:Nw,Sparkles:Ma,SparklesIcon:Ma,Speaker:Iw,SpeakerIcon:Iw,Speech:Aw,SpeechIcon:Aw,SpellCheck:_w,SpellCheck2:Pw,SpellCheck2Icon:Pw,SpellCheckIcon:_w,Spline:Rw,SplineIcon:Rw,Split:Tw,SplitIcon:Tw,SplitSquareHorizontal:qi,SplitSquareHorizontalIcon:qi,SplitSquareVertical:Di,SplitSquareVerticalIcon:Di,SprayCan:qw,SprayCanIcon:qw,Sprout:Dw,SproutIcon:Dw,Square:Vw,SquareActivity:Us,SquareActivityIcon:Us,SquareArrowDown:Zs,SquareArrowDownIcon:Zs,SquareArrowDownLeft:Gs,SquareArrowDownLeftIcon:Gs,SquareArrowDownRight:Ws,SquareArrowDownRightIcon:Ws,SquareArrowLeft:Ba,SquareArrowLeftIcon:Ba,SquareArrowOutDownLeft:Js,SquareArrowOutDownLeftIcon:Js,SquareArrowOutDownRight:Xs,SquareArrowOutDownRightIcon:Xs,SquareArrowOutUpLeft:Ys,SquareArrowOutUpLeftIcon:Ys,SquareArrowOutUpRight:Ks,SquareArrowOutUpRightIcon:Ks,SquareArrowRight:$a,SquareArrowRightIcon:$a,SquareArrowUp:ti,SquareArrowUpIcon:ti,SquareArrowUpLeft:Qs,SquareArrowUpLeftIcon:Qs,SquareArrowUpRight:ei,SquareArrowUpRightIcon:ei,SquareAsterisk:ai,SquareAsteriskIcon:ai,SquareBottomDashedScissors:ri,SquareBottomDashedScissorsIcon:ri,SquareChartGantt:va,SquareChartGanttIcon:va,SquareCheck:si,SquareCheckBig:ni,SquareCheckBigIcon:ni,SquareCheckIcon:si,SquareChevronDown:ii,SquareChevronDownIcon:ii,SquareChevronLeft:oi,SquareChevronLeftIcon:oi,SquareChevronRight:ci,SquareChevronRightIcon:ci,SquareChevronUp:li,SquareChevronUpIcon:li,SquareCode:di,SquareCodeIcon:di,SquareDashed:pi,SquareDashedBottom:Ew,SquareDashedBottomCode:zw,SquareDashedBottomCodeIcon:zw,SquareDashedBottomIcon:Ew,SquareDashedIcon:pi,SquareDashedKanban:hi,SquareDashedKanbanIcon:hi,SquareDashedMousePointer:ui,SquareDashedMousePointerIcon:ui,SquareDivide:yi,SquareDivideIcon:yi,SquareDot:mi,SquareDotIcon:mi,SquareEqual:fi,SquareEqualIcon:fi,SquareFunction:xi,SquareFunctionIcon:xi,SquareGanttChart:va,SquareGanttChartIcon:va,SquareIcon:Vw,SquareKanban:gi,SquareKanbanIcon:gi,SquareLibrary:ki,SquareLibraryIcon:ki,SquareM:vi,SquareMIcon:vi,SquareMenu:wi,SquareMenuIcon:wi,SquareMinus:bi,SquareMinusIcon:bi,SquareMousePointer:Mi,SquareMousePointerIcon:Mi,SquareParking:Ci,SquareParkingIcon:Ci,SquareParkingOff:ji,SquareParkingOffIcon:ji,SquarePen:Rt,SquarePenIcon:Rt,SquarePercent:Si,SquarePercentIcon:Si,SquarePi:Li,SquarePiIcon:Li,SquarePilcrow:Ni,SquarePilcrowIcon:Ni,SquarePlay:Ii,SquarePlayIcon:Ii,SquarePlus:Ai,SquarePlusIcon:Ai,SquarePower:Pi,SquarePowerIcon:Pi,SquareRadical:Fw,SquareRadicalIcon:Fw,SquareScissors:_i,SquareScissorsIcon:_i,SquareSigma:Ri,SquareSigmaIcon:Ri,SquareSlash:Ti,SquareSlashIcon:Ti,SquareSplitHorizontal:qi,SquareSplitHorizontalIcon:qi,SquareSplitVertical:Di,SquareSplitVerticalIcon:Di,SquareSquare:Ow,SquareSquareIcon:Ow,SquareStack:Hw,SquareStackIcon:Hw,SquareTerminal:zi,SquareTerminalIcon:zi,SquareUser:Fi,SquareUserIcon:Fi,SquareUserRound:Ei,SquareUserRoundIcon:Ei,SquareX:Oi,SquareXIcon:Oi,Squircle:Bw,SquircleIcon:Bw,Squirrel:$w,SquirrelIcon:$w,Stamp:Uw,StampIcon:Uw,Star:St,StarHalf:Gw,StarHalfIcon:Gw,StarIcon:St,StarOff:Ww,StarOffIcon:Ww,Stars:Ma,StarsIcon:Ma,StepBack:Zw,StepBackIcon:Zw,StepForward:Jw,StepForwardIcon:Jw,Stethoscope:Xw,StethoscopeIcon:Xw,Sticker:Yw,StickerIcon:Yw,StickyNote:Kw,StickyNoteIcon:Kw,StopCircle:On,StopCircleIcon:On,Store:Qw,StoreIcon:Qw,StretchHorizontal:e7,StretchHorizontalIcon:e7,StretchVertical:t7,StretchVerticalIcon:t7,Strikethrough:a7,StrikethroughIcon:a7,Subscript:r7,SubscriptIcon:r7,Subtitles:rn,SubtitlesIcon:rn,Sun:c7,SunDim:n7,SunDimIcon:n7,SunIcon:c7,SunMedium:s7,SunMediumIcon:s7,SunMoon:i7,SunMoonIcon:i7,SunSnow:o7,SunSnowIcon:o7,Sunrise:l7,SunriseIcon:l7,Sunset:d7,SunsetIcon:d7,Superscript:h7,SuperscriptIcon:h7,SwatchBook:u7,SwatchBookIcon:u7,SwissFranc:p7,SwissFrancIcon:p7,SwitchCamera:y7,SwitchCameraIcon:y7,Sword:m7,SwordIcon:m7,Swords:f7,SwordsIcon:f7,Syringe:x7,SyringeIcon:x7,Table:C7,Table2:g7,Table2Icon:g7,TableCellsMerge:k7,TableCellsMergeIcon:k7,TableCellsSplit:v7,TableCellsSplitIcon:v7,TableColumnsSplit:w7,TableColumnsSplitIcon:w7,TableIcon:C7,TableOfContents:b7,TableOfContentsIcon:b7,TableProperties:M7,TablePropertiesIcon:M7,TableRowsSplit:j7,TableRowsSplitIcon:j7,Tablet:L7,TabletIcon:L7,TabletSmartphone:S7,TabletSmartphoneIcon:S7,Tablets:N7,TabletsIcon:N7,Tag:$c,TagIcon:$c,Tags:I7,TagsIcon:I7,Tally1:A7,Tally1Icon:A7,Tally2:P7,Tally2Icon:P7,Tally3:_7,Tally3Icon:_7,Tally4:R7,Tally4Icon:R7,Tally5:T7,Tally5Icon:T7,Tangent:q7,TangentIcon:q7,Target:D7,TargetIcon:D7,Telescope:z7,TelescopeIcon:z7,Tent:F7,TentIcon:F7,TentTree:E7,TentTreeIcon:E7,Terminal:O7,TerminalIcon:O7,TerminalSquare:zi,TerminalSquareIcon:zi,TestTube:H7,TestTube2:Hi,TestTube2Icon:Hi,TestTubeDiagonal:Hi,TestTubeDiagonalIcon:Hi,TestTubeIcon:H7,TestTubes:V7,TestTubesIcon:V7,Text:W7,TextCursor:$7,TextCursorIcon:$7,TextCursorInput:B7,TextCursorInputIcon:B7,TextIcon:W7,TextQuote:U7,TextQuoteIcon:U7,TextSearch:G7,TextSearchIcon:G7,TextSelect:Vi,TextSelectIcon:Vi,TextSelection:Vi,TextSelectionIcon:Vi,Theater:Z7,TheaterIcon:Z7,Thermometer:Y7,ThermometerIcon:Y7,ThermometerSnowflake:J7,ThermometerSnowflakeIcon:J7,ThermometerSun:X7,ThermometerSunIcon:X7,ThumbsDown:K7,ThumbsDownIcon:K7,ThumbsUp:Q7,ThumbsUpIcon:Q7,Ticket:ib,TicketCheck:eb,TicketCheckIcon:eb,TicketIcon:ib,TicketMinus:tb,TicketMinusIcon:tb,TicketPercent:ab,TicketPercentIcon:ab,TicketPlus:rb,TicketPlusIcon:rb,TicketSlash:nb,TicketSlashIcon:nb,TicketX:sb,TicketXIcon:sb,Tickets:cb,TicketsIcon:cb,TicketsPlane:ob,TicketsPlaneIcon:ob,Timer:hb,TimerIcon:hb,TimerOff:lb,TimerOffIcon:lb,TimerReset:db,TimerResetIcon:db,ToggleLeft:ub,ToggleLeftIcon:ub,ToggleRight:pb,ToggleRightIcon:pb,Tornado:yb,TornadoIcon:yb,Torus:mb,TorusIcon:mb,Touchpad:xb,TouchpadIcon:xb,TouchpadOff:fb,TouchpadOffIcon:fb,TowerControl:gb,TowerControlIcon:gb,ToyBrick:kb,ToyBrickIcon:kb,Tractor:vb,TractorIcon:vb,TrafficCone:wb,TrafficConeIcon:wb,Train:Bi,TrainFront:Mb,TrainFrontIcon:Mb,TrainFrontTunnel:bb,TrainFrontTunnelIcon:bb,TrainIcon:Bi,TrainTrack:jb,TrainTrackIcon:jb,TramFront:Bi,TramFrontIcon:Bi,Trash:Cb,Trash2:Zo,Trash2Icon:Zo,TrashIcon:Cb,TreeDeciduous:Sb,TreeDeciduousIcon:Sb,TreePalm:$i,TreePalmIcon:$i,TreePine:Lb,TreePineIcon:Lb,Trees:Nb,TreesIcon:Nb,Trello:Ib,TrelloIcon:Ib,TrendingDown:Ab,TrendingDownIcon:Ab,TrendingUp:Ia,TrendingUpDown:Pb,TrendingUpDownIcon:Pb,TrendingUpIcon:Ia,Triangle:Rb,TriangleAlert:Ui,TriangleAlertIcon:Ui,TriangleIcon:Rb,TriangleRight:_b,TriangleRightIcon:_b,Trophy:Tb,TrophyIcon:Tb,Truck:qb,TruckIcon:qb,Turtle:Db,TurtleIcon:Db,Tv:Eb,Tv2:Gi,Tv2Icon:Gi,TvIcon:Eb,TvMinimal:Gi,TvMinimalIcon:Gi,TvMinimalPlay:zb,TvMinimalPlayIcon:zb,Twitch:Fb,TwitchIcon:Fb,Twitter:Ob,TwitterIcon:Ob,Type:Vb,TypeIcon:Vb,TypeOutline:Hb,TypeOutlineIcon:Hb,Umbrella:$b,UmbrellaIcon:$b,UmbrellaOff:Bb,UmbrellaOffIcon:Bb,Underline:Ub,UnderlineIcon:Ub,Undo:Zb,Undo2:Gb,Undo2Icon:Gb,UndoDot:Wb,UndoDotIcon:Wb,UndoIcon:Zb,UnfoldHorizontal:Jb,UnfoldHorizontalIcon:Jb,UnfoldVertical:Xb,UnfoldVerticalIcon:Xb,Ungroup:Yb,UngroupIcon:Yb,University:Wi,UniversityIcon:Wi,Unlink:Qb,Unlink2:Kb,Unlink2Icon:Kb,UnlinkIcon:Qb,Unlock:ks,UnlockIcon:ks,UnlockKeyhole:gs,UnlockKeyholeIcon:gs,Unplug:eM,UnplugIcon:eM,Upload:Uc,UploadCloud:dr,UploadCloudIcon:dr,UploadIcon:Uc,Usb:tM,UsbIcon:tM,User:Jo,User2:Qi,User2Icon:Qi,UserCheck:Gc,UserCheck2:Zi,UserCheck2Icon:Zi,UserCheckIcon:Gc,UserCircle:Vn,UserCircle2:Hn,UserCircle2Icon:Hn,UserCircleIcon:Vn,UserCog:aM,UserCog2:Ji,UserCog2Icon:Ji,UserCogIcon:aM,UserIcon:Jo,UserMinus:rM,UserMinus2:Xi,UserMinus2Icon:Xi,UserMinusIcon:rM,UserPen:nM,UserPenIcon:nM,UserPlus:sM,UserPlus2:Yi,UserPlus2Icon:Yi,UserPlusIcon:sM,UserRound:Qi,UserRoundCheck:Zi,UserRoundCheckIcon:Zi,UserRoundCog:Ji,UserRoundCogIcon:Ji,UserRoundIcon:Qi,UserRoundMinus:Xi,UserRoundMinusIcon:Xi,UserRoundPen:iM,UserRoundPenIcon:iM,UserRoundPlus:Yi,UserRoundPlusIcon:Yi,UserRoundSearch:oM,UserRoundSearchIcon:oM,UserRoundX:Ki,UserRoundXIcon:Ki,UserSearch:cM,UserSearchIcon:cM,UserSquare:Fi,UserSquare2:Ei,UserSquare2Icon:Ei,UserSquareIcon:Fi,UserX:lM,UserX2:Ki,UserX2Icon:Ki,UserXIcon:lM,Users:Lt,Users2:eo,Users2Icon:eo,UsersIcon:Lt,UsersRound:eo,UsersRoundIcon:eo,Utensils:ao,UtensilsCrossed:to,UtensilsCrossedIcon:to,UtensilsIcon:ao,UtilityPole:dM,UtilityPoleIcon:dM,Variable:hM,VariableIcon:hM,Vault:uM,VaultIcon:uM,Vegan:pM,VeganIcon:pM,VenetianMask:yM,VenetianMaskIcon:yM,Verified:Kr,VerifiedIcon:Kr,Vibrate:fM,VibrateIcon:fM,VibrateOff:mM,VibrateOffIcon:mM,Video:gM,VideoIcon:gM,VideoOff:xM,VideoOffIcon:xM,Videotape:kM,VideotapeIcon:kM,View:vM,ViewIcon:vM,Voicemail:wM,VoicemailIcon:wM,Volleyball:bM,VolleyballIcon:bM,Volume:LM,Volume1:MM,Volume1Icon:MM,Volume2:jM,Volume2Icon:jM,VolumeIcon:LM,VolumeOff:CM,VolumeOffIcon:CM,VolumeX:SM,VolumeXIcon:SM,Vote:NM,VoteIcon:NM,Wallet:AM,Wallet2:ro,Wallet2Icon:ro,WalletCards:IM,WalletCardsIcon:IM,WalletIcon:AM,WalletMinimal:ro,WalletMinimalIcon:ro,Wallpaper:PM,WallpaperIcon:PM,Wand:_M,Wand2:no,Wand2Icon:no,WandIcon:_M,WandSparkles:no,WandSparklesIcon:no,Warehouse:RM,WarehouseIcon:RM,WashingMachine:TM,WashingMachineIcon:TM,Watch:qM,WatchIcon:qM,Waves:DM,WavesIcon:DM,Waypoints:zM,WaypointsIcon:zM,Webcam:EM,WebcamIcon:EM,Webhook:OM,WebhookIcon:OM,WebhookOff:FM,WebhookOffIcon:FM,Weight:HM,WeightIcon:HM,Wheat:BM,WheatIcon:BM,WheatOff:VM,WheatOffIcon:VM,WholeWord:$M,WholeWordIcon:$M,Wifi:JM,WifiHigh:UM,WifiHighIcon:UM,WifiIcon:JM,WifiLow:GM,WifiLowIcon:GM,WifiOff:WM,WifiOffIcon:WM,WifiZero:ZM,WifiZeroIcon:ZM,Wind:XM,WindIcon:XM,Wine:KM,WineIcon:KM,WineOff:YM,WineOffIcon:YM,Workflow:QM,WorkflowIcon:QM,Worm:e9,WormIcon:e9,WrapText:t9,WrapTextIcon:t9,Wrench:a9,WrenchIcon:a9,X:jt,XCircle:ba,XCircleIcon:ba,XIcon:jt,XOctagon:js,XOctagonIcon:js,XSquare:Oi,XSquareIcon:Oi,Youtube:r9,YoutubeIcon:r9,Zap:Wc,ZapIcon:Wc,ZapOff:n9,ZapOffIcon:n9,ZoomIn:s9,ZoomInIcon:s9,ZoomOut:i9,ZoomOutIcon:i9,createLucideIcon:o,icons:fq},Symbol.toStringTag,{value:"Module"})),gq=({availableTags:t,selectedTagIds:a,onTagSelect:r,onTagDeselect:n,onCreateTag:s,maxTags:i=10,placeholder:c="Add tags..."})=>{const[l,d]=M.useState(!1),[h,u]=M.useState(""),[p,m]=M.useState("#3B82F6"),[y,x]=M.useState(""),[f,v]=M.useState(-1),k=M.useMemo(()=>t.filter(b=>b.name.toLowerCase().includes(y.toLowerCase())),[t,y]),w=M.useMemo(()=>t.filter(b=>a.includes(b.id)),[t,a]),j=M.useMemo(()=>k.filter(b=>!a.includes(b.id)),[k,a]),S=y.trim().length>0&&!t.some(b=>b.name.toLowerCase()===y.trim().toLowerCase()),C=j.length+(S?1:0),A=async()=>{const b=h.trim();if(b)try{await s({name:b,color:p}),u(""),d(!1)}catch(N){console.error("Failed to create tag:",N)}},L=b=>{if(C)switch(b.key){case"ArrowDown":{b.preventDefault(),v(N=>(N+1)%C);break}case"ArrowUp":{b.preventDefault(),v(N=>(N-1+C)%C);break}case"Enter":{if(f===-1)return;if(b.preventDefault(),f<j.length){const N=j[f];r(N.id),x(""),v(-1)}else S&&(d(!0),u(y.trim()),x(""),v(-1));break}case"Escape":{x(""),v(-1);break}}};return e.jsxs("div",{className:"tag-picker",children:[e.jsx("div",{className:"selected-tags flex flex-wrap gap-2 mb-2",children:w.map(b=>e.jsxs("span",{className:"inline-flex items-center gap-1 px-3 py-1 rounded-full text-sm border",style:{backgroundColor:`${b.color}20`,color:b.color,borderColor:b.color},children:[b.name,e.jsx("button",{type:"button",onClick:()=>n(b.id),className:"hover:opacity-70","aria-label":`Remove ${b.name}`,children:e.jsx(jt,{className:"w-3 h-3"})})]},b.id))}),a.length<i&&e.jsxs("div",{className:"tag-selector relative",children:[e.jsxs("div",{className:"relative",children:[e.jsx($c,{className:"absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-400"}),e.jsx("input",{type:"text",value:y,onChange:b=>{x(b.target.value),v(-1)},onKeyDown:L,placeholder:c,className:"w-full border rounded px-9 py-2","aria-haspopup":"listbox","aria-expanded":y.length>0})]}),y&&e.jsxs("div",{role:"listbox",className:"absolute z-10 w-full mt-1 bg-white border rounded shadow-lg max-h-48 overflow-y-auto",children:[j.map((b,N)=>e.jsxs("button",{type:"button",role:"option","aria-selected":f===N,onClick:()=>{r(b.id),x(""),v(-1)},className:`w-full px-3 py-2 text-left hover:bg-gray-100 flex items-center gap-2 ${f===N?"bg-gray-100":""}`,children:[e.jsx("span",{className:"w-3 h-3 rounded-full",style:{backgroundColor:b.color}}),e.jsx("span",{children:b.name}),b.category&&e.jsxs("span",{className:"text-xs text-gray-500",children:["(",b.category,")"]})]},b.id)),S&&e.jsxs("button",{type:"button",role:"option","aria-selected":f===j.length,onClick:()=>{d(!0),u(y.trim()),x(""),v(-1)},className:`w-full px-3 py-2 text-left hover:bg-gray-100 text-blue-600 flex items-center gap-2 ${f===j.length?"bg-gray-100":""}`,children:[e.jsx($o,{className:"w-4 h-4"}),'Create "',y.trim(),'"']}),!j.length&&!S&&e.jsx("div",{className:"px-3 py-2 text-sm text-gray-500",children:"No tags found."})]})]}),l&&e.jsxs("div",{className:"create-tag-form mt-2 p-3 border rounded",children:[e.jsx("input",{type:"text",value:h,onChange:b=>u(b.target.value),placeholder:"Tag name",className:"w-full border rounded px-3 py-2 mb-2"}),e.jsxs("div",{className:"flex flex-wrap gap-2 items-center",children:[e.jsxs("label",{className:"flex items-center gap-2 text-sm text-gray-600",children:["Color",e.jsx("input",{type:"color",value:p,onChange:b=>m(b.target.value),className:"w-12 h-8 rounded","aria-label":"Pick tag color"})]}),e.jsx("button",{type:"button",onClick:A,onKeyDown:b=>{b.key==="Enter"&&(b.preventDefault(),A())},className:"flex-1 bg-blue-600 text-white px-3 py-2 rounded hover:bg-blue-700",children:"Create"}),e.jsx("button",{type:"button",onClick:()=>{d(!1),u("")},className:"px-3 py-2 border rounded hover:bg-gray-100",children:"Cancel"})]})]})]})},kq={sm:"px-2 py-0.5 text-xs",md:"px-3 py-1 text-sm",lg:"px-4 py-1.5 text-base"},AC=({name:t,color:a,size:r="md",removable:n=!1,onRemove:s,onClick:i,href:c,className:l})=>{const d=!!(i||c),h=p=>{!i||c||(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),i())},u=c?"a":"span";return e.jsxs(u,{className:`inline-flex items-center gap-1 rounded-full font-medium border transition-opacity ${kq[r]} ${d?"cursor-pointer hover:opacity-80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2":""} ${l??""}`,style:{backgroundColor:`${a}20`,color:a,borderColor:a},onClick:i,onKeyDown:h,role:!c&&i?"button":void 0,tabIndex:!c&&i?0:void 0,href:c,children:[t,n&&s&&e.jsx("button",{type:"button",onClick:p=>{p.stopPropagation(),s()},className:"hover:opacity-70 ml-1","aria-label":`Remove ${t} tag`,children:e.jsx(jt,{className:"w-3 h-3"})})]})};function Wa(t,a,{checkForDefaultPrevented:r=!0}={}){return function(s){if(t==null||t(s),r===!1||!s.defaultPrevented)return a==null?void 0:a(s)}}function vq(t,a=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var k;const{scope:m,children:y,...x}=p,f=((k=m==null?void 0:m[t])==null?void 0:k[d])||l,v=g.useMemo(()=>x,Object.values(x));return e.jsx(f.Provider,{value:v,children:y})};h.displayName=i+"Provider";function u(p,m){var f;const y=((f=m==null?void 0:m[t])==null?void 0:f[d])||l,x=g.useContext(y);if(x)return x;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const s=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return s.scopeName=t,[n,wq(s,...a)]}function wq(...t){const a=t[0];if(t.length===1)return a;const r=()=>{const n=t.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${a.scopeName}`]:c}),[c])}};return r.scopeName=a.scopeName,r}function bq(t,a=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];function h(p){const{scope:m,children:y,...x}=p,f=(m==null?void 0:m[t][d])||l,v=g.useMemo(()=>x,Object.values(x));return e.jsx(f.Provider,{value:v,children:y})}function u(p,m){const y=(m==null?void 0:m[t][d])||l,x=g.useContext(y);if(x)return x;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return h.displayName=i+"Provider",[h,u]}const s=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return s.scopeName=t,[n,Mq(s,...a)]}function Mq(...t){const a=t[0];if(t.length===1)return a;const r=()=>{const n=t.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${a.scopeName}`]:c}),[c])}};return r.scopeName=a.scopeName,r}function jq(t,a){typeof t=="function"?t(a):t!=null&&(t.current=a)}function PC(...t){return a=>t.forEach(r=>jq(r,a))}function f9(...t){return g.useCallback(PC(...t),t)}var Uj=g.forwardRef((t,a)=>{const{children:r,...n}=t,s=g.Children.toArray(r),i=s.find(Sq);if(i){const c=i.props.children,l=s.map(d=>d===i?g.Children.count(c)>1?g.Children.only(null):g.isValidElement(c)?c.props.children:null:d);return e.jsx(Gj,{...n,ref:a,children:g.isValidElement(c)?g.cloneElement(c,void 0,l):null})}return e.jsx(Gj,{...n,ref:a,children:r})});Uj.displayName="Slot";var Gj=g.forwardRef((t,a)=>{const{children:r,...n}=t;if(g.isValidElement(r)){const s=Nq(r);return g.cloneElement(r,{...Lq(n,r.props),ref:a?PC(a,s):s})}return g.Children.count(r)>1?g.Children.only(null):null});Gj.displayName="SlotClone";var Cq=({children:t})=>e.jsx(e.Fragment,{children:t});function Sq(t){return g.isValidElement(t)&&t.type===Cq}function Lq(t,a){const r={...a};for(const n in a){const s=t[n],i=a[n];/^on[A-Z]/.test(n)?s&&i?r[n]=(...l)=>{i(...l),s(...l)}:s&&(r[n]=s):n==="style"?r[n]={...s,...i}:n==="className"&&(r[n]=[s,i].filter(Boolean).join(" "))}return{...t,...r}}function Nq(t){var n,s;let a=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=a&&"isReactWarning"in a&&a.isReactWarning;return r?t.ref:(a=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,r=a&&"isReactWarning"in a&&a.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}function Iq(t){const a=t+"CollectionProvider",[r,n]=bq(a),[s,i]=r(a,{collectionRef:{current:null},itemMap:new Map}),c=y=>{const{scope:x,children:f}=y,v=M.useRef(null),k=M.useRef(new Map).current;return e.jsx(s,{scope:x,itemMap:k,collectionRef:v,children:f})};c.displayName=a;const l=t+"CollectionSlot",d=M.forwardRef((y,x)=>{const{scope:f,children:v}=y,k=i(l,f),w=f9(x,k.collectionRef);return e.jsx(Uj,{ref:w,children:v})});d.displayName=l;const h=t+"CollectionItemSlot",u="data-radix-collection-item",p=M.forwardRef((y,x)=>{const{scope:f,children:v,...k}=y,w=M.useRef(null),j=f9(x,w),S=i(h,f);return M.useEffect(()=>(S.itemMap.set(w,{ref:w,...k}),()=>void S.itemMap.delete(w))),e.jsx(Uj,{[u]:"",ref:j,children:v})});p.displayName=h;function m(y){const x=i(t+"CollectionConsumer",y);return M.useCallback(()=>{const v=x.collectionRef.current;if(!v)return[];const k=Array.from(v.querySelectorAll(`[${u}]`));return Array.from(x.itemMap.values()).sort((S,C)=>k.indexOf(S.ref.current)-k.indexOf(C.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:c,Slot:d,ItemSlot:p},m,n]}function Aq(t,a=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];function h(p){const{scope:m,children:y,...x}=p,f=(m==null?void 0:m[t][d])||l,v=g.useMemo(()=>x,Object.values(x));return e.jsx(f.Provider,{value:v,children:y})}function u(p,m){const y=(m==null?void 0:m[t][d])||l,x=g.useContext(y);if(x)return x;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return h.displayName=i+"Provider",[h,u]}const s=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return s.scopeName=t,[n,Pq(s,...a)]}function Pq(...t){const a=t[0];if(t.length===1)return a;const r=()=>{const n=t.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${a.scopeName}`]:c}),[c])}};return r.scopeName=a.scopeName,r}var Wj=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},_q=g.useId||(()=>{}),Rq=0;function qN(t){const[a,r]=g.useState(_q());return Wj(()=>{t||r(n=>n??String(Rq++))},[t]),t||(a?`radix-${a}`:"")}var DN=g.forwardRef((t,a)=>{const{children:r,...n}=t,s=g.Children.toArray(r),i=s.find(qq);if(i){const c=i.props.children,l=s.map(d=>d===i?g.Children.count(c)>1?g.Children.only(null):g.isValidElement(c)?c.props.children:null:d);return e.jsx(Zj,{...n,ref:a,children:g.isValidElement(c)?g.cloneElement(c,void 0,l):null})}return e.jsx(Zj,{...n,ref:a,children:r})});DN.displayName="Slot";var Zj=g.forwardRef((t,a)=>{const{children:r,...n}=t;if(g.isValidElement(r)){const s=zq(r);return g.cloneElement(r,{...Dq(n,r.props),ref:a?PC(a,s):s})}return g.Children.count(r)>1?g.Children.only(null):null});Zj.displayName="SlotClone";var Tq=({children:t})=>e.jsx(e.Fragment,{children:t});function qq(t){return g.isValidElement(t)&&t.type===Tq}function Dq(t,a){const r={...a};for(const n in a){const s=t[n],i=a[n];/^on[A-Z]/.test(n)?s&&i?r[n]=(...l)=>{i(...l),s(...l)}:s&&(r[n]=s):n==="style"?r[n]={...s,...i}:n==="className"&&(r[n]=[s,i].filter(Boolean).join(" "))}return{...t,...r}}function zq(t){var n,s;let a=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=a&&"isReactWarning"in a&&a.isReactWarning;return r?t.ref:(a=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,r=a&&"isReactWarning"in a&&a.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var Eq=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],No=Eq.reduce((t,a)=>{const r=g.forwardRef((n,s)=>{const{asChild:i,...c}=n,l=i?DN:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),e.jsx(l,{...c,ref:s})});return r.displayName=`Primitive.${a}`,{...t,[a]:r}},{});function _C(t){const a=g.useRef(t);return g.useEffect(()=>{a.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=a.current)==null?void 0:n.call(a,...r)},[])}function zN({prop:t,defaultProp:a,onChange:r=()=>{}}){const[n,s]=Fq({defaultProp:a,onChange:r}),i=t!==void 0,c=i?t:n,l=_C(r),d=g.useCallback(h=>{if(i){const p=typeof h=="function"?h(t):h;p!==t&&l(p)}else s(h)},[i,t,s,l]);return[c,d]}function Fq({defaultProp:t,onChange:a}){const r=g.useState(t),[n]=r,s=g.useRef(n),i=_C(a);return g.useEffect(()=>{s.current!==n&&(i(n),s.current=n)},[n,s,i]),r}var Oq=g.createContext(void 0);function EN(t){const a=g.useContext(Oq);return t||a||"ltr"}var yj="rovingFocusGroup.onEntryFocus",Hq={bubbles:!1,cancelable:!0},z9="RovingFocusGroup",[Jj,FN,Vq]=Iq(z9),[Bq,ON]=Aq(z9,[Vq]),[$q,Uq]=Bq(z9),HN=g.forwardRef((t,a)=>e.jsx(Jj.Provider,{scope:t.__scopeRovingFocusGroup,children:e.jsx(Jj.Slot,{scope:t.__scopeRovingFocusGroup,children:e.jsx(Gq,{...t,ref:a})})}));HN.displayName=z9;var Gq=g.forwardRef((t,a)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:s=!1,dir:i,currentTabStopId:c,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:d,onEntryFocus:h,preventScrollOnEntryFocus:u=!1,...p}=t,m=g.useRef(null),y=f9(a,m),x=EN(i),[f=null,v]=zN({prop:c,defaultProp:l,onChange:d}),[k,w]=g.useState(!1),j=_C(h),S=FN(r),C=g.useRef(!1),[A,L]=g.useState(0);return g.useEffect(()=>{const b=m.current;if(b)return b.addEventListener(yj,j),()=>b.removeEventListener(yj,j)},[j]),e.jsx($q,{scope:r,orientation:n,dir:x,loop:s,currentTabStopId:f,onItemFocus:g.useCallback(b=>v(b),[v]),onItemShiftTab:g.useCallback(()=>w(!0),[]),onFocusableItemAdd:g.useCallback(()=>L(b=>b+1),[]),onFocusableItemRemove:g.useCallback(()=>L(b=>b-1),[]),children:e.jsx(No.div,{tabIndex:k||A===0?-1:0,"data-orientation":n,...p,ref:y,style:{outline:"none",...t.style},onMouseDown:Wa(t.onMouseDown,()=>{C.current=!0}),onFocus:Wa(t.onFocus,b=>{const N=!C.current;if(b.target===b.currentTarget&&N&&!k){const q=new CustomEvent(yj,Hq);if(b.currentTarget.dispatchEvent(q),!q.defaultPrevented){const P=S().filter(B=>B.focusable),R=P.find(B=>B.active),T=P.find(B=>B.id===f),W=[R,T,...P].filter(Boolean).map(B=>B.ref.current);$N(W,u)}}C.current=!1}),onBlur:Wa(t.onBlur,()=>w(!1))})})}),VN="RovingFocusGroupItem",BN=g.forwardRef((t,a)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:s=!1,tabStopId:i,...c}=t,l=qN(),d=i||l,h=Uq(VN,r),u=h.currentTabStopId===d,p=FN(r),{onFocusableItemAdd:m,onFocusableItemRemove:y}=h;return g.useEffect(()=>{if(n)return m(),()=>y()},[n,m,y]),e.jsx(Jj.ItemSlot,{scope:r,id:d,focusable:n,active:s,children:e.jsx(No.span,{tabIndex:u?0:-1,"data-orientation":h.orientation,...c,ref:a,onMouseDown:Wa(t.onMouseDown,x=>{n?h.onItemFocus(d):x.preventDefault()}),onFocus:Wa(t.onFocus,()=>h.onItemFocus(d)),onKeyDown:Wa(t.onKeyDown,x=>{if(x.key==="Tab"&&x.shiftKey){h.onItemShiftTab();return}if(x.target!==x.currentTarget)return;const f=Jq(x,h.orientation,h.dir);if(f!==void 0){if(x.metaKey||x.ctrlKey||x.altKey||x.shiftKey)return;x.preventDefault();let k=p().filter(w=>w.focusable).map(w=>w.ref.current);if(f==="last")k.reverse();else if(f==="prev"||f==="next"){f==="prev"&&k.reverse();const w=k.indexOf(x.currentTarget);k=h.loop?Xq(k,w+1):k.slice(w+1)}setTimeout(()=>$N(k))}})})})});BN.displayName=VN;var Wq={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Zq(t,a){return a!=="rtl"?t:t==="ArrowLeft"?"ArrowRight":t==="ArrowRight"?"ArrowLeft":t}function Jq(t,a,r){const n=Zq(t.key,r);if(!(a==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(a==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return Wq[n]}function $N(t,a=!1){const r=document.activeElement;for(const n of t)if(n===r||(n.focus({preventScroll:a}),document.activeElement!==r))return}function Xq(t,a){return t.map((r,n)=>t[(a+n)%t.length])}var Yq=HN,Kq=BN;function Qq(t,a){return g.useReducer((r,n)=>a[r][n]??r,t)}var UN=t=>{const{present:a,children:r}=t,n=eD(a),s=typeof r=="function"?r({present:n.isPresent}):g.Children.only(r),i=f9(n.ref,tD(s));return typeof r=="function"||n.isPresent?g.cloneElement(s,{ref:i}):null};UN.displayName="Presence";function eD(t){const[a,r]=g.useState(),n=g.useRef({}),s=g.useRef(t),i=g.useRef("none"),c=t?"mounted":"unmounted",[l,d]=Qq(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const h=gl(n.current);i.current=l==="mounted"?h:"none"},[l]),Wj(()=>{const h=n.current,u=s.current;if(u!==t){const m=i.current,y=gl(h);t?d("MOUNT"):y==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&m!==y?"ANIMATION_OUT":"UNMOUNT"),s.current=t}},[t,d]),Wj(()=>{if(a){let h;const u=a.ownerDocument.defaultView??window,p=y=>{const f=gl(n.current).includes(y.animationName);if(y.target===a&&f&&(d("ANIMATION_END"),!s.current)){const v=a.style.animationFillMode;a.style.animationFillMode="forwards",h=u.setTimeout(()=>{a.style.animationFillMode==="forwards"&&(a.style.animationFillMode=v)})}},m=y=>{y.target===a&&(i.current=gl(n.current))};return a.addEventListener("animationstart",m),a.addEventListener("animationcancel",p),a.addEventListener("animationend",p),()=>{u.clearTimeout(h),a.removeEventListener("animationstart",m),a.removeEventListener("animationcancel",p),a.removeEventListener("animationend",p)}}else d("ANIMATION_END")},[a,d]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:g.useCallback(h=>{h&&(n.current=getComputedStyle(h)),r(h)},[])}}function gl(t){return(t==null?void 0:t.animationName)||"none"}function tD(t){var n,s;let a=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=a&&"isReactWarning"in a&&a.isReactWarning;return r?t.ref:(a=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,r=a&&"isReactWarning"in a&&a.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var RC="Tabs",[aD,YG]=vq(RC,[ON]),GN=ON(),[rD,TC]=aD(RC),WN=g.forwardRef((t,a)=>{const{__scopeTabs:r,value:n,onValueChange:s,defaultValue:i,orientation:c="horizontal",dir:l,activationMode:d="automatic",...h}=t,u=EN(l),[p,m]=zN({prop:n,onChange:s,defaultProp:i});return e.jsx(rD,{scope:r,baseId:qN(),value:p,onValueChange:m,orientation:c,dir:u,activationMode:d,children:e.jsx(No.div,{dir:u,"data-orientation":c,...h,ref:a})})});WN.displayName=RC;var ZN="TabsList",JN=g.forwardRef((t,a)=>{const{__scopeTabs:r,loop:n=!0,...s}=t,i=TC(ZN,r),c=GN(r);return e.jsx(Yq,{asChild:!0,...c,orientation:i.orientation,dir:i.dir,loop:n,children:e.jsx(No.div,{role:"tablist","aria-orientation":i.orientation,...s,ref:a})})});JN.displayName=ZN;var XN="TabsTrigger",YN=g.forwardRef((t,a)=>{const{__scopeTabs:r,value:n,disabled:s=!1,...i}=t,c=TC(XN,r),l=GN(r),d=eI(c.baseId,n),h=tI(c.baseId,n),u=n===c.value;return e.jsx(Kq,{asChild:!0,...l,focusable:!s,active:u,children:e.jsx(No.button,{type:"button",role:"tab","aria-selected":u,"aria-controls":h,"data-state":u?"active":"inactive","data-disabled":s?"":void 0,disabled:s,id:d,...i,ref:a,onMouseDown:Wa(t.onMouseDown,p=>{!s&&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&&!s&&p&&c.onValueChange(n)})})})});YN.displayName=XN;var KN="TabsContent",QN=g.forwardRef((t,a)=>{const{__scopeTabs:r,value:n,forceMount:s,children:i,...c}=t,l=TC(KN,r),d=eI(l.baseId,n),h=tI(l.baseId,n),u=n===l.value,p=g.useRef(u);return g.useEffect(()=>{const m=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(m)},[]),e.jsx(UN,{present:s||u,children:({present:m})=>e.jsx(No.div,{"data-state":u?"active":"inactive","data-orientation":l.orientation,role:"tabpanel","aria-labelledby":d,hidden:!m,id:h,tabIndex:0,...c,ref:a,style:{...t.style,animationDuration:p.current?"0s":void 0},children:m&&i})})});QN.displayName=KN;function eI(t,a){return`${t}-trigger-${a}`}function tI(t,a){return`${t}-content-${a}`}var nD=WN,aI=JN,rI=YN,nI=QN;const Rr=nD,Ka=g.forwardRef(({className:t,...a},r)=>e.jsx(aI,{ref:r,className:me("inline-flex items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",t),...a}));Ka.displayName=aI.displayName;const Se=g.forwardRef(({className:t,...a},r)=>e.jsx(rI,{ref:r,className:me("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),...a}));Se.displayName=rI.displayName;const Le=g.forwardRef(({className:t,...a},r)=>e.jsx(nI,{ref:r,className:me("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",t),...a}));Le.displayName=nI.displayName;const de=g.forwardRef(({className:t,...a},r)=>e.jsx("div",{ref:r,className:me("rounded-xl border bg-card text-card-foreground shadow",t),...a}));de.displayName="Card";const xe=g.forwardRef(({className:t,...a},r)=>e.jsx("div",{ref:r,className:me("flex flex-col space-y-1.5 p-6",t),...a}));xe.displayName="CardHeader";const ke=g.forwardRef(({className:t,...a},r)=>e.jsx("h3",{ref:r,className:me("font-semibold leading-none tracking-tight",t),...a}));ke.displayName="CardTitle";const $e=g.forwardRef(({className:t,...a},r)=>e.jsx("p",{ref:r,className:me("text-sm text-muted-foreground",t),...a}));$e.displayName="CardDescription";const ue=g.forwardRef(({className:t,...a},r)=>e.jsx("div",{ref:r,className:me("p-6 pt-0",t),...a}));ue.displayName="CardContent";const ko=g.forwardRef(({className:t,...a},r)=>e.jsx("div",{ref:r,className:me("flex items-center p-6 pt-0",t),...a}));ko.displayName="CardFooter";function sD({groupedIds:t,tabTitles:a,lang:r,url:n,PromotionsTitle:s,buttonMsg:i="Select Plan"}){const[c,l]=M.useState([]),[d,h]=M.useState("tab-0"),u=n||window.location.origin||"http://localhost:8000";M.useEffect(()=>{(async()=>{try{const x=r??"en",f=t.map(async k=>(await fetch(`${u}/api/v1/promotions/?ids=${k}`,{method:"GET",headers:{"Accept-Language":x,"Content-Type":"application/json"}})).json()),v=await Promise.all(f);l(v)}catch{}})()},[t,u,r]);const p=y=>{const x=new CustomEvent("planSelected",{bubbles:!0,detail:{plan:y,tabType:d,timestamp:new Date().toISOString()}}),f=document.querySelector(".group-prices-component");f&&f.dispatchEvent(x)},m=`grid sm:grid-cols-2 lg:grid-cols-${a.length} mb-8`;return e.jsx("section",{id:"pricing",className:"w-full py-12 md:py-24 lg:py-32",children:e.jsxs("div",{className:"container px-4 md:px-6",children:[s??e.jsx("h2",{className:"text-3xl font-bold tracking-tighter sm:text-4xl md:text-5xl text-center mb-8",children:s}),e.jsxs(Rr,{defaultValue:"tab-0",className:"w-full",onValueChange:y=>h(y),children:[e.jsx(Ka,{className:m,children:a.map((y,x)=>e.jsx(Se,{value:`tab-${x}`,children:y},x))}),c.map((y,x)=>e.jsx(Le,{value:`tab-${x}`,children:e.jsx("div",{className:"grid gap-8 sm:grid-cols-2 lg:grid-cols-3",children:y.map((f,v)=>e.jsxs(de,{className:"flex flex-col",children:[e.jsxs(xe,{children:[e.jsx(ke,{children:f.title}),e.jsx($e,{children:f.short_description})]}),e.jsxs(ue,{className:"flex-1",children:[e.jsxs("p",{className:"text-3xl font-bold",children:["€",f.price]}),e.jsx("ul",{className:"mt-4 space-y-2",children:f.features&&f.features.map((k,w)=>e.jsxs("li",{className:"flex items-center",children:[e.jsx(Fo,{className:"mr-2 h-4 w-4 text-primary"})," ",k]},w))})]}),e.jsx(ko,{children:e.jsx(z,{onClick:()=>p(f),className:"w-full bg-primary text-primary-foreground hover:bg-primary/90",children:i})})]},v))})},x))]})]})})}function iD({isOpen:t,items:a}){const r=a.reduce((n,s)=>n+s.price,0);return e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:me("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:e.jsxs("div",{className:"h-full flex flex-col",children:[e.jsxs("div",{className:"p-4 border-b flex items-center justify-between",children:[e.jsx("h2",{className:"text-xl font-semibold",children:"Summary"}),e.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:[e.jsx(jt,{className:"h-4 w-4"}),e.jsx("span",{className:"sr-only",children:"Close panel"})]})]}),e.jsx("div",{className:"flex-1 overflow-auto p-4",children:a.map(n=>e.jsxs("div",{className:"mb-4 p-3 border rounded-lg",children:[e.jsxs("div",{className:"flex justify-between items-start mb-1",children:[e.jsx("span",{className:"font-medium",children:n.name}),e.jsxs("span",{className:"text-sm",children:["$",n.price.toFixed(2)]})]}),e.jsx("p",{className:"text-sm text-gray-600",children:n.description})]},n.id))}),e.jsx("div",{className:"p-4 border-t",children:e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"font-semibold",children:"Total:"}),e.jsxs("span",{className:"font-semibold",children:["$",r.toFixed(2)]})]})})]})}),t&&e.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 Ha(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sI(t,a){t.prototype=Object.create(a.prototype),t.prototype.constructor=t,t.__proto__=a}/*!
7725
+ */const gq=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:Rl,AArrowDownIcon:Rl,AArrowUp:Tl,AArrowUpIcon:Tl,ALargeSmall:ql,ALargeSmallIcon:ql,Accessibility:Dl,AccessibilityIcon:Dl,Activity:zl,ActivityIcon:zl,ActivitySquare:Us,ActivitySquareIcon:Us,AirVent:El,AirVentIcon:El,Airplay:Fl,AirplayIcon:Fl,AlarmCheck:Vr,AlarmCheckIcon:Vr,AlarmClock:Hl,AlarmClockCheck:Vr,AlarmClockCheckIcon:Vr,AlarmClockIcon:Hl,AlarmClockMinus:Br,AlarmClockMinusIcon:Br,AlarmClockOff:Ol,AlarmClockOffIcon:Ol,AlarmClockPlus:$r,AlarmClockPlusIcon:$r,AlarmMinus:Br,AlarmMinusIcon:Br,AlarmPlus:$r,AlarmPlusIcon:$r,AlarmSmoke:Vl,AlarmSmokeIcon:Vl,Album:Bl,AlbumIcon:Bl,AlertCircle:Et,AlertCircleIcon:Et,AlertOctagon:bs,AlertOctagonIcon:bs,AlertTriangle:Ui,AlertTriangleIcon:Ui,AlignCenter:Gl,AlignCenterHorizontal:$l,AlignCenterHorizontalIcon:$l,AlignCenterIcon:Gl,AlignCenterVertical:Ul,AlignCenterVerticalIcon:Ul,AlignEndHorizontal:Wl,AlignEndHorizontalIcon:Wl,AlignEndVertical:Zl,AlignEndVerticalIcon:Zl,AlignHorizontalDistributeCenter:Jl,AlignHorizontalDistributeCenterIcon:Jl,AlignHorizontalDistributeEnd:Xl,AlignHorizontalDistributeEndIcon:Xl,AlignHorizontalDistributeStart:Yl,AlignHorizontalDistributeStartIcon:Yl,AlignHorizontalJustifyCenter:Kl,AlignHorizontalJustifyCenterIcon:Kl,AlignHorizontalJustifyEnd:Ql,AlignHorizontalJustifyEndIcon:Ql,AlignHorizontalJustifyStart:e1,AlignHorizontalJustifyStartIcon:e1,AlignHorizontalSpaceAround:t1,AlignHorizontalSpaceAroundIcon:t1,AlignHorizontalSpaceBetween:a1,AlignHorizontalSpaceBetweenIcon:a1,AlignJustify:r1,AlignJustifyIcon:r1,AlignLeft:n1,AlignLeftIcon:n1,AlignRight:s1,AlignRightIcon:s1,AlignStartHorizontal:i1,AlignStartHorizontalIcon:i1,AlignStartVertical:o1,AlignStartVerticalIcon:o1,AlignVerticalDistributeCenter:c1,AlignVerticalDistributeCenterIcon:c1,AlignVerticalDistributeEnd:l1,AlignVerticalDistributeEndIcon:l1,AlignVerticalDistributeStart:d1,AlignVerticalDistributeStartIcon:d1,AlignVerticalJustifyCenter:h1,AlignVerticalJustifyCenterIcon:h1,AlignVerticalJustifyEnd:u1,AlignVerticalJustifyEndIcon:u1,AlignVerticalJustifyStart:p1,AlignVerticalJustifyStartIcon:p1,AlignVerticalSpaceAround:y1,AlignVerticalSpaceAroundIcon:y1,AlignVerticalSpaceBetween:m1,AlignVerticalSpaceBetweenIcon:m1,Ambulance:f1,AmbulanceIcon:f1,Ampersand:x1,AmpersandIcon:x1,Ampersands:g1,AmpersandsIcon:g1,Amphora:k1,AmphoraIcon:k1,Anchor:v1,AnchorIcon:v1,Angry:w1,AngryIcon:w1,Annoyed:b1,AnnoyedIcon:b1,Antenna:M1,AntennaIcon:M1,Anvil:j1,AnvilIcon:j1,Aperture:C1,ApertureIcon:C1,AppWindow:L1,AppWindowIcon:L1,AppWindowMac:S1,AppWindowMacIcon:S1,Apple:N1,AppleIcon:N1,Archive:P1,ArchiveIcon:P1,ArchiveRestore:I1,ArchiveRestoreIcon:I1,ArchiveX:A1,ArchiveXIcon:A1,AreaChart:nn,AreaChartIcon:nn,Armchair:_1,ArmchairIcon:_1,ArrowBigDown:T1,ArrowBigDownDash:R1,ArrowBigDownDashIcon:R1,ArrowBigDownIcon:T1,ArrowBigLeft:D1,ArrowBigLeftDash:q1,ArrowBigLeftDashIcon:q1,ArrowBigLeftIcon:D1,ArrowBigRight:E1,ArrowBigRightDash:z1,ArrowBigRightDashIcon:z1,ArrowBigRightIcon:E1,ArrowBigUp:O1,ArrowBigUpDash:F1,ArrowBigUpDashIcon:F1,ArrowBigUpIcon:O1,ArrowDown:X1,ArrowDown01:H1,ArrowDown01Icon:H1,ArrowDown10:V1,ArrowDown10Icon:V1,ArrowDownAZ:Ur,ArrowDownAZIcon:Ur,ArrowDownAz:Ur,ArrowDownAzIcon:Ur,ArrowDownCircle:xn,ArrowDownCircleIcon:xn,ArrowDownFromLine:B1,ArrowDownFromLineIcon:B1,ArrowDownIcon:X1,ArrowDownLeft:$1,ArrowDownLeftFromCircle:kn,ArrowDownLeftFromCircleIcon:kn,ArrowDownLeftFromSquare:Js,ArrowDownLeftFromSquareIcon:Js,ArrowDownLeftIcon:$1,ArrowDownLeftSquare:Gs,ArrowDownLeftSquareIcon:Gs,ArrowDownNarrowWide:U1,ArrowDownNarrowWideIcon:U1,ArrowDownRight:G1,ArrowDownRightFromCircle:vn,ArrowDownRightFromCircleIcon:vn,ArrowDownRightFromSquare:Xs,ArrowDownRightFromSquareIcon:Xs,ArrowDownRightIcon:G1,ArrowDownRightSquare:Ws,ArrowDownRightSquareIcon:Ws,ArrowDownSquare:Zs,ArrowDownSquareIcon:Zs,ArrowDownToDot:W1,ArrowDownToDotIcon:W1,ArrowDownToLine:Z1,ArrowDownToLineIcon:Z1,ArrowDownUp:J1,ArrowDownUpIcon:J1,ArrowDownWideNarrow:Gr,ArrowDownWideNarrowIcon:Gr,ArrowDownZA:Wr,ArrowDownZAIcon:Wr,ArrowDownZa:Wr,ArrowDownZaIcon:Wr,ArrowLeft:Ja,ArrowLeftCircle:gn,ArrowLeftCircleIcon:gn,ArrowLeftFromLine:Y1,ArrowLeftFromLineIcon:Y1,ArrowLeftIcon:Ja,ArrowLeftRight:K1,ArrowLeftRightIcon:K1,ArrowLeftSquare:Ga,ArrowLeftSquareIcon:Ga,ArrowLeftToLine:Q1,ArrowLeftToLineIcon:Q1,ArrowRight:co,ArrowRightCircle:Mn,ArrowRightCircleIcon:Mn,ArrowRightFromLine:ed,ArrowRightFromLineIcon:ed,ArrowRightIcon:co,ArrowRightLeft:td,ArrowRightLeftIcon:td,ArrowRightSquare:Wa,ArrowRightSquareIcon:Wa,ArrowRightToLine:ad,ArrowRightToLineIcon:ad,ArrowUp:ud,ArrowUp01:rd,ArrowUp01Icon:rd,ArrowUp10:nd,ArrowUp10Icon:nd,ArrowUpAZ:Zr,ArrowUpAZIcon:Zr,ArrowUpAz:Zr,ArrowUpAzIcon:Zr,ArrowUpCircle:jn,ArrowUpCircleIcon:jn,ArrowUpDown:sd,ArrowUpDownIcon:sd,ArrowUpFromDot:id,ArrowUpFromDotIcon:id,ArrowUpFromLine:od,ArrowUpFromLineIcon:od,ArrowUpIcon:ud,ArrowUpLeft:cd,ArrowUpLeftFromCircle:wn,ArrowUpLeftFromCircleIcon:wn,ArrowUpLeftFromSquare:Ys,ArrowUpLeftFromSquareIcon:Ys,ArrowUpLeftIcon:cd,ArrowUpLeftSquare:Qs,ArrowUpLeftSquareIcon:Qs,ArrowUpNarrowWide:Jr,ArrowUpNarrowWideIcon:Jr,ArrowUpRight:ld,ArrowUpRightFromCircle:bn,ArrowUpRightFromCircleIcon:bn,ArrowUpRightFromSquare:Ks,ArrowUpRightFromSquareIcon:Ks,ArrowUpRightIcon:ld,ArrowUpRightSquare:ei,ArrowUpRightSquareIcon:ei,ArrowUpSquare:ti,ArrowUpSquareIcon:ti,ArrowUpToLine:dd,ArrowUpToLineIcon:dd,ArrowUpWideNarrow:hd,ArrowUpWideNarrowIcon:hd,ArrowUpZA:Xr,ArrowUpZAIcon:Xr,ArrowUpZa:Xr,ArrowUpZaIcon:Xr,ArrowsUpFromLine:pd,ArrowsUpFromLineIcon:pd,Asterisk:yd,AsteriskIcon:yd,AsteriskSquare:ai,AsteriskSquareIcon:ai,AtSign:md,AtSignIcon:md,Atom:fd,AtomIcon:fd,AudioLines:xd,AudioLinesIcon:xd,AudioWaveform:gd,AudioWaveformIcon:gd,Award:ea,AwardIcon:ea,Axe:kd,AxeIcon:kd,Axis3D:Yr,Axis3DIcon:Yr,Axis3d:Yr,Axis3dIcon:Yr,Baby:vd,BabyIcon:vd,Backpack:wd,BackpackIcon:wd,Badge:bc,BadgeAlert:bd,BadgeAlertIcon:bd,BadgeCent:Md,BadgeCentIcon:Md,BadgeCheck:Kr,BadgeCheckIcon:Kr,BadgeDollarSign:jd,BadgeDollarSignIcon:jd,BadgeEuro:Cd,BadgeEuroIcon:Cd,BadgeHelp:Sd,BadgeHelpIcon:Sd,BadgeIcon:bc,BadgeIndianRupee:Ld,BadgeIndianRupeeIcon:Ld,BadgeInfo:Nd,BadgeInfoIcon:Nd,BadgeJapaneseYen:Id,BadgeJapaneseYenIcon:Id,BadgeMinus:Ad,BadgeMinusIcon:Ad,BadgePercent:Pd,BadgePercentIcon:Pd,BadgePlus:_d,BadgePlusIcon:_d,BadgePoundSterling:Rd,BadgePoundSterlingIcon:Rd,BadgeRussianRuble:Td,BadgeRussianRubleIcon:Td,BadgeSwissFranc:qd,BadgeSwissFrancIcon:qd,BadgeX:Dd,BadgeXIcon:Dd,BaggageClaim:zd,BaggageClaimIcon:zd,Ban:Ed,BanIcon:Ed,Banana:Fd,BananaIcon:Fd,Bandage:Od,BandageIcon:Od,Banknote:Hd,BanknoteIcon:Hd,BarChart:lr,BarChart2:pn,BarChart2Icon:pn,BarChart3:hn,BarChart3Icon:hn,BarChart4:dn,BarChart4Icon:dn,BarChartBig:ln,BarChartBigIcon:ln,BarChartHorizontal:on,BarChartHorizontalBig:sn,BarChartHorizontalBigIcon:sn,BarChartHorizontalIcon:on,BarChartIcon:lr,Barcode:Vd,BarcodeIcon:Vd,Baseline:Bd,BaselineIcon:Bd,Bath:$d,BathIcon:$d,Battery:Xd,BatteryCharging:Ud,BatteryChargingIcon:Ud,BatteryFull:Gd,BatteryFullIcon:Gd,BatteryIcon:Xd,BatteryLow:Wd,BatteryLowIcon:Wd,BatteryMedium:Zd,BatteryMediumIcon:Zd,BatteryWarning:Jd,BatteryWarningIcon:Jd,Beaker:Yd,BeakerIcon:Yd,Bean:Qd,BeanIcon:Qd,BeanOff:Kd,BeanOffIcon:Kd,Bed:a2,BedDouble:e2,BedDoubleIcon:e2,BedIcon:a2,BedSingle:t2,BedSingleIcon:t2,Beef:r2,BeefIcon:r2,Beer:s2,BeerIcon:s2,BeerOff:n2,BeerOffIcon:n2,Bell:zo,BellDot:i2,BellDotIcon:i2,BellElectric:o2,BellElectricIcon:o2,BellIcon:zo,BellMinus:c2,BellMinusIcon:c2,BellOff:l2,BellOffIcon:l2,BellPlus:d2,BellPlusIcon:d2,BellRing:h2,BellRingIcon:h2,BetweenHorizonalEnd:Qr,BetweenHorizonalEndIcon:Qr,BetweenHorizonalStart:en,BetweenHorizonalStartIcon:en,BetweenHorizontalEnd:Qr,BetweenHorizontalEndIcon:Qr,BetweenHorizontalStart:en,BetweenHorizontalStartIcon:en,BetweenVerticalEnd:u2,BetweenVerticalEndIcon:u2,BetweenVerticalStart:p2,BetweenVerticalStartIcon:p2,BicepsFlexed:y2,BicepsFlexedIcon:y2,Bike:m2,BikeIcon:m2,Binary:f2,BinaryIcon:f2,Binoculars:x2,BinocularsIcon:x2,Biohazard:g2,BiohazardIcon:g2,Bird:k2,BirdIcon:k2,Bitcoin:v2,BitcoinIcon:v2,Blend:w2,BlendIcon:w2,Blinds:b2,BlindsIcon:b2,Blocks:M2,BlocksIcon:M2,Bluetooth:L2,BluetoothConnected:j2,BluetoothConnectedIcon:j2,BluetoothIcon:L2,BluetoothOff:C2,BluetoothOffIcon:C2,BluetoothSearching:S2,BluetoothSearchingIcon:S2,Bold:N2,BoldIcon:N2,Bolt:I2,BoltIcon:I2,Bomb:A2,BombIcon:A2,Bone:P2,BoneIcon:P2,Book:Q2,BookA:_2,BookAIcon:_2,BookAudio:R2,BookAudioIcon:R2,BookCheck:T2,BookCheckIcon:T2,BookCopy:q2,BookCopyIcon:q2,BookDashed:tn,BookDashedIcon:tn,BookDown:D2,BookDownIcon:D2,BookHeadphones:z2,BookHeadphonesIcon:z2,BookHeart:E2,BookHeartIcon:E2,BookIcon:Q2,BookImage:F2,BookImageIcon:F2,BookKey:O2,BookKeyIcon:O2,BookLock:H2,BookLockIcon:H2,BookMarked:V2,BookMarkedIcon:V2,BookMinus:B2,BookMinusIcon:B2,BookOpen:ra,BookOpenCheck:$2,BookOpenCheckIcon:$2,BookOpenIcon:ra,BookOpenText:U2,BookOpenTextIcon:U2,BookPlus:G2,BookPlusIcon:G2,BookTemplate:tn,BookTemplateIcon:tn,BookText:W2,BookTextIcon:W2,BookType:Z2,BookTypeIcon:Z2,BookUp:X2,BookUp2:J2,BookUp2Icon:J2,BookUpIcon:X2,BookUser:Y2,BookUserIcon:Y2,BookX:K2,BookXIcon:K2,Bookmark:ga,BookmarkCheck:xa,BookmarkCheckIcon:xa,BookmarkIcon:ga,BookmarkMinus:eh,BookmarkMinusIcon:eh,BookmarkPlus:Mc,BookmarkPlusIcon:Mc,BookmarkX:th,BookmarkXIcon:th,BoomBox:ah,BoomBoxIcon:ah,Bot:jc,BotIcon:jc,BotMessageSquare:rh,BotMessageSquareIcon:rh,BotOff:nh,BotOffIcon:nh,Box:sh,BoxIcon:sh,BoxSelect:pi,BoxSelectIcon:pi,Boxes:ih,BoxesIcon:ih,Braces:an,BracesIcon:an,Brackets:oh,BracketsIcon:oh,Brain:dh,BrainCircuit:ch,BrainCircuitIcon:ch,BrainCog:lh,BrainCogIcon:lh,BrainIcon:dh,BrickWall:hh,BrickWallIcon:hh,Briefcase:nt,BriefcaseBusiness:uh,BriefcaseBusinessIcon:uh,BriefcaseConveyorBelt:ph,BriefcaseConveyorBeltIcon:ph,BriefcaseIcon:nt,BriefcaseMedical:yh,BriefcaseMedicalIcon:yh,BringToFront:mh,BringToFrontIcon:mh,Brush:fh,BrushIcon:fh,Bug:kh,BugIcon:kh,BugOff:xh,BugOffIcon:xh,BugPlay:gh,BugPlayIcon:gh,Building:Eo,Building2:gt,Building2Icon:gt,BuildingIcon:Eo,Bus:wh,BusFront:vh,BusFrontIcon:vh,BusIcon:wh,Cable:Mh,CableCar:bh,CableCarIcon:bh,CableIcon:Mh,Cake:Ch,CakeIcon:Ch,CakeSlice:jh,CakeSliceIcon:jh,Calculator:Sh,CalculatorIcon:Sh,Calendar:lo,CalendarArrowDown:Lh,CalendarArrowDownIcon:Lh,CalendarArrowUp:Nh,CalendarArrowUpIcon:Nh,CalendarCheck:Ah,CalendarCheck2:Ih,CalendarCheck2Icon:Ih,CalendarCheckIcon:Ah,CalendarClock:Ph,CalendarClockIcon:Ph,CalendarCog:_h,CalendarCogIcon:_h,CalendarDays:Cc,CalendarDaysIcon:Cc,CalendarFold:Rh,CalendarFoldIcon:Rh,CalendarHeart:Th,CalendarHeartIcon:Th,CalendarIcon:lo,CalendarMinus:Dh,CalendarMinus2:qh,CalendarMinus2Icon:qh,CalendarMinusIcon:Dh,CalendarOff:zh,CalendarOffIcon:zh,CalendarPlus:Fh,CalendarPlus2:Eh,CalendarPlus2Icon:Eh,CalendarPlusIcon:Fh,CalendarRange:Oh,CalendarRangeIcon:Oh,CalendarSearch:Hh,CalendarSearchIcon:Hh,CalendarX:Bh,CalendarX2:Vh,CalendarX2Icon:Vh,CalendarXIcon:Bh,Camera:Uh,CameraIcon:Uh,CameraOff:$h,CameraOffIcon:$h,CandlestickChart:cn,CandlestickChartIcon:cn,Candy:Zh,CandyCane:Gh,CandyCaneIcon:Gh,CandyIcon:Zh,CandyOff:Wh,CandyOffIcon:Wh,Cannabis:Jh,CannabisIcon:Jh,Captions:rn,CaptionsIcon:rn,CaptionsOff:Xh,CaptionsOffIcon:Xh,Car:Qh,CarFront:Yh,CarFrontIcon:Yh,CarIcon:Qh,CarTaxiFront:Kh,CarTaxiFrontIcon:Kh,Caravan:e0,CaravanIcon:e0,Carrot:t0,CarrotIcon:t0,CaseLower:a0,CaseLowerIcon:a0,CaseSensitive:r0,CaseSensitiveIcon:r0,CaseUpper:n0,CaseUpperIcon:n0,CassetteTape:s0,CassetteTapeIcon:s0,Cast:i0,CastIcon:i0,Castle:o0,CastleIcon:o0,Cat:c0,CatIcon:c0,Cctv:l0,CctvIcon:l0,ChartArea:nn,ChartAreaIcon:nn,ChartBar:on,ChartBarBig:sn,ChartBarBigIcon:sn,ChartBarDecreasing:d0,ChartBarDecreasingIcon:d0,ChartBarIcon:on,ChartBarIncreasing:h0,ChartBarIncreasingIcon:h0,ChartBarStacked:u0,ChartBarStackedIcon:u0,ChartCandlestick:cn,ChartCandlestickIcon:cn,ChartColumn:hn,ChartColumnBig:ln,ChartColumnBigIcon:ln,ChartColumnDecreasing:p0,ChartColumnDecreasingIcon:p0,ChartColumnIcon:hn,ChartColumnIncreasing:dn,ChartColumnIncreasingIcon:dn,ChartColumnStacked:y0,ChartColumnStackedIcon:y0,ChartGantt:m0,ChartGanttIcon:m0,ChartLine:un,ChartLineIcon:un,ChartNetwork:f0,ChartNetworkIcon:f0,ChartNoAxesColumn:pn,ChartNoAxesColumnDecreasing:x0,ChartNoAxesColumnDecreasingIcon:x0,ChartNoAxesColumnIcon:pn,ChartNoAxesColumnIncreasing:lr,ChartNoAxesColumnIncreasingIcon:lr,ChartNoAxesCombined:g0,ChartNoAxesCombinedIcon:g0,ChartNoAxesGantt:yn,ChartNoAxesGanttIcon:yn,ChartPie:mn,ChartPieIcon:mn,ChartScatter:fn,ChartScatterIcon:fn,ChartSpline:k0,ChartSplineIcon:k0,Check:Fo,CheckCheck:v0,CheckCheckIcon:v0,CheckCircle:Ft,CheckCircle2:it,CheckCircle2Icon:it,CheckCircleIcon:Ft,CheckIcon:Fo,CheckSquare:ni,CheckSquare2:si,CheckSquare2Icon:si,CheckSquareIcon:ni,ChefHat:w0,ChefHatIcon:w0,Cherry:b0,CherryIcon:b0,ChevronDown:mr,ChevronDownCircle:Cn,ChevronDownCircleIcon:Cn,ChevronDownIcon:mr,ChevronDownSquare:ii,ChevronDownSquareIcon:ii,ChevronFirst:M0,ChevronFirstIcon:M0,ChevronLast:j0,ChevronLastIcon:j0,ChevronLeft:fr,ChevronLeftCircle:Sn,ChevronLeftCircleIcon:Sn,ChevronLeftIcon:fr,ChevronLeftSquare:oi,ChevronLeftSquareIcon:oi,ChevronRight:xr,ChevronRightCircle:Ln,ChevronRightCircleIcon:Ln,ChevronRightIcon:xr,ChevronRightSquare:ci,ChevronRightSquareIcon:ci,ChevronUp:Oo,ChevronUpCircle:Nn,ChevronUpCircleIcon:Nn,ChevronUpIcon:Oo,ChevronUpSquare:li,ChevronUpSquareIcon:li,ChevronsDown:S0,ChevronsDownIcon:S0,ChevronsDownUp:C0,ChevronsDownUpIcon:C0,ChevronsLeft:I0,ChevronsLeftIcon:I0,ChevronsLeftRight:N0,ChevronsLeftRightEllipsis:L0,ChevronsLeftRightEllipsisIcon:L0,ChevronsLeftRightIcon:N0,ChevronsRight:P0,ChevronsRightIcon:P0,ChevronsRightLeft:A0,ChevronsRightLeftIcon:A0,ChevronsUp:R0,ChevronsUpDown:_0,ChevronsUpDownIcon:_0,ChevronsUpIcon:R0,Chrome:T0,ChromeIcon:T0,Church:q0,ChurchIcon:q0,Cigarette:z0,CigaretteIcon:z0,CigaretteOff:D0,CigaretteOffIcon:D0,Circle:Z0,CircleAlert:Et,CircleAlertIcon:Et,CircleArrowDown:xn,CircleArrowDownIcon:xn,CircleArrowLeft:gn,CircleArrowLeftIcon:gn,CircleArrowOutDownLeft:kn,CircleArrowOutDownLeftIcon:kn,CircleArrowOutDownRight:vn,CircleArrowOutDownRightIcon:vn,CircleArrowOutUpLeft:wn,CircleArrowOutUpLeftIcon:wn,CircleArrowOutUpRight:bn,CircleArrowOutUpRightIcon:bn,CircleArrowRight:Mn,CircleArrowRightIcon:Mn,CircleArrowUp:jn,CircleArrowUpIcon:jn,CircleCheck:it,CircleCheckBig:Ft,CircleCheckBigIcon:Ft,CircleCheckIcon:it,CircleChevronDown:Cn,CircleChevronDownIcon:Cn,CircleChevronLeft:Sn,CircleChevronLeftIcon:Sn,CircleChevronRight:Ln,CircleChevronRightIcon:Ln,CircleChevronUp:Nn,CircleChevronUpIcon:Nn,CircleDashed:E0,CircleDashedIcon:E0,CircleDivide:In,CircleDivideIcon:In,CircleDollarSign:F0,CircleDollarSignIcon:F0,CircleDot:H0,CircleDotDashed:O0,CircleDotDashedIcon:O0,CircleDotIcon:H0,CircleEllipsis:V0,CircleEllipsisIcon:V0,CircleEqual:B0,CircleEqualIcon:B0,CircleFadingArrowUp:$0,CircleFadingArrowUpIcon:$0,CircleFadingPlus:U0,CircleFadingPlusIcon:U0,CircleGauge:An,CircleGaugeIcon:An,CircleHelp:dr,CircleHelpIcon:dr,CircleIcon:Z0,CircleMinus:Pn,CircleMinusIcon:Pn,CircleOff:G0,CircleOffIcon:G0,CircleParking:Rn,CircleParkingIcon:Rn,CircleParkingOff:_n,CircleParkingOffIcon:_n,CirclePause:Tn,CirclePauseIcon:Tn,CirclePercent:qn,CirclePercentIcon:qn,CirclePlay:Dn,CirclePlayIcon:Dn,CirclePlus:zn,CirclePlusIcon:zn,CirclePower:En,CirclePowerIcon:En,CircleSlash:W0,CircleSlash2:Fn,CircleSlash2Icon:Fn,CircleSlashIcon:W0,CircleSlashed:Fn,CircleSlashedIcon:Fn,CircleStop:On,CircleStopIcon:On,CircleUser:Vn,CircleUserIcon:Vn,CircleUserRound:Hn,CircleUserRoundIcon:Hn,CircleX:Sa,CircleXIcon:Sa,CircuitBoard:J0,CircuitBoardIcon:J0,Citrus:X0,CitrusIcon:X0,Clapperboard:Y0,ClapperboardIcon:Y0,Clipboard:iu,ClipboardCheck:K0,ClipboardCheckIcon:K0,ClipboardCopy:Q0,ClipboardCopyIcon:Q0,ClipboardEdit:$n,ClipboardEditIcon:$n,ClipboardIcon:iu,ClipboardList:eu,ClipboardListIcon:eu,ClipboardMinus:tu,ClipboardMinusIcon:tu,ClipboardPaste:au,ClipboardPasteIcon:au,ClipboardPen:$n,ClipboardPenIcon:$n,ClipboardPenLine:Bn,ClipboardPenLineIcon:Bn,ClipboardPlus:ru,ClipboardPlusIcon:ru,ClipboardSignature:Bn,ClipboardSignatureIcon:Bn,ClipboardType:nu,ClipboardTypeIcon:nu,ClipboardX:su,ClipboardXIcon:su,Clock:ka,Clock1:ou,Clock10:cu,Clock10Icon:cu,Clock11:lu,Clock11Icon:lu,Clock12:du,Clock12Icon:du,Clock1Icon:ou,Clock2:hu,Clock2Icon:hu,Clock3:uu,Clock3Icon:uu,Clock4:pu,Clock4Icon:pu,Clock5:yu,Clock5Icon:yu,Clock6:mu,Clock6Icon:mu,Clock7:fu,Clock7Icon:fu,Clock8:xu,Clock8Icon:xu,Clock9:gu,Clock9Icon:gu,ClockAlert:ku,ClockAlertIcon:ku,ClockArrowDown:vu,ClockArrowDownIcon:vu,ClockArrowUp:wu,ClockArrowUpIcon:wu,ClockIcon:ka,Cloud:qu,CloudCog:bu,CloudCogIcon:bu,CloudDownload:Un,CloudDownloadIcon:Un,CloudDrizzle:Mu,CloudDrizzleIcon:Mu,CloudFog:ju,CloudFogIcon:ju,CloudHail:Cu,CloudHailIcon:Cu,CloudIcon:qu,CloudLightning:Su,CloudLightningIcon:Su,CloudMoon:Nu,CloudMoonIcon:Nu,CloudMoonRain:Lu,CloudMoonRainIcon:Lu,CloudOff:Iu,CloudOffIcon:Iu,CloudRain:Pu,CloudRainIcon:Pu,CloudRainWind:Au,CloudRainWindIcon:Au,CloudSnow:_u,CloudSnowIcon:_u,CloudSun:Tu,CloudSunIcon:Tu,CloudSunRain:Ru,CloudSunRainIcon:Ru,CloudUpload:hr,CloudUploadIcon:hr,Cloudy:Du,CloudyIcon:Du,Clover:zu,CloverIcon:zu,Club:Eu,ClubIcon:Eu,Code:Fu,Code2:Gn,Code2Icon:Gn,CodeIcon:Fu,CodeSquare:di,CodeSquareIcon:di,CodeXml:Gn,CodeXmlIcon:Gn,Codepen:Ou,CodepenIcon:Ou,Codesandbox:Hu,CodesandboxIcon:Hu,Coffee:Vu,CoffeeIcon:Vu,Cog:Bu,CogIcon:Bu,Coins:$u,CoinsIcon:$u,Columns:Wn,Columns2:Wn,Columns2Icon:Wn,Columns3:Zn,Columns3Icon:Zn,Columns4:Uu,Columns4Icon:Uu,ColumnsIcon:Wn,Combine:Gu,CombineIcon:Gu,Command:Wu,CommandIcon:Wu,Compass:Zu,CompassIcon:Zu,Component:Ju,ComponentIcon:Ju,Computer:Xu,ComputerIcon:Xu,ConciergeBell:Yu,ConciergeBellIcon:Yu,Cone:Ku,ConeIcon:Ku,Construction:Qu,ConstructionIcon:Qu,Contact:ep,Contact2:Jn,Contact2Icon:Jn,ContactIcon:ep,ContactRound:Jn,ContactRoundIcon:Jn,Container:tp,ContainerIcon:tp,Contrast:ap,ContrastIcon:ap,Cookie:rp,CookieIcon:rp,CookingPot:np,CookingPotIcon:np,Copy:dp,CopyCheck:sp,CopyCheckIcon:sp,CopyIcon:dp,CopyMinus:ip,CopyMinusIcon:ip,CopyPlus:op,CopyPlusIcon:op,CopySlash:cp,CopySlashIcon:cp,CopyX:lp,CopyXIcon:lp,Copyleft:hp,CopyleftIcon:hp,Copyright:up,CopyrightIcon:up,CornerDownLeft:pp,CornerDownLeftIcon:pp,CornerDownRight:yp,CornerDownRightIcon:yp,CornerLeftDown:mp,CornerLeftDownIcon:mp,CornerLeftUp:fp,CornerLeftUpIcon:fp,CornerRightDown:xp,CornerRightDownIcon:xp,CornerRightUp:gp,CornerRightUpIcon:gp,CornerUpLeft:kp,CornerUpLeftIcon:kp,CornerUpRight:vp,CornerUpRightIcon:vp,Cpu:wp,CpuIcon:wp,CreativeCommons:bp,CreativeCommonsIcon:bp,CreditCard:Sc,CreditCardIcon:Sc,Croissant:Mp,CroissantIcon:Mp,Crop:jp,CropIcon:jp,Cross:Cp,CrossIcon:Cp,Crosshair:Sp,CrosshairIcon:Sp,Crown:Lp,CrownIcon:Lp,Cuboid:Np,CuboidIcon:Np,CupSoda:Ip,CupSodaIcon:Ip,CurlyBraces:an,CurlyBracesIcon:an,Currency:Ap,CurrencyIcon:Ap,Cylinder:Pp,CylinderIcon:Pp,Dam:_p,DamIcon:_p,Database:qp,DatabaseBackup:Rp,DatabaseBackupIcon:Rp,DatabaseIcon:qp,DatabaseZap:Tp,DatabaseZapIcon:Tp,Delete:Dp,DeleteIcon:Dp,Dessert:zp,DessertIcon:zp,Diameter:Ep,DiameterIcon:Ep,Diamond:Hp,DiamondIcon:Hp,DiamondMinus:Fp,DiamondMinusIcon:Fp,DiamondPercent:Xn,DiamondPercentIcon:Xn,DiamondPlus:Op,DiamondPlusIcon:Op,Dice1:Vp,Dice1Icon:Vp,Dice2:Bp,Dice2Icon:Bp,Dice3:$p,Dice3Icon:$p,Dice4:Up,Dice4Icon:Up,Dice5:Gp,Dice5Icon:Gp,Dice6:Wp,Dice6Icon:Wp,Dices:Zp,DicesIcon:Zp,Diff:Jp,DiffIcon:Jp,Disc:Qp,Disc2:Xp,Disc2Icon:Xp,Disc3:Yp,Disc3Icon:Yp,DiscAlbum:Kp,DiscAlbumIcon:Kp,DiscIcon:Qp,Divide:ey,DivideCircle:In,DivideCircleIcon:In,DivideIcon:ey,DivideSquare:yi,DivideSquareIcon:yi,Dna:ay,DnaIcon:ay,DnaOff:ty,DnaOffIcon:ty,Dock:ry,DockIcon:ry,Dog:ny,DogIcon:ny,DollarSign:Lc,DollarSignIcon:Lc,Donut:sy,DonutIcon:sy,DoorClosed:iy,DoorClosedIcon:iy,DoorOpen:oy,DoorOpenIcon:oy,Dot:cy,DotIcon:cy,DotSquare:mi,DotSquareIcon:mi,Download:Nc,DownloadCloud:Un,DownloadCloudIcon:Un,DownloadIcon:Nc,DraftingCompass:ly,DraftingCompassIcon:ly,Drama:dy,DramaIcon:dy,Dribbble:hy,DribbbleIcon:hy,Drill:uy,DrillIcon:uy,Droplet:py,DropletIcon:py,Droplets:yy,DropletsIcon:yy,Drum:my,DrumIcon:my,Drumstick:fy,DrumstickIcon:fy,Dumbbell:xy,DumbbellIcon:xy,Ear:ky,EarIcon:ky,EarOff:gy,EarOffIcon:gy,Earth:Yn,EarthIcon:Yn,EarthLock:vy,EarthLockIcon:vy,Eclipse:wy,EclipseIcon:wy,Edit:qt,Edit2:qs,Edit2Icon:qs,Edit3:Ts,Edit3Icon:Ts,EditIcon:qt,Egg:jy,EggFried:by,EggFriedIcon:by,EggIcon:jy,EggOff:My,EggOffIcon:My,Ellipsis:Qn,EllipsisIcon:Qn,EllipsisVertical:Kn,EllipsisVerticalIcon:Kn,Equal:Sy,EqualIcon:Sy,EqualNot:Cy,EqualNotIcon:Cy,EqualSquare:fi,EqualSquareIcon:fi,Eraser:Ly,EraserIcon:Ly,EthernetPort:Ny,EthernetPortIcon:Ny,Euro:Iy,EuroIcon:Iy,Expand:Ay,ExpandIcon:Ay,ExternalLink:ho,ExternalLinkIcon:ho,Eye:Ho,EyeClosed:Py,EyeClosedIcon:Py,EyeIcon:Ho,EyeOff:Ic,EyeOffIcon:Ic,Facebook:_y,FacebookIcon:_y,Factory:Ry,FactoryIcon:Ry,Fan:Ty,FanIcon:Ty,FastForward:qy,FastForwardIcon:qy,Feather:Dy,FeatherIcon:Dy,Fence:zy,FenceIcon:zy,FerrisWheel:Ey,FerrisWheelIcon:Ey,Figma:Fy,FigmaIcon:Fy,File:qm,FileArchive:Oy,FileArchiveIcon:Oy,FileAudio:Vy,FileAudio2:Hy,FileAudio2Icon:Hy,FileAudioIcon:Vy,FileAxis3D:es,FileAxis3DIcon:es,FileAxis3d:es,FileAxis3dIcon:es,FileBadge:$y,FileBadge2:By,FileBadge2Icon:By,FileBadgeIcon:$y,FileBarChart:ts,FileBarChart2:as,FileBarChart2Icon:as,FileBarChartIcon:ts,FileBox:Uy,FileBoxIcon:Uy,FileChartColumn:as,FileChartColumnIcon:as,FileChartColumnIncreasing:ts,FileChartColumnIncreasingIcon:ts,FileChartLine:rs,FileChartLineIcon:rs,FileChartPie:ns,FileChartPieIcon:ns,FileCheck:Wy,FileCheck2:Gy,FileCheck2Icon:Gy,FileCheckIcon:Wy,FileClock:Zy,FileClockIcon:Zy,FileCode:Xy,FileCode2:Jy,FileCode2Icon:Jy,FileCodeIcon:Xy,FileCog:ss,FileCog2:ss,FileCog2Icon:ss,FileCogIcon:ss,FileDiff:Yy,FileDiffIcon:Yy,FileDigit:Ky,FileDigitIcon:Ky,FileDown:Qy,FileDownIcon:Qy,FileEdit:os,FileEditIcon:os,FileHeart:em,FileHeartIcon:em,FileIcon:qm,FileImage:tm,FileImageIcon:tm,FileInput:am,FileInputIcon:am,FileJson:nm,FileJson2:rm,FileJson2Icon:rm,FileJsonIcon:nm,FileKey:im,FileKey2:sm,FileKey2Icon:sm,FileKeyIcon:im,FileLineChart:rs,FileLineChartIcon:rs,FileLock:cm,FileLock2:om,FileLock2Icon:om,FileLockIcon:cm,FileMinus:dm,FileMinus2:lm,FileMinus2Icon:lm,FileMinusIcon:dm,FileMusic:hm,FileMusicIcon:hm,FileOutput:um,FileOutputIcon:um,FilePen:os,FilePenIcon:os,FilePenLine:is,FilePenLineIcon:is,FilePieChart:ns,FilePieChartIcon:ns,FilePlus:ym,FilePlus2:pm,FilePlus2Icon:pm,FilePlusIcon:ym,FileQuestion:mm,FileQuestionIcon:mm,FileScan:fm,FileScanIcon:fm,FileSearch:gm,FileSearch2:xm,FileSearch2Icon:xm,FileSearchIcon:gm,FileSignature:is,FileSignatureIcon:is,FileSliders:km,FileSlidersIcon:km,FileSpreadsheet:vm,FileSpreadsheetIcon:vm,FileStack:wm,FileStackIcon:wm,FileSymlink:bm,FileSymlinkIcon:bm,FileTerminal:Mm,FileTerminalIcon:Mm,FileText:Vo,FileTextIcon:Vo,FileType:Cm,FileType2:jm,FileType2Icon:jm,FileTypeIcon:Cm,FileUp:Sm,FileUpIcon:Sm,FileUser:Lm,FileUserIcon:Lm,FileVideo:Im,FileVideo2:Nm,FileVideo2Icon:Nm,FileVideoIcon:Im,FileVolume:Pm,FileVolume2:Am,FileVolume2Icon:Am,FileVolumeIcon:Pm,FileWarning:_m,FileWarningIcon:_m,FileX:Tm,FileX2:Rm,FileX2Icon:Rm,FileXIcon:Tm,Files:Dm,FilesIcon:Dm,Film:zm,FilmIcon:zm,Filter:gr,FilterIcon:gr,FilterX:Em,FilterXIcon:Em,Fingerprint:Fm,FingerprintIcon:Fm,FireExtinguisher:Om,FireExtinguisherIcon:Om,Fish:Bm,FishIcon:Bm,FishOff:Hm,FishOffIcon:Hm,FishSymbol:Vm,FishSymbolIcon:Vm,Flag:Ac,FlagIcon:Ac,FlagOff:$m,FlagOffIcon:$m,FlagTriangleLeft:Um,FlagTriangleLeftIcon:Um,FlagTriangleRight:Gm,FlagTriangleRightIcon:Gm,Flame:Zm,FlameIcon:Zm,FlameKindling:Wm,FlameKindlingIcon:Wm,Flashlight:Xm,FlashlightIcon:Xm,FlashlightOff:Jm,FlashlightOffIcon:Jm,FlaskConical:Km,FlaskConicalIcon:Km,FlaskConicalOff:Ym,FlaskConicalOffIcon:Ym,FlaskRound:Qm,FlaskRoundIcon:Qm,FlipHorizontal:tf,FlipHorizontal2:ef,FlipHorizontal2Icon:ef,FlipHorizontalIcon:tf,FlipVertical:rf,FlipVertical2:af,FlipVertical2Icon:af,FlipVerticalIcon:rf,Flower:sf,Flower2:nf,Flower2Icon:nf,FlowerIcon:sf,Focus:of,FocusIcon:of,FoldHorizontal:cf,FoldHorizontalIcon:cf,FoldVertical:lf,FoldVerticalIcon:lf,Folder:zf,FolderArchive:df,FolderArchiveIcon:df,FolderCheck:hf,FolderCheckIcon:hf,FolderClock:uf,FolderClockIcon:uf,FolderClosed:pf,FolderClosedIcon:pf,FolderCode:yf,FolderCodeIcon:yf,FolderCog:cs,FolderCog2:cs,FolderCog2Icon:cs,FolderCogIcon:cs,FolderDot:mf,FolderDotIcon:mf,FolderDown:ff,FolderDownIcon:ff,FolderEdit:ls,FolderEditIcon:ls,FolderGit:gf,FolderGit2:xf,FolderGit2Icon:xf,FolderGitIcon:gf,FolderHeart:kf,FolderHeartIcon:kf,FolderIcon:zf,FolderInput:vf,FolderInputIcon:vf,FolderKanban:wf,FolderKanbanIcon:wf,FolderKey:bf,FolderKeyIcon:bf,FolderLock:Mf,FolderLockIcon:Mf,FolderMinus:jf,FolderMinusIcon:jf,FolderOpen:Sf,FolderOpenDot:Cf,FolderOpenDotIcon:Cf,FolderOpenIcon:Sf,FolderOutput:Lf,FolderOutputIcon:Lf,FolderPen:ls,FolderPenIcon:ls,FolderPlus:Nf,FolderPlusIcon:Nf,FolderRoot:If,FolderRootIcon:If,FolderSearch:Pf,FolderSearch2:Af,FolderSearch2Icon:Af,FolderSearchIcon:Pf,FolderSymlink:_f,FolderSymlinkIcon:_f,FolderSync:Rf,FolderSyncIcon:Rf,FolderTree:Tf,FolderTreeIcon:Tf,FolderUp:qf,FolderUpIcon:qf,FolderX:Df,FolderXIcon:Df,Folders:Ef,FoldersIcon:Ef,Footprints:Ff,FootprintsIcon:Ff,ForkKnife:ao,ForkKnifeCrossed:to,ForkKnifeCrossedIcon:to,ForkKnifeIcon:ao,Forklift:Of,ForkliftIcon:Of,FormInput:zs,FormInputIcon:zs,Forward:Hf,ForwardIcon:Hf,Frame:Vf,FrameIcon:Vf,Framer:Bf,FramerIcon:Bf,Frown:$f,FrownIcon:$f,Fuel:Uf,FuelIcon:Uf,Fullscreen:Gf,FullscreenIcon:Gf,FunctionSquare:xi,FunctionSquareIcon:xi,GalleryHorizontal:Zf,GalleryHorizontalEnd:Wf,GalleryHorizontalEndIcon:Wf,GalleryHorizontalIcon:Zf,GalleryThumbnails:Jf,GalleryThumbnailsIcon:Jf,GalleryVertical:Yf,GalleryVerticalEnd:Xf,GalleryVerticalEndIcon:Xf,GalleryVerticalIcon:Yf,Gamepad:Kf,Gamepad2:Pc,Gamepad2Icon:Pc,GamepadIcon:Kf,GanttChart:yn,GanttChartIcon:yn,GanttChartSquare:ja,GanttChartSquareIcon:ja,Gauge:Qf,GaugeCircle:An,GaugeCircleIcon:An,GaugeIcon:Qf,Gavel:ex,GavelIcon:ex,Gem:tx,GemIcon:tx,Ghost:ax,GhostIcon:ax,Gift:rx,GiftIcon:rx,GitBranch:sx,GitBranchIcon:sx,GitBranchPlus:nx,GitBranchPlusIcon:nx,GitCommit:ds,GitCommitHorizontal:ds,GitCommitHorizontalIcon:ds,GitCommitIcon:ds,GitCommitVertical:ix,GitCommitVerticalIcon:ix,GitCompare:cx,GitCompareArrows:ox,GitCompareArrowsIcon:ox,GitCompareIcon:cx,GitFork:lx,GitForkIcon:lx,GitGraph:dx,GitGraphIcon:dx,GitMerge:hx,GitMergeIcon:hx,GitPullRequest:xx,GitPullRequestArrow:ux,GitPullRequestArrowIcon:ux,GitPullRequestClosed:px,GitPullRequestClosedIcon:px,GitPullRequestCreate:mx,GitPullRequestCreateArrow:yx,GitPullRequestCreateArrowIcon:yx,GitPullRequestCreateIcon:mx,GitPullRequestDraft:fx,GitPullRequestDraftIcon:fx,GitPullRequestIcon:xx,Github:gx,GithubIcon:gx,Gitlab:kx,GitlabIcon:kx,GlassWater:vx,GlassWaterIcon:vx,Glasses:wx,GlassesIcon:wx,Globe:na,Globe2:Yn,Globe2Icon:Yn,GlobeIcon:na,GlobeLock:bx,GlobeLockIcon:bx,Goal:Mx,GoalIcon:Mx,Grab:jx,GrabIcon:jx,GraduationCap:kr,GraduationCapIcon:kr,Grape:Cx,GrapeIcon:Cx,Grid:pa,Grid2X2:hs,Grid2X2Icon:hs,Grid2x2:hs,Grid2x2Check:Sx,Grid2x2CheckIcon:Sx,Grid2x2Icon:hs,Grid2x2Plus:Lx,Grid2x2PlusIcon:Lx,Grid2x2X:Nx,Grid2x2XIcon:Nx,Grid3X3:pa,Grid3X3Icon:pa,Grid3x3:pa,Grid3x3Icon:pa,GridIcon:pa,Grip:Px,GripHorizontal:Ix,GripHorizontalIcon:Ix,GripIcon:Px,GripVertical:Ax,GripVerticalIcon:Ax,Group:_x,GroupIcon:_x,Guitar:Rx,GuitarIcon:Rx,Ham:Tx,HamIcon:Tx,Hammer:qx,HammerIcon:qx,Hand:Ox,HandCoins:Dx,HandCoinsIcon:Dx,HandHeart:zx,HandHeartIcon:zx,HandHelping:us,HandHelpingIcon:us,HandIcon:Ox,HandMetal:Ex,HandMetalIcon:Ex,HandPlatter:Fx,HandPlatterIcon:Fx,Handshake:Hx,HandshakeIcon:Hx,HardDrive:$x,HardDriveDownload:Vx,HardDriveDownloadIcon:Vx,HardDriveIcon:$x,HardDriveUpload:Bx,HardDriveUploadIcon:Bx,HardHat:Ux,HardHatIcon:Ux,Hash:Gx,HashIcon:Gx,Haze:Wx,HazeIcon:Wx,HdmiPort:Zx,HdmiPortIcon:Zx,Heading:tg,Heading1:Jx,Heading1Icon:Jx,Heading2:Xx,Heading2Icon:Xx,Heading3:Yx,Heading3Icon:Yx,Heading4:Kx,Heading4Icon:Kx,Heading5:Qx,Heading5Icon:Qx,Heading6:eg,Heading6Icon:eg,HeadingIcon:tg,HeadphoneOff:ag,HeadphoneOffIcon:ag,Headphones:rg,HeadphonesIcon:rg,Headset:ng,HeadsetIcon:ng,Heart:vr,HeartCrack:sg,HeartCrackIcon:sg,HeartHandshake:ig,HeartHandshakeIcon:ig,HeartIcon:vr,HeartOff:og,HeartOffIcon:og,HeartPulse:cg,HeartPulseIcon:cg,Heater:lg,HeaterIcon:lg,HelpCircle:dr,HelpCircleIcon:dr,HelpingHand:us,HelpingHandIcon:us,Hexagon:dg,HexagonIcon:dg,Highlighter:hg,HighlighterIcon:hg,History:ug,HistoryIcon:ug,Home:Ua,HomeIcon:Ua,Hop:yg,HopIcon:yg,HopOff:pg,HopOffIcon:pg,Hospital:mg,HospitalIcon:mg,Hotel:fg,HotelIcon:fg,Hourglass:xg,HourglassIcon:xg,House:Ua,HouseIcon:Ua,HousePlug:gg,HousePlugIcon:gg,HousePlus:kg,HousePlusIcon:kg,IceCream:ys,IceCream2:ps,IceCream2Icon:ps,IceCreamBowl:ps,IceCreamBowlIcon:ps,IceCreamCone:ys,IceCreamConeIcon:ys,IceCreamIcon:ys,Icon:TN,IdCard:vg,IdCardIcon:vg,Image:Lg,ImageDown:wg,ImageDownIcon:wg,ImageIcon:Lg,ImageMinus:bg,ImageMinusIcon:bg,ImageOff:Mg,ImageOffIcon:Mg,ImagePlay:jg,ImagePlayIcon:jg,ImagePlus:Cg,ImagePlusIcon:Cg,ImageUp:Sg,ImageUpIcon:Sg,Images:Ng,ImagesIcon:Ng,Import:Ig,ImportIcon:Ig,Inbox:Ag,InboxIcon:Ag,Indent:fs,IndentDecrease:ms,IndentDecreaseIcon:ms,IndentIcon:fs,IndentIncrease:fs,IndentIncreaseIcon:fs,IndianRupee:Pg,IndianRupeeIcon:Pg,Infinity:_g,InfinityIcon:_g,Info:Rg,InfoIcon:Rg,Inspect:Mi,InspectIcon:Mi,InspectionPanel:Tg,InspectionPanelIcon:Tg,Instagram:qg,InstagramIcon:qg,Italic:Dg,ItalicIcon:Dg,IterationCcw:zg,IterationCcwIcon:zg,IterationCw:Eg,IterationCwIcon:Eg,JapaneseYen:Fg,JapaneseYenIcon:Fg,Joystick:Og,JoystickIcon:Og,Kanban:Hg,KanbanIcon:Hg,KanbanSquare:gi,KanbanSquareDashed:hi,KanbanSquareDashedIcon:hi,KanbanSquareIcon:gi,Key:$g,KeyIcon:$g,KeyRound:Vg,KeyRoundIcon:Vg,KeySquare:Bg,KeySquareIcon:Bg,Keyboard:Wg,KeyboardIcon:Wg,KeyboardMusic:Ug,KeyboardMusicIcon:Ug,KeyboardOff:Gg,KeyboardOffIcon:Gg,Lamp:Qg,LampCeiling:Zg,LampCeilingIcon:Zg,LampDesk:Jg,LampDeskIcon:Jg,LampFloor:Xg,LampFloorIcon:Xg,LampIcon:Qg,LampWallDown:Yg,LampWallDownIcon:Yg,LampWallUp:Kg,LampWallUpIcon:Kg,LandPlot:e4,LandPlotIcon:e4,Landmark:t4,LandmarkIcon:t4,Languages:_c,LanguagesIcon:_c,Laptop:a4,Laptop2:xs,Laptop2Icon:xs,LaptopIcon:a4,LaptopMinimal:xs,LaptopMinimalIcon:xs,Lasso:n4,LassoIcon:n4,LassoSelect:r4,LassoSelectIcon:r4,Laugh:s4,LaughIcon:s4,Layers:c4,Layers2:i4,Layers2Icon:i4,Layers3:o4,Layers3Icon:o4,LayersIcon:c4,Layout:Rs,LayoutDashboard:Rc,LayoutDashboardIcon:Rc,LayoutGrid:l4,LayoutGridIcon:l4,LayoutIcon:Rs,LayoutList:d4,LayoutListIcon:d4,LayoutPanelLeft:h4,LayoutPanelLeftIcon:h4,LayoutPanelTop:u4,LayoutPanelTopIcon:u4,LayoutTemplate:p4,LayoutTemplateIcon:p4,Leaf:y4,LeafIcon:y4,LeafyGreen:m4,LeafyGreenIcon:m4,Lectern:f4,LecternIcon:f4,LetterText:x4,LetterTextIcon:x4,Library:k4,LibraryBig:g4,LibraryBigIcon:g4,LibraryIcon:k4,LibrarySquare:ki,LibrarySquareIcon:ki,LifeBuoy:v4,LifeBuoyIcon:v4,Ligature:w4,LigatureIcon:w4,Lightbulb:M4,LightbulbIcon:M4,LightbulbOff:b4,LightbulbOffIcon:b4,LineChart:un,LineChartIcon:un,Link:Tc,Link2:C4,Link2Icon:C4,Link2Off:j4,Link2OffIcon:j4,LinkIcon:Tc,Linkedin:qc,LinkedinIcon:qc,List:Dc,ListCheck:S4,ListCheckIcon:S4,ListChecks:L4,ListChecksIcon:L4,ListCollapse:N4,ListCollapseIcon:N4,ListEnd:I4,ListEndIcon:I4,ListFilter:A4,ListFilterIcon:A4,ListIcon:Dc,ListMinus:P4,ListMinusIcon:P4,ListMusic:_4,ListMusicIcon:_4,ListOrdered:R4,ListOrderedIcon:R4,ListPlus:T4,ListPlusIcon:T4,ListRestart:q4,ListRestartIcon:q4,ListStart:D4,ListStartIcon:D4,ListTodo:z4,ListTodoIcon:z4,ListTree:E4,ListTreeIcon:E4,ListVideo:F4,ListVideoIcon:F4,ListX:O4,ListXIcon:O4,Loader:V4,Loader2:ma,Loader2Icon:ma,LoaderCircle:ma,LoaderCircleIcon:ma,LoaderIcon:V4,LoaderPinwheel:H4,LoaderPinwheelIcon:H4,Locate:U4,LocateFixed:B4,LocateFixedIcon:B4,LocateIcon:U4,LocateOff:$4,LocateOffIcon:$4,Lock:uo,LockIcon:uo,LockKeyhole:G4,LockKeyholeIcon:G4,LockKeyholeOpen:gs,LockKeyholeOpenIcon:gs,LockOpen:ks,LockOpenIcon:ks,LogIn:W4,LogInIcon:W4,LogOut:zc,LogOutIcon:zc,Logs:Z4,LogsIcon:Z4,Lollipop:J4,LollipopIcon:J4,LucideAArrowDown:Rl,LucideAArrowUp:Tl,LucideALargeSmall:ql,LucideAccessibility:Dl,LucideActivity:zl,LucideActivitySquare:Us,LucideAirVent:El,LucideAirplay:Fl,LucideAlarmCheck:Vr,LucideAlarmClock:Hl,LucideAlarmClockCheck:Vr,LucideAlarmClockMinus:Br,LucideAlarmClockOff:Ol,LucideAlarmClockPlus:$r,LucideAlarmMinus:Br,LucideAlarmPlus:$r,LucideAlarmSmoke:Vl,LucideAlbum:Bl,LucideAlertCircle:Et,LucideAlertOctagon:bs,LucideAlertTriangle:Ui,LucideAlignCenter:Gl,LucideAlignCenterHorizontal:$l,LucideAlignCenterVertical:Ul,LucideAlignEndHorizontal:Wl,LucideAlignEndVertical:Zl,LucideAlignHorizontalDistributeCenter:Jl,LucideAlignHorizontalDistributeEnd:Xl,LucideAlignHorizontalDistributeStart:Yl,LucideAlignHorizontalJustifyCenter:Kl,LucideAlignHorizontalJustifyEnd:Ql,LucideAlignHorizontalJustifyStart:e1,LucideAlignHorizontalSpaceAround:t1,LucideAlignHorizontalSpaceBetween:a1,LucideAlignJustify:r1,LucideAlignLeft:n1,LucideAlignRight:s1,LucideAlignStartHorizontal:i1,LucideAlignStartVertical:o1,LucideAlignVerticalDistributeCenter:c1,LucideAlignVerticalDistributeEnd:l1,LucideAlignVerticalDistributeStart:d1,LucideAlignVerticalJustifyCenter:h1,LucideAlignVerticalJustifyEnd:u1,LucideAlignVerticalJustifyStart:p1,LucideAlignVerticalSpaceAround:y1,LucideAlignVerticalSpaceBetween:m1,LucideAmbulance:f1,LucideAmpersand:x1,LucideAmpersands:g1,LucideAmphora:k1,LucideAnchor:v1,LucideAngry:w1,LucideAnnoyed:b1,LucideAntenna:M1,LucideAnvil:j1,LucideAperture:C1,LucideAppWindow:L1,LucideAppWindowMac:S1,LucideApple:N1,LucideArchive:P1,LucideArchiveRestore:I1,LucideArchiveX:A1,LucideAreaChart:nn,LucideArmchair:_1,LucideArrowBigDown:T1,LucideArrowBigDownDash:R1,LucideArrowBigLeft:D1,LucideArrowBigLeftDash:q1,LucideArrowBigRight:E1,LucideArrowBigRightDash:z1,LucideArrowBigUp:O1,LucideArrowBigUpDash:F1,LucideArrowDown:X1,LucideArrowDown01:H1,LucideArrowDown10:V1,LucideArrowDownAZ:Ur,LucideArrowDownAz:Ur,LucideArrowDownCircle:xn,LucideArrowDownFromLine:B1,LucideArrowDownLeft:$1,LucideArrowDownLeftFromCircle:kn,LucideArrowDownLeftFromSquare:Js,LucideArrowDownLeftSquare:Gs,LucideArrowDownNarrowWide:U1,LucideArrowDownRight:G1,LucideArrowDownRightFromCircle:vn,LucideArrowDownRightFromSquare:Xs,LucideArrowDownRightSquare:Ws,LucideArrowDownSquare:Zs,LucideArrowDownToDot:W1,LucideArrowDownToLine:Z1,LucideArrowDownUp:J1,LucideArrowDownWideNarrow:Gr,LucideArrowDownZA:Wr,LucideArrowDownZa:Wr,LucideArrowLeft:Ja,LucideArrowLeftCircle:gn,LucideArrowLeftFromLine:Y1,LucideArrowLeftRight:K1,LucideArrowLeftSquare:Ga,LucideArrowLeftToLine:Q1,LucideArrowRight:co,LucideArrowRightCircle:Mn,LucideArrowRightFromLine:ed,LucideArrowRightLeft:td,LucideArrowRightSquare:Wa,LucideArrowRightToLine:ad,LucideArrowUp:ud,LucideArrowUp01:rd,LucideArrowUp10:nd,LucideArrowUpAZ:Zr,LucideArrowUpAz:Zr,LucideArrowUpCircle:jn,LucideArrowUpDown:sd,LucideArrowUpFromDot:id,LucideArrowUpFromLine:od,LucideArrowUpLeft:cd,LucideArrowUpLeftFromCircle:wn,LucideArrowUpLeftFromSquare:Ys,LucideArrowUpLeftSquare:Qs,LucideArrowUpNarrowWide:Jr,LucideArrowUpRight:ld,LucideArrowUpRightFromCircle:bn,LucideArrowUpRightFromSquare:Ks,LucideArrowUpRightSquare:ei,LucideArrowUpSquare:ti,LucideArrowUpToLine:dd,LucideArrowUpWideNarrow:hd,LucideArrowUpZA:Xr,LucideArrowUpZa:Xr,LucideArrowsUpFromLine:pd,LucideAsterisk:yd,LucideAsteriskSquare:ai,LucideAtSign:md,LucideAtom:fd,LucideAudioLines:xd,LucideAudioWaveform:gd,LucideAward:ea,LucideAxe:kd,LucideAxis3D:Yr,LucideAxis3d:Yr,LucideBaby:vd,LucideBackpack:wd,LucideBadge:bc,LucideBadgeAlert:bd,LucideBadgeCent:Md,LucideBadgeCheck:Kr,LucideBadgeDollarSign:jd,LucideBadgeEuro:Cd,LucideBadgeHelp:Sd,LucideBadgeIndianRupee:Ld,LucideBadgeInfo:Nd,LucideBadgeJapaneseYen:Id,LucideBadgeMinus:Ad,LucideBadgePercent:Pd,LucideBadgePlus:_d,LucideBadgePoundSterling:Rd,LucideBadgeRussianRuble:Td,LucideBadgeSwissFranc:qd,LucideBadgeX:Dd,LucideBaggageClaim:zd,LucideBan:Ed,LucideBanana:Fd,LucideBandage:Od,LucideBanknote:Hd,LucideBarChart:lr,LucideBarChart2:pn,LucideBarChart3:hn,LucideBarChart4:dn,LucideBarChartBig:ln,LucideBarChartHorizontal:on,LucideBarChartHorizontalBig:sn,LucideBarcode:Vd,LucideBaseline:Bd,LucideBath:$d,LucideBattery:Xd,LucideBatteryCharging:Ud,LucideBatteryFull:Gd,LucideBatteryLow:Wd,LucideBatteryMedium:Zd,LucideBatteryWarning:Jd,LucideBeaker:Yd,LucideBean:Qd,LucideBeanOff:Kd,LucideBed:a2,LucideBedDouble:e2,LucideBedSingle:t2,LucideBeef:r2,LucideBeer:s2,LucideBeerOff:n2,LucideBell:zo,LucideBellDot:i2,LucideBellElectric:o2,LucideBellMinus:c2,LucideBellOff:l2,LucideBellPlus:d2,LucideBellRing:h2,LucideBetweenHorizonalEnd:Qr,LucideBetweenHorizonalStart:en,LucideBetweenHorizontalEnd:Qr,LucideBetweenHorizontalStart:en,LucideBetweenVerticalEnd:u2,LucideBetweenVerticalStart:p2,LucideBicepsFlexed:y2,LucideBike:m2,LucideBinary:f2,LucideBinoculars:x2,LucideBiohazard:g2,LucideBird:k2,LucideBitcoin:v2,LucideBlend:w2,LucideBlinds:b2,LucideBlocks:M2,LucideBluetooth:L2,LucideBluetoothConnected:j2,LucideBluetoothOff:C2,LucideBluetoothSearching:S2,LucideBold:N2,LucideBolt:I2,LucideBomb:A2,LucideBone:P2,LucideBook:Q2,LucideBookA:_2,LucideBookAudio:R2,LucideBookCheck:T2,LucideBookCopy:q2,LucideBookDashed:tn,LucideBookDown:D2,LucideBookHeadphones:z2,LucideBookHeart:E2,LucideBookImage:F2,LucideBookKey:O2,LucideBookLock:H2,LucideBookMarked:V2,LucideBookMinus:B2,LucideBookOpen:ra,LucideBookOpenCheck:$2,LucideBookOpenText:U2,LucideBookPlus:G2,LucideBookTemplate:tn,LucideBookText:W2,LucideBookType:Z2,LucideBookUp:X2,LucideBookUp2:J2,LucideBookUser:Y2,LucideBookX:K2,LucideBookmark:ga,LucideBookmarkCheck:xa,LucideBookmarkMinus:eh,LucideBookmarkPlus:Mc,LucideBookmarkX:th,LucideBoomBox:ah,LucideBot:jc,LucideBotMessageSquare:rh,LucideBotOff:nh,LucideBox:sh,LucideBoxSelect:pi,LucideBoxes:ih,LucideBraces:an,LucideBrackets:oh,LucideBrain:dh,LucideBrainCircuit:ch,LucideBrainCog:lh,LucideBrickWall:hh,LucideBriefcase:nt,LucideBriefcaseBusiness:uh,LucideBriefcaseConveyorBelt:ph,LucideBriefcaseMedical:yh,LucideBringToFront:mh,LucideBrush:fh,LucideBug:kh,LucideBugOff:xh,LucideBugPlay:gh,LucideBuilding:Eo,LucideBuilding2:gt,LucideBus:wh,LucideBusFront:vh,LucideCable:Mh,LucideCableCar:bh,LucideCake:Ch,LucideCakeSlice:jh,LucideCalculator:Sh,LucideCalendar:lo,LucideCalendarArrowDown:Lh,LucideCalendarArrowUp:Nh,LucideCalendarCheck:Ah,LucideCalendarCheck2:Ih,LucideCalendarClock:Ph,LucideCalendarCog:_h,LucideCalendarDays:Cc,LucideCalendarFold:Rh,LucideCalendarHeart:Th,LucideCalendarMinus:Dh,LucideCalendarMinus2:qh,LucideCalendarOff:zh,LucideCalendarPlus:Fh,LucideCalendarPlus2:Eh,LucideCalendarRange:Oh,LucideCalendarSearch:Hh,LucideCalendarX:Bh,LucideCalendarX2:Vh,LucideCamera:Uh,LucideCameraOff:$h,LucideCandlestickChart:cn,LucideCandy:Zh,LucideCandyCane:Gh,LucideCandyOff:Wh,LucideCannabis:Jh,LucideCaptions:rn,LucideCaptionsOff:Xh,LucideCar:Qh,LucideCarFront:Yh,LucideCarTaxiFront:Kh,LucideCaravan:e0,LucideCarrot:t0,LucideCaseLower:a0,LucideCaseSensitive:r0,LucideCaseUpper:n0,LucideCassetteTape:s0,LucideCast:i0,LucideCastle:o0,LucideCat:c0,LucideCctv:l0,LucideChartArea:nn,LucideChartBar:on,LucideChartBarBig:sn,LucideChartBarDecreasing:d0,LucideChartBarIncreasing:h0,LucideChartBarStacked:u0,LucideChartCandlestick:cn,LucideChartColumn:hn,LucideChartColumnBig:ln,LucideChartColumnDecreasing:p0,LucideChartColumnIncreasing:dn,LucideChartColumnStacked:y0,LucideChartGantt:m0,LucideChartLine:un,LucideChartNetwork:f0,LucideChartNoAxesColumn:pn,LucideChartNoAxesColumnDecreasing:x0,LucideChartNoAxesColumnIncreasing:lr,LucideChartNoAxesCombined:g0,LucideChartNoAxesGantt:yn,LucideChartPie:mn,LucideChartScatter:fn,LucideChartSpline:k0,LucideCheck:Fo,LucideCheckCheck:v0,LucideCheckCircle:Ft,LucideCheckCircle2:it,LucideCheckSquare:ni,LucideCheckSquare2:si,LucideChefHat:w0,LucideCherry:b0,LucideChevronDown:mr,LucideChevronDownCircle:Cn,LucideChevronDownSquare:ii,LucideChevronFirst:M0,LucideChevronLast:j0,LucideChevronLeft:fr,LucideChevronLeftCircle:Sn,LucideChevronLeftSquare:oi,LucideChevronRight:xr,LucideChevronRightCircle:Ln,LucideChevronRightSquare:ci,LucideChevronUp:Oo,LucideChevronUpCircle:Nn,LucideChevronUpSquare:li,LucideChevronsDown:S0,LucideChevronsDownUp:C0,LucideChevronsLeft:I0,LucideChevronsLeftRight:N0,LucideChevronsLeftRightEllipsis:L0,LucideChevronsRight:P0,LucideChevronsRightLeft:A0,LucideChevronsUp:R0,LucideChevronsUpDown:_0,LucideChrome:T0,LucideChurch:q0,LucideCigarette:z0,LucideCigaretteOff:D0,LucideCircle:Z0,LucideCircleAlert:Et,LucideCircleArrowDown:xn,LucideCircleArrowLeft:gn,LucideCircleArrowOutDownLeft:kn,LucideCircleArrowOutDownRight:vn,LucideCircleArrowOutUpLeft:wn,LucideCircleArrowOutUpRight:bn,LucideCircleArrowRight:Mn,LucideCircleArrowUp:jn,LucideCircleCheck:it,LucideCircleCheckBig:Ft,LucideCircleChevronDown:Cn,LucideCircleChevronLeft:Sn,LucideCircleChevronRight:Ln,LucideCircleChevronUp:Nn,LucideCircleDashed:E0,LucideCircleDivide:In,LucideCircleDollarSign:F0,LucideCircleDot:H0,LucideCircleDotDashed:O0,LucideCircleEllipsis:V0,LucideCircleEqual:B0,LucideCircleFadingArrowUp:$0,LucideCircleFadingPlus:U0,LucideCircleGauge:An,LucideCircleHelp:dr,LucideCircleMinus:Pn,LucideCircleOff:G0,LucideCircleParking:Rn,LucideCircleParkingOff:_n,LucideCirclePause:Tn,LucideCirclePercent:qn,LucideCirclePlay:Dn,LucideCirclePlus:zn,LucideCirclePower:En,LucideCircleSlash:W0,LucideCircleSlash2:Fn,LucideCircleSlashed:Fn,LucideCircleStop:On,LucideCircleUser:Vn,LucideCircleUserRound:Hn,LucideCircleX:Sa,LucideCircuitBoard:J0,LucideCitrus:X0,LucideClapperboard:Y0,LucideClipboard:iu,LucideClipboardCheck:K0,LucideClipboardCopy:Q0,LucideClipboardEdit:$n,LucideClipboardList:eu,LucideClipboardMinus:tu,LucideClipboardPaste:au,LucideClipboardPen:$n,LucideClipboardPenLine:Bn,LucideClipboardPlus:ru,LucideClipboardSignature:Bn,LucideClipboardType:nu,LucideClipboardX:su,LucideClock:ka,LucideClock1:ou,LucideClock10:cu,LucideClock11:lu,LucideClock12:du,LucideClock2:hu,LucideClock3:uu,LucideClock4:pu,LucideClock5:yu,LucideClock6:mu,LucideClock7:fu,LucideClock8:xu,LucideClock9:gu,LucideClockAlert:ku,LucideClockArrowDown:vu,LucideClockArrowUp:wu,LucideCloud:qu,LucideCloudCog:bu,LucideCloudDownload:Un,LucideCloudDrizzle:Mu,LucideCloudFog:ju,LucideCloudHail:Cu,LucideCloudLightning:Su,LucideCloudMoon:Nu,LucideCloudMoonRain:Lu,LucideCloudOff:Iu,LucideCloudRain:Pu,LucideCloudRainWind:Au,LucideCloudSnow:_u,LucideCloudSun:Tu,LucideCloudSunRain:Ru,LucideCloudUpload:hr,LucideCloudy:Du,LucideClover:zu,LucideClub:Eu,LucideCode:Fu,LucideCode2:Gn,LucideCodeSquare:di,LucideCodeXml:Gn,LucideCodepen:Ou,LucideCodesandbox:Hu,LucideCoffee:Vu,LucideCog:Bu,LucideCoins:$u,LucideColumns:Wn,LucideColumns2:Wn,LucideColumns3:Zn,LucideColumns4:Uu,LucideCombine:Gu,LucideCommand:Wu,LucideCompass:Zu,LucideComponent:Ju,LucideComputer:Xu,LucideConciergeBell:Yu,LucideCone:Ku,LucideConstruction:Qu,LucideContact:ep,LucideContact2:Jn,LucideContactRound:Jn,LucideContainer:tp,LucideContrast:ap,LucideCookie:rp,LucideCookingPot:np,LucideCopy:dp,LucideCopyCheck:sp,LucideCopyMinus:ip,LucideCopyPlus:op,LucideCopySlash:cp,LucideCopyX:lp,LucideCopyleft:hp,LucideCopyright:up,LucideCornerDownLeft:pp,LucideCornerDownRight:yp,LucideCornerLeftDown:mp,LucideCornerLeftUp:fp,LucideCornerRightDown:xp,LucideCornerRightUp:gp,LucideCornerUpLeft:kp,LucideCornerUpRight:vp,LucideCpu:wp,LucideCreativeCommons:bp,LucideCreditCard:Sc,LucideCroissant:Mp,LucideCrop:jp,LucideCross:Cp,LucideCrosshair:Sp,LucideCrown:Lp,LucideCuboid:Np,LucideCupSoda:Ip,LucideCurlyBraces:an,LucideCurrency:Ap,LucideCylinder:Pp,LucideDam:_p,LucideDatabase:qp,LucideDatabaseBackup:Rp,LucideDatabaseZap:Tp,LucideDelete:Dp,LucideDessert:zp,LucideDiameter:Ep,LucideDiamond:Hp,LucideDiamondMinus:Fp,LucideDiamondPercent:Xn,LucideDiamondPlus:Op,LucideDice1:Vp,LucideDice2:Bp,LucideDice3:$p,LucideDice4:Up,LucideDice5:Gp,LucideDice6:Wp,LucideDices:Zp,LucideDiff:Jp,LucideDisc:Qp,LucideDisc2:Xp,LucideDisc3:Yp,LucideDiscAlbum:Kp,LucideDivide:ey,LucideDivideCircle:In,LucideDivideSquare:yi,LucideDna:ay,LucideDnaOff:ty,LucideDock:ry,LucideDog:ny,LucideDollarSign:Lc,LucideDonut:sy,LucideDoorClosed:iy,LucideDoorOpen:oy,LucideDot:cy,LucideDotSquare:mi,LucideDownload:Nc,LucideDownloadCloud:Un,LucideDraftingCompass:ly,LucideDrama:dy,LucideDribbble:hy,LucideDrill:uy,LucideDroplet:py,LucideDroplets:yy,LucideDrum:my,LucideDrumstick:fy,LucideDumbbell:xy,LucideEar:ky,LucideEarOff:gy,LucideEarth:Yn,LucideEarthLock:vy,LucideEclipse:wy,LucideEdit:qt,LucideEdit2:qs,LucideEdit3:Ts,LucideEgg:jy,LucideEggFried:by,LucideEggOff:My,LucideEllipsis:Qn,LucideEllipsisVertical:Kn,LucideEqual:Sy,LucideEqualNot:Cy,LucideEqualSquare:fi,LucideEraser:Ly,LucideEthernetPort:Ny,LucideEuro:Iy,LucideExpand:Ay,LucideExternalLink:ho,LucideEye:Ho,LucideEyeClosed:Py,LucideEyeOff:Ic,LucideFacebook:_y,LucideFactory:Ry,LucideFan:Ty,LucideFastForward:qy,LucideFeather:Dy,LucideFence:zy,LucideFerrisWheel:Ey,LucideFigma:Fy,LucideFile:qm,LucideFileArchive:Oy,LucideFileAudio:Vy,LucideFileAudio2:Hy,LucideFileAxis3D:es,LucideFileAxis3d:es,LucideFileBadge:$y,LucideFileBadge2:By,LucideFileBarChart:ts,LucideFileBarChart2:as,LucideFileBox:Uy,LucideFileChartColumn:as,LucideFileChartColumnIncreasing:ts,LucideFileChartLine:rs,LucideFileChartPie:ns,LucideFileCheck:Wy,LucideFileCheck2:Gy,LucideFileClock:Zy,LucideFileCode:Xy,LucideFileCode2:Jy,LucideFileCog:ss,LucideFileCog2:ss,LucideFileDiff:Yy,LucideFileDigit:Ky,LucideFileDown:Qy,LucideFileEdit:os,LucideFileHeart:em,LucideFileImage:tm,LucideFileInput:am,LucideFileJson:nm,LucideFileJson2:rm,LucideFileKey:im,LucideFileKey2:sm,LucideFileLineChart:rs,LucideFileLock:cm,LucideFileLock2:om,LucideFileMinus:dm,LucideFileMinus2:lm,LucideFileMusic:hm,LucideFileOutput:um,LucideFilePen:os,LucideFilePenLine:is,LucideFilePieChart:ns,LucideFilePlus:ym,LucideFilePlus2:pm,LucideFileQuestion:mm,LucideFileScan:fm,LucideFileSearch:gm,LucideFileSearch2:xm,LucideFileSignature:is,LucideFileSliders:km,LucideFileSpreadsheet:vm,LucideFileStack:wm,LucideFileSymlink:bm,LucideFileTerminal:Mm,LucideFileText:Vo,LucideFileType:Cm,LucideFileType2:jm,LucideFileUp:Sm,LucideFileUser:Lm,LucideFileVideo:Im,LucideFileVideo2:Nm,LucideFileVolume:Pm,LucideFileVolume2:Am,LucideFileWarning:_m,LucideFileX:Tm,LucideFileX2:Rm,LucideFiles:Dm,LucideFilm:zm,LucideFilter:gr,LucideFilterX:Em,LucideFingerprint:Fm,LucideFireExtinguisher:Om,LucideFish:Bm,LucideFishOff:Hm,LucideFishSymbol:Vm,LucideFlag:Ac,LucideFlagOff:$m,LucideFlagTriangleLeft:Um,LucideFlagTriangleRight:Gm,LucideFlame:Zm,LucideFlameKindling:Wm,LucideFlashlight:Xm,LucideFlashlightOff:Jm,LucideFlaskConical:Km,LucideFlaskConicalOff:Ym,LucideFlaskRound:Qm,LucideFlipHorizontal:tf,LucideFlipHorizontal2:ef,LucideFlipVertical:rf,LucideFlipVertical2:af,LucideFlower:sf,LucideFlower2:nf,LucideFocus:of,LucideFoldHorizontal:cf,LucideFoldVertical:lf,LucideFolder:zf,LucideFolderArchive:df,LucideFolderCheck:hf,LucideFolderClock:uf,LucideFolderClosed:pf,LucideFolderCode:yf,LucideFolderCog:cs,LucideFolderCog2:cs,LucideFolderDot:mf,LucideFolderDown:ff,LucideFolderEdit:ls,LucideFolderGit:gf,LucideFolderGit2:xf,LucideFolderHeart:kf,LucideFolderInput:vf,LucideFolderKanban:wf,LucideFolderKey:bf,LucideFolderLock:Mf,LucideFolderMinus:jf,LucideFolderOpen:Sf,LucideFolderOpenDot:Cf,LucideFolderOutput:Lf,LucideFolderPen:ls,LucideFolderPlus:Nf,LucideFolderRoot:If,LucideFolderSearch:Pf,LucideFolderSearch2:Af,LucideFolderSymlink:_f,LucideFolderSync:Rf,LucideFolderTree:Tf,LucideFolderUp:qf,LucideFolderX:Df,LucideFolders:Ef,LucideFootprints:Ff,LucideForkKnife:ao,LucideForkKnifeCrossed:to,LucideForklift:Of,LucideFormInput:zs,LucideForward:Hf,LucideFrame:Vf,LucideFramer:Bf,LucideFrown:$f,LucideFuel:Uf,LucideFullscreen:Gf,LucideFunctionSquare:xi,LucideGalleryHorizontal:Zf,LucideGalleryHorizontalEnd:Wf,LucideGalleryThumbnails:Jf,LucideGalleryVertical:Yf,LucideGalleryVerticalEnd:Xf,LucideGamepad:Kf,LucideGamepad2:Pc,LucideGanttChart:yn,LucideGanttChartSquare:ja,LucideGauge:Qf,LucideGaugeCircle:An,LucideGavel:ex,LucideGem:tx,LucideGhost:ax,LucideGift:rx,LucideGitBranch:sx,LucideGitBranchPlus:nx,LucideGitCommit:ds,LucideGitCommitHorizontal:ds,LucideGitCommitVertical:ix,LucideGitCompare:cx,LucideGitCompareArrows:ox,LucideGitFork:lx,LucideGitGraph:dx,LucideGitMerge:hx,LucideGitPullRequest:xx,LucideGitPullRequestArrow:ux,LucideGitPullRequestClosed:px,LucideGitPullRequestCreate:mx,LucideGitPullRequestCreateArrow:yx,LucideGitPullRequestDraft:fx,LucideGithub:gx,LucideGitlab:kx,LucideGlassWater:vx,LucideGlasses:wx,LucideGlobe:na,LucideGlobe2:Yn,LucideGlobeLock:bx,LucideGoal:Mx,LucideGrab:jx,LucideGraduationCap:kr,LucideGrape:Cx,LucideGrid:pa,LucideGrid2X2:hs,LucideGrid2x2:hs,LucideGrid2x2Check:Sx,LucideGrid2x2Plus:Lx,LucideGrid2x2X:Nx,LucideGrid3X3:pa,LucideGrid3x3:pa,LucideGrip:Px,LucideGripHorizontal:Ix,LucideGripVertical:Ax,LucideGroup:_x,LucideGuitar:Rx,LucideHam:Tx,LucideHammer:qx,LucideHand:Ox,LucideHandCoins:Dx,LucideHandHeart:zx,LucideHandHelping:us,LucideHandMetal:Ex,LucideHandPlatter:Fx,LucideHandshake:Hx,LucideHardDrive:$x,LucideHardDriveDownload:Vx,LucideHardDriveUpload:Bx,LucideHardHat:Ux,LucideHash:Gx,LucideHaze:Wx,LucideHdmiPort:Zx,LucideHeading:tg,LucideHeading1:Jx,LucideHeading2:Xx,LucideHeading3:Yx,LucideHeading4:Kx,LucideHeading5:Qx,LucideHeading6:eg,LucideHeadphoneOff:ag,LucideHeadphones:rg,LucideHeadset:ng,LucideHeart:vr,LucideHeartCrack:sg,LucideHeartHandshake:ig,LucideHeartOff:og,LucideHeartPulse:cg,LucideHeater:lg,LucideHelpCircle:dr,LucideHelpingHand:us,LucideHexagon:dg,LucideHighlighter:hg,LucideHistory:ug,LucideHome:Ua,LucideHop:yg,LucideHopOff:pg,LucideHospital:mg,LucideHotel:fg,LucideHourglass:xg,LucideHouse:Ua,LucideHousePlug:gg,LucideHousePlus:kg,LucideIceCream:ys,LucideIceCream2:ps,LucideIceCreamBowl:ps,LucideIceCreamCone:ys,LucideIdCard:vg,LucideImage:Lg,LucideImageDown:wg,LucideImageMinus:bg,LucideImageOff:Mg,LucideImagePlay:jg,LucideImagePlus:Cg,LucideImageUp:Sg,LucideImages:Ng,LucideImport:Ig,LucideInbox:Ag,LucideIndent:fs,LucideIndentDecrease:ms,LucideIndentIncrease:fs,LucideIndianRupee:Pg,LucideInfinity:_g,LucideInfo:Rg,LucideInspect:Mi,LucideInspectionPanel:Tg,LucideInstagram:qg,LucideItalic:Dg,LucideIterationCcw:zg,LucideIterationCw:Eg,LucideJapaneseYen:Fg,LucideJoystick:Og,LucideKanban:Hg,LucideKanbanSquare:gi,LucideKanbanSquareDashed:hi,LucideKey:$g,LucideKeyRound:Vg,LucideKeySquare:Bg,LucideKeyboard:Wg,LucideKeyboardMusic:Ug,LucideKeyboardOff:Gg,LucideLamp:Qg,LucideLampCeiling:Zg,LucideLampDesk:Jg,LucideLampFloor:Xg,LucideLampWallDown:Yg,LucideLampWallUp:Kg,LucideLandPlot:e4,LucideLandmark:t4,LucideLanguages:_c,LucideLaptop:a4,LucideLaptop2:xs,LucideLaptopMinimal:xs,LucideLasso:n4,LucideLassoSelect:r4,LucideLaugh:s4,LucideLayers:c4,LucideLayers2:i4,LucideLayers3:o4,LucideLayout:Rs,LucideLayoutDashboard:Rc,LucideLayoutGrid:l4,LucideLayoutList:d4,LucideLayoutPanelLeft:h4,LucideLayoutPanelTop:u4,LucideLayoutTemplate:p4,LucideLeaf:y4,LucideLeafyGreen:m4,LucideLectern:f4,LucideLetterText:x4,LucideLibrary:k4,LucideLibraryBig:g4,LucideLibrarySquare:ki,LucideLifeBuoy:v4,LucideLigature:w4,LucideLightbulb:M4,LucideLightbulbOff:b4,LucideLineChart:un,LucideLink:Tc,LucideLink2:C4,LucideLink2Off:j4,LucideLinkedin:qc,LucideList:Dc,LucideListCheck:S4,LucideListChecks:L4,LucideListCollapse:N4,LucideListEnd:I4,LucideListFilter:A4,LucideListMinus:P4,LucideListMusic:_4,LucideListOrdered:R4,LucideListPlus:T4,LucideListRestart:q4,LucideListStart:D4,LucideListTodo:z4,LucideListTree:E4,LucideListVideo:F4,LucideListX:O4,LucideLoader:V4,LucideLoader2:ma,LucideLoaderCircle:ma,LucideLoaderPinwheel:H4,LucideLocate:U4,LucideLocateFixed:B4,LucideLocateOff:$4,LucideLock:uo,LucideLockKeyhole:G4,LucideLockKeyholeOpen:gs,LucideLockOpen:ks,LucideLogIn:W4,LucideLogOut:zc,LucideLogs:Z4,LucideLollipop:J4,LucideLuggage:X4,LucideMSquare:vi,LucideMagnet:Y4,LucideMail:sa,LucideMailCheck:K4,LucideMailMinus:Q4,LucideMailOpen:ek,LucideMailPlus:tk,LucideMailQuestion:ak,LucideMailSearch:rk,LucideMailWarning:nk,LucideMailX:sk,LucideMailbox:ik,LucideMails:ok,LucideMap:kk,LucideMapPin:ct,LucideMapPinCheck:lk,LucideMapPinCheckInside:ck,LucideMapPinHouse:dk,LucideMapPinMinus:uk,LucideMapPinMinusInside:hk,LucideMapPinOff:pk,LucideMapPinPlus:mk,LucideMapPinPlusInside:yk,LucideMapPinX:xk,LucideMapPinXInside:fk,LucideMapPinned:gk,LucideMartini:vk,LucideMaximize:bk,LucideMaximize2:wk,LucideMedal:Mk,LucideMegaphone:Ck,LucideMegaphoneOff:jk,LucideMeh:Sk,LucideMemoryStick:Lk,LucideMenu:Bo,LucideMenuSquare:wi,LucideMerge:Nk,LucideMessageCircle:Fk,LucideMessageCircleCode:Ik,LucideMessageCircleDashed:Ak,LucideMessageCircleHeart:Pk,LucideMessageCircleMore:_k,LucideMessageCircleOff:Rk,LucideMessageCirclePlus:Tk,LucideMessageCircleQuestion:qk,LucideMessageCircleReply:Dk,LucideMessageCircleWarning:zk,LucideMessageCircleX:Ek,LucideMessageSquare:wr,LucideMessageSquareCode:Ok,LucideMessageSquareDashed:Hk,LucideMessageSquareDiff:Vk,LucideMessageSquareDot:Bk,LucideMessageSquareHeart:$k,LucideMessageSquareLock:Uk,LucideMessageSquareMore:Gk,LucideMessageSquareOff:Wk,LucideMessageSquarePlus:Zk,LucideMessageSquareQuote:Jk,LucideMessageSquareReply:Xk,LucideMessageSquareShare:Yk,LucideMessageSquareText:Kk,LucideMessageSquareWarning:Qk,LucideMessageSquareX:e5,LucideMessagesSquare:t5,LucideMic:r5,LucideMic2:vs,LucideMicOff:a5,LucideMicVocal:vs,LucideMicrochip:n5,LucideMicroscope:s5,LucideMicrowave:i5,LucideMilestone:o5,LucideMilk:l5,LucideMilkOff:c5,LucideMinimize:h5,LucideMinimize2:d5,LucideMinus:Ec,LucideMinusCircle:Pn,LucideMinusSquare:bi,LucideMonitor:j5,LucideMonitorCheck:u5,LucideMonitorCog:p5,LucideMonitorDot:y5,LucideMonitorDown:m5,LucideMonitorOff:f5,LucideMonitorPause:x5,LucideMonitorPlay:g5,LucideMonitorSmartphone:k5,LucideMonitorSpeaker:v5,LucideMonitorStop:w5,LucideMonitorUp:b5,LucideMonitorX:M5,LucideMoon:S5,LucideMoonStar:C5,LucideMoreHorizontal:Qn,LucideMoreVertical:Kn,LucideMountain:N5,LucideMountainSnow:L5,LucideMouse:T5,LucideMouseOff:I5,LucideMousePointer:R5,LucideMousePointer2:A5,LucideMousePointerBan:P5,LucideMousePointerClick:_5,LucideMousePointerSquareDashed:ui,LucideMove:W5,LucideMove3D:ws,LucideMove3d:ws,LucideMoveDiagonal:D5,LucideMoveDiagonal2:q5,LucideMoveDown:F5,LucideMoveDownLeft:z5,LucideMoveDownRight:E5,LucideMoveHorizontal:O5,LucideMoveLeft:H5,LucideMoveRight:V5,LucideMoveUp:U5,LucideMoveUpLeft:B5,LucideMoveUpRight:$5,LucideMoveVertical:G5,LucideMusic:Y5,LucideMusic2:Z5,LucideMusic3:J5,LucideMusic4:X5,LucideNavigation:tv,LucideNavigation2:Q5,LucideNavigation2Off:K5,LucideNavigationOff:ev,LucideNetwork:av,LucideNewspaper:_a,LucideNfc:rv,LucideNotebook:ov,LucideNotebookPen:nv,LucideNotebookTabs:sv,LucideNotebookText:iv,LucideNotepadText:lv,LucideNotepadTextDashed:cv,LucideNut:hv,LucideNutOff:dv,LucideOctagon:pv,LucideOctagonAlert:bs,LucideOctagonMinus:uv,LucideOctagonPause:Ms,LucideOctagonX:js,LucideOmega:yv,LucideOption:mv,LucideOrbit:fv,LucideOrigami:xv,LucideOutdent:ms,LucidePackage:Fc,LucidePackage2:gv,LucidePackageCheck:kv,LucidePackageMinus:vv,LucidePackageOpen:wv,LucidePackagePlus:bv,LucidePackageSearch:Mv,LucidePackageX:jv,LucidePaintBucket:Cv,LucidePaintRoller:Sv,LucidePaintbrush:Lv,LucidePaintbrush2:Cs,LucidePaintbrushVertical:Cs,LucidePalette:Nv,LucidePalmtree:$i,LucidePanelBottom:Pv,LucidePanelBottomClose:Iv,LucidePanelBottomDashed:Ss,LucidePanelBottomInactive:Ss,LucidePanelBottomOpen:Av,LucidePanelLeft:As,LucidePanelLeftClose:Ls,LucidePanelLeftDashed:Ns,LucidePanelLeftInactive:Ns,LucidePanelLeftOpen:Is,LucidePanelRight:Tv,LucidePanelRightClose:_v,LucidePanelRightDashed:Ps,LucidePanelRightInactive:Ps,LucidePanelRightOpen:Rv,LucidePanelTop:zv,LucidePanelTopClose:qv,LucidePanelTopDashed:_s,LucidePanelTopInactive:_s,LucidePanelTopOpen:Dv,LucidePanelsLeftBottom:Ev,LucidePanelsLeftRight:Zn,LucidePanelsRightBottom:Fv,LucidePanelsTopBottom:Os,LucidePanelsTopLeft:Rs,LucidePaperclip:Ov,LucideParentheses:Hv,LucideParkingCircle:Rn,LucideParkingCircleOff:_n,LucideParkingMeter:Vv,LucideParkingSquare:Ci,LucideParkingSquareOff:ji,LucidePartyPopper:Bv,LucidePause:$v,LucidePauseCircle:Tn,LucidePauseOctagon:Ms,LucidePawPrint:Uv,LucidePcCase:Gv,LucidePen:qs,LucidePenBox:qt,LucidePenLine:Ts,LucidePenOff:Wv,LucidePenSquare:qt,LucidePenTool:Zv,LucidePencil:Kv,LucidePencilLine:Jv,LucidePencilOff:Xv,LucidePencilRuler:Yv,LucidePentagon:Qv,LucidePercent:e3,LucidePercentCircle:qn,LucidePercentDiamond:Xn,LucidePercentSquare:Si,LucidePersonStanding:t3,LucidePhilippinePeso:a3,LucidePhone:br,LucidePhoneCall:r3,LucidePhoneForwarded:n3,LucidePhoneIncoming:s3,LucidePhoneMissed:i3,LucidePhoneOff:o3,LucidePhoneOutgoing:c3,LucidePi:l3,LucidePiSquare:Li,LucidePiano:d3,LucidePickaxe:h3,LucidePictureInPicture:p3,LucidePictureInPicture2:u3,LucidePieChart:mn,LucidePiggyBank:y3,LucidePilcrow:x3,LucidePilcrowLeft:m3,LucidePilcrowRight:f3,LucidePilcrowSquare:Ni,LucidePill:k3,LucidePillBottle:g3,LucidePin:w3,LucidePinOff:v3,LucidePipette:b3,LucidePizza:M3,LucidePlane:S3,LucidePlaneLanding:j3,LucidePlaneTakeoff:C3,LucidePlay:Oc,LucidePlayCircle:Dn,LucidePlaySquare:Ii,LucidePlug:N3,LucidePlug2:L3,LucidePlugZap:Ds,LucidePlugZap2:Ds,LucidePlus:$o,LucidePlusCircle:zn,LucidePlusSquare:Ai,LucidePocket:A3,LucidePocketKnife:I3,LucidePodcast:P3,LucidePointer:R3,LucidePointerOff:_3,LucidePopcorn:T3,LucidePopsicle:q3,LucidePoundSterling:D3,LucidePower:E3,LucidePowerCircle:En,LucidePowerOff:z3,LucidePowerSquare:Pi,LucidePresentation:F3,LucidePrinter:H3,LucidePrinterCheck:O3,LucideProjector:V3,LucideProportions:B3,LucidePuzzle:$3,LucidePyramid:U3,LucideQrCode:G3,LucideQuote:Uo,LucideRabbit:W3,LucideRadar:Z3,LucideRadiation:J3,LucideRadical:X3,LucideRadio:Q3,LucideRadioReceiver:Y3,LucideRadioTower:K3,LucideRadius:e6,LucideRailSymbol:t6,LucideRainbow:a6,LucideRat:r6,LucideRatio:n6,LucideReceipt:p6,LucideReceiptCent:s6,LucideReceiptEuro:i6,LucideReceiptIndianRupee:o6,LucideReceiptJapaneseYen:c6,LucideReceiptPoundSterling:l6,LucideReceiptRussianRuble:d6,LucideReceiptSwissFranc:h6,LucideReceiptText:u6,LucideRectangleEllipsis:zs,LucideRectangleHorizontal:y6,LucideRectangleVertical:m6,LucideRecycle:f6,LucideRedo:k6,LucideRedo2:x6,LucideRedoDot:g6,LucideRefreshCcw:w6,LucideRefreshCcwDot:v6,LucideRefreshCw:M6,LucideRefreshCwOff:b6,LucideRefrigerator:j6,LucideRegex:C6,LucideRemoveFormatting:S6,LucideRepeat:I6,LucideRepeat1:L6,LucideRepeat2:N6,LucideReplace:P6,LucideReplaceAll:A6,LucideReply:R6,LucideReplyAll:_6,LucideRewind:T6,LucideRibbon:q6,LucideRocket:D6,LucideRockingChair:z6,LucideRollerCoaster:E6,LucideRotate3D:Es,LucideRotate3d:Es,LucideRotateCcw:O6,LucideRotateCcwSquare:F6,LucideRotateCw:V6,LucideRotateCwSquare:H6,LucideRoute:$6,LucideRouteOff:B6,LucideRouter:U6,LucideRows:Fs,LucideRows2:Fs,LucideRows3:Os,LucideRows4:G6,LucideRss:W6,LucideRuler:Z6,LucideRussianRuble:J6,LucideSailboat:X6,LucideSalad:Y6,LucideSandwich:K6,LucideSatellite:e8,LucideSatelliteDish:Q6,LucideSave:r8,LucideSaveAll:t8,LucideSaveOff:a8,LucideScale:n8,LucideScale3D:Hs,LucideScale3d:Hs,LucideScaling:s8,LucideScan:p8,LucideScanBarcode:i8,LucideScanEye:o8,LucideScanFace:c8,LucideScanLine:l8,LucideScanQrCode:d8,LucideScanSearch:h8,LucideScanText:u8,LucideScatterChart:fn,LucideSchool:y8,LucideSchool2:Wi,LucideScissors:f8,LucideScissorsLineDashed:m8,LucideScissorsSquare:_i,LucideScissorsSquareDashedBottom:ri,LucideScreenShare:g8,LucideScreenShareOff:x8,LucideScroll:v8,LucideScrollText:k8,LucideSearch:$t,LucideSearchCheck:w8,LucideSearchCode:b8,LucideSearchSlash:M8,LucideSearchX:j8,LucideSection:C8,LucideSend:Hc,LucideSendHorizonal:Vs,LucideSendHorizontal:Vs,LucideSendToBack:S8,LucideSeparatorHorizontal:L8,LucideSeparatorVertical:N8,LucideServer:_8,LucideServerCog:I8,LucideServerCrash:A8,LucideServerOff:P8,LucideSettings:Go,LucideSettings2:R8,LucideShapes:T8,LucideShare:q8,LucideShare2:po,LucideSheet:D8,LucideShell:z8,LucideShield:Mr,LucideShieldAlert:E8,LucideShieldBan:F8,LucideShieldCheck:Vc,LucideShieldClose:Bs,LucideShieldEllipsis:O8,LucideShieldHalf:H8,LucideShieldMinus:V8,LucideShieldOff:B8,LucideShieldPlus:$8,LucideShieldQuestion:U8,LucideShieldX:Bs,LucideShip:W8,LucideShipWheel:G8,LucideShirt:Z8,LucideShoppingBag:J8,LucideShoppingBasket:X8,LucideShoppingCart:Wo,LucideShovel:Y8,LucideShowerHead:K8,LucideShrink:Q8,LucideShrub:ew,LucideShuffle:tw,LucideSidebar:As,LucideSidebarClose:Ls,LucideSidebarOpen:Is,LucideSigma:aw,LucideSigmaSquare:Ri,LucideSignal:Bc,LucideSignalHigh:rw,LucideSignalLow:nw,LucideSignalMedium:sw,LucideSignalZero:iw,LucideSignature:ow,LucideSignpost:lw,LucideSignpostBig:cw,LucideSiren:dw,LucideSkipBack:hw,LucideSkipForward:uw,LucideSkull:pw,LucideSlack:yw,LucideSlash:mw,LucideSlashSquare:Ti,LucideSlice:fw,LucideSliders:$s,LucideSlidersHorizontal:jr,LucideSlidersVertical:$s,LucideSmartphone:kw,LucideSmartphoneCharging:xw,LucideSmartphoneNfc:gw,LucideSmile:ww,LucideSmilePlus:vw,LucideSnail:bw,LucideSnowflake:Mw,LucideSofa:jw,LucideSortAsc:Jr,LucideSortDesc:Gr,LucideSoup:Cw,LucideSpace:Sw,LucideSpade:Lw,LucideSparkle:Nw,LucideSparkles:La,LucideSpeaker:Iw,LucideSpeech:Aw,LucideSpellCheck:_w,LucideSpellCheck2:Pw,LucideSpline:Rw,LucideSplit:Tw,LucideSplitSquareHorizontal:qi,LucideSplitSquareVertical:Di,LucideSprayCan:qw,LucideSprout:Dw,LucideSquare:Vw,LucideSquareActivity:Us,LucideSquareArrowDown:Zs,LucideSquareArrowDownLeft:Gs,LucideSquareArrowDownRight:Ws,LucideSquareArrowLeft:Ga,LucideSquareArrowOutDownLeft:Js,LucideSquareArrowOutDownRight:Xs,LucideSquareArrowOutUpLeft:Ys,LucideSquareArrowOutUpRight:Ks,LucideSquareArrowRight:Wa,LucideSquareArrowUp:ti,LucideSquareArrowUpLeft:Qs,LucideSquareArrowUpRight:ei,LucideSquareAsterisk:ai,LucideSquareBottomDashedScissors:ri,LucideSquareChartGantt:ja,LucideSquareCheck:si,LucideSquareCheckBig:ni,LucideSquareChevronDown:ii,LucideSquareChevronLeft:oi,LucideSquareChevronRight:ci,LucideSquareChevronUp:li,LucideSquareCode:di,LucideSquareDashed:pi,LucideSquareDashedBottom:Ew,LucideSquareDashedBottomCode:zw,LucideSquareDashedKanban:hi,LucideSquareDashedMousePointer:ui,LucideSquareDivide:yi,LucideSquareDot:mi,LucideSquareEqual:fi,LucideSquareFunction:xi,LucideSquareGanttChart:ja,LucideSquareKanban:gi,LucideSquareLibrary:ki,LucideSquareM:vi,LucideSquareMenu:wi,LucideSquareMinus:bi,LucideSquareMousePointer:Mi,LucideSquareParking:Ci,LucideSquareParkingOff:ji,LucideSquarePen:qt,LucideSquarePercent:Si,LucideSquarePi:Li,LucideSquarePilcrow:Ni,LucideSquarePlay:Ii,LucideSquarePlus:Ai,LucideSquarePower:Pi,LucideSquareRadical:Fw,LucideSquareScissors:_i,LucideSquareSigma:Ri,LucideSquareSlash:Ti,LucideSquareSplitHorizontal:qi,LucideSquareSplitVertical:Di,LucideSquareSquare:Ow,LucideSquareStack:Hw,LucideSquareTerminal:zi,LucideSquareUser:Fi,LucideSquareUserRound:Ei,LucideSquareX:Oi,LucideSquircle:Bw,LucideSquirrel:$w,LucideStamp:Uw,LucideStar:Lt,LucideStarHalf:Gw,LucideStarOff:Ww,LucideStars:La,LucideStepBack:Zw,LucideStepForward:Jw,LucideStethoscope:Xw,LucideSticker:Yw,LucideStickyNote:Kw,LucideStopCircle:On,LucideStore:Qw,LucideStretchHorizontal:e7,LucideStretchVertical:t7,LucideStrikethrough:a7,LucideSubscript:r7,LucideSubtitles:rn,LucideSun:c7,LucideSunDim:n7,LucideSunMedium:s7,LucideSunMoon:i7,LucideSunSnow:o7,LucideSunrise:l7,LucideSunset:d7,LucideSuperscript:h7,LucideSwatchBook:u7,LucideSwissFranc:p7,LucideSwitchCamera:y7,LucideSword:m7,LucideSwords:f7,LucideSyringe:x7,LucideTable:C7,LucideTable2:g7,LucideTableCellsMerge:k7,LucideTableCellsSplit:v7,LucideTableColumnsSplit:w7,LucideTableOfContents:b7,LucideTableProperties:M7,LucideTableRowsSplit:j7,LucideTablet:L7,LucideTabletSmartphone:S7,LucideTablets:N7,LucideTag:$c,LucideTags:I7,LucideTally1:A7,LucideTally2:P7,LucideTally3:_7,LucideTally4:R7,LucideTally5:T7,LucideTangent:q7,LucideTarget:D7,LucideTelescope:z7,LucideTent:F7,LucideTentTree:E7,LucideTerminal:O7,LucideTerminalSquare:zi,LucideTestTube:H7,LucideTestTube2:Hi,LucideTestTubeDiagonal:Hi,LucideTestTubes:V7,LucideText:W7,LucideTextCursor:$7,LucideTextCursorInput:B7,LucideTextQuote:U7,LucideTextSearch:G7,LucideTextSelect:Vi,LucideTextSelection:Vi,LucideTheater:Z7,LucideThermometer:Y7,LucideThermometerSnowflake:J7,LucideThermometerSun:X7,LucideThumbsDown:K7,LucideThumbsUp:Q7,LucideTicket:ib,LucideTicketCheck:eb,LucideTicketMinus:tb,LucideTicketPercent:ab,LucideTicketPlus:rb,LucideTicketSlash:nb,LucideTicketX:sb,LucideTickets:cb,LucideTicketsPlane:ob,LucideTimer:hb,LucideTimerOff:lb,LucideTimerReset:db,LucideToggleLeft:ub,LucideToggleRight:pb,LucideTornado:yb,LucideTorus:mb,LucideTouchpad:xb,LucideTouchpadOff:fb,LucideTowerControl:gb,LucideToyBrick:kb,LucideTractor:vb,LucideTrafficCone:wb,LucideTrain:Bi,LucideTrainFront:Mb,LucideTrainFrontTunnel:bb,LucideTrainTrack:jb,LucideTramFront:Bi,LucideTrash:Cb,LucideTrash2:Zo,LucideTreeDeciduous:Sb,LucideTreePalm:$i,LucideTreePine:Lb,LucideTrees:Nb,LucideTrello:Ib,LucideTrendingDown:Ab,LucideTrendingUp:Ra,LucideTrendingUpDown:Pb,LucideTriangle:Rb,LucideTriangleAlert:Ui,LucideTriangleRight:_b,LucideTrophy:Tb,LucideTruck:qb,LucideTurtle:Db,LucideTv:Eb,LucideTv2:Gi,LucideTvMinimal:Gi,LucideTvMinimalPlay:zb,LucideTwitch:Fb,LucideTwitter:Ob,LucideType:Vb,LucideTypeOutline:Hb,LucideUmbrella:$b,LucideUmbrellaOff:Bb,LucideUnderline:Ub,LucideUndo:Zb,LucideUndo2:Gb,LucideUndoDot:Wb,LucideUnfoldHorizontal:Jb,LucideUnfoldVertical:Xb,LucideUngroup:Yb,LucideUniversity:Wi,LucideUnlink:Qb,LucideUnlink2:Kb,LucideUnlock:ks,LucideUnlockKeyhole:gs,LucideUnplug:eM,LucideUpload:Uc,LucideUploadCloud:hr,LucideUsb:tM,LucideUser:Jo,LucideUser2:Qi,LucideUserCheck:Gc,LucideUserCheck2:Zi,LucideUserCircle:Vn,LucideUserCircle2:Hn,LucideUserCog:aM,LucideUserCog2:Ji,LucideUserMinus:rM,LucideUserMinus2:Xi,LucideUserPen:nM,LucideUserPlus:sM,LucideUserPlus2:Yi,LucideUserRound:Qi,LucideUserRoundCheck:Zi,LucideUserRoundCog:Ji,LucideUserRoundMinus:Xi,LucideUserRoundPen:iM,LucideUserRoundPlus:Yi,LucideUserRoundSearch:oM,LucideUserRoundX:Ki,LucideUserSearch:cM,LucideUserSquare:Fi,LucideUserSquare2:Ei,LucideUserX:lM,LucideUserX2:Ki,LucideUsers:Nt,LucideUsers2:eo,LucideUsersRound:eo,LucideUtensils:ao,LucideUtensilsCrossed:to,LucideUtilityPole:dM,LucideVariable:hM,LucideVault:uM,LucideVegan:pM,LucideVenetianMask:yM,LucideVerified:Kr,LucideVibrate:fM,LucideVibrateOff:mM,LucideVideo:gM,LucideVideoOff:xM,LucideVideotape:kM,LucideView:vM,LucideVoicemail:wM,LucideVolleyball:bM,LucideVolume:LM,LucideVolume1:MM,LucideVolume2:jM,LucideVolumeOff:CM,LucideVolumeX:SM,LucideVote:NM,LucideWallet:AM,LucideWallet2:ro,LucideWalletCards:IM,LucideWalletMinimal:ro,LucideWallpaper:PM,LucideWand:_M,LucideWand2:no,LucideWandSparkles:no,LucideWarehouse:RM,LucideWashingMachine:TM,LucideWatch:qM,LucideWaves:DM,LucideWaypoints:zM,LucideWebcam:EM,LucideWebhook:OM,LucideWebhookOff:FM,LucideWeight:HM,LucideWheat:BM,LucideWheatOff:VM,LucideWholeWord:$M,LucideWifi:JM,LucideWifiHigh:UM,LucideWifiLow:GM,LucideWifiOff:WM,LucideWifiZero:ZM,LucideWind:XM,LucideWine:KM,LucideWineOff:YM,LucideWorkflow:QM,LucideWorm:e9,LucideWrapText:t9,LucideWrench:a9,LucideX:Ct,LucideXCircle:Sa,LucideXOctagon:js,LucideXSquare:Oi,LucideYoutube:r9,LucideZap:Wc,LucideZapOff:n9,LucideZoomIn:s9,LucideZoomOut:i9,Luggage:X4,LuggageIcon:X4,MSquare:vi,MSquareIcon:vi,Magnet:Y4,MagnetIcon:Y4,Mail:sa,MailCheck:K4,MailCheckIcon:K4,MailIcon:sa,MailMinus:Q4,MailMinusIcon:Q4,MailOpen:ek,MailOpenIcon:ek,MailPlus:tk,MailPlusIcon:tk,MailQuestion:ak,MailQuestionIcon:ak,MailSearch:rk,MailSearchIcon:rk,MailWarning:nk,MailWarningIcon:nk,MailX:sk,MailXIcon:sk,Mailbox:ik,MailboxIcon:ik,Mails:ok,MailsIcon:ok,Map:kk,MapIcon:kk,MapPin:ct,MapPinCheck:lk,MapPinCheckIcon:lk,MapPinCheckInside:ck,MapPinCheckInsideIcon:ck,MapPinHouse:dk,MapPinHouseIcon:dk,MapPinIcon:ct,MapPinMinus:uk,MapPinMinusIcon:uk,MapPinMinusInside:hk,MapPinMinusInsideIcon:hk,MapPinOff:pk,MapPinOffIcon:pk,MapPinPlus:mk,MapPinPlusIcon:mk,MapPinPlusInside:yk,MapPinPlusInsideIcon:yk,MapPinX:xk,MapPinXIcon:xk,MapPinXInside:fk,MapPinXInsideIcon:fk,MapPinned:gk,MapPinnedIcon:gk,Martini:vk,MartiniIcon:vk,Maximize:bk,Maximize2:wk,Maximize2Icon:wk,MaximizeIcon:bk,Medal:Mk,MedalIcon:Mk,Megaphone:Ck,MegaphoneIcon:Ck,MegaphoneOff:jk,MegaphoneOffIcon:jk,Meh:Sk,MehIcon:Sk,MemoryStick:Lk,MemoryStickIcon:Lk,Menu:Bo,MenuIcon:Bo,MenuSquare:wi,MenuSquareIcon:wi,Merge:Nk,MergeIcon:Nk,MessageCircle:Fk,MessageCircleCode:Ik,MessageCircleCodeIcon:Ik,MessageCircleDashed:Ak,MessageCircleDashedIcon:Ak,MessageCircleHeart:Pk,MessageCircleHeartIcon:Pk,MessageCircleIcon:Fk,MessageCircleMore:_k,MessageCircleMoreIcon:_k,MessageCircleOff:Rk,MessageCircleOffIcon:Rk,MessageCirclePlus:Tk,MessageCirclePlusIcon:Tk,MessageCircleQuestion:qk,MessageCircleQuestionIcon:qk,MessageCircleReply:Dk,MessageCircleReplyIcon:Dk,MessageCircleWarning:zk,MessageCircleWarningIcon:zk,MessageCircleX:Ek,MessageCircleXIcon:Ek,MessageSquare:wr,MessageSquareCode:Ok,MessageSquareCodeIcon:Ok,MessageSquareDashed:Hk,MessageSquareDashedIcon:Hk,MessageSquareDiff:Vk,MessageSquareDiffIcon:Vk,MessageSquareDot:Bk,MessageSquareDotIcon:Bk,MessageSquareHeart:$k,MessageSquareHeartIcon:$k,MessageSquareIcon:wr,MessageSquareLock:Uk,MessageSquareLockIcon:Uk,MessageSquareMore:Gk,MessageSquareMoreIcon:Gk,MessageSquareOff:Wk,MessageSquareOffIcon:Wk,MessageSquarePlus:Zk,MessageSquarePlusIcon:Zk,MessageSquareQuote:Jk,MessageSquareQuoteIcon:Jk,MessageSquareReply:Xk,MessageSquareReplyIcon:Xk,MessageSquareShare:Yk,MessageSquareShareIcon:Yk,MessageSquareText:Kk,MessageSquareTextIcon:Kk,MessageSquareWarning:Qk,MessageSquareWarningIcon:Qk,MessageSquareX:e5,MessageSquareXIcon:e5,MessagesSquare:t5,MessagesSquareIcon:t5,Mic:r5,Mic2:vs,Mic2Icon:vs,MicIcon:r5,MicOff:a5,MicOffIcon:a5,MicVocal:vs,MicVocalIcon:vs,Microchip:n5,MicrochipIcon:n5,Microscope:s5,MicroscopeIcon:s5,Microwave:i5,MicrowaveIcon:i5,Milestone:o5,MilestoneIcon:o5,Milk:l5,MilkIcon:l5,MilkOff:c5,MilkOffIcon:c5,Minimize:h5,Minimize2:d5,Minimize2Icon:d5,MinimizeIcon:h5,Minus:Ec,MinusCircle:Pn,MinusCircleIcon:Pn,MinusIcon:Ec,MinusSquare:bi,MinusSquareIcon:bi,Monitor:j5,MonitorCheck:u5,MonitorCheckIcon:u5,MonitorCog:p5,MonitorCogIcon:p5,MonitorDot:y5,MonitorDotIcon:y5,MonitorDown:m5,MonitorDownIcon:m5,MonitorIcon:j5,MonitorOff:f5,MonitorOffIcon:f5,MonitorPause:x5,MonitorPauseIcon:x5,MonitorPlay:g5,MonitorPlayIcon:g5,MonitorSmartphone:k5,MonitorSmartphoneIcon:k5,MonitorSpeaker:v5,MonitorSpeakerIcon:v5,MonitorStop:w5,MonitorStopIcon:w5,MonitorUp:b5,MonitorUpIcon:b5,MonitorX:M5,MonitorXIcon:M5,Moon:S5,MoonIcon:S5,MoonStar:C5,MoonStarIcon:C5,MoreHorizontal:Qn,MoreHorizontalIcon:Qn,MoreVertical:Kn,MoreVerticalIcon:Kn,Mountain:N5,MountainIcon:N5,MountainSnow:L5,MountainSnowIcon:L5,Mouse:T5,MouseIcon:T5,MouseOff:I5,MouseOffIcon:I5,MousePointer:R5,MousePointer2:A5,MousePointer2Icon:A5,MousePointerBan:P5,MousePointerBanIcon:P5,MousePointerClick:_5,MousePointerClickIcon:_5,MousePointerIcon:R5,MousePointerSquareDashed:ui,MousePointerSquareDashedIcon:ui,Move:W5,Move3D:ws,Move3DIcon:ws,Move3d:ws,Move3dIcon:ws,MoveDiagonal:D5,MoveDiagonal2:q5,MoveDiagonal2Icon:q5,MoveDiagonalIcon:D5,MoveDown:F5,MoveDownIcon:F5,MoveDownLeft:z5,MoveDownLeftIcon:z5,MoveDownRight:E5,MoveDownRightIcon:E5,MoveHorizontal:O5,MoveHorizontalIcon:O5,MoveIcon:W5,MoveLeft:H5,MoveLeftIcon:H5,MoveRight:V5,MoveRightIcon:V5,MoveUp:U5,MoveUpIcon:U5,MoveUpLeft:B5,MoveUpLeftIcon:B5,MoveUpRight:$5,MoveUpRightIcon:$5,MoveVertical:G5,MoveVerticalIcon:G5,Music:Y5,Music2:Z5,Music2Icon:Z5,Music3:J5,Music3Icon:J5,Music4:X5,Music4Icon:X5,MusicIcon:Y5,Navigation:tv,Navigation2:Q5,Navigation2Icon:Q5,Navigation2Off:K5,Navigation2OffIcon:K5,NavigationIcon:tv,NavigationOff:ev,NavigationOffIcon:ev,Network:av,NetworkIcon:av,Newspaper:_a,NewspaperIcon:_a,Nfc:rv,NfcIcon:rv,Notebook:ov,NotebookIcon:ov,NotebookPen:nv,NotebookPenIcon:nv,NotebookTabs:sv,NotebookTabsIcon:sv,NotebookText:iv,NotebookTextIcon:iv,NotepadText:lv,NotepadTextDashed:cv,NotepadTextDashedIcon:cv,NotepadTextIcon:lv,Nut:hv,NutIcon:hv,NutOff:dv,NutOffIcon:dv,Octagon:pv,OctagonAlert:bs,OctagonAlertIcon:bs,OctagonIcon:pv,OctagonMinus:uv,OctagonMinusIcon:uv,OctagonPause:Ms,OctagonPauseIcon:Ms,OctagonX:js,OctagonXIcon:js,Omega:yv,OmegaIcon:yv,Option:mv,OptionIcon:mv,Orbit:fv,OrbitIcon:fv,Origami:xv,OrigamiIcon:xv,Outdent:ms,OutdentIcon:ms,Package:Fc,Package2:gv,Package2Icon:gv,PackageCheck:kv,PackageCheckIcon:kv,PackageIcon:Fc,PackageMinus:vv,PackageMinusIcon:vv,PackageOpen:wv,PackageOpenIcon:wv,PackagePlus:bv,PackagePlusIcon:bv,PackageSearch:Mv,PackageSearchIcon:Mv,PackageX:jv,PackageXIcon:jv,PaintBucket:Cv,PaintBucketIcon:Cv,PaintRoller:Sv,PaintRollerIcon:Sv,Paintbrush:Lv,Paintbrush2:Cs,Paintbrush2Icon:Cs,PaintbrushIcon:Lv,PaintbrushVertical:Cs,PaintbrushVerticalIcon:Cs,Palette:Nv,PaletteIcon:Nv,Palmtree:$i,PalmtreeIcon:$i,PanelBottom:Pv,PanelBottomClose:Iv,PanelBottomCloseIcon:Iv,PanelBottomDashed:Ss,PanelBottomDashedIcon:Ss,PanelBottomIcon:Pv,PanelBottomInactive:Ss,PanelBottomInactiveIcon:Ss,PanelBottomOpen:Av,PanelBottomOpenIcon:Av,PanelLeft:As,PanelLeftClose:Ls,PanelLeftCloseIcon:Ls,PanelLeftDashed:Ns,PanelLeftDashedIcon:Ns,PanelLeftIcon:As,PanelLeftInactive:Ns,PanelLeftInactiveIcon:Ns,PanelLeftOpen:Is,PanelLeftOpenIcon:Is,PanelRight:Tv,PanelRightClose:_v,PanelRightCloseIcon:_v,PanelRightDashed:Ps,PanelRightDashedIcon:Ps,PanelRightIcon:Tv,PanelRightInactive:Ps,PanelRightInactiveIcon:Ps,PanelRightOpen:Rv,PanelRightOpenIcon:Rv,PanelTop:zv,PanelTopClose:qv,PanelTopCloseIcon:qv,PanelTopDashed:_s,PanelTopDashedIcon:_s,PanelTopIcon:zv,PanelTopInactive:_s,PanelTopInactiveIcon:_s,PanelTopOpen:Dv,PanelTopOpenIcon:Dv,PanelsLeftBottom:Ev,PanelsLeftBottomIcon:Ev,PanelsLeftRight:Zn,PanelsLeftRightIcon:Zn,PanelsRightBottom:Fv,PanelsRightBottomIcon:Fv,PanelsTopBottom:Os,PanelsTopBottomIcon:Os,PanelsTopLeft:Rs,PanelsTopLeftIcon:Rs,Paperclip:Ov,PaperclipIcon:Ov,Parentheses:Hv,ParenthesesIcon:Hv,ParkingCircle:Rn,ParkingCircleIcon:Rn,ParkingCircleOff:_n,ParkingCircleOffIcon:_n,ParkingMeter:Vv,ParkingMeterIcon:Vv,ParkingSquare:Ci,ParkingSquareIcon:Ci,ParkingSquareOff:ji,ParkingSquareOffIcon:ji,PartyPopper:Bv,PartyPopperIcon:Bv,Pause:$v,PauseCircle:Tn,PauseCircleIcon:Tn,PauseIcon:$v,PauseOctagon:Ms,PauseOctagonIcon:Ms,PawPrint:Uv,PawPrintIcon:Uv,PcCase:Gv,PcCaseIcon:Gv,Pen:qs,PenBox:qt,PenBoxIcon:qt,PenIcon:qs,PenLine:Ts,PenLineIcon:Ts,PenOff:Wv,PenOffIcon:Wv,PenSquare:qt,PenSquareIcon:qt,PenTool:Zv,PenToolIcon:Zv,Pencil:Kv,PencilIcon:Kv,PencilLine:Jv,PencilLineIcon:Jv,PencilOff:Xv,PencilOffIcon:Xv,PencilRuler:Yv,PencilRulerIcon:Yv,Pentagon:Qv,PentagonIcon:Qv,Percent:e3,PercentCircle:qn,PercentCircleIcon:qn,PercentDiamond:Xn,PercentDiamondIcon:Xn,PercentIcon:e3,PercentSquare:Si,PercentSquareIcon:Si,PersonStanding:t3,PersonStandingIcon:t3,PhilippinePeso:a3,PhilippinePesoIcon:a3,Phone:br,PhoneCall:r3,PhoneCallIcon:r3,PhoneForwarded:n3,PhoneForwardedIcon:n3,PhoneIcon:br,PhoneIncoming:s3,PhoneIncomingIcon:s3,PhoneMissed:i3,PhoneMissedIcon:i3,PhoneOff:o3,PhoneOffIcon:o3,PhoneOutgoing:c3,PhoneOutgoingIcon:c3,Pi:l3,PiIcon:l3,PiSquare:Li,PiSquareIcon:Li,Piano:d3,PianoIcon:d3,Pickaxe:h3,PickaxeIcon:h3,PictureInPicture:p3,PictureInPicture2:u3,PictureInPicture2Icon:u3,PictureInPictureIcon:p3,PieChart:mn,PieChartIcon:mn,PiggyBank:y3,PiggyBankIcon:y3,Pilcrow:x3,PilcrowIcon:x3,PilcrowLeft:m3,PilcrowLeftIcon:m3,PilcrowRight:f3,PilcrowRightIcon:f3,PilcrowSquare:Ni,PilcrowSquareIcon:Ni,Pill:k3,PillBottle:g3,PillBottleIcon:g3,PillIcon:k3,Pin:w3,PinIcon:w3,PinOff:v3,PinOffIcon:v3,Pipette:b3,PipetteIcon:b3,Pizza:M3,PizzaIcon:M3,Plane:S3,PlaneIcon:S3,PlaneLanding:j3,PlaneLandingIcon:j3,PlaneTakeoff:C3,PlaneTakeoffIcon:C3,Play:Oc,PlayCircle:Dn,PlayCircleIcon:Dn,PlayIcon:Oc,PlaySquare:Ii,PlaySquareIcon:Ii,Plug:N3,Plug2:L3,Plug2Icon:L3,PlugIcon:N3,PlugZap:Ds,PlugZap2:Ds,PlugZap2Icon:Ds,PlugZapIcon:Ds,Plus:$o,PlusCircle:zn,PlusCircleIcon:zn,PlusIcon:$o,PlusSquare:Ai,PlusSquareIcon:Ai,Pocket:A3,PocketIcon:A3,PocketKnife:I3,PocketKnifeIcon:I3,Podcast:P3,PodcastIcon:P3,Pointer:R3,PointerIcon:R3,PointerOff:_3,PointerOffIcon:_3,Popcorn:T3,PopcornIcon:T3,Popsicle:q3,PopsicleIcon:q3,PoundSterling:D3,PoundSterlingIcon:D3,Power:E3,PowerCircle:En,PowerCircleIcon:En,PowerIcon:E3,PowerOff:z3,PowerOffIcon:z3,PowerSquare:Pi,PowerSquareIcon:Pi,Presentation:F3,PresentationIcon:F3,Printer:H3,PrinterCheck:O3,PrinterCheckIcon:O3,PrinterIcon:H3,Projector:V3,ProjectorIcon:V3,Proportions:B3,ProportionsIcon:B3,Puzzle:$3,PuzzleIcon:$3,Pyramid:U3,PyramidIcon:U3,QrCode:G3,QrCodeIcon:G3,Quote:Uo,QuoteIcon:Uo,Rabbit:W3,RabbitIcon:W3,Radar:Z3,RadarIcon:Z3,Radiation:J3,RadiationIcon:J3,Radical:X3,RadicalIcon:X3,Radio:Q3,RadioIcon:Q3,RadioReceiver:Y3,RadioReceiverIcon:Y3,RadioTower:K3,RadioTowerIcon:K3,Radius:e6,RadiusIcon:e6,RailSymbol:t6,RailSymbolIcon:t6,Rainbow:a6,RainbowIcon:a6,Rat:r6,RatIcon:r6,Ratio:n6,RatioIcon:n6,Receipt:p6,ReceiptCent:s6,ReceiptCentIcon:s6,ReceiptEuro:i6,ReceiptEuroIcon:i6,ReceiptIcon:p6,ReceiptIndianRupee:o6,ReceiptIndianRupeeIcon:o6,ReceiptJapaneseYen:c6,ReceiptJapaneseYenIcon:c6,ReceiptPoundSterling:l6,ReceiptPoundSterlingIcon:l6,ReceiptRussianRuble:d6,ReceiptRussianRubleIcon:d6,ReceiptSwissFranc:h6,ReceiptSwissFrancIcon:h6,ReceiptText:u6,ReceiptTextIcon:u6,RectangleEllipsis:zs,RectangleEllipsisIcon:zs,RectangleHorizontal:y6,RectangleHorizontalIcon:y6,RectangleVertical:m6,RectangleVerticalIcon:m6,Recycle:f6,RecycleIcon:f6,Redo:k6,Redo2:x6,Redo2Icon:x6,RedoDot:g6,RedoDotIcon:g6,RedoIcon:k6,RefreshCcw:w6,RefreshCcwDot:v6,RefreshCcwDotIcon:v6,RefreshCcwIcon:w6,RefreshCw:M6,RefreshCwIcon:M6,RefreshCwOff:b6,RefreshCwOffIcon:b6,Refrigerator:j6,RefrigeratorIcon:j6,Regex:C6,RegexIcon:C6,RemoveFormatting:S6,RemoveFormattingIcon:S6,Repeat:I6,Repeat1:L6,Repeat1Icon:L6,Repeat2:N6,Repeat2Icon:N6,RepeatIcon:I6,Replace:P6,ReplaceAll:A6,ReplaceAllIcon:A6,ReplaceIcon:P6,Reply:R6,ReplyAll:_6,ReplyAllIcon:_6,ReplyIcon:R6,Rewind:T6,RewindIcon:T6,Ribbon:q6,RibbonIcon:q6,Rocket:D6,RocketIcon:D6,RockingChair:z6,RockingChairIcon:z6,RollerCoaster:E6,RollerCoasterIcon:E6,Rotate3D:Es,Rotate3DIcon:Es,Rotate3d:Es,Rotate3dIcon:Es,RotateCcw:O6,RotateCcwIcon:O6,RotateCcwSquare:F6,RotateCcwSquareIcon:F6,RotateCw:V6,RotateCwIcon:V6,RotateCwSquare:H6,RotateCwSquareIcon:H6,Route:$6,RouteIcon:$6,RouteOff:B6,RouteOffIcon:B6,Router:U6,RouterIcon:U6,Rows:Fs,Rows2:Fs,Rows2Icon:Fs,Rows3:Os,Rows3Icon:Os,Rows4:G6,Rows4Icon:G6,RowsIcon:Fs,Rss:W6,RssIcon:W6,Ruler:Z6,RulerIcon:Z6,RussianRuble:J6,RussianRubleIcon:J6,Sailboat:X6,SailboatIcon:X6,Salad:Y6,SaladIcon:Y6,Sandwich:K6,SandwichIcon:K6,Satellite:e8,SatelliteDish:Q6,SatelliteDishIcon:Q6,SatelliteIcon:e8,Save:r8,SaveAll:t8,SaveAllIcon:t8,SaveIcon:r8,SaveOff:a8,SaveOffIcon:a8,Scale:n8,Scale3D:Hs,Scale3DIcon:Hs,Scale3d:Hs,Scale3dIcon:Hs,ScaleIcon:n8,Scaling:s8,ScalingIcon:s8,Scan:p8,ScanBarcode:i8,ScanBarcodeIcon:i8,ScanEye:o8,ScanEyeIcon:o8,ScanFace:c8,ScanFaceIcon:c8,ScanIcon:p8,ScanLine:l8,ScanLineIcon:l8,ScanQrCode:d8,ScanQrCodeIcon:d8,ScanSearch:h8,ScanSearchIcon:h8,ScanText:u8,ScanTextIcon:u8,ScatterChart:fn,ScatterChartIcon:fn,School:y8,School2:Wi,School2Icon:Wi,SchoolIcon:y8,Scissors:f8,ScissorsIcon:f8,ScissorsLineDashed:m8,ScissorsLineDashedIcon:m8,ScissorsSquare:_i,ScissorsSquareDashedBottom:ri,ScissorsSquareDashedBottomIcon:ri,ScissorsSquareIcon:_i,ScreenShare:g8,ScreenShareIcon:g8,ScreenShareOff:x8,ScreenShareOffIcon:x8,Scroll:v8,ScrollIcon:v8,ScrollText:k8,ScrollTextIcon:k8,Search:$t,SearchCheck:w8,SearchCheckIcon:w8,SearchCode:b8,SearchCodeIcon:b8,SearchIcon:$t,SearchSlash:M8,SearchSlashIcon:M8,SearchX:j8,SearchXIcon:j8,Section:C8,SectionIcon:C8,Send:Hc,SendHorizonal:Vs,SendHorizonalIcon:Vs,SendHorizontal:Vs,SendHorizontalIcon:Vs,SendIcon:Hc,SendToBack:S8,SendToBackIcon:S8,SeparatorHorizontal:L8,SeparatorHorizontalIcon:L8,SeparatorVertical:N8,SeparatorVerticalIcon:N8,Server:_8,ServerCog:I8,ServerCogIcon:I8,ServerCrash:A8,ServerCrashIcon:A8,ServerIcon:_8,ServerOff:P8,ServerOffIcon:P8,Settings:Go,Settings2:R8,Settings2Icon:R8,SettingsIcon:Go,Shapes:T8,ShapesIcon:T8,Share:q8,Share2:po,Share2Icon:po,ShareIcon:q8,Sheet:D8,SheetIcon:D8,Shell:z8,ShellIcon:z8,Shield:Mr,ShieldAlert:E8,ShieldAlertIcon:E8,ShieldBan:F8,ShieldBanIcon:F8,ShieldCheck:Vc,ShieldCheckIcon:Vc,ShieldClose:Bs,ShieldCloseIcon:Bs,ShieldEllipsis:O8,ShieldEllipsisIcon:O8,ShieldHalf:H8,ShieldHalfIcon:H8,ShieldIcon:Mr,ShieldMinus:V8,ShieldMinusIcon:V8,ShieldOff:B8,ShieldOffIcon:B8,ShieldPlus:$8,ShieldPlusIcon:$8,ShieldQuestion:U8,ShieldQuestionIcon:U8,ShieldX:Bs,ShieldXIcon:Bs,Ship:W8,ShipIcon:W8,ShipWheel:G8,ShipWheelIcon:G8,Shirt:Z8,ShirtIcon:Z8,ShoppingBag:J8,ShoppingBagIcon:J8,ShoppingBasket:X8,ShoppingBasketIcon:X8,ShoppingCart:Wo,ShoppingCartIcon:Wo,Shovel:Y8,ShovelIcon:Y8,ShowerHead:K8,ShowerHeadIcon:K8,Shrink:Q8,ShrinkIcon:Q8,Shrub:ew,ShrubIcon:ew,Shuffle:tw,ShuffleIcon:tw,Sidebar:As,SidebarClose:Ls,SidebarCloseIcon:Ls,SidebarIcon:As,SidebarOpen:Is,SidebarOpenIcon:Is,Sigma:aw,SigmaIcon:aw,SigmaSquare:Ri,SigmaSquareIcon:Ri,Signal:Bc,SignalHigh:rw,SignalHighIcon:rw,SignalIcon:Bc,SignalLow:nw,SignalLowIcon:nw,SignalMedium:sw,SignalMediumIcon:sw,SignalZero:iw,SignalZeroIcon:iw,Signature:ow,SignatureIcon:ow,Signpost:lw,SignpostBig:cw,SignpostBigIcon:cw,SignpostIcon:lw,Siren:dw,SirenIcon:dw,SkipBack:hw,SkipBackIcon:hw,SkipForward:uw,SkipForwardIcon:uw,Skull:pw,SkullIcon:pw,Slack:yw,SlackIcon:yw,Slash:mw,SlashIcon:mw,SlashSquare:Ti,SlashSquareIcon:Ti,Slice:fw,SliceIcon:fw,Sliders:$s,SlidersHorizontal:jr,SlidersHorizontalIcon:jr,SlidersIcon:$s,SlidersVertical:$s,SlidersVerticalIcon:$s,Smartphone:kw,SmartphoneCharging:xw,SmartphoneChargingIcon:xw,SmartphoneIcon:kw,SmartphoneNfc:gw,SmartphoneNfcIcon:gw,Smile:ww,SmileIcon:ww,SmilePlus:vw,SmilePlusIcon:vw,Snail:bw,SnailIcon:bw,Snowflake:Mw,SnowflakeIcon:Mw,Sofa:jw,SofaIcon:jw,SortAsc:Jr,SortAscIcon:Jr,SortDesc:Gr,SortDescIcon:Gr,Soup:Cw,SoupIcon:Cw,Space:Sw,SpaceIcon:Sw,Spade:Lw,SpadeIcon:Lw,Sparkle:Nw,SparkleIcon:Nw,Sparkles:La,SparklesIcon:La,Speaker:Iw,SpeakerIcon:Iw,Speech:Aw,SpeechIcon:Aw,SpellCheck:_w,SpellCheck2:Pw,SpellCheck2Icon:Pw,SpellCheckIcon:_w,Spline:Rw,SplineIcon:Rw,Split:Tw,SplitIcon:Tw,SplitSquareHorizontal:qi,SplitSquareHorizontalIcon:qi,SplitSquareVertical:Di,SplitSquareVerticalIcon:Di,SprayCan:qw,SprayCanIcon:qw,Sprout:Dw,SproutIcon:Dw,Square:Vw,SquareActivity:Us,SquareActivityIcon:Us,SquareArrowDown:Zs,SquareArrowDownIcon:Zs,SquareArrowDownLeft:Gs,SquareArrowDownLeftIcon:Gs,SquareArrowDownRight:Ws,SquareArrowDownRightIcon:Ws,SquareArrowLeft:Ga,SquareArrowLeftIcon:Ga,SquareArrowOutDownLeft:Js,SquareArrowOutDownLeftIcon:Js,SquareArrowOutDownRight:Xs,SquareArrowOutDownRightIcon:Xs,SquareArrowOutUpLeft:Ys,SquareArrowOutUpLeftIcon:Ys,SquareArrowOutUpRight:Ks,SquareArrowOutUpRightIcon:Ks,SquareArrowRight:Wa,SquareArrowRightIcon:Wa,SquareArrowUp:ti,SquareArrowUpIcon:ti,SquareArrowUpLeft:Qs,SquareArrowUpLeftIcon:Qs,SquareArrowUpRight:ei,SquareArrowUpRightIcon:ei,SquareAsterisk:ai,SquareAsteriskIcon:ai,SquareBottomDashedScissors:ri,SquareBottomDashedScissorsIcon:ri,SquareChartGantt:ja,SquareChartGanttIcon:ja,SquareCheck:si,SquareCheckBig:ni,SquareCheckBigIcon:ni,SquareCheckIcon:si,SquareChevronDown:ii,SquareChevronDownIcon:ii,SquareChevronLeft:oi,SquareChevronLeftIcon:oi,SquareChevronRight:ci,SquareChevronRightIcon:ci,SquareChevronUp:li,SquareChevronUpIcon:li,SquareCode:di,SquareCodeIcon:di,SquareDashed:pi,SquareDashedBottom:Ew,SquareDashedBottomCode:zw,SquareDashedBottomCodeIcon:zw,SquareDashedBottomIcon:Ew,SquareDashedIcon:pi,SquareDashedKanban:hi,SquareDashedKanbanIcon:hi,SquareDashedMousePointer:ui,SquareDashedMousePointerIcon:ui,SquareDivide:yi,SquareDivideIcon:yi,SquareDot:mi,SquareDotIcon:mi,SquareEqual:fi,SquareEqualIcon:fi,SquareFunction:xi,SquareFunctionIcon:xi,SquareGanttChart:ja,SquareGanttChartIcon:ja,SquareIcon:Vw,SquareKanban:gi,SquareKanbanIcon:gi,SquareLibrary:ki,SquareLibraryIcon:ki,SquareM:vi,SquareMIcon:vi,SquareMenu:wi,SquareMenuIcon:wi,SquareMinus:bi,SquareMinusIcon:bi,SquareMousePointer:Mi,SquareMousePointerIcon:Mi,SquareParking:Ci,SquareParkingIcon:Ci,SquareParkingOff:ji,SquareParkingOffIcon:ji,SquarePen:qt,SquarePenIcon:qt,SquarePercent:Si,SquarePercentIcon:Si,SquarePi:Li,SquarePiIcon:Li,SquarePilcrow:Ni,SquarePilcrowIcon:Ni,SquarePlay:Ii,SquarePlayIcon:Ii,SquarePlus:Ai,SquarePlusIcon:Ai,SquarePower:Pi,SquarePowerIcon:Pi,SquareRadical:Fw,SquareRadicalIcon:Fw,SquareScissors:_i,SquareScissorsIcon:_i,SquareSigma:Ri,SquareSigmaIcon:Ri,SquareSlash:Ti,SquareSlashIcon:Ti,SquareSplitHorizontal:qi,SquareSplitHorizontalIcon:qi,SquareSplitVertical:Di,SquareSplitVerticalIcon:Di,SquareSquare:Ow,SquareSquareIcon:Ow,SquareStack:Hw,SquareStackIcon:Hw,SquareTerminal:zi,SquareTerminalIcon:zi,SquareUser:Fi,SquareUserIcon:Fi,SquareUserRound:Ei,SquareUserRoundIcon:Ei,SquareX:Oi,SquareXIcon:Oi,Squircle:Bw,SquircleIcon:Bw,Squirrel:$w,SquirrelIcon:$w,Stamp:Uw,StampIcon:Uw,Star:Lt,StarHalf:Gw,StarHalfIcon:Gw,StarIcon:Lt,StarOff:Ww,StarOffIcon:Ww,Stars:La,StarsIcon:La,StepBack:Zw,StepBackIcon:Zw,StepForward:Jw,StepForwardIcon:Jw,Stethoscope:Xw,StethoscopeIcon:Xw,Sticker:Yw,StickerIcon:Yw,StickyNote:Kw,StickyNoteIcon:Kw,StopCircle:On,StopCircleIcon:On,Store:Qw,StoreIcon:Qw,StretchHorizontal:e7,StretchHorizontalIcon:e7,StretchVertical:t7,StretchVerticalIcon:t7,Strikethrough:a7,StrikethroughIcon:a7,Subscript:r7,SubscriptIcon:r7,Subtitles:rn,SubtitlesIcon:rn,Sun:c7,SunDim:n7,SunDimIcon:n7,SunIcon:c7,SunMedium:s7,SunMediumIcon:s7,SunMoon:i7,SunMoonIcon:i7,SunSnow:o7,SunSnowIcon:o7,Sunrise:l7,SunriseIcon:l7,Sunset:d7,SunsetIcon:d7,Superscript:h7,SuperscriptIcon:h7,SwatchBook:u7,SwatchBookIcon:u7,SwissFranc:p7,SwissFrancIcon:p7,SwitchCamera:y7,SwitchCameraIcon:y7,Sword:m7,SwordIcon:m7,Swords:f7,SwordsIcon:f7,Syringe:x7,SyringeIcon:x7,Table:C7,Table2:g7,Table2Icon:g7,TableCellsMerge:k7,TableCellsMergeIcon:k7,TableCellsSplit:v7,TableCellsSplitIcon:v7,TableColumnsSplit:w7,TableColumnsSplitIcon:w7,TableIcon:C7,TableOfContents:b7,TableOfContentsIcon:b7,TableProperties:M7,TablePropertiesIcon:M7,TableRowsSplit:j7,TableRowsSplitIcon:j7,Tablet:L7,TabletIcon:L7,TabletSmartphone:S7,TabletSmartphoneIcon:S7,Tablets:N7,TabletsIcon:N7,Tag:$c,TagIcon:$c,Tags:I7,TagsIcon:I7,Tally1:A7,Tally1Icon:A7,Tally2:P7,Tally2Icon:P7,Tally3:_7,Tally3Icon:_7,Tally4:R7,Tally4Icon:R7,Tally5:T7,Tally5Icon:T7,Tangent:q7,TangentIcon:q7,Target:D7,TargetIcon:D7,Telescope:z7,TelescopeIcon:z7,Tent:F7,TentIcon:F7,TentTree:E7,TentTreeIcon:E7,Terminal:O7,TerminalIcon:O7,TerminalSquare:zi,TerminalSquareIcon:zi,TestTube:H7,TestTube2:Hi,TestTube2Icon:Hi,TestTubeDiagonal:Hi,TestTubeDiagonalIcon:Hi,TestTubeIcon:H7,TestTubes:V7,TestTubesIcon:V7,Text:W7,TextCursor:$7,TextCursorIcon:$7,TextCursorInput:B7,TextCursorInputIcon:B7,TextIcon:W7,TextQuote:U7,TextQuoteIcon:U7,TextSearch:G7,TextSearchIcon:G7,TextSelect:Vi,TextSelectIcon:Vi,TextSelection:Vi,TextSelectionIcon:Vi,Theater:Z7,TheaterIcon:Z7,Thermometer:Y7,ThermometerIcon:Y7,ThermometerSnowflake:J7,ThermometerSnowflakeIcon:J7,ThermometerSun:X7,ThermometerSunIcon:X7,ThumbsDown:K7,ThumbsDownIcon:K7,ThumbsUp:Q7,ThumbsUpIcon:Q7,Ticket:ib,TicketCheck:eb,TicketCheckIcon:eb,TicketIcon:ib,TicketMinus:tb,TicketMinusIcon:tb,TicketPercent:ab,TicketPercentIcon:ab,TicketPlus:rb,TicketPlusIcon:rb,TicketSlash:nb,TicketSlashIcon:nb,TicketX:sb,TicketXIcon:sb,Tickets:cb,TicketsIcon:cb,TicketsPlane:ob,TicketsPlaneIcon:ob,Timer:hb,TimerIcon:hb,TimerOff:lb,TimerOffIcon:lb,TimerReset:db,TimerResetIcon:db,ToggleLeft:ub,ToggleLeftIcon:ub,ToggleRight:pb,ToggleRightIcon:pb,Tornado:yb,TornadoIcon:yb,Torus:mb,TorusIcon:mb,Touchpad:xb,TouchpadIcon:xb,TouchpadOff:fb,TouchpadOffIcon:fb,TowerControl:gb,TowerControlIcon:gb,ToyBrick:kb,ToyBrickIcon:kb,Tractor:vb,TractorIcon:vb,TrafficCone:wb,TrafficConeIcon:wb,Train:Bi,TrainFront:Mb,TrainFrontIcon:Mb,TrainFrontTunnel:bb,TrainFrontTunnelIcon:bb,TrainIcon:Bi,TrainTrack:jb,TrainTrackIcon:jb,TramFront:Bi,TramFrontIcon:Bi,Trash:Cb,Trash2:Zo,Trash2Icon:Zo,TrashIcon:Cb,TreeDeciduous:Sb,TreeDeciduousIcon:Sb,TreePalm:$i,TreePalmIcon:$i,TreePine:Lb,TreePineIcon:Lb,Trees:Nb,TreesIcon:Nb,Trello:Ib,TrelloIcon:Ib,TrendingDown:Ab,TrendingDownIcon:Ab,TrendingUp:Ra,TrendingUpDown:Pb,TrendingUpDownIcon:Pb,TrendingUpIcon:Ra,Triangle:Rb,TriangleAlert:Ui,TriangleAlertIcon:Ui,TriangleIcon:Rb,TriangleRight:_b,TriangleRightIcon:_b,Trophy:Tb,TrophyIcon:Tb,Truck:qb,TruckIcon:qb,Turtle:Db,TurtleIcon:Db,Tv:Eb,Tv2:Gi,Tv2Icon:Gi,TvIcon:Eb,TvMinimal:Gi,TvMinimalIcon:Gi,TvMinimalPlay:zb,TvMinimalPlayIcon:zb,Twitch:Fb,TwitchIcon:Fb,Twitter:Ob,TwitterIcon:Ob,Type:Vb,TypeIcon:Vb,TypeOutline:Hb,TypeOutlineIcon:Hb,Umbrella:$b,UmbrellaIcon:$b,UmbrellaOff:Bb,UmbrellaOffIcon:Bb,Underline:Ub,UnderlineIcon:Ub,Undo:Zb,Undo2:Gb,Undo2Icon:Gb,UndoDot:Wb,UndoDotIcon:Wb,UndoIcon:Zb,UnfoldHorizontal:Jb,UnfoldHorizontalIcon:Jb,UnfoldVertical:Xb,UnfoldVerticalIcon:Xb,Ungroup:Yb,UngroupIcon:Yb,University:Wi,UniversityIcon:Wi,Unlink:Qb,Unlink2:Kb,Unlink2Icon:Kb,UnlinkIcon:Qb,Unlock:ks,UnlockIcon:ks,UnlockKeyhole:gs,UnlockKeyholeIcon:gs,Unplug:eM,UnplugIcon:eM,Upload:Uc,UploadCloud:hr,UploadCloudIcon:hr,UploadIcon:Uc,Usb:tM,UsbIcon:tM,User:Jo,User2:Qi,User2Icon:Qi,UserCheck:Gc,UserCheck2:Zi,UserCheck2Icon:Zi,UserCheckIcon:Gc,UserCircle:Vn,UserCircle2:Hn,UserCircle2Icon:Hn,UserCircleIcon:Vn,UserCog:aM,UserCog2:Ji,UserCog2Icon:Ji,UserCogIcon:aM,UserIcon:Jo,UserMinus:rM,UserMinus2:Xi,UserMinus2Icon:Xi,UserMinusIcon:rM,UserPen:nM,UserPenIcon:nM,UserPlus:sM,UserPlus2:Yi,UserPlus2Icon:Yi,UserPlusIcon:sM,UserRound:Qi,UserRoundCheck:Zi,UserRoundCheckIcon:Zi,UserRoundCog:Ji,UserRoundCogIcon:Ji,UserRoundIcon:Qi,UserRoundMinus:Xi,UserRoundMinusIcon:Xi,UserRoundPen:iM,UserRoundPenIcon:iM,UserRoundPlus:Yi,UserRoundPlusIcon:Yi,UserRoundSearch:oM,UserRoundSearchIcon:oM,UserRoundX:Ki,UserRoundXIcon:Ki,UserSearch:cM,UserSearchIcon:cM,UserSquare:Fi,UserSquare2:Ei,UserSquare2Icon:Ei,UserSquareIcon:Fi,UserX:lM,UserX2:Ki,UserX2Icon:Ki,UserXIcon:lM,Users:Nt,Users2:eo,Users2Icon:eo,UsersIcon:Nt,UsersRound:eo,UsersRoundIcon:eo,Utensils:ao,UtensilsCrossed:to,UtensilsCrossedIcon:to,UtensilsIcon:ao,UtilityPole:dM,UtilityPoleIcon:dM,Variable:hM,VariableIcon:hM,Vault:uM,VaultIcon:uM,Vegan:pM,VeganIcon:pM,VenetianMask:yM,VenetianMaskIcon:yM,Verified:Kr,VerifiedIcon:Kr,Vibrate:fM,VibrateIcon:fM,VibrateOff:mM,VibrateOffIcon:mM,Video:gM,VideoIcon:gM,VideoOff:xM,VideoOffIcon:xM,Videotape:kM,VideotapeIcon:kM,View:vM,ViewIcon:vM,Voicemail:wM,VoicemailIcon:wM,Volleyball:bM,VolleyballIcon:bM,Volume:LM,Volume1:MM,Volume1Icon:MM,Volume2:jM,Volume2Icon:jM,VolumeIcon:LM,VolumeOff:CM,VolumeOffIcon:CM,VolumeX:SM,VolumeXIcon:SM,Vote:NM,VoteIcon:NM,Wallet:AM,Wallet2:ro,Wallet2Icon:ro,WalletCards:IM,WalletCardsIcon:IM,WalletIcon:AM,WalletMinimal:ro,WalletMinimalIcon:ro,Wallpaper:PM,WallpaperIcon:PM,Wand:_M,Wand2:no,Wand2Icon:no,WandIcon:_M,WandSparkles:no,WandSparklesIcon:no,Warehouse:RM,WarehouseIcon:RM,WashingMachine:TM,WashingMachineIcon:TM,Watch:qM,WatchIcon:qM,Waves:DM,WavesIcon:DM,Waypoints:zM,WaypointsIcon:zM,Webcam:EM,WebcamIcon:EM,Webhook:OM,WebhookIcon:OM,WebhookOff:FM,WebhookOffIcon:FM,Weight:HM,WeightIcon:HM,Wheat:BM,WheatIcon:BM,WheatOff:VM,WheatOffIcon:VM,WholeWord:$M,WholeWordIcon:$M,Wifi:JM,WifiHigh:UM,WifiHighIcon:UM,WifiIcon:JM,WifiLow:GM,WifiLowIcon:GM,WifiOff:WM,WifiOffIcon:WM,WifiZero:ZM,WifiZeroIcon:ZM,Wind:XM,WindIcon:XM,Wine:KM,WineIcon:KM,WineOff:YM,WineOffIcon:YM,Workflow:QM,WorkflowIcon:QM,Worm:e9,WormIcon:e9,WrapText:t9,WrapTextIcon:t9,Wrench:a9,WrenchIcon:a9,X:Ct,XCircle:Sa,XCircleIcon:Sa,XIcon:Ct,XOctagon:js,XOctagonIcon:js,XSquare:Oi,XSquareIcon:Oi,Youtube:r9,YoutubeIcon:r9,Zap:Wc,ZapIcon:Wc,ZapOff:n9,ZapOffIcon:n9,ZoomIn:s9,ZoomInIcon:s9,ZoomOut:i9,ZoomOutIcon:i9,createLucideIcon:o,icons:xq},Symbol.toStringTag,{value:"Module"})),kq=({availableTags:t,selectedTagIds:a,onTagSelect:r,onTagDeselect:n,onCreateTag:s,maxTags:i=10,placeholder:c="Add tags..."})=>{const[l,d]=M.useState(!1),[h,u]=M.useState(""),[p,m]=M.useState("#3B82F6"),[y,x]=M.useState(""),[f,v]=M.useState(-1),k=M.useMemo(()=>t.filter(b=>b.name.toLowerCase().includes(y.toLowerCase())),[t,y]),w=M.useMemo(()=>t.filter(b=>a.includes(b.id)),[t,a]),j=M.useMemo(()=>k.filter(b=>!a.includes(b.id)),[k,a]),S=y.trim().length>0&&!t.some(b=>b.name.toLowerCase()===y.trim().toLowerCase()),C=j.length+(S?1:0),A=async()=>{const b=h.trim();if(b)try{await s({name:b,color:p}),u(""),d(!1)}catch(N){console.error("Failed to create tag:",N)}},L=b=>{if(C)switch(b.key){case"ArrowDown":{b.preventDefault(),v(N=>(N+1)%C);break}case"ArrowUp":{b.preventDefault(),v(N=>(N-1+C)%C);break}case"Enter":{if(f===-1)return;if(b.preventDefault(),f<j.length){const N=j[f];r(N.id),x(""),v(-1)}else S&&(d(!0),u(y.trim()),x(""),v(-1));break}case"Escape":{x(""),v(-1);break}}};return e.jsxs("div",{className:"tag-picker",children:[e.jsx("div",{className:"selected-tags flex flex-wrap gap-2 mb-2",children:w.map(b=>e.jsxs("span",{className:"inline-flex items-center gap-1 px-3 py-1 rounded-full text-sm border",style:{backgroundColor:`${b.color}20`,color:b.color,borderColor:b.color},children:[b.name,e.jsx("button",{type:"button",onClick:()=>n(b.id),className:"hover:opacity-70","aria-label":`Remove ${b.name}`,children:e.jsx(Ct,{className:"w-3 h-3"})})]},b.id))}),a.length<i&&e.jsxs("div",{className:"tag-selector relative",children:[e.jsxs("div",{className:"relative",children:[e.jsx($c,{className:"absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-400"}),e.jsx("input",{type:"text",value:y,onChange:b=>{x(b.target.value),v(-1)},onKeyDown:L,placeholder:c,className:"w-full border rounded px-9 py-2","aria-haspopup":"listbox","aria-expanded":y.length>0})]}),y&&e.jsxs("div",{role:"listbox",className:"absolute z-10 w-full mt-1 bg-white border rounded shadow-lg max-h-48 overflow-y-auto",children:[j.map((b,N)=>e.jsxs("button",{type:"button",role:"option","aria-selected":f===N,onClick:()=>{r(b.id),x(""),v(-1)},className:`w-full px-3 py-2 text-left hover:bg-gray-100 flex items-center gap-2 ${f===N?"bg-gray-100":""}`,children:[e.jsx("span",{className:"w-3 h-3 rounded-full",style:{backgroundColor:b.color}}),e.jsx("span",{children:b.name}),b.category&&e.jsxs("span",{className:"text-xs text-gray-500",children:["(",b.category,")"]})]},b.id)),S&&e.jsxs("button",{type:"button",role:"option","aria-selected":f===j.length,onClick:()=>{d(!0),u(y.trim()),x(""),v(-1)},className:`w-full px-3 py-2 text-left hover:bg-gray-100 text-blue-600 flex items-center gap-2 ${f===j.length?"bg-gray-100":""}`,children:[e.jsx($o,{className:"w-4 h-4"}),'Create "',y.trim(),'"']}),!j.length&&!S&&e.jsx("div",{className:"px-3 py-2 text-sm text-gray-500",children:"No tags found."})]})]}),l&&e.jsxs("div",{className:"create-tag-form mt-2 p-3 border rounded",children:[e.jsx("input",{type:"text",value:h,onChange:b=>u(b.target.value),placeholder:"Tag name",className:"w-full border rounded px-3 py-2 mb-2"}),e.jsxs("div",{className:"flex flex-wrap gap-2 items-center",children:[e.jsxs("label",{className:"flex items-center gap-2 text-sm text-gray-600",children:["Color",e.jsx("input",{type:"color",value:p,onChange:b=>m(b.target.value),className:"w-12 h-8 rounded","aria-label":"Pick tag color"})]}),e.jsx("button",{type:"button",onClick:A,onKeyDown:b=>{b.key==="Enter"&&(b.preventDefault(),A())},className:"flex-1 bg-blue-600 text-white px-3 py-2 rounded hover:bg-blue-700",children:"Create"}),e.jsx("button",{type:"button",onClick:()=>{d(!1),u("")},className:"px-3 py-2 border rounded hover:bg-gray-100",children:"Cancel"})]})]})]})},vq={sm:"px-2 py-0.5 text-xs",md:"px-3 py-1 text-sm",lg:"px-4 py-1.5 text-base"},AC=({name:t,color:a,size:r="md",removable:n=!1,onRemove:s,onClick:i,href:c,className:l})=>{const d=!!(i||c),h=p=>{!i||c||(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),i())},u=c?"a":"span";return e.jsxs(u,{className:`inline-flex items-center gap-1 rounded-full font-medium border transition-opacity ${vq[r]} ${d?"cursor-pointer hover:opacity-80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2":""} ${l??""}`,style:{backgroundColor:`${a}20`,color:a,borderColor:a},onClick:i,onKeyDown:h,role:!c&&i?"button":void 0,tabIndex:!c&&i?0:void 0,href:c,children:[t,n&&s&&e.jsx("button",{type:"button",onClick:p=>{p.stopPropagation(),s()},className:"hover:opacity-70 ml-1","aria-label":`Remove ${t} tag`,children:e.jsx(Ct,{className:"w-3 h-3"})})]})};function Xa(t,a,{checkForDefaultPrevented:r=!0}={}){return function(s){if(t==null||t(s),r===!1||!s.defaultPrevented)return a==null?void 0:a(s)}}function wq(t,a=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var k;const{scope:m,children:y,...x}=p,f=((k=m==null?void 0:m[t])==null?void 0:k[d])||l,v=g.useMemo(()=>x,Object.values(x));return e.jsx(f.Provider,{value:v,children:y})};h.displayName=i+"Provider";function u(p,m){var f;const y=((f=m==null?void 0:m[t])==null?void 0:f[d])||l,x=g.useContext(y);if(x)return x;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const s=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return s.scopeName=t,[n,bq(s,...a)]}function bq(...t){const a=t[0];if(t.length===1)return a;const r=()=>{const n=t.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${a.scopeName}`]:c}),[c])}};return r.scopeName=a.scopeName,r}function Mq(t,a=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];function h(p){const{scope:m,children:y,...x}=p,f=(m==null?void 0:m[t][d])||l,v=g.useMemo(()=>x,Object.values(x));return e.jsx(f.Provider,{value:v,children:y})}function u(p,m){const y=(m==null?void 0:m[t][d])||l,x=g.useContext(y);if(x)return x;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return h.displayName=i+"Provider",[h,u]}const s=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return s.scopeName=t,[n,jq(s,...a)]}function jq(...t){const a=t[0];if(t.length===1)return a;const r=()=>{const n=t.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${a.scopeName}`]:c}),[c])}};return r.scopeName=a.scopeName,r}function Cq(t,a){typeof t=="function"?t(a):t!=null&&(t.current=a)}function PC(...t){return a=>t.forEach(r=>Cq(r,a))}function f9(...t){return g.useCallback(PC(...t),t)}var Uj=g.forwardRef((t,a)=>{const{children:r,...n}=t,s=g.Children.toArray(r),i=s.find(Lq);if(i){const c=i.props.children,l=s.map(d=>d===i?g.Children.count(c)>1?g.Children.only(null):g.isValidElement(c)?c.props.children:null:d);return e.jsx(Gj,{...n,ref:a,children:g.isValidElement(c)?g.cloneElement(c,void 0,l):null})}return e.jsx(Gj,{...n,ref:a,children:r})});Uj.displayName="Slot";var Gj=g.forwardRef((t,a)=>{const{children:r,...n}=t;if(g.isValidElement(r)){const s=Iq(r);return g.cloneElement(r,{...Nq(n,r.props),ref:a?PC(a,s):s})}return g.Children.count(r)>1?g.Children.only(null):null});Gj.displayName="SlotClone";var Sq=({children:t})=>e.jsx(e.Fragment,{children:t});function Lq(t){return g.isValidElement(t)&&t.type===Sq}function Nq(t,a){const r={...a};for(const n in a){const s=t[n],i=a[n];/^on[A-Z]/.test(n)?s&&i?r[n]=(...l)=>{i(...l),s(...l)}:s&&(r[n]=s):n==="style"?r[n]={...s,...i}:n==="className"&&(r[n]=[s,i].filter(Boolean).join(" "))}return{...t,...r}}function Iq(t){var n,s;let a=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=a&&"isReactWarning"in a&&a.isReactWarning;return r?t.ref:(a=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,r=a&&"isReactWarning"in a&&a.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}function Aq(t){const a=t+"CollectionProvider",[r,n]=Mq(a),[s,i]=r(a,{collectionRef:{current:null},itemMap:new Map}),c=y=>{const{scope:x,children:f}=y,v=M.useRef(null),k=M.useRef(new Map).current;return e.jsx(s,{scope:x,itemMap:k,collectionRef:v,children:f})};c.displayName=a;const l=t+"CollectionSlot",d=M.forwardRef((y,x)=>{const{scope:f,children:v}=y,k=i(l,f),w=f9(x,k.collectionRef);return e.jsx(Uj,{ref:w,children:v})});d.displayName=l;const h=t+"CollectionItemSlot",u="data-radix-collection-item",p=M.forwardRef((y,x)=>{const{scope:f,children:v,...k}=y,w=M.useRef(null),j=f9(x,w),S=i(h,f);return M.useEffect(()=>(S.itemMap.set(w,{ref:w,...k}),()=>void S.itemMap.delete(w))),e.jsx(Uj,{[u]:"",ref:j,children:v})});p.displayName=h;function m(y){const x=i(t+"CollectionConsumer",y);return M.useCallback(()=>{const v=x.collectionRef.current;if(!v)return[];const k=Array.from(v.querySelectorAll(`[${u}]`));return Array.from(x.itemMap.values()).sort((S,C)=>k.indexOf(S.ref.current)-k.indexOf(C.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:c,Slot:d,ItemSlot:p},m,n]}function Pq(t,a=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];function h(p){const{scope:m,children:y,...x}=p,f=(m==null?void 0:m[t][d])||l,v=g.useMemo(()=>x,Object.values(x));return e.jsx(f.Provider,{value:v,children:y})}function u(p,m){const y=(m==null?void 0:m[t][d])||l,x=g.useContext(y);if(x)return x;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return h.displayName=i+"Provider",[h,u]}const s=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return s.scopeName=t,[n,_q(s,...a)]}function _q(...t){const a=t[0];if(t.length===1)return a;const r=()=>{const n=t.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${a.scopeName}`]:c}),[c])}};return r.scopeName=a.scopeName,r}var Wj=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},Rq=g.useId||(()=>{}),Tq=0;function qN(t){const[a,r]=g.useState(Rq());return Wj(()=>{t||r(n=>n??String(Tq++))},[t]),t||(a?`radix-${a}`:"")}var DN=g.forwardRef((t,a)=>{const{children:r,...n}=t,s=g.Children.toArray(r),i=s.find(Dq);if(i){const c=i.props.children,l=s.map(d=>d===i?g.Children.count(c)>1?g.Children.only(null):g.isValidElement(c)?c.props.children:null:d);return e.jsx(Zj,{...n,ref:a,children:g.isValidElement(c)?g.cloneElement(c,void 0,l):null})}return e.jsx(Zj,{...n,ref:a,children:r})});DN.displayName="Slot";var Zj=g.forwardRef((t,a)=>{const{children:r,...n}=t;if(g.isValidElement(r)){const s=Eq(r);return g.cloneElement(r,{...zq(n,r.props),ref:a?PC(a,s):s})}return g.Children.count(r)>1?g.Children.only(null):null});Zj.displayName="SlotClone";var qq=({children:t})=>e.jsx(e.Fragment,{children:t});function Dq(t){return g.isValidElement(t)&&t.type===qq}function zq(t,a){const r={...a};for(const n in a){const s=t[n],i=a[n];/^on[A-Z]/.test(n)?s&&i?r[n]=(...l)=>{i(...l),s(...l)}:s&&(r[n]=s):n==="style"?r[n]={...s,...i}:n==="className"&&(r[n]=[s,i].filter(Boolean).join(" "))}return{...t,...r}}function Eq(t){var n,s;let a=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=a&&"isReactWarning"in a&&a.isReactWarning;return r?t.ref:(a=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,r=a&&"isReactWarning"in a&&a.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var Fq=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],No=Fq.reduce((t,a)=>{const r=g.forwardRef((n,s)=>{const{asChild:i,...c}=n,l=i?DN:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),e.jsx(l,{...c,ref:s})});return r.displayName=`Primitive.${a}`,{...t,[a]:r}},{});function _C(t){const a=g.useRef(t);return g.useEffect(()=>{a.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=a.current)==null?void 0:n.call(a,...r)},[])}function zN({prop:t,defaultProp:a,onChange:r=()=>{}}){const[n,s]=Oq({defaultProp:a,onChange:r}),i=t!==void 0,c=i?t:n,l=_C(r),d=g.useCallback(h=>{if(i){const p=typeof h=="function"?h(t):h;p!==t&&l(p)}else s(h)},[i,t,s,l]);return[c,d]}function Oq({defaultProp:t,onChange:a}){const r=g.useState(t),[n]=r,s=g.useRef(n),i=_C(a);return g.useEffect(()=>{s.current!==n&&(i(n),s.current=n)},[n,s,i]),r}var Hq=g.createContext(void 0);function EN(t){const a=g.useContext(Hq);return t||a||"ltr"}var yj="rovingFocusGroup.onEntryFocus",Vq={bubbles:!1,cancelable:!0},z9="RovingFocusGroup",[Jj,FN,Bq]=Aq(z9),[$q,ON]=Pq(z9,[Bq]),[Uq,Gq]=$q(z9),HN=g.forwardRef((t,a)=>e.jsx(Jj.Provider,{scope:t.__scopeRovingFocusGroup,children:e.jsx(Jj.Slot,{scope:t.__scopeRovingFocusGroup,children:e.jsx(Wq,{...t,ref:a})})}));HN.displayName=z9;var Wq=g.forwardRef((t,a)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:s=!1,dir:i,currentTabStopId:c,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:d,onEntryFocus:h,preventScrollOnEntryFocus:u=!1,...p}=t,m=g.useRef(null),y=f9(a,m),x=EN(i),[f=null,v]=zN({prop:c,defaultProp:l,onChange:d}),[k,w]=g.useState(!1),j=_C(h),S=FN(r),C=g.useRef(!1),[A,L]=g.useState(0);return g.useEffect(()=>{const b=m.current;if(b)return b.addEventListener(yj,j),()=>b.removeEventListener(yj,j)},[j]),e.jsx(Uq,{scope:r,orientation:n,dir:x,loop:s,currentTabStopId:f,onItemFocus:g.useCallback(b=>v(b),[v]),onItemShiftTab:g.useCallback(()=>w(!0),[]),onFocusableItemAdd:g.useCallback(()=>L(b=>b+1),[]),onFocusableItemRemove:g.useCallback(()=>L(b=>b-1),[]),children:e.jsx(No.div,{tabIndex:k||A===0?-1:0,"data-orientation":n,...p,ref:y,style:{outline:"none",...t.style},onMouseDown:Xa(t.onMouseDown,()=>{C.current=!0}),onFocus:Xa(t.onFocus,b=>{const N=!C.current;if(b.target===b.currentTarget&&N&&!k){const q=new CustomEvent(yj,Vq);if(b.currentTarget.dispatchEvent(q),!q.defaultPrevented){const P=S().filter(B=>B.focusable),R=P.find(B=>B.active),T=P.find(B=>B.id===f),W=[R,T,...P].filter(Boolean).map(B=>B.ref.current);$N(W,u)}}C.current=!1}),onBlur:Xa(t.onBlur,()=>w(!1))})})}),VN="RovingFocusGroupItem",BN=g.forwardRef((t,a)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:s=!1,tabStopId:i,...c}=t,l=qN(),d=i||l,h=Gq(VN,r),u=h.currentTabStopId===d,p=FN(r),{onFocusableItemAdd:m,onFocusableItemRemove:y}=h;return g.useEffect(()=>{if(n)return m(),()=>y()},[n,m,y]),e.jsx(Jj.ItemSlot,{scope:r,id:d,focusable:n,active:s,children:e.jsx(No.span,{tabIndex:u?0:-1,"data-orientation":h.orientation,...c,ref:a,onMouseDown:Xa(t.onMouseDown,x=>{n?h.onItemFocus(d):x.preventDefault()}),onFocus:Xa(t.onFocus,()=>h.onItemFocus(d)),onKeyDown:Xa(t.onKeyDown,x=>{if(x.key==="Tab"&&x.shiftKey){h.onItemShiftTab();return}if(x.target!==x.currentTarget)return;const f=Xq(x,h.orientation,h.dir);if(f!==void 0){if(x.metaKey||x.ctrlKey||x.altKey||x.shiftKey)return;x.preventDefault();let k=p().filter(w=>w.focusable).map(w=>w.ref.current);if(f==="last")k.reverse();else if(f==="prev"||f==="next"){f==="prev"&&k.reverse();const w=k.indexOf(x.currentTarget);k=h.loop?Yq(k,w+1):k.slice(w+1)}setTimeout(()=>$N(k))}})})})});BN.displayName=VN;var Zq={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Jq(t,a){return a!=="rtl"?t:t==="ArrowLeft"?"ArrowRight":t==="ArrowRight"?"ArrowLeft":t}function Xq(t,a,r){const n=Jq(t.key,r);if(!(a==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(a==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return Zq[n]}function $N(t,a=!1){const r=document.activeElement;for(const n of t)if(n===r||(n.focus({preventScroll:a}),document.activeElement!==r))return}function Yq(t,a){return t.map((r,n)=>t[(a+n)%t.length])}var Kq=HN,Qq=BN;function eD(t,a){return g.useReducer((r,n)=>a[r][n]??r,t)}var UN=t=>{const{present:a,children:r}=t,n=tD(a),s=typeof r=="function"?r({present:n.isPresent}):g.Children.only(r),i=f9(n.ref,aD(s));return typeof r=="function"||n.isPresent?g.cloneElement(s,{ref:i}):null};UN.displayName="Presence";function tD(t){const[a,r]=g.useState(),n=g.useRef({}),s=g.useRef(t),i=g.useRef("none"),c=t?"mounted":"unmounted",[l,d]=eD(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const h=gl(n.current);i.current=l==="mounted"?h:"none"},[l]),Wj(()=>{const h=n.current,u=s.current;if(u!==t){const m=i.current,y=gl(h);t?d("MOUNT"):y==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&m!==y?"ANIMATION_OUT":"UNMOUNT"),s.current=t}},[t,d]),Wj(()=>{if(a){let h;const u=a.ownerDocument.defaultView??window,p=y=>{const f=gl(n.current).includes(y.animationName);if(y.target===a&&f&&(d("ANIMATION_END"),!s.current)){const v=a.style.animationFillMode;a.style.animationFillMode="forwards",h=u.setTimeout(()=>{a.style.animationFillMode==="forwards"&&(a.style.animationFillMode=v)})}},m=y=>{y.target===a&&(i.current=gl(n.current))};return a.addEventListener("animationstart",m),a.addEventListener("animationcancel",p),a.addEventListener("animationend",p),()=>{u.clearTimeout(h),a.removeEventListener("animationstart",m),a.removeEventListener("animationcancel",p),a.removeEventListener("animationend",p)}}else d("ANIMATION_END")},[a,d]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:g.useCallback(h=>{h&&(n.current=getComputedStyle(h)),r(h)},[])}}function gl(t){return(t==null?void 0:t.animationName)||"none"}function aD(t){var n,s;let a=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=a&&"isReactWarning"in a&&a.isReactWarning;return r?t.ref:(a=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,r=a&&"isReactWarning"in a&&a.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var RC="Tabs",[rD,YG]=wq(RC,[ON]),GN=ON(),[nD,TC]=rD(RC),WN=g.forwardRef((t,a)=>{const{__scopeTabs:r,value:n,onValueChange:s,defaultValue:i,orientation:c="horizontal",dir:l,activationMode:d="automatic",...h}=t,u=EN(l),[p,m]=zN({prop:n,onChange:s,defaultProp:i});return e.jsx(nD,{scope:r,baseId:qN(),value:p,onValueChange:m,orientation:c,dir:u,activationMode:d,children:e.jsx(No.div,{dir:u,"data-orientation":c,...h,ref:a})})});WN.displayName=RC;var ZN="TabsList",JN=g.forwardRef((t,a)=>{const{__scopeTabs:r,loop:n=!0,...s}=t,i=TC(ZN,r),c=GN(r);return e.jsx(Kq,{asChild:!0,...c,orientation:i.orientation,dir:i.dir,loop:n,children:e.jsx(No.div,{role:"tablist","aria-orientation":i.orientation,...s,ref:a})})});JN.displayName=ZN;var XN="TabsTrigger",YN=g.forwardRef((t,a)=>{const{__scopeTabs:r,value:n,disabled:s=!1,...i}=t,c=TC(XN,r),l=GN(r),d=eI(c.baseId,n),h=tI(c.baseId,n),u=n===c.value;return e.jsx(Qq,{asChild:!0,...l,focusable:!s,active:u,children:e.jsx(No.button,{type:"button",role:"tab","aria-selected":u,"aria-controls":h,"data-state":u?"active":"inactive","data-disabled":s?"":void 0,disabled:s,id:d,...i,ref:a,onMouseDown:Xa(t.onMouseDown,p=>{!s&&p.button===0&&p.ctrlKey===!1?c.onValueChange(n):p.preventDefault()}),onKeyDown:Xa(t.onKeyDown,p=>{[" ","Enter"].includes(p.key)&&c.onValueChange(n)}),onFocus:Xa(t.onFocus,()=>{const p=c.activationMode!=="manual";!u&&!s&&p&&c.onValueChange(n)})})})});YN.displayName=XN;var KN="TabsContent",QN=g.forwardRef((t,a)=>{const{__scopeTabs:r,value:n,forceMount:s,children:i,...c}=t,l=TC(KN,r),d=eI(l.baseId,n),h=tI(l.baseId,n),u=n===l.value,p=g.useRef(u);return g.useEffect(()=>{const m=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(m)},[]),e.jsx(UN,{present:s||u,children:({present:m})=>e.jsx(No.div,{"data-state":u?"active":"inactive","data-orientation":l.orientation,role:"tabpanel","aria-labelledby":d,hidden:!m,id:h,tabIndex:0,...c,ref:a,style:{...t.style,animationDuration:p.current?"0s":void 0},children:m&&i})})});QN.displayName=KN;function eI(t,a){return`${t}-trigger-${a}`}function tI(t,a){return`${t}-content-${a}`}var sD=WN,aI=JN,rI=YN,nI=QN;const Tr=sD,tr=g.forwardRef(({className:t,...a},r)=>e.jsx(aI,{ref:r,className:me("inline-flex items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",t),...a}));tr.displayName=aI.displayName;const Ce=g.forwardRef(({className:t,...a},r)=>e.jsx(rI,{ref:r,className:me("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),...a}));Ce.displayName=rI.displayName;const Se=g.forwardRef(({className:t,...a},r)=>e.jsx(nI,{ref:r,className:me("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",t),...a}));Se.displayName=nI.displayName;const ce=g.forwardRef(({className:t,...a},r)=>e.jsx("div",{ref:r,className:me("rounded-xl border bg-card text-card-foreground shadow",t),...a}));ce.displayName="Card";const xe=g.forwardRef(({className:t,...a},r)=>e.jsx("div",{ref:r,className:me("flex flex-col space-y-1.5 p-6",t),...a}));xe.displayName="CardHeader";const ke=g.forwardRef(({className:t,...a},r)=>e.jsx("h3",{ref:r,className:me("font-semibold leading-none tracking-tight",t),...a}));ke.displayName="CardTitle";const Ge=g.forwardRef(({className:t,...a},r)=>e.jsx("p",{ref:r,className:me("text-sm text-muted-foreground",t),...a}));Ge.displayName="CardDescription";const de=g.forwardRef(({className:t,...a},r)=>e.jsx("div",{ref:r,className:me("p-6 pt-0",t),...a}));de.displayName="CardContent";const ko=g.forwardRef(({className:t,...a},r)=>e.jsx("div",{ref:r,className:me("flex items-center p-6 pt-0",t),...a}));ko.displayName="CardFooter";function iD({groupedIds:t,tabTitles:a,lang:r,url:n,PromotionsTitle:s,buttonMsg:i="Select Plan"}){const[c,l]=M.useState([]),[d,h]=M.useState("tab-0"),u=n||window.location.origin||"http://localhost:8000";M.useEffect(()=>{(async()=>{try{const x=r??"en",f=t.map(async k=>(await fetch(`${u}/api/v1/promotions/?ids=${k}`,{method:"GET",headers:{"Accept-Language":x,"Content-Type":"application/json"}})).json()),v=await Promise.all(f);l(v)}catch{}})()},[t,u,r]);const p=y=>{const x=new CustomEvent("planSelected",{bubbles:!0,detail:{plan:y,tabType:d,timestamp:new Date().toISOString()}}),f=document.querySelector(".group-prices-component");f&&f.dispatchEvent(x)},m=`grid sm:grid-cols-2 lg:grid-cols-${a.length} mb-8`;return e.jsx("section",{id:"pricing",className:"w-full py-12 md:py-24 lg:py-32",children:e.jsxs("div",{className:"container px-4 md:px-6",children:[s??e.jsx("h2",{className:"text-3xl font-bold tracking-tighter sm:text-4xl md:text-5xl text-center mb-8",children:s}),e.jsxs(Tr,{defaultValue:"tab-0",className:"w-full",onValueChange:y=>h(y),children:[e.jsx(tr,{className:m,children:a.map((y,x)=>e.jsx(Ce,{value:`tab-${x}`,children:y},x))}),c.map((y,x)=>e.jsx(Se,{value:`tab-${x}`,children:e.jsx("div",{className:"grid gap-8 sm:grid-cols-2 lg:grid-cols-3",children:y.map((f,v)=>e.jsxs(ce,{className:"flex flex-col",children:[e.jsxs(xe,{children:[e.jsx(ke,{children:f.title}),e.jsx(Ge,{children:f.short_description})]}),e.jsxs(de,{className:"flex-1",children:[e.jsxs("p",{className:"text-3xl font-bold",children:["€",f.price]}),e.jsx("ul",{className:"mt-4 space-y-2",children:f.features&&f.features.map((k,w)=>e.jsxs("li",{className:"flex items-center",children:[e.jsx(Fo,{className:"mr-2 h-4 w-4 text-primary"})," ",k]},w))})]}),e.jsx(ko,{children:e.jsx(D,{onClick:()=>p(f),className:"w-full bg-primary text-primary-foreground hover:bg-primary/90",children:i})})]},v))})},x))]})]})})}function oD({isOpen:t,items:a}){const r=a.reduce((n,s)=>n+s.price,0);return e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:me("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:e.jsxs("div",{className:"h-full flex flex-col",children:[e.jsxs("div",{className:"p-4 border-b flex items-center justify-between",children:[e.jsx("h2",{className:"text-xl font-semibold",children:"Summary"}),e.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:[e.jsx(Ct,{className:"h-4 w-4"}),e.jsx("span",{className:"sr-only",children:"Close panel"})]})]}),e.jsx("div",{className:"flex-1 overflow-auto p-4",children:a.map(n=>e.jsxs("div",{className:"mb-4 p-3 border rounded-lg",children:[e.jsxs("div",{className:"flex justify-between items-start mb-1",children:[e.jsx("span",{className:"font-medium",children:n.name}),e.jsxs("span",{className:"text-sm",children:["$",n.price.toFixed(2)]})]}),e.jsx("p",{className:"text-sm text-gray-600",children:n.description})]},n.id))}),e.jsx("div",{className:"p-4 border-t",children:e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"font-semibold",children:"Total:"}),e.jsxs("span",{className:"font-semibold",children:["$",r.toFixed(2)]})]})})]})}),t&&e.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 $a(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sI(t,a){t.prototype=Object.create(a.prototype),t.prototype.constructor=t,t.__proto__=a}/*!
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 Bt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},ac={duration:.5,overwrite:!1,delay:0},qC,gt,Ve,Kt=1e8,Fe=1/Kt,Xj=Math.PI*2,oD=Xj/4,cD=0,iI=Math.sqrt,lD=Math.cos,dD=Math.sin,it=function(a){return typeof a=="string"},Ze=function(a){return typeof a=="function"},Za=function(a){return typeof a=="number"},DC=function(a){return typeof a>"u"},_a=function(a){return typeof a=="object"},Nt=function(a){return a!==!1},zC=function(){return typeof window<"u"},kl=function(a){return Ze(a)||it(a)},oI=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},kt=Array.isArray,Yj=/(?:-?\.?\d|\.)+/gi,cI=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,To=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,mj=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,lI=/[+-]=-?[.\d]+/,dI=/[^,'"\[\]\s]+/gi,hD=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Be,wa,Kj,EC,Ut={},x9={},hI,uI=function(a){return(x9=vo(a,Ut))&&_t},FC=function(a,r){return console.warn("Invalid property",a,"set to",r,"Missing plugin? gsap.registerPlugin()")},el=function(a,r){return!r&&console.warn(a)},pI=function(a,r){return a&&(Ut[a]=r)&&x9&&(x9[a]=r)||Ut},tl=function(){return 0},uD={suppressEvents:!0,isStart:!0,kill:!1},o9={suppressEvents:!0,kill:!1},pD={suppressEvents:!0},OC={},jr=[],Qj={},yI,qt={},fj={},tL=30,c9=[],HC="",VC=function(a){var r=a[0],n,s;if(_a(r)||Ze(r)||(a=[a]),!(n=(r._gsap||{}).harness)){for(s=c9.length;s--&&!c9[s].targetTest(r););n=c9[s]}for(s=a.length;s--;)a[s]&&(a[s]._gsap||(a[s]._gsap=new EI(a[s],n)))||a.splice(s,1);return a},yo=function(a){return a._gsap||VC(Qt(a))[0]._gsap},mI=function(a,r,n){return(n=a[r])&&Ze(n)?a[r]():DC(n)&&a.getAttribute&&a.getAttribute(r)||n},It=function(a,r){return(a=a.split(",")).forEach(r)||a},Xe=function(a){return Math.round(a*1e5)/1e5||0},nt=function(a){return Math.round(a*1e7)/1e7||0},Xo=function(a,r){var n=r.charAt(0),s=parseFloat(r.substr(2));return a=parseFloat(a),n==="+"?a+s:n==="-"?a-s:n==="*"?a*s:a/s},yD=function(a,r){for(var n=r.length,s=0;a.indexOf(r[s])<0&&++s<n;);return s<n},g9=function(){var a=jr.length,r=jr.slice(0),n,s;for(Qj={},jr.length=0,n=0;n<a;n++)s=r[n],s&&s._lazy&&(s.render(s._lazy[0],s._lazy[1],!0)._lazy=0)},fI=function(a,r,n,s){jr.length&&!gt&&g9(),a.render(r,n,gt&&r<0&&(a._initted||a._startAt)),jr.length&&!gt&&g9()},xI=function(a){var r=parseFloat(a);return(r||r===0)&&(a+"").match(dI).length<2?r:it(a)?a.trim():a},gI=function(a){return a},sa=function(a,r){for(var n in r)n in a||(a[n]=r[n]);return a},mD=function(a){return function(r,n){for(var s in n)s in r||s==="duration"&&a||s==="ease"||(r[s]=n[s])}},vo=function(a,r){for(var n in r)a[n]=r[n];return a},aL=function t(a,r){for(var n in r)n!=="__proto__"&&n!=="constructor"&&n!=="prototype"&&(a[n]=_a(r[n])?t(a[n]||(a[n]={}),r[n]):r[n]);return a},k9=function(a,r){var n={},s;for(s in a)s in r||(n[s]=a[s]);return n},Zc=function(a){var r=a.parent||Be,n=a.keyframes?mD(kt(a.keyframes)):sa;if(Nt(a.inherit))for(;r;)n(a,r.vars.defaults),r=r.parent||r._dp;return a},fD=function(a,r){for(var n=a.length,s=n===r.length;s&&n--&&a[n]===r[n];);return n<0},kI=function(a,r,n,s,i){var c=a[s],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=a[n],a[n]=r),r._next?r._next._prev=r:a[s]=r,r._prev=c,r.parent=r._dp=a,r},E9=function(a,r,n,s){n===void 0&&(n="_first"),s===void 0&&(s="_last");var i=r._prev,c=r._next;i?i._next=c:a[n]===r&&(a[n]=c),c?c._prev=i:a[s]===r&&(a[s]=i),r._next=r._prev=r.parent=null},Lr=function(a,r){a.parent&&(!r||a.parent.autoRemoveChildren)&&a.parent.remove&&a.parent.remove(a),a._act=0},mo=function(a,r){if(a&&(!r||r._end>a._dur||r._start<0))for(var n=a;n;)n._dirty=1,n=n.parent;return a},xD=function(a){for(var r=a.parent;r&&r.parent;)r._dirty=1,r.totalDuration(),r=r.parent;return a},eC=function(a,r,n,s){return a._startAt&&(gt?a._startAt.revert(o9):a.vars.immediateRender&&!a.vars.autoRevert||a._startAt.render(r,!0,s))},gD=function t(a){return!a||a._ts&&t(a.parent)},rL=function(a){return a._repeat?rc(a._tTime,a=a.duration()+a._rDelay)*a:0},rc=function(a,r){var n=Math.floor(a/=r);return a&&n===a?n-1:n},v9=function(a,r){return(a-r._start)*r._ts+(r._ts>=0?0:r._dirty?r.totalDuration():r._tDur)},F9=function(a){return a._end=nt(a._start+(a._tDur/Math.abs(a._ts||a._rts||Fe)||0))},O9=function(a,r){var n=a._dp;return n&&n.smoothChildTiming&&a._ts&&(a._start=nt(n._time-(a._ts>0?r/a._ts:((a._dirty?a.totalDuration():a._tDur)-r)/-a._ts)),F9(a),n._dirty||mo(n,a)),a},vI=function(a,r){var n;if((r._time||!r._dur&&r._initted||r._start<a._time&&(r._dur||!r.add))&&(n=v9(a.rawTime(),r),(!r._dur||hl(0,r.totalDuration(),n)-r._tTime>Fe)&&r.render(n,!0)),mo(a,r)._dp&&a._initted&&a._time>=a._dur&&a._ts){if(a._dur<a.duration())for(n=a;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;a._zTime=-Fe}},ja=function(a,r,n,s){return r.parent&&Lr(r),r._start=nt((Za(n)?n:n||a!==Be?Xt(a,n,r):a._time)+r._delay),r._end=nt(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),kI(a,r,"_first","_last",a._sort?"_start":0),tC(r)||(a._recent=r),s||vI(a,r),a._ts<0&&O9(a,a._tTime),a},wI=function(a,r){return(Ut.ScrollTrigger||FC("scrollTrigger",r))&&Ut.ScrollTrigger.create(r,a)},bI=function(a,r,n,s,i){if($C(a,r,i),!a._initted)return 1;if(!n&&a._pt&&!gt&&(a._dur&&a.vars.lazy!==!1||!a._dur&&a.vars.lazy)&&yI!==Ft.frame)return jr.push(a),a._lazy=[i,s],1},kD=function t(a){var r=a.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||t(r))},tC=function(a){var r=a.data;return r==="isFromStart"||r==="isStart"},vD=function(a,r,n,s){var i=a.ratio,c=r<0||!r&&(!a._start&&kD(a)&&!(!a._initted&&tC(a))||(a._ts<0||a._dp._ts<0)&&!tC(a))?0:1,l=a._rDelay,d=0,h,u,p;if(l&&a._repeat&&(d=hl(0,a._tDur,r),u=rc(d,l),a._yoyo&&u&1&&(c=1-c),u!==rc(a._tTime,l)&&(i=1-c,a.vars.repeatRefresh&&a._initted&&a.invalidate())),c!==i||gt||s||a._zTime===Fe||!r&&a._zTime){if(!a._initted&&bI(a,r,s,n,d))return;for(p=a._zTime,a._zTime=r||(n?Fe:0),n||(n=r&&!p),a.ratio=c,a._from&&(c=1-c),a._time=0,a._tTime=d,h=a._pt;h;)h.r(c,h.d),h=h._next;r<0&&eC(a,r,n,!0),a._onUpdate&&!n&&Ht(a,"onUpdate"),d&&a._repeat&&!n&&a.parent&&Ht(a,"onRepeat"),(r>=a._tDur||r<0)&&a.ratio===c&&(c&&Lr(a,1),!n&&!gt&&(Ht(a,c?"onComplete":"onReverseComplete",!0),a._prom&&a._prom()))}else a._zTime||(a._zTime=r)},wD=function(a,r,n){var s;if(n>r)for(s=a._first;s&&s._start<=n;){if(s.data==="isPause"&&s._start>r)return s;s=s._next}else for(s=a._last;s&&s._start>=n;){if(s.data==="isPause"&&s._start<r)return s;s=s._prev}},nc=function(a,r,n,s){var i=a._repeat,c=nt(r)||0,l=a._tTime/a._tDur;return l&&!s&&(a._time*=c/a._dur),a._dur=c,a._tDur=i?i<0?1e10:nt(c*(i+1)+a._rDelay*i):c,l>0&&!s&&O9(a,a._tTime=a._tDur*l),a.parent&&F9(a),n||mo(a.parent,a),a},nL=function(a){return a instanceof Mt?mo(a):nc(a,a._dur)},bD={_start:0,endTime:tl,totalDuration:tl},Xt=function t(a,r,n){var s=a.labels,i=a._recent||bD,c=a.duration()>=Kt?i.endTime(!1):a._dur,l,d,h;return it(r)&&(isNaN(r)||r in s)?(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 s||(s[r]=c),s[r]):(d=parseFloat(r.charAt(l-1)+r.substr(l+1)),h&&n&&(d=d/100*(kt(n)?n[0]:n).totalDuration()),l>1?t(a,r.substr(0,l-1),n)+d:c+d)):r==null?c:+r},Jc=function(a,r,n){var s=Za(r[1]),i=(s?2:1)+(a<2?0:1),c=r[i],l,d;if(s&&(c.duration=r[1]),c.parent=n,a){for(l=c,d=n;d&&!("immediateRender"in l);)l=d.vars.defaults||{},d=Nt(d.vars.inherit)&&d.parent;c.immediateRender=Nt(l.immediateRender),a<2?c.runBackwards=1:c.startAt=r[i-1]}return new Ye(r[0],c,r[i+1])},Tr=function(a,r){return a||a===0?r(a):r},hl=function(a,r,n){return n<a?a:n>r?r:n},ft=function(a,r){return!it(a)||!(r=hD.exec(a))?"":r[1]},MD=function(a,r,n){return Tr(n,function(s){return hl(a,r,s)})},aC=[].slice,MI=function(a,r){return a&&_a(a)&&"length"in a&&(!r&&!a.length||a.length-1 in a&&_a(a[0]))&&!a.nodeType&&a!==wa},jD=function(a,r,n){return n===void 0&&(n=[]),a.forEach(function(s){var i;return it(s)&&!r||MI(s,1)?(i=n).push.apply(i,Qt(s)):n.push(s)})||n},Qt=function(a,r,n){return Ve&&!r&&Ve.selector?Ve.selector(a):it(a)&&!n&&(Kj||!sc())?aC.call((r||EC).querySelectorAll(a),0):kt(a)?jD(a,n):MI(a)?aC.call(a,0):a?[a]:[]},rC=function(a){return a=Qt(a)[0]||el("Invalid scope")||{},function(r){var n=a.current||a.nativeElement||a;return Qt(r,n.querySelectorAll?n:n===a?el("Invalid scope")||EC.createElement("div"):a)}},jI=function(a){return a.sort(function(){return .5-Math.random()})},CI=function(a){if(Ze(a))return a;var r=_a(a)?a:{each:a},n=fo(r.ease),s=r.from||0,i=parseFloat(r.base)||0,c={},l=s>0&&s<1,d=isNaN(s)||l,h=r.axis,u=s,p=s;return it(s)?u=p={center:.5,edges:.5,end:1}[s]||0:!l&&d&&(u=s[0],p=s[1]),function(m,y,x){var f=(x||r).length,v=c[f],k,w,j,S,C,A,L,b,N;if(!v){if(N=r.grid==="auto"?0:(r.grid||[1,Kt])[1],!N){for(L=-Kt;L<(L=x[N++].getBoundingClientRect().left)&&N<f;);N<f&&N--}for(v=c[f]=[],k=d?Math.min(N,f)*u-.5:s%N,w=N===Kt?0:d?f*p/N-.5:s/N|0,L=0,b=Kt,A=0;A<f;A++)j=A%N-k,S=w-(A/N|0),v[A]=C=h?Math.abs(h==="y"?S:j):iI(j*j+S*S),C>L&&(L=C),C<b&&(b=C);s==="random"&&jI(v),v.max=L-b,v.min=b,v.v=f=(parseFloat(r.amount)||parseFloat(r.each)*(N>f?f-1:h?h==="y"?f/N:N:Math.max(N,f/N))||0)*(s==="edges"?-1:1),v.b=f<0?i-f:i,v.u=ft(r.amount||r.each)||0,n=n&&f<0?qI(n):n}return f=(v[m]-v.min)/v.max||0,nt(v.b+(n?n(f):f)*v.v)+v.u}},nC=function(a){var r=Math.pow(10,((a+"").split(".")[1]||"").length);return function(n){var s=nt(Math.round(parseFloat(n)/a)*a*r);return(s-s%1)/r+(Za(n)?0:ft(n))}},SI=function(a,r){var n=kt(a),s,i;return!n&&_a(a)&&(s=n=a.radius||Kt,a.values?(a=Qt(a.values),(i=!Za(a[0]))&&(s*=s)):a=nC(a.increment)),Tr(r,n?Ze(a)?function(c){return i=a(c),Math.abs(i-c)<=s?i:c}:function(c){for(var l=parseFloat(i?c.x:c),d=parseFloat(i?c.y:0),h=Kt,u=0,p=a.length,m,y;p--;)i?(m=a[p].x-l,y=a[p].y-d,m=m*m+y*y):m=Math.abs(a[p]-l),m<h&&(h=m,u=p);return u=!s||h<=s?a[u]:c,i||u===c||Za(c)?u:u+ft(c)}:nC(a))},LI=function(a,r,n,s){return Tr(kt(a)?!r:n===!0?!!(n=0):!s,function(){return kt(a)?a[~~(Math.random()*a.length)]:(n=n||1e-5)&&(s=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((a-n/2+Math.random()*(r-a+n*.99))/n)*n*s)/s})},CD=function(){for(var a=arguments.length,r=new Array(a),n=0;n<a;n++)r[n]=arguments[n];return function(s){return r.reduce(function(i,c){return c(i)},s)}},SD=function(a,r){return function(n){return a(parseFloat(n))+(r||ft(n))}},LD=function(a,r,n){return II(a,r,0,1,n)},NI=function(a,r,n){return Tr(n,function(s){return a[~~r(s)]})},ND=function t(a,r,n){var s=r-a;return kt(a)?NI(a,t(0,a.length),r):Tr(n,function(i){return(s+(i-a)%s)%s+a})},ID=function t(a,r,n){var s=r-a,i=s*2;return kt(a)?NI(a,t(0,a.length-1),r):Tr(n,function(c){return c=(i+(c-a)%i)%i||0,a+(c>s?i-c:c)})},al=function(a){for(var r=0,n="",s,i,c,l;~(s=a.indexOf("random(",r));)c=a.indexOf(")",s),l=a.charAt(s+7)==="[",i=a.substr(s+7,c-s-7).match(l?dI:Yj),n+=a.substr(r,s-r)+LI(l?i:+i[0],l?0:+i[1],+i[2]||1e-5),r=c+1;return n+a.substr(r,a.length-r)},II=function(a,r,n,s,i){var c=r-a,l=s-n;return Tr(i,function(d){return n+((d-a)/c*l||0)})},AD=function t(a,r,n,s){var i=isNaN(a+r)?0:function(y){return(1-y)*a+y*r};if(!i){var c=it(a),l={},d,h,u,p,m;if(n===!0&&(s=1)&&(n=null),c)a={p:a},r={p:r};else if(kt(a)&&!kt(r)){for(u=[],p=a.length,m=p-2,h=1;h<p;h++)u.push(t(a[h-1],a[h]));p--,i=function(x){x*=p;var f=Math.min(m,~~x);return u[f](x-f)},n=r}else s||(a=vo(kt(a)?[]:{},a));if(!u){for(d in r)BC.call(l,a,d,"get",r[d]);i=function(x){return WC(x,l)||(c?a.p:a)}}}return Tr(n,i)},sL=function(a,r,n){var s=a.labels,i=Kt,c,l,d;for(c in s)l=s[c]-r,l<0==!!n&&l&&i>(l=Math.abs(l))&&(d=c,i=l);return d},Ht=function(a,r,n){var s=a.vars,i=s[r],c=Ve,l=a._ctx,d,h,u;if(i)return d=s[r+"Params"],h=s.callbackScope||a,n&&jr.length&&g9(),l&&(Ve=l),u=d?i.apply(h,d):i.call(h),Ve=c,u},kc=function(a){return Lr(a),a.scrollTrigger&&a.scrollTrigger.kill(!!gt),a.progress()<1&&Ht(a,"onInterrupt"),a},qo,AI=[],PI=function(a){if(a)if(a=!a.name&&a.default||a,zC()||a.headless){var r=a.name,n=Ze(a),s=r&&!n&&a.init?function(){this._props=[]}:a,i={init:tl,render:WC,add:BC,kill:GD,modifier:UD,rawVars:0},c={targetTest:0,get:0,getSetter:GC,aliases:{},register:0};if(sc(),a!==s){if(qt[r])return;sa(s,sa(k9(a,i),c)),vo(s.prototype,vo(i,k9(a,c))),qt[s.prop=r]=s,a.targetTest&&(c9.push(s),OC[r]=1),r=(r==="css"?"CSS":r.charAt(0).toUpperCase()+r.substr(1))+"Plugin"}pI(r,s),a.register&&a.register(_t,s,At)}else AI.push(a)},qe=255,vc={aqua:[0,qe,qe],lime:[0,qe,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,qe],navy:[0,0,128],white:[qe,qe,qe],olive:[128,128,0],yellow:[qe,qe,0],orange:[qe,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[qe,0,0],pink:[qe,192,203],cyan:[0,qe,qe],transparent:[qe,qe,qe,0]},xj=function(a,r,n){return a+=a<0?1:a>1?-1:0,(a*6<1?r+(n-r)*a*6:a<.5?n:a*3<2?r+(n-r)*(2/3-a)*6:r)*qe+.5|0},_I=function(a,r,n){var s=a?Za(a)?[a>>16,a>>8&qe,a&qe]:0:vc.black,i,c,l,d,h,u,p,m,y,x;if(!s){if(a.substr(-1)===","&&(a=a.substr(0,a.length-1)),vc[a])s=vc[a];else if(a.charAt(0)==="#"){if(a.length<6&&(i=a.charAt(1),c=a.charAt(2),l=a.charAt(3),a="#"+i+i+c+c+l+l+(a.length===5?a.charAt(4)+a.charAt(4):"")),a.length===9)return s=parseInt(a.substr(1,6),16),[s>>16,s>>8&qe,s&qe,parseInt(a.substr(7),16)/255];a=parseInt(a.substr(1),16),s=[a>>16,a>>8&qe,a&qe]}else if(a.substr(0,3)==="hsl"){if(s=x=a.match(Yj),!r)d=+s[0]%360/360,h=+s[1]/100,u=+s[2]/100,c=u<=.5?u*(h+1):u+h-u*h,i=u*2-c,s.length>3&&(s[3]*=1),s[0]=xj(d+1/3,i,c),s[1]=xj(d,i,c),s[2]=xj(d-1/3,i,c);else if(~a.indexOf("="))return s=a.match(cI),n&&s.length<4&&(s[3]=1),s}else s=a.match(Yj)||vc.transparent;s=s.map(Number)}return r&&!x&&(i=s[0]/qe,c=s[1]/qe,l=s[2]/qe,p=Math.max(i,c,l),m=Math.min(i,c,l),u=(p+m)/2,p===m?d=h=0:(y=p-m,h=u>.5?y/(2-p-m):y/(p+m),d=p===i?(c-l)/y+(c<l?6:0):p===c?(l-i)/y+2:(i-c)/y+4,d*=60),s[0]=~~(d+.5),s[1]=~~(h*100+.5),s[2]=~~(u*100+.5)),n&&s.length<4&&(s[3]=1),s},RI=function(a){var r=[],n=[],s=-1;return a.split(Cr).forEach(function(i){var c=i.match(To)||[];r.push.apply(r,c),n.push(s+=c.length+1)}),r.c=n,r},iL=function(a,r,n){var s="",i=(a+s).match(Cr),c=r?"hsla(":"rgba(",l=0,d,h,u,p;if(!i)return a;if(i=i.map(function(m){return(m=_I(m,r,1))&&c+(r?m[0]+","+m[1]+"%,"+m[2]+"%,"+m[3]:m.join(","))+")"}),n&&(u=RI(a),d=n.c,d.join(s)!==u.c.join(s)))for(h=a.replace(Cr,"1").split(To),p=h.length-1;l<p;l++)s+=h[l]+(~d.indexOf(l)?i.shift()||c+"0,0,0,0)":(u.length?u:i.length?i:n).shift());if(!h)for(h=a.split(Cr),p=h.length-1;l<p;l++)s+=h[l]+i[l];return s+h[p]},Cr=function(){var t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",a;for(a in vc)t+="|"+a+"\\b";return new RegExp(t+")","gi")}(),PD=/hsl[a]?\(/,TI=function(a){var r=a.join(" "),n;if(Cr.lastIndex=0,Cr.test(r))return n=PD.test(r),a[1]=iL(a[1],n),a[0]=iL(a[0],n,RI(a[1])),!0},rl,Ft=function(){var t=Date.now,a=500,r=33,n=t(),s=n,i=1e3/240,c=i,l=[],d,h,u,p,m,y,x=function f(v){var k=t()-s,w=v===!0,j,S,C,A;if((k>a||k<0)&&(n+=k-r),s+=k,C=s-n,j=C-c,(j>0||w)&&(A=++p.frame,m=C-p.time*1e3,p.time=C=C/1e3,c+=j+(j>=i?4:i-j),S=1),w||(d=h(f)),S)for(y=0;y<l.length;y++)l[y](C,m,A,v)};return p={time:0,frame:0,tick:function(){x(!0)},deltaRatio:function(v){return m/(1e3/(v||60))},wake:function(){hI&&(!Kj&&zC()&&(wa=Kj=window,EC=wa.document||{},Ut.gsap=_t,(wa.gsapVersions||(wa.gsapVersions=[])).push(_t.version),uI(x9||wa.GreenSockGlobals||!wa.gsap&&wa||{}),AI.forEach(PI)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,d&&p.sleep(),h=u||function(v){return setTimeout(v,c-p.time*1e3+1|0)},rl=1,x(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(d),rl=0,h=tl},lagSmoothing:function(v,k){a=v||1/0,r=Math.min(k||33,a)},fps:function(v){i=1e3/(v||240),c=p.time*1e3+i},add:function(v,k,w){var j=k?function(S,C,A,L){v(S,C,A,L),p.remove(j)}:v;return p.remove(v),l[w?"unshift":"push"](j),sc(),j},remove:function(v,k){~(k=l.indexOf(v))&&l.splice(k,1)&&y>=k&&y--},_listeners:l},p}(),sc=function(){return!rl&&Ft.wake()},Ie={},_D=/^[\d.\-M][\d.\-,\s]/,RD=/["']/g,TD=function(a){for(var r={},n=a.substr(1,a.length-3).split(":"),s=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[s]=isNaN(h)?h.replace(RD,"").trim():+h,s=d.substr(l+1).trim();return r},qD=function(a){var r=a.indexOf("(")+1,n=a.indexOf(")"),s=a.indexOf("(",r);return a.substring(r,~s&&s<n?a.indexOf(")",n+1):n)},DD=function(a){var r=(a+"").split("("),n=Ie[r[0]];return n&&r.length>1&&n.config?n.config.apply(null,~a.indexOf("{")?[TD(r[1])]:qD(a).split(",").map(xI)):Ie._CE&&_D.test(a)?Ie._CE("",a):n},qI=function(a){return function(r){return 1-a(1-r)}},DI=function t(a,r){for(var n=a._first,s;n;)n instanceof Mt?t(n,r):n.vars.yoyoEase&&(!n._yoyo||!n._repeat)&&n._yoyo!==r&&(n.timeline?t(n.timeline,r):(s=n._ease,n._ease=n._yEase,n._yEase=s,n._yoyo=r)),n=n._next},fo=function(a,r){return a&&(Ze(a)?a:Ie[a]||DD(a))||r},Io=function(a,r,n,s){n===void 0&&(n=function(d){return 1-r(1-d)}),s===void 0&&(s=function(d){return d<.5?r(d*2)/2:1-r((1-d)*2)/2});var i={easeIn:r,easeOut:n,easeInOut:s},c;return It(a,function(l){Ie[l]=Ut[l]=i,Ie[c=l.toLowerCase()]=n;for(var d in i)Ie[c+(d==="easeIn"?".in":d==="easeOut"?".out":".inOut")]=Ie[l+"."+d]=i[d]}),i},zI=function(a){return function(r){return r<.5?(1-a(1-r*2))/2:.5+a((r-.5)*2)/2}},gj=function t(a,r,n){var s=r>=1?r:1,i=(n||(a?.3:.45))/(r<1?r:1),c=i/Xj*(Math.asin(1/s)||0),l=function(u){return u===1?1:s*Math.pow(2,-10*u)*dD((u-c)*i)+1},d=a==="out"?l:a==="in"?function(h){return 1-l(1-h)}:zI(l);return i=Xj/i,d.config=function(h,u){return t(a,h,u)},d},kj=function t(a,r){r===void 0&&(r=1.70158);var n=function(c){return c?--c*c*((r+1)*c+r)+1:0},s=a==="out"?n:a==="in"?function(i){return 1-n(1-i)}:zI(n);return s.config=function(i){return t(a,i)},s};It("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,a){var r=a<5?a+1:a;Io(t+",Power"+(r-1),a?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})});Ie.Linear.easeNone=Ie.none=Ie.Linear.easeIn;Io("Elastic",gj("in"),gj("out"),gj());(function(t,a){var r=1/a,n=2*r,s=2.5*r,i=function(l){return l<r?t*l*l:l<n?t*Math.pow(l-1.5/a,2)+.75:l<s?t*(l-=2.25/a)*l+.9375:t*Math.pow(l-2.625/a,2)+.984375};Io("Bounce",function(c){return 1-i(1-c)},i)})(7.5625,2.75);Io("Expo",function(t){return t?Math.pow(2,10*(t-1)):0});Io("Circ",function(t){return-(iI(1-t*t)-1)});Io("Sine",function(t){return t===1?1:-lD(t*oD)+1});Io("Back",kj("in"),kj("out"),kj());Ie.SteppedEase=Ie.steps=Ut.SteppedEase={config:function(a,r){a===void 0&&(a=1);var n=1/a,s=a+(r?0:1),i=r?1:0,c=1-Fe;return function(l){return((s*hl(0,c,l)|0)+i)*n}}};ac.ease=Ie["quad.out"];It("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return HC+=t+","+t+"Params,"});var EI=function(a,r){this.id=cD++,a._gsap=this,this.target=a,this.harness=r,this.get=r?r.get:mI,this.set=r?r.getSetter:GC},nl=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,nc(this,+r.duration,1,1),this.data=r.data,Ve&&(this._ctx=Ve,Ve.data.push(this)),rl||Ft.wake()}var a=t.prototype;return a.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},a.duration=function(n){return arguments.length?this.totalDuration(this._repeat>0?n+(n+this._rDelay)*this._repeat:n):this.totalDuration()&&this._dur},a.totalDuration=function(n){return arguments.length?(this._dirty=0,nc(this,this._repeat<0?n:(n-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},a.totalTime=function(n,s){if(sc(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(O9(this,n),!i._dp||i.parent||vI(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)&&ja(this._dp,this,this._start-this._delay)}return(this._tTime!==n||!this._dur&&!s||this._initted&&Math.abs(this._zTime)===Fe||!n&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=n),fI(this,n,s)),this},a.time=function(n,s){return arguments.length?this.totalTime(Math.min(this.totalDuration(),n+rL(this))%(this._dur+this._rDelay)||(n?this._dur:0),s):this._time},a.totalProgress=function(n,s){return arguments.length?this.totalTime(this.totalDuration()*n,s):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},a.progress=function(n,s){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-n:n)+rL(this),s):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},a.iteration=function(n,s){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(n-1)*i,s):this._repeat?rc(this._tTime,i)+1:1},a.timeScale=function(n,s){if(!arguments.length)return this._rts===-Fe?0:this._rts;if(this._rts===n)return this;var i=this.parent&&this._ts?v9(this.parent._time,this):this._tTime;return this._rts=+n||0,this._ts=this._ps||n===-Fe?0:this._rts,this.totalTime(hl(-Math.abs(this._delay),this._tDur,i),s!==!1),F9(this),xD(this)},a.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):(sc(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==Fe&&(this._tTime-=Fe)))),this):this._ps},a.startTime=function(n){if(arguments.length){this._start=n;var s=this.parent||this._dp;return s&&(s._sort||!this.parent)&&ja(s,this,n-this._delay),this}return this._start},a.endTime=function(n){return this._start+(Nt(n)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},a.rawTime=function(n){var s=this.parent||this._dp;return s?n&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?v9(s.rawTime(n),this):this._tTime:this._tTime},a.revert=function(n){n===void 0&&(n=pD);var s=gt;return gt=n,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(n),this.totalTime(-.01,n.suppressEvents)),this.data!=="nested"&&n.kill!==!1&&this.kill(),gt=s,this},a.globalTime=function(n){for(var s=this,i=arguments.length?n:s.rawTime();s;)i=s._start+i/(Math.abs(s._ts)||1),s=s._dp;return!this.parent&&this._sat?this._sat.globalTime(n):i},a.repeat=function(n){return arguments.length?(this._repeat=n===1/0?-2:n,nL(this)):this._repeat===-2?1/0:this._repeat},a.repeatDelay=function(n){if(arguments.length){var s=this._time;return this._rDelay=n,nL(this),s?this.time(s):this}return this._rDelay},a.yoyo=function(n){return arguments.length?(this._yoyo=n,this):this._yoyo},a.seek=function(n,s){return this.totalTime(Xt(this,n),Nt(s))},a.restart=function(n,s){return this.play().totalTime(n?-this._delay:0,Nt(s))},a.play=function(n,s){return n!=null&&this.seek(n,s),this.reversed(!1).paused(!1)},a.reverse=function(n,s){return n!=null&&this.seek(n||this.totalDuration(),s),this.reversed(!0).paused(!1)},a.pause=function(n,s){return n!=null&&this.seek(n,s),this.paused(!0)},a.resume=function(){return this.paused(!1)},a.reversed=function(n){return arguments.length?(!!n!==this.reversed()&&this.timeScale(-this._rts||(n?-Fe:0)),this):this._rts<0},a.invalidate=function(){return this._initted=this._act=0,this._zTime=-Fe,this},a.isActive=function(){var n=this.parent||this._dp,s=this._start,i;return!!(!n||this._ts&&this._initted&&n.isActive()&&(i=n.rawTime(!0))>=s&&i<this.endTime(!0)-Fe)},a.eventCallback=function(n,s,i){var c=this.vars;return arguments.length>1?(s?(c[n]=s,i&&(c[n+"Params"]=i),n==="onUpdate"&&(this._onUpdate=s)):delete c[n],this):c[n]},a.then=function(n){var s=this;return new Promise(function(i){var c=Ze(n)?n:gI,l=function(){var h=s.then;s.then=null,Ze(c)&&(c=c(s))&&(c.then||c===s)&&(s.then=h),i(c),s.then=h};s._initted&&s.totalProgress()===1&&s._ts>=0||!s._tTime&&s._ts<0?l():s._prom=l})},a.kill=function(){kc(this)},t}();sa(nl.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:-Fe,_prom:0,_ps:!1,_rts:1});var Mt=function(t){sI(a,t);function a(n,s){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=Nt(n.sortChildren),Be&&ja(n.parent||Be,Ha(i),s),n.reversed&&i.reverse(),n.paused&&i.paused(!0),n.scrollTrigger&&wI(Ha(i),n.scrollTrigger),i}var r=a.prototype;return r.to=function(s,i,c){return Jc(0,arguments,this),this},r.from=function(s,i,c){return Jc(1,arguments,this),this},r.fromTo=function(s,i,c,l){return Jc(2,arguments,this),this},r.set=function(s,i,c){return i.duration=0,i.parent=this,Zc(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new Ye(s,i,Xt(this,c),1),this},r.call=function(s,i,c){return ja(this,Ye.delayedCall(0,s,i),c)},r.staggerTo=function(s,i,c,l,d,h,u){return c.duration=i,c.stagger=c.stagger||l,c.onComplete=h,c.onCompleteParams=u,c.parent=this,new Ye(s,c,Xt(this,d)),this},r.staggerFrom=function(s,i,c,l,d,h,u){return c.runBackwards=1,Zc(c).immediateRender=Nt(c.immediateRender),this.staggerTo(s,i,c,l,d,h,u)},r.staggerFromTo=function(s,i,c,l,d,h,u,p){return l.startAt=c,Zc(l).immediateRender=Nt(l.immediateRender),this.staggerTo(s,i,l,d,h,u,p)},r.render=function(s,i,c){var l=this._time,d=this._dirty?this.totalDuration():this._tDur,h=this._dur,u=s<=0?0:nt(s),p=this._zTime<0!=s<0&&(this._initted||!h),m,y,x,f,v,k,w,j,S,C,A,L;if(this!==Be&&u>d&&s>=0&&(u=d),u!==this._tTime||c||p){if(l!==this._time&&h&&(u+=this._time-l,s+=this._time-l),m=u,S=this._start,j=this._ts,k=!j,p&&(h||(l=this._zTime),(s||!i)&&(this._zTime=s)),this._repeat){if(A=this._yoyo,v=h+this._rDelay,this._repeat<-1&&s<0)return this.totalTime(v*100+s,i,c);if(m=nt(u%v),u===d?(f=this._repeat,m=h):(f=~~(u/v),f&&f===u/v&&(m=h,f--),m>h&&(m=h)),C=rc(this._tTime,v),!l&&this._tTime&&C!==f&&this._tTime-C*v-this._dur<=0&&(C=f),A&&f&1&&(m=h-m,L=1),f!==C&&!this._lock){var b=A&&C&1,N=b===(A&&f&1);if(f<C&&(b=!b),l=b?0:u%h?h:u,this._lock=1,this.render(l||(L?0:nt(f*v)),i,!h)._lock=0,this._tTime=u,!i&&this.parent&&Ht(this,"onRepeat"),this.vars.repeatRefresh&&!L&&(this.invalidate()._lock=1),l&&l!==this._time||k!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(h=this._dur,d=this._tDur,N&&(this._lock=2,l=b?h:-1e-4,this.render(l,!0),this.vars.repeatRefresh&&!L&&this.invalidate()),this._lock=0,!this._ts&&!k)return this;DI(this,L)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(w=wD(this,nt(l),nt(m)),w&&(u-=m-(m=w._start))),this._tTime=u,this._time=m,this._act=!j,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=s,l=0),!l&&m&&!i&&!f&&(Ht(this,"onStart"),this._tTime!==u))return this;if(m>=l&&s>=0)for(y=this._first;y;){if(x=y._next,(y._act||m>=y._start)&&y._ts&&w!==y){if(y.parent!==this)return this.render(s,i,c);if(y.render(y._ts>0?(m-y._start)*y._ts:(y._dirty?y.totalDuration():y._tDur)+(m-y._start)*y._ts,i,c),m!==this._time||!this._ts&&!k){w=0,x&&(u+=this._zTime=-Fe);break}}y=x}else{y=this._last;for(var q=s<0?s:m;y;){if(x=y._prev,(y._act||q<=y._end)&&y._ts&&w!==y){if(y.parent!==this)return this.render(s,i,c);if(y.render(y._ts>0?(q-y._start)*y._ts:(y._dirty?y.totalDuration():y._tDur)+(q-y._start)*y._ts,i,c||gt&&(y._initted||y._startAt)),m!==this._time||!this._ts&&!k){w=0,x&&(u+=this._zTime=q?-Fe:Fe);break}}y=x}}if(w&&!i&&(this.pause(),w.render(m>=l?0:-Fe)._zTime=m>=l?1:-1,this._ts))return this._start=S,F9(this),this.render(s,i,c);this._onUpdate&&!i&&Ht(this,"onUpdate",!0),(u===d&&this._tTime>=this.totalDuration()||!u&&l)&&(S===this._start||Math.abs(j)!==Math.abs(this._ts))&&(this._lock||((s||!h)&&(u===d&&this._ts>0||!u&&this._ts<0)&&Lr(this,1),!i&&!(s<0&&!l)&&(u||l||!d)&&(Ht(this,u===d&&s>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<d&&this.timeScale()>0)&&this._prom())))}return this},r.add=function(s,i){var c=this;if(Za(i)||(i=Xt(this,i,s)),!(s instanceof nl)){if(kt(s))return s.forEach(function(l){return c.add(l,i)}),this;if(it(s))return this.addLabel(s,i);if(Ze(s))s=Ye.delayedCall(0,s);else return this}return this!==s?ja(this,s,i):this},r.getChildren=function(s,i,c,l){s===void 0&&(s=!0),i===void 0&&(i=!0),c===void 0&&(c=!0),l===void 0&&(l=-Kt);for(var d=[],h=this._first;h;)h._start>=l&&(h instanceof Ye?i&&d.push(h):(c&&d.push(h),s&&d.push.apply(d,h.getChildren(!0,i,c)))),h=h._next;return d},r.getById=function(s){for(var i=this.getChildren(1,1,1),c=i.length;c--;)if(i[c].vars.id===s)return i[c]},r.remove=function(s){return it(s)?this.removeLabel(s):Ze(s)?this.killTweensOf(s):(E9(this,s),s===this._recent&&(this._recent=this._last),mo(this))},r.totalTime=function(s,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=nt(Ft.time-(this._ts>0?s/this._ts:(this.totalDuration()-s)/-this._ts))),t.prototype.totalTime.call(this,s,i),this._forcing=0,this):this._tTime},r.addLabel=function(s,i){return this.labels[s]=Xt(this,i),this},r.removeLabel=function(s){return delete this.labels[s],this},r.addPause=function(s,i,c){var l=Ye.delayedCall(0,i||tl,c);return l.data="isPause",this._hasPause=1,ja(this,l,Xt(this,s))},r.removePause=function(s){var i=this._first;for(s=Xt(this,s);i;)i._start===s&&i.data==="isPause"&&Lr(i),i=i._next},r.killTweensOf=function(s,i,c){for(var l=this.getTweensOf(s,c),d=l.length;d--;)hr!==l[d]&&l[d].kill(s,i);return this},r.getTweensOf=function(s,i){for(var c=[],l=Qt(s),d=this._first,h=Za(i),u;d;)d instanceof Ye?yD(d._targets,l)&&(h?(!hr||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(s,i){i=i||{};var c=this,l=Xt(c,s),d=i,h=d.startAt,u=d.onStart,p=d.onStartParams,m=d.immediateRender,y,x=Ye.to(c,sa({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())||Fe,onStart:function(){if(c.pause(),!y){var v=i.duration||Math.abs((l-(h&&"time"in h?h.time:c._time))/c.timeScale());x._dur!==v&&nc(x,v,0,1).render(x._time,!0,!0),y=1}u&&u.apply(x,p||[])}},i));return m?x.render(0):x},r.tweenFromTo=function(s,i,c){return this.tweenTo(i,sa({startAt:{time:Xt(this,s)}},c))},r.recent=function(){return this._recent},r.nextLabel=function(s){return s===void 0&&(s=this._time),sL(this,Xt(this,s))},r.previousLabel=function(s){return s===void 0&&(s=this._time),sL(this,Xt(this,s),1)},r.currentLabel=function(s){return arguments.length?this.seek(s,!0):this.previousLabel(this._time+Fe)},r.shiftChildren=function(s,i,c){c===void 0&&(c=0);for(var l=this._first,d=this.labels,h;l;)l._start>=c&&(l._start+=s,l._end+=s),l=l._next;if(i)for(h in d)d[h]>=c&&(d[h]+=s);return mo(this)},r.invalidate=function(s){var i=this._first;for(this._lock=0;i;)i.invalidate(s),i=i._next;return t.prototype.invalidate.call(this,s)},r.clear=function(s){s===void 0&&(s=!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),s&&(this.labels={}),mo(this)},r.totalDuration=function(s){var i=0,c=this,l=c._last,d=Kt,h,u,p;if(arguments.length)return c.timeScale((c._repeat<0?c.duration():c.totalDuration())/(c.reversed()?-s:s));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,ja(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;nc(c,c===Be&&c._time>i?c._time:i,1,1),c._dirty=0}return c._tDur},a.updateRoot=function(s){if(Be._ts&&(fI(Be,v9(s,Be)),yI=Ft.frame),Ft.frame>=tL){tL+=Bt.autoSleep||120;var i=Be._first;if((!i||!i._ts)&&Bt.autoSleep&&Ft._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||Ft.sleep()}}},a}(nl);sa(Mt.prototype,{_lock:0,_hasPause:0,_forcing:0});var zD=function(a,r,n,s,i,c,l){var d=new At(this._pt,a,r,0,1,$I,null,i),h=0,u=0,p,m,y,x,f,v,k,w;for(d.b=n,d.e=s,n+="",s+="",(k=~s.indexOf("random("))&&(s=al(s)),c&&(w=[n,s],c(w,a,r),n=w[0],s=w[1]),m=n.match(mj)||[];p=mj.exec(s);)x=p[0],f=s.substring(h,p.index),y?y=(y+1)%5:f.substr(-5)==="rgba("&&(y=1),x!==m[u++]&&(v=parseFloat(m[u-1])||0,d._pt={_next:d._pt,p:f||u===1?f:",",s:v,c:x.charAt(1)==="="?Xo(v,x)-v:parseFloat(x)-v,m:y&&y<4?Math.round:0},h=mj.lastIndex);return d.c=h<s.length?s.substring(h,s.length):"",d.fp=l,(lI.test(s)||k)&&(d.e=0),this._pt=d,d},BC=function(a,r,n,s,i,c,l,d,h,u){Ze(s)&&(s=s(i||0,a,c));var p=a[r],m=n!=="get"?n:Ze(p)?h?a[r.indexOf("set")||!Ze(a["get"+r.substr(3)])?r:"get"+r.substr(3)](h):a[r]():p,y=Ze(p)?h?VD:VI:UC,x;if(it(s)&&(~s.indexOf("random(")&&(s=al(s)),s.charAt(1)==="="&&(x=Xo(m,s)+(ft(m)||0),(x||x===0)&&(s=x))),!u||m!==s||sC)return!isNaN(m*s)&&s!==""?(x=new At(this._pt,a,r,+m||0,s-(m||0),typeof p=="boolean"?$D:BI,0,y),h&&(x.fp=h),l&&x.modifier(l,this,a),this._pt=x):(!p&&!(r in a)&&FC(r,s),zD.call(this,a,r,m,s,y,d||Bt.stringFilter,h))},ED=function(a,r,n,s,i){if(Ze(a)&&(a=Xc(a,i,r,n,s)),!_a(a)||a.style&&a.nodeType||kt(a)||oI(a))return it(a)?Xc(a,i,r,n,s):a;var c={},l;for(l in a)c[l]=Xc(a[l],i,r,n,s);return c},FI=function(a,r,n,s,i,c){var l,d,h,u;if(qt[a]&&(l=new qt[a]).init(i,l.rawVars?r[a]:ED(r[a],s,i,c,n),n,s,c)!==!1&&(n._pt=d=new At(n._pt,i,a,0,1,l.render,l,0,l.priority),n!==qo))for(h=n._ptLookup[n._targets.indexOf(i)],u=l._props.length;u--;)h[l._props[u]]=d;return l},hr,sC,$C=function t(a,r,n){var s=a.vars,i=s.ease,c=s.startAt,l=s.immediateRender,d=s.lazy,h=s.onUpdate,u=s.runBackwards,p=s.yoyoEase,m=s.keyframes,y=s.autoRevert,x=a._dur,f=a._startAt,v=a._targets,k=a.parent,w=k&&k.data==="nested"?k.vars.targets:v,j=a._overwrite==="auto"&&!qC,S=a.timeline,C,A,L,b,N,q,P,R,T,$,W,B,U;if(S&&(!m||!i)&&(i="none"),a._ease=fo(i,ac.ease),a._yEase=p?qI(fo(p===!0?i:p,ac.ease)):0,p&&a._yoyo&&!a._repeat&&(p=a._yEase,a._yEase=a._ease,a._ease=p),a._from=!S&&!!s.runBackwards,!S||m&&!s.stagger){if(R=v[0]?yo(v[0]).harness:0,B=R&&s[R.prop],C=k9(s,OC),f&&(f._zTime<0&&f.progress(1),r<0&&u&&l&&!y?f.render(-1,!0):f.revert(u&&x?o9:uD),f._lazy=0),c){if(Lr(a._startAt=Ye.set(v,sa({data:"isStart",overwrite:!1,parent:k,immediateRender:!0,lazy:!f&&Nt(d),startAt:null,delay:0,onUpdate:h&&function(){return Ht(a,"onUpdate")},stagger:0},c))),a._startAt._dp=0,a._startAt._sat=a,r<0&&(gt||!l&&!y)&&a._startAt.revert(o9),l&&x&&r<=0&&n<=0){r&&(a._zTime=r);return}}else if(u&&x&&!f){if(r&&(l=!1),L=sa({overwrite:!1,data:"isFromStart",lazy:l&&!f&&Nt(d),immediateRender:l,stagger:0,parent:k},C),B&&(L[R.prop]=B),Lr(a._startAt=Ye.set(v,L)),a._startAt._dp=0,a._startAt._sat=a,r<0&&(gt?a._startAt.revert(o9):a._startAt.render(-1,!0)),a._zTime=r,!l)t(a._startAt,Fe,Fe);else if(!r)return}for(a._pt=a._ptCache=0,d=x&&Nt(d)||d&&!x,A=0;A<v.length;A++){if(N=v[A],P=N._gsap||VC(v)[A]._gsap,a._ptLookup[A]=$={},Qj[P.id]&&jr.length&&g9(),W=w===v?A:w.indexOf(N),R&&(T=new R).init(N,B||C,a,W,w)!==!1&&(a._pt=b=new At(a._pt,N,T.name,0,1,T.render,T,0,T.priority),T._props.forEach(function(O){$[O]=b}),T.priority&&(q=1)),!R||B)for(L in C)qt[L]&&(T=FI(L,C,a,W,N,w))?T.priority&&(q=1):$[L]=b=BC.call(a,N,L,"get",C[L],W,w,0,s.stringFilter);a._op&&a._op[A]&&a.kill(N,a._op[A]),j&&a._pt&&(hr=a,Be.killTweensOf(N,$,a.globalTime(r)),U=!a.parent,hr=0),a._pt&&d&&(Qj[P.id]=1)}q&&UI(a),a._onInit&&a._onInit(a)}a._onUpdate=h,a._initted=(!a._op||a._pt)&&!U,m&&r<=0&&S.render(Kt,!0,!0)},FD=function(a,r,n,s,i,c,l,d){var h=(a._pt&&a._ptCache||(a._ptCache={}))[r],u,p,m,y;if(!h)for(h=a._ptCache[r]=[],m=a._ptLookup,y=a._targets.length;y--;){if(u=m[y][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 sC=1,a.vars[r]="+=0",$C(a,l),sC=0,d?el(r+" not eligible for reset"):1;h.push(u)}for(y=h.length;y--;)p=h[y],u=p._pt||p,u.s=(s||s===0)&&!i?s:u.s+(s||0)+c*u.c,u.c=n-u.s,p.e&&(p.e=Xe(n)+ft(p.e)),p.b&&(p.b=u.s+ft(p.b))},OD=function(a,r){var n=a[0]?yo(a[0]).harness:0,s=n&&n.aliases,i,c,l,d;if(!s)return r;i=vo({},r);for(c in s)if(c in i)for(d=s[c].split(","),l=d.length;l--;)i[d[l]]=i[c];return i},HD=function(a,r,n,s){var i=r.ease||s||"power1.inOut",c,l;if(kt(r))l=n[a]||(n[a]=[]),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(a),v:r[c],e:i})},Xc=function(a,r,n,s,i){return Ze(a)?a.call(r,n,s,i):it(a)&&~a.indexOf("random(")?al(a):a},OI=HC+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",HI={};It(OI+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return HI[t]=1});var Ye=function(t){sI(a,t);function a(n,s,i,c){var l;typeof s=="number"&&(i.duration=s,s=i,i=null),l=t.call(this,c?s:Zc(s))||this;var d=l.vars,h=d.duration,u=d.delay,p=d.immediateRender,m=d.stagger,y=d.overwrite,x=d.keyframes,f=d.defaults,v=d.scrollTrigger,k=d.yoyoEase,w=s.parent||Be,j=(kt(n)||oI(n)?Za(n[0]):"length"in s)?[n]:Qt(n),S,C,A,L,b,N,q,P;if(l._targets=j.length?VC(j):el("GSAP target "+n+" not found. https://gsap.com",!Bt.nullTargetWarn)||[],l._ptLookup=[],l._overwrite=y,x||m||kl(h)||kl(u)){if(s=l.vars,S=l.timeline=new Mt({data:"nested",defaults:f||{},targets:w&&w.data==="nested"?w.vars.targets:j}),S.kill(),S.parent=S._dp=Ha(l),S._start=0,m||kl(h)||kl(u)){if(L=j.length,q=m&&CI(m),_a(m))for(b in m)~OI.indexOf(b)&&(P||(P={}),P[b]=m[b]);for(C=0;C<L;C++)A=k9(s,HI),A.stagger=0,k&&(A.yoyoEase=k),P&&vo(A,P),N=j[C],A.duration=+Xc(h,Ha(l),C,N,j),A.delay=(+Xc(u,Ha(l),C,N,j)||0)-l._delay,!m&&L===1&&A.delay&&(l._delay=u=A.delay,l._start+=u,A.delay=0),S.to(N,A,q?q(C,N,j):0),S._ease=Ie.none;S.duration()?h=u=0:l.timeline=0}else if(x){Zc(sa(S.vars.defaults,{ease:"none"})),S._ease=fo(x.ease||s.ease||"none");var R=0,T,$,W;if(kt(x))x.forEach(function(B){return S.to(j,B,">")}),S.duration();else{A={};for(b in x)b==="ease"||b==="easeEach"||HD(b,x[b],A,x.easeEach);for(b in A)for(T=A[b].sort(function(B,U){return B.t-U.t}),R=0,C=0;C<T.length;C++)$=T[C],W={ease:$.e,duration:($.t-(C?T[C-1].t:0))/100*h},W[b]=$.v,S.to(j,W,R),R+=W.duration;S.duration()<h&&S.to({},{duration:h-S.duration()})}}h||l.duration(h=S.duration())}else l.timeline=0;return y===!0&&!qC&&(hr=Ha(l),Be.killTweensOf(j),hr=0),ja(w,Ha(l),i),s.reversed&&l.reverse(),s.paused&&l.paused(!0),(p||!h&&!x&&l._start===nt(w._time)&&Nt(p)&&gD(Ha(l))&&w.data!=="nested")&&(l._tTime=-Fe,l.render(Math.max(0,-u)||0)),v&&wI(Ha(l),v),l}var r=a.prototype;return r.render=function(s,i,c){var l=this._time,d=this._tDur,h=this._dur,u=s<0,p=s>d-Fe&&!u?d:s<Fe?0:s,m,y,x,f,v,k,w,j,S;if(!h)vD(this,s,i,c);else if(p!==this._tTime||!s||c||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u){if(m=p,j=this.timeline,this._repeat){if(f=h+this._rDelay,this._repeat<-1&&u)return this.totalTime(f*100+s,i,c);if(m=nt(p%f),p===d?(x=this._repeat,m=h):(x=~~(p/f),x&&x===nt(p/f)&&(m=h,x--),m>h&&(m=h)),k=this._yoyo&&x&1,k&&(S=this._yEase,m=h-m),v=rc(this._tTime,f),m===l&&!c&&this._initted&&x===v)return this._tTime=p,this;x!==v&&(j&&this._yEase&&DI(j,k),this.vars.repeatRefresh&&!k&&!this._lock&&this._time!==f&&this._initted&&(this._lock=c=1,this.render(nt(f*x),!0).invalidate()._lock=0))}if(!this._initted){if(bI(this,u?s:m,c,i,p))return this._tTime=0,this;if(l!==this._time&&!(c&&this.vars.repeatRefresh&&x!==v))return this;if(h!==this._dur)return this.render(s,i,c)}if(this._tTime=p,this._time=m,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=w=(S||this._ease)(m/h),this._from&&(this.ratio=w=1-w),m&&!l&&!i&&!x&&(Ht(this,"onStart"),this._tTime!==p))return this;for(y=this._pt;y;)y.r(w,y.d),y=y._next;j&&j.render(s<0?s:j._dur*j._ease(m/this._dur),i,c)||this._startAt&&(this._zTime=s),this._onUpdate&&!i&&(u&&eC(this,s,i,c),Ht(this,"onUpdate")),this._repeat&&x!==v&&this.vars.onRepeat&&!i&&this.parent&&Ht(this,"onRepeat"),(p===this._tDur||!p)&&this._tTime===p&&(u&&!this._onUpdate&&eC(this,s,!0,!0),(s||!h)&&(p===this._tDur&&this._ts>0||!p&&this._ts<0)&&Lr(this,1),!i&&!(u&&!l)&&(p||l||k)&&(Ht(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(s){return(!s||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(s),t.prototype.invalidate.call(this,s)},r.resetTo=function(s,i,c,l,d){rl||Ft.wake(),this._ts||this.play();var h=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||$C(this,h),u=this._ease(h/this._dur),FD(this,s,i,c,l,u,h,d)?this.resetTo(s,i,c,l,1):(O9(this,0),this.parent||kI(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(s,i){if(i===void 0&&(i="all"),!s&&(!i||i==="all"))return this._lazy=this._pt=0,this.parent?kc(this):this;if(this.timeline){var c=this.timeline.totalDuration();return this.timeline.killTweensOf(s,i,hr&&hr.vars.overwrite!==!0)._first||kc(this),this.parent&&c!==this.timeline.totalDuration()&&nc(this,this._dur*this.timeline._tDur/c,0,1),this}var l=this._targets,d=s?Qt(s):l,h=this._ptLookup,u=this._pt,p,m,y,x,f,v,k;if((!i||i==="all")&&fD(l,d))return i==="all"&&(this._pt=0),kc(this);for(p=this._op=this._op||[],i!=="all"&&(it(i)&&(f={},It(i,function(w){return f[w]=1}),i=f),i=OD(l,i)),k=l.length;k--;)if(~d.indexOf(l[k])){m=h[k],i==="all"?(p[k]=i,x=m,y={}):(y=p[k]=p[k]||{},x=i);for(f in x)v=m&&m[f],v&&((!("kill"in v.d)||v.d.kill(f)===!0)&&E9(this,v,"_pt"),delete m[f]),y!=="all"&&(y[f]=1)}return this._initted&&!this._pt&&u&&kc(this),this},a.to=function(s,i){return new a(s,i,arguments[2])},a.from=function(s,i){return Jc(1,arguments)},a.delayedCall=function(s,i,c,l){return new a(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:s,onComplete:i,onReverseComplete:i,onCompleteParams:c,onReverseCompleteParams:c,callbackScope:l})},a.fromTo=function(s,i,c){return Jc(2,arguments)},a.set=function(s,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new a(s,i)},a.killTweensOf=function(s,i,c){return Be.killTweensOf(s,i,c)},a}(nl);sa(Ye.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});It("staggerTo,staggerFrom,staggerFromTo",function(t){Ye[t]=function(){var a=new Mt,r=aC.call(arguments,0);return r.splice(t==="staggerFromTo"?5:4,0,0),a[t].apply(a,r)}});var UC=function(a,r,n){return a[r]=n},VI=function(a,r,n){return a[r](n)},VD=function(a,r,n,s){return a[r](s.fp,n)},BD=function(a,r,n){return a.setAttribute(r,n)},GC=function(a,r){return Ze(a[r])?VI:DC(a[r])&&a.setAttribute?BD:UC},BI=function(a,r){return r.set(r.t,r.p,Math.round((r.s+r.c*a)*1e6)/1e6,r)},$D=function(a,r){return r.set(r.t,r.p,!!(r.s+r.c*a),r)},$I=function(a,r){var n=r._pt,s="";if(!a&&r.b)s=r.b;else if(a===1&&r.e)s=r.e;else{for(;n;)s=n.p+(n.m?n.m(n.s+n.c*a):Math.round((n.s+n.c*a)*1e4)/1e4)+s,n=n._next;s+=r.c}r.set(r.t,r.p,s,r)},WC=function(a,r){for(var n=r._pt;n;)n.r(a,n.d),n=n._next},UD=function(a,r,n,s){for(var i=this._pt,c;i;)c=i._next,i.p===s&&i.modifier(a,r,n),i=c},GD=function(a){for(var r=this._pt,n,s;r;)s=r._next,r.p===a&&!r.op||r.op===a?E9(this,r,"_pt"):r.dep||(n=1),r=s;return!n},WD=function(a,r,n,s){s.mSet(a,r,s.m.call(s.tween,n,s.mt),s)},UI=function(a){for(var r=a._pt,n,s,i,c;r;){for(n=r._next,s=i;s&&s.pr>r.pr;)s=s._next;(r._prev=s?s._prev:c)?r._prev._next=r:i=r,(r._next=s)?s._prev=r:c=r,r=n}a._pt=i},At=function(){function t(r,n,s,i,c,l,d,h,u){this.t=n,this.s=i,this.c=c,this.p=s,this.r=l||BI,this.d=d||this,this.set=h||UC,this.pr=u||0,this._next=r,r&&(r._prev=this)}var a=t.prototype;return a.modifier=function(n,s,i){this.mSet=this.mSet||this.set,this.set=WD,this.m=n,this.mt=i,this.tween=s},t}();It(HC+"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 OC[t]=1});Ut.TweenMax=Ut.TweenLite=Ye;Ut.TimelineLite=Ut.TimelineMax=Mt;Be=new Mt({sortChildren:!1,defaults:ac,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Bt.stringFilter=TI;var xo=[],l9={},ZD=[],oL=0,JD=0,vj=function(a){return(l9[a]||ZD).map(function(r){return r()})},iC=function(){var a=Date.now(),r=[];a-oL>2&&(vj("matchMediaInit"),xo.forEach(function(n){var s=n.queries,i=n.conditions,c,l,d,h;for(l in s)c=wa.matchMedia(s[l]).matches,c&&(d=1),c!==i[l]&&(i[l]=c,h=1);h&&(n.revert(),d&&r.push(n))}),vj("matchMediaRevert"),r.forEach(function(n){return n.onMatch(n,function(s){return n.add(null,s)})}),oL=a,vj("matchMedia"))},GI=function(){function t(r,n){this.selector=n&&rC(n),this.data=[],this._r=[],this.isReverted=!1,this.id=JD++,r&&this.add(r)}var a=t.prototype;return a.add=function(n,s,i){Ze(n)&&(i=s,s=n,n=Ze);var c=this,l=function(){var h=Ve,u=c.selector,p;return h&&h!==c&&h.data.push(c),i&&(c.selector=rC(i)),Ve=c,p=s.apply(c,arguments),Ze(p)&&c._r.push(p),Ve=h,c.selector=u,c.isReverted=!1,p};return c.last=l,n===Ze?l(c,function(d){return c.add(null,d)}):n?c[n]=l:l},a.ignore=function(n){var s=Ve;Ve=null,n(this),Ve=s},a.getTweens=function(){var n=[];return this.data.forEach(function(s){return s instanceof t?n.push.apply(n,s.getTweens()):s instanceof Ye&&!(s.parent&&s.parent.data==="nested")&&n.push(s)}),n},a.clear=function(){this._r.length=this.data.length=0},a.kill=function(n,s){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 Mt?h.data!=="nested"&&(h.scrollTrigger&&h.scrollTrigger.revert(),h.kill()):!(h instanceof Ye)&&h.revert&&h.revert(n);i._r.forEach(function(u){return u(n,i)}),i.isReverted=!0}():this.data.forEach(function(l){return l.kill&&l.kill()}),this.clear(),s)for(var c=xo.length;c--;)xo[c].id===this.id&&xo.splice(c,1)},a.revert=function(n){this.kill(n||{})},t}(),XD=function(){function t(r){this.contexts=[],this.scope=r,Ve&&Ve.data.push(this)}var a=t.prototype;return a.add=function(n,s,i){_a(n)||(n={matches:n});var c=new GI(0,i||this.scope),l=c.conditions={},d,h,u;Ve&&!c.selector&&(c.selector=Ve.selector),this.contexts.push(c),s=c.add("onMatch",s),c.queries=n;for(h in n)h==="all"?u=1:(d=wa.matchMedia(n[h]),d&&(xo.indexOf(c)<0&&xo.push(c),(l[h]=d.matches)&&(u=1),d.addListener?d.addListener(iC):d.addEventListener("change",iC)));return u&&s(c,function(p){return c.add(null,p)}),this},a.revert=function(n){this.kill(n||{})},a.kill=function(n){this.contexts.forEach(function(s){return s.kill(n,!0)})},t}(),w9={registerPlugin:function(){for(var a=arguments.length,r=new Array(a),n=0;n<a;n++)r[n]=arguments[n];r.forEach(function(s){return PI(s)})},timeline:function(a){return new Mt(a)},getTweensOf:function(a,r){return Be.getTweensOf(a,r)},getProperty:function(a,r,n,s){it(a)&&(a=Qt(a)[0]);var i=yo(a||{}).get,c=n?gI:xI;return n==="native"&&(n=""),a&&(r?c((qt[r]&&qt[r].get||i)(a,r,n,s)):function(l,d,h){return c((qt[l]&&qt[l].get||i)(a,l,d,h))})},quickSetter:function(a,r,n){if(a=Qt(a),a.length>1){var s=a.map(function(u){return _t.quickSetter(u,r,n)}),i=s.length;return function(u){for(var p=i;p--;)s[p](u)}}a=a[0]||{};var c=qt[r],l=yo(a),d=l.harness&&(l.harness.aliases||{})[r]||r,h=c?function(u){var p=new c;qo._pt=0,p.init(a,n?u+n:u,qo,0,[a]),p.render(1,p),qo._pt&&WC(1,qo)}:l.set(a,d);return c?h:function(u){return h(a,d,n?u+n:u,l,1)}},quickTo:function(a,r,n){var s,i=_t.to(a,vo((s={},s[r]="+=0.1",s.paused=!0,s),n||{})),c=function(d,h,u){return i.resetTo(r,d,h,u)};return c.tween=i,c},isTweening:function(a){return Be.getTweensOf(a,!0).length>0},defaults:function(a){return a&&a.ease&&(a.ease=fo(a.ease,ac.ease)),aL(ac,a||{})},config:function(a){return aL(Bt,a||{})},registerEffect:function(a){var r=a.name,n=a.effect,s=a.plugins,i=a.defaults,c=a.extendTimeline;(s||"").split(",").forEach(function(l){return l&&!qt[l]&&!Ut[l]&&el(r+" effect requires "+l+" plugin.")}),fj[r]=function(l,d,h){return n(Qt(l),sa(d||{},i),h)},c&&(Mt.prototype[r]=function(l,d,h){return this.add(fj[r](l,_a(d)?d:(h=d)&&{},this),h)})},registerEase:function(a,r){Ie[a]=fo(r)},parseEase:function(a,r){return arguments.length?fo(a,r):Ie},getById:function(a){return Be.getById(a)},exportRoot:function(a,r){a===void 0&&(a={});var n=new Mt(a),s,i;for(n.smoothChildTiming=Nt(a.smoothChildTiming),Be.remove(n),n._dp=0,n._time=n._tTime=Be._time,s=Be._first;s;)i=s._next,(r||!(!s._dur&&s instanceof Ye&&s.vars.onComplete===s._targets[0]))&&ja(n,s,s._start-s._delay),s=i;return ja(Be,n,0),n},context:function(a,r){return a?new GI(a,r):Ve},matchMedia:function(a){return new XD(a)},matchMediaRefresh:function(){return xo.forEach(function(a){var r=a.conditions,n,s;for(s in r)r[s]&&(r[s]=!1,n=1);n&&a.revert()})||iC()},addEventListener:function(a,r){var n=l9[a]||(l9[a]=[]);~n.indexOf(r)||n.push(r)},removeEventListener:function(a,r){var n=l9[a],s=n&&n.indexOf(r);s>=0&&n.splice(s,1)},utils:{wrap:ND,wrapYoyo:ID,distribute:CI,random:LI,snap:SI,normalize:LD,getUnit:ft,clamp:MD,splitColor:_I,toArray:Qt,selector:rC,mapRange:II,pipe:CD,unitize:SD,interpolate:AD,shuffle:jI},install:uI,effects:fj,ticker:Ft,updateRoot:Mt.updateRoot,plugins:qt,globalTimeline:Be,core:{PropTween:At,globals:pI,Tween:Ye,Timeline:Mt,Animation:nl,getCache:yo,_removeLinkedListItem:E9,reverting:function(){return gt},context:function(a){return a&&Ve&&(Ve.data.push(a),a._ctx=Ve),Ve},suppressOverwrites:function(a){return qC=a}}};It("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return w9[t]=Ye[t]});Ft.add(Mt.updateRoot);qo=w9.to({},{duration:0});var YD=function(a,r){for(var n=a._pt;n&&n.p!==r&&n.op!==r&&n.fp!==r;)n=n._next;return n},KD=function(a,r){var n=a._targets,s,i,c;for(s in r)for(i=n.length;i--;)c=a._ptLookup[i][s],c&&(c=c.d)&&(c._pt&&(c=YD(c,s)),c&&c.modifier&&c.modifier(r[s],a,n[i],s))},wj=function(a,r){return{name:a,rawVars:1,init:function(s,i,c){c._onInit=function(l){var d,h;if(it(i)&&(d={},It(i,function(u){return d[u]=1}),i=d),r){d={};for(h in i)d[h]=r(i[h]);i=d}KD(l,i)}}}},_t=w9.registerPlugin({name:"attr",init:function(a,r,n,s,i){var c,l,d;this.tween=n;for(c in r)d=a.getAttribute(c)||"",l=this.add(a,"setAttribute",(d||0)+"",r[c],s,i,0,0,c),l.op=c,l.b=d,this._props.push(c)},render:function(a,r){for(var n=r._pt;n;)gt?n.set(n.t,n.p,n.b,n):n.r(a,n.d),n=n._next}},{name:"endArray",init:function(a,r){for(var n=r.length;n--;)this.add(a,n,a[n]||0,r[n],0,0,0,0,0,1)}},wj("roundProps",nC),wj("modifiers"),wj("snap",SI))||w9;Ye.version=Mt.version=_t.version="3.12.5";hI=1;zC()&&sc();Ie.Power0;Ie.Power1;Ie.Power2;Ie.Power3;Ie.Power4;Ie.Linear;Ie.Quad;Ie.Cubic;Ie.Quart;Ie.Quint;Ie.Strong;Ie.Elastic;Ie.Back;Ie.SteppedEase;Ie.Bounce;Ie.Sine;Ie.Expo;Ie.Circ;/*!
7733
+ */var Ut={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},ac={duration:.5,overwrite:!1,delay:0},qC,kt,$e,ta=1e8,Oe=1/ta,Xj=Math.PI*2,cD=Xj/4,lD=0,iI=Math.sqrt,dD=Math.cos,hD=Math.sin,lt=function(a){return typeof a=="string"},Ye=function(a){return typeof a=="function"},Ya=function(a){return typeof a=="number"},DC=function(a){return typeof a>"u"},Da=function(a){return typeof a=="object"},It=function(a){return a!==!1},zC=function(){return typeof window<"u"},kl=function(a){return Ye(a)||lt(a)},oI=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},vt=Array.isArray,Yj=/(?:-?\.?\d|\.)+/gi,cI=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,To=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,mj=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,lI=/[+-]=-?[.\d]+/,dI=/[^,'"\[\]\s]+/gi,uD=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Ue,Ca,Kj,EC,Wt={},x9={},hI,uI=function(a){return(x9=vo(a,Wt))&&Rt},FC=function(a,r){return console.warn("Invalid property",a,"set to",r,"Missing plugin? gsap.registerPlugin()")},el=function(a,r){return!r&&console.warn(a)},pI=function(a,r){return a&&(Wt[a]=r)&&x9&&(x9[a]=r)||Wt},tl=function(){return 0},pD={suppressEvents:!0,isStart:!0,kill:!1},o9={suppressEvents:!0,kill:!1},yD={suppressEvents:!0},OC={},Cr=[],Qj={},yI,zt={},fj={},tL=30,c9=[],HC="",VC=function(a){var r=a[0],n,s;if(Da(r)||Ye(r)||(a=[a]),!(n=(r._gsap||{}).harness)){for(s=c9.length;s--&&!c9[s].targetTest(r););n=c9[s]}for(s=a.length;s--;)a[s]&&(a[s]._gsap||(a[s]._gsap=new EI(a[s],n)))||a.splice(s,1);return a},yo=function(a){return a._gsap||VC(aa(a))[0]._gsap},mI=function(a,r,n){return(n=a[r])&&Ye(n)?a[r]():DC(n)&&a.getAttribute&&a.getAttribute(r)||n},At=function(a,r){return(a=a.split(",")).forEach(r)||a},Ke=function(a){return Math.round(a*1e5)/1e5||0},ot=function(a){return Math.round(a*1e7)/1e7||0},Xo=function(a,r){var n=r.charAt(0),s=parseFloat(r.substr(2));return a=parseFloat(a),n==="+"?a+s:n==="-"?a-s:n==="*"?a*s:a/s},mD=function(a,r){for(var n=r.length,s=0;a.indexOf(r[s])<0&&++s<n;);return s<n},g9=function(){var a=Cr.length,r=Cr.slice(0),n,s;for(Qj={},Cr.length=0,n=0;n<a;n++)s=r[n],s&&s._lazy&&(s.render(s._lazy[0],s._lazy[1],!0)._lazy=0)},fI=function(a,r,n,s){Cr.length&&!kt&&g9(),a.render(r,n,kt&&r<0&&(a._initted||a._startAt)),Cr.length&&!kt&&g9()},xI=function(a){var r=parseFloat(a);return(r||r===0)&&(a+"").match(dI).length<2?r:lt(a)?a.trim():a},gI=function(a){return a},ca=function(a,r){for(var n in r)n in a||(a[n]=r[n]);return a},fD=function(a){return function(r,n){for(var s in n)s in r||s==="duration"&&a||s==="ease"||(r[s]=n[s])}},vo=function(a,r){for(var n in r)a[n]=r[n];return a},aL=function t(a,r){for(var n in r)n!=="__proto__"&&n!=="constructor"&&n!=="prototype"&&(a[n]=Da(r[n])?t(a[n]||(a[n]={}),r[n]):r[n]);return a},k9=function(a,r){var n={},s;for(s in a)s in r||(n[s]=a[s]);return n},Zc=function(a){var r=a.parent||Ue,n=a.keyframes?fD(vt(a.keyframes)):ca;if(It(a.inherit))for(;r;)n(a,r.vars.defaults),r=r.parent||r._dp;return a},xD=function(a,r){for(var n=a.length,s=n===r.length;s&&n--&&a[n]===r[n];);return n<0},kI=function(a,r,n,s,i){var c=a[s],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=a[n],a[n]=r),r._next?r._next._prev=r:a[s]=r,r._prev=c,r.parent=r._dp=a,r},E9=function(a,r,n,s){n===void 0&&(n="_first"),s===void 0&&(s="_last");var i=r._prev,c=r._next;i?i._next=c:a[n]===r&&(a[n]=c),c?c._prev=i:a[s]===r&&(a[s]=i),r._next=r._prev=r.parent=null},Nr=function(a,r){a.parent&&(!r||a.parent.autoRemoveChildren)&&a.parent.remove&&a.parent.remove(a),a._act=0},mo=function(a,r){if(a&&(!r||r._end>a._dur||r._start<0))for(var n=a;n;)n._dirty=1,n=n.parent;return a},gD=function(a){for(var r=a.parent;r&&r.parent;)r._dirty=1,r.totalDuration(),r=r.parent;return a},eC=function(a,r,n,s){return a._startAt&&(kt?a._startAt.revert(o9):a.vars.immediateRender&&!a.vars.autoRevert||a._startAt.render(r,!0,s))},kD=function t(a){return!a||a._ts&&t(a.parent)},rL=function(a){return a._repeat?rc(a._tTime,a=a.duration()+a._rDelay)*a:0},rc=function(a,r){var n=Math.floor(a/=r);return a&&n===a?n-1:n},v9=function(a,r){return(a-r._start)*r._ts+(r._ts>=0?0:r._dirty?r.totalDuration():r._tDur)},F9=function(a){return a._end=ot(a._start+(a._tDur/Math.abs(a._ts||a._rts||Oe)||0))},O9=function(a,r){var n=a._dp;return n&&n.smoothChildTiming&&a._ts&&(a._start=ot(n._time-(a._ts>0?r/a._ts:((a._dirty?a.totalDuration():a._tDur)-r)/-a._ts)),F9(a),n._dirty||mo(n,a)),a},vI=function(a,r){var n;if((r._time||!r._dur&&r._initted||r._start<a._time&&(r._dur||!r.add))&&(n=v9(a.rawTime(),r),(!r._dur||hl(0,r.totalDuration(),n)-r._tTime>Oe)&&r.render(n,!0)),mo(a,r)._dp&&a._initted&&a._time>=a._dur&&a._ts){if(a._dur<a.duration())for(n=a;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;a._zTime=-Oe}},Na=function(a,r,n,s){return r.parent&&Nr(r),r._start=ot((Ya(n)?n:n||a!==Ue?Qt(a,n,r):a._time)+r._delay),r._end=ot(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),kI(a,r,"_first","_last",a._sort?"_start":0),tC(r)||(a._recent=r),s||vI(a,r),a._ts<0&&O9(a,a._tTime),a},wI=function(a,r){return(Wt.ScrollTrigger||FC("scrollTrigger",r))&&Wt.ScrollTrigger.create(r,a)},bI=function(a,r,n,s,i){if($C(a,r,i),!a._initted)return 1;if(!n&&a._pt&&!kt&&(a._dur&&a.vars.lazy!==!1||!a._dur&&a.vars.lazy)&&yI!==Ht.frame)return Cr.push(a),a._lazy=[i,s],1},vD=function t(a){var r=a.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||t(r))},tC=function(a){var r=a.data;return r==="isFromStart"||r==="isStart"},wD=function(a,r,n,s){var i=a.ratio,c=r<0||!r&&(!a._start&&vD(a)&&!(!a._initted&&tC(a))||(a._ts<0||a._dp._ts<0)&&!tC(a))?0:1,l=a._rDelay,d=0,h,u,p;if(l&&a._repeat&&(d=hl(0,a._tDur,r),u=rc(d,l),a._yoyo&&u&1&&(c=1-c),u!==rc(a._tTime,l)&&(i=1-c,a.vars.repeatRefresh&&a._initted&&a.invalidate())),c!==i||kt||s||a._zTime===Oe||!r&&a._zTime){if(!a._initted&&bI(a,r,s,n,d))return;for(p=a._zTime,a._zTime=r||(n?Oe:0),n||(n=r&&!p),a.ratio=c,a._from&&(c=1-c),a._time=0,a._tTime=d,h=a._pt;h;)h.r(c,h.d),h=h._next;r<0&&eC(a,r,n,!0),a._onUpdate&&!n&&Bt(a,"onUpdate"),d&&a._repeat&&!n&&a.parent&&Bt(a,"onRepeat"),(r>=a._tDur||r<0)&&a.ratio===c&&(c&&Nr(a,1),!n&&!kt&&(Bt(a,c?"onComplete":"onReverseComplete",!0),a._prom&&a._prom()))}else a._zTime||(a._zTime=r)},bD=function(a,r,n){var s;if(n>r)for(s=a._first;s&&s._start<=n;){if(s.data==="isPause"&&s._start>r)return s;s=s._next}else for(s=a._last;s&&s._start>=n;){if(s.data==="isPause"&&s._start<r)return s;s=s._prev}},nc=function(a,r,n,s){var i=a._repeat,c=ot(r)||0,l=a._tTime/a._tDur;return l&&!s&&(a._time*=c/a._dur),a._dur=c,a._tDur=i?i<0?1e10:ot(c*(i+1)+a._rDelay*i):c,l>0&&!s&&O9(a,a._tTime=a._tDur*l),a.parent&&F9(a),n||mo(a.parent,a),a},nL=function(a){return a instanceof jt?mo(a):nc(a,a._dur)},MD={_start:0,endTime:tl,totalDuration:tl},Qt=function t(a,r,n){var s=a.labels,i=a._recent||MD,c=a.duration()>=ta?i.endTime(!1):a._dur,l,d,h;return lt(r)&&(isNaN(r)||r in s)?(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 s||(s[r]=c),s[r]):(d=parseFloat(r.charAt(l-1)+r.substr(l+1)),h&&n&&(d=d/100*(vt(n)?n[0]:n).totalDuration()),l>1?t(a,r.substr(0,l-1),n)+d:c+d)):r==null?c:+r},Jc=function(a,r,n){var s=Ya(r[1]),i=(s?2:1)+(a<2?0:1),c=r[i],l,d;if(s&&(c.duration=r[1]),c.parent=n,a){for(l=c,d=n;d&&!("immediateRender"in l);)l=d.vars.defaults||{},d=It(d.vars.inherit)&&d.parent;c.immediateRender=It(l.immediateRender),a<2?c.runBackwards=1:c.startAt=r[i-1]}return new tt(r[0],c,r[i+1])},qr=function(a,r){return a||a===0?r(a):r},hl=function(a,r,n){return n<a?a:n>r?r:n},xt=function(a,r){return!lt(a)||!(r=uD.exec(a))?"":r[1]},jD=function(a,r,n){return qr(n,function(s){return hl(a,r,s)})},aC=[].slice,MI=function(a,r){return a&&Da(a)&&"length"in a&&(!r&&!a.length||a.length-1 in a&&Da(a[0]))&&!a.nodeType&&a!==Ca},CD=function(a,r,n){return n===void 0&&(n=[]),a.forEach(function(s){var i;return lt(s)&&!r||MI(s,1)?(i=n).push.apply(i,aa(s)):n.push(s)})||n},aa=function(a,r,n){return $e&&!r&&$e.selector?$e.selector(a):lt(a)&&!n&&(Kj||!sc())?aC.call((r||EC).querySelectorAll(a),0):vt(a)?CD(a,n):MI(a)?aC.call(a,0):a?[a]:[]},rC=function(a){return a=aa(a)[0]||el("Invalid scope")||{},function(r){var n=a.current||a.nativeElement||a;return aa(r,n.querySelectorAll?n:n===a?el("Invalid scope")||EC.createElement("div"):a)}},jI=function(a){return a.sort(function(){return .5-Math.random()})},CI=function(a){if(Ye(a))return a;var r=Da(a)?a:{each:a},n=fo(r.ease),s=r.from||0,i=parseFloat(r.base)||0,c={},l=s>0&&s<1,d=isNaN(s)||l,h=r.axis,u=s,p=s;return lt(s)?u=p={center:.5,edges:.5,end:1}[s]||0:!l&&d&&(u=s[0],p=s[1]),function(m,y,x){var f=(x||r).length,v=c[f],k,w,j,S,C,A,L,b,N;if(!v){if(N=r.grid==="auto"?0:(r.grid||[1,ta])[1],!N){for(L=-ta;L<(L=x[N++].getBoundingClientRect().left)&&N<f;);N<f&&N--}for(v=c[f]=[],k=d?Math.min(N,f)*u-.5:s%N,w=N===ta?0:d?f*p/N-.5:s/N|0,L=0,b=ta,A=0;A<f;A++)j=A%N-k,S=w-(A/N|0),v[A]=C=h?Math.abs(h==="y"?S:j):iI(j*j+S*S),C>L&&(L=C),C<b&&(b=C);s==="random"&&jI(v),v.max=L-b,v.min=b,v.v=f=(parseFloat(r.amount)||parseFloat(r.each)*(N>f?f-1:h?h==="y"?f/N:N:Math.max(N,f/N))||0)*(s==="edges"?-1:1),v.b=f<0?i-f:i,v.u=xt(r.amount||r.each)||0,n=n&&f<0?qI(n):n}return f=(v[m]-v.min)/v.max||0,ot(v.b+(n?n(f):f)*v.v)+v.u}},nC=function(a){var r=Math.pow(10,((a+"").split(".")[1]||"").length);return function(n){var s=ot(Math.round(parseFloat(n)/a)*a*r);return(s-s%1)/r+(Ya(n)?0:xt(n))}},SI=function(a,r){var n=vt(a),s,i;return!n&&Da(a)&&(s=n=a.radius||ta,a.values?(a=aa(a.values),(i=!Ya(a[0]))&&(s*=s)):a=nC(a.increment)),qr(r,n?Ye(a)?function(c){return i=a(c),Math.abs(i-c)<=s?i:c}:function(c){for(var l=parseFloat(i?c.x:c),d=parseFloat(i?c.y:0),h=ta,u=0,p=a.length,m,y;p--;)i?(m=a[p].x-l,y=a[p].y-d,m=m*m+y*y):m=Math.abs(a[p]-l),m<h&&(h=m,u=p);return u=!s||h<=s?a[u]:c,i||u===c||Ya(c)?u:u+xt(c)}:nC(a))},LI=function(a,r,n,s){return qr(vt(a)?!r:n===!0?!!(n=0):!s,function(){return vt(a)?a[~~(Math.random()*a.length)]:(n=n||1e-5)&&(s=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((a-n/2+Math.random()*(r-a+n*.99))/n)*n*s)/s})},SD=function(){for(var a=arguments.length,r=new Array(a),n=0;n<a;n++)r[n]=arguments[n];return function(s){return r.reduce(function(i,c){return c(i)},s)}},LD=function(a,r){return function(n){return a(parseFloat(n))+(r||xt(n))}},ND=function(a,r,n){return II(a,r,0,1,n)},NI=function(a,r,n){return qr(n,function(s){return a[~~r(s)]})},ID=function t(a,r,n){var s=r-a;return vt(a)?NI(a,t(0,a.length),r):qr(n,function(i){return(s+(i-a)%s)%s+a})},AD=function t(a,r,n){var s=r-a,i=s*2;return vt(a)?NI(a,t(0,a.length-1),r):qr(n,function(c){return c=(i+(c-a)%i)%i||0,a+(c>s?i-c:c)})},al=function(a){for(var r=0,n="",s,i,c,l;~(s=a.indexOf("random(",r));)c=a.indexOf(")",s),l=a.charAt(s+7)==="[",i=a.substr(s+7,c-s-7).match(l?dI:Yj),n+=a.substr(r,s-r)+LI(l?i:+i[0],l?0:+i[1],+i[2]||1e-5),r=c+1;return n+a.substr(r,a.length-r)},II=function(a,r,n,s,i){var c=r-a,l=s-n;return qr(i,function(d){return n+((d-a)/c*l||0)})},PD=function t(a,r,n,s){var i=isNaN(a+r)?0:function(y){return(1-y)*a+y*r};if(!i){var c=lt(a),l={},d,h,u,p,m;if(n===!0&&(s=1)&&(n=null),c)a={p:a},r={p:r};else if(vt(a)&&!vt(r)){for(u=[],p=a.length,m=p-2,h=1;h<p;h++)u.push(t(a[h-1],a[h]));p--,i=function(x){x*=p;var f=Math.min(m,~~x);return u[f](x-f)},n=r}else s||(a=vo(vt(a)?[]:{},a));if(!u){for(d in r)BC.call(l,a,d,"get",r[d]);i=function(x){return WC(x,l)||(c?a.p:a)}}}return qr(n,i)},sL=function(a,r,n){var s=a.labels,i=ta,c,l,d;for(c in s)l=s[c]-r,l<0==!!n&&l&&i>(l=Math.abs(l))&&(d=c,i=l);return d},Bt=function(a,r,n){var s=a.vars,i=s[r],c=$e,l=a._ctx,d,h,u;if(i)return d=s[r+"Params"],h=s.callbackScope||a,n&&Cr.length&&g9(),l&&($e=l),u=d?i.apply(h,d):i.call(h),$e=c,u},kc=function(a){return Nr(a),a.scrollTrigger&&a.scrollTrigger.kill(!!kt),a.progress()<1&&Bt(a,"onInterrupt"),a},qo,AI=[],PI=function(a){if(a)if(a=!a.name&&a.default||a,zC()||a.headless){var r=a.name,n=Ye(a),s=r&&!n&&a.init?function(){this._props=[]}:a,i={init:tl,render:WC,add:BC,kill:WD,modifier:GD,rawVars:0},c={targetTest:0,get:0,getSetter:GC,aliases:{},register:0};if(sc(),a!==s){if(zt[r])return;ca(s,ca(k9(a,i),c)),vo(s.prototype,vo(i,k9(a,c))),zt[s.prop=r]=s,a.targetTest&&(c9.push(s),OC[r]=1),r=(r==="css"?"CSS":r.charAt(0).toUpperCase()+r.substr(1))+"Plugin"}pI(r,s),a.register&&a.register(Rt,s,Pt)}else AI.push(a)},De=255,vc={aqua:[0,De,De],lime:[0,De,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,De],navy:[0,0,128],white:[De,De,De],olive:[128,128,0],yellow:[De,De,0],orange:[De,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[De,0,0],pink:[De,192,203],cyan:[0,De,De],transparent:[De,De,De,0]},xj=function(a,r,n){return a+=a<0?1:a>1?-1:0,(a*6<1?r+(n-r)*a*6:a<.5?n:a*3<2?r+(n-r)*(2/3-a)*6:r)*De+.5|0},_I=function(a,r,n){var s=a?Ya(a)?[a>>16,a>>8&De,a&De]:0:vc.black,i,c,l,d,h,u,p,m,y,x;if(!s){if(a.substr(-1)===","&&(a=a.substr(0,a.length-1)),vc[a])s=vc[a];else if(a.charAt(0)==="#"){if(a.length<6&&(i=a.charAt(1),c=a.charAt(2),l=a.charAt(3),a="#"+i+i+c+c+l+l+(a.length===5?a.charAt(4)+a.charAt(4):"")),a.length===9)return s=parseInt(a.substr(1,6),16),[s>>16,s>>8&De,s&De,parseInt(a.substr(7),16)/255];a=parseInt(a.substr(1),16),s=[a>>16,a>>8&De,a&De]}else if(a.substr(0,3)==="hsl"){if(s=x=a.match(Yj),!r)d=+s[0]%360/360,h=+s[1]/100,u=+s[2]/100,c=u<=.5?u*(h+1):u+h-u*h,i=u*2-c,s.length>3&&(s[3]*=1),s[0]=xj(d+1/3,i,c),s[1]=xj(d,i,c),s[2]=xj(d-1/3,i,c);else if(~a.indexOf("="))return s=a.match(cI),n&&s.length<4&&(s[3]=1),s}else s=a.match(Yj)||vc.transparent;s=s.map(Number)}return r&&!x&&(i=s[0]/De,c=s[1]/De,l=s[2]/De,p=Math.max(i,c,l),m=Math.min(i,c,l),u=(p+m)/2,p===m?d=h=0:(y=p-m,h=u>.5?y/(2-p-m):y/(p+m),d=p===i?(c-l)/y+(c<l?6:0):p===c?(l-i)/y+2:(i-c)/y+4,d*=60),s[0]=~~(d+.5),s[1]=~~(h*100+.5),s[2]=~~(u*100+.5)),n&&s.length<4&&(s[3]=1),s},RI=function(a){var r=[],n=[],s=-1;return a.split(Sr).forEach(function(i){var c=i.match(To)||[];r.push.apply(r,c),n.push(s+=c.length+1)}),r.c=n,r},iL=function(a,r,n){var s="",i=(a+s).match(Sr),c=r?"hsla(":"rgba(",l=0,d,h,u,p;if(!i)return a;if(i=i.map(function(m){return(m=_I(m,r,1))&&c+(r?m[0]+","+m[1]+"%,"+m[2]+"%,"+m[3]:m.join(","))+")"}),n&&(u=RI(a),d=n.c,d.join(s)!==u.c.join(s)))for(h=a.replace(Sr,"1").split(To),p=h.length-1;l<p;l++)s+=h[l]+(~d.indexOf(l)?i.shift()||c+"0,0,0,0)":(u.length?u:i.length?i:n).shift());if(!h)for(h=a.split(Sr),p=h.length-1;l<p;l++)s+=h[l]+i[l];return s+h[p]},Sr=function(){var t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",a;for(a in vc)t+="|"+a+"\\b";return new RegExp(t+")","gi")}(),_D=/hsl[a]?\(/,TI=function(a){var r=a.join(" "),n;if(Sr.lastIndex=0,Sr.test(r))return n=_D.test(r),a[1]=iL(a[1],n),a[0]=iL(a[0],n,RI(a[1])),!0},rl,Ht=function(){var t=Date.now,a=500,r=33,n=t(),s=n,i=1e3/240,c=i,l=[],d,h,u,p,m,y,x=function f(v){var k=t()-s,w=v===!0,j,S,C,A;if((k>a||k<0)&&(n+=k-r),s+=k,C=s-n,j=C-c,(j>0||w)&&(A=++p.frame,m=C-p.time*1e3,p.time=C=C/1e3,c+=j+(j>=i?4:i-j),S=1),w||(d=h(f)),S)for(y=0;y<l.length;y++)l[y](C,m,A,v)};return p={time:0,frame:0,tick:function(){x(!0)},deltaRatio:function(v){return m/(1e3/(v||60))},wake:function(){hI&&(!Kj&&zC()&&(Ca=Kj=window,EC=Ca.document||{},Wt.gsap=Rt,(Ca.gsapVersions||(Ca.gsapVersions=[])).push(Rt.version),uI(x9||Ca.GreenSockGlobals||!Ca.gsap&&Ca||{}),AI.forEach(PI)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,d&&p.sleep(),h=u||function(v){return setTimeout(v,c-p.time*1e3+1|0)},rl=1,x(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(d),rl=0,h=tl},lagSmoothing:function(v,k){a=v||1/0,r=Math.min(k||33,a)},fps:function(v){i=1e3/(v||240),c=p.time*1e3+i},add:function(v,k,w){var j=k?function(S,C,A,L){v(S,C,A,L),p.remove(j)}:v;return p.remove(v),l[w?"unshift":"push"](j),sc(),j},remove:function(v,k){~(k=l.indexOf(v))&&l.splice(k,1)&&y>=k&&y--},_listeners:l},p}(),sc=function(){return!rl&&Ht.wake()},Ne={},RD=/^[\d.\-M][\d.\-,\s]/,TD=/["']/g,qD=function(a){for(var r={},n=a.substr(1,a.length-3).split(":"),s=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[s]=isNaN(h)?h.replace(TD,"").trim():+h,s=d.substr(l+1).trim();return r},DD=function(a){var r=a.indexOf("(")+1,n=a.indexOf(")"),s=a.indexOf("(",r);return a.substring(r,~s&&s<n?a.indexOf(")",n+1):n)},zD=function(a){var r=(a+"").split("("),n=Ne[r[0]];return n&&r.length>1&&n.config?n.config.apply(null,~a.indexOf("{")?[qD(r[1])]:DD(a).split(",").map(xI)):Ne._CE&&RD.test(a)?Ne._CE("",a):n},qI=function(a){return function(r){return 1-a(1-r)}},DI=function t(a,r){for(var n=a._first,s;n;)n instanceof jt?t(n,r):n.vars.yoyoEase&&(!n._yoyo||!n._repeat)&&n._yoyo!==r&&(n.timeline?t(n.timeline,r):(s=n._ease,n._ease=n._yEase,n._yEase=s,n._yoyo=r)),n=n._next},fo=function(a,r){return a&&(Ye(a)?a:Ne[a]||zD(a))||r},Io=function(a,r,n,s){n===void 0&&(n=function(d){return 1-r(1-d)}),s===void 0&&(s=function(d){return d<.5?r(d*2)/2:1-r((1-d)*2)/2});var i={easeIn:r,easeOut:n,easeInOut:s},c;return At(a,function(l){Ne[l]=Wt[l]=i,Ne[c=l.toLowerCase()]=n;for(var d in i)Ne[c+(d==="easeIn"?".in":d==="easeOut"?".out":".inOut")]=Ne[l+"."+d]=i[d]}),i},zI=function(a){return function(r){return r<.5?(1-a(1-r*2))/2:.5+a((r-.5)*2)/2}},gj=function t(a,r,n){var s=r>=1?r:1,i=(n||(a?.3:.45))/(r<1?r:1),c=i/Xj*(Math.asin(1/s)||0),l=function(u){return u===1?1:s*Math.pow(2,-10*u)*hD((u-c)*i)+1},d=a==="out"?l:a==="in"?function(h){return 1-l(1-h)}:zI(l);return i=Xj/i,d.config=function(h,u){return t(a,h,u)},d},kj=function t(a,r){r===void 0&&(r=1.70158);var n=function(c){return c?--c*c*((r+1)*c+r)+1:0},s=a==="out"?n:a==="in"?function(i){return 1-n(1-i)}:zI(n);return s.config=function(i){return t(a,i)},s};At("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,a){var r=a<5?a+1:a;Io(t+",Power"+(r-1),a?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})});Ne.Linear.easeNone=Ne.none=Ne.Linear.easeIn;Io("Elastic",gj("in"),gj("out"),gj());(function(t,a){var r=1/a,n=2*r,s=2.5*r,i=function(l){return l<r?t*l*l:l<n?t*Math.pow(l-1.5/a,2)+.75:l<s?t*(l-=2.25/a)*l+.9375:t*Math.pow(l-2.625/a,2)+.984375};Io("Bounce",function(c){return 1-i(1-c)},i)})(7.5625,2.75);Io("Expo",function(t){return t?Math.pow(2,10*(t-1)):0});Io("Circ",function(t){return-(iI(1-t*t)-1)});Io("Sine",function(t){return t===1?1:-dD(t*cD)+1});Io("Back",kj("in"),kj("out"),kj());Ne.SteppedEase=Ne.steps=Wt.SteppedEase={config:function(a,r){a===void 0&&(a=1);var n=1/a,s=a+(r?0:1),i=r?1:0,c=1-Oe;return function(l){return((s*hl(0,c,l)|0)+i)*n}}};ac.ease=Ne["quad.out"];At("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return HC+=t+","+t+"Params,"});var EI=function(a,r){this.id=lD++,a._gsap=this,this.target=a,this.harness=r,this.get=r?r.get:mI,this.set=r?r.getSetter:GC},nl=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,nc(this,+r.duration,1,1),this.data=r.data,$e&&(this._ctx=$e,$e.data.push(this)),rl||Ht.wake()}var a=t.prototype;return a.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},a.duration=function(n){return arguments.length?this.totalDuration(this._repeat>0?n+(n+this._rDelay)*this._repeat:n):this.totalDuration()&&this._dur},a.totalDuration=function(n){return arguments.length?(this._dirty=0,nc(this,this._repeat<0?n:(n-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},a.totalTime=function(n,s){if(sc(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(O9(this,n),!i._dp||i.parent||vI(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)&&Na(this._dp,this,this._start-this._delay)}return(this._tTime!==n||!this._dur&&!s||this._initted&&Math.abs(this._zTime)===Oe||!n&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=n),fI(this,n,s)),this},a.time=function(n,s){return arguments.length?this.totalTime(Math.min(this.totalDuration(),n+rL(this))%(this._dur+this._rDelay)||(n?this._dur:0),s):this._time},a.totalProgress=function(n,s){return arguments.length?this.totalTime(this.totalDuration()*n,s):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},a.progress=function(n,s){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-n:n)+rL(this),s):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},a.iteration=function(n,s){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(n-1)*i,s):this._repeat?rc(this._tTime,i)+1:1},a.timeScale=function(n,s){if(!arguments.length)return this._rts===-Oe?0:this._rts;if(this._rts===n)return this;var i=this.parent&&this._ts?v9(this.parent._time,this):this._tTime;return this._rts=+n||0,this._ts=this._ps||n===-Oe?0:this._rts,this.totalTime(hl(-Math.abs(this._delay),this._tDur,i),s!==!1),F9(this),gD(this)},a.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):(sc(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==Oe&&(this._tTime-=Oe)))),this):this._ps},a.startTime=function(n){if(arguments.length){this._start=n;var s=this.parent||this._dp;return s&&(s._sort||!this.parent)&&Na(s,this,n-this._delay),this}return this._start},a.endTime=function(n){return this._start+(It(n)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},a.rawTime=function(n){var s=this.parent||this._dp;return s?n&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?v9(s.rawTime(n),this):this._tTime:this._tTime},a.revert=function(n){n===void 0&&(n=yD);var s=kt;return kt=n,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(n),this.totalTime(-.01,n.suppressEvents)),this.data!=="nested"&&n.kill!==!1&&this.kill(),kt=s,this},a.globalTime=function(n){for(var s=this,i=arguments.length?n:s.rawTime();s;)i=s._start+i/(Math.abs(s._ts)||1),s=s._dp;return!this.parent&&this._sat?this._sat.globalTime(n):i},a.repeat=function(n){return arguments.length?(this._repeat=n===1/0?-2:n,nL(this)):this._repeat===-2?1/0:this._repeat},a.repeatDelay=function(n){if(arguments.length){var s=this._time;return this._rDelay=n,nL(this),s?this.time(s):this}return this._rDelay},a.yoyo=function(n){return arguments.length?(this._yoyo=n,this):this._yoyo},a.seek=function(n,s){return this.totalTime(Qt(this,n),It(s))},a.restart=function(n,s){return this.play().totalTime(n?-this._delay:0,It(s))},a.play=function(n,s){return n!=null&&this.seek(n,s),this.reversed(!1).paused(!1)},a.reverse=function(n,s){return n!=null&&this.seek(n||this.totalDuration(),s),this.reversed(!0).paused(!1)},a.pause=function(n,s){return n!=null&&this.seek(n,s),this.paused(!0)},a.resume=function(){return this.paused(!1)},a.reversed=function(n){return arguments.length?(!!n!==this.reversed()&&this.timeScale(-this._rts||(n?-Oe:0)),this):this._rts<0},a.invalidate=function(){return this._initted=this._act=0,this._zTime=-Oe,this},a.isActive=function(){var n=this.parent||this._dp,s=this._start,i;return!!(!n||this._ts&&this._initted&&n.isActive()&&(i=n.rawTime(!0))>=s&&i<this.endTime(!0)-Oe)},a.eventCallback=function(n,s,i){var c=this.vars;return arguments.length>1?(s?(c[n]=s,i&&(c[n+"Params"]=i),n==="onUpdate"&&(this._onUpdate=s)):delete c[n],this):c[n]},a.then=function(n){var s=this;return new Promise(function(i){var c=Ye(n)?n:gI,l=function(){var h=s.then;s.then=null,Ye(c)&&(c=c(s))&&(c.then||c===s)&&(s.then=h),i(c),s.then=h};s._initted&&s.totalProgress()===1&&s._ts>=0||!s._tTime&&s._ts<0?l():s._prom=l})},a.kill=function(){kc(this)},t}();ca(nl.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:-Oe,_prom:0,_ps:!1,_rts:1});var jt=function(t){sI(a,t);function a(n,s){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=It(n.sortChildren),Ue&&Na(n.parent||Ue,$a(i),s),n.reversed&&i.reverse(),n.paused&&i.paused(!0),n.scrollTrigger&&wI($a(i),n.scrollTrigger),i}var r=a.prototype;return r.to=function(s,i,c){return Jc(0,arguments,this),this},r.from=function(s,i,c){return Jc(1,arguments,this),this},r.fromTo=function(s,i,c,l){return Jc(2,arguments,this),this},r.set=function(s,i,c){return i.duration=0,i.parent=this,Zc(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new tt(s,i,Qt(this,c),1),this},r.call=function(s,i,c){return Na(this,tt.delayedCall(0,s,i),c)},r.staggerTo=function(s,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 tt(s,c,Qt(this,d)),this},r.staggerFrom=function(s,i,c,l,d,h,u){return c.runBackwards=1,Zc(c).immediateRender=It(c.immediateRender),this.staggerTo(s,i,c,l,d,h,u)},r.staggerFromTo=function(s,i,c,l,d,h,u,p){return l.startAt=c,Zc(l).immediateRender=It(l.immediateRender),this.staggerTo(s,i,l,d,h,u,p)},r.render=function(s,i,c){var l=this._time,d=this._dirty?this.totalDuration():this._tDur,h=this._dur,u=s<=0?0:ot(s),p=this._zTime<0!=s<0&&(this._initted||!h),m,y,x,f,v,k,w,j,S,C,A,L;if(this!==Ue&&u>d&&s>=0&&(u=d),u!==this._tTime||c||p){if(l!==this._time&&h&&(u+=this._time-l,s+=this._time-l),m=u,S=this._start,j=this._ts,k=!j,p&&(h||(l=this._zTime),(s||!i)&&(this._zTime=s)),this._repeat){if(A=this._yoyo,v=h+this._rDelay,this._repeat<-1&&s<0)return this.totalTime(v*100+s,i,c);if(m=ot(u%v),u===d?(f=this._repeat,m=h):(f=~~(u/v),f&&f===u/v&&(m=h,f--),m>h&&(m=h)),C=rc(this._tTime,v),!l&&this._tTime&&C!==f&&this._tTime-C*v-this._dur<=0&&(C=f),A&&f&1&&(m=h-m,L=1),f!==C&&!this._lock){var b=A&&C&1,N=b===(A&&f&1);if(f<C&&(b=!b),l=b?0:u%h?h:u,this._lock=1,this.render(l||(L?0:ot(f*v)),i,!h)._lock=0,this._tTime=u,!i&&this.parent&&Bt(this,"onRepeat"),this.vars.repeatRefresh&&!L&&(this.invalidate()._lock=1),l&&l!==this._time||k!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(h=this._dur,d=this._tDur,N&&(this._lock=2,l=b?h:-1e-4,this.render(l,!0),this.vars.repeatRefresh&&!L&&this.invalidate()),this._lock=0,!this._ts&&!k)return this;DI(this,L)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(w=bD(this,ot(l),ot(m)),w&&(u-=m-(m=w._start))),this._tTime=u,this._time=m,this._act=!j,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=s,l=0),!l&&m&&!i&&!f&&(Bt(this,"onStart"),this._tTime!==u))return this;if(m>=l&&s>=0)for(y=this._first;y;){if(x=y._next,(y._act||m>=y._start)&&y._ts&&w!==y){if(y.parent!==this)return this.render(s,i,c);if(y.render(y._ts>0?(m-y._start)*y._ts:(y._dirty?y.totalDuration():y._tDur)+(m-y._start)*y._ts,i,c),m!==this._time||!this._ts&&!k){w=0,x&&(u+=this._zTime=-Oe);break}}y=x}else{y=this._last;for(var q=s<0?s:m;y;){if(x=y._prev,(y._act||q<=y._end)&&y._ts&&w!==y){if(y.parent!==this)return this.render(s,i,c);if(y.render(y._ts>0?(q-y._start)*y._ts:(y._dirty?y.totalDuration():y._tDur)+(q-y._start)*y._ts,i,c||kt&&(y._initted||y._startAt)),m!==this._time||!this._ts&&!k){w=0,x&&(u+=this._zTime=q?-Oe:Oe);break}}y=x}}if(w&&!i&&(this.pause(),w.render(m>=l?0:-Oe)._zTime=m>=l?1:-1,this._ts))return this._start=S,F9(this),this.render(s,i,c);this._onUpdate&&!i&&Bt(this,"onUpdate",!0),(u===d&&this._tTime>=this.totalDuration()||!u&&l)&&(S===this._start||Math.abs(j)!==Math.abs(this._ts))&&(this._lock||((s||!h)&&(u===d&&this._ts>0||!u&&this._ts<0)&&Nr(this,1),!i&&!(s<0&&!l)&&(u||l||!d)&&(Bt(this,u===d&&s>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<d&&this.timeScale()>0)&&this._prom())))}return this},r.add=function(s,i){var c=this;if(Ya(i)||(i=Qt(this,i,s)),!(s instanceof nl)){if(vt(s))return s.forEach(function(l){return c.add(l,i)}),this;if(lt(s))return this.addLabel(s,i);if(Ye(s))s=tt.delayedCall(0,s);else return this}return this!==s?Na(this,s,i):this},r.getChildren=function(s,i,c,l){s===void 0&&(s=!0),i===void 0&&(i=!0),c===void 0&&(c=!0),l===void 0&&(l=-ta);for(var d=[],h=this._first;h;)h._start>=l&&(h instanceof tt?i&&d.push(h):(c&&d.push(h),s&&d.push.apply(d,h.getChildren(!0,i,c)))),h=h._next;return d},r.getById=function(s){for(var i=this.getChildren(1,1,1),c=i.length;c--;)if(i[c].vars.id===s)return i[c]},r.remove=function(s){return lt(s)?this.removeLabel(s):Ye(s)?this.killTweensOf(s):(E9(this,s),s===this._recent&&(this._recent=this._last),mo(this))},r.totalTime=function(s,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=ot(Ht.time-(this._ts>0?s/this._ts:(this.totalDuration()-s)/-this._ts))),t.prototype.totalTime.call(this,s,i),this._forcing=0,this):this._tTime},r.addLabel=function(s,i){return this.labels[s]=Qt(this,i),this},r.removeLabel=function(s){return delete this.labels[s],this},r.addPause=function(s,i,c){var l=tt.delayedCall(0,i||tl,c);return l.data="isPause",this._hasPause=1,Na(this,l,Qt(this,s))},r.removePause=function(s){var i=this._first;for(s=Qt(this,s);i;)i._start===s&&i.data==="isPause"&&Nr(i),i=i._next},r.killTweensOf=function(s,i,c){for(var l=this.getTweensOf(s,c),d=l.length;d--;)ur!==l[d]&&l[d].kill(s,i);return this},r.getTweensOf=function(s,i){for(var c=[],l=aa(s),d=this._first,h=Ya(i),u;d;)d instanceof tt?mD(d._targets,l)&&(h?(!ur||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(s,i){i=i||{};var c=this,l=Qt(c,s),d=i,h=d.startAt,u=d.onStart,p=d.onStartParams,m=d.immediateRender,y,x=tt.to(c,ca({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())||Oe,onStart:function(){if(c.pause(),!y){var v=i.duration||Math.abs((l-(h&&"time"in h?h.time:c._time))/c.timeScale());x._dur!==v&&nc(x,v,0,1).render(x._time,!0,!0),y=1}u&&u.apply(x,p||[])}},i));return m?x.render(0):x},r.tweenFromTo=function(s,i,c){return this.tweenTo(i,ca({startAt:{time:Qt(this,s)}},c))},r.recent=function(){return this._recent},r.nextLabel=function(s){return s===void 0&&(s=this._time),sL(this,Qt(this,s))},r.previousLabel=function(s){return s===void 0&&(s=this._time),sL(this,Qt(this,s),1)},r.currentLabel=function(s){return arguments.length?this.seek(s,!0):this.previousLabel(this._time+Oe)},r.shiftChildren=function(s,i,c){c===void 0&&(c=0);for(var l=this._first,d=this.labels,h;l;)l._start>=c&&(l._start+=s,l._end+=s),l=l._next;if(i)for(h in d)d[h]>=c&&(d[h]+=s);return mo(this)},r.invalidate=function(s){var i=this._first;for(this._lock=0;i;)i.invalidate(s),i=i._next;return t.prototype.invalidate.call(this,s)},r.clear=function(s){s===void 0&&(s=!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),s&&(this.labels={}),mo(this)},r.totalDuration=function(s){var i=0,c=this,l=c._last,d=ta,h,u,p;if(arguments.length)return c.timeScale((c._repeat<0?c.duration():c.totalDuration())/(c.reversed()?-s:s));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,Na(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;nc(c,c===Ue&&c._time>i?c._time:i,1,1),c._dirty=0}return c._tDur},a.updateRoot=function(s){if(Ue._ts&&(fI(Ue,v9(s,Ue)),yI=Ht.frame),Ht.frame>=tL){tL+=Ut.autoSleep||120;var i=Ue._first;if((!i||!i._ts)&&Ut.autoSleep&&Ht._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||Ht.sleep()}}},a}(nl);ca(jt.prototype,{_lock:0,_hasPause:0,_forcing:0});var ED=function(a,r,n,s,i,c,l){var d=new Pt(this._pt,a,r,0,1,$I,null,i),h=0,u=0,p,m,y,x,f,v,k,w;for(d.b=n,d.e=s,n+="",s+="",(k=~s.indexOf("random("))&&(s=al(s)),c&&(w=[n,s],c(w,a,r),n=w[0],s=w[1]),m=n.match(mj)||[];p=mj.exec(s);)x=p[0],f=s.substring(h,p.index),y?y=(y+1)%5:f.substr(-5)==="rgba("&&(y=1),x!==m[u++]&&(v=parseFloat(m[u-1])||0,d._pt={_next:d._pt,p:f||u===1?f:",",s:v,c:x.charAt(1)==="="?Xo(v,x)-v:parseFloat(x)-v,m:y&&y<4?Math.round:0},h=mj.lastIndex);return d.c=h<s.length?s.substring(h,s.length):"",d.fp=l,(lI.test(s)||k)&&(d.e=0),this._pt=d,d},BC=function(a,r,n,s,i,c,l,d,h,u){Ye(s)&&(s=s(i||0,a,c));var p=a[r],m=n!=="get"?n:Ye(p)?h?a[r.indexOf("set")||!Ye(a["get"+r.substr(3)])?r:"get"+r.substr(3)](h):a[r]():p,y=Ye(p)?h?BD:VI:UC,x;if(lt(s)&&(~s.indexOf("random(")&&(s=al(s)),s.charAt(1)==="="&&(x=Xo(m,s)+(xt(m)||0),(x||x===0)&&(s=x))),!u||m!==s||sC)return!isNaN(m*s)&&s!==""?(x=new Pt(this._pt,a,r,+m||0,s-(m||0),typeof p=="boolean"?UD:BI,0,y),h&&(x.fp=h),l&&x.modifier(l,this,a),this._pt=x):(!p&&!(r in a)&&FC(r,s),ED.call(this,a,r,m,s,y,d||Ut.stringFilter,h))},FD=function(a,r,n,s,i){if(Ye(a)&&(a=Xc(a,i,r,n,s)),!Da(a)||a.style&&a.nodeType||vt(a)||oI(a))return lt(a)?Xc(a,i,r,n,s):a;var c={},l;for(l in a)c[l]=Xc(a[l],i,r,n,s);return c},FI=function(a,r,n,s,i,c){var l,d,h,u;if(zt[a]&&(l=new zt[a]).init(i,l.rawVars?r[a]:FD(r[a],s,i,c,n),n,s,c)!==!1&&(n._pt=d=new Pt(n._pt,i,a,0,1,l.render,l,0,l.priority),n!==qo))for(h=n._ptLookup[n._targets.indexOf(i)],u=l._props.length;u--;)h[l._props[u]]=d;return l},ur,sC,$C=function t(a,r,n){var s=a.vars,i=s.ease,c=s.startAt,l=s.immediateRender,d=s.lazy,h=s.onUpdate,u=s.runBackwards,p=s.yoyoEase,m=s.keyframes,y=s.autoRevert,x=a._dur,f=a._startAt,v=a._targets,k=a.parent,w=k&&k.data==="nested"?k.vars.targets:v,j=a._overwrite==="auto"&&!qC,S=a.timeline,C,A,L,b,N,q,P,R,T,$,W,B,U;if(S&&(!m||!i)&&(i="none"),a._ease=fo(i,ac.ease),a._yEase=p?qI(fo(p===!0?i:p,ac.ease)):0,p&&a._yoyo&&!a._repeat&&(p=a._yEase,a._yEase=a._ease,a._ease=p),a._from=!S&&!!s.runBackwards,!S||m&&!s.stagger){if(R=v[0]?yo(v[0]).harness:0,B=R&&s[R.prop],C=k9(s,OC),f&&(f._zTime<0&&f.progress(1),r<0&&u&&l&&!y?f.render(-1,!0):f.revert(u&&x?o9:pD),f._lazy=0),c){if(Nr(a._startAt=tt.set(v,ca({data:"isStart",overwrite:!1,parent:k,immediateRender:!0,lazy:!f&&It(d),startAt:null,delay:0,onUpdate:h&&function(){return Bt(a,"onUpdate")},stagger:0},c))),a._startAt._dp=0,a._startAt._sat=a,r<0&&(kt||!l&&!y)&&a._startAt.revert(o9),l&&x&&r<=0&&n<=0){r&&(a._zTime=r);return}}else if(u&&x&&!f){if(r&&(l=!1),L=ca({overwrite:!1,data:"isFromStart",lazy:l&&!f&&It(d),immediateRender:l,stagger:0,parent:k},C),B&&(L[R.prop]=B),Nr(a._startAt=tt.set(v,L)),a._startAt._dp=0,a._startAt._sat=a,r<0&&(kt?a._startAt.revert(o9):a._startAt.render(-1,!0)),a._zTime=r,!l)t(a._startAt,Oe,Oe);else if(!r)return}for(a._pt=a._ptCache=0,d=x&&It(d)||d&&!x,A=0;A<v.length;A++){if(N=v[A],P=N._gsap||VC(v)[A]._gsap,a._ptLookup[A]=$={},Qj[P.id]&&Cr.length&&g9(),W=w===v?A:w.indexOf(N),R&&(T=new R).init(N,B||C,a,W,w)!==!1&&(a._pt=b=new Pt(a._pt,N,T.name,0,1,T.render,T,0,T.priority),T._props.forEach(function(O){$[O]=b}),T.priority&&(q=1)),!R||B)for(L in C)zt[L]&&(T=FI(L,C,a,W,N,w))?T.priority&&(q=1):$[L]=b=BC.call(a,N,L,"get",C[L],W,w,0,s.stringFilter);a._op&&a._op[A]&&a.kill(N,a._op[A]),j&&a._pt&&(ur=a,Ue.killTweensOf(N,$,a.globalTime(r)),U=!a.parent,ur=0),a._pt&&d&&(Qj[P.id]=1)}q&&UI(a),a._onInit&&a._onInit(a)}a._onUpdate=h,a._initted=(!a._op||a._pt)&&!U,m&&r<=0&&S.render(ta,!0,!0)},OD=function(a,r,n,s,i,c,l,d){var h=(a._pt&&a._ptCache||(a._ptCache={}))[r],u,p,m,y;if(!h)for(h=a._ptCache[r]=[],m=a._ptLookup,y=a._targets.length;y--;){if(u=m[y][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 sC=1,a.vars[r]="+=0",$C(a,l),sC=0,d?el(r+" not eligible for reset"):1;h.push(u)}for(y=h.length;y--;)p=h[y],u=p._pt||p,u.s=(s||s===0)&&!i?s:u.s+(s||0)+c*u.c,u.c=n-u.s,p.e&&(p.e=Ke(n)+xt(p.e)),p.b&&(p.b=u.s+xt(p.b))},HD=function(a,r){var n=a[0]?yo(a[0]).harness:0,s=n&&n.aliases,i,c,l,d;if(!s)return r;i=vo({},r);for(c in s)if(c in i)for(d=s[c].split(","),l=d.length;l--;)i[d[l]]=i[c];return i},VD=function(a,r,n,s){var i=r.ease||s||"power1.inOut",c,l;if(vt(r))l=n[a]||(n[a]=[]),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(a),v:r[c],e:i})},Xc=function(a,r,n,s,i){return Ye(a)?a.call(r,n,s,i):lt(a)&&~a.indexOf("random(")?al(a):a},OI=HC+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",HI={};At(OI+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return HI[t]=1});var tt=function(t){sI(a,t);function a(n,s,i,c){var l;typeof s=="number"&&(i.duration=s,s=i,i=null),l=t.call(this,c?s:Zc(s))||this;var d=l.vars,h=d.duration,u=d.delay,p=d.immediateRender,m=d.stagger,y=d.overwrite,x=d.keyframes,f=d.defaults,v=d.scrollTrigger,k=d.yoyoEase,w=s.parent||Ue,j=(vt(n)||oI(n)?Ya(n[0]):"length"in s)?[n]:aa(n),S,C,A,L,b,N,q,P;if(l._targets=j.length?VC(j):el("GSAP target "+n+" not found. https://gsap.com",!Ut.nullTargetWarn)||[],l._ptLookup=[],l._overwrite=y,x||m||kl(h)||kl(u)){if(s=l.vars,S=l.timeline=new jt({data:"nested",defaults:f||{},targets:w&&w.data==="nested"?w.vars.targets:j}),S.kill(),S.parent=S._dp=$a(l),S._start=0,m||kl(h)||kl(u)){if(L=j.length,q=m&&CI(m),Da(m))for(b in m)~OI.indexOf(b)&&(P||(P={}),P[b]=m[b]);for(C=0;C<L;C++)A=k9(s,HI),A.stagger=0,k&&(A.yoyoEase=k),P&&vo(A,P),N=j[C],A.duration=+Xc(h,$a(l),C,N,j),A.delay=(+Xc(u,$a(l),C,N,j)||0)-l._delay,!m&&L===1&&A.delay&&(l._delay=u=A.delay,l._start+=u,A.delay=0),S.to(N,A,q?q(C,N,j):0),S._ease=Ne.none;S.duration()?h=u=0:l.timeline=0}else if(x){Zc(ca(S.vars.defaults,{ease:"none"})),S._ease=fo(x.ease||s.ease||"none");var R=0,T,$,W;if(vt(x))x.forEach(function(B){return S.to(j,B,">")}),S.duration();else{A={};for(b in x)b==="ease"||b==="easeEach"||VD(b,x[b],A,x.easeEach);for(b in A)for(T=A[b].sort(function(B,U){return B.t-U.t}),R=0,C=0;C<T.length;C++)$=T[C],W={ease:$.e,duration:($.t-(C?T[C-1].t:0))/100*h},W[b]=$.v,S.to(j,W,R),R+=W.duration;S.duration()<h&&S.to({},{duration:h-S.duration()})}}h||l.duration(h=S.duration())}else l.timeline=0;return y===!0&&!qC&&(ur=$a(l),Ue.killTweensOf(j),ur=0),Na(w,$a(l),i),s.reversed&&l.reverse(),s.paused&&l.paused(!0),(p||!h&&!x&&l._start===ot(w._time)&&It(p)&&kD($a(l))&&w.data!=="nested")&&(l._tTime=-Oe,l.render(Math.max(0,-u)||0)),v&&wI($a(l),v),l}var r=a.prototype;return r.render=function(s,i,c){var l=this._time,d=this._tDur,h=this._dur,u=s<0,p=s>d-Oe&&!u?d:s<Oe?0:s,m,y,x,f,v,k,w,j,S;if(!h)wD(this,s,i,c);else if(p!==this._tTime||!s||c||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u){if(m=p,j=this.timeline,this._repeat){if(f=h+this._rDelay,this._repeat<-1&&u)return this.totalTime(f*100+s,i,c);if(m=ot(p%f),p===d?(x=this._repeat,m=h):(x=~~(p/f),x&&x===ot(p/f)&&(m=h,x--),m>h&&(m=h)),k=this._yoyo&&x&1,k&&(S=this._yEase,m=h-m),v=rc(this._tTime,f),m===l&&!c&&this._initted&&x===v)return this._tTime=p,this;x!==v&&(j&&this._yEase&&DI(j,k),this.vars.repeatRefresh&&!k&&!this._lock&&this._time!==f&&this._initted&&(this._lock=c=1,this.render(ot(f*x),!0).invalidate()._lock=0))}if(!this._initted){if(bI(this,u?s:m,c,i,p))return this._tTime=0,this;if(l!==this._time&&!(c&&this.vars.repeatRefresh&&x!==v))return this;if(h!==this._dur)return this.render(s,i,c)}if(this._tTime=p,this._time=m,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=w=(S||this._ease)(m/h),this._from&&(this.ratio=w=1-w),m&&!l&&!i&&!x&&(Bt(this,"onStart"),this._tTime!==p))return this;for(y=this._pt;y;)y.r(w,y.d),y=y._next;j&&j.render(s<0?s:j._dur*j._ease(m/this._dur),i,c)||this._startAt&&(this._zTime=s),this._onUpdate&&!i&&(u&&eC(this,s,i,c),Bt(this,"onUpdate")),this._repeat&&x!==v&&this.vars.onRepeat&&!i&&this.parent&&Bt(this,"onRepeat"),(p===this._tDur||!p)&&this._tTime===p&&(u&&!this._onUpdate&&eC(this,s,!0,!0),(s||!h)&&(p===this._tDur&&this._ts>0||!p&&this._ts<0)&&Nr(this,1),!i&&!(u&&!l)&&(p||l||k)&&(Bt(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(s){return(!s||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(s),t.prototype.invalidate.call(this,s)},r.resetTo=function(s,i,c,l,d){rl||Ht.wake(),this._ts||this.play();var h=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||$C(this,h),u=this._ease(h/this._dur),OD(this,s,i,c,l,u,h,d)?this.resetTo(s,i,c,l,1):(O9(this,0),this.parent||kI(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(s,i){if(i===void 0&&(i="all"),!s&&(!i||i==="all"))return this._lazy=this._pt=0,this.parent?kc(this):this;if(this.timeline){var c=this.timeline.totalDuration();return this.timeline.killTweensOf(s,i,ur&&ur.vars.overwrite!==!0)._first||kc(this),this.parent&&c!==this.timeline.totalDuration()&&nc(this,this._dur*this.timeline._tDur/c,0,1),this}var l=this._targets,d=s?aa(s):l,h=this._ptLookup,u=this._pt,p,m,y,x,f,v,k;if((!i||i==="all")&&xD(l,d))return i==="all"&&(this._pt=0),kc(this);for(p=this._op=this._op||[],i!=="all"&&(lt(i)&&(f={},At(i,function(w){return f[w]=1}),i=f),i=HD(l,i)),k=l.length;k--;)if(~d.indexOf(l[k])){m=h[k],i==="all"?(p[k]=i,x=m,y={}):(y=p[k]=p[k]||{},x=i);for(f in x)v=m&&m[f],v&&((!("kill"in v.d)||v.d.kill(f)===!0)&&E9(this,v,"_pt"),delete m[f]),y!=="all"&&(y[f]=1)}return this._initted&&!this._pt&&u&&kc(this),this},a.to=function(s,i){return new a(s,i,arguments[2])},a.from=function(s,i){return Jc(1,arguments)},a.delayedCall=function(s,i,c,l){return new a(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:s,onComplete:i,onReverseComplete:i,onCompleteParams:c,onReverseCompleteParams:c,callbackScope:l})},a.fromTo=function(s,i,c){return Jc(2,arguments)},a.set=function(s,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new a(s,i)},a.killTweensOf=function(s,i,c){return Ue.killTweensOf(s,i,c)},a}(nl);ca(tt.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});At("staggerTo,staggerFrom,staggerFromTo",function(t){tt[t]=function(){var a=new jt,r=aC.call(arguments,0);return r.splice(t==="staggerFromTo"?5:4,0,0),a[t].apply(a,r)}});var UC=function(a,r,n){return a[r]=n},VI=function(a,r,n){return a[r](n)},BD=function(a,r,n,s){return a[r](s.fp,n)},$D=function(a,r,n){return a.setAttribute(r,n)},GC=function(a,r){return Ye(a[r])?VI:DC(a[r])&&a.setAttribute?$D:UC},BI=function(a,r){return r.set(r.t,r.p,Math.round((r.s+r.c*a)*1e6)/1e6,r)},UD=function(a,r){return r.set(r.t,r.p,!!(r.s+r.c*a),r)},$I=function(a,r){var n=r._pt,s="";if(!a&&r.b)s=r.b;else if(a===1&&r.e)s=r.e;else{for(;n;)s=n.p+(n.m?n.m(n.s+n.c*a):Math.round((n.s+n.c*a)*1e4)/1e4)+s,n=n._next;s+=r.c}r.set(r.t,r.p,s,r)},WC=function(a,r){for(var n=r._pt;n;)n.r(a,n.d),n=n._next},GD=function(a,r,n,s){for(var i=this._pt,c;i;)c=i._next,i.p===s&&i.modifier(a,r,n),i=c},WD=function(a){for(var r=this._pt,n,s;r;)s=r._next,r.p===a&&!r.op||r.op===a?E9(this,r,"_pt"):r.dep||(n=1),r=s;return!n},ZD=function(a,r,n,s){s.mSet(a,r,s.m.call(s.tween,n,s.mt),s)},UI=function(a){for(var r=a._pt,n,s,i,c;r;){for(n=r._next,s=i;s&&s.pr>r.pr;)s=s._next;(r._prev=s?s._prev:c)?r._prev._next=r:i=r,(r._next=s)?s._prev=r:c=r,r=n}a._pt=i},Pt=function(){function t(r,n,s,i,c,l,d,h,u){this.t=n,this.s=i,this.c=c,this.p=s,this.r=l||BI,this.d=d||this,this.set=h||UC,this.pr=u||0,this._next=r,r&&(r._prev=this)}var a=t.prototype;return a.modifier=function(n,s,i){this.mSet=this.mSet||this.set,this.set=ZD,this.m=n,this.mt=i,this.tween=s},t}();At(HC+"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 OC[t]=1});Wt.TweenMax=Wt.TweenLite=tt;Wt.TimelineLite=Wt.TimelineMax=jt;Ue=new jt({sortChildren:!1,defaults:ac,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Ut.stringFilter=TI;var xo=[],l9={},JD=[],oL=0,XD=0,vj=function(a){return(l9[a]||JD).map(function(r){return r()})},iC=function(){var a=Date.now(),r=[];a-oL>2&&(vj("matchMediaInit"),xo.forEach(function(n){var s=n.queries,i=n.conditions,c,l,d,h;for(l in s)c=Ca.matchMedia(s[l]).matches,c&&(d=1),c!==i[l]&&(i[l]=c,h=1);h&&(n.revert(),d&&r.push(n))}),vj("matchMediaRevert"),r.forEach(function(n){return n.onMatch(n,function(s){return n.add(null,s)})}),oL=a,vj("matchMedia"))},GI=function(){function t(r,n){this.selector=n&&rC(n),this.data=[],this._r=[],this.isReverted=!1,this.id=XD++,r&&this.add(r)}var a=t.prototype;return a.add=function(n,s,i){Ye(n)&&(i=s,s=n,n=Ye);var c=this,l=function(){var h=$e,u=c.selector,p;return h&&h!==c&&h.data.push(c),i&&(c.selector=rC(i)),$e=c,p=s.apply(c,arguments),Ye(p)&&c._r.push(p),$e=h,c.selector=u,c.isReverted=!1,p};return c.last=l,n===Ye?l(c,function(d){return c.add(null,d)}):n?c[n]=l:l},a.ignore=function(n){var s=$e;$e=null,n(this),$e=s},a.getTweens=function(){var n=[];return this.data.forEach(function(s){return s instanceof t?n.push.apply(n,s.getTweens()):s instanceof tt&&!(s.parent&&s.parent.data==="nested")&&n.push(s)}),n},a.clear=function(){this._r.length=this.data.length=0},a.kill=function(n,s){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 jt?h.data!=="nested"&&(h.scrollTrigger&&h.scrollTrigger.revert(),h.kill()):!(h instanceof tt)&&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(),s)for(var c=xo.length;c--;)xo[c].id===this.id&&xo.splice(c,1)},a.revert=function(n){this.kill(n||{})},t}(),YD=function(){function t(r){this.contexts=[],this.scope=r,$e&&$e.data.push(this)}var a=t.prototype;return a.add=function(n,s,i){Da(n)||(n={matches:n});var c=new GI(0,i||this.scope),l=c.conditions={},d,h,u;$e&&!c.selector&&(c.selector=$e.selector),this.contexts.push(c),s=c.add("onMatch",s),c.queries=n;for(h in n)h==="all"?u=1:(d=Ca.matchMedia(n[h]),d&&(xo.indexOf(c)<0&&xo.push(c),(l[h]=d.matches)&&(u=1),d.addListener?d.addListener(iC):d.addEventListener("change",iC)));return u&&s(c,function(p){return c.add(null,p)}),this},a.revert=function(n){this.kill(n||{})},a.kill=function(n){this.contexts.forEach(function(s){return s.kill(n,!0)})},t}(),w9={registerPlugin:function(){for(var a=arguments.length,r=new Array(a),n=0;n<a;n++)r[n]=arguments[n];r.forEach(function(s){return PI(s)})},timeline:function(a){return new jt(a)},getTweensOf:function(a,r){return Ue.getTweensOf(a,r)},getProperty:function(a,r,n,s){lt(a)&&(a=aa(a)[0]);var i=yo(a||{}).get,c=n?gI:xI;return n==="native"&&(n=""),a&&(r?c((zt[r]&&zt[r].get||i)(a,r,n,s)):function(l,d,h){return c((zt[l]&&zt[l].get||i)(a,l,d,h))})},quickSetter:function(a,r,n){if(a=aa(a),a.length>1){var s=a.map(function(u){return Rt.quickSetter(u,r,n)}),i=s.length;return function(u){for(var p=i;p--;)s[p](u)}}a=a[0]||{};var c=zt[r],l=yo(a),d=l.harness&&(l.harness.aliases||{})[r]||r,h=c?function(u){var p=new c;qo._pt=0,p.init(a,n?u+n:u,qo,0,[a]),p.render(1,p),qo._pt&&WC(1,qo)}:l.set(a,d);return c?h:function(u){return h(a,d,n?u+n:u,l,1)}},quickTo:function(a,r,n){var s,i=Rt.to(a,vo((s={},s[r]="+=0.1",s.paused=!0,s),n||{})),c=function(d,h,u){return i.resetTo(r,d,h,u)};return c.tween=i,c},isTweening:function(a){return Ue.getTweensOf(a,!0).length>0},defaults:function(a){return a&&a.ease&&(a.ease=fo(a.ease,ac.ease)),aL(ac,a||{})},config:function(a){return aL(Ut,a||{})},registerEffect:function(a){var r=a.name,n=a.effect,s=a.plugins,i=a.defaults,c=a.extendTimeline;(s||"").split(",").forEach(function(l){return l&&!zt[l]&&!Wt[l]&&el(r+" effect requires "+l+" plugin.")}),fj[r]=function(l,d,h){return n(aa(l),ca(d||{},i),h)},c&&(jt.prototype[r]=function(l,d,h){return this.add(fj[r](l,Da(d)?d:(h=d)&&{},this),h)})},registerEase:function(a,r){Ne[a]=fo(r)},parseEase:function(a,r){return arguments.length?fo(a,r):Ne},getById:function(a){return Ue.getById(a)},exportRoot:function(a,r){a===void 0&&(a={});var n=new jt(a),s,i;for(n.smoothChildTiming=It(a.smoothChildTiming),Ue.remove(n),n._dp=0,n._time=n._tTime=Ue._time,s=Ue._first;s;)i=s._next,(r||!(!s._dur&&s instanceof tt&&s.vars.onComplete===s._targets[0]))&&Na(n,s,s._start-s._delay),s=i;return Na(Ue,n,0),n},context:function(a,r){return a?new GI(a,r):$e},matchMedia:function(a){return new YD(a)},matchMediaRefresh:function(){return xo.forEach(function(a){var r=a.conditions,n,s;for(s in r)r[s]&&(r[s]=!1,n=1);n&&a.revert()})||iC()},addEventListener:function(a,r){var n=l9[a]||(l9[a]=[]);~n.indexOf(r)||n.push(r)},removeEventListener:function(a,r){var n=l9[a],s=n&&n.indexOf(r);s>=0&&n.splice(s,1)},utils:{wrap:ID,wrapYoyo:AD,distribute:CI,random:LI,snap:SI,normalize:ND,getUnit:xt,clamp:jD,splitColor:_I,toArray:aa,selector:rC,mapRange:II,pipe:SD,unitize:LD,interpolate:PD,shuffle:jI},install:uI,effects:fj,ticker:Ht,updateRoot:jt.updateRoot,plugins:zt,globalTimeline:Ue,core:{PropTween:Pt,globals:pI,Tween:tt,Timeline:jt,Animation:nl,getCache:yo,_removeLinkedListItem:E9,reverting:function(){return kt},context:function(a){return a&&$e&&($e.data.push(a),a._ctx=$e),$e},suppressOverwrites:function(a){return qC=a}}};At("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return w9[t]=tt[t]});Ht.add(jt.updateRoot);qo=w9.to({},{duration:0});var KD=function(a,r){for(var n=a._pt;n&&n.p!==r&&n.op!==r&&n.fp!==r;)n=n._next;return n},QD=function(a,r){var n=a._targets,s,i,c;for(s in r)for(i=n.length;i--;)c=a._ptLookup[i][s],c&&(c=c.d)&&(c._pt&&(c=KD(c,s)),c&&c.modifier&&c.modifier(r[s],a,n[i],s))},wj=function(a,r){return{name:a,rawVars:1,init:function(s,i,c){c._onInit=function(l){var d,h;if(lt(i)&&(d={},At(i,function(u){return d[u]=1}),i=d),r){d={};for(h in i)d[h]=r(i[h]);i=d}QD(l,i)}}}},Rt=w9.registerPlugin({name:"attr",init:function(a,r,n,s,i){var c,l,d;this.tween=n;for(c in r)d=a.getAttribute(c)||"",l=this.add(a,"setAttribute",(d||0)+"",r[c],s,i,0,0,c),l.op=c,l.b=d,this._props.push(c)},render:function(a,r){for(var n=r._pt;n;)kt?n.set(n.t,n.p,n.b,n):n.r(a,n.d),n=n._next}},{name:"endArray",init:function(a,r){for(var n=r.length;n--;)this.add(a,n,a[n]||0,r[n],0,0,0,0,0,1)}},wj("roundProps",nC),wj("modifiers"),wj("snap",SI))||w9;tt.version=jt.version=Rt.version="3.12.5";hI=1;zC()&&sc();Ne.Power0;Ne.Power1;Ne.Power2;Ne.Power3;Ne.Power4;Ne.Linear;Ne.Quad;Ne.Cubic;Ne.Quart;Ne.Quint;Ne.Strong;Ne.Elastic;Ne.Back;Ne.SteppedEase;Ne.Bounce;Ne.Sine;Ne.Expo;Ne.Circ;/*!
7734
7734
  * CSSPlugin 3.12.5
7735
7735
  * https://gsap.com
7736
7736
  *
@@ -7738,23 +7738,23 @@ 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 cL,ur,Yo,ZC,oo,lL,JC,QD=function(){return typeof window<"u"},Ja={},so=180/Math.PI,Ko=Math.PI/180,Ao=Math.atan2,dL=1e8,XC=/([A-Z])/g,ez=/(left|right|width|margin|padding|x)/i,tz=/[\s,\(]\S/,Sa={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},oC=function(a,r){return r.set(r.t,r.p,Math.round((r.s+r.c*a)*1e4)/1e4+r.u,r)},az=function(a,r){return r.set(r.t,r.p,a===1?r.e:Math.round((r.s+r.c*a)*1e4)/1e4+r.u,r)},rz=function(a,r){return r.set(r.t,r.p,a?Math.round((r.s+r.c*a)*1e4)/1e4+r.u:r.b,r)},nz=function(a,r){var n=r.s+r.c*a;r.set(r.t,r.p,~~(n+(n<0?-.5:.5))+r.u,r)},WI=function(a,r){return r.set(r.t,r.p,a?r.e:r.b,r)},ZI=function(a,r){return r.set(r.t,r.p,a!==1?r.b:r.e,r)},sz=function(a,r,n){return a.style[r]=n},iz=function(a,r,n){return a.style.setProperty(r,n)},oz=function(a,r,n){return a._gsap[r]=n},cz=function(a,r,n){return a._gsap.scaleX=a._gsap.scaleY=n},lz=function(a,r,n,s,i){var c=a._gsap;c.scaleX=c.scaleY=n,c.renderTransform(i,c)},dz=function(a,r,n,s,i){var c=a._gsap;c[r]=n,c.renderTransform(i,c)},Ue="transform",Pt=Ue+"Origin",hz=function t(a,r){var n=this,s=this.target,i=s.style,c=s._gsap;if(a in Ja&&i){if(this.tfm=this.tfm||{},a!=="transform")a=Sa[a]||a,~a.indexOf(",")?a.split(",").forEach(function(l){return n.tfm[l]=Ua(s,l)}):this.tfm[a]=c.x?c[a]:Ua(s,a),a===Pt&&(this.tfm.zOrigin=c.zOrigin);else return Sa.transform.split(",").forEach(function(l){return t.call(n,l,r)});if(this.props.indexOf(Ue)>=0)return;c.svg&&(this.svgo=s.getAttribute("data-svg-origin"),this.props.push(Pt,r,"")),a=Ue}(i||r)&&this.props.push(a,r,i[a])},JI=function(a){a.translate&&(a.removeProperty("translate"),a.removeProperty("scale"),a.removeProperty("rotate"))},uz=function(){var a=this.props,r=this.target,n=r.style,s=r._gsap,i,c;for(i=0;i<a.length;i+=3)a[i+1]?r[a[i]]=a[i+2]:a[i+2]?n[a[i]]=a[i+2]:n.removeProperty(a[i].substr(0,2)==="--"?a[i]:a[i].replace(XC,"-$1").toLowerCase());if(this.tfm){for(c in this.tfm)s[c]=this.tfm[c];s.svg&&(s.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),i=JC(),(!i||!i.isStart)&&!n[Ue]&&(JI(n),s.zOrigin&&n[Pt]&&(n[Pt]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},XI=function(a,r){var n={target:a,props:[],revert:uz,save:hz};return a._gsap||_t.core.getCache(a),r&&r.split(",").forEach(function(s){return n.save(s)}),n},YI,cC=function(a,r){var n=ur.createElementNS?ur.createElementNS((r||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),a):ur.createElement(a);return n&&n.style?n:ur.createElement(a)},Aa=function t(a,r,n){var s=getComputedStyle(a);return s[r]||s.getPropertyValue(r.replace(XC,"-$1").toLowerCase())||s.getPropertyValue(r)||!n&&t(a,ic(r)||r,1)||""},hL="O,Moz,ms,Ms,Webkit".split(","),ic=function(a,r,n){var s=r||oo,i=s.style,c=5;if(a in i&&!n)return a;for(a=a.charAt(0).toUpperCase()+a.substr(1);c--&&!(hL[c]+a in i););return c<0?null:(c===3?"ms":c>=0?hL[c]:"")+a},lC=function(){QD()&&window.document&&(cL=window,ur=cL.document,Yo=ur.documentElement,oo=cC("div")||{style:{}},cC("div"),Ue=ic(Ue),Pt=Ue+"Origin",oo.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",YI=!!ic("perspective"),JC=_t.core.reverting,ZC=1)},bj=function t(a){var r=cC("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,s=this.nextSibling,i=this.style.cssText,c;if(Yo.appendChild(r),r.appendChild(this),this.style.display="block",a)try{c=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch{}else this._gsapBBox&&(c=this._gsapBBox());return n&&(s?n.insertBefore(this,s):n.appendChild(this)),Yo.removeChild(r),this.style.cssText=i,c},uL=function(a,r){for(var n=r.length;n--;)if(a.hasAttribute(r[n]))return a.getAttribute(r[n])},KI=function(a){var r;try{r=a.getBBox()}catch{r=bj.call(a,!0)}return r&&(r.width||r.height)||a.getBBox===bj||(r=bj.call(a,!0)),r&&!r.width&&!r.x&&!r.y?{x:+uL(a,["x","cx","x1"])||0,y:+uL(a,["y","cy","y1"])||0,width:0,height:0}:r},QI=function(a){return!!(a.getCTM&&(!a.parentNode||a.ownerSVGElement)&&KI(a))},wo=function(a,r){if(r){var n=a.style,s;r in Ja&&r!==Pt&&(r=Ue),n.removeProperty?(s=r.substr(0,2),(s==="ms"||r.substr(0,6)==="webkit")&&(r="-"+r),n.removeProperty(s==="--"?r:r.replace(XC,"-$1").toLowerCase())):n.removeAttribute(r)}},pr=function(a,r,n,s,i,c){var l=new At(a._pt,r,n,0,1,c?ZI:WI);return a._pt=l,l.b=s,l.e=i,a._props.push(n),l},pL={deg:1,rad:1,turn:1},pz={grid:1,flex:1},Nr=function t(a,r,n,s){var i=parseFloat(n)||0,c=(n+"").trim().substr((i+"").length)||"px",l=oo.style,d=ez.test(r),h=a.tagName.toLowerCase()==="svg",u=(h?"client":"offset")+(d?"Width":"Height"),p=100,m=s==="px",y=s==="%",x,f,v,k;if(s===c||!i||pL[s]||pL[c])return i;if(c!=="px"&&!m&&(i=t(a,r,n,"px")),k=a.getCTM&&QI(a),(y||c==="%")&&(Ja[r]||~r.indexOf("adius")))return x=k?a.getBBox()[d?"width":"height"]:a[u],Xe(y?i/x*p:i/100*x);if(l[d?"width":"height"]=p+(m?c:s),f=~r.indexOf("adius")||s==="em"&&a.appendChild&&!h?a:a.parentNode,k&&(f=(a.ownerSVGElement||{}).parentNode),(!f||f===ur||!f.appendChild)&&(f=ur.body),v=f._gsap,v&&y&&v.width&&d&&v.time===Ft.time&&!v.uncache)return Xe(i/v.width*p);if(y&&(r==="height"||r==="width")){var w=a.style[r];a.style[r]=p+s,x=a[u],w?a.style[r]=w:wo(a,r)}else(y||c==="%")&&!pz[Aa(f,"display")]&&(l.position=Aa(a,"position")),f===a&&(l.position="static"),f.appendChild(oo),x=oo[u],f.removeChild(oo),l.position="absolute";return d&&y&&(v=yo(f),v.time=Ft.time,v.width=f[u]),Xe(m?x*i/p:x&&i?p/x*i:0)},Ua=function(a,r,n,s){var i;return ZC||lC(),r in Sa&&r!=="transform"&&(r=Sa[r],~r.indexOf(",")&&(r=r.split(",")[0])),Ja[r]&&r!=="transform"?(i=il(a,s),i=r!=="transformOrigin"?i[r]:i.svg?i.origin:M9(Aa(a,Pt))+" "+i.zOrigin+"px"):(i=a.style[r],(!i||i==="auto"||s||~(i+"").indexOf("calc("))&&(i=b9[r]&&b9[r](a,r,n)||Aa(a,r)||mI(a,r)||(r==="opacity"?1:0))),n&&!~(i+"").trim().indexOf(" ")?Nr(a,r,i,n)+n:i},yz=function(a,r,n,s){if(!n||n==="none"){var i=ic(r,a,1),c=i&&Aa(a,i,1);c&&c!==n?(r=i,n=c):r==="borderColor"&&(n=Aa(a,"borderTopColor"))}var l=new At(this._pt,a.style,r,0,1,$I),d=0,h=0,u,p,m,y,x,f,v,k,w,j,S,C;if(l.b=n,l.e=s,n+="",s+="",s==="auto"&&(f=a.style[r],a.style[r]=s,s=Aa(a,r)||s,f?a.style[r]=f:wo(a,r)),u=[n,s],TI(u),n=u[0],s=u[1],m=n.match(To)||[],C=s.match(To)||[],C.length){for(;p=To.exec(s);)v=p[0],w=s.substring(d,p.index),x?x=(x+1)%5:(w.substr(-5)==="rgba("||w.substr(-5)==="hsla(")&&(x=1),v!==(f=m[h++]||"")&&(y=parseFloat(f)||0,S=f.substr((y+"").length),v.charAt(1)==="="&&(v=Xo(y,v)+S),k=parseFloat(v),j=v.substr((k+"").length),d=To.lastIndex-j.length,j||(j=j||Bt.units[r]||S,d===s.length&&(s+=j,l.e+=j)),S!==j&&(y=Nr(a,r,f,j)||0),l._pt={_next:l._pt,p:w||h===1?w:",",s:y,c:k-y,m:x&&x<4||r==="zIndex"?Math.round:0});l.c=d<s.length?s.substring(d,s.length):""}else l.r=r==="display"&&s==="none"?ZI:WI;return lI.test(s)&&(l.e=0),this._pt=l,l},yL={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},mz=function(a){var r=a.split(" "),n=r[0],s=r[1]||"50%";return(n==="top"||n==="bottom"||s==="left"||s==="right")&&(a=n,n=s,s=a),r[0]=yL[n]||n,r[1]=yL[s]||s,r.join(" ")},fz=function(a,r){if(r.tween&&r.tween._time===r.tween._dur){var n=r.t,s=n.style,i=r.u,c=n._gsap,l,d,h;if(i==="all"||i===!0)s.cssText="",d=1;else for(i=i.split(","),h=i.length;--h>-1;)l=i[h],Ja[l]&&(d=1,l=l==="transformOrigin"?Pt:Ue),wo(n,l);d&&(wo(n,Ue),c&&(c.svg&&n.removeAttribute("transform"),il(n,1),c.uncache=1,JI(s)))}},b9={clearProps:function(a,r,n,s,i){if(i.data!=="isFromStart"){var c=a._pt=new At(a._pt,r,n,0,0,fz);return c.u=s,c.pr=-10,c.tween=i,a._props.push(n),1}}},sl=[1,0,0,1,0,0],eA={},tA=function(a){return a==="matrix(1, 0, 0, 1, 0, 0)"||a==="none"||!a},mL=function(a){var r=Aa(a,Ue);return tA(r)?sl:r.substr(7).match(cI).map(Xe)},YC=function(a,r){var n=a._gsap||yo(a),s=a.style,i=mL(a),c,l,d,h;return n.svg&&a.getAttribute("transform")?(d=a.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"?sl:i):(i===sl&&!a.offsetParent&&a!==Yo&&!n.svg&&(d=s.display,s.display="block",c=a.parentNode,(!c||!a.offsetParent)&&(h=1,l=a.nextElementSibling,Yo.appendChild(a)),i=mL(a),d?s.display=d:wo(a,"display"),h&&(l?c.insertBefore(a,l):c?c.appendChild(a):Yo.removeChild(a))),r&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},dC=function(a,r,n,s,i,c){var l=a._gsap,d=i||YC(a,!0),h=l.xOrigin||0,u=l.yOrigin||0,p=l.xOffset||0,m=l.yOffset||0,y=d[0],x=d[1],f=d[2],v=d[3],k=d[4],w=d[5],j=r.split(" "),S=parseFloat(j[0])||0,C=parseFloat(j[1])||0,A,L,b,N;n?d!==sl&&(L=y*v-x*f)&&(b=S*(v/L)+C*(-f/L)+(f*w-v*k)/L,N=S*(-x/L)+C*(y/L)-(y*w-x*k)/L,S=b,C=N):(A=KI(a),S=A.x+(~j[0].indexOf("%")?S/100*A.width:S),C=A.y+(~(j[1]||j[0]).indexOf("%")?C/100*A.height:C)),s||s!==!1&&l.smooth?(k=S-h,w=C-u,l.xOffset=p+(k*y+w*f)-k,l.yOffset=m+(k*x+w*v)-w):l.xOffset=l.yOffset=0,l.xOrigin=S,l.yOrigin=C,l.smooth=!!s,l.origin=r,l.originIsAbsolute=!!n,a.style[Pt]="0px 0px",c&&(pr(c,l,"xOrigin",h,S),pr(c,l,"yOrigin",u,C),pr(c,l,"xOffset",p,l.xOffset),pr(c,l,"yOffset",m,l.yOffset)),a.setAttribute("data-svg-origin",S+" "+C)},il=function(a,r){var n=a._gsap||new EI(a);if("x"in n&&!r&&!n.uncache)return n;var s=a.style,i=n.scaleX<0,c="px",l="deg",d=getComputedStyle(a),h=Aa(a,Pt)||"0",u,p,m,y,x,f,v,k,w,j,S,C,A,L,b,N,q,P,R,T,$,W,B,U,O,le,re,X,J,ae,Q,pe;return u=p=m=f=v=k=w=j=S=0,y=x=1,n.svg=!!(a.getCTM&&QI(a)),d.translate&&((d.translate!=="none"||d.scale!=="none"||d.rotate!=="none")&&(s[Ue]=(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[Ue]!=="none"?d[Ue]:"")),s.scale=s.rotate=s.translate="none"),L=YC(a,n.svg),n.svg&&(n.uncache?(O=a.getBBox(),h=n.xOrigin-O.x+"px "+(n.yOrigin-O.y)+"px",U=""):U=!r&&a.getAttribute("data-svg-origin"),dC(a,U||h,!!U||n.originIsAbsolute,n.smooth!==!1,L)),C=n.xOrigin||0,A=n.yOrigin||0,L!==sl&&(P=L[0],R=L[1],T=L[2],$=L[3],u=W=L[4],p=B=L[5],L.length===6?(y=Math.sqrt(P*P+R*R),x=Math.sqrt($*$+T*T),f=P||R?Ao(R,P)*so:0,w=T||$?Ao(T,$)*so+f:0,w&&(x*=Math.abs(Math.cos(w*Ko))),n.svg&&(u-=C-(C*P+A*T),p-=A-(C*R+A*$))):(pe=L[6],ae=L[7],re=L[8],X=L[9],J=L[10],Q=L[11],u=L[12],p=L[13],m=L[14],b=Ao(pe,J),v=b*so,b&&(N=Math.cos(-b),q=Math.sin(-b),U=W*N+re*q,O=B*N+X*q,le=pe*N+J*q,re=W*-q+re*N,X=B*-q+X*N,J=pe*-q+J*N,Q=ae*-q+Q*N,W=U,B=O,pe=le),b=Ao(-T,J),k=b*so,b&&(N=Math.cos(-b),q=Math.sin(-b),U=P*N-re*q,O=R*N-X*q,le=T*N-J*q,Q=$*q+Q*N,P=U,R=O,T=le),b=Ao(R,P),f=b*so,b&&(N=Math.cos(b),q=Math.sin(b),U=P*N+R*q,O=W*N+B*q,R=R*N-P*q,B=B*N-W*q,P=U,W=O),v&&Math.abs(v)+Math.abs(f)>359.9&&(v=f=0,k=180-k),y=Xe(Math.sqrt(P*P+R*R+T*T)),x=Xe(Math.sqrt(B*B+pe*pe)),b=Ao(W,B),w=Math.abs(b)>2e-4?b*so:0,S=Q?1/(Q<0?-Q:Q):0),n.svg&&(U=a.getAttribute("transform"),n.forceCSS=a.setAttribute("transform","")||!tA(Aa(a,Ue)),U&&a.setAttribute("transform",U))),Math.abs(w)>90&&Math.abs(w)<270&&(i?(y*=-1,w+=f<=0?180:-180,f+=f<=0?180:-180):(x*=-1,w+=w<=0?180:-180)),r=r||n.uncache,n.x=u-((n.xPercent=u&&(!r&&n.xPercent||(Math.round(a.offsetWidth/2)===Math.round(-u)?-50:0)))?a.offsetWidth*n.xPercent/100:0)+c,n.y=p-((n.yPercent=p&&(!r&&n.yPercent||(Math.round(a.offsetHeight/2)===Math.round(-p)?-50:0)))?a.offsetHeight*n.yPercent/100:0)+c,n.z=m+c,n.scaleX=Xe(y),n.scaleY=Xe(x),n.rotation=Xe(f)+l,n.rotationX=Xe(v)+l,n.rotationY=Xe(k)+l,n.skewX=w+l,n.skewY=j+l,n.transformPerspective=S+c,(n.zOrigin=parseFloat(h.split(" ")[2])||!r&&n.zOrigin||0)&&(s[Pt]=M9(h)),n.xOffset=n.yOffset=0,n.force3D=Bt.force3D,n.renderTransform=n.svg?gz:YI?aA:xz,n.uncache=0,n},M9=function(a){return(a=a.split(" "))[0]+" "+a[1]},Mj=function(a,r,n){var s=ft(r);return Xe(parseFloat(r)+parseFloat(Nr(a,"x",n+"px",s)))+s},xz=function(a,r){r.z="0px",r.rotationY=r.rotationX="0deg",r.force3D=0,aA(a,r)},Or="0deg",gc="0px",Hr=") ",aA=function(a,r){var n=r||this,s=n.xPercent,i=n.yPercent,c=n.x,l=n.y,d=n.z,h=n.rotation,u=n.rotationY,p=n.rotationX,m=n.skewX,y=n.skewY,x=n.scaleX,f=n.scaleY,v=n.transformPerspective,k=n.force3D,w=n.target,j=n.zOrigin,S="",C=k==="auto"&&a&&a!==1||k===!0;if(j&&(p!==Or||u!==Or)){var A=parseFloat(u)*Ko,L=Math.sin(A),b=Math.cos(A),N;A=parseFloat(p)*Ko,N=Math.cos(A),c=Mj(w,c,L*N*-j),l=Mj(w,l,-Math.sin(A)*-j),d=Mj(w,d,b*N*-j+j)}v!==gc&&(S+="perspective("+v+Hr),(s||i)&&(S+="translate("+s+"%, "+i+"%) "),(C||c!==gc||l!==gc||d!==gc)&&(S+=d!==gc||C?"translate3d("+c+", "+l+", "+d+") ":"translate("+c+", "+l+Hr),h!==Or&&(S+="rotate("+h+Hr),u!==Or&&(S+="rotateY("+u+Hr),p!==Or&&(S+="rotateX("+p+Hr),(m!==Or||y!==Or)&&(S+="skew("+m+", "+y+Hr),(x!==1||f!==1)&&(S+="scale("+x+", "+f+Hr),w.style[Ue]=S||"translate(0, 0)"},gz=function(a,r){var n=r||this,s=n.xPercent,i=n.yPercent,c=n.x,l=n.y,d=n.rotation,h=n.skewX,u=n.skewY,p=n.scaleX,m=n.scaleY,y=n.target,x=n.xOrigin,f=n.yOrigin,v=n.xOffset,k=n.yOffset,w=n.forceCSS,j=parseFloat(c),S=parseFloat(l),C,A,L,b,N;d=parseFloat(d),h=parseFloat(h),u=parseFloat(u),u&&(u=parseFloat(u),h+=u,d+=u),d||h?(d*=Ko,h*=Ko,C=Math.cos(d)*p,A=Math.sin(d)*p,L=Math.sin(d-h)*-m,b=Math.cos(d-h)*m,h&&(u*=Ko,N=Math.tan(h-u),N=Math.sqrt(1+N*N),L*=N,b*=N,u&&(N=Math.tan(u),N=Math.sqrt(1+N*N),C*=N,A*=N)),C=Xe(C),A=Xe(A),L=Xe(L),b=Xe(b)):(C=p,b=m,A=L=0),(j&&!~(c+"").indexOf("px")||S&&!~(l+"").indexOf("px"))&&(j=Nr(y,"x",c,"px"),S=Nr(y,"y",l,"px")),(x||f||v||k)&&(j=Xe(j+x-(x*C+f*L)+v),S=Xe(S+f-(x*A+f*b)+k)),(s||i)&&(N=y.getBBox(),j=Xe(j+s/100*N.width),S=Xe(S+i/100*N.height)),N="matrix("+C+","+A+","+L+","+b+","+j+","+S+")",y.setAttribute("transform",N),w&&(y.style[Ue]=N)},kz=function(a,r,n,s,i){var c=360,l=it(i),d=parseFloat(i)*(l&&~i.indexOf("rad")?so:1),h=d-s,u=s+h+"deg",p,m;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*dL)%c-~~(h/c)*c:p==="ccw"&&h>0&&(h=(h-c*dL)%c-~~(h/c)*c)),a._pt=m=new At(a._pt,r,n,s,h,az),m.e=u,m.u="deg",a._props.push(n),m},fL=function(a,r){for(var n in r)a[n]=r[n];return a},vz=function(a,r,n){var s=fL({},n._gsap),i="perspective,force3D,transformOrigin,svgOrigin",c=n.style,l,d,h,u,p,m,y,x;s.svg?(h=n.getAttribute("transform"),n.setAttribute("transform",""),c[Ue]=r,l=il(n,1),wo(n,Ue),n.setAttribute("transform",h)):(h=getComputedStyle(n)[Ue],c[Ue]=r,l=il(n,1),c[Ue]=h);for(d in Ja)h=s[d],u=l[d],h!==u&&i.indexOf(d)<0&&(y=ft(h),x=ft(u),p=y!==x?Nr(n,d,h,x):parseFloat(h),m=parseFloat(u),a._pt=new At(a._pt,l,d,p,m-p,oC),a._pt.u=x||0,a._props.push(d));fL(l,s)};It("padding,margin,Width,Radius",function(t,a){var r="Top",n="Right",s="Bottom",i="Left",c=(a<3?[r,n,s,i]:[r+i,r+n,s+n,s+i]).map(function(l){return a<2?t+l:"border"+l+t});b9[a>1?"border"+t:t]=function(l,d,h,u,p){var m,y;if(arguments.length<4)return m=c.map(function(x){return Ua(l,x,h)}),y=m.join(" "),y.split(m[0]).length===5?m[0]:y;m=(u+"").split(" "),y={},c.forEach(function(x,f){return y[x]=m[f]=m[f]||m[(f-1)/2|0]}),l.init(d,y,p)}});var rA={name:"css",register:lC,targetTest:function(a){return a.style&&a.nodeType},init:function(a,r,n,s,i){var c=this._props,l=a.style,d=n.vars.startAt,h,u,p,m,y,x,f,v,k,w,j,S,C,A,L,b;ZC||lC(),this.styles=this.styles||XI(a),b=this.styles.props,this.tween=n;for(f in r)if(f!=="autoRound"&&(u=r[f],!(qt[f]&&FI(f,r,n,s,a,i)))){if(y=typeof u,x=b9[f],y==="function"&&(u=u.call(n,s,a,i),y=typeof u),y==="string"&&~u.indexOf("random(")&&(u=al(u)),x)x(this,a,f,u,n)&&(L=1);else if(f.substr(0,2)==="--")h=(getComputedStyle(a).getPropertyValue(f)+"").trim(),u+="",Cr.lastIndex=0,Cr.test(h)||(v=ft(h),k=ft(u)),k?v!==k&&(h=Nr(a,f,h,k)+k):v&&(u+=v),this.add(l,"setProperty",h,u,s,i,0,0,f),c.push(f),b.push(f,0,l[f]);else if(y!=="undefined"){if(d&&f in d?(h=typeof d[f]=="function"?d[f].call(n,s,a,i):d[f],it(h)&&~h.indexOf("random(")&&(h=al(h)),ft(h+"")||h==="auto"||(h+=Bt.units[f]||ft(Ua(a,f))||""),(h+"").charAt(1)==="="&&(h=Ua(a,f))):h=Ua(a,f),m=parseFloat(h),w=y==="string"&&u.charAt(1)==="="&&u.substr(0,2),w&&(u=u.substr(2)),p=parseFloat(u),f in Sa&&(f==="autoAlpha"&&(m===1&&Ua(a,"visibility")==="hidden"&&p&&(m=0),b.push("visibility",0,l.visibility),pr(this,l,"visibility",m?"inherit":"hidden",p?"inherit":"hidden",!p)),f!=="scale"&&f!=="transform"&&(f=Sa[f],~f.indexOf(",")&&(f=f.split(",")[0]))),j=f in Ja,j){if(this.styles.save(f),S||(C=a._gsap,C.renderTransform&&!r.parseTransform||il(a,r.parseTransform),A=r.smoothOrigin!==!1&&C.smooth,S=this._pt=new At(this._pt,l,Ue,0,1,C.renderTransform,C,0,-1),S.dep=1),f==="scale")this._pt=new At(this._pt,C,"scaleY",C.scaleY,(w?Xo(C.scaleY,w+p):p)-C.scaleY||0,oC),this._pt.u=0,c.push("scaleY",f),f+="X";else if(f==="transformOrigin"){b.push(Pt,0,l[Pt]),u=mz(u),C.svg?dC(a,u,0,A,0,this):(k=parseFloat(u.split(" ")[2])||0,k!==C.zOrigin&&pr(this,C,"zOrigin",C.zOrigin,k),pr(this,l,f,M9(h),M9(u)));continue}else if(f==="svgOrigin"){dC(a,u,1,A,0,this);continue}else if(f in eA){kz(this,C,f,m,w?Xo(m,w+u):u);continue}else if(f==="smoothOrigin"){pr(this,C,"smooth",C.smooth,u);continue}else if(f==="force3D"){C[f]=u;continue}else if(f==="transform"){vz(this,u,a);continue}}else f in l||(f=ic(f)||f);if(j||(p||p===0)&&(m||m===0)&&!tz.test(u)&&f in l)v=(h+"").substr((m+"").length),p||(p=0),k=ft(u)||(f in Bt.units?Bt.units[f]:v),v!==k&&(m=Nr(a,f,h,k)),this._pt=new At(this._pt,j?C:l,f,m,(w?Xo(m,w+p):p)-m,!j&&(k==="px"||f==="zIndex")&&r.autoRound!==!1?nz:oC),this._pt.u=k||0,v!==k&&k!=="%"&&(this._pt.b=h,this._pt.r=rz);else if(f in l)yz.call(this,a,f,h,w?w+u:u);else if(f in a)this.add(a,f,h||a[f],w?w+u:u,s,i);else if(f!=="parseTransform"){FC(f,u);continue}j||(f in l?b.push(f,0,l[f]):b.push(f,1,h||a[f])),c.push(f)}}L&&UI(this)},render:function(a,r){if(r.tween._time||!JC())for(var n=r._pt;n;)n.r(a,n.d),n=n._next;else r.styles.revert()},get:Ua,aliases:Sa,getSetter:function(a,r,n){var s=Sa[r];return s&&s.indexOf(",")<0&&(r=s),r in Ja&&r!==Pt&&(a._gsap.x||Ua(a,"x"))?n&&lL===n?r==="scale"?cz:oz:(lL=n||{})&&(r==="scale"?lz:dz):a.style&&!DC(a.style[r])?sz:~r.indexOf("-")?iz:GC(a,r)},core:{_removeProperty:wo,_getMatrix:YC}};_t.utils.checkPrefix=ic;_t.core.getStyleSaver=XI;(function(t,a,r,n){var s=It(t+","+a+","+r,function(i){Ja[i]=1});It(a,function(i){Bt.units[i]="deg",eA[i]=1}),Sa[s[13]]=t+","+a,It(n,function(i){var c=i.split(":");Sa[c[1]]=s[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");It("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){Bt.units[t]="px"});_t.registerPlugin(rA);var nA=_t.registerPlugin(rA)||_t;nA.core.Tween;function KC(t){return xq[t]||lr}function sA({advantages:t,title:a,description:r}){return e.jsx("section",{className:"py-20 bg-gradient-to-b from-white to-gray-50",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:a}),e.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),e.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3",children:t.map((n,s)=>{const i=KC(n.icon);return e.jsxs("div",{className:"relative bg-white p-6 rounded-xl shadow-md hover:shadow-lg transition-shadow flex flex-col",children:[e.jsxs("div",{className:"w-12 h-12 flex items-center justify-center bg-yellow-50 rounded-lg text-yellow-600 mb-4",children:[i?e.jsx(i,{className:"h-8 w-8"}):null," "]}),e.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:n.title}),e.jsx("p",{className:"text-gray-600 mb-6",children:n.description}),n.ctaLink&&n.ctaText?e.jsx("div",{className:"mt-auto",children:e.jsxs("a",{href:n.ctaLink,className:"inline-flex items-center text-yellow-600 hover:text-yellow-700 font-medium group",children:[n.ctaText,e.jsx(co,{className:"ml-2 h-4 w-4 transform group-hover:translate-x-1 transition-transform"})]})}):""]},s)})})]})})}function wz({title:t="Get in Touch",description:a="Have questions? We're here to help you start your journey",nameLabel:r="Full Name",emailLabel:n="Email",messageLabel:s="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:m,showContactDetails:y=!0}){const x=f=>{f.preventDefault();const v=new FormData(f.currentTarget);m==null||m({name:String(v.get("name")??""),email:String(v.get("email")??""),message:String(v.get("message")??"")})};return e.jsx("section",{id:"contact",className:"py-20 bg-gray-50",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:t}),e.jsx("p",{className:"mt-4 text-xl text-gray-600",children:a})]}),e.jsxs("div",{className:"mt-16 max-w-lg mx-auto",children:[e.jsxs("form",{className:"space-y-6",onSubmit:x,children:[e.jsxs("div",{children:[e.jsx("label",{htmlFor:"name",className:"block text-sm font-medium text-gray-700",children:r}),e.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"})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"email",className:"block text-sm font-medium text-gray-700",children:n}),e.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"})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"message",className:"block text-sm font-medium text-gray-700",children:s}),e.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"})]}),e.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})]}),y&&e.jsxs("div",{className:"mt-12 space-y-4",children:[e.jsxs("div",{className:"flex items-center text-gray-600",children:[e.jsx(aa,{className:"h-6 w-6 mr-3"}),e.jsx("span",{children:h})]}),e.jsxs("div",{className:"flex items-center text-gray-600",children:[e.jsx(wr,{className:"h-6 w-6 mr-3"}),e.jsx("span",{children:u})]}),e.jsxs("div",{className:"flex items-center text-gray-600",children:[e.jsx(vr,{className:"h-6 w-6 mr-3"}),e.jsx("span",{children:p})]})]})]})]})})}const iA=M.createContext(void 0);function bz({children:t}){const[a,r]=M.useState([]),[n,s]=M.useState(!1),i=M.useCallback(u=>{r(p=>p.find(y=>y.id===u.id)?p.map(y=>y.id===u.id?{...y,quantity:y.quantity+1}:y):[...p,{...u,quantity:1}]),s(!0)},[]),c=M.useCallback(u=>{r(p=>p.filter(m=>m.id!==u))},[]),l=M.useCallback((u,p)=>{r(m=>m.map(y=>y.id===u?{...y,quantity:Math.max(0,p)}:y))},[]),d=M.useCallback(()=>{s(u=>!u)},[]),h=a.reduce((u,p)=>u+p.price*p.quantity,0);return e.jsx(iA.Provider,{value:{items:a,isOpen:n,addItem:i,removeItem:c,updateQuantity:l,toggleCart:d,total:h},children:t})}function oA(){const t=M.useContext(iA);if(t===void 0)throw new Error("useCart must be used within a CartProvider");return t}function cA({courses:t,title:a,description:r}){const{addItem:n}=oA();return e.jsx("section",{id:"courses",className:"py-20 bg-white",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:a}),e.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),e.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-4",children:t.map(s=>e.jsxs("div",{className:"bg-white border border-gray-200 rounded-lg p-6 hover:border-yellow-500 transition-colors",children:[e.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-4",children:s.title}),e.jsxs("div",{className:"space-y-3 mb-6",children:[e.jsxs("div",{className:"flex items-center text-gray-600",children:[e.jsx(ma,{className:"h-5 w-5 mr-2"}),e.jsx("span",{children:s.duration})]}),e.jsxs("div",{className:"flex items-center text-gray-600",children:[e.jsx(Lt,{className:"h-5 w-5 mr-2"}),e.jsx("span",{children:s.type})]}),e.jsxs("div",{className:"flex items-center text-gray-600",children:[e.jsx(Bc,{className:"h-5 w-5 mr-2"}),e.jsx("span",{children:s.level})]})]}),e.jsx("p",{className:"text-gray-600 mb-6",children:s.description}),e.jsx("div",{className:"flex items-center justify-between mb-4",children:e.jsxs("span",{className:"text-2xl font-bold text-gray-900",children:["$",s.price]})}),e.jsxs("button",{onClick:()=>n({id:s.id,name:s.title,price:s.price,duration:s.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:[e.jsx(Wo,{className:"h-5 w-5"}),e.jsx("span",{children:"Add to Cart"})]})]},s.id))})]})})}function lA({destinations:t,title:a,description:r}){const[n,s]=M.useState(0),[i,c]=M.useState(!0),l=()=>typeof window<"u"?window.innerWidth<640?1:window.innerWidth<1024?2:4:4,[d,h]=M.useState(l());M.useEffect(()=>{const y=()=>{h(l())};return window.addEventListener("resize",y),()=>window.removeEventListener("resize",y)},[]),M.useEffect(()=>{let y;return i&&(y=setInterval(()=>{s(x=>(x+1)%(t.length-d+1))},5e3)),()=>clearInterval(y)},[i]);const u=()=>{s(y=>Math.max(0,y-1)),c(!1)},p=()=>{s(y=>Math.min(t.length-d,y+1)),c(!1)},m=t.slice(n,n+d);return e.jsx("section",{id:"destinations",className:"py-20",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:a}),e.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),e.jsxs("div",{className:"mt-16 relative",children:[e.jsx("div",{className:"flex gap-4 md:gap-6 lg:gap-8",children:m.map((y,x)=>e.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:[e.jsx("img",{src:y.image,alt:y.name,className:"w-full h-64 object-cover group-hover:scale-110 transition-transform duration-300"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/70 to-transparent",children:e.jsxs("div",{className:"absolute bottom-0 p-6",children:[e.jsxs("div",{className:"flex items-center text-white mb-2",children:[e.jsx(st,{className:"h-5 w-5 mr-2"}),e.jsx("h3",{className:"text-lg font-semibold",children:y.name})]}),e.jsx("p",{className:"text-white/90 text-sm",children:y.description})]})})]},n+x))}),e.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:e.jsx(mr,{className:"h-6 w-6 text-gray-800"})}),e.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:e.jsx(fr,{className:"h-6 w-6 text-gray-800"})})]}),e.jsx("div",{className:"flex justify-center mt-8 space-x-2",children:Array.from({length:Math.ceil(t.length/d)}).map((y,x)=>e.jsx("button",{onClick:()=>{s(x*d),c(!1)},className:`w-2 h-2 rounded-full transition-all ${Math.floor(n/d)===x?"bg-yellow-600 w-4":"bg-gray-300 hover:bg-gray-400"}`},x))})]})})}const Mz=[{label:"Destinations",href:"#destinations"},{label:"Courses",href:"#courses"},{label:"Services",href:"#services"}];function jz({title:t="GlobalEnglish",navItems:a=Mz,ctaLabel:r="Contact Us",ctaHref:n="#contact",brandIcon:s=e.jsx(ta,{className:"h-8 w-8 text-yellow-600"}),defaultOpen:i=!1,isOpen:c,onToggleMenu:l,menuButtonAriaLabel:d="Toggle navigation"}){const[h,u]=M.useState(i),p=c??h,m=()=>{const x=!p;c===void 0&&u(x),l==null||l(x)},y=x=>e.jsx("a",{href:x.href,onClick:x.onClick,className:"text-gray-600 hover:text-yellow-600",children:x.label},x.label);return e.jsxs("nav",{className:"bg-white shadow-lg fixed w-full z-50",children:[e.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:e.jsxs("div",{className:"flex justify-between h-16",children:[e.jsxs("div",{className:"flex items-center",children:[s,e.jsx("span",{className:"ml-2 text-xl font-bold text-gray-800",children:t})]}),e.jsxs("div",{className:"hidden md:flex items-center space-x-8",children:[a.map(y),e.jsx("a",{href:n,className:"bg-yellow-600 text-white px-4 py-2 rounded-md hover:bg-yellow-700",children:r})]}),e.jsx("div",{className:"md:hidden flex items-center",children:e.jsx("button",{onClick:m,className:"text-gray-600 hover:text-gray-900 focus:outline-none","aria-label":d,children:p?e.jsx(jt,{className:"h-6 w-6"}):e.jsx(Bo,{className:"h-6 w-6"})})})]})}),p&&e.jsx("div",{className:"md:hidden",children:e.jsxs("div",{className:"px-2 pt-2 pb-3 space-y-1 sm:px-3",children:[a.map(x=>e.jsx("a",{href:x.href,onClick:()=>{var f;(f=x.onClick)==null||f.call(x),m()},className:"block px-3 py-2 text-gray-600 hover:text-yellow-600",children:x.label},x.label)),e.jsx("a",{href:n,className:"block px-3 py-2 text-yellow-600 font-medium",children:r})]})})]})}function dA({title:t,subtitle:a,bg_img:r,main_btn_text:n,main_btn_link:s,secondary_btn_text:i,secondary_btn_link:c}){return e.jsxs("div",{className:"relative bg-yellow-600 h-screen flex items-center justify-center",children:[e.jsx("div",{className:"absolute inset-0",children:e.jsx("img",{src:r,alt:"Students studying",className:"w-full h-full object-cover opacity-20"})}),e.jsxs("div",{className:"relative max-w-7xl mx-auto py-24 px-4 sm:py-32 sm:px-6 lg:px-8",children:[e.jsx("h1",{className:"text-4xl md:text-6xl font-bold text-white mb-8",children:t}),e.jsx("p",{className:"text-xl text-white mb-12 max-w-3xl",children:a}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[s&&n?e.jsxs("a",{href:s,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,e.jsx(co,{className:"ml-2 h-5 w-5"})]}):"",c&&i?e.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 hA({title:t,description:a,services:r}){return e.jsx("section",{id:"services",className:"py-20 bg-gray-50",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:t}),e.jsx("p",{className:"mt-4 text-xl text-gray-600",children:a})]}),e.jsx("div",{className:"mt-20 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3",children:r.map((n,s)=>{const i=KC(n.icon);return e.jsxs("div",{className:"relative group bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition-all",children:[e.jsxs("div",{className:"text-yellow-600 mb-4",children:[i?e.jsx(i,{className:"h-8 w-8"}):null," "]}),e.jsx("h3",{className:"text-lg font-medium text-gray-900",children:n.title}),e.jsx("p",{className:"mt-2 text-gray-500",children:n.description})]},s)})})]})})}function uA({testimonials:t,title:a,description:r}){return e.jsx("section",{className:"py-20 bg-white",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:a}),e.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),e.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 lg:grid-cols-3",children:t.map((n,s)=>e.jsxs("div",{className:"relative bg-white p-8 rounded-xl shadow-lg",children:[e.jsx("div",{className:"absolute -top-4 -left-4",children:e.jsx(Uo,{className:"h-8 w-8 text-yellow-600"})}),e.jsxs("div",{className:"flex items-center mb-6",children:[e.jsx("img",{src:n.image,alt:n.name,className:"h-14 w-14 rounded-full object-cover"}),e.jsxs("div",{className:"ml-4",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:n.name}),e.jsx("p",{className:"text-gray-600",children:n.from})]})]}),e.jsx("p",{className:"text-gray-600 mb-6",children:n.text}),e.jsx("div",{className:"flex text-yellow-400",children:[...Array(n.rating)].map((i,c)=>e.jsx(St,{className:"h-5 w-5 fill-current"},c))})]},s))})]})})}function pA({videos:t,title:a,description:r}){return e.jsx("section",{className:"py-20 bg-gray-50",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:a}),e.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),e.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3",children:t.map((n,s)=>e.jsxs("div",{className:"relative group",children:[e.jsxs("div",{className:"relative overflow-hidden rounded-lg",children:[e.jsx("img",{src:n.thumbnail,alt:n.title,className:"w-full h-64 object-cover group-hover:scale-105 transition-transform duration-300"}),e.jsx("div",{className:"absolute inset-0 bg-black/40 group-hover:bg-black/50 transition-colors",children:e.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:e.jsx("button",{className:"bg-white/90 p-4 rounded-full group-hover:bg-white transition-colors",children:e.jsx(Oc,{className:"h-8 w-8 text-yellow-600"})})})}),e.jsx("div",{className:"absolute bottom-4 right-4 bg-black/70 px-2 py-1 rounded text-white text-sm",children:n.duration})]}),e.jsx("h3",{className:"mt-4 text-xl font-semibold text-gray-900",children:n.title}),e.jsx("p",{className:"mt-2 text-gray-600",children:n.description})]},s))})]})})}function yA({features:t,title:a,description:r}){return e.jsx("section",{className:"py-20 bg-white",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center mb-16",children:[e.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:a}),e.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),e.jsx("div",{className:"space-y-24",children:t.map((n,s)=>e.jsxs("div",{className:`flex flex-col gap-8 items-center ${s%2===0?"lg:flex-row":"lg:flex-row-reverse"}`,children:[e.jsx("div",{className:"w-full lg:w-1/2",children:e.jsx("div",{className:"relative h-[400px] overflow-hidden rounded-xl shadow-lg",children:e.jsx("img",{src:n.image,alt:n.imageAlt,className:"absolute inset-0 w-full h-full object-cover"})})}),e.jsxs("div",{className:"w-full lg:w-1/2 lg:px-8",children:[e.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-4",children:n.title}),e.jsx("p",{className:"text-lg text-gray-600 leading-relaxed",children:n.description}),e.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"})]})]},s))})]})})}function mA({faqs:t,title:a,description:r}){const[n,s]=M.useState(null),i=c=>{s(l=>l===c?null:c)};return e.jsx("section",{className:"py-20 bg-white",children:e.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center mb-16",children:[e.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:a}),e.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),e.jsx("div",{className:"space-y-4",children:t.map((c,l)=>e.jsxs("div",{className:"border border-gray-200 rounded-lg overflow-hidden",children:[e.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:[e.jsx("span",{className:"text-lg font-medium text-gray-900 text-left",children:c.question}),n===l?e.jsx(Oo,{className:"h-5 w-5 text-gray-500"}):e.jsx(yr,{className:"h-5 w-5 text-gray-500"})]}),e.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:e.jsx("p",{className:"text-gray-600 leading-relaxed",children:c.answer})})]},l))})]})})}function Cz({images:t,autoPlayInterval:a=5e3}){const[r,n]=M.useState(0);M.useEffect(()=>{const l=setInterval(()=>{n(d=>(d+1)%t.length)},a);return()=>clearInterval(l)},[t.length,a]);const s=l=>{n(l)},i=()=>{n(l=>(l-1+t.length)%t.length)},c=()=>{n(l=>(l+1)%t.length)};return e.jsxs("div",{className:"relative w-full h-[600px] group",children:[e.jsx("div",{className:"relative h-full overflow-hidden rounded-xl",children:t.map((l,d)=>e.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:[e.jsx("img",{src:l.url,alt:l.alt,className:"absolute w-full h-full object-cover"}),l.caption&&e.jsx("div",{className:"absolute bottom-0 left-0 right-0 bg-black/50 text-white p-4",children:e.jsx("p",{className:"text-lg",children:l.caption})})]},d))}),e.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:e.jsx(mr,{className:"h-6 w-6 text-gray-800"})}),e.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:e.jsx(fr,{className:"h-6 w-6 text-gray-800"})}),e.jsx("div",{className:"absolute bottom-4 left-1/2 -translate-x-1/2 flex space-x-2",children:t.map((l,d)=>e.jsx("button",{onClick:()=>s(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 fA({images:t,title:a,description:r,autoPlayInterval:n=5e3}){return e.jsx("section",{className:"py-20 bg-gray-50",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center mb-12",children:[e.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:a}),e.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),e.jsx(Cz,{images:t,autoPlayInterval:n})]})})}function xA({initialMessages:t}){const[a,r]=M.useState(!1),[n,s]=M.useState(t),[i,c]=M.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?"],m={text:u[Math.floor(Math.random()*u.length)],isBot:!0,timestamp:new Date};s(y=>[...y,h,m]),c("")};return e.jsx("div",{className:"fixed bottom-4 right-4 z-50",children:a?e.jsxs("div",{className:"bg-white rounded-lg shadow-xl w-96 max-h-[600px] flex flex-col",children:[e.jsxs("div",{className:"p-4 bg-yellow-600 rounded-t-lg flex justify-between items-center",children:[e.jsxs("div",{className:"flex items-center text-white",children:[e.jsx(jc,{className:"h-6 w-6 mr-2"}),e.jsx("span",{className:"font-medium",children:"GlobalEnglish Assistant"})]}),e.jsx("button",{onClick:()=>r(!1),className:"text-white hover:text-gray-200 transition-colors",children:e.jsx(jt,{className:"h-5 w-5"})})]}),e.jsx("div",{className:"flex-1 overflow-y-auto p-4 space-y-4",children:n.map((d,h)=>e.jsx("div",{className:`flex ${d.isBot?"justify-start":"justify-end"}`,children:e.jsxs("div",{className:`max-w-[80%] rounded-lg p-3 ${d.isBot?"bg-gray-100 text-gray-800":"bg-yellow-600 text-white"}`,children:[e.jsx("p",{className:"text-sm",children:d.text}),e.jsx("span",{className:"text-xs opacity-75 mt-1 block",children:d.timestamp.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})})]})},h))}),e.jsx("form",{onSubmit:l,className:"p-4 border-t",children:e.jsxs("div",{className:"flex space-x-2",children:[e.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"}),e.jsx("button",{type:"submit",className:"bg-yellow-600 text-white p-2 rounded-lg hover:bg-yellow-700 transition-colors",children:e.jsx(Hc,{className:"h-5 w-5"})})]})})]}):e.jsx("button",{onClick:()=>r(!0),className:"bg-yellow-600 text-white p-4 rounded-full shadow-lg hover:bg-yellow-700 transition-colors",children:e.jsx(vr,{className:"h-6 w-6"})})})}function gA({title:t="Your Cart",emptyMessage:a="Your cart is empty",totalLabel:r="Total:",checkoutButtonLabel:n="Proceed to Checkout",currencySymbol:s="$",floatingButtonAriaLabel:i="Toggle cart",onCheckout:c,onToggleCart:l}){const{items:d,isOpen:h,toggleCart:u,removeItem:p,updateQuantity:m,total:y}=oA(),x=()=>{l==null||l(!h),u()};return h?e.jsxs("div",{className:"fixed right-0 top-0 h-full w-96 bg-white shadow-xl z-50 flex flex-col",children:[e.jsxs("div",{className:"p-4 bg-yellow-600 text-white flex justify-between items-center",children:[e.jsx("h2",{className:"text-xl font-semibold",children:t}),e.jsx("button",{onClick:x,className:"text-white hover:text-gray-200 transition-colors","aria-label":i,children:e.jsx(jt,{className:"h-6 w-6"})})]}),e.jsx("div",{className:"flex-1 overflow-y-auto p-4",children:d.length===0?e.jsx("p",{className:"text-gray-500 text-center mt-8",children:a}):e.jsx("div",{className:"space-y-4",children:d.map(f=>e.jsxs("div",{className:"border rounded-lg p-4 flex flex-col space-y-2",children:[e.jsxs("div",{className:"flex justify-between items-start",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"font-medium",children:f.name}),e.jsx("p",{className:"text-sm text-gray-500",children:f.duration})]}),e.jsx("button",{onClick:()=>p(f.id),className:"text-red-500 hover:text-red-600","aria-label":`Remove ${f.name}`,children:e.jsx(Zo,{className:"h-5 w-5"})})]}),e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx("button",{onClick:()=>m(f.id,f.quantity-1),className:"p-1 rounded-md hover:bg-gray-100","aria-label":`Decrease quantity for ${f.name}`,children:e.jsx(Ec,{className:"h-4 w-4"})}),e.jsx("span",{className:"w-8 text-center",children:f.quantity}),e.jsx("button",{onClick:()=>m(f.id,f.quantity+1),className:"p-1 rounded-md hover:bg-gray-100","aria-label":`Increase quantity for ${f.name}`,children:e.jsx($o,{className:"h-4 w-4"})})]}),e.jsxs("p",{className:"font-medium",children:[s,(f.price*f.quantity).toFixed(2)]})]})]},f.id))})}),e.jsxs("div",{className:"border-t p-4 bg-gray-50",children:[e.jsxs("div",{className:"flex justify-between items-center mb-4",children:[e.jsx("span",{className:"font-medium",children:r}),e.jsxs("span",{className:"text-xl font-bold",children:[s,y.toFixed(2)]})]}),e.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})]})]}):e.jsx("button",{onClick:x,"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:e.jsxs("div",{className:"relative",children:[e.jsx(Wo,{className:"h-6 w-6"}),d.length>0&&e.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 kA({services:t,title:a,description:r,showBtn:n="Show",hideBtn:s="Hide",featuresBtn:i="Features"}){const[c,l]=M.useState(null),d=h=>{l(c===h?null:h)};return e.jsx("section",{id:"services",className:"py-20 bg-gray-50",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:a}),e.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),e.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 lg:grid-cols-2",children:t.map((h,u)=>e.jsx("div",{className:"bg-white rounded-lg shadow-md overflow-hidden transition-all duration-300",children:e.jsxs("div",{className:"p-6",children:[e.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-3",children:h.title}),e.jsx("p",{className:"text-gray-600 mb-4",children:h.shortDescription}),e.jsx("div",{className:`transition-all duration-300 overflow-hidden ${c===u?"max-h-[500px]":"max-h-0"}`,children:e.jsxs("div",{className:"mt-4 space-y-4",children:[e.jsx("p",{className:"text-gray-700",children:h.fullDescription}),e.jsxs("div",{className:"border-t pt-4",children:[e.jsx("h4",{className:"font-medium text-gray-900 mb-2",children:i}),e.jsx("ul",{className:"grid grid-cols-1 sm:grid-cols-2 gap-2",children:h.features.map((p,m)=>e.jsxs("li",{className:"text-gray-600",children:["• ",p]},m))})]})]})}),e.jsx("button",{onClick:()=>d(u),className:"mt-4 text-yellow-600 hover:text-yellow-700 font-medium focus:outline-none",children:c===u?s:n})]})},u))})]})})}function vA({courses:t=[],title:a="Available Courses",description:r="Choose the best course for you.",priceLabel:n="From",currencySymbol:s="€",perDurationLabel:i="/week",reviewsText:c="reviews"}){const l=d=>{const h=d/10*5,u=Math.floor(h),p=h%1,m=5-Math.ceil(h);return e.jsxs("div",{className:"flex items-center",children:[[...Array(u)].map((y,x)=>e.jsx(St,{className:"w-5 h-5 text-yellow-400 fill-current"},`full-${x}`)),p>0&&e.jsxs("div",{className:"relative w-5 h-5",children:[e.jsx(St,{className:"absolute w-5 h-5 text-gray-300 fill-current"}),e.jsx("div",{className:"absolute overflow-hidden",style:{width:`${p*100}%`},children:e.jsx(St,{className:"w-5 h-5 text-yellow-400 fill-current"})})]}),[...Array(m)].map((y,x)=>e.jsx(St,{className:"w-5 h-5 text-gray-300"},`empty-${x}`))]})};return e.jsx("section",{className:"py-20 bg-gray-50",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center mb-16",children:[e.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:a}),e.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:t.map((d,h)=>e.jsxs("div",{className:"bg-white rounded-xl p-8 shadow-sm hover:shadow-md transition-shadow flex flex-col h-full",children:[e.jsxs("div",{className:"flex-grow",children:[e.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-2",children:d.title}),e.jsxs("div",{className:"flex items-center mb-4",children:[l(d.rating),e.jsxs("span",{className:"ml-2 text-gray-600",children:[d.rating,"/10 (",d.reviews," ",c,")"]})]}),e.jsxs("div",{className:"mb-4",children:[e.jsxs("span",{className:"text-2xl font-bold text-gray-900",children:[n," ",d.pricePerWeek,s]}),e.jsxs("span",{className:"text-gray-600",children:["/",i]})]}),e.jsx("p",{className:"text-gray-600 mb-6",children:d.description}),e.jsx("div",{className:"space-y-4",children:d.features.map((u,p)=>{const m=KC(u.icon);return e.jsxs("div",{className:"flex items-center text-gray-700",children:[m?e.jsx(m,{className:"w-5 h-5"}):null,e.jsx("span",{className:"ml-3",children:u.text})]},p)})})]}),d.ctaLink&&d.ctaText?e.jsx("div",{className:"mt-8",children:e.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 Sz=[{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"]}],Lz=[{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."}],Nz=[{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"}],Iz=[{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"}],Az=[{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"}],Pz=[{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."}],_z=[{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}],Rz=[{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"}],Tz=[{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}],qz=[{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}],Dz=[{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."}],zz=[{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"}]}],Ez=()=>(M.useEffect(()=>{nA.fromTo(".animated-text",{opacity:0,y:30},{opacity:1,y:0,duration:1,stagger:.2})},[]),e.jsxs("div",{className:"relative min-h-screen flex flex-col bg-gray-50",children:[e.jsx(bz,{children:e.jsxs("div",{className:"min-h-screen bg-white",children:[e.jsx(jz,{}),e.jsx(dA,{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"}),e.jsx(hA,{services:Lz,title:"Nuestro Servicios",description:"Todo lo que necesitas para aprender inglés en el menor tiempo y al mejor costo"}),e.jsx(kA,{services:Sz,title:"Why Choose GlobalEnglish?",description:"Discover what sets us apart from other language schools"}),e.jsx(sA,{advantages:Iz,title:"Why Choose GlobalEnglish?",description:"Discover what sets us apart from other language schools"}),e.jsx(yA,{features:Nz,title:"Titulo",description:"description"}),e.jsx(vA,{courses:zz,title:"Test",description:"test"}),e.jsx(fA,{images:Az,autoPlayInterval:5e3,title:"Campus Life Gallery",description:"Take a visual tour of our facilities and student activities"}),e.jsx(lA,{destinations:Pz,title:"Popular Destinations",description:"Choose from our carefully selected locations worldwide"}),e.jsx(cA,{courses:_z,title:"Our Courses",description:"Find the perfect course to match your goals"}),e.jsx(pA,{videos:Rz,title:"Our Courses",description:"Find the perfect course to match your goals"}),e.jsx(uA,{testimonials:Tz,title:"Our Courses",description:"Find the perfect course to match your goals"}),e.jsx(mA,{faqs:Dz,title:"Our Courses",description:"Find the perfect course to match your goals"}),e.jsx(wz,{}),e.jsx(xA,{initialMessages:qz}),e.jsx(gA,{})]})}),e.jsx("footer",{className:"bg-gray-800 text-white py-8",children:e.jsxs("div",{className:"max-w-7xl mx-auto text-center space-y-4",children:[e.jsx("p",{className:"text-sm",children:"© 2024 Learn English. All Rights Reserved."}),e.jsxs("nav",{className:"flex justify-center space-x-6",children:[e.jsx("a",{href:"#home",className:"hover:text-yellow-400",children:"Home"}),e.jsx("a",{href:"#courses",className:"hover:text-yellow-400",children:"Courses"}),e.jsx("a",{href:"#contact",className:"hover:text-yellow-400",children:"Contact Us"})]})]})})]}));function Fz({title:t,icon:a,jobs:r,viewAllText:n,viewAllHref:s,apiUrl:i}){const[c,l]=M.useState(r||[]),[d,h]=M.useState(!r),[u,p]=M.useState(null);M.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 v=await f.json();if(!Array.isArray(v))throw new Error("Expected an array of jobs");l(v)}catch(x){console.error("Error fetching jobs:",x),p(x instanceof Error?x.message:"Failed to load jobs"),l(m())}finally{h(!1)}})()},[r,i]);const m=()=>{const y=["Bet365","Entain","Flutter","DraftKings","Pinnacle"],x=["Game Developer","CRM Manager","VIP Account Manager","Compliance Specialist","UX Designer"],f=["Malta","London","Gibraltar","Remote","New York"];return Array.from({length:6},(v,k)=>({id:`mock-job-${k}`,title:x[k%x.length],company:y[k%y.length],companyLogo:`/logos/${y[k%y.length].toLowerCase()}.png`,location:f[k%f.length],salary:`€${Math.floor(Math.random()*30)+40},000`}))};return d?e.jsx("section",{className:"py-16 bg-white",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:[...Array(3)].map((y,x)=>e.jsxs("div",{className:"border border-gray-200 rounded-lg p-6 animate-pulse",children:[e.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[e.jsx("div",{className:"w-12 h-12 bg-gray-200 rounded"}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("div",{className:"h-4 bg-gray-200 rounded w-3/4"}),e.jsx("div",{className:"h-3 bg-gray-200 rounded w-1/2"})]})]}),e.jsx("div",{className:"h-3 bg-gray-200 rounded w-1/2 mb-4"}),e.jsx("div",{className:"h-3 bg-gray-200 rounded w-1/4 mb-4"}),e.jsx("div",{className:"h-10 bg-gray-200 rounded"})]},x))})})}):u&&c.length===0?e.jsx("section",{className:"py-16 bg-white",children:e.jsx("div",{className:"container mx-auto px-4 text-center",children:e.jsxs("div",{className:"bg-red-50 border border-red-200 text-red-800 rounded-lg p-6 inline-block",children:[e.jsx("p",{children:u}),e.jsx(z,{variant:"outline",className:"mt-4 border-red-300 text-red-800",onClick:()=>window.location.reload(),children:"Try Again"})]})})}):e.jsx("section",{className:"py-16 bg-white",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[a&&e.jsx("div",{children:a}),e.jsx("h2",{className:"text-2xl font-bold",children:t})]}),c.length>0?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:c.map(y=>e.jsxs("div",{className:"border border-gray-200 rounded-lg p-6 hover:shadow-md transition-shadow",children:[e.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[e.jsx("div",{className:"w-12 h-12 bg-gray-100 rounded flex items-center justify-center",children:e.jsx("img",{src:y.companyLogo||"/placeholder.svg",alt:`${y.company} logo`,width:48,height:48,className:"rounded",onError:x=>{x.target.src="/placeholder.svg"}})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-bold",children:y.title}),e.jsx("p",{className:"text-gray-600 text-sm",children:y.company})]})]}),e.jsxs("div",{className:"flex items-center gap-2 text-sm text-gray-600 mb-2",children:[e.jsx(st,{size:16}),e.jsx("span",{children:y.location})]}),e.jsx("div",{className:"text-green-600 font-medium mb-4",children:y.salary}),e.jsx(z,{className:"w-full bg-[#0f1219] hover:bg-[#1a2236]",children:"Apply Now"})]},y.id))}),e.jsx("div",{className:"mt-8 text-center",children:e.jsx(z,{variant:"outline",className:"border-[#0f1219] text-[#0f1219] hover:bg-[#0f1219] hover:text-white",onClick:()=>window.location.href=s,children:n})})]}):e.jsx("div",{className:"text-center py-8",children:e.jsx("p",{className:"text-gray-500",children:"No featured jobs available at the moment."})})]})})}function wA({title:t,description:a,primaryButtonText:r,primaryButtonHref:n,secondaryButtonText:s,secondaryButtonHref:i}){return e.jsx("section",{className:"py-16 bg-gradient-to-r from-[#1a2236] to-[#0f1219] text-white",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[e.jsx("h2",{className:"text-3xl font-bold mb-4",children:t}),e.jsx("p",{className:"text-xl text-gray-300 mb-8",children:a}),e.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[e.jsx(z,{className:"bg-yellow-500 hover:bg-yellow-400 text-black font-medium px-6 py-2 rounded",onClick:()=>window.location.href=n,children:r}),e.jsx(z,{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:s})]})]})})})}function bA({title:t,subtitle:a,backgroundImage:r="/placeholder.svg?height=800&width=1600",primaryButtonText:n,primaryButtonLink:s="#",secondaryButtonText:i,secondaryButtonLink:c="#"}){return e.jsx("section",{className:"py-16 bg-gradient-to-r from-[#0f1219] to-[#1a2236] text-white relative overflow-hidden",children:e.jsx("div",{className:"container mx-auto px-4 relative z-10",children:e.jsx("div",{className:"relative z-10 container mx-auto px-4 text-center",children:e.jsxs("div",{className:"max-w-4xl mx-auto animate-fade-in",children:[e.jsxs("h1",{className:"text-4xl md:text-6xl font-bold text-primary-foreground mb-6 leading-tight",children:[t," ",e.jsx("span",{className:"bg-gradient-accent bg-clip-text text-transparent",children:"iGaming"})]}),e.jsx("p",{className:"text-xl md:text-2xl text-primary-foreground/80 mb-8 leading-relaxed",children:a}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center items-center animate-slide-in",children:[e.jsxs("a",{href:s,className:`justify-center whitespace-nowrap text-sm transition-colors
7741
+ */var cL,pr,Yo,ZC,oo,lL,JC,ez=function(){return typeof window<"u"},Ka={},so=180/Math.PI,Ko=Math.PI/180,Ao=Math.atan2,dL=1e8,XC=/([A-Z])/g,tz=/(left|right|width|margin|padding|x)/i,az=/[\s,\(]\S/,Aa={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},oC=function(a,r){return r.set(r.t,r.p,Math.round((r.s+r.c*a)*1e4)/1e4+r.u,r)},rz=function(a,r){return r.set(r.t,r.p,a===1?r.e:Math.round((r.s+r.c*a)*1e4)/1e4+r.u,r)},nz=function(a,r){return r.set(r.t,r.p,a?Math.round((r.s+r.c*a)*1e4)/1e4+r.u:r.b,r)},sz=function(a,r){var n=r.s+r.c*a;r.set(r.t,r.p,~~(n+(n<0?-.5:.5))+r.u,r)},WI=function(a,r){return r.set(r.t,r.p,a?r.e:r.b,r)},ZI=function(a,r){return r.set(r.t,r.p,a!==1?r.b:r.e,r)},iz=function(a,r,n){return a.style[r]=n},oz=function(a,r,n){return a.style.setProperty(r,n)},cz=function(a,r,n){return a._gsap[r]=n},lz=function(a,r,n){return a._gsap.scaleX=a._gsap.scaleY=n},dz=function(a,r,n,s,i){var c=a._gsap;c.scaleX=c.scaleY=n,c.renderTransform(i,c)},hz=function(a,r,n,s,i){var c=a._gsap;c[r]=n,c.renderTransform(i,c)},We="transform",_t=We+"Origin",uz=function t(a,r){var n=this,s=this.target,i=s.style,c=s._gsap;if(a in Ka&&i){if(this.tfm=this.tfm||{},a!=="transform")a=Aa[a]||a,~a.indexOf(",")?a.split(",").forEach(function(l){return n.tfm[l]=Za(s,l)}):this.tfm[a]=c.x?c[a]:Za(s,a),a===_t&&(this.tfm.zOrigin=c.zOrigin);else return Aa.transform.split(",").forEach(function(l){return t.call(n,l,r)});if(this.props.indexOf(We)>=0)return;c.svg&&(this.svgo=s.getAttribute("data-svg-origin"),this.props.push(_t,r,"")),a=We}(i||r)&&this.props.push(a,r,i[a])},JI=function(a){a.translate&&(a.removeProperty("translate"),a.removeProperty("scale"),a.removeProperty("rotate"))},pz=function(){var a=this.props,r=this.target,n=r.style,s=r._gsap,i,c;for(i=0;i<a.length;i+=3)a[i+1]?r[a[i]]=a[i+2]:a[i+2]?n[a[i]]=a[i+2]:n.removeProperty(a[i].substr(0,2)==="--"?a[i]:a[i].replace(XC,"-$1").toLowerCase());if(this.tfm){for(c in this.tfm)s[c]=this.tfm[c];s.svg&&(s.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),i=JC(),(!i||!i.isStart)&&!n[We]&&(JI(n),s.zOrigin&&n[_t]&&(n[_t]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},XI=function(a,r){var n={target:a,props:[],revert:pz,save:uz};return a._gsap||Rt.core.getCache(a),r&&r.split(",").forEach(function(s){return n.save(s)}),n},YI,cC=function(a,r){var n=pr.createElementNS?pr.createElementNS((r||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),a):pr.createElement(a);return n&&n.style?n:pr.createElement(a)},Ta=function t(a,r,n){var s=getComputedStyle(a);return s[r]||s.getPropertyValue(r.replace(XC,"-$1").toLowerCase())||s.getPropertyValue(r)||!n&&t(a,ic(r)||r,1)||""},hL="O,Moz,ms,Ms,Webkit".split(","),ic=function(a,r,n){var s=r||oo,i=s.style,c=5;if(a in i&&!n)return a;for(a=a.charAt(0).toUpperCase()+a.substr(1);c--&&!(hL[c]+a in i););return c<0?null:(c===3?"ms":c>=0?hL[c]:"")+a},lC=function(){ez()&&window.document&&(cL=window,pr=cL.document,Yo=pr.documentElement,oo=cC("div")||{style:{}},cC("div"),We=ic(We),_t=We+"Origin",oo.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",YI=!!ic("perspective"),JC=Rt.core.reverting,ZC=1)},bj=function t(a){var r=cC("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,s=this.nextSibling,i=this.style.cssText,c;if(Yo.appendChild(r),r.appendChild(this),this.style.display="block",a)try{c=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch{}else this._gsapBBox&&(c=this._gsapBBox());return n&&(s?n.insertBefore(this,s):n.appendChild(this)),Yo.removeChild(r),this.style.cssText=i,c},uL=function(a,r){for(var n=r.length;n--;)if(a.hasAttribute(r[n]))return a.getAttribute(r[n])},KI=function(a){var r;try{r=a.getBBox()}catch{r=bj.call(a,!0)}return r&&(r.width||r.height)||a.getBBox===bj||(r=bj.call(a,!0)),r&&!r.width&&!r.x&&!r.y?{x:+uL(a,["x","cx","x1"])||0,y:+uL(a,["y","cy","y1"])||0,width:0,height:0}:r},QI=function(a){return!!(a.getCTM&&(!a.parentNode||a.ownerSVGElement)&&KI(a))},wo=function(a,r){if(r){var n=a.style,s;r in Ka&&r!==_t&&(r=We),n.removeProperty?(s=r.substr(0,2),(s==="ms"||r.substr(0,6)==="webkit")&&(r="-"+r),n.removeProperty(s==="--"?r:r.replace(XC,"-$1").toLowerCase())):n.removeAttribute(r)}},yr=function(a,r,n,s,i,c){var l=new Pt(a._pt,r,n,0,1,c?ZI:WI);return a._pt=l,l.b=s,l.e=i,a._props.push(n),l},pL={deg:1,rad:1,turn:1},yz={grid:1,flex:1},Ir=function t(a,r,n,s){var i=parseFloat(n)||0,c=(n+"").trim().substr((i+"").length)||"px",l=oo.style,d=tz.test(r),h=a.tagName.toLowerCase()==="svg",u=(h?"client":"offset")+(d?"Width":"Height"),p=100,m=s==="px",y=s==="%",x,f,v,k;if(s===c||!i||pL[s]||pL[c])return i;if(c!=="px"&&!m&&(i=t(a,r,n,"px")),k=a.getCTM&&QI(a),(y||c==="%")&&(Ka[r]||~r.indexOf("adius")))return x=k?a.getBBox()[d?"width":"height"]:a[u],Ke(y?i/x*p:i/100*x);if(l[d?"width":"height"]=p+(m?c:s),f=~r.indexOf("adius")||s==="em"&&a.appendChild&&!h?a:a.parentNode,k&&(f=(a.ownerSVGElement||{}).parentNode),(!f||f===pr||!f.appendChild)&&(f=pr.body),v=f._gsap,v&&y&&v.width&&d&&v.time===Ht.time&&!v.uncache)return Ke(i/v.width*p);if(y&&(r==="height"||r==="width")){var w=a.style[r];a.style[r]=p+s,x=a[u],w?a.style[r]=w:wo(a,r)}else(y||c==="%")&&!yz[Ta(f,"display")]&&(l.position=Ta(a,"position")),f===a&&(l.position="static"),f.appendChild(oo),x=oo[u],f.removeChild(oo),l.position="absolute";return d&&y&&(v=yo(f),v.time=Ht.time,v.width=f[u]),Ke(m?x*i/p:x&&i?p/x*i:0)},Za=function(a,r,n,s){var i;return ZC||lC(),r in Aa&&r!=="transform"&&(r=Aa[r],~r.indexOf(",")&&(r=r.split(",")[0])),Ka[r]&&r!=="transform"?(i=il(a,s),i=r!=="transformOrigin"?i[r]:i.svg?i.origin:M9(Ta(a,_t))+" "+i.zOrigin+"px"):(i=a.style[r],(!i||i==="auto"||s||~(i+"").indexOf("calc("))&&(i=b9[r]&&b9[r](a,r,n)||Ta(a,r)||mI(a,r)||(r==="opacity"?1:0))),n&&!~(i+"").trim().indexOf(" ")?Ir(a,r,i,n)+n:i},mz=function(a,r,n,s){if(!n||n==="none"){var i=ic(r,a,1),c=i&&Ta(a,i,1);c&&c!==n?(r=i,n=c):r==="borderColor"&&(n=Ta(a,"borderTopColor"))}var l=new Pt(this._pt,a.style,r,0,1,$I),d=0,h=0,u,p,m,y,x,f,v,k,w,j,S,C;if(l.b=n,l.e=s,n+="",s+="",s==="auto"&&(f=a.style[r],a.style[r]=s,s=Ta(a,r)||s,f?a.style[r]=f:wo(a,r)),u=[n,s],TI(u),n=u[0],s=u[1],m=n.match(To)||[],C=s.match(To)||[],C.length){for(;p=To.exec(s);)v=p[0],w=s.substring(d,p.index),x?x=(x+1)%5:(w.substr(-5)==="rgba("||w.substr(-5)==="hsla(")&&(x=1),v!==(f=m[h++]||"")&&(y=parseFloat(f)||0,S=f.substr((y+"").length),v.charAt(1)==="="&&(v=Xo(y,v)+S),k=parseFloat(v),j=v.substr((k+"").length),d=To.lastIndex-j.length,j||(j=j||Ut.units[r]||S,d===s.length&&(s+=j,l.e+=j)),S!==j&&(y=Ir(a,r,f,j)||0),l._pt={_next:l._pt,p:w||h===1?w:",",s:y,c:k-y,m:x&&x<4||r==="zIndex"?Math.round:0});l.c=d<s.length?s.substring(d,s.length):""}else l.r=r==="display"&&s==="none"?ZI:WI;return lI.test(s)&&(l.e=0),this._pt=l,l},yL={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},fz=function(a){var r=a.split(" "),n=r[0],s=r[1]||"50%";return(n==="top"||n==="bottom"||s==="left"||s==="right")&&(a=n,n=s,s=a),r[0]=yL[n]||n,r[1]=yL[s]||s,r.join(" ")},xz=function(a,r){if(r.tween&&r.tween._time===r.tween._dur){var n=r.t,s=n.style,i=r.u,c=n._gsap,l,d,h;if(i==="all"||i===!0)s.cssText="",d=1;else for(i=i.split(","),h=i.length;--h>-1;)l=i[h],Ka[l]&&(d=1,l=l==="transformOrigin"?_t:We),wo(n,l);d&&(wo(n,We),c&&(c.svg&&n.removeAttribute("transform"),il(n,1),c.uncache=1,JI(s)))}},b9={clearProps:function(a,r,n,s,i){if(i.data!=="isFromStart"){var c=a._pt=new Pt(a._pt,r,n,0,0,xz);return c.u=s,c.pr=-10,c.tween=i,a._props.push(n),1}}},sl=[1,0,0,1,0,0],eA={},tA=function(a){return a==="matrix(1, 0, 0, 1, 0, 0)"||a==="none"||!a},mL=function(a){var r=Ta(a,We);return tA(r)?sl:r.substr(7).match(cI).map(Ke)},YC=function(a,r){var n=a._gsap||yo(a),s=a.style,i=mL(a),c,l,d,h;return n.svg&&a.getAttribute("transform")?(d=a.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"?sl:i):(i===sl&&!a.offsetParent&&a!==Yo&&!n.svg&&(d=s.display,s.display="block",c=a.parentNode,(!c||!a.offsetParent)&&(h=1,l=a.nextElementSibling,Yo.appendChild(a)),i=mL(a),d?s.display=d:wo(a,"display"),h&&(l?c.insertBefore(a,l):c?c.appendChild(a):Yo.removeChild(a))),r&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},dC=function(a,r,n,s,i,c){var l=a._gsap,d=i||YC(a,!0),h=l.xOrigin||0,u=l.yOrigin||0,p=l.xOffset||0,m=l.yOffset||0,y=d[0],x=d[1],f=d[2],v=d[3],k=d[4],w=d[5],j=r.split(" "),S=parseFloat(j[0])||0,C=parseFloat(j[1])||0,A,L,b,N;n?d!==sl&&(L=y*v-x*f)&&(b=S*(v/L)+C*(-f/L)+(f*w-v*k)/L,N=S*(-x/L)+C*(y/L)-(y*w-x*k)/L,S=b,C=N):(A=KI(a),S=A.x+(~j[0].indexOf("%")?S/100*A.width:S),C=A.y+(~(j[1]||j[0]).indexOf("%")?C/100*A.height:C)),s||s!==!1&&l.smooth?(k=S-h,w=C-u,l.xOffset=p+(k*y+w*f)-k,l.yOffset=m+(k*x+w*v)-w):l.xOffset=l.yOffset=0,l.xOrigin=S,l.yOrigin=C,l.smooth=!!s,l.origin=r,l.originIsAbsolute=!!n,a.style[_t]="0px 0px",c&&(yr(c,l,"xOrigin",h,S),yr(c,l,"yOrigin",u,C),yr(c,l,"xOffset",p,l.xOffset),yr(c,l,"yOffset",m,l.yOffset)),a.setAttribute("data-svg-origin",S+" "+C)},il=function(a,r){var n=a._gsap||new EI(a);if("x"in n&&!r&&!n.uncache)return n;var s=a.style,i=n.scaleX<0,c="px",l="deg",d=getComputedStyle(a),h=Ta(a,_t)||"0",u,p,m,y,x,f,v,k,w,j,S,C,A,L,b,N,q,P,R,T,$,W,B,U,O,oe,ae,Y,J,Q,ee,ue;return u=p=m=f=v=k=w=j=S=0,y=x=1,n.svg=!!(a.getCTM&&QI(a)),d.translate&&((d.translate!=="none"||d.scale!=="none"||d.rotate!=="none")&&(s[We]=(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[We]!=="none"?d[We]:"")),s.scale=s.rotate=s.translate="none"),L=YC(a,n.svg),n.svg&&(n.uncache?(O=a.getBBox(),h=n.xOrigin-O.x+"px "+(n.yOrigin-O.y)+"px",U=""):U=!r&&a.getAttribute("data-svg-origin"),dC(a,U||h,!!U||n.originIsAbsolute,n.smooth!==!1,L)),C=n.xOrigin||0,A=n.yOrigin||0,L!==sl&&(P=L[0],R=L[1],T=L[2],$=L[3],u=W=L[4],p=B=L[5],L.length===6?(y=Math.sqrt(P*P+R*R),x=Math.sqrt($*$+T*T),f=P||R?Ao(R,P)*so:0,w=T||$?Ao(T,$)*so+f:0,w&&(x*=Math.abs(Math.cos(w*Ko))),n.svg&&(u-=C-(C*P+A*T),p-=A-(C*R+A*$))):(ue=L[6],Q=L[7],ae=L[8],Y=L[9],J=L[10],ee=L[11],u=L[12],p=L[13],m=L[14],b=Ao(ue,J),v=b*so,b&&(N=Math.cos(-b),q=Math.sin(-b),U=W*N+ae*q,O=B*N+Y*q,oe=ue*N+J*q,ae=W*-q+ae*N,Y=B*-q+Y*N,J=ue*-q+J*N,ee=Q*-q+ee*N,W=U,B=O,ue=oe),b=Ao(-T,J),k=b*so,b&&(N=Math.cos(-b),q=Math.sin(-b),U=P*N-ae*q,O=R*N-Y*q,oe=T*N-J*q,ee=$*q+ee*N,P=U,R=O,T=oe),b=Ao(R,P),f=b*so,b&&(N=Math.cos(b),q=Math.sin(b),U=P*N+R*q,O=W*N+B*q,R=R*N-P*q,B=B*N-W*q,P=U,W=O),v&&Math.abs(v)+Math.abs(f)>359.9&&(v=f=0,k=180-k),y=Ke(Math.sqrt(P*P+R*R+T*T)),x=Ke(Math.sqrt(B*B+ue*ue)),b=Ao(W,B),w=Math.abs(b)>2e-4?b*so:0,S=ee?1/(ee<0?-ee:ee):0),n.svg&&(U=a.getAttribute("transform"),n.forceCSS=a.setAttribute("transform","")||!tA(Ta(a,We)),U&&a.setAttribute("transform",U))),Math.abs(w)>90&&Math.abs(w)<270&&(i?(y*=-1,w+=f<=0?180:-180,f+=f<=0?180:-180):(x*=-1,w+=w<=0?180:-180)),r=r||n.uncache,n.x=u-((n.xPercent=u&&(!r&&n.xPercent||(Math.round(a.offsetWidth/2)===Math.round(-u)?-50:0)))?a.offsetWidth*n.xPercent/100:0)+c,n.y=p-((n.yPercent=p&&(!r&&n.yPercent||(Math.round(a.offsetHeight/2)===Math.round(-p)?-50:0)))?a.offsetHeight*n.yPercent/100:0)+c,n.z=m+c,n.scaleX=Ke(y),n.scaleY=Ke(x),n.rotation=Ke(f)+l,n.rotationX=Ke(v)+l,n.rotationY=Ke(k)+l,n.skewX=w+l,n.skewY=j+l,n.transformPerspective=S+c,(n.zOrigin=parseFloat(h.split(" ")[2])||!r&&n.zOrigin||0)&&(s[_t]=M9(h)),n.xOffset=n.yOffset=0,n.force3D=Ut.force3D,n.renderTransform=n.svg?kz:YI?aA:gz,n.uncache=0,n},M9=function(a){return(a=a.split(" "))[0]+" "+a[1]},Mj=function(a,r,n){var s=xt(r);return Ke(parseFloat(r)+parseFloat(Ir(a,"x",n+"px",s)))+s},gz=function(a,r){r.z="0px",r.rotationY=r.rotationX="0deg",r.force3D=0,aA(a,r)},Or="0deg",gc="0px",Hr=") ",aA=function(a,r){var n=r||this,s=n.xPercent,i=n.yPercent,c=n.x,l=n.y,d=n.z,h=n.rotation,u=n.rotationY,p=n.rotationX,m=n.skewX,y=n.skewY,x=n.scaleX,f=n.scaleY,v=n.transformPerspective,k=n.force3D,w=n.target,j=n.zOrigin,S="",C=k==="auto"&&a&&a!==1||k===!0;if(j&&(p!==Or||u!==Or)){var A=parseFloat(u)*Ko,L=Math.sin(A),b=Math.cos(A),N;A=parseFloat(p)*Ko,N=Math.cos(A),c=Mj(w,c,L*N*-j),l=Mj(w,l,-Math.sin(A)*-j),d=Mj(w,d,b*N*-j+j)}v!==gc&&(S+="perspective("+v+Hr),(s||i)&&(S+="translate("+s+"%, "+i+"%) "),(C||c!==gc||l!==gc||d!==gc)&&(S+=d!==gc||C?"translate3d("+c+", "+l+", "+d+") ":"translate("+c+", "+l+Hr),h!==Or&&(S+="rotate("+h+Hr),u!==Or&&(S+="rotateY("+u+Hr),p!==Or&&(S+="rotateX("+p+Hr),(m!==Or||y!==Or)&&(S+="skew("+m+", "+y+Hr),(x!==1||f!==1)&&(S+="scale("+x+", "+f+Hr),w.style[We]=S||"translate(0, 0)"},kz=function(a,r){var n=r||this,s=n.xPercent,i=n.yPercent,c=n.x,l=n.y,d=n.rotation,h=n.skewX,u=n.skewY,p=n.scaleX,m=n.scaleY,y=n.target,x=n.xOrigin,f=n.yOrigin,v=n.xOffset,k=n.yOffset,w=n.forceCSS,j=parseFloat(c),S=parseFloat(l),C,A,L,b,N;d=parseFloat(d),h=parseFloat(h),u=parseFloat(u),u&&(u=parseFloat(u),h+=u,d+=u),d||h?(d*=Ko,h*=Ko,C=Math.cos(d)*p,A=Math.sin(d)*p,L=Math.sin(d-h)*-m,b=Math.cos(d-h)*m,h&&(u*=Ko,N=Math.tan(h-u),N=Math.sqrt(1+N*N),L*=N,b*=N,u&&(N=Math.tan(u),N=Math.sqrt(1+N*N),C*=N,A*=N)),C=Ke(C),A=Ke(A),L=Ke(L),b=Ke(b)):(C=p,b=m,A=L=0),(j&&!~(c+"").indexOf("px")||S&&!~(l+"").indexOf("px"))&&(j=Ir(y,"x",c,"px"),S=Ir(y,"y",l,"px")),(x||f||v||k)&&(j=Ke(j+x-(x*C+f*L)+v),S=Ke(S+f-(x*A+f*b)+k)),(s||i)&&(N=y.getBBox(),j=Ke(j+s/100*N.width),S=Ke(S+i/100*N.height)),N="matrix("+C+","+A+","+L+","+b+","+j+","+S+")",y.setAttribute("transform",N),w&&(y.style[We]=N)},vz=function(a,r,n,s,i){var c=360,l=lt(i),d=parseFloat(i)*(l&&~i.indexOf("rad")?so:1),h=d-s,u=s+h+"deg",p,m;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*dL)%c-~~(h/c)*c:p==="ccw"&&h>0&&(h=(h-c*dL)%c-~~(h/c)*c)),a._pt=m=new Pt(a._pt,r,n,s,h,rz),m.e=u,m.u="deg",a._props.push(n),m},fL=function(a,r){for(var n in r)a[n]=r[n];return a},wz=function(a,r,n){var s=fL({},n._gsap),i="perspective,force3D,transformOrigin,svgOrigin",c=n.style,l,d,h,u,p,m,y,x;s.svg?(h=n.getAttribute("transform"),n.setAttribute("transform",""),c[We]=r,l=il(n,1),wo(n,We),n.setAttribute("transform",h)):(h=getComputedStyle(n)[We],c[We]=r,l=il(n,1),c[We]=h);for(d in Ka)h=s[d],u=l[d],h!==u&&i.indexOf(d)<0&&(y=xt(h),x=xt(u),p=y!==x?Ir(n,d,h,x):parseFloat(h),m=parseFloat(u),a._pt=new Pt(a._pt,l,d,p,m-p,oC),a._pt.u=x||0,a._props.push(d));fL(l,s)};At("padding,margin,Width,Radius",function(t,a){var r="Top",n="Right",s="Bottom",i="Left",c=(a<3?[r,n,s,i]:[r+i,r+n,s+n,s+i]).map(function(l){return a<2?t+l:"border"+l+t});b9[a>1?"border"+t:t]=function(l,d,h,u,p){var m,y;if(arguments.length<4)return m=c.map(function(x){return Za(l,x,h)}),y=m.join(" "),y.split(m[0]).length===5?m[0]:y;m=(u+"").split(" "),y={},c.forEach(function(x,f){return y[x]=m[f]=m[f]||m[(f-1)/2|0]}),l.init(d,y,p)}});var rA={name:"css",register:lC,targetTest:function(a){return a.style&&a.nodeType},init:function(a,r,n,s,i){var c=this._props,l=a.style,d=n.vars.startAt,h,u,p,m,y,x,f,v,k,w,j,S,C,A,L,b;ZC||lC(),this.styles=this.styles||XI(a),b=this.styles.props,this.tween=n;for(f in r)if(f!=="autoRound"&&(u=r[f],!(zt[f]&&FI(f,r,n,s,a,i)))){if(y=typeof u,x=b9[f],y==="function"&&(u=u.call(n,s,a,i),y=typeof u),y==="string"&&~u.indexOf("random(")&&(u=al(u)),x)x(this,a,f,u,n)&&(L=1);else if(f.substr(0,2)==="--")h=(getComputedStyle(a).getPropertyValue(f)+"").trim(),u+="",Sr.lastIndex=0,Sr.test(h)||(v=xt(h),k=xt(u)),k?v!==k&&(h=Ir(a,f,h,k)+k):v&&(u+=v),this.add(l,"setProperty",h,u,s,i,0,0,f),c.push(f),b.push(f,0,l[f]);else if(y!=="undefined"){if(d&&f in d?(h=typeof d[f]=="function"?d[f].call(n,s,a,i):d[f],lt(h)&&~h.indexOf("random(")&&(h=al(h)),xt(h+"")||h==="auto"||(h+=Ut.units[f]||xt(Za(a,f))||""),(h+"").charAt(1)==="="&&(h=Za(a,f))):h=Za(a,f),m=parseFloat(h),w=y==="string"&&u.charAt(1)==="="&&u.substr(0,2),w&&(u=u.substr(2)),p=parseFloat(u),f in Aa&&(f==="autoAlpha"&&(m===1&&Za(a,"visibility")==="hidden"&&p&&(m=0),b.push("visibility",0,l.visibility),yr(this,l,"visibility",m?"inherit":"hidden",p?"inherit":"hidden",!p)),f!=="scale"&&f!=="transform"&&(f=Aa[f],~f.indexOf(",")&&(f=f.split(",")[0]))),j=f in Ka,j){if(this.styles.save(f),S||(C=a._gsap,C.renderTransform&&!r.parseTransform||il(a,r.parseTransform),A=r.smoothOrigin!==!1&&C.smooth,S=this._pt=new Pt(this._pt,l,We,0,1,C.renderTransform,C,0,-1),S.dep=1),f==="scale")this._pt=new Pt(this._pt,C,"scaleY",C.scaleY,(w?Xo(C.scaleY,w+p):p)-C.scaleY||0,oC),this._pt.u=0,c.push("scaleY",f),f+="X";else if(f==="transformOrigin"){b.push(_t,0,l[_t]),u=fz(u),C.svg?dC(a,u,0,A,0,this):(k=parseFloat(u.split(" ")[2])||0,k!==C.zOrigin&&yr(this,C,"zOrigin",C.zOrigin,k),yr(this,l,f,M9(h),M9(u)));continue}else if(f==="svgOrigin"){dC(a,u,1,A,0,this);continue}else if(f in eA){vz(this,C,f,m,w?Xo(m,w+u):u);continue}else if(f==="smoothOrigin"){yr(this,C,"smooth",C.smooth,u);continue}else if(f==="force3D"){C[f]=u;continue}else if(f==="transform"){wz(this,u,a);continue}}else f in l||(f=ic(f)||f);if(j||(p||p===0)&&(m||m===0)&&!az.test(u)&&f in l)v=(h+"").substr((m+"").length),p||(p=0),k=xt(u)||(f in Ut.units?Ut.units[f]:v),v!==k&&(m=Ir(a,f,h,k)),this._pt=new Pt(this._pt,j?C:l,f,m,(w?Xo(m,w+p):p)-m,!j&&(k==="px"||f==="zIndex")&&r.autoRound!==!1?sz:oC),this._pt.u=k||0,v!==k&&k!=="%"&&(this._pt.b=h,this._pt.r=nz);else if(f in l)mz.call(this,a,f,h,w?w+u:u);else if(f in a)this.add(a,f,h||a[f],w?w+u:u,s,i);else if(f!=="parseTransform"){FC(f,u);continue}j||(f in l?b.push(f,0,l[f]):b.push(f,1,h||a[f])),c.push(f)}}L&&UI(this)},render:function(a,r){if(r.tween._time||!JC())for(var n=r._pt;n;)n.r(a,n.d),n=n._next;else r.styles.revert()},get:Za,aliases:Aa,getSetter:function(a,r,n){var s=Aa[r];return s&&s.indexOf(",")<0&&(r=s),r in Ka&&r!==_t&&(a._gsap.x||Za(a,"x"))?n&&lL===n?r==="scale"?lz:cz:(lL=n||{})&&(r==="scale"?dz:hz):a.style&&!DC(a.style[r])?iz:~r.indexOf("-")?oz:GC(a,r)},core:{_removeProperty:wo,_getMatrix:YC}};Rt.utils.checkPrefix=ic;Rt.core.getStyleSaver=XI;(function(t,a,r,n){var s=At(t+","+a+","+r,function(i){Ka[i]=1});At(a,function(i){Ut.units[i]="deg",eA[i]=1}),Aa[s[13]]=t+","+a,At(n,function(i){var c=i.split(":");Aa[c[1]]=s[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");At("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){Ut.units[t]="px"});Rt.registerPlugin(rA);var nA=Rt.registerPlugin(rA)||Rt;nA.core.Tween;function KC(t){return gq[t]||dr}function sA({advantages:t,title:a,description:r}){return e.jsx("section",{className:"py-20 bg-gradient-to-b from-white to-gray-50",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:a}),e.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),e.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3",children:t.map((n,s)=>{const i=KC(n.icon);return e.jsxs("div",{className:"relative bg-white p-6 rounded-xl shadow-md hover:shadow-lg transition-shadow flex flex-col",children:[e.jsxs("div",{className:"w-12 h-12 flex items-center justify-center bg-yellow-50 rounded-lg text-yellow-600 mb-4",children:[i?e.jsx(i,{className:"h-8 w-8"}):null," "]}),e.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:n.title}),e.jsx("p",{className:"text-gray-600 mb-6",children:n.description}),n.ctaLink&&n.ctaText?e.jsx("div",{className:"mt-auto",children:e.jsxs("a",{href:n.ctaLink,className:"inline-flex items-center text-yellow-600 hover:text-yellow-700 font-medium group",children:[n.ctaText,e.jsx(co,{className:"ml-2 h-4 w-4 transform group-hover:translate-x-1 transition-transform"})]})}):""]},s)})})]})})}function bz({title:t="Get in Touch",description:a="Have questions? We're here to help you start your journey",nameLabel:r="Full Name",emailLabel:n="Email",messageLabel:s="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:m,showContactDetails:y=!0}){const x=f=>{f.preventDefault();const v=new FormData(f.currentTarget);m==null||m({name:String(v.get("name")??""),email:String(v.get("email")??""),message:String(v.get("message")??"")})};return e.jsx("section",{id:"contact",className:"py-20 bg-gray-50",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:t}),e.jsx("p",{className:"mt-4 text-xl text-gray-600",children:a})]}),e.jsxs("div",{className:"mt-16 max-w-lg mx-auto",children:[e.jsxs("form",{className:"space-y-6",onSubmit:x,children:[e.jsxs("div",{children:[e.jsx("label",{htmlFor:"name",className:"block text-sm font-medium text-gray-700",children:r}),e.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"})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"email",className:"block text-sm font-medium text-gray-700",children:n}),e.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"})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"message",className:"block text-sm font-medium text-gray-700",children:s}),e.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"})]}),e.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})]}),y&&e.jsxs("div",{className:"mt-12 space-y-4",children:[e.jsxs("div",{className:"flex items-center text-gray-600",children:[e.jsx(sa,{className:"h-6 w-6 mr-3"}),e.jsx("span",{children:h})]}),e.jsxs("div",{className:"flex items-center text-gray-600",children:[e.jsx(br,{className:"h-6 w-6 mr-3"}),e.jsx("span",{children:u})]}),e.jsxs("div",{className:"flex items-center text-gray-600",children:[e.jsx(wr,{className:"h-6 w-6 mr-3"}),e.jsx("span",{children:p})]})]})]})]})})}const iA=M.createContext(void 0);function Mz({children:t}){const[a,r]=M.useState([]),[n,s]=M.useState(!1),i=M.useCallback(u=>{r(p=>p.find(y=>y.id===u.id)?p.map(y=>y.id===u.id?{...y,quantity:y.quantity+1}:y):[...p,{...u,quantity:1}]),s(!0)},[]),c=M.useCallback(u=>{r(p=>p.filter(m=>m.id!==u))},[]),l=M.useCallback((u,p)=>{r(m=>m.map(y=>y.id===u?{...y,quantity:Math.max(0,p)}:y))},[]),d=M.useCallback(()=>{s(u=>!u)},[]),h=a.reduce((u,p)=>u+p.price*p.quantity,0);return e.jsx(iA.Provider,{value:{items:a,isOpen:n,addItem:i,removeItem:c,updateQuantity:l,toggleCart:d,total:h},children:t})}function oA(){const t=M.useContext(iA);if(t===void 0)throw new Error("useCart must be used within a CartProvider");return t}function cA({courses:t,title:a,description:r}){const{addItem:n}=oA();return e.jsx("section",{id:"courses",className:"py-20 bg-white",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:a}),e.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),e.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-4",children:t.map(s=>e.jsxs("div",{className:"bg-white border border-gray-200 rounded-lg p-6 hover:border-yellow-500 transition-colors",children:[e.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-4",children:s.title}),e.jsxs("div",{className:"space-y-3 mb-6",children:[e.jsxs("div",{className:"flex items-center text-gray-600",children:[e.jsx(ka,{className:"h-5 w-5 mr-2"}),e.jsx("span",{children:s.duration})]}),e.jsxs("div",{className:"flex items-center text-gray-600",children:[e.jsx(Nt,{className:"h-5 w-5 mr-2"}),e.jsx("span",{children:s.type})]}),e.jsxs("div",{className:"flex items-center text-gray-600",children:[e.jsx(Bc,{className:"h-5 w-5 mr-2"}),e.jsx("span",{children:s.level})]})]}),e.jsx("p",{className:"text-gray-600 mb-6",children:s.description}),e.jsx("div",{className:"flex items-center justify-between mb-4",children:e.jsxs("span",{className:"text-2xl font-bold text-gray-900",children:["$",s.price]})}),e.jsxs("button",{onClick:()=>n({id:s.id,name:s.title,price:s.price,duration:s.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:[e.jsx(Wo,{className:"h-5 w-5"}),e.jsx("span",{children:"Add to Cart"})]})]},s.id))})]})})}function lA({destinations:t,title:a,description:r}){const[n,s]=M.useState(0),[i,c]=M.useState(!0),l=()=>typeof window<"u"?window.innerWidth<640?1:window.innerWidth<1024?2:4:4,[d,h]=M.useState(l());M.useEffect(()=>{const y=()=>{h(l())};return window.addEventListener("resize",y),()=>window.removeEventListener("resize",y)},[]),M.useEffect(()=>{let y;return i&&(y=setInterval(()=>{s(x=>(x+1)%(t.length-d+1))},5e3)),()=>clearInterval(y)},[i]);const u=()=>{s(y=>Math.max(0,y-1)),c(!1)},p=()=>{s(y=>Math.min(t.length-d,y+1)),c(!1)},m=t.slice(n,n+d);return e.jsx("section",{id:"destinations",className:"py-20",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:a}),e.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),e.jsxs("div",{className:"mt-16 relative",children:[e.jsx("div",{className:"flex gap-4 md:gap-6 lg:gap-8",children:m.map((y,x)=>e.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:[e.jsx("img",{src:y.image,alt:y.name,className:"w-full h-64 object-cover group-hover:scale-110 transition-transform duration-300"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/70 to-transparent",children:e.jsxs("div",{className:"absolute bottom-0 p-6",children:[e.jsxs("div",{className:"flex items-center text-white mb-2",children:[e.jsx(ct,{className:"h-5 w-5 mr-2"}),e.jsx("h3",{className:"text-lg font-semibold",children:y.name})]}),e.jsx("p",{className:"text-white/90 text-sm",children:y.description})]})})]},n+x))}),e.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:e.jsx(fr,{className:"h-6 w-6 text-gray-800"})}),e.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:e.jsx(xr,{className:"h-6 w-6 text-gray-800"})})]}),e.jsx("div",{className:"flex justify-center mt-8 space-x-2",children:Array.from({length:Math.ceil(t.length/d)}).map((y,x)=>e.jsx("button",{onClick:()=>{s(x*d),c(!1)},className:`w-2 h-2 rounded-full transition-all ${Math.floor(n/d)===x?"bg-yellow-600 w-4":"bg-gray-300 hover:bg-gray-400"}`},x))})]})})}const jz=[{label:"Destinations",href:"#destinations"},{label:"Courses",href:"#courses"},{label:"Services",href:"#services"}];function Cz({title:t="GlobalEnglish",navItems:a=jz,ctaLabel:r="Contact Us",ctaHref:n="#contact",brandIcon:s=e.jsx(na,{className:"h-8 w-8 text-yellow-600"}),defaultOpen:i=!1,isOpen:c,onToggleMenu:l,menuButtonAriaLabel:d="Toggle navigation"}){const[h,u]=M.useState(i),p=c??h,m=()=>{const x=!p;c===void 0&&u(x),l==null||l(x)},y=x=>e.jsx("a",{href:x.href,onClick:x.onClick,className:"text-gray-600 hover:text-yellow-600",children:x.label},x.label);return e.jsxs("nav",{className:"bg-white shadow-lg fixed w-full z-50",children:[e.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:e.jsxs("div",{className:"flex justify-between h-16",children:[e.jsxs("div",{className:"flex items-center",children:[s,e.jsx("span",{className:"ml-2 text-xl font-bold text-gray-800",children:t})]}),e.jsxs("div",{className:"hidden md:flex items-center space-x-8",children:[a.map(y),e.jsx("a",{href:n,className:"bg-yellow-600 text-white px-4 py-2 rounded-md hover:bg-yellow-700",children:r})]}),e.jsx("div",{className:"md:hidden flex items-center",children:e.jsx("button",{onClick:m,className:"text-gray-600 hover:text-gray-900 focus:outline-none","aria-label":d,children:p?e.jsx(Ct,{className:"h-6 w-6"}):e.jsx(Bo,{className:"h-6 w-6"})})})]})}),p&&e.jsx("div",{className:"md:hidden",children:e.jsxs("div",{className:"px-2 pt-2 pb-3 space-y-1 sm:px-3",children:[a.map(x=>e.jsx("a",{href:x.href,onClick:()=>{var f;(f=x.onClick)==null||f.call(x),m()},className:"block px-3 py-2 text-gray-600 hover:text-yellow-600",children:x.label},x.label)),e.jsx("a",{href:n,className:"block px-3 py-2 text-yellow-600 font-medium",children:r})]})})]})}function dA({title:t,subtitle:a,bg_img:r,main_btn_text:n,main_btn_link:s,secondary_btn_text:i,secondary_btn_link:c}){return e.jsxs("div",{className:"relative bg-yellow-600 h-screen flex items-center justify-center",children:[e.jsx("div",{className:"absolute inset-0",children:e.jsx("img",{src:r,alt:"Students studying",className:"w-full h-full object-cover opacity-20"})}),e.jsxs("div",{className:"relative max-w-7xl mx-auto py-24 px-4 sm:py-32 sm:px-6 lg:px-8",children:[e.jsx("h1",{className:"text-4xl md:text-6xl font-bold text-white mb-8",children:t}),e.jsx("p",{className:"text-xl text-white mb-12 max-w-3xl",children:a}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[s&&n?e.jsxs("a",{href:s,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,e.jsx(co,{className:"ml-2 h-5 w-5"})]}):"",c&&i?e.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 hA({title:t,description:a,services:r}){return e.jsx("section",{id:"services",className:"py-20 bg-gray-50",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:t}),e.jsx("p",{className:"mt-4 text-xl text-gray-600",children:a})]}),e.jsx("div",{className:"mt-20 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3",children:r.map((n,s)=>{const i=KC(n.icon);return e.jsxs("div",{className:"relative group bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition-all",children:[e.jsxs("div",{className:"text-yellow-600 mb-4",children:[i?e.jsx(i,{className:"h-8 w-8"}):null," "]}),e.jsx("h3",{className:"text-lg font-medium text-gray-900",children:n.title}),e.jsx("p",{className:"mt-2 text-gray-500",children:n.description})]},s)})})]})})}function uA({testimonials:t,title:a,description:r}){return e.jsx("section",{className:"py-20 bg-white",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:a}),e.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),e.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 lg:grid-cols-3",children:t.map((n,s)=>e.jsxs("div",{className:"relative bg-white p-8 rounded-xl shadow-lg",children:[e.jsx("div",{className:"absolute -top-4 -left-4",children:e.jsx(Uo,{className:"h-8 w-8 text-yellow-600"})}),e.jsxs("div",{className:"flex items-center mb-6",children:[e.jsx("img",{src:n.image,alt:n.name,className:"h-14 w-14 rounded-full object-cover"}),e.jsxs("div",{className:"ml-4",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:n.name}),e.jsx("p",{className:"text-gray-600",children:n.from})]})]}),e.jsx("p",{className:"text-gray-600 mb-6",children:n.text}),e.jsx("div",{className:"flex text-yellow-400",children:[...Array(n.rating)].map((i,c)=>e.jsx(Lt,{className:"h-5 w-5 fill-current"},c))})]},s))})]})})}function pA({videos:t,title:a,description:r}){return e.jsx("section",{className:"py-20 bg-gray-50",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:a}),e.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),e.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3",children:t.map((n,s)=>e.jsxs("div",{className:"relative group",children:[e.jsxs("div",{className:"relative overflow-hidden rounded-lg",children:[e.jsx("img",{src:n.thumbnail,alt:n.title,className:"w-full h-64 object-cover group-hover:scale-105 transition-transform duration-300"}),e.jsx("div",{className:"absolute inset-0 bg-black/40 group-hover:bg-black/50 transition-colors",children:e.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:e.jsx("button",{className:"bg-white/90 p-4 rounded-full group-hover:bg-white transition-colors",children:e.jsx(Oc,{className:"h-8 w-8 text-yellow-600"})})})}),e.jsx("div",{className:"absolute bottom-4 right-4 bg-black/70 px-2 py-1 rounded text-white text-sm",children:n.duration})]}),e.jsx("h3",{className:"mt-4 text-xl font-semibold text-gray-900",children:n.title}),e.jsx("p",{className:"mt-2 text-gray-600",children:n.description})]},s))})]})})}function yA({features:t,title:a,description:r}){return e.jsx("section",{className:"py-20 bg-white",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center mb-16",children:[e.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:a}),e.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),e.jsx("div",{className:"space-y-24",children:t.map((n,s)=>e.jsxs("div",{className:`flex flex-col gap-8 items-center ${s%2===0?"lg:flex-row":"lg:flex-row-reverse"}`,children:[e.jsx("div",{className:"w-full lg:w-1/2",children:e.jsx("div",{className:"relative h-[400px] overflow-hidden rounded-xl shadow-lg",children:e.jsx("img",{src:n.image,alt:n.imageAlt,className:"absolute inset-0 w-full h-full object-cover"})})}),e.jsxs("div",{className:"w-full lg:w-1/2 lg:px-8",children:[e.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-4",children:n.title}),e.jsx("p",{className:"text-lg text-gray-600 leading-relaxed",children:n.description}),e.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"})]})]},s))})]})})}function mA({faqs:t,title:a,description:r}){const[n,s]=M.useState(null),i=c=>{s(l=>l===c?null:c)};return e.jsx("section",{className:"py-20 bg-white",children:e.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center mb-16",children:[e.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:a}),e.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),e.jsx("div",{className:"space-y-4",children:t.map((c,l)=>e.jsxs("div",{className:"border border-gray-200 rounded-lg overflow-hidden",children:[e.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:[e.jsx("span",{className:"text-lg font-medium text-gray-900 text-left",children:c.question}),n===l?e.jsx(Oo,{className:"h-5 w-5 text-gray-500"}):e.jsx(mr,{className:"h-5 w-5 text-gray-500"})]}),e.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:e.jsx("p",{className:"text-gray-600 leading-relaxed",children:c.answer})})]},l))})]})})}function Sz({images:t,autoPlayInterval:a=5e3}){const[r,n]=M.useState(0);M.useEffect(()=>{const l=setInterval(()=>{n(d=>(d+1)%t.length)},a);return()=>clearInterval(l)},[t.length,a]);const s=l=>{n(l)},i=()=>{n(l=>(l-1+t.length)%t.length)},c=()=>{n(l=>(l+1)%t.length)};return e.jsxs("div",{className:"relative w-full h-[600px] group",children:[e.jsx("div",{className:"relative h-full overflow-hidden rounded-xl",children:t.map((l,d)=>e.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:[e.jsx("img",{src:l.url,alt:l.alt,className:"absolute w-full h-full object-cover"}),l.caption&&e.jsx("div",{className:"absolute bottom-0 left-0 right-0 bg-black/50 text-white p-4",children:e.jsx("p",{className:"text-lg",children:l.caption})})]},d))}),e.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:e.jsx(fr,{className:"h-6 w-6 text-gray-800"})}),e.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:e.jsx(xr,{className:"h-6 w-6 text-gray-800"})}),e.jsx("div",{className:"absolute bottom-4 left-1/2 -translate-x-1/2 flex space-x-2",children:t.map((l,d)=>e.jsx("button",{onClick:()=>s(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 fA({images:t,title:a,description:r,autoPlayInterval:n=5e3}){return e.jsx("section",{className:"py-20 bg-gray-50",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center mb-12",children:[e.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:a}),e.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),e.jsx(Sz,{images:t,autoPlayInterval:n})]})})}function xA({initialMessages:t}){const[a,r]=M.useState(!1),[n,s]=M.useState(t),[i,c]=M.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?"],m={text:u[Math.floor(Math.random()*u.length)],isBot:!0,timestamp:new Date};s(y=>[...y,h,m]),c("")};return e.jsx("div",{className:"fixed bottom-4 right-4 z-50",children:a?e.jsxs("div",{className:"bg-white rounded-lg shadow-xl w-96 max-h-[600px] flex flex-col",children:[e.jsxs("div",{className:"p-4 bg-yellow-600 rounded-t-lg flex justify-between items-center",children:[e.jsxs("div",{className:"flex items-center text-white",children:[e.jsx(jc,{className:"h-6 w-6 mr-2"}),e.jsx("span",{className:"font-medium",children:"GlobalEnglish Assistant"})]}),e.jsx("button",{onClick:()=>r(!1),className:"text-white hover:text-gray-200 transition-colors",children:e.jsx(Ct,{className:"h-5 w-5"})})]}),e.jsx("div",{className:"flex-1 overflow-y-auto p-4 space-y-4",children:n.map((d,h)=>e.jsx("div",{className:`flex ${d.isBot?"justify-start":"justify-end"}`,children:e.jsxs("div",{className:`max-w-[80%] rounded-lg p-3 ${d.isBot?"bg-gray-100 text-gray-800":"bg-yellow-600 text-white"}`,children:[e.jsx("p",{className:"text-sm",children:d.text}),e.jsx("span",{className:"text-xs opacity-75 mt-1 block",children:d.timestamp.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})})]})},h))}),e.jsx("form",{onSubmit:l,className:"p-4 border-t",children:e.jsxs("div",{className:"flex space-x-2",children:[e.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"}),e.jsx("button",{type:"submit",className:"bg-yellow-600 text-white p-2 rounded-lg hover:bg-yellow-700 transition-colors",children:e.jsx(Hc,{className:"h-5 w-5"})})]})})]}):e.jsx("button",{onClick:()=>r(!0),className:"bg-yellow-600 text-white p-4 rounded-full shadow-lg hover:bg-yellow-700 transition-colors",children:e.jsx(wr,{className:"h-6 w-6"})})})}function gA({title:t="Your Cart",emptyMessage:a="Your cart is empty",totalLabel:r="Total:",checkoutButtonLabel:n="Proceed to Checkout",currencySymbol:s="$",floatingButtonAriaLabel:i="Toggle cart",onCheckout:c,onToggleCart:l}){const{items:d,isOpen:h,toggleCart:u,removeItem:p,updateQuantity:m,total:y}=oA(),x=()=>{l==null||l(!h),u()};return h?e.jsxs("div",{className:"fixed right-0 top-0 h-full w-96 bg-white shadow-xl z-50 flex flex-col",children:[e.jsxs("div",{className:"p-4 bg-yellow-600 text-white flex justify-between items-center",children:[e.jsx("h2",{className:"text-xl font-semibold",children:t}),e.jsx("button",{onClick:x,className:"text-white hover:text-gray-200 transition-colors","aria-label":i,children:e.jsx(Ct,{className:"h-6 w-6"})})]}),e.jsx("div",{className:"flex-1 overflow-y-auto p-4",children:d.length===0?e.jsx("p",{className:"text-gray-500 text-center mt-8",children:a}):e.jsx("div",{className:"space-y-4",children:d.map(f=>e.jsxs("div",{className:"border rounded-lg p-4 flex flex-col space-y-2",children:[e.jsxs("div",{className:"flex justify-between items-start",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"font-medium",children:f.name}),e.jsx("p",{className:"text-sm text-gray-500",children:f.duration})]}),e.jsx("button",{onClick:()=>p(f.id),className:"text-red-500 hover:text-red-600","aria-label":`Remove ${f.name}`,children:e.jsx(Zo,{className:"h-5 w-5"})})]}),e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx("button",{onClick:()=>m(f.id,f.quantity-1),className:"p-1 rounded-md hover:bg-gray-100","aria-label":`Decrease quantity for ${f.name}`,children:e.jsx(Ec,{className:"h-4 w-4"})}),e.jsx("span",{className:"w-8 text-center",children:f.quantity}),e.jsx("button",{onClick:()=>m(f.id,f.quantity+1),className:"p-1 rounded-md hover:bg-gray-100","aria-label":`Increase quantity for ${f.name}`,children:e.jsx($o,{className:"h-4 w-4"})})]}),e.jsxs("p",{className:"font-medium",children:[s,(f.price*f.quantity).toFixed(2)]})]})]},f.id))})}),e.jsxs("div",{className:"border-t p-4 bg-gray-50",children:[e.jsxs("div",{className:"flex justify-between items-center mb-4",children:[e.jsx("span",{className:"font-medium",children:r}),e.jsxs("span",{className:"text-xl font-bold",children:[s,y.toFixed(2)]})]}),e.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})]})]}):e.jsx("button",{onClick:x,"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:e.jsxs("div",{className:"relative",children:[e.jsx(Wo,{className:"h-6 w-6"}),d.length>0&&e.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 kA({services:t,title:a,description:r,showBtn:n="Show",hideBtn:s="Hide",featuresBtn:i="Features"}){const[c,l]=M.useState(null),d=h=>{l(c===h?null:h)};return e.jsx("section",{id:"services",className:"py-20 bg-gray-50",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:a}),e.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),e.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 lg:grid-cols-2",children:t.map((h,u)=>e.jsx("div",{className:"bg-white rounded-lg shadow-md overflow-hidden transition-all duration-300",children:e.jsxs("div",{className:"p-6",children:[e.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-3",children:h.title}),e.jsx("p",{className:"text-gray-600 mb-4",children:h.shortDescription}),e.jsx("div",{className:`transition-all duration-300 overflow-hidden ${c===u?"max-h-[500px]":"max-h-0"}`,children:e.jsxs("div",{className:"mt-4 space-y-4",children:[e.jsx("p",{className:"text-gray-700",children:h.fullDescription}),e.jsxs("div",{className:"border-t pt-4",children:[e.jsx("h4",{className:"font-medium text-gray-900 mb-2",children:i}),e.jsx("ul",{className:"grid grid-cols-1 sm:grid-cols-2 gap-2",children:h.features.map((p,m)=>e.jsxs("li",{className:"text-gray-600",children:["• ",p]},m))})]})]})}),e.jsx("button",{onClick:()=>d(u),className:"mt-4 text-yellow-600 hover:text-yellow-700 font-medium focus:outline-none",children:c===u?s:n})]})},u))})]})})}function vA({courses:t=[],title:a="Available Courses",description:r="Choose the best course for you.",priceLabel:n="From",currencySymbol:s="€",perDurationLabel:i="/week",reviewsText:c="reviews"}){const l=d=>{const h=d/10*5,u=Math.floor(h),p=h%1,m=5-Math.ceil(h);return e.jsxs("div",{className:"flex items-center",children:[[...Array(u)].map((y,x)=>e.jsx(Lt,{className:"w-5 h-5 text-yellow-400 fill-current"},`full-${x}`)),p>0&&e.jsxs("div",{className:"relative w-5 h-5",children:[e.jsx(Lt,{className:"absolute w-5 h-5 text-gray-300 fill-current"}),e.jsx("div",{className:"absolute overflow-hidden",style:{width:`${p*100}%`},children:e.jsx(Lt,{className:"w-5 h-5 text-yellow-400 fill-current"})})]}),[...Array(m)].map((y,x)=>e.jsx(Lt,{className:"w-5 h-5 text-gray-300"},`empty-${x}`))]})};return e.jsx("section",{className:"py-20 bg-gray-50",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center mb-16",children:[e.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:a}),e.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:t.map((d,h)=>e.jsxs("div",{className:"bg-white rounded-xl p-8 shadow-sm hover:shadow-md transition-shadow flex flex-col h-full",children:[e.jsxs("div",{className:"flex-grow",children:[e.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-2",children:d.title}),e.jsxs("div",{className:"flex items-center mb-4",children:[l(d.rating),e.jsxs("span",{className:"ml-2 text-gray-600",children:[d.rating,"/10 (",d.reviews," ",c,")"]})]}),e.jsxs("div",{className:"mb-4",children:[e.jsxs("span",{className:"text-2xl font-bold text-gray-900",children:[n," ",d.pricePerWeek,s]}),e.jsxs("span",{className:"text-gray-600",children:["/",i]})]}),e.jsx("p",{className:"text-gray-600 mb-6",children:d.description}),e.jsx("div",{className:"space-y-4",children:d.features.map((u,p)=>{const m=KC(u.icon);return e.jsxs("div",{className:"flex items-center text-gray-700",children:[m?e.jsx(m,{className:"w-5 h-5"}):null,e.jsx("span",{className:"ml-3",children:u.text})]},p)})})]}),d.ctaLink&&d.ctaText?e.jsx("div",{className:"mt-8",children:e.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 Lz=[{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"]}],Nz=[{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."}],Iz=[{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"}],Az=[{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"}],Pz=[{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"}],_z=[{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."}],Rz=[{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}],Tz=[{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"}],qz=[{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}],Dz=[{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}],zz=[{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."}],Ez=[{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"}]}],Fz=()=>(M.useEffect(()=>{nA.fromTo(".animated-text",{opacity:0,y:30},{opacity:1,y:0,duration:1,stagger:.2})},[]),e.jsxs("div",{className:"relative min-h-screen flex flex-col bg-gray-50",children:[e.jsx(Mz,{children:e.jsxs("div",{className:"min-h-screen bg-white",children:[e.jsx(Cz,{}),e.jsx(dA,{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"}),e.jsx(hA,{services:Nz,title:"Nuestro Servicios",description:"Todo lo que necesitas para aprender inglés en el menor tiempo y al mejor costo"}),e.jsx(kA,{services:Lz,title:"Why Choose GlobalEnglish?",description:"Discover what sets us apart from other language schools"}),e.jsx(sA,{advantages:Az,title:"Why Choose GlobalEnglish?",description:"Discover what sets us apart from other language schools"}),e.jsx(yA,{features:Iz,title:"Titulo",description:"description"}),e.jsx(vA,{courses:Ez,title:"Test",description:"test"}),e.jsx(fA,{images:Pz,autoPlayInterval:5e3,title:"Campus Life Gallery",description:"Take a visual tour of our facilities and student activities"}),e.jsx(lA,{destinations:_z,title:"Popular Destinations",description:"Choose from our carefully selected locations worldwide"}),e.jsx(cA,{courses:Rz,title:"Our Courses",description:"Find the perfect course to match your goals"}),e.jsx(pA,{videos:Tz,title:"Our Courses",description:"Find the perfect course to match your goals"}),e.jsx(uA,{testimonials:qz,title:"Our Courses",description:"Find the perfect course to match your goals"}),e.jsx(mA,{faqs:zz,title:"Our Courses",description:"Find the perfect course to match your goals"}),e.jsx(bz,{}),e.jsx(xA,{initialMessages:Dz}),e.jsx(gA,{})]})}),e.jsx("footer",{className:"bg-gray-800 text-white py-8",children:e.jsxs("div",{className:"max-w-7xl mx-auto text-center space-y-4",children:[e.jsx("p",{className:"text-sm",children:"© 2024 Learn English. All Rights Reserved."}),e.jsxs("nav",{className:"flex justify-center space-x-6",children:[e.jsx("a",{href:"#home",className:"hover:text-yellow-400",children:"Home"}),e.jsx("a",{href:"#courses",className:"hover:text-yellow-400",children:"Courses"}),e.jsx("a",{href:"#contact",className:"hover:text-yellow-400",children:"Contact Us"})]})]})})]}));function Oz({title:t,icon:a,jobs:r,viewAllText:n,viewAllHref:s,apiUrl:i}){const[c,l]=M.useState(r||[]),[d,h]=M.useState(!r),[u,p]=M.useState(null);M.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 v=await f.json();if(!Array.isArray(v))throw new Error("Expected an array of jobs");l(v)}catch(x){console.error("Error fetching jobs:",x),p(x instanceof Error?x.message:"Failed to load jobs"),l(m())}finally{h(!1)}})()},[r,i]);const m=()=>{const y=["Bet365","Entain","Flutter","DraftKings","Pinnacle"],x=["Game Developer","CRM Manager","VIP Account Manager","Compliance Specialist","UX Designer"],f=["Malta","London","Gibraltar","Remote","New York"];return Array.from({length:6},(v,k)=>({id:`mock-job-${k}`,title:x[k%x.length],company:y[k%y.length],companyLogo:`/logos/${y[k%y.length].toLowerCase()}.png`,location:f[k%f.length],salary:`€${Math.floor(Math.random()*30)+40},000`}))};return d?e.jsx("section",{className:"py-16 bg-white",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:[...Array(3)].map((y,x)=>e.jsxs("div",{className:"border border-gray-200 rounded-lg p-6 animate-pulse",children:[e.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[e.jsx("div",{className:"w-12 h-12 bg-gray-200 rounded"}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("div",{className:"h-4 bg-gray-200 rounded w-3/4"}),e.jsx("div",{className:"h-3 bg-gray-200 rounded w-1/2"})]})]}),e.jsx("div",{className:"h-3 bg-gray-200 rounded w-1/2 mb-4"}),e.jsx("div",{className:"h-3 bg-gray-200 rounded w-1/4 mb-4"}),e.jsx("div",{className:"h-10 bg-gray-200 rounded"})]},x))})})}):u&&c.length===0?e.jsx("section",{className:"py-16 bg-white",children:e.jsx("div",{className:"container mx-auto px-4 text-center",children:e.jsxs("div",{className:"bg-red-50 border border-red-200 text-red-800 rounded-lg p-6 inline-block",children:[e.jsx("p",{children:u}),e.jsx(D,{variant:"outline",className:"mt-4 border-red-300 text-red-800",onClick:()=>window.location.reload(),children:"Try Again"})]})})}):e.jsx("section",{className:"py-16 bg-white",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[a&&e.jsx("div",{children:a}),e.jsx("h2",{className:"text-2xl font-bold",children:t})]}),c.length>0?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:c.map(y=>e.jsxs("div",{className:"border border-gray-200 rounded-lg p-6 hover:shadow-md transition-shadow",children:[e.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[e.jsx("div",{className:"w-12 h-12 bg-gray-100 rounded flex items-center justify-center",children:e.jsx("img",{src:y.companyLogo||"/placeholder.svg",alt:`${y.company} logo`,width:48,height:48,className:"rounded",onError:x=>{x.target.src="/placeholder.svg"}})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-bold",children:y.title}),e.jsx("p",{className:"text-gray-600 text-sm",children:y.company})]})]}),e.jsxs("div",{className:"flex items-center gap-2 text-sm text-gray-600 mb-2",children:[e.jsx(ct,{size:16}),e.jsx("span",{children:y.location})]}),e.jsx("div",{className:"text-green-600 font-medium mb-4",children:y.salary}),e.jsx(D,{className:"w-full bg-[#0f1219] hover:bg-[#1a2236]",children:"Apply Now"})]},y.id))}),e.jsx("div",{className:"mt-8 text-center",children:e.jsx(D,{variant:"outline",className:"border-[#0f1219] text-[#0f1219] hover:bg-[#0f1219] hover:text-white",onClick:()=>window.location.href=s,children:n})})]}):e.jsx("div",{className:"text-center py-8",children:e.jsx("p",{className:"text-gray-500",children:"No featured jobs available at the moment."})})]})})}function wA({title:t,description:a,primaryButtonText:r,primaryButtonHref:n,secondaryButtonText:s,secondaryButtonHref:i}){return e.jsx("section",{className:"py-16 bg-gradient-to-r from-[#1a2236] to-[#0f1219] text-white",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[e.jsx("h2",{className:"text-3xl font-bold mb-4",children:t}),e.jsx("p",{className:"text-xl text-gray-300 mb-8",children:a}),e.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[e.jsx(D,{className:"bg-yellow-500 hover:bg-yellow-400 text-black font-medium px-6 py-2 rounded",onClick:()=>window.location.href=n,children:r}),e.jsx(D,{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:s})]})]})})})}function bA({title:t,subtitle:a,backgroundImage:r="/placeholder.svg?height=800&width=1600",primaryButtonText:n,primaryButtonLink:s="#",secondaryButtonText:i,secondaryButtonLink:c="#"}){return e.jsx("section",{className:"py-16 bg-gradient-to-r from-[#0f1219] to-[#1a2236] text-white relative overflow-hidden",children:e.jsx("div",{className:"container mx-auto px-4 relative z-10",children:e.jsx("div",{className:"relative z-10 container mx-auto px-4 text-center",children:e.jsxs("div",{className:"max-w-4xl mx-auto animate-fade-in",children:[e.jsxs("h1",{className:"text-4xl md:text-6xl font-bold text-primary-foreground mb-6 leading-tight",children:[t," ",e.jsx("span",{className:"bg-gradient-accent bg-clip-text text-transparent",children:"iGaming"})]}),e.jsx("p",{className:"text-xl md:text-2xl text-primary-foreground/80 mb-8 leading-relaxed",children:a}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center items-center animate-slide-in",children:[e.jsxs("a",{href:s,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
- py-2 rounded flex items-center gap-2`,children:[e.jsx(Vt,{size:18}),n]}),e.jsxs("a",{href:c,className:`justify-center whitespace-nowrap text-sm transition-colors focus-visible:outline-none
7744
+ py-2 rounded flex items-center gap-2`,children:[e.jsx($t,{size:18}),n]}),e.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:[e.jsx(Uc,{size:18}),i]})]}),e.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6 mt-12 animate-fade-in",style:{animationDelay:"0.2s"},children:[e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-2xl md:text-3xl font-bold text-primary-foreground",children:"10,000+"}),e.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Active Candidates"})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-2xl md:text-3xl font-bold text-primary-foreground",children:"500+"}),e.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Partner Companies"})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-2xl md:text-3xl font-bold text-primary-foreground",children:"25+"}),e.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Countries"})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-2xl md:text-3xl font-bold text-accent",children:"95%"}),e.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Success Rate"})]})]})]})})})})}function MA({title:t,values:a}){return e.jsx("section",{className:"py-16 bg-white",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsx("h2",{className:"text-3xl font-bold text-center mb-12",children:t}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:a.map((r,n)=>{const s=r.icon;return e.jsxs("div",{className:"flex flex-col items-center text-center",children:[e.jsx("div",{className:"w-16 h-16 rounded-full bg-yellow-100 flex items-center justify-center mb-4",children:e.jsx(s,{className:"w-8 h-8 text-yellow-500"})}),e.jsx("h3",{className:"text-xl font-bold mb-2",children:r.title}),e.jsx("p",{className:"text-gray-600",children:r.description})]},n)})})]})})}function jA({title:t,testimonial:a,stats:r,partnerLogos:n}){const[s,i]=M.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"}];M.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 e.jsx("section",{className:"py-16 bg-gradient-to-r from-[#0f1219] to-[#1a2236]",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsxs("div",{className:"text-center mb-16 animate-fade-in",children:[e.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-primary-foreground mb-4",children:t}),e.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"})]}),e.jsxs("div",{className:"max-w-4xl mx-auto relative animate-scale-in",children:[e.jsxs("div",{className:"bg-card/10 backdrop-blur-sm border border-primary-foreground/20 p-8 md:p-12 rounded-2xl shadow-accent",children:[e.jsx(Uo,{className:"h-12 w-12 text-yellow-500 mb-6"}),e.jsxs("blockquote",{className:"text-xl md:text-2xl text-primary-foreground mb-8 leading-relaxed font-medium",children:['"',c[s].content,'"']}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("div",{className:"w-16 h-16 bg-accent/20 rounded-full flex items-center justify-center",children:e.jsx("span",{className:"text-yellow-500 font-bold text-xl",children:c[s].name.charAt(0)})}),e.jsxs("div",{children:[e.jsx("div",{className:"text-primary-foreground font-bold text-lg",children:c[s].name}),e.jsxs("div",{className:"text-primary-foreground/70",children:[c[s].role," at ",c[s].company]}),e.jsx("div",{className:"text-primary-foreground/60 text-sm",children:c[s].location})]})]}),e.jsx("div",{className:"flex items-center gap-1",children:[...Array(c[s].rating)].map((h,u)=>e.jsx(St,{className:"h-5 w-5 text-yellow-500 fill-current"},u))})]})]}),e.jsxs("div",{className:"flex items-center justify-between mt-8",children:[e.jsx(z,{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:e.jsx(mr,{className:"h-6 w-6"})}),e.jsx("div",{className:"flex gap-2",children:c.map((h,u)=>e.jsx("button",{onClick:()=>i(u),className:`w-3 h-3 rounded-full transition-all duration-300 ${u===s?"bg-accent scale-125":"bg-primary-foreground/30 hover:bg-primary-foreground/50"}`},u))}),e.jsx(z,{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:e.jsx(fr,{className:"h-6 w-6"})})]})]}),e.jsxs("div",{className:"mt-16 grid grid-cols-1 md:grid-cols-3 gap-8 animate-fade-in",style:{animationDelay:"0.2s"},children:[e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-4xl font-bold text-yellow-500 mb-2",children:"95%"}),e.jsx("div",{className:"text-primary-foreground/80",children:"Success Rate"}),e.jsx("div",{className:"text-primary-foreground/60 text-sm",children:"Candidates placed successfully"})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-4xl font-bold text-yellow-500 mb-2",children:"48h"}),e.jsx("div",{className:"text-primary-foreground/80",children:"Average Response"}),e.jsx("div",{className:"text-primary-foreground/60 text-sm",children:"From application to interview"})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-4xl font-bold text-yellow-500 mb-2",children:"€15k"}),e.jsx("div",{className:"text-primary-foreground/80",children:"Avg. Salary Increase"}),e.jsx("div",{className:"text-primary-foreground/60 text-sm",children:"When switching through our platform"})]})]})]})})}function CA({title:t,description:a,inputPlaceholder:r,api_url:n="http://localhost:5147",buttonText:s,isSubscribed:i=!1,email:c=null}){const[l,d]=M.useState(c??""),[h,u]=M.useState(!1),[p,m]=M.useState(!1);M.useEffect(()=>{if(i){m(!0),c&&d(c);return}try{const v=localStorage.getItem("email"),k=localStorage.getItem("leadId");v&&k&&(m(!0),d(v))}catch{}},[i,c]);const y=async()=>{if(!l||!l.includes("@")){alert("Please enter a valid email");return}u(!0);try{const v=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(v.ok){const k=await v.json();localStorage.setItem("leadId",k.id),localStorage.setItem("email",l),m(!0)}else{const k=await v.text();alert("Submission failed: "+k)}}catch{alert("Network error while submitting")}finally{u(!1)}},x=p||i,f=c??l;return e.jsx("section",{className:"py-12 bg-[#0f1219] text-white",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[e.jsx("h2",{className:"text-2xl font-bold mb-4",children:t}),e.jsx("p",{className:"text-gray-300 mb-6",children:a}),x?e.jsxs("p",{className:"text-green-400 font-semibold",children:["✅ Thanks! You’re subscribed",f?` as ${f}`:"","."]}):e.jsxs("div",{className:"flex flex-col sm:flex-row gap-2 max-w-lg mx-auto",children:[e.jsx(Re,{type:"email",placeholder:r,value:l,onChange:v=>d(v.target.value),className:"px-4 py-2 rounded bg-gray-800 border border-gray-700 text-white flex-grow"}),e.jsx(z,{onClick:y,disabled:h,className:"px-6 py-2 bg-yellow-500 text-black font-medium rounded hover:bg-yellow-400 transition-colors",children:h?"Subscribing...":s})]})]})})})}function SA({title:t,locations:a,trendingKeywords:r,searchButtonText:n,apiUrl:s,className:i="",showTrending:c=!0,showLocationFilter:l=!0,mockMode:d=!1,searchPageUrl:h="#"}){const[u,p]=M.useState(""),[m,y]=M.useState(""),[x,f]=M.useState([]),[v,k]=M.useState(!1),w="Browse 3,500+ iGaming Jobs",j=[{id:"malta",name:"Malta"},{id:"remote",name:"Remote"},{id:"uk",name:"United Kingdom"},{id:"gibraltar",name:"Gibraltar"}],S=[{label:"CRM Manager",href:"/jobs?q=crm-manager"},{label:"Game Developer",href:"/jobs?q=game-developer"},{label:"Compliance Specialist",href:"/jobs?q=compliance-specialist"}];M.useEffect(()=>{const N=new URLSearchParams(window.location.search),q=N.get("q")||"",P=N.get("location")||"";p(q),y(P)},[]),M.useEffect(()=>{if(u.length<3){f([]);return}const N=setTimeout(()=>{C(u)},300);return()=>clearTimeout(N)},[u]);const C=async N=>{if(!s||d){f([`${N} Developer`,`${N} Manager`,`${N} Specialist`,`${N} Coordinator`,`${N} Agent`]);return}try{k(!0);const q=await fetch(`${s}/suggestions?q=${encodeURIComponent(N)}`);if(!q.ok)throw new Error("Failed to fetch suggestions");const P=await q.json();f(P.suggestions||[])}catch(q){console.error("Error fetching suggestions:",q),f([])}finally{k(!1)}},A=N=>p(N),L=N=>{N.key==="Enter"&&b()},b=()=>{if(d){console.log(`Mock Search - Term: ${u}, Location: ${m}`);return}const N=new URLSearchParams;u&&N.set("q",u),m&&N.set("location",m),window.location.href=`/jobs?${N.toString()}`};return e.jsxs("section",{className:`py-12 bg-gray-100 ${i}`,children:[e.jsxs("div",{className:"text-center mb-12 animate-fade-in",children:[e.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:t||w}),e.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"})]}),e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs("div",{className:"bg-card p-6 rounded-2xl shadow-card mb-12 animate-scale-in",children:[e.jsxs("div",{className:"flex flex-col md:flex-row gap-4",children:[e.jsxs("div",{className:"flex-grow relative",children:[e.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:e.jsx(Vt,{className:"h-5 w-5 text-gray-400"})}),e.jsx(Re,{type:"text",placeholder:"Search by role, company, or keyword",className:"w-full pl-10 border-gray-300",value:u,onChange:N=>A(N.target.value),onKeyDown:L,list:"job-suggestions"}),e.jsx("datalist",{id:"job-suggestions",children:x.map((N,q)=>e.jsx("option",{value:N},q))}),u&&e.jsx("button",{onClick:()=>p(""),className:"absolute inset-y-0 right-0 pr-3 flex items-center",children:e.jsx(ba,{className:"h-5 w-5 text-gray-400 hover:text-gray-600"})}),v&&e.jsx("div",{className:"absolute inset-y-0 right-0 pr-10 flex items-center",children:e.jsx("div",{className:"animate-spin rounded-full h-4 w-4 border-b-2 border-gray-400"})})]}),l&&e.jsx("div",{className:"w-full md:w-1/3",children:e.jsxs("select",{className:"w-full h-10 px-3 border border-gray-300 rounded-md",value:m,onChange:N=>y(N.target.value),children:[e.jsx("option",{value:"",children:"All Locations"}),(a||j).map(N=>e.jsx("option",{value:N.id,children:N.name},N.id))]})}),e.jsxs(z,{className:"bg-yellow-500 hover:bg-yellow-400 text-black font-medium",onClick:b,disabled:v,children:[e.jsx(Vt,{size:18}),v?"Searching...":n||"Search"]})]}),c&&(r||S).length>0&&e.jsxs("div",{className:"mt-4 flex flex-wrap gap-2 items-center",children:[e.jsx("span",{className:"text-muted-foreground font-medium",children:"Trending:"}),(r||S).map((N,q)=>e.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},q))]})]})})]})}function LA({logo:t,navItems:a}){const[r,n]=M.useState(!1);return e.jsxs("header",{className:"bg-[#0f1219] text-white py-4",children:[e.jsxs("div",{className:"container mx-auto px-4 flex justify-between items-center",children:[e.jsxs("a",{href:"/",className:"flex items-center gap-2",children:[e.jsx("div",{className:"w-10 h-10 rounded-full bg-yellow-500 flex items-center justify-center",children:e.jsx("span",{className:"text-black font-bold text-sm",children:t.initials})}),e.jsx("span",{className:"font-bold text-xl",children:t.text})]}),e.jsx("nav",{className:"hidden md:flex items-center gap-6",children:a.map((s,i)=>e.jsx("a",{href:s.href,className:"hover:text-yellow-400 transition-colors",children:s.label},i))}),e.jsx("button",{className:"md:hidden text-white",onClick:()=>n(!r),children:r?e.jsx(jt,{size:24}):e.jsx(Bo,{size:24})})]}),r&&e.jsx("div",{className:"md:hidden bg-[#0f1219] py-4",children:e.jsx("nav",{className:"container mx-auto px-4 flex flex-col gap-4",children:a.map((s,i)=>e.jsx("a",{href:s.href,className:"hover:text-yellow-400 transition-colors py-2",onClick:()=>n(!1),children:s.label},i))})})]})}function NA({logo:t,tagline:a,socialLinks:r,columns:n,contactInfo:s,copyright:i,poweredBy:c}){return e.jsx("footer",{className:"bg-[#0f1219] text-white py-12 border-t border-gray-800",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-8 mb-12",children:[e.jsxs("div",{className:"col-span-1",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx("div",{className:"w-10 h-10 rounded-full bg-yellow-500 flex items-center justify-center",children:e.jsx("span",{className:"text-black font-bold text-sm",children:t.initials})}),e.jsx("span",{className:"font-bold text-xl",children:t.text})]}),e.jsx("p",{className:"text-gray-400 mb-4",children:a}),e.jsx("div",{className:"flex gap-4",children:r.map((l,d)=>e.jsx("a",{href:l.href,className:"text-gray-400 hover:text-white",children:l.icon},d))})]}),n.map((l,d)=>e.jsxs("div",{className:"col-span-1",children:[e.jsx("h3",{className:"font-bold text-lg mb-4",children:l.title}),e.jsx("ul",{className:"space-y-2",children:l.links.map((h,u)=>e.jsx("li",{children:e.jsx("a",{href:h.href,className:"text-gray-400 hover:text-white",children:h.label})},u))})]},d))]}),e.jsx("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 py-6 border-t border-gray-800",children:e.jsxs("div",{className:"flex flex-col md:flex-row gap-6",children:[e.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[e.jsx(aa,{size:16}),e.jsx("span",{children:s.email})]}),e.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[e.jsx(wr,{size:16}),e.jsx("span",{children:s.phone})]}),e.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[e.jsx(st,{size:16}),e.jsx("span",{children:s.location})]})]})}),e.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:[e.jsx("p",{children:i}),e.jsx("p",{children:c})]})]})})}const IA=()=>{const[t,a]=M.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 e.jsx("section",{className:"py-20 bg-gray-100",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsxs("div",{className:"text-center mb-16 animate-fade-in",children:[e.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"Our Partners"}),e.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto",children:"Trusted by 500+ leading iGaming companies worldwide"})]}),e.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-6 mb-12",children:r.map((n,s)=>e.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:`${s*.05}s`},onMouseEnter:()=>a(n.id),onMouseLeave:()=>a(null),children:[e.jsx("div",{className:"aspect-square flex items-center justify-center mb-4",children:e.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:e.jsx("span",{className:"text-accent-foreground font-bold text-lg",children:n.logo})})}),e.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&&e.jsx("div",{className:"absolute inset-0 bg-primary/95 rounded-xl flex items-center justify-center p-4 animate-fade-in",children:e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-primary-foreground font-bold mb-2",children:n.name}),e.jsx("div",{className:"text-primary-foreground/80 text-sm",children:n.description}),e.jsx("div",{className:"mt-3 text-yellow-500 text-sm font-medium",children:"View Jobs →"})]})}),e.jsx("div",{className:"absolute inset-0 border-2 border-transparent group-hover:border-accent/50 rounded-xl transition-colors duration-300"})]},n.id))}),e.jsx("div",{className:"bg-gradient-hero p-8 rounded-2xl shadow-accent animate-fade-in",style:{animationDelay:"0.5s"},children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-6 text-center text-primary-foreground",children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-3xl font-bold mb-2",children:"500+"}),e.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Gaming Companies Trust Us"})]}),e.jsxs("div",{children:[e.jsx("div",{className:"text-3xl font-bold mb-2",children:"50+"}),e.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Countries Worldwide"})]}),e.jsxs("div",{children:[e.jsx("div",{className:"text-3xl font-bold mb-2",children:"€2B+"}),e.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Combined Revenue"})]}),e.jsxs("div",{children:[e.jsx("div",{className:"text-3xl font-bold mb-2",children:"10M+"}),e.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Players Served"})]})]})}),e.jsxs("div",{className:"text-center mt-12 animate-slide-in",style:{animationDelay:"0.6s"},children:[e.jsx("h3",{className:"text-2xl font-bold text-foreground mb-4",children:"Want to Partner with Us?"}),e.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"}),e.jsx("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:e.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 Oz(){const[t,a]=M.useState(null);return M.useEffect(()=>{try{const r=localStorage.getItem("email");r&&a(r)}catch{}},[]),{isSubscribed:!!t,email:t}}const AA=M.createContext({consent:{analytics:!1,marketing:!1,preferences:!1},ready:!1,update:async()=>{console.log("ConsentContext not initialized")}});function PA({notification_url:t="http://localhost:5147",children:a}){const[r,n]=M.useState({analytics:!1,marketing:!1,preferences:!1}),[s,i]=M.useState(!1),l=(p=>p.replace(/\/+$/,""))(t??"http://localhost:5147"),[d,h]=M.useState(null);M.useEffect(()=>{try{const p=localStorage.getItem("leadId");p&&h(p)}catch{}},[]),M.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(m=>m.ok?m.json():null).then(m=>{m&&n({analytics:!!m.analytics,marketing:!!m.marketing,preferences:!!m.preferences,timestamp:m.createdAt})}).catch(()=>{}).finally(()=>i(!0))},[d]);const u=async p=>{const m={...r,...p,timestamp:new Date().toISOString()};n(m),localStorage.setItem("consent",JSON.stringify(m));const y={analytics:m.analytics,marketing:m.marketing,preferences:m.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(y)}):await fetch(`${l}/api/consents`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(y)})}catch(x){console.warn("Consent API unavailable, kept only locally",x)}};return e.jsx(AA.Provider,{value:{consent:r,ready:s,update:u},children:a})}const QC=()=>M.useContext(AA);function Hz({allow:t,children:a}){const{consent:r,ready:n}=QC();return!n||!r[t]?null:e.jsx(e.Fragment,{children:a})}function _A({title:t="Cookie consent",description:a="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:s=!1,isOpen:i,onAccept:c,onReject:l}){const{consent:d,update:h,ready:u}=QC(),[p,m]=M.useState(s);M.useEffect(()=>{i===void 0&&u&&!d.timestamp&&m(!0)},[d.timestamp,i,u]);const y=M.useMemo(()=>i??p,[i,p]),x=()=>{i===void 0&&m(!1)};if(!y)return null;const f=()=>{h({analytics:!0,marketing:!0,preferences:!0}),x(),c==null||c()},v=()=>{h({analytics:!1,marketing:!1,preferences:!1}),x(),l==null||l()};return e.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:[e.jsx("p",{className:"text-sm",children:a}),e.jsxs("div",{className:"mt-3 flex gap-2",children:[e.jsx("button",{className:"px-3 py-2 rounded-xl border",onClick:v,children:n}),e.jsx("button",{className:"px-3 py-2 rounded-xl bg-black text-white",onClick:f,children:r})]})]})}const Vz={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"}]},Bz={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"},$z={title:"Why Choose Us?",values:[{icon:at,title:"Niche Expertise",description:"Dedicated solely to iGaming jobs worldwide."},{icon:Lt,title:"Recruiter Network",description:"Direct access to hiring managers at top brands."},{icon:cr,title:"Salary Insights",description:"Transparent data to negotiate your best offer."},{icon:gr,title:"Career Growth",description:"Courses and certifications to level up your skills."}]},Uz={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"},Gz={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")},Wz={title:"Get Exclusive iGaming Job Alerts",description:"Weekly openings + salary reports. Unsubscribe anytime.",inputPlaceholder:"Your email address",buttonText:"Subscribe"},Zz={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"},Jz={logo:{text:"iGamingCareer.com",initials:"iG"},tagline:"We bet on the people behind the game.",socialLinks:[{icon:e.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:[e.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"}),e.jsx("rect",{width:"4",height:"12",x:"2",y:"9"}),e.jsx("circle",{cx:"4",cy:"4",r:"2"})]}),href:"#"},{icon:e.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:[e.jsx("rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5"}),e.jsx("path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"}),e.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"},ir=(t,a)=>({...t,...a??{}});function Xz({headerData:t,heroData:a,valuePropositionData:r,jobSearchData:n,trustSignalsData:s,newsletterData:i,forEmployersData:c,footerData:l,showValueProposition:d=!0,showJobSearchWidget:h=!0,showTrustSignals:u=!0,showPartners:p=!0,showNewsletter:m=!0,showForEmployers:y=!0,showConsentBanner:x=!0,consentNotificationUrl:f="http://localhost:5147",consentBannerProps:v}){const{isSubscribed:k,email:w}=Oz(),j=ir(Vz,t),S=ir(Bz,a),C=ir($z,r),A=ir(Uz,n),L=ir(Gz,s),b=ir(Wz,i),N=ir(Zz,c),q=ir(Jz,l),P={...b,isSubscribed:(i==null?void 0:i.isSubscribed)??k,email:(i==null?void 0:i.email)??w};return e.jsx(PA,{notification_url:f,children:e.jsxs("div",{className:"flex flex-col min-h-screen",children:[e.jsx(LA,{...j}),e.jsxs("main",{className:"flex-grow",children:[e.jsx(bA,{...S}),d&&e.jsx(MA,{...C}),h&&e.jsx(SA,{...A}),u&&e.jsx(jA,{...L}),p&&e.jsx(IA,{}),m&&e.jsx(CA,{...P}),y&&e.jsx(wA,{...N})]}),e.jsx(NA,{...q}),x&&e.jsx(_A,{...v})]})})}function eS({title:t="Premium Job Alerts",description:a="Get notified about new jobs that match your skills and preferences.",inputPlaceholder:r="Your email address",buttonText:n="Subscribe",api_url:s="http://localhost:5147"}){const[i,c]=M.useState(""),[l,d]=M.useState(!1),[h,u]=M.useState(!1);M.useEffect(()=>{const m=localStorage.getItem("email");m&&(u(!0),c(m))},[]);const p=async()=>{if(!i||!i.includes("@")){alert("Please enter a valid email");return}d(!0);try{const m=await fetch(`${s}/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(m.ok){const y=await m.json();localStorage.setItem("leadId",y.id),localStorage.setItem("email",i),u(!0)}else{const y=await m.text();alert("Submission failed: "+y)}}catch{alert("Network error while submitting")}finally{d(!1)}};return e.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[e.jsx("h3",{className:"font-semibold text-lg mb-3",children:t}),e.jsx("p",{className:"text-sm text-gray-600 mb-4",children:a}),h?e.jsxs("p",{className:"text-green-600 font-medium",children:["✅ You’re subscribed",i?` as ${i}`:"","!"]}):e.jsxs("form",{className:"flex flex-col",children:[e.jsx(Re,{type:"email",value:i,onChange:m=>c(m.target.value),placeholder:r,className:"mb-3"}),e.jsx(z,{type:"button",onClick:p,disabled:l,className:"bg-yellow-600 text-white hover:bg-yellow-700 transition-colors",children:l?"Subscribing...":n})]})]})}function RA({open:t,type:a,message:r,onClose:n}){if(M.useEffect(()=>{if(t){const i=setTimeout(n,5e3);return()=>clearTimeout(i)}},[t,n]),!t)return null;const s={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 e.jsx("div",{className:`fixed top-6 right-6 z-50 max-w-sm w-full p-4 rounded-lg border shadow-md ${s[a]}`,children:e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsx("p",{className:"text-sm font-medium",children:r}),e.jsx("button",{onClick:n,className:"ml-4",children:e.jsx(ba,{className:"w-5 h-5"})})]})})}const ol=({position:t,url:a,alt:r,link:n})=>{let s="",i="";switch(t){case"top":s="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":s="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":s="w-[300px] h-[250px] flex justify-center items-center bg-yellow-100",i="w-[300px] h-[250px]";break}const c=a.match(/\.(mp4|webm|ogg)$/i);return e.jsx("div",{className:s,children:e.jsx("a",{href:n,target:"_blank",children:c?e.jsxs("video",{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:`${i} object-cover`,children:[e.jsx("source",{src:a,type:"video/mp4"}),"Your browser does not support the video tag."]}):e.jsx("img",{src:a,alt:r,className:`${i} object-cover`})})})},H9=({options:t,value:a,onChange:r,placeholder:n,className:s=""})=>{const[i,c]=M.useState(!1),[l,d]=M.useState(""),h=M.useRef(null),u=t.filter(p=>p.toLowerCase().includes(l.toLowerCase()));return M.useEffect(()=>{const p=m=>{h.current&&!h.current.contains(m.target)&&c(!1)};return document.addEventListener("mousedown",p),()=>document.removeEventListener("mousedown",p)},[]),e.jsxs("div",{className:`searchable-select-container relative ${s}`,ref:h,children:[e.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:[e.jsx("span",{className:a?"text-gray-900":"text-gray-500",children:a||n}),e.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:e.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&&e.jsxs("div",{className:"searchable-select-dropdown absolute z-10 mt-1 w-full bg-white border border-gray-300 rounded-lg shadow-lg",children:[e.jsx("div",{className:"p-2",children:e.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})}),e.jsxs("div",{className:"max-h-60 overflow-y-auto",children:[e.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,m)=>e.jsx("div",{className:`py-1 px-2 cursor-pointer ${a===p?"bg-yellow-50 text-indigo-700":"hover:bg-gray-100 text-gray-900"}`,onClick:()=>{r(p),c(!1),d("")},children:p},m)):e.jsx("div",{className:"py-1 px-2 text-gray-500 italic",children:"No results found"})]})]})]})},Yz=({filterKeys:t,filtersData:a,activeFilters:r,handleFilterChange:n,searchFilters:s,removeSearchFilter:i,clearAllFilters:c,searchableFilters:l})=>e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"filters-grid",children:t.map(d=>{var u,p;return(l==null?void 0:l.includes(d))?e.jsx(H9,{options:((u=a[d])==null?void 0:u.filter(m=>typeof m=="string"))||[],value:r[d]||"",onChange:m=>n(d,m),placeholder:`Select ${d.replace(/_/g," ")}`},d):e.jsxs("select",{className:"filter-select",onChange:m=>n(d,m.target.value),value:r[d]||"",children:[e.jsxs("option",{value:"",children:["Select ",d.replace(/_/g," ")]}),(p=a[d])==null?void 0:p.map((m,y)=>typeof m!="string"?null:e.jsx("option",{value:m,children:m},`${d}-${y}`))]},d)})}),e.jsxs("div",{className:"active-filters",children:[s.map(d=>e.jsxs("div",{className:"filter-badge search-filter-badge",children:[e.jsx("span",{className:"filter-value",children:d}),e.jsx("button",{className:"remove-filter",onClick:()=>i(d),"aria-label":`Remove search filter ${d}`,children:"×"})]},`search-${d}`)),Object.entries(r).map(([d,h])=>e.jsxs("div",{className:"filter-badge",children:[e.jsxs("span",{className:"filter-label",children:[d.replace(/_/g," "),":"]}),e.jsx("span",{className:"filter-value",children:h}),e.jsx("button",{className:"remove-filter",onClick:()=>n(d,""),"aria-label":`Remove ${d} filter`,children:"×"})]},d)),(Object.keys(r).length>0||s.length>0)&&e.jsx("button",{className:"clear-all-filters",onClick:c,children:"Clear All"})]})]}),Kz=({searchTerm:t,handleSearchChange:a,handleSearchKeyDown:r,suggestions:n})=>e.jsx("div",{className:"search-container",children:e.jsxs("div",{className:"search-input-wrapper",children:[e.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:[e.jsx("circle",{cx:"11",cy:"11",r:"8"}),e.jsx("path",{d:"m21 21-4.3-4.3"})]}),e.jsx("input",{type:"text",className:"search-input",placeholder:"Search jobs and press Enter to add as filter...",value:t,onChange:s=>a(s.target.value),onKeyDown:r,list:"job-suggestions"}),e.jsx("datalist",{id:"job-suggestions",children:n.map((s,i)=>e.jsx("option",{value:s},i))})]})}),Qz={not_registered:{status:"not_registered",registered:!1,allowSaving:!1,maskExternalLinks:!1,blurCompanyTitle:!0,notHrefJobsLink:!0},freemium:{status:"freemium",registered:!0,allowSaving:!0,maskExternalLinks:!1,blurCompanyTitle:!1,notHrefJobsLink:!1},premium:{status:"premium",registered:!0,allowSaving:!0,maskExternalLinks:!1,blurCompanyTitle:!1,notHrefJobsLink:!1}},V9=t=>{const a=(t==null?void 0:t.status)??(t!=null&&t.registered?"freemium":"not_registered"),r=Qz[a],n=(t==null?void 0:t.registered)??r.registered,s=!n;return{...r,registered:n,allowSaving:(t==null?void 0:t.allowSaving)??r.allowSaving,maskExternalLinks:(t==null?void 0:t.maskExternalLinks)??r.maskExternalLinks,blurCompanyTitle:(t==null?void 0:t.blurCompanyTitle)??(s?!0:r.blurCompanyTitle),notHrefJobsLink:(t==null?void 0:t.notHrefJobsLink)??(s?!0:r.notHrefJobsLink),note:t==null?void 0:t.note}},tS={not_registered:"Guest access",freemium:"Freemium member",premium:"Premium member"},TA=({job:t,positionInList:a,onSaveJob:r,onViewJob:n,onApplyJob:s,isSaved:i,layout:c="grid",userAccess:l})=>{var A;if(!t||typeof t!="object")return console.error("❌ Invalid job data:",t),e.jsx("div",{className:"job-card bg-red-50",children:e.jsxs("div",{className:"p-4",children:[e.jsx("p",{className:"text-red-800 font-medium",children:"Invalid Job Data"}),e.jsx("p",{className:"text-red-600 text-sm",children:"The job data is in an unexpected format."})]})});const d=L=>{if(v||w){L.preventDefault(),L.stopPropagation();return}const b=v||w?"external":t.description&&t.description!==""?"same_tab":"new_tab";s==null||s(t,a,"external"),n(t,a,b)},h=L=>{L.preventDefault(),L.stopPropagation(),f&&r(t,a)};t.published_at||t.created_at||t.scraped_at;const u=t.min_salary||0,p=t.max_salary||0,m=`$${u.toLocaleString()} - $${p.toLocaleString()}`,x=(L=>{if(!L)return"Recently posted";try{const b=new Date(L),q=Math.abs(new Date().getTime()-b.getTime()),P=Math.floor(q/(1e3*60*60*24));return P===0?"Today":P===1?"Yesterday":P<7?`${P} days ago`:P<30?`${Math.floor(P/7)} weeks ago`:P<365?`${Math.floor(P/30)} months ago`:`${Math.floor(P/365)} years ago`}catch{return"Recently posted"}})(t.published_at||t.created_at||t.scraped_at),f=l.allowSaving,v=l.maskExternalLinks,k=l.blurCompanyTitle,w=l.notHrefJobsLink,j=tS[l.status],S=f?"Save job":"Log in to save this job",C=t.description&&t.description!==""?"/jobs/"+(t.slug||t.id):t.link;return e.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:[e.jsx(Uc,{size:18}),i]})]}),e.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6 mt-12 animate-fade-in",style:{animationDelay:"0.2s"},children:[e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-2xl md:text-3xl font-bold text-primary-foreground",children:"10,000+"}),e.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Active Candidates"})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-2xl md:text-3xl font-bold text-primary-foreground",children:"500+"}),e.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Partner Companies"})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-2xl md:text-3xl font-bold text-primary-foreground",children:"25+"}),e.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Countries"})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-2xl md:text-3xl font-bold text-accent",children:"95%"}),e.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Success Rate"})]})]})]})})})})}function MA({title:t,values:a}){return e.jsx("section",{className:"py-16 bg-white",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsx("h2",{className:"text-3xl font-bold text-center mb-12",children:t}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:a.map((r,n)=>{const s=r.icon;return e.jsxs("div",{className:"flex flex-col items-center text-center",children:[e.jsx("div",{className:"w-16 h-16 rounded-full bg-yellow-100 flex items-center justify-center mb-4",children:e.jsx(s,{className:"w-8 h-8 text-yellow-500"})}),e.jsx("h3",{className:"text-xl font-bold mb-2",children:r.title}),e.jsx("p",{className:"text-gray-600",children:r.description})]},n)})})]})})}function jA({title:t,testimonial:a,stats:r,partnerLogos:n}){const[s,i]=M.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"}];M.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 e.jsx("section",{className:"py-16 bg-gradient-to-r from-[#0f1219] to-[#1a2236]",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsxs("div",{className:"text-center mb-16 animate-fade-in",children:[e.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-primary-foreground mb-4",children:t}),e.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"})]}),e.jsxs("div",{className:"max-w-4xl mx-auto relative animate-scale-in",children:[e.jsxs("div",{className:"bg-card/10 backdrop-blur-sm border border-primary-foreground/20 p-8 md:p-12 rounded-2xl shadow-accent",children:[e.jsx(Uo,{className:"h-12 w-12 text-yellow-500 mb-6"}),e.jsxs("blockquote",{className:"text-xl md:text-2xl text-primary-foreground mb-8 leading-relaxed font-medium",children:['"',c[s].content,'"']}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("div",{className:"w-16 h-16 bg-accent/20 rounded-full flex items-center justify-center",children:e.jsx("span",{className:"text-yellow-500 font-bold text-xl",children:c[s].name.charAt(0)})}),e.jsxs("div",{children:[e.jsx("div",{className:"text-primary-foreground font-bold text-lg",children:c[s].name}),e.jsxs("div",{className:"text-primary-foreground/70",children:[c[s].role," at ",c[s].company]}),e.jsx("div",{className:"text-primary-foreground/60 text-sm",children:c[s].location})]})]}),e.jsx("div",{className:"flex items-center gap-1",children:[...Array(c[s].rating)].map((h,u)=>e.jsx(Lt,{className:"h-5 w-5 text-yellow-500 fill-current"},u))})]})]}),e.jsxs("div",{className:"flex items-center justify-between mt-8",children:[e.jsx(D,{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:e.jsx(fr,{className:"h-6 w-6"})}),e.jsx("div",{className:"flex gap-2",children:c.map((h,u)=>e.jsx("button",{onClick:()=>i(u),className:`w-3 h-3 rounded-full transition-all duration-300 ${u===s?"bg-accent scale-125":"bg-primary-foreground/30 hover:bg-primary-foreground/50"}`},u))}),e.jsx(D,{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:e.jsx(xr,{className:"h-6 w-6"})})]})]}),e.jsxs("div",{className:"mt-16 grid grid-cols-1 md:grid-cols-3 gap-8 animate-fade-in",style:{animationDelay:"0.2s"},children:[e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-4xl font-bold text-yellow-500 mb-2",children:"95%"}),e.jsx("div",{className:"text-primary-foreground/80",children:"Success Rate"}),e.jsx("div",{className:"text-primary-foreground/60 text-sm",children:"Candidates placed successfully"})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-4xl font-bold text-yellow-500 mb-2",children:"48h"}),e.jsx("div",{className:"text-primary-foreground/80",children:"Average Response"}),e.jsx("div",{className:"text-primary-foreground/60 text-sm",children:"From application to interview"})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-4xl font-bold text-yellow-500 mb-2",children:"€15k"}),e.jsx("div",{className:"text-primary-foreground/80",children:"Avg. Salary Increase"}),e.jsx("div",{className:"text-primary-foreground/60 text-sm",children:"When switching through our platform"})]})]})]})})}function CA({title:t,description:a,inputPlaceholder:r,api_url:n="http://localhost:5147",buttonText:s,isSubscribed:i=!1,email:c=null}){const[l,d]=M.useState(c??""),[h,u]=M.useState(!1),[p,m]=M.useState(!1);M.useEffect(()=>{if(i){m(!0),c&&d(c);return}try{const v=localStorage.getItem("email"),k=localStorage.getItem("leadId");v&&k&&(m(!0),d(v))}catch{}},[i,c]);const y=async()=>{if(!l||!l.includes("@")){alert("Please enter a valid email");return}u(!0);try{const v=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(v.ok){const k=await v.json();localStorage.setItem("leadId",k.id),localStorage.setItem("email",l),m(!0)}else{const k=await v.text();alert("Submission failed: "+k)}}catch{alert("Network error while submitting")}finally{u(!1)}},x=p||i,f=c??l;return e.jsx("section",{className:"py-12 bg-[#0f1219] text-white",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[e.jsx("h2",{className:"text-2xl font-bold mb-4",children:t}),e.jsx("p",{className:"text-gray-300 mb-6",children:a}),x?e.jsxs("p",{className:"text-green-400 font-semibold",children:["✅ Thanks! You’re subscribed",f?` as ${f}`:"","."]}):e.jsxs("div",{className:"flex flex-col sm:flex-row gap-2 max-w-lg mx-auto",children:[e.jsx(Re,{type:"email",placeholder:r,value:l,onChange:v=>d(v.target.value),className:"px-4 py-2 rounded bg-gray-800 border border-gray-700 text-white flex-grow"}),e.jsx(D,{onClick:y,disabled:h,className:"px-6 py-2 bg-yellow-500 text-black font-medium rounded hover:bg-yellow-400 transition-colors",children:h?"Subscribing...":s})]})]})})})}function SA({title:t,locations:a,trendingKeywords:r,searchButtonText:n,apiUrl:s,className:i="",showTrending:c=!0,showLocationFilter:l=!0,mockMode:d=!1,searchPageUrl:h="#"}){const[u,p]=M.useState(""),[m,y]=M.useState(""),[x,f]=M.useState([]),[v,k]=M.useState(!1),w="Browse 3,500+ iGaming Jobs",j=[{id:"malta",name:"Malta"},{id:"remote",name:"Remote"},{id:"uk",name:"United Kingdom"},{id:"gibraltar",name:"Gibraltar"}],S=[{label:"CRM Manager",href:"/jobs?q=crm-manager"},{label:"Game Developer",href:"/jobs?q=game-developer"},{label:"Compliance Specialist",href:"/jobs?q=compliance-specialist"}];M.useEffect(()=>{const N=new URLSearchParams(window.location.search),q=N.get("q")||"",P=N.get("location")||"";p(q),y(P)},[]),M.useEffect(()=>{if(u.length<3){f([]);return}const N=setTimeout(()=>{C(u)},300);return()=>clearTimeout(N)},[u]);const C=async N=>{if(!s||d){f([`${N} Developer`,`${N} Manager`,`${N} Specialist`,`${N} Coordinator`,`${N} Agent`]);return}try{k(!0);const q=await fetch(`${s}/suggestions?q=${encodeURIComponent(N)}`);if(!q.ok)throw new Error("Failed to fetch suggestions");const P=await q.json();f(P.suggestions||[])}catch(q){console.error("Error fetching suggestions:",q),f([])}finally{k(!1)}},A=N=>p(N),L=N=>{N.key==="Enter"&&b()},b=()=>{if(d){console.log(`Mock Search - Term: ${u}, Location: ${m}`);return}const N=new URLSearchParams;u&&N.set("q",u),m&&N.set("location",m),window.location.href=`/jobs?${N.toString()}`};return e.jsxs("section",{className:`py-12 bg-gray-100 ${i}`,children:[e.jsxs("div",{className:"text-center mb-12 animate-fade-in",children:[e.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:t||w}),e.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"})]}),e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs("div",{className:"bg-card p-6 rounded-2xl shadow-card mb-12 animate-scale-in",children:[e.jsxs("div",{className:"flex flex-col md:flex-row gap-4",children:[e.jsxs("div",{className:"flex-grow relative",children:[e.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:e.jsx($t,{className:"h-5 w-5 text-gray-400"})}),e.jsx(Re,{type:"text",placeholder:"Search by role, company, or keyword",className:"w-full pl-10 border-gray-300",value:u,onChange:N=>A(N.target.value),onKeyDown:L,list:"job-suggestions"}),e.jsx("datalist",{id:"job-suggestions",children:x.map((N,q)=>e.jsx("option",{value:N},q))}),u&&e.jsx("button",{onClick:()=>p(""),className:"absolute inset-y-0 right-0 pr-3 flex items-center",children:e.jsx(Sa,{className:"h-5 w-5 text-gray-400 hover:text-gray-600"})}),v&&e.jsx("div",{className:"absolute inset-y-0 right-0 pr-10 flex items-center",children:e.jsx("div",{className:"animate-spin rounded-full h-4 w-4 border-b-2 border-gray-400"})})]}),l&&e.jsx("div",{className:"w-full md:w-1/3",children:e.jsxs("select",{className:"w-full h-10 px-3 border border-gray-300 rounded-md",value:m,onChange:N=>y(N.target.value),children:[e.jsx("option",{value:"",children:"All Locations"}),(a||j).map(N=>e.jsx("option",{value:N.id,children:N.name},N.id))]})}),e.jsxs(D,{className:"bg-yellow-500 hover:bg-yellow-400 text-black font-medium",onClick:b,disabled:v,children:[e.jsx($t,{size:18}),v?"Searching...":n||"Search"]})]}),c&&(r||S).length>0&&e.jsxs("div",{className:"mt-4 flex flex-wrap gap-2 items-center",children:[e.jsx("span",{className:"text-muted-foreground font-medium",children:"Trending:"}),(r||S).map((N,q)=>e.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},q))]})]})})]})}function LA({logo:t,navItems:a}){const[r,n]=M.useState(!1);return e.jsxs("header",{className:"bg-[#0f1219] text-white py-4",children:[e.jsxs("div",{className:"container mx-auto px-4 flex justify-between items-center",children:[e.jsxs("a",{href:"/",className:"flex items-center gap-2",children:[e.jsx("div",{className:"w-10 h-10 rounded-full bg-yellow-500 flex items-center justify-center",children:e.jsx("span",{className:"text-black font-bold text-sm",children:t.initials})}),e.jsx("span",{className:"font-bold text-xl",children:t.text})]}),e.jsx("nav",{className:"hidden md:flex items-center gap-6",children:a.map((s,i)=>e.jsx("a",{href:s.href,className:"hover:text-yellow-400 transition-colors",children:s.label},i))}),e.jsx("button",{className:"md:hidden text-white",onClick:()=>n(!r),children:r?e.jsx(Ct,{size:24}):e.jsx(Bo,{size:24})})]}),r&&e.jsx("div",{className:"md:hidden bg-[#0f1219] py-4",children:e.jsx("nav",{className:"container mx-auto px-4 flex flex-col gap-4",children:a.map((s,i)=>e.jsx("a",{href:s.href,className:"hover:text-yellow-400 transition-colors py-2",onClick:()=>n(!1),children:s.label},i))})})]})}function NA({logo:t,tagline:a,socialLinks:r,columns:n,contactInfo:s,copyright:i,poweredBy:c}){return e.jsx("footer",{className:"bg-[#0f1219] text-white py-12 border-t border-gray-800",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-8 mb-12",children:[e.jsxs("div",{className:"col-span-1",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx("div",{className:"w-10 h-10 rounded-full bg-yellow-500 flex items-center justify-center",children:e.jsx("span",{className:"text-black font-bold text-sm",children:t.initials})}),e.jsx("span",{className:"font-bold text-xl",children:t.text})]}),e.jsx("p",{className:"text-gray-400 mb-4",children:a}),e.jsx("div",{className:"flex gap-4",children:r.map((l,d)=>e.jsx("a",{href:l.href,className:"text-gray-400 hover:text-white",children:l.icon},d))})]}),n.map((l,d)=>e.jsxs("div",{className:"col-span-1",children:[e.jsx("h3",{className:"font-bold text-lg mb-4",children:l.title}),e.jsx("ul",{className:"space-y-2",children:l.links.map((h,u)=>e.jsx("li",{children:e.jsx("a",{href:h.href,className:"text-gray-400 hover:text-white",children:h.label})},u))})]},d))]}),e.jsx("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 py-6 border-t border-gray-800",children:e.jsxs("div",{className:"flex flex-col md:flex-row gap-6",children:[e.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[e.jsx(sa,{size:16}),e.jsx("span",{children:s.email})]}),e.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[e.jsx(br,{size:16}),e.jsx("span",{children:s.phone})]}),e.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[e.jsx(ct,{size:16}),e.jsx("span",{children:s.location})]})]})}),e.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:[e.jsx("p",{children:i}),e.jsx("p",{children:c})]})]})})}const IA=()=>{const[t,a]=M.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 e.jsx("section",{className:"py-20 bg-gray-100",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsxs("div",{className:"text-center mb-16 animate-fade-in",children:[e.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"Our Partners"}),e.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto",children:"Trusted by 500+ leading iGaming companies worldwide"})]}),e.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-6 mb-12",children:r.map((n,s)=>e.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:`${s*.05}s`},onMouseEnter:()=>a(n.id),onMouseLeave:()=>a(null),children:[e.jsx("div",{className:"aspect-square flex items-center justify-center mb-4",children:e.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:e.jsx("span",{className:"text-accent-foreground font-bold text-lg",children:n.logo})})}),e.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&&e.jsx("div",{className:"absolute inset-0 bg-primary/95 rounded-xl flex items-center justify-center p-4 animate-fade-in",children:e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-primary-foreground font-bold mb-2",children:n.name}),e.jsx("div",{className:"text-primary-foreground/80 text-sm",children:n.description}),e.jsx("div",{className:"mt-3 text-yellow-500 text-sm font-medium",children:"View Jobs →"})]})}),e.jsx("div",{className:"absolute inset-0 border-2 border-transparent group-hover:border-accent/50 rounded-xl transition-colors duration-300"})]},n.id))}),e.jsx("div",{className:"bg-gradient-hero p-8 rounded-2xl shadow-accent animate-fade-in",style:{animationDelay:"0.5s"},children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-6 text-center text-primary-foreground",children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-3xl font-bold mb-2",children:"500+"}),e.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Gaming Companies Trust Us"})]}),e.jsxs("div",{children:[e.jsx("div",{className:"text-3xl font-bold mb-2",children:"50+"}),e.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Countries Worldwide"})]}),e.jsxs("div",{children:[e.jsx("div",{className:"text-3xl font-bold mb-2",children:"€2B+"}),e.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Combined Revenue"})]}),e.jsxs("div",{children:[e.jsx("div",{className:"text-3xl font-bold mb-2",children:"10M+"}),e.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Players Served"})]})]})}),e.jsxs("div",{className:"text-center mt-12 animate-slide-in",style:{animationDelay:"0.6s"},children:[e.jsx("h3",{className:"text-2xl font-bold text-foreground mb-4",children:"Want to Partner with Us?"}),e.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"}),e.jsx("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:e.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 Hz(){const[t,a]=M.useState(null);return M.useEffect(()=>{try{const r=localStorage.getItem("email");r&&a(r)}catch{}},[]),{isSubscribed:!!t,email:t}}const AA=M.createContext({consent:{analytics:!1,marketing:!1,preferences:!1},ready:!1,update:async()=>{console.log("ConsentContext not initialized")}});function PA({notification_url:t="http://localhost:5147",children:a}){const[r,n]=M.useState({analytics:!1,marketing:!1,preferences:!1}),[s,i]=M.useState(!1),l=(p=>p.replace(/\/+$/,""))(t??"http://localhost:5147"),[d,h]=M.useState(null);M.useEffect(()=>{try{const p=localStorage.getItem("leadId");p&&h(p)}catch{}},[]),M.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(m=>m.ok?m.json():null).then(m=>{m&&n({analytics:!!m.analytics,marketing:!!m.marketing,preferences:!!m.preferences,timestamp:m.createdAt})}).catch(()=>{}).finally(()=>i(!0))},[d]);const u=async p=>{const m={...r,...p,timestamp:new Date().toISOString()};n(m),localStorage.setItem("consent",JSON.stringify(m));const y={analytics:m.analytics,marketing:m.marketing,preferences:m.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(y)}):await fetch(`${l}/api/consents`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(y)})}catch(x){console.warn("Consent API unavailable, kept only locally",x)}};return e.jsx(AA.Provider,{value:{consent:r,ready:s,update:u},children:a})}const QC=()=>M.useContext(AA);function Vz({allow:t,children:a}){const{consent:r,ready:n}=QC();return!n||!r[t]?null:e.jsx(e.Fragment,{children:a})}function _A({title:t="Cookie consent",description:a="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:s=!1,isOpen:i,onAccept:c,onReject:l}){const{consent:d,update:h,ready:u}=QC(),[p,m]=M.useState(s);M.useEffect(()=>{i===void 0&&u&&!d.timestamp&&m(!0)},[d.timestamp,i,u]);const y=M.useMemo(()=>i??p,[i,p]),x=()=>{i===void 0&&m(!1)};if(!y)return null;const f=()=>{h({analytics:!0,marketing:!0,preferences:!0}),x(),c==null||c()},v=()=>{h({analytics:!1,marketing:!1,preferences:!1}),x(),l==null||l()};return e.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:[e.jsx("p",{className:"text-sm",children:a}),e.jsxs("div",{className:"mt-3 flex gap-2",children:[e.jsx("button",{className:"px-3 py-2 rounded-xl border",onClick:v,children:n}),e.jsx("button",{className:"px-3 py-2 rounded-xl bg-black text-white",onClick:f,children:r})]})]})}const Bz={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"}]},$z={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"},Uz={title:"Why Choose Us?",values:[{icon:nt,title:"Niche Expertise",description:"Dedicated solely to iGaming jobs worldwide."},{icon:Nt,title:"Recruiter Network",description:"Direct access to hiring managers at top brands."},{icon:lr,title:"Salary Insights",description:"Transparent data to negotiate your best offer."},{icon:kr,title:"Career Growth",description:"Courses and certifications to level up your skills."}]},Gz={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"},Wz={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")},Zz={title:"Get Exclusive iGaming Job Alerts",description:"Weekly openings + salary reports. Unsubscribe anytime.",inputPlaceholder:"Your email address",buttonText:"Subscribe"},Jz={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"},Xz={logo:{text:"iGamingCareer.com",initials:"iG"},tagline:"We bet on the people behind the game.",socialLinks:[{icon:e.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:[e.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"}),e.jsx("rect",{width:"4",height:"12",x:"2",y:"9"}),e.jsx("circle",{cx:"4",cy:"4",r:"2"})]}),href:"#"},{icon:e.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:[e.jsx("rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5"}),e.jsx("path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"}),e.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"},or=(t,a)=>({...t,...a??{}});function Yz({headerData:t,heroData:a,valuePropositionData:r,jobSearchData:n,trustSignalsData:s,newsletterData:i,forEmployersData:c,footerData:l,showValueProposition:d=!0,showJobSearchWidget:h=!0,showTrustSignals:u=!0,showPartners:p=!0,showNewsletter:m=!0,showForEmployers:y=!0,showConsentBanner:x=!0,consentNotificationUrl:f="http://localhost:5147",consentBannerProps:v}){const{isSubscribed:k,email:w}=Hz(),j=or(Bz,t),S=or($z,a),C=or(Uz,r),A=or(Gz,n),L=or(Wz,s),b=or(Zz,i),N=or(Jz,c),q=or(Xz,l),P={...b,isSubscribed:(i==null?void 0:i.isSubscribed)??k,email:(i==null?void 0:i.email)??w};return e.jsx(PA,{notification_url:f,children:e.jsxs("div",{className:"flex flex-col min-h-screen",children:[e.jsx(LA,{...j}),e.jsxs("main",{className:"flex-grow",children:[e.jsx(bA,{...S}),d&&e.jsx(MA,{...C}),h&&e.jsx(SA,{...A}),u&&e.jsx(jA,{...L}),p&&e.jsx(IA,{}),m&&e.jsx(CA,{...P}),y&&e.jsx(wA,{...N})]}),e.jsx(NA,{...q}),x&&e.jsx(_A,{...v})]})})}function eS({title:t="Premium Job Alerts",description:a="Get notified about new jobs that match your skills and preferences.",inputPlaceholder:r="Your email address",buttonText:n="Subscribe",api_url:s="http://localhost:5147"}){const[i,c]=M.useState(""),[l,d]=M.useState(!1),[h,u]=M.useState(!1);M.useEffect(()=>{const m=localStorage.getItem("email");m&&(u(!0),c(m))},[]);const p=async()=>{if(!i||!i.includes("@")){alert("Please enter a valid email");return}d(!0);try{const m=await fetch(`${s}/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(m.ok){const y=await m.json();localStorage.setItem("leadId",y.id),localStorage.setItem("email",i),u(!0)}else{const y=await m.text();alert("Submission failed: "+y)}}catch{alert("Network error while submitting")}finally{d(!1)}};return e.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[e.jsx("h3",{className:"font-semibold text-lg mb-3",children:t}),e.jsx("p",{className:"text-sm text-gray-600 mb-4",children:a}),h?e.jsxs("p",{className:"text-green-600 font-medium",children:["✅ You’re subscribed",i?` as ${i}`:"","!"]}):e.jsxs("form",{className:"flex flex-col",children:[e.jsx(Re,{type:"email",value:i,onChange:m=>c(m.target.value),placeholder:r,className:"mb-3"}),e.jsx(D,{type:"button",onClick:p,disabled:l,className:"bg-yellow-600 text-white hover:bg-yellow-700 transition-colors",children:l?"Subscribing...":n})]})]})}function RA({open:t,type:a,message:r,onClose:n}){if(M.useEffect(()=>{if(t){const i=setTimeout(n,5e3);return()=>clearTimeout(i)}},[t,n]),!t)return null;const s={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 e.jsx("div",{className:`fixed top-6 right-6 z-50 max-w-sm w-full p-4 rounded-lg border shadow-md ${s[a]}`,children:e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsx("p",{className:"text-sm font-medium",children:r}),e.jsx("button",{onClick:n,className:"ml-4",children:e.jsx(Sa,{className:"w-5 h-5"})})]})})}const ol=({position:t,url:a,alt:r,link:n})=>{let s="",i="";switch(t){case"top":s="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":s="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":s="w-[300px] h-[250px] flex justify-center items-center bg-yellow-100",i="w-[300px] h-[250px]";break}const c=a.match(/\.(mp4|webm|ogg)$/i);return e.jsx("div",{className:s,children:e.jsx("a",{href:n,target:"_blank",children:c?e.jsxs("video",{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:`${i} object-cover`,children:[e.jsx("source",{src:a,type:"video/mp4"}),"Your browser does not support the video tag."]}):e.jsx("img",{src:a,alt:r,className:`${i} object-cover`})})})},H9=({options:t,value:a,onChange:r,placeholder:n,className:s=""})=>{const[i,c]=M.useState(!1),[l,d]=M.useState(""),h=M.useRef(null),u=t.filter(p=>p.toLowerCase().includes(l.toLowerCase()));return M.useEffect(()=>{const p=m=>{h.current&&!h.current.contains(m.target)&&c(!1)};return document.addEventListener("mousedown",p),()=>document.removeEventListener("mousedown",p)},[]),e.jsxs("div",{className:`searchable-select-container relative ${s}`,ref:h,children:[e.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:[e.jsx("span",{className:a?"text-gray-900":"text-gray-500",children:a||n}),e.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:e.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&&e.jsxs("div",{className:"searchable-select-dropdown absolute z-10 mt-1 w-full bg-white border border-gray-300 rounded-lg shadow-lg",children:[e.jsx("div",{className:"p-2",children:e.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})}),e.jsxs("div",{className:"max-h-60 overflow-y-auto",children:[e.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,m)=>e.jsx("div",{className:`py-1 px-2 cursor-pointer ${a===p?"bg-yellow-50 text-indigo-700":"hover:bg-gray-100 text-gray-900"}`,onClick:()=>{r(p),c(!1),d("")},children:p},m)):e.jsx("div",{className:"py-1 px-2 text-gray-500 italic",children:"No results found"})]})]})]})},Kz=({filterKeys:t,filtersData:a,activeFilters:r,handleFilterChange:n,searchFilters:s,removeSearchFilter:i,clearAllFilters:c,searchableFilters:l})=>e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"filters-grid",children:t.map(d=>{var u,p;return(l==null?void 0:l.includes(d))?e.jsx(H9,{options:((u=a[d])==null?void 0:u.filter(m=>typeof m=="string"))||[],value:r[d]||"",onChange:m=>n(d,m),placeholder:`Select ${d.replace(/_/g," ")}`},d):e.jsxs("select",{className:"filter-select",onChange:m=>n(d,m.target.value),value:r[d]||"",children:[e.jsxs("option",{value:"",children:["Select ",d.replace(/_/g," ")]}),(p=a[d])==null?void 0:p.map((m,y)=>typeof m!="string"?null:e.jsx("option",{value:m,children:m},`${d}-${y}`))]},d)})}),e.jsxs("div",{className:"active-filters",children:[s.map(d=>e.jsxs("div",{className:"filter-badge search-filter-badge",children:[e.jsx("span",{className:"filter-value",children:d}),e.jsx("button",{className:"remove-filter",onClick:()=>i(d),"aria-label":`Remove search filter ${d}`,children:"×"})]},`search-${d}`)),Object.entries(r).map(([d,h])=>e.jsxs("div",{className:"filter-badge",children:[e.jsxs("span",{className:"filter-label",children:[d.replace(/_/g," "),":"]}),e.jsx("span",{className:"filter-value",children:h}),e.jsx("button",{className:"remove-filter",onClick:()=>n(d,""),"aria-label":`Remove ${d} filter`,children:"×"})]},d)),(Object.keys(r).length>0||s.length>0)&&e.jsx("button",{className:"clear-all-filters",onClick:c,children:"Clear All"})]})]}),Qz=({searchTerm:t,handleSearchChange:a,handleSearchKeyDown:r,suggestions:n})=>e.jsx("div",{className:"search-container",children:e.jsxs("div",{className:"search-input-wrapper",children:[e.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:[e.jsx("circle",{cx:"11",cy:"11",r:"8"}),e.jsx("path",{d:"m21 21-4.3-4.3"})]}),e.jsx("input",{type:"text",className:"search-input",placeholder:"Search jobs and press Enter to add as filter...",value:t,onChange:s=>a(s.target.value),onKeyDown:r,list:"job-suggestions"}),e.jsx("datalist",{id:"job-suggestions",children:n.map((s,i)=>e.jsx("option",{value:s},i))})]})}),eE={not_registered:{status:"not_registered",registered:!1,allowSaving:!1,maskExternalLinks:!1,blurCompanyTitle:!0,notHrefJobsLink:!0},freemium:{status:"freemium",registered:!0,allowSaving:!0,maskExternalLinks:!1,blurCompanyTitle:!1,notHrefJobsLink:!1},premium:{status:"premium",registered:!0,allowSaving:!0,maskExternalLinks:!1,blurCompanyTitle:!1,notHrefJobsLink:!1}},V9=t=>{const a=(t==null?void 0:t.status)??(t!=null&&t.registered?"freemium":"not_registered"),r=eE[a],n=(t==null?void 0:t.registered)??r.registered,s=!n;return{...r,registered:n,allowSaving:(t==null?void 0:t.allowSaving)??r.allowSaving,maskExternalLinks:(t==null?void 0:t.maskExternalLinks)??r.maskExternalLinks,blurCompanyTitle:(t==null?void 0:t.blurCompanyTitle)??(s?!0:r.blurCompanyTitle),notHrefJobsLink:(t==null?void 0:t.notHrefJobsLink)??(s?!0:r.notHrefJobsLink),note:t==null?void 0:t.note}},tS={not_registered:"Guest access",freemium:"Freemium member",premium:"Premium member"},TA=({job:t,positionInList:a,onSaveJob:r,onViewJob:n,onApplyJob:s,isSaved:i,layout:c="grid",userAccess:l})=>{var A;if(!t||typeof t!="object")return console.error("❌ Invalid job data:",t),e.jsx("div",{className:"job-card bg-red-50",children:e.jsxs("div",{className:"p-4",children:[e.jsx("p",{className:"text-red-800 font-medium",children:"Invalid Job Data"}),e.jsx("p",{className:"text-red-600 text-sm",children:"The job data is in an unexpected format."})]})});const d=L=>{if(v||w){L.preventDefault(),L.stopPropagation();return}const b=v||w?"external":t.description&&t.description!==""?"same_tab":"new_tab";s==null||s(t,a,"external"),n(t,a,b)},h=L=>{L.preventDefault(),L.stopPropagation(),f&&r(t,a)};t.published_at||t.created_at||t.scraped_at;const u=t.min_salary||0,p=t.max_salary||0,m=`$${u.toLocaleString()} - $${p.toLocaleString()}`,x=(L=>{if(!L)return"Recently posted";try{const b=new Date(L),q=Math.abs(new Date().getTime()-b.getTime()),P=Math.floor(q/(1e3*60*60*24));return P===0?"Today":P===1?"Yesterday":P<7?`${P} days ago`:P<30?`${Math.floor(P/7)} weeks ago`:P<365?`${Math.floor(P/30)} months ago`:`${Math.floor(P/365)} years ago`}catch{return"Recently posted"}})(t.published_at||t.created_at||t.scraped_at),f=l.allowSaving,v=l.maskExternalLinks,k=l.blurCompanyTitle,w=l.notHrefJobsLink,j=tS[l.status],S=f?"Save job":"Log in to save this job",C=t.description&&t.description!==""?"/jobs/"+(t.slug||t.id):t.link;return e.jsxs("div",{className:`bg-white rounded-lg shadow-sm border border-gray-200 p-3 hover:shadow-md transition-shadow
7750
7750
  ${c==="grid"?"flex flex-col h-full":"flex flex-col md:flex-row md:items-center md:space-x-4"}`,children:[e.jsxs("div",{className:"flex items-start space-x-4",children:[e.jsx("img",{src:t.logo||`/placeholder.svg?height=48&width=48&text=${((A=t.company)==null?void 0:A.charAt(0))||"C"}`,alt:`${t.company} logo`,className:"w-12 h-12 rounded-lg object-contain bg-gray-50"}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"font-semibold text-gray-900",children:t.title||"No Title Available"}),e.jsx("p",{className:`text-sm text-muted-foreground ${k?"blur-sm select-none":""}`,children:t.company||"Unknown Company"}),e.jsxs("div",{className:"mt-2 flex items-center gap-2",children:[e.jsx("span",{className:"inline-flex items-center rounded-full bg-gray-100 px-2.5 py-0.5 text-xs font-medium text-gray-700",children:j}),l.note&&e.jsx("span",{className:"text-xs text-gray-500",children:l.note})]})]})]}),e.jsxs("div",{className:`
7751
7751
  mt-4 ${c==="list"?"md:mt-0 md:flex-1":""}
7752
- `,children:[e.jsx("div",{className:"flex items-center space-x-4 text-xs text-gray-500 mb-3",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx(st,{className:"w-4 h-4 mr-1"}),t.location||"Remote"]})}),e.jsxs("div",{className:"flex items-center space-x-4 text-xs text-gray-500 mb-3",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(at,{className:"w-4 h-4 mr-1"}),t.department||"Full-time"]}),e.jsxs("div",{className:"flex items-center",children:[e.jsx(ma,{className:"h-3.5 w-3.5 mr-1.5"}),e.jsx("span",{children:x})]})]}),e.jsx("div",{className:"hidden mt-2 text-xs text-gray-500",children:m})]}),e.jsxs("div",{className:`mt-auto pt-4 flex items-center space-x-3 ${c==="list"?"md:mt-0 md:ml-4":""}`,children:[e.jsx("button",{onClick:h,disabled:!f,className:`
7752
+ `,children:[e.jsx("div",{className:"flex items-center space-x-4 text-xs text-gray-500 mb-3",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx(ct,{className:"w-4 h-4 mr-1"}),t.location||"Remote"]})}),e.jsxs("div",{className:"flex items-center space-x-4 text-xs text-gray-500 mb-3",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(nt,{className:"w-4 h-4 mr-1"}),t.department||"Full-time"]}),e.jsxs("div",{className:"flex items-center",children:[e.jsx(ka,{className:"h-3.5 w-3.5 mr-1.5"}),e.jsx("span",{children:x})]})]}),e.jsx("div",{className:"hidden mt-2 text-xs text-gray-500",children:m})]}),e.jsxs("div",{className:`mt-auto pt-4 flex items-center space-x-3 ${c==="list"?"md:mt-0 md:ml-4":""}`,children:[e.jsx("button",{onClick:h,disabled:!f,className:`
7753
7753
  p-2 rounded-lg transition-colors
7754
7754
  ${i?"text-yellow-600 bg-yellow-50 hover:bg-yellow-100":"text-gray-400 hover:text-gray-600 hover:bg-gray-100"}
7755
- `,"aria-label":i?"Unsave job":"Save job",title:S,children:e.jsx(ya,{size:20,className:`transition-colors ${i?"fill-blue-600 text-yellow-600":""}`})}),v||w?e.jsx("button",{className:"flex-1 px-4 py-2 bg-gray-200 text-gray-600 rounded-lg cursor-not-allowed text-sm font-medium text-center","aria-disabled":"true",onClick:d,children:"Sign in to view links"}):e.jsx("a",{href:C,target:t.description&&t.description!=""?"_self":"_blank",rel:"noopener noreferrer",className:`flex-1 px-4 py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700
7756
- transition-colors text-sm font-medium text-center`,onClick:d,children:"Apply Now"})]}),!f&&e.jsx("p",{className:"mt-2 text-xs text-gray-500",children:"Create an account to save this item."})]})},eE=({jobs:t,onSaveJob:a,onViewJob:r,isJobSaved:n,userAccess:s})=>t.length===0?e.jsxs("div",{className:"no-results",children:[e.jsx("h3",{children:"No jobs found matching your criteria"}),e.jsx("p",{children:"Try adjusting your filters or search term"})]}):e.jsx("div",{className:"jobs-grid",children:t.map(i=>e.jsx(TA,{job:i,onSaveJob:a,onViewJob:r,isSaved:n(i),userAccess:s},i.link))}),tE=({currentPage:t,totalPages:a,setCurrentPage:r})=>{if(a<=1)return null;const n=[];if(a<=5)for(let i=1;i<=a;i++)n.push(i);else if(t<=3)for(let i=1;i<=5;i++)n.push(i);else if(t>=a-2)for(let i=a-4;i<=a;i++)n.push(i);else for(let i=t-2;i<=t+2;i++)n.push(i);return e.jsxs("div",{className:"pagination",children:[e.jsx("button",{className:"pagination-button prev-button",disabled:t===1,onClick:()=>r(t-1),children:e.jsx(Ba,{})}),n.map(i=>e.jsx("button",{className:`pagination-button ${t===i?"active":""}`,onClick:()=>r(i),children:i},i)),e.jsx("button",{className:"pagination-button next-button",disabled:t===a,onClick:()=>r(t+1),children:e.jsx($a,{})})]})},aE=({isOpen:t,onClose:a,filterKeys:r,filtersData:n,activeFilters:s,handleFilterChange:i,handleSearchChange:c,searchTerm:l,clearAllFilters:d,searchFilters:h,removeSearchFilter:u})=>e.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:e.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:e.jsxs("div",{className:"p-4",children:[e.jsxs("div",{className:"flex justify-between items-center mb-4",children:[e.jsx("h2",{className:"text-lg font-semibold",children:"Filters"}),e.jsx("button",{onClick:a,className:"text-gray-500 hover:text-gray-700",children:e.jsx("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),e.jsx("div",{className:"mb-4",children:e.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 m;return e.jsxs("div",{className:"mb-4",children:[e.jsx("label",{htmlFor:`mobile-${p}`,className:"block text-sm font-medium text-gray-700 mb-1",children:p.replace(/_/g," ")}),e.jsxs("select",{id:`mobile-${p}`,className:"w-full p-2 border border-gray-300 rounded-md",onChange:y=>i(p,y.target.value),value:s[p]||"",children:[e.jsxs("option",{value:"",children:["Select ",p.replace(/_/g," ")]}),(m=n[p])==null?void 0:m.map(y=>e.jsx("option",{value:y,children:y},y))]})]},p)}),Object.keys(s).length>0&&e.jsxs("div",{className:"mt-4",children:[e.jsx("h3",{className:"text-sm font-semibold mb-2",children:"Active Filters:"}),Object.entries(s).map(([p,m])=>e.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:[e.jsxs("span",{children:[p.replace(/_/g," "),": ",m]}),e.jsx("button",{className:"ml-2 text-yellow-600 hover:text-yellow-800",onClick:()=>i(p,""),children:"×"})]},p)),e.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"})]})]})})}),rE=({apiUrl:t,itemsPerPage:a,filterKeys:r,enableSearch:n,enablePagination:s,enableMobileFilter:i,banners:c,userAccess:l})=>{const[d,h]=M.useState([]),[u,p]=M.useState(1),[m,y]=M.useState({}),[x,f]=M.useState([]),[v,k]=M.useState({}),[w,j]=M.useState(""),[S,C]=M.useState([]),[A,L]=M.useState(!1),b=V9(l);M.useEffect(()=>{fetch(`${t}/items`).then(ae=>ae.json()).then(ae=>{h(ae)}).catch(ae=>console.error("Error fetching items:",ae))},[t]);const N=ae=>{const Q={};ae.forEach(we=>{r.forEach(Z=>{Q[Z]||(Q[Z]=new Set);const ee=we[Z];ee!=null&&Q[Z].add(String(ee))})});const pe={};return Object.keys(Q).forEach(we=>{pe[we]=Array.from(Q[we])}),pe};function q(ae,Q,pe){let we=ae.filter(Z=>Object.entries(Q).every(([ee,ve])=>{const fe=Z[ee];return typeof fe=="string"&&fe.toLowerCase()===ve.toLowerCase()}));return pe.length>0&&(we=we.filter(Z=>pe.every(ee=>Z.title.toLowerCase().includes(ee.toLowerCase())))),we}const P=M.useMemo(()=>q(d,m,x),[m,d,x]),R=(ae,Q)=>{y(pe=>{const we=Q?{...pe,[ae]:Q}:{...pe};return Q||delete we[ae],we})},T=ae=>{if(j(ae),ae){const Q=d.map(pe=>pe.title).filter((pe,we,Z)=>pe&&pe.toLowerCase().includes(ae.toLowerCase())&&Z.indexOf(pe)===we).slice(0,5);C(Q)}else C([])},$=ae=>{if(ae.key==="Enter"&&w.trim()){ae.preventDefault();const Q=[...x,w.trim()];f(Q),j("")}},W=ae=>{const Q=x.filter(pe=>pe!==ae);f(Q)},B=()=>{y({}),f([]),p(1)};M.useEffect(()=>{k(N(P))},[r,P]),M.useEffect(()=>{p(1)},[m,x]);const U=()=>{L(!A)},O=(ae,Q)=>{},le=ae=>{},re=ae=>!1,X=Math.ceil(P.length/a),J=P.slice((u-1)*a,u*a);return e.jsxs("div",{className:"flex flex-col min-h-screen",children:[e.jsx("div",{className:"flex-grow",children:e.jsxs("div",{className:"job-listings-container",children:[e.jsx("div",{className:"header-container",children:e.jsxs("div",{className:"header-content",children:[e.jsx("h1",{className:"main-title",children:"Job Listings"}),e.jsxs("p",{className:"items-count",children:["Total: ",e.jsx("span",{className:"count-value",children:P.length})]})]})}),e.jsx("button",{className:"md:hidden w-full mb-4 px-4 py-2 bg-yellow-600 text-white rounded-md",onClick:U,children:A?"Close Filters":"Open Filters"}),e.jsxs("div",{className:"hidden md:block filters-container",children:[e.jsx(Kz,{searchTerm:w,handleSearchChange:T,handleSearchKeyDown:$,suggestions:S}),e.jsx(Yz,{filterKeys:r,filtersData:v,activeFilters:m,handleFilterChange:R,searchFilters:x,removeSearchFilter:W,clearAllFilters:B,searchableFilters:["company"]})]}),e.jsx(aE,{isOpen:A,onClose:U,filterKeys:r,filtersData:v,activeFilters:m,handleFilterChange:R,handleSearchChange:T,searchTerm:w,clearAllFilters:B,handleSearchKeyDown:$,searchFilters:x,removeSearchFilter:W}),e.jsxs("div",{className:"flex flex-col md:flex-row",children:[e.jsxs("div",{className:"w-full md:w-3/4 md:pr-4",children:[e.jsx("h2",{className:"section-title",children:"Open Positions"}),e.jsx(eE,{jobs:J,onSaveJob:O,onViewJob:le,isJobSaved:re,userAccess:b}),e.jsx(tE,{currentPage:u,totalPages:X,setCurrentPage:p})]}),e.jsx("div",{className:"w-full md:w-1/4 mt-4 md:mt-0",children:e.jsx("div",{className:"sticky top-4",children:c.sidebar.enabled&&c.sidebar.url&&e.jsx(ol,{position:"sidebar",url:c.sidebar.url,link:c.sidebar.link,alt:c.sidebar.alt})})})]})]})}),c.bottom.enabled&&c.bottom.url&&e.jsx(ol,{position:"top",url:c.bottom.url,link:c.bottom.link,alt:c.bottom.alt})]})},nE=({title:t="Subscribe to our newsletter",description:a="The latest job opportunities and career tips, weekly in your inbox.",links:r=[]})=>{const[n,s]=M.useState(!1),[i,c]=M.useState(null);M.useEffect(()=>{try{const d=localStorage.getItem("email");d&&(s(!0),c(d))}catch{}},[]);const l=d=>{d.preventDefault()};return e.jsx("footer",{className:"bg-gray-800 text-white",children:e.jsxs("div",{className:"max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:py-16 lg:px-8",children:[e.jsxs("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[e.jsx("div",{className:"grid grid-cols-2 gap-8 xl:col-span-2",children:e.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?e.jsxs("div",{className:"mt-12 md:mt-0",children:[e.jsx("h3",{className:"text-sm font-semibold text-gray-400 tracking-wider uppercase",children:((u=d[0])==null?void 0:u.text)||"Section"}),e.jsx("ul",{className:"mt-4 space-y-4",children:d.map((p,m)=>e.jsx("li",{children:e.jsx("a",{href:p.url,className:"hover:text-gray-300",children:p.text})},m))})]},h):null})})}),e.jsxs("div",{className:"mt-8 xl:mt-0",children:[e.jsx("h3",{className:"text-sm font-semibold text-gray-400 tracking-wider uppercase",children:t}),e.jsx("p",{className:"mt-4 text-base text-gray-300",children:a}),n?e.jsxs("p",{className:"mt-4 text-green-400 font-medium",children:["✅ You’re subscribed",i?` as ${i}`:"","!"]}):e.jsxs("form",{className:"mt-4 sm:flex sm:max-w-md",onSubmit:l,children:[e.jsx("label",{htmlFor:"email-address",className:"sr-only",children:"Email address"}),e.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"}),e.jsx("div",{className:"mt-3 rounded-md sm:mt-0 sm:ml-3 sm:flex-shrink-0",children:e.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"})})]})]})]}),e.jsx("div",{className:"mt-8 border-t border-gray-700 pt-8",children:e.jsxs("p",{className:"text-base text-gray-400 xl:text-center",children:["© ",new Date().getFullYear()," JobBoard, Inc. All rights reserved."]})})]})})},sE=({logo:t="",links:a=[],buttonText:r="Post a Job",buttonUrl:n="/post-job"})=>e.jsx("nav",{className:"bg-white shadow-md",children:e.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:e.jsxs("div",{className:"flex justify-between h-16",children:[e.jsxs("div",{className:"flex",children:[e.jsx("div",{className:"flex-shrink-0 flex items-center",children:e.jsx("a",{href:"/",className:"text-xl font-bold text-yellow-600",children:t?e.jsx("img",{src:t,alt:"Logo",className:"h-6 w-6"}):e.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:e.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"})})})}),e.jsx("div",{className:"hidden sm:ml-6 sm:flex sm:space-x-8",children:a.map((s,i)=>e.jsx("a",{href:s.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:s.text},i))})]}),e.jsx("div",{className:"hidden sm:ml-6 sm:flex sm:items-center",children:e.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})})]})})}),qA=({savedJobsCount:t})=>{const[a,r]=M.useState("");M.useEffect(()=>{typeof window<"u"&&r(window.location.pathname)},[]);const n=s=>a===s;return e.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:e.jsxs("div",{className:"grid grid-cols-5 h-16",children:[e.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:[e.jsx(Va,{className:"w-6 h-6"}),e.jsx("span",{className:"text-xs mt-1",children:"Home"})]}),e.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:[e.jsx(at,{className:"w-6 h-6"}),e.jsx("span",{className:"text-xs mt-1",children:"Jobs"})]}),e.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:[e.jsx(Mc,{className:"w-6 h-6"}),e.jsx("span",{className:"text-xs mt-1",children:"Saved"}),t>0&&e.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})]}),e.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:[e.jsx(ea,{className:"w-6 h-6"}),e.jsx("span",{className:"text-xs mt-1",children:"Courses"})]}),e.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:[e.jsx(Na,{className:"w-6 h-6"}),e.jsx("span",{className:"text-xs mt-1",children:"News"})]})]})})},iE=t=>{const a=["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"],s=["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:a[h%a.length],department:r[h%r.length],location:n[h%n.length],city:s[h%s.length],country:i[h%i.length],company_type:c[h%c.length],link:"#job-link",logo:`/placeholder.svg?height=50&width=50&text=${a[h%a.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,views:Math.floor(Math.random()*2e3),sponsored:h%7===0}})},DA=({activeDateFilter:t,onDateFilterChange:a,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"}]})=>e.jsxs("div",{className:"date-filter",children:[r&&e.jsxs("label",{htmlFor:"date-filter",className:"text-sm font-medium text-gray-700 mr-2",children:[r,":"]}),e.jsx("select",{id:"date-filter",value:t,onChange:s=>a(s.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(s=>e.jsx("option",{value:s.value,children:s.label},s.value))})]}),zA=({activeDateFilter:t,handleDateFilterChange:a,filterKeys:r,searchableFilters:n,dateFieldLabel:s,activeFilters:i,handleFilterChange:c,toggleSavedJobsFilter:l,filtersData:d,savedJobs:h=[],showOnlySaved:u=!1,isMobileFilterOpen:p,toggleMobileFilter:m,dateOptions:y=[{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"}]})=>e.jsx("div",{children:e.jsxs("div",{className:p?"block":"hidden",children:[e.jsx("div",{className:"fixed inset-0 bg-gray-600 bg-opacity-75 z-40",onClick:()=>m(!p)}),e.jsxs("div",{className:"fixed inset-y-0 right-0 max-w-xs w-full bg-white shadow-xl z-50 overflow-y-auto",children:[e.jsxs("div",{className:"p-4 border-b border-gray-200 flex items-center justify-between",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900",children:"Filters"}),e.jsx("button",{onClick:()=>m(!p),className:"p-2 rounded-full hover:bg-gray-100","aria-label":"Close filters",children:e.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:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),e.jsxs("div",{className:"p-4",children:[e.jsxs("div",{className:"grid grid-cols-[120px_1fr] items-center gap-1 mb-4",children:[e.jsx("span",{className:"text-sm font-medium text-gray-900",children:s}),e.jsx(DA,{activeDateFilter:t,onDateFilterChange:a,dateFieldLabel:"",options:y})]}),r.map(x=>{var v;const f=x.replace(/_/g," ");return e.jsxs("div",{className:"grid grid-cols-[120px_1fr] items-center gap-1 mb-4",children:[e.jsx("span",{className:"text-sm font-medium text-gray-900 capitalize whitespace-nowrap",children:f}),n.includes(x)?e.jsx(H9,{options:d[x]||[],value:i[x]||"",onChange:k=>c(x,k),placeholder:`Select ${f}`,className:"w-full"}):e.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[x]||"",onChange:k=>c(x,k.target.value),children:[e.jsxs("option",{value:"",children:["Select ",f]}),(v=d[x])==null?void 0:v.map(k=>e.jsx("option",{value:k,children:k},k))]})]},x)}),e.jsx("div",{className:"mt-4 pt-4 border-t border-gray-200",children:e.jsx("button",{onClick:()=>m(!p),className:"w-full py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700 transition-colors",children:"Apply Filters"})})]})]})]})}),aS=({totalColumns:t=2})=>e.jsx("div",{className:"flex-grow p-8 animate-fade-in",children:e.jsx("div",{className:"max-w-7xl mx-auto",children:e.jsxs("div",{className:"animate-pulse",children:[e.jsx("div",{className:"h-8 bg-gray-200 rounded w-1/4 mb-6"}),e.jsx("div",{className:`grid grid-cols-1 md:grid-cols-${t} gap-6`,children:[...Array(4)].map((a,r)=>e.jsxs("div",{className:"bg-white rounded-lg shadow-sm p-6",children:[e.jsx("div",{className:"h-6 bg-gray-200 rounded w-3/4 mb-4"}),e.jsx("div",{className:"h-4 bg-gray-200 rounded w-1/2 mb-2"}),e.jsx("div",{className:"h-4 bg-gray-200 rounded w-1/3 mb-4"}),e.jsx("div",{className:"h-20 bg-gray-200 rounded mb-4"}),e.jsx("div",{className:"h-8 bg-gray-200 rounded w-full"})]},r))})]})})}),rS=({data:t,onSelect:a,placeholder:r="Search...",debounceMs:n=250,onTyping:s,className:i="",showSubmitButton:c=!1})=>{const[l,d]=M.useState(""),[h,u]=M.useState([]),[p,m]=M.useState(!1),y=M.useRef(null),x=k=>{d(k),m(!0),s&&s(k)},f=()=>{d(""),u([]),m(!1),s==null||s("")},v=k=>{a(k),d(""),u([]),m(!1)};return M.useEffect(()=>{y.current&&clearTimeout(y.current),y.current=setTimeout(()=>{if(!l){u([]);return}const k=t.filter(w=>w.toLowerCase().includes(l.toLowerCase())).filter((w,j,S)=>S.indexOf(w)===j).slice(0,5);u(k)},n)},[l,t]),e.jsxs("div",{className:`relative w-full ${i}`,children:[e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:e.jsx(Vt,{className:"h-4 w-4 text-gray-400"})}),e.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:k=>x(k.target.value),onFocus:()=>m(h.length>0),onBlur:()=>setTimeout(()=>m(!1),200),onKeyDown:k=>{k.key==="Enter"&&l.trim()&&(k.preventDefault(),v(l.trim()))}}),l&&!c&&e.jsx("button",{onClick:f,className:"absolute inset-y-0 right-2 flex items-center",children:e.jsx(jt,{className:"h-4 w-4 text-gray-400 hover:text-gray-600"})}),c&&e.jsx("button",{onClick:()=>l.trim()&&v(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:e.jsx(Vt,{className:"h-4 w-4"})})]}),p&&h.length>0&&e.jsx("ul",{className:"absolute z-10 mt-1 w-full bg-white border border-gray-200 rounded-lg shadow-md",children:h.map((k,w)=>e.jsx("li",{children:e.jsx("button",{className:"w-full px-4 py-2 text-left text-sm text-gray-700 hover:bg-gray-100",onClick:()=>v(k),children:e.jsxs("div",{className:"flex items-center",children:[e.jsx(Vt,{className:"h-4 w-4 mr-2 text-gray-400"}),k]})})},w))})]})},nS=({onSearchChange:t,title:a="Gaming News",description:r="Latest news and insights from the gaming industry",searchPlaceholder:n="Search news...",popularTags:s=["AI Gaming","Esports","VR/AR","Mobile Gaming","Regulation","Market Analysis"],generateHref:i=u=>`?q=${encodeURIComponent(u)}`,onTagClick:c,onTagRemove:l,popularTagColor:d="#CA8A04",allowTagRemoval:h=!1})=>{M.useState("");const[u,p]=M.useState(()=>new Set),m=s.filter(x=>!u.has(x)),y=x=>{p(f=>{const v=new Set(f);return v.add(x),v}),l==null||l(x)};return e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"bg-white border-b",children:e.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4",children:e.jsx("div",{className:"flex items-center justify-between",children:e.jsxs("div",{children:[e.jsx("h1",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:a}),e.jsx("p",{className:"hidden lg:block text-gray-600",children:r})]})})})}),e.jsx("div",{className:"bg-white border-b",children:e.jsx("div",{className:"max-w-7xl mx-auto py-4 px-4 sm:px-6 lg:px-8",children:e.jsx("div",{className:"overflow-x-auto",children:m.length>0&&e.jsxs("div",{className:"flex items-center space-x-6 py-2 text-sm",children:[e.jsx("span",{className:"text-gray-600 font-medium flex-shrink-0",children:"Popular:"}),m.map(x=>e.jsx(AC,{name:`#${x}`,color:d,size:"sm",href:c?void 0:i(x),onClick:c?()=>c(x):void 0,removable:h,onRemove:h?()=>y(x):void 0},x))]})})})})]})},oE=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 sS(t){const a=oE(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 s of n)if(new RegExp(`\\b${s.replace(/\s+/g,"\\s+")}\\b`,"i").test(a))return s;return null}function cE(t){const a=sS(t);return a||lE(t)}function lE(t){const a=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&&!a.has(i)),n={};for(const i of r)n[i]=(n[i]||0)+1;const s=Object.entries(n).sort((i,c)=>c[1]-i[1]);return s.length>0?s[0][0]:null}const iS=({filters:t,onClearAll:a,handleCreateAlert:r,className:n=""})=>t.length===0?null:e.jsxs("div",{className:`flex flex-wrap gap-2 ${n}`,children:[t.map(s=>e.jsxs("div",{className:"inline-flex items-center bg-yellow-100 text-indigo-800 rounded-full px-3 py-1 text-sm",children:[s.label&&e.jsxs("span",{className:"font-medium mr-1",children:[s.label,":"]}),e.jsx("span",{children:s.value}),e.jsx("button",{className:"ml-2 text-indigo-600 hover:text-indigo-800",onClick:s.onRemove,"aria-label":`Remove ${s.label||s.key} filter`,children:e.jsx(ba,{size:14})})]},`${s.key}-${s.value}`)),e.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:a,children:"Clear All"}),e.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"})]}),EA=({viewMode:t,onToggle:a,className:r=""})=>e.jsxs("div",{className:`view-mode-toggle flex bg-gray-100 p-1 rounded-lg ${r}`,children:[e.jsxs("button",{onClick:a,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:[e.jsx(la,{size:16,className:"mr-1.5"}),e.jsx("span",{className:"text-sm font-medium",children:"Grid"})]}),e.jsxs("button",{onClick:a,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:[e.jsx(Dc,{size:16,className:"mr-1.5"}),e.jsx("span",{className:"text-sm font-medium",children:"List"})]})]}),FA=({value:t,onChange:a,options:r=[5,10,20,50],className:n=""})=>e.jsxs("div",{className:`flex items-center ${n}`,children:[e.jsx("label",{htmlFor:"items-per-page",className:"mr-2 text-sm font-medium text-gray-700",children:"Show:"}),e.jsx("select",{id:"items-per-page",value:t,onChange:s=>a(Number(s.target.value)),className:"px-2 py-1.5 border border-gray-300 rounded-md text-sm bg-white",children:r.map(s=>e.jsx("option",{value:s,children:s},s))})]}),oS=({viewMode:t,onToggleViewMode:a,selectedItemsPerPage:r,onItemsPerPageChange:n,totalCount:s,startIndex:i,endIndex:c,title:l})=>e.jsx("div",{className:"lg:block hidden bg-white rounded-lg shadow-sm border border-gray-200 p-4 mb-6",children:e.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-xl font-semibold text-gray-900",children:l}),e.jsxs("p",{className:"text-sm text-gray-600",children:["Showing ",e.jsx("span",{className:"font-semibold text-gray-900",children:i}),"–",e.jsx("span",{className:"font-semibold text-gray-900",children:c})," of"," ",e.jsx("span",{className:"font-semibold text-gray-900",children:s})," articles"]})]}),e.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center gap-3",children:[e.jsx(EA,{viewMode:t,onToggle:a}),e.jsx(FA,{value:r,onChange:n})]})]})}),dE=({title:t,description:a,ctaText:r,ctaLink:n,bgColor:s="bg-yellow-50",textColor:i="text-yellow-800"})=>e.jsx("div",{className:`promo-card ${s} p-4 rounded-lg shadow-sm hidden md:block`,children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("h3",{className:`font-bold text-lg ${i}`,children:t}),e.jsx("p",{className:`text-sm mt-1 ${i} opacity-90`,children:a})]}),e.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})]})}),hE=({items:t,cardType:a,viewMode:r,savedJobs:n,onSaveJob:s,onViewJob:i,onApplyJob:c,firstItemRef:l=null,userAccess:d})=>{const[h,u]=M.useState([]),[p,m]=M.useState(null);M.useEffect(()=>{try{if(!Array.isArray(t)){console.error("❌ Items is not an array:",t),m("Invalid data format received"),u([]);return}const x=[...t];t.length>5&&x.splice(5,0,{id:"promo-1",title:"Promo",isPromo:!0}),u(x),m(null)}catch(x){console.error("Error processing items:",x),m(`Error processing items: ${x instanceof Error?x.message:String(x)}`),u([])}},[t]);const y=(x,f)=>{const k=f===0&&!x.isPromo?{ref:l}:{};try{if(x.isPromo)return e.jsx("div",{className:"col-span-full my-4",children:e.jsx(dE,{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-${f}`);if(!x||typeof x!="object")return console.error("❌ Invalid item detected:",x),e.jsxs("div",{className:"error-card bg-red-50 p-4 rounded-md border border-red-200",children:[e.jsx("p",{className:"text-red-800 font-medium",children:"Invalid Job Data"}),e.jsx("p",{className:"text-red-600 text-sm",children:"The job data is in an unexpected format."})]});const w=x.id?`${x._id}-${f}`:x.slug?`${x.slug}-${f}`:`item-${f}`;switch(a){case"job":return e.jsx("div",{...k,children:e.jsx(TA,{job:x,positionInList:f,onSaveJob:j=>s(j,f),onViewJob:(j,S,C)=>i(j,f,C),onApplyJob:c?(j,S,C)=>c(j,f,C):void 0,isSaved:n.includes(x.id||x.slug||x.link),userAccess:d})},w);default:return console.warn(`⚠️ Unknown cardType: ${a}`),e.jsxs("div",{className:"error-card bg-yellow-50 p-4 rounded-md border border-yellow-200",children:[e.jsx("p",{className:"text-yellow-800 font-medium",children:"Unknown Card Type"}),e.jsx("p",{className:"text-yellow-700 text-sm",children:"The specified card type is not supported."})]})}}catch(w){return console.error("Error rendering card:",w),e.jsxs("div",{className:"error-card bg-red-50 p-4 rounded-md border border-red-200",children:[e.jsx("p",{className:"text-red-800 font-medium",children:"Error Rendering Card"}),e.jsx("p",{className:"text-red-600 text-sm",children:w instanceof Error?w.message:String(w)})]})}};return p?e.jsxs("div",{className:"bg-red-50 border border-red-200 text-red-800 rounded-lg p-6",children:[e.jsx("h3",{className:"font-semibold mb-2",children:"Error Loading Items"}),e.jsx("p",{children:p})]}):h.length===0?e.jsxs("div",{className:"no-results",children:[e.jsx("h3",{children:"No items found matching your criteria"}),e.jsx("p",{children:"Try adjusting your filters or search term"})]}):e.jsx("div",{className:r==="grid"?"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4":"flex flex-col gap-4","data-view-mode":r,children:h.map((x,f)=>y(x,f))})},B9=({currentPage:t,totalPages:a,onPageChange:r})=>{if(a<=1)return null;const n=5,s=Math.max(1,t-Math.floor(n/2)),i=Math.min(a,s+n-1),c=[];for(let l=s;l<=i;l++)c.push(l);return e.jsx("div",{className:"mt-6 flex justify-center",children:e.jsxs("nav",{className:"flex items-center space-x-2",children:[e.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:e.jsx(Ba,{})}),c.map(l=>e.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)),e.jsx("button",{onClick:()=>r(Math.min(a,t+1)),disabled:t===a,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:e.jsx($a,{})})]})})},uE=({jobs:t,onViewJob:a})=>!t||t.length===0?null:e.jsxs("div",{className:"last-visited-jobs mt-8 bg-white rounded-lg shadow p-4",children:[e.jsx("h2",{className:"text-lg font-semibold mb-4",children:"Recently Viewed Jobs"}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:t.map((r,n)=>e.jsxs("div",{className:"p-3 border rounded-md hover:shadow-md transition-shadow cursor-pointer",onClick:()=>a(r,n,"same_tab","last_visited"),children:[e.jsxs("div",{className:"flex items-center mb-2",children:[e.jsx("img",{src:r.logo||"/placeholder.svg?height=30&width=30",alt:`${r.company} logo`,className:"w-6 h-6 mr-2"}),e.jsx("h3",{className:"font-medium text-sm truncate",children:r.title})]}),e.jsx("p",{className:"text-xs text-gray-600 truncate",children:r.company}),e.jsx("p",{className:"text-xs text-gray-500 truncate",children:r.location})]},r._id||r.slug||r.link))})]}),pE=(t,a,r="date")=>{if(a==="all")return t;const n=new Date,s=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(a){case"today":return l>=s;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}})},yE=(t,a)=>t.filter(r=>{var n,s,i,c,l;if(a.jobTypes.length>0){const d=((n=r.department)==null?void 0:n.toLowerCase())||"";if(!a.jobTypes.some(h=>d.includes(h)))return!1}if(a.experienceLevels.length>0){const d=((s=r.title)==null?void 0:s.toLowerCase())||"";if(!a.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!(a.country&&!(((i=r.location)==null?void 0:i.toLowerCase())||((c=r.city)==null?void 0:c.toLowerCase())||"").includes(a.country.toLowerCase())||a.city&&!(((l=r.company_type)==null?void 0:l.toLowerCase())||"").includes(a.city.toLowerCase()))}),Yc=(t,a)=>{const r={};for(const n of t)for(const s of a){r[s]||(r[s]=new Set);const i=n[s];Array.isArray(i)?i.forEach(c=>{typeof c=="string"&&c.trim()&&r[s].add(c.trim())}):typeof i=="string"&&i.trim()&&r[s].add(i.trim())}return Object.fromEntries(Object.entries(r).map(([n,s])=>[n,Array.from(s)]))},OA=t=>{const a=new URLSearchParams(window.location.search);t==="all"?a.delete("date_filter"):a.set("date_filter",t);const r=`${window.location.pathname}?${a.toString()}`;window.history.replaceState({},"",r)},io=(t,a,r,n,s="date")=>{let i=t.filter(c=>Object.entries(a).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=pE(i,n,s),i},vl=(t,a,r=[],n="date")=>{const s=d=>{const h=d[n]||d.created_at||d.published_at||d.scraped_at;return h?new Date(h).getTime():0},i=d=>{var u;const h=d.views??d.viewCount??((u=d.metrics)==null?void 0:u.views)??0;return typeof h=="number"?h:0},c=d=>{if(r.length===0)return 0;const h=(d.title??"").toLowerCase(),u=(d.overview??"").toLowerCase();return r.reduce((p,m)=>{const y=m.toLowerCase();let x=p;return h.includes(y)&&(x+=3),u.includes(y)&&(x+=1),x},0)},l=[...t];return l.sort((d,h)=>{switch(a){case"date_asc":return s(d)-s(h);case"views_desc":return i(h)-i(d);case"views_asc":return i(d)-i(h);case"relevance":{const u=c(h)-c(d);return u!==0?u:s(h)-s(d)}case"title_asc":{const u=(d.title??"").localeCompare(h.title??"",void 0,{sensitivity:"base"});return u!==0?u:s(h)-s(d)}case"date_desc":default:return s(h)-s(d)}}),l},HA=({dateFieldLabel:t,activeDateFilter:a,onDateFilterChange:r,filterKeys:n,searchableFilters:s,filtersData:i,activeFilters:c,handleFilterChange:l,toggleSavedJobsFilter:d,showOnlySaved:h,savedJobs:u})=>e.jsx("div",{className:"hidden lg:block lg:w-1/4 space-y-6",children:e.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Filters"}),e.jsxs("div",{className:"mb-6",children:[e.jsx("h3",{className:"text-sm font-medium text-gray-900 mb-2",children:t}),e.jsx(DA,{activeDateFilter:a,onDateFilterChange:r,dateFieldLabel:""})]}),n.map(p=>{var m;return e.jsxs("div",{className:"mb-6",children:[e.jsx("h3",{className:"text-sm font-medium text-gray-900 mb-2",children:p.replace(/_/g," ").replace(/^\w/,y=>y.toUpperCase())}),s.includes(p)?e.jsx(H9,{options:i[p]||[],value:c[p]||"",onChange:y=>l(p,y),placeholder:`Select ${p.replace(/_/g," ")}`,className:"w-full"}):e.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:y=>l(p,y.target.value),children:[e.jsxs("option",{value:"",children:["Select ",p.replace(/_/g," ")]}),(m=i[p])==null?void 0:m.map(y=>e.jsx("option",{value:y,children:y},y))]})]},p)}),e.jsx("div",{className:"mt-6",children:e.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:[e.jsx(ya,{size:16,className:"mr-2"}),e.jsxs("span",{children:["Saved Jobs (",u.length,")"]})]})})]})});function Kc(t,a,{checkForDefaultPrevented:r=!0}={}){return function(s){if(t==null||t(s),r===!1||!s.defaultPrevented)return a==null?void 0:a(s)}}function xL(t,a){if(typeof t=="function")return t(a);t!=null&&(t.current=a)}function mE(...t){return a=>{let r=!1;const n=t.map(s=>{const i=xL(s,a);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let s=0;s<n.length;s++){const i=n[s];typeof i=="function"?i():xL(t[s],null)}}}}function $9(...t){return g.useCallback(mE(...t),t)}function fE(t,a){const r=g.createContext(a),n=i=>{const{children:c,...l}=i,d=g.useMemo(()=>l,Object.values(l));return e.jsx(r.Provider,{value:d,children:c})};n.displayName=t+"Provider";function s(i){const c=g.useContext(r);if(c)return c;if(a!==void 0)return a;throw new Error(`\`${i}\` must be used within \`${t}\``)}return[n,s]}function xE(t,a=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var k;const{scope:m,children:y,...x}=p,f=((k=m==null?void 0:m[t])==null?void 0:k[d])||l,v=g.useMemo(()=>x,Object.values(x));return e.jsx(f.Provider,{value:v,children:y})};h.displayName=i+"Provider";function u(p,m){var f;const y=((f=m==null?void 0:m[t])==null?void 0:f[d])||l,x=g.useContext(y);if(x)return x;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const s=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return s.scopeName=t,[n,gE(s,...a)]}function gE(...t){const a=t[0];if(t.length===1)return a;const r=()=>{const n=t.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${a.scopeName}`]:c}),[c])}};return r.scopeName=a.scopeName,r}var j9=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},kE=g[" useId ".trim().toString()]||(()=>{}),vE=0;function jj(t){const[a,r]=g.useState(kE());return j9(()=>{t||r(n=>n??String(vE++))},[t]),t||(a?`radix-${a}`:"")}var wE=g[" useInsertionEffect ".trim().toString()]||j9;function bE({prop:t,defaultProp:a,onChange:r=()=>{},caller:n}){const[s,i,c]=ME({defaultProp:a,onChange:r}),l=t!==void 0,d=l?t:s;{const u=g.useRef(t!==void 0);g.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${n} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=l},[l,n])}const h=g.useCallback(u=>{var p;if(l){const m=jE(u)?u(t):u;m!==t&&((p=c.current)==null||p.call(c,m))}else i(u)},[l,t,i,c]);return[d,h]}function ME({defaultProp:t,onChange:a}){const[r,n]=g.useState(t),s=g.useRef(r),i=g.useRef(a);return wE(()=>{i.current=a},[a]),g.useEffect(()=>{var c;s.current!==r&&((c=i.current)==null||c.call(i,r),s.current=r)},[r,s]),[r,n,i]}function jE(t){return typeof t=="function"}function Cj(t,a,{checkForDefaultPrevented:r=!0}={}){return function(s){if(t==null||t(s),r===!1||!s.defaultPrevented)return a==null?void 0:a(s)}}var CE=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],VA=CE.reduce((t,a)=>{const r=Ke(`Primitive.${a}`),n=g.forwardRef((s,i)=>{const{asChild:c,...l}=s,d=c?r:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),e.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${a}`,{...t,[a]:n}},{});function SE(t,a){t&&q9.flushSync(()=>t.dispatchEvent(a))}function gL(t,a){if(typeof t=="function")return t(a);t!=null&&(t.current=a)}function LE(...t){return a=>{let r=!1;const n=t.map(s=>{const i=gL(s,a);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let s=0;s<n.length;s++){const i=n[s];typeof i=="function"?i():gL(t[s],null)}}}}function BA(...t){return g.useCallback(LE(...t),t)}function $A(t){const a=g.useRef(t);return g.useEffect(()=>{a.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=a.current)==null?void 0:n.call(a,...r)},[])}function NE(t){const a=g.useRef(t);return g.useEffect(()=>{a.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=a.current)==null?void 0:n.call(a,...r)},[])}function IE(t,a=globalThis==null?void 0:globalThis.document){const r=NE(t);g.useEffect(()=>{const n=s=>{s.key==="Escape"&&r(s)};return a.addEventListener("keydown",n,{capture:!0}),()=>a.removeEventListener("keydown",n,{capture:!0})},[r,a])}var AE="DismissableLayer",hC="dismissableLayer.update",PE="dismissableLayer.pointerDownOutside",_E="dismissableLayer.focusOutside",kL,UA=g.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),U9=g.forwardRef((t,a)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:s,onFocusOutside:i,onInteractOutside:c,onDismiss:l,...d}=t,h=g.useContext(UA),[u,p]=g.useState(null),m=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,y]=g.useState({}),x=BA(a,L=>p(L)),f=Array.from(h.layers),[v]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),k=f.indexOf(v),w=u?f.indexOf(u):-1,j=h.layersWithOutsidePointerEventsDisabled.size>0,S=w>=k,C=qE(L=>{const b=L.target,N=[...h.branches].some(q=>q.contains(b));!S||N||(s==null||s(L),c==null||c(L),L.defaultPrevented||l==null||l())},m),A=DE(L=>{const b=L.target;[...h.branches].some(q=>q.contains(b))||(i==null||i(L),c==null||c(L),L.defaultPrevented||l==null||l())},m);return IE(L=>{w===h.layers.size-1&&(n==null||n(L),!L.defaultPrevented&&l&&(L.preventDefault(),l()))},m),g.useEffect(()=>{if(u)return r&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(kL=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(u)),h.layers.add(u),vL(),()=>{r&&h.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=kL)}},[u,m,r,h]),g.useEffect(()=>()=>{u&&(h.layers.delete(u),h.layersWithOutsidePointerEventsDisabled.delete(u),vL())},[u,h]),g.useEffect(()=>{const L=()=>y({});return document.addEventListener(hC,L),()=>document.removeEventListener(hC,L)},[]),e.jsx(VA.div,{...d,ref:x,style:{pointerEvents:j?S?"auto":"none":void 0,...t.style},onFocusCapture:Cj(t.onFocusCapture,A.onFocusCapture),onBlurCapture:Cj(t.onBlurCapture,A.onBlurCapture),onPointerDownCapture:Cj(t.onPointerDownCapture,C.onPointerDownCapture)})});U9.displayName=AE;var RE="DismissableLayerBranch",TE=g.forwardRef((t,a)=>{const r=g.useContext(UA),n=g.useRef(null),s=BA(a,n);return g.useEffect(()=>{const i=n.current;if(i)return r.branches.add(i),()=>{r.branches.delete(i)}},[r.branches]),e.jsx(VA.div,{...t,ref:s})});TE.displayName=RE;function qE(t,a=globalThis==null?void 0:globalThis.document){const r=$A(t),n=g.useRef(!1),s=g.useRef(()=>{});return g.useEffect(()=>{const i=l=>{if(l.target&&!n.current){let d=function(){GA(PE,r,h,{discrete:!0})};const h={originalEvent:l};l.pointerType==="touch"?(a.removeEventListener("click",s.current),s.current=d,a.addEventListener("click",s.current,{once:!0})):d()}else a.removeEventListener("click",s.current);n.current=!1},c=window.setTimeout(()=>{a.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(c),a.removeEventListener("pointerdown",i),a.removeEventListener("click",s.current)}},[a,r]),{onPointerDownCapture:()=>n.current=!0}}function DE(t,a=globalThis==null?void 0:globalThis.document){const r=$A(t),n=g.useRef(!1);return g.useEffect(()=>{const s=i=>{i.target&&!n.current&&GA(_E,r,{originalEvent:i},{discrete:!1})};return a.addEventListener("focusin",s),()=>a.removeEventListener("focusin",s)},[a,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function vL(){const t=new CustomEvent(hC);document.dispatchEvent(t)}function GA(t,a,r,{discrete:n}){const s=r.originalEvent.target,i=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:r});a&&s.addEventListener(t,a,{once:!0}),n?SE(s,i):s.dispatchEvent(i)}function wL(t,a){if(typeof t=="function")return t(a);t!=null&&(t.current=a)}function zE(...t){return a=>{let r=!1;const n=t.map(s=>{const i=wL(s,a);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let s=0;s<n.length;s++){const i=n[s];typeof i=="function"?i():wL(t[s],null)}}}}function EE(...t){return g.useCallback(zE(...t),t)}var FE=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],OE=FE.reduce((t,a)=>{const r=Ke(`Primitive.${a}`),n=g.forwardRef((s,i)=>{const{asChild:c,...l}=s,d=c?r:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),e.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${a}`,{...t,[a]:n}},{});function bL(t){const a=g.useRef(t);return g.useEffect(()=>{a.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=a.current)==null?void 0:n.call(a,...r)},[])}var Sj="focusScope.autoFocusOnMount",Lj="focusScope.autoFocusOnUnmount",ML={bubbles:!1,cancelable:!0},HE="FocusScope",G9=g.forwardRef((t,a)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:s,onUnmountAutoFocus:i,...c}=t,[l,d]=g.useState(null),h=bL(s),u=bL(i),p=g.useRef(null),m=EE(a,f=>d(f)),y=g.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;g.useEffect(()=>{if(n){let f=function(j){if(y.paused||!l)return;const S=j.target;l.contains(S)?p.current=S:or(p.current,{select:!0})},v=function(j){if(y.paused||!l)return;const S=j.relatedTarget;S!==null&&(l.contains(S)||or(p.current,{select:!0}))},k=function(j){if(document.activeElement===document.body)for(const C of j)C.removedNodes.length>0&&or(l)};document.addEventListener("focusin",f),document.addEventListener("focusout",v);const w=new MutationObserver(k);return l&&w.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",f),document.removeEventListener("focusout",v),w.disconnect()}}},[n,l,y.paused]),g.useEffect(()=>{if(l){CL.add(y);const f=document.activeElement;if(!l.contains(f)){const k=new CustomEvent(Sj,ML);l.addEventListener(Sj,h),l.dispatchEvent(k),k.defaultPrevented||(VE(WE(WA(l)),{select:!0}),document.activeElement===f&&or(l))}return()=>{l.removeEventListener(Sj,h),setTimeout(()=>{const k=new CustomEvent(Lj,ML);l.addEventListener(Lj,u),l.dispatchEvent(k),k.defaultPrevented||or(f??document.body,{select:!0}),l.removeEventListener(Lj,u),CL.remove(y)},0)}}},[l,h,u,y]);const x=g.useCallback(f=>{if(!r&&!n||y.paused)return;const v=f.key==="Tab"&&!f.altKey&&!f.ctrlKey&&!f.metaKey,k=document.activeElement;if(v&&k){const w=f.currentTarget,[j,S]=BE(w);j&&S?!f.shiftKey&&k===S?(f.preventDefault(),r&&or(j,{select:!0})):f.shiftKey&&k===j&&(f.preventDefault(),r&&or(S,{select:!0})):k===w&&f.preventDefault()}},[r,n,y.paused]);return e.jsx(OE.div,{tabIndex:-1,...c,ref:m,onKeyDown:x})});G9.displayName=HE;function VE(t,{select:a=!1}={}){const r=document.activeElement;for(const n of t)if(or(n,{select:a}),document.activeElement!==r)return}function BE(t){const a=WA(t),r=jL(a,t),n=jL(a.reverse(),t);return[r,n]}function WA(t){const a=[],r=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const s=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||s?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)a.push(r.currentNode);return a}function jL(t,a){for(const r of t)if(!$E(r,{upTo:a}))return r}function $E(t,{upTo:a}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(a!==void 0&&t===a)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function UE(t){return t instanceof HTMLInputElement&&"select"in t}function or(t,{select:a=!1}={}){if(t&&t.focus){const r=document.activeElement;t.focus({preventScroll:!0}),t!==r&&UE(t)&&a&&t.select()}}var CL=GE();function GE(){let t=[];return{add(a){const r=t[0];a!==r&&(r==null||r.pause()),t=SL(t,a),t.unshift(a)},remove(a){var r;t=SL(t,a),(r=t[0])==null||r.resume()}}}function SL(t,a){const r=[...t],n=r.indexOf(a);return n!==-1&&r.splice(n,1),r}function WE(t){return t.filter(a=>a.tagName!=="A")}var ZE=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],JE=ZE.reduce((t,a)=>{const r=Ke(`Primitive.${a}`),n=g.forwardRef((s,i)=>{const{asChild:c,...l}=s,d=c?r:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),e.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${a}`,{...t,[a]:n}},{}),XE=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},YE="Portal",W9=g.forwardRef((t,a)=>{var l;const{container:r,...n}=t,[s,i]=g.useState(!1);XE(()=>i(!0),[]);const c=r||s&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return c?LC.createPortal(e.jsx(JE.div,{...n,ref:a}),c):null});W9.displayName=YE;function KE(t,a){return g.useReducer((r,n)=>a[r][n]??r,t)}var Z9=t=>{const{present:a,children:r}=t,n=QE(a),s=typeof r=="function"?r({present:n.isPresent}):g.Children.only(r),i=$9(n.ref,eF(s));return typeof r=="function"||n.isPresent?g.cloneElement(s,{ref:i}):null};Z9.displayName="Presence";function QE(t){const[a,r]=g.useState(),n=g.useRef(null),s=g.useRef(t),i=g.useRef("none"),c=t?"mounted":"unmounted",[l,d]=KE(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const h=wl(n.current);i.current=l==="mounted"?h:"none"},[l]),j9(()=>{const h=n.current,u=s.current;if(u!==t){const m=i.current,y=wl(h);t?d("MOUNT"):y==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&m!==y?"ANIMATION_OUT":"UNMOUNT"),s.current=t}},[t,d]),j9(()=>{if(a){let h;const u=a.ownerDocument.defaultView??window,p=y=>{const f=wl(n.current).includes(CSS.escape(y.animationName));if(y.target===a&&f&&(d("ANIMATION_END"),!s.current)){const v=a.style.animationFillMode;a.style.animationFillMode="forwards",h=u.setTimeout(()=>{a.style.animationFillMode==="forwards"&&(a.style.animationFillMode=v)})}},m=y=>{y.target===a&&(i.current=wl(n.current))};return a.addEventListener("animationstart",m),a.addEventListener("animationcancel",p),a.addEventListener("animationend",p),()=>{u.clearTimeout(h),a.removeEventListener("animationstart",m),a.removeEventListener("animationcancel",p),a.removeEventListener("animationend",p)}}else d("ANIMATION_END")},[a,d]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:g.useCallback(h=>{n.current=h?getComputedStyle(h):null,r(h)},[])}}function wl(t){return(t==null?void 0:t.animationName)||"none"}function eF(t){var n,s;let a=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=a&&"isReactWarning"in a&&a.isReactWarning;return r?t.ref:(a=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,r=a&&"isReactWarning"in a&&a.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var tF=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ul=tF.reduce((t,a)=>{const r=Ke(`Primitive.${a}`),n=g.forwardRef((s,i)=>{const{asChild:c,...l}=s,d=c?r:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),e.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${a}`,{...t,[a]:n}},{}),Nj=0;function cS(){g.useEffect(()=>{const t=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",t[0]??LL()),document.body.insertAdjacentElement("beforeend",t[1]??LL()),Nj++,()=>{Nj===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(a=>a.remove()),Nj--}},[])}function LL(){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 Ca=function(){return Ca=Object.assign||function(a){for(var r,n=1,s=arguments.length;n<s;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])}return a},Ca.apply(this,arguments)};function ZA(t,a){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&a.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,n=Object.getOwnPropertySymbols(t);s<n.length;s++)a.indexOf(n[s])<0&&Object.prototype.propertyIsEnumerable.call(t,n[s])&&(r[n[s]]=t[n[s]]);return r}function aF(t,a,r){if(r||arguments.length===2)for(var n=0,s=a.length,i;n<s;n++)(i||!(n in a))&&(i||(i=Array.prototype.slice.call(a,0,n)),i[n]=a[n]);return t.concat(i||Array.prototype.slice.call(a))}var d9="right-scroll-bar-position",h9="width-before-scroll-bar",rF="with-scroll-bars-hidden",nF="--removed-body-scroll-bar-size";function Ij(t,a){return typeof t=="function"?t(a):t&&(t.current=a),t}function sF(t,a){var r=M.useState(function(){return{value:t,callback:a,facade:{get current(){return r.value},set current(n){var s=r.value;s!==n&&(r.value=n,r.callback(n,s))}}}})[0];return r.callback=a,r.facade}var iF=typeof window<"u"?g.useLayoutEffect:g.useEffect,NL=new WeakMap;function oF(t,a){var r=sF(null,function(n){return t.forEach(function(s){return Ij(s,n)})});return iF(function(){var n=NL.get(r);if(n){var s=new Set(n),i=new Set(t),c=r.current;s.forEach(function(l){i.has(l)||Ij(l,null)}),i.forEach(function(l){s.has(l)||Ij(l,c)})}NL.set(r,t)},[t]),r}function cF(t){return t}function lF(t,a){a===void 0&&(a=cF);var r=[],n=!1,s={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=a(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 s}function dF(t){t===void 0&&(t={});var a=lF(null);return a.options=Ca({async:!0,ssr:!1},t),a}var JA=function(t){var a=t.sideCar,r=ZA(t,["sideCar"]);if(!a)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=a.read();if(!n)throw new Error("Sidecar medium not found");return g.createElement(n,Ca({},r))};JA.isSideCarExport=!0;function hF(t,a){return t.useMedium(a),JA}var XA=dF(),Aj=function(){},J9=g.forwardRef(function(t,a){var r=g.useRef(null),n=g.useState({onScrollCapture:Aj,onWheelCapture:Aj,onTouchMoveCapture:Aj}),s=n[0],i=n[1],c=t.forwardProps,l=t.children,d=t.className,h=t.removeScrollBar,u=t.enabled,p=t.shards,m=t.sideCar,y=t.noRelative,x=t.noIsolation,f=t.inert,v=t.allowPinchZoom,k=t.as,w=k===void 0?"div":k,j=t.gapMode,S=ZA(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=m,A=oF([r,a]),L=Ca(Ca({},S),s);return g.createElement(g.Fragment,null,u&&g.createElement(C,{sideCar:XA,removeScrollBar:h,shards:p,noRelative:y,noIsolation:x,inert:f,setCallbacks:i,allowPinchZoom:!!v,lockRef:r,gapMode:j}),c?g.cloneElement(g.Children.only(l),Ca(Ca({},L),{ref:A})):g.createElement(w,Ca({},L,{className:d,ref:A}),l))});J9.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};J9.classNames={fullWidth:h9,zeroRight:d9};var uF=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function pF(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var a=uF();return a&&t.setAttribute("nonce",a),t}function yF(t,a){t.styleSheet?t.styleSheet.cssText=a:t.appendChild(document.createTextNode(a))}function mF(t){var a=document.head||document.getElementsByTagName("head")[0];a.appendChild(t)}var fF=function(){var t=0,a=null;return{add:function(r){t==0&&(a=pF())&&(yF(a,r),mF(a)),t++},remove:function(){t--,!t&&a&&(a.parentNode&&a.parentNode.removeChild(a),a=null)}}},xF=function(){var t=fF();return function(a,r){g.useEffect(function(){return t.add(a),function(){t.remove()}},[a&&r])}},YA=function(){var t=xF(),a=function(r){var n=r.styles,s=r.dynamic;return t(n,s),null};return a},gF={left:0,top:0,right:0,gap:0},Pj=function(t){return parseInt(t||"",10)||0},kF=function(t){var a=window.getComputedStyle(document.body),r=a[t==="padding"?"paddingLeft":"marginLeft"],n=a[t==="padding"?"paddingTop":"marginTop"],s=a[t==="padding"?"paddingRight":"marginRight"];return[Pj(r),Pj(n),Pj(s)]},vF=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return gF;var a=kF(t),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:a[0],top:a[1],right:a[2],gap:Math.max(0,n-r+a[2]-a[0])}},wF=YA(),Qo="data-scroll-locked",bF=function(t,a,r,n){var s=t.left,i=t.top,c=t.right,l=t.gap;return r===void 0&&(r="margin"),`
7757
- .`.concat(rF,` {
7755
+ `,"aria-label":i?"Unsave job":"Save job",title:S,children:e.jsx(ga,{size:20,className:`transition-colors ${i?"fill-blue-600 text-yellow-600":""}`})}),v||w?e.jsx("button",{className:"flex-1 px-4 py-2 bg-gray-200 text-gray-600 rounded-lg cursor-not-allowed text-sm font-medium text-center","aria-disabled":"true",onClick:d,children:"Sign in to view links"}):e.jsx("a",{href:C,target:t.description&&t.description!=""?"_self":"_blank",rel:"noopener noreferrer",className:`flex-1 px-4 py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700
7756
+ transition-colors text-sm font-medium text-center`,onClick:d,children:"Apply Now"})]}),!f&&e.jsx("p",{className:"mt-2 text-xs text-gray-500",children:"Create an account to save this item."})]})},tE=({jobs:t,onSaveJob:a,onViewJob:r,isJobSaved:n,userAccess:s})=>t.length===0?e.jsxs("div",{className:"no-results",children:[e.jsx("h3",{children:"No jobs found matching your criteria"}),e.jsx("p",{children:"Try adjusting your filters or search term"})]}):e.jsx("div",{className:"jobs-grid",children:t.map(i=>e.jsx(TA,{job:i,onSaveJob:a,onViewJob:r,isSaved:n(i),userAccess:s},i.link))}),aE=({currentPage:t,totalPages:a,setCurrentPage:r})=>{if(a<=1)return null;const n=[];if(a<=5)for(let i=1;i<=a;i++)n.push(i);else if(t<=3)for(let i=1;i<=5;i++)n.push(i);else if(t>=a-2)for(let i=a-4;i<=a;i++)n.push(i);else for(let i=t-2;i<=t+2;i++)n.push(i);return e.jsxs("div",{className:"pagination",children:[e.jsx("button",{className:"pagination-button prev-button",disabled:t===1,onClick:()=>r(t-1),children:e.jsx(Ga,{})}),n.map(i=>e.jsx("button",{className:`pagination-button ${t===i?"active":""}`,onClick:()=>r(i),children:i},i)),e.jsx("button",{className:"pagination-button next-button",disabled:t===a,onClick:()=>r(t+1),children:e.jsx(Wa,{})})]})},rE=({isOpen:t,onClose:a,filterKeys:r,filtersData:n,activeFilters:s,handleFilterChange:i,handleSearchChange:c,searchTerm:l,clearAllFilters:d,searchFilters:h,removeSearchFilter:u})=>e.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:e.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:e.jsxs("div",{className:"p-4",children:[e.jsxs("div",{className:"flex justify-between items-center mb-4",children:[e.jsx("h2",{className:"text-lg font-semibold",children:"Filters"}),e.jsx("button",{onClick:a,className:"text-gray-500 hover:text-gray-700",children:e.jsx("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),e.jsx("div",{className:"mb-4",children:e.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 m;return e.jsxs("div",{className:"mb-4",children:[e.jsx("label",{htmlFor:`mobile-${p}`,className:"block text-sm font-medium text-gray-700 mb-1",children:p.replace(/_/g," ")}),e.jsxs("select",{id:`mobile-${p}`,className:"w-full p-2 border border-gray-300 rounded-md",onChange:y=>i(p,y.target.value),value:s[p]||"",children:[e.jsxs("option",{value:"",children:["Select ",p.replace(/_/g," ")]}),(m=n[p])==null?void 0:m.map(y=>e.jsx("option",{value:y,children:y},y))]})]},p)}),Object.keys(s).length>0&&e.jsxs("div",{className:"mt-4",children:[e.jsx("h3",{className:"text-sm font-semibold mb-2",children:"Active Filters:"}),Object.entries(s).map(([p,m])=>e.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:[e.jsxs("span",{children:[p.replace(/_/g," "),": ",m]}),e.jsx("button",{className:"ml-2 text-yellow-600 hover:text-yellow-800",onClick:()=>i(p,""),children:"×"})]},p)),e.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"})]})]})})}),nE=({apiUrl:t,itemsPerPage:a,filterKeys:r,enableSearch:n,enablePagination:s,enableMobileFilter:i,banners:c,userAccess:l})=>{const[d,h]=M.useState([]),[u,p]=M.useState(1),[m,y]=M.useState({}),[x,f]=M.useState([]),[v,k]=M.useState({}),[w,j]=M.useState(""),[S,C]=M.useState([]),[A,L]=M.useState(!1),b=V9(l);M.useEffect(()=>{fetch(`${t}/items`).then(Q=>Q.json()).then(Q=>{h(Q)}).catch(Q=>console.error("Error fetching items:",Q))},[t]);const N=Q=>{const ee={};Q.forEach(we=>{r.forEach(Z=>{ee[Z]||(ee[Z]=new Set);const te=we[Z];te!=null&&ee[Z].add(String(te))})});const ue={};return Object.keys(ee).forEach(we=>{ue[we]=Array.from(ee[we])}),ue};function q(Q,ee,ue){let we=Q.filter(Z=>Object.entries(ee).every(([te,ve])=>{const fe=Z[te];return typeof fe=="string"&&fe.toLowerCase()===ve.toLowerCase()}));return ue.length>0&&(we=we.filter(Z=>ue.every(te=>Z.title.toLowerCase().includes(te.toLowerCase())))),we}const P=M.useMemo(()=>q(d,m,x),[m,d,x]),R=(Q,ee)=>{y(ue=>{const we=ee?{...ue,[Q]:ee}:{...ue};return ee||delete we[Q],we})},T=Q=>{if(j(Q),Q){const ee=d.map(ue=>ue.title).filter((ue,we,Z)=>ue&&ue.toLowerCase().includes(Q.toLowerCase())&&Z.indexOf(ue)===we).slice(0,5);C(ee)}else C([])},$=Q=>{if(Q.key==="Enter"&&w.trim()){Q.preventDefault();const ee=[...x,w.trim()];f(ee),j("")}},W=Q=>{const ee=x.filter(ue=>ue!==Q);f(ee)},B=()=>{y({}),f([]),p(1)};M.useEffect(()=>{k(N(P))},[r,P]),M.useEffect(()=>{p(1)},[m,x]);const U=()=>{L(!A)},O=(Q,ee)=>{},oe=Q=>{},ae=Q=>!1,Y=Math.ceil(P.length/a),J=P.slice((u-1)*a,u*a);return e.jsxs("div",{className:"flex flex-col min-h-screen",children:[e.jsx("div",{className:"flex-grow",children:e.jsxs("div",{className:"job-listings-container",children:[e.jsx("div",{className:"header-container",children:e.jsxs("div",{className:"header-content",children:[e.jsx("h1",{className:"main-title",children:"Job Listings"}),e.jsxs("p",{className:"items-count",children:["Total: ",e.jsx("span",{className:"count-value",children:P.length})]})]})}),e.jsx("button",{className:"md:hidden w-full mb-4 px-4 py-2 bg-yellow-600 text-white rounded-md",onClick:U,children:A?"Close Filters":"Open Filters"}),e.jsxs("div",{className:"hidden md:block filters-container",children:[e.jsx(Qz,{searchTerm:w,handleSearchChange:T,handleSearchKeyDown:$,suggestions:S}),e.jsx(Kz,{filterKeys:r,filtersData:v,activeFilters:m,handleFilterChange:R,searchFilters:x,removeSearchFilter:W,clearAllFilters:B,searchableFilters:["company"]})]}),e.jsx(rE,{isOpen:A,onClose:U,filterKeys:r,filtersData:v,activeFilters:m,handleFilterChange:R,handleSearchChange:T,searchTerm:w,clearAllFilters:B,handleSearchKeyDown:$,searchFilters:x,removeSearchFilter:W}),e.jsxs("div",{className:"flex flex-col md:flex-row",children:[e.jsxs("div",{className:"w-full md:w-3/4 md:pr-4",children:[e.jsx("h2",{className:"section-title",children:"Open Positions"}),e.jsx(tE,{jobs:J,onSaveJob:O,onViewJob:oe,isJobSaved:ae,userAccess:b}),e.jsx(aE,{currentPage:u,totalPages:Y,setCurrentPage:p})]}),e.jsx("div",{className:"w-full md:w-1/4 mt-4 md:mt-0",children:e.jsx("div",{className:"sticky top-4",children:c.sidebar.enabled&&c.sidebar.url&&e.jsx(ol,{position:"sidebar",url:c.sidebar.url,link:c.sidebar.link,alt:c.sidebar.alt})})})]})]})}),c.bottom.enabled&&c.bottom.url&&e.jsx(ol,{position:"top",url:c.bottom.url,link:c.bottom.link,alt:c.bottom.alt})]})},sE=({title:t="Subscribe to our newsletter",description:a="The latest job opportunities and career tips, weekly in your inbox.",links:r=[]})=>{const[n,s]=M.useState(!1),[i,c]=M.useState(null);M.useEffect(()=>{try{const d=localStorage.getItem("email");d&&(s(!0),c(d))}catch{}},[]);const l=d=>{d.preventDefault()};return e.jsx("footer",{className:"bg-gray-800 text-white",children:e.jsxs("div",{className:"max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:py-16 lg:px-8",children:[e.jsxs("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[e.jsx("div",{className:"grid grid-cols-2 gap-8 xl:col-span-2",children:e.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?e.jsxs("div",{className:"mt-12 md:mt-0",children:[e.jsx("h3",{className:"text-sm font-semibold text-gray-400 tracking-wider uppercase",children:((u=d[0])==null?void 0:u.text)||"Section"}),e.jsx("ul",{className:"mt-4 space-y-4",children:d.map((p,m)=>e.jsx("li",{children:e.jsx("a",{href:p.url,className:"hover:text-gray-300",children:p.text})},m))})]},h):null})})}),e.jsxs("div",{className:"mt-8 xl:mt-0",children:[e.jsx("h3",{className:"text-sm font-semibold text-gray-400 tracking-wider uppercase",children:t}),e.jsx("p",{className:"mt-4 text-base text-gray-300",children:a}),n?e.jsxs("p",{className:"mt-4 text-green-400 font-medium",children:["✅ You’re subscribed",i?` as ${i}`:"","!"]}):e.jsxs("form",{className:"mt-4 sm:flex sm:max-w-md",onSubmit:l,children:[e.jsx("label",{htmlFor:"email-address",className:"sr-only",children:"Email address"}),e.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"}),e.jsx("div",{className:"mt-3 rounded-md sm:mt-0 sm:ml-3 sm:flex-shrink-0",children:e.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"})})]})]})]}),e.jsx("div",{className:"mt-8 border-t border-gray-700 pt-8",children:e.jsxs("p",{className:"text-base text-gray-400 xl:text-center",children:["© ",new Date().getFullYear()," JobBoard, Inc. All rights reserved."]})})]})})},iE=({logo:t="",links:a=[],buttonText:r="Post a Job",buttonUrl:n="/post-job"})=>e.jsx("nav",{className:"bg-white shadow-md",children:e.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:e.jsxs("div",{className:"flex justify-between h-16",children:[e.jsxs("div",{className:"flex",children:[e.jsx("div",{className:"flex-shrink-0 flex items-center",children:e.jsx("a",{href:"/",className:"text-xl font-bold text-yellow-600",children:t?e.jsx("img",{src:t,alt:"Logo",className:"h-6 w-6"}):e.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:e.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"})})})}),e.jsx("div",{className:"hidden sm:ml-6 sm:flex sm:space-x-8",children:a.map((s,i)=>e.jsx("a",{href:s.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:s.text},i))})]}),e.jsx("div",{className:"hidden sm:ml-6 sm:flex sm:items-center",children:e.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})})]})})}),qA=({savedJobsCount:t})=>{const[a,r]=M.useState("");M.useEffect(()=>{typeof window<"u"&&r(window.location.pathname)},[]);const n=s=>a===s;return e.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:e.jsxs("div",{className:"grid grid-cols-5 h-16",children:[e.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:[e.jsx(Ua,{className:"w-6 h-6"}),e.jsx("span",{className:"text-xs mt-1",children:"Home"})]}),e.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:[e.jsx(nt,{className:"w-6 h-6"}),e.jsx("span",{className:"text-xs mt-1",children:"Jobs"})]}),e.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:[e.jsx(Mc,{className:"w-6 h-6"}),e.jsx("span",{className:"text-xs mt-1",children:"Saved"}),t>0&&e.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})]}),e.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:[e.jsx(ra,{className:"w-6 h-6"}),e.jsx("span",{className:"text-xs mt-1",children:"Courses"})]}),e.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:[e.jsx(_a,{className:"w-6 h-6"}),e.jsx("span",{className:"text-xs mt-1",children:"News"})]})]})})},oE=t=>{const a=["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"],s=["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:a[h%a.length],department:r[h%r.length],location:n[h%n.length],city:s[h%s.length],country:i[h%i.length],company_type:c[h%c.length],link:"#job-link",logo:`/placeholder.svg?height=50&width=50&text=${a[h%a.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,views:Math.floor(Math.random()*2e3),sponsored:h%7===0}})},DA=({activeDateFilter:t,onDateFilterChange:a,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"}]})=>e.jsxs("div",{className:"date-filter",children:[r&&e.jsxs("label",{htmlFor:"date-filter",className:"text-sm font-medium text-gray-700 mr-2",children:[r,":"]}),e.jsx("select",{id:"date-filter",value:t,onChange:s=>a(s.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(s=>e.jsx("option",{value:s.value,children:s.label},s.value))})]}),zA=({activeDateFilter:t,handleDateFilterChange:a,filterKeys:r,searchableFilters:n,dateFieldLabel:s,activeFilters:i,handleFilterChange:c,toggleSavedJobsFilter:l,filtersData:d,savedJobs:h=[],showOnlySaved:u=!1,isMobileFilterOpen:p,toggleMobileFilter:m,dateOptions:y=[{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"}]})=>e.jsx("div",{children:e.jsxs("div",{className:p?"block":"hidden",children:[e.jsx("div",{className:"fixed inset-0 bg-gray-600 bg-opacity-75 z-40",onClick:()=>m(!p)}),e.jsxs("div",{className:"fixed inset-y-0 right-0 max-w-xs w-full bg-white shadow-xl z-50 overflow-y-auto",children:[e.jsxs("div",{className:"p-4 border-b border-gray-200 flex items-center justify-between",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900",children:"Filters"}),e.jsx("button",{onClick:()=>m(!p),className:"p-2 rounded-full hover:bg-gray-100","aria-label":"Close filters",children:e.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:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),e.jsxs("div",{className:"p-4",children:[e.jsxs("div",{className:"grid grid-cols-[120px_1fr] items-center gap-1 mb-4",children:[e.jsx("span",{className:"text-sm font-medium text-gray-900",children:s}),e.jsx(DA,{activeDateFilter:t,onDateFilterChange:a,dateFieldLabel:"",options:y})]}),r.map(x=>{var v;const f=x.replace(/_/g," ");return e.jsxs("div",{className:"grid grid-cols-[120px_1fr] items-center gap-1 mb-4",children:[e.jsx("span",{className:"text-sm font-medium text-gray-900 capitalize whitespace-nowrap",children:f}),n.includes(x)?e.jsx(H9,{options:d[x]||[],value:i[x]||"",onChange:k=>c(x,k),placeholder:`Select ${f}`,className:"w-full"}):e.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[x]||"",onChange:k=>c(x,k.target.value),children:[e.jsxs("option",{value:"",children:["Select ",f]}),(v=d[x])==null?void 0:v.map(k=>e.jsx("option",{value:k,children:k},k))]})]},x)}),e.jsx("div",{className:"mt-4 pt-4 border-t border-gray-200",children:e.jsx("button",{onClick:()=>m(!p),className:"w-full py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700 transition-colors",children:"Apply Filters"})})]})]})]})}),aS=({totalColumns:t=2})=>e.jsx("div",{className:"flex-grow p-8 animate-fade-in",children:e.jsx("div",{className:"max-w-7xl mx-auto",children:e.jsxs("div",{className:"animate-pulse",children:[e.jsx("div",{className:"h-8 bg-gray-200 rounded w-1/4 mb-6"}),e.jsx("div",{className:`grid grid-cols-1 md:grid-cols-${t} gap-6`,children:[...Array(4)].map((a,r)=>e.jsxs("div",{className:"bg-white rounded-lg shadow-sm p-6",children:[e.jsx("div",{className:"h-6 bg-gray-200 rounded w-3/4 mb-4"}),e.jsx("div",{className:"h-4 bg-gray-200 rounded w-1/2 mb-2"}),e.jsx("div",{className:"h-4 bg-gray-200 rounded w-1/3 mb-4"}),e.jsx("div",{className:"h-20 bg-gray-200 rounded mb-4"}),e.jsx("div",{className:"h-8 bg-gray-200 rounded w-full"})]},r))})]})})}),rS=({data:t,onSelect:a,placeholder:r="Search...",debounceMs:n=250,onTyping:s,className:i="",showSubmitButton:c=!1})=>{const[l,d]=M.useState(""),[h,u]=M.useState([]),[p,m]=M.useState(!1),y=M.useRef(null),x=k=>{d(k),m(!0),s&&s(k)},f=()=>{d(""),u([]),m(!1),s==null||s("")},v=k=>{a(k),d(""),u([]),m(!1)};return M.useEffect(()=>{y.current&&clearTimeout(y.current),y.current=setTimeout(()=>{if(!l){u([]);return}const k=t.filter(w=>w.toLowerCase().includes(l.toLowerCase())).filter((w,j,S)=>S.indexOf(w)===j).slice(0,5);u(k)},n)},[l,t]),e.jsxs("div",{className:`relative w-full ${i}`,children:[e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:e.jsx($t,{className:"h-4 w-4 text-gray-400"})}),e.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:k=>x(k.target.value),onFocus:()=>m(h.length>0),onBlur:()=>setTimeout(()=>m(!1),200),onKeyDown:k=>{k.key==="Enter"&&l.trim()&&(k.preventDefault(),v(l.trim()))}}),l&&!c&&e.jsx("button",{onClick:f,className:"absolute inset-y-0 right-2 flex items-center",children:e.jsx(Ct,{className:"h-4 w-4 text-gray-400 hover:text-gray-600"})}),c&&e.jsx("button",{onClick:()=>l.trim()&&v(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:e.jsx($t,{className:"h-4 w-4"})})]}),p&&h.length>0&&e.jsx("ul",{className:"absolute z-10 mt-1 w-full bg-white border border-gray-200 rounded-lg shadow-md",children:h.map((k,w)=>e.jsx("li",{children:e.jsx("button",{className:"w-full px-4 py-2 text-left text-sm text-gray-700 hover:bg-gray-100",onClick:()=>v(k),children:e.jsxs("div",{className:"flex items-center",children:[e.jsx($t,{className:"h-4 w-4 mr-2 text-gray-400"}),k]})})},w))})]})},nS=({onSearchChange:t,title:a="Gaming News",description:r="Latest news and insights from the gaming industry",searchPlaceholder:n="Search news...",popularTags:s=["AI Gaming","Esports","VR/AR","Mobile Gaming","Regulation","Market Analysis"],generateHref:i=u=>`?q=${encodeURIComponent(u)}`,onTagClick:c,onTagRemove:l,popularTagColor:d="#CA8A04",allowTagRemoval:h=!1})=>{M.useState("");const[u,p]=M.useState(()=>new Set),m=s.filter(x=>!u.has(x)),y=x=>{p(f=>{const v=new Set(f);return v.add(x),v}),l==null||l(x)};return e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"bg-white border-b",children:e.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4",children:e.jsx("div",{className:"flex items-center justify-between",children:e.jsxs("div",{children:[e.jsx("h1",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:a}),e.jsx("p",{className:"hidden lg:block text-gray-600",children:r})]})})})}),e.jsx("div",{className:"bg-white border-b",children:e.jsx("div",{className:"max-w-7xl mx-auto py-4 px-4 sm:px-6 lg:px-8",children:e.jsx("div",{className:"overflow-x-auto",children:m.length>0&&e.jsxs("div",{className:"flex items-center space-x-6 py-2 text-sm",children:[e.jsx("span",{className:"text-gray-600 font-medium flex-shrink-0",children:"Popular:"}),m.map(x=>e.jsx(AC,{name:`#${x}`,color:d,size:"sm",href:c?void 0:i(x),onClick:c?()=>c(x):void 0,removable:h,onRemove:h?()=>y(x):void 0},x))]})})})})]})},cE=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 sS(t){const a=cE(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 s of n)if(new RegExp(`\\b${s.replace(/\s+/g,"\\s+")}\\b`,"i").test(a))return s;return null}function lE(t){const a=sS(t);return a||dE(t)}function dE(t){const a=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&&!a.has(i)),n={};for(const i of r)n[i]=(n[i]||0)+1;const s=Object.entries(n).sort((i,c)=>c[1]-i[1]);return s.length>0?s[0][0]:null}const iS=({filters:t,onClearAll:a,handleCreateAlert:r,className:n=""})=>t.length===0?null:e.jsxs("div",{className:`flex flex-wrap gap-2 ${n}`,children:[t.map(s=>e.jsxs("div",{className:"inline-flex items-center bg-yellow-100 text-indigo-800 rounded-full px-3 py-1 text-sm",children:[s.label&&e.jsxs("span",{className:"font-medium mr-1",children:[s.label,":"]}),e.jsx("span",{children:s.value}),e.jsx("button",{className:"ml-2 text-indigo-600 hover:text-indigo-800",onClick:s.onRemove,"aria-label":`Remove ${s.label||s.key} filter`,children:e.jsx(Sa,{size:14})})]},`${s.key}-${s.value}`)),e.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:a,children:"Clear All"}),e.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"})]}),EA=({viewMode:t,onToggle:a,className:r=""})=>e.jsxs("div",{className:`view-mode-toggle flex bg-gray-100 p-1 rounded-lg ${r}`,children:[e.jsxs("button",{onClick:a,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:[e.jsx(pa,{size:16,className:"mr-1.5"}),e.jsx("span",{className:"text-sm font-medium",children:"Grid"})]}),e.jsxs("button",{onClick:a,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:[e.jsx(Dc,{size:16,className:"mr-1.5"}),e.jsx("span",{className:"text-sm font-medium",children:"List"})]})]}),FA=({value:t,onChange:a,options:r=[5,10,20,50],className:n=""})=>e.jsxs("div",{className:`flex items-center ${n}`,children:[e.jsx("label",{htmlFor:"items-per-page",className:"mr-2 text-sm font-medium text-gray-700",children:"Show:"}),e.jsx("select",{id:"items-per-page",value:t,onChange:s=>a(Number(s.target.value)),className:"px-2 py-1.5 border border-gray-300 rounded-md text-sm bg-white",children:r.map(s=>e.jsx("option",{value:s,children:s},s))})]}),oS=({viewMode:t,onToggleViewMode:a,selectedItemsPerPage:r,onItemsPerPageChange:n,totalCount:s,startIndex:i,endIndex:c,title:l})=>e.jsx("div",{className:"lg:block hidden bg-white rounded-lg shadow-sm border border-gray-200 p-4 mb-6",children:e.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-xl font-semibold text-gray-900",children:l}),e.jsxs("p",{className:"text-sm text-gray-600",children:["Showing ",e.jsx("span",{className:"font-semibold text-gray-900",children:i}),"–",e.jsx("span",{className:"font-semibold text-gray-900",children:c})," of"," ",e.jsx("span",{className:"font-semibold text-gray-900",children:s})," articles"]})]}),e.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center gap-3",children:[e.jsx(EA,{viewMode:t,onToggle:a}),e.jsx(FA,{value:r,onChange:n})]})]})}),hE=({title:t,description:a,ctaText:r,ctaLink:n,bgColor:s="bg-yellow-50",textColor:i="text-yellow-800"})=>e.jsx("div",{className:`promo-card ${s} p-4 rounded-lg shadow-sm hidden md:block`,children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("h3",{className:`font-bold text-lg ${i}`,children:t}),e.jsx("p",{className:`text-sm mt-1 ${i} opacity-90`,children:a})]}),e.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})]})}),uE=({items:t,cardType:a,viewMode:r,savedJobs:n,onSaveJob:s,onViewJob:i,onApplyJob:c,firstItemRef:l=null,userAccess:d})=>{const[h,u]=M.useState([]),[p,m]=M.useState(null);M.useEffect(()=>{try{if(!Array.isArray(t)){console.error("❌ Items is not an array:",t),m("Invalid data format received"),u([]);return}const x=[...t];t.length>5&&x.splice(5,0,{id:"promo-1",title:"Promo",isPromo:!0}),u(x),m(null)}catch(x){console.error("Error processing items:",x),m(`Error processing items: ${x instanceof Error?x.message:String(x)}`),u([])}},[t]);const y=(x,f)=>{const k=f===0&&!x.isPromo?{ref:l}:{};try{if(x.isPromo)return e.jsx("div",{className:"col-span-full my-4",children:e.jsx(hE,{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-${f}`);if(!x||typeof x!="object")return console.error("❌ Invalid item detected:",x),e.jsxs("div",{className:"error-card bg-red-50 p-4 rounded-md border border-red-200",children:[e.jsx("p",{className:"text-red-800 font-medium",children:"Invalid Job Data"}),e.jsx("p",{className:"text-red-600 text-sm",children:"The job data is in an unexpected format."})]});const w=x.id?`${x._id}-${f}`:x.slug?`${x.slug}-${f}`:`item-${f}`;switch(a){case"job":return e.jsx("div",{...k,children:e.jsx(TA,{job:x,positionInList:f,onSaveJob:j=>s(j,f),onViewJob:(j,S,C)=>i(j,f,C),onApplyJob:c?(j,S,C)=>c(j,f,C):void 0,isSaved:n.includes(x.id||x.slug||x.link),userAccess:d})},w);default:return console.warn(`⚠️ Unknown cardType: ${a}`),e.jsxs("div",{className:"error-card bg-yellow-50 p-4 rounded-md border border-yellow-200",children:[e.jsx("p",{className:"text-yellow-800 font-medium",children:"Unknown Card Type"}),e.jsx("p",{className:"text-yellow-700 text-sm",children:"The specified card type is not supported."})]})}}catch(w){return console.error("Error rendering card:",w),e.jsxs("div",{className:"error-card bg-red-50 p-4 rounded-md border border-red-200",children:[e.jsx("p",{className:"text-red-800 font-medium",children:"Error Rendering Card"}),e.jsx("p",{className:"text-red-600 text-sm",children:w instanceof Error?w.message:String(w)})]})}};return p?e.jsxs("div",{className:"bg-red-50 border border-red-200 text-red-800 rounded-lg p-6",children:[e.jsx("h3",{className:"font-semibold mb-2",children:"Error Loading Items"}),e.jsx("p",{children:p})]}):h.length===0?e.jsxs("div",{className:"no-results",children:[e.jsx("h3",{children:"No items found matching your criteria"}),e.jsx("p",{children:"Try adjusting your filters or search term"})]}):e.jsx("div",{className:r==="grid"?"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4":"flex flex-col gap-4","data-view-mode":r,children:h.map((x,f)=>y(x,f))})},B9=({currentPage:t,totalPages:a,onPageChange:r})=>{if(a<=1)return null;const n=5,s=Math.max(1,t-Math.floor(n/2)),i=Math.min(a,s+n-1),c=[];for(let l=s;l<=i;l++)c.push(l);return e.jsx("div",{className:"mt-6 flex justify-center",children:e.jsxs("nav",{className:"flex items-center space-x-2",children:[e.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:e.jsx(Ga,{})}),c.map(l=>e.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)),e.jsx("button",{onClick:()=>r(Math.min(a,t+1)),disabled:t===a,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:e.jsx(Wa,{})})]})})},pE=({jobs:t,onViewJob:a})=>!t||t.length===0?null:e.jsxs("div",{className:"last-visited-jobs mt-8 bg-white rounded-lg shadow p-4",children:[e.jsx("h2",{className:"text-lg font-semibold mb-4",children:"Recently Viewed Jobs"}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:t.map((r,n)=>e.jsxs("div",{className:"p-3 border rounded-md hover:shadow-md transition-shadow cursor-pointer",onClick:()=>a(r,n,"same_tab","last_visited"),children:[e.jsxs("div",{className:"flex items-center mb-2",children:[e.jsx("img",{src:r.logo||"/placeholder.svg?height=30&width=30",alt:`${r.company} logo`,className:"w-6 h-6 mr-2"}),e.jsx("h3",{className:"font-medium text-sm truncate",children:r.title})]}),e.jsx("p",{className:"text-xs text-gray-600 truncate",children:r.company}),e.jsx("p",{className:"text-xs text-gray-500 truncate",children:r.location})]},r._id||r.slug||r.link))})]}),yE=(t,a,r="date")=>{if(a==="all")return t;const n=new Date,s=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(a){case"today":return l>=s;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}})},mE=(t,a)=>t.filter(r=>{var n,s,i,c,l;if(a.jobTypes.length>0){const d=((n=r.department)==null?void 0:n.toLowerCase())||"";if(!a.jobTypes.some(h=>d.includes(h)))return!1}if(a.experienceLevels.length>0){const d=((s=r.title)==null?void 0:s.toLowerCase())||"";if(!a.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!(a.country&&!(((i=r.location)==null?void 0:i.toLowerCase())||((c=r.city)==null?void 0:c.toLowerCase())||"").includes(a.country.toLowerCase())||a.city&&!(((l=r.company_type)==null?void 0:l.toLowerCase())||"").includes(a.city.toLowerCase()))}),Yc=(t,a)=>{const r={};for(const n of t)for(const s of a){r[s]||(r[s]=new Set);const i=n[s];Array.isArray(i)?i.forEach(c=>{typeof c=="string"&&c.trim()&&r[s].add(c.trim())}):typeof i=="string"&&i.trim()&&r[s].add(i.trim())}return Object.fromEntries(Object.entries(r).map(([n,s])=>[n,Array.from(s)]))},OA=t=>{const a=new URLSearchParams(window.location.search);t==="all"?a.delete("date_filter"):a.set("date_filter",t);const r=`${window.location.pathname}?${a.toString()}`;window.history.replaceState({},"",r)},io=(t,a,r,n,s="date")=>{let i=t.filter(c=>Object.entries(a).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=yE(i,n,s),i},vl=(t,a,r=[],n="date")=>{const s=d=>{const h=d[n]||d.created_at||d.published_at||d.scraped_at;return h?new Date(h).getTime():0},i=d=>{var u;const h=d.views??d.viewCount??((u=d.metrics)==null?void 0:u.views)??0;return typeof h=="number"?h:0},c=d=>{if(r.length===0)return 0;const h=(d.title??"").toLowerCase(),u=(d.overview??"").toLowerCase();return r.reduce((p,m)=>{const y=m.toLowerCase();let x=p;return h.includes(y)&&(x+=3),u.includes(y)&&(x+=1),x},0)},l=[...t];return l.sort((d,h)=>{switch(a){case"date_asc":return s(d)-s(h);case"views_desc":return i(h)-i(d);case"views_asc":return i(d)-i(h);case"relevance":{const u=c(h)-c(d);return u!==0?u:s(h)-s(d)}case"title_asc":{const u=(d.title??"").localeCompare(h.title??"",void 0,{sensitivity:"base"});return u!==0?u:s(h)-s(d)}case"date_desc":default:return s(h)-s(d)}}),l},HA=({dateFieldLabel:t,activeDateFilter:a,onDateFilterChange:r,filterKeys:n,searchableFilters:s,filtersData:i,activeFilters:c,handleFilterChange:l,toggleSavedJobsFilter:d,showOnlySaved:h,savedJobs:u})=>e.jsx("div",{className:"hidden lg:block lg:w-1/4 space-y-6",children:e.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Filters"}),e.jsxs("div",{className:"mb-6",children:[e.jsx("h3",{className:"text-sm font-medium text-gray-900 mb-2",children:t}),e.jsx(DA,{activeDateFilter:a,onDateFilterChange:r,dateFieldLabel:""})]}),n.map(p=>{var m;return e.jsxs("div",{className:"mb-6",children:[e.jsx("h3",{className:"text-sm font-medium text-gray-900 mb-2",children:p.replace(/_/g," ").replace(/^\w/,y=>y.toUpperCase())}),s.includes(p)?e.jsx(H9,{options:i[p]||[],value:c[p]||"",onChange:y=>l(p,y),placeholder:`Select ${p.replace(/_/g," ")}`,className:"w-full"}):e.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:y=>l(p,y.target.value),children:[e.jsxs("option",{value:"",children:["Select ",p.replace(/_/g," ")]}),(m=i[p])==null?void 0:m.map(y=>e.jsx("option",{value:y,children:y},y))]})]},p)}),e.jsx("div",{className:"mt-6",children:e.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:[e.jsx(ga,{size:16,className:"mr-2"}),e.jsxs("span",{children:["Saved Jobs (",u.length,")"]})]})})]})});function Kc(t,a,{checkForDefaultPrevented:r=!0}={}){return function(s){if(t==null||t(s),r===!1||!s.defaultPrevented)return a==null?void 0:a(s)}}function xL(t,a){if(typeof t=="function")return t(a);t!=null&&(t.current=a)}function fE(...t){return a=>{let r=!1;const n=t.map(s=>{const i=xL(s,a);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let s=0;s<n.length;s++){const i=n[s];typeof i=="function"?i():xL(t[s],null)}}}}function $9(...t){return g.useCallback(fE(...t),t)}function xE(t,a){const r=g.createContext(a),n=i=>{const{children:c,...l}=i,d=g.useMemo(()=>l,Object.values(l));return e.jsx(r.Provider,{value:d,children:c})};n.displayName=t+"Provider";function s(i){const c=g.useContext(r);if(c)return c;if(a!==void 0)return a;throw new Error(`\`${i}\` must be used within \`${t}\``)}return[n,s]}function gE(t,a=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var k;const{scope:m,children:y,...x}=p,f=((k=m==null?void 0:m[t])==null?void 0:k[d])||l,v=g.useMemo(()=>x,Object.values(x));return e.jsx(f.Provider,{value:v,children:y})};h.displayName=i+"Provider";function u(p,m){var f;const y=((f=m==null?void 0:m[t])==null?void 0:f[d])||l,x=g.useContext(y);if(x)return x;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const s=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return s.scopeName=t,[n,kE(s,...a)]}function kE(...t){const a=t[0];if(t.length===1)return a;const r=()=>{const n=t.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${a.scopeName}`]:c}),[c])}};return r.scopeName=a.scopeName,r}var j9=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},vE=g[" useId ".trim().toString()]||(()=>{}),wE=0;function jj(t){const[a,r]=g.useState(vE());return j9(()=>{t||r(n=>n??String(wE++))},[t]),t||(a?`radix-${a}`:"")}var bE=g[" useInsertionEffect ".trim().toString()]||j9;function ME({prop:t,defaultProp:a,onChange:r=()=>{},caller:n}){const[s,i,c]=jE({defaultProp:a,onChange:r}),l=t!==void 0,d=l?t:s;{const u=g.useRef(t!==void 0);g.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${n} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=l},[l,n])}const h=g.useCallback(u=>{var p;if(l){const m=CE(u)?u(t):u;m!==t&&((p=c.current)==null||p.call(c,m))}else i(u)},[l,t,i,c]);return[d,h]}function jE({defaultProp:t,onChange:a}){const[r,n]=g.useState(t),s=g.useRef(r),i=g.useRef(a);return bE(()=>{i.current=a},[a]),g.useEffect(()=>{var c;s.current!==r&&((c=i.current)==null||c.call(i,r),s.current=r)},[r,s]),[r,n,i]}function CE(t){return typeof t=="function"}function Cj(t,a,{checkForDefaultPrevented:r=!0}={}){return function(s){if(t==null||t(s),r===!1||!s.defaultPrevented)return a==null?void 0:a(s)}}var SE=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],VA=SE.reduce((t,a)=>{const r=at(`Primitive.${a}`),n=g.forwardRef((s,i)=>{const{asChild:c,...l}=s,d=c?r:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),e.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${a}`,{...t,[a]:n}},{});function LE(t,a){t&&q9.flushSync(()=>t.dispatchEvent(a))}function gL(t,a){if(typeof t=="function")return t(a);t!=null&&(t.current=a)}function NE(...t){return a=>{let r=!1;const n=t.map(s=>{const i=gL(s,a);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let s=0;s<n.length;s++){const i=n[s];typeof i=="function"?i():gL(t[s],null)}}}}function BA(...t){return g.useCallback(NE(...t),t)}function $A(t){const a=g.useRef(t);return g.useEffect(()=>{a.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=a.current)==null?void 0:n.call(a,...r)},[])}function IE(t){const a=g.useRef(t);return g.useEffect(()=>{a.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=a.current)==null?void 0:n.call(a,...r)},[])}function AE(t,a=globalThis==null?void 0:globalThis.document){const r=IE(t);g.useEffect(()=>{const n=s=>{s.key==="Escape"&&r(s)};return a.addEventListener("keydown",n,{capture:!0}),()=>a.removeEventListener("keydown",n,{capture:!0})},[r,a])}var PE="DismissableLayer",hC="dismissableLayer.update",_E="dismissableLayer.pointerDownOutside",RE="dismissableLayer.focusOutside",kL,UA=g.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),U9=g.forwardRef((t,a)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:s,onFocusOutside:i,onInteractOutside:c,onDismiss:l,...d}=t,h=g.useContext(UA),[u,p]=g.useState(null),m=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,y]=g.useState({}),x=BA(a,L=>p(L)),f=Array.from(h.layers),[v]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),k=f.indexOf(v),w=u?f.indexOf(u):-1,j=h.layersWithOutsidePointerEventsDisabled.size>0,S=w>=k,C=DE(L=>{const b=L.target,N=[...h.branches].some(q=>q.contains(b));!S||N||(s==null||s(L),c==null||c(L),L.defaultPrevented||l==null||l())},m),A=zE(L=>{const b=L.target;[...h.branches].some(q=>q.contains(b))||(i==null||i(L),c==null||c(L),L.defaultPrevented||l==null||l())},m);return AE(L=>{w===h.layers.size-1&&(n==null||n(L),!L.defaultPrevented&&l&&(L.preventDefault(),l()))},m),g.useEffect(()=>{if(u)return r&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(kL=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(u)),h.layers.add(u),vL(),()=>{r&&h.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=kL)}},[u,m,r,h]),g.useEffect(()=>()=>{u&&(h.layers.delete(u),h.layersWithOutsidePointerEventsDisabled.delete(u),vL())},[u,h]),g.useEffect(()=>{const L=()=>y({});return document.addEventListener(hC,L),()=>document.removeEventListener(hC,L)},[]),e.jsx(VA.div,{...d,ref:x,style:{pointerEvents:j?S?"auto":"none":void 0,...t.style},onFocusCapture:Cj(t.onFocusCapture,A.onFocusCapture),onBlurCapture:Cj(t.onBlurCapture,A.onBlurCapture),onPointerDownCapture:Cj(t.onPointerDownCapture,C.onPointerDownCapture)})});U9.displayName=PE;var TE="DismissableLayerBranch",qE=g.forwardRef((t,a)=>{const r=g.useContext(UA),n=g.useRef(null),s=BA(a,n);return g.useEffect(()=>{const i=n.current;if(i)return r.branches.add(i),()=>{r.branches.delete(i)}},[r.branches]),e.jsx(VA.div,{...t,ref:s})});qE.displayName=TE;function DE(t,a=globalThis==null?void 0:globalThis.document){const r=$A(t),n=g.useRef(!1),s=g.useRef(()=>{});return g.useEffect(()=>{const i=l=>{if(l.target&&!n.current){let d=function(){GA(_E,r,h,{discrete:!0})};const h={originalEvent:l};l.pointerType==="touch"?(a.removeEventListener("click",s.current),s.current=d,a.addEventListener("click",s.current,{once:!0})):d()}else a.removeEventListener("click",s.current);n.current=!1},c=window.setTimeout(()=>{a.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(c),a.removeEventListener("pointerdown",i),a.removeEventListener("click",s.current)}},[a,r]),{onPointerDownCapture:()=>n.current=!0}}function zE(t,a=globalThis==null?void 0:globalThis.document){const r=$A(t),n=g.useRef(!1);return g.useEffect(()=>{const s=i=>{i.target&&!n.current&&GA(RE,r,{originalEvent:i},{discrete:!1})};return a.addEventListener("focusin",s),()=>a.removeEventListener("focusin",s)},[a,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function vL(){const t=new CustomEvent(hC);document.dispatchEvent(t)}function GA(t,a,r,{discrete:n}){const s=r.originalEvent.target,i=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:r});a&&s.addEventListener(t,a,{once:!0}),n?LE(s,i):s.dispatchEvent(i)}function wL(t,a){if(typeof t=="function")return t(a);t!=null&&(t.current=a)}function EE(...t){return a=>{let r=!1;const n=t.map(s=>{const i=wL(s,a);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let s=0;s<n.length;s++){const i=n[s];typeof i=="function"?i():wL(t[s],null)}}}}function FE(...t){return g.useCallback(EE(...t),t)}var OE=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],HE=OE.reduce((t,a)=>{const r=at(`Primitive.${a}`),n=g.forwardRef((s,i)=>{const{asChild:c,...l}=s,d=c?r:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),e.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${a}`,{...t,[a]:n}},{});function bL(t){const a=g.useRef(t);return g.useEffect(()=>{a.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=a.current)==null?void 0:n.call(a,...r)},[])}var Sj="focusScope.autoFocusOnMount",Lj="focusScope.autoFocusOnUnmount",ML={bubbles:!1,cancelable:!0},VE="FocusScope",G9=g.forwardRef((t,a)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:s,onUnmountAutoFocus:i,...c}=t,[l,d]=g.useState(null),h=bL(s),u=bL(i),p=g.useRef(null),m=FE(a,f=>d(f)),y=g.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;g.useEffect(()=>{if(n){let f=function(j){if(y.paused||!l)return;const S=j.target;l.contains(S)?p.current=S:cr(p.current,{select:!0})},v=function(j){if(y.paused||!l)return;const S=j.relatedTarget;S!==null&&(l.contains(S)||cr(p.current,{select:!0}))},k=function(j){if(document.activeElement===document.body)for(const C of j)C.removedNodes.length>0&&cr(l)};document.addEventListener("focusin",f),document.addEventListener("focusout",v);const w=new MutationObserver(k);return l&&w.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",f),document.removeEventListener("focusout",v),w.disconnect()}}},[n,l,y.paused]),g.useEffect(()=>{if(l){CL.add(y);const f=document.activeElement;if(!l.contains(f)){const k=new CustomEvent(Sj,ML);l.addEventListener(Sj,h),l.dispatchEvent(k),k.defaultPrevented||(BE(ZE(WA(l)),{select:!0}),document.activeElement===f&&cr(l))}return()=>{l.removeEventListener(Sj,h),setTimeout(()=>{const k=new CustomEvent(Lj,ML);l.addEventListener(Lj,u),l.dispatchEvent(k),k.defaultPrevented||cr(f??document.body,{select:!0}),l.removeEventListener(Lj,u),CL.remove(y)},0)}}},[l,h,u,y]);const x=g.useCallback(f=>{if(!r&&!n||y.paused)return;const v=f.key==="Tab"&&!f.altKey&&!f.ctrlKey&&!f.metaKey,k=document.activeElement;if(v&&k){const w=f.currentTarget,[j,S]=$E(w);j&&S?!f.shiftKey&&k===S?(f.preventDefault(),r&&cr(j,{select:!0})):f.shiftKey&&k===j&&(f.preventDefault(),r&&cr(S,{select:!0})):k===w&&f.preventDefault()}},[r,n,y.paused]);return e.jsx(HE.div,{tabIndex:-1,...c,ref:m,onKeyDown:x})});G9.displayName=VE;function BE(t,{select:a=!1}={}){const r=document.activeElement;for(const n of t)if(cr(n,{select:a}),document.activeElement!==r)return}function $E(t){const a=WA(t),r=jL(a,t),n=jL(a.reverse(),t);return[r,n]}function WA(t){const a=[],r=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const s=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||s?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)a.push(r.currentNode);return a}function jL(t,a){for(const r of t)if(!UE(r,{upTo:a}))return r}function UE(t,{upTo:a}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(a!==void 0&&t===a)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function GE(t){return t instanceof HTMLInputElement&&"select"in t}function cr(t,{select:a=!1}={}){if(t&&t.focus){const r=document.activeElement;t.focus({preventScroll:!0}),t!==r&&GE(t)&&a&&t.select()}}var CL=WE();function WE(){let t=[];return{add(a){const r=t[0];a!==r&&(r==null||r.pause()),t=SL(t,a),t.unshift(a)},remove(a){var r;t=SL(t,a),(r=t[0])==null||r.resume()}}}function SL(t,a){const r=[...t],n=r.indexOf(a);return n!==-1&&r.splice(n,1),r}function ZE(t){return t.filter(a=>a.tagName!=="A")}var JE=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],XE=JE.reduce((t,a)=>{const r=at(`Primitive.${a}`),n=g.forwardRef((s,i)=>{const{asChild:c,...l}=s,d=c?r:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),e.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${a}`,{...t,[a]:n}},{}),YE=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},KE="Portal",W9=g.forwardRef((t,a)=>{var l;const{container:r,...n}=t,[s,i]=g.useState(!1);YE(()=>i(!0),[]);const c=r||s&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return c?LC.createPortal(e.jsx(XE.div,{...n,ref:a}),c):null});W9.displayName=KE;function QE(t,a){return g.useReducer((r,n)=>a[r][n]??r,t)}var Z9=t=>{const{present:a,children:r}=t,n=eF(a),s=typeof r=="function"?r({present:n.isPresent}):g.Children.only(r),i=$9(n.ref,tF(s));return typeof r=="function"||n.isPresent?g.cloneElement(s,{ref:i}):null};Z9.displayName="Presence";function eF(t){const[a,r]=g.useState(),n=g.useRef(null),s=g.useRef(t),i=g.useRef("none"),c=t?"mounted":"unmounted",[l,d]=QE(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const h=wl(n.current);i.current=l==="mounted"?h:"none"},[l]),j9(()=>{const h=n.current,u=s.current;if(u!==t){const m=i.current,y=wl(h);t?d("MOUNT"):y==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&m!==y?"ANIMATION_OUT":"UNMOUNT"),s.current=t}},[t,d]),j9(()=>{if(a){let h;const u=a.ownerDocument.defaultView??window,p=y=>{const f=wl(n.current).includes(CSS.escape(y.animationName));if(y.target===a&&f&&(d("ANIMATION_END"),!s.current)){const v=a.style.animationFillMode;a.style.animationFillMode="forwards",h=u.setTimeout(()=>{a.style.animationFillMode==="forwards"&&(a.style.animationFillMode=v)})}},m=y=>{y.target===a&&(i.current=wl(n.current))};return a.addEventListener("animationstart",m),a.addEventListener("animationcancel",p),a.addEventListener("animationend",p),()=>{u.clearTimeout(h),a.removeEventListener("animationstart",m),a.removeEventListener("animationcancel",p),a.removeEventListener("animationend",p)}}else d("ANIMATION_END")},[a,d]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:g.useCallback(h=>{n.current=h?getComputedStyle(h):null,r(h)},[])}}function wl(t){return(t==null?void 0:t.animationName)||"none"}function tF(t){var n,s;let a=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=a&&"isReactWarning"in a&&a.isReactWarning;return r?t.ref:(a=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,r=a&&"isReactWarning"in a&&a.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var aF=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ul=aF.reduce((t,a)=>{const r=at(`Primitive.${a}`),n=g.forwardRef((s,i)=>{const{asChild:c,...l}=s,d=c?r:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),e.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${a}`,{...t,[a]:n}},{}),Nj=0;function cS(){g.useEffect(()=>{const t=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",t[0]??LL()),document.body.insertAdjacentElement("beforeend",t[1]??LL()),Nj++,()=>{Nj===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(a=>a.remove()),Nj--}},[])}function LL(){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 Ia=function(){return Ia=Object.assign||function(a){for(var r,n=1,s=arguments.length;n<s;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])}return a},Ia.apply(this,arguments)};function ZA(t,a){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&a.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,n=Object.getOwnPropertySymbols(t);s<n.length;s++)a.indexOf(n[s])<0&&Object.prototype.propertyIsEnumerable.call(t,n[s])&&(r[n[s]]=t[n[s]]);return r}function rF(t,a,r){if(r||arguments.length===2)for(var n=0,s=a.length,i;n<s;n++)(i||!(n in a))&&(i||(i=Array.prototype.slice.call(a,0,n)),i[n]=a[n]);return t.concat(i||Array.prototype.slice.call(a))}var d9="right-scroll-bar-position",h9="width-before-scroll-bar",nF="with-scroll-bars-hidden",sF="--removed-body-scroll-bar-size";function Ij(t,a){return typeof t=="function"?t(a):t&&(t.current=a),t}function iF(t,a){var r=M.useState(function(){return{value:t,callback:a,facade:{get current(){return r.value},set current(n){var s=r.value;s!==n&&(r.value=n,r.callback(n,s))}}}})[0];return r.callback=a,r.facade}var oF=typeof window<"u"?g.useLayoutEffect:g.useEffect,NL=new WeakMap;function cF(t,a){var r=iF(null,function(n){return t.forEach(function(s){return Ij(s,n)})});return oF(function(){var n=NL.get(r);if(n){var s=new Set(n),i=new Set(t),c=r.current;s.forEach(function(l){i.has(l)||Ij(l,null)}),i.forEach(function(l){s.has(l)||Ij(l,c)})}NL.set(r,t)},[t]),r}function lF(t){return t}function dF(t,a){a===void 0&&(a=lF);var r=[],n=!1,s={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=a(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 s}function hF(t){t===void 0&&(t={});var a=dF(null);return a.options=Ia({async:!0,ssr:!1},t),a}var JA=function(t){var a=t.sideCar,r=ZA(t,["sideCar"]);if(!a)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=a.read();if(!n)throw new Error("Sidecar medium not found");return g.createElement(n,Ia({},r))};JA.isSideCarExport=!0;function uF(t,a){return t.useMedium(a),JA}var XA=hF(),Aj=function(){},J9=g.forwardRef(function(t,a){var r=g.useRef(null),n=g.useState({onScrollCapture:Aj,onWheelCapture:Aj,onTouchMoveCapture:Aj}),s=n[0],i=n[1],c=t.forwardProps,l=t.children,d=t.className,h=t.removeScrollBar,u=t.enabled,p=t.shards,m=t.sideCar,y=t.noRelative,x=t.noIsolation,f=t.inert,v=t.allowPinchZoom,k=t.as,w=k===void 0?"div":k,j=t.gapMode,S=ZA(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=m,A=cF([r,a]),L=Ia(Ia({},S),s);return g.createElement(g.Fragment,null,u&&g.createElement(C,{sideCar:XA,removeScrollBar:h,shards:p,noRelative:y,noIsolation:x,inert:f,setCallbacks:i,allowPinchZoom:!!v,lockRef:r,gapMode:j}),c?g.cloneElement(g.Children.only(l),Ia(Ia({},L),{ref:A})):g.createElement(w,Ia({},L,{className:d,ref:A}),l))});J9.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};J9.classNames={fullWidth:h9,zeroRight:d9};var pF=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function yF(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var a=pF();return a&&t.setAttribute("nonce",a),t}function mF(t,a){t.styleSheet?t.styleSheet.cssText=a:t.appendChild(document.createTextNode(a))}function fF(t){var a=document.head||document.getElementsByTagName("head")[0];a.appendChild(t)}var xF=function(){var t=0,a=null;return{add:function(r){t==0&&(a=yF())&&(mF(a,r),fF(a)),t++},remove:function(){t--,!t&&a&&(a.parentNode&&a.parentNode.removeChild(a),a=null)}}},gF=function(){var t=xF();return function(a,r){g.useEffect(function(){return t.add(a),function(){t.remove()}},[a&&r])}},YA=function(){var t=gF(),a=function(r){var n=r.styles,s=r.dynamic;return t(n,s),null};return a},kF={left:0,top:0,right:0,gap:0},Pj=function(t){return parseInt(t||"",10)||0},vF=function(t){var a=window.getComputedStyle(document.body),r=a[t==="padding"?"paddingLeft":"marginLeft"],n=a[t==="padding"?"paddingTop":"marginTop"],s=a[t==="padding"?"paddingRight":"marginRight"];return[Pj(r),Pj(n),Pj(s)]},wF=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return kF;var a=vF(t),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:a[0],top:a[1],right:a[2],gap:Math.max(0,n-r+a[2]-a[0])}},bF=YA(),Qo="data-scroll-locked",MF=function(t,a,r,n){var s=t.left,i=t.top,c=t.right,l=t.gap;return r===void 0&&(r="margin"),`
7757
+ .`.concat(nF,` {
7758
7758
  overflow: hidden `).concat(n,`;
7759
7759
  padding-right: `).concat(l,"px ").concat(n,`;
7760
7760
  }
@@ -7788,25 +7788,25 @@ React keys must be passed directly to JSX without using spread:
7788
7788
  }
7789
7789
 
7790
7790
  body[`).concat(Qo,`] {
7791
- `).concat(nF,": ").concat(l,`px;
7791
+ `).concat(sF,": ").concat(l,`px;
7792
7792
  }
7793
- `)},IL=function(){var t=parseInt(document.body.getAttribute(Qo)||"0",10);return isFinite(t)?t:0},MF=function(){g.useEffect(function(){return document.body.setAttribute(Qo,(IL()+1).toString()),function(){var t=IL()-1;t<=0?document.body.removeAttribute(Qo):document.body.setAttribute(Qo,t.toString())}},[])},jF=function(t){var a=t.noRelative,r=t.noImportant,n=t.gapMode,s=n===void 0?"margin":n;MF();var i=g.useMemo(function(){return vF(s)},[s]);return g.createElement(wF,{styles:bF(i,!a,s,r?"":"!important")})},uC=!1;if(typeof window<"u")try{var bl=Object.defineProperty({},"passive",{get:function(){return uC=!0,!0}});window.addEventListener("test",bl,bl),window.removeEventListener("test",bl,bl)}catch{uC=!1}var Po=uC?{passive:!1}:!1,CF=function(t){return t.tagName==="TEXTAREA"},KA=function(t,a){if(!(t instanceof Element))return!1;var r=window.getComputedStyle(t);return r[a]!=="hidden"&&!(r.overflowY===r.overflowX&&!CF(t)&&r[a]==="visible")},SF=function(t){return KA(t,"overflowY")},LF=function(t){return KA(t,"overflowX")},AL=function(t,a){var r=a.ownerDocument,n=a;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var s=QA(t,n);if(s){var i=eP(t,n),c=i[1],l=i[2];if(c>l)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},NF=function(t){var a=t.scrollTop,r=t.scrollHeight,n=t.clientHeight;return[a,r,n]},IF=function(t){var a=t.scrollLeft,r=t.scrollWidth,n=t.clientWidth;return[a,r,n]},QA=function(t,a){return t==="v"?SF(a):LF(a)},eP=function(t,a){return t==="v"?NF(a):IF(a)},AF=function(t,a){return t==="h"&&a==="rtl"?-1:1},PF=function(t,a,r,n,s){var i=AF(t,window.getComputedStyle(a).direction),c=i*n,l=r.target,d=a.contains(l),h=!1,u=c>0,p=0,m=0;do{if(!l)break;var y=eP(t,l),x=y[0],f=y[1],v=y[2],k=f-v-i*x;(x||k)&&QA(t,l)&&(p+=k,m+=x);var w=l.parentNode;l=w&&w.nodeType===Node.DOCUMENT_FRAGMENT_NODE?w.host:w}while(!d&&l!==document.body||d&&(a.contains(l)||a===l));return(u&&(Math.abs(p)<1||!s)||!u&&(Math.abs(m)<1||!s))&&(h=!0),h},Ml=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},PL=function(t){return[t.deltaX,t.deltaY]},_L=function(t){return t&&"current"in t?t.current:t},_F=function(t,a){return t[0]===a[0]&&t[1]===a[1]},RF=function(t){return`
7793
+ `)},IL=function(){var t=parseInt(document.body.getAttribute(Qo)||"0",10);return isFinite(t)?t:0},jF=function(){g.useEffect(function(){return document.body.setAttribute(Qo,(IL()+1).toString()),function(){var t=IL()-1;t<=0?document.body.removeAttribute(Qo):document.body.setAttribute(Qo,t.toString())}},[])},CF=function(t){var a=t.noRelative,r=t.noImportant,n=t.gapMode,s=n===void 0?"margin":n;jF();var i=g.useMemo(function(){return wF(s)},[s]);return g.createElement(bF,{styles:MF(i,!a,s,r?"":"!important")})},uC=!1;if(typeof window<"u")try{var bl=Object.defineProperty({},"passive",{get:function(){return uC=!0,!0}});window.addEventListener("test",bl,bl),window.removeEventListener("test",bl,bl)}catch{uC=!1}var Po=uC?{passive:!1}:!1,SF=function(t){return t.tagName==="TEXTAREA"},KA=function(t,a){if(!(t instanceof Element))return!1;var r=window.getComputedStyle(t);return r[a]!=="hidden"&&!(r.overflowY===r.overflowX&&!SF(t)&&r[a]==="visible")},LF=function(t){return KA(t,"overflowY")},NF=function(t){return KA(t,"overflowX")},AL=function(t,a){var r=a.ownerDocument,n=a;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var s=QA(t,n);if(s){var i=eP(t,n),c=i[1],l=i[2];if(c>l)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},IF=function(t){var a=t.scrollTop,r=t.scrollHeight,n=t.clientHeight;return[a,r,n]},AF=function(t){var a=t.scrollLeft,r=t.scrollWidth,n=t.clientWidth;return[a,r,n]},QA=function(t,a){return t==="v"?LF(a):NF(a)},eP=function(t,a){return t==="v"?IF(a):AF(a)},PF=function(t,a){return t==="h"&&a==="rtl"?-1:1},_F=function(t,a,r,n,s){var i=PF(t,window.getComputedStyle(a).direction),c=i*n,l=r.target,d=a.contains(l),h=!1,u=c>0,p=0,m=0;do{if(!l)break;var y=eP(t,l),x=y[0],f=y[1],v=y[2],k=f-v-i*x;(x||k)&&QA(t,l)&&(p+=k,m+=x);var w=l.parentNode;l=w&&w.nodeType===Node.DOCUMENT_FRAGMENT_NODE?w.host:w}while(!d&&l!==document.body||d&&(a.contains(l)||a===l));return(u&&(Math.abs(p)<1||!s)||!u&&(Math.abs(m)<1||!s))&&(h=!0),h},Ml=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},PL=function(t){return[t.deltaX,t.deltaY]},_L=function(t){return t&&"current"in t?t.current:t},RF=function(t,a){return t[0]===a[0]&&t[1]===a[1]},TF=function(t){return`
7794
7794
  .block-interactivity-`.concat(t,` {pointer-events: none;}
7795
7795
  .allow-interactivity-`).concat(t,` {pointer-events: all;}
7796
- `)},TF=0,_o=[];function qF(t){var a=g.useRef([]),r=g.useRef([0,0]),n=g.useRef(),s=g.useState(TF++)[0],i=g.useState(YA)[0],c=g.useRef(t);g.useEffect(function(){c.current=t},[t]),g.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(s));var f=aF([t.lockRef.current],(t.shards||[]).map(_L),!0).filter(Boolean);return f.forEach(function(v){return v.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),f.forEach(function(v){return v.classList.remove("allow-interactivity-".concat(s))})}}},[t.inert,t.lockRef.current,t.shards]);var l=g.useCallback(function(f,v){if("touches"in f&&f.touches.length===2||f.type==="wheel"&&f.ctrlKey)return!c.current.allowPinchZoom;var k=Ml(f),w=r.current,j="deltaX"in f?f.deltaX:w[0]-k[0],S="deltaY"in f?f.deltaY:w[1]-k[1],C,A=f.target,L=Math.abs(j)>Math.abs(S)?"h":"v";if("touches"in f&&L==="h"&&A.type==="range")return!1;var b=AL(L,A);if(!b)return!0;if(b?C=L:(C=L==="v"?"h":"v",b=AL(L,A)),!b)return!1;if(!n.current&&"changedTouches"in f&&(j||S)&&(n.current=C),!C)return!0;var N=n.current||C;return PF(N,v,f,N==="h"?j:S,!0)},[]),d=g.useCallback(function(f){var v=f;if(!(!_o.length||_o[_o.length-1]!==i)){var k="deltaY"in v?PL(v):Ml(v),w=a.current.filter(function(C){return C.name===v.type&&(C.target===v.target||v.target===C.shadowParent)&&_F(C.delta,k)})[0];if(w&&w.should){v.cancelable&&v.preventDefault();return}if(!w){var j=(c.current.shards||[]).map(_L).filter(Boolean).filter(function(C){return C.contains(v.target)}),S=j.length>0?l(v,j[0]):!c.current.noIsolation;S&&v.cancelable&&v.preventDefault()}}},[]),h=g.useCallback(function(f,v,k,w){var j={name:f,delta:v,target:k,should:w,shadowParent:DF(k)};a.current.push(j),setTimeout(function(){a.current=a.current.filter(function(S){return S!==j})},1)},[]),u=g.useCallback(function(f){r.current=Ml(f),n.current=void 0},[]),p=g.useCallback(function(f){h(f.type,PL(f),f.target,l(f,t.lockRef.current))},[]),m=g.useCallback(function(f){h(f.type,Ml(f),f.target,l(f,t.lockRef.current))},[]);g.useEffect(function(){return _o.push(i),t.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:m}),document.addEventListener("wheel",d,Po),document.addEventListener("touchmove",d,Po),document.addEventListener("touchstart",u,Po),function(){_o=_o.filter(function(f){return f!==i}),document.removeEventListener("wheel",d,Po),document.removeEventListener("touchmove",d,Po),document.removeEventListener("touchstart",u,Po)}},[]);var y=t.removeScrollBar,x=t.inert;return g.createElement(g.Fragment,null,x?g.createElement(i,{styles:RF(s)}):null,y?g.createElement(jF,{noRelative:t.noRelative,gapMode:t.gapMode}):null)}function DF(t){for(var a=null;t!==null;)t instanceof ShadowRoot&&(a=t.host,t=t.host),t=t.parentNode;return a}const zF=hF(XA,qF);var X9=g.forwardRef(function(t,a){return g.createElement(J9,Ca({},t,{ref:a,sideCar:zF}))});X9.classNames=J9.classNames;var EF=function(t){if(typeof document>"u")return null;var a=Array.isArray(t)?t[0]:t;return a.ownerDocument.body},Ro=new WeakMap,jl=new WeakMap,Cl={},_j=0,tP=function(t){return t&&(t.host||tP(t.parentNode))},FF=function(t,a){return a.map(function(r){if(t.contains(r))return r;var n=tP(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})},OF=function(t,a,r,n){var s=FF(a,Array.isArray(t)?t:[t]);Cl[r]||(Cl[r]=new WeakMap);var i=Cl[r],c=[],l=new Set,d=new Set(s),h=function(p){!p||l.has(p)||(l.add(p),h(p.parentNode))};s.forEach(h);var u=function(p){!p||d.has(p)||Array.prototype.forEach.call(p.children,function(m){if(l.has(m))u(m);else try{var y=m.getAttribute(n),x=y!==null&&y!=="false",f=(Ro.get(m)||0)+1,v=(i.get(m)||0)+1;Ro.set(m,f),i.set(m,v),c.push(m),f===1&&x&&jl.set(m,!0),v===1&&m.setAttribute(r,"true"),x||m.setAttribute(n,"true")}catch(k){console.error("aria-hidden: cannot operate on ",m,k)}})};return u(a),l.clear(),_j++,function(){c.forEach(function(p){var m=Ro.get(p)-1,y=i.get(p)-1;Ro.set(p,m),i.set(p,y),m||(jl.has(p)||p.removeAttribute(n),jl.delete(p)),y||p.removeAttribute(r)}),_j--,_j||(Ro=new WeakMap,Ro=new WeakMap,jl=new WeakMap,Cl={})}},lS=function(t,a,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(t)?t:[t]),s=EF(t);return s?(n.push.apply(n,Array.from(s.querySelectorAll("[aria-live]"))),OF(n,s,r,"aria-hidden")):function(){return null}},Y9="Dialog",[aP,rP]=xE(Y9),[HF,ka]=aP(Y9),nP=t=>{const{__scopeDialog:a,children:r,open:n,defaultOpen:s,onOpenChange:i,modal:c=!0}=t,l=g.useRef(null),d=g.useRef(null),[h,u]=bE({prop:n,defaultProp:s??!1,onChange:i,caller:Y9});return e.jsx(HF,{scope:a,triggerRef:l,contentRef:d,contentId:jj(),titleId:jj(),descriptionId:jj(),open:h,onOpenChange:u,onOpenToggle:g.useCallback(()=>u(p=>!p),[u]),modal:c,children:r})};nP.displayName=Y9;var sP="DialogTrigger",iP=g.forwardRef((t,a)=>{const{__scopeDialog:r,...n}=t,s=ka(sP,r),i=$9(a,s.triggerRef);return e.jsx(ul.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":uS(s.open),...n,ref:i,onClick:Kc(t.onClick,s.onOpenToggle)})});iP.displayName=sP;var dS="DialogPortal",[VF,oP]=aP(dS,{forceMount:void 0}),cP=t=>{const{__scopeDialog:a,forceMount:r,children:n,container:s}=t,i=ka(dS,a);return e.jsx(VF,{scope:a,forceMount:r,children:g.Children.map(n,c=>e.jsx(Z9,{present:r||i.open,children:e.jsx(W9,{asChild:!0,container:s,children:c})}))})};cP.displayName=dS;var C9="DialogOverlay",lP=g.forwardRef((t,a)=>{const r=oP(C9,t.__scopeDialog),{forceMount:n=r.forceMount,...s}=t,i=ka(C9,t.__scopeDialog);return i.modal?e.jsx(Z9,{present:n||i.open,children:e.jsx($F,{...s,ref:a})}):null});lP.displayName=C9;var BF=Ke("DialogOverlay.RemoveScroll"),$F=g.forwardRef((t,a)=>{const{__scopeDialog:r,...n}=t,s=ka(C9,r);return e.jsx(X9,{as:BF,allowPinchZoom:!0,shards:[s.contentRef],children:e.jsx(ul.div,{"data-state":uS(s.open),...n,ref:a,style:{pointerEvents:"auto",...n.style}})})}),bo="DialogContent",dP=g.forwardRef((t,a)=>{const r=oP(bo,t.__scopeDialog),{forceMount:n=r.forceMount,...s}=t,i=ka(bo,t.__scopeDialog);return e.jsx(Z9,{present:n||i.open,children:i.modal?e.jsx(UF,{...s,ref:a}):e.jsx(GF,{...s,ref:a})})});dP.displayName=bo;var UF=g.forwardRef((t,a)=>{const r=ka(bo,t.__scopeDialog),n=g.useRef(null),s=$9(a,r.contentRef,n);return g.useEffect(()=>{const i=n.current;if(i)return lS(i)},[]),e.jsx(hP,{...t,ref:s,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Kc(t.onCloseAutoFocus,i=>{var c;i.preventDefault(),(c=r.triggerRef.current)==null||c.focus()}),onPointerDownOutside:Kc(t.onPointerDownOutside,i=>{const c=i.detail.originalEvent,l=c.button===0&&c.ctrlKey===!0;(c.button===2||l)&&i.preventDefault()}),onFocusOutside:Kc(t.onFocusOutside,i=>i.preventDefault())})}),GF=g.forwardRef((t,a)=>{const r=ka(bo,t.__scopeDialog),n=g.useRef(!1),s=g.useRef(!1);return e.jsx(hP,{...t,ref:a,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,s.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"&&(s.current=!0));const c=i.target;((h=r.triggerRef.current)==null?void 0:h.contains(c))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&s.current&&i.preventDefault()}})}),hP=g.forwardRef((t,a)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:s,onCloseAutoFocus:i,...c}=t,l=ka(bo,r),d=g.useRef(null),h=$9(a,d);return cS(),e.jsxs(e.Fragment,{children:[e.jsx(G9,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:s,onUnmountAutoFocus:i,children:e.jsx(U9,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":uS(l.open),...c,ref:h,onDismiss:()=>l.onOpenChange(!1)})}),e.jsxs(e.Fragment,{children:[e.jsx(ZF,{titleId:l.titleId}),e.jsx(XF,{contentRef:d,descriptionId:l.descriptionId})]})]})}),hS="DialogTitle",uP=g.forwardRef((t,a)=>{const{__scopeDialog:r,...n}=t,s=ka(hS,r);return e.jsx(ul.h2,{id:s.titleId,...n,ref:a})});uP.displayName=hS;var pP="DialogDescription",yP=g.forwardRef((t,a)=>{const{__scopeDialog:r,...n}=t,s=ka(pP,r);return e.jsx(ul.p,{id:s.descriptionId,...n,ref:a})});yP.displayName=pP;var mP="DialogClose",fP=g.forwardRef((t,a)=>{const{__scopeDialog:r,...n}=t,s=ka(mP,r);return e.jsx(ul.button,{type:"button",...n,ref:a,onClick:Kc(t.onClick,()=>s.onOpenChange(!1))})});fP.displayName=mP;function uS(t){return t?"open":"closed"}var xP="DialogTitleWarning",[WF,gP]=fE(xP,{contentName:bo,titleName:hS,docsSlug:"dialog"}),ZF=({titleId:t})=>{const a=gP(xP),r=`\`${a.contentName}\` requires a \`${a.titleName}\` for the component to be accessible for screen reader users.
7796
+ `)},qF=0,_o=[];function DF(t){var a=g.useRef([]),r=g.useRef([0,0]),n=g.useRef(),s=g.useState(qF++)[0],i=g.useState(YA)[0],c=g.useRef(t);g.useEffect(function(){c.current=t},[t]),g.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(s));var f=rF([t.lockRef.current],(t.shards||[]).map(_L),!0).filter(Boolean);return f.forEach(function(v){return v.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),f.forEach(function(v){return v.classList.remove("allow-interactivity-".concat(s))})}}},[t.inert,t.lockRef.current,t.shards]);var l=g.useCallback(function(f,v){if("touches"in f&&f.touches.length===2||f.type==="wheel"&&f.ctrlKey)return!c.current.allowPinchZoom;var k=Ml(f),w=r.current,j="deltaX"in f?f.deltaX:w[0]-k[0],S="deltaY"in f?f.deltaY:w[1]-k[1],C,A=f.target,L=Math.abs(j)>Math.abs(S)?"h":"v";if("touches"in f&&L==="h"&&A.type==="range")return!1;var b=AL(L,A);if(!b)return!0;if(b?C=L:(C=L==="v"?"h":"v",b=AL(L,A)),!b)return!1;if(!n.current&&"changedTouches"in f&&(j||S)&&(n.current=C),!C)return!0;var N=n.current||C;return _F(N,v,f,N==="h"?j:S,!0)},[]),d=g.useCallback(function(f){var v=f;if(!(!_o.length||_o[_o.length-1]!==i)){var k="deltaY"in v?PL(v):Ml(v),w=a.current.filter(function(C){return C.name===v.type&&(C.target===v.target||v.target===C.shadowParent)&&RF(C.delta,k)})[0];if(w&&w.should){v.cancelable&&v.preventDefault();return}if(!w){var j=(c.current.shards||[]).map(_L).filter(Boolean).filter(function(C){return C.contains(v.target)}),S=j.length>0?l(v,j[0]):!c.current.noIsolation;S&&v.cancelable&&v.preventDefault()}}},[]),h=g.useCallback(function(f,v,k,w){var j={name:f,delta:v,target:k,should:w,shadowParent:zF(k)};a.current.push(j),setTimeout(function(){a.current=a.current.filter(function(S){return S!==j})},1)},[]),u=g.useCallback(function(f){r.current=Ml(f),n.current=void 0},[]),p=g.useCallback(function(f){h(f.type,PL(f),f.target,l(f,t.lockRef.current))},[]),m=g.useCallback(function(f){h(f.type,Ml(f),f.target,l(f,t.lockRef.current))},[]);g.useEffect(function(){return _o.push(i),t.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:m}),document.addEventListener("wheel",d,Po),document.addEventListener("touchmove",d,Po),document.addEventListener("touchstart",u,Po),function(){_o=_o.filter(function(f){return f!==i}),document.removeEventListener("wheel",d,Po),document.removeEventListener("touchmove",d,Po),document.removeEventListener("touchstart",u,Po)}},[]);var y=t.removeScrollBar,x=t.inert;return g.createElement(g.Fragment,null,x?g.createElement(i,{styles:TF(s)}):null,y?g.createElement(CF,{noRelative:t.noRelative,gapMode:t.gapMode}):null)}function zF(t){for(var a=null;t!==null;)t instanceof ShadowRoot&&(a=t.host,t=t.host),t=t.parentNode;return a}const EF=uF(XA,DF);var X9=g.forwardRef(function(t,a){return g.createElement(J9,Ia({},t,{ref:a,sideCar:EF}))});X9.classNames=J9.classNames;var FF=function(t){if(typeof document>"u")return null;var a=Array.isArray(t)?t[0]:t;return a.ownerDocument.body},Ro=new WeakMap,jl=new WeakMap,Cl={},_j=0,tP=function(t){return t&&(t.host||tP(t.parentNode))},OF=function(t,a){return a.map(function(r){if(t.contains(r))return r;var n=tP(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})},HF=function(t,a,r,n){var s=OF(a,Array.isArray(t)?t:[t]);Cl[r]||(Cl[r]=new WeakMap);var i=Cl[r],c=[],l=new Set,d=new Set(s),h=function(p){!p||l.has(p)||(l.add(p),h(p.parentNode))};s.forEach(h);var u=function(p){!p||d.has(p)||Array.prototype.forEach.call(p.children,function(m){if(l.has(m))u(m);else try{var y=m.getAttribute(n),x=y!==null&&y!=="false",f=(Ro.get(m)||0)+1,v=(i.get(m)||0)+1;Ro.set(m,f),i.set(m,v),c.push(m),f===1&&x&&jl.set(m,!0),v===1&&m.setAttribute(r,"true"),x||m.setAttribute(n,"true")}catch(k){console.error("aria-hidden: cannot operate on ",m,k)}})};return u(a),l.clear(),_j++,function(){c.forEach(function(p){var m=Ro.get(p)-1,y=i.get(p)-1;Ro.set(p,m),i.set(p,y),m||(jl.has(p)||p.removeAttribute(n),jl.delete(p)),y||p.removeAttribute(r)}),_j--,_j||(Ro=new WeakMap,Ro=new WeakMap,jl=new WeakMap,Cl={})}},lS=function(t,a,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(t)?t:[t]),s=FF(t);return s?(n.push.apply(n,Array.from(s.querySelectorAll("[aria-live]"))),HF(n,s,r,"aria-hidden")):function(){return null}},Y9="Dialog",[aP,rP]=gE(Y9),[VF,Ma]=aP(Y9),nP=t=>{const{__scopeDialog:a,children:r,open:n,defaultOpen:s,onOpenChange:i,modal:c=!0}=t,l=g.useRef(null),d=g.useRef(null),[h,u]=ME({prop:n,defaultProp:s??!1,onChange:i,caller:Y9});return e.jsx(VF,{scope:a,triggerRef:l,contentRef:d,contentId:jj(),titleId:jj(),descriptionId:jj(),open:h,onOpenChange:u,onOpenToggle:g.useCallback(()=>u(p=>!p),[u]),modal:c,children:r})};nP.displayName=Y9;var sP="DialogTrigger",iP=g.forwardRef((t,a)=>{const{__scopeDialog:r,...n}=t,s=Ma(sP,r),i=$9(a,s.triggerRef);return e.jsx(ul.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":uS(s.open),...n,ref:i,onClick:Kc(t.onClick,s.onOpenToggle)})});iP.displayName=sP;var dS="DialogPortal",[BF,oP]=aP(dS,{forceMount:void 0}),cP=t=>{const{__scopeDialog:a,forceMount:r,children:n,container:s}=t,i=Ma(dS,a);return e.jsx(BF,{scope:a,forceMount:r,children:g.Children.map(n,c=>e.jsx(Z9,{present:r||i.open,children:e.jsx(W9,{asChild:!0,container:s,children:c})}))})};cP.displayName=dS;var C9="DialogOverlay",lP=g.forwardRef((t,a)=>{const r=oP(C9,t.__scopeDialog),{forceMount:n=r.forceMount,...s}=t,i=Ma(C9,t.__scopeDialog);return i.modal?e.jsx(Z9,{present:n||i.open,children:e.jsx(UF,{...s,ref:a})}):null});lP.displayName=C9;var $F=at("DialogOverlay.RemoveScroll"),UF=g.forwardRef((t,a)=>{const{__scopeDialog:r,...n}=t,s=Ma(C9,r);return e.jsx(X9,{as:$F,allowPinchZoom:!0,shards:[s.contentRef],children:e.jsx(ul.div,{"data-state":uS(s.open),...n,ref:a,style:{pointerEvents:"auto",...n.style}})})}),bo="DialogContent",dP=g.forwardRef((t,a)=>{const r=oP(bo,t.__scopeDialog),{forceMount:n=r.forceMount,...s}=t,i=Ma(bo,t.__scopeDialog);return e.jsx(Z9,{present:n||i.open,children:i.modal?e.jsx(GF,{...s,ref:a}):e.jsx(WF,{...s,ref:a})})});dP.displayName=bo;var GF=g.forwardRef((t,a)=>{const r=Ma(bo,t.__scopeDialog),n=g.useRef(null),s=$9(a,r.contentRef,n);return g.useEffect(()=>{const i=n.current;if(i)return lS(i)},[]),e.jsx(hP,{...t,ref:s,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Kc(t.onCloseAutoFocus,i=>{var c;i.preventDefault(),(c=r.triggerRef.current)==null||c.focus()}),onPointerDownOutside:Kc(t.onPointerDownOutside,i=>{const c=i.detail.originalEvent,l=c.button===0&&c.ctrlKey===!0;(c.button===2||l)&&i.preventDefault()}),onFocusOutside:Kc(t.onFocusOutside,i=>i.preventDefault())})}),WF=g.forwardRef((t,a)=>{const r=Ma(bo,t.__scopeDialog),n=g.useRef(!1),s=g.useRef(!1);return e.jsx(hP,{...t,ref:a,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,s.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"&&(s.current=!0));const c=i.target;((h=r.triggerRef.current)==null?void 0:h.contains(c))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&s.current&&i.preventDefault()}})}),hP=g.forwardRef((t,a)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:s,onCloseAutoFocus:i,...c}=t,l=Ma(bo,r),d=g.useRef(null),h=$9(a,d);return cS(),e.jsxs(e.Fragment,{children:[e.jsx(G9,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:s,onUnmountAutoFocus:i,children:e.jsx(U9,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":uS(l.open),...c,ref:h,onDismiss:()=>l.onOpenChange(!1)})}),e.jsxs(e.Fragment,{children:[e.jsx(JF,{titleId:l.titleId}),e.jsx(YF,{contentRef:d,descriptionId:l.descriptionId})]})]})}),hS="DialogTitle",uP=g.forwardRef((t,a)=>{const{__scopeDialog:r,...n}=t,s=Ma(hS,r);return e.jsx(ul.h2,{id:s.titleId,...n,ref:a})});uP.displayName=hS;var pP="DialogDescription",yP=g.forwardRef((t,a)=>{const{__scopeDialog:r,...n}=t,s=Ma(pP,r);return e.jsx(ul.p,{id:s.descriptionId,...n,ref:a})});yP.displayName=pP;var mP="DialogClose",fP=g.forwardRef((t,a)=>{const{__scopeDialog:r,...n}=t,s=Ma(mP,r);return e.jsx(ul.button,{type:"button",...n,ref:a,onClick:Kc(t.onClick,()=>s.onOpenChange(!1))})});fP.displayName=mP;function uS(t){return t?"open":"closed"}var xP="DialogTitleWarning",[ZF,gP]=xE(xP,{contentName:bo,titleName:hS,docsSlug:"dialog"}),JF=({titleId:t})=>{const a=gP(xP),r=`\`${a.contentName}\` requires a \`${a.titleName}\` for the component to be accessible for screen reader users.
7797
7797
 
7798
7798
  If you want to hide the \`${a.titleName}\`, you can wrap it with our VisuallyHidden component.
7799
7799
 
7800
- For more information, see https://radix-ui.com/primitives/docs/components/${a.docsSlug}`;return g.useEffect(()=>{t&&(document.getElementById(t)||console.error(r))},[r,t]),null},JF="DialogDescriptionWarning",XF=({contentRef:t,descriptionId:a})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${gP(JF).contentName}}.`;return g.useEffect(()=>{var i;const s=(i=t.current)==null?void 0:i.getAttribute("aria-describedby");a&&s&&(document.getElementById(a)||console.warn(n))},[n,t,a]),null},kP=nP,vP=iP,wP=cP,pS=lP,yS=dP,mS=uP,fS=yP,xS=fP;function K9(t,a){if(t==null)return{};var r={},n=Object.keys(t),s,i;for(i=0;i<n.length;i++)s=n[i],!(a.indexOf(s)>=0)&&(r[s]=t[s]);return r}var YF=["color"],KF=M.forwardRef(function(t,a){var r=t.color,n=r===void 0?"currentColor":r,s=K9(t,YF);return M.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s,{ref:a}),M.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"}))}),QF=["color"],bP=M.forwardRef(function(t,a){var r=t.color,n=r===void 0?"currentColor":r,s=K9(t,QF);return M.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s,{ref:a}),M.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"}))}),eO=["color"],tO=M.forwardRef(function(t,a){var r=t.color,n=r===void 0?"currentColor":r,s=K9(t,eO);return M.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s,{ref:a}),M.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"}))}),aO=["color"],rO=M.forwardRef(function(t,a){var r=t.color,n=r===void 0?"currentColor":r,s=K9(t,aO);return M.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s,{ref:a}),M.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 Qa=kP,nO=vP,sO=wP,MP=g.forwardRef(({className:t,...a},r)=>e.jsx(pS,{ref:r,className:me("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),...a}));MP.displayName=pS.displayName;const qa=g.forwardRef(({className:t,children:a,...r},n)=>e.jsxs(sO,{children:[e.jsx(MP,{}),e.jsxs(yS,{ref:n,className:me("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:[a,e.jsxs(xS,{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:[e.jsx(rO,{className:"h-4 w-4"}),e.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));qa.displayName=yS.displayName;const fa=({className:t,...a})=>e.jsx("div",{className:me("flex flex-col space-y-1.5 text-center sm:text-left",t),...a});fa.displayName="DialogHeader";const ra=({className:t,...a})=>e.jsx("div",{className:me("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...a});ra.displayName="DialogFooter";const na=g.forwardRef(({className:t,...a},r)=>e.jsx(mS,{ref:r,className:me("text-lg font-semibold leading-none tracking-tight",t),...a}));na.displayName=mS.displayName;const go=g.forwardRef(({className:t,...a},r)=>e.jsx(fS,{ref:r,className:me("text-sm text-muted-foreground",t),...a}));go.displayName=fS.displayName;var iO="Label",jP=g.forwardRef((t,a)=>e.jsx(No.label,{...t,ref:a,onMouseDown:r=>{var s;r.target.closest("button, input, select, textarea")||((s=t.onMouseDown)==null||s.call(t,r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));jP.displayName=iO;var CP=jP;const oO=D9("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),se=g.forwardRef(({className:t,...a},r)=>e.jsx(CP,{ref:r,className:me(oO(),t),...a}));se.displayName=CP.displayName;const cO=1,lO=1e6;let Rj=0;function dO(){return Rj=(Rj+1)%Number.MAX_SAFE_INTEGER,Rj.toString()}const Tj=new Map,RL=t=>{if(Tj.has(t))return;const a=setTimeout(()=>{Tj.delete(t),u9({type:"REMOVE_TOAST",toastId:t})},lO);Tj.set(t,a)},hO=(t,a)=>{switch(a.type){case"ADD_TOAST":return{...t,toasts:[a.toast,...t.toasts].slice(0,cO)};case"UPDATE_TOAST":return{...t,toasts:t.toasts.map(r=>r.id===a.toast.id?{...r,...a.toast}:r)};case"DISMISS_TOAST":{const{toastId:r}=a;return r?RL(r):t.toasts.forEach(n=>{RL(n.id)}),{...t,toasts:t.toasts.map(n=>n.id===r||r===void 0?{...n,open:!1}:n)}}case"REMOVE_TOAST":return a.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(r=>r.id!==a.toastId)}}},uO=[];let qj={toasts:[]};function u9(t){qj=hO(qj,t),uO.forEach(a=>{a(qj)})}function TL({...t}){const a=dO(),r=s=>u9({type:"UPDATE_TOAST",toast:{...s,id:a}}),n=()=>u9({type:"DISMISS_TOAST",toastId:a});return u9({type:"ADD_TOAST",toast:{...t,id:a,open:!0,onOpenChange:s=>{s||n()}}}),{id:a,dismiss:n,update:r}}const pO=new Set([200,201,202,204]);function yO(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 mO(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 fO(t,a){const{timeoutMs:r=12e3,...n}=a??{},s=new AbortController,i=setTimeout(()=>s.abort(),r);try{const c=await fetch(t,{...n,signal:s.signal});if(pO.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:yO(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 xO({open:t,onOpenChange:a,onSubscriptionSuccess:r,searchQuery:n,filters:s,apiUrl:i="http://localhost:5147"}){const[c,l]=M.useState(""),[d,h]=M.useState(!1),[u,p]=M.useState(null),m=async y=>{if(y.preventDefault(),p(null),!c||!c.includes("@")){p("Please enter a valid email address.");return}h(!0);try{const x=await fO(`${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(!x.ok){p(mO(x.error)),TL({title:"Subscription failed",description:x.error.message});return}localStorage.setItem("leadId",x.data.id),localStorage.setItem("email",c),TL({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 e.jsx(Qa,{open:t,onOpenChange:a,children:e.jsxs(qa,{className:"sm:max-w-md",children:[e.jsxs(fa,{children:[e.jsxs(na,{className:"flex items-center gap-2",children:[e.jsx(zo,{className:"h-5 w-5 text-orange-500"}),"Create Job Alert"]}),e.jsx(go,{children:"Subscribe to get notified when new jobs matching your search criteria are posted."})]}),e.jsxs("form",{onSubmit:m,className:"space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(se,{htmlFor:"email",children:"Email address"}),e.jsxs("div",{className:"relative",children:[e.jsx(aa,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),e.jsx(Re,{id:"email",type:"email",placeholder:"Enter your email address",value:c,onChange:y=>l(y.target.value),className:"pl-10",required:!0,"aria-invalid":!!u,"aria-describedby":u?"email-error":void 0})]}),u&&e.jsx("p",{id:"email-error",role:"alert",className:"text-sm text-red-600",children:u})]}),n&&e.jsxs("div",{className:"rounded-lg bg-muted p-3 text-sm",children:[e.jsx("p",{className:"font-medium",children:"Alert criteria:"}),e.jsxs("p",{className:"text-muted-foreground",children:['"',n,'"']})]}),e.jsxs(ra,{className:"gap-2 sm:gap-0",children:[e.jsx(z,{type:"button",variant:"outline",onClick:()=>a(!1),disabled:d,children:"Cancel"}),e.jsx(z,{type:"submit",disabled:d,children:d?"Creating Alert...":"Create Alert"})]})]})]})})}function SP(){const t="savedJobs",[a,r]=M.useState([]);return M.useEffect(()=>{try{const i=localStorage.getItem(t);i&&r(JSON.parse(i))}catch(i){console.error("Failed to load saved jobs:",i)}},[]),{savedJobs:a,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?a.includes(i):!1}}const gO=({value:t,options:a,onChange:r})=>e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx("span",{className:"text-sm font-medium text-gray-700",children:"Order by"}),e.jsxs("div",{className:"relative",children:[e.jsx("select",{"aria-label":"Order results",value:t,onChange:n=>r(n.target.value),className:"block w-full rounded-lg border border-gray-300 bg-white px-3 py-2 pr-9 text-sm text-gray-700 shadow-sm focus:border-primary-500 focus:outline-none focus:ring-2 focus:ring-primary-100",children:a.map(n=>e.jsx("option",{value:n.value,children:n.label},n.value))}),e.jsx("span",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3 text-gray-400",children:"▼"})]})]}),kO=6,Dj={jobTypes:[],experienceLevels:[],country:"",city:"",location:"",minSalary:"",maxSalary:"",industry:""},vO=({apiUrl:t,itemsPerPage:a=12,filterKeys:r,banner:n,enableMobileFilter:s=!0,cardType:i,dateField:c="created_at",dateFieldLabel:l="Published",searchableFilters:d=["companies"],notification_url:h="http://localhost:5147",userAccess:u,onEmitEvent:p,eventContext:m,onPopularTagClick:y,onPopularTagRemove:x,allowPopularTagRemoval:f=!1})=>{var H;const[v,k]=M.useState([]),[w,j]=M.useState([]),[S,C]=M.useState([]),[A,L]=M.useState(1),[b,N]=M.useState({}),[q,P]=M.useState([]),[R,T]=M.useState({}),[$,W]=M.useState(""),[B,U]=M.useState([]),[O,le]=M.useState(!1),[re,X]=M.useState(a),[J,ae]=M.useState("grid"),[Q,pe]=M.useState(!1),[we,Z]=M.useState([]),[ee,ve]=M.useState(!0),[fe,te]=M.useState(null),[ne,Ae]=M.useState("all"),[Pe,De]=M.useState(!1),[Qe,ot]=M.useState(!1),[pt,et]=M.useState({...Dj}),[Oe,ct]=M.useState({open:!1,type:"info",message:""}),[Je,oa]=M.useState("date_desc"),{savedJobs:yt,toggleJob:lt}=SP(),Wt=V9(u),F=M.useMemo(()=>({component:"Listing",...m??{}}),[m]),V=M.useMemo(()=>[{value:"relevance",label:"Best match (relevance)"},{value:"date_desc",label:`${l} (newest)`},{value:"date_asc",label:`${l} (oldest)`},{value:"views_desc",label:"Most viewed"},{value:"views_asc",label:"Least viewed"},{value:"title_asc",label:"Title A → Z"}],[l]),K=M.useCallback((_,E)=>{p&&p({domain:"jobs",name:_,payload:E,timestamp:new Date().toISOString(),context:F})},[F,p]),Ne=M.useCallback(()=>({filters:{...b},advancedFilters:pt,dateFilter:ne}),[b,ne,pt]),D=M.useCallback(()=>({page:A,pageSize:re,totalResults:w.length,viewMode:J,showOnlySaved:Q}),[A,w.length,re,Q,J]),ie=M.useRef(!1),be=(_,E)=>{ct({open:!0,type:_,message:E})};M.useEffect(()=>{try{const _=localStorage.getItem("lastVisitedJobs");_&&Z(JSON.parse(_));try{localStorage.getItem("email")&&ot(!0)}catch(E){console.error("Error checking subscription state:",E)}}catch(_){console.error("Error loading data from localStorage:",_)}},[]),M.useEffect(()=>{const E=new URLSearchParams(window.location.search).get("date_filter");E&&E!=="all"&&Ae(E)},[]),M.useEffect(()=>{if(!t){te("❌ Missing API URL for Listing component!"),ve(!1);return}ve(!0),te(null),(async()=>{try{const E=await fetch(t);if(!E.ok)throw new Error(`API responded with status: ${E.status}`);const Y=await E.json();if(!Array.isArray(Y))throw new Error("Expected an array but received: "+typeof Y);const ce=Y.map((Ce,_e)=>({...Ce,sponsored:_e%7===0,topTag:sS(Ce.title||"")})),he=Array.from(new Set(ce.map(Ce=>Ce.topTag).filter(Ce=>typeof Ce=="string"))).slice(0,10);C(he);const ye=vl(ce,Je,q,c);k(ce),j(ye);const ze=Yc(ce,r);T(ze)}catch(E){console.error("Error fetching data:",E),te(`Failed to load data: ${E instanceof Error?E.message:String(E)}`);const Y=iE(20),ce=vl(Y,Je,q,c);k(Y),j(ce);const he=Yc(Y,r);T(he)}finally{ve(!1)}})()},[t,c,q,Je]),M.useEffect(()=>{const _=new URLSearchParams(window.location.search),E={};r.forEach(he=>{const ye=_.get(he);ye&&(E[he]=ye)}),N(E);const Y=_.get("q")||_.get("searchTerm")||"";Y&&W(Y);const ce={};r.forEach(he=>{const ye=_.get(he);ye&&(ce[he]=ye)}),N(ce)},[]),M.useEffect(()=>{if(Q){const _=v.filter(Y=>yt.includes(Y.id||Y.slug||Y.link)),E=vl(_,Je,q,c);j(E),L(1)}else mt()},[]),M.useEffect(()=>{ie.current||ee||!w.length&&!v.length||(K("jobs_listing_viewed",{...Ne(),...D()}),ie.current=!0)},[v.length,K,w.length,Ne,D,ee]);const tt=M.useCallback(_=>{const E=Yc(_,r);T(E)},[r]),mt=M.useCallback(_=>{const E=(_==null?void 0:_.baseItems)??v,Y=(_==null?void 0:_.filters)??b,ce=(_==null?void 0:_.search)??q,he=(_==null?void 0:_.dateFilter)??ne,ye=(_==null?void 0:_.advanced)??pt;let ze=io(E,Y,ce,he,c);ze=yE(ze,ye);const Ce=vl(ze,Je,ce,c);return j(Ce),((_==null?void 0:_.resetPage)??!0)&&L(1),((_==null?void 0:_.refreshFiltersData)??!0)&&tt(Ce),Ce},[ne,b,pt,v,c,q,Je,tt]);M.useEffect(()=>{mt({resetPage:!1,refreshFiltersData:!1})},[Je,mt]);const Zt=(_,E)=>{const Y={...b};E?Y[_]=E:delete Y[_],Q&&pe(!1),N(Y),mt({filters:Y});const ce={...Ne(),filters:Y};E?K("jobs_filter_selected",{key:_,value:E,...ce}):K("jobs_filter_cleared",{key:_,...ce})},za=()=>{ot(!0),Te().then(()=>De(!1))},Er=M.useRef(null),tr=_=>{L(_),K("jobs_listing_page_changed",{page:_,pageSize:re,totalResults:w.length}),setTimeout(()=>{var E;(E=Er.current)==null||E.scrollIntoView({behavior:"smooth",block:"start"})},100)},ar=_=>{Q&&pe(!1),Ae(_),mt({dateFilter:_}),OA(_),K("jobs_date_filter_changed",{dateFilter:_})},ca=_=>{if(W(_),_){const E=v.map(Y=>Y.title).filter((Y,ce,he)=>Y&&Y.toLowerCase().includes(_.toLowerCase())&&he.indexOf(Y)===ce).slice(0,5);U(E)}else U([])},Ea=_=>{if(!_.trim())return;Q&&pe(!1);const E=[...q,_.trim()];P(E),mt({search:E}),W(""),K("jobs_search_submitted",{searchKeywords:E,query:_.trim(),...Ne()})},Fr=_=>{const E=q.filter(Y=>Y!==_);P(E),mt({search:E}),K("jobs_search_filter_removed",{removedKeyword:_,remainingKeywords:E})},G=()=>{N({}),P([]),pe(!1),Ae("all"),et({...Dj}),mt({filters:{},search:[],dateFilter:"all",advanced:Dj}),K("jobs_filters_cleared_all",{})},oe=_=>{const E=new Set,Y=[];for(const ce of _){const he=`${ce.key??""}|${ce.value.toLowerCase()}`;E.has(he)||(E.add(he),Y.push(ce))}return Y},je=_=>_.replace(/\/+$/,""),Te=async()=>{if(K("jobs_alert_cta_clicked",{searchKeywords:q,query:$.trim()||void 0,...Ne()}),!Qe)De(!0),K("jobs_subscription_modal_opened",{});else{const _=localStorage.getItem("email"),E=localStorage.getItem("leadId");if(!_||!E){be("info","Please subscribe first to create alerts.");return}const Y="keyword",ce=(Ee,ht)=>ht&&ht.trim()?{key:Ee.toLowerCase(),value:ht.trim()}:null,he=Object.entries(b).map(([Ee,ht])=>ce(Ee,ht)).filter(Ee=>Ee!==null),ye=q.map(Ee=>ce(Y,Ee)).filter(Ee=>Ee!==null),ze=ce(Y,$),Ce=ze?[ze]:[],_e=oe([...he,...ye,...Ce]);if(_e.length===0){be("info","No filters/keywords to save.");return}try{const Ee=je(h??"http://localhost:5147"),ht=await fetch(`${Ee}/api/leads/${E}/preferences/bulk`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(_e)});if(!ht.ok){let Jt="";try{Jt=await ht.text()}catch{}throw new Error(`${ht.status} ${ht.statusText} ${Jt}`.trim())}be("success","Alert saved. We’ll notify you about new matching jobs."),W(""),K("jobs_alert_created",{preferences:_e.filter(Jt=>Jt!==null)})}catch(Ee){console.error("Create alert failed:",Ee),be("error","Failed to save alert.")}}},Ge=()=>{le(!O)},Fa=w.length===0?0:(A-1)*re+1,dt=Math.min(A*re,w.length),vt=_=>{X(_),L(1),K("jobs_listing_items_per_page_changed",{pageSize:_})},rr=()=>{ae(_=>{const E=_==="grid"?"list":"grid";return K("jobs_listing_viewmode_changed",{viewMode:E}),E})},We=(_,E,Y="same_tab",ce="listing")=>{const he=_.id||_.slug||_.link;he&&(Z(ye=>{const ze=ye.filter(_e=>(_e.id||_e.slug||_e.link)!==he),Ce=[_,...ze].slice(0,kO);try{localStorage.setItem("lastVisitedJobs",JSON.stringify(Ce))}catch(_e){console.error("Error saving to localStorage:",_e)}return Ce}),K("job_opened",{jobId:he,slug:_.slug,positionInList:E,openedFrom:ce,openedIn:Y}))},wt=(_,E)=>{const Y=_.id||_.slug||_.link;if(!Y)return;const ce=yt.includes(Y);lt(Y),K(ce?"job_unsaved":"job_saved",{jobId:Y,slug:_.slug,positionInList:E})},pc=(_,E,Y="external")=>{const ce=_.id||_.slug||_.link;ce&&K("job_apply_clicked",{jobId:ce,slug:_.slug,positionInList:E,applyType:Y})},xl=()=>{pe(!Q)},hj=Math.ceil(w.length/re),I=w.slice((A-1)*re,A*re);return fe&&!v.length?e.jsx("div",{className:"flex-grow p-8",children:e.jsx("div",{className:"max-w-7xl mx-auto",children:e.jsxs("div",{className:"bg-red-50 border border-red-200 text-red-800 rounded-lg p-6",children:[e.jsx("h2",{className:"text-lg font-semibold mb-2",children:"Error Loading Jobs"}),e.jsx("p",{className:"mb-4",children:fe}),e.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"})]})})}):e.jsxs("div",{className:"flex flex-col min-h-screen pb-16 md:pb-0",children:[e.jsxs("div",{className:"flex-grow",children:[e.jsx(nS,{onSearchChange:ca,searchPlaceholder:"Search jobs, companies, or keywords...",title:"Job Listings",description:"",popularTags:S,generateHref:_=>`/jobs?q=${_.toLowerCase().replace(/\s+/g,"+")}`,onTagClick:y,onTagRemove:x,allowTagRemoval:f}),e.jsxs("div",{className:"container mx-auto py-8 pb-20 md:pb-8",children:[e.jsxs("div",{className:"relative",children:[e.jsxs("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:[e.jsx(rS,{data:v.map(_=>_.title).filter(Boolean),onSelect:_=>{Ea(_)},onTyping:_=>{W(_),ca(_)},placeholder:"Search for jobs, companies, or keywords...",className:"w-full",showSubmitButton:!0}),e.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:Ge,children:e.jsx(Mr,{size:16,className:"mr-1.5"})})]}),e.jsx("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:e.jsx(iS,{filters:[...ne!=="all"?[{key:"date",label:l,value:ne.replace(/_/g," "),onRemove:()=>ar("all")}]:[],...q.map(_=>({key:"search",label:"",value:_,onRemove:()=>Fr(_)})),...Object.entries(b).map(([_,E])=>({key:_,label:_.replace(/_/g," "),value:E,onRemove:()=>Zt(_,"")}))],onClearAll:G,handleCreateAlert:Te})})]}),s&&e.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:Ge,"aria-expanded":O,children:[e.jsx(Mr,{className:"w-4 h-4 mr-2"}),O?"Close Filters":"Filters"]}),e.jsxs("div",{className:"flex flex-col lg:flex-row lg:gap-6",children:[e.jsx(HA,{dateFieldLabel:"Date",activeDateFilter:ne,onDateFilterChange:ar,filterKeys:r,searchableFilters:d,filtersData:R,activeFilters:b,handleFilterChange:Zt,toggleSavedJobsFilter:xl,showOnlySaved:Q,savedJobs:yt}),ee?e.jsx(aS,{}):e.jsxs("div",{className:"lg:gap-6 w-fit",children:[e.jsx(oS,{viewMode:J,onToggleViewMode:rr,selectedItemsPerPage:re,onItemsPerPageChange:vt,totalCount:w.length,startIndex:Fa,endIndex:dt,title:"Latest Jobs"}),e.jsxs("div",{className:"",children:[e.jsx("div",{className:"mb-6",children:e.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsxs("h3",{className:"text-xl font-semibold text-gray-900 flex items-center",children:[Q?"Saved Jobs":"Open Positions",ne!=="all"&&!Q&&e.jsxs("span",{className:"text-sm font-normal text-gray-500 ml-2",children:["(",ne.replace(/_/g," "),")"]})]}),e.jsxs("p",{className:"text-sm text-gray-600",children:[e.jsx("span",{className:"font-semibold text-gray-900",children:w.length})," found"]})]}),e.jsx(gO,{value:Je,options:V,onChange:oa})]})}),e.jsx(hE,{items:I,cardType:i,viewMode:J,savedJobs:yt,onSaveJob:wt,onViewJob:We,onApplyJob:pc,firstItemRef:Er,userAccess:Wt}),w.length>0&&e.jsx("div",{className:"mt-6",children:e.jsx(B9,{currentPage:A,totalPages:hj,onPageChange:tr})})]}),we.length>0&&e.jsx("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:e.jsx(uE,{jobs:we,onViewJob:We})})]}),e.jsx("div",{className:"hidden lg:block lg:w-1/4 space-y-6",children:((H=n==null?void 0:n.sidebar)==null?void 0:H.enabled)&&e.jsxs("div",{className:"sticky top-4",children:[e.jsx(ol,{position:"sidebar",url:n.sidebar.url,link:n.sidebar.link,alt:n.sidebar.alt}),e.jsx(eS,{api_url:h}),e.jsxs("div",{className:"mt-6 bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[e.jsx("h3",{className:"font-semibold text-lg mb-3",children:"Featured Employers"}),e.jsx("div",{className:"grid grid-cols-3 gap-2",children:[...Array(6)].map((_,E)=>e.jsx("div",{className:"flex items-center justify-center p-2 bg-gray-50 rounded-md",children:e.jsx("img",{src:`/placeholder.svg?height=40&width=40&text=${String.fromCharCode(65+E)}`,alt:`Featured employer ${E+1}`,className:"w-10 h-10 object-contain"})},E))})]})]})})]})]})]}),e.jsx(zA,{activeDateFilter:ne,handleDateFilterChange:ar,filterKeys:r,searchableFilters:d,dateFieldLabel:l,activeFilters:b,handleFilterChange:Zt,toggleSavedJobsFilter:xl,filtersData:R,savedJobs:yt,showOnlySaved:Q,isMobileFilterOpen:O,toggleMobileFilter:Ge}),e.jsx(qA,{savedJobsCount:yt.length}),e.jsx(RA,{open:Oe.open,type:Oe.type,message:Oe.message,onClose:()=>ct(_=>({..._,open:!1}))}),e.jsx(xO,{open:Pe,onOpenChange:De,onSubscriptionSuccess:za,apiUrl:h})]})};function qL(t=window.location.pathname){const a=t.replace(/^\/+|\/+$/g,"").split("/"),r=a.findIndex(s=>s.toLowerCase()==="jobs");if(r===-1)return null;const n=a[r+1];return n?decodeURIComponent(n):null}function wO(){const[t,a]=M.useState(()=>qL());return M.useEffect(()=>{const r=()=>a(qL());return window.addEventListener("popstate",r),()=>window.removeEventListener("popstate",r)},[]),t}function DL(t){window.location.assign(t)}function zL(t){window.history.length>1?window.history.back():window.location.assign(t)}function bO(t){const a=LP,r=t??{};return{id:r.id??a.id,title:r.title??a.title,company:r.company??a.company,companyLogo:r.companyLogo??a.companyLogo,location:r.location??a.location,salary:r.salary??void 0,jobType:r.jobType??a.jobType,experienceLevel:r.experienceLevel??a.experienceLevel,department:r.department??a.department,postedDate:r.postedDate??a.postedDate,applicationDeadline:r.applicationDeadline??void 0,description:r.description??a.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 MO(t){return!Array.isArray(t)||t.length===0?NP:t.map(a=>({id:a.id??"unknown",title:a.title??"Untitled",company:a.company??"",location:a.location??"",salary:a.salary??void 0,postedDate:a.postedDate??new Date().toISOString().slice(0,10)}))}const LP={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},NP=[{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"}],jO=({job:t=LP,similarJobs:a=NP,onSkillClick:r})=>{var L;const n=wO(),[s,i]=M.useState(()=>MO(a)),[c,l]=M.useState(!1),[d,h]=M.useState(null),[u,p]=M.useState(!1),[m,y]=M.useState(!1),{savedJobs:x,toggleJob:f,isSaved:v}=SP(),k=bO(t);M.useEffect(()=>{(async()=>{l(!0);try{if(await new Promise(q=>setTimeout(q,300)),!n)throw new Error("Missing slug in URL.");i(s);const N=JSON.parse(localStorage.getItem("appliedJobs")||"[]");y(N.includes(n))}catch(N){h((N==null?void 0:N.message)||"Failed to load job details")}finally{l(!1)}})()},[n]);const w=()=>{n&&f(n)},j=()=>{if(!n)return;k!=null&&k.applicationUrl?window.open(k.applicationUrl,"_blank","noopener,noreferrer"):p(!0);const b=JSON.parse(localStorage.getItem("appliedJobs")||"[]");b.includes(n)||(b.push(n),localStorage.setItem("appliedJobs",JSON.stringify(b)),y(!0))},S=async()=>{if(navigator.share)try{await navigator.share({title:k==null?void 0:k.title,text:`Check out this job opportunity: ${k==null?void 0:k.title} at ${k==null?void 0:k.company}`,url:window.location.href})}catch(b){console.log("Error sharing:",b)}else navigator.clipboard.writeText(window.location.href),alert("Job URL copied to clipboard!")},C=b=>new Date(b).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),A=b=>{const N=new Date(b),P=Math.abs(new Date().getTime()-N.getTime());return Math.ceil(P/(1e3*60*60*24))};return c?e.jsx("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",children:e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-blue-600 mx-auto"}),e.jsx("p",{className:"mt-4 text-gray-600",children:"Loading job details..."})]})}):d||!k?e.jsx("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",children:e.jsxs("div",{className:"text-center",children:[e.jsx(Dt,{className:"h-12 w-12 text-red-500 mx-auto mb-4"}),e.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-2",children:"Job Not Found"}),e.jsx("p",{className:"text-gray-600 mb-4",children:d||"The job you are looking for does not exist."}),e.jsx("button",{onClick:()=>zL("/jobs"),className:"bg-blue-600 text-white px-6 py-2 rounded-lg hover:bg-blue-700 transition-colors",children:"Back to Jobs"})]})}):e.jsxs("div",{className:"min-h-screen bg-gray-50",children:[e.jsx("div",{className:"bg-white border-b border-gray-200",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4",children:[e.jsxs("button",{onClick:()=>zL("/jobs"),className:"flex items-center text-gray-600 hover:text-gray-900 mb-4",children:[e.jsx(Ga,{className:"h-4 w-4 mr-2"}),"Back to Jobs"]}),e.jsxs("div",{className:"flex flex-col lg:flex-row lg:items-start lg:justify-between",children:[e.jsx("div",{className:"flex-1",children:e.jsxs("div",{className:"flex items-start space-x-4",children:[k.companyLogo&&e.jsx("img",{src:k.companyLogo,alt:`${k.company} logo`,className:"w-16 h-16 rounded-lg object-cover border border-gray-200"}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center space-x-2 mb-2",children:[k.isUrgent&&e.jsx("span",{className:"bg-red-100 text-red-800 text-xs font-medium px-2 py-1 rounded-full",children:"Urgent"}),k.isFeatured&&e.jsx("span",{className:"bg-yellow-100 text-yellow-800 text-xs font-medium px-2 py-1 rounded-full",children:"Featured"})]}),e.jsx("h1",{className:"text-2xl lg:text-3xl font-bold text-gray-900 mb-2",children:k.title}),e.jsxs("div",{className:"flex flex-wrap items-center gap-4 text-gray-600",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(xt,{className:"h-4 w-4 mr-1"}),e.jsx("span",{className:"font-medium",children:k.company})]}),e.jsxs("div",{className:"flex items-center",children:[e.jsx(st,{className:"h-4 w-4 mr-1"}),e.jsx("span",{children:k.location}),k.isRemote&&e.jsx("span",{className:"ml-1",children:"(Remote)"})]}),k.salary&&e.jsxs("div",{className:"flex items-center",children:[e.jsx(Lc,{className:"h-4 w-4 mr-1"}),e.jsx("span",{children:k.salary})]}),e.jsxs("div",{className:"flex items-center",children:[e.jsx(ma,{className:"h-4 w-4 mr-1"}),e.jsxs("span",{children:[A(k.postedDate)," days ago"]})]})]})]})]})}),e.jsxs("div",{className:"flex items-center space-x-3 mt-4 lg:mt-0",children:[e.jsxs("button",{onClick:w,className:`flex items-center px-4 py-2 rounded-lg border transition-colors ${v(k.id)?"bg-blue-50 border-blue-200 text-blue-700":"bg-white border-gray-300 text-gray-700 hover:bg-gray-50"}`,children:[e.jsx(kr,{className:`h-4 w-4 mr-2 ${v(k.id)?"fill-current":""}`}),v(k.id)?"Saved":"Save Job"]}),e.jsxs("button",{onClick:S,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:[e.jsx(po,{className:"h-4 w-4 mr-2"}),"Share"]}),e.jsx("button",{onClick:j,disabled:m,className:`flex items-center px-6 py-2 rounded-lg font-medium transition-colors ${m?"bg-green-100 text-green-800 cursor-not-allowed":"bg-blue-600 text-white hover:bg-blue-700"}`,children:m?e.jsxs(e.Fragment,{children:[e.jsx(zt,{className:"h-4 w-4 mr-2"}),"Applied"]}):e.jsxs(e.Fragment,{children:[e.jsx(ho,{className:"h-4 w-4 mr-2"}),"Apply Now"]})})]})]})]})}),e.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:[e.jsxs("div",{className:"lg:col-span-2 space-y-8",children:[e.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[e.jsxs("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-4 mb-6",children:[e.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[e.jsx(at,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),e.jsx("p",{className:"text-sm text-gray-600",children:"Job Type"}),e.jsx("p",{className:"font-medium",children:k.jobType})]}),e.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[e.jsx(gr,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),e.jsx("p",{className:"text-sm text-gray-600",children:"Experience"}),e.jsx("p",{className:"font-medium",children:k.experienceLevel})]}),e.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[e.jsx(Lt,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),e.jsx("p",{className:"text-sm text-gray-600",children:"Department"}),e.jsx("p",{className:"font-medium",children:k.department})]}),e.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[e.jsx(lo,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),e.jsx("p",{className:"text-sm text-gray-600",children:"Deadline"}),e.jsx("p",{className:"font-medium text-sm",children:k.applicationDeadline?C(k.applicationDeadline):"Open"})]})]}),e.jsxs("div",{className:"flex items-center justify-between pt-4 border-t border-gray-200",children:[e.jsxs("div",{className:"flex items-center space-x-4 text-sm text-gray-600",children:[e.jsxs("span",{children:[k.viewCount," views"]}),e.jsxs("span",{children:[k.applicantCount," applicants"]})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(St,{className:"h-4 w-4 text-yellow-400 fill-current"}),e.jsx("span",{className:"text-sm text-gray-600",children:"4.8 company rating"})]})]})]}),e.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[e.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Job Description"}),e.jsx("div",{className:"prose prose-gray max-w-none",children:e.jsx("p",{className:"text-gray-700 leading-relaxed whitespace-pre-line",children:k.description})})]}),e.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[e.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Key Responsibilities"}),e.jsx("ul",{className:"space-y-3",children:(L=k.responsibilities)==null?void 0:L.map((b,N)=>e.jsxs("li",{className:"flex items-start",children:[e.jsx(zt,{className:"h-5 w-5 text-green-500 mr-3 mt-0.5 flex-shrink-0"}),e.jsx("span",{className:"text-gray-700",children:b})]},N))})]}),e.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[e.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Requirements"}),Array.isArray(k.requirements)?e.jsx("ul",{className:"space-y-3",children:k.requirements.map((b,N)=>e.jsxs("li",{className:"flex items-start",children:[e.jsx(zt,{className:"h-5 w-5 text-blue-500 mr-3 mt-0.5 flex-shrink-0"}),e.jsx("span",{className:"text-gray-700",children:b})]},N))}):e.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:k.requirements})]}),e.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[e.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Required Skills"}),Array.isArray(k.skills)?e.jsx("div",{className:"flex flex-wrap gap-2",children:k.skills.map((b,N)=>e.jsx(AC,{name:b,color:"#2563EB",size:"sm",onClick:r?()=>r(b):void 0},`${b}-${N}`))}):e.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:k.skills})]}),e.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[e.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Benefits & Perks"}),Array.isArray(k.benefits)?e.jsx("ul",{className:"space-y-3",children:k.benefits.map((b,N)=>e.jsxs("li",{className:"flex items-start",children:[e.jsx(zt,{className:"h-5 w-5 text-green-500 mr-3 mt-0.5 flex-shrink-0"}),e.jsx("span",{className:"text-gray-700",children:b})]},N))}):e.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:k.benefits})]})]}),e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[e.jsxs("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:["About ",k.company]}),e.jsxs("div",{className:"space-y-4",children:[e.jsx("p",{className:"text-gray-700 text-sm leading-relaxed",children:k.companyDescription}),e.jsxs("div",{className:"space-y-2 text-sm",children:[k.companySize&&e.jsxs("div",{className:"flex items-center",children:[e.jsx(Lt,{className:"h-4 w-4 text-gray-400 mr-2"}),e.jsx("span",{className:"text-gray-600",children:k.companySize})]}),k.companyWebsite&&e.jsxs("div",{className:"flex items-center",children:[e.jsx(ta,{className:"h-4 w-4 text-gray-400 mr-2"}),e.jsx("a",{href:k.companyWebsite,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:text-blue-800",children:"Visit Website"})]})]}),e.jsxs("div",{className:"pt-4 border-t border-gray-200",children:[e.jsx("h4",{className:"font-medium text-gray-900 mb-2",children:"Contact Information"}),e.jsxs("div",{className:"space-y-2 text-sm",children:[k.contactEmail&&e.jsxs("div",{className:"flex items-center",children:[e.jsx(aa,{className:"h-4 w-4 text-gray-400 mr-2"}),e.jsx("a",{href:`mailto:${k.contactEmail}`,className:"text-blue-600 hover:text-blue-800",children:k.contactEmail})]}),k.contactPhone&&e.jsxs("div",{className:"flex items-center",children:[e.jsx(wr,{className:"h-4 w-4 text-gray-400 mr-2"}),e.jsx("a",{href:`tel:${k.contactPhone}`,className:"text-blue-600 hover:text-blue-800",children:k.contactPhone})]})]})]})]})]}),e.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Ready to Apply?"}),e.jsxs("p",{className:"text-gray-600 text-sm mb-4",children:["Join ",k.company," and take your career to the next level in the exciting world of iGaming."]}),e.jsx("button",{onClick:j,disabled:m,className:`w-full flex items-center justify-center px-6 py-3 rounded-lg font-medium transition-colors ${m?"bg-green-100 text-green-800 cursor-not-allowed":"bg-blue-600 text-white hover:bg-blue-700"}`,children:m?e.jsxs(e.Fragment,{children:[e.jsx(zt,{className:"h-5 w-5 mr-2"}),"Application Submitted"]}):e.jsxs(e.Fragment,{children:[e.jsx(ho,{className:"h-5 w-5 mr-2"}),"Apply for this Position"]})}),!m&&e.jsxs("div",{className:"mt-4 flex items-center space-x-2",children:[e.jsxs("button",{onClick:w,className:`flex-1 flex items-center justify-center px-4 py-2 rounded-lg border transition-colors ${v(k.id)?"bg-blue-50 border-blue-200 text-blue-700":"bg-white border-gray-300 text-gray-700 hover:bg-gray-50"}`,children:[e.jsx(ya,{className:`h-4 w-4 mr-2 ${v(k.id)?"fill-current":""}`}),v(k.id)?"Saved":"Save"]}),e.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:e.jsx(Ac,{className:"h-4 w-4"})})]})]}),e.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Similar Jobs"}),e.jsx("div",{className:"space-y-4",children:s.map(b=>e.jsxs("div",{className:"border border-gray-200 rounded-lg p-4 hover:bg-gray-50 cursor-pointer transition-colors",onClick:()=>DL(`/jobs/${b.id}`),children:[e.jsx("h4",{className:"font-medium text-gray-900 mb-1",children:b.title}),e.jsx("p",{className:"text-sm text-gray-600 mb-2",children:b.company}),e.jsxs("div",{className:"flex items-center justify-between text-xs text-gray-500",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(st,{className:"h-3 w-3 mr-1"}),e.jsx("span",{children:b.location})]}),e.jsxs("span",{children:[A(b.postedDate),"d ago"]})]}),b.salary&&e.jsx("p",{className:"text-sm font-medium text-blue-600 mt-2",children:b.salary})]},b.id))}),e.jsx("button",{onClick:()=>DL("/jobs"),className:"w-full mt-4 text-center text-blue-600 hover:text-blue-800 text-sm font-medium",children:"View All Jobs"})]})]})]})}),u&&e.jsx("div",{className:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center p-4 z-50",children:e.jsxs("div",{className:"bg-white rounded-lg max-w-md w-full p-6",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Apply for this Position"}),e.jsx("p",{className:"text-gray-600 mb-4",children:"To apply for this position, please send your CV and cover letter to:"}),e.jsx("div",{className:"bg-gray-50 p-4 rounded-lg mb-4",children:e.jsx("p",{className:"font-medium",children:k.contactEmail})}),e.jsxs("div",{className:"flex space-x-3",children:[e.jsx("button",{onClick:()=>p(!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"}),e.jsx("button",{onClick:()=>{window.location.href=`mailto:${k.contactEmail}?subject=Application for ${k.title}&body=Dear Hiring Manager,%0D%0A%0D%0AI am interested in applying for the ${k.title} position at ${k.company}.%0D%0A%0D%0APlease find my CV attached.%0D%0A%0D%0ABest regards`,p(!1)},className:"flex-1 px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors",children:"Send Email"})]})]})})]})},CO=()=>e.jsx("div",{children:e.jsx("h2",{children:"Welcome to the Header!"})}),SO=({article:t,isBookmarked:a,onToggleBookmark:r,onShare:n,onOpenArticle:s,layout:i="card",userAccess:c,positionInList:l})=>{const[d,h]=M.useState(!1),u=f=>{const v=new Date(f),w=Math.floor((new Date().getTime()-v.getTime())/(1e3*60*60));return w<1?"Just now":w<24?`${w}h ago`:w<48?"Yesterday":v.toLocaleDateString("en-US",{month:"short",day:"numeric"})},p=f=>f>=1e3?`${(f/1e3).toFixed(1)}k`:f.toString(),m=f=>f.length>1?f[1]:f[0],y=(f,v)=>f.length<=v?f:f.substring(0,v).trim()+"...",x=i==="grid"?"flex flex-col":"flex flex-col md:flex-row md:items-center";return e.jsxs("article",{className:`
7800
+ For more information, see https://radix-ui.com/primitives/docs/components/${a.docsSlug}`;return g.useEffect(()=>{t&&(document.getElementById(t)||console.error(r))},[r,t]),null},XF="DialogDescriptionWarning",YF=({contentRef:t,descriptionId:a})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${gP(XF).contentName}}.`;return g.useEffect(()=>{var i;const s=(i=t.current)==null?void 0:i.getAttribute("aria-describedby");a&&s&&(document.getElementById(a)||console.warn(n))},[n,t,a]),null},kP=nP,vP=iP,wP=cP,pS=lP,yS=dP,mS=uP,fS=yP,xS=fP;function K9(t,a){if(t==null)return{};var r={},n=Object.keys(t),s,i;for(i=0;i<n.length;i++)s=n[i],!(a.indexOf(s)>=0)&&(r[s]=t[s]);return r}var KF=["color"],QF=M.forwardRef(function(t,a){var r=t.color,n=r===void 0?"currentColor":r,s=K9(t,KF);return M.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s,{ref:a}),M.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"}))}),eO=["color"],bP=M.forwardRef(function(t,a){var r=t.color,n=r===void 0?"currentColor":r,s=K9(t,eO);return M.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s,{ref:a}),M.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"}))}),tO=["color"],aO=M.forwardRef(function(t,a){var r=t.color,n=r===void 0?"currentColor":r,s=K9(t,tO);return M.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s,{ref:a}),M.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"}))}),rO=["color"],nO=M.forwardRef(function(t,a){var r=t.color,n=r===void 0?"currentColor":r,s=K9(t,rO);return M.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s,{ref:a}),M.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 ar=kP,sO=vP,iO=wP,MP=g.forwardRef(({className:t,...a},r)=>e.jsx(pS,{ref:r,className:me("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),...a}));MP.displayName=pS.displayName;const Fa=g.forwardRef(({className:t,children:a,...r},n)=>e.jsxs(iO,{children:[e.jsx(MP,{}),e.jsxs(yS,{ref:n,className:me("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:[a,e.jsxs(xS,{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:[e.jsx(nO,{className:"h-4 w-4"}),e.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Fa.displayName=yS.displayName;const va=({className:t,...a})=>e.jsx("div",{className:me("flex flex-col space-y-1.5 text-center sm:text-left",t),...a});va.displayName="DialogHeader";const ia=({className:t,...a})=>e.jsx("div",{className:me("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...a});ia.displayName="DialogFooter";const oa=g.forwardRef(({className:t,...a},r)=>e.jsx(mS,{ref:r,className:me("text-lg font-semibold leading-none tracking-tight",t),...a}));oa.displayName=mS.displayName;const go=g.forwardRef(({className:t,...a},r)=>e.jsx(fS,{ref:r,className:me("text-sm text-muted-foreground",t),...a}));go.displayName=fS.displayName;var oO="Label",jP=g.forwardRef((t,a)=>e.jsx(No.label,{...t,ref:a,onMouseDown:r=>{var s;r.target.closest("button, input, select, textarea")||((s=t.onMouseDown)==null||s.call(t,r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));jP.displayName=oO;var CP=jP;const cO=D9("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ne=g.forwardRef(({className:t,...a},r)=>e.jsx(CP,{ref:r,className:me(cO(),t),...a}));ne.displayName=CP.displayName;const lO=1,dO=1e6;let Rj=0;function hO(){return Rj=(Rj+1)%Number.MAX_SAFE_INTEGER,Rj.toString()}const Tj=new Map,RL=t=>{if(Tj.has(t))return;const a=setTimeout(()=>{Tj.delete(t),u9({type:"REMOVE_TOAST",toastId:t})},dO);Tj.set(t,a)},uO=(t,a)=>{switch(a.type){case"ADD_TOAST":return{...t,toasts:[a.toast,...t.toasts].slice(0,lO)};case"UPDATE_TOAST":return{...t,toasts:t.toasts.map(r=>r.id===a.toast.id?{...r,...a.toast}:r)};case"DISMISS_TOAST":{const{toastId:r}=a;return r?RL(r):t.toasts.forEach(n=>{RL(n.id)}),{...t,toasts:t.toasts.map(n=>n.id===r||r===void 0?{...n,open:!1}:n)}}case"REMOVE_TOAST":return a.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(r=>r.id!==a.toastId)}}},pO=[];let qj={toasts:[]};function u9(t){qj=uO(qj,t),pO.forEach(a=>{a(qj)})}function TL({...t}){const a=hO(),r=s=>u9({type:"UPDATE_TOAST",toast:{...s,id:a}}),n=()=>u9({type:"DISMISS_TOAST",toastId:a});return u9({type:"ADD_TOAST",toast:{...t,id:a,open:!0,onOpenChange:s=>{s||n()}}}),{id:a,dismiss:n,update:r}}const yO=new Set([200,201,202,204]);function mO(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 fO(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 xO(t,a){const{timeoutMs:r=12e3,...n}=a??{},s=new AbortController,i=setTimeout(()=>s.abort(),r);try{const c=await fetch(t,{...n,signal:s.signal});if(yO.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:mO(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 gO({open:t,onOpenChange:a,onSubscriptionSuccess:r,searchQuery:n,filters:s,apiUrl:i="http://localhost:5147"}){const[c,l]=M.useState(""),[d,h]=M.useState(!1),[u,p]=M.useState(null),m=async y=>{if(y.preventDefault(),p(null),!c||!c.includes("@")){p("Please enter a valid email address.");return}h(!0);try{const x=await xO(`${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(!x.ok){p(fO(x.error)),TL({title:"Subscription failed",description:x.error.message});return}localStorage.setItem("leadId",x.data.id),localStorage.setItem("email",c),TL({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 e.jsx(ar,{open:t,onOpenChange:a,children:e.jsxs(Fa,{className:"sm:max-w-md",children:[e.jsxs(va,{children:[e.jsxs(oa,{className:"flex items-center gap-2",children:[e.jsx(zo,{className:"h-5 w-5 text-orange-500"}),"Create Job Alert"]}),e.jsx(go,{children:"Subscribe to get notified when new jobs matching your search criteria are posted."})]}),e.jsxs("form",{onSubmit:m,className:"space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(ne,{htmlFor:"email",children:"Email address"}),e.jsxs("div",{className:"relative",children:[e.jsx(sa,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),e.jsx(Re,{id:"email",type:"email",placeholder:"Enter your email address",value:c,onChange:y=>l(y.target.value),className:"pl-10",required:!0,"aria-invalid":!!u,"aria-describedby":u?"email-error":void 0})]}),u&&e.jsx("p",{id:"email-error",role:"alert",className:"text-sm text-red-600",children:u})]}),n&&e.jsxs("div",{className:"rounded-lg bg-muted p-3 text-sm",children:[e.jsx("p",{className:"font-medium",children:"Alert criteria:"}),e.jsxs("p",{className:"text-muted-foreground",children:['"',n,'"']})]}),e.jsxs(ia,{className:"gap-2 sm:gap-0",children:[e.jsx(D,{type:"button",variant:"outline",onClick:()=>a(!1),disabled:d,children:"Cancel"}),e.jsx(D,{type:"submit",disabled:d,children:d?"Creating Alert...":"Create Alert"})]})]})]})})}function SP(){const t="savedJobs",[a,r]=M.useState([]);return M.useEffect(()=>{try{const i=localStorage.getItem(t);i&&r(JSON.parse(i))}catch(i){console.error("Failed to load saved jobs:",i)}},[]),{savedJobs:a,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?a.includes(i):!1}}const kO=({value:t,options:a,onChange:r})=>e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx("span",{className:"text-sm font-medium text-gray-700",children:"Order by"}),e.jsxs("div",{className:"relative",children:[e.jsx("select",{"aria-label":"Order results",value:t,onChange:n=>r(n.target.value),className:"block w-full rounded-lg border border-gray-300 bg-white px-3 py-2 pr-9 text-sm text-gray-700 shadow-sm focus:border-primary-500 focus:outline-none focus:ring-2 focus:ring-primary-100",children:a.map(n=>e.jsx("option",{value:n.value,children:n.label},n.value))}),e.jsx("span",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3 text-gray-400",children:"▼"})]})]}),vO=6,Dj={jobTypes:[],experienceLevels:[],country:"",city:"",location:"",minSalary:"",maxSalary:"",industry:""},wO=({apiUrl:t,itemsPerPage:a=12,filterKeys:r,banner:n,enableMobileFilter:s=!0,cardType:i,dateField:c="created_at",dateFieldLabel:l="Published",searchableFilters:d=["companies"],notification_url:h="http://localhost:5147",userAccess:u,onEmitEvent:p,eventContext:m,onPopularTagClick:y,onPopularTagRemove:x,allowPopularTagRemoval:f=!1})=>{var H;const[v,k]=M.useState([]),[w,j]=M.useState([]),[S,C]=M.useState([]),[A,L]=M.useState(1),[b,N]=M.useState({}),[q,P]=M.useState([]),[R,T]=M.useState({}),[$,W]=M.useState(""),[B,U]=M.useState([]),[O,oe]=M.useState(!1),[ae,Y]=M.useState(a),[J,Q]=M.useState("grid"),[ee,ue]=M.useState(!1),[we,Z]=M.useState([]),[te,ve]=M.useState(!0),[fe,re]=M.useState(null),[he,Ae]=M.useState("all"),[Pe,_e]=M.useState(!1),[Qe,st]=M.useState(!1),[yt,rt]=M.useState({...Dj}),[Be,mt]=M.useState({open:!1,type:"info",message:""}),[et,da]=M.useState("date_desc"),{savedJobs:ft,toggleJob:dt}=SP(),Jt=V9(u),F=M.useMemo(()=>({component:"Listing",...m??{}}),[m]),V=M.useMemo(()=>[{value:"relevance",label:"Best match (relevance)"},{value:"date_desc",label:`${l} (newest)`},{value:"date_asc",label:`${l} (oldest)`},{value:"views_desc",label:"Most viewed"},{value:"views_asc",label:"Least viewed"},{value:"title_asc",label:"Title A → Z"}],[l]),K=M.useCallback((_,E)=>{p&&p({domain:"jobs",name:_,payload:E,timestamp:new Date().toISOString(),context:F})},[F,p]),Le=M.useCallback(()=>({filters:{...b},advancedFilters:yt,dateFilter:he}),[b,he,yt]),Te=M.useCallback(()=>({page:A,pageSize:ae,totalResults:w.length,viewMode:J,showOnlySaved:ee}),[A,w.length,ae,ee,J]),Ze=M.useRef(!1),ze=(_,E)=>{mt({open:!0,type:_,message:E})};M.useEffect(()=>{try{const _=localStorage.getItem("lastVisitedJobs");_&&Z(JSON.parse(_));try{localStorage.getItem("email")&&st(!0)}catch(E){console.error("Error checking subscription state:",E)}}catch(_){console.error("Error loading data from localStorage:",_)}},[]),M.useEffect(()=>{const E=new URLSearchParams(window.location.search).get("date_filter");E&&E!=="all"&&Ae(E)},[]),M.useEffect(()=>{if(!t){re("❌ Missing API URL for Listing component!"),ve(!1);return}ve(!0),re(null),(async()=>{try{const E=await fetch(t);if(!E.ok)throw new Error(`API responded with status: ${E.status}`);const X=await E.json();if(!Array.isArray(X))throw new Error("Expected an array but received: "+typeof X);const ie=X.map((je,Ie)=>({...je,sponsored:Ie%7===0,topTag:sS(je.title||"")})),le=Array.from(new Set(ie.map(je=>je.topTag).filter(je=>typeof je=="string"))).slice(0,10);C(le);const ye=vl(ie,et,q,c);k(ie),j(ye);const Ee=Yc(ie,r);T(Ee)}catch(E){console.error("Error fetching data:",E),re(`Failed to load data: ${E instanceof Error?E.message:String(E)}`);const X=oE(20),ie=vl(X,et,q,c);k(X),j(ie);const le=Yc(X,r);T(le)}finally{ve(!1)}})()},[t,c,q,et]),M.useEffect(()=>{const _=new URLSearchParams(window.location.search),E={};r.forEach(le=>{const ye=_.get(le);ye&&(E[le]=ye)}),N(E);const X=_.get("q")||_.get("searchTerm")||"";X&&W(X);const ie={};r.forEach(le=>{const ye=_.get(le);ye&&(ie[le]=ye)}),N(ie)},[]),M.useEffect(()=>{if(ee){const _=v.filter(X=>ft.includes(X.id||X.slug||X.link)),E=vl(_,et,q,c);j(E),L(1)}else pe()},[]),M.useEffect(()=>{Ze.current||te||!w.length&&!v.length||(K("jobs_listing_viewed",{...Le(),...Te()}),Ze.current=!0)},[v.length,K,w.length,Le,Te,te]);const z=M.useCallback(_=>{const E=Yc(_,r);T(E)},[r]),pe=M.useCallback(_=>{const E=(_==null?void 0:_.baseItems)??v,X=(_==null?void 0:_.filters)??b,ie=(_==null?void 0:_.search)??q,le=(_==null?void 0:_.dateFilter)??he,ye=(_==null?void 0:_.advanced)??yt;let Ee=io(E,X,ie,le,c);Ee=mE(Ee,ye);const je=vl(Ee,et,ie,c);return j(je),((_==null?void 0:_.resetPage)??!0)&&L(1),((_==null?void 0:_.refreshFiltersData)??!0)&&z(je),je},[he,b,yt,v,c,q,et,z]);M.useEffect(()=>{pe({resetPage:!1,refreshFiltersData:!1})},[et,pe]);const He=(_,E)=>{const X={...b};E?X[_]=E:delete X[_],ee&&ue(!1),N(X),pe({filters:X});const ie={...Le(),filters:X};E?K("jobs_filter_selected",{key:_,value:E,...ie}):K("jobs_filter_cleared",{key:_,...ie})},Xt=()=>{st(!0),qe().then(()=>_e(!1))},ha=M.useRef(null),Tt=_=>{L(_),K("jobs_listing_page_changed",{page:_,pageSize:ae,totalResults:w.length}),setTimeout(()=>{var E;(E=ha.current)==null||E.scrollIntoView({behavior:"smooth",block:"start"})},100)},Yt=_=>{ee&&ue(!1),Ae(_),pe({dateFilter:_}),OA(_),K("jobs_date_filter_changed",{dateFilter:_})},ua=_=>{if(W(_),_){const E=v.map(X=>X.title).filter((X,ie,le)=>X&&X.toLowerCase().includes(_.toLowerCase())&&le.indexOf(X)===ie).slice(0,5);U(E)}else U([])},Ha=_=>{if(!_.trim())return;ee&&ue(!1);const E=[...q,_.trim()];P(E),pe({search:E}),W(""),K("jobs_search_submitted",{searchKeywords:E,query:_.trim(),...Le()})},Fr=_=>{const E=q.filter(X=>X!==_);P(E),pe({search:E}),K("jobs_search_filter_removed",{removedKeyword:_,remainingKeywords:E})},G=()=>{N({}),P([]),ue(!1),Ae("all"),rt({...Dj}),pe({filters:{},search:[],dateFilter:"all",advanced:Dj}),K("jobs_filters_cleared_all",{})},se=_=>{const E=new Set,X=[];for(const ie of _){const le=`${ie.key??""}|${ie.value.toLowerCase()}`;E.has(le)||(E.add(le),X.push(ie))}return X},Me=_=>_.replace(/\/+$/,""),qe=async()=>{if(K("jobs_alert_cta_clicked",{searchKeywords:q,query:$.trim()||void 0,...Le()}),!Qe)_e(!0),K("jobs_subscription_modal_opened",{});else{const _=localStorage.getItem("email"),E=localStorage.getItem("leadId");if(!_||!E){ze("info","Please subscribe first to create alerts.");return}const X="keyword",ie=(Fe,ut)=>ut&&ut.trim()?{key:Fe.toLowerCase(),value:ut.trim()}:null,le=Object.entries(b).map(([Fe,ut])=>ie(Fe,ut)).filter(Fe=>Fe!==null),ye=q.map(Fe=>ie(X,Fe)).filter(Fe=>Fe!==null),Ee=ie(X,$),je=Ee?[Ee]:[],Ie=se([...le,...ye,...je]);if(Ie.length===0){ze("info","No filters/keywords to save.");return}try{const Fe=Me(h??"http://localhost:5147"),ut=await fetch(`${Fe}/api/leads/${E}/preferences/bulk`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(Ie)});if(!ut.ok){let Kt="";try{Kt=await ut.text()}catch{}throw new Error(`${ut.status} ${ut.statusText} ${Kt}`.trim())}ze("success","Alert saved. We’ll notify you about new matching jobs."),W(""),K("jobs_alert_created",{preferences:Ie.filter(Kt=>Kt!==null)})}catch(Fe){console.error("Create alert failed:",Fe),ze("error","Failed to save alert.")}}},Je=()=>{oe(!O)},Va=w.length===0?0:(A-1)*ae+1,ht=Math.min(A*ae,w.length),wt=_=>{Y(_),L(1),K("jobs_listing_items_per_page_changed",{pageSize:_})},nr=()=>{Q(_=>{const E=_==="grid"?"list":"grid";return K("jobs_listing_viewmode_changed",{viewMode:E}),E})},Xe=(_,E,X="same_tab",ie="listing")=>{const le=_.id||_.slug||_.link;le&&(Z(ye=>{const Ee=ye.filter(Ie=>(Ie.id||Ie.slug||Ie.link)!==le),je=[_,...Ee].slice(0,vO);try{localStorage.setItem("lastVisitedJobs",JSON.stringify(je))}catch(Ie){console.error("Error saving to localStorage:",Ie)}return je}),K("job_opened",{jobId:le,slug:_.slug,positionInList:E,openedFrom:ie,openedIn:X}))},bt=(_,E)=>{const X=_.id||_.slug||_.link;if(!X)return;const ie=ft.includes(X);dt(X),K(ie?"job_unsaved":"job_saved",{jobId:X,slug:_.slug,positionInList:E})},pc=(_,E,X="external")=>{const ie=_.id||_.slug||_.link;ie&&K("job_apply_clicked",{jobId:ie,slug:_.slug,positionInList:E,applyType:X})},xl=()=>{ue(!ee)},hj=Math.ceil(w.length/ae),I=w.slice((A-1)*ae,A*ae);return fe&&!v.length?e.jsx("div",{className:"flex-grow p-8",children:e.jsx("div",{className:"max-w-7xl mx-auto",children:e.jsxs("div",{className:"bg-red-50 border border-red-200 text-red-800 rounded-lg p-6",children:[e.jsx("h2",{className:"text-lg font-semibold mb-2",children:"Error Loading Jobs"}),e.jsx("p",{className:"mb-4",children:fe}),e.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"})]})})}):e.jsxs("div",{className:"flex flex-col min-h-screen pb-16 md:pb-0",children:[e.jsxs("div",{className:"flex-grow",children:[e.jsx(nS,{onSearchChange:ua,searchPlaceholder:"Search jobs, companies, or keywords...",title:"Job Listings",description:"",popularTags:S,generateHref:_=>`/jobs?q=${_.toLowerCase().replace(/\s+/g,"+")}`,onTagClick:y,onTagRemove:x,allowTagRemoval:f}),e.jsxs("div",{className:"container mx-auto py-8 pb-20 md:pb-8",children:[e.jsxs("div",{className:"relative",children:[e.jsxs("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:[e.jsx(rS,{data:v.map(_=>_.title).filter(Boolean),onSelect:_=>{Ha(_)},onTyping:_=>{W(_),ua(_)},placeholder:"Search for jobs, companies, or keywords...",className:"w-full",showSubmitButton:!0}),e.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:Je,children:e.jsx(jr,{size:16,className:"mr-1.5"})})]}),e.jsx("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:e.jsx(iS,{filters:[...he!=="all"?[{key:"date",label:l,value:he.replace(/_/g," "),onRemove:()=>Yt("all")}]:[],...q.map(_=>({key:"search",label:"",value:_,onRemove:()=>Fr(_)})),...Object.entries(b).map(([_,E])=>({key:_,label:_.replace(/_/g," "),value:E,onRemove:()=>He(_,"")}))],onClearAll:G,handleCreateAlert:qe})})]}),s&&e.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:Je,"aria-expanded":O,children:[e.jsx(jr,{className:"w-4 h-4 mr-2"}),O?"Close Filters":"Filters"]}),e.jsxs("div",{className:"flex flex-col lg:flex-row lg:gap-6",children:[e.jsx(HA,{dateFieldLabel:"Date",activeDateFilter:he,onDateFilterChange:Yt,filterKeys:r,searchableFilters:d,filtersData:R,activeFilters:b,handleFilterChange:He,toggleSavedJobsFilter:xl,showOnlySaved:ee,savedJobs:ft}),te?e.jsx(aS,{}):e.jsxs("div",{className:"lg:gap-6 w-fit",children:[e.jsx(oS,{viewMode:J,onToggleViewMode:nr,selectedItemsPerPage:ae,onItemsPerPageChange:wt,totalCount:w.length,startIndex:Va,endIndex:ht,title:"Latest Jobs"}),e.jsxs("div",{className:"",children:[e.jsx("div",{className:"mb-6",children:e.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsxs("h3",{className:"text-xl font-semibold text-gray-900 flex items-center",children:[ee?"Saved Jobs":"Open Positions",he!=="all"&&!ee&&e.jsxs("span",{className:"text-sm font-normal text-gray-500 ml-2",children:["(",he.replace(/_/g," "),")"]})]}),e.jsxs("p",{className:"text-sm text-gray-600",children:[e.jsx("span",{className:"font-semibold text-gray-900",children:w.length})," found"]})]}),e.jsx(kO,{value:et,options:V,onChange:da})]})}),e.jsx(uE,{items:I,cardType:i,viewMode:J,savedJobs:ft,onSaveJob:bt,onViewJob:Xe,onApplyJob:pc,firstItemRef:ha,userAccess:Jt}),w.length>0&&e.jsx("div",{className:"mt-6",children:e.jsx(B9,{currentPage:A,totalPages:hj,onPageChange:Tt})})]}),we.length>0&&e.jsx("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:e.jsx(pE,{jobs:we,onViewJob:Xe})})]}),e.jsx("div",{className:"hidden lg:block lg:w-1/4 space-y-6",children:((H=n==null?void 0:n.sidebar)==null?void 0:H.enabled)&&e.jsxs("div",{className:"sticky top-4",children:[e.jsx(ol,{position:"sidebar",url:n.sidebar.url,link:n.sidebar.link,alt:n.sidebar.alt}),e.jsx(eS,{api_url:h}),e.jsxs("div",{className:"mt-6 bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[e.jsx("h3",{className:"font-semibold text-lg mb-3",children:"Featured Employers"}),e.jsx("div",{className:"grid grid-cols-3 gap-2",children:[...Array(6)].map((_,E)=>e.jsx("div",{className:"flex items-center justify-center p-2 bg-gray-50 rounded-md",children:e.jsx("img",{src:`/placeholder.svg?height=40&width=40&text=${String.fromCharCode(65+E)}`,alt:`Featured employer ${E+1}`,className:"w-10 h-10 object-contain"})},E))})]})]})})]})]})]}),e.jsx(zA,{activeDateFilter:he,handleDateFilterChange:Yt,filterKeys:r,searchableFilters:d,dateFieldLabel:l,activeFilters:b,handleFilterChange:He,toggleSavedJobsFilter:xl,filtersData:R,savedJobs:ft,showOnlySaved:ee,isMobileFilterOpen:O,toggleMobileFilter:Je}),e.jsx(qA,{savedJobsCount:ft.length}),e.jsx(RA,{open:Be.open,type:Be.type,message:Be.message,onClose:()=>mt(_=>({..._,open:!1}))}),e.jsx(gO,{open:Pe,onOpenChange:_e,onSubscriptionSuccess:Xt,apiUrl:h})]})};function qL(t=window.location.pathname){const a=t.replace(/^\/+|\/+$/g,"").split("/"),r=a.findIndex(s=>s.toLowerCase()==="jobs");if(r===-1)return null;const n=a[r+1];return n?decodeURIComponent(n):null}function bO(){const[t,a]=M.useState(()=>qL());return M.useEffect(()=>{const r=()=>a(qL());return window.addEventListener("popstate",r),()=>window.removeEventListener("popstate",r)},[]),t}function DL(t){window.location.assign(t)}function zL(t){window.history.length>1?window.history.back():window.location.assign(t)}function MO(t){const a=LP,r=t??{};return{id:r.id??a.id,title:r.title??a.title,company:r.company??a.company,companyLogo:r.companyLogo??a.companyLogo,location:r.location??a.location,salary:r.salary??void 0,jobType:r.jobType??a.jobType,experienceLevel:r.experienceLevel??a.experienceLevel,department:r.department??a.department,postedDate:r.postedDate??a.postedDate,applicationDeadline:r.applicationDeadline??void 0,description:r.description??a.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 jO(t){return!Array.isArray(t)||t.length===0?NP:t.map(a=>({id:a.id??"unknown",title:a.title??"Untitled",company:a.company??"",location:a.location??"",salary:a.salary??void 0,postedDate:a.postedDate??new Date().toISOString().slice(0,10)}))}const LP={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},NP=[{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"}],CO=({job:t=LP,similarJobs:a=NP,onSkillClick:r})=>{var L;const n=bO(),[s,i]=M.useState(()=>jO(a)),[c,l]=M.useState(!1),[d,h]=M.useState(null),[u,p]=M.useState(!1),[m,y]=M.useState(!1),{savedJobs:x,toggleJob:f,isSaved:v}=SP(),k=MO(t);M.useEffect(()=>{(async()=>{l(!0);try{if(await new Promise(q=>setTimeout(q,300)),!n)throw new Error("Missing slug in URL.");i(s);const N=JSON.parse(localStorage.getItem("appliedJobs")||"[]");y(N.includes(n))}catch(N){h((N==null?void 0:N.message)||"Failed to load job details")}finally{l(!1)}})()},[n]);const w=()=>{n&&f(n)},j=()=>{if(!n)return;k!=null&&k.applicationUrl?window.open(k.applicationUrl,"_blank","noopener,noreferrer"):p(!0);const b=JSON.parse(localStorage.getItem("appliedJobs")||"[]");b.includes(n)||(b.push(n),localStorage.setItem("appliedJobs",JSON.stringify(b)),y(!0))},S=async()=>{if(navigator.share)try{await navigator.share({title:k==null?void 0:k.title,text:`Check out this job opportunity: ${k==null?void 0:k.title} at ${k==null?void 0:k.company}`,url:window.location.href})}catch(b){console.log("Error sharing:",b)}else navigator.clipboard.writeText(window.location.href),alert("Job URL copied to clipboard!")},C=b=>new Date(b).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),A=b=>{const N=new Date(b),P=Math.abs(new Date().getTime()-N.getTime());return Math.ceil(P/(1e3*60*60*24))};return c?e.jsx("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",children:e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-blue-600 mx-auto"}),e.jsx("p",{className:"mt-4 text-gray-600",children:"Loading job details..."})]})}):d||!k?e.jsx("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",children:e.jsxs("div",{className:"text-center",children:[e.jsx(Et,{className:"h-12 w-12 text-red-500 mx-auto mb-4"}),e.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-2",children:"Job Not Found"}),e.jsx("p",{className:"text-gray-600 mb-4",children:d||"The job you are looking for does not exist."}),e.jsx("button",{onClick:()=>zL("/jobs"),className:"bg-blue-600 text-white px-6 py-2 rounded-lg hover:bg-blue-700 transition-colors",children:"Back to Jobs"})]})}):e.jsxs("div",{className:"min-h-screen bg-gray-50",children:[e.jsx("div",{className:"bg-white border-b border-gray-200",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4",children:[e.jsxs("button",{onClick:()=>zL("/jobs"),className:"flex items-center text-gray-600 hover:text-gray-900 mb-4",children:[e.jsx(Ja,{className:"h-4 w-4 mr-2"}),"Back to Jobs"]}),e.jsxs("div",{className:"flex flex-col lg:flex-row lg:items-start lg:justify-between",children:[e.jsx("div",{className:"flex-1",children:e.jsxs("div",{className:"flex items-start space-x-4",children:[k.companyLogo&&e.jsx("img",{src:k.companyLogo,alt:`${k.company} logo`,className:"w-16 h-16 rounded-lg object-cover border border-gray-200"}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center space-x-2 mb-2",children:[k.isUrgent&&e.jsx("span",{className:"bg-red-100 text-red-800 text-xs font-medium px-2 py-1 rounded-full",children:"Urgent"}),k.isFeatured&&e.jsx("span",{className:"bg-yellow-100 text-yellow-800 text-xs font-medium px-2 py-1 rounded-full",children:"Featured"})]}),e.jsx("h1",{className:"text-2xl lg:text-3xl font-bold text-gray-900 mb-2",children:k.title}),e.jsxs("div",{className:"flex flex-wrap items-center gap-4 text-gray-600",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(gt,{className:"h-4 w-4 mr-1"}),e.jsx("span",{className:"font-medium",children:k.company})]}),e.jsxs("div",{className:"flex items-center",children:[e.jsx(ct,{className:"h-4 w-4 mr-1"}),e.jsx("span",{children:k.location}),k.isRemote&&e.jsx("span",{className:"ml-1",children:"(Remote)"})]}),k.salary&&e.jsxs("div",{className:"flex items-center",children:[e.jsx(Lc,{className:"h-4 w-4 mr-1"}),e.jsx("span",{children:k.salary})]}),e.jsxs("div",{className:"flex items-center",children:[e.jsx(ka,{className:"h-4 w-4 mr-1"}),e.jsxs("span",{children:[A(k.postedDate)," days ago"]})]})]})]})]})}),e.jsxs("div",{className:"flex items-center space-x-3 mt-4 lg:mt-0",children:[e.jsxs("button",{onClick:w,className:`flex items-center px-4 py-2 rounded-lg border transition-colors ${v(k.id)?"bg-blue-50 border-blue-200 text-blue-700":"bg-white border-gray-300 text-gray-700 hover:bg-gray-50"}`,children:[e.jsx(vr,{className:`h-4 w-4 mr-2 ${v(k.id)?"fill-current":""}`}),v(k.id)?"Saved":"Save Job"]}),e.jsxs("button",{onClick:S,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:[e.jsx(po,{className:"h-4 w-4 mr-2"}),"Share"]}),e.jsx("button",{onClick:j,disabled:m,className:`flex items-center px-6 py-2 rounded-lg font-medium transition-colors ${m?"bg-green-100 text-green-800 cursor-not-allowed":"bg-blue-600 text-white hover:bg-blue-700"}`,children:m?e.jsxs(e.Fragment,{children:[e.jsx(Ft,{className:"h-4 w-4 mr-2"}),"Applied"]}):e.jsxs(e.Fragment,{children:[e.jsx(ho,{className:"h-4 w-4 mr-2"}),"Apply Now"]})})]})]})]})}),e.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:[e.jsxs("div",{className:"lg:col-span-2 space-y-8",children:[e.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[e.jsxs("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-4 mb-6",children:[e.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[e.jsx(nt,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),e.jsx("p",{className:"text-sm text-gray-600",children:"Job Type"}),e.jsx("p",{className:"font-medium",children:k.jobType})]}),e.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[e.jsx(kr,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),e.jsx("p",{className:"text-sm text-gray-600",children:"Experience"}),e.jsx("p",{className:"font-medium",children:k.experienceLevel})]}),e.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[e.jsx(Nt,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),e.jsx("p",{className:"text-sm text-gray-600",children:"Department"}),e.jsx("p",{className:"font-medium",children:k.department})]}),e.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[e.jsx(lo,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),e.jsx("p",{className:"text-sm text-gray-600",children:"Deadline"}),e.jsx("p",{className:"font-medium text-sm",children:k.applicationDeadline?C(k.applicationDeadline):"Open"})]})]}),e.jsxs("div",{className:"flex items-center justify-between pt-4 border-t border-gray-200",children:[e.jsxs("div",{className:"flex items-center space-x-4 text-sm text-gray-600",children:[e.jsxs("span",{children:[k.viewCount," views"]}),e.jsxs("span",{children:[k.applicantCount," applicants"]})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(Lt,{className:"h-4 w-4 text-yellow-400 fill-current"}),e.jsx("span",{className:"text-sm text-gray-600",children:"4.8 company rating"})]})]})]}),e.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[e.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Job Description"}),e.jsx("div",{className:"prose prose-gray max-w-none",children:e.jsx("p",{className:"text-gray-700 leading-relaxed whitespace-pre-line",children:k.description})})]}),e.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[e.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Key Responsibilities"}),e.jsx("ul",{className:"space-y-3",children:(L=k.responsibilities)==null?void 0:L.map((b,N)=>e.jsxs("li",{className:"flex items-start",children:[e.jsx(Ft,{className:"h-5 w-5 text-green-500 mr-3 mt-0.5 flex-shrink-0"}),e.jsx("span",{className:"text-gray-700",children:b})]},N))})]}),e.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[e.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Requirements"}),Array.isArray(k.requirements)?e.jsx("ul",{className:"space-y-3",children:k.requirements.map((b,N)=>e.jsxs("li",{className:"flex items-start",children:[e.jsx(Ft,{className:"h-5 w-5 text-blue-500 mr-3 mt-0.5 flex-shrink-0"}),e.jsx("span",{className:"text-gray-700",children:b})]},N))}):e.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:k.requirements})]}),e.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[e.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Required Skills"}),Array.isArray(k.skills)?e.jsx("div",{className:"flex flex-wrap gap-2",children:k.skills.map((b,N)=>e.jsx(AC,{name:b,color:"#2563EB",size:"sm",onClick:r?()=>r(b):void 0},`${b}-${N}`))}):e.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:k.skills})]}),e.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[e.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Benefits & Perks"}),Array.isArray(k.benefits)?e.jsx("ul",{className:"space-y-3",children:k.benefits.map((b,N)=>e.jsxs("li",{className:"flex items-start",children:[e.jsx(Ft,{className:"h-5 w-5 text-green-500 mr-3 mt-0.5 flex-shrink-0"}),e.jsx("span",{className:"text-gray-700",children:b})]},N))}):e.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:k.benefits})]})]}),e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[e.jsxs("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:["About ",k.company]}),e.jsxs("div",{className:"space-y-4",children:[e.jsx("p",{className:"text-gray-700 text-sm leading-relaxed",children:k.companyDescription}),e.jsxs("div",{className:"space-y-2 text-sm",children:[k.companySize&&e.jsxs("div",{className:"flex items-center",children:[e.jsx(Nt,{className:"h-4 w-4 text-gray-400 mr-2"}),e.jsx("span",{className:"text-gray-600",children:k.companySize})]}),k.companyWebsite&&e.jsxs("div",{className:"flex items-center",children:[e.jsx(na,{className:"h-4 w-4 text-gray-400 mr-2"}),e.jsx("a",{href:k.companyWebsite,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:text-blue-800",children:"Visit Website"})]})]}),e.jsxs("div",{className:"pt-4 border-t border-gray-200",children:[e.jsx("h4",{className:"font-medium text-gray-900 mb-2",children:"Contact Information"}),e.jsxs("div",{className:"space-y-2 text-sm",children:[k.contactEmail&&e.jsxs("div",{className:"flex items-center",children:[e.jsx(sa,{className:"h-4 w-4 text-gray-400 mr-2"}),e.jsx("a",{href:`mailto:${k.contactEmail}`,className:"text-blue-600 hover:text-blue-800",children:k.contactEmail})]}),k.contactPhone&&e.jsxs("div",{className:"flex items-center",children:[e.jsx(br,{className:"h-4 w-4 text-gray-400 mr-2"}),e.jsx("a",{href:`tel:${k.contactPhone}`,className:"text-blue-600 hover:text-blue-800",children:k.contactPhone})]})]})]})]})]}),e.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Ready to Apply?"}),e.jsxs("p",{className:"text-gray-600 text-sm mb-4",children:["Join ",k.company," and take your career to the next level in the exciting world of iGaming."]}),e.jsx("button",{onClick:j,disabled:m,className:`w-full flex items-center justify-center px-6 py-3 rounded-lg font-medium transition-colors ${m?"bg-green-100 text-green-800 cursor-not-allowed":"bg-blue-600 text-white hover:bg-blue-700"}`,children:m?e.jsxs(e.Fragment,{children:[e.jsx(Ft,{className:"h-5 w-5 mr-2"}),"Application Submitted"]}):e.jsxs(e.Fragment,{children:[e.jsx(ho,{className:"h-5 w-5 mr-2"}),"Apply for this Position"]})}),!m&&e.jsxs("div",{className:"mt-4 flex items-center space-x-2",children:[e.jsxs("button",{onClick:w,className:`flex-1 flex items-center justify-center px-4 py-2 rounded-lg border transition-colors ${v(k.id)?"bg-blue-50 border-blue-200 text-blue-700":"bg-white border-gray-300 text-gray-700 hover:bg-gray-50"}`,children:[e.jsx(ga,{className:`h-4 w-4 mr-2 ${v(k.id)?"fill-current":""}`}),v(k.id)?"Saved":"Save"]}),e.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:e.jsx(Ac,{className:"h-4 w-4"})})]})]}),e.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Similar Jobs"}),e.jsx("div",{className:"space-y-4",children:s.map(b=>e.jsxs("div",{className:"border border-gray-200 rounded-lg p-4 hover:bg-gray-50 cursor-pointer transition-colors",onClick:()=>DL(`/jobs/${b.id}`),children:[e.jsx("h4",{className:"font-medium text-gray-900 mb-1",children:b.title}),e.jsx("p",{className:"text-sm text-gray-600 mb-2",children:b.company}),e.jsxs("div",{className:"flex items-center justify-between text-xs text-gray-500",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(ct,{className:"h-3 w-3 mr-1"}),e.jsx("span",{children:b.location})]}),e.jsxs("span",{children:[A(b.postedDate),"d ago"]})]}),b.salary&&e.jsx("p",{className:"text-sm font-medium text-blue-600 mt-2",children:b.salary})]},b.id))}),e.jsx("button",{onClick:()=>DL("/jobs"),className:"w-full mt-4 text-center text-blue-600 hover:text-blue-800 text-sm font-medium",children:"View All Jobs"})]})]})]})}),u&&e.jsx("div",{className:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center p-4 z-50",children:e.jsxs("div",{className:"bg-white rounded-lg max-w-md w-full p-6",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Apply for this Position"}),e.jsx("p",{className:"text-gray-600 mb-4",children:"To apply for this position, please send your CV and cover letter to:"}),e.jsx("div",{className:"bg-gray-50 p-4 rounded-lg mb-4",children:e.jsx("p",{className:"font-medium",children:k.contactEmail})}),e.jsxs("div",{className:"flex space-x-3",children:[e.jsx("button",{onClick:()=>p(!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"}),e.jsx("button",{onClick:()=>{window.location.href=`mailto:${k.contactEmail}?subject=Application for ${k.title}&body=Dear Hiring Manager,%0D%0A%0D%0AI am interested in applying for the ${k.title} position at ${k.company}.%0D%0A%0D%0APlease find my CV attached.%0D%0A%0D%0ABest regards`,p(!1)},className:"flex-1 px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors",children:"Send Email"})]})]})})]})},SO=()=>e.jsx("div",{children:e.jsx("h2",{children:"Welcome to the Header!"})}),LO=({article:t,isBookmarked:a,onToggleBookmark:r,onShare:n,onOpenArticle:s,layout:i="card",userAccess:c,positionInList:l})=>{const[d,h]=M.useState(!1),u=f=>{const v=new Date(f),w=Math.floor((new Date().getTime()-v.getTime())/(1e3*60*60));return w<1?"Just now":w<24?`${w}h ago`:w<48?"Yesterday":v.toLocaleDateString("en-US",{month:"short",day:"numeric"})},p=f=>f>=1e3?`${(f/1e3).toFixed(1)}k`:f.toString(),m=f=>f.length>1?f[1]:f[0],y=(f,v)=>f.length<=v?f:f.substring(0,v).trim()+"...",x=i==="grid"?"flex flex-col":"flex flex-col md:flex-row md:items-center";return e.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 ${x}
7803
- `,children:[e.jsxs("div",{className:`relative ${i==="list"?"md:w-1/3 md:flex-shrink-0":""}`,children:[e.jsx("img",{src:t.image||"/placeholder.svg?height=200&width=400&text=News",alt:t.title,className:`w-full h-48 object-cover transition-opacity duration-300 ${d?"opacity-100":"opacity-0"} ${i==="list"?"md:h-32":""}`,onLoad:()=>h(!0)}),!d&&e.jsx("div",{className:"absolute inset-0 bg-gray-200 animate-pulse flex items-center justify-center",children:e.jsx("div",{className:"w-12 h-12 text-gray-400",children:"📰"})}),e.jsxs("div",{className:"absolute top-3 left-3 flex flex-wrap gap-1",children:[t.isBreaking&&e.jsx("span",{className:"px-2 py-1 bg-red-500 text-white text-xs font-semibold rounded animate-pulse",children:"BREAKING"}),t.isTrending&&e.jsxs("span",{className:"px-2 py-1 bg-orange-500 text-white text-xs font-semibold rounded flex items-center",children:[e.jsx(Ia,{className:"w-3 h-3 mr-1"}),"TRENDING"]})]}),e.jsx("button",{onClick:()=>r(t._id,l),className:`absolute top-3 right-3 p-2 rounded-full transition-colors ${a?"bg-yellow-500 text-white":"bg-white text-gray-600 hover:bg-gray-100"} ${c.allowSaving?"":"opacity-60 cursor-not-allowed"}`,"aria-label":a?"Remove bookmark":"Add bookmark",disabled:!c.allowSaving,title:c.allowSaving?void 0:"Sign in to save articles",children:e.jsx(ya,{className:`w-4 h-4 ${a?"fill-current":""}`})})]}),e.jsxs("div",{className:`p-4 ${i==="list"?"md:w-2/3":""}`,children:[e.jsx("div",{className:"flex flex-wrap gap-2 mb-2",children:t.categories.slice(0,2).map((f,v)=>e.jsx("a",{href:`?category=${f}`,children:e.jsx("span",{className:"px-2 py-1 bg-yellow-100 text-yellow-800 text-xs font-medium rounded-full",children:f},v)}))}),e.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-2 line-clamp-2 hover:text-yellow-600 transition-colors",children:c.maskExternalLinks?e.jsx("button",{className:"text-left w-full text-gray-700 cursor-not-allowed","aria-label":"Sign in to view article",title:"Sign in to view external article",children:t.title}):e.jsx("a",{href:t.link,target:"_blank",rel:"noopener noreferrer",onClick:()=>s==null?void 0:s(t,l,"new_tab",t.isTrending?"trending":t.isBreaking?"breaking":"listing"),children:t.title})}),e.jsx("p",{className:"text-sm text-gray-700 mb-3 line-clamp-3",children:y(t.content,i==="list"?150:200)}),e.jsxs("div",{className:"flex items-center justify-between text-xs text-gray-500 mb-3",children:[e.jsxs("div",{className:"flex items-center space-x-4",children:[e.jsxs("span",{children:["By ",m(t.author)]}),e.jsx("span",{children:t.company})]}),e.jsxs("div",{className:"flex items-center space-x-3",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(ma,{className:"w-4 h-4 mr-1"}),e.jsxs("span",{children:[t.readTime,"m read"]})]}),e.jsxs("div",{className:"flex items-center",children:[e.jsx(Ho,{className:"w-4 h-4 mr-1"}),e.jsx("span",{children:p(t.viewCount||0)})]})]})]}),e.jsx("div",{className:"flex flex-wrap gap-1 mb-3",children:t.tags.slice(0,3).map((f,v)=>e.jsxs("span",{className:"px-2 py-1 bg-gray-100 text-gray-600 text-xs rounded",children:["#",f]},v))}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-sm text-gray-500",children:u(t.date)}),e.jsx("span",{className:"inline-flex items-center rounded-full bg-gray-100 px-2.5 py-0.5 text-xs font-medium text-gray-700",children:tS[c.status]}),c.note&&e.jsx("span",{className:"text-xs text-gray-500",children:c.note})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx("button",{onClick:()=>n(t,l),className:"p-2 text-gray-400 hover:text-gray-600 hover:bg-gray-100 rounded-full transition-colors","aria-label":"Share article",children:e.jsx(po,{className:"w-4 h-4"})}),c.maskExternalLinks?e.jsx("button",{className:"flex items-center px-3 py-1.5 bg-gray-200 text-gray-600 text-sm font-medium rounded-lg cursor-not-allowed","aria-label":"Sign in to read",children:"Sign in to read"}):e.jsxs("a",{href:t.link,target:"_blank",rel:"noopener noreferrer",className:"flex items-center px-3 py-1.5 bg-yellow-600 text-white text-sm font-medium rounded-lg hover:bg-yellow-700 transition-colors",onClick:()=>s==null?void 0:s(t,l,"new_tab",t.isTrending?"trending":t.isBreaking?"breaking":"listing"),children:["Read More",e.jsx(ho,{className:"w-3 h-3 ml-1"})]})]})]})]})]})},LO=({apiUrl:t="http://localhost:5000/api/news",filterKeys:a=["categories","author","company"],searchableFilters:r=["company","author","categories"],defaultFilters:n={categories:[],tags:[],authors:[],companies:[],dateRange:["",""],readTime:[0,999]},defaultSort:s="latest",bookmarkStorageKey:i="news-bookmarks",itemsPerPage:c=12,dateFieldLabel:l="Published",userAccess:d,onEmitEvent:h,eventContext:u})=>{const[p,m]=M.useState([]),[y,x]=M.useState([]),[f,v]=M.useState([]),[k,w]=M.useState({}),[j,S]=M.useState(""),[C,A]=M.useState({}),[L,b]=M.useState(!1),[N,q]=M.useState(c),[P,R]=M.useState(new Set),[T,$]=M.useState(s),[W,B]=M.useState("grid"),[U,O]=M.useState(1),[le,re]=M.useState([]),[X,J]=M.useState(!1),[ae,Q]=M.useState([]),[pe,we]=M.useState([]),[Z,ee]=M.useState(!0),[ve,fe]=M.useState("all"),[te,ne]=M.useState(""),Ae=G=>G.trim().toLowerCase().replace(/\s+/g,"-"),[Pe,De]=M.useState(n),[Qe,ot]=M.useState(null),pt=V9(d),et=M.useMemo(()=>({component:"NewsPage",...u??{}}),[u]),Oe=M.useCallback((G,oe)=>{h&&h({domain:"news",name:G,payload:oe,timestamp:new Date().toISOString(),context:et})},[et,h]),ct=M.useCallback(()=>({filters:{...C},categories:Pe.categories.length?Pe.categories:C.categories?[C.categories]:[],tags:Pe.tags,authors:Pe.authors.length?Pe.authors:C.author?[C.author]:[],companies:Pe.companies.length?Pe.companies:C.company?[C.company]:[],dateFilter:ve,readTimeRange:Pe.readTime}),[ve,C,Pe]),Je=M.useCallback(()=>({page:U,pageSize:N,totalResults:y.length,sortBy:T,viewMode:W}),[U,y.length,N,T,W]),oa=M.useRef(!1);M.useEffect(()=>{const G=localStorage.getItem(i);G&&R(new Set(JSON.parse(G)))},[i]),M.useEffect(()=>{const G=new URLSearchParams(window.location.search),oe={};a.forEach(dt=>{const vt=G.get(dt);vt&&(oe[dt]=vt)}),A(oe);const je=G.get("q"),Te=G.get("categories");let Ge=[...p];if(je&&(Ge=Ge.filter(dt=>dt.title.toLowerCase().includes(je.toLowerCase())),S(je),yt(je)),Te){const dt=Te.trim().toLowerCase().replace(/\s+/g,"-");De(vt=>({...vt,categories:[dt]})),Ge=Ge.filter(vt=>vt.categories.some(rr=>Ae(rr)===dt))}v(Ge);const Fa={};a.forEach(dt=>{const vt=G.get(dt);vt&&(Fa[dt]=vt)}),A(Fa)},[p]),M.useEffect(()=>{const oe=new URLSearchParams(window.location.search).get("date_filter");if(oe&&oe!=="all"){fe(oe);const je=io(p,C,ae,oe);x(je),O(1),lt(je)}},[p]);const yt=G=>{if(!G.trim())return;const oe=[...ae,G.trim()];Q(oe);const je=io(p,C,oe,ve);x(je),O(1),lt(je),S(""),Oe("news_search_submitted",{query:G,searchFilters:oe,...ct()})},lt=G=>{const oe=Yc(G,a);w(oe)},Wt=G=>{fe(G),F(G),OA(G)},F=G=>{const oe=io(p,C,ae,G);x(oe),O(1),lt(oe)};M.useEffect(()=>{localStorage.setItem(i,JSON.stringify(Array.from(P)))},[P,i]),M.useEffect(()=>{ee(!0),ot(null),(async()=>{try{const oe=await fetch(t);if(!oe.ok)throw new Error(`API responded with status: ${oe.status}`);const je=await oe.json();if(!Array.isArray(je))throw new Error("Expected an array but received: "+typeof je);const Te=je.map(We=>({...We,categories:Array.isArray(We.categories)?We.categories:[],topTag:cE(We.title||"")})),Ge={};for(const We of Te){const wt=We.topTag;wt&&(Ge[wt]=(Ge[wt]||0)+1)}const Fa=Object.entries(Ge).sort((We,wt)=>wt[1]-We[1]).slice(0,10).map(([We])=>We);we(Fa);const dt=new Set;Te.forEach(We=>{We.categories.forEach(wt=>{dt.add(Ae(wt))})});const vt=Array.from(dt).map(We=>({id:We,name:We.replace(/-/g," ").replace(/\b\w/g,wt=>wt.toUpperCase()),icon:"📰",count:Te.filter(wt=>wt.categories.some(pc=>Ae(pc)===We)).length,color:"bg-gray-100 text-gray-800"}));m(Te),x(Te),v(Te),re(vt);const rr=Yc(Te,a);w(rr)}catch(oe){console.error("Failed to fetch articles",oe)}finally{ee(!1)}})()},[t]);const V=()=>{B(G=>{const oe=G==="grid"?"list":"grid";return Oe("news_listing_viewmode_changed",{viewMode:oe}),oe})};M.useMemo(()=>p.filter(G=>G.isTrending).slice(0,6),[p]),M.useMemo(()=>p.filter(G=>G.isBreaking),[p]);const K=Math.ceil(y.length/N),Ne=y.slice((U-1)*N,U*N),D=(G,oe)=>{pt.allowSaving&&R(je=>{const Te=new Set(je),Ge=Te.has(G);return Ge?Te.delete(G):Te.add(G),Oe(Ge?"news_article_unbookmarked":"news_article_bookmarked",{articleId:G,positionInList:oe}),Te})},ie=(G,oe)=>{navigator.share?navigator.share({title:G.title,text:G.title,url:G.link}):(navigator.clipboard.writeText(G.link),alert("Article link copied to clipboard!")),Oe("news_article_shared",{articleId:G._id,channel:"copy_link"})},be=(G,oe,je="new_tab",Te="listing")=>{Oe("news_article_opened",{articleId:G._id,slug:G.slug,positionInList:oe,openedFrom:Te,openedIn:je})},tt=()=>{J(!X)},mt=y.length===0?0:(U-1)*N+1,Zt=Math.min(U*N,y.length),za=()=>{De({categories:[],tags:[],authors:[],companies:[],dateRange:["",""],readTime:[0,999]}),O(1);const G=io(p,C,ae,ve);x(G),O(1),lt(G)},Er=()=>{A({}),Q([]),fe("all"),za(),x(p),O(1),lt(p),Oe("news_filters_cleared_all",{})},tr=M.useRef(null),ar=G=>{O(G),Oe("news_listing_page_changed",{page:G,pageSize:N,totalResults:y.length}),setTimeout(()=>{var oe;(oe=tr.current)==null||oe.scrollIntoView({behavior:"smooth",block:"start"})},100)},ca=G=>{q(G),O(1),Oe("news_listing_items_per_page_changed",{pageSize:G})},Ea=(G,oe)=>{const je={...C};oe?je[G]=oe:delete je[G];const Te=io(p,je,ae,ve);A(je),x(Te),O(1),lt(Te);const Ge=ct();oe?Oe("news_filter_selected",{key:G,value:oe,...Ge}):Oe("news_filter_cleared",{key:G,...Ge})},Fr=G=>{const oe=ae.filter(Te=>Te!==G);Q(oe);const je=io(p,C,oe,ve);x(je),O(1),lt(je),Oe("news_search_filter_removed",{removedKeyword:G,remainingKeywords:oe})};return M.useEffect(()=>{oa.current||Z||!y.length&&!p.length||(Oe("news_listing_viewed",{...ct(),...Je()}),oa.current=!0)},[p.length,Oe,y.length,ct,Je,Z]),e.jsxs("div",{className:"flex flex-col min-h-screen pb-16 md:pb-0",children:[e.jsxs("div",{className:"flex-grow",children:[e.jsx(nS,{onSearchChange:G=>{const oe=p.filter(je=>je.title.toLowerCase().includes(G.toLowerCase()));v(oe),S(G)},title:"Latest News",popularTags:pe,generateHref:G=>`/news?q=${G.replace(/\s+/g,"+")}`}),e.jsxs("div",{className:"container mx-auto py-8 pb-20 md:pb-8",children:[e.jsxs("div",{className:"relative",children:[e.jsxs("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:[e.jsx(rS,{data:p.map(G=>G.title),onSelect:G=>{yt(G)},onTyping:G=>{b(!!G),G||(v(p),S(""))},placeholder:"Search news, topics, or authors...",showSubmitButton:!0,className:"w-full"}),e.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:tt,children:e.jsx(Mr,{size:16,className:"mr-1.5"})}),j&&e.jsxs("div",{className:"flex gap-2 mt-3 px-4 sm:px-6 lg:px-8",children:[e.jsxs("span",{className:"bg-yellow-100 text-indigo-800 rounded-full px-3 py-1 text-sm flex items-center",children:[j,e.jsx("button",{onClick:()=>{v(p),S("")},className:"ml-2 text-indigo-600 hover:text-indigo-800",children:"×"})]}),e.jsx("button",{className:"text-sm text-gray-600 hover:underline",onClick:()=>{v(p),S("")},children:"Clear Search"})]})]}),e.jsx("div",{className:"max-w-7xl mx-auto md:pb-8",children:e.jsx("div",{className:"block w-full",children:e.jsx("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:e.jsx(iS,{filters:[...te?[{key:"categories",label:"Categories",value:te.replace(/-/g," "),onRemove:()=>ne("")}]:[],...ae.map(G=>({key:"search",label:"",value:G,onRemove:()=>Fr(G)})),...Object.entries(C).map(([G,oe])=>({key:G,label:G.replace(/_/g," "),value:oe,onRemove:()=>Ea(G,"")}))],onClearAll:Er})})})})]}),e.jsx("main",{className:"max-w-7xl mx-auto px-4 pb-8 sm:px-6 lg:px-8",children:e.jsxs("div",{className:"flex flex-col lg:flex-row lg:gap-6",children:[e.jsx(HA,{dateFieldLabel:"Date",activeDateFilter:ve,onDateFilterChange:Wt,filterKeys:a,searchableFilters:r,filtersData:k,activeFilters:C,handleFilterChange:Ea,toggleSavedJobsFilter:()=>console.log("toggle saved jobs filter"),showOnlySaved:!1,savedJobs:[]}),Z?e.jsx(aS,{}):e.jsx(e.Fragment,{children:e.jsxs("div",{className:"lg:w-2/4",children:[e.jsx(oS,{viewMode:W,onToggleViewMode:V,selectedItemsPerPage:N,onItemsPerPageChange:ca,totalCount:y.length,startIndex:mt,endIndex:Zt,title:"Latest News"}),y.length>0?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:W==="grid"?"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-2 gap-6":"space-y-6",children:Ne.map((G,oe)=>e.jsx("div",{ref:oe===0?tr:null,children:e.jsx(SO,{article:G,isBookmarked:P.has(G._id),positionInList:oe,onToggleBookmark:je=>D(je,oe),onShare:je=>ie(je),onOpenArticle:be,layout:W,userAccess:pt})},G._id))}),K>1&&e.jsx("div",{className:"mt-8 flex justify-center",children:e.jsx(B9,{currentPage:U,totalPages:K,onPageChange:ar})})]}):e.jsxs("div",{className:"text-center py-12",children:[e.jsx(Na,{className:"w-16 h-16 text-gray-400 mx-auto mb-4"}),e.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2",children:"No articles found"}),e.jsx("p",{className:"text-gray-600 mb-4",children:"Try adjusting your search criteria or filters to find more articles."}),e.jsx("button",{onClick:Er,className:"px-4 py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700 transition-colors",children:"Clear All Filters"})]})]})}),e.jsx("div",{className:"hidden lg:block lg:w-1/4 space-y-6",children:e.jsxs("div",{className:"sticky top-4",children:[e.jsx(ol,{position:"sidebar",url:"https://video-previews.elements.envatousercontent.com/h264-video-previews/e08912ad-6856-4e36-89b5-cf1465cc79cb/32651312.mp4",link:"",alt:""}),e.jsx(eS,{api_url:""}),e.jsxs("div",{className:"mt-6 bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[e.jsx("h3",{className:"font-semibold text-lg mb-3",children:"Featured Employers"}),e.jsx("div",{className:"grid grid-cols-3 gap-2",children:[...Array(6)].map((G,oe)=>e.jsx("div",{className:"flex items-center justify-center p-2 bg-gray-50 rounded-md",children:e.jsx("img",{src:`/placeholder.svg?height=40&width=40&text=${String.fromCharCode(65+oe)}`,alt:`Featured employer ${oe+1}`,className:"w-10 h-10 object-contain"})},oe))})]})]})})]})})]})]}),e.jsx(zA,{activeDateFilter:ve,handleDateFilterChange:Wt,filterKeys:a,searchableFilters:r,dateFieldLabel:l,activeFilters:C,handleFilterChange:Ea,filtersData:k,isMobileFilterOpen:X,toggleMobileFilter:tt})]})},Sl=[{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}],NO=({courses:t,onSearchResults:a,onTyping:r,placeholder:n="Search courses, instructors, or topics..."})=>{const[s,i]=M.useState(""),[c,l]=M.useState([]),[d,h]=M.useState(!1);M.useEffect(()=>{if(s.length>0){const y=t.filter(k=>{var j,S,C,A,L;const w=s.toLowerCase();return k.title.toLowerCase().includes(w)||((j=k.description)==null?void 0:j.toLowerCase().includes(w))||((S=k.instructor)==null?void 0:S.toLowerCase().includes(w))||((C=k.tags)==null?void 0:C.some(b=>b.toLowerCase().includes(w)))||((A=k.category)==null?void 0:A.toLowerCase().includes(w))||((L=k.subcategory)==null?void 0:L.toLowerCase().includes(w))});a(y);const x=t.filter(k=>k.title.toLowerCase().includes(s.toLowerCase())).map(k=>k.title).slice(0,3),f=t.flatMap(k=>k.tags??[]).filter(k=>k.toLowerCase().includes(s.toLowerCase())).filter((k,w,j)=>j.indexOf(k)===w).slice(0,3),v=t.filter(k=>k.instructor?k.instructor.toLowerCase().includes(s.toLowerCase()):!1).map(k=>k.instructor).filter((k,w,j)=>j.indexOf(k)===w).slice(0,2);l([...x,...f,...v]),h(!0)}else a(t),l([]),h(!1)},[s,t,a]);const u=y=>{i(y),r==null||r(y.length>0,y)},p=y=>{i(y),h(!1)},m=()=>{i(""),h(!1),r==null||r(!1,"")};return e.jsxs("div",{className:"course-search relative",children:[e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:e.jsx(Vt,{className:"h-5 w-5 text-gray-400"})}),e.jsx("input",{type:"text",value:s,onChange:y=>u(y.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}),s&&e.jsx("button",{onClick:m,className:"absolute inset-y-0 right-0 pr-3 flex items-center",children:e.jsx(jt,{className:"h-5 w-5 text-gray-400 hover:text-gray-600"})})]}),d&&c.length>0&&e.jsx("div",{className:"absolute z-10 w-full mt-1 bg-white border border-gray-200 rounded-lg shadow-lg",children:e.jsx("ul",{className:"py-1",children:c.map((y,x)=>e.jsx("li",{children:e.jsx("button",{onClick:()=>p(y),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:e.jsxs("div",{className:"flex items-center",children:[e.jsx(Vt,{className:"h-4 w-4 text-gray-400 mr-2"}),y]})})},x))})}),s&&e.jsxs("div",{className:"mt-2 text-sm text-gray-600",children:['Search results for "',s,'"']})]})},IO=({title:t,subtitle:a,placeholder:r,courses:n=[],onSearchResults:s})=>e.jsx("section",{className:"py-16 bg-gradient-to-r from-[#0f1219] to-[#1a2236] text-white relative overflow-hidden",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center mb-8",children:[e.jsxs("h2",{className:"text-4xl font-bold text-white mb-4",children:[t||"Master the ",e.jsx("span",{className:"bg-gradient-accent bg-clip-text text-transparent",children:"IGaming Industry"})]}),e.jsx("p",{className:"text-xl text-indigo-100 max-w-2xl mx-auto",children:a||"Learn from industry experts and advance your career with our comprehensive course catalog"})]}),e.jsx("div",{className:"hidden lg:block max-w-2xl mx-auto",children:n&&s&&e.jsx(NO,{courses:n,onSearchResults:s,placeholder:r||"Search IGaming courses, instructors, or topics..."})})]})}),AO=({categories:t,selectedCategory:a,selectedSubcategory:r,onCategorySelect:n,onSubcategorySelect:s})=>{const[i,c]=M.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 e.jsxs("nav",{className:"course-navigation bg-white rounded-lg shadow-sm border border-gray-200 p-4",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Course Categories"}),e.jsx("div",{className:"space-y-2",children:t.map(h=>{const u=i.has(h.id),p=a===h.id;return e.jsxs("div",{className:"category-group",children:[e.jsxs("button",{onClick:()=>d(h.id),className:`
7803
+ `,children:[e.jsxs("div",{className:`relative ${i==="list"?"md:w-1/3 md:flex-shrink-0":""}`,children:[e.jsx("img",{src:t.image||"/placeholder.svg?height=200&width=400&text=News",alt:t.title,className:`w-full h-48 object-cover transition-opacity duration-300 ${d?"opacity-100":"opacity-0"} ${i==="list"?"md:h-32":""}`,onLoad:()=>h(!0)}),!d&&e.jsx("div",{className:"absolute inset-0 bg-gray-200 animate-pulse flex items-center justify-center",children:e.jsx("div",{className:"w-12 h-12 text-gray-400",children:"📰"})}),e.jsxs("div",{className:"absolute top-3 left-3 flex flex-wrap gap-1",children:[t.isBreaking&&e.jsx("span",{className:"px-2 py-1 bg-red-500 text-white text-xs font-semibold rounded animate-pulse",children:"BREAKING"}),t.isTrending&&e.jsxs("span",{className:"px-2 py-1 bg-orange-500 text-white text-xs font-semibold rounded flex items-center",children:[e.jsx(Ra,{className:"w-3 h-3 mr-1"}),"TRENDING"]})]}),e.jsx("button",{onClick:()=>r(t._id,l),className:`absolute top-3 right-3 p-2 rounded-full transition-colors ${a?"bg-yellow-500 text-white":"bg-white text-gray-600 hover:bg-gray-100"} ${c.allowSaving?"":"opacity-60 cursor-not-allowed"}`,"aria-label":a?"Remove bookmark":"Add bookmark",disabled:!c.allowSaving,title:c.allowSaving?void 0:"Sign in to save articles",children:e.jsx(ga,{className:`w-4 h-4 ${a?"fill-current":""}`})})]}),e.jsxs("div",{className:`p-4 ${i==="list"?"md:w-2/3":""}`,children:[e.jsx("div",{className:"flex flex-wrap gap-2 mb-2",children:t.categories.slice(0,2).map((f,v)=>e.jsx("a",{href:`?category=${f}`,children:e.jsx("span",{className:"px-2 py-1 bg-yellow-100 text-yellow-800 text-xs font-medium rounded-full",children:f},v)}))}),e.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-2 line-clamp-2 hover:text-yellow-600 transition-colors",children:c.maskExternalLinks?e.jsx("button",{className:"text-left w-full text-gray-700 cursor-not-allowed","aria-label":"Sign in to view article",title:"Sign in to view external article",children:t.title}):e.jsx("a",{href:t.link,target:"_blank",rel:"noopener noreferrer",onClick:()=>s==null?void 0:s(t,l,"new_tab",t.isTrending?"trending":t.isBreaking?"breaking":"listing"),children:t.title})}),e.jsx("p",{className:"text-sm text-gray-700 mb-3 line-clamp-3",children:y(t.content,i==="list"?150:200)}),e.jsxs("div",{className:"flex items-center justify-between text-xs text-gray-500 mb-3",children:[e.jsxs("div",{className:"flex items-center space-x-4",children:[e.jsxs("span",{children:["By ",m(t.author)]}),e.jsx("span",{children:t.company})]}),e.jsxs("div",{className:"flex items-center space-x-3",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(ka,{className:"w-4 h-4 mr-1"}),e.jsxs("span",{children:[t.readTime,"m read"]})]}),e.jsxs("div",{className:"flex items-center",children:[e.jsx(Ho,{className:"w-4 h-4 mr-1"}),e.jsx("span",{children:p(t.viewCount||0)})]})]})]}),e.jsx("div",{className:"flex flex-wrap gap-1 mb-3",children:t.tags.slice(0,3).map((f,v)=>e.jsxs("span",{className:"px-2 py-1 bg-gray-100 text-gray-600 text-xs rounded",children:["#",f]},v))}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-sm text-gray-500",children:u(t.date)}),e.jsx("span",{className:"inline-flex items-center rounded-full bg-gray-100 px-2.5 py-0.5 text-xs font-medium text-gray-700",children:tS[c.status]}),c.note&&e.jsx("span",{className:"text-xs text-gray-500",children:c.note})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx("button",{onClick:()=>n(t,l),className:"p-2 text-gray-400 hover:text-gray-600 hover:bg-gray-100 rounded-full transition-colors","aria-label":"Share article",children:e.jsx(po,{className:"w-4 h-4"})}),c.maskExternalLinks?e.jsx("button",{className:"flex items-center px-3 py-1.5 bg-gray-200 text-gray-600 text-sm font-medium rounded-lg cursor-not-allowed","aria-label":"Sign in to read",children:"Sign in to read"}):e.jsxs("a",{href:t.link,target:"_blank",rel:"noopener noreferrer",className:"flex items-center px-3 py-1.5 bg-yellow-600 text-white text-sm font-medium rounded-lg hover:bg-yellow-700 transition-colors",onClick:()=>s==null?void 0:s(t,l,"new_tab",t.isTrending?"trending":t.isBreaking?"breaking":"listing"),children:["Read More",e.jsx(ho,{className:"w-3 h-3 ml-1"})]})]})]})]})]})},NO=({apiUrl:t="http://localhost:5000/api/news",filterKeys:a=["categories","author","company"],searchableFilters:r=["company","author","categories"],defaultFilters:n={categories:[],tags:[],authors:[],companies:[],dateRange:["",""],readTime:[0,999]},defaultSort:s="latest",bookmarkStorageKey:i="news-bookmarks",itemsPerPage:c=12,dateFieldLabel:l="Published",userAccess:d,onEmitEvent:h,eventContext:u})=>{const[p,m]=M.useState([]),[y,x]=M.useState([]),[f,v]=M.useState([]),[k,w]=M.useState({}),[j,S]=M.useState(""),[C,A]=M.useState({}),[L,b]=M.useState(!1),[N,q]=M.useState(c),[P,R]=M.useState(new Set),[T,$]=M.useState(s),[W,B]=M.useState("grid"),[U,O]=M.useState(1),[oe,ae]=M.useState([]),[Y,J]=M.useState(!1),[Q,ee]=M.useState([]),[ue,we]=M.useState([]),[Z,te]=M.useState(!0),[ve,fe]=M.useState("all"),[re,he]=M.useState(""),Ae=G=>G.trim().toLowerCase().replace(/\s+/g,"-"),[Pe,_e]=M.useState(n),[Qe,st]=M.useState(null),yt=V9(d),rt=M.useMemo(()=>({component:"NewsPage",...u??{}}),[u]),Be=M.useCallback((G,se)=>{h&&h({domain:"news",name:G,payload:se,timestamp:new Date().toISOString(),context:rt})},[rt,h]),mt=M.useCallback(()=>({filters:{...C},categories:Pe.categories.length?Pe.categories:C.categories?[C.categories]:[],tags:Pe.tags,authors:Pe.authors.length?Pe.authors:C.author?[C.author]:[],companies:Pe.companies.length?Pe.companies:C.company?[C.company]:[],dateFilter:ve,readTimeRange:Pe.readTime}),[ve,C,Pe]),et=M.useCallback(()=>({page:U,pageSize:N,totalResults:y.length,sortBy:T,viewMode:W}),[U,y.length,N,T,W]),da=M.useRef(!1);M.useEffect(()=>{const G=localStorage.getItem(i);G&&R(new Set(JSON.parse(G)))},[i]),M.useEffect(()=>{const G=new URLSearchParams(window.location.search),se={};a.forEach(ht=>{const wt=G.get(ht);wt&&(se[ht]=wt)}),A(se);const Me=G.get("q"),qe=G.get("categories");let Je=[...p];if(Me&&(Je=Je.filter(ht=>ht.title.toLowerCase().includes(Me.toLowerCase())),S(Me),ft(Me)),qe){const ht=qe.trim().toLowerCase().replace(/\s+/g,"-");_e(wt=>({...wt,categories:[ht]})),Je=Je.filter(wt=>wt.categories.some(nr=>Ae(nr)===ht))}v(Je);const Va={};a.forEach(ht=>{const wt=G.get(ht);wt&&(Va[ht]=wt)}),A(Va)},[p]),M.useEffect(()=>{const se=new URLSearchParams(window.location.search).get("date_filter");if(se&&se!=="all"){fe(se);const Me=io(p,C,Q,se);x(Me),O(1),dt(Me)}},[p]);const ft=G=>{if(!G.trim())return;const se=[...Q,G.trim()];ee(se);const Me=io(p,C,se,ve);x(Me),O(1),dt(Me),S(""),Be("news_search_submitted",{query:G,searchFilters:se,...mt()})},dt=G=>{const se=Yc(G,a);w(se)},Jt=G=>{fe(G),F(G),OA(G)},F=G=>{const se=io(p,C,Q,G);x(se),O(1),dt(se)};M.useEffect(()=>{localStorage.setItem(i,JSON.stringify(Array.from(P)))},[P,i]),M.useEffect(()=>{te(!0),st(null),(async()=>{try{const se=await fetch(t);if(!se.ok)throw new Error(`API responded with status: ${se.status}`);const Me=await se.json();if(!Array.isArray(Me))throw new Error("Expected an array but received: "+typeof Me);const qe=Me.map(Xe=>({...Xe,categories:Array.isArray(Xe.categories)?Xe.categories:[],topTag:lE(Xe.title||"")})),Je={};for(const Xe of qe){const bt=Xe.topTag;bt&&(Je[bt]=(Je[bt]||0)+1)}const Va=Object.entries(Je).sort((Xe,bt)=>bt[1]-Xe[1]).slice(0,10).map(([Xe])=>Xe);we(Va);const ht=new Set;qe.forEach(Xe=>{Xe.categories.forEach(bt=>{ht.add(Ae(bt))})});const wt=Array.from(ht).map(Xe=>({id:Xe,name:Xe.replace(/-/g," ").replace(/\b\w/g,bt=>bt.toUpperCase()),icon:"📰",count:qe.filter(bt=>bt.categories.some(pc=>Ae(pc)===Xe)).length,color:"bg-gray-100 text-gray-800"}));m(qe),x(qe),v(qe),ae(wt);const nr=Yc(qe,a);w(nr)}catch(se){console.error("Failed to fetch articles",se)}finally{te(!1)}})()},[t]);const V=()=>{B(G=>{const se=G==="grid"?"list":"grid";return Be("news_listing_viewmode_changed",{viewMode:se}),se})};M.useMemo(()=>p.filter(G=>G.isTrending).slice(0,6),[p]),M.useMemo(()=>p.filter(G=>G.isBreaking),[p]);const K=Math.ceil(y.length/N),Le=y.slice((U-1)*N,U*N),Te=(G,se)=>{yt.allowSaving&&R(Me=>{const qe=new Set(Me),Je=qe.has(G);return Je?qe.delete(G):qe.add(G),Be(Je?"news_article_unbookmarked":"news_article_bookmarked",{articleId:G,positionInList:se}),qe})},Ze=(G,se)=>{navigator.share?navigator.share({title:G.title,text:G.title,url:G.link}):(navigator.clipboard.writeText(G.link),alert("Article link copied to clipboard!")),Be("news_article_shared",{articleId:G._id,channel:"copy_link"})},ze=(G,se,Me="new_tab",qe="listing")=>{Be("news_article_opened",{articleId:G._id,slug:G.slug,positionInList:se,openedFrom:qe,openedIn:Me})},z=()=>{J(!Y)},pe=y.length===0?0:(U-1)*N+1,He=Math.min(U*N,y.length),Xt=()=>{_e({categories:[],tags:[],authors:[],companies:[],dateRange:["",""],readTime:[0,999]}),O(1);const G=io(p,C,Q,ve);x(G),O(1),dt(G)},ha=()=>{A({}),ee([]),fe("all"),Xt(),x(p),O(1),dt(p),Be("news_filters_cleared_all",{})},Tt=M.useRef(null),Yt=G=>{O(G),Be("news_listing_page_changed",{page:G,pageSize:N,totalResults:y.length}),setTimeout(()=>{var se;(se=Tt.current)==null||se.scrollIntoView({behavior:"smooth",block:"start"})},100)},ua=G=>{q(G),O(1),Be("news_listing_items_per_page_changed",{pageSize:G})},Ha=(G,se)=>{const Me={...C};se?Me[G]=se:delete Me[G];const qe=io(p,Me,Q,ve);A(Me),x(qe),O(1),dt(qe);const Je=mt();se?Be("news_filter_selected",{key:G,value:se,...Je}):Be("news_filter_cleared",{key:G,...Je})},Fr=G=>{const se=Q.filter(qe=>qe!==G);ee(se);const Me=io(p,C,se,ve);x(Me),O(1),dt(Me),Be("news_search_filter_removed",{removedKeyword:G,remainingKeywords:se})};return M.useEffect(()=>{da.current||Z||!y.length&&!p.length||(Be("news_listing_viewed",{...mt(),...et()}),da.current=!0)},[p.length,Be,y.length,mt,et,Z]),e.jsxs("div",{className:"flex flex-col min-h-screen pb-16 md:pb-0",children:[e.jsxs("div",{className:"flex-grow",children:[e.jsx(nS,{onSearchChange:G=>{const se=p.filter(Me=>Me.title.toLowerCase().includes(G.toLowerCase()));v(se),S(G)},title:"Latest News",popularTags:ue,generateHref:G=>`/news?q=${G.replace(/\s+/g,"+")}`}),e.jsxs("div",{className:"container mx-auto py-8 pb-20 md:pb-8",children:[e.jsxs("div",{className:"relative",children:[e.jsxs("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:[e.jsx(rS,{data:p.map(G=>G.title),onSelect:G=>{ft(G)},onTyping:G=>{b(!!G),G||(v(p),S(""))},placeholder:"Search news, topics, or authors...",showSubmitButton:!0,className:"w-full"}),e.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:z,children:e.jsx(jr,{size:16,className:"mr-1.5"})}),j&&e.jsxs("div",{className:"flex gap-2 mt-3 px-4 sm:px-6 lg:px-8",children:[e.jsxs("span",{className:"bg-yellow-100 text-indigo-800 rounded-full px-3 py-1 text-sm flex items-center",children:[j,e.jsx("button",{onClick:()=>{v(p),S("")},className:"ml-2 text-indigo-600 hover:text-indigo-800",children:"×"})]}),e.jsx("button",{className:"text-sm text-gray-600 hover:underline",onClick:()=>{v(p),S("")},children:"Clear Search"})]})]}),e.jsx("div",{className:"max-w-7xl mx-auto md:pb-8",children:e.jsx("div",{className:"block w-full",children:e.jsx("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:e.jsx(iS,{filters:[...re?[{key:"categories",label:"Categories",value:re.replace(/-/g," "),onRemove:()=>he("")}]:[],...Q.map(G=>({key:"search",label:"",value:G,onRemove:()=>Fr(G)})),...Object.entries(C).map(([G,se])=>({key:G,label:G.replace(/_/g," "),value:se,onRemove:()=>Ha(G,"")}))],onClearAll:ha})})})})]}),e.jsx("main",{className:"max-w-7xl mx-auto px-4 pb-8 sm:px-6 lg:px-8",children:e.jsxs("div",{className:"flex flex-col lg:flex-row lg:gap-6",children:[e.jsx(HA,{dateFieldLabel:"Date",activeDateFilter:ve,onDateFilterChange:Jt,filterKeys:a,searchableFilters:r,filtersData:k,activeFilters:C,handleFilterChange:Ha,toggleSavedJobsFilter:()=>console.log("toggle saved jobs filter"),showOnlySaved:!1,savedJobs:[]}),Z?e.jsx(aS,{}):e.jsx(e.Fragment,{children:e.jsxs("div",{className:"lg:w-2/4",children:[e.jsx(oS,{viewMode:W,onToggleViewMode:V,selectedItemsPerPage:N,onItemsPerPageChange:ua,totalCount:y.length,startIndex:pe,endIndex:He,title:"Latest News"}),y.length>0?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:W==="grid"?"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-2 gap-6":"space-y-6",children:Le.map((G,se)=>e.jsx("div",{ref:se===0?Tt:null,children:e.jsx(LO,{article:G,isBookmarked:P.has(G._id),positionInList:se,onToggleBookmark:Me=>Te(Me,se),onShare:Me=>Ze(Me),onOpenArticle:ze,layout:W,userAccess:yt})},G._id))}),K>1&&e.jsx("div",{className:"mt-8 flex justify-center",children:e.jsx(B9,{currentPage:U,totalPages:K,onPageChange:Yt})})]}):e.jsxs("div",{className:"text-center py-12",children:[e.jsx(_a,{className:"w-16 h-16 text-gray-400 mx-auto mb-4"}),e.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2",children:"No articles found"}),e.jsx("p",{className:"text-gray-600 mb-4",children:"Try adjusting your search criteria or filters to find more articles."}),e.jsx("button",{onClick:ha,className:"px-4 py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700 transition-colors",children:"Clear All Filters"})]})]})}),e.jsx("div",{className:"hidden lg:block lg:w-1/4 space-y-6",children:e.jsxs("div",{className:"sticky top-4",children:[e.jsx(ol,{position:"sidebar",url:"https://video-previews.elements.envatousercontent.com/h264-video-previews/e08912ad-6856-4e36-89b5-cf1465cc79cb/32651312.mp4",link:"",alt:""}),e.jsx(eS,{api_url:""}),e.jsxs("div",{className:"mt-6 bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[e.jsx("h3",{className:"font-semibold text-lg mb-3",children:"Featured Employers"}),e.jsx("div",{className:"grid grid-cols-3 gap-2",children:[...Array(6)].map((G,se)=>e.jsx("div",{className:"flex items-center justify-center p-2 bg-gray-50 rounded-md",children:e.jsx("img",{src:`/placeholder.svg?height=40&width=40&text=${String.fromCharCode(65+se)}`,alt:`Featured employer ${se+1}`,className:"w-10 h-10 object-contain"})},se))})]})]})})]})})]})]}),e.jsx(zA,{activeDateFilter:ve,handleDateFilterChange:Jt,filterKeys:a,searchableFilters:r,dateFieldLabel:l,activeFilters:C,handleFilterChange:Ha,filtersData:k,isMobileFilterOpen:Y,toggleMobileFilter:z})]})},Sl=[{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}],IO=({courses:t,onSearchResults:a,onTyping:r,placeholder:n="Search courses, instructors, or topics..."})=>{const[s,i]=M.useState(""),[c,l]=M.useState([]),[d,h]=M.useState(!1);M.useEffect(()=>{if(s.length>0){const y=t.filter(k=>{var j,S,C,A,L;const w=s.toLowerCase();return k.title.toLowerCase().includes(w)||((j=k.description)==null?void 0:j.toLowerCase().includes(w))||((S=k.instructor)==null?void 0:S.toLowerCase().includes(w))||((C=k.tags)==null?void 0:C.some(b=>b.toLowerCase().includes(w)))||((A=k.category)==null?void 0:A.toLowerCase().includes(w))||((L=k.subcategory)==null?void 0:L.toLowerCase().includes(w))});a(y);const x=t.filter(k=>k.title.toLowerCase().includes(s.toLowerCase())).map(k=>k.title).slice(0,3),f=t.flatMap(k=>k.tags??[]).filter(k=>k.toLowerCase().includes(s.toLowerCase())).filter((k,w,j)=>j.indexOf(k)===w).slice(0,3),v=t.filter(k=>k.instructor?k.instructor.toLowerCase().includes(s.toLowerCase()):!1).map(k=>k.instructor).filter((k,w,j)=>j.indexOf(k)===w).slice(0,2);l([...x,...f,...v]),h(!0)}else a(t),l([]),h(!1)},[s,t,a]);const u=y=>{i(y),r==null||r(y.length>0,y)},p=y=>{i(y),h(!1)},m=()=>{i(""),h(!1),r==null||r(!1,"")};return e.jsxs("div",{className:"course-search relative",children:[e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:e.jsx($t,{className:"h-5 w-5 text-gray-400"})}),e.jsx("input",{type:"text",value:s,onChange:y=>u(y.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}),s&&e.jsx("button",{onClick:m,className:"absolute inset-y-0 right-0 pr-3 flex items-center",children:e.jsx(Ct,{className:"h-5 w-5 text-gray-400 hover:text-gray-600"})})]}),d&&c.length>0&&e.jsx("div",{className:"absolute z-10 w-full mt-1 bg-white border border-gray-200 rounded-lg shadow-lg",children:e.jsx("ul",{className:"py-1",children:c.map((y,x)=>e.jsx("li",{children:e.jsx("button",{onClick:()=>p(y),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:e.jsxs("div",{className:"flex items-center",children:[e.jsx($t,{className:"h-4 w-4 text-gray-400 mr-2"}),y]})})},x))})}),s&&e.jsxs("div",{className:"mt-2 text-sm text-gray-600",children:['Search results for "',s,'"']})]})},AO=({title:t,subtitle:a,placeholder:r,courses:n=[],onSearchResults:s})=>e.jsx("section",{className:"py-16 bg-gradient-to-r from-[#0f1219] to-[#1a2236] text-white relative overflow-hidden",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center mb-8",children:[e.jsxs("h2",{className:"text-4xl font-bold text-white mb-4",children:[t||"Master the ",e.jsx("span",{className:"bg-gradient-accent bg-clip-text text-transparent",children:"IGaming Industry"})]}),e.jsx("p",{className:"text-xl text-indigo-100 max-w-2xl mx-auto",children:a||"Learn from industry experts and advance your career with our comprehensive course catalog"})]}),e.jsx("div",{className:"hidden lg:block max-w-2xl mx-auto",children:n&&s&&e.jsx(IO,{courses:n,onSearchResults:s,placeholder:r||"Search IGaming courses, instructors, or topics..."})})]})}),PO=({categories:t,selectedCategory:a,selectedSubcategory:r,onCategorySelect:n,onSubcategorySelect:s})=>{const[i,c]=M.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 e.jsxs("nav",{className:"course-navigation bg-white rounded-lg shadow-sm border border-gray-200 p-4",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Course Categories"}),e.jsx("div",{className:"space-y-2",children:t.map(h=>{const u=i.has(h.id),p=a===h.id;return e.jsxs("div",{className:"category-group",children:[e.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
- `,children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx("span",{className:"text-lg mr-3",children:h.icon}),e.jsx("span",{className:"font-medium",children:h.name})]}),u?e.jsx(yr,{className:"w-4 h-4"}):e.jsx(fr,{className:"w-4 h-4"})]}),u&&e.jsx("div",{className:"mt-2 ml-6 space-y-1",children:h.subcategories.map(m=>{const y=r===m.id;return e.jsxs("button",{onClick:()=>s(m.id),className:`
7806
+ `,children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx("span",{className:"text-lg mr-3",children:h.icon}),e.jsx("span",{className:"font-medium",children:h.name})]}),u?e.jsx(mr,{className:"w-4 h-4"}):e.jsx(xr,{className:"w-4 h-4"})]}),u&&e.jsx("div",{className:"mt-2 ml-6 space-y-1",children:h.subcategories.map(m=>{const y=r===m.id;return e.jsxs("button",{onClick:()=>s(m.id),className:`
7807
7807
  w-full flex items-center justify-between p-2 rounded-md text-left text-sm transition-colors
7808
7808
  ${y?"bg-yellow-100 text-indigo-800":"hover:bg-gray-100 text-gray-600"}
7809
- `,children:[e.jsx("span",{children:m.name}),e.jsx("span",{className:"text-xs text-gray-500",children:m.courseCount})]},m.id)})})]},h.id)})})]})},EL=({filters:t,sortBy:a,onFiltersChange:r,onSortChange:n,onClearFilters:s,totalCourses:i,filteredCourses:c,showFilterName:l=!0,categories:d,selectedCategory:h,selectedSubcategory:u,onCategorySelect:p,onSubcategorySelect:m})=>{const[y,x]=M.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"}],v=["English","Spanish","French","German","Multiple"],k=["Lifetime Access","Certificate","Mobile Access","Expert Support"],w=C=>{const A=t.languages.includes(C)?t.languages.filter(L=>L!==C):[...t.languages,C];r({...t,languages:A})},j=C=>{const A=t.features.includes(C)?t.features.filter(L=>L!==C):[...t.features,C];r({...t,features:A})},S=t.levels.length>0||t.languages.length>0||t.features.length>0||t.rating>0||t.priceRange[0]>0||t.priceRange[1]<2e3;return e.jsxs("div",{className:"course-filters bg-white rounded-lg shadow-sm border border-gray-200",children:[e.jsxs("div",{className:"hidden lg:block p-4 border-b border-gray-200",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(xr,{className:"w-5 h-5 text-gray-600 mr-2"}),e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:"Filters"}),S&&e.jsx("span",{className:"ml-2 px-2 py-1 bg-yellow-100 text-indigo-800 text-xs rounded-full",children:"Active"})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[S&&e.jsx("button",{onClick:s,className:"text-sm text-indigo-600 hover:text-indigo-800",children:"Clear All"}),e.jsx("button",{onClick:()=>x(!y),className:"lg:hidden p-1 rounded-md hover:bg-gray-100",children:e.jsx(yr,{className:`w-4 h-4 transition-transform ${y?"rotate-180":""}`})})]})]}),e.jsxs("p",{className:"text-sm text-gray-600 mt-2",children:["Showing ",c," of ",i," courses"]})]}),e.jsxs("div",{className:"p-4 border-b border-gray-200",children:[e.jsx("label",{htmlFor:"sort-select",className:"block text-sm font-medium text-gray-700 mb-2",children:"Sort by"}),e.jsx("select",{id:"sort-select",value:a,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=>e.jsx("option",{value:C.value,children:C.label},C.value))})]}),e.jsxs("div",{className:"block",children:[e.jsx(AO,{categories:d,selectedCategory:h,selectedSubcategory:u,onCategorySelect:p,onSubcategorySelect:m}),e.jsxs("div",{className:"p-4 border-b border-gray-200",children:[e.jsx("h4",{className:"text-sm font-medium text-gray-900 mb-3",children:"Language"}),e.jsx("div",{className:"space-y-2",children:v.map(C=>e.jsxs("label",{className:"flex items-center",children:[e.jsx("input",{type:"checkbox",checked:t.languages.includes(C),onChange:()=>w(C),className:"mr-2 text-indigo-600 focus:ring-yellow--500 rounded"}),e.jsx("span",{className:"text-sm text-gray-700",children:C})]},C))})]}),e.jsxs("div",{className:"p-4",children:[e.jsx("h4",{className:"text-sm font-medium text-gray-900 mb-3",children:"Features"}),e.jsx("div",{className:"space-y-2",children:k.map(C=>e.jsxs("label",{className:"flex items-center",children:[e.jsx("input",{type:"checkbox",checked:t.features.includes(C),onChange:()=>j(C),className:"mr-2 text-indigo-600 focus:ring-yellow--500 rounded"}),e.jsx("span",{className:"text-sm text-gray-700",children:C})]},C))})]})]})]})},PO=({isOpen:t,onClose:a,title:r="Filters",children:n})=>t?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"fixed inset-0 bg-gray-600 bg-opacity-75 z-40",onClick:a}),e.jsxs("div",{className:"fixed inset-y-0 right-0 max-w-xs w-full bg-white shadow-xl z-50 overflow-y-auto",children:[e.jsxs("div",{className:"px-4 py-2 border-b border-gray-200 flex items-center justify-between",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900",children:r}),e.jsx("button",{onClick:a,className:"p-2 rounded-full hover:bg-gray-100","aria-label":"Close filters",children:e.jsx("svg",{className:"h-6 w-6 text-gray-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),e.jsx("div",{className:"p-4",children:n})]})]}):null,FL=({filters:t,sortBy:a,onFiltersChange:r,onSortChange:n,onClearFilters:s,totalCourses:i,filteredCourses:c,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p,isMobileFilterOpen:m,toggleMobileFilter:y,enableMobileFilter:x,showFilterName:f=!0,isMobile:v=!1})=>e.jsxs("aside",{className:v?"lg:w-1/4 space-y-6":"w-full space-y-6",children:[x&&e.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:y,"aria-expanded":m,children:e.jsx(Mr,{className:"w-4 h-4 flex justify-center items-center"})}),e.jsx("div",{className:"hidden md:block",children:e.jsx(EL,{filters:t,sortBy:a,onFiltersChange:r,onSortChange:n,onClearFilters:s,totalCourses:i,filteredCourses:c,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p})}),e.jsx(PO,{isOpen:m,onClose:y,title:"Filters",children:e.jsx(EL,{filters:t,sortBy:a,onFiltersChange:r,onSortChange:n,onClearFilters:s,totalCourses:i,filteredCourses:c,showFilterName:f,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p})})]}),_O=({course:t,isFavorite:a,onToggleFavorite:r,onEnroll:n,userAccess:s})=>{const[i,c]=M.useState(!1),l=(p,m)=>new Intl.NumberFormat("en-EU",{style:"currency",currency:m}).format(p),d=p=>p>=1e3?`${(p/1e3).toFixed(1)}k`:p.toString(),h=s.allowSaving,u=s.maskExternalLinks;return e.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:[e.jsxs("div",{className:"relative",children:[e.jsx("img",{src:t.thumbnail||"/placeholder.svg",alt:t.title,className:`w-full h-48 object-cover transition-opacity duration-300 ${i?"opacity-100":"opacity-0"}`,onLoad:()=>c(!0)}),!i&&e.jsx("div",{className:"absolute inset-0 bg-gray-200 animate-pulse flex items-center justify-center",children:e.jsx(ea,{className:"w-12 h-12 text-gray-400"})}),e.jsxs("div",{className:"absolute top-3 left-3 flex flex-wrap gap-1",children:[t.isBestseller&&e.jsx("span",{className:"px-2 py-1 bg-orange-500 text-white text-xs font-semibold rounded",children:"Bestseller"}),t.isNew&&e.jsx("span",{className:"px-2 py-1 bg-green-500 text-white text-xs font-semibold rounded",children:"New"}),t.isFeatured&&e.jsx("span",{className:"px-2 py-1 bg-yellow-500 text-white text-xs font-semibold rounded",children:"Featured"})]}),e.jsx("button",{onClick:()=>r(t.id),className:`absolute top-3 right-3 p-2 rounded-full transition-colors ${a?"bg-red-500 text-white":"bg-white text-gray-600 hover:bg-gray-100"} ${h?"":"opacity-60 cursor-not-allowed"}`,"aria-label":a?"Remove from favorites":"Add to favorites",disabled:!h,title:h?void 0:"Sign in to save courses",children:e.jsx(kr,{className:`w-4 h-4 ${a?"fill-current":""}`})})]}),e.jsxs("div",{className:"p-4",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2 line-clamp-2",children:t.title}),e.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[e.jsx("span",{className:"inline-flex items-center rounded-full bg-gray-100 px-2.5 py-0.5 text-xs font-medium text-gray-700",children:tS[s.status]}),s.note&&e.jsx("span",{className:"text-xs text-gray-500",children:s.note})]}),e.jsxs("p",{className:"text-sm text-gray-600 mb-2",children:["By ",t.instructor]}),e.jsx("p",{className:"text-sm text-gray-700 mb-3 line-clamp-2",children:t.description}),e.jsxs("div",{className:"flex items-center mb-3",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(St,{className:"w-4 h-4 text-yellow-400 fill-current"}),e.jsx("span",{className:"ml-1 text-sm font-medium text-gray-900",children:t.rating})]}),typeof t.reviewCount=="number"&&e.jsxs("span",{className:"ml-2 text-sm text-gray-500",children:["(",t.reviewCount.toLocaleString()," reviews)"]})]}),e.jsxs("div",{className:"flex items-center justify-between text-sm text-gray-600 mb-3",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(ma,{className:"w-4 h-4 mr-1"}),e.jsx("span",{children:t.duration})]}),e.jsxs("div",{className:"flex items-center",children:[e.jsx(Lt,{className:"w-4 h-4 mr-1"}),typeof t.enrollmentCount=="number"&&e.jsxs("span",{children:[d(t.enrollmentCount)," students"]})]})]}),e.jsxs("div",{className:"flex items-center justify-between text-sm mb-4",children:[e.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&&e.jsxs("div",{className:"flex items-center text-indigo-600",children:[e.jsx(Yt,{className:"w-4 h-4 mr-1"}),e.jsx("span",{className:"text-xs",children:"Certificate"})]})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center",children:[typeof t.price=="number"&&t.currency&&e.jsx("span",{className:"text-xl font-bold text-gray-900",children:l(t.price,t.currency)}),typeof t.originalPrice=="number"&&!isNaN(t.originalPrice)&&e.jsx("span",{className:"ml-2 text-sm text-gray-500 line-through",children:l(t.originalPrice,t.currency)})]}),u?e.jsx("button",{className:"px-4 py-2 bg-gray-200 text-gray-600 text-sm font-medium rounded-lg cursor-not-allowed","aria-label":"Sign in to enroll",children:"Sign in to enroll"}):e.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"})]})]})]})},RO=({processedCourses:t,favorites:a,handleToggleFavorite:r,handleEnroll:n,itemsPerPage:s=9,handleClearFilters:i,currentPage:c=1,setCurrentPage:l=()=>{},viewMode:d="grid",userAccess:h})=>{const u=Math.ceil(t.length/s),p=t.slice((c-1)*s,c*s),m=M.useRef(null),y=x=>{l(x),setTimeout(()=>{var f;(f=m.current)==null||f.scrollIntoView({behavior:"smooth",block:"start"})},100)};return t.length>0?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:d==="grid"?"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-6":"space-y-6",children:p.map((x,f)=>e.jsx("div",{ref:f===0?m:null,children:e.jsx(_O,{course:x,isFavorite:a.has(x.id),onToggleFavorite:r,onEnroll:n,userAccess:h},`${x.id}-${x.title}`)},x.id))}),u>1&&e.jsx("div",{className:"mt-8 flex justify-center",children:e.jsx(B9,{currentPage:c,totalPages:u,onPageChange:y})})]}):e.jsxs("div",{className:"text-center py-12",children:[e.jsx(ea,{className:"w-16 h-16 text-gray-400 mx-auto mb-4"}),e.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2",children:"No courses found"}),e.jsx("p",{className:"text-gray-600 mb-4",children:"Try adjusting your search criteria or filters to find more courses."}),e.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"})]})},TO=({apiUrl:t,enableMobileFilter:a=!0,itemsPerPage:r=9,userAccess:n,onEmitEvent:s,eventContext:i})=>{const[c,l]=M.useState([]),[d,h]=M.useState([]),[u,p]=M.useState(new Set),[m,y]=M.useState(""),[x,f]=M.useState(""),[v,k]=M.useState("relevance"),[w,j]=M.useState(!1),[S,C]=M.useState(1),[A,L]=M.useState(!1),[b,N]=M.useState(!1),[q,P]=M.useState(!0),[R,T]=M.useState(""),[$,W]=M.useState([]),[B,U]=M.useState([]),[O,le]=M.useState("grid"),[re,X]=M.useState(r),[J,ae]=M.useState({categories:[],subcategories:[],priceRange:[0,2e3],levels:[],languages:[],features:[],rating:0}),Q=V9(n),pe=M.useMemo(()=>({component:"IGamingCoursePage",...i??{}}),[i]),we=M.useRef(!1),Z=M.useMemo(()=>{let F=[...d];switch(m&&(F=F.filter(V=>ne(V.category)===m)),x&&(F=F.filter(V=>ne(V.subcategory)===x)),J.levels.length>0&&(F=F.filter(V=>J.levels.includes(V.level))),J.languages.length>0&&(F=F.filter(V=>J.languages.includes(V.language))),J.features.length>0&&(F=F.filter(V=>J.features.some(K=>V.features.includes(K)))),J.rating>0&&(F=F.filter(V=>V.rating>=J.rating)),w&&(F=F.filter(V=>u.has(V.id))),v){case"price-low-high":F.sort((V,K)=>V.price-K.price);break;case"price-high-low":F.sort((V,K)=>K.price-V.price);break;case"rating":F.sort((V,K)=>K.rating-V.rating);break;case"newest":F.sort((V,K)=>new Date(K.lastUpdated).getTime()-new Date(V.lastUpdated).getTime());break;case"most-enrolled":F.sort((V,K)=>K.enrollmentCount-V.enrollmentCount);break;default:F.sort((V,K)=>V.isFeatured&&!K.isFeatured?-1:!V.isFeatured&&K.isFeatured?1:V.isBestseller&&!K.isBestseller?-1:!V.isBestseller&&K.isBestseller?1:K.rating-V.rating)}return F},[d,m,x,J,u,w,v]),ee=M.useCallback((F,V)=>{s&&s({domain:"courses",name:F,payload:V,timestamp:new Date().toISOString(),context:pe})},[pe,s]),ve=M.useCallback(()=>({category:m||void 0,subcategory:x||void 0,levels:J.levels,languages:J.languages,features:J.features,rating:J.rating,priceRange:J.priceRange,favoritesOnly:w}),[J.features,J.languages,J.levels,J.priceRange,J.rating,m,x,w]),fe=M.useCallback(()=>({page:S,pageSize:re,totalResults:Z.length,sortBy:v,viewMode:O}),[S,Z.length,re,v,O]),te=()=>{le(F=>{const V=F==="grid"?"list":"grid";return ee("courses_listing_viewmode_changed",{viewMode:V}),V})},ne=F=>(F??"").trim().toLowerCase().replace(/\s+/g,"-"),Ae=M.useMemo(()=>{const F=new Map;return c.forEach(V=>{const K=V.category,Ne=V.subcategory,D=ne(K),ie=ne(Ne);if(!D)return;F.has(D)||F.set(D,new Map);const be=F.get(D);ie&&be.set(ie,(be.get(ie)??0)+1)}),Array.from(F.entries()).map(([V,K])=>({id:V,name:V.replace(/-/g," ").replace(/\b\w/g,Ne=>Ne.toUpperCase()),icon:"🎯",subcategories:Array.from(K.entries()).map(([Ne,D])=>({id:Ne,name:Ne.replace(/-/g," ").replace(/\b\w/g,ie=>ie.toUpperCase()),courseCount:D}))}))},[c]),Pe=F=>{X(F),C(1),ee("courses_listing_items_per_page_changed",{pageSize:F})},De=F=>{const V=K=>K.slice().sort().join("|");return V(F.categories)!==V(J.categories)?"category":V(F.subcategories)!==V(J.subcategories)?"subcategory":V(F.levels)!==V(J.levels)?"levels":V(F.languages)!==V(J.languages)?"languages":V(F.features)!==V(J.features)?"features":F.rating!==J.rating?"rating":F.priceRange[0]!==J.priceRange[0]||F.priceRange[1]!==J.priceRange[1]?"priceRange":"features"},Qe=F=>{ae(F);const V={category:m||void 0,subcategory:x||void 0,levels:F.levels,languages:F.languages,features:F.features,rating:F.rating,priceRange:F.priceRange,favoritesOnly:w};ee("courses_filter_changed",{changedKey:De(F),...V})};M.useEffect(()=>{(async()=>{try{if(!t){l(Sl),h(Sl),P(!1);return}P(!0);const V=await fetch(t);if(!V.ok)throw new Error(`Failed to fetch courses from ${t}`);const K=await V.json();l(K),h(K);const D=K.map(be=>sS(be.title||"")).filter(be=>!!be).reduce((be,tt)=>(be[tt]=(be[tt]||0)+1,be),{}),ie=Object.entries(D).sort((be,tt)=>tt[1]-be[1]).slice(0,10).map(([be])=>be);W(ie)}catch(V){console.error("[Courses] Error loading data:",V),l(Sl),h(Sl)}finally{P(!1)}})()},[t]),M.useEffect(()=>{var K;const V=(K=new URLSearchParams(window.location.search).get("q"))==null?void 0:K.trim();if(V){T(V);const Ne=c.filter(D=>{var ie;return D.title.toLowerCase().includes(V.toLowerCase())||((ie=D.description)==null?void 0:ie.toLowerCase().includes(V.toLowerCase()))});h(Ne)}},[c]),M.useEffect(()=>{const F=localStorage.getItem("course-favorites");F&&p(new Set(JSON.parse(F)))},[]),M.useEffect(()=>{localStorage.setItem("course-favorites",JSON.stringify(Array.from(u)))},[u]);const ot=F=>{Q.allowSaving&&p(V=>{const K=new Set(V),Ne=K.has(F);return Ne?K.delete(F):K.add(F),ee(Ne?"course_unfavorited":"course_favorited",{courseId:F}),K})},pt=F=>{if(Q.maskExternalLinks)return;const V=c.find(K=>K.id===F);V!=null&&V.link&&(ee("course_enroll_clicked",{courseId:F}),ee("course_opened",{courseId:F,openedFrom:"listing",openedIn:"new_tab"}),window.open(V.link,"_blank","noopener,noreferrer"))};M.useEffect(()=>{we.current||q||!Z.length&&!c.length||(ee("courses_listing_viewed",{...ve(),...fe()}),we.current=!0)},[c.length,ee,Z.length,ve,fe,q]);const et=F=>{const V=ne(F);y(V===m?"":V),f(""),ee("courses_category_selected",{category:V===m?null:V}),ee("courses_filter_changed",{changedKey:"category",...ve()})},Oe=F=>{const V=ne(F);f(V===x?"":V),ee("courses_subcategory_selected",{subcategory:V===x?null:V}),ee("courses_filter_changed",{changedKey:"subcategory",...ve()})},ct=()=>{ae({categories:[],subcategories:[],priceRange:[0,2e3],levels:[],languages:[],features:[],rating:0}),y(""),f(""),j(!1),T(""),h(c),ee("courses_filters_cleared_all",{})},Je=()=>{L(!A)},oa=F=>{C(F),ee("courses_listing_page_changed",{page:F,pageSize:re,totalResults:Z.length})},yt=Z.length===0?0:(S-1)*re+1,lt=Math.min(S*re,Z.length),Wt=F=>{if(T(F),!F){h(c),U([]);return}const V=c.filter(Ne=>{var D;return Ne.title.toLowerCase().includes(F.toLowerCase())||((D=Ne.description)==null?void 0:D.toLowerCase().includes(F.toLowerCase()))});h(V);const K=V.map(Ne=>Ne.title).filter((Ne,D,ie)=>Ne&&Ne.toLowerCase().includes(F.toLowerCase())&&ie.indexOf(Ne)===D).slice(0,5);U(K),F.trim()&&ee("courses_search_submitted",{query:F,...ve()})};return e.jsxs("div",{className:"min-h-screen bg-gray-50",children:[e.jsx(nS,{onSearchChange:Wt,title:"Courses",description:"Browse and enroll in industry-relevant gaming courses",searchPlaceholder:"Search courses",popularTags:$,generateHref:F=>`/courses?q=${F.toLowerCase().replace(/\s+/g,"+")}`}),e.jsx(IO,{courses:c,onSearchResults:h}),e.jsxs("main",{className:"max-w-7xl mx-auto sm:px-6 lg:px-8 py-8",children:[e.jsx(iS,{filters:[...m?[{key:"category",label:"Category",value:m.replace(/-/g," "),onRemove:()=>y("")}]:[],...x?[{key:"subcategory",label:"Subcategory",value:x.replace(/-/g," "),onRemove:()=>f("")}]:[],...J.levels.map(F=>({key:"level",label:"",value:F,onRemove:()=>ae(V=>({...V,levels:V.levels.filter(K=>K!==F)}))})),...R?[{key:"search",label:"Search",value:R,onRemove:()=>{T(""),h(c)}}]:[]],onClearAll:ct}),e.jsxs("div",{className:"flex flex-col lg:flex-row gap-8",children:[e.jsx("div",{className:"block lg:hidden w-full",children:e.jsxs("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:[e.jsx(rS,{data:c.map(F=>F.title),onSelect:F=>{const V=c.filter(K=>K.title.toLowerCase().includes(F.toLowerCase()));h(V),T(F)},onTyping:F=>{N(!!F),F||(h(c),T(""))}}),e.jsx(FL,{sortBy:v,onFiltersChange:Qe,onSortChange:k,onClearFilters:ct,totalCourses:c.length,filteredCourses:Z.length,categories:Ae,selectedCategory:m,selectedSubcategory:x,filters:J,onCategorySelect:et,onSubcategorySelect:Oe,isMobileFilterOpen:A,toggleMobileFilter:Je,enableMobileFilter:a,showFilterName:!b,isMobile:!0})]})}),e.jsx("div",{className:"hidden lg:block lg:w-1/4",children:e.jsx(FL,{filters:J,sortBy:v,onFiltersChange:Qe,onSortChange:k,onClearFilters:ct,totalCourses:c.length,filteredCourses:Z.length,categories:Ae,selectedCategory:m,selectedSubcategory:x,onCategorySelect:et,onSubcategorySelect:Oe,isMobileFilterOpen:A,toggleMobileFilter:Je,enableMobileFilter:a,showFilterName:!0})}),e.jsxs("div",{className:"lg:w-3/4",children:[e.jsx(oS,{viewMode:O,onToggleViewMode:te,selectedItemsPerPage:re,onItemsPerPageChange:Pe,totalCount:Z.length,startIndex:yt,endIndex:lt,title:"All Courses"}),q?e.jsx(aS,{totalColumns:3}):e.jsx(RO,{processedCourses:Z,favorites:u,handleToggleFavorite:ot,handleClearFilters:ct,itemsPerPage:re,handleEnroll:pt,currentPage:S,setCurrentPage:oa,viewMode:O,userAccess:Q})]})]})]})]})};function qO(t,a=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var k;const{scope:m,children:y,...x}=p,f=((k=m==null?void 0:m[t])==null?void 0:k[d])||l,v=g.useMemo(()=>x,Object.values(x));return e.jsx(f.Provider,{value:v,children:y})};h.displayName=i+"Provider";function u(p,m){var f;const y=((f=m==null?void 0:m[t])==null?void 0:f[d])||l,x=g.useContext(y);if(x)return x;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const s=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return s.scopeName=t,[n,DO(s,...a)]}function DO(...t){const a=t[0];if(t.length===1)return a;const r=()=>{const n=t.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${a.scopeName}`]:c}),[c])}};return r.scopeName=a.scopeName,r}function zO(t){const a=g.useRef(t);return g.useEffect(()=>{a.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=a.current)==null?void 0:n.call(a,...r)},[])}var pC=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},EO=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],gS=EO.reduce((t,a)=>{const r=Ke(`Primitive.${a}`),n=g.forwardRef((s,i)=>{const{asChild:c,...l}=s,d=c?r:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),e.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${a}`,{...t,[a]:n}},{}),yC={exports:{}},zj={};/**
7809
+ `,children:[e.jsx("span",{children:m.name}),e.jsx("span",{className:"text-xs text-gray-500",children:m.courseCount})]},m.id)})})]},h.id)})})]})},EL=({filters:t,sortBy:a,onFiltersChange:r,onSortChange:n,onClearFilters:s,totalCourses:i,filteredCourses:c,showFilterName:l=!0,categories:d,selectedCategory:h,selectedSubcategory:u,onCategorySelect:p,onSubcategorySelect:m})=>{const[y,x]=M.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"}],v=["English","Spanish","French","German","Multiple"],k=["Lifetime Access","Certificate","Mobile Access","Expert Support"],w=C=>{const A=t.languages.includes(C)?t.languages.filter(L=>L!==C):[...t.languages,C];r({...t,languages:A})},j=C=>{const A=t.features.includes(C)?t.features.filter(L=>L!==C):[...t.features,C];r({...t,features:A})},S=t.levels.length>0||t.languages.length>0||t.features.length>0||t.rating>0||t.priceRange[0]>0||t.priceRange[1]<2e3;return e.jsxs("div",{className:"course-filters bg-white rounded-lg shadow-sm border border-gray-200",children:[e.jsxs("div",{className:"hidden lg:block p-4 border-b border-gray-200",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(gr,{className:"w-5 h-5 text-gray-600 mr-2"}),e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:"Filters"}),S&&e.jsx("span",{className:"ml-2 px-2 py-1 bg-yellow-100 text-indigo-800 text-xs rounded-full",children:"Active"})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[S&&e.jsx("button",{onClick:s,className:"text-sm text-indigo-600 hover:text-indigo-800",children:"Clear All"}),e.jsx("button",{onClick:()=>x(!y),className:"lg:hidden p-1 rounded-md hover:bg-gray-100",children:e.jsx(mr,{className:`w-4 h-4 transition-transform ${y?"rotate-180":""}`})})]})]}),e.jsxs("p",{className:"text-sm text-gray-600 mt-2",children:["Showing ",c," of ",i," courses"]})]}),e.jsxs("div",{className:"p-4 border-b border-gray-200",children:[e.jsx("label",{htmlFor:"sort-select",className:"block text-sm font-medium text-gray-700 mb-2",children:"Sort by"}),e.jsx("select",{id:"sort-select",value:a,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=>e.jsx("option",{value:C.value,children:C.label},C.value))})]}),e.jsxs("div",{className:"block",children:[e.jsx(PO,{categories:d,selectedCategory:h,selectedSubcategory:u,onCategorySelect:p,onSubcategorySelect:m}),e.jsxs("div",{className:"p-4 border-b border-gray-200",children:[e.jsx("h4",{className:"text-sm font-medium text-gray-900 mb-3",children:"Language"}),e.jsx("div",{className:"space-y-2",children:v.map(C=>e.jsxs("label",{className:"flex items-center",children:[e.jsx("input",{type:"checkbox",checked:t.languages.includes(C),onChange:()=>w(C),className:"mr-2 text-indigo-600 focus:ring-yellow--500 rounded"}),e.jsx("span",{className:"text-sm text-gray-700",children:C})]},C))})]}),e.jsxs("div",{className:"p-4",children:[e.jsx("h4",{className:"text-sm font-medium text-gray-900 mb-3",children:"Features"}),e.jsx("div",{className:"space-y-2",children:k.map(C=>e.jsxs("label",{className:"flex items-center",children:[e.jsx("input",{type:"checkbox",checked:t.features.includes(C),onChange:()=>j(C),className:"mr-2 text-indigo-600 focus:ring-yellow--500 rounded"}),e.jsx("span",{className:"text-sm text-gray-700",children:C})]},C))})]})]})]})},_O=({isOpen:t,onClose:a,title:r="Filters",children:n})=>t?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"fixed inset-0 bg-gray-600 bg-opacity-75 z-40",onClick:a}),e.jsxs("div",{className:"fixed inset-y-0 right-0 max-w-xs w-full bg-white shadow-xl z-50 overflow-y-auto",children:[e.jsxs("div",{className:"px-4 py-2 border-b border-gray-200 flex items-center justify-between",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900",children:r}),e.jsx("button",{onClick:a,className:"p-2 rounded-full hover:bg-gray-100","aria-label":"Close filters",children:e.jsx("svg",{className:"h-6 w-6 text-gray-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),e.jsx("div",{className:"p-4",children:n})]})]}):null,FL=({filters:t,sortBy:a,onFiltersChange:r,onSortChange:n,onClearFilters:s,totalCourses:i,filteredCourses:c,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p,isMobileFilterOpen:m,toggleMobileFilter:y,enableMobileFilter:x,showFilterName:f=!0,isMobile:v=!1})=>e.jsxs("aside",{className:v?"lg:w-1/4 space-y-6":"w-full space-y-6",children:[x&&e.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:y,"aria-expanded":m,children:e.jsx(jr,{className:"w-4 h-4 flex justify-center items-center"})}),e.jsx("div",{className:"hidden md:block",children:e.jsx(EL,{filters:t,sortBy:a,onFiltersChange:r,onSortChange:n,onClearFilters:s,totalCourses:i,filteredCourses:c,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p})}),e.jsx(_O,{isOpen:m,onClose:y,title:"Filters",children:e.jsx(EL,{filters:t,sortBy:a,onFiltersChange:r,onSortChange:n,onClearFilters:s,totalCourses:i,filteredCourses:c,showFilterName:f,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p})})]}),RO=({course:t,isFavorite:a,onToggleFavorite:r,onEnroll:n,userAccess:s})=>{const[i,c]=M.useState(!1),l=(p,m)=>new Intl.NumberFormat("en-EU",{style:"currency",currency:m}).format(p),d=p=>p>=1e3?`${(p/1e3).toFixed(1)}k`:p.toString(),h=s.allowSaving,u=s.maskExternalLinks;return e.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:[e.jsxs("div",{className:"relative",children:[e.jsx("img",{src:t.thumbnail||"/placeholder.svg",alt:t.title,className:`w-full h-48 object-cover transition-opacity duration-300 ${i?"opacity-100":"opacity-0"}`,onLoad:()=>c(!0)}),!i&&e.jsx("div",{className:"absolute inset-0 bg-gray-200 animate-pulse flex items-center justify-center",children:e.jsx(ra,{className:"w-12 h-12 text-gray-400"})}),e.jsxs("div",{className:"absolute top-3 left-3 flex flex-wrap gap-1",children:[t.isBestseller&&e.jsx("span",{className:"px-2 py-1 bg-orange-500 text-white text-xs font-semibold rounded",children:"Bestseller"}),t.isNew&&e.jsx("span",{className:"px-2 py-1 bg-green-500 text-white text-xs font-semibold rounded",children:"New"}),t.isFeatured&&e.jsx("span",{className:"px-2 py-1 bg-yellow-500 text-white text-xs font-semibold rounded",children:"Featured"})]}),e.jsx("button",{onClick:()=>r(t.id),className:`absolute top-3 right-3 p-2 rounded-full transition-colors ${a?"bg-red-500 text-white":"bg-white text-gray-600 hover:bg-gray-100"} ${h?"":"opacity-60 cursor-not-allowed"}`,"aria-label":a?"Remove from favorites":"Add to favorites",disabled:!h,title:h?void 0:"Sign in to save courses",children:e.jsx(vr,{className:`w-4 h-4 ${a?"fill-current":""}`})})]}),e.jsxs("div",{className:"p-4",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2 line-clamp-2",children:t.title}),e.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[e.jsx("span",{className:"inline-flex items-center rounded-full bg-gray-100 px-2.5 py-0.5 text-xs font-medium text-gray-700",children:tS[s.status]}),s.note&&e.jsx("span",{className:"text-xs text-gray-500",children:s.note})]}),e.jsxs("p",{className:"text-sm text-gray-600 mb-2",children:["By ",t.instructor]}),e.jsx("p",{className:"text-sm text-gray-700 mb-3 line-clamp-2",children:t.description}),e.jsxs("div",{className:"flex items-center mb-3",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(Lt,{className:"w-4 h-4 text-yellow-400 fill-current"}),e.jsx("span",{className:"ml-1 text-sm font-medium text-gray-900",children:t.rating})]}),typeof t.reviewCount=="number"&&e.jsxs("span",{className:"ml-2 text-sm text-gray-500",children:["(",t.reviewCount.toLocaleString()," reviews)"]})]}),e.jsxs("div",{className:"flex items-center justify-between text-sm text-gray-600 mb-3",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(ka,{className:"w-4 h-4 mr-1"}),e.jsx("span",{children:t.duration})]}),e.jsxs("div",{className:"flex items-center",children:[e.jsx(Nt,{className:"w-4 h-4 mr-1"}),typeof t.enrollmentCount=="number"&&e.jsxs("span",{children:[d(t.enrollmentCount)," students"]})]})]}),e.jsxs("div",{className:"flex items-center justify-between text-sm mb-4",children:[e.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&&e.jsxs("div",{className:"flex items-center text-indigo-600",children:[e.jsx(ea,{className:"w-4 h-4 mr-1"}),e.jsx("span",{className:"text-xs",children:"Certificate"})]})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center",children:[typeof t.price=="number"&&t.currency&&e.jsx("span",{className:"text-xl font-bold text-gray-900",children:l(t.price,t.currency)}),typeof t.originalPrice=="number"&&!isNaN(t.originalPrice)&&e.jsx("span",{className:"ml-2 text-sm text-gray-500 line-through",children:l(t.originalPrice,t.currency)})]}),u?e.jsx("button",{className:"px-4 py-2 bg-gray-200 text-gray-600 text-sm font-medium rounded-lg cursor-not-allowed","aria-label":"Sign in to enroll",children:"Sign in to enroll"}):e.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"})]})]})]})},TO=({processedCourses:t,favorites:a,handleToggleFavorite:r,handleEnroll:n,itemsPerPage:s=9,handleClearFilters:i,currentPage:c=1,setCurrentPage:l=()=>{},viewMode:d="grid",userAccess:h})=>{const u=Math.ceil(t.length/s),p=t.slice((c-1)*s,c*s),m=M.useRef(null),y=x=>{l(x),setTimeout(()=>{var f;(f=m.current)==null||f.scrollIntoView({behavior:"smooth",block:"start"})},100)};return t.length>0?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:d==="grid"?"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-6":"space-y-6",children:p.map((x,f)=>e.jsx("div",{ref:f===0?m:null,children:e.jsx(RO,{course:x,isFavorite:a.has(x.id),onToggleFavorite:r,onEnroll:n,userAccess:h},`${x.id}-${x.title}`)},x.id))}),u>1&&e.jsx("div",{className:"mt-8 flex justify-center",children:e.jsx(B9,{currentPage:c,totalPages:u,onPageChange:y})})]}):e.jsxs("div",{className:"text-center py-12",children:[e.jsx(ra,{className:"w-16 h-16 text-gray-400 mx-auto mb-4"}),e.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2",children:"No courses found"}),e.jsx("p",{className:"text-gray-600 mb-4",children:"Try adjusting your search criteria or filters to find more courses."}),e.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"})]})},qO=({apiUrl:t,enableMobileFilter:a=!0,itemsPerPage:r=9,userAccess:n,onEmitEvent:s,eventContext:i})=>{const[c,l]=M.useState([]),[d,h]=M.useState([]),[u,p]=M.useState(new Set),[m,y]=M.useState(""),[x,f]=M.useState(""),[v,k]=M.useState("relevance"),[w,j]=M.useState(!1),[S,C]=M.useState(1),[A,L]=M.useState(!1),[b,N]=M.useState(!1),[q,P]=M.useState(!0),[R,T]=M.useState(""),[$,W]=M.useState([]),[B,U]=M.useState([]),[O,oe]=M.useState("grid"),[ae,Y]=M.useState(r),[J,Q]=M.useState({categories:[],subcategories:[],priceRange:[0,2e3],levels:[],languages:[],features:[],rating:0}),ee=V9(n),ue=M.useMemo(()=>({component:"IGamingCoursePage",...i??{}}),[i]),we=M.useRef(!1),Z=M.useMemo(()=>{let F=[...d];switch(m&&(F=F.filter(V=>he(V.category)===m)),x&&(F=F.filter(V=>he(V.subcategory)===x)),J.levels.length>0&&(F=F.filter(V=>J.levels.includes(V.level))),J.languages.length>0&&(F=F.filter(V=>J.languages.includes(V.language))),J.features.length>0&&(F=F.filter(V=>J.features.some(K=>V.features.includes(K)))),J.rating>0&&(F=F.filter(V=>V.rating>=J.rating)),w&&(F=F.filter(V=>u.has(V.id))),v){case"price-low-high":F.sort((V,K)=>V.price-K.price);break;case"price-high-low":F.sort((V,K)=>K.price-V.price);break;case"rating":F.sort((V,K)=>K.rating-V.rating);break;case"newest":F.sort((V,K)=>new Date(K.lastUpdated).getTime()-new Date(V.lastUpdated).getTime());break;case"most-enrolled":F.sort((V,K)=>K.enrollmentCount-V.enrollmentCount);break;default:F.sort((V,K)=>V.isFeatured&&!K.isFeatured?-1:!V.isFeatured&&K.isFeatured?1:V.isBestseller&&!K.isBestseller?-1:!V.isBestseller&&K.isBestseller?1:K.rating-V.rating)}return F},[d,m,x,J,u,w,v]),te=M.useCallback((F,V)=>{s&&s({domain:"courses",name:F,payload:V,timestamp:new Date().toISOString(),context:ue})},[ue,s]),ve=M.useCallback(()=>({category:m||void 0,subcategory:x||void 0,levels:J.levels,languages:J.languages,features:J.features,rating:J.rating,priceRange:J.priceRange,favoritesOnly:w}),[J.features,J.languages,J.levels,J.priceRange,J.rating,m,x,w]),fe=M.useCallback(()=>({page:S,pageSize:ae,totalResults:Z.length,sortBy:v,viewMode:O}),[S,Z.length,ae,v,O]),re=()=>{oe(F=>{const V=F==="grid"?"list":"grid";return te("courses_listing_viewmode_changed",{viewMode:V}),V})},he=F=>(F??"").trim().toLowerCase().replace(/\s+/g,"-"),Ae=M.useMemo(()=>{const F=new Map;return c.forEach(V=>{const K=V.category,Le=V.subcategory,Te=he(K),Ze=he(Le);if(!Te)return;F.has(Te)||F.set(Te,new Map);const ze=F.get(Te);Ze&&ze.set(Ze,(ze.get(Ze)??0)+1)}),Array.from(F.entries()).map(([V,K])=>({id:V,name:V.replace(/-/g," ").replace(/\b\w/g,Le=>Le.toUpperCase()),icon:"🎯",subcategories:Array.from(K.entries()).map(([Le,Te])=>({id:Le,name:Le.replace(/-/g," ").replace(/\b\w/g,Ze=>Ze.toUpperCase()),courseCount:Te}))}))},[c]),Pe=F=>{Y(F),C(1),te("courses_listing_items_per_page_changed",{pageSize:F})},_e=F=>{const V=K=>K.slice().sort().join("|");return V(F.categories)!==V(J.categories)?"category":V(F.subcategories)!==V(J.subcategories)?"subcategory":V(F.levels)!==V(J.levels)?"levels":V(F.languages)!==V(J.languages)?"languages":V(F.features)!==V(J.features)?"features":F.rating!==J.rating?"rating":F.priceRange[0]!==J.priceRange[0]||F.priceRange[1]!==J.priceRange[1]?"priceRange":"features"},Qe=F=>{Q(F);const V={category:m||void 0,subcategory:x||void 0,levels:F.levels,languages:F.languages,features:F.features,rating:F.rating,priceRange:F.priceRange,favoritesOnly:w};te("courses_filter_changed",{changedKey:_e(F),...V})};M.useEffect(()=>{(async()=>{try{if(!t){l(Sl),h(Sl),P(!1);return}P(!0);const V=await fetch(t);if(!V.ok)throw new Error(`Failed to fetch courses from ${t}`);const K=await V.json();l(K),h(K);const Te=K.map(ze=>sS(ze.title||"")).filter(ze=>!!ze).reduce((ze,z)=>(ze[z]=(ze[z]||0)+1,ze),{}),Ze=Object.entries(Te).sort((ze,z)=>z[1]-ze[1]).slice(0,10).map(([ze])=>ze);W(Ze)}catch(V){console.error("[Courses] Error loading data:",V),l(Sl),h(Sl)}finally{P(!1)}})()},[t]),M.useEffect(()=>{var K;const V=(K=new URLSearchParams(window.location.search).get("q"))==null?void 0:K.trim();if(V){T(V);const Le=c.filter(Te=>{var Ze;return Te.title.toLowerCase().includes(V.toLowerCase())||((Ze=Te.description)==null?void 0:Ze.toLowerCase().includes(V.toLowerCase()))});h(Le)}},[c]),M.useEffect(()=>{const F=localStorage.getItem("course-favorites");F&&p(new Set(JSON.parse(F)))},[]),M.useEffect(()=>{localStorage.setItem("course-favorites",JSON.stringify(Array.from(u)))},[u]);const st=F=>{ee.allowSaving&&p(V=>{const K=new Set(V),Le=K.has(F);return Le?K.delete(F):K.add(F),te(Le?"course_unfavorited":"course_favorited",{courseId:F}),K})},yt=F=>{if(ee.maskExternalLinks)return;const V=c.find(K=>K.id===F);V!=null&&V.link&&(te("course_enroll_clicked",{courseId:F}),te("course_opened",{courseId:F,openedFrom:"listing",openedIn:"new_tab"}),window.open(V.link,"_blank","noopener,noreferrer"))};M.useEffect(()=>{we.current||q||!Z.length&&!c.length||(te("courses_listing_viewed",{...ve(),...fe()}),we.current=!0)},[c.length,te,Z.length,ve,fe,q]);const rt=F=>{const V=he(F);y(V===m?"":V),f(""),te("courses_category_selected",{category:V===m?null:V}),te("courses_filter_changed",{changedKey:"category",...ve()})},Be=F=>{const V=he(F);f(V===x?"":V),te("courses_subcategory_selected",{subcategory:V===x?null:V}),te("courses_filter_changed",{changedKey:"subcategory",...ve()})},mt=()=>{Q({categories:[],subcategories:[],priceRange:[0,2e3],levels:[],languages:[],features:[],rating:0}),y(""),f(""),j(!1),T(""),h(c),te("courses_filters_cleared_all",{})},et=()=>{L(!A)},da=F=>{C(F),te("courses_listing_page_changed",{page:F,pageSize:ae,totalResults:Z.length})},ft=Z.length===0?0:(S-1)*ae+1,dt=Math.min(S*ae,Z.length),Jt=F=>{if(T(F),!F){h(c),U([]);return}const V=c.filter(Le=>{var Te;return Le.title.toLowerCase().includes(F.toLowerCase())||((Te=Le.description)==null?void 0:Te.toLowerCase().includes(F.toLowerCase()))});h(V);const K=V.map(Le=>Le.title).filter((Le,Te,Ze)=>Le&&Le.toLowerCase().includes(F.toLowerCase())&&Ze.indexOf(Le)===Te).slice(0,5);U(K),F.trim()&&te("courses_search_submitted",{query:F,...ve()})};return e.jsxs("div",{className:"min-h-screen bg-gray-50",children:[e.jsx(nS,{onSearchChange:Jt,title:"Courses",description:"Browse and enroll in industry-relevant gaming courses",searchPlaceholder:"Search courses",popularTags:$,generateHref:F=>`/courses?q=${F.toLowerCase().replace(/\s+/g,"+")}`}),e.jsx(AO,{courses:c,onSearchResults:h}),e.jsxs("main",{className:"max-w-7xl mx-auto sm:px-6 lg:px-8 py-8",children:[e.jsx(iS,{filters:[...m?[{key:"category",label:"Category",value:m.replace(/-/g," "),onRemove:()=>y("")}]:[],...x?[{key:"subcategory",label:"Subcategory",value:x.replace(/-/g," "),onRemove:()=>f("")}]:[],...J.levels.map(F=>({key:"level",label:"",value:F,onRemove:()=>Q(V=>({...V,levels:V.levels.filter(K=>K!==F)}))})),...R?[{key:"search",label:"Search",value:R,onRemove:()=>{T(""),h(c)}}]:[]],onClearAll:mt}),e.jsxs("div",{className:"flex flex-col lg:flex-row gap-8",children:[e.jsx("div",{className:"block lg:hidden w-full",children:e.jsxs("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:[e.jsx(rS,{data:c.map(F=>F.title),onSelect:F=>{const V=c.filter(K=>K.title.toLowerCase().includes(F.toLowerCase()));h(V),T(F)},onTyping:F=>{N(!!F),F||(h(c),T(""))}}),e.jsx(FL,{sortBy:v,onFiltersChange:Qe,onSortChange:k,onClearFilters:mt,totalCourses:c.length,filteredCourses:Z.length,categories:Ae,selectedCategory:m,selectedSubcategory:x,filters:J,onCategorySelect:rt,onSubcategorySelect:Be,isMobileFilterOpen:A,toggleMobileFilter:et,enableMobileFilter:a,showFilterName:!b,isMobile:!0})]})}),e.jsx("div",{className:"hidden lg:block lg:w-1/4",children:e.jsx(FL,{filters:J,sortBy:v,onFiltersChange:Qe,onSortChange:k,onClearFilters:mt,totalCourses:c.length,filteredCourses:Z.length,categories:Ae,selectedCategory:m,selectedSubcategory:x,onCategorySelect:rt,onSubcategorySelect:Be,isMobileFilterOpen:A,toggleMobileFilter:et,enableMobileFilter:a,showFilterName:!0})}),e.jsxs("div",{className:"lg:w-3/4",children:[e.jsx(oS,{viewMode:O,onToggleViewMode:re,selectedItemsPerPage:ae,onItemsPerPageChange:Pe,totalCount:Z.length,startIndex:ft,endIndex:dt,title:"All Courses"}),q?e.jsx(aS,{totalColumns:3}):e.jsx(TO,{processedCourses:Z,favorites:u,handleToggleFavorite:st,handleClearFilters:mt,itemsPerPage:ae,handleEnroll:yt,currentPage:S,setCurrentPage:da,viewMode:O,userAccess:ee})]})]})]})]})};function DO(t,a=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var k;const{scope:m,children:y,...x}=p,f=((k=m==null?void 0:m[t])==null?void 0:k[d])||l,v=g.useMemo(()=>x,Object.values(x));return e.jsx(f.Provider,{value:v,children:y})};h.displayName=i+"Provider";function u(p,m){var f;const y=((f=m==null?void 0:m[t])==null?void 0:f[d])||l,x=g.useContext(y);if(x)return x;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const s=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return s.scopeName=t,[n,zO(s,...a)]}function zO(...t){const a=t[0];if(t.length===1)return a;const r=()=>{const n=t.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${a.scopeName}`]:c}),[c])}};return r.scopeName=a.scopeName,r}function EO(t){const a=g.useRef(t);return g.useEffect(()=>{a.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=a.current)==null?void 0:n.call(a,...r)},[])}var pC=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},FO=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],gS=FO.reduce((t,a)=>{const r=at(`Primitive.${a}`),n=g.forwardRef((s,i)=>{const{asChild:c,...l}=s,d=c?r:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),e.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${a}`,{...t,[a]:n}},{}),yC={exports:{}},zj={};/**
7810
7810
  * @license React
7811
7811
  * use-sync-external-store-shim.production.js
7812
7812
  *
@@ -7814,7 +7814,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${a.do
7814
7814
  *
7815
7815
  * This source code is licensed under the MIT license found in the
7816
7816
  * LICENSE file in the root directory of this source tree.
7817
- */var OL;function FO(){if(OL)return zj;OL=1;var t=M;function a(p,m){return p===m&&(p!==0||1/p===1/m)||p!==p&&m!==m}var r=typeof Object.is=="function"?Object.is:a,n=t.useState,s=t.useEffect,i=t.useLayoutEffect,c=t.useDebugValue;function l(p,m){var y=m(),x=n({inst:{value:y,getSnapshot:m}}),f=x[0].inst,v=x[1];return i(function(){f.value=y,f.getSnapshot=m,d(f)&&v({inst:f})},[p,y,m]),s(function(){return d(f)&&v({inst:f}),p(function(){d(f)&&v({inst:f})})},[p]),c(y),y}function d(p){var m=p.getSnapshot;p=p.value;try{var y=m();return!r(p,y)}catch{return!0}}function h(p,m){return m()}var u=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?h:l;return zj.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:u,zj}var Ej={};/**
7817
+ */var OL;function OO(){if(OL)return zj;OL=1;var t=M;function a(p,m){return p===m&&(p!==0||1/p===1/m)||p!==p&&m!==m}var r=typeof Object.is=="function"?Object.is:a,n=t.useState,s=t.useEffect,i=t.useLayoutEffect,c=t.useDebugValue;function l(p,m){var y=m(),x=n({inst:{value:y,getSnapshot:m}}),f=x[0].inst,v=x[1];return i(function(){f.value=y,f.getSnapshot=m,d(f)&&v({inst:f})},[p,y,m]),s(function(){return d(f)&&v({inst:f}),p(function(){d(f)&&v({inst:f})})},[p]),c(y),y}function d(p){var m=p.getSnapshot;p=p.value;try{var y=m();return!r(p,y)}catch{return!0}}function h(p,m){return m()}var u=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?h:l;return zj.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:u,zj}var Ej={};/**
7818
7818
  * @license React
7819
7819
  * use-sync-external-store-shim.development.js
7820
7820
  *
@@ -7822,21 +7822,21 @@ For more information, see https://radix-ui.com/primitives/docs/components/${a.do
7822
7822
  *
7823
7823
  * This source code is licensed under the MIT license found in the
7824
7824
  * LICENSE file in the root directory of this source tree.
7825
- */var HL;function OO(){return HL||(HL=1,process.env.NODE_ENV!=="production"&&function(){function t(y,x){return y===x&&(y!==0||1/y===1/x)||y!==y&&x!==x}function a(y,x){u||s.startTransition===void 0||(u=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var f=x();if(!p){var v=x();i(f,v)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),p=!0)}v=c({inst:{value:f,getSnapshot:x}});var k=v[0].inst,w=v[1];return d(function(){k.value=f,k.getSnapshot=x,r(k)&&w({inst:k})},[y,f,x]),l(function(){return r(k)&&w({inst:k}),y(function(){r(k)&&w({inst:k})})},[y]),h(f),f}function r(y){var x=y.getSnapshot;y=y.value;try{var f=x();return!i(y,f)}catch{return!0}}function n(y,x){return x()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var s=M,i=typeof Object.is=="function"?Object.is:t,c=s.useState,l=s.useEffect,d=s.useLayoutEffect,h=s.useDebugValue,u=!1,p=!1,m=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?n:a;Ej.useSyncExternalStore=s.useSyncExternalStore!==void 0?s.useSyncExternalStore:m,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),Ej}process.env.NODE_ENV==="production"?yC.exports=FO():yC.exports=OO();var HO=yC.exports;function VO(){return HO.useSyncExternalStore(BO,()=>!0,()=>!1)}function BO(){return()=>{}}var kS="Avatar",[$O,KG]=qO(kS),[UO,IP]=$O(kS),AP=g.forwardRef((t,a)=>{const{__scopeAvatar:r,...n}=t,[s,i]=g.useState("idle");return e.jsx(UO,{scope:r,imageLoadingStatus:s,onImageLoadingStatusChange:i,children:e.jsx(gS.span,{...n,ref:a})})});AP.displayName=kS;var PP="AvatarImage",_P=g.forwardRef((t,a)=>{const{__scopeAvatar:r,src:n,onLoadingStatusChange:s=()=>{},...i}=t,c=IP(PP,r),l=GO(n,i),d=zO(h=>{s(h),c.onImageLoadingStatusChange(h)});return pC(()=>{l!=="idle"&&d(l)},[l,d]),l==="loaded"?e.jsx(gS.img,{...i,ref:a,src:n}):null});_P.displayName=PP;var RP="AvatarFallback",TP=g.forwardRef((t,a)=>{const{__scopeAvatar:r,delayMs:n,...s}=t,i=IP(RP,r),[c,l]=g.useState(n===void 0);return g.useEffect(()=>{if(n!==void 0){const d=window.setTimeout(()=>l(!0),n);return()=>window.clearTimeout(d)}},[n]),c&&i.imageLoadingStatus!=="loaded"?e.jsx(gS.span,{...s,ref:a}):null});TP.displayName=RP;function VL(t,a){return t?a?(t.src!==a&&(t.src=a),t.complete&&t.naturalWidth>0?"loaded":"loading"):"error":"idle"}function GO(t,{referrerPolicy:a,crossOrigin:r}){const n=VO(),s=g.useRef(null),i=n?(s.current||(s.current=new window.Image),s.current):null,[c,l]=g.useState(()=>VL(i,t));return pC(()=>{l(VL(i,t))},[i,t]),pC(()=>{const d=p=>()=>{l(p)};if(!i)return;const h=d("loaded"),u=d("error");return i.addEventListener("load",h),i.addEventListener("error",u),a&&(i.referrerPolicy=a),typeof r=="string"&&(i.crossOrigin=r),()=>{i.removeEventListener("load",h),i.removeEventListener("error",u)}},[i,r,a]),c}var qP=AP,DP=_P,zP=TP;const EP=g.forwardRef(({className:t,...a},r)=>e.jsx(qP,{ref:r,className:me("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",t),...a}));EP.displayName=qP.displayName;const FP=g.forwardRef(({className:t,...a},r)=>e.jsx(DP,{ref:r,className:me("aspect-square h-full w-full",t),...a}));FP.displayName=DP.displayName;const OP=g.forwardRef(({className:t,...a},r)=>e.jsx(zP,{ref:r,className:me("flex h-full w-full items-center justify-center rounded-full bg-muted",t),...a}));OP.displayName=zP.displayName;const WO=D9("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 ge({className:t,variant:a,...r}){return e.jsx("div",{className:me(WO({variant:a}),t),...r})}function BL(t,a){if(typeof t=="function")return t(a);t!=null&&(t.current=a)}function ZO(...t){return a=>{let r=!1;const n=t.map(s=>{const i=BL(s,a);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let s=0;s<n.length;s++){const i=n[s];typeof i=="function"?i():BL(t[s],null)}}}}var JO=Symbol.for("react.lazy"),S9=g[" use ".trim().toString()];function XO(t){return typeof t=="object"&&t!==null&&"then"in t}function HP(t){return t!=null&&typeof t=="object"&&"$$typeof"in t&&t.$$typeof===JO&&"_payload"in t&&XO(t._payload)}function YO(t){const a=KO(t),r=g.forwardRef((n,s)=>{let{children:i,...c}=n;HP(i)&&typeof S9=="function"&&(i=S9(i._payload));const l=g.Children.toArray(i),d=l.find(eH);if(d){const h=d.props.children,u=l.map(p=>p===d?g.Children.count(h)>1?g.Children.only(null):g.isValidElement(h)?h.props.children:null:p);return e.jsx(a,{...c,ref:s,children:g.isValidElement(h)?g.cloneElement(h,void 0,u):null})}return e.jsx(a,{...c,ref:s,children:i})});return r.displayName=`${t}.Slot`,r}function KO(t){const a=g.forwardRef((r,n)=>{let{children:s,...i}=r;if(HP(s)&&typeof S9=="function"&&(s=S9(s._payload)),g.isValidElement(s)){const c=aH(s),l=tH(i,s.props);return s.type!==g.Fragment&&(l.ref=n?ZO(n,c):c),g.cloneElement(s,l)}return g.Children.count(s)>1?g.Children.only(null):null});return a.displayName=`${t}.SlotClone`,a}var QO=Symbol("radix.slottable");function eH(t){return g.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===QO}function tH(t,a){const r={...a};for(const n in a){const s=t[n],i=a[n];/^on[A-Z]/.test(n)?s&&i?r[n]=(...l)=>{const d=i(...l);return s(...l),d}:s&&(r[n]=s):n==="style"?r[n]={...s,...i}:n==="className"&&(r[n]=[s,i].filter(Boolean).join(" "))}return{...t,...r}}function aH(t){var n,s;let a=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=a&&"isReactWarning"in a&&a.isReactWarning;return r?t.ref:(a=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,r=a&&"isReactWarning"in a&&a.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var rH=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],nH=rH.reduce((t,a)=>{const r=YO(`Primitive.${a}`),n=g.forwardRef((s,i)=>{const{asChild:c,...l}=s,d=c?r:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),e.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${a}`,{...t,[a]:n}},{}),sH="Separator",$L="horizontal",iH=["horizontal","vertical"],VP=g.forwardRef((t,a)=>{const{decorative:r,orientation:n=$L,...s}=t,i=oH(n)?n:$L,l=r?{role:"none"}:{"aria-orientation":i==="vertical"?i:void 0,role:"separator"};return e.jsx(nH.div,{"data-orientation":i,...l,...s,ref:a})});VP.displayName=sH;function oH(t){return iH.includes(t)}var BP=VP;const p9=g.forwardRef(({className:t,orientation:a="horizontal",decorative:r=!0,...n},s)=>e.jsx(BP,{ref:s,decorative:r,orientation:a,className:me("shrink-0 bg-border",a==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",t),...n}));p9.displayName=BP.displayName;const cH=({candidateData:t})=>{var l;const[a,r]=M.useState(!1),{profileData:n,first_name:s,last_name:i}=t,c=`${s[0]}${i[0]}`;return e.jsxs("div",{className:"min-h-screen bg-muted/30",children:[e.jsx("header",{className:"bg-card border-b border-border sticky top-0 z-50",children:e.jsx("div",{className:"container mx-auto px-4 py-3",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("a",{href:"/jobs",className:"flex items-center gap-2 text-muted-foreground hover:text-foreground transition-colors",children:[e.jsx(mr,{className:"w-5 h-5"}),e.jsx("span",{className:"font-medium",children:"Back to Search"})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsxs(z,{variant:"outline",size:"sm",onClick:()=>r(!a),children:[e.jsx(ya,{className:`w-4 h-4 mr-2 ${a?"fill-accent text-accent":""}`}),a?"Saved":"Save"]}),e.jsxs(z,{variant:"outline",size:"sm",children:[e.jsx(po,{className:"w-4 h-4 mr-2"}),"Share"]}),e.jsxs(z,{variant:"accent",size:"sm",children:[e.jsx(vr,{className:"w-4 h-4 mr-2"}),"Contact"]})]})]})})}),e.jsx("div",{className:"bg-gradient-to-r from-primary via-primary/90 to-accent/80 h-32 md:h-48"}),e.jsx("div",{className:"container mx-auto px-4 -mt-16 md:-mt-20 pb-12",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[e.jsxs("div",{className:"lg:col-span-2 space-y-6",children:[e.jsx(de,{className:"overflow-visible",children:e.jsx(ue,{className:"pt-0",children:e.jsxs("div",{className:"flex flex-col md:flex-row gap-6",children:[e.jsx("div",{className:"-mt-12 md:-mt-16",children:e.jsxs(EP,{className:"w-28 h-28 md:w-36 md:h-36 border-4 border-card shadow-lg",children:[e.jsx(FP,{src:""}),e.jsx(OP,{className:"bg-gradient-to-br from-accent to-accent/80 text-white text-3xl md:text-4xl font-bold",children:c})]})}),e.jsx("div",{className:"flex-1 pt-2 md:pt-6",children:e.jsxs("div",{className:"flex flex-col md:flex-row md:items-start md:justify-between gap-4",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"text-2xl md:text-3xl font-bold text-foreground",children:n.personalDetails.fullName}),e.jsx("p",{className:"text-lg text-muted-foreground mt-1",children:"Business / Data Analyst"}),e.jsxs("div",{className:"flex flex-wrap items-center gap-4 mt-3 text-sm text-muted-foreground",children:[e.jsxs("span",{className:"flex items-center gap-1.5",children:[e.jsx(st,{className:"w-4 h-4 text-accent"}),n.personalDetails.location]}),e.jsxs("span",{className:"flex items-center gap-1.5",children:[e.jsx(ta,{className:"w-4 h-4 text-accent"}),n.personalDetails.nationality]})]})]}),e.jsxs("div",{className:"flex gap-6 text-center",children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-2xl font-bold text-accent",children:"15+"}),e.jsx("div",{className:"text-xs text-muted-foreground",children:"Years Exp."})]}),e.jsxs("div",{children:[e.jsx("div",{className:"text-2xl font-bold text-accent",children:"5"}),e.jsx("div",{className:"text-xs text-muted-foreground",children:"Roles"})]}),e.jsxs("div",{children:[e.jsx("div",{className:"text-2xl font-bold text-accent",children:"3"}),e.jsx("div",{className:"text-xs text-muted-foreground",children:"Languages"})]})]})]})})]})})}),e.jsxs(de,{children:[e.jsx(xe,{children:e.jsxs(ke,{className:"flex items-center gap-2",children:[e.jsx(Jo,{className:"w-5 h-5 text-accent"}),"About"]})}),e.jsx(ue,{children:e.jsx("p",{className:"text-muted-foreground leading-relaxed",children:n.personalDetails.summary})})]}),e.jsxs(de,{children:[e.jsx(xe,{children:e.jsxs(ke,{className:"flex items-center gap-2",children:[e.jsx(at,{className:"w-5 h-5 text-accent"}),"Experience"]})}),e.jsx(ue,{className:"space-y-6",children:n.workExperience.map((d,h)=>e.jsxs("div",{children:[e.jsxs("div",{className:"flex gap-4",children:[e.jsx("div",{className:"flex-shrink-0",children:e.jsx("div",{className:"w-12 h-12 rounded-lg bg-muted flex items-center justify-center",children:e.jsx(xt,{className:"w-6 h-6 text-accent"})})}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsxs("div",{className:"flex flex-col md:flex-row md:items-start md:justify-between gap-1",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-foreground",children:d.title}),e.jsx("p",{className:"text-accent font-medium",children:d.company})]}),e.jsxs("div",{className:"flex items-center gap-1.5 text-sm text-muted-foreground whitespace-nowrap",children:[e.jsx(lo,{className:"w-4 h-4"}),d.period]})]}),d.location&&e.jsxs("p",{className:"text-sm text-muted-foreground mt-1 flex items-center gap-1",children:[e.jsx(st,{className:"w-3 h-3"}),d.location]}),d.summary&&e.jsx("p",{className:"text-sm text-muted-foreground mt-3 leading-relaxed",children:d.summary}),d.tags&&d.tags.length>0&&e.jsx("div",{className:"flex flex-wrap gap-2 mt-3",children:d.tags.map(u=>e.jsx(ge,{variant:"secondary",className:"text-xs",children:u},u))})]})]}),h<n.workExperience.length-1&&e.jsx(p9,{className:"mt-6"})]},d.id))})]}),e.jsxs(de,{children:[e.jsx(xe,{children:e.jsxs(ke,{className:"flex items-center gap-2",children:[e.jsx(gr,{className:"w-5 h-5 text-accent"}),"Education"]})}),e.jsx(ue,{className:"space-y-6",children:n.education.map((d,h)=>e.jsxs("div",{children:[e.jsxs("div",{className:"flex gap-4",children:[e.jsx("div",{className:"flex-shrink-0",children:e.jsx("div",{className:"w-12 h-12 rounded-lg bg-muted flex items-center justify-center",children:e.jsx(gr,{className:"w-6 h-6 text-accent"})})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"font-semibold text-foreground",children:d.degree}),e.jsx("p",{className:"text-accent font-medium",children:d.institution}),e.jsx(ge,{variant:"outline",className:"mt-2 text-xs",children:d.level})]})]}),h<n.education.length-1&&e.jsx(p9,{className:"mt-6"})]},h))})]})]}),e.jsxs("div",{className:"space-y-6",children:[e.jsxs(de,{className:"sticky top-20",children:[e.jsx(xe,{children:e.jsx(ke,{className:"text-lg",children:"Contact Information"})}),e.jsxs(ue,{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-full bg-accent/10 flex items-center justify-center",children:e.jsx(aa,{className:"w-5 h-5 text-accent"})}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-xs text-muted-foreground",children:"Email"}),e.jsx("p",{className:"text-sm font-medium truncate",children:n.personalDetails.email})]})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-full bg-accent/10 flex items-center justify-center",children:e.jsx(wr,{className:"w-5 h-5 text-accent"})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-muted-foreground",children:"Phone"}),e.jsx("p",{className:"text-sm font-medium",children:n.personalDetails.phone})]})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-full bg-accent/10 flex items-center justify-center",children:e.jsx(st,{className:"w-5 h-5 text-accent"})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-muted-foreground",children:"Location"}),e.jsx("p",{className:"text-sm font-medium",children:n.personalDetails.location})]})]}),e.jsx(p9,{}),e.jsxs(z,{variant:"accent",className:"w-full",children:[e.jsx(vr,{className:"w-4 h-4 mr-2"}),"Send Message"]}),((l=n.resume)==null?void 0:l.url)&&e.jsxs(z,{variant:"outline",className:"w-full",children:[e.jsx(Nc,{className:"w-4 h-4 mr-2"}),"Download Resume"]})]})]}),e.jsxs(de,{children:[e.jsx(xe,{children:e.jsxs(ke,{className:"flex items-center gap-2 text-lg",children:[e.jsx(Yt,{className:"w-5 h-5 text-accent"}),"Skills"]})}),e.jsx(ue,{children:e.jsx("div",{className:"flex flex-wrap gap-2",children:n.skills.map(d=>e.jsx(ge,{variant:"secondary",className:"px-3 py-1",children:d},d))})})]}),e.jsxs(de,{children:[e.jsx(xe,{children:e.jsxs(ke,{className:"flex items-center gap-2 text-lg",children:[e.jsx(_c,{className:"w-5 h-5 text-accent"}),"Languages"]})}),e.jsx(ue,{className:"space-y-3",children:n.languages.map(d=>e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("span",{className:"font-medium text-foreground",children:d.name}),e.jsx(ge,{variant:"outline",className:"text-xs",children:d.proficiency})]},d.name))})]})]})]})})]})};function UL(t,a){if(typeof t=="function")return t(a);t!=null&&(t.current=a)}function lH(...t){return a=>{let r=!1;const n=t.map(s=>{const i=UL(s,a);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let s=0;s<n.length;s++){const i=n[s];typeof i=="function"?i():UL(t[s],null)}}}}function vS(...t){return g.useCallback(lH(...t),t)}function dH(t,a=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var k;const{scope:m,children:y,...x}=p,f=((k=m==null?void 0:m[t])==null?void 0:k[d])||l,v=g.useMemo(()=>x,Object.values(x));return e.jsx(f.Provider,{value:v,children:y})};h.displayName=i+"Provider";function u(p,m){var f;const y=((f=m==null?void 0:m[t])==null?void 0:f[d])||l,x=g.useContext(y);if(x)return x;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const s=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return s.scopeName=t,[n,hH(s,...a)]}function hH(...t){const a=t[0];if(t.length===1)return a;const r=()=>{const n=t.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${a.scopeName}`]:c}),[c])}};return r.scopeName=a.scopeName,r}function GL(t,a,{checkForDefaultPrevented:r=!0}={}){return function(s){if(t==null||t(s),r===!1||!s.defaultPrevented)return a==null?void 0:a(s)}}var mC=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},uH=g[" useInsertionEffect ".trim().toString()]||mC;function pH({prop:t,defaultProp:a,onChange:r=()=>{},caller:n}){const[s,i,c]=yH({defaultProp:a,onChange:r}),l=t!==void 0,d=l?t:s;{const u=g.useRef(t!==void 0);g.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${n} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=l},[l,n])}const h=g.useCallback(u=>{var p;if(l){const m=mH(u)?u(t):u;m!==t&&((p=c.current)==null||p.call(c,m))}else i(u)},[l,t,i,c]);return[d,h]}function yH({defaultProp:t,onChange:a}){const[r,n]=g.useState(t),s=g.useRef(r),i=g.useRef(a);return uH(()=>{i.current=a},[a]),g.useEffect(()=>{var c;s.current!==r&&((c=i.current)==null||c.call(i,r),s.current=r)},[r,s]),[r,n,i]}function mH(t){return typeof t=="function"}function wS(t){const a=g.useRef({value:t,previous:t});return g.useMemo(()=>(a.current.value!==t&&(a.current.previous=a.current.value,a.current.value=t),a.current.previous),[t])}var fH=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{};function bS(t){const[a,r]=g.useState(void 0);return fH(()=>{if(t){r({width:t.offsetWidth,height:t.offsetHeight});const n=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const i=s[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]),a}function xH(t,a){return g.useReducer((r,n)=>a[r][n]??r,t)}var $P=t=>{const{present:a,children:r}=t,n=gH(a),s=typeof r=="function"?r({present:n.isPresent}):g.Children.only(r),i=vS(n.ref,kH(s));return typeof r=="function"||n.isPresent?g.cloneElement(s,{ref:i}):null};$P.displayName="Presence";function gH(t){const[a,r]=g.useState(),n=g.useRef(null),s=g.useRef(t),i=g.useRef("none"),c=t?"mounted":"unmounted",[l,d]=xH(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const h=Ll(n.current);i.current=l==="mounted"?h:"none"},[l]),mC(()=>{const h=n.current,u=s.current;if(u!==t){const m=i.current,y=Ll(h);t?d("MOUNT"):y==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&m!==y?"ANIMATION_OUT":"UNMOUNT"),s.current=t}},[t,d]),mC(()=>{if(a){let h;const u=a.ownerDocument.defaultView??window,p=y=>{const f=Ll(n.current).includes(CSS.escape(y.animationName));if(y.target===a&&f&&(d("ANIMATION_END"),!s.current)){const v=a.style.animationFillMode;a.style.animationFillMode="forwards",h=u.setTimeout(()=>{a.style.animationFillMode==="forwards"&&(a.style.animationFillMode=v)})}},m=y=>{y.target===a&&(i.current=Ll(n.current))};return a.addEventListener("animationstart",m),a.addEventListener("animationcancel",p),a.addEventListener("animationend",p),()=>{u.clearTimeout(h),a.removeEventListener("animationstart",m),a.removeEventListener("animationcancel",p),a.removeEventListener("animationend",p)}}else d("ANIMATION_END")},[a,d]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:g.useCallback(h=>{n.current=h?getComputedStyle(h):null,r(h)},[])}}function Ll(t){return(t==null?void 0:t.animationName)||"none"}function kH(t){var n,s;let a=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=a&&"isReactWarning"in a&&a.isReactWarning;return r?t.ref:(a=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,r=a&&"isReactWarning"in a&&a.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var vH=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],MS=vH.reduce((t,a)=>{const r=Ke(`Primitive.${a}`),n=g.forwardRef((s,i)=>{const{asChild:c,...l}=s,d=c?r:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),e.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${a}`,{...t,[a]:n}},{}),Q9="Checkbox",[wH,QG]=dH(Q9),[bH,jS]=wH(Q9);function MH(t){const{__scopeCheckbox:a,checked:r,children:n,defaultChecked:s,disabled:i,form:c,name:l,onCheckedChange:d,required:h,value:u="on",internal_do_not_use_render:p}=t,[m,y]=pH({prop:r,defaultProp:s??!1,onChange:d,caller:Q9}),[x,f]=g.useState(null),[v,k]=g.useState(null),w=g.useRef(!1),j=x?!!c||!!x.closest("form"):!0,S={checked:m,disabled:i,setChecked:y,control:x,setControl:f,name:l,form:c,value:u,hasConsumerStoppedPropagationRef:w,required:h,defaultChecked:Sr(s)?!1:s,isFormControl:j,bubbleInput:v,setBubbleInput:k};return e.jsx(bH,{scope:a,...S,children:jH(p)?p(S):n})}var UP="CheckboxTrigger",GP=g.forwardRef(({__scopeCheckbox:t,onKeyDown:a,onClick:r,...n},s)=>{const{control:i,value:c,disabled:l,checked:d,required:h,setControl:u,setChecked:p,hasConsumerStoppedPropagationRef:m,isFormControl:y,bubbleInput:x}=jS(UP,t),f=vS(s,u),v=g.useRef(d);return g.useEffect(()=>{const k=i==null?void 0:i.form;if(k){const w=()=>p(v.current);return k.addEventListener("reset",w),()=>k.removeEventListener("reset",w)}},[i,p]),e.jsx(MS.button,{type:"button",role:"checkbox","aria-checked":Sr(d)?"mixed":d,"aria-required":h,"data-state":YP(d),"data-disabled":l?"":void 0,disabled:l,value:c,...n,ref:f,onKeyDown:GL(a,k=>{k.key==="Enter"&&k.preventDefault()}),onClick:GL(r,k=>{p(w=>Sr(w)?!0:!w),x&&y&&(m.current=k.isPropagationStopped(),m.current||k.stopPropagation())})})});GP.displayName=UP;var CS=g.forwardRef((t,a)=>{const{__scopeCheckbox:r,name:n,checked:s,defaultChecked:i,required:c,disabled:l,value:d,onCheckedChange:h,form:u,...p}=t;return e.jsx(MH,{__scopeCheckbox:r,checked:s,defaultChecked:i,disabled:l,required:c,onCheckedChange:h,name:n,form:u,value:d,internal_do_not_use_render:({isFormControl:m})=>e.jsxs(e.Fragment,{children:[e.jsx(GP,{...p,ref:a,__scopeCheckbox:r}),m&&e.jsx(XP,{__scopeCheckbox:r})]})})});CS.displayName=Q9;var WP="CheckboxIndicator",ZP=g.forwardRef((t,a)=>{const{__scopeCheckbox:r,forceMount:n,...s}=t,i=jS(WP,r);return e.jsx($P,{present:n||Sr(i.checked)||i.checked===!0,children:e.jsx(MS.span,{"data-state":YP(i.checked),"data-disabled":i.disabled?"":void 0,...s,ref:a,style:{pointerEvents:"none",...t.style}})})});ZP.displayName=WP;var JP="CheckboxBubbleInput",XP=g.forwardRef(({__scopeCheckbox:t,...a},r)=>{const{control:n,hasConsumerStoppedPropagationRef:s,checked:i,defaultChecked:c,required:l,disabled:d,name:h,value:u,form:p,bubbleInput:m,setBubbleInput:y}=jS(JP,t),x=vS(r,y),f=wS(i),v=bS(n);g.useEffect(()=>{const w=m;if(!w)return;const j=window.HTMLInputElement.prototype,C=Object.getOwnPropertyDescriptor(j,"checked").set,A=!s.current;if(f!==i&&C){const L=new Event("click",{bubbles:A});w.indeterminate=Sr(i),C.call(w,Sr(i)?!1:i),w.dispatchEvent(L)}},[m,f,i,s]);const k=g.useRef(Sr(i)?!1:i);return e.jsx(MS.input,{type:"checkbox","aria-hidden":!0,defaultChecked:c??k.current,required:l,disabled:d,name:h,value:u,form:p,...a,tabIndex:-1,ref:x,style:{...a.style,...v,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});XP.displayName=JP;function jH(t){return typeof t=="function"}function Sr(t){return t==="indeterminate"}function YP(t){return Sr(t)?"indeterminate":t?"checked":"unchecked"}const Tt=g.forwardRef(({className:t,...a},r)=>e.jsx(CS,{ref:r,className:me("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),...a,children:e.jsx(ZP,{className:me("flex items-center justify-center text-current"),children:e.jsx(Fo,{className:"h-4 w-4"})})}));Tt.displayName=CS.displayName;const CH=({company:t,displayName:a,openRolesCount:r,groupMembersCount:n,isGroup:s=!1,viewMode:i="list",compareId:c,compareSelected:l=!1,compareDisabled:d=!1,onToggleCompare:h,isFollowing:u,followLoading:p=!1,followDisabled:m=!1,onToggleFollow:y,onFollowAction:x,isSaved:f,saveLoading:v=!1,saveDisabled:k=!1,onToggleSave:w,onSaveAction:j})=>{var Q,pe,we,Z,ee,ve,fe;const S=i==="grid",C=u??t.isFollowing??!1,A=m||p,L=C?"Unfollow Company":"Follow Company",b=t.isSaved,N=k||v,q=b?"Remove from Saved":"Save Company",P=t.trustAndCompliance.licenses.length+t.trustAndCompliance.certifications.length+t.trustAndCompliance.awards.length,R=((Q=t.group)==null?void 0:Q.intelligenceProfile)??t.signalsAndInsights,T=Array.isArray(t.jobs.openRoles)?t.jobs.openRoles.length:t.jobs.openRoles,$=r??T,W=$>0,B=((pe=t.group)==null?void 0:pe.name)??t.groupName??t.group_name,U=((we=t.group)==null?void 0:we.slug)??t.groupSlug??t.group_slug??((Z=t.group)==null?void 0:Z.id)??t.groupId??t.group_id,O=te=>{switch(te){case"Operator":return"bg-blue-500/10 text-blue-600 border-blue-500/20";case"Game Provider":return"bg-purple-500/10 text-purple-600 border-purple-500/20";case"Platform Provider":return"bg-emerald-500/10 text-emerald-600 border-emerald-500/20";case"Affiliate":return"bg-orange-500/10 text-orange-600 border-orange-500/20";case"Payments":return"bg-cyan-500/10 text-cyan-600 border-cyan-500/20";default:return"bg-muted text-muted-foreground"}},le=te=>{var ne,Ae,Pe;if(typeof te=="string")return te;if(typeof te=="object"&&te!==null){const De=te;return De.title??((ne=De.tag)==null?void 0:ne.title)??((Ae=De.tag)==null?void 0:Ae.name)??((Pe=De.tag)==null?void 0:Pe.slug)??null}return null},re=(ee=t.overview.headquarters)==null?void 0:ee.city,X=(ve=t.overview.headquarters)==null?void 0:ve.country,J=()=>{const te=!C;y==null||y(t.id,te),x==null||x({companyId:t.id,companySlug:t.slug,action:te?"follow":"unfollow"})},ae=()=>{const te=!b;w==null||w(t.id,te),j==null||j({companyId:t.id,companySlug:t.slug,companyName:t.name,action:te?"save":"unsave"})};return e.jsx(de,{className:`group hover:shadow-lg transition-all duration-300 border-border/50 hover:border-accent/30 overflow-hidden ${S?"h-full":""}`,children:e.jsx(ue,{className:`p-5 ${S?"flex h-full flex-col":""}`,children:e.jsxs("div",{className:`flex gap-4 ${S?"flex-col":""}`,children:[e.jsx("div",{className:"w-16 h-16 rounded-xl bg-gradient-to-br from-primary/10 to-accent/10 flex items-center justify-center flex-shrink-0 border border-border/50",children:e.jsx(xt,{className:"w-8 h-8 text-primary"})}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsxs("div",{className:`mb-2 flex items-start ${S?"flex-col gap-3":"justify-between gap-2"}`,children:[e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("a",{href:`/companies/${t.slug}`,className:"font-semibold text-foreground hover:text-accent transition-colors text-lg",children:a??t.name}),t.claimedStatus==="claimed"&&e.jsx(rt,{className:"w-4 h-4 text-accent flex-shrink-0"})]}),e.jsxs("div",{className:"flex items-center gap-3 text-sm text-muted-foreground mt-0.5",children:[(re||X)&&e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(st,{className:"w-3.5 h-3.5"}),[re,X].filter(Boolean).join(", ")]}),e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(Lt,{className:"w-3.5 h-3.5"}),t.overview.employeeRange]})]})]}),e.jsxs("div",{className:`flex flex-col gap-2 ${S?"items-start":"items-end"}`,children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(Tt,{id:`compare-${c??t.id}`,checked:l,disabled:d,onCheckedChange:()=>h==null?void 0:h(c??t.id),"aria-label":`Compare ${a??t.name}`}),e.jsx("label",{htmlFor:`compare-${c??t.id}`,className:`text-xs ${d?"text-muted-foreground":"text-foreground"} cursor-pointer`,children:"Compare"})]}),e.jsxs("div",{className:`flex flex-wrap gap-2 ${S?"justify-start":"justify-end"}`,children:[e.jsxs(z,{variant:b?"secondary":"outline",size:"sm",className:"flex-shrink-0 gap-2 opacity-0 group-hover:opacity-100 focus-visible:opacity-100 transition-opacity",onClick:ae,disabled:N,"aria-label":`${q} ${a??t.name}`,"aria-pressed":b,"aria-busy":v,title:q,children:[v?e.jsx(ha,{className:"h-4 w-4 animate-spin"}):e.jsx(ya,{className:`h-4 w-4 ${b?"fill-current":"fill-transparent"}`}),v?"Loading":b?"Saved":"Save"]}),e.jsxs(z,{variant:C?"secondary":"outline",size:"sm",className:"flex-shrink-0 gap-2 opacity-0 group-hover:opacity-100 focus-visible:opacity-100 transition-opacity",onClick:J,disabled:A,"aria-label":`${L} ${a??t.name}`,"aria-pressed":C,"aria-busy":p,title:L,children:[p?e.jsx(ha,{className:"h-4 w-4 animate-spin"}):C?e.jsx(rt,{className:"h-4 w-4"}):e.jsx(kr,{className:"h-4 w-4"}),p?"Loading":C?"Following":"Follow"]})]})]})]}),e.jsxs("div",{className:"flex flex-wrap gap-1.5 mb-3",children:[e.jsx(ge,{className:`${O(t.companyType)} border text-xs`,children:t.companyType}),s&&e.jsxs(ge,{variant:"outline",className:"text-xs",children:["Group (",n??1,")"]}),B&&!s&&e.jsx("a",{href:U?`/groups/${U}`:"/groups",children:e.jsxs(ge,{variant:"outline",className:"text-xs",children:["Part of ",B]})}),t.classification.verticals.slice(0,2).map(te=>e.jsx(ge,{variant:"secondary",className:"text-xs",children:te},te)),W&&e.jsxs(ge,{className:"bg-gaming-success/10 text-gaming-success border-gaming-success/20 border text-xs",children:[e.jsx(at,{className:"w-3 h-3 mr-1"}),"Hiring (",$,")"]})]}),e.jsx("p",{className:"text-sm text-muted-foreground line-clamp-2 mb-3",children:t.overview.shortDescription}),e.jsx("div",{className:"flex flex-wrap gap-1.5 mb-3",children:(fe=t.classification.tags)==null?void 0:fe.map(le).filter(te=>!!te).slice(0,4).map(te=>e.jsxs("span",{className:"text-xs px-2 py-0.5 rounded-full bg-secondary text-secondary-foreground",children:["#",te]},te))}),e.jsxs("div",{className:"flex items-center justify-between pt-3 border-t border-border/50",children:[e.jsxs("div",{className:"flex items-center gap-4 text-xs text-muted-foreground",children:[P>0&&e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(br,{className:"w-3.5 h-3.5 text-gaming-success"}),P," trust signals"]}),R.followsCount>0&&e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(St,{className:"w-3.5 h-3.5 text-gaming-gold"}),R.followsCount.toLocaleString()," followers"]}),R.hiringIntensity==="High"&&e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(Ia,{className:"w-3.5 h-3.5 text-accent"}),"High hiring"]})]}),e.jsx("a",{href:`/companies/${t.slug}`,children:e.jsx(z,{variant:"ghost",size:"sm",className:"text-accent hover:text-accent",children:"View Profile →"})})]})]})]})})})};function WL(t,[a,r]){return Math.min(r,Math.max(a,t))}function ut(t,a,{checkForDefaultPrevented:r=!0}={}){return function(s){if(t==null||t(s),r===!1||!s.defaultPrevented)return a==null?void 0:a(s)}}function KP(t,a=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var k;const{scope:m,children:y,...x}=p,f=((k=m==null?void 0:m[t])==null?void 0:k[d])||l,v=g.useMemo(()=>x,Object.values(x));return e.jsx(f.Provider,{value:v,children:y})};h.displayName=i+"Provider";function u(p,m){var f;const y=((f=m==null?void 0:m[t])==null?void 0:f[d])||l,x=g.useContext(y);if(x)return x;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const s=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return s.scopeName=t,[n,SH(s,...a)]}function SH(...t){const a=t[0];if(t.length===1)return a;const r=()=>{const n=t.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${a.scopeName}`]:c}),[c])}};return r.scopeName=a.scopeName,r}function ZL(t,a){if(typeof t=="function")return t(a);t!=null&&(t.current=a)}function LH(...t){return a=>{let r=!1;const n=t.map(s=>{const i=ZL(s,a);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let s=0;s<n.length;s++){const i=n[s];typeof i=="function"?i():ZL(t[s],null)}}}}function ia(...t){return g.useCallback(LH(...t),t)}function NH(t){const a=t+"CollectionProvider",[r,n]=KP(a),[s,i]=r(a,{collectionRef:{current:null},itemMap:new Map}),c=f=>{const{scope:v,children:k}=f,w=M.useRef(null),j=M.useRef(new Map).current;return e.jsx(s,{scope:v,itemMap:j,collectionRef:w,children:k})};c.displayName=a;const l=t+"CollectionSlot",d=Ke(l),h=M.forwardRef((f,v)=>{const{scope:k,children:w}=f,j=i(l,k),S=ia(v,j.collectionRef);return e.jsx(d,{ref:S,children:w})});h.displayName=l;const u=t+"CollectionItemSlot",p="data-radix-collection-item",m=Ke(u),y=M.forwardRef((f,v)=>{const{scope:k,children:w,...j}=f,S=M.useRef(null),C=ia(v,S),A=i(u,k);return M.useEffect(()=>(A.itemMap.set(S,{ref:S,...j}),()=>void A.itemMap.delete(S))),e.jsx(m,{[p]:"",ref:C,children:w})});y.displayName=u;function x(f){const v=i(t+"CollectionConsumer",f);return M.useCallback(()=>{const w=v.collectionRef.current;if(!w)return[];const j=Array.from(w.querySelectorAll(`[${p}]`));return Array.from(v.itemMap.values()).sort((A,L)=>j.indexOf(A.ref.current)-j.indexOf(L.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:c,Slot:h,ItemSlot:y},x,n]}var IH=g.createContext(void 0);function AH(t){const a=g.useContext(IH);return t||a||"ltr"}var Ra=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},PH=g[" useId ".trim().toString()]||(()=>{}),_H=0;function SS(t){const[a,r]=g.useState(PH());return Ra(()=>{r(n=>n??String(_H++))},[t]),a?`radix-${a}`:""}const RH=["top","right","bottom","left"],Ir=Math.min,Et=Math.max,L9=Math.round,Nl=Math.floor,Pa=t=>({x:t,y:t}),TH={left:"right",right:"left",bottom:"top",top:"bottom"},qH={start:"end",end:"start"};function fC(t,a,r){return Et(t,Ir(a,r))}function Xa(t,a){return typeof t=="function"?t(a):t}function Ya(t){return t.split("-")[0]}function dc(t){return t.split("-")[1]}function LS(t){return t==="x"?"y":"x"}function NS(t){return t==="y"?"height":"width"}const DH=new Set(["top","bottom"]);function La(t){return DH.has(Ya(t))?"y":"x"}function IS(t){return LS(La(t))}function zH(t,a,r){r===void 0&&(r=!1);const n=dc(t),s=IS(t),i=NS(s);let c=s==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return a.reference[i]>a.floating[i]&&(c=N9(c)),[c,N9(c)]}function EH(t){const a=N9(t);return[xC(t),a,xC(a)]}function xC(t){return t.replace(/start|end/g,a=>qH[a])}const JL=["left","right"],XL=["right","left"],FH=["top","bottom"],OH=["bottom","top"];function HH(t,a,r){switch(t){case"top":case"bottom":return r?a?XL:JL:a?JL:XL;case"left":case"right":return a?FH:OH;default:return[]}}function VH(t,a,r,n){const s=dc(t);let i=HH(Ya(t),r==="start",n);return s&&(i=i.map(c=>c+"-"+s),a&&(i=i.concat(i.map(xC)))),i}function N9(t){return t.replace(/left|right|bottom|top/g,a=>TH[a])}function BH(t){return{top:0,right:0,bottom:0,left:0,...t}}function QP(t){return typeof t!="number"?BH(t):{top:t,right:t,bottom:t,left:t}}function I9(t){const{x:a,y:r,width:n,height:s}=t;return{width:n,height:s,top:r,left:a,right:a+n,bottom:r+s,x:a,y:r}}function YL(t,a,r){let{reference:n,floating:s}=t;const i=La(a),c=IS(a),l=NS(c),d=Ya(a),h=i==="y",u=n.x+n.width/2-s.width/2,p=n.y+n.height/2-s.height/2,m=n[l]/2-s[l]/2;let y;switch(d){case"top":y={x:u,y:n.y-s.height};break;case"bottom":y={x:u,y:n.y+n.height};break;case"right":y={x:n.x+n.width,y:p};break;case"left":y={x:n.x-s.width,y:p};break;default:y={x:n.x,y:n.y}}switch(dc(a)){case"start":y[c]-=m*(r&&h?-1:1);break;case"end":y[c]+=m*(r&&h?-1:1);break}return y}const $H=async(t,a,r)=>{const{placement:n="bottom",strategy:s="absolute",middleware:i=[],platform:c}=r,l=i.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(a));let h=await c.getElementRects({reference:t,floating:a,strategy:s}),{x:u,y:p}=YL(h,n,d),m=n,y={},x=0;for(let f=0;f<l.length;f++){const{name:v,fn:k}=l[f],{x:w,y:j,data:S,reset:C}=await k({x:u,y:p,initialPlacement:n,placement:m,strategy:s,middlewareData:y,rects:h,platform:c,elements:{reference:t,floating:a}});u=w??u,p=j??p,y={...y,[v]:{...y[v],...S}},C&&x<=50&&(x++,typeof C=="object"&&(C.placement&&(m=C.placement),C.rects&&(h=C.rects===!0?await c.getElementRects({reference:t,floating:a,strategy:s}):C.rects),{x:u,y:p}=YL(h,m,d)),f=-1)}return{x:u,y:p,placement:m,strategy:s,middlewareData:y}};async function cl(t,a){var r;a===void 0&&(a={});const{x:n,y:s,platform:i,rects:c,elements:l,strategy:d}=t,{boundary:h="clippingAncestors",rootBoundary:u="viewport",elementContext:p="floating",altBoundary:m=!1,padding:y=0}=Xa(a,t),x=QP(y),v=l[m?p==="floating"?"reference":"floating":p],k=I9(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(v)))==null||r?v:v.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:h,rootBoundary:u,strategy:d})),w=p==="floating"?{x:n,y:s,width:c.floating.width,height:c.floating.height}:c.reference,j=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),S=await(i.isElement==null?void 0:i.isElement(j))?await(i.getScale==null?void 0:i.getScale(j))||{x:1,y:1}:{x:1,y:1},C=I9(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:w,offsetParent:j,strategy:d}):w);return{top:(k.top-C.top+x.top)/S.y,bottom:(C.bottom-k.bottom+x.bottom)/S.y,left:(k.left-C.left+x.left)/S.x,right:(C.right-k.right+x.right)/S.x}}const UH=t=>({name:"arrow",options:t,async fn(a){const{x:r,y:n,placement:s,rects:i,platform:c,elements:l,middlewareData:d}=a,{element:h,padding:u=0}=Xa(t,a)||{};if(h==null)return{};const p=QP(u),m={x:r,y:n},y=IS(s),x=NS(y),f=await c.getDimensions(h),v=y==="y",k=v?"top":"left",w=v?"bottom":"right",j=v?"clientHeight":"clientWidth",S=i.reference[x]+i.reference[y]-m[y]-i.floating[x],C=m[y]-i.reference[y],A=await(c.getOffsetParent==null?void 0:c.getOffsetParent(h));let L=A?A[j]:0;(!L||!await(c.isElement==null?void 0:c.isElement(A)))&&(L=l.floating[j]||i.floating[x]);const b=S/2-C/2,N=L/2-f[x]/2-1,q=Ir(p[k],N),P=Ir(p[w],N),R=q,T=L-f[x]-P,$=L/2-f[x]/2+b,W=fC(R,$,T),B=!d.arrow&&dc(s)!=null&&$!==W&&i.reference[x]/2-($<R?q:P)-f[x]/2<0,U=B?$<R?$-R:$-T:0;return{[y]:m[y]+U,data:{[y]:W,centerOffset:$-W-U,...B&&{alignmentOffset:U}},reset:B}}}),GH=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(a){var r,n;const{placement:s,middlewareData:i,rects:c,initialPlacement:l,platform:d,elements:h}=a,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:m,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:f=!0,...v}=Xa(t,a);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const k=Ya(s),w=La(l),j=Ya(l)===l,S=await(d.isRTL==null?void 0:d.isRTL(h.floating)),C=m||(j||!f?[N9(l)]:EH(l)),A=x!=="none";!m&&A&&C.push(...VH(l,f,x,S));const L=[l,...C],b=await cl(a,v),N=[];let q=((n=i.flip)==null?void 0:n.overflows)||[];if(u&&N.push(b[k]),p){const $=zH(s,c,S);N.push(b[$[0]],b[$[1]])}if(q=[...q,{placement:s,overflows:N}],!N.every($=>$<=0)){var P,R;const $=(((P=i.flip)==null?void 0:P.index)||0)+1,W=L[$];if(W&&(!(p==="alignment"?w!==La(W):!1)||q.every(O=>La(O.placement)===w?O.overflows[0]>0:!0)))return{data:{index:$,overflows:q},reset:{placement:W}};let B=(R=q.filter(U=>U.overflows[0]<=0).sort((U,O)=>U.overflows[1]-O.overflows[1])[0])==null?void 0:R.placement;if(!B)switch(y){case"bestFit":{var T;const U=(T=q.filter(O=>{if(A){const le=La(O.placement);return le===w||le==="y"}return!0}).map(O=>[O.placement,O.overflows.filter(le=>le>0).reduce((le,re)=>le+re,0)]).sort((O,le)=>O[1]-le[1])[0])==null?void 0:T[0];U&&(B=U);break}case"initialPlacement":B=l;break}if(s!==B)return{reset:{placement:B}}}return{}}}};function KL(t,a){return{top:t.top-a.height,right:t.right-a.width,bottom:t.bottom-a.height,left:t.left-a.width}}function QL(t){return RH.some(a=>t[a]>=0)}const WH=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(a){const{rects:r}=a,{strategy:n="referenceHidden",...s}=Xa(t,a);switch(n){case"referenceHidden":{const i=await cl(a,{...s,elementContext:"reference"}),c=KL(i,r.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:QL(c)}}}case"escaped":{const i=await cl(a,{...s,altBoundary:!0}),c=KL(i,r.floating);return{data:{escapedOffsets:c,escaped:QL(c)}}}default:return{}}}}},e_=new Set(["left","top"]);async function ZH(t,a){const{placement:r,platform:n,elements:s}=t,i=await(n.isRTL==null?void 0:n.isRTL(s.floating)),c=Ya(r),l=dc(r),d=La(r)==="y",h=e_.has(c)?-1:1,u=i&&d?-1:1,p=Xa(a,t);let{mainAxis:m,crossAxis:y,alignmentAxis:x}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&typeof x=="number"&&(y=l==="end"?x*-1:x),d?{x:y*u,y:m*h}:{x:m*h,y:y*u}}const JH=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(a){var r,n;const{x:s,y:i,placement:c,middlewareData:l}=a,d=await ZH(a,t);return c===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:s+d.x,y:i+d.y,data:{...d,placement:c}}}}},XH=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(a){const{x:r,y:n,placement:s}=a,{mainAxis:i=!0,crossAxis:c=!1,limiter:l={fn:v=>{let{x:k,y:w}=v;return{x:k,y:w}}},...d}=Xa(t,a),h={x:r,y:n},u=await cl(a,d),p=La(Ya(s)),m=LS(p);let y=h[m],x=h[p];if(i){const v=m==="y"?"top":"left",k=m==="y"?"bottom":"right",w=y+u[v],j=y-u[k];y=fC(w,y,j)}if(c){const v=p==="y"?"top":"left",k=p==="y"?"bottom":"right",w=x+u[v],j=x-u[k];x=fC(w,x,j)}const f=l.fn({...a,[m]:y,[p]:x});return{...f,data:{x:f.x-r,y:f.y-n,enabled:{[m]:i,[p]:c}}}}}},YH=function(t){return t===void 0&&(t={}),{options:t,fn(a){const{x:r,y:n,placement:s,rects:i,middlewareData:c}=a,{offset:l=0,mainAxis:d=!0,crossAxis:h=!0}=Xa(t,a),u={x:r,y:n},p=La(s),m=LS(p);let y=u[m],x=u[p];const f=Xa(l,a),v=typeof f=="number"?{mainAxis:f,crossAxis:0}:{mainAxis:0,crossAxis:0,...f};if(d){const j=m==="y"?"height":"width",S=i.reference[m]-i.floating[j]+v.mainAxis,C=i.reference[m]+i.reference[j]-v.mainAxis;y<S?y=S:y>C&&(y=C)}if(h){var k,w;const j=m==="y"?"width":"height",S=e_.has(Ya(s)),C=i.reference[p]-i.floating[j]+(S&&((k=c.offset)==null?void 0:k[p])||0)+(S?0:v.crossAxis),A=i.reference[p]+i.reference[j]+(S?0:((w=c.offset)==null?void 0:w[p])||0)-(S?v.crossAxis:0);x<C?x=C:x>A&&(x=A)}return{[m]:y,[p]:x}}}},KH=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(a){var r,n;const{placement:s,rects:i,platform:c,elements:l}=a,{apply:d=()=>{},...h}=Xa(t,a),u=await cl(a,h),p=Ya(s),m=dc(s),y=La(s)==="y",{width:x,height:f}=i.floating;let v,k;p==="top"||p==="bottom"?(v=p,k=m===(await(c.isRTL==null?void 0:c.isRTL(l.floating))?"start":"end")?"left":"right"):(k=p,v=m==="end"?"top":"bottom");const w=f-u.top-u.bottom,j=x-u.left-u.right,S=Ir(f-u[v],w),C=Ir(x-u[k],j),A=!a.middlewareData.shift;let L=S,b=C;if((r=a.middlewareData.shift)!=null&&r.enabled.x&&(b=j),(n=a.middlewareData.shift)!=null&&n.enabled.y&&(L=w),A&&!m){const q=Et(u.left,0),P=Et(u.right,0),R=Et(u.top,0),T=Et(u.bottom,0);y?b=x-2*(q!==0||P!==0?q+P:Et(u.left,u.right)):L=f-2*(R!==0||T!==0?R+T:Et(u.top,u.bottom))}await d({...a,availableWidth:b,availableHeight:L});const N=await c.getDimensions(l.floating);return x!==N.width||f!==N.height?{reset:{rects:!0}}:{}}}};function ej(){return typeof window<"u"}function hc(t){return t_(t)?(t.nodeName||"").toLowerCase():"#document"}function $t(t){var a;return(t==null||(a=t.ownerDocument)==null?void 0:a.defaultView)||window}function Da(t){var a;return(a=(t_(t)?t.ownerDocument:t.document)||window.document)==null?void 0:a.documentElement}function t_(t){return ej()?t instanceof Node||t instanceof $t(t).Node:!1}function xa(t){return ej()?t instanceof Element||t instanceof $t(t).Element:!1}function Ta(t){return ej()?t instanceof HTMLElement||t instanceof $t(t).HTMLElement:!1}function eN(t){return!ej()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof $t(t).ShadowRoot}const QH=new Set(["inline","contents"]);function pl(t){const{overflow:a,overflowX:r,overflowY:n,display:s}=ga(t);return/auto|scroll|overlay|hidden|clip/.test(a+n+r)&&!QH.has(s)}const eV=new Set(["table","td","th"]);function tV(t){return eV.has(hc(t))}const aV=[":popover-open",":modal"];function tj(t){return aV.some(a=>{try{return t.matches(a)}catch{return!1}})}const rV=["transform","translate","scale","rotate","perspective"],nV=["transform","translate","scale","rotate","perspective","filter"],sV=["paint","layout","strict","content"];function AS(t){const a=PS(),r=xa(t)?ga(t):t;return rV.some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!a&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!a&&(r.filter?r.filter!=="none":!1)||nV.some(n=>(r.willChange||"").includes(n))||sV.some(n=>(r.contain||"").includes(n))}function iV(t){let a=Ar(t);for(;Ta(a)&&!oc(a);){if(AS(a))return a;if(tj(a))return null;a=Ar(a)}return null}function PS(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const oV=new Set(["html","body","#document"]);function oc(t){return oV.has(hc(t))}function ga(t){return $t(t).getComputedStyle(t)}function aj(t){return xa(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Ar(t){if(hc(t)==="html")return t;const a=t.assignedSlot||t.parentNode||eN(t)&&t.host||Da(t);return eN(a)?a.host:a}function a_(t){const a=Ar(t);return oc(a)?t.ownerDocument?t.ownerDocument.body:t.body:Ta(a)&&pl(a)?a:a_(a)}function ll(t,a,r){var n;a===void 0&&(a=[]),r===void 0&&(r=!0);const s=a_(t),i=s===((n=t.ownerDocument)==null?void 0:n.body),c=$t(s);if(i){const l=gC(c);return a.concat(c,c.visualViewport||[],pl(s)?s:[],l&&r?ll(l):[])}return a.concat(s,ll(s,[],r))}function gC(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function r_(t){const a=ga(t);let r=parseFloat(a.width)||0,n=parseFloat(a.height)||0;const s=Ta(t),i=s?t.offsetWidth:r,c=s?t.offsetHeight:n,l=L9(r)!==i||L9(n)!==c;return l&&(r=i,n=c),{width:r,height:n,$:l}}function _S(t){return xa(t)?t:t.contextElement}function ec(t){const a=_S(t);if(!Ta(a))return Pa(1);const r=a.getBoundingClientRect(),{width:n,height:s,$:i}=r_(a);let c=(i?L9(r.width):r.width)/n,l=(i?L9(r.height):r.height)/s;return(!c||!Number.isFinite(c))&&(c=1),(!l||!Number.isFinite(l))&&(l=1),{x:c,y:l}}const cV=Pa(0);function n_(t){const a=$t(t);return!PS()||!a.visualViewport?cV:{x:a.visualViewport.offsetLeft,y:a.visualViewport.offsetTop}}function lV(t,a,r){return a===void 0&&(a=!1),!r||a&&r!==$t(t)?!1:a}function Mo(t,a,r,n){a===void 0&&(a=!1),r===void 0&&(r=!1);const s=t.getBoundingClientRect(),i=_S(t);let c=Pa(1);a&&(n?xa(n)&&(c=ec(n)):c=ec(t));const l=lV(i,r,n)?n_(i):Pa(0);let d=(s.left+l.x)/c.x,h=(s.top+l.y)/c.y,u=s.width/c.x,p=s.height/c.y;if(i){const m=$t(i),y=n&&xa(n)?$t(n):n;let x=m,f=gC(x);for(;f&&n&&y!==x;){const v=ec(f),k=f.getBoundingClientRect(),w=ga(f),j=k.left+(f.clientLeft+parseFloat(w.paddingLeft))*v.x,S=k.top+(f.clientTop+parseFloat(w.paddingTop))*v.y;d*=v.x,h*=v.y,u*=v.x,p*=v.y,d+=j,h+=S,x=$t(f),f=gC(x)}}return I9({width:u,height:p,x:d,y:h})}function rj(t,a){const r=aj(t).scrollLeft;return a?a.left+r:Mo(Da(t)).left+r}function s_(t,a){const r=t.getBoundingClientRect(),n=r.left+a.scrollLeft-rj(t,r),s=r.top+a.scrollTop;return{x:n,y:s}}function dV(t){let{elements:a,rect:r,offsetParent:n,strategy:s}=t;const i=s==="fixed",c=Da(n),l=a?tj(a.floating):!1;if(n===c||l&&i)return r;let d={scrollLeft:0,scrollTop:0},h=Pa(1);const u=Pa(0),p=Ta(n);if((p||!p&&!i)&&((hc(n)!=="body"||pl(c))&&(d=aj(n)),Ta(n))){const y=Mo(n);h=ec(n),u.x=y.x+n.clientLeft,u.y=y.y+n.clientTop}const m=c&&!p&&!i?s_(c,d):Pa(0);return{width:r.width*h.x,height:r.height*h.y,x:r.x*h.x-d.scrollLeft*h.x+u.x+m.x,y:r.y*h.y-d.scrollTop*h.y+u.y+m.y}}function hV(t){return Array.from(t.getClientRects())}function uV(t){const a=Da(t),r=aj(t),n=t.ownerDocument.body,s=Et(a.scrollWidth,a.clientWidth,n.scrollWidth,n.clientWidth),i=Et(a.scrollHeight,a.clientHeight,n.scrollHeight,n.clientHeight);let c=-r.scrollLeft+rj(t);const l=-r.scrollTop;return ga(n).direction==="rtl"&&(c+=Et(a.clientWidth,n.clientWidth)-s),{width:s,height:i,x:c,y:l}}const tN=25;function pV(t,a){const r=$t(t),n=Da(t),s=r.visualViewport;let i=n.clientWidth,c=n.clientHeight,l=0,d=0;if(s){i=s.width,c=s.height;const u=PS();(!u||u&&a==="fixed")&&(l=s.offsetLeft,d=s.offsetTop)}const h=rj(n);if(h<=0){const u=n.ownerDocument,p=u.body,m=getComputedStyle(p),y=u.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,x=Math.abs(n.clientWidth-p.clientWidth-y);x<=tN&&(i-=x)}else h<=tN&&(i+=h);return{width:i,height:c,x:l,y:d}}const yV=new Set(["absolute","fixed"]);function mV(t,a){const r=Mo(t,!0,a==="fixed"),n=r.top+t.clientTop,s=r.left+t.clientLeft,i=Ta(t)?ec(t):Pa(1),c=t.clientWidth*i.x,l=t.clientHeight*i.y,d=s*i.x,h=n*i.y;return{width:c,height:l,x:d,y:h}}function aN(t,a,r){let n;if(a==="viewport")n=pV(t,r);else if(a==="document")n=uV(Da(t));else if(xa(a))n=mV(a,r);else{const s=n_(t);n={x:a.x-s.x,y:a.y-s.y,width:a.width,height:a.height}}return I9(n)}function i_(t,a){const r=Ar(t);return r===a||!xa(r)||oc(r)?!1:ga(r).position==="fixed"||i_(r,a)}function fV(t,a){const r=a.get(t);if(r)return r;let n=ll(t,[],!1).filter(l=>xa(l)&&hc(l)!=="body"),s=null;const i=ga(t).position==="fixed";let c=i?Ar(t):t;for(;xa(c)&&!oc(c);){const l=ga(c),d=AS(c);!d&&l.position==="fixed"&&(s=null),(i?!d&&!s:!d&&l.position==="static"&&!!s&&yV.has(s.position)||pl(c)&&!d&&i_(t,c))?n=n.filter(u=>u!==c):s=l,c=Ar(c)}return a.set(t,n),n}function xV(t){let{element:a,boundary:r,rootBoundary:n,strategy:s}=t;const c=[...r==="clippingAncestors"?tj(a)?[]:fV(a,this._c):[].concat(r),n],l=c[0],d=c.reduce((h,u)=>{const p=aN(a,u,s);return h.top=Et(p.top,h.top),h.right=Ir(p.right,h.right),h.bottom=Ir(p.bottom,h.bottom),h.left=Et(p.left,h.left),h},aN(a,l,s));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function gV(t){const{width:a,height:r}=r_(t);return{width:a,height:r}}function kV(t,a,r){const n=Ta(a),s=Da(a),i=r==="fixed",c=Mo(t,!0,i,a);let l={scrollLeft:0,scrollTop:0};const d=Pa(0);function h(){d.x=rj(s)}if(n||!n&&!i)if((hc(a)!=="body"||pl(s))&&(l=aj(a)),n){const y=Mo(a,!0,i,a);d.x=y.x+a.clientLeft,d.y=y.y+a.clientTop}else s&&h();i&&!n&&s&&h();const u=s&&!n&&!i?s_(s,l):Pa(0),p=c.left+l.scrollLeft-d.x-u.x,m=c.top+l.scrollTop-d.y-u.y;return{x:p,y:m,width:c.width,height:c.height}}function Fj(t){return ga(t).position==="static"}function rN(t,a){if(!Ta(t)||ga(t).position==="fixed")return null;if(a)return a(t);let r=t.offsetParent;return Da(t)===r&&(r=r.ownerDocument.body),r}function o_(t,a){const r=$t(t);if(tj(t))return r;if(!Ta(t)){let s=Ar(t);for(;s&&!oc(s);){if(xa(s)&&!Fj(s))return s;s=Ar(s)}return r}let n=rN(t,a);for(;n&&tV(n)&&Fj(n);)n=rN(n,a);return n&&oc(n)&&Fj(n)&&!AS(n)?r:n||iV(t)||r}const vV=async function(t){const a=this.getOffsetParent||o_,r=this.getDimensions,n=await r(t.floating);return{reference:kV(t.reference,await a(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function wV(t){return ga(t).direction==="rtl"}const bV={convertOffsetParentRelativeRectToViewportRelativeRect:dV,getDocumentElement:Da,getClippingRect:xV,getOffsetParent:o_,getElementRects:vV,getClientRects:hV,getDimensions:gV,getScale:ec,isElement:xa,isRTL:wV};function c_(t,a){return t.x===a.x&&t.y===a.y&&t.width===a.width&&t.height===a.height}function MV(t,a){let r=null,n;const s=Da(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:m,height:y}=h;if(l||a(),!m||!y)return;const x=Nl(p),f=Nl(s.clientWidth-(u+m)),v=Nl(s.clientHeight-(p+y)),k=Nl(u),j={rootMargin:-x+"px "+-f+"px "+-v+"px "+-k+"px",threshold:Et(0,Ir(1,d))||1};let S=!0;function C(A){const L=A[0].intersectionRatio;if(L!==d){if(!S)return c();L?c(!1,L):n=setTimeout(()=>{c(!1,1e-7)},1e3)}L===1&&!c_(h,t.getBoundingClientRect())&&c(),S=!1}try{r=new IntersectionObserver(C,{...j,root:s.ownerDocument})}catch{r=new IntersectionObserver(C,j)}r.observe(t)}return c(!0),i}function jV(t,a,r,n){n===void 0&&(n={});const{ancestorScroll:s=!0,ancestorResize:i=!0,elementResize:c=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:d=!1}=n,h=_S(t),u=s||i?[...h?ll(h):[],...ll(a)]:[];u.forEach(k=>{s&&k.addEventListener("scroll",r,{passive:!0}),i&&k.addEventListener("resize",r)});const p=h&&l?MV(h,r):null;let m=-1,y=null;c&&(y=new ResizeObserver(k=>{let[w]=k;w&&w.target===h&&y&&(y.unobserve(a),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var j;(j=y)==null||j.observe(a)})),r()}),h&&!d&&y.observe(h),y.observe(a));let x,f=d?Mo(t):null;d&&v();function v(){const k=Mo(t);f&&!c_(f,k)&&r(),f=k,x=requestAnimationFrame(v)}return r(),()=>{var k;u.forEach(w=>{s&&w.removeEventListener("scroll",r),i&&w.removeEventListener("resize",r)}),p==null||p(),(k=y)==null||k.disconnect(),y=null,d&&cancelAnimationFrame(x)}}const CV=JH,SV=XH,LV=GH,NV=KH,IV=WH,nN=UH,AV=YH,PV=(t,a,r)=>{const n=new Map,s={platform:bV,...r},i={...s.platform,_c:n};return $H(t,a,{...s,platform:i})};var _V=typeof document<"u",RV=function(){},y9=_V?M.useLayoutEffect:RV;function A9(t,a){if(t===a)return!0;if(typeof t!=typeof a)return!1;if(typeof t=="function"&&t.toString()===a.toString())return!0;let r,n,s;if(t&&a&&typeof t=="object"){if(Array.isArray(t)){if(r=t.length,r!==a.length)return!1;for(n=r;n--!==0;)if(!A9(t[n],a[n]))return!1;return!0}if(s=Object.keys(t),r=s.length,r!==Object.keys(a).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(a,s[n]))return!1;for(n=r;n--!==0;){const i=s[n];if(!(i==="_owner"&&t.$$typeof)&&!A9(t[i],a[i]))return!1}return!0}return t!==t&&a!==a}function l_(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function sN(t,a){const r=l_(t);return Math.round(a*r)/r}function Oj(t){const a=g.useRef(t);return y9(()=>{a.current=t}),a}function TV(t){t===void 0&&(t={});const{placement:a="bottom",strategy:r="absolute",middleware:n=[],platform:s,elements:{reference:i,floating:c}={},transform:l=!0,whileElementsMounted:d,open:h}=t,[u,p]=g.useState({x:0,y:0,strategy:r,placement:a,middlewareData:{},isPositioned:!1}),[m,y]=g.useState(n);A9(m,n)||y(n);const[x,f]=g.useState(null),[v,k]=g.useState(null),w=g.useCallback(O=>{O!==A.current&&(A.current=O,f(O))},[]),j=g.useCallback(O=>{O!==L.current&&(L.current=O,k(O))},[]),S=i||x,C=c||v,A=g.useRef(null),L=g.useRef(null),b=g.useRef(u),N=d!=null,q=Oj(d),P=Oj(s),R=Oj(h),T=g.useCallback(()=>{if(!A.current||!L.current)return;const O={placement:a,strategy:r,middleware:m};P.current&&(O.platform=P.current),PV(A.current,L.current,O).then(le=>{const re={...le,isPositioned:R.current!==!1};$.current&&!A9(b.current,re)&&(b.current=re,q9.flushSync(()=>{p(re)}))})},[m,a,r,P,R]);y9(()=>{h===!1&&b.current.isPositioned&&(b.current.isPositioned=!1,p(O=>({...O,isPositioned:!1})))},[h]);const $=g.useRef(!1);y9(()=>($.current=!0,()=>{$.current=!1}),[]),y9(()=>{if(S&&(A.current=S),C&&(L.current=C),S&&C){if(q.current)return q.current(S,C,T);T()}},[S,C,T,q,N]);const W=g.useMemo(()=>({reference:A,floating:L,setReference:w,setFloating:j}),[w,j]),B=g.useMemo(()=>({reference:S,floating:C}),[S,C]),U=g.useMemo(()=>{const O={position:r,left:0,top:0};if(!B.floating)return O;const le=sN(B.floating,u.x),re=sN(B.floating,u.y);return l?{...O,transform:"translate("+le+"px, "+re+"px)",...l_(B.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:le,top:re}},[r,l,B.floating,u.x,u.y]);return g.useMemo(()=>({...u,update:T,refs:W,elements:B,floatingStyles:U}),[u,T,W,B,U])}const qV=t=>{function a(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:t,fn(r){const{element:n,padding:s}=typeof t=="function"?t(r):t;return n&&a(n)?n.current!=null?nN({element:n.current,padding:s}).fn(r):{}:n?nN({element:n,padding:s}).fn(r):{}}}},DV=(t,a)=>({...CV(t),options:[t,a]}),zV=(t,a)=>({...SV(t),options:[t,a]}),EV=(t,a)=>({...AV(t),options:[t,a]}),FV=(t,a)=>({...LV(t),options:[t,a]}),OV=(t,a)=>({...NV(t),options:[t,a]}),HV=(t,a)=>({...IV(t),options:[t,a]}),VV=(t,a)=>({...qV(t),options:[t,a]});var BV=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],$V=BV.reduce((t,a)=>{const r=Ke(`Primitive.${a}`),n=g.forwardRef((s,i)=>{const{asChild:c,...l}=s,d=c?r:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),e.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${a}`,{...t,[a]:n}},{}),UV="Arrow",d_=g.forwardRef((t,a)=>{const{children:r,width:n=10,height:s=5,...i}=t;return e.jsx($V.svg,{...i,ref:a,width:n,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?r:e.jsx("polygon",{points:"0,0 30,0 15,10"})})});d_.displayName=UV;var GV=d_;function iN(t,a){if(typeof t=="function")return t(a);t!=null&&(t.current=a)}function WV(...t){return a=>{let r=!1;const n=t.map(s=>{const i=iN(s,a);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let s=0;s<n.length;s++){const i=n[s];typeof i=="function"?i():iN(t[s],null)}}}}function h_(...t){return g.useCallback(WV(...t),t)}function ZV(t,a=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var k;const{scope:m,children:y,...x}=p,f=((k=m==null?void 0:m[t])==null?void 0:k[d])||l,v=g.useMemo(()=>x,Object.values(x));return e.jsx(f.Provider,{value:v,children:y})};h.displayName=i+"Provider";function u(p,m){var f;const y=((f=m==null?void 0:m[t])==null?void 0:f[d])||l,x=g.useContext(y);if(x)return x;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const s=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return s.scopeName=t,[n,JV(s,...a)]}function JV(...t){const a=t[0];if(t.length===1)return a;const r=()=>{const n=t.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${a.scopeName}`]:c}),[c])}};return r.scopeName=a.scopeName,r}var XV=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],u_=XV.reduce((t,a)=>{const r=Ke(`Primitive.${a}`),n=g.forwardRef((s,i)=>{const{asChild:c,...l}=s,d=c?r:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),e.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${a}`,{...t,[a]:n}},{});function YV(t){const a=g.useRef(t);return g.useEffect(()=>{a.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=a.current)==null?void 0:n.call(a,...r)},[])}var oN=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},RS="Popper",[p_,nj]=ZV(RS),[KV,y_]=p_(RS),m_=t=>{const{__scopePopper:a,children:r}=t,[n,s]=g.useState(null);return e.jsx(KV,{scope:a,anchor:n,onAnchorChange:s,children:r})};m_.displayName=RS;var f_="PopperAnchor",x_=g.forwardRef((t,a)=>{const{__scopePopper:r,virtualRef:n,...s}=t,i=y_(f_,r),c=g.useRef(null),l=h_(a,c),d=g.useRef(null);return g.useEffect(()=>{const h=d.current;d.current=(n==null?void 0:n.current)||c.current,h!==d.current&&i.onAnchorChange(d.current)}),n?null:e.jsx(u_.div,{...s,ref:l})});x_.displayName=f_;var TS="PopperContent",[QV,eB]=p_(TS),g_=g.forwardRef((t,a)=>{var Z,ee,ve,fe,te,ne;const{__scopePopper:r,side:n="bottom",sideOffset:s=0,align:i="center",alignOffset:c=0,arrowPadding:l=0,avoidCollisions:d=!0,collisionBoundary:h=[],collisionPadding:u=0,sticky:p="partial",hideWhenDetached:m=!1,updatePositionStrategy:y="optimized",onPlaced:x,...f}=t,v=y_(TS,r),[k,w]=g.useState(null),j=h_(a,Ae=>w(Ae)),[S,C]=g.useState(null),A=bS(S),L=(A==null?void 0:A.width)??0,b=(A==null?void 0:A.height)??0,N=n+(i!=="center"?"-"+i:""),q=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},P=Array.isArray(h)?h:[h],R=P.length>0,T={padding:q,boundary:P.filter(aB),altBoundary:R},{refs:$,floatingStyles:W,placement:B,isPositioned:U,middlewareData:O}=TV({strategy:"fixed",placement:N,whileElementsMounted:(...Ae)=>jV(...Ae,{animationFrame:y==="always"}),elements:{reference:v.anchor},middleware:[DV({mainAxis:s+b,alignmentAxis:c}),d&&zV({mainAxis:!0,crossAxis:!1,limiter:p==="partial"?EV():void 0,...T}),d&&FV({...T}),OV({...T,apply:({elements:Ae,rects:Pe,availableWidth:De,availableHeight:Qe})=>{const{width:ot,height:pt}=Pe.reference,et=Ae.floating.style;et.setProperty("--radix-popper-available-width",`${De}px`),et.setProperty("--radix-popper-available-height",`${Qe}px`),et.setProperty("--radix-popper-anchor-width",`${ot}px`),et.setProperty("--radix-popper-anchor-height",`${pt}px`)}}),S&&VV({element:S,padding:l}),rB({arrowWidth:L,arrowHeight:b}),m&&HV({strategy:"referenceHidden",...T})]}),[le,re]=w_(B),X=YV(x);oN(()=>{U&&(X==null||X())},[U,X]);const J=(Z=O.arrow)==null?void 0:Z.x,ae=(ee=O.arrow)==null?void 0:ee.y,Q=((ve=O.arrow)==null?void 0:ve.centerOffset)!==0,[pe,we]=g.useState();return oN(()=>{k&&we(window.getComputedStyle(k).zIndex)},[k]),e.jsx("div",{ref:$.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:U?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:pe,"--radix-popper-transform-origin":[(fe=O.transformOrigin)==null?void 0:fe.x,(te=O.transformOrigin)==null?void 0:te.y].join(" "),...((ne=O.hide)==null?void 0:ne.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:e.jsx(QV,{scope:r,placedSide:le,onArrowChange:C,arrowX:J,arrowY:ae,shouldHideArrow:Q,children:e.jsx(u_.div,{"data-side":le,"data-align":re,...f,ref:j,style:{...f.style,animation:U?void 0:"none"}})})})});g_.displayName=TS;var k_="PopperArrow",tB={top:"bottom",right:"left",bottom:"top",left:"right"},v_=g.forwardRef(function(a,r){const{__scopePopper:n,...s}=a,i=eB(k_,n),c=tB[i.placedSide];return e.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:e.jsx(GV,{...s,ref:r,style:{...s.style,display:"block"}})})});v_.displayName=k_;function aB(t){return t!==null}var rB=t=>({name:"transformOrigin",options:t,fn(a){var v,k,w;const{placement:r,rects:n,middlewareData:s}=a,c=((v=s.arrow)==null?void 0:v.centerOffset)!==0,l=c?0:t.arrowWidth,d=c?0:t.arrowHeight,[h,u]=w_(r),p={start:"0%",center:"50%",end:"100%"}[u],m=(((k=s.arrow)==null?void 0:k.x)??0)+l/2,y=(((w=s.arrow)==null?void 0:w.y)??0)+d/2;let x="",f="";return h==="bottom"?(x=c?p:`${m}px`,f=`${-d}px`):h==="top"?(x=c?p:`${m}px`,f=`${n.floating.height+d}px`):h==="right"?(x=`${-d}px`,f=c?p:`${y}px`):h==="left"&&(x=`${n.floating.width+d}px`,f=c?p:`${y}px`),{data:{x,y:f}}}});function w_(t){const[a,r="center"]=t.split("-");return[a,r]}var b_=m_,qS=x_,M_=g_,j_=v_,nB=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Gt=nB.reduce((t,a)=>{const r=Ke(`Primitive.${a}`),n=g.forwardRef((s,i)=>{const{asChild:c,...l}=s,d=c?r:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),e.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${a}`,{...t,[a]:n}},{});function sB(t){const a=g.useRef(t);return g.useEffect(()=>{a.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=a.current)==null?void 0:n.call(a,...r)},[])}var iB=g[" useInsertionEffect ".trim().toString()]||Ra;function cN({prop:t,defaultProp:a,onChange:r=()=>{},caller:n}){const[s,i,c]=oB({defaultProp:a,onChange:r}),l=t!==void 0,d=l?t:s;{const u=g.useRef(t!==void 0);g.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${n} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=l},[l,n])}const h=g.useCallback(u=>{var p;if(l){const m=cB(u)?u(t):u;m!==t&&((p=c.current)==null||p.call(c,m))}else i(u)},[l,t,i,c]);return[d,h]}function oB({defaultProp:t,onChange:a}){const[r,n]=g.useState(t),s=g.useRef(r),i=g.useRef(a);return iB(()=>{i.current=a},[a]),g.useEffect(()=>{var c;s.current!==r&&((c=i.current)==null||c.call(i,r),s.current=r)},[r,s]),[r,n,i]}function cB(t){return typeof t=="function"}var lB=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],dB=lB.reduce((t,a)=>{const r=Ke(`Primitive.${a}`),n=g.forwardRef((s,i)=>{const{asChild:c,...l}=s,d=c?r:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),e.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${a}`,{...t,[a]:n}},{}),C_=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"}),hB="VisuallyHidden",uB=g.forwardRef((t,a)=>e.jsx(dB.span,{...t,ref:a,style:{...C_,...t.style}}));uB.displayName=hB;var pB=[" ","Enter","ArrowUp","ArrowDown"],yB=[" ","Enter"],jo="Select",[sj,ij,mB]=NH(jo),[uc,eW]=KP(jo,[mB,nj]),oj=nj(),[fB,qr]=uc(jo),[xB,gB]=uc(jo),S_=t=>{const{__scopeSelect:a,children:r,open:n,defaultOpen:s,onOpenChange:i,value:c,defaultValue:l,onValueChange:d,dir:h,name:u,autoComplete:p,disabled:m,required:y,form:x}=t,f=oj(a),[v,k]=g.useState(null),[w,j]=g.useState(null),[S,C]=g.useState(!1),A=AH(h),[L,b]=cN({prop:n,defaultProp:s??!1,onChange:i,caller:jo}),[N,q]=cN({prop:c,defaultProp:l,onChange:d,caller:jo}),P=g.useRef(null),R=v?x||!!v.closest("form"):!0,[T,$]=g.useState(new Set),W=Array.from(T).map(B=>B.props.value).join(";");return e.jsx(b_,{...f,children:e.jsxs(fB,{required:y,scope:a,trigger:v,onTriggerChange:k,valueNode:w,onValueNodeChange:j,valueNodeHasChildren:S,onValueNodeHasChildrenChange:C,contentId:SS(),value:N,onValueChange:q,open:L,onOpenChange:b,dir:A,triggerPointerDownPosRef:P,disabled:m,children:[e.jsx(sj.Provider,{scope:a,children:e.jsx(xB,{scope:t.__scopeSelect,onNativeOptionAdd:g.useCallback(B=>{$(U=>new Set(U).add(B))},[]),onNativeOptionRemove:g.useCallback(B=>{$(U=>{const O=new Set(U);return O.delete(B),O})},[]),children:r})}),R?e.jsxs(X_,{"aria-hidden":!0,required:y,tabIndex:-1,name:u,autoComplete:p,value:N,onChange:B=>q(B.target.value),disabled:m,form:x,children:[N===void 0?e.jsx("option",{value:""}):null,Array.from(T)]},W):null]})})};S_.displayName=jo;var L_="SelectTrigger",N_=g.forwardRef((t,a)=>{const{__scopeSelect:r,disabled:n=!1,...s}=t,i=oj(r),c=qr(L_,r),l=c.disabled||n,d=ia(a,c.onTriggerChange),h=ij(r),u=g.useRef("touch"),[p,m,y]=K_(f=>{const v=h().filter(j=>!j.disabled),k=v.find(j=>j.value===c.value),w=Q_(v,f,k);w!==void 0&&c.onValueChange(w.value)}),x=f=>{l||(c.onOpenChange(!0),y()),f&&(c.triggerPointerDownPosRef.current={x:Math.round(f.pageX),y:Math.round(f.pageY)})};return e.jsx(qS,{asChild:!0,...i,children:e.jsx(Gt.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":Y_(c.value)?"":void 0,...s,ref:d,onClick:ut(s.onClick,f=>{f.currentTarget.focus(),u.current!=="mouse"&&x(f)}),onPointerDown:ut(s.onPointerDown,f=>{u.current=f.pointerType;const v=f.target;v.hasPointerCapture(f.pointerId)&&v.releasePointerCapture(f.pointerId),f.button===0&&f.ctrlKey===!1&&f.pointerType==="mouse"&&(x(f),f.preventDefault())}),onKeyDown:ut(s.onKeyDown,f=>{const v=p.current!=="";!(f.ctrlKey||f.altKey||f.metaKey)&&f.key.length===1&&m(f.key),!(v&&f.key===" ")&&pB.includes(f.key)&&(x(),f.preventDefault())})})})});N_.displayName=L_;var I_="SelectValue",A_=g.forwardRef((t,a)=>{const{__scopeSelect:r,className:n,style:s,children:i,placeholder:c="",...l}=t,d=qr(I_,r),{onValueNodeHasChildrenChange:h}=d,u=i!==void 0,p=ia(a,d.onValueNodeChange);return Ra(()=>{h(u)},[h,u]),e.jsx(Gt.span,{...l,ref:p,style:{pointerEvents:"none"},children:Y_(d.value)?e.jsx(e.Fragment,{children:c}):i})});A_.displayName=I_;var kB="SelectIcon",P_=g.forwardRef((t,a)=>{const{__scopeSelect:r,children:n,...s}=t;return e.jsx(Gt.span,{"aria-hidden":!0,...s,ref:a,children:n||"▼"})});P_.displayName=kB;var vB="SelectPortal",__=t=>e.jsx(W9,{asChild:!0,...t});__.displayName=vB;var Co="SelectContent",R_=g.forwardRef((t,a)=>{const r=qr(Co,t.__scopeSelect),[n,s]=g.useState();if(Ra(()=>{s(new DocumentFragment)},[]),!r.open){const i=n;return i?q9.createPortal(e.jsx(T_,{scope:t.__scopeSelect,children:e.jsx(sj.Slot,{scope:t.__scopeSelect,children:e.jsx("div",{children:t.children})})}),i):null}return e.jsx(q_,{...t,ref:a})});R_.displayName=Co;var da=10,[T_,Dr]=uc(Co),wB="SelectContentImpl",bB=Ke("SelectContent.RemoveScroll"),q_=g.forwardRef((t,a)=>{const{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:s,onEscapeKeyDown:i,onPointerDownOutside:c,side:l,sideOffset:d,align:h,alignOffset:u,arrowPadding:p,collisionBoundary:m,collisionPadding:y,sticky:x,hideWhenDetached:f,avoidCollisions:v,...k}=t,w=qr(Co,r),[j,S]=g.useState(null),[C,A]=g.useState(null),L=ia(a,Z=>S(Z)),[b,N]=g.useState(null),[q,P]=g.useState(null),R=ij(r),[T,$]=g.useState(!1),W=g.useRef(!1);g.useEffect(()=>{if(j)return lS(j)},[j]),cS();const B=g.useCallback(Z=>{const[ee,...ve]=R().map(ne=>ne.ref.current),[fe]=ve.slice(-1),te=document.activeElement;for(const ne of Z)if(ne===te||(ne==null||ne.scrollIntoView({block:"nearest"}),ne===ee&&C&&(C.scrollTop=0),ne===fe&&C&&(C.scrollTop=C.scrollHeight),ne==null||ne.focus(),document.activeElement!==te))return},[R,C]),U=g.useCallback(()=>B([b,j]),[B,b,j]);g.useEffect(()=>{T&&U()},[T,U]);const{onOpenChange:O,triggerPointerDownPosRef:le}=w;g.useEffect(()=>{if(j){let Z={x:0,y:0};const ee=fe=>{var te,ne;Z={x:Math.abs(Math.round(fe.pageX)-(((te=le.current)==null?void 0:te.x)??0)),y:Math.abs(Math.round(fe.pageY)-(((ne=le.current)==null?void 0:ne.y)??0))}},ve=fe=>{Z.x<=10&&Z.y<=10?fe.preventDefault():j.contains(fe.target)||O(!1),document.removeEventListener("pointermove",ee),le.current=null};return le.current!==null&&(document.addEventListener("pointermove",ee),document.addEventListener("pointerup",ve,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",ee),document.removeEventListener("pointerup",ve,{capture:!0})}}},[j,O,le]),g.useEffect(()=>{const Z=()=>O(!1);return window.addEventListener("blur",Z),window.addEventListener("resize",Z),()=>{window.removeEventListener("blur",Z),window.removeEventListener("resize",Z)}},[O]);const[re,X]=K_(Z=>{const ee=R().filter(te=>!te.disabled),ve=ee.find(te=>te.ref.current===document.activeElement),fe=Q_(ee,Z,ve);fe&&setTimeout(()=>fe.ref.current.focus())}),J=g.useCallback((Z,ee,ve)=>{const fe=!W.current&&!ve;(w.value!==void 0&&w.value===ee||fe)&&(N(Z),fe&&(W.current=!0))},[w.value]),ae=g.useCallback(()=>j==null?void 0:j.focus(),[j]),Q=g.useCallback((Z,ee,ve)=>{const fe=!W.current&&!ve;(w.value!==void 0&&w.value===ee||fe)&&P(Z)},[w.value]),pe=n==="popper"?kC:D_,we=pe===kC?{side:l,sideOffset:d,align:h,alignOffset:u,arrowPadding:p,collisionBoundary:m,collisionPadding:y,sticky:x,hideWhenDetached:f,avoidCollisions:v}:{};return e.jsx(T_,{scope:r,content:j,viewport:C,onViewportChange:A,itemRefCallback:J,selectedItem:b,onItemLeave:ae,itemTextRefCallback:Q,focusSelectedItem:U,selectedItemText:q,position:n,isPositioned:T,searchRef:re,children:e.jsx(X9,{as:bB,allowPinchZoom:!0,children:e.jsx(G9,{asChild:!0,trapped:w.open,onMountAutoFocus:Z=>{Z.preventDefault()},onUnmountAutoFocus:ut(s,Z=>{var ee;(ee=w.trigger)==null||ee.focus({preventScroll:!0}),Z.preventDefault()}),children:e.jsx(U9,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:c,onFocusOutside:Z=>Z.preventDefault(),onDismiss:()=>w.onOpenChange(!1),children:e.jsx(pe,{role:"listbox",id:w.contentId,"data-state":w.open?"open":"closed",dir:w.dir,onContextMenu:Z=>Z.preventDefault(),...k,...we,onPlaced:()=>$(!0),ref:L,style:{display:"flex",flexDirection:"column",outline:"none",...k.style},onKeyDown:ut(k.onKeyDown,Z=>{const ee=Z.ctrlKey||Z.altKey||Z.metaKey;if(Z.key==="Tab"&&Z.preventDefault(),!ee&&Z.key.length===1&&X(Z.key),["ArrowUp","ArrowDown","Home","End"].includes(Z.key)){let fe=R().filter(te=>!te.disabled).map(te=>te.ref.current);if(["ArrowUp","End"].includes(Z.key)&&(fe=fe.slice().reverse()),["ArrowUp","ArrowDown"].includes(Z.key)){const te=Z.target,ne=fe.indexOf(te);fe=fe.slice(ne+1)}setTimeout(()=>B(fe)),Z.preventDefault()}})})})})})})});q_.displayName=wB;var MB="SelectItemAlignedPosition",D_=g.forwardRef((t,a)=>{const{__scopeSelect:r,onPlaced:n,...s}=t,i=qr(Co,r),c=Dr(Co,r),[l,d]=g.useState(null),[h,u]=g.useState(null),p=ia(a,L=>u(L)),m=ij(r),y=g.useRef(!1),x=g.useRef(!0),{viewport:f,selectedItem:v,selectedItemText:k,focusSelectedItem:w}=c,j=g.useCallback(()=>{if(i.trigger&&i.valueNode&&l&&h&&f&&v&&k){const L=i.trigger.getBoundingClientRect(),b=h.getBoundingClientRect(),N=i.valueNode.getBoundingClientRect(),q=k.getBoundingClientRect();if(i.dir!=="rtl"){const te=q.left-b.left,ne=N.left-te,Ae=L.left-ne,Pe=L.width+Ae,De=Math.max(Pe,b.width),Qe=window.innerWidth-da,ot=WL(ne,[da,Math.max(da,Qe-De)]);l.style.minWidth=Pe+"px",l.style.left=ot+"px"}else{const te=b.right-q.right,ne=window.innerWidth-N.right-te,Ae=window.innerWidth-L.right-ne,Pe=L.width+Ae,De=Math.max(Pe,b.width),Qe=window.innerWidth-da,ot=WL(ne,[da,Math.max(da,Qe-De)]);l.style.minWidth=Pe+"px",l.style.right=ot+"px"}const P=m(),R=window.innerHeight-da*2,T=f.scrollHeight,$=window.getComputedStyle(h),W=parseInt($.borderTopWidth,10),B=parseInt($.paddingTop,10),U=parseInt($.borderBottomWidth,10),O=parseInt($.paddingBottom,10),le=W+B+T+O+U,re=Math.min(v.offsetHeight*5,le),X=window.getComputedStyle(f),J=parseInt(X.paddingTop,10),ae=parseInt(X.paddingBottom,10),Q=L.top+L.height/2-da,pe=R-Q,we=v.offsetHeight/2,Z=v.offsetTop+we,ee=W+B+Z,ve=le-ee;if(ee<=Q){const te=P.length>0&&v===P[P.length-1].ref.current;l.style.bottom="0px";const ne=h.clientHeight-f.offsetTop-f.offsetHeight,Ae=Math.max(pe,we+(te?ae:0)+ne+U),Pe=ee+Ae;l.style.height=Pe+"px"}else{const te=P.length>0&&v===P[0].ref.current;l.style.top="0px";const Ae=Math.max(Q,W+f.offsetTop+(te?J:0)+we)+ve;l.style.height=Ae+"px",f.scrollTop=ee-Q+f.offsetTop}l.style.margin=`${da}px 0`,l.style.minHeight=re+"px",l.style.maxHeight=R+"px",n==null||n(),requestAnimationFrame(()=>y.current=!0)}},[m,i.trigger,i.valueNode,l,h,f,v,k,i.dir,n]);Ra(()=>j(),[j]);const[S,C]=g.useState();Ra(()=>{h&&C(window.getComputedStyle(h).zIndex)},[h]);const A=g.useCallback(L=>{L&&x.current===!0&&(j(),w==null||w(),x.current=!1)},[j,w]);return e.jsx(CB,{scope:r,contentWrapper:l,shouldExpandOnScrollRef:y,onScrollButtonChange:A,children:e.jsx("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:S},children:e.jsx(Gt.div,{...s,ref:p,style:{boxSizing:"border-box",maxHeight:"100%",...s.style}})})})});D_.displayName=MB;var jB="SelectPopperPosition",kC=g.forwardRef((t,a)=>{const{__scopeSelect:r,align:n="start",collisionPadding:s=da,...i}=t,c=oj(r);return e.jsx(M_,{...c,...i,ref:a,align:n,collisionPadding:s,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)"}})});kC.displayName=jB;var[CB,DS]=uc(Co,{}),vC="SelectViewport",z_=g.forwardRef((t,a)=>{const{__scopeSelect:r,nonce:n,...s}=t,i=Dr(vC,r),c=DS(vC,r),l=ia(a,i.onViewportChange),d=g.useRef(0);return e.jsxs(e.Fragment,{children:[e.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}),e.jsx(sj.Slot,{scope:r,children:e.jsx(Gt.div,{"data-radix-select-viewport":"",role:"presentation",...s,ref:l,style:{position:"relative",flex:1,overflow:"hidden auto",...s.style},onScroll:ut(s.onScroll,h=>{const u=h.currentTarget,{contentWrapper:p,shouldExpandOnScrollRef:m}=c;if(m!=null&&m.current&&p){const y=Math.abs(d.current-u.scrollTop);if(y>0){const x=window.innerHeight-da*2,f=parseFloat(p.style.minHeight),v=parseFloat(p.style.height),k=Math.max(f,v);if(k<x){const w=k+y,j=Math.min(x,w),S=w-j;p.style.height=j+"px",p.style.bottom==="0px"&&(u.scrollTop=S>0?S:0,p.style.justifyContent="flex-end")}}}d.current=u.scrollTop})})})]})});z_.displayName=vC;var E_="SelectGroup",[SB,LB]=uc(E_),NB=g.forwardRef((t,a)=>{const{__scopeSelect:r,...n}=t,s=SS();return e.jsx(SB,{scope:r,id:s,children:e.jsx(Gt.div,{role:"group","aria-labelledby":s,...n,ref:a})})});NB.displayName=E_;var F_="SelectLabel",O_=g.forwardRef((t,a)=>{const{__scopeSelect:r,...n}=t,s=LB(F_,r);return e.jsx(Gt.div,{id:s.id,...n,ref:a})});O_.displayName=F_;var P9="SelectItem",[IB,H_]=uc(P9),V_=g.forwardRef((t,a)=>{const{__scopeSelect:r,value:n,disabled:s=!1,textValue:i,...c}=t,l=qr(P9,r),d=Dr(P9,r),h=l.value===n,[u,p]=g.useState(i??""),[m,y]=g.useState(!1),x=ia(a,w=>{var j;return(j=d.itemRefCallback)==null?void 0:j.call(d,w,n,s)}),f=SS(),v=g.useRef("touch"),k=()=>{s||(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 e.jsx(IB,{scope:r,value:n,disabled:s,textId:f,isSelected:h,onItemTextChange:g.useCallback(w=>{p(j=>j||((w==null?void 0:w.textContent)??"").trim())},[]),children:e.jsx(sj.ItemSlot,{scope:r,value:n,disabled:s,textValue:u,children:e.jsx(Gt.div,{role:"option","aria-labelledby":f,"data-highlighted":m?"":void 0,"aria-selected":h&&m,"data-state":h?"checked":"unchecked","aria-disabled":s||void 0,"data-disabled":s?"":void 0,tabIndex:s?void 0:-1,...c,ref:x,onFocus:ut(c.onFocus,()=>y(!0)),onBlur:ut(c.onBlur,()=>y(!1)),onClick:ut(c.onClick,()=>{v.current!=="mouse"&&k()}),onPointerUp:ut(c.onPointerUp,()=>{v.current==="mouse"&&k()}),onPointerDown:ut(c.onPointerDown,w=>{v.current=w.pointerType}),onPointerMove:ut(c.onPointerMove,w=>{var j;v.current=w.pointerType,s?(j=d.onItemLeave)==null||j.call(d):v.current==="mouse"&&w.currentTarget.focus({preventScroll:!0})}),onPointerLeave:ut(c.onPointerLeave,w=>{var j;w.currentTarget===document.activeElement&&((j=d.onItemLeave)==null||j.call(d))}),onKeyDown:ut(c.onKeyDown,w=>{var S;((S=d.searchRef)==null?void 0:S.current)!==""&&w.key===" "||(yB.includes(w.key)&&k(),w.key===" "&&w.preventDefault())})})})})});V_.displayName=P9;var wc="SelectItemText",B_=g.forwardRef((t,a)=>{const{__scopeSelect:r,className:n,style:s,...i}=t,c=qr(wc,r),l=Dr(wc,r),d=H_(wc,r),h=gB(wc,r),[u,p]=g.useState(null),m=ia(a,k=>p(k),d.onItemTextChange,k=>{var w;return(w=l.itemTextRefCallback)==null?void 0:w.call(l,k,d.value,d.disabled)}),y=u==null?void 0:u.textContent,x=g.useMemo(()=>e.jsx("option",{value:d.value,disabled:d.disabled,children:y},d.value),[d.disabled,d.value,y]),{onNativeOptionAdd:f,onNativeOptionRemove:v}=h;return Ra(()=>(f(x),()=>v(x)),[f,v,x]),e.jsxs(e.Fragment,{children:[e.jsx(Gt.span,{id:d.textId,...i,ref:m}),d.isSelected&&c.valueNode&&!c.valueNodeHasChildren?q9.createPortal(i.children,c.valueNode):null]})});B_.displayName=wc;var $_="SelectItemIndicator",U_=g.forwardRef((t,a)=>{const{__scopeSelect:r,...n}=t;return H_($_,r).isSelected?e.jsx(Gt.span,{"aria-hidden":!0,...n,ref:a}):null});U_.displayName=$_;var wC="SelectScrollUpButton",G_=g.forwardRef((t,a)=>{const r=Dr(wC,t.__scopeSelect),n=DS(wC,t.__scopeSelect),[s,i]=g.useState(!1),c=ia(a,n.onScrollButtonChange);return Ra(()=>{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]),s?e.jsx(Z_,{...t,ref:c,onAutoScroll:()=>{const{viewport:l,selectedItem:d}=r;l&&d&&(l.scrollTop=l.scrollTop-d.offsetHeight)}}):null});G_.displayName=wC;var bC="SelectScrollDownButton",W_=g.forwardRef((t,a)=>{const r=Dr(bC,t.__scopeSelect),n=DS(bC,t.__scopeSelect),[s,i]=g.useState(!1),c=ia(a,n.onScrollButtonChange);return Ra(()=>{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]),s?e.jsx(Z_,{...t,ref:c,onAutoScroll:()=>{const{viewport:l,selectedItem:d}=r;l&&d&&(l.scrollTop=l.scrollTop+d.offsetHeight)}}):null});W_.displayName=bC;var Z_=g.forwardRef((t,a)=>{const{__scopeSelect:r,onAutoScroll:n,...s}=t,i=Dr("SelectScrollButton",r),c=g.useRef(null),l=ij(r),d=g.useCallback(()=>{c.current!==null&&(window.clearInterval(c.current),c.current=null)},[]);return g.useEffect(()=>()=>d(),[d]),Ra(()=>{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]),e.jsx(Gt.div,{"aria-hidden":!0,...s,ref:a,style:{flexShrink:0,...s.style},onPointerDown:ut(s.onPointerDown,()=>{c.current===null&&(c.current=window.setInterval(n,50))}),onPointerMove:ut(s.onPointerMove,()=>{var h;(h=i.onItemLeave)==null||h.call(i),c.current===null&&(c.current=window.setInterval(n,50))}),onPointerLeave:ut(s.onPointerLeave,()=>{d()})})}),AB="SelectSeparator",J_=g.forwardRef((t,a)=>{const{__scopeSelect:r,...n}=t;return e.jsx(Gt.div,{"aria-hidden":!0,...n,ref:a})});J_.displayName=AB;var MC="SelectArrow",PB=g.forwardRef((t,a)=>{const{__scopeSelect:r,...n}=t,s=oj(r),i=qr(MC,r),c=Dr(MC,r);return i.open&&c.position==="popper"?e.jsx(j_,{...s,...n,ref:a}):null});PB.displayName=MC;var _B="SelectBubbleInput",X_=g.forwardRef(({__scopeSelect:t,value:a,...r},n)=>{const s=g.useRef(null),i=ia(n,s),c=wS(a);return g.useEffect(()=>{const l=s.current;if(!l)return;const d=window.HTMLSelectElement.prototype,u=Object.getOwnPropertyDescriptor(d,"value").set;if(c!==a&&u){const p=new Event("change",{bubbles:!0});u.call(l,a),l.dispatchEvent(p)}},[c,a]),e.jsx(Gt.select,{...r,style:{...C_,...r.style},ref:i,defaultValue:a})});X_.displayName=_B;function Y_(t){return t===""||t===void 0}function K_(t){const a=sB(t),r=g.useRef(""),n=g.useRef(0),s=g.useCallback(c=>{const l=r.current+c;a(l),function d(h){r.current=h,window.clearTimeout(n.current),h!==""&&(n.current=window.setTimeout(()=>d(""),1e3))}(l)},[a]),i=g.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return g.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,s,i]}function Q_(t,a,r){const s=a.length>1&&Array.from(a).every(h=>h===a[0])?a[0]:a,i=r?t.indexOf(r):-1;let c=RB(t,Math.max(i,0));s.length===1&&(c=c.filter(h=>h!==r));const d=c.find(h=>h.textValue.toLowerCase().startsWith(s.toLowerCase()));return d!==r?d:void 0}function RB(t,a){return t.map((r,n)=>t[(a+n)%t.length])}var TB=S_,eR=N_,qB=A_,DB=P_,zB=__,tR=R_,EB=z_,aR=O_,rR=V_,FB=B_,OB=U_,nR=G_,sR=W_,zS=J_;const So=TB,Lo=qB,Pr=g.forwardRef(({className:t,children:a,...r},n)=>e.jsxs(eR,{ref:n,className:me("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:[a,e.jsx(DB,{asChild:!0,children:e.jsx(bP,{className:"h-4 w-4 opacity-50"})})]}));Pr.displayName=eR.displayName;const iR=g.forwardRef(({className:t,...a},r)=>e.jsx(nR,{ref:r,className:me("flex cursor-default items-center justify-center py-1",t),...a,children:e.jsx(tO,{className:"h-4 w-4"})}));iR.displayName=nR.displayName;const oR=g.forwardRef(({className:t,...a},r)=>e.jsx(sR,{ref:r,className:me("flex cursor-default items-center justify-center py-1",t),...a,children:e.jsx(bP,{className:"h-4 w-4"})}));oR.displayName=sR.displayName;const _r=g.forwardRef(({className:t,children:a,position:r="popper",...n},s)=>e.jsx(zB,{children:e.jsxs(tR,{ref:s,className:me("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:[e.jsx(iR,{}),e.jsx(EB,{className:me("p-1",r==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:a}),e.jsx(oR,{})]})}));_r.displayName=tR.displayName;const HB=g.forwardRef(({className:t,...a},r)=>e.jsx(aR,{ref:r,className:me("px-2 py-1.5 text-sm font-semibold",t),...a}));HB.displayName=aR.displayName;const Ot=g.forwardRef(({className:t,children:a,...r},n)=>e.jsxs(rR,{ref:n,className:me("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:[e.jsx("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(OB,{children:e.jsx(KF,{className:"h-4 w-4"})})}),e.jsx(FB,{children:a})]}));Ot.displayName=rR.displayName;const VB=g.forwardRef(({className:t,...a},r)=>e.jsx(zS,{ref:r,className:me("-mx-1 my-1 h-px bg-muted",t),...a}));VB.displayName=zS.displayName;function BB(t,a,{checkForDefaultPrevented:r=!0}={}){return function(s){if(t==null||t(s),r===!1||!s.defaultPrevented)return a==null?void 0:a(s)}}function $B(t,a=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var k;const{scope:m,children:y,...x}=p,f=((k=m==null?void 0:m[t])==null?void 0:k[d])||l,v=g.useMemo(()=>x,Object.values(x));return e.jsx(f.Provider,{value:v,children:y})};h.displayName=i+"Provider";function u(p,m){var f;const y=((f=m==null?void 0:m[t])==null?void 0:f[d])||l,x=g.useContext(y);if(x)return x;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const s=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return s.scopeName=t,[n,UB(s,...a)]}function UB(...t){const a=t[0];if(t.length===1)return a;const r=()=>{const n=t.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${a.scopeName}`]:c}),[c])}};return r.scopeName=a.scopeName,r}var dl=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},GB=g[" useInsertionEffect ".trim().toString()]||dl;function WB({prop:t,defaultProp:a,onChange:r=()=>{},caller:n}){const[s,i,c]=ZB({defaultProp:a,onChange:r}),l=t!==void 0,d=l?t:s;{const u=g.useRef(t!==void 0);g.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${n} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=l},[l,n])}const h=g.useCallback(u=>{var p;if(l){const m=JB(u)?u(t):u;m!==t&&((p=c.current)==null||p.call(c,m))}else i(u)},[l,t,i,c]);return[d,h]}function ZB({defaultProp:t,onChange:a}){const[r,n]=g.useState(t),s=g.useRef(r),i=g.useRef(a);return GB(()=>{i.current=a},[a]),g.useEffect(()=>{var c;s.current!==r&&((c=i.current)==null||c.call(i,r),s.current=r)},[r,s]),[r,n,i]}function JB(t){return typeof t=="function"}function lN(t,a){if(typeof t=="function")return t(a);t!=null&&(t.current=a)}function XB(...t){return a=>{let r=!1;const n=t.map(s=>{const i=lN(s,a);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let s=0;s<n.length;s++){const i=n[s];typeof i=="function"?i():lN(t[s],null)}}}}function cR(...t){return g.useCallback(XB(...t),t)}var YB=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ES=YB.reduce((t,a)=>{const r=Ke(`Primitive.${a}`),n=g.forwardRef((s,i)=>{const{asChild:c,...l}=s,d=c?r:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),e.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${a}`,{...t,[a]:n}},{});function KB(t,a){return g.useReducer((r,n)=>a[r][n]??r,t)}var lR=t=>{const{present:a,children:r}=t,n=QB(a),s=typeof r=="function"?r({present:n.isPresent}):g.Children.only(r),i=cR(n.ref,e$(s));return typeof r=="function"||n.isPresent?g.cloneElement(s,{ref:i}):null};lR.displayName="Presence";function QB(t){const[a,r]=g.useState(),n=g.useRef(null),s=g.useRef(t),i=g.useRef("none"),c=t?"mounted":"unmounted",[l,d]=KB(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const h=Il(n.current);i.current=l==="mounted"?h:"none"},[l]),dl(()=>{const h=n.current,u=s.current;if(u!==t){const m=i.current,y=Il(h);t?d("MOUNT"):y==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&m!==y?"ANIMATION_OUT":"UNMOUNT"),s.current=t}},[t,d]),dl(()=>{if(a){let h;const u=a.ownerDocument.defaultView??window,p=y=>{const f=Il(n.current).includes(CSS.escape(y.animationName));if(y.target===a&&f&&(d("ANIMATION_END"),!s.current)){const v=a.style.animationFillMode;a.style.animationFillMode="forwards",h=u.setTimeout(()=>{a.style.animationFillMode==="forwards"&&(a.style.animationFillMode=v)})}},m=y=>{y.target===a&&(i.current=Il(n.current))};return a.addEventListener("animationstart",m),a.addEventListener("animationcancel",p),a.addEventListener("animationend",p),()=>{u.clearTimeout(h),a.removeEventListener("animationstart",m),a.removeEventListener("animationcancel",p),a.removeEventListener("animationend",p)}}else d("ANIMATION_END")},[a,d]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:g.useCallback(h=>{n.current=h?getComputedStyle(h):null,r(h)},[])}}function Il(t){return(t==null?void 0:t.animationName)||"none"}function e$(t){var n,s;let a=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=a&&"isReactWarning"in a&&a.isReactWarning;return r?t.ref:(a=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,r=a&&"isReactWarning"in a&&a.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var t$=g[" useId ".trim().toString()]||(()=>{}),a$=0;function r$(t){const[a,r]=g.useState(t$());return dl(()=>{t||r(n=>n??String(a$++))},[t]),t||(a?`radix-${a}`:"")}var cj="Collapsible",[n$,tW]=$B(cj),[s$,FS]=n$(cj),dR=g.forwardRef((t,a)=>{const{__scopeCollapsible:r,open:n,defaultOpen:s,disabled:i,onOpenChange:c,...l}=t,[d,h]=WB({prop:n,defaultProp:s??!1,onChange:c,caller:cj});return e.jsx(s$,{scope:r,disabled:i,contentId:r$(),open:d,onOpenToggle:g.useCallback(()=>h(u=>!u),[h]),children:e.jsx(ES.div,{"data-state":HS(d),"data-disabled":i?"":void 0,...l,ref:a})})});dR.displayName=cj;var hR="CollapsibleTrigger",uR=g.forwardRef((t,a)=>{const{__scopeCollapsible:r,...n}=t,s=FS(hR,r);return e.jsx(ES.button,{type:"button","aria-controls":s.contentId,"aria-expanded":s.open||!1,"data-state":HS(s.open),"data-disabled":s.disabled?"":void 0,disabled:s.disabled,...n,ref:a,onClick:BB(t.onClick,s.onOpenToggle)})});uR.displayName=hR;var OS="CollapsibleContent",pR=g.forwardRef((t,a)=>{const{forceMount:r,...n}=t,s=FS(OS,t.__scopeCollapsible);return e.jsx(lR,{present:r||s.open,children:({present:i})=>e.jsx(i$,{...n,ref:a,present:i})})});pR.displayName=OS;var i$=g.forwardRef((t,a)=>{const{__scopeCollapsible:r,present:n,children:s,...i}=t,c=FS(OS,r),[l,d]=g.useState(n),h=g.useRef(null),u=cR(a,h),p=g.useRef(0),m=p.current,y=g.useRef(0),x=y.current,f=c.open||l,v=g.useRef(f),k=g.useRef(void 0);return g.useEffect(()=>{const w=requestAnimationFrame(()=>v.current=!1);return()=>cancelAnimationFrame(w)},[]),dl(()=>{const w=h.current;if(w){k.current=k.current||{transitionDuration:w.style.transitionDuration,animationName:w.style.animationName},w.style.transitionDuration="0s",w.style.animationName="none";const j=w.getBoundingClientRect();p.current=j.height,y.current=j.width,v.current||(w.style.transitionDuration=k.current.transitionDuration,w.style.animationName=k.current.animationName),d(n)}},[c.open,n]),e.jsx(ES.div,{"data-state":HS(c.open),"data-disabled":c.disabled?"":void 0,id:c.contentId,hidden:!f,...i,ref:u,style:{"--radix-collapsible-content-height":m?`${m}px`:void 0,"--radix-collapsible-content-width":x?`${x}px`:void 0,...t.style},children:f&&s})});function HS(t){return t?"open":"closed"}var o$=dR;const c$=o$,l$=uR,d$=pR,yR=[{category:"Online Casino Operators",items:[{label:"Slots",matchers:["slot","slots"]},{label:"Live Casino",matchers:["live casino","live dealer","live-casino"]},{label:"Jackpots",matchers:["jackpot","jackpots"]},{label:"Sportsbook",matchers:["sportsbook"]},{label:"Crypto",matchers:["crypto","crypto casino","crypto-casino"]}]},{category:"Providers",items:[{label:"Game Provider",matchers:["aggregation","aggregator","game-platform","games","game-api"]},{label:"Live Casino",matchers:["live-casino-studio","live-casino-provider","live-casino","live casino","live studios","live dealer","live dealers","live dealer studio","live dealer studios"]},{label:"Game Platform",matchers:["aggregation","aggregator","game-platform","games","game-api"]},{label:"Bonus Platform",matchers:["bonus","promotions","promo","loyalty"]},{label:"Backoffice",matchers:["backoffice","back office","crm","admin"]},{label:"Gamification",matchers:["gamification"]},{label:"Tech Providers",matchers:["AI","Integrations","Development"]}]},{category:"Affiliate",items:[{label:"Affiliate Agencies",matchers:["affiliate agencies","affiliate","affiliate agency","affiliate marketing"]},{label:"Affiliate Program",matchers:["affiliate program","affiliate programs"]},{label:"Tracking Tools",matchers:["tracking","attribution"]},{label:"Affiliate Tools",matchers:["affiliate tools","attribution","Marketing Platform","Marketing Automation","Marketing Automation Platform"]}]},{category:"Payments",items:[{label:"Payment Processing",matchers:["payment","psp","wallet"]}]},{category:"Compliance",items:[{label:"KYC",matchers:["kyc","know your customer"]},{label:"AML",matchers:["aml","anti-money"]},{label:"Risk & Fraud",matchers:["risk","fraud"]}]}],mR=yR.flatMap(t=>t.items),fR={search:"",companyType:"",verticals:[],productCategories:[],employeeRanges:[],products:[],openRolesRanges:[],yearsActiveRanges:[],hiringNow:!1,scope:"company",claimedOnly:!1,hasLicenses:!1,hasAwards:!1},h$=t=>Array.from(new Set(t.filter(Boolean))).sort((a,r)=>a.localeCompare(r)),u$=t=>{if(typeof t=="string")return t.toLowerCase();if(typeof t=="number")return String(t);if(typeof t=="object"&&t!==null){if("name"in t&&typeof t.name=="string")return t.name.toLowerCase();if("title"in t&&typeof t.title=="string")return t.title.toLowerCase()}return""},p$=t=>{var a,r;if(typeof t=="string")return t;if(typeof t=="object"&&t!==null){const n=t;return n.title??((a=n.tag)==null?void 0:a.name)??((r=n.tag)==null?void 0:r.slug)??null}return null},y$=t=>{const a=t.productsAndServices.flatMap(r=>[r.name,r.category,r.description,...r.keyDifferentiators??[]]);return[t.name,t.companyType,t.classification.businessModel,...t.classification.verticals,...t.classification.productCategories,...t.classification.tags.map(p$).filter(r=>!!r),...a].filter(Boolean)},m$=t=>{const a=y$(t).map(u$).join(" ");return mR.filter(r=>r.matchers.some(n=>a.includes(n))).map(r=>r.label)},f$=t=>{if(!t.overview.foundedYear)return null;const a=new Date().getFullYear();return Math.max(0,a-t.overview.foundedYear)},x$=t=>h$([t.classification.businessModel,...t.productsAndServices.map(a=>a.integrationModel),...t.productsAndServices.flatMap(a=>a.keyDifferentiators)]),g$=t=>{var n;const a=f$(t),r=((n=t.group)==null?void 0:n.intelligenceProfile)??t.signalsAndInsights;return{products:m$(t),capabilities:x$(t),credibility:{licenses:t.trustAndCompliance.licenses.length,awards:t.trustAndCompliance.awards.length,certifications:t.trustAndCompliance.certifications.length,yearsActive:a},commercialSignals:{profileViews30d:r.profileViews30d,followsCount:r.followsCount,hiringIntensity:r.hiringIntensity,searchImpressions:t.visibilityMetrics.searchImpressions,profileClicks:t.visibilityMetrics.profileClicks,externalClicks:t.visibilityMetrics.externalClicks}}},dN=({filters:t,options:a,onFiltersChange:r,onClearFilters:n,resultCount:s})=>{const[i,c]=M.useState({companyType:!0,verticals:!0,products:!0,normalizedProducts:!0,employees:!1,hiring:!0,credibility:!0,signals:!1}),l=y=>{c(x=>({...x,[y]:!x[y]}))},d={companyTypes:a.companyTypes??[],verticals:a.verticals??[],productCategories:a.productCategories??[],employeeRanges:a.employeeRanges??[],products:a.products??[],openRolesRanges:a.openRolesRanges??[],yearsActiveRanges:a.yearsActiveRanges??[]},h=(y,x)=>{r({...t,[y]:x})},u=(y,x)=>{const f=t[y],v=f.includes(x)?f.filter(k=>k!==x):[...f,x];h(y,v)},p=(t.companyType?1:0)+t.verticals.length+t.productCategories.length+t.employeeRanges.length+t.products.length+t.openRolesRanges.length+t.yearsActiveRanges.length+(t.hiringNow?1:0)+(t.claimedOnly?1:0)+(t.hasLicenses?1:0)+(t.hasAwards?1:0),m=({id:y,title:x,icon:f,children:v})=>e.jsxs(c$,{open:i[y],onOpenChange:()=>l(y),children:[e.jsxs(l$,{className:"flex items-center justify-between w-full py-3 text-left group",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(f,{className:"w-4 h-4 text-muted-foreground"}),e.jsx("span",{className:"font-medium text-sm",children:x})]}),i[y]?e.jsx(Oo,{className:"w-4 h-4 text-muted-foreground"}):e.jsx(yr,{className:"w-4 h-4 text-muted-foreground"})]}),e.jsx(d$,{className:"pb-4",children:v})]});return e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"relative",children:[e.jsx(Vt,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground"}),e.jsx(Re,{placeholder:"Search companies, products, tags...",value:t.search,onChange:y=>h("search",y.target.value),className:"pl-10"})]}),e.jsxs("div",{className:"flex items-center justify-between gap-2 rounded-lg border border-border px-3 py-2",children:[e.jsx("span",{className:"text-xs font-medium text-muted-foreground",children:"View scope"}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(z,{type:"button",size:"sm",variant:t.scope==="company"?"default":"outline",onClick:()=>h("scope","company"),children:"Companies"}),e.jsx(z,{type:"button",size:"sm",variant:t.scope==="group"?"default":"outline",onClick:()=>h("scope","group"),children:"Groups"})]})]}),p>0&&e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("span",{className:"text-sm text-muted-foreground",children:[p," filter",p!==1?"s":""," active"]}),e.jsxs(z,{variant:"ghost",size:"sm",onClick:n,className:"text-accent h-auto py-1",children:[e.jsx(jt,{className:"w-3 h-3 mr-1"}),"Clear all"]})]}),e.jsxs("div",{className:"text-sm font-medium text-foreground py-2 px-3 bg-secondary/50 rounded-lg",children:[s," ",s===1?t.scope==="group"?"group":"company":t.scope==="group"?"groups":"companies"," found"]}),e.jsxs("div",{className:"divide-y divide-border",children:[e.jsx(m,{id:"companyType",title:"Company Type",icon:xt,children:e.jsxs(So,{value:t.companyType||"all",onValueChange:y=>h("companyType",y==="all"?"":y),children:[e.jsx(Pr,{className:"w-full",children:e.jsx(Lo,{placeholder:"All company types"})}),e.jsxs(_r,{children:[e.jsx(Ot,{value:"all",children:"All company types"}),d.companyTypes.map(y=>e.jsx(Ot,{value:y,children:y},y))]})]})}),e.jsx(m,{id:"verticals",title:"Verticals",icon:Pc,children:e.jsx("div",{className:"flex flex-wrap gap-2",children:d.verticals.map(y=>e.jsx(ge,{variant:t.verticals.includes(y)?"default":"outline",className:"cursor-pointer transition-colors",onClick:()=>u("verticals",y),children:y},y))})}),e.jsx(m,{id:"products",title:"Products & Services",icon:ta,children:e.jsx("div",{className:"space-y-2 max-h-48 overflow-y-auto",children:d.productCategories.map(y=>e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(Tt,{id:`cat-${y}`,checked:t.productCategories.includes(y),onCheckedChange:()=>u("productCategories",y)}),e.jsx(se,{htmlFor:`cat-${y}`,className:"text-sm font-normal cursor-pointer flex-1",children:y})]},y))})}),e.jsx(m,{id:"normalizedProducts",title:"Normalized Products",icon:Ma,children:e.jsx("div",{className:"space-y-3",children:yR.map(y=>e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-semibold uppercase text-muted-foreground mb-2",children:y.category}),e.jsx("div",{className:"space-y-2",children:y.items.map(x=>x.label).filter(x=>(d.products??[]).includes(x)).map(x=>e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(Tt,{id:`product-${x}`,checked:t.products.includes(x),onCheckedChange:()=>u("products",x)}),e.jsx(se,{htmlFor:`product-${x}`,className:"text-sm font-normal cursor-pointer flex-1",children:x})]},x))})]},y.category))})}),e.jsx(m,{id:"employees",title:"Company Size",icon:Lt,children:e.jsx("div",{className:"space-y-2",children:d.employeeRanges.map(y=>e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(Tt,{id:`emp-${y}`,checked:t.employeeRanges.includes(y),onCheckedChange:()=>u("employeeRanges",y)}),e.jsxs(se,{htmlFor:`emp-${y}`,className:"text-sm font-normal cursor-pointer flex-1",children:[y," employees"]})]},y))})}),e.jsx(m,{id:"hiring",title:"Hiring",icon:at,children:e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(Tt,{id:"hiring-now",checked:t.hiringNow,onCheckedChange:y=>h("hiringNow",y===!0)}),e.jsxs(se,{htmlFor:"hiring-now",className:"text-sm font-normal cursor-pointer flex items-center gap-2",children:[e.jsx("span",{className:"w-2 h-2 rounded-full bg-gaming-success"}),"Hiring now"]})]}),e.jsxs("div",{children:[e.jsx(se,{className:"text-xs text-muted-foreground mb-2 inline-flex items-center",children:"Open roles count"}),e.jsx("div",{className:"space-y-2",children:d.openRolesRanges.map(y=>e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(Tt,{id:`open-roles-${y}`,checked:t.openRolesRanges.includes(y),onCheckedChange:()=>u("openRolesRanges",y)}),e.jsxs(se,{htmlFor:`open-roles-${y}`,className:"text-sm font-normal cursor-pointer flex-1",children:[y," roles"]})]},y))})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(Tt,{id:"claimed-only",checked:t.claimedOnly,onCheckedChange:y=>h("claimedOnly",y===!0)}),e.jsxs(se,{htmlFor:"claimed-only",className:"text-sm font-normal cursor-pointer flex items-center gap-2",children:[e.jsx(rt,{className:"w-3.5 h-3.5 text-accent"}),"Claimed profiles only"]})]})]})}),e.jsx(m,{id:"credibility",title:"Credibility",icon:rt,children:e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(Tt,{id:"has-licenses",checked:t.hasLicenses,onCheckedChange:y=>h("hasLicenses",y===!0)}),e.jsx(se,{htmlFor:"has-licenses",className:"text-sm font-normal cursor-pointer",children:"Licensed operators/providers"})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(Tt,{id:"has-awards",checked:t.hasAwards,onCheckedChange:y=>h("hasAwards",y===!0)}),e.jsx(se,{htmlFor:"has-awards",className:"text-sm font-normal cursor-pointer",children:"Award winners"})]}),e.jsxs("div",{children:[e.jsx(se,{className:"text-xs text-muted-foreground mb-2 inline-flex items-center",children:"Years active"}),e.jsx("div",{className:"space-y-2",children:d.yearsActiveRanges.map(y=>e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(Tt,{id:`years-${y}`,checked:t.yearsActiveRanges.includes(y),onCheckedChange:()=>u("yearsActiveRanges",y)}),e.jsxs(se,{htmlFor:`years-${y}`,className:"text-sm font-normal cursor-pointer flex-1",children:[y," years"]})]},y))})]})]})})]}),e.jsxs("div",{className:"p-4 bg-gradient-to-br from-accent/10 to-gaming-gold/10 rounded-xl border border-accent/20",children:[e.jsx("h4",{className:"font-semibold text-sm mb-1",children:"Need vendor recommendations?"}),e.jsx("p",{className:"text-xs text-muted-foreground mb-3",children:"Tell us what you need and we'll create a shortlist for you."}),e.jsx(z,{variant:"accent",size:"sm",className:"w-full",children:"Request Intro"})]})]})},k$=({count:t=4})=>e.jsx("div",{className:"space-y-4 animate-fade-in",children:[...Array(t)].map((a,r)=>e.jsx("div",{className:"bg-white rounded-lg shadow-sm p-5 border border-border/50 animate-pulse",children:e.jsxs("div",{className:"flex gap-4",children:[e.jsx("div",{className:"w-16 h-16 rounded-xl bg-gray-200 flex-shrink-0"}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsxs("div",{className:"flex items-start justify-between gap-2 mb-2",children:[e.jsxs("div",{className:"space-y-2 flex-1",children:[e.jsx("div",{className:"h-5 bg-gray-200 rounded w-1/3"}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"h-3 bg-gray-200 rounded w-28"}),e.jsx("div",{className:"h-3 bg-gray-200 rounded w-20"})]})]}),e.jsx("div",{className:"h-8 bg-gray-200 rounded w-20"})]}),e.jsxs("div",{className:"flex flex-wrap gap-2 mb-3",children:[e.jsx("div",{className:"h-5 bg-gray-200 rounded w-20"}),e.jsx("div",{className:"h-5 bg-gray-200 rounded w-24"}),e.jsx("div",{className:"h-5 bg-gray-200 rounded w-16"})]}),e.jsxs("div",{className:"space-y-2 mb-3",children:[e.jsx("div",{className:"h-3 bg-gray-200 rounded w-full"}),e.jsx("div",{className:"h-3 bg-gray-200 rounded w-3/4"})]}),e.jsxs("div",{className:"flex flex-wrap gap-2 mb-3",children:[e.jsx("div",{className:"h-5 bg-gray-200 rounded w-16"}),e.jsx("div",{className:"h-5 bg-gray-200 rounded w-14"}),e.jsx("div",{className:"h-5 bg-gray-200 rounded w-20"})]}),e.jsxs("div",{className:"flex items-center justify-between pt-3 border-t border-border/50",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"h-3 bg-gray-200 rounded w-24"}),e.jsx("div",{className:"h-3 bg-gray-200 rounded w-20"})]}),e.jsx("div",{className:"h-6 bg-gray-200 rounded w-24"})]})]})]})},r))}),v$=t=>{const a=mR.find(r=>r.label===t);return(a==null?void 0:a.label)??t},w$=({entities:t,onClearSelection:a,maxSelections:r})=>e.jsxs(de,{className:"border-border/60",children:[e.jsxs(xe,{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold",children:"Comparison"}),e.jsxs("p",{className:"text-sm text-muted-foreground",children:["Comparing ",t.length," of ",r," selected profiles"]})]}),e.jsx(z,{variant:"ghost",size:"sm",onClick:a,children:"Clear selection"})]}),e.jsx(ue,{children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("div",{className:"min-w-[640px] grid gap-4",children:[e.jsxs("div",{className:"grid grid-cols-[180px_repeat(auto-fit,minmax(180px,1fr))] gap-4 items-start",children:[e.jsx("div",{className:"text-xs font-semibold uppercase text-muted-foreground",children:"Profile"}),t.map(n=>e.jsx("div",{className:"font-semibold text-sm",children:n.name},n.id))]}),e.jsxs("div",{className:"grid grid-cols-[180px_repeat(auto-fit,minmax(180px,1fr))] gap-4 items-start",children:[e.jsx("div",{className:"text-xs font-semibold uppercase text-muted-foreground",children:"Products"}),t.map(n=>{const s=n.normalizedProfile;return e.jsx("div",{className:"flex flex-wrap gap-1",children:s.products.length===0?e.jsx("span",{className:"text-xs text-muted-foreground",children:"No normalized products"}):s.products.map(i=>e.jsx(ge,{variant:"secondary",className:"text-xs",children:v$(i)},i))},n.id)})]}),e.jsxs("div",{className:"grid grid-cols-[180px_repeat(auto-fit,minmax(180px,1fr))] gap-4 items-start",children:[e.jsx("div",{className:"text-xs font-semibold uppercase text-muted-foreground",children:"Capabilities"}),t.map(n=>{const s=n.normalizedProfile;return e.jsx("div",{className:"flex flex-wrap gap-1",children:s.capabilities.length===0?e.jsx("span",{className:"text-xs text-muted-foreground",children:"No data"}):s.capabilities.map(i=>e.jsx(ge,{variant:"outline",className:"text-xs",children:i},i))},n.id)})]}),e.jsxs("div",{className:"grid grid-cols-[180px_repeat(auto-fit,minmax(180px,1fr))] gap-4 items-start",children:[e.jsx("div",{className:"text-xs font-semibold uppercase text-muted-foreground",children:"Credibility"}),t.map(n=>{const s=n.normalizedProfile;return e.jsxs("div",{className:"text-sm text-muted-foreground space-y-1",children:[e.jsxs("div",{children:["Licenses: ",e.jsx("span",{className:"text-foreground",children:s.credibility.licenses})]}),e.jsxs("div",{children:["Awards: ",e.jsx("span",{className:"text-foreground",children:s.credibility.awards})]}),e.jsxs("div",{children:["Years active:"," ",e.jsx("span",{className:"text-foreground",children:s.credibility.yearsActive??"N/A"})]})]},n.id)})]}),e.jsxs("div",{className:"grid grid-cols-[180px_repeat(auto-fit,minmax(180px,1fr))] gap-4 items-start",children:[e.jsx("div",{className:"text-xs font-semibold uppercase text-muted-foreground",children:"Commercial Signals"}),t.map(n=>{const s=n.normalizedProfile;return e.jsxs("div",{className:"text-sm text-muted-foreground space-y-1",children:[e.jsxs("div",{children:["Profile views (30d):"," ",e.jsx("span",{className:"text-foreground",children:s.commercialSignals.profileViews30d})]}),e.jsxs("div",{children:["Followers:"," ",e.jsx("span",{className:"text-foreground",children:s.commercialSignals.followsCount})]}),e.jsxs("div",{children:["Hiring intensity:"," ",e.jsx("span",{className:"text-foreground",children:s.commercialSignals.hiringIntensity})]}),e.jsxs("div",{children:["Search impressions:"," ",e.jsx("span",{className:"text-foreground",children:s.commercialSignals.searchImpressions})]})]},n.id)})]})]})})})]}),b$=({viewMode:t,onToggleViewMode:a,selectedItemsPerPage:r,onItemsPerPageChange:n,totalCount:s,startIndex:i,endIndex:c,title:l,items:d})=>e.jsx("div",{className:"lg:block hidden bg-white rounded-lg shadow-sm border border-gray-200 p-4 mb-6",children:e.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(xt,{className:"w-5 h-5 text-muted-foreground"}),e.jsx("h3",{className:"text-xl font-semibold text-gray-900",children:l})]}),e.jsxs("p",{className:"text-sm text-gray-600",children:["Showing ",e.jsx("span",{className:"font-semibold text-gray-900",children:i}),"–",e.jsx("span",{className:"font-semibold text-gray-900",children:c})," of"," ",e.jsx("span",{className:"font-semibold text-gray-900",children:s})," ",d]})]}),e.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center gap-3",children:[e.jsx(EA,{viewMode:t,onToggle:a}),e.jsx(FA,{value:r,onChange:n})]})]})}),M$=()=>e.jsx("section",{className:"bg-gradient-to-br from-primary via-primary to-primary-variant py-12",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs("div",{className:"max-w-3xl",children:[e.jsxs(bc,{className:"bg-accent/20 text-accent border-accent/30 mb-4",children:[e.jsx(Ma,{className:"w-3 h-3 mr-1"}),"iGaming Intelligence"]}),e.jsx("h1",{className:"text-3xl md:text-4xl font-bold text-primary-foreground mb-3",children:"iGaming Company Directory"}),e.jsx("p",{className:"text-primary-foreground/80 text-lg",children:"Discover operators, suppliers, affiliates, and service providers. Filter by type, vertical, jurisdiction, and hiring signals."})]})})}),Hj=4,j$=t=>(t.companyType?1:0)+t.verticals.length+t.productCategories.length+t.employeeRanges.length+t.products.length+t.openRolesRanges.length+t.yearsActiveRanges.length+(t.hiringNow?1:0)+(t.claimedOnly?1:0)+(t.hasLicenses?1:0)+(t.hasAwards?1:0),xR=({companies:t,filterOptions:a,loading:r,page:n,pageSize:s,totalCount:i,totalPages:c,onPageChange:l,onPageSizeChange:d,filters:h,onFiltersChange:u,onClearFilters:p,viewMode:m,onViewModeChange:y,followDisabled:x=!1,followLoading:f=!1,onToggleFollow:v,onFollowAction:k,saveDisabled:w=!1,saveLoading:j=!1,onToggleSave:S,onSaveAction:C})=>{const[A,L]=M.useState(!1),[b,N]=M.useState([]),[q,P]=M.useState(!0),{displayCompanies:R,comparisonEntities:T}=M.useMemo(()=>{const X=t.map(J=>{var pe,we,Z;const ae=h.scope==="group",Q=((we=(pe=J.group)==null?void 0:pe.companies)==null?void 0:we.length)??1;return{company:J,displayName:ae?((Z=J.group)==null?void 0:Z.name)??J.groupName??J.name:J.name,openRolesCount:Array.isArray(J.jobs.openRoles)?J.jobs.openRoles.length:J.jobs.openRoles,groupMembersCount:Q,isGroup:ae,comparisonProfile:g$(J),comparisonId:J.id}});return{displayCompanies:X,comparisonEntities:X.map(J=>({id:J.comparisonId,name:J.displayName,normalizedProfile:J.comparisonProfile}))}},[t,h.scope]),$=M.useMemo(()=>j$(h),[h]),W=M.useMemo(()=>T.filter(X=>b.includes(X.id)),[T,b]);M.useEffect(()=>{N([])},[h.scope]),M.useEffect(()=>{N(X=>X.filter(J=>T.some(ae=>ae.id===J)))},[T]);const B=X=>{N(J=>J.includes(X)?J.filter(ae=>ae!==X):J.length>=Hj?J:[...J,X])},U=()=>{N([])},O=i===0?0:(n-1)*s+1,le=Math.min(n*s,i),re=m==="grid"?"grid gap-6 sm:grid-cols-2 xl:grid-cols-3":"space-y-4";return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx(M$,{}),e.jsx("section",{className:"py-8",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs("div",{className:"flex gap-8",children:[e.jsx("aside",{className:"hidden lg:block w-80 flex-shrink-0",children:e.jsxs("div",{className:"sticky top-24 bg-card rounded-xl border border-border p-5",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx(xr,{className:"w-5 h-5 text-accent"}),e.jsx("h2",{className:"font-semibold",children:"Filters"})]}),e.jsx(dN,{filters:h,options:a,onFiltersChange:u,onClearFilters:p,resultCount:i})]})}),e.jsxs("main",{className:"flex-1 min-w-0",children:[e.jsx("div",{className:"lg:hidden mb-4",children:e.jsxs(z,{variant:"outline",onClick:()=>L(!0),className:"w-full",children:[e.jsx(xr,{className:"w-4 h-4 mr-2"}),"Filters",$>0&&e.jsx(ge,{variant:"secondary",className:"ml-2",children:"Active"})]})}),e.jsx(b$,{viewMode:m,onToggleViewMode:y,selectedItemsPerPage:s,onItemsPerPageChange:d,totalCount:i,startIndex:O,endIndex:le,title:"All companies",items:"companies"}),e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsx("div",{className:"flex items-center gap-3"}),e.jsxs("div",{className:"flex items-center gap-2",children:[b.length>0&&e.jsxs(z,{variant:"outline",size:"sm",onClick:()=>P(X=>!X),children:[q?"Hide comparison":"Show comparison"," (",b.length,")"]}),e.jsx("span",{className:"text-sm text-muted-foreground hidden sm:inline",children:"Sort by:"}),e.jsxs(z,{variant:"ghost",size:"sm",className:"text-accent",children:[e.jsx(Ia,{className:"w-4 h-4 mr-1"}),"Most Active"]})]})]}),W.length>0&&q&&e.jsx("div",{className:"mb-6",children:e.jsx(w$,{entities:W,onClearSelection:U,maxSelections:Hj})}),r?e.jsx(k$,{count:s}):e.jsx("div",{className:re,children:R.map(X=>e.jsx(CH,{company:X.company,displayName:X.displayName,openRolesCount:X.openRolesCount,groupMembersCount:X.groupMembersCount,isGroup:X.isGroup,viewMode:m,compareId:X.comparisonId,compareSelected:b.includes(X.comparisonId),compareDisabled:!b.includes(X.comparisonId)&&b.length>=Hj,onToggleCompare:B,followDisabled:x,followLoading:f,onToggleFollow:v,onFollowAction:k,saveDisabled:w,saveLoading:j,onToggleSave:S,onSaveAction:C},X.company.id))}),!r&&c>1&&e.jsx(B9,{currentPage:n,totalPages:c,onPageChange:l}),!r&&i===0&&e.jsxs("div",{className:"text-center py-16",children:[e.jsx(xt,{className:"w-12 h-12 text-muted-foreground mx-auto mb-4"}),e.jsxs("h3",{className:"text-lg font-medium mb-2",children:["No ",h.scope==="group"?"groups":"companies"," found"]}),e.jsx("p",{className:"text-muted-foreground mb-4",children:"Try adjusting your filters"}),e.jsx(z,{variant:"outline",onClick:p,children:"Clear all filters"})]})]})]})})}),A&&e.jsxs("div",{className:"fixed inset-0 z-50 lg:hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-black/50",onClick:()=>L(!1)}),e.jsxs("div",{className:"absolute right-0 top-0 h-full w-full max-w-sm bg-background p-6 overflow-y-auto",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsx("h2",{className:"font-semibold text-lg",children:"Filters"}),e.jsx(z,{variant:"ghost",size:"icon",onClick:()=>L(!1),children:e.jsx(jt,{className:"w-5 h-5"})})]}),e.jsx(dN,{filters:h,options:a,onFiltersChange:u,onClearFilters:p,resultCount:i})]})]})]})},_9=g.forwardRef(({className:t,...a},r)=>e.jsx("textarea",{className:me("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,...a}));_9.displayName="Textarea";const C$=({company:t,open:a,onOpenChange:r})=>{const[n,s]=M.useState(1),[i,c]=M.useState({fullName:"",workEmail:"",jobTitle:"",relationship:"",message:""}),l=()=>{s(3)},d=()=>{s(1),c({fullName:"",workEmail:"",jobTitle:"",relationship:"",message:""}),r(!1)};return e.jsx(Qa,{open:a,onOpenChange:d,children:e.jsxs(qa,{className:"sm:max-w-[500px]",children:[n===1&&e.jsxs(e.Fragment,{children:[e.jsxs(fa,{children:[e.jsx("div",{className:"w-12 h-12 rounded-xl bg-gradient-to-br from-accent/20 to-gaming-gold/20 flex items-center justify-center mb-2",children:e.jsx(xt,{className:"w-6 h-6 text-accent"})}),e.jsxs(na,{children:["Claim ",t.name,"'s Profile"]}),e.jsx(go,{children:"Verify your affiliation to manage this company's page, add products, respond to reviews, and access analytics."})]}),e.jsx("div",{className:"space-y-4 py-4",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-start gap-3 p-3 bg-secondary/50 rounded-lg",children:[e.jsx(rt,{className:"w-5 h-5 text-gaming-success mt-0.5"}),e.jsxs("div",{children:[e.jsx("p",{className:"font-medium text-sm",children:"Update company information"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"Add products, edit descriptions, and manage your profile"})]})]}),e.jsxs("div",{className:"flex items-start gap-3 p-3 bg-secondary/50 rounded-lg",children:[e.jsx(rt,{className:"w-5 h-5 text-gaming-success mt-0.5"}),e.jsxs("div",{children:[e.jsx("p",{className:"font-medium text-sm",children:"Access analytics"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"See who's viewing your profile and track engagement"})]})]}),e.jsxs("div",{className:"flex items-start gap-3 p-3 bg-secondary/50 rounded-lg",children:[e.jsx(rt,{className:"w-5 h-5 text-gaming-success mt-0.5"}),e.jsxs("div",{children:[e.jsx("p",{className:"font-medium text-sm",children:"Publish jobs & events"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"Post open roles and announce event attendance"})]})]}),e.jsxs("div",{className:"flex items-start gap-3 p-3 bg-secondary/50 rounded-lg",children:[e.jsx(rt,{className:"w-5 h-5 text-gaming-success mt-0.5"}),e.jsxs("div",{children:[e.jsx("p",{className:"font-medium text-sm",children:"Enable meeting bookings"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"Let potential partners request meetings at events"})]})]})]})}),e.jsxs(ra,{children:[e.jsx(z,{variant:"outline",onClick:d,children:"Cancel"}),e.jsxs(z,{variant:"accent",onClick:()=>s(2),children:["Continue",e.jsx(co,{className:"w-4 h-4 ml-2"})]})]})]}),n===2&&e.jsxs(e.Fragment,{children:[e.jsxs(fa,{children:[e.jsx(na,{children:"Verify Your Affiliation"}),e.jsxs(go,{children:["We'll verify your work email domain to confirm your connection to ",t.name,"."]})]}),e.jsx("div",{className:"space-y-4 py-4",children:e.jsxs("div",{className:"grid gap-4",children:[e.jsxs("div",{className:"grid gap-2",children:[e.jsx(se,{htmlFor:"fullName",children:"Full Name"}),e.jsx(Re,{id:"fullName",placeholder:"John Smith",value:i.fullName,onChange:h=>c({...i,fullName:h.target.value})})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(se,{htmlFor:"workEmail",children:"Work Email"}),e.jsxs("div",{className:"relative",children:[e.jsx(aa,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground"}),e.jsx(Re,{id:"workEmail",type:"email",placeholder:`you@${t.overview.website.replace(/^https?:\/\/(www\.)?/,"").split("/")[0]}`,className:"pl-10",value:i.workEmail,onChange:h=>c({...i,workEmail:h.target.value})})]}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"We'll send a verification link to this address"})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(se,{htmlFor:"jobTitle",children:"Job Title"}),e.jsxs("div",{className:"relative",children:[e.jsx(at,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground"}),e.jsx(Re,{id:"jobTitle",placeholder:"e.g., Marketing Manager",className:"pl-10",value:i.jobTitle,onChange:h=>c({...i,jobTitle:h.target.value})})]})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(se,{htmlFor:"relationship",children:"Your Role"}),e.jsxs(So,{value:i.relationship,onValueChange:h=>c({...i,relationship:h}),children:[e.jsx(Pr,{children:e.jsx(Lo,{placeholder:"Select your relationship"})}),e.jsxs(_r,{children:[e.jsx(Ot,{value:"employee",children:"Current Employee"}),e.jsx(Ot,{value:"founder",children:"Founder / Executive"}),e.jsx(Ot,{value:"hr",children:"HR / Recruiting"}),e.jsx(Ot,{value:"marketing",children:"Marketing / PR"}),e.jsx(Ot,{value:"agency",children:"Authorized Agency"})]})]})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(se,{htmlFor:"message",children:"Additional Information (Optional)"}),e.jsx(_9,{id:"message",placeholder:"Any additional context to help verify your claim...",value:i.message,onChange:h=>c({...i,message:h.target.value}),rows:3})]})]})}),e.jsxs(ra,{children:[e.jsx(z,{variant:"outline",onClick:()=>s(1),children:"Back"}),e.jsx(z,{variant:"accent",onClick:l,disabled:!i.fullName||!i.workEmail||!i.relationship,children:"Submit Claim Request"})]})]}),n===3&&e.jsxs(e.Fragment,{children:[e.jsxs(fa,{className:"text-center",children:[e.jsx("div",{className:"w-16 h-16 rounded-full bg-gaming-success/10 flex items-center justify-center mx-auto mb-4",children:e.jsx(rt,{className:"w-8 h-8 text-gaming-success"})}),e.jsx(na,{children:"Claim Request Submitted!"}),e.jsxs(go,{className:"text-center",children:["We've sent a verification email to ",e.jsx("strong",{children:i.workEmail}),". Click the link in the email to verify your affiliation."]})]}),e.jsx("div",{className:"py-4",children:e.jsxs("div",{className:"p-4 bg-secondary/50 rounded-lg text-sm text-muted-foreground",children:[e.jsx("p",{className:"font-medium text-foreground mb-2",children:"What happens next?"}),e.jsxs("ul",{className:"space-y-2",children:[e.jsx("li",{children:"• Check your email for the verification link"}),e.jsx("li",{children:"• Our team will review your claim within 24-48 hours"}),e.jsx("li",{children:"• You'll receive an email once your claim is approved"})]})]})}),e.jsx(ra,{children:e.jsx(z,{variant:"accent",onClick:d,className:"w-full",children:"Done"})})]})]})})};function m9({job:t,view:a,isSaved:r=!1,onApply:n,onSave:s,onRemove:i,onViewApplication:c}){var h;const l=t.city?`${t.city}, ${t.country}`:t.location,d=t.salaryMin&&t.salaryMax?`${t.salaryMin}–${t.salaryMax} ${t.salaryCurrency||""}`:void 0;return e.jsxs(de,{children:[e.jsxs(xe,{children:[e.jsxs("div",{className:"flex justify-between items-start",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx(ke,{className:"text-lg",children:t.title}),e.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground mt-2",children:[e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(Eo,{className:"h-4 w-4"}),t.company]}),e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(st,{className:"h-4 w-4"}),l]})]})]}),a==="applications"&&t.status&&e.jsx(ge,{variant:"secondary",children:t.status})]}),d&&e.jsx("p",{className:"text-sm font-semibold text-accent mt-1",children:d})]}),e.jsx(ue,{children:e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex flex-wrap gap-2",children:[t.department&&e.jsx(ge,{variant:"outline",children:t.department}),(h=t.skills)==null?void 0:h.slice(0,6).map(u=>e.jsx(ge,{variant:"secondary",children:u},u))]}),a==="applications"&&t.appliedDate&&e.jsxs("p",{className:"text-xs text-muted-foreground flex items-center gap-1",children:[e.jsx(ma,{className:"h-3 w-3"}),"Applied ",t.appliedDate]}),e.jsxs("div",{className:"flex gap-2",children:[a==="recommended"&&e.jsxs(e.Fragment,{children:[e.jsx(z,{size:"sm",onClick:()=>n==null?void 0:n(t.id),children:"Apply Now"}),e.jsx(z,{size:"sm",variant:r?"secondary":"outline",disabled:r,onClick:()=>s==null?void 0:s(t),children:r?"Saved":"Save Job"}),e.jsx(z,{size:"sm",variant:"destructive",onClick:()=>i==null?void 0:i(t.id),children:"Remove"})]}),a==="saved"&&e.jsx(z,{size:"sm",variant:"destructive",onClick:()=>i==null?void 0:i(t.id),children:"Remove"}),a==="applications"&&e.jsx(z,{size:"sm",variant:"outline",onClick:()=>c==null?void 0:c(t.id),children:"View Application"}),a==="company"&&e.jsx(z,{size:"sm",variant:"outline",onClick:()=>{window.location.href=t.link},children:"Apply"})]})]})})]})}function jC({article:t,view:a,isSaved:r=!1,onRead:n,onSave:s,onRemove:i}){var c;return e.jsxs(de,{children:[e.jsxs(xe,{children:[e.jsxs("div",{className:"flex gap-2 items-start mb-2",children:[(c=t.categories)==null?void 0:c.map(l=>e.jsx(ge,{variant:"secondary",children:l})),e.jsx("span",{className:"text-xs text-muted-foreground",children:t.publishedDate})]}),e.jsx(ke,{className:"text-lg",children:t.title}),e.jsxs($e,{className:"text-xs",children:[t.source?t.source:t.company," • ",t.readTime," min"]})]}),e.jsx(ue,{children:e.jsxs("div",{className:"space-y-3",children:[e.jsx("p",{className:"text-sm text-muted-foreground line-clamp-2",children:t.excerpt}),e.jsx("div",{className:"flex flex-wrap gap-2",children:t.tags.map(l=>e.jsx(ge,{variant:"outline",className:"text-xs",children:l},l))}),e.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:flex-wrap",children:[e.jsx(z,{size:"sm",onClick:()=>n==null?void 0:n(t.id),children:"Read Article"}),a==="recommended"&&e.jsxs(e.Fragment,{children:[e.jsx(z,{size:"sm",variant:r?"secondary":"outline",disabled:r,onClick:()=>s==null?void 0:s(t),children:r?"Saved":"Save"}),e.jsx(z,{size:"sm",variant:"destructive",onClick:()=>i==null?void 0:i(t.id),children:"Remove"})]}),a==="saved"&&e.jsx(z,{size:"sm",variant:"destructive",onClick:()=>i==null?void 0:i(t.id),children:"Remove Saved"}),a==="company"&&e.jsx(z,{size:"sm",variant:"outline",onClick:()=>n==null?void 0:n(t.id),children:"Read"})]})]})})]})}const S$=({company:t,jobs:a,news:r,events:n,officeLocations:s,isFollowing:i,followLoading:c=!1,followDisabled:l=!1,onToggleFollow:d,onFollowAction:h,isSaved:u,saveLoading:p=!1,saveDisabled:m=!1,onToggleSave:y,onSaveAction:x})=>{var Oe,ct,Je,oa,yt,lt,Wt,F,V,K,Ne;const[f,v]=M.useState(!1);if(!t)return e.jsx("div",{className:"min-h-screen bg-background",children:e.jsxs("div",{className:"container mx-auto px-4 py-16 text-center",children:[e.jsx(xt,{className:"w-16 h-16 text-muted-foreground mx-auto mb-4"}),e.jsx("h1",{className:"text-2xl font-bold mb-2",children:"Company Not Found"}),e.jsx("p",{className:"text-muted-foreground mb-6",children:"The company you're looking for doesn't exist."}),e.jsx("a",{href:"/companies",children:e.jsx(z,{variant:"accent",children:"Browse Directory"})})]})});const k=((ct=(Oe=t.webIntelligence)==null?void 0:Oe.menus.primary_nav_details)==null?void 0:ct.flatMap(D=>D.key_points))??[],w=t.trustAndCompliance.licenses.length+t.trustAndCompliance.certifications.length+t.trustAndCompliance.awards.length,j=t.signalsAndInsights,S=((Je=t.group)==null?void 0:Je.name)??t.groupName??t.group_name??null,C=((oa=t.group)==null?void 0:oa.slug)??t.groupSlug??t.group_slug??((yt=t.group)==null?void 0:yt.id)??t.groupId??t.group_id??void 0,A=a??[],L=r??[],b=n??[],N=A.length>0?A.length:Array.isArray(t.jobs.openRoles)?t.jobs.openRoles.length:t.jobs.openRoles,q=D=>typeof D=="string"?D:`${D.authority} (${D.jurisdiction})`,P=D=>typeof D=="string"?D:`${D.name} (${D.year})`,R=D=>"name"in D?D.name:D.eventName,T=D=>"startDate"in D?`${D.startDate}${D.endDate?` - ${D.endDate}`:""}`:D.date,$=D=>typeof D=="string"?D:`${D.title} • ${D.source}`,W=D=>typeof D=="object"&&D!==null&&"url"in D,B=D=>{if(typeof D=="string")return D;const ie=D.city??D.cities??D.location,be=D.country;return`${ie??"Remote"}, ${be??"Global"}`},U=s??t.overview.officeLocations??[],O=i??t.isFollowing??!1,le=l||c,re=O?"Unfollow Company":"Follow Company",X=u??t.isSaved??!1,J=m||p,ae=X?"Remove from Saved":"Save Company",Q=()=>t.claimedStatus==="claimed"?e.jsxs(ge,{className:"bg-accent/10 text-accent border-accent/20",children:[e.jsx(rt,{className:"w-3 h-3 mr-1"}),"Claimed"]}):null,pe=[{name:"Casino Games (Slots & RNG)",category:"Game Content",description:"RNG-based casino games including slots and table games.",keywords:["slot","rng","casino game","table game","jackpot","buy bonus"],negativeKeywords:["live casino games","live casino"],priority:10},{name:"Live Casino Games",category:"Live Casino",description:"Live dealer games streamed from professional studios.",keywords:["live casino games","live dealer games","roulette games","live roulette","sic-bo","presenter"],negativeKeywords:["real-time reporting"],priority:10},{name:"iGaming Platform / PAM",category:"Platform",description:"Core iGaming platform including player accounts, wallet, and cashier.",keywords:["pam","aggregation platform","cashier","player account"],negativeKeywords:[],priority:10},{name:"Game Aggregation",category:"Aggregation",description:"Single API access to multiple game providers.",keywords:["aggregation","aggregator","single api","content hub"],negativeKeywords:[],priority:10},{name:"Bonus & Promotions Platform",category:"CRM & Engagement",description:"Bonus management, promotions, and player engagement tools.",keywords:["bonus tools","promotional tools","free spins tools","tournament","leaderboard","rewards tools","bonus features","bonus platform"],negativeKeywords:[],priority:10},{name:"Back Office & Analytics",category:"Operations",description:"Reporting, dashboards, and performance analytics.",keywords:["back office","real-time reporting","analytics","easy-to-use tools","insights"],negativeKeywords:[],priority:10},{name:"Live Casino Infrastructure",category:"Technology",description:"Hardware, streaming, and infrastructure for live casino operations.",keywords:["streaming","video streaming","Live Casino studio","professional game hosts"],negativeKeywords:[],priority:10},{name:"Payments & Payouts",category:"Payments",description:"Payment processing, deposits, and withdrawals.",keywords:["Payment processing","psp","payout","withdrawal","deposit"],negativeKeywords:[],priority:10},{name:"Compliance & Risk",category:"Compliance",description:"KYC, AML, fraud prevention, and responsible gaming.",keywords:["kyc detection","aml detection","compliance tools","fraud detection","fraud prevention","responsible gaming tools"],negativeKeywords:[],priority:10}];function we(D,ie){var Zt;const be=ie.toLowerCase();return!(!D.keywords.some(za=>be.includes(za))||((Zt=D.negativeKeywords)==null?void 0:Zt.some(za=>be.includes(za))))}function Z(D){return D!==null}const ee=[{key:"migea",name:"Malta iGaming Excellence Awards",aliases:["migea","malta igaming excellence awards","malta gaming excellence awards"]},{key:"egr",name:"EGR Awards",aliases:["egr awards","egr b2b awards","egr operator awards"]},{key:"sigma",name:"SiGMA Awards",aliases:["sigma awards","sigma igaming awards"]},{key:"ice",name:"ICE Gaming Awards",aliases:["ice gaming awards","ice awards"]}];function ve(D=[]){const ie=D.map(be=>be.toLowerCase());return ee.flatMap(be=>ie.find(mt=>be.aliases.some(Zt=>mt.includes(Zt)))?[{name:be.name,year:new Date().getFullYear()}]:[])}const fe=new Set(["malta","italy","spain","netherlands","united kingdom","germany","sweden","romania","croatia","serbia","brazil"]);function te(D=[]){return Array.from(new Set(D.map(ie=>ie.toLowerCase()).filter(ie=>fe.has(ie)).map(ie=>ie[0].toUpperCase()+ie.slice(1))))}const ne=(F=(Wt=(lt=t.webIntelligence)==null?void 0:lt.signals)==null?void 0:Wt.evidence)==null?void 0:F.credibility,Ae=ve((ne==null?void 0:ne.awards_mentioned)??[]),Pe=te((ne==null?void 0:ne.countries_mentioned)??[]);function De(D){return pe.map(ie=>{const be=D.filter(tt=>we(ie,tt));return be.length===0?null:{name:ie.name,category:ie.category,description:ie.description,keyDifferentiators:Array.from(new Set(be)),source:"derived",confidence:Math.min(1,be.length/5),priority:ie.priority}}).filter(Z).sort((ie,be)=>be.priority-ie.priority)}const Qe=De(k),ot=[...t.productsAndServices??[],...Qe??[]],pt=()=>{const D=!O;d==null||d(t.id,D),h==null||h({companyId:t.id,companySlug:t.slug,action:D?"follow":"unfollow"})},et=()=>{const D=!X;y==null||y(t.id,D),x==null||x({companyId:t.id,companySlug:t.slug,companyName:t.name,action:D?"save":"unsave"})};return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx("section",{className:"bg-gradient-to-br from-primary via-primary to-primary-variant py-8",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsxs("a",{href:"/companies",className:"inline-flex items-center text-primary-foreground/70 hover:text-primary-foreground mb-6 text-sm",children:[e.jsx(Ga,{className:"w-4 h-4 mr-1"})," Back to Directory"]}),e.jsxs("div",{className:"flex flex-col md:flex-row gap-6",children:[e.jsx("div",{className:"w-20 h-20 rounded-2xl bg-white/10 backdrop-blur flex items-center justify-center flex-shrink-0",children:e.jsx(xt,{className:"w-10 h-10 text-primary-foreground"})}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2 mb-2",children:[e.jsx("h1",{className:"text-2xl md:text-3xl font-bold text-primary-foreground",children:t.name}),Q()]}),e.jsxs("div",{className:"flex flex-wrap gap-2 mb-3",children:[e.jsx(ge,{variant:"secondary",children:t.companyType}),S&&e.jsx("a",{href:C?`/groups/${C}`:"/groups",children:e.jsxs(ge,{variant:"outline",className:"border-primary-foreground/30 text-primary-foreground",children:["Part of ",S]})}),t.classification.verticals.map(D=>e.jsx(ge,{variant:"outline",className:"border-primary-foreground/30 text-primary-foreground",children:D},D))]}),e.jsxs("div",{className:"flex flex-wrap items-center gap-4 text-primary-foreground/80 text-sm mb-4",children:[e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(st,{className:"w-4 h-4"}),t.overview.headquarters.city,", ",t.overview.headquarters.country]}),e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(lo,{className:"w-4 h-4"}),"Founded ",t.overview.foundedYear]}),e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(Lt,{className:"w-4 h-4"}),t.overview.employeeRange," employees"]})]}),e.jsxs("div",{className:"flex flex-wrap gap-2",children:[e.jsxs(z,{variant:"accent",onClick:pt,disabled:le,"aria-label":`${re} ${t.name}`,"aria-pressed":O,"aria-busy":c,title:re,children:[c?e.jsx(ha,{className:"w-4 h-4 mr-2 animate-spin"}):O?e.jsx(rt,{className:"w-4 h-4 mr-2"}):e.jsx(kr,{className:"w-4 h-4 mr-2"}),c?"Loading":O?"Following":"Follow"]}),e.jsxs(z,{variant:X?"secondary":"outline",className:"border-primary-foreground/30 text-primary-foreground hover:bg-primary-foreground/10",onClick:et,disabled:J,"aria-label":`${ae} ${t.name}`,"aria-pressed":X,"aria-busy":p,title:ae,children:[p?e.jsx(ha,{className:"w-4 h-4 mr-2 animate-spin"}):e.jsx(ya,{className:`w-4 h-4 mr-2 ${X?"fill-current":"fill-transparent"}`}),p?"Loading":X?"Saved":"Save"]}),t.claimedStatus==="unclaimed"&&e.jsx(z,{variant:"ghost",className:"text-primary-foreground",onClick:()=>v(!0),children:"Claim Profile"})]})]}),e.jsxs("div",{className:"flex gap-4 md:gap-6",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-2xl font-bold text-primary-foreground",children:N}),e.jsx("div",{className:"text-xs text-primary-foreground/70",children:"Open Jobs"})]}),e.jsxs("div",{className:"text-center",children:[e.jsxs("div",{className:"text-2xl font-bold text-primary-foreground",children:[(j.profileViews30d/1e3).toFixed(1),"k"]}),e.jsx("div",{className:"text-xs text-primary-foreground/70",children:"Views/30d"})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-2xl font-bold text-primary-foreground",children:w}),e.jsx("div",{className:"text-xs text-primary-foreground/70",children:"Trust Signals"})]})]})]})]})}),e.jsx("section",{className:"py-6",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs(Rr,{defaultValue:"overview",className:"space-y-6",children:[e.jsxs(Ka,{className:"flex-wrap h-auto gap-1 bg-secondary/50 p-1",children:[e.jsxs(Se,{value:"overview",children:[e.jsx(Vo,{className:"w-4 h-4 mr-1.5"}),"Overview"]}),e.jsxs(Se,{value:"products",children:[e.jsx(Fc,{className:"w-4 h-4 mr-1.5"}),"Products"]}),e.jsxs(Se,{value:"trust",children:[e.jsx(br,{className:"w-4 h-4 mr-1.5"}),"Trust"]}),e.jsxs(Se,{value:"people",children:[e.jsx(Gc,{className:"w-4 h-4 mr-1.5"}),"People"]}),e.jsxs(Se,{value:"jobs",children:[e.jsx(at,{className:"w-4 h-4 mr-1.5"}),"Jobs"]}),e.jsxs(Se,{value:"news",children:[e.jsx(Na,{className:"w-4 h-4 mr-1.5"}),"News"]}),e.jsxs(Se,{value:"events",children:[e.jsx(Cc,{className:"w-4 h-4 mr-1.5"}),"Events"]}),e.jsxs(Se,{value:"insights",children:[e.jsx(uo,{className:"w-4 h-4 mr-1.5"}),"Insights"]})]}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[e.jsxs("div",{className:"lg:col-span-2 space-y-6",children:[e.jsxs(Le,{value:"overview",className:"space-y-6 mt-0",children:[e.jsxs(de,{children:[e.jsx(xe,{children:e.jsx(ke,{children:"About"})}),e.jsxs(ue,{children:[e.jsx("p",{className:"text-muted-foreground mb-4",children:t.overview.longDescription||t.overview.shortDescription}),e.jsx("div",{className:"flex flex-wrap gap-2",children:t.classification.tags.map(D=>e.jsxs(ge,{variant:"secondary",children:["#",D]},D))})]})]}),e.jsxs(de,{children:[e.jsx(xe,{children:e.jsx(ke,{children:"Office Locations"})}),e.jsx(ue,{children:e.jsx("div",{className:"flex flex-wrap gap-3",children:U.map((D,ie)=>e.jsxs(ge,{variant:"outline",children:[e.jsx(st,{className:"w-3 h-3 mr-1"}),B(D)]},ie))})})]})]}),e.jsx(Le,{value:"products",className:"space-y-4 mt-0",children:ot.map((D,ie)=>e.jsxs(de,{children:[e.jsx(xe,{children:e.jsx("div",{className:"flex items-start justify-between",children:e.jsxs("div",{children:[e.jsx(ke,{className:"text-lg",children:D.name}),e.jsx(ge,{variant:"secondary",className:"mt-1",children:D.category})]})})}),e.jsxs(ue,{children:[e.jsx("p",{className:"text-muted-foreground mb-3",children:D.description}),e.jsx("div",{className:"flex flex-wrap gap-2",children:D.keyDifferentiators.map((be,tt)=>e.jsxs(ge,{variant:"outline",children:[e.jsx(Wc,{className:"w-3 h-3 mr-1"}),be]},tt))})]})]},ie))}),e.jsxs(Le,{value:"trust",className:"space-y-4 mt-0",children:[t.trustAndCompliance.licenses.length>0&&e.jsxs(de,{children:[e.jsx(xe,{children:e.jsxs(ke,{className:"flex items-center gap-2",children:[e.jsx(br,{className:"w-5 h-5 text-gaming-success"}),"Licenses"]})}),e.jsx(ue,{children:e.jsx("div",{className:"flex flex-wrap gap-2",children:t.trustAndCompliance.licenses.map((D,ie)=>e.jsx(ge,{className:"bg-gaming-success/10 text-gaming-success",children:q(D)},ie))})})]}),t.trustAndCompliance.awards.length>0&&e.jsxs(de,{children:[e.jsx(xe,{children:e.jsxs(ke,{className:"flex items-center gap-2",children:[e.jsx(Yt,{className:"w-5 h-5 text-gaming-gold"}),"Awards"]})}),e.jsx(ue,{children:e.jsx("div",{className:"flex flex-wrap gap-2",children:t.trustAndCompliance.awards.map((D,ie)=>e.jsx(ge,{className:"bg-gaming-gold/10 text-gaming-gold",children:P(D)},ie))})})]}),Ae.length>0&&e.jsxs(de,{children:[e.jsx(xe,{children:e.jsxs(ke,{className:"flex items-center gap-2",children:[e.jsx(Yt,{className:"w-5 h-5 text-gaming-gold"}),"Industry Recognition"]})}),e.jsx(ue,{children:e.jsx("div",{className:"flex flex-wrap gap-2",children:Ae.map((D,ie)=>e.jsxs(ge,{variant:"outline",children:[D.name,e.jsx("span",{className:"ml-1 text-xs text-muted-foreground",children:"(inferred)"})]},ie))})})]}),Pe.length>0&&e.jsxs(de,{children:[e.jsx(xe,{children:e.jsxs(ke,{className:"flex items-center gap-2",children:[e.jsx(ta,{className:"w-5 h-5 text-accent"}),"Markets Mentioned"]})}),e.jsx(ue,{children:e.jsx("div",{className:"flex flex-wrap gap-2",children:Pe.map((D,ie)=>e.jsx(ge,{variant:"secondary",children:D},ie))})})]})]}),e.jsx(Le,{value:"jobs",className:"space-y-4 mt-0",children:e.jsxs(de,{children:[e.jsx(xe,{children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs(ke,{children:["Open Positions (",N,")"]}),e.jsx(ge,{children:t.jobs.remotePolicy})]})}),e.jsx("div",{className:"grid gap-4 p-4",children:A.length===0?e.jsx(de,{children:e.jsxs(ue,{className:"flex flex-col items-center justify-center py-10",children:[e.jsx(pa,{className:"h-12 w-12 text-muted-foreground mb-4"}),e.jsx("p",{className:"text-muted-foreground",children:"No saved jobs yet"}),e.jsx(z,{variant:"link",className:"mt-2",children:"Browse Jobs"})]})}):A.map(D=>e.jsx(m9,{job:D,view:"company"},D.id))})]})}),e.jsx(Le,{value:"people",className:"mt-0",children:e.jsx(de,{children:e.jsx(ue,{className:"py-6 space-y-4",children:t.people.members.length===0?e.jsx("p",{className:"text-center text-muted-foreground",children:"Employee profiles are opt-in. No verified members yet."}):t.people.members.map((D,ie)=>e.jsxs("div",{className:"flex items-center justify-between gap-3 p-3 bg-secondary/50 rounded-lg",children:[e.jsxs("div",{children:[e.jsx("p",{className:"font-medium",children:D.name}),e.jsx("p",{className:"text-sm text-muted-foreground",children:D.title})]}),D.profileUrl&&e.jsx("a",{href:D.profileUrl,target:"_blank",rel:"noreferrer",children:e.jsx(z,{size:"sm",variant:"outline",children:"View Profile"})})]},ie))})})}),e.jsx(Le,{value:"news",className:"mt-0",children:e.jsxs(de,{children:[e.jsx(xe,{children:e.jsxs(ke,{children:["News (",L.length,")"]})}),e.jsx(ue,{className:"py-6 space-y-4",children:L.length>0?e.jsx("div",{className:"grid gap-4",children:L.map(D=>e.jsx(jC,{article:D,view:"company",onRead:()=>window.open(D.link,"_blank")},D.id))}):(K=(V=t.newsAndMedia)==null?void 0:V.pressMentions)!=null&&K.length?t.newsAndMedia.pressMentions.map((D,ie)=>e.jsxs("div",{className:"flex items-center justify-between gap-3 p-3 bg-secondary/50 rounded-lg",children:[e.jsx("span",{className:"text-sm",children:$(D)}),W(D)&&D.url&&e.jsx("a",{href:D.url,target:"_blank",rel:"noreferrer",children:e.jsx(z,{size:"sm",variant:"outline",children:"Read"})})]},ie)):e.jsx("p",{className:"text-center text-muted-foreground",children:"No recent news mentions."})})]})}),e.jsx(Le,{value:"events",className:"space-y-4 mt-0",children:b.length>0?e.jsxs(de,{children:[e.jsx(xe,{children:e.jsx(ke,{className:"flex items-center gap-2",children:"Upcoming Events"})}),e.jsx(ue,{children:e.jsx("div",{className:"grid gap-4 p-4",children:b.map(D=>e.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-3 p-3 m-3 rounded-xl border bg-card text-card-foreground shadow",children:[e.jsxs("div",{children:[e.jsxs("p",{className:"font-semibold text-lg",children:[D.conference," - ",D.event_year]}),e.jsxs("p",{className:"text-sm text-muted-foreground",children:["Stand: ",D.stand]})]}),e.jsx("a",{href:D.link,target:"_blank",rel:"noreferrer",children:e.jsx(z,{size:"sm",variant:"outline",children:"View"})})]},D._id))})})]}):t.events.upcomingEvents.map((D,ie)=>e.jsxs("div",{className:"flex items-center justify-between p-3 bg-secondary/50 rounded-lg",children:[e.jsxs("div",{children:[e.jsx("p",{className:"font-semibold tracking-tight text-lg",children:R(D)}),e.jsxs("p",{className:"font-semibold tracking-tight text-lg",children:[D.location," • ",T(D)]})]}),t.events.bookMeetingEnabled&&e.jsx(z,{size:"sm",variant:"accent",children:"Book Meeting"})]},ie))}),e.jsx(Le,{value:"insights",className:"mt-0",children:e.jsx(de,{children:e.jsxs(ue,{className:"py-12 text-center",children:[e.jsx(uo,{className:"w-10 h-10 text-muted-foreground mx-auto mb-3"}),e.jsx("h3",{className:"font-semibold mb-2",children:"Premium Insights"}),e.jsx("p",{className:"text-muted-foreground mb-4",children:"Unlock demand trends, competitor analysis, and intent signals."}),e.jsx(z,{variant:"accent",children:"Upgrade to Access"})]})})})]}),e.jsxs("aside",{className:"space-y-4",children:[e.jsxs(de,{children:[e.jsx(xe,{children:e.jsx(ke,{className:"text-base",children:"Contact"})}),e.jsxs(ue,{className:"space-y-3",children:[e.jsxs("a",{href:t.overview.website,target:"_blank",className:"flex items-center gap-2 text-sm text-accent hover:underline",children:[e.jsx(ta,{className:"w-4 h-4"}),t.overview.website.replace(/^https?:\/\//,"")]}),((Ne=t.overview.socialLinks)==null?void 0:Ne.linkedin)&&e.jsxs("a",{href:t.overview.socialLinks.linkedin,target:"_blank",className:"flex items-center gap-2 text-sm text-muted-foreground hover:text-foreground",children:[e.jsx(qc,{className:"w-4 h-4"}),"LinkedIn"]})]})]}),e.jsxs(de,{children:[e.jsx(xe,{children:e.jsx(ke,{className:"text-base",children:"Similar Companies"})}),e.jsx(ue,{className:"space-y-2",children:j.similarCompanies.map((D,ie)=>e.jsx("div",{className:"flex items-center gap-2 p-2 bg-secondary/50 rounded-lg text-sm",children:D},ie))})]})]})]})]})})}),e.jsx(C$,{company:t,open:f,onOpenChange:v})]})},L$=({group:t})=>{var n,s;if(!t)return e.jsx("div",{className:"min-h-screen bg-background",children:e.jsxs("div",{className:"container mx-auto px-4 py-16 text-center",children:[e.jsx(xt,{className:"w-16 h-16 text-muted-foreground mx-auto mb-4"}),e.jsx("h1",{className:"text-2xl font-bold mb-2",children:"Group Not Found"}),e.jsx("p",{className:"text-muted-foreground mb-6",children:"The group you're looking for doesn't exist."}),e.jsx("a",{href:"/companies",children:e.jsx(z,{variant:"accent",children:"Browse Companies"})})]})});const a=t.intelligenceProfile,r=((n=t.companies)==null?void 0:n.length)??0;return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx("section",{className:"bg-gradient-to-br from-primary via-primary to-primary-variant py-8",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsxs("a",{href:"/companies",className:"inline-flex items-center text-primary-foreground/70 hover:text-primary-foreground mb-6 text-sm",children:[e.jsx(Ga,{className:"w-4 h-4 mr-1"})," Back to Directory"]}),e.jsxs("div",{className:"flex flex-col md:flex-row gap-6",children:[e.jsx("div",{className:"w-20 h-20 rounded-2xl bg-white/10 backdrop-blur flex items-center justify-center flex-shrink-0",children:e.jsx(xt,{className:"w-10 h-10 text-primary-foreground"})}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2 mb-2",children:[e.jsx("h1",{className:"text-2xl md:text-3xl font-bold text-primary-foreground",children:t.name}),e.jsx(ge,{className:"bg-white/10 text-primary-foreground border-white/20",children:"Company Group"})]}),t.description&&e.jsx("p",{className:"text-primary-foreground/80 text-sm mb-4 max-w-2xl",children:t.description}),e.jsx("div",{className:"flex flex-wrap gap-2",children:t.website&&e.jsx("a",{href:t.website,target:"_blank",rel:"noreferrer",children:e.jsxs(z,{variant:"outline",className:"border-primary-foreground/30 text-primary-foreground hover:bg-primary-foreground/10",children:[e.jsx(ta,{className:"w-4 h-4 mr-2"})," Visit Website"]})})})]}),a&&e.jsxs("div",{className:"flex gap-4 md:gap-6",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-2xl font-bold text-primary-foreground",children:r}),e.jsx("div",{className:"text-xs text-primary-foreground/70",children:"Member Companies"})]}),e.jsxs("div",{className:"text-center",children:[e.jsxs("div",{className:"text-2xl font-bold text-primary-foreground",children:[(a.profileViews30d/1e3).toFixed(1),"k"]}),e.jsx("div",{className:"text-xs text-primary-foreground/70",children:"Views/30d"})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-2xl font-bold text-primary-foreground",children:a.followsCount.toLocaleString()}),e.jsx("div",{className:"text-xs text-primary-foreground/70",children:"Followers"})]})]})]})]})}),e.jsx("section",{className:"py-8",children:e.jsxs("div",{className:"container mx-auto px-4 space-y-6",children:[e.jsxs(de,{children:[e.jsx(xe,{children:e.jsx(ke,{children:"Group Overview"})}),e.jsxs(ue,{className:"space-y-4",children:[t.website&&e.jsxs("div",{className:"flex items-center gap-2 text-sm text-accent",children:[e.jsx(ta,{className:"w-4 h-4"}),e.jsx("a",{href:t.website,target:"_blank",rel:"noreferrer",className:"hover:underline",children:t.website.replace(/^https?:\/\//,"")})]}),t.description?e.jsx("p",{className:"text-muted-foreground",children:t.description}):e.jsx("p",{className:"text-muted-foreground",children:"No group description available yet."})]})]}),e.jsxs(de,{children:[e.jsx(xe,{children:e.jsx(ke,{children:"Member Companies"})}),e.jsxs(ue,{className:"space-y-3",children:[r===0&&e.jsx("p",{className:"text-muted-foreground",children:"No member companies listed."}),(s=t.companies)==null?void 0:s.map(i=>{var l,d,h;const c=i.isPrimary||i.id===t.primaryCompanyId;return e.jsxs("div",{className:`flex flex-col md:flex-row md:items-center md:justify-between gap-3 rounded-lg border p-4 ${c?"border-accent/40 bg-accent/5":"border-border"}`,children:[e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("a",{href:`/companies/${i.slug}`,className:"font-semibold hover:text-accent",children:i.name}),c&&e.jsx(ge,{className:"bg-accent/10 text-accent border-accent/20",children:"Primary"})]}),((l=i.overview)==null?void 0:l.shortDescription)&&e.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:i.overview.shortDescription})]}),e.jsxs("div",{className:"flex flex-wrap items-center gap-3 text-sm text-muted-foreground",children:[((d=i.overview)==null?void 0:d.headquarters)&&e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(xt,{className:"w-4 h-4"}),i.overview.headquarters.city,", ",i.overview.headquarters.country]}),((h=i.overview)==null?void 0:h.employeeRange)&&e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(Lt,{className:"w-4 h-4"}),i.overview.employeeRange]})]})]},i.id)})]})]}),a&&e.jsxs(de,{children:[e.jsx(xe,{children:e.jsx(ke,{children:"Group Intelligence"})}),e.jsxs(ue,{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsxs("div",{className:"rounded-lg border border-border/60 p-4",children:[e.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[e.jsx(St,{className:"w-4 h-4"})," Followers"]}),e.jsx("div",{className:"text-2xl font-semibold mt-2",children:a.followsCount.toLocaleString()})]}),e.jsxs("div",{className:"rounded-lg border border-border/60 p-4",children:[e.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[e.jsx(Ia,{className:"w-4 h-4"})," Hiring Intensity"]}),e.jsx("div",{className:"text-2xl font-semibold mt-2",children:a.hiringIntensity})]}),e.jsxs("div",{className:"rounded-lg border border-border/60 p-4",children:[e.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[e.jsx(Lt,{className:"w-4 h-4"})," Top Viewing Countries"]}),e.jsx("div",{className:"text-sm font-medium mt-2",children:a.topViewingCountries.join(", ")||"No data"})]})]})]})]})})]})},N$=t=>{var a,r;if(t==null)return"";if(typeof t=="string"&&t.startsWith("http"))return t;if(typeof t=="string"&&t.startsWith("{"))try{const n=JSON.parse(t.replace(/'/g,'"'));return(n==null?void 0:n.url)??""}catch{return""}return typeof t=="object"?(t==null?void 0:t.url)??((r=(a=t==null?void 0:t.formats)==null?void 0:a.thumbnail)==null?void 0:r.url)??"":""},gR=t=>({profileViews30d:(t==null?void 0:t.profile_views_30d)??(t==null?void 0:t.profileViews30d)??0,followsCount:(t==null?void 0:t.follows_count)??(t==null?void 0:t.followsCount)??0,hiringIntensity:(t==null?void 0:t.hiring_intensity)??(t==null?void 0:t.hiringIntensity)??"Low",topSkillsHiring:(t==null?void 0:t.top_skills_hiring)??(t==null?void 0:t.topSkillsHiring)??[],topViewingCountries:(t==null?void 0:t.top_viewing_countries)??(t==null?void 0:t.topViewingCountries)??[],oftenComparedWith:(t==null?void 0:t.often_compared_with)??(t==null?void 0:t.oftenComparedWith)??[],similarCompanies:(t==null?void 0:t.similar_companies)??(t==null?void 0:t.similarCompanies)??[]}),I$=t=>{if(t)return{capabilitiesScore:t.capabilities_score??t.capabilitiesScore??0,credibilityScore:t.credibility_score??t.credibilityScore??0,complianceScore:t.compliance_score??t.complianceScore??0,hiringScore:t.hiring_score??t.hiringScore??0,overallScore:t.overall_score??t.overallScore??0,detectedBusinessModel:t.detected_business_model??t.detectedBusinessModel??"",detectedProducts:t.detected_products??t.detectedProducts??[],detectedMarkets:t.detected_markets??t.detectedMarkets??[]}},A$=t=>({id:String(t.id??t.company_id??""),name:t.name??"",slug:t.slug??"",companyType:t.company_type??t.companyType,overview:t.overview?{shortDescription:t.overview.short_description??t.overview.shortDescription,headquarters:t.overview.headquarters,employeeRange:t.overview.employee_range??t.overview.employeeRange}:void 0,isPrimary:t.is_primary??t.isPrimary}),P$=t=>({id:String((t==null?void 0:t.id)??(t==null?void 0:t.group_id)??""),name:(t==null?void 0:t.name)??(t==null?void 0:t.group_name)??"",slug:(t==null?void 0:t.slug)??"",website:(t==null?void 0:t.website)??"",description:(t==null?void 0:t.description)??"",primaryCompanyId:(t==null?void 0:t.primary_company_id)??(t==null?void 0:t.primaryCompanyId)??"",companies:Array.isArray(t==null?void 0:t.companies)?t.companies.map(A$):[],intelligenceProfile:gR((t==null?void 0:t.intelligence_profile)??(t==null?void 0:t.intelligenceProfile))}),_$=t=>{var a,r;return{shortDescription:(t==null?void 0:t.shortDescription)??(t==null?void 0:t.short_description)??"",longDescription:(t==null?void 0:t.longDescription)??(t==null?void 0:t.long_description),foundedYear:typeof(t==null?void 0:t.foundedYear)=="number"?t.foundedYear:0,headquarters:{city:((a=t==null?void 0:t.headquarters)==null?void 0:a.city)??"",country:((r=t==null?void 0:t.headquarters)==null?void 0:r.country)??""},officeLocations:t==null?void 0:t.officeLocations,employeeRange:(t==null?void 0:t.employeeRange)??(t==null?void 0:t.employee_range)??"",publicCompany:t==null?void 0:t.publicCompany,stockTicker:t==null?void 0:t.stockTicker,website:(t==null?void 0:t.website)??"",socialLinks:t==null?void 0:t.socialLinks}},R$=t=>({searchImpressions:(t==null?void 0:t.searchImpressions)??0,profileClicks:(t==null?void 0:t.profileClicks)??0,externalClicks:(t==null?void 0:t.externalClicks)??0}),T$=t=>{var a,r,n;return{...t,overview:_$(t.overview),logo:N$(t.logo),jobs:q$(t.jobs),group:P$(t.group),groupId:t.groupId??t.group_id??((a=t.group)==null?void 0:a.id),groupName:t.groupName??t.group_name??((r=t.group)==null?void 0:r.name),groupSlug:t.group_slug??t.groupSlug??((n=t.group)==null?void 0:n.slug),signalsAndInsights:gR(t.signalsAndInsights??t.signals_and_insights??t.signalsAndInsights)??t.signalsAndInsights,visibilityMetrics:R$(t.visibilityMetrics),intelligenceProfile:I$(t.intelligence_profile??t.intelligenceProfile),classification:D$(t.classification)}},q$=t=>({openRoles:Array.isArray(t==null?void 0:t.openRoles)||typeof(t==null?void 0:t.openRoles)=="number"?t.openRoles:[],departmentsHiring:Array.isArray(t==null?void 0:t.departmentsHiring)?t.departmentsHiring:[],locationsHiring:Array.isArray(t==null?void 0:t.locationsHiring)?t.locationsHiring:[],remotePolicy:(t==null?void 0:t.remotePolicy)??""}),D$=t=>({businessModel:(t==null?void 0:t.businessModel)??(t==null?void 0:t.business_model)??"",verticals:Array.isArray(t==null?void 0:t.verticals)?t.verticals:[],productCategories:Array.isArray(t==null?void 0:t.productCategories)?t.productCategories:[],tags:((t==null?void 0:t.tags)??[]).map(a=>typeof a=="string"?a:a.title??a.tag??"")}),z$=t=>({count:(t==null?void 0:t.count)??0,page:(t==null?void 0:t.page)??1,pageSize:(t==null?void 0:t.page_size)??(t==null?void 0:t.pageSize)??0,totalPages:(t==null?void 0:t.total_pages)??(t==null?void 0:t.totalPages)??1,results:Array.isArray(t==null?void 0:t.results)?t.results.map(T$):[],filterOptions:(t==null?void 0:t.filter_options)??(t==null?void 0:t.filterOptions)}),E$=(t,a)=>{const{buildUrl:r,initialData:n}=a,[s,i]=M.useState(n??null),[c,l]=M.useState(!n),d=M.useMemo(()=>r(t),[r,t]);return M.useEffect(()=>{let h=!1;return l(!0),fetch(d).then(u=>{if(!u.ok)throw new Error(`Failed to load companies: ${u.status}`);return u.json()}).then(u=>{h||i(z$(u))}).catch(u=>{console.error(u)}).finally(()=>{h||l(!1)}),()=>{h=!0}},[d]),{data:s,loading:c}},CC={query:"",filters:{},sort:"popularity_desc",page:1,pageSize:50,scope:"company"},bt=(t,a)=>{var r;return((r=t.get(a))==null?void 0:r.split(",").filter(Boolean))??[]},hN=(t,a)=>{const r=Number(t);return Number.isFinite(r)&&r>0?r:a},F$=t=>{var r,n,s,i,c,l,d;const a=new URLSearchParams;return t.query&&a.set("query",t.query),t.sort&&a.set("sort",t.sort),t.scope&&t.scope!=="company"&&a.set("scope",t.scope),t.segment&&a.set("segment",t.segment),t.subcategory&&a.set("subcategory",t.subcategory),t.region&&a.set("region",t.region),a.set("page",String(t.page)),a.set("pageSize",String(t.pageSize)),t.filters.companyType&&a.set("filters[companyType]",t.filters.companyType),(r=t.filters.country)!=null&&r.length&&a.set("filters[country]",t.filters.country.join(",")),(n=t.filters.products)!=null&&n.length&&a.set("filters[products]",t.filters.products.join(",")),(s=t.filters.employees)!=null&&s.length&&a.set("filters[employees]",t.filters.employees.join(",")),(i=t.filters.verticals)!=null&&i.length&&a.set("filters[verticals]",t.filters.verticals.join(",")),(c=t.filters.productCategories)!=null&&c.length&&a.set("filters[productCategories]",t.filters.productCategories.join(",")),(l=t.filters.openRoles)!=null&&l.length&&a.set("filters[openRoles]",t.filters.openRoles.join(",")),(d=t.filters.yearsActive)!=null&&d.length&&a.set("filters[yearsActive]",t.filters.yearsActive.join(",")),t.filters.hiringNow&&a.set("filters[hiringNow]","true"),t.filters.claimedOnly&&a.set("filters[claimedOnly]","true"),t.filters.hasLicenses&&a.set("filters[hasLicenses]","true"),t.filters.hasAwards&&a.set("filters[hasAwards]","true"),a.toString()},O$=(t,a=CC)=>{const r=new URLSearchParams(t),n=r.get("scope"),s=n==="group"||n==="company"?n:a.scope,i=r.get("query")??r.get("search")??a.query??"",c=r.get("pageSize")??r.get("page_size");return{...a,query:i,sort:r.get("sort")??a.sort,page:hN(r.get("page"),a.page),pageSize:hN(c,a.pageSize),scope:s,segment:r.get("segment")??a.segment,subcategory:r.get("subcategory")??a.subcategory,region:r.get("region")??a.region,filters:{companyType:r.get("filters[companyType]")??r.get("companyType")??a.filters.companyType,country:bt(r,"filters[country]").concat(bt(r,"country")),products:bt(r,"filters[products]").concat(bt(r,"products")),employees:bt(r,"filters[employees]").concat(bt(r,"employees")).concat(bt(r,"employeeRanges")),verticals:bt(r,"filters[verticals]").concat(bt(r,"verticals")),productCategories:bt(r,"filters[productCategories]").concat(bt(r,"productCategories")),openRoles:bt(r,"filters[openRoles]").concat(bt(r,"openRoles")),yearsActive:bt(r,"filters[yearsActive]").concat(bt(r,"yearsActive")),hiringNow:["true","1","yes"].includes(r.get("filters[hiringNow]")??r.get("hiringNow")??""),claimedOnly:["true","1","yes"].includes(r.get("filters[claimedOnly]")??r.get("claimedOnly")??""),hasLicenses:["true","1","yes"].includes(r.get("filters[hasLicenses]")??r.get("hasLicenses")??""),hasAwards:["true","1","yes"].includes(r.get("filters[hasAwards]")??r.get("hasAwards")??"")}}},H$=t=>({...fR,search:t.query??"",companyType:t.filters.companyType??"",verticals:t.filters.verticals??[],productCategories:t.filters.productCategories??[],employeeRanges:t.filters.employees??[],products:t.filters.products??[],openRolesRanges:t.filters.openRoles??[],yearsActiveRanges:t.filters.yearsActive??[],hiringNow:t.filters.hiringNow??!1,scope:t.scope,claimedOnly:t.filters.claimedOnly??!1,hasLicenses:t.filters.hasLicenses??!1,hasAwards:t.filters.hasAwards??!1}),V$=t=>({companyType:t.companyType||void 0,verticals:t.verticals.length?t.verticals:void 0,productCategories:t.productCategories.length?t.productCategories:void 0,employees:t.employeeRanges.length?t.employeeRanges:void 0,products:t.products.length?t.products:void 0,openRoles:t.openRolesRanges.length?t.openRolesRanges:void 0,yearsActive:t.yearsActiveRanges.length?t.yearsActiveRanges:void 0,hiringNow:t.hiringNow||void 0,claimedOnly:t.claimedOnly||void 0,hasLicenses:t.hasLicenses||void 0,hasAwards:t.hasAwards||void 0}),B$={companyTypes:[],verticals:[],productCategories:[],employeeRanges:[],products:[],openRolesRanges:[],yearsActiveRanges:[]},$$=({initialData:t,initialFilterOptions:a,buildUrl:r,initialQuery:n,followDisabled:s=!1,followLoading:i=!1,onToggleFollow:c,onFollowAction:l,saveDisabled:d=!1,saveLoading:h=!1,onToggleSave:u,onSaveAction:p})=>{const[m,y]=M.useState(()=>n||(typeof window>"u"?CC:O$(window.location.search,CC))),[x,f]=M.useState("list"),[v,k]=M.useState(a),{data:w,loading:j}=E$(m,{buildUrl:r,initialData:t}),S=w??t,C=j&&!w,A=M.useMemo(()=>H$(m),[m]);M.useEffect(()=>{if(typeof window>"u")return;const R=F$(m),T=R?`${window.location.pathname}?${R}`:window.location.pathname;window.history.replaceState(null,"",T)},[m]),M.useEffect(()=>{w!=null&&w.filterOptions&&k({...B$,...w.filterOptions})},[w]);const L=R=>{y(T=>({...T,query:R.search,scope:R.scope,filters:V$(R),page:1}))},b=()=>{L(fR)},N=R=>{y(T=>({...T,page:R}))},q=R=>{y(T=>({...T,pageSize:R,page:1}))},P=()=>{f(R=>R==="grid"?"list":"grid")};return e.jsx(xR,{companies:S.results,loading:C,page:S.page,pageSize:S.pageSize||m.pageSize,totalCount:S.count,totalPages:S.totalPages,onPageChange:N,onPageSizeChange:q,filters:A,filterOptions:v,onFiltersChange:L,onClearFilters:b,viewMode:x,onViewModeChange:P,followDisabled:s,followLoading:i,onToggleFollow:c,onFollowAction:l,saveDisabled:d,saveLoading:h,onToggleSave:u,onSaveAction:p})},U$=({isClaimed:t,canClaim:a,onClaimClick:r})=>t||!a?null:e.jsx(z,{type:"button",variant:"secondary",onClick:r,children:"Claim this company"});var SC={exports:{}},VS={};function G$(t){return t&&t.__esModule?t:{default:t}}VS._=G$;var kR={};function vR(t){if(typeof WeakMap!="function")return null;var a=new WeakMap,r=new WeakMap;return(vR=function(n){return n?r:a})(t)}function W$(t,a){if(!a&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var r=vR(a);if(r&&r.has(t))return r.get(t);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(i!=="default"&&Object.prototype.hasOwnProperty.call(t,i)){var c=s?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}kR._=W$;var Vj={},uN;function Z$(){return uN||(uN=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return n}});const n=VS._(M).default.createContext({});process.env.NODE_ENV!=="production"&&(n.displayName="HeadManagerContext")}(Vj)),Vj}var Al={exports:{}},pN;function J$(){return pN||(pN=1,function(t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"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 s(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"&&s(u)?c[u]=!!h:c.setAttribute(u,String(h)),(h===!1||c.tagName==="SCRIPT"&&s(u)&&(!h||h==="false"))&&(c.setAttribute(u,""),c.removeAttribute(u))}}(typeof a.default=="function"||typeof a.default=="object"&&a.default!==null)&&typeof a.default.__esModule>"u"&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)}(Al,Al.exports)),Al.exports}var Pl={exports:{}},yN;function X$(){return yN||(yN=1,function(t,a){Object.defineProperty(a,"__esModule",{value:!0});function r(i,c){for(var l in c)Object.defineProperty(i,l,{enumerable:!0,get:c[l]})}r(a,{cancelIdleCallback:function(){return s},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)},s=typeof self<"u"&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(i){return clearTimeout(i)};(typeof a.default=="function"||typeof a.default=="object"&&a.default!==null)&&typeof a.default.__esModule>"u"&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)}(Pl,Pl.exports)),Pl.exports}(function(t,a){"use client";Object.defineProperty(a,"__esModule",{value:!0});function r(C,A){for(var L in A)Object.defineProperty(C,L,{enumerable:!0,get:A[L]})}r(a,{default:function(){return S},handleClientScriptLoad:function(){return f},initScriptLoader:function(){return w}});const n=VS,s=kR,i=e,c=n._(LC),l=s._(M),d=Z$(),h=J$(),u=X$(),p=new Map,m=new Set,y=C=>{if(c.default.preinit){C.forEach(A=>{c.default.preinit(A,{as:"style"})});return}if(typeof window<"u"){let A=document.head;C.forEach(L=>{let b=document.createElement("link");b.type="text/css",b.rel="stylesheet",b.href=L,A.appendChild(b)})}},x=C=>{const{src:A,id:L,onLoad:b=()=>{},onReady:N=null,dangerouslySetInnerHTML:q,children:P="",strategy:R="afterInteractive",onError:T,stylesheets:$}=C,W=L||A;if(W&&m.has(W))return;if(p.has(A)){m.add(W),p.get(A).then(b,T);return}const B=()=>{N&&N(),m.add(W)},U=document.createElement("script"),O=new Promise((le,re)=>{U.addEventListener("load",function(X){le(),b&&b.call(this,X),B()}),U.addEventListener("error",function(X){re(X)})}).catch(function(le){T&&T(le)});q?(U.innerHTML=q.__html||"",B()):P?(U.textContent=typeof P=="string"?P:Array.isArray(P)?P.join(""):"",B()):A&&(U.src=A,p.set(A,O)),(0,h.setAttributesFromProps)(U,C),R==="worker"&&U.setAttribute("type","text/partytown"),U.setAttribute("data-nscript",R),$&&y($),document.body.appendChild(U)};function f(C){const{strategy:A="afterInteractive"}=C;A==="lazyOnload"?window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>x(C))}):x(C)}function v(C){document.readyState==="complete"?(0,u.requestIdleCallback)(()=>x(C)):window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>x(C))})}function k(){[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(A=>{const L=A.id||A.getAttribute("src");m.add(L)})}function w(C){C.forEach(f),k()}function j(C){const{id:A,src:L="",onLoad:b=()=>{},onReady:N=null,strategy:q="afterInteractive",onError:P,stylesheets:R,...T}=C,{updateScripts:$,scripts:W,getIsSsr:B,appDir:U,nonce:O}=(0,l.useContext)(d.HeadManagerContext),le=(0,l.useRef)(!1);(0,l.useEffect)(()=>{const X=A||L;le.current||(N&&X&&m.has(X)&&N(),le.current=!0)},[N,A,L]);const re=(0,l.useRef)(!1);if((0,l.useEffect)(()=>{re.current||(q==="afterInteractive"?x(C):q==="lazyOnload"&&v(C),re.current=!0)},[C,q]),(q==="beforeInteractive"||q==="worker")&&($?(W[q]=(W[q]||[]).concat([{id:A,src:L,onLoad:b,onReady:N,onError:P,...T}]),$(W)):B&&B()?m.add(A||L):B&&!B()&&x(C)),U){if(R&&R.forEach(X=>{c.default.preinit(X,{as:"style"})}),q==="beforeInteractive")return L?(c.default.preload(L,T.integrity?{as:"script",integrity:T.integrity,nonce:O,crossOrigin:T.crossOrigin}:{as:"script",nonce:O,crossOrigin:T.crossOrigin}),(0,i.jsx)("script",{nonce:O,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([L,{...T,id:A}])+")"}})):(T.dangerouslySetInnerHTML&&(T.children=T.dangerouslySetInnerHTML.__html,delete T.dangerouslySetInnerHTML),(0,i.jsx)("script",{nonce:O,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...T,id:A}])+")"}}));q==="afterInteractive"&&L&&c.default.preload(L,T.integrity?{as:"script",integrity:T.integrity,nonce:O,crossOrigin:T.crossOrigin}:{as:"script",nonce:O,crossOrigin:T.crossOrigin})}return null}Object.defineProperty(j,"__nextScript",{value:!0});const S=j;(typeof a.default=="function"||typeof a.default=="object"&&a.default!==null)&&typeof a.default.__esModule>"u"&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)})(SC,SC.exports);var Y$=SC.exports,K$=Y$;const Q$=jT(K$),eU=`
7825
+ */var HL;function HO(){return HL||(HL=1,process.env.NODE_ENV!=="production"&&function(){function t(y,x){return y===x&&(y!==0||1/y===1/x)||y!==y&&x!==x}function a(y,x){u||s.startTransition===void 0||(u=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var f=x();if(!p){var v=x();i(f,v)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),p=!0)}v=c({inst:{value:f,getSnapshot:x}});var k=v[0].inst,w=v[1];return d(function(){k.value=f,k.getSnapshot=x,r(k)&&w({inst:k})},[y,f,x]),l(function(){return r(k)&&w({inst:k}),y(function(){r(k)&&w({inst:k})})},[y]),h(f),f}function r(y){var x=y.getSnapshot;y=y.value;try{var f=x();return!i(y,f)}catch{return!0}}function n(y,x){return x()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var s=M,i=typeof Object.is=="function"?Object.is:t,c=s.useState,l=s.useEffect,d=s.useLayoutEffect,h=s.useDebugValue,u=!1,p=!1,m=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?n:a;Ej.useSyncExternalStore=s.useSyncExternalStore!==void 0?s.useSyncExternalStore:m,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),Ej}process.env.NODE_ENV==="production"?yC.exports=OO():yC.exports=HO();var VO=yC.exports;function BO(){return VO.useSyncExternalStore($O,()=>!0,()=>!1)}function $O(){return()=>{}}var kS="Avatar",[UO,KG]=DO(kS),[GO,IP]=UO(kS),AP=g.forwardRef((t,a)=>{const{__scopeAvatar:r,...n}=t,[s,i]=g.useState("idle");return e.jsx(GO,{scope:r,imageLoadingStatus:s,onImageLoadingStatusChange:i,children:e.jsx(gS.span,{...n,ref:a})})});AP.displayName=kS;var PP="AvatarImage",_P=g.forwardRef((t,a)=>{const{__scopeAvatar:r,src:n,onLoadingStatusChange:s=()=>{},...i}=t,c=IP(PP,r),l=WO(n,i),d=EO(h=>{s(h),c.onImageLoadingStatusChange(h)});return pC(()=>{l!=="idle"&&d(l)},[l,d]),l==="loaded"?e.jsx(gS.img,{...i,ref:a,src:n}):null});_P.displayName=PP;var RP="AvatarFallback",TP=g.forwardRef((t,a)=>{const{__scopeAvatar:r,delayMs:n,...s}=t,i=IP(RP,r),[c,l]=g.useState(n===void 0);return g.useEffect(()=>{if(n!==void 0){const d=window.setTimeout(()=>l(!0),n);return()=>window.clearTimeout(d)}},[n]),c&&i.imageLoadingStatus!=="loaded"?e.jsx(gS.span,{...s,ref:a}):null});TP.displayName=RP;function VL(t,a){return t?a?(t.src!==a&&(t.src=a),t.complete&&t.naturalWidth>0?"loaded":"loading"):"error":"idle"}function WO(t,{referrerPolicy:a,crossOrigin:r}){const n=BO(),s=g.useRef(null),i=n?(s.current||(s.current=new window.Image),s.current):null,[c,l]=g.useState(()=>VL(i,t));return pC(()=>{l(VL(i,t))},[i,t]),pC(()=>{const d=p=>()=>{l(p)};if(!i)return;const h=d("loaded"),u=d("error");return i.addEventListener("load",h),i.addEventListener("error",u),a&&(i.referrerPolicy=a),typeof r=="string"&&(i.crossOrigin=r),()=>{i.removeEventListener("load",h),i.removeEventListener("error",u)}},[i,r,a]),c}var qP=AP,DP=_P,zP=TP;const EP=g.forwardRef(({className:t,...a},r)=>e.jsx(qP,{ref:r,className:me("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",t),...a}));EP.displayName=qP.displayName;const FP=g.forwardRef(({className:t,...a},r)=>e.jsx(DP,{ref:r,className:me("aspect-square h-full w-full",t),...a}));FP.displayName=DP.displayName;const OP=g.forwardRef(({className:t,...a},r)=>e.jsx(zP,{ref:r,className:me("flex h-full w-full items-center justify-center rounded-full bg-muted",t),...a}));OP.displayName=zP.displayName;const ZO=D9("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 ge({className:t,variant:a,...r}){return e.jsx("div",{className:me(ZO({variant:a}),t),...r})}function BL(t,a){if(typeof t=="function")return t(a);t!=null&&(t.current=a)}function JO(...t){return a=>{let r=!1;const n=t.map(s=>{const i=BL(s,a);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let s=0;s<n.length;s++){const i=n[s];typeof i=="function"?i():BL(t[s],null)}}}}var XO=Symbol.for("react.lazy"),S9=g[" use ".trim().toString()];function YO(t){return typeof t=="object"&&t!==null&&"then"in t}function HP(t){return t!=null&&typeof t=="object"&&"$$typeof"in t&&t.$$typeof===XO&&"_payload"in t&&YO(t._payload)}function KO(t){const a=QO(t),r=g.forwardRef((n,s)=>{let{children:i,...c}=n;HP(i)&&typeof S9=="function"&&(i=S9(i._payload));const l=g.Children.toArray(i),d=l.find(tH);if(d){const h=d.props.children,u=l.map(p=>p===d?g.Children.count(h)>1?g.Children.only(null):g.isValidElement(h)?h.props.children:null:p);return e.jsx(a,{...c,ref:s,children:g.isValidElement(h)?g.cloneElement(h,void 0,u):null})}return e.jsx(a,{...c,ref:s,children:i})});return r.displayName=`${t}.Slot`,r}function QO(t){const a=g.forwardRef((r,n)=>{let{children:s,...i}=r;if(HP(s)&&typeof S9=="function"&&(s=S9(s._payload)),g.isValidElement(s)){const c=rH(s),l=aH(i,s.props);return s.type!==g.Fragment&&(l.ref=n?JO(n,c):c),g.cloneElement(s,l)}return g.Children.count(s)>1?g.Children.only(null):null});return a.displayName=`${t}.SlotClone`,a}var eH=Symbol("radix.slottable");function tH(t){return g.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===eH}function aH(t,a){const r={...a};for(const n in a){const s=t[n],i=a[n];/^on[A-Z]/.test(n)?s&&i?r[n]=(...l)=>{const d=i(...l);return s(...l),d}:s&&(r[n]=s):n==="style"?r[n]={...s,...i}:n==="className"&&(r[n]=[s,i].filter(Boolean).join(" "))}return{...t,...r}}function rH(t){var n,s;let a=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=a&&"isReactWarning"in a&&a.isReactWarning;return r?t.ref:(a=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,r=a&&"isReactWarning"in a&&a.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var nH=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],sH=nH.reduce((t,a)=>{const r=KO(`Primitive.${a}`),n=g.forwardRef((s,i)=>{const{asChild:c,...l}=s,d=c?r:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),e.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${a}`,{...t,[a]:n}},{}),iH="Separator",$L="horizontal",oH=["horizontal","vertical"],VP=g.forwardRef((t,a)=>{const{decorative:r,orientation:n=$L,...s}=t,i=cH(n)?n:$L,l=r?{role:"none"}:{"aria-orientation":i==="vertical"?i:void 0,role:"separator"};return e.jsx(sH.div,{"data-orientation":i,...l,...s,ref:a})});VP.displayName=iH;function cH(t){return oH.includes(t)}var BP=VP;const p9=g.forwardRef(({className:t,orientation:a="horizontal",decorative:r=!0,...n},s)=>e.jsx(BP,{ref:s,decorative:r,orientation:a,className:me("shrink-0 bg-border",a==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",t),...n}));p9.displayName=BP.displayName;const lH=({candidateData:t})=>{var l;const[a,r]=M.useState(!1),{profileData:n,first_name:s,last_name:i}=t,c=`${s[0]}${i[0]}`;return e.jsxs("div",{className:"min-h-screen bg-muted/30",children:[e.jsx("header",{className:"bg-card border-b border-border sticky top-0 z-50",children:e.jsx("div",{className:"container mx-auto px-4 py-3",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("a",{href:"/jobs",className:"flex items-center gap-2 text-muted-foreground hover:text-foreground transition-colors",children:[e.jsx(fr,{className:"w-5 h-5"}),e.jsx("span",{className:"font-medium",children:"Back to Search"})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsxs(D,{variant:"outline",size:"sm",onClick:()=>r(!a),children:[e.jsx(ga,{className:`w-4 h-4 mr-2 ${a?"fill-accent text-accent":""}`}),a?"Saved":"Save"]}),e.jsxs(D,{variant:"outline",size:"sm",children:[e.jsx(po,{className:"w-4 h-4 mr-2"}),"Share"]}),e.jsxs(D,{variant:"accent",size:"sm",children:[e.jsx(wr,{className:"w-4 h-4 mr-2"}),"Contact"]})]})]})})}),e.jsx("div",{className:"bg-gradient-to-r from-primary via-primary/90 to-accent/80 h-32 md:h-48"}),e.jsx("div",{className:"container mx-auto px-4 -mt-16 md:-mt-20 pb-12",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[e.jsxs("div",{className:"lg:col-span-2 space-y-6",children:[e.jsx(ce,{className:"overflow-visible",children:e.jsx(de,{className:"pt-0",children:e.jsxs("div",{className:"flex flex-col md:flex-row gap-6",children:[e.jsx("div",{className:"-mt-12 md:-mt-16",children:e.jsxs(EP,{className:"w-28 h-28 md:w-36 md:h-36 border-4 border-card shadow-lg",children:[e.jsx(FP,{src:""}),e.jsx(OP,{className:"bg-gradient-to-br from-accent to-accent/80 text-white text-3xl md:text-4xl font-bold",children:c})]})}),e.jsx("div",{className:"flex-1 pt-2 md:pt-6",children:e.jsxs("div",{className:"flex flex-col md:flex-row md:items-start md:justify-between gap-4",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"text-2xl md:text-3xl font-bold text-foreground",children:n.personalDetails.fullName}),e.jsx("p",{className:"text-lg text-muted-foreground mt-1",children:"Business / Data Analyst"}),e.jsxs("div",{className:"flex flex-wrap items-center gap-4 mt-3 text-sm text-muted-foreground",children:[e.jsxs("span",{className:"flex items-center gap-1.5",children:[e.jsx(ct,{className:"w-4 h-4 text-accent"}),n.personalDetails.location]}),e.jsxs("span",{className:"flex items-center gap-1.5",children:[e.jsx(na,{className:"w-4 h-4 text-accent"}),n.personalDetails.nationality]})]})]}),e.jsxs("div",{className:"flex gap-6 text-center",children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-2xl font-bold text-accent",children:"15+"}),e.jsx("div",{className:"text-xs text-muted-foreground",children:"Years Exp."})]}),e.jsxs("div",{children:[e.jsx("div",{className:"text-2xl font-bold text-accent",children:"5"}),e.jsx("div",{className:"text-xs text-muted-foreground",children:"Roles"})]}),e.jsxs("div",{children:[e.jsx("div",{className:"text-2xl font-bold text-accent",children:"3"}),e.jsx("div",{className:"text-xs text-muted-foreground",children:"Languages"})]})]})]})})]})})}),e.jsxs(ce,{children:[e.jsx(xe,{children:e.jsxs(ke,{className:"flex items-center gap-2",children:[e.jsx(Jo,{className:"w-5 h-5 text-accent"}),"About"]})}),e.jsx(de,{children:e.jsx("p",{className:"text-muted-foreground leading-relaxed",children:n.personalDetails.summary})})]}),e.jsxs(ce,{children:[e.jsx(xe,{children:e.jsxs(ke,{className:"flex items-center gap-2",children:[e.jsx(nt,{className:"w-5 h-5 text-accent"}),"Experience"]})}),e.jsx(de,{className:"space-y-6",children:n.workExperience.map((d,h)=>e.jsxs("div",{children:[e.jsxs("div",{className:"flex gap-4",children:[e.jsx("div",{className:"flex-shrink-0",children:e.jsx("div",{className:"w-12 h-12 rounded-lg bg-muted flex items-center justify-center",children:e.jsx(gt,{className:"w-6 h-6 text-accent"})})}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsxs("div",{className:"flex flex-col md:flex-row md:items-start md:justify-between gap-1",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-foreground",children:d.title}),e.jsx("p",{className:"text-accent font-medium",children:d.company})]}),e.jsxs("div",{className:"flex items-center gap-1.5 text-sm text-muted-foreground whitespace-nowrap",children:[e.jsx(lo,{className:"w-4 h-4"}),d.period]})]}),d.location&&e.jsxs("p",{className:"text-sm text-muted-foreground mt-1 flex items-center gap-1",children:[e.jsx(ct,{className:"w-3 h-3"}),d.location]}),d.summary&&e.jsx("p",{className:"text-sm text-muted-foreground mt-3 leading-relaxed",children:d.summary}),d.tags&&d.tags.length>0&&e.jsx("div",{className:"flex flex-wrap gap-2 mt-3",children:d.tags.map(u=>e.jsx(ge,{variant:"secondary",className:"text-xs",children:u},u))})]})]}),h<n.workExperience.length-1&&e.jsx(p9,{className:"mt-6"})]},d.id))})]}),e.jsxs(ce,{children:[e.jsx(xe,{children:e.jsxs(ke,{className:"flex items-center gap-2",children:[e.jsx(kr,{className:"w-5 h-5 text-accent"}),"Education"]})}),e.jsx(de,{className:"space-y-6",children:n.education.map((d,h)=>e.jsxs("div",{children:[e.jsxs("div",{className:"flex gap-4",children:[e.jsx("div",{className:"flex-shrink-0",children:e.jsx("div",{className:"w-12 h-12 rounded-lg bg-muted flex items-center justify-center",children:e.jsx(kr,{className:"w-6 h-6 text-accent"})})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"font-semibold text-foreground",children:d.degree}),e.jsx("p",{className:"text-accent font-medium",children:d.institution}),e.jsx(ge,{variant:"outline",className:"mt-2 text-xs",children:d.level})]})]}),h<n.education.length-1&&e.jsx(p9,{className:"mt-6"})]},h))})]})]}),e.jsxs("div",{className:"space-y-6",children:[e.jsxs(ce,{className:"sticky top-20",children:[e.jsx(xe,{children:e.jsx(ke,{className:"text-lg",children:"Contact Information"})}),e.jsxs(de,{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-full bg-accent/10 flex items-center justify-center",children:e.jsx(sa,{className:"w-5 h-5 text-accent"})}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-xs text-muted-foreground",children:"Email"}),e.jsx("p",{className:"text-sm font-medium truncate",children:n.personalDetails.email})]})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-full bg-accent/10 flex items-center justify-center",children:e.jsx(br,{className:"w-5 h-5 text-accent"})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-muted-foreground",children:"Phone"}),e.jsx("p",{className:"text-sm font-medium",children:n.personalDetails.phone})]})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-full bg-accent/10 flex items-center justify-center",children:e.jsx(ct,{className:"w-5 h-5 text-accent"})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-muted-foreground",children:"Location"}),e.jsx("p",{className:"text-sm font-medium",children:n.personalDetails.location})]})]}),e.jsx(p9,{}),e.jsxs(D,{variant:"accent",className:"w-full",children:[e.jsx(wr,{className:"w-4 h-4 mr-2"}),"Send Message"]}),((l=n.resume)==null?void 0:l.url)&&e.jsxs(D,{variant:"outline",className:"w-full",children:[e.jsx(Nc,{className:"w-4 h-4 mr-2"}),"Download Resume"]})]})]}),e.jsxs(ce,{children:[e.jsx(xe,{children:e.jsxs(ke,{className:"flex items-center gap-2 text-lg",children:[e.jsx(ea,{className:"w-5 h-5 text-accent"}),"Skills"]})}),e.jsx(de,{children:e.jsx("div",{className:"flex flex-wrap gap-2",children:n.skills.map(d=>e.jsx(ge,{variant:"secondary",className:"px-3 py-1",children:d},d))})})]}),e.jsxs(ce,{children:[e.jsx(xe,{children:e.jsxs(ke,{className:"flex items-center gap-2 text-lg",children:[e.jsx(_c,{className:"w-5 h-5 text-accent"}),"Languages"]})}),e.jsx(de,{className:"space-y-3",children:n.languages.map(d=>e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("span",{className:"font-medium text-foreground",children:d.name}),e.jsx(ge,{variant:"outline",className:"text-xs",children:d.proficiency})]},d.name))})]})]})]})})]})};function UL(t,a){if(typeof t=="function")return t(a);t!=null&&(t.current=a)}function dH(...t){return a=>{let r=!1;const n=t.map(s=>{const i=UL(s,a);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let s=0;s<n.length;s++){const i=n[s];typeof i=="function"?i():UL(t[s],null)}}}}function vS(...t){return g.useCallback(dH(...t),t)}function hH(t,a=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var k;const{scope:m,children:y,...x}=p,f=((k=m==null?void 0:m[t])==null?void 0:k[d])||l,v=g.useMemo(()=>x,Object.values(x));return e.jsx(f.Provider,{value:v,children:y})};h.displayName=i+"Provider";function u(p,m){var f;const y=((f=m==null?void 0:m[t])==null?void 0:f[d])||l,x=g.useContext(y);if(x)return x;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const s=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return s.scopeName=t,[n,uH(s,...a)]}function uH(...t){const a=t[0];if(t.length===1)return a;const r=()=>{const n=t.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${a.scopeName}`]:c}),[c])}};return r.scopeName=a.scopeName,r}function GL(t,a,{checkForDefaultPrevented:r=!0}={}){return function(s){if(t==null||t(s),r===!1||!s.defaultPrevented)return a==null?void 0:a(s)}}var mC=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},pH=g[" useInsertionEffect ".trim().toString()]||mC;function yH({prop:t,defaultProp:a,onChange:r=()=>{},caller:n}){const[s,i,c]=mH({defaultProp:a,onChange:r}),l=t!==void 0,d=l?t:s;{const u=g.useRef(t!==void 0);g.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${n} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=l},[l,n])}const h=g.useCallback(u=>{var p;if(l){const m=fH(u)?u(t):u;m!==t&&((p=c.current)==null||p.call(c,m))}else i(u)},[l,t,i,c]);return[d,h]}function mH({defaultProp:t,onChange:a}){const[r,n]=g.useState(t),s=g.useRef(r),i=g.useRef(a);return pH(()=>{i.current=a},[a]),g.useEffect(()=>{var c;s.current!==r&&((c=i.current)==null||c.call(i,r),s.current=r)},[r,s]),[r,n,i]}function fH(t){return typeof t=="function"}function wS(t){const a=g.useRef({value:t,previous:t});return g.useMemo(()=>(a.current.value!==t&&(a.current.previous=a.current.value,a.current.value=t),a.current.previous),[t])}var xH=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{};function bS(t){const[a,r]=g.useState(void 0);return xH(()=>{if(t){r({width:t.offsetWidth,height:t.offsetHeight});const n=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const i=s[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]),a}function gH(t,a){return g.useReducer((r,n)=>a[r][n]??r,t)}var $P=t=>{const{present:a,children:r}=t,n=kH(a),s=typeof r=="function"?r({present:n.isPresent}):g.Children.only(r),i=vS(n.ref,vH(s));return typeof r=="function"||n.isPresent?g.cloneElement(s,{ref:i}):null};$P.displayName="Presence";function kH(t){const[a,r]=g.useState(),n=g.useRef(null),s=g.useRef(t),i=g.useRef("none"),c=t?"mounted":"unmounted",[l,d]=gH(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const h=Ll(n.current);i.current=l==="mounted"?h:"none"},[l]),mC(()=>{const h=n.current,u=s.current;if(u!==t){const m=i.current,y=Ll(h);t?d("MOUNT"):y==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&m!==y?"ANIMATION_OUT":"UNMOUNT"),s.current=t}},[t,d]),mC(()=>{if(a){let h;const u=a.ownerDocument.defaultView??window,p=y=>{const f=Ll(n.current).includes(CSS.escape(y.animationName));if(y.target===a&&f&&(d("ANIMATION_END"),!s.current)){const v=a.style.animationFillMode;a.style.animationFillMode="forwards",h=u.setTimeout(()=>{a.style.animationFillMode==="forwards"&&(a.style.animationFillMode=v)})}},m=y=>{y.target===a&&(i.current=Ll(n.current))};return a.addEventListener("animationstart",m),a.addEventListener("animationcancel",p),a.addEventListener("animationend",p),()=>{u.clearTimeout(h),a.removeEventListener("animationstart",m),a.removeEventListener("animationcancel",p),a.removeEventListener("animationend",p)}}else d("ANIMATION_END")},[a,d]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:g.useCallback(h=>{n.current=h?getComputedStyle(h):null,r(h)},[])}}function Ll(t){return(t==null?void 0:t.animationName)||"none"}function vH(t){var n,s;let a=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=a&&"isReactWarning"in a&&a.isReactWarning;return r?t.ref:(a=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,r=a&&"isReactWarning"in a&&a.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var wH=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],MS=wH.reduce((t,a)=>{const r=at(`Primitive.${a}`),n=g.forwardRef((s,i)=>{const{asChild:c,...l}=s,d=c?r:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),e.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${a}`,{...t,[a]:n}},{}),Q9="Checkbox",[bH,QG]=hH(Q9),[MH,jS]=bH(Q9);function jH(t){const{__scopeCheckbox:a,checked:r,children:n,defaultChecked:s,disabled:i,form:c,name:l,onCheckedChange:d,required:h,value:u="on",internal_do_not_use_render:p}=t,[m,y]=yH({prop:r,defaultProp:s??!1,onChange:d,caller:Q9}),[x,f]=g.useState(null),[v,k]=g.useState(null),w=g.useRef(!1),j=x?!!c||!!x.closest("form"):!0,S={checked:m,disabled:i,setChecked:y,control:x,setControl:f,name:l,form:c,value:u,hasConsumerStoppedPropagationRef:w,required:h,defaultChecked:Lr(s)?!1:s,isFormControl:j,bubbleInput:v,setBubbleInput:k};return e.jsx(MH,{scope:a,...S,children:CH(p)?p(S):n})}var UP="CheckboxTrigger",GP=g.forwardRef(({__scopeCheckbox:t,onKeyDown:a,onClick:r,...n},s)=>{const{control:i,value:c,disabled:l,checked:d,required:h,setControl:u,setChecked:p,hasConsumerStoppedPropagationRef:m,isFormControl:y,bubbleInput:x}=jS(UP,t),f=vS(s,u),v=g.useRef(d);return g.useEffect(()=>{const k=i==null?void 0:i.form;if(k){const w=()=>p(v.current);return k.addEventListener("reset",w),()=>k.removeEventListener("reset",w)}},[i,p]),e.jsx(MS.button,{type:"button",role:"checkbox","aria-checked":Lr(d)?"mixed":d,"aria-required":h,"data-state":YP(d),"data-disabled":l?"":void 0,disabled:l,value:c,...n,ref:f,onKeyDown:GL(a,k=>{k.key==="Enter"&&k.preventDefault()}),onClick:GL(r,k=>{p(w=>Lr(w)?!0:!w),x&&y&&(m.current=k.isPropagationStopped(),m.current||k.stopPropagation())})})});GP.displayName=UP;var CS=g.forwardRef((t,a)=>{const{__scopeCheckbox:r,name:n,checked:s,defaultChecked:i,required:c,disabled:l,value:d,onCheckedChange:h,form:u,...p}=t;return e.jsx(jH,{__scopeCheckbox:r,checked:s,defaultChecked:i,disabled:l,required:c,onCheckedChange:h,name:n,form:u,value:d,internal_do_not_use_render:({isFormControl:m})=>e.jsxs(e.Fragment,{children:[e.jsx(GP,{...p,ref:a,__scopeCheckbox:r}),m&&e.jsx(XP,{__scopeCheckbox:r})]})})});CS.displayName=Q9;var WP="CheckboxIndicator",ZP=g.forwardRef((t,a)=>{const{__scopeCheckbox:r,forceMount:n,...s}=t,i=jS(WP,r);return e.jsx($P,{present:n||Lr(i.checked)||i.checked===!0,children:e.jsx(MS.span,{"data-state":YP(i.checked),"data-disabled":i.disabled?"":void 0,...s,ref:a,style:{pointerEvents:"none",...t.style}})})});ZP.displayName=WP;var JP="CheckboxBubbleInput",XP=g.forwardRef(({__scopeCheckbox:t,...a},r)=>{const{control:n,hasConsumerStoppedPropagationRef:s,checked:i,defaultChecked:c,required:l,disabled:d,name:h,value:u,form:p,bubbleInput:m,setBubbleInput:y}=jS(JP,t),x=vS(r,y),f=wS(i),v=bS(n);g.useEffect(()=>{const w=m;if(!w)return;const j=window.HTMLInputElement.prototype,C=Object.getOwnPropertyDescriptor(j,"checked").set,A=!s.current;if(f!==i&&C){const L=new Event("click",{bubbles:A});w.indeterminate=Lr(i),C.call(w,Lr(i)?!1:i),w.dispatchEvent(L)}},[m,f,i,s]);const k=g.useRef(Lr(i)?!1:i);return e.jsx(MS.input,{type:"checkbox","aria-hidden":!0,defaultChecked:c??k.current,required:l,disabled:d,name:h,value:u,form:p,...a,tabIndex:-1,ref:x,style:{...a.style,...v,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});XP.displayName=JP;function CH(t){return typeof t=="function"}function Lr(t){return t==="indeterminate"}function YP(t){return Lr(t)?"indeterminate":t?"checked":"unchecked"}const Dt=g.forwardRef(({className:t,...a},r)=>e.jsx(CS,{ref:r,className:me("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),...a,children:e.jsx(ZP,{className:me("flex items-center justify-center text-current"),children:e.jsx(Fo,{className:"h-4 w-4"})})}));Dt.displayName=CS.displayName;const SH=({company:t,displayName:a,openRolesCount:r,groupMembersCount:n,isGroup:s=!1,viewMode:i="list",compareId:c,compareSelected:l=!1,compareDisabled:d=!1,onToggleCompare:h,isFollowing:u,followLoading:p=!1,followDisabled:m=!1,onToggleFollow:y,onFollowAction:x,isSaved:f,saveLoading:v=!1,saveDisabled:k=!1,onToggleSave:w,onSaveAction:j})=>{var ee,ue,we,Z,te,ve,fe;const S=i==="grid",C=u??t.isFollowing??!1,A=m||p,L=C?"Unfollow Company":"Follow Company",b=f??t.isSaved??!1,N=k||v,q=b?"Remove from Saved":"Save Company",P=t.trustAndCompliance.licenses.length+t.trustAndCompliance.certifications.length+t.trustAndCompliance.awards.length,R=((ee=t.group)==null?void 0:ee.intelligenceProfile)??t.signalsAndInsights,T=Array.isArray(t.jobs.openRoles)?t.jobs.openRoles.length:t.jobs.openRoles,$=r??T,W=$>0,B=((ue=t.group)==null?void 0:ue.name)??t.groupName??t.group_name,U=((we=t.group)==null?void 0:we.slug)??t.groupSlug??t.group_slug??((Z=t.group)==null?void 0:Z.id)??t.groupId??t.group_id,O=re=>{switch(re){case"Operator":return"bg-blue-500/10 text-blue-600 border-blue-500/20";case"Game Provider":return"bg-purple-500/10 text-purple-600 border-purple-500/20";case"Platform Provider":return"bg-emerald-500/10 text-emerald-600 border-emerald-500/20";case"Affiliate":return"bg-orange-500/10 text-orange-600 border-orange-500/20";case"Payments":return"bg-cyan-500/10 text-cyan-600 border-cyan-500/20";default:return"bg-muted text-muted-foreground"}},oe=re=>{var he,Ae,Pe;if(typeof re=="string")return re;if(typeof re=="object"&&re!==null){const _e=re;return _e.title??((he=_e.tag)==null?void 0:he.title)??((Ae=_e.tag)==null?void 0:Ae.name)??((Pe=_e.tag)==null?void 0:Pe.slug)??null}return null},ae=(te=t.overview.headquarters)==null?void 0:te.city,Y=(ve=t.overview.headquarters)==null?void 0:ve.country,J=()=>{const re=!C;y==null||y(t.id,re),x==null||x({companyId:t.id,companySlug:t.slug,action:re?"follow":"unfollow"})},Q=()=>{const re=!b;w==null||w(t.id,re),j==null||j({companyId:t.id,companySlug:t.slug,companyName:t.name,action:re?"save":"unsave"})};return e.jsx(ce,{className:`group hover:shadow-lg transition-all duration-300 border-border/50 hover:border-accent/30 overflow-hidden ${S?"h-full":""}`,children:e.jsx(de,{className:`p-5 ${S?"flex h-full flex-col":""}`,children:e.jsxs("div",{className:`flex gap-4 ${S?"flex-col":""}`,children:[e.jsx("div",{className:"w-16 h-16 rounded-xl bg-gradient-to-br from-primary/10 to-accent/10 flex items-center justify-center flex-shrink-0 border border-border/50",children:e.jsx(gt,{className:"w-8 h-8 text-primary"})}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsxs("div",{className:`mb-2 flex items-start ${S?"flex-col gap-3":"justify-between gap-2"}`,children:[e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("a",{href:`/companies/${t.slug}`,className:"font-semibold text-foreground hover:text-accent transition-colors text-lg",children:a??t.name}),t.claimedStatus==="claimed"&&e.jsx(it,{className:"w-4 h-4 text-accent flex-shrink-0"})]}),e.jsxs("div",{className:"flex items-center gap-3 text-sm text-muted-foreground mt-0.5",children:[(ae||Y)&&e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(ct,{className:"w-3.5 h-3.5"}),[ae,Y].filter(Boolean).join(", ")]}),e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(Nt,{className:"w-3.5 h-3.5"}),t.overview.employeeRange]})]})]}),e.jsxs("div",{className:`flex flex-col gap-2 ${S?"items-start":"items-end"}`,children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(Dt,{id:`compare-${c??t.id}`,checked:l,disabled:d,onCheckedChange:()=>h==null?void 0:h(c??t.id),"aria-label":`Compare ${a??t.name}`}),e.jsx("label",{htmlFor:`compare-${c??t.id}`,className:`text-xs ${d?"text-muted-foreground":"text-foreground"} cursor-pointer`,children:"Compare"})]}),e.jsxs("div",{className:`flex flex-wrap gap-2 ${S?"justify-start":"justify-end"}`,children:[e.jsxs(D,{variant:b?"secondary":"outline",size:"sm",className:"flex-shrink-0 gap-2 opacity-0 group-hover:opacity-100 focus-visible:opacity-100 transition-opacity",onClick:Q,disabled:N,"aria-label":`${q} ${a??t.name}`,"aria-pressed":b,"aria-busy":v,title:q,children:[v?e.jsx(ma,{className:"h-4 w-4 animate-spin"}):e.jsx(ga,{className:`h-4 w-4 ${b?"fill-current":"fill-transparent"}`}),v?"Loading":b?"Saved":"Save"]}),e.jsxs(D,{variant:C?"secondary":"outline",size:"sm",className:"flex-shrink-0 gap-2 opacity-0 group-hover:opacity-100 focus-visible:opacity-100 transition-opacity",onClick:J,disabled:A,"aria-label":`${L} ${a??t.name}`,"aria-pressed":C,"aria-busy":p,title:L,children:[p?e.jsx(ma,{className:"h-4 w-4 animate-spin"}):C?e.jsx(it,{className:"h-4 w-4"}):e.jsx(vr,{className:"h-4 w-4"}),p?"Loading":C?"Following":"Follow"]})]})]})]}),e.jsxs("div",{className:"flex flex-wrap gap-1.5 mb-3",children:[e.jsx(ge,{className:`${O(t.companyType)} border text-xs`,children:t.companyType}),s&&e.jsxs(ge,{variant:"outline",className:"text-xs",children:["Group (",n??1,")"]}),B&&!s&&e.jsx("a",{href:U?`/groups/${U}`:"/groups",children:e.jsxs(ge,{variant:"outline",className:"text-xs",children:["Part of ",B]})}),t.classification.verticals.slice(0,2).map(re=>e.jsx(ge,{variant:"secondary",className:"text-xs",children:re},re)),W&&e.jsxs(ge,{className:"bg-gaming-success/10 text-gaming-success border-gaming-success/20 border text-xs",children:[e.jsx(nt,{className:"w-3 h-3 mr-1"}),"Hiring (",$,")"]})]}),e.jsx("p",{className:"text-sm text-muted-foreground line-clamp-2 mb-3",children:t.overview.shortDescription}),e.jsx("div",{className:"flex flex-wrap gap-1.5 mb-3",children:(fe=t.classification.tags)==null?void 0:fe.map(oe).filter(re=>!!re).slice(0,4).map(re=>e.jsxs("span",{className:"text-xs px-2 py-0.5 rounded-full bg-secondary text-secondary-foreground",children:["#",re]},re))}),e.jsxs("div",{className:"flex items-center justify-between pt-3 border-t border-border/50",children:[e.jsxs("div",{className:"flex items-center gap-4 text-xs text-muted-foreground",children:[P>0&&e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(Mr,{className:"w-3.5 h-3.5 text-gaming-success"}),P," trust signals"]}),R.followsCount>0&&e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(Lt,{className:"w-3.5 h-3.5 text-gaming-gold"}),R.followsCount.toLocaleString()," followers"]}),R.hiringIntensity==="High"&&e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(Ra,{className:"w-3.5 h-3.5 text-accent"}),"High hiring"]})]}),e.jsx("a",{href:`/companies/${t.slug}`,children:e.jsx(D,{variant:"ghost",size:"sm",className:"text-accent hover:text-accent",children:"View Profile →"})})]})]})]})})})};function WL(t,[a,r]){return Math.min(r,Math.max(a,t))}function pt(t,a,{checkForDefaultPrevented:r=!0}={}){return function(s){if(t==null||t(s),r===!1||!s.defaultPrevented)return a==null?void 0:a(s)}}function KP(t,a=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var k;const{scope:m,children:y,...x}=p,f=((k=m==null?void 0:m[t])==null?void 0:k[d])||l,v=g.useMemo(()=>x,Object.values(x));return e.jsx(f.Provider,{value:v,children:y})};h.displayName=i+"Provider";function u(p,m){var f;const y=((f=m==null?void 0:m[t])==null?void 0:f[d])||l,x=g.useContext(y);if(x)return x;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const s=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return s.scopeName=t,[n,LH(s,...a)]}function LH(...t){const a=t[0];if(t.length===1)return a;const r=()=>{const n=t.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${a.scopeName}`]:c}),[c])}};return r.scopeName=a.scopeName,r}function ZL(t,a){if(typeof t=="function")return t(a);t!=null&&(t.current=a)}function NH(...t){return a=>{let r=!1;const n=t.map(s=>{const i=ZL(s,a);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let s=0;s<n.length;s++){const i=n[s];typeof i=="function"?i():ZL(t[s],null)}}}}function la(...t){return g.useCallback(NH(...t),t)}function IH(t){const a=t+"CollectionProvider",[r,n]=KP(a),[s,i]=r(a,{collectionRef:{current:null},itemMap:new Map}),c=f=>{const{scope:v,children:k}=f,w=M.useRef(null),j=M.useRef(new Map).current;return e.jsx(s,{scope:v,itemMap:j,collectionRef:w,children:k})};c.displayName=a;const l=t+"CollectionSlot",d=at(l),h=M.forwardRef((f,v)=>{const{scope:k,children:w}=f,j=i(l,k),S=la(v,j.collectionRef);return e.jsx(d,{ref:S,children:w})});h.displayName=l;const u=t+"CollectionItemSlot",p="data-radix-collection-item",m=at(u),y=M.forwardRef((f,v)=>{const{scope:k,children:w,...j}=f,S=M.useRef(null),C=la(v,S),A=i(u,k);return M.useEffect(()=>(A.itemMap.set(S,{ref:S,...j}),()=>void A.itemMap.delete(S))),e.jsx(m,{[p]:"",ref:C,children:w})});y.displayName=u;function x(f){const v=i(t+"CollectionConsumer",f);return M.useCallback(()=>{const w=v.collectionRef.current;if(!w)return[];const j=Array.from(w.querySelectorAll(`[${p}]`));return Array.from(v.itemMap.values()).sort((A,L)=>j.indexOf(A.ref.current)-j.indexOf(L.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:c,Slot:h,ItemSlot:y},x,n]}var AH=g.createContext(void 0);function PH(t){const a=g.useContext(AH);return t||a||"ltr"}var za=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},_H=g[" useId ".trim().toString()]||(()=>{}),RH=0;function SS(t){const[a,r]=g.useState(_H());return za(()=>{r(n=>n??String(RH++))},[t]),a?`radix-${a}`:""}const TH=["top","right","bottom","left"],Ar=Math.min,Ot=Math.max,L9=Math.round,Nl=Math.floor,qa=t=>({x:t,y:t}),qH={left:"right",right:"left",bottom:"top",top:"bottom"},DH={start:"end",end:"start"};function fC(t,a,r){return Ot(t,Ar(a,r))}function Qa(t,a){return typeof t=="function"?t(a):t}function er(t){return t.split("-")[0]}function dc(t){return t.split("-")[1]}function LS(t){return t==="x"?"y":"x"}function NS(t){return t==="y"?"height":"width"}const zH=new Set(["top","bottom"]);function Pa(t){return zH.has(er(t))?"y":"x"}function IS(t){return LS(Pa(t))}function EH(t,a,r){r===void 0&&(r=!1);const n=dc(t),s=IS(t),i=NS(s);let c=s==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return a.reference[i]>a.floating[i]&&(c=N9(c)),[c,N9(c)]}function FH(t){const a=N9(t);return[xC(t),a,xC(a)]}function xC(t){return t.replace(/start|end/g,a=>DH[a])}const JL=["left","right"],XL=["right","left"],OH=["top","bottom"],HH=["bottom","top"];function VH(t,a,r){switch(t){case"top":case"bottom":return r?a?XL:JL:a?JL:XL;case"left":case"right":return a?OH:HH;default:return[]}}function BH(t,a,r,n){const s=dc(t);let i=VH(er(t),r==="start",n);return s&&(i=i.map(c=>c+"-"+s),a&&(i=i.concat(i.map(xC)))),i}function N9(t){return t.replace(/left|right|bottom|top/g,a=>qH[a])}function $H(t){return{top:0,right:0,bottom:0,left:0,...t}}function QP(t){return typeof t!="number"?$H(t):{top:t,right:t,bottom:t,left:t}}function I9(t){const{x:a,y:r,width:n,height:s}=t;return{width:n,height:s,top:r,left:a,right:a+n,bottom:r+s,x:a,y:r}}function YL(t,a,r){let{reference:n,floating:s}=t;const i=Pa(a),c=IS(a),l=NS(c),d=er(a),h=i==="y",u=n.x+n.width/2-s.width/2,p=n.y+n.height/2-s.height/2,m=n[l]/2-s[l]/2;let y;switch(d){case"top":y={x:u,y:n.y-s.height};break;case"bottom":y={x:u,y:n.y+n.height};break;case"right":y={x:n.x+n.width,y:p};break;case"left":y={x:n.x-s.width,y:p};break;default:y={x:n.x,y:n.y}}switch(dc(a)){case"start":y[c]-=m*(r&&h?-1:1);break;case"end":y[c]+=m*(r&&h?-1:1);break}return y}const UH=async(t,a,r)=>{const{placement:n="bottom",strategy:s="absolute",middleware:i=[],platform:c}=r,l=i.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(a));let h=await c.getElementRects({reference:t,floating:a,strategy:s}),{x:u,y:p}=YL(h,n,d),m=n,y={},x=0;for(let f=0;f<l.length;f++){const{name:v,fn:k}=l[f],{x:w,y:j,data:S,reset:C}=await k({x:u,y:p,initialPlacement:n,placement:m,strategy:s,middlewareData:y,rects:h,platform:c,elements:{reference:t,floating:a}});u=w??u,p=j??p,y={...y,[v]:{...y[v],...S}},C&&x<=50&&(x++,typeof C=="object"&&(C.placement&&(m=C.placement),C.rects&&(h=C.rects===!0?await c.getElementRects({reference:t,floating:a,strategy:s}):C.rects),{x:u,y:p}=YL(h,m,d)),f=-1)}return{x:u,y:p,placement:m,strategy:s,middlewareData:y}};async function cl(t,a){var r;a===void 0&&(a={});const{x:n,y:s,platform:i,rects:c,elements:l,strategy:d}=t,{boundary:h="clippingAncestors",rootBoundary:u="viewport",elementContext:p="floating",altBoundary:m=!1,padding:y=0}=Qa(a,t),x=QP(y),v=l[m?p==="floating"?"reference":"floating":p],k=I9(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(v)))==null||r?v:v.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:h,rootBoundary:u,strategy:d})),w=p==="floating"?{x:n,y:s,width:c.floating.width,height:c.floating.height}:c.reference,j=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),S=await(i.isElement==null?void 0:i.isElement(j))?await(i.getScale==null?void 0:i.getScale(j))||{x:1,y:1}:{x:1,y:1},C=I9(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:w,offsetParent:j,strategy:d}):w);return{top:(k.top-C.top+x.top)/S.y,bottom:(C.bottom-k.bottom+x.bottom)/S.y,left:(k.left-C.left+x.left)/S.x,right:(C.right-k.right+x.right)/S.x}}const GH=t=>({name:"arrow",options:t,async fn(a){const{x:r,y:n,placement:s,rects:i,platform:c,elements:l,middlewareData:d}=a,{element:h,padding:u=0}=Qa(t,a)||{};if(h==null)return{};const p=QP(u),m={x:r,y:n},y=IS(s),x=NS(y),f=await c.getDimensions(h),v=y==="y",k=v?"top":"left",w=v?"bottom":"right",j=v?"clientHeight":"clientWidth",S=i.reference[x]+i.reference[y]-m[y]-i.floating[x],C=m[y]-i.reference[y],A=await(c.getOffsetParent==null?void 0:c.getOffsetParent(h));let L=A?A[j]:0;(!L||!await(c.isElement==null?void 0:c.isElement(A)))&&(L=l.floating[j]||i.floating[x]);const b=S/2-C/2,N=L/2-f[x]/2-1,q=Ar(p[k],N),P=Ar(p[w],N),R=q,T=L-f[x]-P,$=L/2-f[x]/2+b,W=fC(R,$,T),B=!d.arrow&&dc(s)!=null&&$!==W&&i.reference[x]/2-($<R?q:P)-f[x]/2<0,U=B?$<R?$-R:$-T:0;return{[y]:m[y]+U,data:{[y]:W,centerOffset:$-W-U,...B&&{alignmentOffset:U}},reset:B}}}),WH=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(a){var r,n;const{placement:s,middlewareData:i,rects:c,initialPlacement:l,platform:d,elements:h}=a,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:m,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:f=!0,...v}=Qa(t,a);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const k=er(s),w=Pa(l),j=er(l)===l,S=await(d.isRTL==null?void 0:d.isRTL(h.floating)),C=m||(j||!f?[N9(l)]:FH(l)),A=x!=="none";!m&&A&&C.push(...BH(l,f,x,S));const L=[l,...C],b=await cl(a,v),N=[];let q=((n=i.flip)==null?void 0:n.overflows)||[];if(u&&N.push(b[k]),p){const $=EH(s,c,S);N.push(b[$[0]],b[$[1]])}if(q=[...q,{placement:s,overflows:N}],!N.every($=>$<=0)){var P,R;const $=(((P=i.flip)==null?void 0:P.index)||0)+1,W=L[$];if(W&&(!(p==="alignment"?w!==Pa(W):!1)||q.every(O=>Pa(O.placement)===w?O.overflows[0]>0:!0)))return{data:{index:$,overflows:q},reset:{placement:W}};let B=(R=q.filter(U=>U.overflows[0]<=0).sort((U,O)=>U.overflows[1]-O.overflows[1])[0])==null?void 0:R.placement;if(!B)switch(y){case"bestFit":{var T;const U=(T=q.filter(O=>{if(A){const oe=Pa(O.placement);return oe===w||oe==="y"}return!0}).map(O=>[O.placement,O.overflows.filter(oe=>oe>0).reduce((oe,ae)=>oe+ae,0)]).sort((O,oe)=>O[1]-oe[1])[0])==null?void 0:T[0];U&&(B=U);break}case"initialPlacement":B=l;break}if(s!==B)return{reset:{placement:B}}}return{}}}};function KL(t,a){return{top:t.top-a.height,right:t.right-a.width,bottom:t.bottom-a.height,left:t.left-a.width}}function QL(t){return TH.some(a=>t[a]>=0)}const ZH=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(a){const{rects:r}=a,{strategy:n="referenceHidden",...s}=Qa(t,a);switch(n){case"referenceHidden":{const i=await cl(a,{...s,elementContext:"reference"}),c=KL(i,r.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:QL(c)}}}case"escaped":{const i=await cl(a,{...s,altBoundary:!0}),c=KL(i,r.floating);return{data:{escapedOffsets:c,escaped:QL(c)}}}default:return{}}}}},e_=new Set(["left","top"]);async function JH(t,a){const{placement:r,platform:n,elements:s}=t,i=await(n.isRTL==null?void 0:n.isRTL(s.floating)),c=er(r),l=dc(r),d=Pa(r)==="y",h=e_.has(c)?-1:1,u=i&&d?-1:1,p=Qa(a,t);let{mainAxis:m,crossAxis:y,alignmentAxis:x}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&typeof x=="number"&&(y=l==="end"?x*-1:x),d?{x:y*u,y:m*h}:{x:m*h,y:y*u}}const XH=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(a){var r,n;const{x:s,y:i,placement:c,middlewareData:l}=a,d=await JH(a,t);return c===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:s+d.x,y:i+d.y,data:{...d,placement:c}}}}},YH=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(a){const{x:r,y:n,placement:s}=a,{mainAxis:i=!0,crossAxis:c=!1,limiter:l={fn:v=>{let{x:k,y:w}=v;return{x:k,y:w}}},...d}=Qa(t,a),h={x:r,y:n},u=await cl(a,d),p=Pa(er(s)),m=LS(p);let y=h[m],x=h[p];if(i){const v=m==="y"?"top":"left",k=m==="y"?"bottom":"right",w=y+u[v],j=y-u[k];y=fC(w,y,j)}if(c){const v=p==="y"?"top":"left",k=p==="y"?"bottom":"right",w=x+u[v],j=x-u[k];x=fC(w,x,j)}const f=l.fn({...a,[m]:y,[p]:x});return{...f,data:{x:f.x-r,y:f.y-n,enabled:{[m]:i,[p]:c}}}}}},KH=function(t){return t===void 0&&(t={}),{options:t,fn(a){const{x:r,y:n,placement:s,rects:i,middlewareData:c}=a,{offset:l=0,mainAxis:d=!0,crossAxis:h=!0}=Qa(t,a),u={x:r,y:n},p=Pa(s),m=LS(p);let y=u[m],x=u[p];const f=Qa(l,a),v=typeof f=="number"?{mainAxis:f,crossAxis:0}:{mainAxis:0,crossAxis:0,...f};if(d){const j=m==="y"?"height":"width",S=i.reference[m]-i.floating[j]+v.mainAxis,C=i.reference[m]+i.reference[j]-v.mainAxis;y<S?y=S:y>C&&(y=C)}if(h){var k,w;const j=m==="y"?"width":"height",S=e_.has(er(s)),C=i.reference[p]-i.floating[j]+(S&&((k=c.offset)==null?void 0:k[p])||0)+(S?0:v.crossAxis),A=i.reference[p]+i.reference[j]+(S?0:((w=c.offset)==null?void 0:w[p])||0)-(S?v.crossAxis:0);x<C?x=C:x>A&&(x=A)}return{[m]:y,[p]:x}}}},QH=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(a){var r,n;const{placement:s,rects:i,platform:c,elements:l}=a,{apply:d=()=>{},...h}=Qa(t,a),u=await cl(a,h),p=er(s),m=dc(s),y=Pa(s)==="y",{width:x,height:f}=i.floating;let v,k;p==="top"||p==="bottom"?(v=p,k=m===(await(c.isRTL==null?void 0:c.isRTL(l.floating))?"start":"end")?"left":"right"):(k=p,v=m==="end"?"top":"bottom");const w=f-u.top-u.bottom,j=x-u.left-u.right,S=Ar(f-u[v],w),C=Ar(x-u[k],j),A=!a.middlewareData.shift;let L=S,b=C;if((r=a.middlewareData.shift)!=null&&r.enabled.x&&(b=j),(n=a.middlewareData.shift)!=null&&n.enabled.y&&(L=w),A&&!m){const q=Ot(u.left,0),P=Ot(u.right,0),R=Ot(u.top,0),T=Ot(u.bottom,0);y?b=x-2*(q!==0||P!==0?q+P:Ot(u.left,u.right)):L=f-2*(R!==0||T!==0?R+T:Ot(u.top,u.bottom))}await d({...a,availableWidth:b,availableHeight:L});const N=await c.getDimensions(l.floating);return x!==N.width||f!==N.height?{reset:{rects:!0}}:{}}}};function ej(){return typeof window<"u"}function hc(t){return t_(t)?(t.nodeName||"").toLowerCase():"#document"}function Gt(t){var a;return(t==null||(a=t.ownerDocument)==null?void 0:a.defaultView)||window}function Oa(t){var a;return(a=(t_(t)?t.ownerDocument:t.document)||window.document)==null?void 0:a.documentElement}function t_(t){return ej()?t instanceof Node||t instanceof Gt(t).Node:!1}function wa(t){return ej()?t instanceof Element||t instanceof Gt(t).Element:!1}function Ea(t){return ej()?t instanceof HTMLElement||t instanceof Gt(t).HTMLElement:!1}function eN(t){return!ej()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Gt(t).ShadowRoot}const eV=new Set(["inline","contents"]);function pl(t){const{overflow:a,overflowX:r,overflowY:n,display:s}=ba(t);return/auto|scroll|overlay|hidden|clip/.test(a+n+r)&&!eV.has(s)}const tV=new Set(["table","td","th"]);function aV(t){return tV.has(hc(t))}const rV=[":popover-open",":modal"];function tj(t){return rV.some(a=>{try{return t.matches(a)}catch{return!1}})}const nV=["transform","translate","scale","rotate","perspective"],sV=["transform","translate","scale","rotate","perspective","filter"],iV=["paint","layout","strict","content"];function AS(t){const a=PS(),r=wa(t)?ba(t):t;return nV.some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!a&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!a&&(r.filter?r.filter!=="none":!1)||sV.some(n=>(r.willChange||"").includes(n))||iV.some(n=>(r.contain||"").includes(n))}function oV(t){let a=Pr(t);for(;Ea(a)&&!oc(a);){if(AS(a))return a;if(tj(a))return null;a=Pr(a)}return null}function PS(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const cV=new Set(["html","body","#document"]);function oc(t){return cV.has(hc(t))}function ba(t){return Gt(t).getComputedStyle(t)}function aj(t){return wa(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Pr(t){if(hc(t)==="html")return t;const a=t.assignedSlot||t.parentNode||eN(t)&&t.host||Oa(t);return eN(a)?a.host:a}function a_(t){const a=Pr(t);return oc(a)?t.ownerDocument?t.ownerDocument.body:t.body:Ea(a)&&pl(a)?a:a_(a)}function ll(t,a,r){var n;a===void 0&&(a=[]),r===void 0&&(r=!0);const s=a_(t),i=s===((n=t.ownerDocument)==null?void 0:n.body),c=Gt(s);if(i){const l=gC(c);return a.concat(c,c.visualViewport||[],pl(s)?s:[],l&&r?ll(l):[])}return a.concat(s,ll(s,[],r))}function gC(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function r_(t){const a=ba(t);let r=parseFloat(a.width)||0,n=parseFloat(a.height)||0;const s=Ea(t),i=s?t.offsetWidth:r,c=s?t.offsetHeight:n,l=L9(r)!==i||L9(n)!==c;return l&&(r=i,n=c),{width:r,height:n,$:l}}function _S(t){return wa(t)?t:t.contextElement}function ec(t){const a=_S(t);if(!Ea(a))return qa(1);const r=a.getBoundingClientRect(),{width:n,height:s,$:i}=r_(a);let c=(i?L9(r.width):r.width)/n,l=(i?L9(r.height):r.height)/s;return(!c||!Number.isFinite(c))&&(c=1),(!l||!Number.isFinite(l))&&(l=1),{x:c,y:l}}const lV=qa(0);function n_(t){const a=Gt(t);return!PS()||!a.visualViewport?lV:{x:a.visualViewport.offsetLeft,y:a.visualViewport.offsetTop}}function dV(t,a,r){return a===void 0&&(a=!1),!r||a&&r!==Gt(t)?!1:a}function Mo(t,a,r,n){a===void 0&&(a=!1),r===void 0&&(r=!1);const s=t.getBoundingClientRect(),i=_S(t);let c=qa(1);a&&(n?wa(n)&&(c=ec(n)):c=ec(t));const l=dV(i,r,n)?n_(i):qa(0);let d=(s.left+l.x)/c.x,h=(s.top+l.y)/c.y,u=s.width/c.x,p=s.height/c.y;if(i){const m=Gt(i),y=n&&wa(n)?Gt(n):n;let x=m,f=gC(x);for(;f&&n&&y!==x;){const v=ec(f),k=f.getBoundingClientRect(),w=ba(f),j=k.left+(f.clientLeft+parseFloat(w.paddingLeft))*v.x,S=k.top+(f.clientTop+parseFloat(w.paddingTop))*v.y;d*=v.x,h*=v.y,u*=v.x,p*=v.y,d+=j,h+=S,x=Gt(f),f=gC(x)}}return I9({width:u,height:p,x:d,y:h})}function rj(t,a){const r=aj(t).scrollLeft;return a?a.left+r:Mo(Oa(t)).left+r}function s_(t,a){const r=t.getBoundingClientRect(),n=r.left+a.scrollLeft-rj(t,r),s=r.top+a.scrollTop;return{x:n,y:s}}function hV(t){let{elements:a,rect:r,offsetParent:n,strategy:s}=t;const i=s==="fixed",c=Oa(n),l=a?tj(a.floating):!1;if(n===c||l&&i)return r;let d={scrollLeft:0,scrollTop:0},h=qa(1);const u=qa(0),p=Ea(n);if((p||!p&&!i)&&((hc(n)!=="body"||pl(c))&&(d=aj(n)),Ea(n))){const y=Mo(n);h=ec(n),u.x=y.x+n.clientLeft,u.y=y.y+n.clientTop}const m=c&&!p&&!i?s_(c,d):qa(0);return{width:r.width*h.x,height:r.height*h.y,x:r.x*h.x-d.scrollLeft*h.x+u.x+m.x,y:r.y*h.y-d.scrollTop*h.y+u.y+m.y}}function uV(t){return Array.from(t.getClientRects())}function pV(t){const a=Oa(t),r=aj(t),n=t.ownerDocument.body,s=Ot(a.scrollWidth,a.clientWidth,n.scrollWidth,n.clientWidth),i=Ot(a.scrollHeight,a.clientHeight,n.scrollHeight,n.clientHeight);let c=-r.scrollLeft+rj(t);const l=-r.scrollTop;return ba(n).direction==="rtl"&&(c+=Ot(a.clientWidth,n.clientWidth)-s),{width:s,height:i,x:c,y:l}}const tN=25;function yV(t,a){const r=Gt(t),n=Oa(t),s=r.visualViewport;let i=n.clientWidth,c=n.clientHeight,l=0,d=0;if(s){i=s.width,c=s.height;const u=PS();(!u||u&&a==="fixed")&&(l=s.offsetLeft,d=s.offsetTop)}const h=rj(n);if(h<=0){const u=n.ownerDocument,p=u.body,m=getComputedStyle(p),y=u.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,x=Math.abs(n.clientWidth-p.clientWidth-y);x<=tN&&(i-=x)}else h<=tN&&(i+=h);return{width:i,height:c,x:l,y:d}}const mV=new Set(["absolute","fixed"]);function fV(t,a){const r=Mo(t,!0,a==="fixed"),n=r.top+t.clientTop,s=r.left+t.clientLeft,i=Ea(t)?ec(t):qa(1),c=t.clientWidth*i.x,l=t.clientHeight*i.y,d=s*i.x,h=n*i.y;return{width:c,height:l,x:d,y:h}}function aN(t,a,r){let n;if(a==="viewport")n=yV(t,r);else if(a==="document")n=pV(Oa(t));else if(wa(a))n=fV(a,r);else{const s=n_(t);n={x:a.x-s.x,y:a.y-s.y,width:a.width,height:a.height}}return I9(n)}function i_(t,a){const r=Pr(t);return r===a||!wa(r)||oc(r)?!1:ba(r).position==="fixed"||i_(r,a)}function xV(t,a){const r=a.get(t);if(r)return r;let n=ll(t,[],!1).filter(l=>wa(l)&&hc(l)!=="body"),s=null;const i=ba(t).position==="fixed";let c=i?Pr(t):t;for(;wa(c)&&!oc(c);){const l=ba(c),d=AS(c);!d&&l.position==="fixed"&&(s=null),(i?!d&&!s:!d&&l.position==="static"&&!!s&&mV.has(s.position)||pl(c)&&!d&&i_(t,c))?n=n.filter(u=>u!==c):s=l,c=Pr(c)}return a.set(t,n),n}function gV(t){let{element:a,boundary:r,rootBoundary:n,strategy:s}=t;const c=[...r==="clippingAncestors"?tj(a)?[]:xV(a,this._c):[].concat(r),n],l=c[0],d=c.reduce((h,u)=>{const p=aN(a,u,s);return h.top=Ot(p.top,h.top),h.right=Ar(p.right,h.right),h.bottom=Ar(p.bottom,h.bottom),h.left=Ot(p.left,h.left),h},aN(a,l,s));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function kV(t){const{width:a,height:r}=r_(t);return{width:a,height:r}}function vV(t,a,r){const n=Ea(a),s=Oa(a),i=r==="fixed",c=Mo(t,!0,i,a);let l={scrollLeft:0,scrollTop:0};const d=qa(0);function h(){d.x=rj(s)}if(n||!n&&!i)if((hc(a)!=="body"||pl(s))&&(l=aj(a)),n){const y=Mo(a,!0,i,a);d.x=y.x+a.clientLeft,d.y=y.y+a.clientTop}else s&&h();i&&!n&&s&&h();const u=s&&!n&&!i?s_(s,l):qa(0),p=c.left+l.scrollLeft-d.x-u.x,m=c.top+l.scrollTop-d.y-u.y;return{x:p,y:m,width:c.width,height:c.height}}function Fj(t){return ba(t).position==="static"}function rN(t,a){if(!Ea(t)||ba(t).position==="fixed")return null;if(a)return a(t);let r=t.offsetParent;return Oa(t)===r&&(r=r.ownerDocument.body),r}function o_(t,a){const r=Gt(t);if(tj(t))return r;if(!Ea(t)){let s=Pr(t);for(;s&&!oc(s);){if(wa(s)&&!Fj(s))return s;s=Pr(s)}return r}let n=rN(t,a);for(;n&&aV(n)&&Fj(n);)n=rN(n,a);return n&&oc(n)&&Fj(n)&&!AS(n)?r:n||oV(t)||r}const wV=async function(t){const a=this.getOffsetParent||o_,r=this.getDimensions,n=await r(t.floating);return{reference:vV(t.reference,await a(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function bV(t){return ba(t).direction==="rtl"}const MV={convertOffsetParentRelativeRectToViewportRelativeRect:hV,getDocumentElement:Oa,getClippingRect:gV,getOffsetParent:o_,getElementRects:wV,getClientRects:uV,getDimensions:kV,getScale:ec,isElement:wa,isRTL:bV};function c_(t,a){return t.x===a.x&&t.y===a.y&&t.width===a.width&&t.height===a.height}function jV(t,a){let r=null,n;const s=Oa(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:m,height:y}=h;if(l||a(),!m||!y)return;const x=Nl(p),f=Nl(s.clientWidth-(u+m)),v=Nl(s.clientHeight-(p+y)),k=Nl(u),j={rootMargin:-x+"px "+-f+"px "+-v+"px "+-k+"px",threshold:Ot(0,Ar(1,d))||1};let S=!0;function C(A){const L=A[0].intersectionRatio;if(L!==d){if(!S)return c();L?c(!1,L):n=setTimeout(()=>{c(!1,1e-7)},1e3)}L===1&&!c_(h,t.getBoundingClientRect())&&c(),S=!1}try{r=new IntersectionObserver(C,{...j,root:s.ownerDocument})}catch{r=new IntersectionObserver(C,j)}r.observe(t)}return c(!0),i}function CV(t,a,r,n){n===void 0&&(n={});const{ancestorScroll:s=!0,ancestorResize:i=!0,elementResize:c=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:d=!1}=n,h=_S(t),u=s||i?[...h?ll(h):[],...ll(a)]:[];u.forEach(k=>{s&&k.addEventListener("scroll",r,{passive:!0}),i&&k.addEventListener("resize",r)});const p=h&&l?jV(h,r):null;let m=-1,y=null;c&&(y=new ResizeObserver(k=>{let[w]=k;w&&w.target===h&&y&&(y.unobserve(a),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var j;(j=y)==null||j.observe(a)})),r()}),h&&!d&&y.observe(h),y.observe(a));let x,f=d?Mo(t):null;d&&v();function v(){const k=Mo(t);f&&!c_(f,k)&&r(),f=k,x=requestAnimationFrame(v)}return r(),()=>{var k;u.forEach(w=>{s&&w.removeEventListener("scroll",r),i&&w.removeEventListener("resize",r)}),p==null||p(),(k=y)==null||k.disconnect(),y=null,d&&cancelAnimationFrame(x)}}const SV=XH,LV=YH,NV=WH,IV=QH,AV=ZH,nN=GH,PV=KH,_V=(t,a,r)=>{const n=new Map,s={platform:MV,...r},i={...s.platform,_c:n};return UH(t,a,{...s,platform:i})};var RV=typeof document<"u",TV=function(){},y9=RV?M.useLayoutEffect:TV;function A9(t,a){if(t===a)return!0;if(typeof t!=typeof a)return!1;if(typeof t=="function"&&t.toString()===a.toString())return!0;let r,n,s;if(t&&a&&typeof t=="object"){if(Array.isArray(t)){if(r=t.length,r!==a.length)return!1;for(n=r;n--!==0;)if(!A9(t[n],a[n]))return!1;return!0}if(s=Object.keys(t),r=s.length,r!==Object.keys(a).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(a,s[n]))return!1;for(n=r;n--!==0;){const i=s[n];if(!(i==="_owner"&&t.$$typeof)&&!A9(t[i],a[i]))return!1}return!0}return t!==t&&a!==a}function l_(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function sN(t,a){const r=l_(t);return Math.round(a*r)/r}function Oj(t){const a=g.useRef(t);return y9(()=>{a.current=t}),a}function qV(t){t===void 0&&(t={});const{placement:a="bottom",strategy:r="absolute",middleware:n=[],platform:s,elements:{reference:i,floating:c}={},transform:l=!0,whileElementsMounted:d,open:h}=t,[u,p]=g.useState({x:0,y:0,strategy:r,placement:a,middlewareData:{},isPositioned:!1}),[m,y]=g.useState(n);A9(m,n)||y(n);const[x,f]=g.useState(null),[v,k]=g.useState(null),w=g.useCallback(O=>{O!==A.current&&(A.current=O,f(O))},[]),j=g.useCallback(O=>{O!==L.current&&(L.current=O,k(O))},[]),S=i||x,C=c||v,A=g.useRef(null),L=g.useRef(null),b=g.useRef(u),N=d!=null,q=Oj(d),P=Oj(s),R=Oj(h),T=g.useCallback(()=>{if(!A.current||!L.current)return;const O={placement:a,strategy:r,middleware:m};P.current&&(O.platform=P.current),_V(A.current,L.current,O).then(oe=>{const ae={...oe,isPositioned:R.current!==!1};$.current&&!A9(b.current,ae)&&(b.current=ae,q9.flushSync(()=>{p(ae)}))})},[m,a,r,P,R]);y9(()=>{h===!1&&b.current.isPositioned&&(b.current.isPositioned=!1,p(O=>({...O,isPositioned:!1})))},[h]);const $=g.useRef(!1);y9(()=>($.current=!0,()=>{$.current=!1}),[]),y9(()=>{if(S&&(A.current=S),C&&(L.current=C),S&&C){if(q.current)return q.current(S,C,T);T()}},[S,C,T,q,N]);const W=g.useMemo(()=>({reference:A,floating:L,setReference:w,setFloating:j}),[w,j]),B=g.useMemo(()=>({reference:S,floating:C}),[S,C]),U=g.useMemo(()=>{const O={position:r,left:0,top:0};if(!B.floating)return O;const oe=sN(B.floating,u.x),ae=sN(B.floating,u.y);return l?{...O,transform:"translate("+oe+"px, "+ae+"px)",...l_(B.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:oe,top:ae}},[r,l,B.floating,u.x,u.y]);return g.useMemo(()=>({...u,update:T,refs:W,elements:B,floatingStyles:U}),[u,T,W,B,U])}const DV=t=>{function a(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:t,fn(r){const{element:n,padding:s}=typeof t=="function"?t(r):t;return n&&a(n)?n.current!=null?nN({element:n.current,padding:s}).fn(r):{}:n?nN({element:n,padding:s}).fn(r):{}}}},zV=(t,a)=>({...SV(t),options:[t,a]}),EV=(t,a)=>({...LV(t),options:[t,a]}),FV=(t,a)=>({...PV(t),options:[t,a]}),OV=(t,a)=>({...NV(t),options:[t,a]}),HV=(t,a)=>({...IV(t),options:[t,a]}),VV=(t,a)=>({...AV(t),options:[t,a]}),BV=(t,a)=>({...DV(t),options:[t,a]});var $V=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],UV=$V.reduce((t,a)=>{const r=at(`Primitive.${a}`),n=g.forwardRef((s,i)=>{const{asChild:c,...l}=s,d=c?r:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),e.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${a}`,{...t,[a]:n}},{}),GV="Arrow",d_=g.forwardRef((t,a)=>{const{children:r,width:n=10,height:s=5,...i}=t;return e.jsx(UV.svg,{...i,ref:a,width:n,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?r:e.jsx("polygon",{points:"0,0 30,0 15,10"})})});d_.displayName=GV;var WV=d_;function iN(t,a){if(typeof t=="function")return t(a);t!=null&&(t.current=a)}function ZV(...t){return a=>{let r=!1;const n=t.map(s=>{const i=iN(s,a);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let s=0;s<n.length;s++){const i=n[s];typeof i=="function"?i():iN(t[s],null)}}}}function h_(...t){return g.useCallback(ZV(...t),t)}function JV(t,a=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var k;const{scope:m,children:y,...x}=p,f=((k=m==null?void 0:m[t])==null?void 0:k[d])||l,v=g.useMemo(()=>x,Object.values(x));return e.jsx(f.Provider,{value:v,children:y})};h.displayName=i+"Provider";function u(p,m){var f;const y=((f=m==null?void 0:m[t])==null?void 0:f[d])||l,x=g.useContext(y);if(x)return x;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const s=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return s.scopeName=t,[n,XV(s,...a)]}function XV(...t){const a=t[0];if(t.length===1)return a;const r=()=>{const n=t.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${a.scopeName}`]:c}),[c])}};return r.scopeName=a.scopeName,r}var YV=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],u_=YV.reduce((t,a)=>{const r=at(`Primitive.${a}`),n=g.forwardRef((s,i)=>{const{asChild:c,...l}=s,d=c?r:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),e.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${a}`,{...t,[a]:n}},{});function KV(t){const a=g.useRef(t);return g.useEffect(()=>{a.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=a.current)==null?void 0:n.call(a,...r)},[])}var oN=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},RS="Popper",[p_,nj]=JV(RS),[QV,y_]=p_(RS),m_=t=>{const{__scopePopper:a,children:r}=t,[n,s]=g.useState(null);return e.jsx(QV,{scope:a,anchor:n,onAnchorChange:s,children:r})};m_.displayName=RS;var f_="PopperAnchor",x_=g.forwardRef((t,a)=>{const{__scopePopper:r,virtualRef:n,...s}=t,i=y_(f_,r),c=g.useRef(null),l=h_(a,c),d=g.useRef(null);return g.useEffect(()=>{const h=d.current;d.current=(n==null?void 0:n.current)||c.current,h!==d.current&&i.onAnchorChange(d.current)}),n?null:e.jsx(u_.div,{...s,ref:l})});x_.displayName=f_;var TS="PopperContent",[eB,tB]=p_(TS),g_=g.forwardRef((t,a)=>{var Z,te,ve,fe,re,he;const{__scopePopper:r,side:n="bottom",sideOffset:s=0,align:i="center",alignOffset:c=0,arrowPadding:l=0,avoidCollisions:d=!0,collisionBoundary:h=[],collisionPadding:u=0,sticky:p="partial",hideWhenDetached:m=!1,updatePositionStrategy:y="optimized",onPlaced:x,...f}=t,v=y_(TS,r),[k,w]=g.useState(null),j=h_(a,Ae=>w(Ae)),[S,C]=g.useState(null),A=bS(S),L=(A==null?void 0:A.width)??0,b=(A==null?void 0:A.height)??0,N=n+(i!=="center"?"-"+i:""),q=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},P=Array.isArray(h)?h:[h],R=P.length>0,T={padding:q,boundary:P.filter(rB),altBoundary:R},{refs:$,floatingStyles:W,placement:B,isPositioned:U,middlewareData:O}=qV({strategy:"fixed",placement:N,whileElementsMounted:(...Ae)=>CV(...Ae,{animationFrame:y==="always"}),elements:{reference:v.anchor},middleware:[zV({mainAxis:s+b,alignmentAxis:c}),d&&EV({mainAxis:!0,crossAxis:!1,limiter:p==="partial"?FV():void 0,...T}),d&&OV({...T}),HV({...T,apply:({elements:Ae,rects:Pe,availableWidth:_e,availableHeight:Qe})=>{const{width:st,height:yt}=Pe.reference,rt=Ae.floating.style;rt.setProperty("--radix-popper-available-width",`${_e}px`),rt.setProperty("--radix-popper-available-height",`${Qe}px`),rt.setProperty("--radix-popper-anchor-width",`${st}px`),rt.setProperty("--radix-popper-anchor-height",`${yt}px`)}}),S&&BV({element:S,padding:l}),nB({arrowWidth:L,arrowHeight:b}),m&&VV({strategy:"referenceHidden",...T})]}),[oe,ae]=w_(B),Y=KV(x);oN(()=>{U&&(Y==null||Y())},[U,Y]);const J=(Z=O.arrow)==null?void 0:Z.x,Q=(te=O.arrow)==null?void 0:te.y,ee=((ve=O.arrow)==null?void 0:ve.centerOffset)!==0,[ue,we]=g.useState();return oN(()=>{k&&we(window.getComputedStyle(k).zIndex)},[k]),e.jsx("div",{ref:$.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:U?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ue,"--radix-popper-transform-origin":[(fe=O.transformOrigin)==null?void 0:fe.x,(re=O.transformOrigin)==null?void 0:re.y].join(" "),...((he=O.hide)==null?void 0:he.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:e.jsx(eB,{scope:r,placedSide:oe,onArrowChange:C,arrowX:J,arrowY:Q,shouldHideArrow:ee,children:e.jsx(u_.div,{"data-side":oe,"data-align":ae,...f,ref:j,style:{...f.style,animation:U?void 0:"none"}})})})});g_.displayName=TS;var k_="PopperArrow",aB={top:"bottom",right:"left",bottom:"top",left:"right"},v_=g.forwardRef(function(a,r){const{__scopePopper:n,...s}=a,i=tB(k_,n),c=aB[i.placedSide];return e.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:e.jsx(WV,{...s,ref:r,style:{...s.style,display:"block"}})})});v_.displayName=k_;function rB(t){return t!==null}var nB=t=>({name:"transformOrigin",options:t,fn(a){var v,k,w;const{placement:r,rects:n,middlewareData:s}=a,c=((v=s.arrow)==null?void 0:v.centerOffset)!==0,l=c?0:t.arrowWidth,d=c?0:t.arrowHeight,[h,u]=w_(r),p={start:"0%",center:"50%",end:"100%"}[u],m=(((k=s.arrow)==null?void 0:k.x)??0)+l/2,y=(((w=s.arrow)==null?void 0:w.y)??0)+d/2;let x="",f="";return h==="bottom"?(x=c?p:`${m}px`,f=`${-d}px`):h==="top"?(x=c?p:`${m}px`,f=`${n.floating.height+d}px`):h==="right"?(x=`${-d}px`,f=c?p:`${y}px`):h==="left"&&(x=`${n.floating.width+d}px`,f=c?p:`${y}px`),{data:{x,y:f}}}});function w_(t){const[a,r="center"]=t.split("-");return[a,r]}var b_=m_,qS=x_,M_=g_,j_=v_,sB=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Zt=sB.reduce((t,a)=>{const r=at(`Primitive.${a}`),n=g.forwardRef((s,i)=>{const{asChild:c,...l}=s,d=c?r:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),e.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${a}`,{...t,[a]:n}},{});function iB(t){const a=g.useRef(t);return g.useEffect(()=>{a.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=a.current)==null?void 0:n.call(a,...r)},[])}var oB=g[" useInsertionEffect ".trim().toString()]||za;function cN({prop:t,defaultProp:a,onChange:r=()=>{},caller:n}){const[s,i,c]=cB({defaultProp:a,onChange:r}),l=t!==void 0,d=l?t:s;{const u=g.useRef(t!==void 0);g.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${n} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=l},[l,n])}const h=g.useCallback(u=>{var p;if(l){const m=lB(u)?u(t):u;m!==t&&((p=c.current)==null||p.call(c,m))}else i(u)},[l,t,i,c]);return[d,h]}function cB({defaultProp:t,onChange:a}){const[r,n]=g.useState(t),s=g.useRef(r),i=g.useRef(a);return oB(()=>{i.current=a},[a]),g.useEffect(()=>{var c;s.current!==r&&((c=i.current)==null||c.call(i,r),s.current=r)},[r,s]),[r,n,i]}function lB(t){return typeof t=="function"}var dB=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],hB=dB.reduce((t,a)=>{const r=at(`Primitive.${a}`),n=g.forwardRef((s,i)=>{const{asChild:c,...l}=s,d=c?r:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),e.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${a}`,{...t,[a]:n}},{}),C_=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"}),uB="VisuallyHidden",pB=g.forwardRef((t,a)=>e.jsx(hB.span,{...t,ref:a,style:{...C_,...t.style}}));pB.displayName=uB;var yB=[" ","Enter","ArrowUp","ArrowDown"],mB=[" ","Enter"],jo="Select",[sj,ij,fB]=IH(jo),[uc,eW]=KP(jo,[fB,nj]),oj=nj(),[xB,Dr]=uc(jo),[gB,kB]=uc(jo),S_=t=>{const{__scopeSelect:a,children:r,open:n,defaultOpen:s,onOpenChange:i,value:c,defaultValue:l,onValueChange:d,dir:h,name:u,autoComplete:p,disabled:m,required:y,form:x}=t,f=oj(a),[v,k]=g.useState(null),[w,j]=g.useState(null),[S,C]=g.useState(!1),A=PH(h),[L,b]=cN({prop:n,defaultProp:s??!1,onChange:i,caller:jo}),[N,q]=cN({prop:c,defaultProp:l,onChange:d,caller:jo}),P=g.useRef(null),R=v?x||!!v.closest("form"):!0,[T,$]=g.useState(new Set),W=Array.from(T).map(B=>B.props.value).join(";");return e.jsx(b_,{...f,children:e.jsxs(xB,{required:y,scope:a,trigger:v,onTriggerChange:k,valueNode:w,onValueNodeChange:j,valueNodeHasChildren:S,onValueNodeHasChildrenChange:C,contentId:SS(),value:N,onValueChange:q,open:L,onOpenChange:b,dir:A,triggerPointerDownPosRef:P,disabled:m,children:[e.jsx(sj.Provider,{scope:a,children:e.jsx(gB,{scope:t.__scopeSelect,onNativeOptionAdd:g.useCallback(B=>{$(U=>new Set(U).add(B))},[]),onNativeOptionRemove:g.useCallback(B=>{$(U=>{const O=new Set(U);return O.delete(B),O})},[]),children:r})}),R?e.jsxs(X_,{"aria-hidden":!0,required:y,tabIndex:-1,name:u,autoComplete:p,value:N,onChange:B=>q(B.target.value),disabled:m,form:x,children:[N===void 0?e.jsx("option",{value:""}):null,Array.from(T)]},W):null]})})};S_.displayName=jo;var L_="SelectTrigger",N_=g.forwardRef((t,a)=>{const{__scopeSelect:r,disabled:n=!1,...s}=t,i=oj(r),c=Dr(L_,r),l=c.disabled||n,d=la(a,c.onTriggerChange),h=ij(r),u=g.useRef("touch"),[p,m,y]=K_(f=>{const v=h().filter(j=>!j.disabled),k=v.find(j=>j.value===c.value),w=Q_(v,f,k);w!==void 0&&c.onValueChange(w.value)}),x=f=>{l||(c.onOpenChange(!0),y()),f&&(c.triggerPointerDownPosRef.current={x:Math.round(f.pageX),y:Math.round(f.pageY)})};return e.jsx(qS,{asChild:!0,...i,children:e.jsx(Zt.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":Y_(c.value)?"":void 0,...s,ref:d,onClick:pt(s.onClick,f=>{f.currentTarget.focus(),u.current!=="mouse"&&x(f)}),onPointerDown:pt(s.onPointerDown,f=>{u.current=f.pointerType;const v=f.target;v.hasPointerCapture(f.pointerId)&&v.releasePointerCapture(f.pointerId),f.button===0&&f.ctrlKey===!1&&f.pointerType==="mouse"&&(x(f),f.preventDefault())}),onKeyDown:pt(s.onKeyDown,f=>{const v=p.current!=="";!(f.ctrlKey||f.altKey||f.metaKey)&&f.key.length===1&&m(f.key),!(v&&f.key===" ")&&yB.includes(f.key)&&(x(),f.preventDefault())})})})});N_.displayName=L_;var I_="SelectValue",A_=g.forwardRef((t,a)=>{const{__scopeSelect:r,className:n,style:s,children:i,placeholder:c="",...l}=t,d=Dr(I_,r),{onValueNodeHasChildrenChange:h}=d,u=i!==void 0,p=la(a,d.onValueNodeChange);return za(()=>{h(u)},[h,u]),e.jsx(Zt.span,{...l,ref:p,style:{pointerEvents:"none"},children:Y_(d.value)?e.jsx(e.Fragment,{children:c}):i})});A_.displayName=I_;var vB="SelectIcon",P_=g.forwardRef((t,a)=>{const{__scopeSelect:r,children:n,...s}=t;return e.jsx(Zt.span,{"aria-hidden":!0,...s,ref:a,children:n||"▼"})});P_.displayName=vB;var wB="SelectPortal",__=t=>e.jsx(W9,{asChild:!0,...t});__.displayName=wB;var Co="SelectContent",R_=g.forwardRef((t,a)=>{const r=Dr(Co,t.__scopeSelect),[n,s]=g.useState();if(za(()=>{s(new DocumentFragment)},[]),!r.open){const i=n;return i?q9.createPortal(e.jsx(T_,{scope:t.__scopeSelect,children:e.jsx(sj.Slot,{scope:t.__scopeSelect,children:e.jsx("div",{children:t.children})})}),i):null}return e.jsx(q_,{...t,ref:a})});R_.displayName=Co;var ya=10,[T_,zr]=uc(Co),bB="SelectContentImpl",MB=at("SelectContent.RemoveScroll"),q_=g.forwardRef((t,a)=>{const{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:s,onEscapeKeyDown:i,onPointerDownOutside:c,side:l,sideOffset:d,align:h,alignOffset:u,arrowPadding:p,collisionBoundary:m,collisionPadding:y,sticky:x,hideWhenDetached:f,avoidCollisions:v,...k}=t,w=Dr(Co,r),[j,S]=g.useState(null),[C,A]=g.useState(null),L=la(a,Z=>S(Z)),[b,N]=g.useState(null),[q,P]=g.useState(null),R=ij(r),[T,$]=g.useState(!1),W=g.useRef(!1);g.useEffect(()=>{if(j)return lS(j)},[j]),cS();const B=g.useCallback(Z=>{const[te,...ve]=R().map(he=>he.ref.current),[fe]=ve.slice(-1),re=document.activeElement;for(const he of Z)if(he===re||(he==null||he.scrollIntoView({block:"nearest"}),he===te&&C&&(C.scrollTop=0),he===fe&&C&&(C.scrollTop=C.scrollHeight),he==null||he.focus(),document.activeElement!==re))return},[R,C]),U=g.useCallback(()=>B([b,j]),[B,b,j]);g.useEffect(()=>{T&&U()},[T,U]);const{onOpenChange:O,triggerPointerDownPosRef:oe}=w;g.useEffect(()=>{if(j){let Z={x:0,y:0};const te=fe=>{var re,he;Z={x:Math.abs(Math.round(fe.pageX)-(((re=oe.current)==null?void 0:re.x)??0)),y:Math.abs(Math.round(fe.pageY)-(((he=oe.current)==null?void 0:he.y)??0))}},ve=fe=>{Z.x<=10&&Z.y<=10?fe.preventDefault():j.contains(fe.target)||O(!1),document.removeEventListener("pointermove",te),oe.current=null};return oe.current!==null&&(document.addEventListener("pointermove",te),document.addEventListener("pointerup",ve,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",te),document.removeEventListener("pointerup",ve,{capture:!0})}}},[j,O,oe]),g.useEffect(()=>{const Z=()=>O(!1);return window.addEventListener("blur",Z),window.addEventListener("resize",Z),()=>{window.removeEventListener("blur",Z),window.removeEventListener("resize",Z)}},[O]);const[ae,Y]=K_(Z=>{const te=R().filter(re=>!re.disabled),ve=te.find(re=>re.ref.current===document.activeElement),fe=Q_(te,Z,ve);fe&&setTimeout(()=>fe.ref.current.focus())}),J=g.useCallback((Z,te,ve)=>{const fe=!W.current&&!ve;(w.value!==void 0&&w.value===te||fe)&&(N(Z),fe&&(W.current=!0))},[w.value]),Q=g.useCallback(()=>j==null?void 0:j.focus(),[j]),ee=g.useCallback((Z,te,ve)=>{const fe=!W.current&&!ve;(w.value!==void 0&&w.value===te||fe)&&P(Z)},[w.value]),ue=n==="popper"?kC:D_,we=ue===kC?{side:l,sideOffset:d,align:h,alignOffset:u,arrowPadding:p,collisionBoundary:m,collisionPadding:y,sticky:x,hideWhenDetached:f,avoidCollisions:v}:{};return e.jsx(T_,{scope:r,content:j,viewport:C,onViewportChange:A,itemRefCallback:J,selectedItem:b,onItemLeave:Q,itemTextRefCallback:ee,focusSelectedItem:U,selectedItemText:q,position:n,isPositioned:T,searchRef:ae,children:e.jsx(X9,{as:MB,allowPinchZoom:!0,children:e.jsx(G9,{asChild:!0,trapped:w.open,onMountAutoFocus:Z=>{Z.preventDefault()},onUnmountAutoFocus:pt(s,Z=>{var te;(te=w.trigger)==null||te.focus({preventScroll:!0}),Z.preventDefault()}),children:e.jsx(U9,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:c,onFocusOutside:Z=>Z.preventDefault(),onDismiss:()=>w.onOpenChange(!1),children:e.jsx(ue,{role:"listbox",id:w.contentId,"data-state":w.open?"open":"closed",dir:w.dir,onContextMenu:Z=>Z.preventDefault(),...k,...we,onPlaced:()=>$(!0),ref:L,style:{display:"flex",flexDirection:"column",outline:"none",...k.style},onKeyDown:pt(k.onKeyDown,Z=>{const te=Z.ctrlKey||Z.altKey||Z.metaKey;if(Z.key==="Tab"&&Z.preventDefault(),!te&&Z.key.length===1&&Y(Z.key),["ArrowUp","ArrowDown","Home","End"].includes(Z.key)){let fe=R().filter(re=>!re.disabled).map(re=>re.ref.current);if(["ArrowUp","End"].includes(Z.key)&&(fe=fe.slice().reverse()),["ArrowUp","ArrowDown"].includes(Z.key)){const re=Z.target,he=fe.indexOf(re);fe=fe.slice(he+1)}setTimeout(()=>B(fe)),Z.preventDefault()}})})})})})})});q_.displayName=bB;var jB="SelectItemAlignedPosition",D_=g.forwardRef((t,a)=>{const{__scopeSelect:r,onPlaced:n,...s}=t,i=Dr(Co,r),c=zr(Co,r),[l,d]=g.useState(null),[h,u]=g.useState(null),p=la(a,L=>u(L)),m=ij(r),y=g.useRef(!1),x=g.useRef(!0),{viewport:f,selectedItem:v,selectedItemText:k,focusSelectedItem:w}=c,j=g.useCallback(()=>{if(i.trigger&&i.valueNode&&l&&h&&f&&v&&k){const L=i.trigger.getBoundingClientRect(),b=h.getBoundingClientRect(),N=i.valueNode.getBoundingClientRect(),q=k.getBoundingClientRect();if(i.dir!=="rtl"){const re=q.left-b.left,he=N.left-re,Ae=L.left-he,Pe=L.width+Ae,_e=Math.max(Pe,b.width),Qe=window.innerWidth-ya,st=WL(he,[ya,Math.max(ya,Qe-_e)]);l.style.minWidth=Pe+"px",l.style.left=st+"px"}else{const re=b.right-q.right,he=window.innerWidth-N.right-re,Ae=window.innerWidth-L.right-he,Pe=L.width+Ae,_e=Math.max(Pe,b.width),Qe=window.innerWidth-ya,st=WL(he,[ya,Math.max(ya,Qe-_e)]);l.style.minWidth=Pe+"px",l.style.right=st+"px"}const P=m(),R=window.innerHeight-ya*2,T=f.scrollHeight,$=window.getComputedStyle(h),W=parseInt($.borderTopWidth,10),B=parseInt($.paddingTop,10),U=parseInt($.borderBottomWidth,10),O=parseInt($.paddingBottom,10),oe=W+B+T+O+U,ae=Math.min(v.offsetHeight*5,oe),Y=window.getComputedStyle(f),J=parseInt(Y.paddingTop,10),Q=parseInt(Y.paddingBottom,10),ee=L.top+L.height/2-ya,ue=R-ee,we=v.offsetHeight/2,Z=v.offsetTop+we,te=W+B+Z,ve=oe-te;if(te<=ee){const re=P.length>0&&v===P[P.length-1].ref.current;l.style.bottom="0px";const he=h.clientHeight-f.offsetTop-f.offsetHeight,Ae=Math.max(ue,we+(re?Q:0)+he+U),Pe=te+Ae;l.style.height=Pe+"px"}else{const re=P.length>0&&v===P[0].ref.current;l.style.top="0px";const Ae=Math.max(ee,W+f.offsetTop+(re?J:0)+we)+ve;l.style.height=Ae+"px",f.scrollTop=te-ee+f.offsetTop}l.style.margin=`${ya}px 0`,l.style.minHeight=ae+"px",l.style.maxHeight=R+"px",n==null||n(),requestAnimationFrame(()=>y.current=!0)}},[m,i.trigger,i.valueNode,l,h,f,v,k,i.dir,n]);za(()=>j(),[j]);const[S,C]=g.useState();za(()=>{h&&C(window.getComputedStyle(h).zIndex)},[h]);const A=g.useCallback(L=>{L&&x.current===!0&&(j(),w==null||w(),x.current=!1)},[j,w]);return e.jsx(SB,{scope:r,contentWrapper:l,shouldExpandOnScrollRef:y,onScrollButtonChange:A,children:e.jsx("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:S},children:e.jsx(Zt.div,{...s,ref:p,style:{boxSizing:"border-box",maxHeight:"100%",...s.style}})})})});D_.displayName=jB;var CB="SelectPopperPosition",kC=g.forwardRef((t,a)=>{const{__scopeSelect:r,align:n="start",collisionPadding:s=ya,...i}=t,c=oj(r);return e.jsx(M_,{...c,...i,ref:a,align:n,collisionPadding:s,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)"}})});kC.displayName=CB;var[SB,DS]=uc(Co,{}),vC="SelectViewport",z_=g.forwardRef((t,a)=>{const{__scopeSelect:r,nonce:n,...s}=t,i=zr(vC,r),c=DS(vC,r),l=la(a,i.onViewportChange),d=g.useRef(0);return e.jsxs(e.Fragment,{children:[e.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}),e.jsx(sj.Slot,{scope:r,children:e.jsx(Zt.div,{"data-radix-select-viewport":"",role:"presentation",...s,ref:l,style:{position:"relative",flex:1,overflow:"hidden auto",...s.style},onScroll:pt(s.onScroll,h=>{const u=h.currentTarget,{contentWrapper:p,shouldExpandOnScrollRef:m}=c;if(m!=null&&m.current&&p){const y=Math.abs(d.current-u.scrollTop);if(y>0){const x=window.innerHeight-ya*2,f=parseFloat(p.style.minHeight),v=parseFloat(p.style.height),k=Math.max(f,v);if(k<x){const w=k+y,j=Math.min(x,w),S=w-j;p.style.height=j+"px",p.style.bottom==="0px"&&(u.scrollTop=S>0?S:0,p.style.justifyContent="flex-end")}}}d.current=u.scrollTop})})})]})});z_.displayName=vC;var E_="SelectGroup",[LB,NB]=uc(E_),IB=g.forwardRef((t,a)=>{const{__scopeSelect:r,...n}=t,s=SS();return e.jsx(LB,{scope:r,id:s,children:e.jsx(Zt.div,{role:"group","aria-labelledby":s,...n,ref:a})})});IB.displayName=E_;var F_="SelectLabel",O_=g.forwardRef((t,a)=>{const{__scopeSelect:r,...n}=t,s=NB(F_,r);return e.jsx(Zt.div,{id:s.id,...n,ref:a})});O_.displayName=F_;var P9="SelectItem",[AB,H_]=uc(P9),V_=g.forwardRef((t,a)=>{const{__scopeSelect:r,value:n,disabled:s=!1,textValue:i,...c}=t,l=Dr(P9,r),d=zr(P9,r),h=l.value===n,[u,p]=g.useState(i??""),[m,y]=g.useState(!1),x=la(a,w=>{var j;return(j=d.itemRefCallback)==null?void 0:j.call(d,w,n,s)}),f=SS(),v=g.useRef("touch"),k=()=>{s||(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 e.jsx(AB,{scope:r,value:n,disabled:s,textId:f,isSelected:h,onItemTextChange:g.useCallback(w=>{p(j=>j||((w==null?void 0:w.textContent)??"").trim())},[]),children:e.jsx(sj.ItemSlot,{scope:r,value:n,disabled:s,textValue:u,children:e.jsx(Zt.div,{role:"option","aria-labelledby":f,"data-highlighted":m?"":void 0,"aria-selected":h&&m,"data-state":h?"checked":"unchecked","aria-disabled":s||void 0,"data-disabled":s?"":void 0,tabIndex:s?void 0:-1,...c,ref:x,onFocus:pt(c.onFocus,()=>y(!0)),onBlur:pt(c.onBlur,()=>y(!1)),onClick:pt(c.onClick,()=>{v.current!=="mouse"&&k()}),onPointerUp:pt(c.onPointerUp,()=>{v.current==="mouse"&&k()}),onPointerDown:pt(c.onPointerDown,w=>{v.current=w.pointerType}),onPointerMove:pt(c.onPointerMove,w=>{var j;v.current=w.pointerType,s?(j=d.onItemLeave)==null||j.call(d):v.current==="mouse"&&w.currentTarget.focus({preventScroll:!0})}),onPointerLeave:pt(c.onPointerLeave,w=>{var j;w.currentTarget===document.activeElement&&((j=d.onItemLeave)==null||j.call(d))}),onKeyDown:pt(c.onKeyDown,w=>{var S;((S=d.searchRef)==null?void 0:S.current)!==""&&w.key===" "||(mB.includes(w.key)&&k(),w.key===" "&&w.preventDefault())})})})})});V_.displayName=P9;var wc="SelectItemText",B_=g.forwardRef((t,a)=>{const{__scopeSelect:r,className:n,style:s,...i}=t,c=Dr(wc,r),l=zr(wc,r),d=H_(wc,r),h=kB(wc,r),[u,p]=g.useState(null),m=la(a,k=>p(k),d.onItemTextChange,k=>{var w;return(w=l.itemTextRefCallback)==null?void 0:w.call(l,k,d.value,d.disabled)}),y=u==null?void 0:u.textContent,x=g.useMemo(()=>e.jsx("option",{value:d.value,disabled:d.disabled,children:y},d.value),[d.disabled,d.value,y]),{onNativeOptionAdd:f,onNativeOptionRemove:v}=h;return za(()=>(f(x),()=>v(x)),[f,v,x]),e.jsxs(e.Fragment,{children:[e.jsx(Zt.span,{id:d.textId,...i,ref:m}),d.isSelected&&c.valueNode&&!c.valueNodeHasChildren?q9.createPortal(i.children,c.valueNode):null]})});B_.displayName=wc;var $_="SelectItemIndicator",U_=g.forwardRef((t,a)=>{const{__scopeSelect:r,...n}=t;return H_($_,r).isSelected?e.jsx(Zt.span,{"aria-hidden":!0,...n,ref:a}):null});U_.displayName=$_;var wC="SelectScrollUpButton",G_=g.forwardRef((t,a)=>{const r=zr(wC,t.__scopeSelect),n=DS(wC,t.__scopeSelect),[s,i]=g.useState(!1),c=la(a,n.onScrollButtonChange);return za(()=>{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]),s?e.jsx(Z_,{...t,ref:c,onAutoScroll:()=>{const{viewport:l,selectedItem:d}=r;l&&d&&(l.scrollTop=l.scrollTop-d.offsetHeight)}}):null});G_.displayName=wC;var bC="SelectScrollDownButton",W_=g.forwardRef((t,a)=>{const r=zr(bC,t.__scopeSelect),n=DS(bC,t.__scopeSelect),[s,i]=g.useState(!1),c=la(a,n.onScrollButtonChange);return za(()=>{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]),s?e.jsx(Z_,{...t,ref:c,onAutoScroll:()=>{const{viewport:l,selectedItem:d}=r;l&&d&&(l.scrollTop=l.scrollTop+d.offsetHeight)}}):null});W_.displayName=bC;var Z_=g.forwardRef((t,a)=>{const{__scopeSelect:r,onAutoScroll:n,...s}=t,i=zr("SelectScrollButton",r),c=g.useRef(null),l=ij(r),d=g.useCallback(()=>{c.current!==null&&(window.clearInterval(c.current),c.current=null)},[]);return g.useEffect(()=>()=>d(),[d]),za(()=>{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]),e.jsx(Zt.div,{"aria-hidden":!0,...s,ref:a,style:{flexShrink:0,...s.style},onPointerDown:pt(s.onPointerDown,()=>{c.current===null&&(c.current=window.setInterval(n,50))}),onPointerMove:pt(s.onPointerMove,()=>{var h;(h=i.onItemLeave)==null||h.call(i),c.current===null&&(c.current=window.setInterval(n,50))}),onPointerLeave:pt(s.onPointerLeave,()=>{d()})})}),PB="SelectSeparator",J_=g.forwardRef((t,a)=>{const{__scopeSelect:r,...n}=t;return e.jsx(Zt.div,{"aria-hidden":!0,...n,ref:a})});J_.displayName=PB;var MC="SelectArrow",_B=g.forwardRef((t,a)=>{const{__scopeSelect:r,...n}=t,s=oj(r),i=Dr(MC,r),c=zr(MC,r);return i.open&&c.position==="popper"?e.jsx(j_,{...s,...n,ref:a}):null});_B.displayName=MC;var RB="SelectBubbleInput",X_=g.forwardRef(({__scopeSelect:t,value:a,...r},n)=>{const s=g.useRef(null),i=la(n,s),c=wS(a);return g.useEffect(()=>{const l=s.current;if(!l)return;const d=window.HTMLSelectElement.prototype,u=Object.getOwnPropertyDescriptor(d,"value").set;if(c!==a&&u){const p=new Event("change",{bubbles:!0});u.call(l,a),l.dispatchEvent(p)}},[c,a]),e.jsx(Zt.select,{...r,style:{...C_,...r.style},ref:i,defaultValue:a})});X_.displayName=RB;function Y_(t){return t===""||t===void 0}function K_(t){const a=iB(t),r=g.useRef(""),n=g.useRef(0),s=g.useCallback(c=>{const l=r.current+c;a(l),function d(h){r.current=h,window.clearTimeout(n.current),h!==""&&(n.current=window.setTimeout(()=>d(""),1e3))}(l)},[a]),i=g.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return g.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,s,i]}function Q_(t,a,r){const s=a.length>1&&Array.from(a).every(h=>h===a[0])?a[0]:a,i=r?t.indexOf(r):-1;let c=TB(t,Math.max(i,0));s.length===1&&(c=c.filter(h=>h!==r));const d=c.find(h=>h.textValue.toLowerCase().startsWith(s.toLowerCase()));return d!==r?d:void 0}function TB(t,a){return t.map((r,n)=>t[(a+n)%t.length])}var qB=S_,eR=N_,DB=A_,zB=P_,EB=__,tR=R_,FB=z_,aR=O_,rR=V_,OB=B_,HB=U_,nR=G_,sR=W_,zS=J_;const So=qB,Lo=DB,_r=g.forwardRef(({className:t,children:a,...r},n)=>e.jsxs(eR,{ref:n,className:me("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:[a,e.jsx(zB,{asChild:!0,children:e.jsx(bP,{className:"h-4 w-4 opacity-50"})})]}));_r.displayName=eR.displayName;const iR=g.forwardRef(({className:t,...a},r)=>e.jsx(nR,{ref:r,className:me("flex cursor-default items-center justify-center py-1",t),...a,children:e.jsx(aO,{className:"h-4 w-4"})}));iR.displayName=nR.displayName;const oR=g.forwardRef(({className:t,...a},r)=>e.jsx(sR,{ref:r,className:me("flex cursor-default items-center justify-center py-1",t),...a,children:e.jsx(bP,{className:"h-4 w-4"})}));oR.displayName=sR.displayName;const Rr=g.forwardRef(({className:t,children:a,position:r="popper",...n},s)=>e.jsx(EB,{children:e.jsxs(tR,{ref:s,className:me("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:[e.jsx(iR,{}),e.jsx(FB,{className:me("p-1",r==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:a}),e.jsx(oR,{})]})}));Rr.displayName=tR.displayName;const VB=g.forwardRef(({className:t,...a},r)=>e.jsx(aR,{ref:r,className:me("px-2 py-1.5 text-sm font-semibold",t),...a}));VB.displayName=aR.displayName;const Vt=g.forwardRef(({className:t,children:a,...r},n)=>e.jsxs(rR,{ref:n,className:me("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:[e.jsx("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(HB,{children:e.jsx(QF,{className:"h-4 w-4"})})}),e.jsx(OB,{children:a})]}));Vt.displayName=rR.displayName;const BB=g.forwardRef(({className:t,...a},r)=>e.jsx(zS,{ref:r,className:me("-mx-1 my-1 h-px bg-muted",t),...a}));BB.displayName=zS.displayName;function $B(t,a,{checkForDefaultPrevented:r=!0}={}){return function(s){if(t==null||t(s),r===!1||!s.defaultPrevented)return a==null?void 0:a(s)}}function UB(t,a=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var k;const{scope:m,children:y,...x}=p,f=((k=m==null?void 0:m[t])==null?void 0:k[d])||l,v=g.useMemo(()=>x,Object.values(x));return e.jsx(f.Provider,{value:v,children:y})};h.displayName=i+"Provider";function u(p,m){var f;const y=((f=m==null?void 0:m[t])==null?void 0:f[d])||l,x=g.useContext(y);if(x)return x;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const s=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return s.scopeName=t,[n,GB(s,...a)]}function GB(...t){const a=t[0];if(t.length===1)return a;const r=()=>{const n=t.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${a.scopeName}`]:c}),[c])}};return r.scopeName=a.scopeName,r}var dl=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},WB=g[" useInsertionEffect ".trim().toString()]||dl;function ZB({prop:t,defaultProp:a,onChange:r=()=>{},caller:n}){const[s,i,c]=JB({defaultProp:a,onChange:r}),l=t!==void 0,d=l?t:s;{const u=g.useRef(t!==void 0);g.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${n} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=l},[l,n])}const h=g.useCallback(u=>{var p;if(l){const m=XB(u)?u(t):u;m!==t&&((p=c.current)==null||p.call(c,m))}else i(u)},[l,t,i,c]);return[d,h]}function JB({defaultProp:t,onChange:a}){const[r,n]=g.useState(t),s=g.useRef(r),i=g.useRef(a);return WB(()=>{i.current=a},[a]),g.useEffect(()=>{var c;s.current!==r&&((c=i.current)==null||c.call(i,r),s.current=r)},[r,s]),[r,n,i]}function XB(t){return typeof t=="function"}function lN(t,a){if(typeof t=="function")return t(a);t!=null&&(t.current=a)}function YB(...t){return a=>{let r=!1;const n=t.map(s=>{const i=lN(s,a);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let s=0;s<n.length;s++){const i=n[s];typeof i=="function"?i():lN(t[s],null)}}}}function cR(...t){return g.useCallback(YB(...t),t)}var KB=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ES=KB.reduce((t,a)=>{const r=at(`Primitive.${a}`),n=g.forwardRef((s,i)=>{const{asChild:c,...l}=s,d=c?r:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),e.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${a}`,{...t,[a]:n}},{});function QB(t,a){return g.useReducer((r,n)=>a[r][n]??r,t)}var lR=t=>{const{present:a,children:r}=t,n=e$(a),s=typeof r=="function"?r({present:n.isPresent}):g.Children.only(r),i=cR(n.ref,t$(s));return typeof r=="function"||n.isPresent?g.cloneElement(s,{ref:i}):null};lR.displayName="Presence";function e$(t){const[a,r]=g.useState(),n=g.useRef(null),s=g.useRef(t),i=g.useRef("none"),c=t?"mounted":"unmounted",[l,d]=QB(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const h=Il(n.current);i.current=l==="mounted"?h:"none"},[l]),dl(()=>{const h=n.current,u=s.current;if(u!==t){const m=i.current,y=Il(h);t?d("MOUNT"):y==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&m!==y?"ANIMATION_OUT":"UNMOUNT"),s.current=t}},[t,d]),dl(()=>{if(a){let h;const u=a.ownerDocument.defaultView??window,p=y=>{const f=Il(n.current).includes(CSS.escape(y.animationName));if(y.target===a&&f&&(d("ANIMATION_END"),!s.current)){const v=a.style.animationFillMode;a.style.animationFillMode="forwards",h=u.setTimeout(()=>{a.style.animationFillMode==="forwards"&&(a.style.animationFillMode=v)})}},m=y=>{y.target===a&&(i.current=Il(n.current))};return a.addEventListener("animationstart",m),a.addEventListener("animationcancel",p),a.addEventListener("animationend",p),()=>{u.clearTimeout(h),a.removeEventListener("animationstart",m),a.removeEventListener("animationcancel",p),a.removeEventListener("animationend",p)}}else d("ANIMATION_END")},[a,d]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:g.useCallback(h=>{n.current=h?getComputedStyle(h):null,r(h)},[])}}function Il(t){return(t==null?void 0:t.animationName)||"none"}function t$(t){var n,s;let a=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=a&&"isReactWarning"in a&&a.isReactWarning;return r?t.ref:(a=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,r=a&&"isReactWarning"in a&&a.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var a$=g[" useId ".trim().toString()]||(()=>{}),r$=0;function n$(t){const[a,r]=g.useState(a$());return dl(()=>{t||r(n=>n??String(r$++))},[t]),t||(a?`radix-${a}`:"")}var cj="Collapsible",[s$,tW]=UB(cj),[i$,FS]=s$(cj),dR=g.forwardRef((t,a)=>{const{__scopeCollapsible:r,open:n,defaultOpen:s,disabled:i,onOpenChange:c,...l}=t,[d,h]=ZB({prop:n,defaultProp:s??!1,onChange:c,caller:cj});return e.jsx(i$,{scope:r,disabled:i,contentId:n$(),open:d,onOpenToggle:g.useCallback(()=>h(u=>!u),[h]),children:e.jsx(ES.div,{"data-state":HS(d),"data-disabled":i?"":void 0,...l,ref:a})})});dR.displayName=cj;var hR="CollapsibleTrigger",uR=g.forwardRef((t,a)=>{const{__scopeCollapsible:r,...n}=t,s=FS(hR,r);return e.jsx(ES.button,{type:"button","aria-controls":s.contentId,"aria-expanded":s.open||!1,"data-state":HS(s.open),"data-disabled":s.disabled?"":void 0,disabled:s.disabled,...n,ref:a,onClick:$B(t.onClick,s.onOpenToggle)})});uR.displayName=hR;var OS="CollapsibleContent",pR=g.forwardRef((t,a)=>{const{forceMount:r,...n}=t,s=FS(OS,t.__scopeCollapsible);return e.jsx(lR,{present:r||s.open,children:({present:i})=>e.jsx(o$,{...n,ref:a,present:i})})});pR.displayName=OS;var o$=g.forwardRef((t,a)=>{const{__scopeCollapsible:r,present:n,children:s,...i}=t,c=FS(OS,r),[l,d]=g.useState(n),h=g.useRef(null),u=cR(a,h),p=g.useRef(0),m=p.current,y=g.useRef(0),x=y.current,f=c.open||l,v=g.useRef(f),k=g.useRef(void 0);return g.useEffect(()=>{const w=requestAnimationFrame(()=>v.current=!1);return()=>cancelAnimationFrame(w)},[]),dl(()=>{const w=h.current;if(w){k.current=k.current||{transitionDuration:w.style.transitionDuration,animationName:w.style.animationName},w.style.transitionDuration="0s",w.style.animationName="none";const j=w.getBoundingClientRect();p.current=j.height,y.current=j.width,v.current||(w.style.transitionDuration=k.current.transitionDuration,w.style.animationName=k.current.animationName),d(n)}},[c.open,n]),e.jsx(ES.div,{"data-state":HS(c.open),"data-disabled":c.disabled?"":void 0,id:c.contentId,hidden:!f,...i,ref:u,style:{"--radix-collapsible-content-height":m?`${m}px`:void 0,"--radix-collapsible-content-width":x?`${x}px`:void 0,...t.style},children:f&&s})});function HS(t){return t?"open":"closed"}var c$=dR;const l$=c$,d$=uR,h$=pR,yR=[{category:"Online Casino Operators",items:[{label:"Slots",matchers:["slot","slots"]},{label:"Live Casino",matchers:["live casino","live dealer","live-casino"]},{label:"Jackpots",matchers:["jackpot","jackpots"]},{label:"Sportsbook",matchers:["sportsbook"]},{label:"Crypto",matchers:["crypto","crypto casino","crypto-casino"]}]},{category:"Providers",items:[{label:"Game Provider",matchers:["aggregation","aggregator","game-platform","games","game-api"]},{label:"Live Casino",matchers:["live-casino-studio","live-casino-provider","live-casino","live casino","live studios","live dealer","live dealers","live dealer studio","live dealer studios"]},{label:"Game Platform",matchers:["aggregation","aggregator","game-platform","games","game-api"]},{label:"Bonus Platform",matchers:["bonus","promotions","promo","loyalty"]},{label:"Backoffice",matchers:["backoffice","back office","crm","admin"]},{label:"Gamification",matchers:["gamification"]},{label:"Tech Providers",matchers:["AI","Integrations","Development"]}]},{category:"Affiliate",items:[{label:"Affiliate Agencies",matchers:["affiliate agencies","affiliate","affiliate agency","affiliate marketing"]},{label:"Affiliate Program",matchers:["affiliate program","affiliate programs"]},{label:"Tracking Tools",matchers:["tracking","attribution"]},{label:"Affiliate Tools",matchers:["affiliate tools","attribution","Marketing Platform","Marketing Automation","Marketing Automation Platform"]}]},{category:"Payments",items:[{label:"Payment Processing",matchers:["payment","psp","wallet"]}]},{category:"Compliance",items:[{label:"KYC",matchers:["kyc","know your customer"]},{label:"AML",matchers:["aml","anti-money"]},{label:"Risk & Fraud",matchers:["risk","fraud"]}]}],mR=yR.flatMap(t=>t.items),fR={search:"",companyType:"",verticals:[],productCategories:[],employeeRanges:[],products:[],openRolesRanges:[],yearsActiveRanges:[],hiringNow:!1,scope:"company",claimedOnly:!1,hasLicenses:!1,hasAwards:!1},u$=t=>Array.from(new Set(t.filter(Boolean))).sort((a,r)=>a.localeCompare(r)),p$=t=>{if(typeof t=="string")return t.toLowerCase();if(typeof t=="number")return String(t);if(typeof t=="object"&&t!==null){if("name"in t&&typeof t.name=="string")return t.name.toLowerCase();if("title"in t&&typeof t.title=="string")return t.title.toLowerCase()}return""},y$=t=>{var a,r;if(typeof t=="string")return t;if(typeof t=="object"&&t!==null){const n=t;return n.title??((a=n.tag)==null?void 0:a.name)??((r=n.tag)==null?void 0:r.slug)??null}return null},m$=t=>{const a=t.productsAndServices.flatMap(r=>[r.name,r.category,r.description,...r.keyDifferentiators??[]]);return[t.name,t.companyType,t.classification.businessModel,...t.classification.verticals,...t.classification.productCategories,...t.classification.tags.map(y$).filter(r=>!!r),...a].filter(Boolean)},f$=t=>{const a=m$(t).map(p$).join(" ");return mR.filter(r=>r.matchers.some(n=>a.includes(n))).map(r=>r.label)},x$=t=>{if(!t.overview.foundedYear)return null;const a=new Date().getFullYear();return Math.max(0,a-t.overview.foundedYear)},g$=t=>u$([t.classification.businessModel,...t.productsAndServices.map(a=>a.integrationModel),...t.productsAndServices.flatMap(a=>a.keyDifferentiators)]),k$=t=>{var n;const a=x$(t),r=((n=t.group)==null?void 0:n.intelligenceProfile)??t.signalsAndInsights;return{products:f$(t),capabilities:g$(t),credibility:{licenses:t.trustAndCompliance.licenses.length,awards:t.trustAndCompliance.awards.length,certifications:t.trustAndCompliance.certifications.length,yearsActive:a},commercialSignals:{profileViews30d:r.profileViews30d,followsCount:r.followsCount,hiringIntensity:r.hiringIntensity,searchImpressions:t.visibilityMetrics.searchImpressions,profileClicks:t.visibilityMetrics.profileClicks,externalClicks:t.visibilityMetrics.externalClicks}}},dN=({filters:t,options:a,onFiltersChange:r,onClearFilters:n,resultCount:s})=>{const[i,c]=M.useState({companyType:!0,verticals:!0,products:!0,normalizedProducts:!0,employees:!1,hiring:!0,credibility:!0,signals:!1}),l=y=>{c(x=>({...x,[y]:!x[y]}))},d={companyTypes:a.companyTypes??[],verticals:a.verticals??[],productCategories:a.productCategories??[],employeeRanges:a.employeeRanges??[],products:a.products??[],openRolesRanges:a.openRolesRanges??[],yearsActiveRanges:a.yearsActiveRanges??[]},h=(y,x)=>{r({...t,[y]:x})},u=(y,x)=>{const f=t[y],v=f.includes(x)?f.filter(k=>k!==x):[...f,x];h(y,v)},p=(t.companyType?1:0)+t.verticals.length+t.productCategories.length+t.employeeRanges.length+t.products.length+t.openRolesRanges.length+t.yearsActiveRanges.length+(t.hiringNow?1:0)+(t.claimedOnly?1:0)+(t.hasLicenses?1:0)+(t.hasAwards?1:0),m=({id:y,title:x,icon:f,children:v})=>e.jsxs(l$,{open:i[y],onOpenChange:()=>l(y),children:[e.jsxs(d$,{className:"flex items-center justify-between w-full py-3 text-left group",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(f,{className:"w-4 h-4 text-muted-foreground"}),e.jsx("span",{className:"font-medium text-sm",children:x})]}),i[y]?e.jsx(Oo,{className:"w-4 h-4 text-muted-foreground"}):e.jsx(mr,{className:"w-4 h-4 text-muted-foreground"})]}),e.jsx(h$,{className:"pb-4",children:v})]});return e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"relative",children:[e.jsx($t,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground"}),e.jsx(Re,{placeholder:"Search companies, products, tags...",value:t.search,onChange:y=>h("search",y.target.value),className:"pl-10"})]}),e.jsxs("div",{className:"flex items-center justify-between gap-2 rounded-lg border border-border px-3 py-2",children:[e.jsx("span",{className:"text-xs font-medium text-muted-foreground",children:"View scope"}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(D,{type:"button",size:"sm",variant:t.scope==="company"?"default":"outline",onClick:()=>h("scope","company"),children:"Companies"}),e.jsx(D,{type:"button",size:"sm",variant:t.scope==="group"?"default":"outline",onClick:()=>h("scope","group"),children:"Groups"})]})]}),p>0&&e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("span",{className:"text-sm text-muted-foreground",children:[p," filter",p!==1?"s":""," active"]}),e.jsxs(D,{variant:"ghost",size:"sm",onClick:n,className:"text-accent h-auto py-1",children:[e.jsx(Ct,{className:"w-3 h-3 mr-1"}),"Clear all"]})]}),e.jsxs("div",{className:"text-sm font-medium text-foreground py-2 px-3 bg-secondary/50 rounded-lg",children:[s," ",s===1?t.scope==="group"?"group":"company":t.scope==="group"?"groups":"companies"," found"]}),e.jsxs("div",{className:"divide-y divide-border",children:[e.jsx(m,{id:"companyType",title:"Company Type",icon:gt,children:e.jsxs(So,{value:t.companyType||"all",onValueChange:y=>h("companyType",y==="all"?"":y),children:[e.jsx(_r,{className:"w-full",children:e.jsx(Lo,{placeholder:"All company types"})}),e.jsxs(Rr,{children:[e.jsx(Vt,{value:"all",children:"All company types"}),d.companyTypes.map(y=>e.jsx(Vt,{value:y,children:y},y))]})]})}),e.jsx(m,{id:"verticals",title:"Verticals",icon:Pc,children:e.jsx("div",{className:"flex flex-wrap gap-2",children:d.verticals.map(y=>e.jsx(ge,{variant:t.verticals.includes(y)?"default":"outline",className:"cursor-pointer transition-colors",onClick:()=>u("verticals",y),children:y},y))})}),e.jsx(m,{id:"products",title:"Products & Services",icon:na,children:e.jsx("div",{className:"space-y-2 max-h-48 overflow-y-auto",children:d.productCategories.map(y=>e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(Dt,{id:`cat-${y}`,checked:t.productCategories.includes(y),onCheckedChange:()=>u("productCategories",y)}),e.jsx(ne,{htmlFor:`cat-${y}`,className:"text-sm font-normal cursor-pointer flex-1",children:y})]},y))})}),e.jsx(m,{id:"normalizedProducts",title:"Normalized Products",icon:La,children:e.jsx("div",{className:"space-y-3",children:yR.map(y=>e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-semibold uppercase text-muted-foreground mb-2",children:y.category}),e.jsx("div",{className:"space-y-2",children:y.items.map(x=>x.label).filter(x=>(d.products??[]).includes(x)).map(x=>e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(Dt,{id:`product-${x}`,checked:t.products.includes(x),onCheckedChange:()=>u("products",x)}),e.jsx(ne,{htmlFor:`product-${x}`,className:"text-sm font-normal cursor-pointer flex-1",children:x})]},x))})]},y.category))})}),e.jsx(m,{id:"employees",title:"Company Size",icon:Nt,children:e.jsx("div",{className:"space-y-2",children:d.employeeRanges.map(y=>e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(Dt,{id:`emp-${y}`,checked:t.employeeRanges.includes(y),onCheckedChange:()=>u("employeeRanges",y)}),e.jsxs(ne,{htmlFor:`emp-${y}`,className:"text-sm font-normal cursor-pointer flex-1",children:[y," employees"]})]},y))})}),e.jsx(m,{id:"hiring",title:"Hiring",icon:nt,children:e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(Dt,{id:"hiring-now",checked:t.hiringNow,onCheckedChange:y=>h("hiringNow",y===!0)}),e.jsxs(ne,{htmlFor:"hiring-now",className:"text-sm font-normal cursor-pointer flex items-center gap-2",children:[e.jsx("span",{className:"w-2 h-2 rounded-full bg-gaming-success"}),"Hiring now"]})]}),e.jsxs("div",{children:[e.jsx(ne,{className:"text-xs text-muted-foreground mb-2 inline-flex items-center",children:"Open roles count"}),e.jsx("div",{className:"space-y-2",children:d.openRolesRanges.map(y=>e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(Dt,{id:`open-roles-${y}`,checked:t.openRolesRanges.includes(y),onCheckedChange:()=>u("openRolesRanges",y)}),e.jsxs(ne,{htmlFor:`open-roles-${y}`,className:"text-sm font-normal cursor-pointer flex-1",children:[y," roles"]})]},y))})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(Dt,{id:"claimed-only",checked:t.claimedOnly,onCheckedChange:y=>h("claimedOnly",y===!0)}),e.jsxs(ne,{htmlFor:"claimed-only",className:"text-sm font-normal cursor-pointer flex items-center gap-2",children:[e.jsx(it,{className:"w-3.5 h-3.5 text-accent"}),"Claimed profiles only"]})]})]})}),e.jsx(m,{id:"credibility",title:"Credibility",icon:it,children:e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(Dt,{id:"has-licenses",checked:t.hasLicenses,onCheckedChange:y=>h("hasLicenses",y===!0)}),e.jsx(ne,{htmlFor:"has-licenses",className:"text-sm font-normal cursor-pointer",children:"Licensed operators/providers"})]}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(Dt,{id:"has-awards",checked:t.hasAwards,onCheckedChange:y=>h("hasAwards",y===!0)}),e.jsx(ne,{htmlFor:"has-awards",className:"text-sm font-normal cursor-pointer",children:"Award winners"})]}),e.jsxs("div",{children:[e.jsx(ne,{className:"text-xs text-muted-foreground mb-2 inline-flex items-center",children:"Years active"}),e.jsx("div",{className:"space-y-2",children:d.yearsActiveRanges.map(y=>e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(Dt,{id:`years-${y}`,checked:t.yearsActiveRanges.includes(y),onCheckedChange:()=>u("yearsActiveRanges",y)}),e.jsxs(ne,{htmlFor:`years-${y}`,className:"text-sm font-normal cursor-pointer flex-1",children:[y," years"]})]},y))})]})]})})]}),e.jsxs("div",{className:"p-4 bg-gradient-to-br from-accent/10 to-gaming-gold/10 rounded-xl border border-accent/20",children:[e.jsx("h4",{className:"font-semibold text-sm mb-1",children:"Need vendor recommendations?"}),e.jsx("p",{className:"text-xs text-muted-foreground mb-3",children:"Tell us what you need and we'll create a shortlist for you."}),e.jsx(D,{variant:"accent",size:"sm",className:"w-full",children:"Request Intro"})]})]})},v$=({count:t=4})=>e.jsx("div",{className:"space-y-4 animate-fade-in",children:[...Array(t)].map((a,r)=>e.jsx("div",{className:"bg-white rounded-lg shadow-sm p-5 border border-border/50 animate-pulse",children:e.jsxs("div",{className:"flex gap-4",children:[e.jsx("div",{className:"w-16 h-16 rounded-xl bg-gray-200 flex-shrink-0"}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsxs("div",{className:"flex items-start justify-between gap-2 mb-2",children:[e.jsxs("div",{className:"space-y-2 flex-1",children:[e.jsx("div",{className:"h-5 bg-gray-200 rounded w-1/3"}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"h-3 bg-gray-200 rounded w-28"}),e.jsx("div",{className:"h-3 bg-gray-200 rounded w-20"})]})]}),e.jsx("div",{className:"h-8 bg-gray-200 rounded w-20"})]}),e.jsxs("div",{className:"flex flex-wrap gap-2 mb-3",children:[e.jsx("div",{className:"h-5 bg-gray-200 rounded w-20"}),e.jsx("div",{className:"h-5 bg-gray-200 rounded w-24"}),e.jsx("div",{className:"h-5 bg-gray-200 rounded w-16"})]}),e.jsxs("div",{className:"space-y-2 mb-3",children:[e.jsx("div",{className:"h-3 bg-gray-200 rounded w-full"}),e.jsx("div",{className:"h-3 bg-gray-200 rounded w-3/4"})]}),e.jsxs("div",{className:"flex flex-wrap gap-2 mb-3",children:[e.jsx("div",{className:"h-5 bg-gray-200 rounded w-16"}),e.jsx("div",{className:"h-5 bg-gray-200 rounded w-14"}),e.jsx("div",{className:"h-5 bg-gray-200 rounded w-20"})]}),e.jsxs("div",{className:"flex items-center justify-between pt-3 border-t border-border/50",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"h-3 bg-gray-200 rounded w-24"}),e.jsx("div",{className:"h-3 bg-gray-200 rounded w-20"})]}),e.jsx("div",{className:"h-6 bg-gray-200 rounded w-24"})]})]})]})},r))}),w$=t=>{const a=mR.find(r=>r.label===t);return(a==null?void 0:a.label)??t},b$=({entities:t,onClearSelection:a,maxSelections:r})=>e.jsxs(ce,{className:"border-border/60",children:[e.jsxs(xe,{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold",children:"Comparison"}),e.jsxs("p",{className:"text-sm text-muted-foreground",children:["Comparing ",t.length," of ",r," selected profiles"]})]}),e.jsx(D,{variant:"ghost",size:"sm",onClick:a,children:"Clear selection"})]}),e.jsx(de,{children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("div",{className:"min-w-[640px] grid gap-4",children:[e.jsxs("div",{className:"grid grid-cols-[180px_repeat(auto-fit,minmax(180px,1fr))] gap-4 items-start",children:[e.jsx("div",{className:"text-xs font-semibold uppercase text-muted-foreground",children:"Profile"}),t.map(n=>e.jsx("div",{className:"font-semibold text-sm",children:n.name},n.id))]}),e.jsxs("div",{className:"grid grid-cols-[180px_repeat(auto-fit,minmax(180px,1fr))] gap-4 items-start",children:[e.jsx("div",{className:"text-xs font-semibold uppercase text-muted-foreground",children:"Products"}),t.map(n=>{const s=n.normalizedProfile;return e.jsx("div",{className:"flex flex-wrap gap-1",children:s.products.length===0?e.jsx("span",{className:"text-xs text-muted-foreground",children:"No normalized products"}):s.products.map(i=>e.jsx(ge,{variant:"secondary",className:"text-xs",children:w$(i)},i))},n.id)})]}),e.jsxs("div",{className:"grid grid-cols-[180px_repeat(auto-fit,minmax(180px,1fr))] gap-4 items-start",children:[e.jsx("div",{className:"text-xs font-semibold uppercase text-muted-foreground",children:"Capabilities"}),t.map(n=>{const s=n.normalizedProfile;return e.jsx("div",{className:"flex flex-wrap gap-1",children:s.capabilities.length===0?e.jsx("span",{className:"text-xs text-muted-foreground",children:"No data"}):s.capabilities.map(i=>e.jsx(ge,{variant:"outline",className:"text-xs",children:i},i))},n.id)})]}),e.jsxs("div",{className:"grid grid-cols-[180px_repeat(auto-fit,minmax(180px,1fr))] gap-4 items-start",children:[e.jsx("div",{className:"text-xs font-semibold uppercase text-muted-foreground",children:"Credibility"}),t.map(n=>{const s=n.normalizedProfile;return e.jsxs("div",{className:"text-sm text-muted-foreground space-y-1",children:[e.jsxs("div",{children:["Licenses: ",e.jsx("span",{className:"text-foreground",children:s.credibility.licenses})]}),e.jsxs("div",{children:["Awards: ",e.jsx("span",{className:"text-foreground",children:s.credibility.awards})]}),e.jsxs("div",{children:["Years active:"," ",e.jsx("span",{className:"text-foreground",children:s.credibility.yearsActive??"N/A"})]})]},n.id)})]}),e.jsxs("div",{className:"grid grid-cols-[180px_repeat(auto-fit,minmax(180px,1fr))] gap-4 items-start",children:[e.jsx("div",{className:"text-xs font-semibold uppercase text-muted-foreground",children:"Commercial Signals"}),t.map(n=>{const s=n.normalizedProfile;return e.jsxs("div",{className:"text-sm text-muted-foreground space-y-1",children:[e.jsxs("div",{children:["Profile views (30d):"," ",e.jsx("span",{className:"text-foreground",children:s.commercialSignals.profileViews30d})]}),e.jsxs("div",{children:["Followers:"," ",e.jsx("span",{className:"text-foreground",children:s.commercialSignals.followsCount})]}),e.jsxs("div",{children:["Hiring intensity:"," ",e.jsx("span",{className:"text-foreground",children:s.commercialSignals.hiringIntensity})]}),e.jsxs("div",{children:["Search impressions:"," ",e.jsx("span",{className:"text-foreground",children:s.commercialSignals.searchImpressions})]})]},n.id)})]})]})})})]}),M$=({viewMode:t,onToggleViewMode:a,selectedItemsPerPage:r,onItemsPerPageChange:n,totalCount:s,startIndex:i,endIndex:c,title:l,items:d})=>e.jsx("div",{className:"lg:block hidden bg-white rounded-lg shadow-sm border border-gray-200 p-4 mb-6",children:e.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(gt,{className:"w-5 h-5 text-muted-foreground"}),e.jsx("h3",{className:"text-xl font-semibold text-gray-900",children:l})]}),e.jsxs("p",{className:"text-sm text-gray-600",children:["Showing ",e.jsx("span",{className:"font-semibold text-gray-900",children:i}),"–",e.jsx("span",{className:"font-semibold text-gray-900",children:c})," of"," ",e.jsx("span",{className:"font-semibold text-gray-900",children:s})," ",d]})]}),e.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center gap-3",children:[e.jsx(EA,{viewMode:t,onToggle:a}),e.jsx(FA,{value:r,onChange:n})]})]})}),j$=()=>e.jsx("section",{className:"bg-gradient-to-br from-primary via-primary to-primary-variant py-12",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs("div",{className:"max-w-3xl",children:[e.jsxs(bc,{className:"bg-accent/20 text-accent border-accent/30 mb-4",children:[e.jsx(La,{className:"w-3 h-3 mr-1"}),"iGaming Intelligence"]}),e.jsx("h1",{className:"text-3xl md:text-4xl font-bold text-primary-foreground mb-3",children:"iGaming Company Directory"}),e.jsx("p",{className:"text-primary-foreground/80 text-lg",children:"Discover operators, suppliers, affiliates, and service providers. Filter by type, vertical, jurisdiction, and hiring signals."})]})})}),Hj=4,C$=t=>(t.companyType?1:0)+t.verticals.length+t.productCategories.length+t.employeeRanges.length+t.products.length+t.openRolesRanges.length+t.yearsActiveRanges.length+(t.hiringNow?1:0)+(t.claimedOnly?1:0)+(t.hasLicenses?1:0)+(t.hasAwards?1:0),xR=({companies:t,filterOptions:a,loading:r,page:n,pageSize:s,totalCount:i,totalPages:c,onPageChange:l,onPageSizeChange:d,filters:h,onFiltersChange:u,onClearFilters:p,viewMode:m,onViewModeChange:y,followDisabled:x=!1,followLoading:f=!1,onToggleFollow:v,onFollowAction:k,saveDisabled:w=!1,saveLoading:j=!1,onToggleSave:S,onSaveAction:C})=>{const[A,L]=M.useState(!1),[b,N]=M.useState([]),[q,P]=M.useState(!0),{displayCompanies:R,comparisonEntities:T}=M.useMemo(()=>{const Y=t.map(J=>{var ue,we,Z;const Q=h.scope==="group",ee=((we=(ue=J.group)==null?void 0:ue.companies)==null?void 0:we.length)??1;return{company:J,displayName:Q?((Z=J.group)==null?void 0:Z.name)??J.groupName??J.name:J.name,openRolesCount:Array.isArray(J.jobs.openRoles)?J.jobs.openRoles.length:J.jobs.openRoles,groupMembersCount:ee,isGroup:Q,comparisonProfile:k$(J),comparisonId:J.id}});return{displayCompanies:Y,comparisonEntities:Y.map(J=>({id:J.comparisonId,name:J.displayName,normalizedProfile:J.comparisonProfile}))}},[t,h.scope]),$=M.useMemo(()=>C$(h),[h]),W=M.useMemo(()=>T.filter(Y=>b.includes(Y.id)),[T,b]);M.useEffect(()=>{N([])},[h.scope]),M.useEffect(()=>{N(Y=>Y.filter(J=>T.some(Q=>Q.id===J)))},[T]);const B=Y=>{N(J=>J.includes(Y)?J.filter(Q=>Q!==Y):J.length>=Hj?J:[...J,Y])},U=()=>{N([])},O=i===0?0:(n-1)*s+1,oe=Math.min(n*s,i),ae=m==="grid"?"grid gap-6 sm:grid-cols-2 xl:grid-cols-3":"space-y-4";return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx(j$,{}),e.jsx("section",{className:"py-8",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs("div",{className:"flex gap-8",children:[e.jsx("aside",{className:"hidden lg:block w-80 flex-shrink-0",children:e.jsxs("div",{className:"sticky top-24 bg-card rounded-xl border border-border p-5",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx(gr,{className:"w-5 h-5 text-accent"}),e.jsx("h2",{className:"font-semibold",children:"Filters"})]}),e.jsx(dN,{filters:h,options:a,onFiltersChange:u,onClearFilters:p,resultCount:i})]})}),e.jsxs("main",{className:"flex-1 min-w-0",children:[e.jsx("div",{className:"lg:hidden mb-4",children:e.jsxs(D,{variant:"outline",onClick:()=>L(!0),className:"w-full",children:[e.jsx(gr,{className:"w-4 h-4 mr-2"}),"Filters",$>0&&e.jsx(ge,{variant:"secondary",className:"ml-2",children:"Active"})]})}),e.jsx(M$,{viewMode:m,onToggleViewMode:y,selectedItemsPerPage:s,onItemsPerPageChange:d,totalCount:i,startIndex:O,endIndex:oe,title:"All companies",items:"companies"}),e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsx("div",{className:"flex items-center gap-3"}),e.jsxs("div",{className:"flex items-center gap-2",children:[b.length>0&&e.jsxs(D,{variant:"outline",size:"sm",onClick:()=>P(Y=>!Y),children:[q?"Hide comparison":"Show comparison"," (",b.length,")"]}),e.jsx("span",{className:"text-sm text-muted-foreground hidden sm:inline",children:"Sort by:"}),e.jsxs(D,{variant:"ghost",size:"sm",className:"text-accent",children:[e.jsx(Ra,{className:"w-4 h-4 mr-1"}),"Most Active"]})]})]}),W.length>0&&q&&e.jsx("div",{className:"mb-6",children:e.jsx(b$,{entities:W,onClearSelection:U,maxSelections:Hj})}),r?e.jsx(v$,{count:s}):e.jsx("div",{className:ae,children:R.map(Y=>e.jsx(SH,{company:Y.company,displayName:Y.displayName,openRolesCount:Y.openRolesCount,groupMembersCount:Y.groupMembersCount,isGroup:Y.isGroup,viewMode:m,compareId:Y.comparisonId,compareSelected:b.includes(Y.comparisonId),compareDisabled:!b.includes(Y.comparisonId)&&b.length>=Hj,onToggleCompare:B,followDisabled:x,followLoading:f,onToggleFollow:v,onFollowAction:k,saveDisabled:w,saveLoading:j,onToggleSave:S,onSaveAction:C},Y.company.id))}),!r&&c>1&&e.jsx(B9,{currentPage:n,totalPages:c,onPageChange:l}),!r&&i===0&&e.jsxs("div",{className:"text-center py-16",children:[e.jsx(gt,{className:"w-12 h-12 text-muted-foreground mx-auto mb-4"}),e.jsxs("h3",{className:"text-lg font-medium mb-2",children:["No ",h.scope==="group"?"groups":"companies"," found"]}),e.jsx("p",{className:"text-muted-foreground mb-4",children:"Try adjusting your filters"}),e.jsx(D,{variant:"outline",onClick:p,children:"Clear all filters"})]})]})]})})}),A&&e.jsxs("div",{className:"fixed inset-0 z-50 lg:hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-black/50",onClick:()=>L(!1)}),e.jsxs("div",{className:"absolute right-0 top-0 h-full w-full max-w-sm bg-background p-6 overflow-y-auto",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsx("h2",{className:"font-semibold text-lg",children:"Filters"}),e.jsx(D,{variant:"ghost",size:"icon",onClick:()=>L(!1),children:e.jsx(Ct,{className:"w-5 h-5"})})]}),e.jsx(dN,{filters:h,options:a,onFiltersChange:u,onClearFilters:p,resultCount:i})]})]})]})},_9=g.forwardRef(({className:t,...a},r)=>e.jsx("textarea",{className:me("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,...a}));_9.displayName="Textarea";const S$=({company:t,open:a,onOpenChange:r,onClaimSubmit:n})=>{const[s,i]=M.useState(1),[c,l]=M.useState({fullName:"",workEmail:"",jobTitle:"",relationship:"",message:""}),d=()=>{n==null||n({companyId:t.id,companySlug:t.slug,companyName:t.name,fullName:c.fullName,workEmail:c.workEmail,jobTitle:c.jobTitle,relationship:c.relationship,message:c.message}),i(3)},h=()=>{i(1),l({fullName:"",workEmail:"",jobTitle:"",relationship:"",message:""}),r(!1)};return e.jsx(ar,{open:a,onOpenChange:h,children:e.jsxs(Fa,{className:"sm:max-w-[500px]",children:[s===1&&e.jsxs(e.Fragment,{children:[e.jsxs(va,{children:[e.jsx("div",{className:"w-12 h-12 rounded-xl bg-gradient-to-br from-accent/20 to-gaming-gold/20 flex items-center justify-center mb-2",children:e.jsx(gt,{className:"w-6 h-6 text-accent"})}),e.jsxs(oa,{children:["Claim ",t.name,"'s Profile"]}),e.jsx(go,{children:"Verify your affiliation to manage this company's page, add products, respond to reviews, and access analytics."})]}),e.jsx("div",{className:"space-y-4 py-4",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-start gap-3 p-3 bg-secondary/50 rounded-lg",children:[e.jsx(it,{className:"w-5 h-5 text-gaming-success mt-0.5"}),e.jsxs("div",{children:[e.jsx("p",{className:"font-medium text-sm",children:"Update company information"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"Add products, edit descriptions, and manage your profile"})]})]}),e.jsxs("div",{className:"flex items-start gap-3 p-3 bg-secondary/50 rounded-lg",children:[e.jsx(it,{className:"w-5 h-5 text-gaming-success mt-0.5"}),e.jsxs("div",{children:[e.jsx("p",{className:"font-medium text-sm",children:"Access analytics"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"See who's viewing your profile and track engagement"})]})]}),e.jsxs("div",{className:"flex items-start gap-3 p-3 bg-secondary/50 rounded-lg",children:[e.jsx(it,{className:"w-5 h-5 text-gaming-success mt-0.5"}),e.jsxs("div",{children:[e.jsx("p",{className:"font-medium text-sm",children:"Publish jobs & events"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"Post open roles and announce event attendance"})]})]}),e.jsxs("div",{className:"flex items-start gap-3 p-3 bg-secondary/50 rounded-lg",children:[e.jsx(it,{className:"w-5 h-5 text-gaming-success mt-0.5"}),e.jsxs("div",{children:[e.jsx("p",{className:"font-medium text-sm",children:"Enable meeting bookings"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"Let potential partners request meetings at events"})]})]})]})}),e.jsxs(ia,{children:[e.jsx(D,{variant:"outline",onClick:h,children:"Cancel"}),e.jsxs(D,{variant:"accent",onClick:()=>i(2),children:["Continue",e.jsx(co,{className:"w-4 h-4 ml-2"})]})]})]}),s===2&&e.jsxs(e.Fragment,{children:[e.jsxs(va,{children:[e.jsx(oa,{children:"Verify Your Affiliation"}),e.jsxs(go,{children:["We'll verify your work email domain to confirm your connection to ",t.name,"."]})]}),e.jsx("div",{className:"space-y-4 py-4",children:e.jsxs("div",{className:"grid gap-4",children:[e.jsxs("div",{className:"grid gap-2",children:[e.jsx(ne,{htmlFor:"fullName",children:"Full Name"}),e.jsx(Re,{id:"fullName",placeholder:"John Smith",value:c.fullName,onChange:u=>l({...c,fullName:u.target.value})})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(ne,{htmlFor:"workEmail",children:"Work Email"}),e.jsxs("div",{className:"relative",children:[e.jsx(sa,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground"}),e.jsx(Re,{id:"workEmail",type:"email",placeholder:`you@${t.overview.website.replace(/^https?:\/\/(www\.)?/,"").split("/")[0]}`,className:"pl-10",value:c.workEmail,onChange:u=>l({...c,workEmail:u.target.value})})]}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"We'll send a verification link to this address"})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(ne,{htmlFor:"jobTitle",children:"Job Title"}),e.jsxs("div",{className:"relative",children:[e.jsx(nt,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground"}),e.jsx(Re,{id:"jobTitle",placeholder:"e.g., Marketing Manager",className:"pl-10",value:c.jobTitle,onChange:u=>l({...c,jobTitle:u.target.value})})]})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(ne,{htmlFor:"relationship",children:"Your Role"}),e.jsxs(So,{value:c.relationship,onValueChange:u=>l({...c,relationship:u}),children:[e.jsx(_r,{children:e.jsx(Lo,{placeholder:"Select your relationship"})}),e.jsxs(Rr,{children:[e.jsx(Vt,{value:"employee",children:"Current Employee"}),e.jsx(Vt,{value:"founder",children:"Founder / Executive"}),e.jsx(Vt,{value:"hr",children:"HR / Recruiting"}),e.jsx(Vt,{value:"marketing",children:"Marketing / PR"}),e.jsx(Vt,{value:"agency",children:"Authorized Agency"})]})]})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(ne,{htmlFor:"message",children:"Additional Information (Optional)"}),e.jsx(_9,{id:"message",placeholder:"Any additional context to help verify your claim...",value:c.message,onChange:u=>l({...c,message:u.target.value}),rows:3})]})]})}),e.jsxs(ia,{children:[e.jsx(D,{variant:"outline",onClick:()=>i(1),children:"Back"}),e.jsx(D,{variant:"accent",onClick:d,disabled:!c.fullName||!c.workEmail||!c.relationship,children:"Submit Claim Request"})]})]}),s===3&&e.jsxs(e.Fragment,{children:[e.jsxs(va,{className:"text-center",children:[e.jsx("div",{className:"w-16 h-16 rounded-full bg-gaming-success/10 flex items-center justify-center mx-auto mb-4",children:e.jsx(it,{className:"w-8 h-8 text-gaming-success"})}),e.jsx(oa,{children:"Claim Request Submitted!"}),e.jsxs(go,{className:"text-center",children:["We've sent a verification email to ",e.jsx("strong",{children:c.workEmail}),". Click the link in the email to verify your affiliation."]})]}),e.jsx("div",{className:"py-4",children:e.jsxs("div",{className:"p-4 bg-secondary/50 rounded-lg text-sm text-muted-foreground",children:[e.jsx("p",{className:"font-medium text-foreground mb-2",children:"What happens next?"}),e.jsxs("ul",{className:"space-y-2",children:[e.jsx("li",{children:"• Check your email for the verification link"}),e.jsx("li",{children:"• Our team will review your claim within 24-48 hours"}),e.jsx("li",{children:"• You'll receive an email once your claim is approved"})]})]})}),e.jsx(ia,{children:e.jsx(D,{variant:"accent",onClick:h,className:"w-full",children:"Done"})})]})]})})};function m9({job:t,view:a,isSaved:r=!1,onApply:n,onSave:s,onRemove:i,onViewApplication:c}){var h;const l=t.city?`${t.city}, ${t.country}`:t.location,d=t.salaryMin&&t.salaryMax?`${t.salaryMin}–${t.salaryMax} ${t.salaryCurrency||""}`:void 0;return e.jsxs(ce,{children:[e.jsxs(xe,{children:[e.jsxs("div",{className:"flex justify-between items-start",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx(ke,{className:"text-lg",children:t.title}),e.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground mt-2",children:[e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(Eo,{className:"h-4 w-4"}),t.company]}),e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(ct,{className:"h-4 w-4"}),l]})]})]}),a==="applications"&&t.status&&e.jsx(ge,{variant:"secondary",children:t.status})]}),d&&e.jsx("p",{className:"text-sm font-semibold text-accent mt-1",children:d})]}),e.jsx(de,{children:e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex flex-wrap gap-2",children:[t.department&&e.jsx(ge,{variant:"outline",children:t.department}),(h=t.skills)==null?void 0:h.slice(0,6).map(u=>e.jsx(ge,{variant:"secondary",children:u},u))]}),a==="applications"&&t.appliedDate&&e.jsxs("p",{className:"text-xs text-muted-foreground flex items-center gap-1",children:[e.jsx(ka,{className:"h-3 w-3"}),"Applied ",t.appliedDate]}),e.jsxs("div",{className:"flex gap-2",children:[a==="recommended"&&e.jsxs(e.Fragment,{children:[e.jsx(D,{size:"sm",onClick:()=>n==null?void 0:n(t.id),children:"Apply Now"}),e.jsx(D,{size:"sm",variant:r?"secondary":"outline",disabled:r,onClick:()=>s==null?void 0:s(t),children:r?"Saved":"Save Job"}),e.jsx(D,{size:"sm",variant:"destructive",onClick:()=>i==null?void 0:i(t.id),children:"Remove"})]}),a==="saved"&&e.jsx(D,{size:"sm",variant:"destructive",onClick:()=>i==null?void 0:i(t.id),children:"Remove"}),a==="applications"&&e.jsx(D,{size:"sm",variant:"outline",onClick:()=>c==null?void 0:c(t.id),children:"View Application"}),a==="company"&&e.jsx(D,{size:"sm",variant:"outline",onClick:()=>{window.location.href=t.link},children:"Apply"})]})]})})]})}function jC({article:t,view:a,isSaved:r=!1,onRead:n,onSave:s,onRemove:i}){var c;return e.jsxs(ce,{children:[e.jsxs(xe,{children:[e.jsxs("div",{className:"flex gap-2 items-start mb-2",children:[(c=t.categories)==null?void 0:c.map(l=>e.jsx(ge,{variant:"secondary",children:l})),e.jsx("span",{className:"text-xs text-muted-foreground",children:t.publishedDate})]}),e.jsx(ke,{className:"text-lg",children:t.title}),e.jsxs(Ge,{className:"text-xs",children:[t.source?t.source:t.company," • ",t.readTime," min"]})]}),e.jsx(de,{children:e.jsxs("div",{className:"space-y-3",children:[e.jsx("p",{className:"text-sm text-muted-foreground line-clamp-2",children:t.excerpt}),e.jsx("div",{className:"flex flex-wrap gap-2",children:t.tags.map(l=>e.jsx(ge,{variant:"outline",className:"text-xs",children:l},l))}),e.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:flex-wrap",children:[e.jsx(D,{size:"sm",onClick:()=>n==null?void 0:n(t.id),children:"Read Article"}),a==="recommended"&&e.jsxs(e.Fragment,{children:[e.jsx(D,{size:"sm",variant:r?"secondary":"outline",disabled:r,onClick:()=>s==null?void 0:s(t),children:r?"Saved":"Save"}),e.jsx(D,{size:"sm",variant:"destructive",onClick:()=>i==null?void 0:i(t.id),children:"Remove"})]}),a==="saved"&&e.jsx(D,{size:"sm",variant:"destructive",onClick:()=>i==null?void 0:i(t.id),children:"Remove Saved"}),a==="company"&&e.jsx(D,{size:"sm",variant:"outline",onClick:()=>n==null?void 0:n(t.id),children:"Read"})]})]})})]})}const gR=({isClaimed:t,canClaim:a,onClaimClick:r})=>t||!a?null:e.jsx(D,{type:"button",variant:"ghost",className:"text-primary-foreground",onClick:r,children:"Claim this company"}),L$=({company:t,jobs:a,news:r,events:n,officeLocations:s,isFollowing:i,followLoading:c=!1,followDisabled:l=!1,onToggleFollow:d,onFollowAction:h,isSaved:u,saveLoading:p=!1,saveDisabled:m=!1,onToggleSave:y,onSaveAction:x,canClaim:f,onClaimSubmit:v})=>{var da,ft,dt,Jt,F,V,K,Le,Te,Ze,ze;const[k,w]=M.useState(!1);if(!t)return e.jsx("div",{className:"min-h-screen bg-background",children:e.jsxs("div",{className:"container mx-auto px-4 py-16 text-center",children:[e.jsx(gt,{className:"w-16 h-16 text-muted-foreground mx-auto mb-4"}),e.jsx("h1",{className:"text-2xl font-bold mb-2",children:"Company Not Found"}),e.jsx("p",{className:"text-muted-foreground mb-6",children:"The company you're looking for doesn't exist."}),e.jsx("a",{href:"/companies",children:e.jsx(D,{variant:"accent",children:"Browse Directory"})})]})});const j=((ft=(da=t.webIntelligence)==null?void 0:da.menus.primary_nav_details)==null?void 0:ft.flatMap(z=>z.key_points))??[],S=t.trustAndCompliance.licenses.length+t.trustAndCompliance.certifications.length+t.trustAndCompliance.awards.length,C=t.signalsAndInsights,A=((dt=t.group)==null?void 0:dt.name)??t.groupName??t.group_name??null,L=((Jt=t.group)==null?void 0:Jt.slug)??t.groupSlug??t.group_slug??((F=t.group)==null?void 0:F.id)??t.groupId??t.group_id??void 0,b=a??[],N=r??[],q=n??[],P=b.length>0?b.length:Array.isArray(t.jobs.openRoles)?t.jobs.openRoles.length:t.jobs.openRoles,R=z=>typeof z=="string"?z:`${z.authority} (${z.jurisdiction})`,T=z=>typeof z=="string"?z:`${z.name} (${z.year})`,$=z=>"name"in z?z.name:z.eventName,W=z=>"startDate"in z?`${z.startDate}${z.endDate?` - ${z.endDate}`:""}`:z.date,B=z=>typeof z=="string"?z:`${z.title} • ${z.source}`,U=z=>typeof z=="object"&&z!==null&&"url"in z,O=z=>{if(typeof z=="string")return z;const pe=z.city??z.cities??z.location,He=z.country;return`${pe??"Remote"}, ${He??"Global"}`},oe=s??t.overview.officeLocations??[],ae=i??t.isFollowing??!1,Y=l||c,J=ae?"Unfollow Company":"Follow Company",Q=u??t.isSaved??!1,ee=m||p,ue=Q?"Remove from Saved":"Save Company",we=f??t.claimedStatus==="unclaimed",Z=()=>t.claimedStatus==="claimed"?e.jsxs(ge,{className:"bg-accent/10 text-accent border-accent/20",children:[e.jsx(it,{className:"w-3 h-3 mr-1"}),"Claimed"]}):null,te=[{name:"Casino Games (Slots & RNG)",category:"Game Content",description:"RNG-based casino games including slots and table games.",keywords:["slot","rng","casino game","table game","jackpot","buy bonus"],negativeKeywords:["live casino games","live casino"],priority:10},{name:"Live Casino Games",category:"Live Casino",description:"Live dealer games streamed from professional studios.",keywords:["live casino games","live dealer games","roulette games","live roulette","sic-bo","presenter"],negativeKeywords:["real-time reporting"],priority:10},{name:"iGaming Platform / PAM",category:"Platform",description:"Core iGaming platform including player accounts, wallet, and cashier.",keywords:["pam","aggregation platform","cashier","player account"],negativeKeywords:[],priority:10},{name:"Game Aggregation",category:"Aggregation",description:"Single API access to multiple game providers.",keywords:["aggregation","aggregator","single api","content hub"],negativeKeywords:[],priority:10},{name:"Bonus & Promotions Platform",category:"CRM & Engagement",description:"Bonus management, promotions, and player engagement tools.",keywords:["bonus tools","promotional tools","free spins tools","tournament","leaderboard","rewards tools","bonus features","bonus platform"],negativeKeywords:[],priority:10},{name:"Back Office & Analytics",category:"Operations",description:"Reporting, dashboards, and performance analytics.",keywords:["back office","real-time reporting","analytics","easy-to-use tools","insights"],negativeKeywords:[],priority:10},{name:"Live Casino Infrastructure",category:"Technology",description:"Hardware, streaming, and infrastructure for live casino operations.",keywords:["streaming","video streaming","Live Casino studio","professional game hosts"],negativeKeywords:[],priority:10},{name:"Payments & Payouts",category:"Payments",description:"Payment processing, deposits, and withdrawals.",keywords:["Payment processing","psp","payout","withdrawal","deposit"],negativeKeywords:[],priority:10},{name:"Compliance & Risk",category:"Compliance",description:"KYC, AML, fraud prevention, and responsible gaming.",keywords:["kyc detection","aml detection","compliance tools","fraud detection","fraud prevention","responsible gaming tools"],negativeKeywords:[],priority:10}];function ve(z,pe){var Tt;const He=pe.toLowerCase();return!(!z.keywords.some(Yt=>He.includes(Yt))||((Tt=z.negativeKeywords)==null?void 0:Tt.some(Yt=>He.includes(Yt))))}function fe(z){return z!==null}const re=[{key:"migea",name:"Malta iGaming Excellence Awards",aliases:["migea","malta igaming excellence awards","malta gaming excellence awards"]},{key:"egr",name:"EGR Awards",aliases:["egr awards","egr b2b awards","egr operator awards"]},{key:"sigma",name:"SiGMA Awards",aliases:["sigma awards","sigma igaming awards"]},{key:"ice",name:"ICE Gaming Awards",aliases:["ice gaming awards","ice awards"]}];function he(z=[]){const pe=z.map(He=>He.toLowerCase());return re.flatMap(He=>pe.find(ha=>He.aliases.some(Tt=>ha.includes(Tt)))?[{name:He.name,year:new Date().getFullYear()}]:[])}const Ae=new Set(["malta","italy","spain","netherlands","united kingdom","germany","sweden","romania","croatia","serbia","brazil"]);function Pe(z=[]){return Array.from(new Set(z.map(pe=>pe.toLowerCase()).filter(pe=>Ae.has(pe)).map(pe=>pe[0].toUpperCase()+pe.slice(1))))}const _e=(Le=(K=(V=t.webIntelligence)==null?void 0:V.signals)==null?void 0:K.evidence)==null?void 0:Le.credibility,Qe=he((_e==null?void 0:_e.awards_mentioned)??[]),st=Pe((_e==null?void 0:_e.countries_mentioned)??[]);function yt(z){return te.map(pe=>{const He=z.filter(Xt=>ve(pe,Xt));return He.length===0?null:{name:pe.name,category:pe.category,description:pe.description,keyDifferentiators:Array.from(new Set(He)),source:"derived",confidence:Math.min(1,He.length/5),priority:pe.priority}}).filter(fe).sort((pe,He)=>He.priority-pe.priority)}const rt=yt(j),Be=[...t.productsAndServices??[],...rt??[]],mt=()=>{const z=!ae;d==null||d(t.id,z),h==null||h({companyId:t.id,companySlug:t.slug,action:z?"follow":"unfollow"})},et=()=>{const z=!Q;y==null||y(t.id,z),x==null||x({companyId:t.id,companySlug:t.slug,companyName:t.name,action:z?"save":"unsave"})};return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx("section",{className:"bg-gradient-to-br from-primary via-primary to-primary-variant py-8",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsxs("a",{href:"/companies",className:"inline-flex items-center text-primary-foreground/70 hover:text-primary-foreground mb-6 text-sm",children:[e.jsx(Ja,{className:"w-4 h-4 mr-1"})," Back to Directory"]}),e.jsxs("div",{className:"flex flex-col md:flex-row gap-6",children:[e.jsx("div",{className:"w-20 h-20 rounded-2xl bg-white/10 backdrop-blur flex items-center justify-center flex-shrink-0",children:e.jsx(gt,{className:"w-10 h-10 text-primary-foreground"})}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2 mb-2",children:[e.jsx("h1",{className:"text-2xl md:text-3xl font-bold text-primary-foreground",children:t.name}),Z()]}),e.jsxs("div",{className:"flex flex-wrap gap-2 mb-3",children:[e.jsx(ge,{variant:"secondary",children:t.companyType}),A&&e.jsx("a",{href:L?`/groups/${L}`:"/groups",children:e.jsxs(ge,{variant:"outline",className:"border-primary-foreground/30 text-primary-foreground",children:["Part of ",A]})}),t.classification.verticals.map(z=>e.jsx(ge,{variant:"outline",className:"border-primary-foreground/30 text-primary-foreground",children:z},z))]}),e.jsxs("div",{className:"flex flex-wrap items-center gap-4 text-primary-foreground/80 text-sm mb-4",children:[e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(ct,{className:"w-4 h-4"}),t.overview.headquarters.city,", ",t.overview.headquarters.country]}),e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(lo,{className:"w-4 h-4"}),"Founded ",t.overview.foundedYear]}),e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(Nt,{className:"w-4 h-4"}),t.overview.employeeRange," employees"]})]}),e.jsxs("div",{className:"flex flex-wrap gap-2",children:[e.jsxs(D,{variant:"accent",onClick:mt,disabled:Y,"aria-label":`${J} ${t.name}`,"aria-pressed":ae,"aria-busy":c,title:J,children:[c?e.jsx(ma,{className:"w-4 h-4 mr-2 animate-spin"}):ae?e.jsx(it,{className:"w-4 h-4 mr-2"}):e.jsx(vr,{className:"w-4 h-4 mr-2"}),c?"Loading":ae?"Following":"Follow"]}),e.jsxs(D,{variant:Q?"secondary":"outline",className:"border-primary-foreground/30 text-primary-foreground hover:bg-primary-foreground/10",onClick:et,disabled:ee,"aria-label":`${ue} ${t.name}`,"aria-pressed":Q,"aria-busy":p,title:ue,children:[p?e.jsx(ma,{className:"w-4 h-4 mr-2 animate-spin"}):e.jsx(ga,{className:`w-4 h-4 mr-2 ${Q?"fill-current":"fill-transparent"}`}),p?"Loading":Q?"Saved":"Save"]}),e.jsx(gR,{isClaimed:t.claimedStatus==="claimed",canClaim:we,onClaimClick:()=>w(!0)})]})]}),e.jsxs("div",{className:"flex gap-4 md:gap-6",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-2xl font-bold text-primary-foreground",children:P}),e.jsx("div",{className:"text-xs text-primary-foreground/70",children:"Open Jobs"})]}),e.jsxs("div",{className:"text-center",children:[e.jsxs("div",{className:"text-2xl font-bold text-primary-foreground",children:[(C.profileViews30d/1e3).toFixed(1),"k"]}),e.jsx("div",{className:"text-xs text-primary-foreground/70",children:"Views/30d"})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-2xl font-bold text-primary-foreground",children:S}),e.jsx("div",{className:"text-xs text-primary-foreground/70",children:"Trust Signals"})]})]})]})]})}),e.jsx("section",{className:"py-6",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs(Tr,{defaultValue:"overview",className:"space-y-6",children:[e.jsxs(tr,{className:"flex-wrap h-auto gap-1 bg-secondary/50 p-1",children:[e.jsxs(Ce,{value:"overview",children:[e.jsx(Vo,{className:"w-4 h-4 mr-1.5"}),"Overview"]}),e.jsxs(Ce,{value:"products",children:[e.jsx(Fc,{className:"w-4 h-4 mr-1.5"}),"Products"]}),e.jsxs(Ce,{value:"trust",children:[e.jsx(Mr,{className:"w-4 h-4 mr-1.5"}),"Trust"]}),e.jsxs(Ce,{value:"people",children:[e.jsx(Gc,{className:"w-4 h-4 mr-1.5"}),"People"]}),e.jsxs(Ce,{value:"jobs",children:[e.jsx(nt,{className:"w-4 h-4 mr-1.5"}),"Jobs"]}),e.jsxs(Ce,{value:"news",children:[e.jsx(_a,{className:"w-4 h-4 mr-1.5"}),"News"]}),e.jsxs(Ce,{value:"events",children:[e.jsx(Cc,{className:"w-4 h-4 mr-1.5"}),"Events"]}),e.jsxs(Ce,{value:"insights",children:[e.jsx(uo,{className:"w-4 h-4 mr-1.5"}),"Insights"]})]}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[e.jsxs("div",{className:"lg:col-span-2 space-y-6",children:[e.jsxs(Se,{value:"overview",className:"space-y-6 mt-0",children:[e.jsxs(ce,{children:[e.jsx(xe,{children:e.jsx(ke,{children:"About"})}),e.jsxs(de,{children:[e.jsx("p",{className:"text-muted-foreground mb-4",children:t.overview.longDescription||t.overview.shortDescription}),e.jsx("div",{className:"flex flex-wrap gap-2",children:t.classification.tags.map(z=>e.jsxs(ge,{variant:"secondary",children:["#",z]},z))})]})]}),e.jsxs(ce,{children:[e.jsx(xe,{children:e.jsx(ke,{children:"Office Locations"})}),e.jsx(de,{children:e.jsx("div",{className:"flex flex-wrap gap-3",children:oe.map((z,pe)=>e.jsxs(ge,{variant:"outline",children:[e.jsx(ct,{className:"w-3 h-3 mr-1"}),O(z)]},pe))})})]})]}),e.jsx(Se,{value:"products",className:"space-y-4 mt-0",children:Be.map((z,pe)=>e.jsxs(ce,{children:[e.jsx(xe,{children:e.jsx("div",{className:"flex items-start justify-between",children:e.jsxs("div",{children:[e.jsx(ke,{className:"text-lg",children:z.name}),e.jsx(ge,{variant:"secondary",className:"mt-1",children:z.category})]})})}),e.jsxs(de,{children:[e.jsx("p",{className:"text-muted-foreground mb-3",children:z.description}),e.jsx("div",{className:"flex flex-wrap gap-2",children:z.keyDifferentiators.map((He,Xt)=>e.jsxs(ge,{variant:"outline",children:[e.jsx(Wc,{className:"w-3 h-3 mr-1"}),He]},Xt))})]})]},pe))}),e.jsxs(Se,{value:"trust",className:"space-y-4 mt-0",children:[t.trustAndCompliance.licenses.length>0&&e.jsxs(ce,{children:[e.jsx(xe,{children:e.jsxs(ke,{className:"flex items-center gap-2",children:[e.jsx(Mr,{className:"w-5 h-5 text-gaming-success"}),"Licenses"]})}),e.jsx(de,{children:e.jsx("div",{className:"flex flex-wrap gap-2",children:t.trustAndCompliance.licenses.map((z,pe)=>e.jsx(ge,{className:"bg-gaming-success/10 text-gaming-success",children:R(z)},pe))})})]}),t.trustAndCompliance.awards.length>0&&e.jsxs(ce,{children:[e.jsx(xe,{children:e.jsxs(ke,{className:"flex items-center gap-2",children:[e.jsx(ea,{className:"w-5 h-5 text-gaming-gold"}),"Awards"]})}),e.jsx(de,{children:e.jsx("div",{className:"flex flex-wrap gap-2",children:t.trustAndCompliance.awards.map((z,pe)=>e.jsx(ge,{className:"bg-gaming-gold/10 text-gaming-gold",children:T(z)},pe))})})]}),Qe.length>0&&e.jsxs(ce,{children:[e.jsx(xe,{children:e.jsxs(ke,{className:"flex items-center gap-2",children:[e.jsx(ea,{className:"w-5 h-5 text-gaming-gold"}),"Industry Recognition"]})}),e.jsx(de,{children:e.jsx("div",{className:"flex flex-wrap gap-2",children:Qe.map((z,pe)=>e.jsxs(ge,{variant:"outline",children:[z.name,e.jsx("span",{className:"ml-1 text-xs text-muted-foreground",children:"(inferred)"})]},pe))})})]}),st.length>0&&e.jsxs(ce,{children:[e.jsx(xe,{children:e.jsxs(ke,{className:"flex items-center gap-2",children:[e.jsx(na,{className:"w-5 h-5 text-accent"}),"Markets Mentioned"]})}),e.jsx(de,{children:e.jsx("div",{className:"flex flex-wrap gap-2",children:st.map((z,pe)=>e.jsx(ge,{variant:"secondary",children:z},pe))})})]})]}),e.jsx(Se,{value:"jobs",className:"space-y-4 mt-0",children:e.jsxs(ce,{children:[e.jsx(xe,{children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs(ke,{children:["Open Positions (",P,")"]}),e.jsx(ge,{children:t.jobs.remotePolicy})]})}),e.jsx("div",{className:"grid gap-4 p-4",children:b.length===0?e.jsx(ce,{children:e.jsxs(de,{className:"flex flex-col items-center justify-center py-10",children:[e.jsx(xa,{className:"h-12 w-12 text-muted-foreground mb-4"}),e.jsx("p",{className:"text-muted-foreground",children:"No saved jobs yet"}),e.jsx(D,{variant:"link",className:"mt-2",children:"Browse Jobs"})]})}):b.map(z=>e.jsx(m9,{job:z,view:"company"},z.id))})]})}),e.jsx(Se,{value:"people",className:"mt-0",children:e.jsx(ce,{children:e.jsx(de,{className:"py-6 space-y-4",children:t.people.members.length===0?e.jsx("p",{className:"text-center text-muted-foreground",children:"Employee profiles are opt-in. No verified members yet."}):t.people.members.map((z,pe)=>e.jsxs("div",{className:"flex items-center justify-between gap-3 p-3 bg-secondary/50 rounded-lg",children:[e.jsxs("div",{children:[e.jsx("p",{className:"font-medium",children:z.name}),e.jsx("p",{className:"text-sm text-muted-foreground",children:z.title})]}),z.profileUrl&&e.jsx("a",{href:z.profileUrl,target:"_blank",rel:"noreferrer",children:e.jsx(D,{size:"sm",variant:"outline",children:"View Profile"})})]},pe))})})}),e.jsx(Se,{value:"news",className:"mt-0",children:e.jsxs(ce,{children:[e.jsx(xe,{children:e.jsxs(ke,{children:["News (",N.length,")"]})}),e.jsx(de,{className:"py-6 space-y-4",children:N.length>0?e.jsx("div",{className:"grid gap-4",children:N.map(z=>e.jsx(jC,{article:z,view:"company",onRead:()=>window.open(z.link,"_blank")},z.id))}):(Ze=(Te=t.newsAndMedia)==null?void 0:Te.pressMentions)!=null&&Ze.length?t.newsAndMedia.pressMentions.map((z,pe)=>e.jsxs("div",{className:"flex items-center justify-between gap-3 p-3 bg-secondary/50 rounded-lg",children:[e.jsx("span",{className:"text-sm",children:B(z)}),U(z)&&z.url&&e.jsx("a",{href:z.url,target:"_blank",rel:"noreferrer",children:e.jsx(D,{size:"sm",variant:"outline",children:"Read"})})]},pe)):e.jsx("p",{className:"text-center text-muted-foreground",children:"No recent news mentions."})})]})}),e.jsx(Se,{value:"events",className:"space-y-4 mt-0",children:q.length>0?e.jsxs(ce,{children:[e.jsx(xe,{children:e.jsx(ke,{className:"flex items-center gap-2",children:"Upcoming Events"})}),e.jsx(de,{children:e.jsx("div",{className:"grid gap-4 p-4",children:q.map(z=>e.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-3 p-3 m-3 rounded-xl border bg-card text-card-foreground shadow",children:[e.jsxs("div",{children:[e.jsxs("p",{className:"font-semibold text-lg",children:[z.conference," - ",z.event_year]}),e.jsxs("p",{className:"text-sm text-muted-foreground",children:["Stand: ",z.stand]})]}),e.jsx("a",{href:z.link,target:"_blank",rel:"noreferrer",children:e.jsx(D,{size:"sm",variant:"outline",children:"View"})})]},z._id))})})]}):t.events.upcomingEvents.map((z,pe)=>e.jsxs("div",{className:"flex items-center justify-between p-3 bg-secondary/50 rounded-lg",children:[e.jsxs("div",{children:[e.jsx("p",{className:"font-semibold tracking-tight text-lg",children:$(z)}),e.jsxs("p",{className:"font-semibold tracking-tight text-lg",children:[z.location," • ",W(z)]})]}),t.events.bookMeetingEnabled&&e.jsx(D,{size:"sm",variant:"accent",children:"Book Meeting"})]},pe))}),e.jsx(Se,{value:"insights",className:"mt-0",children:e.jsx(ce,{children:e.jsxs(de,{className:"py-12 text-center",children:[e.jsx(uo,{className:"w-10 h-10 text-muted-foreground mx-auto mb-3"}),e.jsx("h3",{className:"font-semibold mb-2",children:"Premium Insights"}),e.jsx("p",{className:"text-muted-foreground mb-4",children:"Unlock demand trends, competitor analysis, and intent signals."}),e.jsx(D,{variant:"accent",children:"Upgrade to Access"})]})})})]}),e.jsxs("aside",{className:"space-y-4",children:[e.jsxs(ce,{children:[e.jsx(xe,{children:e.jsx(ke,{className:"text-base",children:"Contact"})}),e.jsxs(de,{className:"space-y-3",children:[e.jsxs("a",{href:t.overview.website,target:"_blank",className:"flex items-center gap-2 text-sm text-accent hover:underline",children:[e.jsx(na,{className:"w-4 h-4"}),t.overview.website.replace(/^https?:\/\//,"")]}),((ze=t.overview.socialLinks)==null?void 0:ze.linkedin)&&e.jsxs("a",{href:t.overview.socialLinks.linkedin,target:"_blank",className:"flex items-center gap-2 text-sm text-muted-foreground hover:text-foreground",children:[e.jsx(qc,{className:"w-4 h-4"}),"LinkedIn"]})]})]}),e.jsxs(ce,{children:[e.jsx(xe,{children:e.jsx(ke,{className:"text-base",children:"Similar Companies"})}),e.jsx(de,{className:"space-y-2",children:C.similarCompanies.map((z,pe)=>e.jsx("div",{className:"flex items-center gap-2 p-2 bg-secondary/50 rounded-lg text-sm",children:z},pe))})]})]})]})]})})}),e.jsx(S$,{company:t,open:k,onOpenChange:w,onClaimSubmit:v})]})},N$=({group:t})=>{var n,s;if(!t)return e.jsx("div",{className:"min-h-screen bg-background",children:e.jsxs("div",{className:"container mx-auto px-4 py-16 text-center",children:[e.jsx(gt,{className:"w-16 h-16 text-muted-foreground mx-auto mb-4"}),e.jsx("h1",{className:"text-2xl font-bold mb-2",children:"Group Not Found"}),e.jsx("p",{className:"text-muted-foreground mb-6",children:"The group you're looking for doesn't exist."}),e.jsx("a",{href:"/companies",children:e.jsx(D,{variant:"accent",children:"Browse Companies"})})]})});const a=t.intelligenceProfile,r=((n=t.companies)==null?void 0:n.length)??0;return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx("section",{className:"bg-gradient-to-br from-primary via-primary to-primary-variant py-8",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsxs("a",{href:"/companies",className:"inline-flex items-center text-primary-foreground/70 hover:text-primary-foreground mb-6 text-sm",children:[e.jsx(Ja,{className:"w-4 h-4 mr-1"})," Back to Directory"]}),e.jsxs("div",{className:"flex flex-col md:flex-row gap-6",children:[e.jsx("div",{className:"w-20 h-20 rounded-2xl bg-white/10 backdrop-blur flex items-center justify-center flex-shrink-0",children:e.jsx(gt,{className:"w-10 h-10 text-primary-foreground"})}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2 mb-2",children:[e.jsx("h1",{className:"text-2xl md:text-3xl font-bold text-primary-foreground",children:t.name}),e.jsx(ge,{className:"bg-white/10 text-primary-foreground border-white/20",children:"Company Group"})]}),t.description&&e.jsx("p",{className:"text-primary-foreground/80 text-sm mb-4 max-w-2xl",children:t.description}),e.jsx("div",{className:"flex flex-wrap gap-2",children:t.website&&e.jsx("a",{href:t.website,target:"_blank",rel:"noreferrer",children:e.jsxs(D,{variant:"outline",className:"border-primary-foreground/30 text-primary-foreground hover:bg-primary-foreground/10",children:[e.jsx(na,{className:"w-4 h-4 mr-2"})," Visit Website"]})})})]}),a&&e.jsxs("div",{className:"flex gap-4 md:gap-6",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-2xl font-bold text-primary-foreground",children:r}),e.jsx("div",{className:"text-xs text-primary-foreground/70",children:"Member Companies"})]}),e.jsxs("div",{className:"text-center",children:[e.jsxs("div",{className:"text-2xl font-bold text-primary-foreground",children:[(a.profileViews30d/1e3).toFixed(1),"k"]}),e.jsx("div",{className:"text-xs text-primary-foreground/70",children:"Views/30d"})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-2xl font-bold text-primary-foreground",children:a.followsCount.toLocaleString()}),e.jsx("div",{className:"text-xs text-primary-foreground/70",children:"Followers"})]})]})]})]})}),e.jsx("section",{className:"py-8",children:e.jsxs("div",{className:"container mx-auto px-4 space-y-6",children:[e.jsxs(ce,{children:[e.jsx(xe,{children:e.jsx(ke,{children:"Group Overview"})}),e.jsxs(de,{className:"space-y-4",children:[t.website&&e.jsxs("div",{className:"flex items-center gap-2 text-sm text-accent",children:[e.jsx(na,{className:"w-4 h-4"}),e.jsx("a",{href:t.website,target:"_blank",rel:"noreferrer",className:"hover:underline",children:t.website.replace(/^https?:\/\//,"")})]}),t.description?e.jsx("p",{className:"text-muted-foreground",children:t.description}):e.jsx("p",{className:"text-muted-foreground",children:"No group description available yet."})]})]}),e.jsxs(ce,{children:[e.jsx(xe,{children:e.jsx(ke,{children:"Member Companies"})}),e.jsxs(de,{className:"space-y-3",children:[r===0&&e.jsx("p",{className:"text-muted-foreground",children:"No member companies listed."}),(s=t.companies)==null?void 0:s.map(i=>{var l,d,h;const c=i.isPrimary||i.id===t.primaryCompanyId;return e.jsxs("div",{className:`flex flex-col md:flex-row md:items-center md:justify-between gap-3 rounded-lg border p-4 ${c?"border-accent/40 bg-accent/5":"border-border"}`,children:[e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("a",{href:`/companies/${i.slug}`,className:"font-semibold hover:text-accent",children:i.name}),c&&e.jsx(ge,{className:"bg-accent/10 text-accent border-accent/20",children:"Primary"})]}),((l=i.overview)==null?void 0:l.shortDescription)&&e.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:i.overview.shortDescription})]}),e.jsxs("div",{className:"flex flex-wrap items-center gap-3 text-sm text-muted-foreground",children:[((d=i.overview)==null?void 0:d.headquarters)&&e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(gt,{className:"w-4 h-4"}),i.overview.headquarters.city,", ",i.overview.headquarters.country]}),((h=i.overview)==null?void 0:h.employeeRange)&&e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(Nt,{className:"w-4 h-4"}),i.overview.employeeRange]})]})]},i.id)})]})]}),a&&e.jsxs(ce,{children:[e.jsx(xe,{children:e.jsx(ke,{children:"Group Intelligence"})}),e.jsxs(de,{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsxs("div",{className:"rounded-lg border border-border/60 p-4",children:[e.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[e.jsx(Lt,{className:"w-4 h-4"})," Followers"]}),e.jsx("div",{className:"text-2xl font-semibold mt-2",children:a.followsCount.toLocaleString()})]}),e.jsxs("div",{className:"rounded-lg border border-border/60 p-4",children:[e.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[e.jsx(Ra,{className:"w-4 h-4"})," Hiring Intensity"]}),e.jsx("div",{className:"text-2xl font-semibold mt-2",children:a.hiringIntensity})]}),e.jsxs("div",{className:"rounded-lg border border-border/60 p-4",children:[e.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[e.jsx(Nt,{className:"w-4 h-4"})," Top Viewing Countries"]}),e.jsx("div",{className:"text-sm font-medium mt-2",children:a.topViewingCountries.join(", ")||"No data"})]})]})]})]})})]})},I$=t=>{var a,r;if(t==null)return"";if(typeof t=="string"&&t.startsWith("http"))return t;if(typeof t=="string"&&t.startsWith("{"))try{const n=JSON.parse(t.replace(/'/g,'"'));return(n==null?void 0:n.url)??""}catch{return""}return typeof t=="object"?(t==null?void 0:t.url)??((r=(a=t==null?void 0:t.formats)==null?void 0:a.thumbnail)==null?void 0:r.url)??"":""},kR=t=>({profileViews30d:(t==null?void 0:t.profile_views_30d)??(t==null?void 0:t.profileViews30d)??0,followsCount:(t==null?void 0:t.follows_count)??(t==null?void 0:t.followsCount)??0,hiringIntensity:(t==null?void 0:t.hiring_intensity)??(t==null?void 0:t.hiringIntensity)??"Low",topSkillsHiring:(t==null?void 0:t.top_skills_hiring)??(t==null?void 0:t.topSkillsHiring)??[],topViewingCountries:(t==null?void 0:t.top_viewing_countries)??(t==null?void 0:t.topViewingCountries)??[],oftenComparedWith:(t==null?void 0:t.often_compared_with)??(t==null?void 0:t.oftenComparedWith)??[],similarCompanies:(t==null?void 0:t.similar_companies)??(t==null?void 0:t.similarCompanies)??[]}),A$=t=>{if(t)return{capabilitiesScore:t.capabilities_score??t.capabilitiesScore??0,credibilityScore:t.credibility_score??t.credibilityScore??0,complianceScore:t.compliance_score??t.complianceScore??0,hiringScore:t.hiring_score??t.hiringScore??0,overallScore:t.overall_score??t.overallScore??0,detectedBusinessModel:t.detected_business_model??t.detectedBusinessModel??"",detectedProducts:t.detected_products??t.detectedProducts??[],detectedMarkets:t.detected_markets??t.detectedMarkets??[]}},P$=t=>({id:String(t.id??t.company_id??""),name:t.name??"",slug:t.slug??"",companyType:t.company_type??t.companyType,overview:t.overview?{shortDescription:t.overview.short_description??t.overview.shortDescription,headquarters:t.overview.headquarters,employeeRange:t.overview.employee_range??t.overview.employeeRange}:void 0,isPrimary:t.is_primary??t.isPrimary}),_$=t=>({id:String((t==null?void 0:t.id)??(t==null?void 0:t.group_id)??""),name:(t==null?void 0:t.name)??(t==null?void 0:t.group_name)??"",slug:(t==null?void 0:t.slug)??"",website:(t==null?void 0:t.website)??"",description:(t==null?void 0:t.description)??"",primaryCompanyId:(t==null?void 0:t.primary_company_id)??(t==null?void 0:t.primaryCompanyId)??"",companies:Array.isArray(t==null?void 0:t.companies)?t.companies.map(P$):[],intelligenceProfile:kR((t==null?void 0:t.intelligence_profile)??(t==null?void 0:t.intelligenceProfile))}),R$=t=>{var a,r;return{shortDescription:(t==null?void 0:t.shortDescription)??(t==null?void 0:t.short_description)??"",longDescription:(t==null?void 0:t.longDescription)??(t==null?void 0:t.long_description),foundedYear:typeof(t==null?void 0:t.foundedYear)=="number"?t.foundedYear:0,headquarters:{city:((a=t==null?void 0:t.headquarters)==null?void 0:a.city)??"",country:((r=t==null?void 0:t.headquarters)==null?void 0:r.country)??""},officeLocations:t==null?void 0:t.officeLocations,employeeRange:(t==null?void 0:t.employeeRange)??(t==null?void 0:t.employee_range)??"",publicCompany:t==null?void 0:t.publicCompany,stockTicker:t==null?void 0:t.stockTicker,website:(t==null?void 0:t.website)??"",socialLinks:t==null?void 0:t.socialLinks}},T$=t=>({searchImpressions:(t==null?void 0:t.searchImpressions)??0,profileClicks:(t==null?void 0:t.profileClicks)??0,externalClicks:(t==null?void 0:t.externalClicks)??0}),q$=t=>{var a,r,n;return{...t,overview:R$(t.overview),logo:I$(t.logo),jobs:D$(t.jobs),group:_$(t.group),groupId:t.groupId??t.group_id??((a=t.group)==null?void 0:a.id),groupName:t.groupName??t.group_name??((r=t.group)==null?void 0:r.name),groupSlug:t.group_slug??t.groupSlug??((n=t.group)==null?void 0:n.slug),signalsAndInsights:kR(t.signalsAndInsights??t.signals_and_insights??t.signalsAndInsights)??t.signalsAndInsights,visibilityMetrics:T$(t.visibilityMetrics),intelligenceProfile:A$(t.intelligence_profile??t.intelligenceProfile),classification:z$(t.classification)}},D$=t=>({openRoles:Array.isArray(t==null?void 0:t.openRoles)||typeof(t==null?void 0:t.openRoles)=="number"?t.openRoles:[],departmentsHiring:Array.isArray(t==null?void 0:t.departmentsHiring)?t.departmentsHiring:[],locationsHiring:Array.isArray(t==null?void 0:t.locationsHiring)?t.locationsHiring:[],remotePolicy:(t==null?void 0:t.remotePolicy)??""}),z$=t=>({businessModel:(t==null?void 0:t.businessModel)??(t==null?void 0:t.business_model)??"",verticals:Array.isArray(t==null?void 0:t.verticals)?t.verticals:[],productCategories:Array.isArray(t==null?void 0:t.productCategories)?t.productCategories:[],tags:((t==null?void 0:t.tags)??[]).map(a=>typeof a=="string"?a:a.title??a.tag??"")}),E$=t=>({count:(t==null?void 0:t.count)??0,page:(t==null?void 0:t.page)??1,pageSize:(t==null?void 0:t.page_size)??(t==null?void 0:t.pageSize)??0,totalPages:(t==null?void 0:t.total_pages)??(t==null?void 0:t.totalPages)??1,results:Array.isArray(t==null?void 0:t.results)?t.results.map(q$):[],filterOptions:(t==null?void 0:t.filter_options)??(t==null?void 0:t.filterOptions)}),F$=(t,a)=>{const{buildUrl:r,initialData:n}=a,[s,i]=M.useState(n??null),[c,l]=M.useState(!n),d=M.useMemo(()=>r(t),[r,t]);return M.useEffect(()=>{let h=!1;return l(!0),fetch(d).then(u=>{if(!u.ok)throw new Error(`Failed to load companies: ${u.status}`);return u.json()}).then(u=>{h||i(E$(u))}).catch(u=>{console.error(u)}).finally(()=>{h||l(!1)}),()=>{h=!0}},[d]),{data:s,loading:c}},CC={query:"",filters:{},sort:"popularity_desc",page:1,pageSize:50,scope:"company"},Mt=(t,a)=>{var r;return((r=t.get(a))==null?void 0:r.split(",").filter(Boolean))??[]},hN=(t,a)=>{const r=Number(t);return Number.isFinite(r)&&r>0?r:a},O$=t=>{var r,n,s,i,c,l,d;const a=new URLSearchParams;return t.query&&a.set("query",t.query),t.sort&&a.set("sort",t.sort),t.scope&&t.scope!=="company"&&a.set("scope",t.scope),t.segment&&a.set("segment",t.segment),t.subcategory&&a.set("subcategory",t.subcategory),t.region&&a.set("region",t.region),a.set("page",String(t.page)),a.set("pageSize",String(t.pageSize)),t.filters.companyType&&a.set("filters[companyType]",t.filters.companyType),(r=t.filters.country)!=null&&r.length&&a.set("filters[country]",t.filters.country.join(",")),(n=t.filters.products)!=null&&n.length&&a.set("filters[products]",t.filters.products.join(",")),(s=t.filters.employees)!=null&&s.length&&a.set("filters[employees]",t.filters.employees.join(",")),(i=t.filters.verticals)!=null&&i.length&&a.set("filters[verticals]",t.filters.verticals.join(",")),(c=t.filters.productCategories)!=null&&c.length&&a.set("filters[productCategories]",t.filters.productCategories.join(",")),(l=t.filters.openRoles)!=null&&l.length&&a.set("filters[openRoles]",t.filters.openRoles.join(",")),(d=t.filters.yearsActive)!=null&&d.length&&a.set("filters[yearsActive]",t.filters.yearsActive.join(",")),t.filters.hiringNow&&a.set("filters[hiringNow]","true"),t.filters.claimedOnly&&a.set("filters[claimedOnly]","true"),t.filters.hasLicenses&&a.set("filters[hasLicenses]","true"),t.filters.hasAwards&&a.set("filters[hasAwards]","true"),a.toString()},H$=(t,a=CC)=>{const r=new URLSearchParams(t),n=r.get("scope"),s=n==="group"||n==="company"?n:a.scope,i=r.get("query")??r.get("search")??a.query??"",c=r.get("pageSize")??r.get("page_size");return{...a,query:i,sort:r.get("sort")??a.sort,page:hN(r.get("page"),a.page),pageSize:hN(c,a.pageSize),scope:s,segment:r.get("segment")??a.segment,subcategory:r.get("subcategory")??a.subcategory,region:r.get("region")??a.region,filters:{companyType:r.get("filters[companyType]")??r.get("companyType")??a.filters.companyType,country:Mt(r,"filters[country]").concat(Mt(r,"country")),products:Mt(r,"filters[products]").concat(Mt(r,"products")),employees:Mt(r,"filters[employees]").concat(Mt(r,"employees")).concat(Mt(r,"employeeRanges")),verticals:Mt(r,"filters[verticals]").concat(Mt(r,"verticals")),productCategories:Mt(r,"filters[productCategories]").concat(Mt(r,"productCategories")),openRoles:Mt(r,"filters[openRoles]").concat(Mt(r,"openRoles")),yearsActive:Mt(r,"filters[yearsActive]").concat(Mt(r,"yearsActive")),hiringNow:["true","1","yes"].includes(r.get("filters[hiringNow]")??r.get("hiringNow")??""),claimedOnly:["true","1","yes"].includes(r.get("filters[claimedOnly]")??r.get("claimedOnly")??""),hasLicenses:["true","1","yes"].includes(r.get("filters[hasLicenses]")??r.get("hasLicenses")??""),hasAwards:["true","1","yes"].includes(r.get("filters[hasAwards]")??r.get("hasAwards")??"")}}},V$=t=>({...fR,search:t.query??"",companyType:t.filters.companyType??"",verticals:t.filters.verticals??[],productCategories:t.filters.productCategories??[],employeeRanges:t.filters.employees??[],products:t.filters.products??[],openRolesRanges:t.filters.openRoles??[],yearsActiveRanges:t.filters.yearsActive??[],hiringNow:t.filters.hiringNow??!1,scope:t.scope,claimedOnly:t.filters.claimedOnly??!1,hasLicenses:t.filters.hasLicenses??!1,hasAwards:t.filters.hasAwards??!1}),B$=t=>({companyType:t.companyType||void 0,verticals:t.verticals.length?t.verticals:void 0,productCategories:t.productCategories.length?t.productCategories:void 0,employees:t.employeeRanges.length?t.employeeRanges:void 0,products:t.products.length?t.products:void 0,openRoles:t.openRolesRanges.length?t.openRolesRanges:void 0,yearsActive:t.yearsActiveRanges.length?t.yearsActiveRanges:void 0,hiringNow:t.hiringNow||void 0,claimedOnly:t.claimedOnly||void 0,hasLicenses:t.hasLicenses||void 0,hasAwards:t.hasAwards||void 0}),$$={companyTypes:[],verticals:[],productCategories:[],employeeRanges:[],products:[],openRolesRanges:[],yearsActiveRanges:[]},U$=({initialData:t,initialFilterOptions:a,buildUrl:r,initialQuery:n,followDisabled:s=!1,followLoading:i=!1,onToggleFollow:c,onFollowAction:l,saveDisabled:d=!1,saveLoading:h=!1,onToggleSave:u,onSaveAction:p})=>{const[m,y]=M.useState(()=>n||(typeof window>"u"?CC:H$(window.location.search,CC))),[x,f]=M.useState("list"),[v,k]=M.useState(a),{data:w,loading:j}=F$(m,{buildUrl:r,initialData:t}),S=w??t,C=j&&!w,A=M.useMemo(()=>V$(m),[m]);M.useEffect(()=>{if(typeof window>"u")return;const R=O$(m),T=R?`${window.location.pathname}?${R}`:window.location.pathname;window.history.replaceState(null,"",T)},[m]),M.useEffect(()=>{w!=null&&w.filterOptions&&k({...$$,...w.filterOptions})},[w]);const L=R=>{y(T=>({...T,query:R.search,scope:R.scope,filters:B$(R),page:1}))},b=()=>{L(fR)},N=R=>{y(T=>({...T,page:R}))},q=R=>{y(T=>({...T,pageSize:R,page:1}))},P=()=>{f(R=>R==="grid"?"list":"grid")};return e.jsx(xR,{companies:S.results,loading:C,page:S.page,pageSize:S.pageSize||m.pageSize,totalCount:S.count,totalPages:S.totalPages,onPageChange:N,onPageSizeChange:q,filters:A,filterOptions:v,onFiltersChange:L,onClearFilters:b,viewMode:x,onViewModeChange:P,followDisabled:s,followLoading:i,onToggleFollow:c,onFollowAction:l,saveDisabled:d,saveLoading:h,onToggleSave:u,onSaveAction:p})};var SC={exports:{}},VS={};function G$(t){return t&&t.__esModule?t:{default:t}}VS._=G$;var vR={};function wR(t){if(typeof WeakMap!="function")return null;var a=new WeakMap,r=new WeakMap;return(wR=function(n){return n?r:a})(t)}function W$(t,a){if(!a&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var r=wR(a);if(r&&r.has(t))return r.get(t);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(i!=="default"&&Object.prototype.hasOwnProperty.call(t,i)){var c=s?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}vR._=W$;var Vj={},uN;function Z$(){return uN||(uN=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return n}});const n=VS._(M).default.createContext({});process.env.NODE_ENV!=="production"&&(n.displayName="HeadManagerContext")}(Vj)),Vj}var Al={exports:{}},pN;function J$(){return pN||(pN=1,function(t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"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 s(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"&&s(u)?c[u]=!!h:c.setAttribute(u,String(h)),(h===!1||c.tagName==="SCRIPT"&&s(u)&&(!h||h==="false"))&&(c.setAttribute(u,""),c.removeAttribute(u))}}(typeof a.default=="function"||typeof a.default=="object"&&a.default!==null)&&typeof a.default.__esModule>"u"&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)}(Al,Al.exports)),Al.exports}var Pl={exports:{}},yN;function X$(){return yN||(yN=1,function(t,a){Object.defineProperty(a,"__esModule",{value:!0});function r(i,c){for(var l in c)Object.defineProperty(i,l,{enumerable:!0,get:c[l]})}r(a,{cancelIdleCallback:function(){return s},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)},s=typeof self<"u"&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(i){return clearTimeout(i)};(typeof a.default=="function"||typeof a.default=="object"&&a.default!==null)&&typeof a.default.__esModule>"u"&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)}(Pl,Pl.exports)),Pl.exports}(function(t,a){"use client";Object.defineProperty(a,"__esModule",{value:!0});function r(C,A){for(var L in A)Object.defineProperty(C,L,{enumerable:!0,get:A[L]})}r(a,{default:function(){return S},handleClientScriptLoad:function(){return f},initScriptLoader:function(){return w}});const n=VS,s=vR,i=e,c=n._(LC),l=s._(M),d=Z$(),h=J$(),u=X$(),p=new Map,m=new Set,y=C=>{if(c.default.preinit){C.forEach(A=>{c.default.preinit(A,{as:"style"})});return}if(typeof window<"u"){let A=document.head;C.forEach(L=>{let b=document.createElement("link");b.type="text/css",b.rel="stylesheet",b.href=L,A.appendChild(b)})}},x=C=>{const{src:A,id:L,onLoad:b=()=>{},onReady:N=null,dangerouslySetInnerHTML:q,children:P="",strategy:R="afterInteractive",onError:T,stylesheets:$}=C,W=L||A;if(W&&m.has(W))return;if(p.has(A)){m.add(W),p.get(A).then(b,T);return}const B=()=>{N&&N(),m.add(W)},U=document.createElement("script"),O=new Promise((oe,ae)=>{U.addEventListener("load",function(Y){oe(),b&&b.call(this,Y),B()}),U.addEventListener("error",function(Y){ae(Y)})}).catch(function(oe){T&&T(oe)});q?(U.innerHTML=q.__html||"",B()):P?(U.textContent=typeof P=="string"?P:Array.isArray(P)?P.join(""):"",B()):A&&(U.src=A,p.set(A,O)),(0,h.setAttributesFromProps)(U,C),R==="worker"&&U.setAttribute("type","text/partytown"),U.setAttribute("data-nscript",R),$&&y($),document.body.appendChild(U)};function f(C){const{strategy:A="afterInteractive"}=C;A==="lazyOnload"?window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>x(C))}):x(C)}function v(C){document.readyState==="complete"?(0,u.requestIdleCallback)(()=>x(C)):window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>x(C))})}function k(){[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(A=>{const L=A.id||A.getAttribute("src");m.add(L)})}function w(C){C.forEach(f),k()}function j(C){const{id:A,src:L="",onLoad:b=()=>{},onReady:N=null,strategy:q="afterInteractive",onError:P,stylesheets:R,...T}=C,{updateScripts:$,scripts:W,getIsSsr:B,appDir:U,nonce:O}=(0,l.useContext)(d.HeadManagerContext),oe=(0,l.useRef)(!1);(0,l.useEffect)(()=>{const Y=A||L;oe.current||(N&&Y&&m.has(Y)&&N(),oe.current=!0)},[N,A,L]);const ae=(0,l.useRef)(!1);if((0,l.useEffect)(()=>{ae.current||(q==="afterInteractive"?x(C):q==="lazyOnload"&&v(C),ae.current=!0)},[C,q]),(q==="beforeInteractive"||q==="worker")&&($?(W[q]=(W[q]||[]).concat([{id:A,src:L,onLoad:b,onReady:N,onError:P,...T}]),$(W)):B&&B()?m.add(A||L):B&&!B()&&x(C)),U){if(R&&R.forEach(Y=>{c.default.preinit(Y,{as:"style"})}),q==="beforeInteractive")return L?(c.default.preload(L,T.integrity?{as:"script",integrity:T.integrity,nonce:O,crossOrigin:T.crossOrigin}:{as:"script",nonce:O,crossOrigin:T.crossOrigin}),(0,i.jsx)("script",{nonce:O,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([L,{...T,id:A}])+")"}})):(T.dangerouslySetInnerHTML&&(T.children=T.dangerouslySetInnerHTML.__html,delete T.dangerouslySetInnerHTML),(0,i.jsx)("script",{nonce:O,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...T,id:A}])+")"}}));q==="afterInteractive"&&L&&c.default.preload(L,T.integrity?{as:"script",integrity:T.integrity,nonce:O,crossOrigin:T.crossOrigin}:{as:"script",nonce:O,crossOrigin:T.crossOrigin})}return null}Object.defineProperty(j,"__nextScript",{value:!0});const S=j;(typeof a.default=="function"||typeof a.default=="object"&&a.default!==null)&&typeof a.default.__esModule>"u"&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)})(SC,SC.exports);var Y$=SC.exports,K$=Y$;const Q$=CT(K$),eU=`
7826
7826
  window.dataLayer = window.dataLayer || [];
7827
7827
  window.dataLayer.push({ event: 'consent_granted' });
7828
7828
  // gtag('consent', 'update', { ad_storage: 'granted', analytics_storage: 'granted' });
7829
- `;function tU({allow:t="analytics",scriptId:a="ga",scriptStrategy:r="afterInteractive",scriptContent:n=eU}){return e.jsx(Hz,{allow:t,children:e.jsx(Q$,{id:a,strategy:r,children:n})})}const aU=D9("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"}}),yl=g.forwardRef(({className:t,variant:a,...r},n)=>e.jsx("div",{ref:n,role:"alert",className:me(aU({variant:a}),t),...r}));yl.displayName="Alert";const rU=g.forwardRef(({className:t,...a},r)=>e.jsx("h5",{ref:r,className:me("mb-1 font-medium leading-none tracking-tight",t),...a}));rU.displayName="AlertTitle";const ml=g.forwardRef(({className:t,...a},r)=>e.jsx("div",{ref:r,className:me("text-sm [&_p]:leading-relaxed",t),...a}));ml.displayName="AlertDescription";function nU({onSubmit:t,onForgotPassword:a,onRegisterClick:r,isLoading:n=!1,error:s,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]=M.useState(""),[p,m]=M.useState(""),[y,x]=M.useState(!1),f=v=>{v.preventDefault(),t(h,p,y)};return e.jsxs(de,{className:"w-full max-w-md",children:[e.jsxs(xe,{className:"space-y-1",children:[e.jsx(ke,{className:"text-2xl font-bold",children:i}),e.jsx($e,{children:c})]}),e.jsxs("form",{onSubmit:f,children:[e.jsxs(ue,{className:"space-y-4",children:[s&&e.jsxs(yl,{variant:"destructive",children:[e.jsx(Dt,{className:"h-4 w-4"}),e.jsx(ml,{children:s})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(se,{htmlFor:"identifier",children:l}),e.jsxs("div",{className:"relative",children:[e.jsx(aa,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),e.jsx(Re,{id:"identifier",type:"text",placeholder:d,value:h,onChange:v=>u(v.target.value),className:"pl-10",required:!0,disabled:n})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(se,{htmlFor:"password",children:"Password"}),e.jsxs("div",{className:"relative",children:[e.jsx(uo,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),e.jsx(Re,{id:"password",type:"password",placeholder:"••••••••",value:p,onChange:v=>m(v.target.value),className:"pl-10",required:!0,disabled:n})]})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(Tt,{id:"remember",checked:y,onCheckedChange:v=>x(v),disabled:n}),e.jsx(se,{htmlFor:"remember",className:"text-sm font-normal cursor-pointer",children:"Remember me"})]}),a&&e.jsx("button",{type:"button",onClick:a,className:"text-sm text-accent hover:underline",disabled:n,children:"Forgot password?"})]})]}),e.jsxs(ko,{className:"flex flex-col space-y-4",children:[e.jsx(z,{type:"submit",className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",disabled:n,children:n?"Signing in...":"Sign In"}),r&&e.jsxs("div",{className:"text-sm text-center text-muted-foreground",children:["Don't have an account?"," ",e.jsx("button",{type:"button",onClick:r,className:"text-accent hover:underline font-medium",disabled:n,children:"Create account"})]})]})]})]})}const sU=({onSubmit:t,onForgotPassword:a,onRegisterClick:r,isLoading:n=!1,error:s="",appName:i="Your App",logo:c,identifierLabel:l="Email or Username",identifierPlaceholder:d="you@example.com"})=>e.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-r from-[#0f1219] to-[#1a2236] p-4",children:e.jsxs("div",{className:"w-full max-w-md",children:[e.jsxs("div",{className:"mb-8 text-center",children:[e.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[c||e.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-accent",children:e.jsx("span",{className:"text-xl font-bold text-accent-foreground",children:"APP"})}),e.jsx("span",{className:"text-2xl font-bold text-white",children:i})]}),e.jsx("p",{className:"text-gray-300",children:"Access your dashboard"})]}),e.jsx(nU,{onSubmit:t,onForgotPassword:a,onRegisterClick:r,isLoading:n,error:s,identifierLabel:l,identifierPlaceholder:d})]})});function iU({onSubmit:t,fields:a,onLoginClick:r,isLoading:n=!1,error:s,title:i="Create Account",description:c="Join us to access exclusive opportunities"}){const[l,d]=M.useState({}),[h,u]=M.useState(""),p=(y,x)=>d(f=>({...f,[y]:x})),m=y=>{if(y.preventDefault(),u(""),"password"in l&&("confirmPassword"in l||"password2"in l)){const f=l.confirmPassword??l.password2;if(l.password!==f){u("Passwords do not match");return}}const x={...l};if("confirmPassword"in x&&!("password2"in x)&&(x.password2=x.confirmPassword,delete x.confirmPassword),"fullName"in x&&!("first_name"in x)&&!("last_name"in x)){const f=String(x.fullName||"").trim().split(/\s+/).filter(Boolean);f.length>0&&(x.first_name=f[0],f.length>1&&(x.last_name=f.slice(1).join(" "))),delete x.fullName}t(x)};return e.jsxs(de,{className:"w-full max-w-md",children:[e.jsxs(xe,{className:"space-y-1",children:[e.jsx(ke,{className:"text-2xl font-bold",children:i}),e.jsx($e,{children:c})]}),e.jsxs("form",{onSubmit:m,children:[e.jsxs(ue,{className:"space-y-4",children:[(s||h)&&e.jsxs(yl,{variant:"destructive",children:[e.jsx(Dt,{className:"h-4 w-4"}),e.jsx(ml,{children:s||h})]}),a.map(y=>e.jsxs("div",{className:"space-y-2",children:[e.jsx(se,{htmlFor:y.name,children:y.label}),e.jsx(Re,{id:y.name,type:y.type||"text",placeholder:y.placeholder,required:y.required,disabled:n,value:l[y.name]||"",onChange:x=>p(y.name,x.target.value)})]},y.name))]}),e.jsxs(ko,{className:"flex flex-col space-y-4",children:[e.jsx(z,{type:"submit",className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",disabled:n,children:n?"Creating account...":"Create Account"}),r&&e.jsxs("div",{className:"text-sm text-center text-muted-foreground",children:["Already have an account?"," ",e.jsx("button",{type:"button",onClick:r,className:"text-accent hover:underline font-medium",disabled:n,children:"Sign in"})]})]})]})]})}const oU=({onSubmit:t,fields:a,onLoginClick:r,isLoading:n=!1,error:s="",appName:i="Your App",logo:c,title:l="Create Account",description:d="Join us to access exclusive opportunities"})=>e.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-r from-[#0f1219] to-[#1a2236] p-4",children:e.jsxs("div",{className:"w-full max-w-md",children:[e.jsxs("div",{className:"mb-8 text-center",children:[e.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[c||e.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-accent",children:e.jsx("span",{className:"text-xl font-bold text-accent-foreground",children:"APP"})}),e.jsx("span",{className:"text-2xl font-bold text-white",children:i})]}),e.jsx("p",{className:"text-gray-300",children:"Start your journey"})]}),e.jsx(iU,{onSubmit:t,fields:a,onLoginClick:r,isLoading:n,error:s,title:l,description:d})]})}),cU=t=>{let a=0;return t.length>=8&&(a+=1),/[A-Z]/.test(t)&&(a+=1),/[a-z]/.test(t)&&(a+=1),/\d/.test(t)&&(a+=1),/[^A-Za-z0-9]/.test(t)&&(a+=1),t?a<=2?{label:"Weak",score:a}:a<=4?{label:"Good",score:a}:{label:"Strong",score:a}:{label:"",score:0}};function lU({onSubmit:t,fields:a,optionalFields:r=[],onLoginClick:n,isLoading:s=!1,error:i,title:c="Create Account",description:l="Join iGaming Career in seconds",privacyNote:d="We respect your privacy. Your data is protected and never shared without consent."}){const[h,u]=M.useState({}),[p,m]=M.useState(""),[y,x]=M.useState(!1),[f,v]=M.useState({}),k=M.useMemo(()=>{const L=a.find(b=>b.type==="password"||b.name==="password");return L&&h[L.name]||""},[a,h]),w=M.useMemo(()=>cU(k),[k]),j=(L,b)=>u(N=>({...N,[L]:b})),S=L=>{if(L.preventDefault(),m(""),"password"in h&&("confirmPassword"in h||"password2"in h)){const N=h.confirmPassword??h.password2;if(h.password!==N){m("Passwords do not match");return}}const b={...h};if("confirmPassword"in b&&!("password2"in b)&&(b.password2=b.confirmPassword,delete b.confirmPassword),"fullName"in b&&!("first_name"in b)&&!("last_name"in b)){const N=String(b.fullName||"").trim().split(/\s+/).filter(Boolean);N.length>0&&(b.first_name=N[0],N.length>1&&(b.last_name=N.slice(1).join(" "))),delete b.fullName}t(b)},C=L=>e.jsx("button",{type:"button",className:"absolute right-3 top-1/2 -translate-y-1/2 text-xs font-medium text-muted-foreground hover:text-foreground",onClick:()=>v(b=>({...b,[L]:!b[L]})),disabled:s,children:f[L]?e.jsxs("span",{className:"inline-flex items-center gap-1",children:[e.jsx(Ic,{className:"h-3.5 w-3.5"})," Hide"]}):e.jsxs("span",{className:"inline-flex items-center gap-1",children:[e.jsx(Ho,{className:"h-3.5 w-3.5"})," Show"]})}),A=L=>{const b=L.type==="password"||L.name.toLowerCase().includes("password");return e.jsxs("div",{className:"space-y-2",children:[e.jsx(se,{htmlFor:L.name,children:L.label}),e.jsxs("div",{className:b?"relative":void 0,children:[e.jsx(Re,{id:L.name,type:b?f[L.name]?"text":"password":L.type||"text",placeholder:L.placeholder,required:L.required,disabled:s,value:h[L.name]||"",onChange:N=>j(L.name,N.target.value),className:b?"pr-20":void 0}),b?C(L.name):null]}),b&&L.name==="password"&&w.label?e.jsxs("div",{className:"flex items-center gap-2 text-xs text-muted-foreground",children:[e.jsxs("span",{className:"inline-flex items-center gap-1",children:[e.jsx(Vc,{className:"h-3.5 w-3.5"})," Strength:"]}),e.jsx("span",{className:w.label==="Weak"?"text-destructive":w.label==="Good"?"text-amber-500":"text-emerald-500",children:w.label})]}):null]},L.name)};return e.jsxs(de,{className:"w-full max-w-md",children:[e.jsxs(xe,{className:"space-y-1",children:[e.jsx(ke,{className:"text-2xl font-bold",children:c}),e.jsx($e,{children:l})]}),e.jsxs("form",{onSubmit:S,children:[e.jsxs(ue,{className:"space-y-4",children:[(i||p)&&e.jsxs(yl,{variant:"destructive",children:[e.jsx(Dt,{className:"h-4 w-4"}),e.jsx(ml,{children:i||p})]}),e.jsx("div",{className:"space-y-4",children:a.map(L=>A(L))}),r.length>0&&e.jsxs("div",{className:"space-y-3 pt-2",children:[e.jsx("button",{type:"button",onClick:()=>x(L=>!L),className:"text-sm font-medium text-accent hover:underline",disabled:s,children:y?"Hide optional details":"Complete your profile (optional)"}),y&&e.jsx("div",{className:"space-y-4 rounded-lg border border-dashed border-muted-foreground/40 p-4",children:r.map(L=>A(L))})]})]}),e.jsxs(ko,{className:"flex flex-col space-y-4",children:[e.jsx(z,{type:"submit",className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",disabled:s,children:s?"Creating account...":"Create Account"}),e.jsx("p",{className:"text-center text-xs text-muted-foreground",children:d}),n&&e.jsxs("div",{className:"text-sm text-center text-muted-foreground",children:["Already have an account?"," ",e.jsx("button",{type:"button",onClick:n,className:"text-accent hover:underline font-medium",disabled:s,children:"Sign in"})]})]})]})]})}const dU=({onSubmit:t,fields:a,optionalFields:r,onLoginClick:n,isLoading:s=!1,error:i="",appName:c="Your App",logo:l,title:d="Create Account",description:h="Join iGaming Career in seconds",privacyNote:u})=>e.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-r from-[#0f1219] to-[#1a2236] p-4",children:e.jsxs("div",{className:"w-full max-w-md",children:[e.jsxs("div",{className:"mb-8 text-center",children:[e.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[l||e.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-accent",children:e.jsx("span",{className:"text-xl font-bold text-accent-foreground",children:"APP"})}),e.jsx("span",{className:"text-2xl font-bold text-white",children:c})]}),e.jsx("p",{className:"text-gray-300",children:"Start your journey"})]}),e.jsx(lU,{onSubmit:t,fields:a,optionalFields:r,onLoginClick:n,isLoading:s,error:i,title:d,description:h,privacyNote:u})]})});function hU({onSubmit:t,onBackToLogin:a,isLoading:r=!1,error:n,success:s=!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]=M.useState(""),u=p=>{p.preventDefault(),t(d)};return s?e.jsxs(de,{className:"w-full max-w-md",children:[e.jsxs(xe,{className:"space-y-1",children:[e.jsx("div",{className:"flex items-center justify-center mb-4",children:e.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-green-100",children:e.jsx(zt,{className:"h-6 w-6 text-green-600"})})}),e.jsx(ke,{className:"text-2xl font-bold text-center",children:"Check Your Email"}),e.jsx($e,{className:"text-center",children:l})]}),e.jsx(ko,{className:"flex flex-col space-y-4",children:a&&e.jsxs(z,{type:"button",variant:"outline",className:"w-full",onClick:a,children:[e.jsx(Ga,{className:"mr-2 h-4 w-4"}),"Back to Login"]})})]}):e.jsxs(de,{className:"w-full max-w-md",children:[e.jsxs(xe,{className:"space-y-1",children:[e.jsx(ke,{className:"text-2xl font-bold",children:i}),e.jsx($e,{children:c})]}),e.jsxs("form",{onSubmit:u,children:[e.jsxs(ue,{className:"space-y-4",children:[n&&e.jsxs(yl,{variant:"destructive",children:[e.jsx(Dt,{className:"h-4 w-4"}),e.jsx(ml,{children:n})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(se,{htmlFor:"email",children:"Email Address"}),e.jsxs("div",{className:"relative",children:[e.jsx(aa,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),e.jsx(Re,{id:"email",type:"email",placeholder:"you@example.com",value:d,onChange:p=>h(p.target.value),className:"pl-10",required:!0,disabled:r})]}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"We'll send you an email with instructions to reset your password"})]})]}),e.jsxs(ko,{className:"flex flex-col space-y-4",children:[e.jsx(z,{type:"submit",className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",disabled:r,children:r?"Sending...":"Send Reset Link"}),a&&e.jsxs(z,{type:"button",variant:"ghost",className:"w-full",onClick:a,disabled:r,children:[e.jsx(Ga,{className:"mr-2 h-4 w-4"}),"Back to Login"]})]})]})]})}const uU=({onSubmit:t,onBackToLogin:a,isLoading:r=!1,error:n="",success:s=!1,appName:i="Your App",logo:c})=>e.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-r from-[#0f1219] to-[#1a2236] p-4",children:e.jsxs("div",{className:"w-full max-w-md",children:[e.jsxs("div",{className:"mb-8 text-center",children:[e.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[c||e.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-accent",children:e.jsx("span",{className:"text-xl font-bold text-accent-foreground",children:"APP"})}),e.jsx("span",{className:"text-2xl font-bold text-white",children:i})]}),e.jsx("p",{className:"text-gray-300",children:"Recover your account access"})]}),e.jsx(hU,{onSubmit:t,onBackToLogin:a,isLoading:r,error:n,success:s})]})}),pU=["Save and track your favorite jobs","Unlock full job descriptions","Get personalized recommendations"],yU=t=>{if(!t)return"continue";const a=t.trim();return a.length===0?"continue":a.toLowerCase()},mU=({open:t,onClose:a,onLogin:r,onRegister:n,appName:s="Your App",attemptedAction:i,title:c="Sign in to continue",description:l,helperContent:d})=>{const h=yU(i),u=l??`Please sign in to ${h} and keep your progress synced with ${s}.`;return e.jsx(Qa,{open:t,onOpenChange:p=>!p&&a(),children:e.jsxs(qa,{className:"sm:max-w-lg",children:[e.jsxs(fa,{className:"space-y-2",children:[e.jsxs(na,{className:"flex items-center gap-2 text-xl font-semibold",children:[e.jsx("span",{className:"flex h-9 w-9 items-center justify-center rounded-full bg-accent/10 text-accent",children:e.jsx(Dt,{className:"h-5 w-5"})}),c]}),e.jsx(go,{className:"text-base text-muted-foreground",children:u})]}),e.jsxs("div",{className:"mt-2 space-y-4",children:[e.jsxs("div",{className:"rounded-lg border border-border/60 bg-muted/30 p-4",children:[e.jsxs("div",{className:"mb-3 flex items-center gap-2 text-sm font-medium text-foreground",children:[e.jsx(Ma,{className:"h-4 w-4 text-accent"}),"Why create an account?"]}),e.jsx("ul",{className:"space-y-2 text-sm text-muted-foreground",children:pU.map(p=>e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"mt-1 block h-1.5 w-1.5 rounded-full bg-accent","aria-hidden":!0}),e.jsx("span",{children:p})]},p))})]}),d&&e.jsx("div",{className:"rounded-md bg-card p-4 text-sm text-muted-foreground shadow-sm",children:d})]}),e.jsx(zS,{className:"my-4"}),e.jsxs(ra,{className:"grid grid-cols-1 gap-3 sm:grid-cols-2",children:[e.jsx(z,{variant:"outline",onClick:n,className:"w-full",children:"Create account"}),e.jsx(z,{onClick:r,className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",children:"Sign in"}),e.jsx(z,{variant:"ghost",onClick:a,className:"w-full sm:col-span-2 text-muted-foreground",children:"Maybe later"})]})]})})},fU=[{icon:Rc,label:"Dashboard",path:"/dashboard"},{icon:at,label:"My Jobs",path:"/dashboard/jobs"},{icon:ea,label:"Courses",path:"/dashboard/courses"},{icon:Go,label:"Settings",path:"/dashboard/settings"}];function xU({children:t,user:a={name:"User",email:"user@example.com"},onLogout:r,onNavigate:n,currentPath:s="/dashboard",notificationCount:i=0}){return e.jsx("div",{className:"min-h-screen bg-background",children:e.jsxs("div",{className:"flex",children:[e.jsxs("aside",{className:"hidden md:flex w-64 flex-col border-r bg-card h-[calc(100vh-4rem)]",children:[e.jsx("nav",{className:"flex-1 space-y-1 p-4",children:fU.map(c=>{const l=c.icon,d=s===c.path;return e.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:[e.jsx(l,{className:"h-4 w-4"}),c.label]},c.path)})}),r&&e.jsx("div",{className:"border-t p-4",children:e.jsxs(z,{variant:"ghost",className:"w-full justify-start text-muted-foreground hover:text-foreground",onClick:r,children:[e.jsx(zc,{className:"mr-3 h-4 w-4"}),"Logout"]})})]}),e.jsx("main",{className:"flex-1 p-6 md:p-8",children:t})]})})}function gU({userName:t,feedItems:a,alerts:r,snapshot:n,onSave:s,onApply:i,onEnroll:c,onRead:l}){const d=u=>{switch(u){case"job":return at;case"course":return ea;case"news":return Na;default:return at}},h=u=>{switch(u.type){case"job":return e.jsxs(e.Fragment,{children:[e.jsx(z,{variant:"outline",size:"sm",onClick:()=>s(u.id),children:"Save"}),e.jsx(z,{size:"sm",onClick:()=>i(u.id),children:"Apply"})]});case"course":return e.jsxs(e.Fragment,{children:[e.jsx(z,{variant:"outline",size:"sm",onClick:()=>s(u.id),children:"Save"}),e.jsx(z,{size:"sm",onClick:()=>c(u.id),children:"Enroll"})]});case"news":return e.jsx(z,{size:"sm",onClick:()=>l(u.id),children:"Read"});default:return null}};return e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsxs("h2",{className:"text-3xl font-bold",children:["Welcome back, ",t," 👋"]}),e.jsx("p",{className:"text-muted-foreground mt-1",children:"Your personalized iGaming career hub"})]}),e.jsxs("div",{className:"grid gap-6 lg:grid-cols-3",children:[e.jsxs("div",{className:"lg:col-span-2 space-y-4",children:[e.jsx("h3",{className:"text-xl font-semibold",children:"Your Feed"}),a.map(u=>{const p=d(u.type);return e.jsxs(de,{children:[e.jsxs(xe,{children:[e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(p,{className:"h-5 w-5 text-primary"}),e.jsx(ge,{variant:"secondary",children:u.type})]}),e.jsx("span",{className:"text-xs text-muted-foreground",children:u.timestamp})]}),e.jsx(ke,{className:"text-lg mt-2",children:u.title}),u.company&&e.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground",children:[e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(Eo,{className:"h-4 w-4"}),u.company]}),u.location&&e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(st,{className:"h-4 w-4"}),u.location]})]}),e.jsx($e,{children:u.description})]}),e.jsxs(ue,{children:[e.jsx("div",{className:"flex flex-wrap gap-2 mb-4",children:u.tags.map(m=>e.jsx(ge,{variant:"outline",children:m},m))}),u.reason&&e.jsxs("p",{className:"text-xs text-muted-foreground mb-3 italic",children:["💡 ",u.reason]}),e.jsx("div",{className:"flex gap-2",children:h(u)})]})]},u.id)})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs(de,{children:[e.jsx(xe,{children:e.jsxs(ke,{className:"flex items-center gap-2",children:[e.jsx(Ia,{className:"h-5 w-5"}),"Your iGaming Career Snapshot"]})}),e.jsx(ue,{className:"space-y-3",children:n.map(u=>e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"text-sm text-muted-foreground",children:u.label}),e.jsxs("div",{className:"text-right",children:[e.jsx("span",{className:"font-semibold",children:u.value}),u.trend&&e.jsx("span",{className:"text-xs text-green-600 ml-2",children:u.trend})]})]},u.label))})]}),e.jsxs(de,{children:[e.jsx(xe,{children:e.jsxs(ke,{className:"flex items-center gap-2",children:[e.jsx(ma,{className:"h-5 w-5"}),"Alerts & Notifications"]})}),e.jsx(ue,{className:"space-y-3",children:r.length===0?e.jsx("p",{className:"text-sm text-muted-foreground",children:"No new alerts"}):r.map(u=>e.jsxs("div",{className:"p-3 rounded-lg bg-secondary/50 text-sm",children:[e.jsx(ge,{variant:"outline",className:"mb-2",children:u.type}),e.jsx("p",{children:u.message})]},u.id))})]})]})]})]})}function kU(t,a,{checkForDefaultPrevented:r=!0}={}){return function(s){if(t==null||t(s),r===!1||!s.defaultPrevented)return a==null?void 0:a(s)}}function mN(t,a){if(typeof t=="function")return t(a);t!=null&&(t.current=a)}function vU(...t){return a=>{let r=!1;const n=t.map(s=>{const i=mN(s,a);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let s=0;s<n.length;s++){const i=n[s];typeof i=="function"?i():mN(t[s],null)}}}}function wR(...t){return g.useCallback(vU(...t),t)}function wU(t,a=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var k;const{scope:m,children:y,...x}=p,f=((k=m==null?void 0:m[t])==null?void 0:k[d])||l,v=g.useMemo(()=>x,Object.values(x));return e.jsx(f.Provider,{value:v,children:y})};h.displayName=i+"Provider";function u(p,m){var f;const y=((f=m==null?void 0:m[t])==null?void 0:f[d])||l,x=g.useContext(y);if(x)return x;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const s=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return s.scopeName=t,[n,bU(s,...a)]}function bU(...t){const a=t[0];if(t.length===1)return a;const r=()=>{const n=t.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${a.scopeName}`]:c}),[c])}};return r.scopeName=a.scopeName,r}var MU=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},jU=g[" useInsertionEffect ".trim().toString()]||MU;function CU({prop:t,defaultProp:a,onChange:r=()=>{},caller:n}){const[s,i,c]=SU({defaultProp:a,onChange:r}),l=t!==void 0,d=l?t:s;{const u=g.useRef(t!==void 0);g.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${n} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=l},[l,n])}const h=g.useCallback(u=>{var p;if(l){const m=LU(u)?u(t):u;m!==t&&((p=c.current)==null||p.call(c,m))}else i(u)},[l,t,i,c]);return[d,h]}function SU({defaultProp:t,onChange:a}){const[r,n]=g.useState(t),s=g.useRef(r),i=g.useRef(a);return jU(()=>{i.current=a},[a]),g.useEffect(()=>{var c;s.current!==r&&((c=i.current)==null||c.call(i,r),s.current=r)},[r,s]),[r,n,i]}function LU(t){return typeof t=="function"}var NU=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],bR=NU.reduce((t,a)=>{const r=Ke(`Primitive.${a}`),n=g.forwardRef((s,i)=>{const{asChild:c,...l}=s,d=c?r:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),e.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${a}`,{...t,[a]:n}},{}),lj="Switch",[IU,aW]=wU(lj),[AU,PU]=IU(lj),MR=g.forwardRef((t,a)=>{const{__scopeSwitch:r,name:n,checked:s,defaultChecked:i,required:c,disabled:l,value:d="on",onCheckedChange:h,form:u,...p}=t,[m,y]=g.useState(null),x=wR(a,j=>y(j)),f=g.useRef(!1),v=m?u||!!m.closest("form"):!0,[k,w]=CU({prop:s,defaultProp:i??!1,onChange:h,caller:lj});return e.jsxs(AU,{scope:r,checked:k,disabled:l,children:[e.jsx(bR.button,{type:"button",role:"switch","aria-checked":k,"aria-required":c,"data-state":LR(k),"data-disabled":l?"":void 0,disabled:l,value:d,...p,ref:x,onClick:kU(t.onClick,j=>{w(S=>!S),v&&(f.current=j.isPropagationStopped(),f.current||j.stopPropagation())})}),v&&e.jsx(SR,{control:m,bubbles:!f.current,name:n,value:d,checked:k,required:c,disabled:l,form:u,style:{transform:"translateX(-100%)"}})]})});MR.displayName=lj;var jR="SwitchThumb",CR=g.forwardRef((t,a)=>{const{__scopeSwitch:r,...n}=t,s=PU(jR,r);return e.jsx(bR.span,{"data-state":LR(s.checked),"data-disabled":s.disabled?"":void 0,...n,ref:a})});CR.displayName=jR;var _U="SwitchBubbleInput",SR=g.forwardRef(({__scopeSwitch:t,control:a,checked:r,bubbles:n=!0,...s},i)=>{const c=g.useRef(null),l=wR(c,i),d=wS(r),h=bS(a);return g.useEffect(()=>{const u=c.current;if(!u)return;const p=window.HTMLInputElement.prototype,y=Object.getOwnPropertyDescriptor(p,"checked").set;if(d!==r&&y){const x=new Event("click",{bubbles:n});y.call(u,r),u.dispatchEvent(x)}},[d,r,n]),e.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...s,tabIndex:-1,ref:l,style:{...s.style,...h,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});SR.displayName=_U;function LR(t){return t?"checked":"unchecked"}var NR=MR,RU=CR;const ua=g.forwardRef(({className:t,...a},r)=>e.jsx(NR,{className:me("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),...a,ref:r,children:e.jsx(RU,{className:me("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")})}));ua.displayName=NR.displayName;function Qc(t,a,{checkForDefaultPrevented:r=!0}={}){return function(s){if(t==null||t(s),r===!1||!s.defaultPrevented)return a==null?void 0:a(s)}}function fN(t,a){if(typeof t=="function")return t(a);t!=null&&(t.current=a)}function TU(...t){return a=>{let r=!1;const n=t.map(s=>{const i=fN(s,a);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let s=0;s<n.length;s++){const i=n[s];typeof i=="function"?i():fN(t[s],null)}}}}function BS(...t){return g.useCallback(TU(...t),t)}function qU(t,a=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var k;const{scope:m,children:y,...x}=p,f=((k=m==null?void 0:m[t])==null?void 0:k[d])||l,v=g.useMemo(()=>x,Object.values(x));return e.jsx(f.Provider,{value:v,children:y})};h.displayName=i+"Provider";function u(p,m){var f;const y=((f=m==null?void 0:m[t])==null?void 0:f[d])||l,x=g.useContext(y);if(x)return x;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const s=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return s.scopeName=t,[n,DU(s,...a)]}function DU(...t){const a=t[0];if(t.length===1)return a;const r=()=>{const n=t.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${a.scopeName}`]:c}),[c])}};return r.scopeName=a.scopeName,r}var R9=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},zU=g[" useId ".trim().toString()]||(()=>{}),EU=0;function FU(t){const[a,r]=g.useState(zU());return R9(()=>{t||r(n=>n??String(EU++))},[t]),t||(a?`radix-${a}`:"")}function OU(t,a){return g.useReducer((r,n)=>a[r][n]??r,t)}var $S=t=>{const{present:a,children:r}=t,n=HU(a),s=typeof r=="function"?r({present:n.isPresent}):g.Children.only(r),i=BS(n.ref,VU(s));return typeof r=="function"||n.isPresent?g.cloneElement(s,{ref:i}):null};$S.displayName="Presence";function HU(t){const[a,r]=g.useState(),n=g.useRef(null),s=g.useRef(t),i=g.useRef("none"),c=t?"mounted":"unmounted",[l,d]=OU(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const h=_l(n.current);i.current=l==="mounted"?h:"none"},[l]),R9(()=>{const h=n.current,u=s.current;if(u!==t){const m=i.current,y=_l(h);t?d("MOUNT"):y==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&m!==y?"ANIMATION_OUT":"UNMOUNT"),s.current=t}},[t,d]),R9(()=>{if(a){let h;const u=a.ownerDocument.defaultView??window,p=y=>{const f=_l(n.current).includes(CSS.escape(y.animationName));if(y.target===a&&f&&(d("ANIMATION_END"),!s.current)){const v=a.style.animationFillMode;a.style.animationFillMode="forwards",h=u.setTimeout(()=>{a.style.animationFillMode==="forwards"&&(a.style.animationFillMode=v)})}},m=y=>{y.target===a&&(i.current=_l(n.current))};return a.addEventListener("animationstart",m),a.addEventListener("animationcancel",p),a.addEventListener("animationend",p),()=>{u.clearTimeout(h),a.removeEventListener("animationstart",m),a.removeEventListener("animationcancel",p),a.removeEventListener("animationend",p)}}else d("ANIMATION_END")},[a,d]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:g.useCallback(h=>{n.current=h?getComputedStyle(h):null,r(h)},[])}}function _l(t){return(t==null?void 0:t.animationName)||"none"}function VU(t){var n,s;let a=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=a&&"isReactWarning"in a&&a.isReactWarning;return r?t.ref:(a=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,r=a&&"isReactWarning"in a&&a.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var BU=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],IR=BU.reduce((t,a)=>{const r=Ke(`Primitive.${a}`),n=g.forwardRef((s,i)=>{const{asChild:c,...l}=s,d=c?r:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),e.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${a}`,{...t,[a]:n}},{}),$U=g[" useInsertionEffect ".trim().toString()]||R9;function UU({prop:t,defaultProp:a,onChange:r=()=>{},caller:n}){const[s,i,c]=GU({defaultProp:a,onChange:r}),l=t!==void 0,d=l?t:s;{const u=g.useRef(t!==void 0);g.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${n} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=l},[l,n])}const h=g.useCallback(u=>{var p;if(l){const m=WU(u)?u(t):u;m!==t&&((p=c.current)==null||p.call(c,m))}else i(u)},[l,t,i,c]);return[d,h]}function GU({defaultProp:t,onChange:a}){const[r,n]=g.useState(t),s=g.useRef(r),i=g.useRef(a);return $U(()=>{i.current=a},[a]),g.useEffect(()=>{var c;s.current!==r&&((c=i.current)==null||c.call(i,r),s.current=r)},[r,s]),[r,n,i]}function WU(t){return typeof t=="function"}var dj="Popover",[AR,rW]=qU(dj,[nj]),fl=nj(),[ZU,zr]=AR(dj),PR=t=>{const{__scopePopover:a,children:r,open:n,defaultOpen:s,onOpenChange:i,modal:c=!1}=t,l=fl(a),d=g.useRef(null),[h,u]=g.useState(!1),[p,m]=UU({prop:n,defaultProp:s??!1,onChange:i,caller:dj});return e.jsx(b_,{...l,children:e.jsx(ZU,{scope:a,contentId:FU(),triggerRef:d,open:p,onOpenChange:m,onOpenToggle:g.useCallback(()=>m(y=>!y),[m]),hasCustomAnchor:h,onCustomAnchorAdd:g.useCallback(()=>u(!0),[]),onCustomAnchorRemove:g.useCallback(()=>u(!1),[]),modal:c,children:r})})};PR.displayName=dj;var _R="PopoverAnchor",JU=g.forwardRef((t,a)=>{const{__scopePopover:r,...n}=t,s=zr(_R,r),i=fl(r),{onCustomAnchorAdd:c,onCustomAnchorRemove:l}=s;return g.useEffect(()=>(c(),()=>l()),[c,l]),e.jsx(qS,{...i,...n,ref:a})});JU.displayName=_R;var RR="PopoverTrigger",TR=g.forwardRef((t,a)=>{const{__scopePopover:r,...n}=t,s=zr(RR,r),i=fl(r),c=BS(a,s.triggerRef),l=e.jsx(IR.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":FR(s.open),...n,ref:c,onClick:Qc(t.onClick,s.onOpenToggle)});return s.hasCustomAnchor?l:e.jsx(qS,{asChild:!0,...i,children:l})});TR.displayName=RR;var US="PopoverPortal",[XU,YU]=AR(US,{forceMount:void 0}),qR=t=>{const{__scopePopover:a,forceMount:r,children:n,container:s}=t,i=zr(US,a);return e.jsx(XU,{scope:a,forceMount:r,children:e.jsx($S,{present:r||i.open,children:e.jsx(W9,{asChild:!0,container:s,children:n})})})};qR.displayName=US;var cc="PopoverContent",DR=g.forwardRef((t,a)=>{const r=YU(cc,t.__scopePopover),{forceMount:n=r.forceMount,...s}=t,i=zr(cc,t.__scopePopover);return e.jsx($S,{present:n||i.open,children:i.modal?e.jsx(QU,{...s,ref:a}):e.jsx(eG,{...s,ref:a})})});DR.displayName=cc;var KU=Ke("PopoverContent.RemoveScroll"),QU=g.forwardRef((t,a)=>{const r=zr(cc,t.__scopePopover),n=g.useRef(null),s=BS(a,n),i=g.useRef(!1);return g.useEffect(()=>{const c=n.current;if(c)return lS(c)},[]),e.jsx(X9,{as:KU,allowPinchZoom:!0,children:e.jsx(zR,{...t,ref:s,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})})})}),eG=g.forwardRef((t,a)=>{const r=zr(cc,t.__scopePopover),n=g.useRef(!1),s=g.useRef(!1);return e.jsx(zR,{...t,ref:a,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,s.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"&&(s.current=!0));const c=i.target;((h=r.triggerRef.current)==null?void 0:h.contains(c))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&s.current&&i.preventDefault()}})}),zR=g.forwardRef((t,a)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:s,onCloseAutoFocus:i,disableOutsidePointerEvents:c,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:h,onInteractOutside:u,...p}=t,m=zr(cc,r),y=fl(r);return cS(),e.jsx(G9,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:s,onUnmountAutoFocus:i,children:e.jsx(U9,{asChild:!0,disableOutsidePointerEvents:c,onInteractOutside:u,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:h,onDismiss:()=>m.onOpenChange(!1),children:e.jsx(M_,{"data-state":FR(m.open),role:"dialog",id:m.contentId,...y,...p,ref:a,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)"}})})})}),ER="PopoverClose",tG=g.forwardRef((t,a)=>{const{__scopePopover:r,...n}=t,s=zr(ER,r);return e.jsx(IR.button,{type:"button",...n,ref:a,onClick:Qc(t.onClick,()=>s.onOpenChange(!1))})});tG.displayName=ER;var aG="PopoverArrow",rG=g.forwardRef((t,a)=>{const{__scopePopover:r,...n}=t,s=fl(r);return e.jsx(j_,{...s,...n,ref:a})});rG.displayName=aG;function FR(t){return t?"open":"closed"}var nG=PR,sG=TR,iG=qR,OR=DR;const oG=nG,cG=sG,HR=g.forwardRef(({className:t,align:a="center",sideOffset:r=4,...n},s)=>e.jsx(iG,{children:e.jsx(OR,{ref:s,align:a,sideOffset:r,className:me("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})}));HR.displayName=OR.displayName;function lG({open:t,onClose:a,onAdded:r,existingExperience:n,onUpdated:s}){const i=new Date().getFullYear(),c=Array.from({length:40},(y,x)=>`${i-x}`),[l,d]=M.useState({title:"",company:"",startYear:"",endYear:"",isPresent:!1,location:"",summary:"",tags:""});M.useEffect(()=>{if(n){const[y,x]=n.period.split(" - ");d({title:n.title,company:n.company,startYear:y||"",endYear:x==="Present"?"":x||"",isPresent:x==="Present",location:n.location||"",summary:n.summary||"",tags:n.tags.join(", ")})}else d({title:"",company:"",startYear:"",endYear:"",isPresent:!1,location:"",summary:"",tags:""})},[n,t]);const[h,u]=M.useState(!1),p=(y,x)=>d(f=>({...f,[y]:x})),m=()=>{const y=l.isPresent?`${l.startYear} - Present`:`${l.startYear} - ${l.endYear}`,x={id:(n==null?void 0:n.id)||`temp-${Date.now()}`,title:l.title,company:l.company,period:y,summary:l.summary.trim()||void 0,location:l.location.trim()||void 0,tags:l.tags.split(",").map(f=>f.trim()).filter(Boolean)};n?s==null||s(x):r(x),d({title:"",company:"",startYear:"",endYear:"",isPresent:!1,location:"",summary:"",tags:""}),a()};return e.jsx(Qa,{open:t,onOpenChange:a,children:e.jsxs(qa,{children:[e.jsx(na,{children:n?"Edit Work Experience":"Add Work Experience"}),e.jsxs("div",{className:"space-y-4 py-2",children:[e.jsxs("div",{children:[e.jsx(se,{children:"Title"}),e.jsx(Re,{value:l.title,onChange:y=>p("title",y.target.value)})]}),e.jsxs("div",{children:[e.jsx(se,{children:"Company"}),e.jsx(Re,{value:l.company,onChange:y=>p("company",y.target.value)})]}),e.jsxs("div",{children:[e.jsx(se,{children:"Location (optional)"}),e.jsx(Re,{value:l.location,onChange:y=>p("location",y.target.value),placeholder:"e.g., Malta or Remote"})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(se,{children:"Start Year"}),e.jsxs(So,{onValueChange:y=>p("startYear",y),value:l.startYear,children:[e.jsx(Pr,{children:e.jsx(Lo,{placeholder:"Select year"})}),e.jsx(_r,{children:c.map(y=>e.jsx(Ot,{value:y,children:y},y))})]})]}),!l.isPresent&&e.jsxs("div",{children:[e.jsx(se,{children:"End Year"}),e.jsxs(So,{onValueChange:y=>p("endYear",y),value:l.endYear,children:[e.jsx(Pr,{children:e.jsx(Lo,{placeholder:"Select year"})}),e.jsx(_r,{children:c.map(y=>e.jsx(Ot,{value:y,children:y},y))})]})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("input",{id:"present",type:"checkbox",checked:l.isPresent,onChange:y=>p("isPresent",y.target.checked),className:"w-4 h-4 accent-primary"}),e.jsx(se,{htmlFor:"present",children:"I currently work here"})]}),e.jsxs("div",{children:[e.jsx(se,{children:"Summary (optional)"}),e.jsx(_9,{placeholder:"e.g., Led product roadmap for iGaming platform",value:l.summary,onChange:y=>p("summary",y.target.value)})]}),e.jsxs("div",{children:[e.jsx(se,{children:"Tags (comma-separated)"}),e.jsx(_9,{placeholder:"e.g., Product Strategy, iGaming, Agile",value:l.tags,onChange:y=>p("tags",y.target.value)})]})]}),e.jsxs(ra,{children:[e.jsx(z,{variant:"outline",onClick:a,children:"Cancel"}),e.jsx(z,{onClick:m,disabled:h||!l.title||!l.company||!l.startYear||!l.isPresent&&!l.endYear,children:h?"Saving...":n?"Save Changes":"Add Experience"})]})]})})}function dG(t,a=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var k;const{scope:m,children:y,...x}=p,f=((k=m==null?void 0:m[t])==null?void 0:k[d])||l,v=g.useMemo(()=>x,Object.values(x));return e.jsx(f.Provider,{value:v,children:y})};h.displayName=i+"Provider";function u(p,m){var f;const y=((f=m==null?void 0:m[t])==null?void 0:f[d])||l,x=g.useContext(y);if(x)return x;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const s=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return s.scopeName=t,[n,hG(s,...a)]}function hG(...t){const a=t[0];if(t.length===1)return a;const r=()=>{const n=t.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${a.scopeName}`]:c}),[c])}};return r.scopeName=a.scopeName,r}function xN(t,a){if(typeof t=="function")return t(a);t!=null&&(t.current=a)}function uG(...t){return a=>{let r=!1;const n=t.map(s=>{const i=xN(s,a);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let s=0;s<n.length;s++){const i=n[s];typeof i=="function"?i():xN(t[s],null)}}}}function VR(...t){return g.useCallback(uG(...t),t)}function pG(t,a,{checkForDefaultPrevented:r=!0}={}){return function(s){if(t==null||t(s),r===!1||!s.defaultPrevented)return a==null?void 0:a(s)}}var BR="AlertDialog",[yG,nW]=dG(BR,[rP]),er=rP(),$R=t=>{const{__scopeAlertDialog:a,...r}=t,n=er(a);return e.jsx(kP,{...n,...r,modal:!0})};$R.displayName=BR;var mG="AlertDialogTrigger",fG=g.forwardRef((t,a)=>{const{__scopeAlertDialog:r,...n}=t,s=er(r);return e.jsx(vP,{...s,...n,ref:a})});fG.displayName=mG;var xG="AlertDialogPortal",UR=t=>{const{__scopeAlertDialog:a,...r}=t,n=er(a);return e.jsx(wP,{...n,...r})};UR.displayName=xG;var gG="AlertDialogOverlay",GR=g.forwardRef((t,a)=>{const{__scopeAlertDialog:r,...n}=t,s=er(r);return e.jsx(pS,{...s,...n,ref:a})});GR.displayName=gG;var tc="AlertDialogContent",[kG,vG]=yG(tc),wG=AT("AlertDialogContent"),WR=g.forwardRef((t,a)=>{const{__scopeAlertDialog:r,children:n,...s}=t,i=er(r),c=g.useRef(null),l=VR(a,c),d=g.useRef(null);return e.jsx(WF,{contentName:tc,titleName:ZR,docsSlug:"alert-dialog",children:e.jsx(kG,{scope:r,cancelRef:d,children:e.jsxs(yS,{role:"alertdialog",...i,...s,ref:l,onOpenAutoFocus:pG(s.onOpenAutoFocus,h=>{var u;h.preventDefault(),(u=d.current)==null||u.focus({preventScroll:!0})}),onPointerDownOutside:h=>h.preventDefault(),onInteractOutside:h=>h.preventDefault(),children:[e.jsx(wG,{children:n}),e.jsx(MG,{contentRef:c})]})})})});WR.displayName=tc;var ZR="AlertDialogTitle",JR=g.forwardRef((t,a)=>{const{__scopeAlertDialog:r,...n}=t,s=er(r);return e.jsx(mS,{...s,...n,ref:a})});JR.displayName=ZR;var XR="AlertDialogDescription",YR=g.forwardRef((t,a)=>{const{__scopeAlertDialog:r,...n}=t,s=er(r);return e.jsx(fS,{...s,...n,ref:a})});YR.displayName=XR;var bG="AlertDialogAction",KR=g.forwardRef((t,a)=>{const{__scopeAlertDialog:r,...n}=t,s=er(r);return e.jsx(xS,{...s,...n,ref:a})});KR.displayName=bG;var QR="AlertDialogCancel",eT=g.forwardRef((t,a)=>{const{__scopeAlertDialog:r,...n}=t,{cancelRef:s}=vG(QR,r),i=er(r),c=VR(a,s);return e.jsx(xS,{...i,...n,ref:c})});eT.displayName=QR;var MG=({contentRef:t})=>{const a=`\`${tc}\` requires a description for the component to be accessible for screen reader users.
7829
+ `;function tU({allow:t="analytics",scriptId:a="ga",scriptStrategy:r="afterInteractive",scriptContent:n=eU}){return e.jsx(Vz,{allow:t,children:e.jsx(Q$,{id:a,strategy:r,children:n})})}const aU=D9("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"}}),yl=g.forwardRef(({className:t,variant:a,...r},n)=>e.jsx("div",{ref:n,role:"alert",className:me(aU({variant:a}),t),...r}));yl.displayName="Alert";const rU=g.forwardRef(({className:t,...a},r)=>e.jsx("h5",{ref:r,className:me("mb-1 font-medium leading-none tracking-tight",t),...a}));rU.displayName="AlertTitle";const ml=g.forwardRef(({className:t,...a},r)=>e.jsx("div",{ref:r,className:me("text-sm [&_p]:leading-relaxed",t),...a}));ml.displayName="AlertDescription";function nU({onSubmit:t,onForgotPassword:a,onRegisterClick:r,isLoading:n=!1,error:s,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]=M.useState(""),[p,m]=M.useState(""),[y,x]=M.useState(!1),f=v=>{v.preventDefault(),t(h,p,y)};return e.jsxs(ce,{className:"w-full max-w-md",children:[e.jsxs(xe,{className:"space-y-1",children:[e.jsx(ke,{className:"text-2xl font-bold",children:i}),e.jsx(Ge,{children:c})]}),e.jsxs("form",{onSubmit:f,children:[e.jsxs(de,{className:"space-y-4",children:[s&&e.jsxs(yl,{variant:"destructive",children:[e.jsx(Et,{className:"h-4 w-4"}),e.jsx(ml,{children:s})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(ne,{htmlFor:"identifier",children:l}),e.jsxs("div",{className:"relative",children:[e.jsx(sa,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),e.jsx(Re,{id:"identifier",type:"text",placeholder:d,value:h,onChange:v=>u(v.target.value),className:"pl-10",required:!0,disabled:n})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(ne,{htmlFor:"password",children:"Password"}),e.jsxs("div",{className:"relative",children:[e.jsx(uo,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),e.jsx(Re,{id:"password",type:"password",placeholder:"••••••••",value:p,onChange:v=>m(v.target.value),className:"pl-10",required:!0,disabled:n})]})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(Dt,{id:"remember",checked:y,onCheckedChange:v=>x(v),disabled:n}),e.jsx(ne,{htmlFor:"remember",className:"text-sm font-normal cursor-pointer",children:"Remember me"})]}),a&&e.jsx("button",{type:"button",onClick:a,className:"text-sm text-accent hover:underline",disabled:n,children:"Forgot password?"})]})]}),e.jsxs(ko,{className:"flex flex-col space-y-4",children:[e.jsx(D,{type:"submit",className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",disabled:n,children:n?"Signing in...":"Sign In"}),r&&e.jsxs("div",{className:"text-sm text-center text-muted-foreground",children:["Don't have an account?"," ",e.jsx("button",{type:"button",onClick:r,className:"text-accent hover:underline font-medium",disabled:n,children:"Create account"})]})]})]})]})}const sU=({onSubmit:t,onForgotPassword:a,onRegisterClick:r,isLoading:n=!1,error:s="",appName:i="Your App",logo:c,identifierLabel:l="Email or Username",identifierPlaceholder:d="you@example.com"})=>e.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-r from-[#0f1219] to-[#1a2236] p-4",children:e.jsxs("div",{className:"w-full max-w-md",children:[e.jsxs("div",{className:"mb-8 text-center",children:[e.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[c||e.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-accent",children:e.jsx("span",{className:"text-xl font-bold text-accent-foreground",children:"APP"})}),e.jsx("span",{className:"text-2xl font-bold text-white",children:i})]}),e.jsx("p",{className:"text-gray-300",children:"Access your dashboard"})]}),e.jsx(nU,{onSubmit:t,onForgotPassword:a,onRegisterClick:r,isLoading:n,error:s,identifierLabel:l,identifierPlaceholder:d})]})});function iU({onSubmit:t,fields:a,onLoginClick:r,isLoading:n=!1,error:s,title:i="Create Account",description:c="Join us to access exclusive opportunities"}){const[l,d]=M.useState({}),[h,u]=M.useState(""),p=(y,x)=>d(f=>({...f,[y]:x})),m=y=>{if(y.preventDefault(),u(""),"password"in l&&("confirmPassword"in l||"password2"in l)){const f=l.confirmPassword??l.password2;if(l.password!==f){u("Passwords do not match");return}}const x={...l};if("confirmPassword"in x&&!("password2"in x)&&(x.password2=x.confirmPassword,delete x.confirmPassword),"fullName"in x&&!("first_name"in x)&&!("last_name"in x)){const f=String(x.fullName||"").trim().split(/\s+/).filter(Boolean);f.length>0&&(x.first_name=f[0],f.length>1&&(x.last_name=f.slice(1).join(" "))),delete x.fullName}t(x)};return e.jsxs(ce,{className:"w-full max-w-md",children:[e.jsxs(xe,{className:"space-y-1",children:[e.jsx(ke,{className:"text-2xl font-bold",children:i}),e.jsx(Ge,{children:c})]}),e.jsxs("form",{onSubmit:m,children:[e.jsxs(de,{className:"space-y-4",children:[(s||h)&&e.jsxs(yl,{variant:"destructive",children:[e.jsx(Et,{className:"h-4 w-4"}),e.jsx(ml,{children:s||h})]}),a.map(y=>e.jsxs("div",{className:"space-y-2",children:[e.jsx(ne,{htmlFor:y.name,children:y.label}),e.jsx(Re,{id:y.name,type:y.type||"text",placeholder:y.placeholder,required:y.required,disabled:n,value:l[y.name]||"",onChange:x=>p(y.name,x.target.value)})]},y.name))]}),e.jsxs(ko,{className:"flex flex-col space-y-4",children:[e.jsx(D,{type:"submit",className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",disabled:n,children:n?"Creating account...":"Create Account"}),r&&e.jsxs("div",{className:"text-sm text-center text-muted-foreground",children:["Already have an account?"," ",e.jsx("button",{type:"button",onClick:r,className:"text-accent hover:underline font-medium",disabled:n,children:"Sign in"})]})]})]})]})}const oU=({onSubmit:t,fields:a,onLoginClick:r,isLoading:n=!1,error:s="",appName:i="Your App",logo:c,title:l="Create Account",description:d="Join us to access exclusive opportunities"})=>e.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-r from-[#0f1219] to-[#1a2236] p-4",children:e.jsxs("div",{className:"w-full max-w-md",children:[e.jsxs("div",{className:"mb-8 text-center",children:[e.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[c||e.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-accent",children:e.jsx("span",{className:"text-xl font-bold text-accent-foreground",children:"APP"})}),e.jsx("span",{className:"text-2xl font-bold text-white",children:i})]}),e.jsx("p",{className:"text-gray-300",children:"Start your journey"})]}),e.jsx(iU,{onSubmit:t,fields:a,onLoginClick:r,isLoading:n,error:s,title:l,description:d})]})}),cU=t=>{let a=0;return t.length>=8&&(a+=1),/[A-Z]/.test(t)&&(a+=1),/[a-z]/.test(t)&&(a+=1),/\d/.test(t)&&(a+=1),/[^A-Za-z0-9]/.test(t)&&(a+=1),t?a<=2?{label:"Weak",score:a}:a<=4?{label:"Good",score:a}:{label:"Strong",score:a}:{label:"",score:0}};function lU({onSubmit:t,fields:a,optionalFields:r=[],onLoginClick:n,isLoading:s=!1,error:i,title:c="Create Account",description:l="Join iGaming Career in seconds",privacyNote:d="We respect your privacy. Your data is protected and never shared without consent."}){const[h,u]=M.useState({}),[p,m]=M.useState(""),[y,x]=M.useState(!1),[f,v]=M.useState({}),k=M.useMemo(()=>{const L=a.find(b=>b.type==="password"||b.name==="password");return L&&h[L.name]||""},[a,h]),w=M.useMemo(()=>cU(k),[k]),j=(L,b)=>u(N=>({...N,[L]:b})),S=L=>{if(L.preventDefault(),m(""),"password"in h&&("confirmPassword"in h||"password2"in h)){const N=h.confirmPassword??h.password2;if(h.password!==N){m("Passwords do not match");return}}const b={...h};if("confirmPassword"in b&&!("password2"in b)&&(b.password2=b.confirmPassword,delete b.confirmPassword),"fullName"in b&&!("first_name"in b)&&!("last_name"in b)){const N=String(b.fullName||"").trim().split(/\s+/).filter(Boolean);N.length>0&&(b.first_name=N[0],N.length>1&&(b.last_name=N.slice(1).join(" "))),delete b.fullName}t(b)},C=L=>e.jsx("button",{type:"button",className:"absolute right-3 top-1/2 -translate-y-1/2 text-xs font-medium text-muted-foreground hover:text-foreground",onClick:()=>v(b=>({...b,[L]:!b[L]})),disabled:s,children:f[L]?e.jsxs("span",{className:"inline-flex items-center gap-1",children:[e.jsx(Ic,{className:"h-3.5 w-3.5"})," Hide"]}):e.jsxs("span",{className:"inline-flex items-center gap-1",children:[e.jsx(Ho,{className:"h-3.5 w-3.5"})," Show"]})}),A=L=>{const b=L.type==="password"||L.name.toLowerCase().includes("password");return e.jsxs("div",{className:"space-y-2",children:[e.jsx(ne,{htmlFor:L.name,children:L.label}),e.jsxs("div",{className:b?"relative":void 0,children:[e.jsx(Re,{id:L.name,type:b?f[L.name]?"text":"password":L.type||"text",placeholder:L.placeholder,required:L.required,disabled:s,value:h[L.name]||"",onChange:N=>j(L.name,N.target.value),className:b?"pr-20":void 0}),b?C(L.name):null]}),b&&L.name==="password"&&w.label?e.jsxs("div",{className:"flex items-center gap-2 text-xs text-muted-foreground",children:[e.jsxs("span",{className:"inline-flex items-center gap-1",children:[e.jsx(Vc,{className:"h-3.5 w-3.5"})," Strength:"]}),e.jsx("span",{className:w.label==="Weak"?"text-destructive":w.label==="Good"?"text-amber-500":"text-emerald-500",children:w.label})]}):null]},L.name)};return e.jsxs(ce,{className:"w-full max-w-md",children:[e.jsxs(xe,{className:"space-y-1",children:[e.jsx(ke,{className:"text-2xl font-bold",children:c}),e.jsx(Ge,{children:l})]}),e.jsxs("form",{onSubmit:S,children:[e.jsxs(de,{className:"space-y-4",children:[(i||p)&&e.jsxs(yl,{variant:"destructive",children:[e.jsx(Et,{className:"h-4 w-4"}),e.jsx(ml,{children:i||p})]}),e.jsx("div",{className:"space-y-4",children:a.map(L=>A(L))}),r.length>0&&e.jsxs("div",{className:"space-y-3 pt-2",children:[e.jsx("button",{type:"button",onClick:()=>x(L=>!L),className:"text-sm font-medium text-accent hover:underline",disabled:s,children:y?"Hide optional details":"Complete your profile (optional)"}),y&&e.jsx("div",{className:"space-y-4 rounded-lg border border-dashed border-muted-foreground/40 p-4",children:r.map(L=>A(L))})]})]}),e.jsxs(ko,{className:"flex flex-col space-y-4",children:[e.jsx(D,{type:"submit",className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",disabled:s,children:s?"Creating account...":"Create Account"}),e.jsx("p",{className:"text-center text-xs text-muted-foreground",children:d}),n&&e.jsxs("div",{className:"text-sm text-center text-muted-foreground",children:["Already have an account?"," ",e.jsx("button",{type:"button",onClick:n,className:"text-accent hover:underline font-medium",disabled:s,children:"Sign in"})]})]})]})]})}const dU=({onSubmit:t,fields:a,optionalFields:r,onLoginClick:n,isLoading:s=!1,error:i="",appName:c="Your App",logo:l,title:d="Create Account",description:h="Join iGaming Career in seconds",privacyNote:u})=>e.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-r from-[#0f1219] to-[#1a2236] p-4",children:e.jsxs("div",{className:"w-full max-w-md",children:[e.jsxs("div",{className:"mb-8 text-center",children:[e.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[l||e.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-accent",children:e.jsx("span",{className:"text-xl font-bold text-accent-foreground",children:"APP"})}),e.jsx("span",{className:"text-2xl font-bold text-white",children:c})]}),e.jsx("p",{className:"text-gray-300",children:"Start your journey"})]}),e.jsx(lU,{onSubmit:t,fields:a,optionalFields:r,onLoginClick:n,isLoading:s,error:i,title:d,description:h,privacyNote:u})]})});function hU({onSubmit:t,onBackToLogin:a,isLoading:r=!1,error:n,success:s=!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]=M.useState(""),u=p=>{p.preventDefault(),t(d)};return s?e.jsxs(ce,{className:"w-full max-w-md",children:[e.jsxs(xe,{className:"space-y-1",children:[e.jsx("div",{className:"flex items-center justify-center mb-4",children:e.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-green-100",children:e.jsx(Ft,{className:"h-6 w-6 text-green-600"})})}),e.jsx(ke,{className:"text-2xl font-bold text-center",children:"Check Your Email"}),e.jsx(Ge,{className:"text-center",children:l})]}),e.jsx(ko,{className:"flex flex-col space-y-4",children:a&&e.jsxs(D,{type:"button",variant:"outline",className:"w-full",onClick:a,children:[e.jsx(Ja,{className:"mr-2 h-4 w-4"}),"Back to Login"]})})]}):e.jsxs(ce,{className:"w-full max-w-md",children:[e.jsxs(xe,{className:"space-y-1",children:[e.jsx(ke,{className:"text-2xl font-bold",children:i}),e.jsx(Ge,{children:c})]}),e.jsxs("form",{onSubmit:u,children:[e.jsxs(de,{className:"space-y-4",children:[n&&e.jsxs(yl,{variant:"destructive",children:[e.jsx(Et,{className:"h-4 w-4"}),e.jsx(ml,{children:n})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(ne,{htmlFor:"email",children:"Email Address"}),e.jsxs("div",{className:"relative",children:[e.jsx(sa,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),e.jsx(Re,{id:"email",type:"email",placeholder:"you@example.com",value:d,onChange:p=>h(p.target.value),className:"pl-10",required:!0,disabled:r})]}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"We'll send you an email with instructions to reset your password"})]})]}),e.jsxs(ko,{className:"flex flex-col space-y-4",children:[e.jsx(D,{type:"submit",className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",disabled:r,children:r?"Sending...":"Send Reset Link"}),a&&e.jsxs(D,{type:"button",variant:"ghost",className:"w-full",onClick:a,disabled:r,children:[e.jsx(Ja,{className:"mr-2 h-4 w-4"}),"Back to Login"]})]})]})]})}const uU=({onSubmit:t,onBackToLogin:a,isLoading:r=!1,error:n="",success:s=!1,appName:i="Your App",logo:c})=>e.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-r from-[#0f1219] to-[#1a2236] p-4",children:e.jsxs("div",{className:"w-full max-w-md",children:[e.jsxs("div",{className:"mb-8 text-center",children:[e.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[c||e.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-accent",children:e.jsx("span",{className:"text-xl font-bold text-accent-foreground",children:"APP"})}),e.jsx("span",{className:"text-2xl font-bold text-white",children:i})]}),e.jsx("p",{className:"text-gray-300",children:"Recover your account access"})]}),e.jsx(hU,{onSubmit:t,onBackToLogin:a,isLoading:r,error:n,success:s})]})}),pU=["Save and track your favorite jobs","Unlock full job descriptions","Get personalized recommendations"],yU=t=>{if(!t)return"continue";const a=t.trim();return a.length===0?"continue":a.toLowerCase()},mU=({open:t,onClose:a,onLogin:r,onRegister:n,appName:s="Your App",attemptedAction:i,title:c="Sign in to continue",description:l,helperContent:d})=>{const h=yU(i),u=l??`Please sign in to ${h} and keep your progress synced with ${s}.`;return e.jsx(ar,{open:t,onOpenChange:p=>!p&&a(),children:e.jsxs(Fa,{className:"sm:max-w-lg",children:[e.jsxs(va,{className:"space-y-2",children:[e.jsxs(oa,{className:"flex items-center gap-2 text-xl font-semibold",children:[e.jsx("span",{className:"flex h-9 w-9 items-center justify-center rounded-full bg-accent/10 text-accent",children:e.jsx(Et,{className:"h-5 w-5"})}),c]}),e.jsx(go,{className:"text-base text-muted-foreground",children:u})]}),e.jsxs("div",{className:"mt-2 space-y-4",children:[e.jsxs("div",{className:"rounded-lg border border-border/60 bg-muted/30 p-4",children:[e.jsxs("div",{className:"mb-3 flex items-center gap-2 text-sm font-medium text-foreground",children:[e.jsx(La,{className:"h-4 w-4 text-accent"}),"Why create an account?"]}),e.jsx("ul",{className:"space-y-2 text-sm text-muted-foreground",children:pU.map(p=>e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"mt-1 block h-1.5 w-1.5 rounded-full bg-accent","aria-hidden":!0}),e.jsx("span",{children:p})]},p))})]}),d&&e.jsx("div",{className:"rounded-md bg-card p-4 text-sm text-muted-foreground shadow-sm",children:d})]}),e.jsx(zS,{className:"my-4"}),e.jsxs(ia,{className:"grid grid-cols-1 gap-3 sm:grid-cols-2",children:[e.jsx(D,{variant:"outline",onClick:n,className:"w-full",children:"Create account"}),e.jsx(D,{onClick:r,className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",children:"Sign in"}),e.jsx(D,{variant:"ghost",onClick:a,className:"w-full sm:col-span-2 text-muted-foreground",children:"Maybe later"})]})]})})},fU=[{icon:Rc,label:"Dashboard",path:"/dashboard"},{icon:nt,label:"My Jobs",path:"/dashboard/jobs"},{icon:ra,label:"Courses",path:"/dashboard/courses"},{icon:Go,label:"Settings",path:"/dashboard/settings"}];function xU({children:t,user:a={name:"User",email:"user@example.com"},onLogout:r,onNavigate:n,currentPath:s="/dashboard",notificationCount:i=0}){return e.jsx("div",{className:"min-h-screen bg-background",children:e.jsxs("div",{className:"flex",children:[e.jsxs("aside",{className:"hidden md:flex w-64 flex-col border-r bg-card h-[calc(100vh-4rem)]",children:[e.jsx("nav",{className:"flex-1 space-y-1 p-4",children:fU.map(c=>{const l=c.icon,d=s===c.path;return e.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:[e.jsx(l,{className:"h-4 w-4"}),c.label]},c.path)})}),r&&e.jsx("div",{className:"border-t p-4",children:e.jsxs(D,{variant:"ghost",className:"w-full justify-start text-muted-foreground hover:text-foreground",onClick:r,children:[e.jsx(zc,{className:"mr-3 h-4 w-4"}),"Logout"]})})]}),e.jsx("main",{className:"flex-1 p-6 md:p-8",children:t})]})})}function gU({userName:t,feedItems:a,alerts:r,snapshot:n,onSave:s,onApply:i,onEnroll:c,onRead:l}){const d=u=>{switch(u){case"job":return nt;case"course":return ra;case"news":return _a;default:return nt}},h=u=>{switch(u.type){case"job":return e.jsxs(e.Fragment,{children:[e.jsx(D,{variant:"outline",size:"sm",onClick:()=>s(u.id),children:"Save"}),e.jsx(D,{size:"sm",onClick:()=>i(u.id),children:"Apply"})]});case"course":return e.jsxs(e.Fragment,{children:[e.jsx(D,{variant:"outline",size:"sm",onClick:()=>s(u.id),children:"Save"}),e.jsx(D,{size:"sm",onClick:()=>c(u.id),children:"Enroll"})]});case"news":return e.jsx(D,{size:"sm",onClick:()=>l(u.id),children:"Read"});default:return null}};return e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsxs("h2",{className:"text-3xl font-bold",children:["Welcome back, ",t," 👋"]}),e.jsx("p",{className:"text-muted-foreground mt-1",children:"Your personalized iGaming career hub"})]}),e.jsxs("div",{className:"grid gap-6 lg:grid-cols-3",children:[e.jsxs("div",{className:"lg:col-span-2 space-y-4",children:[e.jsx("h3",{className:"text-xl font-semibold",children:"Your Feed"}),a.map(u=>{const p=d(u.type);return e.jsxs(ce,{children:[e.jsxs(xe,{children:[e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(p,{className:"h-5 w-5 text-primary"}),e.jsx(ge,{variant:"secondary",children:u.type})]}),e.jsx("span",{className:"text-xs text-muted-foreground",children:u.timestamp})]}),e.jsx(ke,{className:"text-lg mt-2",children:u.title}),u.company&&e.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground",children:[e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(Eo,{className:"h-4 w-4"}),u.company]}),u.location&&e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(ct,{className:"h-4 w-4"}),u.location]})]}),e.jsx(Ge,{children:u.description})]}),e.jsxs(de,{children:[e.jsx("div",{className:"flex flex-wrap gap-2 mb-4",children:u.tags.map(m=>e.jsx(ge,{variant:"outline",children:m},m))}),u.reason&&e.jsxs("p",{className:"text-xs text-muted-foreground mb-3 italic",children:["💡 ",u.reason]}),e.jsx("div",{className:"flex gap-2",children:h(u)})]})]},u.id)})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs(ce,{children:[e.jsx(xe,{children:e.jsxs(ke,{className:"flex items-center gap-2",children:[e.jsx(Ra,{className:"h-5 w-5"}),"Your iGaming Career Snapshot"]})}),e.jsx(de,{className:"space-y-3",children:n.map(u=>e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"text-sm text-muted-foreground",children:u.label}),e.jsxs("div",{className:"text-right",children:[e.jsx("span",{className:"font-semibold",children:u.value}),u.trend&&e.jsx("span",{className:"text-xs text-green-600 ml-2",children:u.trend})]})]},u.label))})]}),e.jsxs(ce,{children:[e.jsx(xe,{children:e.jsxs(ke,{className:"flex items-center gap-2",children:[e.jsx(ka,{className:"h-5 w-5"}),"Alerts & Notifications"]})}),e.jsx(de,{className:"space-y-3",children:r.length===0?e.jsx("p",{className:"text-sm text-muted-foreground",children:"No new alerts"}):r.map(u=>e.jsxs("div",{className:"p-3 rounded-lg bg-secondary/50 text-sm",children:[e.jsx(ge,{variant:"outline",className:"mb-2",children:u.type}),e.jsx("p",{children:u.message})]},u.id))})]})]})]})]})}function kU(t,a,{checkForDefaultPrevented:r=!0}={}){return function(s){if(t==null||t(s),r===!1||!s.defaultPrevented)return a==null?void 0:a(s)}}function mN(t,a){if(typeof t=="function")return t(a);t!=null&&(t.current=a)}function vU(...t){return a=>{let r=!1;const n=t.map(s=>{const i=mN(s,a);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let s=0;s<n.length;s++){const i=n[s];typeof i=="function"?i():mN(t[s],null)}}}}function bR(...t){return g.useCallback(vU(...t),t)}function wU(t,a=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var k;const{scope:m,children:y,...x}=p,f=((k=m==null?void 0:m[t])==null?void 0:k[d])||l,v=g.useMemo(()=>x,Object.values(x));return e.jsx(f.Provider,{value:v,children:y})};h.displayName=i+"Provider";function u(p,m){var f;const y=((f=m==null?void 0:m[t])==null?void 0:f[d])||l,x=g.useContext(y);if(x)return x;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const s=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return s.scopeName=t,[n,bU(s,...a)]}function bU(...t){const a=t[0];if(t.length===1)return a;const r=()=>{const n=t.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${a.scopeName}`]:c}),[c])}};return r.scopeName=a.scopeName,r}var MU=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},jU=g[" useInsertionEffect ".trim().toString()]||MU;function CU({prop:t,defaultProp:a,onChange:r=()=>{},caller:n}){const[s,i,c]=SU({defaultProp:a,onChange:r}),l=t!==void 0,d=l?t:s;{const u=g.useRef(t!==void 0);g.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${n} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=l},[l,n])}const h=g.useCallback(u=>{var p;if(l){const m=LU(u)?u(t):u;m!==t&&((p=c.current)==null||p.call(c,m))}else i(u)},[l,t,i,c]);return[d,h]}function SU({defaultProp:t,onChange:a}){const[r,n]=g.useState(t),s=g.useRef(r),i=g.useRef(a);return jU(()=>{i.current=a},[a]),g.useEffect(()=>{var c;s.current!==r&&((c=i.current)==null||c.call(i,r),s.current=r)},[r,s]),[r,n,i]}function LU(t){return typeof t=="function"}var NU=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],MR=NU.reduce((t,a)=>{const r=at(`Primitive.${a}`),n=g.forwardRef((s,i)=>{const{asChild:c,...l}=s,d=c?r:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),e.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${a}`,{...t,[a]:n}},{}),lj="Switch",[IU,aW]=wU(lj),[AU,PU]=IU(lj),jR=g.forwardRef((t,a)=>{const{__scopeSwitch:r,name:n,checked:s,defaultChecked:i,required:c,disabled:l,value:d="on",onCheckedChange:h,form:u,...p}=t,[m,y]=g.useState(null),x=bR(a,j=>y(j)),f=g.useRef(!1),v=m?u||!!m.closest("form"):!0,[k,w]=CU({prop:s,defaultProp:i??!1,onChange:h,caller:lj});return e.jsxs(AU,{scope:r,checked:k,disabled:l,children:[e.jsx(MR.button,{type:"button",role:"switch","aria-checked":k,"aria-required":c,"data-state":NR(k),"data-disabled":l?"":void 0,disabled:l,value:d,...p,ref:x,onClick:kU(t.onClick,j=>{w(S=>!S),v&&(f.current=j.isPropagationStopped(),f.current||j.stopPropagation())})}),v&&e.jsx(LR,{control:m,bubbles:!f.current,name:n,value:d,checked:k,required:c,disabled:l,form:u,style:{transform:"translateX(-100%)"}})]})});jR.displayName=lj;var CR="SwitchThumb",SR=g.forwardRef((t,a)=>{const{__scopeSwitch:r,...n}=t,s=PU(CR,r);return e.jsx(MR.span,{"data-state":NR(s.checked),"data-disabled":s.disabled?"":void 0,...n,ref:a})});SR.displayName=CR;var _U="SwitchBubbleInput",LR=g.forwardRef(({__scopeSwitch:t,control:a,checked:r,bubbles:n=!0,...s},i)=>{const c=g.useRef(null),l=bR(c,i),d=wS(r),h=bS(a);return g.useEffect(()=>{const u=c.current;if(!u)return;const p=window.HTMLInputElement.prototype,y=Object.getOwnPropertyDescriptor(p,"checked").set;if(d!==r&&y){const x=new Event("click",{bubbles:n});y.call(u,r),u.dispatchEvent(x)}},[d,r,n]),e.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...s,tabIndex:-1,ref:l,style:{...s.style,...h,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});LR.displayName=_U;function NR(t){return t?"checked":"unchecked"}var IR=jR,RU=SR;const fa=g.forwardRef(({className:t,...a},r)=>e.jsx(IR,{className:me("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),...a,ref:r,children:e.jsx(RU,{className:me("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")})}));fa.displayName=IR.displayName;function Qc(t,a,{checkForDefaultPrevented:r=!0}={}){return function(s){if(t==null||t(s),r===!1||!s.defaultPrevented)return a==null?void 0:a(s)}}function fN(t,a){if(typeof t=="function")return t(a);t!=null&&(t.current=a)}function TU(...t){return a=>{let r=!1;const n=t.map(s=>{const i=fN(s,a);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let s=0;s<n.length;s++){const i=n[s];typeof i=="function"?i():fN(t[s],null)}}}}function BS(...t){return g.useCallback(TU(...t),t)}function qU(t,a=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var k;const{scope:m,children:y,...x}=p,f=((k=m==null?void 0:m[t])==null?void 0:k[d])||l,v=g.useMemo(()=>x,Object.values(x));return e.jsx(f.Provider,{value:v,children:y})};h.displayName=i+"Provider";function u(p,m){var f;const y=((f=m==null?void 0:m[t])==null?void 0:f[d])||l,x=g.useContext(y);if(x)return x;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const s=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return s.scopeName=t,[n,DU(s,...a)]}function DU(...t){const a=t[0];if(t.length===1)return a;const r=()=>{const n=t.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${a.scopeName}`]:c}),[c])}};return r.scopeName=a.scopeName,r}var R9=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},zU=g[" useId ".trim().toString()]||(()=>{}),EU=0;function FU(t){const[a,r]=g.useState(zU());return R9(()=>{t||r(n=>n??String(EU++))},[t]),t||(a?`radix-${a}`:"")}function OU(t,a){return g.useReducer((r,n)=>a[r][n]??r,t)}var $S=t=>{const{present:a,children:r}=t,n=HU(a),s=typeof r=="function"?r({present:n.isPresent}):g.Children.only(r),i=BS(n.ref,VU(s));return typeof r=="function"||n.isPresent?g.cloneElement(s,{ref:i}):null};$S.displayName="Presence";function HU(t){const[a,r]=g.useState(),n=g.useRef(null),s=g.useRef(t),i=g.useRef("none"),c=t?"mounted":"unmounted",[l,d]=OU(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const h=_l(n.current);i.current=l==="mounted"?h:"none"},[l]),R9(()=>{const h=n.current,u=s.current;if(u!==t){const m=i.current,y=_l(h);t?d("MOUNT"):y==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&m!==y?"ANIMATION_OUT":"UNMOUNT"),s.current=t}},[t,d]),R9(()=>{if(a){let h;const u=a.ownerDocument.defaultView??window,p=y=>{const f=_l(n.current).includes(CSS.escape(y.animationName));if(y.target===a&&f&&(d("ANIMATION_END"),!s.current)){const v=a.style.animationFillMode;a.style.animationFillMode="forwards",h=u.setTimeout(()=>{a.style.animationFillMode==="forwards"&&(a.style.animationFillMode=v)})}},m=y=>{y.target===a&&(i.current=_l(n.current))};return a.addEventListener("animationstart",m),a.addEventListener("animationcancel",p),a.addEventListener("animationend",p),()=>{u.clearTimeout(h),a.removeEventListener("animationstart",m),a.removeEventListener("animationcancel",p),a.removeEventListener("animationend",p)}}else d("ANIMATION_END")},[a,d]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:g.useCallback(h=>{n.current=h?getComputedStyle(h):null,r(h)},[])}}function _l(t){return(t==null?void 0:t.animationName)||"none"}function VU(t){var n,s;let a=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=a&&"isReactWarning"in a&&a.isReactWarning;return r?t.ref:(a=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,r=a&&"isReactWarning"in a&&a.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var BU=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],AR=BU.reduce((t,a)=>{const r=at(`Primitive.${a}`),n=g.forwardRef((s,i)=>{const{asChild:c,...l}=s,d=c?r:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),e.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${a}`,{...t,[a]:n}},{}),$U=g[" useInsertionEffect ".trim().toString()]||R9;function UU({prop:t,defaultProp:a,onChange:r=()=>{},caller:n}){const[s,i,c]=GU({defaultProp:a,onChange:r}),l=t!==void 0,d=l?t:s;{const u=g.useRef(t!==void 0);g.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${n} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=l},[l,n])}const h=g.useCallback(u=>{var p;if(l){const m=WU(u)?u(t):u;m!==t&&((p=c.current)==null||p.call(c,m))}else i(u)},[l,t,i,c]);return[d,h]}function GU({defaultProp:t,onChange:a}){const[r,n]=g.useState(t),s=g.useRef(r),i=g.useRef(a);return $U(()=>{i.current=a},[a]),g.useEffect(()=>{var c;s.current!==r&&((c=i.current)==null||c.call(i,r),s.current=r)},[r,s]),[r,n,i]}function WU(t){return typeof t=="function"}var dj="Popover",[PR,rW]=qU(dj,[nj]),fl=nj(),[ZU,Er]=PR(dj),_R=t=>{const{__scopePopover:a,children:r,open:n,defaultOpen:s,onOpenChange:i,modal:c=!1}=t,l=fl(a),d=g.useRef(null),[h,u]=g.useState(!1),[p,m]=UU({prop:n,defaultProp:s??!1,onChange:i,caller:dj});return e.jsx(b_,{...l,children:e.jsx(ZU,{scope:a,contentId:FU(),triggerRef:d,open:p,onOpenChange:m,onOpenToggle:g.useCallback(()=>m(y=>!y),[m]),hasCustomAnchor:h,onCustomAnchorAdd:g.useCallback(()=>u(!0),[]),onCustomAnchorRemove:g.useCallback(()=>u(!1),[]),modal:c,children:r})})};_R.displayName=dj;var RR="PopoverAnchor",JU=g.forwardRef((t,a)=>{const{__scopePopover:r,...n}=t,s=Er(RR,r),i=fl(r),{onCustomAnchorAdd:c,onCustomAnchorRemove:l}=s;return g.useEffect(()=>(c(),()=>l()),[c,l]),e.jsx(qS,{...i,...n,ref:a})});JU.displayName=RR;var TR="PopoverTrigger",qR=g.forwardRef((t,a)=>{const{__scopePopover:r,...n}=t,s=Er(TR,r),i=fl(r),c=BS(a,s.triggerRef),l=e.jsx(AR.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":OR(s.open),...n,ref:c,onClick:Qc(t.onClick,s.onOpenToggle)});return s.hasCustomAnchor?l:e.jsx(qS,{asChild:!0,...i,children:l})});qR.displayName=TR;var US="PopoverPortal",[XU,YU]=PR(US,{forceMount:void 0}),DR=t=>{const{__scopePopover:a,forceMount:r,children:n,container:s}=t,i=Er(US,a);return e.jsx(XU,{scope:a,forceMount:r,children:e.jsx($S,{present:r||i.open,children:e.jsx(W9,{asChild:!0,container:s,children:n})})})};DR.displayName=US;var cc="PopoverContent",zR=g.forwardRef((t,a)=>{const r=YU(cc,t.__scopePopover),{forceMount:n=r.forceMount,...s}=t,i=Er(cc,t.__scopePopover);return e.jsx($S,{present:n||i.open,children:i.modal?e.jsx(QU,{...s,ref:a}):e.jsx(eG,{...s,ref:a})})});zR.displayName=cc;var KU=at("PopoverContent.RemoveScroll"),QU=g.forwardRef((t,a)=>{const r=Er(cc,t.__scopePopover),n=g.useRef(null),s=BS(a,n),i=g.useRef(!1);return g.useEffect(()=>{const c=n.current;if(c)return lS(c)},[]),e.jsx(X9,{as:KU,allowPinchZoom:!0,children:e.jsx(ER,{...t,ref:s,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})})})}),eG=g.forwardRef((t,a)=>{const r=Er(cc,t.__scopePopover),n=g.useRef(!1),s=g.useRef(!1);return e.jsx(ER,{...t,ref:a,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,s.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"&&(s.current=!0));const c=i.target;((h=r.triggerRef.current)==null?void 0:h.contains(c))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&s.current&&i.preventDefault()}})}),ER=g.forwardRef((t,a)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:s,onCloseAutoFocus:i,disableOutsidePointerEvents:c,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:h,onInteractOutside:u,...p}=t,m=Er(cc,r),y=fl(r);return cS(),e.jsx(G9,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:s,onUnmountAutoFocus:i,children:e.jsx(U9,{asChild:!0,disableOutsidePointerEvents:c,onInteractOutside:u,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:h,onDismiss:()=>m.onOpenChange(!1),children:e.jsx(M_,{"data-state":OR(m.open),role:"dialog",id:m.contentId,...y,...p,ref:a,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)"}})})})}),FR="PopoverClose",tG=g.forwardRef((t,a)=>{const{__scopePopover:r,...n}=t,s=Er(FR,r);return e.jsx(AR.button,{type:"button",...n,ref:a,onClick:Qc(t.onClick,()=>s.onOpenChange(!1))})});tG.displayName=FR;var aG="PopoverArrow",rG=g.forwardRef((t,a)=>{const{__scopePopover:r,...n}=t,s=fl(r);return e.jsx(j_,{...s,...n,ref:a})});rG.displayName=aG;function OR(t){return t?"open":"closed"}var nG=_R,sG=qR,iG=DR,HR=zR;const oG=nG,cG=sG,VR=g.forwardRef(({className:t,align:a="center",sideOffset:r=4,...n},s)=>e.jsx(iG,{children:e.jsx(HR,{ref:s,align:a,sideOffset:r,className:me("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})}));VR.displayName=HR.displayName;function lG({open:t,onClose:a,onAdded:r,existingExperience:n,onUpdated:s}){const i=new Date().getFullYear(),c=Array.from({length:40},(y,x)=>`${i-x}`),[l,d]=M.useState({title:"",company:"",startYear:"",endYear:"",isPresent:!1,location:"",summary:"",tags:""});M.useEffect(()=>{if(n){const[y,x]=n.period.split(" - ");d({title:n.title,company:n.company,startYear:y||"",endYear:x==="Present"?"":x||"",isPresent:x==="Present",location:n.location||"",summary:n.summary||"",tags:n.tags.join(", ")})}else d({title:"",company:"",startYear:"",endYear:"",isPresent:!1,location:"",summary:"",tags:""})},[n,t]);const[h,u]=M.useState(!1),p=(y,x)=>d(f=>({...f,[y]:x})),m=()=>{const y=l.isPresent?`${l.startYear} - Present`:`${l.startYear} - ${l.endYear}`,x={id:(n==null?void 0:n.id)||`temp-${Date.now()}`,title:l.title,company:l.company,period:y,summary:l.summary.trim()||void 0,location:l.location.trim()||void 0,tags:l.tags.split(",").map(f=>f.trim()).filter(Boolean)};n?s==null||s(x):r(x),d({title:"",company:"",startYear:"",endYear:"",isPresent:!1,location:"",summary:"",tags:""}),a()};return e.jsx(ar,{open:t,onOpenChange:a,children:e.jsxs(Fa,{children:[e.jsx(oa,{children:n?"Edit Work Experience":"Add Work Experience"}),e.jsxs("div",{className:"space-y-4 py-2",children:[e.jsxs("div",{children:[e.jsx(ne,{children:"Title"}),e.jsx(Re,{value:l.title,onChange:y=>p("title",y.target.value)})]}),e.jsxs("div",{children:[e.jsx(ne,{children:"Company"}),e.jsx(Re,{value:l.company,onChange:y=>p("company",y.target.value)})]}),e.jsxs("div",{children:[e.jsx(ne,{children:"Location (optional)"}),e.jsx(Re,{value:l.location,onChange:y=>p("location",y.target.value),placeholder:"e.g., Malta or Remote"})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(ne,{children:"Start Year"}),e.jsxs(So,{onValueChange:y=>p("startYear",y),value:l.startYear,children:[e.jsx(_r,{children:e.jsx(Lo,{placeholder:"Select year"})}),e.jsx(Rr,{children:c.map(y=>e.jsx(Vt,{value:y,children:y},y))})]})]}),!l.isPresent&&e.jsxs("div",{children:[e.jsx(ne,{children:"End Year"}),e.jsxs(So,{onValueChange:y=>p("endYear",y),value:l.endYear,children:[e.jsx(_r,{children:e.jsx(Lo,{placeholder:"Select year"})}),e.jsx(Rr,{children:c.map(y=>e.jsx(Vt,{value:y,children:y},y))})]})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("input",{id:"present",type:"checkbox",checked:l.isPresent,onChange:y=>p("isPresent",y.target.checked),className:"w-4 h-4 accent-primary"}),e.jsx(ne,{htmlFor:"present",children:"I currently work here"})]}),e.jsxs("div",{children:[e.jsx(ne,{children:"Summary (optional)"}),e.jsx(_9,{placeholder:"e.g., Led product roadmap for iGaming platform",value:l.summary,onChange:y=>p("summary",y.target.value)})]}),e.jsxs("div",{children:[e.jsx(ne,{children:"Tags (comma-separated)"}),e.jsx(_9,{placeholder:"e.g., Product Strategy, iGaming, Agile",value:l.tags,onChange:y=>p("tags",y.target.value)})]})]}),e.jsxs(ia,{children:[e.jsx(D,{variant:"outline",onClick:a,children:"Cancel"}),e.jsx(D,{onClick:m,disabled:h||!l.title||!l.company||!l.startYear||!l.isPresent&&!l.endYear,children:h?"Saving...":n?"Save Changes":"Add Experience"})]})]})})}function dG(t,a=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var k;const{scope:m,children:y,...x}=p,f=((k=m==null?void 0:m[t])==null?void 0:k[d])||l,v=g.useMemo(()=>x,Object.values(x));return e.jsx(f.Provider,{value:v,children:y})};h.displayName=i+"Provider";function u(p,m){var f;const y=((f=m==null?void 0:m[t])==null?void 0:f[d])||l,x=g.useContext(y);if(x)return x;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const s=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return s.scopeName=t,[n,hG(s,...a)]}function hG(...t){const a=t[0];if(t.length===1)return a;const r=()=>{const n=t.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${a.scopeName}`]:c}),[c])}};return r.scopeName=a.scopeName,r}function xN(t,a){if(typeof t=="function")return t(a);t!=null&&(t.current=a)}function uG(...t){return a=>{let r=!1;const n=t.map(s=>{const i=xN(s,a);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let s=0;s<n.length;s++){const i=n[s];typeof i=="function"?i():xN(t[s],null)}}}}function BR(...t){return g.useCallback(uG(...t),t)}function pG(t,a,{checkForDefaultPrevented:r=!0}={}){return function(s){if(t==null||t(s),r===!1||!s.defaultPrevented)return a==null?void 0:a(s)}}var $R="AlertDialog",[yG,nW]=dG($R,[rP]),rr=rP(),UR=t=>{const{__scopeAlertDialog:a,...r}=t,n=rr(a);return e.jsx(kP,{...n,...r,modal:!0})};UR.displayName=$R;var mG="AlertDialogTrigger",fG=g.forwardRef((t,a)=>{const{__scopeAlertDialog:r,...n}=t,s=rr(r);return e.jsx(vP,{...s,...n,ref:a})});fG.displayName=mG;var xG="AlertDialogPortal",GR=t=>{const{__scopeAlertDialog:a,...r}=t,n=rr(a);return e.jsx(wP,{...n,...r})};GR.displayName=xG;var gG="AlertDialogOverlay",WR=g.forwardRef((t,a)=>{const{__scopeAlertDialog:r,...n}=t,s=rr(r);return e.jsx(pS,{...s,...n,ref:a})});WR.displayName=gG;var tc="AlertDialogContent",[kG,vG]=yG(tc),wG=PT("AlertDialogContent"),ZR=g.forwardRef((t,a)=>{const{__scopeAlertDialog:r,children:n,...s}=t,i=rr(r),c=g.useRef(null),l=BR(a,c),d=g.useRef(null);return e.jsx(ZF,{contentName:tc,titleName:JR,docsSlug:"alert-dialog",children:e.jsx(kG,{scope:r,cancelRef:d,children:e.jsxs(yS,{role:"alertdialog",...i,...s,ref:l,onOpenAutoFocus:pG(s.onOpenAutoFocus,h=>{var u;h.preventDefault(),(u=d.current)==null||u.focus({preventScroll:!0})}),onPointerDownOutside:h=>h.preventDefault(),onInteractOutside:h=>h.preventDefault(),children:[e.jsx(wG,{children:n}),e.jsx(MG,{contentRef:c})]})})})});ZR.displayName=tc;var JR="AlertDialogTitle",XR=g.forwardRef((t,a)=>{const{__scopeAlertDialog:r,...n}=t,s=rr(r);return e.jsx(mS,{...s,...n,ref:a})});XR.displayName=JR;var YR="AlertDialogDescription",KR=g.forwardRef((t,a)=>{const{__scopeAlertDialog:r,...n}=t,s=rr(r);return e.jsx(fS,{...s,...n,ref:a})});KR.displayName=YR;var bG="AlertDialogAction",QR=g.forwardRef((t,a)=>{const{__scopeAlertDialog:r,...n}=t,s=rr(r);return e.jsx(xS,{...s,...n,ref:a})});QR.displayName=bG;var eT="AlertDialogCancel",tT=g.forwardRef((t,a)=>{const{__scopeAlertDialog:r,...n}=t,{cancelRef:s}=vG(eT,r),i=rr(r),c=BR(a,s);return e.jsx(xS,{...i,...n,ref:c})});tT.displayName=eT;var MG=({contentRef:t})=>{const a=`\`${tc}\` requires a description for the component to be accessible for screen reader users.
7830
7830
 
7831
- You can add a description to the \`${tc}\` by passing a \`${XR}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
7831
+ You can add a description to the \`${tc}\` by passing a \`${YR}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
7832
7832
 
7833
7833
  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 \`${tc}\`. 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.
7834
7834
 
7835
- For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return g.useEffect(()=>{var n;document.getElementById((n=t.current)==null?void 0:n.getAttribute("aria-describedby"))||console.warn(a)},[a,t]),null},jG=$R,CG=UR,tT=GR,aT=WR,rT=KR,nT=eT,sT=JR,iT=YR;const SG=jG,LG=CG,oT=g.forwardRef(({className:t,...a},r)=>e.jsx(tT,{className:me("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),...a,ref:r}));oT.displayName=tT.displayName;const cT=g.forwardRef(({className:t,...a},r)=>e.jsxs(LG,{children:[e.jsx(oT,{}),e.jsx(aT,{ref:r,className:me("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),...a})]}));cT.displayName=aT.displayName;const lT=({className:t,...a})=>e.jsx("div",{className:me("flex flex-col space-y-2 text-center sm:text-left",t),...a});lT.displayName="AlertDialogHeader";const dT=({className:t,...a})=>e.jsx("div",{className:me("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...a});dT.displayName="AlertDialogFooter";const hT=g.forwardRef(({className:t,...a},r)=>e.jsx(sT,{ref:r,className:me("text-lg font-semibold",t),...a}));hT.displayName=sT.displayName;const uT=g.forwardRef(({className:t,...a},r)=>e.jsx(iT,{ref:r,className:me("text-sm text-muted-foreground",t),...a}));uT.displayName=iT.displayName;const pT=g.forwardRef(({className:t,...a},r)=>e.jsx(rT,{ref:r,className:me(IC(),t),...a}));pT.displayName=rT.displayName;const yT=g.forwardRef(({className:t,...a},r)=>e.jsx(nT,{ref:r,className:me(IC({variant:"outline"}),"mt-2 sm:mt-0",t),...a}));yT.displayName=nT.displayName;function gN({open:t,onClose:a,onAdded:r,title:n,placeholder:s}){const[i,c]=M.useState("");M.useEffect(()=>{t||c("")},[t]);const l=()=>{i.trim()&&(r(i.trim()),c(""),a())};return e.jsx(Qa,{open:t,onOpenChange:a,children:e.jsxs(qa,{children:[e.jsx(fa,{children:e.jsx(na,{children:n})}),e.jsx("div",{className:"space-y-4 py-2",children:e.jsxs("div",{children:[e.jsx(se,{children:n}),e.jsx(Re,{value:i,onChange:d=>c(d.target.value),placeholder:s||"Type and save"})]})}),e.jsxs(ra,{children:[e.jsx(z,{variant:"outline",onClick:a,children:"Cancel"}),e.jsx(z,{onClick:l,disabled:!i.trim(),children:"Add"})]})]})})}const kN=["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 NG({open:t,onClose:a,onAdded:r}){const[n,s]=M.useState(""),[i,c]=M.useState(kN),l=()=>{n.trim()&&(r(n.trim()),s(""),a())},d=h=>{s(h);const u=kN.filter(p=>p.toLowerCase().includes(h.toLowerCase()));c(u)};return e.jsx(Qa,{open:t,onOpenChange:a,children:e.jsxs(qa,{children:[e.jsx(fa,{children:e.jsx(na,{children:"Add Skill"})}),e.jsxs("div",{className:"space-y-4 py-2",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(se,{htmlFor:"skill",children:"Skill Name"}),e.jsx(Re,{id:"skill",placeholder:"e.g. Product Strategy",value:n,onChange:h=>d(h.target.value)})]}),n&&i.length>0&&e.jsx("div",{className:"border rounded-md p-2 space-y-1 max-h-40 overflow-y-auto",children:i.map(h=>e.jsx("div",{className:"cursor-pointer px-2 py-1 hover:bg-muted rounded-md text-sm",onClick:()=>{s(h)},children:h},h))})]}),e.jsxs(ra,{children:[e.jsx(z,{variant:"outline",onClick:a,children:"Cancel"}),e.jsx(z,{onClick:l,disabled:!n.trim(),children:"Add Skill"})]})]})})}const vN=["Regulation","Technology","Market Trends","Responsible Gaming","Game Design","Payments","Marketing","AI in iGaming","Player Retention","Security"];function IG({open:t,onClose:a,onAdded:r}){const[n,s]=M.useState(""),[i,c]=M.useState(vN),l=()=>{n.trim()&&(r(n.trim()),s(""),a())},d=h=>{s(h),c(vN.filter(u=>u.toLowerCase().includes(h.toLowerCase())))};return e.jsx(Qa,{open:t,onOpenChange:a,children:e.jsxs(qa,{children:[e.jsx(fa,{children:e.jsx(na,{children:"Add Interested Topic"})}),e.jsxs("div",{className:"space-y-4 py-2",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(se,{htmlFor:"topic",children:"Topic"}),e.jsx(Re,{id:"topic",placeholder:"e.g. Game Design",value:n,onChange:h=>d(h.target.value)})]}),n&&i.length>0&&e.jsx("div",{className:"border rounded-md p-2 space-y-1 max-h-40 overflow-y-auto",children:i.map(h=>e.jsx("div",{className:"cursor-pointer px-2 py-1 hover:bg-muted rounded-md text-sm",onClick:()=>s(h),children:h},h))})]}),e.jsxs(ra,{children:[e.jsx(z,{variant:"outline",onClick:a,children:"Cancel"}),e.jsx(z,{onClick:l,disabled:!n.trim(),children:"Add Topic"})]})]})})}const AG=["English","Spanish","French","German","Italian","Portuguese","Polish","Turkish","Swedish","Norwegian","Finnish","Danish","Dutch","Japanese","Chinese","Korean"],PG=["Native","Fluent","Intermediate","Basic"];function _G({open:t,onClose:a,onAdded:r}){const[n,s]=M.useState({name:"",proficiency:""}),i=()=>{if(!n.name||!n.proficiency)return;const c={name:n.name,proficiency:n.proficiency};r(c),s({name:"",proficiency:""}),a()};return e.jsx(Qa,{open:t,onOpenChange:a,children:e.jsxs(qa,{children:[e.jsx(fa,{children:e.jsx(na,{children:"Add Language"})}),e.jsxs("div",{className:"space-y-4 py-2",children:[e.jsxs("div",{children:[e.jsx(se,{children:"Language"}),e.jsxs(So,{value:n.name,onValueChange:c=>s(l=>({...l,name:c})),children:[e.jsx(Pr,{children:e.jsx(Lo,{placeholder:"Select a language"})}),e.jsx(_r,{children:AG.map(c=>e.jsx(Ot,{value:c,children:c},c))})]})]}),e.jsxs("div",{children:[e.jsx(se,{children:"Proficiency"}),e.jsxs(So,{value:n.proficiency,onValueChange:c=>s(l=>({...l,proficiency:c})),children:[e.jsx(Pr,{children:e.jsx(Lo,{placeholder:"Select proficiency"})}),e.jsx(_r,{children:PG.map(c=>e.jsx(Ot,{value:c,children:c},c))})]})]})]}),e.jsxs(ra,{children:[e.jsx(z,{variant:"outline",onClick:a,children:"Cancel"}),e.jsx(z,{onClick:i,disabled:!n.name||!n.proficiency,children:"Add"})]})]})})}function RG({profile:t,onUpdate:a,isSaving:r=!1}){const[n,s]=M.useState(t),[i,c]=M.useState(!1),[l,d]=M.useState(null);M.useState(null);const[h,u]=M.useState(null),[p,m]=M.useState(!1),[y,x]=M.useState(!1),[f,v]=M.useState(!1),[k,w]=M.useState(!1),[j,S]=M.useState(!1),C=["Full-time","Part-time","Contract","Freelance","Internship","Temporary"],A=["English","Spanish","French","German","Italian","Portuguese","Polish","Turkish","Swedish","Norwegian","Finnish","Danish","Dutch","Japanese","Chinese","Korean"],L=()=>{l&&(s(P=>{const R={...P,workExperience:P.workExperience.filter(T=>T.id!==l)};return a({type:"profile",payload:R}),R}),d(null))},b=(P,R,T)=>{s($=>({...$,[P]:{...$[P],[R]:T}}))},N=(P,R,T)=>{s($=>({...$,[P]:{...$[P],[R]:T}}))},q=()=>{a({type:"profile",payload:n})};return e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsxs("div",{children:[e.jsx("h2",{className:"text-3xl font-bold",children:"Your Profile"}),e.jsx("p",{className:"text-muted-foreground mt-1",children:"Manage your professional information"})]}),e.jsx(z,{onClick:q,disabled:r,children:r?"Saving...":"Save Changes"})]}),e.jsxs(Rr,{defaultValue:"personal",className:"w-full",children:[e.jsxs(Ka,{className:"grid w-full grid-cols-3 lg:grid-cols-7",children:[e.jsx(Se,{value:"personal",children:"Personal"}),e.jsx(Se,{value:"experience",children:"Experience"}),e.jsx(Se,{value:"job-search",children:"Job Search"}),e.jsx(Se,{value:"skills",children:"Skills"}),e.jsx(Se,{value:"languages",children:"Languages"}),e.jsx(Se,{value:"alerts",children:"Alerts"}),e.jsx(Se,{value:"preferences",children:"Preferences"})]}),e.jsx(Le,{value:"personal",children:e.jsxs(de,{children:[e.jsxs(xe,{children:[e.jsx(ke,{children:"Personal Details"}),e.jsx($e,{children:"Update your personal information"})]}),e.jsx(ue,{className:"space-y-4",children:e.jsxs("div",{className:"grid gap-4 md:grid-cols-2",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(se,{htmlFor:"fullName",children:"Full Name"}),e.jsx(Re,{id:"fullName",value:n.personalDetails.fullName??"",onChange:P=>b("personalDetails","fullName",P.target.value)})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(se,{htmlFor:"email",children:"Email"}),e.jsx(Re,{id:"email",type:"email",value:n.personalDetails.email??"",onChange:P=>b("personalDetails","email",P.target.value)})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(se,{htmlFor:"phone",children:"Phone"}),e.jsx(Re,{id:"phone",value:n.personalDetails.phone??"",onChange:P=>b("personalDetails","phone",P.target.value)})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(se,{htmlFor:"location",children:"Location"}),e.jsx(Re,{id:"location",value:n.personalDetails.location??"",onChange:P=>b("personalDetails","location",P.target.value)})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(se,{htmlFor:"dob",children:"Date of Birth"}),e.jsx(Re,{id:"dob",type:"date",value:n.personalDetails.dob??"",onChange:P=>b("personalDetails","dob",P.target.value)})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(se,{htmlFor:"address",children:"Address"}),e.jsx(Re,{id:"address",value:n.personalDetails.address??"",onChange:P=>b("personalDetails","address",P.target.value)})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(se,{htmlFor:"nationality",children:"Nationality"}),e.jsx(Re,{id:"nationality",value:n.personalDetails.nationality??"",onChange:P=>b("personalDetails","nationality",P.target.value)})]}),e.jsxs("div",{className:"space-y-2 md:col-span-2",children:[e.jsx(se,{htmlFor:"summary",children:"Summary"}),e.jsx(Re,{id:"summary",value:n.personalDetails.summary??"",onChange:P=>b("personalDetails","summary",P.target.value)})]})]})})]})}),e.jsx(Le,{value:"experience",children:e.jsxs(de,{children:[e.jsxs(xe,{children:[e.jsx(ke,{children:"Work Experience"}),e.jsx($e,{children:"Your iGaming industry experience"})]}),e.jsxs(ue,{className:"space-y-4",children:[n.workExperience.map(P=>e.jsxs("div",{className:"p-4 border rounded-lg space-y-2 relative group",children:[e.jsxs("div",{className:"flex justify-between items-start",children:[e.jsxs("div",{children:[e.jsx("h4",{className:"font-semibold",children:P.title}),e.jsx("p",{className:"text-sm text-muted-foreground",children:P.company}),e.jsx("p",{className:"text-xs text-muted-foreground",children:P.period}),P.location&&e.jsx("p",{className:"text-xs text-muted-foreground",children:P.location})]}),e.jsxs("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity flex gap-2",children:[e.jsx(z,{variant:"outline",size:"sm",onClick:()=>{const R=n.workExperience.find(T=>T.id===P.id);u(R||null),c(!0)},children:"Edit"}),e.jsx(z,{variant:"destructive",size:"sm",onClick:()=>d(P.id),children:"Delete"})]})]}),e.jsx("div",{className:"flex flex-wrap gap-2",children:P.tags.map(R=>e.jsx(ge,{variant:"secondary",children:R},R))}),P.summary&&e.jsx("p",{className:"text-sm text-muted-foreground",children:P.summary})]},P.id)),e.jsx(z,{variant:"outline",className:"w-full",onClick:()=>c(!0),children:"Add Experience"})]})]})}),e.jsx(lG,{open:i,onClose:()=>{c(!1),u(null)},existingExperience:h,onAdded:P=>{s(R=>({...R,workExperience:[...R.workExperience,P]}))},onUpdated:P=>{s(R=>({...R,workExperience:R.workExperience.map(T=>T.id===P.id?P:T)}))}}),e.jsx(SG,{open:!!l,onOpenChange:()=>d(null),children:e.jsxs(cT,{children:[e.jsxs(lT,{children:[e.jsx(hT,{children:"Delete Experience"}),e.jsx(uT,{children:"Are you sure you want to delete this work experience? This action cannot be undone."})]}),e.jsxs(dT,{children:[e.jsx(yT,{children:"Cancel"}),e.jsx(pT,{onClick:L,className:"bg-destructive text-white",children:"Delete"})]})]})}),e.jsxs(Le,{value:"job-search",children:[e.jsxs(de,{children:[e.jsxs(xe,{children:[e.jsx(ke,{children:"Job Search Details"}),e.jsx($e,{children:"Define your ideal job preferences"})]}),e.jsxs(ue,{className:"space-y-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(se,{children:"Desired Roles"}),e.jsx("div",{className:"flex flex-wrap gap-2",children:n.jobSearchDetails.desiredRoles.map(P=>e.jsxs(ge,{variant:"secondary",children:[P,e.jsx(z,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>s(R=>({...R,jobSearchDetails:{...R.jobSearchDetails,desiredRoles:Array.from(new Set([...R.jobSearchDetails.desiredRoles,P]))}})),children:"✕"})]},P))}),e.jsx(z,{variant:"outline",size:"sm",onClick:()=>m(!0),children:"Add Role"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(se,{children:"Preferred Locations"}),e.jsx("div",{className:"flex flex-wrap gap-2",children:n.jobSearchDetails.locations.map(P=>e.jsxs(ge,{variant:"secondary",children:[P,e.jsx(z,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>s(R=>({...R,jobSearchDetails:{...R.jobSearchDetails,locations:R.jobSearchDetails.locations.filter(T=>T!==P)}})),children:"✕"})]},P))}),e.jsx(z,{variant:"outline",size:"sm",onClick:()=>x(!0),children:"Add Location"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(se,{children:"Employment Type"}),e.jsxs(oG,{children:[e.jsx(cG,{asChild:!0,children:e.jsx(z,{variant:"outline",className:"w-full justify-between",children:n.jobSearchDetails.employmentType.length>0?n.jobSearchDetails.employmentType.join(", "):"Select Employment Type"})}),e.jsx(HR,{className:"w-64 p-2 space-y-2",children:C.map(P=>{const R=n.jobSearchDetails.employmentType.includes(P);return e.jsxs("div",{className:"flex items-center space-x-2",onClick:()=>s(T=>{const W=T.jobSearchDetails.employmentType.includes(P)?T.jobSearchDetails.employmentType.filter(B=>B!==P):[...T.jobSearchDetails.employmentType,P];return{...T,jobSearchDetails:{...T.jobSearchDetails,employmentType:W}}}),children:[e.jsx(Tt,{checked:R}),e.jsx(se,{className:"text-sm",children:P})]},P)})})]})]})]})]}),e.jsx(gN,{open:p,onClose:()=>m(!1),title:"Add Desired Role",placeholder:"e.g. Senior Product Manager",onAdded:P=>s(R=>({...R,jobSearchDetails:{...R.jobSearchDetails,desiredRoles:[...R.jobSearchDetails.desiredRoles,P]}}))}),e.jsx(gN,{open:y,onClose:()=>x(!1),title:"Add Preferred Location",placeholder:"e.g. Malta or Remote",onAdded:P=>s(R=>({...R,jobSearchDetails:{...R.jobSearchDetails,locations:[...R.jobSearchDetails.locations,P]}}))})]}),e.jsxs(Le,{value:"skills",children:[e.jsxs(de,{children:[e.jsxs(xe,{children:[e.jsx(ke,{children:"Skill Set"}),e.jsx($e,{children:"Your professional skills and expertise"})]}),e.jsxs(ue,{className:"space-y-4",children:[e.jsx("div",{className:"flex flex-wrap gap-2",children:n.skills.map(P=>e.jsxs(ge,{variant:"secondary",className:"flex items-center gap-1",children:[P,e.jsx(z,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>s(R=>({...R,skills:R.skills.filter(T=>T!==P)})),children:"✕"})]},P))}),e.jsx(z,{variant:"outline",onClick:()=>v(!0),children:"Add Skill"})]})]}),e.jsx(NG,{open:f,onClose:()=>v(!1),onAdded:P=>s(R=>({...R,skills:Array.from(new Set([...R.skills,P]))}))})]}),e.jsxs(Le,{value:"languages",children:[e.jsxs(de,{children:[e.jsxs(xe,{children:[e.jsx(ke,{children:"Languages"}),e.jsx($e,{children:"Your spoken and professional languages"})]}),e.jsxs(ue,{className:"space-y-4",children:[e.jsx("div",{className:"flex flex-wrap gap-2",children:n.languages.map((P,R)=>e.jsxs(ge,{variant:"secondary",className:"flex items-center gap-1",children:[P.name," — ",P.proficiency,e.jsx(z,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>s(T=>({...T,languages:T.languages.filter(($,W)=>W!==R)})),children:"✕"})]},`${P.name}-${R}`))}),e.jsx(z,{variant:"outline",onClick:()=>S(!0),children:"Add Language"})]})]}),e.jsx(_G,{open:j,onClose:()=>S(!1),onAdded:P=>s(R=>({...R,languages:[...R.languages,P]}))})]}),e.jsx(Le,{value:"alerts",children:e.jsxs(de,{children:[e.jsxs(xe,{children:[e.jsx(ke,{children:"Alerts & Subscriptions"}),e.jsx($e,{children:"Manage your notification preferences"})]}),e.jsxs(ue,{className:"space-y-6",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx(se,{htmlFor:"job-alerts",className:"text-base",children:"Job Alerts"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Get notified about new job matches"})]}),e.jsx(ua,{id:"job-alerts",checked:n.alerts.jobAlerts,onCheckedChange:P=>N("alerts","jobAlerts",P)})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx(se,{htmlFor:"course-alerts",className:"text-base",children:"Course Alerts"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Updates on new courses and training"})]}),e.jsx(ua,{id:"course-alerts",checked:n.alerts.courseAlerts,onCheckedChange:P=>N("alerts","courseAlerts",P)})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx(se,{htmlFor:"news-alerts",className:"text-base",children:"News Alerts"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Industry news and updates"})]}),e.jsx(ua,{id:"news-alerts",checked:n.alerts.newsAlerts,onCheckedChange:P=>N("alerts","newsAlerts",P)})]})]})]})}),e.jsxs(Le,{value:"preferences",children:[e.jsxs(de,{children:[e.jsxs(xe,{children:[e.jsx(ke,{children:"Preferences"}),e.jsx($e,{children:"Customize your platform experience"})]}),e.jsxs(ue,{className:"space-y-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(se,{children:"Interested Topics"}),e.jsx("div",{className:"flex flex-wrap gap-2",children:n.preferences.topics.map(P=>e.jsxs(ge,{variant:"secondary",className:"flex items-center gap-1",children:[P,e.jsx(z,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>s(R=>({...R,preferences:{...R.preferences,topics:R.preferences.topics.filter(T=>T!==P)}})),children:"✕"})]},P))}),e.jsx(z,{variant:"outline",size:"sm",onClick:()=>w(!0),children:"Manage Topics"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(se,{htmlFor:"language",children:"Language"}),e.jsxs(So,{value:n.preferences.language,onValueChange:P=>b("preferences","language",P),children:[e.jsx(Pr,{id:"language",children:e.jsx(Lo,{placeholder:"Select your preferred language"})}),e.jsx(_r,{children:A.map(P=>e.jsx(Ot,{value:P,children:P},P))})]})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx(se,{htmlFor:"email-notif",className:"text-base",children:"Email Notifications"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Receive updates via email"})]}),e.jsx(ua,{id:"email-notif",checked:n.preferences.emailNotifications,onCheckedChange:P=>N("preferences","emailNotifications",P)})]})]})]}),e.jsx(IG,{open:k,onClose:()=>w(!1),onAdded:P=>s(R=>({...R,preferences:{...R.preferences,topics:Array.from(new Set([...R.preferences.topics,P]))}}))})]})]})]})}const TG=t=>t<1024?`${t} B`:t<1024*1024?`${(t/1024).toFixed(1)} KB`:`${(t/(1024*1024)).toFixed(1)} MB`,wN=800;function qG({onCVChange:t,previewText:a,previewStatus:r="idle",previewErrorMessage:n}){const[s,i]=M.useState(!1),[c,l]=M.useState(null),[d,h]=M.useState(null),[u,p]=M.useState(null),[m,y]=M.useState(!1);M.useEffect(()=>()=>{d&&URL.revokeObjectURL(d)},[d]);const x=M.useMemo(()=>c?{name:c.name,size:TG(c.size),lastModified:new Date(c.lastModified).toLocaleDateString()}:null,[c]),f=async S=>{var L;const C=(L=S.target.files)==null?void 0:L[0];if(!C)return;if(C.type!=="application/pdf"){p("Only PDF files are supported.");return}d&&URL.revokeObjectURL(d);const A=URL.createObjectURL(C);l(C),h(A),y(!1),t(C)},v=()=>{d&&URL.revokeObjectURL(d),l(null),h(null),p(null),y(!1),t(null)},k=(a==null?void 0:a.replace(/\s{2,}/g," ").replace(/\n{3,}/g,`
7835
+ For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return g.useEffect(()=>{var n;document.getElementById((n=t.current)==null?void 0:n.getAttribute("aria-describedby"))||console.warn(a)},[a,t]),null},jG=UR,CG=GR,aT=WR,rT=ZR,nT=QR,sT=tT,iT=XR,oT=KR;const SG=jG,LG=CG,cT=g.forwardRef(({className:t,...a},r)=>e.jsx(aT,{className:me("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),...a,ref:r}));cT.displayName=aT.displayName;const lT=g.forwardRef(({className:t,...a},r)=>e.jsxs(LG,{children:[e.jsx(cT,{}),e.jsx(rT,{ref:r,className:me("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),...a})]}));lT.displayName=rT.displayName;const dT=({className:t,...a})=>e.jsx("div",{className:me("flex flex-col space-y-2 text-center sm:text-left",t),...a});dT.displayName="AlertDialogHeader";const hT=({className:t,...a})=>e.jsx("div",{className:me("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...a});hT.displayName="AlertDialogFooter";const uT=g.forwardRef(({className:t,...a},r)=>e.jsx(iT,{ref:r,className:me("text-lg font-semibold",t),...a}));uT.displayName=iT.displayName;const pT=g.forwardRef(({className:t,...a},r)=>e.jsx(oT,{ref:r,className:me("text-sm text-muted-foreground",t),...a}));pT.displayName=oT.displayName;const yT=g.forwardRef(({className:t,...a},r)=>e.jsx(nT,{ref:r,className:me(IC(),t),...a}));yT.displayName=nT.displayName;const mT=g.forwardRef(({className:t,...a},r)=>e.jsx(sT,{ref:r,className:me(IC({variant:"outline"}),"mt-2 sm:mt-0",t),...a}));mT.displayName=sT.displayName;function gN({open:t,onClose:a,onAdded:r,title:n,placeholder:s}){const[i,c]=M.useState("");M.useEffect(()=>{t||c("")},[t]);const l=()=>{i.trim()&&(r(i.trim()),c(""),a())};return e.jsx(ar,{open:t,onOpenChange:a,children:e.jsxs(Fa,{children:[e.jsx(va,{children:e.jsx(oa,{children:n})}),e.jsx("div",{className:"space-y-4 py-2",children:e.jsxs("div",{children:[e.jsx(ne,{children:n}),e.jsx(Re,{value:i,onChange:d=>c(d.target.value),placeholder:s||"Type and save"})]})}),e.jsxs(ia,{children:[e.jsx(D,{variant:"outline",onClick:a,children:"Cancel"}),e.jsx(D,{onClick:l,disabled:!i.trim(),children:"Add"})]})]})})}const kN=["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 NG({open:t,onClose:a,onAdded:r}){const[n,s]=M.useState(""),[i,c]=M.useState(kN),l=()=>{n.trim()&&(r(n.trim()),s(""),a())},d=h=>{s(h);const u=kN.filter(p=>p.toLowerCase().includes(h.toLowerCase()));c(u)};return e.jsx(ar,{open:t,onOpenChange:a,children:e.jsxs(Fa,{children:[e.jsx(va,{children:e.jsx(oa,{children:"Add Skill"})}),e.jsxs("div",{className:"space-y-4 py-2",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(ne,{htmlFor:"skill",children:"Skill Name"}),e.jsx(Re,{id:"skill",placeholder:"e.g. Product Strategy",value:n,onChange:h=>d(h.target.value)})]}),n&&i.length>0&&e.jsx("div",{className:"border rounded-md p-2 space-y-1 max-h-40 overflow-y-auto",children:i.map(h=>e.jsx("div",{className:"cursor-pointer px-2 py-1 hover:bg-muted rounded-md text-sm",onClick:()=>{s(h)},children:h},h))})]}),e.jsxs(ia,{children:[e.jsx(D,{variant:"outline",onClick:a,children:"Cancel"}),e.jsx(D,{onClick:l,disabled:!n.trim(),children:"Add Skill"})]})]})})}const vN=["Regulation","Technology","Market Trends","Responsible Gaming","Game Design","Payments","Marketing","AI in iGaming","Player Retention","Security"];function IG({open:t,onClose:a,onAdded:r}){const[n,s]=M.useState(""),[i,c]=M.useState(vN),l=()=>{n.trim()&&(r(n.trim()),s(""),a())},d=h=>{s(h),c(vN.filter(u=>u.toLowerCase().includes(h.toLowerCase())))};return e.jsx(ar,{open:t,onOpenChange:a,children:e.jsxs(Fa,{children:[e.jsx(va,{children:e.jsx(oa,{children:"Add Interested Topic"})}),e.jsxs("div",{className:"space-y-4 py-2",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(ne,{htmlFor:"topic",children:"Topic"}),e.jsx(Re,{id:"topic",placeholder:"e.g. Game Design",value:n,onChange:h=>d(h.target.value)})]}),n&&i.length>0&&e.jsx("div",{className:"border rounded-md p-2 space-y-1 max-h-40 overflow-y-auto",children:i.map(h=>e.jsx("div",{className:"cursor-pointer px-2 py-1 hover:bg-muted rounded-md text-sm",onClick:()=>s(h),children:h},h))})]}),e.jsxs(ia,{children:[e.jsx(D,{variant:"outline",onClick:a,children:"Cancel"}),e.jsx(D,{onClick:l,disabled:!n.trim(),children:"Add Topic"})]})]})})}const AG=["English","Spanish","French","German","Italian","Portuguese","Polish","Turkish","Swedish","Norwegian","Finnish","Danish","Dutch","Japanese","Chinese","Korean"],PG=["Native","Fluent","Intermediate","Basic"];function _G({open:t,onClose:a,onAdded:r}){const[n,s]=M.useState({name:"",proficiency:""}),i=()=>{if(!n.name||!n.proficiency)return;const c={name:n.name,proficiency:n.proficiency};r(c),s({name:"",proficiency:""}),a()};return e.jsx(ar,{open:t,onOpenChange:a,children:e.jsxs(Fa,{children:[e.jsx(va,{children:e.jsx(oa,{children:"Add Language"})}),e.jsxs("div",{className:"space-y-4 py-2",children:[e.jsxs("div",{children:[e.jsx(ne,{children:"Language"}),e.jsxs(So,{value:n.name,onValueChange:c=>s(l=>({...l,name:c})),children:[e.jsx(_r,{children:e.jsx(Lo,{placeholder:"Select a language"})}),e.jsx(Rr,{children:AG.map(c=>e.jsx(Vt,{value:c,children:c},c))})]})]}),e.jsxs("div",{children:[e.jsx(ne,{children:"Proficiency"}),e.jsxs(So,{value:n.proficiency,onValueChange:c=>s(l=>({...l,proficiency:c})),children:[e.jsx(_r,{children:e.jsx(Lo,{placeholder:"Select proficiency"})}),e.jsx(Rr,{children:PG.map(c=>e.jsx(Vt,{value:c,children:c},c))})]})]})]}),e.jsxs(ia,{children:[e.jsx(D,{variant:"outline",onClick:a,children:"Cancel"}),e.jsx(D,{onClick:i,disabled:!n.name||!n.proficiency,children:"Add"})]})]})})}function RG({profile:t,onUpdate:a,isSaving:r=!1}){const[n,s]=M.useState(t),[i,c]=M.useState(!1),[l,d]=M.useState(null);M.useState(null);const[h,u]=M.useState(null),[p,m]=M.useState(!1),[y,x]=M.useState(!1),[f,v]=M.useState(!1),[k,w]=M.useState(!1),[j,S]=M.useState(!1),C=["Full-time","Part-time","Contract","Freelance","Internship","Temporary"],A=["English","Spanish","French","German","Italian","Portuguese","Polish","Turkish","Swedish","Norwegian","Finnish","Danish","Dutch","Japanese","Chinese","Korean"],L=()=>{l&&(s(P=>{const R={...P,workExperience:P.workExperience.filter(T=>T.id!==l)};return a({type:"profile",payload:R}),R}),d(null))},b=(P,R,T)=>{s($=>({...$,[P]:{...$[P],[R]:T}}))},N=(P,R,T)=>{s($=>({...$,[P]:{...$[P],[R]:T}}))},q=()=>{a({type:"profile",payload:n})};return e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsxs("div",{children:[e.jsx("h2",{className:"text-3xl font-bold",children:"Your Profile"}),e.jsx("p",{className:"text-muted-foreground mt-1",children:"Manage your professional information"})]}),e.jsx(D,{onClick:q,disabled:r,children:r?"Saving...":"Save Changes"})]}),e.jsxs(Tr,{defaultValue:"personal",className:"w-full",children:[e.jsxs(tr,{className:"grid w-full grid-cols-3 lg:grid-cols-7",children:[e.jsx(Ce,{value:"personal",children:"Personal"}),e.jsx(Ce,{value:"experience",children:"Experience"}),e.jsx(Ce,{value:"job-search",children:"Job Search"}),e.jsx(Ce,{value:"skills",children:"Skills"}),e.jsx(Ce,{value:"languages",children:"Languages"}),e.jsx(Ce,{value:"alerts",children:"Alerts"}),e.jsx(Ce,{value:"preferences",children:"Preferences"})]}),e.jsx(Se,{value:"personal",children:e.jsxs(ce,{children:[e.jsxs(xe,{children:[e.jsx(ke,{children:"Personal Details"}),e.jsx(Ge,{children:"Update your personal information"})]}),e.jsx(de,{className:"space-y-4",children:e.jsxs("div",{className:"grid gap-4 md:grid-cols-2",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(ne,{htmlFor:"fullName",children:"Full Name"}),e.jsx(Re,{id:"fullName",value:n.personalDetails.fullName??"",onChange:P=>b("personalDetails","fullName",P.target.value)})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(ne,{htmlFor:"email",children:"Email"}),e.jsx(Re,{id:"email",type:"email",value:n.personalDetails.email??"",onChange:P=>b("personalDetails","email",P.target.value)})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(ne,{htmlFor:"phone",children:"Phone"}),e.jsx(Re,{id:"phone",value:n.personalDetails.phone??"",onChange:P=>b("personalDetails","phone",P.target.value)})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(ne,{htmlFor:"location",children:"Location"}),e.jsx(Re,{id:"location",value:n.personalDetails.location??"",onChange:P=>b("personalDetails","location",P.target.value)})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(ne,{htmlFor:"dob",children:"Date of Birth"}),e.jsx(Re,{id:"dob",type:"date",value:n.personalDetails.dob??"",onChange:P=>b("personalDetails","dob",P.target.value)})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(ne,{htmlFor:"address",children:"Address"}),e.jsx(Re,{id:"address",value:n.personalDetails.address??"",onChange:P=>b("personalDetails","address",P.target.value)})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(ne,{htmlFor:"nationality",children:"Nationality"}),e.jsx(Re,{id:"nationality",value:n.personalDetails.nationality??"",onChange:P=>b("personalDetails","nationality",P.target.value)})]}),e.jsxs("div",{className:"space-y-2 md:col-span-2",children:[e.jsx(ne,{htmlFor:"summary",children:"Summary"}),e.jsx(Re,{id:"summary",value:n.personalDetails.summary??"",onChange:P=>b("personalDetails","summary",P.target.value)})]})]})})]})}),e.jsx(Se,{value:"experience",children:e.jsxs(ce,{children:[e.jsxs(xe,{children:[e.jsx(ke,{children:"Work Experience"}),e.jsx(Ge,{children:"Your iGaming industry experience"})]}),e.jsxs(de,{className:"space-y-4",children:[n.workExperience.map(P=>e.jsxs("div",{className:"p-4 border rounded-lg space-y-2 relative group",children:[e.jsxs("div",{className:"flex justify-between items-start",children:[e.jsxs("div",{children:[e.jsx("h4",{className:"font-semibold",children:P.title}),e.jsx("p",{className:"text-sm text-muted-foreground",children:P.company}),e.jsx("p",{className:"text-xs text-muted-foreground",children:P.period}),P.location&&e.jsx("p",{className:"text-xs text-muted-foreground",children:P.location})]}),e.jsxs("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity flex gap-2",children:[e.jsx(D,{variant:"outline",size:"sm",onClick:()=>{const R=n.workExperience.find(T=>T.id===P.id);u(R||null),c(!0)},children:"Edit"}),e.jsx(D,{variant:"destructive",size:"sm",onClick:()=>d(P.id),children:"Delete"})]})]}),e.jsx("div",{className:"flex flex-wrap gap-2",children:P.tags.map(R=>e.jsx(ge,{variant:"secondary",children:R},R))}),P.summary&&e.jsx("p",{className:"text-sm text-muted-foreground",children:P.summary})]},P.id)),e.jsx(D,{variant:"outline",className:"w-full",onClick:()=>c(!0),children:"Add Experience"})]})]})}),e.jsx(lG,{open:i,onClose:()=>{c(!1),u(null)},existingExperience:h,onAdded:P=>{s(R=>({...R,workExperience:[...R.workExperience,P]}))},onUpdated:P=>{s(R=>({...R,workExperience:R.workExperience.map(T=>T.id===P.id?P:T)}))}}),e.jsx(SG,{open:!!l,onOpenChange:()=>d(null),children:e.jsxs(lT,{children:[e.jsxs(dT,{children:[e.jsx(uT,{children:"Delete Experience"}),e.jsx(pT,{children:"Are you sure you want to delete this work experience? This action cannot be undone."})]}),e.jsxs(hT,{children:[e.jsx(mT,{children:"Cancel"}),e.jsx(yT,{onClick:L,className:"bg-destructive text-white",children:"Delete"})]})]})}),e.jsxs(Se,{value:"job-search",children:[e.jsxs(ce,{children:[e.jsxs(xe,{children:[e.jsx(ke,{children:"Job Search Details"}),e.jsx(Ge,{children:"Define your ideal job preferences"})]}),e.jsxs(de,{className:"space-y-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(ne,{children:"Desired Roles"}),e.jsx("div",{className:"flex flex-wrap gap-2",children:n.jobSearchDetails.desiredRoles.map(P=>e.jsxs(ge,{variant:"secondary",children:[P,e.jsx(D,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>s(R=>({...R,jobSearchDetails:{...R.jobSearchDetails,desiredRoles:Array.from(new Set([...R.jobSearchDetails.desiredRoles,P]))}})),children:"✕"})]},P))}),e.jsx(D,{variant:"outline",size:"sm",onClick:()=>m(!0),children:"Add Role"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(ne,{children:"Preferred Locations"}),e.jsx("div",{className:"flex flex-wrap gap-2",children:n.jobSearchDetails.locations.map(P=>e.jsxs(ge,{variant:"secondary",children:[P,e.jsx(D,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>s(R=>({...R,jobSearchDetails:{...R.jobSearchDetails,locations:R.jobSearchDetails.locations.filter(T=>T!==P)}})),children:"✕"})]},P))}),e.jsx(D,{variant:"outline",size:"sm",onClick:()=>x(!0),children:"Add Location"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(ne,{children:"Employment Type"}),e.jsxs(oG,{children:[e.jsx(cG,{asChild:!0,children:e.jsx(D,{variant:"outline",className:"w-full justify-between",children:n.jobSearchDetails.employmentType.length>0?n.jobSearchDetails.employmentType.join(", "):"Select Employment Type"})}),e.jsx(VR,{className:"w-64 p-2 space-y-2",children:C.map(P=>{const R=n.jobSearchDetails.employmentType.includes(P);return e.jsxs("div",{className:"flex items-center space-x-2",onClick:()=>s(T=>{const W=T.jobSearchDetails.employmentType.includes(P)?T.jobSearchDetails.employmentType.filter(B=>B!==P):[...T.jobSearchDetails.employmentType,P];return{...T,jobSearchDetails:{...T.jobSearchDetails,employmentType:W}}}),children:[e.jsx(Dt,{checked:R}),e.jsx(ne,{className:"text-sm",children:P})]},P)})})]})]})]})]}),e.jsx(gN,{open:p,onClose:()=>m(!1),title:"Add Desired Role",placeholder:"e.g. Senior Product Manager",onAdded:P=>s(R=>({...R,jobSearchDetails:{...R.jobSearchDetails,desiredRoles:[...R.jobSearchDetails.desiredRoles,P]}}))}),e.jsx(gN,{open:y,onClose:()=>x(!1),title:"Add Preferred Location",placeholder:"e.g. Malta or Remote",onAdded:P=>s(R=>({...R,jobSearchDetails:{...R.jobSearchDetails,locations:[...R.jobSearchDetails.locations,P]}}))})]}),e.jsxs(Se,{value:"skills",children:[e.jsxs(ce,{children:[e.jsxs(xe,{children:[e.jsx(ke,{children:"Skill Set"}),e.jsx(Ge,{children:"Your professional skills and expertise"})]}),e.jsxs(de,{className:"space-y-4",children:[e.jsx("div",{className:"flex flex-wrap gap-2",children:n.skills.map(P=>e.jsxs(ge,{variant:"secondary",className:"flex items-center gap-1",children:[P,e.jsx(D,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>s(R=>({...R,skills:R.skills.filter(T=>T!==P)})),children:"✕"})]},P))}),e.jsx(D,{variant:"outline",onClick:()=>v(!0),children:"Add Skill"})]})]}),e.jsx(NG,{open:f,onClose:()=>v(!1),onAdded:P=>s(R=>({...R,skills:Array.from(new Set([...R.skills,P]))}))})]}),e.jsxs(Se,{value:"languages",children:[e.jsxs(ce,{children:[e.jsxs(xe,{children:[e.jsx(ke,{children:"Languages"}),e.jsx(Ge,{children:"Your spoken and professional languages"})]}),e.jsxs(de,{className:"space-y-4",children:[e.jsx("div",{className:"flex flex-wrap gap-2",children:n.languages.map((P,R)=>e.jsxs(ge,{variant:"secondary",className:"flex items-center gap-1",children:[P.name," — ",P.proficiency,e.jsx(D,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>s(T=>({...T,languages:T.languages.filter(($,W)=>W!==R)})),children:"✕"})]},`${P.name}-${R}`))}),e.jsx(D,{variant:"outline",onClick:()=>S(!0),children:"Add Language"})]})]}),e.jsx(_G,{open:j,onClose:()=>S(!1),onAdded:P=>s(R=>({...R,languages:[...R.languages,P]}))})]}),e.jsx(Se,{value:"alerts",children:e.jsxs(ce,{children:[e.jsxs(xe,{children:[e.jsx(ke,{children:"Alerts & Subscriptions"}),e.jsx(Ge,{children:"Manage your notification preferences"})]}),e.jsxs(de,{className:"space-y-6",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx(ne,{htmlFor:"job-alerts",className:"text-base",children:"Job Alerts"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Get notified about new job matches"})]}),e.jsx(fa,{id:"job-alerts",checked:n.alerts.jobAlerts,onCheckedChange:P=>N("alerts","jobAlerts",P)})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx(ne,{htmlFor:"course-alerts",className:"text-base",children:"Course Alerts"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Updates on new courses and training"})]}),e.jsx(fa,{id:"course-alerts",checked:n.alerts.courseAlerts,onCheckedChange:P=>N("alerts","courseAlerts",P)})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx(ne,{htmlFor:"news-alerts",className:"text-base",children:"News Alerts"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Industry news and updates"})]}),e.jsx(fa,{id:"news-alerts",checked:n.alerts.newsAlerts,onCheckedChange:P=>N("alerts","newsAlerts",P)})]})]})]})}),e.jsxs(Se,{value:"preferences",children:[e.jsxs(ce,{children:[e.jsxs(xe,{children:[e.jsx(ke,{children:"Preferences"}),e.jsx(Ge,{children:"Customize your platform experience"})]}),e.jsxs(de,{className:"space-y-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(ne,{children:"Interested Topics"}),e.jsx("div",{className:"flex flex-wrap gap-2",children:n.preferences.topics.map(P=>e.jsxs(ge,{variant:"secondary",className:"flex items-center gap-1",children:[P,e.jsx(D,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>s(R=>({...R,preferences:{...R.preferences,topics:R.preferences.topics.filter(T=>T!==P)}})),children:"✕"})]},P))}),e.jsx(D,{variant:"outline",size:"sm",onClick:()=>w(!0),children:"Manage Topics"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(ne,{htmlFor:"language",children:"Language"}),e.jsxs(So,{value:n.preferences.language,onValueChange:P=>b("preferences","language",P),children:[e.jsx(_r,{id:"language",children:e.jsx(Lo,{placeholder:"Select your preferred language"})}),e.jsx(Rr,{children:A.map(P=>e.jsx(Vt,{value:P,children:P},P))})]})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx(ne,{htmlFor:"email-notif",className:"text-base",children:"Email Notifications"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Receive updates via email"})]}),e.jsx(fa,{id:"email-notif",checked:n.preferences.emailNotifications,onCheckedChange:P=>N("preferences","emailNotifications",P)})]})]})]}),e.jsx(IG,{open:k,onClose:()=>w(!1),onAdded:P=>s(R=>({...R,preferences:{...R.preferences,topics:Array.from(new Set([...R.preferences.topics,P]))}}))})]})]})]})}const TG=t=>t<1024?`${t} B`:t<1024*1024?`${(t/1024).toFixed(1)} KB`:`${(t/(1024*1024)).toFixed(1)} MB`,wN=800;function qG({onCVChange:t,previewText:a,previewStatus:r="idle",previewErrorMessage:n}){const[s,i]=M.useState(!1),[c,l]=M.useState(null),[d,h]=M.useState(null),[u,p]=M.useState(null),[m,y]=M.useState(!1);M.useEffect(()=>()=>{d&&URL.revokeObjectURL(d)},[d]);const x=M.useMemo(()=>c?{name:c.name,size:TG(c.size),lastModified:new Date(c.lastModified).toLocaleDateString()}:null,[c]),f=async S=>{var L;const C=(L=S.target.files)==null?void 0:L[0];if(!C)return;if(C.type!=="application/pdf"){p("Only PDF files are supported.");return}d&&URL.revokeObjectURL(d);const A=URL.createObjectURL(C);l(C),h(A),y(!1),t(C)},v=()=>{d&&URL.revokeObjectURL(d),l(null),h(null),p(null),y(!1),t(null)},k=(a==null?void 0:a.replace(/\s{2,}/g," ").replace(/\n{3,}/g,`
7836
7836
 
7837
- `).trim())??"",w=k.length>wN,j=m?k:w?`${k.slice(0,wN)}…`:k;return e.jsxs(Qa,{open:s,onOpenChange:i,children:[e.jsx(nO,{asChild:!0,children:e.jsxs(z,{children:[e.jsx(dr,{className:"h-4 w-4 mr-2"}),"Upload CV"]})}),e.jsxs(qa,{className:"sm:max-w-2xl",children:[e.jsxs(fa,{children:[e.jsx(na,{children:"Upload your CV"}),e.jsx(go,{children:"Add a PDF so we can extract key details and keep it ready for job applications."})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(Re,{type:"file",accept:"application/pdf",onChange:f}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"Accepted format: PDF only. Text extraction should be handled by the host application if needed."})]}),u&&e.jsx("div",{className:"rounded-md border border-destructive/40 bg-destructive/10 px-3 py-2 text-sm text-destructive",children:u}),c&&x&&e.jsxs("div",{className:"rounded-md border border-muted p-4 space-y-3",children:[e.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(Vo,{className:"h-5 w-5 text-primary"}),e.jsxs("div",{children:[e.jsx("p",{className:"font-medium",children:x.name}),e.jsxs("p",{className:"text-xs text-muted-foreground",children:[x.size," • Updated ",x.lastModified]})]})]}),e.jsx(ge,{variant:"secondary",children:"Stored"})]}),e.jsxs("div",{className:"flex flex-wrap gap-2",children:[d&&e.jsx(z,{variant:"outline",size:"sm",asChild:!0,children:e.jsx("a",{href:d,target:"_blank",rel:"noreferrer",children:"View PDF"})}),e.jsxs(z,{variant:"destructive",size:"sm",onClick:v,children:[e.jsx(Zo,{className:"h-4 w-4 mr-2"}),"Delete"]})]})]}),e.jsxs("div",{className:"rounded-md border border-muted p-4",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("p",{className:"font-medium",children:"Extracted preview"}),r==="parsing"&&e.jsx(ge,{variant:"outline",children:"Parsing..."})]}),r==="error"?e.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:n||"Text preview is unavailable for this file."}):j?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"mt-2 max-h-48 overflow-y-auto rounded-md border bg-muted/30 p-2",children:e.jsx("p",{className:"whitespace-pre-wrap text-sm text-muted-foreground",children:j})}),w&&e.jsx(z,{variant:"link",size:"sm",className:"px-0",onClick:()=>y(S=>!S),children:m?"Show less":"Show full text"})]}):e.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:"Upload a PDF to preview extracted text from the host app."})]})]}),e.jsx(ra,{children:e.jsx(z,{variant:"outline",onClick:()=>i(!1),children:"Close"})})]})]})}function DG({savedJobs:t,applications:a,recommendedJobs:r,onApply:n,onRemove:s,onUploadCV:i,cvPreviewText:c,cvPreviewStatus:l,cvPreviewErrorMessage:d,onSetAlert:h,onUpdateProfile:u}){const p=w=>({savedJobs:w.saved,recommendedJobs:w.recommended,applications:w.applications}),[m,y]=M.useState({saved:t||[],recommended:r||[],applications:a||[]});M.useEffect(()=>{y({saved:t||[],recommended:r||[],applications:a||[]})},[t,r,a]);const x=w=>{y(j=>{if(j.saved.some(A=>A.id===w.id))return j;const C={...j,saved:[...j.saved,w]};return u==null||u({type:"jobs",payload:p(C)}),C})},f=w=>{y(j=>{const S={...j,saved:j.saved.filter(C=>C.id!==w)};return u==null||u({type:"jobs",payload:p(S)}),S})},v=w=>{y(j=>{const S={...j,recommended:j.recommended.filter(C=>C.id!==w)};return u==null||u({type:"jobs",payload:p(S)}),S})},k=w=>{const j=m.recommended.find(S=>S.id===w);j&&(y(S=>{const C={...S,applications:[...S.applications,{...j,status:"Applied",appliedDate:new Date().toLocaleDateString()}]};return u==null||u({type:"jobs",payload:p(C)}),C}),n(w))};return e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsxs("div",{children:[e.jsx("h2",{className:"text-3xl font-bold",children:"Jobs"}),e.jsx("p",{className:"text-muted-foreground mt-1",children:"Manage your job search"})]}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(z,{variant:"outline",onClick:h,children:"Set Job Alerts"}),e.jsx(qG,{onCVChange:i,previewText:c,previewStatus:l,previewErrorMessage:d})]})]}),e.jsxs(Rr,{defaultValue:"recommended",className:"w-full",children:[e.jsxs(Ka,{className:"grid w-full grid-cols-3 lg:grid-cols-3",children:[e.jsxs(Se,{value:"recommended",children:["Recommended (",m.recommended.length,")"]}),e.jsxs(Se,{value:"saved",children:[e.jsx(pa,{className:"h-4 w-4 mr-2"}),"Saved (",m.saved.length,")"]}),e.jsxs(Se,{value:"applications",children:[e.jsx(at,{className:"h-4 w-4 mr-2"}),"Applications (",m.applications.length,")"]})]}),e.jsx(Le,{value:"recommended",className:"space-y-4",children:e.jsx("div",{className:"grid gap-4",children:m.recommended.map(w=>e.jsx(m9,{job:w,view:"recommended",isSaved:m.saved.some(j=>j.id===w.id),onApply:k,onSave:x,onRemove:v},w.id))})}),e.jsx(Le,{value:"saved",className:"space-y-4",children:e.jsx("div",{className:"grid gap-4",children:m.saved.length===0?e.jsx(de,{children:e.jsxs(ue,{className:"flex flex-col items-center justify-center py-10",children:[e.jsx(pa,{className:"h-12 w-12 text-muted-foreground mb-4"}),e.jsx("p",{className:"text-muted-foreground",children:"No saved jobs yet"}),e.jsx(z,{variant:"link",className:"mt-2",children:"Browse Jobs"})]})}):m.saved.map(w=>e.jsx(m9,{job:w,view:"saved",onRemove:f},w.id))})}),e.jsx(Le,{value:"applications",className:"space-y-4",children:e.jsx("div",{className:"grid gap-4",children:m.applications.length===0?e.jsx(de,{children:e.jsxs(ue,{className:"flex flex-col items-center justify-center py-10",children:[e.jsx(at,{className:"h-12 w-12 text-muted-foreground mb-4"}),e.jsx("p",{className:"text-muted-foreground",children:"No applications yet"}),e.jsx(z,{variant:"link",className:"mt-2",children:"Start Applying"})]})}):m.applications.map(w=>e.jsx(m9,{job:w,view:"applications",onViewApplication:()=>{}},w.id))})})]})]})}function zG(t,a=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var k;const{scope:m,children:y,...x}=p,f=((k=m==null?void 0:m[t])==null?void 0:k[d])||l,v=g.useMemo(()=>x,Object.values(x));return e.jsx(f.Provider,{value:v,children:y})};h.displayName=i+"Provider";function u(p,m){var f;const y=((f=m==null?void 0:m[t])==null?void 0:f[d])||l,x=g.useContext(y);if(x)return x;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const s=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return s.scopeName=t,[n,EG(s,...a)]}function EG(...t){const a=t[0];if(t.length===1)return a;const r=()=>{const n=t.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${a.scopeName}`]:c}),[c])}};return r.scopeName=a.scopeName,r}var FG=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],mT=FG.reduce((t,a)=>{const r=Ke(`Primitive.${a}`),n=g.forwardRef((s,i)=>{const{asChild:c,...l}=s,d=c?r:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),e.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${a}`,{...t,[a]:n}},{}),GS="Progress",WS=100,[OG,sW]=zG(GS),[HG,VG]=OG(GS),fT=g.forwardRef((t,a)=>{const{__scopeProgress:r,value:n=null,max:s,getValueLabel:i=BG,...c}=t;(s||s===0)&&!bN(s)&&console.error($G(`${s}`,"Progress"));const l=bN(s)?s:WS;n!==null&&!MN(n,l)&&console.error(UG(`${n}`,"Progress"));const d=MN(n,l)?n:null,h=T9(d)?i(d,l):void 0;return e.jsx(HG,{scope:r,value:d,max:l,children:e.jsx(mT.div,{"aria-valuemax":l,"aria-valuemin":0,"aria-valuenow":T9(d)?d:void 0,"aria-valuetext":h,role:"progressbar","data-state":kT(d,l),"data-value":d??void 0,"data-max":l,...c,ref:a})})});fT.displayName=GS;var xT="ProgressIndicator",gT=g.forwardRef((t,a)=>{const{__scopeProgress:r,...n}=t,s=VG(xT,r);return e.jsx(mT.div,{"data-state":kT(s.value,s.max),"data-value":s.value??void 0,"data-max":s.max,...n,ref:a})});gT.displayName=xT;function BG(t,a){return`${Math.round(t/a*100)}%`}function kT(t,a){return t==null?"indeterminate":t===a?"complete":"loading"}function T9(t){return typeof t=="number"}function bN(t){return T9(t)&&!isNaN(t)&&t>0}function MN(t,a){return T9(t)&&!isNaN(t)&&t<=a&&t>=0}function $G(t,a){return`Invalid prop \`max\` of value \`${t}\` supplied to \`${a}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${WS}\`.`}function UG(t,a){return`Invalid prop \`value\` of value \`${t}\` supplied to \`${a}\`. The \`value\` prop must be:
7837
+ `).trim())??"",w=k.length>wN,j=m?k:w?`${k.slice(0,wN)}…`:k;return e.jsxs(ar,{open:s,onOpenChange:i,children:[e.jsx(sO,{asChild:!0,children:e.jsxs(D,{children:[e.jsx(hr,{className:"h-4 w-4 mr-2"}),"Upload CV"]})}),e.jsxs(Fa,{className:"sm:max-w-2xl",children:[e.jsxs(va,{children:[e.jsx(oa,{children:"Upload your CV"}),e.jsx(go,{children:"Add a PDF so we can extract key details and keep it ready for job applications."})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(Re,{type:"file",accept:"application/pdf",onChange:f}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"Accepted format: PDF only. Text extraction should be handled by the host application if needed."})]}),u&&e.jsx("div",{className:"rounded-md border border-destructive/40 bg-destructive/10 px-3 py-2 text-sm text-destructive",children:u}),c&&x&&e.jsxs("div",{className:"rounded-md border border-muted p-4 space-y-3",children:[e.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(Vo,{className:"h-5 w-5 text-primary"}),e.jsxs("div",{children:[e.jsx("p",{className:"font-medium",children:x.name}),e.jsxs("p",{className:"text-xs text-muted-foreground",children:[x.size," • Updated ",x.lastModified]})]})]}),e.jsx(ge,{variant:"secondary",children:"Stored"})]}),e.jsxs("div",{className:"flex flex-wrap gap-2",children:[d&&e.jsx(D,{variant:"outline",size:"sm",asChild:!0,children:e.jsx("a",{href:d,target:"_blank",rel:"noreferrer",children:"View PDF"})}),e.jsxs(D,{variant:"destructive",size:"sm",onClick:v,children:[e.jsx(Zo,{className:"h-4 w-4 mr-2"}),"Delete"]})]})]}),e.jsxs("div",{className:"rounded-md border border-muted p-4",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("p",{className:"font-medium",children:"Extracted preview"}),r==="parsing"&&e.jsx(ge,{variant:"outline",children:"Parsing..."})]}),r==="error"?e.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:n||"Text preview is unavailable for this file."}):j?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"mt-2 max-h-48 overflow-y-auto rounded-md border bg-muted/30 p-2",children:e.jsx("p",{className:"whitespace-pre-wrap text-sm text-muted-foreground",children:j})}),w&&e.jsx(D,{variant:"link",size:"sm",className:"px-0",onClick:()=>y(S=>!S),children:m?"Show less":"Show full text"})]}):e.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:"Upload a PDF to preview extracted text from the host app."})]})]}),e.jsx(ia,{children:e.jsx(D,{variant:"outline",onClick:()=>i(!1),children:"Close"})})]})]})}function DG({savedJobs:t,applications:a,recommendedJobs:r,onApply:n,onRemove:s,onUploadCV:i,cvPreviewText:c,cvPreviewStatus:l,cvPreviewErrorMessage:d,onSetAlert:h,onUpdateProfile:u}){const p=w=>({savedJobs:w.saved,recommendedJobs:w.recommended,applications:w.applications}),[m,y]=M.useState({saved:t||[],recommended:r||[],applications:a||[]});M.useEffect(()=>{y({saved:t||[],recommended:r||[],applications:a||[]})},[t,r,a]);const x=w=>{y(j=>{if(j.saved.some(A=>A.id===w.id))return j;const C={...j,saved:[...j.saved,w]};return u==null||u({type:"jobs",payload:p(C)}),C})},f=w=>{y(j=>{const S={...j,saved:j.saved.filter(C=>C.id!==w)};return u==null||u({type:"jobs",payload:p(S)}),S})},v=w=>{y(j=>{const S={...j,recommended:j.recommended.filter(C=>C.id!==w)};return u==null||u({type:"jobs",payload:p(S)}),S})},k=w=>{const j=m.recommended.find(S=>S.id===w);j&&(y(S=>{const C={...S,applications:[...S.applications,{...j,status:"Applied",appliedDate:new Date().toLocaleDateString()}]};return u==null||u({type:"jobs",payload:p(C)}),C}),n(w))};return e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsxs("div",{children:[e.jsx("h2",{className:"text-3xl font-bold",children:"Jobs"}),e.jsx("p",{className:"text-muted-foreground mt-1",children:"Manage your job search"})]}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(D,{variant:"outline",onClick:h,children:"Set Job Alerts"}),e.jsx(qG,{onCVChange:i,previewText:c,previewStatus:l,previewErrorMessage:d})]})]}),e.jsxs(Tr,{defaultValue:"recommended",className:"w-full",children:[e.jsxs(tr,{className:"grid w-full grid-cols-3 lg:grid-cols-3",children:[e.jsxs(Ce,{value:"recommended",children:["Recommended (",m.recommended.length,")"]}),e.jsxs(Ce,{value:"saved",children:[e.jsx(xa,{className:"h-4 w-4 mr-2"}),"Saved (",m.saved.length,")"]}),e.jsxs(Ce,{value:"applications",children:[e.jsx(nt,{className:"h-4 w-4 mr-2"}),"Applications (",m.applications.length,")"]})]}),e.jsx(Se,{value:"recommended",className:"space-y-4",children:e.jsx("div",{className:"grid gap-4",children:m.recommended.map(w=>e.jsx(m9,{job:w,view:"recommended",isSaved:m.saved.some(j=>j.id===w.id),onApply:k,onSave:x,onRemove:v},w.id))})}),e.jsx(Se,{value:"saved",className:"space-y-4",children:e.jsx("div",{className:"grid gap-4",children:m.saved.length===0?e.jsx(ce,{children:e.jsxs(de,{className:"flex flex-col items-center justify-center py-10",children:[e.jsx(xa,{className:"h-12 w-12 text-muted-foreground mb-4"}),e.jsx("p",{className:"text-muted-foreground",children:"No saved jobs yet"}),e.jsx(D,{variant:"link",className:"mt-2",children:"Browse Jobs"})]})}):m.saved.map(w=>e.jsx(m9,{job:w,view:"saved",onRemove:f},w.id))})}),e.jsx(Se,{value:"applications",className:"space-y-4",children:e.jsx("div",{className:"grid gap-4",children:m.applications.length===0?e.jsx(ce,{children:e.jsxs(de,{className:"flex flex-col items-center justify-center py-10",children:[e.jsx(nt,{className:"h-12 w-12 text-muted-foreground mb-4"}),e.jsx("p",{className:"text-muted-foreground",children:"No applications yet"}),e.jsx(D,{variant:"link",className:"mt-2",children:"Start Applying"})]})}):m.applications.map(w=>e.jsx(m9,{job:w,view:"applications",onViewApplication:()=>{}},w.id))})})]})]})}function zG(t,a=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var k;const{scope:m,children:y,...x}=p,f=((k=m==null?void 0:m[t])==null?void 0:k[d])||l,v=g.useMemo(()=>x,Object.values(x));return e.jsx(f.Provider,{value:v,children:y})};h.displayName=i+"Provider";function u(p,m){var f;const y=((f=m==null?void 0:m[t])==null?void 0:f[d])||l,x=g.useContext(y);if(x)return x;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const s=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return s.scopeName=t,[n,EG(s,...a)]}function EG(...t){const a=t[0];if(t.length===1)return a;const r=()=>{const n=t.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${a.scopeName}`]:c}),[c])}};return r.scopeName=a.scopeName,r}var FG=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],fT=FG.reduce((t,a)=>{const r=at(`Primitive.${a}`),n=g.forwardRef((s,i)=>{const{asChild:c,...l}=s,d=c?r:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),e.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${a}`,{...t,[a]:n}},{}),GS="Progress",WS=100,[OG,sW]=zG(GS),[HG,VG]=OG(GS),xT=g.forwardRef((t,a)=>{const{__scopeProgress:r,value:n=null,max:s,getValueLabel:i=BG,...c}=t;(s||s===0)&&!bN(s)&&console.error($G(`${s}`,"Progress"));const l=bN(s)?s:WS;n!==null&&!MN(n,l)&&console.error(UG(`${n}`,"Progress"));const d=MN(n,l)?n:null,h=T9(d)?i(d,l):void 0;return e.jsx(HG,{scope:r,value:d,max:l,children:e.jsx(fT.div,{"aria-valuemax":l,"aria-valuemin":0,"aria-valuenow":T9(d)?d:void 0,"aria-valuetext":h,role:"progressbar","data-state":vT(d,l),"data-value":d??void 0,"data-max":l,...c,ref:a})})});xT.displayName=GS;var gT="ProgressIndicator",kT=g.forwardRef((t,a)=>{const{__scopeProgress:r,...n}=t,s=VG(gT,r);return e.jsx(fT.div,{"data-state":vT(s.value,s.max),"data-value":s.value??void 0,"data-max":s.max,...n,ref:a})});kT.displayName=gT;function BG(t,a){return`${Math.round(t/a*100)}%`}function vT(t,a){return t==null?"indeterminate":t===a?"complete":"loading"}function T9(t){return typeof t=="number"}function bN(t){return T9(t)&&!isNaN(t)&&t>0}function MN(t,a){return T9(t)&&!isNaN(t)&&t<=a&&t>=0}function $G(t,a){return`Invalid prop \`max\` of value \`${t}\` supplied to \`${a}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${WS}\`.`}function UG(t,a){return`Invalid prop \`value\` of value \`${t}\` supplied to \`${a}\`. The \`value\` prop must be:
7838
7838
  - a positive number
7839
7839
  - less than the value passed to \`max\` (or ${WS} if no \`max\` prop is set)
7840
7840
  - \`null\` or \`undefined\` if the progress is indeterminate.
7841
7841
 
7842
- Defaulting to \`null\`.`}var vT=fT,GG=gT;const wT=g.forwardRef(({className:t,value:a,...r},n)=>e.jsx(vT,{ref:n,className:me("relative h-4 w-full overflow-hidden rounded-full bg-secondary",t),...r,children:e.jsx(GG,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(a||0)}%)`}})}));wT.displayName=vT.displayName;function WG({enrolledCourses:t,savedCourses:a,recommendedCourses:r,certificates:n,onEnroll:s,onContinue:i,onExplore:c,onSave:l,onRemoveSaved:d,onRemoveRecommended:h}){const[u,p]=M.useState({enrolled:t||[],recommended:r||[],saved:a||[]});M.useEffect(()=>{p({enrolled:t||[],recommended:r||[],saved:a||[]})},[t,r,a]);const m=k=>s(k),y=k=>{p(w=>{if(w.saved.some(C=>C.id===k.id))return w;const S={...w,saved:[...w.saved,{...k,saved:!0}],recommended:w.recommended.map(C=>C.id===k.id?{...C,saved:!0}:C)};return l==null||l(k.id),S})},x=k=>{p(w=>{const j={...w,saved:w.saved.filter(S=>S.id!==k),recommended:w.recommended.map(S=>S.id===k?{...S,saved:!1}:S)};return d==null||d(k),j})},f=k=>{p(w=>{const j={...w,recommended:w.recommended.filter(S=>S.id!==k)};return h==null||h(k),j})},v=({course:k,view:w})=>{const j=u.saved.some(S=>S.id===k.id);return e.jsxs(de,{children:[e.jsx(xe,{children:e.jsxs("div",{className:"flex justify-between items-start",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx(ke,{className:"text-lg",children:k.title}),e.jsx($e,{children:k.provider})]}),e.jsx(ge,{variant:"outline",children:k.level})]})}),e.jsx(ue,{children:e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground",children:[e.jsx("span",{children:k.duration}),k.certificate&&e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(Yt,{className:"h-4 w-4"}),"Certificate"]})]}),e.jsx("div",{className:"flex flex-wrap gap-2",children:k.tags.map(S=>e.jsx(ge,{variant:"secondary",children:S},S))}),w==="enrolled"&&k.progress!==void 0&&e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex justify-between text-sm",children:[e.jsx("span",{className:"text-muted-foreground",children:"Progress"}),e.jsxs("span",{className:"font-medium",children:[k.progress,"%"]})]}),e.jsx(wT,{value:k.progress})]}),w==="recommended"&&k.reason&&e.jsxs("p",{className:"text-xs text-muted-foreground italic",children:["💡 ",k.reason]}),e.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:flex-wrap",children:[w==="enrolled"&&e.jsx(z,{className:"sm:w-auto w-full",onClick:()=>i(k.id),children:"Continue Learning"}),w==="recommended"&&e.jsxs(e.Fragment,{children:[e.jsx(z,{className:"sm:w-auto w-full",onClick:()=>m(k.id),children:"Enroll Now"}),e.jsx(z,{variant:j?"secondary":"outline",className:"sm:w-auto w-full",size:"sm",disabled:j,onClick:()=>y(k),children:j?"Saved":"Save Course"}),e.jsx(z,{variant:"destructive",size:"sm",className:"sm:w-auto w-full",onClick:()=>f(k.id),children:"Remove"}),!h&&e.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove not available yet"})]}),w==="saved"&&e.jsxs(e.Fragment,{children:[e.jsx(z,{className:"sm:w-auto w-full",size:"sm",onClick:()=>m(k.id),children:"Start Course"}),e.jsx(z,{variant:"destructive",size:"sm",className:"sm:w-auto w-full",onClick:()=>x(k.id),children:"Remove Saved"}),!d&&e.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove from saved not available yet"})]})]})]})})]})};return e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsxs("div",{children:[e.jsx("h2",{className:"text-3xl font-bold",children:"Courses"}),e.jsx("p",{className:"text-muted-foreground mt-1",children:"Advance your iGaming career"})]}),e.jsx(z,{onClick:c,children:"Explore All Courses"})]}),e.jsxs(Rr,{defaultValue:"enrolled",className:"w-full",children:[e.jsxs(Ka,{className:"grid w-full grid-cols-3 lg:grid-cols-4",children:[e.jsxs(Se,{value:"enrolled",children:[e.jsx(ea,{className:"h-4 w-4 mr-2"}),"Enrolled (",u.enrolled.length,")"]}),e.jsxs(Se,{value:"recommended",children:[e.jsx(Ia,{className:"h-4 w-4 mr-2"}),"Recommended (",u.recommended.length,")"]}),e.jsxs(Se,{value:"saved",children:[e.jsx(pa,{className:"h-4 w-4 mr-2"}),"Saved (",u.saved.length,")"]}),e.jsxs(Se,{value:"certificates",children:[e.jsx(Yt,{className:"h-4 w-4 mr-2"}),"Certificates (",n.length,")"]})]}),e.jsx(Le,{value:"enrolled",className:"space-y-4",children:e.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.enrolled.length===0?e.jsx(de,{className:"md:col-span-2",children:e.jsxs(ue,{className:"flex flex-col items-center justify-center py-10",children:[e.jsx(ea,{className:"h-12 w-12 text-muted-foreground mb-4"}),e.jsx("p",{className:"text-muted-foreground",children:"No enrolled courses yet"}),e.jsx(z,{variant:"link",className:"mt-2",onClick:c,children:"Browse Courses"})]})}):u.enrolled.map(k=>e.jsx(v,{course:k,view:"enrolled"},k.id))})}),e.jsx(Le,{value:"recommended",className:"space-y-4",children:e.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.recommended.map(k=>e.jsx(v,{course:k,view:"recommended"},k.id))})}),e.jsx(Le,{value:"saved",className:"space-y-4",children:e.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.saved.length===0?e.jsx(de,{className:"md:col-span-2",children:e.jsxs(ue,{className:"flex flex-col items-center justify-center py-10",children:[e.jsx(pa,{className:"h-12 w-12 text-muted-foreground mb-4"}),e.jsx("p",{className:"text-muted-foreground",children:"No saved courses yet"}),e.jsx(z,{variant:"link",className:"mt-2",onClick:c,children:"Browse Courses"}),!l&&e.jsx("p",{className:"text-[11px] text-muted-foreground mt-2",children:"Saving courses not available yet"})]})}):u.saved.map(k=>e.jsx(v,{course:k,view:"saved"},k.id))})}),e.jsx(Le,{value:"certificates",className:"space-y-4",children:e.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:n.length===0?e.jsx(de,{className:"md:col-span-2",children:e.jsxs(ue,{className:"flex flex-col items-center justify-center py-10",children:[e.jsx(Yt,{className:"h-12 w-12 text-muted-foreground mb-4"}),e.jsx("p",{className:"text-muted-foreground",children:"No certificates yet"}),e.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Complete courses to earn certificates"})]})}):n.map(k=>e.jsxs(de,{children:[e.jsx(xe,{children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx("div",{className:"p-2 rounded-lg bg-accent/10",children:e.jsx(Yt,{className:"h-6 w-6 text-accent"})}),e.jsxs("div",{className:"flex-1",children:[e.jsx(ke,{className:"text-base",children:k.title}),e.jsx($e,{children:k.issuer}),e.jsxs("p",{className:"text-xs text-muted-foreground mt-1",children:["Issued: ",k.date]})]})]})}),e.jsx(ue,{children:e.jsx(z,{variant:"outline",size:"sm",className:"w-full",children:"Download Certificate"})})]},k.id))})})]})]})}function ZG({recommendedNews:t,savedArticles:a,categories:r,selectedCategory:n,onRead:s,onSave:i,onRemoveSaved:c,onRemoveRecommended:l,onCategoryChange:d,onManagePreferences:h}){const[u,p]=M.useState({recommended:t||[],saved:a||[]});M.useEffect(()=>{p({recommended:t||[],saved:a||[]})},[t,a]);const m=f=>{p(v=>{if(v.saved.some(j=>j.id===f.id))return v;const w={recommended:v.recommended.map(j=>j.id===f.id?{...j,saved:!0}:j),saved:[...v.saved,{...f,saved:!0}]};return i(f.id),w})},y=f=>{p(v=>{const k={recommended:v.recommended.map(w=>w.id===f?{...w,saved:!1}:w),saved:v.saved.filter(w=>w.id!==f)};return c==null||c(f),k})},x=f=>{p(v=>{const k={...v,recommended:v.recommended.filter(w=>w.id!==f)};return l==null||l(f),k})};return e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsxs("div",{children:[e.jsx("h2",{className:"text-3xl font-bold",children:"News"}),e.jsx("p",{className:"text-muted-foreground mt-1",children:"Stay updated with iGaming industry"})]}),e.jsxs(z,{variant:"outline",onClick:h,children:[e.jsx(xr,{className:"h-4 w-4 mr-2"}),"Preferences"]})]}),e.jsxs(Rr,{defaultValue:"recommended",className:"w-full",children:[e.jsxs(Ka,{children:[e.jsxs(Se,{value:"recommended",children:[e.jsx(Na,{className:"h-4 w-4 mr-2"}),"Recommended (",u.recommended.length,")"]}),e.jsxs(Se,{value:"saved",children:[e.jsx(pa,{className:"h-4 w-4 mr-2"}),"Saved (",u.saved.length,")"]})]}),e.jsxs(Le,{value:"recommended",className:"space-y-4",children:[e.jsxs("div",{className:"flex flex-wrap gap-2 mb-4",children:[e.jsx(z,{variant:n==="all"?"default":"outline",size:"sm",onClick:()=>d("all"),children:"All"}),r.map(f=>e.jsx(z,{variant:n===f?"default":"outline",size:"sm",onClick:()=>d(f),children:f},f))]}),e.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.recommended.map(f=>e.jsx(jC,{article:f,view:"recommended",isSaved:u.saved.some(v=>v.id===f.id),onRead:s,onSave:m,onRemove:x},f.id))})]}),e.jsx(Le,{value:"saved",className:"space-y-4",children:e.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.saved.length===0?e.jsx(de,{className:"md:col-span-2",children:e.jsxs(ue,{className:"flex flex-col items-center justify-center py-10",children:[e.jsx(pa,{className:"h-12 w-12 text-muted-foreground mb-4"}),e.jsx("p",{className:"text-muted-foreground",children:"No saved articles yet"}),e.jsx(z,{variant:"link",className:"mt-2",onClick:h,children:"Browse News"})]})}):u.saved.map(f=>e.jsx(jC,{article:f,view:"saved",onRead:s,onRemove:y},f.id))})})]})]})}function JG({settings:t,onUpdate:a}){const{notifications:r,connectedAccounts:n,subscription:s}=t,i=d=>{a({action:"notifications",updates:d})},c=d=>{a({action:"connect-account",platform:d})},l=d=>{a({action:"disconnect-account",accountId:d})};return e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx("h2",{className:"text-3xl font-bold",children:"Settings"}),e.jsx("p",{className:"text-muted-foreground mt-1",children:"Manage your account preferences"})]}),e.jsxs(Rr,{defaultValue:"notifications",className:"w-full",children:[e.jsxs(Ka,{children:[e.jsxs(Se,{value:"notifications",children:[e.jsx(zo,{className:"h-4 w-4 mr-2"}),"Notifications"]}),e.jsxs(Se,{value:"account",children:[e.jsx(br,{className:"h-4 w-4 mr-2"}),"Account"]}),e.jsxs(Se,{value:"subscription",children:[e.jsx(Sc,{className:"h-4 w-4 mr-2"}),"Subscription"]}),e.jsxs(Se,{value:"connected",children:[e.jsx(Tc,{className:"h-4 w-4 mr-2"}),"Connected"]})]}),e.jsx(Le,{value:"notifications",children:e.jsxs(de,{children:[e.jsxs(xe,{children:[e.jsx(ke,{children:"Notification Preferences"}),e.jsx($e,{children:"Choose how you want to be notified"})]}),e.jsxs(ue,{className:"space-y-6",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx(se,{htmlFor:"email-notif",className:"text-base",children:"Email Notifications"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Receive updates via email"})]}),e.jsx(ua,{id:"email-notif",checked:r.emailNotifications,onCheckedChange:d=>i({emailNotifications:d})})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx(se,{htmlFor:"push-notif",className:"text-base",children:"Push Notifications"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Browser push notifications"})]}),e.jsx(ua,{id:"push-notif",checked:r.pushNotifications,onCheckedChange:d=>i({pushNotifications:d})})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx(se,{htmlFor:"weekly-digest",className:"text-base",children:"Weekly Digest"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Summary of activities"})]}),e.jsx(ua,{id:"weekly-digest",checked:r.weeklyDigest,onCheckedChange:d=>i({weeklyDigest:d})})]}),e.jsxs("div",{className:"border-t pt-4 space-y-4",children:[e.jsx("h4",{className:"font-medium",children:"Content Alerts"}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(se,{htmlFor:"job-alerts-set",children:"Job Alerts"}),e.jsx(ua,{id:"job-alerts-set",checked:r.jobAlerts,onCheckedChange:d=>i({jobAlerts:d})})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(se,{htmlFor:"course-updates",children:"Course Updates"}),e.jsx(ua,{id:"course-updates",checked:r.courseUpdates,onCheckedChange:d=>i({courseUpdates:d})})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(se,{htmlFor:"news-digest",children:"News Digest"}),e.jsx(ua,{id:"news-digest",checked:r.newsDigest,onCheckedChange:d=>i({newsDigest:d})})]})]})]})]})}),e.jsx(Le,{value:"account",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs(de,{children:[e.jsxs(xe,{children:[e.jsx(ke,{children:"Password"}),e.jsx($e,{children:"Change your account password"})]}),e.jsx(ue,{children:e.jsx(z,{onClick:()=>a({action:"change-password"}),children:"Change Password"})})]}),e.jsxs(de,{children:[e.jsxs(xe,{children:[e.jsx(ke,{children:"Delete Account"}),e.jsx($e,{children:"Permanently delete your account and all data"})]}),e.jsx(ue,{children:e.jsx(z,{variant:"destructive",onClick:()=>a({action:"delete-account"}),children:"Delete Account"})})]})]})}),e.jsx(Le,{value:"subscription",children:e.jsxs(de,{children:[e.jsx(xe,{children:e.jsxs("div",{className:"flex justify-between items-start",children:[e.jsxs("div",{children:[e.jsx(ke,{children:"Subscription Plan"}),e.jsx($e,{children:"Manage your membership"})]}),s.isPremium&&e.jsx(ge,{children:"Premium"})]})}),e.jsx(ue,{className:"space-y-4",children:s.isPremium?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"p-4 border rounded-lg bg-accent/5",children:[e.jsx("h4",{className:"font-semibold mb-2",children:"Premium Benefits"}),e.jsxs("ul",{className:"space-y-1 text-sm text-muted-foreground",children:[e.jsx("li",{children:"✓ Unlimited job applications"}),e.jsx("li",{children:"✓ Access to all courses"}),e.jsx("li",{children:"✓ Priority support"}),e.jsx("li",{children:"✓ Advanced analytics"}),e.jsx("li",{children:"✓ Ad-free experience"})]})]}),e.jsx(z,{variant:"outline",children:"Manage Subscription"})]}):e.jsxs(e.Fragment,{children:[e.jsx("p",{className:"text-sm text-muted-foreground",children:"Upgrade to Premium to unlock exclusive features"}),e.jsx(z,{onClick:()=>a({action:"upgrade",plan:"premium"}),children:"Upgrade to Premium"})]})})]})}),e.jsx(Le,{value:"connected",children:e.jsxs(de,{children:[e.jsxs(xe,{children:[e.jsx(ke,{children:"Connected Accounts"}),e.jsx($e,{children:"Manage linked accounts and integrations"})]}),e.jsx(ue,{className:"space-y-4",children:n.map(d=>e.jsxs("div",{className:"flex items-center justify-between p-4 border rounded-lg",children:[e.jsxs("div",{children:[e.jsx("h4",{className:"font-medium",children:d.platform}),d.connected&&d.email&&e.jsx("p",{className:"text-sm text-muted-foreground",children:d.email})]}),d.connected?e.jsx(z,{variant:"outline",size:"sm",onClick:()=>l(d.id),children:"Disconnect"}):e.jsx(z,{size:"sm",onClick:()=>c(d.platform),children:"Connect"})]},d.id))})]})})]})]})}function XG({user:t,profileData:a,jobsDashboard:r,alerts:n,snapshot:s,feedItems:i,onUploadCV:c,cvPreviewText:l,cvPreviewStatus:d,cvPreviewErrorMessage:h,coursesData:u,newsData:p,settingsData:m,onUpdateProfile:y}){const[x,f]=M.useState("overview"),v=r||(a==null?void 0:a.jobsDashboard)||{savedJobs:[],recommendedJobs:[],applications:[]},k=()=>console.log("/logout"),w=b=>console.log(b),j=async b=>{await y({type:"courses",payload:b})},S=(...b)=>console.log("Action:",...b),C=async b=>{await y({type:"news",payload:b})},A=m||{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}},L=async b=>{await y({type:"settings",payload:b})};return e.jsx(xU,{user:t,onLogout:k,onNavigate:w,currentPath:"/dashboard",notificationCount:n.length,children:e.jsxs(Rr,{value:x,onValueChange:f,className:"w-full",children:[e.jsxs(Ka,{className:"grid w-full grid-cols-3 lg:grid-cols-6",children:[e.jsxs(Se,{value:"overview",className:"flex items-center gap-2",children:[e.jsx(Va,{className:"h-4 w-4"}),e.jsx("span",{className:"hidden sm:inline",children:"Overview"})]}),e.jsxs(Se,{value:"profile",className:"flex items-center gap-2",children:[e.jsx(Jo,{className:"h-4 w-4"}),e.jsx("span",{className:"hidden sm:inline",children:"Profile"})]}),e.jsxs(Se,{value:"jobs",className:"flex items-center gap-2",children:[e.jsx(at,{className:"h-4 w-4"}),e.jsx("span",{className:"hidden sm:inline",children:"Jobs"})]}),e.jsxs(Se,{value:"courses",className:"flex items-center gap-2",children:[e.jsx(ea,{className:"h-4 w-4"}),e.jsx("span",{className:"hidden sm:inline",children:"Courses"})]}),e.jsxs(Se,{value:"news",className:"flex items-center gap-2",children:[e.jsx(Na,{className:"h-4 w-4"}),e.jsx("span",{className:"hidden sm:inline",children:"News"})]}),e.jsxs(Se,{value:"settings",className:"flex items-center gap-2",children:[e.jsx(Go,{className:"h-4 w-4"}),e.jsx("span",{className:"hidden sm:inline",children:"Settings"})]})]}),e.jsx(Le,{value:"overview",className:"mt-6",children:e.jsx(gU,{userName:t.name,feedItems:i,alerts:n,snapshot:s,onSave:S,onApply:S,onEnroll:b=>j({action:"enroll",courseId:b}),onRead:b=>C({action:"read",articleId:b})})}),e.jsx(Le,{value:"profile",className:"mt-6",children:e.jsx(RG,{profile:a,onUpdate:b=>y(b)})}),e.jsx(Le,{value:"jobs",className:"mt-6",children:e.jsx(DG,{savedJobs:v.savedJobs,applications:v.applications,recommendedJobs:v.recommendedJobs,onApply:b=>console.log("Applied:",b),onRemove:b=>console.log("Removed:",b),onUploadCV:c??(b=>console.log("Upload CV changed:",(b==null?void 0:b.name)||"removed")),cvPreviewText:l,cvPreviewStatus:d,cvPreviewErrorMessage:h,onSetAlert:()=>console.log("Set alerts clicked"),onUpdateProfile:async b=>{await y({type:"jobs",payload:b.payload})}})}),e.jsx(Le,{value:"courses",className:"mt-6",children:e.jsx(WG,{enrolledCourses:(u==null?void 0:u.enrolledCourses)||[],savedCourses:(u==null?void 0:u.savedCourses)||[],recommendedCourses:(u==null?void 0:u.recommendedCourses)||[],certificates:(u==null?void 0:u.certificates)||[],onEnroll:b=>j({action:"enroll",courseId:b}),onContinue:b=>j({action:"continue",courseId:b}),onExplore:()=>j({action:"explore"}),onSave:b=>j({action:"save",courseId:b}),onRemoveSaved:b=>j({action:"remove-saved",courseId:b}),onRemoveRecommended:b=>j({action:"remove-recommended",courseId:b})})}),e.jsx(Le,{value:"news",className:"mt-6",children:e.jsx(ZG,{recommendedNews:(p==null?void 0:p.recommendedNews)||[],savedArticles:(p==null?void 0:p.savedArticles)||[],categories:(p==null?void 0:p.categories)||[],selectedCategory:(p==null?void 0:p.selectedCategory)||"all",onRead:b=>C({action:"read",articleId:b}),onSave:b=>C({action:"save",articleId:b}),onRemoveSaved:b=>C({action:"remove-saved",articleId:b}),onRemoveRecommended:b=>C({action:"remove-recommended",articleId:b}),onCategoryChange:b=>C({action:"category",category:b}),onManagePreferences:()=>C({action:"manage-preferences"})})}),e.jsx(Le,{value:"settings",className:"mt-6",children:e.jsx(JG,{settings:A,onUpdate:L})})]})})}exports.Advantages=sA;exports.Analytics=tU;exports.Banner=ol;exports.Button=z;exports.CandidateProfile=cH;exports.Cart=gA;exports.Chatbot=xA;exports.CompanyClaim=U$;exports.CompanyDetail=S$;exports.CompanyDirectory=xR;exports.CompanyDirectoryContainer=$$;exports.CompanyGroupDetail=L$;exports.ConsentBanner=_A;exports.ConsentProvider=PA;exports.CourseTypes=vA;exports.Courses=cA;exports.CoursesPage=TO;exports.Dashboard=XG;exports.Destinations=lA;exports.FAQ=mA;exports.FeatureJobs=Fz;exports.Features=yA;exports.Footer=nE;exports.FooterLib=NA;exports.ForEmployers=wA;exports.ForgotPassword=uU;exports.Gallery=fA;exports.GroupPrices=sD;exports.Header=CO;exports.HeaderAlternative=LA;exports.Hero=dA;exports.HeroAlternative=bA;exports.HomePage=Ez;exports.IgamingCareerHome=Xz;exports.Input=Re;exports.JobDetailPage=jO;exports.JobListings=rE;exports.JobSearchWidget=SA;exports.Listing=vO;exports.Login=sU;exports.MobileNav=qA;exports.Navbar=sE;exports.NewsPage=LO;exports.Newsletter=CA;exports.NotificationModal=RA;exports.Partners=IA;exports.Register=oU;exports.RegisterV2=dU;exports.SearchableSelect=H9;exports.Services=hA;exports.ServicesNoIcons=kA;exports.SidebarNewsletter=eS;exports.SignInPromptModal=mU;exports.SlidingSummary=iD;exports.TagBadge=AC;exports.TagPicker=gq;exports.Testimonials=uA;exports.TrustSignals=jA;exports.ValueProposition=MA;exports.Videos=pA;exports.useConsent=QC;
7842
+ Defaulting to \`null\`.`}var wT=xT,GG=kT;const bT=g.forwardRef(({className:t,value:a,...r},n)=>e.jsx(wT,{ref:n,className:me("relative h-4 w-full overflow-hidden rounded-full bg-secondary",t),...r,children:e.jsx(GG,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(a||0)}%)`}})}));bT.displayName=wT.displayName;function WG({enrolledCourses:t,savedCourses:a,recommendedCourses:r,certificates:n,onEnroll:s,onContinue:i,onExplore:c,onSave:l,onRemoveSaved:d,onRemoveRecommended:h}){const[u,p]=M.useState({enrolled:t||[],recommended:r||[],saved:a||[]});M.useEffect(()=>{p({enrolled:t||[],recommended:r||[],saved:a||[]})},[t,r,a]);const m=k=>s(k),y=k=>{p(w=>{if(w.saved.some(C=>C.id===k.id))return w;const S={...w,saved:[...w.saved,{...k,saved:!0}],recommended:w.recommended.map(C=>C.id===k.id?{...C,saved:!0}:C)};return l==null||l(k.id),S})},x=k=>{p(w=>{const j={...w,saved:w.saved.filter(S=>S.id!==k),recommended:w.recommended.map(S=>S.id===k?{...S,saved:!1}:S)};return d==null||d(k),j})},f=k=>{p(w=>{const j={...w,recommended:w.recommended.filter(S=>S.id!==k)};return h==null||h(k),j})},v=({course:k,view:w})=>{const j=u.saved.some(S=>S.id===k.id);return e.jsxs(ce,{children:[e.jsx(xe,{children:e.jsxs("div",{className:"flex justify-between items-start",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx(ke,{className:"text-lg",children:k.title}),e.jsx(Ge,{children:k.provider})]}),e.jsx(ge,{variant:"outline",children:k.level})]})}),e.jsx(de,{children:e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground",children:[e.jsx("span",{children:k.duration}),k.certificate&&e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(ea,{className:"h-4 w-4"}),"Certificate"]})]}),e.jsx("div",{className:"flex flex-wrap gap-2",children:k.tags.map(S=>e.jsx(ge,{variant:"secondary",children:S},S))}),w==="enrolled"&&k.progress!==void 0&&e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex justify-between text-sm",children:[e.jsx("span",{className:"text-muted-foreground",children:"Progress"}),e.jsxs("span",{className:"font-medium",children:[k.progress,"%"]})]}),e.jsx(bT,{value:k.progress})]}),w==="recommended"&&k.reason&&e.jsxs("p",{className:"text-xs text-muted-foreground italic",children:["💡 ",k.reason]}),e.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:flex-wrap",children:[w==="enrolled"&&e.jsx(D,{className:"sm:w-auto w-full",onClick:()=>i(k.id),children:"Continue Learning"}),w==="recommended"&&e.jsxs(e.Fragment,{children:[e.jsx(D,{className:"sm:w-auto w-full",onClick:()=>m(k.id),children:"Enroll Now"}),e.jsx(D,{variant:j?"secondary":"outline",className:"sm:w-auto w-full",size:"sm",disabled:j,onClick:()=>y(k),children:j?"Saved":"Save Course"}),e.jsx(D,{variant:"destructive",size:"sm",className:"sm:w-auto w-full",onClick:()=>f(k.id),children:"Remove"}),!h&&e.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove not available yet"})]}),w==="saved"&&e.jsxs(e.Fragment,{children:[e.jsx(D,{className:"sm:w-auto w-full",size:"sm",onClick:()=>m(k.id),children:"Start Course"}),e.jsx(D,{variant:"destructive",size:"sm",className:"sm:w-auto w-full",onClick:()=>x(k.id),children:"Remove Saved"}),!d&&e.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove from saved not available yet"})]})]})]})})]})};return e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsxs("div",{children:[e.jsx("h2",{className:"text-3xl font-bold",children:"Courses"}),e.jsx("p",{className:"text-muted-foreground mt-1",children:"Advance your iGaming career"})]}),e.jsx(D,{onClick:c,children:"Explore All Courses"})]}),e.jsxs(Tr,{defaultValue:"enrolled",className:"w-full",children:[e.jsxs(tr,{className:"grid w-full grid-cols-3 lg:grid-cols-4",children:[e.jsxs(Ce,{value:"enrolled",children:[e.jsx(ra,{className:"h-4 w-4 mr-2"}),"Enrolled (",u.enrolled.length,")"]}),e.jsxs(Ce,{value:"recommended",children:[e.jsx(Ra,{className:"h-4 w-4 mr-2"}),"Recommended (",u.recommended.length,")"]}),e.jsxs(Ce,{value:"saved",children:[e.jsx(xa,{className:"h-4 w-4 mr-2"}),"Saved (",u.saved.length,")"]}),e.jsxs(Ce,{value:"certificates",children:[e.jsx(ea,{className:"h-4 w-4 mr-2"}),"Certificates (",n.length,")"]})]}),e.jsx(Se,{value:"enrolled",className:"space-y-4",children:e.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.enrolled.length===0?e.jsx(ce,{className:"md:col-span-2",children:e.jsxs(de,{className:"flex flex-col items-center justify-center py-10",children:[e.jsx(ra,{className:"h-12 w-12 text-muted-foreground mb-4"}),e.jsx("p",{className:"text-muted-foreground",children:"No enrolled courses yet"}),e.jsx(D,{variant:"link",className:"mt-2",onClick:c,children:"Browse Courses"})]})}):u.enrolled.map(k=>e.jsx(v,{course:k,view:"enrolled"},k.id))})}),e.jsx(Se,{value:"recommended",className:"space-y-4",children:e.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.recommended.map(k=>e.jsx(v,{course:k,view:"recommended"},k.id))})}),e.jsx(Se,{value:"saved",className:"space-y-4",children:e.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.saved.length===0?e.jsx(ce,{className:"md:col-span-2",children:e.jsxs(de,{className:"flex flex-col items-center justify-center py-10",children:[e.jsx(xa,{className:"h-12 w-12 text-muted-foreground mb-4"}),e.jsx("p",{className:"text-muted-foreground",children:"No saved courses yet"}),e.jsx(D,{variant:"link",className:"mt-2",onClick:c,children:"Browse Courses"}),!l&&e.jsx("p",{className:"text-[11px] text-muted-foreground mt-2",children:"Saving courses not available yet"})]})}):u.saved.map(k=>e.jsx(v,{course:k,view:"saved"},k.id))})}),e.jsx(Se,{value:"certificates",className:"space-y-4",children:e.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:n.length===0?e.jsx(ce,{className:"md:col-span-2",children:e.jsxs(de,{className:"flex flex-col items-center justify-center py-10",children:[e.jsx(ea,{className:"h-12 w-12 text-muted-foreground mb-4"}),e.jsx("p",{className:"text-muted-foreground",children:"No certificates yet"}),e.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Complete courses to earn certificates"})]})}):n.map(k=>e.jsxs(ce,{children:[e.jsx(xe,{children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx("div",{className:"p-2 rounded-lg bg-accent/10",children:e.jsx(ea,{className:"h-6 w-6 text-accent"})}),e.jsxs("div",{className:"flex-1",children:[e.jsx(ke,{className:"text-base",children:k.title}),e.jsx(Ge,{children:k.issuer}),e.jsxs("p",{className:"text-xs text-muted-foreground mt-1",children:["Issued: ",k.date]})]})]})}),e.jsx(de,{children:e.jsx(D,{variant:"outline",size:"sm",className:"w-full",children:"Download Certificate"})})]},k.id))})})]})]})}function ZG({recommendedNews:t,savedArticles:a,categories:r,selectedCategory:n,onRead:s,onSave:i,onRemoveSaved:c,onRemoveRecommended:l,onCategoryChange:d,onManagePreferences:h}){const[u,p]=M.useState({recommended:t||[],saved:a||[]});M.useEffect(()=>{p({recommended:t||[],saved:a||[]})},[t,a]);const m=f=>{p(v=>{if(v.saved.some(j=>j.id===f.id))return v;const w={recommended:v.recommended.map(j=>j.id===f.id?{...j,saved:!0}:j),saved:[...v.saved,{...f,saved:!0}]};return i(f.id),w})},y=f=>{p(v=>{const k={recommended:v.recommended.map(w=>w.id===f?{...w,saved:!1}:w),saved:v.saved.filter(w=>w.id!==f)};return c==null||c(f),k})},x=f=>{p(v=>{const k={...v,recommended:v.recommended.filter(w=>w.id!==f)};return l==null||l(f),k})};return e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsxs("div",{children:[e.jsx("h2",{className:"text-3xl font-bold",children:"News"}),e.jsx("p",{className:"text-muted-foreground mt-1",children:"Stay updated with iGaming industry"})]}),e.jsxs(D,{variant:"outline",onClick:h,children:[e.jsx(gr,{className:"h-4 w-4 mr-2"}),"Preferences"]})]}),e.jsxs(Tr,{defaultValue:"recommended",className:"w-full",children:[e.jsxs(tr,{children:[e.jsxs(Ce,{value:"recommended",children:[e.jsx(_a,{className:"h-4 w-4 mr-2"}),"Recommended (",u.recommended.length,")"]}),e.jsxs(Ce,{value:"saved",children:[e.jsx(xa,{className:"h-4 w-4 mr-2"}),"Saved (",u.saved.length,")"]})]}),e.jsxs(Se,{value:"recommended",className:"space-y-4",children:[e.jsxs("div",{className:"flex flex-wrap gap-2 mb-4",children:[e.jsx(D,{variant:n==="all"?"default":"outline",size:"sm",onClick:()=>d("all"),children:"All"}),r.map(f=>e.jsx(D,{variant:n===f?"default":"outline",size:"sm",onClick:()=>d(f),children:f},f))]}),e.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.recommended.map(f=>e.jsx(jC,{article:f,view:"recommended",isSaved:u.saved.some(v=>v.id===f.id),onRead:s,onSave:m,onRemove:x},f.id))})]}),e.jsx(Se,{value:"saved",className:"space-y-4",children:e.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.saved.length===0?e.jsx(ce,{className:"md:col-span-2",children:e.jsxs(de,{className:"flex flex-col items-center justify-center py-10",children:[e.jsx(xa,{className:"h-12 w-12 text-muted-foreground mb-4"}),e.jsx("p",{className:"text-muted-foreground",children:"No saved articles yet"}),e.jsx(D,{variant:"link",className:"mt-2",onClick:h,children:"Browse News"})]})}):u.saved.map(f=>e.jsx(jC,{article:f,view:"saved",onRead:s,onRemove:y},f.id))})})]})]})}function JG({settings:t,onUpdate:a}){const{notifications:r,connectedAccounts:n,subscription:s}=t,i=d=>{a({action:"notifications",updates:d})},c=d=>{a({action:"connect-account",platform:d})},l=d=>{a({action:"disconnect-account",accountId:d})};return e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx("h2",{className:"text-3xl font-bold",children:"Settings"}),e.jsx("p",{className:"text-muted-foreground mt-1",children:"Manage your account preferences"})]}),e.jsxs(Tr,{defaultValue:"notifications",className:"w-full",children:[e.jsxs(tr,{children:[e.jsxs(Ce,{value:"notifications",children:[e.jsx(zo,{className:"h-4 w-4 mr-2"}),"Notifications"]}),e.jsxs(Ce,{value:"account",children:[e.jsx(Mr,{className:"h-4 w-4 mr-2"}),"Account"]}),e.jsxs(Ce,{value:"subscription",children:[e.jsx(Sc,{className:"h-4 w-4 mr-2"}),"Subscription"]}),e.jsxs(Ce,{value:"connected",children:[e.jsx(Tc,{className:"h-4 w-4 mr-2"}),"Connected"]})]}),e.jsx(Se,{value:"notifications",children:e.jsxs(ce,{children:[e.jsxs(xe,{children:[e.jsx(ke,{children:"Notification Preferences"}),e.jsx(Ge,{children:"Choose how you want to be notified"})]}),e.jsxs(de,{className:"space-y-6",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx(ne,{htmlFor:"email-notif",className:"text-base",children:"Email Notifications"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Receive updates via email"})]}),e.jsx(fa,{id:"email-notif",checked:r.emailNotifications,onCheckedChange:d=>i({emailNotifications:d})})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx(ne,{htmlFor:"push-notif",className:"text-base",children:"Push Notifications"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Browser push notifications"})]}),e.jsx(fa,{id:"push-notif",checked:r.pushNotifications,onCheckedChange:d=>i({pushNotifications:d})})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx(ne,{htmlFor:"weekly-digest",className:"text-base",children:"Weekly Digest"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Summary of activities"})]}),e.jsx(fa,{id:"weekly-digest",checked:r.weeklyDigest,onCheckedChange:d=>i({weeklyDigest:d})})]}),e.jsxs("div",{className:"border-t pt-4 space-y-4",children:[e.jsx("h4",{className:"font-medium",children:"Content Alerts"}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(ne,{htmlFor:"job-alerts-set",children:"Job Alerts"}),e.jsx(fa,{id:"job-alerts-set",checked:r.jobAlerts,onCheckedChange:d=>i({jobAlerts:d})})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(ne,{htmlFor:"course-updates",children:"Course Updates"}),e.jsx(fa,{id:"course-updates",checked:r.courseUpdates,onCheckedChange:d=>i({courseUpdates:d})})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(ne,{htmlFor:"news-digest",children:"News Digest"}),e.jsx(fa,{id:"news-digest",checked:r.newsDigest,onCheckedChange:d=>i({newsDigest:d})})]})]})]})]})}),e.jsx(Se,{value:"account",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs(ce,{children:[e.jsxs(xe,{children:[e.jsx(ke,{children:"Password"}),e.jsx(Ge,{children:"Change your account password"})]}),e.jsx(de,{children:e.jsx(D,{onClick:()=>a({action:"change-password"}),children:"Change Password"})})]}),e.jsxs(ce,{children:[e.jsxs(xe,{children:[e.jsx(ke,{children:"Delete Account"}),e.jsx(Ge,{children:"Permanently delete your account and all data"})]}),e.jsx(de,{children:e.jsx(D,{variant:"destructive",onClick:()=>a({action:"delete-account"}),children:"Delete Account"})})]})]})}),e.jsx(Se,{value:"subscription",children:e.jsxs(ce,{children:[e.jsx(xe,{children:e.jsxs("div",{className:"flex justify-between items-start",children:[e.jsxs("div",{children:[e.jsx(ke,{children:"Subscription Plan"}),e.jsx(Ge,{children:"Manage your membership"})]}),s.isPremium&&e.jsx(ge,{children:"Premium"})]})}),e.jsx(de,{className:"space-y-4",children:s.isPremium?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"p-4 border rounded-lg bg-accent/5",children:[e.jsx("h4",{className:"font-semibold mb-2",children:"Premium Benefits"}),e.jsxs("ul",{className:"space-y-1 text-sm text-muted-foreground",children:[e.jsx("li",{children:"✓ Unlimited job applications"}),e.jsx("li",{children:"✓ Access to all courses"}),e.jsx("li",{children:"✓ Priority support"}),e.jsx("li",{children:"✓ Advanced analytics"}),e.jsx("li",{children:"✓ Ad-free experience"})]})]}),e.jsx(D,{variant:"outline",children:"Manage Subscription"})]}):e.jsxs(e.Fragment,{children:[e.jsx("p",{className:"text-sm text-muted-foreground",children:"Upgrade to Premium to unlock exclusive features"}),e.jsx(D,{onClick:()=>a({action:"upgrade",plan:"premium"}),children:"Upgrade to Premium"})]})})]})}),e.jsx(Se,{value:"connected",children:e.jsxs(ce,{children:[e.jsxs(xe,{children:[e.jsx(ke,{children:"Connected Accounts"}),e.jsx(Ge,{children:"Manage linked accounts and integrations"})]}),e.jsx(de,{className:"space-y-4",children:n.map(d=>e.jsxs("div",{className:"flex items-center justify-between p-4 border rounded-lg",children:[e.jsxs("div",{children:[e.jsx("h4",{className:"font-medium",children:d.platform}),d.connected&&d.email&&e.jsx("p",{className:"text-sm text-muted-foreground",children:d.email})]}),d.connected?e.jsx(D,{variant:"outline",size:"sm",onClick:()=>l(d.id),children:"Disconnect"}):e.jsx(D,{size:"sm",onClick:()=>c(d.platform),children:"Connect"})]},d.id))})]})})]})]})}function XG({user:t,profileData:a,jobsDashboard:r,alerts:n,snapshot:s,feedItems:i,onUploadCV:c,cvPreviewText:l,cvPreviewStatus:d,cvPreviewErrorMessage:h,coursesData:u,newsData:p,settingsData:m,onUpdateProfile:y}){const[x,f]=M.useState("overview"),v=r||(a==null?void 0:a.jobsDashboard)||{savedJobs:[],recommendedJobs:[],applications:[]},k=()=>console.log("/logout"),w=b=>console.log(b),j=async b=>{await y({type:"courses",payload:b})},S=(...b)=>console.log("Action:",...b),C=async b=>{await y({type:"news",payload:b})},A=m||{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}},L=async b=>{await y({type:"settings",payload:b})};return e.jsx(xU,{user:t,onLogout:k,onNavigate:w,currentPath:"/dashboard",notificationCount:n.length,children:e.jsxs(Tr,{value:x,onValueChange:f,className:"w-full",children:[e.jsxs(tr,{className:"grid w-full grid-cols-3 lg:grid-cols-6",children:[e.jsxs(Ce,{value:"overview",className:"flex items-center gap-2",children:[e.jsx(Ua,{className:"h-4 w-4"}),e.jsx("span",{className:"hidden sm:inline",children:"Overview"})]}),e.jsxs(Ce,{value:"profile",className:"flex items-center gap-2",children:[e.jsx(Jo,{className:"h-4 w-4"}),e.jsx("span",{className:"hidden sm:inline",children:"Profile"})]}),e.jsxs(Ce,{value:"jobs",className:"flex items-center gap-2",children:[e.jsx(nt,{className:"h-4 w-4"}),e.jsx("span",{className:"hidden sm:inline",children:"Jobs"})]}),e.jsxs(Ce,{value:"courses",className:"flex items-center gap-2",children:[e.jsx(ra,{className:"h-4 w-4"}),e.jsx("span",{className:"hidden sm:inline",children:"Courses"})]}),e.jsxs(Ce,{value:"news",className:"flex items-center gap-2",children:[e.jsx(_a,{className:"h-4 w-4"}),e.jsx("span",{className:"hidden sm:inline",children:"News"})]}),e.jsxs(Ce,{value:"settings",className:"flex items-center gap-2",children:[e.jsx(Go,{className:"h-4 w-4"}),e.jsx("span",{className:"hidden sm:inline",children:"Settings"})]})]}),e.jsx(Se,{value:"overview",className:"mt-6",children:e.jsx(gU,{userName:t.name,feedItems:i,alerts:n,snapshot:s,onSave:S,onApply:S,onEnroll:b=>j({action:"enroll",courseId:b}),onRead:b=>C({action:"read",articleId:b})})}),e.jsx(Se,{value:"profile",className:"mt-6",children:e.jsx(RG,{profile:a,onUpdate:b=>y(b)})}),e.jsx(Se,{value:"jobs",className:"mt-6",children:e.jsx(DG,{savedJobs:v.savedJobs,applications:v.applications,recommendedJobs:v.recommendedJobs,onApply:b=>console.log("Applied:",b),onRemove:b=>console.log("Removed:",b),onUploadCV:c??(b=>console.log("Upload CV changed:",(b==null?void 0:b.name)||"removed")),cvPreviewText:l,cvPreviewStatus:d,cvPreviewErrorMessage:h,onSetAlert:()=>console.log("Set alerts clicked"),onUpdateProfile:async b=>{await y({type:"jobs",payload:b.payload})}})}),e.jsx(Se,{value:"courses",className:"mt-6",children:e.jsx(WG,{enrolledCourses:(u==null?void 0:u.enrolledCourses)||[],savedCourses:(u==null?void 0:u.savedCourses)||[],recommendedCourses:(u==null?void 0:u.recommendedCourses)||[],certificates:(u==null?void 0:u.certificates)||[],onEnroll:b=>j({action:"enroll",courseId:b}),onContinue:b=>j({action:"continue",courseId:b}),onExplore:()=>j({action:"explore"}),onSave:b=>j({action:"save",courseId:b}),onRemoveSaved:b=>j({action:"remove-saved",courseId:b}),onRemoveRecommended:b=>j({action:"remove-recommended",courseId:b})})}),e.jsx(Se,{value:"news",className:"mt-6",children:e.jsx(ZG,{recommendedNews:(p==null?void 0:p.recommendedNews)||[],savedArticles:(p==null?void 0:p.savedArticles)||[],categories:(p==null?void 0:p.categories)||[],selectedCategory:(p==null?void 0:p.selectedCategory)||"all",onRead:b=>C({action:"read",articleId:b}),onSave:b=>C({action:"save",articleId:b}),onRemoveSaved:b=>C({action:"remove-saved",articleId:b}),onRemoveRecommended:b=>C({action:"remove-recommended",articleId:b}),onCategoryChange:b=>C({action:"category",category:b}),onManagePreferences:()=>C({action:"manage-preferences"})})}),e.jsx(Se,{value:"settings",className:"mt-6",children:e.jsx(JG,{settings:A,onUpdate:L})})]})})}exports.Advantages=sA;exports.Analytics=tU;exports.Banner=ol;exports.Button=D;exports.CandidateProfile=lH;exports.Cart=gA;exports.Chatbot=xA;exports.CompanyClaim=gR;exports.CompanyDetail=L$;exports.CompanyDirectory=xR;exports.CompanyDirectoryContainer=U$;exports.CompanyGroupDetail=N$;exports.ConsentBanner=_A;exports.ConsentProvider=PA;exports.CourseTypes=vA;exports.Courses=cA;exports.CoursesPage=qO;exports.Dashboard=XG;exports.Destinations=lA;exports.FAQ=mA;exports.FeatureJobs=Oz;exports.Features=yA;exports.Footer=sE;exports.FooterLib=NA;exports.ForEmployers=wA;exports.ForgotPassword=uU;exports.Gallery=fA;exports.GroupPrices=iD;exports.Header=SO;exports.HeaderAlternative=LA;exports.Hero=dA;exports.HeroAlternative=bA;exports.HomePage=Fz;exports.IgamingCareerHome=Yz;exports.Input=Re;exports.JobDetailPage=CO;exports.JobListings=nE;exports.JobSearchWidget=SA;exports.Listing=wO;exports.Login=sU;exports.MobileNav=qA;exports.Navbar=iE;exports.NewsPage=NO;exports.Newsletter=CA;exports.NotificationModal=RA;exports.Partners=IA;exports.Register=oU;exports.RegisterV2=dU;exports.SearchableSelect=H9;exports.Services=hA;exports.ServicesNoIcons=kA;exports.SidebarNewsletter=eS;exports.SignInPromptModal=mU;exports.SlidingSummary=oD;exports.TagBadge=AC;exports.TagPicker=kq;exports.Testimonials=uA;exports.TrustSignals=jA;exports.ValueProposition=MA;exports.Videos=pA;exports.useConsent=QC;